diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/.sync/FolderType" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/.sync/FolderType" new file mode 100644 index 0000000000000000000000000000000000000000..d3cc99f63e83a0dcca93eea1be1375216da7c42a --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/.sync/FolderType" @@ -0,0 +1 @@ +d8:brandingi0e31:disable_remove_from_all_devicesi0e4:modei0e5:owner5:linji4:typei1ee \ No newline at end of file diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/.sync/ID" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/.sync/ID" new file mode 100644 index 0000000000000000000000000000000000000000..94eec115f21bafbc9910244f0fa8b072d5b6d289 --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/.sync/ID" @@ -0,0 +1 @@ +ú¥à~¥ø8B“‡¹%Ú{ޱ;4ÛðbM´ó \ No newline at end of file diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/.sync/IgnoreList" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/.sync/IgnoreList" new file mode 100644 index 0000000000000000000000000000000000000000..e14e7c18dcae88d48102257baad1b38c3604f50e --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/.sync/IgnoreList" @@ -0,0 +1,54 @@ +# IgnoreList is a UTF-8 encoded .txt file that helps you specify single files, paths and rules +# for ignoring during the synchronization job. It supports "?" and "*" wildcard symbols. +# +# +# OS generated files # +$RECYCLE.BIN +$Recycle.Bin +System Volume Information +ehthumbs.db +desktop.ini +Thumbs.db +lost+found +.DocumentRevisions-V100 +.TemporaryItems +.fseventsd +.icloud +.iCloud +.DS_Store +.DS_Store? +.Spotlight-V100 +.Trashes +.Trash-* +.trashed-* +~* +*~ +.~lock.* +*.part +*.filepart +.csync_journal.db +.csync_journal.db.tmp +*.swn +*.swp +*.swo +*.crdownload +.@__thumb +.thumbnails +._* +*.tmp +*.tmp.chck +.dropbox +.dropbox.attr +.dropbox.cache +.streams +.caches +.Statuses +.teamdrive +.SynologyWorkingDirectory +@eaDir +@SynoResource +#SynoRecycle +#snapshot +#recycle +.!@#$recycle +DfsrPrivate diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/.sync/StreamsList" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/.sync/StreamsList" new file mode 100644 index 0000000000000000000000000000000000000000..4a6cf5685859df716e4321c41bacfc11be5ba55f --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/.sync/StreamsList" @@ -0,0 +1,8 @@ +# StreamsList is a UTF-8 encoded .txt file that helps you specify alternate streams, +# xattrs and resource forks white list. It supports "?" and "*" wildcard symbols. +# +# +# +com.apple.metadata:_kMDItemUserTags +com.apple.ResourceFork +com.apple.metadata:kMDItemFinderComment diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/.sync/root_acl_entry" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/.sync/root_acl_entry" new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/IT/\350\275\257\344\273\266\345\274\200\345\217\221/(\345\205\266\345\256\203)/Andrew Hunt & David Thomas\357\274\232\347\250\213\345\272\217\345\221\230\344\277\256\347\202\274\344\271\213\351\201\223\342\200\224\342\200\224\344\273\216\345\260\217\345\267\245\345\210\260\344\270\223\345\256\266.txt" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/IT/\350\275\257\344\273\266\345\274\200\345\217\221/(\345\205\266\345\256\203)/Andrew Hunt & David Thomas\357\274\232\347\250\213\345\272\217\345\221\230\344\277\256\347\202\274\344\271\213\351\201\223\342\200\224\342\200\224\344\273\216\345\260\217\345\267\245\345\210\260\344\270\223\345\256\266.txt" new file mode 100644 index 0000000000000000000000000000000000000000..ba7fc6d9cf2bb0cb347a13a1af6d0a13021e4db0 --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/IT/\350\275\257\344\273\266\345\274\200\345\217\221/(\345\205\266\345\256\203)/Andrew Hunt & David Thomas\357\274\232\347\250\213\345\272\217\345\221\230\344\277\256\347\202\274\344\271\213\351\201\223\342\200\224\342\200\224\344\273\216\345\260\217\345\267\245\345\210\260\344\270\223\345\256\266.txt" @@ -0,0 +1,3297 @@ + +  程序员修炼之道 +  The Pragmatic Programmer + +  作者:Andrew Hunt & David Thomas +  译者:马维达 + + + + +  目录 + +1 我的源码让猫给吃了 +2 软件的熵 +3 石头汤与煮青蛙 +4 足够好的软件 +5 你的知识资产 +6 交流! +7 重复的危害 +8 正交性 +9 可撤消性 +10 曳光弹 +11 原型与便笺 +12 领域语言 +13 估算 +14 纯文本的威力 +15 shell游戏 +16 强力编辑 +17 源码控制 +18 调试 +19 文本操纵 +20 代码生成器 +21 按合约设计(1) +21 按合约设计(2) +22 死程序不说谎 +23 断言式编程 +24 何时使用异常 +25 怎样配平资源 + + + + + +1 我的源码让猫给吃了 + +  注重实效的程序员的特征是什么?我们觉得是他们处理问题、寻求解决方案时的态度、风格、哲学。他们能够越出直接的问题去思考,总是设法把问题放在更大的语境中,总是设法注意更大的图景。毕竟,没有这样的更大的语境,你又怎能注重实效?你又怎能做出明智的妥协和有见识的决策? + +  他们成功的另一关键是他们对他们所做的每件事情负责,关于这一点,我们将在“我的源码让猫给吃了”中加以讨论。因为负责,注重实效的程序员不会坐视他们的项目土崩瓦解。在“软件的熵”中,我们将告诉你怎样使你的项目保持整洁。 + +  大多数人发现自己很难接受变化,有时是出于好的理由,有时只是因为固有的惰性。在“石头汤与煮青蛙”中,我们将考察一种促成变化的策略,并(出于对平衡的兴趣)讲述一个忽视渐变危险的两栖动物的警世传说。 + +  理解你的工作的语境的好处之一是,了解你的软件必须有多好变得更容易了。有时接近完美是惟一的选择,但常常会涉及各种权衡。我们将在“足够好的软件”中探究这一问题。 + +  当然,你需要拥有广泛的知识和经验基础才能赢得这一切。学习是一个持续不断的过程。在“你的知识资产”中,我们将讨论一些策略,让你“开足马力”。 + +  最后,我们没有人生活在真空中。我们都要花大量时间与他人打交道。在“交流!”中列出了能让我们更好地做到这一点的几种途径。 + +  注重实效的编程源于注重实效的思考的哲学。本章将为这种哲学设立基础。 + + +在所有弱点中,最大的弱点就是害怕暴露弱点。 +  ——J. B. Bossuet, Politics from Holy Writ, 1709 + + +  依据你的职业发展、你的项目和你每天的工作,为你自己和你的行为负责这样一种观念,是注重实效的哲学的一块基石。注重实效的程序员对他或她自己的职业生涯负责,并且不害怕承认无知或错误。这肯定并非是编程最令人愉悦的方面,但它肯定会发生——即使是在最好的项目中。尽管有彻底的测试、良好的文档以及足够的自动化,事情还是会出错。交付晚了,出现了未曾预见到的技术问题。 + +  发生这样的事情,我们要设法尽可能职业地处理它们。这意味着诚实和坦率。我们可以为我们的能力自豪,但对于我们的缺点——还有我们的无知和我们的错误——我们必须诚实。 + + +负责 + +  责任是你主动担负的东西。你承诺确保某件事情正确完成,但你不一定能直接控制事情的每一个方面。除了尽你所能以外,你必须分析风险是否超出了你的控制。对于不可能做到的事情或是风险太大的事情,你有权不去为之负责。你必须基于你自己的道德准则和判断来做出决定。 + +  如果你确实同意要为某个结果负责,你就应切实负起责任。当你犯错误(就如同我们所有人都会犯错误一样)、或是判断失误时,诚实地承认它,并设法给出各种选择。不要责备别人或别的东西,或是拼凑借口。不要把所有问题都归咎于供应商、编程语言、管理部门、或是你的同事。也许他(它)们全体或是某几方在其中扮演了某种角色,但你可以选择提供解决方案,而非寻找借口。 +  如果存在供应商不能按时供货的风险,你应该预先制定一份应急计划。如果磁盘垮了——带走了你的所有源码——而你没有做备份,那是你的错。告诉你的老板“我的源码让猫给吃了”也无法改变这一点。 + + +提示3: +Provide Options, Don’t Make Lame Excuses +提供各种选择,不要找蹩脚的借口 + + +  在你走向任何人、告诉他们为何某事做不到、为何耽搁、为何出问题之前,先停下来,听一听你心里的声音。与你的显示器上的橡皮鸭交谈,或是与猫交谈。你的辩解听起来合理,还是愚蠢?在你老板听来又是怎样? + +  在你的头脑里把谈话预演一遍。其他人可能会说什么?他们是否会问:“你试了这个吗……”,或是“你没有考虑那个吗?”你将怎样回答?在你去告诉他们坏消息之前,是否还有其他你可以再试一试的办法?有时,你其实知道他们会说什么,所以还是不要给他们添麻烦吧。 + +  要提供各种选择,而不是找借口。不要说事情做不到;要说明能够做什么来挽回局面。必须把代码扔掉?给他们讲授重构的价值(参见重构,184页)。你要花时间建立原型(prototyping),以确定最好的继续前进的方式(参见原型与便笺,53页)?你要引入更好的测试(参见易于测试的代码,189页;以及无情的测试,237页)或自动化(参见无处不在的自动化,230页),以防止问题再度发生?又或许你需要额外的资源。不要害怕提出要求,也不要害怕承认你需要帮助。 + +  在你大声说出它们之前,先设法把蹩脚的借口清除出去。如果你必须说,就先对你的猫说。反正,如果小蒂德尔丝(Tiddles,BBC在1969~1974年播出的喜剧节目“Monty Python's Flying Circus”中的著名小母猫——译注)要承受指责…… + + + + + +2 软件的熵 + +  尽管软件开发几乎不受任何物理定律的约束,熵(entropy)对我们的影响却很大。熵是一个来自物理学的概念,指的是某个系统中的“无序”的总量。遗憾的是,热力学定律保证了宇宙中的熵倾向于最大化。当软件中的无序增长时,程序员们称之为“软件腐烂”(software rot)。 + +  有许多因素可以促生软件腐烂。其中最重要的一个似乎是开发项目时的心理(或文化)。即使你的团队只有你一个人,你开发项目时的心理也可能是非常微妙的事情。尽管制定了最好的计划,拥有最好的开发者,项目在其生命期中仍可能遭遇毁灭和衰败。而另外有一些项目,尽管遇到巨大的困难和接连而来的挫折,却成功地击败自然的无序倾向,设法取得了相当好的结果。 + +  是什么造成了这样的差异? + +  在市区,有些建筑漂亮而整洁,而另一些却是破败不堪的“废弃船只”。为什么?犯罪和城市衰退领域的研究者发现了一种迷人的触发机制,一种能够很快将整洁、完整和有人居住的建筑变为破败的废弃物的机制[WK82]。 + +  破窗户。 + +  一扇破窗户,只要有那么一段时间不修理,就会渐渐给建筑的居民带来一种废弃感——一种职权部门不关心这座建筑的感觉。于是又一扇窗户破了。人们开始乱扔垃圾。出现了乱涂乱画。严重的结构损坏开始了。在相对较短的一段时间里,建筑就被损毁得超出了业主愿意修理的程度,而废弃感变成了现实。 + +  “破窗户理论”启发了纽约和其他大城市的警察部门,他们对一些轻微的案件严加处理,以防止大案的发生。这起了作用:管束破窗户、乱涂乱画和其他轻微违法事件减少了严重罪案的发生。 + +提示4: +Don’t Live with Broken Windows +不要容忍破窗户 + + +  不要留着“破窗户”(低劣的设计、错误决策、或是糟糕的代码)不修。发现一个就修一个。如果没有足够的时间进行适当的修理,就用木板把它钉起来。或许你可以把出问题的代码放入注释(comment out),或是显示“未实现”消息,或是用虚设的数据(dummy data)加以替代。采取某种行动防止进一步的损坏,并说明情势处在你的控制之下。 + +  我们看到过整洁、运行良好的系统,一旦窗户开始破裂,就相当迅速地恶化。还有其他一些因素能够促生软件腐烂,我们将在别处探讨它们,但与其他任何因素相比,置之不理都会更快地加速腐烂的进程。 + +  你也许在想,没有人有时间到处清理项目的所有碎玻璃。如果你继续这么想,你就最好计划找一个大型垃圾罐,或是搬到别处去。不要让熵赢得胜利。 + + +灭火 + +  作为对照,让我们讲述Andy的一个熟人的故事。他是一个富得让人讨厌的富翁,拥有一所完美、漂亮的房子,里面满是无价的古董、艺术品,以及诸如此类的东西。有一天,一幅挂毯挂得离他的卧室壁炉太近了一点,着了火。消防人员冲进来救火——和他的房子。但他们拖着粗大、肮脏的消防水管冲到房间门口却停住了——火在咆哮——他们要在前门和着火处之间铺上垫子。 + +  他们不想弄脏地毯。 + +  这的确是一个极端的事例,但我们必须以这样的方式对待软件。一扇破窗户——一段设计低劣的代码、团队必须在整个项目开发过程中加以忍受的一项糟糕的管理决策——就足以使项目开始衰败。如果你发现自己在有好些破窗户的项目里工作,会很容易产生这样的想法:“这些代码的其余部分也是垃圾,我只要照着做就行了。”项目在这之前是否一直很好,并没有什么关系。在最初得出“破窗户理论”的一项实验中,一辆废弃的轿车放了一个星期,无人理睬。而一旦有一扇窗户被打破,数小时之内车上的设备就被抢夺一空,车也被翻了个底朝天。 + +  按照同样的道理,如果你发现你所在团队和项目的代码十分漂亮——编写整洁、设计良好,并且很优雅——你就很可能会格外注意不去把它弄脏,就和那些消防员一样。即使有火在咆哮(最后期限、发布日期、会展演示,等等),你也不会想成为第一个弄脏东西的人。 + + +相关内容: +l 石头汤与煮青蛙,7页 +l 重构,184页 +l 注重实效的团队,224页 + +挑战: +l 通过调查你周边的计算“环境”,帮助增强你的团队的能力。选择两或三扇“破窗户”,并与你的同事讨论问题何在,以及怎样修理它们。 +l 你能否说出某扇窗户是何时破的?你的反应是什么?如果它是他人的决策所致,或者是管理部门的指示,你能做些什么? + + + + + +3 石头汤与煮青蛙 + +  三个士兵从战场返回家乡,在路上饿了。他们看见前面有村庄,就来了精神——他们相信村民会给他们一顿饭吃。但当他们到达那里,却发现门锁着,窗户也关着。经历了多年战乱,村民们粮食匮乏,并把他们有的一点粮食藏了起来。 + +  士兵们并未气馁,他们煮开一锅水,小心地把三块石头放进去。吃惊的村民们走出来望着他们。 + +  “这是石头汤。”士兵们解释说。“就放石头吗?”村民们问。“一点没错——但有人说加一些胡萝卜味道更好……”一个村民跑开了,又很快带着他储藏的一篮胡萝卜跑回来。 + +  几分钟之后,村民们又问:“就是这些了吗?” + +  “哦,”士兵们说:“几个土豆会让汤更实在。”又一个村民跑开了。 + +  接下来的一小时,士兵们列举了更多让汤更鲜美的配料:牛肉、韭菜、盐,还有香菜。每次都会有一个不同的村民跑回去搜寻自己的私人储藏品。 + +  最后他们煮出了一大锅热气腾腾的汤。士兵们拿掉石头,和所有村民一起享用了一顿美餐,这是几个月以来他们所有人第一次吃饱饭。 + +  在石头汤的故事里有两层寓意。士兵戏弄了村民,他们利用村民的好奇,从他们那里弄到了食物。但更重要的是,士兵充当催化剂,把村民团结起来,和他们一起做到了他们自己本来做不到的事情——一项协作的成果。最后每个人都是赢家。 + +  你常常也可以效仿这些士兵。 + +  在有些情况下,你也许确切地知道需要做什么,以及怎样去做。整个系统就在你的眼前——你知道它是对的。但请求许可去处理整个事情,你会遇到拖延和漠然。大家要设立委员会,预算需要批准,事情会变得复杂化。每个人都会护卫他们自己的资源。有时候,这叫做“启动杂役”(start-up fatigue)。 + +  这正是拿出石头的时候。设计出你可以合理要求的东西,好好开发它。一旦完成,就拿给大家看,让他们大吃一惊。然后说:“要是我们增加……可能就会更好。”假装那并不重要。坐回椅子上,等着他们开始要你增加你本来就想要的功能。人们发现,参与正在发生的成功要更容易。让他们瞥见未来,你就能让他们聚集在你周围[1]。 + + +提示5: +Be a Catalyst for Change +做变化的催化剂 + + +村民的角度 + +  另一方面,石头汤的故事也是关于温和而渐进的欺骗的故事。它讲述的是过于集中的注意力。村民想着石头,忘了世界的其余部分。我们都是这样,每一天。事情会悄悄爬到我们身上。 + +  我们都看见过这样的症状。项目慢慢地、不可改变地完全失去控制。大多数软件灾难都是从微不足道的小事情开始的,大多数项目的拖延都是一天一天发生的。系统一个特性一个特性地偏离其规范,一个又一个的补丁被打到某段代码上,直到最初的代码一点没有留下。常常是小事情的累积破坏了士气和团队。 + + +提示6: +Remember the Big Picture +记住大图景 + + +  我们没有做过这个——真的,但有人说,如果你抓一只青蛙放进沸水里,它会一下子跳出来。但是,如果你把青蛙放进冷水里,然后慢慢加热,青蛙不会注意到温度的缓慢变化,会呆在锅里,直到被煮熟。 + +  注意,青蛙的问题与第2节讨论的破窗户问题不同。在破窗户理论中,人们失去与熵战斗的意愿,是因为他们觉察到没有人会在意。而青蛙只是没有注意到变化。 + +  不要像青蛙一样。留心大图景。要持续不断地观察周围发生的事情,而不只是你自己在做的事情。 + + +相关内容: +l 软件的熵,4页 +l 靠巧合编程,172页 +l 重构,184页 +l 需求之坑,202页 +l 注重实效的团队,224页 + +挑战: +l 在评阅本书的草稿时,John Lakos提出这样一个问题:士兵渐进地欺骗村民,但他们所催生的变化对村民完全有利。但是,渐进地欺骗青蛙,你是在加害于它。当你设法催生变化时,你能否确定你是在做石头汤还是青蛙汤?决策是主观的还是客观的? + + + + + +4 足够好的软件 + +欲求更好,常把好事变糟。 +  ——李尔王 1.4 + + +  有一个(有点)老的笑话,说一家美国公司向一家日本制造商订购100 000片集成电路。规格说明中有次品率:10 000片中只能有1片。几周过后订货到了:一个大盒子,里面装有数千片IC,还有一个小盒子,里面只装有10片IC。在小盒子上有一个标签,上面写着:“这些是次品”。 + +  要是我们真的能这样控制质量就好了。但现实世界不会让我们制作出十分完美的产品,特别是不会有无错的软件。时间、技术和急躁都在合谋反对我们。 + +  但是,这并不一定就让人气馁。如Ed Yourdon发表在IEEE Software上的一篇文章[You95]所描述的,你可以训练你自己,编写出足够好的软件——对你的用户、对未来的维护者、对你自己内心的安宁来说足够好。你会发现,你变得更多产,而你的用户也会更加高兴。你也许还会发现,因为“孵化期”更短,你的程序实际上更好了。 + +  在继续前进之前,我们需要对我们将要说的话进行限定。短语“足够好”并非意味着不整洁或制作糟糕的代码。所有系统都必须满足其用户的需求,才能取得成功。我们只是在宣扬,应该给用户以机会,让他们参与决定你所制作的东西何时已足够好。 + + +让你的用户参与权衡 + +  通常你是为别人编写软件。你常常需要记得从他们那里获取需求[2]。但你是否常问他们,他们想要他们的软件有多好?有时候选择并不存在。如果你的工作对象是心脏起搏器、航天飞机、或是将被广泛传播的底层库,需求就会更苛刻,你的选择就更有限。但是,如果你的工作对象是全新的产品,你就会有不同的约束。市场人员有需要信守的承诺,最终用户也许已基于交付时间表制定了各种计划,而你的公司肯定有现金流方面的约束。无视这些用户的需求,一味地给程序增加新特性,或是一次又一次润饰代码,这不是有职业素养的做法。我们不是在提倡慌张:许诺不可能兑现的时间标度(time scale),为赶上最后期限而削减基本的工程内容,这些同样不是有职业素养的做法。 + +  你所制作的系统的范围和质量应该作为系统需求的一部分规定下来。 + + +提示7: +Make Quality a Requirements Issue +使质量成为需求问题 + + +  你常常会处在须要进行权衡的情形中。让人惊奇的是,许多用户宁愿在今天用上有一些“毛边”的软件,也不愿等待一年后的多媒体版本。许多预算吃紧的IT部门都会同意这样的说法。今天的了不起的软件常常比明天的完美软件更可取。如果你给用户某样东西,让他们及早使用,他们的反馈常常会把你引向更好的最终解决方案(参见曳光弹,48页)。 + +知道何时止步 + +  在某些方面,编程就像是绘画。你从空白的画布和某些基本原材料开始,通过知识、艺术和技艺的结合去确定用前者做些什么。你勾画出全景,绘制背景,然后填入各种细节。你不时后退一步,用批判的眼光观察你的作品。常常,你会扔掉画布,重新再来。 + +  但艺术家们会告诉你,如果你不懂得应何时止步,所有的辛苦劳作就会遭到毁坏。如果你一层又一层、细节复细节地叠加,绘画就会迷失在绘制之中。 + +  不要因为过度修饰和过于求精而毁损完好的程序。继续前进,让你的代码凭着自己的质量站立一会儿。它也许不完美,但不用担心:它不可能完美(在第6章,171页,我们将讨论在不完美的世界上开发代码的哲学)。 + + +相关内容: +l 曳光弹,48页 +l 需求之坑,202页 +l 注重实效的团队,224页 +l 极大的期待,255页 + +挑战: +l 考察你使用的软件工具和操作系统的制造商。你能否发现证据,表明这些公司安于发布他们知道不完美的软件吗?作为用户,你是会(1)等着他们清除所有bug,(2)拥有复杂的软件,并接受某些bug,还是会(3)选择缺陷较少的更简单的软件? +l 考虑模块化对软件交付的影响。与以模块化方式设计的系统相比,整体式(monolithic)软件要达到所需质量,花费的时间更多还是更少?你能找到一个商业案例吗? + + + + + +5 你的知识资产 + +知识上的投资总能得到最好的回报。 +  ——本杰明·富兰克林 + + +  噢,好样的老富兰克林——从不会想不出精练的说教。为什么,如果我们能够早睡早起,我们就是了不起的程序员——对吗?早起的鸟儿有虫吃,但早起的虫子呢? + +  然而在这种情况下,Ben确实命中了要害。你的知识和经验是你最重要的职业财富。 + +  遗憾的是,它们是有时效的资产(expiring asset)。随着新技术、语言及环境的出现,你的知识会变得过时。不断变化的市场驱动力也许会使你的经验变得陈旧或无关紧要。考虑到“网年”飞逝的速度,这样的事情可能会非常快地发生。 + +  随着你的知识的价值降低,对你的公司或客户来说,你的价值也在降低。我们想要阻止这样的事情,决不让它发生。 + + +你的知识资产 + +  我们喜欢把程序员所知道的关于计算技术和他们所工作的应用领域的全部事实、以及他们的所有经验视为他们的知识资产(Knowledge Portfolios)。管理知识资产与管理金融资产非常相似: +1. 严肃的投资者定期投资——作为习惯。 +2. 多元化是长期成功的关键。 +3. 聪明的投资者在保守的投资和高风险、高回报的投资之间平衡他们的资产。 +4. 投资者设法低买高卖,以获取最大回报。 +5. 应周期性地重新评估和平衡资产。 + +要在职业生涯中获得成功,你必须运用同样的指导方针管理你的知识资产。 + + +经营你的资产 + +l 定期投资。就像金融投资一样,你必须定期为你的知识资产投资。即使投资量很小,习惯自身也和总量一样重要。在下一节中将列出一些示范目标。 +l 多元化。你知道的不同的事情越多,你就越有价值。作为底线,你需要知道你目前所用的特定技术的各种特性。但不要就此止步。计算技术的面貌变化很快——今天的热门技术明天就可能变得近乎无用(或至少是不再抢手)。你掌握的技术越多,你就越能更好地进行调整,赶上变化。 +l 管理风险。从高风险、可能有高回报,到低风险、低回报,技术存在于这样一条谱带上。把你所有的金钱都投入可能突然崩盘的高风险股票并不是一个好主意;你也不应太保守,错过可能的机会。不要把你所有的技术鸡蛋放在一个篮子里。 +l 低买高卖。在新兴的技术流行之前学习它可能就和找到被低估的股票一样困难,但所得到的就和那样的股票带来的收益一样。在Java刚出现时学习它可能有风险,但对于现在已步入该领域的顶尖行列的早期采用者,这样做得到了非常大的回报。 +l 重新评估和平衡。这是一个非常动荡的行业。你上个月开始研究的热门技术现在也许已像石头一样冰冷。也许你需要重温你有一阵子没有使用的数据库技术。又或许,如果你之前试用过另一种语言,你就会更有可能获得那个新职位…… + + +在所有这些指导方针中,最重要的也是最简单的: + + +提示8: +Invest Regularly in Your Knowledge Portfolio +定期为你的知识资产投资 + + +目标: +  关于何时以及增加什么到你的知识资产中,现在你已经拥有了一些指导方针,那么什么是获得智力资本、从而为你的资产提供资金的最佳方式呢?这里有一些建议。 + +l 每年至少学习一种新语言。不同语言以不同方式解决相同的问题。通过学习若干不同的方法,可以帮助你拓宽你的思维,并避免墨守成规。此外,现在学习许多语言已容易了许多,感谢可从网上自由获取的软件财富(参见267页)。 +l 每季度阅读一本技术书籍。书店里摆满了许多书籍,讨论与你当前的项目有关的有趣话题。一旦你养成习惯,就一个月读一本书。在你掌握了你正在使用的技术之后,扩宽范围,阅读一些与你的项目无关的书籍。 +l 也要阅读非技术书籍。记住计算机是由人——你在设法满足其需要的人——使用的,这十分重要。不要忘了等式中人这一边。 +l 上课。在本地的学院或大学、或是将要来临的下一次会展上寻找有趣的课程。 +l 参加本地用户组织。不要只是去听讲,而要主动参与。与世隔绝对你的职业生涯来说可能是致命的;打听一下你们公司以外的人都在做什么。 +l 试验不同的环境。如果你只在Windows上工作,就在家玩一玩Unix(可自由获取的Linux就正好)。如果你只用过makefile和编辑器,就试一试IDE,反之亦然。 +l 跟上潮流。订阅商务杂志和其他期刊(参见262页的推荐刊物)。选择所涵盖的技术与你当前的项目不同的刊物。 +l 上网。想要了解某种新语言或其他技术的各种特性?要了解其他人的相关经验,了解他们使用的特定行话,等等,新闻组是一种很好的方式。上网冲浪,查找论文、商业站点,以及其他任何你可以找到的信息来源。 + + 持续投入十分重要。一旦你熟悉了某种新语言或新技术,继续前进。学习另一种。 + +  是否在某个项目中使用这些技术,或者是否把它们放入你的简历,这并不重要。学习的过程将扩展你的思维,使你向着新的可能性和新的做事方式拓展。思想的“异花授粉”(cross-pollination)十分重要;设法把你学到的东西应用到你当前的项目中。即使你的项目没有使用该技术,你或许也能借鉴一些想法。例如,熟悉了面向对象,你就会用不同的方式编写纯C程序。 + + +学习的机会 + +  于是你狼吞虎咽地阅读,在你的领域,你站在了所有突破性进展的前沿(这不是容易的事情)。有人向你请教一个问题,答案是什么?你连最起码的想法都没有。你坦白地承认了这一点。 + +  不要就此止步,把找到答案视为对你个人的挑战。去请教古鲁(如果在你们的办公室里没有,你应该能在Internet上找到:参见下一页上的方框)。上网搜索。去图书馆。 + +  如果你自己找不到答案,就去找出能找到答案的人。不要把问题搁在那里。与他人交谈可以帮助你建立人际网络,而因为在这个过程中找到了其他不相关问题的解决方案,你也许还会让自己大吃一惊。旧有的资产也在不断增长…… + +  所有阅读和研究都需要时间,而时间已经很短缺。所以你需要预先规划。让自己在空闲的片刻时间里总有东西可读。花在等医生上的时间是抓紧阅读的好机会——但一定要带上你自己的杂志,否则,你也许会发现自己在翻阅1973年的一篇卷角的关于巴布亚新几内亚的文章。 + + +批判的思考 + +  最后一个要点是,批判地思考你读到的和听到的。你需要确保你的资产中的知识是准确的,并且没有受到供应商或媒体炒作的影响。警惕声称他们的信条提供了惟一答案的狂热者——那或许适用、或许不适用于你和你的项目。 + +  不要低估商业主义的力量。Web搜索引擎把某个页面列在最前面,并不意味着那就是最佳选择;内容供应商可以付钱让自己排在前面。书店在显著位置展示某一本书,也并不意味着那就是一本好书,甚至也不说明那是一本受欢迎的书;它们可能是付了钱才放在那里的。 + + +提示9: +Critically Analyze What You Read and Hear +批判地分析你读到的和听到的 + + +  遗憾的是,几乎再没有简单的答案了。但拥有大量知识资产,并把批判的分析应用于你将要阅读的技术出版物的洪流,你将能够理解复杂的答案。 + + +与古鲁打交道的礼节与教养 + +  随着Internet在全球普及,古鲁们突然变得像你的Enter键一样贴近。那么,你怎样才能找到一个古鲁,怎样才能找一个古鲁和你交谈呢? + +  我们找到了一些简单的诀窍: +l 确切地知道你想要问什么,并尽量明确具体。 +l 小心而得体地组织你的问题。记住你是在请求帮助;不要显得好像是在要求对方回答。 +l 组织好问题之后,停下来,再找找答案。选出一些关键字,搜索Web。查找适当的FAQ(常见问题的解答列表)。 +l 决定你是想公开提问还是私下提问。Usenet新闻组是与专家会面的美妙场所,在那里可以讨论几乎任何问题,但有些人对这些新闻组的公共性质有顾虑。你总是可以用另外的方法:直接发电子邮件给古鲁。不管怎样,要使用有意义的主题(“需要帮助!!!”无益于事)。 +l 坐回椅子上,耐心等候。人们很忙,也许需要几天才能得到明确的答案。 + +  最后,请一定要感谢任何回应你的人。如果你看到有人提出你能够解答的问题,尽你的一份力,参与解答。 + +挑战: +l 这周就开始学习一种新语言。总在用C++编程?试试Smalltalk[URL 13]或Squeak[URL 14]。在用Java?试试Eiffel[URL 10]或TOM[URL 15]。关于其他自由编译器和环境的来源,参见267页。 +l 开始阅读一本新书(但要先读完这一本!)。如果你在进行非常详细的实现和编码,就阅读关于设计和架构的书。如果你在进行高级设计,就阅读关于编码技术的书。 +l 出去和与你的当前项目无关的人、或是其他公司的人谈谈技术。在你们公司的自助餐厅里结识其他人,或是在本地用户组织聚会时寻找兴趣相投的人。 + + + + + +6 交流! + +我相信,被打量比被忽略要好。 +  ——Mae West, Belle of the Nineties,1934 + + +  也许我们可以从West女士那里学到一点什么。问题不只是你有什么,还要看你怎样包装它。除非你能够与他人交流,否则就算你拥有最好的主意、最漂亮的代码、或是最注重实效的想法,最终也会毫无结果。没有有效的交流,一个好想法就只是一个无人关心的孤儿。 + +  作为开发者,我们必须在许多层面上进行交流。我们把许多小时花在开会、倾听和交谈上。我们与最终用户一起工作,设法了解他们的需要。我们编写代码,与机器交流我们的意图;把我们的想法变成文档,留给以后的开发者。我们撰写提案和备忘录,用以申请资源并证明其正当性、报告我们的状态、以及提出各种新方法。我们每天在团队中工作,宣扬我们的主意、修正现有的做法、并提出新的做法。我们的时间有很大一部分都花在交流上,所以我们需要把它做好。 + +  我们汇总了我们觉得有用的一些想法。 + + +知道你想要说什么 + +  在工作中使用的更为正式的交流方式中,最困难的部分也许是确切地弄清楚你想要说什么。小说家在开始写作之前,会详细地构思情节,而撰写技术文档的人却常常乐于坐到键盘前,键入“1. 介绍……”,并开始敲入接下来在他们的头脑里冒出来的任何东西。 + +  规划你想要说的东西。写出大纲。然后问你自己:“这是否讲清了我要说的所有内容?”提炼它,直到确实如此为止。 + +  这个方法不只适用于撰写文档。当你面临重要会议、或是要与重要客户通电话时,简略记下你想要交流的想法,并准备好几种把它们讲清楚的策略。 + + +了解你的听众 + +  只有当你是在传达信息时,你才是在交流。为此,你需要了解你的听众的需要、兴趣、能力。我们都曾出席过这样的会议:一个做开发的滑稽人物在发表长篇独白,讲述某种神秘技术的各种优点,把市场部副总裁弄得目光呆滞。这不是交流,而只是空谈,让人厌烦的(annoying)空谈。 + +  要在脑海里形成一幅明确的关于你的听众的画面。下一页的图1.1中显示的WISDOM离合诗(acrostic)可能会对你有帮助。 + +  假设你想提议开发一个基于Web的系统,用于让你们的最终用户提交bug报告。取决于听众的不同,你可以用不同的方式介绍这个系统。如果可以不用在电话上等候,每天24小时提交bug报告,最终用户将会很高兴。你们的市场部门可以利用这一事实促销。支持部门的经理会因为两个原因而高兴:所需员工更少,问题报告得以自动化。最后,开发者会因为能获得基于Web的客户-服务器技术和新数据库引擎方面的经验而感到享受。通过针对不同的人进行适当的修正,你将让他们都为你的项目感到兴奋。 + +选择时机 + +  这是星期五的下午六点,审计人员进驻已有一周。你的老板最小的孩子在医院里,外面下着滂沱大雨,这时开车回家肯定是一场噩梦。这大概不是向她提出PC内存升级的好时候。 + +  为了了解你的听众需要听到什么,你需要弄清楚他们的“轻重缓急”是什么。找到一个刚刚因为丢失源码而遭到老板批评的经理,向她介绍你关于源码仓库的构想,你将会拥有一个更容易接纳的倾听者。要让你所说的适得其时,在内容上切实相关。有时候,只要简单地问一句“现在我们可以谈谈……吗?”就可以了。 + + +图1.1 WISDOM离合诗——了解听众 + + What do you want them to learn? + + What is their interest in what you’ve got to say? + + How sophisticated are they? + + How much detail do they want? + +Whom do you want to own the information? + + How can you motivate them to listen to you? + +你想让他们学到什么? + +他们对你讲的什么感兴趣? + +他们有多富有经验? + +他们想要多少细节? + +你想要让谁拥有这些信息? + +你如何促使他们听你说话? + + +选择风格 + +  调整你的交流风格,让其适应你的听众。有人要的是正式的“事实”简报。另一些人喜欢在进入正题之前高谈阔论一番。如果是书面文档,则有人喜欢一大摞报告,而另一些人却喜欢简单的备忘录或电子邮件。如果有疑问,就询问对方。 + +  但是,要记住,你也是交流事务的一方。如果有人说,他们需要你用一段话进行描述,而你觉得不用若干页纸就无法做到,如实告诉他们。记住,这样的反馈也是交流的一种形式。 + + +让文档美观 + +  你的主意很重要。它们应该以美观的方式传递给你的听众。 + +  太多程序员(和他们的经理)在制作书面文档时只关心内容。我们认为这是一个错误。任何一个厨师都会告诉你,你可以在厨房里忙碌几个小时,最后却会因为饭菜糟糕的外观而毁掉你的努力。 + +  在今天,已经没有任何借口制作出外观糟糕的打印文档。现代的字处理器(以及像LaTeX和troff这样的排版系统)能够生成非常好的输出。你只需要学习一些基本的命令。如果你的字处理器支持样式表,就加以利用(你的公司也许已经定义了你可以使用的样式表)。学习如何设置页眉和页脚。查看你的软件包中包含的样本文档,以对样式和版式有所了解。检查拼写,先自动,再手工。毕竟,有一些拼写错误是检查器找不出来的(After awl, their are spelling miss streaks that the chequer can knot ketch)。 + + +让听众参与 + +  我们常常发现,与制作文档的过程相比,我们制作出的文档最后并没有那么重要。如果可能,让你的读者参与文档的早期草稿的制作。获取他们的反馈,并汲取他们的智慧。你将建立良好的工作关系,并很可能在此过程中制作出更好的文档。 + + +做倾听者 + +  如果你想要大家听你说话,你必须使用一种方法:听他们说话。即使你掌握着全部信息,即使那是一个正式会议,你站在20个衣着正式的人面前——如果你不听他们说话,他们也不会听你说话。 + +  鼓励大家通过提问来交谈,或是让他们总结你告诉他们的东西。把会议变成对话,你将能更有效地阐明你的观点。谁知道呢,你也许还能学到点什么。 + +回复他人 + +  如果你向别人提问,他们不做出回应,你会觉得他们不礼貌。但当别人给你发送电子邮件或备忘录、请你提供信息、或是采取某种行动时,你是否经常忘记回复?在匆忙的日常生活中,很容易忘记事情。你应该总是对电子邮件和语音邮件做出回应,即使内容只是“我稍后回复你。”随时通知别人,会让他们更容易原谅你偶然的疏忽,并让他们觉得你没有忘记他们。 + + +提示10: +It’s Both What You Say and the Way You Say It +你说什么和你怎么说同样重要 + + +  除非你生活在真空中,你才不需要能交流。交流越有效,你就越有影响力。 + + +电子邮件交流 + +  我们所说的关于书面交流的所有东西都同样适用于电子邮件。现在的电子邮件已经发展成为公司内部和公司之间进行交流的主要手段。它被用于讨论合约、调解争端,以及用作法庭证据。但因为某种原因,许多从不会发出低劣的书面文档的人却乐于往全世界乱扔外观糟糕的电子邮件。 + +  我们关于电子邮件的提示很简单: +l 在你按下SEND之前进行校对。 +l 检查拼写。 +l 让格式保持简单。有人使用均衡字体(proportional font)阅读电子邮件,所以你辛苦制作的ASCII艺术图形在他们看来将像是母鸡的脚印一样乱七八糟。 +l 只在你知道对方能够阅读rich-text或HTML格式的邮件的情况下使用这些格式。纯文本是通用的。 +l 设法让引文减至最少。没有人喜欢收到一封回邮,其中有100行是他原来的电子邮件,只在最后新添了三个字:“我同意”。 +l 如果你引用别人的电子邮件,一定要注明出处。并在正文中进行引用(而不是当做附件)。 +l 不要用言语攻击别人(flame),除非你想让别人也攻击你,并老是纠缠你。 +l 在发送之前检查你的收件人名单。最近《华尔街日报》上有一篇文章报道说,有一个雇员通过部门的电子邮件散布对老板的不满,却没有意识到老板也在收件人名单里。 +l 将你的电子邮件——你收到的重要文件和你发送的邮件——加以组织并存档。 + +  如Microsoft和Netscape的好些雇员在1999年司法部调查期间所发现的,e-mail是永久性的。要设法像对待任何书面备忘录或报告一样小心对待e-mail。 + + +总结: +l 知道你想要说什么。 +l 了解你的听众。 +l 选择时机。 +l 选择风格。 +l 让文档美观。 +l 让听众参与。 +l 做倾听者。 +l 回复他人。 + +相关内容: +l 原型与便笺,53页 +l 注重实效的团队,224页 + +挑战: +l 有几本好书讨论了开发团队内部的交流[Bro95, McC95, DL99]。下决心在接下来的18个月里读完所有这三本书。此外,Dinosaur Brains[Ber96]这本书讨论了我们所有人都会带到工作环境中的“情绪包袱”。 +l 在你下一次进行展示、或是撰写备忘录支持某种立场时,先试着按第20页的WISDOM离合诗做一遍。看这样是否有助于你了解怎样定位你的讲话。如果合适,事后与你的听众谈一谈,看你对他们的需要的估计有多准确。 + + + + + +7 重复的危害 + +有些提示和诀窍可应用于软件开发的所有层面,有些想法几乎是公理,有些过程实际上普遍适用。但是,人们几乎没有为这些途径建立这样的文档,你很可能会发现,它们作为零散的段落写在关于设计、项目管理或编码的讨论中。 + +  在这一章里,我们将要把这些想法和过程集中在一起。头两节,“重复的危害”与“正交性”,密切相关。前者提醒你,不要在系统各处对知识进行重复,后者提醒你,不要把任何一项知识分散在多个系统组件中。 + +  随着变化的步伐加快,我们越来越难以让应用跟上变化。在“可撤消性”中,我们将考察有助于使你的项目与其不断变化的环境绝缘的一些技术。 + +  接下来的两节也是相关的。在“曳光弹”中,我们将讨论一种开发方式,能让你同时搜集需求、测试设计、并实现代码。这听起来太好,不可能是真的?的确如此:曳光弹开发并非总是可以应用。“原型与便笺”将告诉你,在曳光弹开发不适用的情况下,怎样使用原型来测试架构、算法、接口以及各种想法。 + +  随着计算机科学慢慢成熟,设计者正在制作越来越高级的语言。尽管能够接受“让它这样”(make it so)指令的编译器还没有发明出来,在“领域语言”中我们给出了一些适度的建议,你可以自行加以实施。 + +  最后,我们都是在一个时间和资源有限的世界上工作。如果你善于估计出事情需要多长时间完成,你就能更好地在两者都很匮乏的情况下生存下去(并让你的老板更高兴)。我们将在“估算”中涵盖这一主题。 + +  在开发过程中牢记这些基本原则,你就将能编写更快、更好、更强健的代码。你甚至可以让这看起来很容易。 + +  给予计算机两项自相矛盾的知识,是James T. Kirk舰长(出自Star Trek,“星际迷航”——译注)喜欢用来使四处劫掠的人工智能生命失效的方法。遗憾的是,同样的原则也能有效地使你的代码失效。 + +  作为程序员,我们收集、组织、维护和利用知识。我们在规范中记载知识、在运行的代码中使其活跃起来并将其用于提供测试过程中所需的检查。 + +  遗憾的是,知识并不稳定。它变化——常常很快。你对需求的理解可能会随着与客户的会谈而发生变化。政府改变规章制度,有些商业逻辑过时了。测试也许表明所选择的算法无法工作。所有这些不稳定都意味着我们要把很大一部分时间花在维护上,重新组织和表达我们的系统中的知识。 + +  大多数人都以为维护是在应用发布时开始的,维护就意味着修正bug和增强特性。我们认为这些人错了。程序员须持续不断地维护。我们的理解逐日变化。当我们设计或编码时,出现了新的需求。环境或许变了。不管原因是什么,维护都不是时有时无的活动,而是整个开发过程中的例行事务。 + +  当我们进行维护时,我们必须找到并改变事物的表示——那些嵌在应用中的知识胶囊。问题是,在我们开发的规范、过程和程序中很容易重复表述知识,而当我们这样做时,我们是在向维护的噩梦发出邀请——在应用发布之前就会开始的噩梦。 + +  我们觉得,可靠地开发软件、并让我们的开发更易于理解和维护的惟一途径,是遵循我们称之为DRY的原则: + +  系统中的每一项知识都必须具有单一、无歧义、权威的表示。 + +  我们为何称其为DRY? + + +提示11: +DRY – Don’t Repeat Yourself +不要重复你自己 + + +  与此不同的做法是在两个或更多地方表达同一事物。如果你改变其中一处,你必须记得改变其他各处。或者,就像那些异形计算机,你的程序将因为自相矛盾而被迫屈服。这不是你是否能记住的问题,而是你何时忘记的问题。 + +  你会发现DRY原则在全书中一再出现,并且常常出现在与编码无关的语境中。我们觉得,这是注重实效的程序员的工具箱里最重要的工具之一。 + +  在这一节我们将概述重复的问题,并提出对此加以处理的一般策略。 + + +重复是怎样发生的 + +  我们所见到的大多数重复都可归入下列范畴: +l 强加的重复(imposed duplication)。开发者觉得他们无可选择——环境似乎要求重复。 +l 无意的重复(inadvertent duplication)。开发者没有意识到他们在重复信息。 +l 无耐性的重复(impatient duplication)。开发者偷懒,他们重复,因为那样似乎更容易。 +l 开发者之间的重复(interdeveloper duplication)。同一团队(或不同团队)的几个人重复了同样的信息。 + +让我们更详细地看一看这四个以“i ”开头的重复。 + + +强加的重复 + +  有时,重复似乎是强加给我们的。项目标准可能要求建立含有重复信息的文档,或是重复代码中的信息的文档。多个目标平台各自需要自己的编程语言、库以及开发环境,这会使我们重复共有的定义和过程。编程语言自身要求某些重复信息的结构。我们都在我们觉得无力避免重复的情形下工作过。然而也有一些方法,可用于把一项知识存放在一处,以遵守DRY原则,同时也让我们的生活更容易一点。这里有一些这样的技术: + +信息的多种表示。在编码一级,我们常常需要以不同的形式表示同一信息。我们也许在编写客户-服务器应用,在客户和服务器端使用了不同的语言,并且需要在两端都表示某种共有的结构。我们或许需要一个类,其属性是某个数据库表的schema(模型、方案)的镜像。你也许在撰写一本书,其中包括的程序片段,也正是你要编译并测试的程序。 + +  发挥一点聪明才智,你通常能够消除重复的需要。答案常常是编写简单的过滤器或代码生成器。可以在每次构建(build)软件时,使用简单的代码生成器,根据公共的元数据表示构建多种语言下的结构(示例参见图3.4,106页)。可以根据在线数据库schema、或是最初用于构建schema的元数据,自动生成类定义。本书中摘录的代码,由预处理器在我们每次对文本进行格式化时插入。诀窍是让该过程成为主动的,这不能是一次性转换,否则我们就会退回到重复数据的情况。 + +代码中的文档。程序员被教导说,要给代码加上注释:好代码有许多注释。遗憾的是,没有人教给他们,代码为什么需要注释:糟糕的代码才需要许多注释。 + +  DRY法则告诉我们,要把低级的知识放在代码中,它属于那里;把注释保留给其他的高级说明。否则,我们就是在重复知识,而每一次改变都意味着既要改变代码,也要改变注释。注释将不可避免地变得过时,而不可信任的注释比完全没有注释更糟(关于注释的更多信息,参见全都是写,248页)。 + +文档与代码。你撰写文档,然后编写代码。有些东西变了,你修订文档、更新代码。文档和代码都含有同一知识的表示。而我们都知道,在最紧张的时候——最后期限在逼近,重要的客户在喊叫——我们往往会推迟文档的更新。 + +  Dave曾经参与过一个国际电报交换机项目的开发。很容易理解,客户要求提供详尽的测试规范,并要求软件在每次交付时都通过所有测试。为了确保测试准确地反映规范,开发团队用程序方式、根据文档本身生成这些测试。当客户修订他们的规范时,测试套件会自动改变。有一次团队向客户证明了,该过程很健全,生成验收测试在典型情况下只需要几秒种。 + +语言问题。许多语言会在源码中强加可观的重复。如果语言使模块的接口与其实现分离,就常常会出现这样的情况。C与C++有头文件,在其中重复了被导出变量、函数和(C++的)类的名称和类型信息。Object Pascal甚至会在同一文件里重复这些信息。如果你使用远地过程调用或CORBA[URL 29],你将会在接口规范与实现它的代码之间重复接口信息。 + +  没有什么简单的技术可用于克服语言的这些需求。尽管有些开发环境通过自动生成头文件、隐藏了对头文件的需要,而Object Pascal允许你缩写重复的函数声明,你通常仍受制于给予你的东西。至少对于大多数与语言有关的问题,与实现不一致的头文件将会产生某种形式的编译或链接错误。你仍会弄错事情,但至少,你将在很早的时候就得到通知。 + +  再思考一下头文件和实现文件中的注释。绝对没有理由在这两种文件之间重复函数或类头注释(header comment)。应该用头文件记载接口问题,用实现文件记载代码的使用者无须了解的实际细节。 + + +无意的重复 + +  有时,重复来自设计中的错误。 + +  让我们看一个来自配送行业的例子。假定我们的分析揭示,一辆卡车有车型、牌照号、司机及其他一些属性。与此类似,发运路线的属性包括路线、卡车和司机。基于这一理解,我们编写了一些类。 + +  但如果Sally打电话请病假、我们必须改换司机,事情又会怎样呢?Truck和DeliverRoute都包含有司机。我们改变哪一个?显然这样的重复很糟糕。根据底层的商业模型对其进行规范化(normalize)——卡车的底层属性集真的应包含司机?路线呢?又或许我们需要第三种对象,把司机、卡车及路线结合在一起。不管最终的解决方案是什么,我们都应避免这种不规范的数据。 + +  当我们拥有多个互相依赖的数据元素时,会出现一种不那么显而易见的不规范数据。让我们看一个表示线段的类: + + class Line { + + public: + + Point start; + + Point end; + + double length; + + }; + + +  第一眼看上去,这个类似乎是合理的。线段显然有起点和终点,并总是有长度(即使长度为零)。但这里有重复。长度是由起点和终点决定的:改变其中一个,长度就会变化。最好是让长度成为计算字段: + + class Line { + + public: + + Point start; + + Point end; + + double length() { return stanceTo(end); } + + }; + +  在以后的开发过程中,你可以因为性能原因而选择违反DRY原则。这经常会发生在你需要缓存数据,以避免重复昂贵的操作时。其诀窍是使影响局部化。对DRY原则的违反没有暴露给外界:只有类中的方法需要注意“保持行为良好”。 + + class Line { + + private: + + bool changed; + + double length; + + Point start; + + Point end; + + public: + + void setStart(Point p) { start = p; changed = true; } + + void setEnd(Point p) { end = p; changed = true; } + + Point getStart(void) { return start; } + + Point getEnd(void) { return end; } + + + double getLength() { + + if (changed) { + + length = stanceTo(end); + + changed = false; + + } + + return length; + + } + + }; + +  这个例子还说明了像Java和C++这样的面向对象语言的一个重要问题。在可能的情况下,应该总是用访问器(accessor)函数读写对象的属性。这将使未来增加功能(比如缓存)变得更容易。 + + +无耐性的重复 + +  每个项目都有时间压力——这是能够驱使我们中间最优秀的人走捷径的力量。需要与你写过的一个例程相似的例程?你会受到诱惑,去拷贝原来的代码,并做出一些改动。需要一个表示最大点数的值?如果我改动头文件,整个项目就得重新构建。也许我应该在这里使用直接的数字(literal number),这里,还有这里,需要一个与Java runtime中的某个类相似的类?源码在那里(你有使用许可),那么为什么不拷贝它、并做出你所需的改动呢? + +  如果你觉得受到诱惑,想一想古老的格言:“欲速则不达”。你现在也许可以节省几秒钟,但以后却可能损失几小时。想一想围绕着Y2K惨败的种种问题。其中许多问题是由开发者的懒惰造成的:他们没有参数化日期字段的尺寸,或是实现集中的日期服务库。 + +  无耐性的重复是一种容易检测和处理的重复形式,但那需要你接受训练,并愿意为避免以后的痛苦而预先花一些时间。 + + +开发者之间的重复 + +  另一方面,或许是最难检测和处理的重复发生在项目的不同开发者之间。整个功能集都可能在无意中被重复,而这些重复可能几年里都不会被发现,从而导致各种维护问题。我们亲耳听说过,美国某个州在对政府的计算机系统进行Y2K问题检查时,审计者发现有超出10,000个程序,每一个都有自己的社会保障号验证代码。 + +  在高层,可以通过清晰的设计、强有力的技术项目领导(参见288页“注重实效的团队”一节中的内容)、以及在设计中进行得到了充分理解的责任划分,对这个问题加以处理。但是,在模块层,问题更加隐蔽。不能划入某个明显的责任区域的常用功能和数据可能会被实现许多次。 + +  我们觉得,处理这个问题的最佳方式是鼓励开发者相互进行主动的交流。设置论坛,用以讨论常见问题(在过去的一些项目中,我们设置了私有的Usenet新闻组,用于让开发者交换意见,进行提问。这提供了一种不受打扰的交流方式——甚至跨越多个站点——同时又保留了所有言论的永久历史)。让某个团队成员担任项目资料管理员,其工作是促进知识的交流。在源码树中指定一个中央区域,用于存放实用例程和脚本。一定要阅读他人的源码与文档,不管是非正式的,还是进行代码复查。你不是在窥探——你是在向他们学习。而且要记住,访问是互惠的——不要因为别人钻研(乱钻?)你的代码而苦恼。 + + +提示12: +Make It Easy to Reuse +让复用变得容易 + + +  你所要做的是营造一种环境,在其中要找到并复用已有的东西,比自己编写更容易。如果不容易,大家就不会去复用。而如果不进行复用,你们就会有重复知识的风险。 + +相关内容: +l 正交性,34页 +l 文本操纵,99页 +l 代码生成器,102页 +l 重构,184页 +l 注重实效的团队,224页 +l 无处不在的自动化,230页 +l 全都是写,248页 + + + + + +8 正交性 + +  如果你想要制作易于设计、构建、测试及扩展的系统,正交性是一个十分关键的概念,但是,正交性的概念很少被直接讲授,而常常是你学习的各种其他方法和技术的隐含特性。这是一个错误。一旦你学会了直接应用正交性原则,你将发现,你制作的系统的质量立刻就得到了提高。 + + +什么是正交性 + +  “正交性”是从几何学中借来的术语。如果两条直线相交成直角,它们就是正交的,比如图中的坐标轴。用向量术语说,这两条直线互不依赖。沿着某一条直线移动,你投影到另一条直线上的位置不变。 + +  在计算技术中,该术语用于表示某种不相依赖性或是解耦性。如果两个或更多事物中的一个发生变化,不会影响其他事物,这些事物就是正交的。在设计良好的系统中,数据库代码与用户界面是正交的:你可以改动界面,而不影响数据库;更换数据库,而不用改动界面。 + +  在我们考察正交系统的好处之前,让我们先看一看非正交系统。 + + +非正交系统 + +  你正乘坐直升机游览科罗拉多大峡谷,驾驶员——他显然犯了一个错误,在吃鱼,他的午餐——突然呻吟起来,晕了过去。幸运的是,他把你留在了离地面100英尺的地方。你推断,升降杆控制总升力,所以轻轻将其压低可以让直升机平缓降向地面。然而,当你这样做时,却发现生活并非那么简单。直升机的鼻子向下,开始向左盘旋下降。突然间你发现,你驾驶的这个系统,所有的控制输入都有次级效应。压低左手的操作杆,你需要补偿性地向后移动右手柄,并踩右踏板。但这些改变中的每一项都会再次影响所有其他的控制。突然间,你在用一个让人难以置信的复杂系统玩杂耍,其中每一项改变都会影响所有其他的输入。你的工作负担异常巨大:你的手脚在不停地移动,试图平衡所有交互影响的力量。 + +  直升机的各个控制器断然不是正交的。 + + +正交的好处 + +  如直升机的例子所阐明的,非正交系统的改变与控制更复杂是其固有的性质。当任何系统的各组件互相高度依赖时,就不再有局部修正(local fix)这样的事情。 + + +提示13: +Eliminate Effects Between Unrelated Things +消除无关事物之间的影响 + + +  我们想要设计自足(self-contained)的组件:独立,具有单一、良好定义的目的(Yourdon和Constantine称之为内聚(cohesion)[YC86])。如果组件是相互隔离的,你就知道你能够改变其中之一,而不用担心其余组件。只要你不改变组件的外部接口,你就可以放心:你不会造成波及整个系统的问题。 + +  如果你编写正交的系统,你得到两个主要好处:提高生产率与降低风险。 + +提高生产率: +l 改动得以局部化,所以开发时间和测试时间得以降低。与编写单个的大块代码相比,编写多个相对较小的、自足的组件更为容易。你可以设计、编写简单的组件,对其进行单元测试,然后把它们忘掉——当你增加新代码时,无须不断改动已有的代码。 +l 正交的途径还能够促进复用。如果组件具有明确而具体的、良好定义的责任,就可以用其最初的实现者未曾想象过的方式,把它们与新组件组合在一起。 +l 如果你对正交的组件进行组合,生产率会有相当微妙的提高。假定某个组件做M件事情,而另一个组件做N件事情。如果它们是正交的,而你把它们组合在一起,结果就能做M x N件事情。但是,如果这两个组件是非正交的,它们就会重叠,结果能做的事情就更少。通过组合正交的组件,你的每一份努力都能得到更多的功能。 + + +降低风险 + +  正交的途径能降低任何开发中固有的风险: +l 有问题的代码区域被隔离开来。如果某个模块有毛病,它不大可能把病症扩散到系统的其余部分。要把它切掉,换成健康的新模块也更容易。 +l 所得系统更健壮。对特定区域做出小的改动与修正,你所导致的任何问题都将局限在该区域中。 +l 正交系统很可能能得到更好的测试,因为设计测试、并针对其组件运行测试更容易。 +l 你不会与特定的供应商、产品、或是平台紧绑在一起,因为与这些第三方组件的接口将被隔离在全部开发的较小部分中。 + +让我们看一看在工作中应用正交原则的几种方式。 + + +项目团队 + +  你是否注意到,有些项目团队很有效率,每个人都知道要做什么,并全力做出贡献,而另一些团队的成员却老是在争吵,而且好像无法避免互相妨碍? + +  这常常是一个正交性问题。如果团队的组织有许多重叠,各个成员就会对责任感到困惑。每一次改动都需要整个团队开一次会,因为他们中的任何一个人都可能受到影响。 + +  怎样把团队划分为责任得到了良好定义的小组,并使重叠降至最低呢?没有简单的答案。这部分地取决于项目本身,以及你对可能变动的区域的分析。这还取决于你可以得到的人员。我们的偏好是从使基础设施与应用分离开始。每个主要的基础设施组件(数据库、通信接口、中间件层,等等)有自己的子团队。如果应用功能的划分显而易见,那就照此划分。然后我们考察我们现有的(或计划有的)人员,并对分组进行相应的调整。 + +  你可以对项目团队的正交性进行非正式的衡量。只要看一看,在讨论每个所需改动时需要涉及多少人。人数越多,团队的正交性就越差。显然,正交的团队效率也更高(尽管如此,我们也鼓励子团队不断地相互交流)。 + + +设计 + +  大多数开发者都熟知需要设计正交的系统,尽管他们可能会使用像模块化、基于组件、或是分层这样的术语描述该过程。系统应该由一组相互协作的模块组成,每个模块都实现不依赖于其他模块的功能。有时,这些组件被组织为多个层次,每层提供一级抽象。这种分层的途径是设计正交系统的强大方式。因为每层都只使用在其下面的层次提供的抽象,在改动底层实现、而又不影响其他代码方面,你拥有极大的灵活性。分层也降低了模块间依赖关系失控的风险。你将常常看到像下一页的图2.1这样的图表示的层次关系。 + +  对于正交设计,有一种简单的测试方法。一旦设计好组件,问问你自己:如果我显著地改变某个特定功能背后的需求,有多少模块会受影响?在正交系统中,答案应该是“一个”。移动GUI面板上的按钮,不应该要求改动数据库schema。增加语境敏感的帮助,也不应该改动记账子系统。 + + +图2.1 典型的层次图 + + +  让我们考虑一个用于监视和控制供暖设备的复杂系统。原来的需求要求提供图形用户界面,但后来需求被改为要增加语音应答系统,用按键电话控制设备。在正交地设计的系统中,你只需要改变那些与用户界面有关联的模块,让它们对此加以处理:控制设备的底层逻辑保持不变。事实上,如果你仔细设计你的系统结构,你应该能够用同一个底层代码库支持这两种界面。157页的“它只是视图”将讨论怎样使用模型-视图-控制器(MVC)范型编写解耦的代码,该范型在这里的情况下也能很好地工作。 + +  还要问问你自己,你的设计在多大程度上解除了与现实世界中的的变化的耦合?你在把电话号码当作顾客标识符吗?如果电话公司重新分配了区号,会怎么样?不要依赖你无法控制的事物属性。 + + + + + +8 正交性(2) + + +工具箱与库 + +  在你引入第三方工具箱和库时,要注意保持系统的正交性。要明智地选择技术。 + +  我们曾经参加过一个项目,在其中需要一段Java代码,既运行在本地的服务器机器上,又运行在远地的客户机器上。要把类按这样的方式分布,可以选用RMI或CORBA。如果用RMI实现类的远地访问,对类中的远地方法的每一次调用都可能会抛出异常;这意味着,一个幼稚的实现可能会要求我们,无论何时使用远地类,都要对异常进行处理。在这里,使用RMI显然不是正交的:调用远地类的代码应该不用知道这些类的位置。另一种方法——使用CORBA——就没有施加这样的限制:我们可以编写不知道我们类的位置的代码。 + +  在引入某个工具箱时(甚或是来自你们团队其他成员的库),问问你自己,它是否会迫使你对代码进行不必要的改动。如果对象持久模型(object persistence scheme)是透明的,那么它就是正交的。如果它要求你以一种特殊的方式创建或访问对象,那么它就不是正交的。让这样的细节与代码隔离具有额外的好处:它使得你在以后更容易更换供应商。 + +  Enterprise Java Beans(EJB)系统是正交性的一个有趣例子。在大多数面向事务的系统中,应用代码必须描述每个事务的开始与结束。在EJB中,该信息是作为元数据,在任何代码之外,以声明的方式表示的。同一应用代码不用修改,就可以运行在不同的EJB事务环境中。这很可能是将来许多环境的模型。 + +  正交性的另一个有趣的变体是面向方面编程(Aspect-Oriented Programming,AOP),这是Xerox Parc的一个研究项目([KLM+97]与[URL 49])。AOP让你在一个地方表达本来会分散在源码各处的某种行为。例如,日志消息通常是在源码各处、通过显式地调用某个日志函数生成的。通过AOP,你把日志功能正交地实现到要进行日志记录的代码中。使用AOP的Java版本,你可以通过编写aspect、在进入类Fred的任何方法时写日志消息: + + aspect Trace { + + advise * Fred.*(..) { + + static before { + + Lite("-> Entering " + thisJoinPthodName); + + } + + } + + } + + +  如果你把这个方面编织(weave)进你的代码,就会生成追踪消息。否则,你就不会看到任何消息。不管怎样,你原来的源码都没有变化。 + + +编码 + +  每次你编写代码,都有降低应用正交性的风险。除非你不仅时刻监视你正在做的事情,也时刻监视应用的更大语境,否则,你就有可能无意中重复其他模块的功能,或是两次表示已有的知识。 + +  你可以将若干技术用于维持正交性: +l 让你的代码保持解耦。编写“羞怯”的代码——也就是不会没有必要地向其他模块暴露任何事情、也不依赖其他模块的实现的模块。试一试我们将在183页的“解耦与得墨忒耳法则”中讨论的得墨忒耳法则(Law of Demeter)[LH89]。如果你需要改变对象的状态,让这个对象替你去做。这样,你的代码就会保持与其他代码的实现的隔离,并增加你保持正交的机会。 +l 避免使用全局数据。每当你的代码引用全局数据时,它都把自己与共享该数据的其他组件绑在了一起。即使你只想对全局数据进行读取,也可能会带来麻烦(例如,如果你突然需要把代码改为多线程的)。一般而言,如果你把所需的任何语境(context)显式地传入模块,你的代码就会更易于理解和维护。在面向对象应用中,语境常常作为参数传给对象的构造器。换句话说,你可以创建含有语境的结构,并传递指向这些结构的引用。 +  《设计模式》[GHJV95]一书中的Singleton(单体)模式是确保特定类的对象只有一个实例的一种途径。许多人把这些singleton对象用作某种全局变量(特别是在除此而外不支持全局概念的语言中,比如Java)。使用singleton要小心——它们可能造成不必要的关联。 +l 避免编写相似的函数。你常常会遇到看起来全都很像的一组函数——它们也许在开始和结束处共享公共的代码,中间的算法却各有不同。重复的代码是结构问题的一种症状。要了解更好的实现,参见《设计模式》一书中的Strategy(策略)模式。 + +  养成不断地批判对待自己的代码的习惯。寻找任何重新进行组织、以改善其结构和正交性的机会。这个过程叫做重构(refactoring),它非常重要,所以我们专门写了一节加以讨论(见“重构”,184页) + + +测试 + +  正交地设计和实现的系统也更易于测试,因为系统的各组件间的交互是形式化的和有限的,更多的系统测试可以在单个的模块级进行。这是好消息,因为与集成测试(integration testing)相比,模块级(或单元)测试要更容易规定和进行得多。事实上,我们建议让每个模块都拥有自己的、内建在代码中的单元测试,并让这些测试作为常规构建过程的一部分自动运行(参见“易于测试的代码”,189页)。 + +  构建单元测试本身是对正交性的一项有趣测试。要构建和链接某个单元测试,都需要什么?只是为了编译或链接某个测试,你是否就必须把系统其余的很大一部分拽进来?如果是这样,你已经发现了一个没有很好地解除与系统其余部分耦合的模块。 + +  修正bug也是评估整个系统的正交性的好时候。当你遇到问题时,评估修正的局部化程度。 + + 你是否只改动了一个模块,或者改动分散在整个系统的各个地方?当你做出改动时,它修正了所有问题,还是又神秘地出现了其他问题?这是开始运用自动化的好机会。如果你使用了源码控制系统(在阅读了86页的“源码控制”之后,你会使用的),当你在测试之后、把代码签回(check the code back)时,标记所做的bug修正。随后你可以运行月报,分析每个bug修正所影响的源文件数目的变化趋势。 + + +文档 + +  也许会让人惊讶,正交性也适用于文档。其坐标轴是内容和表现形式。对于真正正交的文档,你应该能显著地改变外观,而不用改变内容。现代的字处理器提供了样式表和宏,能够对你有帮助(参见“全都是写”,248页)。 + + +认同正交性 + +  正交性与27页介绍的DRY原则紧密相关。运用DRY原则,你是在寻求使系统中的重复降至最小;运用正交性原则,你可降低系统的各组件间的相互依赖。这样说也许有点笨拙,但如果你紧密结合DRY原则、运用正交性原则,你将会发现你开发的系统会变得更为灵活、更易于理解、并且更易于调试、测试和维护。 + +  如果你参加了一个项目,大家都在不顾一切地做出改动,而每一处改动似乎都会造成别的东西出错,回想一下直升机的噩梦。项目很可能没有进行正交的设计和编码。是重构的时候了。 + +  另外,如果你是直升机驾驶员,不要吃鱼…… + + +相关内容: +l 重复的危害,26页 +l 源码控制,86页 +l 按合约设计,109页 +l 解耦与得墨忒耳法则,138页 +l 元程序设计,144页 +l 它只是视图,157页 +l 重构,184页 +l 易于测试的代码,189页 +l 邪恶的向导,198页 +l 注重实效的团队,224页 +l 全都是写,248页 + +挑战: +l 考虑常在Windows系统上见到的面向GUI的大型工具和在shell提示下使用的短小、但却可以组合的命令行实用工具。哪一种更为正交,为什么?如果正好按其设计用途加以应用,哪一种更易于使用?哪一种更易于与其他工具组合、以满足新的要求? +l C++支持多重继承,而Java允许类实现多重接口。使用这些设施对正交性有何影响?使用多重继承与使用多重接口的影响是否有不同?使用委托(delegation)与使用继承之间是否有不同? + +练习: +1. 你在编写一个叫做Split的类,其用途是把输入行拆分为字段。下面的两个Java类的型构(signature)中,哪一个是更为正交的设计?  (解答在279页) + + class Split1 { + + public Split1(InputStreamReader rdr) { ... + + public void readNextLine() throws IOException { ... + + public int numFields() { ... + + public String getField(int fieldNo) { ... + + } + + class Split2 { + + public Split2(String line) { ... + + public int numFields() { ... + + public String getField(int fieldNo) { ... + + } + +2. 非模态对话框或模态对话框,哪一个能带来更为正交的设计? (解答在279页) + +3. 过程语言与对象技术的情况又如何?哪一种能产生更为正交的系统? (解答在280页) + + + + + +9 可撤消性 + +如果某个想法是你惟一的想法,再没有什么比这更危险的事情了。 +  ——Emil-Auguste Chartier, Propos sur la religion, 1938 + +  工程师们喜欢问题有简单、单一的解决方案。与论述法国大革命的无数起因的一篇模糊、热烈的文章相比,允许你怀着极大的自信宣称x = 2的数学测验要让人觉得舒服得多。管理人员往往与工程师趣味相投:单一、容易的答案正好可以放在电子表格和项目计划中。 + +  现实世界能够合作就好了!遗憾的是,今天x是2,明天也许就需要是5,下周则是3。没有什么永远不变——而如果你严重依赖某一事实,你几乎可以确定它将会变化。 + +  要实现某种东西,总有不止一种方式,而且通常有不止一家供应商可以提供第三方产品。如果你参与的项目被短视的、认为只有一种实现方式的观念所牵绊,你也许就会遇到让人不悦的意外之事。许多项目团队会被迫在未来展现之时睁开眼睛: + + “但你说过我们要使用XYZ数据库!我们的项目已经完成了85%的编码工作。我们现在不能改变了!”程序员抗议道。“对不起,但我们公司决定进行标准化,改用PDQ数据库——所有项目。这超出了我的职权范围。我们必须重新编码。周末所有人都要加班,直到另行通知为止。” + +  变动不一定会这么严苛,甚至也不会这么迫在眉睫。但随着时间的流逝,随着你的项目取得进展,你也许会发现自己陷在无法立足的处境里。随着每一项关键决策的做出,项目团队受到越来越小的目标的约束——现实的更窄小的版本,选择的余地越来越小。 + +  在许多关键决策做出之后,目标会变得如此之小,以至于如果它动一下,或是风改变方向,或是东京的蝴蝶扇动翅膀,你都会错过目标。而且你可能会偏出很远。 + +  问题在于,关键决策不容易撤消。 + +  一旦你决定使用这家供应商的数据库、那种架构模式、或是特定的部署模型(例如,客户-服务器 vs. 单机),除非付出极大的代价,否则你就将受制于一个无法撤消的动作进程(course of action)。 + + +可撤消性 + +  我们让本书的许多话题相互配合,以制作灵活、有适应能力的软件。通过遵循它们的建议——特别是DRY原则(26页)、解耦(138页)以及元数据的使用(144页)——我们不必做出许多关键的、不可逆转的决策。这是一件好事情,因为我们并非总能在一开始就做出最好的决策。我们采用了某种技术,却发现我们雇不到足够的具有必需技能的人。我们刚刚选定某个第三方供应商,他们就被竞争者收购了。与我们开发软件的速度相比,需求、用户以及硬件变得更快。 + +  假定在项目初期,你决定使用供应商A提供的关系数据库。过了很久,在性能测试过程中,你发现数据库简直太慢了,而供应商B提供的对象数据库更快。对于大多数传统项目,你不会有什么运气。大多数时候,对第三方产品的调用都缠绕在代码各处。但如果你真的已经把数据库的概念抽象出来——抽象到数据库只是把持久(persistence)作为服务提供出来的程度——你就会拥有“中流换马(change horses in midstream)”的灵活性。 + +  与此类似,假定项目最初采用的是客户-服务器模型,但随即,在开发的后期,市场部门认为服务器对于某些客户过于昂贵,他们想要单机版。对你来说,那会有多困难?因为这只是一个部署问题,所以不应该要很多天。如果所需时间更长,那么你就没有考虑过可撤消性。另外一个方向甚至更有趣。如果需要以客户-服务器或n层方式部署你正在开发的单机产品,事情又会怎样?那也不应该很困难。 + +  错误在于假定决策是浇铸在石头上的——同时还在于没有为可能出现的意外事件做准备。 + +要把决策视为是写在沙滩上的,而不要把它们刻在石头上。大浪随时可能到来,把它们抹去。 + + +提示14: +There Are No Final Decisions +不存在最终决策 + + +灵活的架构 + +  有许多人会设法保持代码的灵活性,而你还需要考虑维持架构、部署及供应商集成等领域的灵活性。 + +  像CORBA这样的技术可以帮助把项目的某些部分与开发语言或平台的变化隔离开来。Java在该平台上的性能不能满足要求?重新用C++编写客户代码,其他没有什么需要改变。用C++编写的规则引擎不够灵活?换到Smalltalk版本。采用CORBA架构,你只须改动替换的组件:其他组件应该不会受影响。 + +  你正在开发UNIX软件?哪一种?你是否处理了所有可移植性问题?你正在为某个特定版本的Windows做开发?哪一种——3.1、95、98、NT、CE、或是2000?支持其他版本有多难?如果你让决策保持软和与柔韧,事情就完全不困难。如果在代码中有着糟糕的封装、高度耦合以及硬编码的逻辑或参数,事情也许就是不可能的。 + +  不确定市场部门想怎样部署系统?预先考虑这个问题,你可以支持单机、客户-服务器、或n层模型——只需要改变配置文件。我们就写过一些这么做的程序。 + +  通常,你可以把第三方产品隐藏在定义良好的抽象接口后面。事实上,在我们做过的任何项目中,我们都总能够这么做。但假定你无法那么彻底地隔离它,如果你必须大量地把某些语句分散在整个代码中,该怎么办?把该需求放入元数据,并且使用某种自动机制——比如Aspect(参见39页)或Perl——把必需的语句插入代码自身中。无论你使用的是何种机制,让它可撤消。如果某样东西是自动添加的,它也可以被自动去掉。 + +  没有人知道未来会怎样,尤其是我们!所以要让你的代码学会“摇滚”:可以“摇”就“摇”,必须“滚”就“滚”。 + + +相关内容: +l 解耦与得墨忒耳法则,138页 +l 元程序设计,144页 +l 它只是视图,157页 + +挑战: +l 让我们通过“薛定谔的猫”学一点量子力学。假定在一个封闭的盒子里有一只猫,还有一个放射性粒子。这个粒子正好有50%的机会裂变成两个粒子。如果发生了裂变,猫就会被杀死;如果没有,猫就不会有事。那么,猫是死是活?根据薛定谔的理论,正确的答案是“都是”。每当有两种可能结果的亚核反应发生时,宇宙就会被克隆。在其中一个宇宙中,事件发生;在另一个宇宙中,事件不发生。猫在一个宇宙中是活的,在另一个宇宙中是死的。只有当你打开盒子,你才知道你在哪一个宇宙里。 +  怪不得为未来编码很困难。 +  但想一想,代码沿着与装满薛定谔的猫的盒子一样的路线演化:每一项决策都会导致不同版本的未来。你的代码能支持多少种可能的未来?哪一种未来更有可能发生?到时支持它们有多困难? +  你敢打开盒子吗? + + + + + +10 曳光弹 + +预备、开火、瞄准…… + + +  在黑暗中用机枪射击有两种方式。你可以找出目标的确切位置(射程、仰角及方位)。你可以确定环境状况(温度、湿度、气压、风,等等)。你可以确定你使用的弹药筒和子弹的精确规格,以及它们与你使用的机枪的交互作用。然后你可以用计算表或射击计算机计算枪管的确切方向及仰角。如果每一样东西都严格按照规定的方式工作,你的计算表正确无误,而且环境没有发生变化,你的子弹应该能落在距目标不远的地方。 + +  或者,你可以使用曳光弹。 + +  曳光弹与常规弹药交错着装在弹药带上。发射时,曳光弹中的磷点燃,在枪与它们击中的地方之间留下一条烟火般的踪迹。如果曳光弹击中目标,那么常规子弹也会击中目标。 + +  并不让人惊奇的是,曳光弹比费力计算更可取。反馈是即时的,而且因为它们工作在与真正的弹药相同的环境中,外部影响得以降至最低。 + +  这个类比也许有点暴力,但它适用于新的项目,特别是当你构建从未构建过的东西时。与枪手一样,你也设法在黑暗中击中目标。因为你的用户从未见过这样的系统,他们的需求可能会含糊不清。因为你在使用不熟悉的算法、技术、语言或库,你面对着大量未知的事物。同时,因为完成项目需要时间,在很大程度上你能够确知,你的工作环境将在你完成之前发生变化。 + +  经典的做法是把系统定死。制作大量文档,逐一列出每项需求、确定所有未知因素、并限定环境。根据死的计算射击。预先进行一次大量计算,然后射击并企望击中目标。 + +  然而,注重实效的程序员往往更喜欢使用曳光弹。 + + +在黑暗中发光的代码 + +  曳光弹行之有效,是因为它们与真正的子弹在相同的环境、相同的约束下工作。它们快速飞向目标,所以枪手可以得到即时的反馈。同时,从实践的角度看,这样的解决方案也更便宜。 + +  为了在代码中获得同样的效果,我们要找到某种东西,让我们能快速、直观和可重复地从需求出发,满足最终系统的某个方面要求。 + + +提示15: +Use Tracer Bullets to Find the Target +用曳光弹找到目标 + + +  有一次,我们接受了一个复杂的客户-服务器数据库营销项目。其部分需求是要能够指定并执行临时查询。服务器是一系列专用的关系数据库。用Object Pascal编写的客户GUI使用一组C库提供给服务器的接口。在转换为优化的SQL之前,用户的查询以类似Lisp的表示方式存储在服务器上;转换直到执行前才进行。有许多未知因素和许多不同的环境,没有人清楚地知道GUI应该怎样工作。 + +  这是使用曳光代码的好机会。我们开发了前端框架、用于表示查询的库以及用于把所存储的查询转换为具体数据库的查询的结构。随后我们把它们集中在一起,并检查它们是否能工作。使用最初构建的系统,我们所能做的只是提交一个查询,列出某个表中的所有行,但它证明了UI能够与库交谈,库能够对查询进行序列化和解序列化,而服务器能够根据结果生成SQL。在接下来的几个月里,我们逐渐充实这个基本结构,通过并行地扩大曳光代码的各个组件增加新的功能。当UI增加了新的查询类型时,库随之成长,而我们也使SQL生成变得更为成熟。 + +  曳光代码并非用过就扔的代码:你编写它,是为了保留它。它含有任何一段产品代码都拥有的完整的错误检查、结构、文档、以及自查。它只不过功能不全而已。但是,一旦你在系统的各组件间实现了端到端(end-to-end)的连接,你就可以检查你离目标还有多远,并在必要的情况下进行调整。一旦你完全瞄准,增加功能将是一件容易的事情。 + +  曳光开发与项目永不会结束的理念是一致的:总有改动需要完成,总有功能需要增加。这是一个渐进的过程。 + +  另一种传统做法是一种繁重的工程方法:把代码划分为模块,在真空中对模块进行编码。把模块组合成子配件(subassembly),再对子配件进行组合,直到有一天你拥有完整的应用为止。直到那时,才能把应用作为一个整体呈现给用户,并进行测试。 + +  曳光代码方法有许多优点: +l 用户能够及早看到能工作的东西。如果你成功地就你在做的事情与用户进行了交流(参见“极大的期望”,255页),用户就会知道他们看到的是还未完成的东西。他们不会因为缺少功能而失望;他们将因为看到了系统的某种可见的进展而欣喜陶醉。他们还会随着项目的进展做出贡献,增加他们的“买入”。同样是这些用户,他们很可能也会告诉你,每一轮“射击”距离目标有多接近。 +l 开发者构建了一个他们能在其中工作的结构。最令人畏缩的纸是什么也没有写的白纸。如果你已经找出应用的所有端到端的交互,并把它们体现在代码里,你的团队就无须再无中生有。这让每个人都变得更有生产力,同时又促进了一致性。 +l 你有了一个集成平台。随着系统端到端地连接起来,你拥有了一个环境,一旦新的代码段通过了单元测试,你就可以将其加入该环境中。你将每天进行集成(常常是一天进行多次),而不是尝试进行大爆炸式的集成。每一个新改动的影响都更为显而易见,而交互也更为有限,于是调试和测试将变得更快、更准确。 +l 你有了可用于演示的东西。项目出资人与高级官员往往会在最不方便的时候来看演示。有了曳光代码,你总有东西可以拿给他们看。 +l 你将更能够感觉到工作进展。在曳光代码开发中,开发者一个一个地处理用例(use case)。做完一个,再做下一个。评测性能、并向用户演示你的进展,变得容易了许多。因为每一项个别的开发都更小,你也避免了创建这样的整体式代码块:一周又一周,其完成度一直是95%。 + + +曳光弹并非总能击中目标 + +  曳光弹告诉你击中的是什么。那不一定总是目标。于是你调整准星,直到完全击中目标为止。这正是要点所在。 + +  曳光代码也是如此。你在不能100%确定该去往何处的情形下使用这项技术。如果最初的几次尝试错过了目标——用户说:“那不是我的意思”,你需要的数据在你需要它时不可用,或是性能好像有问题——你不应感到惊奇。找出怎样改变已有的东西、让其更接近目标的办法,并且为你使用了一种简约的开发方法而感到高兴。小段代码的惯性也小——要改变它更容易、更迅速。你能够搜集关于你的应用的反馈,而且与其他任何方法相比,你能够花费较少代价、更为迅速地生成新的、更为准确的版本。同时,因为每个主要的应用组件都已表现在你的曳光代码中,用户可以确信,他们所看到的东西具有现实基础,不仅仅是纸上的规范。 + +曳光代码 vs. 原型制作 + +  你也许会想,这种曳光代码的概念就是原型制作,只不过有一个更富“进攻性”的名字。它们有区别。使用原型,你是要探究最终系统的某些具体的方面。使用真正的原型,在对概念进行了试验之后,你会把你捆扎在一起的无论什么东西扔掉,并根据你学到的经验教训重新适当地进行编码。 + +  例如,假定你在制作一个应用,其用途是帮助运货人确定怎样把不规则的箱子装入集装箱。 + +除了考虑其他一些问题,你还需要设计直观的用户界面,而你用于确定最优装箱方式的算法非常复杂。 + +  你可以在GUI工具中为最终用户制作一个用户界面原型。你的代码只能让界面响应用户操作。一旦用户对界面布局表示同意,你可以把它扔掉,用目标语言重新对其进行编码,并在其后加上商业逻辑。与此类似,你可以为实际进行装箱的算法制作原型。你可以用像Perl这样的宽松的高级语言编写功能测试,并用更接近机器的某种语言编写低级的性能测试。无论如何,一旦你做出决策,你都会重新开始在其最终环境中为算法编写代码,与现实世界接合。这就是原型制作,它非常有用。 + +  曳光代码方法处理的是不同的问题。你需要知道应用怎样结合成一个整体。你想要向用户演示,实际的交互是怎样工作的,同时你还想要给出一个架构骨架,开发者可以在其上增加代码。在这样的情况下,你可以构造一段曳光代码,其中含有一个极其简单的集装箱装箱算法实现(也许是像“先来先服务”这样的算法)和一个简单、但却能工作的用户界面。一旦你把应用中的所有组件都组合在一起,你就拥有了一个可以向你的用户和开发者演示的框架。接下来的时间里,你给这个框架增加新功能,完成预留了接口的例程。但框架仍保持完整,而你也知道,系统将会继续按照你第一次的曳光代码完成时的方式工作。 + +  其间的区别很重要,足以让我们再重复一次。原型制作生成用过就扔的代码。曳光代码虽然简约,但却是完整的,并且构成了最终系统的骨架的一部分。你可以把原型制作视为在第一发曳光弹发射之前进行的侦察和情报搜集工作。 + + +相关内容: +l 足够好的软件,9页 +l 原型与便笺,53页 +l 规范陷阱,217页 +l 极大的期望,255页 + + + + + +11 原型与便笺 + +  许多不同的行业都使用原型试验具体的想法:与完全的制作相比,制作原型要便宜得多。例如,轿车制造商可以制造某种新车设计的许多不同的原型,每一种的设计目的都是要测试轿车的某个具体的方面——空气动力学、样式、结构特征,等等。也许会制造一个粘土模型,用于风洞测试,也许会为工艺部门制造一个轻木和胶带模型,等等。有些轿车公司更进一步,在计算机上进行大量的建模工作,从而进一步降低了开销。以这样的方式,可以试验危险或不确定的元件,而不用实际进行真实的制造。 + +  我们以同样的方式构建软件原型,并且原因也一样——为了分析和揭示风险,并以大大降低的代价、为修正提供机会。与轿车制造商一样,我们可以把原型用于测试项目的一个或多个具体方面。 + +  我们往往以为原型要以代码为基础,但它们并不总是非如此不可。与轿车制造商一样,我们可以用不同的材料构建原型。要为像工作流和应用逻辑这样的动态事物制作原型,便笺(post-it note)就非常好。用户界面的原型则可以是白板上的图形、或是用绘图程序或界面构建器绘制的无功能的模型。 + +  原型的设计目的就是回答一些问题,所以与投入使用的产品应用相比,它们的开发要便宜得多、快捷得多。其代码可以忽略不重要的细节——在此刻对你不重要,但对后来的用户可能非常重要。例如,如果你在制作GUI原型,你不会因不正确的结果或数据而遭到指责。而另一方面,如果你只是在研究计算或性能方面的问题,你也不会因为相当糟糕的GUI而遭到指责;甚至也可以完全不要GUI。 + +  但如果你发现自己处在不能放弃细节的环境中,就需要问自己,是否真的在构建原型。或许曳光弹开发方式更适合这种情况(参见“曳光弹”,48页)。 + + +应制作原型的事物 + +  你可以选择通过原型来研究什么样的事物呢?任何带有风险的事物。以前没有试过的事物,或是对于最终系统极端关键的事物。任何未被证明的、实验性的、或有疑问的事物。任何让你觉得不舒服的事物。你可以为下列事物制作原型: +l 架构 +l 已有系统中的新功能 +l 外部数据的结构或内容 +l 第三方工具或组件 +l 性能问题 +l 用户界面设计 + +  原型制作是一种学习经验。其价值并不在于所产生的代码,而在于所学到的经验教训。那才是原型制作的要点所在。 + + +提示16: +Prototype to Learn +为了学习而制作原型 + + +怎样使用原型 + +  在构建原型时,你可以忽略哪些细节? +l 正确性。你也许可以在适当的地方使用虚设的数据。 +l 完整性。原型也许只能在非常有限的意义上工作,也许只有一项预先选择的输入数据和一个菜单项。 +l 健壮性。错误检查很可能不完整,或是完全没有。如果你偏离预定路径,原型就可能崩溃,并在“烟火般的灿烂显示中焚毁”。这没有关系。 +l 风格。在纸上承认这一点让人痛苦,但原型代码可能没有多少注释或文档。根据使用原型的经验,你也许会撰写出大量文档,但关于原型系统自身的内容相对而言却非常少。 + +  因为原型应该遮盖细节,并聚焦于所考虑系统的某些具体方面,你可以用非常高级的语言实现原型——比项目的其余部分更高级(也许是像Perl、Python或Tcl这样的语言)。高级的脚本语言能让你推迟考虑许多细节(包括指定数据类型),并且仍然能制作出能工作的(即使不完整或速度慢)代码。如果你需要制作用户界面的原型,可研究像Tcl/Tk、Visual Basic、Powerbuilder或Delphi这样的工具。 + +  作为能把低级的部分组合在一起的“胶合剂”,脚本语言工作良好。在Windows下,Visual Basic可以把COM控件胶合在一起。更一般地说,你可以使用像Perl和Python这样的语言,把低级的C库绑在一起——无论是手工进行,还是通过工具自动进行,比如可以自由获取的SWIG[URL 28]。采用这种方法,你可以快速地把现有组件装配进新的配置,从而了解它们的工作情况。 + + +制作架构原型 + +  许多原型被构造出来,是要为在考虑之下的整个系统建模。与曳光弹不同,在原型系统中,单个模块不需要能行使特定的功能。事实上,要制作架构原型,你甚至不一定需要进行编码——你可以用便笺或索引卡片、在白板上制作原型。你寻求的是了解系统怎样结合成为一个整体,并推迟考虑细节。下面是一些你可以在架构原型中寻求解答的具体问题: +l 主要组件的责任是否得到了良好定义?是否适当? +l 主要组件间的协作是否得到了良好定义? +l 耦合是否得以最小化? +l 你能否确定重复的潜在来源? +l 接口定义和各项约束是否可接受? +l 每个模块在执行过程中是否能访问到其所需的数据?是否能在需要时进行访问? + +根据我们制作原型的经验,最后一项往往会产生最让人惊讶和最有价值的结果。 + + +怎样“不”使用原型 + +  在你着手制作任何基于代码的原型之前,先确定每个人都理解你正在编写用过就扔的代码。对于不知道那只是原型的人,原型可能会具有欺骗性的吸引力。你必须非常清楚地说明,这些代码是用过就扔的,它们不完整,也不可能完整。 + +  别人很容易被演示原型外表的完整性误导,而如果你没有设定正确的期望值,项目出资人或管理部门可能会坚持要部署原型(或其后裔)。提醒他们,你可以用轻木和胶带制造一辆了不起的新车原型,但你却不会在高峰时间的车流中驾驶它。 + +  如果你觉得在你所在的环境或文化中,原型代码的目的很有可能被误解,你也许最好还是采用曳光弹方法。你最后将得到一个坚实的框架,为将来的开发奠定基础。 + +  适当地使用原型,可以帮助你在开发周期的早期确定和改正潜在的问题点——在此时改正错误既便宜、又容易——从而为你节省大量时间、金钱,并大大减轻你遭受的痛苦和折磨。 + + +相关内容: +l 我的源码让猫给吃了,2页 +l 交流!,18页 +l 曳光弹,48页 +l 极大的期望,255页 + +练习: +4. 市场部门想要坐下来和你一起讨论一些网页的设计问题。他们想用可点击的图像进行页面导航,但却不能确定该用什么图像模型——也许是轿车、电话或是房子。你有一些目标网页和内容;他们想要看到一些原型。哦,随便说一下,你只有15分钟。你可以使用什么样的工具?  (解答在280页) + + + + + +12 领域语言 + +语言的界限就是一个人的世界的界限。 +  ——维特根斯坦 + + +  计算机语言会影响你思考问题的方式,以及你看待交流的方式。每种语言都含有一系列特性——比如静态类型与动态类型、早期绑定与迟后绑定、继承模型(单、多或无)这样的时髦话语——所有这些特性都在提示或遮蔽特定的解决方案。头脑里想着Lisp设计的解决方案将会产生与基于C风格的思考方式而设计的解决方案不同的结果,反之亦然。与此相反——我们认为这更重要——问题领域的语言也可能会提示出编程方案。 + +  我们总是设法使用应用领域的语汇来编写代码(参见210页的需求之坑,我们在那里提出要使用项目词汇表)。在某些情况下,我们可以更进一层,采用领域的语汇、语法、语义——语言——实际进行编程。 + +  当你听取某个提议中的系统的用户说明情况时,他们也许能确切地告诉你,系统应怎样工作: + + 在一组X.25线路上侦听由ABC规程12.3定义的交易,把它们转译成XYZ公司的43B格式,在卫星上行链路上重新传输,并存储起来,供将来分析使用。 + +  如果用户有一些这样的做了良好限定的陈述,你可以发明一种为应用领域进行了适当剪裁的小型语言,确切地表达他们的需要: + + From X25LINE1 (Format=ABC123) { + + Put TELSTAR1 (Format=XYZ43B); + + Store DB; + + } + + +  该语言无须是可执行的。一开始,它可以只是用于捕捉用户需求的一种方式——一种规范。但是,你可能想要更进一步,实际实现该语言。你的规范变成了可执行代码。 + +  在你编写完应用之后,用户给了你一项新需求:不应存储余额为负的交易,而应以原来的格式在X.25线路上发送回去: + + From X25LINE1 (Format=ABC123) { + + if (ABC123.balance < 0) { + + Put X25LINE1 (Format=ABC123); + + } + + else { + + Put TELSTAR1 (Format=XYZ43B); + + Store DB; + + } + + } + +  很容易,不是吗?有了适当的支持,你可以用大大接近应用领域的方式进行编程。我们并不是在建议让你的最终用户用这些语言实际编程。相反,你给了自己一个工具,能够让你更靠近他们的领域工作。 + + +提示17: +Program Close to the Problem domain +靠近问题领域编程 + + +  无论是用于配置和控制应用程序的简单语言,还是用于指定规则或过程的更为复杂的语言,我们认为,你都应该考虑让你的项目更靠近问题领域。通过在更高的抽象层面上编码,你获得了专心解决领域问题的自由,并且可以忽略琐碎的实现细节。 + +  记住,应用有许多用户。有最终用户,他们了解商业规则和所需输出;也有次级用户:操作人员、配置与测试管理人员、支持与维护程序员,还有将来的开发者。他们都有各自的问题领域,而你可以为他们所有人生成小型环境和语言。 + +具体领域的错误 + +  如果你是在问题领域中编写程序,你也可以通过用户可以理解的术语进行具体领域的验证,或是报告问题。以上一页我们的交换应用为例,假定用户拼错了格式名: + + From X25LINE1 (Format=AB123) + +  如果这发生在某种标准的、通用的编程语言中,你可能会收到一条标准的、通用的错误消息: + + Syntax error: undeclared identifier + +  但使用小型语言,你却能够使用该领域的语汇发出错误消息: + + "AB123" is not a format. known formats are ABC123, + + XYZ43B, PDQB, and 42. + + +实现小型语言 + +  在最简单的情况下,小型语言可以采用面向行的、易于解析的格式。在实践中,与其他任何格式相比,我们很可能会更多地使用这样的格式。只要使用switch语句、或是使用像Perl这样的脚本语言中的正则表达式,就能够对其进行解析。281页上练习5的解答给出了一种用C编写的简单实现。 + +  你还可以用更为正式的语法,实现更为复杂的语言。这里的诀窍是首先使用像BNF这样的表示法定义语法。一旦规定了文法,要将其转换为解析器生成器(parser generator)的输入语法通常就非常简单了。C和C++程序员多年来一直在使用yacc(或其可自由获取的实现,bison[URL 27])。在Lex and Yacc[LMB92]一书中详细地讲述了这些程序。Java程序员可以选用javaCC,可在[URL 26]处获取该程序。282页上练习7的解答给出了一个用bison编写的解析器。如其所示,一旦你了解了语法,编写简单的小型语言实在没有多少工作要做。 + +  要实现小型语言还有另一种途径:扩展已有的语言。例如,你可以把应用级功能与Python[URL 9]集成在一起,编写像这样的代码: + + record = X25LINE1.get(format=ABC123) + + if (lance < 0): + + X25LINE1.put(record, format=ABC123) + + else: + + TELSTAR1.put(record, format=XYZ43B) + + DB.store(record) + +数据语言与命令语言 + +  可以通过两种不同的方式使用你实现的语言。 + +  数据语言产生某种形式的数据结构给应用使用。这些语言常用于表示配置信息。 + +  例如,sendmail程序在世界各地被用于在Internet上转发电子邮件。它具有许多杰出的特性和优点,由一个上千行的配置文件控制,用sendmail自己的配置语言编写: + + Mlocal, P=/usr/bin/procmail, + + F=lsDFMAw5 :/|@qSPfhn9, + + S=10/30, R=20/40, + + T=DNS/RFC822/X-Unix, + + A=procmail -Y -a $h -d $u + +  显然,可读性不是sendmail的强项。 + +  多年以来,Microsoft一直在使用一种可以描述菜单、widget(窗口小部件)、对话框及其他Windows资源的数据语言。下一页上的图2.2摘录了一段典型的资源文件。这比sendmail的配置文件要易读得多,但其使用方式却完全一样——我们编译它,以生成数据结构。 + +  命令语言更进了一步。在这种情况下,语言被实际执行,所以可以包含语句、控制结构、以及类似的东西(比如58页上的脚本)。 + + +图2.2 Windows .rc文件 + + +  你也可以使用自己的命令语言来使程序易于维护。例如,也许用户要求你把来自某个遗留应用的信息集成进你的新GUI开发中。要完成这一任务,常用的方法是“刮屏”(screen scraping):你的应用连接到主机应用,就好像它是正常的使用人员;发出键击,并“阅读”取回的响应。你可以使用一种小型语言来把这样的交互编写成脚本: + + locate prompt "SSN:" + + type "%s" social_security_number + + type enter + + waitfor keyboardunlock + + if text_at(10,14) is "INVALID SSN" return bad_ssn + + if text_at(10,14) is "DUPLICATE SSN" return dup_ssn + + # etc... + + 当应用确定是时候输入社会保障号时,它调用解释器执行这个脚本,后者随即对事务进行控制。如果解释器是嵌入在应用中的,两者甚至可以直接共享数据(例如,通过回调机制)。 + +  这里你是在维护程序员(maintenace programmer)的领域中编程。当主机应用发生变化、字段移往别处时,程序员只需更新你的高级描述,而不用钻入C代码的各种细节中。 + +独立语言与嵌入式语言 + +  要发挥作用,小型语言无须由应用直接使用。许多时候,我们可以使用规范语言创建各种由程序自身编译、读入或用于其他用途的制品(包括元数据。参见元程序设计,144页)。 + +  例如,在100页我们将描述一个系统,在其中我们使用Perl、根据原始的schema规范生成大量衍生物。我们发明了一种用于表示数据库schema的通用语言,然后生成我们所需的所有形式——SQL、C、网页、XML,等等。应用不直接使用规范,但它依赖于根据规范产生的输出。 + +  把高级命令语言直接嵌入你的应用是一种常见做法,这样,它们就会在你的代码运行时执行。这显然是一种强大的能力;通过改变应用读取的脚本,你可以改变应用的行为,却完全不用编译。这可以显著地简化动态的应用领域中的维护工作。 + +易于开发还是易于维护 + +  我们已经看到若干不同的文法,范围从简单的面向行的格式到更为复杂的、看起来像真正的语言的文法。既然实现更为复杂的文法需要额外的努力,你又为何要这样做呢? + +  权衡要素是可扩展性与维护。尽管解析“真正的”语言所需的代码可能更难编写,但它却容易被人理解得多,并且将来用新特性和新功能进行扩展也要容易得多。太简单的语言也许容易解析,但却可能晦涩难懂——很像是60页上的sendmail例子。 + +  考虑到大多数应用都会超过预期的使用期限,你可能最好咬紧牙关,先就采用更复杂、可读性更好的语言。最初的努力将在降低支持与维护费用方面得到许多倍的回报。 + + +相关内容: +l 元程序设计,144页 + +挑战: +l 你目前的项目的某些需求是否能以具体领域的语言表示?是否有可能编写编译器或转译器,生成大多数所需代码? +l 如果你决定采用小型语言作为更接近问题领域的编程方式,你就是接受了,实现它们需要一些努力。你能否找到一些途径,通过它们把你为某个项目开发的框架复用于其他项目? + +练习: +5. 我们想实现一种小型语言,用于控制一种简单的绘图包(或许是一种“海龟图形”(turtle-graphics)系统)。这种语言由单字母命令组成。有些命令后跟单个数字。例如,下面的输入将会绘制出一个矩形: + + P 2 # select pen 2 + + D # pen down + + W 2 # draw west 2cm + + N 1 # then north 1 + + E 2 # then east 2 + + S 1 # then back south + + U # pen up + +  请实现解析这种语言的代码。它应该被设计成能简单地增加新命令。(解答在281页) + +6. 设计一种解析时间规范的BNF文法。应能接受下面的所有例子:(解答在282页) + + 4pm, 7:38pm, 23:42, 3:16, 3:16am + +7. 用yacc、bison或类似的解析器生成器为练习6中的BNF文法实现解析器。(解答在282页) + +8. 用Perl实现时间解析器(提示:正则表达式可带来好的解析器)。(解答在283页) + + + + + +13 估算 + +  快!通过56k modem线发送《战争与和平》需要多少时间?存储一百万个姓名与地址需要多少磁盘空间?1 000字节的数据块通过路由器需要多少时间?交付你的项目需要多少个月? + +  在某种程度上,这些都是没有意义的问题——它们都缺少信息。然而它们仍然可以得到回答,只要你习惯于进行估算。同时,在进行估算的过程中,你将会加深对你的程序所处的世界的理解。 + +  通过学习估算,并将此技能发展到你对事物的数量级有直觉的程度,你就能展现出一种魔法般的能力,确定它们的可行性。当有人说“我们将通过ISDN线路把备份发给中央站点”时,你将能够直觉地知道那是否实际。当你编码时,你将能够知道哪些子系统需要优化,哪些可以放在一边。 + + +提示18: +Estimate to Avoid Surprises +估算,以避免发生意外 + + +  作为奖励,在这一节的末尾我们将透露一个总是正确的答案——无论什么时候有人要你进行估算,你都可以给出答案。 + +多准确才足够准确 + +  在某种程度上,所有的解答都是估算。只不过有一些要比其他的更准确。所以当有人要你进行估算时,你要问自己的第一个问题就是,你解答问题的语境是什么?他们是需要高度的准确性,还是在考虑棒球场的大小? +l 如果你的奶奶问你何时抵达,她也许只是想知道该给你准备午餐还是晚餐。而一个困在水下、空气就快用光的潜水员很可能对精确到秒的答案更感兴趣。 +l p的值是多少?如果你想知道的是要买多少饰边,才能把一个圆形花坛围起来,那么“3”很可能就足够好了。如果你在学校里,那么“22/7”也许就是一个好的近似值。如果你在NASA(美国国家航空航天管理局),那么也许要12个小数位。 + +  关于估算,一件有趣的事情是,你使用的单位会对结果的解读造成影响。如果你说,某事需要130个工作日,那么大家会期望它在相当接近的时间里完成。但是,如果你说“哦,大概要六个月”,那么大家知道它会在从现在开始的五到七个月内完成。这两个数字表示相同的时长,但“130天”却可能暗含了比你的感觉更高的精确程度。我们建议你这样度量时间估算: + + +时长 + 报出估算的单位 + +1-15天 + 天 + +3-8周 + 周 + +8-30周 + 月 + +30+周 + 在给出估算前努力思考一下 + +  于是,在完成了所有必要的工作之后,你确定项目将需要125个工作日(25周),你可以给出“大约六个月”的估算。 + +  同样的概念适用于对任何数量的估算:要选择能反映你想要传达的精确度的单位。 + + + + + +13 估算(2) + +估算来自哪里 + +  所有的估算都以问题的模型为基础。但在我们过深地卷入建模技术之前,我们必须先提及一个基本的估算诀窍,它总能给出好的答案:去问已经做过这件事情的人。在你一头钻进建模之前,仔细在周围找找也曾处在类似情况下的人。 + +  看看他们的问题是怎么解决的。你不大可能找到完全相符的案例,但你会惊奇有多少次,你能够成功地借鉴他人的经验。 + + +理解提问内容 + +  任何估算练习的第一步都是建立对提问内容的理解。除了上面讨论的精确度问题以外,你还需要把握问题域的范围。这常常隐含在问题中,但你需要养成在开始猜想之前先思考范围的习惯。常常,你选择的范围将形成你给出的解答的一部分:“假定没有交通意外,而且车里还有汽油,我会在20分钟内赶到那里。” + + +建立系统的模型 + +  这是估算有趣的部分。根据你对所提问题的理解,建立粗略、就绪的思维模型骨架。如果你是在估算响应时间,你的模型也许要涉及服务器和某种到达流量(arriving traffic)。对于一个项目,模型可以是你的组织在开发过程中所用的步骤、以及系统的实现方式的非常粗略的图景。 + +  建模既可以是创造性的,又可以是长期有用的。在建模的过程中,你常常会发现一些在表面上不明显的底层模式与过程。你甚至可能会想要重新检查原来的问题:“你要求对做X所需的时间进行估算。但好像X的变种Y只需一半时间就能完成,而你只会损失一个特性。” + +  建模把不精确性引入了估算过程中。这是不可避免的,而且也是有益的。你是在用模型的简单性与精确性做交易。使花在模型上的努力加倍也许只能带来精确性的轻微提高。你的经验将告诉你何时停止提炼。 + + +把模型分解为组件 + +  一旦拥有了模型,你可以把它分解为组件。你须要找出描述这些组件怎样交互的数学规则。有时某个组件会提供一个值,加入到结果中。有些组件有着成倍的影响,而另一些可能会更为复杂(比如那些模拟某个节点上的到达流量的组件)。 + +  你将会发现,在典型情况下,每个组件都有一些参数,会对它给整个模型带来什么造成影响。在这一阶段,只要确定每个参数就行了。 + + +给每个参数指定值 + +  一旦你分解出各个参数,你就可以逐一给每个参数赋值。在这个步骤中你可能会引入一些错误。诀窍是找出哪些参数对结果的影响最大,并致力于让它们大致正确。在典型情况下,其值被直接加入结果的参数,没有被乘或除的那些参数重要。让线路速度加倍可以让1小时内接收的数据量加倍,而增加5毫秒的传输延迟不会有显著的效果。 + +  你应该采用一种合理的方式计算这些关键参数。对于排队的例子,你可以测量现有系统的实际事务到达率,或是找一个类似的系统进行测量。与此类似,你可以测量现在服务1个请求所花的时间,或是使用这一节描述的技术进行估算。事实上,你常常会发现自己以其他子估算为基础进行估算。这是最大的错误伺机溜进来的地方。 + + +计算答案 + +  只有在最简单的情况下估算才有单一的答案。你也许会高兴地说:“我能在15分钟内走完五个街区。”但是,当系统变得更为复杂时,你就会避免做出正面回答。进行多次计算,改变关键参数的值,直到你找出真正主导模型的那些参数。电子表格可以有很大帮助。然后根据这些参数表述你的答案。“如果系统拥有SCSI总线和64MB内存,响应时间约为四分之三秒;如果内存是48MB,则响应时间约为一秒。”(注意“四分之三秒”怎样给人以一种与750毫秒不同的精确感。) + +  在计算阶段,你可能会得到看起来很奇怪的答案。不要太快放弃它们。如果你的运算是正确的,那你对问题或模型的理解就很可能是错的。这是非常宝贵的信息。 + + +追踪你的估算能力 + +  我们认为,记录你的估算,从而让你看到自己接近正确答案的程度,这是一个非常好的主意。如果总体估算涉及子估算的计算,那么也要追踪这些子估算。你常常会发现自己估算得非常好——事实上,一段时间之后,你就会开始期待这样的事情。 + +  如果结果证明估算错了,不要只是耸耸肩走开。找出事情为何与你的猜想不同的原因。也许你选择了与问题的实际情况不符的一些参数。也许你的模型是错的。不管原因是什么,花一点时间揭开所发生的事情。如果你这样做了,你的下一次估算就会更好。 + + +估算项目进度 + +  在面对相当大的应用开发的各种复杂问题与反复无常的情况时,普通的估算规则可能会失效。我们发现,为项目确定进度表的惟一途径常常是在相同的项目上获取经验。如果你实行增量开发、重复下面的步骤,这不一定就是一个悖论: +l 检查需求 +l 分析风险 +l 设计、实现、集成 +l 向用户确认 + +  一开始,你对需要多少次迭代、或是需要多少时间,也许只有模糊的概念。有些方法要求你把这个作为初始计划的一部分定下来,但除了最微不足道的项目,这是一个错误。除非你在开发与前一个应用类似的应用,拥有同样的团队和同样的技术,否则,你就只不过是在猜想。 + +  于是你完成了初始功能的编码与测试,并将此标记为第一轮增量开发的结束。基于这样的经验,你可以提炼你原来对迭代次数、以及在每次迭代中可以包含的内容的猜想。提炼会变得一次比一次好,对进度表的信心也将随之增长。 + + +提示19: +Iterate the Schedule with the Code +通过代码对进度表进行迭代 + + +  这也许并不会受到管理部门的欢迎,在典型情况下,他们想要的是单一的、必须遵守的数字——甚至是在项目开始之前。你必须帮助他们了解团队、团队的生产率、还有环境将决定进度。通过使其形式化,并把改进进度表作为每次迭代的一部分,你将给予他们你所能给予的最精确的进度估算。 + + +在被要求进行估算时说什么 + +  你说:“我等会儿回答你。” + +  如果你放慢估算的速度,并花一点时间仔细检查我们在这一节描述的步骤,你几乎总能得到更好的结果。在咖啡机旁给出的估算将(像咖啡一样)回来纠缠你。 + + +相关内容: +l 算法速度,177页 + +挑战: +l 开始写估算日志。追踪每一次估算的精确程度。如果你的错误率大于50%,设法找出你的估算误入歧途的地方。 + +练习: +9. 有人问你:“1Mbps的通信线路和在口袋里装了4GB磁带、在两台计算机间步行的人,哪一个的带宽更高?”你要对你的答案附加什么约束,以确保你的答复的范围是正确的?(例如,你可以说,访问磁带所花时间忽略不计。) (解答在283页) +10. 那么,哪一个带宽更高? (解答在284页) + + + + + +14 纯文本的威力 + +  每个工匠在开始其职业生涯时,都会准备一套品质良好的基本工具。木匠可能需要尺、计量器、几把锯子、几把好刨子、精良的凿子、钻孔器和夹子、锤子还有钳子。这些工具将经过认真挑选、打造得坚固耐用、并用于完成很少与其他工具重合的特定工作,而且,也许最重要的是,刚刚出道的木匠把它们拿在手里会觉得很顺手。 + +  随后学习与适应的过程就开始了。每样工具都有自身的特性和古怪之处,并且需要得到相应的特殊对待。每样工具都需要以独特的方式进行打磨,或者以独特的方式把持。随着时间的过去,每样工具都会因使用而磨损,直到手柄看上去就像是木匠双手的模子,而切割面与握持工具的角度完全吻合。到这时,工具变成了工匠的头脑与所完成的产品之间的通道——它们变成了工匠双手的延伸。木匠将不时增添新的工具,比如饼式切坯机、激光制导斜切锯、楔形模具——全都是奇妙的技术,但你可以肯定的是,当他把原来的某样工具拿在手里,当他听到刨子滑过木料发出的歌声时,那是他最高兴的时候。 + +  工具放大你的才干。你的工具越好,你越是能更好地掌握它们的用法,你的生产力就越高。从一套基本的通用工具开始,随着经验的获得,随着你遇到一些特殊需求,你将会在其中增添新的工具。要与工匠一样,想着定期增添工具。要总是寻找更好的做事方式。如果你遇到某种情况,你觉得现有的工具不能解决问题,记得去寻找可能会有帮助的其他工具或更强大的工具。 + + +让需要驱动你的采购。 + +  许多新程序员都会犯下错误,采用单一的强力工具,比如特定的集成开发环境(IDE),而且再也不离开其舒适的界面。这实在是个错误。我们要乐于超越IDE所施加的各种限制。要做到这一点,惟一的途径是保持基本工具集的“锋利”与就绪。 + +  在本章我们将讨论怎样为你自己的基本工具箱投资。与关于工具的任何好的讨论一样,我们将从考察你的原材料——你将要制作的东西——开始(在“纯文本的威力”中)。然后我们将从那里转向工作台(workbench),在我们的工作范围也就是计算机。要怎样使用计算机,你才能最大限度地利用你所用的工具?我们将在shell游戏中讨论这一问题。现在我们有了工作所需的材料及工作台,我们将转向一样你可能用得最频繁的工具:你的编辑器。在强力编辑中,我们将提出多种让你更有效率的途径。 + +  为了确保不会丢失先前的任何工作成果,我们应该总是使用源码控制系统——即使是像我们的个人地址簿这样的东西!同时,因为Murphy先生实在是一个乐观主义者,如果你没有高超的调试技能,你就不可能成为了不起的程序员。 + +  你需要一些“胶合剂”,把大量魔术“粘”在一起。我们将在文本操纵中讨论一些可能的方案,比如awk、Perl以及Python。 + +  就如同木匠有时会制作模具,用以控制复杂工件的打造一样,程序员也可以编写自身能编写代码的代码。我们将在“代码生成器”中讨论这一问题。 + +  花时间学习使用这些工具,有一天你将会惊奇地发现,你的手指在键盘上移动,操纵文本,却不用进行有意识的思考。工具将变成你的双手的延伸。 + + +纯文本的威力 + +  作为注重实效的程序员,我们的基本材料不是木头,不是铁,而是知识。我们搜集需求,将其变为知识,随后又在我们的设计、实现、测试、以及文档中表达这些知识。而且我们相信,持久地存储知识的最佳格式是纯文本。通过纯文本,我们给予了自己既能以手工方式、也能以程序方式操纵知识的能力——实际上可以随意使用每一样工具。 + + +什么是纯文本 + +  纯文本由可打印字符组成,人可以直接阅读和理解其形式。例如,尽管下面的片段由可打印字符组成,它却是无意义的: + +Fieldl9=467abe + +  阅读者不知道467abe的含义是什么。更好的选择是让其变得能让人理解: + +DrawingType=UMLActivityDrawing + +  纯文本并非意味着文本是无结构的;XML、SGML和HTML都是有良好定义的结构的纯文本的好例子。通过纯文本,你可以做你通过某种二进制格式所能做的每件事情,其中包括版本管理。 + +  与直接的二进制编码相比,纯文本所处的层面往往更高;前者通常直接源自实现。假定你想要存储叫做uses_menus的属性,其值既可为TRUE,也可为FALSE。使用纯文本,你可以将其写为: + +es_menus=FALSE + +  把它与0010010101110101对比一下。 + +  大多数二进制格式的问题在于,理解数据所必需的语境与数据本身是分离的。你人为地使数据与其含义脱离开来。数据也可能加了密;没有应用逻辑对其进行解析,这些数据绝对没有意义。但是,通过纯文本,你可以获得自描述(self-describing)的、不依赖于创建它的应用的数据流。 + + +提示20: +Keep Knowledge in Plain Text +用纯文本保存知识 + + +缺点 + +  使用纯文本有两个主要缺点:(1)与压缩的二进制格式相比,存储纯文本所需空间更多,(2)要解释及处理纯文本文件,计算上的代价可能更昂贵。 + +  取决于你的应用,这两种情况或其中之一可能让人无法接受——例如,在存储卫星遥测数据时,或是用做关系数据库的内部格式时。 + +  但即使是在这些情况下,用纯文本存储关于原始数据的元数据也可能是可以接受的(参见“元程序设计”,144页)。 + +  有些开发者可能会担心,用纯文本存储元数据,是在把这些数据暴露给系统的用户。这种担心放错了地方。与纯文本相比,二进制数据也许更晦涩难懂,但却并非更安全。如果你担心用户看到密码,就进行加密。如果你不想让他们改变配置参数,就在文件中包含所有参数值的安全哈希值作作为校验和。 + + +文本的威力 + +  既然更大和更慢不是用户最想要的特性,为什么还要使用纯文本?好处是什么? +l 保证不过时 +l 杠杆作用 +l 更易于测试 + + +保证不过时 + +  人能够阅读的数据形式,以及自描述的数据,将比所有其他的数据形式和创建它们的应用都活得更长久。句号。 + +  只要数据还存在,你就有机会使用它——也许是在原来创建它的应用已经不存在很久之后。 + +  只需部分地了解其格式,你就可以解析这样的文件;而对于大多数二进制文件,要成功地进行解析,你必须了解整个格式的所有细节。 + +  考虑一个来自某遗留系统的数据文件。关于原来的应用你的了解很少;对你来说最要紧的是它保存了客户的社会保障号列表,你需要找出这些保障号,并将其提取出来。在数据文件中,你看到: + + 123-45-6789 + + ... + + 567-89-0123 + + ... + + 901-23-4567 + +  识别出了社会保障号的格式,你可以很快写一个小程序提取该数据——即使你没有关于文件中其他任何东西的信息。 + +  但设想一下,如果该文件的格式是这样的: + + AC27123456789B11P + + ... + + XY43567890123QTYL + + ... + + 6T2190123456788AM + +  你可能就不会那么轻松地识别出这些数字的含义了。这是人能够阅读(human readable)与人能够理解(human understandable)之间的区别。 + +  在我们进行解析时,FIELD10的帮助也不大。改成 + + 123-45-6789 + +就会让这个练习变得一点也不费脑子——而且这些数据保证会比创建它的任何项目都活得更长久。 + + +杠杆作用 + +  实际上,计算世界中的每一样工具,从源码管理系统到编译器环境,再到编辑器及独立的过滤器,都能够在纯文本上进行操作。 + + +Unix哲学 + +  提供“锋利”的小工具、其中每一样都意在把一件事情做好——Unix因围绕这样的哲学进行设计而著称。这一哲学通过使用公共的底层格式得以实行:面向行的纯文本文件。用于系统管理(用户及密码、网络配置,等等)的数据库全都作为纯文本文件保存(有些系统,比如Solaris,为了优化性能,还维护有特定数据的二进制形式。纯文本版本保留用作通往二进制版本的接口)。 + +  当系统崩溃时,你可能需要通过最小限度的环境进行恢复(例如,你可能无法访问图形驱动程序)。像这样的情形,实在可以让你欣赏到纯文本的简单性。 + + +  例如,假定你要对一个大型应用进行产品部署,该应用具有复杂的针对具体现场的配置文件(我们想到sendmail)。如果该文件是纯文本格式的,你可以把它置于源码控制系统的管理之下(参见源码控制,86页),这样你就可以自动保存所有改动的历史。像diff和fc这样的文件比较工具允许你查看做了哪些改动,而sum允许你生成校验和,用以监视文件是否受到了偶然的(或恶意的)修改。 + + +更易于测试 + +  如果你用纯文本创建用于驱动系统测试的合成数据,那么增加、更新、或是修改测试数据就是一件简单的事情,而且无须为此创建任何特殊工具。与此类似,你可以非常轻松地分析回归测试(regression test)输出的纯文本,或通过Perl、Python及其他脚本工具进行更为全面彻底的检查。 + + +最小公分母 + +  即使在未来,基于XML的智能代理已能自治地穿越混乱、危险的Internet、自行协商数据交换,无处不在的纯文本也仍然会存在。事实上,在异种环境中,纯文本的优点比其所有的缺点都重要。你需要确保所有各方能够使用公共标准进行通信。纯文本就是那个标准。 + + +相关内容: +l 源码控制,86页 +l 代码生成器,102页 +l 元程序设计,144页 +l 黑板,165页 +l 无处不在的自动化,230页 +l 全都是写,248页 + +挑战: +l 使用你喜欢的语言,用直接的二进制表示设计一个小地址簿数据库(姓名、电话号码,等等)。完成以后再继续往下读。 +1. 把该格式转换成使用XML的纯文本格式。 +2. 在这两个版本中,增加一个新的、叫做方向的变长字段,在其中你可以输入每个人的住宅所在的方向。 + +  在版本管理与可扩展性方面会遇到什么问题?哪种形式更易于修改?转换已有的数据呢? + + + + + +15 shell游戏 + +  每个木匠都需要好用、坚固、可靠的工作台,用以在加工工件时把工件放置在方便的高度上。工作台成为木工房的中心,随着工件的成形,木匠会一次次回到工作台的近旁。 + +  对于操纵文本文件的程序员,工作台就是命令shell。在shell提示下,你可以调用你的全套工具,并使用管道、以这些工具原来的开发者从未想过的方式把它们组合在一起。在shell下,你可以启动应用、调试器、浏览器、编辑器以及各种实用程序。你可以搜索文件、查询系统状态、过滤输出。通过对shell进行编程,你可以构建复杂的宏命令,用来完成你经常进行的各种活动。 + +  对于在GUI界面和集成开发环境(IDE)上成长起来的程序员,这似乎显得很极端。毕竟,用鼠标指指点点,你不是也同样能把这些事情做好吗? + +  简单的回答:“不能”。GUI界面很奇妙,对于某些简单操作,它们也可能更快、更方便。移动文件、阅读MIME编码的电子邮件以及写信,这都是你可能想要在图形环境中完成的事情。但如果你使用GUI完成所有的工作,你就会错过你的环境的某些能力。你将无法使常见任务自动化,或是利用各种可用工具的全部力量。同时,你也将无法组合你的各种工具,创建定制的宏工具。GUI的好处是WYSIWYG——所见即所得(what you see is what you get)。缺点是WYSIAYG——所见即全部所得(what you see is all you get)。 + +  GUI环境通常受限于它们的设计者想要提供的能力。如果你需要超越设计者提供的模型,你大概不会那么走运——而且很多时候,你确实需要超越这些模型。注重实效的程序员并非只是剪切代码、或是开发对象模型、或是撰写文档、或是使构建过程自动化——所有这些事情我们全都要做。通常,任何一样工具的适用范围都局限于该工具预期要完成的任务。例如,假定你需要把代码预处理器集成进你的IDE中(为了实现按合约设计、多处理编译指示,等等)。除非IDE的设计者明确地为这种能力提供了挂钩,否则,你无法做到这一点。 + +  你也许已经习惯于在命令提示下工作,在这种情况下,你可以放心地跳过这一节。否则,你也许还需要我们向你证明,shell是你的朋友。 + +  作为注重实效的程序员,你不断地想要执行特别的操作——GUI可能不支持的操作。当你想要快速地组合一些命令,以完成一次查询或某种其他的任务时,命令行要更为适宜。这里有一些例子: + +找出修改日期比你的Makefile的修改日期更近的全部.c文件。 + +Shell + find . -name ' *.c' –newer Makefile –print + +GUI + 打开资源管理器,转到正确的目录,点击Makefile,记下修改时间。然后调出 “工具/查找”,在指定文件处输入*.c。选择“日期”选项卡,在第一个日期字段中输入你记下的Makefile的日期。然后点击“确定”。 + + +构造我的源码的zip/tar存档文件。 + +Shell + zip p *.h *.c 或 tar cvf r *.h *.c + +GUI + 调出ZIP实用程序(比如共享软件WinZip[URL 41]),选择[创建新存档文件],输入它的名称,在“增加”对话框中选择源目录,把过滤器设置为“*.c”,点击“增加”,把过滤器设置为“*.h”,点击“增加”,然后关闭存档文件。 + + +在上周哪些Java文件没有改动过? + +Shell + find . -name '*.java' -mtime +7 –print + +GUI + 点击并转到“查找文件”,点击“文件名”字段,敲入“*.java”,选择“修改日期”选项卡。然后选择“介于”。点击“开始日期”,敲入项目开始的日期。点击“结束日期”,敲入1周以前的日期(确保手边有日历)。点击“开始查找”。 + +上面的文件中,哪些使用了awt库? + + +Shell + find . -name '*.java' -mtime +7 -print | xargs grep 't' + +GUI + 把前面的例子列出的各个文件装入编辑器,搜索字符串“Jt”。把含有该字符串的文件的名字写下来。 + + +  显然,这样的例子还可以一直举下去。shell命令可能很晦涩,或是太简略,但却很强大,也很简练。同时,因为shell命令可被组合进脚本文件(或是Windows下的命令文件)中,你可以构建命令序列,使你常做的事情自动化。 + + +提示21: +Use the Power of Command Shells +利用命令shell的力量 + + +  去熟悉shell,你会发现自己的生产率迅速提高。需要创建你的Java代码显式导入的全部软件包的列表(重复的只列出一次)?下面的命令将其存储在叫做“list”的文件中: + + grep '^import ' *.java | + + sed -e's/.*import *//' -e's/;.*$//' | + + sort -u >list + +  如果你没有花大量时间研究过你所用系统上的命令shell的各种能力,这样的命令会显得很吓人。但是,投入一些精力去熟悉你的shell,事情很快就会变得清楚起来。多使用你的命令shell,你会惊讶它能使你的生产率得到怎样的提高。 + + +shell实用程序与Windows系统 + +  尽管随Windows系统提供的命令shell在逐步改进,Windows命令行实用程序仍然不如对应的Unix实用程序。但是,并非一切都已无可挽回。 + +  Cygnus Solutions公司有一个叫做Cygwin[URL 31]的软件包。除了为Windows提供Unix兼容层以外,Cygwin还带有120多个Unix实用程序,包括像ls、grep和find这样的很受欢迎的程序。你可以自由下载并使用这些实用程序和库,但一定要阅读它们的许可。随同Cygwin发布的还有Bash shell。 + + +在Windows下使用Unix工具 + +  在Windows下有高质量的Unix工具可用,这让我们很高兴;我们每天都使用它们。但是,要注意存在一些集成问题。与对应的MS-DOS工具不同,这些实用程序对文件名的大小写敏感,所以ls a*.bat不会找到AUTOEXEC.BAT。你还可能遇到含有空格的文件名、或是路径分隔符不同所带来的问题。最后,在Unix shell下运行需要MS-DOS风格的参数的MS-DOS程序时,会发生一些有趣的问题。例如,在Unix下,来自JavaSoft的Java实用程序使用冒号作为CLASSPATH分隔符,而在MS-DOS下使用的却是分号。结果,运行在Unix机器上的Bash或ksh脚本在Windows下也同样能运行,但它传给Java的命令行却会被错误地解释。 + + +  另外,David Korn(因Korn shell而闻名)制作了一个叫做UWIN的软件包。其目标与Cygwin相同——它是Windows下的Unix开发环境。UWIN带有Korn shell的一个版本。也可从Global Technologies, Ltd.[URL 30]获取商业版本。此外,AT&T提供了该软件包的自由下载版本,用于评估和学术研究。再次说明,在使用之前要先阅读它们的许可。 + +  最后,Tom Christiansen(在本书撰写的同时)正在制作Perl Power Tools,尝试用Perl可移植地实现所有常见的Unix实用程序[URL 32]。 + + +相关内容: +l 无处不在的自动化,230页 + +挑战: +l 你目前是否在GUI中用手工做一些事情?你是否曾将一些说明发给同事,其中涉及许多“点这个按钮”、“选哪一项”之类的步骤?它们能自动化吗? +l 每当你迁往新环境时,要找出可以使用的shell。看是否能把现在使用的shell带过去。 +l 调查各种可用于替换你现在的shell的选择。如果你遇到你的shell无法处理的问题,看其他shell是否能更好地应对。 + + + + + + +16 强力编辑 + +  先前我们说过,工具是手的延伸。噢,与任何其他软件工具相比,这都更适用于编辑器。你需要能尽可能不费力气地操纵文本,因为文本是编程的基本原材料。让我们来看一些能帮助你最大限度地利用编辑环境的一些常见特性和功能。 + + +一种编辑器 + +  我们认为你最好是精通一种编辑器,并将其用于所有编辑任务:代码、文档、备忘录、系统管理,等等。如果不坚持使用一种编辑器,你就可能会面临现代的巴别塔大混乱。你可能必须用每种语言的IDE内建的编辑器进行编码,用“all-in-one”办公软件编辑文档,或是用另一种内建的编辑器发送电子邮件。甚至你用于在shell中编辑命令行的键击都有可能不同。如果你在每种环境中有不同的编辑约定和命令,要精通这些环境中的任何一种都会很困难。 + +  你需要的是精通。只是依次输入、并使用鼠标进行剪贴是不够的。那样,在你的手中有了一个强大的编辑器,你却无法发挥出它的效能。敲击十次<-或BACKSPACE,把光标左移到行首,不会像敲击一次^A、Home或0那样高效。 + + +提示22: +Use a Single Editor Well +用好一种编辑器 + + +  选一种编辑器,彻底了解它,并将其用于所有的编辑任务。如果你用一种编辑器(或一组键绑定)进行所有的文本编辑活动,你就不必停下来思考怎样完成文本操纵:必需的键击将成为本能反应。编辑器将成为你双手的延伸;键会在滑过文本和思想时歌唱起来。这就是我们的目标。 + +  确保你选择的编辑器能在你使用的所有平台上使用。Emacs、vi、CRiSP、Brief及其他一些编辑器可在多种平台上使用,并且常常既有GUI版本,也有非GUI(文本屏幕)版本。 + + +编辑器特性 + +  除了你认为特别有用、使用时特别舒适的特性之外,还有一些基本能力,我们认为每个像样的编辑器都应该具备。如果你的编辑器缺少其中的任何能力,那么你或许就应该考虑换一种更高级的编辑器了。 +l 可配置。编辑器的所有方面都应该能按你的偏好(preference)配置,包括字体、颜色、窗口尺寸以及键击绑定(什么键执行什么命令)。对于常见的编辑操作,与鼠标或菜单驱动的命令相比,只使用键击效率更高,因为你的手无须离开键盘。 +l 可扩展。编辑器不应该只因为出现了新的编程语言就变得过时。它应该能集成你在使用的任何编译器环境。你应该能把任何新语言或文本格式(XML、HTML第9版,等等)的各种细微差别“教”给它。 +l 可编程。你应该能对编辑器编程,让它执行复杂的、多步骤的任务。可以通过宏或内建的脚本编程语言(例如,Emacs使用了Lisp的一个变种)进行这样的编程。 + +此外,许多编辑器支持针对特定编程语言的特性,比如: +l 语法突显 +l 自动完成 +l 自动缩进 +l 初始代码或文档样板 +l 与帮助系统挂接 +l 类IDE特性(编译、调试,等等) + +  像语法突显这样的特性听起来也许像是无关紧要的附加物,但实际上却可能非常有用,而且还能提高你的生产率。一旦你习惯了看到关键字以不同的颜色或字体出现,远在你启动编译器之前,没有以那样的方式出现的、敲错的关键字就会在你面前跳出来。 + +  对于大型项目,能够在编辑器环境中进行编译、并直接转到出错处非常方便。Emacs特别擅长进行这种方式的交互。 + + +生产率 + +  我们遇到的用Windows notepad编辑源码的人数量惊人。这就像是把茶匙当做铁锹——只是敲键和使用基本的基于鼠标的剪贴是不够的。 + +  有什么样的事情需要你做,你却无法以这样的方式做到呢? + +  嗯,让我们以光标移动的例子作为开始。与重复击键、一个字符一个字符或一行一行移动相比,按一次键、就以词、行、块或函数为单位移动光标,效率要高得多。 + +  再假设你在编写Java代码。你想要按字母顺序排列import语句,而另外有人签入(check in)了一些文件,没有遵守这一标准(这听起来也许很极端,但在大型项目中,这可以让你节省大量时间,不用逐行检查一大堆import语句)。你想要快速地从头到尾检查一些文件,并对它们的一小部分区域进行排序。在像vi和Emacs这样的编辑器中,你可以很容易完成这样的任务(参见图3.1)。用notepad试试看! + + +图3.1 在编辑器中对文本行进行排序 + + +  有些编辑器能帮助你使常用操作流水线化。例如,当你创建特定语言的新文件时,编辑器可以为你提供模板。其中也许包括: +l 填好的类名或模块名(根据文件名派生) +l 你的姓名和/或版权声明 +l 该语言中的各种构造体(construct)的骨架(例如,构造器与析构器声明) + +  自动缩进是另一种有用的特性。你不必(使用空格或tab)进行手工缩进,编辑器会自动在适当的时候(例如,在敲入左花括号时)为你进行缩进。这一特性让人愉快的地方是,你可以用编辑器为你的项目提供一致的缩进风格[20]。 + + +然后做什么 + +  这种建议特别难写,因为实际上每个读者对他们所用编辑器的熟悉程度和相关经验都有所不同。那么,作为总结,并为下一步该做什么提出一些指导方针,在下面的左边一栏中找到与你的情况相符的情况,然后看右边一栏,看你应该做什么。 + +如果这听起来像你…… + 那么考虑…… + +我使用许多不同的编辑器,但只使用其基本特性。 + 选一种强大的编辑器,好好学习它。 + +我有最喜欢的编辑器,但不使用其全部特性。 + 学习它们。减少你需要敲击的键数。 + +我有最喜欢的编辑器,只要可能就使用它。 + 设法扩展它,并将其用于比现在更多的任务。 + +我认为你们在胡说。notepad就是有史以来最好的编辑器。 + 只要你愿意,并且生产率很高,那就这样吧!但如果你发现自己在“羡慕”别人的编辑器,你可能就需要重新评估自己的位置了。 + + +有哪些编辑器可用 + +  此前我们建议你掌握一种像样的编辑器,那么我们推荐哪种编辑器呢?嗯,我们要回避这个问题;你对编辑器的选择是一个个人问题(有人甚至会说这是个“信仰问题”!)。但是,在附录A(266页)中,我们列出了许多流行的编辑器和获取它们的途径。 + + +挑战: +l 有些编辑器使用完备的语言进行定制和脚本编写。例如,Emacs采用了Lisp。作为本年度你将学习的新语言之一,学习你的编辑器使用的语言。如果你发现自己在重复做任何事情,开发一套宏(或等价的东西)加以处理。 +l 你是否知道你的编辑器所能做的每一件事情?设法难倒使用同样的编辑器的同事。设法通过尽可能少的键击完成任何给定的编辑任务。 + + + + + +17 源码控制 + +进步远非由变化组成,而是取决于好记性。不能记住过去的人,被判重复过去。 +  ——George Santayana, Life of Reason + + +  我们在用户界面中找寻的一个重要的东西是UNDO键——一个能原谅我们的错误的按钮。如果环境支持多级撤消(undo)与重做(redo),那就更好了,这样你就可以回去,撤消几分钟前发生的事情。但如果错误发生在上周,而你那以后已经把计算机打开关闭了十次呢?噢,这是使用源码控制系统的诸多好处之一:它是一个巨大的UNDO键——一个项目级的时间机器,能够让你返回上周的那些太平日子,那时的代码还能够编译并运行。 + +  源码控制系统(或范围更宽泛的配置管理系统)追踪你在源码和文档中做出的每一项变动。 + + 更好的系统还能追踪编译器及OS版本。有了适当配置的源码控制系统,你就总能够返回你的软件的前一版本。 + +  但源码控制系统(SCCS)能做的远比撤消错误要多。好的SCCS让你追踪变动,回答这样的问题:谁改动了这一行代码?在当前版本与上周的版本之间有什么区别?在这次发布的版本中我们改动了多少行代码?哪个文件改动最频繁?对于bug追踪、审计、性能及质量等目的,这种信息非常宝贵。 + +  SCCS还能让你标识你的软件的各次发布。一经标识,你将总是能够返回并重新生成该版本,并且不受在其后发生的变动的影响。 + +  我们常常使用SCCS管理开发树中的分支。例如,一旦你发布了某个软件,你通常会想为下一次发布继续开发。与此同时,你也需要处理当前发布的版本中的bug,把修正后的版本发送给客户。(如果合适)你想要让这些bug修正合并进下一次发布中,但你不想把正在开发的代码发送给客户。通过SCCS,在每次生成一个发布版本时,你可以在开发树中生成分支。你把bug修正加到分支中的代码上,并在主干上继续开发。因为bug修正也可能与主干有关,有些系统允许你把选定的来自分支的变动自动合并回主干中。 + +  源码控制系统可能会把它们维护的文件保存在某个中央仓库(repository)中——这是进行存档的好候选地。 + +  最后,有些产品可能允许两个或更多用户同时在相同的文件集上工作,甚至在同一文件中同时做出改动。系统随后在文件被送回仓库时对这些改动进行合并。尽管看起来有风险,在实践中这样的系统在所有规模的项目上都工作良好。 + + +提示23: +Always Use Source Code Control +总是使用源码控制 + + +  总是。即使你的团队只有你一个人,你的项目只需一周时间;即使那是“用过就扔”的原型;即使你的工作对象并非源码;确保每样东西都处在源码控制之下——文档、电话号码表、给供应商的备忘录、makefile、构建与发布流程、烧制CD母盘的shell小脚本——每样东西。我们例行公事地对我们敲入的每一样东西进行源码控制(包括本书的文本)。即使我们不是在开发项目,我们的日常工作也被安全地保存在仓库中。 + + +源码控制与构建 + +  把整个项目置于源码控制系统的保护之下具有一项很大的、隐蔽的好处:你可以进行自动的和可重复的产品构建。 + +  项目构建机制可以自动从仓库中取出最近的源码。它可以在午夜运行,在每个人都(很可能)回家之后。你可以运行自动的回归测试,确保当日的编码没有造成任何破坏。构建的自动化保证了一致性——没有手工过程,而你也不需要开发者记住把代码拷贝进特殊的构建区域。 + +  构建是可重复的,因为你总是可以按照源码将给定日期的内容重新进行构建。 + + +但我们团队没有使用源码控制 + +  他们应该感到羞耻!听起来这是个“布道”的机会!但是,在等待他们看到光明的同时,也许你应该实施自己私人的源码控制。使用我们在附录A中列出的可自由获取的工具,并确保把你个人的工作安全地保存进仓库中(并且完成你的项目所要求的无论什么事情)。尽管这看起来像是重复劳动,我们几乎可以向你担保,在你须要回答像“你对xyz模块做了什么?”和“是什么破坏了构建?”这样的问题时,它将使你免受困扰(并为你的项目节省金钱)。这一方法也许还能有助于使你们的管理部门确信,源码控制确实行之有效。 + +  不要忘了,SCCS也同样适用于你在工作之外所做的事情。 + + +源码控制产品 + +  附录A(271页)给出了一些有代表性的源码控制系统的URL,有些是商业产品,有些可自由获取。还有许多其他的产品可用——你可以在配置管理FAQ中寻求建议。 + +相关内容: +l 正交性,34页 +l 纯文本的力量,73页 +l 全都是写,248页 + +挑战: +l 即使你无法在工作中使用SCCS,也要在个人的系统上安装RCS或CVS。用它管理你的“宠物项目”、你撰写的文档、以及(可能的)应用于计算机系统自身的配置变动。 +l 在Web上有些开放源码项目的存档对外公开(比如Mozilla[URL51]、KDE[URL54]、以及Gimp[URL55]),看一看这样的项目。你怎样获取源文件的更新?你怎样做出改动?——项目是否会对访问进行管制,或是对改动的并入进行裁决? + + + + + +18 调试 + +这是痛苦的事: +看着你自己的烦忧,并且知道 +不是别人、而是你自己一人所致 +  ——索福克勒斯:《埃阿斯》 + + +  自从14世纪以来,bug(虫子、臭虫)一词就一直被用于描述“恐怖的东西”。COBOL的发明者,海军少将Grace Hopper博士据信观察到了第一只计算机bug——真的是一只虫子,一只在早期计算机系统的继电器里抓到的蛾子。在被要求解释机器为何未按期望运转时,有一位技术人员报告说,“有一只虫子在系统里”,并且负责地把它——翅膀及其他所有部分——粘在了日志簿里。 + +  遗憾的是,在我们的系统里仍然有“bug”,虽然不是会飞的那种。但与以前相比,14世纪的含义——可怕的东西——现在也许更为适用。软件缺陷以各种各样的方式表现自己,从被误解的需求到编码错误。糟糕的是,现代计算机系统仍然局限于做你告诉它的事情,而不一定是你想要它做的事情。 + +  没有人能写出完美的软件,所以调试肯定要占用你大量时间。让我们来看一看调试所涉及的一些问题,以及一些用于找出难以捉摸的虫子的一般策略。 + + +调试的心理学 + +  对于许多开发者,调试本身是一个敏感、感性的话题。你可能会遇到抵赖、推诿、蹩脚的借口、甚或是无动于衷,而不是把它当做要解决的难题发起进攻。 + +  要接受事实:调试就是解决问题,要据此发起进攻。 + +  发现了他人的bug之后,你可以花费时间和精力去指责让人厌恶的肇事者。在有些工作环境中,这是文化的一部分,并且可能是“疏通剂”。但是,在技术竞技场上,你应该专注于修正问题,而不是发出指责。 + + +提示24: +Fix the Problem, Not the Blame +要修正问题,而不是发出指责 + + +  bug是你的过错还是别人的过错,并不是真的很有关系。它仍然是你的问题。 + + +调试的思维方式 + +最容易欺骗的人是一个人自己。 +  ——Edward Bulwer-Lytton, The Disowned + +  在你开始调试之前,选择恰当的思维方式十分重要。你须要关闭每天用于保护自我(ego)的许多防卫措施,忘掉你可能面临的任何项目压力,并让自己放松下来。最重要的是,记住调试的第一准则: + + +提示25: +Don’t Panic +不要恐慌 + + +  人很容易恐慌,特别是如果你正面临最后期限的到来、或是正在设法找出bug的原因,有一个神经质的老板或客户在你的脖子后面喘气。但非常重要的事情是,要后退一步,实际思考什么可能造成你认为表征了bug的那些症状。 + +  如果你目睹bug或见到bug报告时的第一反应是“那不可能”,你就完全错了。一个脑细胞都不要浪费在以“但那不可能发生”起头的思路上,因为很明显,那不仅可能,而且已经发生了。 + +  在调试时小心“近视”。要抵制只修正你看到的症状的急迫愿望:更有可能的情况是,实际的故障离你正在观察的地方可能还有几步远,并且可能涉及许多其他的相关事物。要总是设法找出问题的根源,而不只是问题的特定表现。 + + +从何处开始 + +  在开始查看bug之前,要确保你是在能够成功编译的代码上工作——没有警告。我们例行公事地把编译器警告级设得尽可能高。把时间浪费在设法找出编译器能够为你找出的问题上没有意义!我们需要专注于手上更困难的问题。 + +  在设法解决任何问题时,你需要搜集所有的相关数据。糟糕的是,bug报告不是精密科学。你很容易被巧合误导,而你不能承受把时间浪费在对巧合进行调试上。你首先需要在观察中做到准确。 + +  bug报告的准确性在经过第三方之手时会进一步降低——实际上你可能需要观察报告bug的用户的操作,以获取足够程度的细节。 + +  Andy曾经参与过一个大型图形应用的开发。快要发布时,测试人员报告说,每次他们用特定的画笔画线,应用都会崩溃。负责该应用的程序员争辩说,这个画笔没有任何问题;他试过用它绘图,它工作得很好。几天里这样的对话来回进行,大家的情绪急速上升。 + +  最后,我们让他们坐到同一个房间里。测试人员选了画笔工具,从右上角到左下角画了一条线。应用程序炸了。“噢”,程序员用很小的声音说。他随后像绵羊一样承认,他在测试时只测试了从左下角画到右上角的情况,没有暴露出这个bug。 + +  这个故事有两个要点: +l 你也许需要与报告bug的用户面谈,以搜集比最初给你的数据更多的数据。 +l 人工合成的测试(比如那个程序员只从下画到上)不能足够地演练(exercise)应用。你必须既强硬地测试边界条件,又测试现实中的最终用户的使用模式。你需要系统地进行这样的测试(参见无情的测试,237页)。 + + +测试策略 + +  一旦你认为你知道了在发生什么,就到了找出程序认为在发生什么的时候了。 + +再现bug(reproduction,亦有“繁殖”之意——译注) + +  不,我们的bug不会真的繁殖(尽管其中有一些可能已经到了合法的生育年龄)。我们谈论的是另一种“再现”。 + +  开始修正bug的最佳途径是让其可再现。毕竟,如果你不能再现它,你又怎么知道它已经被修正了呢? + +  但我们想要的不是能够通过长长的步骤再现的bug;我们要的是能够通过一条命令再现的bug。如果你必须通过15个步骤才能到达bug显露的地方,修正bug就会困难得多。有时候,强迫你自己隔离显示出bug的环境,你甚至会洞见到它的修正方法。 + +  要了解沿着这些思路延伸的其他想法,参见无处不在的自动化(230页)。 + + +使你的数据可视化 + +  常常,要认识程序在做什么——或是要做什么——最容易的途径是好好看一看它操作的数据。最简单的例子是直截了当的“variable name = data value”方法,这可以作为打印文本、也可以作为GUI对话框或列表中的字段实现。 + +  但通过使用允许你“使数据及其所有的相互关系可视化”的调试器,你可以深入得多地获得对你的数据的洞察。有一些调试器能够通过虚拟现实场景把你的数据表示为3D立交图,或是表示为3D波形图,或是就表示为简单的结构图(如下一页的图3.2所示)。在单步跟踪程序的过程中,当你一直在追猎的bug突然跳到你面前时,这样的图远胜于千言万语。 + +  即使你的调试器对可视化数据的支持有限,你仍然自己进行可视化——或是通过手工方式,用纸和笔,或是用外部的绘图程序。 + +  DDD调试器有一些可视化能力,并且可以自由获取(参见[URL 19])。有趣的是,DDD能与多种语言一起工作,包括Ada、C、C++、Fortran、Java、Modula、Pascal、 + + +图3.2 一个循环链表的调试器示例图。箭头表示指向节点的指针 + + +Perl以及Python(显然是正交的设计)。 + + +跟踪 + +  调试器通常会聚焦于程序现在的状态。有时你需要更多的东西——你需要观察程序或数据结构随时间变化的状态。查看栈踪迹(stack trace)只能告诉你,你是怎样直接到达这里的。它无法告诉你,在此调用链之前你在做什么,特别是在基于事件的系统中。 + +  跟踪语句把小诊断消息打印到屏幕上或文件中,说明像“到了这里”和“x的值 = 2”这样的事情。与IDE风格的调试器相比,这是一种原始的技术,但在诊断调试器无法诊断的一些错误种类时却特别有效。在时间本身是一项因素的任何系统中,跟踪都具有难以估量的价值:并发进程、实时系统、还有基于事件的应用。 + +  你可以使用跟踪语句“钻入”代码。也就是,你可以在沿着调用树下降时增加跟踪语句。 + +  跟踪消息应该采用规范、一致的格式:你可能会想自动解析它们。例如,如果你需要跟踪资源泄漏(比如未配平(unbalanced)的open/close),你可以把每一次open和每一次close 记录在日志文件中。通过用Perl处理该日志文件,你可以轻松地确定 + + +坏变量?检查它们的邻居 + +  有时你检查一个变量,希望看到一个小整数值,得到的却是像0x6e69614d这样的东西。在你卷起袖子、郑重其事地开始调试之前,先快速地查看一下这个坏变量周围的内存。这常常能带给你线索。在我们的例子中,把周边的内存作为字符进行检查得到的是: + +20333231 6e69614d 2c745320 746f4e0a + + 1 2 3 M a i n S t , \n N o t + + 2c6e776f 2058580a 31323433 00000a33 + + o w n , \n x x 3 4 2 1 3\n\0\0 + +  看上去像是有人把街道地址“喷”到了我们的计数器上。现在我们知道该去查看什么地方了。 + +有问题的open是在哪里发生的。 + + +橡皮鸭 + +  找到问题的原因的一种非常简单、却又特别有用的技术是向别人解释它。他应该越过你的肩膀看着屏幕,不断点头(像澡盆里上下晃动的橡皮鸭)。他们一个字也不需要说;你只是一步步解释代码要做什么,常常就能让问题从屏幕上跳出来,宣布自己的存在。 + +  这听起来很简单,但在向他人解释问题时,你必须明确地陈述那些你在自己检查代码时想当然的事情。因为必须详细描述这些假定中的一部分,你可能会突然获得对问题的新洞见。 + + +消除过程 + +  在大多数项目中,你调试的代码可能是你和你们团队的其他成员编写的应用代码、第三方产品(数据库、连接性、图形库、专用通信或算法,等等)、以及平台环境(操作系统、系统库、编译器)的混合物。 + +  bug有可能存在于OS、编译器、或是第三方产品中——但这不应该是你的第一想法。有大得多的可能性的是,bug存在于正在开发的应用代码中。与假定库本身出了问题相比,假定应用代码对库的调用不正确通常更有好处。即使问题确实应归于第三方,在提交bug报告之前,你也必须先消除你的代码中的bug。 + +  我们参加过一个项目的开发,有位高级工程师确信select系统调用在Solaris上有问题。再多的劝说或逻辑也无法改变他的想法(这台机器上的所有其他网络应用都工作良好这一事实也一样无济于事)。他花了数周时间编写绕开这一问题的代码,因为某种奇怪的原因,却好像并没有解决问题。当最后被迫坐下来、阅读关于select的文档时,他在几分钟之内就发现并纠正了问题。现在每当有人开始因为很可能是我们自己的故障而抱怨系统时,我们就会使用“select没有问题”作为温和的提醒。 + + +提示26: +“Select” Isn’t Broken +“Select”没有问题 + + +  记住,如果你看到马蹄印,要想到马,而不是斑马。OS很可能没有问题。数据库也很可能情况良好。 + +  如果你“只改动了一样东西”,系统就停止了工作,那样东西很可能就需要对此负责——直接地或间接地,不管那看起来有多牵强。有时被改动的东西在你的控制之外:OS的新版本、编译器、数据库或是其他第三方软件都可能会毁坏先前的正确代码。可能会出现新的bug。你先前已绕开的bug得到了修正,却破坏了用于绕开它的代码。API变了,功能变了;简而言之,这是全新的球赛,你必须在这些新的条件下重新测试系统。所以在考虑升级时要紧盯着进度表;你可能会想等到下一次发布之后再升级。 + +  但是,如果没有显而易见的地方让你着手查看,你总是可以依靠好用的老式二分查找。看症状是否出现在代码中的两个远端之一,然后看中间。如果问题出现了,则臭虫位于起点与中点之间;否则,它就在中点与终点之间。以这种方式,你可以让范围越来越小,直到最终确定问题所在。 + + +造成惊讶的要素 + +  在发现某个bug让你吃惊时(也许你在用我们听不到的声音咕哝说:“那不可能。”),你必须重新评估你确信不疑的“事实”。在那个链表例程中——你知道它坚固耐用,不可能是这个bug的原因——你是否测试了所有边界条件?另外一段代码你已经用了好几年——它不可能还有bug。可能吗? + +  当然可能。某样东西出错时,你感到吃惊的程度与你对正在运行的代码的信任及信心成正比。这就是为什么,在面对“让人吃惊”的故障时,你必须意识到你的一个或更多的假设是错的。不要因为你“知道”它能工作而轻易放过与bug有牵连的例程或代码。证明它。用这些数据、这些边界条件、在这个语境中证明它。 + + +提示27: +Don’t Assume it – Prove It +不要假定,要证明 + + +  当你遇到让人吃惊的bug时,除了只是修正它而外,你还需要确定先前为什么没有找出这个故障。考虑你是否需要改进单元测试或其他测试,以让它们有能力找出这个故障。 + +  还有,如果bug是一些坏数据的结果,这些数据在造成爆发之前传播通过了若干层面,看一看在这些例程中进行更好的参数检查是否能更早地隔离它(分别参见120页与122页的关于早崩溃及断言的讨论)。 + +  在你对其进行处理的同时,代码中是否有任何其他地方容易受这同一个bug的影响?现在就是找出并修正它们的时机。确保无论发生什么,你都知道它是否会再次发生。 + +  如果修正这个bug需要很长时间,问问你自己为什么。你是否可以做点什么,让下一次修正这个bug变得更容易?也许你可以内建更好的测试挂钩,或是编写日志文件分析器。 + +  最后,如果bug是某人的错误假定的结果,与整个团队一起讨论这个问题。如果一个人有误解,那么许多人可能也有。 + +  去做所有这些事情,下一次你就将很有希望不再吃惊。 + +调试检查列表 +l 正在报告的问题是底层bug的直接结果,还是只是症状? +l bug真的在编译器里?在OS里?或者是在你的代码里? +l 如果你向同事详细解释这个问题,你会说什么? +l 如果可疑代码通过了单元测试,测试是否足够完整?如果你用该数据运行单元测试,会发生什么? +l 造成这个bug的条件是否存在于系统中的其他任何地方? + + +相关内容: +l 断言式编程,122页 +l 靠巧合编程,172页 +l 无处不在的自动化,230页 +l 无情的测试,237页 + +挑战: +l 调试已经够有挑战性了。 + + + + + +19 文本操纵 + +  注重实效的程序员用与木匠加工木料相同的方式操纵文本。在前面的部分里,我们讨论了我们所用的一些具体工具——shell、编辑器、调试器。这些工具与木匠的凿子、锯子、刨子类似——它们都是用于把一件或两件工作做好的专用工具。但是,我们不时也需要完成一些转换,这些转换不能由基本工具集直接完成。我们需要通用的文本操纵工具。 + +  文本操纵语言对于编程的意义,就像是刳刨机(router)对于木工活的意义。它们嘈杂、肮脏、而且有点用“蛮力”。如果使用有误,整个工件都可能毁坏。有人发誓说在工具箱里没有它们的位置。但在恰当的人的手中,刳刨机和文本操纵语言都可以让人难以置信地强大和用途广泛。你可以很快把某样东西加工成形、制作接头、并进行雕刻。如果适当使用,这些工具拥有让人惊讶的精微与巧妙。但你需要花时间才能掌握它们。 + +  好的文本操纵语言的数目正在增长。Unix开发者常常喜欢利用他们的命令shell的力量,并用像awk和sed这样的工具加以增强。偏爱更为结构化的工具的人喜欢Python[URL 9]的面向对象本质。有人把Tcl[URL 23]当作自己的首选工具。我们碰巧喜欢用Perl[URL 8]编写短小的脚本。 + +  这些语言是能赋予你能力的重要技术。使用它们,你可以快速地构建实用程序,为你的想法建立原型——使用传统语言,这些工作可能需要5倍或10倍的时间。对于我们所做的实验,这样的放大系数十分重要。与花费5小时相比,花费30分钟试验一个疯狂的想法要好得多。花费1天使项目的重要组件自动化是可以接受的;花费1周却不一定。在The Practice of Programming[KP99]一书中,Kernighan与Pike用5种不同的语言构建同一个程序。Perl版本是最短的(17行,而C要150行)。通过Perl你可以操纵文本、与程序交互、进行网络通信、驱动网页、进行任意精度的运算、以及编写看起来像史努比发誓的程序。 + + +提示28: +Learn a Text Manipulation Language +学习一种文本操纵语言 + + +  为了说明文本操纵语言的广泛适用性,这里列出了我们过去几年开发的一些应用示例: +l 数据库schema维护。一组Perl脚本读取含有数据库schema定义的纯文本文件,根据它生成: +- 用于创建数据库的SQL语句 +- 用于填充数据词典的平板(flat)数据文件 +- 用于访问数据库的C代码库 +- 用于检查数据库完整性的脚本 +- 含有schema描述及框图的网页 +- schema的XML版本 +l Java属性(property)访问。限制对某个对象的属性的访问,迫使外部类通过方法获取和设置它们,这是一种良好的OO编程风格。但是,属性在类的内部由简单的成员变量表示是一种常见情况,在这样的情况下要为每个变量创建获取和设置方法既乏味,又机械。我们有一个Perl脚本,它修改源文件,为所有做了适当标记的变量插入正确的方法定义。 +l 测试数据生成。我们的测试数据有好几万记录,散布在若干不同的文件中,其格式也不同,它们需要汇合在一起,并转换为适于装载进关系数据库的某种形式。Perl用几小时就完成了这一工作(在此过程中还发现了初始数据的几处一致性错误)。 +l 写书。我们认为,出现在书籍中的任何代码都应首先进行测试,这十分重要。本书中的大多数代码都经过了测试。但是,按照DRY原则(参见“重复的危害”,26页),我们不想把代码从测试过的程序拷贝并粘贴到书里。那意味着代码是重复的,实际上我们肯定会在程序被改动时忘记更新相应的例子。对于有些例子,我们也不想用编译并运行例子所需的全部框架代码来烦扰你。我们转向了Perl。在我们对书进行格式化时,会调用一个相对简单的脚本——它提取源文件中指定的片段,进行语法突显,并把结果转换成我们使用的排版语言。 +l C与Object Pascal的接口。某个客户有一个在PC上编写Object Pascal应用的开发团队。他们的代码需要与用C编写的一段代码接口。我们开发了一个短小的Perl脚本,解析C头文件,提取所有被导出函数的定义,以及它们使用的数据结构。随后我们生成Object Pascal单元:用Pascal记录对应所有的C结构,用导入的过程定义对应所有的C函数。这一生成过程变成了构建的一部分,这样无论何时C头文件发生变化,新的Object Pascal单元都会自动被构造。 +l 生成Web文档。许多项目团队都把文档发布在内部网站上。我们编写了许多Perl程序,分析数据库schema、C或C++源文件、makefile以及其他项目资源,以生成所需的HTML文档。我们还使用Perl,把文档用标准的页眉和页脚包装起来,并把它们传输到网站上。 + +  我们几乎每天都使用文本操纵语言。与我们注意到的其他任何语言相比,本书中的许多想法都可以用这些语言更简单地实现。这些语言使我们能够轻松地编写代码生成器,我们将在下一节讨论这一主题。 + + +相关内容: +l 重复的危害,26页 + +练习: +11. 你的C程序使用枚举类型表示100种状态。为进行调试,你想要能把状态打印成(与数字对应的)字符串。编写一个脚本,从标准输入读取含有以下内容的文件:  (解答在285页) + + name + + state_a + + state_b + + : : + +  生成文件name.h,其中含有: + + extern const char* NAME_names[]; + + typedef enum { + + state_a, + + state_b, + + : : + + } NAME; + +  以及文件name.c,其中含有: + + const char* NAME_names[] = { + + "state_a", + + "state_b", + + : : + + }; + +12. 在本书撰写的中途,我们意识到我们没有把use strict指示放进我们的许多Perl例子。编写一个脚本,检查某个目录中的.pl文件,给没有use strict指示的所有文件在初始注释块的末尾加上该指示。要记住给你改动的所有文件保留备份。  (解答在286页) + + + + + +20 代码生成器 + +  当木匠面临一再地重复制作同一样东西的任务时,他们会取巧。他们给自己建造夹具或模板。一旦他们做好了夹具,他们就可以反复制作某样工件。夹具带走了复杂性,降低了出错的机会,从而让工匠能够自由地专注于质量问题。 + +  作为程序员,我们常常发现自己也处在同样的位置上。我们需要获得同一种功能,但却是在不同的语境中。我们需要在不同的地方重复信息。有时我们只是需要通过减少重复的打字,使自己免于患上腕部劳损综合症。 + +  以与木匠在夹具上投入时间相同的方式,程序员可以构建代码生成器。一旦构建好,在整个项目生命期内都可以使用它,实际上没有任何代价。 + + +提示29: +Write Code That Writes Code +编写能编写代码的代码 + + +  代码生成器有两种主要类型: +1. 被动代码生成器只运行一次来生成结果。然后结果就变成了独立的——它与代码生成器分离了。在198页的邪恶的向导中讨论的向导,还有某些CASE工具,都是被动代码生成器的例子。 +2. 主动代码生成器在每次需要其结果时被使用。结果是用过就扔的——它总是能由代码生成器重新生成。主动代码生成器为了生成其结果,常常要读取某种形式的脚本或控制文件。 + + +被动代码生成器 + +  被动代码生成器减少敲键次数。它们本质上是参数化模板,根据一组输入生成给定的输出形式。结果一经产生,就变成了项目中有充分资格的源文件;它将像任何其他文件一样被编辑、编译、置于源码控制之下。其来源将被忘记。 + +  被动代码生成器有许多用途: +l 创建新的源文件。被动代码生成器可以生成模板、源码控制指示、版权说明以及项目中每个新文件的标准注释块。我们设置我们的编辑器,让它在我们每次创建新文件时做这样的工作:编辑新的Java程序,新的编辑器缓冲区将自动包含注释块、包指示以及已经填好的概要的类声明。 +l 在编程语言之间进行一次性转换。我们开始撰写本书时使用的是troff系统,但我们在完成了15节以后转向了LaTeX。我们编写了一个代码生成器,读取troff源,并将其转换到LaTeX。其准确率大约是90%,余下部分我们用手工完成。这是被动代码生成器的一个有趣的特性:它们不必完全准确。你需要在你投入生成器的努力和你花在修正其输出上的精力之间进行权衡。 +l 生成查找表及其他在运行时计算很昂贵的资源。许多早期的图形系统都使用预先计算的正弦和余弦值表,而不是在运行时计算三角函数。在典型情况下,这些表由被动代码生成器生成,然后拷贝到源文件中。 + + +主动代码生成器 + +  被动代码生成器只是一种便利手段,如果你想要遵循DRY原则,它们的“表亲”主动代码生成器却是必需品。通过主动代码生成器,你可以取某项知识的一种表示形式,将其转换为你的应用需要的所有形式。这不是重复,因为衍生出的形式可以用过就扔,并且是由代码生成器按需生成的(所以才会用主动这个词)。 + +  无论何时你发现自己在设法让两种完全不同的环境一起工作,你都应该考虑使用主动代码生成器。 + +  或许你在开发数据库应用。这里,你在处理两种环境——数据库和你用来访问它的编程语言。你有一个schema,你需要定义低级的结构,反映特定的数据库表的布局。你当然可以直接对其进行编码,但这违反了DRY原则:schema的知识就会在两个地方表示。当schema变化时,你需要记住改变相应的代码。如果某一列从表中被移走,而代码库却没有改变,甚至有可能连编译错误也没有。只有等你的测试开始失败时(或是用户打电话过来),你才会知道它。 + +  另一种办法是使用主动代码生成器——如图3.3所示,读取schema,使用它生成结构的源码。现在,无论何时schema发生变化,用于访问它的代码也会自动变化。如果某一列被移走,那么它在结构中相应的字段也将消失,任何使用该列的更高级的代码就将无法通过编译。 + + +图3.3 主动代码生成器根据数据库schema创建代码 + + + 你在编译时就能抓住错误,不用等到投入实际运行时。当然,只有在你让代码生成成为构建过程自身的一部分的情况下,这个方案才能工作。 + +  使用代码生成器融合环境的另一个例子发生在不同的编程语言被用于同一个应用时。为了进行通信,每个代码库将需要某些公共信息——例如,数据结构、消息格式、以及字段名。要使用代码生成器,而不是重复这些信息。有时你可以从一种语言的源文件中解析出信息,并将其用于生成第二种语言的代码。但如下一页的图3.4所示,用更简单、语言中立的表示形式来表示它,并为两种语言生成代码,常常更简单。再看一看268页上练习13的解答,里面有怎样把对平板文件表示的解析与代码生成分离开来的例子。 + + +代码生成不一定要很复杂 + +  所有这些关于“主动这个”和“被动那个”的谈论可能会给你留下这样的印象:代码生成器是复杂的东西。它们不一定要很复杂。最复杂的部分通常是负责分析输入文件的解析器。让输入格式保持简单,代码生成器就会变得简单。看一看练习13的解答(286页):实际的代码生成基本上是print语句。 + + +图3.4 根据语言中立的表示生成代码。在输入文件中,以‘M’开始的行标志着消息定义的开始。‘F’行定义字段,‘E’是消息的结束 + + +代码生成器不一定要生成代码 + +  尽管本节的许多例子给出的是生成程序源码的代码生成器,事情并不是非如此不可。你可以用代码生成器生成几乎任何输出:HTML、XML、纯文本——可能成为你的项目中别处输入的任何文本。 + +相关内容: +l 重复的危害,26页 +l 纯文本的力量,73页 +l 邪恶的向导,198页 +l 无处不在的自动化,230页 + +练习: +13. 编写一个代码生成器,读取图3.4中的输入文件,以你选择的两种语言生成输出。设法使它容易增加新语言。  (解答在286页) + + + + + +21 按合约设计(1) + +提示30: +You Can’t Write Perfect Software +你不可能写出完美的软件 + + +  这刺痛了你?不应该。把它视为生活的公理,接受它,拥抱它,庆祝它。因为完美的软件不存在。在计算技术简短的历史中,没有一个人曾经写出过一个完美的软件。你也不大可能成为第一个。除非你把这作为事实接受下来,否则你最终会把时间和精力浪费在追逐不可能实现的梦想上。 + +  那么,给定了这个让人压抑的现实,注重实效的程序员怎样把它转变为有利条件?这正是这一章的话题。 + +  每个人都知道只有他们自己是地球上的好司机。所有其他的人都等在那里要对他们不利,这些人乱冲停车标志、在车道之间摇来摆去、不作出转向指示、打电话、看报纸、总而言之就是不符合我们的标准。于是我们防卫性地开车。我们在麻烦发生之前小心谨慎、预判意外之事、从不让自己陷入无法解救自己的境地。 + +  编码的相似性相当明显。我们不断地与他人的代码接合——可能不符合我们的高标准的代码——并处理可能有效、也可能无效的输入。所以我们被教导说,要防卫性地编码。如果有任何疑问,我们就会验证给予我们的所有信息。我们使用断言检测坏数据。我们检查一致性,在数据库的列上施加约束,而且通常对自己感到相当满意。 + +  但注重实效的程序员会更进一步。他们连自己也不信任。知道没有人能编写完美的代码,包括自己,所以注重实效的程序员针对自己的错误进行防卫性的编码。我们将在“按合约设计(Design by Contract)”中描述第一种防卫措施:客户与供应者必须就权利与责任达成共识。 + +  在“死程序不说谎”中,我们想要确保在找出bug的过程中,不会造成任何破坏。所以我们设法经常检查各种事项,并在程序出问题时终止程序。 + +  “断言式编程”描述了一种沿途进行检查的轻松方法——编写主动校验你的假定的代码。 + +  与其他任何技术一样,异常如果没有得到适当使用,造成的危害可能比带来的好处更多。我们将在“何时使用异常”中讨论各种相关问题。 + +  随着你的程序变得更为动态,你会发现自己在用系统资源玩杂耍——内存、文件、设备,等等。在“怎样配平资源(How to Balance Resources)”中,我们将提出一些方法,确保你不会让其中任何一个球掉落下来。 + +  不完美的系统、荒谬的时间标度、可笑的工具、还有不可能实现的需求——在这样一个世界上,让我们安全“驾驶”。 + +当每个人都确实要对你不利时,偏执就是一个好主意。 +  ——Woody Allen + + + + + +21 按合约设计 + +没有什么比常识和坦率更让人感到惊讶。 +  ——拉尔夫·沃尔多·爱默生,《散文集》 + + +  与计算机系统打交道很困难。与人打交道更困难。但作为一个族类,我们花费在弄清楚人们交往的问题上的时间更长。在过去几千年中我们得出的一些解决办法也可应用于编写软件。确保坦率的最佳方案之一就是合约。 + +  合约既规定你的权利与责任,也规定对方的权利与责任。此外,还有关于任何一方没有遵守合约的后果的约定。 + +  或许你有一份雇用合约,规定了你的工作时数和你必须遵循的行为准则。作为回报,公司付给你薪水和其他津贴。双方都履行其义务,每个人都从中受益。 + +  全世界都——正式地或非正式地——采用这种理念帮助人们交往。我们能否采用同样的概念帮助软件模块进行交互?答案是肯定的。 + + +DBC + +  Bertrand Meyer[Mey97b]为Eiffel语言发展了按合约设计的概念[25]。这是一种简单而强大的技术,它关注的是用文档记载(并约定)软件模块的权利与责任,以确保程序正确性。什么是正确的程序?不多不少,做它声明要做的事情的程序。用文档记载这样的声明,并进行校验,是按合约设计(简称DBC)的核心所在。 + +  软件系统中的每一个函数和方法都会做某件事情。在开始做某事之前,例程对世界的状态可能有某种期望,并且也可能有能力陈述系统结束时的状态。Meyer这样描述这些期望和陈述: +l 前条件(precondition)。为了调用例程,必须为真的条件;例程的需求。在其前条件被违反时,例程决不应被调用。传递好数据是调用者的责任(见115页的方框)。 +l 后条件(postcondition)。例程保证会做的事情,例程完成时世界的状态。例程有后条件这一事实意味着它会结束:不允许有无限循环。 +l 类不变项(class invariant)。类确保从调用者的视角来看,该条件总是为真。在例程的内部处理过程中,不变项不一定会保持,但在例程退出、控制返回到调用者时,不变项必须为真(注意,类不能给出无限制的对参与不变项的任何数据成员的写访问)。 + +  让我们来看一个例程的合约,它把数据值插入惟一、有序的列表中。在iContract(用于Java的预处理器,可从[URL 17]获取)中,你可以这样指定: + + /** + + * @invariant forall Node n in elements() | + + * ev() != null + + * implies + + * lue().compare To(ev().value()) > 0 + + */ + + public class dbc_list { + + /** + + * @pre contains(aNode) == false + + * @post contains(aNode) == true + + */ + + public void insertNode(final Node aNode) { + + // ... + +  这里我们所说的是,这个列表中的节点必须以升序排列。当你插入新节点时,它不能是已经存在的,我们还保证,在你插入某个节点后,你将能够找到它。 + +  你用目标编程语言(或许还有某些扩展)编写这些前条件、后条件以及不变项。例如,除了普通的Java构造体,iContract还提供了谓词逻辑操作符——forall、exists、还有implies。你的断言可以查询方法能够访问的任何对象的状态,但要确保查询没有任何副作用(参见124页)。 + + +DBC与常量参数 + +  后条件常常要使用传入方法的参数来校验正确的行为。但如果允许例程改变传入的参数,你就有可能规避合约。Eiffel不允许这样的事情发生,但Java却允许。这里,我们使用Java关键字final指示我们的意图:参数在方法内不应被改变。这并非十分安全——子类有把参数重新声明为非final的自由。另外,你可以使用iContract语法variable@pre获取变量在进入方法时的初始值。 + +  这样,例程与任何潜在的调用者之间的合约可解读为: + +如果调用者满足了例程的所有前条件,例程应该保证在其完成时、所有后条件和不变项将为真。 + +  如果任何一方没有履行合约的条款,(先前约定的)某种补偿措施就会启用——例如,引发异常或是终止程序。不管发生什么,不要误以为没能履行合约是bug。它不是某种决不应该发生的事情,这也就是为什么前条件不应被用于完成像用户输入验证这样的任务的原因。 + + +提示31: +Design with Contracts +通过合约进行设计 + + +  在“正交性”(34页)中,我们建议编写“羞怯”的代码。这里,强调的重点是在“懒惰”的代码上:对在开始之前接受的东西要严格,而允诺返回的东西要尽可能少。记住,如果你的合约表明你将接受任何东西,并允诺返回整个世界,那你就有大量代码要写了! + +  继承和多态是面向对象语言的基石,是合约可以真正闪耀的领域。假定你正在使用继承创建“是一种(is-a-kind-of)”关系,即一个类是另外一个类的“一种”。你或许会想要坚持Liskov替换原则(Lis88): + +子类必须要能通过基类的接口使用,而使用者无须知道其区别。 + +  换句话说,你想要确保你创建的新子类型确实是基类型的“一种”——它支持同样的方法,这些方法有同样的含义。我们可以通过合约来做到这一点。要让合约自动应用于将来的每个子类,我们只须在基类中规定合约一次。子类可以(可选地)接受范围更广的输入,或是作出更强的保证。但它所接受的和所保证的至少与其父类一样多。 + +  例如,考虑Java基类t.Component。你可以把AWT或Swing中的任何可视组件当作Component,而不用知道实际的子类是按钮、画布、菜单,还是别的什么。每个个别的组件都可以提供额外的、特殊的功能,但它必须至少提供Component定义的基本能力。但并没有什么能阻止你创建Component的一个子类型,提供名称正确、但所做事情却不正确的方法。你可以很容易地创建不进行绘制的paint方法,或是不设置字体的setFont方法。AWT没有用于抓住你没有履行合约的事实的合约。 + +  没有合约,编译器所能做的只是确保子类符合特定的方法型构(signature)。但如果我们适当设定基类合约,我们现在就能够确保将来任何子类都无法改变我们的方法的含义。例如,你可能想要这样为setFont建立合约,确保你设置的字体就是你得到的字体: + + /** + + * @pre f != null + + * @post getFont() == f + + */ + + public void setFont(final Font f) { + + // ... + + + + + +21 按合约设计(2) + + +实现DBC + +  使用DBC的最大好处也许是它迫使需求与保证的问题走到前台来。在设计时简单地列举输入域的范围是什么、边界条件是什么、例程允诺交付什么——或者,更重要的,它不允诺交付什么——是向着编写更好的软件的一次飞跃。不对这些事项作出陈述,你就回到了靠巧合编程(参见172页),那是许多项目开始、结束、失败的地方。 + +  如果语言不在代码中支持DBC,你也许就只能走这么远了——这并不太坏。毕竟,DBC是一种设计技术。即使没有自动检查,你也可以把合约作为注释放在代码中,并仍然能够得到非常实际的好处。至少,在遇到麻烦时,用注释表示的合约给了你一个着手的地方。 + + +断言 + +  尽管用文档记载这些假定是一个了不起的开始,让编译器为你检查你的合约,你能够获得大得多的好处。在有些语言中,你可以通过断言(参见断言式编程,122页)对此进行部分的模拟。为何只是部分的?你不能用断言做DBC能做的每一件事情吗? + +  遗憾的是,答案是“不能”。首先,断言不能沿着继承层次向下遗传。这就意味着,如果你重新定义了某个具有合约的基类方法,实现该合约的断言不会被正确调用(除非你在新代码中手工复制它们)。在退出每个方法之前,你必须记得手工调用类不变项(以及所有的基类不变项)。根本的问题是合约不会自动实施。 + +  还有,不存在内建的“老”值概念。也就是,与存在于方法入口处的值相同的值。如果你使用断言实施合约,你必须给前条件增加代码,保存你想要在后条件中使用的任何信息。把它与iContract比较一下,其后条件可以引用“variable@pre”;或者与Eiffel比较一下,它支持“老表达式”。 + +  最后,runtime系统和库的设计不支持合约,所以它们的调用不会被检查。这是一个很大的损失,因为大多数问题常常是在你的代码和它使用的库之间的边界上检测到的(更详细的讨论,参见死程序不说谎,120页)。 + + +语言支持 + +  有内建的DBC支持的语言(比如Eiffel和Sather[URL 12])自动在编译器和runtime系统中检查前条件和后条件。在这样的情况下,你能获得最大的好处,因为所有的代码库(还有库函数)必须遵守它们的合约。 + +  但像C、C++和Java这样的更流行的语言呢?对于这些语言,有一些预处理器能够处理作为特殊注释嵌入在原始源码中的合约。预处理器会把这些注释展开成检验断言的代码。 + +  对于C和C++,你可以研究一下Nana[URL 18]。Nana不处理继承,但它却能以一种新颖的方式、使用调试器在运行时监控断言。 + +  对于Java,可以使用iContract[URL 17]。它读取(JavaDoc形式的)注释,生成新的包含了断言逻辑的源文件。 + +  预处理器没有内建设施那么好。把它们集成进你的项目可能会很杂乱,而且你使用的其他库没有合约。但它们仍然很有助益;当某个问题以这样的方式被发现时——特别是你本来决不会发现的问题——那几乎像是魔术。 + + +DBC与早崩溃 + +  DBC相当符合我们关于早崩溃的概念(参见“死程序不说谎”,120页)。假定你有一个计算平方根的方法(比如在Eiffel的DOUBLE类中)。它需要一个前条件,把参数域限制为正数。Eiffel的前条件通过关键字require声明,后条件通过ensure声明,所以你可以编写: + + sqrt: DOUBLE is + + -- Square root routine + + require + + sqrt_arg_must_be_positive: Current >= 0; + + --- ... + + --- calculate square root here + + --- ... + + ensure + + ((Result*Result) - Current).abs <= epsilon*Cs; + + -- Result should be within error tolerance + + end; + + +谁负责? + +  谁负责检查前条件,是调用者,还是被调用的例程?如果作为语言的一部分实现,答案是两者都不是:前条件是在调用者调用例程之后,但在进入例程自身之前,在幕后测试的。因而如果要对参数进行任何显式的检查,就必须由调用者来完成,因为例程自身永远也不会看到违反了其前条件的参数。(对于没有内建支持的语言,你需要用检查这些断言的“前言”(preamble)和/或“后文”(postamble)把被调用的例程括起来) + +  考虑一个程序,它从控制台读取数字,(通过调用sqrt)计算其平方根,并打印结果。sqrt函数有一个前条件——其参数不能为负。如果用户在控制台上输入负数,要由调用代码确保它不会被传给sqrt。该调用代码有许多选择:它可以终止,可以发出警告并读取另外的数,也可以把这个数变成正数,并在sqrt返回的结果后面附加一个“i”。无论其选择是什么,这都肯定不是sqrt的问题。 + +  通过在sqrt例程的前条件中表示平方根函数的参数域,你把保证正确性的负担转交给了调用者——本应如此。随后你可以在知道了其输入会落在有效范围内的前提下,安全地设计sqrt例程。 + + +  如果你用于计算平方根的算法失败了(或不在规定的错误容忍程度之内),你会得到一条错误消息,以及用于告诉你调用链的栈踪迹(stack trace)。 + +  如果你传给sqrt一个负参数,Eiffel runtime会打印错误“sqrt_arg_must_be_positive”,还有栈踪迹。这比像Java、C和C++等语言中的情况要好,在这些语言那里,把负数传给sqrt,返回的是特殊值NaN(Not a Number)。要等到你随后在程序中试图对NaN进行某种运算时,你才会得到让你吃惊的结果。 + +  通过早崩溃、在问题现场找到和诊断问题要容易得多。 + + +不变项的其他用法 + +  到目前为止,我们已经讨论了适用于单个方法的前条件和后条件,以及应用于类中所有方法的不变项,但使用不变项还有其他一些有用的方式。 + + +循环不变项 + +  在复杂的循环上正确设定边界条件可能会很成问题。循环常有香蕉问题(我知道怎样拼写“banana”,但不知道何时停下来——“bananana…”)、篱笆桩错误(不知道该数桩还是该数空)、以及无处不在的“差一个”错误[URL 52]。 + +  在这些情况下,不变项可以有帮助:循环不变项是对循环的最终目标的陈述,但又进行了一般化,这样在循环执行之前和每次循环迭代时,它都是有效的。你可以把它视为一种微型合约。经典的例子是找出数组中的最大值的例程: + + int m = arr[0]; // example assumes ngth > 0 + + int i = 1; + + // Loop invariant: m = max(arr[0:i-1]) + + while (i < ngth) { + + m = Mx(m, arr[i]); + + i = i + 1; + + } + +  (arr[m:n]是便捷表示法,意为数组从下标m到n的部分。)不变项在循环运行之前必须为真,循环的主体必须确保它在循环执行时保持为真。这样我们就知道不变项在循环终止时也保持不变,因而我们的结果是有效的。循环不变项可被显式地编写成断言,但作为设计和文档工具,它们也很有用。 + + +语义不变项 + +  你可以使用语义不变项(semantic invariant)表达不可违反的需求,一种“哲学合约”。 + +  我们曾经编写过一个借记卡交易交换程序。一个主要的需求是借记卡用户的同一笔交易不能被两次记录到账户中。换句话说,不管发生何种方式的失败,结果都应该是:不处理交易,而不是处理重复的交易。 + +  这个简单的法则,直接由需求驱动,被证明非常有助于处理复杂的错误恢复情况,并且可以在许多领域中指导详细的设计和实现。 + +  一定不要把固定的需求、不可违反的法则与那些仅仅是政策(policiy)的东西混为一谈,后者可能会随着新的管理制度的出台而改变。这就是我们为什么要使用术语“语义不变项”的原因——它必须是事物的确切含义的中心,而不受反复无常的政策的支配(后者是更为动态的商业规则的用途所在)。 + +  当你发现合格的需求时,确保让它成为你制作的无论什么文档的一个众所周知的部分——无论它是一式三份签署的需求文档中的圆点列表,还是只是每个人都能看到的公共白板上的重要通知。设法清晰、无歧义地陈述它。例如,在借记卡的例子中,我们可以写: + + +出错时要偏向消费者 + +  这是清楚、简洁、无歧义的陈述,适用于系统的许多不同的区域。它是我们与系统的所有用户之间的合约,是我们对行为的保证。 + + +动态合约与代理 + +  直到现在为止,我们一直把合约作为固定的、不可改变的规范加以谈论。但在自治代理(autonomous agent)的领域中,情况并不一定是这样。按照“自治”的定义,代理有拒绝它们不想接受的请求的自由——“我无法提供那个,但如果你给我这个,那么我可以提供另外的某样东西。” + +  无疑,任何依赖于代理技术的系统对合约协商的依赖都是至关紧要的——即使它们是动态生成的。 + +  设想一下,通过足够的“能够互相磋商合约、以实现某个目标”的组件和代理,我们也许就能解决软件生产率危机:让软件为我们解决它。 + +  但如果我们不能手工使用合约,我们也无法自动使用它们。所以下次你设计软件时,也要设计它的合约。 + + +相关内容: +l 正交性,34页 +l 死程序不说谎,120页 +l 断言式编程,122页 +l 怎样配平资源,129页 +l 解耦与得墨忒耳法则,138页 +l 时间耦合,150页 +l 靠巧合编程,172页 +l 易于测试的代码,189页 +l 注重实效的团队,224页 + +挑战: +l 思考这样的问题:如果DBC如此强大,它为何没有得到更广泛的使用?制定合约困难吗?它是否会让你思考你本来想先放在一边的问题?它迫使你思考吗?显然,这是一个危险的工具! + +练习: +14. 好合约有什么特征?任何人都可以增加前条件和后条件,但那是否会给你带来任何好处?更糟糕的是,它们实际上带来的坏处是否会大过好处?对于下面的以及练习15和16中的例子,确定所规定的合约是好、是坏、还是很糟糕,并解释为什么。 +  首先,让我们看一个Eiffel例子。我们有一个用于把STRING添加到双向链接的循环链表中的例程(别忘了前条件用require标注,后条件用ensure标注)。  (解答在288页) + + -- Add an item to a doubly linked list, + + -- and return the newly created NODE. + + add_item (item : STRING) : NODE is + + require + + item /= Void -- '/=' is 'not equal'. + + deferred -- Abstract base class. + + ensure + + evious = result -- Check the newly + + xt = result -- added node's links. + + find_item(item) = result -- Should find it. + + End + +15. 下面,让我们试一试一个Java的例子——与练习14中的例子有点类似。insertNumber把整数插入有序列表中。前条件和后条件的标注方式与iContract(参见[URL 17])一样。 (解答在288页) + + private int data[]; + + /** + + * @post data[index-1] < data[index] && + + * data[index] == aValue + + */ + + public Node insertNumber (final int aValue) + + { + + int index = findPlaceToInsert(aValue); + + ... + +16. 下面的代码段来自Java的栈类。这是好合约吗?  (解答在289页) + + /** + + * @pre anItem != null // Require real data + + * @post pop() == anItem // Verify that it's + + * // on the stack + + */ + + public void push(final String anItem) + +17. DBC的经典例子(如练习14-16中的例子)给出的是某种ADT(Abstract Data Type)的实现——栈或队列就是典型的例子。但并没有多少人真的会编写这种低级的类。 +  所以,这个练习的题目是,设计一个厨用搅拌机接口。它最终将是一个基于Web、适用于Internet、CORBA化的搅拌机,但现在我们只需要一个接口来控制它。它有十挡速率设置(0表示关机)。你不能在它空的时候进行操作,而且你只能一挡一挡地改变速率(也就是说,可以从0到1,从1到2,但不能从0到2)。 +  下面是各个方法。增加适当的前条件、后条件和不变项。 (解答在289页) + + int getSpeed() + + void setSpeed(int x) + + boolean isFull() + + void fill() + + void empty() + +18. 在0, 5, 10, 15, …,100序列中有多少个数?  (解答在290页) + + + + + +22 死程序不说谎 + +  你是否注意到,有时别人在你自己意识到之前就能觉察到你的事情出了问题。别人的代码也是一样。如果我们的某个程序开始出错,有时库例程会最先抓住它。一个“迷途的”指针也许已经致使我们用无意义的内容覆写了某个文件句柄。对read的下一次调用将会抓住它。或许缓冲区越界已经把我们要用于检测分配多少内存的计数器变成了垃圾。也许我们对malloc的调用将会失败。数百万条之前的某个逻辑错误意味着某个case语句的选择开关不再是预期的1、2或3。我们将会命中default情况(这是为什么每个case/switch语句都需要有default子句的原因之一——我们想要知道何时发生了“不可能”的事情)。 + +  我们很容易掉进“它不可能发生”这样一种心理状态。我们中的大多数人编写的代码都不检查文件是否能成功关闭,或者某个跟踪语句是否已按照我们的预期写出。而如果所有的事情都能如我们所愿,我们很可能就不需要那么做——这些代码在任何正常的条件都不会失败。但我们是在防卫性地编程,我们在程序的其他部分中查找破坏堆栈的“淘气指针”,我们在检查确实加载了共享库的正确版本。 + +  所有的错误都能为你提供信息。你可以让自己相信错误不可能发生,并选择忽略它。但与此相反,注重实效的程序员告诉自己,如果有一个错误,就说明非常、非常糟糕的事情已经发生了。 + + +提示32: +Crash Early +早崩溃 + + +要崩溃,不要破坏(trash) + +  尽早检测问题的好处之一是你可以更早崩溃。而有许多时候,让你的程序崩溃是你的最佳选择。其他的办法可以是继续执行、把坏数据写到某个极其重要的数据库或是命令洗衣机进入其第二十次连续的转动周期。 + +  Java语言和库已经采用了这一哲学。当意料之外的某件事情在runtime系统中发生时,它会抛出RuntimeException。如果没有被捕捉,这个异常就会渗透到程序的顶部,致使其中止,并显示栈踪迹。 + +  你可以在别的语言中做相同的事情。如果没有异常机制,或是你的库不抛出异常,那么就确保你自己对错误进行了处理。在C语言中,对于这一目的,宏可能非常有用: + + #define CHECK(LINE, EXPECTED) \ + + { int rc = LINE; \ + + if (rc != EXPECTED) \ + + ut_abort(__FILE__, __LINE__, #LINE, rc, EXPECTED); } + + + + void ut_abort(char *file, int ln, char *line, int rc, int exp) { + + fprintf(stderr, "%s line %d\n'%s': expected %d, got %d\n", + + file, ln, line, exp, rc); + + exit(1); + + } + +  然后你可以这样包装决不应该失败的调用: + + CHECK(stat("/tmp", &stat_buff), 0); + +  如果它失败了,你就会得到写到stderr的消息: + + source.c line 19 + + 'stat("/tmp", &stat_buff)': expected 0, got -1 + +  显然,有时简单地退出运行中的程序并不合适。你申请的资源可能没有释放,或者你可能要写出日志消息,清理打开的事务,或与其他进程交互。我们在“何时使用异常”(125页)中讨论的技术在此能对你有帮助。但是,基本的原则是一样的——当你的代码发现,某件被认为不可能发生的事情已经发生时,你的程序就不再有存活能力。从此时开始,它所做的任何事情都会变得可疑,所以要尽快终止它。死程序带来的危害通常比有疾患的程序要小得多。 + + +相关内容: +l 按合约设计,109页 +l 何时使用异常,125页 + + + + + +23 断言式编程 + +在自责中有一种满足感。当我们责备自己时,会觉得再没人有权责备我们。 +  ——奥斯卡?王尔德:《多里安?格雷的画像》 + + +  每一个程序员似乎都必须在其职业生涯的早期记住一段曼特罗(mantra)。它是计算技术的基本原则,是我们学着应用于需求、设计、代码、注释——也就是我们所做的每一件事情——的核心信仰。那就是: +这决不会发生…… + +  “这些代码不会被用上30年,所以用两位数字表示日期没问题。”“这个应用决不会在国外使用,那么为什么要使其国际化?”“count不可能为负。”“这个printf不可能失败。” + +  我们不要这样自我欺骗,特别是在编码时。 + + +提示33: +If It Can’t Happen, Use Assertions to Ensure That It Won’t +如果它不可能发生,用断言确保它不会发生 + + +  无论何时你发现自己在思考“但那当然不可能发生”,增加代码检查它。最容易的办法是使用断言。在大多数C和C++实现中,你都能找到某种形式的检查布尔条件的assert或_assert宏。这些宏是无价的财富。如果传入你的过程的指针决不应该是NULL,那么就检查它: + + void writeString(char *string) { + + assert(string != NULL); + + ... + +  对于算法的操作,断言也是有用的检查。也许你编写了一个聪明的排序算法。检查它是否能工作: + + for (int i = 0; i < num_entries-1; i++) { + + assert(sorted[i] <= sorted[i+1]); + + } + +  当然,传给断言的条件不应该有副作用(参见124页的方框)。还要记住断言可能会在编译时被关闭——决不要把必须执行的代码放在assert中。 + +  不要用断言代替真正的错误处理。断言检查的是决不应该发生的事情:你不会想编写这样的代码: + + printf("Enter 'Y' or 'N': "); + + ch = getchar(); + + assert((ch == 'Y') || (ch == 'N')); /* bad idea! */ + +  而且,提供给你的assert宏会在断言失败时调用exit,并不意味着你编写的版本就应该这么做。如果你需要释放资源,就让断言失败生成异常、longjump到某个退出点、或是调用错误处理器。要确保你在终止前的几毫秒内执行的代码不依赖最初触发断言失败的信息。 + + +让断言开着 + +  有一个由编写编译器和语言环境的人传播的、关于断言的常见误解。就是像这样的说法: + +  断言给代码增加了一些开销。因为它们检查的是决不应该发生的事情,所以只会由代码中的bug触发。一旦代码经过了测试并发布出去,它们就不再需要存在,应该被关闭,以使代码运行得更快。断言是一种调试设施。 + +  这里有两个明显错误的假定。首先,他们假定测试能找到所有的bug。现实的情况是,对于任何复杂的程序,你甚至不大可能测试你的代码执行路径的排列数的极小一部分(参见“无情的测试”,245页)。其次,乐观主义者们忘记了你的程序运行在一个危险的世界上。在测试过程中,老鼠可能不会噬咬通信电缆、某个玩游戏的人不会耗尽内存、日志文件不会塞满硬盘。这些事情可能会在你的程序运行在实际工作环境中时发生。你的第一条防线是检查任何可能的错误,第二条防线是使用断言设法检测你疏漏的错误。 + +  在你把程序交付使用时关闭断言就像是因为你曾经成功过,就不用保护网去走钢丝。那样做有极大的价值,但却难以获得人身保险。 + +  即使你确实有性能问题,也只关闭那些真的有很大影响的断言。上面的排序例子 + + +断言与副作用 + +  如果我们增加的错误检测代码实际上却制造了新的错误,那是一件让人尴尬的事情。如果对条件的计算有副作用,这样的事情可能会在使用断言时发生。例如,在Java中,像下面这样编写代码,不是个好主意: + + while (smoreElements () { + + Test.ASSERT(xtElements() != null); + + object obj = xtElement(); + + // .... + + } + +  ASSERT中的.nextElement()调用有副作用:它会让迭代器越过正在读取的元素,这样循环就会只处理集合中的一半元素。这样编写代码会更好: + + while (smoreElements()) { + + object obj = xtElement(); + + Test.ASSERT(obj != null); + + //.... + + } + +  这个问题是一种“海森堡虫子”(Heisenbug)——调试改变了被调试系统的行为(参见[URL 52])。 + + + 也许是你的应用的关键部分,也许需要很快才行。增加检查意味着又一次通过数据,这可能让人不能接受。让那个检查成为可选的,但让其余的留下来。 + + +相关部分: +l 调试,90页 +l 按合约设计,109页 +l 怎样配平资源,129页 +l 靠巧合编程,172页 + +练习: +19. 一次快速的真实性检查。下面这些“不可能”的事情中,那些可能发生?  (解答在290页) + +1. 一个月少于28天 + +2. stat(“.”, &sb) == -1 (也就是,无法访问当前目录) + +3. 在C++里:a = 2; b = 3; if (a + b != 5) exit(1); + +4. 内角和不等于180°的三角形。 + +5. 没有60秒的一分钟 + +6. 在Java中:(a + 1) <= a + +20. 为Java开发一个简单的断言检查类。  (解答在291页) + + + + + +24 何时使用异常 + +  在“死程序不说谎”(120页)中,我们提出,检查每一个可能的错误——特别是意料之外的错误——是一种良好的实践。但是,在实践中这可能会把我们引向相当丑陋的代码;你的程序的正常逻辑最后可能会被错误处理完全遮蔽,如果你赞成“例程必须有单个return语句”的编程学派(我们不赞成),情况就更是如此。我们见过看上去像这样的代码: + + retcode = OK; + + if (ad(name) != OK) { + + retcode = BAD_READ; + + } + + else { + + processName(name); + + if (ad(address) != OK) { + + retcode = BAD_READ; + + } + + else { + + processAddress(address); + + if (ad(telNo) != OK) { + + retcode = BAD_READ; + + } + + else { + + // etc, etc... + + } + + } + + } + + return retcode; + +  幸运的是,如果编程语言支持异常,你可以通过更为简洁的方式重写这段代码: + + retcode = OK; + + try { + + ad(name); + + process(name); + + ad(address); + + processAddress(address); + + ad(telNo); + + // etc, etc... + + } + + catch (IOException e) { + + retcode = BAD_READ; + + Lg("Error reading individual: " + tMessage()); + + } + + return retcode; + +  现在正常的控制流很清晰,所有的错误处理都移到了一处。 + + +什么是异常情况 + +  关于异常的问题之一是知道何时使用它们。我们相信,异常很少应作为程序的正常流程的一部分使用;异常应保留给意外事件。假定某个未被抓住的异常会终止你的程序,问问你自己:“如果我移走所有的异常处理器,这些代码是否仍然能运行?”如果答案是“否”,那么异常也许就正在被用在非异常的情形中。 + +  例如,如果你的代码试图打开一个文件进行读取,而该文件并不存在,应该引发异常吗? + +  我们的回答是:“这取决于实际情况。”如果文件应该在那里,那么引发异常就有正当理由。某件意外之事发生了——你期望其存在的文件好像消失了。另一方面,如果你不清楚该文件是否应该存在,那么你找不到它看来就不是异常情况,错误返回就是合适的。 + +  让我们看一看第一种情况的一个例子。下面的代码打开文件/etc/passwd,这个文件在所有的UNIX系统上都应该存在。如果它失败了,它会把FileNotFoundException传给它的调用者。 + + public void open_passwd() throws FileNotFoundException { + + // This may throw FileNotFoundException... + + ipstream = new FileInputStream("/etc/passwd"); + + // ... + + } + +  但是,第二种情况可能涉及打开用户在命令行上指定的文件。这里引发异常没有正当理由,代码看起来也不同: + + public boolean open_user_file(String name) + + throws FileNotFoundException { + + File f = new File(name); + + if (!ists()) { + + return false; + + } + + ipstream = new FileInputStream(f); + + return true; + + } + +  注意FileInputStream调用仍有可能生成异常,这个例程会把它传递出去。但是,这个异常只在真正异常的情形下才生成;只是试图打开不存在的文件将生成传统的错误返回。 + + +提示34: +Use Exceptions for Exceptional Problems +将异常用于异常的问题 + + +  我们为何要提出这种使用异常的途径?嗯,异常表示即时的、非局部的控制转移——这是一种级联的(cascading)goto。那些把异常用作其正常处理的一部分的程序,将遭受到经典的意大利面条式代码的所有可读性和可维护性问题的折磨。这些程序破坏了封装:通过异常处理,例程和它们的调用者被更紧密地耦合在一起。 + + +错误处理器是另一种选择 + +  错误处理器是检测到错误时调用的例程。你可以登记一个例程处理特定范畴的错误。处理器会在其中一种错误发生时被调用。 + +  有时你可能想要使用错误处理器,或者用于替代异常,或者与异常一起使用。显然,如果你使用像C这样不支持异常的语言,这是你的很少几个选择之一(参见下一页的“挑战”)。但是,有时错误处理器甚至也可用于拥有良好的内建异常处理方案的语言(比如Java)。 + +  考虑一个客户-服务器应用的实现,它使用了Java的Remote Method Invocation(RMI)设施。因为RMI的实现方式,每个对远地例程的调用都必须准备处理RemoteException。增加代码处理这些异常可能会变得让人厌烦,并且意味着我们难以编写既能与本地例程、也能与远地例程一起工作的代码。一种绕开这一问题的可能方法是把你的远地对象包装在非远地的类中。这个类随即实现一个错误处理器接口,允许客户代码登记一个在检测到远地异常时调用的例程。 + + +相关内容: +l 死程序不说谎,120页 + +挑战: +l 不支持异常的语言常常拥有一些其他的非局部控制转移机制(例如,C拥有longjmp/setjmp)。考虑一下怎样使用这些设施实现某种仿造的异常机制。其好处和危险是什么?你需要采取什么特殊步骤确保资源不被遗弃?在你编写的所有C代码中使用这种解决方案有意义吗? + +练习: +21. 在设计一个新的容器类时,你确定可能有以下错误情况:  (解答在292页) +(1) add例程中的新元素没有内存可用 +(2) 在fetch例程中找不到所请求的数据项 +(3) 传给add例程的是null指针 + +应怎样处理每种情况?应该生成错误、引发异常、还是忽略该情况? + + + + + +25怎样配平资源 + +“我把你带进这个世界,”我的父亲会说:“我也可以把你赶出去。那没有我影响。我要再造另一个你。” +  ——Bill Cosby,Fatherhood + + +  只要在编程,我们都要管理资源:内存、事务、线程、文件、定时器——所有数量有限的事物。大多数时候,资源使用遵循一种可预测的模式:你分配资源、使用它,然后解除其分配。 + +  但是,对于资源分配和解除分配的处理,许多开发者没有始终如一的计划。所以让我们提出一个简单的提示: + + +提示35: +Finish What You Start +要有始有终 + + +  在大多数情况下这条提示都很容易应用。它只是意味着,分配某项资源的例程或对象应该负责解除该资源的分配。让我们通过一个糟糕的代码例子来看一看该提示的应用方式——这是一个打开文件、从中读取消费者信息、更新某个字段、然后写回结果的应用。我们除去了其中的错误处理代码,以让例子更清晰: + + void readCustomer(const char *fName, Customer *cRec) { + + cFile = fopen(fName, "r+"); + + fread(cRec, sizeof(*cRec), 1, cFile); + + } + + void writeCustomer(Customer *cRec) { + + rewind(cFile); + + fwrite (cRec, sizeof(*cRec), 1, cFile); + + fclose(cFile); + + } + + void updateCustomer(const char *fName, double newBalance) { + + Customer cRec; + + readCustomer(fName, &cRec); + + cRlance = newBalance; + + writeCustomer(&cRec); + + } + +  初看上去,例程updateCustomer相当好。它似乎实现了我们所需的逻辑——读取记录,更新余额,写回记录。但是,这样的整洁掩盖了一个重大的问题。例程readCustomer和writeCustomer紧密地耦合在一起[27]——它们共享全局变量cFile。readCustomer打开文件,并把文件指针存储在cFile中,而writeCustomer使用所存储的指针在其结束时关闭文件。这个全局变量甚至没有出现在updateCustomer例程中。 + +  这为什么不好?让我们考虑一下,不走运的维护程序员被告知规范发生了变化——余额只应在新的值不为负时更新。她进入源码,改动updateCustomer: + + void updateCustomer(const char *fName, double newBalance) { + + Customer cRec; + + readCustomer(fName, &cRec); + + if (newBalance >= 0.0) { + + cRlance = newBalance; + + writeCustomer(&cRec); + + } + + } + +  在测试时一切似乎都很好。但是,当代码投入实际工作,若干小时后它就崩溃了,抱怨说打开的文件太多。因为writeCustomer在有些情形下不会被调用,文件也就不会被关闭。 + +  这个问题的一个非常糟糕的解决方案是在updateCustomer中对该特殊情况进行处理: + + void updateCustomer(const char *fName, double newBalance) { + + Customer cRec; + + readCustomer(fName, &cRec); + + if (newBalance >= 0.0) { + + cRlance = newBalance; + + writeCustomer(&cRec); + + } + + else + + fclose(cFile); + + } + +  这可以修正问题——不管新的余额是多少,文件现在都会被关闭——但这样的修正意味着三个例程通过全局的cFile耦合在一起。我们在掉进陷阱,如果我们继续沿着这一方向前进,事情就会开始迅速变糟。 + +  要有始有终这一提示告诉我们,分配资源的例程也应该释放它。通过稍稍重构代码,我们可以在此应用该提示: + + void readCustomer(FILE *cFile, Customer *cRec) { + + fread(cRec, sizeof(*cRec), 1, cFile); + + } + + void writeCustomer(FILE *cFile, Customer *cRec) { + + rewind(cFile); + + fwrite(cRec, sizeof(*cRec), 1, cFile); + + } + + void updateCustomer(const char *fName, double newBalance) { + + FILE *cFile; + + Customer cRec; + + cFile = fopen(fName, "r+"); // >--- + + readCustomer(cFile, &cRec); // / + + if (newBalance >= 0.0) { // / + + cRlance = newBalance; // / + + writeCustomer(cFile, &cRec); // / + + } // / + + fclose(cFile); // <--- + + } + +  现在updateCustomer例程承担了关于该文件的所有责任。它打开文件并(有始有终地)在退出前关闭它。例程配平了对文件的使用:打开和关闭在同一个地方,而且显然每一次打开都有对应的关闭。重构还移除了丑陋的全局变量。 + + +嵌套的分配 + +  对于一次需要不只一个资源的例程,可以对资源分配的基本模式进行扩展。有两个另外的建议: +1. 以与资源分配的次序相反的次序解除资源的分配。这样,如果一个资源含有对另一个资源的引用,你就不会造成资源被遗弃。 +2. 在代码的不同地方分配同一组资源时,总是以相同的次序分配它们。这将降低发生死锁的可能性。(如果进程A申请了resource1,并正要申请resource2,而进程B申请了resource2,并试图获得resource1,这两个进程就会永远等待下去。) + +不管我们在使用的是何种资源——事务、内存、文件、线程、窗口——基本的模式都适用: + + 无论是谁分配的资源,它都应该负责解除该资源的分配。但是,在有些语言中,我们可以进一步发展这个概念。 + + +对象与异常 + +  分配与解除分配的对称让人想起类的构造器与析构器。类代表某个资源,构造器给予你该资源类型的特定对象,而析构器将其从你的作用域中移除。 + +  如果你是在用面向对象语言编程,你可能会发现把资源封装在类中很有用。每次你需要特定的资源类型时,你就实例化这个类的一个对象。当对象出作用域或是被垃圾收集器回收时,对象的析构器就会解除所包装资源的分配。 + + +配平与异常 + +  支持异常的语言可能会使解除资源的分配很棘手。如果有异常被抛出,你怎样保证在发生异常之前分配的所有资源都得到清理?答案在一定程度上取决于语言。 + + +在C++异常机制下配平资源 + +  C++支持try…catch异常机制。遗憾的是,这意味着在退出某个捕捉异常、并随即将其重新抛出的例程时,总是至少有两条可能的路径: + + void doSomething(void) { + + Node *n = new Node; + + try { + + // do something + + } + + catch (...) { + + delete n; + + throw; + + } + + delete n; + + } + +  注意我们创建的节点是在两个地方释放的——一次是在例程正常的退出路径上,一次是在异常处理器中。这显然违反了DRY原则,可能会发生维护问题。 + +  但是,我们可以对C++的语义加以利用。局部对象在从包含它们的块中退出时会被自动销毁。这给了我们一些选择。如果情况允许,我们可以把“n”从指针改变为栈上实际的Node对象: + + void doSomething1(void) { + + Node n; + + try { + + // do something + + } + + catch (...) { + + throw; + + } + + } + +  在这里,不管是否抛出异常,我们都依靠C++自动处理Node对象的析构。 + +  如果不可能不使用指针,可以通过在另一个类中包装资源(在这个例子中,资源是一个Node指针)获得同样的效果。 + + // Wrapper class for Node resources + + class NodeResource { + + Node *n; + + public: + + NodeResource() { n = new Node; } + + ~NodeResource() { delete n; } + + Node *operator->() { return n; } + + }; + + void doSomething2(void) { + + NodeResource n; + + try { + + // do something + + } + + catch (...) { + + throw; + + } + + } + +  现在包装类NodeResource确保了在其对象被销毁时,相应的节点也会被销毁。为了方便起见,包装提供了解除引用操作符->,这样它的使用者可以直接访问所包含的Node对象中的字段。 + +  因为这一技术是如此有用,标准C++库提供了模板类auto_ptr,能自动包装动态分配的对象。 + + void doSomething3(void) { + + auto_ptr p (new Node); + + // Access the Node as p->... + + // Node automatically deleted at end + + } + + +在Java中配平资源 + +  与C++不同,Java实现的是自动对象析构的一种“懒惰”形式。未被引用的对象被认为是垃圾收集的候选者,如果垃圾收集器回收它们,它们的finalize方法就会被调用。尽管这为开发者提供了便利,他们不再须要为大多数内存泄漏承受指责,但同时也使得实现C++方式的资源清理变得很困难。幸运的是,Java语言的设计者考虑周详地增加了一种语言特性进行补偿:finally子句。当try块含有finally子句时,如果try块中有任何语句被执行,该子句中的代码就保证会被执行。是否有异常抛出没有影响(即或try块中的代码执行了return语句)——finally子句中的代码都将会运行。这意味着我们可以通过这样的代码配平我们的资源使用: + + public void doSomething() throws IOException { + + File tmpFile = new File(tmpFileName); + + FileWriter tmp = new FileWriter(tmpFile); + + + + try { + + // do some work + + } + + finally { + + tmpFlete(); + + } + + } + +  该例程使用了一个临时文件,不管例程怎样退出,我们都要删除该文件。finally块使得我们能够简洁地表达这一意图。 + + +当你无法配平资源时 + +  有时基本的资源分配模式并不合适。这通常会出现在使用动态数据结构的程序中。一个例程将分配一块内存区,并把它链接进某个更大的数据结构中,这块内存可能会在那里呆上一段时间。 + +  这里的诀窍是为内存分配设立一个语义不变项。你须要决定谁为某个聚集数据结构(aggregate data structure)中的数据负责。当你解除顶层结构的分配时会发生什么?你有三个主要选择: +1. 顶层结构还负责释放它包含的任何子结构。这些结构随即递归地删除它们包含的数据,等等。 +2. 只是解除顶层结构的分配。它指向的(没有在别处引用的)任何结构都会被遗弃。 +3. 如果顶层结构含有任何子结构,它就拒绝解除自身的分配。 + +  这里的选择取决于每个数据结构自身的情形。但是,对于每个结构,你都须明确做出选择,并始终如一地实现你的选择。在像C这样的过程语言中实现其中的任何选择都可能会成问题:数据结构自身不是主动的。在这样的情形下,我们的偏好是为每个重要结构编写一个模块,为该结构提供分配和解除分配设施(这个模块也可以提供像调试打印、序列化、解序列化和遍历挂钩这样的设施)。 + +  最后,如果追踪资源很棘手,你可以通过在动态分配的对象上实现一种引用计数方案,编写自己有限的自动垃圾回收机制。More Effective C++[Mey96]一书专设了一节讨论这一话题。 + + +检查配平 + +  因为注重实效的程序员谁也不信任,包括我们自己,所以我们觉得,构建代码、对资源确实得到了适当释放进行实际检查,这总是一个好主意。对于大多数应用,这通常意味着为每种资源类型编写包装,并使用这些包装追踪所有的分配和解除分配。在你的代码中的特定地方,程序逻辑将要求资源处在特定的状态中:使用包装对此进行检查。 + +  例如,一个长期运行的、对请求进行服务的程序,很可能会在其主处理循环的顶部的某个地方等待下一个请求到达。这是确定自从上次循环执行以来,资源使用未曾增长的好地方。 + +  在一个更低、但用处并非更少的层面上,你可以投资购买能检查运行中的程序的内存泄漏情况(及其他情况)的工具。Purify(m)和Insure++(m)是两种流行的选择。 + + +相关内容: +l 按合约设计,109页 +l 断言式编程,122页 +l 解耦与得墨忒耳法则,138页 + +挑战: +l 尽管没有什么途径能够确保你总是释放资源,某些设计技术,如果能够始终如一地加以应用,将能对你有所帮助。在上文中我们讨论了为重要数据结构设立语义不变项可以怎样引导内存解除分配决策。考虑一下,“按合约设计”(109页)可以怎样帮助你提炼这个想法。 + +练习: +22. 有些C和C++开发者故意在解除了某个指针引用的内存的分配之后,把该指针设为NULL。这为什么是个好主意?  (解答在292页) + +23. 有些Java开发者故意在使用完某个对象之后,把该对象变量设为NULL,这为什么是个好主意?  (解答在292页) + +相关内容: +l 原型与便笺,53页 +l 重构,184页 +l 易于测试的代码,189页 +l 无处不在的自动化,230页 +l 无情的测试,237页 + +挑战: +l 如果有人——比如银行柜台职员、汽车修理工或是店员——对你说蹩脚的借口,你会怎样反应?结果你会怎样想他们和他们的公司? diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/IT/\350\275\257\344\273\266\345\274\200\345\217\221/\347\256\227\346\263\225\344\270\216\346\225\260\346\215\256\347\273\223\346\236\204/\345\220\264\345\206\233\357\274\232\346\225\260\345\255\246\344\271\213\347\276\216 (\347\254\2541\347\211\210).txt" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/IT/\350\275\257\344\273\266\345\274\200\345\217\221/\347\256\227\346\263\225\344\270\216\346\225\260\346\215\256\347\273\223\346\236\204/\345\220\264\345\206\233\357\274\232\346\225\260\345\255\246\344\271\213\347\276\216 (\347\254\2541\347\211\210).txt" new file mode 100644 index 0000000000000000000000000000000000000000..7fe515a3804e68852163c89ea5db9eca29885c1d --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/IT/\350\275\257\344\273\266\345\274\200\345\217\221/\347\256\227\346\263\225\344\270\216\346\225\260\346\215\256\347\273\223\346\236\204/\345\220\264\345\206\233\357\274\232\346\225\260\345\255\246\344\271\213\347\276\216 (\347\254\2541\347\211\210).txt" @@ -0,0 +1,938 @@ + +数学之美 + +吴军 + + + + +目录 + +一、统计语言模型 +二、谈谈中文分词 +三、隐含马尔可夫模型在语言处理中的应用 +四、怎样度量信息 +五、简单之美:布尔代数和搜索引擎的索引 +六、图论和网络爬虫(Web Crawlers) +七、信息论在信息处理中的应用 +八、贾里尼克的故事和现代语言处理 +九、如何确定网页和查询的相关性 +十、有限状态机和地址识别 +十一、Google 阿卡 47 的制造者阿米特·辛格博士 +十二、余弦定理和新闻的分类 +十三、信息指纹及其应用 +十四、谈谈数学模型的重要性 +十五、繁与简——自然语言处理的几位精英 +十六、不要把所有的鸡蛋放在一个篮子里——谈谈最大熵模型(上) +十六、不要把所有的鸡蛋放在一个篮子里——最大熵模型(下) +十七、闪光的不一定是金子——谈谈搜索引擎作弊问题(Search Engine Anti-SPAM) +十八、矩阵运算和文本处理中的分类问题 +十九、马尔可夫链的扩展——贝叶斯网络(Bayesian Networks) +二十、自然语言处理的教父——马库斯 +二十一、布隆过滤器(Bloom Filter) +二十二、谈谈密码学的数学原理 +二十三、输入一个汉字需要敲多少个键——谈谈香农第一定律 + + + + + +-----------------------------------------------------Page 1----------------------------------------------------- + +一、统计语言模型 + +2006 年 4 月 3 日 上午 08:15:00 + +从本周开始,我们将定期刊登 Google 科学家吴军写的《数学之美》系列文章, 介绍数学在信息检索和自然语言处理中的主导作用和奇妙应用。 + +发表者: 吴军, Google 研究员 + +前言 + +也许大家不相信,数学是解决信息检索和自然语言处理的最好工具。它能非常 清晰地描述这些领域的实际问题并且给出漂亮的解决办法。每当人们应用数学工具解决一 个语言问题时,总会感叹数学之美。我们希望利用 Google 中文黑板 报这块园地,介绍一些数学工具,以及我们是如何利用这些工具来开发 Google 产品的。 + +系列一: 统计语言模型(Statistical Language Models) + +Google 的使命是整合全球的信息,所以我们一直致力于研究如何让机器对信息、语言做最好的理解和处理。长期以来,人类一直梦想着能让机器代替人来翻译语言、识别语音、认识文字(不论是印刷体或手写体)和进行海量文献的自动检索,这就需要让机器理解语言。但是人类的语言可以说是信息里最复杂最动态的一部分。为了解决这个问题,人们容易想到的办法就是让机器模拟人类进行学习——学习人类的语法、分析语句等等。尤其是在乔姆斯基(Noam Chomsky 有史以来最伟大的语言学家)提出“形式语言”以后,人们更坚定了利用语法规则的办法进行文字处理的信念。遗憾的是,几十年过去了,在计算机处理语言领域,基于这个语法规则的方法几乎毫无突破。 + +其实早在几十年前,数学家兼信息论的祖师爷 香农(Claude Shannon)就提出了用数学的办法处理自然语言的想法。遗憾的是当时的计算机条件根本无法满足大 量信息处理的需要,所以他这个想法当时并没有被人们重视。七十年代初,有了大规模集成电路的快速计算机后,香农的梦想才得以实现。 + +首先成功利用数学方法解决自然语言处理问题的是语音和语言处理大师贾里尼克(Fred Jelinek) 。当时贾里尼克在 IBM 公司做学术休假(Sabbatical Leave),领导了一批杰出的科学家利用大型计算机来处理人类语言问题。统计语言模型就是在那个时候提出的。 + +给大家举个例子:在很多涉及到自然语言处理的领域,如机器翻译、语音识别、印刷体或手写体识别、拼写纠错、汉字输入和文献查询中,我们都需要知道一个文字序列是否能构成一个大家能理解的句子,显示给使用者。对这个问题,我们可以用一个简单的统计模型来解决这个问题。 + +-----------------------------------------------------Page 2----------------------------------------------------- + +如果 S 表示一连串特定顺序排列的词 w1, w2,…, wn ,换句话说,S 可以 表示某一个由一连串特定顺序排练的词而组成的一个有意义的句子。现在,机器 对语言的识别从某种角度来说,就是想知道S在文本中出现的可能性,也就是数学上所说的S 的概率用 P(S) 来表示。利用条件概率的公式,S 这个序列出现的 概率等于每一个词出现的概率相乘,于是P(S) 可展开为: + +P(S) = P(w1)P(w2|w1)P(w3| w1 w2)…P(wn|w1 w2…wn-1) + +其中 P (w1) 表示第一个词w1 出现的概率;P (w2|w1) 是在已知第一个词的前提下,第二个词出现的概率;以次类推。不难看出,到了词 wn,它的出现概率取决于它前面所有词。从计算上来看,各种可能性太多,无法实现。因此我们假定任意一个词wi的出现概率只同它前面的词 wi-1 有关(即马尔可夫假设),于 是问题就变得很简单了。现在,S 出现的概率就变为: + +P(S) = P(w1)P(w2|w1)P(w3|w2)…P(wi|wi-1)… + +(当然,也可以假设一个词又前面N-1 个词决定,模型稍微复杂些。) + +接 下来的问题就是如何估计 P (wi|wi-1)。现在有了大量机读文本后,这个问 题变得很简单,只要数一数这对词(wi-1,wi) 在统计的文本中出现了多少次, 以及 wi-1 本身在同样的文本中前后相邻出现了多少次,然后用两个数一除就可 以了,P(wi|wi-1) = P(wi-1,wi)/ P (wi-1)。 + +也许很多人不相信用这么简单的数学模型能解决复杂的语音识别、机器翻译等问 题。其实不光是常人,就连很多语言学家都曾质疑过这种方法的有效性,但事实证明,统计语言模型比任何已知的借助某种规则的解决方法都有效。比如在 Google 的 中英文自动翻译 中,用的最重要的就是这个统计语言模型。去年美国标准局(NIST) 对所有的机器翻译系统进行了评测,Google 的系统是不仅是全世 界最好的,而且高出所有基于规则的系统很多。 + +现在,读者也许已经能感受到数学的美妙之处了,它把一些复杂的问题变得如 此的简单。当然,真正实现一个好的统计语言模型还有许多细节问题需要解决。贾里尼克和他的同事的贡献在于提出了统计语言模型,而且很漂亮地解决了所有的细节问题。十几年后,李开复用统计语言模型把 997 词语音识别的问题简 化成了一个 20 词的识别问题,实现了有史以来第一次大词汇量非特定人连续语音的识别。 + +我是一名科学研究人员 ,我在工作中经常惊叹于数学语言应用于解决实际问题上时的神奇。我也希望把这种神奇讲解给大家听。当然,归根结底,不管什莫样的科学方法、无论多莫奇妙的解决手段都是为人服务的。我希望 Google 多努力 一分,用户就多一分搜索的喜悦 + +-----------------------------------------------------Page 3----------------------------------------------------- + +二、谈谈中文分词 + +2006 年 4 月 10 日 上午 08:10:00 + +发表者: 吴军, Google 研究员 + +谈谈中文分词 + +----- 统计语言模型在中文处理中的一个应用 + +上回我们谈到 利用统计语言模型进行语言处理 ,由于模型是建立在词的基础上 的,对于中日韩等语言,首先需要进行分词。例如把句子“中国航天官员应邀到美国与太空总署官员开会。” + +分成一串词: + +中国 / 航天 / 官员 / 应邀 / 到 / 美国 / 与 / 太空 / 总署 / 官员 / 开会。 + +最容易想到的,也是最简单的分词办法就是查字典。这种方法最早是由北京航天航空大学的梁南元教授提出的。 + +用“查字典”法,其实就是我们把一个句子从左向右扫描一遍,遇到字典里有 的词就标识出来,遇到复合词(比如“上海大学”)就找最长的词匹配,遇到不认识的字串就分割成单字词,于是简单的分词就完成了。这种简单的分词方法 完全能处理上面例子中的句子。八十年代, 哈工大的王晓龙博士把它理论化, 发展成最少词数的分词理论,即一句话应该分成数量最少的词串。这种方法一个明显的不足是当遇到有二义性(有双重理解意思)的分割时就无能为力了。比如,对短语“发展中国家”正确的分割是“发展-中-国家”,而从左向右查字 典的办法会将它分割成“发展-中国-家”,显然是错了。另外,并非所有的最长 匹配都一定是正确的。比如 “上海大学城书店”的正确分词应该是“上海-大学城-书店,”而不是“上海大学-城-书店”。 + +九十年代以前,海内外不少学者试图用一些文法规则来解决分词的二义性问题,都不是很成功。90 年前后,清华大学的郭进博士用统计语言模型成功解决分词二义性问题,将汉语分词的错误率降低了一个数量级。 + +利用统计语言模型分词的方法,可以用几个数学公式简单概括如下: + +我们假定一个句子S可以有几种分词方法,为了简单起见我们假定有以下三种: A1, A2, A3, ..., Ak, B1, B2, B3, ..., Bm C1, C2, C3, ..., Cn + +其中,A1, A2, B1, B2, C1, C2 等等都是汉语的词。那么最好的一种分词方法应该保证分完词后这个句子出现的概率最大。也就是说如果 A1,A2,..., Ak 是 + +-----------------------------------------------------Page 4----------------------------------------------------- + +最好的分法,那么 (P 表示概率): + +P (A1, A2, A3, ..., Ak) 〉 P (B1, B2, B3, ..., Bm), 并且 P (A1, A2, A3, ..., Ak) 〉 P(C1, C2, C3, ..., Cn) + +因此,只要我们利用上回提到的统计语言模型计算出每种分词后句子出现的概 率,并找出其中概率最大的,我们就能够找到最好的分词方法。 + +当然,这里面有一个实现的技巧。如果我们穷举所有可能的分词方法并计算出每 种可能性下句子的概率,那么计算量是相当大的。因此,我们可以把它看成是一个动态规划(Dynamic Programming)的问题,并利用“维特比”(Viterbi)算法快速地找到最佳分词。 + +在清华大学的郭进博士以后,海内外不少学者利用统计的方法,进一步完善中文分词。其中值得一提的是清华大学孙茂松教授和香港科技大学吴德凯教授的工 作。 + +需要指出的是,语言学家对词语的定义不完全相同。比如说“北京大学”,有人认为是一个词,而有人认为该分成两个词。一个折中的解决办法是在分词的同 时,找到复合词的嵌套结构。在上面的例子中,如果一句话包含“北京大学”四个字,那么先把它当成一个四字词,然后再进一步找出细分词 “北京”和“大学”。这种方法是最早是郭进在“Computational Linguistics” (《计算机语言学》)杂志上发表的,以后不少系统采用这种方法。 + +一般来讲,根据不同应用,汉语分词的颗粒度大小应该不同。比如,在机器翻译中,颗粒度应该大一些,“北京大学”就不能被分成两个词。而在语音识别中,“北京大学”一般是被分成两个词。因此,不同的应用,应该有不同的分词系统。Google 的葛显平博士和朱安博士,专门为搜索设计和实现了自己的分词系统。 + +也许你想不到,中文分词的方法也被应用到英语处理,主要是手写体识别中。因为在识别手写体时,单词之间的空格就不很清楚了。中文分词方法可以帮助判别英语单词的边界。其实,语言处理的许多数学方法通用的和具体的语言无关。在 Google 内,我们在设计语言处理的算法时,都会考虑它是否能很容易地适用于各种自然语言。这样,我们才能有效地支持上百种语言的搜索。 + +对中文分词有兴趣的读者,可以阅读以下文献: + +1. 梁南元:书面汉语自动分词系统 + +2. 郭进:统计语言模型和汉语音字转换的一些新结果 + + +-----------------------------------------------------Page 5----------------------------------------------------- + +3. 郭进:Critical Tokenization and its Properties + +4. 孙茂松:Chinese word segmentation without using lexicon and hand-crafted training data + + + +-----------------------------------------------------Page 6----------------------------------------------------- + +三、隐含马尔可夫模型在语言处理中的应用 + +2006 年 4 月 17 日 上午 08:01:00 + +发表者:吴军,Google 研究员 + +前言:隐含马尔可夫模型是一个数学模型,到目前为之,它一直被认为是实现快 速精确的语音识别系统的最成功的方法。复杂的语音识别问题通过隐含马尔可夫模型能非常简单地被表述、解决,让我不由由衷地感叹数学模型之妙。 + +自然语言是人类交流信息的工具。很多自然语言处理问题都可以等同于通信系统中的解码问题——一个人根据接收到的信息,去猜测发话人要表达的意思。这其实就象通信中,我们根据接收端收到的信号去分析、理解、还原发送端传送过 来的信息。以下该图就表 示了一个典型的通信系统: + +其中 s1,s2,s3...表示信息源发出的信号。o1, o2, o3 ... 是接受器接收到的信号。通信中的解码就是根据接收到的信号 o1, o2, o3 ...还原出发送的信 号 s1,s2,s3...。 + +其实我们平时在说话时,脑子就是一个信息源。我们的喉咙(声带),空气, 就是如电线和光缆般的信道。听众耳朵的就是接收端,而听到的声音就是传送过来的信 号。根据声学信号来推测说话者的意思,就是语音识别。这样说来,如果接收端是一台计算机而不是人的话,那么计算机要做的就是语音的自动识别。同样,在计算机中,如果我们要根据接收到的英语信息,推测说话者的汉语意 思,就是机器翻译;如果我们要根据带有拼写错误的语句推测说话者想表达的 正确意思,那就是自动纠错。 + +那么怎么根据接收到的信息来推测说话者想表达的意思呢?我们可以利用叫做“隐含马尔可夫模型”(Hidden Markov Model)来解决这些问题。以语音识别为例,当我们观测到语音信号 o1,o2,o3 时,我们要根据这组信号推测出发送的句子 s1,s2,s3。显然,我们应该在所有可能的句子中找最有可能性的一个。用数学语言来描述,就是在已知 o1,o2,o3,...的情况下,求使得条件概率 P (s1,s2,s3,...|o1,o2,o3....) 达到最大值的那个句子 s1,s2,s3,... + +当然,上面的概率不容易直接求出,于是我们可以间接地计算它。利用贝叶斯公式并且省掉一个常数项,可以把上述公式等价变换成 + +P(o1,o2,o3,...|s1,s2,s3....) * P(s1,s2,s3,...) 其中 + +P(o1,o2,o3,...|s1,s2,s3....) 表示某句话 s1,s2,s3...被读成 o1,o2,o3,... + +-----------------------------------------------------Page 7----------------------------------------------------- + +的可能性, 而 + +P(s1,s2,s3,...) 表示字串 s1,s2,s3,...本身能够成为一个合乎情理的句子的 可能性,所以这个公式的意义是用发送信号为 s1,s2,s3...这个数列的可能性乘 以 s1,s2,s3...本身可以一个句子的可能性,得出概率。 + +(读者读到这里也许会问,你现在是不是把问题变得更复杂了,因为公式越写越长了。别着急,我们现在就来简化这个问题。)我们在这里做两个假设: + +第一,s1,s2,s3,... 是一个马尔可夫链,也就是说,si 只由 si-1 决定 (详见 系列一 ); + +第二,第 i 时刻的接收信号 oi 只由发送信号 si 决定(又称为独立输出假设, 即 P(o1,o2,o3,...|s1,s2,s3....) = P(o1|s1) * P(o2|s2)*P(o3|s3)...。 那么我们就可以很容易利用算法 Viterbi 找出上面式子的最大值,进而找出要 识别的句子 s1,s2,s3,...。 + +满足上述两个假设的模型就叫隐含马尔可夫模型。我们之所以用“隐含”这个词,是因为状态 s1,s2,s3,...是无法直接观测到的。 + +隐含马尔可夫模型的应用远不只在语音 识别中。在上面的公式中,如果我们把 s1,s2,s3,...当成中文,把 o1,o2,o3,...当成对应的英文,那么我们就能利用这个模型解决机器翻译问题; 如果我们把 o1,o2,o3,...当成扫描文字得到的图 像特征,就能利用这个模型解决印刷体和手写体的识别。 + +P (o1,o2,o3,...|s1,s2,s3....) 根据应用的不同而又不同的名称,在语音识别 中它被称为“声学模型”(Acoustic Model),在机器翻译中是“翻译模型”(Translation Model)而在拼写校正中是“纠错模型”(Correction Model)。而 P(s1,s2,s3,...) 就是我们在系列一中提到的语言模型。 + +在利用隐含马尔可夫模型解决语言处理问题前,先要进行模型的训练。常用的训练方法由伯姆(Baum)在 60 年代提出的,并以他的名字命名。隐含马尔可夫模型在处理语言问题早期的成功应用是语音识别。七十年代,当时 IBM 的 Fred Jelinek(贾里尼克)和卡内基·梅隆大学的 Jim and Janet Baker(贝克夫妇,李开复的师兄师姐)分别独立地提出用隐含马尔可夫模型来识别语音,语音识别的错误率相比人工智能和模式匹配等方法降低了三倍(从 30% 到 10%)。八十年代李开复博士坚持采用隐含马尔可夫模型的框架,成功地开发了世界上第一个大词汇量连续语音识别系统 Sphinx。 + +我最早接触到隐含马尔可夫模型是几乎二十年前的事。那时在《随机过程》(清华“著名”的一门课)里学到这个模型,但当时实在想不出它有什么实际用途。几年后,我在清华跟随王作英教授学习、研究语音识别时,他给了我几十篇文 献。我印象最深的就是贾里尼克和李开复的文章,它们的核心思想就是隐含马 尔可夫模型。复杂的语音识别问题居然能如此简单地被表述、解决,我由衷地感叹数学模型之妙。 + +-----------------------------------------------------Page 8----------------------------------------------------- + +四、怎样度量信息 + +2006 年 4 月 26 日 上午 08:11:00 + +发表者:吴军,Google 研究员 + +前言: Google 一直以“整合全球信息,让人人能获取,使人人能受益”为使命。那么究竟每一条信息应该怎样度量呢? + +信息是个很抽象的概念。我们常常说信息很多,或者信息较少,但却很难说清楚信息到底有多少。比如一本五十万字的中文书到底有多少信息量。直到 1948 年,香农提出了“信息熵”(shāng) 的概念,才解决了对信息的量化度量问题。 + +一 条信息的信息量大小和它的不确定性有直接的关系。比如说,我们要搞清楚 一件非常非常不确定的事,或是我们一无所知的事情,就需要了解大量的信息。相反,如果我们对某件事已经有了较多的了解,我们不需要太多的信息就能把 它搞清楚。所以,从这个角度,我们可以认为,信息量的度量就等于不确定性的 多少。 + +那 么我们如何量化的度量信息量呢?我们来看一个例子,马上要举行世界杯赛 了。大家都很关心谁会是冠军。假如我错过了看世界杯,赛后我问一个知道比赛结果的观 众“哪支球队是冠军”? 他不愿意直接告诉我,而要让我猜,并且我每猜一次,他要收一元钱才肯告诉我是否猜对了,那么我需要付给他多少钱才能知道谁是冠军呢? 我可以把球队编上号,从 1 到 32,然后提问:“冠军的球队在 1-16 号中吗?”假如他告诉我猜对了,我会接着问:“冠军在 1-8 号 中吗?”假如他告诉我猜错了,我自然知道冠军队在 9-16 中。这样只需要五次,我就能知道哪支球队是冠军。所以,谁是世界杯冠军这条消息的信息量只值五块钱。 + +当然,香农不是用钱,而是用“比特”(bit)这个概念来度量信息量。一个比特是一位二进制数,计算机中的一个字节是八个比特。在上面的例子中,这条 消息的信息量是五比特。(如果有朝一日有六十四个队进入决赛阶段的比赛,那 么“谁世界杯冠军”的信息量就是六比特,因为我们要多猜一次。) 读者可能已经发现,信息量的比特数和所有可能情况的对数函数 log 有关。(log32=5, log64=6。) + +有些读者此时可能会发现我们实际上可能不需要猜五次就能猜出谁是冠军,因为象巴西、德国、意大利这样的球队得冠军的可能性比日本、美国、韩国等队大的多。因此,我们第一次猜测时不需要把32个球队等分成两个组,而可以把少数几个最可能的球队分成一组,把其它队分成另一组。然后我们猜冠军球队是否 在那几只热门队中。我们重复这样的过程,根据夺冠概率对剩下的候选球队分组,直到找到冠军队。这样,我们也许三次或四次就猜出结果。因此,当每个球队夺冠的可能性(概率)不等时,“谁世界杯冠军”的信息量的信息量比五比特少。香农指出,它的准确信息量应该是 + +-----------------------------------------------------Page 9----------------------------------------------------- + += -(p1*log p1 + p2 * log p2 + + ... + +p32 *log p32), + +其 中,p1,p2 , ...,p32 分别是这 32 个球队夺冠的概率。香农把它称 为“信息熵” (Entropy),一般用符号 H 表示,单位是比特。有兴趣的读者可 以推算一下当 32 个球队夺冠概率相同时,对应的信息熵等于五比特。有数学基 础的读者还可以证明上面公式的值不可能大于五。对于任意一个随机变量 X(比 如得冠军的球队),它的熵定义如下: + +变量的不确定性越大,熵也就越大,把它搞清楚所需要的信息量也就越大。 + +有了“熵”这个概念,我们就可以回答本文开始提出的问题,即一本五十万字 的中文书平均有多少信息量。我们知道常用的汉字(一级二级国标)大约有 7000 字。假如每个字等概率,那么我们大约需要 13 个比特(即 13 位二进制数)表示一个汉字。但汉字的使用是不平衡的。实际上,前 10% 的汉字占文本的 95% 以上。因此,即使不考虑上下文的相关性,而只考虑每个汉字的独立的概率,那么,每个汉字的信息熵大约也只有 8-9 个比特。如果我们再考虑上下文相关性,每个汉字的信息熵只有 5 比特左右。所以,一本五十万字的中文书,信息量大约是 250 万比特。如果用一个好的算法压缩一下,整本书可以存成一个 320KB 的文件。如果我们直接用两字节的国标编码存储这本书,大约需要 1MB 大小,是压缩文件的三倍。这两个数量的差距,在信息论中称作“冗余度”(redundancy)。 需要指出的是我们这里讲的 250 万比特是个平均数,同样长度的书,所含的信息量可以差很多。如果一本书重复的内容很多,它的信息量就小,冗余度就大。 + +不同语言的冗余度差别很大,而汉语在所有语言中冗余度是相对小的。这和人们普遍的认识“汉语是最简洁的语言”是一致的。 + +在下一集中,我们将介绍信息熵在信息处理中的应用以及两个相关的概念互信息和相对熵。 + +对中文信息熵有兴趣的读者可以读我和王作英教授在电子学报上合写的一篇文章 + +《语信息熵和语言模型的复杂度》 + +-----------------------------------------------------Page 10----------------------------------------------------- + +五、简单之美:布尔代数和搜索引擎的索引 + +2006 年 5 月 10 日 上午 09:10:00 + +发表者: 吴军,Google 研究员 + +[建立一个搜索引擎大致需要做这样几件事:自动下载尽可能多的网页;建立快速有效的索引;根据相关性对网页进行公平准确的排序。我们在介绍 Google Page Rank (网页排名) 时已经谈到了一些排序的问题,这里我们谈谈索引问题,以后我们还会谈如何度量网页的相关性,和进行网页自动下载。] + +世界上不可能有比二进制更简单的计数方法了,也不可能有比布尔运算更简单的运算了。尽管今天每个搜索引擎都宣称自己如何聪明、多么智能化,其实从根本 上讲都没有逃出布尔运算的框框。 + +布尔(George Boole)是十九世纪英国一位小学数学老师。他生前没有人认为他是数学家。布尔在工作之余,喜欢阅读数学论著、思考数学问题。1854 年“思维规律 ” (An Investigation of the Laws of Thought, on which are founded the Mathematical Theories of Logic and Probabilities)一书,第一次向人们展示了如何用数学的方法解决逻辑问题。 + +布尔代数简单得不能再简单了。运算的元素只有两个 1 (TRUE, 真)和 0(FALSE,假)。基本的运算只有“与”(AND)、“或”(OR)和“非”(NOT)三种(后来发现,这三种运算都可以转换成“与”“非”运算)。全部运算只用下列几张真值表就能完全地描述清楚。 + +AND | 1 0 + +----------------------- 1 | 1 0 0 | 0 0 + +这张表说明如果 AND 运算的两个元素有一个是 0,则运算结果总是 0。如果两 个元素都是 1,运算结果是 1。例如,“太阳从西边升起”这个判断是假的(0),“水可以流动”这个判断是真的(1),那么,“太阳从西边升起并且水可 以流动”就是假的(0)。 + +OR | 1 0 + +----------------------- 1 | 1 1 0 | 1 0 + +这张表说明如果OR运算的两个元素有一个是 1,则运算结果总是 1。如果两个元 素都是 0,运算结果是 0。比如说,“张三是比赛第一名”这个结论是假的(0),“李四是比赛第一名”是真的(1),那么“张三或者李四是第一名”就是真的(1)。 + +-----------------------------------------------------Page 11----------------------------------------------------- + +NOT | + +-------------- 1 | 0 0 | 1 + +这张表说明 NOT 运算把 1 变成 0,把 0 变成 1。比如,如果“象牙是白的” 是真的(1),那么“象牙不是白的”必定是假的(0)。 + +读 者也许会问这么简单的理论能解决什么实际问题。布尔同时代的数学家们也 有同样的问题。事实上在布尔代数提出后 80 多年里,它确实没有什么像样的应用,直到 1938 年香农在他的硕士论文中指出用布尔代数来实现开关电路,才使 得布尔代数成为数字电路的基础。所有的数学和逻辑运算,加、减、乘、除、乘 方、开方等等,全部能转换成二值的布尔运算。 + +现在我们看看文献检索和布尔运算的关系。对于一个用户输入的关键词,搜索引 擎要判断每篇文献是否含有这个关键 词,如果一篇文献含有它,我们相应地给这篇文献一个逻辑值 -- 真(TRUE,或 1),否则,给一个逻辑值——假(FALSE, 或 0)。比如我们要找有关原子能应用的文献,但并不想知道如何造原子弹。我们可以这样写一个查询语句“原子能 AND 应用 AND (NOT 原子弹)”,表示符合 要求的文献必须同时满足三个条件: - 包含原子能 - 包含应用 - 不包含原子弹 + +一篇文献对于上面每一个条件,都有一个 True 或者 False 的答案,根据上述 真值表就能算出每篇文献是否是要找的。 + +早期的文献检索查询系统大多基于数据库,严格要求查询语句符合布尔运算。今 天的搜索引擎相比之下要聪明的多,它自动把用户的查询语句转换成布尔运算的算式。当然在查询时,不能将每篇文献扫描一遍,来看看它是否满足上面三个条 件,因此需要建立一个索引。 + +最简单索引的结构是用一个很长的二进制数表示一个关键字是否出现在每篇文献中。有多少篇文献,就有多少位数,每一位对应一篇文献,1 代表相应的文献有这个关键字,0 代表没有。比如关键字“原子能”对应的二进制数是 0100100001100001...,表示第二、第五、第九、第十、第十六篇文献包含着个 关键字。注 意,这个二进制数非常之长。同样,我们假定“应用”对应的二进 制数是 0010100110000001...。那么要找到同时包含“原子能”和“应用”的文 献时,只要将这两个二进制数进行布尔运算 AND。根据上面的真值表,我们知道运算结果是 0000100000000001...。表示第五篇,第十六篇文献满足要求。 + +注意,计算机作布尔运算是非常非常快的。现在最便宜的微机都可以一次进行三十二位布尔运算,一秒钟进行十亿次以上。当然,由于这些二进制数中绝大部分位数都是零,我们只需要记录那些等于 1 的位数即可。于是,搜索引擎的索 引就变成了一张大表:表的每一行对应一个关键词,而每一个关键词后面跟着一 + +-----------------------------------------------------Page 12----------------------------------------------------- + +组数字,是包含该关键词 的文献序号。 + +对于互联网的搜索引擎来讲,每一个网页就是一个文献。互联网的网页数量是巨大的,网络中所用的词也非常非常多。因此这个索引是巨大的,在万亿字节这个量级。早期的搜索引擎(比如 Alta Vista 以前的所有搜索引擎),由于受计算机速度和容量的限制,只能对重要的关键的主题词建立索引。至今很多学术杂 志还要求作者提供 3-5 个关键词。这样所有不常见的词和太常见的虚词就找不到了。现在,为了保证对任何搜索都能提供相关的网页,所有的搜索引擎都是对 所有的词进行索引。为了网页排名方便,索引中还需存有大量附加信息,诸如 每个词出现的位置、次数等等。因此,整个索引就变得非常之大,以至于不可能用一台计算机存下。大家普遍的做法 就是根据网页的序号将索引分成很多份(Shards),分别存储在不同的服务器中。每当接受一个查询时,这个查询就被分送到许许多多服务器中,这些服务器同时并行处理用户请求,并把结果送到 主服务器进行合并处理,最后将结果返回给用户。 + +不管索引如何复杂,查找的基本操作仍然是布尔运算。布尔运算把逻辑和数学联系起来了。它的最大好处是容易实现,速度快,这对于海量的信息查找是至关重要的。它的不足是只能给出是与否的判断,而不能给出量化的度量。因此,所有搜索引擎在内部检索完毕后,都要对符合要求的网页根据相关性排序,然后才返回给用户。 + +-----------------------------------------------------Page 13----------------------------------------------------- + +六、图论和网络爬虫(Web Crawlers) + +2006 年 5 月 15 日 上午 07:15:00 + +发表者: 吴军,Google 研究员 + +[ 离散数学 是当代数学的一个重要分支,也是计算机科学的数学基础。它包括数理逻辑、集合论、图论和近世代数四个分支。数理逻辑基于布尔运算,我们已经介绍过了。这里我们介绍图论和互联网自动下载工具网络爬虫 (Web Crawlers) 之间的关系。顺便提一句,我们用 Google Trends 来搜索一下“离散数学”这个词,可以发现不少有趣的现象。比如,武汉、哈尔滨、合肥和长沙市对这一数 学题目最有兴趣的城市。] + +我们上回谈到了如何建立搜索引擎的索引,那么如何自动下载互联网所有的网页呢,它要用到图论中的遍历(Traverse)算法。 + +图论的起源可追溯到大数学家欧拉(Leonhard Euler)。1736 年欧拉来到德国的哥尼斯堡(Konigsberg,大哲学家康德的故乡,现在是俄罗斯的加里宁格勒),发现当地市民们有一项消遣活动,就是试图将下图中的 每座桥恰好走过一遍并 回到原出发点,从来没有人成功过。欧拉证明了这件事是不可能的,并写了一篇论文,一般认为这是图论的开始。 + +图论中所讨论的的图由一些节点和连接这些节点的弧组成。如果我们把中国的 城市当成节点,连接城市的国道当成弧,那么全国的公路干线网就是图论中所说的图。关于图的算法有很多,但最重要的是图的遍历算法,也就是如何通过弧 访问图的各个节点。以中国公路网为例,我们从北京出发,看一看北京和哪些城市直接相连,比 如说和天津、济南、石家庄、南京、沈阳、大同直接相连。我们可以依次访问这些城市,然后我们看看都有哪些城市和这些已经访问过的城市 相连,比如说北戴河、秦皇岛与天津相连,青岛、烟台和济南相连,太原、郑州和石家庄相连等等,我们再一次访问北戴河这些城市,直到中国所有的城市都 + +-----------------------------------------------------Page 14----------------------------------------------------- + +访问过一遍为止。这种图的遍历算法称为“广度优先算法”(BFS),因为它先要尽可能广地访问每个节点所直接连接的其他节点。另外还有一种策略是从北京出发,随便找到下一个要访问的 城市,比如是济南,然后从济南出发到下一个城市,比如说南京,再访问从南京出发的城市,一直走到头。然后再往回找,看看中间是否有尚未访问的城市。这种方法叫“深度优先算法”(DFS),因为它是一条路走到黑。这两种方法都可以保证访问到全部的城市。当然,不论采用哪种方法,我们都应该用一个小本本,记录已经访问过的城市,以防同一个城市访问多次或者漏掉哪个城市。 + +现在我们看看图论的遍历算法和搜索引擎的关系。互联网其实就是一张大图,我们可以把每一个网页当作一个节点,把那些超链接(Hyperlinks)当作连接网页 的弧。很多读者可能已经注意到,网页中那些蓝色的、带有下划线的文字 背后 其实藏着对应的网址,当你点下去的的时候,浏览器是通过这些隐含的网址转到 相应的网页中的。这些隐含在文字背后的网址称为“超链接”。有了超链接,我们可以从任何一个网页出发,用图的遍历算法,自动地访问到每一个网页并把它 们存起来。完成这个功能的程序叫做网络爬虫,或者在一些文献中称为“机器人”(Robot)。世 界上第一个网络爬虫是由麻省理工学院(MIT)的学生马休·格雷(Matthew Gray)在 1993 年写成的。他给他的程序起了个名字叫“互联网漫游者”(www wanderer)。以后的网络爬虫越写越复杂,但原理是一样的。 + +我们来看看网络爬虫如何下载整个互联网。假定我们从一家门户网站的首页出发,先下载这个网页,然后通过分析这个网页,可以找到藏在它里面的所有超链接,也就等于知道了这家门户网站首页所直接连接的全部网页,诸如雅虎邮件、雅虎财经、雅虎新闻等等。我们接下来访问、下载并分析这家门户网站的邮件等 网页,又能找到其他相连的网页。我们让计算机不停地做下去,就能下载整个的互联网。当然,我们也要记载哪个网页下载过了,以免重复。在网络爬虫中,我们使用一个称为“哈希表”(Hash Table)的列表而不是一个记事本纪录网页是否下载过的信息。 + +现在的互联网非常巨大,不可能通过一台或几台计算机服务器就能完成下载任务。比如雅虎公司(Google 没有公开公布我们的数目,所以我这里举了雅虎的索引大小为例)宣称他们索引了 200 亿个网页,假如下载一个网页需要一秒钟,下载这 200 亿个网页则需要 634 年。因此,一个商业的网络爬虫需要有成千上万个服务器,并且由快速网络连接起来。如何建立这样复杂的网络系统,如何协调这些服务器的任务,就是网络设计和程序设计的艺术了。 + +-----------------------------------------------------Page 15----------------------------------------------------- + +七、信息论在信息处理中的应用 + +我们已经介绍了 信息熵 ,它是信息论的基础,我们这次谈谈信息论在自然语言处理中的应用。 + +先看看信息熵和语言模型的关系。我们在 系列一 中 谈到语言模型时,没有讲如何定量地衡 量一个语言模型的好坏,当然,读者会很自然地想到,既然语言模型能减少语音识别和机器 翻译的错误,那么就拿一个语音识别系统或者机器翻译软件来试试,好的语言模型必然导致错误率较低。这种想法是对的,而且今天的语音识别和机器翻译也是这么做的。但这种测 试方法对于研发语 言模型的人来讲,既不直接、又不方便,而且很难从错误率反过来定量度量语言模型。事实上,在贾里尼克(Fred Jelinek)的人研究语言模型时,世界上既没有像样的语音识别系统,更没有机器翻译。我们知道,语言模型是为了用上下文预测当前的文字,模型越好,预测得越准,那么当前文字的不确定性就越小。 + +信息熵正是对不确定性的衡量,因此信息熵可以直接用于衡量统计语言模型的好坏。贾里尼克从信息熵出发,定义了一个称为语言模型复杂度(Perplexity)的概念,直接衡量语言模 型的好坏。一个模型的复杂度越小,模型越好。李开复博士在介绍他发明的 Sphinx 语音识别系统时谈到,如果不用任何语言模型(即零元语言模型)时,复杂度为 997,也就是说句 子中每个位置有 997 个可能的单词可以填入。如果(二元)语言模型只考虑前后词的搭配不考虑搭配的概率时,复杂度为 60 。虽然它比不用语言模型好很多,但是和考虑了搭配概率的二元语言模型相比要差很多,因为后者的复杂度只有 20 。 + +信息论中仅次于熵的另外两个重要的概念是“互信息”(Mutual Information)和“相对熵”(Kullback-Leibler Divergence)。 + +“互信息”是信息熵的引申概念,它是对两个随机事件相关性的度量。比如说今天随机事件北京下雨和随机变量空气湿度的相关性就很大,但是和姚明所在的休斯敦火箭队是否能赢公牛队几乎无关。互信息就是用来量化度量这种相关性的。在自然语言处理中,经常要度量 一些语言现象的相关性。比如在机器翻译中,最难的问题是词义的二义性(歧义性)问题。比如 Bush 一词可以是美国总统的名字,也可以是灌木丛。(有一个笑话,美国上届总统候选人凯里 Kerry 的名字被一些机器翻译系统翻译成了“爱尔兰的小母牛”,Kerry 在英语中另外一个意思)那么如何正确地翻译这个词呢?人们很容易想到要用语法、要分析语句等等。 其实,至今为止,没有一种语法能很好解决这个问题,真正实用的方法是使用互信息。具体的解决 办法大致如下:首先从大量文本中找出和总统布什一起出现的互信息最大的一些词,比如总统、美国、国会、华盛顿等等,当然,再用同样的方法找出和灌木丛一起出现的互信息最大的词,比如土壤、植物、野生等等。有了这两组词,在翻译 Bush 时,看看上下文中哪类相关的词多就可以了。这种方法最初是由吉尔(Gale),丘奇(Church)和雅让斯基(Yarowsky)提出的。 + +当时雅让斯基在宾西法尼亚大学是自然语言处理大师马库斯(Mitch Marcus)教授的博士生,他很多时间泡在贝尔实验室丘奇等人的研究室里。也许是急于毕业,他在吉尔等人的帮助下想出了一个最快也是最好地解决翻译中的二义性,就是上述的方法,这个看上去简单的方法效果好得让同行们大吃一惊。雅让斯基因而只花了三年就从马库斯那里拿到了博士,而他的师兄弟们平均要花六年时间。 + +-----------------------------------------------------Page 16----------------------------------------------------- + +信息论中另外一个重要的概念是“相对熵”,在有些文献中它被称为成“交叉熵”。在英语中是 Kullback-Leibler Divergence , 是以它的两个提出者库尔贝克和莱伯勒的名字命名的。相对熵用来衡量两个正函数是否相似,对于两个完全相同的函数,它们的相对熵等于零。在自然语言处理中可 以用相对熵来衡量两个常用词(在语法上和语义上)是否同义,或者两篇文章的内容是否相近等等。利用相对熵,我们可以到处信息检索中最重要的一个概念:词频率——逆向文档频率(TF/IDF) 。我们下回会介绍如何根据相关性对搜索出的网页进行排序,就要用的餐 TF/IDF 的概念。另外,在新闻的分类中也要用到相对熵和 TF/IDF 。 + +对信息论有兴趣又有一定数学基础的读者,可以阅读斯坦福大学托马斯·科弗(Thomas Cover)教授的专著“信息论基础”(Elements of Information Theory)。 + +科弗教授是当今最权威的信息论专家。 + +-----------------------------------------------------Page 17----------------------------------------------------- + +八、贾里尼克的故事和现代语言处理 + +2006 年 6 月 8 日 上午 09:15:00 + +发表者:Google 研究员,吴军 + +读者也许注意到了,我们在前面的系列中多次提到了贾里尼克这个名字。事实上,现代语音识别和自然语言处理确实是和它的名字是紧密联系在一起的。我想在这回的系列里,介绍贾里尼克本人。在这里我不想列举他的贡献,而想讲一讲他作为一个普普通通的人的故事。这些事要么是我亲身经历的,要么是他亲口对我讲的。 + +弗莱德里克.贾里尼克(Fred Jelinek)出生于捷克一个富有的犹太家庭。他的父 母原本打算送他去英国的公学(私立学校)读书。为了教他德语,还专门请的一位德国的家庭女教师,但 是第二次世界大战完全打碎了他们的梦想。他们先是被从家中赶了出去,流浪到布拉格。他的父亲死在了集中营,弗莱德自己成天在街上玩耍,完全荒废了学业。二战后,当他再度回到学校时,他的成绩一塌糊涂,全部是 D,但是很快他就赶上了班上的同学。不过,他在小学时从来没有得过 A。1949 年,他的母亲带领全家移民美国。在美国,贾里尼克一家生活非常贫困,全家基本是靠母亲做点心卖钱为生,弗莱德自己十四五岁就进工厂打工 补助全 家。 + +贾里尼克最初想成为一个律师,为他父亲那样的冤屈者辩护,但他很快意识到他 那浓厚的外国口音将使他在法庭上的辩护很吃力。贾里 尼克的第二个理想是成 为医生,他想进哈佛大学医学院,但经济上他无法承担医学院 8 年高昂的学费。 与此同时麻省理工学院给于了他一份(为东欧移民设的)全额奖学金。贾里尼克决定到麻省理工学电机工程。在那里,他遇到了信息论的鼻祖香农博士,和语言学大师贾格布森 Roman Jakobson(他提出了著名的通信六功能)[注释一], 后来贾里尼克又陪着太太听最伟大的语言学家乔姆斯基(Noam Chomsky)的课。这三位大师对贾里尼克今后的研究方向——利用信息论解决语言问题产生的重要影响。 + +贾里尼克从麻省理工获得博士学位后,在哈佛大学教了一年书,然后到康乃尔大学任教。他之所以选择康乃尔大学,是因为找工作时和那里的一位语言学家谈得颇为投机。当时那位教授表示愿意和贾里尼克在利用信息论解决语言问题上合作。但是,等贾里尼克到康乃尔以后,那位教授表示对语言学在没有兴趣而转向写歌剧了。贾里尼克对语言学家的坏印象从此开始。加上后来他在 IBM 时发现语言学家们嘴上头头是道,干起活来高不成低不就,对语言学家从此深恶痛绝。他甚至说:“我每开除一名语言学家,我的语音识别系统错误率就降低一个百分点。”这句话后来在业界广为流传,为每一个搞语音识别和语言处理的人所熟知。 + +贾里尼克在康乃尔十年磨一剑,潜心研究信息论,终于悟 出了自然语言处理的 真谛。1972年,贾里尼克到IBM 华生实验室(IBM T.G.Wat + +-----------------------------------------------------Page 18----------------------------------------------------- + +son Labs)做学术休假,无意中领导了语音识别实验室,两年后他在康 乃尔和IBM 之间选择了留在IBM。在那里,贾里尼克组建了阵容空前绝后强大的研究队伍,其中包括他的著名搭档波尔(Bahl),著名的语音识别 Dragon 公司的创始人贝克夫妇,解决最大熵迭代算法的达拉皮垂(Della Pietra)孪生兄 弟,BCJR 算法的另外两个共同提出者库克(Cocke)和拉维夫(Raviv),以及第一个提出机器翻译统计模型的布朗。 + +七十年代的 IBM 有点像九十年代的微软和今天的 Google, 给于杰出科学家作 任何有兴趣研究的自由。在那种宽松的环境里,贾里尼克等人提出了统计语音识别的框架结构。在贾里尼克以前,科学家们把语音识别问题当作人工智能问题和模式匹配问题。而贾里尼克把它当成通信问题,并用两个隐含马尔可夫模型(声学模型和语言模型)把语音识别概括得清清楚楚。这个框架结构对至今的语音 和语言处理有着深远的影响,它从根本上使得语音识别有实用的可能。 贾里尼 克本人后来也因此当选美国工程院院士。 + +贾里尼克和波尔,库克以及拉维夫对人类的另一大贡献是 BCJR 算法,这是今天 数字通信中应用的最广的两个算法之一(另一个是维特比算法)。有趣的是,这个算法发明了二十年后,才得以广泛应用。IBM 于是把它列为了 IBM 有史以来 对人类最大贡献之一,并贴在加州 Amaden 实现室墙上。遗憾的是 BCJR 四个人已经全部离开 IBM,有一次IBM 的通信部门需要用这个算法,还得从斯坦福大学请一位专家去讲解,这位专家看到 IBM 橱窗里的成就榜,感慨万分。 + +贾里尼克和 IBM 一批最杰出的科学家在九十年代初离开了 IBM,他们大多数在华尔街取得了巨大的成功。贾里尼克的书生气很浓,于是去约翰霍普金斯大学建立了世界著名的 CLSP 实验室。每年夏天,贾里尼克邀请世界上 20-30 名顶级 的科学家和学生到 CLSP 一起工作,使得 CLSP 成为世界上语音和语言处理的中 心之一。 + +贾里尼克治学极为严谨,对学生要求也极严。他淘汰学生的比例极高,即使留下来的,毕业时间也极长。但是,另一方面,贾里尼克也千方百计利用自己的影响力为学生的学习和事业创造方便。贾里尼克为组里的每一位学生提供从进组第 一天到离开组最后一天全部 的学费和生活费。他还为每一位学生联系实习机会, 并保证每位学生在博士生阶段至少在大公司实习一次。从他那里拿到博士学位的学生,全部任职于著名实验室,比如IBM, 微软,AT&T 和 Google 的实验室。为了提高外国人的英语水平,贾里尼克用自己的经费为他们请私人英语教师。 + +贾里尼克生活俭朴,一辆老式丰田车开了二十多年,比组里学生的车都破。他每年都邀请组里的学生和教授到家里做客,很多毕业了的学生也专程赶来聚会。在那里,他不再谈论学术问题,而会谈些巩俐的电影(他太太是哥伦比亚大学 电影专业的教授),或是某著名教授被拉斯韦加斯的赌馆定为不受欢迎的人等等。但是他聚会的食物实在难吃,无非是些生胡萝卜和芹菜。后来贾里尼克掏钱让系里另一个教授承办聚会,那个教授每次请专业大厨在家作出极丰盛的晚宴,并 准备许多美酒,从此这种聚会就转移到那个教授家了。 + +-----------------------------------------------------Page 19----------------------------------------------------- + +除了巩俐的电影,贾里尼克对中国的了解就是清华大学和青岛啤酒了。他有时会 把两个名字搞混,有两次被香港科技大学的 Pascale 冯教授抓住。 + +贾里尼克说话心直口快,不留余地。在他面前谈论学术一定要十分严谨,否则很容易被他抓住辫子。除了刚才提到的对语言学家略有偏见的评论,他对许多世界级的大师都有过很多“刻薄”但又实事求是的评论,这些评论在业界广为流传。贾里尼克在四十多年的学术生涯中居然没有得罪太多的人,可以说是一个奇迹。 + +注释一: + +贾格布森的通信模型 1 上下文 2 + +信息 3 + +发送着 --------------- 4 接收者 5 + +信道 + +6 编码 + +-----------------------------------------------------Page 20----------------------------------------------------- + +九、如何确定网页和查询的相关性 + +2006 年 6 月 27 日 上午 09:53:00 + +发表者:吴军,Google 研究员 + +[我们已经谈过了如何自动下载网页、如何建立索引、如何衡量网页的质量(Page Rank)。我们今天谈谈如何确定一个网页和某个查询的相关性。了解了这四个方面,一个有一定编程基础的读者应该可以写一个简单的搜索引擎了,比如为您所 在的学校或院系建立一个小的搜索引擎。] + +我们还是看上回的例子,查找关于“原子能的应用”的网页。我们第一步是在索引中找到包含这三个词的网页(详见关于布尔运算的系列)。现在任何一个搜索引擎都包含几十万甚至是上百万个多少有点关系的网页。那么哪个应该排在前面 呢?显然我们应该根据网页和查询“原子能的应用”的相关性对这些网页进行排序。因此,这里的关键问题是如何度量网页和查询的相关性。 + +我们知道,短语“原子能的应用”可以分成三个关键词:原子能、的、应用。根据我们的直觉,我们知道,包含这三个词多的网页应该比包含它们少的网页相关。当然,这个办法有一个明显的漏洞,就是长的网页比短的网页占便宜,因 为长的网页总的来讲包含的关键词要多些。因此我们需要根据网页的长度,对关 键词的次数进行归一化,也就是用关键词的次数除以网页的总字数。我们把这个商称为“关键词的频率”,或者“单文本词汇频率”(Term Frequency),比如,在某个一共有一千词的网页中“原子能”、“的”和“应用”分别出现了 2 次、35 次和 5 次,那么它们的词频就分别是 0.002、0.035 和 0.005。 我们将这三个数相加,其和 0.042 就是相应网页和查询“原子能的应用” + +相关性的一个简单的度量。概括地讲,如果一个查询包含关键词 w1,w2,...,wN, 它们在一篇特定网页中的词频分别是: TF1, TF2, ..., TFN 。(TF: term frequency)。那么,这个查询和该网页的相关性就是: TF1 + TF2 + ... + TFN。 + +读者可能已经发现了又一个漏洞。在上面的例子中,词“的”站了总词频的 80% 以上,而它对确定网页的主题几乎没有用。我们称这种词叫“应删除词” (Stopwords),也就是说在度量相关性是不应考虑它们的频率。在汉语中,应删除词还有“是”、“和”、“中”、“地”、“得”等等几十个。忽略这些应删除词后,上述网页的相似度就变成了 0.007,其中“原子能”贡献了 0.002,“应用”贡献了 0.005。 + +细心的读者可能还会发现另一个小的漏洞。在汉语中,“应用”是个很通用的词, 而“原子能”是个很专业的词,后者在相关性排名中比前者重要。因此我们需要给汉语中的每一个词给一个权重,这个权重的设定必须满足下面两个条件: + +1. 一个词预测主题能力越强,权重就越大,反之,权重就越小。我们在网页中 + +-----------------------------------------------------Page 21----------------------------------------------------- + +看到“原子能”这个词,或多或少地能了解网页的主题。我们看到“应用”一次, 对主题基本上还是一无所知。因此,“原子能“的权重就应该比应用大。 + +2. 应删除词的权重应该是零。 + +我们很容易发现,如果一个关键词只在很少的网页中出现,我们通过它就容易锁定搜索目标,它的权重也就应该大。反之如果一个词在大量网页中出现,我们 看到它仍 然不很清楚要找什么内容,因此它应该小。概括地讲,假定一个关键 词 w 在 Dw 个网页中出现过,那么 Dw 越大,w 的权重越小,反之亦然。 在信息检索中,使用最多的权重是“逆文本频率指数”(Inverse document frequency 缩写为IDF),它的公式为log(D/Dw)其中D是全部网页 数。比如,我们假定中文网页数是D=10亿,应删除词“的”在所有的网页中 都出现,即Dw =10亿,那么它的IDF=log(10 亿/10 亿)= log (1) = 0。假如专用词“原子能”在两百万个网页中出现,即Dw=200万,则它的权重 IDF=log(500) =6.2。又假定通用词“应用”,出现在五亿个网页中,它的权重IDF = log(2) + +则只有 0.7。也就只说,在网页中找到一个“原子能”的比配相当于找到九个“应用”的匹配。利用 IDF,上述相关性计算个公式就由词频的简单求和变成了 加权求和,即 TF1*IDF1 + TF2*IDF2 +... + TFN*IDFN。在上面的例子中,该 网页和“原子能的应用”的相关性为 0.0161,其中“原子能”贡献了 0.0126, 而“应用”只贡献了 0.0035。这个比例和我们的直觉比较一致了。 + +TF/IDF(term frequency/inverse document frequency) 的概念被公认 为信息检索中最重要的发明。在搜索、文献分类和其他相关领域有广泛的应用。讲起 TF/IDF 的历史蛮有意思。IDF 的概念最早是剑桥大学的斯巴克-琼斯[注: 她有两个姓](Karen Sparck Jones)提出来的。斯巴克-琼斯 1972 年在一篇题为关键词特殊性的统计解释和她在文献检索中的应用的论文中提出IDF。遗憾的是,她既没有从理论上解释为什么权重IDF 应该是对数函数 lo g(D/Dw)(而不是其它的函数,比如平方根),也没有在这个题目上作进一步深入研究,以至于在以后的很多文献中人们提到 TF/IDF 时没有引用 她的论文,绝大多数人甚至不知道斯巴克-琼斯的贡献。同年罗宾逊写了个两页纸的解释,解释得很不好。倒是后来康乃尔大学的萨尔顿(Salton)多次写文章、写书讨论 TF/IDF 在信息检索中的用途,加上萨尔顿本人的大名(信息检索的世界大奖就是以萨尔顿的名字命名的)。很多人都引用萨尔顿的书,甚至以为这个信息检索中最重要的概念是他提出的。当然,世界并没有忘记斯巴克-琼斯的贡献,2004 年,在纪念文献学学报创刊 60 周年之际,该学报重印了斯巴克-琼斯的大作。罗宾逊在同期期刊上写了篇文章,用香农的信息论解释 IDF,这回的解释是对的,但文章写的并不好、非常冗长(足足十八页),把一个简单问题搞复杂了。其实,信息论的学者们已经发现并指出,其实 IDF 的概念就是一个特定条件下、关键词的概率分布的交叉熵(Kullback-Leibler Divergence)(详见上一系列)。这样,信息检索相关性的度量,又回到了信息论。 + +现在的搜索引擎对 TF/IDF 进行了不少细微的优化,使得相关性的度量更加准确了。当然,对有兴趣写一个搜索引擎的爱好者来讲,使用 TF/IDF 就足够了。 + +-----------------------------------------------------Page 22----------------------------------------------------- + +如果我们结合上网页排名(Page Rank),那么给定一个查询,有关网页综合排名 大致由相关性和网页排名乘积决定。 + +-----------------------------------------------------Page 23----------------------------------------------------- + +十、有限状态机和地址识别 + +2006 年 7 月 5 日 上午 09:09:00 + +发表者:吴军,Google 研究员 + +地址的识别和分析是本地搜索必不可少的技术,尽管有许多识别和分析地址的方法,最有效的是有限状态机。 + +一个有限状态机是一个特殊的有向图(参见有关图论的系列),它包括一些状态(节点)和连接这些状态的有向弧。下图是一个识别中国地址的有限状态机的简 单的例子。 + +每一个有限状态机都有一个启始状态和一个终止状态和若干中间状态。每一条弧上带有从一个状态进入下一个状态的条件。比如,在上图中,当前的状态是 “省”,如 果遇到一个词组和(区)县名有关,我们就进入状态“区县”;如果遇到的下一个词组和城市有关,那么我们就进入“市”的状态,如此等等。如 果一条地址能从状 态机的起始状态经过状态机的若干中间状态,走到终止状态, 那么这条地址则有效,否则无效。比如说,“北京市双清路 83 号”对于上面的 有限状态来讲有效,而 “上海市辽宁省马家庄”则无效(因为无法从市走回到 省)。 + +使用有限状态机识别地址,关键要解决两个问题,即通过一些有效的地址建立状态机,以及给定一个有限状态机后,地址字串的匹配算法。好在这两个问题都有现成的算法。有了关于地址的有限状态机后,我们就可又用它分析网页,找出网页中的 地址部分,建立本地搜索的数据库。同样,我们也可以对用户输入的查询进行分析,挑出其中描述地址的部分,当然,剩下的关键词就是用户要找的内容。比如,对于用户输入的“北京市双清路附近的酒家”,Google 本地会自 动识别出地址“北京市双清路”和要找的对象“酒家”。 + +-----------------------------------------------------Page 24----------------------------------------------------- + +上述基于有限状态 机的地址识别方法在实用中会有一些问题:当用户输入的地 址不太标准或者有错别字时,有限状态机会束手无策,因为它只能进行严格匹配。(其实,有限状态机在 计算机科学中早期的成功应用是在程序语言编译器的设 计中。一个能运行的程序在语法上必须是没有错的,所以不需要模糊匹配。而自然语言则很随意,无法用简单的语法描述。) + +为了解决这个问题,我们希望有一个能进行模糊匹配、并给出一个字串为正确地 址的可能性。为了实现这一目的,科学家们提出了基于概率的有限状态机。这种基于概率的有限状态机和离散的马尔可夫链(详见前面关于 马尔可夫模型 的系 列)基本上等效。 + +在八十年代以前,尽管有不少人使用基于概率的有限状态机,但都是为自己的 应用设计专用的有限状态机的程序。九十年代以后,随着有限状态机在自然语言处理的广 泛应用,不少科学家致力于编写通用的有限状态机程序库。其中,最成功的是前 AT&T 实验室的三位科学家,莫瑞(Mohri), 皮瑞尔(Pereira) 和 瑞利(Riley)。他们三人花了很多年时间,编写成一个通用的基于概率的有限 状态机 C 语言工具库。由于 AT&T 有对学术界免费提供各种编程工具的好传统, 他们三人也把自己多年的心血拿出来和同行们共享。可惜好景不长,AT&T 实验 室风光不再,这三个人都离开了 AT&T,莫瑞成了纽约大学的教授,皮瑞尔当了宾西法尼亚大学计算机系系主任,而瑞利成了 Google 的研究员,AT&T 实验室的新东家不再免费提供有限状态机 C 语言工具库。虽然此前莫瑞等人公布了他们的详细算法,但是省略了实现的细节。因此在学术界,不少科学家能够重写同样功能的工具库,但是很难达到 AT&T 工具库的效率(即运算速度),这的确是一件令人遗憾的事。 + +-----------------------------------------------------Page 25----------------------------------------------------- + +十一、Google 阿卡 47 的制造者阿米特·辛格博士 + +2006 年 7 月 10 日 上午 09:52:00 + +发表者:Google 研究员,吴军 + +枪迷或者看过尼古拉斯·凯奇(Nicolas Cage)主演的电影“战争之王”(Lord of War)的人也许还记得影片开头的一段话:(在所有轻武器中)最有名的是阿卡47(AK47)冲锋枪(也就是中国的五六式冲锋枪的原型),因为它从不卡壳、从不损坏、可在任何环境下使用、可靠性好、杀伤力大并且操作简单。 + +我认为,在计算机中一个好的算法,应该向阿卡 47 冲锋枪那样简单、有效、可靠性好而且容易读懂(或者说易操作),而不应该是故弄玄虚。Google 的杰出工程师阿米特.辛格博士 (Amit Singhal)就是为 Google 设计阿卡 47 冲锋枪 的人,在公司内部,Google 的排序算法便是以他的名字命名的。 + +从加入 Google 的第一天,我就开始了和辛格长期而愉快的合作,而他一直是我的一个良师益友。辛格、Matt Cutts(中国一些用户误认为他是联邦调查局特工,当然他不是)、马丁和我四个人当时一同研究和解决网络搜索中的作弊问题(Spam)。我们需要建一个分类器,我以前一直在学术界工作和学习,比较倾向找一个很漂亮的解决方案。我设计了一个很完美的分类器,大约要花三个月到半 年时间来实现和训练,而辛格认为找个简单有效的办法就行了。我们于是尽可能简化问题,一、两个月就把作弊的数量减少了一半。当时我们和公司工程副总 裁罗森打了个赌,如果我们能减少 40% 的作弊,他就送我们四个家庭去夏威夷度假,后来罗森真的履约了。这个分类器设计得非常小巧(只用很小的内存), 而且非常快速(几台服务器就能处理全球搜索的分类),至今运行得很好。 + +后来我和辛格一起又完成了许多项目,包括对中、日、韩文排名算法的改进。每一次,辛格总是坚持找简单有效的解 决方案。这种做法在 Google 这个人才济济的公司常常招人反对,因为很多资深的工程师怀疑这些简单方法的有效性。不少人试图用精确而复杂的办法对辛格的设计的各种“阿卡 47”进行改进,后来发现几乎所有时候,辛格的简单方法都接近最优化的解决方案,而且还快得多。 另一条选择简单方案的原因是这样设计的系统很容易查错(debug)。 + +当然,辛格之所以总是能找到那些简单有效的方法,不是靠直觉,更不是撞大运,而是靠他丰富的研究经验。辛格早年从师于搜索大师萨尔顿(Salton)教授,毕业后就职于 AT&T 实验室。在那里,他和两个同事半年就搭起了一个中等规模的搜索引擎,这个引擎索引的网页数量虽然无法和商用的引擎相比,但是准确性却非常好。在 AT&T,他对搜索问题的各个细节进行了仔细的研究,他的那些简单 而有效的解决方案,常常是深思熟虑去伪存真的结果。 + +辛格非常鼓励年轻人不怕失败,大胆尝试。一次一位刚毕业不久的工程师因为把带有错误的程序推出到 Google 的服务器上而惶惶不可终日。辛格安慰她讲, + +-----------------------------------------------------Page 26----------------------------------------------------- + +你知道,我在 Google 犯的最大一次错误是曾经将所有网页的相关性得分全部变成了零,于是所有搜索的结果全部是随机的了。这位工程师后来为 Google 开发 了很多好的产品。 + +辛格在 AT&T 时确立了他在学术界的地位,但是,他不是一个满足于做实验写论文的人,于是他离开了实验室来到了当时只有百、十人的 Google。在这里,他得以施展才智,重写了 Google 的排名算法,并且一直在负责改进它。辛格因为舍不得放下两个孩子,很少参加各种会议,但是他仍然被学术界公认为是当今 最权威的网络搜索专家。2005 年,辛格作为杰出校友被请回母校康乃尔大学计算机系在 40 年系庆上作报告,获得这一殊荣的还有大名鼎鼎的美国工程院院士,计算机独立磁盘冗余阵列(RAID)的发明人凯茨(Randy Katz)教授。 + +-----------------------------------------------------Page 27----------------------------------------------------- + +十二、余弦定理和新闻的分类 + +2006 年 7 月 20 日 上午 10:12:00 + +发表者:吴军,Google 研究员 + +余弦定理和新闻的分类似乎是两件八杆子打不着的事,但是它们确有紧密的联系。具体说,新闻的分类很大程度上依靠余弦定理。 + +Google 的新闻是自动分类和整理的。所谓新闻的分类无非是要把相似的新闻放到一类中。计算机其实读不懂新闻,它只能快速计算。这就要求我们设计一个算法来算出任意两篇新闻的相似性。为了做到这一点,我们需要想办法用一组数字来描述一篇新闻。 + +我们来看看怎样找一组数字,或者说一个向量来描述一篇新闻。回忆一下我们在“如何度量网页相关性”一文中介绍的 TF/IDF 的概念。对于一篇新闻中的所有实词,我们可以计算出它们的单文本词汇频率/逆文本频率值(TF/IDF)。不难想象,和新闻主题有关的那些实词频率高,TF/IDF 值很大。我们按照这些实词在词汇表的位置对它们的 TF/IDF 值排序。比如,词汇表有六万四千个词,分别为 + +单词编号 汉字词 + +----------------- - 1 阿 2 啊 + +3 阿斗 4 阿姨 ... + +789 服 装 .... + +64000 做作 + +在 一篇新闻中,这 64,000 个词的 TF/IDF 值分别为 + +单 词编号 TF/IDF 值 ============== 1 0 + +2 0.0 034 3 0 + +4 0.0 0052 5 0 ... + +789 0 .034 ... + +-----------------------------------------------------Page 28----------------------------------------------------- + +64000 0.075 + +如果单词表中的某个次在新闻中没有出现,对应的值为零,那么这 64,000 个数,组成一个 64,000 维的向量。我们就用这个向量来代表这篇新闻,并成为新闻的特征向量。如果两篇新闻的特征向量相近,则对应的新闻内容相似,它们应当归在一类,反之亦然。 + +学过向量代数的人都知道,向量实际上是多维空间中有方向的线段。如果两个向量的方向一致,即夹角接近零,那么这两个向量就相近。而要确定两个向量方向是否一致,这就要用到余弦定理计算向量的夹角了。 + +余弦定理对我们每个人都不陌生,它描述了三角形中任何一个夹角和三个边的关系,换句话说,给定三角形的三条边,我们可以用余弦定理求出三角形各个角的角度。假定三角形的三条边为 a, b 和 c,对应的三个角为 A, B 和 C,那么角 A 的余弦 -- + +如果我们将三角形的两边 b 和 c 看成是两个向量,那么上述公式等价于 + +其中分母表示两个向量 b 和 c 的长度,分子表示两个向量的内积。举一个具体的例子,假如新闻 X 和新闻 Y 对应向量分别是 x1,x2,...,x64000 和 y1,y2,...,y64000, + +那么它们夹角的余弦等 于, + +当两条新闻向量夹角的余弦等于一时,这两条新闻完全重复(用这个办法可以删除重复的网页);当夹角的余弦接近于一时,两条新闻相似,从而可以归成一类;夹角的余弦越小,两条新闻越不相关。 + +-----------------------------------------------------Page 29----------------------------------------------------- + +我们在中学学习余弦定理时,恐怕很难想象它可以用来对新闻进行分类。在这里, 我们再一次看到数学工具的用途。 + +-----------------------------------------------------Page 30----------------------------------------------------- + +十三、信息指纹及其应用 + +2006 年 8 月 3 日 上午 11:17:00 + +发表者:吴军,Google 研究员 + +任何一段信息文字,都可以对应一个不太长的随机数,作为区别它和其它信息的指纹(Fingerprint)。只要算法设计的好,任何两段信息的指纹都很难重复,就如同人类的指纹一样。信息指纹在加密、信息压缩和处理中有着广泛的应用。 + +我们在图论和网络爬虫一文中提到,为了防止重复下载同一个网页,我们需要在哈希表中纪录已经访问过的网址(URL)。但是在哈希表中以字符串的形式直接存储网址,既费内存空间,又浪费查找时间。现在的网址一般都较长,比如,如果在 Google 或者百度在查找数学之美,对应的网址长度在一百个字符以上。下面是百度的链接 + +m/s?ie=gb2312&bs=%CA%FD%D1%A7%D6%AE%C3%C0&sr=& z=&cl=3&f=8 + +&wd=%CE%E2%BE%FC+%CA%FD%D1%A7%D6%AE%C3%C0&ct=0 + +假定网址的平均长度为一百个字符,那么存贮 200 亿个网址本身至少需要 2 TB,即两千 GB 的容量,考虑到哈希表的存储效率一般只有 50%,实际需要的内 存在 4 TB以上。即使把这些网址放到了计算机的内存中,由于网址长度不固定, 以字符串的形式查找的效率会很低。因此,我们如果能够找到一个函数,将这 200 亿个网址随机地映射到 128 二进位即 16 个字节的整数空间,比如将上面那个 很长的字符串对应成一个如下的随机数: + +893249432984398432980545454543 + +这样每个网址只需要占用 16 个字节而不是原来的一百个。这就能把存储网址的内存需求量降低到原来的 1/6。这个 16 个字节的随机数,就称做该网址的信息指纹(Fingerprint)。可以证明,只要产生随机数的算法足够好,可以保证几乎不可能有两个字符串的指纹相同,就如同不可能有两个人的指纹相同一样。由于指纹是固定的 128 位整数,因此查找的计算量比字符串比较小得多。网络爬虫在下载网页时,它将访问过的网页的网址都变成一个个信息指纹,存到哈希表中,每当遇到一个新网址时,计算机就计算出它的指纹,然后比较该指纹是否已经在哈希表中,来决定是否下载这个网页。这种整数的查找比原来字符串查 找,可以快几倍到几十倍。 + +产生信息指纹的关键算法是伪随机数产生器算法(prng)。最早的 prng 算法是 由计算机之父冯诺伊曼提出来的。他的办法非常简单,就是将一个数的平方掐头去尾,取中间的几位数。比如一个四位的二进制数 1001(相当于十进制的 9),其平方为 01010001(十进制的 81)掐头去尾剩下中间的四位 0100。当然这种 + +-----------------------------------------------------Page 31----------------------------------------------------- + +方法产生的数字并不很随机,也就是说两个不同信息很有可能有同一指纹。现在常用的 MersenneTwister 算法要好得多。 + +信息指纹的用途远不止网址的消重,信息指纹的的孪生兄弟是密码。信息指纹的一个特征是其不可逆性, 也就是说, + +无法根据信息指纹推出原有信息,这种性质,正是网络加密传输所需要的。比如说,一个网站可以根据用户的Cookie 识别不同用户,这个 cookie 就是信息指纹。但是网站无法根据信息指纹了解用户的身份,这样就可以保护用户的隐私。在互联网上,加密的可靠性,取决于是否很难人为地找到拥有同一指纹的信息, + +比如一个黑客是否能随意产生用户的 + cookie 。 从 加 密 的 角 度 讲 + +MersenneTwister,算法并不好,因为它产生的随机数有相关性。 + +互 联网上加密要用基于加密伪随机数产生器(csprng)。常用的算法有 MD5 或 者 SHA1 等标准,它们可以将不定长的信息变成定长的 128 二进位或者 160 二进位随机数。值得一提的事,SHA1 以前被认为是没有漏洞的,现在已经被中国 的王小云教授证明存在漏洞。但是大家不必恐慌, 因为这和黑客能真正攻破你的注册信息是还两回事。 + +信息指纹的虽然历史很悠久,但真正的广泛应用是在有了互联网以后,这几年才 渐渐热门起来。 + +-----------------------------------------------------Page 32----------------------------------------------------- + +十四、谈谈数学模型的重要性 + +2006 年 8 月 9 日 上午 09:12:00 + +发表者:吴军,Google 研究员 + +[注:一直关注数学之美系列的读者可能已经发现,我们对任何问题总是在找相 应的准确的数学模型。为了说明模型的重要性,今年七月份我在 Google 中国内部讲课时用了整整一堂课来讲这个问题,下面的内容是我讲座的摘要。] + +在包括哥白尼、伽利略和牛顿在内的所有天文学家中,我最佩服的是地心说的提出者托勒密。虽然天文学起源于古埃及,并且在古巴比伦时,人们就观测到了五大行星(金、木、水、火、土)运行的轨迹,以及行星在近日点运动比远日点快。(下图是在地球上看到的金星的轨迹,看过达芬奇密码的读者知道金星大约每四年在天上画一个五角星) + +但是真正创立了天文学,并且计算出诸多天体运行轨迹的是两千年前古罗马时代的托勒密。虽然今天我们可能会嘲笑托勒密犯的简单的错误,但是真正了解托勒密贡献的人都会对他肃然起敬。托勒密发明了球坐标,定义了包括赤道和零度经线在内的经纬线,他提出了黄道,还发明了弧度制。 + +当然,他最大也是最有争议的发明是地心说。虽然我们知道地球是围绕太阳运动的,但是在当时,从人们的观测出发,很容易得到地球是宇宙中心的结论。从地球上看,行星的运动轨迹是不规则的,托勒密的伟大之处是用四十个小圆套大圆的方法,精确地计算出了所有行星运动的轨迹。(托勒密继承了毕达格拉斯的一些思想,他也认为圆是最完美的几何图形)托勒密模型的精度之高,让 + +-----------------------------------------------------Page 33----------------------------------------------------- + +以后所有的科学家惊叹不已。即使今天,我们在计算机的帮助下,也很难解出四十个套在一起的圆的方程。每每想到这里,我都由衷地佩服托勒密。一千五百年来,人们根据他的计算决定农时。但是,经过了一千五百年,托勒密对太阳运动的累积误差,还是差出了一星期。 + +地心说的示意图,我国天文学家张衡的浑天地动说其实就是地心说。 + +纠正地心说错误不是靠在托勒密四十个圆的模型上再多套上几个圆,而是进一步探索真理。哥白尼发现,如果以太阳为中心来描述星体的运行,只需要 8-10 个圆,就能计算出一个行星的运动轨迹,他提出了日心说。很遗憾的事,哥白尼正确的假设并没有得到比托勒密更好的结果,哥白尼的模型的误差比托勒密地要大不少。这是教会和当时人们认为哥白尼的学说是邪说的一个原因,所以日心说要想让人心服口服地接受,就得更准确地描述行星运动。 + +完成这一使命的是开普勒。开普勒在所有一流的天文学家中,资质较差,一生中犯了无数低级的错误。但是他有两条别人没有的东西,从他的老师第谷手中继承的大量的、在当时最精确的观测数据,以及运气。开普勒很幸运地发现了行星围绕太阳运转的轨道实际是椭圆形的,这样不需要用多个小圆套大圆,而只要用一个椭圆就能将星体运动规律描述清楚了。只是开普勒的知识和水平不足以解释为什么行星的轨道是椭圆形的。最后是伟大的科学家牛顿用万有引力解释了这个问题。 + +故事到这里似乎可以结束了。但是,许多年后,又有了个小的波澜。天文学家们发现,天王星的实际轨迹和用椭圆模型算出来的不太符合。当然,偷懒的办法是接着用小圆套大圆的方法修正,但是一些严肃的科学家在努力寻找真正的原因。英国的亚当斯和法国的维内尔(Verrier)独立地发现了吸引天王星偏离轨道的海王星。 + +讲座结束前,我和 Google 中国的工程师们一同总结了这么几个结论: + +1. 一个正确的数学模型应当在形式上是简单的。托勒密的模型显然太复杂。 + +2. 一个正确的模型在它开始的时候可能还不如一个精雕细琢过的错误的模型 来的准确,但是,如果我们认定大方向是对的,就应该坚持下去。(日心说开始并没有地心说准确) + +3. 大量准确的数据对研发很重要。 + +-----------------------------------------------------Page 34----------------------------------------------------- + +4. 正确的模型也可能受噪音干扰,而显得不准确;这时我们不应该用一种凑 合的修正方法来弥补它,而是要找到噪音的根源,这也许能通往重大发现。 + +在网络搜索的研发中,我们在前面提到的单文本词频/逆文本频率指数(TF/IDF)和网页排名(page rank)都相当于是网络搜索中的“椭圆模型”,它们都很简单 易懂。 + +-----------------------------------------------------Page 35----------------------------------------------------- + +十五、繁与简——自然语言处理的几位精英 + +2006 年 8 月 23 日 下午 11:22:00 + +发表者:吴军,Google 研究员 + +我在数学之美系列中一直强调的一个好方法就是简单。但是,事实上,自然语言处理中也有一些特例,比如有些学者将一个问题研究到极致,执著追求完善甚至可以说完美的程度。他们的工作对同行有很大的参考价值,因此我们在科研中很需要这样的学者。在自然语言处理方面新一代的顶级人物麦克尔·柯林斯(Michael Collins)就是这样的人。 + +柯林斯:追求完美 + +柯林斯从师于自然语言处理大师马库斯(Mitch Marcus)(我们以后还会多次提到马库斯),从宾夕法利亚大学获得博士学位,现任麻省理工学院(MIT)副教授(别看他是副教授,他的水平在当今自然语言处理领域是数一数二的),在作博士期间,柯林斯写了一个后来以他名字命名的自然语言文法分析器(sentence parser),可以将书面语的每一句话准确地进行文法分析。文法分析是很多自然语言应用的基础。虽然柯林斯的师兄布莱尔(Eric Brill)和 Ratnaparkhi 以及师弟 Eisnar 都完成了相当不错的语言文法分析器,但是柯林斯却将它做到了极致,使它在相当长一段时间内成为世界上最好的文法分析器。柯林斯成功的关键在于将文法分析的每一个细节都研究得很仔细。柯林斯用的数学模型也很漂亮,整个工作可以用完美来形容。我曾因为研究的需要,找柯林斯要过他文法分析器的源程序,他很爽快地 给了我。我试图将他的程序修改一下来满足我特定应用的要求,但后来发现,他的程序细节太多以至于很难进一步优化。柯林斯的博士论文堪称是自然语言处理领域的范文。它像一本优秀的小说,把所有事情的来龙去脉介绍的清清楚楚,对于任何有一点计算机和自然语言处理知识的人,都可以轻而易举地读懂他复杂的方法。 + +柯林斯毕业后,在 AT&T 实验室度过了三年快乐的时光。在那里柯林斯完成了许多世界一流的研究工作诸如隐含马尔科夫模型的区别性训练方法,卷积核在自然语言处理中的应用等等。三年后,AT&T 停止了自然语言处理方面的研究,柯 林斯幸运地在 MIT 找到了教职。在 MIT 的短短几年间,柯林斯多次在国际会议上获得最佳论文奖。相比其他同行,这种成就是独一无二的。柯林斯的特点就是把事情做到极致。如果说有人喜欢“繁琐哲学”,柯林斯就是一个。 + +布莱尔:简单才美 + +在研究方法上,站在柯林斯对立面的典型是他的师兄艾里克·布莱尔(Eric Brill)和雅让斯基,后者我们已经介绍过了,这里就不再重复。与柯林斯从工 + +-----------------------------------------------------Page 36----------------------------------------------------- + +业界到学术界相反,布莱尔职业路径是从学术界走到工业界。与柯里斯的研究方法相反,布莱尔总是试图寻找简单得不能再简单的方法。布莱尔的成名作是基于变换规则的机器学习方法 (transformation rule based machine learning)。这个方法名称虽然很复杂,其实非常简单。我们以拼音转换字为例来说明它: + +第一步,我们把每个拼音对应的汉字中最常见的找出来作为第一遍变换的结果,当然结果有不少错误。比如,“常识”可能被转换成“长识”; + +第二步,可以说是“去伪存真”,我们用计算机根据上下文,列举所有的同音字替换的规则,比如,如果 chang 被标识成“长”,但是后面的汉字是“识”,则将“长”改成“常”; + +第三步,应该就是“去粗取精”,将所有的规则用到事先标识好的语料中,挑出有用的,删掉无用的。然后重复二三步,直到找不到有用的为止。 + +布莱尔就靠这么简单的方法,在很多自然语言研究领域,得到了几乎最好的结果。由于他的方法再简单不过了,许许多多的人都跟着学。布莱尔可以算是我在美国的第一个业师,我们俩就用这么简单的方法作词性标注(part of speech tagging),也就是把句子中的词标成名词动词,很多年内无人能超越。(最后超越我们的是后来加入 Google 的一名荷兰工程师,用的是同样的方法,但是做得细致很多)布莱尔离开学术界后去了微软研究院。在那里的第一年,他一人一年完成的工作比组里其他所有人许多年做的工作的总和还多。后来,布莱尔又加入了一个新的组,依然是高产科学家。据说,他的工作真正被微软重视要感谢 Google,因为有了 Google,微软才对他从人力物力上给于了巨大的支持,使得布莱尔成为微软搜索研究的领军人物之一。在研究方面,布莱尔有时不一定能马上找到应该怎么做,但是能马上否定掉一种不可能的方案。这和他追求简单的研究方法有关,他能在短时间内大致摸清每种方法的好坏。 + +由于布莱尔总是找简单有效的方法,而又从不隐瞒自己的方法,所以他总是很容易被包括作者我自己在内的很多人赶上和超过。好在布莱尔很喜欢别人追赶他,因为,当人们在一个研究方向超过他时,他已经调转船头驶向它方了。一次,艾里克对我说,有一件事我永远追不上他,那就是他比我先有了第二个孩子 :) + +在接下来了系列里,我们还会介绍一个繁与简结合的例子。 + +-----------------------------------------------------Page 37----------------------------------------------------- + +十六、不要把所有的鸡蛋放在一个篮子里——谈谈最大熵模型 + +(上) + +2006 年 10 月 8 日 上午 07:27:00 + +发表者:Google 研究员,吴军 + +[我们在投资时常常讲不要把所有的鸡蛋放在一个篮子里,这样可以降低风险。在信息处理中,这个原理同样适用。在数学上,这个原理称为最大熵原理(the maximum entropy principle)。这是一个非常有意思的题目,但是把它讲清楚要用两个系列的篇幅。] + +前段时间,Google 中国研究院的刘骏总监谈到在网络搜索排名中,用到的信息有上百种。更普遍地讲,在自然语言处理中,我们常常知道各种各样的但是又不完全确定的信息,我们需要用一个统一的模型将这些信息综合起来。如何综合得好,是一门很大的学问。 + +让我们看一个拼音转汉字的简单的例子。假如输入的拼音是"wang-xiao-bo",利用语言模型,根据有限的上下文(比如前两个词),我们能给出两个最常见的名字“王小波”和“王晓波”。至于要唯一确定是哪个名字就难了,即使利用较长的上下文也做不到。当然,我们知道如果通篇文章是介绍文学的,作家王小波的可能性就较大;而在讨论两岸关系时,台湾学者王晓波的可能性会较大。在上面的例子中,我们只需要综合两类不同的信息,即主题信息和上下文信息。虽然有不少凑合的办法,比如:分成成千上万种的不同的主题单独处理,或者对每 种信息的作用加权平均等等,但都不能准确而圆满地解决问题,这样好比以前我们谈到的行星运动模型中的小圆套大圆打补丁的方法。在很多应用中,我们需要综合几十甚至上百种不同的信息,这种小圆套大圆的方法显然行不通。 + +数学上最漂亮的办法是最大熵(maximum entropy)模型,它相当于行星运动的椭圆模型。“最大熵”这个名词听起来很深奥,但是它的原理很简单,我们每天都在用。说白了,就是要保留全部的不确定性,将风险降到最小。让我们来看一个实际例子。 + +有一次,我去 AT&T 实验室作关于最大熵模型的报告,我带去了一个色子。我 问听众“每个面朝上的概率分别是多少”,所有人都说是等概率,即各点的概率 均为 1/6。这种猜测当然 是对的。我问听众们为什么,得到的回答是一致的:对这个“一无所知”的色子,假定它每一个朝上概率均等是最安全的做法。(你不应该主观假设它象韦小宝的色 子一样灌了铅)从投资的角度看,就是风险最小的做法。从信息论的角度讲,就是保留了最大的不确定性,也就是说让熵达 到最大。接着,我又告诉听众,我的这个色子被我特殊处理过,已知四点朝上的概率是三分之一,在这种情况下,每个面朝上的概率是多少?这次,大部分人认为除去四点的概率是 1/3,其余的均是 2/15,也就是说已知的条件(四点概 率为 1/3)必须满足,而对其余各点的概率因为仍然无从知道,因此只好认为它们均等。注意,在猜测这两种不同情况下的概率分布时,大家都没有添加任何主 + +-----------------------------------------------------Page 38----------------------------------------------------- + +观的假设,诸如四点的反面一定是三点等等。(事实上,有的骰子四点反面不是三点而是一点)这种基于直觉的猜测之所以准确,是因为它恰好符合了最大 熵原理。 + +最大熵原理指出,当我们需要对一个随机事件的概率分布进行预测时,我们的预测应当满足全部已知的条件,而对未知的情况不要做任何主观假设。(不做主观假设这点很重要)在这种情况下,概率分布最均匀,预测的风险最小。因为这时概率分布的信息熵最大,所以人们称这种模型叫“最大熵模型”。我们常说,不要把所有的鸡蛋放在一个篮子里,其实就是最大熵原理的一个朴素的说 法,因为当我们遇到不确定性时,就要保留各种可能性。 + +回到我们刚才谈到的拼音转汉字的例子,我们已知两种信息,第一,根据语言模型,wang-xiao-bo 可以被转换成王晓波和王小波;第二,根据主题,王小波是作家,《黄金时代》的作者等等,而王晓波是台湾研究两岸关系的学者。因此,我们就可以建立一个最大熵模型,同时满足这两种信息。现在的问题是,这样一个模型是否存在。匈牙利著名数学家、信息论最高奖香农奖得主希萨(Csiszar)证明,对任何一组不自相矛盾的信息,这个最大熵模型不仅存在,而且是唯一的。而且它们都有同一个非常简单的形式——指数函数。下面公式是根据上下文(前两个词)和主题预测下一个词的最大熵模型,其中 w3 是要预测的词(王晓波或者王小波)w1 和 w2 是它的前两个字,也就是其上下文的一个大致估计,subject 表示主题。 + +我们看到,在上面的公式中,有几个参数 lambda 和 Z ,他们需要通过观测数 据训练出来。 + +最大熵模型在形式上是最漂亮的统计模型,而在实现上是最复杂的模型之一。我们在将下一个系列中介绍如何训练最大熵模型的诸多参数,以及最大熵模型在自 然语言处理和金融方面很多有趣的应用。 + +-----------------------------------------------------Page 39----------------------------------------------------- + +十六、不要把所有的鸡蛋放在一个篮子里——最大熵模型(下) + +2006 年 11 月 16 日 上午 06:50:00 + +发表者:Google 研究员,吴军 + +我们上次谈到用最大熵模型可以将各种信息综合在一起。我们留下一个问题没有回答,就是如何构造最大熵模型。我们已经所有的最大熵模型都是指数函数的形 式,现在只需要确定指数函数的参数就可以了,这个过程称为模型的训练。 + +最原始的最大熵模型的训练方法是一种称为通用迭代算法 GIS(generalized iterative scaling)的迭代算法。GIS 的原理并不复杂,大致可以概括为以下几个步骤: + +1. 假定第零次迭代的初始模型为等概率的均匀分布。 + +2. 用第 N 次迭代的模型来估算每种信息特征在训练数据中的分布,如果超过了实际的,就把相应的模型参数变小;否则,将它们便大。 + +3. 重复步骤 2 直到收敛。 + +GIS 最早是由 Darroch 和 Ratcliff 在七十年代提出的。但是,这两人没有能对这种算法的物理含义进行很好地解释。后来是由数学家希萨(Csiszar)解释清楚的,因此,人们在谈到这个算法时,总是同时引用 Darroch 和Ratcliff 以 及希萨的两篇论文。GIS 算法每次迭代的时间都很长,需要迭代很多次才能收敛,而且不太稳定,即使在 64 位计算机上都会出现溢出。因此,在实际应用中很少有人真正使用 GIS。大家只是通过它来了解最大熵模型的算法。 + +八十年代,很有天才的孪生兄弟的达拉皮垂(Della Pietra)在 IBM 对 GIS 算法进行了两方面的改进,提出了改进迭代算法 IIS(improved iterative scaling)。 这使得最大熵模型的训练时间缩短了一到两个数量级。这样最大熵模型才有可能变得实用。即使如此,在当时也只有 IBM 有条件是用最大熵模型。 + +由于最大熵模型在数学上十分完美,对科学家们有很大的诱惑力,因此不少研究者试图把自己的问题用一个类似最大熵的 近似模型去套。谁知这一近似,最大熵模型就变得不完美了,结果可想而知,比打补丁的凑合的方法也好不了多少。于是,不少热心人又放弃了这种方法。第一个在实际信息处理应用中验证了最大熵模型的优势的,是宾夕法尼亚大学马库斯的另一个高徒原 IBM 现微软的研究员拉纳帕提(Adwait Ratnaparkhi)。拉纳帕提的聪明之处在于他没有对最大熵模型进行近似,而是找到了几个最适合用最大熵模型、而计算量相对不太大的自然语言处理问题,比如词性标注和句法分析。拉纳帕提成功地将上下文信息、词性(名词、动词和形容词等)、句子成分(主谓宾)通过最大熵模型结合起来,做出了当时世界上最好的词性标识系统和句法分析器。拉纳帕提的论文发表后让人们耳目一新。拉纳帕提的词性标注系统,至今仍然是使用单一方法最好的系 统。科学家们从拉纳帕提的成就中,又看到了用最大熵模型解决复杂的文字信息处理的希望。 + +-----------------------------------------------------Page 40----------------------------------------------------- + +但是,最大熵模型的计算量仍然是个拦路虎。我在学校时花了很长时间考虑如何简化最大熵模型的计算量。终于有一天,我对我的导师说,我发现一种数学变换,可以将大部分最大熵模型的训练时间在 IIS 的基础上减少两个数量级。我在黑板上推导了一个多小时,他没有找出我的推导中的任何破绽,接着他又回去想了两天,然后告诉我我的算法是对的。从此,我们就建造了一些很大的最大熵模 型。这些模型比修修补补的凑合的方法好不少。即使在我找到了快速训练算法以后,为了训练一个包含上下文信息,主题信息和语法信息的文法模型(language model),我并行使用了 20 台当时最快的 SUN 工作站,仍然计算了三个月。由此可见最大熵模型的复杂的一面。最大熵模型快速算法的实现很复杂,到今天为止,世界上能有效实现这些算法的人也不到一百人。有兴趣实现一个最大熵模型的读者可以阅读我的论文 。 + +最大熵模型,可以说是集简与繁于一体,形式简单,实现复杂。值得一提的是,在Google的很多产品中,比如机器翻译,都直接或间接地用到了最大熵模型。 + +讲到这里,读者也许会问,当年最早改进最大熵模型算法的达拉皮垂兄弟这些年难道没有做任何事吗?他们在九十年代初贾里尼克离开 IBM 后,也退出了学术界,而到在金融界大显身手。他们两人和很多 IBM 语音识别的同事一同到了一家当时还不大,但现在是世界上最成功对冲基金(hedge fund)公司——文艺复兴技术公司(Renaissance Technologies)。我们知道,决定股票涨落的因素可能有几十甚至上百种,而最大熵方法恰恰能找到一个同时满足成千上万种不同条件的模型。达拉皮垂兄弟等科学家在那里,用于最大熵模型和其他一些先进的数学工具对股票预测,获得了巨大的成功。从该基金 1988 年创立至今,它的净 回报率高达平均每年 34%。也就是说,如果 1988 年你在该基金投入一块钱,今天你能得到 200 块钱。这个业绩,远远超过股神巴菲特的旗舰公司伯克夏哈撒韦(Berkshire Hathaway)。同期,伯克夏哈撒韦的总回报是 16 倍。 + +值得一提的是,信息处理的很多数学手段,包括隐含马尔可夫模型、子波变换、贝叶斯网络等等,在华尔街多有直接的应用。由此可见,数学模型的作用。 + +-----------------------------------------------------Page 41----------------------------------------------------- + +十七、闪光的不一定是金子——谈谈搜索引擎作弊问题(Search Engine Anti-SPAM) + +2006 年 11 月 28 日 上午 03:18:00 + +Google 研究员 吴军 + +自从有了搜索引擎,就有了针对搜索引擎网页排名的作弊(SPAM)。以至于用户发现在搜索引擎中排名靠前的网页不一定就是高质量的,用句俗话说,闪光的不一定是金子。 + +搜索引擎的作弊,虽然方法很多,目的只有一个,就是采用不正当手段提高自己网页的排名。早期最常见的作弊方法是重复关键词。比如一个卖数码相机的网站,重复地罗列各种数码相机的品牌,如尼康、佳能和柯达等等。为了不让读者看到众多讨厌的关键词,聪明一点的作弊者常用很小的字体和与背景相同的颜色来掩盖这些关键词。其实,这种做法很容易被搜索引擎发现并纠正。 + +在有了网页排名(page rank)以后,作弊者发现一个网页被引用的连接越多,排名就可能越靠前,于是就有了专门卖链接和买链接的生意。比如,有人自己创建成百上千个网站,这些网站上没有实质的内容,只有到他们的客户网站的连接。这种做法比重复关键词要高明得多,但是还是不太难被发现。因为那些所谓帮别人提高排名的网站,为了维持生意需要大量地卖链接,所以很容易露马脚。(这就如同造假钞票,当某一种假钞票的流通量相当大以后,就容易找到根源了)再以后,又有了形形色色的作弊方式,我们就不在这里一一赘述了。 + +几年前,我加入 Google 做的第一件事就是消除网络作弊。在 Google 最早发现搜索引擎作弊的是 Matt Cutts,他在我加入 Google 前几个月开始研究这个问题,后来,辛格,马丁和我先后加入进来。我们经过几个月的努力,清除了一半的作弊者。(当然,以后抓作弊的效率就不会有这么高了)其中一部分网站从此“痛改前非”,但是还是有很多网站换一种作弊方法继续作弊,因此,抓作弊成了一种长期的猫捉老鼠的游戏。虽然至今还没有一个一劳永逸地解决作弊问题的方法,但是,Google 基本做到了对于任何已知的作弊方法,在一定时间内发现并清除它,从而总是将作弊的网站的数量控制在一个很小的比例范围。 + +抓作弊的方法很像信号处理中的去噪音的办法。学过信息论和有信号处理经验的读者可能知道这么一个事实,我们如果在发动机很吵的汽车里用手机打电话,对方可能听不清;但是如果我们知道了汽车发动机的频率,我们可以加上一个和发动机噪音相反的信号,很容易地消除发动机的噪音,这样,收话人可以完全听不到汽车的噪音。事实上,现在一些高端的手机已经有了这种检测和消除噪音的功能。消除噪音的流程可以概括如下: + +-----------------------------------------------------Page 42----------------------------------------------------- + +在图中,原始的信号混入了噪音,在数学上相当于两个信号做卷积。噪音消除的过程是一个解卷积的过程。这在信号处理中并不是什么难题。因为第一,汽车发动机的频率是固定的,第二,这个频率的噪音重复出现,只要采集几秒钟的信号 进行处理就能做到。从广义上讲,只要噪音不是完全随机的、并且前后有相关性,就可以检测到并且消除。事实上,完全随机不相关的高斯白噪音是很难消除的。 + +搜索引擎的作弊者所作的事,就如同在手机信号中加入了噪音,使得搜索结果的排名完全乱了。但是,这种人为加入的噪音并不难消除,因为作弊者的方法不可 能是随机的(否则就无法提高排名了)。而且,作弊者也不可能是一天换一种方 法,即作弊方法是时间相关的。因此,搞搜索引擎排名算法的人,可以在搜集一段时间的作弊信息后,将作弊者抓出来,还原原有的排名。当然这个过程需要时间,就如同采集汽车发动机噪音需要时间一样,在这段时间内,作弊者可能会尝 到些甜头。因此,有些人看到自己的网站经过所谓的优化(其实是作弊),排名 在短期内靠前了,以为这种所谓的优化是有效的。但是,不久就会发现排名掉下去了很多。这倒不是搜索引擎以前宽容,现在严厉了,而是说明抓作弊需要一定 的时间,以前只是还没有检测到这些作弊的网站而已。 + +还要强调一点,Google 抓作弊和恢复网站原有排名的过程完全是自动的(并没有个人的好恶),就如同手机消除噪音是自动的一样。一个网站要想长期排名靠前, 就需要把内容做好,同时要和那些作弊网站划清界限。 + +-----------------------------------------------------Page 43----------------------------------------------------- + +十八、矩阵运算和文本处理中的分类问题 + +2007 年 1 月 1 日 下午 03:10:00 + +发表者:Google 研究员,吴军 + +我在大学学习线性代数时,实在想不出它除了告诉我们如何解线性方程外,还能有什么别的用途。关于矩阵的许多概念,比如特征值等等,更是脱离日常生活。后来在数值分析中又学了很多矩阵的近似算法,还是看不到可以应用的地方。当时选这些课,完全是为了混学分的学位。我想,很多同学都多多少少有过类似的经历。直到 后来长期做自然语言处理的研究,我才发现数学家们提出那些矩阵的概念和算法,是有实际应用的意义的。 + +在自然语言处理中,最常见的两类的分类问题分别是,将文本按主题归类(比如将所有介绍亚运会的新闻归到体育类)和将词汇表中的字词按意思归类(比如将各种体育运动的名称个归成一类)。这两种分类问题都可用通过矩阵运算来圆满地、同时解决。为了说明如何用矩阵这个工具类解决这两个问题的,让我们先来来回顾一下我们在余弦定理和新闻分类中介绍的 方法 。 + +分类的关键是计算相关性。我们首先对两个文本计算出它们的内容词,或者说实词的向量,然后求这两个向量的夹角。当这两个向量夹角为零时,新闻就相关; 当它们垂直或者说正交时,新闻则无关。当然,夹角的余弦等同于向量的内积。 从理论上讲,这种算法非常好。但是计算时间特别长。通常,我们要处理的文章的数量都很 大,至少在百万篇以上,二次回标有非常长,比如说有五十万个词(包括人名地名产品名称等等)。如果想通过对一百万篇文章两篇两篇地成对比较,来找出所有共同主题的文章,就要比较五千亿对文章。现在的计算机一秒钟最多可以比较一千对文章,完成这一百万篇文章相关性比较就需要十五年时间。注意,要真正完成文章 的分类还要反复重复上述计算。 + +在文本分类中,另一种办法是利用矩阵运算中的奇异值分解(Singular Value Decomposition,简称 SVD)。现在让我们来看看奇异值分解是怎么回事。首先,我们可以用一个大矩阵A来描述这一百万篇文章和五十万词的关联性。这个矩阵中,每一行对应一篇文 章,每一列对应一个词。 + +-----------------------------------------------------Page 44----------------------------------------------------- + +在上面的图中,M=1,000,000,N=500,000。第 i 行,第 j 列的元素,是字典中 第 j 个词在第 i 篇文章中出现的加权词频(比如,TF/IDF)。读者可能已经注意到了,这个矩阵非常大,有一百万乘以五十万,即五千亿个元素。 + +奇异值分解就是把上面这样一个大矩阵,分解成三个小矩阵相乘,如下图所示。比如把上面的例子中的矩阵分解成一个一百万乘以一百的矩阵X,一个一百乘以一百的 矩阵B,和一个一百乘以五十万的矩阵Y。这三个矩阵的元素总数加起来 也不过 1.5 亿,仅仅是原来的三千分之一。相应的存储量和计算量都会小三个数量级以 上。 + +三个矩阵有非常清楚的物理含义。第一个矩阵X中的每一行表示意思相关的一类词,其中的每个非零元素表示这类词中每个词的重要性(或者说相关性),数值 越大越相关。最后一个矩阵Y中的每一列表示同一主题一类文章,其中每个元素表示这类文章中每篇文章的相关性。中间的矩阵则表示类词和文章雷之间的相关性。因此, 我们只要对关联矩阵A进行一次奇异值分解,w 我们就可以同时完成了近义词分类和文章的分类。(同时得到每类文章和每类词的相关性)。 + +现在剩下的唯一问题,就是如何用计算机进行奇异值分解。这时,线性代数中 + +-----------------------------------------------------Page 45----------------------------------------------------- + +的许多概念,比如矩阵的特征值等等,以及数值分析的各种算法就统统用上了。在很长时间内,奇异值分解都无法并行处理。虽然 Google 早就有了 MapReduce 等并行计算的工具,但是由于奇异值分解很难拆成不相关子运算,即使在 Google 内部以前也无法利用并行计算的优势来分解矩阵。最近,Google 中国的张智威博士和几个中国的工程师及实习生已经实现了奇异值分解的并行算法,我认为这是 Google 中国对世界的一个贡献。 + +-----------------------------------------------------Page 46----------------------------------------------------- + +十九、马尔可夫链的扩展——贝叶斯网络(Bayesian Networks) + +我们在前面的系列中多次提到马尔可夫链(Markov Chain),它描述了一种状态序列,其每个状态值取决于前面有限个状态。这种模型,对很多实际问题来讲是一种很粗略的简化。在现实生活中,很多事物相互的关系并不能用一条链来串起来。它们之间的关系可能是交叉的、错综复杂的。比如在下图中可以看到,心血管疾病和它的成因之间的关系是错综复杂的。显然无法用一个链来表示。 + +我们可以把上述的有向图看成一个网络,它就是贝叶斯网络。其中每个圆圈表示一个状态。状态之间的连线表示它们的因果关系。比如从心血管疾病出发到吸烟的弧线表示心血管疾病可能和吸烟有关。当然,这些关系可以有一个量化的可信度(belief) ,用一个概率描述。我们可以通过这样一张网络估计出一个人的心血管疾病的可能性。在网络中每个节点概率的计算,可以用贝叶斯公式来进行,贝叶斯网络因此而得名。由于网络的每个弧有一个可信度,贝叶斯网络也被称作信念网络(belief networks)。 + +和马尔可夫链类似,贝叶斯网络中的每个状态值取决于前面有限个状态。不同的是,贝叶斯网络比马尔可夫链灵活,它不受马尔可夫链的链状结构的约束,因此可以更准确地描述事件之间的相关性。可以讲,马尔可夫链是贝叶斯网络的特例,而贝叶斯网络是马尔可夫链的推广。 + +使用贝叶斯网络必须知道各个状态之间相关的概率。得到这些参数的过程叫做训练。和训练马尔可夫模型一样,训练贝叶斯网络要用一些已知的数据。比如在训练上面的网络,需要知道一些心血管疾病和吸烟、家族病史等有关的情况。相比马尔可夫链,贝叶斯网络的训 练比较复杂,从理论上讲,它是一个 NP-complete 问题,也就是说,对于现在的计算机是不可计算的。但是,对于某些应用,这个训练过程可以简化,并在计算上实现。 + +值得一提的是 IBM Watson 研究所的茨威格博士(Geoffrey Zweig)和西雅图华盛顿大学的比尔默(Jeff Bilmes)教授完成了一个通用的贝叶斯网络的工具包,提供给对贝叶斯网络有兴趣的研究者。 + +-----------------------------------------------------Page 47----------------------------------------------------- + +贝叶斯网络在图像处理、文字处理、支持决策等方面有很多应用。在文字处理方面,语义相近的词之间的关系可以用一个贝叶斯网络来描述。我们利用贝叶斯网络,可以找出近义词和相关的词,在 Google 搜索和 Google 广告中都有直接的应用。 + +-----------------------------------------------------Page 48----------------------------------------------------- + +二十、自然语言处理的教父——马库斯 + +2007 年 4 月 13 日 下午 07:03:00 + +发表者:Google 研究员,吴军 + +我们在前面的系列中介绍和提到了一些年轻有为的科学家,迈克尔·柯林斯,艾里克·布莱尔,大卫·雅让斯基,拉纳帕提等等,他们都出自宾夕法尼亚计算机系米奇·马库斯(Mitch Marcus)名下。就像许多武侠小说中描写的,弟子都成了各派的掌门,师傅一定了不得。的确,马库斯虽然作为第一作者发表的论文 并不多,但是从很多角度上讲,他可以说是自然语言处理领域的教父。 + +马库斯教授长期当任宾夕法尼亚大学计算机系主任,直到他在几年前从 AT&T 找 到皮耶尔替代他为止。作为一个管理者,马库斯显示出在自然处理和计算机科学方面的卓识的远见。在指导博士生时,马库斯发现语料库在自然语言处理中的重要性。马库斯呕心沥血,花了十几年工夫建立了一系列标准的语料库,提供给全世界的学者使用。这套被称为 LDC 的语料库,是当今全世界自然语言处理的所有学者都使用的工具。我们在以前的系列中讲到,当今的自然语言处理几乎都是使用给予统计的方法。要做统计,就需要大量有代表性的数据。利用这些数据开发一个自然语言处理系统的过程,可以统称为训练。比如,我们要训练一个汉语分词系统,我们需要一些已经分好词的中文句子。当然这些句子需要有代 表性。如果想知道一个分词系统的准确性,我们也需要一些人工分好词的句子进行测试。这些人工处理好的文字数据库,成为语料库(corpus)。如果每个研究 室都人工建立几个语料库,不仅浪费时间精力,而且发表文章时,数据没有可比性。因此,马库斯想到了建立一系列标准的语料库 为全世界的学者用。他利用自己的影响力让美国自然科学基金会和 DARPA 出钱立项,联络的多所大学和研究机构,建立的数百个标准的语料库。其中最著名的是 PennTree + +Bank 的语料库。PennTree Bank 覆盖多种语言(包括中文)。每一种语言,它有几十万到几百万字的有代表性的句子,每个句子都有的词性标注,语法分析树等等。LDC 语料库如今已成为全世界自然语言处理科学家共用的数据库。如今, 在自然语言处理方面发表论文,几乎都要提供基于 LDC 语料库的测试结果。 + +马库斯给予他的博士生研究自己感兴趣的课题的自由,这是他之所以桃李满天 下的原因。马库斯对几乎所有的自然语言处理领域有独到的见解。和许多教授让博士生去做他拿到基金的项目,马库斯让博士生提出自己有兴趣的课题,或者用他已有的经费支持学生,或者为他们的项目区申请经费。马库斯高屋建瓴,能够很快的判断一个研究方向是否正确,省去了博士生很多 try-and-error 的时间。因此他的学生有些很快地拿到的博士学位。 + +作为系主任,马库斯在专业设置方面显示出卓识的远见。我有幸和他在同一个校务顾问委员会任职,一起讨论计算机系的研究方向。马库斯在几年前互联网很热门、很多大学开始互联网研究时,看到 bioinformatics(生物信息学)的重要性,在宾夕法利亚大学设置这个专业,并且在其他大学还没有意识到时,开始 + +-----------------------------------------------------Page 49----------------------------------------------------- + +招聘这方面的教授。马库斯还建议一些相关领域的教授,包括后来的系主任皮 耶尔把一部分精力转到生物信息学方面。马库斯同时向他担任顾问的其他一些大学提出同样的建议。等到网络泡沫破裂以后,很多大学的计算机系开始向生物信息学转向,但是发现已经很难找到这些方面好的教授了。我觉得,当今中国的大学,最需要的就是马库斯这样卓有远见的管理者。 + +过几天我又要和马库斯一起开顾问委员会的会议了,不知道这次他对计算机科学的发展有什么见解。 + +-----------------------------------------------------Page 50----------------------------------------------------- + +二十一、布隆过滤器(Bloom Filter) + +2007 年 7 月 3 日 上午 09:35:00 + +发表者:Google(谷歌)研究员 吴军 + +在日常生活中,包括在设计计算机软件时,我们经常要判断一个元素是否在一个集合中。比如在字处理软件中,需要检查一个英语单词是否拼写正确(也就是要判断它是否在已知的字典中);在 FBI,一个嫌疑人的名字是否已经在嫌疑 名单上;在网络爬虫里,一个网址是否被访问过等等。最直接的方法就是将集合中全部的元素存在计算机中,遇到一个新元素时,将它和集合中的元素直接比较即可。一般来讲,计算机中的集合是用哈希表(hash table)来存储的。它的好处是快速准确,缺点是费存储空间。当集合比较小时,这个问题不显著,但是当集合巨大时,哈希表存储效率低的问题就显现出来了。比如说,一个象 Yahoo,Hotmail 和 Gmai 那样的公众电子邮件(email)提供商,总是需要过滤来自发送垃圾邮件的人(spamer)的垃圾邮件。一个办法就是记录下那些发垃圾邮件的 email 地址。由于那些发送者不停地在注册新的地址,全世界少说也有 几十亿个发垃圾邮件的地址,将他们都存起来则需要大量的网络服务器。如果用哈希表,每存储一亿个 email 地址,就需要 1.6GB 的内存(用哈希表实现的具体办法是将每一个 email 地址对应成一个八字节的信息指纹, 然后将这些信息指纹存入哈希表,由于哈希表的存储效率一般只有 50%,因此一个 email 地址需要占用十六个字节。一亿个地址大约要 1.6GB, 即十六亿字节的内存)。因此存贮几十亿个邮件地址可能需要上百 GB 的内存。除非是超级计算机,一般服务器是无法存储的。 + +今天,我们介绍一种称作布隆过滤器的数学工具,它只需要哈希表 1/8 到 1/4 的大小就能解决同样的问题。 + +布隆过滤器是由巴顿.布隆于一九七零年提出的。它实际上是一个很长的二进制向量和一系列随机映射函数。我们通过上面的例子来说明起工作原理。 + +假定我们存储一亿个电子邮件地址,我们先建立一个十六亿二进制(比特), 即两亿字节的向量,然后将这十六亿个二进制全部设置为零。对于每一个电子邮件地址 X,我们用八个不同的随机数产生器(F1,F2, ...,F8) 产生八个信息指 纹(f1, f2, ..., f8)。再用一个随机数产生器 G 把这八个信息指纹映射到 1 到十六亿中的八个自然数 g1, g2, ...,g8。现在我们把这八个位置的二进制全部设置为一。当我们对这一亿个 email 地址都进行这样的处理后。一个针对这些 email 地址的布隆过滤器就建成了。(见下图) + +-----------------------------------------------------Page 51----------------------------------------------------- + +现在,让我们看看如何用布隆过滤器来检测一个可疑的电子邮件地址 Y 是否在黑名单中。我们用相同的八个随机数产生器(F1, F2, ..., F8)对这个地址产 生八个信息指纹 s1,s2,...,s8,然后将这八个指纹对应到布隆过滤器的八个二 进制位,分别是 t1,t2,...,t8。如果 Y 在黑名单中,显然,t1,t2,..,t8 对应 的八个二进制一定是一。这样在遇到任何在黑名单中的电子邮件地址,我们都能 准确地发现。 + +布隆过滤器决不会漏掉任何一个在黑名单中的可疑地址。但是,它有一条不足之处。也就是它有极小的可能将一个不在黑名单中的电子邮件地址判定为在黑名单中,因为有可能某个好的邮件地址正巧对应个八个都 被设置成一的二进制位。 好在这种可能性很小。我们把它称为误识概率。在上面的例子中,误识概率在万分之一以下。 + +布隆过滤器的好处在于快速,省空间。但是有一定的误识别率。常见的补救办法是在建立一个小的白名单,存储那些可能别误判的邮件地址。 + +-----------------------------------------------------Page 52----------------------------------------------------- + +二十二、谈谈密码学的数学原理 + +2007 年 9 月 13 日 下午 09:00:00 + +发表者:Google(谷歌)研究员 吴军 + +前一阵子看了电视剧《暗算》,蛮喜欢它的构思和里面的表演。其中有一个故事提到了密码学,故事本身不错,但是有点故弄玄虚。不过有一点是对的,就是当今的密码学是以数学为基础的。(没有看过暗算的读者可以看一下介绍,因为我们后面要多次提到这部电视剧) + +密码学的历史大致可以推早到两千年前,相传名将凯撒为了防止敌方截获情报,用密码传送情报。凯撒的做法很简单,就是对二十几个罗马字母建立一张对应表, 比如说 + +这样,如果不知道密码本,即使截获一段信息也看不懂,比如收到一个的消息是 EBKTBP,那么在敌人看来是毫无意义的字,通过密码本解破出来就是 CAESAR 一词,即凯撒的名字。这种编码方法史称凯撒大帝。当然,学过信息论的人都知 道,只要多截获一些情报,统计一下字母的频率,就可以解破出这种密码。柯蓝道尔在他的“福尔摩斯探案集”中“跳舞的小人”的故事里已经介绍了这种小 技巧。在很长时间里,人们试图找到一些好的编码方法使得解密者无法从密码中 统计出明码的统计信息,但是,基本上靠经验。有经验的编码者会把常用的词 对应成多个密码, 使得破译者很难统计出任何规律。比如,如果将汉语中的 “是”一词对应于唯一一个编码 0543,那么破译者就会发现 0543 出现的特别 多。但如果将它对应成十个密码 0543,3737,2947 等等,每次随机的挑一个使用,每个密码出现的次数就不会太多,而且破译者也无从知道这些密码其实对应一个字。这里面虽然包含着朴素的概率论的原理,但是并不科学化。另外,好的密码必须做到不能根据已知的明文和密文的对应推断出新的密文的内容。历史上有很多在这方面设计得不周到的密码的例子。在第二次世界大战中,日本军方的密码设计就很成问题。美军破获了日本很多密码。在中途岛海战前,美军截获的日军密电经常出现 AF 这样一个地名,应该是太平洋的某个岛屿,但是美军 + +-----------------------------------------------------Page 53----------------------------------------------------- + +无从知道是哪个。于是,美军就逐个发表自己控制的每个岛屿上的假新闻。当美军发出“中途岛供水系统坏了” 这条假新闻后,从截获的日军情报中又看到 AF 供水出来问题的电文,美军就断定中途岛就是 AF。事实证明判断正确,美军在那里成功地伏击了日本主力舰队。 + +事实上,在第二次世界大战中,很多顶尖的科学家包括提出信息论的香农都在为美军情报部门工作,而信息论实际上就是情报学的直接产物。香农提出信息论后,为密码学的发展带来了新气象。根据信息论,密码的最高境界是使得敌人在截获密码后,对我方的所知没有任何增加,用信息论的专业术语讲,就是信息量没有增加。一般来讲,当密码之间分布均匀并且统计独立时,提供的信息最少。均匀分布使得敌人无从统计,而统计独立能保证敌人即使看到一段密码和明码后, 不能破译另一段密码。这也是《暗算》里传统的破译员老陈破译的一份密报后,但无法推广的原因,而数学家黄依依预见到了这个结果,因为她知道敌人新的密码系统编出的密文是统计独立的。有了信息论后,密码的设计就有了理论基础,现在通用的公开密钥的方法,包括《暗算》里的“光复一号”密码,就是基于这个理论。 + +公开密钥的原理其实很简单,我们以给上面的单词 Caesar 加解密来说明它的原理。我们先把它变成一组数,比如它的 Ascii 代码 X=099097101115097114(每三位代表一个字母)做明码。现在我们来设计一个密码系统,对这个明码加密。 + +1,找两个很大的素数(质数)P 和 Q,越大越好,比如 100 位长的, 然后计算 它们的乘积 N=P×Q,M=(P-1)×(Q-1)。 + +2,找一个和 M 互素的整数 E,也就是说 M 和 E 除了 1 以外没有公约数。 + +3,找一个整数 D,使得 E×D 除以 M 余 1,即 E×D mod M = 1。 + +现在,世界上先进的、最常用的密码系统就设计好了,其中 E 是公钥谁都可以 用来加密,D 是私钥用于解密,一定要自己保存好。乘积 N 是公开的,即使敌 人知道了也没关系。 + +现在,我们用下面的公式对 X 加密,得到密码 Y。 + +好了,现在没有密钥 D,神仙也无法从 Y 中恢复 X。如果知道 D,根据费尔马 小定理,则只要按下面的公式就可以轻而易举地从 Y 中得到 X。 + +这个过程大致可以概况如下: + +-----------------------------------------------------Page 54----------------------------------------------------- + +公开密钥的好处有: + +1.简单。 + +2. 可靠。公开密钥方法保证产生的密文是统计独立而分布均匀的。也就是说,不论给出多少份明文和对应的密文,也无法根据已知的明文和密文的对应来破译下一份密 文。更重要的是 N,E 可以公开给任何人加密用,但是只有掌握密钥 D 的人才可以解密, 即使加密者自己也是无法解密的。这样,即使加密者被抓住叛变了,整套密码系统仍然是安全的。(而凯撒大帝的加密方法有一个知道密码本的人泄密,整个密码系统就公开了) + +3.灵活,可以产生很多的公开密钥E和私钥D的组合给不同的加密者。 + +最后让我们看看破解这种密码的难度。首先,要声明,世界上没有永远破不了的密码,关键是它能有多长时间的有效期。要破公开密钥的加密方式,至今的研究结果表明最好的办法还是对大字 N 进行因数分解,即通过 N 反过来找到 P 和 Q,这样密码就被破了。而找 P 和 Q 目前只有用计算机把所有的数字试一遍这种笨办法。这实际上是在拼计算机的速度,这也就是为什么 P 和 Q 都需要非常大。一种加密方法只有保证 50 年计算机破不了也就可以满意了。前几年破解的 RSA-158 密码是这样因数分解的 + +39505874583265144526419767800614481996020776460304936454139376051579355626529450683609727842468219535093544305870490251995655335710209799226484977949442955603 = + +3388495837466721394368393204672181522815830368604993048084925840555281177 + +×11658823406671259903148376558383270818131012258146392600439520994131344334162924536139 + +现在,让我们回到《暗算》中,黄依依第一次找的结果经过一系列计算发现无法归零,也就是说除不尽,我猜她可能试图将一个大数 N 做分解,没成功。第二次计算的结果是归零了,说明她找到的 N=P×Q 的分解方法。当然,这件事能不能用算盘完成,我就不知道了,但我觉得比较夸张。另外我对该电视剧还有一 + +-----------------------------------------------------Page 55----------------------------------------------------- + +个搞不懂的问题就是里面提到的“光复一号”密码的误差问题。一个密码是不能有误差的,否则就是有的密钥也无法解码了。我想可能是指在构造密码时,P 和 Q 之一没找对,其中一个(甚至两个都)不小心找成了合数,这时密码的保密性就差了很多。如果谁知道电视剧里面讲的“误差”是指什么请告诉我。另外,电视剧里提到冯·诺依曼,说他是现代密码学的祖宗,我想是弄错了,应该是香农。冯·诺依曼的贡献在发明计算机和提出博弈论(game theory)。 + +不管怎么样,我们今天用的所谓最可靠的加密方法的数学原理其实就这么简单,一点也不神秘,无非是找几个大素数做一些乘除和乘方运算就可以了。 + +-----------------------------------------------------Page 56----------------------------------------------------- + +二十三、输入一个汉字需要敲多少个键——谈谈香农第一定律 + +2007 年 12 月 3 日 上午 10:05:00 + +发表者:Google(谷歌)研究员 吴军 + +今天各种汉字输入法已经很成熟了,随便挑出一种主要的输入法比十几年前最好的输入法都要快、要准。现在抛开具体的输入法,从理论上分析一下,输入汉字到底能有多快。 + +我们假定常用的汉字在二级国标里面,一共有 6700 个作用的汉字。如果不考虑汉字频率的分布,用键盘上的 26 个字母对汉字编码,两个字母的组合只能对 676 个汉字编码,对 6700 个汉字编码需要用三个字母的组合,即编码长度为三。当然,聪明的读者马上发现了我们可以对常见的字用较短的编码对不常见的字用较长的编码,这样平均起来每个汉字的编码长度可以缩短。我们假定每一个汉字的频率是 + +p1, p2, p3, ..., p6700 它们编码的长度是 + +L1, L2, L3, ..., L6700 那么,平均编码长度是 + +p1×L1 + p2×L2 + ... + p6700×L6700 + +香农第一定理指出:这个编码的长度的最小值是汉字的信息熵,也就是说任何输入方面不可能突破信息熵给定的极限。当然,香农第一定理是针对所有编码的,不但是 汉字输入编码的。这里需要指出的是,如果我们将输入法的字库从二级 国标扩展到更大的字库 GBK,由于后面不常见的字频率较短,平均编码长度比针对国标的大不了多少。让我们回忆一下汉字的信息熵, H = -p1 * log p1 - ... - p6700 log p6700。 + +我们如果对每一个字进行统计,而且不考虑上下文相关性,大致可以估算出它的值在十比特以内,当然这取决于用什么语料库来做估计。如果我们假定输入法只能用 26 个字母输入,那么每个字母可以代表 log26= + +4.7 比特的信息,也就是说,输入一个汉字平均需要敲 10/4.7= 2.1 次键。 + +聪明的读者也许一经发现,如果我们把汉字组成词,再以词为单位统计信息熵,那么,每个汉字的平均信息熵将会减少。这样,平均输入一个字可以少敲零点几次键盘。不考虑词的上下文相关性,以词为单位统计,汉字的信息熵大约是 8 比特作用,也就是说,以词为单位输入一个汉字平均只需要敲 8/4.7=1.7 次键。这就是现在所有输入法都是基于词输入的内在原因。当然,如果我们再考虑上下文的相关性,对汉语建立一个基于词的统计语言模型,我们可以将每个汉字的信息熵降到 6 比特作用,这时,输入一个汉字只要敲 6/4.7=1.3 次键。如果一种输入方法能做到这一点,那么汉字的输入已经比英文快的多了。 + +-----------------------------------------------------Page 57----------------------------------------------------- + +但是,事实上没有一种输入方法接近这个效率。这里面主要有两个原因。首先,要接近信息论给的这个极限,就要对汉字的词组根据其词频进行特殊编码。事实上像王码这类的输入方法就是这么做到,只不过它们第一没有对词组统一编码,第二没有有效的语言模型。这种编码方法理论上讲有效,实际上不实用。原因有两个,第一,很难学;第二,从认知科学的角度上讲,人一心无二用,人们在没有稿子边想边写的情况下不太可能在回忆每个词复杂的编码的同时又不中断思维。我们过去在 研究语言识别时做过很多用户测试,发现使用各种复杂编码 输入法的人在脱稿打字时的速度只有他在看稿打字时的一半到四分之一。因此,虽然每个字平均敲键次数少,但是打键盘的速度也慢了很多,总的并不快。这也就是为什么基于拼音的简单输入法占统治地位的原因。事实上,汉语全拼的平均长度为 2.98,只要基于拼音的输入法能利用上下文彻底解决一音多字的问题, 平均每个汉字输入的敲键次数应该在三次左右,每分钟输入 100 个字完全有可 能达到。 + +另外一个不容易达到信息论极限的输入速度的原因在于,这个理论值是根据一个很多的语言模型计算出来的。在产品中,我们不可能占有用户太多的内存空间,因此各种输入方法提供给用户的是一个压缩的很厉害的语音模型,而有的输入方法为了减小内存占用,根本没有语言模型。拼音 输入法的好坏关键在准确而有效的语言模型。 + +另一方面,由于现有输入方法离信息论给的极限还有很大的差距,汉语输入方法可提升的空间很大,会有越来越好用的输入方法不断涌现。当然,输入速度只是输入法的一项而不是唯一的衡量标准。我们也会努力把谷歌的输入法做的越来越好。大家不妨先试试现在的版本,半年后再看看我们有没有提高。 + +-----------------------------------------------------Page 58----------------------------------------------------- diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/IT/\350\275\257\344\273\266\345\274\200\345\217\221/\347\274\226\347\250\213\350\257\255\350\250\200/Lisp/Guy Steele\357\274\232Common Lisp\342\200\224\342\200\224The Language@1989 (\347\254\2542\347\211\210).ps" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/IT/\350\275\257\344\273\266\345\274\200\345\217\221/\347\274\226\347\250\213\350\257\255\350\250\200/Lisp/Guy Steele\357\274\232Common Lisp\342\200\224\342\200\224The Language@1989 (\347\254\2542\347\211\210).ps" new file mode 100644 index 0000000000000000000000000000000000000000..739d4c342228bc2d12daf1b9ef63d9f381c18fb6 --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/IT/\350\275\257\344\273\266\345\274\200\345\217\221/\347\274\226\347\250\213\350\257\255\350\250\200/Lisp/Guy Steele\357\274\232Common Lisp\342\200\224\342\200\224The Language@1989 (\347\254\2542\347\211\210).ps" @@ -0,0 +1,191070 @@ +%!PS-Adobe-2.0 +%%Creator: dvipsk 5.55a Copyright 1986, 1994 Radical Eye Software +%%Title: clm.dvi +%%Pages: 1096 +%%PageOrder: Ascend +%%BoundingBox: 0 0 612 792 +%%EndComments +%DVIPSCommandLine: dvips clm.dvi -o clm.ps +%DVIPSParameters: dpi=300, compressed, comments removed +%DVIPSSource: TeX output 1994.10.04:2131 +%%BeginProcSet: texc.pro +/TeXDict 250 dict def TeXDict begin /N{def}def /B{bind def}N /S{exch}N +/X{S N}B /TR{translate}N /isls false N /vsize 11 72 mul N /hsize 8.5 72 +mul N /landplus90{false}def /@rigin{isls{[0 landplus90{1 -1}{-1 1} +ifelse 0 0 0]concat}if 72 Resolution div 72 VResolution div neg scale +isls{landplus90{VResolution 72 div vsize mul 0 exch}{Resolution -72 div +hsize mul 0}ifelse TR}if Resolution VResolution vsize -72 div 1 add mul +TR matrix currentmatrix dup dup 4 get round 4 exch put dup dup 5 get +round 5 exch put setmatrix}N /@landscape{/isls true N}B /@manualfeed{ +statusdict /manualfeed true put}B /@copies{/#copies X}B /FMat[1 0 0 -1 0 +0]N /FBB[0 0 0 0]N /nn 0 N /IE 0 N /ctr 0 N /df-tail{/nn 8 dict N nn +begin /FontType 3 N /FontMatrix fntrx N /FontBBox FBB N string /base X +array /BitMaps X /BuildChar{CharBuilder}N /Encoding IE N end dup{/foo +setfont}2 array copy cvx N load 0 nn put /ctr 0 N[}B /df{/sf 1 N /fntrx +FMat N df-tail}B /dfs{div /sf X /fntrx[sf 0 0 sf neg 0 0]N df-tail}B /E{ +pop nn dup definefont setfont}B /ch-width{ch-data dup length 5 sub get} +B /ch-height{ch-data dup length 4 sub get}B /ch-xoff{128 ch-data dup +length 3 sub get sub}B /ch-yoff{ch-data dup length 2 sub get 127 sub}B +/ch-dx{ch-data dup length 1 sub get}B /ch-image{ch-data dup type +/stringtype ne{ctr get /ctr ctr 1 add N}if}B /id 0 N /rw 0 N /rc 0 N /gp +0 N /cp 0 N /G 0 N /sf 0 N /CharBuilder{save 3 1 roll S dup /base get 2 +index get S /BitMaps get S get /ch-data X pop /ctr 0 N ch-dx 0 ch-xoff +ch-yoff ch-height sub ch-xoff ch-width add ch-yoff setcachedevice +ch-width ch-height true[1 0 0 -1 -.1 ch-xoff sub ch-yoff .1 add]/id +ch-image N /rw ch-width 7 add 8 idiv string N /rc 0 N /gp 0 N /cp 0 N{ +rc 0 ne{rc 1 sub /rc X rw}{G}ifelse}imagemask restore}B /G{{id gp get +/gp gp 1 add N dup 18 mod S 18 idiv pl S get exec}loop}B /adv{cp add /cp +X}B /chg{rw cp id gp 4 index getinterval putinterval dup gp add /gp X +adv}B /nd{/cp 0 N rw exit}B /lsh{rw cp 2 copy get dup 0 eq{pop 1}{dup +255 eq{pop 254}{dup dup add 255 and S 1 and or}ifelse}ifelse put 1 adv} +B /rsh{rw cp 2 copy get dup 0 eq{pop 128}{dup 255 eq{pop 127}{dup 2 idiv +S 128 and or}ifelse}ifelse put 1 adv}B /clr{rw cp 2 index string +putinterval adv}B /set{rw cp fillstr 0 4 index getinterval putinterval +adv}B /fillstr 18 string 0 1 17{2 copy 255 put pop}for N /pl[{adv 1 chg} +{adv 1 chg nd}{1 add chg}{1 add chg nd}{adv lsh}{adv lsh nd}{adv rsh}{ +adv rsh nd}{1 add adv}{/rc X nd}{1 add set}{1 add clr}{adv 2 chg}{adv 2 +chg nd}{pop nd}]dup{bind pop}forall N /D{/cc X dup type /stringtype ne{] +}if nn /base get cc ctr put nn /BitMaps get S ctr S sf 1 ne{dup dup +length 1 sub dup 2 index S get sf div put}if put /ctr ctr 1 add N}B /I{ +cc 1 add D}B /bop{userdict /bop-hook known{bop-hook}if /SI save N @rigin +0 0 moveto /V matrix currentmatrix dup 1 get dup mul exch 0 get dup mul +add .99 lt{/QV}{/RV}ifelse load def pop pop}N /eop{SI restore showpage +userdict /eop-hook known{eop-hook}if}N /@start{userdict /start-hook +known{start-hook}if pop /VResolution X /Resolution X 1000 div /DVImag X +/IE 256 array N 0 1 255{IE S 1 string dup 0 3 index put cvn put}for +65781.76 div /vsize X 65781.76 div /hsize X}N /p{show}N /RMat[1 0 0 -1 0 +0]N /BDot 260 string N /rulex 0 N /ruley 0 N /v{/ruley X /rulex X V}B /V +{}B /RV statusdict begin /product where{pop product dup length 7 ge{0 7 +getinterval dup(Display)eq exch 0 4 getinterval(NeXT)eq or}{pop false} +ifelse}{false}ifelse end{{gsave TR -.1 -.1 TR 1 1 scale rulex ruley +false RMat{BDot}imagemask grestore}}{{gsave TR -.1 -.1 TR rulex ruley +scale 1 1 false RMat{BDot}imagemask grestore}}ifelse B /QV{gsave +transform round exch round exch itransform moveto rulex 0 rlineto 0 +ruley neg rlineto rulex neg 0 rlineto fill grestore}B /a{moveto}B /delta +0 N /tail{dup /delta X 0 rmoveto}B /M{S p delta add tail}B /b{S p tail} +B /c{-4 M}B /d{-3 M}B /e{-2 M}B /f{-1 M}B /g{0 M}B /h{1 M}B /i{2 M}B /j{ +3 M}B /k{4 M}B /w{0 rmoveto}B /l{p -4 w}B /m{p -3 w}B /n{p -2 w}B /o{p +-1 w}B /q{p 1 w}B /r{p 2 w}B /s{p 3 w}B /t{p 4 w}B /x{0 S rmoveto}B /y{ +3 2 roll p a}B /bos{/SS save N}B /eos{SS restore}B end +%%EndProcSet +%%BeginProcSet: special.pro +TeXDict begin /SDict 200 dict N SDict begin /@SpecialDefaults{/hs 612 N +/vs 792 N /ho 0 N /vo 0 N /hsc 1 N /vsc 1 N /ang 0 N /CLIP 0 N /rwiSeen +false N /rhiSeen false N /letter{}N /note{}N /a4{}N /legal{}N}B +/@scaleunit 100 N /@hscale{@scaleunit div /hsc X}B /@vscale{@scaleunit +div /vsc X}B /@hsize{/hs X /CLIP 1 N}B /@vsize{/vs X /CLIP 1 N}B /@clip{ +/CLIP 2 N}B /@hoffset{/ho X}B /@voffset{/vo X}B /@angle{/ang X}B /@rwi{ +10 div /rwi X /rwiSeen true N}B /@rhi{10 div /rhi X /rhiSeen true N}B +/@llx{/llx X}B /@lly{/lly X}B /@urx{/urx X}B /@ury{/ury X}B /magscale +true def end /@MacSetUp{userdict /md known{userdict /md get type +/dicttype eq{userdict begin md length 10 add md maxlength ge{/md md dup +length 20 add dict copy def}if end md begin /letter{}N /note{}N /legal{} +N /od{txpose 1 0 mtx defaultmatrix dtransform S atan/pa X newpath +clippath mark{transform{itransform moveto}}{transform{itransform lineto} +}{6 -2 roll transform 6 -2 roll transform 6 -2 roll transform{ +itransform 6 2 roll itransform 6 2 roll itransform 6 2 roll curveto}}{{ +closepath}}pathforall newpath counttomark array astore /gc xdf pop ct 39 +0 put 10 fz 0 fs 2 F/|______Courier fnt invertflag{PaintBlack}if}N +/txpose{pxs pys scale ppr aload pop por{noflips{pop S neg S TR pop 1 -1 +scale}if xflip yflip and{pop S neg S TR 180 rotate 1 -1 scale ppr 3 get +ppr 1 get neg sub neg ppr 2 get ppr 0 get neg sub neg TR}if xflip yflip +not and{pop S neg S TR pop 180 rotate ppr 3 get ppr 1 get neg sub neg 0 +TR}if yflip xflip not and{ppr 1 get neg ppr 0 get neg TR}if}{noflips{TR +pop pop 270 rotate 1 -1 scale}if xflip yflip and{TR pop pop 90 rotate 1 +-1 scale ppr 3 get ppr 1 get neg sub neg ppr 2 get ppr 0 get neg sub neg +TR}if xflip yflip not and{TR pop pop 90 rotate ppr 3 get ppr 1 get neg +sub neg 0 TR}if yflip xflip not and{TR pop pop 270 rotate ppr 2 get ppr +0 get neg sub neg 0 S TR}if}ifelse scaleby96{ppr aload pop 4 -1 roll add +2 div 3 1 roll add 2 div 2 copy TR .96 dup scale neg S neg S TR}if}N /cp +{pop pop showpage pm restore}N end}if}if}N /normalscale{Resolution 72 +div VResolution 72 div neg scale magscale{DVImag dup scale}if 0 setgray} +N /psfts{S 65781.76 div N}N /startTexFig{/psf$SavedState save N userdict +maxlength dict begin /magscale false def normalscale currentpoint TR +/psf$ury psfts /psf$urx psfts /psf$lly psfts /psf$llx psfts /psf$y psfts +/psf$x psfts currentpoint /psf$cy X /psf$cx X /psf$sx psf$x psf$urx +psf$llx sub div N /psf$sy psf$y psf$ury psf$lly sub div N psf$sx psf$sy +scale psf$cx psf$sx div psf$llx sub psf$cy psf$sy div psf$ury sub TR +/showpage{}N /erasepage{}N /copypage{}N /p 3 def @MacSetUp}N /doclip{ +psf$llx psf$lly psf$urx psf$ury currentpoint 6 2 roll newpath 4 copy 4 2 +roll moveto 6 -1 roll S lineto S lineto S lineto closepath clip newpath +moveto}N /endTexFig{end psf$SavedState restore}N /@beginspecial{SDict +begin /SpecialSave save N gsave normalscale currentpoint TR +@SpecialDefaults count /ocount X /dcount countdictstack N}N /@setspecial +{CLIP 1 eq{newpath 0 0 moveto hs 0 rlineto 0 vs rlineto hs neg 0 rlineto +closepath clip}if ho vo TR hsc vsc scale ang rotate rwiSeen{rwi urx llx +sub div rhiSeen{rhi ury lly sub div}{dup}ifelse scale llx neg lly neg TR +}{rhiSeen{rhi ury lly sub div dup scale llx neg lly neg TR}if}ifelse +CLIP 2 eq{newpath llx lly moveto urx lly lineto urx ury lineto llx ury +lineto closepath clip}if /showpage{}N /erasepage{}N /copypage{}N newpath +}N /@endspecial{count ocount sub{pop}repeat countdictstack dcount sub{ +end}repeat grestore SpecialSave restore end}N /@defspecial{SDict begin} +N /@fedspecial{end}B /li{lineto}B /rl{rlineto}B /rc{rcurveto}B /np{ +/SaveX currentpoint /SaveY X N 1 setlinecap newpath}N /st{stroke SaveX +SaveY moveto}N /fil{fill SaveX SaveY moveto}N /ellipse{/endangle X +/startangle X /yrad X /xrad X /savematrix matrix currentmatrix N TR xrad +yrad scale 0 0 1 startangle endangle arc savematrix setmatrix}N end +%%EndProcSet +TeXDict begin 40258431 52099146 1000 300 300 (clm.dvi) +@start /Fa 43 122 df<13FCEA0782EA0E07121C130290C7FCA4B5FCEA1C07AC387F1F +C01217809614>12 D<120112021204120C1218A21230A212701260A312E0AA1260A31270 +1230A21218A2120C12041202120108227D980E>40 D<12801240122012301218A2120CA2 +120E1206A31207AA1206A3120E120CA21218A2123012201240128008227E980E>I<1260 +12F0A212701210A21220A21240A2040A7D830A>44 D<126012F0A2126004047D830A>46 +D48 D<1206120E12FE120EB1EAFFE00B157D9412>III<1330 +A2137013F012011370120212041208121812101220124012C0EAFFFEEA0070A5EA03FE0F +157F9412>III<1240EA7FFE13FC13F8EAC008EA80101320EA00401380A2EA01005AA2 +12021206A2120EA512040F167E9512>III<126012F0A212601200 +A6126012F0A212701210A21220A21240A204147D8D0A>59 D<13101338A3135CA3138EA3 +EA0107A238020380A33807FFC0EA0401A2380800E0A2001813F0123838FE03FE17177F96 +1A>65 D67 +D69 D<387FFFF83860381800401308A200801304A30000 +1300AF3803FF8016177F9619>84 D97 D<12F81238A8EA39F0EA3E0CEA3806 +13077F1480A414005B1306EA361CEA21F011177F9614>II<133E130EA8EA07CEEA1C3E +EA300E1270126012E0A412601270EA301EEA182E3807CF8011177F9614>IIII<12F81238A813F8EA3B1CEA3C0E1238AA38FE3F +8011177F9614>I<12301278A212301200A512F81238AC12FE07177F960A>I<12F81238A8 +133E13381330134013801239EA3FC0EA39E0123813F01378133CA2EAFE7F10177F9613> +107 D<12F81238B3A312FE07177F960A>I<38F8F83E383B1CC7393C0F0380EA380EAA39 +FE3F8FE01B0E7F8D1E>III +I114 DI<1208A3 +1218A21238EAFFC0EA3800A71340A4EA1C80EA0F000A147F930E>III<38FEFE7C383838381410133C001C1320134C38 +1E4E60380ECE401387000713801303A200031300EA0201160E7F8D19>III E /Fb 18 120 df97 +D +99 D<133E130CA41318A4EA03B0EA0C701218EA303013601260A3EAC0C013C812401241 +EA62D0EA1C700F177C9612>II<131C1336133E136C1360A313C0A2EA07F8EA00C0A3EA +0180A5EA0300A412021206A2126612E45A12700F1D81960B>II<121F1206A45AA4EA19E0EA1A30EA1C101218EA3030A4EA6060136413C413C8EA +C04813700E177D9612>I<1203120712061200A61218122C124CA2128C1218A312301232 +126212641224123808177D960B>I<123E120CA41218A41230A41260A412C012C8A312D0 +126007177D9609>108 D<3830783C38498CC6384E0502EA4C06389C0E06EA180CA34848 +5A15801418A23960300900140E190E7D8D1D>IIII114 DI<1206A25AA4 +EAFF80EA1800A35AA45A1261A212621264123809147D930C>II<38380410384C0C18A338 +8C18101218A338303020A3001013403818588038078F00150E7D8D18>119 +D E /Fc 2 52 df<121FEA6180EA40C0EA806012C01200A213C0EA0180EA030012065AEA +10201220EA7FC012FF0B107F8F0F>50 D<121FEA2180EA60C0A212001380EA0100121FEA +00801340136012C0A2EA8040EA6080EA1F000B107F8F0F>I E /Fd +6 114 df<381FFFE05A4813C038410800EA8218EA02101206A21204EA0C38A2121C1218 +EA383C131CEA301813107E8F16>25 D<126012F0A2126004047D830B>58 +D<126012F0A212701210A31220A21240A2040B7D830B>I<1304130C1318A31330A31360 +A313C0A3EA0180A3EA0300A31206A35AA35AA35AA35AA35AA20E257E9B13>61 +D<12E01278121EEA0780EA01E0EA0078131EEB0780EB01E0EB0078141EA21478EB01E0EB +0780EB1E001378EA01E0EA0780001EC7FC127812E017167D931E>I113 D E /Fe 7 114 df<132013401380EA01005A1206A25AA25AA21238 +1230A21270A3126012E0AD12601270A31230A212381218A27EA27EA27E7EEA0080134013 +200B317A8113>0 D<7E12407E7E12187EA27EA27EA213801201A213C0A3120013E0AD13 +C01201A31380A212031300A21206A25AA25A12105A5A5A0B317F8113>I<1306130C1318 +13301370136013C012011380120313005A1206120E120C121CA212181238A312301270A6 +5AB21270A612301238A31218121CA2120C120E120612077E1380120113C0120013601370 +13301318130C13060F4A788119>16 D<12C012607E7E121C120C7E12077E1380120113C0 +120013E013601370A213301338A31318131CA6130EB2131CA613181338A313301370A213 +6013E013C012011380120313005A12065A121C12185A5A5A0F4A7F8119>I<00E0ED0380 +B3B3A60070ED0700A36C150EA26C5D001E153C000E15386C5D01C0EB01F06C6C495AD800 +F8EB0F80017F017FC7FC90381FFFFC010713F001001380293A7E7F2E>91 +D<16021606160CA21618A21630A21660A216C0A2ED0180A2ED0300A21506A25DA25DA25D +A25D1208001C5C123C00CE495A120E4AC7FC7E1406EA03805CEA01C05C13E000005BA2EB +7060A26D5AA2EB1D80A2011FC8FC7F130E130627327C812A>112 +D<16021606A2160CA31618A31630A31660A316C0A3ED0180A3ED0300A31506A35DA35DA3 +5DA35DA21208001C5C123C127C00DC495A128E120E4AC7FC7EA21406EA0380A25CA2EA01 +C05CA2EA00E05CA3EB7060A36D5AA3EB1D80A3011FC8FC7FA2130E1306A2274B7C812A> +I E /Ff 13 113 df0 D<126012F0A2126004047D8A0B>I<1308 +130CABB61280A2D8000CC7FCAAB61280A2191A7E981E>6 D14 D17 D25 D<141880A280140780B612C081C81238151EED07 +80ED0E0015385DB612C05DC70003C7FC1406A25CA25C21167E9326>41 +D<3907C001F0391FF0078C39307C0C0239601E180138400F303A80076000806D5AA26D7E +A2EB03703A4006780100496C5A3920181F063918F007FC3907C001F021107E8F26>49 +D<133C13E0EA01C0EA0380ADEA0700121E12F8121E1207EA0380ADEA01C0EA00E0133C0E +257E9B13>102 D<12F8121E1207EA0380ADEA01C0EA00E0133C13E0EA01C0EA0380ADEA +0700121E12F80E257E9B13>I<13801201EA0300A31206A25AA35AA35AA25AA35AA21260 +A37EA27EA37EA37EA27EA3EA0180120009267D9B0F>I<12C0A21260A37EA27EA37EA37E +A27EA3EA0180A2EA0300A31206A25AA35AA35AA25AA35AA209267E9B0F>I<1502150615 +0CA21518A21530A21560A215C0A2EC0180A2EC0300A21406A25C120C003C5B124E008E5B +12075CA26C6C5AA23801C180A2D800E3C7FCA21376A2133CA21318A21F267E8120>112 +D E /Fg 8 110 df18 D25 D<124012E012601220A31240A21280 +03097D820A>59 D<13201360A213C0A3EA0180A3EA0300A31206A25AA35AA35AA35AA35A +A30B1D7E9511>61 D<1206120712061200A41238124CA2128C12981218A212301232A212 +64A2123808147F930C>105 D<1330133813301300A4EA01C0EA0260EA04301360120812 +00A213C0A4EA0180A4EA630012E312C612780D1A81930E>I<121E12065AA45A1338135C +139CEA3118EA36001238EA3F80EA61C0EA60C8A3EAC0D013600E147F9312>I<3830F87C +38590C86384E0D06EA9C0EEA980C1218A248485A15801418A23960301900140E190D7F8C +1D>109 D E /Fh 20 123 df<13F8EA030C380E0604EA1C073838030800301388007013 +90A200E013A0A214C01480A3EA6007EB0B8838307190380F80E016127E911B>11 +D<137813CCEA0186EA03061206120E120CEA1C071218EA3806A2EA300E1270A2EA7FFEEA +E01CA31318133812C013701360A213C0EAC1801261EA6200123C101D7E9C13>18 +D<380FFFF85A5A386084001241EA81041201EA030CA212021206A2120E120CEA1C0EA212 +38EA180615127E9118>25 D<126012F0A2126004047C830C>58 D<126012F0A212701210 +A41220A212401280040C7C830C>II<130113031306A3130CA31318A31330A31360A213C0A3EA0180A3 +EA0300A31206A25AA35AA35AA35AA35AA210297E9E15>I<12E01278121EEA0780EA01E0 +EA0078131EEB0780EB01E0EB0078141EEC0780A2EC1E001478EB01E0EB0780011EC7FC13 +78EA01E0EA0780001EC8FC127812E019187D9520>I<133E13C3380100C0120200031360 +EA0780147038030030C7FCA3EBFC70EA0382EA0601120C381800F0003813E012301270EB +01C012E0A21480130314001306A2EA600C6C5AEA1860EA0F80141F7E9D16>64 +D<903801F80890380E0618903838013890386000F048481370485A48C71230481420120E +5A123C15005AA35AA45CA300701302A200305B00385B6C5B6C136038070180D800FEC7FC +1D1E7E9C1E>67 D<48B5FC39003C03C090383800E015F01570A24913F0A315E0EBE001EC +03C0EC0700141E3801FFF001C0C7FCA3485AA448C8FCA45AEAFFE01C1C7E9B1B>80 +D<001FB512F0391C03807039300700300020142012601240130E1280A2000014005BA45B +A45BA45BA41201EA7FFF1C1C7F9B18>84 D99 D +101 D105 D107 D110 +D<13C01201A3EA0380A4EAFFF0EA0700A3120EA45AA4EA3820A21340A2EA1880EA0F000C +1A80990F>116 D<380787803808C8403810F0C03820F1E0EBE3C03840E1803800E000A2 +485AA43863808012F3EB810012E5EA84C6EA787813127E9118>120 +D122 D E /Fi 20 123 +df67 D97 D<123C120C5AA45AEA3380EA3C60EA3020EA60 +30A4EAC060A2EA40C0EA6080EA2300121E0C147D9310>II<133C130C1318A41330EA07 +B0EA0C701210EA30601260A3EAC0C013C8A21241EA62D0EA3C700E147C9312>I +I<120212061200A51238124CA2128C12981218A212301232A21264A2123807147D930B> +105 D<131813101300A5EA01C0EA0260EA0430136012081200A213C0A4EA0180A4EA0300 +12C312C612780D1A81930B>I<121E12065AA45A1338134C1388EA310012361238EA3F80 +EA61C0EA60C8A3EAC0D013600E147E9310>I<3830F87838590D8C384E0E0C129CEA980C +1218A238301818141914311432EA6030141C180D7D8C1C>109 DIII114 +D<1207EA188013C0EA3080EA3800121E121FEA0380120112C1EA81001282127C0A0D7D8C +0E>I<1204120CA35AEAFF80EA1800A25AA45A1261A212621264123809127D910C>II120 +DII E /Fj 89 126 df<126012F0AD12601200A4 +126012F0A212600417789614>33 DI< +EA071CA5EA7FFFB51280A2380E3800A7B51280A26C1300EA1C70A511177F9614>I<1380 +1201A2EA07E0EA1FF0EA39BCEA619CEAC18EA3EAE184EA7180127FEA1FE0EA0FF0EA01F8 +139C138EEA418612E1A3EA718CEA39B8EA1FF0EA0FC0EA0180A212000F1D7E9914>II<1207487EEA18C0EA38 +E0A35B3839CF80138F381F1C00121EA2EA0E38121EEA37701267EAE3F05B38E1C38013E3 +EA63F3383F3F00EA1E1E11177F9614>I40 D<128012C01260123012381218 +121C120EA31207A9120EA3121C121812381230126012C01280081D7C9914>III<127012F812FCA2127C120C121812 +3012E012C0060A798414>II<127012F8A312700505798414>I< +1306130EA2131CA21338A21370A213E0A2EA01C0A2EA0380A3EA0700A2120EA25AA25AA2 +5AA25AA25A0F1D7E9914>II<1203A25A5A123F12F712471207 +AEEA7FF0A20C177C9614>III<137813F8EA01B8A2EA0338A21206120E +120C121C12381230127012E0B51280A238003800A548B4FCA211177F9614>II +I<12E0EAFFFEA2EAE01C1338EA0030137013E013C0120113801203A2EA0700A4120EA612 +040F187E9714>III<127012F8A312701200A6127012F8 +A312700510798F14>I<127012F8A312701200A6126012F012F8A2127812181230127012 +E012800515798F14>I<130E133E137C13F0EA03E0EA07C0EA1F00123E12F85A7E123E7E +EA07C0EA03E0EA00F0137C133E130E0F137E9414>I<124012E012F8127C121EEA0F80EA +07C0EA01F0EA00F8133E131E133E13F8EA01F0EA07C0EA0F80EA1E00127C5A12E012400F +157E9514>62 DIIII<3801F180EA07FFEA0E1FEA1C +071238EA7003A348C7FCA738700380A338380700121CEA0E0EEA07FCEA01F011177F9614 +>IIIII<38FE3F80A238380E +00A8EA3FFEA2EA380EA938FE3F80A211177F9614>IIIII<38FC1F80A2007C13 +00EA7637A4EA7777A2EA7367A313E7EA71C7A2EA7007A638F80F80A211177F9614>I<38 +FE3F80A2383E0E00123BA4138E1239A213CEA31238A213EE136EA4133E12FEA211177F96 +14>I +I +IIII<387FFF80B5FCEAE1C3A43801C000AFEA0FF8A211177F +9614>I<38FE0FE0A238380380B0381C0700A2EA0E0EEA07FCEA01F01317809614>I<38FC +1F80A238380E00A3EA3C1EEA1C1CA46C5AA4EA0630EA0770A3EA0360A213E0A26C5A1117 +7F9614>I<38FC1F80A238700700A7EA31C6EA33E6EA3BEE136EA5EA1B6CA2EA1A2CEA1E +3CA311177F9614>II<38FC1F80A238 +380E00EA3C1EEA1C1CEA1E3CEA0E38A26C5AA2EA036013E0A26C5AA8EA07F0A211177F96 +14>II +I<12C07EA21270A27EA27EA27EA27EA2EA0380A3EA01C0A2EA00E0A21370A21338A2131C +A2130EA213060F1D7E9914>II95 D97 D<12FCA2121CA513F8EA1DFEEA1F07EA1E03001C +1380EB01C0A6EB0380001E1300EA1F0EEA1DFCEA0CF81217809614>II< +137EA2130EA5EA07CEEA0FFEEA1C3EEA301EEA700E12E0A61270EA301EEA383E381FEFC0 +EA07CF12177F9614>II<13FCEA01FEEA038EEA07041300 +A3EA7FFE12FFEA0700ACEAFFF8A20F177F9614>II<12FCA2121CA51378EA1DFEEA1F86EA1E07 +121CAA38FF8FE0A21317809614>I<1206120FA21206C7FCA4B4FCA21207ACEAFFF8A20D +187C9714>I<136013F0A213601300A4EA1FF0A2EA0070B2EA40E0EAE0C0EA7F80EA3F00 +0C207E9714>I<12FCA2121CA5EBFF80A2EB1C005B5B5BEA1DC0EA1FE0A2EA1E70EA1C38 +133C131C7F38FF1F80A21117809614>IIIIIIIII<1206120EA4EA7FFC12FFEA0E00A8130EA3131C +EA07F8EA01F00F157F9414>II< +38FE3F80A2383C1E00EA1C1CA36C5AA3EA0630EA0770A36C5AA311107F8F14>I<38FE3F +80A238700700EA380EA3EA39CEA3EA1B6C121AA3EA1E7CA2EA0E3811107F8F14>II<38FE3F80A2381C0E005BA2120E5BA212071330A2EA0370A25B1201A25BA348 +5A12730077C7FC127E123C11187F8F14>II<133E13FEEA01E0EA0380 +AAEA7F0012FE127FEA0380AAEA01E0EA00FE133E0F1D7E9914>I<12E0B3AB031D789914> +I<127812FE120FEA0380AAEA01FCEA00FEEA01FCEA0380AAEA0F0012FE12780F1D7E9914 +>I E /Fk 15 112 df<120212041208121812101230122012601240A212C0AA1240A212 +601220123012101218120812041202071E7D950D>40 D<12801240122012301210121812 +08120C1204A21206AA1204A2120C1208121812101230122012401280071E7E950D>I<13 +60AAB512F0A238006000AA14167E9119>43 D<124012E0124003037D8209>46 +D<120FEA30C0EA6060A2EA4020EAC030A9EA4020EA6060A2EA30C0EA0F000C137E9211> +48 D<120C121C12EC120CAFEAFFC00A137D9211>I<121FEA60C01360EAF07013301260EA +0070A2136013C012011380EA02005AEA08101210EA2020EA7FE012FF0C137E9211>II53 DI<1240EA7FFC13F8EA4010EA80301320EA00401380EA0100A25A12021206A2 +120EA512040E147E9311>II103 D<12F01230B212FC06147F9309>108 D111 D E +/Fl 8 113 df0 D<124012E0124003037D880A>I<1204A3EAC4 +60EAF5E0EA3F80EA0E00EA3F80EAF5E0EAC460EA0400A30B0D7E8D11>3 +D<120E121FEA3180EA60C0A2EAC060A4EA60C0A2EA3180EA1F00120E0B0E7E8D11>14 +D<14101418A280A28080B612E0A2C7EA030014065CA25CA214101B107E8E21>33 +D<1204120EA2121CA31238A212301270A21260A212C0A2070F7F8F0A>48 +D<000F131E393BC06180396060804038403100D8801A1320130EA3130B39401180409038 +20C0C03930C07B80390F001E001B0D7E8C21>I<154015C0EC0180A2EC0300A21406A25C +5CA25CA25CA200305B12D838180180120C49C7FC120613066C5AA2EA0198A2EA00F0A213 +60A21A1E7F811B>112 D E /Fm 36 122 df45 +D48 DIII<1306130E131E133E137E13DEEA019E131E12031206120C12181230126012C0 +B512E0A238001E00A53801FFE0A213187F9716>III<1260387FFF +C0A214801400EAE00612C05B5BC65A5B13E0A212015B1203A31207A66C5A12197E9816> +III<127812FCA412781200A5127812FC +A4127806117D900C>I<1303497EA2497EA3EB1BE0A2EB3BF01331A2EB60F8A2EBE0FCEB +C07CA248487EEBFFFE487FEB001F4814800006130FA248EB07C039FF803FFCA21E1A7F99 +21>65 D<90381FE0209038FFFCE03803F80F3807C003381F800190C7FC123E007E146012 +7C00FC1400A8007C1460127E123E6C14C07F3907C003803903F80F003800FFFCEB1FF01B +1A7E9920>67 D70 D<90381FE0209038FFFCE03803F80F3807 +C003381F800190C7FC123E007E1460127C00FC1400A6EC7FFCA2007CEB03E0127E123E7E +1380EA07C03803F8073800FFFC90381FF0601E1A7E9923>I73 D<39FF800FFC13C0390FE000C07F120DEA0CF8137C7F133F7FEB0F +80EB07C0EB03E014F01301EB00F8147C143E143F141F140F14071403A238FFC00114001E +1A7E9923>78 D82 D<007FB51280A238781F +07007013030060130100E014C000C01300A300001400AF3807FFFCA21A1A7E991F>84 +D<39FFF81FF8A2390F800180B20007EB030013C0000313063801F01C38007FF8EB1FE01D +1A7E9922>I97 D<12FCA2123CA713FE383F8780383E01C0003C13E0EB +00F0A214F8A514F0A2EB01E0003E13C0383B07803830FE00151A7E9919>I101 D<3807F1C0381C1EE0EA380E38780FC01400A4EA380E6C5AEA37F0 +0020C7FC1230A2EA3FFE381FFF8014C0EA700338E000E0A4387001C0383C07803807FC00 +13197F9016>103 D<123C127EA4123C1200A412FCA2123CAD12FFA2081B7E9A0D>105 +D<12FCA2123CA7EB1FC0A2EB0E005B5B13605BEA3FE07FEA3E78EA3C387F131E7F7F38FF +0FE0A2131A7E9917>107 D<12FCA2123CB3A412FFA2081A7E990D>I<39FC3E03E09038C7 +8C78393D039038003EEBE03CA2003C13C0AA39FF0FF0FFA220117E9025>III< +EAFCFE38FF8780383E03C0383C01E014F0130014F8A514F0130114E0383E03C0383F0780 +383CFE0090C7FCA5B4FCA215187E9019>I114 D<1206A4120EA2121EEA3FF012FFEA1E00A81318A5EA0F30EA +03E00D187F9711>116 D<38FC0FC0A2EA3C03AB1307A2381E0BF0EA07F314117E9019>I< +38FF03F0A2383E01C0001E1380EA1F03000F1300A2EA0786A2EA03CCA213FC6C5AA26C5A +A21360A2EA70C012F812F95B0077C7FC123C14187F9017>121 D +E /Fn 4 127 df<1218123C123E121E120EA5121CA2123812F812F01260070F779D1A> +39 D94 +D<120C121E123E12381270A212E0A512F012F812781230070F76A11A>96 +D126 +D E /Fo 67 123 df<90380FF83F90397FFDFFC03A01F81FE3E03903E03F87EA07C0D80F +801307ED03C06EC7FCA6B612FCA2260F801FC7FCB2397FF0FFF0A223237FA221>11 +DII<38380380387C07C038FE0FE000FF13F0 +A2EA7F07383B03B038030030A300061360A24813C0EA1C010018138038700700EA200214 +117EA21D>34 D<1238127C12FE12FFA2127F123B1203A31206A2120C121C121812701220 +08117C8610>44 DI<1238127C12FEA3127C123807077C8610>I< +14181438A21470A214E0A3EB01C0A2EB0380A3EB0700A3130EA25BA35BA25BA35BA2485A +A3485AA248C7FCA3120EA35AA25AA35AA25AA25A15317DA41C>I<13FE3807FFC0380F83 +E0381F01F0383E00F8A248137CA312FC147EAD007C137CA36C13F8A2381F01F0380F83E0 +3807FFC03800FE0017207E9F1C>I<13181378EA01F812FFA21201B3A7387FFFE0A21320 +7C9F1C>II<13FE3807FFC0380F07E0381E03F0123FEB81 +F8A3EA1F0314F0120014E0EB07C0EB1F803801FE007F380007C0EB01F014F8EB00FCA200 +3C13FE127EB4FCA314FCEA7E01007813F8381E07F0380FFFC03801FE0017207E9F1C>I< +14E013011303A21307130F131FA21337137713E7EA01C71387EA03071207120E120C1218 +1238127012E0B6FCA2380007E0A790B5FCA218207E9F1C>I<00301320383E01E0383FFF +C0148014005B13F8EA33C00030C7FCA4EA31FCEA37FF383E0FC0383807E0EA3003000013 +F0A214F8A21238127C12FEA200FC13F0A2387007E0003013C0383C1F80380FFF00EA03F8 +15207D9F1C>II<12601278387FFFFEA214 +FC14F8A214F038E0006014C038C00180EB0300A2EA00065B131C131813381378A25BA312 +01A31203A76C5A17227DA11C>I<13FE3803FFC0380703E0380E00F05A1478123C123E12 +3F1380EBE0F0381FF9E0EBFFC06C13806C13C06C13E04813F0381E7FF8383C1FFCEA7807 +EB01FEEAF000143E141EA36C131C007813387E001F13F0380FFFC00001130017207E9F1C +>II<1470A214F8A3497EA2497EA3EB067FA2 +010C7F143FA2496C7EA201307F140F01707FEB6007A201C07F90B5FC4880EB8001A2D803 +007F14004880000680A23AFFE007FFF8A225227EA12A>65 DIII +IIIII75 DIIIIIII<3801FE023807FF86381F01FE383C007E007C131E00 +78130EA200F81306A27E1400B4FC13E06CB4FC14C06C13F06C13F86C13FC000313FEEA00 +3F1303EB007F143FA200C0131FA36C131EA26C133C12FCB413F838C7FFE0008013801822 +7DA11F>I<007FB61280A2397E03F80F00781407007014030060140100E015C0A200C014 +00A400001500B3A248B512F0A222227EA127>I +III<00041340000E13E0 +38180180EA380300301300EA6006A2485AA338DC0DC038FE0FE000FF13F0A2EA7F07383E +03E0381C01C014117AA21D>92 D97 DIII< +13FE3807FF80380F87C0381E01E0003E13F0EA7C0014F812FCA2B5FCA200FCC7FCA3127C +A2127E003E13186C1330380FC0703803FFC0C6130015167E951A>II<38 +01FE0F3907FFBF80380F87C7381F03E7391E01E000003E7FA5001E5BEA1F03380F87C0EB +FF80D809FEC7FC0018C8FCA2121C381FFFE06C13F86C13FE001F7F383C003F48EB0F8048 +1307A40078EB0F006C131E001F137C6CB45A000113C019217F951C>II<121C123E12 +7FA3123E121CC7FCA7B4FCA2121FB2EAFFE0A20B247EA310>I<1338137C13FEA3137C13 +381300A7EA03FEA2EA003EB3A5127812FC133C137CEA78F8EA7FE0EA1F800F2E83A311> +III<3AFF07F007F090391FFC1FFC3A1F303E303E01401340496C487EA20100 +1300AE3BFFE0FFE0FFE0A22B167E9530>I<38FF07E0EB1FF8381F307CEB403CEB803EA2 +1300AE39FFE1FFC0A21A167E951F>I<13FE3807FFC0380F83E0381E00F0003E13F84813 +7CA300FC137EA7007C137CA26C13F8381F01F0380F83E03807FFC03800FE0017167E951C +>I<38FF0FE0EB3FF8381FE07CEB803E497E1580A2EC0FC0A8EC1F80A29038803F00EBC0 +3EEBE0FCEB3FF8EB0FC090C8FCA8EAFFE0A21A207E951F>IIII<487EA41203A21207A2120F123FB5FCA2EA0F80ABEB8180A5EB8300EA07C3 +EA03FEEA00F811207F9F16>I<38FF01FEA2381F003EAF147E14FE380F81BE3907FF3FC0 +EA01FC1A167E951F>I<39FFE01FE0A2391F800700000F1306EBC00E0007130C13E00003 +5BA26C6C5AA26C6C5AA2EB7CC0A2137F6D5AA26DC7FCA2130EA21B167F951E>I<3AFFE3 +FF07F8A23A1F007800C09038807C01000F1580A23A07C07E030014DE5D3903E1DF06148F +D801F1138CEBF307A2D800FF13D8EBFE0315F890387C01F0A2013C5BEB3800A225167F95 +28>I<39FFE07FC0A2390F801C006C6C5A6C6C5AEBF0606C6C5A3800F980137F6DC7FC7F +80497E1337EB63E0EBC1F03801C0F848487E3807007E000E133E39FF80FFE0A21B167F95 +1E>I<39FFE01FE0A2391F800700000F1306EBC00E0007130C13E000035BA26C6C5AA26C +6C5AA2EB7CC0A2137F6D5AA26DC7FCA2130EA2130CA25B1278EAFC3813305BEA69C0EA7F +80001FC8FC1B207F951E>I<387FFFF0A2387C03E0387007C0EA600F38E01F8000C01300 +133E137EC65A5B485A00031330EA07E013C0380F8070121F383F0060003E13E0EA7C03B5 +FCA214167E9519>I E /Fp 41 122 df<1506150FA2151F151EA2153E153CA2157C1578 +A215F815F0A2140115E0A2140315C0A214071580A2140F1500A25C141EA2143E143CA214 +7C1478A214F85CA213015CA213035C13075CA2130F91C7FCA25B131EA2133E133CA2137C +1378A213F85BA212015BA212035BA212075BA2120F90C8FCA25A121EA2123E123CA2127C +1278A212F85AA2126020577BC02B>47 D65 DI<913801FFE0021F13FE027FEBFFC049B612F05B010FEB007FD91FF8 +EB0FE0D93FE0130149481300494814204848C9FC12035B485A485AA2485AA2485AA3485A +A448CAFCAC6C7EA46C7EA36C7EA26C7EA26C7E6C7E7F000116086C6C6C14186D6C14786D +6C14F8D91FF813036DB4133F010390B512F06D15C06D6C1400021F13FC020113E02D3E7B +BC37>IIII<913801FFC0021F +13FC027FEBFF8049B612E0010715F849EB007FD91FF8130FD93FE0EB01F04948130049C8 +123048481510000316005B485A485AA2485AA2485AA3485AA448CAFCA992380FFFF8A36C +7EA2ED0003A26C7EA36C7EA26C7EA26C7E6C7E7F12016C7EEB7FC06D7ED91FF813076DB4 +137F6D90B5FC010115E06D6C1480021FEBFC00020113C02D3E7BBC39>II<12FFB3B3B3A6083C78BB18>I76 DIIII<49B47E010F13F8013F13FF90 +B612C04815E05A48EB007FD80FF8EB0FC04848130301C01301003FEC0040491400A248C9 +FCA67F123F7F7FEA1FF813FE380FFFE06C13FE6CEBFFC06C14F06C14FC6D7F011F7F0103 +1480D9003F13C0020313E09138007FF0151FED0FF81507A2ED03FCA21501A6ED03F81240 +12600078EC07F0007C140FB4EC1FE001E0EB7FC09038FC01FF6CB61280001F1500000714 +FC00015CD8003F13E0010390C7FC263E7CBC30>83 DI97 D<12FEB3A3EB01FE90380FFF80013F7F497FB67E9038F81FF89038E007 +FC90388001FE90C7FC4880811680153FA3ED1FC0AAED3F80A3ED7F00A26C5C4A5A6D485A +EBC0079038F03FF890B55A485C013F13806D90C7FC380003F8223D7ABB2C>IIIIII<12FEB3A3EB01FE903807FFC0011F13E0 +4913F04913F8EBF80F39FFE003FCEBC00115FE138090C7FCA35AB3A81F3C7ABB2C>I<12 +FFA81200AD127FB3B3A2083B7BBA14>II<12FEB3A44AB4FC +4A5A4A5A4A5A4A5A4A5A4A5A4A5A4990C7FC495A495A495A495A495A495A13FFB57E80A2 +EBFBF8EBF3FC13E1EBC0FE497E497E486D7E6E7E81140F6E7E8114036E7E816E7E81ED3F +8016C0223C7ABB2A>I<12FEB3B3B3A6073C7ABB14>III< +EB01FE90380FFFC0013F13F0497F48B512FE48EB03FF3A07F8007F8049133F4848EB1FC0 +4848EB0FE0491307003F15F090C712034815F8A2007E140100FE15FCA96C14036C15F8A3 +6C6CEB07F06D130F001F15E06D131F6C6CEB3FC0D807FCEBFF802603FF0313006CEBFFFE +6C5C013F13F0010F13C0D901FEC7FC26297EA72B>II<903907F01FC0EB3FFCEB7FFF48B5129F4814DF48EB03FF380F +FC01EBF0004848137F49133F123F49131F127F90C7FCA25A5AA9127FA37F123F6D133F6C +6C137F6D13FF6C6C5A3807FE076CB512DF6C149F6C141FEB7FFCEB0FE090C7FCB022387D +A62C>I<147838FC03F8130F131F133F137FEBFF8038FDFC00B45A5B5B5B5BA290C7FCA3 +5AB3A415277AA61D>III<00FE14FEB3AA1401A214 +0314076C130F387FC03FEBFFFE6C13FC6C13F06C13C0D803FEC7FC1F277AA52C>II120 +DI E /Fq 68 125 df12 D<903803FB80EB0E0FEB1C1FEB18 +1B9038380700A31370140EA23807FFFE3800700E495AA45CEA01C0A31472A2EA0380A214 +34141890C8FC5AA2126612E65A12781921819917>I<1218123CA2121C1208A312101220 +12401280060B78990C>39 D<130413181330136013C013801201EA0300A21206120E120C +121C1218A212381230A21270A21260A312E0A35AA51260A31220123012107E0E267B9B10 +>I<134013601320133013101318AB1338A21330A21370A2136013E013C0A21201138012 +0313001206A25A5A12105A5A5A0D267F9B10>I<121812381278123812081210A21220A2 +12401280050B7D830C>44 DI<1230127812F0126005047C +830C>I<137CEA0186EA03031206000C1380121CA21238A338700700A4EAE00EA35BA213 +185BEA60606C5A001FC7FC11187C9714>48 D<1308131813301370EA01F0EA0E70EA00E0 +A4EA01C0A4EA0380A4EA0700A45AEAFFE00D187C9714>I<137CEA0186EA020300041380 +138312081210A3381107001212EA0C0EC65A13305BEA01800002C7FC120CEA10011220EA +3C06EA67FEEAC1FCEA80F011187D9714>I<133E13C3380101801202380481C013413808 +8380120438070300EA00065BEA01F0EA00187FA2130EA21260EAE01CA2EA8038EA4030EA +20E0EA1F8012187D9714>I<13031480EB0700A3130EA35BA213185BA25B5B13C6EA018E +EA030EEA021C120412081210EA7FB838807F8038003800A25BA41360111F7F9714>I<38 +030180EBFF0013FCEA022048C7FCA45AEA0BE0EA0C181208EA001CA412201270485AEA80 +30EA40705BEA2180001EC7FC11187C9714>I<131EEB6180EA0180EA03031206000EC7FC +5A12181238EA39F0EA7218EA740CEA780E127012F012E0A35BA2EA60385BEA30C0EA1F80 +11187C9714>I<3809C0403817E080EA1FF1383C1F00EA3002EA6006EA4004EA800CEA00 +0813185BA21370136013E05B1201A25B1203A348C7FC7E12187B9714>I<133EEBC180EA +0100000213C01206A2380E0180380703001386EA03CCEA01F07FEA067C487EEA181EEA30 +071260A2EAC006A2EA400CEA6018EA3070EA0FC012187D9714>I<137CEA0186EA070312 +0E000C1380121C1238A3130714005BEA1817EA0C27EA07CEEA000E130C131C1318EAE030 +5BEA80C0EAC380003EC7FC11187C9714>I<1206120F121E120C1200A81230127812F012 +6008107C8F0C>I<1203EA0780EA0F001206C7FCA8121812381278123812085AA25AA25A +5A09177D8F0C>I<1420146014E0A2130114F0EB0270A213041308A21310A213201340A2 +EB8038EBFFF8380100381202A25AA25A121838FE01FF181A7E991D>65 +D<3803FFF83800700E1406140713E0A43801C00E141C143814703803FFE0EB8078143814 +1CEA0700A4000E1338A2147014E0381C03C0B51200181A7D991B>II<3803FFF83800700E80809038E00180A3 +15C0EA01C0A43903800380A3150048485AA2140E140C000E131C5C5C5C381C0380D8FFFE +C7FC1A1A7D991D>I<0003B5FC380070071403140113E0A43801C080A313C13803FF0013 +81A3EA0702EB0004A21408120E1418141014304813E0B5FC181A7D991A>I<0003B5FC38 +0070071403140113E0A43801C080A313C13803FF001381A3EA070290C7FCA3120EA4121E +EAFFC0181A7D9919>II<3903FF1FF83900700380A39038E00700A43801C00EA43803FFFCEB801CA348485A +A4000E5BA4485B38FF87FC1D1A7D991D>III76 DI<3903F0 +07F839007800C01580A290389C0100A3138E38010E0213061307A238020384A3EB01C400 +0413C8A2EB00E8A24813F01470A21218142012FE1D1A7D991D>II<3803FFF83800701C +1406140713E0A43801C00EA2141C143838038060EBFF80EB8000A248C7FCA4120EA45AB4 +7E181A7D991A>II<3803FFF03800 +701C140E140713E0A43801C00E141C143814E03803FF80EB80C014601470EA0700A4000E +13E0A214E114E248136238FF803C181A7D991C>II<383FFFFC38381C0C00201304124013381280A338 +007000A45BA4485AA4485AA41207EAFFF8161A79991B>I<387FE0FF380E00181410A248 +1320A4481340A4481380A438E00100A31302A25BEA60085BEA3860EA0F80181A78991D> +I<3901FF07F839007801C00138138090383C0300EB1C025CEB1E08EB0E105C6D5A5CA213 +03A2497E13091311EB20E01340497E380100705A00021378000C1338121CB448B4FC1D1A +7E991D>88 D97 D<127E120EA35AA45AA2EA3BC0EA3C301278EA7018A3EAE038A4EA +C070136013E0EA60C0EA6380EA1E000D1A7C9912>IIII<1307EB0980131BEB3B00133813301370A4EA07FFEA00E0 +A5485AA5485AA490C7FC5AA21206126612E412CC1270112181990C>I<13F338038B8038 +060700120E120C121CEA380EA4EA301CA3EA183C5BEA07B8EA0038A25B1260EAE0E0EAC1 +C0007FC7FC11177E8F12>II<12031207120612 +00A61238124C124E128E129CA2121C1238A212701272A212E212E41264123808197C980C +>I<130C130E130C1300A613E0EA013812021204A3EA0070A413E0A4EA01C0A4EA038012 +63EAE70012CE12780F2081980C>II< +121F1207A3120EA4121CA41238A41270A412E4A412E81230081A7D990A>I<38307C1E38 +598663399E0783801403129CA239380E0700A3140ED8701C1340A2141C158038E0380C39 +601807001A107C8F1F>IIIIIII<1206120EA45AA2EAFFC0EA1C005AA45AA412 +E1A312E212E412380A177C960D>III<38380C10384C0E38EA4E +1C008E1318129CA2381C38101238A338707020A2144012303818B880380F0F0015107C8F +19>IIII124 D E /Fr 7 115 +df<126012F0A212601200AA126012F0A2126004127B910D>58 D<13201370A313B8A3EA +011CA2EA031EEA020EA2487EEA07FFEA040738080380A2001813C01301123838FC07F815 +157F9419>97 D99 +D101 DI112 D +114 D E /Fs 94 127 df<126012F0AF12601200A4126012F0A212600419779816>33 +DII<13C01201A3EA07F0EA1F +FC487EEA7DCF3871C780EAE1C313C7A238F1C300EA79C0123FEA1FF0EA07FCEA01FE13CF +13C73861C38012F1A212E13871C700EA79DFEA3FFEEA1FF8EA07E0EA01C0A2120011207E +9C16>I<38380180EA7C03A238EE0700A2130EA35B127C5B1238C65AA35BA2485AA3485A +EB8380380707C0A2380E0EE0A3121CA2383807C0A23818038013207F9C16>II<12301278127C12 +3C121CA41238127812F012E01240060D789816>I<13E01201EA0380EA0700120E5AA25A +A25AA35AA91270A37EA27EA27E7EEA0380EA01E012000B217A9C16>I<12C07E12707E7E +7EA27EA2EA0380A3EA01C0A9EA0380A3EA0700A2120EA25A5A5A5A5A0A217B9C16>II<13E0A8B512E0A33800E000A813137F9516>I<1238127C127EA2123E120E12 +1E121C127812F01260070B798416>II<127012F8A31270050578 +8416>III<12035AA25A5AB4FCA212E71207AEEAFFF8A30D197B9816>III<137C13FC13DC1201EA039CA2EA071C120F120E121E123C12381278 +12F0B512E0A338001C00A53801FFC0A313197F9816>II<13F8EA03FC487EEA0F07EA1C0F1238EA78060070C7FCA2EAE3F8EAEFFC +B47EEAF80F487EEB038012E0A21270A2130700381300EA3C1EEA1FFC6C5AEA03E011197E +9816>I<12E0B51280A338E00F00131EEA001C5B137813705BA2485AA3485AA448C7FCA7 +111A7E9916>III<127012F8A312701200A8127012F8A312700512789116>I<1238127CA3123812 +00A812381278127CA2123C121CA21238127012F012400618799116>II<387FFFC0B512E0A2C8FCA5B512E0A26C13C0130B7F91 +16>I<12C012F012FC123EEA0F806C7EEA01F06C7E133EEB1F801307131FEB3E0013F848 +5AEA07C0485A003EC7FC12FC12F012C011157E9616>II< +13F8EA03FC487EEA0F07381C3B80EA38FF12793873C7C01383EAE701A73873838013C738 +79FF00EA38FEEA1C38380F03C0EA07FF6C1300EA00FC12197E9816>I<13E0487EA213B0 +A2EA03B8A31318EA071CA5EA0E0EA2EA0FFEA2487EEA1C07A3387E0FC038FF1FE0387E0F +C013197F9816>II<3801F180EA07FBEA +0FFFEA1F0FEA3C07EA38031270A200F0C7FC5AA77E38700380A21238383C0700EA1F0FEA +0FFE6C5AEA01F011197E9816>II<387FFFC0B5FC +7EEA1C01A490C7FCA2131CA2EA1FFCA3EA1C1CA290C7FC14E0A5EA7FFFB5FC7E13197F98 +16>I<387FFFE0B5FC7EEA1C00A41400A2131CA2EA1FFCA3EA1C1CA290C7FCA6EA7F8048 +7E6C5A13197F9816>I<3801F180EA07FBEA0FFFEA1F0FEA3C07EA38031270A200F0C7FC +5AA4EB1FC014E014C038F00380127013071238123CEA1E0FEA0FFFEA07FBEA01F313197F +9816>I<387F07F038FF8FF8387F07F0381C01C0A7EA1FFFA3EA1C01A9387F07F038FF8F +F8387F07F01519809816>II<48B4FC4813806C1300EA001CB0126012F05BEA7FF85BEA1FC011197E9816>I< +387F0FE038FF8FF0387F0FE0381C0780EB0F00130E5B133C5B5B5BEA1DF0121F7F1338EA +1E1C121C7FA27FA2EB0380387F07E038FF8FF0387F07E01419809816>II<38FC07E0EAFE0FA2383A0B80EA3B1BA513BB +EA39B3A413F3EA38E3A21303A538FE0FE0A313197F9816>I<387E07F038FF0FF8387F07 +F0381D81C0A313C1121C13E1A213611371A313311339A21319131D130DA3EA7F07EAFF87 +EA7F031519809816>IIIIII<387FFFE0B5FCA2EAE0E0A4000013 +00AFEA07FC487E6C5A13197F9816>I<387F07F038FF8FF8387F07F0381C01C0B0380E03 +80A23807070013FF6C5AEA00F81519809816>I<38FE0FE0A338380380EA3C07001C1300 +A3EA1E0FEA0E0EA46C5AA4EA031813B8A3EA01B013F0A26C5A13197F9816>I<387E03F0 +38FF07F8387E03F0383800E0A4381C01C0A3137113F9A213D9A2000C1380A3EA0DDD138D +A338078F00A213071519809816>I<387F1F80EB3FC0EB1F80380E1E00131C12075BEA03 +B813F012015B120012017F120313B81207131C120FEA0E0EA2487E387E0FC038FF1FE038 +7E0FC013197F9816>I<38FE0FE0EAFF1FEAFE0F381C0700A2EA0E0EA26C5AA3EA03B8A2 +EA01F0A26C5AA8EA03F8487E6C5A13197F9816>I<387FFF80B5FCA238E007005B131E13 +1CEA003C5B137013F0485A5B1203485A90C7FC5A381E0380121C123C12781270B5FCA311 +197E9816>II<12C07EA21270A27EA27EA2 +7EA27EA26C7EA26C7EA26C7EA21370A27FA27FA27FA27FA2EB0380A2130111207E9C16> +II<1203EA0F80EA3FE0EAFDF8EAF078EA +40100D067C9816>II<1208121C123C1278127012E0A412F012F8 +12781230060D789B16>II<12FCA3121CA4137CEA1DFEEA +1FFFEB0780381E03C0EA1C01EB00E0A6EB01C0EA1E03381F0780EBFF00EA1DFEEA0C7813 +197F9816>II<133FA31307A4EA03C7EA0FF748B4FCEA3C1F487EEA +700712E0A6EA700F12786C5A381FFFE0EA0FF7EA07C713197F9816>II<131E137F3801FF8013C7380383001380A2EA7FFFB5FCA2EA0380 +ACEA7FFC487E6C5A11197F9816>I<3803E3C03807F7E0EA0FFF381C1CC038380E00A56C +5AEA0FF8485AEA1BE00038C7FC1218EA1FFC13FF481380387003C038E000E0A4387001C0 +EA7C07383FFF80380FFE00EA03F8131C7F9116>I<12FCA3121CA41378EA1DFCEA1FFE13 +0FEA1E07121CAA38FF8FE0139F138F13197F9816>I<1203EA0780A2EA0300C7FCA4EAFF +80A31203ACEAFFFC13FE13FC0F1A7C9916>I<13301378A213301300A4EA0FF8121F120F +EA0038B3EA6070EAF0F0EAFFE0EA7FC0EA3F800D237E9916>I<127E12FE127E120EA4EB +7FE0A3EB0F00131E5B5B5B120F7F13BC131EEA0E0E7F1480387F87F0EAFFCFEA7F871419 +809816>II<38F9C38038FF +EFC0EBFFE0EA3C78A2EA3870AA38FE7CF8A31512809116>IIII<3803E380EA0FF3EA1FFBEA3E0FEA78071270 +EAE003A6EA70071278EA3C1FEA1FFBEA0FF3EA03E3EA0003A6EB1FF0EB3FF8EB1FF0151B +7F9116>I<387F0FC038FF3FE0EA7F7F3807F040EBC0005BA290C7FCA8EA7FFC12FF127F +13127F9116>II<12035AA4EA7FFFB5FCA2 +0007C7FCA75BEB0380A3EB8700EA03FE6C5A6C5A11177F9616>II<387F1FC038FF9FE0387F1FC0381C0700A2EA +0E0EA36C5AA4EA03B8A3EA01F0A26C5A13127F9116>I<38FF1FE0A338380380A4EA39F3 +A20019130013B3A3EA1DB71317EA1F1FEA0F1EEA0E0E13127F9116>I<387F1FC0133F13 +1F380F1E006C5AEA03B813F012016C5A12017FEA03B8EA073C131CEA0E0E387F1FC038FF +3FE0387F1FC013127F9116>I<387F1FC038FF9FE0387F1FC0381C0700120E130EA21207 +5BA2EA039CA21398EA01B8A2EA00F0A35BA3485A1279127BEA7F8090C7FC123C131B7F91 +16>I<383FFFC05AA238700780EB0F00131EC65A5B485A485AEA078048C7FC381E01C012 +3C1278B5FCA312127F9116>II<12E0B3AE0320779C16>I<127CB4 +FC7FEA03C01201A97F6CB4FCEB7F80A2EBFF00EA01E05BA91203B45A90C7FC127C11207E +9C16>II E /Ft +25 113 df0 D<126012F0A2126004047C8B0C>I<1203A4EAC30C +EAE31CEA7338EA1FE0EA0780A2EA1FE0EA7338EAE31CEAC30CEA0300A40E127D9215>3 +D<13041306ACB612E0A2D80006C7FCABB612E0A21B1C7E9A20>6 +D17 +D20 D<12C012F0123C120FEA03C0EA00F0133C130FEB03C0 +EB00F0143C140FEC0380EC0F00143C14F0EB03C0010FC7FC133C13F0EA03C0000FC8FC12 +3C127012C0C9FCA7007FB5FCB6128019227D9920>I<153081A381A281811680ED00C0B7 +12F8A2C912C0ED0380160015065DA25DA35D25167E942A>33 D<134013C0A3487EA2487E +EA06D8EA0CCCEA38C738F0C3C0EAC0C000001300B3A712257F9C15>I<13C0B3A700C013 +C0EAF0C33838C700EA0CCCEA06D8EA03F06C5AA26C5AA3134012257F9C15>I<1403A26E +7E8114001560007FB512F0B67EC8120E81ED01E0ED0078ED01E0ED0380ED06005DB612F8 +6C5CC812605D4A5AA24AC7FCA225187E952A>41 D<38030180B3A400C3138600F3139E00 +3B13B8000F13E0000713C00003138038018300EA00C6A2136C13281338A21310A217257F +9C19>43 D49 DI<1460A214C0A2EB0180A3EB0300A21306A25BA25BA35BA25BA25BA2485AA248C7FC +A31206A25AA25AA25AA35AA25A124013287A9D00>54 D<1478381E03BC3823041C384188 +1E3880D00EEBF00FEB600700C0EB0380EA60700030EB01C012180008EB00E0000414C0EC +0700EB7FF8EB7070128C1288A212701200A413601260EAC0E0D840C013400020EB718039 +11803A00380F001C1B1F7E9D1E>60 DI<124012C0 +B3B3A3EAFF80127F092A7A9E12>98 D<13801201B3B3A312FFA2092A7E9E12>I<133C13 +E0EA01C013801203AD13005A121C12F0121C12077E1380AD120113C0EA00E0133C0E297D +9E15>102 D<12F0121C12077E1380AD120113C0EA00E0133C13E0EA01C013801203AD13 +005A121C12F00E297D9E15>I<134013C0EA0180A3EA0300A21206A35AA25AA35AA25AA3 +5AA21260A37EA27EA37EA27EA37EA2EA0180A3EA00C013400A2A7D9E10>I<12C0A21260 +A37EA27EA37EA27EA37EA2EA0180A3EA00C0A2EA0180A3EA0300A21206A35AA25AA35AA2 +5AA35AA20A2A7E9E10>I<12C0B3B3A502297B9E0C>I<164016C0ED0180A2ED0300A21506 +A25DA25DA25DA25DA25DA24A5AA24AC7FC120C003C1306124E008E5B12075CEA03805CA2 +6C6C5AA26C6C5AA2EB7180A2013BC8FCA2131EA2130CA2222A7E8123>112 +D E /Fu 1 47 df<127812FCA4127806067A8512>46 D E /Fv 71 +123 df<903801F03C9038071C47010C13C7EC19C690381C0180140313181338A2EC0700 +A20003B512F03900700700A3140EA213E0A35CA2EA01C0A35CA2EA0380A21430EB0070A2 +48136038C630E038E638C038CC3180D8781EC7FC2025819C19>11 +D<14FE90380301801306EB0C03EB1C0191C7FC13181338A43803FFFE3800700EA35CA213 +E0A25CA3EA01C01472A438038034141891C7FC90C8FCA25A12C612E65A12781925819C17 +>I<903801FEE0EB0707130E010C13C0EB1C01A213189038380380A40003B51200380070 +07A3140EA213E0A25CA3EA01C01439A43803801A140C91C7FC90C8FCA25A12C612E65A12 +781B25819C18>I<9138FE0FF090390307380C0106137090390E06601C90391C00E00CED +C0001401A21338A24A5A0003B612F03A00380380701370A291380700E0A313E0ED01C0A2 +140EA2D801C0EB0388A3021C139015010180EB00E0000315005C13001430EAC73038E638 +6038CC30C0D8781FC8FC2625819C25>I<12E0A3127012301210121812080508749C15> +18 D<12031207120E121C1238126012C012800808729C15>I<136013C0A3EA3086EA388E +EA1DB8EA0F60EA0380A2EA0DE0EA3B70EAE238EAC218EA0600A35A0F12789E15>42 +D45 D<1230127812F0126005047C830D>I<14021406A2140CA2 +14181430A21460A214C0A2EB0180A2EB03001306A25BA25BA25BA25B5BA2485AA248C7FC +A212065AA25AA25AA25AA25A5A17297F9E15>I<133EEBE180380181C0EA03005A120600 +0E13E0120C001C13C0A2EA18011238A338700380A43860070012E01306130EA2130C5BEA +60385BEA30C0001FC7FC131D7C9B15>I<1304130C131813381378EA07B8EA0070A413E0 +A4EA01C0A4EA0380A4EA0700A45AEAFFF00E1C7B9B15>I<133EEB4180EB80C0EA010000 +0213E0EA0440A21208A3381081C0A238110380000E1300EA00065B5B136013800003C7FC +12044813404813805AEB0100EA7F07EA43FEEA81FCEA8078131D7D9B15>I<131FEB60C0 +13803801006012021340000413E0A3EB81C0EA030138000380EB070013FC131C1306A213 +07A41270EAE00E12805BEA40185BEA20E0EA1F80131D7D9B15>III<1206120FA212061200AA1230 +127812F0126008127C910D>58 D<000FB512E04814F0C9FCA8B612806C14001C0C7C8F20 +>61 D63 +D<1418A21438A21478A214B8EB0138A2EB023C141C1304130C13081310A21320A2EB7FFC +EBC01C1380EA0100141E0002130EA25A120C001C131EB4EBFFC01A1D7E9C1F>65 +D<48B5FC39003C038090383801C0EC00E0A35B1401A2EC03C001E01380EC0F00141EEBFF +FC3801C00E801580A2EA0380A43907000F00140E141E5C000E13F0B512C01B1C7E9B1D> +I<903803F02090381E0C6090383002E09038E003C03801C001EA038048C7FC000E148012 +1E121C123C15005AA35AA41404A35C12705C6C5B00185B6C485AD80706C7FCEA01F81B1E +7A9C1E>I<48B5FC39003C03C090383800E0A21570A24913781538A215785BA4484813F0 +A315E03803800115C0140315803907000700140E5C5C000E13E0B512801D1C7E9B1F>I< +48B512F038003C00013813301520A35BA214081500495AA21430EBFFF03801C020A43903 +8040801400A2EC0100EA07005C14021406000E133CB512FC1C1C7E9B1C>I<48B512F038 +003C00013813301520A35BA214081500495AA21430EBFFF03801C020A448485A91C7FCA3 +48C8FCA45AEAFFF01C1C7E9B1B>I<903803F02090381E0C6090383002E09038E003C038 +01C001EA038048C7FC000E1480121E121C123C15005AA35AA2903801FF809038001E0014 +1CA400705BA27E001813786C139038070710D801F8C7FC1B1E7A9C20>I<3A01FFC3FF80 +3A003C00780001381370A4495BA449485AA390B5FC3901C00380A4484848C7FCA4380700 +0EA448131E39FFE1FFC0211C7E9B1F>III<3A01FFC0 +7F803A003C001E000138131815205D5DD97002C7FC5C5C5CEBE04014C013E1EBE2E0EA01 +C4EBD07013E013C048487EA21418141CEA070080A348130F39FFE07FC0211C7E9B20>I< +3801FFC038003C001338A45BA45BA4485AA438038002A31404EA0700140C14181438000E +13F0B5FC171C7E9B1A>IIII<3801FFFE39003C038090383801C0EC00E0A3EB7001A315C0EBE0031580EC07 +00141C3801FFF001C0C7FCA3485AA448C8FCA45AEAFFE01B1C7E9B1C>II<3801FFFE39003C07809038 +3801C015E01400A2EB7001A3EC03C001E01380EC0700141CEBFFE03801C03080141CA2EA +0380A43807003C1520A348144039FFE01E80C7EA0F001B1D7E9B1E>II<001F +B512C0381C070138300E0000201480126012405B1280A2000014005BA45BA45BA4485AA4 +1203EA7FFE1A1C799B1E>I<397FF03FE0390F000700000E13061404A3485BA4485BA448 +5BA4485BA35CA249C7FCEA60025B6C5AEA1830EA07C01B1D789B1F>I<39FF801FC0393C +000700001C1304A25C5CA25CA25C5CA26C48C7FCA213025BA25BA25B5B120F6C5AA25B90 +C8FCA21206A21A1D779B1F>I<3AFF83FF07F03A3C007001C00038158002F01300A29038 +0170025D13025D13045D13085D131001305B1320D81C405BA2D98071C7FCA2381D0072A2 +001E1374A2001C1338A20018133014201210241D779B29>I<3901FF81FE39003E007801 +1C136015C0011E138090380E0100EB0F026D5A5C1490EB03A014E06D5AA2801302130449 +7EEB10701320EB603813C0EB803C3801001C12020006131E121EB4EB7FC01F1C7E9B1F> +I<39FFC00FE0391E000380000EEB02005C000F130C6C13086D5A00035B5CEBC0C000015B +01C1C7FC13E2EA00E413EC13F81370A25BA4485AA4485AEA3FF81B1C789B1F>I<48B512 +809038E007003803800EEB001E0002131C5C485B5C495A1200495A49C7FC130E5BA25B5B +EBE00848485AA2EA038048485A120E481360003C5BEA380138700780B5FC191C7D9B19> +I97 D<123F1207A2120EA45AA4EA39E0EA3A18EA3C0C12381270130EA3EAE0 +1CA31318133813301360EA60C0EA3180EA1E000F1D7C9C13>I<13F8EA0304120EEA1C0E +EA181CEA30001270A25AA51304EA60081310EA3060EA0F800F127C9113>II<13F8EA0704120CEA1802EA38041230EA7008EA7FF0 +EAE000A5EA60041308EA30101360EA0F800F127C9113>IIIII<1303130713031300A7137813 +8CEA010C1202131C12041200A21338A41370A413E0A4EA01C0A2EAC180EAE30012C61278 +1024819B0D>II< +EA1F801203A2EA0700A4120EA45AA45AA45AA412E2A312E412641238091D7D9C0B>I<39 +1C1E078039266318C0394683A0E0384703C0008E1380A2120EA2391C0701C0A3EC0380D8 +380E1388A2EC0708151039701C032039300C01C01D127C9122>II<13F8EA030CEA0E06487E1218123000701380A238E00700A3130EA25BEA60185B +EA30E0EA0F8011127C9115>I<380387803804C860EBD03013E0EA09C014381201A23803 +8070A31460380700E014C0EB0180EB8300EA0E86137890C7FCA25AA45AB4FC151A809115 +>IIII<12 +035AA3120EA4EAFFE0EA1C00A35AA45AA4EAE080A2EAE100A2126612380B1A7C990E>I< +381C0180EA2E03124EA2388E0700A2121CA2EA380EA438301C80A3EA383C38184D00EA0F +8611127C9116>II<381E0183382703871247148338870701A2120EA2 +381C0E02A31404EA180C131C1408EA1C1E380C26303807C3C018127C911C>I<38038780 +380CC840380870E012103820E0C014001200A2485AA4EA03811263EAE38212C5EA8584EA +787813127E9113>I<381C0180EA2E03124EA2388E0700A2121CA2EA380EA4EA301CA3EA +383CEA1878EA0FB8EA003813301370EAE0605BEA81800043C7FC123C111A7C9114>II E /Fw 91 125 df11 +D<137E3801C180EA0301380703C0120EEB018090C7FCA5B512C0EA0E01B0387F87F8151D +809C17>II< +90383F07E03901C09C18380380F0D80701133C000E13E00100131892C7FCA5B612FC390E +00E01CB03A7FC7FCFF80211D809C23>I<90383F07FC3901C0DC1C390381F03CEA070100 +0EEBE01C1300A6B612FC390E00E01CB03A7FC7FCFF80211D809C23>I<120EA2121E1238 +127012E012800707779C15>19 D22 D<126012F0A71260AD1200A5 +126012F0A21260041E7C9D0C>33 DI<126012F012F812681208A31210A212201240128005 +0C7C9C0C>39 D<1380EA0100120212065AA25AA25AA35AA412E0AC1260A47EA37EA27EA2 +7E12027EEA0080092A7C9E10>I<7E12407E12307EA27EA27EA37EA41380AC1300A41206 +A35AA25AA25A12205A5A092A7E9E10>I<1203A4EAC30CEAE31CEA7338EA1FE0EA0780A2 +EA1FE0EA7338EAE31CEAC30CEA0300A40E127D9E15>I<1306ADB612E0A2D80006C7FCAD +1B1C7E9720>I<126012F0A212701210A41220A212401280040C7C830C>II<126012F0A2126004047C830C>I<130113031306A3130CA31318A31330A31360 +A213C0A3EA0180A3EA0300A31206A25AA35AA35AA35AA35AA210297E9E15>II<5A1207123F12C71207B3A5EAFFF80D1C7C9B15>III<130CA2131C133CA213 +5C13DC139CEA011C120312021204120C1208121012301220124012C0B512C038001C00A7 +3801FFC0121C7F9B15>I +I<13F0EA030CEA0404EA0C0EEA181E1230130CEA7000A21260EAE3E0EAE430EAE818EAF0 +0C130EEAE0061307A51260A2EA7006EA300E130CEA1818EA0C30EA03E0101D7E9B15>I< +1240387FFF801400A2EA4002485AA25B485AA25B1360134013C0A212015BA21203A41207 +A66CC7FC111D7E9B15>III<126012F0A212601200AA126012F0A2126004127C910C>I< +126012F0A212601200AA126012F0A212701210A41220A212401280041A7C910C>I<007F +B512C0B612E0C9FCA8B612E06C14C01B0C7E8F20>61 D63 D<1306A3130FA3EB1780A2EB37C01323A2EB43E01341A2EB80F0A338010078A2EB +FFF83802003CA3487FA2000C131F80001E5BB4EBFFF01C1D7F9C1F>65 +DI<90381F8080EBE0613801801938070007000E1303 +5A14015A00781300A2127000F01400A8007014801278A212386CEB0100A26C13026C5B38 +0180083800E030EB1FC0191E7E9C1E>IIII<90381F8080EBE061380180193807000700 +0E13035A14015A00781300A2127000F01400A6ECFFF0EC0F80007013071278A212387EA2 +7E6C130B380180113800E06090381F80001C1E7E9C21>I<39FFF0FFF0390F000F00AC90 +B5FCEB000FAD39FFF0FFF01C1C7F9B1F>II<38 +07FF8038007C00133CB3127012F8A21338EA7078EA4070EA30E0EA0F80111D7F9B15>I< +39FFF01FE0390F000780EC060014045C5C5C5C5C49C7FC13021306130FEB17801327EB43 +C0EB81E013016D7E1478A280143E141E80158015C039FFF03FF01C1C7F9B20>IIIIIIII<3807E080EA1C19EA300513 +03EA600112E01300A36C13007E127CEA7FC0EA3FF8EA1FFEEA07FFC61380130FEB07C013 +0313011280A300C01380A238E00300EAD002EACC0CEA83F8121E7E9C17>I<007FB512C0 +38700F010060130000401440A200C014201280A300001400B1497E3803FFFC1B1C7F9B1E +>I<39FFF01FF0390F000380EC0100B3A26C1302138000035BEA01C03800E018EB7060EB +0F801C1D7F9B1F>I<39FFE00FF0391F0003C0EC01806C1400A238078002A213C000035B +A2EBE00C00011308A26C6C5AA213F8EB7820A26D5AA36D5AA2131F6DC7FCA21306A31C1D +7F9B1F>I<3AFFE1FFC0FF3A1F003E003C001E013C13186C6D1310A32607801F1320A33A +03C0278040A33A01E043C080A33A00F081E100A39038F900F3017913F2A2017E137E013E +137CA2013C133C011C1338A20118131801081310281D7F9B2B>I<39FFF07FC0390FC01E +003807800CEBC00800035B6C6C5A13F000005BEB7880137C013DC7FC133E7F7F80A2EB13 +C0EB23E01321EB40F0497E14783801007C00027F141E0006131F001F148039FF807FF01C +1C7F9B1F>I<39FFF003FC390F8001E00007EB00C06D13800003EB01006D5A000113026C +6C5A13F8EB7808EB7C18EB3C10EB3E20131F6D5A14C06D5AABEB7FF81E1C809B1F>I<38 +7FFFF0EA7C01007013E0386003C0A238400780130F1400131E12005B137C13785BA2485A +1203EBC010EA0780A2EA0F00481330001E13205A14604813E0EAF803B5FC141C7E9B19> +I<12FEA212C0B3B312FEA207297C9E0C>II<12FEA21206B3B312FEA20729809E0C>I<120C +12121221EA4080EA80400A057B9B15>I<1208121012201240A21280A312B012F8127812 +30050C7D9C0C>96 DI<12FC121CAA137CEA1D87381E01 +80381C00C014E014601470A6146014E014C0381E018038190700EA10FC141D7F9C17>I< +EA03F8EA0C0CEA181E1230EA700CEA600012E0A61260EA70021230EA1804EA0C18EA03E0 +0F127F9112>III<13F8EA +018CEA071E1206EA0E0C1300A6EAFFE0EA0E00B0EA7FE00F1D809C0D>II<12FC121CAA137C1387EA1D03001E1380121CAD38FF9FF0141D7F9C17>I<1218123CA2 +1218C7FCA712FC121CB0EAFF80091D7F9C0C>I<13C0EA01E0A2EA00C01300A7EA07E012 +00B3A21260EAF0C012F1EA6180EA3E000B25839C0D>I<12FC121CAAEB0FE0EB0780EB06 +005B13105B5B13E0121DEA1E70EA1C781338133C131C7F130F148038FF9FE0131D7F9C16 +>I<12FC121CB3A9EAFF80091D7F9C0C>I<39FC7E07E0391C838838391D019018001EEBE0 +1C001C13C0AD3AFF8FF8FF8021127F9124>IIII<3803E080EA0E19EA1805EA3807EA7003A212E0A61270A2EA38071218EA0E1BEA03 +E3EA0003A7EB1FF0141A7F9116>III<1204A4120CA2121C123CEAFFE0 +EA1C00A91310A5120CEA0E20EA03C00C1A7F9910>I<38FC1F80EA1C03AD1307120CEA0E +1B3803E3F014127F9117>I<38FF07E0383C0380381C0100A2EA0E02A2EA0F06EA0704A2 +EA0388A213C8EA01D0A2EA00E0A3134013127F9116>I<39FF3FC7E0393C0703C0001CEB +01801500130B000E1382A21311000713C4A213203803A0E8A2EBC06800011370A2EB8030 +000013201B127F911E>I<38FF0FE0381E0700EA1C06EA0E046C5AEA039013B0EA01E012 +007F12011338EA021C1204EA0C0E487E003C138038FE1FF014127F9116>I<38FF07E038 +3C0380381C0100A2EA0E02A2EA0F06EA0704A2EA0388A213C8EA01D0A2EA00E0A31340A2 +5BA212F000F1C7FC12F312661238131A7F9116>I +III E /Fx 32 91 df40 +D<12E012707E7EA27EA27EA3EA0380A4EA01C0AEEA0380A4EA0700A3120EA25AA25A5A5A +0A2A7E9E10>I<12E0A312601240A312C003087C820C>44 D<12E0A303037C820C>46 +D<5A1207123FB4FC12C71207B3A3EAFFF8A20D1C7C9B15>49 D<133C137C135C13DCA2EA +019C1203A2EA071CA2120EA2121CA212381278127012F0B512C0A238001C00A7121B7F9A +15>52 D56 +D +I<131C133EA2132E1367A2EBE78013C713C300017F1383138100037F1301486C7EA21206 +000E1378380FFFF8A2381C003CA2121800387FA248131F80126000E0EB0780191D7F9C1C +>65 D +IIIIII<00F013F0ADB5FCA2EAF000AE141D +7C9C1D>I<12F0B3AB041D7C9C0C>I<133CB3A7EAC07CEAE078EAFFF0EA7FE0EA0FC00E1E +7E9C14>I<00F0133C147814F0EB01E0EB03C0EB0780EB0F00131E5B5B5B5BEAF1F012F3 +EAF778EAFE7CEAFC3C7FEAF81F487E14801307EB03C014E01301EB00F0A21478147C161D +7C9C1D>I<12F0B3A9B5FCA2101D7D9C16>I<00FCEB07E0A300EE130DA300E71319A3EB80 +3900E31331EBC071A200E11361A2EBE0E1A200E013C113F1EB7181A3EB3B01A3131EA313 +001B1D7C9C24>I<00FC1370A27E12EE12EF12E7A2138012E313C0A2EAE1E0A212E013F0 +13701378A2133CA2131C131E130EA2130F130714F01303A2141D7C9C1D>I<133F3801FF +E0487F3807C0F8380F807C381E001E003E131F003C7F48EB0780A348EB03C0A86C130700 +781480A2007C130F003C1400003E5B6C133E6C6C5A6C6C5A6CB45A6C5BD8003FC7FC1A1F +7E9D1F>II82 DII<00F01370 +B3A5007813E0A2383C01C0381E0380EA0F073807FE00EA01F8141E7C9C1D>I<00F0EB03 +80A2007814005CA26C130EA2123E001E5BA26C5BA36C6C5AA23803C06014E0A26C6C5A13 +E1A23800F18013F30173C7FCA2137B133EA2131C191D7F9C1C>I<00F001F81370A30078 +01B81360D9019C13E0A3D83C03EB01C0141E140E001E15809038070F0313061407000F15 +00010E1387130C0007EB0386A2019C138E019813CE0003EB01CCA339019000C801D013D8 +01F013F85B00001470241D7F9C27>I<00F8EB01E0007C14C06CEB0380001E1307001F14 +00380F800E0007131EEBC01C3803E03C000113386D5A000013F0EB78E0EB7DC0133F6D5A +91C7FC7FAC1B1D809C1C>89 D<387FFFF0A2380001E0130314C013071480EB0F005B131E +133E133C5B13F85B12015B485A12075B120F90C7FC121E123E123C127C1278B512F0A214 +1D7E9C19>I E /Fy 42 121 df40 +D<12C012607E12381218121C120C120E12061207A37E1380AC13005AA31206120E120C12 +1C1218123812305A5A09267E9B0F>I<12E0A312601240A312C003087C820B>44 +D<1304130C1318A31330A31360A313C0A3EA0180A3EA0300A31206A35AA35AA35AA35AA3 +5AA20E257E9B13>47 DI<5A1207B4FCA21207B2EA7FF0A2 +0C187D9713>III<1378A213B8A21201EA0338A212 +071206120E121C121812381230127012E0B5FCA2EA0038A610187F9713>IIIIII<1338137CA2135C13CEA2EA01CF138F1387000313 +801307380703C0A21206380E01E0A2EA0FFF4813F0EA1C004813F81478A248137C143C12 +6000E0131E171A7F991A>65 DIIIII<137F3801FFE03807C0F0380F0070001E13304813 +00A25AA25AA5EB07F8A2EB00381278A27EA27E7E3807C0F83801FFE038007F80151A7E99 +1A>I<00F013F0ABB5FCA2EAF000AD141A7D991B>I<12F0B3A8041A7D990B>I<1378B3A3 +12C0EAE0F8EAFFF0EA7FE0EA1F800D1A7F9912>I<00F0137814F0EB01E0EB03C0EB0780 +EB0F00131E5B5B5BEAF1E0EAF3F012F7EAFF78EAFE7CEAFC3C487E12F07F14801307EB03 +C014E01301EB00F014F8151A7D991B>I<12F0B3A6EAFFFEA20F1A7D9915>I<00FCEB07E0 +A300EE130DA200EF131D00E71319A2EB803900E31331A2EBC071A238E1E0E1A200E013C1 +A213F1EB7181A2137BEB3B01A2131EA31B1A7D9922>I<00FC1370A27EA212EFA2EAE780 +A2EAE3C0A2EAE1E0A2EAE0F0A21378A2133CA2131EA2130FA2EB07F0A21303A2141A7D99 +1B>I<13FE3803FF80380783C0380F01E0381E00F0481378003813380078133CA248131E +A80078133CA200381338003C13786C13F0380F01E0380783C03803FF803800FE00171A7E +991C>II<13FE3803FF80380783C0380F01E0381E00F04813780038133800 +78133CA248131EA80078133CA238383C38383C1C78381E1EF0380F0FE0380787C03803FF +80C613C0EB03E01301EB00F014F8147C171F7E991C>IIII<00F013E0B3A2387801C0A2383C0380 +381E0F00EA0FFEEA03F8131A7D991A>I<00F0130EA20078130C141CA26C1338A2123E00 +1E1370A26C13E0A3380781C0A23803C18013C3A23801E30013E7EA00E6A213F6137CA213 +38171A7F991A>I<3AF003F00380A300F813703A7807780700A21306393C0E3806EC3C0E +A2EB0C1CD81E1C130CEC1E1C1318000EEB0E18120F9038380F3813300007EB0730A21320 +0003EB032013A001E013E013C000016D5A211A7F9924>I<00F8133C007C1378003C13F0 +6C13E0EA0F01EB03C0380783803803C700EA01CF13FE6C5A1378A2137C13FEEA01EEEA03 +C7EB8780380703C0EA0F01000E13E0381C00F0003C137848137C0070133C00F0133E171A +7F991A>I<00F8EB0780007C14006C130E001E131E001F131C6C6C5A00071378EBC0706C +6C5A1201EBF1C0EA00FBEB7B80013FC7FCA2131EAB191A80991A>I<12F0A41200A61270 +B1041B7E9A0A>105 D118 D120 +D E /Fz 66 123 df<90383FE3F83901F03F1C3903C03E3E0007137CEA0F80151C1500A5 +B612C0A2390F807C00AE397FE1FF80A21F1D809C1C>11 DI<12 +7812FCA61278A81230A41200A4127812FCA41278061D7C9C0F>33 +D<13201340EA0180120313001206120E5AA2123C1238A21278A312F85AA97E1278A31238 +A2123C121CA27E12067E13801201EA004013200B297C9E13>40 D<7E1240123012381218 +7E120E7EA213801203A213C0A313E01201A9120313C0A31380A212071300A2120E120C5A +1238123012405A0B297D9E13>I<127012F812FCA3127C1204A21208A312101220124006 +0E7D850D>44 DI<127812FCA4127806067D850D>III<1360EA01E0120F12 +FF12F31203B3A2387FFF80A2111B7D9A18>IIII<38380180383FFF005B5B5B13C00030C7FCA4EA31F8EA361E38380F80EA3007 +000013C014E0A3127812F8A214C012F038600F8038381F00EA1FFEEA07F0131B7E9A18> +I<137EEA03FF38078180380F03C0EA1E07123C387C03800078C7FCA212F813F8EAFB0E38 +FA0780EAFC0314C000F813E0A41278A214C0123CEB0780381E0F00EA07FEEA03F8131B7E +9A18>I<1260387FFFE0A214C01480A238E00300EAC0065B5BC65AA25B13E0A212015B12 +03A41207A66C5A131C7D9B18>III65 DI<90381FE0209038FFF8E03803F80F3807C003380F8001 +48C7FC123E1560127E127C00FC1400A8007C1460127E123E15C07E390F8001803907C003 +003803F80E3800FFFCEB1FE01B1C7D9B22>IIII<90380FF00890387FFE383901FC07F83807E001390F80007848C7FC481438123E00 +7E1418127C00FC1400A6EC7FFFA2007CEB01F8127E123E123F7EEA0F80EA07E03801FC07 +39007FFE7890380FF818201C7D9B26>I<39FFFC3FFFA2390FC003F0AA90B5FCA2EBC003 +AC39FFFC3FFFA2201C7E9B25>II<3807FF +F0A238001F80B21230127812FCA21400EA783EEA387CEA0FF0141C7F9B19>I76 +DI<39FFE003FFA2390FF000307FEA0DFCEA0CFE137E7FEB1F8014C0EB0FE0EB07F0 +1303EB01F814FCEB00FE147F143FEC1FB015F0140F1407140314011400A2D8FFC0137015 +30201C7E9B25>III82 D<3807F820381FFEE0EA3C07EA7801EA +700012F01460A26C130012FEEAFFE0EA7FFE6C7E1480000F13C06C13E0EA007FEB03F013 +01130012C0A214E07E38F001C0EAFC0338EFFF00EA83FC141C7D9B1B>I<007FB512E0A2 +38781F81007013800060146000E0147000C01430A400001400B03807FFFEA21C1C7E9B21 +>I<3AFFFC01FF80A23A0FC00018006D1338000714306D1370000314607F00015CA26C6C +485AA2EBFE03017E90C7FCEB7F07EB3F061486EB1F8CA2EB0FD8A214F86D5AA26D5AA26D +5AA2211C7F9B24>86 D<3BFFF87FFE0FFCA23B0FC007E000C081D9E003130100071680EC +07F801F014030003D90FFC1300140CD801F81406EC1CFE9039FC187E0E0000150CEC303F +01FE141CD97E701398EC601F013F14B002E013F0ECC00F011F5CEC8007A2010F5CEC0003 +6D5CA22E1C7F9B31>I<397FFE1FFEA23907F001803803F803000149C7FCEBFC066C6C5A +EB7F1C6D5A14B0EB1FE0130FA26D7E6D7E1307497EEB0CFEEB187EEB387F496C7E903860 +1FC013C000016D7E48486C7EEB00033AFFF01FFF80A2211C7F9B24>I97 DIIII<137F3801E3803803C7C0EA0787120FEB8380EB +8000A5EAFFF8A2EA0F80AEEA7FF0A2121D809C0F>I<3803F0F0380E1F38EA3C0F383807 +3000781380A400381300EA3C0FEA1E1CEA33F00030C7FCA3EA3FFF14C06C13E014F03878 +01F838F00078A300701370007813F0381E03C03807FF00151B7F9118>II<121E123FA4121EC7 +FCA6127FA2121FAEEAFFC0A20A1E7F9D0E>I<137813FCA413781300A6EA03FCA2EA007C +B2127012F8137813F0EA70E0EA1F800E26839D0F>I +II<39FF0FC07E903831E18F3A1F40F20780D9 +80FC13C0A2EB00F8AB3AFFE7FF3FF8A225127F9128>I<38FF0FC0EB31E0381F40F0EB80 +F8A21300AB38FFE7FFA218127F911B>II<38FF +3F80EBE1E0381F80F0EB0078147C143C143EA6143C147C1478EB80F0EBC1E0EB3F0090C7 +FCA6EAFFE0A2171A7F911B>I<3803F060380F0CE0EA1E07EA3C03127C127812F8A61278 +127C123CEA1C07EA0E0FEA03F3EA0003A6EB1FFCA2161A7E9119>III<1203A45AA25AA2EA3FFC12FFEA1F00A9130CA4EA0F08EA0798EA03F00E1A7F9913>I< +38FF07F8A2EA1F00AC1301120F380786FFEA01F818127F911B>I<38FFC1FCA2381F0060 +1380000F13C0A23807C180A23803E300A213F7EA01F613FE6C5AA21378A2133016127F91 +19>I<39FF8FF8FEA2391F03E030A3390F87F06013869038C6F8E03907CC78C0A23903FC +7D80EBF83D143F3901F01F00A20000131EEBE00EA21F127F9122>I<38FFC7FCA2381F81 +C0380F83803807C700EA03EEEA01FC5B1200137C13FEEA01DF38039F80EA070F380607C0 +380C03E038FF07FCA216127F9119>I<38FFC1FCA2381F00601380000F13C0A23807C180 +A23803E300A213F7EA01F613FE6C5AA21378A21330A25B1270EAF8E05BEAF9800073C7FC +123E161A7F9119>I<387FFF8038781F00EA703FEA603E5B13FC5BEA01F01203485AEBC1 +80EA0F81121F1303003E1300EA7E07EA7C0FB5FC11127F9115>I +E /FA 88 125 df11 D<13FEEA038138060180EA0E03381C010090C7FCA5B51280EA +1C03AE38FF8FF0141A809915>II<90387E1F803901C17040390703C0600006EB80E0000E14401500A5 +B612E0380E0380AE397F8FE3FC1E1A809920>I<90387E1FE03801C170380703C0000613 +80120EA6B6FC380E0380AE397F8FE3FC1E1A809920>I<126012F0A61260AA12201200A4 +126012F0A21260041A7D990B>33 DII<126012F012F812 +681208A31210A212201240050B7D990B>39 D<1380EA010012025A120C120812185AA35A +A412E0AA1260A47EA37E1208120C12047E7EEA008009267D9B0F>I<7E12407E7E121812 +08120C7EA37EA41380AA1300A41206A35A1208121812105A5A5A09267E9B0F>I<1203A4 +EAE31CEA7338EA1FE0EA0780A2EA1FE0EA7338EAE31CEA0300A40E107E9B13>I<130CAC +B61280A2D8000CC7FCAC191A7E951E>I<126012F0A212701210A31220A21240A2040B7D +830B>II<126012F0A2126004047D830B>I<1304130C1318A313 +30A31360A313C0A3EA0180A3EA0300A31206A35AA35AA35AA35AA35AA20E257E9B13>I< +EA07E0EA1C38EA381CEA300CEA700EEA6006A2EAE007AAEA6006A2EA700EEA300CEA381C +EA1C38EA07E010187F9713>I<12035AB4FC1207B3A2EA7FF80D187D9713>III<1318A21338137813F813B8EA01381202A2120412 +08121812101220124012C0B5FCEA0038A6EA03FF10187F9713>III<1240EA7FFF13FEA2EA4004EA80081310A2EA00201340A21380120113005AA2 +5A1206A2120EA5120410197E9813>III<126012F0A212601200A8126012F0A2126004107D8F0B>I<126012F0A2126012 +00A8126012F0A212701210A31220A21240A204177D8F0B>I61 D63 D<130CA3131EA2132F1327A2EB4380A3EB +81C0A200017F1300A248B47E38020070A2487FA3487FA2003C131EB4EBFFC01A1A7F991D +>65 DIII +III<39FFE1FFC0390E001C00AB380FFFFC380E001CAC39FFE1FFC01A1A7F99 +1D>III<39FFE01FC0390E000F00140C14085C5C5C495A0102C7FC5B +130C131C132E1347EB8380EA0F03380E01C06D7EA2147080A280141E141F39FFE07FC01A +1A7F991E>III<00FEEB7FC0000FEB0E001404 +EA0B80EA09C0A2EA08E01370A21338131CA2130E1307EB0384A2EB01C4EB00E4A2147414 +3CA2141C140C121C38FF80041A1A7F991D>I<137F3801C1C038070070000E7F487F003C +131E0038130E0078130F00707F00F01480A80078EB0F00A20038130E003C131E001C131C +6C5B6C5B3801C1C0D8007FC7FC191A7E991E>II<137F3801C1C038 +070070000E7F487F003C131E0038130E0078130F00707F00F01480A80070140000785B00 +38130E383C1C1E381C221C380E4138000713F03801E1C039007F8080EB00C0A214E1EC7F +00A2143E141C19217E991E>III<007FB5FC38701C07 +00401301A200C0148000801300A300001400B13803FFE0191A7F991C>I<39FFE07FC039 +0E000E001404B200065B12076C5B6C6C5A3800E0C0013FC7FC1A1A7F991D>I<39FF801F +C0391C00070014066C1304A36C5BA26C6C5AA36C6C5AA26C6C5AA3EB7080A213790139C7 +FCA2131EA3130CA21A1A7F991D>I<3AFF81FF07F03A3C007801C0001CEC0080A36C9038 +9C0100A33907010E02A33903830F04EB8207A2150C3901C40388A33900E801D0A3903870 +00E0A301305B01201340241A7F9927>I<39FFC0FF80390F003C0014106C5BEA03806D5A +00015BEA00E101F1C7FC137A133E131C131EA21317EB27801343EB41C0EB81E0EA010048 +137000021378481338000C7F001E133EB4EB7FC01A1A7F991D>I<39FF801FE0391E0007 +0014066C13046C130CEB800800035BEA01C06D5A00001360EB7040EB78801338011DC7FC +131F130EAAEBFFC01B1A7F991D>II<12FEA212C0B3AF12FEA207257D9B0B>II<12FEA21206B3AF12FEA20725809B0B>I97 +D<12FC121CA913FCEA1D07381E0380381C01C0130014E0A6EB01C01480381E0300EA1906 +EA10F8131A809915>II<133F1307A9EA03E7EA0C17EA180F487E127012E0A6126012706C5A +EA1C373807C7E0131A7F9915>IIII<12FC121CA9137CEA1D87381E0380A2121CAB38FF9FF0141A809915>I<1218 +123CA212181200A612FC121CAE12FF081A80990A>II<12FC121CA9EB1FC0EB0F00130C5B +13205B13E0121DEA1E70EA1C7813387F131E7F148038FF9FE0131A809914>I<12FC121C +B3A6EAFF80091A80990A>I<38FC7C1F391D8E6380391E0781C0A2001C1301AB39FF9FE7 +F81D107F8F20>II +IIIII<1208A41218A21238EAFFC0EA3800A813 +20A41218EA1C40EA07800B177F960F>I<38FC1F80EA1C03AB1307120CEA0E0B3803F3F0 +1410808F15>I<38FF0F80383C0700EA1C061304A26C5AA26C5AA3EA03A0A2EA01C0A36C +5A11107F8F14>I<39FE7F1F8039381C0700003C1306381C0C04130E380E16081317A238 +072310149013A33803C1A014E0380180C0A319107F8F1C>I<38FE3F80383C1E00EA1C08 +6C5AEA0F306C5A6C5A12017F1203EA0270487E1208EA181CEA381E38FC3FC012107F8F14 +>I<38FF0F80383C0700EA1C061304A26C5AA26C5AA3EA03A0A2EA01C0A36C5AA248C7FC +A212E112E212E4127811177F8F14>IIII E /FB 45 121 df48 +D<130C131C133C13FC120F12FFA2137C12F01200B3B1387FFFFCA416307BAF22>III<147E14FEA2EB01BEA21303EB073EA2130F130E131EA2133C137C13 +7813F813F0120113E01203EA07C0A2EA0F80A2EA1F00A2123E5AA25AB612F8A4C7EA3E00 +AD1D2F7EAE22>I<001FB512C0A590C8FCACEB0FC0EB3FF8EBFFFC80EBF03F9038C01F80 +9038800FC0A290380007E0C7FC140315F0A80020EB07E0123012700078EB0FC000FC131F +007FEB3F80393FC0FF006CB45A6C5B6C5B000113E038007F801C307EAE22>IIIII<147EA214FFA3903801EF80A3903803CFC014C7A290380787E01483010F7FA2140349 +6C7EA2131E90383E00FCA2133C017C137EA2137801F87FA25B0001EC1F80A25B48B612C0 +A34815E09038C000075B000FEC03F0A248C713F81501A2003E15FC1500A24815FE167EA2 +48157F163F28327EB12D>65 DII70 DI<12FCB3B3AE06327AB113>73 +D<147EB3B3A614FE004013FCEA7001EAF803B512F814F06C13E0000F13C03801FE001733 +7DB120>I<12FCB3B3A9B612C0A51A327AB124>76 DI80 +D82 DI<00FCED07C06C150F007E1680A26CED1F00A27F001F15 +3EA27F000F5DA26D14FC00075DA26C6C495AA36C6C495AA27F00004A5AA27F017E495AA2 +6D91C7FC5DA290381F801E153EA290380FC03C157CA2903807E07815F801035B14F014F1 +01015BA214FB01005BA214FF6E5AA26EC8FCA22A327FB12D>86 D<007F157E6C6C5C121F +6D495A6C6C495A12076C6C495A6D495A12016C6C495A6D49C7FC017E133E6D137E6D6C5A +5DEB0FC1903807E3F05DEB03F76DB45A6D5BA26EC8FC143E147F8114FF497FECF7E0EB03 +E301077F90380FC1F8EC80FC131F90383F007E013E7F137E496D7E496D7E000181484813 +07496D7E000781484813018248486D7E48C8127FA2007EED3F8048ED1FC02A327FB12D> +88 D<13FF000713C0001F13E04813F0EB01F8383800FC0030137C0020137EC7123EA5EB +07FE13FF1203120F381FE03EEA3F00127C12FC5AA36C137E14FEEA7F0313FF6C13BE381F +FE3EEA07F0171F7D9E20>97 D<12F8B3EB1F80EBFFE000FB7FB57EEB81FC38FE007E487F +487F1580140FA2EC07C0A8140F1580A2141F15006C133E6C13FE38FF03FCEBFFF800FB5B +00F813C0013FC7FC1A327AB123>IIIII<017F13F83901 +FFC7FC4813FF5A390FC1FC00EA1F80EB007CA2003E7FA66C5BA2EB80FC380FC1F8EBFFF0 +485B001D5BD81C7FC7FC003CC8FCA37E381FFFF814FF6C14804814C04814E0393E000FF0 +48130300FCEB01F8481300A46C1301007EEB03F06CEB07E0EBE03F000FB512806C140000 +0113FC38003FE01E2E7E9E22>I<12F8B3EB3F80EBFFE000F913F000FB13F8EAFF831300 +4813FC48137CA35AB3A316327AB123>I<12FCA61200AB127CB3AD06307CAF10>I<12F8B3 +147F14FE495A495A495A495A495A495A91C7FC137E5B12F912FB12FF7F7F13BFEB1F8048 +6C7E12FC486C7E6D7EA26D7E6D7EA2147E80A2EC1F80EC0FC01A327BB121>107 +D<12F8B3B3AE05327BB110>I<3AF81FC007F090397FF01FFC3AF9FFF87FFE00FB14FF3A +FF81FDE07F9039007FC01F48028013804890383F000FA348133EB3A3291F7A9E36>I<38 +F83F80EBFFE000F913F000FB13F8EAFF8313004813FC48137CA35AB3A3161F7A9E23>I< +EB1FC0EBFFF8487F000713FF390FE03F80391F800FC0EB0007003EEB03E0A248EB01F0A2 +0078130000F814F8A76C1301007C14F0A26CEB03E0003F13076C14C0EBC01F390FF07F80 +6CB51200000113FC6C5BEB1FC01D1F7E9E22>I<38F81F80EBFFE000FB7FB57EEB83FC48 +C67E48133F5AEC1F80140FA215C01407A7140F1580A2141FEC3F006C137E6C13FE38FF03 +FCEBFFF800FB5B00F813C0013FC7FC90C8FCAE1A2D7A9E23>I114 D<48B4FC000F13E04813F85AEA +7E01387C0030481300A47E127EEA7FE0EA3FFE381FFF806C13E0000313F038003FF81303 +EB00FC147CA31240126000F813F8EAFE03B512F06C13E0001F13C03801FE00161F7E9E1A +>II<00F8137CB3A514FCA21301EAFC07EA7FFFEBFE7CEA3FFCEA0FE0161F7A9E23>I< +00F8011FEB03E05C007C91388007C0A2143B6C017B1480913873C00FA214F36C9138E01F +0014F114E1D80F81141EEDF03E14E014C0D807C35C15F8157800030180137813E7ED7CF8 +0001EC3CF01400A2151CD800EE5C01FE131FA2017C6D5AA22B1F7F9E2E>119 +D<007CEB01F86CEB03F0003FEB07E0D81F8013C0390FC00F800007131F3903E03F00EBF0 +3E6C6C5A00005B137DEB3FF05C6D5A130F5C497E80497EEB7CF8EBF87CEA01F08048487E +3907C00F80000F14C0EB8007391F0003E0003E14F0007EEB01F848EB00FC1E1F809E1F> +I E end +%%EndProlog +%%BeginSetup +%%Feature: *Resolution 300dpi +TeXDict begin + +%%EndSetup +%%Page: 5 1 +5 0 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 68 598 2 v 0 407 598 9 v 0 490 a FB(Contents)0 +855 y FA(Preface)13 b(\(Second)h(Edition\))41 b(xi)0 +917 y(Ac)o(kno)o(wledgmen)o(ts)15 b(\(Second)f(Edition\))0 +963 y(xiii)0 1025 y(Ac)o(kno)o(wledgmen)o(ts)g(\(First)g(Edition\))40 +b(xvii)0 1144 y Fz(1.)21 b(In)o(tro)q(duction)35 b FA(1)0 +1206 y(1.1.)65 b(Purp)q(ose)39 b(1)0 1252 y(1.2.)65 b(Notational)14 +b(Con)o(v)o(en)o(tions)41 b(4)0 1297 y(1.2.1.)35 b(Decimal)14 +b(Num)o(b)q(ers)39 b(4)0 1343 y(1.2.2.)c(Nil,)13 b(F)m(alse,)h(and)f +(the)g(Empt)o(y)125 1389 y(List)39 b(4)0 1434 y(1.2.3.)c(Ev)n +(aluation,)15 b(Expansion,)g(and)125 1480 y(Equiv)n(alence)41 +b(5)0 1526 y(1.2.4.)35 b(Errors)j(5)0 1571 y(1.2.5.)d(Descriptions)15 +b(of)e(F)m(unctions)i(and)125 1617 y(Other)e(En)o(tities)40 +b(6)0 1663 y(1.2.6.)35 b(The)12 b(Lisp)i(Reader)40 b(10)0 +1708 y(1.2.7.)35 b(Ov)o(erview)13 b(of)g(Syn)o(tax)40 +b(10)0 1810 y Fz(2.)21 b(Data)16 b(T)o(yp)q(es)38 b FA(13)0 +1872 y(2.1.)65 b(Num)o(b)q(ers)39 b(16)0 1918 y(2.1.1.)c(In)o(tegers)k +(17)0 1963 y(2.1.2.)c(Ratios)k(19)0 2009 y(2.1.3.)c(Floating-P)o(oin)o +(t)16 b(Num)o(b)q(ers)39 b(20)0 2055 y(2.1.4.)c(Complex)14 +b(Num)o(b)q(ers)39 b(24)0 2100 y(2.2.)65 b(Characters)39 +b(24)0 2146 y(2.2.1.)c(Standard)14 b(Characters)39 b(25)0 +2192 y(2.2.2.)c(Line)13 b(Division)q(s)41 b(26)0 2237 +y(2.2.3.)35 b(Non-standard)14 b(Characters)39 b(27)0 +2283 y(2.2.4.)c(Character)13 b(A)o(ttributes)39 b(28)0 +2329 y(2.2.5.)c(String)14 b(Characters)39 b(28)735 855 +y(2.3.)64 b(Sym)o(b)q(ols)41 b(29)735 901 y(2.4.)64 b(Lists)14 +b(and)g(Conses)39 b(32)735 946 y(2.5.)64 b(Arra)o(ys)39 +b(33)735 992 y(2.5.1.)34 b(V)m(ectors)39 b(35)735 1038 +y(2.5.2.)34 b(Strings)40 b(36)735 1083 y(2.5.3.)34 b(Bit-V)m(ectors)39 +b(37)735 1129 y(2.6.)64 b(Hash)14 b(T)m(ables)39 b(38)735 +1175 y(2.7.)64 b(Readtables)41 b(38)735 1220 y(2.8.)64 +b(P)o(ac)o(k)n(ages)40 b(38)735 1266 y(2.9.)64 b(P)o(athnames)40 +b(38)735 1312 y(2.10.)45 b(Streams)39 b(38)735 1357 y(2.11.)45 +b(Random-States)40 b(39)735 1403 y(2.12.)45 b(Structures)40 +b(39)735 1449 y(2.13.)45 b(F)m(unctions)c(39)735 1494 +y(2.14.)k(Unreadable)15 b(Data)f(Ob)r(jects)38 b(40)735 +1540 y(2.15.)45 b(Ov)o(erlap,)14 b(Inclusion,)h(and)859 +1586 y(Disjoin)o(tness)h(of)c(T)o(yp)q(es)39 b(41)735 +1712 y Fz(3.)21 b(Scop)q(e)15 b(and)g(Exten)o(t)38 b +FA(46)735 1856 y Fz(4.)21 b(T)o(yp)q(e)16 b(Sp)q(ecifiers)35 +b FA(53)735 1918 y(4.1.)64 b(T)o(yp)q(e)13 b(Sp)q(eci\014er)i(Sym)o(b)q +(ols)41 b(53)735 1963 y(4.2.)64 b(T)o(yp)q(e)13 b(Sp)q(eci\014er)i +(Lists)40 b(53)735 2009 y(4.3.)64 b(Predicating)16 b(T)o(yp)q(e)859 +2055 y(Sp)q(eci\014ers)41 b(55)735 2100 y(4.4.)64 b(T)o(yp)q(e)13 +b(Sp)q(eci\014ers)i(That)859 2146 y(Com)o(bine)40 b(55)735 +2192 y(4.5.)64 b(T)o(yp)q(e)13 b(Sp)q(eci\014ers)i(That)859 +2237 y(Sp)q(ecialize)42 b(57)735 2283 y(4.6.)64 b(T)o(yp)q(e)13 +b(Sp)q(eci\014ers)i(That)859 2329 y(Abbreviate)40 b(64)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1377 2428 a Fy(v)p eop +%%Page: 6 2 +6 1 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(vi)76 b(CONTENTS)0 +295 y FA(4.7.)65 b(De\014ning)15 b(New)d(T)o(yp)q(e)125 +340 y(Sp)q(eci\014ers)40 b(66)0 386 y(4.8.)65 b(T)o(yp)q(e)13 +b(Con)o(v)o(ersion)h(F)m(unction)40 b(68)0 432 y(4.9.)65 +b(Determining)15 b(the)e(T)o(yp)q(e)g(of)g(an)125 477 +y(Ob)r(ject)38 b(70)0 523 y(4.10.)46 b(T)o(yp)q(e)13 +b(Upgrading)40 b(72)0 621 y Fz(5.)21 b(Program)15 b(Structure)35 +b FA(73)0 684 y(5.1.)65 b(F)m(orms)38 b(73)0 729 y(5.1.1.)d(Self-Ev)n +(aluating)16 b(F)m(orms)38 b(74)0 775 y(5.1.2.)d(V)m(ariables)40 +b(74)0 821 y(5.1.3.)35 b(Sp)q(ecial)15 b(F)m(orms)38 +b(76)0 866 y(5.1.4.)d(Macros)k(78)0 912 y(5.1.5.)c(F)m(unction)14 +b(Calls)40 b(79)0 958 y(5.2.)65 b(F)m(unctions)40 b(79)0 +1003 y(5.2.1.)35 b(Named)13 b(F)m(unctions)40 b(80)0 +1049 y(5.2.2.)35 b(Lam)o(b)q(da-Expressions)41 b(80)0 +1095 y(5.3.)65 b(T)m(op-Lev)o(el)13 b(F)m(orms)39 b(88)0 +1140 y(5.3.1.)c(De\014ning)15 b(Named)e(F)m(unctions)40 +b(90)0 1186 y(5.3.2.)35 b(Declaring)15 b(Global)g(V)m(ariables)g(and) +125 1231 y(Named)e(Constan)o(ts)39 b(92)0 1277 y(5.3.3.)c(Con)o(trol)13 +b(of)g(Time)g(of)125 1323 y(Ev)n(aluation)41 b(94)0 1421 +y Fz(6.)21 b(Predicates)36 b FA(101)0 1483 y(6.1.)65 +b(Logical)14 b(V)m(alues)40 b(102)0 1529 y(6.2.)65 b(Data)13 +b(T)o(yp)q(e)g(Predicates)40 b(102)0 1575 y(6.2.1.)35 +b(General)14 b(T)o(yp)q(e)f(Predicates)40 b(102)0 1620 +y(6.2.2.)35 b(Sp)q(eci\014c)14 b(Data)g(T)o(yp)q(e)125 +1666 y(Predicates)40 b(105)0 1712 y(6.3.)65 b(Equalit)o(y)15 +b(Predicates)40 b(110)0 1757 y(6.4.)65 b(Logical)14 b(Op)q(erators)40 +b(116)0 1856 y Fz(7.)21 b(Con)o(trol)14 b(Structure)36 +b FA(119)0 1918 y(7.1.)65 b(Constan)o(ts)13 b(and)h(V)m(ariables)40 +b(120)0 1963 y(7.1.1.)35 b(Reference)k(120)0 2009 y(7.1.2.)c(Assignmen) +o(t)k(127)0 2055 y(7.2.)65 b(Generalized)15 b(V)m(ariables)40 +b(129)0 2100 y(7.3.)65 b(F)m(unction)14 b(In)o(v)o(o)q(cation)40 +b(154)0 2146 y(7.4.)65 b(Simple)14 b(Sequencing)41 b(155)0 +2192 y(7.5.)65 b(Establishing)16 b(New)c(V)m(ariable)125 +2237 y(Bindings)41 b(157)0 2283 y(7.6.)65 b(Conditionals)41 +b(165)0 2329 y(7.7.)65 b(Blo)q(c)o(ks)14 b(and)g(Exits)39 +b(170)735 295 y(7.8.)64 b(Iteration)40 b(172)735 340 +y(7.8.1.)34 b(Inde\014nite)15 b(Iteration)40 b(172)735 +386 y(7.8.2.)34 b(General)15 b(Iteration)39 b(173)735 +432 y(7.8.3.)34 b(Simple)15 b(Iteration)859 477 y(Constructs)40 +b(178)735 523 y(7.8.4.)34 b(Mapping)41 b(180)735 569 +y(7.8.5.)34 b(The)13 b(\\Program)h(F)m(eature")39 b(183)735 +614 y(7.9.)64 b(Structure)14 b(T)m(ra)o(v)o(ersal)g(and)g(Side)859 +660 y(E\013ects)39 b(188)735 706 y(7.10.)45 b(Multiple)16 +b(V)m(alues)39 b(189)735 751 y(7.10.1.)17 b(Constructs)c(for)g +(Handling)859 797 y(Multiple)j(V)m(alues)39 b(190)735 +843 y(7.10.2.)17 b(Rules)d(Go)o(v)o(erning)h(the)e(P)o(assing)h(of)859 +888 y(Multiple)i(V)m(alues)39 b(195)735 934 y(7.11.)45 +b(Dynamic)15 b(Non-Lo)q(cal)f(Exits)40 b(198)735 1038 +y Fz(8.)21 b(Macros)39 b FA(205)735 1100 y(8.1.)64 b(Macro)14 +b(De\014nition)41 b(206)735 1146 y(8.2.)64 b(Macro)14 +b(Expansion)41 b(215)735 1191 y(8.3.)64 b(Destructuring)41 +b(217)735 1237 y(8.4.)64 b(Compiler)15 b(Macros)39 b(217)735 +1283 y(8.5.)64 b(En)o(vironmen)o(ts)41 b(220)735 1386 +y Fz(9.)21 b(Declarations)36 b FA(228)735 1449 y(9.1.)64 +b(Declaration)16 b(Syn)o(tax)39 b(228)735 1494 y(9.2.)64 +b(Declaration)16 b(Sp)q(eci\014ers)40 b(237)735 1540 +y(9.3.)64 b(T)o(yp)q(e)13 b(Declaration)j(for)859 1586 +y(F)m(orms)39 b(252)735 1689 y Fz(10.)21 b(Sym)o(b)q(ols)36 +b FA(254)735 1752 y(10.1.)45 b(The)13 b(Prop)q(ert)o(y)h(List)39 +b(254)735 1797 y(10.2.)45 b(The)13 b(Prin)o(t)h(Name)38 +b(259)735 1843 y(10.3.)45 b(Creating)14 b(Sym)o(b)q(ols)41 +b(260)735 1947 y Fz(11.)21 b(P)o(ac)o(k)m(ages)38 b FA(264)735 +2009 y(11.1.)45 b(Consistency)15 b(Rules)40 b(266)735 +2055 y(11.2.)45 b(P)o(ac)o(k)n(age)14 b(Names)39 b(266)735 +2100 y(11.3.)45 b(T)m(ranslating)15 b(Strings)g(to)859 +2146 y(Sym)o(b)q(ols)41 b(268)735 2192 y(11.4.)k(Exp)q(orting)15 +b(and)f(Imp)q(orting)859 2237 y(Sym)o(b)q(ols)41 b(270)735 +2283 y(11.5.)k(Name)13 b(Con\015icts)40 b(272)735 2329 +y(11.6.)45 b(Built-in)16 b(P)o(ac)o(k)n(ages)39 b(275)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 7 3 +7 2 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTENTS)1156 b(vii)0 +295 y FA(11.7.)46 b(P)o(ac)o(k)n(age)13 b(System)h(F)m(unctions)g(and) +125 340 y(V)m(ariables)40 b(279)0 386 y(11.8.)46 b(Mo)q(dules)40 +b(295)0 432 y(11.9.)46 b(An)12 b(Example)41 b(296)0 545 +y Fz(12.)21 b(Num)o(b)q(ers)37 b FA(307)0 607 y(12.1.)46 +b(Precision,)14 b(Con)o(tagion,)g(and)125 653 y(Co)q(ercion)39 +b(308)0 699 y(12.2.)46 b(Predicates)14 b(on)f(Num)o(b)q(ers)39 +b(312)0 744 y(12.3.)46 b(Comparisons)14 b(on)g(Num)o(b)q(ers)39 +b(313)0 790 y(12.4.)46 b(Arithmetic)14 b(Op)q(erations)40 +b(315)0 836 y(12.5.)46 b(Irrational)14 b(and)g(T)m(ranscenden)o(tal)125 +881 y(F)m(unctions)40 b(319)0 927 y(12.5.1.)17 b(Exp)q(onen)o(tial)f +(and)d(Logarithmic)125 973 y(F)m(unctions)40 b(320)0 +1018 y(12.5.2.)17 b(T)m(rigonometric)e(and)e(Related)125 +1064 y(F)m(unctions)40 b(323)0 1110 y(12.5.3.)17 b(Branc)o(h)d(Cuts,)e +(Principal)k(V)m(alues,)125 1155 y(and)d(Boundary)i(Conditions)g(in)125 +1201 y(the)e(Complex)h(Plane)40 b(332)0 1247 y(12.6.)46 +b(T)o(yp)q(e)13 b(Con)o(v)o(ersions)i(and)125 1292 y(Comp)q(onen)o(t)e +(Extractions)i(on)125 1338 y(Num)o(b)q(ers)39 b(375)0 +1384 y(12.7.)46 b(Logical)14 b(Op)q(erations)h(on)125 +1429 y(Num)o(b)q(ers)39 b(382)0 1475 y(12.8.)46 b(Byte)13 +b(Manipulatio)q(n)125 1521 y(F)m(unctions)40 b(388)0 +1566 y(12.9.)46 b(Random)14 b(Num)o(b)q(ers)39 b(391)0 +1612 y(12.10.)27 b(Implemen)o(tation)125 1658 y(P)o(arameters)39 +b(394)0 1771 y Fz(13.)21 b(Characters)38 b FA(398)0 1833 +y(13.1.)46 b(Character)13 b(A)o(ttributes)39 b(401)0 +1879 y(13.2.)46 b(Predicates)14 b(on)f(Characters)39 +b(403)0 1925 y(13.3.)46 b(Character)13 b(Construction)i(and)125 +1970 y(Selection)40 b(409)0 2016 y(13.4.)46 b(Character)13 +b(Con)o(v)o(ersions)40 b(410)0 2062 y(13.5.)46 b(Character)13 +b(Con)o(trol-Bit)125 2107 y(F)m(unctions)40 b(413)0 2221 +y Fz(14.)21 b(Sequences)37 b FA(415)0 2283 y(14.1.)46 +b(Simple)14 b(Sequence)125 2329 y(F)m(unctions)40 b(419)735 +295 y(14.2.)45 b(Concatenating,)15 b(Mapping,)g(and)859 +340 y(Reducing)g(Sequences)40 b(421)735 386 y(14.3.)45 +b(Mo)q(difying)16 b(Sequences)40 b(426)735 432 y(14.4.)45 +b(Searc)o(hing)15 b(Sequences)g(for)859 477 y(Items)39 +b(432)735 523 y(14.5.)45 b(Sorting)15 b(and)e(Merging)40 +b(436)735 639 y Fz(15.)21 b(Lists)37 b FA(440)735 702 +y(15.1.)45 b(Conses)39 b(440)735 747 y(15.2.)45 b(Lists)40 +b(442)735 793 y(15.3.)45 b(Alteration)15 b(of)e(List)859 +839 y(Structure)40 b(453)735 884 y(15.4.)45 b(Substitution)16 +b(of)859 930 y(Expressions)41 b(455)735 976 y(15.5.)k(Using)14 +b(Lists)g(as)f(Sets)39 b(457)735 1021 y(15.6.)45 b(Asso)q(ciation)15 +b(Lists)40 b(463)735 1137 y Fz(16.)21 b(Hash)16 b(T)l(ables)37 +b FA(468)735 1200 y(16.1.)45 b(Hash)14 b(T)m(able)f(F)m(unctions)40 +b(469)735 1245 y(16.2.)45 b(Primitiv)o(e)15 b(Hash)f(F)m(unction)40 +b(475)735 1362 y Fz(17.)21 b(Arra)o(ys)38 b FA(476)735 +1424 y(17.1.)45 b(Arra)o(y)13 b(Creation)40 b(476)735 +1469 y(17.2.)45 b(Arra)o(y)13 b(Access)39 b(481)735 1515 +y(17.3.)45 b(Arra)o(y)13 b(Information)40 b(482)735 1561 +y(17.4.)45 b(F)m(unctions)15 b(on)e(Arra)o(ys)g(of)859 +1606 y(Bits)40 b(487)735 1652 y(17.5.)45 b(Fill)15 b(P)o(oin)o(ters)40 +b(489)735 1698 y(17.6.)45 b(Changing)15 b(the)e(Dimensions)j(of)d(an) +859 1743 y(Arra)o(y)39 b(490)735 1860 y Fz(18.)21 b(Strings)36 +b FA(495)735 1922 y(18.1.)45 b(String)15 b(Access)38 +b(496)735 1968 y(18.2.)45 b(String)15 b(Comparison)40 +b(496)735 2013 y(18.3.)45 b(String)15 b(Construction)f(and)859 +2059 y(Manipulati)q(on)42 b(499)735 2175 y Fz(19.)21 +b(Structures)35 b FA(504)735 2237 y(19.1.)45 b(In)o(tro)q(duction)15 +b(to)859 2283 y(Structures)40 b(504)735 2329 y(19.2.)45 +b(Ho)o(w)13 b(to)g(Use)f(Defstruct)39 b(506)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 8 4 +8 3 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(viii)74 b(CONTENTS)0 +295 y FA(19.3.)46 b(Using)13 b(the)h(Automatically)125 +340 y(De\014ned)g(Constructor)125 386 y(F)m(unction)40 +b(510)0 432 y(19.4.)46 b(Defstruct)13 b(Slot-Options)41 +b(512)0 477 y(19.5.)46 b(Defstruct)13 b(Options)40 b(513)0 +523 y(19.6.)46 b(By-P)o(osition)15 b(Constructor)125 +569 y(F)m(unctions)40 b(519)0 614 y(19.7.)46 b(Structures)14 +b(of)e(Explicitl)q(y)125 660 y(Sp)q(eci\014ed)j(Represen)o(tational)125 +706 y(T)o(yp)q(e)38 b(523)0 751 y(19.7.1.)17 b(Unnamed)d(Structures)39 +b(523)0 797 y(19.7.2.)17 b(Named)c(Structures)40 b(524)0 +843 y(19.7.3.)17 b(Other)c(Asp)q(ects)g(of)g(Explicitly)125 +888 y(Sp)q(eci\014ed)i(Structures)39 b(526)0 987 y Fz(20.)21 +b(The)16 b(Ev)m(aluator)37 b FA(528)0 1049 y(20.1.)46 +b(Run-Time)14 b(Ev)n(aluation)h(of)125 1095 y(F)m(orms)38 +b(528)0 1140 y(20.2.)46 b(The)12 b(T)m(op-Lev)o(el)i(Lo)q(op)39 +b(532)0 1238 y Fz(21.)21 b(Streams)37 b FA(535)0 1301 +y(21.1.)46 b(Standard)14 b(Streams)39 b(535)0 1346 y(21.2.)46 +b(Creating)13 b(New)g(Streams)39 b(538)0 1392 y(21.3.)46 +b(Op)q(erations)14 b(on)f(Streams)40 b(542)0 1490 y Fz(22.)21 +b(Input/Outpu)o(t)35 b FA(547)0 1553 y(22.1.)46 b(Prin)o(ted)14 +b(Represen)o(tation)h(of)e(Lisp)125 1598 y(Ob)r(jects)38 +b(547)0 1644 y(22.1.1.)17 b(What)d(the)f(Read)g(F)m(unction)125 +1689 y(Accepts)38 b(548)0 1735 y(22.1.2.)17 b(P)o(arsing)d(of)f(Num)o +(b)q(ers)h(and)125 1781 y(Sym)o(b)q(ols)40 b(554)0 1826 +y(22.1.3.)17 b(Macro)c(Characters)39 b(563)0 1872 y(22.1.4.)17 +b(Standard)d(Dispatc)o(hing)i(Macro)125 1918 y(Character)d(Syn)o(tax)40 +b(570)0 1963 y(22.1.5.)17 b(The)c(Readtable)40 b(582)0 +2009 y(22.1.6.)17 b(What)d(the)f(Prin)o(t)h(F)m(unction)125 +2055 y(Pro)q(duces)39 b(593)0 2100 y(22.2.)46 b(Input)13 +b(F)m(unctions)40 b(611)0 2146 y(22.2.1.)17 b(Input)c(from)g(Character) +125 2192 y(Streams)39 b(611)0 2237 y(22.2.2.)17 b(Input)c(from)g +(Binary)125 2283 y(Streams)39 b(622)0 2329 y(22.3.)46 +b(Output)13 b(F)m(unctions)40 b(622)735 295 y(22.3.1.)17 +b(Output)c(to)g(Character)859 340 y(Streams)39 b(623)735 +386 y(22.3.2.)17 b(Output)c(to)g(Binary)859 432 y(Streams)39 +b(627)735 477 y(22.3.3.)17 b(F)m(ormatted)c(Output)g(to)859 +523 y(Character)h(Streams)39 b(627)735 569 y(22.4.)45 +b(Querying)15 b(the)e(User)38 b(659)735 667 y Fz(23.)21 +b(File)14 b(System)h(In)o(terface)37 b FA(661)735 729 +y(23.1.)45 b(File)15 b(Names)38 b(661)735 775 y(23.1.1.)17 +b(P)o(athnames)39 b(662)735 821 y(23.1.2.)17 b(Case)c(Con)o(v)o(en)o +(tions)40 b(668)735 866 y(23.1.3.)17 b(Structured)d(Directories)40 +b(672)735 912 y(23.1.4.)17 b(Extended)d(Wildcar)l(ds)41 +b(675)735 958 y(23.1.5.)17 b(Logical)d(P)o(athnames)40 +b(681)735 1003 y(23.1.5.1.)16 b(Syn)o(tax)f(of)d(Logical)j(P)o(athname) +859 1049 y(Namestrings)40 b(681)735 1095 y(23.1.5.2.)16 +b(P)o(arsing)f(of)e(Logical)h(P)o(athname)859 1140 y(Namestrings)40 +b(682)735 1186 y(23.1.5.3.)16 b(Using)e(Logical)859 1231 +y(P)o(athnames)40 b(683)735 1277 y(23.1.5.4.)16 b(Examples)f(of)e(the)g +(Use)g(of)859 1323 y(Logical)i(P)o(athnames)40 b(686)735 +1368 y(23.1.5.5.)16 b(Discussion)g(of)d(Logical)859 1414 +y(P)o(athnames)40 b(688)735 1460 y(23.1.6.)17 b(P)o(athname)d(F)m +(unctions)40 b(690)735 1505 y(23.2.)45 b(Op)q(ening)15 +b(and)f(Closing)859 1551 y(Files)40 b(700)735 1597 y(23.3.)45 +b(Renaming,)15 b(Deleting,)g(and)e(Other)859 1642 y(File)i(Op)q +(erations)40 b(707)735 1688 y(23.4.)45 b(Loading)15 b(Files)40 +b(712)735 1734 y(23.5.)45 b(Accessing)15 b(Directories)40 +b(718)735 1832 y Fz(24.)21 b(Errors)37 b FA(720)735 1894 +y(24.1.)45 b(General)15 b(Error-Signaling)859 1940 y(F)m(unctions)41 +b(721)735 1986 y(24.2.)k(Sp)q(ecialized)17 b(Error-Signaling)859 +2031 y(F)m(orms)c(and)h(Macros)39 b(726)735 2077 y(24.3.)45 +b(Sp)q(ecial)15 b(F)m(orms)f(for)e(Exhaustiv)o(e)859 +2123 y(Case)h(Analysis)41 b(729)735 2221 y Fz(25.)21 +b(Miscellaneous)13 b(F)l(eatures)37 b FA(732)735 2283 +y(25.1.)45 b(The)13 b(Compiler)40 b(732)735 2329 y(25.1.1.)17 +b(Compiler)d(Diagnostics)41 b(740)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 9 5 +9 4 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTENTS)1165 b(ix)0 +295 y FA(25.1.2.)17 b(Compiled)e(F)m(unctions)40 b(741)0 +340 y(25.1.3.)17 b(Compilation)f(En)o(vironmen)o(t)40 +b(742)0 386 y(25.1.4.)17 b(Similarit)o(y)f(of)d(Constan)o(ts)39 +b(747)0 432 y(25.2.)46 b(Do)q(cumen)o(tation)41 b(751)0 +477 y(25.3.)46 b(Debugging)15 b(T)m(o)q(ols)39 b(752)0 +523 y(25.4.)46 b(En)o(vironmen)o(t)14 b(Inquiries)41 +b(759)0 569 y(25.4.1.)17 b(Time)c(F)m(unctions)40 b(759)0 +614 y(25.4.2.)17 b(Other)c(En)o(vironmen)o(t)125 660 +y(Inquiries)40 b(763)0 706 y(25.5.)46 b(Iden)o(tit)o(y)14 +b(F)m(unction)40 b(765)0 839 y Fz(26.)21 b(Lo)q(op)38 +b FA(767)0 901 y(26.1.)46 b(In)o(tro)q(duction)40 b(767)0 +946 y(26.2.)46 b(Ho)o(w)12 b(the)h(Lo)q(op)h(F)m(acilit)o(y)125 +992 y(W)m(orks)39 b(767)0 1038 y(26.3.)46 b(P)o(arsing)14 +b(Lo)q(op)g(Clauses)39 b(768)0 1083 y(26.3.1.)17 b(Order)c(of)g +(Execution)40 b(769)0 1129 y(26.3.2.)17 b(Kinds)d(of)f(Lo)q(op)g +(Clauses)40 b(770)0 1175 y(26.3.3.)17 b(Lo)q(op)c(Syn)o(tax)40 +b(773)0 1220 y(26.4.)46 b(User)12 b(Extensibil)q(it)o(y)42 +b(773)0 1266 y(26.5.)k(Lo)q(op)13 b(Constructs)39 b(773)0 +1312 y(26.6.)46 b(Iteration)14 b(Con)o(trol)39 b(774)0 +1357 y(26.7.)46 b(End-T)m(est)13 b(Con)o(trol)39 b(785)0 +1403 y(26.8.)46 b(V)m(alue)13 b(Accum)o(ulation)41 b(789)0 +1449 y(26.9.)46 b(V)m(ariable)14 b(Initializati)q(ons)42 +b(795)0 1494 y(26.10.)27 b(Conditional)16 b(Execution)40 +b(798)0 1540 y(26.11.)27 b(Unconditional)16 b(Execution)40 +b(800)0 1586 y(26.12.)27 b(Miscellaneous)16 b(F)m(eatures)39 +b(802)0 1631 y(26.12.1.)17 b(Data)d(T)o(yp)q(es)38 b(802)0 +1677 y(26.12.2.)17 b(Destructuring)41 b(803)0 1810 y +Fz(27.)21 b(Prett)o(y)14 b(Prin)o(tin)o(g)36 b FA(808)0 +1872 y(27.1.)46 b(In)o(tro)q(duction)40 b(808)0 1918 +y(27.2.)46 b(Prett)o(y)13 b(Prin)o(ting)i(Con)o(trol)125 +1963 y(V)m(ariables)40 b(809)0 2009 y(27.3.)46 b(Dynamic)14 +b(Con)o(trol)g(of)f(the)125 2055 y(Arrangemen)o(t)g(of)g(Output)39 +b(810)0 2100 y(27.4.)46 b(F)m(ormat)13 b(Directiv)o(e)125 +2146 y(In)o(terface)38 b(822)0 2192 y(27.5.)46 b(Compiling)15 +b(F)m(ormat)e(Con)o(trol)125 2237 y(Strings)40 b(825)0 +2283 y(27.6.)46 b(Prett)o(y)13 b(Prin)o(ting)i(Dispatc)o(h)125 +2329 y(T)m(ables)39 b(826)735 295 y Fz(28.)21 b(Common)15 +b(Lisp)f(Ob)s(ject)809 340 y(System)38 b FA(831)735 405 +y(28.1.)45 b(Programmer)14 b(In)o(terface)859 450 y(Concepts)39 +b(831)735 498 y(28.1.1.)17 b(Error)c(T)m(erminology)40 +b(832)735 546 y(28.1.2.)17 b(Classes)39 b(835)735 594 +y(28.1.2.1.)16 b(De\014ning)g(Classes)39 b(836)735 642 +y(28.1.2.2.)16 b(Creating)e(Instances)g(of)859 687 y(Classes)40 +b(837)735 735 y(28.1.2.3.)16 b(Slots)40 b(837)735 783 +y(28.1.2.4.)16 b(Accessing)f(Slots)39 b(839)735 831 y(28.1.3.)17 +b(Inheritance)40 b(841)735 879 y(28.1.3.1.)16 b(Inheritance)f(of)e +(Metho)q(ds)40 b(841)735 927 y(28.1.3.2.)16 b(Inheritance)f(of)e(Slots) +h(and)g(Slot)859 972 y(Options)40 b(841)735 1020 y(28.1.3.3.)16 +b(Inheritance)f(of)e(Class)859 1066 y(Options)40 b(843)735 +1113 y(28.1.3.4.)16 b(Examples)41 b(843)735 1161 y(28.1.4.)17 +b(In)o(tegrating)d(T)o(yp)q(es)f(and)859 1207 y(Classes)40 +b(843)735 1255 y(28.1.5.)17 b(Determining)e(the)e(Class)859 +1300 y(Precedence)h(List)39 b(845)735 1348 y(28.1.5.1.)16 +b(T)m(op)q(ological)g(Sorting)40 b(848)735 1396 y(28.1.5.2.)16 +b(Examples)41 b(848)735 1444 y(28.1.6.)17 b(Generic)d(F)m(unctions)g +(and)859 1490 y(Metho)q(ds)40 b(851)735 1537 y(28.1.6.1.)16 +b(In)o(tro)q(duction)f(to)e(Generic)859 1583 y(F)m(unctions)41 +b(851)735 1631 y(28.1.6.2.)16 b(In)o(tro)q(duction)f(to)859 +1677 y(Metho)q(ds)40 b(852)735 1724 y(28.1.6.3.)16 b(Agreemen)o(t)e(on) +f(P)o(arameter)859 1770 y(Sp)q(ecializer)q(s)i(and)d(Quali\014ers)41 +b(855)735 1818 y(28.1.6.4.)16 b(Congruen)o(t)e(Lam)o(b)q(da-Lists)h +(for)859 1864 y(All)f(Metho)q(ds)g(of)f(a)859 1909 y(Generic)h(F)m +(unction)41 b(856)735 1957 y(28.1.6.5.)16 b(Keyw)o(ord)e(Argumen)o(ts)f +(in)859 2003 y(Generic)h(F)m(unctions)h(and)859 2048 +y(Metho)q(ds)40 b(856)735 2096 y(28.1.7.)17 b(Metho)q(d)d(Selection)h +(and)859 2142 y(Com)o(bination)41 b(858)735 2190 y(28.1.7.1.)16 +b(Determining)g(the)d(E\013ectiv)o(e)859 2235 y(Metho)q(d)40 +b(858)735 2283 y(28.1.7.2.)16 b(Standard)f(Metho)q(d)859 +2329 y(Com)o(bination)41 b(861)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 10 6 +10 5 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(x)76 b(CONTENTS)0 +295 y FA(28.1.7.3.)17 b(Declarativ)o(e)e(Metho)q(d)125 +340 y(Com)o(bination)40 b(863)0 389 y(28.1.7.4.)17 b(Built-in)e(Metho)q +(d)f(Com)o(bination)125 435 y(T)o(yp)q(es)38 b(863)0 +483 y(28.1.8.)17 b(Meta-ob)r(jects)39 b(865)0 532 y(28.1.8.1.)17 +b(Metaclasses)40 b(866)0 580 y(28.1.8.2.)17 b(Standard)d(Metaclasses)40 +b(866)0 628 y(28.1.8.3.)17 b(Standard)d(Meta-ob)r(jects)39 +b(866)0 677 y(28.1.9.)17 b(Ob)r(ject)c(Creation)h(and)125 +723 y(Initializatio)q(n)41 b(867)0 771 y(28.1.9.1.)17 +b(Initializati)q(on)125 817 y(Argumen)o(ts)39 b(868)0 +865 y(28.1.9.2.)17 b(Declaring)e(the)e(V)m(alidit)o(y)i(of)125 +911 y(Initializatio)q(n)h(Argumen)o(ts)39 b(869)0 959 +y(28.1.9.3.)17 b(Defaulting)e(of)e(Initializati)q(on)125 +1005 y(Argumen)o(ts)39 b(870)0 1054 y(28.1.9.4.)17 b(Rules)d(for)f +(Initializati)q(on)125 1099 y(Argumen)o(ts)39 b(871)0 +1148 y(28.1.9.5.)17 b(Shared-Initiali)q(ze)41 b(873)0 +1196 y(28.1.9.6.)17 b(Initialize-Instanc)q(e)41 b(874)0 +1245 y(28.1.9.7.)17 b(De\014nitions)f(of)c(Mak)o(e-Instance)125 +1290 y(and)h(Initialize-Insta)q(nce)41 b(876)0 1339 y(28.1.10.)17 +b(Rede\014ning)e(Classes)40 b(878)0 1387 y(28.1.10.1.)17 +b(Mo)q(difying)e(the)f(Structure)f(of)125 1433 y(Instances)39 +b(879)0 1481 y(28.1.10.2.)17 b(Initializi)q(ng)f(Newly)d(Added)125 +1527 y(Lo)q(cal)h(Slots)39 b(879)0 1576 y(28.1.10.3.)17 +b(Customizing)e(Class)125 1621 y(Rede\014nition)41 b(880)0 +1670 y(28.1.10.4.)17 b(Extensions)41 b(880)0 1718 y(28.1.11.)17 +b(Changing)e(the)e(Class)h(of)e(an)125 1764 y(Instance)39 +b(881)0 1812 y(28.1.11.1.)17 b(Mo)q(difying)e(the)f(Structure)f(of)125 +1858 y(an)g(Instance)39 b(881)0 1907 y(28.1.11.2.)17 +b(Initializi)q(ng)f(Newly)d(Added)125 1952 y(Lo)q(cal)h(Slots)39 +b(881)0 2001 y(28.1.11.3.)17 b(Customizing)e(the)e(Change)h(of)125 +2046 y(Class)f(of)g(an)g(Instance)40 b(882)0 2095 y(28.1.12.)17 +b(Reinitial)q(izi)q(ng)f(an)125 2140 y(Instance)39 b(882)0 +2189 y(28.1.12.1.)17 b(Customizing)125 2235 y(Reinitiali)q(zati)q(on)41 +b(884)0 2283 y(28.2.)46 b(F)m(unctions)14 b(in)g(the)f(Programmer)125 +2329 y(In)o(terface)38 b(884)735 295 y Fz(29.)21 b(Conditions)35 +b FA(939)735 357 y(29.1.)45 b(In)o(tro)q(duction)c(939)735 +403 y(29.2.)k(Changes)14 b(in)g(T)m(erminology)40 b(941)735 +448 y(29.3.)45 b(Surv)o(ey)14 b(of)f(Concepts)39 b(942)735 +494 y(29.3.1.)17 b(Signaling)f(Errors)39 b(942)735 540 +y(29.3.2.)17 b(T)m(rapping)d(Errors)39 b(944)735 585 +y(29.3.3.)17 b(Handling)e(Conditions)41 b(946)735 631 +y(29.3.4.)17 b(Ob)r(ject-Orien)o(ted)d(Basis)g(of)859 +677 y(Condition)h(Handling)41 b(947)735 722 y(29.3.5.)17 +b(Restarts)39 b(949)735 768 y(29.3.6.)17 b(Anon)o(ymous)d(Restarts)39 +b(949)735 814 y(29.3.7.)17 b(Named)c(Restarts)39 b(951)735 +859 y(29.3.8.)17 b(Restart)c(F)m(unctions)40 b(952)735 +905 y(29.3.9.)17 b(Comparison)d(of)f(Restarts)g(and)859 +951 y(Catc)o(h/Thro)o(w)39 b(953)735 996 y(29.3.10.)17 +b(Generalized)e(Restarts)39 b(955)735 1042 y(29.3.11.)17 +b(In)o(teractiv)o(e)d(Condition)859 1088 y(Handling)41 +b(956)735 1133 y(29.3.12.)17 b(Serious)d(Conditions)41 +b(956)735 1179 y(29.3.13.)17 b(Non-Serious)d(Conditions)41 +b(957)735 1225 y(29.3.14.)17 b(Condition)e(T)o(yp)q(es)39 +b(957)735 1270 y(29.3.15.)17 b(Signaling)f(Conditions)41 +b(958)735 1316 y(29.3.16.)17 b(Resignaling)f(Conditions)41 +b(959)735 1362 y(29.3.17.)17 b(Condition)e(Handlers)40 +b(959)735 1407 y(29.3.18.)17 b(Prin)o(ting)e(Conditions)41 +b(960)735 1453 y(29.4.)k(Program)14 b(In)o(terface)f(to)g(the)859 +1499 y(Condition)i(System)40 b(961)735 1544 y(29.4.1.)17 +b(Signaling)f(Conditions)41 b(961)735 1590 y(29.4.2.)17 +b(Assertions)39 b(964)735 1636 y(29.4.3.)17 b(Exhaustiv)o(e)e(Case)e +(Analysis)40 b(968)735 1681 y(29.4.4.)17 b(Handling)e(Conditions)41 +b(970)735 1727 y(29.4.5.)17 b(De\014ning)e(Conditions)41 +b(974)735 1773 y(29.4.6.)17 b(Creating)d(Conditions)40 +b(977)735 1818 y(29.4.7.)17 b(Establishing)f(Restarts)39 +b(978)735 1864 y(29.4.8.)17 b(Finding)e(and)f(Manipulating)859 +1910 y(Restarts)39 b(987)735 1955 y(29.4.9.)17 b(W)m(arnings)40 +b(989)735 2001 y(29.4.10.)17 b(Restart)c(F)m(unctions)40 +b(990)735 2046 y(29.4.11.)17 b(Debugging)e(Utilities)41 +b(992)735 2092 y(29.5.)k(Prede\014ned)15 b(Condition)859 +2138 y(T)o(yp)q(es)39 b(993)735 2267 y Fz(App)q(endix)13 +b(A.)k(Series)36 b FA(1001)735 2329 y(A.1.)54 b(In)o(tro)q(duction)41 +b(1001)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 11 7 +11 6 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTENTS)1165 b(xi)0 +295 y FA(A.2.)55 b(Series)14 b(F)m(unctions)40 b(1003)0 +340 y(A.2.1.)25 b(Scanners)39 b(1004)0 386 y(A.2.2.)25 +b(Mapping)40 b(1008)0 432 y(A.2.3.)25 b(T)m(runcation)14 +b(and)g(Other)f(Simple)125 477 y(T)m(ransducers)39 b(1011)0 +523 y(A.2.4.)25 b(Conditional)16 b(and)d(Other)125 569 +y(Complex)h(T)m(ransducers)39 b(1013)0 614 y(A.2.5.)25 +b(Collectors)40 b(1017)0 660 y(A.2.6.)25 b(Alteration)14 +b(of)f(Series)40 b(1020)0 706 y(A.3.)55 b(Optimization)41 +b(1022)0 751 y(A.3.1.)25 b(Basic)14 b(Restrictions)40 +b(1023)0 797 y(A.3.2.)25 b(Constrain)o(t)14 b(Cycles)39 +b(1024)0 843 y(A.3.3.)25 b(De\014ning)15 b(New)d(Series)125 +888 y(F)m(unctions)40 b(1027)0 934 y(A.3.4.)25 b(Declarations)41 +b(1028)0 980 y(A.4.)55 b(Primitiv)o(es)40 b(1030)0 1075 +y Fz(App)q(endix)14 b(B.)i(Generators)d(and)75 1121 y(Gatherers)36 +b FA(1036)0 1183 y(B.1.)57 b(In)o(tro)q(duction)40 b(1036)0 +1229 y(B.2.)57 b(Generators)39 b(1037)0 1274 y(B.3.)57 +b(Gatherers)39 b(1037)0 1320 y(B.4.)57 b(Discussion)41 +b(1039)0 1416 y Fz(App)q(endix)14 b(C.)i(Bac)o(kquote)38 +b FA(1040)0 1528 y Fz(References)f FA(1053)0 1640 y Fz(Index)15 +b(of)g(X3J13)h(V)l(otes)37 b FA(1058)0 1752 y Fz(Other)14 +b(Indexes)38 b FA(1064)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 12 8 +12 7 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(xii)75 b(CONTENTS)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 13 9 +13 8 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 448 598 9 v 0 531 a FB(Preface)0 +604 y Fx(SECOND)13 b(EDITION)0 873 y Fw(Common)i(Lisp)k(has)g +(succeeded.)35 b(Since)19 b(publication)f(of)g(the)h(\014rst)g(edition) +g(of)f(this)0 925 y(b)q(o)q(ok)12 b(in)g(1984,)f(man)o(y)f(implemen)o +(tors)g(ha)o(v)o(e)i(used)h(it)f(as)g(a)g Fv(de)h(facto)f +Fw(standard)h(for)f(Lisp)0 977 y(implemen)o(tatio)o(n.)i(As)d(a)g +(result,)g(it)f(is)h(no)o(w)f(m)o(uc)o(h)g(easier)h(to)f(p)q(ort)h +(large)g(Lisp)f(programs)0 1029 y(from)g(one)j(implemen)o(tatio)o(n)c +(to)j(another.)18 b(Common)9 b(Lisp)j(has)h(pro)o(v)o(ed)f(to)g(b)q(e)h +(a)f(useful)0 1080 y(and)17 b(stable)h(platform)e(for)h(rapid)g(protot) +o(yping)g(and)g(systems)h(deliv)o(ery)g(in)f(arti\014cial)0 +1132 y(in)o(telligence)e(and)g(other)g(areas.)22 b(With)15 +b(exp)q(erience)i(gained)e(in)f(using)h(Common)d(Lisp)0 +1184 y(for)f(so)g(man)o(y)f(applications,)g(implemen)o(tors)f(found)i +(no)g(shortage)h(of)e(opp)q(ortunities)i(for)0 1236 y(inno)o(v)n +(ation.)j(One)c(of)f(the)g(imp)q(ortan)o(t)f(c)o(haracteristics)j(of)e +(Lisp)g(is)g(its)g(go)q(o)q(d)g(supp)q(ort)h(for)0 1288 +y(exp)q(erimen)o(tal)h(extension)i(of)f(the)h(language;)e(while)g +(Common)e(Lisp)j(has)h(b)q(een)g(stable,)0 1340 y(it)g(has)g(not)f +(stagnated.)42 1393 y(The)d(1984)f(de\014nition)g(of)g(Common)e(Lisp)i +(w)o(as)h(imp)q(erfect)g(and)f(incomplete.)16 b(In)10 +b(some)0 1445 y(cases)15 b(this)e(w)o(as)g(inadv)o(erten)o(t:)19 +b(some)12 b(o)q(dd)i(b)q(oundary)f(situation)g(w)o(as)g(o)o(v)o(erlo)q +(ok)o(ed)g(and)0 1497 y(its)i(consequences)i(not)e(sp)q(eci\014ed,)h +(or)f(di\013eren)o(t)g(passages)h(w)o(ere)g(in)e(con\015ict,)h(or)g +(some)0 1549 y(prop)q(ert)o(y)e(of)e(Lisp)h(w)o(as)g(so)g(w)o(ell-kno)o +(wn)f(and)g(traditionally)f(relied)i(up)q(on)g(that)h(I)e(forgot)0 +1601 y(to)18 b(write)g(it)f(do)o(wn.)29 b(In)18 b(other)g(cases)h(the)g +(informal)c(commi)o(ttee)h(that)i(w)o(as)g(de\014ning)0 +1653 y(Common)c(Lisp)k(could)f(not)g(settle)i(on)e(a)g(solution,)g(and) +h(therefore)g(agreed)h(to)e(lea)o(v)o(e)0 1705 y(some)d(imp)q(ortan)o +(t)f(asp)q(ect)j(of)e(the)i(language)e(unsp)q(eci\014ed)i(rather)g +(than)f(c)o(ho)q(ose)g(a)g(less)0 1757 y(than)k(satisfactory)g +(de\014nition.)33 b(An)19 b(example)f(is)g(error)i(handling;)g(1984)e +(Common)0 1808 y(Lisp)c(had)g(plen)o(t)o(y)g(of)f(w)o(a)o(ys)h(to)g +(signal)f(errors)i(but)f(no)g(w)o(a)o(y)g(for)f(a)h(program)f(to)h +(trap)g(or)0 1860 y(pro)q(cess)i(them.)42 1914 y(Ov)o(er)i(the)h(next)f +(y)o(ear)g(I)g(collected)h(rep)q(orts)g(of)f(errors)h(in)e(the)i(b)q(o) +q(ok)f(and)f(gaps)h(in)0 1966 y(the)e(language.)21 b(In)16 +b(Decem)o(b)q(er)g(1985,)e(a)h(group)g(of)g(implemen)o(tors)e(and)i +(users)i(met)d(in)0 2017 y(Boston)19 b(to)e(discuss)j(the)e(state)h(of) +f(Commo)o(n)e(Lisp.)30 b(I)18 b(prepared)h(t)o(w)o(o)f(lists)g(for)g +(this)0 2069 y(meeting,)f(one)g(of)g(errata)h(and)f(clari\014cations)g +(that)g(I)g(though)o(t)g(w)o(ould)g(b)q(e)g(relativ)o(ely)0 +2121 y(uncon)o(tro)o(v)o(ersial)g(\(b)q(o)o(y)m(,)h(w)o(as)f(I)h +(wrong!\))29 b(and)17 b(one)h(of)f(more)f(substan)o(tial)i(c)o(hanges)g +(I)0 2173 y(though)o(t)d(should)g(b)q(e)h(considered)g(and)f(p)q +(erhaps)h(v)o(oted)g(up)q(on.)22 b(Others)16 b(also)f(brough)o(t)0 +2225 y(prop)q(osals)f(to)f(discuss.)20 b(It)13 b(b)q(ecame)h(clear)g +(to)g(ev)o(ery)o(one)h(that)e(there)j(w)o(as)d(no)o(w)h(enough)0 +2277 y(in)o(terest)g(in)e(Commo)o(n)e(Lisp,)i(and)g(dep)q(endence)k(on) +c(its)g(stabilit)o(y)m(,)f(that)h(a)h(more)e(formal)0 +2329 y(mec)o(hanism)h(w)o(as)h(needed)j(for)d(managing)e(c)o(hanges)k +(to)f(the)g(language.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1350 2428 a Fy(xiii)p eop +%%Page: 14 10 +14 9 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(xiv)75 b(PREF)m(A)o(CE)12 +b(\(SECOND)h(EDITION\))42 295 y Fw(This)k(realization)f(led)i(to)f(the) +h(formation)d(of)i(X3J13,)g(a)h(sub)q(committee)e(of)g(ANSI)0 +347 y(committee)9 b(X3,)j(to)f(pro)q(duce)i(a)e(formal)e(American)h +(National)g(Standard)i(for)f(Common)0 399 y(Lisp.)22 +b(That)16 b(pro)q(cess)h(is)e(nearing)g(completion.)21 +b(X3J13)15 b(has)h(completed)e(the)i(bulk)f(of)0 450 +y(its)i(tec)o(hnical)g(w)o(ork)g(in)f(rectifying)g(the)i(1984)e +(de\014nition)g(and)h(co)q(difying)f(extensions)0 502 +y(to)h(that)g(de\014nition)f(that)h(ha)o(v)o(e)g(receiv)o(ed)h +(widespread)g(use)g(and)e(appro)o(v)n(al.)26 b(A)17 b(draft)0 +554 y(standard)e(is)f(no)o(w)g(b)q(eing)h(prepared;)g(it)f(will)f +(probably)h(b)q(e)h(a)o(v)n(ailable)d(in)i(1990.)19 b(There)0 +606 y(will)11 b(then)j(b)q(e)f(a)g(p)q(erio)q(d)g(\(required)h(b)o(y)f +(ANSI\))g(for)g(public)f(review.)19 b(X3J13)12 b(m)o(ust)g(then)0 +658 y(consider)g(the)f(commen)o(ts)e(it)i(receiv)o(es)h(and)f(resp)q +(ond)h(appropriately)m(.)k(If)10 b(the)i(commen)o(ts)0 +710 y(result)20 b(in)e(substan)o(tial)h(c)o(hanges)g(to)g(the)h(draft)f +(standard,)h(m)o(ultiple)d(public)h(review)0 762 y(p)q(erio)q(ds)h(ma)o +(y)c(b)q(e)k(required)f(b)q(efore)h(the)f(draft)g(can)g(b)q(e)g(appro)o +(v)o(ed)g(as)g(an)g(American)0 814 y(National)13 b(Standard.)42 +868 y(F)m(ortunately)m(,)g(X3J13)i(has)g(done)g(an)g(outstanding)f(job) +h(of)f(do)q(cumen)o(ting)g(its)g(w)o(ork.)0 920 y(F)m(or)g(ev)o(ery)h +(c)o(hange)g(that)f(came)f(to)h(a)g(formal)e(v)o(ote,)i(a)g(do)q(cumen) +o(t)g(w)o(as)g(prepared)i(that)0 972 y(describ)q(ed)22 +b(the)f(problem)e(to)h(b)q(e)h(solv)o(ed)g(and)f(one)g(or)h(more)e +(solutions.)37 b(F)m(or)20 b(eac)o(h)0 1024 y(solution)9 +b(there)i(is)e(a)g(detailed)h(prop)q(osal)f(for)g(c)o(hanging)g(the)h +(language;)g(a)f(rationale;)h(test)0 1076 y(cases)h(that)f(distinguish) +f(the)i(prop)q(osal)e(from)g(the)h(status)h(quo)e(or)h(from)e(other)j +(prop)q(osals)0 1128 y(for)f(solving)f(that)h(problem;)g(discussions)h +(of)f(curren)o(t)i(practice,)f(cost)g(to)g(implem)o(en)o(tors,)0 +1179 y(cost)h(to)f(users,)h(cost)g(of)e(not)h(adopting)g(the)g(prop)q +(osal,)g(b)q(ene\014ts)i(of)d(adoption,)g(aesthetic)0 +1231 y(criteria;)i(and)e(an)o(y)h(relev)n(an)o(t)g(informal)d +(discussion)j(that)g(ma)o(y)e(ha)o(v)o(e)h(preceded)j(creation)0 +1283 y(of)g(the)i(formal)d(prop)q(osal.)18 b(All)13 b(of)g(these)j +(prop)q(osal)d(do)q(cumen)o(ts)h(w)o(ere)h(made)e(a)o(v)n(ailable)0 +1335 y(on-line)h(as)h(w)o(ell)g(as)g(in)f(pap)q(er)i(form.)j(By)d(m)o +(y)d(coun)o(t,)i(b)o(y)g(June)h(1989)e(some)g(186)g(suc)o(h)0 +1387 y(prop)q(osals)i(w)o(ere)g(appro)o(v)o(ed)g(as)g(language)e(c)o +(hanges.)24 b(\(This)16 b(coun)o(t)g(do)q(es)g(not)g(include)0 +1439 y(man)o(y)c(prop)q(osals)i(that)g(came)f(b)q(efore)i(the)f +(committee)e(but)i(w)o(ere)h(rejected.\))42 1493 y(The)i(purp)q(ose)h +(of)e(this)h(second)h(edition)e(is)h(to)g(bridge)f(the)i(gap)e(b)q(et)o +(w)o(een)i(the)g(\014rst)0 1545 y(edition)11 b(and)g(the)h(forthcoming) +d(ANSI)j(standard)f(for)g(Common)d(Lisp.)17 b(Because)c(of)e(the)0 +1597 y(requiremen)o(t)g(for)g(formal)d(public)j(review,)g(it)g(will)e +(b)q(e)j(some)e(time)g(y)o(et)h(b)q(efore)h(the)f(ANSI)0 +1649 y(standard)17 b(is)f(\014nal.)26 b(This)16 b(b)q(o)q(ok)g(in)h(no) +f(w)o(a)o(y)g(resem)o(bles)h(the)g(forthcoming)d(standard)0 +1701 y(\(whic)o(h)h(is)g(b)q(eing)g(written)h(indep)q(enden)o(tly)g(b)o +(y)e(Kath)o(y)h(Chapman)f(of)g(Digital)f(Equip-)0 1753 +y(men)o(t)g(Corp)q(oration)g(with)h(assistance)h(from)d(the)j(X3J13)e +(Drafting)g(Sub)q(committee\).)42 1807 y(I)h(ha)o(v)o(e)g(incorp)q +(orated)h(in)o(to)f(this)g(second)i(edition)e(a)g(great)h(deal)f(of)g +(material)e(based)0 1859 y(on)19 b(the)h(v)o(otes)f(of)g(X3J13,)g(in)g +(order)h(to)f(giv)o(e)f(the)i(reader)g(a)f(picture)h(of)f(where)h(the)0 +1911 y(language)f(is)i(heading.)37 b(My)20 b(purp)q(ose)h(here)h(is)e +(not)g(simply)e(to)j(quote)f(the)h(X3J13)0 1963 y(do)q(cumen)o(ts)12 +b(v)o(erbatim)e(but)i(to)g(paraphrase)g(them)f(and)h(relate)g(them)f +(to)h(the)h(structure)0 2015 y(of)h(the)i(\014rst)g(edition.)21 +b(A)15 b(single)g(v)o(ote)g(b)o(y)f(X3J13)h(ma)o(y)e(b)q(e)j(discussed) +g(in)f(man)o(y)e(parts)0 2067 y(of)j(this)g(b)q(o)q(ok,)g(and)g(a)g +(single)g(passage)h(of)f(this)g(b)q(o)q(ok)g(ma)o(y)e(b)q(e)j +(a\013ected)h(b)o(y)e(man)o(y)e(of)0 2119 y(the)g(v)o(otes.)42 +2173 y(I)k(wish)f(to)h(b)q(e)h(v)o(ery)f(clear:)27 b(this)18 +b(b)q(o)q(ok)g(is)g(not)g(an)g(o\016cial)e(do)q(cumen)o(t)i(of)g +(X3J13,)0 2225 y(though)i(it)g(is)g(based)h(on)f(publicly)g(a)o(v)n +(ailable)e(material)g(pro)q(duced)k(b)o(y)e(X3J13.)37 +b(In)0 2277 y(no)15 b(w)o(a)o(y)g(do)q(es)h(this)g(b)q(o)q(ok)f +(constitute)i(a)e(de\014nitiv)o(e)h(description)g(of)f(the)h +(forthcoming)0 2329 y(ANSI)h(standard.)25 b(The)17 b(committee's)d +(decisions)j(ha)o(v)o(e)f(b)q(een)i(remark)n(ably)c(stable)j(\(it)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 15 11 +15 10 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PREF)m(A)o(CE)11 +b(\(SECOND)i(EDITION\))834 b(xv)0 295 y Fw(has)15 b(rescinded)i +(earlier)e(decisions)g(only)f(t)o(w)o(o)h(or)g(three)h(times\),)e(and)h +(I)g(do)f(not)h(exp)q(ect)0 347 y(radical)f(c)o(hanges)h(in)f +(direction.)20 b(Nev)o(ertheless,)c(it)e(is)h(quite)f(probable)g(that)h +(the)g(draft)0 399 y(standard)d(will)e(b)q(e)i(substan)o(tiv)o(ely)f +(revised)h(in)f(resp)q(onse)i(to)f(editorial)e(review)i(or)f(public)0 +450 y(commen)o(t.)35 b(I)20 b(ha)o(v)o(e)f(therefore)j(rep)q(orted)g +(here)f(on)f(the)g(actions)h(of)e(X3J13)h(not)g(to)0 +502 y(inscrib)q(e)13 b(them)e(in)g(stone,)i(but)f(to)f(mak)o(e)g(clear) +h(ho)o(w)f(the)i(language)e(of)g(the)i(\014rst)f(edition)0 +554 y(is)j(lik)o(ely)f(to)h(c)o(hange.)23 b(I)15 b(ha)o(v)o(e)g(tried)h +(to)f(b)q(e)h(careful)f(in)g(m)o(y)f(w)o(ording)g(to)i(a)o(v)o(oid)e +(sa)o(ying)0 606 y(\\the)i(language)f(has)h(b)q(een)g(c)o(hanged")g +(and)g(to)f(state)i(simply)c(that)j(\\X3J13)f(v)o(oted)h(at)0 +658 y(suc)o(h-and-so)e(time)f(to)h(mak)o(e)e(the)i(follo)o(wing)e(c)o +(hange.")42 710 y(Un)o(til)17 b(the)i(da)o(y)e(when)i(an)f(o\016cial)e +(ANSI)j(Commo)o(n)d(Lisp)i(standard)g(emerges,)h(it)0 +762 y(is)f(lik)o(ely)e(that)i(the)h(1984)e(de\014nition)g(of)h(Commo)o +(n)d(Lisp)j(will)e(con)o(tin)o(ue)j(to)e(b)q(e)i(used)0 +814 y(widely)m(.)26 b(This)16 b(b)q(o)q(ok)h(has)f(b)q(een)i(designed)g +(to)e(b)q(e)i(used)f(as)g(a)g(reference)i(b)q(oth)e(to)f(the)0 +866 y(1984)d(de\014nition)g(and)h(to)g(the)g(language)f(as)h(mo)q +(di\014ed)f(b)o(y)g(the)i(actions)f(of)f(X3J13.)42 917 +y(It)i(con)o(tains)h(the)g(en)o(tire)h(text)f(of)f(the)i(\014rst)f +(edition)g(of)f Fv(Common)i(Lisp:)22 b(The)16 b(L)n(an-)0 +969 y(guage)p Fw(,)e(with)f(corrections)h(and)f(minor)f(editorial)g(c)o +(hanges;)i(ho)o(w)o(ev)o(er,)f(more)f(than)i(half)0 1021 +y(of)h(the)g(material)e(in)i(this)g(edition)g(is)g(new.)22 +b(All)15 b(new)g(material)e(is)i(iden)o(ti\014ed)h(b)o(y)f(solid)0 +1073 y(lines)d(in)g(the)g(left)g(margin.)j(Dotted)e(lines)f(in)f(the)i +(left)f(margin)d(indicate)j(material)e(from)0 1125 y(the)i(\014rst)h +(edition)e(that)h(applies)g(to)g(the)g(1984)f(de\014nition)g(but)h +(that)g(has)g(b)q(een)h(mo)q(di\014ed)0 1177 y(b)o(y)h(a)g(v)o(ote)g +(of)f(X3J13.)18 b(Mo)q(di\014cations)c(to)g(these)i(outmo)q(ded)d +(passages)h(are)h(explained)0 1229 y(b)o(y)e(preceding)h(or)f(follo)o +(wing)d(text)j(\(whic)o(h)g(will)f(ha)o(v)o(e)h(a)f(solid)g(line)h(in)f +(the)i(margin\).)i(In)0 1281 y(summary:)0 1340 y Fu(.)42 +1349 y Fw(T)m(o)c(use)j(the)f(1984)e(language)h(de\014nition,)g(read)h +(all)e(material)f(that)j(do)q(es)g(not)g(ha)o(v)o(e)f(a)42 +1401 y(solid)g(line)g(in)g(the)i(margin.)0 1473 y Fu(.)42 +1482 y Fw(T)m(o)h(use)j(the)f(up)q(dated)g(language)e(de\014nition,)i +(read)g(ev)o(erything,)g(but)g(b)q(e)g(w)o(ary)f(of)42 +1534 y(material)11 b(with)j(a)g(dotted)g(line)f(in)h(the)g(margin.)42 +1602 y(A)o(t)e(the)h(end)g(of)f(the)h(b)q(o)q(ok)g(is)f(an)g(index)h +(of)f(the)h(X3J13)f(v)o(otes,)h(ordered)h(b)o(y)e(the)h(com-)0 +1654 y(mittee's)j(in)o(ternal)g(co)q(de)h(names)f(\(included)h(to)g +(ease)g(cross-reference)j(to)d(the)g(X3J13)0 1706 y(do)q(cumen)o(ts,)h +(whic)o(h)f(ma)o(y)f(b)q(e)i(useful)g(during)f(the)h(public)f(review)i +(p)q(erio)q(ds\).)30 b(Refer-)0 1758 y(ences)18 b(to)f(this)g(list)f +(of)g(v)o(otes)h(app)q(ear)g(as)g(n)o(um)o(b)q(ers)f(in)h(angle)f(brac) +o(k)o(ets;)i(th)o(us)f(\\)p Ft(h)p Fw(14)p Ft(i)p Fw(")0 +1810 y(refers)e(to)e(the)g(v)o(ote)h(on)f(issue)h(n)o(um)o(b)q(er)e +(14,)g(whereas)j(\\[14]")c(refers)k(to)e(reference)j(14)c(in)0 +1862 y(the)i(bibliograph)o(y)m(.)42 1914 y(I)h(ha)o(v)o(e)h(k)o(ept)h +(c)o(hanges)f(to)g(the)h(w)o(ording)e(of)g(the)i(\014rst-edition)f +(material)e(to)i(a)g(min-)0 1966 y(im)o(um.)24 b(Ob)o(vious)17 +b(sp)q(elling)g(and)g(t)o(yp)q(ographical)f(errors)i(ha)o(v)o(e)f(b)q +(een)h(corrected,)i(and)0 2017 y(the)13 b(en)o(tire)f(text)h(has)f(b)q +(een)h(edited)g(to)f(a)f(uniform)f(st)o(yle)j(of)e(sp)q(elling)g(and)h +(punctuation.)0 2069 y(\(Note)19 b(in)e(particular)h(that)g(the)h +(\014rst)g(edition)f(used)h(the)f(sp)q(elling)g(\\signalling")e(but)0 +2121 y(this)d(edition,)f(in)g(deference)j(to)d(the)i(st)o(yle)f +(decision)f(of)h(the)g(X3J13)f(Drafting)g(Sub)q(com-)0 +2173 y(mittee,)j(uses)h(\\signaling."\))21 b(A)16 b(few)g(minor)d(c)o +(hanges)k(w)o(ere)f(made)e(to)i(accommo)q(date)0 2225 +y(t)o(yp)q(ographical)d(or)i(la)o(y)o(out)e(constrain)o(ts.)20 +b(\(F)m(or)15 b(example,)d(the)j(w)o(ord)g(\\also")e(has)i(b)q(een)0 +2277 y(deleted)j(from)c(the)j(\014rst)h(sen)o(tence)g(of)e(c)o(hapter)i +(1,)e(partly)g(to)h(mak)o(e)e(that)h(paragraph)0 2329 +y(lo)q(ok)c(b)q(etter)j(and)e(partly)g(to)g(allo)o(w)e(a)i(b)q(etter)i +(page)e(break)g(at)g(the)h(b)q(ottom)e(of)g(page)h(2.\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 16 12 +16 11 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(xvi)75 b(PREF)m(A)o(CE)12 +b(\(SECOND)h(EDITION\))0 295 y Fw(In)h(a)g(v)o(ery)g(few)g(cases)i(the) +e(\014rst)h(edition)f(con)o(tained)g(substan)o(tiv)o(e)g(errors)i(that) +e(I)g(could)0 347 y(not)e(in)f(go)q(o)q(d)g(conscience)j(correct)g +(silen)o(tly;)d(these)i(ha)o(v)o(e)f(b)q(een)h(\015agged)e(b)o(y)h +(paragraphs)0 399 y(b)q(eginning)h(with)h(the)g(phrase)h +Fv(Notic)n(e)g(of)f(c)n(orr)n(e)n(ction)p Fw(.)42 450 +y(The)20 b(c)o(hapter)i(and)e(section)h(n)o(um)o(b)q(ering)e(of)h(this) +g(edition)g(matc)o(hes)g(that)g(of)g(the)0 502 y(\014rst)14 +b(edition,)e(with)h(the)g(exception)h(that)f(a)g(new)g(section)h(7.9)e +(has)h(b)q(een)h(in)o(terp)q(olated.)0 554 y(F)m(our)g(new)i(c)o +(hapters)g(\(26{29\))e(describ)q(e)i(substan)o(tial)f(c)o(hanges)g +(appro)o(v)o(ed)g(b)o(y)g(X3J13:)0 606 y(an)d(extended)i +Fs(loop)d Fw(macro,)g(a)h(prett)o(y)i(prin)o(ter)e(in)o(terface,)h(the) +g(Common)c(Lisp)j(Ob)r(ject)0 658 y(System,)h(and)h(the)g(Common)d +(Lisp)i(Condition)g(System.)42 710 y(X3J13,)f(in)h(the)i(course)g(of)e +(its)g(w)o(ork,)g(formed)f(a)i(sub)q(committee)e(to)h(study)h(whether)0 +762 y(additional)c(means)g(of)h(iteration)g(should)g(b)q(e)h +(standardized)h(for)e(use)h(in)f(Common)d(Lisp,)0 814 +y(for)14 b(a)h(great)g(deal)g(of)f(existing)h(practice)g(in)g(this)g +(area)g(w)o(as)f(not)h(included)g(in)f(the)i(\014rst)0 +866 y(edition)f(b)q(ecause)i(of)d(lac)o(k)h(of)g(agreemen)o(t)g(in)g +(1984.)21 b(The)16 b(X3J13)e(Iteration)i(Sub)q(com-)0 +917 y(mittee)11 b(pro)q(duced)h(rep)q(orts)h(on)f(three)g(p)q(ossible)g +(facilities.)k(One)c(\()p Fs(loop)p Fw(\))f(w)o(as)h(appro)o(v)o(ed)0 +969 y(for)f(inclusion)g(in)h(the)g(forthcoming)e(draft)h(standard)h +(and)g(is)f(describ)q(ed)j(in)d(c)o(hapter)i(26.)42 1021 +y(X3J13)j(expressed)j(in)o(terest)f(in)e(the)i(other)f(t)o(w)o(o)g +(approac)o(hes)g(\(series)i(and)d(genera-)0 1073 y(tors\),)f(but)f(the) +i(consensus)g(as)e(of)g(Jan)o(uary)h(1989)e(w)o(as)h(that)h(these)h +(other)f(approac)o(hes)0 1125 y(w)o(ere)i(not)e(y)o(et)h(su\016cien)o +(tly)g(mature)f(or)g(in)h(su\016cien)o(tly)f(widespread)i(use)f(to)g(w) +o(arran)o(t)0 1177 y(inclusion)11 b(in)h(the)h(draft)e(Common)e(Lisp)j +(standard)g(at)g(that)g(time.)k(Ho)o(w)o(ev)o(er,)d(the)f(sub-)0 +1229 y(committee)i(w)o(as)h(directed)i(to)f(con)o(tin)o(ue)g(w)o(ork)f +(on)g(these)j(approac)o(hes)e(and)g(X3J13)f(is)0 1281 +y(op)q(en)d(to)g(the)h(p)q(ossibilit)o(y)d(of)i(standardizing)f(them)h +(at)f(a)h(later)g(date.)18 b(Please)12 b(note)h(that)0 +1333 y(I)k(do)g(not)g(wish)g(the)h(prejudge)g(the)g(question)f(of)g +(whether)h(X3J13)f(will)f(ev)o(er)i(c)o(ho)q(ose)0 1384 +y(to)f(mak)o(e)f(the)i(other)g(t)o(w)o(o)f(prop)q(osals)g(the)h(sub)r +(ject)h(of)e(standardization.)28 b(Nev)o(erthe-)0 1436 +y(less,)13 b(I)h(ha)o(v)o(e)f(c)o(hosen)h(to)f(include)g(them)f(in)h +(the)h(second)g(edition,)e(in)h(co)q(op)q(eration)g(with)0 +1488 y(Dr.)g(Ric)o(hard)h(C.)f(W)m(aters,)h(as)g(app)q(endices)i(A)e +(and)g(B,)f(in)h(order)h(to)f(mak)o(e)e(these)k(ideas)0 +1540 y(a)o(v)n(ailable)f(to)h(the)h(Lisp)g(comm)o(unit)o(y)l(.)24 +b(In)17 b(m)o(y)e(judgemen)o(t)g(these)k(prop)q(osals)d(address)0 +1592 y(an)g(area)h(of)f(language)f(design)i(not)f(otherwise)h(co)o(v)o +(ered)h(b)o(y)e(Commo)o(n)e(Lisp)i(and)g(are)0 1644 y(lik)o(ely)10 +b(to)g(ha)o(v)o(e)h(practical)g(v)n(alue)f(ev)o(en)i(if)e(they)i(are)f +(nev)o(er)h(adopted)f(as)g(part)g(of)g(a)f(formal)0 1696 +y(standard.)42 1748 y(Some)h(new)i(material)e(in)i(this)g(b)q(o)q(ok)f +(has)h(nothing)f(to)h(do)g(with)f(the)i(w)o(ork)e(of)h(X3J13.)0 +1800 y(In)e(man)o(y)f(places)h(I)h(ha)o(v)o(e)f(added)g(explanations,)g +(clari\014cations,)g(new)h(examples,)e(w)o(arn-)0 1851 +y(ings,)j(and)g(tips)g(on)h(writing)e(p)q(ortable)i(co)q(de.)k(App)q +(endix)c(C)f(con)o(tains)h(a)f(piece)h(of)f(co)q(de)0 +1903 y(that)h(ma)o(y)e(help)i(in)f(understanding)i(the)f(bac)o(kquote)g +(syn)o(tax.)42 1955 y(This)i(second)h(edition,)f(unlik)o(e)g(the)h +(\014rst)g(edition,)f(also)g(includes)h(a)f(few)h(diagrams)0 +2007 y(to)c(p)q(ep)g(up)h(the)f(text.)18 b(Ho)o(w)o(ev)o(er,)c(there)g +(are)f(absolutely)g(no)f(new)i(jok)o(es,)f(and)f(v)o(ery)i(few)0 +2059 y(outrigh)o(t)f(lies.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 17 13 +17 12 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 448 598 9 v 0 531 a FB(Ackno)n(wledgments) +0 604 y Fx(SECOND)13 b(EDITION)0 872 y Fw(First)f(and)f(foremost,)f(I)h +(m)o(ust)f(thank)h(the)h(man)o(y)e(p)q(eople)h(in)g(the)h(Lisp)f(comm)o +(unit)o(y)d(who)0 924 y(ha)o(v)o(e)15 b(w)o(ork)o(ed)g(so)g(hard)g(to)g +(sp)q(ecify)m(,)g(implemen)o(t,)d(and)j(use)h(Comm)o(on)c(Lisp.)22 +b(Some)13 b(of)0 975 y(these)j(ha)o(v)o(e)f(v)o(olun)o(teered)g(man)o +(y)e(hours)i(of)g(e\013ort)g(as)g(mem)o(b)q(ers)e(of)i(ANSI)g +(committee)0 1027 y(X3J13.)i(Others)12 b(ha)o(v)o(e)e(made)g(presen)o +(tations)i(or)e(prop)q(osals)h(to)g(X3J13,)f(and)h(y)o(et)g(others)0 +1079 y(ha)o(v)o(e)i(sen)o(t)h(suggestions)g(and)f(corrections)h(to)f +(the)h(\014rst)g(edition)f(directly)g(to)g(me.)k(This)0 +1131 y(b)q(o)q(ok)d(builds)f(on)h(their)g(e\013orts)h(as)f(w)o(ell)f +(as)h(mine.)42 1184 y(An)e(early)g(draft)g(of)g(this)g(b)q(o)q(ok)h(w)o +(as)f(made)f(a)o(v)n(ailable)f(to)i(all)f(mem)o(b)q(ers)g(of)h(X3J13)g +(for)0 1236 y(their)g(criticism.)17 b(I)11 b(ha)o(v)o(e)h(also)f(w)o +(ork)o(ed)h(with)g(the)g(man)o(y)f(public)g(do)q(cumen)o(ts)h(that)g +(ha)o(v)o(e)0 1288 y(b)q(een)19 b(written)f(during)f(the)h(course)h(of) +e(the)h(committee's)e(w)o(ork)h(\(whic)o(h)h(is)f(not)h(o)o(v)o(er)0 +1340 y(y)o(et\).)g(It)13 b(is)f(m)o(y)f(hop)q(e)i(that)g(this)f(b)q(o)q +(ok)g(is)h(an)f(accurate)i(re\015ection)g(of)e(the)h(committee's)0 +1392 y(actions)f(as)g(of)g(Octob)q(er)h(1989.)k(Nev)o(ertheless,)d(an)o +(y)e(errors)h(or)f(inconsistencies)i(are)e(m)o(y)0 1444 +y(resp)q(onsibilit)o(y)m(.)17 b(The)c(fact)g(that)g(I)g(ha)o(v)o(e)g +(made)f(a)h(draft)f(a)o(v)n(ailable)f(to)i(certain)h(p)q(ersons,)0 +1496 y(receiv)o(ed)e(feedbac)o(k)g(from)d(them,)i(or)g(thank)o(ed)g +(them)f(in)h(these)h(ac)o(kno)o(wledgmen)o(ts)e(do)q(es)0 +1548 y(not)18 b(necessarily)h(imply)c(that)j(an)o(y)f(one)h(of)g(them)f +(or)h(an)o(y)f(of)g(the)i(institutions)e(with)0 1599 +y(whic)o(h)d(they)g(are)g(a\016liated)f(endorse)i(this)f(b)q(o)q(ok)g +(or)g(an)o(ything)f(of)g(its)h(con)o(ten)o(ts.)42 1653 +y(Digital)i(Press)k(and)f(I)g(ga)o(v)o(e)f(p)q(ermission)g(to)g(X3J13)h +(to)f(use)i(an)o(y)e(or)h(all)e(parts)i(of)0 1705 y(the)c(\014rst)g +(edition)e(in)h(the)h(pro)q(duction)f(of)g(an)g(ANSI)g(Common)d(Lisp)j +(standard.)19 b(Con-)0 1757 y(v)o(ersely)m(,)13 b(in)f(writing)h(this)g +(b)q(o)q(ok)f(I)h(ha)o(v)o(e)g(w)o(ork)o(ed)g(with)g(publicly)f(a)o(v)n +(ailable)f(do)q(cumen)o(ts)0 1808 y(pro)q(duced)j(b)o(y)f(X3J13)g(in)f +(the)i(course)g(of)f(its)g(w)o(ork,)f(and)h(in)g(some)f(cases)i(as)g(a) +e(courtesy)0 1860 y(ha)o(v)o(e)e(obtained)g(the)g(consen)o(t)h(of)f +(the)h(authors)f(of)f(those)i(do)q(cumen)o(ts)f(to)g(quote)g(them)g +(ex-)0 1912 y(tensiv)o(ely)m(.)18 b(This)c(common)d(ancestry)k(will)e +(result)i(in)e(similarities)f(b)q(et)o(w)o(een)j(this)f(b)q(o)q(ok)0 +1964 y(and)j(the)h(emerging)e(ANSI)i(Comm)o(on)c(Lisp)k(standard)f +(\(that)h(is)f(the)h(purp)q(ose,)g(after)0 2016 y(all\).)24 +b(Nev)o(ertheless,)19 b(this)e(second)g(edition)f(has)h(no)f(o\016cial) +f(connection)i(whatso)q(ev)o(er)0 2068 y(with)d(X3J13)f(or)h(ANSI,)g +(nor)g(is)f(it)h(endorsed)h(b)o(y)f(either)h(of)e(those)h +(institutions.)42 2121 y(The)i(follo)o(wing)d(p)q(ersons)18 +b(ha)o(v)o(e)e(b)q(een)h(mem)o(b)q(ers)d(of)i(X3J13)g(or)f(in)o(v)o +(olv)o(ed)g(in)h(its)g(ac-)0 2173 y(tivities)k(at)h(one)g(time)e(or)i +(another:)32 b(Jim)19 b(Allard,)i(Da)o(v)o(e)g(Andre,)h(Jim)e(An)o +(tonisse,)0 2225 y(William)13 b(Arbaugh,)j(John)h(Aspinall,)e(Bob)i +(Balzer,)h(Gerald)e(Barb)q(er,)i(Ric)o(hard)e(Bar-)0 +2277 y(b)q(er,)11 b(Kim)e(Barrett,)i(Da)o(vid)e(Bartley)m(,)h(Roger)g +(Bate,)h(Alan)e(Ba)o(wden,)i(Mic)o(hael)f(Bec)o(k)o(erle,)0 +2329 y(P)o(aul)j(Beiser,)i(Eric)f(Benson,)h(Daniel)d(Bobro)o(w,)i(Mary) +f(Bo)q(elk,)h(Sk)o(ona)f(Brittain,)g(Gary)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1341 2428 a Fy(xvii)p eop +%%Page: 18 14 +18 13 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(xviii)74 b(A)o(CKNO)o(WLEDGMENTS) +12 b(\(SECOND)h(EDITION\))0 295 y Fw(Bro)o(wn,)e(T)m(om)e(Buc)o(k)o +(en,)j(Rob)q(ert)g(Buc)o(kley)m(,)f(Gary)f(By)o(ers,)i(Dan)f(Carnese,)h +(Bob)f(Cassels,)0 347 y(J)o(\023)-20 b(er^)f(ome)14 b(Chailloux,)e +(Kath)o(y)i(Chapman,)e(Thomas)h(Christaller,)h(Will)e(Clinger,)h(P)o +(eter)0 399 y(Co\013ee,)22 b(John)d(Cugini,)h(P)o(a)o(v)o(el)f(Curtis,) +i(Doug)e(Cutting,)h(Christopher)h(Dabro)o(wski,)0 450 +y(Je\013)15 b(Dalton,)d(Linda)h(DeMic)o(hiel,)g(F)m(red)h(Discenzo,)g +(Jerry)h(Duggan,)e(P)o(atric)o(k)h(Dussud,)0 502 y(Susan)19 +b(Ennis,)g(Scott)g(F)m(ahlman,)d(Jogn)i(Fitc)o(h,)i(John)e(F)m(o)q +(deraro,)h(Ric)o(hard)f(Gabriel,)0 554 y(Stev)o(en)j(Gadol,)f(Nic)o(k)g +(Gall,)g(Oscar)h(Garcia,)g(Rob)q(ert)g(Giansiracusa,)f(Brad)h(Gold-)0 +606 y(stein,)16 b(Da)o(vid)e(Gra)o(y)m(,)f(Ric)o(hard)i(Green)o(blatt,) +g(George)h(Hadden,)f(Stev)o(e)h(Ha\015ic)o(h,)f(Da)o(v)o(e)0 +658 y(Henderson,)i(Carl)e(Hewitt,)h(Carl)f(Ho\013man,)f(Cheng)i(Hu,)g +(Masa)o(yuki)f(Ida,)g(T)m(ak)n(a)o(y)o(asu)0 710 y(Ito,)k(Son)o(y)o(a)f +(Keene,)j(James)d(Kempf,)g(Gregory)g(Jennings,)i(Rob)q(ert)f(Kerns,)i +(Gregor)0 762 y(Kiczales,)h(Kerry)g(Kim)o(brough,)d(Dieter)i(Kolb,)g +(Timoth)o(y)d(Kosc)o(hmann,)i(Ed)h(Krall,)0 814 y(F)m(ritz)c(Kunze,)h +(Aaron)e(Larson,)h(Joac)o(him)e(Laubsc)o(h,)i(Kevin)g(La)o(y)o(er,)g +(Mic)o(hael)f(Levin,)0 866 y(Ra)o(y)d(Lim,)f(Thom)h(Linden,)h(Da)o(vid) +f(Lo)q(e\017er,)h(Sandra)g(Lo)q(osemore,)g(Barry)h(Margolin,)0 +917 y(Larry)e(Masin)o(ter,)f(Da)o(vid)g(Matthews,)h(Rob)q(ert)g +(Mathis,)f(John)h(McCarth)o(y)m(,)f(Chris)g(Mc-)0 969 +y(Connell,)j(Rob)g(McLac)o(hlan,)g(Ja)o(y)g(Mendelsohn,)i(Martin)e(Mik) +o(elsons,)g(T)m(racey)h(Miles,)0 1021 y(Ric)o(hard)f(Mly)o(arnik,)f(Da) +o(vid)g(Mo)q(on,)h(Jarl)g(Nilsson,)g(Leo)g(No)q(ordh)o(ulsen,)h(Ronald) +e(Oh-)0 1073 y(lander,)h(Julian)f(P)o(adget,)h(Je\013)h(P)o(ec)o(k,)g +(Jan)f(P)o(edersen,)i(Bob)e(P)o(ellegrino,)f(Crispin)h(P)o(er-)0 +1125 y(due,)d(Dan)e(Pierson,)h(Ken)o(t)h(Pitman,)d(Dexter)j(Pratt,)g +(Christian)e(Quiennec,)i(B.)f(Ragha-)0 1177 y(v)n(an,)j(Douglas)g +(Rand,)h(Jonathan)g(Rees,)g(Chris)h(Ric)o(hardson,)e(Je\013)i +(Rininger,)e(W)m(alter)0 1229 y(v)n(an)c(Roggen,)g(Je\013rey)i +(Rosenking,)e(Don)g(Sak)n(ahara,)f(William)e(Sc)o(herlis,)k(Da)o(vid)e +(Slater,)0 1281 y(James)19 b(Smith,)g(Alan)g(Sn)o(yder,)i(Angela)e(So)q +(dan,)h(Ric)o(hard)f(Soley)m(,)g(S.)g(Sridhar,)i(Bill)0 +1333 y(St.)16 b(Clair,)f(Philip)g(Stanhop)q(e,)h(Guy)g(Steele,)h(Herb)q +(ert)h(Sto)o(y)o(an,)d(Hiroshi)h(T)m(orii,)e(Da)o(v)o(e)0 +1384 y(T)m(ouretzky)m(,)k(P)o(aul)f(T)m(uc)o(k)o(er,)h(Ric)o(k)e(T)m +(uc)o(k)o(er,)i(Thomas)e(T)m(urba,)i(Da)o(vid)e(Unietis,)i(Mary)0 +1436 y(V)m(an)g(Deusen,)i(Ellen)e(W)m(aldrum,)f(Ric)o(hard)g(W)m +(aters,)j(Allen)e(W)m(ec)o(hsler,)h(Mark)g(W)m(eg-)0 +1488 y(man,)c(Jon)i(L)f(White,)h(Sk)o(ef)f(Wholey)m(,)g(Alexis)h +(Wieland,)e(Martin)i(Y)m(onk)o(e,)f(Bill)g(Y)m(ork,)0 +1540 y(T)m(aiic)o(hi)c(Y)m(uasa,)h(Gail)f(Zac)o(harias,)i(and)g(Jan)g +(Zubk)o(o\013.)42 1594 y(I)e(m)o(ust)g(express)i(particular)f +(gratitude)f(and)h(appreciation)f(to)h(a)f(n)o(um)o(b)q(er)g(of)g(p)q +(eople)0 1646 y(for)i(their)g(exceptional)g(e\013orts:)42 +1700 y(Larry)f(Masin)o(ter,)h(c)o(hairman)e(of)h(the)i(X3J13)e(Clean)o +(up)g(Sub)q(committee,)f(dev)o(elop)q(ed)0 1752 y(the)18 +b(standard)h(format)c(for)j(do)q(cumen)o(ting)e(all)h(prop)q(osals)h +(to)f(b)q(e)i(v)o(oted)f(up)q(on.)29 b(The)0 1804 y(result)11 +b(has)f(b)q(een)h(an)f(outstanding)g(tehcnical)g(and)g(historical)g +(record)h(of)e(all)g(the)i(actions)0 1856 y(tak)o(en)j(b)o(y)g(X3J13)f +(to)h(rectify)g(and)g(impro)o(v)o(e)e(Common)f(Lisp.)42 +1910 y(Sandra)f(Lo)q(osemore,)h(c)o(hairw)o(oman)d(of)j(the)g(X3J13)g +(Compiler)d(Sub)q(committee,)i(pro-)0 1961 y(duced)j(man)o(y)e(prop)q +(osals)h(for)g(clarifying)f(the)i(seman)o(tics)f(of)g(the)h +(compilation)c(pro)q(cess.)0 2013 y(She)j(has)g(b)q(een)h(a)e(diligen)o +(t)f(stic)o(kler)i(for)g(detail)f(and)g(has)h(help)q(ed)g(to)g(clarify) +e(man)o(y)g(parts)0 2065 y(of)j(Common)e(Lisp)j(left)f(v)n(ague)h(in)f +(the)i(\014rst)f(edition.)42 2119 y(Jon)i(L)g(White,)g(c)o(hairman)f +(of)g(the)i(X3J13)f(Iteration)g(Sub)q(committee,)f(sup)q(ervised)0 +2171 y(the)g(consideration)g(of)f(sev)o(eral)h(con)o(tro)o(v)o(ersial)f +(prop)q(osals,)g(one)h(of)f(whic)o(h)g(\()p Fs(loop)p +Fw(\))g(w)o(as)0 2223 y(ev)o(en)o(tually)f(adopted)h(b)o(y)g(X3J13.)42 +2277 y(Thom)c(Linden,)i(c)o(hairman)e(of)h(the)i(X3J13)f(Character)h +(Sub)q(committee,)d(led)i(a)g(team)0 2329 y(in)k(grappling)g(with)g +(the)i(di\016cult)e(problem)f(of)i(accommo)q(dating)c(v)n(arious)j(c)o +(haracter)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 19 15 +19 14 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(A)o(CKNO)o(WLEDGMENTS)12 +b(\(SECOND)h(EDITION\))593 b(xix)0 295 y Fw(sets)12 b(in)f(Commo)o(n)d +(Lisp.)17 b(One)12 b(result)f(is)g(that)g(Common)d(Lisp)j(will)e(b)q(e) +i(more)f(attractiv)o(e)0 347 y(for)k(in)o(ternational)e(use.)42 +399 y(Ken)o(t)26 b(Pitman,)h(c)o(hairman)e(of)g(the)i(X3J13)f(Error)h +(Handling)e(Sub)q(committee,)0 451 y(plugged)18 b(the)g(biggest)g +(outstanding)g(hole)g(in)f(Common)e(Lisp)j(as)g(describ)q(ed)h(b)o(y)f +(the)0 503 y(\014rst)d(edition.)42 556 y(Kath)o(y)i(Chapman,)f(c)o +(hairw)o(oman)f(of)i(the)h(X3J13)f(Drafting)f(Sub)q(committee,)g(and)0 +608 y(principal)g(author)g(of)g(the)h(draft)g(standard,)g(has)g(not)f +(only)g(written)h(a)f(great)h(deal)f(of)0 660 y(text)e(but)f(also)f +(insisted)i(on)f(coheren)o(t)h(and)f(consisten)o(t)h(terminology)d(and) +i(pushed)h(the)0 712 y(rest)h(of)e(the)i(committee)d(forw)o(ard)h(when) +i(necessary)m(.)42 765 y(Rob)q(ert)10 b(Mathis,)h(c)o(hairman)e(of)h +(X3J13,)g(has)h(k)o(ept)g(administrativ)o(e)e(matters)h(\015o)o(wing)0 +816 y(smo)q(othly)i(during)i(tec)o(hnical)g(con)o(tro)o(v)o(ersies.)42 +869 y(Mary)g(V)m(an)h(Deusen,)g(secretary)i(of)d(X3J13,)h(k)o(ept)g +(excellen)o(t)g(min)o(utes)f(that)h(w)o(ere)h(a)0 921 +y(tremendous)f(aid)g(to)g(me)f(in)h(tracing)g(the)h(history)f(of)g(a)g +(n)o(um)o(b)q(er)f(of)h(complex)f(discus-)0 973 y(sions.)42 +1026 y(Jan)19 b(Zubk)o(o\013,)i(X3J13)e(meeting)f(and)h(mailing)e +(organizer,)j(kno)o(ws)g(what's)f(going)0 1078 y(on,)14 +b(as)g(alw)o(a)o(ys.)19 b(She)c(is)f(a)g(master)g(of)g(organization)f +(and)h(of)g(ph)o(ysical)f(arrangemen)o(ts.)0 1130 y(Moreo)o(v)o(er,)h +(she)h(once)f(again)f(pulled)g(me)g(out)h(of)f(the)i(\014re)g(at)e(the) +i(last)e(min)o(ute.)42 1182 y(Dic)o(k)g(Gabriel,)g(in)o(ternational)h +(represen)o(tativ)o(e)i(for)e(X3J13,)f(has)i(k)o(ept)g(information)0 +1234 y(\015o)o(wing)10 b(smo)q(othly)e(b)q(et)o(w)o(een)13 +b(Europ)q(e,)e(Japan,)g(and)g(the)g(United)g(States.)18 +b(He)11 b(pro)o(vided)0 1286 y(a)j(great)h(deal)g(of)f(the)h(energy)g +(and)g(driv)o(e)f(for)g(the)i(completion)c(of)i(the)i(Commo)o(n)c(Lisp) +0 1338 y(Ob)r(ject)18 b(System)f(sp)q(eci\014cation.)29 +b(He)17 b(has)h(also)e(pro)o(vided)h(me)f(with)h(a)g(great)g(deal)g(of) +0 1390 y(v)n(aluable)12 b(advice)h(and)g(has)h(b)q(een)g(on)f(call)g +(for)g(last-min)o(ute)e(consultation)i(at)g(all)f(hours)0 +1442 y(during)i(the)g(\014nal)f(stages)i(of)e(preparation)h(for)g(this) +g(b)q(o)q(ok.)42 1495 y(Da)o(vid)i(Mo)q(on)h(has)h(consisten)o(tly)g(b) +q(een)h(a)e(source)i(of)e(reason,)h(exp)q(ert)h(kno)o(wledge,)0 +1547 y(and)d(careful)g(scrutin)o(y)m(.)25 b(He)16 b(has)h(read)f(the)h +(\014rst)g(edition)e(and)h(the)h(X3J13)f(prop)q(osals)0 +1599 y(p)q(erhaps)f(more)e(carefully)g(than)h(an)o(y)o(one)g(else.)42 +1651 y(Da)o(vid)h(Mo)q(on,)h(Jon)h(L)f(White,)h(Gregor)f(Kiczales,)i +(Rob)q(ert)f(Mathis,)f(Mary)h(Bo)q(elk)0 1703 y(pro)o(vided)e(extensiv) +o(e)h(feedbac)o(k)g(on)e(an)h(early)g(draft)g(of)f(this)h(b)q(o)q(ok.) +22 b(I)15 b(thank)f(them)h(as)0 1755 y(w)o(ell)e(as)h(the)h(man)o(y)d +(others)j(who)e(commen)o(ted)f(in)i(one)g(w)o(a)o(y)f(or)h(another)g +(on)g(the)g(draft.)42 1808 y(I)j(wish)g(to)g(thank)g(the)h(authors)g +(of)e(large)h(prop)q(osals)g(to)h(X3J13)f(that)g(ha)o(v)o(e)g(made)0 +1860 y(material)11 b(a)o(v)n(ailable)g(for)h(more)g(or)h(less)g +(wholesale)g(inclusion)f(in)h(this)g(b)q(o)q(ok)f(as)h(distinct)0 +1912 y(c)o(hapters.)27 b(This)17 b(material)d(w)o(as)j(pro)q(duced)h +(primarily)c(for)i(the)h(use)g(of)f(X3J13)h(in)f(its)0 +1964 y(w)o(ork.)j(It)14 b(has)h(b)q(een)g(included)g(here)g(on)f(a)g +(non-exclusiv)o(e)h(basis)f(with)g(the)h(consen)o(t)g(of)0 +2016 y(the)f(authors.)42 2068 y(The)i(author)g(of)f(the)h(c)o(hapter)h +(on)f Fs(loop)f Fw(\(Jon)h(L)g(White\))g(notes)g(that)g(the)h(c)o +(hapter)0 2120 y(is)d(based)i(on)e(do)q(cumen)o(tation)f(written)i(at)g +(Lucid,)f(Inc.,)g(b)o(y)h(Molly)e(M.)h(Miller,)g(Sonia)0 +2172 y(Orin)i(Lyris,)g(and)g(Kris)h(Dink)o(el.)23 b(Glenn)16 +b(Burk)o(e,)h(Scott)g(F)m(ahlman,)c(Colin)i(Meldrum,)0 +2224 y(Da)o(vid)e(Mo)q(on,)h(Cris)h(P)o(erdue,)h(and)e(Dic)o(k)g(W)m +(aters)h(con)o(tributed)h(to)e(the)h(design)g(of)f(the)0 +2276 y Fs(loop)f Fw(macro.)42 2329 y(The)23 b(authors)g(of)f(the)h +(Common)c(Lisp)k(Ob)r(ject)h(System)e(sp)q(eci\014cation)i(\(Daniel)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 20 16 +20 15 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(xx)76 b(A)o(CKNO)o(WLEDGMENTS)12 +b(\(SECOND)h(EDITION\))0 295 y Fw(G.)f(Bobro)o(w,)g(Linda)g(G.)g(DeMic) +o(hiel,)g(Ric)o(hard)g(P)m(.)g(Gabriel,)f(Son)o(y)o(a)h(E.)h(Keene,)h +(Gregor)0 347 y(Kiczales,)f(and)f(Da)o(vid)f(A.)h(Mo)q(on\))g(wish)g +(to)g(thank)g(P)o(atric)o(k)g(Dussud,)g(Kenneth)i(Kahn,)0 +399 y(Jim)9 b(Kempf,)g(Larry)i(Masin)o(ter,)g(Mark)f(Ste\014k,)h +(Daniel)e(L.)h(W)m(einreb,)g(and)g(Jon)h(L)f(White)0 +450 y(for)k(their)g(con)o(tributions.)42 506 y(The)d(author)f(of)g(the) +i(c)o(hapter)f(on)g(Conditions)e(\(Ken)o(t)j(M.)e(Pitman\))f(notes)j +(that)e(there)0 558 y(is)g(a)h(pap)q(er)g([38)o(])f(con)o(taining)g +(bac)o(kground)g(information)e(ab)q(out)i(the)i(design)e(of)g(the)i +(con-)0 610 y(dition)i(system,)g(whic)o(h)g(is)h(based)g(on)g(the)g +(condition)f(system)h(of)f(the)h(Sym)o(b)q(olics)e(Lisp)0 +661 y(Mac)o(hines)e([49)o(].)16 b(The)10 b(mem)o(b)q(ers)f(of)g(the)i +(X3J13)f(Error)h(Handling)d(Sub)q(committee)h(w)o(ere)0 +713 y(Andy)j(Daniels)f(and)h(Ken)o(t)g(Pitman.)k(Ric)o(hard)11 +b(Mlynarik)g(and)g(Da)o(vid)g(A.)g(Mo)q(on)h(made)0 765 +y(ma)r(jor)18 b(design)i(con)o(tributions.)34 b(Useful)20 +b(commen)o(ts,)f(questions,)i(suggestions,)g(and)0 817 +y(criticisms)d(w)o(ere)i(pro)o(vided)e(b)o(y)h(P)o(aul)f(Anagnostop)q +(oulos,)h(Alan)f(Ba)o(wden,)i(William)0 869 y(Chiles,)13 +b(P)o(a)o(v)o(el)h(Curtis,)g(Mary)f(F)m(on)o(tana,)g(Dic)o(k)g +(Gabriel,)g(Dic)o(k)g(King,)g(Susan)i(Lander,)0 921 y(Da)o(vid)d(D.)f +(Lo)q(e\017er,)j(Ken)f(Olum,)e(Da)o(vid)h(C.)g(Plummer,)e(Alan)i(Sn)o +(yder,)h(Eric)h(W)m(ea)o(v)o(er,)0 973 y(and)c(Daniel)g(L.)g(W)m +(einreb.)17 b(The)11 b(Condition)f(System)g(w)o(as)g(designed)h(sp)q +(eci\014cally)g(to)g(ac-)0 1025 y(commo)q(date)f(the)i(needs)h(of)f +(Commo)o(n)d(Lisp.)17 b(The)c(design)f(is,)g(ho)o(w)o(ev)o(er,)g(most)e +(directly)0 1077 y(based)i(on)g(the)h(\\New)f(Error)g(System")f +(\(NES\))i(dev)o(elop)q(ed)f(at)g(Sym)o(b)q(olics)e(b)o(y)i(Da)o(vid)e +(L.)0 1128 y(Andre,)i(Bernard)g(S.)e(Green)o(b)q(erg,)i(Mik)o(e)f +(McMahon,)g(Da)o(vid)f(A.)g(Mo)q(on,)h(and)f(Daniel)g(L.)0 +1180 y(W)m(einreb.)24 b(The)16 b(NES)g(w)o(as)g(in)f(turn)i(based)f(on) +g(exp)q(eriences)i(with)d(the)i(original)d(Lisp)0 1232 +y(Mac)o(hine)f(error)g(system)g(\(dev)o(elop)q(ed)g(at)g(MIT\),)f(whic) +o(h)g(w)o(as)h(found)f(to)g(b)q(e)i(inadequate)0 1284 +y(for)k(the)g(needs)i(of)d(the)i(mo)q(dern)e(Lisp)h(Mac)o(hine)g(en)o +(vironmen)o(ts.)30 b(Man)o(y)18 b(asp)q(ects)h(of)0 1336 +y(the)13 b(NES)f(w)o(ere)h(inspired)g(b)o(y)f(the)h(\(PL/I\))f +(condition)f(system)h(used)h(b)o(y)f(the)h(Honeyw)o(ell)0 +1388 y(Multics)18 b(op)q(erating)g(system.)30 b(Henry)19 +b(Lieb)q(erman)e(pro)o(vided)h(conceptual)h(guidance)0 +1440 y(and)12 b(encouragemen)o(t)g(in)g(the)g(design)h(of)e(the)i(NES.) +f(A)g(reimplemen)o(tation)d(of)j(the)g(NES)0 1492 y(for)18 +b(non-Sym)o(b)q(olics)e(Lisp)i(Mac)o(hine)h(dialects)f(\(MIT,)g(LMI,)g +(and)g(TI\))g(w)o(as)g(done)h(at)0 1544 y(MIT)14 b(b)o(y)h(Ric)o(hard)f +(M.)g(Stallman.)j(During)c(the)i(pro)q(cess)i(of)d(that)g(reimplemen)o +(tation,)0 1595 y(some)i(conceptual)h(c)o(hanges)g(w)o(ere)h(made)d +(whic)o(h)i(ha)o(v)o(e)f(signi\014can)o(tly)f(in\015uenced)j(the)0 +1647 y(Common)11 b(Lisp)i(Condition)g(System.)42 1703 +y(As)f(for)f(the)h(smaller)e(but)i(no)f(less)h(imp)q(ortan)o(t)e(prop)q +(osals,)i(Larry)g(Masin)o(ter)g(deserv)o(es)0 1755 y(recognition)g(as)h +(an)g(author)f(of)g(o)o(v)o(er)h(half)e(of)i(them.)j(He)e(has)e(w)o +(ork)o(ed)h(indefatigably)e(to)0 1806 y(write)h(up)f(prop)q(osals)g +(and)g(to)g(p)q(olish)g(drafts)g(b)o(y)g(other)h(authors.)17 +b(Ken)o(t)12 b(Pitman,)e(Da)o(vid)0 1858 y(Mo)q(on,)h(and)g(Sandra)g +(Lo)q(osemore)g(ha)o(v)o(e)g(also)g(b)q(een)i(notably)d(proli\014c,)h +(as)g(w)o(ell)g(as)g(Jon)h(L)0 1910 y(White,)g(Dan)f(Pierson,)i(W)m +(alter)f(v)n(an)f(Roggen,)g(Sk)o(ona)h(Brittain,)g(Scott)g(F)m(ahlman,) +e(and)0 1962 y(m)o(yself.)16 b(Other)e(authors)g(of)e(prop)q(osals)h +(include)g(Da)o(vid)f(Andre,)i(John)f(Aspinall,)e(Kim)0 +2014 y(Barrett,)i(Eric)e(Benson,)i(Daniel)d(Bobro)o(w,)h(Bob)g +(Cassels,)i(Kath)o(y)e(Chapman,)e(WIlliam)0 2066 y(Clinger,)16 +b(P)o(a)o(v)o(el)f(Curtis,)i(Doug)e(Cutting,)h(Je\013)i(Dalton,)d +(Linda)g(DiMic)o(hiel,)g(Ric)o(hard)0 2118 y(Gabriel,)d(Stev)o(en)i +(Ha\015ic)o(h,)f(Son)o(y)o(a)g(Keene,)h(James)f(Kempf,)f(Gregor)h +(Kiczales,)h(Dieter)0 2170 y(Kolb,)20 b(Barry)g(Margolin,)g(Chris)f +(McConnell,)i(Je\013)f(P)o(ec)o(k,)i(Jan)d(P)o(edersen,)k(Crispin)0 +2222 y(P)o(erdue,)f(Jonathan)d(Rees,)i(Don)e(Sak)n(ahara,)g(Da)o(vid)f +(T)m(ouretzky)m(,)i(Ric)o(hard)f(W)m(aters,)0 2273 y(and)14 +b(Gail)e(Zac)o(harias.)42 2329 y(I)19 b(am)f(grateful)h(to)g(Donald)f +(E.)h(Kn)o(uth)h(and)g(his)f(colleagues)g(for)h(pro)q(ducing)f(the)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 21 17 +21 16 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(A)o(CKNO)o(WLEDGMENTS)12 +b(\(SECOND)h(EDITION\))593 b(xxi)0 295 y Fw(T)23 304 +y(E)46 295 y(X)14 b(text)g(formatting)e(system)h([28)o(],)g(whic)o(h)h +(w)o(as)f(used)i(to)e(pro)q(duce)i(and)f(t)o(yp)q(eset)h(the)0 +347 y(man)o(uscript.)35 b(Kn)o(uth)21 b(did)e(an)h(esp)q(ecially)g(go)q +(o)q(d)f(job)h(of)f(publishing)g(the)h(program)0 399 +y(for)e(T)91 407 y(E)114 399 y(X)g([29)o(];)h(I)e(had)h(to)g(consult)g +(the)h(co)q(de)f(ab)q(out)g(eigh)o(t)g(times)f(while)g(debugging)0 +450 y(particularly)11 b(complicated)f(macros.)17 b(Thanks)12 +b(to)f(the)h(extensiv)o(e)h(indexing)e(and)h(cross-)0 +502 y(references,)17 b(in)d(eac)o(h)g(case)i(it)e(to)q(ok)g(me)f(less)i +(than)f(\014v)o(e)h(min)o(utes)e(to)h(\014nd)h(the)g(relev)n(an)o(t)0 +554 y(fragmen)o(t)d(of)i(that)g(500-page)f(program.)42 +608 y(I)e(also)f(o)o(w)o(e)h(a)g(debt)h(to)f(Leslie)g(Lamp)q(ort,)f +(author)h(of)g(the)h(L)949 603 y Fr(a)968 608 y Fw(T)991 +620 y(E)1014 608 y(X)f(macro)f(pac)o(k)n(age)h([30)o(])0 +659 y(for)j(T)87 668 y(E)110 659 y(X,)f(within)g(whic)o(h)h(I)g +(implemen)o(ted)e(the)i(do)q(cumen)o(t)f(st)o(yle)h(for)g(this)g(b)q(o) +q(ok.)42 713 y(Blue)g(Sky)g(Researc)o(h)h(sells)f(and)g(supp)q(orts)h +(T)m(extures,)g(an)f(implem)o(en)o(tation)d(of)j(T)1341 +722 y(E)1364 713 y(X)0 765 y(for)g(Apple)g(Macin)o(tosh)h(computers;)f +(Ga)o(yla)f(Gro)q(om)f(and)i(Barry)h(Smith)d(of)i(Blue)h(Sky)0 +817 y(Researc)o(h)h(pro)o(vided)g(excellen)o(t)g(tec)o(hnical)f(supp)q +(ort)i(when)e(I)h(needed)g(it.)22 b(Other)17 b(soft-)0 +868 y(w)o(are)f(to)q(ols)g(that)g(w)o(ere)h(in)o(v)n(aluable)d(in)i +(preparing)g(this)g(b)q(o)q(ok)g(w)o(ere)h(QuicKeys)g(\(sold)0 +920 y(b)o(y)e(CE)h(Soft)o(w)o(are,)g(Inc.\),)g(whic)o(h)f(pro)o(vides)h +(k)o(eyb)q(oard)g(macros;)f(G\026)-21 b(ofer)15 b(\(sold)h(b)o(y)f(Mi-) +0 972 y(crolytics,)d(Inc.\),)g(whic)o(h)f(p)q(erforms)g(rapid)h(text)g +(searc)o(hes)i(in)d(m)o(ultiple)e(\014les;)k(Syman)o(tec)0 +1024 y(Utilities)e(for)h(Macin)o(tosh)f(\(sold)h(b)o(y)g(Syman)o(tec)f +(Corp)q(oration\),)g(whic)o(h)h(sa)o(v)o(ed)g(me)e(from)0 +1076 y(more)j(than)h(one)g(disk)g(crash;)h(and)f(the)h(P)o(ostScript)f +(language)g(and)g(compatible)e(fon)o(ts)0 1128 y(\(sold)i(b)o(y)f(Adob) +q(e)i(Systems)f(Incorp)q(orated\).)42 1181 y(Some)9 b(of)i(this)g(soft) +o(w)o(are)g(\(suc)o(h)g(as)g(L)597 1176 y Fr(a)616 1181 +y Fw(T)639 1194 y(E)663 1181 y(X\))g(I)g(obtained)f(for)h(free)h(and)e +(some)h(I)f(b)q(ough)o(t,)0 1233 y(but)17 b(all)e(ha)o(v)o(e)i(pro)o(v) +o(ed)g(to)f(b)q(e)i(useful)e(to)q(ols)h(of)f(excellen)o(t)h(qualit)o(y) +m(.)25 b(I)17 b(am)e(grateful)h(to)0 1285 y(these)f(dev)o(elop)q(ers)g +(for)f(creating)g(them.)42 1338 y(Electronic)i(mail)c(has)k(b)q(een)g +(indisp)q(ensible)g(to)f(the)h(writing)e(of)h(this)g(b)q(o)q(ok,)g(as)g +(w)o(ell)0 1390 y(to)f(as)g(the)h(w)o(ork)f(of)g(X3J13.)k(\(It)d(is)f +(a)f(h)o(um)o(bling)f(exp)q(erience)k(to)e(publish)g(a)g(b)q(o)q(ok)g +(and)0 1442 y(then)i(for)f(the)h(next)f(\014v)o(e)h(y)o(ears)g(to)f +(receiv)o(e)h(at)f(least)h(one)f(electronic)h(mail)d(message)i(a)0 +1494 y(w)o(eek,)k(if)d(not)i(t)o(w)o(en)o(t)o(y)m(,)g(p)q(oin)o(ting)e +(out)i(some)e(mistak)o(e)g(or)i(defect.\))30 b(Kudos)19 +b(to)e(those)0 1546 y(dev)o(elop)e(and)g(main)o(tain)e(the)j(In)o +(ternet,)g(whic)o(h)f(arose)h(from)d(the)j(Arpanet)g(and)f(other)0 +1598 y(net)o(w)o(orks.)42 1651 y(Chase)e(Du\013y)m(,)g(George)g +(Horesta,)h(and)f(Will)e(Buddenhagen)j(of)f(Digital)e(Press)k(ha)o(v)o +(e)0 1703 y(giv)o(en)g(me)g(m)o(uc)o(h)g(encouragemen)o(t)h(and)g(supp) +q(ort.)25 b(Da)o(vid)15 b(F)m(ord)h(designed)g(the)h(b)q(o)q(ok)0 +1755 y(and)11 b(pro)o(vided)g(sp)q(eci\014cations)h(that)f(I)f(could)h +(co)q(de)h(in)o(to)e(T)913 1764 y(E)936 1755 y(X.)h(Alice)g(Chey)o(er)g +(and)g(Kate)0 1807 y(Sc)o(hmit)f(edited)j(the)f(cop)o(y)g(for)g(st)o +(yle)g(and)f(puzzled)i(o)o(v)o(er)f(the)g(more)f(obscure)i(jok)o(es)f +(with)0 1859 y(great)19 b(patience.)32 b(Marilyn)17 b(Ro)o(wland)g +(created)j(the)f(index;)h(Tim)c(Ev)n(ans)j(and)f(I)g(did)0 +1911 y(some)f(p)q(olishing.)30 b(Laura)18 b(Fillmore)e(and)i(her)h +(colleagues)f(at)g(Editorial,)g(Inc.,)h(ha)o(v)o(e)0 +1963 y(tirelessly)d(and)f(meticulously)e(c)o(hec)o(k)o(ed)k(one)e +(draft)g(after)h(another)f(and)g(has)h(k)o(ept)f(the)0 +2014 y(pap)q(erw)o(ork)c(\015o)o(wing)e(smo)q(othly)g(during)g(the)i +(last)f(hectic)i(w)o(eeks)f(of)f(pro)q(ofreading,)g(page)0 +2066 y(mak)o(eup,)i(and)i(t)o(yp)q(esetting.)42 2120 +y(Thinking)f(Mac)o(hines)i(Corp)q(oration)e(has)i(supp)q(orted)h(all)d +(m)o(y)f(w)o(ork)j(with)f(X3J13.)19 b(I)0 2172 y(thank)14 +b(all)e(m)o(y)h(colleagues)h(there)h(for)e(their)i(encouragemen)o(t)e +(and)h(help.)42 2225 y(Others)d(who)g(pro)o(vided)f(indisp)q(ensible)h +(encouragemen)o(t)f(and)g(supp)q(ort)i(include)e(Guy)0 +2277 y(and)17 b(Nalora)g(Steele;)i(Da)o(vid)d(Steele;)k(Cordon)d(and)g +(Ruth)g(Kerns;)j(Da)o(vid,)d(P)o(atricia,)0 2329 y(T)m(a)o(vis,)c +(Jacob,)i(Nic)o(holas,)f(and)h(Daniel)f(Au)o(w)o(erda;)h(Donald)f(and)g +(Denise)i(Kerns;)g(and)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 22 18 +22 17 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(xxii)75 b(A)o(CKNO)o(WLEDGMENTS) +12 b(\(SECOND)h(EDITION\))0 295 y Fw(Da)o(vid,)f(Jo)o(yce,)i(and)g +(Christine)g(Kerns.)42 347 y(Most)c(of)f(the)i(writing)e(of)g(this)h(b) +q(o)q(ok)g(to)q(ok)f(place)h(b)q(et)o(w)o(een)i(10)d(P)m(.M.)g(and)h(3) +f(A.M.)h(\(I'm)0 399 y(not)17 b(as)g(y)o(oung)g(as)g(I)g(used)h(to)f(b) +q(e\).)28 b(I)17 b(am)e(grateful)i(to)g(Barbara,)h(Julia,)e(P)o(eter,)j +(and)0 450 y(Matthew)14 b(for)g(putting)g(up)g(with)f(it,)g(and)h(for)f +(their)i(lo)o(v)o(e.)0 535 y(Guy)e(L.)h(Steele)h(Jr.)0 +587 y(Lexington,)e(Massac)o(h)o(usetts)0 639 y(All)g(Sain)o(ts')g(Da)o +(y)m(,)f(1989)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 23 19 +23 18 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 448 598 9 v 0 531 a FB(Ackno)n(wledgments) +0 604 y Fx(FIRST)13 b(EDITION)g(\(1984\))0 856 y Fw(Common)d(Lisp)i(w)o +(as)h(designed)h(b)o(y)e(a)h(div)o(erse)g(group)g(of)f(p)q(eople)h +(a\016liated)f(with)h(man)o(y)0 908 y(institutions.)42 +961 y(Con)o(tributors)e(to)h(the)g(design)g(and)g(implem)o(en)o(tation) +d(of)i(Common)d(Lisp)k(and)g(to)f(the)0 1013 y(p)q(olishing)i(of)g +(this)h(b)q(o)q(ok)g(are)g(hereb)o(y)h(gratefully)e(ac)o(kno)o +(wledged:)0 1132 y(P)o(aul)g(Anagnostop)q(oulos)k(Digital)12 +b(Equipmen)o(t)h(Corp)q(oration)0 1184 y(Dan)g(Aronson)183 +b(Carnegie-Mellon)14 b(Univ)o(ersit)o(y)0 1236 y(Alan)f(Ba)o(wden)180 +b(Massac)o(h)o(usetts)16 b(Institute)f(of)e(T)m(ec)o(hnology)0 +1288 y(Eric)h(Benson)205 b(Univ)o(ersit)o(y)14 b(of)g(Utah,)f(Stanford) +h(Univ)o(ersit)o(y)m(,)f(and)g(Sym)o(b)q(olics,)423 1340 +y(Incorp)q(orated)0 1391 y(Jon)h(Ben)o(tley)207 b(Carnegie-Mellon)14 +b(Univ)o(ersit)o(y)g(and)f(Bell)h(Lab)q(oratories)0 1443 +y(Jerry)h(Bo)q(etje)199 b(Digital)12 b(Equipmen)o(t)h(Corp)q(oration)0 +1495 y(Gary)g(Bro)q(oks)192 b(T)m(exas)14 b(Instrumen)o(ts)0 +1547 y(Ro)q(dney)g(A.)f(Bro)q(oks)88 b(Stanford)14 b(Univ)o(ersit)o(y)0 +1599 y(Gary)f(L.)h(Bro)o(wn)148 b(Digital)12 b(Equipmen)o(t)h(Corp)q +(oration)0 1651 y(Ric)o(hard)g(L.)h(Bry)o(an)105 b(Sym)o(b)q(olics,)12 +b(Incorp)q(orated)0 1703 y(Glenn)i(S.)f(Burk)o(e)145 +b(Massac)o(h)o(usetts)16 b(Institute)f(of)e(T)m(ec)o(hnology)0 +1755 y(Ho)o(w)o(ard)g(I.)h(Cannon)88 b(Sym)o(b)q(olics,)12 +b(Incorp)q(orated)0 1807 y(George)i(J.)g(Carrette)84 +b(Massac)o(h)o(usetts)16 b(Institute)f(of)e(T)m(ec)o(hnology)0 +1858 y(Rob)q(ert)h(Cassels)154 b(Sym)o(b)q(olics,)12 +b(Incorp)q(orated)0 1910 y(Monica)h(Cellio)172 b(Carnegie-Mellon)14 +b(Univ)o(ersit)o(y)0 1962 y(Da)o(vid)f(Dill)233 b(Carnegie-Mellon)14 +b(Univ)o(ersit)o(y)0 2014 y(Scott)g(E.)g(F)m(ahlman)101 +b(Carnegie-Mellon)14 b(Univ)o(ersit)o(y)0 2066 y(Ric)o(hard)f(J.)h(F)m +(ateman)61 b(Univ)o(ersit)o(y)14 b(of)g(California,)d(Berk)o(eley)0 +2118 y(Neal)j(F)m(ein)o(b)q(erg)172 b(Carnegie-Mellon)14 +b(Univ)o(ersit)o(y)0 2170 y(Ron)f(Fisc)o(her)206 b(Rutgers)15 +b(Univ)o(ersit)o(y)0 2222 y(John)f(F)m(o)q(deraro)160 +b(Univ)o(ersit)o(y)14 b(of)g(California,)d(Berk)o(eley)0 +2274 y(Stev)o(e)k(F)m(ord)228 b(T)m(exas)14 b(Instrumen)o(ts)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1332 2428 a Fy(xxiii)p eop +%%Page: 24 20 +24 19 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(xxiv)75 b(A)o(CKNO)o(WLEDGMENTS) +12 b(\(FIRST)h(EDITION,)g(1984\))0 295 y Fw(Ric)o(hard)g(P)m(.)h +(Gabriel)81 b(Stanford)14 b(Univ)o(ersit)o(y)g(and)g(La)o(wrence)h(Liv) +o(ermore)d(National)423 347 y(Lab)q(oratory)0 399 y(Joseph)j(Ginder)161 +b(Carnegie-Mellon)14 b(Univ)o(ersit)o(y)g(and)f(P)o(erq)i(Systems)f +(Corp.)0 450 y(Bernard)h(S.)f(Green)o(b)q(erg)27 b(Sym)o(b)q(olics,)12 +b(Incorp)q(orated)0 502 y(Ric)o(hard)h(Green)o(blatt)72 +b(Lisp)14 b(Mac)o(hines)h(Incorp)q(orated)g(\(LMI\))0 +554 y(Martin)f(L.)f(Griss)139 b(Univ)o(ersit)o(y)14 b(of)g(Utah)f(and)h +(Hewlett-P)o(ac)o(k)n(ard)g(Incorp)q(orated)0 606 y(Stev)o(en)h +(Handerson)97 b(Carnegie-Mellon)14 b(Univ)o(ersit)o(y)0 +658 y(Charles)g(L.)g(Hedric)o(k)82 b(Rutgers)15 b(Univ)o(ersit)o(y)0 +710 y(Gail)d(Kaiser)218 b(Carnegie-Mellon)14 b(Univ)o(ersit)o(y)0 +762 y(Earl)g(A.)f(Killian)152 b(La)o(wrence)15 b(Liv)o(ermore)e +(National)g(Lab)q(oratory)0 814 y(Stev)o(e)i(Krueger)168 +b(T)m(exas)14 b(Instrumen)o(ts)0 866 y(John)g(L.)f(Kulp)180 +b(Sym)o(b)q(olics,)12 b(Incorp)q(orated)0 917 y(Jim)g(Large)240 +b(Carnegie-Mellon)14 b(Univ)o(ersit)o(y)0 969 y(Rob)f(Maclac)o(hlan)129 +b(Carnegie-Mellon)14 b(Univ)o(ersit)o(y)0 1021 y(William)c(Maddo)o(x) +118 b(Carnegie-Mellon)14 b(Univ)o(ersit)o(y)0 1073 y(Larry)g(M.)f +(Masin)o(ter)86 b(Xero)o(x)15 b(Corp)q(oration,)d(P)o(alo)h(Alto)h +(Researc)o(h)h(Cen)o(ter)0 1125 y(John)f(McCarth)o(y)138 +b(Stanford)14 b(Univ)o(ersit)o(y)0 1177 y(Mic)o(hael)g(E.)f(McMahon)33 +b(Sym)o(b)q(olics,)12 b(Incorp)q(orated)0 1229 y(Brian)i(Milnes)189 +b(Carnegie-Mellon)14 b(Univ)o(ersit)o(y)0 1281 y(Da)o(vid)f(A.)g(Mo)q +(on)141 b(Sym)o(b)q(olics,)12 b(Incorp)q(orated)0 1333 +y(Beryl)i(Morrison)149 b(Digital)12 b(Equipmen)o(t)h(Corp)q(oration)0 +1384 y(Don)g(Morrison)171 b(Univ)o(ersit)o(y)14 b(of)g(Utah)0 +1436 y(Dan)f(Pierson)200 b(Digital)12 b(Equipmen)o(t)h(Corp)q(oration)0 +1488 y(Ken)o(t)i(M.)e(Pitman)121 b(Massac)o(h)o(usetts)16 +b(Institute)f(of)e(T)m(ec)o(hnology)0 1540 y(Jonathan)h(Rees)157 +b(Y)m(ale)14 b(Univ)o(ersit)o(y)0 1592 y(W)m(alter)f(v)n(an)g(Roggen)75 +b(Digital)12 b(Equipmen)o(t)h(Corp)q(oration)0 1644 y(Susan)h(Rosen)o +(baum)92 b(T)m(exas)14 b(Instrumen)o(ts)0 1696 y(William)c(L.)j(Sc)o +(herlis)77 b(Carnegie-Mellon)14 b(Univ)o(ersit)o(y)0 +1748 y(Lee)h(Sc)o(h)o(umac)o(her)130 b(Carnegie-Mellon)14 +b(Univ)o(ersit)o(y)0 1800 y(Ric)o(hard)f(M.)h(Stallman)39 +b(Massac)o(h)o(usetts)16 b(Institute)f(of)e(T)m(ec)o(hnology)0 +1851 y(Barbara)h(K.)g(Steele)99 b(Carnegie-Mellon)14 +b(Univ)o(ersit)o(y)0 1903 y(Guy)f(L.)h(Steele)h(Jr.)111 +b(Carnegie-Mellon)14 b(Univ)o(ersit)o(y)g(and)f(T)m(artan)h(Lab)q +(oratories)423 1955 y(Incorp)q(orated)0 2007 y(P)o(eter)h(Szolo)o(vits) +153 b(Massac)o(h)o(usetts)16 b(Institute)f(of)e(T)m(ec)o(hnology)0 +2059 y(William)d(v)n(anMelle)103 b(Xero)o(x)15 b(Corp)q(oration,)d(P)o +(alo)h(Alto)h(Researc)o(h)h(Cen)o(ter)0 2111 y(Ellen)f(W)m(aldrum)145 +b(T)m(exas)14 b(Instrumen)o(ts)0 2163 y(Allan)f(C.)g(W)m(ec)o(hsler)96 +b(Sym)o(b)q(olics,)12 b(Incorp)q(orated)0 2215 y(Daniel)h(L.)g(W)m +(einreb)91 b(Sym)o(b)q(olics,)12 b(Incorp)q(orated)0 +2267 y(Jon)i(L)g(White)192 b(Xero)o(x)15 b(Corp)q(oration,)d(P)o(alo)h +(Alto)h(Researc)o(h)h(Cen)o(ter)0 2318 y(Sk)o(ef)f(Wholey)195 +b(Carnegie-Mellon)14 b(Univ)o(ersit)o(y)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 25 21 +25 20 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(A)o(CKNO)o(WLEDGMENTS)12 +b(\(FIRST)h(EDITION,)f(1984\))533 b(xxv)0 295 y Fw(Ric)o(hard)13 +b(Zipp)q(el)153 b(Massac)o(h)o(usetts)16 b(Institute)f(of)e(T)m(ec)o +(hnology)0 347 y(Leonard)h(Zubk)o(o\013)124 b(Carnegie-Mellon)14 +b(Univ)o(ersit)o(y)g(and)f(T)m(artan)h(Lab)q(oratories)423 +399 y(Incorp)q(orated)0 488 y(Some)f(con)o(tributions)i(w)o(ere)g +(relativ)o(ely)f(small;)e(others)j(in)o(v)o(olv)o(ed)f(enormous)f(exp)q +(endi-)0 540 y(tures)h(of)f(e\013ort)g(and)g(great)g(dedication.)18 +b(A)13 b(few)g(of)f(the)i(con)o(tributors)f(serv)o(ed)i(more)d(as)0 +592 y(w)o(orth)o(y)g(adv)o(ersaries)h(than)f(as)g(b)q(enefactors)i +(\(and)e(do)g(not)g(necessarily)i(endorse)f(the)g(\014-)0 +643 y(nal)f(design)i(rep)q(orted)g(here\),)h(but)e(their)g(p)q(oin)o +(ted)h(criticisms)e(w)o(ere)i(just)f(as)g(imp)q(ortan)o(t)0 +695 y(to)18 b(the)g(p)q(olishing)f(of)g(Common)d(Lisp)k(as)g(all)e(the) +j(p)q(ositiv)o(ely)e(phrased)i(suggestions.)0 747 y(All)13 +b(of)h(the)h(p)q(eople)f(named)f(ab)q(o)o(v)o(e)h(w)o(ere)i(helpful)d +(in)h(one)g(w)o(a)o(y)g(or)g(another,)g(and)g(I)g(am)0 +799 y(grateful)f(for)g(the)h(in)o(terest)h(and)e(spirit)h(of)e(co)q(op) +q(eration)i(that)g(allo)o(w)o(ed)e(most)g(decisions)0 +851 y(to)i(b)q(e)g(made)f(b)o(y)h(consensus)h(after)g(due)f +(discussion.)42 903 y(Considerable)g(encouragemen)o(t)g(and)f(moral)f +(supp)q(ort)j(w)o(ere)g(also)e(pro)o(vided)h(b)o(y:)0 +993 y(Norma)e(Ab)q(el)228 b(Digital)12 b(Equipmen)o(t)h(Corp)q(oration) +0 1045 y(Roger)h(Bate)245 b(T)m(exas)14 b(Instrumen)o(ts)0 +1097 y(Harv)o(ey)g(Cragon)175 b(T)m(exas)14 b(Instrumen)o(ts)0 +1149 y(Dennis)g(Duncan)172 b(Digital)12 b(Equipmen)o(t)h(Corp)q +(oration)0 1201 y(Sam)f(F)m(uller)253 b(Digital)12 b(Equipmen)o(t)h +(Corp)q(oration)0 1253 y(A.)h(Nico)f(Hab)q(ermann)85 +b(Carnegie-Mellon)13 b(Univ)o(ersit)o(y)0 1305 y(Berthold)i(K.)e(P)m(.) +g(Horn)79 b(Massac)o(h)o(usetts)16 b(Institute)f(of)e(T)m(ec)o(hnology) +0 1356 y(Gene)h(Kromer)205 b(T)m(exas)14 b(Instrumen)o(ts)0 +1408 y(Gene)g(Matthews)166 b(T)m(exas)14 b(Instrumen)o(ts)0 +1460 y(Allan)f(New)o(ell)218 b(Carnegie-Mellon)13 b(Univ)o(ersit)o(y)0 +1512 y(Dana)g(Scott)246 b(Carnegie-Mellon)13 b(Univ)o(ersit)o(y)0 +1564 y(Harry)h(T)m(ennan)o(t)180 b(T)m(exas)14 b(Instrumen)o(ts)0 +1616 y(P)o(atric)o(k)g(H.)f(Winston)95 b(Massac)o(h)o(usetts)16 +b(Institute)f(of)e(T)m(ec)o(hnology)0 1668 y(Lo)o(w)o(ell)g(W)m(o)q(o)q +(d)213 b(La)o(wrence)15 b(Liv)o(ermore)e(National)f(Lab)q(oratory)0 +1720 y(William)e(A.)j(W)m(ulf)148 b(Carnegie-Mellon)13 +b(Univ)o(ersit)o(y)h(and)g(T)m(artan)f(Lab)q(oratories)450 +1772 y(Incorp)q(orated)0 1861 y(I)h(am)e(v)o(ery)i(grateful)g(to)f(eac) +o(h)i(of)e(them.)42 1913 y(Jan)g(Zubk)o(o\013)g(of)g(Carnegie-Mellon)f +(Univ)o(ersit)o(y)h(pro)o(vided)g(a)g(great)g(deal)g(of)g(organi-)0 +1965 y(zation,)g(secretarial)i(supp)q(ort,)f(and)g(unfailing)e(go)q(o)q +(d)h(c)o(heer)i(in)f(the)g(face)h(of)e(adv)o(ersit)o(y)m(.)42 +2017 y(The)20 b(dev)o(elopmen)o(t)f(of)g(Common)e(Lisp)j(w)o(ould)f +(most)g(probably)g(not)h(ha)o(v)o(e)g(b)q(een)0 2069 +y(p)q(ossible)15 b(without)g(the)g(electronic)i(message)d(system)h(pro) +o(vided)g(b)o(y)g(the)g(ARP)m(ANET.)0 2121 y(Design)g(decisions)g(w)o +(ere)h(made)e(on)h(sev)o(eral)h(h)o(undred)g(distinct)f(p)q(oin)o(ts,)g +(for)f(the)i(most)0 2173 y(part)g(b)o(y)f(consensus,)j(and)d(b)o(y)h +(simple)e(ma)r(jorit)o(y)f(v)o(ote)j(when)g(necessary)m(.)25 +b(Except)17 b(for)0 2225 y(t)o(w)o(o)e(one-da)o(y)h(face-to-face)g +(meetings,)f(all)g(of)g(the)i(language)d(design)j(and)e(discussion)0 +2277 y(w)o(as)d(done)h(through)g(the)g(ARP)m(ANET)f(message)g(system,)h +(whic)o(h)f(p)q(ermitted)g(e\013ortless)0 2329 y(dissemination)i(of)i +(messages)g(to)g(dozens)h(of)f(p)q(eople,)g(and)g(sev)o(eral)h(in)o +(terc)o(hanges)g(p)q(er)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 26 22 +26 21 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(xxvi)75 b(A)o(CKNO)o(WLEDGMENTS) +12 b(\(FIRST)h(EDITION,)g(1984\))0 295 y Fw(da)o(y)m(.)34 +b(The)21 b(message)e(system)g(also)g(pro)o(vided)h(automatic)e(arc)o +(hiving)h(of)g(the)h(en)o(tire)0 347 y(discussion,)e(whic)o(h)f(has)g +(pro)o(v)o(ed)g(in)o(v)n(aluable)e(in)i(the)h(preparation)f(of)f(this)h +(reference)0 399 y(man)o(ual.)36 b(Ov)o(er)21 b(the)h(course)g(of)e +(thirt)o(y)g(mon)o(ths,)h(appro)o(ximately)d(3000)i(messages)0 +450 y(w)o(ere)e(sen)o(t)f(\(an)g(a)o(v)o(erage)g(of)f(three)j(p)q(er)e +(da)o(y\),)g(ranging)f(in)g(length)h(from)e(one)i(line)g(to)0 +502 y(t)o(w)o(en)o(t)o(y)e(pages.)21 b(Assuming)13 b(5000)h(c)o +(haracters)j(p)q(er)e(prin)o(ted)h(page)e(of)h(text,)g(the)g(en)o(tire) +0 554 y(discussion)h(totaled)f(ab)q(out)h(1100)e(pages.)24 +b(It)15 b(w)o(ould)g(ha)o(v)o(e)g(b)q(een)i(substan)o(tially)e(more)0 +606 y(di\016cult)j(to)g(ha)o(v)o(e)g(conducted)i(this)f(discussion)g(b) +o(y)f(an)o(y)g(other)h(means,)f(and)h(w)o(ould)0 658 +y(ha)o(v)o(e)14 b(required)h(m)o(uc)o(h)d(more)h(time.)42 +720 y(The)e(ideas)g(in)f(Common)e(Lisp)i(ha)o(v)o(e)h(come)f(from)f +(man)o(y)g(sources)j(and)f(b)q(een)h(p)q(olished)0 772 +y(b)o(y)j(m)o(uc)o(h)f(discussion.)22 b(I)15 b(am)e(resp)q(onsible)j +(for)f(the)h(form)d(of)i(this)g(b)q(o)q(ok,)g(and)f(for)h(an)o(y)0 +824 y(errors)i(or)f(inconsistencies)h(that)f(ma)o(y)e(remain;)h(but)h +(the)g(credit)h(for)e(the)i(design)f(and)0 876 y(supp)q(ort)c(of)e +(Common)e(Lisp)i(lies)h(with)g(the)g(individuals)e(named)h(ab)q(o)o(v)o +(e,)h(eac)o(h)g(of)f(whom)0 928 y(has)k(made)f(signi\014can)o(t)g(con)o +(tributions.)42 990 y(The)k(organization)e(and)i(con)o(ten)o(t)g(of)f +(this)h(b)q(o)q(ok)g(w)o(ere)g(inspired)g(in)g(large)f(part)h(b)o(y)0 +1042 y(the)g Fv(MacLISP)h(R)n(efer)n(enc)n(e)e(Manual)h +Fw(b)o(y)f(Da)o(vid)f(A.)h(Mo)q(on)f(and)h(others)h([33)o(],)f(and)g(b) +o(y)0 1094 y(the)k Fv(LISP)h(Machine)h(Manual)e Fw(\(fourth)g +(edition\))g(b)o(y)g(Daniel)e(W)m(einreb)i(and)g(Da)o(vid)0 +1146 y(Mo)q(on)13 b([55)o(],)g(whic)o(h)g(in)g(turn)h(ac)o(kno)o +(wledges)g(the)g(e\013orts)h(of)e(Ric)o(hard)f(Stallman,)f(Mik)o(e)0 +1198 y(McMahon,)16 b(Alan)f(Ba)o(wden,)h(Glenn)f(Burk)o(e,)i(and)f +(\\man)o(y)d(p)q(eople)j(to)q(o)g(n)o(umerous)f(to)0 +1249 y(list.")42 1312 y(I)k(thank)h(Ph)o(yllis)f(Keenan,)j(Chase)e +(Du\013y)m(,)g(Virginia)e(Anderson,)k(John)e(Osb)q(orn,)0 +1364 y(and)f(Jonathan)f(Bak)o(er)i(of)e(Digital)f(Press)j(for)f(their)g +(help)g(in)f(preparing)h(this)g(b)q(o)q(ok)0 1416 y(for)g(publication.) +35 b(Jane)20 b(Blak)o(e)g(did)f(an)h(admirable)e(job)h(of)g(cop)o +(y-editing.)35 b(James)0 1467 y(Gibson)11 b(and)h(Katherine)h(Do)o(wns) +f(of)f(W)m(aldman)e(Graphics)j(w)o(ere)h(most)e(co)q(op)q(erativ)o(e)h +(in)0 1519 y(t)o(yp)q(esetting)j(this)f(b)q(o)q(ok)f(from)g(m)o(y)f +(on-line)h(man)o(uscript)g(\014les.)42 1582 y(I)18 b(am)f(grateful)i +(to)f(Carnegie-Mellon)g(Univ)o(ersit)o(y)h(and)g(to)f(T)m(artan)h(Lab)q +(oratories)0 1633 y(Incorp)q(orated)14 b(for)e(supp)q(orting)h(me)e(in) +h(the)i(writing)d(of)h(this)h(b)q(o)q(ok)f(o)o(v)o(er)h(the)g(last)f +(three)0 1685 y(y)o(ears.)42 1748 y(P)o(art)i(of)g(the)h(w)o(ork)f(on)g +(this)g(b)q(o)q(ok)h(w)o(as)f(done)g(in)g(conjunction)h(with)f(the)h +(Carnegie-)0 1800 y(Mellon)e(Univ)o(ersit)o(y)g(Spice)h(Pro)r(ject,)g +(an)g(e\013ort)g(to)f(construct)i(an)e(adv)n(anced)h(scien)o(ti\014c)0 +1851 y(soft)o(w)o(are)d(dev)o(elopmen)o(t)f(en)o(vironmen)o(t)g(for)h +(p)q(ersonal)g(computers.)17 b(The)12 b(Spice)f(Pro)r(ject)0 +1903 y(is)g(supp)q(orted)h(b)o(y)e(the)i(Defense)g(Adv)n(anced)f +(Researc)o(h)h(Pro)r(jects)g(Agency)m(,)f(Departmen)o(t)0 +1955 y(of)i(Defense,)i(ARP)m(A)e(Order)i(3597,)e(monitored)f(b)o(y)i +(the)g(Air)g(F)m(orce)h(Avionics)e(Lab)q(ora-)0 2007 +y(tory)h(under)g(con)o(tract)h(F33615-78-C-1551.)g(The)f(views)g(and)g +(conclusions)g(con)o(tained)0 2059 y(in)c(this)g(b)q(o)q(ok)f(are)i +(those)g(of)e(the)i(author)f(and)f(should)h(not)g(b)q(e)h(in)o +(terpreted)g(as)g(represen)o(t-)0 2111 y(ing)i(the)i(o\016cial)d(p)q +(olicies,)i(either)h(expressed)h(or)e(implied,)d(of)i(the)i(Defense)g +(Adv)n(anced)0 2163 y(Researc)o(h)g(Pro)r(jects)h(Agency)e(or)g(the)g +(U.S.)g(Go)o(v)o(ernmen)o(t.)42 2225 y(Most)e(of)g(the)i(writing)d(of)h +(this)h(b)q(o)q(ok)f(to)q(ok)g(place)h(b)q(et)o(w)o(een)h(midnigh)o(t)c +(and)j(5)f(A.M.)g(I)0 2277 y(am)g(grateful)h(to)g(Barbara,)h(Julia,)e +(and)i(P)o(eter)g(for)g(putting)f(up)h(with)f(it,)g(and)g(for)g(their)0 +2329 y(lo)o(v)o(e.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 27 23 +27 22 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(A)o(CKNO)o(WLEDGMENTS)12 +b(\(FIRST)h(EDITION,)f(1984\))514 b(xxvii)0 295 y Fw(Guy)13 +b(L.)h(Steele)h(Jr.)0 347 y(Pittsburgh,)f(P)o(ennsylv)n(ania)0 +399 y(Marc)o(h)g(1984)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 28 24 +28 23 bop 399 640 a FA(W)m(ould)14 b(it)f(b)q(e)h(w)o(onderful)g(if,)f +(under)h(the)399 686 y(pressure)f(of)g(all)i(these)e(di\016culties,)i +(the)399 732 y(Con)o(v)o(en)o(tion)f(should)h(ha)o(v)o(e)f(b)q(een)399 +777 y(forced)f(in)o(to)h(some)f(deviations)i(from)399 +823 y(that)e(arti\014-)g(cial)i(structure)e(and)399 869 +y(regular)h(symmetry)f(whic)o(h)h(an)399 914 y(abstract)f(view)h(of)e +(the)i(sub)r(ject)f(migh)o(t)399 960 y(lead)h(an)f(ingenious)j +(theorist)e(to)399 1006 y(b)q(esto)o(w)f(on)g(a)g(constitution)j +(planned)399 1051 y(in)d(his)h(closet)g(or)f(in)h(his)g(imagination?) +399 1126 y(|)p Fq(James)f(Madison,)f(The)h(F)m(e)n(der)n(alist)437 +1172 y(No.)j(37,)d(January)f(11,)h(1788)p eop +%%Page: 1 25 +1 24 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(1)p 0 448 598 9 +v 0 531 a Fp(Intro)r(duction)0 886 y Fw(Common)14 b(Lisp)i(is)h(a)g +(new)g(dialect)g(of)f(Lisp,)h(a)g(successor)i(to)e(MacLisp)g([33)o(,)g +(37],)f(in-)0 938 y(\015uenced)f(strongly)f(b)o(y)f(Zetalisp)h([55)o(,) +g(34)o(])f(and)h(to)g(some)f(exten)o(t)h(b)o(y)g(Sc)o(heme)g([46)o(])f +(and)0 990 y(In)o(terlisp)h([50)o(].)0 1137 y Fo(1.1.)20 +b(Purp)r(ose)0 1222 y Fw(Common)11 b(Lisp)i(is)h(in)o(tended)h(to)e +(meet)h(these)h(goals:)0 1323 y Fv(Commonality)0 1386 +y Fw(Common)f(Lisp)j(originated)f(in)h(an)f(attempt)h(to)g(fo)q(cus)g +(the)h(w)o(ork)f(of)f(sev)o(eral)i(imple-)0 1438 y(men)o(tation)12 +b(groups,)h(eac)o(h)h(of)f(whic)o(h)h(w)o(as)f(constructing)i +(successor)h(implemen)o(tatio)o(ns)0 1490 y(of)j(MacLisp)g(for)g +(di\013eren)o(t)i(computers.)35 b(These)20 b(implemen)o(tations)d(had)i +(b)q(egun)h(to)0 1542 y(div)o(erge)d(b)q(ecause)i(of)d(the)h +(di\013erences)i(in)e(the)g(implemen)o(tation)d(en)o(vironmen)o(ts:)23 +b(mi-)0 1594 y(cro)q(co)q(ded)c(p)q(ersonal)e(computers)g(\(Zetalisp,)h +(Spice)f(Lisp\),)h(commercial)c(timeshared)0 1646 y(computers)k +(\(NIL|the)f(\\New)h(Implemen)o(tation)c(of)j(Lisp"\),)h(and)f(sup)q +(ercomputers)0 1698 y(\(S-1)d(Lisp\).)19 b(While)13 b(the)i +(di\013erences)i(among)12 b(the)j(sev)o(eral)f(implemen)o(tation)d(en)o +(viron-)0 1749 y(men)o(ts)k(of)f(necessit)o(y)j(will)d(con)o(tin)o(ue)h +(to)g(force)h(certain)g(incompatibili)o(ties)d(among)g(the)0 +1801 y(implemen)o(tatio)o(ns,)k(Common)e(Lisp)k(serv)o(es)h(as)e(a)g +(common)e(dialect)i(to)h(whic)o(h)f(eac)o(h)0 1853 y(implemen)o(tatio)o +(n)11 b(mak)o(es)i(an)o(y)h(necessary)h(extensions.)0 +1954 y Fv(Portability)0 2017 y Fw(Common)i(Lisp)j(in)o(ten)o(tionally)e +(excludes)j(features)h(that)e(cannot)g(b)q(e)h(implemen)o(ted)0 +2069 y(easily)f(on)g(a)g(broad)g(class)h(of)e(mac)o(hines.)36 +b(On)21 b(the)g(one)f(hand,)i(features)f(that)f(are)0 +2121 y(di\016cult)d(or)h(exp)q(ensiv)o(e)h(to)f(implemen)o(t)d(on)j +(hardw)o(are)g(without)g(sp)q(ecial)g(micro)q(co)q(de)0 +2173 y(are)k(a)o(v)o(oided)e(or)h(pro)o(vided)g(in)g(a)g(more)f +(abstract)i(and)f(e\016cien)o(tly)g(implem)o(en)o(table)0 +2225 y(form.)27 b(\(Examples)16 b(of)h(this)g(are)h(the)g(in)o(visible) +e(forw)o(arding)g(p)q(oin)o(ters)i(and)f(lo)q(cativ)o(es)0 +2277 y(of)h(Zetalisp.)33 b(Some)17 b(of)h(the)h(problems)f(that)h(they) +g(solv)o(e)g(are)g(addressed)h(in)e(di\013er-)0 2329 +y(en)o(t)j(w)o(a)o(ys)f(in)f(Common)e(Lisp.\))37 b(On)21 +b(the)f(other)h(hand,)g(features)h(that)e(are)h(useful)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1376 2428 a Fy(1)p eop +%%Page: 2 26 +2 25 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(2)77 b(COMMON)12 +b(LISP)0 295 y Fw(only)j(on)h(certain)g(\\ordinary")g(or)f +(\\commercial")e(pro)q(cessors)18 b(are)f(a)o(v)o(oided)e(or)h(made)0 +347 y(optional.)26 b(\(An)17 b(example)f(of)g(this)h(is)g(the)g(t)o(yp) +q(e)h(declaration)e(facilit)o(y)m(,)f(whic)o(h)i(is)g(use-)0 +399 y(ful)h(in)h(some)f(implemen)o(tati)o(ons)f(and)h(completely)g +(ignored)h(in)f(others.)35 b(T)o(yp)q(e)19 b(dec-)0 450 +y(larations)f(are)h(completely)f(optional)f(and)i(for)f(correct)j +(programs)c(a\013ect)j(only)e(e\016-)0 502 y(ciency)m(,)g(not)g(seman)o +(tics.\))29 b(Commo)o(n)15 b(Lisp)i(is)h(designed)g(to)g(mak)o(e)e(it)h +(easy)h(to)f(write)0 554 y(programs)h(that)h(dep)q(end)h(as)g(little)e +(as)h(p)q(ossible)h(on)e(mac)o(hine-sp)q(eci\014c)i(c)o(haracteris-)0 +606 y(tics,)j(suc)o(h)f(as)g(w)o(ord)f(length,)i(while)e(allo)o(wing)e +(some)i(v)n(ariet)o(y)f(of)h(implemen)o(tation)0 658 +y(tec)o(hniques)q(.)0 753 y Fv(Consistency)0 816 y Fw(Most)15 +b(Lisp)g(implem)o(en)o(tations)d(are)k(in)o(ternally)d(inconsisten)o(t) +j(in)e(that)h(b)o(y)g(default)f(the)0 868 y(in)o(terpreter)i(and)e +(compiler)f(ma)o(y)g(assign)h(di\013eren)o(t)h(seman)o(tics)f(to)g +(correct)i(programs.)0 920 y(This)i(seman)o(tic)f(di\013erence)i(stems) +f(primarily)d(from)h(the)j(fact)f(that)f(the)i(in)o(terpreter)0 +972 y(assumes)11 b(all)f(v)n(ariables)h(to)g(b)q(e)h(dynamically)d +(scop)q(ed,)j(whereas)h(the)f(compiler)e(assumes)0 1024 +y(all)15 b(v)n(ariables)h(to)g(b)q(e)h(lo)q(cal)f(unless)h(explicitly)e +(directed)j(otherwise.)27 b(This)16 b(di\013erence)0 +1076 y(has)e(b)q(een)h(the)g(usual)f(practice)h(in)e(Lisp)h(for)g(the)g +(sak)o(e)g(of)g(con)o(v)o(enience)h(and)f(e\016ciency)0 +1128 y(but)20 b(can)g(lead)f(to)g(v)o(ery)h(subtle)g(bugs.)36 +b(The)20 b(de\014nition)f(of)g(Common)d(Lisp)k(a)o(v)o(oids)0 +1179 y(suc)o(h)14 b(anomalies)d(b)o(y)h(explicitly)g(requiring)h(the)h +(in)o(terpreter)h(and)d(compiler)g(to)h(imp)q(ose)0 1231 +y(iden)o(tical)g(seman)o(tics)h(on)f(correct)j(programs)d(so)g(far)h +(as)g(p)q(ossible.)0 1327 y Fv(Expr)n(essiveness)0 1390 +y Fw(Common)9 b(Lisp)k(culls)g(what)f(exp)q(erience)j(has)e(sho)o(wn)g +(to)f(b)q(e)i(the)f(most)e(useful)i(and)g(un-)0 1441 +y(derstandable)i(constructs)h(from)c(not)h(only)h(MacLisp)g(but)g(also) +f(In)o(terlisp,)g(other)i(Lisp)0 1493 y(dialects,)k(and)e(other)i +(programmi)o(ng)c(languages.)29 b(Constructs)19 b(judged)f(to)g(b)q(e)g +(a)o(wk-)0 1545 y(w)o(ard)d(or)f(less)i(useful)f(ha)o(v)o(e)f(b)q(een)i +(excluded.)22 b(\(An)15 b(example)e(is)i(the)g Fs(store)f +Fw(construct)0 1597 y(of)f(MacLisp.\))0 1692 y Fv(Comp)n(atibility)0 +1755 y Fw(Unless)19 b(there)h(is)f(a)f(go)q(o)q(d)g(reason)i(to)e(the)h +(con)o(trary)m(,)g(Common)d(Lisp)i(striv)o(es)i(to)e(b)q(e)0 +1807 y(compatible)c(with)h(Lisp)g(Mac)o(hine)h(Lisp,)f(MacLisp,)h(and)f +(In)o(terlisp,)h(roughly)f(in)g(that)0 1859 y(order.)0 +1954 y Fv(E\016ciency)0 2017 y Fw(Common)7 b(Lisp)j(has)g(a)g(n)o(um)o +(b)q(er)g(of)f(features)j(designed)f(to)f(facilitate)f(the)i(pro)q +(duction)f(of)0 2069 y(high-qualit)o(y)f(compiled)g(co)q(de)j(in)e +(those)i(implemen)o(tati)o(ons)d(whose)i(dev)o(elop)q(ers)h(care)g(to)0 +2121 y(in)o(v)o(est)f(e\013ort)h(in)e(an)h(optimizing)d(compiler.)16 +b(One)c(implemen)o(tatio)o(n)c(of)j(Commo)o(n)d(Lisp,)0 +2173 y(namely)17 b(S-1)h(Lisp,)h(already)f(has)h(a)g(compiler)e(that)h +(pro)q(duces)j(co)q(de)e(for)f(n)o(umerical)0 2225 y(computations)h +(that)i(is)f(comp)q(etitiv)o(e)f(in)h(execution)h(sp)q(eed)h(to)f(that) +f(pro)q(duced)i(b)o(y)0 2277 y(a)d(F)m(ortran)g(compiler)e([11)o(].)33 +b(The)20 b(S-1)e(Lisp)h(compiler)f(extends)i(the)g(w)o(ork)f(done)g(in) +0 2329 y(MacLisp)14 b(to)g(pro)q(duce)h(extremely)e(e\016cien)o(t)i(n)o +(umerical)d(co)q(de)j([19)o(].)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 3 27 +3 26 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INTRODUCTION)1088 +b(3)0 295 y Fv(Power)0 358 y Fw(Common)17 b(Lisp)j(is)f(a)h(descendan)o +(t)i(of)d(MacLisp,)i(whic)o(h)f(has)h(traditionally)c(placed)0 +410 y(emphasis)12 b(on)h(pro)o(viding)e(system-building)g(to)q(ols.)18 +b(Suc)o(h)13 b(to)q(ols)g(ma)o(y)e(in)h(turn)h(b)q(e)h(used)0 +462 y(to)f(build)g(the)h(user-lev)o(el)g(pac)o(k)n(ages)g(suc)o(h)g(as) +g(In)o(terlisp)f(pro)o(vides;)h(these)h(pac)o(k)n(ages)e(are)0 +513 y(not,)f(ho)o(w)o(ev)o(er,)g(part)h(of)e(the)i(Common)c(Lisp)j +(core)h(sp)q(eci\014cation.)18 b(It)13 b(is)f(exp)q(ected)i(suc)o(h)0 +565 y(pac)o(k)n(ages)g(will)e(b)q(e)j(built)e(on)h(top)f(of)h(the)g +(Common)d(Lisp)j(core.)0 681 y Fv(Stability)0 744 y Fw(It)f(is)h(in)o +(tended)g(that)f(Common)d(Lisp)k(will)d(c)o(hange)j(only)f(slo)o(wly)f +(and)h(with)g(due)h(delib-)0 796 y(eration.)24 b(The)16 +b(v)n(arious)f(dialects)h(that)g(are)h(sup)q(ersets)h(of)d(Common)e +(Lisp)j(ma)o(y)d(serv)o(e)0 848 y(as)h(lab)q(oratories)f(within)g(whic) +o(h)g(to)g(test)i(language)e(extensions,)h(but)f(suc)o(h)i(extensions)0 +900 y(will)10 b(b)q(e)j(added)f(to)f(Common)e(Lisp)i(only)g(after)h +(careful)g(examination)d(and)j(exp)q(erimen-)0 952 y(tation.)42 +1080 y(The)k(goals)g(of)g(Common)d(Lisp)j(are)h(th)o(us)g(v)o(ery)g +(close)g(to)f(those)h(of)f(Standard)h(Lisp)0 1132 y([31)o(])g(and)h(P)o +(ortable)g(Standard)f(Lisp)h([51)o(].)29 b(Common)14 +b(Lisp)k(di\013ers)h(from)d(Standard)0 1184 y(Lisp)i(primarily)e(in)h +(incorp)q(orating)h(more)f(features,)j(including)d(a)h(ric)o(her)h(and) +f(more)0 1236 y(complicated)13 b(set)h(of)g(data)f(t)o(yp)q(es)i(and)f +(more)f(complex)f(con)o(trol)i(structures.)42 1289 y(This)25 +b(b)q(o)q(ok)g(is)h(in)o(tended)g(to)f(b)q(e)h(a)f(language)g(sp)q +(eci\014cation)h(rather)g(than)g(an)0 1341 y(implemen)o(tatio)o(n)17 +b(sp)q(eci\014cation)j(\(although)f(implemen)o(tation)d(notes)21 +b(are)f(scattered)0 1393 y(throughout)13 b(the)g(text\).)19 +b(It)13 b(de\014nes)h(a)e(set)i(of)e(standard)i(language)d(concepts)k +(and)e(con-)0 1445 y(structs)f(that)f(ma)o(y)e(b)q(e)i(used)h(for)e +(comm)o(unication)e(of)i(data)g(structures)j(and)e(algorithms)0 +1497 y(in)g(the)h(Common)c(Lisp)k(dialect.)17 b(This)11 +b(set)h(of)f(concepts)i(and)f(constructs)h(is)f(sometimes)0 +1549 y(referred)g(to)f(as)g(the)g(\\core)g(Common)c(Lisp)k(language")e +(b)q(ecause)k(it)d(con)o(tains)h(conceptu-)0 1601 y(ally)h(necessary)k +(or)d(imp)q(ortan)o(t)f(features.)19 b(It)13 b(is)h(not)f(necessarily)i +(implem)o(en)o(tational)o(ly)0 1653 y(minim)o(al.)f(While)f(man)o(y)e +(features)k(could)e(b)q(e)h(de\014ned)g(in)f(terms)g(of)g(others)h(b)o +(y)g(writing)0 1705 y(Lisp)i(co)q(de,)i(and)e(indeed)h(ma)o(y)d(b)q(e)j +(implemen)o(ted)d(that)j(w)o(a)o(y)m(,)e(it)h(w)o(as)h(felt)f(that)g +(these)0 1756 y(features)h(should)f(b)q(e)h(conceptually)g(primitiv)o +(e)d(so)i(that)g(there)i(migh)o(t)c(b)q(e)j(agreemen)o(t)0 +1808 y(among)7 b(all)h(users)j(as)f(to)f(their)h(usage.)17 +b(\(F)m(or)9 b(example,)f(bign)o(ums)g(and)h(rational)f(n)o(um)o(b)q +(ers)0 1860 y(could)14 b(b)q(e)g(implemen)o(ted)d(as)j(Lisp)g(co)q(de)h +(giv)o(en)e(op)q(erations)h(on)f(\014xn)o(ums.)k(Ho)o(w)o(ev)o(er,)d +(it)0 1912 y(is)d(imp)q(ortan)o(t)f(to)h(the)h(conceptual)h(in)o +(tegrit)o(y)e(of)f(the)j(language)d(that)i(they)g(b)q(e)g(regarded)0 +1964 y(b)o(y)k(the)h(user)g(as)g(primitiv)o(e,)d(and)i(they)h(are)g +(useful)f(enough)h(to)f(w)o(arran)o(t)g(a)g(standard)0 +2016 y(de\014nition.\))42 2069 y(F)m(or)f(the)i(most)e(part,)h(this)g +(b)q(o)q(ok)g(de\014nes)h(a)f(programmi)o(ng)d(language,)i(not)h(a)g +(pro-)0 2121 y(grammi)o(ng)c(en)o(vironmen)o(t.)21 b(A)15 +b(few)g(in)o(terfaces)h(are)f(de\014ned)h(for)f(in)o(v)o(oking)e(suc)o +(h)j(stan-)0 2173 y(dard)i(programming)d(to)q(ols)j(as)g(a)g(compiler,) +f(an)h(editor,)i(a)d(program)g(trace)i(facilit)o(y)m(,)0 +2225 y(and)c(a)g(debugger,)h(but)f(v)o(ery)h(little)e(is)h(said)g(ab)q +(out)g(their)h(nature)g(or)f(op)q(eration.)22 b(It)15 +b(is)0 2277 y(exp)q(ected)g(that)e(one)g(or)g(more)f(extensiv)o(e)i +(programming)9 b(en)o(vironmen)o(ts)j(will)g(b)q(e)h(built)0 +2329 y(using)h(Commo)o(n)d(Lisp)j(as)g(a)g(foundation,)e(and)h(will)g +(b)q(e)h(do)q(cumen)o(ted)g(separately)m(.)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 4 28 +4 27 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(4)77 b(COMMON)12 +b(LISP)42 295 y Fw(There)i(are)f(no)o(w)g(man)o(y)e(implem)o(en)o +(tations)g(of)h(Common)e(Lisp,)i(some)g(programmed)-33 +266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(b)o(y)g(researc)o(h)i(groups)e(in)g(univ)o +(ersities)g(and)g(some)f(b)o(y)h(companies)f(that)h(sell)g(them)f(com-) +0 399 y(mercially)m(,)18 b(and)h(a)g(n)o(um)o(b)q(er)g(of)f(useful)i +(programmi)o(ng)c(en)o(vironmen)o(ts)j(ha)o(v)o(e)g(indeed)0 +450 y(gro)o(wn)c(up)g(around)g(these)i(implemen)o(tatio)o(ns.)j(What)15 +b(is)g(more,)f(all)g(the)i(goals)e(stated)0 502 y(ab)q(o)o(v)o(e)k(ha)o +(v)o(e)h(b)q(een)h(ac)o(hiev)o(ed,)g(most)d(notably)h(that)h(of)f(p)q +(ortabilit)o(y)m(.)30 b(Mo)o(ving)18 b(large)0 554 y(b)q(o)q(dies)c(of) +g(Lisp)f(co)q(de)i(from)d(one)i(computer)g(to)g(another)g(is)g(no)o(w)f +(routine.)-33 566 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 704 a Fo(1.2.)20 b(Notational)14 b(Con)n(v)n(en)n(tions) +0 789 y Fw(A)e(n)o(um)o(b)q(er)f(of)h(sp)q(ecial)g(notational)f(con)o +(v)o(en)o(tions)h(are)g(used)h(throughout)f(this)g(b)q(o)q(ok)g(for)0 +841 y(the)i(sak)o(e)h(of)e(conciseness.)0 990 y Fo(1.2.1.)20 +b(Decimal)12 b(Num)n(b)r(ers)0 1075 y Fw(All)j(n)o(um)o(b)q(ers)h(in)g +(this)g(b)q(o)q(ok)g(are)h(in)f(decimal)e(notation)i(unless)h(there)g +(is)f(an)g(explicit)0 1127 y(indication)e(to)h(the)h(con)o(trary)m(.)22 +b(\(Decimal)13 b(notation)h(is)h(normally)e(tak)o(en)i(for)g(gran)o +(ted,)0 1179 y(of)c(course.)19 b(Unfortunately)m(,)11 +b(for)h(certain)g(other)h(dialects)f(of)f(Lisp,)h(MacLisp)g(in)g +(partic-)0 1231 y(ular,)i(the)i(default)f(notation)f(for)h(n)o(um)o(b)q +(ers)f(is)h(o)q(ctal)g(\(base)h(8\))f(rather)h(than)f(decimal,)0 +1283 y(and)h(so)f(the)i(use)g(of)e(decimal)f(notation)h(for)g +(describing)h(Common)d(Lisp)j(is,)f(tak)o(en)h(in)0 1335 +y(its)e(historical)f(con)o(text,)h(a)g(bit)f(un)o(usual!\))0 +1484 y Fo(1.2.2.)20 b(Nil,)13 b(F)-5 b(alse,)15 b(and)g(the)g(Empt)n(y) +e(List)0 1569 y Fw(In)e(Common)d(Lisp,)j(as)h(in)e(most)h(Lisp)g +(dialects,)g(the)h(sym)o(b)q(ol)d Fs(nil)i Fw(is)g(used)h(to)f +(represen)o(t)0 1621 y(b)q(oth)f(the)h(empt)o(y)e(list)h(and)f(the)i +(\\false")e(v)n(alue)h(for)g(Bo)q(olean)g(tests.)18 b(An)10 +b(empt)o(y)f(list)h(ma)o(y)m(,)0 1673 y(of)15 b(course,)h(also)f(b)q(e) +h(written)g Fs(\(\))p Fw(;)f(this)g(normally)e(denotes)k(the)f(same)e +(ob)r(ject)i(as)g Fs(nil)p Fw(.)0 1725 y(\(It)e(is)g(p)q(ossible,)f(b)o +(y)h(extremely)f(p)q(erv)o(erse)j(manipulation)11 b(of)i(the)h(pac)o(k) +n(age)g(system,)f(to)0 1777 y(cause)20 b(the)f(sequence)i(of)d(letters) +i Fs(nil)e Fw(to)g(b)q(e)h(recognized)h(not)f(as)g(the)g(sym)o(b)q(ol)e +(that)0 1829 y(represen)o(ts)i(the)e(empt)o(y)e(list)h(but)g(as)g +(another)h(sym)o(b)q(ol)d(with)i(the)h(same)e(name.)24 +b(This)0 1880 y(obscure)19 b(p)q(ossibilit)o(y)c(will)h(b)q(e)i +(ignored)f(in)g(this)g(b)q(o)q(ok.\))28 b(These)18 b(t)o(w)o(o)f +(notations)g(ma)o(y)0 1932 y(b)q(e)i(used)h(in)o(terc)o(hangeably)e(as) +h(far)g(as)f(the)i(Lisp)e(system)h(is)f(concerned.)35 +b(Ho)o(w)o(ev)o(er,)0 1984 y(as)17 b(a)g(matter)f(of)h(st)o(yle,)g +(this)h(b)q(o)q(ok)e(uses)j(the)e(notation)g Fs(\(\))f +Fw(when)i(it)e(is)h(desirable)h(to)0 2036 y(emphasize)h(the)h(use)g(of) +f(an)g(empt)o(y)f(list,)i(and)f(uses)h(the)g(notation)f +Fs(nil)f Fw(when)i(it)f(is)0 2088 y(desirable)g(to)f(emphasize)h(the)g +(use)g(of)f(the)i(Bo)q(olean)e(\\false".)31 b(The)19 +b(notation)1306 2092 y Fn(')1329 2088 y Fs(nil)0 2140 +y Fw(\(note)c(the)g(explicit)f(quotation)f(mark\))g(is)h(used)i(to)e +(emphasize)g(the)h(use)g(of)f(a)g(sym)o(b)q(ol.)0 2192 +y(F)m(or)f(example:)0 2277 y Fs(\(defun)20 b(three)g(\(\))h(3\))181 +b(;)p Fw(Emphasize)13 b(empt)o(y)g(parameter)g(list)0 +2329 y Fs(\(append)171 2333 y Fn(')195 2329 y Fs(\(\))257 +2333 y Fn(')281 2329 y Fs(\(\)\))20 b Ft(\))h Fs(\(\))98 +b(;)p Fw(Emphasize)13 b(use)h(of)g(empt)o(y)f(lists)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 5 29 +5 28 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INTRODUCTION)1088 +b(5)0 295 y Fs(\(not)20 b(nil\))h Ft(\))f Fs(t)271 b(;)p +Fw(Emphasize)13 b(use)h(as)g(Bo)q(olean)g(\\false")0 +347 y Fs(\(get)106 351 y Fn(')130 347 y Fs(nil)214 351 +y Fn(')237 347 y Fs(color\))203 b(;)p Fw(Emphasize)13 +b(use)h(as)g(a)g(sym)o(b)q(ol)42 429 y(An)o(y)d(data)f(ob)r(ject)i +(other)g(than)f Fs(nil)g Fw(is)g(construed)h(to)f(b)q(e)h(Bo)q(olean)f +(\\not)g(false",)g(that)0 481 y(is,)g(\\true".)18 b(The)12 +b(sym)o(b)q(ol)e Fs(t)h Fw(is)h(con)o(v)o(en)o(tionally)d(used)k(to)e +(mean)g(\\true")h(when)g(no)f(other)0 533 y(v)n(alue)h(is)g(more)f +(appropriate.)17 b(When)c(a)f(function)g(is)g(said)f(to)h(\\return)i +Fv(false)p Fw(")d(or)h(to)g(\\b)q(e)0 585 y Fv(false)p +Fw(")i(in)h(some)f(circumstance,)h(this)g(means)f(that)h(it)g(returns)h +Fs(nil)p Fw(.)21 b(Ho)o(w)o(ev)o(er,)15 b(when)0 637 +y(a)e(function)h(is)f(said)h(to)f(\\return)i Fv(true)p +Fw(")e(or)h(to)g(\\b)q(e)g Fv(true)p Fw(")f(in)g(some)g(circumstance,)h +(this)0 688 y(means)f(that)h(it)g(returns)h(some)e(v)n(alue)g(other)i +(than)f Fs(nil)p Fw(,)e(but)i(not)g(necessarily)h Fs(t)p +Fw(.)0 819 y Fo(1.2.3.)20 b(Ev)m(aluation,)13 b(Expansion,)i(and)g +(Equiv)m(alence)0 898 y Fw(Execution)j(of)g(co)q(de)h(in)e(Lisp)h(is)g +(called)f Fv(evaluation)i Fw(b)q(ecause)g(executing)g(a)f(piece)g(of)0 +950 y(co)q(de)c(normally)c(results)15 b(in)e(a)f(data)h(ob)r(ject)h +(called)f(the)h Fv(value)f Fw(pro)q(duced)i(b)o(y)e(the)g(co)q(de.)0 +1002 y(The)h(sym)o(b)q(ol)e Ft(\))i Fw(is)f(used)i(in)f(examples)f(to)g +(indicate)h(ev)n(aluation.)j(F)m(or)c(example,)0 1084 +y Fs(\(+)21 b(4)g(5\))f Ft(\))h Fs(9)0 1167 y Fw(means)15 +b(\\the)h(result)h(of)e(ev)n(aluating)f(the)i(co)q(de)h +Fs(\(+)k(4)g(5\))15 b Fw(is)h(\(or)g(w)o(ould)e(b)q(e,)j(or)f(w)o(ould) +0 1219 y(ha)o(v)o(e)e(b)q(een\))h Fs(9)p Fw(.")42 1271 +y(The)d(sym)o(b)q(ol)f Ft(!)g Fw(is)h(used)i(in)d(examples)h(to)g +(indicate)g(macro)f(expansion.)17 b(F)m(or)12 b(exam-)0 +1322 y(ple,)0 1405 y Fs(\(push)20 b(x)h(v\))g Ft(!)g +Fs(\(setf)f(v)h(\(cons)f(x)h(v\)\))0 1487 y Fw(means)15 +b(\\the)h(result)h(of)e(expanding)g(the)h(macro-call)e(form)g +Fs(\(push)20 b(x)h(v\))15 b Fw(is)h Fs(\(setf)k(v)0 1539 +y(\(cons)g(x)h(v\)\))p Fw(.")i(This)16 b(implies)e(that)i(the)g(t)o(w)o +(o)g(pieces)h(of)e(co)q(de)i(do)e(the)i(same)e(thing;)0 +1591 y(the)f(second)h(piece)g(of)f(co)q(de)g(is)g(the)g(de\014nition)g +(of)f(what)h(the)h(\014rst)f(do)q(es.)42 1643 y(The)f(sym)o(b)q(ol)f +Ft(\021)h Fw(is)g(used)i(in)d(examples)h(to)g(indicate)g(co)q(de)h +(equiv)n(alence.)k(F)m(or)13 b(exam-)0 1695 y(ple,)0 +1777 y Fs(\(gcd)20 b(x)h(\(gcd)g(y)g(z\)\))f Ft(\021)i +Fs(\(gcd)e(\(gcd)g(x)h(y\))g(z\))0 1859 y Fw(means)14 +b(\\the)h(v)n(alue)f(and)g(e\013ects)j(of)d(ev)n(aluating)f(the)j(form) +d Fs(\(gcd)20 b(x)h(\(gcd)f(y)h(z\)\))14 b Fw(are)0 1911 +y(alw)o(a)o(ys)c(the)i(same)f(as)g(the)h(v)n(alue)f(and)g(e\013ects)i +(of)e Fs(\(gcd)20 b(\(gcd)h(x)g(y\))f(z\))11 b Fw(for)g(an)o(y)g(v)n +(alues)0 1963 y(of)i(the)i(v)n(ariables)e Fs(x)p Fw(,)h +Fs(y)p Fw(,)f(and)h Fs(z)p Fw(.")k(This)c(implies)e(that)i(the)g(t)o(w) +o(o)g(pieces)h(of)f(co)q(de)g(do)g(the)0 2015 y(same)20 +b(thing;)i(ho)o(w)o(ev)o(er,)g(neither)g(directly)e(de\014nes)i(the)f +(other)g(in)f(the)h(w)o(a)o(y)f(macro)0 2067 y(expansion)14 +b(do)q(es.)0 2197 y Fo(1.2.4.)20 b(Errors)0 2277 y Fw(When)12 +b(this)g(b)q(o)q(ok)g(sp)q(eci\014es)i(that)e(it)f(\\is)h(an)f(error")i +(for)f(some)f(situation)g(to)h(o)q(ccur,)h(this)0 2329 +y(means)g(that:)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 6 30 +6 29 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(6)77 b(COMMON)12 +b(LISP)0 286 y Fu(.)42 295 y Fw(No)h(v)n(alid)g(Comm)o(on)e(Lisp)j +(program)e(should)i(cause)h(this)f(situation)f(to)h(o)q(ccur.)0 +369 y Fu(.)42 378 y Fw(If)f(this)i(situation)e(o)q(ccurs,)i(the)g +(e\013ects)h(and)e(results)i(are)e(completely)f(unde\014ned)j(as)42 +430 y(far)d(as)h(adherence)i(to)e(the)g(Common)d(Lisp)i(sp)q +(eci\014cation)i(is)f(concerned.)0 504 y Fu(.)42 513 +y Fw(No)h(Common)e(Lisp)j(implemen)o(tation)d(is)j(required)h(to)f +(detect)h(suc)o(h)g(an)f(error.)26 b(Of)42 565 y(course,)13 +b(implemen)o(tors)d(are)i(encouraged)i(to)e(pro)o(vide)g(for)g +(detection)h(of)e(suc)o(h)i(errors)42 616 y(wherev)o(er)i(reasonable.)0 +687 y(This)g(is)f(not)h(to)f(sa)o(y)h(that)g(some)f(particular)g +(implemen)o(tatio)o(n)e(migh)o(t)h(not)h(de\014ne)i(the)0 +739 y(e\013ects)11 b(and)f(results)g(for)f(suc)o(h)h(a)f(situation;)h +(the)g(p)q(oin)o(t)e(is)i(that)f(no)g(program)f(conforming)0 +791 y(to)18 b(the)h(Commo)o(n)d(Lisp)i(sp)q(eci\014cation)h(ma)o(y)d +(correctly)j(dep)q(end)h(on)e(suc)o(h)h(e\013ects)h(or)0 +843 y(results.)42 895 y(On)13 b(the)h(other)f(hand,)g(if)f(it)h(is)g +(sp)q(eci\014ed)h(in)f(this)g(b)q(o)q(ok)g(that)g(in)g(some)f +(situation)g(\\an)0 947 y(error)j(is)f Fv(signale)n(d)p +Fw(,")f(this)h(means)f(that:)0 1009 y Fu(.)42 1018 y +Fw(If)g(this)h(situation)f(o)q(ccurs,)i(an)f(error)h(will)d(b)q(e)i +(signaled)g(\(see)h Fs(error)e Fw(and)h Fs(cerror)p Fw(\).)0 +1092 y Fu(.)42 1101 y Fw(V)m(alid)h(Common)f(Lisp)j(programs)e(ma)o(y)g +(rely)i(on)g(the)h(fact)f(that)g(an)g(error)h(will)d(b)q(e)42 +1153 y(signaled.)0 1227 y Fu(.)42 1236 y Fw(Ev)o(ery)f(Common)d(Lisp)i +(implemen)o(tation)e(is)i(required)i(to)f(detect)h(suc)o(h)g(an)f +(error.)42 1306 y(In)h(places)h(where)g(it)f(is)g(stated)h(that)f +(so-and-so)g(\\m)o(ust")f(or)h(\\m)o(ust)f(not")h(or)g(\\ma)o(y)0 +1358 y(not")h(b)q(e)g(the)h(case,)g(then)g(it)e(\\is)h(an)g(error")h +(if)e(the)h(stated)h(requiremen)o(t)f(is)g(not)g(met.)0 +1410 y(F)m(or)e(example,)e(if)h(an)h(argumen)o(t)e(\\m)o(ust)h(b)q(e)i +(a)e(sym)o(b)q(ol,")f(then)i(it)g(\\is)g(an)f(error")i(if)e(the)0 +1462 y(argumen)o(t)i(is)g(not)h(a)g(sym)o(b)q(ol.)22 +b(In)15 b(all)g(cases)i(where)g(an)f(error)g(is)g(to)g(b)q(e)g +Fv(signale)n(d)p Fw(,)g(the)0 1514 y(w)o(ord)e(\\signaled")f(is)g(alw)o +(a)o(ys)g(used)i(explicitly)e(in)g(this)h(b)q(o)q(ok.)42 +1566 y(X3J13)f(has)h(adopted)g(a)f(more)g(elab)q(orate)g(terminology)f +(for)h(errors,)i(and)e(has)h(made)-33 1538 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1618 a(some)k(e\013ort)i(to)f(sp)q(ecify)h(the)g(t)o(yp) +q(e)f(of)g(error)h(to)f(b)q(e)g(signaled)g(in)g(situations)g(where)0 +1670 y(signaling)13 b(is)h(appropriate.)20 b(This)15 +b(e\013ort)g(w)o(as)f(not)h(complete)f(as)g(of)g(Septem)o(b)q(er)h +(1989,)0 1722 y(and)21 b(I)f(ha)o(v)o(e)h(made)e(little)h(attempt)g(to) +h(incorp)q(orate)g(the)g(new)g(error)h(terminology)0 +1773 y(or)c(error)h(t)o(yp)q(e)f(sp)q(eci\014cations)h(in)f(this)g(b)q +(o)q(ok.)30 b(Ho)o(w)o(ev)o(er,)19 b(the)g(new)f(terminology)e(is)0 +1825 y(describ)q(ed)i(and)e(used)h(in)e(the)i(sp)q(eci\014cation)g(of)e +(the)i(Common)c(Lisp)j(Ob)r(ject)h(System)0 1877 y(app)q(earing)c(in)g +(c)o(hapter)i(28;)d(this)i(giv)o(es)f(the)h(\015a)o(v)o(or)f(of)f(ho)o +(w)h(erroneous)i(situations)e(will)0 1929 y(b)q(e)18 +b(describ)q(ed,)i(and)d(appropriate)h(actions)f(prescrib)q(ed,)j(in)d +(the)h(forthcoming)d(ANSI)0 1981 y(Common)c(Lisp)i(standard.)-33 +1993 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2138 a Fo(1.2.5.)20 b(Descriptions)14 +b(of)h(F)-5 b(unctions)15 b(and)g(Other)g(En)n(tities)0 +2225 y Fw(F)m(unctions,)23 b(v)n(ariables,)e(named)f(constan)o(ts,)k +(sp)q(ecial)d(forms,)g(and)h(macros)e(are)h(de-)0 2277 +y(scrib)q(ed)g(using)e(a)g(distinctiv)o(e)h(t)o(yp)q(ographical)f +(format.)33 b(T)m(able)19 b(1-)o(1)g(illustrates)h(the)0 +2329 y(manner)f(in)h(whic)o(h)g(Common)d(Lisp)j(functions)h(are)f(do)q +(cumen)o(ted.)37 b(The)21 b(\014rst)g(line)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 7 31 +7 30 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INTRODUCTION)1088 +b(7)p 0 255 1395 2 v 0 344 a Fm(T)l(able)14 b(1-1:)k +FA(Sample)c(F)m(unction)h(Description)1209 446 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(sample-function)18 b +Fv(ar)n(g1)27 b(ar)n(g2)f Fs(&optional)20 b Fv(ar)n(g3)26 +b(ar)n(g4)0 523 y Fw(The)16 b(function)f Fs(sample-function)d +Fw(adds)j(together)i Fv(ar)n(g1)e Fw(and)g Fv(ar)n(g2)p +Fw(,)g(and)g(then)h(m)o(ul-)0 575 y(tiplies)d(the)h(result)g(b)o(y)g +Fv(ar)n(g3)p Fw(.)j(If)d Fv(ar)n(g3)f Fw(is)g(not)h(pro)o(vided)f(or)g +(is)h Fs(nil)p Fw(,)e(the)i(m)o(ultiplication)0 626 y(isn't)i(done.)26 +b Fs(sample-function)14 b Fw(then)j(returns)h(a)e(list)g(whose)h +(\014rst)g(elemen)o(t)f(is)h(this)0 678 y(result)e(and)g(whose)g +(second)g(elemen)o(t)f(is)h Fv(ar)n(g4)f Fw(\(whic)o(h)h(defaults)f(to) +h(the)g(sym)o(b)q(ol)e Fs(foo)p Fw(\).)0 730 y(F)m(or)g(example:)0 +815 y Fs(\(sample-function)18 b(3)j(4\))g Ft(\))f Fs(\(7)h(foo\))0 +867 y(\(sample-function)d(1)j(2)g(2)497 871 y Fn(')520 +867 y Fs(bar\))f Ft(\))h Fs(\(6)g(bar\))0 952 y Fw(In)14 +b(general,)g Fs(\(sample-functio)o(n)k Fv(x)k(y)p Fs(\))14 +b Ft(\021)g Fs(\(list)20 b(\(+)h Fv(x)g(y)p Fs(\))1015 +956 y Fn(')1038 952 y Fs(foo\))p Fw(.)p 0 1013 V 0 1090 +a Fm(T)l(able)14 b(1-2:)k FA(Sample)c(V)m(ariable)h(Description)1219 +1191 y Fw([)p Fv(V)m(ariable)s Fw(])-1396 b Fs(*sample-variable*)0 +1268 y Fw(The)15 b(v)n(ariable)f Fs(*sample-variable)o(*)e +Fw(sp)q(eci\014es)k(ho)o(w)f(man)o(y)d(times)i(the)i(sp)q(ecial)e(form) +0 1320 y Fs(sample-special-fo)o(rm)i Fw(should)j(iterate.)35 +b(The)20 b(v)n(alue)e(should)h(alw)o(a)o(ys)f(b)q(e)i(a)f(non-)0 +1372 y(negativ)o(e)d(in)o(teger)h(or)f Fs(nil)f Fw(\(whic)o(h)h(means)f +(iterate)i(inde\014nitely)f(man)o(y)e(times\).)24 b(The)0 +1424 y(initial)12 b(v)n(alue)h(is)h Fs(0)g Fw(\(meaning)e(no)h +(iterations\).)p 0 1486 V 0 1563 a Fm(T)l(able)h(1-3:)k +FA(Sample)c(Constan)o(t)g(Description)1204 1664 y Fw([)p +Fv(Constant)t Fw(])-1395 b Fs(sample-constant)0 1741 +y Fw(The)21 b(named)f(constan)o(t)h Fs(sample-constant)d +Fw(has)j(as)f(its)h(v)n(alue)f(the)h(heigh)o(t)g(of)f(the)0 +1793 y(terminal)9 b(screen)k(in)d(furlongs)g(times)g(the)i(base-2)f +(logarithm)d(of)i(the)h(implemen)o(tation')o(s)0 1845 +y(total)i(disk)h(capacit)o(y)g(in)f(b)o(ytes,)h(as)g(a)g(\015oating-p)q +(oin)o(t)e(n)o(um)o(b)q(er.)p 0 1904 V 0 2017 a(sp)q(eci\014es)i(the)f +(name)f(of)g(the)h(function,)f(the)h(manner)e(in)h(whic)o(h)h(it)f +(accepts)i(argumen)o(ts,)0 2069 y(and)f(the)g(fact)g(that)f(it)h(is)f +(a)h(function.)k(If)c(the)g(function)f(tak)o(es)h(man)o(y)e(argumen)o +(ts,)h(then)0 2121 y(the)18 b(names)e(of)h(the)g(argumen)o(ts)g(ma)o(y) +e(spill)h(across)i(t)o(w)o(o)e(or)i(three)g(lines.)28 +b(The)17 b(para-)0 2172 y(graphs)f(follo)o(wing)e(this)i(standard)g +(header)h(explain)e(the)i(de\014nition)f(and)f(uses)j(of)d(the)0 +2224 y(function)f(and)f(often)h(presen)o(t)i(examples)d(or)h(related)g +(functions.)42 2277 y(Sometimes)9 b(t)o(w)o(o)h(or)h(more)f(related)i +(functions)f(are)h(explained)f(in)f(a)h(single)g(com)o(bined)0 +2329 y(description.)18 b(In)10 b(this)h(situation)f(the)i(headers)g +(for)e(all)g(the)h(functions)g(app)q(ear)g(together,)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 8 32 +8 31 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(8)77 b(COMMON)12 +b(LISP)p 0 255 1395 2 v 0 344 a Fm(T)l(able)i(1-4:)k +FA(Sample)c(Sp)q(ecial)h(F)m(orm)e(Description)1145 446 +y Fw([)p Fv(Sp)n(e)n(cial)i(form)s Fw(])-1396 b Fs(sample-special-fo)o +(rm)39 b Fw([)p Fv(name)p Fw(])21 b Fs(\()7 b Ft(f)p +Fv(var)p Ft(g)727 431 y Fl(\003)752 446 y Fs(\))22 b +Ft(f)7 b Fv(form)p Ft(g)931 431 y Fk(+)0 523 y Fw(This)15 +b(ev)n(aluates)h(eac)o(h)g(form)e(in)h(sequence)i(as)f(an)f(implicit)e +Fs(progn)p Fw(,)h(and)i(do)q(es)g(this)g(as)0 575 y(man)o(y)h(times)h +(as)h(sp)q(eci\014ed)h(b)o(y)f(the)h(global)d(v)n(ariable)h +Fs(*sample-variable*)o Fw(.)30 b(Eac)o(h)0 626 y(v)n(ariable)14 +b Fv(var)h Fw(is)g(b)q(ound)g(and)f(initialized)g(to)h +Fs(43)f Fw(b)q(efore)i(the)g(\014rst)g(iteration,)e(and)h(un-)0 +678 y(b)q(ound)k(after)g(the)h(last)f(iteration.)33 b(The)19 +b(name)f Fv(name)p Fw(,)i(if)e(supplied,)i(ma)o(y)d(b)q(e)j(used)0 +730 y(in)c(a)g Fs(return-from)e Fw(form)g(to)i(exit)g(from)f(the)h(lo)q +(op)g(prematurely)m(.)24 b(If)16 b(the)g(lo)q(op)g(ends)0 +782 y(normally)m(,)10 b Fs(sample-special-form)g Fw(returns)16 +b Fs(nil)p Fw(.)h(F)m(or)d(example:)0 867 y Fs(\(setq)20 +b(*sample-variable*)e(3\))0 919 y(\(sample-special-f)o(orm)g(\(\))j +Fv(form1)g(form2)p Fs(\))0 1004 y Fw(This)14 b(ev)n(aluates)g +Fv(form1)p Fw(,)f Fv(form2)p Fw(,)g Fv(form1)p Fw(,)g +Fv(form2)p Fw(,)g Fv(form1)p Fw(,)g Fv(form2)g Fw(in)h(that)f(order.)p +0 1064 V 0 1140 a Fm(T)l(able)h(1-5:)k FA(Sample)c(Macro)g(Description) +1255 1242 y Fw([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(sample-macro)33 +b Fv(var)21 b Fw([)-7 b([)7 b Fv(de)n(clar)n(ation*)14 +b Ft(j)g Fv(do)n(c-string)7 b Fw(])-7 b(])28 b Ft(f)p +Fv(tag)15 b Ft(j)f Fv(statement)p Ft(g)1200 1227 y Fl(\003)0 +1319 y Fw(This)e(ev)n(aluates)h(the)g(statemen)o(ts)g(as)g(a)f +Fs(prog)f Fw(b)q(o)q(dy)m(,)h(with)g(the)i(v)n(ariable)d +Fv(var)h Fw(b)q(ound)h(to)0 1371 y Fs(43)p Fw(.)0 1456 +y Fs(\(sample-macro)18 b(x)j(\(return)f(\(+)h(x)g(x\)\)\))f +Ft(\))h Fs(86)0 1508 y(\(sample-macro)d Fv(var)j Fs(.)g +Fv(b)n(o)n(dy)p Fs(\))h Ft(!)f Fs(\(prog)f(\(\()p Fv(var)g +Fs(43\)\))h(.)g Fv(b)n(o)n(dy)p Fs(\))p 0 1583 V 0 1705 +a Fw(follo)o(w)o(ed)12 b(b)o(y)i(the)g(com)o(bined)f(description.)42 +1757 y(In)d(general,)i(actual)e(co)q(de)i(\(including)e(actual)g(names) +g(of)h(functions\))g(app)q(ears)g(in)g(this)0 1809 y(t)o(yp)q(eface:)23 +b Fs(\(cons)d(a)h(b\))p Fw(.)i(Names)16 b(that)g(stand)g(for)f(pieces)i +(of)f(co)q(de)g(\(meta)o(v)n(ariables\))0 1861 y(are)f(written)f(in)g +Fv(italics)p Fw(.)k(In)c(a)f(function)h(description,)h(the)f(names)f +(of)h(the)h(parameters)0 1913 y(app)q(ear)k(in)f(italics)g(for)g(exp)q +(ository)h(purp)q(oses.)34 b(The)19 b(w)o(ord)f Fs(&optional)f +Fw(in)h(the)h(list)0 1965 y(of)c(parameters)h(indicates)g(that)g(all)e +(argumen)o(ts)h(past)h(that)g(p)q(oin)o(t)f(are)h(optional;)f(the)0 +2017 y(default)h(v)n(alues)g(for)g(the)h(parameters)f(are)h(describ)q +(ed)h(in)e(the)h(text.)26 b(P)o(arameter)16 b(lists)0 +2069 y(ma)o(y)f(also)h(con)o(tain)h Fs(&rest)p Fw(,)f(indicating)f +(that)i(an)g(inde\014nite)g(n)o(um)o(b)q(er)f(of)g(argumen)o(ts)0 +2120 y(ma)o(y)c(app)q(ear,)i(or)f Fs(&key)p Fw(,)g(indicating)f(that)i +(k)o(eyw)o(ord)g(argumen)o(ts)f(are)h(accepted.)20 b(\(The)0 +2172 y Fs(&optional)p Fw(/)p Fs(&rest)p Fw(/)p Fs(&)o(key)d +Fw(syn)o(tax)k(is)g(actually)e(used)j(in)e(Common)d(Lisp)k(function)0 +2224 y(de\014nitions)14 b(for)f(these)j(purp)q(oses.\))42 +2277 y(T)m(able)d(1-2)h(illustrates)g(the)h(manner)e(in)h(whic)o(h)g(a) +g(global)f(v)n(ariable)g(is)h(do)q(cumen)o(ted.)0 2329 +y(The)c(\014rst)h(line)e(sp)q(eci\014es)i(the)g(name)d(of)h(the)h(v)n +(ariable)f(and)g(the)i(fact)e(that)h(it)f(is)h(a)f(v)n(ariable.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 9 33 +9 32 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INTRODUCTION)1088 +b(9)0 295 y Fw(Purely)15 b(as)h(a)e(matter)h(of)f(con)o(v)o(en)o(tion,) +h(all)f(global)f(v)n(ariables)h(used)i(b)o(y)f(Common)d(Lisp)0 +347 y(ha)o(v)o(e)i(names)f(b)q(eginning)g(and)h(ending)g(with)f(an)h +(asterisk.)42 399 y(T)m(able)d(1-3)g(illustrates)i(the)f(manner)g(in)f +(whic)o(h)i(a)e(named)g(constan)o(t)i(is)f(do)q(cumen)o(ted.)0 +450 y(The)20 b(\014rst)h(line)e(sp)q(eci\014es)j(the)e(name)f(of)g(the) +h(constan)o(t)g(and)g(the)g(fact)g(that)g(it)f(is)h(a)0 +502 y(constan)o(t.)g(\(A)15 b(constan)o(t)g(is)f(just)h(lik)o(e)f(a)g +(global)f(v)n(ariable,)g(except)j(that)e(it)g(is)h(an)f(error)0 +554 y(ev)o(er)h(to)e(alter)h(its)g(v)n(alue)g(or)f(to)h(bind)g(it)f(to) +h(a)g(new)g(v)n(alue.\))42 606 y(T)m(ables)9 b(1-4)g(and)h(1-5)f +(illustrate)h(the)h(do)q(cumen)o(tation)d(of)i(sp)q(ecial)g(forms)e +(and)i(macros,)0 658 y(whic)o(h)j(are)h(closely)g(related)g(in)f(purp)q +(ose.)19 b(These)14 b(are)g(v)o(ery)g(di\013eren)o(t)g(from)e +(functions.)0 710 y(F)m(unctions)20 b(are)h(called)e(according)h(to)g +(a)g(single,)h(sp)q(eci\014c,)h(consisten)o(t)g(syn)o(tax;)g(the)0 +762 y Fs(&optional)p Fw(/)p Fs(&rest)p Fw(/)p Fs(&)o(key)10 +b Fw(syn)o(tax)k(sp)q(eci\014es)i(ho)o(w)d(the)h(function)g(uses)h(its) +e(argumen)o(ts)0 814 y(in)o(ternally)i(but)i(do)q(es)g(not)f(a\013ect)h +(the)g(syn)o(tax)f(of)f(a)h(call.)25 b(In)16 b(con)o(trast,)h(eac)o(h)f +(sp)q(ecial)0 866 y(form)e(or)i(macro)f(can)h(ha)o(v)o(e)g(its)g(o)o +(wn)g(idiosyncratic)g(syn)o(tax.)24 b(It)16 b(is)g(b)o(y)g(sp)q(ecial)g +(forms)0 917 y(and)e(macros)f(that)h(the)g(syn)o(tax)g(of)f(Common)e +(Lisp)j(is)f(de\014ned)i(and)f(extended.)42 969 y(In)19 +b(the)h(description)g(of)e(a)h(sp)q(ecial)h(form)d(or)j(macro,)f(an)g +(italicized)f(w)o(ord)i(names)0 1021 y(a)g(corresp)q(onding)h(part)f +(of)f(the)i(form)d(that)j(in)o(v)o(ok)o(es)e(the)i(sp)q(ecial)f(form)e +(or)i(macro.)0 1073 y(P)o(aren)o(theses)13 b(stand)e(for)f(themselv)o +(es)h(and)f(should)g(b)q(e)i(written)f(as)f(suc)o(h)i(when)f(in)o(v)o +(oking)0 1125 y(the)g(sp)q(ecial)f(form)f(or)h(macro.)16 +b(Brac)o(k)o(ets,)11 b(braces,)h(stars,)g(plus)e(signs,)g(and)g(v)o +(ertical)g(bars)0 1177 y(are)16 b(metasyn)o(tactic)f(marks.)23 +b(Brac)o(k)o(ets,)17 b([)e(and)h(],)f(indicate)h(that)g(what)f(they)i +(enclose)0 1229 y(is)i(optional)e(\(ma)o(y)g(app)q(ear)j(zero)f(times)f +(or)h(one)g(time)f(in)g(that)h(place\);)i(the)f(square)0 +1281 y(brac)o(k)o(ets)15 b(should)f(not)g(b)q(e)g(written)h(in)f(co)q +(de.)19 b(Braces,)c Ft(f)f Fw(and)g Ft(g)p Fw(,)f(simply)f(paren)o +(thesize)0 1333 y(what)19 b(they)i(enclose)f(but)g(ma)o(y)e(b)q(e)i +(follo)o(w)o(ed)e(b)o(y)h(a)g(star,)966 1317 y Fl(\003)985 +1333 y Fw(,)i(or)f(a)f(plus)g(sign,)1313 1317 y Fk(+)1340 +1333 y Fw(;)j(a)0 1384 y(star)15 b(indicates)f(that)g(what)h(the)f +(braces)i(enclose)f(ma)o(y)d(app)q(ear)j(an)o(y)f(n)o(um)o(b)q(er)f(of) +h(times)0 1436 y(\(including)h(zero,)i(that)f(is,)g(not)g(at)f(all\),)g +(whereas)i(a)f(plus)g(sign)g(indicates)g(that)g(what)0 +1488 y(the)g(braces)h(enclose)g(ma)o(y)d(app)q(ear)i(an)o(y)g(non-zero) +g(n)o(um)o(b)q(er)f(of)g(times)g(\(that)h(is,)g(m)o(ust)0 +1540 y(app)q(ear)f(at)g(least)h(once\).)22 b(Within)14 +b(braces)i(or)f(brac)o(k)o(ets,)h(a)f(v)o(ertical)g(bar,)g +Ft(j)p Fw(,)f(separates)0 1592 y(m)o(utually)h(exclusiv)o(e)j(c)o +(hoices.)30 b(In)18 b(summary)m(,)d(the)j(notation)24 +b Ft(f)p Fv(x)5 b Ft(g)1092 1577 y Fl(\003)1135 1592 +y Fw(means)17 b(zero)i(or)0 1644 y(more)13 b(o)q(ccurrences)k(of)d +Fv(x)p Fw(,)g(the)h(notation)20 b Ft(f)p Fv(x)5 b Ft(g)731 +1629 y Fk(+)779 1644 y Fw(means)13 b(one)i(or)f(more)f(o)q(ccurrences)k +(of)0 1696 y Fv(x)p Fw(,)f(and)f(the)h(notation)21 b([)p +Fv(x)5 b Fw(])22 b(means)14 b(zero)j(or)e(one)h(o)q(ccurrence)i(of)d +Fv(x)p Fw(.)23 b(These)16 b(notations)0 1748 y(are)d(also)f(used)i(for) +e(syn)o(tactic)i(descriptions)f(expressed)i(as)e(BNF-lik)o(e)g(pro)q +(ductions,)g(as)0 1800 y(in)g(table)h(22-2.)42 1851 y(Double)19 +b(brac)o(k)o(ets,)i([)-7 b([)26 b(and)g(])-7 b(],)20 +b(indicate)f(that)h(an)o(y)f(n)o(um)o(b)q(er)f(of)h(the)i(alternativ)o +(es)-33 1823 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1903 a(enclosed)h(ma)o(y)c(b)q(e)j(used,)i(and)d(those)h +(used)h(ma)o(y)c(o)q(ccur)k(in)e(an)o(y)g(order,)i(but)f(eac)o(h)0 +1955 y(alternativ)o(e)13 b(ma)o(y)e(b)q(e)j(used)f(at)g(most)f(once)i +(unless)g(follo)o(w)o(ed)d(b)o(y)i(a)g(star.)18 b(F)m(or)12 +b(example,)0 2038 y Fv(p)21 b Fw([)-7 b([)7 b Fv(x)14 +b Ft(j)21 b(f)p Fv(y)t Ft(g)198 2023 y Fl(\003)239 2038 +y Ft(j)14 b Fv(z)e Fw(])-7 b(])20 b Fv(q)0 2121 y Fw(means)13 +b(that)h(at)g(most)f(one)h Fv(x)p Fw(,)f(an)o(y)h(n)o(um)o(b)q(er)f(of) +g Fv(y)p Fw('s,)h(and)g(at)g(most)e(one)i Fv(z)g Fw(ma)o(y)e(app)q(ear) +0 2173 y(b)q(et)o(w)o(een)18 b(the)e(mandatory)f(o)q(ccurrences)k(of)d +Fv(p)g Fw(and)g Fv(q)p Fw(,)h(and)f(those)h(that)f(app)q(ear)h(ma)o(y)0 +2225 y(b)q(e)e(in)e(an)o(y)g(order.)42 2277 y(A)i(do)o(wn)o(w)o(ard)g +(arro)o(w,)g Ft(#)p Fw(,)g(indicates)h(a)f(form)f(of)h(syn)o(tactic)h +(indirection)f(that)g(helps)0 2329 y(to)20 b(mak)o(e)26 +b([)-7 b([)33 b(])-7 b(])26 b(notation)20 b(more)f(readable.)37 +b(If)20 b Fv(X)g Fw(is)g(some)f(non-terminal)g(sym)o(b)q(ol)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 10 34 +10 33 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(10)77 b(COMMON)13 +b(LISP)0 295 y Fw(o)q(ccurring)h(on)e(the)i(left-hand)f(side)g(of)f +(some)h(BNF)g(pro)q(duction,)g(then)h(the)f(righ)o(t-hand)0 +347 y(side)18 b(of)e(that)h(pro)q(duction)h(is)f(to)g(b)q(e)h +(textually)e(substituted)j(for)e(an)o(y)f(o)q(ccurrence)k(of)0 +399 y Ft(#)p Fv(X)7 b Fw(.)13 b(Th)o(us)h(the)g(t)o(w)o(o)g(fragmen)o +(ts)0 485 y Fv(p)21 b Fw([)-7 b([)7 b Ft(#)p Fv(xyz-mixtur)n(e)i +Fw(])-7 b(])19 b Fv(q)0 537 y(xyz-mixtur)n(e)14 b Fw(::=)f +Fv(x)19 b Ft(j)h(f)p Fv(y)t Ft(g)427 522 y Fl(\003)466 +537 y Ft(j)14 b Fv(z)0 623 y Fw(are)g(together)h(equiv)n(alen)o(t)e(to) +h(the)h(previous)f(example.)-33 635 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 675 a(In)d(the)i(last)e(example)g(in)g(table)h(1-)o(5,) +g(notice)g(the)g(use)h(of)e(dot)h(notation.)k(The)c(dot)g(ap-)0 +727 y(p)q(earing)i(in)g(the)g(expression)h Fs(\(sample-macro)k +Fv(var)i Fs(.)g Fv(b)n(o)n(dy)p Fs(\))14 b Fw(means)f(that)h(the)h +(name)0 779 y Fv(b)n(o)n(dy)d Fw(stands)h(for)f(a)g(list)f(of)g(forms,) +g(not)h(just)g(a)g(single)g(form,)e(at)i(the)g(end)h(of)e(a)h(list.)17 +b(This)0 831 y(notation)c(is)h(often)g(used)h(in)e(examples.)42 +883 y(In)h(the)g(heading)g(line)g(in)f(table)h(1-5,)f(notice)i(the)f +(use)h(of)21 b([)-7 b([)28 b(])-7 b(])20 b(notation)13 +b(to)h(indicate)-33 855 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 935 a(that)g(an)o(y)e(n)o(um)o(b)q(er)h(of)g +(declarations)h(ma)o(y)d(app)q(ear)j(but)g(at)f(most)f(one)i(do)q +(cumen)o(tation)0 987 y(string)j(\(whic)o(h)g(ma)o(y)e(app)q(ear)j(b)q +(efore,)g(after,)g(or)f(somewhere)g(in)g(the)g(middle)f(of)g(an)o(y)0 +1039 y(declarations\).)-33 1050 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1194 a Fo(1.2.6.)k(The)15 b(Lisp)f(Reader)0 +1281 y Fw(The)e(term)f(\\Lisp)h(reader")g(refers)h(not)f(to)g(y)o(ou,)f +(the)h(reader)h(of)e(this)h(b)q(o)q(ok,)f(nor)h(to)g(some)0 +1332 y(p)q(erson)19 b(reading)f(Lisp)g(co)q(de,)h(but)g(sp)q +(eci\014cally)f(to)g(a)f(Lisp)h(pro)q(cedure,)j(namely)16 +b(the)0 1384 y(function)h Fs(read)p Fw(,)g(whic)o(h)g(reads)i(c)o +(haracters)g(from)d(an)h(input)g(stream)g(and)g(in)o(terprets)0 +1436 y(them)c(b)o(y)h(parsing)f(as)h(represen)o(tations)i(of)d(Lisp)h +(ob)r(jects.)0 1591 y Fo(1.2.7.)20 b(Ov)n(erview)14 b(of)h(Syn)n(tax)0 +1678 y Fw(Certain)i(c)o(haracters)h(are)f(used)h(in)e(sp)q(ecial)h(w)o +(a)o(ys)f(in)g(the)h(syn)o(tax)g(of)f(Common)d(Lisp.)0 +1730 y(The)e(complete)f(syn)o(tax)h(is)f(explained)h(in)f(detail)g(in)g +(c)o(hapter)i(22,)e(but)h(a)f(quic)o(k)g(summary)0 1782 +y(here)15 b(ma)o(y)d(b)q(e)i(useful:)0 1852 y Fs(\()38 +b Fw(A)13 b(left)f(paren)o(thesis)j(b)q(egins)e(a)f(list)h(of)f(items.) +17 b(The)c(list)g(ma)o(y)e(con)o(tain)h(an)o(y)g(n)o(um)o(b)q(er)60 +1904 y(of)j(items,)f(including)h(zero.)23 b(Lists)16 +b(ma)o(y)e(b)q(e)i(nested.)24 b(F)m(or)15 b(example,)f +Fs(\(cons)21 b(\(car)60 1956 y(x\))g(\(cdr)f(y\)\))12 +b Fw(is)h(a)g(list)f(of)h(three)h(things,)f(of)f(whic)o(h)h(the)h(last) +f(t)o(w)o(o)f(are)i(themselv)o(es)60 2008 y(lists.)0 +2091 y Fs(\))38 b Fw(A)14 b(righ)o(t)f(paren)o(thesis)i(ends)g(a)f +(list)f(of)g(items.)-2 2177 y Fn(')60 2173 y Fw(An)23 +b(acute)i(accen)o(t)g(\(also)e(called)g(single)g(quote)h(or)g(ap)q +(ostrophe\))g(follo)o(w)o(ed)e(b)o(y)60 2225 y(an)g(expression)h +Fv(form)f Fw(is)g(an)g(abbreviation)g(for)g Fs(\(quote)e +Fv(form)p Fs(\))p Fw(.)43 b(Th)o(us)1306 2229 y Fn(')1329 +2225 y Fs(foo)60 2277 y Fw(means)21 b Fs(\(quote)f(foo\))h +Fw(and)542 2281 y Fn(')566 2277 y Fs(\(cons)694 2281 +y Fn(')717 2277 y Fs(a)758 2281 y Fn(')781 2277 y Fs(b\))h +Fw(means)f Fs(\(quote)f(\(cons)g(\(quote)60 2329 y(a\))h(\(quote)e +(b\)\)\))p Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 11 35 +11 34 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INTRODUCTION)1068 +b(11)0 295 y Fs(;)38 b Fw(Semicolon)13 b(is)j(the)g(commen)o(t)d(c)o +(haracter.)24 b(It)16 b(and)f(all)f(c)o(haracters)j(up)f(to)f(the)h +(end)60 347 y(of)d(the)i(line)e(are)h(discarded.)0 430 +y Fs(")38 b Fw(Double)13 b(quotes)i(surround)f(c)o(haracter)i(strings:) +60 482 y Fs("This)k(is)h(a)g(thirty-nine-char)o(acte)o(r)d(string.")0 +565 y(\\)38 b Fw(Bac)o(kslash)11 b(is)f(an)g(escap)q(e)i(c)o(haracter.) +19 b(It)10 b(causes)i(the)f(next)g(c)o(haracter)h(to)e(b)q(e)i(treated) +60 616 y(as)i(a)g(letter)h(rather)g(than)f(for)g(its)g(usual)g(syn)o +(tactic)h(purp)q(ose.)k(F)m(or)14 b(example,)f Fs(A\\\(B)60 +668 y Fw(denotes)18 b(a)f(sym)o(b)q(ol)e(whose)j(name)d(consists)j(of)f +(the)g(three)i(c)o(haracters)g Fs(A)p Fw(,)d Fs(\()p +Fw(,)h(and)60 720 y Fs(B)p Fw(.)e(Similarly)m(,)e Fs("\\"")j +Fw(denotes)i(a)e(c)o(haracter)i(string)e(con)o(taining)f(one)i(c)o +(haracter,)h(a)60 772 y(double)10 b(quote,)i(b)q(ecause)g(the)f +(\014rst)h(and)e(third)h(double)g(quotes)g(serv)o(e)h(to)f(delimit)d +(the)60 824 y(string,)16 b(and)h(the)f(second)i(double)e(quote)h(serv)o +(es)h(as)e(the)h(con)o(ten)o(ts)g(of)f(the)h(string.)60 +876 y(The)11 b(bac)o(kslash)f(causes)i(the)f(second)g(double)g(quote)f +(to)g(b)q(e)h(tak)o(en)g(literally)e(and)h(pre-)60 928 +y(v)o(en)o(ts)k(it)g(from)e(b)q(eing)i(in)o(terpreted)h(as)f(the)h +(terminating)d(delimiter)g(of)i(the)g(string.)0 1011 +y Fs(|)38 b Fw(V)m(ertical)12 b(bars)h(are)f(used)i(in)d(pairs)i(to)f +(surround)h(the)g(name)e(\(or)i(part)f(of)g(the)h(name\))60 +1063 y(of)e(a)g(sym)o(b)q(ol)f(that)i(has)g(man)o(y)e(sp)q(ecial)i(c)o +(haracters)i(in)d(it.)17 b(It)12 b(is)f(roughly)g(equiv)n(alen)o(t)60 +1115 y(to)20 b(putting)g(a)g(bac)o(kslash)g(in)g(fron)o(t)g(of)g(ev)o +(ery)h(c)o(haracter)h(so)e(surrounded.)39 b(F)m(or)60 +1166 y(example,)10 b Fs(|A\(B\)|)p Fw(,)g Fs(A|\(|B|\)|)p +Fw(,)g(and)i Fs(A\\\(B\\\))e Fw(all)g(mean)h(the)h(sym)o(b)q(ol)e +(whose)i(name)60 1218 y(consists)j(of)e(the)h(four)g(c)o(haracters)i +Fs(A)p Fw(,)d Fs(\()p Fw(,)g Fs(B)p Fw(,)g(and)h Fs(\))p +Fw(.)0 1301 y Fs(#)0 1297 y(-)0 1305 y(-)60 1301 y Fw(The)j(n)o(um)o(b) +q(er)e(sign)h(signals)g(the)h(b)q(eginning)f(of)f(a)i(complicated)e +(syn)o(tactic)i(struc-)60 1353 y(ture.)37 b(The)20 b(next)g(c)o +(haracter)i(designates)f(the)f(precise)h(syn)o(tax)f(to)g(follo)o(w.)34 +b(F)m(or)60 1405 y(example,)16 b Fs(#)238 1401 y(-)238 +1409 y(-)259 1405 y(o105)g Fw(means)g(105)556 1411 y +Fk(8)591 1405 y Fw(\(105)g(in)h(o)q(ctal)f(notation\);)i +Fs(#)1042 1401 y(-)1042 1409 y(-)1063 1405 y(x105)e Fw(means)g(105)1360 +1411 y Fk(16)60 1457 y Fw(\(105)g(in)g(hexadecimal)f(notation\);)h +Fs(#)642 1453 y(-)642 1461 y(-)664 1457 y(b1011)g Fw(means)f(1011)1003 +1463 y Fk(2)1037 1457 y Fw(\(1011)h(in)g(binary)g(no-)60 +1509 y(tation\);)c Fs(#)209 1505 y(-)209 1513 y(-)231 +1509 y(\\L)h Fw(denotes)i(a)f(c)o(haracter)h(ob)r(ject)f(for)f(the)h(c) +o(haracter)h Fs(L)p Fw(;)e(and)h Fs(#)1222 1505 y(-)1222 +1513 y(-)1243 1509 y(\(a)21 b(b)g(c\))60 1561 y Fw(denotes)c(a)e(v)o +(ector)h(of)f(three)i(elemen)o(ts)e Fs(a)p Fw(,)g Fs(b)p +Fw(,)g(and)h Fs(c)p Fw(.)22 b(A)16 b(particularly)e(imp)q(ortan)o(t)60 +1613 y(case)i(is)f(that)g Fs(#)283 1609 y(-)283 1617 +y(-)m Fn(')326 1613 y Fv(fn)g Fw(means)f Fs(\(function)19 +b Fv(fn)p Fs(\))p Fw(,)c(in)g(a)f(manner)h(analogous)e(to)1286 +1617 y Fn(')1309 1613 y Fv(form)60 1665 y Fw(meaning)f +Fs(\(quote)20 b Fv(form)p Fs(\))p Fw(.)-2 1752 y Fn(`)60 +1748 y Fw(Gra)o(v)o(e)12 b(accen)o(t)i(\(\\bac)o(kquote"\))f(signals)f +(that)h(the)h(next)f(expression)h(is)f(a)g(template)60 +1800 y(that)k(ma)o(y)e(con)o(tain)i(commas.)25 b(The)17 +b(bac)o(kquote)h(syn)o(tax)f(represen)o(ts)j(a)c(program)60 +1851 y(that)e(will)e(construct)k(a)d(data)h(structure)i(according)e(to) +f(the)i(template.)0 1934 y Fs(,)38 b Fw(Comma)o(s)12 +b(are)i(used)h(within)e(the)h(bac)o(kquote)h(syn)o(tax.)0 +2017 y Fs(:)38 b Fw(Colon)10 b(is)h(used)h(to)g(indicate)f(whic)o(h)g +(pac)o(k)n(age)g(a)g(sym)o(b)q(ol)e(b)q(elongs)j(to.)17 +b(F)m(or)10 b(example,)60 2069 y Fs(network:reset)k Fw(denotes)j(the)g +(sym)o(b)q(ol)e(named)g Fs(reset)h Fw(in)g(the)h(pac)o(k)n(age)f(named) +60 2121 y Fs(network)p Fw(.)g(A)e(leading)e(colon)h(indicates)h(a)f +Fv(keywor)n(d)p Fw(,)g(a)g(sym)o(b)q(ol)f(that)h(alw)o(a)o(ys)g(ev)n +(al-)60 2173 y(uates)i(to)e(itself.)19 b(The)14 b(colon)f(c)o(haracter) +j(is)e(not)g(actually)f(part)h(of)f(the)i(prin)o(t)f(name)60 +2225 y(of)j(the)h(sym)o(b)q(ol.)27 b(This)18 b(is)f(all)g(explained)g +(in)g(c)o(hapter)i(11;)f(un)o(til)f(y)o(ou)g(read)h(that,)60 +2277 y(just)13 b(k)o(eep)g(in)g(mind)e(that)i(a)f(sym)o(b)q(ol)f +(notated)i(with)g(a)f(leading)g(colon)g(is)h(in)g(e\013ect)h(a)60 +2329 y(constan)o(t)g(that)g(ev)n(aluates)g(to)g(itself.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 12 36 +12 35 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(12)77 b(COMMON)13 +b(LISP)42 295 y Fv(Notic)n(e)h(of)g(c)n(orr)n(e)n(ction.)j +Fw(In)d(the)g(\014rst)g(edition,)e(the)i(c)o(haracters)h(\\)p +Fs(,)p Fw(")e(and)g(\\)p Fs(:)p Fw(")g(at)g(the)-33 266 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(left)h(margin)d(ab)q(o)o(v)o(e)j(w)o(ere)h(inadv)o +(erten)o(tly)f(omitted.)-33 358 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 399 a(Brac)o(k)o(ets,)19 b(braces,)f(question)g(mark,)e +(and)h(exclamation)e(p)q(oin)o(t)i(\(that)g(is,)h Fs([)p +Fw(,)f Fs(])p Fw(,)g Fs({)p Fw(,)0 450 y Fs(})p Fw(,)d +Fs(?)p Fw(,)g(and)h Fs(!)p Fw(\))f(are)h(not)g(used)h(for)e(an)o(y)g +(purp)q(ose)i(in)e(standard)h(Common)d(Lisp)i(syn)o(tax.)0 +502 y(These)e(c)o(haracters)h(are)e(explicitly)f(reserv)o(ed)j(to)e +(the)h(user,)g(primarily)c(for)j(use)h(as)f Fv(macr)n(o)0 +554 y(char)n(acters)i Fw(for)h(user-de\014ned)i(lexical)d(syn)o(tax)h +(extensions)h(\(see)g(section)g(22.1.3\).)42 606 y(All)g(co)q(de)j(in)e +(this)h(b)q(o)q(ok)f(is)h(written)g(using)g(lo)o(w)o(ercase)g(letters.) +28 b(Common)13 b(Lisp)k(is)-38 581 y Fk(.)-38 594 y(.)-38 +607 y(.)-38 620 y(.)-38 633 y(.)-38 646 y(.)-38 659 y(.)-38 +672 y(.)-38 685 y(.)-38 698 y(.)-38 711 y(.)-38 724 y(.)-38 +737 y(.)-38 750 y(.)-38 763 y(.)-38 776 y(.)-38 789 y(.)-38 +802 y(.)-38 815 y(.)-38 828 y(.)-38 840 y(.)-38 853 y(.)-38 +866 y(.)-38 879 y(.)-38 892 y(.)-38 905 y(.)-38 918 y(.)-38 +931 y(.)-38 944 y(.)-38 957 y(.)-38 970 y(.)-38 983 y(.)-38 +996 y(.)-38 1009 y(.)-38 1022 y(.)-38 1035 y(.)-38 1048 +y(.)-38 1061 y(.)-38 1074 y(.)-38 1087 y(.)-38 1100 y(.)-38 +1113 y(.)-38 1126 y(.)-38 1139 y(.)-38 1152 y(.)-38 1165 +y(.)-38 1178 y(.)-38 1191 y(.)-38 1204 y(.)-38 1217 y(.)-38 +1230 y(.)-38 1243 y(.)-38 1256 y(.)-38 1269 y(.)-38 1282 +y(.)-38 1295 y(.)-38 1307 y(.)-38 1320 y(.)-38 1333 y(.)-38 +1346 y(.)-38 1359 y(.)-38 1372 y(.)-38 1385 y(.)-38 1398 +y(.)-38 1411 y(.)-38 1424 y(.)-38 1437 y(.)-38 1450 y(.)-38 +1463 y(.)-38 1476 y(.)-38 1489 y(.)-38 1502 y(.)-38 1515 +y(.)-38 1528 y(.)-38 1541 y(.)-38 1554 y(.)-38 1567 y(.)-38 +1580 y(.)-38 1593 y(.)-38 1606 y(.)-38 1619 y(.)-38 1632 +y(.)-38 1645 y(.)-38 1658 y(.)-38 1671 y(.)-38 1684 y(.)-38 +1697 y(.)-38 1710 y(.)-38 1723 y(.)-38 1736 y(.)-38 1749 +y(.)-38 1762 y(.)-38 1774 y(.)-38 1787 y(.)-38 1800 y(.)-38 +1813 y(.)-38 1826 y(.)-38 1839 y(.)-38 1852 y(.)-38 1865 +y(.)-38 1878 y(.)-38 1891 y(.)-38 1904 y(.)-38 1917 y(.)-38 +1930 y(.)-38 1943 y(.)-38 1956 y(.)-38 1969 y(.)-38 1982 +y(.)-38 1995 y(.)-38 2008 y(.)-38 2021 y(.)-38 2034 y(.)-38 +2047 y(.)-38 2060 y(.)-38 2073 y(.)-38 2086 y(.)-38 2099 +y(.)-38 2112 y(.)-38 2125 y(.)-38 2138 y(.)-38 2151 y(.)-38 +2164 y(.)-38 2177 y(.)-38 2190 y(.)-38 2203 y(.)-38 2216 +y(.)-38 2229 y(.)-38 2241 y(.)-38 2254 y(.)-38 2267 y(.)-38 +2280 y(.)-38 2293 y(.)-38 2306 y(.)-38 2319 y(.)-38 2332 +y(.)-38 2345 y(.)-38 2358 y(.)-38 2371 y(.)-38 2384 y(.)-38 +2397 y(.)-38 2410 y(.)-38 2423 y(.)-38 2436 y(.)-38 2449 +y(.)-38 2462 y(.)-38 2475 y(.)-38 2488 y(.)-38 2501 y(.)-38 +2514 y(.)-38 2527 y(.)-38 2540 y(.)-38 2553 y(.)-38 2566 +y(.)-38 2579 y(.)-38 2592 y(.)-38 2605 y(.)-38 2618 y(.)-38 +2631 y(.)-38 2644 y(.)-38 2657 y(.)-38 2670 y(.)-38 2683 +y(.)-38 2696 y(.)-38 2708 y(.)-38 2721 y(.)-38 2734 y(.)-38 +2747 y(.)-38 2760 y(.)-38 2773 y(.)-38 2786 y(.)-38 2799 +y(.)-38 2812 y(.)-38 2825 y(.)-38 2838 y(.)-38 2851 y(.)-38 +2864 y(.)-38 2877 y(.)-38 2890 y(.)-38 2903 y(.)-38 2916 +y(.)-38 2929 y(.)-38 2942 y(.)-38 2955 y(.)-38 2968 y(.)-38 +2981 y(.)-38 2994 y(.)-38 3007 y(.)-38 3020 y(.)-38 3033 +y(.)-38 3046 y(.)-38 3059 y(.)-38 3072 y(.)-38 3085 y(.)-38 +3098 y(.)-38 3111 y(.)-38 3124 y(.)-38 3137 y(.)-38 3150 +y(.)-38 3163 y(.)0 658 y Fw(generally)12 b(insensitiv)o(e)g(to)g(the)h +(case)h(in)d(whic)o(h)i(co)q(de)g(is)f(written.)18 b(In)o(ternally)m(,) +11 b(names)g(of)0 710 y(sym)o(b)q(ols)i(are)h(ordinarily)e(con)o(v)o +(erted)k(to)d(and)h(stored)h(in)f(upp)q(ercase)i(form.)g(There)f(are)0 +762 y(w)o(a)o(ys)e(to)g(force)g(case)h(con)o(v)o(ersion)g(on)f(output)g +(if)f(desired;)i(see)g Fs(*print-case*)p Fw(.)i(In)d(this)0 +814 y(b)q(o)q(ok,)i(wherev)o(er)i(an)e(in)o(teractiv)o(e)h(exc)o(hange) +g(b)q(et)o(w)o(een)g(a)f(user)i(and)e(the)h(Lisp)f(system)0 +866 y(is)i(sho)o(wn,)g(the)h(input)e(is)h(exhibited)g(with)g(lo)o(w)o +(ercase)g(letters)i(and)d(the)i(output)f(with)0 917 y(upp)q(ercase)f +(letters.)-33 929 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 969 a(X3J13)i(v)o(oted)g(in)h(June)g(1989)f +Ft(h)p Fw(150)p Ft(i)g Fw(to)g(in)o(tro)q(duce)h Fs(readtable-case)p +Fw(.)30 b(Certain)-33 941 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1021 a(settings)15 b(allo)o(w)e(the)i(names)f(of)f(sym)o +(b)q(ols)g(to)i(b)q(e)g(case-sensitiv)o(e.)21 b(The)15 +b(default)f(b)q(eha)o(v-)0 1073 y(ior,)j(ho)o(w)o(ev)o(er,)g(is)g(as)g +(describ)q(ed)i(in)d(the)i(previous)f(paragraph.)27 b(In)17 +b(an)o(y)g(ev)o(en)o(t,)h(only)0 1125 y(upp)q(ercase)g(letters)f(app)q +(ear)g(in)e(the)i(in)o(ternal)e(prin)o(t)h(names)f(of)h(sym)o(b)q(ols)e +(naming)g(the)0 1177 y(standard)g(Common)d(Lisp)j(facilities)e(describ) +q(ed)k(in)e(this)g(b)q(o)q(ok.)-33 1189 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1155 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 13 37 +13 36 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(2)p 0 448 598 9 +v 0 531 a Fp(Data)30 b(T)-7 b(yp)r(es)0 920 y Fw(Common)11 +b(Lisp)k(pro)o(vides)g(a)g(v)n(ariet)o(y)f(of)g(t)o(yp)q(es)i(of)e +(data)g(ob)r(jects.)22 b(It)15 b(is)g(imp)q(ortan)o(t)e(to)0 +972 y(note)f(that)g(in)g(Lisp)f(it)h(is)g(data)f(ob)r(jects)i(that)f +(are)g(t)o(yp)q(ed,)h(not)e(v)n(ariables.)17 b(An)o(y)12 +b(v)n(ariable)0 1024 y(can)20 b(ha)o(v)o(e)f(an)o(y)g(Lisp)g(ob)r(ject) +h(as)f(its)h(v)n(alue.)34 b(\(It)19 b(is)g(p)q(ossible)h(to)f(mak)o(e)f +(an)h(explicit)0 1076 y(declaration)e(that)h(a)f(v)n(ariable)g(will)f +(in)h(fact)h(tak)o(e)f(on)h(one)f(of)g(only)g(a)g(limited)f(set)i(of)0 +1128 y(v)n(alues.)f(Ho)o(w)o(ev)o(er,)c(suc)o(h)g(a)f(declaration)f(ma) +o(y)g(alw)o(a)o(ys)g(b)q(e)i(omitted,)d(and)j(the)f(program)0 +1180 y(will)g(still)h(run)g(correctly)m(.)19 b(Suc)o(h)14 +b(a)f(declaration)g(merely)g(constitutes)i(advice)e(from)f(the)0 +1232 y(user)j(that)f(ma)o(y)e(b)q(e)i(useful)g(in)g(gaining)e +(e\016ciency)m(.)18 b(See)d Fs(declare)p Fw(.\))42 1285 +y(In)i(Common)d(Lisp,)k(a)f(data)g(t)o(yp)q(e)h(is)g(a)f(\(p)q(ossibly) +g(in\014nite\))g(set)i(of)e(Lisp)g(ob)r(jects.)0 1337 +y(Man)o(y)12 b(Lisp)g(ob)r(jects)i(b)q(elong)e(to)g(more)f(than)i(one)f +(suc)o(h)h(set,)g(and)g(so)f(it)g(do)q(esn't)h(alw)o(a)o(ys)0 +1389 y(mak)o(e)d(sense)j(to)f(ask)g(what)f(is)h Fv(the)f +Fw(t)o(yp)q(e)i(of)e(an)g(ob)r(ject;)i(instead,)f(one)g(usually)e(asks) +j(only)0 1441 y(whether)h(an)e(ob)r(ject)i(b)q(elongs)f(to)f(a)g(giv)o +(en)g(t)o(yp)q(e.)19 b(The)13 b(predicate)g Fs(typep)f +Fw(ma)o(y)f(b)q(e)i(used)0 1493 y(to)i(ask)g(whether)h(an)f(ob)r(ject)g +(b)q(elongs)g(to)g(a)g(giv)o(en)f(t)o(yp)q(e,)h(and)g(the)h(function)e +Fs(type-of)0 1545 y Fw(returns)h Fv(a)f Fw(t)o(yp)q(e)h(to)f(whic)o(h)f +(a)h(giv)o(en)f(ob)r(ject)i(b)q(elongs.)42 1598 y(The)21 +b(data)f(t)o(yp)q(es)i(de\014ned)f(in)g(Commo)o(n)d(Lisp)j(are)g +(arranged)g(in)o(to)f(a)g(hierarc)o(h)o(y)0 1650 y(\(actually)f(a)g +(partial)g(order\))h(de\014ned)h(b)o(y)e(the)h(subset)h(relationship.) +35 b(Certain)19 b(sets)0 1702 y(of)e(ob)r(jects,)j(suc)o(h)e(as)g(the)h +(set)g(of)e(n)o(um)o(b)q(ers)h(or)f(the)i(set)g(of)e(strings,)i(are)f +(in)o(teresting)0 1754 y(enough)e(to)g(deserv)o(e)i(lab)q(els.)25 +b(Sym)o(b)q(ols)15 b(are)h(used)h(for)f(most)f(suc)o(h)i(lab)q(els)f +(\(here,)i(and)0 1805 y(throughout)c(this)g(b)q(o)q(ok,)f(the)i(w)o +(ord)e(\\sym)o(b)q(ol")f(refers)j(to)f(atomic)e(sym)o(b)q(ols,)g(one)i +(kind)0 1857 y(of)c(Lisp)h(ob)r(ject,)g(elsewhere)i(kno)o(wn)d(as)h +(literal)e(atoms\).)16 b(See)c(c)o(hapter)f(4)g(for)f(a)g(complete)0 +1909 y(description)15 b(of)e(t)o(yp)q(e)h(sp)q(eci\014ers.)42 +1963 y(The)h(set)i(of)e(all)f(ob)r(jects)j(is)e(sp)q(eci\014ed)i(b)o(y) +f(the)g(sym)o(b)q(ol)d Fs(t)p Fw(.)23 b(The)16 b(empt)o(y)e(data)i(t)o +(yp)q(e,)0 2015 y(whic)o(h)e(con)o(tains)g(no)f(ob)r(jects,)i(is)f +(denoted)g(b)o(y)g Fs(nil)p Fw(.)42 2068 y(A)20 b(t)o(yp)q(e)g(called)g +Fs(common)f Fw(encompasses)i(all)e(the)h(data)g(ob)r(jects)h(required)g +(b)o(y)f(the)-38 2043 y Fk(.)-38 2056 y(.)-38 2069 y(.)-38 +2082 y(.)-38 2095 y(.)-38 2108 y(.)-38 2121 y(.)-38 2134 +y(.)-38 2147 y(.)-38 2160 y(.)-38 2173 y(.)-38 2186 y(.)-38 +2199 y(.)-38 2211 y(.)-38 2224 y(.)-38 2237 y(.)-38 2250 +y(.)-38 2263 y(.)-38 2276 y(.)-38 2289 y(.)-38 2302 y(.)-38 +2315 y(.)-38 2328 y(.)-38 2341 y(.)-38 2354 y(.)-38 2367 +y(.)-38 2380 y(.)-38 2393 y(.)-38 2406 y(.)-38 2419 y(.)-38 +2432 y(.)-38 2445 y(.)-38 2458 y(.)-38 2471 y(.)-38 2484 +y(.)-38 2497 y(.)-38 2510 y(.)-38 2523 y(.)-38 2536 y(.)-38 +2549 y(.)-38 2562 y(.)-38 2575 y(.)-38 2588 y(.)-38 2601 +y(.)-38 2614 y(.)-38 2627 y(.)-38 2640 y(.)-38 2653 y(.)-38 +2666 y(.)-38 2678 y(.)-38 2691 y(.)-38 2704 y(.)-38 2717 +y(.)-38 2730 y(.)-38 2743 y(.)-38 2756 y(.)-38 2769 y(.)-38 +2782 y(.)-38 2795 y(.)-38 2808 y(.)-38 2821 y(.)-38 2834 +y(.)-38 2847 y(.)-38 2860 y(.)-38 2873 y(.)-38 2886 y(.)-38 +2899 y(.)-38 2912 y(.)-38 2925 y(.)-38 2938 y(.)-38 2951 +y(.)-38 2964 y(.)-38 2977 y(.)-38 2990 y(.)-38 3003 y(.)-38 +3016 y(.)-38 3029 y(.)-38 3042 y(.)-38 3055 y(.)-38 3068 +y(.)-38 3081 y(.)-38 3094 y(.)-38 3107 y(.)-38 3120 y(.)-38 +3133 y(.)-38 3145 y(.)-38 3158 y(.)-38 3171 y(.)-38 3184 +y(.)-38 3197 y(.)-38 3210 y(.)-38 3223 y(.)-38 3236 y(.)-38 +3249 y(.)-38 3262 y(.)-38 3275 y(.)-38 3288 y(.)-38 3301 +y(.)-38 3314 y(.)-38 3327 y(.)-38 3340 y(.)-38 3353 y(.)-38 +3366 y(.)-38 3379 y(.)-38 3392 y(.)-38 3405 y(.)-38 3418 +y(.)-38 3431 y(.)-38 3444 y(.)-38 3457 y(.)-38 3470 y(.)-38 +3483 y(.)-38 3496 y(.)-38 3509 y(.)-38 3522 y(.)-38 3535 +y(.)-38 3548 y(.)-38 3561 y(.)-38 3574 y(.)-38 3587 y(.)-38 +3600 y(.)-38 3612 y(.)-38 3625 y(.)-38 3638 y(.)-38 3651 +y(.)-38 3664 y(.)-38 3677 y(.)-38 3690 y(.)-38 3703 y(.)-38 +3716 y(.)-38 3729 y(.)-38 3742 y(.)-38 3755 y(.)-38 3768 +y(.)-38 3781 y(.)-38 3794 y(.)-38 3807 y(.)-38 3820 y(.)-38 +3833 y(.)-38 3846 y(.)-38 3859 y(.)-38 3872 y(.)-38 3885 +y(.)-38 3898 y(.)-38 3911 y(.)-38 3924 y(.)-38 3937 y(.)-38 +3950 y(.)-38 3963 y(.)-38 3976 y(.)-38 3989 y(.)-38 4002 +y(.)-38 4015 y(.)-38 4028 y(.)-38 4041 y(.)-38 4054 y(.)-38 +4067 y(.)-38 4079 y(.)-38 4092 y(.)-38 4105 y(.)-38 4118 +y(.)-38 4131 y(.)-38 4144 y(.)-38 4157 y(.)-38 4170 y(.)-38 +4183 y(.)-38 4196 y(.)-38 4209 y(.)-38 4222 y(.)-38 4235 +y(.)-38 4248 y(.)-38 4261 y(.)-38 4274 y(.)-38 4287 y(.)-38 +4300 y(.)-38 4313 y(.)-38 4326 y(.)-38 4339 y(.)-38 4352 +y(.)-38 4365 y(.)-38 4378 y(.)-38 4391 y(.)-38 4404 y(.)-38 +4417 y(.)-38 4430 y(.)-38 4443 y(.)-38 4456 y(.)-38 4469 +y(.)-38 4482 y(.)-38 4495 y(.)-38 4508 y(.)-38 4521 y(.)-38 +4534 y(.)-38 4546 y(.)-38 4559 y(.)-38 4572 y(.)-38 4585 +y(.)-38 4598 y(.)-38 4611 y(.)-38 4624 y(.)0 2120 y Fw(Common)12 +b(Lisp)k(language.)22 b(A)16 b(Common)d(Lisp)i(implemen)o(tation)d(is)k +(free)g(to)g(pro)o(vide)0 2172 y(other)f(data)e(t)o(yp)q(es)i(that)f +(are)g(not)g(subt)o(yp)q(es)h(of)e Fs(common)p Fw(.)-33 +2183 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2225 a(X3J13)f(v)o(oted)h(in)f(Marc)o(h)h(1989)f +Ft(h)p Fw(17)p Ft(i)g Fw(to)h(remo)o(v)o(e)e(the)j(t)o(yp)q(e)f +Fs(common)e Fw(\(and)i(the)g(pred-)-33 2197 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2277 a(icate)j Fs(commonp)p Fw(\))e(from)g(the)i +(language,)e(on)i(the)g(grounds)f(that)h(it)f(has)h(not)f(pro)o(v)o(ed) +h(to)0 2329 y(b)q(e)h(useful)g(in)f(practice)h(and)g(that)f(it)g(could) +h(b)q(e)g(di\016cult)f(to)g(rede\014ne)i(in)e(the)i(face)e(of)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1356 2428 a Fy(13)p eop +%%Page: 14 38 +14 37 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(14)77 b(COMMON)13 +b(LISP)0 295 y Fw(other)i(c)o(hanges)g(to)g(the)g(Common)c(Lisp)k(t)o +(yp)q(e)g(system)f(\(suc)o(h)h(as)g(the)g(in)o(tro)q(duction)f(of)0 +347 y(CLOS)g(classes\).)-33 358 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 399 a(The)f(follo)o(wing)d(categories)j(of)f(Common)e +(Lisp)i(ob)r(jects)i(are)f(of)g(particular)f(in)o(terest:)0 +451 y(n)o(um)o(b)q(ers,)j(c)o(haracters,)h(sym)o(b)q(ols,)e(lists,)h +(arra)o(ys,)g(structures,)j(and)d(functions.)22 b(There)0 +502 y(are)10 b(others)i(as)e(w)o(ell.)16 b(Some)9 b(of)g(these)j +(categories)f(ha)o(v)o(e)e(man)o(y)g(sub)q(divisions.)16 +b(There)11 b(are)0 554 y(also)g(standard)h(t)o(yp)q(es)g(de\014ned)h +(to)f(b)q(e)g(the)g(union)f(of)g(t)o(w)o(o)g(or)h(more)e(of)h(these)i +(categories.)0 606 y(The)j(categories)g(listed)f(ab)q(o)o(v)o(e,)g +(while)g(they)g(are)h(data)f(t)o(yp)q(es,)h(are)f(neither)h(more)f(nor) +0 658 y(less)f(\\real")e(than)h(other)g(data)g(t)o(yp)q(es;)h(they)f +(simply)e(constitute)j(a)e(particularly)h(useful)0 710 +y(slice)h(across)h(the)f(t)o(yp)q(e)h(hierarc)o(h)o(y)f(for)g(exp)q +(ository)g(purp)q(oses.)42 762 y(Here)d(are)f(brief)g(descriptions)h +(of)e(v)n(arious)g(Common)e(Lisp)j(data)f(t)o(yp)q(es.)18 +b(The)10 b(remain-)0 814 y(ing)17 b(sections)h(of)f(this)g(c)o(hapter)i +(go)d(in)o(to)h(more)f(detail)h(and)g(also)g(describ)q(e)i(notations)0 +866 y(for)14 b(ob)r(jects)i(of)d(eac)o(h)i(t)o(yp)q(e.)20 +b(Descriptions)15 b(of)f(Lisp)h(functions)f(that)g(op)q(erate)i(on)e +(data)0 918 y(ob)r(jects)h(of)e(eac)o(h)i(t)o(yp)q(e)f(app)q(ear)g(in)g +(later)g(c)o(hapters.)0 980 y Fu(.)42 989 y Fv(Numb)n(ers)f +Fw(are)h(pro)o(vided)f(in)g(v)n(arious)g(forms)f(and)i(represen)o +(tations.)20 b(Commo)o(n)11 b(Lisp)42 1041 y(pro)o(vides)j(a)h(true)g +(in)o(teger)g(data)f(t)o(yp)q(e:)20 b(an)o(y)15 b(in)o(teger,)f(p)q +(ositiv)o(e)h(or)f(negativ)o(e,)g(has)h(in)42 1093 y(principle)g(a)g +(represen)o(tation)i(as)f(a)f(Common)d(Lisp)k(data)f(ob)r(ject,)h(sub)r +(ject)h(only)e(to)42 1145 y(total)8 b(memory)f(limitations)g(\(rather)j +(than)g(mac)o(hine)e(w)o(ord)i(width\).)16 b(A)10 b(true)g(rational)42 +1196 y(data)15 b(t)o(yp)q(e)h(is)g(pro)o(vided:)22 b(the)16 +b(quotien)o(t)g(of)f(t)o(w)o(o)g(in)o(tegers,)i(if)e(not)h(an)f(in)o +(teger,)h(is)g(a)42 1248 y(ratio.)36 b(Floating-p)q(oin)o(t)18 +b(n)o(um)o(b)q(ers)h(of)h(v)n(arious)f(ranges)i(and)f(precisions)h(are) +f(also)42 1300 y(pro)o(vided,)13 b(as)h(w)o(ell)f(as)h(Cartesian)g +(complex)f(n)o(um)o(b)q(ers.)0 1375 y Fu(.)42 1384 y +Fv(Char)n(acters)h Fw(represen)o(t)k(prin)o(ted)e(glyphs)f(suc)o(h)i +(as)e(letters)i(or)f(text)g(formatting)d(op-)42 1436 +y(erations.)24 b(Strings)16 b(are)g(one-dimensional)e(arra)o(ys)i(of)f +(c)o(haracters.)26 b(Common)13 b(Lisp)42 1487 y(pro)o(vides)h(for)h(a)f +(ric)o(h)h(c)o(haracter)h(set,)g(including)e(w)o(a)o(ys)g(to)h +(represen)o(t)i(c)o(haracters)f(of)42 1539 y(v)n(arious)d(t)o(yp)q(e)h +(st)o(yles.)0 1614 y Fu(.)42 1623 y Fv(Symb)n(ols)23 +b Fw(\(sometimes)e(called)i Fv(atomic)g(symb)n(ols)f +Fw(for)h(emphasis)f(or)h(clarit)o(y\))f(are)42 1675 y(named)17 +b(data)h(ob)r(jects.)33 b(Lisp)18 b(pro)o(vides)h(mac)o(hinery)f(for)g +(lo)q(cating)f(a)h(sym)o(b)q(ol)f(ob-)42 1726 y(ject,)e(giv)o(en)f(its) +h(name)e(\(in)i(the)g(form)e(of)h(a)h(string\).)20 b(Sym)o(b)q(ols)13 +b(ha)o(v)o(e)i Fv(pr)n(op)n(erty)g(lists)p Fw(,)42 1778 +y(whic)o(h)i(in)h(e\013ect)i(allo)o(w)c(sym)o(b)q(ols)h(to)h(b)q(e)g +(treated)h(as)f(record)i(structures)g(with)e(an)42 1830 +y(extensible)12 b(set)h(of)e(named)g(comp)q(onen)o(ts,)h(eac)o(h)g(of)f +(whic)o(h)h(ma)o(y)e(b)q(e)i(an)o(y)g(Lisp)f(ob)r(ject.)42 +1882 y(Sym)o(b)q(ols)h(also)h(serv)o(e)i(to)f(name)e(functions)i(and)g +(v)n(ariables)f(within)g(programs.)0 1957 y Fu(.)42 1966 +y Fv(Lists)18 b Fw(are)h(sequences)i(represen)o(ted)h(in)c(the)h(form)e +(of)h(link)o(ed)g(cells)h(called)g Fv(c)n(onses)p Fw(.)42 +2017 y(There)14 b(is)f(a)g(sp)q(ecial)h(ob)r(ject)g(\(the)g(sym)o(b)q +(ol)e Fs(nil)p Fw(\))g(that)i(is)f(the)h(empt)o(y)e(list.)18 +b(All)12 b(other)42 2069 y(lists)e(are)h(built)f(recursiv)o(ely)i(b)o +(y)f(adding)f(a)g(new)h(elemen)o(t)g(to)f(the)i(fron)o(t)e(of)g(an)h +(existing)42 2121 y(list.)26 b(This)17 b(is)g(done)g(b)o(y)g(creating)g +(a)f(new)i Fv(c)n(ons)p Fw(,)f(whic)o(h)g(is)g(an)g(ob)r(ject)g(ha)o +(ving)f(t)o(w)o(o)42 2173 y(comp)q(onen)o(ts)10 b(called)h(the)h +Fv(c)n(ar)f Fw(and)g(the)h Fv(c)n(dr)p Fw(.)17 b(The)12 +b Fv(c)n(ar)f Fw(ma)o(y)e(hold)i(an)o(ything,)f(and)h(the)42 +2225 y Fv(c)n(dr)f Fw(is)h(made)f(to)h(p)q(oin)o(t)g(to)g(the)h +(previously)f(existing)g(list.)16 b(\(Conses)d(ma)o(y)c(actually)h(b)q +(e)42 2277 y(used)k(completely)e(generally)h(as)g(t)o(w)o(o-elemen)o(t) +f(record)i(structures,)i(but)d(their)h(most)42 2329 y(imp)q(ortan)o(t)e +(use)i(is)g(to)g(represen)o(t)i(lists.\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 15 39 +15 38 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(D)o(A)m(T)m(A)12 +b(TYPES)1124 b(15)0 286 y Fu(.)42 295 y Fv(A)o(rr)n(ays)12 +b Fw(are)i(dimensioned)f(collections)g(of)g(ob)r(jects.)19 +b(An)14 b(arra)o(y)g(can)f(ha)o(v)o(e)h(an)o(y)f(non-)42 +347 y(negativ)o(e)f(n)o(um)o(b)q(er)h(of)f(dimensions)g(and)h(is)g +(indexed)g(b)o(y)g(a)g(sequence)i(of)d(in)o(tegers.)19 +b(A)42 399 y(general)10 b(arra)o(y)f(can)h(ha)o(v)o(e)g(an)o(y)f(Lisp)h +(ob)r(ject)h(as)f(a)f(comp)q(onen)o(t;)h(other)h(t)o(yp)q(es)f(of)g +(arra)o(ys)42 450 y(are)h(sp)q(ecialized)h(for)f(e\016ciency)h(and)f +(can)h(hold)f(only)f(certain)i(t)o(yp)q(es)g(of)f(Lisp)g(ob)r(jects.)42 +502 y(It)i(is)g(p)q(ossible)h(for)f(t)o(w)o(o)g(arra)o(ys,)h(p)q +(ossibly)f(with)g(di\013ering)g(dimension)f(information,)42 +554 y(to)i(share)h(the)h(same)d(set)j(of)e(elemen)o(ts)g(\(suc)o(h)i +(that)e(mo)q(difying)e(one)i(arra)o(y)h(mo)q(di\014es)42 +606 y(the)c(other)g(also\))f(b)o(y)g(causing)h(one)g(to)f(b)q(e)i +Fv(displac)n(e)n(d)e Fw(to)h(the)g(other.)17 b(One-dimensional)42 +658 y(arra)o(ys)c(of)g(an)o(y)g(kind)g(are)g(called)h +Fv(ve)n(ctors)p Fw(.)j(One-dimensional)12 b(arra)o(ys)h(of)g(c)o +(haracters)42 710 y(are)f(called)f Fv(strings)p Fw(.)17 +b(One-dimensional)10 b(arra)o(ys)h(of)g(bits)h(\(that)g(is,)g(of)f(in)o +(tegers)h(whose)42 762 y(v)n(alues)h(are)h(0)g(or)g(1\))g(are)g(called) +g Fv(bit-ve)n(ctors)p Fw(.)0 846 y Fu(.)42 855 y Fv(Hash)h(tables)f +Fw(pro)o(vide)f(an)h(e\016cien)o(t)h(w)o(a)o(y)e(of)g(mapping)f(an)o(y) +i(Lisp)g(ob)r(ject)h(\(a)e Fv(key)p Fw(\))i(to)42 907 +y(an)e(asso)q(ciated)i(ob)r(ject.)0 992 y Fu(.)42 1001 +y Fv(R)n(e)n(adtables)f Fw(are)g(used)h(to)f(con)o(trol)f(the)i +(built-in)d(expression)j(parser)g Fs(read)p Fw(.)0 1086 +y Fu(.)42 1095 y Fv(Packages)g Fw(are)f(collections)g(of)g(sym)o(b)q +(ols)f(that)h(serv)o(e)h(as)g(name)e(spaces.)20 b(The)15 +b(parser)42 1146 y(recognizes)g(sym)o(b)q(ols)e(b)o(y)h(lo)q(oking)f +(up)i(c)o(haracter)g(sequences)i(in)d(the)h(curren)o(t)h(pac)o(k-)42 +1198 y(age.)0 1283 y Fu(.)42 1292 y Fv(Pathnames)e Fw(represen)o(t)h +(names)d(of)h(\014les)h(in)e(a)h(fairly)f(implemen)o(tatio)o(n-indep)q +(enden)o(t)42 1344 y(manner.)17 b(They)d(are)g(used)h(to)f(in)o +(terface)g(to)g(the)g(external)h(\014le)f(system.)0 1429 +y Fu(.)42 1438 y Fv(Str)n(e)n(ams)j Fw(represen)o(t)k(sources)e(or)g +(sinks)f(of)f(data,)i(t)o(ypically)d(c)o(haracters)k(or)e(b)o(ytes.)42 +1489 y(They)h(are)i(used)f(to)f(p)q(erform)g(I/O,)g(as)h(w)o(ell)f(as)h +(for)f(in)o(ternal)g(purp)q(oses)i(suc)o(h)g(as)42 1541 +y(parsing)13 b(strings.)0 1626 y Fu(.)42 1635 y Fv(R)n(andom-states)21 +b Fw(are)g(data)f(structures)k(used)d(to)g(encapsulate)g(the)h(state)f +(of)f(the)42 1687 y(built-in)12 b(random-n)o(um)o(b)q(er)g(generator.)0 +1772 y Fu(.)42 1781 y Fv(Structur)n(es)e Fw(are)h(user-de\014ned)i +(record)f(structures,)i(ob)r(jects)e(that)f(ha)o(v)o(e)f(named)g(com-) +42 1832 y(p)q(onen)o(ts.)17 b(The)10 b Fs(defstruct)d +Fw(facilit)o(y)h(is)h(used)h(to)g(de\014ne)g(new)g(structure)h(t)o(yp)q +(es.)18 b(Some)42 1884 y(Comm)o(on)c(Lisp)i(implem)o(en)o(tations)e(ma) +o(y)g(c)o(ho)q(ose)j(to)g(implem)o(en)o(t)d(certain)j(system-)42 +1936 y(supplied)d(data)g(t)o(yp)q(es,)h(suc)o(h)g(as)g +Fv(bignums)p Fw(,)f Fv(r)n(e)n(adtables)p Fw(,)g Fv(str)n(e)n(ams)p +Fw(,)f Fv(hash)j(tables)p Fw(,)e(and)42 1988 y Fv(p)n(athnames)p +Fw(,)g(as)g(structures,)i(but)e(this)g(fact)g(will)e(b)q(e)j(in)o +(visible)d(to)i(the)g(user.)0 2060 y Fu(.)42 2069 y Fv(F)m(unctions)d +Fw(are)h(ob)r(jects)g(that)g(can)f(b)q(e)h(in)o(v)o(ok)o(ed)e(as)i(pro) +q(cedures;)i(these)e(ma)o(y)e(tak)o(e)h(ar-)-38 2044 +y Fk(.)-38 2057 y(.)-38 2070 y(.)-38 2083 y(.)-38 2096 +y(.)-38 2109 y(.)-38 2122 y(.)-38 2135 y(.)-38 2148 y(.)-38 +2161 y(.)-38 2174 y(.)-38 2187 y(.)-38 2200 y(.)-38 2213 +y(.)-38 2226 y(.)-38 2239 y(.)-38 2252 y(.)-38 2265 y(.)-38 +2278 y(.)-38 2291 y(.)-38 2304 y(.)-38 2317 y(.)-38 2330 +y(.)-38 2343 y(.)-38 2356 y(.)-38 2369 y(.)-38 2382 y(.)-38 +2395 y(.)-38 2408 y(.)-38 2420 y(.)-38 2433 y(.)-38 2446 +y(.)-38 2459 y(.)-38 2472 y(.)-38 2485 y(.)-38 2498 y(.)-38 +2511 y(.)-38 2524 y(.)-38 2537 y(.)-38 2550 y(.)-38 2563 +y(.)-38 2576 y(.)-38 2589 y(.)-38 2602 y(.)-38 2615 y(.)-38 +2628 y(.)-38 2641 y(.)-38 2654 y(.)-38 2667 y(.)-38 2680 +y(.)-38 2693 y(.)-38 2706 y(.)-38 2719 y(.)-38 2732 y(.)-38 +2745 y(.)-38 2758 y(.)-38 2771 y(.)-38 2784 y(.)-38 2797 +y(.)-38 2810 y(.)-38 2823 y(.)-38 2836 y(.)-38 2849 y(.)-38 +2862 y(.)-38 2875 y(.)-38 2887 y(.)-38 2900 y(.)-38 2913 +y(.)-38 2926 y(.)-38 2939 y(.)-38 2952 y(.)-38 2965 y(.)-38 +2978 y(.)-38 2991 y(.)-38 3004 y(.)-38 3017 y(.)-38 3030 +y(.)-38 3043 y(.)-38 3056 y(.)-38 3069 y(.)-38 3082 y(.)-38 +3095 y(.)-38 3108 y(.)-38 3121 y(.)-38 3134 y(.)-38 3147 +y(.)-38 3160 y(.)-38 3173 y(.)-38 3186 y(.)-38 3199 y(.)-38 +3212 y(.)-38 3225 y(.)-38 3238 y(.)-38 3251 y(.)-38 3264 +y(.)-38 3277 y(.)-38 3290 y(.)-38 3303 y(.)-38 3316 y(.)-38 +3329 y(.)-38 3342 y(.)-38 3354 y(.)-38 3367 y(.)-38 3380 +y(.)-38 3393 y(.)-38 3406 y(.)-38 3419 y(.)-38 3432 y(.)-38 +3445 y(.)-38 3458 y(.)-38 3471 y(.)-38 3484 y(.)-38 3497 +y(.)-38 3510 y(.)-38 3523 y(.)-38 3536 y(.)-38 3549 y(.)-38 +3562 y(.)-38 3575 y(.)-38 3588 y(.)-38 3601 y(.)-38 3614 +y(.)-38 3627 y(.)-38 3640 y(.)-38 3653 y(.)-38 3666 y(.)-38 +3679 y(.)-38 3692 y(.)-38 3705 y(.)-38 3718 y(.)-38 3731 +y(.)-38 3744 y(.)-38 3757 y(.)-38 3770 y(.)-38 3783 y(.)-38 +3796 y(.)-38 3809 y(.)-38 3821 y(.)-38 3834 y(.)-38 3847 +y(.)-38 3860 y(.)-38 3873 y(.)-38 3886 y(.)-38 3899 y(.)-38 +3912 y(.)-38 3925 y(.)-38 3938 y(.)-38 3951 y(.)-38 3964 +y(.)-38 3977 y(.)-38 3990 y(.)-38 4003 y(.)-38 4016 y(.)-38 +4029 y(.)-38 4042 y(.)-38 4055 y(.)-38 4068 y(.)-38 4081 +y(.)-38 4094 y(.)-38 4107 y(.)-38 4120 y(.)-38 4133 y(.)-38 +4146 y(.)-38 4159 y(.)-38 4172 y(.)-38 4185 y(.)-38 4198 +y(.)-38 4211 y(.)-38 4224 y(.)-38 4237 y(.)-38 4250 y(.)-38 +4263 y(.)-38 4276 y(.)-38 4288 y(.)-38 4301 y(.)-38 4314 +y(.)-38 4327 y(.)-38 4340 y(.)-38 4353 y(.)-38 4366 y(.)-38 +4379 y(.)-38 4392 y(.)-38 4405 y(.)-38 4418 y(.)-38 4431 +y(.)-38 4444 y(.)-38 4457 y(.)-38 4470 y(.)-38 4483 y(.)-38 +4496 y(.)-38 4509 y(.)-38 4522 y(.)-38 4535 y(.)-38 4548 +y(.)-38 4561 y(.)-38 4574 y(.)-38 4587 y(.)-38 4600 y(.)-38 +4613 y(.)-38 4626 y(.)42 2121 y Fw(gumen)o(ts)f(and)h(return)h(v)n +(alues.)17 b(\(All)10 b(Lisp)h(pro)q(cedures)i(can)e(b)q(e)h(construed) +h(to)e(return)42 2173 y(v)n(alues)16 b(and)g(therefore)i(ev)o(ery)f +(pro)q(cedure)h(is)e(a)g(function.\))25 b(Suc)o(h)17 +b(ob)r(jects)h(include)42 2225 y Fv(c)n(ompile)n(d-functions)10 +b Fw(\(compiled)f(co)q(de)i(ob)r(jects\).)18 b(Some)9 +b(functions)h(are)h(represen)o(ted)42 2277 y(as)17 b(a)g(list)f(whose)i +Fv(c)n(ar)f Fw(is)g(a)g(particular)g(sym)o(b)q(ol)e(suc)o(h)j(as)g +Fs(lambda)p Fw(.)26 b(Sym)o(b)q(ols)16 b(ma)o(y)42 2329 +y(also)d(b)q(e)h(used)h(as)f(functions.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 16 40 +16 39 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(16)77 b(COMMON)13 +b(LISP)-33 306 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 363 a Fw(X3J13)19 b(v)o(oted)g(in)g(June)i(1988)d +Ft(h)p Fw(90)p Ft(i)h Fw(to)h(sp)q(ecify)g(that)f(sym)o(b)q(ols)f(are)i +(not)f(of)g(t)o(yp)q(e)-33 335 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 415 a Fs(function)p Fw(,)f(but)h(are)h(automatically)15 +b(co)q(erced)21 b(to)e(functions)g(in)g(certain)g(situations)0 +467 y(\(see)c(section)g(2.13\).)-33 479 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 519 a(X3J13)e(v)o(oted)h(in)g(June)h(1988)e +Ft(h)p Fw(30)p Ft(i)h Fw(to)g(adopt)f(the)i(Common)c(Lisp)j(Condition)f +(Sys-)-33 491 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 571 a(tem,)g(thereb)o(y)i(in)o(tro)q(ducing)e(a)h(new)g +(category)g(of)g(data)f(ob)r(jects:)0 630 y Fu(.)42 639 +y Fv(Conditions)k Fw(are)h(ob)r(jects)h(used)f(to)f(a\013ect)i(con)o +(trol)e(\015o)o(w)g(in)g(certain)h(con)o(v)o(en)o(tional)42 +691 y(w)o(a)o(ys)h(b)o(y)h(means)f(of)g(signals)g(and)h(handlers)g +(that)g(in)o(tercept)i(those)e(signals.)36 b(In)42 743 +y(particular,)16 b(errors)i(are)f(signaled)f(b)o(y)g(raising)g +(particular)g(conditions,)g(and)g(errors)42 795 y(ma)o(y)11 +b(b)q(e)k(trapp)q(ed)g(b)o(y)e(establishing)h(handlers)g(for)g(those)g +(conditions.)-33 807 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 863 a(X3J13)e(v)o(oted)i(in)e(June)i(1988)f +Ft(h)p Fw(12)p Ft(i)g Fw(to)g(adopt)f(the)i(Common)c(Lisp)j(Ob)r(ject)i +(System,)-33 835 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 915 a(thereb)o(y)g(in)o(tro)q(ducing)f(additional)e +(categories)i(of)g(data)f(ob)r(jects:)0 975 y Fu(.)42 +984 y Fv(Classes)18 b Fw(determine)h(the)h(structure)i(and)d(b)q(eha)o +(vior)g(of)f(other)i(ob)r(jects,)h(their)f Fv(in-)42 +1036 y(stanc)n(es)p Fw(.)g(Ev)o(ery)15 b(Common)d(Lisp)i(data)h(ob)r +(ject)g(b)q(elongs)g(to)f(some)g(class.)21 b(\(In)15 +b(some)42 1088 y(w)o(a)o(ys)d(the)i(CLOS)g(class)f(system)g(is)g(a)g +(generalization)g(of)f(the)i(system)f(of)g(t)o(yp)q(e)g(sp)q(ec-)42 +1139 y(i\014ers)k(of)g(the)g(\014rst)h(edition)f(of)f(this)h(b)q(o)q +(ok,)h(but)f(the)h(class)f(system)g(augmen)o(ts)f(the)42 +1191 y(t)o(yp)q(e)e(system)g(rather)g(than)g(supplan)o(ting)f(it.\))0 +1263 y Fu(.)42 1272 y Fv(Metho)n(ds)h Fw(are)h(c)o(h)o(unks)f(of)g(co)q +(de)h(that)f(op)q(erate)h(on)f(argumen)o(ts)g(satisfying)f(a)h(partic-) +42 1324 y(ular)i(pattern)j(of)d(classes.)30 b(Metho)q(ds)18 +b(are)g(not)f(functions;)i(they)f(are)f(not)h(in)o(v)o(ok)o(ed)42 +1376 y(directly)c(on)f(argumen)o(ts)g(but)i(instead)f(are)g(bundled)g +(in)o(to)f(generic)i(functions.)0 1448 y Fu(.)42 1457 +y Fv(Generic)h(functions)h Fw(are)f(functions)g(that)h(con)o(tain,)e +(among)f(other)j(information,)c(a)42 1509 y(set)j(of)e(metho)q(ds.)21 +b(When)16 b(in)o(v)o(ok)o(ed,)e(a)h(generic)h(function)e(executes)k(a)d +(subset)h(of)f(its)42 1561 y(metho)q(ds.)i(The)c(subset)h(c)o(hosen)g +(for)e(execution)i(dep)q(ends)g(in)f(a)f(sp)q(eci\014c)i(w)o(a)o(y)f +(on)f(the)42 1613 y(classes)j(or)f(iden)o(tities)f(of)h(the)g(argumen)o +(ts)f(to)h(whic)o(h)g(it)f(is)h(applied.)-33 1624 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1681 a(These)h(categories)f(are)g(not)g(alw)o(a)o(ys)f +(m)o(utually)e(exclusiv)o(e.)18 b(The)d(required)f(relation-)0 +1733 y(ships)c(among)d(the)k(v)n(arious)d(data)i(t)o(yp)q(es)g(are)g +(explained)f(in)g(more)g(detail)g(in)g(section)h(2.15.)0 +1881 y Fo(2.1.)20 b(Num)n(b)r(ers)0 1966 y Fw(Sev)o(eral)13 +b(kinds)g(of)f(n)o(um)o(b)q(ers)h(are)g(de\014ned)h(in)e(Common)e +(Lisp.)17 b(They)d(are)f(divided)f(in)o(to)0 2017 y Fv(inte)n(gers)p +Fw(;)18 b Fv(r)n(atios)p Fw(;)f Fv(\015o)n(ating-p)n(oint)h(numb)n(ers) +p Fw(,)g(with)e(names)h(pro)o(vided)f(for)h(up)g(to)g(four)0 +2069 y(di\013eren)o(t)e(\015oating-p)q(oin)o(t)d(represen)o(tations;)j +(and)f Fv(c)n(omplex)h(numb)n(ers)p Fw(.)42 2121 y(X3J13)e(v)o(oted)h +(in)g(Marc)o(h)g(1989)f Ft(h)p Fw(151)p Ft(i)g Fw(to)h(add)f(the)i(t)o +(yp)q(e)f Fs(real)p Fw(.)-33 2093 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 42 2173 a(The)g Fs(number)e Fw(data)h(t)o(yp)q(e)h +(encompasses)g(all)f(kinds)g(of)g(n)o(um)o(b)q(ers.)18 +b(F)m(or)13 b(con)o(v)o(enience,)0 2225 y(there)k(are)f(names)f(for)g +(some)f(sub)q(classes)k(of)d(n)o(um)o(b)q(ers)g(as)h(w)o(ell.)22 +b(In)o(tegers)17 b(and)e(ratios)0 2277 y(are)i(of)f(t)o(yp)q(e)i +Fs(rational)p Fw(.)25 b(Rational)14 b(n)o(um)o(b)q(ers)j(and)g +(\015oating-p)q(oin)o(t)e(n)o(um)o(b)q(ers)h(are)h(of)0 +2329 y(t)o(yp)q(e)d Fs(real)p Fw(.)k(Real)13 b(n)o(um)o(b)q(ers)g(and)h +(complex)f(n)o(um)o(b)q(ers)g(are)h(of)g(t)o(yp)q(e)g +Fs(number)p Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 17 41 +17 40 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(D)o(A)m(T)m(A)12 +b(TYPES)1124 b(17)42 295 y Fw(Although)17 b(the)i(names)f(of)g(these)i +(t)o(yp)q(es)f(w)o(ere)h(c)o(hosen)f(with)f(the)h(terminology)d(of)0 +347 y(mathematics)10 b(in)h(mind,)f(the)i(corresp)q(ondences)j(are)d +(not)g(alw)o(a)o(ys)f(exact.)18 b(In)o(tegers)13 b(and)0 +399 y(ratios)i(mo)q(del)f(the)i(corresp)q(onding)g(mathematical)c +(concepts)17 b(directly)m(.)22 b(Num)o(b)q(ers)15 b(of)0 +450 y(t)o(yp)q(e)g Fs(float)f Fw(ma)o(y)f(b)q(e)i(used)h(to)f(appro)o +(ximate)e(real)i(n)o(um)o(b)q(ers,)f(b)q(oth)h(rational)e(and)i(ir-)0 +502 y(rational.)26 b(The)17 b Fs(real)f Fw(t)o(yp)q(e)i(includes)f(all) +f(Commo)o(n)e(Lisp)j(n)o(um)o(b)q(ers)f(that)h(represen)o(t)0 +554 y(mathematical)10 b(real)i(n)o(um)o(b)q(ers,)h(though)f(there)j +(are)e(mathematical)d(real)i(n)o(um)o(b)q(ers)h(\(ir-)0 +606 y(rational)j(n)o(um)o(b)q(ers\))h(that)h(do)f(not)g(ha)o(v)o(e)g +(an)g(exact)h(Common)c(Lisp)k(represen)o(tation.)0 658 +y(Only)c Fs(real)f Fw(n)o(um)o(b)q(ers)g(ma)o(y)f(b)q(e)j(ordered)g +(using)e(the)i Fs(<)p Fw(,)e Fs(>)p Fw(,)g Fs(<)964 654 +y(U)964 662 y(U)986 658 y Fw(,)g(and)h Fs(>)1114 654 +y(U)1114 662 y(U)1149 658 y Fw(functions.)p 0 718 V 0 +778 a Fm(Compatibilit)o(y)8 b(note:)16 b FA(The)9 b(F)m(ortran)h(77)f +(standard)i(de\014nes)g(the)e(term)h Fq(r)n(e)n(al)g(datum)e +FA(to)h(mean)0 824 y(\\a)k(pro)q(cessor)h(appro)o(ximation)i(to)c(the)h +(v)n(alue)h(of)f(a)f(real)i(n)o(um)o(b)q(er.")k(In)12 +b(practice)i(the)f(F)m(ortran)0 869 y Fq(b)n(asic)c(r)n(e)n(al)g +FA(t)o(yp)q(e)h(is)h(the)f(\015oating-p)q(oin)o(t)i(data)e(t)o(yp)q(e)h +(that)f(Common)g(Lisp)g(calls)i Fj(single-fl)o(oa)o(t)p +FA(.)0 915 y(The)d(F)m(ortran)g Fq(double)f(pr)n(e)n(cision)f +FA(t)o(yp)q(e)i(is)h(Common)f(Lisp's)g Fj(double-floa)o(t)p +FA(.)j(The)d(P)o(ascal)h Fj(real)0 961 y FA(data)16 b(t)o(yp)q(e)g(is)g +(an)f(\\implemen)o(tati)q(on-de\014)q(ned)k(subset)d(of)f(the)g(real)i +(n)o(um)o(b)q(ers.")25 b(In)15 b(practice)0 1006 y(this)f(is)f(usually) +j(a)d(\015oating-p)q(oin)o(t)j(t)o(yp)q(e,)d(often)g(what)g(Common)g +(Lisp)h(calls)h Fj(double-fl)o(oa)o(t)p FA(.)42 1052 +y(A)f(translation)k(of)d(an)h(algorithm)h(written)f(in)g(F)m(ortran)g +(or)f(P)o(ascal)h(that)g(uses)g Fj(real)d FA(data)0 1098 +y(usually)19 b(will)e(use)g(some)f(appropriate)j(precision)f(of)e +(Common)g(Lisp's)h Fj(float)d FA(t)o(yp)q(e.)27 b(Some)0 +1143 y(algorithms)18 b(ma)o(y)e(gain)h(accuracy)g(or)f(\015exibilit)o +(y)j(b)o(y)d(using)h(Common)f(Lisp's)h Fj(rational)c +FA(or)0 1189 y Fj(real)e FA(t)o(yp)q(e)j(instead.)p 0 +1222 V -33 1233 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1364 a Fo(2.1.1.)20 b(In)n(tegers)0 1447 +y Fw(The)11 b Fs(integer)e Fw(data)h(t)o(yp)q(e)h(is)f(in)o(tended)h +(to)f(represen)o(t)j(mathematical)7 b(in)o(tegers.)17 +b(Unlik)o(e)0 1499 y(most)12 b(programmi)o(ng)e(languages,)i(Common)e +(Lisp)j(in)g(principle)g(imp)q(oses)f(no)h(limit)d(on)0 +1550 y(the)16 b(magnitude)f(of)g(an)g(in)o(teger;)i(storage)f(is)g +(automatically)d(allo)q(cated)i(as)h(necessary)0 1602 +y(to)e(represen)o(t)i(large)e(in)o(tegers.)42 1654 y(In)e(ev)o(ery)i +(Comm)o(on)c(Lisp)i(implemen)o(tation)d(there)14 b(is)f(a)f(range)h(of) +f(in)o(tegers)i(that)e(are)0 1706 y(represen)o(ted)17 +b(more)12 b(e\016cien)o(tly)i(than)g(others;)g(eac)o(h)g(suc)o(h)h(in)o +(teger)f(is)f(called)h(a)f Fv(\014xnum)p Fw(,)0 1758 +y(and)19 b(an)h(in)o(teger)g(that)f(is)h(not)f(a)g(\014xn)o(um)f(is)i +(called)f(a)g Fv(bignum)p Fw(.)35 b(Common)16 b(Lisp)k(is)0 +1810 y(designed)14 b(to)f(hide)h(this)f(distinction)h(as)f(m)o(uc)o(h)f +(as)i(p)q(ossible;)f(the)h(distinction)f(b)q(et)o(w)o(een)0 +1862 y(\014xn)o(ums)k(and)i(bign)o(ums)d(is)j(visible)f(to)g(the)h +(user)h(in)e(only)g(a)g(few)g(places)h(where)h(the)0 +1914 y(e\016ciency)15 b(of)f(represen)o(tation)j(is)d(imp)q(ortan)o(t.) +k(Exactly)d(whic)o(h)f(in)o(tegers)i(are)f(\014xn)o(ums)0 +1966 y(is)10 b(implemen)o(tation-)o(dep)q(enden)o(t;)g(t)o(ypically)f +(they)i(will)e(b)q(e)i(those)g(in)o(tegers)g(in)f(the)g(range)0 +2017 y Ft(\000)p Fw(2)53 2002 y Fi(n)90 2017 y Fw(to)16 +b(2)164 2002 y Fi(n)196 2017 y Ft(\000)11 b Fw(1,)16 +b(inclusiv)o(e,)g(for)f(some)h Fv(n)g Fw(not)g(less)h(than)f(15.)24 +b(See)17 b Fs(most-positive-)0 2069 y(fixnum)c Fw(and)g +Fs(most-negative-fixnu)o(m)p Fw(.)42 2121 y(X3J13)k(v)o(oted)h(in)f +(Jan)o(uary)g(1989)g Ft(h)p Fw(76)p Ft(i)g Fw(to)h(sp)q(ecify)g(that)g +Fs(fixnum)e Fw(m)o(ust)h(b)q(e)h(a)f(su-)-33 2093 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2173 a(p)q(ert)o(yp)q(e)j(of)d(the)i(t)o(yp)q(e)g +Fs(\(signed-byte)g(16\))p Fw(,)f(and)g(additionally)e(that)i(the)h(v)n +(alue)e(of)0 2225 y Fs(array-dimension-l)o(imit)12 b +Fw(m)o(ust)j(b)q(e)h(a)g(\014xn)o(um)e(\(implying)e(that)k(the)g +(implemen)o(tor)0 2277 y(should)g(c)o(ho)q(ose)g(the)h(range)f(of)f +(\014xn)o(ums)f(to)i(b)q(e)g(large)g(enough)g(to)f(accommo)q(date)f +(the)0 2329 y(largest)g(size)h(of)e(arra)o(y)h(to)f(b)q(e)i(supp)q +(orted\).)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 18 42 +18 41 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(18)77 b(COMMON)13 +b(LISP)p 0 295 V 0 355 a Fm(Rationale:)18 b FA(This)d(sp)q +(eci\014cation)h(allo)o(ws)f(programmers)f(to)g(declare)h(v)n(ariables) +h(in)e(p)q(ortable)0 401 y(co)q(de)h(to)f(b)q(e)h(of)f(t)o(yp)q(e)h +Fj(fixnum)c FA(for)k(e\016ciency)m(.)22 b(Fixn)o(ums)16 +b(are)e(guaran)o(teed)i(to)e(encompass)i(at)0 447 y(least)f(the)f(set)g +(of)g(16-bit)g(signed)i(in)o(tegers)f(\(compare)g(this)g(to)e(the)i +(data)f(t)o(yp)q(e)g Fj(short)j(int)c FA(in)0 492 y(the)e(C)g +(programming)i(language\).)18 b(In)11 b(addition,)j(an)o(y)d(v)n(alid)i +(arra)o(y)f(index)g(m)o(ust)f(b)q(e)h(a)f(\014xn)o(um,)0 +538 y(and)i(therefore)g(v)n(ariables)i(used)e(to)f(hold)i(arra)o(y)f +(indices)h(\(suc)o(h)f(as)g(a)f Fj(dotimes)e FA(v)n(ariable\))k(ma)o(y) +0 584 y(b)q(e)f(declared)i Fj(fixnum)10 b FA(in)k(p)q(ortable)h(co)q +(de.)p 0 624 V -33 636 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 744 a Fw(In)o(tegers)d(are)f(ordinarily)f(written)i(in) +e(decimal)g(notation,)g(as)h(a)g(sequence)i(of)d(decimal)0 +796 y(digits,)19 b(optionally)e(preceded)k(b)o(y)e(a)g(sign)g(and)f +(optionally)f(follo)o(w)o(ed)h(b)o(y)h(a)f(decimal)0 +847 y(p)q(oin)o(t.)g(F)m(or)13 b(example:)550 938 y Fs(0)105 +b(;)p Fw(Zero)528 990 y Fs(-0)g(;)p Fw(This)14 b Fv(always)g +Fw(means)f(the)h(same)f(as)h Fs(0)528 1042 y(+6)105 b(;)p +Fw(The)15 b(\014rst)f(p)q(erfect)i(n)o(um)o(b)q(er)528 +1094 y Fs(28)105 b(;)p Fw(The)15 b(second)g(p)q(erfect)g(n)o(um)o(b)q +(er)463 1145 y Fs(1024.)104 b(;)p Fw(Tw)o(o)14 b(to)f(the)i(ten)o(th)f +(p)q(o)o(w)o(er)528 1197 y Fs(-1)105 b(;)p Fh(e)718 1182 +y Fg(\031)q(i)-17 1249 y Fs(155112100433309859)o(84000)o(000.)d(;)p +Fw(25)14 b(factorial)e(\(25!\),)h(probably)g(a)h(bign)o(um)p +0 1309 V 0 1370 a Fm(Compatibilit)o(y)h(note:)22 b FA(MacLisp)16 +b(and)g(Lisp)h(Mac)o(hine)g(Lisp)f(normally)h(assume)f(that)g(in-)0 +1415 y(tegers)j(are)h(written)f(in)h(o)q(ctal)g(\(radix-8\))h(notation) +f(unless)h(a)e(decimal)i(p)q(oin)o(t)f(is)g(presen)o(t.)0 +1461 y(In)o(terlisp)d(assumes)f(in)o(tegers)g(are)f(written)g(in)h +(decimal)h(notation)g(and)e(uses)h(a)f(trailing)i Fj(Q)e +FA(to)0 1507 y(indicate)e(o)q(ctal)g(radix;)f(ho)o(w)o(ev)o(er,)g(a)f +(decimal)i(p)q(oin)o(t,)g(ev)o(en)f(in)g(trailing)h(p)q(osition,)h +Fq(always)c FA(indi-)0 1552 y(cates)k(a)f(\015oating-p)q(oint)j(n)o(um) +o(b)q(er.)j(This)14 b(is)h(of)e(course)h(consisten)o(t)h(with)f(F)m +(ortran.)19 b(Ada)14 b(do)q(es)0 1598 y(not)i(p)q(ermit)g(trailing)i +(decimal)f(p)q(oin)o(ts)g(but)f(instead)h(requires)g(them)f(to)f(b)q(e) +h(em)o(b)q(edded.)26 b(In)0 1644 y(Common)17 b(Lisp,)g(in)o(tegers)h +(written)e(as)h(describ)q(ed)h(ab)q(o)o(v)o(e)f(are)f(alw)o(a)o(ys)i +(construed)f(to)f(b)q(e)h(in)0 1689 y(decimal)d(notation,)g(whether)f +(or)f(not)g(the)h(decimal)h(p)q(oin)o(t)g(is)f(presen)o(t;)g(allo)o +(wing)h(the)f(decimal)0 1735 y(p)q(oin)o(t)h(to)f(b)q(e)g(presen)o(t)h +(p)q(ermits)g(compatibili)q(t)o(y)i(with)d(MacLisp.)p +0 1775 V 42 1889 a Fw(In)o(tegers)i(ma)o(y)d(b)q(e)i(notated)g(in)g +(radices)g(other)h(than)f(ten.)k(The)d(notation)0 1979 +y Fs(#)0 1975 y(-)0 1983 y(-)22 1979 y Fv(nn)p Fs(r)p +Fv(ddddd)23 b Fw(or)e Fs(#)276 1975 y(-)276 1983 y(-)297 +1979 y Fv(nn)p Fs(R)p Fv(ddddd)0 2069 y Fw(means)c(the)h(in)o(teger)g +(in)f(radix-)p Fv(nn)h Fw(notation)e(denoted)j(b)o(y)e(the)h(digits)f +Fv(ddddd)p Fw(.)30 b(More)0 2121 y(precisely)m(,)13 b(one)h(ma)o(y)d +(write)i Fs(#)447 2117 y(-)447 2125 y(-)469 2121 y Fw(,)g(a)f(non-empt) +o(y)g(sequence)j(of)e(decimal)e(digits)i(represen)o(t-)0 +2173 y(ing)g(an)h(unsigned)g(decimal)e(in)o(teger)j Fv(n)p +Fw(,)f Fs(r)f Fw(\(or)h Fs(R)p Fw(\),)g(an)f(optional)g(sign,)g(and)h +(a)g(sequence)0 2225 y(of)k(radix-)p Fv(n)f Fw(digits,)i(to)f(indicate) +g(an)g(in)o(teger)g(written)h(in)f(radix)f Fv(n)i Fw(\(whic)o(h)f(m)o +(ust)f(b)q(e)0 2277 y(b)q(et)o(w)o(een)e(2)e(and)h(36,)e(inclusiv)o +(e\).)18 b(Only)13 b(legal)g(digits)g(for)g(the)h(sp)q(eci\014ed)h +(radix)e(ma)o(y)f(b)q(e)0 2329 y(used;)j(for)e(example,)g(an)h(o)q +(ctal)g(n)o(um)o(b)q(er)f(ma)o(y)f(con)o(tain)i(only)f(the)i(digits)e +(0)h(through)g(7.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 19 43 +19 42 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(D)o(A)m(T)m(A)12 +b(TYPES)1124 b(19)0 295 y Fw(F)m(or)16 b(digits)f(ab)q(o)o(v)o(e)h(9,)f +(letters)j(of)d(the)i(alphab)q(et)f(of)f(either)i(case)g(ma)o(y)d(b)q +(e)i(used)h(in)f(or-)0 347 y(der.)j(Binary)m(,)12 b(o)q(ctal,)h(and)h +(hexadecimal)e(radices)i(are)h(useful)e(enough)h(to)g(w)o(arran)o(t)f +(the)0 399 y(sp)q(ecial)h(abbreviations)g Fs(#)393 395 +y(-)393 403 y(-)414 399 y(b)g Fw(for)g Fs(#)514 395 y(-)514 +403 y(-)535 399 y(2r)p Fw(,)f Fs(#)604 395 y(-)604 403 +y(-)626 399 y(o)h Fw(for)f Fs(#)725 395 y(-)725 403 y(-)747 +399 y(8r)p Fw(,)g(and)h Fs(#)897 395 y(-)897 403 y(-)919 +399 y(x)f Fw(for)h Fs(#)1018 395 y(-)1018 403 y(-)1040 +399 y(16r)p Fw(.)j(F)m(or)c(example:)-7 484 y Fs(#)-7 +480 y(-)-7 488 y(-)15 484 y(2r11010101)104 b(;)p Fw(Another)14 +b(w)o(a)o(y)f(of)h(writing)f Fs(213)g Fw(decimal)15 536 +y Fs(#)15 532 y(-)15 540 y(-)37 536 y(b11010101)104 b(;)p +Fw(Ditto)-7 588 y Fs(#)-7 584 y(-)-7 592 y(-)15 588 y(b+11010101)g(;)p +Fw(Ditto)124 640 y Fs(#)124 636 y(-)124 644 y(-)146 640 +y(o325)h(;)p Fw(Ditto,)12 b(in)i(o)q(ctal)f(radix)146 +692 y Fs(#)146 688 y(-)146 696 y(-)167 692 y(xD5)106 +b(;)p Fw(Ditto,)12 b(in)i(hexadecimal)e(radix)80 744 +y Fs(#)80 740 y(-)80 748 y(-)102 744 y(16r+D5)105 b(;)p +Fw(Ditto)102 796 y Fs(#)102 792 y(-)102 800 y(-)124 796 +y(o-300)g(;)p Fw(Decimal)11 b Ft(\000)p Fw(192,)i(written)i(in)e(base)i +(8)37 847 y Fs(#)37 843 y(-)37 851 y(-)59 847 y(3r-21010)104 +b(;)p Fw(Same)12 b(thing)i(in)f(base)i(3)80 899 y Fs(#)80 +895 y(-)80 903 y(-)102 899 y(25R-7H)105 b(;)p Fw(Same)12 +b(thing)i(in)f(base)i(25)37 951 y Fs(#)37 947 y(-)37 +955 y(-)59 951 y(xACCEDED)104 b(;)p Fw(181202413,)11 +b(in)i(hexadecimal)g(radix)0 1103 y Fo(2.1.2.)20 b(Ratios)0 +1189 y Fw(A)15 b Fv(r)n(atio)f Fw(is)g(a)h(n)o(um)o(b)q(er)f(represen)o +(ting)i(the)f(mathematical)c(ratio)j(of)h(t)o(w)o(o)f(in)o(tegers.)21 +b(In-)0 1241 y(tegers)f(and)e(ratios)g(collectiv)o(ely)f(constitute)j +(the)f(t)o(yp)q(e)f Fs(rational)p Fw(.)30 b(The)18 b(canonical)0 +1293 y(represen)o(tation)i(of)d(a)h(rational)f(n)o(um)o(b)q(er)g(is)h +(as)g(an)g(in)o(teger)g(if)g(its)g(v)n(alue)f(is)h(in)o(tegral,)0 +1345 y(and)e(otherwise)h(as)f(the)g(ratio)f(of)h(t)o(w)o(o)f(in)o +(tegers,)i(the)f Fv(numer)n(ator)g Fw(and)g Fv(denominator)p +Fw(,)0 1397 y(whose)d(greatest)h(common)c(divisor)h(is)i(1,)f(and)g(of) +g(whic)o(h)h(the)g(denominator)e(is)h(p)q(ositiv)o(e)0 +1449 y(\(and)k(in)g(fact)h(greater)g(than)f(1,)g(or)h(else)g(the)g(v)n +(alue)e(w)o(ould)h(b)q(e)h(in)o(tegral\).)25 b(A)16 b(ratio)g(is)0 +1501 y(notated)i(with)e Fs(/)h Fw(as)h(a)e(separator,)j(th)o(us:)25 +b Fs(3/5)p Fw(.)i(It)17 b(is)g(p)q(ossible)h(to)f(notate)g(ratios)g(in) +0 1553 y(non-canonical)f(\(unreduced\))i(forms,)e(suc)o(h)h(as)f +Fs(4/6)p Fw(,)g(but)h(the)g(Lisp)g(function)f Fs(prin1)0 +1604 y Fw(alw)o(a)o(ys)d(prin)o(ts)h(the)g(canonical)g(form)e(for)h(a)h +(ratio.)42 1656 y(If)i(an)o(y)h(computation)e(pro)q(duces)k(a)e(result) +h(that)f(is)g(a)f(ratio)h(of)f(t)o(w)o(o)h(in)o(tegers)h(suc)o(h)0 +1708 y(that)c(the)h(denominator)d(ev)o(enly)i(divides)g(the)h(n)o +(umerator,)e(then)h(the)h(result)g(is)f(imm)o(e-)0 1760 +y(diately)f(con)o(v)o(erted)i(to)f(the)h(equiv)n(alen)o(t)e(in)o +(teger.)19 b(This)14 b(is)f(called)h(the)h(rule)f(of)f +Fv(r)n(ational)0 1812 y(c)n(anonic)n(alization)p Fw(.)42 +1864 y(Rational)8 b(n)o(um)o(b)q(ers)j(ma)o(y)e(b)q(e)i(written)h(as)e +(the)i(p)q(ossibly)e(signed)h(quotien)o(t)g(of)f(decimal)0 +1916 y(n)o(umerals:)27 b(an)19 b(optional)f(sign)h(follo)o(w)o(ed)f(b)o +(y)h(t)o(w)o(o)f(non-empt)o(y)g(sequences)k(of)c(digits)0 +1968 y(separated)d(b)o(y)f(a)f Fs(/)p Fw(.)18 b(This)c(syn)o(tax)g(ma)o +(y)e(b)q(e)i(describ)q(ed)i(as)e(follo)o(ws:)0 2054 y +Fv(r)n(atio)f Fw(::=)20 b([)p Fv(sign)s Fw(])27 b Ft(f)p +Fv(digit)t Ft(g)426 2038 y Fk(+)474 2054 y Fs(/)20 b +Ft(f)p Fv(digit)t Ft(g)642 2038 y Fk(+)0 2139 y Fw(The)14 +b(second)h(sequence)h(ma)o(y)c(not)i(consist)h(en)o(tirely)f(of)f +(zeros.)19 b(F)m(or)14 b(example:)0 2225 y Fs(2/3)423 +b(;)p Fw(This)13 b(is)h(in)g(canonical)f(form)0 2277 +y Fs(4/6)423 b(;)p Fw(A)14 b(non-canonical)e(form)h(for)g(the)i(same)e +(n)o(um)o(b)q(er)0 2329 y Fs(-17/23)359 b(;)p Fw(A)13 +b(not)h(v)o(ery)g(in)o(teresting)h(ratio)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 20 44 +20 43 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(20)77 b(COMMON)13 +b(LISP)0 295 y Fs(-30517578125/3276)o(8)103 b(;)p Fw(This)14 +b(is)f(\()p Ft(\000)p Fw(5)p Fh(=)p Fw(2\))783 280 y +Fk(15)0 347 y Fs(10/5)401 b(;)p Fw(The)15 b(canonical)e(form)f(for)h +(this)h(is)g Fs(2)42 436 y Fw(T)m(o)i(notate)h(rational)f(n)o(um)o(b)q +(ers)h(in)f(radices)i(other)g(than)f(ten,)h(one)g(uses)g(the)g(same)0 +488 y(radix)13 b(sp)q(eci\014ers)j(\(one)f(of)e Fs(#)424 +484 y(-)424 492 y(-)446 488 y Fv(nn)p Fs(R)p Fw(,)h Fs(#)540 +484 y(-)540 492 y(-)561 488 y(O)p Fw(,)f Fs(#)608 484 +y(-)608 492 y(-)630 488 y(B)p Fw(,)g(or)h Fs(#)728 484 +y(-)728 492 y(-)750 488 y(X)p Fw(\))g(as)g(for)f(in)o(tegers.)19 +b(F)m(or)14 b(example:)0 577 y Fs(#)0 573 y(-)0 581 y(-)22 +577 y(o-101/75)210 b(;)p Fw(Octal)14 b(notation)f(for)g +Fs(-65/61)0 629 y(#)0 625 y(-)0 633 y(-)22 629 y(3r120/21)210 +b(;)p Fw(T)m(ernary)14 b(notation)f(for)g Fs(15/7)0 681 +y(#)0 677 y(-)0 685 y(-)22 681 y(Xbc/ad)253 b(;)p Fw(Hexadecimal)12 +b(notation)h(for)g Fs(188/173)0 733 y(#)0 729 y(-)0 737 +y(-)22 733 y(xFADED/FACADE)103 b(;)p Fw(Hexadecimal)12 +b(notation)h(for)h Fs(1027565/16435934)0 900 y Fo(2.1.3.)20 +b(Floating-P)n(oin)n(t)15 b(Num)n(b)r(ers)0 991 y Fw(Common)j(Lisp)i +(allo)o(ws)g(an)g(implemen)o(tation)e(to)i(pro)o(vide)h(one)g(or)g +(more)f(kinds)g(of)0 1043 y(\015oating-p)q(oin)o(t)d(n)o(um)o(b)q(er,)h +(whic)o(h)g(collectiv)o(ely)g(mak)o(e)f(up)h(the)h(t)o(yp)q(e)g +Fs(float)p Fw(.)30 b(No)o(w)18 b(a)0 1094 y(\015oating-p)q(oin)o(t)f(n) +o(um)o(b)q(er)h(is)h(a)f(\(mathematical\))e(rational)i(n)o(um)o(b)q(er) +g(of)g(the)h(form)e Fv(s)f Ft(\001)0 1146 y Fv(f)k Ft(\001)11 +b Fv(b)78 1131 y Fi(e)p Fl(\000)p Fi(p)139 1146 y Fw(,)18 +b(where)h Fv(s)e Fw(is)g(+1)h(or)f Ft(\000)p Fw(1,)h(the)g +Fv(sign)p Fw(;)h Fv(b)e Fw(is)h(an)f(in)o(teger)h(greater)g(than)g(1,)f +(the)0 1198 y Fv(b)n(ase)g Fw(or)g Fv(r)n(adix)g Fw(of)f(the)h +(represen)o(tation;)j Fv(p)d Fw(is)f(a)h(p)q(ositiv)o(e)g(in)o(teger,)g +(the)h Fv(pr)n(e)n(cision)e Fw(\(in)0 1250 y(base-)p +Fv(b)k Fw(digits\))e(of)h(the)g(\015oating-p)q(oin)o(t)f(n)o(um)o(b)q +(er;)i Fv(f)f Fw(is)g(a)g(p)q(ositiv)o(e)g(in)o(teger)g(b)q(et)o(w)o +(een)0 1302 y Fv(b)27 1287 y Fi(p)p Fl(\000)p Fk(1)102 +1302 y Fw(and)12 b Fv(b)208 1287 y Fi(p)234 1302 y Ft(\000)6 +b Fw(1)12 b(\(inclusiv)o(e\),)g(the)h Fv(signi\014c)n(and)p +Fw(;)g(and)f Fv(e)g Fw(is)h(an)f(in)o(teger,)g(the)h +Fv(exp)n(onent)p Fw(.)0 1354 y(The)19 b(v)n(alue)f(of)g +Fv(p)g Fw(and)g(the)h(range)g(of)f Fv(e)g Fw(dep)q(ends)j(on)d(the)h +(implemen)o(tati)o(on)d(and)i(on)0 1406 y(the)f(t)o(yp)q(e)g(of)f +(\015oating-p)q(oin)o(t)f(n)o(um)o(b)q(er)g(within)h(that)h(implem)o +(en)o(tation.)23 b(In)16 b(addition,)0 1458 y(there)j(is)e(a)g +(\015oating-p)q(oin)o(t)e(zero;)k(dep)q(ending)f(on)f(the)h(implemen)o +(tation,)c(there)19 b(ma)o(y)0 1510 y(also)12 b(b)q(e)h(a)f(\\min)o(us) +e(zero.")18 b(If)12 b(there)i(is)e(no)h(min)o(us)d(zero,)j(then)g +Fs(0.0)f Fw(and)g Fs(-0.0)g Fw(are)h(b)q(oth)0 1561 y(in)o(terpreted)j +(as)e(simply)d(a)j(\015oating-p)q(oin)o(t)e(zero.)p 0 +1621 V 0 1682 a Fm(Implemen)o(tation)19 b(note:)27 b +FA(The)19 b(form)f(of)f(the)i(ab)q(o)o(v)o(e)g(description)h(should)g +(not)f(b)q(e)f(con-)0 1727 y(strued)c(to)g(require)h(the)f(in)o(ternal) +i(represen)o(tation)g(to)e(b)q(e)g(in)h(sign-magnitude)h(form.)k(Tw)o +(o's-)0 1773 y(complemen)o(t)c(and)g(other)f(represen)o(tations)i(are)e +(also)g(acceptable.)24 b(Note)15 b(that)g(the)g(radix)h(of)0 +1819 y(the)c(in)o(ternal)j(represen)o(tation)f(ma)o(y)e(b)q(e)h(other)f +(than)h(2,)f(as)h(on)f(the)g(IBM)h(360)f(and)h(370,)g(whic)o(h)0 +1864 y(use)g(radix)i(16;)d(see)i Fj(float-rad)o(ix)o +FA(.)p 0 1904 V 42 1995 a Fw(Floating-p)q(oin)o(t)8 b(n)o(um)o(b)q(ers) +i(ma)o(y)f(b)q(e)i(pro)o(vided)g(in)f(a)g(v)n(ariet)o(y)g(of)g +(precisions)i(and)e(sizes,)0 2047 y(dep)q(ending)k(on)f(the)g(implemen) +o(tation.)i(High-qualit)o(y)c(\015oating-p)q(oin)o(t)g(soft)o(w)o(are)j +(tends)0 2099 y(to)e(dep)q(end)i(critically)e(on)g(the)i(precise)g +(nature)f(of)f(the)h(\015oating-p)q(oin)o(t)e(arithmetic)h(and)0 +2151 y(so)18 b(ma)o(y)d(not)j(alw)o(a)o(ys)e(b)q(e)j(completely)d(p)q +(ortable.)30 b(As)18 b(an)f(aid)g(in)g(writing)g(programs)0 +2203 y(that)d(are)g(mo)q(derately)f(p)q(ortable,)h(ho)o(w)o(ev)o(er,)f +(certain)i(de\014nitions)f(are)g(made)f(here:)0 2268 +y Fu(.)42 2277 y Fw(A)g Fv(short)g Fw(\015oating-p)q(oin)o(t)f(n)o(um)o +(b)q(er)h(\(t)o(yp)q(e)h Fs(short-float)p Fw(\))e(is)h(of)g(the)h +(represen)o(tation)42 2329 y(of)f(smallest)f(\014xed)j(precision)f(pro) +o(vided)g(b)o(y)f(an)h(implemen)o(tation.)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 21 45 +21 44 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(D)o(A)m(T)m(A)12 +b(TYPES)1124 b(21)p 0 255 1395 2 v 0 344 a Fm(T)l(able)14 +b(2-1:)k FA(Recommended)c(Minim)o(um)h(Floating-P)o(oin)o(t)h +(Precision)f(and)f(Exp)q(onen)o(t)g(Size)0 437 y(F)m(ormat)88 +b(Minim)o(um)15 b(Precision)91 b(Minim)o(um)15 b(Exp)q(onen)o(t)f(Size) +p 0 453 1042 2 v 0 496 a(Short)119 b(13)14 b(bits)303 +b(5)13 b(bits)0 541 y(Single)112 b(24)14 b(bits)303 b(8)13 +b(bits)0 587 y(Double)93 b(50)14 b(bits)303 b(8)13 b(bits)0 +633 y(Long)127 b(50)14 b(bits)303 b(8)13 b(bits)p 0 673 +1395 2 v 0 751 a Fu(.)42 760 y Fw(A)f Fv(long)h Fw(\015oating-p)q(oin)o +(t)e(n)o(um)o(b)q(er)h(\(t)o(yp)q(e)i Fs(long-float)p +Fw(\))c(is)j(of)f(the)h(represen)o(tation)h(of)42 812 +y(the)g(largest)g(\014xed)g(precision)h(pro)o(vided)f(b)o(y)f(an)h +(implemen)o(tatio)o(n.)0 885 y Fu(.)42 894 y Fw(In)o(termediate)k(b)q +(et)o(w)o(een)j(short)f(and)f(long)f(formats)g(are)i(t)o(w)o(o)f +(others,)i(arbitrarily)42 946 y(called)13 b Fv(single)h +Fw(and)g Fv(double)g Fw(\(t)o(yp)q(es)h Fs(single-float)c +Fw(and)j Fs(double-float)p Fw(\).)0 1015 y(The)f(precise)i +(de\014nition)e(of)f(these)j(categories)e(is)g(implemen)o(tation-dep)q +(enden)o(t.)j(Ho)o(w-)0 1067 y(ev)o(er,)j(the)e(rough)h(in)o(ten)o(t)f +(is)g(that)g(short)h(\015oating-p)q(oin)o(t)e(n)o(um)o(b)q(ers)h(b)q(e) +h(precise)h(to)e(at)0 1119 y(least)11 b(four)f(decimal)e(places)j +(\(but)g(also)e(ha)o(v)o(e)i(a)f(space-e\016cien)o(t)h(represen)o +(tation\);)i(single)0 1171 y(\015oating-p)q(oin)o(t)f(n)o(um)o(b)q +(ers,)h(to)g(at)h(least)g(sev)o(en)g(decimal)e(places;)i(and)f(double)h +(\015oating-)0 1223 y(p)q(oin)o(t)i(n)o(um)o(b)q(ers,)g(to)g(at)g +(least)g(fourteen)h(decimal)e(places.)26 b(It)16 b(is)g(suggested)i +(that)e(the)0 1275 y(precision)c(\(measured)h(in)e(bits,)h(computed)g +(as)g Fv(p)e Fw(log)831 1285 y Fk(2)857 1275 y Fv(b)s +Fw(\))i(and)g(the)g(exp)q(onen)o(t)h(size)g(\(also)0 +1327 y(measured)i(in)g(bits,)g(computed)g(as)h(the)g(base-2)f +(logarithm)e(of)i(1)g(plus)g(the)h(maxim)n(um)0 1379 +y(exp)q(onen)o(t)f(v)n(alue\))e(b)q(e)i(at)e(least)h(as)g(great)h(as)f +(the)g(v)n(alues)g(in)f(table)h(2-)o(1.)42 1431 y(Floating-p)q(oin)o(t) +c(n)o(um)o(b)q(ers)j(are)g(written)g(in)f(either)i(decimal)d(fraction)h +(or)h(computer-)0 1482 y(ized)g(scien)o(ti\014c)g(notation:)k(an)12 +b(optional)f(sign,)h(then)h(a)g(non-empt)o(y)e(sequence)j(of)e(digits)0 +1534 y(with)i(an)g(em)o(b)q(edded)g(decimal)f(p)q(oin)o(t,)g(then)i(an) +f(optional)f(decimal)g(exp)q(onen)o(t)i(sp)q(eci\014-)0 +1586 y(cation.)23 b(If)16 b(there)h(is)f(no)f(exp)q(onen)o(t)i(sp)q +(eci\014er,)g(then)g(the)f(decimal)e(p)q(oin)o(t)i(is)f(required,)0 +1638 y(and)i(there)h(m)o(ust)d(b)q(e)j(digits)e(after)h(it.)26 +b(The)17 b(exp)q(onen)o(t)h(sp)q(eci\014er)g(consists)g(of)e(an)h(ex-)0 +1690 y(p)q(onen)o(t)h(mark)o(er,)g(an)g(optional)e(sign,)j(and)e(a)h +(non-empt)o(y)f(sequence)j(of)d(digits.)30 b(F)m(or)0 +1742 y(preciseness,)16 b(here)f(is)f(a)g(mo)q(di\014ed-BNF)f +(description)h(of)f(\015oating-p)q(oin)o(t)g(notation.)0 +1828 y Fv(\015o)n(ating-p)n(oint-numb)n(er)i Fw(::=)20 +b([)p Fv(sign)s Fw(])27 b Ft(f)p Fv(digit)t Ft(g)729 +1813 y Fl(\003)768 1828 y Fv(de)n(cimal-p)n(oint)20 b +Ft(f)p Fv(digit)t Ft(g)1155 1813 y Fk(+)1209 1828 y Fw([)p +Fv(exp)n(onent)t Fw(])444 1880 y Ft(j)h Fw([)p Fv(sign)s +Fw(])27 b Ft(f)p Fv(digit)t Ft(g)729 1865 y Fk(+)783 +1880 y Fw([)p Fv(de)n(cimal-p)n(oint)21 b Ft(f)p Fv(digit)t +Ft(g)1183 1865 y Fl(\003)1208 1880 y Fw(])f Fv(exp)n(onent)0 +1932 y(sign)14 b Fw(::=)f Fs(+)h Ft(j)f Fs(-)0 1983 y +Fv(de)n(cimal-p)n(oint)h Fw(::=)f Fs(.)0 2035 y Fv(digit)g +Fw(::=)h Fs(0)f Ft(j)h Fs(1)f Ft(j)h Fs(2)f Ft(j)h Fs(3)f +Ft(j)h Fs(4)f Ft(j)h Fs(5)f Ft(j)h Fs(6)f Ft(j)h Fs(7)f +Ft(j)h Fs(8)f Ft(j)h Fs(9)0 2087 y Fv(exp)n(onent)h Fw(::=)e +Fv(exp)n(onent-marker)21 b Fw([)p Fv(sign)s Fw(])27 b +Ft(f)p Fv(digit)t Ft(g)815 2072 y Fk(+)0 2139 y Fv(exp)n(onent-marker) +14 b Fw(::=)f Fs(e)h Ft(j)f Fs(s)h Ft(j)f Fs(f)h Ft(j)f +Fs(d)h Ft(j)f Fs(l)h Ft(j)f Fs(E)h Ft(j)f Fs(S)h Ft(j)f +Fs(F)h Ft(j)f Fs(D)h Ft(j)f Fs(L)0 2225 y Fw(If)g(no)g(exp)q(onen)o(t)h +(sp)q(eci\014er)h(is)e(presen)o(t,)h(or)f(if)g(the)h(exp)q(onen)o(t)g +(mark)o(er)e Fs(e)h Fw(\(or)g Fs(E)p Fw(\))g(is)g(used,)0 +2277 y(then)d(the)h(precise)g(format)d(to)i(b)q(e)g(used)h(is)e(not)h +(sp)q(eci\014ed.)18 b(When)10 b(suc)o(h)h(a)e(represen)o(tation)0 +2329 y(is)18 b(read)h(and)e(con)o(v)o(erted)j(to)e(an)f(in)o(ternal)h +(\015oating-p)q(oin)o(t)f(data)g(ob)r(ject,)j(the)f(format)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 22 46 +22 45 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(22)77 b(COMMON)13 +b(LISP)0 295 y Fw(sp)q(eci\014ed)k(b)o(y)f(the)g(v)n(ariable)e +Fs(*read-default-floa)o(t-for)o(mat*)e Fw(is)k(used;)g(the)h(initial)0 +347 y(v)n(alue)c(of)h(this)f(v)n(ariable)g(is)h Fs(single-float)p +Fw(.)42 399 y(The)e(letters)i Fs(s)p Fw(,)e Fs(f)p Fw(,)g +Fs(d)p Fw(,)g(and)g Fs(l)g Fw(\(or)g(their)h(resp)q(ectiv)o(e)h(upp)q +(ercase)h(equiv)n(alen)o(ts\))d(explic-)0 451 y(itly)h(sp)q(ecify)h +(the)h(use)g(of)e Fv(short)p Fw(,)g Fv(single)p Fw(,)g +Fv(double)p Fw(,)h(and)g Fv(long)g Fw(format,)d(resp)q(ectiv)o(ely)m(.) +42 504 y(Examples)h(of)i(\015oating-p)q(oin)o(t)e(n)o(um)o(b)q(ers:)0 +598 y Fs(0.0)529 b(;)p Fw(Floating-p)q(oin)o(t)11 b(zero)k(in)e +(default)h(format)0 650 y Fs(0E0)529 b(;)p Fw(Also)13 +b(\015oating-p)q(oin)o(t)f(zero)j(in)f(default)f(format)0 +702 y Fs(-.0)529 b(;)p Fw(This)13 b(ma)o(y)f(b)q(e)j(a)e(zero)i(or)f(a) +f(min)o(us)g(zero,)593 753 y Fs(;)21 b Fw(dep)q(ending)14 +b(on)g(the)g(implemen)o(tation)0 805 y Fs(0.)550 b(;)p +Fw(The)14 b Fv(inte)n(ger)g Fw(zero,)g(not)g(a)f(\015oating-p)q(oin)o +(t)f(zero!)0 857 y Fs(0.0s0)486 b(;)p Fw(A)14 b(\015oating-p)q(oin)o(t) +e(zero)j(in)e Fv(short)h Fw(format)0 909 y Fs(0s0)529 +b(;)p Fw(Also)13 b(a)h(\015oating-p)q(oin)o(t)e(zero)j(in)e +Fv(short)h Fw(format)0 961 y Fs(3.141592653589793)o(2384d)o(0)103 +b(;)p Fw(A)14 b Fv(double)p Fw(-format)e(appro)o(ximation)f(to)j +Fh(\031)0 1013 y Fs(6.02E+23)422 b(;)p Fw(Av)o(ogadro's)13 +b(n)o(um)o(b)q(er,)f(in)i(default)f(format)0 1065 y Fs(602E+21)443 +b(;)p Fw(Also)14 b(Av)o(ogadro's)f(n)o(um)o(b)q(er,)f(in)i(default)f +(format)0 1117 y Fs(3.010299957f-1)293 b(;)p Fw(log)677 +1127 y Fk(10)719 1117 y Fw(2,)13 b(in)h Fv(single)f Fw(format)0 +1169 y Fs(-0.000000001s9)293 b(;)p Fh(e)642 1153 y Fg(\031)q(i)691 +1169 y Fw(in)13 b Fv(short)h Fw(format,)d(the)k(hard)f(w)o(a)o(y)42 +1261 y Fv(Notic)n(e)20 b(of)g(c)n(orr)n(e)n(ction.)36 +b Fw(The)21 b(\014rst)g(edition)e(unfortunately)h(listed)h(an)e +(incorrect)-33 1233 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1313 a(v)n(alue)13 b(\()p Fs(3.1010299957f-1)p +Fw(\))e(for)j(the)g(base-10)g(logarithm)d(of)j(2.)-33 +1325 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1366 a(The)j(in)o(ternal)h(format)d(used)k(for)e(an)g +(external)h(represen)o(tation)h(dep)q(ends)g(only)e(on)0 +1418 y(the)d(exp)q(onen)o(t)g(mark)o(er)e(and)h(not)g(on)g(the)g(n)o +(um)o(b)q(er)g(of)f(decimal)f(digits)i(in)g(the)g(external)0 +1470 y(represen)o(tation.)42 1523 y(While)18 b(Commo)o(n)e(Lisp)j(pro)o +(vides)g(terminology)e(and)h(notation)h(su\016cien)o(t)g(to)g(ac-)0 +1574 y(commo)q(date)12 b(four)i(distinct)h(\015oating-p)q(oin)o(t)e +(formats,)g(not)h(all)g(implemen)o(tati)o(ons)e(will)0 +1626 y(ha)o(v)o(e)g(the)h(means)e(to)h(supp)q(ort)i(that)e(man)o(y)e +(distinct)j(formats.)j(An)c(implemen)o(tation)d(is)0 +1678 y(therefore)14 b(p)q(ermitted)f(to)f(pro)o(vide)h(few)o(er)g(than) +g(four)f(distinct)h(in)o(ternal)f(\015oating-p)q(oin)o(t)0 +1730 y(formats,)e(in)i(whic)o(h)g(case)g(at)g(least)g(one)g(of)g(them)f +(will)f(b)q(e)j(\\shared")f(b)o(y)g(more)f(than)h(one)0 +1782 y(of)i(the)h(external)g(format)d(names)i Fv(short)p +Fw(,)g Fv(single)p Fw(,)g Fv(double)p Fw(,)g(and)h Fv(long)f +Fw(according)h(to)f(the)0 1834 y(follo)o(wing)d(rules:)0 +1905 y Fu(.)42 1914 y Fw(If)16 b(one)i(in)o(ternal)f(format)e(is)i(pro) +o(vided,)h(then)g(it)e(is)i(considered)g(to)f(b)q(e)h +Fv(single)p Fw(,)g(but)42 1966 y(serv)o(es)24 b(also)f(as)g +Fv(short)p Fw(,)i Fv(double)p Fw(,)h(and)d Fv(long)p +Fw(.)47 b(The)23 b(data)g(t)o(yp)q(es)i Fs(short-float)p +Fw(,)42 2017 y Fs(single-float)p Fw(,)10 b Fs(double-float)p +Fw(,)h(and)i Fs(long-float)e Fw(are)j(considered)h(to)f(b)q(e)g(iden-) +42 2069 y(tical.)26 b(An)17 b(expression)i(suc)o(h)e(as)g +Fs(\(eql)k(1.0s0)f(1.0d0\))c Fw(will)f(b)q(e)j(true)g(in)e(suc)o(h)i +(an)42 2121 y(implem)o(en)o(tation)e(b)q(ecause)k(the)f(t)o(w)o(o)g(n)o +(um)o(b)q(ers)f Fs(1.0s0)g Fw(and)g Fs(1.0d0)g Fw(will)f(b)q(e)j(con-) +42 2173 y(v)o(erted)d(in)o(to)f(the)h(same)f(in)o(ternal)h(format)d +(and)j(therefore)h(b)q(e)f(considered)h(to)f(ha)o(v)o(e)42 +2225 y(the)12 b(same)e(data)h(t)o(yp)q(e,)h(despite)h(the)f +(di\013ering)f(external)h(syn)o(tax.)17 b(Similarly)m(,)8 +b Fs(\(typep)42 2277 y(1.0L0)169 2281 y Fn(')193 2277 +y Fs(short-float\))j Fw(will)g(b)q(e)j(true)g(in)f(suc)o(h)h(an)f +(implemen)o(tation.)i(F)m(or)e(output)42 2329 y(purp)q(oses)h(all)e +(\015oating-p)q(oin)o(t)f(n)o(um)o(b)q(ers)i(are)g(assumed)f(to)h(b)q +(e)h(of)e Fv(single)h Fw(format)e(and)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 23 47 +23 46 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(D)o(A)m(T)m(A)12 +b(TYPES)1124 b(23)42 295 y Fw(th)o(us)14 b(will)e(prin)o(t)i(using)g +(the)g(exp)q(onen)o(t)h(letter)g Fs(E)e Fw(or)h Fs(F)p +Fw(.)0 393 y Fu(.)42 402 y Fw(If)k(t)o(w)o(o)f(in)o(ternal)i(formats)d +(are)j(pro)o(vided,)g(then)g(either)h(of)d(t)o(w)o(o)h(corresp)q +(ondences)42 454 y(ma)o(y)11 b(b)q(e)k(used,)f(dep)q(ending)h(on)e +(whic)o(h)h(is)g(the)g(more)f(appropriate:)42 561 y({)20 +b(One)f(format)e(is)i Fv(short)p Fw(;)h(the)f(other)g(is)g +Fv(single)f Fw(and)h(serv)o(es)h(also)e(as)h Fv(double)g +Fw(and)83 612 y Fv(long)p Fw(.)e(The)11 b(data)f(t)o(yp)q(es)h +Fs(single-float)p Fw(,)e Fs(double-float)p Fw(,)f(and)i +Fs(long-float)e Fw(are)83 664 y(considered)18 b(to)e(b)q(e)i(iden)o +(tical,)e(but)h Fs(short-float)d Fw(is)i(distinct.)27 +b(An)17 b(expression)83 716 y(suc)o(h)11 b(as)e Fs(\(eql)21 +b(1.0s0)f(1.0d0\))8 b Fw(will)h(b)q(e)h(false,)g(but)g +Fs(\(eql)20 b(1.0f0)g(1.0d0\))9 b Fw(will)f(b)q(e)83 +768 y(true.)19 b(Similarly)l(,)10 b Fs(\(typep)20 b(1.0L0)651 +772 y Fn(')674 768 y Fs(short-float\))11 b Fw(will)h(b)q(e)i(false,)f +(but)h Fs(\(typep)83 820 y(1.0L0)211 824 y Fn(')234 820 +y Fs(single-float\))h Fw(will)h(b)q(e)i(true.)29 b(F)m(or)17 +b(output)g(purp)q(oses)i(all)d(\015oating-)83 872 y(p)q(oin)o(t)d(n)o +(um)o(b)q(ers)h(are)g(assumed)g(to)f(b)q(e)i(of)e Fv(short)h +Fw(or)g Fv(single)f Fw(format.)42 979 y({)20 b(One)f(format)e(is)i +Fv(single)f Fw(and)h(serv)o(es)h(also)e(as)h Fv(short)p +Fw(;)h(the)f(other)g(is)g Fv(double)g Fw(and)83 1031 +y(serv)o(es)j(also)d(as)h Fv(long)p Fw(.)37 b(The)20 +b(data)g(t)o(yp)q(es)h Fs(short-float)c Fw(and)j Fs(single-float)83 +1083 y Fw(are)g(considered)g(to)f(b)q(e)h(iden)o(tical,)f(and)g(the)h +(data)f(t)o(yp)q(es)h Fs(double-float)d Fw(and)83 1135 +y Fs(long-float)c Fw(are)j(considered)h(to)e(b)q(e)h(iden)o(tical.)21 +b(An)16 b(expression)g(suc)o(h)g(as)g Fs(\(eql)83 1186 +y(1.0s0)k(1.0d0\))10 b Fw(will)g(b)q(e)h(false,)g(as)h(will)d +Fs(\(eql)21 b(1.0f0)f(1.0d0\))p Fw(;)10 b(but)h Fs(\(eql)21 +b(1.0d0)83 1238 y(1.0L0\))c Fw(will)h(b)q(e)h(true.)33 +b(Similarly)l(,)17 b Fs(\(typep)j(1.0L0)965 1242 y Fn(')989 +1238 y Fs(short-float\))c Fw(will)h(b)q(e)83 1290 y(false,)d(but)g +Fs(\(typep)20 b(1.0L0)545 1294 y Fn(')569 1290 y Fs(double-float\))11 +b Fw(will)i(b)q(e)i(true.)20 b(F)m(or)14 b(output)h(pur-)83 +1342 y(p)q(oses)k(all)e(\015oating-p)q(oin)o(t)g(n)o(um)o(b)q(ers)h +(are)h(assumed)e(to)i(b)q(e)f(of)g Fv(single)g Fw(or)g +Fv(double)83 1394 y Fw(format.)0 1492 y Fu(.)42 1501 +y Fw(If)d(three)i(in)o(ternal)e(formats)f(are)j(pro)o(vided,)e(then)h +(either)h(of)e(t)o(w)o(o)g(corresp)q(ondences)42 1553 +y(ma)o(y)c(b)q(e)k(used,)f(dep)q(ending)h(on)e(whic)o(h)h(is)g(the)g +(more)f(appropriate:)42 1660 y({)20 b(One)f(format)d(is)i +Fv(short)p Fw(;)i(another)e(format)f(is)h Fv(single)p +Fw(;)i(and)e(the)g(third)h(format)d(is)83 1712 y Fv(double)e +Fw(and)g(serv)o(es)i(also)d(as)h Fv(long)p Fw(.)k(Similar)11 +b(constrain)o(ts)k(apply)m(.)42 1819 y({)20 b(One)15 +b(format)e(is)h Fv(single)h Fw(and)f(serv)o(es)i(also)e(as)h +Fv(short)p Fw(;)f(another)h(is)f Fv(double)p Fw(;)h(and)f(the)83 +1871 y(third)g(format)e(is)i Fv(long)p Fw(.)p 0 1930 +V 0 1993 a Fm(Implemen)o(tation)19 b(note:)28 b FA(It)18 +b(is)h(recommended)h(that)f(an)g(implemen)o(tation)i(pro)o(vide)f(as)0 +2039 y(man)o(y)13 b(distinct)i(\015oating-p)q(oin)o(t)h(formats)c(as)h +(feasible,)h(using)h(table)e(2-1)g(as)g(a)g(guideline.)20 +b(Ide-)0 2084 y(ally)m(,)11 b(short-format)e(\015oating-p)q(oin)o(t)j +(n)o(um)o(b)q(ers)e(should)h(ha)o(v)o(e)e(an)g(\\immediate")i(represen) +o(tation)0 2130 y(that)k(do)q(es)g(not)g(require)g(heap)h(allo)q +(cation;)i(single-format)e(\015oating-p)q(oin)o(t)h(n)o(um)o(b)q(ers)f +(should)0 2175 y(appro)o(ximate)21 b(IEEE)e(prop)q(osed)i(standard)f +(single-format)h(\015oating-p)q(oin)o(t)h(n)o(um)o(b)q(ers;)h(and)0 +2221 y(double-format)14 b(\015oating-p)q(oin)o(t)g(n)o(um)o(b)q(ers)f +(should)h(appro)o(ximate)g(IEEE)e(prop)q(osed)h(standard)0 +2267 y(double-format)i(\015oating-p)q(oin)o(t)h(n)o(um)o(b)q(ers)e +([23,)e(17,)h(16].)p 0 2329 V -33 2344 a @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 24 48 +24 47 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(24)77 b(COMMON)13 +b(LISP)0 295 y Fo(2.1.4.)20 b(Complex)13 b(Num)n(b)r(ers)0 +378 y Fw(Complex)k(n)o(um)o(b)q(ers)h(\(t)o(yp)q(e)i +Fs(complex)p Fw(\))d(are)i(represen)o(ted)j(in)c(Cartesian)h(form,)f +(with)0 430 y(a)e(real)h(part)g(and)g(an)f(imaginary)e(part,)j(eac)o(h) +g(of)g(whic)o(h)f(is)h(a)f(non-complex)f(n)o(um)o(b)q(er)0 +482 y(\(in)o(teger,)h(ratio,)g(or)f(\015oating-p)q(oin)o(t)g(n)o(um)o +(b)q(er\).)23 b(It)16 b(should)f(b)q(e)i(emphasized)e(that)h(the)0 +534 y(parts)c(of)g(a)f(complex)g(n)o(um)o(b)q(er)g(are)h(not)g +(necessarily)h(\015oating-p)q(oin)o(t)d(n)o(um)o(b)q(ers;)i(in)f(this,) +0 585 y(Common)16 b(Lisp)i(is)h(lik)o(e)f(PL/I)h(and)g(di\013ers)g +(from)e(F)m(ortran.)33 b(Ho)o(w)o(ev)o(er,)20 b(b)q(oth)f(parts)0 +637 y(m)o(ust)14 b(b)q(e)i(of)f(the)h(same)f(t)o(yp)q(e:)21 +b(either)c(b)q(oth)e(are)h(rational,)e(or)h(b)q(oth)h(are)g(of)f(the)h +(same)0 689 y(\015oating-p)q(oin)o(t)c(format.)42 741 +y(Complex)e(n)o(um)o(b)q(ers)i(ma)o(y)e(b)q(e)j(notated)f(b)o(y)g +(writing)g(the)h(c)o(haracters)h Fs(#)1137 737 y(-)1137 +745 y(-)1158 741 y(C)e Fw(follo)o(w)o(ed)f(b)o(y)0 793 +y(a)17 b(list)g(of)g(the)i(real)e(and)g(imaginary)e(parts.)30 +b(If)17 b(the)h(t)o(w)o(o)f(parts)h(as)g(notated)g(are)g(not)0 +845 y(of)c(the)i(same)e(t)o(yp)q(e,)i(then)g(they)f(are)h(con)o(v)o +(erted)g(according)f(to)g(the)h(rules)f(of)g(\015oating-)0 +897 y(p)q(oin)o(t)e(con)o(tagion)f(as)i(describ)q(ed)h(in)e(c)o(hapter) +h(12.)j(\(Indeed,)d Fs(#)958 893 y(-)958 901 y(-)980 +897 y(C\()p Fv(a)21 b(b)p Fs(\))13 b Fw(is)g(equiv)n(alen)o(t)g(to)0 +949 y Fs(#)0 945 y(-)0 953 y(-)22 949 y(,\(complex)19 +b Fv(a)i(b)p Fs(\))p Fw(;)12 b(see)h(the)f(description)g(of)f(the)h +(function)f Fs(complex)p Fw(.\))16 b(F)m(or)11 b(example:)0 +1033 y Fs(#)0 1029 y(-)0 1037 y(-)22 1033 y(C\(3.0s1)20 +b(2.0s-1\))104 b(;)p Fw(Real)13 b(and)h(imaginary)d(parts)j(are)g +(short)h(format)0 1085 y Fs(#)0 1081 y(-)0 1089 y(-)22 +1085 y(C\(5)20 b(-3\))275 b(;)p Fw(A)14 b(Gaussian)f(in)o(teger)0 +1137 y Fs(#)0 1133 y(-)0 1141 y(-)22 1137 y(C\(5/3)20 +b(7.0\))211 b(;)p Fw(Will)12 b(b)q(e)i(con)o(v)o(erted)h(in)o(ternally) +e(to)h Fs(#)1046 1133 y(-)1046 1141 y(-)1068 1137 y(C\(1.66666)19 +b(7.0\))0 1188 y(#)0 1184 y(-)0 1192 y(-)22 1188 y(C\(0)h(1\))296 +b(;)p Fw(The)14 b(imaginary)d(unit,)j(that)g(is,)f Fv(i)42 +1273 y Fw(The)k(t)o(yp)q(e)g(of)g(a)g(sp)q(eci\014c)h(complex)e(n)o(um) +o(b)q(er)g(is)h(indicated)g(b)o(y)g(a)f(list)h(of)f(the)i(w)o(ord)0 +1325 y Fs(complex)e Fw(and)h(the)g(t)o(yp)q(e)h(of)f(the)h(comp)q(onen) +o(ts;)g(for)e(example,)h(a)g(sp)q(ecialized)g(repre-)0 +1376 y(sen)o(tation)i(for)f(complex)f(n)o(um)o(b)q(ers)h(with)g(short)h +(\015oating-p)q(oin)o(t)e(parts)i(w)o(ould)e(b)q(e)i(of)0 +1428 y(t)o(yp)q(e)e Fs(\(complex)i(short-float\))p Fw(.)k(The)17 +b(t)o(yp)q(e)g Fs(complex)e Fw(encompasses)i(all)e(complex)0 +1480 y(represen)o(tations.)42 1532 y(A)f(complex)f(n)o(um)o(b)q(er)h +(of)g(t)o(yp)q(e)h Fs(\(complex)20 b(rational\))p Fw(,)12 +b(that)j(is,)f(one)h(whose)g(com-)0 1584 y(p)q(onen)o(ts)i(are)g +(rational,)e(can)h(nev)o(er)i(ha)o(v)o(e)e(a)g(zero)h(imaginary)c +(part.)26 b(If)15 b(the)i(result)g(of)0 1636 y(a)e(computation)f(w)o +(ould)g(b)q(e)i(a)f(complex)f(rational)g(with)h(a)g(zero)h(imaginary)d +(part,)i(the)0 1688 y(result)g(is)g(imm)o(ediately)d(con)o(v)o(erted)k +(to)e(a)g(non-complex)f(rational)g(n)o(um)o(b)q(er)h(b)o(y)h(taking)0 +1740 y(the)i(real)f(part.)26 b(This)16 b(is)g(called)g(the)h(rule)g(of) +f Fv(c)n(omplex)h(c)n(anonic)n(alization)p Fw(.)26 b(This)16 +b(rule)0 1792 y(do)q(es)e(not)f(apply)g(to)g(\015oating-p)q(oin)o(t)f +(complex)g(n)o(um)o(b)q(ers;)g Fs(#)928 1788 y(-)928 +1796 y(-)950 1792 y(C\(5.0)20 b(0.0\))13 b Fw(and)g Fs(5.0)f +Fw(are)0 1843 y(di\013eren)o(t.)0 1986 y Fo(2.2.)20 b(Characters)0 +2069 y Fw(Characters)15 b(are)g(represen)o(ted)h(as)e(data)g(ob)r +(jects)h(of)e(t)o(yp)q(e)i Fs(character)p Fw(.)42 2121 +y(There)21 b(are)f(t)o(w)o(o)g(subt)o(yp)q(es)h(of)f(in)o(terest,)i +(called)e Fs(standard-char)d Fw(and)j Fs(string-)-38 +2096 y Fk(.)-38 2109 y(.)-38 2122 y(.)-38 2135 y(.)-38 +2148 y(.)-38 2161 y(.)-38 2174 y(.)-38 2187 y(.)-38 2200 +y(.)-38 2213 y(.)-38 2226 y(.)-38 2239 y(.)-38 2252 y(.)-38 +2265 y(.)-38 2278 y(.)-38 2291 y(.)-38 2304 y(.)-38 2317 +y(.)-38 2330 y(.)-38 2343 y(.)-38 2356 y(.)-38 2369 y(.)-38 +2382 y(.)-38 2395 y(.)-38 2408 y(.)-38 2420 y(.)-38 2433 +y(.)-38 2446 y(.)-38 2459 y(.)-38 2472 y(.)-38 2485 y(.)-38 +2498 y(.)-38 2511 y(.)-38 2524 y(.)-38 2537 y(.)-38 2550 +y(.)-38 2563 y(.)-38 2576 y(.)-38 2589 y(.)-38 2602 y(.)-38 +2615 y(.)-38 2628 y(.)-38 2641 y(.)-38 2654 y(.)-38 2667 +y(.)-38 2680 y(.)-38 2693 y(.)-38 2706 y(.)-38 2719 y(.)-38 +2732 y(.)-38 2745 y(.)-38 2758 y(.)-38 2771 y(.)-38 2784 +y(.)-38 2797 y(.)-38 2810 y(.)-38 2823 y(.)-38 2836 y(.)-38 +2849 y(.)-38 2862 y(.)-38 2875 y(.)-38 2887 y(.)-38 2900 +y(.)-38 2913 y(.)-38 2926 y(.)-38 2939 y(.)-38 2952 y(.)-38 +2965 y(.)-38 2978 y(.)-38 2991 y(.)-38 3004 y(.)-38 3017 +y(.)-38 3030 y(.)-38 3043 y(.)-38 3056 y(.)-38 3069 y(.)-38 +3082 y(.)-38 3095 y(.)-38 3108 y(.)-38 3121 y(.)-38 3134 +y(.)-38 3147 y(.)-38 3160 y(.)-38 3173 y(.)-38 3186 y(.)-38 +3199 y(.)-38 3212 y(.)-38 3225 y(.)-38 3238 y(.)-38 3251 +y(.)-38 3264 y(.)-38 3277 y(.)-38 3290 y(.)-38 3303 y(.)-38 +3316 y(.)-38 3329 y(.)-38 3342 y(.)-38 3354 y(.)-38 3367 +y(.)-38 3380 y(.)-38 3393 y(.)-38 3406 y(.)-38 3419 y(.)-38 +3432 y(.)-38 3445 y(.)-38 3458 y(.)-38 3471 y(.)-38 3484 +y(.)-38 3497 y(.)-38 3510 y(.)-38 3523 y(.)-38 3536 y(.)-38 +3549 y(.)-38 3562 y(.)-38 3575 y(.)-38 3588 y(.)-38 3601 +y(.)-38 3614 y(.)-38 3627 y(.)-38 3640 y(.)-38 3653 y(.)-38 +3666 y(.)-38 3679 y(.)-38 3692 y(.)-38 3705 y(.)-38 3718 +y(.)-38 3731 y(.)-38 3744 y(.)-38 3757 y(.)-38 3770 y(.)-38 +3783 y(.)-38 3796 y(.)-38 3809 y(.)-38 3821 y(.)-38 3834 +y(.)-38 3847 y(.)-38 3860 y(.)-38 3873 y(.)-38 3886 y(.)-38 +3899 y(.)-38 3912 y(.)-38 3925 y(.)-38 3938 y(.)-38 3951 +y(.)-38 3964 y(.)-38 3977 y(.)-38 3990 y(.)-38 4003 y(.)-38 +4016 y(.)-38 4029 y(.)-38 4042 y(.)-38 4055 y(.)-38 4068 +y(.)-38 4081 y(.)-38 4094 y(.)-38 4107 y(.)-38 4120 y(.)-38 +4133 y(.)-38 4146 y(.)-38 4159 y(.)-38 4172 y(.)-38 4185 +y(.)-38 4198 y(.)-38 4211 y(.)-38 4224 y(.)-38 4237 y(.)-38 +4250 y(.)-38 4263 y(.)-38 4276 y(.)-38 4288 y(.)-38 4301 +y(.)-38 4314 y(.)-38 4327 y(.)-38 4340 y(.)-38 4353 y(.)-38 +4366 y(.)-38 4379 y(.)-38 4392 y(.)-38 4405 y(.)-38 4418 +y(.)-38 4431 y(.)-38 4444 y(.)-38 4457 y(.)-38 4470 y(.)-38 +4483 y(.)-38 4496 y(.)-38 4509 y(.)-38 4522 y(.)-38 4535 +y(.)-38 4548 y(.)-38 4561 y(.)-38 4574 y(.)-38 4587 y(.)-38 +4600 y(.)-38 4613 y(.)-38 4626 y(.)-38 4639 y(.)-38 4652 +y(.)-38 4665 y(.)-38 4678 y(.)0 2173 y Fs(char)p Fw(.)-33 +2185 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2225 a(X3J13)13 b(v)o(oted)h(in)g(Marc)o(h)g(1989)f +Ft(h)p Fw(11)p Ft(i)g Fw(to)h(remo)o(v)o(e)f(the)h(t)o(yp)q(e)h +Fs(string-char)p Fw(.)-33 2197 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2277 a(A)i(c)o(haracter)h(ob)r(ject)g(can)f(b)q(e)h +(notated)f(b)o(y)g(writing)g Fs(#)905 2273 y(-)905 2281 +y(-)926 2277 y(\\)g Fw(follo)o(w)o(ed)f(b)o(y)h(the)g(c)o(harac-)0 +2329 y(ter)i(itself.)32 b(F)m(or)18 b(example,)g Fs(#)459 +2325 y(-)459 2333 y(-)481 2329 y(\\g)g Fw(means)g(the)h(c)o(haracter)h +(ob)r(ject)g(for)e(a)g(lo)o(w)o(ercase)h(g.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 25 49 +25 48 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(D)o(A)m(T)m(A)12 +b(TYPES)1124 b(25)0 295 y Fw(This)13 b(w)o(orks)g(w)o(ell)f(enough)i +(for)e(prin)o(ting)h(c)o(haracters.)19 b(Non-prin)o(ting)12 +b(c)o(haracters)j(ha)o(v)o(e)0 347 y(names,)h(and)h(can)g(b)q(e)g +(notated)g(b)o(y)g(writing)f Fs(#)726 343 y(-)726 351 +y(-)748 347 y(\\)g Fw(and)h(then)g(the)h(name;)e(for)g(example,)0 +399 y Fs(#)0 395 y(-)0 403 y(-)22 399 y(\\Space)9 b Fw(\(or)i +Fs(#)227 395 y(-)227 403 y(-)249 399 y(\\SPACE)e Fw(or)h +Fs(#)437 395 y(-)437 403 y(-)459 399 y(\\space)g Fw(or)g +Fs(#)648 395 y(-)648 403 y(-)670 399 y(\\sPaCE)p Fw(\))f(means)h(the)h +(space)h(c)o(haracter.)18 b(The)0 450 y(syn)o(tax)12 +b(for)f(c)o(haracter)i(names)e(after)h Fs(#)592 446 y(-)592 +454 y(-)614 450 y(\\)f Fw(is)h(the)g(same)f(as)h(that)g(for)f(sym)o(b)q +(ols.)16 b(Ho)o(w)o(ev)o(er,)0 502 y(only)f(c)o(haracter)i(names)e +(that)h(are)g(kno)o(wn)f(to)h(the)g(particular)f(implemen)o(tation)e +(ma)o(y)0 554 y(b)q(e)i(used.)0 706 y Fo(2.2.1.)20 b(Standard)c +(Characters)0 792 y Fw(Common)11 b(Lisp)j(de\014nes)h(a)f(standard)g(c) +o(haracter)i(set)e(\(subt)o(yp)q(e)i Fs(standard-char)p +Fw(\))11 b(for)0 844 y(t)o(w)o(o)i(purp)q(oses.)19 b(Common)10 +b(Lisp)j(programs)e(that)i(are)h Fv(written)e Fw(in)g(the)i(standard)g +(c)o(har-)0 896 y(acter)d(set)g(can)f(b)q(e)g(read)h(b)o(y)e(an)o(y)h +(Common)d(Lisp)i(implemen)o(tation;)f(and)h(Common)e(Lisp)0 +948 y(programs)16 b(that)h Fv(use)g Fw(only)f(standard)h(c)o(haracters) +i(as)e(data)g(ob)r(jects)h(are)f(most)f(lik)o(ely)0 1000 +y(to)g(b)q(e)h(p)q(ortable.)24 b(The)17 b(Commo)o(n)d(Lisp)h(c)o +(haracter)j(set)f(consists)g(of)e(a)h(space)h(c)o(harac-)0 +1052 y(ter)i Fs(#)69 1048 y(-)69 1056 y(-)90 1052 y(\\Space)p +Fw(,)f(a)f(newline)h(c)o(haracter)h Fs(#)629 1048 y(-)629 +1056 y(-)651 1052 y(\\Newline)p Fw(,)e(and)g(the)i(follo)o(wing)c +(ninet)o(y-four)0 1104 y(non-blank)e(prin)o(ting)g(c)o(haracters)j(or)d +(their)i(equiv)n(alen)o(ts:)0 1189 y Fs(!)21 b(")g(#)86 +1185 y(-)86 1193 y(-)129 1189 y($)g(\045)g(&)256 1193 +y Fn(')300 1189 y Fs(\()g(\))g(*)g(+)g(,)g(-)g(.)g(/)g(0)g(1)g(2)g(3)g +(4)g(5)g(6)g(7)g(8)g(9)f(:)h(;)g(<)1202 1185 y(U)1202 +1193 y(U)1245 1189 y(>)g(?)0 1241 y(@)g(A)g(B)g(C)g(D)g(E)g(F)g(G)g(H)g +(I)g(J)g(K)g(L)g(M)f(N)h(O)g(P)g(Q)g(R)g(S)g(T)g(U)g(V)g(W)g(X)g(Y)g(Z) +g([)g(\\)g(])1287 1245 y Fn(^)1331 1241 y Fs(_)-2 1297 +y Fn(`)42 1293 y Fs(a)g(b)g(c)g(d)g(e)g(f)g(g)g(h)g(i)g(j)g(k)g(l)g(m)g +(n)g(o)g(p)g(q)g(r)g(s)g(t)g(u)g(v)g(w)g(x)f(y)h(z)g({)g(|)g(})1286 +1297 y Fn(~)0 1379 y Fw(The)g(Common)c(Lisp)k(standard)g(c)o(haracter)h +(set)f(is)g(apparen)o(tly)f(equiv)n(alen)o(t)g(to)g(the)0 +1431 y(ninet)o(y-\014v)o(e)11 b(standard)h(ASCI)q(I)g(prin)o(ting)e(c)o +(haracters)j(plus)f(a)f(newline)g(c)o(haracter.)18 b(Nev-)0 +1483 y(ertheless,)c(Common)8 b(Lisp)k(is)g(designed)g(to)g(b)q(e)g +(relativ)o(ely)g(indep)q(enden)o(t)h(of)e(the)h(ASCI)q(I)0 +1535 y(c)o(haracter)17 b(enco)q(ding.)25 b(F)m(or)15 +b(example,)g(the)i(collating)d(sequence)k(is)e(not)g(sp)q(eci\014ed)i +(ex-)0 1586 y(cept)e(to)f(sa)o(y)f(that)h(digits)f(m)o(ust)g(b)q(e)h +(prop)q(erly)h(ordered,)f(the)h(upp)q(ercase)h(letters)f(m)o(ust)0 +1638 y(b)q(e)f(prop)q(erly)f(ordered,)h(and)f(the)h(lo)o(w)o(ercase)g +(letters)g(m)o(ust)f(b)q(e)g(prop)q(erly)h(ordered)g(\(see)0 +1690 y Fs(char<)j Fw(for)h(a)g(precise)h(sp)q(eci\014cation\).)35 +b(Other)20 b(c)o(haracter)h(enco)q(dings,)g(particularly)0 +1742 y(EBCDIC,)13 b(should)h(b)q(e)g(easily)f(accommo)q(dated)f(\(with) +h(a)g(suitable)h(mapping)d(of)i(prin)o(t-)0 1794 y(ing)g(c)o +(haracters\).)42 1846 y(Of)h(the)g(ninet)o(y-four)g(non-blank)f(prin)o +(ting)g(c)o(haracters,)j(the)e(follo)o(wing)e(are)i(used)h(in)0 +1898 y(only)e(limited)f(w)o(a)o(ys)h(in)h(the)g(syn)o(tax)g(of)f +(Common)e(Lisp)j(programs:)0 1984 y Fs([)42 b(])g({)g(})h(?)f(!)383 +1988 y Fn(^)448 1984 y Fs(_)510 1988 y Fn(~)576 1984 +y Fs($)g(\045)0 2069 y Fw(All)19 b(of)h(these)i(c)o(haracters)g(except) +g Fs(!)e Fw(and)g Fs(_)g Fw(are)h(used)g(within)f Fs(format)f +Fw(strings)i(as)-38 2044 y Fk(.)-38 2057 y(.)-38 2070 +y(.)-38 2083 y(.)-38 2096 y(.)-38 2109 y(.)-38 2122 y(.)-38 +2135 y(.)-38 2148 y(.)-38 2161 y(.)-38 2174 y(.)-38 2187 +y(.)-38 2200 y(.)-38 2213 y(.)-38 2226 y(.)-38 2239 y(.)-38 +2252 y(.)-38 2265 y(.)-38 2278 y(.)-38 2291 y(.)-38 2304 +y(.)-38 2317 y(.)-38 2330 y(.)-38 2343 y(.)-38 2356 y(.)-38 +2369 y(.)-38 2382 y(.)-38 2395 y(.)-38 2408 y(.)-38 2420 +y(.)-38 2433 y(.)-38 2446 y(.)-38 2459 y(.)-38 2472 y(.)-38 +2485 y(.)-38 2498 y(.)-38 2511 y(.)-38 2524 y(.)-38 2537 +y(.)-38 2550 y(.)-38 2563 y(.)-38 2576 y(.)-38 2589 y(.)-38 +2602 y(.)-38 2615 y(.)-38 2628 y(.)-38 2641 y(.)-38 2654 +y(.)-38 2667 y(.)-38 2680 y(.)-38 2693 y(.)-38 2706 y(.)-38 +2719 y(.)-38 2732 y(.)-38 2745 y(.)-38 2758 y(.)-38 2771 +y(.)-38 2784 y(.)-38 2797 y(.)-38 2810 y(.)-38 2823 y(.)-38 +2836 y(.)-38 2849 y(.)-38 2862 y(.)-38 2875 y(.)-38 2887 +y(.)-38 2900 y(.)-38 2913 y(.)-38 2926 y(.)-38 2939 y(.)-38 +2952 y(.)-38 2965 y(.)-38 2978 y(.)-38 2991 y(.)-38 3004 +y(.)-38 3017 y(.)-38 3030 y(.)-38 3043 y(.)-38 3056 y(.)-38 +3069 y(.)-38 3082 y(.)-38 3095 y(.)-38 3108 y(.)-38 3121 +y(.)-38 3134 y(.)-38 3147 y(.)-38 3160 y(.)-38 3173 y(.)-38 +3186 y(.)-38 3199 y(.)-38 3212 y(.)-38 3225 y(.)-38 3238 +y(.)-38 3251 y(.)-38 3264 y(.)-38 3277 y(.)-38 3290 y(.)-38 +3303 y(.)-38 3316 y(.)-38 3329 y(.)-38 3342 y(.)-38 3354 +y(.)-38 3367 y(.)-38 3380 y(.)-38 3393 y(.)-38 3406 y(.)-38 +3419 y(.)-38 3432 y(.)-38 3445 y(.)-38 3458 y(.)-38 3471 +y(.)-38 3484 y(.)-38 3497 y(.)-38 3510 y(.)-38 3523 y(.)-38 +3536 y(.)-38 3549 y(.)-38 3562 y(.)-38 3575 y(.)-38 3588 +y(.)-38 3601 y(.)-38 3614 y(.)-38 3627 y(.)-38 3640 y(.)-38 +3653 y(.)-38 3666 y(.)-38 3679 y(.)-38 3692 y(.)-38 3705 +y(.)-38 3718 y(.)-38 3731 y(.)-38 3744 y(.)-38 3757 y(.)-38 +3770 y(.)-38 3783 y(.)-38 3796 y(.)-38 3809 y(.)-38 3821 +y(.)-38 3834 y(.)-38 3847 y(.)-38 3860 y(.)-38 3873 y(.)-38 +3886 y(.)-38 3899 y(.)-38 3912 y(.)-38 3925 y(.)-38 3938 +y(.)-38 3951 y(.)-38 3964 y(.)-38 3977 y(.)-38 3990 y(.)-38 +4003 y(.)-38 4016 y(.)-38 4029 y(.)-38 4042 y(.)-38 4055 +y(.)-38 4068 y(.)-38 4081 y(.)-38 4094 y(.)-38 4107 y(.)-38 +4120 y(.)-38 4133 y(.)-38 4146 y(.)-38 4159 y(.)-38 4172 +y(.)-38 4185 y(.)-38 4198 y(.)-38 4211 y(.)-38 4224 y(.)-38 +4237 y(.)-38 4250 y(.)-38 4263 y(.)-38 4276 y(.)-38 4288 +y(.)-38 4301 y(.)-38 4314 y(.)-38 4327 y(.)-38 4340 y(.)-38 +4353 y(.)-38 4366 y(.)-38 4379 y(.)-38 4392 y(.)-38 4405 +y(.)-38 4418 y(.)-38 4431 y(.)-38 4444 y(.)-38 4457 y(.)-38 +4470 y(.)-38 4483 y(.)-38 4496 y(.)-38 4509 y(.)-38 4522 +y(.)-38 4535 y(.)-38 4548 y(.)-38 4561 y(.)-38 4574 y(.)-38 +4587 y(.)-38 4600 y(.)-38 4613 y(.)-38 4626 y(.)0 2121 +y Fw(formatting)15 b(directiv)o(es.)30 b(Except)19 b(for)e(this,)h +Fs([)p Fw(,)f Fs(])p Fw(,)h Fs({)p Fw(,)g Fs(})p Fw(,)f +Fs(?)p Fw(,)h(and)f Fs(!)h Fw(are)f(not)h(used)g(in)0 +2173 y(Common)12 b(Lisp)j(and)g(are)g(reserv)o(ed)i(to)e(the)h(user)g +(for)f(syn)o(tactic)h(extensions;)1253 2177 y Fn(^)1291 +2173 y Fw(and)f Fs(_)0 2225 y Fw(are)d(not)f(y)o(et)g(used)h(in)f +(Common)d(Lisp)j(but)g(are)h(part)f(of)g(the)g(syn)o(tax)h(of)e(reserv) +o(ed)j(tok)o(ens)0 2277 y(and)i(are)h(reserv)o(ed)i(to)d(implemen)o +(tors;)638 2281 y Fn(~)677 2277 y Fw(is)g(not)h(y)o(et)g(used)g(in)f +(Common)d(Lisp)k(and)f(is)0 2329 y(reserv)o(ed)j(to)e(implemen)o(tors;) +f(and)h Fs($)g Fw(and)g Fs(\045)g Fw(are)h(normally)c(regarded)k(as)g +(alphab)q(etic)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 26 50 +26 49 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(26)77 b(COMMON)13 +b(LISP)0 295 y Fw(c)o(haracters)23 b(but)e(are)g(not)f(used)i(in)e(the) +i(names)e(of)g(an)o(y)g(standard)h(Common)d(Lisp)0 347 +y(functions,)13 b(v)n(ariables,)g(or)h(other)h(en)o(tities.)-33 +358 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 399 a(X3J13)h(v)o(oted)h(in)g(June)h(1989)e +Ft(h)p Fw(139)p Ft(i)g Fw(to)h(add)g(a)g Fs(format)f +Fw(directiv)o(e)1148 403 y Fn(~)1172 399 y Fs(_)g Fw(\(see)j(c)o(hap-) +-33 371 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 451 a(ter)c(27\).)-33 463 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 503 a(The)f(follo)o(wing)d(c)o(haracters)16 +b(are)e(called)g Fv(semi-standar)n(d)p Fw(:)0 593 y Fs(#)0 +589 y(-)0 597 y(-)22 593 y(\\Backspace)40 b(#)282 589 +y(-)282 597 y(-)304 593 y(\\Tab)h(#)433 589 y(-)433 597 +y(-)455 593 y(\\Linefeed)g(#)694 589 y(-)694 597 y(-)715 +593 y(\\Page)h(#)867 589 y(-)867 597 y(-)889 593 y(\\Return)e(#)1083 +589 y(-)1083 597 y(-)1105 593 y(\\Rubout)0 682 y Fw(Not)17 +b(all)f(implemen)o(tatio)o(ns)f(of)h(Common)e(Lisp)j(need)h(to)f(supp)q +(ort)h(them;)g(but)f(those)0 734 y(implemen)o(tatio)o(ns)e(that)i(use)h +(the)g(standard)f(ASCI)q(I)h(c)o(haracter)g(set)g(should)f(supp)q(ort)0 +786 y(them,)g(treating)h(them)f(as)h(corresp)q(onding)g(resp)q(ectiv)o +(ely)h(to)f(the)g(ASCI)q(I)g(c)o(haracters)0 838 y(BS)i(\(o)q(ctal)f +(co)q(de)i(010\),)e(HT)h(\(011\),)g(LF)f(\(012\),)h(FF)g(\(014\),)g(CR) +f(\(015\),)h(and)f(DEL)0 890 y(\(177\).)38 b(These)22 +b(c)o(haracters)h(are)e(not)g(mem)o(b)q(ers)e(of)h(the)i(subt)o(yp)q(e) +f Fs(standard-char)0 942 y Fw(unless)16 b(synon)o(ymous)e(with)h(one)g +(of)g(the)g(standard)h(c)o(haracters)h(sp)q(eci\014ed)g(ab)q(o)o(v)o +(e.)k(F)m(or)0 994 y(example,)12 b(in)i(a)f(giv)o(en)h(implemen)o +(tatio)o(n)d(it)j(migh)o(t)e(b)q(e)i(sensible)h(for)f(the)g(implemen)o +(tor)0 1045 y(to)19 b(de\014ne)i Fs(#)182 1041 y(-)182 +1049 y(-)204 1045 y(\\Linefeed)d Fw(or)h Fs(#)476 1041 +y(-)476 1049 y(-)498 1045 y(\\Return)f Fw(to)h(b)q(e)i(synon)o(ymous)d +(with)h Fs(#)1129 1041 y(-)1129 1049 y(-)1151 1045 y(\\Newline)p +Fw(,)g(or)0 1097 y Fs(#)0 1093 y(-)0 1101 y(-)22 1097 +y(\\Tab)13 b Fw(to)h(b)q(e)g(synon)o(ymous)f(with)g Fs(#)559 +1093 y(-)559 1101 y(-)581 1097 y(\\Space)p Fw(.)0 1266 +y Fo(2.2.2.)20 b(Line)14 b(Divisions)0 1357 y Fw(The)g(treatmen)o(t)g +(of)f(line)g(divisions)g(is)g(one)h(of)f(the)i(most)d(di\016cult)h +(issues)i(in)e(designing)0 1409 y(p)q(ortable)d(soft)o(w)o(are,)h +(simply)d(b)q(ecause)13 b(there)e(is)f(so)h(little)f(agreemen)o(t)g +(among)e(op)q(erating)0 1461 y(systems.)17 b(Some)9 b(use)i(a)f(single) +g(c)o(haracter)h(to)f(delimit)e(lines;)j(the)g(recommended)e(ASCI)q(I)0 +1513 y(c)o(haracter)j(for)d(this)i(purp)q(ose)g(is)f(the)h(line)f(feed) +g(c)o(haracter)i(LF)e(\(also)g(called)g(the)h(new)f(line)0 +1564 y(c)o(haracter,)j(NL\),)e(but)h(some)e(systems)i(use)g(the)g +(carriage)f(return)i(c)o(haracter)g(CR.)d(Muc)o(h)0 1616 +y(more)k(common)f(is)i(the)i(t)o(w)o(o-c)o(haracter)f(sequence)h(CR)e +(follo)o(w)o(ed)f(b)o(y)i(LF.)f(F)m(requen)o(tly)0 1668 +y(line)j(divisions)f(ha)o(v)o(e)h(no)g(represen)o(tation)h(as)g(a)f(c)o +(haracter)h(but)f(are)h(implicit)c(in)j(the)0 1720 y(structuring)13 +b(of)f(a)g(\014le)h(in)o(to)f(records,)h(eac)o(h)g(record)h(con)o +(taining)d(a)i(line)f(of)f(text.)19 b(A)12 b(dec)o(k)0 +1772 y(of)h(punc)o(hed)i(cards)g(has)f(this)g(structure,)h(for)f +(example.)42 1824 y(Comm)o(on)7 b(Lisp)i(pro)o(vides)h(an)f(abstract)h +(in)o(terface)g(b)o(y)f(requiring)h(that)f(there)i(b)q(e)f(a)f(sin-)0 +1876 y(gle)k(c)o(haracter,)h Fs(#)256 1872 y(-)256 1880 +y(-)278 1876 y(\\Newline)p Fw(,)e(that)h(within)g(the)h(language)e +(serv)o(es)j(as)f(a)f(line)g(delimiter.)0 1928 y(\(The)h(language)e(C)h +(has)g(a)g(similar)e(requiremen)o(t.\))18 b(An)13 b(implemen)o(tatio)o +(n)e(of)h(Common)0 1980 y(Lisp)i(m)o(ust)e(translate)i(b)q(et)o(w)o +(een)h(this)f(in)o(ternal)f(single-c)o(haracter)i(represen)o(tation)g +(and)0 2032 y(whatev)o(er)g(external)f(represen)o(tation\(s\))i(ma)o(y) +c(b)q(e)j(used.)p 0 2092 V 0 2152 a Fm(Implemen)o(tation)f(note:)19 +b FA(Ho)o(w)13 b(the)h(c)o(haracter)g(called)i Fj(#)870 +2149 y(-)870 2155 y(-)889 2152 y(\\Newline)11 b FA(is)j(represen)o(ted) +h(in)o(ter-)0 2198 y(nally)f(is)f(not)f(sp)q(eci\014ed)j(here,)d(but)h +(it)f(is)h(strongly)h(suggested)f(that)g(the)f(ASCI)q(I)g(LF)g(c)o +(haracter)0 2244 y(b)q(e)i(used)h(in)g(Common)f(Lisp)h(implemen)o +(tations)i(that)d(use)h(the)f(ASCI)q(I)f(c)o(haracter)i(enco)q(ding.)0 +2289 y(The)e(ASCI)q(I)f(CR)h(c)o(haracter)h(is)f(a)g(w)o(ork)n(able,)h +(but)g(in)f(most)g(cases)h(inferior,)g(alternativ)o(e.)p +0 2329 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 27 51 +27 50 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(D)o(A)m(T)m(A)12 +b(TYPES)1124 b(27)42 295 y Fw(When)16 b(the)g(\014rst)h(edition)f(w)o +(as)g(written)g(it)g(w)o(as)g(not)g(y)o(et)h(clear)f(that)g(UNIX)h(w)o +(ould)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(b)q(ecome)d(so)h(widely)f(accepted.)22 +b(The)14 b(decision)h(to)f(represen)o(t)j(the)e(line)f(delimiter)f(as)i +(a)0 399 y(single)f(c)o(haracter)h(has)f(pro)o(v)o(ed)g(to)g(b)q(e)g(a) +g(go)q(o)q(d)f(one.)-33 410 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 450 a(The)e(requiremen)o(t)f(that)h(a)f(line)g +(division)g(b)q(e)h(represen)o(ted)i(as)e(a)f(single)h(c)o(haracter)h +(has)0 502 y(certain)f(consequences.)20 b(A)10 b(c)o(haracter)i(string) +f(written)g(in)f(the)h(middle)d(of)i(a)g(program)f(in)0 +554 y(suc)o(h)14 b(a)f(w)o(a)o(y)g(as)g(to)g(span)h(more)e(than)i(one)f +(line)g(m)o(ust)f(con)o(tain)h(exactly)h(one)f(c)o(haracter)0 +606 y(to)h(represen)o(t)i(eac)o(h)e(line)g(division.)i(Consider)f(this) +f(co)q(de)g(fragmen)o(t:)0 691 y Fs(\(setq)20 b(a-string)g("This)g +(string)0 743 y(contains)0 795 y(forty-two)f(characters."\))0 +880 y Fw(Bet)o(w)o(een)i Fs(g)d Fw(and)h Fs(c)g Fw(there)h(m)o(ust)e(b) +q(e)i(exactly)f(one)g(c)o(haracter,)i Fs(#)1047 876 y(-)1047 +884 y(-)1069 880 y(\\Newline)p Fw(;)f(a)e(t)o(w)o(o-)0 +932 y(c)o(haracter)c(sequence,)g(suc)o(h)f(as)f Fs(#)503 +928 y(-)503 936 y(-)525 932 y(\\Return)f Fw(and)h(then)h +Fs(#)862 928 y(-)862 936 y(-)883 932 y(\\Newline)p Fw(,)e(is)h(not)g +(acceptable,)0 984 y(nor)i(is)g(the)g(absence)i(of)d(a)g(c)o(haracter.) +20 b(The)14 b(same)f(is)h(true)h(b)q(et)o(w)o(een)g Fs(s)f +Fw(and)f Fs(f)p Fw(.)42 1036 y(When)j(the)g(c)o(haracter)i +Fs(#)422 1032 y(-)422 1040 y(-)444 1036 y(\\Newline)c +Fw(is)i(written)g(to)g(an)g(output)g(\014le,)g(the)h(Common)0 +1088 y(Lisp)c(implemen)o(tatio)o(n)d(m)o(ust)j(tak)o(e)g(the)g +(appropriate)h(action)e(to)h(pro)q(duce)h(a)f(line)g(divi-)0 +1139 y(sion.)22 b(This)15 b(migh)o(t)e(in)o(v)o(olv)o(e)h(writing)g +(out)h(a)g(record)i(or)e(translating)g Fs(#)1111 1135 +y(-)1111 1143 y(-)1132 1139 y(\\Newline)f Fw(to)h(a)0 +1191 y(CR/LF)e(sequence.)p 0 1251 V 0 1311 a Fm(Implemen)o(tation)g +(note:)k FA(If)c(an)g(implemen)o(tation)k(uses)c(the)h(ASCI)q(I)e(c)o +(haracter)i(enco)q(ding,)0 1357 y(uses)c(the)g(CR/LF)g(sequence)i +(externally)g(to)e(delimit)i(lines,)g(uses)e(LF)g(to)g(represen)o(t)g +Fj(#)1218 1354 y(-)1218 1360 y(-)1238 1357 y(\\Newline)0 +1403 y FA(in)o(ternally)m(,)j(and)e(supp)q(orts)g Fj(#)404 +1400 y(-)404 1406 y(-)424 1403 y(\\Return)c FA(as)j(a)h(data)f(ob)r +(ject)h(corresp)q(onding)h(to)f(the)f(ASCI)q(I)f(c)o(har-)0 +1448 y(acter)i(CR,)g(the)g(question)i(arises)f(as)f(to)g(what)g(action) +h(to)f(tak)o(e)h(when)f(the)g(program)h(writes)f(out)0 +1494 y Fj(#)0 1491 y(-)0 1497 y(-)20 1494 y(\\Return)h +FA(follo)o(w)o(ed)17 b(b)o(y)f Fj(#)379 1491 y(-)379 +1497 y(-)399 1494 y(\\Newline)p FA(.)21 b(It)15 b(should)j(\014rst)d(b) +q(e)h(noted)g(that)g Fj(#)1091 1491 y(-)1091 1497 y(-)1111 +1494 y(\\Return)d FA(is)j(not)g(a)0 1540 y(standard)11 +b(Common)f(Lisp)h(c)o(haracter,)f(and)h(the)f(action)h(to)e(b)q(e)h +(tak)o(en)h(when)f Fj(#)1112 1537 y(-)1112 1543 y(-)1131 +1540 y(\\Return)d FA(is)k(writ-)0 1585 y(ten)f(out)g(is)h(therefore)f +(not)h(de\014ned)g(b)o(y)f(the)g(Common)h(Lisp)f(language.)18 +b(A)10 b(plausible)j(approac)o(h)0 1631 y(is)g(to)f(bu\013er)i(the)e +Fj(#)259 1628 y(-)259 1634 y(-)279 1631 y(\\Return)e +FA(c)o(haracter)j(and)g(suppress)h(it)e(if)h(and)g(only)h(if)e(the)h +(next)g(c)o(haracter)0 1677 y(is)i Fj(#)40 1674 y(-)40 +1680 y(-)60 1677 y(\\Newline)c FA(\(the)k(net)g(e\013ect)g(is)g(to)g +(generate)g(a)g(CR/LF)f(sequence\).)23 b(Another)15 b(plausibl)q(e)0 +1722 y(approac)o(h)i(is)f(simply)h(to)e(ignore)i(the)e(di\016cult)o(y)i +(and)f(declare)h(that)e(writing)i Fj(#)1161 1719 y(-)1161 +1725 y(-)1181 1722 y(\\Return)12 b FA(and)0 1768 y(then)h +Fj(#)87 1765 y(-)87 1771 y(-)107 1768 y(\\Newline)d FA(results)k(in)g +(the)f(sequence)h(CR/CR/LF)f(in)h(the)f(output.)p 0 1804 +V 0 1930 a Fo(2.2.3.)20 b(Non-standard)15 b(Characters)0 +2015 y Fw(An)o(y)23 b(implem)o(en)o(tation)d(ma)o(y)g(pro)o(vide)j +(additional)d(c)o(haracters,)27 b(whether)d(prin)o(ting)0 +2067 y(c)o(haracters)16 b(or)d(named)g(c)o(haracters.)20 +b(Some)13 b(plausible)g(examples:)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 28 52 +28 51 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(28)77 b(COMMON)13 +b(LISP)0 295 y Fs(#)0 291 y(-)0 299 y(-)22 295 y(\\)p +Fh(\031)43 b Fs(#)111 291 y(-)111 299 y(-)133 295 y(\\)p +Fh(\013)f Fs(#)224 291 y(-)224 299 y(-)246 295 y(\\Break)f(#)419 +291 y(-)419 299 y(-)440 295 y(\\Home-Up)g(#)657 291 y(-)657 +299 y(-)679 295 y(\\Escape)0 381 y Fw(The)13 b(use)g(of)f(suc)o(h)h(c)o +(haracters)h(ma)o(y)d(render)j(Commo)o(n)c(Lisp)i(programs)f(non-p)q +(ortable.)0 534 y Fo(2.2.4.)20 b(Character)15 b(A)n(ttributes)-38 +503 y Fk(.)-38 516 y(.)-38 529 y(.)-38 542 y(.)-38 555 +y(.)-38 568 y(.)-38 581 y(.)-38 594 y(.)-38 607 y(.)-38 +620 y(.)-38 633 y(.)-38 646 y(.)-38 659 y(.)-38 672 y(.)-38 +684 y(.)-38 697 y(.)-38 710 y(.)-38 723 y(.)-38 736 y(.)-38 +749 y(.)-38 762 y(.)-38 775 y(.)-38 788 y(.)-38 801 y(.)-38 +814 y(.)-38 827 y(.)-38 840 y(.)-38 853 y(.)-38 866 y(.)-38 +879 y(.)-38 892 y(.)-38 905 y(.)-38 918 y(.)-38 931 y(.)-38 +944 y(.)-38 957 y(.)-38 970 y(.)-38 983 y(.)-38 996 y(.)-38 +1009 y(.)-38 1022 y(.)-38 1035 y(.)-38 1048 y(.)-38 1061 +y(.)-38 1074 y(.)-38 1087 y(.)-38 1100 y(.)-38 1113 y(.)-38 +1126 y(.)-38 1139 y(.)-38 1151 y(.)-38 1164 y(.)-38 1177 +y(.)-38 1190 y(.)-38 1203 y(.)-38 1216 y(.)-38 1229 y(.)-38 +1242 y(.)-38 1255 y(.)-38 1268 y(.)-38 1281 y(.)-38 1294 +y(.)-38 1307 y(.)-38 1320 y(.)-38 1333 y(.)-38 1346 y(.)-38 +1359 y(.)-38 1372 y(.)-38 1385 y(.)-38 1398 y(.)-38 1411 +y(.)-38 1424 y(.)-38 1437 y(.)-38 1450 y(.)-38 1463 y(.)-38 +1476 y(.)-38 1489 y(.)-38 1502 y(.)-38 1515 y(.)-38 1528 +y(.)-38 1541 y(.)-38 1554 y(.)-38 1567 y(.)-38 1580 y(.)-38 +1593 y(.)-38 1606 y(.)-38 1618 y(.)-38 1631 y(.)-38 1644 +y(.)-38 1657 y(.)-38 1670 y(.)-38 1683 y(.)-38 1696 y(.)-38 +1709 y(.)-38 1722 y(.)-38 1735 y(.)-38 1748 y(.)-38 1761 +y(.)-38 1774 y(.)-38 1787 y(.)-38 1800 y(.)-38 1813 y(.)-38 +1826 y(.)-38 1839 y(.)-38 1852 y(.)-38 1865 y(.)-38 1878 +y(.)-38 1891 y(.)-38 1904 y(.)-38 1917 y(.)-38 1930 y(.)-38 +1943 y(.)-38 1956 y(.)-38 1969 y(.)-38 1982 y(.)-38 1995 +y(.)-38 2008 y(.)-38 2021 y(.)-38 2034 y(.)-38 2047 y(.)-38 +2060 y(.)-38 2073 y(.)-38 2085 y(.)-38 2098 y(.)-38 2111 +y(.)-38 2124 y(.)-38 2137 y(.)-38 2150 y(.)-38 2163 y(.)-38 +2176 y(.)-38 2189 y(.)-38 2202 y(.)-38 2215 y(.)-38 2228 +y(.)-38 2241 y(.)-38 2254 y(.)-38 2267 y(.)-38 2280 y(.)-38 +2293 y(.)-38 2306 y(.)-38 2319 y(.)-38 2332 y(.)-38 2345 +y(.)-38 2358 y(.)-38 2371 y(.)-38 2384 y(.)-38 2397 y(.)-38 +2410 y(.)-38 2423 y(.)-38 2436 y(.)-38 2449 y(.)-38 2462 +y(.)-38 2475 y(.)-38 2488 y(.)-38 2501 y(.)-38 2514 y(.)-38 +2527 y(.)-38 2540 y(.)-38 2552 y(.)-38 2565 y(.)-38 2578 +y(.)-38 2591 y(.)-38 2604 y(.)-38 2617 y(.)-38 2630 y(.)-38 +2643 y(.)-38 2656 y(.)-38 2669 y(.)-38 2682 y(.)-38 2695 +y(.)-38 2708 y(.)-38 2721 y(.)-38 2734 y(.)-38 2747 y(.)-38 +2760 y(.)-38 2773 y(.)-38 2786 y(.)-38 2799 y(.)-38 2812 +y(.)-38 2825 y(.)-38 2838 y(.)-38 2851 y(.)-38 2864 y(.)-38 +2877 y(.)-38 2890 y(.)-38 2903 y(.)-38 2916 y(.)-38 2929 +y(.)-38 2942 y(.)-38 2955 y(.)-38 2968 y(.)-38 2981 y(.)-38 +2994 y(.)-38 3007 y(.)-38 3019 y(.)-38 3032 y(.)-38 3045 +y(.)-38 3058 y(.)-38 3071 y(.)-38 3084 y(.)0 620 y Fw(Ev)o(ery)k(ob)r +(ject)g(of)f(t)o(yp)q(e)h Fs(character)e Fw(has)i(three)g(attributes:) +29 b Fv(c)n(o)n(de)p Fw(,)19 b Fv(bits)p Fw(,)g(and)f +Fv(font)p Fw(.)0 672 y(The)e(co)q(de)h(attribute)f(is)f(in)o(tended)h +(to)g(distinguish)f(among)e(the)k(prin)o(ted)f(glyphs)f(and)0 +724 y(formatting)9 b(functions)h(for)h(c)o(haracters;)i(it)e(is)f(a)h +(n)o(umerical)e(enco)q(ding)j(of)e(the)h(c)o(haracter)0 +776 y(prop)q(er.)18 b(The)11 b(bits)g(attribute)g(allo)o(ws)f(extra)h +(\015ags)g(to)g(b)q(e)g(asso)q(ciated)h(with)e(a)h(c)o(haracter.)0 +828 y(The)k(fon)o(t)g(attribute)g(p)q(ermits)g(a)f(sp)q(eci\014cation)i +(of)e(the)i(st)o(yle)f(of)g(the)g(glyphs)g(\(suc)o(h)h(as)0 +879 y(italics\).)31 b(Eac)o(h)18 b(of)g(these)i(attributes)f(ma)o(y)d +(b)q(e)j(understo)q(o)q(d)h(to)e(b)q(e)h(a)f(non-negativ)o(e)0 +931 y(in)o(teger.)42 983 y(The)e(fon)o(t)g(attribute)g(ma)o(y)e(b)q(e)j +(notated)g(in)e(unsigned)i(decimal)d(notation)h(b)q(et)o(w)o(een)0 +1035 y(the)g Fs(#)72 1031 y(-)72 1039 y(-)108 1035 y +Fw(and)f(the)g Fs(\\)p Fw(.)19 b(F)m(or)14 b(example,)e +Fs(#)562 1031 y(-)562 1039 y(-)584 1035 y(3\\a)h Fw(means)g(the)i +(letter)g Fs(a)f Fw(in)g(fon)o(t)f(3.)19 b(This)14 b(migh)o(t)0 +1087 y(mean)i(the)h(same)f(thing)g(as)h Fs(#)460 1083 +y(-)460 1091 y(-)482 1087 y(\\)p Fh(\013)f Fw(if)g(fon)o(t)g(3)h(w)o +(ere)g(used)h(to)e(represen)o(t)k(Greek)d(letters.)0 +1139 y(Note)h(that)g(not)g(all)f(Common)e(Lisp)j(implem)o(en)o(tations) +d(pro)o(vide)j(for)g(non-zero)g(fon)o(t)0 1191 y(attributes;)c(see)h +Fs(char-font-limit)p Fw(.)42 1243 y(The)f(bits)g(attribute)g(ma)o(y)e +(b)q(e)j(notated)f(b)o(y)f(preceding)i(the)g(name)e(of)g(the)h(c)o +(haracter)0 1295 y(b)o(y)d(the)g(names)f(or)h(initials)f(of)g(the)i +(bits,)f(separated)h(b)o(y)f(h)o(yphens.)17 b(The)12 +b(c)o(haracter)g(itself)0 1347 y(ma)o(y)e(b)q(e)j(written)g(instead)f +(of)g(the)h(name,)e(preceded)j(if)d(necessary)k(b)o(y)c +Fs(\\)p Fw(.)18 b(F)m(or)11 b(example:)0 1433 y Fs(#)0 +1429 y(-)0 1437 y(-)22 1433 y(\\Control-Meta-Re)o(turn)236 +b(#)697 1429 y(-)697 1437 y(-)719 1433 y(\\Meta-Control-Q)0 +1484 y(#)0 1480 y(-)0 1488 y(-)22 1484 y(\\Hyper-Space)411 +b(#)697 1480 y(-)697 1488 y(-)719 1484 y(\\Meta-\\a)0 +1536 y(#)0 1532 y(-)0 1540 y(-)22 1536 y(\\Control-A)455 +b(#)697 1532 y(-)697 1540 y(-)719 1536 y(\\Meta-Hyper-\\:)0 +1588 y(#)0 1584 y(-)0 1592 y(-)22 1588 y(\\C-M-Return)433 +b(#)697 1584 y(-)697 1592 y(-)719 1588 y(\\Hyper-\\)p +Fh(\031)0 1674 y Fw(Note)19 b(that)f(not)h(all)e(Commo)o(n)f(Lisp)i +(implemen)o(tations)d(pro)o(vide)k(for)f(non-zero)h(bits)0 +1726 y(attributes;)14 b(see)h Fs(char-bits-limit)p Fw(.)-33 +1738 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1778 a(X3J13)k(v)o(oted)h(in)f(Marc)o(h)h(1989)f +Ft(h)p Fw(11)p Ft(i)h Fw(to)f(replace)i(the)g(notion)e(of)g(bits)h(and) +f(fon)o(t)-33 1750 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1830 a(attributes)c(with)e(that)h(of)g(implem)o(en)o +(tation-de\014ned)e(attributes.)-33 1842 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1983 a Fo(2.2.5.)20 b(String)14 b(Characters)-38 +1952 y Fk(.)-38 1965 y(.)-38 1978 y(.)-38 1991 y(.)-38 +2004 y(.)-38 2017 y(.)-38 2030 y(.)-38 2043 y(.)-38 2056 +y(.)-38 2069 y(.)-38 2082 y(.)-38 2095 y(.)-38 2108 y(.)-38 +2121 y(.)-38 2134 y(.)-38 2147 y(.)-38 2160 y(.)-38 2173 +y(.)-38 2186 y(.)-38 2199 y(.)-38 2212 y(.)-38 2225 y(.)-38 +2238 y(.)-38 2251 y(.)-38 2263 y(.)-38 2276 y(.)-38 2289 +y(.)-38 2302 y(.)-38 2315 y(.)-38 2328 y(.)-38 2341 y(.)-38 +2354 y(.)-38 2367 y(.)-38 2380 y(.)-38 2393 y(.)-38 2406 +y(.)-38 2419 y(.)-38 2432 y(.)-38 2445 y(.)-38 2458 y(.)-38 +2471 y(.)-38 2484 y(.)-38 2497 y(.)-38 2510 y(.)-38 2523 +y(.)-38 2536 y(.)-38 2549 y(.)-38 2562 y(.)-38 2575 y(.)-38 +2588 y(.)-38 2601 y(.)-38 2614 y(.)-38 2627 y(.)-38 2640 +y(.)-38 2653 y(.)-38 2666 y(.)-38 2679 y(.)-38 2692 y(.)-38 +2705 y(.)-38 2718 y(.)-38 2730 y(.)-38 2743 y(.)-38 2756 +y(.)-38 2769 y(.)-38 2782 y(.)-38 2795 y(.)-38 2808 y(.)-38 +2821 y(.)-38 2834 y(.)-38 2847 y(.)-38 2860 y(.)-38 2873 +y(.)-38 2886 y(.)-38 2899 y(.)-38 2912 y(.)-38 2925 y(.)-38 +2938 y(.)-38 2951 y(.)-38 2964 y(.)-38 2977 y(.)-38 2990 +y(.)-38 3003 y(.)-38 3016 y(.)-38 3029 y(.)-38 3042 y(.)-38 +3055 y(.)-38 3068 y(.)-38 3081 y(.)-38 3094 y(.)-38 3107 +y(.)-38 3120 y(.)-38 3133 y(.)-38 3146 y(.)-38 3159 y(.)-38 +3172 y(.)-38 3185 y(.)-38 3197 y(.)-38 3210 y(.)-38 3223 +y(.)-38 3236 y(.)-38 3249 y(.)-38 3262 y(.)-38 3275 y(.)-38 +3288 y(.)-38 3301 y(.)-38 3314 y(.)-38 3327 y(.)-38 3340 +y(.)-38 3353 y(.)-38 3366 y(.)-38 3379 y(.)-38 3392 y(.)-38 +3405 y(.)-38 3418 y(.)-38 3431 y(.)-38 3444 y(.)-38 3457 +y(.)-38 3470 y(.)-38 3483 y(.)-38 3496 y(.)-38 3509 y(.)-38 +3522 y(.)-38 3535 y(.)-38 3548 y(.)-38 3561 y(.)-38 3574 +y(.)-38 3587 y(.)-38 3600 y(.)-38 3613 y(.)-38 3626 y(.)-38 +3639 y(.)-38 3652 y(.)-38 3664 y(.)-38 3677 y(.)-38 3690 +y(.)-38 3703 y(.)-38 3716 y(.)-38 3729 y(.)-38 3742 y(.)-38 +3755 y(.)-38 3768 y(.)-38 3781 y(.)-38 3794 y(.)-38 3807 +y(.)-38 3820 y(.)-38 3833 y(.)-38 3846 y(.)-38 3859 y(.)-38 +3872 y(.)-38 3885 y(.)-38 3898 y(.)-38 3911 y(.)-38 3924 +y(.)-38 3937 y(.)-38 3950 y(.)-38 3963 y(.)-38 3976 y(.)-38 +3989 y(.)-38 4002 y(.)-38 4015 y(.)-38 4028 y(.)-38 4041 +y(.)-38 4054 y(.)-38 4067 y(.)-38 4080 y(.)-38 4093 y(.)-38 +4106 y(.)-38 4119 y(.)-38 4131 y(.)-38 4144 y(.)-38 4157 +y(.)-38 4170 y(.)-38 4183 y(.)-38 4196 y(.)-38 4209 y(.)-38 +4222 y(.)-38 4235 y(.)-38 4248 y(.)-38 4261 y(.)-38 4274 +y(.)-38 4287 y(.)-38 4300 y(.)-38 4313 y(.)-38 4326 y(.)-38 +4339 y(.)-38 4352 y(.)-38 4365 y(.)-38 4378 y(.)-38 4391 +y(.)-38 4404 y(.)-38 4417 y(.)-38 4430 y(.)-38 4443 y(.)-38 +4456 y(.)-38 4469 y(.)-38 4482 y(.)-38 4495 y(.)-38 4508 +y(.)-38 4521 y(.)-38 4534 y(.)0 2069 y Fw(An)o(y)j(c)o(haracter)h +(whose)g(bits)f(and)g(fon)o(t)f(attributes)i(are)g(zero)f(ma)o(y)e(b)q +(e)j(con)o(tained)f(in)0 2121 y(strings.)24 b(All)15 +b(suc)o(h)i(c)o(haracters)g(together)g(constitute)g(a)e(subt)o(yp)q(e)i +(of)e(the)h(c)o(haracters;)0 2173 y(this)e(subt)o(yp)q(e)h(is)f(called) +f Fs(string-char)p Fw(.)-33 2185 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2225 a(X3J13)g(v)o(oted)i(in)f(Marc)o(h)g(1989)f +Ft(h)p Fw(11)p Ft(i)h Fw(to)h(eliminate)d(the)j(t)o(yp)q(e)f +Fs(string-char)p Fw(.)j(Tw)o(o)-33 2197 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2277 a(new)d(subt)o(yp)q(es)h(of)e Fs(character)e +Fw(are)j Fs(base-character)p Fw(,)c(de\014ned)15 b(to)e(b)q(e)h(equiv)n +(alen)o(t)f(to)0 2329 y(the)h(result)h(of)e(the)i(function)e(call)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 29 53 +29 52 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(D)o(A)m(T)m(A)12 +b(TYPES)1124 b(29)0 295 y Fs(\(upgraded-array-e)o(lemen)o(t-typ)o(e)629 +299 y Fn(')653 295 y Fs(standard-char\))0 384 y Fw(and)14 +b Fs(extended-charact)o(er)p Fw(,)c(de\014ned)15 b(to)f(b)q(e)h(equiv)n +(alen)o(t)e(to)g(the)i(t)o(yp)q(e)f(sp)q(eci\014er)0 +474 y Fs(\(and)20 b(character)g(\(not)g(base-character\)\))0 +563 y Fw(An)13 b(implemen)o(tation)d(ma)o(y)i(supp)q(ort)i(additional)d +(subt)o(yp)q(es)k(of)e Fs(character)e Fw(that)j(ma)o(y)0 +615 y(or)c(ma)o(y)e(not)i(b)q(e)h(sup)q(ert)o(yp)q(es)i(of)c +Fs(base-character)p Fw(.)14 b(In)c(addition,)f(an)h(implemen)o(tation)0 +667 y(ma)o(y)e(de\014ne)k Fs(base-character)7 b Fw(to)k(b)q(e)g(equiv)n +(alen)o(t)e(to)i Fs(character)p Fw(.)k(The)10 b(c)o(hoice)h(of)f(an)o +(y)0 719 y(base)17 b(c)o(haracters)i(that)d(are)h(not)g(standard)g(c)o +(haracters)h(is)f(implemen)o(tati)o(on-de\014ned.)0 771 +y(Only)g(base)h(c)o(haracters)h(can)e(b)q(e)h(elemen)o(ts)f(of)g(a)g +(base)h(string.)28 b(No)17 b(upp)q(er)h(b)q(ound)g(is)0 +822 y(sp)q(eci\014ed)k(for)e(the)h(n)o(um)o(b)q(er)f(of)g(distinct)g(c) +o(haracters)i(of)e(t)o(yp)q(e)h Fs(base-character)p Fw(|)0 +874 y(that)13 b(is)g(implem)o(en)o(tation-dep)q(enden)o(t|but)e(the)j +(lo)o(w)o(er)e(b)q(ound)h(is)g(96,)f(the)h(n)o(um)o(b)q(er)f(of)0 +926 y(standard)i(Common)d(Lisp)j(c)o(haracters.)-33 938 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1095 a Fo(2.3.)20 b(Sym)n(b)r(ols)0 1186 +y Fw(Sym)o(b)q(ols)15 b(are)i(Lisp)g(data)f(ob)r(jects)i(that)f(serv)o +(e)h(sev)o(eral)f(purp)q(oses)h(and)f(ha)o(v)o(e)f(sev)o(eral)0 +1238 y(in)o(teresting)i(c)o(haracteristics.)28 b(Ev)o(ery)18 +b(ob)r(ject)g(of)e(t)o(yp)q(e)i Fs(symbol)d Fw(has)i(a)g(name,)f +(called)0 1290 y(its)h Fv(print)h(name)p Fw(.)30 b(Giv)o(en)16 +b(a)h(sym)o(b)q(ol,)g(one)g(can)h(obtain)f(its)g(name)f(in)h(the)h +(form)e(of)h(a)0 1341 y(string.)g(Con)o(v)o(ersely)m(,)12 +b(giv)o(en)f(the)i(name)e(of)g(a)g(sym)o(b)q(ol)f(as)i(a)g(string,)g +(one)g(can)g(obtain)f(the)0 1393 y(sym)o(b)q(ol)k(itself.)25 +b(\(More)17 b(precisely)m(,)g(sym)o(b)q(ols)e(are)h(organized)h(in)o +(to)e Fv(p)n(ackages)p Fw(,)j(and)e(all)0 1445 y(the)e(sym)o(b)q(ols)f +(in)g(a)h(pac)o(k)n(age)f(are)i(uniquely)e(iden)o(ti\014ed)h(b)o(y)g +(name.)j(See)d(c)o(hapter)h(11.\))42 1498 y(Sym)o(b)q(ols)h(ha)o(v)o(e) +i(a)g(comp)q(onen)o(t)f(called)h(the)h Fv(pr)n(op)n(erty)f(list)p +Fw(,)g(or)g Fv(plist)p Fw(.)30 b(By)19 b(con)o(v)o(en-)0 +1550 y(tion)c(this)h(is)g(alw)o(a)o(ys)e(a)i(list)f(whose)i(ev)o(en-n)o +(um)o(b)q(ered)f(comp)q(onen)o(ts)f(\(calling)g(the)h(\014rst)0 +1601 y(comp)q(onen)o(t)11 b(zero\))i(are)g(sym)o(b)q(ols,)e(here)i +(functioning)e(as)h(prop)q(ert)o(y)h(names,)e(and)h(whose)0 +1653 y(o)q(dd-n)o(um)o(b)q(ered)f(comp)q(onen)o(ts)g(are)h(asso)q +(ciated)g(prop)q(ert)o(y)h(v)n(alues.)k(F)m(unctions)11 +b(are)h(pro-)0 1705 y(vided)g(for)g(manipulating)d(this)k(prop)q(ert)o +(y)g(list;)f(in)g(e\013ect,)i(these)g(allo)o(w)c(a)i(sym)o(b)q(ol)f(to) +h(b)q(e)0 1757 y(treated)j(as)f(an)g(extensible)h(record)g(structure.) +42 1809 y(Sym)o(b)q(ols)f(are)j(also)f(used)h(to)f(represen)o(t)j +(certain)e(kinds)f(of)g(v)n(ariables)g(in)g(Lisp)g(pro-)0 +1861 y(grams,)i(and)g(there)i(are)f(functions)f(for)g(dealing)g(with)g +(the)h(v)n(alues)f(asso)q(ciated)h(with)0 1913 y(sym)o(b)q(ols)12 +b(in)i(this)g(role.)42 1966 y(A)j(sym)o(b)q(ol)e(can)i(b)q(e)h(notated) +f(simply)e(b)o(y)i(writing)g(its)g(name.)26 b(If)17 b(its)g(name)f(is)h +(not)0 2017 y(empt)o(y)m(,)h(and)g(if)g(the)h(name)e(consists)j(only)e +(of)g(upp)q(ercase)i(alphab)q(etic,)f(n)o(umeric,)g(or)0 +2069 y(certain)10 b(pseudo-alphab)q(etic)g(sp)q(ecial)g(c)o(haracters)h +(\(but)f(not)f(delimiter)f(c)o(haracters)j(suc)o(h)0 +2121 y(as)k(paren)o(theses)i(or)e(space\),)h(and)f(if)f(the)i(name)e +(of)g(the)i(sym)o(b)q(ol)d(cannot)i(b)q(e)h(mistak)o(en)0 +2173 y(for)e(a)g(n)o(um)o(b)q(er,)g(then)h(the)g(sym)o(b)q(ol)e(can)i +(b)q(e)g(notated)g(b)o(y)f(the)h(sequence)i(of)d(c)o(haracters)0 +2225 y(in)i(its)g(name.)24 b(An)o(y)16 b(upp)q(ercase)i(letters)g(that) +e(app)q(ear)h(in)f(the)g(\(in)o(ternal\))h(name)e(ma)o(y)0 +2277 y(b)q(e)h(written)g(in)f(either)h(case)h(in)e(the)h(external)g +(notation)e(\(more)h(on)g(this)h(b)q(elo)o(w\).)22 b(F)m(or)0 +2329 y(example:)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 30 54 +30 53 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(30)77 b(COMMON)13 +b(LISP)0 295 y Fs(FROBBOZ)269 b(;)p Fw(The)15 b(sym)o(b)q(ol)d(whose)i +(name)f(is)g Fs(FROBBOZ)0 347 y(frobboz)269 b(;)p Fw(Another)15 +b(w)o(a)o(y)e(to)h(notate)g(the)g(same)f(sym)o(b)q(ol)0 +399 y Fs(fRObBoz)269 b(;)p Fw(Y)m(et)14 b(another)h(w)o(a)o(y)e(to)h +(notate)g(it)0 450 y Fs(unwind-protect)115 b(;)p Fw(A)14 +b(sym)o(b)q(ol)e(with)i(a)f Fs(-)h Fw(in)f(its)h(name)0 +502 y Fs(+$)379 b(;)p Fw(The)15 b(sym)o(b)q(ol)d(named)g +Fs(+$)0 554 y(1+)379 b(;)p Fw(The)15 b(sym)o(b)q(ol)d(named)g +Fs(1+)0 606 y(+1)379 b(;)p Fw(This)14 b(is)g(the)g(in)o(teger)h(1,)e +(not)g(a)h(sym)o(b)q(ol)0 658 y Fs(pascal_style)159 b(;)p +Fw(This)14 b(sym)o(b)q(ol)e(has)i(an)g(underscore)i(in)d(its)h(name)0 +710 y Fs(b)20 714 y Fn(^)43 710 y Fs(2-4*a*c)226 b(;)p +Fw(This)14 b(is)g(a)f(single)h(sym)o(b)q(ol!)423 762 +y Fs(;)21 b Fw(It)14 b(has)g(sev)o(eral)h(sp)q(ecial)f(c)o(haracters)i +(in)d(its)h(name)0 814 y Fs(file.rel.43)181 b(;)p Fw(This)14 +b(sym)o(b)q(ol)e(has)i(p)q(erio)q(ds)h(in)e(its)h(name)0 +866 y Fs(/usr/games/zork)93 b(;)p Fw(This)14 b(sym)o(b)q(ol)e(has)i +(slashes)h(in)e(its)h(name)0 960 y(In)20 b(addition)g(to)g(letters)i +(and)e(n)o(um)o(b)q(ers,)h(the)g(follo)o(wing)d(c)o(haracters)23 +b(are)d(normally)0 1012 y(considered)15 b(to)f(b)q(e)h(alphab)q(etic)e +(for)h(the)g(purp)q(oses)i(of)d(notating)g(sym)o(b)q(ols:)0 +1108 y Fs(+)42 b(-)g(*)g(/)h(@)f($)g(\045)447 1112 y +Fn(^)512 1108 y Fs(&)h(_)641 1104 y(U)641 1112 y(U)705 +1108 y(<)f(>)831 1112 y Fn(~)897 1108 y Fs(.)0 1203 y +Fw(Some)15 b(of)h(these)i(c)o(haracters)h(ha)o(v)o(e)d(con)o(v)o(en)o +(tional)f(purp)q(oses)j(for)f(naming)d(things;)j(for)0 +1255 y(example,)10 b(sym)o(b)q(ols)g(that)i(name)e(sp)q(ecial)i(v)n +(ariables)e(generally)h(ha)o(v)o(e)h(names)e(b)q(eginning)0 +1307 y(and)k(ending)g(with)g Fs(*)p Fw(.)19 b(The)c(last)f(c)o +(haracter)h(listed)g(ab)q(o)o(v)o(e,)e(the)i(p)q(erio)q(d,)f(is)g +(considered)0 1359 y(alphab)q(etic)e Fv(pr)n(ovide)n(d)h +Fw(that)f(a)g(tok)o(en)h(do)q(es)g(not)f(consist)h(en)o(tirely)g(of)e +(p)q(erio)q(ds.)19 b(A)12 b(single)0 1411 y(p)q(erio)q(d)j(standing)f +(b)o(y)h(itself)f(is)h(used)g(in)g(the)g(notation)f(of)g(conses)i(and)e +(dotted)i(lists;)e(a)0 1462 y(tok)o(en)i(consisting)g(of)g(t)o(w)o(o)f +(or)h(more)f(p)q(erio)q(ds)i(is)f(syn)o(tactically)f(illegal.)23 +b(\(The)16 b(p)q(erio)q(d)0 1514 y(also)d(serv)o(es)j(as)e(the)g +(decimal)e(p)q(oin)o(t)i(in)f(the)i(notation)e(of)g(n)o(um)o(b)q +(ers.\))42 1567 y(The)e(follo)o(wing)e(c)o(haracters)j(are)g(also)f +(alphab)q(etic)g(b)o(y)f(default)h(but)h(are)f(explicitly)f(re-)0 +1619 y(serv)o(ed)i(to)f(the)h(user)g(for)e(de\014nition)h(as)g(reader)h +(macro)e(c)o(haracters)j(\(see)f(section)g(22.1.3\))0 +1671 y(or)17 b(an)o(y)f(other)i(desired)g(purp)q(ose)g(and)f(therefore) +h(should)f(not)g(b)q(e)h(used)g(routinely)e(in)0 1723 +y(names)d(of)g(sym)o(b)q(ols:)0 1819 y Fs(?)42 b(!)g([)g(])h({)f(})42 +1914 y Fw(A)12 b(sym)o(b)q(ol)f(ma)o(y)f(ha)o(v)o(e)j(upp)q(ercase)h +(letters,)g(lo)o(w)o(ercase)f(letters,)g(or)g(b)q(oth)f(in)g(its)h +(prin)o(t)0 1966 y(name.)28 b(Ho)o(w)o(ev)o(er,)18 b(the)g(Lisp)g +(reader)g(normally)d(con)o(v)o(erts)k(lo)o(w)o(ercase)f(letters)h(to)e +(the)0 2017 y(corresp)q(onding)d(upp)q(ercase)h(letters)g(when)e +(reading)g(sym)o(b)q(ols.)k(The)c(net)h(e\013ect)h(is)e(that)0 +2069 y(most)g(of)g(the)i(time)e(case)i(mak)o(es)e(no)h(di\013erence)i +(when)e Fv(notating)h Fw(sym)o(b)q(ols.)i(Case)d Fv(do)n(es)0 +2121 y Fw(mak)o(e)d(a)i(di\013erence)i(in)o(ternally)d(and)h(when)g +(prin)o(ting)f(a)h(sym)o(b)q(ol.)j(In)o(ternally)c(the)i(sym-)0 +2173 y(b)q(ols)e(that)h(name)e(all)h(standard)g(Common)e(Lisp)i +(functions,)g(v)n(ariables,)g(and)g(k)o(eyw)o(ords)0 +2225 y(ha)o(v)o(e)g(upp)q(ercase)j(names;)d(their)h(names)f(app)q(ear)h +(in)f(lo)o(w)o(ercase)h(in)f(this)h(b)q(o)q(ok)f(for)g(read-)0 +2277 y(abilit)o(y)m(.)k(T)o(yping)c(suc)o(h)i(names)e(with)h(lo)o(w)o +(ercase)h(letters)g(w)o(orks)f(b)q(ecause)i(the)f(function)0 +2329 y Fs(read)f Fw(will)f(con)o(v)o(ert)j(lo)o(w)o(ercase)g(letters)g +(to)e(the)i(equiv)n(alen)o(t)e(upp)q(ercase)j(letters.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 31 55 +31 54 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(D)o(A)m(T)m(A)12 +b(TYPES)1124 b(31)42 295 y Fw(X3J13)13 b(v)o(oted)h(in)f(June)h(1989)f +Ft(h)p Fw(150)p Ft(i)g Fw(to)h(in)o(tro)q(duce)g Fs(readtable-case)p +Fw(,)c(whic)o(h)k(con-)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(trols)g(whether)h Fs(read)e Fw(will)f(alter)i(the) +h(case)g(of)e(letters)i(read)f(as)g(part)g(of)g(the)g(name)f(of)g(a)0 +399 y(sym)o(b)q(ol.)-33 410 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 451 a(If)e(a)h(sym)o(b)q(ol)e(cannot)i(b)q(e)h(simply)d +(notated)i(b)o(y)g(the)g(c)o(haracters)i(of)d(its)h(name)f(b)q(ecause)0 +503 y(the)h(\(in)o(ternal\))f(name)e(con)o(tains)i(sp)q(ecial)h(c)o +(haracters)h(or)e(lo)o(w)o(ercase)g(letters,)i(then)e(there)0 +555 y(are)i(t)o(w)o(o)f(\\escap)q(e")h(con)o(v)o(en)o(tions)g(for)f +(notating)f(them.)17 b(W)m(riting)11 b(a)h Fs(\\)g Fw(c)o(haracter)i(b) +q(efore)0 607 y(an)o(y)c(c)o(haracter)i(causes)g(the)f(c)o(haracter)h +(to)f(b)q(e)g(treated)h(itself)e(as)h(an)f(ordinary)g(c)o(haracter)0 +658 y(for)16 b(use)h(in)e(a)h(sym)o(b)q(ol)e(name;)i(in)g(particular,)g +(it)f(suppresses)k(in)o(ternal)d(con)o(v)o(ersion)g(of)0 +710 y(lo)o(w)o(ercase)c(letters)h(to)e(their)h(upp)q(ercase)i(equiv)n +(alen)o(ts.)j(If)11 b(an)o(y)g(c)o(haracter)i(in)e(a)h(notation)0 +762 y(is)k(preceded)j(b)o(y)d Fs(\\)p Fw(,)g(then)h(that)g(notation)e +(can)i(nev)o(er)g(b)q(e)g(in)o(terpreted)h(as)f(a)f(n)o(um)o(b)q(er.)0 +814 y(F)m(or)d(example:)0 904 y Fs(\\\()464 b(;)p Fw(The)14 +b(sym)o(b)q(ol)e(whose)j(name)d(is)i Fs(\()0 956 y(\\+1)442 +b(;)p Fw(The)14 b(sym)o(b)q(ol)e(whose)j(name)d(is)i +Fs(+1)0 1008 y(+\\1)442 b(;)p Fw(Also)14 b(the)g(sym)o(b)q(ol)e(whose)j +(name)d(is)i Fs(+1)0 1060 y(\\frobboz)332 b(;)p Fw(The)14 +b(sym)o(b)q(ol)e(whose)j(name)d(is)i Fs(fROBBOZ)0 1112 +y(3.14159265\\s0)222 b(;)p Fw(The)14 b(sym)o(b)q(ol)e(whose)j(name)d +(is)i Fs(3.14159265s0)0 1163 y(3.14159265\\S0)222 b(;)p +Fw(A)14 b(di\013eren)o(t)h(sym)o(b)q(ol,)c(whose)k(name)d(is)i +Fs(3.14159265S0)0 1215 y(3.14159265s0)244 b(;)p Fw(A)14 +b(short-format)e(\015oating-p)q(oin)o(t)h(appro)o(ximation)d(to)k +Fh(\031)0 1267 y Fs(APL\\\\360)332 b(;)p Fw(The)14 b(sym)o(b)q(ol)e +(whose)j(name)d(is)i Fs(APL\\360)0 1319 y(apl\\\\360)332 +b(;)p Fw(Also)14 b(the)g(sym)o(b)q(ol)e(whose)j(name)d(is)i +Fs(APL\\360)0 1371 y(\\\(b)64 1375 y Fn(^)87 1371 y Fs(2\\\)\\)20 +b(-\\)h(4*a*c)138 b(;)p Fw(The)14 b(name)f(is)h Fs(\(B)810 +1375 y Fn(^)832 1371 y Fs(2\))21 b(-)g(4*A*C)p Fw(;)508 +1423 y Fs(;)g Fw(it)14 b(has)g(paren)o(theses)i(and)d(t)o(w)o(o)h +(spaces)h(in)f(it)0 1475 y Fs(\\\(\\b)86 1479 y Fn(^)108 +1475 y Fs(2\\\)\\)21 b(-\\)f(4*\\a*\\c)73 b(;)p Fw(The)14 +b(name)f(is)h Fs(\(b)810 1479 y Fn(^)832 1475 y Fs(2\))21 +b(-)g(4*a*c)p Fw(;)508 1527 y Fs(;)g Fw(the)15 b(letters)g(are)f +(explicitly)f(lo)o(w)o(ercase)0 1616 y(It)f(ma)o(y)e(b)q(e)i(tedious)g +(to)g(insert)h(a)e Fs(\\)h Fw(b)q(efore)h Fv(every)e +Fw(delimiter)g(c)o(haracter)i(in)e(the)i(name)d(of)0 +1668 y(a)i(sym)o(b)q(ol)f(if)h(there)i(are)f(man)o(y)e(of)h(them.)k(An) +d(alternativ)o(e)g(con)o(v)o(en)o(tion)f(is)g(to)h(surround)0 +1720 y(the)h(name)d(of)i(a)g(sym)o(b)q(ol)e(with)i(v)o(ertical)f(bars;) +i(these)g(cause)g(ev)o(ery)g(c)o(haracter)g(b)q(et)o(w)o(een)0 +1772 y(them)c(to)h(b)q(e)h(tak)o(en)f(as)h(part)f(of)g(the)g(sym)o(b)q +(ol's)f(name,)g(as)h(if)f Fs(\\)h Fw(had)g(b)q(een)h(written)g(b)q +(efore)0 1824 y(eac)o(h)j(one,)f(excepting)h(only)e Fs(|)h +Fw(itself)g(and)g Fs(\\)p Fw(,)g(whic)o(h)g(m)o(ust)f(nev)o(ertheless)k +(b)q(e)e(preceded)0 1876 y(b)o(y)f Fs(\\)p Fw(.)j(F)m(or)d(example:)0 +1966 y Fs(|"|)357 b(;)p Fw(The)15 b(same)e(as)h(writing)f +Fs(\\")0 2017 y(|\(b)64 2021 y Fn(^)87 2017 y Fs(2\))20 +b(-)h(4*a*c|)97 b(;)p Fw(The)15 b(name)d(is)i Fs(\(b)725 +2021 y Fn(^)748 2017 y Fs(2\))20 b(-)h(4*a*c)0 2069 y(|frobboz|)225 +b(;)p Fw(The)15 b(name)d(is)i Fs(frobboz)p Fw(,)e(not)i +Fs(FROBBOZ)0 2121 y(|APL\\360|)225 b(;)p Fw(The)15 b(name)d(is)i +Fs(APL360)p Fw(,)e(b)q(ecause)k(the)e Fs(\\)g Fw(quotes)g(the)h +Fs(3)0 2173 y(|APL\\\\360|)203 b(;)p Fw(The)15 b(name)d(is)i +Fs(APL\\360)0 2225 y(|apl\\\\360|)203 b(;)p Fw(The)15 +b(name)d(is)i Fs(apl\\360)0 2277 y(|\\|\\||)291 b(;)p +Fw(Same)13 b(as)h Fs(\\|\\|)p Fw(:)e(the)j(name)e(is)g +Fs(||)0 2329 y(|\(B)64 2333 y Fn(^)87 2329 y Fs(2\))20 +b(-)h(4*A*C|)97 b(;)p Fw(The)15 b(name)d(is)i Fs(\(B)725 +2333 y Fn(^)748 2329 y Fs(2\))20 b(-)h(4*A*C)p Fw(;)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 32 56 +32 55 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(32)77 b(COMMON)13 +b(LISP)423 295 y Fs(;)21 b Fw(it)14 b(has)g(paren)o(theses)i(and)e(t)o +(w)o(o)f(spaces)i(in)f(it)0 347 y Fs(|\(b)64 351 y Fn(^)87 +347 y Fs(2\))20 b(-)h(4*a*c|)97 b(;)p Fw(The)15 b(name)d(is)i +Fs(\(b)725 351 y Fn(^)748 347 y Fs(2\))20 b(-)h(4*a*c)0 +518 y Fo(2.4.)f(Lists)15 b(and)g(Conses)0 610 y Fw(A)i +Fs(cons)e Fw(is)i(a)f(record)i(structure)h(con)o(taining)d(t)o(w)o(o)g +(comp)q(onen)o(ts)g(called)g(the)i Fv(c)n(ar)e Fw(and)0 +662 y(the)e Fv(c)n(dr)p Fw(.)k(Conses)d(are)f(used)h(primarily)c(to)j +(represen)o(t)i(lists.)42 715 y(A)d Fv(list)g Fw(is)h(recursiv)o(ely)h +(de\014ned)g(to)f(b)q(e)g(either)h(the)f(empt)o(y)f(list)h(or)g(a)f +(cons)i(whose)f Fv(c)n(dr)0 767 y Fw(comp)q(onen)o(t)h(is)h(a)g(list.) +24 b(A)16 b(list)g(is)g(therefore)h(a)f(c)o(hain)g(of)f(conses)i(link)o +(ed)f(b)o(y)g(their)g Fv(c)n(dr)0 819 y Fw(comp)q(onen)o(ts)f(and)h +(terminated)f(b)o(y)g Fs(nil)p Fw(,)g(the)i(empt)o(y)d(list.)23 +b(The)17 b Fv(c)n(ar)e Fw(comp)q(onen)o(ts)g(of)0 870 +y(the)d(conses)g(are)g(called)f(the)h Fv(elements)f Fw(of)g(the)g +(list.)17 b(F)m(or)11 b(eac)o(h)h(elemen)o(t)e(of)h(the)h(list)e(there) +0 922 y(is)k(a)f(cons.)19 b(The)14 b(empt)o(y)f(list)h(has)g(no)f +(elemen)o(ts)h(at)g(all.)42 975 y(A)h(list)f(is)h(notated)g(b)o(y)g +(writing)f(the)i(elemen)o(ts)e(of)h(the)g(list)g(in)f(order,)i +(separated)g(b)o(y)0 1027 y(blank)11 b(space)h(\(space,)h(tab,)f(or)f +(return)i(c)o(haracters\))g(and)f(surrounded)h(b)o(y)e(paren)o(theses.) +0 1117 y Fs(\(a)21 b(b)g(c\))317 b(;)p Fw(A)14 b(list)f(of)g(three)j +(sym)o(b)q(ols)0 1169 y Fs(\(2.0s0)k(\(a)h(1\))f(#)281 +1165 y(-)281 1173 y(-)303 1169 y(\\*\))105 b(;)p Fw(A)14 +b(list)g(of)f(three)i(things:)e(a)h(short)g(\015oating-p)q(oin)o(t)466 +1221 y Fs(;)21 b Fw(n)o(um)o(b)q(er,)12 b(another)j(list,)e(and)g(a)h +(c)o(haracter)h(ob)r(ject)0 1311 y(The)e(empt)o(y)f(list)g +Fs(nil)g Fw(therefore)j(can)e(b)q(e)g(written)g(as)g +Fs(\(\))p Fw(,)f(b)q(ecause)j(it)d(is)h(a)f(list)h(with)f(no)0 +1363 y(elemen)o(ts.)42 1415 y(A)17 b Fv(dotte)n(d)h(list)e +Fw(is)h(one)h(whose)f(last)g(cons)h(do)q(es)g(not)f(ha)o(v)o(e)g +Fs(nil)g Fw(for)f(its)i Fv(c)n(dr)p Fw(,)f(rather)0 1467 +y(some)c(other)i(data)e(ob)r(ject)i(\(whic)o(h)f(is)g(also)f(not)h(a)g +(cons,)g(or)g(the)h(\014rst-men)o(tioned)e(cons)0 1519 +y(w)o(ould)g(not)h(b)q(e)h(the)g(last)f(cons)g(of)g(the)h(list\).)j +(Suc)o(h)d(a)e(list)h(is)g(called)g(\\dotted")g(b)q(ecause)0 +1571 y(of)d(the)h(sp)q(ecial)g(notation)f(used)h(for)f(it:)17 +b(the)12 b(elemen)o(ts)f(of)g(the)h(list)f(are)h(written)g(b)q(et)o(w)o +(een)0 1623 y(paren)o(theses)17 b(as)e(b)q(efore,)h(but)f(after)h(the)f +(last)g(elemen)o(t)f(and)h(b)q(efore)h(the)g(righ)o(t)e(paren-)0 +1675 y(thesis)h(are)f(written)h(a)f(dot)g(\(surrounded)h(b)o(y)f(blank) +f(space\))j(and)e(then)g(the)h Fv(c)n(dr)f Fw(of)f(the)0 +1727 y(last)i(cons.)25 b(As)16 b(a)f(sp)q(ecial)h(case,)h(a)e(single)h +(cons)g(is)g(notated)g(b)o(y)f(writing)g(the)i Fv(c)n(ar)e +Fw(and)0 1779 y(the)i Fv(c)n(dr)f Fw(b)q(et)o(w)o(een)i(paren)o(theses) +h(and)d(separated)i(b)o(y)e(a)h(space-surrounded)h(dot.)26 +b(F)m(or)0 1830 y(example:)0 1921 y Fs(\(a)21 b(.)g(4\))190 +b(;)p Fw(A)14 b(cons)g(whose)h Fv(c)n(ar)e Fw(is)h(a)f(sym)o(b)q(ol)339 +1973 y Fs(;)21 b Fw(and)13 b(whose)i Fv(c)n(dr)e Fw(is)h(an)g(in)o +(teger)0 2025 y Fs(\(a)21 b(b)g(c)g(.)g(d\))105 b(;)p +Fw(A)14 b(dotted)g(list)g(with)f(three)i(elemen)o(ts)f(whose)h(last)e +(cons)339 2077 y Fs(;)21 b Fw(has)14 b(the)g(sym)o(b)q(ol)e +Fs(d)i Fw(in)f(its)h Fv(c)n(dr)p 0 2136 V 0 2197 a Fm(Compatibilit)o(y) +k(note:)29 b FA(In)19 b(MacLisp,)i(the)d(dot)h(in)h(dotted-list)g +(notation)g(need)f(not)g(b)q(e)0 2243 y(surrounded)c(b)o(y)f(white)f +(space)h(or)f(other)h(delimiters.)19 b(The)14 b(dot)f(is)h(required)h +(to)e(b)q(e)g(delimited)0 2288 y(in)h(Common)f(Lisp,)h(as)f(in)h(Lisp)g +(Mac)o(hine)g(Lisp.)p 0 2329 V -33 2344 a @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 33 57 +33 56 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(D)o(A)m(T)m(A)12 +b(TYPES)1124 b(33)42 295 y Fw(It)10 b(is)h(legitimate)d(to)j(write)g +(something)e(lik)o(e)h Fs(\(a)21 b(b)g(.)f(\(c)h(d\)\))p +Fw(;)11 b(this)g(means)e(the)j(same)0 347 y(as)17 b Fs(\(a)k(b)g(c)g +(d\))p Fw(.)27 b(The)17 b(standard)h(Lisp)f(output)g(routines)g(will)f +(nev)o(er)i(prin)o(t)f(a)g(list)f(in)0 399 y(the)e(\014rst)h(form,)d +(ho)o(w)o(ev)o(er;)i(they)g(will)e(a)o(v)o(oid)h(dot)h(notation)f +(wherev)o(er)i(p)q(ossible.)42 450 y(Often)9 b(the)h(term)f +Fv(list)g Fw(is)g(used)h(to)f(refer)i(either)f(to)f(true)h(lists)g(or)f +(to)g(dotted)h(lists.)17 b(When)0 502 y(the)c(distinction)f(is)h(imp)q +(ortan)o(t,)e(the)i(term)f(\\true)h(list")f(will)f(b)q(e)j(used)f(to)g +(refer)g(to)g(a)f(list)0 554 y(terminated)k(b)o(y)g Fs(nil)p +Fw(.)26 b(Most)17 b(functions)f(adv)o(ertised)i(to)e(op)q(erate)i(on)e +(lists)h(exp)q(ect)h(to)0 606 y(b)q(e)d(giv)o(en)e(true)i(lists.)j +(Throughout)c(this)g(b)q(o)q(ok,)f(unless)i(otherwise)g(sp)q +(eci\014ed,)g(it)e(is)h(an)0 658 y(error)g(to)e(pass)h(a)g(dotted)g +(list)f(to)h(a)f(function)h(that)g(is)f(sp)q(eci\014ed)i(to)f(require)g +(a)g(list)f(as)h(an)0 710 y(argumen)o(t.)p 0 770 V 0 +830 a Fm(Implemen)o(tation)f(note:)17 b FA(Implemen)o(tors)d(are)f +(encouraged)h(to)f(use)g(the)f(equiv)n(alen)o(t)j(of)d(the)0 +876 y(predicate)20 b Fj(endp)c FA(wherev)o(er)j(it)g(is)g(necessary)g +(to)g(test)f(for)g(the)h(end)f(of)h(a)f(list.)34 b(Whenev)o(er)0 +921 y(feasible,)14 b(this)f(test)g(should)h(explicitl)q(y)h(signal)g +(an)e(error)f(if)h(a)g(list)g(is)h(found)f(to)f(b)q(e)h(terminated)0 +967 y(b)o(y)h(a)f(non-)p Fj(nil)g FA(atom.)19 b(Ho)o(w)o(ev)o(er,)13 +b(suc)o(h)h(an)g(explicit)i(error)e(signal)i(is)e(not)g(required,)g(b)q +(ecause)0 1013 y(some)j(suc)o(h)h(tests)g(o)q(ccur)f(in)h(imp)q(ortan)o +(t)h(lo)q(ops)g(where)e(e\016ciency)i(is)f(imp)q(ortan)o(t.)31 +b(In)17 b(suc)o(h)0 1058 y(cases,)12 b(the)g(predicate)g +Fj(atom)e FA(ma)o(y)i(b)q(e)g(used)g(to)f(test)h(for)f(the)g(end)h(of)g +(the)f(list,)i(quietly)g(treating)0 1104 y(an)o(y)h(non-)p +Fj(nil)e FA(list-terminating)k(atom)d(as)g(if)h(it)f(w)o(ere)g +Fj(nil)p FA(.)p 0 1138 V 42 1210 a Fw(Sometimes)j(the)i(term)g +Fv(tr)n(e)n(e)f Fw(is)i(used)g(to)f(refer)h(to)f(some)f(cons)i(and)f +(all)f(the)i(other)0 1262 y(conses)d(transitiv)o(ely)d(accessible)j(to) +d(it)h(through)g Fv(c)n(ar)g Fw(and)g Fv(c)n(dr)g Fw(links)f(un)o(til)h +(non-conses)0 1314 y(are)g(reac)o(hed;)h(these)g(non-conses)g(are)g +(called)e(the)i Fv(le)n(aves)f Fw(of)f(the)h(tree.)42 +1366 y(Lists,)k(dotted)g(lists,)g(and)f(trees)j(are)e(not)f(m)o +(utually)e(exclusiv)o(e)j(data)f(t)o(yp)q(es;)j(they)0 +1418 y(are)e(simply)e(useful)i(p)q(oin)o(ts)g(of)g(view)f(ab)q(out)h +(structures)j(of)c(conses.)32 b(There)19 b(are)f(y)o(et)0 +1470 y(other)d(terms,)f(suc)o(h)h(as)f Fv(asso)n(ciation)i(list)p +Fw(.)i(None)d(of)e(these)j(are)f(true)g(Lisp)f(data)g(t)o(yp)q(es.)0 +1522 y(Conses)k(are)f(a)g(data)f(t)o(yp)q(e,)i(and)f +Fs(nil)f Fw(is)h(the)h(sole)f(ob)r(ject)g(of)g(t)o(yp)q(e)g +Fs(null)p Fw(.)26 b(The)18 b(Lisp)0 1573 y(data)c(t)o(yp)q(e)g +Fs(list)f Fw(is)h(tak)o(en)f(to)h(mean)f(the)h(union)g(of)f(the)h +Fs(cons)f Fw(and)h Fs(null)f Fw(data)g(t)o(yp)q(es,)0 +1625 y(and)h(therefore)h(encompasses)g(b)q(oth)f(true)g(lists)g(and)g +(dotted)g(lists.)0 1776 y Fo(2.5.)20 b(Arra)n(ys)0 1862 +y Fw(An)d Fs(array)g Fw(is)g(an)g(ob)r(ject)h(with)f(comp)q(onen)o(ts)g +(arranged)g(according)g(to)h(a)e(Cartesian)0 1914 y(co)q(ordinate)g +(system.)24 b(In)16 b(general,)h(these)g(comp)q(onen)o(ts)f(ma)o(y)e(b) +q(e)i(an)o(y)g(Lisp)f(data)h(ob-)0 1965 y(jects.)42 2017 +y(The)g(n)o(um)o(b)q(er)e(of)h(dimensions)g(of)g(an)g(arra)o(y)g(is)h +(called)f(its)h Fv(r)n(ank)f Fw(\(this)h(terminology)0 +2069 y(is)h(b)q(orro)o(w)o(ed)h(from)e(APL\);)h(the)h(rank)g(is)f(a)g +(non-negativ)o(e)g(in)o(teger.)29 b(Lik)o(ewise,)18 b(eac)o(h)0 +2121 y(dimension)d(is)i(itself)f(a)g(non-negativ)o(e)h(in)o(teger.)26 +b(The)18 b(total)e(n)o(um)o(b)q(er)g(of)g(elemen)o(ts)g(in)0 +2173 y(the)e(arra)o(y)g(is)g(the)g(pro)q(duct)h(of)e(all)g(the)i +(dimensions.)42 2225 y(An)j(implemen)o(tatio)o(n)d(of)j(Common)d(Lisp)j +(ma)o(y)e(imp)q(ose)h(a)h(limit)e(on)h(the)i(rank)f(of)0 +2277 y(an)c(arra)o(y)m(,)g(but)h(this)f(limit)e(ma)o(y)h(not)i(b)q(e)g +(smaller)e(than)h(7.)20 b(Therefore,)c(an)o(y)e(Common)0 +2329 y(Lisp)j(program)f(ma)o(y)f(assume)i(the)h(use)g(of)f(arra)o(ys)g +(of)g(rank)g(7)g(or)g(less.)29 b(\(A)17 b(program)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 34 58 +34 57 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(34)77 b(COMMON)13 +b(LISP)0 295 y Fw(ma)o(y)e(determine)i(the)h(actual)f(limit)d(on)j +(arra)o(y)g(ranks)g(for)g(a)g(giv)o(en)f(implemen)o(tation)e(b)o(y)0 +347 y(examining)h(the)k(constan)o(t)f Fs(array-rank-limit)p +Fw(.\))42 399 y(It)g(is)h(p)q(ermissible)f(for)g(a)h(dimension)e(to)h +(b)q(e)i(zero.)21 b(In)15 b(this)g(case,)g(the)h(arra)o(y)e(has)h(no)0 +451 y(elemen)o(ts,)h(and)g(an)o(y)f(attempt)g(to)h(access)i(an)d +(elemen)o(t)h(is)f(in)h(error.)25 b(Ho)o(w)o(ev)o(er,)16 +b(other)0 503 y(prop)q(erties)c(of)e(the)h(arra)o(y)m(,)f(suc)o(h)h(as) +g(the)g(dimensions)e(themselv)o(es,)i(ma)o(y)d(b)q(e)j(used.)18 +b(If)10 b(the)0 555 y(rank)i(is)g(zero,)i(then)f(there)g(are)g(no)f +(dimensions,)f(and)h(the)h(pro)q(duct)g(of)f(the)h(dimensions)0 +606 y(is)h(then)g(b)o(y)g(de\014nition)f(1.)18 b(A)c(zero-rank)h(arra)o +(y)e(therefore)j(has)e(a)f(single)h(elemen)o(t.)42 659 +y(An)i(arra)o(y)g(elemen)o(t)f(is)h(sp)q(eci\014ed)i(b)o(y)e(a)f +(sequence)k(of)c(indices.)25 b(The)17 b(length)f(of)f(the)0 +710 y(sequence)e(m)o(ust)d(equal)h(the)g(rank)g(of)f(the)i(arra)o(y)m +(.)k(Eac)o(h)11 b(index)g(m)o(ust)f(b)q(e)i(a)e(non-negativ)o(e)0 +762 y(in)o(teger)15 b(strictly)g(less)h(than)f(the)g(corresp)q(onding)h +(arra)o(y)e(dimension.)19 b(Arra)o(y)c(indexing)0 814 +y(is)f(therefore)h(zero-origin,)e(not)h(one-origin)f(as)h(in)f(\(the)i +(default)e(case)i(of)s(\))f(F)m(ortran.)42 866 y(As)g(an)g(example,)e +(supp)q(ose)k(that)e(the)h(v)n(ariable)e Fs(foo)g Fw(names)g(a)h(3-b)o +(y-5)f(arra)o(y)m(.)18 b(Then)0 918 y(the)g(\014rst)h(index)f(ma)o(y)d +(b)q(e)k(0,)f(1,)g(or)f(2,)h(and)g(the)g(second)h(index)f(ma)o(y)d(b)q +(e)k(0,)f(1,)g(2,)f(3,)0 970 y(or)e(4.)20 b(One)15 b(ma)o(y)e(refer)i +(to)g(arra)o(y)f(elemen)o(ts)h(using)f(the)h(function)g +Fs(aref)p Fw(;)e(for)h(example,)0 1022 y Fs(\(aref)20 +b(foo)h(2)g(1\))12 b Fw(refers)j(to)e(elemen)o(t)f(\(2,)h(1\))g(of)f +(the)i(arra)o(y)m(.)j(Note)c(that)g Fs(aref)g Fw(tak)o(es)g(a)0 +1074 y(v)n(ariable)e(n)o(um)o(b)q(er)g(of)g(argumen)o(ts:)17 +b(an)11 b(arra)o(y)m(,)g(and)h(as)g(man)o(y)e(indices)i(as)g(the)h +(arra)o(y)f(has)0 1126 y(dimensions.)19 b(A)c(zero-rank)g(arra)o(y)g +(has)f(no)h(dimensions,)e(and)i(therefore)h Fs(aref)e +Fw(w)o(ould)0 1178 y(tak)o(e)g(suc)o(h)h(an)e(arra)o(y)h(and)g(no)f +(indices,)h(and)g(return)h(the)f(sole)g(elemen)o(t)g(of)f(the)h(arra)o +(y)m(.)42 1230 y(In)i(general,)g(arra)o(ys)h(can)f(b)q(e)h(m)o(ultidim) +o(ensional)o(,)d(can)i(share)h(their)g(con)o(ten)o(ts)g(with)0 +1282 y(other)g(arra)o(y)g(ob)r(jects,)h(and)f(can)g(ha)o(v)o(e)g(their) +g(size)g(altered)h(dynamically)c(\(either)j(en-)0 1334 +y(larging)11 b(or)i(shrinking\))f(after)h(creation.)18 +b(A)12 b(one-dimensional)f(arra)o(y)h(ma)o(y)f(also)h(ha)o(v)o(e)g(a)0 +1386 y Fv(\014l)r(l)j(p)n(ointer)p Fw(.)42 1438 y(Multidimensional)7 +b(arra)o(ys)k(store)g(their)g(comp)q(onen)o(ts)f(in)g(ro)o(w-ma)r(jor)f +(order;)j(that)e(is,)0 1490 y(in)o(ternally)i(a)g(m)o(ultidim)o +(ensional)d(arra)o(y)j(is)g(stored)i(as)e(a)g(one-dimensional)e(arra)o +(y)m(,)i(with)0 1542 y(the)j(m)o(ultidim)o(ensional)d(index)i(sets)i +(ordered)g(lexicographically)m(,)d(last)h(index)h(v)n(arying)0 +1594 y(fastest.)27 b(This)16 b(is)h(imp)q(ortan)o(t)e(in)h(t)o(w)o(o)g +(situations:)23 b(\(1\))17 b(when)g(arra)o(ys)f(with)h(di\013eren)o(t)0 +1645 y(dimensions)11 b(share)i(their)f(con)o(ten)o(ts,)h(and)f(\(2\))g +(when)g(accessing)h(v)o(ery)g(large)e(arra)o(ys)h(in)g(a)0 +1697 y(virtual-memo)o(ry)d(implemen)o(tation.)14 b(\(The)e(\014rst)g +(situation)f(is)h(a)f(matter)g(of)g(seman)o(tics;)0 1749 +y(the)j(second,)h(a)f(matter)f(of)g(e\016ciency)m(.\))42 +1801 y(An)i(arra)o(y)f(that)h(is)g(not)g(displaced)h(to)e(another)i +(arra)o(y)m(,)e(has)h(no)g(\014ll)f(p)q(oin)o(ter,)h(and)g(is)0 +1853 y(not)10 b(to)h(ha)o(v)o(e)f(its)g(size)h(adjusted)g(dynamically)d +(after)j(creation)f(is)h(called)f(a)g Fv(simple)g Fw(arra)o(y)m(.)0 +1905 y(The)16 b(user)h(ma)o(y)c(pro)o(vide)j(declarations)f(that)h +(certain)g(arra)o(ys)g(will)e(b)q(e)i(simple.)22 b(Some)0 +1957 y(implemen)o(tatio)o(ns)14 b(can)j(handle)f(simple)f(arra)o(ys)i +(in)f(an)g(esp)q(ecially)h(e\016cien)o(t)g(manner;)0 +2009 y(for)i(example,)g(simple)f(arra)o(ys)i(ma)o(y)e(ha)o(v)o(e)h(a)g +(more)g(compact)g(represen)o(tation)i(than)0 2061 y(non-simple)12 +b(arra)o(ys.)42 2113 y(X3J13)24 b(v)o(oted)i(in)e(June)i(1989)f +Ft(h)p Fw(3)p Ft(i)g Fw(to)g(clarify)f(that)h(if)g(one)g(or)g(more)g +(of)f(the)-33 2085 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2165 a Fs(:adjustable)p Fw(,)14 b Fs(:fill-pointer)p +Fw(,)f(and)j Fs(:displaced-to)e Fw(argumen)o(ts)h(is)h(true)h(when)0 +2217 y Fs(make-array)8 b Fw(is)j(called,)f(then)h(whether)h(the)f +(resulting)g(arra)o(y)f(is)g(simple)f(is)i(unsp)q(eci\014ed;)0 +2269 y(but)j(if)g(all)e(three)k(argumen)o(ts)d(are)i(false,)e(then)i +(the)f(resulting)h(arra)o(y)e(is)h(guaran)o(teed)h(to)0 +2321 y(b)q(e)g(simple.)-33 2332 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 12 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 35 59 +35 58 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(D)o(A)m(T)m(A)12 +b(TYPES)1124 b(35)0 295 y Fo(2.5.1.)20 b(V)-5 b(ectors)0 +393 y Fw(One-dimensional)10 b(arra)o(ys)i(are)g(called)g +Fv(ve)n(ctors)f Fw(in)g(Common)e(Lisp)j(and)f(constitute)i(the)0 +445 y(t)o(yp)q(e)k Fs(vector)f Fw(\(whic)o(h)h(is)g(therefore)h(a)f +(subt)o(yp)q(e)h(of)e Fs(array)p Fw(\).)27 b(V)m(ectors)18 +b(and)e(lists)h(are)0 497 y(collectiv)o(ely)c(considered)h(to)f(b)q(e)h +Fv(se)n(quenc)n(es)p Fw(.)19 b(They)13 b(di\013er)h(in)f(that)g(an)o(y) +g(comp)q(onen)o(t)f(of)0 549 y(a)e(one-dimensional)f(arra)o(y)h(can)h +(b)q(e)g(accessed)i(in)d(constan)o(t)h(time,)f(whereas)i(the)f(a)o(v)o +(erage)0 601 y(comp)q(onen)o(t)g(access)j(time)d(for)g(a)h(list)g(is)f +(linear)h(in)g(the)g(length)g(of)f(the)i(list;)f(on)g(the)g(other)0 +653 y(hand,)g(adding)f(a)g(new)h(elemen)o(t)g(to)f(the)i(fron)o(t)e(of) +h(a)f(list)g(tak)o(es)i(constan)o(t)f(time,)e(whereas)0 +705 y(the)k(same)f(op)q(eration)h(on)g(an)g(arra)o(y)f(tak)o(es)i(time) +d(linear)h(in)h(the)g(length)g(of)g(the)g(arra)o(y)m(.)42 +758 y(A)i(general)h(v)o(ector)g(\(a)g(one-dimensional)d(arra)o(y)j +(that)f(can)h(ha)o(v)o(e)g(an)o(y)f(data)g(ob)r(ject)0 +810 y(as)h(an)f(elemen)o(t)g(but)g(that)h(has)g(no)f(additional)e +(paraphernalia\))i(can)h(b)q(e)g(notated)g(b)o(y)0 862 +y(notating)e(the)i(comp)q(onen)o(ts)f(in)g(order,)h(separated)g(b)o(y)f +(whitespace)h(and)f(surrounded)0 913 y(b)o(y)e Fs(#)58 +909 y(-)58 917 y(-)79 913 y(\()g Fw(and)g Fs(\))p Fw(.)k(F)m(or)13 +b(example:)0 1009 y Fs(#)0 1005 y(-)0 1013 y(-)22 1009 +y(\(a)21 b(b)g(c\))423 b(;)p Fw(A)13 b(v)o(ector)i(of)e(length)h(3)0 +1061 y Fs(#)0 1057 y(-)0 1065 y(-)22 1061 y(\(\))529 +b(;)p Fw(An)13 b(empt)o(y)g(v)o(ector)0 1113 y Fs(#)0 +1109 y(-)0 1117 y(-)22 1113 y(\(2)21 b(3)g(5)f(7)h(11)g(13)g(17)g(19)f +(23)h(29)g(31)g(37)f(41)h(43)g(47\))593 1165 y(;)p Fw(A)14 +b(v)o(ector)g(con)o(taining)f(the)h(primes)g(b)q(elo)o(w)f(50)0 +1259 y(Note)j(that)f(when)h(the)g(function)f Fs(read)f +Fw(parses)i(this)g(syn)o(tax,)f(it)g(alw)o(a)o(ys)f(constructs)j(a)0 +1311 y Fv(simple)c Fw(general)i(v)o(ector.)p 0 1371 V +0 1432 a Fm(Rationale:)h FA(Man)o(y)c(p)q(eople)g(ha)o(v)o(e)f +(suggested)h(that)f(brac)o(k)o(ets)h(b)q(e)f(used)g(to)g(notate)g(v)o +(ectors,)g(as)0 1478 y Fj([a)18 b(b)g(c])13 b FA(instead)j(of)e +Fj(#)328 1475 y(-)328 1481 y(-)347 1478 y(\(a)k(b)h(c\))p +FA(.)g(This)c(notation)h(w)o(ould)f(b)q(e)f(shorter,)h(p)q(erhaps)g +(more)f(read-)0 1523 y(able,)i(and)f(certainly)i(in)e(accord)g(with)h +(cultural)g(con)o(v)o(en)o(tions)h(in)e(other)g(parts)g(of)g(computer)0 +1569 y(science)f(and)g(mathematics.)19 b(Ho)o(w)o(ev)o(er,)13 +b(to)g(preserv)o(e)h(the)g(usefulness)h(of)e(the)g(user-de\014nable)0 +1615 y(macro-c)o(haracter)e(feature)f(of)g(the)g(function)i +Fj(read)p FA(,)c(it)j(is)f(necessary)i(to)d(lea)o(v)o(e)j(some)e(c)o +(haracters)0 1660 y(to)h(the)g(user)g(for)g(this)h(purp)q(ose.)17 +b(Exp)q(erience)c(in)f(MacLisp)g(has)g(sho)o(wn)f(that)g(users,)h(esp)q +(ecially)0 1706 y(implemen)o(tors)18 b(of)e(languages)i(for)d(use)i(in) +f(arti\014cial)j(in)o(telligence)g(researc)o(h,)e(often)f(w)o(an)o(t)g +(to)0 1752 y(de\014ne)e(sp)q(ecial)g(kinds)g(of)f(brac)o(k)o(ets.)k +(Therefore)c(Common)g(Lisp)g(a)o(v)o(oids)h(using)h(brac)o(k)o(ets)e +(and)0 1797 y(braces)h(for)e(an)o(y)i(syn)o(tactic)g(purp)q(ose.)p +0 1844 V 42 1966 a Fw(Implemen)o(tatio)o(ns)f(ma)o(y)g(pro)o(vide)i +(certain)g(sp)q(ecialized)h(represen)o(tations)h(of)e(arra)o(ys)0 +2017 y(for)d(e\016ciency)i(in)e(the)h(case)g(where)h(all)d(the)i(comp)q +(onen)o(ts)f(are)h(of)f(the)h(same)f(sp)q(ecialized)0 +2069 y(\(t)o(ypically)i(n)o(umeric\))h(t)o(yp)q(e.)23 +b(All)15 b(implemen)o(tati)o(ons)e(pro)o(vide)i(sp)q(ecialized)i(arra)o +(ys)e(for)0 2121 y(the)g(cases)h(when)g(the)f(comp)q(onen)o(ts)f(are)h +(c)o(haracters)i(\(or)e(rather,)g(a)f(sp)q(ecial)h(subset)h(of)0 +2173 y(the)d(c)o(haracters\);)h(the)f(one-dimensional)d(instances)j(of) +f(this)g(sp)q(ecialization)f(are)i(called)0 2225 y Fv(strings)p +Fw(.)26 b(All)16 b(implemen)o(tations)e(are)j(also)f(required)i(to)e +(pro)o(vide)h(sp)q(ecialized)h(arra)o(ys)0 2277 y(of)13 +b(bits,)g(that)g(is,)g(arra)o(ys)g(of)g(t)o(yp)q(e)h +Fs(\(array)20 b(bit\))p Fw(;)12 b(the)i(one-dimensional)d(instances)j +(of)0 2329 y(this)g(sp)q(ecialization)f(are)i(called)e +Fv(bit-ve)n(ctors)p Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 36 60 +36 59 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(36)77 b(COMMON)13 b(LISP)0 295 y Fo(2.5.2.)20 +b(Strings)42 380 y Fw(A)g(string)g(is)g(simply)e(a)i(v)o(ector)h(of)e +(c)o(haracters.)39 b(More)20 b(precisely)m(,)i(a)e(string)g(is)g(a)-38 +355 y Fk(.)-38 368 y(.)-38 381 y(.)-38 394 y(.)-38 407 +y(.)-38 420 y(.)-38 433 y(.)-38 446 y(.)-38 459 y(.)-38 +472 y(.)-38 485 y(.)-38 497 y(.)-38 510 y(.)-38 523 y(.)-38 +536 y(.)-38 549 y(.)-38 562 y(.)-38 575 y(.)-38 588 y(.)-38 +601 y(.)-38 614 y(.)-38 627 y(.)-38 640 y(.)-38 653 y(.)-38 +666 y(.)-38 679 y(.)-38 692 y(.)-38 705 y(.)-38 718 y(.)-38 +731 y(.)-38 744 y(.)-38 757 y(.)-38 770 y(.)-38 783 y(.)-38 +796 y(.)-38 809 y(.)-38 822 y(.)-38 835 y(.)-38 848 y(.)-38 +861 y(.)-38 874 y(.)-38 887 y(.)-38 900 y(.)-38 913 y(.)-38 +926 y(.)-38 939 y(.)-38 952 y(.)-38 964 y(.)-38 977 y(.)-38 +990 y(.)-38 1003 y(.)-38 1016 y(.)-38 1029 y(.)-38 1042 +y(.)-38 1055 y(.)-38 1068 y(.)-38 1081 y(.)-38 1094 y(.)-38 +1107 y(.)-38 1120 y(.)-38 1133 y(.)-38 1146 y(.)-38 1159 +y(.)-38 1172 y(.)-38 1185 y(.)-38 1198 y(.)-38 1211 y(.)-38 +1224 y(.)-38 1237 y(.)-38 1250 y(.)-38 1263 y(.)-38 1276 +y(.)-38 1289 y(.)-38 1302 y(.)-38 1315 y(.)-38 1328 y(.)-38 +1341 y(.)-38 1354 y(.)-38 1367 y(.)-38 1380 y(.)-38 1393 +y(.)-38 1406 y(.)-38 1419 y(.)-38 1431 y(.)-38 1444 y(.)-38 +1457 y(.)-38 1470 y(.)-38 1483 y(.)-38 1496 y(.)-38 1509 +y(.)-38 1522 y(.)-38 1535 y(.)-38 1548 y(.)-38 1561 y(.)-38 +1574 y(.)-38 1587 y(.)-38 1600 y(.)-38 1613 y(.)-38 1626 +y(.)-38 1639 y(.)-38 1652 y(.)-38 1665 y(.)-38 1678 y(.)-38 +1691 y(.)-38 1704 y(.)-38 1717 y(.)-38 1730 y(.)-38 1743 +y(.)-38 1756 y(.)-38 1769 y(.)-38 1782 y(.)-38 1795 y(.)-38 +1808 y(.)-38 1821 y(.)-38 1834 y(.)-38 1847 y(.)-38 1860 +y(.)-38 1873 y(.)-38 1886 y(.)-38 1898 y(.)-38 1911 y(.)-38 +1924 y(.)-38 1937 y(.)-38 1950 y(.)-38 1963 y(.)-38 1976 +y(.)-38 1989 y(.)-38 2002 y(.)-38 2015 y(.)-38 2028 y(.)-38 +2041 y(.)-38 2054 y(.)-38 2067 y(.)-38 2080 y(.)-38 2093 +y(.)-38 2106 y(.)-38 2119 y(.)-38 2132 y(.)-38 2145 y(.)-38 +2158 y(.)-38 2171 y(.)-38 2184 y(.)-38 2197 y(.)-38 2210 +y(.)-38 2223 y(.)-38 2236 y(.)-38 2249 y(.)-38 2262 y(.)-38 +2275 y(.)-38 2288 y(.)-38 2301 y(.)-38 2314 y(.)-38 2327 +y(.)-38 2340 y(.)-38 2353 y(.)-38 2365 y(.)-38 2378 y(.)-38 +2391 y(.)-38 2404 y(.)-38 2417 y(.)-38 2430 y(.)-38 2443 +y(.)-38 2456 y(.)-38 2469 y(.)-38 2482 y(.)-38 2495 y(.)-38 +2508 y(.)-38 2521 y(.)-38 2534 y(.)-38 2547 y(.)-38 2560 +y(.)-38 2573 y(.)-38 2586 y(.)-38 2599 y(.)-38 2612 y(.)-38 +2625 y(.)-38 2638 y(.)-38 2651 y(.)-38 2664 y(.)-38 2677 +y(.)-38 2690 y(.)-38 2703 y(.)-38 2716 y(.)-38 2729 y(.)-38 +2742 y(.)-38 2755 y(.)-38 2768 y(.)-38 2781 y(.)-38 2794 +y(.)-38 2807 y(.)-38 2820 y(.)-38 2832 y(.)-38 2845 y(.)-38 +2858 y(.)-38 2871 y(.)-38 2884 y(.)-38 2897 y(.)-38 2910 +y(.)-38 2923 y(.)-38 2936 y(.)0 432 y Fw(sp)q(ecialized)15 +b(v)o(ector)f(whose)h(elemen)o(ts)e(are)i(of)e(t)o(yp)q(e)h +Fs(string-char)p Fw(.)-33 443 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 484 a(X3J13)i(v)o(oted)h(in)g(Marc)o(h)g(1989)f +Ft(h)p Fw(11)p Ft(i)h Fw(to)f(eliminate)f(the)j(t)o(yp)q(e)f +Fs(string-char)e Fw(and)-33 455 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 535 a(to)e(rede\014ne)i(the)f(t)o(yp)q(e)f +Fs(string)f Fw(to)h(b)q(e)h(the)g(union)f(of)f(one)i(or)f(more)f(sp)q +(ecialized)i(v)o(ector)0 587 y(t)o(yp)q(es,)g(the)f(t)o(yp)q(es)h(of)e +(whose)i(elemen)o(ts)f(are)g(subt)o(yp)q(es)i(of)d(the)h(t)o(yp)q(e)h +Fs(character)p Fw(.)i(Sub-)0 639 y(t)o(yp)q(es)j(of)f +Fs(string)f Fw(include)i Fs(simple-string)p Fw(,)d Fs(base-string)p +Fw(,)h(and)h Fs(simple-base-)0 691 y(string)p Fw(.)0 +756 y Fs(base-string)h Ft(\021)i Fs(\(vector)f(base-character\))0 +807 y(simple-base-strin)o(g)e Ft(\021)k Fs(\(simple-array)c +(base-character)h(\(*\)\))0 892 y Fw(An)14 b(implemen)o(tation)d(ma)o +(y)i(supp)q(ort)i(other)g(string)f(subt)o(yp)q(es)i(as)e(w)o(ell.)19 +b(All)13 b(Common)0 944 y(Lisp)i(functions)f(that)h(op)q(erate)h(on)e +(strings)h(treat)h(all)d(strings)i(uniformly;)d(note,)j(ho)o(w-)0 +996 y(ev)o(er,)e(that)f(it)g(is)g(an)g(error)h(to)f(attempt)f(to)h +(insert)h(an)f(extended)h(c)o(haracter)h(in)o(to)d(a)h(base)0 +1048 y(string.)-33 1060 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1284 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 37 61 +37 60 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(D)o(A)m(T)m(A)12 +b(TYPES)1124 b(37)42 295 y Fw(The)14 b(t)o(yp)q(e)g Fs(string)f +Fw(is)h(therefore)h(a)f(subt)o(yp)q(e)g(of)g(the)g(t)o(yp)q(e)h +Fs(vector)p Fw(.)42 347 y(A)10 b(string)g(can)g(b)q(e)g(written)h(as)f +(the)h(sequence)h(of)d(c)o(haracters)j(con)o(tained)e(in)g(the)g +(string,)0 399 y(preceded)16 b(and)d(follo)o(w)o(ed)f(b)o(y)i(a)f +Fs(")g Fw(\(double)h(quote\))g(c)o(haracter.)19 b(An)o(y)14 +b Fs(")f Fw(or)h Fs(\\)f Fw(c)o(haracter)0 451 y(in)g(the)i(sequence)h +(m)o(ust)d(additionally)e(ha)o(v)o(e)j(a)g Fs(\\)f Fw(c)o(haracter)i(b) +q(efore)g(it.)42 503 y(F)m(or)e(example:)0 595 y Fs("Foo")528 +b(;)p Fw(A)14 b(string)g(with)g(three)h(c)o(haracters)g(in)f(it)0 +646 y Fs("")592 b(;)p Fw(An)14 b(empt)o(y)f(string)0 +698 y Fs("\\"APL\\\\360?\\")18 b(he)j(cried.")104 b(;)p +Fw(A)14 b(string)g(with)g(t)o(w)o(en)o(t)o(y)g(c)o(haracters)0 +750 y Fs("|x|)108 746 y(U)108 754 y(U)151 750 y(|-x|")380 +b(;)p Fw(A)14 b(ten-c)o(haracter)i(string)0 841 y(Notice)f(that)f(an)o +(y)g(v)o(ertical)h(bar)f Fs(|)g Fw(in)g(a)h(string)f(need)i(not)e(b)q +(e)h(preceded)i(b)o(y)d(a)g Fs(\\)p Fw(.)20 b(Sim-)0 +893 y(ilarly)m(,)15 b(an)o(y)i(double)f(quote)h(in)g(the)g(name)f(of)g +(a)h(sym)o(b)q(ol)e(written)i(using)g(v)o(ertical-bar)0 +945 y(notation)h(need)i(not)e(b)q(e)i(preceded)g(b)o(y)f(a)f +Fs(\\)p Fw(.)33 b(The)19 b(double-quote)f(and)h(v)o(ertical-bar)0 +996 y(notations)d(are)g(similar)d(but)k(distinct:)22 +b(double)16 b(quotes)h(indicate)f(a)f(c)o(haracter)j(string)0 +1048 y(con)o(taining)11 b(the)h(sequence)i(of)d(c)o(haracters,)i +(whereas)g(v)o(ertical)f(bars)g(indicate)f(a)h(sym)o(b)q(ol)0 +1100 y(whose)i(name)f(is)h(the)g(con)o(tained)g(sequence)i(of)e(c)o +(haracters.)42 1153 y(The)k(c)o(haracters)h(con)o(tained)f(b)o(y)g(the) +g(double)g(quotes,)h(tak)o(en)f(from)e(left)i(to)g(righ)o(t,)0 +1205 y(o)q(ccup)o(y)13 b(lo)q(cations)e(within)h(the)h(string)f(with)g +(increasing)g(indices.)18 b(The)13 b(leftmost)e(c)o(har-)0 +1256 y(acter)k(is)e(string)h(elemen)o(t)f(n)o(um)o(b)q(er)g(0,)g(the)h +(next)g(one)g(is)f(elemen)o(t)g(n)o(um)o(b)q(er)g(1,)g(the)h(next)0 +1308 y(one)g(is)g(elemen)o(t)f(n)o(um)o(b)q(er)g(2,)g(and)h(so)g(on.)42 +1361 y(Note)k(that)g(the)g(function)g Fs(prin1)f Fw(will)f(prin)o(t)i +(an)o(y)f(c)o(haracter)i(v)o(ector)g(\(not)f(just)g(a)0 +1413 y(simple)13 b(one\))j(using)f(this)g(syn)o(tax,)f(but)i(the)f +(function)g Fs(read)f Fw(will)f(alw)o(a)o(ys)h(construct)j(a)0 +1465 y(simple)12 b(string)i(when)h(it)e(reads)i(this)f(syn)o(tax.)0 +1639 y Fo(2.5.3.)20 b(Bit-V)-5 b(ectors)0 1731 y Fw(A)17 +b(bit-v)o(ector)g(can)g(b)q(e)g(written)g(as)g(the)g(sequence)i(of)d +(bits)h(con)o(tained)g(in)f(the)h(string,)0 1783 y(preceded)i(b)o(y)d +Fs(#)236 1779 y(-)236 1787 y(-)258 1783 y(*)p Fw(;)h(an)o(y)f +(delimiter)f(c)o(haracter,)j(suc)o(h)f(as)g(whitespace,)g(will)e +(terminate)0 1835 y(the)f(bit-v)o(ector)h(syn)o(tax.)j(F)m(or)13 +b(example:)0 1926 y Fs(#)0 1922 y(-)0 1930 y(-)22 1926 +y(*10110)104 b(;)p Fw(A)14 b(\014v)o(e-bit)g(bit-v)o(ector;)g(bit)f(0)h +(is)g(a)f(1)0 1978 y Fs(#)0 1974 y(-)0 1982 y(-)22 1978 +y(*)211 b(;)p Fw(An)14 b(empt)o(y)f(bit-v)o(ector)0 2069 +y(The)i(bits)h(notated)f(follo)o(wing)d(the)k Fs(#)571 +2065 y(-)571 2073 y(-)593 2069 y(*)p Fw(,)e(tak)o(en)h(from)f(left)g +(to)h(righ)o(t,)g(o)q(ccup)o(y)g(lo)q(cations)0 2121 +y(within)k(the)i(bit-v)o(ector)f(with)g(increasing)g(indices.)37 +b(The)20 b(leftmost)f(notated)h(bit)g(is)0 2173 y(bit-v)o(ector)14 +b(elemen)o(t)g(n)o(um)o(b)q(er)f(0,)g(the)h(next)h(one)f(is)g(elemen)o +(t)f(n)o(um)o(b)q(er)g(1,)g(and)h(so)g(on.)42 2225 y(The)h(function)f +Fs(prin1)g Fw(will)f(prin)o(t)i(an)o(y)f(bit-v)o(ector)h(\(not)g(just)g +(a)g(simple)e(one\))i(using)0 2277 y(this)h(syn)o(tax,)g(but)h(the)f +(function)g Fs(read)f Fw(will)g(alw)o(a)o(ys)g(construct)j(a)e(simple)e +(bit-v)o(ector)0 2329 y(when)g(it)g(reads)h(this)f(syn)o(tax.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 38 62 +38 61 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(38)77 b(COMMON)13 +b(LISP)0 295 y Fo(2.6.)20 b(Hash)c(T)-5 b(ables)0 378 +y Fw(Hash)13 b(tables)f(pro)o(vide)h(an)f(e\016cien)o(t)h(w)o(a)o(y)f +(of)g(mapping)e(an)o(y)i(Lisp)g(ob)r(ject)h(\(a)g Fv(key)p +Fw(\))g(to)f(an)0 430 y(asso)q(ciated)j(ob)r(ject.)21 +b(They)15 b(are)g(pro)o(vided)f(as)h(primitiv)o(es)e(of)g(Common)f +(Lisp)i(b)q(ecause)0 482 y(some)g(implemen)o(tations)e(ma)o(y)h(need)j +(to)f(use)h(in)o(ternal)f(storage)g(managemen)o(t)e(strate-)0 +534 y(gies)g(that)f(w)o(ould)g(mak)o(e)f(it)h(v)o(ery)g(di\016cult)g +(for)g(the)h(user)h(to)e(implemen)o(t)e(hash)i(tables)h(in)0 +586 y(a)h(p)q(ortable)g(fashion.)j(Hash)d(tables)g(are)g(describ)q(ed)i +(in)e(c)o(hapter)g(16.)0 730 y Fo(2.7.)20 b(Readtables)0 +814 y Fw(A)12 b(readtable)g(is)g(a)g(data)f(structure)j(that)e(maps)f +(c)o(haracters)j(in)o(to)d(syn)o(tax)h(t)o(yp)q(es)h(for)e(the)0 +866 y(Lisp)i(expression)h(parser.)19 b(In)13 b(particular,)g(a)g +(readtable)g(indicates)h(for)f(eac)o(h)g(c)o(haracter)0 +918 y(with)d(syn)o(tax)g Fv(macr)n(o)i(char)n(acter)e +Fw(what)g(its)h(macro)e(de\014nition)h(is.)16 b(This)11 +b(is)f(a)g(mec)o(hanism)0 970 y(b)o(y)16 b(whic)o(h)f(the)i(user)g(ma)o +(y)d(reprogram)h(the)h(parser)h(to)f(a)f(limited)f(but)i(useful)g +(exten)o(t.)0 1022 y(See)f(section)f(22.1.5.)0 1166 y +Fo(2.8.)20 b(P)n(ac)n(k)m(ages)0 1250 y Fw(P)o(ac)o(k)n(ages)e(are)g +(collections)f(of)g(sym)o(b)q(ols)f(that)i(serv)o(e)h(as)f(name)e +(spaces.)31 b(The)18 b(parser)0 1302 y(recognizes)c(sym)o(b)q(ols)e(b)o +(y)h(lo)q(oking)e(up)i(c)o(haracter)i(sequences)g(in)e(the)g(curren)o +(t)i(pac)o(k)n(age.)0 1354 y(P)o(ac)o(k)n(ages)i(can)g(b)q(e)h(used)f +(to)g(hide)g(names)f(in)o(ternal)h(to)g(a)f(mo)q(dule)g(from)f(other)i +(co)q(de.)0 1405 y(Mec)o(hanisms)d(are)h(pro)o(vided)g(for)f(exp)q +(orting)h(sym)o(b)q(ols)e(from)g(a)h(giv)o(en)g(pac)o(k)n(age)h(to)f +(the)0 1457 y(primary)e(\\user")j(pac)o(k)n(age.)i(See)e(c)o(hapter)g +(11.)0 1602 y Fo(2.9.)20 b(P)n(athnames)0 1686 y Fw(P)o(athnames)12 +b(are)h(the)g(means)f(b)o(y)h(whic)o(h)f(a)h(Commo)o(n)d(Lisp)j +(program)e(can)i(in)o(terface)g(to)0 1737 y(an)h(external)h(\014le)f +(system)g(in)g(a)g(reasonably)g(implemen)o(tation-)o(indep)q(enden)o(t) +f(manner.)0 1789 y(See)i(section)f(23.1.1.)0 1934 y Fo(2.10.)20 +b(Streams)0 2017 y Fw(A)e(stream)f(is)g(a)g(source)i(or)f(sink)f(of)g +(data,)h(t)o(ypically)e(c)o(haracters)j(or)f(b)o(ytes.)30 +b(Nearly)0 2069 y(all)13 b(functions)i(that)f(p)q(erform)g(I/O)g(do)g +(so)g(with)g(resp)q(ect)j(to)d(a)g(sp)q(eci\014ed)i(stream.)j(The)0 +2121 y(function)d Fs(open)g Fw(tak)o(es)h(a)f(pathname)g(and)g(returns) +i(a)f(stream)f(connected)i(to)f(the)g(\014le)0 2173 y(sp)q(eci\014ed)e +(b)o(y)e(the)h(pathname.)j(There)d(are)g(a)f(n)o(um)o(b)q(er)g(of)g +(standard)h(streams)f(that)g(are)0 2225 y(used)i(b)o(y)e(default)h(for) +f(v)n(arious)h(purp)q(oses.)19 b(See)c(c)o(hapter)g(21.)42 +2277 y(X3J13)f(v)o(oted)g(in)h(Jan)o(uary)f(1989)g Ft(h)p +Fw(167)p Ft(i)g Fw(to)g(in)o(tro)q(duce)h(subt)o(yp)q(es)h(of)e(t)o(yp) +q(e)h Fs(stream)p Fw(:)-33 2249 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a Fs(broadcast-stream)p Fw(,)10 b +Fs(concatenated-stre)o(am)p Fw(,)g Fs(echo-stream)p Fw(,)h +Fs(synonym-stream)p Fw(,)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 39 63 +39 62 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(D)o(A)m(T)m(A)12 +b(TYPES)1124 b(39)0 295 y Fs(string-stream)p Fw(,)10 +b Fs(file-stream)p Fw(,)h(and)j Fs(two-way-stream)d Fw(are)j(disjoin)o +(t)e(subt)o(yp)q(es)j(of)0 347 y Fs(stream)p Fw(.)i(Note)d +(particularly)f(that)h(a)g(synon)o(ym)e(stream)i(is)f(alw)o(a)o(ys)g +(and)h(only)f(of)g(t)o(yp)q(e)0 399 y Fs(synonym-stream)p +Fw(,)g(regardless)18 b(of)d(the)i(t)o(yp)q(e)f(of)g(the)h(stream)e(for) +h(whic)o(h)g(it)g(is)g(a)g(syn-)0 450 y(on)o(ym.)-33 +462 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 604 a Fo(2.11.)k(Random-States)0 690 y +Fw(An)g(ob)r(ject)h(of)e(t)o(yp)q(e)i Fs(random-state)c +Fw(is)j(used)h(to)f(encapsulate)h(state)g(information)0 +742 y(used)c(b)o(y)e(the)h(pseudo-random)f(n)o(um)o(b)q(er)g +(generator.)24 b(F)m(or)15 b(more)g(information)e(ab)q(out)0 +794 y Fs(random-state)e Fw(ob)r(jects,)k(see)g(section)g(12.9.)0 +948 y Fo(2.12.)20 b(Structures)0 1034 y Fw(Structures)d(are)d +(instances)i(of)e(user-de\014ned)i(data)e(t)o(yp)q(es)i(that)e(ha)o(v)o +(e)g(a)h(\014xed)f(n)o(um)o(b)q(er)0 1086 y(of)h(named)g(comp)q(onen)o +(ts.)23 b(They)16 b(are)g(analogous)f(to)g(records)j(in)d(P)o(ascal.)24 +b(Structures)0 1138 y(are)12 b(declared)h(using)e(the)i +Fs(defstruct)c Fw(construct;)14 b Fs(defstruct)c Fw(automatically)e +(de\014nes)0 1190 y(access)16 b(and)d(constructor)j(functions)e(for)f +(the)i(new)f(data)g(t)o(yp)q(e.)42 1242 y(Di\013eren)o(t)20 +b(structures)j(ma)o(y)18 b(prin)o(t)i(out)g(in)g(di\013eren)o(t)h(w)o +(a)o(ys;)h(the)f(de\014nition)f(of)f(a)0 1294 y(structure)f(t)o(yp)q(e) +e(ma)o(y)d(sp)q(ecify)j(a)f(prin)o(t)h(pro)q(cedure)h(to)f(use)g(for)f +(ob)r(jects)i(of)e(that)g(t)o(yp)q(e)0 1346 y(\(see)k(the)e +Fs(:print-function)d Fw(option)j(to)g Fs(defstruct)p +Fw(\).)26 b(The)18 b(default)f(notation)f(for)0 1398 +y(structures)g(is)0 1484 y Fs(#)0 1480 y(-)0 1488 y(-)22 +1484 y(S\()p Fv(structur)n(e-name)169 1536 y(slot-name-1)22 +b(slot-value-1)169 1587 y(slot-name-2)g(slot-value-2)466 +1639 y Fs(...\))0 1725 y Fw(where)12 b Fs(#)117 1721 +y(-)117 1729 y(-)139 1725 y(S)f Fw(indicates)g(structure)i(syn)o(tax,)e +Fv(structur)n(e-name)g Fw(is)g(the)g(name)f(\(a)h(sym)o(b)q(ol\))e(of)0 +1777 y(the)i(structure)h(t)o(yp)q(e,)f(eac)o(h)f Fv(slot-name)g +Fw(is)g(the)h(name)d(\(also)i(a)g(sym)o(b)q(ol\))e(of)h(a)h(comp)q +(onen)o(t,)0 1829 y(and)15 b(eac)o(h)h(corresp)q(onding)g +Fv(slot-value)f Fw(is)g(the)h(represen)o(tation)h(of)e(the)h(Lisp)f(ob) +r(ject)h(in)0 1881 y(that)e(slot.)0 2035 y Fo(2.13.)20 +b(F)-5 b(unctions)42 2121 y Fw(A)11 b Fv(function)h Fw(is)f(an)o +(ything)f(that)h(ma)o(y)f(b)q(e)i(correctly)g(giv)o(en)f(to)g(the)h +Fs(funcall)e Fw(or)h Fs(apply)-38 2096 y Fk(.)-38 2109 +y(.)-38 2122 y(.)-38 2135 y(.)-38 2148 y(.)-38 2161 y(.)-38 +2174 y(.)-38 2187 y(.)-38 2200 y(.)-38 2213 y(.)-38 2226 +y(.)-38 2239 y(.)-38 2252 y(.)-38 2265 y(.)-38 2278 y(.)-38 +2291 y(.)-38 2304 y(.)-38 2317 y(.)-38 2329 y(.)-38 2342 +y(.)-38 2355 y(.)-38 2368 y(.)-38 2381 y(.)-38 2394 y(.)-38 +2407 y(.)-38 2420 y(.)-38 2433 y(.)-38 2446 y(.)-38 2459 +y(.)-38 2472 y(.)-38 2485 y(.)-38 2498 y(.)-38 2511 y(.)-38 +2524 y(.)-38 2537 y(.)-38 2550 y(.)-38 2563 y(.)-38 2576 +y(.)-38 2589 y(.)-38 2602 y(.)-38 2615 y(.)-38 2628 y(.)-38 +2641 y(.)-38 2654 y(.)-38 2667 y(.)-38 2680 y(.)-38 2693 +y(.)-38 2706 y(.)-38 2719 y(.)-38 2732 y(.)-38 2745 y(.)-38 +2758 y(.)-38 2771 y(.)-38 2784 y(.)-38 2796 y(.)-38 2809 +y(.)-38 2822 y(.)-38 2835 y(.)-38 2848 y(.)-38 2861 y(.)-38 +2874 y(.)-38 2887 y(.)-38 2900 y(.)-38 2913 y(.)-38 2926 +y(.)-38 2939 y(.)-38 2952 y(.)-38 2965 y(.)-38 2978 y(.)-38 +2991 y(.)-38 3004 y(.)-38 3017 y(.)-38 3030 y(.)-38 3043 +y(.)-38 3056 y(.)-38 3069 y(.)-38 3082 y(.)-38 3095 y(.)-38 +3108 y(.)-38 3121 y(.)-38 3134 y(.)-38 3147 y(.)-38 3160 +y(.)-38 3173 y(.)-38 3186 y(.)-38 3199 y(.)-38 3212 y(.)-38 +3225 y(.)-38 3238 y(.)-38 3251 y(.)-38 3263 y(.)-38 3276 +y(.)-38 3289 y(.)-38 3302 y(.)-38 3315 y(.)-38 3328 y(.)-38 +3341 y(.)-38 3354 y(.)-38 3367 y(.)-38 3380 y(.)-38 3393 +y(.)-38 3406 y(.)-38 3419 y(.)-38 3432 y(.)-38 3445 y(.)-38 +3458 y(.)-38 3471 y(.)-38 3484 y(.)-38 3497 y(.)-38 3510 +y(.)-38 3523 y(.)-38 3536 y(.)-38 3549 y(.)-38 3562 y(.)-38 +3575 y(.)-38 3588 y(.)-38 3601 y(.)-38 3614 y(.)-38 3627 +y(.)-38 3640 y(.)-38 3653 y(.)-38 3666 y(.)-38 3679 y(.)-38 +3692 y(.)-38 3705 y(.)-38 3718 y(.)-38 3730 y(.)-38 3743 +y(.)-38 3756 y(.)-38 3769 y(.)-38 3782 y(.)-38 3795 y(.)-38 +3808 y(.)-38 3821 y(.)-38 3834 y(.)-38 3847 y(.)-38 3860 +y(.)-38 3873 y(.)-38 3886 y(.)-38 3899 y(.)-38 3912 y(.)-38 +3925 y(.)-38 3938 y(.)-38 3951 y(.)-38 3964 y(.)-38 3977 +y(.)-38 3990 y(.)-38 4003 y(.)-38 4016 y(.)-38 4029 y(.)-38 +4042 y(.)-38 4055 y(.)-38 4068 y(.)-38 4081 y(.)-38 4094 +y(.)-38 4107 y(.)-38 4120 y(.)-38 4133 y(.)-38 4146 y(.)-38 +4159 y(.)-38 4172 y(.)-38 4185 y(.)-38 4197 y(.)-38 4210 +y(.)-38 4223 y(.)-38 4236 y(.)-38 4249 y(.)-38 4262 y(.)-38 +4275 y(.)-38 4288 y(.)-38 4301 y(.)-38 4314 y(.)-38 4327 +y(.)-38 4340 y(.)-38 4353 y(.)-38 4366 y(.)-38 4379 y(.)-38 +4392 y(.)-38 4405 y(.)-38 4418 y(.)-38 4431 y(.)-38 4444 +y(.)-38 4457 y(.)-38 4470 y(.)-38 4483 y(.)-38 4496 y(.)-38 +4509 y(.)-38 4522 y(.)-38 4535 y(.)-38 4548 y(.)-38 4561 +y(.)-38 4574 y(.)-38 4587 y(.)-38 4600 y(.)-38 4613 y(.)-38 +4626 y(.)-38 4639 y(.)-38 4652 y(.)-38 4664 y(.)-38 4677 +y(.)0 2173 y Fw(function,)i(and)h(is)g(to)f(b)q(e)i(executed)h(as)e(co) +q(de)g(when)h(argumen)o(ts)e(are)h(supplied.)42 2225 +y(A)f Fv(c)n(ompile)n(d-function)i Fw(is)e(a)h(compiled)e(co)q(de)j(ob) +r(ject.)42 2277 y(A)f(lam)o(b)q(da-expression)e(\(a)i(list)g(whose)g +Fv(c)n(ar)g Fw(is)g(the)g(sym)o(b)q(ol)f Fs(lambda)p +Fw(\))f(ma)o(y)g(serv)o(e)k(as)0 2329 y(a)g(function.)26 +b(Dep)q(ending)16 b(on)h(the)g(implem)o(en)o(tation,)d(it)i(ma)o(y)e(b) +q(e)j(p)q(ossible)g(for)f(other)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 40 64 +40 63 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(40)77 b(COMMON)13 b(LISP)0 295 y Fw(lists)i(to)g(serv)o(e)i +(as)e(functions.)22 b(F)m(or)15 b(example,)f(an)h(implemen)o(tatio)o(n) +e(migh)o(t)g(c)o(ho)q(ose)j(to)0 347 y(represen)o(t)f(a)d(\\lexical)g +(closure")h(as)g(a)f(list)g(whose)i Fv(c)n(ar)e Fw(con)o(tains)g(some)g +(sp)q(ecial)h(mark)o(er.)42 399 y(A)18 b(sym)o(b)q(ol)f(ma)o(y)g(serv)o +(e)j(as)e(a)h(function;)h(an)e(attempt)g(to)g(in)o(v)o(ok)o(e)g(a)h +(sym)o(b)q(ol)d(as)j(a)0 451 y(function)f(causes)i(the)g(con)o(ten)o +(ts)f(of)f(the)h(sym)o(b)q(ol's)e(function)h(cell)h(to)f(b)q(e)i(used.) +33 b(See)0 503 y Fs(symbol-function)11 b Fw(and)i Fs(defun)p +Fw(.)42 555 y(The)g(result)g(of)f(ev)n(aluating)g(a)g +Fs(function)f Fw(sp)q(ecial)j(form)d(will)g(alw)o(a)o(ys)h(b)q(e)h(a)f +(function.)-33 567 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 608 a(X3J13)19 b(v)o(oted)g(in)g(June)h(1988)e +Ft(h)p Fw(90)p Ft(i)i Fw(to)f(revise)h(these)h(sp)q(eci\014cations.)35 +b(The)20 b(t)o(yp)q(e)-33 579 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 660 a Fs(function)c Fw(is)i(to)g(b)q(e)h(disjoin)o(t)e +(from)f Fs(cons)i Fw(and)g Fs(symbol)p Fw(,)f(and)h(so)g(a)g(list)f +(whose)i Fv(c)n(ar)0 711 y Fw(is)f Fs(lambda)g Fw(is)g(not,)h(prop)q +(erly)g(sp)q(eaking,)g(of)f(t)o(yp)q(e)h Fs(function)p +Fw(,)e(nor)i(is)f(an)o(y)g(sym)o(b)q(ol.)0 763 y(Ho)o(w)o(ev)o(er,)13 +b(standard)h(Comm)o(on)c(Lisp)j(functions)g(that)g(accept)h(functional) +e(argumen)o(ts)0 815 y(will)i(accept)j(a)e(sym)o(b)q(ol)f(or)i(a)f +(list)g(whose)i Fv(c)n(ar)e Fw(is)g Fs(lambda)g Fw(and)g(automatically) +e(co)q(erce)0 867 y(it)19 b(to)h(b)q(e)g(a)f(function;)j(suc)o(h)f +(standard)f(functions)f(include)h Fs(funcall)p Fw(,)f +Fs(apply)p Fw(,)h(and)0 919 y Fs(mapcar)p Fw(.)31 b(Suc)o(h)19 +b(functions)f(do)g(not,)i(ho)o(w)o(ev)o(er,)f(accept)h(a)e(lam)o(b)q +(da-expression)f(as)i(a)0 971 y(functional)13 b(argumen)o(t;)f +(therefore)k(one)e(ma)o(y)e(not)h(write)0 1036 y Fs(\(mapcar)171 +1040 y Fn(')195 1036 y Fs(\(lambda)20 b(\(x)g(y\))h(\(sqrt)f(\(*)h(x)g +(y\)\)\))f(p)h(q\))0 1125 y Fw(but)14 b(instead)g(one)g(m)o(ust)f +(write)h(something)f(lik)o(e)0 1216 y Fs(\(mapcar)20 +b(#)174 1212 y(-)174 1220 y(-)m Fn(')217 1216 y Fs(\(lambda)f(\(x)i +(y\))g(\(sqrt)f(\(*)h(x)g(y\)\)\))f(p)h(q\))42 1306 y +Fw(This)15 b(c)o(hange)h(mak)o(es)e(it)i(imp)q(ermissible)d(to)i +(represen)o(t)j(a)d(lexical)g(closure)h(as)g(a)f(list)0 +1357 y(whose)f Fv(c)n(ar)g Fw(is)g(some)f(sp)q(ecial)h(mark)o(er.)42 +1410 y(The)g(v)n(alue)f(of)g(a)h Fs(function)e Fw(sp)q(ecial)i(form)e +(will)h(alw)o(a)o(ys)g(b)q(e)h(of)f(t)o(yp)q(e)i Fs(function)p +Fw(.)-33 1422 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1581 a Fo(2.14.)20 b(Unreadable)15 b(Data)g(Ob)s(jects)0 +1673 y Fw(Some)k(ob)r(jects)h(ma)o(y)e(prin)o(t)i(in)f(implemen)o +(tation-dep)q(enden)o(t)f(w)o(a)o(ys.)35 b(Suc)o(h)21 +b(ob)r(jects)0 1724 y(cannot)e(necessarily)h(b)q(e)g(reliably)e +(reconstructed)k(from)17 b(a)i(prin)o(ted)h(represen)o(tation,)0 +1776 y(and)c(so)g(they)g(are)h(usually)e(prin)o(ted)h(in)g(a)g(format)e +(informativ)o(e)f(to)j(the)h(user)g(but)f(not)0 1828 +y(acceptable)e(to)f(the)h Fs(read)f Fw(function:)k Fs(#)602 +1824 y(-)602 1832 y(-)624 1828 y(<)p Fv(useful)d(information)p +Fs(>)p Fw(.)j(The)d(Lisp)f(reader)h(will)0 1880 y(signal)f(an)g(error)i +(on)f(encoun)o(tering)h Fs(#)581 1876 y(-)581 1884 y(-)602 +1880 y(<)p Fw(.)42 1933 y(As)f(a)f(h)o(yp)q(othetical)h(example,)e(an)i +(implemen)o(tatio)o(n)d(migh)o(t)h(prin)o(t)0 2023 y +Fs(#)0 2019 y(-)0 2027 y(-)22 2023 y()0 2113 +y Fw(for)25 b(an)g(implemen)o(tation-sp)q(eci\014c)e(\\in)o(ternal)i +(stac)o(k)h(p)q(oin)o(ter")f(data)g(t)o(yp)q(e)h(whose)0 +2165 y(prin)o(ted)12 b(represen)o(tation)i(includes)e(the)g(name)f(of)g +(the)i(t)o(yp)q(e,)f(some)f(information)e(ab)q(out)0 +2216 y(the)k(stac)o(k)g(slot)f(p)q(oin)o(ted)g(to,)g(and)g(the)h(mac)o +(hine)e(address)j(\(in)e(o)q(ctal\))g(of)g(the)h(stac)o(k)f(slot.)42 +2269 y(See)20 b Fs(print-unreadable)o(-obj)o(ect)p Fw(,)d(a)i(macro)f +(that)h(prin)o(ts)g(an)g(ob)r(ject)h(using)f Fs(#)1351 +2265 y(-)1351 2273 y(-)1373 2269 y(<)-33 2240 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2321 a Fw(syn)o(tax.)-33 2332 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 12 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 41 65 +41 64 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(D)o(A)m(T)m(A)12 +b(TYPES)1124 b(41)0 295 y Fo(2.15.)20 b(Ov)n(erlap,)14 +b(Inclusion,)g(and)i(Disjoin)n(tness)e(of)h(T)n(yp)r(es)0 +389 y Fw(The)j(Comm)o(on)c(Lisp)j(data)g(t)o(yp)q(e)h(hierarc)o(h)o(y)f +(is)g(tangled)g(and)g(purp)q(osely)h(left)f(some-)0 441 +y(what)c(op)q(en-ended)i(so)f(that)f(implemen)o(tors)f(ma)o(y)f(exp)q +(erimen)o(t)j(with)f(new)h(data)f(t)o(yp)q(es)0 493 y(as)k(extensions)i +(to)e(the)g(language.)27 b(This)17 b(section)h(explicitly)f(states)h +(all)e(the)i(de\014ned)0 545 y(relationships)e(b)q(et)o(w)o(een)i(t)o +(yp)q(es,)g(including)d(subt)o(yp)q(e/sup)q(ert)o(yp)q(e)k +(relationships,)e(dis-)0 597 y(join)o(tness,)d(and)g(exhaustiv)o(e)g +(partitioning.)j(The)e(user)g(of)e(Common)e(Lisp)j(should)g(not)0 +648 y(dep)q(end)h(on)e(an)o(y)g(relationships)g(not)h(explicitly)e +(stated)i(here.)20 b(F)m(or)13 b(example,)e(it)i(is)h(not)0 +700 y(v)n(alid)f(to)h(assume)g(that)h(b)q(ecause)h(a)e(n)o(um)o(b)q(er) +g(is)g(not)h(complex)e(and)h(not)g(rational)g(that)0 +752 y(it)j(m)o(ust)g(b)q(e)h(a)g Fs(float)p Fw(,)f(b)q(ecause)i +(implemen)o(tations)c(are)j(p)q(ermitted)f(to)h(pro)o(vide)f(y)o(et)0 +804 y(other)e(kinds)e(of)h(n)o(um)o(b)q(ers.)42 857 y(First)h(w)o(e)h +(need)h(some)d(terminology)m(.)21 b(If)15 b Fv(x)h Fw(is)f(a)h(sup)q +(ert)o(yp)q(e)h(of)e Fv(y)p Fw(,)h(then)g(an)o(y)f(ob)r(ject)0 +909 y(of)f(t)o(yp)q(e)i Fv(y)f Fw(is)f(also)g(of)h(t)o(yp)q(e)g +Fv(x)p Fw(,)g(and)g Fv(y)g Fw(is)f(said)h(to)f(b)q(e)i(a)e(subt)o(yp)q +(e)i(of)f Fv(x)p Fw(.)21 b(If)14 b(t)o(yp)q(es)i Fv(x)f +Fw(and)0 961 y Fv(y)f Fw(are)f(disjoin)o(t,)g(then)h(no)f(ob)r(ject)h +(\(in)f(an)o(y)g(implemen)o(tation\))d(ma)o(y)i(b)q(e)i(b)q(oth)g(of)f +(t)o(yp)q(e)h Fv(x)0 1012 y Fw(and)g(of)f(t)o(yp)q(e)h +Fv(y)p Fw(.)k(T)o(yp)q(es)d Fv(a)416 1018 y Fk(1)448 +1012 y Fw(through)f Fv(a)626 1018 y Fi(n)661 1012 y Fw(are)g(an)g +Fv(exhaustive)h(union)g Fw(of)e(t)o(yp)q(e)h Fv(x)g Fw(if)f(eac)o(h)0 +1064 y Fv(a)21 1070 y Fg(j)53 1064 y Fw(is)h(a)g(subt)o(yp)q(e)h(of)f +Fv(x)p Fw(,)g(and)g(an)o(y)g(ob)r(ject)h(of)e(t)o(yp)q(e)i +Fv(x)f Fw(is)g(necessarily)i(of)d(at)h(least)h(one)f(of)0 +1116 y(the)e(t)o(yp)q(es)h Fv(a)198 1122 y Fi(j)211 1116 +y Fw(;)f Fv(a)256 1122 y Fk(1)287 1116 y Fw(through)g +Fv(a)463 1122 y Fi(n)496 1116 y Fw(are)g(furthermore)g(an)g +Fv(exhaustive)i(p)n(artition)d Fw(if)g(they)h(are)0 1168 +y(also)h(pairwise)h(disjoin)o(t.)0 1237 y Fu(.)42 1246 +y Fw(The)e(t)o(yp)q(e)g Fs(t)g Fw(is)g(a)g(sup)q(ert)o(yp)q(e)i(of)d +(ev)o(ery)i(t)o(yp)q(e)f(whatso)q(ev)o(er.)19 b(Ev)o(ery)12 +b(ob)r(ject)h(is)f(of)f(t)o(yp)q(e)42 1298 y Fs(t)p Fw(.)0 +1378 y Fu(.)42 1387 y Fw(The)k(t)o(yp)q(e)h Fs(nil)e +Fw(is)h(a)g(subt)o(yp)q(e)h(of)f(ev)o(ery)h(t)o(yp)q(e)g(whatso)q(ev)o +(er.)23 b(No)15 b(ob)r(ject)h(is)f(of)f(t)o(yp)q(e)42 +1439 y Fs(nil)p Fw(.)0 1507 y Fu(.)42 1516 y Fw(The)h(t)o(yp)q(es)h +Fs(cons)p Fw(,)e Fs(symbol)p Fw(,)f Fs(array)p Fw(,)h +Fs(number)p Fw(,)g(and)h Fs(character)e Fw(are)i(pairwise)g(dis-)-38 +1491 y Fk(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1750 y(.)-38 1763 y(.)-38 +1776 y(.)-38 1789 y(.)-38 1802 y(.)-38 1815 y(.)-38 1828 +y(.)-38 1841 y(.)-38 1854 y(.)-38 1867 y(.)-38 1880 y(.)-38 +1893 y(.)-38 1906 y(.)-38 1919 y(.)-38 1932 y(.)-38 1945 +y(.)-38 1958 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2217 y(.)-38 2230 y(.)-38 +2243 y(.)-38 2256 y(.)-38 2269 y(.)-38 2282 y(.)-38 2295 +y(.)-38 2308 y(.)-38 2321 y(.)-38 2334 y(.)-38 2347 y(.)-38 +2360 y(.)-38 2373 y(.)-38 2386 y(.)-38 2399 y(.)-38 2412 +y(.)-38 2425 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2684 y(.)-38 2697 y(.)-38 +2710 y(.)-38 2723 y(.)-38 2736 y(.)-38 2749 y(.)-38 2762 +y(.)-38 2775 y(.)-38 2788 y(.)-38 2801 y(.)-38 2814 y(.)-38 +2827 y(.)-38 2840 y(.)-38 2853 y(.)-38 2866 y(.)-38 2879 +y(.)-38 2892 y(.)-38 2905 y(.)-38 2918 y(.)-38 2931 y(.)-38 +2944 y(.)-38 2957 y(.)-38 2970 y(.)-38 2983 y(.)-38 2996 +y(.)-38 3009 y(.)-38 3022 y(.)-38 3035 y(.)-38 3048 y(.)-38 +3061 y(.)-38 3074 y(.)-38 3087 y(.)-38 3100 y(.)-38 3113 +y(.)-38 3126 y(.)-38 3139 y(.)-38 3151 y(.)-38 3164 y(.)-38 +3177 y(.)-38 3190 y(.)-38 3203 y(.)-38 3216 y(.)-38 3229 +y(.)-38 3242 y(.)-38 3255 y(.)-38 3268 y(.)-38 3281 y(.)-38 +3294 y(.)-38 3307 y(.)-38 3320 y(.)-38 3333 y(.)-38 3346 +y(.)-38 3359 y(.)-38 3372 y(.)-38 3385 y(.)-38 3398 y(.)-38 +3411 y(.)-38 3424 y(.)-38 3437 y(.)-38 3450 y(.)-38 3463 +y(.)-38 3476 y(.)-38 3489 y(.)-38 3502 y(.)-38 3515 y(.)-38 +3528 y(.)-38 3541 y(.)-38 3554 y(.)-38 3567 y(.)-38 3580 +y(.)-38 3593 y(.)-38 3606 y(.)-38 3618 y(.)-38 3631 y(.)-38 +3644 y(.)-38 3657 y(.)-38 3670 y(.)-38 3683 y(.)-38 3696 +y(.)-38 3709 y(.)-38 3722 y(.)-38 3735 y(.)-38 3748 y(.)-38 +3761 y(.)-38 3774 y(.)-38 3787 y(.)-38 3800 y(.)-38 3813 +y(.)-38 3826 y(.)-38 3839 y(.)-38 3852 y(.)-38 3865 y(.)-38 +3878 y(.)-38 3891 y(.)-38 3904 y(.)-38 3917 y(.)-38 3930 +y(.)-38 3943 y(.)-38 3956 y(.)-38 3969 y(.)-38 3982 y(.)-38 +3995 y(.)-38 4008 y(.)-38 4021 y(.)-38 4034 y(.)-38 4047 +y(.)-38 4060 y(.)-38 4072 y(.)42 1568 y Fw(join)o(t.)-33 +1580 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1646 a(X3J13)9 b(v)o(oted)h(in)f(June)i(1988)e +Ft(h)p Fw(41)p Ft(i)g Fw(to)h(extend)h(the)f(preceding)h(paragraph)f +(as)g(follo)o(ws.)-33 1617 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1714 a Fu(.)42 1723 y Fw(The)32 b(t)o(yp)q(es)h +Fs(cons)p Fw(,)h Fs(symbol)p Fw(,)h Fs(array)p Fw(,)g +Fs(number)p Fw(,)f Fs(character)p Fw(,)g Fs(hash-table)p +Fw(,)42 1775 y Fs(readtable)p Fw(,)19 b Fs(package)p +Fw(,)g Fs(pathname)p Fw(,)h Fs(stream)p Fw(,)f Fs(random-state)p +Fw(,)g(and)h(an)o(y)f(single)42 1827 y(other)14 b(t)o(yp)q(e)g(created) +i(b)o(y)d Fs(defstruct)f Fw(or)i Fs(defclass)e Fw(are)j(pairwise)f +(disjoin)o(t.)42 1905 y(The)f(w)o(ording)g(of)g(the)h(\014rst)g +(edition)f(w)o(as)g(in)o(tended)h(to)f(allo)o(w)f(implem)o(en)o(tors)g +(to)h(use)0 1957 y(the)k Fs(defstruct)e Fw(facilit)o(y)g(to)h(de\014ne) +i(the)f(built-in)f(t)o(yp)q(es)h Fs(hash-table)p Fw(,)e +Fs(readtable)p Fw(,)0 2009 y Fs(package)p Fw(,)9 b Fs(pathname)p +Fw(,)g Fs(stream)p Fw(,)h Fs(random-state)p Fw(.)k(The)d(c)o(hange)g +(still)e(p)q(ermits)h(this)h(im-)0 2061 y(plemen)o(tation)e(strategy)i +(but)g(forbids)g(these)h(built-in)d(t)o(yp)q(es)i(from)e(including,)h +(or)h(b)q(eing)0 2112 y(included)j(in,)f(other)i(t)o(yp)q(es)f(\(in)g +(the)g(sense)i(of)d(the)i Fs(defstruct)d(:include)g Fw(option\).)-33 +2124 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2165 a(X3J13)f(v)o(oted)h(in)f(June)i(1988)d +Ft(h)p Fw(90)p Ft(i)i Fw(to)f(sp)q(ecify)i(that)f(the)g(t)o(yp)q(e)g +Fs(function)e Fw(is)i(disjoin)o(t)-33 2137 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2217 a(from)19 b(the)i(t)o(yp)q(es)g Fs(cons)p +Fw(,)g Fs(symbol)p Fw(,)f Fs(array)p Fw(,)g Fs(number)p +Fw(,)h(and)f Fs(character)p Fw(.)35 b(The)21 b(t)o(yp)q(e)0 +2269 y Fs(compiled-function)14 b Fw(is)j(a)g(subt)o(yp)q(e)h(of)f +Fs(function)p Fw(;)g(implemen)o(tatio)o(ns)e(are)j(free)g(to)0 +2321 y(de\014ne)d(other)f(subt)o(yp)q(es)i(of)d Fs(function)p +Fw(.)-33 2332 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 12 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 42 66 +42 65 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(42)77 b(COMMON)13 b(LISP)0 286 y Fu(.)42 295 +y Fw(The)g(t)o(yp)q(es)h Fs(rational)p Fw(,)d Fs(float)p +Fw(,)h(and)h Fs(complex)e Fw(are)j(pairwise)f(disjoin)o(t)f(subt)o(yp)q +(es)i(of)-38 270 y Fk(.)-38 283 y(.)-38 296 y(.)-38 309 +y(.)-38 322 y(.)-38 335 y(.)-38 348 y(.)-38 361 y(.)-38 +373 y(.)-38 386 y(.)-38 399 y(.)-38 412 y(.)-38 425 y(.)-38 +438 y(.)-38 451 y(.)-38 464 y(.)-38 477 y(.)-38 490 y(.)-38 +503 y(.)-38 516 y(.)-38 529 y(.)-38 542 y(.)-38 555 y(.)-38 +568 y(.)-38 581 y(.)-38 594 y(.)-38 607 y(.)-38 620 y(.)-38 +633 y(.)-38 646 y(.)-38 659 y(.)-38 672 y(.)-38 685 y(.)-38 +698 y(.)-38 711 y(.)-38 724 y(.)-38 737 y(.)-38 750 y(.)-38 +763 y(.)-38 776 y(.)-38 789 y(.)-38 802 y(.)-38 815 y(.)-38 +828 y(.)-38 840 y(.)-38 853 y(.)-38 866 y(.)-38 879 y(.)-38 +892 y(.)-38 905 y(.)-38 918 y(.)-38 931 y(.)-38 944 y(.)-38 +957 y(.)-38 970 y(.)-38 983 y(.)-38 996 y(.)-38 1009 +y(.)-38 1022 y(.)-38 1035 y(.)-38 1048 y(.)-38 1061 y(.)-38 +1074 y(.)-38 1087 y(.)-38 1100 y(.)-38 1113 y(.)-38 1126 +y(.)-38 1139 y(.)-38 1152 y(.)-38 1165 y(.)-38 1178 y(.)-38 +1191 y(.)-38 1204 y(.)-38 1217 y(.)-38 1230 y(.)-38 1243 +y(.)-38 1256 y(.)-38 1269 y(.)-38 1282 y(.)-38 1295 y(.)-38 +1307 y(.)-38 1320 y(.)-38 1333 y(.)-38 1346 y(.)-38 1359 +y(.)-38 1372 y(.)-38 1385 y(.)-38 1398 y(.)-38 1411 y(.)-38 +1424 y(.)-38 1437 y(.)-38 1450 y(.)-38 1463 y(.)-38 1476 +y(.)-38 1489 y(.)-38 1502 y(.)-38 1515 y(.)-38 1528 y(.)-38 +1541 y(.)-38 1554 y(.)-38 1567 y(.)-38 1580 y(.)-38 1593 +y(.)-38 1606 y(.)-38 1619 y(.)-38 1632 y(.)-38 1645 y(.)-38 +1658 y(.)-38 1671 y(.)-38 1684 y(.)-38 1697 y(.)-38 1710 +y(.)-38 1723 y(.)-38 1736 y(.)-38 1749 y(.)-38 1762 y(.)-38 +1774 y(.)-38 1787 y(.)-38 1800 y(.)-38 1813 y(.)-38 1826 +y(.)-38 1839 y(.)-38 1852 y(.)-38 1865 y(.)-38 1878 y(.)-38 +1891 y(.)-38 1904 y(.)-38 1917 y(.)-38 1930 y(.)-38 1943 +y(.)-38 1956 y(.)-38 1969 y(.)-38 1982 y(.)-38 1995 y(.)-38 +2008 y(.)-38 2021 y(.)-38 2034 y(.)-38 2047 y(.)-38 2060 +y(.)-38 2073 y(.)-38 2086 y(.)-38 2099 y(.)-38 2112 y(.)-38 +2125 y(.)-38 2138 y(.)-38 2151 y(.)-38 2164 y(.)-38 2177 +y(.)-38 2190 y(.)-38 2203 y(.)-38 2216 y(.)-38 2229 y(.)-38 +2241 y(.)-38 2254 y(.)-38 2267 y(.)-38 2280 y(.)-38 2293 +y(.)-38 2306 y(.)-38 2319 y(.)-38 2332 y(.)-38 2345 y(.)-38 +2358 y(.)-38 2371 y(.)-38 2384 y(.)-38 2397 y(.)-38 2410 +y(.)-38 2423 y(.)-38 2436 y(.)-38 2449 y(.)-38 2462 y(.)-38 +2475 y(.)-38 2488 y(.)-38 2501 y(.)-38 2514 y(.)-38 2527 +y(.)-38 2540 y(.)-38 2553 y(.)-38 2566 y(.)-38 2579 y(.)-38 +2592 y(.)-38 2605 y(.)-38 2618 y(.)-38 2631 y(.)-38 2644 +y(.)-38 2657 y(.)-38 2670 y(.)-38 2683 y(.)-38 2696 y(.)-38 +2708 y(.)-38 2721 y(.)-38 2734 y(.)-38 2747 y(.)-38 2760 +y(.)-38 2773 y(.)-38 2786 y(.)-38 2799 y(.)-38 2812 y(.)-38 +2825 y(.)-38 2838 y(.)-38 2851 y(.)42 347 y Fs(number)p +Fw(.)-33 358 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 416 a(X3J13)f(v)o(oted)h(in)f(Marc)o(h)i(1989)d +Ft(h)p Fw(151)p Ft(i)i Fw(to)f(rewrite)i(the)g(preceding)f(item)f(as)h +(follo)o(ws.)-33 388 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 477 a Fu(.)42 486 y Fw(The)g(t)o(yp)q(es)h +Fs(real)e Fw(and)g Fs(complex)g Fw(are)h(pairwise)g(disjoin)o(t)f(subt) +o(yp)q(es)i(of)e Fs(number)p Fw(.)p 0 545 V 0 606 a Fm(Rationale:)k +FA(It)12 b(migh)o(t)h(b)q(e)f(though)o(t)i(that)e Fj(real)f +FA(and)h Fj(complex)e FA(should)k(form)e(an)h(exhaustiv)o(e)0 +651 y(partition)19 b(of)e(the)h(t)o(yp)q(e)f Fj(number)p +FA(.)28 b(This)18 b(is)g(purp)q(osely)h(a)o(v)o(oided)g(here)f(in)g +(order)f(to)h(p)q(ermit)0 697 y(compatible)d(exp)q(erimen)o(tation)h +(with)e(extensions)h(to)e(the)g(Common)g(Lisp)h(n)o(um)o(b)q(er)g +(system.)p 0 732 V 0 797 a Fu(.)42 806 y Fw(The)g(t)o(yp)q(es)h +Fs(rational)d Fw(and)i Fs(float)e Fw(are)j(pairwise)e(disjoin)o(t)g +(subt)o(yp)q(es)i(of)f Fs(real)p Fw(.)p 0 865 V 0 926 +a Fm(Rationale:)j FA(It)c(migh)o(t)h(b)q(e)f(though)o(t)i(that)e +Fj(rational)d FA(and)j Fj(float)e FA(should)k(form)e(an)h(exhaus-)0 +971 y(tiv)o(e)h(partition)i(of)e(the)g(t)o(yp)q(e)g Fj(real)p +FA(.)21 b(This)15 b(is)g(purp)q(osely)i(a)o(v)o(oided)g(here)e(in)h +(order)f(to)g(p)q(ermit)0 1017 y(compatible)g(exp)q(erimen)o(tation)h +(with)e(extensions)h(to)e(the)g(Common)g(Lisp)h(n)o(um)o(b)q(er)g +(system.)p 0 1052 V -33 1063 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1140 a Fu(.)42 1149 y Fw(The)g(t)o(yp)q(es)h +Fs(integer)d Fw(and)i Fs(ratio)f Fw(are)h(disjoin)o(t)f(subt)o(yp)q(es) +i(of)e Fs(rational)p Fw(.)p 0 1208 V 0 1269 a Fm(Rationale:)j +FA(It)10 b(migh)o(t)i(b)q(e)e(though)o(t)i(that)f Fj(integer)c +FA(and)12 b Fj(ratio)c FA(should)k(form)f(an)g(exhaustiv)o(e)0 +1314 y(partition)17 b(of)d(the)h(t)o(yp)q(e)g Fj(rational)p +FA(.)k(This)c(is)g(purp)q(osely)i(a)o(v)o(oided)g(here)e(in)g(order)g +(to)g(p)q(ermit)0 1360 y(compatible)h(exp)q(erimen)o(tation)h(with)e +(extensions)h(to)e(the)g(Common)h(Lisp)g(rational)h(n)o(um)o(b)q(er)0 +1406 y(system.)p 0 1440 V 0 1513 a Fu(.)42 1522 y Fw(The)e(t)o(yp)q(es) +h Fs(fixnum)d Fw(and)i Fs(bignum)f Fw(are)h(disjoin)o(t)f(subt)o(yp)q +(es)i(of)e Fs(integer)p Fw(.)-38 1497 y Fk(.)-38 1510 +y(.)-38 1523 y(.)-38 1536 y(.)-38 1549 y(.)-38 1562 y(.)-38 +1575 y(.)-38 1588 y(.)-38 1601 y(.)-38 1614 y(.)-38 1626 +y(.)-38 1639 y(.)-38 1652 y(.)-38 1665 y(.)-38 1678 y(.)-38 +1691 y(.)-38 1704 y(.)-38 1717 y(.)-38 1730 y(.)-38 1743 +y(.)-38 1756 y(.)-38 1769 y(.)-38 1782 y(.)-38 1795 y(.)-38 +1808 y(.)-38 1821 y(.)-38 1834 y(.)-38 1847 y(.)-38 1860 +y(.)-38 1873 y(.)-38 1886 y(.)-38 1899 y(.)-38 1912 y(.)-38 +1925 y(.)-38 1938 y(.)-38 1951 y(.)-38 1964 y(.)-38 1977 +y(.)-38 1990 y(.)-38 2003 y(.)-38 2016 y(.)-38 2029 y(.)-38 +2042 y(.)-38 2055 y(.)-38 2068 y(.)-38 2081 y(.)-38 2093 +y(.)-38 2106 y(.)-38 2119 y(.)-38 2132 y(.)-38 2145 y(.)-38 +2158 y(.)-38 2171 y(.)-38 2184 y(.)-38 2197 y(.)-38 2210 +y(.)-38 2223 y(.)-38 2236 y(.)-38 2249 y(.)-38 2262 y(.)-38 +2275 y(.)-38 2288 y(.)-38 2301 y(.)-38 2314 y(.)-38 2327 +y(.)-38 2340 y(.)-38 2353 y(.)-38 2366 y(.)-38 2379 y(.)-38 +2392 y(.)-38 2405 y(.)-38 2418 y(.)-38 2431 y(.)-38 2444 +y(.)-38 2457 y(.)-38 2470 y(.)-38 2483 y(.)-38 2496 y(.)-38 +2509 y(.)-38 2522 y(.)-38 2535 y(.)-38 2548 y(.)-38 2560 +y(.)-38 2573 y(.)-38 2586 y(.)-38 2599 y(.)-38 2612 y(.)-38 +2625 y(.)-38 2638 y(.)-38 2651 y(.)-38 2664 y(.)-38 2677 +y(.)-38 2690 y(.)-38 2703 y(.)-38 2716 y(.)-38 2729 y(.)-38 +2742 y(.)-38 2755 y(.)-38 2768 y(.)-38 2781 y(.)-38 2794 +y(.)-38 2807 y(.)-38 2820 y(.)-38 2833 y(.)-38 2846 y(.)-38 +2859 y(.)-38 2872 y(.)-38 2885 y(.)-38 2898 y(.)-38 2911 +y(.)-38 2924 y(.)-38 2937 y(.)-38 2950 y(.)-38 2963 y(.)-38 +2976 y(.)-38 2989 y(.)-38 3002 y(.)-38 3015 y(.)-38 3027 +y(.)-38 3040 y(.)-38 3053 y(.)-38 3066 y(.)-38 3079 y(.)-38 +3092 y(.)-38 3105 y(.)-38 3118 y(.)-38 3131 y(.)-38 3144 +y(.)-38 3157 y(.)-38 3170 y(.)-38 3183 y(.)-38 3196 y(.)-38 +3209 y(.)-38 3222 y(.)-38 3235 y(.)-38 3248 y(.)-38 3261 +y(.)-38 3274 y(.)-38 3287 y(.)-38 3300 y(.)-38 3313 y(.)-38 +3326 y(.)-38 3339 y(.)-38 3352 y(.)-38 3365 y(.)-38 3378 +y(.)-38 3391 y(.)-38 3404 y(.)-38 3417 y(.)-38 3430 y(.)-38 +3443 y(.)-38 3456 y(.)-38 3469 y(.)-38 3482 y(.)-38 3494 +y(.)-38 3507 y(.)-38 3520 y(.)-38 3533 y(.)-38 3546 y(.)-38 +3559 y(.)-38 3572 y(.)-38 3585 y(.)-38 3598 y(.)-38 3611 +y(.)-38 3624 y(.)-38 3637 y(.)-38 3650 y(.)-38 3663 y(.)-38 +3676 y(.)-38 3689 y(.)-38 3702 y(.)-38 3715 y(.)-38 3728 +y(.)-38 3741 y(.)-38 3754 y(.)-38 3767 y(.)-38 3780 y(.)-38 +3793 y(.)-38 3806 y(.)-38 3819 y(.)-38 3832 y(.)-38 3845 +y(.)-38 3858 y(.)-38 3871 y(.)-38 3884 y(.)-38 3897 y(.)-38 +3910 y(.)-38 3923 y(.)-38 3936 y(.)-38 3948 y(.)-38 3961 +y(.)-38 3974 y(.)-38 3987 y(.)-38 4000 y(.)-38 4013 y(.)-38 +4026 y(.)-38 4039 y(.)-38 4052 y(.)-38 4065 y(.)-38 4078 +y(.)p 0 1582 V 0 1642 a Fm(Rationale:)j FA(It)10 b(migh)o(t)i(b)q(e)e +(though)o(t)i(that)f Fj(fixnum)d FA(and)j Fj(bignum)d +FA(should)k(form)f(an)g(exhaustiv)o(e)0 1687 y(partition)18 +b(of)e(the)g(t)o(yp)q(e)g Fj(integer)p FA(.)23 b(This)17 +b(is)f(purp)q(osely)j(a)o(v)o(oided)e(here)g(in)f(order)h(to)f(p)q +(ermit)0 1733 y(compatible)i(exp)q(erimen)o(tation)h(with)d(extensions) +i(to)e(the)g(Common)g(Lisp)h(in)o(teger)g(n)o(um)o(b)q(er)0 +1779 y(system,)d(suc)o(h)g(as)g(the)g(idea)g(of)g(adding)h(explicit)h +(represen)o(tations)g(of)e(in\014nit)o(y)h(or)f(of)f(p)q(ositiv)o(e)0 +1824 y(and)h(negativ)o(e)g(in\014nit)o(y)m(.)p 0 1859 +V -33 1871 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1956 a Fw(X3J13)j(v)o(oted)h(in)g(Jan)o(uary)f(1989)g +Ft(h)p Fw(76)p Ft(i)h Fw(to)g(sp)q(ecify)g(that)g(the)h(t)o(yp)q(es)f +Fs(fixnum)f Fw(and)-33 1928 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2008 a Fs(bignum)g Fw(do)g(in)g(fact)h(form)e(an)i +(exhaustiv)o(e)g(partition)f(of)g(the)i(t)o(yp)q(e)f +Fs(integer)p Fw(;)g(more)0 2060 y(precisely)m(,)11 b(they)g(v)o(oted)f +(to)g(sp)q(ecify)g(that)h(the)f(t)o(yp)q(e)h Fs(bignum)e +Fw(is)h(b)o(y)g(de\014nition)f(equiv)n(alen)o(t)0 2112 +y(to)18 b Fs(\(and)i(integer)g(\(not)g(fixnum\)\))p Fw(.)30 +b(This)18 b(is)g(consisten)o(t)h(with)f(the)h(\014rst)g(edition)0 +2164 y(text)14 b(in)g(section)h(2.1.1.)42 2216 y(I)i(in)o(terpret)i +(this)f(to)f(mean)g(that)g(implemen)o(tators)e(could)j(still)f(exp)q +(erimen)o(t)g(with)0 2268 y(suc)o(h)10 b(extensions)h(as)e(adding)g +(explicit)g(represen)o(tations)j(of)c(in\014nit)o(y)m(,)h(but)h(suc)o +(h)g(in\014nities)0 2320 y(w)o(ould)j(necessarily)i(b)q(e)g(of)e(t)o +(yp)q(e)h Fs(bignum)p Fw(.)-33 2331 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 13 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 43 67 +43 66 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(D)o(A)m(T)m(A)12 +b(TYPES)1124 b(43)0 286 y Fu(.)42 295 y Fw(The)17 b(t)o(yp)q(es)h +Fs(short-float)p Fw(,)d Fs(single-float)p Fw(,)f Fs(double-float)p +Fw(,)h(and)i Fs(long-float)42 347 y Fw(are)11 b(subt)o(yp)q(es)h(of)f +Fs(float)p Fw(.)16 b(An)o(y)11 b(t)o(w)o(o)f(of)g(them)h(m)o(ust)f(b)q +(e)h(either)h(disjoin)o(t)e(or)h(iden)o(tical;)42 399 +y(if)h(iden)o(tical,)g(then)h(an)o(y)g(other)g(t)o(yp)q(es)h(b)q(et)o +(w)o(een)g(them)e(in)h(the)g(ab)q(o)o(v)o(e)g(ordering)g(m)o(ust)42 +450 y(also)i(b)q(e)i(iden)o(tical)e(to)h(them)g(\(for)g(example,)f(if)g +Fs(single-float)f Fw(and)i Fs(long-float)42 502 y Fw(are)e(iden)o +(tical)f(t)o(yp)q(es,)h(then)h Fs(double-float)c Fw(m)o(ust)i(b)q(e)i +(iden)o(tical)e(to)h(them)f(also\).)0 574 y Fu(.)42 583 +y Fw(The)g(t)o(yp)q(e)h Fs(null)e Fw(is)h(a)g(subt)o(yp)q(e)h(of)f +Fs(symbol)p Fw(;)e(the)j(only)e(ob)r(ject)i(of)f(t)o(yp)q(e)h +Fs(null)e Fw(is)h Fs(nil)p Fw(.)0 655 y Fu(.)42 664 y +Fw(The)h(t)o(yp)q(es)h Fs(cons)e Fw(and)g Fs(null)g Fw(form)f(an)i +(exhaustiv)o(e)g(partition)g(of)f(the)h(t)o(yp)q(e)h +Fs(list)p Fw(.)0 724 y Fu(.)42 733 y Fw(The)g(t)o(yp)q(e)h +Fs(standard-char)d Fw(is)i(a)h(subt)o(yp)q(e)g(of)f Fs(string-char)p +Fw(;)f Fs(string-char)f Fw(is)i(a)-38 708 y Fk(.)-38 +721 y(.)-38 734 y(.)-38 747 y(.)-38 760 y(.)-38 773 y(.)-38 +785 y(.)-38 798 y(.)-38 811 y(.)-38 824 y(.)-38 837 y(.)-38 +850 y(.)-38 863 y(.)-38 876 y(.)-38 889 y(.)-38 902 y(.)-38 +915 y(.)-38 928 y(.)-38 941 y(.)-38 954 y(.)-38 967 y(.)-38 +980 y(.)-38 993 y(.)-38 1006 y(.)-38 1019 y(.)-38 1032 +y(.)-38 1045 y(.)-38 1058 y(.)-38 1071 y(.)-38 1084 y(.)-38 +1097 y(.)-38 1110 y(.)-38 1123 y(.)-38 1136 y(.)-38 1149 +y(.)-38 1162 y(.)-38 1175 y(.)-38 1188 y(.)-38 1201 y(.)-38 +1214 y(.)-38 1227 y(.)-38 1240 y(.)-38 1252 y(.)-38 1265 +y(.)-38 1278 y(.)-38 1291 y(.)-38 1304 y(.)-38 1317 y(.)-38 +1330 y(.)-38 1343 y(.)-38 1356 y(.)-38 1369 y(.)-38 1382 +y(.)-38 1395 y(.)-38 1408 y(.)-38 1421 y(.)-38 1434 y(.)-38 +1447 y(.)-38 1460 y(.)-38 1473 y(.)-38 1486 y(.)-38 1499 +y(.)-38 1512 y(.)-38 1525 y(.)-38 1538 y(.)-38 1551 y(.)-38 +1564 y(.)-38 1577 y(.)-38 1590 y(.)-38 1603 y(.)-38 1616 +y(.)-38 1629 y(.)-38 1642 y(.)-38 1655 y(.)-38 1668 y(.)-38 +1681 y(.)-38 1694 y(.)-38 1707 y(.)-38 1719 y(.)-38 1732 +y(.)-38 1745 y(.)-38 1758 y(.)-38 1771 y(.)-38 1784 y(.)-38 +1797 y(.)-38 1810 y(.)-38 1823 y(.)-38 1836 y(.)-38 1849 +y(.)-38 1862 y(.)-38 1875 y(.)-38 1888 y(.)-38 1901 y(.)-38 +1914 y(.)-38 1927 y(.)-38 1940 y(.)-38 1953 y(.)-38 1966 +y(.)-38 1979 y(.)-38 1992 y(.)-38 2005 y(.)-38 2018 y(.)-38 +2031 y(.)-38 2044 y(.)-38 2057 y(.)-38 2070 y(.)-38 2083 +y(.)-38 2096 y(.)-38 2109 y(.)-38 2122 y(.)-38 2135 y(.)-38 +2148 y(.)-38 2161 y(.)-38 2174 y(.)-38 2186 y(.)-38 2199 +y(.)-38 2212 y(.)-38 2225 y(.)-38 2238 y(.)-38 2251 y(.)-38 +2264 y(.)-38 2277 y(.)-38 2290 y(.)-38 2303 y(.)-38 2316 +y(.)-38 2329 y(.)-38 2342 y(.)-38 2355 y(.)-38 2368 y(.)-38 +2381 y(.)-38 2394 y(.)-38 2407 y(.)-38 2420 y(.)-38 2433 +y(.)-38 2446 y(.)-38 2459 y(.)-38 2472 y(.)-38 2485 y(.)-38 +2498 y(.)-38 2511 y(.)-38 2524 y(.)-38 2537 y(.)-38 2550 +y(.)-38 2563 y(.)-38 2576 y(.)-38 2589 y(.)-38 2602 y(.)-38 +2615 y(.)-38 2628 y(.)-38 2641 y(.)-38 2653 y(.)-38 2666 +y(.)-38 2679 y(.)-38 2692 y(.)-38 2705 y(.)-38 2718 y(.)-38 +2731 y(.)-38 2744 y(.)-38 2757 y(.)-38 2770 y(.)-38 2783 +y(.)-38 2796 y(.)-38 2809 y(.)-38 2822 y(.)-38 2835 y(.)-38 +2848 y(.)-38 2861 y(.)-38 2874 y(.)-38 2887 y(.)-38 2900 +y(.)-38 2913 y(.)-38 2926 y(.)-38 2939 y(.)-38 2952 y(.)-38 +2965 y(.)-38 2978 y(.)-38 2991 y(.)-38 3004 y(.)-38 3017 +y(.)-38 3030 y(.)-38 3043 y(.)-38 3056 y(.)-38 3069 y(.)-38 +3082 y(.)-38 3095 y(.)-38 3108 y(.)-38 3120 y(.)-38 3133 +y(.)-38 3146 y(.)-38 3159 y(.)-38 3172 y(.)-38 3185 y(.)-38 +3198 y(.)-38 3211 y(.)-38 3224 y(.)-38 3237 y(.)-38 3250 +y(.)-38 3263 y(.)-38 3276 y(.)-38 3289 y(.)42 785 y Fw(subt)o(yp)q(e)f +(of)g Fs(character)p Fw(.)-33 796 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 853 a(X3J13)j(v)o(oted)h(in)f(Marc)o(h)h(1989)f +Ft(h)p Fw(11)p Ft(i)h Fw(to)f(remo)o(v)o(e)g(the)i(t)o(yp)q(e)f +Fs(string-char)p Fw(.)27 b(The)-33 825 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 905 a(preceding)15 b(item)d(is)i(replaced)h(b)o(y)f(the) +g(follo)o(wing.)0 964 y Fu(.)42 973 y Fw(The)21 b(t)o(yp)q(e)h +Fs(standard-char)d Fw(is)i(a)g(subt)o(yp)q(e)h(of)f Fs(base-character)p +Fw(.)37 b(The)22 b(t)o(yp)q(es)42 1025 y Fs(base-character)15 +b Fw(and)k Fs(extended-charac)o(ter)c Fw(form)i(an)i(exhaustiv)o(e)g +(partition)42 1077 y(of)13 b Fs(character)p Fw(.)-33 +1089 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1137 a Fu(.)42 1146 y Fw(The)23 b(t)o(yp)q(e)h +Fs(string)e Fw(is)h(a)h(subt)o(yp)q(e)g(of)f Fs(vector)p +Fw(,)h(for)f Fs(string)f Fw(means)g Fs(\(vector)-38 1121 +y Fk(.)-38 1134 y(.)-38 1147 y(.)-38 1160 y(.)-38 1173 +y(.)-38 1186 y(.)-38 1199 y(.)-38 1211 y(.)-38 1224 y(.)-38 +1237 y(.)-38 1250 y(.)-38 1263 y(.)-38 1276 y(.)-38 1289 +y(.)-38 1302 y(.)-38 1315 y(.)-38 1328 y(.)-38 1341 y(.)-38 +1354 y(.)-38 1367 y(.)-38 1380 y(.)-38 1393 y(.)-38 1406 +y(.)-38 1419 y(.)-38 1432 y(.)-38 1445 y(.)-38 1458 y(.)-38 +1471 y(.)-38 1484 y(.)-38 1497 y(.)-38 1510 y(.)-38 1523 +y(.)-38 1536 y(.)-38 1549 y(.)-38 1562 y(.)-38 1575 y(.)-38 +1588 y(.)-38 1601 y(.)-38 1614 y(.)-38 1627 y(.)-38 1640 +y(.)-38 1653 y(.)-38 1666 y(.)-38 1678 y(.)-38 1691 y(.)-38 +1704 y(.)-38 1717 y(.)-38 1730 y(.)-38 1743 y(.)-38 1756 +y(.)-38 1769 y(.)-38 1782 y(.)-38 1795 y(.)-38 1808 y(.)-38 +1821 y(.)-38 1834 y(.)-38 1847 y(.)-38 1860 y(.)-38 1873 +y(.)-38 1886 y(.)-38 1899 y(.)-38 1912 y(.)-38 1925 y(.)-38 +1938 y(.)-38 1951 y(.)-38 1964 y(.)-38 1977 y(.)-38 1990 +y(.)-38 2003 y(.)-38 2016 y(.)-38 2029 y(.)-38 2042 y(.)-38 +2055 y(.)-38 2068 y(.)-38 2081 y(.)-38 2094 y(.)-38 2107 +y(.)-38 2120 y(.)-38 2133 y(.)-38 2145 y(.)-38 2158 y(.)-38 +2171 y(.)-38 2184 y(.)-38 2197 y(.)-38 2210 y(.)-38 2223 +y(.)-38 2236 y(.)-38 2249 y(.)-38 2262 y(.)-38 2275 y(.)-38 +2288 y(.)-38 2301 y(.)-38 2314 y(.)-38 2327 y(.)-38 2340 +y(.)-38 2353 y(.)-38 2366 y(.)-38 2379 y(.)-38 2392 y(.)-38 +2405 y(.)-38 2418 y(.)-38 2431 y(.)-38 2444 y(.)-38 2457 +y(.)-38 2470 y(.)-38 2483 y(.)-38 2496 y(.)-38 2509 y(.)-38 +2522 y(.)-38 2535 y(.)-38 2548 y(.)-38 2561 y(.)-38 2574 +y(.)-38 2587 y(.)-38 2600 y(.)-38 2612 y(.)-38 2625 y(.)-38 +2638 y(.)-38 2651 y(.)-38 2664 y(.)-38 2677 y(.)-38 2690 +y(.)-38 2703 y(.)-38 2716 y(.)-38 2729 y(.)-38 2742 y(.)-38 +2755 y(.)-38 2768 y(.)-38 2781 y(.)-38 2794 y(.)-38 2807 +y(.)-38 2820 y(.)-38 2833 y(.)-38 2846 y(.)-38 2859 y(.)-38 +2872 y(.)-38 2885 y(.)-38 2898 y(.)-38 2911 y(.)-38 2924 +y(.)-38 2937 y(.)-38 2950 y(.)-38 2963 y(.)-38 2976 y(.)-38 +2989 y(.)-38 3002 y(.)-38 3015 y(.)-38 3028 y(.)-38 3041 +y(.)-38 3054 y(.)-38 3067 y(.)-38 3079 y(.)-38 3092 y(.)-38 +3105 y(.)-38 3118 y(.)-38 3131 y(.)-38 3144 y(.)-38 3157 +y(.)-38 3170 y(.)-38 3183 y(.)-38 3196 y(.)-38 3209 y(.)-38 +3222 y(.)-38 3235 y(.)-38 3248 y(.)-38 3261 y(.)-38 3274 +y(.)-38 3287 y(.)-38 3300 y(.)-38 3313 y(.)-38 3326 y(.)-38 +3339 y(.)-38 3352 y(.)-38 3365 y(.)-38 3378 y(.)-38 3391 +y(.)-38 3404 y(.)-38 3417 y(.)-38 3430 y(.)-38 3443 y(.)-38 +3456 y(.)-38 3469 y(.)-38 3482 y(.)-38 3495 y(.)-38 3508 +y(.)-38 3521 y(.)-38 3534 y(.)-38 3546 y(.)-38 3559 y(.)-38 +3572 y(.)-38 3585 y(.)-38 3598 y(.)-38 3611 y(.)-38 3624 +y(.)-38 3637 y(.)-38 3650 y(.)-38 3663 y(.)-38 3676 y(.)-38 +3689 y(.)-38 3702 y(.)42 1198 y Fs(string-char\))p Fw(.)-33 +1209 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1135 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 44 68 +44 67 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(44)77 b(COMMON)13 +b(LISP)42 295 y Fw(X3J13)k(v)o(oted)h(in)f(Marc)o(h)h(1989)f +Ft(h)p Fw(11)p Ft(i)h Fw(to)f(remo)o(v)o(e)g(the)i(t)o(yp)q(e)f +Fs(string-char)p Fw(.)27 b(The)-33 266 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(preceding)15 b(item)d(is)i(replaced)h(b)o(y)f(the) +g(follo)o(wing.)0 411 y Fu(.)42 420 y Fw(The)22 b(t)o(yp)q(e)h +Fs(string)e Fw(is)i(a)f(subt)o(yp)q(e)h(of)f Fs(vector)p +Fw(;)j(it)d(is)g(the)h(union)f(of)g(all)f(t)o(yp)q(es)42 +472 y Fs(\(vector)e Fv(c)p Fs(\))14 b Fw(suc)o(h)h(that)f +Fv(c)f Fw(is)h(a)g(subt)o(yp)q(e)h(of)e Fs(character)p +Fw(.)-33 483 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 536 a Fu(.)42 544 y Fw(The)23 b(t)o(yp)q(e)h +Fs(bit-vector)e Fw(is)h(a)g(subt)o(yp)q(e)i(of)e Fs(vector)p +Fw(,)h(for)f Fs(bit-vector)f Fw(means)42 596 y Fs(\(vector)d(bit\))p +Fw(.)0 673 y Fu(.)42 682 y Fw(The)14 b(t)o(yp)q(es)h +Fs(\(vector)k(t\))p Fw(,)13 b Fs(string)p Fw(,)f(and)i +Fs(bit-vector)e Fw(are)i(disjoin)o(t.)0 758 y Fu(.)42 +767 y Fw(The)h(t)o(yp)q(e)h Fs(vector)f Fw(is)g(a)g(subt)o(yp)q(e)h(of) +f Fs(array)p Fw(;)g(for)g(all)f(t)o(yp)q(es)j Fv(x)p +Fw(,)e(the)h(t)o(yp)q(e)g Fs(\(vector)42 819 y Fv(x)p +Fs(\))d Fw(is)h(the)h(same)e(as)h(the)g(t)o(yp)q(e)g +Fs(\(array)20 b Fv(x)i Fs(\(*\)\))p Fw(.)0 895 y Fu(.)42 +904 y Fw(The)14 b(t)o(yp)q(e)g Fs(simple-array)e Fw(is)h(a)h(subt)o(yp) +q(e)h(of)e Fs(array)p Fw(.)0 968 y Fu(.)42 977 y Fw(The)k(t)o(yp)q(es)h +Fs(simple-vector)p Fw(,)c Fs(simple-string)p Fw(,)h(and)i +Fs(simple-bit-vector)c Fw(are)-38 952 y Fk(.)-38 965 +y(.)-38 978 y(.)-38 991 y(.)-38 1004 y(.)-38 1017 y(.)-38 +1030 y(.)-38 1043 y(.)-38 1056 y(.)-38 1069 y(.)-38 1082 +y(.)-38 1094 y(.)-38 1107 y(.)-38 1120 y(.)-38 1133 y(.)-38 +1146 y(.)-38 1159 y(.)-38 1172 y(.)-38 1185 y(.)-38 1198 +y(.)-38 1211 y(.)-38 1224 y(.)-38 1237 y(.)-38 1250 y(.)-38 +1263 y(.)-38 1276 y(.)-38 1289 y(.)-38 1302 y(.)-38 1315 +y(.)-38 1328 y(.)-38 1341 y(.)-38 1354 y(.)-38 1367 y(.)-38 +1380 y(.)-38 1393 y(.)-38 1406 y(.)-38 1419 y(.)-38 1432 +y(.)-38 1445 y(.)-38 1458 y(.)-38 1471 y(.)-38 1484 y(.)-38 +1497 y(.)-38 1510 y(.)-38 1523 y(.)-38 1536 y(.)-38 1549 +y(.)-38 1561 y(.)-38 1574 y(.)-38 1587 y(.)-38 1600 y(.)-38 +1613 y(.)-38 1626 y(.)-38 1639 y(.)-38 1652 y(.)-38 1665 +y(.)-38 1678 y(.)-38 1691 y(.)-38 1704 y(.)-38 1717 y(.)-38 +1730 y(.)-38 1743 y(.)-38 1756 y(.)-38 1769 y(.)-38 1782 +y(.)-38 1795 y(.)-38 1808 y(.)-38 1821 y(.)-38 1834 y(.)-38 +1847 y(.)-38 1860 y(.)-38 1873 y(.)-38 1886 y(.)-38 1899 +y(.)-38 1912 y(.)-38 1925 y(.)-38 1938 y(.)-38 1951 y(.)-38 +1964 y(.)-38 1977 y(.)-38 1990 y(.)-38 2003 y(.)-38 2016 +y(.)-38 2028 y(.)-38 2041 y(.)-38 2054 y(.)-38 2067 y(.)-38 +2080 y(.)-38 2093 y(.)-38 2106 y(.)-38 2119 y(.)-38 2132 +y(.)-38 2145 y(.)-38 2158 y(.)-38 2171 y(.)-38 2184 y(.)-38 +2197 y(.)-38 2210 y(.)-38 2223 y(.)-38 2236 y(.)-38 2249 +y(.)-38 2262 y(.)-38 2275 y(.)-38 2288 y(.)-38 2301 y(.)-38 +2314 y(.)-38 2327 y(.)-38 2340 y(.)-38 2353 y(.)-38 2366 +y(.)-38 2379 y(.)-38 2392 y(.)-38 2405 y(.)-38 2418 y(.)-38 +2431 y(.)-38 2444 y(.)-38 2457 y(.)-38 2470 y(.)-38 2483 +y(.)-38 2495 y(.)-38 2508 y(.)-38 2521 y(.)-38 2534 y(.)-38 +2547 y(.)-38 2560 y(.)-38 2573 y(.)-38 2586 y(.)-38 2599 +y(.)-38 2612 y(.)-38 2625 y(.)-38 2638 y(.)-38 2651 y(.)-38 +2664 y(.)-38 2677 y(.)-38 2690 y(.)-38 2703 y(.)-38 2716 +y(.)-38 2729 y(.)-38 2742 y(.)-38 2755 y(.)-38 2768 y(.)-38 +2781 y(.)-38 2794 y(.)-38 2807 y(.)-38 2820 y(.)-38 2833 +y(.)-38 2846 y(.)-38 2859 y(.)-38 2872 y(.)-38 2885 y(.)-38 +2898 y(.)-38 2911 y(.)-38 2924 y(.)-38 2937 y(.)-38 2950 +y(.)-38 2962 y(.)-38 2975 y(.)-38 2988 y(.)-38 3001 y(.)-38 +3014 y(.)-38 3027 y(.)-38 3040 y(.)-38 3053 y(.)-38 3066 +y(.)-38 3079 y(.)-38 3092 y(.)-38 3105 y(.)-38 3118 y(.)-38 +3131 y(.)-38 3144 y(.)-38 3157 y(.)-38 3170 y(.)-38 3183 +y(.)-38 3196 y(.)-38 3209 y(.)-38 3222 y(.)-38 3235 y(.)-38 +3248 y(.)-38 3261 y(.)-38 3274 y(.)-38 3287 y(.)-38 3300 +y(.)-38 3313 y(.)-38 3326 y(.)-38 3339 y(.)-38 3352 y(.)-38 +3365 y(.)-38 3378 y(.)-38 3391 y(.)-38 3404 y(.)-38 3417 +y(.)-38 3429 y(.)-38 3442 y(.)-38 3455 y(.)-38 3468 y(.)-38 +3481 y(.)-38 3494 y(.)-38 3507 y(.)-38 3520 y(.)-38 3533 +y(.)42 1029 y Fw(disjoin)o(t)j(subt)o(yp)q(es)j(of)e +Fs(simple-array)p Fw(,)f(for)h(they)h(resp)q(ectiv)o(ely)h(mean)d +Fs(\(simple-)42 1081 y(array)k(t)h(\(*\)\))p Fw(,)g Fs(\(simple-array)e +(string-char)g(\(*\)\))p Fw(,)i(and)g Fs(\(simple-array)42 +1132 y(bit)f(\(*\)\))p Fw(.)-33 1144 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1206 a(X3J13)d(v)o(oted)h(in)f(Marc)o(h)h(1989)f +Ft(h)p Fw(11)p Ft(i)h Fw(to)f(remo)o(v)o(e)g(the)i(t)o(yp)q(e)f +Fs(string-char)p Fw(.)27 b(The)-33 1177 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1258 a(preceding)15 b(item)d(is)i(replaced)h(b)o(y)f +(the)g(follo)o(wing.)0 1322 y Fu(.)42 1331 y Fw(The)j(t)o(yp)q(es)h +Fs(simple-vector)p Fw(,)c Fs(simple-string)p Fw(,)h(and)i +Fs(simple-bit-vector)c Fw(are)42 1383 y(disjoin)o(t)d(subt)o(yp)q(es)j +(of)e Fs(simple-array)p Fw(,)f(for)h(they)h(mean)f Fs(\(simple-array)18 +b(t)j(\(*\)\))p Fw(,)42 1434 y(the)16 b(union)f(of)h(all)e(t)o(yp)q(es) +j Fs(\(simple-array)h Fv(c)k Fs(\(*\)\))15 b Fw(suc)o(h)h(that)g +Fv(c)g Fw(is)g(a)f(subt)o(yp)q(e)i(of)42 1486 y Fs(character)p +Fw(,)11 b(and)j Fs(\(simple-array)k(bit)j(\(*\)\))p Fw(,)12 +b(resp)q(ectiv)o(ely)m(.)-33 1498 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1550 a Fu(.)42 1559 y Fw(The)k(t)o(yp)q(e)g +Fs(simple-vector)d Fw(is)j(a)f(subt)o(yp)q(e)i(of)e Fs(vector)g +Fw(and)g(indeed)i(is)e(a)h(subt)o(yp)q(e)42 1611 y(of)d +Fs(\(vector)20 b(t\))p Fw(.)0 1687 y Fu(.)42 1696 y Fw(The)g(t)o(yp)q +(e)g Fs(simple-string)d Fw(is)j(a)g(subt)o(yp)q(e)g(of)g +Fs(string)p Fw(.)34 b(\(Note)21 b(that)f(although)42 +1748 y Fs(string)10 b Fw(is)h(a)g(subt)o(yp)q(e)h(of)f +Fs(vector)p Fw(,)f Fs(simple-string)f Fw(is)i(not)g(a)g(subt)o(yp)q(e)h +(of)f Fs(simple-)42 1800 y(vector)p Fw(.\))p 0 1860 V +0 1920 a Fm(Rationale:)16 b FA(The)10 b(h)o(yp)q(othetical)j(name)e +Fj(simple-ge)o(ne)o(ral)o(-v)o(ect)o(or)c FA(w)o(ould)k(ha)o(v)o(e)g(b) +q(een)f(more)0 1966 y(accurate)16 b(than)g Fj(simple-vect)o(or)o +FA(,)d(but)j(in)g(this)h(instance)g(euphon)o(y)g(and)f(user)g(con)o(v)o +(enience)0 2012 y(w)o(ere)11 b(deemed)i(more)e(imp)q(ortan)o(t)i(to)f +(the)g(design)h(of)e(Common)h(Lisp)g(than)h(a)e(rigid)j(symmetry)m(.)p +0 2050 V 0 2131 a Fu(.)42 2140 y Fw(The)20 b(t)o(yp)q(e)h +Fs(simple-bit-vector)c Fw(is)j(a)g(subt)o(yp)q(e)h(of)f +Fs(bit-vector)p Fw(.)35 b(\(Note)21 b(that)42 2192 y(although)12 +b Fs(bit-vector)f Fw(is)i(a)f(subt)o(yp)q(e)j(of)d Fs(vector)p +Fw(,)g Fs(simple-bit-vect)o(or)e Fw(is)j(not)g(a)42 2244 +y(subt)o(yp)q(e)h(of)g Fs(simple-vector)p Fw(.\))0 2320 +y Fu(.)42 2329 y Fw(The)g(t)o(yp)q(es)h Fs(vector)d Fw(and)i +Fs(list)f Fw(are)h(disjoin)o(t)f(subt)o(yp)q(es)i(of)f +Fs(sequence)p Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 45 69 +45 68 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(D)o(A)m(T)m(A)12 +b(TYPES)1124 b(45)0 286 y Fu(.)42 295 y Fw(The)20 b(t)o(yp)q(es)h +Fs(random-state)p Fw(,)d Fs(readtable)p Fw(,)h Fs(package)p +Fw(,)g Fs(pathname)p Fw(,)g Fs(stream)p Fw(,)h(and)42 +347 y Fs(hash-table)11 b Fw(are)k(pairwise)e(disjoin)o(t.)42 +415 y(X3J13)27 b(v)o(oted)g(in)g(June)h(1988)f Ft(h)p +Fw(41)p Ft(i)g Fw(to)g(mak)o(e)f Fs(random-state)p Fw(,)i +Fs(readtable)p Fw(,)-33 387 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 467 a Fs(package)p Fw(,)9 b Fs(pathname)p +Fw(,)g Fs(stream)p Fw(,)g(and)h Fs(hash-table)e Fw(pairwise)i(disjoin)o +(t)f(from)g(a)g(n)o(um)o(b)q(er)0 519 y(of)k(other)i(t)o(yp)q(es)g(as)f +(w)o(ell;)e(see)j(note)g(ab)q(o)o(v)o(e.)-33 531 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 571 a(X3J13)e(v)o(oted)h(in)g(Jan)o(uary)f(1989)g +Ft(h)p Fw(167)p Ft(i)h Fw(to)f(in)o(tro)q(duce)i(subt)o(yp)q(es)g(of)e +(t)o(yp)q(e)i Fs(stream)p Fw(.)-33 542 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 630 a Fu(.)42 639 y Fw(The)28 b(t)o(yp)q(es)g +Fs(two-way-stream)p Fw(,)g Fs(echo-stream)p Fw(,)g Fs(broadcast-stream) +p Fw(,)g Fs(file-)42 691 y(stream)p Fw(,)11 b Fs(synonym-stream)p +Fw(,)e Fs(string-stream)p Fw(,)g(and)k Fs(concatenated-str)o(eam)c +Fw(are)42 743 y(disjoin)o(t)j(subt)o(yp)q(es)k(of)d Fs(stream)p +Fw(.)-33 755 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 803 a Fu(.)42 812 y Fw(An)o(y)g(t)o(w)o(o)g(t)o(yp)q(es) +h(created)h(b)o(y)e Fs(defstruct)e Fw(are)j(disjoin)o(t)e(unless)i(one) +g(is)f(a)g(sup)q(ert)o(yp)q(e)42 863 y(of)g(the)h(other)h(b)o(y)e +(virtue)i(of)e(the)h Fs(:include)f Fw(option.)0 923 y +Fu(.)42 932 y Fw(An)20 b(exhaustiv)o(e)g(union)g(for)f(the)i(t)o(yp)q +(e)f Fs(common)f Fw(is)h(formed)f(b)o(y)h(the)g(t)o(yp)q(es)h +Fs(cons)p Fw(,)-38 907 y Fk(.)-38 920 y(.)-38 933 y(.)-38 +946 y(.)-38 959 y(.)-38 972 y(.)-38 985 y(.)-38 998 y(.)-38 +1011 y(.)-38 1024 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 +y(.)-38 1076 y(.)-38 1089 y(.)-38 1101 y(.)-38 1114 y(.)-38 +1127 y(.)-38 1140 y(.)-38 1153 y(.)-38 1166 y(.)-38 1179 +y(.)-38 1192 y(.)-38 1205 y(.)-38 1218 y(.)-38 1231 y(.)-38 +1244 y(.)-38 1257 y(.)-38 1270 y(.)-38 1283 y(.)-38 1296 +y(.)-38 1309 y(.)-38 1322 y(.)-38 1335 y(.)-38 1348 y(.)-38 +1361 y(.)-38 1374 y(.)-38 1387 y(.)-38 1400 y(.)-38 1413 +y(.)-38 1426 y(.)-38 1439 y(.)-38 1452 y(.)-38 1465 y(.)-38 +1478 y(.)-38 1491 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 +y(.)-38 1543 y(.)-38 1556 y(.)-38 1568 y(.)-38 1581 y(.)-38 +1594 y(.)-38 1607 y(.)-38 1620 y(.)-38 1633 y(.)-38 1646 +y(.)-38 1659 y(.)-38 1672 y(.)-38 1685 y(.)-38 1698 y(.)-38 +1711 y(.)-38 1724 y(.)-38 1737 y(.)-38 1750 y(.)-38 1763 +y(.)-38 1776 y(.)-38 1789 y(.)-38 1802 y(.)-38 1815 y(.)-38 +1828 y(.)-38 1841 y(.)-38 1854 y(.)-38 1867 y(.)-38 1880 +y(.)-38 1893 y(.)-38 1906 y(.)-38 1919 y(.)-38 1932 y(.)-38 +1945 y(.)-38 1958 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 +y(.)-38 2010 y(.)-38 2023 y(.)-38 2035 y(.)-38 2048 y(.)-38 +2061 y(.)-38 2074 y(.)-38 2087 y(.)-38 2100 y(.)-38 2113 +y(.)-38 2126 y(.)-38 2139 y(.)-38 2152 y(.)-38 2165 y(.)-38 +2178 y(.)-38 2191 y(.)-38 2204 y(.)-38 2217 y(.)-38 2230 +y(.)-38 2243 y(.)-38 2256 y(.)-38 2269 y(.)-38 2282 y(.)-38 +2295 y(.)-38 2308 y(.)-38 2321 y(.)-38 2334 y(.)-38 2347 +y(.)-38 2360 y(.)-38 2373 y(.)-38 2386 y(.)-38 2399 y(.)-38 +2412 y(.)-38 2425 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 +y(.)-38 2477 y(.)-38 2490 y(.)-38 2502 y(.)-38 2515 y(.)-38 +2528 y(.)-38 2541 y(.)-38 2554 y(.)-38 2567 y(.)-38 2580 +y(.)-38 2593 y(.)-38 2606 y(.)-38 2619 y(.)-38 2632 y(.)-38 +2645 y(.)-38 2658 y(.)-38 2671 y(.)-38 2684 y(.)-38 2697 +y(.)-38 2710 y(.)-38 2723 y(.)-38 2736 y(.)-38 2749 y(.)-38 +2762 y(.)-38 2775 y(.)-38 2788 y(.)-38 2801 y(.)-38 2814 +y(.)-38 2827 y(.)-38 2840 y(.)-38 2853 y(.)-38 2866 y(.)-38 +2879 y(.)-38 2892 y(.)-38 2905 y(.)-38 2918 y(.)-38 2931 +y(.)-38 2944 y(.)-38 2957 y(.)-38 2969 y(.)-38 2982 y(.)-38 +2995 y(.)-38 3008 y(.)-38 3021 y(.)-38 3034 y(.)-38 3047 +y(.)-38 3060 y(.)-38 3073 y(.)-38 3086 y(.)-38 3099 y(.)-38 +3112 y(.)-38 3125 y(.)-38 3138 y(.)-38 3151 y(.)-38 3164 +y(.)-38 3177 y(.)-38 3190 y(.)-38 3203 y(.)-38 3216 y(.)-38 +3229 y(.)-38 3242 y(.)-38 3255 y(.)-38 3268 y(.)-38 3281 +y(.)-38 3294 y(.)-38 3307 y(.)-38 3320 y(.)-38 3333 y(.)-38 +3346 y(.)-38 3359 y(.)-38 3372 y(.)-38 3385 y(.)-38 3398 +y(.)-38 3411 y(.)-38 3424 y(.)-38 3436 y(.)-38 3449 y(.)-38 +3462 y(.)-38 3475 y(.)-38 3488 y(.)42 984 y Fs(symbol)p +Fw(,)c Fs(\(array)j Fv(x)p Fs(\))e Fw(where)i Fv(x)e +Fw(is)g(either)i Fs(t)e Fw(or)g(a)g(subt)o(yp)q(e)h(of)f +Fs(common)p Fw(,)f Fs(string)p Fw(,)42 1036 y Fs(fixnum)p +Fw(,)28 b Fs(bignum)p Fw(,)g Fs(ratio)p Fw(,)h Fs(short-float)p +Fw(,)f Fs(single-float)p Fw(,)f Fs(double-float)p Fw(,)42 +1088 y Fs(long-float)p Fw(,)9 b Fs(\(complex)19 b Fv(x)p +Fs(\))11 b Fw(where)h Fv(x)g Fw(is)f(a)f(subt)o(yp)q(e)j(of)d +Fs(common)p Fw(,)g Fs(standard-char)p Fw(,)42 1139 y +Fs(hash-table)p Fw(,)h Fs(readtable)p Fw(,)h Fs(package)p +Fw(,)g Fs(pathname)p Fw(,)g Fs(stream)p Fw(,)g Fs(random-state)p +Fw(,)f(and)42 1191 y(all)i(t)o(yp)q(es)j(created)h(b)o(y)e(the)g(user)h +(via)f Fs(defstruct)p Fw(.)k(An)c(implemen)o(tation)d(ma)o(y)h(not)42 +1243 y(unilaterally)e(add)h(subt)o(yp)q(es)i(to)e Fs(common)p +Fw(;)f(ho)o(w)o(ev)o(er,)i(future)g(revisions)g(to)f(the)i(Com-)42 +1295 y(mon)8 b(Lisp)j(standard)g(ma)o(y)d(extend)k(the)f(de\014nition)f +(of)g(the)h Fs(common)f Fw(data)g(t)o(yp)q(e.)17 b(Note)42 +1347 y(that)9 b(a)g(t)o(yp)q(e)i(suc)o(h)f(as)g Fs(number)e +Fw(or)h Fs(array)g Fw(ma)o(y)f(or)h(ma)o(y)f(not)h(b)q(e)i(a)e(subt)o +(yp)q(e)h(of)f Fs(common)p Fw(,)42 1399 y(dep)q(ending)17 +b(on)f(whether)i(or)f(not)f(the)i(giv)o(en)e(implemen)o(tatio)o(n)e +(has)j(extended)h(the)42 1451 y(set)c(of)g(ob)r(jects)h(of)e(that)h(t)o +(yp)q(e.)-33 1462 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1519 a(X3J13)g(v)o(oted)g(in)g(Marc)o(h)h(1989)f +Ft(h)p Fw(17)p Ft(i)g Fw(to)h(remo)o(v)o(e)e(the)i(t)o(yp)q(e)g +Fs(common)f Fw(from)e(the)k(lan-)-33 1491 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1571 a(guage.)-33 1583 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 761 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 46 70 +46 69 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(3)p 0 448 598 9 +v 0 531 a Fp(Scop)r(e)30 b(and)g(Extent)0 890 y Fw(In)16 +b(describing)h(v)n(arious)e(features)j(of)d(the)i(Common)c(Lisp)j +(language,)g(the)g(notions)g(of)0 942 y Fv(sc)n(op)n(e)e +Fw(and)f Fv(extent)h Fw(are)g(frequen)o(tly)g(useful.)k(These)d +(notions)e(arise)h(when)g(some)f(ob)r(ject)0 993 y(or)h(construct)i(m)o +(ust)d(b)q(e)h(referred)i(to)e(from)e(some)h(distan)o(t)h(part)g(of)g +(a)f(program.)k Fv(Sc)n(op)n(e)0 1045 y Fw(refers)e(to)f(the)g(spatial) +f(or)h(textual)g(region)f(of)h(the)g(program)e(within)h(whic)o(h)h +(references)0 1097 y(ma)o(y)e(o)q(ccur.)20 b Fv(Extent)14 +b Fw(refers)h(to)f(the)h(in)o(terv)n(al)e(of)h(time)e(during)i(whic)o +(h)g(references)j(ma)o(y)0 1149 y(o)q(ccur.)42 1201 y(As)d(a)f(simple)g +(example,)f(consider)j(this)f(program:)0 1289 y Fs(\(defun)20 +b(copy-cell)f(\(x\))i(\(cons)f(\(car)g(x\))h(\(cdr)f(x\)\)\))0 +1376 y Fw(The)14 b(scop)q(e)g(of)e(the)i(parameter)f(named)f +Fs(x)h Fw(is)g(the)g(b)q(o)q(dy)g(of)g(the)h Fs(defun)e +Fw(form.)k(There)e(is)0 1428 y(no)e(w)o(a)o(y)f(to)h(refer)g(to)g(this) +g(parameter)g(from)e(an)o(y)h(other)i(place)f(but)g(within)f(the)h(b)q +(o)q(dy)g(of)0 1479 y(the)h Fs(defun)p Fw(.)k(Similarly)l(,)10 +b(the)j(exten)o(t)h(of)e(the)h(parameter)f Fs(x)h Fw(\(for)f(an)o(y)g +(particular)h(call)f(to)0 1531 y Fs(copy-cell)p Fw(\))h(is)i(the)g(in)o +(terv)n(al)f(from)f(the)i(time)f(the)h(function)g(is)f(in)o(v)o(ok)o +(ed)g(to)h(the)g(time)0 1583 y(it)f(is)h(exited.)21 b(\(In)14 +b(the)i(general)e(case,)i(the)f(exten)o(t)h(of)e(a)g(parameter)g(ma)o +(y)f(last)h(b)q(ey)o(ond)0 1635 y(the)g(time)f(of)g(function)h(exit,)f +(but)h(that)g(cannot)g(o)q(ccur)h(in)f(this)g(simple)e(case.\))42 +1687 y(Within)k(Common)f(Lisp,)j(a)g(referenceable)i(en)o(tit)o(y)e(is) +g Fv(establishe)n(d)f Fw(b)o(y)h(the)h(execu-)0 1739 +y(tion)c(of)h(some)f(language)g(construct,)i(and)f(the)g(scop)q(e)h +(and)f(exten)o(t)h(of)e(the)i(en)o(tit)o(y)e(are)0 1791 +y(describ)q(ed)f(relativ)o(e)f(to)f(the)h(construct)h(and)f(the)g(time) +e(\(during)h(execution)i(of)e(the)h(con-)0 1843 y(struct\))h(at)f(whic) +o(h)g(the)h(en)o(tit)o(y)e(is)h(established.)19 b(F)m(or)12 +b(the)i(purp)q(oses)g(of)f(this)g(discussion,)0 1895 +y(the)h(term)e(\\en)o(tit)o(y")g(refers)j(not)d(only)h(to)f(Common)e +(Lisp)j(data)f(ob)r(jects,)i(suc)o(h)g(as)f(sym-)0 1947 +y(b)q(ols)18 b(and)f(conses,)j(but)e(also)g(to)f(v)n(ariable)g +(bindings)g(\(b)q(oth)i(ordinary)e(and)h(sp)q(ecial\),)0 +1999 y(catc)o(hers,)c(and)e Fs(go)g Fw(targets.)18 b(It)12 +b(is)h(imp)q(ortan)o(t)d(to)i(distinguish)g(b)q(et)o(w)o(een)i(an)e(en) +o(tit)o(y)g(and)0 2050 y(a)i(name)e(for)i(the)g(en)o(tit)o(y)m(.)k(In)c +(a)f(function)h(de\014nition)f(suc)o(h)i(as)0 2138 y +Fs(\(defun)20 b(foo)g(\(x)h(y\))g(\(*)g(x)g(\(+)f(y)h(1\)\)\))0 +2225 y Fw(there)14 b(is)e(a)h(single)f(name,)f Fs(x)p +Fw(,)h(used)i(to)e(refer)i(to)f(the)g(\014rst)g(parameter)g(of)f(the)h +(pro)q(cedure)0 2277 y(whenev)o(er)g(it)e(is)h(in)o(v)o(ok)o(ed;)f(ho)o +(w)o(ev)o(er,)h(a)g(new)g(binding)f(is)g(established)i(on)e(ev)o(ery)i +(in)o(v)o(o)q(ca-)0 2329 y(tion.)k(A)11 b Fv(binding)h +Fw(is)g(a)f(particular)g(parameter)h(instance.)18 b(The)12 +b(v)n(alue)f(of)g(a)g(reference)j(to)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2428 a Fy(46)p eop +%%Page: 47 71 +47 70 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SCOPE)13 b(AND)f(EXTENT)977 +b(47)0 295 y Fw(the)14 b(name)e Fs(x)i Fw(dep)q(ends)h(not)e(only)g(on) +g(the)h(scop)q(e)h(within)e(whic)o(h)g(it)g(o)q(ccurs)i(\(the)f(one)g +(in)0 347 y(the)e(b)q(o)q(dy)g(of)f Fs(foo)g Fw(in)g(the)i(example)d(o) +q(ccurs)j(in)e(the)i(scop)q(e)f(of)g(the)g(function)f(de\014nition's)0 +399 y(parameters\))k(but)f(also)g(on)g(the)h(particular)g(binding)e(or) +h(instance)i(in)o(v)o(olv)o(ed.)i(\(In)d(this)0 450 y(case,)f(it)e(dep) +q(ends)j(on)d(the)i(in)o(v)o(o)q(cation)e(during)g(whic)o(h)h(the)g +(reference)j(is)d(made\).)j(More)0 502 y(complicated)d(examples)g(app)q +(ear)h(at)g(the)g(end)h(of)e(this)h(c)o(hapter.)42 556 +y(There)k(are)f(a)g(few)g(kinds)f(of)h(scop)q(e)h(and)f(exten)o(t)h +(that)f(are)g(particularly)f(useful)h(in)0 608 y(describing)d(Common)d +(Lisp:)0 695 y Fu(.)42 704 y Fv(L)n(exic)n(al)f(sc)n(op)n(e)p +Fw(.)17 b(Here)11 b(references)h(to)d(the)h(established)g(en)o(tit)o(y) +g(can)f(o)q(ccur)i(only)d(within)42 756 y(certain)18 +b(program)f(p)q(ortions)h(that)g(are)h(lexically)e(\(that)h(is,)h +(textually\))f(con)o(tained)42 807 y(within)13 b(the)i(establishing)f +(construct.)21 b(T)o(ypically)13 b(the)i(construct)h(will)c(ha)o(v)o(e) +j(a)f(part)42 859 y(designated)19 b(the)g Fv(b)n(o)n(dy)p +Fw(,)h(and)f(the)g(scop)q(e)h(of)e(all)f(en)o(tities)j(established)f +(will)e(b)q(e)j(\(or)42 911 y(include\))14 b(the)g(b)q(o)q(dy)m(.)42 +976 y(Example:)28 b(the)20 b(names)f(of)g(parameters)h(to)g(a)f +(function)h(normally)d(are)j(lexically)42 1027 y(scop)q(ed.)0 +1124 y Fu(.)42 1133 y Fv(Inde\014nite)15 b(sc)n(op)n(e)p +Fw(.)k(References)d(ma)o(y)c(o)q(ccur)j(an)o(ywhere,)f(in)f(an)o(y)h +(program.)0 1230 y Fu(.)42 1239 y Fv(Dynamic)g(extent)p +Fw(.)k(References)e(ma)o(y)11 b(o)q(ccur)j(at)f(an)o(y)f(time)g(in)h +(the)g(in)o(terv)n(al)f(b)q(et)o(w)o(een)42 1291 y(establishmen)o(t)i +(of)g(the)h(en)o(tit)o(y)g(and)g(the)g(explicit)g(disestablishmen)o(t)f +(of)g(the)i(en)o(tit)o(y)m(.)42 1343 y(As)i(a)f(rule,)h(the)g(en)o(tit) +o(y)g(is)f(disestablished)i(when)f(execution)g(of)f(the)h(establishing) +42 1395 y(construct)c(completes)e(or)g(is)g(otherwise)i(terminated.)i +(Therefore)e(en)o(tities)f(with)f(dy-)42 1447 y(namic)g(exten)o(t)j(ob) +q(ey)f(a)g(stac)o(k-lik)o(e)g(discipline,)f(paralleling)f(the)j(nested) +h(executions)42 1499 y(of)d(their)h(establishing)g(constructs.)42 +1563 y(Example:)19 b(the)c Fs(with-open-file)e Fw(construct)j(op)q(ens) +g(a)f(connection)h(to)f(a)g(\014le)g(and)42 1615 y(creates)20 +b(a)f(stream)f(ob)r(ject)i(to)e(represen)o(t)j(the)f(connection.)33 +b(The)20 b(stream)e(ob)r(ject)42 1667 y(has)d(inde\014nite)h(exten)o +(t,)g(but)g(the)g(connection)g(to)f(the)h(op)q(en)g(\014le)f(has)h +(dynamic)e(ex-)42 1719 y(ten)o(t:)k(when)13 b(con)o(trol)f(exits)i(the) +f Fs(with-open-file)d Fw(construct,)k(either)g(normally)c(or)42 +1770 y(abnormally)l(,)h(the)j(stream)g(is)f(automatically)e(closed.)42 +1835 y(Example:)16 b(the)f(binding)d(of)i(a)f(\\sp)q(ecial")h(v)n +(ariable)f(has)h(dynamic)e(exten)o(t.)0 1932 y Fu(.)42 +1941 y Fv(Inde\014nite)19 b(extent)p Fw(.)28 b(The)18 +b(en)o(tit)o(y)g(con)o(tin)o(ues)g(to)f(exist)h(as)f(long)f(as)i(the)g +(p)q(ossibilit)o(y)42 1993 y(of)e(reference)k(remains.)29 +b(\(An)17 b(implemen)o(tation)d(is)k(free)g(to)g(destro)o(y)g(the)g(en) +o(tit)o(y)g(if)42 2044 y(it)d(can)i(pro)o(v)o(e)f(that)h(reference)h +(to)f(it)e(is)i(no)f(longer)g(p)q(ossible.)25 b(Garbage)16 +b(collection)42 2096 y(strategies)f(implicitl)o(y)c(emplo)o(y)h(suc)o +(h)j(pro)q(ofs.\))42 2161 y(Example:)h(most)d(Commo)o(n)e(Lisp)j(data)g +(ob)r(jects)h(ha)o(v)o(e)e(inde\014nite)i(exten)o(t.)42 +2225 y(Example:)24 b(the)18 b(bindings)f(of)g(lexically)f(scop)q(ed)j +(parameters)f(of)f(a)h(function)f(ha)o(v)o(e)42 2277 +y(inde\014nite)h(exten)o(t.)31 b(\(By)18 b(con)o(trast,)h(in)e(Algol)g +(the)i(bindings)e(of)g(lexically)f(scop)q(ed)42 2329 +y(parameters)d(of)h(a)f(pro)q(cedure)j(ha)o(v)o(e)e(dynamic)e(exten)o +(t.\))19 b(The)14 b(function)g(de\014nition)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 48 72 +48 71 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(48)77 b(COMMON)13 +b(LISP)42 295 y Fs(\(defun)19 b(compose)h(\(f)h(g\))84 +347 y(#)84 343 y(-)84 351 y(-)m Fn(')127 347 y Fs(\(lambda)f(\(x\))169 +399 y(\(funcall)f(f)i(\(funcall)f(g)g(x\)\)\)\))42 479 +y Fw(when)f(giv)o(en)g(t)o(w)o(o)f(argumen)o(ts,)i(imm)o(ediately)c +(returns)21 b(a)e(function)g(as)g(its)g(v)n(alue.)42 +531 y(The)13 b(parameter)f(bindings)h(for)f Fs(f)h Fw(and)g +Fs(g)f Fw(do)h(not)g(disapp)q(ear)g(b)q(ecause)i(the)e(returned)42 +583 y(function,)g(when)h(called,)f(could)h(still)f(refer)i(to)e(those)i +(bindings.)j(Therefore)42 664 y Fs(\(funcall)h(\(compose)h(#)433 +660 y(-)433 668 y(-)m Fn(')476 664 y Fs(sqrt)g(#)584 +660 y(-)584 668 y(-)m Fn(')627 664 y Fs(abs\))g(-9.0\))42 +745 y Fw(pro)q(duces)f(the)g(v)n(alue)f Fs(3.0)p Fw(.)30 +b(\(An)19 b(analogous)e(pro)q(cedure)j(w)o(ould)d(not)i(necessarily)42 +797 y(w)o(ork)11 b(correctly)h(in)f(t)o(ypical)f(Algol)g(implemen)o +(tations)f(or,)i(for)g(that)g(matter,)g(in)g(most)42 +849 y(Lisp)i(dialects.\))42 917 y(In)18 b(addition)f(to)h(the)g(ab)q(o) +o(v)o(e)g(terms,)h(it)e(is)h(con)o(v)o(enien)o(t)h(to)f(de\014ne)h +Fv(dynamic)g(sc)n(op)n(e)0 969 y Fw(to)g(mean)f Fv(inde\014nite)i(sc)n +(op)n(e)g(and)g(dynamic)g(extent)p Fw(.)34 b(Th)o(us)19 +b(w)o(e)g(sp)q(eak)h(of)e(\\sp)q(ecial")0 1021 y(v)n(ariables)10 +b(as)h(ha)o(ving)f(dynamic)f(scop)q(e,)k(or)d(b)q(eing)h(dynamically)d +(scop)q(ed,)13 b(b)q(ecause)f(they)0 1073 y(ha)o(v)o(e)j(inde\014nite)h +(scop)q(e)g(and)f(dynamic)f(exten)o(t:)21 b(a)15 b(sp)q(ecial)h(v)n +(ariable)e(can)h(b)q(e)h(referred)0 1125 y(to)e(an)o(ywhere)g(as)g +(long)f(as)h(its)g(binding)f(is)h(curren)o(tly)h(in)e(e\013ect.)42 +1177 y(The)c(term)g(\\dynamic)f(scop)q(e")i(is)f(a)g(misnomer.)15 +b(Nev)o(ertheless)c(it)e(is)h(b)q(oth)f(traditional)-33 +1148 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1229 a(and)14 b(useful.)-33 1240 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1281 a(The)e(ab)q(o)o(v)o(e)f(de\014nitions)h(do)g(not) +g(tak)o(e)g(in)o(to)f(accoun)o(t)h(the)h(p)q(ossibilit)o(y)d(of)i +Fv(shadowing)p Fw(.)0 1333 y(Remote)j(reference)k(of)d(en)o(tities)h +(is)g(accomplished)e(b)o(y)i(using)f Fv(names)h Fw(of)f(one)h(kind)f +(or)0 1384 y(another.)28 b(If)17 b(t)o(w)o(o)f(en)o(tities)i(ha)o(v)o +(e)f(the)h(same)e(name,)g(then)i(the)g(second)g(ma)o(y)d(shado)o(w)0 +1436 y(the)e(\014rst,)g(in)f(whic)o(h)h(case)g(an)g(o)q(ccurrence)i(of) +d(the)h(name)e(will)g(refer)j(to)e(the)h(second)h(and)0 +1488 y(cannot)g(refer)h(to)f(the)g(\014rst.)42 1540 y(In)d(the)h(case)h +(of)e(lexical)f(scop)q(e,)j(if)e(t)o(w)o(o)g(constructs)i(that)f +(establish)g(en)o(tities)g(with)f(the)0 1592 y(same)16 +b(name)g(are)i(textually)e(nested,)j(then)f(references)i(within)d(the)h +(inner)f(construct)0 1644 y(refer)h(to)g(the)g(en)o(tit)o(y)f +(established)h(b)o(y)f(the)h(inner)g(one;)h(the)f(inner)g(one)g(shado)o +(ws)f(the)0 1696 y(outer)h(one.)27 b(Outside)18 b(the)f(inner)h +(construct)g(but)f(inside)g(the)h(outer)f(one,)h(references)0 +1748 y(refer)d(to)f(the)g(en)o(tit)o(y)g(established)h(b)o(y)e(the)i +(outer)f(construct.)20 b(F)m(or)13 b(example:)0 1831 +y Fs(\(defun)20 b(test)g(\(x)h(z\))42 1883 y(\(let)g(\(\(z)f(\(*)h(x)g +(2\)\)\))f(\(print)g(z\)\))42 1934 y(z\))0 2017 y Fw(The)e(binding)e +(of)g(the)i(v)n(ariable)e Fs(z)h Fw(b)o(y)g(the)h Fs(let)e +Fw(construct)j(shado)o(ws)e(the)h(parameter)0 2069 y(binding)d(for)g +(the)i(function)e Fs(test)p Fw(.)23 b(The)16 b(reference)i(to)e(the)g +(v)n(ariable)f Fs(z)g Fw(in)g(the)i Fs(print)0 2121 y +Fw(form)12 b(refers)k(to)e(the)g Fs(let)g Fw(binding.)j(The)e +(reference)h(to)e Fs(z)g Fw(at)g(the)g(end)h(of)e(the)i(function)0 +2173 y(refers)g(to)f(the)h(parameter)e(named)g Fs(z)p +Fw(.)42 2225 y(In)h(the)h(case)g(of)f(dynamic)f(exten)o(t,)i(if)e(the)i +(time)e(in)o(terv)n(als)h(of)g(t)o(w)o(o)g(en)o(tities)h(o)o(v)o +(erlap,)0 2277 y(then)i(one)h(in)o(terv)n(al)e(will)f(necessarily)j(b)q +(e)f(nested)i(within)d(the)h(other)h(one.)27 b(This)16 +b(is)h(a)0 2329 y(prop)q(ert)o(y)e(of)e(the)i(design)f(of)f(Common)d +(Lisp.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 49 73 +49 72 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SCOPE)13 b(AND)f(EXTENT)977 +b(49)p 0 295 V 0 355 a Fm(Implemen)o(tation)14 b(note:)19 +b FA(Behind)d(the)e(assertion)h(that)g(dynamic)g(exten)o(ts)g(nest)f +(prop)q(erly)0 401 y(is)k(the)f(assumption)i(that)e(there)g(is)g(only)i +(a)d(single)j(program)f(or)f(pro)q(cess.)29 b(Common)18 +b(Lisp)0 446 y(do)q(es)13 b(not)g(address)g(the)g(problems)g(of)g(m)o +(ultiprogramming)i(\(timesharing\))g(or)d(m)o(ultipro)q(cess-)0 +492 y(ing)17 b(\(more)e(than)i(one)f(activ)o(e)g(pro)q(cessor\))h +(within)g(a)f(single)h(Lisp)g(en)o(vironmen)o(t.)27 b(The)15 +b(do)q(c-)0 538 y(umen)o(tation)i(for)d(implemen)o(tation)q(s)k(that)d +(extend)g(Common)h(Lisp)f(for)g(m)o(ultiprogrammin)q(g)0 +583 y(or)e(m)o(ultipro)q(cessi)q(ng)j(should)g(b)q(e)d(v)o(ery)h(clear) +g(on)g(what)f(mo)q(di\014cations)j(are)e(induced)h(b)o(y)f(suc)o(h)0 +629 y(extensions)e(to)e(the)g(rules)h(of)f(exten)o(t)h(and)g(scop)q(e.) +16 b(Implemen)o(tors)c(should)g(note)e(that)g(Common)0 +675 y(Lisp)k(has)f(b)q(een)g(carefully)h(designed)h(to)e(allo)o(w)g(sp) +q(ecial)i(v)n(ariables)g(to)d(b)q(e)h(implemen)o(ted)i(using)0 +720 y(either)d(the)f(\\deep)g(binding")j(tec)o(hnique)f(or)e(the)g +(\\shallo)o(w)h(binding")i(tec)o(hnique,)f(but)e(the)g(t)o(w)o(o)0 +766 y(tec)o(hniques)j(ha)o(v)o(e)g(di\013eren)o(t)g(seman)o(tic)f(and)h +(p)q(erformance)f(implication)q(s)i(for)d(m)o(ultiprogram-)0 +812 y(ming)i(and)g(m)o(ultipro)q(cessing.)p 0 847 V 42 +921 a Fw(A)g(reference)j(b)o(y)d(name)f(to)h(an)g(en)o(tit)o(y)g(with)g +(dynamic)f(exten)o(t)i(will)e(alw)o(a)o(ys)g(refer)j(to)0 +973 y(the)e(en)o(tit)o(y)g(of)f(that)h(name)f(that)h(has)g(b)q(een)h +(most)d(recen)o(tly)j(established)g(that)f(has)g(not)0 +1025 y(y)o(et)g(b)q(een)h(disestablished.)k(F)m(or)13 +b(example:)0 1111 y Fs(\(defun)20 b(fun1)g(\(x\))42 1163 +y(\(catch)192 1167 y Fn(')215 1163 y Fs(trap)h(\(+)g(3)g(\(fun2)f +(x\)\)\)\))0 1267 y(\(defun)g(fun2)g(\(y\))42 1319 y(\(catch)192 +1323 y Fn(')215 1319 y Fs(trap)h(\(*)g(5)g(\(fun3)f(y\)\)\)\))0 +1422 y(\(defun)g(fun3)g(\(z\))42 1474 y(\(throw)192 1478 +y Fn(')215 1474 y Fs(trap)h(z\)\))0 1560 y Fw(Consider)c(the)h(call)e +Fs(\(fun1)21 b(7\))p Fw(.)27 b(The)17 b(result)h(will)e(b)q(e)h +Fs(10)p Fw(.)28 b(A)o(t)17 b(the)g(time)f(the)i Fs(throw)0 +1612 y Fw(is)h(executed,)k(there)e(are)f(t)o(w)o(o)f(outstanding)g +(catc)o(hers)j(with)d(the)h(name)f Fs(trap)p Fw(:)29 +b(one)0 1664 y(established)12 b(within)f(pro)q(cedure)i +Fs(fun1)p Fw(,)d(and)h(the)h(other)g(within)f(pro)q(cedure)i +Fs(fun2)p Fw(.)j(The)0 1716 y(latter)e(is)f(the)i(more)d(recen)o(t,)j +(and)f(so)f(the)i(v)n(alue)e Fs(7)g Fw(is)g(returned)j(from)c(the)i +Fs(catch)e Fw(form)0 1768 y(in)17 b Fs(fun2)p Fw(.)28 +b(View)o(ed)18 b(from)e(within)g Fs(fun3)p Fw(,)i(the)g +Fs(catch)e Fw(in)h Fs(fun2)g Fw(shado)o(ws)g(the)h(one)g(in)0 +1820 y Fs(fun1)p Fw(.)f(Had)d Fs(fun2)f Fw(b)q(een)i(de\014ned)g(as)0 +1906 y Fs(\(defun)20 b(fun2)g(\(y\))42 1957 y(\(catch)192 +1961 y Fn(')215 1957 y Fs(snare)h(\(*)f(5)h(\(fun3)f(y\)\)\)\))0 +2043 y Fw(then)d(the)g(t)o(w)o(o)g(catc)o(hers)h(w)o(ould)e(ha)o(v)o(e) +g(di\013eren)o(t)i(names,)e(and)g(therefore)i(the)f(one)g(in)0 +2095 y Fs(fun1)c Fw(w)o(ould)g(not)h(b)q(e)g(shado)o(w)o(ed.)19 +b(The)14 b(result)h(w)o(ould)e(then)h(ha)o(v)o(e)g(b)q(een)h +Fs(7)p Fw(.)42 2147 y(As)g(a)f(rule,)h(this)g(b)q(o)q(ok)f(simply)f(sp) +q(eaks)i(of)f(the)i(scop)q(e)g(or)e(exten)o(t)i(of)e(an)h(en)o(tit)o +(y;)f(the)0 2199 y(p)q(ossibilit)o(y)f(of)g(shado)o(wing)g(is)h(left)f +(implicit.)42 2251 y(The)h(imp)q(ortan)o(t)e(scop)q(e)j(and)f(exten)o +(t)h(rules)f(in)g(Comm)o(on)d(Lisp)j(follo)o(w:)0 2312 +y Fu(.)42 2321 y Fw(V)m(ariable)e(bindings)i(normally)d(ha)o(v)o(e)j +(lexical)f(scop)q(e)i(and)e(inde\014nite)i(exten)o(t.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 50 74 +50 73 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(50)77 b(COMMON)13 +b(LISP)0 286 y Fu(.)42 295 y Fw(V)m(ariable)8 b(bindings)i(for)f(whic)o +(h)h(there)h(is)f(a)f Fs(dynamic-extent)e Fw(declaration)j(also)f(ha)o +(v)o(e)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 42 347 a(lexical)14 b(scop)q(e)i(and)e(inde\014nite)i +(exten)o(t,)f(but)g(ob)r(jects)h(that)f(are)h(the)f(v)n(alues)g(of)f +(suc)o(h)42 399 y(bindings)g(ma)o(y)f(ha)o(v)o(e)i(dynamic)e(exten)o +(t.)22 b(\(The)16 b(declaration)f(is)g(the)g(programmer's)42 +450 y(guaran)o(tee)d(that)g(the)g(program)f(will)f(b)q(eha)o(v)o(e)i +(correctly)h(ev)o(en)g(if)e(certain)h(of)g(the)g(data)42 +502 y(ob)r(jects)j(ha)o(v)o(e)e(only)g(dynamic)g(exten)o(t)h(rather)h +(than)f(the)h(usual)e(inde\014nite)h(exten)o(t.\))0 574 +y Fu(.)42 583 y Fw(Bindings)j(of)h(v)n(ariable)e(names)h(to)h(sym)o(b)q +(ol)e(macros)h(b)o(y)h Fs(symbol-macrolet)d Fw(ha)o(v)o(e)42 +635 y(lexical)e(scop)q(e)i(and)e(inde\014nite)h(exten)o(t.)-33 +647 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 695 a Fu(.)42 704 y Fw(V)m(ariable)19 +b(bindings)h(that)g(are)h(declared)g(to)g(b)q(e)g Fs(special)e +Fw(ha)o(v)o(e)h(dynamic)f(scop)q(e)42 756 y(\(inde\014nite)14 +b(scop)q(e)h(and)f(dynamic)e(exten)o(t\).)0 815 y Fu(.)42 +824 y Fw(Bindings)i(of)h(function)f(names)h(established,)g(for)g +(example,)e(b)o(y)i Fs(flet)f Fw(and)h Fs(labels)-33 +796 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 42 876 a Fw(ha)o(v)o(e)e(lexical)g(scop)q(e)i(and)f +(inde\014nite)g(exten)o(t.)0 948 y Fu(.)42 957 y Fw(Bindings)9 +b(of)g(function)h(names)f(for)g(whic)o(h)h(there)h(is)f(a)f +Fs(dynamic-extent)e Fw(declaration)42 1009 y(also)13 +b(ha)o(v)o(e)i(lexical)e(scop)q(e)j(and)e(inde\014nite)h(exten)o(t,)g +(but)g(function)f(ob)r(jects)i(that)e(are)42 1061 y(the)g(v)n(alues)g +(of)f(suc)o(h)i(bindings)e(ma)o(y)f(ha)o(v)o(e)h(dynamic)g(exten)o(t.)0 +1133 y Fu(.)42 1142 y Fw(Bindings)19 b(of)h(function)f(names)g(to)h +(macros)f(as)h(established)h(b)o(y)f Fs(macrolet)e Fw(ha)o(v)o(e)42 +1193 y(lexical)13 b(scop)q(e)i(and)e(inde\014nite)h(exten)o(t.)0 +1265 y Fu(.)42 1274 y Fw(Condition)e(handlers)j(and)e(restarts)j(ha)o +(v)o(e)e(dynamic)e(scop)q(e)j(\(see)g(c)o(hapter)g(29\).)-33 +1286 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1334 a Fu(.)42 1343 y Fw(A)f(catc)o(her)h(established)f +(b)o(y)g(a)g Fs(catch)f Fw(or)h Fs(unwind-protect)d Fw(sp)q(ecial)j +(form)e(has)i(dy-)42 1395 y(namic)e(scop)q(e.)0 1467 +y Fu(.)42 1476 y Fw(An)k(exit)h(p)q(oin)o(t)f(established)h(b)o(y)f(a)g +Fs(block)g Fw(construct)i(has)e(lexical)g(scop)q(e)i(and)e(dy-)42 +1528 y(namic)10 b(exten)o(t.)19 b(\(Suc)o(h)13 b(exit)g(p)q(oin)o(ts)f +(are)h(also)f(established)h(b)o(y)f Fs(do)p Fw(,)g Fs(prog)p +Fw(,)g(and)g(other)42 1579 y(iteration)h(constructs.\))0 +1652 y Fu(.)42 1660 y Fw(The)d Fs(go)g Fw(targets)h(established)g(b)o +(y)f(a)g Fs(tagbody)p Fw(,)f(named)h(b)o(y)g(the)h(tags)f(in)g(the)h +Fs(tagbody)p Fw(,)42 1712 y(and)18 b(referred)i(to)f(b)o(y)f +Fs(go)g Fw(ha)o(v)o(e)h(lexical)f(scop)q(e)h(and)g(dynamic)e(exten)o +(t.)33 b(\(Suc)o(h)19 b Fs(go)42 1764 y Fw(targets)10 +b(ma)o(y)e(also)h(app)q(ear)h(as)g(tags)g(in)f(the)h(b)q(o)q(dies)g(of) +f Fs(do)p Fw(,)h Fs(prog)p Fw(,)f(and)h(other)g(iteration)42 +1816 y(constructs.\))0 1888 y Fu(.)42 1897 y Fw(Named)15 +b(constan)o(ts)i(suc)o(h)g(as)f Fs(nil)g Fw(and)g Fs(pi)g +Fw(ha)o(v)o(e)g(inde\014nite)h(scop)q(e)g(and)f(inde\014nite)42 +1949 y(exten)o(t.)42 2017 y(The)11 b(rules)i(of)d(lexical)h(scoping)h +(imply)d(that)i(lam)o(b)q(da-expressions)g(app)q(earing)g(in)g(the)0 +2069 y Fs(function)e Fw(construct)k(will,)c(in)i(general,)g(result)g +(in)g(\\closures")g(o)o(v)o(er)g(those)h(non-sp)q(ecial)0 +2121 y(v)n(ariables)i(visible)g(to)h(the)g(lam)o(b)q(da-expression.)20 +b(That)15 b(is,)f(the)h(function)g(represen)o(ted)0 2173 +y(b)o(y)f(a)h(lam)o(b)q(da-expression)e(ma)o(y)f(refer)k(to)e(an)o(y)g +(lexically)f(apparen)o(t)i(non-sp)q(ecial)g(v)n(ari-)0 +2225 y(able)20 b(and)h(get)f(the)i(correct)g(v)n(alue,)f(ev)o(en)g(if)f +(the)h(construct)h(that)f(established)g(the)0 2277 y(binding)c(has)h(b) +q(een)h(exited)g(in)e(the)i(course)g(of)e(execution.)31 +b(The)19 b Fs(compose)d Fw(example)0 2329 y(sho)o(wn)f(earlier)g(in)f +(this)h(c)o(hapter)h(pro)o(vides)f(one)g(illustration)e(of)h(this.)21 +b(The)15 b(rules)g(also)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 51 75 +51 74 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SCOPE)13 b(AND)f(EXTENT)977 +b(51)0 295 y Fw(imply)12 b(that)j(sp)q(ecial)g(v)n(ariable)e(bindings)h +(are)h(not)g(\\closed)g(o)o(v)o(er")f(as)h(they)g(ma)o(y)e(b)q(e)i(in)0 +347 y(certain)f(other)h(dialects)f(of)f(Lisp.)42 399 +y(Constructs)j(that)e(use)i(lexical)d(scop)q(e)j(e\013ectiv)o(ely)f +(generate)h(a)f(new)g(name)e(for)h(eac)o(h)0 451 y(established)k(en)o +(tit)o(y)f(on)f(eac)o(h)i(execution.)28 b(Therefore)18 +b(dynamic)d(shado)o(wing)i(cannot)0 503 y(o)q(ccur)c(\(though)g +(lexical)e(shado)o(wing)h(ma)o(y\).)j(This)e(is)f(of)g(particular)g +(imp)q(ortance)f(when)0 555 y(dynamic)h(exten)o(t)j(is)f(in)o(v)o(olv)o +(ed.)j(F)m(or)c(example:)0 649 y Fs(\(defun)20 b(contorted-example)e +(\(f)i(g)h(x\))42 701 y(\(if)g(\()151 697 y(U)151 705 +y(U)194 701 y(x)g(0\))127 752 y(\(funcall)f(f\))127 804 +y(\(block)g(here)191 856 y(\(+)g(5)h(\(contorted-example)d(g)699 +908 y(#)699 904 y(-)699 912 y(-)m Fn(')742 908 y Fs(\(lambda)h(\(\))783 +960 y(\(return-from)g(here)h(4\)\))699 1012 y(\(-)g(x)h(1\)\)\)\)\)\))0 +1105 y Fw(Consider)c(the)g(call)f Fs(\(contorted-example)i(nil)i(nil)h +(2\))p Fw(.)k(This)17 b(pro)q(duces)h(the)f(re-)0 1157 +y(sult)f Fs(4)p Fw(.)24 b(During)15 b(the)i(course)g(of)e(execution,)i +(there)g(are)f(three)i(calls)d(on)h Fs(contorted-)0 1208 +y(example)p Fw(,)c(in)o(terlea)o(v)o(ed)i(with)f(t)o(w)o(o)h +(establishmen)o(ts)f(of)h(blo)q(c)o(ks:)0 1302 y Fs(\(contorted-exampl) +o(e)k(nil)j(nil)g(2\))42 1406 y(\(block)f(here)282 1412 +y Fk(1)321 1406 y Fs(...\))85 1510 y(\(contorted-examp)o(le)e(nil)j(#) +585 1506 y(-)585 1514 y(-)m Fn(')628 1510 y Fs(\(lambda)e(\(\))i +(\(return-from)e(here)1237 1516 y Fk(1)1276 1510 y Fs(4\)\))h(1\))127 +1613 y(\(block)g(here)367 1619 y Fk(2)406 1613 y Fs(...\))169 +1717 y(\(contorted-example)e(#)583 1713 y(-)583 1721 +y(-)m Fn(')626 1717 y Fs(\(lambda)h(\(\))i(\(return-from)e(here)1235 +1723 y Fk(1)1274 1717 y Fs(4\)\))572 1769 y(#)572 1765 +y(-)572 1773 y(-)m Fn(')615 1769 y Fs(\(lambda)g(\(\))i(\(return-from)e +(here)1224 1775 y Fk(2)1263 1769 y Fs(4\)\))572 1821 +y(0\))212 1873 y(\(funcall)g(f\))339 1925 y Fw(where)j +Fs(f)f Ft(\))g Fs(#)572 1921 y(-)572 1929 y(-)m Fn(')615 +1925 y Fs(\(lambda)e(\(\))i(\(return-from)e(here)1224 +1931 y Fk(1)1263 1925 y Fs(4\)\))254 2028 y(\(return-from)g(here)625 +2034 y Fk(1)664 2028 y Fs(4\))0 2121 y Fw(A)o(t)g(the)g(time)e(the)i +Fs(funcall)e Fw(is)h(executed)j(there)f(are)f(t)o(w)o(o)f +Fs(block)f Fw(exit)i(p)q(oin)o(ts)f(out-)0 2173 y(standing,)c(eac)o(h)h +(apparen)o(tly)f(named)f Fs(here)p Fw(.)19 b(In)14 b(the)h(trace)h(ab)q +(o)o(v)o(e,)e(these)h(exit)g(p)q(oin)o(ts)0 2225 y(are)k(distinguished) +f(for)f(exp)q(ository)i(purp)q(oses)g(b)o(y)f(subscripts.)32 +b(The)19 b Fs(return-from)0 2277 y Fw(form)c(executed)k(as)d(a)h +(result)g(of)f(the)i Fs(funcall)d Fw(op)q(eration)h(refers)j(to)d(the)h +Fv(outer)g Fw(out-)0 2329 y(standing)12 b(exit)h(p)q(oin)o(t)f(\()p +Fs(here)459 2335 y Fk(1)477 2329 y Fw(\),)g(not)h(the)g(inner)g(one)g +(\()p Fs(here)944 2335 y Fk(2)961 2329 y Fw(\).)18 b(This)13 +b(is)f(a)g(consequence)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 52 76 +52 75 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(52)77 b(COMMON)13 +b(LISP)0 295 y Fw(of)h(the)h(rules)h(of)e(lexical)g(scoping:)19 +b(it)14 b(refers)j(to)d(that)h(exit)g(p)q(oin)o(t)f(textually)g +(visible)g(at)0 347 y(the)f(p)q(oin)o(t)g(of)f(execution)h(of)g(the)g +Fs(function)e Fw(construct)k(\(here)f(abbreviated)f(b)o(y)f(the)i +Fs(#)1352 343 y(-)1352 351 y(-)m Fn(')0 399 y Fw(syn)o(tax\))j(that)g +(resulted)h(in)e(creation)h(of)f(the)h(function)g(ob)r(ject)g(actually) +f(in)o(v)o(ok)o(ed)g(b)o(y)0 450 y(the)e Fs(funcall)p +Fw(.)42 502 y(If,)e(in)g(this)h(example,)f(one)h(w)o(ere)h(to)f(c)o +(hange)g(the)g(form)f Fs(\(funcall)19 b(f\))13 b Fw(to)f +Fs(\(funcall)0 554 y(g\))p Fw(,)h(then)i(the)g(v)n(alue)e(of)h(the)h +(call)e Fs(\(contorted-example)18 b(nil)i(nil)h(2\))13 +b Fw(w)o(ould)h(b)q(e)g Fs(9)p Fw(.)0 606 y(The)j(v)n(alue)f(w)o(ould)g +(c)o(hange)h(b)q(ecause)h(the)f Fs(funcall)e Fw(w)o(ould)h(cause)i(the) +f(execution)g(of)0 658 y Fs(\(return-from)i(here)371 +664 y Fk(2)410 658 y Fs(4\))p Fw(,)13 b(thereb)o(y)j(causing)e(a)g +(return)i(from)c(the)j(inner)g(exit)f(p)q(oin)o(t)0 710 +y(\()p Fs(here)104 716 y Fk(2)122 710 y Fw(\).)j(When)10 +b(that)g(o)q(ccurs,)i(the)f(v)n(alue)f Fs(4)g Fw(is)g(returned)h(from)e +(the)i(middle)d(in)o(v)o(o)q(cation)0 762 y(of)j Fs(contorted-example)p +Fw(,)d Fs(5)k Fw(is)f(added)h(to)g(that)f(to)h(get)g +Fs(9)p Fw(,)f(and)h(that)f(v)n(alue)g(is)h(returned)0 +814 y(from)17 b(the)j(outer)f(blo)q(c)o(k)g(and)f(the)i(outermost)e +(call)g(to)h Fs(contorted-example)o Fw(.)30 b(The)0 866 +y(p)q(oin)o(t)16 b(is)h(that)g(the)g(c)o(hoice)g(of)f(exit)h(p)q(oin)o +(t)f(returned)j(from)c(has)i(nothing)f(to)h(do)f(with)0 +917 y(its)i(b)q(eing)f(innermost)g(or)g(outermost;)i(rather,)f(it)g +(dep)q(ends)h(on)e(the)h(lexical)f(scoping)0 969 y(information)e(that)j +(is)f(e\013ectiv)o(ely)i(pac)o(k)n(aged)f(up)g(with)f(a)h(lam)o(b)q +(da-expression)e(when)0 1021 y(the)e Fs(function)f Fw(construct)i(is)f +(executed.)42 1073 y(This)f(function)g Fs(contorted-exampl)o(e)d +Fw(w)o(orks)k(only)e(b)q(ecause)j(the)f(function)f(named)0 +1125 y(b)o(y)h Fs(f)f Fw(is)h(in)o(v)o(ok)o(ed)f(during)g(the)i(exten)o +(t)g(of)e(the)h(exit)g(p)q(oin)o(t.)k(Blo)q(c)o(k)c(exit)g(p)q(oin)o +(ts)f(are)i(lik)o(e)0 1177 y(non-sp)q(ecial)d(v)n(ariable)f(bindings)g +(in)g(ha)o(ving)g(lexical)g(scop)q(e,)i(but)f(they)g(di\013er)g(in)g +(ha)o(ving)0 1229 y(dynamic)g(exten)o(t)i(rather)h(than)e(inde\014nite) +h(exten)o(t.)19 b(Once)c(the)f(\015o)o(w)f(of)g(execution)i(has)0 +1281 y(left)f(the)g(blo)q(c)o(k)g(construct,)h(the)f(exit)g(p)q(oin)o +(t)f(is)h(disestablished.)19 b(F)m(or)13 b(example:)0 +1366 y Fs(\(defun)20 b(illegal-example)e(\(\))42 1418 +y(\(let)j(\(\(y)f(\(block)g(here)h(#)498 1414 y(-)498 +1422 y(-)m Fn(')540 1418 y Fs(\(lambda)f(\(z\))h(\(return-from)d(here)j +(z\)\)\)\)\))85 1469 y(\(if)f(\(numberp)g(y\))h(y)f(\(funcall)g(y)h +(5\)\)\)\))0 1555 y Fw(One)14 b(migh)o(t)d(exp)q(ect)j(the)g(call)e +Fs(\(illegal-example\))d Fw(to)k(pro)q(duce)h Fs(5)f +Fw(b)o(y)g(the)g(follo)o(wing)0 1606 y(incorrect)g(reasoning:)j(the)c +Fs(let)f Fw(statemen)o(t)g(binds)h(the)g(v)n(ariable)e +Fs(y)h Fw(to)h(the)g(v)n(alue)e(of)h(the)0 1658 y Fs(block)e +Fw(construct;)k(this)d(v)n(alue)g(is)g(a)g(function)g(resulting)g(from) +f(the)h(lam)o(b)q(da-expression.)0 1710 y(Because)18 +b Fs(y)e Fw(is)h(not)f(a)g(n)o(um)o(b)q(er,)g(it)g(is)g(in)o(v)o(ok)o +(ed)f(on)h(the)h(v)n(alue)f Fs(5)p Fw(.)25 b(The)17 b +Fs(return-from)0 1762 y Fw(should)11 b(then)i(return)g(this)e(v)n(alue) +g(from)f(the)j(exit)e(p)q(oin)o(t)g(named)g Fs(here)p +Fw(,)g(thereb)o(y)h(exiting)0 1814 y(from)f(the)j(blo)q(c)o(k)f +Fv(again)g Fw(and)g(giving)f Fs(y)h Fw(the)g(v)n(alue)g +Fs(5)g Fw(whic)o(h,)f(b)q(eing)h(a)g(n)o(um)o(b)q(er,)f(is)h(then)0 +1866 y(returned)j(as)e(the)g(v)n(alue)f(of)h(the)g(call)f(to)h +Fs(illegal-example)p Fw(.)42 1918 y(The)i(argumen)o(t)g(fails)f(only)h +(b)q(ecause)i(exit)f(p)q(oin)o(ts)f(are)h(de\014ned)h(in)e(Commo)o(n)e +(Lisp)0 1970 y(to)h(ha)o(v)o(e)f(dynamic)f(exten)o(t.)22 +b(The)15 b(argumen)o(t)f(is)h(correct)h(up)f(to)g(the)g(execution)h(of) +e(the)0 2022 y Fs(return-from)p Fw(.)25 b(The)18 b(execution)g(of)e +(the)i Fs(return-from)d Fw(is)h(an)h(error,)i(ho)o(w)o(ev)o(er,)e +Fv(not)0 2073 y Fw(b)q(ecause)g(it)f(cannot)g(refer)h(to)e(the)i(exit)e +(p)q(oin)o(t,)g(but)h(b)q(ecause)i(it)d(do)q(es)i(correctly)g(refer)0 +2125 y(to)d(an)f(exit)h(p)q(oin)o(t)g Fv(and)g Fw(that)g(exit)g(p)q +(oin)o(t)f(has)h(b)q(een)h(disestablished.)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 53 77 +53 76 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(4)p 0 448 598 9 +v 0 531 a Fp(T)-7 b(yp)r(e)29 b(Sp)r(ecifiers)0 884 y +Fw(In)23 b(Commo)o(n)d(Lisp,)25 b(t)o(yp)q(es)e(are)h(named)d(b)o(y)i +(Lisp)f(ob)r(jects,)k(sp)q(eci\014cally)d(sym)o(b)q(ols)0 +936 y(and)16 b(lists,)g(called)f Fv(typ)n(e)i(sp)n(e)n(ci\014ers)p +Fw(.)24 b(Sym)o(b)q(ols)14 b(name)h(prede\014ned)j(classes)f(of)e(ob)r +(jects,)0 988 y(whereas)d(lists)f(usually)g(indicate)g(com)o(binations) +e(or)i(sp)q(ecializations)g(of)f(simpler)g(t)o(yp)q(es.)0 +1040 y(Sym)o(b)q(ols)k(or)i(lists)f(ma)o(y)f(also)h(b)q(e)h +(abbreviations)g(for)f(t)o(yp)q(es)i(that)e(could)h(b)q(e)g(sp)q +(eci\014ed)0 1092 y(in)d(other)i(w)o(a)o(ys.)0 1237 y +Fo(4.1.)20 b(T)n(yp)r(e)15 b(Sp)r(eci\014er)e(Sym)n(b)r(ols)0 +1321 y Fw(The)h(t)o(yp)q(e)g(sym)o(b)q(ols)e(de\014ned)i(b)o(y)g(the)g +(system)f(include)h(those)g(sho)o(wn)f(in)g(table)h(4-)o(1.)k(In)0 +1373 y(addition,)13 b(when)h(a)g(structure)i(t)o(yp)q(e)f(is)f +(de\014ned)h(using)f Fs(defstruct)p Fw(,)e(the)j(name)e(of)g(the)0 +1425 y(structure)j(t)o(yp)q(e)e(b)q(ecomes)h(a)e(v)n(alid)f(t)o(yp)q(e) +j(sym)o(b)q(ol.)42 1477 y Fv(Notic)n(e)h(of)h(c)n(orr)n(e)n(ction.)23 +b Fw(In)16 b(the)h(\014rst)f(edition,)g(the)h(t)o(yp)q(e)f(sp)q +(eci\014ers)i Fs(signed-byte)-33 1448 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1529 a Fw(and)c Fs(unsigned-byte)d Fw(w)o(ere)k(inadv)o +(erten)o(tly)e(omitted)g(from)f(table)i(4-)o(1.)-33 1540 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1580 a(X3J13)g(v)o(oted)g(in)g(Marc)o(h)h(1989)e +Ft(h)p Fw(17)p Ft(i)h Fw(to)h(eliminate)d(the)j(t)o(yp)q(e)g +Fs(common)p Fw(;)e(this)h(fact)h(is)-33 1552 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1632 a(indicated)f(b)o(y)g(the)g(brac)o(k)o(ets)h +(around)f(the)g Fs(common)f Fw(t)o(yp)q(e)h(sp)q(eci\014er)i(in)d(the)i +(table.)42 1684 y(X3J13)g(v)o(oted)h(in)f(Marc)o(h)h(1989)f +Ft(h)p Fw(11)p Ft(i)h Fw(to)f(eliminate)f(the)i(t)o(yp)q(e)h +Fs(string-char)p Fw(;)d(this)0 1736 y(fact)e(is)f(indicated)h(b)o(y)f +(the)h(brac)o(k)o(ets)h(around)f(the)g Fs(string-char)d +Fw(t)o(yp)q(e)k(sp)q(eci\014er)g(in)e(the)0 1788 y(table.)42 +1840 y(X3J13)g(v)o(oted)h(in)g(Marc)o(h)h(1989)e Ft(h)p +Fw(11)p Ft(i)g Fw(to)h(add)g(the)h(t)o(yp)q(e)g Fs(extended-charac)o +(ter)c Fw(and)0 1892 y(the)14 b(t)o(yp)q(e)h Fs(base-character)p +Fw(.)42 1944 y(X3J13)e(v)o(oted)h(in)g(Marc)o(h)g(1989)f +Ft(h)p Fw(151)p Ft(i)g Fw(to)h(add)f(the)i(t)o(yp)q(e)f(sp)q(eci\014er) +i Fs(real)p Fw(.)42 1996 y(X3J13)11 b(v)o(otes)h(ha)o(v)o(e)f(also)g +(implicitly)e(added)j(man)o(y)e(other)i(t)o(yp)q(e)g(sp)q(eci\014ers)i +(as)e(names)0 2047 y(of)h(classes)i(\(see)h(c)o(hapter)f(28\))e(or)h +(of)f(conditions)h(\(see)h(c)o(hapter)g(29\).)-33 2059 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2193 a Fo(4.2.)20 b(T)n(yp)r(e)15 b(Sp)r(eci\014er)e +(Lists)0 2277 y Fw(If)h(a)g(t)o(yp)q(e)h(sp)q(eci\014er)h(is)e(a)h +(list,)e(the)i Fv(c)n(ar)f Fw(of)g(the)h(list)f(is)g(a)g(sym)o(b)q(ol,) +f(and)h(the)h(rest)g(of)f(the)0 2329 y(list)h(is)g(subsidiary)h(t)o(yp) +q(e)g(information.)k(In)15 b(man)o(y)f(cases)j(a)e(subsidiary)g(item)g +(ma)o(y)e(b)q(e)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1356 2428 a Fy(53)p eop +%%Page: 54 78 +54 77 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(54)77 b(COMMON)13 +b(LISP)p 0 255 1395 2 v 0 344 a Fm(T)l(able)h(4-1:)k +FA(Standard)c(T)o(yp)q(e)f(Sp)q(eci\014er)i(Sym)o(b)q(ols)0 +471 y Fj(array)326 b(fixnum)168 b(package)286 b(simple-st)o(rin)o(g)0 +516 y(atom)346 b(float)188 b(pathname)266 b(simple-ve)o(cto)o(r)0 +562 y(bignum)306 b(function)128 b(random-sta)o(te)187 +b(single-fl)o(oat)0 608 y(bit)366 b(hash-tabl)o(e)89 +b(ratio)326 b(standard-)o(cha)o(r)0 653 y(bit-vector)226 +b(integer)148 b(rational)266 b(stream)0 699 y(character)246 +b(keyword)148 b(readtable)246 b(string)0 744 y FA([)p +Fj(common)p FA(])284 b Fj(list)208 b(sequence)266 b FA([)p +Fj(string-c)o(har)o FA(])0 790 y Fj(compiled-f)o(un)o(cti)o(on)89 +b(long-floa)o(t)g(short-floa)o(t)207 b(symbol)0 836 y(complex)286 +b(nil)228 b(signed-byt)o(e)207 b(t)0 881 y(cons)346 b(null)208 +b(simple-arr)o(ay)187 b(unsigned-)o(byt)o(e)0 927 y(double-flo)o(at)g +(number)168 b(simple-bit)o(-v)o(ect)o(or)89 b(vector)0 +1010 y FA(X3J13)13 b(v)o(oted)g(in)h(Marc)o(h)g(1989)f +Ff(h)p FA(17)p Ff(i)g FA(to)g(remo)o(v)o(e)h(the)f(t)o(yp)q(e)g +Fj(common)p FA(.)-33 985 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1056 a(X3J13)g(v)o(oted)g(in)h(Marc)o(h)g(1989)f +Ff(h)p FA(11)p Ff(i)g FA(to)g(remo)o(v)o(e)h(the)f(t)o(yp)q(e)g +Fj(string-cha)o(r)p FA(.)0 1101 y(X3J13)f(v)o(oted)g(in)h(Marc)o(h)f +(1989)h Ff(h)p FA(11)p Ff(i)f FA(to)g(add)g Fj(base-chara)o(cte)o(r)c +FA(and)13 b Fj(extended-c)o(ha)o(rac)o(te)o(r)p FA(.)0 +1147 y(X3J13)g(v)o(oted)g(in)h(Marc)o(h)g(1989)f Ff(h)p +FA(151)p Ff(i)h FA(to)f(add)g(the)g(t)o(yp)q(e)h Fj(real)p +FA(.)-33 1157 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1183 V 0 1273 a Fv(unsp)n(e)n(ci\014e)n(d)p +Fw(.)29 b(The)18 b(unsp)q(eci\014ed)h(subsidiary)e(item)f(is)h +(indicated)g(b)o(y)g(writing)f Fs(*)p Fw(.)28 b(F)m(or)0 +1325 y(example,)14 b(to)i(completely)e(sp)q(ecify)i(a)g(v)o(ector)g(t)o +(yp)q(e,)g(one)g(m)o(ust)f(men)o(tion)f(the)i(t)o(yp)q(e)g(of)0 +1377 y(the)e(elemen)o(ts)g(and)g(the)g(length)g(of)g(the)g(v)o(ector,)g +(as)g(for)g(example)0 1464 y Fs(\(vector)20 b(double-float)e(100\))0 +1550 y Fw(T)m(o)13 b(lea)o(v)o(e)h(the)g(length)g(unsp)q(eci\014ed,)h +(one)f(w)o(ould)f(write)0 1637 y Fs(\(vector)20 b(double-float)e(*\))0 +1723 y Fw(T)m(o)13 b(lea)o(v)o(e)h(the)g(elemen)o(t)g(t)o(yp)q(e)g +(unsp)q(eci\014ed,)h(one)f(w)o(ould)f(write)0 1810 y +Fs(\(vector)20 b(*)h(100\))0 1896 y Fw(One)15 b(ma)o(y)d(also)h(lea)o +(v)o(e)g(b)q(oth)h(length)g(and)g(elemen)o(t)f(t)o(yp)q(e)i(unsp)q +(eci\014ed:)-33 1868 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1983 a Fs(\(vector)20 b(*)h(*\))-33 1998 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2069 a Fw(Supp)q(ose)d(that)f(t)o(w)o(o)f(t)o(yp)q(e)h +(sp)q(eci\014ers)i(are)e(the)h(same)e(except)i(that)f(the)g(\014rst)h +(has)e(a)h Fs(*)0 2121 y Fw(where)f(the)f(second)g(has)g(a)f(more)f +(explicit)h(sp)q(eci\014cation.)21 b(Then)15 b(the)g(second)g(denotes)0 +2173 y(a)f(subt)o(yp)q(e)g(of)g(the)g(t)o(yp)q(e)h(denoted)f(b)o(y)g +(the)h(\014rst.)42 2225 y(As)i(a)g(con)o(v)o(enience,)i(if)e(a)g(list)g +(has)g(one)h(or)f(more)f(unsp)q(eci\014ed)j(items)e(at)g(the)h(end,)0 +2277 y(suc)o(h)d(items)e(ma)o(y)f(simply)g(b)q(e)i(dropp)q(ed)h(rather) +g(than)f(writing)f(an)g(explicit)h Fs(*)g Fw(for)f(eac)o(h)0 +2329 y(one.)38 b(If)20 b(dropping)f(all)g(o)q(ccurrences)24 +b(of)c Fs(*)g Fw(results)h(in)f(a)g(singleton)g(list,)h(then)g(the)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 55 79 +55 78 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(TYPE)12 b(SPECIFIERS)1037 +b(55)0 295 y Fw(paren)o(theses)20 b(ma)o(y)15 b(b)q(e)j(dropp)q(ed)g +(as)f(w)o(ell)g(\(the)h(list)f(ma)o(y)e(b)q(e)j(replaced)g(b)o(y)f(the) +h(sym-)0 347 y(b)q(ol)h(in)f(its)h Fv(c)n(ar)p Fw(\).)34 +b(F)m(or)18 b(example,)h Fs(\(vector)h(double-float)e(*\))h +Fw(ma)o(y)e(b)q(e)j(abbrevi-)0 399 y(ated)15 b(to)f Fs(\(vector)20 +b(double-float\))p Fw(,)11 b(and)j Fs(\(vector)20 b(*)h(*\))14 +b Fw(ma)o(y)e(b)q(e)j(abbreviated)g(to)0 450 y Fs(\(vector\))d +Fw(and)i(then)g(to)g(simply)e Fs(vector)p Fw(.)0 599 +y Fo(4.3.)20 b(Predicating)14 b(T)n(yp)r(e)h(Sp)r(eci\014ers)0 +683 y Fw(A)9 b(t)o(yp)q(e)h(sp)q(eci\014er)h(list)e Fs(\(satisfies)19 +b Fv(pr)n(e)n(dic)n(ate)p Fs(-)p Fv(name)p Fs(\))9 b +Fw(denotes)i(the)f(set)g(of)e(all)h(ob)r(jects)0 735 +y(that)17 b(satisfy)g(the)h(predicate)g(named)e(b)o(y)h +Fv(pr)n(e)n(dic)n(ate-name)p Fw(,)g(whic)o(h)g(m)o(ust)f(b)q(e)i(a)f +(sym-)0 787 y(b)q(ol)c(whose)i(global)d(function)h(de\014nition)g(is)h +(a)f(one-argumen)o(t)g(predicate.)19 b(\(A)14 b(name)f(is)0 +839 y(required;)19 b(lam)o(b)q(da-expressions)c(are)i(disallo)o(w)o(ed) +f(in)g(order)h(to)g(a)o(v)o(oid)e(scoping)i(prob-)0 891 +y(lems.\))i(F)m(or)14 b(example,)f(the)i(t)o(yp)q(e)g +Fs(\(satisfies)k(numberp\))13 b Fw(is)h(the)h(same)f(as)g(the)h(t)o(yp) +q(e)0 943 y Fs(number)p Fw(.)i(The)d(call)f Fs(\(typep)20 +b(x)515 947 y Fn(')538 943 y Fs(\(satisfies)f(p\)\))13 +b Fw(results)i(in)f(applying)e Fs(p)i Fw(to)f Fs(x)h +Fw(and)0 995 y(returning)g Fs(t)g Fw(if)f(the)i(result)f(is)g(true)h +(and)e Fs(nil)h Fw(if)f(the)h(result)h(is)f(false.)42 +1047 y(As)g(an)g(example,)e(the)i(t)o(yp)q(e)h Fs(string-char)c +Fw(could)j(b)q(e)g(de\014ned)h(as)-38 1022 y Fk(.)-38 +1035 y(.)-38 1048 y(.)-38 1061 y(.)-38 1074 y(.)-38 1087 +y(.)-38 1099 y(.)-38 1112 y(.)-38 1125 y(.)-38 1138 y(.)-38 +1151 y(.)-38 1164 y(.)-38 1177 y(.)-38 1190 y(.)-38 1203 +y(.)-38 1216 y(.)-38 1229 y(.)-38 1242 y(.)-38 1255 y(.)-38 +1268 y(.)-38 1281 y(.)-38 1294 y(.)-38 1307 y(.)-38 1320 +y(.)-38 1333 y(.)-38 1346 y(.)-38 1359 y(.)-38 1372 y(.)-38 +1385 y(.)-38 1398 y(.)-38 1411 y(.)-38 1424 y(.)-38 1437 +y(.)-38 1450 y(.)-38 1463 y(.)-38 1476 y(.)-38 1489 y(.)-38 +1502 y(.)-38 1515 y(.)-38 1528 y(.)-38 1541 y(.)-38 1554 +y(.)-38 1566 y(.)-38 1579 y(.)-38 1592 y(.)-38 1605 y(.)-38 +1618 y(.)-38 1631 y(.)-38 1644 y(.)-38 1657 y(.)-38 1670 +y(.)-38 1683 y(.)-38 1696 y(.)-38 1709 y(.)-38 1722 y(.)-38 +1735 y(.)-38 1748 y(.)-38 1761 y(.)-38 1774 y(.)-38 1787 +y(.)-38 1800 y(.)-38 1813 y(.)-38 1826 y(.)-38 1839 y(.)-38 +1852 y(.)-38 1865 y(.)-38 1878 y(.)-38 1891 y(.)-38 1904 +y(.)-38 1917 y(.)-38 1930 y(.)-38 1943 y(.)-38 1956 y(.)-38 +1969 y(.)-38 1982 y(.)-38 1995 y(.)-38 2008 y(.)-38 2021 +y(.)-38 2033 y(.)-38 2046 y(.)-38 2059 y(.)-38 2072 y(.)-38 +2085 y(.)-38 2098 y(.)-38 2111 y(.)-38 2124 y(.)-38 2137 +y(.)-38 2150 y(.)-38 2163 y(.)-38 2176 y(.)-38 2189 y(.)-38 +2202 y(.)-38 2215 y(.)-38 2228 y(.)-38 2241 y(.)-38 2254 +y(.)-38 2267 y(.)-38 2280 y(.)-38 2293 y(.)-38 2306 y(.)-38 +2319 y(.)-38 2332 y(.)-38 2345 y(.)-38 2358 y(.)-38 2371 +y(.)-38 2384 y(.)-38 2397 y(.)-38 2410 y(.)-38 2423 y(.)-38 +2436 y(.)-38 2449 y(.)-38 2462 y(.)-38 2475 y(.)-38 2488 +y(.)-38 2500 y(.)-38 2513 y(.)-38 2526 y(.)-38 2539 y(.)-38 +2552 y(.)-38 2565 y(.)-38 2578 y(.)-38 2591 y(.)-38 2604 +y(.)-38 2617 y(.)-38 2630 y(.)-38 2643 y(.)-38 2656 y(.)-38 +2669 y(.)-38 2682 y(.)-38 2695 y(.)-38 2708 y(.)-38 2721 +y(.)-38 2734 y(.)-38 2747 y(.)-38 2760 y(.)-38 2773 y(.)-38 +2786 y(.)-38 2799 y(.)-38 2812 y(.)-38 2825 y(.)-38 2838 +y(.)-38 2851 y(.)-38 2864 y(.)-38 2877 y(.)-38 2890 y(.)-38 +2903 y(.)-38 2916 y(.)-38 2929 y(.)-38 2942 y(.)-38 2955 +y(.)-38 2967 y(.)-38 2980 y(.)-38 2993 y(.)-38 3006 y(.)-38 +3019 y(.)-38 3032 y(.)-38 3045 y(.)-38 3058 y(.)-38 3071 +y(.)-38 3084 y(.)-38 3097 y(.)-38 3110 y(.)-38 3123 y(.)-38 +3136 y(.)-38 3149 y(.)-38 3162 y(.)-38 3175 y(.)-38 3188 +y(.)-38 3201 y(.)-38 3214 y(.)-38 3227 y(.)-38 3240 y(.)-38 +3253 y(.)-38 3266 y(.)-38 3279 y(.)-38 3292 y(.)-38 3305 +y(.)-38 3318 y(.)-38 3331 y(.)-38 3344 y(.)-38 3357 y(.)-38 +3370 y(.)-38 3383 y(.)-38 3396 y(.)-38 3409 y(.)-38 3421 +y(.)-38 3434 y(.)-38 3447 y(.)-38 3460 y(.)-38 3473 y(.)-38 +3486 y(.)-38 3499 y(.)-38 3512 y(.)-38 3525 y(.)-38 3538 +y(.)-38 3551 y(.)-38 3564 y(.)-38 3577 y(.)-38 3590 y(.)-38 +3603 y(.)0 1132 y Fs(\(deftype)20 b(string-char)e(\(\))40 +1187 y Fn(')64 1183 y Fs(\(and)i(character)f(\(satisfies)g +(string-char-p\)\)\))0 1268 y Fw(See)c Fs(deftype)p Fw(.)-33 +1280 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1320 a(X3J13)e(v)o(oted)h(in)g(Marc)o(h)g(1989)f +Ft(h)p Fw(17)p Ft(i)g Fw(to)h(remo)o(v)o(e)f(the)h(t)o(yp)q(e)h +Fs(string-char)c Fw(and)j(the)-33 1292 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1372 a(function)g Fs(string-char-p)d Fw(from)h(the)i +(language.)-33 1384 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1424 a(It)d(is)g(not)h(a)f(go)q(o)q(d)g(idea)g(for)g(a) +g(predicate)h(app)q(earing)g(in)f(a)g Fs(satisfies)e +Fw(t)o(yp)q(e)j(sp)q(eci\014er)0 1476 y(to)i(cause)h(an)o(y)e(side)h +(e\013ects)i(when)f(in)o(v)o(ok)o(ed.)0 1624 y Fo(4.4.)20 +b(T)n(yp)r(e)15 b(Sp)r(eci\014ers)e(That)i(Com)n(bine)0 +1709 y Fw(The)20 b(follo)o(wing)e(t)o(yp)q(e)i(sp)q(eci\014er)i(lists)e +(de\014ne)h(a)f(t)o(yp)q(e)g(in)g(terms)g(of)f(other)i(t)o(yp)q(es)g +(or)0 1761 y(ob)r(jects.)0 1862 y Fs(\(member)f Fv(obje)n(ct1)h(obje)n +(ct2)g Fs(...\))0 1925 y Fw(This)15 b(denotes)i(the)f(set)g(con)o +(taining)f(precisely)h(those)g(ob)r(jects)h(named.)k(An)16 +b(ob)r(ject)g(is)0 1977 y(of)d(this)h(t)o(yp)q(e)h(if)e(and)g(only)g +(if)h(it)f(is)h Fs(eql)f Fw(to)h(one)g(of)f(the)i(sp)q(eci\014ed)g(ob)r +(jects.)p 0 2037 V 0 2097 a Fm(Compatibilit)o(y)e(note:)19 +b FA(This)c(is)f(roughly)i(equiv)n(alen)o(t)g(to)e(the)g(In)o(terlisp)i +(DECL)e(pac)o(k)n(age's)0 2143 y Fj(memq)p FA(.)p 0 2178 +V 0 2263 a Fs(\(eql)20 b Fv(obje)n(ct)p Fs(\))-33 2250 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a Fw(X3J13)13 b(v)o(oted)h(in)f(June)i(1988)d +Ft(h)p Fw(12)p Ft(i)h Fw(to)h(add)f(the)i Fs(eql)d Fw(t)o(yp)q(e)j(sp)q +(eci\014er.)k(It)14 b(ma)o(y)e(b)q(e)i(used)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 56 80 +56 79 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(56)77 b(COMMON)13 +b(LISP)0 295 y Fw(as)g(a)g(parameter)g(sp)q(ecializer)h(for)e(CLOS)i +(metho)q(ds)e(\(see)j(section)f(28.1.6.2)c(and)j Fs(find-)0 +347 y(method)p Fw(\).)k(It)c(denotes)h(the)g(set)f(of)g(the)h(one)f(ob) +r(ject)h(named;)d(an)i(ob)r(ject)h(is)f(of)f(this)h(t)o(yp)q(e)0 +399 y(if)i(and)g(only)g(if)g(it)g(is)h Fs(eql)e Fw(to)i +Fv(obje)n(ct)p Fw(.)23 b(While)15 b Fs(\(eql)20 b Fv(obje)n(ct)p +Fs(\))15 b Fw(denotes)i(the)f(same)f(t)o(yp)q(e)0 450 +y(as)j Fs(\(member)i Fv(obje)n(ct)p Fs(\))p Fw(,)f(only)e +Fs(\(eql)k Fv(obje)n(ct)p Fs(\))d Fw(ma)o(y)e(b)q(e)j(used)g(as)f(a)h +(CLOS)f(parameter)0 502 y(sp)q(ecializer.)-33 514 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 604 a Fs(\(not)i Fv(typ)n(e)p Fs(\))0 +667 y Fw(This)14 b(denotes)h(the)f(set)h(of)e(all)g(those)i(ob)r(jects) +g(that)f(are)g Fv(not)g Fw(of)g(the)g(sp)q(eci\014ed)h(t)o(yp)q(e.)0 +769 y Fs(\(and)20 b Fv(typ)n(e1)i(typ)n(e2)f Fs(...\))0 +832 y Fw(This)14 b(denotes)h(the)f(in)o(tersection)h(of)f(the)g(sp)q +(eci\014ed)h(t)o(yp)q(es.)p 0 891 V 0 952 a Fm(Compatibilit)o(y)e +(note:)19 b FA(This)c(is)f(roughly)i(equiv)n(alen)o(t)g(to)e(the)g(In)o +(terlisp)i(DECL)e(pac)o(k)n(age's)0 997 y Fj(allof)p +FA(.)p 0 1024 V 42 1094 a Fw(When)k Fs(typep)g Fw(pro)q(cesses)j(an)d +Fs(and)g Fw(t)o(yp)q(e)h(sp)q(eci\014er,)i(it)e(alw)o(a)o(ys)e(tests)j +(eac)o(h)f(of)f(the)0 1146 y(comp)q(onen)o(t)h(t)o(yp)q(es)i(in)f +(order)g(from)f(left)g(to)h(righ)o(t)g(and)g(stops)g(pro)q(cessing)i +(as)e(so)q(on)0 1198 y(as)c(one)g(comp)q(onen)o(t)f(of)g(the)h(in)o +(tersection)h(has)f(b)q(een)h(found)e(to)h(whic)o(h)f(the)i(ob)r(ject)f +(in)0 1250 y(question)c(do)q(es)h(not)f(b)q(elong.)17 +b(In)12 b(this)g(resp)q(ect)i(an)e Fs(and)f Fw(t)o(yp)q(e)i(sp)q +(eci\014er)h(is)e(similar)d(to)j(an)0 1302 y(executable)k +Fs(and)e Fw(form.)19 b(The)c(purp)q(ose)h(of)e(this)h(similarit)o(y)d +(is)i(to)h(allo)o(w)e(a)i Fs(satisfies)0 1354 y Fw(t)o(yp)q(e)e(sp)q +(eci\014er)i(to)e(dep)q(end)h(on)e(\014ltering)h(b)o(y)g(previous)g(t)o +(yp)q(e)g(sp)q(eci\014ers.)20 b(F)m(or)12 b(example,)0 +1405 y(supp)q(ose)i(there)h(w)o(ere)e(a)g(function)g +Fs(primep)f Fw(that)h(tak)o(es)g(an)g(in)o(teger)g(and)g(sa)o(ys)g +(whether)0 1457 y(it)h(is)g(prime.)19 b(Supp)q(ose)c(also)f(that)g(it)g +(is)h(an)f(error)h(to)g(giv)o(e)e(an)o(y)h(ob)r(ject)i(other)f(than)f +(an)0 1509 y(in)o(teger)g(to)g Fs(primep)p Fw(.)j(Then)d(the)h(t)o(yp)q +(e)f(sp)q(eci\014er)0 1611 y Fs(\(and)20 b(integer)g(\(satisfies)f +(primep\)\))0 1712 y Fw(is)12 b(guaran)o(teed)i(nev)o(er)f(to)g(result) +g(in)f(an)h(error)g(b)q(ecause)i(the)e(function)f Fs(primep)g +Fw(will)f(not)0 1764 y(b)q(e)17 b(in)o(v)o(ok)o(ed)e(unless)h(the)h(ob) +r(ject)g(in)e(question)i(has)f(already)f(b)q(een)i(determined)f(to)g(b) +q(e)0 1816 y(an)e(in)o(teger.)0 1918 y Fs(\(or)21 b Fv(typ)n(e1)g(typ)n +(e2)h Fs(...\))0 1981 y Fw(This)13 b(denotes)i(the)f(union)e(of)h(the)h +(sp)q(eci\014ed)h(t)o(yp)q(es.)j(F)m(or)13 b(example,)f(the)i(t)o(yp)q +(e)g Fs(list)e Fw(b)o(y)0 2033 y(de\014nition)17 b(is)f(the)i(same)e +(as)h Fs(\(or)k(null)f(cons\))p Fw(.)26 b(Also,)17 b(the)g(v)n(alue)g +(returned)h(b)o(y)f(the)0 2085 y(function)f Fs(position)e +Fw(is)i(alw)o(a)o(ys)f(of)g(t)o(yp)q(e)i Fs(\(or)j(null)h(\(integer)e +(0)i(*\)\))15 b Fw(\(either)i Fs(nil)0 2137 y Fw(or)d(a)f(non-negativ)o +(e)h(in)o(teger\).)p 0 2196 V 0 2257 a Fm(Compatibilit)o(y)f(note:)19 +b FA(This)c(is)f(roughly)i(equiv)n(alen)o(t)g(to)e(the)g(In)o(terlisp)i +(DECL)e(pac)o(k)n(age's)0 2302 y Fj(oneof)p FA(.)p 0 +2329 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 57 81 +57 80 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(TYPE)12 b(SPECIFIERS)1037 +b(57)42 295 y Fw(As)13 b(for)h Fs(and)p Fw(,)e(when)i +Fs(typep)e Fw(pro)q(cesses)17 b(an)c Fs(or)g Fw(t)o(yp)q(e)h(sp)q +(eci\014er,)h(it)e(alw)o(a)o(ys)f(tests)j(eac)o(h)0 347 +y(of)i(the)i(comp)q(onen)o(t)e(t)o(yp)q(es)h(in)g(order)g(from)e(left)i +(to)f(righ)o(t)h(and)f(stops)i(pro)q(cessing)g(as)0 399 +y(so)q(on)d(as)h(one)g(comp)q(onen)o(t)e(of)h(the)h(union)f(has)h(b)q +(een)g(found)f(to)h(whic)o(h)f(the)h(ob)r(ject)g(in)0 +450 y(question)d(b)q(elongs.)0 587 y Fo(4.5.)20 b(T)n(yp)r(e)15 +b(Sp)r(eci\014ers)e(That)i(Sp)r(ecialize)0 668 y Fw(Some)f(t)o(yp)q(e)h +(sp)q(eci\014er)i(lists)e(denote)g Fv(sp)n(e)n(cializations)g +Fw(of)f(data)h(t)o(yp)q(es)h(named)d(b)o(y)i(sym-)0 720 +y(b)q(ols.)j(These)c(sp)q(ecializations)g(ma)o(y)d(b)q(e)j(re\015ected) +i(b)o(y)d(more)g(e\016cien)o(t)h(represen)o(tations)0 +772 y(in)g(the)h(underlying)f(implem)o(en)o(tation.)j(As)d(an)g +(example,)f(consider)i(the)g(t)o(yp)q(e)g Fs(\(array)0 +824 y(short-float\))p Fw(.)22 b(Implemen)o(tation)14 +b(A)i(ma)o(y)e(c)o(ho)q(ose)j(to)f(pro)o(vide)g(a)g(sp)q(ecialized)h +(rep-)0 876 y(resen)o(tation)d(for)f(arra)o(ys)h(of)e(short)i +(\015oating-p)q(oin)o(t)e(n)o(um)o(b)q(ers,)g(and)i(implem)o(en)o +(tation)c(B)0 928 y(ma)o(y)i(c)o(ho)q(ose)j(not)e(to.)42 +980 y(If)20 b(y)o(ou)g(should)g(w)o(an)o(t)g(to)g(create)i(an)e(arra)o +(y)h(for)f(the)h(express)h(purp)q(ose)g(of)e(hold-)0 +1032 y(ing)d(only)g(short-\015oat)h(ob)r(jects,)h(y)o(ou)e(ma)o(y)f +(optionally)g(sp)q(ecify)i(to)g Fs(make-array)d Fw(the)0 +1083 y(elemen)o(t)h(t)o(yp)q(e)h Fs(short-float)p Fw(.)24 +b(This)17 b(do)q(es)g(not)f Fv(r)n(e)n(quir)n(e)g Fs(make-array)e +Fw(to)j(create)h(an)0 1135 y(ob)r(ject)11 b(of)e(t)o(yp)q(e)i +Fs(\(array)20 b(short-float\))p Fw(;)8 b(it)h(merely)g +Fv(p)n(ermits)h Fw(it.)16 b(The)10 b(request)i(is)e(con-)0 +1187 y(strued)j(to)f(mean)e(\\Pro)q(duce)j(the)g(most)d(sp)q(ecialized) +j(arra)o(y)e(represen)o(tation)j(capable)d(of)0 1239 +y(holding)k(short-\015oats)j(that)e(the)i(implem)o(en)o(tation)c(can)j +(pro)o(vide.")26 b(Implemen)o(tation)0 1291 y(A)16 b(will)f(then)i(pro) +q(duce)g(a)f(sp)q(ecialized)g(arra)o(y)g(of)g(t)o(yp)q(e)g +Fs(\(array)k(short-float\))p Fw(,)14 b(and)0 1343 y(implemen)o(tatio)o +(n)d(B)k(will)d(pro)q(duce)j(an)f(ordinary)f(arra)o(y)h(of)f(t)o(yp)q +(e)h Fs(\(array)20 b(t\))p Fw(.)42 1395 y(If)d(one)i(w)o(ere)g(then)g +(to)f(ask)g(whether)i(the)f(arra)o(y)f(w)o(ere)h(actually)f(of)f(t)o +(yp)q(e)i Fs(\(array)0 1447 y(short-float\))p Fw(,)f(implemen)o(tation) +e(A)k(w)o(ould)f(sa)o(y)h(\\y)o(es,")g(but)g(implemen)o(tation)c(B)0 +1499 y(w)o(ould)j(sa)o(y)g(\\no.")34 b(This)20 b(is)f(a)g(prop)q(ert)o +(y)h(of)f Fs(make-array)f Fw(and)h(similar)e(functions:)0 +1550 y(what)d(y)o(ou)f(ask)h(for)g(is)f(not)h(necessarily)h(what)f(y)o +(ou)f(get.)42 1602 y(T)o(yp)q(es)19 b(can)g(therefore)i(b)q(e)e(used)h +(for)f(t)o(w)o(o)f(di\013eren)o(t)i(purp)q(oses:)30 b +Fv(de)n(clar)n(ation)19 b Fw(and)-38 1577 y Fk(.)-38 +1590 y(.)-38 1603 y(.)-38 1616 y(.)-38 1629 y(.)-38 1642 +y(.)-38 1655 y(.)-38 1668 y(.)-38 1681 y(.)-38 1694 y(.)-38 +1707 y(.)-38 1720 y(.)-38 1733 y(.)-38 1746 y(.)-38 1759 +y(.)-38 1772 y(.)-38 1785 y(.)-38 1798 y(.)-38 1811 y(.)-38 +1824 y(.)-38 1837 y(.)-38 1850 y(.)-38 1863 y(.)-38 1876 +y(.)-38 1889 y(.)-38 1902 y(.)-38 1915 y(.)-38 1928 y(.)-38 +1941 y(.)-38 1953 y(.)-38 1966 y(.)-38 1979 y(.)-38 1992 +y(.)-38 2005 y(.)-38 2018 y(.)-38 2031 y(.)-38 2044 y(.)-38 +2057 y(.)-38 2070 y(.)-38 2083 y(.)-38 2096 y(.)-38 2109 +y(.)-38 2122 y(.)-38 2135 y(.)-38 2148 y(.)-38 2161 y(.)-38 +2174 y(.)-38 2187 y(.)-38 2200 y(.)-38 2213 y(.)-38 2226 +y(.)-38 2239 y(.)-38 2252 y(.)-38 2265 y(.)-38 2278 y(.)-38 +2291 y(.)-38 2304 y(.)-38 2317 y(.)-38 2330 y(.)-38 2343 +y(.)-38 2356 y(.)-38 2369 y(.)-38 2382 y(.)-38 2395 y(.)-38 +2408 y(.)-38 2420 y(.)-38 2433 y(.)-38 2446 y(.)-38 2459 +y(.)-38 2472 y(.)-38 2485 y(.)-38 2498 y(.)-38 2511 y(.)-38 +2524 y(.)-38 2537 y(.)-38 2550 y(.)-38 2563 y(.)-38 2576 +y(.)-38 2589 y(.)-38 2602 y(.)-38 2615 y(.)-38 2628 y(.)-38 +2641 y(.)-38 2654 y(.)-38 2667 y(.)-38 2680 y(.)-38 2693 +y(.)-38 2706 y(.)-38 2719 y(.)-38 2732 y(.)-38 2745 y(.)-38 +2758 y(.)-38 2771 y(.)-38 2784 y(.)-38 2797 y(.)-38 2810 +y(.)-38 2823 y(.)-38 2836 y(.)-38 2849 y(.)-38 2862 y(.)-38 +2875 y(.)-38 2887 y(.)-38 2900 y(.)-38 2913 y(.)-38 2926 +y(.)-38 2939 y(.)-38 2952 y(.)-38 2965 y(.)-38 2978 y(.)-38 +2991 y(.)-38 3004 y(.)-38 3017 y(.)-38 3030 y(.)-38 3043 +y(.)-38 3056 y(.)-38 3069 y(.)-38 3082 y(.)-38 3095 y(.)-38 +3108 y(.)-38 3121 y(.)-38 3134 y(.)-38 3147 y(.)-38 3160 +y(.)-38 3173 y(.)-38 3186 y(.)-38 3199 y(.)-38 3212 y(.)-38 +3225 y(.)-38 3238 y(.)-38 3251 y(.)-38 3264 y(.)-38 3277 +y(.)-38 3290 y(.)-38 3303 y(.)-38 3316 y(.)-38 3329 y(.)-38 +3342 y(.)-38 3354 y(.)-38 3367 y(.)-38 3380 y(.)-38 3393 +y(.)-38 3406 y(.)-38 3419 y(.)-38 3432 y(.)-38 3445 y(.)-38 +3458 y(.)-38 3471 y(.)-38 3484 y(.)-38 3497 y(.)-38 3510 +y(.)-38 3523 y(.)-38 3536 y(.)-38 3549 y(.)-38 3562 y(.)-38 +3575 y(.)-38 3588 y(.)-38 3601 y(.)-38 3614 y(.)-38 3627 +y(.)-38 3640 y(.)-38 3653 y(.)-38 3666 y(.)-38 3679 y(.)-38 +3692 y(.)-38 3705 y(.)-38 3718 y(.)-38 3731 y(.)-38 3744 +y(.)-38 3757 y(.)-38 3770 y(.)-38 3783 y(.)-38 3796 y(.)-38 +3809 y(.)-38 3821 y(.)-38 3834 y(.)-38 3847 y(.)-38 3860 +y(.)-38 3873 y(.)-38 3886 y(.)-38 3899 y(.)-38 3912 y(.)-38 +3925 y(.)-38 3938 y(.)-38 3951 y(.)-38 3964 y(.)-38 3977 +y(.)-38 3990 y(.)-38 4003 y(.)-38 4016 y(.)-38 4029 y(.)-38 +4042 y(.)-38 4055 y(.)-38 4068 y(.)-38 4081 y(.)-38 4094 +y(.)-38 4107 y(.)-38 4120 y(.)-38 4133 y(.)-38 4146 y(.)-38 +4159 y(.)0 1654 y Fv(discrimination)p Fw(.)e(Declaring)11 +b(to)g Fs(make-array)f Fw(that)i(elemen)o(ts)f(will)f(alw)o(a)o(ys)h(b) +q(e)h(of)f(t)o(yp)q(e)0 1706 y Fs(short-float)g Fw(p)q(ermits)i +(optimization.)i(Similarly)l(,)10 b(declaring)j(that)h(a)f(v)n(ariable) +f(tak)o(es)0 1758 y(on)h(v)n(alues)h(of)f(t)o(yp)q(e)h +Fs(\(array)20 b(short-float\))11 b Fw(amoun)o(ts)h(to)h(sa)o(ying)g +(that)h(the)g(v)n(ariable)0 1810 y(will)c(tak)o(e)h(on)h(v)n(alues)f +(that)g(migh)o(t)f(b)q(e)i(pro)q(duced)h(b)o(y)e(sp)q(ecifying)g +(elemen)o(t)g(t)o(yp)q(e)h Fs(short-)0 1862 y(float)i +Fw(to)i Fs(make-array)p Fw(.)k(On)c(the)g(other)g(hand,)f(if)f(the)i +(predicate)h Fs(typep)d Fw(is)i(used)g(to)0 1914 y(test)c(whether)h(an) +d(ob)r(ject)i(is)f(of)g(t)o(yp)q(e)g Fs(\(array)20 b(short-float\))p +Fw(,)9 b(only)h(ob)r(jects)j(actually)0 1966 y(of)j(that)g(sp)q +(ecialized)h(t)o(yp)q(e)g(can)f(satisfy)h(the)f(test;)j(in)c(implemen)o +(tation)e(B)k(no)f(ob)r(ject)0 2017 y(can)e(pass)h(that)e(test.)-33 +2029 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2069 a(X3J13)18 b(v)o(oted)g(in)g(Jan)o(uary)g(1989)f +Ft(h)p Fw(8)p Ft(i)i Fw(to)f(eliminate)e(the)j(di\013ering)f(treatmen)o +(t)g(of)-33 2041 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2121 a(t)o(yp)q(es)i(when)f(used)g(\\for)f +(discrimination")e(rather)k(than)f(\\for)f(declaration")g(on)g(the)0 +2173 y(grounds)d(that)g(implem)o(en)o(tors)e(ha)o(v)o(e)i(not)f +(treated)i(the)f(distinction)g(consisten)o(tly)g(and)0 +2225 y(\(whic)o(h)f(is)g(more)f(imp)q(ortan)o(t\))f(users)j(ha)o(v)o(e) +f(found)f(the)i(distinction)e(confusing.)42 2277 y(As)j(a)f +(consequence)j(of)d(this)h(c)o(hange,)g(the)g(b)q(eha)o(vior)g(of)f +Fs(typep)f Fw(and)i Fs(subtypep)e Fw(on)0 2329 y Fs(array)f +Fw(and)h Fs(complex)e Fw(t)o(yp)q(e)j(sp)q(eci\014ers)h(m)o(ust)d(b)q +(e)i(mo)q(di\014ed.)i(See)e(the)f(descriptions)h(of)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 58 82 +58 81 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(58)77 b(COMMON)13 +b(LISP)0 295 y Fw(those)k(functions.)25 b(In)16 b(particular,)g(under)h +(their)g(new)g(b)q(eha)o(vior,)f(implem)o(en)o(tation)d(B)0 +347 y(w)o(ould)g(sa)o(y)h(\\y)o(es,")f(agreeing)h(with)g(implem)o(en)o +(tation)d(A,)j(in)f(the)h(discussion)h(ab)q(o)o(v)o(e.)42 +399 y(Note)h(that)g(the)h(distinction)e(b)q(et)o(w)o(een)j(declaration) +d(and)h(discrimination)e(remains)0 451 y(useful,)i(if)f(only)g(so)h +(that)g(w)o(e)g(ma)o(y)e(remark)h(that)h(the)g(sp)q(ecialized)h +(\(list\))f(form)e(of)h(the)0 503 y Fs(function)i Fw(t)o(yp)q(e)i(sp)q +(eci\014er)h(ma)o(y)d(still)h(b)q(e)h(used)h(only)d(for)i(declaration)f +(and)h(not)f(for)0 554 y(discrimination.)-33 566 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 607 a(X3J13)13 b(v)o(oted)g(in)g(June)h(1988)f +Ft(h)p Fw(90)p Ft(i)g Fw(to)g(clarify)f(that)i(while)f(the)h(sp)q +(ecialized)g(form)d(of)-33 578 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 659 a(the)k Fs(function)e Fw(t)o(yp)q(e)i(sp)q +(eci\014er)h(\(a)e(list)g(of)g(the)h(sym)o(b)q(ol)d Fs(function)h +Fw(p)q(ossibly)h(follo)o(w)o(ed)0 710 y(b)o(y)f(argumen)o(t)g(and)g(v)n +(alue)g(t)o(yp)q(e)i(sp)q(eci\014ers\))h(ma)o(y)11 b(b)q(e)j(used)h +(only)e(for)g(declaration,)g(the)0 762 y(sym)o(b)q(ol)f(form)g +(\(simply)g(the)j(name)d Fs(function)p Fw(\))h(ma)o(y)f(b)q(e)i(used)h +(for)e(discrimination.)-33 774 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 815 a(The)h(v)n(alid)e(list-format)g(names)h(for)g +(data)h(t)o(yp)q(es)h(are)f(as)g(follo)o(ws:)0 919 y +Fs(\(array)20 b Fv(element-typ)n(e)h(dimensions)p Fs(\))0 +978 y Fw(This)14 b(denotes)i(the)f(set)g(of)f(sp)q(ecialized)h(arra)o +(ys)g(whose)g(elemen)o(ts)f(are)h(all)e(mem)o(b)q(ers)g(of)0 +1030 y(the)h(t)o(yp)q(e)h Fv(element-typ)n(e)e Fw(and)h(whose)h +(dimensions)d(matc)o(h)h Fv(dimensions)p Fw(.)18 b(F)m(or)c(declara-)0 +1082 y(tion)c(purp)q(oses,)h(this)f(t)o(yp)q(e)h(encompasses)g(those)g +(arra)o(ys)f(that)g(can)g(result)h(b)o(y)f(sp)q(ecifying)0 +1134 y Fv(element-typ)n(e)h Fw(as)g(the)h(elemen)o(t)f(t)o(yp)q(e)h(to) +f(the)h(function)f Fs(make-array)p Fw(;)e(this)j(ma)o(y)d(b)q(e)j(dif-) +0 1186 y(feren)o(t)18 b(from)d(what)i(the)g(t)o(yp)q(e)g(means)f(for)h +(discrimination)d(purp)q(oses.)29 b Fv(element-typ)n(e)0 +1238 y Fw(m)o(ust)19 b(b)q(e)i(a)f(v)n(alid)f(t)o(yp)q(e)h(sp)q +(eci\014er)i(or)f(unsp)q(eci\014ed.)38 b Fv(dimensions)21 +b Fw(ma)o(y)d(b)q(e)j(a)f(non-)0 1289 y(negativ)o(e)d(in)o(teger,)i +(whic)o(h)e(is)g(the)h(n)o(um)o(b)q(er)f(of)g(dimensions,)f(or)i(it)f +(ma)o(y)e(b)q(e)j(a)f(list)g(of)0 1341 y(non-negativ)o(e)d(in)o(tegers) +i(represen)o(ting)g(the)g(length)e(of)g(eac)o(h)i(dimension)d(\(an)o(y) +h(dimen-)0 1393 y(sion)g(ma)o(y)d(b)q(e)k(unsp)q(eci\014ed)h +(instead\),)d(or)h(it)g(ma)o(y)e(b)q(e)i(unsp)q(eci\014ed.)20 +b(F)m(or)13 b(example:)0 1498 y Fs(\(array)20 b(integer)g(3\))232 +b(;)p Fw(Three-dimensional)12 b(arra)o(ys)i(of)g(in)o(tegers)0 +1550 y Fs(\(array)20 b(integer)g(\(*)g(*)h(*\)\))106 +b(;)p Fw(Three-dimensional)12 b(arra)o(ys)i(of)f(in)o(tegers)0 +1602 y Fs(\(array)20 b(*)h(\(4)g(5)g(6\)\))232 b(;)p +Fw(4-b)o(y-5-b)o(y-6)12 b(arra)o(ys)0 1654 y Fs(\(array)20 +b(character)f(\(3)i(*\)\))105 b(;)p Fw(Tw)o(o-dimensional)11 +b(arra)o(ys)j(of)f(c)o(haracters)593 1705 y Fs(;)21 b +Fw(that)14 b(ha)o(v)o(e)f(exactly)h(three)i(ro)o(ws)0 +1757 y Fs(\(array)k(short-float)f(\(\)\))126 b(;)p Fw(Zero-rank)15 +b(arra)o(ys)f(of)f(short-format)593 1809 y Fs(;)21 b +Fw(\015oating-p)q(oin)o(t)12 b(n)o(um)o(b)q(ers)0 1914 +y(Note)18 b(that)g Fs(\(array)i(t\))d Fw(is)h(a)f(prop)q(er)i(subset)g +(of)e Fs(\(array)j(*\))p Fw(.)29 b(The)18 b(reason)g(is)g(that)0 +1966 y Fs(\(array)i(t\))10 b Fw(is)h(the)g(set)g(of)f(arra)o(ys)h(that) +g(can)g(hold)f(an)o(y)g(Common)d(Lisp)k(ob)r(ject)g(\(the)h(ele-)0 +2017 y(men)o(ts)d(are)h(of)e(t)o(yp)q(e)i Fs(t)p Fw(,)g(whic)o(h)f +(includes)h(all)e(ob)r(jects\).)18 b(On)10 b(the)g(other)g(hand,)f +Fs(\(array)20 b(*\))0 2069 y Fw(is)11 b(the)g(set)h(of)e(all)f(arra)o +(ys)i(whatso)q(ev)o(er,)h(including,)e(for)g(example,)g(arra)o(ys)h +(that)f(can)h(hold)0 2121 y(only)j(c)o(haracters.)22 +b(No)o(w)14 b Fs(\(array)20 b(character\))12 b Fw(is)j(not)f(a)g +(subset)i(of)e Fs(\(array)20 b(t\))p Fw(;)14 b(the)0 +2173 y(t)o(w)o(o)g(sets)i(are)f(in)f(fact)g(disjoin)o(t)f(b)q(ecause)k +Fs(\(array)j(character\))12 b Fw(is)i(not)h(the)g(set)g(of)f(all)0 +2225 y(arra)o(ys)h(that)f(can)h(hold)f(c)o(haracters)j(but)e(rather)g +(the)g(set)h(of)e(arra)o(ys)h(that)g(are)g(sp)q(ecial-)0 +2277 y(ized)j(to)f(hold)g(precisely)h(c)o(haracters)h(and)e(no)h(other) +g(ob)r(jects.)29 b(T)m(o)17 b(test)h(whether)h(an)0 2329 +y(arra)o(y)14 b Fs(foo)f Fw(can)h(hold)f(a)h(c)o(haracter,)h(one)f +(should)f(not)h(use)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 59 83 +59 82 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(TYPE)12 b(SPECIFIERS)1037 +b(59)0 295 y Fs(\(typep)20 b(foo)236 299 y Fn(')260 295 +y Fs(\(array)g(character\)\))0 410 y Fw(but)14 b(rather)0 +527 y Fs(\(subtypep)215 531 y Fn(')238 527 y Fs(character)20 +b(\(array-element-t)o(ype)e(foo\)\))0 643 y Fw(See)d +Fs(array-element-ty)o(pe)p Fw(.)42 696 y(X3J13)h(v)o(oted)h(in)f(Jan)o +(uary)g(1989)g Ft(h)p Fw(8)p Ft(i)h Fw(to)f(c)o(hange)h +Fs(typep)f Fw(and)g Fs(subtypep)f Fw(so)i(that)-33 668 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 748 a(the)e(sp)q(ecialized)g Fs(array)f +Fw(t)o(yp)q(e)h(sp)q(eci\014er)h(means)e(the)h(same)f(thing)g(for)g +(discrimination)0 800 y(as)h(for)g(declaration:)20 b(it)15 +b(encompasses)h(those)g(arra)o(ys)f(that)h(can)f(result)h(b)o(y)f(sp)q +(ecifying)0 852 y Fv(element-typ)n(e)k Fw(as)g(the)g(elemen)o(t)g(t)o +(yp)q(e)g(to)g(the)g(function)g Fs(make-array)p Fw(.)31 +b(Under)20 b(this)0 904 y(in)o(terpretation)12 b Fs(\(array)20 +b(character\))10 b Fw(migh)o(t)f(b)q(e)j(the)h(same)d(t)o(yp)q(e)j(as)e +Fs(\(array)20 b(t\))12 b Fw(\(al-)0 955 y(though)i(it)f(also)g(migh)o +(t)f(not)h(b)q(e)i(the)f(same\).)j(See)e Fs(upgraded-array-el)o(emen)o +(t-typ)o(e)p Fw(.)0 1007 y(Ho)o(w)o(ev)o(er,)0 1124 y +Fs(\(typep)20 b(foo)236 1128 y Fn(')260 1124 y Fs(\(array)g +(character\)\))0 1240 y Fw(is)d(still)f(not)g(a)h(legitimate)e(test)i +(of)g(whether)h(the)f(arra)o(y)g Fs(foo)f Fw(can)h(hold)f(a)h(c)o +(haracter;)0 1292 y(one)d(m)o(ust)f(still)g(sa)o(y)0 +1409 y Fs(\(subtypep)215 1413 y Fn(')238 1409 y Fs(character)20 +b(\(array-element-t)o(ype)e(foo\)\))0 1524 y Fw(to)c(determine)g(that)g +(question.)42 1577 y(X3J13)j(also)f(v)o(oted)i(in)f(Jan)o(uary)g(1989)g +Ft(h)p Fw(43)p Ft(i)g Fw(to)g(sp)q(ecify)h(that)g(within)f(the)h +(lexical)0 1629 y(scop)q(e)e(of)f(an)g(arra)o(y)f(t)o(yp)q(e)i +(declaration,)f(it)f(is)h(an)g(error)h(for)f(an)g(arra)o(y)g(elemen)o +(t,)f(when)0 1681 y(referenced,)21 b(not)c(to)g(b)q(e)i(of)d(the)j +(exact)f(declared)g(elemen)o(t)f(t)o(yp)q(e.)30 b(A)17 +b(compiler)g(ma)o(y)m(,)0 1733 y(for)j(example,)f(treat)i(ev)o(ery)g +(reference)h(to)e(an)g(elemen)o(t)f(of)g(a)h(declared)h(arra)o(y)f(as)g +(if)0 1785 y(the)c(reference)j(w)o(ere)d(surrounded)h(b)o(y)f(a)f +Fs(the)g Fw(form)f(men)o(tioning)g(the)i(declared)h(arra)o(y)0 +1837 y(elemen)o(t)c(t)o(yp)q(e)i(\()p Fv(not)f Fw(the)h(upgraded)f +(arra)o(y)g(elemen)o(t)f(t)o(yp)q(e\).)19 b(Th)o(us)0 +1954 y Fs(\(defun)h(snarf-hex-digits)e(\(the-array\))42 +2006 y(\(declare)i(\(type)g(\(array)g(\(unsigned-byte)e(4\))j(1\))g +(the-array\)\))42 2058 y(\(do)g(\(\(j)f(\(-)h(\(length)f(array\))g(1\)) +h(\(-)f(j)h(1\)\))148 2110 y(\(val)g(0)g(\(logior)e(\(ash)i(val)f(4\)) +466 2161 y(\(aref)g(the-array)f(j\)\)\)\))127 2213 y(\(\(<)i(j)g(0\))f +(val\)\)\))0 2329 y Fw(ma)o(y)12 b(b)q(e)i(treated)i(as)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 60 84 +60 83 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(60)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(defun)20 b(snarf-hex-digits)e(\(the-array\))42 +347 y(\(declare)i(\(type)g(\(array)g(\(unsigned-byte)e(4\))j(1\))g +(the-array\)\))42 399 y(\(do)g(\(\(j)f(\(-)h(\(length)f(array\))g(1\))h +(\(-)f(j)h(1\)\))148 450 y(\(val)g(0)g(\(logior)e(\(ash)i(val)f(4\))466 +502 y(\(the)g(\(unsigned-byte)e(4\))572 554 y(\(aref)i(the-array)f +(j\)\)\)\)\))127 606 y(\(\(<)i(j)g(0\))f(val\)\)\))0 +709 y Fw(The)d(declaration)f(amoun)o(ts)f(to)h(a)g(promise)f(b)o(y)i +(the)g(user)g(that)f(the)h Fs(aref)f Fw(will)f(nev)o(er)0 +761 y(pro)q(duce)g(a)f(v)n(alue)f(outside)i(the)f(in)o(terv)n(al)g(0)f +(to)h(15,)f(ev)o(en)i(if)e(in)h(that)g(particular)g(imple-)0 +813 y(men)o(tation)i(the)i(arra)o(y)g(elemen)o(t)f(t)o(yp)q(e)h +Fs(\(unsigned-byte)g(4\))f Fw(is)h(upgraded)g(to,)g(sa)o(y)m(,)0 +864 y Fs(\(unsigned-byte)g(8\))p Fw(.)i(If)15 b(suc)o(h)g(upgrading)f +(do)q(es)h(o)q(ccur,)h(then)f(v)n(alues)g(outside)g(that)0 +916 y(range)e(ma)o(y)e(in)h(fact)h(b)q(e)g(stored)h(in)e +Fs(the-array)p Fw(,)f(as)i(long)f(as)h(the)g(co)q(de)h(in)e +Fs(snarf-hex-)0 968 y(digits)h Fw(nev)o(er)h(sees)i(them.)42 +1020 y(As)e(a)f(general)i(rule,)e(a)h(compiler)e(w)o(ould)h(b)q(e)i +(justi\014ed)f(in)f(transforming)0 1123 y Fs(\(aref)20 +b(\(the)g(\(array)g Fv(elt-typ)n(e)h Fs(...\))f Fv(a)p +Fs(\))i(...\))0 1226 y Fw(in)o(to)0 1329 y Fs(\(the)e +Fv(elt-typ)n(e)h Fs(\(aref)f(\(the)g(\(array)g Fv(elt-typ)n(e)h +Fs(...\))f Fv(a)p Fs(\))i(...\))0 1431 y Fw(It)j(ma)o(y)e(also)h(mak)o +(e)f(inferences)k(in)o(v)o(olving)22 b(more)i(complex)g(functions,)j +(suc)o(h)f(as)0 1483 y Fs(position)17 b Fw(or)i Fs(find)p +Fw(.)31 b(F)m(or)19 b(example,)f Fs(find)g Fw(applied)g(to)h(an)f(arra) +o(y)g(alw)o(a)o(ys)g(returns)0 1535 y(either)d Fs(nil)e +Fw(or)h(an)f(ob)r(ject)i(whose)g(t)o(yp)q(e)f(is)g(the)g(elemen)o(t)g +(t)o(yp)q(e)g(of)f(the)i(arra)o(y)m(.)-33 1547 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1638 a Fs(\(simple-array)j Fv(element-typ)n(e)k +(dimensions)p Fs(\))0 1701 y Fw(This)15 b(is)h(equiv)n(alen)o(t)f(to)g +Fs(\(array)20 b Fv(element)p Fs(-)p Fv(typ)n(e)h(dimensions)p +Fs(\))16 b Fw(except)h(that)e(it)h(addi-)0 1753 y(tionally)c(sp)q +(eci\014es)k(that)e(ob)r(jects)h(of)e(the)i(t)o(yp)q(e)f(are)g +Fv(simple)g Fw(arra)o(ys)g(\(see)h(section)g(2.5\).)0 +1856 y Fs(\(vector)20 b Fv(element-typ)n(e)h(size)p Fs(\))0 +1915 y Fw(This)f(denotes)g(the)h(set)f(of)f(sp)q(ecialized)i +(one-dimensional)c(arra)o(ys)j(whose)g(elemen)o(ts)0 +1966 y(are)e(all)e(of)g(t)o(yp)q(e)i Fv(element-typ)n(e)f +Fw(and)g(whose)h(lengths)g(matc)o(h)e Fv(size)p Fw(.)27 +b(This)18 b(is)f(en)o(tirely)0 2018 y(equiv)n(alen)o(t)c(to)h +Fs(\(array)20 b Fv(element)p Fs(-)p Fv(typ)n(e)h Fs(\()p +Fv(size)p Fs(\)\))p Fw(.)c(F)m(or)d(example:)0 2121 y +Fs(\(vector)20 b(double-float\))103 b(;)p Fw(V)m(ectors)15 +b(of)e(double-format)550 2173 y Fs(;)21 b Fw(\015oating-p)q(oin)o(t)13 +b(n)o(um)o(b)q(ers)0 2225 y Fs(\(vector)20 b(*)h(5\))296 +b(;)p Fw(V)m(ectors)14 b(of)g(length)g(5)0 2277 y Fs(\(vector)20 +b(t)h(5\))296 b(;)p Fw(General)13 b(v)o(ectors)i(of)f(length)g(5)0 +2329 y Fs(\(vector)20 b(\(mod)g(32\))h(*\))147 b(;)p +Fw(V)m(ectors)15 b(of)e(in)o(tegers)i(b)q(et)o(w)o(een)g(0)f(and)g(31) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 61 85 +61 84 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(TYPE)12 b(SPECIFIERS)1037 b(61)42 295 y Fw(The)20 +b(sp)q(ecialized)g(t)o(yp)q(es)h Fs(\(vector)e(string-char\))f +Fw(and)h Fs(\(vector)h(bit\))f Fw(are)h(so)-38 270 y +Fk(.)-38 283 y(.)-38 296 y(.)-38 309 y(.)-38 322 y(.)-38 +335 y(.)-38 348 y(.)-38 361 y(.)-38 373 y(.)-38 386 y(.)-38 +399 y(.)-38 412 y(.)-38 425 y(.)-38 438 y(.)-38 451 y(.)-38 +464 y(.)-38 477 y(.)-38 490 y(.)-38 503 y(.)-38 516 y(.)-38 +529 y(.)-38 542 y(.)-38 555 y(.)-38 568 y(.)-38 581 y(.)-38 +594 y(.)-38 607 y(.)-38 620 y(.)-38 633 y(.)-38 646 y(.)-38 +659 y(.)-38 672 y(.)-38 685 y(.)-38 698 y(.)-38 711 y(.)-38 +724 y(.)-38 737 y(.)-38 750 y(.)-38 763 y(.)-38 776 y(.)-38 +789 y(.)-38 802 y(.)-38 815 y(.)-38 828 y(.)-38 840 y(.)-38 +853 y(.)-38 866 y(.)-38 879 y(.)-38 892 y(.)-38 905 y(.)-38 +918 y(.)-38 931 y(.)-38 944 y(.)-38 957 y(.)-38 970 y(.)-38 +983 y(.)-38 996 y(.)-38 1009 y(.)-38 1022 y(.)-38 1035 +y(.)-38 1048 y(.)-38 1061 y(.)-38 1074 y(.)-38 1087 y(.)-38 +1100 y(.)-38 1113 y(.)-38 1126 y(.)-38 1139 y(.)-38 1152 +y(.)-38 1165 y(.)-38 1178 y(.)-38 1191 y(.)-38 1204 y(.)-38 +1217 y(.)-38 1230 y(.)-38 1243 y(.)-38 1256 y(.)-38 1269 +y(.)-38 1282 y(.)-38 1295 y(.)-38 1307 y(.)-38 1320 y(.)-38 +1333 y(.)-38 1346 y(.)-38 1359 y(.)-38 1372 y(.)-38 1385 +y(.)-38 1398 y(.)-38 1411 y(.)-38 1424 y(.)-38 1437 y(.)-38 +1450 y(.)-38 1463 y(.)-38 1476 y(.)-38 1489 y(.)-38 1502 +y(.)-38 1515 y(.)-38 1528 y(.)-38 1541 y(.)-38 1554 y(.)-38 +1567 y(.)-38 1580 y(.)-38 1593 y(.)-38 1606 y(.)-38 1619 +y(.)-38 1632 y(.)-38 1645 y(.)-38 1658 y(.)-38 1671 y(.)-38 +1684 y(.)-38 1697 y(.)-38 1710 y(.)-38 1723 y(.)-38 1736 +y(.)-38 1749 y(.)-38 1762 y(.)-38 1774 y(.)-38 1787 y(.)-38 +1800 y(.)-38 1813 y(.)-38 1826 y(.)-38 1839 y(.)-38 1852 +y(.)-38 1865 y(.)-38 1878 y(.)-38 1891 y(.)-38 1904 y(.)-38 +1917 y(.)-38 1930 y(.)-38 1943 y(.)-38 1956 y(.)-38 1969 +y(.)-38 1982 y(.)-38 1995 y(.)-38 2008 y(.)-38 2021 y(.)-38 +2034 y(.)-38 2047 y(.)-38 2060 y(.)-38 2073 y(.)-38 2086 +y(.)-38 2099 y(.)-38 2112 y(.)-38 2125 y(.)-38 2138 y(.)-38 +2151 y(.)-38 2164 y(.)-38 2177 y(.)-38 2190 y(.)-38 2203 +y(.)-38 2216 y(.)-38 2229 y(.)-38 2241 y(.)-38 2254 y(.)-38 +2267 y(.)-38 2280 y(.)-38 2293 y(.)-38 2306 y(.)-38 2319 +y(.)-38 2332 y(.)-38 2345 y(.)-38 2358 y(.)-38 2371 y(.)-38 +2384 y(.)-38 2397 y(.)-38 2410 y(.)-38 2423 y(.)-38 2436 +y(.)-38 2449 y(.)-38 2462 y(.)-38 2475 y(.)-38 2488 y(.)-38 +2501 y(.)-38 2514 y(.)-38 2527 y(.)-38 2540 y(.)-38 2553 +y(.)-38 2566 y(.)-38 2579 y(.)-38 2592 y(.)-38 2605 y(.)-38 +2618 y(.)-38 2631 y(.)-38 2644 y(.)-38 2657 y(.)-38 2670 +y(.)-38 2683 y(.)-38 2696 y(.)-38 2708 y(.)-38 2721 y(.)-38 +2734 y(.)-38 2747 y(.)-38 2760 y(.)-38 2773 y(.)-38 2786 +y(.)-38 2799 y(.)-38 2812 y(.)-38 2825 y(.)-38 2838 y(.)-38 +2851 y(.)0 347 y Fw(useful)15 b(that)g(they)g(ha)o(v)o(e)f(the)i(sp)q +(ecial)e(names)g Fs(string)g Fw(and)g Fs(bit-vector)p +Fw(.)19 b(Ev)o(ery)c(im-)0 399 y(plemen)o(tation)10 b(of)i(Common)d +(Lisp)j(m)o(ust)f(pro)o(vide)h(distinct)g(represen)o(tations)i(for)e +(these)0 450 y(as)i(distinct)g(sp)q(ecialized)h(data)e(t)o(yp)q(es.)-33 +462 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 502 a(X3J13)j(v)o(oted)h(in)g(Marc)o(h)g(1989)f +Ft(h)p Fw(11)p Ft(i)h Fw(to)f(eliminate)f(the)j(t)o(yp)q(e)f +Fs(string-char)e Fw(and)-33 474 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 554 a(to)e(rede\014ne)i(the)f(t)o(yp)q(e)f +Fs(string)f Fw(to)h(b)q(e)h(the)g(union)f(of)f(one)i(or)f(more)f(sp)q +(ecialized)i(v)o(ector)0 606 y(t)o(yp)q(es,)g(the)h(t)o(yp)q(es)g(of)e +(whose)h(elemen)o(ts)g(are)g(subt)o(yp)q(es)i(of)d(the)h(t)o(yp)q(e)h +Fs(character)p Fw(.)-33 618 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 702 a Fs(\(simple-vector)j Fv(size)p Fs(\))0 +765 y Fw(This)12 b(is)h(the)g(same)f(as)g Fs(\(vector)20 +b(t)h Fv(size)p Fs(\))12 b Fw(except)i(that)f(it)f(additionally)e(sp)q +(eci\014es)15 b(that)0 817 y(its)f(elemen)o(ts)g(are)g +Fv(simple)f Fw(general)h(v)o(ectors.)0 913 y Fs(\(complex)20 +b Fv(typ)n(e)p Fs(\))0 976 y Fw(Ev)o(ery)11 b(elemen)o(t)f(of)g(this)g +(t)o(yp)q(e)h(is)f(a)h(complex)e(n)o(um)o(b)q(er)g(whose)i(real)g(part) +f(and)h(imaginary)0 1028 y(part)16 b(are)g(eac)o(h)g(of)g(t)o(yp)q(e)g +Fv(typ)n(e)p Fw(.)24 b(F)m(or)15 b(declaration)h(purp)q(oses,)h(this)f +(t)o(yp)q(e)g(encompasses)0 1080 y(those)11 b(complex)f(n)o(um)o(b)q +(ers)g(that)g(can)h(result)g(b)o(y)g(giving)e(n)o(um)o(b)q(ers)h(of)g +(the)h(sp)q(eci\014ed)h(t)o(yp)q(e)0 1132 y(to)i(the)g(function)f +Fs(complex)p Fw(;)f(this)i(ma)o(y)d(b)q(e)k(di\013eren)o(t)f(from)e +(what)i(the)g(t)o(yp)q(e)g(means)f(for)0 1184 y(discrimination)7 +b(purp)q(oses.)18 b(As)10 b(an)f(example,)g(Gaussian)f(in)o(tegers)j +(migh)o(t)c(b)q(e)j(describ)q(ed)0 1236 y(as)i Fs(\(complex)19 +b(integer\))p Fw(,)10 b(ev)o(en)j(in)e(implem)o(en)o(tations)e(where)k +(giving)d(t)o(w)o(o)h(in)o(tegers)i(to)0 1288 y(the)h(function)g +Fs(complex)e Fw(results)j(in)f(an)g(ob)r(ject)g(of)g(t)o(yp)q(e)g +Fs(\(complex)19 b(rational\))p Fw(.)42 1339 y(X3J13)d(v)o(oted)h(in)f +(Jan)o(uary)g(1989)g Ft(h)p Fw(8)p Ft(i)h Fw(to)f(c)o(hange)h +Fs(typep)f Fw(and)g Fs(subtypep)f Fw(so)i(that)-33 1311 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1391 a(the)11 b(sp)q(ecialized)g Fs(complex)d +Fw(t)o(yp)q(e)j(sp)q(eci\014er)h(means)d(the)i(same)f(thing)f(for)h +(discrimination)0 1443 y(purp)q(oses)15 b(as)f(for)g(declaration)f +(purp)q(oses.)20 b(See)15 b Fs(upgraded-complex)o(-part)o(-type)o +Fw(.)-33 1455 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1539 a Fs(\(function)k(\()p Fv(ar)n(g1-typ)n(e)i(ar)n +(g2-typ)n(e)g Fs(...\))g Fv(value-typ)n(e)p Fs(\))0 1602 +y Fw(This)13 b(t)o(yp)q(e)g(ma)o(y)d(b)q(e)k(used)f(only)f(for)g +(declaration)g(and)h(not)f(for)h(discrimination;)d Fs(typep)0 +1654 y Fw(will)j(signal)g(an)i(error)g(if)f(it)g(encoun)o(ters)i(a)e +(sp)q(eci\014er)i(of)e(this)h(form.)i(Ev)o(ery)e(elemen)o(t)f(of)0 +1706 y(this)h(t)o(yp)q(e)h(is)f(a)g(function)g(that)g(accepts)i +(argumen)o(ts)e(at)g Fv(le)n(ast)g Fw(of)f(the)i(t)o(yp)q(es)g(sp)q +(eci\014ed)0 1758 y(b)o(y)j(the)h Fv(ar)n(gj-typ)n(e)f +Fw(forms)f(and)h(returns)h(a)f(v)n(alue)g(that)g(is)h(a)f(mem)o(b)q(er) +e(of)i(the)h(t)o(yp)q(es)0 1810 y(sp)q(eci\014ed)d(b)o(y)f(the)g +Fv(value-typ)n(e)h Fw(form.)22 b(The)16 b Fs(&optional)p +Fw(,)e Fs(&rest)p Fw(,)h(and)g Fs(&key)g Fw(mark)o(ers)0 +1862 y(ma)o(y)f(app)q(ear)i(in)f(the)i(list)e(of)g(argumen)o(t)g(t)o +(yp)q(es.)25 b(The)16 b Fv(value-typ)n(e)g Fw(ma)o(y)e(b)q(e)i(a)g +Fs(values)0 1914 y Fw(t)o(yp)q(e)e(sp)q(eci\014er)i(in)d(order)i(to)f +(indicate)g(the)g(t)o(yp)q(es)h(of)e(m)o(ultiple)f(v)n(alues.)42 +1966 y(X3J13)h(v)o(oted)h(in)g(Jan)o(uary)f(1989)g Ft(h)p +Fw(93)p Ft(i)h Fw(to)g(sp)q(ecify)g(that)g(the)h Fv(ar)n(g-typ)n(e)e +Fw(that)h(follo)o(ws)-33 1937 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2017 a(a)k Fs(&rest)f Fw(mark)o(er)h(indicates)g(the)h +(t)o(yp)q(e)g(of)f(eac)o(h)h(actual)f(argumen)o(t)f(that)i(w)o(ould)e +(b)q(e)0 2069 y(gathered)f(in)o(to)f(the)h(list)f(for)g(a)g +Fs(&rest)f Fw(parameter,)h(and)g(not)g(the)h(t)o(yp)q(e)g(of)f(the)h +Fs(&rest)0 2121 y Fw(parameter)d(itself)g(\(whic)o(h)g(is)g(alw)o(a)o +(ys)f Fs(list)p Fw(\).)17 b(Th)o(us)c(one)g(migh)o(t)e(declare)j(the)g +(function)0 2173 y Fs(gcd)j Fw(to)h(b)q(e)g(of)f(t)o(yp)q(e)i +Fs(\(function)g(\(&rest)h(integer\))f(integer\))p Fw(,)e(or)h(the)g +(function)0 2225 y Fs(aref)13 b Fw(to)h(b)q(e)g(of)g(t)o(yp)q(e)g +Fs(\(function)19 b(\(array)h(&rest)g(fixnum\))g(t\))p +Fw(.)-33 2237 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2277 a(X3J13)13 b(v)o(oted)i(in)e(Marc)o(h)i(1988)e +Ft(h)p Fw(92)p Ft(i)h Fw(to)g(sp)q(ecify)h(that,)f(in)f(a)h +Fs(function)f Fw(t)o(yp)q(e)h(sp)q(ec-)-33 2249 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a(i\014er,)i(an)g(argumen)o(t)f(t)o(yp)q(e)i(sp)q +(eci\014er)g(follo)o(wing)d Fs(&key)h Fw(m)o(ust)g(b)q(e)i(a)f(list)f +(of)h(t)o(w)o(o)f(items,)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 62 86 +62 85 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(62)77 b(COMMON)13 +b(LISP)0 295 y Fw(a)h(k)o(eyw)o(ord)g(and)h(a)f(t)o(yp)q(e)h(sp)q +(eci\014er.)21 b(The)15 b(k)o(eyw)o(ord)f(m)o(ust)f(b)q(e)i(a)f(v)n +(alid)f(k)o(eyw)o(ord-name)0 347 y(sym)o(b)q(ol)d(that)h(ma)o(y)f(b)q +(e)i(supplied)f(in)g(the)h(actual)f(argumen)o(ts)g(of)f(a)i(call)e(to)h +(the)h(function,)0 399 y(and)g(the)g(t)o(yp)q(e)g(sp)q(eci\014er)i +(indicates)e(the)h(p)q(ermitted)e(t)o(yp)q(e)i(of)e(the)h(corresp)q +(onding)h(argu-)0 450 y(men)o(t)h(v)n(alue.)20 b(\(The)c(k)o(eyw)o +(ord-name)d(sym)o(b)q(ol)h(is)g(t)o(ypically)g(a)g(k)o(eyw)o(ord,)h +(but)g(another)0 502 y(X3J13)c(v)o(ote)f Ft(h)p Fw(105)p +Ft(i)h Fw(allo)o(ws)e(it)i(to)f(b)q(e)i(an)o(y)e(sym)o(b)q(ol.\))16 +b(F)m(urthermore,)10 b(if)g Fs(&allow-other-)0 554 y(keys)f +Fw(is)i(not)f(presen)o(t,)i(the)f(set)g(of)f(k)o(eyw)o(ord-names)f(men) +o(tioned)h(in)g(the)h Fs(function)d Fw(t)o(yp)q(e)0 606 +y(sp)q(eci\014er)15 b(ma)o(y)c(b)q(e)j(assumed)f(to)h(b)q(e)f +(exhaustiv)o(e;)h(for)f(example,)f(a)h(compiler)f(w)o(ould)g(b)q(e)0 +658 y(justi\014ed)18 b(in)f(issuing)g(a)g(w)o(arning)g(for)g(a)g +(function)g(call)g(using)g(a)g(k)o(eyw)o(ord)h(argumen)o(t)0 +710 y(name)13 b(not)i(men)o(tioned)e(in)h(the)i(t)o(yp)q(e)f +(declaration)f(for)g(the)h(function)g(b)q(eing)f(called.)20 +b(If)0 762 y Fs(&allow-other-keys)9 b Fw(is)k(presen)o(t)i(in)d(the)i +Fs(function)d Fw(t)o(yp)q(e)j(sp)q(eci\014er,)g(other)g(k)o(eyw)o(ord)0 +814 y(argumen)o(ts)d(ma)o(y)f(b)q(e)i(supplied)g(when)g(calling)f(a)g +(function)g(of)h(the)g(indicated)g(t)o(yp)q(e,)g(and)0 +866 y(if)h(supplied)h(suc)o(h)h(argumen)o(ts)e(ma)o(y)f(p)q(ossibly)h +(b)q(e)i(used.)-33 877 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 917 a(As)f(an)g(example,)f(the)i(function)f +Fs(cons)g Fw(is)g(of)g(t)o(yp)q(e)h Fs(\(function)k(\(t)i(t\))f(cons\)) +p Fw(,)13 b(b)q(e-)-38 892 y Fk(.)-38 905 y(.)-38 918 +y(.)-38 931 y(.)-38 944 y(.)-38 957 y(.)-38 970 y(.)-38 +983 y(.)-38 996 y(.)-38 1009 y(.)-38 1022 y(.)-38 1035 +y(.)-38 1048 y(.)-38 1061 y(.)-38 1074 y(.)-38 1087 y(.)-38 +1100 y(.)-38 1113 y(.)-38 1126 y(.)-38 1139 y(.)-38 1152 +y(.)-38 1165 y(.)-38 1178 y(.)-38 1191 y(.)-38 1204 y(.)-38 +1217 y(.)-38 1230 y(.)-38 1243 y(.)-38 1256 y(.)-38 1269 +y(.)-38 1282 y(.)-38 1295 y(.)-38 1307 y(.)-38 1320 y(.)-38 +1333 y(.)-38 1346 y(.)-38 1359 y(.)-38 1372 y(.)-38 1385 +y(.)-38 1398 y(.)-38 1411 y(.)-38 1424 y(.)-38 1437 y(.)-38 +1450 y(.)-38 1463 y(.)-38 1476 y(.)-38 1489 y(.)-38 1502 +y(.)-38 1515 y(.)-38 1528 y(.)-38 1541 y(.)-38 1554 y(.)-38 +1567 y(.)-38 1580 y(.)-38 1593 y(.)-38 1606 y(.)-38 1619 +y(.)-38 1632 y(.)-38 1645 y(.)-38 1658 y(.)-38 1671 y(.)-38 +1684 y(.)-38 1697 y(.)-38 1710 y(.)-38 1723 y(.)-38 1736 +y(.)-38 1749 y(.)-38 1762 y(.)-38 1774 y(.)-38 1787 y(.)-38 +1800 y(.)-38 1813 y(.)-38 1826 y(.)-38 1839 y(.)-38 1852 +y(.)-38 1865 y(.)-38 1878 y(.)-38 1891 y(.)-38 1904 y(.)-38 +1917 y(.)-38 1930 y(.)-38 1943 y(.)-38 1956 y(.)-38 1969 +y(.)-38 1982 y(.)-38 1995 y(.)-38 2008 y(.)-38 2021 y(.)-38 +2034 y(.)-38 2047 y(.)-38 2060 y(.)-38 2073 y(.)-38 2086 +y(.)-38 2099 y(.)-38 2112 y(.)-38 2125 y(.)-38 2138 y(.)-38 +2151 y(.)-38 2164 y(.)-38 2177 y(.)-38 2190 y(.)-38 2203 +y(.)-38 2216 y(.)-38 2229 y(.)-38 2241 y(.)-38 2254 y(.)-38 +2267 y(.)-38 2280 y(.)-38 2293 y(.)-38 2306 y(.)-38 2319 +y(.)-38 2332 y(.)-38 2345 y(.)-38 2358 y(.)-38 2371 y(.)-38 +2384 y(.)-38 2397 y(.)-38 2410 y(.)-38 2423 y(.)-38 2436 +y(.)-38 2449 y(.)-38 2462 y(.)-38 2475 y(.)-38 2488 y(.)-38 +2501 y(.)-38 2514 y(.)-38 2527 y(.)-38 2540 y(.)-38 2553 +y(.)-38 2566 y(.)-38 2579 y(.)-38 2592 y(.)-38 2605 y(.)-38 +2618 y(.)-38 2631 y(.)-38 2644 y(.)-38 2657 y(.)-38 2670 +y(.)-38 2683 y(.)-38 2696 y(.)-38 2708 y(.)-38 2721 y(.)-38 +2734 y(.)-38 2747 y(.)-38 2760 y(.)-38 2773 y(.)-38 2786 +y(.)-38 2799 y(.)-38 2812 y(.)-38 2825 y(.)-38 2838 y(.)-38 +2851 y(.)-38 2864 y(.)-38 2877 y(.)-38 2890 y(.)-38 2903 +y(.)-38 2916 y(.)-38 2929 y(.)-38 2942 y(.)-38 2955 y(.)-38 +2968 y(.)-38 2981 y(.)-38 2994 y(.)-38 3007 y(.)-38 3020 +y(.)-38 3033 y(.)-38 3046 y(.)-38 3059 y(.)-38 3072 y(.)-38 +3085 y(.)-38 3098 y(.)-38 3111 y(.)-38 3124 y(.)-38 3137 +y(.)-38 3150 y(.)-38 3163 y(.)-38 3175 y(.)-38 3188 y(.)-38 +3201 y(.)-38 3214 y(.)-38 3227 y(.)-38 3240 y(.)-38 3253 +y(.)-38 3266 y(.)-38 3279 y(.)-38 3292 y(.)-38 3305 y(.)-38 +3318 y(.)-38 3331 y(.)-38 3344 y(.)-38 3357 y(.)-38 3370 +y(.)-38 3383 y(.)-38 3396 y(.)-38 3409 y(.)-38 3422 y(.)-38 +3435 y(.)-38 3448 y(.)-38 3461 y(.)-38 3474 y(.)0 969 +y Fw(cause)i(it)f(can)g(accept)h(an)o(y)f(t)o(w)o(o)f(argumen)o(ts)g +(and)h(alw)o(a)o(ys)f(returns)j(a)d(cons.)19 b(The)c(func-)0 +1021 y(tion)f Fs(cons)g Fw(is)h(also)f(of)g(t)o(yp)q(e)h +Fs(\(function)20 b(\(float)f(string\))h(list\))p Fw(,)14 +b(b)q(ecause)i(it)f(can)0 1073 y(certainly)h(accept)h(a)e(\015oating-p) +q(oin)o(t)g(n)o(um)o(b)q(er)g(and)g(a)h(string)g(\(among)e(other)i +(things\),)0 1125 y(and)f(its)h(result)g(is)f(alw)o(a)o(ys)f(of)h(t)o +(yp)q(e)h Fs(list)f Fw(\(in)g(fact)g(a)g Fs(cons)g Fw(is)g(nev)o(er)i +Fs(null)p Fw(,)d(but)i(that)0 1177 y(do)q(es)f(not)f(matter)f(for)h +(this)g(t)o(yp)q(e)g(declaration\).)k(The)d(function)f +Fs(truncate)e Fw(is)i(of)f(t)o(yp)q(e)0 1229 y Fs(\(function)19 +b(\(number)h(number\))g(\(values)f(number)h(number\)\))p +Fw(,)11 b(as)h(w)o(ell)f(as)i(of)e(t)o(yp)q(e)0 1281 +y Fs(\(function)19 b(\(integer)h(\(mod)g(8\)\))h(integer\))p +Fw(.)-33 1292 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1333 a(X3J13)16 b(v)o(oted)i(in)f(Jan)o(uary)g(1989)f +Ft(h)p Fw(91)p Ft(i)h Fw(to)g(alter)h(the)f(meaning)f(of)h(the)g +Fs(function)-33 1304 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1384 a Fw(t)o(yp)q(e)12 b(sp)q(eci\014er)h(when)e(used)h +(in)f Fs(type)f Fw(and)h Fs(ftype)f Fw(declarations.)18 +b(While)10 b(the)i(preceding)0 1436 y(form)o(ulation)d(ma)o(y)g(b)q(e)k +(theoretically)e(elegan)o(t,)h(they)g(ha)o(v)o(e)g(found)f(that)h(it)f +(is)h(not)g(useful)0 1488 y(to)20 b(compiler)g(implem)o(en)o(tors)f +(and)h(that)h(it)f(is)h(not)f(the)i(in)o(terpretation)f(that)f(users)0 +1540 y(exp)q(ect.)f(X3J13)12 b(prescrib)q(ed)i(instead)f(the)g(follo)o +(wing)d(in)o(terpretation)i(of)g(declarations.)42 1592 +y(A)h(declaration)h(sp)q(eci\014er)i(of)d(the)h(form)0 +1687 y Fs(\(ftype)20 b(\(function)f(\()p Fv(ar)n(g1-typ)n(e)i(ar)n +(g2-typ)n(e)g Fs(...)g Fv(ar)n(gn-typ)n(e)p Fs(\))g Fv(value-typ)n(e)p +Fs(\))g Fv(fname)p Fs(\))0 1783 y Fw(implies)12 b(that)i(an)o(y)f +(function)h(call)f(of)g(the)i(form)0 1878 y Fs(\()p Fv(fname)21 +b(ar)n(g1)g(ar)n(g2)g Fs(...\))0 1974 y Fw(within)15 +b(the)i(scop)q(e)g(of)e(the)i(declaration)f(can)g(b)q(e)h(treated)g(as) +f(if)f(it)h(w)o(ere)h(rewritten)g(to)0 2026 y(use)e Fs(the)p +Fw(-forms)c(in)j(the)g(follo)o(wing)e(manner:)0 2121 +y Fs(\(the)20 b Fv(value-typ)n(e)106 2173 y Fs(\()p Fv(fname)h +Fs(\(the)f Fv(ar)n(g1-typ)n(e)i(ar)n(g1)p Fs(\))259 2225 +y(\(the)e Fv(ar)n(g2-typ)n(e)i(ar)n(g2)p Fs(\))259 2277 +y(...)259 2329 y(\(the)e Fv(ar)n(gn-typ)n(e)i(ar)n(gn)p +Fs(\)\)\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 63 87 +63 86 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(TYPE)12 b(SPECIFIERS)1037 +b(63)0 295 y Fw(That)12 b(is,)g(it)f(is)h(an)g(error)h(for)e(an)o(y)h +(of)f(the)i(actual)e(argumen)o(ts)h(not)f(to)h(b)q(e)h(of)e(its)h(sp)q +(eci\014ed)0 347 y(t)o(yp)q(e)k Fv(ar)n(g-typ)n(e)e Fw(or)h(for)g(the)h +(result)g(not)f(to)g(b)q(e)g(of)g(the)g(sp)q(eci\014ed)i(t)o(yp)q(e)f +Fv(value-typ)n(e)p Fw(.)22 b(\(In)0 399 y(particular,)14 +b(if)g(an)o(y)h(argumen)o(t)e(is)i(not)g(of)f(its)g(sp)q(eci\014ed)j(t) +o(yp)q(e,)e(then)g(the)h(result)f(is)g(not)0 450 y(guaran)o(teed)f(to)g +(b)q(e)h(of)e(the)h(sp)q(eci\014ed)i(t)o(yp)q(e|if)d(indeed)h(a)g +(result)h(is)e(returned)j(at)e(all.\))42 502 y(Similarl)o(y)m(,)c(a)k +(declaration)f(sp)q(eci\014er)j(of)d(the)i(form)0 600 +y Fs(\(type)20 b(\(function)f(\()p Fv(ar)n(g1-typ)n(e)i(ar)n(g2-typ)n +(e)g Fs(...)g Fv(ar)n(gn-typ)n(e)p Fs(\))g Fv(value-typ)n(e)p +Fs(\))g Fv(var)p Fs(\))0 698 y Fw(is)13 b(in)o(terpreted)i(to)e(mean)f +(that)h(an)o(y)g(reference)j(to)d(the)g(v)n(ariable)f +Fv(var)h Fw(will)f(\014nd)h(that)h(its)0 750 y(v)n(alue)d(is)h(a)g +(function,)f(and)h(that)g(it)g(is)g(an)f(error)i(to)f(call)f(this)h +(function)g(with)g(an)o(y)f(actual)0 802 y(argumen)o(t)i(not)i(of)f +(its)h(sp)q(eci\014ed)h(t)o(yp)q(e)f Fv(ar)n(g-typ)n(e)p +Fw(.)20 b(Also,)14 b(it)g(is)h(an)f(error)h(for)g(the)g(result)0 +854 y(not)f(to)f(b)q(e)i(of)e(the)h(sp)q(eci\014ed)h(t)o(yp)q(e)g +Fv(value-typ)n(e)p Fw(.)j(F)m(or)13 b(example,)f(a)i(function)f(call)g +(of)g(the)0 906 y(form)0 1003 y Fs(\(funcall)20 b Fv(var)h(ar)n(g1)g +(ar)n(g2)g Fs(...\))0 1101 y Fw(could)d(b)q(e)h(rewritten)g(to)f(use)h +Fs(the)p Fw(-forms)d(as)i(w)o(ell.)30 b(If)18 b(an)o(y)f(argumen)o(t)g +(is)h(not)g(of)g(its)0 1153 y(sp)q(eci\014ed)13 b(t)o(yp)q(e,)g(then)f +(the)g(result)h(is)f(not)f(guaran)o(teed)i(to)e(b)q(e)i(of)e(the)h(sp)q +(eci\014ed)h(t)o(yp)q(e|if)0 1205 y(indeed)h(a)g(result)h(is)e +(returned)j(at)e(all.)42 1257 y(Th)o(us,)20 b(a)f Fs(type)f +Fw(or)h Fs(ftype)f Fw(declaration)h(sp)q(eci\014er)i(describ)q(es)g(t)o +(yp)q(e)e(requiremen)o(ts)0 1309 y(imp)q(osed)e(on)g(calls)h(to)f(a)h +(function)f(as)h(opp)q(osed)g(to)g(requiremen)o(ts)g(imp)q(osed)f(on)g +(the)0 1361 y(de\014nition)e(of)g(the)h(function.)23 +b(This)15 b(is)h(analogous)e(to)h(the)h(treatmen)o(t)g(of)f(t)o(yp)q(e) +h(decla-)0 1413 y(rations)e(of)f(v)n(ariables)g(as)h(imp)q(osing)d(t)o +(yp)q(e)k(requiremen)o(ts)f(on)g(references)i(to)e(v)n(ariables,)0 +1464 y(rather)21 b(than)e(on)h(the)g(con)o(ten)o(ts)h(of)e(v)n +(ariables.)35 b(See)21 b(the)g(v)o(ote)e(of)h(X3J13)f(on)h +Fs(type)0 1516 y Fw(declaration)14 b(sp)q(eci\014ers)i(in)d(general,)h +(discussed)h(in)f(section)g(9.2.)42 1568 y(In)h(the)i(same)d(manner)h +(as)h(for)g(v)n(ariable)e(t)o(yp)q(e)i(declarations)g(in)g(general,)g +(if)e(t)o(w)o(o)i(or)0 1620 y(more)11 b(of)h(these)i(declarations)e +(apply)g(to)g(the)h(same)f(function)g(call)f(\(whic)o(h)i(can)f(o)q +(ccur)i(if)0 1672 y(declaration)c(scop)q(es)i(are)e(suitably)g +(nested\),)i(then)f(they)g(all)e(apply;)h(in)g(e\013ect,)i(the)f(t)o +(yp)q(es)0 1724 y(for)j(eac)o(h)g(argumen)o(t)f(or)h(result)g(are)h(in) +o(tersected.)20 b(F)m(or)13 b(example,)f(the)j(co)q(de)g(fragmen)o(t)0 +1822 y Fs(\(locally)20 b(\(declare)f(\(ftype)h(\(function)f(\(biped\))h +(digit\))529 1874 y(butcher-fudge\)\))42 1926 y(\(locally)g(\(declare)f +(\(ftype)h(\(function)g(\(featherless\))e(opposable\))572 +1977 y(butcher-fudge\)\))85 2029 y(\(butcher-fudge)g(sam\)\)\))0 +2127 y Fw(ma)o(y)12 b(b)q(e)i(regarded)h(as)f(equiv)n(alen)o(t)f(to)0 +2225 y Fs(\(the)20 b(opposable)106 2277 y(\(the)g(digit)g +(\(butcher-fudge)f(\(the)h(featherless)762 2329 y(\(the)g(biped)h +(sam\)\)\)\)\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 64 88 +64 87 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(64)77 b(COMMON)13 +b(LISP)0 295 y Fw(or)h(to)0 392 y Fs(\(the)20 b(\(and)h(opposable)e +(digit\))106 444 y(\(butcher-fudge)f(\(the)i(\(and)h(featherless)e +(biped\))h(sam\)\)\))0 541 y Fw(That)d(is,)g Fs(sam)g +Fw(had)f(b)q(etter)j(b)q(e)f(b)q(oth)f Fs(featherless)e +Fw(and)h(a)h Fs(biped)p Fw(,)f(and)h(the)h(result)0 593 +y(of)12 b Fs(butcher-fudge)e Fw(had)j(b)q(etter)i(b)q(e)e(b)q(oth)g +Fs(opposable)e Fw(and)i(a)g Fs(digit)p Fw(;)e(otherwise)j(the)0 +644 y(co)q(de)h(is)f(in)f(error.)19 b(Therefore)d(a)d(compiler)g(ma)o +(y)f(generate)j(co)q(de)g(that)f(relies)h(on)e(these)0 +696 y(t)o(yp)q(e)h(assumptions,)f(for)g(example.)-33 +708 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 793 a Fs(\(values)20 b Fv(value1-typ)n(e)h(value2-typ)n +(e)h Fs(...\))0 856 y Fw(This)15 b(t)o(yp)q(e)g(sp)q(eci\014er)h(is)e +(extremely)h(restricted:)21 b(it)14 b(ma)o(y)f(b)q(e)i(used)h +Fv(only)f Fw(as)f(the)i Fv(value-)0 908 y(typ)n(e)c Fw(in)f(a)g +Fs(function)f Fw(t)o(yp)q(e)i(sp)q(eci\014er)i(or)d(in)g(a)h +Fs(the)f Fw(sp)q(ecial)g(form.)16 b(It)c(is)f(used)i(to)e(sp)q(ecify)0 +960 y(individual)j(t)o(yp)q(es)i(when)g(m)o(ultiple)e(v)n(alues)h(are)h +(in)o(v)o(olv)o(ed.)22 b(The)17 b Fs(&optional)p Fw(,)c +Fs(&rest)p Fw(,)0 1012 y(and)f Fs(&key)f Fw(mark)o(ers)g(ma)o(y)f(app)q +(ear)i(in)g(the)g Fv(value-typ)n(e)g Fw(list;)g(they)g(thereb)o(y)h +(indicate)f(the)0 1064 y(parameter)g(list)h(of)f(a)g(function)h(that,)f +(when)h(giv)o(en)g(to)f Fs(multiple-value-cal)o(l)e Fw(along)0 +1116 y(with)k(the)g(v)n(alues,)f(w)o(ould)g(b)q(e)i(suitable)f(for)f +(receiving)h(those)h(v)n(alues.)0 1249 y Fo(4.6.)20 b(T)n(yp)r(e)15 +b(Sp)r(eci\014ers)e(That)i(Abbreviate)0 1330 y Fw(The)i(follo)o(wing)d +(t)o(yp)q(e)j(sp)q(eci\014ers)h(are,)f(for)f(the)h(most)e(part,)i +(abbreviations)f(for)g(other)0 1381 y(t)o(yp)q(e)c(sp)q(eci\014ers)i +(that)e(w)o(ould)g(b)q(e)g(far)g(to)q(o)f(v)o(erb)q(ose)j(to)d(write)i +(out)e(explicitly)g(\(using,)h(for)0 1433 y(example,)g +Fs(member)p Fw(\).)0 1530 y Fs(\(integer)20 b Fv(low)g(high)p +Fs(\))0 1593 y Fw(Denotes)12 b(the)g(in)o(tegers)g(b)q(et)o(w)o(een)h +Fv(low)d Fw(and)h Fv(high)p Fw(.)17 b(The)12 b(limits)d +Fv(low)i Fw(and)g Fv(high)g Fw(m)o(ust)f(eac)o(h)0 1645 +y(b)q(e)17 b(an)e(in)o(teger,)i(a)e(list)h(of)f(an)h(in)o(teger,)g(or)g +(unsp)q(eci\014ed.)26 b(An)16 b(in)o(teger)h(is)e(an)h(inclusiv)o(e)0 +1697 y(limit,)7 b(a)j(list)f(of)h(an)f(in)o(teger)h(is)g(an)g(exclusiv) +o(e)g(limit,)d(and)j Fs(*)g Fw(means)f(that)h(a)f(limit)e(do)q(es)k +(not)0 1749 y(exist)k(and)f(so)g(e\013ectiv)o(ely)h(denotes)h(min)o(us) +d(or)h(plus)g(in\014nit)o(y)m(,)f(resp)q(ectiv)o(ely)m(.)20 +b(The)15 b(t)o(yp)q(e)0 1801 y Fs(fixnum)d Fw(is)h(simply)e(a)h(name)g +(for)h Fs(\(integer)19 b Fv(smal)r(lest)i(lar)n(gest)p +Fs(\))12 b Fw(for)g(implemen)o(tation-)0 1853 y(dep)q(enden)o(t)22 +b(v)n(alues)f(of)f Fv(smal)r(lest)f Fw(and)i Fv(lar)n(gest)f +Fw(\(see)i Fs(most-negative-f)o(ixnum)17 b Fw(and)0 1905 +y Fs(most-positive-fix)o(num)p Fw(\).)24 b(The)18 b(t)o(yp)q(e)g +Fs(\(integer)h(0)i(1\))c Fw(is)g(so)g(useful)g(that)g(it)g(has)0 +1957 y(the)d(sp)q(ecial)h(name)d Fs(bit)p Fw(.)0 2054 +y Fs(\(mod)20 b Fv(n)p Fs(\))0 2117 y Fw(Denotes)f(the)f(set)h(of)f +(non-negativ)o(e)f(in)o(tegers)i(less)g(than)e Fv(n)p +Fw(.)31 b(This)18 b(is)g(equiv)n(alen)o(t)f(to)0 2169 +y Fs(\(integer)j(0)g Fv(n)s Ft(\000)q Fw(1)p Fs(\))14 +b Fw(or)g(to)f Fs(\(integer)20 b(0)h(\()p Fv(n)p Fs(\)\))p +Fw(.)0 2266 y Fs(\(signed-byte)e Fv(s)p Fs(\))0 2329 +y Fw(Denotes)13 b(the)g(set)h(of)e(in)o(tegers)h(that)g(can)f(b)q(e)h +(represen)o(ted)j(in)c(t)o(w)o(o's-complemen)o(t)d(form)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 65 89 +65 88 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(TYPE)12 b(SPECIFIERS)1037 +b(65)0 295 y Fw(in)15 b(a)g(b)o(yte)h(of)e Fv(s)i Fw(bits.)22 +b(This)15 b(is)g(equiv)n(alen)o(t)g(to)g Fs(\(integer)20 +b Ft(\000)p Fw(2)1001 280 y Fi(s)p Fl(\000)p Fk(1)1081 +295 y Fw(2)1102 280 y Fi(s)o Fl(\000)p Fk(1)1160 295 +y Ft(\000)p Fw(1)p Fs(\))p Fw(.)i(Simply)0 347 y Fs(signed-byte)12 +b Fw(or)h Fs(\(signed-byte)19 b(*\))14 b Fw(is)f(the)i(same)e(as)h +Fs(integer)p Fw(.)0 452 y Fs(\(unsigned-byte)k Fv(s)p +Fs(\))0 515 y Fw(Denotes)d(the)g(set)g(of)e(non-negativ)o(e)h(in)o +(tegers)h(that)f(can)g(b)q(e)h(represen)o(ted)i(in)c(a)h(b)o(yte)g(of)0 +567 y Fv(s)j Fw(bits.)26 b(This)17 b(is)f(equiv)n(alen)o(t)g(to)h +Fs(\(mod)j Fw(2)664 551 y Fi(s)680 567 y Fs(\))p Fw(,)d(that)g(is,)f +Fs(\(integer)k(0)h Fw(2)1140 551 y Fi(s)1156 567 y Ft(\000)p +Fw(1)p Fs(\))p Fw(.)26 b(Simply)0 618 y Fs(unsigned-byte)15 +b Fw(or)i Fs(\(unsigned-byte)h(*\))g Fw(is)f(the)h(same)f(as)g +Fs(\(integer)j(0)h(*\))p Fw(,)c(the)0 670 y(set)e(of)e(non-negativ)o(e) +h(in)o(tegers.)0 775 y Fs(\(rational)19 b Fv(low)i(high)p +Fs(\))0 838 y Fw(Denotes)d(the)f(rationals)g(b)q(et)o(w)o(een)h +Fv(low)e Fw(and)h Fv(high)p Fw(.)27 b(The)18 b(limits)c +Fv(low)j Fw(and)g Fv(high)g Fw(m)o(ust)0 890 y(eac)o(h)11 +b(b)q(e)h(a)e(rational,)g(a)h(list)f(of)g(a)h(rational,)f(or)g(unsp)q +(eci\014ed.)19 b(A)11 b(rational)f(is)g(an)h(inclusiv)o(e)0 +942 y(limit,)h(a)i(list)g(of)g(a)g(rational)g(is)g(an)h(exclusiv)o(e)g +(limit,)c(and)k Fs(*)f Fw(means)g(that)h(a)f(limit)e(do)q(es)0 +994 y(not)i(exist)g(and)g(so)g(e\013ectiv)o(ely)g(denotes)i(min)o(us)c +(or)i(plus)g(in\014nit)o(y)m(,)e(resp)q(ectiv)o(ely)m(.)0 +1099 y Fs(\(float)20 b Fv(low)h(high)p Fs(\))0 1162 y +Fw(Denotes)16 b(the)h(set)f(of)f(\015oating-p)q(oin)o(t)f(n)o(um)o(b)q +(ers)h(b)q(et)o(w)o(een)i Fv(low)e Fw(and)g Fv(high)p +Fw(.)23 b(The)16 b(limits)0 1214 y Fv(low)e Fw(and)h +Fv(high)g Fw(m)o(ust)f(eac)o(h)i(b)q(e)f(a)g(\015oating-p)q(oin)o(t)e +(n)o(um)o(b)q(er,)h(a)h(list)f(of)h(a)f(\015oating-p)q(oin)o(t)0 +1266 y(n)o(um)o(b)q(er,)e(or)i(unsp)q(eci\014ed;)h(a)e(\015oating-p)q +(oin)o(t)f(n)o(um)o(b)q(er)h(is)g(an)g(inclusiv)o(e)h(limit,)c(a)j +(list)g(of)0 1318 y(a)i(\015oating-p)q(oin)o(t)f(n)o(um)o(b)q(er)g(is)i +(an)f(exclusiv)o(e)h(limit,)c(and)j Fs(*)g Fw(means)g(that)g(a)g(limit) +e(do)q(es)0 1370 y(not)h(exist)g(and)g(so)g(e\013ectiv)o(ely)g(denotes) +i(min)o(us)c(or)i(plus)g(in\014nit)o(y)m(,)e(resp)q(ectiv)o(ely)m(.)42 +1422 y(In)h(a)h(similar)d(manner,)i(one)h(ma)o(y)e(use:)0 +1527 y Fs(\(short-float)19 b Fv(low)h(high)p Fs(\))0 +1579 y(\(single-float)e Fv(low)j(high)p Fs(\))0 1631 +y(\(double-float)d Fv(low)j(high)p Fs(\))0 1683 y(\(long-float)e +Fv(low)h(high)p Fs(\))0 1788 y Fw(In)14 b(this)f(case,)i(if)d(a)i +(limit)d(is)i(a)g(\015oating-p)q(oin)o(t)f(n)o(um)o(b)q(er)h(\(or)h(a)f +(list)h(of)f(one\),)g(it)h(m)o(ust)e(b)q(e)0 1840 y(one)i(of)f(the)i +(appropriate)f(format.)42 1945 y(X3J13)9 b(v)o(oted)g(in)h(Marc)o(h)f +(1989)g Ft(h)p Fw(151)p Ft(i)g Fw(to)h(add)f(a)g(list)g(form)f(of)h +(the)h Fs(real)f Fw(t)o(yp)q(e)h(sp)q(eci\014er)-33 1916 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1997 a(to)k(denote)g(an)g(in)o(terv)n(al)f(of)g +Fs(real)g Fw(n)o(um)o(b)q(ers.)0 2102 y Fs(\(real)20 +b Fv(low)h(high)p Fs(\))0 2165 y Fw(Denotes)12 b(the)g(real)f(n)o(um)o +(b)q(ers)g(b)q(et)o(w)o(een)h Fv(low)e Fw(and)h Fv(high)p +Fw(.)18 b(The)11 b(limits)e Fv(low)i Fw(and)f Fv(high)i +Fw(m)o(ust)0 2217 y(eac)o(h)k(b)q(e)g(a)g(real,)f(a)g(list)h(of)f(a)g +(real,)g(or)h(unsp)q(eci\014ed.)25 b(A)15 b(real)h(is)g(an)f(inclusiv)o +(e)g(limit,)e(a)0 2269 y(list)f(of)g(a)g(real)h(is)f(an)h(exclusiv)o(e) +g(limit,)d(and)i Fs(*)g Fw(means)g(that)h(a)f(limit)e(do)q(es)j(not)g +(exist)g(and)0 2321 y(so)h(e\013ectiv)o(ely)h(denotes)g(min)o(us)d(or)i +(plus)g(in\014nit)o(y)m(,)e(resp)q(ectiv)o(ely)m(.)-33 +2332 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 12 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 66 90 +66 89 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(66)77 b(COMMON)13 b(LISP)0 295 y Fs(\(string)20 +b Fv(size)p Fs(\))-38 284 y Fk(.)-38 297 y(.)-38 310 +y(.)-38 323 y(.)-38 336 y(.)-38 349 y(.)-38 362 y(.)-38 +375 y(.)-38 388 y(.)-38 401 y(.)-38 414 y(.)-38 427 y(.)-38 +440 y(.)-38 453 y(.)-38 466 y(.)-38 479 y(.)-38 492 y(.)-38 +505 y(.)-38 518 y(.)-38 531 y(.)-38 544 y(.)-38 557 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +634 y(.)-38 647 y(.)-38 660 y(.)-38 673 y(.)-38 686 y(.)-38 +699 y(.)-38 712 y(.)-38 725 y(.)-38 738 y(.)-38 751 y(.)-38 +764 y(.)-38 777 y(.)-38 790 y(.)-38 803 y(.)-38 816 y(.)-38 +829 y(.)-38 842 y(.)-38 855 y(.)-38 868 y(.)-38 881 y(.)-38 +894 y(.)-38 907 y(.)-38 920 y(.)-38 933 y(.)-38 946 y(.)-38 +959 y(.)-38 972 y(.)-38 985 y(.)-38 998 y(.)-38 1011 +y(.)-38 1024 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1101 y(.)-38 1114 y(.)-38 1127 +y(.)-38 1140 y(.)-38 1153 y(.)-38 1166 y(.)-38 1179 y(.)-38 +1192 y(.)-38 1205 y(.)-38 1218 y(.)-38 1231 y(.)-38 1244 +y(.)-38 1257 y(.)-38 1270 y(.)-38 1283 y(.)-38 1296 y(.)-38 +1309 y(.)-38 1322 y(.)-38 1335 y(.)-38 1348 y(.)-38 1361 +y(.)-38 1374 y(.)-38 1387 y(.)-38 1400 y(.)-38 1413 y(.)-38 +1426 y(.)-38 1439 y(.)-38 1452 y(.)-38 1465 y(.)-38 1478 +y(.)-38 1491 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1568 y(.)-38 1581 y(.)-38 1594 +y(.)-38 1607 y(.)-38 1620 y(.)-38 1633 y(.)-38 1646 y(.)-38 +1659 y(.)-38 1672 y(.)-38 1685 y(.)-38 1698 y(.)-38 1711 +y(.)-38 1724 y(.)-38 1737 y(.)-38 1750 y(.)-38 1763 y(.)-38 +1776 y(.)-38 1789 y(.)-38 1802 y(.)-38 1815 y(.)-38 1828 +y(.)-38 1841 y(.)-38 1854 y(.)-38 1867 y(.)-38 1880 y(.)-38 +1893 y(.)-38 1906 y(.)-38 1919 y(.)-38 1932 y(.)-38 1945 +y(.)-38 1958 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2035 y(.)-38 2048 y(.)-38 2061 +y(.)-38 2074 y(.)-38 2087 y(.)-38 2100 y(.)-38 2113 y(.)-38 +2126 y(.)-38 2139 y(.)-38 2152 y(.)-38 2165 y(.)-38 2178 +y(.)-38 2191 y(.)-38 2204 y(.)-38 2217 y(.)-38 2230 y(.)-38 +2243 y(.)-38 2256 y(.)-38 2269 y(.)-38 2282 y(.)-38 2295 +y(.)-38 2308 y(.)-38 2321 y(.)-38 2334 y(.)-38 2347 y(.)-38 +2360 y(.)-38 2373 y(.)-38 2386 y(.)-38 2399 y(.)-38 2412 +y(.)-38 2425 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2502 y(.)-38 2515 y(.)-38 2528 +y(.)-38 2541 y(.)-38 2554 y(.)-38 2567 y(.)-38 2580 y(.)-38 +2593 y(.)-38 2606 y(.)-38 2619 y(.)-38 2632 y(.)-38 2645 +y(.)-38 2658 y(.)-38 2671 y(.)-38 2684 y(.)-38 2697 y(.)-38 +2710 y(.)-38 2723 y(.)-38 2736 y(.)-38 2749 y(.)-38 2762 +y(.)-38 2775 y(.)-38 2788 y(.)-38 2801 y(.)-38 2814 y(.)-38 +2827 y(.)-38 2840 y(.)-38 2853 y(.)-38 2866 y(.)0 358 +y Fw(Means)e(the)g(same)f(as)h Fs(\(array)i(string-char)f(\()p +Fv(size)p Fs(\)\))p Fw(:)24 b(the)19 b(set)f(of)f(strings)h(of)f(the)0 +410 y(indicated)d(size.)0 518 y Fs(\(simple-string)k +Fv(size)p Fs(\))0 581 y Fw(Means)e(the)g(same)e(as)h +Fs(\(simple-array)k(string-char)g(\()p Fv(size)p Fs(\)\))p +Fw(:)h(the)15 b(set)i(of)d(simple)0 633 y(strings)g(of)g(the)g +(indicated)g(size.)-33 645 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 742 a(X3J13)i(v)o(oted)h(in)g(Marc)o(h)g(1989)f +Ft(h)p Fw(11)p Ft(i)h Fw(to)f(eliminate)f(the)j(t)o(yp)q(e)f +Fs(string-char)e Fw(and)-33 714 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 794 a(to)e(rede\014ne)i(the)f(t)o(yp)q(e)f +Fs(string)f Fw(to)h(b)q(e)h(the)g(union)f(of)f(one)i(or)f(more)f(sp)q +(ecialized)i(v)o(ector)0 846 y(t)o(yp)q(es,)g(the)f(t)o(yp)q(es)h(of)e +(whose)i(elemen)o(ts)f(are)g(subt)o(yp)q(es)i(of)d(the)h(t)o(yp)q(e)h +Fs(character)p Fw(.)i(Sim-)0 898 y(ilarly)m(,)f(the)j(t)o(yp)q(e)f +Fs(simple-string)d Fw(is)j(rede\014ned)i(to)d(b)q(e)i(the)f(union)g(of) +f(one)h(or)g(more)0 950 y(sp)q(ecialized)f(simple)e(v)o(ector)i(t)o(yp) +q(es,)g(the)g(t)o(yp)q(es)h(of)e(whose)g(elemen)o(ts)h(are)g(subt)o(yp) +q(es)g(of)0 1001 y(the)e(t)o(yp)q(e)h Fs(character)p +Fw(.)0 1111 y Fs(\(base-string)k Fv(size)p Fs(\))0 1174 +y Fw(Means)e(the)g(same)e(as)h Fs(\(vector)k(base-character)e +Fv(size)p Fs(\))p Fw(:)23 b(the)17 b(set)g(of)e(base)i(strings)0 +1226 y(of)c(the)i(indicated)f(size.)0 1335 y Fs(\(simple-base-stri)o +(ng)k Fv(size)p Fs(\))0 1398 y Fw(Means)13 b(the)f(same)f(as)i +Fs(\(simple-array)18 b(base-character)g(\()p Fv(size)p +Fs(\)\))p Fw(:)e(the)d(set)g(of)e(sim-)0 1449 y(ple)j(base)g(strings)h +(of)e(the)h(indicated)g(size.)-33 1461 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1558 a Fs(\(bit-vector)19 b Fv(size)p +Fs(\))0 1621 y Fw(Means)11 b(the)g(same)f(as)g Fs(\(array)20 +b(bit)h(\()p Fv(size)p Fs(\)\))p Fw(:)15 b(the)c(set)h(of)e(bit-v)o +(ectors)h(of)f(the)h(indicated)0 1673 y(size.)0 1782 +y Fs(\(simple-bit-vecto)o(r)18 b Fv(size)p Fs(\))0 1845 +y Fw(This)e(means)f(the)h(same)f(as)h Fs(\(simple-array)i(bit)j(\()p +Fv(size)p Fs(\)\))p Fw(:)g(the)16 b(set)h(of)e(bit-v)o(ectors)0 +1897 y(of)e(the)i(indicated)f(size.)0 2078 y Fo(4.7.)20 +b(De\014ning)15 b(New)g(T)n(yp)r(e)f(Sp)r(eci\014ers)0 +2173 y Fw(New)e(t)o(yp)q(e)g(sp)q(eci\014ers)h(can)f(come)e(in)o(to)h +(existence)i(in)e(t)o(w)o(o)f(w)o(a)o(ys.)17 b(First,)12 +b(de\014ning)f(a)g(new)0 2225 y(structure)h(t)o(yp)q(e)f(with)f +Fs(defstruct)f Fw(automatically)e(causes)12 b(the)f(name)e(of)h(the)h +(structure)0 2277 y(to)k(b)q(e)g(a)f(new)i(t)o(yp)q(e)f(sp)q(eci\014er) +h(sym)o(b)q(ol.)j(Second,)d(the)f Fs(deftype)e Fw(sp)q(ecial)i(form)e +(can)i(b)q(e)0 2329 y(used)g(to)f(de\014ne)g(new)h(t)o(yp)q(e-sp)q +(eci\014er)h(abbreviations.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 67 91 +67 90 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(TYPE)12 b(SPECIFIERS)1037 +b(67)1255 295 y Fw([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(deftype)34 +b Fv(name)15 b(lamb)n(da-list)21 b Fw([)-7 b([)13 b Ft(f)p +Fv(de)n(clar)n(ation)p Ft(g)785 280 y Fl(\003)825 295 +y Ft(j)h Fv(do)n(c-string)7 b Fw(])-7 b(])28 b Ft(f)7 +b Fv(form)p Ft(g)1216 280 y Fl(\003)0 372 y Fw(This)16 +b(is)f(v)o(ery)h(similar)d(to)j(a)f Fs(defmacro)f Fw(form:)20 +b Fv(name)d Fw(is)e(the)i(sym)o(b)q(ol)c(that)j(iden)o(ti\014es)0 +424 y(the)d(t)o(yp)q(e)g(sp)q(eci\014er)h(b)q(eing)e(de\014ned,)h +Fv(lamb)n(da-list)e Fw(is)h(a)g(lam)o(b)q(da-list)e(\(and)i(ma)o(y)e +(con)o(tain)0 475 y Fs(&optional)17 b Fw(and)h Fs(&rest)g +Fw(mark)o(ers\),)g(and)h(the)g Fv(forms)f Fw(constitute)h(the)h(b)q(o)q +(dy)e(of)g(the)0 527 y(expander)13 b(function.)k(If)11 +b(w)o(e)h(view)g(a)g(t)o(yp)q(e)g(sp)q(eci\014er)i(list)d(as)h(a)g +(list)f(con)o(taining)g(the)h(t)o(yp)q(e)0 579 y(sp)q(eci\014er)k(name) +d(and)i(some)e(argumen)o(t)g(forms,)g(the)i(argumen)o(t)f(forms)f +(\(unev)n(aluated\))0 631 y(are)18 b(b)q(ound)h(to)f(the)g(corresp)q +(onding)h(parameters)f(in)g Fv(lamb)n(da-list)p Fw(.)29 +b(Then)19 b(the)g(b)q(o)q(dy)0 683 y(forms)d(are)h(ev)n(aluated)g(as)h +(an)f(implicit)d Fs(progn)p Fw(,)j(and)g(the)h(v)n(alue)e(of)h(the)g +(last)g(form)f(is)0 735 y(in)o(terpreted)21 b(as)f(a)f(new)h(t)o(yp)q +(e)g(sp)q(eci\014er)i(for)d(whic)o(h)g(the)h(original)e(sp)q(eci\014er) +j(w)o(as)f(an)0 787 y(abbreviation.)d(The)e Fv(name)f +Fw(is)g(returned)h(as)f(the)h(v)n(alue)e(of)g(the)i Fs(deftype)d +Fw(form.)42 839 y Fs(deftype)17 b Fw(di\013ers)j(from)e +Fs(defmacro)f Fw(in)i(that)h(if)e(no)h Fv(initform)f +Fw(is)h(sp)q(eci\014ed)i(for)e(an)0 891 y Fs(&optional)12 +b Fw(parameter,)h(the)i(default)e(v)n(alue)g(is)h Fs(*)p +Fw(,)f(not)h Fs(nil)p Fw(.)42 943 y(If)9 b(the)h(optional)e(do)q(cumen) +o(tation)h(string)g Fv(do)n(c-string)h Fw(is)f(presen)o(t,)j(then)e(it) +g(is)f(attac)o(hed)0 995 y(to)14 b(the)g Fv(name)h Fw(as)f(a)f(do)q +(cumen)o(tation)g(string)h(of)f(t)o(yp)q(e)i Fs(type)p +Fw(;)d(see)j Fs(documentation)p Fw(.)42 1047 y(Here)g(are)f(some)f +(examples)g(of)g(the)i(use)f(of)g Fs(deftype)p Fw(:)0 +1134 y Fs(\(deftype)20 b(mod)g(\(n\))366 1138 y Fn(`)390 +1134 y Fs(\(integer)f(0)i(\(,n\)\)\))0 1238 y(\(deftype)f(list)g(\(\)) +366 1242 y Fn(')390 1238 y Fs(\(or)g(null)h(cons\)\))0 +1325 y(\(deftype)f(square-matrix)e(\(&optional)h(type)h(size\))42 +1376 y("SQUARE-MATRIX)f(includes)g(all)i(square)f(two-dimensional)e +(arrays.")40 1432 y Fn(`)64 1428 y Fs(\(array)h(,type)i(\(,size)f +(,size\)\)\))0 1532 y(\(square-matrix)e(short-float)h(7\))i +Fw(means)f Fs(\(array)g(short-float)f(\(7)i(7\)\))0 1636 +y(\(square-matrix)d(bit\))j Fw(means)f Fs(\(array)g(bit)g(\(*)h(*\)\))0 +1723 y Fw(If)11 b(the)h(t)o(yp)q(e)f(name)f(de\014ned)i(b)o(y)f +Fs(deftype)f Fw(is)h(used)h(simply)d(as)j(a)e(t)o(yp)q(e)i(sp)q +(eci\014er)h(sym)o(b)q(ol,)0 1775 y(it)g(is)h(in)o(terpreted)h(as)f(a)f +(t)o(yp)q(e)i(sp)q(eci\014er)g(list)e(with)h(no)f(argumen)o(t)g(forms.) +j(Th)o(us,)e(in)f(the)0 1827 y(example)8 b(ab)q(o)o(v)o(e,)i +Fs(square-matrix)c Fw(w)o(ould)j(mean)f Fs(\(array)20 +b(*)h(\(*)g(*\)\))p Fw(,)9 b(the)h(set)h(of)d(t)o(w)o(o-)0 +1878 y(dimensional)15 b(arra)o(ys.)29 b(This)17 b(w)o(ould)g +(unfortunately)g(fail)f(to)h(con)o(v)o(ey)g(the)h(constrain)o(t)0 +1930 y(that)f(the)h(t)o(w)o(o)f(dimensions)f(b)q(e)i(the)g(same;)g +Fs(\(square-matrix)g(bit\))e Fw(has)i(the)g(same)0 1982 +y(problem.)f(A)d(b)q(etter)h(de\014nition)f(is)0 2069 +y Fs(\(defun)20 b(equidimensional)e(\(a\))42 2121 y(\(or)j(\(<)g +(\(array-rank)e(a\))h(2\))127 2173 y(\(apply)g(#)279 +2169 y(-)279 2177 y(-)n Fn(')322 2169 y Fs(U)322 2177 +y(U)365 2173 y(\(array-dimensions)e(a\)\)\)\))0 2277 +y(\(deftype)i(square-matrix)e(\(&optional)h(type)h(size\))40 +2333 y Fn(`)64 2329 y Fs(\(and)g(\(array)g(,type)g(\(,size)g(,size\)\)) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 68 92 +68 91 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(68)77 b(COMMON)13 +b(LISP)169 295 y Fs(\(satisfies)19 b(equidimensional\)\)\))42 +386 y Fw(X3J13)14 b(v)o(oted)h(in)f(Marc)o(h)h(1988)f +Ft(h)p Fw(78)p Ft(i)g Fw(to)h(sp)q(ecify)g(that)g(the)g(b)q(o)q(dy)g +(of)f(the)i(expander)-33 358 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 438 a(function)11 b(de\014ned)i(b)o(y)f +Fs(deftype)e Fw(is)i(implicitly)c(enclosed)13 b(in)f(a)f +Fs(block)g Fw(construct)i(whose)0 490 y(name)i(is)h(the)h(same)f(as)g +(the)h Fv(name)g Fw(of)e(the)i(de\014ned)h(t)o(yp)q(e.)25 +b(Therefore)18 b Fs(return-from)0 542 y Fw(ma)o(y)12 +b(b)q(e)i(used)h(to)f(exit)g(from)e(the)i(function.)-33 +554 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 595 a(X3J13)g(v)o(oted)i(in)f(Marc)o(h)g(1989)f +Ft(h)p Fw(50)p Ft(i)h Fw(to)h(clarify)e(that,)h(while)g(de\014ning)g +(forms)f(nor-)-33 566 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 647 a(mally)j(app)q(ear)j(at)f(top)h(lev)o(el,)g(it)f +(is)h(meaningful)d(to)i(place)h(them)e(in)i(non-top-lev)o(el)0 +698 y(con)o(texts;)j Fs(deftype)18 b Fw(m)o(ust)g(de\014ne)j(the)f +(expander)g(function)f(within)g(the)h(enclosing)0 750 +y(lexical)13 b(en)o(vironmen)o(t,)f(not)i(within)f(the)i(global)d(en)o +(vironmen)o(t.)-33 762 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 929 a Fo(4.8.)20 b(T)n(yp)r(e)15 b(Con)n(v)n(ersion)g(F) +-5 b(unction)0 1024 y Fw(The)19 b(follo)o(wing)d(function)j(ma)o(y)d(b) +q(e)k(used)f(to)g(con)o(v)o(ert)g(an)g(ob)r(ject)g(to)g(an)f(equiv)n +(alen)o(t)0 1076 y(ob)r(ject)d(of)e(another)h(t)o(yp)q(e.)1209 +1238 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(coerce)20 +b Fv(obje)n(ct)25 b(r)n(esult)p Fs(-)p Fv(typ)n(e)0 1315 +y Fw(The)14 b Fv(r)n(esult-typ)n(e)e Fw(m)o(ust)h(b)q(e)g(a)h(t)o(yp)q +(e)f(sp)q(eci\014er;)i(the)f Fv(obje)n(ct)f Fw(is)g(con)o(v)o(erted)i +(to)e(an)g(\\equiv-)0 1367 y(alen)o(t")g(ob)r(ject)g(of)g(the)h(sp)q +(eci\014ed)g(t)o(yp)q(e.)k(If)13 b(the)h(co)q(ercion)g(cannot)f(b)q(e)h +(p)q(erformed,)e(then)0 1419 y(an)i(error)g(is)g(signaled.)k(In)c +(particular,)f Fs(\(coerce)19 b(x)846 1423 y Fn(')870 +1419 y Fs(nil\))13 b Fw(alw)o(a)o(ys)f(signals)i(an)f(error.)0 +1471 y(If)j Fv(obje)n(ct)g Fw(is)g(already)g(of)f(the)i(sp)q(eci\014ed) +h(t)o(yp)q(e,)f(as)f(determined)g(b)o(y)g Fs(typep)p +Fw(,)f(then)i(it)f(is)0 1523 y(simply)f(returned.)28 +b(It)17 b(is)f(not)h(generally)f(p)q(ossible)h(to)f(con)o(v)o(ert)i(an) +o(y)e(ob)r(ject)h(to)g(b)q(e)g(of)0 1575 y(an)o(y)c(t)o(yp)q(e)i +(whatso)q(ev)o(er;)f(only)f(certain)i(con)o(v)o(ersions)f(are)h(p)q +(ermitted:)0 1644 y Fu(.)42 1653 y Fw(An)o(y)e(sequence)i(t)o(yp)q(e)f +(ma)o(y)d(b)q(e)j(con)o(v)o(erted)g(to)f(an)o(y)g(other)h(sequence)h(t) +o(yp)q(e,)f(pro)o(vided)42 1705 y(the)g(new)h(sequence)h(can)f(con)o +(tain)f(all)f(actual)g(elemen)o(ts)i(of)e(the)i(old)e(sequence)k(\(it)d +(is)42 1757 y(an)j(error)h(if)f(it)g(cannot\).)30 b(If)17 +b(the)h Fv(r)n(esult-typ)n(e)f Fw(is)h(sp)q(eci\014ed)h(as)f(simply)d +Fs(array)p Fw(,)i(for)42 1808 y(example,)10 b(then)j +Fs(\(array)19 b(t\))12 b Fw(is)g(assumed.)17 b(A)12 b(sp)q(ecialized)g +(t)o(yp)q(e)h(suc)o(h)f(as)g Fs(string)f Fw(or)42 1860 +y Fs(\(vector)19 b(\(complex)h(short-float\)\))11 b Fw(ma)o(y)h(b)q(e)j +(sp)q(eci\014ed;)h(of)d(course,)i(the)g(result)42 1912 +y(ma)o(y)9 b(b)q(e)j(of)f(either)i(that)e(t)o(yp)q(e)i(or)e(some)g +(more)g(general)g(t)o(yp)q(e,)h(as)g(determined)g(b)o(y)f(the)42 +1964 y(implem)o(en)o(tation.)j(Elemen)o(ts)c(of)g(the)h(new)f(sequence) +j(will)c(b)q(e)i Fs(eql)f Fw(to)g(corresp)q(onding)42 +2016 y(elemen)o(ts)18 b(of)g(the)h(old)f(sequence.)34 +b(If)19 b(the)g Fv(se)n(quenc)n(e)g Fw(is)g(already)f(of)g(the)h(sp)q +(eci\014ed)42 2068 y(t)o(yp)q(e,)i(it)e(ma)o(y)f(b)q(e)i(returned)h +(without)f(cop)o(ying)f(it;)i(in)f(this,)g Fs(\(coerce)g +Fv(se)n(quenc)n(e)42 2120 y(typ)n(e)p Fs(\))14 b Fw(di\013ers)i(from)d +Fs(\(concatenate)19 b Fv(typ)n(e)i(se)n(quenc)n(e)p Fs(\))p +Fw(,)15 b(for)g(the)g(latter)g(is)g(required)42 2172 +y(to)i(cop)o(y)h(the)h(argumen)o(t)d Fv(se)n(quenc)n(e)p +Fw(.)31 b(In)18 b(particular,)g(if)f(one)h(sp)q(eci\014es)i +Fs(sequence)p Fw(,)42 2224 y(then)14 b(the)h(argumen)o(t)d(ma)o(y)g +(simply)g(b)q(e)j(returned)g(if)e(it)h(already)f(is)h(a)g +Fs(sequence)p Fw(.)42 2313 y Fs(\(coerce)213 2317 y Fn(')236 +2313 y Fs(\(a)21 b(b)g(c\))407 2317 y Fn(')430 2313 y +Fs(vector\))f Ft(\))g Fs(#)666 2309 y(-)666 2317 y(-)688 +2313 y(\(a)h(b)g(c\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 69 93 +69 92 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(TYPE)12 b(SPECIFIERS)1037 +b(69)42 295 y Fw(X3J13)17 b(v)o(oted)g(in)g(June)h(1989)f +Ft(h)p Fw(158)p Ft(i)g Fw(to)g(sp)q(ecify)h(that)f Fs(coerce)f +Fw(should)i(signal)e(an)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(error)h(if)e(the)h(new)g(sequence)i(t)o(yp)q(e)f +(sp)q(eci\014es)g(the)g(n)o(um)o(b)q(er)e(of)g(elemen)o(ts)g(and)h(the) +g(old)0 399 y(sequence)g(has)e(a)g(di\013eren)o(t)h(length.)-33 +410 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 451 a(X3J13)d(v)o(oted)i(in)e(Marc)o(h)i(1989)e +Ft(h)p Fw(11)p Ft(i)h Fw(to)g(sp)q(ecify)h(that)f(if)f(the)i +Fv(r)n(esult-typ)n(e)e Fw(is)h Fs(string)-33 423 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 503 a Fw(then)j(it)f(is)h(understo)q(o)q(d)h(to)e(mean)f +Fs(\(vector)20 b(character\))p Fw(,)14 b(and)h Fs(simple-string)e +Fw(is)0 555 y(understo)q(o)q(d)i(to)f(mean)f Fs(\(simple-array)18 +b(character)h(\(*\)\))p Fw(.)-33 566 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 622 a Fu(.)42 631 y Fw(Some)e(strings,)k(sym)o(b)q(ols,) +d(and)h(in)o(tegers)h(ma)o(y)e(b)q(e)h(con)o(v)o(erted)i(to)e(c)o +(haracters.)35 b(If)-38 606 y Fk(.)-38 619 y(.)-38 632 +y(.)-38 645 y(.)-38 658 y(.)-38 671 y(.)-38 684 y(.)-38 +697 y(.)-38 710 y(.)-38 723 y(.)-38 736 y(.)-38 749 y(.)-38 +762 y(.)-38 775 y(.)-38 788 y(.)-38 801 y(.)-38 814 y(.)-38 +827 y(.)-38 840 y(.)-38 853 y(.)-38 866 y(.)-38 879 y(.)-38 +892 y(.)-38 905 y(.)-38 918 y(.)-38 931 y(.)-38 944 y(.)-38 +957 y(.)-38 970 y(.)-38 983 y(.)-38 996 y(.)-38 1009 +y(.)-38 1022 y(.)-38 1034 y(.)-38 1047 y(.)-38 1060 y(.)-38 +1073 y(.)-38 1086 y(.)-38 1099 y(.)-38 1112 y(.)-38 1125 +y(.)-38 1138 y(.)-38 1151 y(.)-38 1164 y(.)-38 1177 y(.)-38 +1190 y(.)-38 1203 y(.)-38 1216 y(.)-38 1229 y(.)-38 1242 +y(.)-38 1255 y(.)-38 1268 y(.)-38 1281 y(.)-38 1294 y(.)-38 +1307 y(.)-38 1320 y(.)-38 1333 y(.)-38 1346 y(.)-38 1359 +y(.)-38 1372 y(.)-38 1385 y(.)-38 1398 y(.)-38 1411 y(.)-38 +1424 y(.)-38 1437 y(.)-38 1450 y(.)-38 1463 y(.)-38 1476 +y(.)-38 1489 y(.)-38 1501 y(.)-38 1514 y(.)-38 1527 y(.)-38 +1540 y(.)-38 1553 y(.)-38 1566 y(.)-38 1579 y(.)-38 1592 +y(.)-38 1605 y(.)-38 1618 y(.)-38 1631 y(.)-38 1644 y(.)-38 +1657 y(.)-38 1670 y(.)-38 1683 y(.)-38 1696 y(.)-38 1709 +y(.)-38 1722 y(.)-38 1735 y(.)-38 1748 y(.)-38 1761 y(.)-38 +1774 y(.)-38 1787 y(.)-38 1800 y(.)-38 1813 y(.)-38 1826 +y(.)-38 1839 y(.)-38 1852 y(.)-38 1865 y(.)-38 1878 y(.)-38 +1891 y(.)-38 1904 y(.)-38 1917 y(.)-38 1930 y(.)-38 1943 +y(.)-38 1956 y(.)-38 1968 y(.)-38 1981 y(.)-38 1994 y(.)-38 +2007 y(.)-38 2020 y(.)-38 2033 y(.)-38 2046 y(.)-38 2059 +y(.)-38 2072 y(.)-38 2085 y(.)-38 2098 y(.)-38 2111 y(.)-38 +2124 y(.)-38 2137 y(.)-38 2150 y(.)-38 2163 y(.)-38 2176 +y(.)-38 2189 y(.)-38 2202 y(.)-38 2215 y(.)-38 2228 y(.)-38 +2241 y(.)-38 2254 y(.)-38 2267 y(.)-38 2280 y(.)-38 2293 +y(.)-38 2306 y(.)-38 2319 y(.)-38 2332 y(.)-38 2345 y(.)-38 +2358 y(.)-38 2371 y(.)-38 2384 y(.)-38 2397 y(.)-38 2410 +y(.)-38 2423 y(.)-38 2435 y(.)-38 2448 y(.)-38 2461 y(.)-38 +2474 y(.)-38 2487 y(.)-38 2500 y(.)-38 2513 y(.)-38 2526 +y(.)-38 2539 y(.)-38 2552 y(.)-38 2565 y(.)-38 2578 y(.)-38 +2591 y(.)-38 2604 y(.)-38 2617 y(.)-38 2630 y(.)-38 2643 +y(.)-38 2656 y(.)-38 2669 y(.)-38 2682 y(.)-38 2695 y(.)-38 +2708 y(.)-38 2721 y(.)-38 2734 y(.)-38 2747 y(.)-38 2760 +y(.)-38 2773 y(.)-38 2786 y(.)-38 2799 y(.)-38 2812 y(.)-38 +2825 y(.)-38 2838 y(.)-38 2851 y(.)-38 2864 y(.)-38 2877 +y(.)-38 2890 y(.)-38 2902 y(.)-38 2915 y(.)-38 2928 y(.)-38 +2941 y(.)-38 2954 y(.)-38 2967 y(.)-38 2980 y(.)-38 2993 +y(.)-38 3006 y(.)-38 3019 y(.)-38 3032 y(.)-38 3045 y(.)-38 +3058 y(.)-38 3071 y(.)-38 3084 y(.)-38 3097 y(.)-38 3110 +y(.)-38 3123 y(.)-38 3136 y(.)-38 3149 y(.)-38 3162 y(.)-38 +3175 y(.)-38 3188 y(.)42 683 y Fv(obje)n(ct)12 b Fw(is)g(a)g(string)g +(of)g(length)g(1,)g(then)h(the)g(sole)f(elemen)o(t)g(of)g(the)h(string) +f(is)g(returned.)42 735 y(If)g Fv(obje)n(ct)i Fw(is)f(a)g(sym)o(b)q(ol) +f(whose)h(prin)o(t)h(name)e(is)h(of)g(length)g(1,)g(then)h(the)g(sole)f +(elemen)o(t)42 787 y(of)f(the)i(prin)o(t)g(name)e(is)h(returned.)20 +b(If)13 b Fv(obje)n(ct)g Fw(is)g(an)g(in)o(teger)h Fv(n)p +Fw(,)f(then)h Fs(\(int-char)20 b Fv(n)p Fs(\))42 839 +y Fw(is)13 b(returned.)20 b(See)15 b Fs(character)p Fw(.)42 +927 y Fs(\(coerce)k("a")300 931 y Fn(')323 927 y Fs(character\))g +Ft(\))i Fs(#)625 923 y(-)625 931 y(-)647 927 y(\\a)-33 +943 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1016 a Fw(X3J13)10 b(v)o(oted)h(in)f(Marc)o(h)i(1989)d +Ft(h)p Fw(11)p Ft(i)i Fw(to)g(eliminate)e Fs(int-char)g +Fw(from)g(Commo)o(n)f(Lisp.)-33 988 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1068 a(Presumably)h(this)g(eliminates)f(the)i(p)q +(ossibilit)o(y)e(of)h(co)q(ercing)h(an)f(in)o(teger)h(to)g(a)f(c)o +(haracter,)0 1120 y(although)k(the)h(v)o(ote)g(did)g(not)g(address)h +(this)f(question)g(directly)m(.)-33 1131 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1187 a Fu(.)42 1196 y Fw(An)o(y)k(non-complex)g(n)o(um)o +(b)q(er)g(can)h(b)q(e)g(con)o(v)o(erted)i(to)d(a)h Fs(short-float)p +Fw(,)e Fs(single-)42 1248 y(float)p Fw(,)g Fs(double-float)p +Fw(,)f(or)i Fs(long-float)p Fw(.)28 b(If)18 b(simply)e +Fs(float)h Fw(is)h(sp)q(eci\014ed,)i(and)42 1300 y Fv(obje)n(ct)13 +b Fw(is)h(not)g(already)g(a)g Fs(float)f Fw(of)g(some)g(kind,)g(then)i +(the)g(ob)r(ject)g(is)f(con)o(v)o(erted)h(to)42 1352 +y(a)e Fs(single-float)p Fw(.)42 1440 y Fs(\(coerce)19 +b(0)256 1444 y Fn(')279 1440 y Fs(short-float\))g Ft(\))i +Fs(0.0S0)42 1492 y(\(coerce)e(3.5L0)343 1496 y Fn(')367 +1492 y Fs(float\))g Ft(\))i Fs(3.5L0)42 1544 y(\(coerce)e(7/2)300 +1548 y Fn(')323 1544 y Fs(float\))h Ft(\))h Fs(3.5)0 +1624 y Fu(.)42 1633 y Fw(An)o(y)14 b(n)o(um)o(b)q(er)g(can)h(b)q(e)g +(con)o(v)o(erted)h(to)e(a)h(complex)e(n)o(um)o(b)q(er.)20 +b(If)14 b(the)h(n)o(um)o(b)q(er)f(is)h(not)42 1685 y(already)i +(complex,)f(then)i(a)f(zero)i(imaginary)14 b(part)k(is)f(pro)o(vided)h +(b)o(y)f(co)q(ercing)h(the)42 1736 y(in)o(teger)f(zero)i(to)e(the)h(t)o +(yp)q(e)g(of)f(the)i(giv)o(en)e(real)g(part.)29 b(\(If)18 +b(the)g(giv)o(en)f(real)g(part)h(is)42 1788 y(rational,)h(ho)o(w)o(ev)o +(er,)i(then)f(the)g(rule)g(of)f(canonical)g(represen)o(tation)i(for)e +(complex)42 1840 y(rationals)13 b(will)f(result)j(in)f(the)h(imm)o +(ediate)d(re-con)o(v)o(ersion)j(of)e(the)i(result)g(from)d(t)o(yp)q(e) +42 1892 y Fs(complex)g Fw(bac)o(k)i(to)f(t)o(yp)q(e)i +Fs(rational)p Fw(.\))42 1981 y Fs(\(coerce)k(4.5s0)343 +1985 y Fn(')367 1981 y Fs(complex\))g Ft(\))i Fs(#)625 +1977 y(-)625 1985 y(-)647 1981 y(C\(4.5S0)e(0.0S0\))42 +2032 y(\(coerce)g(7/2)300 2036 y Fn(')323 2032 y Fs(complex\))g +Ft(\))i Fs(7/2)42 2084 y(\(coerce)e(#)215 2080 y(-)215 +2088 y(-)237 2084 y(C\(7/2)h(0\))430 2088 y Fn(')453 +2084 y Fs(\(complex)g(double-float\)\))105 2136 y Ft(\))h +Fs(#)168 2132 y(-)168 2140 y(-)189 2136 y(C\(3.5D0)f(0.0D0\))0 +2216 y Fu(.)42 2225 y Fw(An)o(y)13 b(ob)r(ject)i(ma)o(y)d(b)q(e)i(co)q +(erced)i(to)e(t)o(yp)q(e)g Fs(t)p Fw(.)42 2313 y Fs(\(coerce)19 +b(x)256 2317 y Fn(')279 2313 y Fs(t\))i Ft(\021)h Fs(\(identity)d(x\))i +Ft(\021)g Fs(x)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 70 94 +70 93 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(70)77 b(COMMON)13 +b(LISP)42 295 y Fw(X3J13)i(v)o(oted)g(in)h(June)g(1988)f +Ft(h)p Fw(90)p Ft(i)g Fw(to)g(allo)o(w)f(co)q(ercion)j(of)e(certain)h +(ob)r(jects)h(to)e(the)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(t)o(yp)q(e)f Fs(function)p Fw(:)0 +406 y Fu(.)42 415 y Fw(A)g(sym)o(b)q(ol)f(or)i(lam)o(b)q(da-expression) +e(can)i(b)q(e)g(con)o(v)o(erted)h(to)e(a)h(function.)20 +b(A)15 b(sym)o(b)q(ol)42 467 y(is)k(co)q(erced)j(to)e(t)o(yp)q(e)g +Fs(function)e Fw(as)i(if)f(b)o(y)g(applying)g Fs(symbol-function)d +Fw(to)k(the)42 519 y(sym)o(b)q(ol;)f(an)h(error)g(is)f(signaled)g(if)g +(the)h(predicate)g Fs(fboundp)e Fw(is)i(not)f(true)h(of)f(the)42 +571 y(sym)o(b)q(ol)11 b(or)j(if)f(the)h(sym)o(b)q(ol)e(names)h(a)g +(macro)f(or)i(sp)q(ecial)g(form.)i(A)e(list)f Fv(x)h +Fw(whose)g Fv(c)n(ar)42 623 y Fw(is)h(the)h(sym)o(b)q(ol)e +Fs(lambda)h Fw(is)h(co)q(erced)h(to)f(a)f(function)h(as)g(if)f(b)o(y)g +(execution)i(of)e Fs(\(eval)39 679 y Fn(`)63 675 y Fs(#)63 +671 y(-)63 679 y(-)m Fn(')106 675 y Fs(,)p Fv(x)p Fs(\))p +Fw(,)e(that)h(is,)f(of)g Fs(\(eval)20 b(\(list)642 679 +y Fn(')666 675 y Fs(function)f Fv(x)p Fs(\)\))p Fw(.)-33 +686 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 743 a(Co)q(ercions)d(from)f(\015oating-p)q(oin)o(t)g(n) +o(um)o(b)q(ers)g(to)h(rationals)g(and)g(from)e(ratios)i(to)g(in-)0 +795 y(tegers)h(are)g(purp)q(osely)g Fv(not)f Fw(pro)o(vided)g(b)q +(ecause)i(of)d(rounding)h(problems.)23 b(The)17 b(func-)0 +847 y(tions)11 b Fs(rational)p Fw(,)f Fs(rationalize)p +Fw(,)f Fs(floor)p Fw(,)h Fs(ceiling)p Fw(,)g Fs(truncate)p +Fw(,)g(and)h Fs(round)g Fw(ma)o(y)e(b)q(e)0 899 y(used)18 +b(for)e(suc)o(h)i(purp)q(oses.)28 b(Similarl)o(y)m(,)14 +b(co)q(ercions)k(from)d(c)o(haracters)j(to)f(in)o(tegers)g(are)0 +951 y(purp)q(osely)h(not)g(pro)o(vided;)i Fs(char-code)c +Fw(or)h Fs(char-int)g Fw(ma)o(y)f(b)q(e)i(used)h(explicitly)e(to)0 +1002 y(p)q(erform)c(suc)o(h)i(con)o(v)o(ersions.)0 1147 +y Fo(4.9.)20 b(Determining)12 b(the)j(T)n(yp)r(e)f(of)h(an)g(Ob)s(ject) +0 1231 y Fw(The)g(follo)o(wing)d(function)i(ma)o(y)f(b)q(e)i(used)g(to) +g(obtain)f(a)g(t)o(yp)q(e)h(sp)q(eci\014er)h(describing)f(the)0 +1283 y(t)o(yp)q(e)f(of)g(a)f(giv)o(en)h(ob)r(ject.)1209 +1406 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(type-of)20 +b Fv(obje)n(ct)0 1483 y Fs(\(type-of)g Fv(obje)n(ct)p +Fs(\))14 b Fw(returns)i(an)f(implemen)o(tatio)o(n-dep)q(enden)o(t)f +(result:)20 b(some)14 b Fv(typ)n(e)h Fw(of)-38 1458 y +Fk(.)-38 1471 y(.)-38 1484 y(.)-38 1497 y(.)-38 1510 +y(.)-38 1522 y(.)-38 1535 y(.)-38 1548 y(.)-38 1561 y(.)-38 +1574 y(.)-38 1587 y(.)-38 1600 y(.)-38 1613 y(.)-38 1626 +y(.)-38 1639 y(.)-38 1652 y(.)-38 1665 y(.)-38 1678 y(.)-38 +1691 y(.)-38 1704 y(.)-38 1717 y(.)-38 1730 y(.)-38 1743 +y(.)-38 1756 y(.)-38 1769 y(.)-38 1782 y(.)-38 1795 y(.)-38 +1808 y(.)-38 1821 y(.)-38 1834 y(.)-38 1847 y(.)-38 1860 +y(.)-38 1873 y(.)-38 1886 y(.)-38 1899 y(.)-38 1912 y(.)-38 +1925 y(.)-38 1938 y(.)-38 1951 y(.)-38 1964 y(.)-38 1977 +y(.)-38 1989 y(.)-38 2002 y(.)-38 2015 y(.)-38 2028 y(.)-38 +2041 y(.)-38 2054 y(.)-38 2067 y(.)-38 2080 y(.)-38 2093 +y(.)-38 2106 y(.)-38 2119 y(.)-38 2132 y(.)-38 2145 y(.)-38 +2158 y(.)-38 2171 y(.)-38 2184 y(.)-38 2197 y(.)-38 2210 +y(.)-38 2223 y(.)-38 2236 y(.)-38 2249 y(.)-38 2262 y(.)-38 +2275 y(.)-38 2288 y(.)-38 2301 y(.)-38 2314 y(.)-38 2327 +y(.)-38 2340 y(.)-38 2353 y(.)-38 2366 y(.)-38 2379 y(.)-38 +2392 y(.)-38 2405 y(.)-38 2418 y(.)-38 2431 y(.)-38 2443 +y(.)-38 2456 y(.)-38 2469 y(.)-38 2482 y(.)-38 2495 y(.)-38 +2508 y(.)-38 2521 y(.)-38 2534 y(.)-38 2547 y(.)-38 2560 +y(.)-38 2573 y(.)-38 2586 y(.)-38 2599 y(.)-38 2612 y(.)-38 +2625 y(.)-38 2638 y(.)-38 2651 y(.)-38 2664 y(.)-38 2677 +y(.)-38 2690 y(.)-38 2703 y(.)-38 2716 y(.)-38 2729 y(.)-38 +2742 y(.)-38 2755 y(.)-38 2768 y(.)-38 2781 y(.)-38 2794 +y(.)-38 2807 y(.)-38 2820 y(.)-38 2833 y(.)-38 2846 y(.)-38 +2859 y(.)-38 2872 y(.)-38 2885 y(.)-38 2898 y(.)-38 2910 +y(.)-38 2923 y(.)-38 2936 y(.)-38 2949 y(.)-38 2962 y(.)-38 +2975 y(.)-38 2988 y(.)-38 3001 y(.)-38 3014 y(.)-38 3027 +y(.)-38 3040 y(.)-38 3053 y(.)-38 3066 y(.)-38 3079 y(.)-38 +3092 y(.)-38 3105 y(.)-38 3118 y(.)-38 3131 y(.)-38 3144 +y(.)-38 3157 y(.)-38 3170 y(.)-38 3183 y(.)-38 3196 y(.)-38 +3209 y(.)-38 3222 y(.)-38 3235 y(.)-38 3248 y(.)-38 3261 +y(.)-38 3274 y(.)-38 3287 y(.)-38 3300 y(.)-38 3313 y(.)-38 +3326 y(.)-38 3339 y(.)-38 3352 y(.)-38 3365 y(.)-38 3377 +y(.)-38 3390 y(.)-38 3403 y(.)-38 3416 y(.)-38 3429 y(.)-38 +3442 y(.)-38 3455 y(.)-38 3468 y(.)-38 3481 y(.)-38 3494 +y(.)-38 3507 y(.)-38 3520 y(.)-38 3533 y(.)-38 3546 y(.)-38 +3559 y(.)-38 3572 y(.)-38 3585 y(.)-38 3598 y(.)-38 3611 +y(.)-38 3624 y(.)-38 3637 y(.)-38 3650 y(.)-38 3663 y(.)-38 +3676 y(.)-38 3689 y(.)-38 3702 y(.)-38 3715 y(.)-38 3728 +y(.)-38 3741 y(.)-38 3754 y(.)-38 3767 y(.)-38 3780 y(.)-38 +3793 y(.)-38 3806 y(.)-38 3819 y(.)-38 3832 y(.)-38 3844 +y(.)-38 3857 y(.)-38 3870 y(.)-38 3883 y(.)-38 3896 y(.)-38 +3909 y(.)-38 3922 y(.)-38 3935 y(.)-38 3948 y(.)-38 3961 +y(.)-38 3974 y(.)-38 3987 y(.)-38 4000 y(.)-38 4013 y(.)-38 +4026 y(.)-38 4039 y(.)0 1535 y Fw(whic)o(h)i(the)g Fv(obje)n(ct)g +Fw(is)g(a)f(mem)o(b)q(er.)25 b(Implemen)o(tors)15 b(are)i(encouraged)h +(to)f(arrange)g(for)0 1586 y Fs(type-of)12 b Fw(to)i(return)h(the)g +(most)e(sp)q(eci\014c)i(t)o(yp)q(e)g(that)f(can)g(b)q(e)g(con)o(v)o +(enien)o(tly)g(computed)0 1638 y(and)f(is)f(lik)o(ely)g(to)g(b)q(e)i +(useful)f(to)f(the)i(user.)k(If)13 b(the)g(argumen)o(t)f(is)g(a)h +(user-de\014ned)i(named)0 1690 y(structure)j(created)e(b)o(y)g +Fs(defstruct)p Fw(,)d(then)j Fs(type-of)e Fw(will)g(return)i(the)g(t)o +(yp)q(e)g(name)e(of)0 1742 y(that)g(structure.)21 b(Because)16 +b(the)f(result)g(is)f(implemen)o(tatio)o(n-dep)q(enden)o(t,)f(it)h(is)g +(usually)0 1794 y(b)q(etter)19 b(to)e(use)h Fs(type-of)e +Fw(primarily)f(for)i(debugging)g(purp)q(oses;)j(ho)o(w)o(ev)o(er,)e(in) +f(a)g(few)0 1846 y(situations)c(p)q(ortable)g(co)q(de)i(requires)f(the) +g(use)g(of)f Fs(type-of)p Fw(,)f(suc)o(h)i(as)f(when)h(the)g(result)0 +1898 y(is)i(to)g(b)q(e)g(giv)o(en)f(to)h(the)h Fs(coerce)d +Fw(or)i Fs(map)f Fw(function.)24 b(On)16 b(the)h(other)f(hand,)g(often) +g(the)0 1950 y Fs(typep)11 b Fw(function)i(or)f(the)h +Fs(typecase)e Fw(construct)j(is)e(more)g(appropriate)g(than)h +Fs(type-of)p Fw(.)-33 1961 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2009 V 0 2070 a Fm(Compatibilit)o(y)8 +b(note:)15 b FA(In)10 b(MacLisp)g(the)g(function)h Fj(type-of)6 +b FA(is)k(called)h Fj(typep)p FA(,)d(and)i(anoma-)0 2115 +y(lously)15 b(so,)e(for)g(it)g(is)h(not)f(a)g(predicate.)p +0 2148 V 42 2225 a Fw(Man)o(y)d(ha)o(v)o(e)h(observ)o(ed)i(\(and)e +(righ)o(tly)f(so\))h(that)h(this)f(sp)q(eci\014cation)h(is)f(totally)f +(wimp)o(y)-33 2197 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2277 a(and)18 b(therefore)h(nearly)e(useless.)32 +b(X3J13)17 b(v)o(oted)h(in)f(June)i(1989)d Ft(h)p Fw(179)p +Ft(i)i Fw(to)f(place)h(the)0 2329 y(follo)o(wing)11 b(constrain)o(ts)k +(on)f Fs(type-of)p Fw(:)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 71 95 +71 94 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(TYPE)12 b(SPECIFIERS)1037 +b(71)0 286 y Fu(.)42 295 y Fw(Let)14 b Fv(x)g Fw(b)q(e)h(an)f(ob)r +(ject)h(suc)o(h)g(that)f Fs(\(typep)20 b Fv(x)h(typ)n(e)p +Fs(\))14 b Fw(is)g(true)h(and)f Fv(typ)n(e)g Fw(is)g(one)h(of)e(the)42 +347 y(follo)o(wing:)42 429 y Fs(array)243 b(float)200 +b(package)g(sequence)42 481 y(bit-vector)133 b(function)h(pathname)178 +b(short-float)42 533 y(character)155 b(hash-table)90 +b(random-state)g(single-float)42 584 y(complex)199 b(integer)156 +b(ratio)244 b(stream)42 636 y(condition)155 b(long-float)90 +b(rational)178 b(string)42 688 y(cons)265 b(null)222 +b(readtable)156 b(symbol)42 740 y(double-float)89 b(number)178 +b(restart)200 b(vector)42 822 y Fw(Then)11 b Fs(\(subtypep)19 +b(\(type-of)h Fv(x)p Fs(\))h Fv(typ)n(e)p Fs(\)\))11 +b Fw(m)o(ust)f(return)i(the)g(v)n(alues)f Fs(t)f Fw(and)h +Fs(t)p Fw(;)h(that)42 874 y(is,)i Fs(type-of)f Fw(applied)h(to)g +Fv(x)h Fw(m)o(ust)e(return)j(either)f Fv(typ)n(e)g Fw(itself)f(or)h(a)f +(subt)o(yp)q(e)i(of)e Fv(typ)n(e)42 926 y Fw(that)f Fs(subtypep)g +Fw(can)h(recognize)h(in)e(that)h(implemen)o(tation.)0 +1003 y Fu(.)42 1012 y Fw(F)m(or)h(an)o(y)h(ob)r(ject)h +Fv(x)p Fw(,)f Fs(\(subtypep)j(\(type-of)h Fv(x)p Fs(\))h(\(class-of)f +Fv(x)p Fs(\)\))15 b Fw(m)o(ust)h(pro)q(duce)42 1064 y(the)e(v)n(alues)g +Fs(t)f Fw(and)h Fs(t)p Fw(.)0 1140 y Fu(.)42 1149 y Fw(F)m(or)i(ev)o +(ery)i(ob)r(ject)f Fv(x)p Fw(,)g Fs(\(typep)j Fv(x)i +Fs(\(type-of)d Fv(x)p Fs(\)\))e Fw(m)o(ust)f(b)q(e)h(true.)28 +b(\(This)17 b(implies)42 1201 y(that)c Fs(type-of)g Fw(can)h(nev)o(er)h +(return)g Fs(nil)p Fw(,)e(for)g(no)h(ob)r(ject)g(is)g(of)f(t)o(yp)q(e)i +Fs(nil)p Fw(.\))0 1278 y Fu(.)42 1287 y Fs(type-of)j +Fw(nev)o(er)i(returns)h Fs(t)e Fw(and)h(nev)o(er)g(uses)h(a)e +Fs(satisfies)p Fw(,)g Fs(and)p Fw(,)h Fs(or)p Fw(,)g +Fs(not)p Fw(,)g(or)42 1338 y Fs(values)12 b Fw(t)o(yp)q(e)j(sp)q +(eci\014er)g(in)f(its)f(result.)0 1415 y Fu(.)42 1424 +y Fw(F)m(or)j(ob)r(jects)h(of)f(CLOS)h(metaclass)f Fs(structure-class)e +Fw(or)i(of)g Fs(standard-class)p Fw(,)42 1476 y Fs(type-of)9 +b Fw(returns)j(the)f(prop)q(er)h(name)d(of)h(the)i(class)f(returned)h +(b)o(y)e Fs(class-of)f Fw(if)h(it)h(has)42 1528 y(a)h(prop)q(er)h +(name,)f(and)g(otherwise)i(returns)g(the)f(class)g(itself.)k(In)c +(particular,)f(for)g(an)o(y)42 1580 y(ob)r(ject)i(created)h(b)o(y)f(a)f +Fs(defstruct)f Fw(constructor)j(function,)e(where)i(the)g +Fs(defstruct)42 1632 y Fw(had)e(the)i(name)d Fv(name)j +Fw(and)f(no)f Fs(:type)g Fw(option,)g Fs(type-of)f Fw(will)g(return)k +Fv(name)p Fw(.)42 1705 y(As)e(an)g(example,)f Fs(\(type-of)19 +b("acetylcholinester)o(ase"\))10 b Fw(ma)o(y)j(return)i +Fs(string)0 1757 y Fw(or)24 b Fs(simple-string)d Fw(or)j +Fs(\(simple-string)39 b(20\))p Fw(,)25 b(but)f(not)g +Fs(array)e Fw(or)i Fs(simple-)0 1809 y(vector)p Fw(.)39 +b(As)21 b(another)h(example,)f(it)g(is)g(p)q(ermitted)g(for)g +Fs(\(type-of)e(1729\))h Fw(to)h(re-)0 1861 y(turn)c Fs(integer)e +Fw(or)i Fs(fixnum)e Fw(\(if)h(it)g(is)h(indeed)g(a)f(\014xn)o(um\))g +(or)g Fs(\(signed-byte)j(16\))d Fw(or)0 1913 y Fs(\(integer)k(1729)g +(1729\))f Fw(or)h Fs(\(integer)g(1685)g(1750\))f Fw(or)i(ev)o(en)g +Fs(\(mod)f(1730\))p Fw(,)h(but)0 1965 y(not)14 b Fs(rational)e +Fw(or)i Fs(number)p Fw(,)e(b)q(ecause)0 2053 y Fs(\(typep)20 +b(\(+)h(\(expt)f(9)h(3\))g(\(expt)f(10)g(3\)\))734 2057 +y Fn(')757 2053 y Fs(integer\))0 2142 y Fw(is)14 b(true,)g +Fs(integer)e Fw(is)i(in)g(the)g(list)f(of)h(t)o(yp)q(es)h(men)o(tioned) +d(ab)q(o)o(v)o(e,)h(and)0 2231 y Fs(\(subtypep)19 b(\(type-of)h(\(+)h +(\(expt)f(1)h(3\))f(\(expt)h(12)f(3\)\)\))1016 2235 y +Fn(')1040 2231 y Fs(integer\))0 2320 y Fw(w)o(ould)13 +b(b)q(e)i(false)e(if)g Fs(type-of)g Fw(w)o(ere)h(to)g(return)h +Fs(rational)d Fw(or)i Fs(number)p Fw(.)-33 2331 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 13 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 72 96 +72 95 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(72)77 b(COMMON)13 +b(LISP)0 295 y Fo(4.10.)20 b(T)n(yp)r(e)15 b(Upgrading)-33 +261 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 380 a Fw(X3J13)10 b(v)o(oted)g(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(8)p Ft(i)h Fw(to)g(add)g(new)h(functions)f(b)o(y)f(whic)o(h)h +(a)g(program)f(can)0 432 y(determine,)h(in)f(a)g(giv)o(en)g(Common)e +(Lisp)i(implemen)o(tation,)d(ho)o(w)k(that)f(implemen)o(tation)0 +484 y(will)g Fv(up)n(gr)n(ade)i Fw(a)g(t)o(yp)q(e)g(when)g +(constructing)h(an)e(arra)o(y)h(sp)q(ecialized)g(to)g(con)o(tain)f +(elemen)o(ts)0 535 y(of)j(that)h(t)o(yp)q(e,)g(or)g(a)g(complex)e(n)o +(um)o(b)q(er)h(sp)q(ecialized)i(to)f(con)o(tain)f(parts)i(of)e(that)h +(t)o(yp)q(e.)1209 662 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(upgraded-array-el)o(ement)o(-type)18 b Fv(typ)n(e)0 +739 y Fw(A)10 b(t)o(yp)q(e)g(sp)q(eci\014er)h(is)e(returned,)j +(indicating)c(the)i(elemen)o(t)f(t)o(yp)q(e)i(of)d(the)j(most)d(sp)q +(ecialized)0 791 y(arra)o(y)14 b(represen)o(tation)i(capable)e(of)g +(holding)f(items)g(of)g(the)i(sp)q(eci\014ed)h(argumen)o(t)d +Fv(typ)n(e)p Fw(.)0 843 y(The)20 b(result)g(is)f(necessarily)i(a)e(sup) +q(ert)o(yp)q(e)i(of)e(the)h(giv)o(en)f Fv(typ)n(e)p Fw(.)34 +b(F)m(urthermore,)20 b(if)f(a)0 895 y(t)o(yp)q(e)c Fv(A)g +Fw(is)f(a)h(subt)o(yp)q(e)h(of)e(t)o(yp)q(e)h Fv(B)p +Fw(,)g(then)g Fs(\(upgraded-array-el)o(ement)o(-type)i +Fv(A)p Fs(\))e Fw(is)0 946 y(a)f(subt)o(yp)q(e)g(of)g +Fs(\(upgraded-array-)o(eleme)o(nt-ty)o(pe)k Fv(B)p Fs(\))p +Fw(.)42 998 y(The)d(manner)g(in)g(whic)o(h)g(an)g(arra)o(y)g(elemen)o +(t)g(t)o(yp)q(e)h(is)f(upgraded)h(dep)q(ends)h(only)e(on)0 +1050 y(the)g(elemen)o(t)f(t)o(yp)q(e)g(as)h(suc)o(h)g(and)f(not)g(on)g +(an)o(y)f(other)i(prop)q(ert)o(y)g(of)f(the)h(arra)o(y)f(suc)o(h)h(as)0 +1102 y(size,)e(rank,)f(adjustabilit)o(y)m(,)e(presence)15 +b(or)e(absence)h(of)d(a)i(\014ll)e(p)q(oin)o(ter,)i(or)f(displacemen)o +(t.)p 0 1162 V 0 1222 a Fm(Rationale:)19 b FA(If)13 b(upgrading)j(w)o +(ere)e(allo)o(w)o(ed)h(to)f(dep)q(end)h(on)f(an)o(y)h(of)e(these)h +(prop)q(erties,)i(all)f(of)0 1268 y(whic)o(h)10 b(can)f(b)q(e)g +(referred)h(to,)f(directly)i(or)e(indirectly)m(,)j(in)e(the)f(language) +i(of)e(t)o(yp)q(e)g(sp)q(eci\014ers,)i(then)0 1313 y(it)h(w)o(ould)g +(not)f(b)q(e)h(p)q(ossible)i(to)d(displace)i(an)f(arra)o(y)g(in)g(a)f +(consisten)o(t)i(and)f(dep)q(endable)i(manner)0 1359 +y(to)i(another)g(arra)o(y)g(created)h(with)f(the)g(same)f +Fj(:element-ty)o(pe)d FA(argumen)o(t)k(but)h(di\013ering)h(in)0 +1405 y(one)13 b(of)g(these)h(prop)q(erties.)p 0 1439 +V 42 1509 a Fw(Note)g(that)g Fs(upgraded-array-e)o(lemen)o(t-typ)o(e)d +Fw(could)j(b)q(e)g(de\014ned)h(as)0 1594 y Fs(\(defun)20 +b(upgraded-array-el)o(ement)o(-type)e(\(type\))42 1646 +y(\(array-element-type)g(\(make-array)g(0)j(:element-type)e(type\)\)\)) +0 1731 y Fw(but)d(this)g(de\014nition)f(has)h(the)g(disadv)n(an)o(tage) +f(of)g(allo)q(cating)f(an)i(arra)o(y)f(and)g(then)i(im-)0 +1783 y(mediately)10 b(discarding)h(it.)17 b(The)12 b(clev)o(er)g +(implemen)o(tor)d(surely)j(can)g(conjure)g(up)g(a)f(more)0 +1835 y(practical)j(approac)o(h.)1209 1961 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(upgraded-complex-)o(part-)o(type)18 b +Fv(typ)n(e)0 2038 y Fw(A)c(t)o(yp)q(e)h(sp)q(eci\014er)i(is)d +(returned,)i(indicating)d(the)i(elemen)o(t)f(t)o(yp)q(e)h(of)e(the)i +(most)f(sp)q(ecial-)0 2090 y(ized)i(complex)e(n)o(um)o(b)q(er)g +(represen)o(tation)j(capable)f(of)e(ha)o(ving)h(parts)h(of)e(the)i(sp)q +(eci\014ed)0 2142 y(argumen)o(t)8 b Fv(typ)n(e)p Fw(.)17 +b(The)9 b(result)i(is)e(necessarily)h(a)f(sup)q(ert)o(yp)q(e)i(of)e +(the)h(giv)o(en)e Fv(typ)n(e)p Fw(.)17 b(F)m(urther-)0 +2194 y(more,)10 b(if)f(a)h(t)o(yp)q(e)h Fv(A)f Fw(is)g(a)g(subt)o(yp)q +(e)i(of)d(t)o(yp)q(e)i Fv(B)p Fw(,)f(then)h Fs(\(upgraded-complex-p)o +(art-t)o(ype)0 2246 y Fv(A)p Fs(\))i Fw(is)h(a)g(subt)o(yp)q(e)h(of)e +Fs(\(upgraded-complex)o(-part)o(-type)18 b Fv(B)p Fs(\))p +Fw(.)-33 2257 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 87 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 73 97 +73 96 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(5)p 0 448 598 9 +v 0 531 a Fp(Program)30 b(Structure)0 889 y Fw(In)16 +b(c)o(hapter)i(2)e(the)h(syn)o(tax)f(w)o(as)g(sk)o(etc)o(hed)i(for)e +(notating)g(data)g(ob)r(jects)h(in)f(Common)0 941 y(Lisp.)28 +b(The)17 b(same)f(syn)o(tax)h(is)g(used)h(for)f(notating)f(programs)g +(b)q(ecause)j(all)d(Common)0 993 y(Lisp)e(programs)e(ha)o(v)o(e)i(a)g +(represen)o(tation)h(as)f(Common)d(Lisp)i(data)h(ob)r(jects.)42 +1045 y(Lisp)h(programs)g(are)h(organized)f(as)h(forms)f(and)g +(functions.)24 b(F)m(orms)14 b(are)i Fv(evaluate)n(d)0 +1097 y Fw(\(relativ)o(e)g(to)g(some)f(con)o(text\))i(to)f(pro)q(duce)h +(v)n(alues)f(and)g(side)h(e\013ects.)26 b(F)m(unctions)16 +b(are)0 1149 y(in)o(v)o(ok)o(ed)g(b)o(y)h Fv(applying)g +Fw(them)f(to)h(argumen)o(ts.)26 b(The)18 b(most)e(imp)q(ortan)o(t)f +(kind)h(of)g(form)0 1201 y(p)q(erforms)11 b(a)g(function)g(call;)g(con) +o(v)o(ersely)m(,)g(a)g(function)g(p)q(erforms)g(computation)f(b)o(y)h +(ev)n(al-)0 1252 y(uating)i(forms.)42 1305 y(In)d(this)g(c)o(hapter,)i +(forms)d(are)i(discussed)h(\014rst)f(and)g(then)g(functions.)17 +b(Finally)m(,)8 b(certain)0 1356 y(\\top)13 b(lev)o(el")f(sp)q(ecial)h +(forms)f(are)h(discussed;)h(the)g(most)e(imp)q(ortan)o(t)f(of)h(these)j +(is)d Fs(defun)p Fw(,)0 1408 y(whose)i(purp)q(ose)h(is)f(to)g(de\014ne) +h(a)e(named)g(function.)0 1566 y Fo(5.1.)20 b(F)-5 b(orms)0 +1654 y Fw(The)14 b(standard)g(unit)g(of)f(in)o(teraction)h(with)f(a)h +(Common)d(Lisp)i(implemen)o(tation)d(is)k(the)0 1706 +y Fv(form)p Fw(,)i(whic)o(h)g(is)g(simply)f(a)h(data)g(ob)r(ject)h +(mean)o(t)e(to)h(b)q(e)h Fv(evaluate)n(d)g Fw(as)f(a)g(program)f(to)0 +1758 y(pro)q(duce)h(one)g(or)f(more)f Fv(values)i Fw(\(whic)o(h)f(are)g +(also)g(data)g(ob)r(jects\).)23 b(One)16 b(ma)o(y)d(request)0 +1809 y(ev)n(aluation)19 b(of)g Fv(any)h Fw(data)g(ob)r(ject,)i(but)e +(only)f(certain)i(ones)f(are)h(meaningful.)33 b(F)m(or)0 +1861 y(instance,)17 b(sym)o(b)q(ols)e(and)h(lists)g(are)h(meaningful)d +(forms,)h(while)g(arra)o(ys)i(normally)c(are)0 1913 y(not.)31 +b(Examples)17 b(of)g(meaningful)f(forms)h(are)i Fs(3)p +Fw(,)f(whose)h(v)n(alue)e(is)h Fs(3)p Fw(,)h(and)f Fs(\(+)j(3)g(4\))p +Fw(,)0 1965 y(whose)16 b(v)n(alue)e(is)h Fs(7)p Fw(.)21 +b(W)m(e)15 b(write)g Fs(3)g Ft(\))f Fs(3)h Fw(and)g Fs(\(+)21 +b(3)g(4\))14 b Ft(\))h Fs(7)g Fw(to)f(indicate)h(these)i(facts.)0 +2017 y(\()p Ft(\))c Fw(means)h(\\ev)n(aluates)f(to."\))42 +2069 y(Meaningful)20 b(forms)h(ma)o(y)f(b)q(e)i(divided)g(in)o(to)f +(three)i(categories:)35 b(self-ev)n(aluating)0 2121 y(forms,)16 +b(suc)o(h)h(as)g(n)o(um)o(b)q(ers;)g(sym)o(b)q(ols,)f(whic)o(h)h(stand) +g(for)f(v)n(ariables;)h(and)g(lists.)26 b(The)0 2173 +y(lists)14 b(in)f(turn)i(ma)o(y)d(b)q(e)i(divided)g(in)o(to)f(three)i +(categories:)20 b(sp)q(ecial)14 b(forms,)e(macro)h(calls,)0 +2225 y(and)h(function)f(calls.)42 2277 y(An)o(y)d(Common)e(Lisp)j(data) +g(ob)r(ject)h(not)e(explicitly)g(de\014ned)j(here)f(to)f(b)q(e)g(a)g(v) +n(alid)e(form)-38 2252 y Fk(.)-38 2265 y(.)-38 2278 y(.)-38 +2291 y(.)-38 2304 y(.)-38 2317 y(.)-38 2330 y(.)-38 2343 +y(.)-38 2356 y(.)-38 2369 y(.)-38 2382 y(.)-38 2395 y(.)-38 +2408 y(.)-38 2420 y(.)-38 2433 y(.)-38 2446 y(.)-38 2459 +y(.)-38 2472 y(.)-38 2485 y(.)-38 2498 y(.)-38 2511 y(.)-38 +2524 y(.)-38 2537 y(.)-38 2550 y(.)-38 2563 y(.)-38 2576 +y(.)-38 2589 y(.)-38 2602 y(.)-38 2615 y(.)-38 2628 y(.)-38 +2641 y(.)-38 2654 y(.)-38 2667 y(.)-38 2680 y(.)-38 2693 +y(.)-38 2706 y(.)-38 2719 y(.)-38 2732 y(.)-38 2745 y(.)-38 +2758 y(.)-38 2771 y(.)-38 2784 y(.)-38 2797 y(.)-38 2810 +y(.)-38 2823 y(.)-38 2836 y(.)-38 2849 y(.)-38 2862 y(.)-38 +2875 y(.)-38 2887 y(.)-38 2900 y(.)-38 2913 y(.)-38 2926 +y(.)-38 2939 y(.)-38 2952 y(.)-38 2965 y(.)-38 2978 y(.)-38 +2991 y(.)-38 3004 y(.)-38 3017 y(.)-38 3030 y(.)-38 3043 +y(.)-38 3056 y(.)-38 3069 y(.)-38 3082 y(.)-38 3095 y(.)-38 +3108 y(.)-38 3121 y(.)-38 3134 y(.)-38 3147 y(.)-38 3160 +y(.)-38 3173 y(.)-38 3186 y(.)-38 3199 y(.)-38 3212 y(.)-38 +3225 y(.)-38 3238 y(.)-38 3251 y(.)-38 3264 y(.)-38 3277 +y(.)-38 3290 y(.)-38 3303 y(.)-38 3316 y(.)-38 3329 y(.)-38 +3342 y(.)-38 3354 y(.)-38 3367 y(.)-38 3380 y(.)-38 3393 +y(.)-38 3406 y(.)-38 3419 y(.)-38 3432 y(.)-38 3445 y(.)-38 +3458 y(.)-38 3471 y(.)-38 3484 y(.)-38 3497 y(.)-38 3510 +y(.)-38 3523 y(.)-38 3536 y(.)-38 3549 y(.)-38 3562 y(.)-38 +3575 y(.)-38 3588 y(.)-38 3601 y(.)-38 3614 y(.)-38 3627 +y(.)-38 3640 y(.)-38 3653 y(.)-38 3666 y(.)-38 3679 y(.)-38 +3692 y(.)-38 3705 y(.)-38 3718 y(.)-38 3731 y(.)-38 3744 +y(.)-38 3757 y(.)-38 3770 y(.)-38 3783 y(.)-38 3796 y(.)-38 +3809 y(.)-38 3821 y(.)-38 3834 y(.)-38 3847 y(.)-38 3860 +y(.)-38 3873 y(.)-38 3886 y(.)-38 3899 y(.)-38 3912 y(.)-38 +3925 y(.)-38 3938 y(.)-38 3951 y(.)-38 3964 y(.)-38 3977 +y(.)-38 3990 y(.)-38 4003 y(.)-38 4016 y(.)-38 4029 y(.)-38 +4042 y(.)-38 4055 y(.)-38 4068 y(.)-38 4081 y(.)-38 4094 +y(.)-38 4107 y(.)-38 4120 y(.)-38 4133 y(.)-38 4146 y(.)-38 +4159 y(.)-38 4172 y(.)-38 4185 y(.)-38 4198 y(.)-38 4211 +y(.)-38 4224 y(.)-38 4237 y(.)-38 4250 y(.)-38 4263 y(.)-38 +4276 y(.)-38 4288 y(.)-38 4301 y(.)-38 4314 y(.)-38 4327 +y(.)-38 4340 y(.)-38 4353 y(.)-38 4366 y(.)-38 4379 y(.)-38 +4392 y(.)-38 4405 y(.)-38 4418 y(.)-38 4431 y(.)-38 4444 +y(.)-38 4457 y(.)-38 4470 y(.)-38 4483 y(.)-38 4496 y(.)-38 +4509 y(.)-38 4522 y(.)-38 4535 y(.)-38 4548 y(.)-38 4561 +y(.)-38 4574 y(.)-38 4587 y(.)-38 4600 y(.)-38 4613 y(.)-38 +4626 y(.)-38 4639 y(.)-38 4652 y(.)-38 4665 y(.)-38 4678 +y(.)-38 4691 y(.)-38 4704 y(.)-38 4717 y(.)-38 4730 y(.)-38 +4743 y(.)-38 4755 y(.)-38 4768 y(.)-38 4781 y(.)-38 4794 +y(.)-38 4807 y(.)-38 4820 y(.)-38 4833 y(.)0 2329 y Fw(is)14 +b(not)g(a)f(v)n(alid)f(form.)17 b(It)d(is)f(an)h(error)h(to)f(ev)n +(aluate)f(an)o(ything)g(but)h(a)g(v)n(alid)e(form.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1356 2428 a Fy(73)p eop +%%Page: 74 98 +74 97 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(74)77 b(COMMON)13 b(LISP)p 0 295 V 0 355 a Fm(Implemen)o +(tation)24 b(note:)37 b FA(An)23 b(implemen)o(tation)j(is)d(free)g(to)g +(mak)o(e)g(implemen)o(tation-)0 401 y(dep)q(enden)o(t)14 +b(extensions)h(to)d(the)h(ev)n(aluator)h(but)f(is)g(strongly)h +(encouraged)g(to)f(signal)i(an)d(error)0 447 y(on)18 +b(an)o(y)h(attempt)f(to)g(ev)n(aluate)h(an)o(ything)h(but)e(a)g(v)n +(alid)i(form)e(or)g(an)g(ob)r(ject)g(for)g(whic)o(h)h(a)0 +492 y(meaningful)c(ev)n(aluation)h(extension)f(has)e(b)q(een)h(purp)q +(osely)h(de\014ned.)p 0 529 V -33 541 a @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 636 a Fw(X3J13)9 b(v)o(oted)h(in)g(Octob)q(er)i(1988)d +Ft(h)p Fw(72)p Ft(i)g Fw(to)h(sp)q(ecify)h(that)f Fv(al)r(l)g +Fw(standard)g(Common)d(Lisp)-33 608 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 688 a(data)18 b(ob)r(jects)i(other)f(than)f(sym)o(b)q +(ols)f(and)i(lists)f(\(including)g Fs(defstruct)e Fw(structures)0 +740 y(de\014ned)f(without)e(the)i Fs(:type)e Fw(option\))g(are)h +(self-ev)n(aluating.)-33 752 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 901 a Fo(5.1.1.)20 b(Self-Ev)m(aluating)13 +b(F)-5 b(orms)0 989 y Fw(All)19 b(n)o(um)o(b)q(ers,)i(c)o(haracters,)i +(strings,)f(and)e(bit-v)o(ectors)g(are)h Fv(self-evaluating)f +Fw(forms.)0 1041 y(When)13 b(suc)o(h)h(an)f(ob)r(ject)h(is)f(ev)n +(aluated,)g(that)g(ob)r(ject)h(\(or)f(p)q(ossibly)g(a)g(cop)o(y)g(in)g +(the)h(case)0 1093 y(of)d(n)o(um)o(b)q(ers)h(or)g(c)o(haracters\))i(is) +e(returned)h(as)f(the)h(v)n(alue)e(of)h(the)g(form.)k(The)c(empt)o(y)f +(list)0 1145 y Fs(\(\))p Fw(,)j(whic)o(h)g(is)g(also)g(the)h(false)f(v) +n(alue)g Fs(nil)p Fw(,)f(is)h(also)g(a)g(self-ev)n(aluating)f(form:)k +(the)e(v)n(alue)0 1197 y(of)d Fs(nil)h Fw(is)g Fs(nil)p +Fw(.)k(Keyw)o(ords)d(\(sym)o(b)q(ols)e(written)h(with)g(a)g(leading)f +(colon\))h(also)f(ev)n(aluate)0 1249 y(to)i(themselv)o(es:)k(the)c(v)n +(alue)g(of)f Fs(:start)f Fw(is)i Fs(:start)p Fw(.)42 +1301 y(X3J13)20 b(v)o(oted)i(in)e(Jan)o(uary)i(1989)e +Ft(h)p Fw(36)p Ft(i)h Fw(to)g(clarify)f(that)h(it)g(is)g(an)g(error)h +(to)f(de-)-33 1272 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1353 a(structiv)o(ely)15 b(mo)q(dify)d(an)o(y)i(ob)r +(ject)h(that)f(app)q(ears)h(as)f(a)g(constan)o(t)h(in)f(executable)h +(co)q(de,)0 1405 y(whether)g(as)f(a)g(self-ev)n(aluating)e(form)g(or)i +(within)f(a)h Fs(quote)f Fw(sp)q(ecial)h(form.)-33 1416 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1565 a Fo(5.1.2.)20 b(V)-5 b(ariables)0 +1654 y Fw(Sym)o(b)q(ols)13 b(are)i(used)h(as)e(names)g(of)g(v)n +(ariables)g(in)g(Common)e(Lisp)i(programs.)19 b(When)c(a)0 +1706 y(sym)o(b)q(ol)c(is)i(ev)n(aluated)g(as)g(a)g(form,)d(the)k(v)n +(alue)e(of)h(the)g(v)n(ariable)f(it)h(names)f(is)h(pro)q(duced.)0 +1758 y(F)m(or)j(example,)f(after)h(doing)f Fs(\(setq)20 +b(items)g(3\))p Fw(,)c(whic)o(h)g(assigns)g(the)h(v)n(alue)e +Fs(3)h Fw(to)g(the)0 1810 y(v)n(ariable)i(named)f Fs(items)p +Fw(,)i(then)g Fs(items)f Ft(\))h Fs(3)p Fw(.)32 b(V)m(ariables)18 +b(can)h(b)q(e)h Fv(assigne)n(d)f Fw(to,)h(as)0 1861 y(b)o(y)15 +b Fs(setq)p Fw(,)g(or)g Fv(b)n(ound)p Fw(,)i(as)e(b)o(y)g +Fs(let)p Fw(.)22 b(An)o(y)16 b(program)e(construct)j(that)e(binds)h(a)f +(v)n(ariable)0 1913 y(e\013ectiv)o(ely)d(sa)o(v)o(es)f(the)g(old)f(v)n +(alue)g(of)g(the)i(v)n(ariable)d(and)i(causes)h(it)e(to)h(ha)o(v)o(e)f +(a)h(new)g(v)n(alue,)0 1965 y(and)j(on)f(exit)h(from)e(the)j(construct) +g(the)g(old)e(v)n(alue)g(is)h(reinstated.)42 2017 y(There)e(are)h +(actually)d(t)o(w)o(o)i(kinds)f(of)h(v)n(ariables)f(in)g(Common)d +(Lisp,)k(called)f Fv(lexic)n(al)h Fw(\(or)0 2069 y Fv(static)p +Fw(\))i(v)n(ariables)f(and)h Fv(sp)n(e)n(cial)f Fw(\(or)i +Fv(dynamic)p Fw(\))f(v)n(ariables.)k(A)o(t)c(an)o(y)g(giv)o(en)f(time)g +(either)0 2121 y(or)d(b)q(oth)g(kinds)g(of)f(v)n(ariable)g(with)g(the)i +(same)e(name)f(ma)o(y)g(ha)o(v)o(e)i(a)g(curren)o(t)h(v)n(alue.)16 +b(Whic)o(h)0 2173 y(of)c(the)h(t)o(w)o(o)f(kinds)g(of)g(v)n(ariable)f +(is)h(referred)j(to)d(when)h(a)f(sym)o(b)q(ol)f(is)h(ev)n(aluated)g +(dep)q(ends)0 2225 y(on)g(the)g(con)o(text)h(of)e(the)i(ev)n(aluation.) +j(The)c(general)g(rule)h(is)e(that)h(if)g(the)g(sym)o(b)q(ol)e(o)q +(ccurs)0 2277 y(textually)k(within)g(a)h(program)e(construct)j(that)f +(creates)i(a)d Fv(binding)i Fw(for)e(a)h(v)n(ariable)e(of)0 +2329 y(the)h(same)e(name,)g(then)i(the)g(reference)i(is)d(to)g(the)h(v) +n(ariable)e(sp)q(eci\014ed)j(b)o(y)e(the)h(binding;)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 75 99 +75 98 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PROGRAM)11 b(STRUCTURE)933 +b(75)0 295 y Fw(if)12 b(no)g(suc)o(h)h(program)e(construct)j(textually) +e(con)o(tains)h(the)g(reference,)i(then)e(it)f(is)h(tak)o(en)0 +347 y(to)h(refer)h(to)e(the)i(sp)q(ecial)f(v)n(ariable)f(of)g(that)h +(name.)42 400 y(The)i(distinction)g(b)q(et)o(w)o(een)h(the)f(t)o(w)o(o) +g(kinds)g(of)f(v)n(ariable)g(is)h(one)g(of)g(scop)q(e)h(and)f(ex-)0 +452 y(ten)o(t.)26 b(A)16 b(lexically)f(b)q(ound)i(v)n(ariable)e(can)h +(b)q(e)h(referred)h(to)e Fv(only)h Fw(b)o(y)f(forms)f(o)q(ccurring)0 +504 y(at)g(an)o(y)f Fv(plac)n(e)h Fw(textually)g(within)f(the)i +(program)d(construct)k(that)e(binds)g(the)g(v)n(ariable.)0 +556 y(A)h(dynamically)d(b)q(ound)i(\(sp)q(ecial\))i(v)n(ariable)d(can)i +(b)q(e)g(referred)i(to)d(at)h(an)o(y)f Fv(time)g Fw(from)0 +608 y(the)h(time)d(the)j(binding)e(is)h(made)e(un)o(til)h(the)i(time)e +(ev)n(aluation)f(of)h(the)i(construct)h(that)0 660 y(binds)11 +b(the)h(v)n(ariable)d(terminates.)17 b(Therefore)12 b(lexical)e +(binding)g(of)h(v)n(ariables)f(imp)q(oses)g(a)0 712 y(spatial)g +(limitation)e(on)i(o)q(ccurrences)k(of)d(references)j(\(but)d(no)g +(temp)q(oral)e(limitation,)f(for)0 763 y(the)14 b(binding)e(con)o(tin)o +(ues)h(to)g(exist)h(as)f(long)f(as)h(the)h(p)q(ossibilit)o(y)e(of)h +(reference)i(remains\).)0 815 y(Con)o(v)o(ersely)m(,)j(dynamic)f +(binding)g(of)g(v)n(ariables)g(imp)q(oses)g(a)h(temp)q(oral)e +(limitation)f(on)0 867 y(o)q(ccurrences)g(of)c(references)j(\(but)e(no) +g(spatial)e(limitation\).)k(F)m(or)e(more)e(information)f(on)0 +919 y(scop)q(e)15 b(and)f(exten)o(t,)g(see)h(c)o(hapter)g(3.)42 +973 y(The)10 b(v)n(alue)g(a)g(sp)q(ecial)g(v)n(ariable)f(has)i(when)f +(there)i(are)e(curren)o(tly)i(no)d(bindings)h(of)g(that)0 +1025 y(v)n(ariable)i(is)h(called)g(the)h Fv(glob)n(al)f +Fw(v)n(alue)g(of)f(the)i(\(sp)q(ecial\))g(v)n(ariable.)j(A)c(global)f +(v)n(alue)h(can)0 1077 y(b)q(e)j(giv)o(en)e(to)i(a)e(v)n(ariable)g +(only)h(b)o(y)g(assignmen)o(t,)f(b)q(ecause)j(a)e(v)n(alue)f(giv)o(en)h +(b)o(y)g(binding)0 1128 y(is)f(b)o(y)f(de\014nition)h(not)g(global.)42 +1182 y(It)j(is)g(p)q(ossible)g(for)g(a)g(sp)q(ecial)g(v)n(ariable)f(to) +h(ha)o(v)o(e)g(no)g(v)n(alue)f(at)h(all,)f(in)h(whic)o(h)g(case)0 +1234 y(it)d(is)h(said)f(to)g(b)q(e)i Fv(unb)n(ound)p +Fw(.)21 b(By)15 b(default,)f(ev)o(ery)h(global)e(v)n(ariable)h(is)g(un) +o(b)q(ound)h(unless)0 1286 y(and)e(un)o(til)f(explicitly)h(assigned)g +(a)g(v)n(alue,)f(except)j(for)e(those)h(global)d(v)n(ariables)i +(de\014ned)0 1338 y(in)h(this)h(b)q(o)q(ok)g(or)g(b)o(y)g(the)g +(implemen)o(tatio)o(n)d(already)j(to)g(ha)o(v)o(e)f(v)n(alues)h(when)g +(the)h(Lisp)0 1390 y(system)g(is)g(\014rst)h(started.)26 +b(It)16 b(is)g(also)g(p)q(ossible)g(to)g(establish)h(a)f(binding)f(of)h +(a)f(sp)q(ecial)0 1441 y(v)n(ariable)i(and)h(then)g(cause)h(that)f +(binding)f(to)h(b)q(e)h(v)n(alueless)f(b)o(y)g(using)f(the)i(function)0 +1493 y Fs(makunbound)p Fw(.)35 b(In)21 b(this)f(situation)g(the)g(v)n +(ariable)g(is)g(also)g(said)g(to)g(b)q(e)h(\\un)o(b)q(ound,")0 +1545 y(although)13 b(this)i(is)f(a)g(misnomer;)e(precisely)j(sp)q +(eaking,)f(it)g(is)g(b)q(ound)h(but)f(v)n(alueless.)20 +b(It)0 1597 y(is)14 b(an)f(error)i(to)f(refer)h(to)f(a)f(v)n(ariable)g +(that)h(is)g(un)o(b)q(ound.)42 1651 y(X3J13)19 b(v)o(oted)g(in)g(June)h +(1989)e Ft(h)p Fw(180)p Ft(i)h Fw(to)g(sp)q(ecify)h(more)f(precisely)h +(the)g(e\013ects)h(of)-33 1622 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1703 a(referring)15 b(to)e(an)h(un)o(b)q(ound)g(v)n +(ariable.)42 1756 y(Reading)d(an)h(un)o(b)q(ound)h(v)n(ariable)e(or)i +(an)f(unde\014ned)i(function)e(m)o(ust)f(b)q(e)j(detected)g(in)0 +1808 y(the)f(highest)f(safet)o(y)g(setting)g(\(see)h(the)g +Fs(safety)d Fw(qualit)o(y)h(of)g(the)i Fs(optimize)d +Fw(declaration)0 1860 y(sp)q(eci\014er\))k(but)e(the)g(e\013ect)h(is)f +(unde\014ned)h(in)e(an)o(y)g(other)i(safet)o(y)f(setting.)17 +b(That)12 b(is,)f(read-)0 1912 y(ing)f(an)h(un)o(b)q(ound)g(v)n +(ariable)f(should)g(signal)g(an)h(error)h(and)e(reading)h(an)g +(unde\014ned)h(func-)0 1964 y(tion)k(should)h(signal)e(an)i(error.)27 +b(\(\\Reading)16 b(a)g(function")g(includes)h(b)q(oth)g(references)0 +2016 y(to)c(the)i(function)e(using)g(the)h Fs(function)e +Fw(sp)q(ecial)i(form,)d(suc)o(h)j(as)g Fs(f)f Fw(in)g +Fs(\(function)20 b(f\))p Fw(,)0 2068 y(and)14 b(references)i(to)e(the)h +(function)e(in)h(a)f(call,)g(suc)o(h)i(as)f Fs(f)f Fw(in)h +Fs(\(f)20 b(x)h(y\))p Fw(.\))42 2121 y(F)m(or)14 b(the)i(case)g(of)e +Fs(inline)g Fw(functions)h(\(in)g(implem)o(en)o(tations)d(where)17 +b(they)e(are)g(sup-)0 2173 y(p)q(orted\),)f(a)f(p)q(ermitted)g(p)q(oin) +o(t)g(of)g(view)g(is)g(that)g(p)q(erforming)f(the)i(inlining)d +(constitutes)0 2225 y(the)h(read)h(of)e(the)i(function,)e(so)h(that)g +(an)f Fs(fboundp)g Fw(c)o(hec)o(k)i(need)g(not)e(b)q(e)i(done)f(at)g +(execu-)0 2277 y(tion)g(time.)17 b(Put)c(another)g(w)o(a)o(y)m(,)e(the) +j(e\013ect)g(of)e(the)h(application)f(of)g Fs(fmakunbound)e +Fw(to)j(a)0 2329 y(function)g(name)g(on)g(p)q(oten)o(tially)f(inlined)h +(references)j(to)e(that)f(function)h(is)f(unde\014ned.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 76 100 +76 99 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(76)77 b(COMMON)13 +b(LISP)42 295 y Fw(When)g(an)f(un)o(b)q(ound)h(v)n(ariable)f(is)g +(detected)j(an)e(error)h(of)e(t)o(yp)q(e)h Fs(unbound-variable)0 +347 y Fw(is)e(signaled,)f(and)h(the)g Fs(name)f Fw(slot)h(of)f(the)i +Fs(unbound-variable)7 b Fw(condition)j(is)h(initialized)0 +399 y(to)j(the)g(name)f(of)g(the)i(o\013ending)e(v)n(ariable.)42 +450 y(When)23 b(an)h(unde\014ned)g(function)g(is)f(detected)j(an)d +(error)i(of)e(t)o(yp)q(e)h Fs(undefined-)0 502 y(function)9 +b Fw(is)i(signaled,)f(and)g(the)i Fs(name)e Fw(slot)g(of)g(the)h +Fs(undefined-function)c Fw(condition)0 554 y(is)14 b(initialized)e(to)i +(the)g(name)f(of)g(the)i(o\013ending)f(function.)42 606 +y(The)k(condition)f(t)o(yp)q(e)i Fs(unbound-slot)p Fw(,)d(whic)o(h)i +(inherits)g(from)e Fs(cell-error)p Fw(,)h(has)0 658 y(an)h(additional)e +(slot)i Fs(instance)p Fw(,)f(whic)o(h)h(can)h(b)q(e)f(initialized)f +(using)h(the)h Fs(:instance)0 710 y Fw(k)o(eyw)o(ord)10 +b(to)h Fs(make-condition)p Fw(.)j(The)d(function)f Fs +(unbound-slot-inst)o(ance)d Fw(accesses)0 762 y(this)14 +b(slot.)42 814 y(The)j(t)o(yp)q(e)h(of)f(error)h(signaled)f(b)o(y)g +(the)h(default)f(primary)f(metho)q(d)g(for)i(the)f(CLOS)0 +866 y Fs(slot-unbound)d Fw(generic)j(function)f(is)g +Fs(unbound-slot)p Fw(.)22 b(The)17 b Fs(instance)e Fw(slot)h(of)f(the)0 +917 y Fs(unbound-slot)d Fw(condition)h(is)h(initialized)f(to)g(the)i +(o\013ending)f(instance)h(and)f(the)h Fs(name)0 969 y +Fw(slot)f(is)f(initialized)g(to)h(the)g(name)f(of)g(the)h(o\013ending)g +(v)n(ariable.)-33 981 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1021 a(Certain)i(global)e(v)n(ariables)i(are)g(reserv)o +(ed)j(as)d(\\named)f(constan)o(ts.")25 b(They)17 b(ha)o(v)o(e)f(a)0 +1073 y(global)11 b(v)n(alue)i(and)g(ma)o(y)e(not)i(b)q(e)g(b)q(ound)g +(or)g(assigned)h(to.)j(F)m(or)c(example,)f(the)h(sym)o(b)q(ols)0 +1125 y Fs(t)f Fw(and)g Fs(nil)g Fw(are)h(reserv)o(ed.)19 +b(One)13 b(ma)o(y)e(not)h(assign)g(a)g(v)n(alue)g(to)g +Fs(t)g Fw(or)g Fs(nil)p Fw(,)g(and)g(one)h(ma)o(y)0 1177 +y(not)h(bind)g Fs(t)h Fw(or)f Fs(nil)p Fw(.)19 b(The)c(global)d(v)n +(alue)i(of)g Fs(t)g Fw(is)g(alw)o(a)o(ys)g Fs(t)p Fw(,)g(and)g(the)h +(global)e(v)n(alue)g(of)0 1229 y Fs(nil)j Fw(is)h(alw)o(a)o(ys)f +Fs(nil)p Fw(.)26 b(Constan)o(t)17 b(sym)o(b)q(ols)e(de\014ned)j(b)o(y)f +Fs(defconstant)e Fw(also)h(b)q(ecome)0 1281 y(reserv)o(ed)j(and)e(ma)o +(y)e(not)j(b)q(e)f(further)h(assigned)g(to)f(or)g(b)q(ound)h +(\(although)e(they)i(ma)o(y)0 1333 y(b)q(e)f(rede\014ned,)h(if)d +(necessary)m(,)i(b)o(y)f(using)g Fs(defconstant)e Fw(again\).)23 +b(Keyw)o(ord)17 b(sym)o(b)q(ols,)0 1384 y(whic)o(h)9 +b(are)h(notated)g(with)f(a)g(leading)g(colon,)g(are)h(reserv)o(ed)h +(and)f(ma)o(y)d(nev)o(er)j(b)q(e)g(assigned)0 1436 y(to)k(or)g(b)q +(ound;)f(a)h(k)o(eyw)o(ord)g(alw)o(a)o(ys)e(ev)n(aluates)i(to)g +(itself.)0 1573 y Fo(5.1.3.)20 b(Sp)r(ecial)14 b(F)-5 +b(orms)0 1654 y Fw(If)18 b(a)g(list)g(is)g(to)g(b)q(e)h(ev)n(aluated)f +(as)g(a)g(form,)g(the)g(\014rst)h(step)h(is)e(to)g(examine)f(the)i +(\014rst)0 1706 y(elemen)o(t)e(of)g(the)i(list.)29 b(If)18 +b(the)g(\014rst)h(elemen)o(t)e(is)h(one)g(of)f(the)h(sym)o(b)q(ols)f +(app)q(earing)g(in)0 1758 y(table)11 b(5-1,)g(then)h(the)h(list)e(is)g +(called)g(a)h Fv(sp)n(e)n(cial)g(form)p Fw(.)17 b(\(This)11 +b(use)h(of)f(the)i(w)o(ord)e(\\sp)q(ecial")0 1810 y(is)j(unrelated)g +(to)g(its)g(use)h(in)e(the)i(phrase)f(\\sp)q(ecial)g(v)n(ariable."\))42 +1862 y(Sp)q(ecial)d(forms)g(are)i(generally)e(en)o(vironmen)o(t)g(and)h +(con)o(trol)g(constructs.)19 b(Ev)o(ery)13 b(sp)q(e-)0 +1914 y(cial)e(form)g(has)h(its)g(o)o(wn)f(idiosyncratic)h(syn)o(tax.)18 +b(An)12 b(example)f(is)g(the)i Fs(if)f Fw(sp)q(ecial)g(form:)0 +1966 y Fs(\(if)21 b(p)g(\(+)f(x)h(4\))g(5\))e Fw(in)h(Commo)o(n)d(Lisp) +j(means)f(what)h(\\)p Fz(if)e Fv(p)i Fz(then)f Fv(x)p +Fw(+4)h Fz(else)e Fw(5")0 2017 y(means)13 b(in)g(Algol.)42 +2069 y(The)i(ev)n(aluation)f(of)g(a)h(sp)q(ecial)g(form)f(normally)e +(pro)q(duces)17 b(a)d(v)n(alue)h(or)g(v)n(alues,)g(but)0 +2121 y(the)d(ev)n(aluation)f(ma)o(y)f(instead)i(call)f(for)g(a)h +(non-lo)q(cal)e(exit;)i(see)h Fs(return-from)p Fw(,)d +Fs(go)p Fw(,)h(and)0 2173 y Fs(throw)p Fw(.)42 2225 y(The)g(set)h(of)f +(sp)q(ecial)g(forms)f(is)h(\014xed)h(in)e(Common)e(Lisp;)k(no)f(w)o(a)o +(y)f(is)h(pro)o(vided)g(for)g(the)0 2277 y(user)16 b(to)f(de\014ne)h +(more.)21 b(The)16 b(user)g(can)f(create)i(new)e(syn)o(tactic)h +(constructs,)h(ho)o(w)o(ev)o(er,)0 2329 y(b)o(y)d(de\014ning)f(macros.) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 77 101 +77 100 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PROGRAM)11 b(STRUCTURE)933 +b(77)p 0 255 1395 2 v 0 344 a Fm(T)l(able)14 b(5-1:)k +FA(Names)13 b(of)f(All)i(Common)g(Lisp)g(Sp)q(ecial)h(F)m(orms)0 +437 y Fj(block)392 b(if)588 b(progv)0 483 y(catch)392 +b(labels)508 b(quote)0 529 y FA([)p Fj(compiler-)o(le)o(t)p +FA(])232 b Fj(let)568 b(return-fro)o(m)0 574 y(declare)352 +b(let*)548 b(setq)0 620 y(eval-when)312 b(macrolet)468 +b(tagbody)0 666 y(flet)412 b(multiple-v)o(alu)o(e-c)o(al)o(l)252 +b(the)0 711 y(function)332 b(multiple-v)o(alu)o(e-p)o(ro)o(g1)232 +b(throw)0 757 y(go)452 b(progn)528 b(unwind-pro)o(tec)o(t)0 +823 y FA(X3J13)13 b(v)o(oted)g(in)h(June)g(1989)f Ff(h)p +FA(25)p Ff(i)g FA(to)g(remo)o(v)o(e)g Fj(compiler-le)o(t)d +FA(from)i(the)h(language.)-33 798 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 39 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 869 a(X3J13)i(v)o(oted)h(in)g(June)g(1988)g +Ff(h)p FA(12)p Ff(i)f FA(to)h(add)g(the)f(sp)q(ecial)j(forms)d +Fj(generic-fl)o(et)o FA(,)e Fj(generic-)-33 844 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 915 a(labels)p FA(,)d Fj(symbol-mac)o(rol)o(et)o +FA(,)g(and)j Fj(with-added-)o(me)o(tho)o(ds)p FA(.)-33 +925 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 960 a(X3J13)j(v)o(oted)h(in)h(Marc)o(h)e(1989)h +Ff(h)p FA(113)p Ff(i)g FA(to)g(mak)o(e)f Fj(locally)e +FA(a)i(sp)q(ecial)j(form)d(rather)h(than)g(a)-33 935 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1006 a(macro.)-33 1016 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1052 a(X3J13)c(v)o(oted)g(in)h(Marc)o(h)g(1989)f +Ff(h)p FA(111)p Ff(i)h FA(to)f(add)g(the)g(sp)q(ecial)i(form)e +Fj(load-time-)o(eva)o(l)p FA(.)-33 1026 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 39 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1092 V 42 1221 a Fw(The)i(set)g(of)f(sp)q(ecial)h(forms) +e(in)h(Common)e(Lisp)i(is)h(purp)q(osely)g(k)o(ept)g(v)o(ery)g(small)d +(b)q(e-)0 1272 y(cause)21 b(an)o(y)e(program-analyzing)e(program)i(m)o +(ust)f(ha)o(v)o(e)i(sp)q(ecial)g(kno)o(wledge)g(ab)q(out)0 +1324 y(ev)o(ery)13 b(t)o(yp)q(e)g(of)f(sp)q(ecial)g(form.)k(Suc)o(h)d +(a)f(program)e(needs)k(no)e(sp)q(ecial)h(kno)o(wledge)f(ab)q(out)0 +1376 y(macros)j(b)q(ecause)i(it)e(is)h(simple)e(to)h(expand)h(the)g +(macro)f(and)g(op)q(erate)i(on)e(the)h(result-)0 1428 +y(ing)i(expansion.)33 b(\(This)19 b(is)g(not)f(to)h(sa)o(y)g(that)g +(man)o(y)e(suc)o(h)i(programs,)g(particularly)0 1480 +y(compilers,)14 b(will)g(not)h(ha)o(v)o(e)g(suc)o(h)h(sp)q(ecial)g(kno) +o(wledge.)22 b(A)16 b(compiler)d(ma)o(y)h(b)q(e)i(able)f(to)0 +1532 y(pro)q(duce)j(m)o(uc)o(h)e(b)q(etter)i(co)q(de)g(if)e(it)g +(recognizes)i(suc)o(h)g(constructs)h(as)e Fs(typecase)e +Fw(and)0 1584 y Fs(multiple-value-bi)o(nd)c Fw(and)j(giv)o(es)f(them)g +(customized)h(treatmen)o(t.\))42 1637 y(An)d(implemen)o(tatio)o(n)e(is) +i(free)h(to)f(implemen)o(t)e(as)i(a)g(macro)f(an)o(y)h(construct)i +(describ)q(ed)0 1689 y(herein)d(as)g(a)f(sp)q(ecial)g(form.)15 +b(Con)o(v)o(ersely)m(,)10 b(an)f(implem)o(en)o(tation)e(is)i(free)h(to) +f(implemen)o(t)e(as)0 1740 y(a)i(sp)q(ecial)h(form)e(an)o(y)h +(construct)i(describ)q(ed)h(herein)e(as)f(a)h(macro)e(if)h(an)g(equiv)n +(alen)o(t)g(macro)0 1792 y(de\014nition)15 b(is)h(also)f(pro)o(vided.) +24 b(The)16 b(practical)f(consequence)j(is)e(that)g(the)g(predicates)0 +1844 y Fs(macro-function)9 b Fw(and)j Fs(special-form-p)d +Fw(ma)o(y)h(b)q(oth)i(b)q(e)h(true)g(of)e(the)i(same)e(sym)o(b)q(ol.)0 +1896 y(It)k(is)f(recommended)g(that)g(a)g(program-analyzing)e(program)h +(pro)q(cess)j(a)f(form)d(that)j(is)0 1948 y(a)f(list)f(whose)h +Fv(c)n(ar)g Fw(is)g(a)f(sym)o(b)q(ol)f(as)i(follo)o(ws:)0 +2029 y(1.)9 b(If)h(the)h(program)e(has)h(particular)g(kno)o(wledge)h +(ab)q(out)f(the)h(sym)o(b)q(ol,)e(pro)q(cess)j(the)f(form)42 +2081 y(using)g(sp)q(ecial-purp)q(ose)i(co)q(de.)18 b(All)11 +b(of)g(the)i(sym)o(b)q(ols)d(listed)i(in)f(table)h(5-)o(1)g(should)f +(fall)42 2133 y(in)o(to)i(this)h(category)m(.)0 2225 +y(2.)9 b(Otherwise,)37 b(if)30 b Fs(macro-function)f +Fw(is)j(true)g(of)f(the)h(sym)o(b)q(ol,)i(apply)d(either)42 +2277 y Fs(macroexpand)16 b Fw(or)j Fs(macroexpand-1)p +Fw(,)f(as)h(appropriate,)h(to)f(the)h(en)o(tire)g(form)d(and)42 +2329 y(then)d(start)h(o)o(v)o(er.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 78 102 +78 101 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(78)77 b(COMMON)13 +b(LISP)0 295 y Fw(3.)c(Otherwise,)14 b(assume)g(it)f(is)h(a)g(function) +f(call.)0 533 y Fo(5.1.4.)20 b(Macros)0 646 y Fw(If)e(a)g(form)e(is)i +(a)g(list)g(and)g(the)h(\014rst)g(elemen)o(t)e(is)h(not)g(the)h(name)e +(of)h(a)g(sp)q(ecial)g(form,)0 698 y(it)f(ma)o(y)f(b)q(e)i(the)g(name)e +(of)h(a)h Fv(macr)n(o)p Fw(;)g(if)f(so,)h(the)g(form)e(is)i(said)f(to)g +(b)q(e)h(a)g Fv(macr)n(o)g(c)n(al)r(l)p Fw(.)0 750 y(A)e(macro)e(is)i +(essen)o(tially)f(a)g(function)h(from)d(forms)i(to)g(forms)f(that)i +(will,)e(giv)o(en)h(a)h(call)0 802 y(to)i(that)f(macro,)g(compute)g(a)h +(new)g(form)e(to)i(b)q(e)g(ev)n(aluated)f(in)h(place)g(of)f(the)h +(macro)0 854 y(call.)26 b(\(This)17 b(computation)f(is)g(sometimes)g +(referred)i(to)f(as)g Fv(macr)n(o)h(exp)n(ansion)p Fw(.\))28 +b(F)m(or)0 905 y(example,)12 b(the)j(macro)e(named)g +Fs(return)g Fw(will)f(tak)o(e)i(a)g(form)f(suc)o(h)h(as)h +Fs(\(return)k(x\))14 b Fw(and)0 957 y(from)d(that)i(form)e(compute)h(a) +h(new)g(form)e Fs(\(return-from)19 b(nil)h(x\))p Fw(.)d(W)m(e)c(sa)o(y) +f(that)h(the)0 1009 y(old)f(form)f Fv(exp)n(ands)j Fw(in)o(to)f(the)g +(new)g(form.)j(The)e(new)f(form)e(is)i(then)g(ev)n(aluated)g(in)g +(place)0 1061 y(of)g(the)h(original)d(form;)g(the)j(v)n(alue)f(of)f +(the)i(new)g(form)d(is)j(returned)h(as)e(the)h(v)n(alue)e(of)h(the)0 +1113 y(original)f(form.)42 1167 y(X3J13)f(v)o(oted)h(in)g(Jan)o(uary)g +(1989)f Ft(h)p Fw(67)p Ft(i)h Fw(to)g(clarify)f(that)h(macro)f(calls,)h +(and)g(subforms)-33 1139 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1219 a(of)g(macro)g(calls,)h(need)h(not)e(b)q(e)i(prop)q +(er)g(lists,)f(but)g(that)g(use)h(of)e(dotted)i(forms)d(requires)0 +1271 y(the)16 b(macro)e(de\014nition)h(to)g(use)h(\\)p +Fs(.)k Fv(var)p Fw(")15 b(or)g(\\)p Fs(&rest)20 b Fv(var)p +Fw(")15 b(in)g(order)g(to)h(matc)o(h)e(them)0 1323 y(prop)q(erly)m(.)j +(It)c(is)f(then)h(the)g(resp)q(onsibilit)o(y)f(of)f(the)i(macro)e +(de\014nition)h(to)g(recognize)i(and)0 1375 y(appropriately)f(handle)h +(suc)o(h)h(dotted)f(forms)f(or)h(subforms.)-33 1386 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1429 a(There)f(are)h(a)e(n)o(um)o(b)q(er)g(of)g +(standard)i(macros)d(in)i(Commo)o(n)d(Lisp,)j(and)f(the)i(user)g(can)0 +1481 y(de\014ne)h(more)e(b)o(y)g(using)h Fs(defmacro)p +Fw(.)42 1535 y(Macros)k(pro)o(vided)g(b)o(y)f(a)h(Common)c(Lisp)k +(implemen)o(tation)c(as)k(describ)q(ed)i(herein)0 1586 +y(ma)o(y)12 b(expand)j(in)o(to)e(co)q(de)i(that)g(is)f(not)g(p)q +(ortable)g(among)e(di\013ering)i(implemen)o(tations.)0 +1638 y(That)f(is,)f(a)g(macro)g(call)g(ma)o(y)f(b)q(e)i(implemen)o +(tatio)o(n-indep)q(enden)o(t)e(b)q(ecause)k(the)e(macro)0 +1690 y(is)h(de\014ned)h(in)e(this)h(b)q(o)q(ok,)f(but)h(the)h +(expansion)f(need)h(not)e(b)q(e.)p 0 1750 V 0 1812 a +Fm(Implemen)o(tation)k(note:)25 b FA(Implemen)o(tors)18 +b(are)f(encouraged)i(to)e(implemen)o(t)h(the)f(macros)0 +1858 y(de\014ned)h(in)g(this)f(b)q(o)q(ok,)h(as)f(far)g(as)g(is)g(p)q +(ossible,)j(in)d(suc)o(h)h(a)f(w)o(a)o(y)f(that)h(the)g(expansion)i +(will)0 1904 y(not)12 b(con)o(tain)h(an)o(y)f(implemen)o(tation-dep)r +(end)q(en)o(t)i(sp)q(ecial)g(forms,)d(nor)h(con)o(tain)h(as)f(forms)f +(data)0 1949 y(ob)r(jects)20 b(that)f(are)g(not)h(considered)h(to)e(b)q +(e)g(forms)g(in)h(Common)g(Lisp.)36 b(The)19 b(purp)q(ose)i(of)0 +1995 y(this)e(restriction)h(is)f(to)g(ensure)g(that)f(the)h(expansion)h +(can)f(b)q(e)f(pro)q(cessed)i(b)o(y)f(a)f(program-)0 +2041 y(analyzing)c(program)e(in)g(an)g(implemen)o(tation-i)q(ndep)r +(end)q(en)o(t)i(manner.)j(There)12 b(is)f(no)h(problem)0 +2086 y(with)18 b(a)g(macro)h(expansion)h(con)o(taining)g(calls)g(to)e +(implemen)o(tation-dep)r(endent)i(functions.)0 2132 y(This)14 +b(restriction)h(is)f(not)g(a)f(requiremen)o(t)i(of)e(Common)h(Lisp;)g +(it)g(is)g(recognized)h(that)e(certain)0 2178 y(complex)20 +b(macros)f(ma)o(y)g(b)q(e)g(able)g(to)g(expand)h(in)o(to)f +(signi\014can)o(tl)q(y)i(more)e(e\016cien)o(t)h(co)q(de)f(in)0 +2223 y(certain)f(implemen)o(tation)q(s)i(b)o(y)e(using)h(implemen)o +(tation-dep)r(endent)h(sp)q(ecial)f(forms)e(in)h(the)0 +2269 y(macro)13 b(expansion.)p 0 2329 V -33 2344 a @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 79 103 +79 102 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PROGRAM)11 b(STRUCTURE)933 +b(79)0 295 y Fo(5.1.5.)20 b(F)-5 b(unction)15 b(Calls)0 +380 y Fw(If)d(a)g(list)g(is)g(to)g(b)q(e)h(ev)n(aluated)f(as)g(a)g +(form)f(and)h(the)h(\014rst)g(elemen)o(t)f(is)g(not)g(a)g(sym)o(b)q(ol) +f(that)0 432 y(names)h(a)h(sp)q(ecial)h(form)d(or)j(macro,)d(then)j +(the)g(list)f(is)g(assumed)g(to)g(b)q(e)h(a)f Fv(function)i(c)n(al)r(l) +p Fw(.)0 484 y(The)c(\014rst)f(elemen)o(t)g(of)f(the)i(list)f(is)g(tak) +o(en)g(to)g(name)f(a)h(function.)16 b(An)o(y)10 b(and)g(all)f +(remaining)0 536 y(elemen)o(ts)j(of)f(the)i(list)f(are)g(forms)f(to)h +(b)q(e)g(ev)n(aluated;)g(one)h(v)n(alue)e(is)h(obtained)g(from)e(eac)o +(h)0 588 y(form,)g(and)i(these)h(v)n(alues)f(b)q(ecome)g(the)g +Fv(ar)n(guments)g Fw(to)g(the)h(function.)k(The)12 b(function)g(is)0 +640 y(then)e Fv(applie)n(d)g Fw(to)f(the)h(argumen)o(ts.)16 +b(The)10 b(functional)f(computation)e(normally)g(pro)q(duces)0 +692 y(a)16 b(v)n(alue,)g(but)h(it)f(ma)o(y)f(instead)i(call)e(for)i(a)f +(non-lo)q(cal)f(exit;)j(see)f Fs(throw)p Fw(.)25 b(A)17 +b(function)0 743 y(that)e(do)q(es)g(return)h(ma)o(y)d(pro)q(duce)j(no)e +(v)n(alue)g(or)h(sev)o(eral)g(v)n(alues;)f(see)i Fs(values)p +Fw(.)k(If)14 b(and)0 795 y(when)j(the)h(function)e(returns,)j(whatev)o +(er)f(v)n(alues)f(it)f(returns)i(b)q(ecome)f(the)h(v)n(alues)e(of)0 +847 y(the)e(function-call)f(form.)42 899 y(F)m(or)19 +b(example,)i(consider)g(the)g(ev)n(aluation)e(of)h(the)g(form)f +Fs(\(+)i(3)g(\(*)g(4)g(5\)\))p Fw(.)36 b(The)0 951 y(sym)o(b)q(ol)10 +b Fs(+)h Fw(names)f(the)j(addition)d(function,)h(not)g(a)h(sp)q(ecial)f +(form)f(or)h(macro.)16 b(Therefore)0 1003 y(the)e(t)o(w)o(o)f(forms)g +Fs(3)g Fw(and)h Fs(\(*)20 b(4)h(5\))13 b Fw(are)h(ev)n(aluated)g(to)f +(pro)q(duce)i(argumen)o(ts.)i(The)d(form)0 1055 y Fs(3)d +Fw(ev)n(aluates)g(to)g Fs(3)p Fw(,)g(and)g(the)g(form)f +Fs(\(*)20 b(4)h(5\))11 b Fw(is)g(a)g(function)f(call)h(\(to)g(the)g(m)o +(ultiplication)0 1107 y(function\).)24 b(Therefore)17 +b(the)f(forms)f Fs(4)g Fw(and)h Fs(5)g Fw(are)g(ev)n(aluated,)g(pro)q +(ducing)f(argumen)o(ts)0 1159 y Fs(4)k Fw(and)g Fs(5)g +Fw(for)g(the)h(m)o(ultipli)o(cation.)31 b(The)20 b(m)o(ultiplicatio)o +(n)d(function)h(calculates)i(the)0 1210 y(n)o(um)o(b)q(er)10 +b Fs(20)h Fw(and)g(returns)h(it.)17 b(The)12 b(v)n(alues)e +Fs(3)h Fw(and)g Fs(20)g Fw(are)g(then)h(giv)o(en)e(as)i(argumen)o(ts)e +(to)0 1262 y(the)j(addition)d(function,)i(whic)o(h)g(calculates)g(and)g +(returns)i(the)e(n)o(um)o(b)q(er)f Fs(23)p Fw(.)17 b(Therefore)0 +1314 y(w)o(e)d(sa)o(y)g Fs(\(+)21 b(3)g(\(*)f(4)h(5\)\))g +Ft(\))g Fs(23)p Fw(.)42 1366 y(X3J13)16 b(v)o(oted)h(in)f(Octob)q(er)i +(1988)e Ft(h)p Fw(86)p Ft(i)g Fw(to)h(clarify)f(that)h(while)f(the)h +(argumen)o(ts)f(in)-33 1338 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1418 a(a)f(function)g(call)f(are)i(alw)o(a)o(ys)e(ev)n +(aluated)h(in)g(strict)h(left-to-righ)o(t)f(order,)g(whether)i(the)0 +1470 y(function)i(to)h(b)q(e)g(called)f(is)g(determined)h(b)q(efore)g +(or)g(after)f(argumen)o(t)g(ev)n(aluation)f(is)0 1522 +y(unsp)q(eci\014ed.)h(Programs)9 b(are)i(in)f(error)h(that)f(rely)h(on) +f(a)g(particular)g(order)h(of)f(ev)n(aluation)0 1574 +y(of)j(the)i(\014rst)f(elemen)o(t)g(of)f(a)h(function)f(call)g(relativ) +o(e)h(to)g(the)g(argumen)o(t)f(forms.)-33 1585 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1724 a Fo(5.2.)20 b(F)-5 b(unctions)0 +1810 y Fw(There)15 b(are)g(t)o(w)o(o)e(w)o(a)o(ys)h(to)g(indicate)g(a)g +(function)f(to)h(b)q(e)h(used)g(in)e(a)h(function-call)f(form.)0 +1862 y(One)20 b(is)g(to)f(use)h(a)g(sym)o(b)q(ol)d(that)j(names)e(the)j +(function.)34 b(This)20 b(use)g(of)f(sym)o(b)q(ols)f(to)0 +1914 y(name)13 b(functions)h(is)g(completely)f(indep)q(enden)o(t)j(of)d +(their)i(use)g(in)f(naming)d(sp)q(ecial)k(and)0 1966 +y(lexical)j(v)n(ariables.)32 b(The)19 b(other)g(w)o(a)o(y)g(is)f(to)h +(use)g(a)g Fv(lamb)n(da-expr)n(ession)p Fw(,)h(whic)o(h)e(is)h(a)0 +2017 y(list)c(whose)h(\014rst)g(elemen)o(t)f(is)g(the)h(sym)o(b)q(ol)d +Fs(lambda)p Fw(.)22 b(A)15 b(lam)o(b)q(da-expression)f(is)h +Fv(not)h Fw(a)0 2069 y(form;)10 b(it)i(cannot)g(b)q(e)h(meaningfully)c +(ev)n(aluated.)17 b(Lam)o(b)q(da-expressions)12 b(and)g(sym)o(b)q(ols,) +0 2121 y(when)18 b(used)g(in)f(programs)f(as)i(names)e(of)h(functions,) +h(can)f(app)q(ear)h(only)f(as)g(the)h(\014rst)0 2173 +y(elemen)o(t)g(of)g(a)g(function-call)g(form,)f(or)i(as)f(the)i(second) +f(elemen)o(t)f(of)g(the)h Fs(function)0 2225 y Fw(sp)q(ecial)11 +b(form.)16 b(Note)11 b(that)g(sym)o(b)q(ols)f(and)h(lam)o(b)q +(da-expressions)f(are)i(treated)g(as)f Fv(names)0 2277 +y Fw(of)18 b(functions)h(in)g(these)h(t)o(w)o(o)e(con)o(texts.)34 +b(This)19 b(should)g(b)q(e)g(distinguished)g(from)e(the)0 +2329 y(treatmen)o(t)k(of)f(sym)o(b)q(ols)f(and)h(lam)o(b)q +(da-expressions)g(as)h Fv(function)h(obje)n(cts)p Fw(,)g(that)e(is,)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 80 104 +80 103 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(80)77 b(COMMON)13 +b(LISP)0 295 y Fw(ob)r(jects)j(that)g(satisfy)e(the)i(predicate)g +Fs(functionp)p Fw(,)e(as)h(when)g(giving)f(suc)o(h)i(an)f(ob)r(ject)0 +347 y(to)f Fs(apply)f Fw(or)g Fs(funcall)g Fw(to)h(b)q(e)g(in)o(v)o(ok) +o(ed.)0 531 y Fo(5.2.1.)20 b(Named)13 b(F)-5 b(unctions)0 +627 y Fw(A)14 b(name)e(can)i(b)q(e)g(giv)o(en)f(to)g(a)g(function)g(in) +g(one)h(of)f(t)o(w)o(o)g(w)o(a)o(ys.)18 b(A)13 b Fv(glob)n(al)h(name)g +Fw(can)g(b)q(e)0 679 y(giv)o(en)g(to)f(a)h(function)g(b)o(y)g(using)f +(the)i Fs(defun)e Fw(construct.)20 b(A)14 b Fv(lo)n(c)n(al)h(name)f +Fw(can)h(b)q(e)f(giv)o(en)0 731 y(to)k(a)f(function)h(b)o(y)f(using)h +(the)g Fs(flet)f Fw(or)h Fs(labels)e Fw(sp)q(ecial)i(form.)29 +b(When)18 b(a)f(function)0 783 y(is)d(named,)e(a)i(lam)o(b)q +(da-expression)e(is)i(e\013ectiv)o(ely)h(asso)q(ciated)g(with)e(that)h +(name)f(along)0 835 y(with)g(information)e(ab)q(out)j(the)g(en)o +(tities)h(that)f(are)g(lexically)e(apparen)o(t)i(at)g(that)g(p)q(oin)o +(t.)0 886 y(If)f(a)h(sym)o(b)q(ol)d(app)q(ears)k(as)f(the)g(\014rst)g +(elemen)o(t)f(of)g(a)h(function-call)e(form,)g(then)i(it)f(refers)0 +938 y(to)g(the)i(de\014nition)e(established)h(b)o(y)g(the)g(innermost)f +Fs(flet)f Fw(or)i Fs(labels)e Fw(construct)k(that)0 990 +y(textually)d(con)o(tains)h(the)g(reference,)i(or)e(to)f(the)i(global)d +(de\014nition)h(\(if)g(an)o(y\))h(if)f(there)i(is)0 1042 +y(no)f(suc)o(h)g(con)o(taining)f(construct.)0 1226 y +Fo(5.2.2.)20 b(Lam)n(b)r(da-Expressions)0 1322 y Fw(A)14 +b Fv(lamb)n(da-expr)n(ession)g Fw(is)g(a)f(list)h(with)f(the)i(follo)o +(wing)c(syn)o(tax:)0 1416 y Fs(\(lambda)20 b Fv(lamb)n(da-list)g +Fs(.)h Fv(b)n(o)n(dy)p Fs(\))0 1509 y Fw(The)13 b(\014rst)g(elemen)o(t) +f(m)o(ust)g(b)q(e)h(the)g(sym)o(b)q(ol)e Fs(lambda)p +Fw(.)16 b(The)e(second)f(elemen)o(t)f(m)o(ust)g(b)q(e)h(a)0 +1561 y(list.)k(It)d(is)f(called)g(the)h Fv(lamb)n(da-list)p +Fw(,)e(and)i(sp)q(eci\014es)h(names)e(for)g(the)h Fv(p)n(ar)n(ameters)e +Fw(of)h(the)0 1613 y(function.)19 b(When)14 b(the)h(function)f(denoted) +h(b)o(y)f(the)g(lam)o(b)q(da-expression)f(is)h(applied)g(to)0 +1664 y(argumen)o(ts,)g(the)h(argumen)o(ts)f(are)h(matc)o(hed)f(with)g +(the)h(parameters)g(sp)q(eci\014ed)h(b)o(y)e(the)0 1716 +y(lam)o(b)q(da-list.)g(The)d Fv(b)n(o)n(dy)f Fw(ma)o(y)e(then)j(refer)g +(to)f(the)h(argumen)o(ts)e(b)o(y)h(using)g(the)h(parameter)0 +1768 y(names.)16 b(The)11 b Fv(b)n(o)n(dy)h Fw(consists)f(of)g(an)o(y)f +(n)o(um)o(b)q(er)g(of)g(forms)f(\(p)q(ossibly)i(zero\).)18 +b(These)12 b(forms)0 1820 y(are)j(ev)n(aluated)g(in)g(sequence,)i(and)e +(the)g(results)h(of)f(the)h Fv(last)e Fw(form)f(only)i(are)g(returned)0 +1872 y(as)h(the)h(results)h(of)e(the)h(application)e(\(the)i(v)n(alue)f +Fs(nil)f Fw(is)i(returned)h(if)d(there)j(are)f(zero)0 +1924 y(forms)c(in)g(the)h(b)q(o)q(dy\).)19 b(The)14 b(complete)f(syn)o +(tax)h(of)f(a)h(lam)o(b)q(da-expression)f(is:)0 2017 +y Fs(\(lambda)20 b(\()7 b Ft(f)p Fv(var)t Ft(g)307 2002 +y Fl(\003)197 2069 y Fw([)p Fs(&optional)20 b Ft(f)p +Fv(var)14 b Ft(j)h Fs(\()p Fv(var)21 b Fw([)p Fv(initform)f +Fw([)p Fv(svar)t Fw(])7 b(])g Fs(\))p Ft(g)1001 2054 +y Fl(\003)1026 2069 y Fw(])197 2121 y([)p Fs(&rest)14 +b Fv(var)t Fw(])197 2173 y([)p Fs(&key)21 b Ft(f)p Fv(var)14 +b Ft(j)h Fs(\()7 b Ft(f)p Fv(var)14 b Ft(j)g Fs(\()p +Fv(keywor)n(d)h(var)p Fs(\))p Ft(g)28 b Fw([)p Fv(initform)20 +b Fw([)p Fv(svar)t Fw(])7 b(])g Fs(\))p Ft(g)1249 2158 +y Fl(\003)1273 2173 y Fw(])197 2225 y([)p Fs(&aux)21 +b Ft(f)p Fv(var)14 b Ft(j)h Fs(\()p Fv(var)21 b Fw([)p +Fv(initform)s Fw(])7 b Fs(\))p Ft(g)765 2210 y Fl(\003)789 +2225 y Fw(])g Fs(\))70 2277 y Fw([)-7 b([)13 b Ft(f)p +Fv(de)n(clar)n(ation)s Ft(g)342 2262 y Fl(\003)383 2277 +y Ft(j)h Fv(do)n(cumentation)p Fs(-)p Fv(string)d Fw(])-7 +b(])70 2329 y Ft(f)7 b Fv(form)s Ft(g)208 2314 y Fl(\003)234 +2329 y Fs(\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 81 105 +81 104 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PROGRAM)11 b(STRUCTURE)933 +b(81)42 295 y Fw(Eac)o(h)16 b(elemen)o(t)f(of)h(a)f(lam)o(b)q(da-list)e +(is)j(either)h(a)e Fv(p)n(ar)n(ameter)i(sp)n(e)n(ci\014er)e +Fw(or)h(a)g Fv(lamb)n(da-)0 347 y(list)e(keywor)n(d)p +Fw(;)g(lam)o(b)q(da-li)o(st)e(k)o(eyw)o(ords)i(b)q(egin)g(with)g +Fs(&)p Fw(.)19 b(\(Note)14 b(that)h(lam)o(b)q(da-li)o(st)d(k)o(ey-)0 +399 y(w)o(ords)g(are)h(not)f(k)o(eyw)o(ords)g(in)g(the)h(usual)f +(sense;)i(they)e(do)g(not)g(b)q(elong)g(to)g(the)h(k)o(eyw)o(ord)0 +450 y(pac)o(k)n(age.)33 b(They)19 b(are)g(ordinary)g(sym)o(b)q(ols)e +(eac)o(h)i(of)g(whose)g(names)f(b)q(egins)h(with)g(an)0 +502 y(amp)q(ersand.)25 b(This)16 b(terminology)e(is)j(unfortunately)f +(confusing)g(but)h(is)f(retained)h(for)0 554 y(historical)c(reasons.\)) +42 606 y(In)j(all)e(cases)k(a)d Fv(var)h Fw(or)g Fv(svar)g +Fw(m)o(ust)f(b)q(e)h(a)g(sym)o(b)q(ol,)e(the)j(name)e(of)g(a)h(v)n +(ariable;)f(eac)o(h)-38 581 y Fk(.)-38 594 y(.)-38 607 +y(.)-38 620 y(.)-38 633 y(.)-38 646 y(.)-38 659 y(.)-38 +672 y(.)-38 685 y(.)-38 698 y(.)-38 711 y(.)-38 724 y(.)-38 +737 y(.)-38 750 y(.)-38 763 y(.)-38 776 y(.)-38 789 y(.)-38 +802 y(.)-38 815 y(.)-38 828 y(.)-38 841 y(.)-38 854 y(.)-38 +867 y(.)-38 880 y(.)-38 893 y(.)-38 906 y(.)-38 919 y(.)-38 +932 y(.)-38 944 y(.)-38 957 y(.)-38 970 y(.)-38 983 y(.)-38 +996 y(.)-38 1009 y(.)-38 1022 y(.)-38 1035 y(.)-38 1048 +y(.)-38 1061 y(.)-38 1074 y(.)-38 1087 y(.)-38 1100 y(.)-38 +1113 y(.)-38 1126 y(.)-38 1139 y(.)-38 1152 y(.)-38 1165 +y(.)-38 1178 y(.)-38 1191 y(.)-38 1204 y(.)-38 1217 y(.)-38 +1230 y(.)-38 1243 y(.)-38 1256 y(.)-38 1269 y(.)-38 1282 +y(.)-38 1295 y(.)-38 1308 y(.)-38 1321 y(.)-38 1334 y(.)-38 +1347 y(.)-38 1360 y(.)-38 1373 y(.)-38 1386 y(.)-38 1399 +y(.)-38 1411 y(.)-38 1424 y(.)-38 1437 y(.)-38 1450 y(.)-38 +1463 y(.)-38 1476 y(.)-38 1489 y(.)-38 1502 y(.)-38 1515 +y(.)-38 1528 y(.)-38 1541 y(.)-38 1554 y(.)-38 1567 y(.)-38 +1580 y(.)-38 1593 y(.)-38 1606 y(.)-38 1619 y(.)-38 1632 +y(.)-38 1645 y(.)-38 1658 y(.)-38 1671 y(.)-38 1684 y(.)-38 +1697 y(.)-38 1710 y(.)-38 1723 y(.)-38 1736 y(.)-38 1749 +y(.)-38 1762 y(.)-38 1775 y(.)-38 1788 y(.)-38 1801 y(.)-38 +1814 y(.)-38 1827 y(.)-38 1840 y(.)-38 1853 y(.)-38 1866 +y(.)-38 1878 y(.)-38 1891 y(.)-38 1904 y(.)-38 1917 y(.)-38 +1930 y(.)-38 1943 y(.)-38 1956 y(.)-38 1969 y(.)-38 1982 +y(.)-38 1995 y(.)-38 2008 y(.)-38 2021 y(.)-38 2034 y(.)-38 +2047 y(.)-38 2060 y(.)-38 2073 y(.)-38 2086 y(.)-38 2099 +y(.)-38 2112 y(.)-38 2125 y(.)-38 2138 y(.)-38 2151 y(.)-38 +2164 y(.)-38 2177 y(.)-38 2190 y(.)-38 2203 y(.)-38 2216 +y(.)-38 2229 y(.)-38 2242 y(.)-38 2255 y(.)-38 2268 y(.)-38 +2281 y(.)-38 2294 y(.)-38 2307 y(.)-38 2320 y(.)-38 2332 +y(.)-38 2345 y(.)-38 2358 y(.)-38 2371 y(.)-38 2384 y(.)-38 +2397 y(.)-38 2410 y(.)-38 2423 y(.)-38 2436 y(.)-38 2449 +y(.)-38 2462 y(.)-38 2475 y(.)-38 2488 y(.)-38 2501 y(.)-38 +2514 y(.)-38 2527 y(.)-38 2540 y(.)-38 2553 y(.)-38 2566 +y(.)-38 2579 y(.)-38 2592 y(.)-38 2605 y(.)-38 2618 y(.)-38 +2631 y(.)-38 2644 y(.)-38 2657 y(.)-38 2670 y(.)-38 2683 +y(.)-38 2696 y(.)-38 2709 y(.)-38 2722 y(.)-38 2735 y(.)-38 +2748 y(.)-38 2761 y(.)-38 2774 y(.)-38 2787 y(.)-38 2799 +y(.)-38 2812 y(.)-38 2825 y(.)-38 2838 y(.)-38 2851 y(.)-38 +2864 y(.)-38 2877 y(.)-38 2890 y(.)-38 2903 y(.)-38 2916 +y(.)-38 2929 y(.)-38 2942 y(.)-38 2955 y(.)-38 2968 y(.)-38 +2981 y(.)-38 2994 y(.)-38 3007 y(.)-38 3020 y(.)-38 3033 +y(.)-38 3046 y(.)-38 3059 y(.)-38 3072 y(.)-38 3085 y(.)-38 +3098 y(.)-38 3111 y(.)-38 3124 y(.)-38 3137 y(.)-38 3150 +y(.)-38 3163 y(.)0 658 y Fv(keywor)n(d)d Fw(m)o(ust)f(b)q(e)i(a)f(k)o +(eyw)o(ord)g(sym)o(b)q(ol,)e(suc)o(h)j(as)f Fs(:start)p +Fw(.)17 b(An)12 b Fv(initform)f Fw(ma)o(y)f(b)q(e)j(an)o(y)0 +710 y(form.)-33 722 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 762 a(X3J13)f(v)o(oted)g(in)g(Marc)o(h)h(1988)e +Ft(h)p Fw(105)p Ft(i)h Fw(to)g(allo)o(w)f(a)h Fv(keywor)n(d)g +Fw(in)g(the)h(preceding)g(sp)q(ec-)-33 734 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 814 a(i\014cation)j(of)h(a)g(lam)o(b)q(da-list)d(to)j(b) +q(e)h(an)o(y)f(sym)o(b)q(ol)f(whatso)q(ev)o(er,)i(not)f(just)h(a)f(k)o +(eyw)o(ord)0 866 y(sym)o(b)q(ol)12 b(in)h(the)i Fs(keyword)d +Fw(pac)o(k)n(age.)18 b(See)d(b)q(elo)o(w.)-33 878 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 918 a(A)e(lam)o(b)q(da-list)e(has)k(\014v)o(e)f(parts,) +g(an)o(y)f(or)h(all)e(of)i(whic)o(h)g(ma)o(y)d(b)q(e)k(empt)o(y:)0 +980 y Fu(.)42 989 y Fw(Sp)q(eci\014ers)d(for)e(the)h +Fv(r)n(e)n(quir)n(e)n(d)f Fw(parameters.)17 b(These)12 +b(are)f(all)e(the)i(parameter)g(sp)q(eci\014ers)42 1041 +y(up)h(to)f(the)i(\014rst)g(lam)o(b)q(da-li)o(st)d(k)o(eyw)o(ord;)i(if) +f(there)i(is)f(no)f(suc)o(h)i(lam)o(b)q(da-list)c(k)o(eyw)o(ord,)42 +1093 y(then)14 b(all)f(the)h(sp)q(eci\014ers)i(are)f(for)e(required)i +(parameters.)0 1168 y Fu(.)42 1177 y Fw(Sp)q(eci\014ers)e(for)f +Fv(optional)g Fw(parameters.)18 b(If)11 b(the)i(lam)o(b)q(da-li)o(st)d +(k)o(eyw)o(ord)i Fs(&optional)e Fw(is)42 1229 y(presen)o(t,)17 +b(the)g Fv(optional)f Fw(parameter)f(sp)q(eci\014ers)j(are)f(those)f +(follo)o(wing)e(the)i(lam)o(b)q(da-)42 1280 y(list)f(k)o(eyw)o(ord)g +Fs(&optional)f Fw(up)h(to)h(the)g(next)g(lam)o(b)q(da-li)o(st)d(k)o +(eyw)o(ord)j(or)f(the)h(end)g(of)42 1332 y(the)e(list.)0 +1407 y Fu(.)42 1416 y Fw(A)d(sp)q(eci\014er)i(for)e(a)g +Fv(r)n(est)g Fw(parameter.)17 b(The)12 b(lam)o(b)q(da-li)o(st)d(k)o +(eyw)o(ord)j Fs(&rest)p Fw(,)e(if)h(presen)o(t,)42 1468 +y(m)o(ust)k(b)q(e)h(follo)o(w)o(ed)f(b)o(y)h(a)g(single)f +Fv(r)n(est)h Fw(parameter)g(sp)q(eci\014er,)h(whic)o(h)f(in)g(turn)h(m) +o(ust)42 1520 y(b)q(e)d(follo)o(w)o(ed)e(b)o(y)i(another)g(lam)o(b)q +(da-list)d(k)o(eyw)o(ord)j(or)g(the)g(end)h(of)e(the)i(lam)o(b)q(da-li) +o(st.)0 1594 y Fu(.)42 1603 y Fw(Sp)q(eci\014ers)24 b(for)e +Fv(keywor)n(d)g Fw(parameters.)44 b(If)22 b(the)h(lam)o(b)q(da-list)d +(k)o(eyw)o(ord)i Fs(&key)g Fw(is)42 1655 y(presen)o(t,)15 +b(all)d(sp)q(eci\014ers)k(up)e(to)g(the)h(next)f(lam)o(b)q(da-list)d(k) +o(eyw)o(ord)j(or)g(the)g(end)h(of)e(the)42 1707 y(list)c(are)h +Fv(keywor)n(d)f Fw(parameter)g(sp)q(eci\014ers.)19 b(The)10 +b(k)o(eyw)o(ord)g(parameter)f(sp)q(eci\014ers)j(ma)o(y)42 +1759 y(optionally)f(b)q(e)k(follo)o(w)o(ed)d(b)o(y)i(the)g(lam)o(b)q +(da-list)d(k)o(eyw)o(ord)j Fs(&allow-other-keys)p Fw(.)0 +1833 y Fu(.)42 1842 y Fw(Sp)q(eci\014ers)e(for)f Fv(aux)h +Fw(v)n(ariables.)k(These)c(are)g(not)e(really)h(parameters.)17 +b(If)11 b(the)g(lam)o(b)q(da-)42 1894 y(list)19 b(k)o(eyw)o(ord)g +Fs(&key)g Fw(is)h(presen)o(t,)i(all)c(sp)q(eci\014ers)k(after)e(it)f +(are)h Fv(auxiliary)g(variable)42 1946 y Fw(sp)q(eci\014ers.)42 +2017 y(When)10 b(the)i(function)e(represen)o(ted)k(b)o(y)c(the)h(lam)o +(b)q(da-expression)f(is)g(applied)h(to)f(argu-)0 2069 +y(men)o(ts,)g(the)h(argumen)o(ts)f(and)g(parameters)h(are)g(pro)q +(cessed)i(in)d(order)h(from)e(left)h(to)h(righ)o(t.)0 +2121 y(In)i(the)h(simplest)e(case,)i(only)f(required)h(parameters)f +(are)h(presen)o(t)g(in)f(the)h(lam)o(b)q(da-list;)0 2173 +y(eac)o(h)20 b(is)e(sp)q(eci\014ed)j(simply)c(b)o(y)i(a)g(name)e +Fv(var)i Fw(for)g(the)g(parameter)g(v)n(ariable.)33 b(When)0 +2225 y(the)18 b(function)f(is)h(applied,)f(there)i(m)o(ust)d(b)q(e)i +(exactly)g(as)f(man)o(y)f(argumen)o(ts)h(as)g(there)0 +2277 y(are)d(parameters,)g(and)g(eac)o(h)h(parameter)e(is)h(b)q(ound)h +(to)f(one)g(argumen)o(t.)j(Here,)e(and)f(in)0 2329 y(general,)g(the)g +(parameter)f(is)h(b)q(ound)g(as)g(a)f(lexical)g(v)n(ariable)g(unless)i +(a)e(declaration)h(has)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 82 106 +82 105 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(82)77 b(COMMON)13 +b(LISP)0 295 y Fw(b)q(een)19 b(made)d(that)h(it)g(should)g(b)q(e)h(a)f +(sp)q(ecial)h(binding;)g(see)g Fs(defvar)p Fw(,)f Fs(proclaim)p +Fw(,)f(and)0 347 y Fs(declare)p Fw(.)42 399 y(In)10 b(the)h(more)f +(general)g(case,)i(if)e(there)i(are)f Fv(n)f Fw(required)i(parameters)e +(\()p Fv(n)h Fw(ma)o(y)e(b)q(e)i(zero\),)0 450 y(there)17 +b(m)o(ust)d(b)q(e)i(at)f(least)g Fv(n)h Fw(argumen)o(ts,)e(and)h(the)h +(required)h(parameters)e(are)h(b)q(ound)0 502 y(to)e(the)g(\014rst)h +Fv(n)f Fw(argumen)o(ts.)j(The)d(other)h(parameters)f(are)g(then)g(pro)q +(cessed)j(using)c(an)o(y)0 554 y(remaining)f(argumen)o(ts.)42 +606 y(If)e Fv(optional)h Fw(parameters)g(are)g(sp)q(eci\014ed,)i(then)e +(eac)o(h)h(one)f(is)g(pro)q(cessed)i(as)e(follo)o(ws.)k(If)0 +658 y(an)o(y)d(unpro)q(cessed)i(argumen)o(ts)e(remain,)f(then)i(the)f +(parameter)g(v)n(ariable)g Fv(var)g Fw(is)g(b)q(ound)0 +710 y(to)20 b(the)h(next)g(remaining)e(argumen)o(t,)h(just)h(as)g(for)f +(a)g(required)h(parameter.)38 b(If)20 b(no)0 762 y(argumen)o(ts)12 +b(remain,)f(ho)o(w)o(ev)o(er,)i(then)h(the)f Fv(initform)f +Fw(part)h(of)f(the)h(parameter)g(sp)q(eci\014er)0 814 +y(is)j(ev)n(aluated,)g(and)g(the)g(parameter)g(v)n(ariable)f(is)h(b)q +(ound)g(to)g(the)g(resulting)g(v)n(alue)g(\(or)0 866 +y(to)e Fs(nil)g Fw(if)f(no)h Fv(initform)g Fw(app)q(ears)h(in)f(the)h +(parameter)f(sp)q(eci\014er\).)21 b(If)14 b(another)h(v)n(ariable)0 +917 y(name)h Fv(svar)i Fw(app)q(ears)g(in)g(the)g(sp)q(eci\014er,)i(it) +d(is)g(b)q(ound)h(to)g Fv(true)f Fw(if)g(an)g(argumen)o(t)g(w)o(as)0 +969 y(a)o(v)n(ailable,)9 b(and)j(to)g Fv(false)f Fw(if)g(no)g(argumen)o +(t)g(remained)g(\(and)g(therefore)j Fv(initform)c Fw(had)i(to)0 +1021 y(b)q(e)i(ev)n(aluated\).)k(The)c(v)n(ariable)e +Fv(svar)i Fw(is)f(called)g(a)g Fv(supplie)n(d-p)h Fw(parameter;)f(it)g +(is)h(b)q(ound)0 1073 y(not)e(to)f(an)h(argumen)o(t)e(but)i(to)g(a)g(v) +n(alue)f(indicating)f(whether)j(or)f(not)g(an)f(argumen)o(t)g(had)0 +1125 y(b)q(een)k(supplied)f(for)g(another)g(parameter.)42 +1177 y(After)e(all)f Fv(optional)i Fw(parameter)f(sp)q(eci\014ers)i(ha) +o(v)o(e)e(b)q(een)i(pro)q(cessed,)g(then)f(there)h(ma)o(y)0 +1229 y(or)c(ma)o(y)e(not)h(b)q(e)i(a)e Fv(r)n(est)g Fw(parameter.)17 +b(If)9 b(there)i(is)f(a)f Fv(r)n(est)g Fw(parameter,)h(it)f(is)h(b)q +(ound)g(to)g(a)f(list)0 1281 y(of)17 b(all)f(as-y)o(et-unpro)q(cessed)j +(argumen)o(ts.)28 b(\(If)17 b(no)f(unpro)q(cessed)k(argumen)o(ts)d +(remain,)0 1333 y(the)e Fv(r)n(est)f Fw(parameter)h(is)f(b)q(ound)h(to) +g(the)g(empt)o(y)f(list.\))20 b(If)15 b(there)h(is)f(no)f +Fv(r)n(est)g Fw(parameter)0 1384 y(and)j(there)h(are)f(no)f +Fv(keywor)n(d)h Fw(parameters,)g(then)g(there)h(should)e(b)q(e)i(no)e +(unpro)q(cessed)0 1436 y(argumen)o(ts)d(\(it)h(is)g(an)f(error)i(if)e +(there)i(are\).)42 1488 y(X3J13)g(v)o(oted)g(in)g(Jan)o(uary)g(1989)g +Ft(h)p Fw(155)p Ft(i)g Fw(to)g(clarify)g(that)g(if)g(a)g(function)g +(has)g(a)h Fv(r)n(est)-33 1460 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1540 a Fw(parameter)11 b(and)h(is)g(called)f(using)h +Fs(apply)p Fw(,)e(then)j(the)f(list)f(to)h(whic)o(h)g(the)g +Fv(r)n(est)f Fw(parameter)0 1592 y(is)j(b)q(ound)g(is)f(p)q(ermitted,)g +(but)h(not)g(required,)g(to)g(share)h(top-lev)o(el)e(list)g(structure)j +(with)0 1644 y(the)e(list)f(that)g(w)o(as)g(the)h(last)f(argumen)o(t)f +(to)h Fs(apply)p Fw(.)j(Programmers)c(should)h(b)q(e)h(careful)0 +1696 y(ab)q(out)c(p)q(erforming)e(side)i(e\013ects)i(on)e(the)h +(top-lev)o(el)e(list)g(structure)j(of)e(a)f Fv(r)n(est)h +Fw(parameter.)42 1748 y(This)j(w)o(as)g(the)h(result)g(of)e(a)h(rather) +h(long)e(discussion)i(within)f(X3J13)g(and)g(the)g(wider)0 +1800 y(Lisp)f(comm)o(unit)o(y)l(.)i(T)m(o)d(set)i(it)f(in)f(its)h +(historical)f(con)o(text,)i(I)f(m)o(ust)e(remark)i(that)f(in)h(Lisp)0 +1851 y(Mac)o(hine)h(Lisp)f(the)h(list)f(to)h(whic)o(h)f(a)g +Fv(r)n(est)g Fw(parameter)g(w)o(as)h(b)q(ound)f(had)h(only)e(dynamic)0 +1903 y(exten)o(t;)20 b(this)f(in)e(conjunction)h(with)g(the)g(tec)o +(hnique)h(of)e(\\cdr-co)q(ding")h(p)q(ermitted)g(a)0 +1955 y(clev)o(er)d(stac)o(k-allo)q(cation)e(tec)o(hnique)i(with)f(v)o +(ery)g(lo)o(w)g(o)o(v)o(erhead.)19 b(Ho)o(w)o(ev)o(er,)14 +b(the)h(early)0 2007 y(designers)f(of)d(Common)e(Lisp,)j(after)h(a)e +(great)i(deal)f(of)g(debate,)h(concluded)g(that)f(it)g(w)o(as)0 +2059 y(dangerous)g(for)e(cons)i(cells)f(to)g(ha)o(v)o(e)g(dynamic)f +(exten)o(t;)i(as)f(an)g(example,)f(the)i(\\ob)o(vious")0 +2111 y(de\014nition)h(of)h(the)g(function)g Fs(list)0 +2194 y(\(defun)20 b(list)g(\(&rest)g(x\))h(x\))0 2277 +y Fw(could)e(fail)f(catastrophically)m(.)33 b(Therefore)21 +b(the)f(\014rst)g(edition)e(simply)g(implied)f(that)0 +2329 y(the)e(list)e(for)h(a)g Fv(r)n(est)f Fw(parameter,)h(lik)o(e)f +(all)g(other)i(lists,)e(w)o(ould)h(ha)o(v)o(e)g(inde\014nite)g(exten)o +(t.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 83 107 +83 106 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PROGRAM)11 b(STRUCTURE)933 +b(83)0 295 y Fw(This)15 b(still)f(left)i(op)q(en)f(the)h(\015ip)f(side) +h(of)e(the)i(question,)f(namely)m(,)e(Is)j(the)g(list)f(for)g(a)g +Fv(r)n(est)0 347 y Fw(parameter)j(guaran)o(teed)h(fresh?)31 +b(This)18 b(is)g(the)h(question)f(addressed)i(b)o(y)e(the)h(X3J13)0 +399 y(v)o(ote.)29 b(If)17 b(it)g(is)g(alw)o(a)o(ys)f(freshly)i(consed,) +h(then)f(it)f(is)g(p)q(ermissible)g(to)g(destro)o(y)i(it,)e(for)0 +450 y(example)10 b(b)o(y)i(giving)e(it)h(to)h Fs(nconc)p +Fw(.)k(Ho)o(w)o(ev)o(er,)c(the)h(requiremen)o(t)e(alw)o(a)o(ys)g(to)h +(cons)g(fresh)0 502 y(lists)j(could)g(imp)q(ose)g(an)g(unacceptable)h +(o)o(v)o(erhead)g(in)f(man)o(y)e(implemen)o(tations.)19 +b(The)0 554 y(clari\014cation)c(appro)o(v)o(ed)g(b)o(y)g(X3J13)g(sp)q +(eci\014es)i(that)e(the)h(programmer)d(ma)o(y)g(not)j(rely)0 +606 y(on)d(the)g(list)f(b)q(eing)h(fresh;)g(if)f(the)i(function)e(w)o +(as)h(called)f(using)h Fs(apply)p Fw(,)e(there)j(is)f(no)f(w)o(a)o(y)0 +658 y(to)i(kno)o(w)f(where)i(the)g(list)e(came)g(from.)-33 +670 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 710 a(Next,)18 b(an)o(y)f Fv(keywor)n(d)g +Fw(parameters)h(are)g(pro)q(cessed.)31 b(F)m(or)17 b(this)h(purp)q(ose) +g(the)h(same)0 762 y(argumen)o(ts)13 b(are)h(pro)q(cessed)i(that)e(w)o +(ould)f(b)q(e)h(made)e(in)o(to)h(a)h(list)f(for)g(a)h +Fv(r)n(est)f Fw(parameter.)0 814 y(\(Indeed,)20 b(it)f(is)f(p)q +(ermitted)g(to)h(sp)q(ecify)g(b)q(oth)f Fs(&rest)g Fw(and)g +Fs(&key)p Fw(.)31 b(In)19 b(this)g(case)g(the)0 866 y(remaining)12 +b(argumen)o(ts)h(are)h(used)h(for)f(b)q(oth)g(purp)q(oses;)g(that)g +(is,)g(all)e(remaining)g(argu-)0 918 y(men)o(ts)17 b(are)g(made)f(in)o +(to)h(a)g(list)f(for)h(the)h Fs(&rest)e Fw(parameter)h(and)g(are)h +(also)e(pro)q(cessed)0 970 y(for)f(the)g Fs(&key)f Fw(parameters.)22 +b(This)15 b(is)g(the)g(only)f(situation)h(in)f(whic)o(h)h(an)g(argumen) +o(t)f(is)0 1022 y(used)g(in)e(the)i(pro)q(cessing)g(of)f(more)e(than)i +(one)h(parameter)e(sp)q(eci\014er.\))20 b(If)13 b Fs(&key)f +Fw(is)g(sp)q(ec-)0 1074 y(i\014ed,)j(there)i(m)o(ust)d(remain)g(an)h +(ev)o(en)h(n)o(um)o(b)q(er)e(of)h(argumen)o(ts;)g(these)i(are)e +(considered)0 1126 y(as)e(pairs,)g(the)g(\014rst)h(argumen)o(t)e(in)g +(eac)o(h)i(pair)f(b)q(eing)g(in)o(terpreted)h(as)f(a)g(k)o(eyw)o(ord)g +(name)0 1177 y(and)h(the)g(second)h(as)f(the)h(corresp)q(onding)f(v)n +(alue.)42 1230 y(It)e(is)h(an)g(error)g(for)g(the)g(\014rst)h(ob)r +(ject)f(of)f(eac)o(h)i(pair)e(to)h(b)q(e)g(an)o(ything)f(but)h(a)f(k)o +(eyw)o(ord.)-38 1205 y Fk(.)-38 1218 y(.)-38 1231 y(.)-38 +1244 y(.)-38 1257 y(.)-38 1270 y(.)-38 1283 y(.)-38 1296 +y(.)-38 1309 y(.)-38 1322 y(.)-38 1335 y(.)-38 1348 y(.)-38 +1361 y(.)-38 1374 y(.)-38 1387 y(.)-38 1400 y(.)-38 1412 +y(.)-38 1425 y(.)-38 1438 y(.)-38 1451 y(.)-38 1464 y(.)-38 +1477 y(.)-38 1490 y(.)-38 1503 y(.)-38 1516 y(.)-38 1529 +y(.)-38 1542 y(.)-38 1555 y(.)-38 1568 y(.)-38 1581 y(.)-38 +1594 y(.)-38 1607 y(.)-38 1620 y(.)-38 1633 y(.)-38 1646 +y(.)-38 1659 y(.)-38 1672 y(.)-38 1685 y(.)-38 1698 y(.)-38 +1711 y(.)-38 1724 y(.)-38 1737 y(.)-38 1750 y(.)-38 1763 +y(.)-38 1776 y(.)-38 1789 y(.)-38 1802 y(.)-38 1815 y(.)-38 +1828 y(.)-38 1841 y(.)-38 1854 y(.)-38 1867 y(.)-38 1879 +y(.)-38 1892 y(.)-38 1905 y(.)-38 1918 y(.)-38 1931 y(.)-38 +1944 y(.)-38 1957 y(.)-38 1970 y(.)-38 1983 y(.)-38 1996 +y(.)-38 2009 y(.)-38 2022 y(.)-38 2035 y(.)-38 2048 y(.)-38 +2061 y(.)-38 2074 y(.)-38 2087 y(.)-38 2100 y(.)-38 2113 +y(.)-38 2126 y(.)-38 2139 y(.)-38 2152 y(.)-38 2165 y(.)-38 +2178 y(.)-38 2191 y(.)-38 2204 y(.)-38 2217 y(.)-38 2230 +y(.)-38 2243 y(.)-38 2256 y(.)-38 2269 y(.)-38 2282 y(.)-38 +2295 y(.)-38 2308 y(.)-38 2321 y(.)-38 2334 y(.)-38 2346 +y(.)-38 2359 y(.)-38 2372 y(.)-38 2385 y(.)-38 2398 y(.)-38 +2411 y(.)-38 2424 y(.)-38 2437 y(.)-38 2450 y(.)-38 2463 +y(.)-38 2476 y(.)-38 2489 y(.)-38 2502 y(.)-38 2515 y(.)-38 +2528 y(.)-38 2541 y(.)-38 2554 y(.)-38 2567 y(.)-38 2580 +y(.)-38 2593 y(.)-38 2606 y(.)-38 2619 y(.)-38 2632 y(.)-38 +2645 y(.)-38 2658 y(.)-38 2671 y(.)-38 2684 y(.)-38 2697 +y(.)-38 2710 y(.)-38 2723 y(.)-38 2736 y(.)-38 2749 y(.)-38 +2762 y(.)-38 2775 y(.)-38 2788 y(.)-38 2800 y(.)-38 2813 +y(.)-38 2826 y(.)-38 2839 y(.)-38 2852 y(.)-38 2865 y(.)-38 +2878 y(.)-38 2891 y(.)-38 2904 y(.)-38 2917 y(.)-38 2930 +y(.)-38 2943 y(.)-38 2956 y(.)-38 2969 y(.)-38 2982 y(.)-38 +2995 y(.)-38 3008 y(.)-38 3021 y(.)-38 3034 y(.)-38 3047 +y(.)-38 3060 y(.)-38 3073 y(.)-38 3086 y(.)-38 3099 y(.)-38 +3112 y(.)-38 3125 y(.)-38 3138 y(.)-38 3151 y(.)-38 3164 +y(.)-38 3177 y(.)-38 3190 y(.)-38 3203 y(.)-38 3216 y(.)-38 +3229 y(.)-38 3242 y(.)-38 3255 y(.)-38 3267 y(.)-38 3280 +y(.)-38 3293 y(.)-38 3306 y(.)-38 3319 y(.)-38 3332 y(.)-38 +3345 y(.)-38 3358 y(.)-38 3371 y(.)-38 3384 y(.)-38 3397 +y(.)-38 3410 y(.)-38 3423 y(.)-38 3436 y(.)-38 3449 y(.)-38 +3462 y(.)-38 3475 y(.)-38 3488 y(.)-38 3501 y(.)-38 3514 +y(.)-38 3527 y(.)-38 3540 y(.)-38 3553 y(.)-38 3566 y(.)-38 +3579 y(.)-38 3592 y(.)-38 3605 y(.)-38 3618 y(.)-38 3631 +y(.)-38 3644 y(.)-38 3657 y(.)-38 3670 y(.)-38 3683 y(.)-38 +3696 y(.)-38 3709 y(.)-38 3722 y(.)-38 3734 y(.)-38 3747 +y(.)-38 3760 y(.)-38 3773 y(.)-38 3786 y(.)p 0 1290 V +0 1351 a Fm(Rationale:)18 b FA(This)c(last)g(restriction)h(is)f(imp)q +(osed)h(so)f(that)f(a)h(compiler)h(ma)o(y)f(issue)g(w)o(arnings)0 +1396 y(ab)q(out)i(certain)g(malformed)g(calls)g(to)f(functions)h(that)f +(tak)o(e)g(k)o(eyw)o(ord)h(argumen)o(ts.)23 b(It)14 b(m)o(ust)0 +1442 y(b)q(e)f(remem)o(b)q(ered)g(that)f(the)h(argumen)o(ts)g(in)h(a)e +(function)i(call)g(that)e(ev)n(aluate)i(to)e(k)o(eyw)o(ords)h(are)0 +1488 y(just)i(lik)o(e)h(an)o(y)g(other)f(argumen)o(ts)h(and)g(ma)o(y)f +(b)q(e)h(an)o(y)f(ev)n(aluable)j(forms.)23 b(A)14 b(compiler)j(could)0 +1533 y(not,)c(without)h(additional)i(con)o(text,)d(issue)i(a)e(w)o +(arning)h(ab)q(out)g(the)f(call)0 1618 y Fj(\(fill)k(seq)g(item)g(x)i +(y\))0 1702 y FA(b)q(ecause)12 b(in)f(principle)j(the)c(v)n(ariable)j +Fj(x)d FA(migh)o(t)h(ha)o(v)o(e)g(as)g(its)g(v)n(alue)h(a)e(k)o(eyw)o +(ord)i(suc)o(h)f(as)f Fj(:start)p FA(.)0 1748 y(Ho)o(w)o(ev)o(er,)i(a)h +(compiler)i(w)o(ould)f(b)q(e)g(justi\014ed)g(in)g(issuing)h(a)e(w)o +(arning)h(ab)q(out)g(the)f(call)0 1833 y Fj(\(fill)k(seq)g(item)g(0)i +(10\))0 1917 y FA(b)q(ecause)14 b(the)f(constan)o(t)g +Fj(0)f FA(is)i(de\014nitely)h(not)e(a)f(k)o(eyw)o(ord.)18 +b(Similarly)m(,)d(if)e(in)h(the)f(\014rst)f(case)h(the)0 +1963 y(v)n(ariable)h Fj(x)d FA(had)i(b)q(een)f(declared)i(to)d(b)q(e)h +(of)g(t)o(yp)q(e)g Fj(integer)p FA(,)d(then)j(t)o(yp)q(e)h(analysis)h +(could)f(enable)0 2009 y(the)g(compiler)i(to)e(justify)h(a)f(w)o +(arning.)p 0 2050 V -33 2062 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2173 a Fw(X3J13)f(v)o(oted)h(in)f(Marc)o(h)i(1988)d +Ft(h)p Fw(105)p Ft(i)i Fw(to)f(allo)o(w)g(a)g Fv(keywor)n(d)h +Fw(in)f(a)g(lam)o(b)q(da-list)e(to)j(b)q(e)-33 2145 y +@beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2225 a(an)o(y)h(sym)o(b)q(ol)g(whatso)q(ev)o(er,)h(not)g +(just)g(a)g(k)o(eyw)o(ord)g(sym)o(b)q(ol)e(in)i(the)g +Fs(keyword)f Fw(pac)o(k)n(age.)0 2277 y(If,)g(after)h +Fs(&key)p Fw(,)e(a)i(v)n(ariable)e(app)q(ears)j(alone)e(or)g(within)g +(only)g(one)h(set)g(of)f(paren)o(theses)0 2329 y(\(p)q(ossibly)20 +b(with)f(an)h Fv(initform)e Fw(and)i(a)f Fv(svar)p Fw(\),)i(then)f(the) +h(b)q(eha)o(vior)e(is)h(as)g(b)q(efore:)30 b(a)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 84 108 +84 107 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(84)77 b(COMMON)13 +b(LISP)0 295 y Fw(k)o(eyw)o(ord)h(sym)o(b)q(ol)f(with)h(the)h(same)f +(name)f(as)h(the)h(v)n(ariable)f(is)g(used)h(as)g(the)g(k)o(eyw)o(ord-) +0 347 y(name)g(when)i(matc)o(hing)e(argumen)o(ts)g(to)i(parameter)f(sp) +q(eci\014ers.)28 b(Only)16 b(a)g(parameter)0 399 y(sp)q(eci\014er)h(of) +e(the)h(form)e Fs(\(\()p Fv(keywor)n(d)20 b(var)p Fs(\))h(...\))15 +b Fw(can)g(cause)i(the)f(k)o(eyw)o(ord-name)e(not)0 450 +y(to)g(b)q(e)h(a)g(k)o(eyw)o(ord)f(sym)o(b)q(ol,)e(b)o(y)j(sp)q +(ecifying)f(a)g(sym)o(b)q(ol)f(not)h(in)g(the)h Fs(keyword)e +Fw(pac)o(k)n(age)0 502 y(as)h(the)g Fv(keywor)n(d)p Fw(.)k(F)m(or)c +(example:)0 588 y Fs(\(defun)20 b(wager)g(\(&key)g(\(\(secret)g +(password\))f(nil\))h(amount\))42 640 y(\(format)g(nil)h("You)409 +644 y Fn(~)432 640 y Fs(A)g($)495 644 y Fn(~)518 640 +y Fs(D")212 692 y(\(if)f(\(eq)h(password)578 696 y Fn(')601 +692 y Fs(joe-sent-me\))e("win")h("lose"\))212 744 y(amount\)\))0 +847 y(\(wager)g(:amount)g(100\))g Ft(\))h Fs("You)f(lose)g($100")0 +899 y(\(wager)g(:amount)g(100)410 903 y Fn(')433 899 +y Fs(secret)583 903 y Fn(')606 899 y Fs(joe-sent-me\))f +Ft(\))i Fs("You)f(win)h($100")0 985 y Fw(The)13 b Fs(secret)f +Fw(w)o(ord)h(could)g(b)q(e)h(made)e(ev)o(en)h(more)f(secret)j(in)e +(this)g(example)f(b)o(y)h(placing)0 1037 y(it)h(in)f(some)g(other)h +Fs(obscure)f Fw(pac)o(k)n(age,)g(so)h(that)g(one)g(w)o(ould)f(ha)o(v)o +(e)h(to)f(write)0 1122 y Fs(\(wager)20 b(:amount)g(100)410 +1126 y Fn(')433 1122 y Fs(obscure:secret)757 1126 y Fn(')781 +1122 y Fs(joe-sent-me\))f Ft(\))h Fs("You)h(win)f($100")0 +1208 y Fw(to)14 b(win)f(an)o(ything.)-33 1220 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1260 a(In)f(eac)o(h)i(k)o(eyw)o(ord)f(parameter)g(sp)q +(eci\014er)h(m)o(ust)e(b)q(e)i(a)e(name)g Fv(var)h Fw(for)f(the)i +(parameter)0 1312 y(v)n(ariable.)i(If)c(an)g(explicit)f +Fv(keywor)n(d)h Fw(is)g(sp)q(eci\014ed,)h(then)g(that)f(is)g(the)g(k)o +(eyw)o(ord)g(name)f(for)0 1364 y(the)i(parameter.)k(Otherwise)e(the)e +(name)e Fv(var)h Fw(serv)o(es)j(to)d(indicate)h(the)g(k)o(eyw)o(ord)f +(name,)0 1416 y(in)k(that)g(a)f(k)o(eyw)o(ord)i(with)e(the)i(same)e +(name)g(\(in)h(the)g Fs(keyword)f Fw(pac)o(k)n(age\))h(is)g(used)h(as)0 +1467 y(the)d(k)o(eyw)o(ord.)k(Th)o(us)0 1553 y Fs(\(defun)i(foo)g +(\(&key)h(radix)f(\(type)627 1557 y Fn(')650 1553 y Fs(integer\)\))f +(...\))0 1639 y Fw(means)13 b(exactly)h(the)h(same)e(as)0 +1724 y Fs(\(defun)20 b(foo)g(\(&key)h(\(\(:radix)e(radix\)\))h +(\(\(:type)g(type\))1039 1728 y Fn(')1063 1724 y Fs(integer\)\))f +(...\))0 1810 y Fw(The)13 b(k)o(eyw)o(ord)f(parameter)h(sp)q +(eci\014ers)h(are,)f(lik)o(e)f(all)f(parameter)h(sp)q(eci\014ers,)j +(e\013ectiv)o(ely)0 1862 y(pro)q(cessed)h(from)c(left)h(to)g(righ)o(t.) +18 b(F)m(or)13 b(eac)o(h)h(k)o(eyw)o(ord)f(parameter)h(sp)q(eci\014er,) +g(if)f(there)i(is)0 1914 y(an)c(argumen)o(t)e(pair)i(whose)g(k)o(eyw)o +(ord)g(name)e(matc)o(hes)i(that)g(sp)q(eci\014er's)h(k)o(eyw)o(ord)f +(name)0 1966 y(\(that)16 b(is,)f(the)h(names)e(are)i +Fs(eq)p Fw(\),)f(then)h(the)g(parameter)f(v)n(ariable)f(for)h(that)h +(sp)q(eci\014er)h(is)0 2017 y(b)q(ound)12 b(to)g(the)h(second)g(item)e +(\(the)i(v)n(alue\))e(of)h(that)g(argumen)o(t)f(pair.)17 +b(If)11 b(more)g(than)i(one)0 2069 y(suc)o(h)i(argumen)o(t)d(pair)i +(matc)o(hes,)e(it)i(is)g(not)f(an)h(error;)g(the)g(leftmost)f(argumen)o +(t)g(pair)g(is)0 2121 y(used.)24 b(If)15 b(no)g(suc)o(h)h(argumen)o(t)e +(pair)h(exists,)i(then)f(the)g Fv(initform)e Fw(for)h(that)h(sp)q +(eci\014er)h(is)0 2173 y(ev)n(aluated)d(and)g(the)h(parameter)f(v)n +(ariable)f(is)i(b)q(ound)f(to)g(that)h(v)n(alue)e(\(or)i(to)f +Fs(nil)f Fw(if)h(no)0 2225 y Fv(initform)g Fw(w)o(as)g(sp)q +(eci\014ed\).)23 b(The)15 b(v)n(ariable)f Fv(svar)g Fw(is)h(treated)h +(as)f(for)f(ordinary)g Fv(optional)0 2277 y Fw(parameters:)22 +b(it)15 b(is)h(b)q(ound)f(to)h Fv(true)f Fw(if)g(there)i(w)o(as)f(a)f +(matc)o(hing)f(argumen)o(t)h(pair,)g(and)0 2329 y(to)f +Fv(false)f Fw(otherwise.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 85 109 +85 108 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PROGRAM)11 b(STRUCTURE)933 +b(85)42 295 y Fw(It)13 b(is)g(an)h(error)g(if)f(an)g(argumen)o(t)f +(pair)h(has)h(a)f(k)o(eyw)o(ord)h(name)e(not)h(matc)o(hed)g(b)o(y)g(an) +o(y)0 347 y(parameter)f(sp)q(eci\014er,)i(unless)g(at)e(least)h(one)f +(of)g(the)i(follo)o(wing)9 b(t)o(w)o(o)j(conditions)h(is)f(met:)0 +416 y Fu(.)42 425 y Fs(&allow-other-ke)o(ys)f Fw(w)o(as)j(sp)q +(eci\014ed)h(in)e(the)i(lam)o(b)q(da-list.)0 507 y Fu(.)42 +516 y Fw(Somewhere)f(among)e(the)j(k)o(eyw)o(ord)f(argumen)o(t)f(pairs) +h(is)g(a)g(pair)g(whose)h(k)o(eyw)o(ord)f(is)42 568 y +Fs(:allow-other-ke)o(ys)d Fw(and)j(whose)g(v)n(alue)f(is)h(not)g +Fs(nil)p Fw(.)0 646 y(If)j(either)i(condition)e(obtains,)h(then)h(it)e +(is)h(not)f(an)h(error)h(for)e(an)h(argumen)o(t)f(pair)g(to)0 +698 y(matc)o(h)d(no)g(parameter)h(sp)q(eci\014ed,)h(and)e(the)i +(argumen)o(t)d(pair)h(is)h(simply)e(ignored)h(\(but)0 +750 y(suc)o(h)i(an)f(argumen)o(t)e(pair)i(is)g(accessible)h(through)f +(the)h Fs(&rest)e Fw(parameter)g(if)h(one)g(w)o(as)0 +802 y(sp)q(eci\014ed\).)21 b(The)15 b(purp)q(ose)g(of)f(these)i(mec)o +(hanisms)c(is)i(to)g(allo)o(w)f(sharing)h(of)g(argumen)o(t)0 +854 y(lists)f(among)e(sev)o(eral)j(functions)f(and)g(to)g(allo)o(w)e +(either)j(the)g(caller)f(or)g(the)h(called)f(func-)0 +906 y(tion)g(to)h(sp)q(ecify)h(that)e(suc)o(h)i(sharing)f(ma)o(y)e(b)q +(e)i(taking)f(place.)42 959 y(After)18 b(all)e(parameter)h(sp)q +(eci\014ers)j(ha)o(v)o(e)d(b)q(een)i(pro)q(cessed,)h(the)e(auxiliary)e +(v)n(ariable)0 1010 y(sp)q(eci\014ers)h(\(those)f(follo)o(wing)c(the)j +(lam)o(b)q(da-list)d(k)o(eyw)o(ord)j Fs(&aux)p Fw(\))f(are)h(pro)q +(cessed)i(from)0 1062 y(left)h(to)h(righ)o(t.)32 b(F)m(or)18 +b(eac)o(h)h(one,)h(the)f Fv(initform)f Fw(is)g(ev)n(aluated)h(and)f +(the)h(v)n(ariable)f Fv(var)0 1114 y Fw(b)q(ound)c(to)g(that)h(v)n +(alue)e(\(or)i(to)f Fs(nil)f Fw(if)h(no)g Fv(initform)f +Fw(w)o(as)h(sp)q(eci\014ed\).)21 b(Nothing)14 b(can)g(b)q(e)0 +1166 y(done)g(with)g Fs(&aux)f Fw(v)n(ariables)g(that)h(cannot)g(b)q(e) +g(done)h(with)e(the)i(sp)q(ecial)f(form)e Fs(let*)p Fw(:)0 +1259 y Fs(\(lambda)20 b(\(x)g(y)h(&aux)g(\(a)g(\(car)f(x\)\))g(\(b)h +(2\))g(c\))g(...\))64 1311 y Ft(\021)g Fs(\(lambda)f(\(x)g(y\))h +(\(let*)f(\(\(a)h(\(car)f(x\)\))h(\(b)g(2\))f(c\))h(...\)\))0 +1403 y Fw(Whic)o(h)13 b(to)h(use)h(is)f(purely)g(a)f(matter)h(of)f(st)o +(yle.)42 1456 y(Whenev)o(er)i(an)o(y)f Fv(initform)f +Fw(is)h(ev)n(aluated)g(for)g(an)o(y)g(parameter)g(sp)q(eci\014er,)h +(that)f(form)0 1508 y(ma)o(y)g(refer)j(to)e(an)o(y)h(parameter)f(v)n +(ariable)g(to)g(the)i(left)e(of)g(the)i(sp)q(eci\014er)g(in)e(whic)o(h) +h(the)0 1560 y Fv(initform)i Fw(app)q(ears,)j(including)e(an)o(y)f +(supplied-p)i(v)n(ariables,)f(and)g(ma)o(y)f(rely)h(on)g(the)0 +1612 y(fact)14 b(that)h(no)f(other)h(parameter)f(v)n(ariable)g(has)g(y) +o(et)h(b)q(een)h(b)q(ound)e(\(including)g(its)g(o)o(wn)0 +1663 y(parameter)g(v)n(ariable\).)42 1716 y(Once)21 b(the)f(lam)o(b)q +(da-list)d(has)j(b)q(een)h(pro)q(cessed,)i(the)e(forms)d(in)i(the)g(b)q +(o)q(dy)g(of)f(the)0 1768 y(lam)o(b)q(da-expression)13 +b(are)i(executed.)22 b(These)16 b(forms)d(ma)o(y)g(refer)i(to)g(the)g +(argumen)o(ts)f(to)0 1820 y(the)e(function)e(b)o(y)h(using)g(the)h +(names)e(of)g(the)i(parameters.)17 b(On)12 b(exit)f(from)e(the)i +(function,)0 1872 y(either)i(b)o(y)f(a)g(normal)f(return)i(of)f(the)h +(function's)f(v)n(alue\(s\))g(or)h(b)o(y)f(a)g(non-lo)q(cal)f(exit,)h +(the)0 1924 y(parameter)j(bindings,)g(whether)h(lexical)f(or)g(sp)q +(ecial,)h(are)g(no)f(longer)g(in)g(e\013ect.)24 b(\(The)0 +1976 y(bindings)14 b(are)g(not)g(necessarily)h(p)q(ermanen)o(tly)f +(discarded,)g(for)g(a)g(lexical)f(binding)h(can)0 2027 +y(later)i(b)q(e)h(reinstated)h(if)d(a)h(\\closure")h(o)o(v)o(er)f(that) +g(binding)g(w)o(as)g(created,)i(p)q(erhaps)f(b)o(y)0 +2079 y(using)d Fs(function)p Fw(,)d(and)j(sa)o(v)o(ed)g(b)q(efore)h +(the)f(exit)g(o)q(ccurred.\))0 2132 y(Examples)f(of)g +Fs(&optional)f Fw(and)i Fs(&rest)f Fw(parameters:)0 2225 +y Fs(\(\(lambda)20 b(\(a)g(b\))h(\(+)g(a)g(\(*)g(b)f(3\)\)\))h(4)g(5\)) +g Ft(\))f Fs(19)0 2277 y(\(\(lambda)g(\(a)g(&optional)g(\(b)g(2\)\))h +(\(+)g(a)g(\(*)f(b)h(3\)\)\))g(4)g(5\))f Ft(\))h Fs(19)0 +2329 y(\(\(lambda)f(\(a)g(&optional)g(\(b)g(2\)\))h(\(+)g(a)g(\(*)f(b)h +(3\)\)\))g(4\))f Ft(\))h Fs(10)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 86 110 +86 109 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(86)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(\(lambda)20 b(\(&optional)f(\(a)h(2)h(b\))g(\(c)g +(3)g(d\))g(&rest)f(x\))g(\(list)h(a)g(b)g(c)f(d)h(x\)\)\))64 +347 y Ft(\))f Fs(\(2)h(nil)g(3)f(nil)h(nil\))0 399 y(\(\(lambda)f +(\(&optional)f(\(a)h(2)h(b\))g(\(c)g(3)g(d\))g(&rest)f(x\))g(\(list)h +(a)g(b)g(c)f(d)h(x\)\))21 450 y(6\))64 502 y Ft(\))f +Fs(\(6)h(t)g(3)g(nil)f(nil\))0 554 y(\(\(lambda)g(\(&optional)f(\(a)h +(2)h(b\))g(\(c)g(3)g(d\))g(&rest)f(x\))g(\(list)h(a)g(b)g(c)f(d)h +(x\)\))21 606 y(6)g(3\))64 658 y Ft(\))f Fs(\(6)h(t)g(3)g(t)g(nil\))0 +710 y(\(\(lambda)f(\(&optional)f(\(a)h(2)h(b\))g(\(c)g(3)g(d\))g(&rest) +f(x\))g(\(list)h(a)g(b)g(c)f(d)h(x\)\))21 762 y(6)g(3)g(8\))64 +814 y Ft(\))f Fs(\(6)h(t)g(3)g(t)g(\(8\)\))0 866 y(\(\(lambda)f +(\(&optional)f(\(a)h(2)h(b\))g(\(c)g(3)g(d\))g(&rest)f(x\))g(\(list)h +(a)g(b)g(c)f(d)h(x\)\))21 917 y(6)g(3)g(8)g(9)g(10)g(11\))64 +969 y Ft(\))f Fs(\(6)h(t)g(3)g(t)g(\(8)g(9)g(10)f(11\)\))0 +1054 y Fw(Examples)13 b(of)g Fs(&key)g Fw(parameters:)0 +1139 y Fs(\(\(lambda)20 b(\(a)g(b)h(&key)g(c)g(d\))f(\(list)g(a)h(b)g +(c)g(d\)\))g(1)g(2\))64 1191 y Ft(\))f Fs(\(1)h(2)g(nil)f(nil\))0 +1243 y(\(\(lambda)g(\(a)g(b)h(&key)g(c)g(d\))f(\(list)g(a)h(b)g(c)g +(d\)\))g(1)g(2)g(:c)g(6\))64 1295 y Ft(\))f Fs(\(1)h(2)g(6)g(nil\))0 +1347 y(\(\(lambda)f(\(a)g(b)h(&key)g(c)g(d\))f(\(list)g(a)h(b)g(c)g +(d\)\))g(1)g(2)g(:d)g(8\))64 1399 y Ft(\))f Fs(\(1)h(2)g(nil)f(8\))0 +1451 y(\(\(lambda)g(\(a)g(b)h(&key)g(c)g(d\))f(\(list)g(a)h(b)g(c)g +(d\)\))g(1)g(2)g(:c)g(6)g(:d)f(8\))64 1503 y Ft(\))g +Fs(\(1)h(2)g(6)g(8\))0 1555 y(\(\(lambda)f(\(a)g(b)h(&key)g(c)g(d\))f +(\(list)g(a)h(b)g(c)g(d\)\))g(1)g(2)g(:d)g(8)g(:c)f(6\))64 +1606 y Ft(\))g Fs(\(1)h(2)g(6)g(8\))0 1658 y(\(\(lambda)f(\(a)g(b)h +(&key)g(c)g(d\))f(\(list)g(a)h(b)g(c)g(d\)\))g(:a)g(1)g(:d)f(8)h(:c)g +(6\))64 1710 y Ft(\))f Fs(\(:a)h(1)g(6)g(8\))0 1762 y(\(\(lambda)f(\(a) +g(b)h(&key)g(c)g(d\))f(\(list)g(a)h(b)g(c)g(d\)\))g(:a)g(:b)f(:c)h +(:d\))64 1814 y Ft(\))f Fs(\(:a)h(:b)g(:d)f(nil\))0 1899 +y Fw(Examples)13 b(of)g(mixtures:)0 1984 y Fs(\(\(lambda)20 +b(\(a)g(&optional)g(\(b)g(3\))h(&rest)f(x)h(&key)g(c)g(\(d)f(a\)\))64 +2036 y(\(list)g(a)h(b)g(c)g(d)g(x\)\))21 2088 y(1\))g +Ft(\))g Fs(\(1)f(3)h(nil)g(1)g(\(\)\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 87 111 +87 110 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PROGRAM)11 b(STRUCTURE)933 +b(87)0 295 y Fs(\(\(lambda)20 b(\(a)g(&optional)g(\(b)g(3\))h(&rest)f +(x)h(&key)g(c)g(\(d)f(a\)\))64 347 y(\(list)g(a)h(b)g(c)g(d)g(x\)\))21 +399 y(1)g(2\))g Ft(\))g Fs(\(1)f(2)h(nil)g(1)g(\(\)\))0 +502 y(\(\(lambda)f(\(a)g(&optional)g(\(b)g(3\))h(&rest)f(x)h(&key)g(c)g +(\(d)f(a\)\))64 554 y(\(list)g(a)h(b)g(c)g(d)g(x\)\))21 +606 y(:c)g(7\))g Ft(\))f Fs(\(:c)h(7)g(nil)f(:c)h(\(\)\))0 +710 y(\(\(lambda)f(\(a)g(&optional)g(\(b)g(3\))h(&rest)f(x)h(&key)g(c)g +(\(d)f(a\)\))64 762 y(\(list)g(a)h(b)g(c)g(d)g(x\)\))21 +814 y(1)g(6)g(:c)g(7\))g Ft(\))f Fs(\(1)h(6)g(7)g(1)g(\(:c)f(7\)\))0 +917 y(\(\(lambda)g(\(a)g(&optional)g(\(b)g(3\))h(&rest)f(x)h(&key)g(c)g +(\(d)f(a\)\))64 969 y(\(list)g(a)h(b)g(c)g(d)g(x\)\))21 +1021 y(1)g(6)g(:d)g(8\))g Ft(\))f Fs(\(1)h(6)g(nil)g(8)g(\(:d)f(8\)\))0 +1125 y(\(\(lambda)g(\(a)g(&optional)g(\(b)g(3\))h(&rest)f(x)h(&key)g(c) +g(\(d)f(a\)\))64 1177 y(\(list)g(a)h(b)g(c)g(d)g(x\)\))21 +1229 y(1)g(6)g(:d)g(8)g(:c)g(9)g(:d)f(10\))h Ft(\))g +Fs(\(1)f(6)h(9)g(8)g(\(:d)g(8)g(:c)f(9)h(:d)g(10\)\))42 +1311 y Fw(All)11 b(lam)o(b)q(da-list)f(k)o(eyw)o(ords)j(are)h(p)q +(ermitted,)e(but)h(not)f(terribly)h(useful,)g(in)f(lam)o(b)q(da-)0 +1363 y(expressions)18 b(app)q(earing)f(explicitly)e(as)i(the)g(\014rst) +h(elemen)o(t)e(of)g(a)g(function-call)g(form.)0 1415 +y(They)11 b(are)f(extremely)g(useful,)h(ho)o(w)o(ev)o(er,)g(in)f +(functions)g(giv)o(en)g(global)f(names)g(b)o(y)h Fs(defun)p +Fw(.)42 1467 y(All)j(sym)o(b)q(ols)h(whose)h(names)f(b)q(egin)h(with)f +Fs(&)g Fw(are)i(con)o(v)o(en)o(tionally)d(reserv)o(ed)k(for)d(use)0 +1519 y(as)d(lam)o(b)q(da-li)o(st)e(k)o(eyw)o(ords)h(and)h(should)f(not) +h(b)q(e)g(used)h(as)f(v)n(ariable)e(names.)16 b(Implemen-)0 +1571 y(tations)e(of)f(Common)d(Lisp)k(are)h(free)f(to)g(pro)o(vide)g +(additional)e(lam)o(b)q(da-li)o(st)g(k)o(eyw)o(ords.)1204 +1682 y([)p Fv(Constant)t Fw(])-1395 b Fs(lambda-list-keywo)o(rds)0 +1759 y Fw(The)23 b(v)n(alue)e(of)h Fs(lambda-list-keyw)o(ords)d +Fw(is)j(a)g(list)f(of)h(all)f(the)i(lam)o(b)q(da-li)o(st)d(k)o(ey-)0 +1811 y(w)o(ords)e(used)h(in)e(the)i(implemen)o(tatio)o(n,)d(including)h +(the)h(additional)e(ones)j(used)g(only)0 1863 y(b)o(y)14 +b Fs(defmacro)p Fw(.)i(This)e(list)f(m)o(ust)g(con)o(tain)g(at)h(least) +g(the)g(sym)o(b)q(ols)f Fs(&optional)p Fw(,)e Fs(&rest)p +Fw(,)0 1915 y Fs(&key)p Fw(,)i Fs(&allow-other-ke)o(ys)p +Fw(,)d Fs(&aux)p Fw(,)j Fs(&body)p Fw(,)f Fs(&whole)p +Fw(,)g(and)i Fs(&environment)p Fw(.)42 1987 y(As)e(an)h(example)e(of)h +(the)h(use)g(of)f Fs(&allow-other-key)o(s)e Fw(and)i +Fs(:allow-other-key)o(s)p Fw(,)0 2039 y(consider)19 b(a)f(function)g +(that)h(tak)o(es)f(t)o(w)o(o)g(k)o(eyw)o(ord)h(argumen)o(ts)e(of)h(its) +g(o)o(wn)g(and)g(also)0 2090 y(accepts)e(additional)c(k)o(eyw)o(ord)h +(argumen)o(ts)h(to)f(b)q(e)i(passed)g(to)e Fs(make-array)p +Fw(:)0 2173 y Fs(\(defun)20 b(array-of-strings)e(\(str)i(dims)g(&rest)h +(keyword-pairs)529 2225 y(&key)g(\(start)f(0\))g(end)h +(&allow-other-keys)o(\))42 2277 y(\(apply)f(#)194 2273 +y(-)194 2281 y(-)n Fn(')237 2277 y Fs(make-array)f(dims)191 +2329 y(:initial-elemen)o(t)f(\(subseq)i(str)h(start)f(end\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 88 112 +88 111 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(88)77 b(COMMON)13 +b(LISP)191 295 y Fs(:allow-other-ke)o(ys)18 b(t)191 347 +y(keyword-pairs\)\))0 432 y Fw(This)h(function)g(tak)o(es)h(a)f(string) +g(and)g(dimensioning)e(information)f(and)j(returns)i(an)0 +484 y(arra)o(y)9 b(of)g(the)h(sp)q(eci\014ed)h(dimensions,)d(eac)o(h)i +(of)f(whose)h(elemen)o(ts)f(is)g(the)h(sp)q(eci\014ed)h(string.)0 +536 y(Ho)o(w)o(ev)o(er,)21 b Fs(:start)e Fw(and)h Fs(:end)f +Fw(k)o(eyw)o(ord)h(argumen)o(ts)f(ma)o(y)f(b)q(e)i(used)h(in)e(the)i +(usual)0 588 y(manner)12 b(\(see)i(c)o(hapter)g(14\))e(to)h(sp)q(ecify) +g(that)g(a)f(substring)h(of)g(the)g(giv)o(en)f(string)h(should)0 +640 y(b)q(e)i(used.)21 b(In)14 b(addition,)f(the)j(presence)h(of)c +Fs(&allow-other-keys)e Fw(in)j(the)i(lam)o(b)q(da-li)o(st)0 +692 y(indicates)11 b(that)g(the)g(caller)f(ma)o(y)f(sp)q(ecify)i +(additional)e(k)o(eyw)o(ord)h(argumen)o(ts;)h(the)g Fs(&rest)0 +744 y Fw(argumen)o(t)j(pro)o(vides)h(access)i(to)e(them.)20 +b(These)c(additional)d(k)o(eyw)o(ord)i(argumen)o(ts)f(are)0 +795 y(fed)g(to)g Fs(make-array)p Fw(.)j(No)o(w,)d Fs(make-array)e +Fw(normally)f(do)q(es)k(not)f(allo)o(w)f(the)h(k)o(eyw)o(ords)0 +847 y Fs(:start)c Fw(and)h Fs(:end)g Fw(to)g(b)q(e)h(used,)h(and)e(it)g +(w)o(ould)g(b)q(e)h(an)f(error)h(to)g(sp)q(ecify)g(suc)o(h)g(k)o(eyw)o +(ord)0 899 y(argumen)o(ts)e(to)g Fs(make-array)p Fw(.)15 +b(Ho)o(w)o(ev)o(er,)c(the)g(presence)i(in)d(the)h(call)f(to)g +Fs(make-array)e Fw(of)0 951 y(the)15 b(k)o(eyw)o(ord)f(argumen)o(t)e +Fs(:allow-other-keys)f Fw(with)j(a)f(non-)p Fs(nil)g +Fw(v)n(alue)h(causes)h(an)o(y)0 1003 y(extraneous)f(k)o(eyw)o(ord)g +(argumen)o(ts,)e(including)g Fs(:start)g Fw(and)h Fs(:end)p +Fw(,)f(to)h(b)q(e)h(acceptable)0 1055 y(and)g(ignored.)1204 +1184 y([)p Fv(Constant)t Fw(])-1395 b Fs(lambda-parameters)o(-limi)o(t) +0 1261 y Fw(The)11 b(v)n(alue)f(of)g Fs(lambda-parameters-)o(limit)d +Fw(is)j(a)h(p)q(ositiv)o(e)f(in)o(teger)h(that)g(is)f(the)i(upp)q(er)0 +1313 y(exclusiv)o(e)h(b)q(ound)g(on)f(the)h(n)o(um)o(b)q(er)f(of)g +(distinct)h(parameter)f(names)g(that)h(ma)o(y)d(app)q(ear)0 +1365 y(in)k(a)h(single)g(lam)o(b)q(da-li)o(st.)k(This)c(b)q(ound)g(dep) +q(ends)h(on)f(the)h(implem)o(en)o(tation)c(but)j(will)0 +1417 y(not)h(b)q(e)g(smaller)f(than)h(50.)24 b(Implemen)o(tors)14 +b(are)i(encouraged)h(to)f(mak)o(e)e(this)i(limit)e(as)0 +1469 y(large)j(as)f(practicable)i(without)e(sacri\014cing)h(p)q +(erformance.)27 b(See)18 b Fs(call-arguments-)0 1520 +y(limit)p Fw(.)0 1672 y Fo(5.3.)i(T)-5 b(op-Lev)n(el)14 +b(F)-5 b(orms)0 1758 y Fw(The)10 b(standard)f(w)o(a)o(y)g(for)g(the)h +(user)g(to)f(in)o(teract)h(with)f(a)g(Common)d(Lisp)j(implemen)o +(tation)0 1810 y(is)16 b(via)f(a)h Fv(r)n(e)n(ad-eval-print)g(lo)n(op)p +Fw(:)22 b(the)17 b(system)f(rep)q(eatedly)h(reads)g(a)f(form)e(from)h +(some)0 1862 y(input)f(source)h(\(suc)o(h)g(as)f(a)g(k)o(eyb)q(oard)g +(or)g(a)g(disk)g(\014le\),)g(ev)n(aluates)g(it,)f(and)h(then)g(prin)o +(ts)0 1914 y(the)e(v)n(alue\(s\))e(to)h(some)f(output)h(sink)g(\(suc)o +(h)h(as)f(a)f(displa)o(y)g(screen)j(or)e(another)g(disk)g(\014le\).)0 +1965 y(An)o(y)g(form)e(\(ev)n(aluable)i(data)f(ob)r(ject\))i(is)f +(acceptable;)i(ho)o(w)o(ev)o(er,)e(certain)h(sp)q(ecial)f(forms)0 +2017 y(are)f(sp)q(eci\014cally)g(designed)g(to)g(b)q(e)g(con)o(v)o +(enien)o(t)g(for)g(use)g(as)g Fv(top-level)f Fw(forms,)g(rather)i(than) +0 2069 y(as)j(forms)e(em)o(b)q(edded)i(within)f(other)h(forms)f(in)g +(the)h(w)o(a)o(y)f(that)h Fs(\(+)21 b(3)g(4\))13 b Fw(is)h(em)o(b)q +(edded)0 2121 y(within)20 b Fs(\(if)g(p)h(\(+)g(3)g(4\))g(6\))p +Fw(.)38 b(These)21 b(top-lev)o(el)f(sp)q(ecial)h(forms)f(ma)o(y)e(b)q +(e)j(used)h(to)0 2173 y(de\014ne)15 b(globally)d(named)h(functions,)h +(to)g(de\014ne)h(macros,)e(to)h(mak)o(e)f(declarations,)h(and)0 +2225 y(to)g(de\014ne)h(global)d(v)n(alues)h(for)h(sp)q(ecial)g(v)n +(ariables.)42 2277 y(It)h(is)h(not)g(illegal)e(to)i(use)g(these)i +(forms)c(at)i(other)g(than)g(top)g(lev)o(el,)g(but)g(whether)h(it)-38 +2252 y Fk(.)-38 2265 y(.)-38 2278 y(.)-38 2291 y(.)-38 +2304 y(.)-38 2317 y(.)-38 2330 y(.)-38 2343 y(.)-38 2356 +y(.)-38 2369 y(.)-38 2382 y(.)-38 2395 y(.)-38 2408 y(.)-38 +2420 y(.)-38 2433 y(.)-38 2446 y(.)-38 2459 y(.)-38 2472 +y(.)-38 2485 y(.)-38 2498 y(.)-38 2511 y(.)-38 2524 y(.)-38 +2537 y(.)-38 2550 y(.)-38 2563 y(.)-38 2576 y(.)-38 2589 +y(.)-38 2602 y(.)-38 2615 y(.)-38 2628 y(.)-38 2641 y(.)-38 +2654 y(.)-38 2667 y(.)-38 2680 y(.)-38 2693 y(.)-38 2706 +y(.)-38 2719 y(.)-38 2732 y(.)-38 2745 y(.)-38 2758 y(.)-38 +2771 y(.)-38 2784 y(.)-38 2797 y(.)-38 2810 y(.)-38 2823 +y(.)-38 2836 y(.)-38 2849 y(.)-38 2862 y(.)-38 2875 y(.)-38 +2887 y(.)-38 2900 y(.)-38 2913 y(.)-38 2926 y(.)-38 2939 +y(.)-38 2952 y(.)-38 2965 y(.)-38 2978 y(.)-38 2991 y(.)-38 +3004 y(.)-38 3017 y(.)-38 3030 y(.)-38 3043 y(.)-38 3056 +y(.)-38 3069 y(.)-38 3082 y(.)-38 3095 y(.)-38 3108 y(.)-38 +3121 y(.)-38 3134 y(.)-38 3147 y(.)-38 3160 y(.)-38 3173 +y(.)-38 3186 y(.)-38 3199 y(.)-38 3212 y(.)-38 3225 y(.)-38 +3238 y(.)-38 3251 y(.)-38 3264 y(.)-38 3277 y(.)-38 3290 +y(.)-38 3303 y(.)-38 3316 y(.)-38 3329 y(.)-38 3342 y(.)-38 +3354 y(.)-38 3367 y(.)-38 3380 y(.)-38 3393 y(.)-38 3406 +y(.)-38 3419 y(.)-38 3432 y(.)-38 3445 y(.)-38 3458 y(.)-38 +3471 y(.)-38 3484 y(.)-38 3497 y(.)-38 3510 y(.)-38 3523 +y(.)-38 3536 y(.)-38 3549 y(.)-38 3562 y(.)-38 3575 y(.)-38 +3588 y(.)-38 3601 y(.)-38 3614 y(.)-38 3627 y(.)-38 3640 +y(.)-38 3653 y(.)-38 3666 y(.)-38 3679 y(.)-38 3692 y(.)-38 +3705 y(.)-38 3718 y(.)-38 3731 y(.)-38 3744 y(.)-38 3757 +y(.)-38 3770 y(.)-38 3783 y(.)-38 3796 y(.)-38 3809 y(.)-38 +3821 y(.)-38 3834 y(.)-38 3847 y(.)-38 3860 y(.)-38 3873 +y(.)-38 3886 y(.)-38 3899 y(.)-38 3912 y(.)-38 3925 y(.)-38 +3938 y(.)-38 3951 y(.)-38 3964 y(.)-38 3977 y(.)-38 3990 +y(.)-38 4003 y(.)-38 4016 y(.)-38 4029 y(.)-38 4042 y(.)-38 +4055 y(.)-38 4068 y(.)-38 4081 y(.)-38 4094 y(.)-38 4107 +y(.)-38 4120 y(.)-38 4133 y(.)-38 4146 y(.)-38 4159 y(.)-38 +4172 y(.)-38 4185 y(.)-38 4198 y(.)-38 4211 y(.)-38 4224 +y(.)-38 4237 y(.)-38 4250 y(.)-38 4263 y(.)-38 4276 y(.)-38 +4288 y(.)-38 4301 y(.)-38 4314 y(.)-38 4327 y(.)-38 4340 +y(.)-38 4353 y(.)-38 4366 y(.)-38 4379 y(.)-38 4392 y(.)-38 +4405 y(.)-38 4418 y(.)-38 4431 y(.)-38 4444 y(.)-38 4457 +y(.)-38 4470 y(.)-38 4483 y(.)-38 4496 y(.)-38 4509 y(.)-38 +4522 y(.)-38 4535 y(.)-38 4548 y(.)-38 4561 y(.)-38 4574 +y(.)-38 4587 y(.)-38 4600 y(.)-38 4613 y(.)-38 4626 y(.)-38 +4639 y(.)-38 4652 y(.)-38 4665 y(.)-38 4678 y(.)-38 4691 +y(.)-38 4704 y(.)-38 4717 y(.)-38 4730 y(.)-38 4743 y(.)-38 +4755 y(.)-38 4768 y(.)-38 4781 y(.)-38 4794 y(.)-38 4807 +y(.)-38 4820 y(.)-38 4833 y(.)0 2329 y Fw(is)d(meaningful)d(to)j(do)g +(so)g(dep)q(ends)i(on)e(con)o(text.)19 b(Compilers,)13 +b(for)g(example,)g(ma)o(y)f(not)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 89 113 +89 112 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(PROGRAM)11 b(STRUCTURE)933 b(89)0 295 y Fw(recognize)14 +b(these)h(forms)d(prop)q(erly)h(in)g(other)g(than)g(top-lev)o(el)g(con) +o(texts.)19 b(\(As)14 b(a)e(sp)q(ecial)0 347 y(case,)h(ho)o(w)o(ev)o +(er,)f(if)f(a)h Fs(progn)f Fw(form)f(app)q(ears)j(at)f(top)g(lev)o(el,) +f(then)i(all)e(forms)f(within)i(that)0 399 y Fs(progn)h +Fw(are)h(considered)h(b)o(y)f(the)h(compiler)d(to)i(b)q(e)g(top-lev)o +(el)g(forms.\))-33 410 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1934 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 90 114 +90 113 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(90)77 b(COMMON)13 +b(LISP)42 295 y Fw(X3J13)h(v)o(oted)i(in)f(Marc)o(h)g(1989)f +Ft(h)p Fw(50)p Ft(i)h Fw(to)h(clarify)e(that,)h(while)g(de\014ning)g +(forms)f(nor-)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(mally)j(app)q(ear)j(at)f(top)h(lev)o(el,)g(it)f +(is)h(meaningful)d(to)i(place)h(them)e(in)i(non-top-lev)o(el)0 +399 y(con)o(texts.)38 b(All)19 b(de\014ning)h(forms)f(that)h(create)h +(functional)f(ob)r(jects)h(from)d(co)q(de)j(ap-)0 450 +y(p)q(earing)12 b(as)g(argumen)o(t)e(forms)g(m)o(ust)h(ensure)j(that)d +(suc)o(h)i(argumen)o(t)d(forms)h(refer)i(to)e(the)0 502 +y(enclosing)g(lexical)f(en)o(vironmen)o(t.)16 b(Compilers)9 +b(m)o(ust)h(handle)g(de\014ning)h(forms)e(prop)q(erly)0 +554 y(in)16 b(all)g(situations,)h(not)f(just)h(top-lev)o(el)f(con)o +(texts.)28 b(Ho)o(w)o(ev)o(er,)17 b(certain)h(compile-tim)o(e)0 +606 y(side)11 b(e\013ects)i(of)e(these)h(de\014ning)f(forms)e(are)j(p)q +(erformed)e(only)g(when)i(the)f(de\014ning)g(forms)0 +658 y(o)q(ccur)k(at)f(top)f(lev)o(el)h(\(see)h(section)g(25.1\).)-33 +670 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 718 V 0 778 a Fm(Compatibilit)o(y)e(note:)19 +b FA(In)13 b(MacLisp,)i(a)f(top-lev)o(el)i Fj(progn)11 +b FA(is)k(considered)h(to)d(con)o(tain)j(top-)0 824 y(lev)o(el)11 +b(forms)e(only)h(if)g(the)f(\014rst)h(form)f(is)h Fj(\(quote)16 +b(compile\))p FA(.)c(This)e(o)q(dd)g(mark)o(er)g(is)g(unnecessary)0 +869 y(in)k(Common)f(Lisp.)p 0 901 V 42 966 a Fw(Macros)d(are)h(usually) +e(de\014ned)i(b)o(y)f(using)g(the)h(sp)q(ecial)f(form)e +Fs(defmacro)p Fw(.)15 b(This)10 b(facilit)o(y)0 1018 +y(is)k(fairly)e(complicated;)g(it)i(is)g(describ)q(ed)h(in)f(c)o +(hapter)h(8.)0 1149 y Fo(5.3.1.)20 b(De\014ning)14 b(Named)g(F)-5 +b(unctions)0 1229 y Fw(The)14 b Fs(defun)f Fw(sp)q(ecial)h(form)e(is)i +(the)h(usual)e(means)g(of)h(de\014ning)f(named)g(functions.)1255 +1341 y([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(defun)34 b Fv(name)15 +b(lamb)n(da-list)21 b Fw([)-7 b([)13 b Ft(f)p Fv(de)n(clar)n(ation)p +Ft(g)741 1326 y Fl(\003)781 1341 y Ft(j)i Fv(do)n(c-string)7 +b Fw(])-7 b(])27 b Ft(f)7 b Fv(form)p Ft(g)1172 1326 +y Fl(\003)0 1417 y Fw(Ev)n(aluating)k(a)h Fs(defun)g +Fw(form)f(causes)j(the)f(sym)o(b)q(ol)e Fv(name)i Fw(to)f(b)q(e)h(a)g +(global)d(name)i(for)g(the)0 1469 y(function)i(sp)q(eci\014ed)h(b)o(y)f +(the)g(lam)o(b)q(da-expression)0 1552 y Fs(\(lambda)20 +b Fv(lamb)n(da-list)27 b Ft(f)p Fv(de)n(clar)n(ation)14 +b Ft(j)h Fv(do)n(c)p Fs(-)p Fv(string)t Ft(g)865 1537 +y Fl(\003)918 1552 y Ft(f)7 b Fv(form)s Ft(g)1056 1537 +y Fl(\003)1081 1552 y Fs(\))0 1634 y Fw(de\014ned)20 +b(in)f(the)g(lexical)f(en)o(vironmen)o(t)g(in)h(whic)o(h)g(the)g +Fs(defun)f Fw(form)f(w)o(as)i(executed.)0 1686 y(Because)e +Fs(defun)e Fw(forms)f(normally)f(app)q(ear)j(at)f(top)h(lev)o(el,)f +(this)g(is)h(normally)d(the)j(n)o(ull)0 1738 y(lexical)d(en)o(vironmen) +o(t.)42 1790 y(X3J13)h(v)o(oted)i(in)f(Marc)o(h)g(1989)f +Ft(h)p Fw(50)p Ft(i)h Fw(to)h(clarify)e(that,)h(while)g(de\014ning)g +(forms)f(nor-)-33 1762 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1842 a(mally)j(app)q(ear)j(at)f(top)h(lev)o(el,)g(it)f +(is)h(meaningful)d(to)i(place)h(them)e(in)i(non-top-lev)o(el)0 +1894 y(con)o(texts;)13 b Fs(defun)f Fw(m)o(ust)f(de\014ne)j(the)f +(function)f(within)f(the)i(enclosing)g(lexical)e(en)o(viron-)0 +1946 y(men)o(t,)h(not)i(within)f(the)i(n)o(ull)e(lexical)g(en)o +(vironmen)o(t.)-33 1957 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1998 a(X3J13)i(v)o(oted)g(in)h(Marc)o(h)f(1989)g +Ft(h)p Fw(89)p Ft(i)g Fw(to)h(extend)g Fs(defun)f Fw(to)g(accept)i(an)o +(y)e(function-)-33 1969 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2050 a(name)c(\(a)i(sym)o(b)q(ol)d(or)j(a)f(list)g +(whose)h Fv(c)n(ar)g Fw(is)f Fs(setf)p Fw(|see)g(section)i(7.1\))d(as)i +(a)f Fv(name)p Fw(.)18 b(Th)o(us)0 2101 y(one)c(ma)o(y)e(write)0 +2184 y Fs(\(defun)20 b(\(setf)g(cadr\))g(...\))0 2267 +y Fw(to)13 b(de\014ne)h(a)f Fs(setf)f Fw(expansion)i(function)e(for)h +Fs(cadr)g Fw(\(although)f(it)h(ma)o(y)e(b)q(e)j(m)o(uc)o(h)e(more)0 +2318 y(con)o(v)o(enien)o(t)i(to)g(use)h Fs(defsetf)d +Fw(or)i Fs(define-modify-mac)o(ro)p Fw(\).)-33 2330 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 14 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 91 115 +91 114 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PROGRAM)11 b(STRUCTURE)933 +b(91)42 295 y Fw(If)9 b(the)h(optional)e(do)q(cumen)o(tation)h(string)g +Fv(do)n(c-string)h Fw(is)f(presen)o(t,)j(then)e(it)g(is)f(attac)o(hed)0 +347 y(to)i(the)h Fv(name)g Fw(as)f(a)g(do)q(cumen)o(tation)f(string)h +(of)g(t)o(yp)q(e)h Fs(function)p Fw(;)d(see)k Fs(documentation)p +Fw(.)0 399 y(If)f Fv(do)n(c-string)f Fw(is)h(not)g(follo)o(w)o(ed)e(b)o +(y)i(a)g(declaration,)f(it)h(ma)o(y)e(b)q(e)j(presen)o(t)g(only)f(if)f +(at)h(least)0 450 y(one)i Fv(form)f Fw(is)g(also)g(sp)q(eci\014ed,)h +(as)g(it)f(is)h(otherwise)g(tak)o(en)g(to)f(b)q(e)h(a)f +Fv(form)p Fw(.)18 b(It)13 b(is)h(an)f(error)0 502 y(if)g(more)g(than)h +(one)g Fv(do)n(c-string)f Fw(is)h(presen)o(t.)42 556 +y(The)i Fv(forms)f Fw(constitute)i(the)g(b)q(o)q(dy)f(of)g(the)g +(de\014ned)h(function;)g(they)f(are)h(executed)0 608 +y(as)d(an)g(implicit)d Fs(progn)p Fw(.)42 662 y(The)h(b)q(o)q(dy)f(of)g +(the)h(de\014ned)h(function)e(is)h(implicitly)c(enclosed)13 +b(in)e(a)h Fs(block)e Fw(construct)0 713 y(whose)j(name)f(is)g(the)h +(same)f(as)g(the)i Fv(name)f Fw(of)f(the)h(function.)k(Therefore)d +Fs(return-from)0 765 y Fw(ma)o(y)e(b)q(e)i(used)h(to)f(exit)g(from)e +(the)i(function.)42 819 y(Other)e(implem)o(en)o(tation-dep)q(enden)o(t) +e(b)q(o)q(okk)o(eeping)g(actions)h(ma)o(y)e(b)q(e)i(tak)o(en)g(as)g(w)o +(ell)0 871 y(b)o(y)g Fs(defun)p Fw(.)17 b(The)12 b Fv(name)g +Fw(is)f(returned)i(as)f(the)g(v)n(alue)f(of)g(the)h Fs(defun)f +Fw(form.)k(F)m(or)c(example:)0 974 y Fs(\(defun)20 b(discriminant)f +(\(a)h(b)h(c\))42 1026 y(\(declare)f(\(number)g(a)h(b)g(c\)\))42 +1078 y("Compute)f(the)g(discriminant)f(for)i(a)g(quadratic)e(equation.) +64 1130 y(Given)h(a,)g(b,)h(and)g(c,)f(the)h(value)f(b)711 +1134 y Fn(^)734 1130 y Fs(2-4*a*c)g(is)h(calculated.)64 +1182 y(The)f(quadratic)f(equation)h(a*x)627 1186 y Fn(^)649 +1182 y Fs(2+b*x+c)803 1178 y(U)803 1186 y(U)824 1182 +y(0)h(has)f(real,)g(multiple,)64 1234 y(or)g(complex)g(roots)g +(depending)f(on)i(whether)f(this)g(calculated)64 1286 +y(value)g(is)g(positive,)g(zero,)g(or)h(negative,)e(respectively.")42 +1338 y(\(-)i(\(*)g(b)g(b\))g(\(*)f(4)h(a)g(c\)\)\))64 +1389 y Ft(\))f Fs(discriminant)64 1441 y Fw(and)13 b(no)o(w)21 +b Fs(\(discriminant)e(1)h(2/3)h(-2\))g Ft(\))f Fs(76/9)42 +1543 y Fw(The)g(do)q(cumen)o(tation)e(string)i(in)f(this)h(example)f +(neglects)i(to)e(men)o(tion)f(that)i(the)-33 1514 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1595 a(co)q(e\016cien)o(ts)d Fs(a)p Fw(,)d +Fs(b)p Fw(,)h(and)h Fs(c)f Fw(m)o(ust)f(b)q(e)i(real)f(for)g(the)h +(discrimination)d(criterion)j(to)f(hold.)0 1647 y(Here)g(is)f(an)g +(impro)o(v)o(ed)e(v)o(ersion:)42 1750 y Fs("Compute)20 +b(the)g(discriminant)f(for)i(a)g(quadratic)e(equation.)64 +1802 y(Given)h(a,)g(b,)h(and)g(c,)f(the)h(value)f(b)711 +1806 y Fn(^)734 1802 y Fs(2-4*a*c)g(is)h(calculated.)64 +1854 y(If)f(the)h(coefficients)e(a,)h(b,)h(and)g(c)g(are)f(all)h(real)f +(\(that)g(is,)64 1906 y(not)g(complex\),)f(then)i(the)f(quadratic)g +(equation)f(a*x)1039 1910 y Fn(^)1062 1906 y Fs(2+b*x+c)1216 +1902 y(U)1216 1910 y(U)1236 1906 y(0)64 1957 y(has)h(real,)g(multiple,) +g(or)g(complex)g(roots)g(depending)f(on)64 2009 y(whether)g(this)i +(calculated)e(value)h(is)h(positive,)e(zero,)h(or)64 +2061 y(negative,)f(respectively.")-33 2077 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2163 a Fw(It)c(is)f(p)q(ermissible)h(to)g(use)g +Fs(defun)f Fw(to)h(rede\014ne)i(a)e(function,)f(to)h(install)f(a)g +(corrected)0 2215 y(v)o(ersion)j(of)g(an)g(incorrect)h(de\014nition,)f +(for)g(example.)26 b(It)18 b(is)f(p)q(ermissible)f(to)h(rede\014ne)0 +2267 y(a)g(macro)f(as)h(a)g(function.)28 b(It)17 b(is)g(an)g(error)h +(to)f(attempt)g(to)g(rede\014ne)i(the)e(name)f(of)h(a)0 +2318 y(sp)q(ecial)d(form)e(\(see)k(table)d(5-1\))h(as)g(a)f(function.) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 92 116 +92 115 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(92)77 b(COMMON)13 +b(LISP)0 295 y Fo(5.3.2.)20 b(Declaring)14 b(Global)g(V)-5 +b(ariables)15 b(and)h(Named)d(Constan)n(ts)0 375 y Fw(The)d +Fs(defvar)f Fw(and)h Fs(defparameter)d Fw(sp)q(ecial)j(forms)f(are)h +(the)h(usual)e(means)g(of)h(sp)q(ecifying)0 427 y(globally)h(de\014ned) +j(v)n(ariables.)j(The)d Fs(defconstant)c Fw(sp)q(ecial)k(form)d(is)i +(used)h(for)f(de\014ning)0 479 y(named)g(constan)o(ts.)1255 +592 y([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(defvar)34 b Fv(name)22 +b Fw([)p Fv(initial-value)f Fw([)p Fv(do)n(cumentation)p +Fw(])7 b(])1255 644 y([)p Fv(Macr)n(o)s Fw(])-1396 b +Fs(defparameter)33 b Fv(name)15 b(initial-value)21 b +Fw([)p Fv(do)n(cumentation)p Fw(])1255 696 y([)p Fv(Macr)n(o)s +Fw(])-1396 b Fs(defconstant)33 b Fv(name)15 b(initial-value)21 +b Fw([)p Fv(do)n(cumentation)p Fw(])0 773 y Fs(defvar)14 +b Fw(is)g(the)i(recommended)e(w)o(a)o(y)g(to)g(declare)i(the)f(use)h +(of)e(a)h(sp)q(ecial)g(v)n(ariable)f(in)g(a)0 825 y(program.)0 +908 y Fs(\(defvar)20 b Fv(variable)p Fs(\))0 991 y Fw(pro)q(claims)e +Fv(variable)h Fw(to)g(b)q(e)h Fs(special)e Fw(\(see)j +Fs(proclaim)p Fw(\),)e(and)g(ma)o(y)e(p)q(erform)i(other)0 +1042 y(system-dep)q(enden)o(t)c(b)q(o)q(okk)o(eeping)f(actions.)42 +1094 y(X3J13)k(v)o(oted)h(in)f(June)h(1987)f Ft(h)p Fw(61)p +Ft(i)g Fw(to)h(clarify)e(that)i(if)f(no)g Fv(initial-value)g +Fw(form)f(is)-33 1066 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1146 a(pro)o(vided,)c Fs(defvar)e Fw(do)q(es)j(not)f(c)o +(hange)g(the)h(v)n(alue)e(of)h(the)g Fv(variable)p Fw(;)g(if)f(no)g +Fv(initial-value)0 1198 y Fw(form)17 b(is)h(pro)o(vided)h(and)f(the)h +(v)n(ariable)e(has)i(no)f(v)n(alue,)h Fs(defvar)e Fw(do)q(es)i(not)g +(giv)o(e)f(it)g(a)0 1250 y(v)n(alue.)-33 1262 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1302 a(If)13 b(a)h(second)h(argumen)o(t)d(form)g(is)i +(supplied,)0 1385 y Fs(\(defvar)20 b Fv(variable)g(initial-value)p +Fs(\))0 1468 y Fw(then)f Fv(variable)e Fw(is)h(initialized)e(to)i(the)g +(result)h(of)e(ev)n(aluating)g(the)h(form)e Fv(initial-value)0 +1519 y Fw(unless)e(it)e(already)h(has)g(a)g(v)n(alue.)k(The)c +Fv(initial-value)g Fw(form)e(is)i(not)g(ev)n(aluated)f(unless)i(it)0 +1571 y(is)d(used;)h(this)f(fact)g(is)g(useful)g(if)f(ev)n(aluation)f +(of)i(the)g Fv(initial-value)f Fw(form)f(do)q(es)j(something)0 +1623 y(exp)q(ensiv)o(e)j(lik)o(e)e(creating)h(a)g(large)g(data)f +(structure.)42 1675 y(X3J13)e(v)o(oted)i(in)e(June)i(1987)e +Ft(h)p Fw(60)p Ft(i)h Fw(to)g(clarify)f(that)i(ev)n(aluation)d(of)i +(the)g Fv(initial-value)-33 1647 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1727 a Fw(and)j(the)i(initialization)c(of)i(the)h(v)n +(ariable)e(o)q(ccur,)j(if)e(at)g(all,)g(at)g(the)h(time)f(the)h +Fs(defvar)0 1779 y Fw(form)f(is)i(executed,)i(and)e(that)g(the)h +Fv(initial-value)e Fw(form)g(is)g(ev)n(aluated)h(if)f(and)h(only)g(if)0 +1831 y(the)d Fv(variable)g Fw(do)q(es)h(not)e(already)h(ha)o(v)o(e)g(a) +f(v)n(alue.)-33 1842 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1883 a(The)d(initialization)c(is)k(p)q(erformed)f(b)o +(y)g(assignmen)o(t)g(and)g(th)o(us)h(assigns)g(a)f(global)f(v)n(alue)0 +1935 y(to)18 b(the)h(v)n(ariable)e(unless)i(there)h(are)f(curren)o(tly) +g(sp)q(ecial)g(bindings)e(of)h(that)g(v)n(ariable.)0 +1986 y(Normally)11 b(there)16 b(should)d(not)h(b)q(e)g(an)o(y)g(suc)o +(h)h(sp)q(ecial)f(bindings.)42 2038 y Fs(defvar)9 b Fw(also)h(pro)o +(vides)g(a)g(go)q(o)q(d)g(place)h(to)f(put)h(a)f(commen)o(t)f +(describing)h(the)i(meaning)0 2090 y(of)g(the)g(v)n(ariable,)f(whereas) +j(an)e(ordinary)f Fs(special)g Fw(pro)q(clamation)f(o\013ers)j(the)g +(tempta-)0 2142 y(tion)h(to)g(declare)h(sev)o(eral)f(v)n(ariables)g(at) +f(once)i(and)f(not)g(ha)o(v)o(e)g(ro)q(om)f(to)h(describ)q(e)i(them)0 +2194 y(all.)0 2277 y Fs(\(defvar)k(*visible-windows)o(*)e(0)42 +2329 y("Number)i(of)h(windows)f(at)g(least)g(partially)g(visible)f(on)i +(the)g(screen"\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 93 117 +93 116 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PROGRAM)11 b(STRUCTURE)933 +b(93)42 295 y Fs(defparameter)11 b Fw(is)k(similar)d(to)i +Fs(defvar)p Fw(,)f(but)i Fs(defparameter)d Fw(requires)k(an)e +Fv(initial-)0 347 y(value)20 b Fw(form,)f(alw)o(a)o(ys)g(ev)n(aluates)h +(the)h(form,)e(and)g(assigns)h(the)h(result)g(to)e(the)i(v)n(ari-)0 +399 y(able.)k(The)16 b(seman)o(tic)g(distinction)g(is)g(that)g +Fs(defvar)f Fw(is)h(in)o(tended)h(to)f(declare)h(a)f(v)n(ari-)0 +450 y(able)c(c)o(hanged)h(b)o(y)f(the)h(program,)e(whereas)i +Fs(defparameter)d Fw(is)i(in)o(tended)h(to)g(declare)g(a)0 +502 y(v)n(ariable)f(that)g(is)h(normally)d(constan)o(t)j(but)g(can)g(b) +q(e)g(c)o(hanged)g(\(p)q(ossibly)g(at)f(run)h(time\),)0 +554 y(where)k(suc)o(h)g(a)f(c)o(hange)g(is)g(considered)i(a)d(c)o +(hange)i Fv(to)f Fw(the)g(program.)23 b Fs(defparameter)0 +606 y Fw(therefore)d(do)q(es)g(not)f(indicate)g(that)g(the)h(quan)o +(tit)o(y)e Fv(never)h Fw(c)o(hanges;)j(in)c(particular,)0 +658 y(it)g(do)q(es)h(not)f(license)h(the)g(compiler)e(to)i(build)e +(assumptions)h(ab)q(out)g(the)h(v)n(alue)e(in)o(to)0 +710 y(programs)c(b)q(eing)g(compiled.)42 763 y Fs(defconstant)7 +b Fw(is)j(lik)o(e)f Fs(defparameter)e Fw(but)k Fv(do)n(es)f +Fw(assert)h(that)f(the)h(v)n(alue)e(of)g(the)i(v)n(ari-)0 +815 y(able)j Fv(name)i Fw(is)e(\014xed)h(and)g(do)q(es)g(license)h(the) +f(compiler)f(to)g(build)g(assumptions)g(ab)q(out)0 867 +y(the)f(v)n(alue)f(in)o(to)g(programs)g(b)q(eing)g(compiled.)17 +b(\(Ho)o(w)o(ev)o(er,)c(if)e(the)j(compiler)d(c)o(ho)q(oses)j(to)0 +919 y(replace)k(references)h(to)d(the)i(name)d(of)h(the)h(constan)o(t)g +(b)o(y)g(the)g(v)n(alue)f(of)g(the)h(constan)o(t)0 971 +y(in)f(co)q(de)i(to)e(b)q(e)h(compiled,)f(p)q(erhaps)h(in)g(order)g(to) +f(allo)o(w)f(further)j(optimization,)c(the)0 1023 y(compiler)i(m)o(ust) +g(tak)o(e)h(care)g(that)g(suc)o(h)h(\\copies")f(app)q(ear)h(to)f(b)q(e) +g Fs(eql)f Fw(to)h(the)h(ob)r(ject)0 1075 y(that)12 b(is)g(the)h +(actual)f(v)n(alue)g(of)f(the)i(constan)o(t.)18 b(F)m(or)12 +b(example,)f(the)h(compiler)f(ma)o(y)f(freely)0 1127 +y(mak)o(e)i(copies)j(of)e(n)o(um)o(b)q(ers)h(but)g(m)o(ust)f(exercise)i +(care)g(when)f(the)h(v)n(alue)e(is)h(a)g(list.\))42 1180 +y(It)d(is)h(an)f(error)i(if)e(there)i(are)f(an)o(y)f(sp)q(ecial)h +(bindings)f(of)g(the)h(v)n(ariable)f(at)g(the)i(time)d(the)0 +1232 y Fs(defconstant)k Fw(form)g(is)i(executed)i(\(but)e(implemen)o +(tations)d(ma)o(y)i(or)h(ma)o(y)e(not)i(c)o(hec)o(k)0 +1284 y(for)e(this\).)42 1338 y(Once)e(a)e(name)g(has)h(b)q(een)h +(declared)g(b)o(y)e Fs(defconstant)f Fw(to)h(b)q(e)i(constan)o(t,)f(an) +o(y)g(further)0 1390 y(assignmen)o(t)d(to)i(or)f(binding)g(of)g(that)h +(sp)q(ecial)g(v)n(ariable)e(is)h(an)h(error.)17 b(This)10 +b(is)f(the)i(case)f(for)0 1441 y(suc)o(h)i(system-supplied)g(constan)o +(ts)g(as)g Fs(t)f Fw(and)g Fs(most-positive-fixnum)o +Fw(.)j(A)e(compiler)0 1493 y(ma)o(y)e(also)h(c)o(ho)q(ose)i(to)e(issue) +i(w)o(arnings)e(ab)q(out)h(bindings)f(of)g(the)h(lexical)f(v)n(ariable) +g(of)g(the)0 1545 y(same)i(name.)42 1599 y(X3J13)k(v)o(oted)g(in)h(Jan) +o(uary)f(1989)g Ft(h)p Fw(48)p Ft(i)g Fw(to)g(clarify)g(the)h +(preceding)h(paragraph)e(b)o(y)-33 1570 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1651 a(sp)q(ecifying)f(that)g(it)g(is)g(an)g(error)h(to) +f(rebind)h(constan)o(t)f(sym)o(b)q(ols)f(as)h(either)h(lexical)f(or)0 +1703 y(sp)q(ecial)g(v)n(ariables.)23 b(Consequen)o(tly)m(,)16 +b(a)g(v)n(alid)e(reference)19 b(to)d(a)f(sym)o(b)q(ol)f(declared)j +(with)0 1754 y Fs(defconstant)d Fw(alw)o(a)o(ys)i(refers)i(to)e(its)h +(global)e(v)n(alue.)25 b(\(Unfortunately)m(,)17 b(this)f(violates)0 +1806 y(the)e(principle)g(of)f(referen)o(tial)h(transparency)m(,)h(for)e +(one)h(cannot)g(alw)o(a)o(ys)f(c)o(ho)q(ose)i(names)0 +1858 y(for)f(lexical)f(v)n(ariables)g(without)g(regard)i(to)e +(surrounding)h(con)o(text.\))-33 1870 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1912 a(F)m(or)j(an)o(y)g(of)h(these)h(constructs,)h +(the)f(do)q(cumen)o(tation)d(should)i(b)q(e)h(a)e(string.)30 +b(The)0 1964 y(string)15 b(is)g(attac)o(hed)h(to)f(the)g(name)f(of)g +(the)i(v)n(ariable,)e(parameter,)g(or)h(constan)o(t)h(under)0 +2016 y(the)e Fs(variable)f Fw(do)q(cumen)o(tation)f(t)o(yp)q(e;)i(see)h +(the)g Fs(documentation)c Fw(function.)42 2069 y(X3J13)16 +b(v)o(oted)h(in)f(Marc)o(h)h(1988)f Ft(h)p Fw(59)p Ft(i)g +Fw(to)h(clarify)e(that)i(the)g Fv(do)n(cumentation-string)-33 +2041 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2121 a Fw(is)25 b(not)f(ev)n(aluated)h(but)g(m)o(ust)f +(app)q(ear)h(as)g(a)g(literal)f(string)h(when)g(the)g +Fs(defvar)p Fw(,)0 2173 y Fs(defparameter)p Fw(,)11 b(or)j +Fs(defconstant)d Fw(form)h(is)i(ev)n(aluated.)42 2227 +y(F)m(or)f(example,)f(the)j(form)0 2329 y Fs(\(defvar)20 +b(*avoid-registers)o(*)e(nil)j("Compilation)e(control)g(switch)h(#)1260 +2325 y(-)1260 2333 y(-)1282 2329 y(43"\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 94 118 +94 117 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(94)77 b(COMMON)13 +b(LISP)0 295 y Fw(is)h(legitimate,)d(but)0 378 y Fs(\(defvar)20 +b(*avoid-registers)o(*)e(nil)42 430 y(\(format)i(nil)h("Compilation)d +(control)i(switch)g(#)911 426 y(-)911 434 y(-)n Fn(~)954 +430 y Fs(D")212 481 y(\(incf)g(*compiler-switch-)o(numb)o(er*\)\))o(\)) +0 564 y Fw(is)14 b(erroneous)h(b)q(ecause)h(the)e(call)f(to)h +Fs(format)f Fw(is)g(not)h(a)g(literal)f(string.)42 616 +y(\(On)h(the)g(other)h(hand,)e(the)i(form)0 699 y Fs(\(defvar)20 +b(*avoid-registers)o(*)e(nil)42 751 y(#)42 747 y(-)42 +755 y(-)64 751 y(.\(format)i(nil)g("Compilation)f(control)h(switch)g(#) +955 747 y(-)955 755 y(-)m Fn(~)998 751 y Fs(D")254 803 +y(\(incf)g(*compiler-switch-n)o(umber)o(*\)\)\))0 886 +y Fw(migh)o(t)11 b(b)q(e)j(used)h(to)e(accomplish)f(the)i(same)e(purp)q +(ose,)j(b)q(ecause)g(the)f(call)e(to)i Fs(format)e Fw(is)0 +938 y(ev)n(aluated)k(at)f Fs(read)g Fw(time;)g(when)i(the)f +Fs(defvar)f Fw(form)f(is)i(ev)n(aluated,)f(only)g(the)i(result)0 +990 y(of)c(the)i(call)e(to)h Fs(format)p Fw(,)e(a)h(string,)h(app)q +(ears)h(in)e(the)h Fs(defvar)f Fw(form.\))-33 1001 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1041 a(These)21 b(constructs)h(are)f(normally)c(used)22 +b(only)d(as)h(top-lev)o(el)g(forms.)36 b(The)20 b(v)n(alue)0 +1093 y(returned)c(b)o(y)d(eac)o(h)i(of)e(these)i(constructs)h(is)e(the) +g Fv(name)h Fw(declared.)0 1228 y Fo(5.3.3.)20 b(Con)n(trol)15 +b(of)g(Time)e(of)i(Ev)m(aluation)42 1308 y Fw(The)h Fs(eval-when)f +Fw(sp)q(ecial)i(form)d(allo)o(ws)i(pieces)h(of)f(co)q(de)h(to)g(b)q(e)g +(executed)h(only)e(at)-38 1283 y Fk(.)-38 1296 y(.)-38 +1309 y(.)-38 1322 y(.)-38 1335 y(.)-38 1348 y(.)-38 1361 +y(.)-38 1374 y(.)-38 1387 y(.)-38 1400 y(.)-38 1413 y(.)-38 +1426 y(.)-38 1439 y(.)-38 1452 y(.)-38 1465 y(.)-38 1478 +y(.)-38 1491 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1633 y(.)-38 1646 y(.)-38 +1659 y(.)-38 1672 y(.)-38 1685 y(.)-38 1698 y(.)-38 1711 +y(.)-38 1724 y(.)-38 1737 y(.)-38 1750 y(.)-38 1763 y(.)-38 +1776 y(.)-38 1789 y(.)-38 1802 y(.)-38 1815 y(.)-38 1828 +y(.)-38 1841 y(.)-38 1854 y(.)-38 1867 y(.)-38 1880 y(.)-38 +1893 y(.)-38 1906 y(.)-38 1919 y(.)-38 1932 y(.)-38 1945 +y(.)-38 1958 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2100 y(.)-38 2113 y(.)-38 +2126 y(.)-38 2139 y(.)-38 2152 y(.)-38 2165 y(.)-38 2178 +y(.)-38 2191 y(.)-38 2204 y(.)-38 2217 y(.)-38 2230 y(.)-38 +2243 y(.)-38 2256 y(.)-38 2269 y(.)-38 2282 y(.)-38 2295 +y(.)-38 2308 y(.)-38 2321 y(.)-38 2334 y(.)-38 2347 y(.)-38 +2360 y(.)-38 2373 y(.)-38 2386 y(.)-38 2399 y(.)-38 2412 +y(.)-38 2425 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2567 y(.)-38 2580 y(.)-38 +2593 y(.)-38 2606 y(.)-38 2619 y(.)-38 2632 y(.)-38 2645 +y(.)-38 2658 y(.)-38 2671 y(.)-38 2684 y(.)-38 2697 y(.)-38 +2710 y(.)-38 2723 y(.)-38 2736 y(.)-38 2749 y(.)-38 2762 +y(.)-38 2775 y(.)-38 2788 y(.)-38 2801 y(.)-38 2814 y(.)-38 +2827 y(.)-38 2840 y(.)-38 2853 y(.)-38 2866 y(.)-38 2879 +y(.)-38 2892 y(.)-38 2905 y(.)-38 2918 y(.)-38 2931 y(.)-38 +2944 y(.)-38 2957 y(.)-38 2970 y(.)-38 2983 y(.)-38 2996 +y(.)-38 3009 y(.)-38 3022 y(.)-38 3034 y(.)-38 3047 y(.)-38 +3060 y(.)-38 3073 y(.)-38 3086 y(.)-38 3099 y(.)-38 3112 +y(.)-38 3125 y(.)-38 3138 y(.)-38 3151 y(.)-38 3164 y(.)-38 +3177 y(.)-38 3190 y(.)-38 3203 y(.)-38 3216 y(.)-38 3229 +y(.)-38 3242 y(.)-38 3255 y(.)-38 3268 y(.)-38 3281 y(.)-38 +3294 y(.)-38 3307 y(.)-38 3320 y(.)-38 3333 y(.)-38 3346 +y(.)-38 3359 y(.)-38 3372 y(.)-38 3385 y(.)-38 3398 y(.)-38 +3411 y(.)-38 3424 y(.)-38 3437 y(.)-38 3450 y(.)-38 3463 +y(.)-38 3476 y(.)-38 3489 y(.)-38 3501 y(.)-38 3514 y(.)-38 +3527 y(.)-38 3540 y(.)-38 3553 y(.)-38 3566 y(.)-38 3579 +y(.)-38 3592 y(.)-38 3605 y(.)-38 3618 y(.)-38 3631 y(.)-38 +3644 y(.)-38 3657 y(.)-38 3670 y(.)-38 3683 y(.)-38 3696 +y(.)-38 3709 y(.)-38 3722 y(.)-38 3735 y(.)-38 3748 y(.)-38 +3761 y(.)-38 3774 y(.)-38 3787 y(.)-38 3800 y(.)-38 3813 +y(.)-38 3826 y(.)-38 3839 y(.)-38 3852 y(.)-38 3865 y(.)0 +1360 y Fw(compile)f(time,)g(only)h(at)g(load)f(time,)h(or)g(when)h(in)o +(terpreted)h(but)f(not)f(compiled.)24 b(Its)0 1412 y(uses)15 +b(are)f(relativ)o(ely)g(esoteric.)-38 1501 y Fk(.)-38 +1513 y(.)-38 1526 y(.)-38 1539 y(.)-38 1552 y(.)-38 1565 +y(.)-38 1578 y(.)-38 1591 y(.)-38 1604 y(.)-38 1617 y(.)-38 +1630 y(.)-38 1643 y(.)-38 1656 y(.)-38 1669 y(.)-38 1682 +y(.)-38 1695 y(.)-38 1708 y(.)-38 1721 y(.)-38 1734 y(.)-38 +1747 y(.)-38 1760 y(.)-38 1773 y(.)-38 1786 y(.)-38 1799 +y(.)-38 1812 y(.)-38 1825 y(.)-38 1838 y(.)-38 1851 y(.)-38 +1864 y(.)-38 1877 y(.)-38 1890 y(.)-38 1903 y(.)-38 1916 +y(.)-38 1929 y(.)-38 1942 y(.)-38 1955 y(.)-38 1968 y(.)-38 +1980 y(.)-38 1993 y(.)-38 2006 y(.)-38 2019 y(.)-38 2032 +y(.)-38 2045 y(.)-38 2058 y(.)-38 2071 y(.)-38 2084 y(.)-38 +2097 y(.)-38 2110 y(.)-38 2123 y(.)-38 2136 y(.)-38 2149 +y(.)-38 2162 y(.)-38 2175 y(.)-38 2188 y(.)-38 2201 y(.)-38 +2214 y(.)-38 2227 y(.)-38 2240 y(.)-38 2253 y(.)-38 2266 +y(.)-38 2279 y(.)-38 2292 y(.)-38 2305 y(.)-38 2318 y(.)-38 +2331 y(.)-38 2344 y(.)-38 2357 y(.)-38 2370 y(.)-38 2383 +y(.)-38 2396 y(.)-38 2409 y(.)-38 2422 y(.)-38 2435 y(.)-38 +2447 y(.)-38 2460 y(.)-38 2473 y(.)-38 2486 y(.)-38 2499 +y(.)-38 2512 y(.)-38 2525 y(.)-38 2538 y(.)-38 2551 y(.)-38 +2564 y(.)-38 2577 y(.)-38 2590 y(.)-38 2603 y(.)-38 2616 +y(.)-38 2629 y(.)-38 2642 y(.)-38 2655 y(.)-38 2668 y(.)-38 +2681 y(.)-38 2694 y(.)-38 2707 y(.)-38 2720 y(.)-38 2733 +y(.)-38 2746 y(.)-38 2759 y(.)-38 2772 y(.)-38 2785 y(.)-38 +2798 y(.)-38 2811 y(.)-38 2824 y(.)-38 2837 y(.)-38 2850 +y(.)-38 2863 y(.)-38 2876 y(.)-38 2889 y(.)-38 2902 y(.)-38 +2914 y(.)-38 2927 y(.)-38 2940 y(.)-38 2953 y(.)-38 2966 +y(.)-38 2979 y(.)-38 2992 y(.)-38 3005 y(.)-38 3018 y(.)-38 +3031 y(.)-38 3044 y(.)-38 3057 y(.)-38 3070 y(.)-38 3083 +y(.)-38 3096 y(.)-38 3109 y(.)-38 3122 y(.)-38 3135 y(.)-38 +3148 y(.)-38 3161 y(.)-38 3174 y(.)-38 3187 y(.)-38 3200 +y(.)-38 3213 y(.)-38 3226 y(.)-38 3239 y(.)-38 3252 y(.)-38 +3265 y(.)-38 3278 y(.)-38 3291 y(.)-38 3304 y(.)-38 3317 +y(.)-38 3330 y(.)-38 3343 y(.)-38 3356 y(.)-38 3369 y(.)-38 +3381 y(.)-38 3394 y(.)-38 3407 y(.)-38 3420 y(.)-38 3433 +y(.)-38 3446 y(.)-38 3459 y(.)-38 3472 y(.)-38 3485 y(.)-38 +3498 y(.)-38 3511 y(.)-38 3524 y(.)-38 3537 y(.)-38 3550 +y(.)-38 3563 y(.)-38 3576 y(.)-38 3589 y(.)-38 3602 y(.)-38 +3615 y(.)-38 3628 y(.)-38 3641 y(.)-38 3654 y(.)-38 3667 +y(.)-38 3680 y(.)-38 3693 y(.)-38 3706 y(.)-38 3719 y(.)-38 +3732 y(.)-38 3745 y(.)-38 3758 y(.)-38 3771 y(.)-38 3784 +y(.)-38 3797 y(.)-38 3810 y(.)-38 3823 y(.)-38 3836 y(.)-38 +3848 y(.)-38 3861 y(.)-38 3874 y(.)-38 3887 y(.)-38 3900 +y(.)-38 3913 y(.)-38 3926 y(.)-38 3939 y(.)-38 3952 y(.)-38 +3965 y(.)-38 3978 y(.)-38 3991 y(.)-38 4004 y(.)-38 4017 +y(.)-38 4030 y(.)-38 4043 y(.)-38 4056 y(.)-38 4069 y(.)-38 +4082 y(.)1145 1526 y Fw([)p Fv(Sp)n(e)n(cial)h(form)s +Fw(])-1396 b Fs(eval-when)33 b(\()7 b Ft(f)p Fv(situation)p +Ft(g)460 1510 y Fl(\003)485 1526 y Fs(\))22 b Ft(f)7 +b Fv(form)p Ft(g)664 1510 y Fl(\003)0 1602 y Fw(The)12 +b(b)q(o)q(dy)f(of)g(an)g Fs(eval-when)f Fw(form)g(is)h(pro)q(cessed)j +(as)d(an)h(implicit)c Fs(progn)p Fw(,)j(but)h(only)e(in)0 +1654 y(the)j(situations)g(listed.)18 b(Eac)o(h)13 b Fv(situation)g +Fw(m)o(ust)f(b)q(e)h(a)g(sym)o(b)q(ol,)d(either)k Fs(compile)p +Fw(,)d Fs(load)p Fw(,)0 1706 y(or)j Fs(eval)p Fw(.)42 +1758 y Fs(eval)f Fw(sp)q(eci\014es)i(that)f(the)h(in)o(terpreter)g +(should)f(pro)q(cess)i(the)e(b)q(o)q(dy)m(.)k Fs(compile)12 +b Fw(sp)q(ec-)0 1810 y(i\014es)j(that)f(the)h(compiler)e(should)h(ev)n +(aluate)g(the)h(b)q(o)q(dy)f(at)h(compile)d(time)h(in)h(the)h(com-)0 +1862 y(pilation)e(con)o(text.)20 b Fs(load)13 b Fw(sp)q(eci\014es)k +(that)d(the)h(compiler)e(should)h(arrange)h(to)f(ev)n(aluate)0 +1914 y(the)g(forms)e(in)h(the)h(b)q(o)q(dy)f(when)h(the)g(compiled)e +(\014le)i(con)o(taining)e(the)i Fs(eval-when)d Fw(form)0 +1966 y(is)j(loaded.)42 2017 y(The)g Fs(eval-when)f Fw(construct)j(ma)o +(y)c(b)q(e)k(more)d(precisely)i(understo)q(o)q(d)h(in)e(terms)g(of)g(a) +0 2069 y(mo)q(del)c(of)h(ho)o(w)g(the)h(compiler)e(pro)q(cesses)k +(forms)c(in)h(a)g(\014le)h(to)f(b)q(e)h(compiled.)k(Successiv)o(e)0 +2121 y(forms)f(are)i(read)f(from)f(the)i(\014le)f(using)g(the)h +(function)f Fs(read)p Fw(.)24 b(These)17 b(top-lev)o(el)f(forms)0 +2173 y(are)h(normally)c(pro)q(cessed)19 b(in)c(what)h(w)o(e)h(shall)e +(call)g Fv(not-c)n(ompile-time)h Fw(mo)q(de.)24 b(There)0 +2225 y(is)15 b(another)h(mo)q(de)e(called)h Fv(c)n(ompile-time-to)n(o)g +Fw(mo)q(de.)21 b(The)16 b Fs(eval-when)d Fw(sp)q(ecial)i(form)0 +2277 y(con)o(trols)f(whic)o(h)g(of)f(these)i(t)o(w)o(o)f(mo)q(des)f(to) +h(use.)42 2329 y(Ev)o(ery)g(form)e(is)i(pro)q(cessed)i(as)e(follo)o +(ws:)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 95 119 +95 118 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(PROGRAM)11 b(STRUCTURE)933 b(95)0 286 y Fu(.)42 +295 y Fw(If)13 b(the)i(form)d(is)h(an)h Fs(eval-when)e +Fw(form:)42 394 y({)20 b(If)14 b(the)g(situation)f Fs(load)g +Fw(is)h(sp)q(eci\014ed:)125 494 y(If)e(the)i(situation)f +Fs(compile)e Fw(is)i(sp)q(eci\014ed,)i Fv(or)e Fw(if)f(the)i(curren)o +(t)g(pro)q(cessing)h(mo)q(de)125 546 y(is)j Fv(c)n(ompile-time-to)n(o)g +Fw(and)g(the)h(situation)f Fs(eval)g Fw(is)g(sp)q(eci\014ed,)j(then)e +(pro)q(cess)125 597 y(eac)o(h)14 b(of)f(the)i(forms)d(in)i(the)g(b)q(o) +q(dy)g(in)f Fv(c)n(ompile-time-to)n(o)g Fw(mo)q(de.)125 +697 y(Otherwise,)j(pro)q(cess)h(eac)o(h)f(of)f(the)h(forms)e(in)g(the)i +(b)q(o)q(dy)g(in)e Fv(not-c)n(ompile-time)125 749 y Fw(mo)q(de.)42 +848 y({)20 b(If)14 b(the)g(situation)f Fs(load)g Fw(is)h(not)g(sp)q +(eci\014ed:)125 948 y(If)e(the)i(situation)f Fs(compile)e +Fw(is)i(sp)q(eci\014ed,)i Fv(or)e Fw(if)f(the)i(curren)o(t)g(pro)q +(cessing)h(mo)q(de)125 1000 y(is)h Fv(c)n(ompile-time-to)n(o)g +Fw(and)g(the)h(situation)f Fs(eval)g Fw(is)g(sp)q(eci\014ed,)j(then)e +(ev)n(aluate)125 1052 y(eac)o(h)12 b(of)g(the)g(forms)f(in)h(the)g(b)q +(o)q(dy)h(in)e(the)i(compiler's)d(executing)j(en)o(vironmen)o(t.)125 +1151 y(Otherwise,)h(ignore)g(the)h Fs(eval-when)d Fw(form)g(en)o +(tirely)m(.)0 1242 y Fu(.)42 1251 y Fw(If)17 b(the)i(form)d(is)i(not)g +(an)g Fs(eval-when)e Fw(form,)h(then)i(do)f(t)o(w)o(o)f(things.)31 +b(First,)19 b(if)e(the)42 1303 y(curren)o(t)k(pro)q(cessing)f(mo)q(de)f +(is)g Fv(c)n(ompile-time-to)n(o)g Fw(mo)q(de,)g(ev)n(aluate)g(the)h +(form)e(in)42 1354 y(the)g(compiler's)f(executing)i(en)o(vironmen)o(t.) +30 b(Second,)20 b(p)q(erform)d(normal)f(compiler)42 1406 +y(pro)q(cessing)d(of)f(the)h(form)e(\(compiling)f(functions)i +(de\014ned)i(b)o(y)e Fs(defun)f Fw(forms,)g(and)i(so)42 +1458 y(on\).)42 1547 y(One)j(example)e(of)h(the)h(use)g(of)f +Fs(eval-when)e Fw(is)i(that)h(if)e(the)i(compiler)e(is)i(to)f(b)q(e)h +(able)0 1599 y(to)h(prop)q(erly)h(read)g(a)g(\014le)f(that)h(uses)g +(user-de\014ned)i(reader)f(macro)d(c)o(haracters,)k(it)d(is)0 +1651 y(necessary)f(to)e(write)0 1751 y Fs(\(eval-when)19 +b(\(compile)h(load)g(eval\))42 1803 y(\(set-macro-characte)o(r)e(#)499 +1799 y(-)499 1807 y(-)521 1803 y(\\$)j(#)586 1799 y(-)586 +1807 y(-)m Fn(')629 1803 y Fs(\(lambda)f(\(stream)f(char\))656 +1855 y(\(declare)h(\(ignore)g(char\)\))656 1907 y(\(list)784 +1911 y Fn(')808 1907 y Fs(dollar)g(\(read)g(stream\)\)\)\)\))0 +2006 y Fw(This)11 b(causes)h(the)f(call)f(to)g Fs(set-macro-character)d +Fw(to)k(b)q(e)g(executed)i(in)d(the)h(compiler's)0 2058 +y(execution)k(en)o(vironmen)o(t,)d(thereb)o(y)j(mo)q(difying)c(its)j +(reader)h(syn)o(tax)f(table.)-33 2069 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2173 a(X3J13)c(v)o(oted)i(in)f(Marc)o(h)g(1989)f +Ft(h)p Fw(73)p Ft(i)h Fw(to)g(completely)f(redesign)j(the)e +Fs(eval-when)f Fw(con-)-33 2145 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2225 a(struct)j(to)e(solv)o(e)h(some)e(problems)h +(concerning)h(its)f(treatmen)o(t)h(in)f(other)h(than)f(top-lev)o(el)0 +2277 y(con)o(texts.)29 b(The)18 b(new)g(de\014nition)e(is)i(up)o(w)o +(ard)f(compatible)e(with)i(the)h(old)f(de\014nition,)0 +2329 y(but)d(the)h(old)e(k)o(eyw)o(ords)h(are)g(deprecated.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 96 120 +96 119 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(96)77 b(COMMON)13 +b(LISP)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1145 295 a Fw([)p Fv(Sp)n(e)n(cial)i(form)s +Fw(])-1396 b Fs(eval-when)33 b(\()7 b Ft(f)p Fv(situation)p +Ft(g)460 280 y Fl(\003)485 295 y Fs(\))22 b Ft(f)7 b +Fv(form)p Ft(g)664 280 y Fl(\003)0 372 y Fw(The)15 b(b)q(o)q(dy)h(of)e +(an)h Fs(eval-when)e Fw(form)g(is)i(pro)q(cessed)i(as)e(an)g(implicit)e +Fs(progn)p Fw(,)g(but)j(only)0 423 y(in)f(the)h(situations)f(listed.)23 +b(Eac)o(h)16 b Fv(situation)g Fw(m)o(ust)e(b)q(e)i(a)g(sym)o(b)q(ol,)d +(either)k Fs(:compile-)0 475 y(toplevel)p Fw(,)12 b Fs(:load-toplevel)p +Fw(,)e(or)k Fs(:execute)p Fw(.)42 527 y(The)e(use)g(of)f +Fs(:compile-toplevel)e Fw(and)i Fs(:load-toplevel)e Fw(con)o(trols)j +(whether)h(and)0 579 y(when)19 b(pro)q(cessing)i(o)q(ccurs)f(for)f +(top-lev)o(el)f(forms.)32 b(The)19 b(use)h(of)e Fs(:execute)g +Fw(con)o(trols)0 631 y(whether)d(pro)q(cessing)g(o)q(ccurs)h(for)d +(non-top-lev)o(el)g(forms.)42 683 y(The)h Fs(eval-when)f +Fw(construct)j(ma)o(y)c(b)q(e)k(more)d(precisely)i(understo)q(o)q(d)h +(in)e(terms)g(of)g(a)0 735 y(mo)q(del)e(of)h(ho)o(w)g(the)h(\014le)g +(compiler,)d Fs(compile-file)p Fw(,)g(pro)q(cesses)16 +b(forms)c(in)h(a)g(\014le)h(to)f(b)q(e)0 787 y(compiled.)42 +839 y(Successiv)o(e)21 b(forms)d(are)j(read)f(from)e(the)i(\014le)g(b)o +(y)f(the)i(\014le)e(compiler)g(using)g Fs(read)p Fw(.)0 +891 y(These)f(top-lev)o(el)e(forms)f(are)i(normally)c(pro)q(cessed)19 +b(in)d(what)h(w)o(e)f(call)g(\\not-compile-)0 943 y(time")9 +b(mo)q(de.)17 b(There)12 b(is)f(one)g(other)h(mo)q(de,)e(called)h +(\\compile-tim)o(e-to)q(o")d(mo)q(de,)i(whic)o(h)0 994 +y(can)16 b(come)f(in)o(to)g(pla)o(y)f(for)i(top-lev)o(el)f(forms.)22 +b(The)16 b Fs(eval-when)e Fw(sp)q(ecial)h(form)f(is)i(used)0 +1046 y(to)c(annotate)h(a)f(program)f(in)h(a)g(w)o(a)o(y)g(that)g(allo)o +(ws)f(the)i(program)e(doing)h(the)h(pro)q(cessing)0 1098 +y(to)h(select)h(the)f(appropriate)g(mo)q(de.)42 1150 +y(Pro)q(cessing)h(of)e(top-lev)o(el)g(forms)g(in)g(the)i(\014le)f +(compiler)e(w)o(orks)i(as)g(follo)o(ws:)0 1211 y Fu(.)42 +1220 y Fw(If)i(the)i(form)e(is)h(a)g(macro)f(call,)h(it)g(is)g +(expanded)h(and)f(the)h(result)g(is)f(pro)q(cessed)j(as)42 +1271 y(a)f(top-lev)o(el)g(form)e(in)i(the)i(same)d(pro)q(cessing)j(mo)q +(de)d(\(compile-time-to)q(o)f(or)i(not-)42 1323 y(compile-tim)o(e\).)0 +1396 y Fu(.)42 1405 y Fw(If)c(the)h(form)e(is)i(a)g Fs(progn)e +Fw(\(or)i Fs(locally)f Ft(h)p Fw(113)p Ft(i)p Fw(\))g(form,)f(eac)o(h)j +(of)e(its)h(b)q(o)q(dy)f(forms)g(is)42 1457 y(sequen)o(tially)e(pro)q +(cessed)j(as)e(top-lev)o(el)f(forms)g(in)g(the)i(same)e(pro)q(cessing)i +(mo)q(de.)0 1530 y Fu(.)42 1539 y Fw(If)j(the)h(form)e(is)i(a)f +Fs(compiler-let)p Fw(,)f Fs(macrolet)p Fw(,)h(or)g Fs(symbol-macrolet)p +Fw(,)e(the)k(\014le)42 1591 y(compiler)8 b(mak)o(es)i(the)h +(appropriate)f(bindings)g(and)g(recursiv)o(ely)i(pro)q(cesses)h(the)e +(b)q(o)q(dy)42 1643 y(forms)k(as)j(an)f(implicit)d(top-lev)o(el)j +Fs(progn)f Fw(with)h(those)h(bindings)f(in)g(e\013ect,)i(in)e(the)42 +1694 y(same)c(pro)q(cessing)i(mo)q(de.)0 1767 y Fu(.)42 +1776 y Fw(If)f(the)h(form)e(is)i(an)g Fs(eval-when)e +Fw(form,)f(it)j(is)g(handled)f(according)h(to)g(the)g(follo)o(wing)42 +1828 y(table:)43 1899 y(L)m(T)47 b(CT)96 b(EX)g(CTTM)g(Action)p +42 1916 1354 2 v 42 1965 a(y)o(es)48 b(y)o(es)118 b({)169 +b({)149 b(pro)q(cess)16 b(b)q(o)q(dy)e(in)f(compile-time-to)q(o)e(mo)q +(de)42 2017 y(y)o(es)54 b(no)106 b(y)o(es)134 b(y)o(es)f(pro)q(cess)16 +b(b)q(o)q(dy)e(in)f(compile-time-to)q(o)e(mo)q(de)42 +2069 y(y)o(es)54 b(no)123 b({)157 b(no)138 b(pro)q(cess)16 +b(b)q(o)q(dy)e(in)f(not-compile-tim)o(e)f(mo)q(de)42 +2121 y(y)o(es)54 b(no)112 b(no)157 b({)149 b(pro)q(cess)16 +b(b)q(o)q(dy)e(in)f(not-compile-tim)o(e)f(mo)q(de)48 +2172 y(no)53 b(y)o(es)118 b({)169 b({)149 b(ev)n(aluate)14 +b(b)q(o)q(dy)48 2224 y(no)59 b(no)106 b(y)o(es)134 b(y)o(es)f(ev)n +(aluate)14 b(b)q(o)q(dy)48 2276 y(no)59 b(no)123 b({)157 +b(no)138 b(do)14 b(nothing)48 2328 y(no)59 b(no)112 b(no)157 +b({)149 b(do)14 b(nothing)p 42 2345 V -33 2344 a @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 97 121 +97 120 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PROGRAM)11 b(STRUCTURE)933 +b(97)42 295 y Fw(In)19 b(the)i(preceding)g(table)f(the)g(column)f(L)m +(T)g(asks)i(whether)g Fs(:load-toplevel)c Fw(is)42 347 +y(one)e(of)g(the)i(situations)e(sp)q(eci\014ed)i(in)e(the)h +Fs(eval-when)e Fw(form;)g(CT)i(similarly)c(refers)42 +399 y(to)19 b Fs(:compile-toplevel)d Fw(and)j(EX)h(to)f +Fs(:execute)p Fw(.)33 b(The)20 b(column)e(CTTM)h(asks)42 +450 y(whether)h(the)f Fs(eval-when)e Fw(form)h(w)o(as)g(encoun)o(tered) +j(while)e(in)f(compile-time-to)q(o)42 502 y(mo)q(de.)27 +b(The)18 b(phrase)g(\\pro)q(cess)h(b)q(o)q(dy")f(means)e(to)h(pro)q +(cess)j(the)e(b)q(o)q(dy)f(as)h(an)f(im-)42 554 y(plicit)11 +b(top-lev)o(el)g Fs(progn)g Fw(in)g(the)i(indicated)f(mo)q(de,)f(and)h +(\\ev)n(aluate)f(b)q(o)q(dy")h(means)f(to)42 606 y(ev)n(aluate)k(the)g +(b)q(o)q(dy)h(forms)e(sequen)o(tially)g(as)i(an)f(implicit)d +Fs(progn)j Fw(in)g(the)g(dynamic)42 658 y(execution)g(con)o(text)h(of)e +(the)i(compiler)d(and)i(in)g(the)g(lexical)f(en)o(vironmen)o(t)g(in)h +(whic)o(h)42 710 y(the)f Fs(eval-when)e Fw(app)q(ears.)0 +784 y Fu(.)42 793 y Fw(Otherwise,)i(the)g(form)e(is)i(a)f(top-lev)o(el) +g(form)f(that)h(is)h(not)f(one)h(of)f(the)h(sp)q(ecial)g(cases.)42 +845 y(If)e(in)g(compile-tim)o(e-to)q(o)e(mo)q(de,)h(the)i(compiler)e +(\014rst)i(ev)n(aluates)g(the)g(form)e(and)h(then)42 +897 y(p)q(erforms)k(normal)f(compiler)h(pro)q(cessing)i(on)f(it.)27 +b(If)17 b(in)f(not-compile-time)e(mo)q(de,)42 949 y(only)f(normal)f +(compiler)h(pro)q(cessing)j(is)e(p)q(erformed)g(\(see)i(section)f +(25.1\).)j(An)o(y)c(sub-)42 1001 y(forms)e(are)i(treated)h(as)f +(non-top-lev)o(el)f(forms.)42 1072 y(Note)k(that)h(top-lev)o(el)e +(forms)g(are)i(guaran)o(teed)g(to)f(b)q(e)h(pro)q(cessed)h(in)e(the)h +(order)g(in)0 1124 y(whic)o(h)h(they)g(textually)g(app)q(ear)g(in)g +(the)g(\014le,)h(and)f(that)g(eac)o(h)h(top-lev)o(el)e(form)f(read)0 +1176 y(b)o(y)f(the)h(compiler)e(is)h(pro)q(cessed)j(b)q(efore)e(the)g +(next)g(is)f(read.)25 b(Ho)o(w)o(ev)o(er,)17 b(the)g(order)g(of)0 +1228 y(pro)q(cessing)h(\(including,)f(in)g(particular,)h(macro)e +(expansion\))h(of)g(subforms)f(that)h(are)0 1280 y(not)d(top-lev)o(el)f +(forms)g(is)g(unsp)q(eci\014ed.)42 1332 y(F)m(or)d(an)h +Fs(eval-when)e Fw(form)g(that)i(is)g(not)g(a)f(top-lev)o(el)h(form)e +(in)h(the)i(\014le)f(compiler)f(\(that)0 1384 y(is,)j(either)h(in)f +(the)h(in)o(terpreter,)h(in)e Fs(compile)p Fw(,)e(or)j(in)e(the)i +(\014le)g(compiler)e(but)h(not)h(at)f(top)0 1436 y(lev)o(el\),)f(if)g +(the)i Fs(:execute)d Fw(situation)h(is)h(sp)q(eci\014ed,)h(its)e(b)q(o) +q(dy)h(is)g(treated)h(as)f(an)f(implicit)0 1488 y Fs(progn)p +Fw(.)k(Otherwise,)e(the)f(b)q(o)q(dy)f(is)h(ignored)f(and)g(the)h +Fs(eval-when)d Fw(form)h(has)h(the)h(v)n(alue)0 1539 +y Fs(nil)p Fw(.)42 1592 y(F)m(or)i(the)h(sak)o(e)h(of)e(bac)o(kw)o(ard) +h(compatibili)o(t)o(y)m(,)d(a)i Fv(situation)h Fw(ma)o(y)e(also)h(b)q +(e)i Fs(compile)p Fw(,)0 1643 y Fs(load)p Fw(,)11 b(or)g +Fs(eval)p Fw(.)16 b(Within)11 b(a)g(top-lev)o(el)g Fs(eval-when)e +Fw(form)h(these)j(ha)o(v)o(e)e(the)h(same)f(mean-)0 1695 +y(ing)20 b(as)g Fs(:compile-toplevel)p Fw(,)e Fs(:load-toplevel)p +Fw(,)h(and)h Fs(:execute)p Fw(,)g(resp)q(ectiv)o(ely;)0 +1747 y(but)15 b(their)h(e\013ect)h(is)e(unde\014ned)i(when)e(used)i(in) +d(an)h Fs(eval-when)f Fw(form)f(that)j(is)f(not)g(at)0 +1799 y(top)f(lev)o(el.)42 1851 y(The)d(follo)o(wing)e(e\013ects)14 +b(are)d(logical)f(consequences)k(of)d(the)h(preceding)g(sp)q +(eci\014cation:)0 1914 y Fu(.)42 1922 y Fw(It)g(is)g(nev)o(er)h(the)g +(case)g(that)f(the)h(execution)f(of)g(a)g(single)g Fs(eval-when)e +Fw(expression)j(will)42 1974 y(execute)i(the)g(b)q(o)q(dy)f(co)q(de)g +(more)f(than)h(once.)0 2049 y Fu(.)42 2058 y Fw(The)f(old)e(k)o(eyw)o +(ord)i Fs(eval)f Fw(w)o(as)g(a)g(misnomer)e(b)q(ecause)15 +b(execution)e(of)f(the)h(b)q(o)q(dy)g(need)42 2110 y(not)g(b)q(e)i +(done)f(b)o(y)g Fs(eval)p Fw(.)j(F)m(or)c(example,)f(when)j(the)f +(function)g(de\014nition)42 2193 y Fs(\(defun)19 b(foo)i(\(\))g +(\(eval-when)e(\(:execute\))g(\(print)973 2197 y Fn(')996 +2193 y Fs(foo\)\)\))42 2277 y Fw(is)13 b(compiled)e(the)j(call)e(to)h +Fs(print)f Fw(should)h(b)q(e)h(compiled,)d(not)i(ev)n(aluated)g(at)g +(compile)42 2329 y(time.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 98 122 +98 121 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(98)77 b(COMMON)13 +b(LISP)0 286 y Fu(.)42 295 y Fw(Macros)f(in)o(tended)g(for)f(use)h(in)g +(top-lev)o(el)f(forms)f(should)h(arrange)h(for)f(all)f(side-e\013ects) +42 347 y(to)h(b)q(e)h(done)g(b)o(y)f(the)i(forms)d(in)h(the)h(macro)f +(expansion.)17 b(The)12 b(macro-expander)f(itself)42 +399 y(should)i(not)h(p)q(erform)f(the)i(side-e\013ects.)42 +556 y Fs(\(defmacro)k(foo)h(\(\))84 608 y(\(really-foo\))632 +b(;)p Fw(W)m(rong)82 663 y Fn(`)105 659 y Fs(\(really-foo\)\))42 +763 y(\(defmacro)19 b(foo)h(\(\))82 819 y Fn(`)105 815 +y Fs(\(eval-when)f(\(:compile-toplevel)359 867 y(:load-toplevel)f +(:execute\))104 b(;)p Fw(Righ)o(t)126 919 y Fs(\(really-foo\)\)\))42 +1076 y Fw(Adherence)15 b(to)e(this)g(con)o(v)o(en)o(tion)g(will)f(mean) +g(that)h(suc)o(h)h(macros)f(will)f(b)q(eha)o(v)o(e)h(in)o(tu-)42 +1128 y(itiv)o(ely)f(when)j(called)e(in)h(non-top-lev)o(el)f(p)q +(ositions.)0 1276 y Fu(.)42 1285 y Fw(Placing)d(a)h(v)n(ariable)g +(binding)f(around)h(an)g Fs(eval-when)f Fw(reliably)g(captures)j(the)f +(bind-)42 1337 y(ing)f(b)q(ecause)k(the)e(\\compile-tim)o(e-to)q(o")c +(mo)q(de)j(cannot)h(o)q(ccur)g(\(b)q(ecause)i(the)e Fs(eval-)42 +1389 y(when)g Fw(could)g(not)h(b)q(e)h(a)e(top-lev)o(el)g(form\).)k(F)m +(or)c(example,)42 1546 y Fs(\(let)20 b(\(\(x)g(3\)\))84 +1598 y(\(eval-when)f(\(:compile-topleve)o(l)f(:load-toplevel)h +(:execute\))126 1650 y(\(print)h(x\)\)\))42 1807 y Fw(will)12 +b(prin)o(t)h(3)g(at)h(execution)g(\(that)g(is,)f(load\))g(time)f(and)h +(will)f(not)i(prin)o(t)f(an)o(ything)g(at)42 1859 y(compile)d(time.)16 +b(This)c(is)g(imp)q(ortan)o(t)f(so)h(that)g(expansions)h(of)e +Fs(defun)g Fw(and)h Fs(defmacro)42 1911 y Fw(can)17 b(b)q(e)g(done)g +(in)g(terms)f(of)g Fs(eval-when)f Fw(and)i(can)g(correctly)h(capture)g +(the)g(lexical)42 1963 y(en)o(vironmen)o(t.)e(F)m(or)c(example,)g(an)g +(implemen)o(tation)e(migh)o(t)g(expand)j(a)g Fs(defun)e +Fw(form)42 2014 y(suc)o(h)j(as)42 2172 y Fs(\(defun)19 +b(bar)i(\(x\))g(\(defun)e(foo)i(\(\))g(\(+)g(x)f(3\)\)\))42 +2329 y Fw(in)o(to)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 99 123 +99 122 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PROGRAM)11 b(STRUCTURE)933 +b(99)42 295 y Fs(\(progn)19 b(\(eval-when)h(\(:compile-tople)o(vel\)) +232 347 y(\(compiler::notice-)o(func)o(tion)818 351 y +Fn(')841 347 y Fs(bar)925 351 y Fn(')949 347 y Fs(\(x\)\)\))190 +399 y(\(eval-when)f(\(:load-toplevel)f(:execute\))232 +450 y(\(setf)i(\(symbol-function)730 454 y Fn(')753 450 +y Fs(bar\))359 502 y(#)359 498 y(-)359 506 y(-)n Fn(')402 +502 y Fs(\(lambda)g(\(x\))444 554 y(\(progn)g(\(eval-when)f +(\(:compile-toplev)o(el\))634 606 y(\(compiler::notice-f)o(uncti)o(on) +1220 610 y Fn(')1243 606 y Fs(foo)1204 662 y Fn(')1227 +658 y Fs(\(\)\)\))592 710 y(\(eval-when)g(\(:load-toplevel)f +(:execute\))634 762 y(\(setf)i(\(symbol-function)1132 +766 y Fn(')1155 762 y Fs(foo\))761 814 y(#)761 810 y(-)761 +818 y(-)n Fn(')804 814 y Fs(\(lambda)g(\(\))h(\(+)g(x)f +(3\)\)\)\)\)\)\)\)\))42 895 y Fw(whic)o(h)13 b(b)o(y)h(the)g(preceding) +h(rules)g(w)o(ould)e(b)q(e)h(treated)i(the)e(same)f(as)42 +976 y Fs(\(progn)19 b(\(eval-when)h(\(:compile-tople)o(vel\))232 +1027 y(\(compiler::notice-)o(func)o(tion)818 1031 y Fn(')841 +1027 y Fs(bar)925 1031 y Fn(')949 1027 y Fs(\(x\)\)\))190 +1079 y(\(eval-when)f(\(:load-toplevel)f(:execute\))232 +1131 y(\(setf)i(\(symbol-function)730 1135 y Fn(')753 +1131 y Fs(bar\))359 1183 y(#)359 1179 y(-)359 1187 y(-)n +Fn(')402 1183 y Fs(\(lambda)g(\(x\))444 1235 y(\(progn)g(\(eval-when)f +(\(:load-toplevel)f(:execute\))634 1287 y(\(setf)i(\(symbol-function) +1132 1291 y Fn(')1155 1287 y Fs(foo\))761 1339 y(#)761 +1335 y(-)761 1343 y(-)n Fn(')804 1339 y Fs(\(lambda)g(\(\))h(\(+)g(x)f +(3\)\)\)\)\)\)\)\)\))42 1420 y Fw(Here)15 b(are)f(some)f(additional)f +(examples.)0 1504 y Fs(\(let)20 b(\(\(x)h(1\)\))42 1556 +y(\(eval-when)e(\(:execute)h(:load-toplevel)e(:compile-toplevel\))85 +1608 y(\(setf)i(\(symbol-function)582 1612 y Fn(')606 +1608 y Fs(foo1\))g(#)736 1604 y(-)736 1612 y(-)n Fn(')779 +1608 y Fs(\(lambda)g(\(\))g(x\)\)\)\))0 1693 y Fw(The)e +Fs(eval-when)d Fw(in)i(the)h(preceding)h(expression)f(is)g(not)f(at)g +(top)h(lev)o(el,)f(so)g(only)g(the)0 1744 y Fs(:execute)11 +b Fw(k)o(eyw)o(ord)i(is)g(considered.)19 b(A)o(t)13 b(compile)e(time,)g +(this)i(has)g(no)f(e\013ect.)20 b(A)o(t)13 b(load)0 1796 +y(time)f(\(if)h(the)i Fs(let)d Fw(is)i(at)f(top)h(lev)o(el\),)f(or)h +(at)f(execution)i(time)d(\(if)h(the)h Fs(let)f Fw(is)h(em)o(b)q(edded)0 +1848 y(in)j(some)f(other)i(form)e(whic)o(h)h(do)q(es)h(not)f(execute)i +(un)o(til)e(later\),)h(this)f(sets)h Fs(\(symbol-)0 1900 +y(function)193 1904 y Fn(')217 1900 y Fs(foo1\))12 b +Fw(to)i(a)g(function)f(that)h(returns)i Fs(1)p Fw(.)0 +1985 y Fs(\(eval-when)j(\(:execute)g(:load-toplevel)g(:compile-topleve) +o(l\))42 2037 y(\(let)i(\(\(x)f(2\)\))85 2089 y(\(eval-when)f +(\(:execute)g(:load-toplevel)f(:compile-toplevel\))127 +2140 y(\(setf)i(\(symbol-function)625 2144 y Fn(')648 +2140 y Fs(foo2\))g(#)778 2136 y(-)778 2144 y(-)n Fn(')821 +2140 y Fs(\(lambda)g(\(\))h(x\)\)\)\)\))0 2225 y Fw(If)14 +b(the)h(preceding)g(expression)g(o)q(ccurs)h(at)e(the)h(top)f(lev)o(el) +g(of)g(a)g(\014le)g(to)g(b)q(e)h(compiled,)d(it)0 2277 +y(has)j Fv(b)n(oth)g Fw(a)g(compile)e(time)h Fv(and)h +Fw(a)g(load-time)e(e\013ect)j(of)f(setting)g Fs(\(symbol-function)-2 +2333 y Fn(')21 2329 y Fs(foo2\))e Fw(to)h(a)f(function)h(that)g +(returns)h Fs(2)p Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 100 124 +100 123 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(100)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(eval-when)19 b(\(:execute)g(:load-toplevel)g +(:compile-topleve)o(l\))42 347 y(\(setf)h(\(symbol-function)540 +351 y Fn(')564 347 y Fs(foo3\))g(#)694 343 y(-)694 351 +y(-)m Fn(')737 347 y Fs(\(lambda)f(\(\))i(3\)\)\))0 432 +y Fw(If)14 b(the)h(preceding)g(expression)g(o)q(ccurs)h(at)e(the)h(top) +f(lev)o(el)g(of)g(a)g(\014le)g(to)g(b)q(e)h(compiled,)d(it)0 +484 y(has)j Fv(b)n(oth)h Fw(a)f(compile)e(time)h Fv(and)i +Fw(a)f(load-time)e(e\013ect)k(of)e(setting)g(the)h(function)f(cell)g +(of)0 535 y Fs(foo3)e Fw(to)h(a)f(function)h(that)g(returns)h +Fs(3)p Fw(.)0 621 y Fs(\(eval-when)k(\(:compile-toplevel)o(\))42 +672 y(\(eval-when)g(\(:compile-toplevel\))85 724 y(\(print)234 +728 y Fn(')258 724 y Fs(foo4\)\)\))0 809 y Fw(The)14 +b(preceding)h(expression)g(alw)o(a)o(ys)e(do)q(es)i(nothing;)e(it)g +(simply)f(returns)j Fs(nil)p Fw(.)0 895 y Fs(\(eval-when)k +(\(:compile-toplevel)o(\))42 946 y(\(eval-when)g(\(:execute\))85 +998 y(\(print)234 1002 y Fn(')258 998 y Fs(foo5\)\)\))0 +1083 y Fw(If)e(the)g(preceding)h(form)e(o)q(ccurs)i(at)f(the)h(top)f +(lev)o(el)f(of)h(a)f(\014le)h(to)g(b)q(e)h(compiled,)e +Fs(foo5)0 1135 y Fw(is)i(prin)o(ted)g(at)g(compile)f(time.)29 +b(If)17 b(this)i(form)d(o)q(ccurs)j(in)f(a)g(non-top-lev)o(el)f(p)q +(osition,)0 1187 y(nothing)h(is)g(prin)o(ted)h(at)g(compile)e(time.)30 +b(Regardless)20 b(of)e(con)o(text,)i(nothing)d(is)i(ev)o(er)0 +1239 y(prin)o(ted)14 b(at)g(load)f(time)f(or)i(execution)h(time.)0 +1324 y Fs(\(eval-when)k(\(:execute)g(:load-toplevel\))42 +1376 y(\(eval-when)g(\(:compile-toplevel\))85 1428 y(\(print)234 +1432 y Fn(')258 1428 y Fs(foo6\)\)\))42 1513 y Fw(If)13 +b(the)i(preceding)h(form)c(o)q(ccurs)k(at)e(the)h(top)f(lev)o(el)g(of)g +(a)g(\014le)g(to)g(b)q(e)h(compiled,)e Fs(foo6)0 1565 +y Fw(is)18 b(prin)o(ted)g(at)g(compile)f(time.)29 b(If)17 +b(this)i(form)d(o)q(ccurs)j(in)f(a)g(non-top-lev)o(el)f(p)q(osition,)0 +1617 y(nothing)h(is)g(prin)o(ted)h(at)g(compile)e(time.)30 +b(Regardless)20 b(of)e(con)o(text,)i(nothing)d(is)i(ev)o(er)0 +1669 y(prin)o(ted)14 b(at)g(load)f(time)f(or)i(execution)h(time.)-33 +1680 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 664 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 101 125 +101 124 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(6)p 0 448 598 9 +v 0 531 a Fp(Predicates)0 925 y Fw(A)12 b Fv(pr)n(e)n(dic)n(ate)g +Fw(is)g(a)f(function)h(that)g(tests)i(for)d(some)g(condition)h(in)o(v)o +(olving)d(its)j(argumen)o(ts)0 976 y(and)e(returns)i +Fs(nil)e Fw(if)g(the)h(condition)f(is)g(false,)g(or)h(some)e(non-)p +Fs(nil)h Fw(v)n(alue)g(if)f(the)i(condition)0 1028 y(is)16 +b(true.)26 b(One)17 b(ma)o(y)d(think)i(of)f(a)h(predicate)i(as)e(pro)q +(ducing)g(a)g(Bo)q(olean)g(v)n(alue,)g(where)0 1080 y +Fs(nil)h Fw(stands)h(for)f Fv(false)h Fw(and)f(an)o(ything)g(else)h +(stands)g(for)g Fv(true)p Fw(.)28 b(Conditional)16 b(con)o(trol)0 +1132 y(structures)h(suc)o(h)e(as)f Fs(cond)p Fw(,)f Fs(if)p +Fw(,)g Fs(when)p Fw(,)g(and)h Fs(unless)f Fw(test)i(suc)o(h)g(Bo)q +(olean)f(v)n(alues.)19 b(W)m(e)0 1184 y(sa)o(y)11 b(that)h(a)f +(predicate)i Fv(is)g(true)e Fw(when)h(it)f(returns)i(a)f(non-)p +Fs(nil)e Fw(v)n(alue,)h(and)h Fv(is)g(false)f Fw(when)0 +1236 y(it)k(returns)i Fs(nil)p Fw(;)e(that)h(is,)f(it)g(is)h(true)g(or) +f(false)h(according)f(to)g(whether)i(the)f(condition)0 +1288 y(b)q(eing)e(tested)h(is)f(true)h(or)f(false.)42 +1341 y(By)h(con)o(v)o(en)o(tion,)g(the)h(names)f(of)g(predicates)i +(usually)d(end)i(in)f(the)h(letter)h Fs(p)e Fw(\(whic)o(h)0 +1393 y(stands)g(for)e(\\predicate"\).)19 b(Common)10 +b(Lisp)k(uses)h(a)f(uniform)e(con)o(v)o(en)o(tion)h(in)g(h)o(yphen-)0 +1445 y(ating)h(names)h(of)f(predicates.)23 b(If)15 b(the)h(name)e(of)g +(the)i(predicate)g(is)f(formed)f(b)o(y)h(adding)0 1497 +y(a)e Fs(p)h Fw(to)f(an)g(existing)h(name,)e(suc)o(h)i(as)g(the)g(name) +e(of)h(a)h(data)f(t)o(yp)q(e,)h(a)f(h)o(yphen)h(is)f(placed)0 +1549 y(b)q(efore)g(the)f(\014nal)f Fs(p)h Fw(if)f(and)g(only)g(if)g +(there)i(is)f(a)g(h)o(yphen)g(in)f(the)i(existing)e(name.)16 +b(F)m(or)c(ex-)0 1601 y(ample,)e Fs(number)g Fw(b)q(egets)i +Fs(numberp)e Fw(but)h Fs(standard-char)e Fw(b)q(egets)j +Fs(standard-char-p)p Fw(.)0 1653 y(On)k(the)g(other)f(hand,)h(if)e(the) +i(name)e(of)h(a)g(predicate)h(is)f(formed)g(b)o(y)g(adding)f(a)h +(pre\014x-)0 1704 y(ing)i(quali\014er)g(to)g(the)h(fron)o(t)g(of)e(an)i +(existing)f(predicate)i(name,)d(the)j(t)o(w)o(o)e(names)f(are)0 +1756 y(joined)11 b(with)h(a)g(h)o(yphen)g(and)g(the)h(presence)h(or)e +(absence)i(of)d(a)h(h)o(yphen)g(b)q(efore)h(the)f(\014nal)0 +1808 y Fs(p)k Fw(is)g(not)g(c)o(hanged.)25 b(F)m(or)15 +b(example,)g(the)i(predicate)g Fs(string-lessp)c Fw(has)k(no)e(h)o +(yphen)0 1860 y(b)q(efore)k(the)g Fs(p)f Fw(b)q(ecause)i(it)e(is)g(the) +h(string)g(v)o(ersion)f(of)g Fs(lessp)f Fw(\(a)i(MacLisp)f(function)0 +1912 y(that)12 b(has)g(b)q(een)h(renamed)e Fs(<)h Fw(in)f(Common)e +(Lisp\).)17 b(The)c(name)d Fs(string-less-p)g Fw(w)o(ould)0 +1964 y(incorrectly)17 b(imply)c(that)j(it)g(is)f(a)h(predicate)h(that)f +(tests)h(for)f(a)g(kind)f(of)g(ob)r(ject)i(called)0 2016 +y(a)e Fs(string-less)p Fw(,)d(and)j(the)h(name)e Fs(stringlessp)f +Fw(w)o(ould)h(connote)i(a)e(predicate)j(that)0 2068 y(tests)e(whether)h +(something)c(has)i(no)g(strings)g(\(is)g(\\stringless"\)!)42 +2121 y(The)e(con)o(trol)f(structures)j(that)e(test)h(Bo)q(olean)f(v)n +(alues)f(only)g(test)i(for)e(whether)i(or)f(not)0 2173 +y(the)g(v)n(alue)f(is)g Fs(nil)p Fw(,)g(whic)o(h)g(is)g(considered)i +(to)e(b)q(e)h(false.)17 b(An)o(y)11 b(other)h(v)n(alue)f(is)g +(considered)0 2225 y(to)g(b)q(e)h(true.)18 b(Often)12 +b(a)f(predicate)i(will)d(return)i Fs(nil)f Fw(if)g(it)g(\\fails")e(and) +j(some)e Fv(useful)h Fw(v)n(alue)0 2277 y(if)k(it)h(\\succeeds";)j(suc) +o(h)e(a)f(function)f(can)i(b)q(e)g(used)g(not)f(only)f(as)h(a)g(test)h +(but)g(also)e(for)0 2329 y(the)f(useful)g(v)n(alue)g(pro)o(vided)f(in)h +(case)h(of)e(success.)21 b(An)14 b(example)e(is)i Fs(member)p +Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1337 2428 a Fy(101)p eop +%%Page: 102 126 +102 125 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(102)77 b(COMMON)13 +b(LISP)42 295 y Fw(If)e(no)h(b)q(etter)i(non-)p Fs(nil)d +Fw(v)n(alue)h(is)g(a)o(v)n(ailable)e(for)i(the)h(purp)q(ose)g(of)f +(indicating)f(success,)0 347 y(b)o(y)j(con)o(v)o(en)o(tion)f(the)i(sym) +o(b)q(ol)d Fs(t)h Fw(is)h(used)h(as)f(the)g(\\standard")g(true)h(v)n +(alue.)0 502 y Fo(6.1.)20 b(Logical)14 b(V)-5 b(alues)0 +589 y Fw(The)19 b(names)f Fs(nil)g Fw(and)h Fs(t)f Fw(are)i(constan)o +(ts)f(in)g(Commo)o(n)d(Lisp.)33 b(Although)18 b(they)h(are)0 +641 y(sym)o(b)q(ols)14 b(lik)o(e)g(an)o(y)h(other)h(sym)o(b)q(ols,)e +(and)h(app)q(ear)h(to)f(b)q(e)h(treated)g(as)g(v)n(ariables)e(when)0 +693 y(ev)n(aluated,)f(it)h(is)f(not)h(p)q(ermitted)g(to)g(mo)q(dify)d +(their)j(v)n(alues.)k(See)d Fs(defconstant)p Fw(.)1204 +827 y([)p Fv(Constant)t Fw(])-1395 b Fs(nil)0 904 y Fw(The)14 +b(v)n(alue)g(of)f Fs(nil)g Fw(is)h(alw)o(a)o(ys)f Fs(nil)p +Fw(.)18 b(This)c(ob)r(ject)g(represen)o(ts)j(the)e(logical)d +Fv(false)h Fw(v)n(alue)0 955 y(and)h(also)f(the)h(empt)o(y)f(list.)18 +b(It)c(can)g(also)f(b)q(e)i(written)f Fs(\(\))p Fw(.)1204 +1089 y([)p Fv(Constant)t Fw(])-1395 b Fs(t)0 1166 y Fw(The)14 +b(v)n(alue)g(of)f Fs(t)g Fw(is)h(alw)o(a)o(ys)f Fs(t)p +Fw(.)0 1322 y Fo(6.2.)20 b(Data)c(T)n(yp)r(e)e(Predicates)0 +1409 y Fw(P)o(erhaps)h(the)f(most)f(imp)q(ortan)o(t)f(predicates)k(in)d +(Lisp)h(are)g(those)h(that)f(deal)f(with)h(data)0 1460 +y(t)o(yp)q(es;)e(that)f(is,)g(giv)o(en)g(a)f(data)h(ob)r(ject)h(one)f +(can)g(determine)g(whether)h(or)f(not)g(it)g(b)q(elongs)0 +1512 y(to)j(a)f(giv)o(en)h(t)o(yp)q(e,)g(or)g(one)g(can)g(compare)f(t)o +(w)o(o)g(t)o(yp)q(e)i(sp)q(eci\014ers.)0 1668 y Fo(6.2.1.)20 +b(General)14 b(T)n(yp)r(e)g(Predicates)0 1755 y Fw(If)h(a)g(data)g(t)o +(yp)q(e)h(is)f(view)o(ed)g(as)h(the)g(set)g(of)e(all)h(ob)r(jects)h(b)q +(elonging)e(to)h(the)h(t)o(yp)q(e,)g(then)0 1807 y(the)e +Fs(typep)e Fw(function)h(is)g(a)g(set)h(mem)o(b)q(ership)e(test,)i +(while)f Fs(subtypep)e Fw(is)i(a)g(subset)i(test.)1209 +1940 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(typep)20 +b Fv(obje)n(ct)25 b(typ)n(e)0 2017 y Fs(typep)10 b Fw(is)i(a)f +(predicate)i(that)e(is)h(true)g(if)f Fv(obje)n(ct)g Fw(is)h(of)f(t)o +(yp)q(e)h Fv(typ)n(e)p Fw(,)f(and)h(is)f(false)g(otherwise.)0 +2069 y(Note)20 b(that)g(an)f(ob)r(ject)h(can)g(b)q(e)g(\\of)s(")f(more) +g(than)g(one)h(t)o(yp)q(e,)h(since)g(one)e(t)o(yp)q(e)i(can)0 +2121 y(include)d(another.)32 b(The)19 b Fv(typ)n(e)f +Fw(ma)o(y)f(b)q(e)h(an)o(y)g(of)g(the)h(t)o(yp)q(e)g(sp)q(eci\014ers)h +(men)o(tioned)d(in)0 2173 y(c)o(hapter)d(4)f Fv(exc)n(ept)g +Fw(that)g(it)g(ma)o(y)e(not)i(b)q(e)g(or)g(con)o(tain)g(a)g(t)o(yp)q(e) +g(sp)q(eci\014er)i(list)d(whose)i(\014rst)0 2225 y(elemen)o(t)i(is)h +Fs(function)e Fw(or)i Fs(values)p Fw(.)26 b(A)17 b(sp)q(eci\014er)h(of) +f(the)g(form)e Fs(\(satisfies)k Fv(fn)p Fs(\))e Fw(is)0 +2277 y(handled)12 b(simply)d(b)o(y)j(applying)e(the)j(function)e +Fv(fn)h Fw(to)f Fv(obje)n(ct)h Fw(\(see)h Fs(funcall)p +Fw(\);)e(the)h Fv(obje)n(ct)0 2329 y Fw(is)i(considered)h(to)f(b)q(e)g +(of)g(the)g(sp)q(eci\014ed)h(t)o(yp)q(e)g(if)e(the)h(result)h(is)f(not) +g Fs(nil)p Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 103 127 +103 126 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PREDICA)m(TES)1107 +b(103)42 295 y Fw(X3J13)11 b(v)o(oted)h(in)g(Jan)o(uary)g(1989)f +Ft(h)p Fw(8)p Ft(i)h Fw(to)g(c)o(hange)g Fs(typep)f Fw(to)h(giv)o(e)f +(sp)q(ecialized)i Fs(array)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a Fw(and)h Fs(complex)e Fw(t)o(yp)q(e)j(sp)q +(eci\014ers)h(the)f(same)e(meaning)f(for)i(purp)q(oses)i(of)d(t)o(yp)q +(e)i(discrimi-)0 399 y(nation)g(as)g(they)h(ha)o(v)o(e)f(for)g +(declaration)g(purp)q(oses.)25 b(Of)15 b(course,)i(this)e(also)g +(applies)g(to)0 450 y(suc)o(h)g(t)o(yp)q(e)f(sp)q(eci\014ers)i(as)e +Fs(vector)f Fw(and)g Fs(simple-array)f Fw(\(see)j(section)g(4.5\).)i +(Th)o(us)0 537 y Fs(\(typep)j(foo)236 541 y Fn(')260 +537 y Fs(\(array)g(bignum\)\))0 623 y Fw(in)e(the)h(\014rst)h(edition)e +(ask)o(ed)h(the)g(question,)h(Is)f Fs(foo)f Fw(an)g(arra)o(y)g(sp)q +(ecialized)i(to)e(hold)0 675 y(bign)o(ums?)34 b(but)20 +b(under)h(the)g(new)f(in)o(terpretation)g(asks)g(the)h(question,)g +(Could)e(the)0 727 y(arra)o(y)13 b Fs(foo)g Fw(ha)o(v)o(e)g(resulted)i +(from)d(giving)g Fs(bignum)g Fw(as)i(the)g Fs(:element-type)d +Fw(argumen)o(t)0 778 y(to)j Fs(make-array)p Fw(?)-33 +790 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 911 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(subtypep)20 b Fv(typ)n(e1)27 b(typ)n(e2)0 988 y +Fw(The)18 b(argumen)o(ts)g(m)o(ust)f(b)q(e)h(t)o(yp)q(e)h(sp)q +(eci\014ers)h(that)e(are)h(acceptable)g(to)f Fs(typep)p +Fw(.)29 b(The)0 1040 y(t)o(w)o(o)13 b(t)o(yp)q(e)h(sp)q(eci\014ers)i +(are)e(compared;)f(this)g(predicate)i(is)f(true)g(if)f +Fv(typ)n(e1)h Fw(is)f(de\014nitely)h(a)0 1091 y(\(not)h(necessarily)g +(prop)q(er\))h(subt)o(yp)q(e)f(of)f Fv(typ)n(e2)p Fw(.)21 +b(If)14 b(the)h(result)g(is)g Fs(nil)p Fw(,)e(ho)o(w)o(ev)o(er,)i(then) +0 1143 y Fv(typ)n(e1)c Fw(ma)o(y)f(or)h(ma)o(y)e(not)i(b)q(e)h(a)f +(subt)o(yp)q(e)h(of)e Fv(typ)n(e2)i Fw(\(sometimes)d(it)i(is)g(imp)q +(ossible)f(to)h(tell,)0 1195 y(esp)q(ecially)16 b(when)g +Fs(satisfies)e Fw(t)o(yp)q(e)i(sp)q(eci\014ers)i(are)f(in)o(v)o(olv)o +(ed\).)22 b(A)16 b(second)h(returned)0 1247 y(v)n(alue)10 +b(indicates)i(the)g(certain)o(t)o(y)f(of)g(the)g(result;)i(if)d(it)h +(is)g(true,)h(then)g(the)g(\014rst)f(v)n(alue)g(is)g(an)0 +1299 y(accurate)j(indication)d(of)h(the)i(subt)o(yp)q(e)f +(relationship.)18 b(Th)o(us)12 b(there)i(are)g(three)f(p)q(ossible)0 +1351 y(result)i(com)o(binations:)0 1437 y Fs(t)89 b(t)f +Fv(typ)n(e1)15 b Fw(is)e(de\014nitely)h(a)g(subt)o(yp)q(e)h(of)e +Fv(typ)n(e2)0 1489 y Fs(nil)45 b(t)88 b Fv(typ)n(e1)15 +b Fw(is)e(de\014nitely)h(not)g(a)g(subt)o(yp)q(e)h(of)e +Fv(typ)n(e2)0 1541 y Fs(nil)45 b(nil)f(subtypep)13 b +Fw(could)g(not)h(determine)g(the)g(relationship)42 1627 +y(X3J13)e(v)o(oted)i(in)f(Jan)o(uary)g(1989)f Ft(h)p +Fw(171)p Ft(i)h Fw(to)g(place)g(certain)h(requiremen)o(ts)g(up)q(on)f +(the)-33 1599 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1679 a(implemen)o(tatio)o(n)c(of)i Fs(subtypep)p +Fw(,)f(for)h(it)g(noted)h(that)f(implemen)o(tations)e(in)i(man)o(y)e +(cases)0 1731 y(simply)h(\\giv)o(e)h(up")g(and)h(return)h(the)f(t)o(w)o +(o)f(v)n(alues)g Fs(nil)h Fw(and)f Fs(nil)g Fw(when)h(in)g(fact)f(it)h +(w)o(ould)0 1783 y(ha)o(v)o(e)19 b(b)q(een)i(p)q(ossible)e(to)h +(determine)f(the)h(relationship)f(b)q(et)o(w)o(een)h(the)g(giv)o(en)f +(t)o(yp)q(es.)0 1835 y(The)c(requiremen)o(ts)g(are)g(as)g(follo)o(ws,)d +(where)k(it)f(is)f(understo)q(o)q(d)i(that)f(a)f(t)o(yp)q(e)h(sp)q +(eci\014er)0 1887 y Fv(s)f(involves)g Fw(a)f(t)o(yp)q(e)h(sp)q +(eci\014er)i Fv(u)e Fw(if)f(either)h Fv(s)g Fw(con)o(tains)g(an)f(o)q +(ccurrence)k(of)c Fv(u)h Fw(directly)g(or)0 1938 y Fv(s)g +Fw(con)o(tains)f(a)h(t)o(yp)q(e)g(sp)q(eci\014er)i Fv(w)d +Fw(de\014ned)i(b)o(y)f Fs(deftype)e Fw(whose)i(expansion)g(in)o(v)o +(olv)o(es)f Fv(u)p Fw(.)0 1999 y Fu(.)42 2008 y Fs(subtypep)i +Fw(is)i(not)g(p)q(ermitted)g(to)f(return)j(a)d(second)i(v)n(alue)f(of)f +Fs(nil)h Fw(unless)h(one)f(or)42 2060 y(b)q(oth)d(of)f(its)h(argumen)o +(ts)f(in)o(v)o(olv)o(es)g Fs(satisfies)p Fw(,)e Fs(and)p +Fw(,)i Fs(or)p Fw(,)g Fs(not)p Fw(,)g(or)h Fs(member)p +Fw(.)0 2134 y Fu(.)42 2143 y Fs(subtypep)9 b Fw(should)j(signal)f(an)g +(error)i(when)f(one)g(or)f(b)q(oth)h(of)f(its)h(argumen)o(ts)f(in)o(v)o +(olv)o(es)42 2195 y Fs(values)h Fw(or)i(the)g(list)g(form)e(of)h(the)i +Fs(function)d Fw(t)o(yp)q(e)i(sp)q(eci\014er.)0 2268 +y Fu(.)42 2277 y Fs(subtypep)e Fw(m)o(ust)h(alw)o(a)o(ys)g(return)j +(the)f(t)o(w)o(o)e(v)n(alues)h Fs(t)g Fw(and)g Fs(t)g +Fw(in)g(the)h(case)g(where)h(its)42 2329 y(argumen)o(ts,)c(after)i +(expansion)g(of)f(sp)q(eci\014ers)j(de\014ned)f(b)o(y)f +Fs(deftype)p Fw(,)e(are)i Fs(equal)p Fw(.)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 104 128 +104 127 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(104)77 b(COMMON)13 +b(LISP)0 295 y Fw(In)j(addition,)g(X3J13)g(v)o(oted)g(to)h(clarify)e +(that)i(in)f(some)f(cases)j(the)f(relationships)f(b)q(e-)0 +347 y(t)o(w)o(een)i(t)o(yp)q(es)h(as)e(re\015ected)j(b)o(y)e +Fs(subtypep)d Fw(ma)o(y)h(b)q(e)i(implemen)o(tation-sp)q(eci\014c.)27 +b(F)m(or)0 399 y(example,)20 b(in)f(an)h(implemen)o(tation)d(supp)q +(orting)j(only)f(one)h(t)o(yp)q(e)h(of)e(\015oating-p)q(oin)o(t)0 +450 y(n)o(um)o(b)q(er,)c Fs(\(subtypep)380 454 y Fn(')404 +450 y Fs(float)532 454 y Fn(')555 450 y Fs(long-float\))f +Fw(w)o(ould)h(return)i Fs(t)f Fw(and)g Fs(t)p Fw(,)f(since)i(the)0 +502 y(t)o(w)o(o)c(t)o(yp)q(es)i(w)o(ould)e(b)q(e)i(iden)o(tical.)42 +554 y(Note)h(that)f Fs(satisfies)f Fw(is)h(an)h(exception)g(b)q(ecause) +h(relationships)f(b)q(et)o(w)o(een)h(t)o(yp)q(es)0 606 +y(in)o(v)o(olving)d Fs(satisfies)h Fw(are)i(undecidable)f(in)g +(general,)h(but)g(\(as)g(X3J13)f(noted\))h Fs(and)p Fw(,)0 +658 y Fs(or)p Fw(,)h Fs(not)p Fw(,)f(and)h Fs(member)e +Fw(are)i(merely)f(v)o(ery)h(messy)f(to)h(deal)f(with.)29 +b(In)18 b(all)f(lik)o(eliho)q(o)q(d)0 710 y(these)k(will)c(not)i(b)q(e) +h(addressed)h(unless)f(and)f(un)o(til)g(someone)f(is)h(willing)e(to)i +(write)h(a)0 762 y(careful)15 b(sp)q(eci\014cation)g(that)g(co)o(v)o +(ers)g(all)e(the)i(cases)h(for)e(the)i(pro)q(cessing)f(of)f(these)i(t)o +(yp)q(e)0 814 y(sp)q(eci\014ers)e(b)o(y)d Fs(subtypep)p +Fw(.)k(The)d(requiremen)o(ts)g(stated)g(ab)q(o)o(v)o(e)f(w)o(ere)i +(easy)e(to)h(state)g(and)0 866 y(probably)h(su\016ce)i(for)f(most)e +(cases)j(of)f(in)o(terest.)-33 877 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 917 a(X3J13)i(v)o(oted)h(in)g(Jan)o(uary)g(1989)f +Ft(h)p Fw(8)p Ft(i)h Fw(to)g(c)o(hange)g Fs(subtypep)f +Fw(to)g(giv)o(e)h(sp)q(ecialized)-33 889 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 969 a Fs(array)g Fw(and)i Fs(complex)e +Fw(t)o(yp)q(e)i(sp)q(eci\014ers)h(the)f(same)f(meaning)e(for)i(purp)q +(oses)i(of)e(t)o(yp)q(e)0 1021 y(discrimination)f(as)i(they)h(ha)o(v)o +(e)g(for)f(declaration)g(purp)q(oses.)36 b(Of)19 b(course,)j(this)d +(also)0 1073 y(applies)12 b(to)h(suc)o(h)g(t)o(yp)q(e)h(sp)q +(eci\014ers)h(as)d Fs(vector)g Fw(and)g Fs(simple-array)f +Fw(\(see)j(section)f(4.5\).)42 1125 y(If)18 b Fv(A)h +Fw(and)g Fv(B)g Fw(are)g(t)o(yp)q(e)h(sp)q(eci\014ers)h(\(other)e(than) +g Fs(*)p Fw(,)h(whic)o(h)f(tec)o(hnically)f(is)h(not)g(a)0 +1177 y(t)o(yp)q(e)d(sp)q(eci\014er)h(an)o(yw)o(a)o(y\),)d(then)i +Fs(\(array)k Fv(A)p Fs(\))15 b Fw(and)g Fs(\(array)20 +b Fv(B)p Fs(\))15 b Fw(represen)o(t)j(the)e(same)0 1229 +y(t)o(yp)q(e)f(in)e(a)h(giv)o(en)g(implemen)o(tation)d(if)i(and)h(only) +g(if)f(they)i(denote)g(arra)o(ys)f(of)g(the)h(same)0 +1281 y(sp)q(ecialized)21 b(represen)o(tation)i(in)d(that)h(implemen)o +(tati)o(on;)g(otherwise)h(they)f(are)g(dis-)0 1333 y(join)o(t.)41 +b(T)m(o)21 b(put)h(it)f(another)i(w)o(a)o(y)m(,)f(they)g(represen)o(t)i +(the)f(same)e(t)o(yp)q(e)h(if)f(and)h(only)0 1384 y(if)i +Fs(\(upgraded-array-ele)o(ment-)o(type)679 1388 y Fn(')702 +1384 y Fv(A)p Fs(\))h Fw(and)g Fs(\(upgraded-array-)o(eleme)o(nt-)0 +1436 y(type)106 1440 y Fn(')130 1436 y Fv(B)p Fs(\))13 +b Fw(are)i(the)f(same)f(t)o(yp)q(e.)19 b(Therefore)0 +1519 y Fs(\(subtypep)215 1523 y Fn(')238 1519 y Fs(\(array)h +Fv(A)p Fs(\))462 1523 y Fn(')485 1519 y Fs(\(array)g +Fv(B)p Fs(\)\))0 1602 y Fw(is)14 b(true)h(if)e(and)h(only)f(if)g +Fs(\(upgraded-array-ele)o(ment-)o(type)1007 1606 y Fn(')1031 +1602 y Fv(A)p Fs(\))h Fw(is)f(the)i(same)e(t)o(yp)q(e)0 +1654 y(as)h Fs(\(upgraded-array-e)o(lemen)o(t-typ)o(e)680 +1658 y Fn(')704 1654 y Fv(B)p Fs(\))p Fw(.)42 1706 y(The)f +Fs(complex)e Fw(t)o(yp)q(e)i(sp)q(eci\014er)h(is)f(treated)h(in)e(a)g +(similar)e(but)j(subtly)g(di\013eren)o(t)h(man-)0 1758 +y(ner.)39 b(If)21 b Fv(A)f Fw(and)h Fv(B)g Fw(are)g(t)o(w)o(o)f(t)o(yp) +q(e)h(sp)q(eci\014ers)i(\(but)e(not)g Fs(*)p Fw(,)h(whic)o(h)e(tec)o +(hnically)h(is)0 1810 y(not)13 b(a)g(t)o(yp)q(e)g(sp)q(eci\014er)i(an)o +(yw)o(a)o(y\),)d(then)i Fs(\(complex)19 b Fv(A)p Fs(\))13 +b Fw(and)g Fs(\(complex)19 b Fv(B)p Fs(\))13 b Fw(represen)o(t)0 +1862 y(the)19 b(same)e(t)o(yp)q(e)i(in)f(a)g(giv)o(en)g(implemen)o +(tation)d(if)i(and)i(only)e(if)h(they)h(refer)g(to)f(com-)0 +1914 y(plex)c(n)o(um)o(b)q(ers)g(of)g(the)h(same)f(sp)q(ecialized)h +(represen)o(tation)h(in)e(that)h(implem)o(en)o(tation;)0 +1966 y(otherwise)j(they)f(are)g(disjoin)o(t.)26 b(Note,)17 +b(ho)o(w)o(ev)o(er,)h(that)e(there)i(is)f(no)g(function)f(called)0 +2017 y Fs(make-complex)8 b Fw(that)j(allo)o(ws)f(one)h(to)g(sp)q(ecify) +g(a)g(particular)g(elemen)o(t)f(t)o(yp)q(e)i(\(then)f(to)g(b)q(e)0 +2069 y(upgraded\);)k(instead,)f(one)g(m)o(ust)f(describ)q(e)j(sp)q +(ecialized)f(complex)e(n)o(um)o(b)q(ers)h(in)g(terms)0 +2121 y(of)h(the)h(actual)f(t)o(yp)q(es)h(of)f(the)h(parts)g(from)d +(whic)o(h)j(they)f(w)o(ere)i(constructed.)24 b(There)17 +b(is)0 2173 y(no)e(n)o(um)o(b)q(er)g(of)g(t)o(yp)q(e)h(\(or)g(rather,)g +Fv(r)n(epr)n(esentation)s Fw(\))g Fs(float)e Fw(as)i(suc)o(h;)h(there)g +(are)f(only)0 2225 y(n)o(um)o(b)q(ers)f(of)g(t)o(yp)q(e)h +Fs(single-float)p Fw(,)d(n)o(um)o(b)q(ers)i(of)g(t)o(yp)q(e)h +Fs(double-float)p Fw(,)d(and)j(so)f(on.)0 2277 y(Therefore)k(w)o(e)e(w) +o(an)o(t)g Fs(\(complex)j(single-float\))15 b Fw(to)i(b)q(e)h(a)f(subt) +o(yp)q(e)i(of)d Fs(\(complex)0 2329 y(float\))p Fw(.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 105 129 +105 128 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PREDICA)m(TES)1107 +b(105)42 295 y Fw(The)13 b(rule,)g(then,)g(is)g(that)g +Fs(\(complex)20 b Fv(A)p Fs(\))12 b Fw(and)h Fs(\(complex)20 +b Fv(B)p Fs(\))13 b Fw(represen)o(t)i(the)f(same)0 347 +y(t)o(yp)q(e)20 b(\(and)f(otherwise)h(are)g(disjoin)o(t\))e(in)h(a)g +(giv)o(en)g(implemen)o(tatio)o(n)e(if)h(and)h(only)g(if)0 +399 y Fv(either)13 b Fw(the)h(t)o(yp)q(e)h Fv(A)e Fw(is)h(a)f(subt)o +(yp)q(e)i(of)e Fv(B)p Fw(,)g Fv(or)g Fs(\(upgraded-complex-p)o(art-t)o +(ype)1319 403 y Fn(')1342 399 y Fv(A)p Fs(\))0 450 y +Fw(and)18 b Fs(\(upgraded-complex)o(-part)o(-typ)o(e)692 +454 y Fn(')716 450 y Fv(B)p Fs(\))g Fw(are)g(the)h(same)e(t)o(yp)q(e.) +31 b(In)18 b(the)g(latter)0 502 y(case)j Fs(\(complex)e +Fv(A)p Fs(\))h Fw(and)f Fs(\(complex)h Fv(B)p Fs(\))f +Fw(in)h(fact)f(refer)i(to)f(the)g(same)f(sp)q(ecialized)0 +554 y(represen)o(tation.)h(Therefore)0 641 y Fs(\(subtypep)215 +645 y Fn(')238 641 y Fs(\(complex)g Fv(A)p Fs(\))506 +645 y Fn(')529 641 y Fs(\(complex)g Fv(B)p Fs(\)\))0 +727 y Fw(is)14 b(true)h(if)e(and)h(only)g(if)f(the)i(results)g(of)e +Fs(\(upgraded-complex-p)o(art-t)o(ype)1238 731 y Fn(')1261 +727 y Fv(A)p Fs(\))h Fw(and)0 779 y Fs(\(upgraded-complex)o(-part)o +(-type)607 783 y Fn(')631 779 y Fv(B)p Fs(\))g Fw(are)g(the)g(same)f(t) +o(yp)q(e.)42 831 y(Under)h(this)g(in)o(terpretation)0 +918 y Fs(\(subtypep)215 922 y Fn(')238 918 y Fs(\(complex)20 +b(single-float\))736 922 y Fn(')760 918 y Fs(\(complex)f(float\)\))0 +1005 y Fw(m)o(ust)13 b(b)q(e)h(true)h(in)f(all)e(implemen)o(tations;)e +(but)0 1091 y Fs(\(subtypep)215 1095 y Fn(')238 1091 +y Fs(\(array)20 b(single-float\))693 1095 y Fn(')716 +1091 y Fs(\(array)g(float\)\))0 1178 y Fw(is)12 b(true)h(only)f(in)g +(implemen)o(tatio)o(ns)e(that)j(do)f(not)g(ha)o(v)o(e)g(a)g(sp)q +(ecialized)h(arra)o(y)g(represen-)0 1230 y(tation)k(for)g +Fs(single-float)e Fw(elemen)o(ts)i(distinct)h(from)d(that)j(for)f +Fs(float)f Fw(elemen)o(ts)h(in)0 1282 y(general.)-33 +1293 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1438 a Fo(6.2.2.)j(Sp)r(eci\014c)14 b(Data)h(T)n(yp)r(e) +f(Predicates)0 1525 y Fw(The)g(follo)o(wing)e(predicates)j(test)g(for)e +(individual)f(data)i(t)o(yp)q(es.)1209 1659 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(null)20 b Fv(obje)n(ct)0 1736 y Fs(null)c +Fw(is)h(true)h(if)f(its)g(argumen)o(t)f(is)h Fs(\(\))p +Fw(,)g(and)g(otherwise)h(is)f(false.)28 b(This)17 b(is)g(the)h(same)0 +1788 y(op)q(eration)e(p)q(erformed)g(b)o(y)h(the)g(function)f +Fs(not)p Fw(;)h(ho)o(w)o(ev)o(er,)g Fs(not)e Fw(is)i(normally)d(used)j +(to)0 1840 y(in)o(v)o(ert)f(a)g(Bo)q(olean)g(v)n(alue,)f(whereas)i +Fs(null)e Fw(is)h(normally)e(used)i(to)g(test)h(for)f(an)g(empt)o(y)0 +1892 y(list.)23 b(The)16 b(programmer)e(can)i(therefore)h(express)h +Fv(intent)e Fw(b)o(y)f(the)i(c)o(hoice)f(of)f(function)0 +1944 y(name.)0 2031 y Fs(\(null)20 b(x\))h Ft(\021)g +Fs(\(typep)f(x)441 2035 y Fn(')464 2031 y Fs(null\))h +Ft(\021)g Fs(\(eq)g(x)775 2035 y Fn(')799 2031 y Fs(\(\)\))1209 +2165 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(symbolp)20 +b Fv(obje)n(ct)0 2242 y Fs(symbolp)12 b Fw(is)i(true)h(if)e(its)h +(argumen)o(t)f(is)g(a)h(sym)o(b)q(ol,)e(and)h(otherwise)i(is)f(false.)0 +2329 y Fs(\(symbolp)20 b(x\))g Ft(\021)i Fs(\(typep)e(x)506 +2333 y Fn(')530 2329 y Fs(symbol\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 106 130 +106 129 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(106)77 b(COMMON)13 +b(LISP)p 0 295 V 0 355 a Fm(Compatibilit)o(y)f(note:)17 +b FA(The)c(In)o(terlisp)i(equiv)n(alen)o(t)g(of)e Fj(symbolp)d +FA(is)k(called)h Fj(litatom)p FA(.)p 0 392 V 1209 506 +a Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(atom)20 b Fv(obje)n(ct)0 +583 y Fw(The)12 b(predicate)h Fs(atom)d Fw(is)h(true)i(if)d(its)i +(argumen)o(t)e(is)i(not)f(a)g(cons,)h(and)g(otherwise)g(is)f(false.)0 +635 y(Note)j(that)g Fs(\(atom)318 639 y Fn(')342 635 +y Fs(\(\)\))f Fw(is)h(true,)g(b)q(ecause)h Fs(\(\))d +Ft(\021)f Fs(nil)p Fw(.)0 721 y Fs(\(atom)20 b(x\))h +Ft(\021)g Fs(\(typep)f(x)441 725 y Fn(')464 721 y Fs(atom\))h +Ft(\021)g Fs(\(not)f(\(typep)g(x)949 725 y Fn(')972 721 +y Fs(cons\)\))p 0 781 V 0 841 a Fm(Compatibilit)o(y)14 +b(note:)23 b FA(In)15 b(some)g(Lisp)i(dialects,)g(notably)g(In)o +(terlisp,)g(only)g(sym)o(b)q(ols)g(and)0 887 y(n)o(um)o(b)q(ers)12 +b(are)g(considered)i(to)d(b)q(e)h(atoms;)g(arra)o(ys)g(and)g(strings)h +(are)f(considered)h(to)f(b)q(e)f(neither)0 933 y(atoms)i(nor)h(lists)g +(\(conses\).)p 0 971 V 1209 1084 a Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(consp)20 b Fv(obje)n(ct)0 1161 y Fw(The)15 +b(predicate)i Fs(consp)d Fw(is)g(true)i(if)f(its)g(argumen)o(t)f(is)g +(a)h(cons,)h(and)f(otherwise)h(is)e(false.)0 1213 y(Note)i(that)f(the)h +(empt)o(y)e(list)h(is)g(not)g(a)g(cons,)g(so)h Fs(\(consp)926 +1217 y Fn(')950 1213 y Fs(\(\)\))e Ft(\021)i Fs(\(consp)1228 +1217 y Fn(')1251 1213 y Fs(nil\))e Ft(\))0 1265 y Fs(nil)p +Fw(.)0 1352 y Fs(\(consp)20 b(x\))h Ft(\021)g Fs(\(typep)f(x)463 +1356 y Fn(')486 1352 y Fs(cons\))g Ft(\021)i Fs(\(not)e(\(typep)g(x)971 +1356 y Fn(')994 1352 y Fs(atom\)\))p 0 1412 V 0 1472 +a Fm(Compatibilit)o(y)7 b(note:)16 b FA(Some)9 b(Lisp)h(implemen)o +(tations)i(call)f(this)f(function)g Fj(pairp)d FA(or)i +Fj(listp)p FA(.)0 1518 y(The)k(name)g Fj(pairp)d FA(w)o(as)i(rejected)h +(for)g(Common)f(Lisp)i(b)q(ecause)g(it)f(emphasizes)h(to)q(o)f +(strongly)0 1563 y(the)h(dotted-pair)i(notion)f(rather)f(than)h(the)f +(usual)h(usage)g(of)e(conses)i(in)f(lists.)21 b(On)14 +b(the)g(other)0 1609 y(hand,)h Fj(listp)d FA(to)q(o)i(strongly)h +(implies)i(that)d(the)g(cons)g(is)h(in)f(fact)g(part)g(of)g(a)g(list,)h +(whic)o(h)g(after)0 1655 y(all)d(it)g(migh)o(t)g(not)f(b)q(e;)g(moreo)o +(v)o(er,)h Fj(\(\))e FA(is)i(a)f(list,)h(though)g(not)f(a)g(cons.)17 +b(The)11 b(name)g Fj(consp)e FA(seems)0 1700 y(to)k(b)q(e)g(the)g +(appropriate)i(compromise.)p 0 1736 V 1209 1850 a Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(listp)20 b Fv(obje)n(ct)0 +1927 y Fs(listp)13 b Fw(is)i(true)g(if)f(its)h(argumen)o(t)e(is)h(a)h +(cons)g(or)f(the)i(empt)o(y)d(list)h Fs(\(\))p Fw(,)g(and)g(otherwise)i +(is)0 1979 y(false.)24 b(It)16 b(do)q(es)g(not)g(c)o(hec)o(k)h(for)e +(whether)i(the)g(list)e(is)h(a)g(\\true)g(list")f(\(one)h(terminated)0 +2031 y(b)o(y)e Fs(nil)p Fw(\))f(or)h(a)f(\\dotted)i(list")e(\(one)h +(terminated)f(b)o(y)h(a)g(non-n)o(ull)e(atom\).)0 2117 +y Fs(\(listp)20 b(x\))h Ft(\021)g Fs(\(typep)f(x)463 +2121 y Fn(')486 2117 y Fs(list\))g Ft(\021)i Fs(\(typep)e(x)862 +2121 y Fn(')886 2117 y Fs(\(or)g(cons)h(null\)\))1209 +2252 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(numberp)20 +b Fv(obje)n(ct)0 2329 y Fs(numberp)12 b Fw(is)h(true)i(if)d(its)i +(argumen)o(t)e(is)i(an)o(y)f(kind)g(of)g(n)o(um)o(b)q(er,)f(and)i +(otherwise)g(is)f(false.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 107 131 +107 130 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PREDICA)m(TES)1107 +b(107)0 295 y Fs(\(numberp)20 b(x\))g Ft(\021)i Fs(\(typep)e(x)506 +299 y Fn(')530 295 y Fs(number\))1209 422 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(integerp)20 b Fv(obje)n(ct)0 499 y Fs(integerp)12 +b Fw(is)i(true)h(if)e(its)h(argumen)o(t)e(is)i(an)g(in)o(teger,)g(and)f +(otherwise)i(is)f(false.)0 585 y Fs(\(integerp)19 b(x\))i +Ft(\021)h Fs(\(typep)d(x)528 589 y Fn(')552 585 y Fs(integer\))p +0 644 V 0 705 a Fm(Compatibilit)o(y)11 b(note:)17 b FA(In)c(MacLisp)g +(this)h(is)f(called)h Fj(fixp)p FA(.)h(Users)d(ha)o(v)o(e)h(b)q(een)g +(confused)g(as)0 750 y(to)i(whether)g(this)h(mean)o(t)f +Fj(integerp)d FA(or)j Fj(fixnump)p FA(,)d(and)j(so)g(the)h(name)f +Fj(integerp)c FA(has)16 b(b)q(een)0 796 y(adopted)e(here.)p +0 830 V 1209 937 a Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(rationalp)19 b Fv(obje)n(ct)0 1014 y Fs(rationalp)11 +b Fw(is)h(true)i(if)d(its)i(argumen)o(t)e(is)i(a)f(rational)f(n)o(um)o +(b)q(er)h(\(a)h(ratio)f(or)g(an)h(in)o(teger\),)0 1066 +y(and)h(otherwise)h(is)e(false.)0 1151 y Fs(\(rationalp)19 +b(x\))i Ft(\021)g Fs(\(typep)f(x)550 1155 y Fn(')573 +1151 y Fs(rational\))1209 1279 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(floatp)20 b Fv(obje)n(ct)0 1355 y Fs(floatp)d +Fw(is)g(true)i(if)e(its)h(argumen)o(t)e(is)i(a)g(\015oating-p)q(oin)o +(t)e(n)o(um)o(b)q(er,)h(and)h(otherwise)h(is)0 1407 y(false.)0 +1493 y Fs(\(floatp)h(x\))g Ft(\021)i Fs(\(typep)e(x)485 +1497 y Fn(')508 1493 y Fs(float\))1209 1620 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(realp)20 b Fv(obje)n(ct)-33 +1592 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1697 a Fw(X3J13)13 b(v)o(oted)g(in)g(Marc)o(h)g(1989)f +Ft(h)p Fw(151)p Ft(i)h Fw(to)g(add)g(the)g(function)g +Fs(realp)p Fw(.)k Fs(realp)12 b Fw(is)h(true)h(if)0 1749 +y(its)g(argumen)o(t)f(is)g(a)h(real)g(n)o(um)o(b)q(er,)f(and)g +(otherwise)i(is)f(false.)0 1834 y Fs(\(realp)20 b(x\))h +Ft(\021)g Fs(\(typep)f(x)463 1838 y Fn(')486 1834 y Fs(real\))-33 +1850 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1962 a Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(complexp)20 b Fv(obje)n(ct)0 2039 y Fs(complexp)12 +b Fw(is)h(true)i(if)d(its)i(argumen)o(t)e(is)h(a)h(complex)e(n)o(um)o +(b)q(er,)g(and)i(otherwise)g(is)f(false.)0 2124 y Fs(\(complexp)19 +b(x\))i Ft(\021)h Fs(\(typep)d(x)528 2128 y Fn(')552 +2124 y Fs(complex\))1209 2252 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(characterp)19 b Fv(obje)n(ct)0 2329 y +Fs(characterp)12 b Fw(is)i(true)g(if)f(its)h(argumen)o(t)f(is)h(a)f(c)o +(haracter,)i(and)f(otherwise)h(is)e(false.)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 108 132 +108 131 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(108)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(characterp)19 b(x\))i Ft(\021)g Fs(\(typep)f(x)572 +299 y Fn(')595 295 y Fs(character\))1209 414 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(stringp)20 b Fv(obje)n(ct)0 +491 y Fs(stringp)12 b Fw(is)i(true)h(if)e(its)h(argumen)o(t)f(is)g(a)h +(string,)f(and)h(otherwise)h(is)f(false.)0 575 y Fs(\(stringp)20 +b(x\))g Ft(\021)i Fs(\(typep)e(x)506 579 y Fn(')530 575 +y Fs(string\))1209 695 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(bit-vector-p)19 b Fv(obje)n(ct)0 771 y Fs(bit-vector-p)11 +b Fw(is)j(true)h(if)e(its)h(argumen)o(t)f(is)g(a)h(bit-v)o(ector,)g +(and)f(otherwise)i(is)f(false.)0 855 y Fs(\(bit-vector-p)k(x\))j +Ft(\021)h Fs(\(typep)e(x)615 859 y Fn(')639 855 y Fs(bit-vector\))1209 +975 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(vectorp)20 +b Fv(obje)n(ct)0 1052 y Fs(vectorp)12 b Fw(is)i(true)h(if)e(its)h +(argumen)o(t)f(is)g(a)h(v)o(ector,)g(and)g(otherwise)h(is)e(false.)0 +1136 y Fs(\(vectorp)20 b(x\))g Ft(\021)i Fs(\(typep)e(x)506 +1140 y Fn(')530 1136 y Fs(vector\))1209 1255 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(simple-vector-p)18 b +Fv(obje)n(ct)0 1332 y Fs(vectorp)d Fw(is)i(true)h(if)e(its)g(argumen)o +(t)g(is)h(a)f(simple)g(general)h(v)o(ector,)g(and)g(otherwise)h(is)0 +1384 y(false.)0 1468 y Fs(\(simple-vector-p)g(x\))j Ft(\021)g +Fs(\(typep)f(x)681 1472 y Fn(')704 1468 y Fs(simple-vector\))1209 +1588 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(simple-string-p)18 +b Fv(obje)n(ct)0 1664 y Fs(simple-string-p)12 b Fw(is)j(true)h(if)e +(its)h(argumen)o(t)f(is)h(a)g(simple)e(string,)i(and)g(otherwise)h(is)0 +1716 y(false.)0 1800 y Fs(\(simple-string-p)i(x\))j Ft(\021)g +Fs(\(typep)f(x)681 1804 y Fn(')704 1800 y Fs(simple-string\))1209 +1920 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(simple-bit-vector)o(-p) +18 b Fv(obje)n(ct)0 1997 y Fs(simple-bit-vector)o(-p)10 +b Fw(is)k(true)g(if)e(its)i(argumen)o(t)e(is)h(a)h(simple)d(bit-v)o +(ector,)j(and)f(oth-)0 2048 y(erwise)i(is)f(false.)0 +2132 y Fs(\(simple-bit-vecto)o(r-p)k(x\))j Ft(\021)g +Fs(\(typep)f(x)768 2136 y Fn(')791 2132 y Fs(simple-bit-vector\))1209 +2252 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(arrayp)20 +b Fv(obje)n(ct)0 2329 y Fs(arrayp)13 b Fw(is)g(true)i(if)e(its)h +(argumen)o(t)f(is)h(an)f(arra)o(y)m(,)g(and)h(otherwise)g(is)g(false.) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 109 133 +109 132 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PREDICA)m(TES)1107 +b(109)0 295 y Fs(\(arrayp)20 b(x\))g Ft(\021)i Fs(\(typep)e(x)485 +299 y Fn(')508 295 y Fs(array\))1209 423 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(packagep)20 b Fv(obje)n(ct)0 500 y Fs(packagep)12 +b Fw(is)i(true)h(if)e(its)h(argumen)o(t)e(is)i(a)g(pac)o(k)n(age,)f +(and)g(otherwise)i(is)f(false.)0 586 y Fs(\(packagep)19 +b(x\))i Ft(\021)h Fs(\(typep)d(x)528 590 y Fn(')552 586 +y Fs(package\))1209 714 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(functionp)19 b Fv(obje)n(ct)42 791 y Fs(functionp)d +Fw(is)j(true)g(if)f(its)h(argumen)o(t)e(is)i(suitable)f(for)g(applying) +f(to)i(argumen)o(ts,)-38 766 y Fk(.)-38 779 y(.)-38 792 +y(.)-38 805 y(.)-38 818 y(.)-38 831 y(.)-38 844 y(.)-38 +857 y(.)-38 870 y(.)-38 883 y(.)-38 896 y(.)-38 909 y(.)-38 +922 y(.)-38 935 y(.)-38 947 y(.)-38 960 y(.)-38 973 y(.)-38 +986 y(.)-38 999 y(.)-38 1012 y(.)-38 1025 y(.)-38 1038 +y(.)-38 1051 y(.)-38 1064 y(.)-38 1077 y(.)-38 1090 y(.)-38 +1103 y(.)-38 1116 y(.)-38 1129 y(.)-38 1142 y(.)-38 1155 +y(.)-38 1168 y(.)-38 1181 y(.)-38 1194 y(.)-38 1207 y(.)-38 +1220 y(.)-38 1233 y(.)-38 1246 y(.)-38 1259 y(.)-38 1272 +y(.)-38 1285 y(.)-38 1298 y(.)-38 1311 y(.)-38 1324 y(.)-38 +1337 y(.)-38 1350 y(.)-38 1363 y(.)-38 1376 y(.)-38 1389 +y(.)-38 1402 y(.)-38 1414 y(.)-38 1427 y(.)-38 1440 y(.)-38 +1453 y(.)-38 1466 y(.)-38 1479 y(.)-38 1492 y(.)-38 1505 +y(.)-38 1518 y(.)-38 1531 y(.)-38 1544 y(.)-38 1557 y(.)-38 +1570 y(.)-38 1583 y(.)-38 1596 y(.)-38 1609 y(.)-38 1622 +y(.)-38 1635 y(.)-38 1648 y(.)-38 1661 y(.)-38 1674 y(.)-38 +1687 y(.)-38 1700 y(.)-38 1713 y(.)-38 1726 y(.)-38 1739 +y(.)-38 1752 y(.)-38 1765 y(.)-38 1778 y(.)-38 1791 y(.)-38 +1804 y(.)-38 1817 y(.)-38 1830 y(.)-38 1843 y(.)-38 1856 +y(.)-38 1869 y(.)-38 1881 y(.)-38 1894 y(.)-38 1907 y(.)-38 +1920 y(.)-38 1933 y(.)-38 1946 y(.)-38 1959 y(.)-38 1972 +y(.)-38 1985 y(.)-38 1998 y(.)-38 2011 y(.)-38 2024 y(.)-38 +2037 y(.)-38 2050 y(.)-38 2063 y(.)-38 2076 y(.)-38 2089 +y(.)-38 2102 y(.)-38 2115 y(.)-38 2128 y(.)-38 2141 y(.)-38 +2154 y(.)-38 2167 y(.)-38 2180 y(.)-38 2193 y(.)-38 2206 +y(.)-38 2219 y(.)-38 2232 y(.)-38 2245 y(.)-38 2258 y(.)-38 +2271 y(.)-38 2284 y(.)-38 2297 y(.)-38 2310 y(.)-38 2323 +y(.)-38 2336 y(.)-38 2348 y(.)-38 2361 y(.)-38 2374 y(.)-38 +2387 y(.)-38 2400 y(.)-38 2413 y(.)-38 2426 y(.)-38 2439 +y(.)-38 2452 y(.)-38 2465 y(.)-38 2478 y(.)-38 2491 y(.)-38 +2504 y(.)-38 2517 y(.)-38 2530 y(.)-38 2543 y(.)-38 2556 +y(.)-38 2569 y(.)-38 2582 y(.)-38 2595 y(.)-38 2608 y(.)-38 +2621 y(.)-38 2634 y(.)-38 2647 y(.)-38 2660 y(.)-38 2673 +y(.)-38 2686 y(.)-38 2699 y(.)-38 2712 y(.)-38 2725 y(.)-38 +2738 y(.)-38 2751 y(.)-38 2764 y(.)-38 2777 y(.)-38 2790 +y(.)-38 2803 y(.)-38 2815 y(.)-38 2828 y(.)-38 2841 y(.)-38 +2854 y(.)-38 2867 y(.)-38 2880 y(.)-38 2893 y(.)-38 2906 +y(.)-38 2919 y(.)-38 2932 y(.)-38 2945 y(.)-38 2958 y(.)-38 +2971 y(.)-38 2984 y(.)-38 2997 y(.)-38 3010 y(.)-38 3023 +y(.)-38 3036 y(.)-38 3049 y(.)-38 3062 y(.)-38 3075 y(.)-38 +3088 y(.)-38 3101 y(.)-38 3114 y(.)-38 3127 y(.)-38 3140 +y(.)-38 3153 y(.)-38 3166 y(.)-38 3179 y(.)-38 3192 y(.)-38 +3205 y(.)-38 3218 y(.)-38 3231 y(.)-38 3244 y(.)-38 3257 +y(.)-38 3270 y(.)-38 3282 y(.)-38 3295 y(.)-38 3308 y(.)-38 +3321 y(.)-38 3334 y(.)-38 3347 y(.)0 843 y Fw(using)e(for)f(example)g +(the)h Fs(funcall)e Fw(or)i Fs(apply)f Fw(function.)27 +b(Otherwise)18 b Fs(functionp)d Fw(is)0 895 y(false.)42 +947 y Fs(functionp)10 b Fw(is)j(alw)o(a)o(ys)f(true)i(of)e(sym)o(b)q +(ols,)f(lists)i(whose)h Fv(c)n(ar)e Fw(is)h(the)g(sym)o(b)q(ol)e +Fs(lambda)p Fw(,)0 998 y(an)o(y)h(v)n(alue)g(returned)i(b)o(y)e(the)h +Fs(function)e Fw(sp)q(ecial)i(form,)d(and)j(an)o(y)f(v)n(alues)g +(returned)i(b)o(y)0 1050 y(the)g(function)g Fs(compile)e +Fw(when)j(the)f(\014rst)h(argumen)o(t)e(is)h Fs(nil)p +Fw(.)-33 1062 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1102 a(X3J13)f(v)o(oted)h(in)g(June)g(1988)f +Ft(h)p Fw(90)p Ft(i)h Fw(to)f(de\014ne)-33 1074 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1188 a Fs(\(functionp)19 b(x\))i Ft(\021)g +Fs(\(typep)f(x)550 1192 y Fn(')573 1188 y Fs(function\))0 +1273 y Fw(Because)c(the)f(v)o(ote)f(also)g(sp)q(eci\014es)i(that)e(t)o +(yp)q(es)h Fs(cons)e Fw(and)h Fs(symbol)f Fw(are)h(disjoin)o(t)f(from)0 +1325 y(the)h(t)o(yp)q(e)h Fs(function)p Fw(,)d(this)h(is)h(an)g +(incompatible)e(c)o(hange;)h(no)o(w)h Fs(functionp)e +Fw(is)h(in)h(fact)0 1377 y(alw)o(a)o(ys)f(false)g(of)h(sym)o(b)q(ols)e +(and)i(lists.)-33 1389 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1506 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(compiled-function)o(-p)18 b Fv(obje)n(ct)0 1582 +y Fs(compiled-function)o(-p)d Fw(is)j(true)h(if)e(its)h(argumen)o(t)f +(is)h(an)o(y)f(compiled)g(co)q(de)h(ob)r(ject,)0 1634 +y(and)c(otherwise)h(is)e(false.)0 1720 y Fs(\(compiled-functio)o(n-p)18 +b(x\))j Ft(\021)g Fs(\(typep)f(x)768 1724 y Fn(')791 +1720 y Fs(compiled-function\))1209 1848 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(commonp)20 b Fv(obje)n(ct)-38 1823 y +Fk(.)-38 1836 y(.)-38 1849 y(.)-38 1862 y(.)-38 1875 +y(.)-38 1888 y(.)-38 1901 y(.)-38 1914 y(.)-38 1927 y(.)-38 +1940 y(.)-38 1953 y(.)-38 1966 y(.)-38 1979 y(.)-38 1992 +y(.)-38 2005 y(.)-38 2018 y(.)-38 2031 y(.)-38 2044 y(.)-38 +2057 y(.)-38 2070 y(.)-38 2083 y(.)-38 2096 y(.)-38 2109 +y(.)-38 2122 y(.)-38 2135 y(.)-38 2147 y(.)-38 2160 y(.)-38 +2173 y(.)-38 2186 y(.)-38 2199 y(.)-38 2212 y(.)-38 2225 +y(.)-38 2238 y(.)-38 2251 y(.)-38 2264 y(.)-38 2277 y(.)-38 +2290 y(.)-38 2303 y(.)-38 2316 y(.)-38 2329 y(.)-38 2342 +y(.)-38 2355 y(.)-38 2368 y(.)-38 2381 y(.)-38 2394 y(.)-38 +2407 y(.)-38 2420 y(.)-38 2433 y(.)-38 2446 y(.)-38 2459 +y(.)-38 2472 y(.)-38 2485 y(.)-38 2498 y(.)-38 2511 y(.)-38 +2524 y(.)-38 2537 y(.)-38 2550 y(.)-38 2563 y(.)-38 2576 +y(.)-38 2589 y(.)-38 2602 y(.)-38 2614 y(.)-38 2627 y(.)-38 +2640 y(.)-38 2653 y(.)-38 2666 y(.)-38 2679 y(.)-38 2692 +y(.)-38 2705 y(.)-38 2718 y(.)-38 2731 y(.)-38 2744 y(.)-38 +2757 y(.)-38 2770 y(.)-38 2783 y(.)-38 2796 y(.)-38 2809 +y(.)-38 2822 y(.)-38 2835 y(.)-38 2848 y(.)-38 2861 y(.)-38 +2874 y(.)-38 2887 y(.)-38 2900 y(.)-38 2913 y(.)-38 2926 +y(.)-38 2939 y(.)-38 2952 y(.)-38 2965 y(.)-38 2978 y(.)-38 +2991 y(.)-38 3004 y(.)-38 3017 y(.)-38 3030 y(.)-38 3043 +y(.)-38 3056 y(.)-38 3069 y(.)-38 3081 y(.)-38 3094 y(.)-38 +3107 y(.)-38 3120 y(.)-38 3133 y(.)-38 3146 y(.)-38 3159 +y(.)-38 3172 y(.)-38 3185 y(.)-38 3198 y(.)-38 3211 y(.)-38 +3224 y(.)-38 3237 y(.)-38 3250 y(.)-38 3263 y(.)-38 3276 +y(.)-38 3289 y(.)-38 3302 y(.)-38 3315 y(.)-38 3328 y(.)-38 +3341 y(.)-38 3354 y(.)-38 3367 y(.)-38 3380 y(.)-38 3393 +y(.)-38 3406 y(.)-38 3419 y(.)-38 3432 y(.)-38 3445 y(.)-38 +3458 y(.)-38 3471 y(.)-38 3484 y(.)-38 3497 y(.)-38 3510 +y(.)-38 3523 y(.)-38 3536 y(.)-38 3548 y(.)-38 3561 y(.)-38 +3574 y(.)-38 3587 y(.)-38 3600 y(.)-38 3613 y(.)-38 3626 +y(.)-38 3639 y(.)-38 3652 y(.)-38 3665 y(.)-38 3678 y(.)-38 +3691 y(.)-38 3704 y(.)-38 3717 y(.)-38 3730 y(.)-38 3743 +y(.)-38 3756 y(.)-38 3769 y(.)-38 3782 y(.)-38 3795 y(.)-38 +3808 y(.)-38 3821 y(.)-38 3834 y(.)-38 3847 y(.)-38 3860 +y(.)-38 3873 y(.)-38 3886 y(.)-38 3899 y(.)-38 3912 y(.)-38 +3925 y(.)-38 3938 y(.)-38 3951 y(.)-38 3964 y(.)-38 3977 +y(.)-38 3990 y(.)-38 4003 y(.)-38 4015 y(.)-38 4028 y(.)-38 +4041 y(.)-38 4054 y(.)-38 4067 y(.)-38 4080 y(.)-38 4093 +y(.)-38 4106 y(.)-38 4119 y(.)-38 4132 y(.)-38 4145 y(.)-38 +4158 y(.)-38 4171 y(.)-38 4184 y(.)-38 4197 y(.)-38 4210 +y(.)-38 4223 y(.)-38 4236 y(.)-38 4249 y(.)-38 4262 y(.)-38 +4275 y(.)-38 4288 y(.)-38 4301 y(.)-38 4314 y(.)-38 4327 +y(.)-38 4340 y(.)-38 4353 y(.)-38 4366 y(.)-38 4379 y(.)-38 +4392 y(.)-38 4405 y(.)0 1925 y Fs(commonp)12 b Fw(is)g(true)i(if)f(its) +g(argumen)o(t)e(is)i(an)o(y)g(standard)g(Common)d(Lisp)j(data)g(t)o(yp) +q(e,)g(and)0 1977 y(otherwise)i(is)f(false.)0 2062 y +Fs(\(commonp)20 b(x\))g Ft(\021)i Fs(\(typep)e(x)506 +2066 y Fn(')530 2062 y Fs(common\))-33 2078 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2148 a Fw(X3J13)12 b(v)o(oted)g(in)h(Marc)o(h)g(1989)e +Ft(h)p Fw(17)p Ft(i)h Fw(to)h(remo)o(v)o(e)f(the)h(predicate)g +Fs(commonp)f Fw(\(and)g(the)-33 2119 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2200 a(t)o(yp)q(e)i Fs(common)p Fw(\))f(from)f(the)j +(language.)-33 2211 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2277 a(See)21 b(also)g Fs(standard-char-p)p +Fw(,)e Fs(string-char-p)p Fw(,)g Fs(streamp)p Fw(,)i +Fs(random-state-p)p Fw(,)0 2329 y Fs(readtablep)p Fw(,)11 +b Fs(hash-table-p)p Fw(,)g(and)j Fs(pathnamep)p Fw(.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 110 134 +110 133 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(110)77 b(COMMON)13 +b(LISP)0 295 y Fo(6.3.)20 b(Equalit)n(y)14 b(Predicates)0 +373 y Fw(Common)8 b(Lisp)j(pro)o(vides)h(a)f(sp)q(ectrum)h(of)e +(predicates)j(for)e(testing)h(for)f(equalit)o(y)f(of)h(t)o(w)o(o)0 +425 y(ob)r(jects:)23 b Fs(eq)15 b Fw(\(the)h(most)e(sp)q(eci\014c\),)j +Fs(eql)p Fw(,)e Fs(equal)p Fw(,)g(and)g Fs(equalp)f Fw(\(the)i(most)f +(general\).)0 477 y Fs(eq)f Fw(and)g Fs(equal)e Fw(ha)o(v)o(e)i(the)h +(meanings)e(traditional)f(in)i(Lisp.)k Fs(eql)c Fw(w)o(as)g(added)g(b)q +(ecause)0 529 y(it)i(is)g(frequen)o(tly)h(needed,)h(and)e +Fs(equalp)f Fw(w)o(as)h(added)h(primarily)d(in)i(order)h(to)f(ha)o(v)o +(e)g(a)0 581 y(v)o(ersion)d(of)f Fs(equal)f Fw(that)i(w)o(ould)f +(ignore)g(t)o(yp)q(e)h(di\013erences)i(when)e(comparing)e(n)o(um)o(b)q +(ers)0 633 y(and)17 b(case)i(di\013erences)g(when)f(comparing)e(c)o +(haracters.)30 b(If)17 b(t)o(w)o(o)g(ob)r(jects)i(satisfy)e(an)o(y)0 +685 y(one)c(of)f(these)i(equalit)o(y)d(predicates,)j(then)f(they)g +(also)f(satisfy)h(all)e(those)i(that)g(are)g(more)0 736 +y(general.)1209 843 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(eq)21 b Fv(x)26 b(y)0 920 y Fs(\(eq)21 b Fv(x)g(y)p +Fs(\))c Fw(is)g(true)h(if)e(and)h(only)f(if)g Fv(x)h +Fw(and)g Fv(y)g Fw(are)h(the)f(same)g(iden)o(tical)f(ob)r(ject.)28 +b(\(Im-)0 972 y(plemen)o(tationally)m(,)10 b Fv(x)15 +b Fw(and)f Fv(y)g Fw(are)g(usually)g Fs(eq)f Fw(if)g(and)h(only)g(if)f +(they)i(address)g(the)g(same)0 1024 y(iden)o(tical)e(memory)f(lo)q +(cation.\))42 1076 y(It)g(should)g(b)q(e)h(noted)g(that)f(things)g +(that)g(prin)o(t)h(the)f(same)g(are)g(not)h(necessarily)g +Fs(eq)f Fw(to)0 1127 y(eac)o(h)k(other.)23 b(Sym)o(b)q(ols)13 +b(with)i(the)h(same)e(prin)o(t)h(name)f(usually)h(are)g +Fs(eq)g Fw(to)g(eac)o(h)h(other)0 1179 y(b)q(ecause)g(of)e(the)h(use)g +(of)e(the)i Fs(intern)e Fw(function.)19 b(Ho)o(w)o(ev)o(er,)c(n)o(um)o +(b)q(ers)f(with)g(the)h(same)0 1231 y(v)n(alue)e(need)i(not)f(b)q(e)g +Fs(eq)p Fw(,)f(and)h(t)o(w)o(o)f(similar)f(lists)i(are)g(usually)f(not) +h Fs(eq)p Fw(.)j(F)m(or)d(example:)0 1313 y Fs(\(eq)84 +1317 y Fn(')108 1313 y Fs(a)148 1317 y Fn(')172 1313 +y Fs(b\))21 b Fw(is)13 b(false.)0 1365 y Fs(\(eq)84 1369 +y Fn(')108 1365 y Fs(a)148 1369 y Fn(')172 1365 y Fs(a\))21 +b Fw(is)13 b(true.)0 1417 y Fs(\(eq)21 b(3)g(3\))f Fw(migh)o(t)12 +b(b)q(e)j(true)f(or)g(false,)f(dep)q(ending)i(on)e(the)i(implemen)o +(tatio)o(n.)0 1469 y Fs(\(eq)21 b(3)g(3.0\))f Fw(is)14 +b(false.)0 1521 y Fs(\(eq)21 b(3.0)f(3.0\))g Fw(migh)o(t)12 +b(b)q(e)j(true)f(or)g(false,)f(dep)q(ending)i(on)f(the)g(implemen)o +(tation.)0 1572 y Fs(\(eq)21 b(#)87 1568 y(-)87 1576 +y(-)108 1572 y(c\(3)g(-4\))f(#)281 1568 y(-)281 1576 +y(-)303 1572 y(c\(3)h(-4\)\))42 1624 y Fw(migh)o(t)12 +b(b)q(e)j(true)f(or)g(false,)f(dep)q(ending)i(on)f(the)g(implemen)o +(tatio)o(n.)0 1676 y Fs(\(eq)21 b(#)87 1672 y(-)87 1680 +y(-)108 1676 y(c\(3)g(-4.0\))f(#)325 1672 y(-)325 1680 +y(-)347 1676 y(c\(3)g(-4\)\))h Fw(is)13 b(false.)0 1728 +y Fs(\(eq)21 b(\(cons)214 1732 y Fn(')238 1728 y Fs(a)279 +1732 y Fn(')302 1728 y Fs(b\))g(\(cons)495 1732 y Fn(')518 +1728 y Fs(a)559 1732 y Fn(')582 1728 y Fs(c\)\))g Fw(is)13 +b(false.)0 1780 y Fs(\(eq)21 b(\(cons)214 1784 y Fn(')238 +1780 y Fs(a)279 1784 y Fn(')302 1780 y Fs(b\))g(\(cons)495 +1784 y Fn(')518 1780 y Fs(a)559 1784 y Fn(')582 1780 +y Fs(b\)\))g Fw(is)13 b(false.)0 1832 y Fs(\(eq)84 1836 +y Fn(')108 1832 y Fs(\(a)20 b(.)h(b\))278 1836 y Fn(')301 +1832 y Fs(\(a)g(.)g(b\)\))g Fw(migh)o(t)11 b(b)q(e)k(true)g(or)f +(false.)0 1884 y Fs(\(progn)20 b(\(setq)g(x)h(\(cons)453 +1888 y Fn(')476 1884 y Fs(a)517 1888 y Fn(')540 1884 +y Fs(b\)\))g(\(eq)g(x)g(x\)\))f Fw(is)14 b(true.)0 1936 +y Fs(\(progn)20 b(\(setq)g(x)323 1940 y Fn(')346 1936 +y Fs(\(a)h(.)g(b\)\))f(\(eq)h(x)g(x\)\))g Fw(is)13 b(true.)0 +1988 y Fs(\(eq)21 b(#)87 1984 y(-)87 1992 y(-)108 1988 +y(\\A)g(#)173 1984 y(-)173 1992 y(-)195 1988 y(\\A\))f +Fw(migh)o(t)12 b(b)q(e)j(true)f(or)g(false,)f(dep)q(ending)i(on)f(the)g +(implemen)o(tation.)0 2039 y Fs(\(eq)21 b("Foo")f("Foo"\))g +Fw(migh)o(t)11 b(b)q(e)k(true)g(or)e(false.)0 2091 y +Fs(\(eq)21 b("Foo")f(\(copy-seq)f("Foo"\)\))h Fw(is)13 +b(false.)0 2143 y Fs(\(eq)21 b("FOO")f("foo"\))g Fw(is)13 +b(false.)0 2225 y(In)g(Common)d(Lisp,)j(unlik)o(e)g(some)f(other)i +(Lisp)f(dialects,)g(the)h(implemen)o(tation)c(is)j(p)q(er-)0 +2277 y(mitted)h(to)i(mak)o(e)d(\\copies")j(of)f(c)o(haracters)i(and)e +(n)o(um)o(b)q(ers)g(at)g(an)o(y)g(time.)22 b(\(This)15 +b(p)q(er-)0 2329 y(mission)g(is)h(gran)o(ted)h(b)q(ecause)h(it)f(allo)o +(ws)e(tremendous)i(p)q(erformance)f(impro)o(v)o(emen)o(ts)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 111 135 +111 134 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PREDICA)m(TES)1107 +b(111)0 295 y Fw(in)14 b(man)o(y)f(common)f(situations.\))20 +b(The)15 b(net)g(e\013ect)h(is)f(that)g(Commo)o(n)d(Lisp)i(mak)o(es)g +(no)0 347 y(guaran)o(tee)i(that)g Fs(eq)f Fw(will)f(b)q(e)i(true)g(ev)o +(en)h(when)f(b)q(oth)f(its)h(argumen)o(ts)f(are)h(\\the)g(same)0 +399 y(thing")d(if)g(that)h(thing)g(is)f(a)h(c)o(haracter)h(or)f(n)o(um) +o(b)q(er.)j(F)m(or)d(example:)0 497 y Fs(\(let)20 b(\(\(x)h(5\)\))f +(\(eq)h(x)g(x\)\))g Fw(migh)o(t)11 b(b)q(e)k(true)g(or)e(false.)0 +593 y(The)g(predicate)h Fs(eql)e Fw(is)g(the)h(same)f(as)g +Fs(eq)p Fw(,)g(except)i(that)f(if)e(the)j(argumen)o(ts)d(are)i(c)o +(harac-)0 645 y(ters)j(or)f(n)o(um)o(b)q(ers)g(of)f(the)i(same)e(t)o +(yp)q(e)h(then)h(their)f(v)n(alues)g(are)g(compared.)21 +b(Th)o(us)15 b Fs(eql)0 697 y Fw(tells)e(whether)h(t)o(w)o(o)f(ob)r +(jects)h(are)f Fv(c)n(onc)n(eptual)r(ly)h Fw(the)f(same,)f(whereas)i +Fs(eq)e Fw(tells)h(whether)0 749 y(t)o(w)o(o)j(ob)r(jects)i(are)f +Fv(implementational)r(ly)f Fw(iden)o(tical.)26 b(It)17 +b(is)f(for)g(this)h(reason)g(that)g Fs(eql)p Fw(,)0 801 +y(not)12 b Fs(eq)p Fw(,)g(is)h(the)g(default)f(comparison)f(predicate)i +(for)f(the)h(sequence)i(functions)e(de\014ned)0 853 y(in)g(c)o(hapter)i +(14.)p 0 913 V 0 974 a Fm(Implemen)o(tation)g(note:)22 +b Fj(eq)14 b FA(simply)j(compares)f(the)f(t)o(w)o(o)g(giv)o(en)h(p)q +(oin)o(ters,)h(so)f(an)o(y)f(kind)0 1020 y(of)d(ob)r(ject)h(that)f(is)h +(represen)o(ted)h(in)f(an)g(\\immediate")h(fashion)g(will)g(indeed)g +(ha)o(v)o(e)f(lik)o(e-v)n(alued)0 1065 y(instances)h(satisfy)f +Fj(eq)p FA(.)i(In)d(some)h(implemen)o(tations,)i(for)d(example,)h +(\014xn)o(ums)g(and)g(c)o(haracters)0 1111 y(happ)q(en)f(to)f(\\w)o +(ork.")17 b(Ho)o(w)o(ev)o(er,)10 b(no)h(program)h(should)h(dep)q(end)f +(on)f(this,)h(as)f(other)g(implemen-)0 1157 y(tations)k(of)e(Common)h +(Lisp)g(migh)o(t)h(not)e(use)h(an)g(immediate)h(represen)o(tation)h +(for)d(these)h(data)0 1202 y(t)o(yp)q(es.)p 0 1252 V +42 1393 a Fw(An)g(additional)e(problem)h(with)h Fs(eq)g +Fw(is)g(that)h(the)g(implemen)o(tati)o(on)d(is)i(p)q(ermitted)g(to)-38 +1368 y Fk(.)-38 1381 y(.)-38 1394 y(.)-38 1407 y(.)-38 +1420 y(.)-38 1433 y(.)-38 1446 y(.)-38 1459 y(.)-38 1472 +y(.)-38 1485 y(.)-38 1498 y(.)-38 1511 y(.)-38 1524 y(.)-38 +1537 y(.)-38 1550 y(.)-38 1563 y(.)-38 1576 y(.)-38 1589 +y(.)-38 1602 y(.)-38 1615 y(.)-38 1628 y(.)-38 1641 y(.)-38 +1654 y(.)-38 1667 y(.)-38 1680 y(.)-38 1693 y(.)-38 1706 +y(.)-38 1719 y(.)-38 1732 y(.)-38 1745 y(.)-38 1758 y(.)-38 +1771 y(.)-38 1784 y(.)-38 1797 y(.)-38 1810 y(.)-38 1822 +y(.)-38 1835 y(.)-38 1848 y(.)-38 1861 y(.)-38 1874 y(.)-38 +1887 y(.)-38 1900 y(.)-38 1913 y(.)-38 1926 y(.)-38 1939 +y(.)-38 1952 y(.)-38 1965 y(.)-38 1978 y(.)-38 1991 y(.)-38 +2004 y(.)-38 2017 y(.)-38 2030 y(.)-38 2043 y(.)-38 2056 +y(.)-38 2069 y(.)-38 2082 y(.)-38 2095 y(.)-38 2108 y(.)-38 +2121 y(.)-38 2134 y(.)-38 2147 y(.)-38 2160 y(.)-38 2173 +y(.)-38 2186 y(.)-38 2199 y(.)-38 2212 y(.)-38 2225 y(.)-38 +2238 y(.)-38 2251 y(.)-38 2264 y(.)-38 2276 y(.)-38 2289 +y(.)-38 2302 y(.)-38 2315 y(.)-38 2328 y(.)-38 2341 y(.)-38 +2354 y(.)-38 2367 y(.)-38 2380 y(.)-38 2393 y(.)-38 2406 +y(.)-38 2419 y(.)-38 2432 y(.)-38 2445 y(.)-38 2458 y(.)-38 +2471 y(.)-38 2484 y(.)-38 2497 y(.)-38 2510 y(.)-38 2523 +y(.)-38 2536 y(.)-38 2549 y(.)-38 2562 y(.)-38 2575 y(.)-38 +2588 y(.)-38 2601 y(.)-38 2614 y(.)-38 2627 y(.)-38 2640 +y(.)-38 2653 y(.)-38 2666 y(.)-38 2679 y(.)-38 2692 y(.)-38 +2705 y(.)-38 2718 y(.)-38 2731 y(.)-38 2743 y(.)-38 2756 +y(.)-38 2769 y(.)-38 2782 y(.)-38 2795 y(.)-38 2808 y(.)-38 +2821 y(.)-38 2834 y(.)-38 2847 y(.)-38 2860 y(.)-38 2873 +y(.)-38 2886 y(.)-38 2899 y(.)-38 2912 y(.)-38 2925 y(.)-38 +2938 y(.)-38 2951 y(.)-38 2964 y(.)-38 2977 y(.)-38 2990 +y(.)-38 3003 y(.)-38 3016 y(.)-38 3029 y(.)-38 3042 y(.)-38 +3055 y(.)-38 3068 y(.)-38 3081 y(.)-38 3094 y(.)-38 3107 +y(.)-38 3120 y(.)-38 3133 y(.)-38 3146 y(.)-38 3159 y(.)-38 +3172 y(.)-38 3185 y(.)-38 3198 y(.)-38 3210 y(.)-38 3223 +y(.)-38 3236 y(.)-38 3249 y(.)-38 3262 y(.)-38 3275 y(.)-38 +3288 y(.)-38 3301 y(.)-38 3314 y(.)-38 3327 y(.)-38 3340 +y(.)-38 3353 y(.)-38 3366 y(.)-38 3379 y(.)-38 3392 y(.)-38 +3405 y(.)-38 3418 y(.)-38 3431 y(.)-38 3444 y(.)-38 3457 +y(.)-38 3470 y(.)-38 3483 y(.)-38 3496 y(.)-38 3509 y(.)-38 +3522 y(.)-38 3535 y(.)-38 3548 y(.)-38 3561 y(.)-38 3574 +y(.)-38 3587 y(.)-38 3600 y(.)-38 3613 y(.)-38 3626 y(.)-38 +3639 y(.)-38 3652 y(.)-38 3665 y(.)-38 3677 y(.)-38 3690 +y(.)-38 3703 y(.)-38 3716 y(.)-38 3729 y(.)-38 3742 y(.)-38 +3755 y(.)-38 3768 y(.)-38 3781 y(.)-38 3794 y(.)-38 3807 +y(.)-38 3820 y(.)-38 3833 y(.)-38 3846 y(.)-38 3859 y(.)-38 +3872 y(.)-38 3885 y(.)-38 3898 y(.)-38 3911 y(.)-38 3924 +y(.)-38 3937 y(.)-38 3950 y(.)0 1445 y Fw(\\collapse")h(constan)o(ts)i +(\(or)f(p)q(ortions)g(thereof)s(\))h(app)q(earing)f(in)f(co)q(de)i(to)f +(b)q(e)g(compiled)0 1497 y(if)h(they)i(are)f Fs(equal)p +Fw(.)29 b(An)18 b(ob)r(ject)h(is)f(considered)h(to)f(b)q(e)h(a)e +(constan)o(t)i(in)e(co)q(de)i(to)f(b)q(e)0 1549 y(compiled)13 +b(if)h(it)g(is)g(a)h(self-ev)n(aluating)e(form)g(or)h(is)h(con)o +(tained)f(in)h(a)f Fs(quote)f Fw(form.)19 b(This)0 1601 +y(is)12 b(wh)o(y)g Fs(\(eq)20 b("Foo")g("Foo"\))11 b +Fw(migh)o(t)f(b)q(e)j(true)g(or)f(false;)g(in)f(in)o(terpreted)j(co)q +(de)f(it)f(w)o(ould)0 1653 y(normally)d(b)q(e)k(false,)e(b)q(ecause)j +(reading)e(in)f(the)i(form)d Fs(\(eq)21 b("Foo")f("Foo"\))11 +b Fw(w)o(ould)g(con-)0 1705 y(struct)18 b(distinct)f(strings)g(for)f +(the)i(t)o(w)o(o)e(argumen)o(ts)g(to)g Fs(eq)p Fw(,)h(but)f(the)i +(compiler)d(migh)o(t)0 1757 y(c)o(ho)q(ose)i(to)e(use)i(the)f(same)f +(iden)o(tical)g(string)h(or)g(t)o(w)o(o)f(distinct)h(copies)g(as)g(the) +h(t)o(w)o(o)e(ar-)0 1809 y(gumen)o(ts)d(in)g(the)h(call)f(to)g +Fs(eq)p Fw(.)17 b(Similarly)l(,)9 b Fs(\(eq)746 1813 +y Fn(')769 1809 y Fs(\(a)21 b(.)g(b\))939 1813 y Fn(')963 +1809 y Fs(\(a)g(.)g(b\)\))11 b Fw(migh)o(t)g(b)q(e)i(true)0 +1860 y(or)k(false,)g(dep)q(ending)g(on)g(whether)i(the)e(constan)o(t)h +(conses)g(app)q(earing)f(in)f(the)i Fs(quote)0 1912 y +Fw(forms)f(w)o(ere)i(collapsed)f(b)o(y)f(the)i(compiler.)29 +b(Ho)o(w)o(ev)o(er,)19 b Fs(\(eq)i(\(cons)1134 1916 y +Fn(')1157 1912 y Fs(a)1198 1916 y Fn(')1221 1912 y Fs(b\))g(\(cons)-2 +1968 y Fn(')21 1964 y Fs(a)62 1968 y Fn(')85 1964 y Fs(b\)\))14 +b Fw(is)f(alw)o(a)o(ys)g(false,)h(b)q(ecause)h(ev)o(ery)g(distinct)f +(call)g(to)g(the)g Fs(cons)f Fw(function)h(nec-)0 2016 +y(essarily)g(pro)q(duces)h(a)f(new)g(and)g(distinct)g(cons.)-33 +2028 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2069 a(X3J13)k(v)o(oted)h(in)f(Marc)o(h)h(1989)f +Ft(h)p Fw(147)p Ft(i)g Fw(to)g(clarify)g(that)h Fs(eval)f +Fw(and)g Fs(compile)f Fw(are)-33 2041 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2121 a(not)h(p)q(ermitted)g(either)i(to)e(cop)o(y)g(or)g +(to)h(coalesce)g(\(\\collapse"\))f(constan)o(ts)h(\(see)h +Fs(eq)p Fw(\))0 2173 y(app)q(earing)11 b(in)g(the)h(co)q(de)g(they)g +(pro)q(cess;)i(the)e(resulting)f(program)f(b)q(eha)o(vior)h(m)o(ust)g +(refer)0 2225 y(to)h(ob)r(jects)i(that)f(are)g Fs(eql)f +Fw(to)h(the)g(corresp)q(onding)g(ob)r(jects)h(in)e(the)i(source)g(co)q +(de.)k(Only)0 2277 y(the)g Fs(compile-file)p Fw(/)p Fs(load)d +Fw(pro)q(cess)k(is)f(p)q(ermitted)g(to)f(cop)o(y)h(or)g(coalesce)h +(constan)o(ts)0 2329 y(\(see)c(section)g(25.1\).)-33 +2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 112 136 +112 135 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(112)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(eql)21 b Fv(x)26 b(y)0 373 y Fw(The)12 b Fs(eql)f +Fw(predicate)h(is)f(true)h(if)f(its)g(argumen)o(ts)g(are)h +Fs(eq)p Fw(,)f(or)g(if)g(they)h(are)f(n)o(um)o(b)q(ers)g(of)g(the)0 +424 y(same)g(t)o(yp)q(e)i(with)f(the)h(same)e(v)n(alue,)g(or)i(if)e +(they)i(are)f(c)o(haracter)i(ob)r(jects)f(that)f(represen)o(t)0 +476 y(the)i(same)f(c)o(haracter.)20 b(F)m(or)13 b(example:)0 +572 y Fs(\(eql)106 576 y Fn(')130 572 y Fs(a)170 576 +y Fn(')194 572 y Fs(b\))20 b Fw(is)14 b(false.)0 624 +y Fs(\(eql)106 628 y Fn(')130 624 y Fs(a)170 628 y Fn(')194 +624 y Fs(a\))20 b Fw(is)14 b(true.)0 676 y Fs(\(eql)20 +b(3)h(3\))g Fw(is)14 b(true.)0 727 y Fs(\(eql)20 b(3)h(3.0\))g +Fw(is)13 b(false.)0 779 y Fs(\(eql)20 b(3.0)h(3.0\))f +Fw(is)14 b(true.)0 831 y Fs(\(eql)20 b(#)108 827 y(-)108 +835 y(-)130 831 y(c\(3)h(-4\))f(#)303 827 y(-)303 835 +y(-)325 831 y(c\(3)h(-4\)\))f Fw(is)14 b(true.)0 883 +y Fs(\(eql)20 b(#)108 879 y(-)108 887 y(-)130 883 y(c\(3)h(-4.0\))f(#) +347 879 y(-)347 887 y(-)369 883 y(c\(3)g(-4\)\))h Fw(is)13 +b(false.)0 935 y Fs(\(eql)20 b(\(cons)236 939 y Fn(')260 +935 y Fs(a)300 939 y Fn(')324 935 y Fs(b\))h(\(cons)516 +939 y Fn(')540 935 y Fs(a)581 939 y Fn(')604 935 y Fs(c\)\))g +Fw(is)13 b(false.)0 987 y Fs(\(eql)20 b(\(cons)236 991 +y Fn(')260 987 y Fs(a)300 991 y Fn(')324 987 y Fs(b\))h(\(cons)516 +991 y Fn(')540 987 y Fs(a)581 991 y Fn(')604 987 y Fs(b\)\))g +Fw(is)13 b(false.)0 1039 y Fs(\(eql)106 1043 y Fn(')130 +1039 y Fs(\(a)20 b(.)h(b\))300 1043 y Fn(')323 1039 y +Fs(\(a)g(.)g(b\)\))f Fw(migh)o(t)12 b(b)q(e)j(true)f(or)g(false.)0 +1091 y Fs(\(progn)20 b(\(setq)g(x)h(\(cons)453 1095 y +Fn(')476 1091 y Fs(a)517 1095 y Fn(')540 1091 y Fs(b\)\))g(\(eql)f(x)h +(x\)\))g Fw(is)14 b(true.)0 1143 y Fs(\(progn)20 b(\(setq)g(x)323 +1147 y Fn(')346 1143 y Fs(\(a)h(.)g(b\)\))f(\(eql)h(x)g(x\)\))f +Fw(is)14 b(true.)0 1194 y Fs(\(eql)20 b(#)108 1190 y(-)108 +1198 y(-)130 1194 y(\\A)h(#)195 1190 y(-)195 1198 y(-)217 +1194 y(\\A\))f Fw(is)14 b(true.)0 1246 y Fs(\(eql)20 +b("Foo")g("Foo"\))g Fw(migh)o(t)12 b(b)q(e)j(true)f(or)g(false.)0 +1298 y Fs(\(eql)20 b("Foo")g(\(copy-seq)g("Foo"\)\))g +Fw(is)13 b(false.)0 1350 y Fs(\(eql)20 b("FOO")g("foo"\))g +Fw(is)14 b(false.)0 1445 y(Normally)19 b Fs(\(eql)h(1.0s0)g(1.0d0\))g +Fw(w)o(ould)h(b)q(e)h(false,)g(under)h(the)f(assumption)e(that)0 +1496 y Fs(1.0s0)14 b Fw(and)h Fs(1.0d0)f Fw(are)h(of)f(distinct)i(data) +e(t)o(yp)q(es.)23 b(Ho)o(w)o(ev)o(er,)15 b(implemen)o(tatio)o(ns)e +(that)0 1548 y(do)e(not)g(pro)o(vide)g(four)g(distinct)h(\015oating-p)q +(oin)o(t)e(formats)f(are)j(p)q(ermitted)f(to)g(\\collapse")0 +1600 y(the)16 b(four)e(formats)g(in)o(to)g(some)g(smaller)f(n)o(um)o(b) +q(er)i(of)f(them;)g(in)h(suc)o(h)g(an)g(implemen)o(ta-)0 +1652 y(tion)i Fs(\(eql)j(1.0s0)g(1.0d0\))d Fw(migh)o(t)e(b)q(e)j(true.) +30 b(The)18 b(predicate)1046 1648 y Fs(U)1046 1656 y(U)1085 +1652 y Fw(will)e(compare)h(the)0 1704 y(v)n(alues)d(of)f(t)o(w)o(o)g(n) +o(um)o(b)q(ers)h(ev)o(en)g(if)f(the)i(n)o(um)o(b)q(ers)e(are)i(of)e +(di\013eren)o(t)i(t)o(yp)q(es.)42 1757 y(If)g(an)g(implemen)o(tation)e +(supp)q(orts)k(p)q(ositiv)o(e)e(and)h(negativ)o(e)f(zeros)i(as)f +(distinct)g(v)n(al-)0 1809 y(ues)d(\(as)f(in)g(the)h(IEEE)g(prop)q +(osed)g(standard)f(\015oating-p)q(oin)o(t)f(format\),)f(then)j +Fs(\(eql)20 b(0.0)0 1861 y(-0.0\))13 b Fw(will)f(b)q(e)i(false.)k +(Otherwise,)c(when)h(the)f(syn)o(tax)f Fs(-0.0)g Fw(is)h(read)g(it)f +(will)f(b)q(e)j(in)o(ter-)0 1913 y(preted)h(as)e(the)h(v)n(alue)e +Fs(0.0)p Fw(,)h(and)g(so)g Fs(\(eql)20 b(0.0)h(-0.0\))13 +b Fw(will)g(b)q(e)i(true.)20 b(The)15 b(predicate)0 1961 +y Fs(U)0 1969 y(U)36 1965 y Fw(di\013ers)g(from)d Fs(eql)h +Fw(in)h(that)g Fs(\()498 1961 y(U)498 1969 y(U)541 1965 +y(0.0)20 b(-0.0\))13 b Fw(will)g(alw)o(a)o(ys)g(b)q(e)h(true,)h(b)q +(ecause)1271 1961 y Fs(U)1271 1969 y(U)1307 1965 y Fw(com-)0 +2016 y(pares)21 b(the)f(mathematical)c(v)n(alues)k(of)f(its)h(op)q +(erands,)i(whereas)f Fs(eql)e Fw(compares)g(the)0 2068 +y(represen)o(tational)c(v)n(alues,)e(so)h(to)g(sp)q(eak.)42 +2121 y(Tw)o(o)g(complex)f(n)o(um)o(b)q(ers)i(are)g(considered)h(to)f(b) +q(e)g Fs(eql)f Fw(if)g(their)h(real)g(parts)g(are)g Fs(eql)0 +2173 y Fw(and)f(their)h(imaginary)c(parts)k(are)f Fs(eql)p +Fw(.)k(F)m(or)c(example,)f Fs(\(eql)20 b(#)1006 2169 +y(-)1006 2177 y(-)1028 2173 y(C\(4)g(5\))h(#)1179 2169 +y(-)1179 2177 y(-)1201 2173 y(C\(4)f(5\)\))14 b Fw(is)0 +2225 y(true)e(and)f Fs(\(eql)21 b(#)272 2221 y(-)272 +2229 y(-)293 2225 y(C\(4)g(5\))g(#)445 2221 y(-)445 2229 +y(-)466 2225 y(C\(4.0)g(5.0\)\))10 b Fw(is)h(false.)17 +b(Note)12 b(that)f(while)g Fs(\(eql)20 b(#)1264 2221 +y(-)1264 2229 y(-)1286 2225 y(C\(5.0)0 2277 y(0.0\))g(5.0\))e +Fw(is)g(false,)h Fs(\(eql)i(#)480 2273 y(-)480 2281 y(-)501 +2277 y(C\(5)g(0\))g(5\))d Fw(is)g(true.)33 b(In)18 b(the)h(case)h(of)e +Fs(\(eql)i(#)1264 2273 y(-)1264 2281 y(-)1286 2277 y(C\(5.0)0 +2329 y(0.0\))g(5.0\))f Fw(the)h(t)o(w)o(o)f(argumen)o(ts)f(are)i(of)f +(di\013eren)o(t)h(t)o(yp)q(es)g(and)f(so)h(cannot)f(satisfy)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 113 137 +113 136 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PREDICA)m(TES)1107 +b(113)0 295 y Fs(eql)p Fw(;)13 b(that's)h(all)f(there)j(is)e(to)g(it.) +19 b(In)14 b(the)h(case)g(of)f Fs(\(eql)20 b(#)894 291 +y(-)894 299 y(-)916 295 y(C\(5)g(0\))h(5\))p Fw(,)13 +b(ho)o(w)o(ev)o(er,)i Fs(#)1308 291 y(-)1308 299 y(-)1329 +295 y(C\(5)0 347 y(0\))f Fw(is)g(not)h(a)f(complex)f(n)o(um)o(b)q(er)h +(but)h(is)f(alw)o(a)o(ys)f(automatically)f(reduced)k(b)o(y)e(the)h +(rule)0 399 y(of)f(complex)f(canonicalization)g(to)i(the)g(in)o(teger)g +Fs(5)p Fw(,)f(just)h(as)g(the)g(apparen)o(t)g(ratio)f +Fs(20/4)0 450 y Fw(is)g(alw)o(a)o(ys)f(simpli\014ed)f(to)h +Fs(5)p Fw(.)42 503 y(The)18 b(case)h(of)f Fs(\(eql)i("Foo")h("Foo"\))c +Fw(is)h(discussed)i(ab)q(o)o(v)o(e)e(in)g(the)g(description)h(of)0 +555 y Fs(eq)p Fw(.)27 b(While)16 b Fs(eql)g Fw(compares)h(the)g(v)n +(alues)g(of)f(n)o(um)o(b)q(ers)h(and)g(c)o(haracters,)i(it)d(do)q(es)i +(not)0 606 y(compare)e(the)i(con)o(ten)o(ts)g(of)f(strings.)28 +b(T)m(o)16 b(compare)g(the)i(c)o(haracters)h(of)d(t)o(w)o(o)h(strings,) +0 658 y(one)d(should)g(use)h Fs(equal)p Fw(,)d Fs(equalp)p +Fw(,)g Fs(string)702 654 y(U)702 662 y(U)723 658 y Fw(,)h(or)h +Fs(string-equal)p Fw(.)p 0 718 V 0 779 a Fm(Compatibilit)o(y)h(note:)23 +b FA(The)16 b(Common)g(Lisp)g(function)i Fj(eql)c FA(is)i(similar)i(to) +e(the)g(In)o(terlisp)0 824 y(function)g Fj(eqp)p FA(.)21 +b(Ho)o(w)o(ev)o(er,)15 b Fj(eql)e FA(considers)k Fj(3)d +FA(and)i Fj(3.0)d FA(to)i(b)q(e)g(di\013eren)o(t,)i(whereas)e +Fj(eqp)e FA(con-)0 870 y(siders)h(them)f(to)g(b)q(e)g(the)g(same;)g +Fj(eqp)e FA(b)q(eha)o(v)o(es)j(lik)o(e)h(the)e(Common)g(Lisp)1076 +867 y Fj(U)1076 873 y(U)1108 870 y FA(function,)h(not)f(lik)o(e)0 +916 y Fj(eql)p FA(,)e(when)j(b)q(oth)f(argumen)o(ts)h(are)f(n)o(um)o(b) +q(ers.)p 0 955 V 1209 1079 a Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(equal)20 b Fv(x)27 b(y)0 1156 y Fw(The)14 +b Fs(equal)f Fw(predicate)i(is)e(true)i(if)d(its)i(argumen)o(ts)f(are)h +(structurally)g(similar)e(\(isomor-)0 1208 y(phic\))18 +b(ob)r(jects.)29 b(A)18 b(rough)f(rule)h(of)f(th)o(um)o(b)f(is)h(that)h +(t)o(w)o(o)e(ob)r(jects)j(are)f Fs(equal)e Fw(if)h(and)0 +1260 y(only)c(if)g(their)h(prin)o(ted)h(represen)o(tations)g(are)g(the) +f(same.)42 1312 y(Num)o(b)q(ers)h(and)g(c)o(haracters)j(are)e(compared) +e(as)i(for)f Fs(eql)p Fw(.)23 b(Sym)o(b)q(ols)13 b(are)j(compared)0 +1364 y(as)f(for)g Fs(eq)p Fw(.)22 b(This)15 b(metho)q(d)g(of)g +(comparing)e(sym)o(b)q(ols)h(can)i(violate)e(the)i(rule)f(of)g(th)o(um) +o(b)0 1416 y(for)e Fs(equal)g Fw(and)g(prin)o(ted)h(represen)o +(tations,)h(but)f(only)e(in)i(the)g(infrequen)o(tly)f(o)q(ccurring)0 +1468 y(case)i(of)e(t)o(w)o(o)h(distinct)g(sym)o(b)q(ols)e(with)i(the)g +(same)f(prin)o(t)h(name.)42 1520 y(Certain)j(ob)r(jects)i(that)f(ha)o +(v)o(e)f(comp)q(onen)o(ts)h(are)g Fs(equal)e Fw(if)h(they)h(are)g(of)f +(the)i(same)0 1572 y(t)o(yp)q(e)d(and)f(corresp)q(onding)i(comp)q(onen) +o(ts)e(are)h Fs(equal)p Fw(.)22 b(This)15 b(test)i(is)e(implemen)o(ted) +e(in)0 1624 y(a)h(recursiv)o(e)h(manner)e(and)h(ma)o(y)e(fail)g(to)i +(terminate)f(for)h(circular)g(structures.)42 1676 y(F)m(or)h(conses,)j +Fs(equal)c Fw(is)i(de\014ned)h(recursiv)o(ely)g(as)f(the)h(t)o(w)o(o)f +Fv(c)n(ar)p Fw('s)f(b)q(eing)h Fs(equal)f Fw(and)0 1728 +y(the)f(t)o(w)o(o)g Fv(c)n(dr)p Fw('s)f(b)q(eing)h Fs(equal)p +Fw(.)42 1780 y(Tw)o(o)f(arra)o(ys)i(are)g Fs(equal)e +Fw(only)h(if)g(they)h(are)g Fs(eq)p Fw(,)e(with)h(one)h(exception:)20 +b(strings)15 b(and)0 1832 y(bit-v)o(ectors)k(are)g(compared)f(elemen)o +(t-b)o(y-elemen)o(t.)30 b(If)18 b(either)i(argumen)o(t)d(has)h(a)h +(\014ll)0 1884 y(p)q(oin)o(ter,)g(the)f(\014ll)g(p)q(oin)o(ter)g +(limits)d(the)k(n)o(um)o(b)q(er)e(of)h(elemen)o(ts)g(examined)e(b)o(y)i +Fs(equal)p Fw(.)0 1936 y(Upp)q(ercase)23 b(and)d(lo)o(w)o(ercase)h +(letters)h(in)f(strings)g(are)g(considered)h(b)o(y)e +Fs(equal)g Fw(to)g(b)q(e)0 1988 y(distinct.)e(\(In)c(con)o(trast,)g +Fs(equalp)f Fw(ignores)h(case)h(distinctions)f(in)f(strings.\))p +0 2047 V 0 2108 a Fm(Compatibilit)o(y)f(note:)19 b FA(In)13 +b(Lisp)h(Mac)o(hine)h(Lisp,)f Fj(equal)e FA(ignores)i(the)g +(di\013erence)h(b)q(et)o(w)o(een)0 2154 y(upp)q(ercase)i(and)g(lo)o(w)o +(ercase)f(letters)h(in)f(strings.)26 b(This)17 b(violates)g(the)f(rule) +h(of)e(th)o(um)o(b)i(ab)q(out)0 2199 y(prin)o(ted)g(represen)o +(tations,)i(ho)o(w)o(ev)o(er,)d(whic)o(h)h(is)f(v)o(ery)g(useful,)h +(esp)q(ecially)i(to)d(no)o(vices.)27 b(It)15 b(is)0 2245 +y(also)c(inconsisten)o(t)i(with)e(the)f(treatmen)o(t)h(of)f(single)i(c) +o(haracters,)f(whic)o(h)g(in)h(Lisp)f(Mac)o(hine)h(Lisp)0 +2291 y(are)h(represen)o(ted)h(as)f(\014xn)o(ums.)p 0 +2329 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 114 138 +114 137 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(114)77 b(COMMON)13 +b(LISP)42 295 y Fw(Tw)o(o)g(pathname)g(ob)r(jects)i(are)f +Fs(equal)f Fw(if)g(and)h(only)f(if)g(all)g(the)h(corresp)q(onding)h +(com-)0 347 y(p)q(onen)o(ts)g(\(host,)f(device,)h(and)f(so)h(on\))f +(are)g(equiv)n(alen)o(t.)19 b(\(Whether)c(or)g(not)f(upp)q(ercase)0 +399 y(and)i(lo)o(w)o(ercase)h(letters)g(are)g(considered)h(equiv)n +(alen)o(t)d(in)h(strings)g(app)q(earing)g(in)g(com-)0 +450 y(p)q(onen)o(ts)e(dep)q(ends)h(on)e(the)h(\014le)f(name)f(con)o(v)o +(en)o(tions)h(of)g(the)h(\014le)f(system.\))k(P)o(athnames)0 +502 y(that)d(are)g Fs(equal)f Fw(should)h(b)q(e)g(functionally)f(equiv) +n(alen)o(t.)42 555 y(X3J13)h(v)o(oted)i(in)e(June)i(1989)f +Ft(h)p Fw(71)p Ft(i)g Fw(to)g(clarify)f(that)h Fs(equal)f +Fw(nev)o(er)i(recursiv)o(ely)g(de-)-33 527 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 607 a(scends)k(an)o(y)e(structure)j(or)d(data)h(t)o(yp)q +(e)g(other)g(than)f(the)h(ones)g(explicitly)f(describ)q(ed)0 +659 y(ab)q(o)o(v)o(e:)i(conses,)c(bit-v)o(ectors,)f(strings,)g(and)g +(pathnames.)20 b(Num)o(b)q(ers)14 b(and)h(c)o(haracters)0 +711 y(are)h(compared)f(as)g(if)g(b)o(y)g Fs(eql)p Fw(,)g(and)g(all)f +(other)i(data)f(ob)r(jects)i(are)f(compared)f(as)g(if)g(b)o(y)0 +762 y Fs(eq)p Fw(.)-33 774 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 855 a Fs(\(equal)150 859 y Fn(')173 855 +y Fs(a)214 859 y Fn(')237 855 y Fs(b\))21 b Fw(is)14 +b(false.)0 907 y Fs(\(equal)150 911 y Fn(')173 907 y +Fs(a)214 911 y Fn(')237 907 y Fs(a\))21 b Fw(is)14 b(true.)0 +959 y Fs(\(equal)20 b(3)h(3\))g Fw(is)13 b(true.)0 1011 +y Fs(\(equal)20 b(3)h(3.0\))f Fw(is)14 b(false.)0 1062 +y Fs(\(equal)20 b(3.0)g(3.0\))h Fw(is)14 b(true.)0 1114 +y Fs(\(equal)20 b(#)152 1110 y(-)152 1118 y(-)174 1114 +y(c\(3)g(-4\))h(#)347 1110 y(-)347 1118 y(-)369 1114 +y(c\(3)f(-4\)\))h Fw(is)13 b(true.)0 1166 y Fs(\(equal)20 +b(#)152 1162 y(-)152 1170 y(-)174 1166 y(c\(3)g(-4.0\))g(#)390 +1162 y(-)390 1170 y(-)412 1166 y(c\(3)h(-4\)\))f Fw(is)14 +b(false.)0 1218 y Fs(\(equal)20 b(\(cons)280 1222 y Fn(')303 +1218 y Fs(a)344 1222 y Fn(')367 1218 y Fs(b\))h(\(cons)560 +1222 y Fn(')583 1218 y Fs(a)624 1222 y Fn(')648 1218 +y Fs(c\)\))f Fw(is)14 b(false.)0 1270 y Fs(\(equal)20 +b(\(cons)280 1274 y Fn(')303 1270 y Fs(a)344 1274 y Fn(')367 +1270 y Fs(b\))h(\(cons)560 1274 y Fn(')583 1270 y Fs(a)624 +1274 y Fn(')648 1270 y Fs(b\)\))f Fw(is)14 b(true.)0 +1322 y Fs(\(equal)150 1326 y Fn(')173 1322 y Fs(\(a)21 +b(.)g(b\))343 1326 y Fn(')367 1322 y Fs(\(a)g(.)f(b\)\))h +Fw(is)14 b(true.)0 1374 y Fs(\(progn)20 b(\(setq)g(x)h(\(cons)453 +1378 y Fn(')476 1374 y Fs(a)517 1378 y Fn(')540 1374 +y Fs(b\)\))g(\(equal)f(x)h(x\)\))f Fw(is)14 b(true.)0 +1426 y Fs(\(progn)20 b(\(setq)g(x)323 1430 y Fn(')346 +1426 y Fs(\(a)h(.)g(b\)\))f(\(equal)g(x)h(x\)\))g Fw(is)14 +b(true.)0 1478 y Fs(\(equal)20 b(#)152 1474 y(-)152 1482 +y(-)174 1478 y(\\A)g(#)238 1474 y(-)238 1482 y(-)260 +1478 y(\\A\))h Fw(is)14 b(true.)0 1529 y Fs(\(equal)20 +b("Foo")g("Foo"\))g Fw(is)14 b(true.)0 1581 y Fs(\(equal)20 +b("Foo")g(\(copy-seq)f("Foo"\)\))h Fw(is)14 b(true.)0 +1633 y Fs(\(equal)20 b("FOO")g("foo"\))g Fw(is)14 b(false.)0 +1725 y(T)m(o)e(compare)g(a)g(tree)i(of)d(conses)j(using)f +Fs(eql)f Fw(\(or)g(an)o(y)g(other)h(desired)h(predicate\))g(on)e(the)0 +1777 y(lea)o(v)o(es,)i(use)g Fs(tree-equal)p Fw(.)1209 +1939 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(equalp)20 +b Fv(x)26 b(y)0 2017 y Fw(Tw)o(o)15 b(ob)r(jects)h(are)f +Fs(equalp)f Fw(if)g(they)i(are)f Fs(equal)p Fw(;)f(if)g(they)i(are)f(c) +o(haracters)i(and)e(satisfy)0 2069 y Fs(char-equal)p +Fw(,)j(whic)o(h)h(ignores)g(alphab)q(etic)g(case)i(and)e(certain)g +(other)h(attributes)g(of)0 2120 y(c)o(haracters;)g(if)c(they)h(are)g(n) +o(um)o(b)q(ers)g(and)f(ha)o(v)o(e)h(the)g(same)f(n)o(umerical)g(v)n +(alue,)g(ev)o(en)i(if)0 2172 y(they)c(are)h(of)e(di\013eren)o(t)i(t)o +(yp)q(es;)f(or)g(if)f(they)h(ha)o(v)o(e)g(comp)q(onen)o(ts)g(that)g +(are)g(all)f Fs(equalp)p Fw(.)42 2225 y(Ob)r(jects)h(that)f(ha)o(v)o(e) +g(comp)q(onen)o(ts)g(are)g Fs(equalp)f Fw(if)g(they)h(are)g(of)g(the)g +(same)f(t)o(yp)q(e)i(and)0 2277 y(corresp)q(onding)d(comp)q(onen)o(ts)f +(are)g Fs(equalp)p Fw(.)15 b(This)10 b(test)h(is)f(implemen)o(ted)e(in) +h(a)h(recursiv)o(e)0 2329 y(manner)j(and)g(ma)o(y)e(fail)h(to)i +(terminate)e(for)h(circular)h(structures.)20 b(F)m(or)14 +b(conses,)g Fs(equalp)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 115 139 +115 138 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PREDICA)m(TES)1107 +b(115)0 295 y Fw(is)15 b(de\014ned)i(recursiv)o(ely)g(as)e(the)i(t)o(w) +o(o)e Fv(c)n(ar)p Fw('s)g(b)q(eing)h Fs(equalp)e Fw(and)h(the)h(t)o(w)o +(o)g Fv(c)n(dr)p Fw('s)f(b)q(eing)0 347 y Fs(equalp)p +Fw(.)42 399 y(Tw)o(o)d(arra)o(ys)h(are)g Fs(equalp)f +Fw(if)g(and)g(only)g(if)g(they)i(ha)o(v)o(e)e(the)i(same)e(n)o(um)o(b)q +(er)g(of)g(dimen-)0 451 y(sions,)i(the)g(dimensions)f(matc)o(h,)f(and)i +(the)h(corresp)q(onding)f(comp)q(onen)o(ts)g(are)g Fs(equalp)p +Fw(.)0 503 y(The)f(sp)q(ecializations)f(need)i(not)e(matc)o(h;)g(for)g +(example,)f(a)h(string)h(and)f(a)g(general)h(arra)o(y)0 +555 y(that)19 b(happ)q(ens)h(to)f(con)o(tain)g(the)g(same)g(c)o +(haracters)h(will)e(b)q(e)i Fs(equalp)d Fw(\(though)i(de\014-)0 +607 y(nitely)d(not)g Fs(equal)p Fw(\).)24 b(If)16 b(either)h(argumen)o +(t)e(has)h(a)g(\014ll)f(p)q(oin)o(ter,)i(the)g(\014ll)e(p)q(oin)o(ter)h +(lim-)0 659 y(its)g(the)h(n)o(um)o(b)q(er)f(of)g(elemen)o(ts)g +(examined)f(b)o(y)h Fs(equalp)p Fw(.)25 b(Because)18 +b Fs(equalp)d Fw(p)q(erforms)0 711 y(elemen)o(t-b)o(y-elemen)o(t)d +(comparisons)g(of)h(strings)h(and)g(ignores)f(the)h(alphab)q(etic)g +(case)g(of)0 762 y(c)o(haracters,)f(case)g(distinctions)e(are)h +(therefore)h(also)e(ignored)h(when)g Fs(equalp)e Fw(compares)0 +814 y(strings.)42 867 y(Tw)o(o)i(sym)o(b)q(ols)g(can)i(b)q(e)f +Fs(equalp)f Fw(only)h(if)f(they)i(are)g Fs(eq)p Fw(,)e(that)h(is,)g +(the)h(same)e(iden)o(tical)0 919 y(ob)r(ject.)42 971 +y(X3J13)17 b(v)o(oted)h(in)f(June)h(1989)f Ft(h)p Fw(71)p +Ft(i)g Fw(to)h(sp)q(ecify)g(that)g Fs(equalp)e Fw(compares)h(comp)q(o-) +-33 943 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1023 a(nen)o(ts)f(of)f(hash)g(tables)h(\(see)h(b)q(elo)o +(w\),)e(and)g(to)g(clarify)f(that)i(otherwise)g Fs(equalp)e +Fw(nev)o(er)0 1075 y(recursiv)o(ely)g(descends)g(an)o(y)f(structure)h +(or)f(data)f(t)o(yp)q(e)h(other)h(than)e(the)i(ones)f(explicitly)0 +1127 y(describ)q(ed)i(ab)q(o)o(v)o(e:)i(conses,)d(arra)o(ys)f +(\(including)f(bit-v)o(ectors)h(and)g(strings\),)g(and)g(path-)0 +1179 y(names.)18 b(Num)o(b)q(ers)d(are)f(compared)g(for)g(n)o(umerical) +e(equalit)o(y)i(\(see)1077 1175 y Fs(U)1077 1183 y(U)1099 +1179 y Fw(\),)g(c)o(haracters)i(are)0 1231 y(compared)d(as)h(if)f(b)o +(y)g Fs(char-equal)p Fw(,)f(and)h(all)g(other)h(data)g(ob)r(jects)g +(are)h(compared)e(as)h(if)0 1283 y(b)o(y)g Fs(eq)p Fw(.)42 +1335 y(Tw)o(o)k(hash)h(tables)g(are)g(considered)i(the)e(same)f(b)o(y)h +Fs(equalp)e Fw(if)h(and)h(only)f(if)g(they)0 1387 y(satisfy)c(a)f +(four-part)h(test:)0 1456 y Fu(.)42 1464 y Fw(They)h(m)o(ust)e(b)q(e)j +(of)e(the)h(same)f(kind;)h(that)g(is,)f(equiv)n(alen)o(t)g +Fs(:test)g Fw(argumen)o(ts)g(w)o(ere)42 1516 y(giv)o(en)f(to)h +Fs(make-hash-table)c Fw(when)15 b(the)f(t)o(w)o(o)g(hash)g(tables)g(w)o +(ere)h(created.)0 1597 y Fu(.)42 1605 y Fw(They)f(m)o(ust)f(ha)o(v)o(e) +g(the)i(same)e(n)o(um)o(b)q(er)g(of)g(en)o(tries)i(\(see)g +Fs(hash-table-count)p Fw(\).)0 1686 y Fu(.)42 1695 y +Fw(F)m(or)j(ev)o(ery)h(en)o(try)g(\()p Fv(key1)p Fw(,)h +Fv(value1)6 b Fw(\))18 b(in)g(one)h(hash)g(table)f(there)i(m)o(ust)d(b) +q(e)j(a)e(corre-)42 1746 y(sp)q(onding)f(en)o(try)i(\()p +Fv(key2)p Fw(,)g Fv(value2)6 b Fw(\))18 b(in)g(the)g(other,)i(suc)o(h)e +(that)g Fv(key1)h Fw(and)f Fv(key2)g Fw(are)42 1798 y(considered)d(to)f +(b)q(e)h(the)g(same)f(b)o(y)g(the)h Fs(:test)e Fw(function)h(asso)q +(ciated)i(with)e(the)h(hash)42 1850 y(tables.)0 1930 +y Fu(.)42 1939 y Fw(F)m(or)10 b(ev)o(ery)i(en)o(try)f(\()p +Fv(key1)p Fw(,)h Fv(value1)6 b Fw(\))11 b(in)g(one)g(hash)g(table)g +(and)f(its)h(corresp)q(onding)h(en)o(try)42 1991 y(\()p +Fv(key2)p Fw(,)i Fv(value2)6 b Fw(\))15 b(in)e(the)i(other,)g(suc)o(h)g +(that)f Fv(key1)h Fw(and)f Fv(key2)h Fw(are)f(the)h(same,)e +Fs(equalp)42 2043 y Fw(m)o(ust)f(b)q(e)j(true)g(of)e +Fv(value1)h Fw(and)g Fv(value2)p Fw(.)0 2121 y(The)k(four)f(parts)g(of) +g(this)g(test)h(are)g(carried)g(out)f(in)g(the)h(order)g(sho)o(wn,)f +(and)g(if)g(some)0 2172 y(part)e(of)g(the)g(test)h(fails,)e +Fs(equalp)g Fw(returns)i Fs(nil)f Fw(and)f(the)i(other)g(parts)f(of)g +(the)g(test)h(are)0 2224 y(not)e(attempted.)42 2277 y(If)i +Fs(equalp)f Fw(m)o(ust)h(compare)g(t)o(w)o(o)h(structures)i(and)d(the)i +Fs(defstruct)d Fw(de\014nition)h(for)0 2329 y(one)e(used)h(the)f +Fs(:type)f Fw(option)g(and)h(the)h(other)f(did)g(not,)f(then)h +Fs(equalp)f Fw(returns)i Fs(nil)p Fw(.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 116 140 +116 139 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(116)77 b(COMMON)13 +b(LISP)42 295 y Fw(If)j Fs(equalp)f Fw(m)o(ust)g(compare)h(t)o(w)o(o)g +(structures)j(and)d(neither)i Fs(defstruct)c Fw(de\014nition)0 +347 y(used)k(the)g Fs(:type)f Fw(option,)g(then)h Fs(equalp)e +Fw(returns)j Fs(t)e Fw(if)g(and)g(only)g(if)f(the)i(structures)0 +399 y(ha)o(v)o(e)13 b(the)h(same)e(t)o(yp)q(e)i(\(that)g(is,)e(the)i +(same)f Fs(defstruct)e Fw(name\))h(and)h(the)h(v)n(alues)f(of)g(all)0 +450 y(corresp)q(onding)i(slots)f(\(slots)g(ha)o(ving)f(the)h(same)f +(name\))g(are)h Fs(equalp)p Fw(.)42 502 y(As)20 b(part)f(of)g(the)h +(X3J13)g(discussion)g(of)f(this)g(issue)i(the)f(follo)o(wing)d(observ)n +(ations)0 554 y(w)o(ere)i(made.)27 b(Ob)r(ject)19 b(equalit)o(y)e(is)g +(not)h(a)f(concept)i(for)e(whic)o(h)h(there)h(is)e(a)g(uniquely)0 +606 y(determined)f(correct)i(algorithm.)k(The)16 b(appropriateness)h +(of)f(an)g(equalit)o(y)f(predicate)0 658 y(can)h(b)q(e)h(judged)f(only) +g(in)f(the)i(con)o(text)g(of)f(the)g(needs)i(of)e(some)f(particular)h +(program.)0 710 y(Although)f(these)i(functions)f(tak)o(e)f(an)o(y)g(t)o +(yp)q(e)h(of)f(argumen)o(t)f(and)i(their)g(names)e(sound)0 +762 y(v)o(ery)19 b(generic,)i Fs(equal)c Fw(and)i Fs(equalp)f +Fw(are)h(not)g(appropriate)g(for)f(ev)o(ery)i(application.)0 +814 y(An)o(y)g(decision)g(to)g(use)g(or)g(not)g(use)h(them)e(should)g +(b)q(e)i(determined)f(b)o(y)f(what)h(they)0 866 y(are)d(do)q(cumen)o +(ted)f(to)h(do)f(rather)h(than)g(b)o(y)f(an)o(y)g(abstract)h(c)o +(haracterization)g(of)f(their)0 917 y(function.)h(If)12 +b(neither)h Fs(equal)e Fw(nor)h Fs(equalp)e Fw(is)i(found)g(to)g(b)q(e) +g(appropriate)g(in)g(a)g(particu-)0 969 y(lar)h(situation,)g +(programmers)f(are)i(encouraged)h(to)e(create)j(another)e(op)q(erator)g +(that)g(is)0 1021 y(appropriate)f(rather)h(than)e(blame)g +Fs(equal)f Fw(or)i Fs(equalp)f Fw(for)g(\\doing)g(the)h(wrong)g +(thing.")-33 1033 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1073 a(Note)g(that)h(one)f(consequence)j(of)d(the)h(v)o +(ote)f(to)g(c)o(hange)h(the)g(rules)g(of)e(\015oating-p)q(oin)o(t)-33 +1045 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1125 a(con)o(tagion)d Ft(h)p Fw(37)p Ft(i)h +Fw(\(describ)q(ed)i(in)e(section)h(12.1\))e(is)h(to)g(mak)o(e)f +Fs(equalp)g Fw(a)g(true)j(equiv)n(alence)0 1177 y(relation)h(on)h(n)o +(um)o(b)q(ers.)-33 1189 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1262 a Fs(\(equalp)171 1266 y Fn(')195 +1262 y Fs(a)236 1266 y Fn(')259 1262 y Fs(b\))21 b Fw(is)14 +b(false.)0 1314 y Fs(\(equalp)171 1318 y Fn(')195 1314 +y Fs(a)236 1318 y Fn(')259 1314 y Fs(a\))21 b Fw(is)14 +b(true.)0 1366 y Fs(\(equalp)20 b(3)h(3\))f Fw(is)14 +b(true.)0 1418 y Fs(\(equalp)20 b(3)h(3.0\))f Fw(is)14 +b(true.)0 1470 y Fs(\(equalp)20 b(3.0)g(3.0\))h Fw(is)13 +b(true.)0 1522 y Fs(\(equalp)20 b(#)174 1518 y(-)174 +1526 y(-)196 1522 y(c\(3)g(-4\))h(#)369 1518 y(-)369 +1526 y(-)390 1522 y(c\(3)g(-4\)\))f Fw(is)14 b(true.)0 +1574 y Fs(\(equalp)20 b(#)174 1570 y(-)174 1578 y(-)196 +1574 y(c\(3)g(-4.0\))g(#)412 1570 y(-)412 1578 y(-)434 +1574 y(c\(3)h(-4\)\))f Fw(is)14 b(true.)0 1626 y Fs(\(equalp)20 +b(\(cons)302 1630 y Fn(')325 1626 y Fs(a)366 1630 y Fn(')389 +1626 y Fs(b\))h(\(cons)582 1630 y Fn(')605 1626 y Fs(a)646 +1630 y Fn(')669 1626 y Fs(c\)\))g Fw(is)14 b(false.)0 +1677 y Fs(\(equalp)20 b(\(cons)302 1681 y Fn(')325 1677 +y Fs(a)366 1681 y Fn(')389 1677 y Fs(b\))h(\(cons)582 +1681 y Fn(')605 1677 y Fs(a)646 1681 y Fn(')669 1677 +y Fs(b\)\))g Fw(is)14 b(true.)0 1729 y Fs(\(equalp)171 +1733 y Fn(')195 1729 y Fs(\(a)21 b(.)g(b\))365 1733 y +Fn(')389 1729 y Fs(\(a)f(.)h(b\)\))g Fw(is)14 b(true.)0 +1781 y Fs(\(progn)20 b(\(setq)g(x)h(\(cons)453 1785 y +Fn(')476 1781 y Fs(a)517 1785 y Fn(')540 1781 y Fs(b\)\))g(\(equalp)f +(x)h(x\)\))f Fw(is)14 b(true.)0 1833 y Fs(\(progn)20 +b(\(setq)g(x)323 1837 y Fn(')346 1833 y Fs(\(a)h(.)g(b\)\))f(\(equalp)g +(x)h(x\)\))g Fw(is)13 b(true.)0 1885 y Fs(\(equalp)20 +b(#)174 1881 y(-)174 1889 y(-)196 1885 y(\\A)g(#)260 +1881 y(-)260 1889 y(-)282 1885 y(\\A\))h Fw(is)13 b(true.)0 +1937 y Fs(\(equalp)20 b("Foo")g("Foo"\))g Fw(is)14 b(true.)0 +1989 y Fs(\(equalp)20 b("Foo")g(\(copy-seq)f("Foo"\)\))h +Fw(is)14 b(true.)0 2041 y Fs(\(equalp)20 b("FOO")g("foo"\))g +Fw(is)14 b(true.)0 2191 y Fo(6.4.)20 b(Logical)14 b(Op)r(erators)0 +2277 y Fw(Common)c(Lisp)k(pro)o(vides)g(three)h(op)q(erators)f(on)g(Bo) +q(olean)f(v)n(alues:)18 b Fs(and)p Fw(,)13 b Fs(or)p +Fw(,)f(and)i Fs(not)p Fw(.)0 2329 y(Of)20 b(these,)j +Fs(and)d Fw(and)g Fs(or)g Fw(are)h(also)f(con)o(trol)g(structures)j(b)q +(ecause)f(their)e(argumen)o(ts)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 117 141 +117 140 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PREDICA)m(TES)1107 +b(117)0 295 y Fw(are)15 b(ev)n(aluated)f(conditionally)m(.)k(The)c +(function)h Fs(not)e Fw(necessarily)j(examines)e(its)g(single)0 +347 y(argumen)o(t,)e(and)i(so)g(is)g(a)f(simple)g(function.)1209 +482 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(not)21 b Fv(x)0 +559 y Fs(not)15 b Fw(returns)i Fs(t)f Fw(if)f Fv(x)h +Fw(is)f Fs(nil)p Fw(,)g(and)h(otherwise)g(returns)i Fs(nil)p +Fw(.)23 b(It)15 b(therefore)j(in)o(v)o(erts)e(its)0 611 +y(argumen)o(t)d(considered)i(as)f(a)g(Bo)q(olean)f(v)n(alue.)42 +663 y Fs(null)e Fw(is)i(the)g(same)f(as)h Fs(not)p Fw(;)f(b)q(oth)h +(functions)g(are)g(included)g(for)g(the)g(sak)o(e)g(of)f(clarit)o(y)m +(.)0 715 y(As)i(a)f(matter)f(of)h(st)o(yle,)g(it)g(is)g(customary)g(to) +g(use)h Fs(null)e Fw(to)h(c)o(hec)o(k)h(whether)h(something)0 +766 y(is)f(the)g(empt)o(y)f(list)g(and)h(to)g(use)h Fs(not)e +Fw(to)h(in)o(v)o(ert)f(the)i(sense)h(of)d(a)g(logical)g(v)n(alue.)1255 +901 y([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(and)41 b Ft(f)7 +b Fv(form)p Ft(g)242 886 y Fl(\003)0 978 y Fs(\(and)20 +b Fv(form1)h(form2)g Fs(...)f(\))f Fw(ev)n(aluates)g(eac)o(h)g +Fv(form)p Fw(,)g(one)g(at)f(a)g(time,)h(from)d(left)j(to)0 +1030 y(righ)o(t.)28 b(If)17 b(an)o(y)f Fv(form)h Fw(ev)n(aluates)g(to)g +Fs(nil)p Fw(,)g(the)h(v)n(alue)f Fs(nil)f Fw(is)h(immediately)d +(returned)0 1082 y(without)f(ev)n(aluating)g(the)h(remaining)e +Fv(form)s Fw(s.)18 b(If)13 b(ev)o(ery)i Fv(form)e Fw(but)h(the)g(last)g +(ev)n(aluates)0 1134 y(to)j(a)g(non-)p Fs(nil)g Fw(v)n(alue,)g +Fs(and)g Fw(returns)i(whatev)o(er)f(the)g(last)f Fv(form)g +Fw(returns.)30 b(Therefore)0 1186 y(in)14 b(general)i +Fs(and)e Fw(can)h(b)q(e)h(used)f(b)q(oth)g(for)g(logical)e(op)q +(erations,)i(where)h Fs(nil)e Fw(stands)i(for)0 1238 +y Fv(false)e Fw(and)h(non-)p Fs(nil)e Fw(v)n(alues)i(stand)f(for)h +Fv(true)p Fw(,)f(and)g(as)h(a)f(conditional)f(expression.)22 +b(An)0 1290 y(example)13 b(follo)o(ws.)0 1377 y Fs(\(if)21 +b(\(and)f(\(>)239 1373 y(U)239 1381 y(U)281 1377 y(n)h(0\))191 +1428 y(\(<)f(n)h(\(length)f(a-simple-vector\)\))191 1480 +y(\(eq)g(\(elt)g(a-simple-vector)e(n\))796 1484 y Fn(')819 +1480 y Fs(foo\)\))85 1532 y(\(princ)i("Foo!"\)\))0 1619 +y Fw(The)g(ab)q(o)o(v)o(e)e(expression)j(prin)o(ts)e +Fs(Foo!)f Fw(if)g(elemen)o(t)h Fs(n)g Fw(of)f Fs(a-simple-vector)e +Fw(is)j(the)0 1671 y(sym)o(b)q(ol)9 b Fs(foo)p Fw(,)h(pro)o(vided)g +(also)g(that)h Fs(n)f Fw(is)g(indeed)h(a)g(v)n(alid)e(index)h(for)g +Fs(a-simple-vector)p Fw(.)0 1723 y(Because)15 b Fs(and)e +Fw(guaran)o(tees)h(left-to-righ)o(t)f(testing)h(of)f(its)g(parts,)h +Fs(elt)e Fw(is)i(not)f(called)g(if)g Fs(n)0 1775 y Fw(is)h(out)g(of)f +(range.)42 1827 y(T)m(o)19 b(put)i(it)e(another)i(w)o(a)o(y)m(,)f(the)h +Fs(and)f Fw(sp)q(ecial)g(form)f(do)q(es)i Fv(short-cir)n(cuit)e +Fw(Bo)q(olean)0 1879 y(ev)n(aluation,)g(lik)o(e)f(the)i +Fz(and)h(then)d Fw(op)q(erator)i(in)f(Ada)g(and)g(what)g(in)g(some)f(P) +o(ascal-)0 1930 y(lik)o(e)g(languages)f(is)i(called)f +Fz(cand)g Fw(\(for)g(\\conditional)f(and"\);)i(the)g(Lisp)g +Fs(and)e Fw(sp)q(ecial)0 1982 y(form)c(is)h(unlik)o(e)g(the)i(P)o +(ascal)e(or)h(Ada)f Fz(and)g Fw(op)q(erator,)h(whic)o(h)f(alw)o(a)o(ys) +g(ev)n(aluates)h(b)q(oth)0 2034 y(argumen)o(ts.)42 2086 +y(In)e(the)i(previous)f(example)f(writing)0 2173 y Fs(\(and)20 +b(\(>)152 2169 y(U)152 2177 y(U)195 2173 y(n)h(0\))106 +2225 y(\(<)g(n)g(\(length)e(a-simple-vector\)\))106 2277 +y(\(eq)h(\(elt)h(a-simple-vector)d(n\))711 2281 y Fn(')735 +2277 y Fs(foo\))106 2329 y(\(princ)i("Foo!"\)\))-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 118 142 +118 141 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(118)77 b(COMMON)13 +b(LISP)0 295 y Fw(w)o(ould)d(accomplish)f(the)i(same)e(thing.)17 +b(The)11 b(di\013erence)h(is)e(purely)h(st)o(ylistic.)17 +b(Some)9 b(pro-)0 347 y(grammers)i(nev)o(er)k(use)f(expressions)h(con)o +(taining)e(side)g(e\013ects)j(within)d Fs(and)p Fw(,)f(preferring)0 +399 y(to)i(use)g Fs(if)g Fw(or)g Fs(when)f Fw(for)g(that)h(purp)q(ose.) +42 450 y(F)m(rom)c(the)i(general)h(de\014nition,)e(one)i(can)f(deduce)i +(that)e Fs(\(and)20 b Fv(x)p Fs(\))12 b Ft(\021)g Fv(x)p +Fw(.)18 b(Also,)12 b Fs(\(and\))0 502 y Fw(ev)n(aluates)i(to)g +Fs(t)p Fw(,)f(whic)o(h)h(is)f(an)h(iden)o(tit)o(y)f(for)h(this)g(op)q +(eration.)42 554 y(One)g(can)g(de\014ne)h Fs(and)e Fw(in)h(terms)f(of)h +Fs(cond)f Fw(in)g(this)h(w)o(a)o(y:)0 639 y Fs(\(and)20 +b Fv(x)i(y)f(z)g Fs(...)g Fv(w)p Fs(\))f Ft(\021)i Fs(\(cond)e(\(\(not) +g Fv(x)p Fs(\))h(nil\))569 691 y(\(\(not)f Fv(y)p Fs(\))h(nil\))569 +743 y(\(\(not)f Fv(z)p Fs(\))h(nil\))569 795 y Fh(:)7 +b(:)g(:)569 847 y Fs(\(t)21 b Fv(w)p Fs(\)\))42 932 y +Fw(See)15 b Fs(if)g Fw(and)f Fs(when)p Fw(,)g(whic)o(h)h(are)g +(sometimes)e(st)o(ylistically)h(more)g(appropriate)h(than)0 +984 y Fs(and)f Fw(for)g(conditional)f(purp)q(oses.)21 +b(If)13 b(it)h(is)h(necessary)h(to)e(test)i(whether)f(a)f(predicate)i +(is)0 1036 y(true)g(of)e(all)g(elemen)o(ts)g(of)h(a)f(list)h(or)f(v)o +(ector)i(\(elemen)o(t)f(0)f Fv(and)i Fw(elemen)o(t)e(1)h +Fv(and)g Fw(elemen)o(t)0 1088 y(2)f Fv(and)g Fh(:)7 b(:)g(:)o +Fw(\),)13 b(then)i(the)f(function)g Fs(every)f Fw(ma)o(y)f(b)q(e)i +(useful.)1255 1214 y([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(or)42 +b Ft(f)6 b Fv(form)p Ft(g)220 1199 y Fl(\003)0 1291 y +Fs(\(or)21 b Fv(form1)f(form2)h Fs(...)g(\))f Fw(ev)n(aluates)h(eac)o +(h)g Fv(form)p Fw(,)h(one)f(at)f(a)h(time,)f(from)f(left)i(to)0 +1343 y(righ)o(t.)c(If)c(an)o(y)g Fv(form)g Fw(other)h(than)f(the)h +(last)f(ev)n(aluates)g(to)h(something)e(other)i(than)f +Fs(nil)p Fw(,)0 1395 y Fs(or)g Fw(immedia)o(tely)e(returns)k(that)e +(non-)p Fs(nil)f Fw(v)n(alue)h(without)g(ev)n(aluating)f(the)i +(remaining)0 1447 y Fv(form)s Fw(s.)39 b(If)20 b(ev)o(ery)i +Fv(form)e Fw(but)h(the)g(last)f(ev)n(aluates)h(to)g Fs(nil)p +Fw(,)g Fs(or)g Fw(returns)h(whatev)o(er)0 1499 y(ev)n(aluation)15 +b(of)i(the)g(last)g(of)f(the)i Fv(form)s Fw(s)e(returns.)29 +b(Therefore)18 b(in)f(general)g Fs(or)f Fw(can)h(b)q(e)0 +1550 y(used)11 b(b)q(oth)g(for)f(logical)e(op)q(erations,)j(where)h +Fs(nil)d Fw(stands)i(for)f Fv(false)g Fw(and)h(non-)p +Fs(nil)e Fw(v)n(alues)0 1602 y(stand)14 b(for)g Fv(true)p +Fw(,)f(and)h(as)f(a)h(conditional)f(expression.)42 1654 +y(T)m(o)c(put)h(it)f(another)h(w)o(a)o(y)m(,)f(the)i +Fs(or)e Fw(sp)q(ecial)h(form)e(do)q(es)j Fv(short-cir)n(cuit)d +Fw(Bo)q(olean)i(ev)n(alua-)0 1706 y(tion,)i(lik)o(e)f(the)i +Fz(or)h(else)d Fw(op)q(erator)h(in)g(Ada)g(and)h(what)f(in)g(some)f(P)o +(ascal-lik)o(e)g(languages)0 1758 y(is)19 b(called)f +Fz(cor)h Fw(\(for)g(\\conditional)e(or"\);)k(the)e(Lisp)g +Fs(or)g Fw(sp)q(ecial)g(form)e(is)i(unlik)o(e)f(the)0 +1810 y(P)o(ascal)c(or)g(Ada)f Fz(or)h Fw(op)q(erator,)g(whic)o(h)g(alw) +o(a)o(ys)e(ev)n(aluates)i(b)q(oth)g(argumen)o(ts.)42 +1862 y(F)m(rom)f(the)j(general)g(de\014nition,)f(one)h(can)g(deduce)h +(that)e Fs(\(or)21 b Fv(x)p Fs(\))15 b Ft(\021)h Fv(x)p +Fw(.)23 b(Also,)16 b Fs(\(or\))0 1914 y Fw(ev)n(aluates)e(to)g +Fs(nil)p Fw(,)e(whic)o(h)i(is)g(the)g(iden)o(tit)o(y)g(for)f(this)h(op) +q(eration.)42 1966 y(One)g(can)g(de\014ne)h Fs(or)f Fw(in)f(terms)h(of) +f Fs(cond)g Fw(in)g(this)h(w)o(a)o(y:)0 2051 y Fs(\(or)21 +b Fv(x)g(y)g(z)g Fs(...)g Fv(w)p Fs(\))g Ft(\021)g Fs(\(cond)f(\()p +Fv(x)p Fs(\))h(\()p Fv(y)p Fs(\))g(\()p Fv(z)p Fs(\))g(...)f(\(t)h +Fv(w)p Fs(\)\))42 2136 y Fw(See)11 b Fs(if)f Fw(and)g +Fs(unless)p Fw(,)g(whic)o(h)g(are)h(sometimes)e(st)o(ylistically)g +(more)g(appropriate)i(than)0 2188 y Fs(or)k Fw(for)h(conditional)e +(purp)q(oses.)25 b(If)16 b(it)f(is)h(necessary)i(to)d(test)i(whether)g +(a)f(predicate)h(is)0 2240 y(true)h(of)e(one)h(or)g(more)f(elemen)o(ts) +h(of)f(a)h(list)f(or)h(v)o(ector)h(\(elemen)o(t)f(0)f +Fv(or)h Fw(elemen)o(t)f(1)h Fv(or)0 2291 y Fw(elemen)o(t)c(2)h +Fv(or)g Fh(:)7 b(:)g(:)n Fw(\),)13 b(then)i(the)f(function)g +Fs(some)f Fw(ma)o(y)f(b)q(e)j(useful.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 119 143 +119 142 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(7)p 0 448 598 9 +v 0 531 a Fp(Control)30 b(Structure)0 920 y Fw(Common)7 +b(Lisp)k(pro)o(vides)g(a)g(v)n(ariet)o(y)f(of)g(sp)q(ecial)h +(structures)i(for)e(organizing)e(programs.)0 972 y(Some)15 +b(ha)o(v)o(e)g(to)h(do)g(with)f(\015o)o(w)h(of)f(con)o(trol)h(\(con)o +(trol)g(structures\),)i(while)e(others)h(con-)0 1024 +y(trol)e(access)h(to)f(v)n(ariables)g(\(en)o(vironmen)o(t)f +(structures\).)24 b(Some)13 b(of)i(these)h(features)g(are)0 +1076 y(implemen)o(ted)c(as)i(sp)q(ecial)g(forms;)e(others)j(are)g +(implem)o(en)o(ted)d(as)i(macros,)f(whic)o(h)h(t)o(yp-)0 +1128 y(ically)g(expand)i(in)o(to)f(complex)f(program)g(fragmen)o(ts)h +(expressed)j(in)d(terms)g(of)g(sp)q(ecial)0 1180 y(forms)e(or)g(other)i +(macros.)42 1233 y(F)m(unction)h(application)f(is)i(the)h(primary)d +(metho)q(d)h(for)g(construction)i(of)e(Lisp)h(pro-)0 +1285 y(grams.)35 b(Op)q(erations)21 b(are)g(written)f(as)g(the)h +(application)e(of)g(a)h(function)g(to)g(its)g(ar-)0 1337 +y(gumen)o(ts.)29 b(Usually)m(,)18 b(Lisp)f(programs)g(are)h(written)h +(as)f(a)g(large)f(collection)h(of)f(small)0 1389 y(functions,)d(eac)o +(h)g(of)g(whic)o(h)g(implem)o(en)o(ts)e(a)i(simple)e(op)q(eration.)19 +b(These)c(functions)f(op-)0 1441 y(erate)19 b(b)o(y)e(calling)g(one)h +(another,)g(and)g(so)g(larger)g(op)q(erations)g(are)g(de\014ned)h(in)e +(terms)0 1493 y(of)f(smaller)e(ones.)26 b(Lisp)16 b(functions)g(ma)o(y) +e(call)i(up)q(on)g(themselv)o(es)g(recursiv)o(ely)m(,)h(either)0 +1545 y(directly)d(or)g(indirectly)m(.)42 1598 y(Lo)q(cally)e(de\014ned) +i(functions)f(\()p Fs(flet)p Fw(,)f Fs(labels)p Fw(\))g(and)h(macros)f +(\()p Fs(macrolet)p Fw(\))g(are)i(quite)-33 1570 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1650 a(v)o(ersatile.)j(The)11 b(new)f(sym)o(b)q(ol)e +(macro)h(facilit)o(y)g(allo)o(ws)g(ev)o(en)h(more)f(syn)o(tactic)i +(\015exibilit)o(y)m(.)-33 1662 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1703 a(While)23 b(the)i(Lisp)g(language)e(is)i(more)e +(applicativ)o(e)h(in)g(st)o(yle)g(than)h(statemen)o(t-)0 +1755 y(orien)o(ted,)18 b(it)e(nev)o(ertheless)j(pro)o(vides)e(man)o(y)e +(op)q(erations)i(that)g(pro)q(duce)h(side)g(e\013ects)0 +1807 y(and)h(consequen)o(tly)h(requires)g(constructs)h(for)e(con)o +(trolling)e(the)j(sequencing)g(of)e(side)0 1859 y(e\013ects.)i(The)14 +b(construct)h Fs(progn)p Fw(,)d(whic)o(h)i(is)f(roughly)g(equiv)n(alen) +o(t)g(to)g(an)g(Algol)g Fz(b)q(egin)p Fw(-)0 1911 y Fz(end)j +Fw(blo)q(c)o(k)g(with)h(all)f(its)h(semicolons,)f(executes)j(a)e(n)o +(um)o(b)q(er)f(of)h(forms)e(sequen)o(tially)m(,)0 1963 +y(discarding)d(the)g(v)n(alues)g(of)g(all)e(but)j(the)f(last.)17 +b(Man)o(y)12 b(Lisp)g(con)o(trol)g(constructs)i(include)0 +2015 y(sequencing)21 b(implicitly)m(,)d(in)i(whic)o(h)h(case)g(they)g +(are)g(said)f(to)g(pro)o(vide)g(an)h(\\implicit)0 2066 +y Fs(progn)p Fw(.")35 b(Other)15 b(sequencing)g(constructs)h(include)e +Fs(prog1)f Fw(and)h Fs(prog2)p Fw(.)42 2120 y(F)m(or)e(lo)q(oping,)f +(Common)f(Lisp)j(pro)o(vides)g(the)g(general)g(iteration)g(facilit)o(y) +e Fs(do)h Fw(as)h(w)o(ell)0 2172 y(as)f(a)f(v)n(ariet)o(y)g(of)g(sp)q +(ecial-purp)q(ose)h(iteration)f(facilities)g(for)g(iterating)g(or)g +(mapping)f(o)o(v)o(er)0 2224 y(v)n(arious)j(data)h(structures.)42 +2277 y(Comm)o(on)e(Lisp)i(pro)o(vides)h(the)g(simple)d(one-w)o(a)o(y)i +(conditionals)g Fs(when)f Fw(and)h Fs(unless)p Fw(,)0 +2329 y(the)e(simple)d(t)o(w)o(o-w)o(a)o(y)h(conditional)g +Fs(if)p Fw(,)h(and)f(the)i(more)e(general)i(m)o(ulti-w)o(a)o(y)c +(condition-)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1337 2428 a Fy(119)p eop +%%Page: 120 144 +120 143 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(120)77 b(COMMON)13 +b(LISP)0 295 y Fw(als)g(suc)o(h)h(as)f Fs(cond)f Fw(and)h +Fs(case)p Fw(.)k(The)c(c)o(hoice)h(of)e(whic)o(h)h(form)f(to)h(use)h +(in)e(an)o(y)h(particular)0 347 y(situation)g(is)h(a)g(matter)f(of)g +(taste)i(and)e(st)o(yle.)42 399 y(Constructs)k(for)g(p)q(erforming)e +(non-lo)q(cal)g(exits)i(with)f(v)n(arious)f(scoping)i(disciplines)0 +450 y(are)d(pro)o(vided:)k Fs(block)p Fw(,)13 b Fs(return)p +Fw(,)f Fs(return-from)p Fw(,)f Fs(catch)p Fw(,)h(and)i +Fs(throw)p Fw(.)42 502 y(The)20 b(m)o(ultiple-v)n(al)o(ue)d(constructs) +22 b(pro)o(vide)e(an)f(e\016cien)o(t)i(w)o(a)o(y)e(for)g(a)g(function)h +(to)0 554 y(return)15 b(more)e(than)h(one)g(v)n(alue;)f(see)i +Fs(values)p Fw(.)0 707 y Fo(7.1.)20 b(Constan)n(ts)d(and)e(V)-5 +b(ariables)0 793 y Fw(Because)17 b(some)e(Lisp)g(data)h(ob)r(jects)g +(are)g(used)g(to)g(represen)o(t)i(programs,)c(one)i(cannot)0 +845 y(alw)o(a)o(ys)j(notate)h(a)f(constan)o(t)h(data)g(ob)r(ject)g(in)f +(a)h(program)e(simply)g(b)o(y)h(writing)g(the)0 897 y(notation)11 +b(for)g(the)i(ob)r(ject)f(unadorned;)h(it)e(w)o(ould)g(b)q(e)i(am)o +(biguous)c(whether)14 b(a)d(constan)o(t)0 948 y(ob)r(ject)j(or)g(a)f +(program)f(fragmen)o(t)g(w)o(as)h(in)o(tended.)19 b(The)14 +b Fs(quote)e Fw(sp)q(ecial)i(form)e(resolv)o(es)0 1000 +y(this)i(am)o(biguit)o(y)m(.)42 1052 y(There)h(are)g(t)o(w)o(o)e(kinds) +h(of)g(v)n(ariables)f(in)h(Common)d(Lisp,)j(in)g(e\013ect:)20 +b(ordinary)14 b(v)n(ari-)0 1104 y(ables)e(and)g(function)g(names.)17 +b(There)c(are)g(some)e(similarities)f(b)q(et)o(w)o(een)k(the)f(t)o(w)o +(o)e(kinds,)0 1156 y(and)k(in)h(a)f(few)h(cases)h(there)f(are)g +(similar)e(functions)h(for)h(dealing)e(with)i(them,)e(for)i(ex-)0 +1208 y(ample)h Fs(boundp)g Fw(and)h Fs(fboundp)p Fw(.)31 +b(Ho)o(w)o(ev)o(er,)19 b(for)g(the)g(most)e(part)i(the)g(t)o(w)o(o)f +(kinds)g(of)0 1260 y(v)n(ariables)13 b(are)g(used)i(for)e(v)o(ery)g +(di\013eren)o(t)i(purp)q(oses:)k(one)13 b(to)h(name)e(de\014ned)i +(functions,)0 1312 y(macros,)f(and)g(sp)q(ecial)h(forms,)e(and)i(the)h +(other)f(to)g(name)f(data)g(ob)r(jects.)42 1364 y(X3J13)k(v)o(oted)h +(in)f(Marc)o(h)h(1989)e Ft(h)p Fw(89)p Ft(i)i Fw(to)f(in)o(tro)q(duce)i +(the)f(concept)h(of)e(a)g Fv(function-)-33 1335 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1416 a(name)p Fw(,)c(whic)o(h)f(ma)o(y)e(b)q(e)j(either) +g(a)e(sym)o(b)q(ol)g(or)h(a)g(t)o(w)o(o-elemen)o(t)f(list)h(whose)g +(\014rst)h(elemen)o(t)0 1467 y(is)g(the)h(sym)o(b)q(ol)e +Fs(setf)g Fw(and)h(whose)h(second)h(elemen)o(t)e(is)g(a)g(sym)o(b)q +(ol.)j(The)e(primary)e(pur-)0 1519 y(p)q(ose)h(of)e(this)h(is)g(to)g +(allo)o(w)f Fs(setf)g Fw(expander)i(functions)f(to)g(b)q(e)g(CLOS)h +(generic)g(functions)0 1571 y(with)k(user-de\014ned)j(metho)q(ds.)28 +b(Man)o(y)17 b(places)h(in)f(Commo)o(n)e(Lisp)i(that)h(used)g(to)f(re-) +0 1623 y(quire)g(a)f(sym)o(b)q(ol)e(for)j(a)f(function)g(name)f(are)i +(c)o(hanged)g(to)f(allo)o(w)f(2-lists)h(as)h(w)o(ell;)f(for)0 +1675 y(example,)c Fs(defun)g Fw(is)h(c)o(hanged)g(so)g(that)h(one)f(ma) +o(y)e(write)j Fs(\(defun)20 b(\(setf)g(foo\))g(...\))p +Fw(,)0 1727 y(and)15 b(the)g Fs(function)e Fw(sp)q(ecial)i(form)e(is)i +(c)o(hanged)g(to)f(accept)i(an)o(y)f(function-name.)k(See)0 +1779 y(also)13 b Fs(fdefinition)p Fw(.)42 1831 y(By)i(con)o(v)o(en)o +(tion,)f(an)o(y)g(function)h(named)f Fs(\(setf)20 b Fv(f)8 +b Fs(\))15 b Fw(should)g(return)h(its)e(\014rst)i(argu-)0 +1883 y(men)o(t)11 b(as)h(its)f(only)g(v)n(alue,)g(in)h(order)g(to)g +(preserv)o(e)i(the)e(sp)q(eci\014cation)g(that)g Fs(setf)f +Fw(returns)0 1935 y(its)j Fv(newvalue)p Fw(.)k(See)d +Fs(setf)p Fw(.)42 1987 y(Implemen)o(tatio)o(ns)10 b(are)i(free)h(to)f +(extend)h(the)g(syn)o(tax)f(of)f(function-names)g(to)h(include)0 +2038 y(lists)i(b)q(eginning)f(with)h(additional)e(sym)o(b)q(ols)g +(other)j(than)e Fs(setf)g Fw(or)h Fs(lambda)p Fw(.)-33 +2050 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2191 a Fo(7.1.1.)20 b(Reference)0 2277 +y Fw(The)g(v)n(alue)f(of)f(an)h(ordinary)g(v)n(ariable)g(ma)o(y)e(b)q +(e)j(obtained)f(simply)e(b)o(y)j(writing)e(the)0 2329 +y(name)12 b(of)g(the)h(v)n(ariable)f(as)h(a)f(form)f(to)i(b)q(e)g +(executed.)20 b(Whether)14 b(this)f(is)f(treated)i(as)f(the)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 121 145 +121 144 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(121)0 295 y Fw(name)13 b(of)g(a)h(sp)q(ecial)g(v)n(ariable)f(or)h(a)g +(lexical)f(v)n(ariable)g(is)h(determined)g(b)o(y)g(the)g(presence)0 +347 y(or)g(absence)h(of)f(an)f(applicable)g Fs(special)g +Fw(declaration;)g(see)i(c)o(hapter)g(9.)42 400 y(The)h(follo)o(wing)d +(functions)j(and)g(sp)q(ecial)g(forms)f(allo)o(w)f(reference)k(to)e +(the)h(v)n(alues)e(of)0 452 y(constan)o(ts)g(and)f(v)n(ariables)f(in)g +(other)i(w)o(a)o(ys.)1145 657 y([)p Fv(Sp)n(e)n(cial)g(form)s +Fw(])-1396 b Fs(quote)34 b Fv(obje)n(ct)0 736 y Fs(\(quote)20 +b Fv(x)p Fs(\))12 b Fw(simply)e(returns)j Fv(x)p Fw(.)18 +b(The)12 b Fv(obje)n(ct)g Fw(is)g(not)g(ev)n(aluated)g(and)g(ma)o(y)e +(b)q(e)i(an)o(y)g(Lisp)0 788 y(ob)r(ject)k(whatso)q(ev)o(er.)23 +b(This)15 b(construct)h(allo)o(ws)e(an)o(y)h(Lisp)g(ob)r(ject)h(to)f(b) +q(e)g(written)h(as)f(a)0 840 y(constan)o(t)f(v)n(alue)g(in)f(a)h +(program.)i(F)m(or)e(example:)0 941 y Fs(\(setq)20 b(a)h(43\))0 +993 y(\(list)f(a)h(\(cons)f(a)h(3\)\))g Ft(\))f Fs(\(43)h(\(43)g(.)f +(3\)\))0 1045 y(\(list)g(\(quote)g(a\))h(\(quote)f(\(cons)g(a)h(3\)\))f +Ft(\))h Fs(\(a)g(\(cons)f(a)h(3\)\))0 1144 y Fw(Since)11 +b Fs(quote)f Fw(forms)f(are)i(so)g(frequen)o(tly)f(useful)h(but)g +(somewhat)f(cum)o(b)q(ersome)f(to)i(t)o(yp)q(e,)0 1196 +y(a)j(standard)h(abbreviation)e(is)h(de\014ned)i(for)d(them:)18 +b(an)o(y)c(form)f Fv(f)h Fw(preceded)i(b)o(y)e(a)g(single)0 +1248 y(quote)k(\()153 1252 y Fn(')197 1248 y Fw(\))g(c)o(haracter)g(is) +f(assumed)g(to)g(ha)o(v)o(e)h Fs(\(quote)41 b(\))17 b +Fw(wrapp)q(ed)h(around)f(it)g(to)0 1300 y(mak)o(e)12 +b Fs(\(quote)20 b Fv(f)p Fs(\))p Fw(.)e(F)m(or)13 b(example:)0 +1401 y Fs(\(setq)20 b(x)171 1405 y Fn(')194 1401 y Fs(\(the)h(magic)f +(quote)g(hack\)\))0 1501 y Fw(is)14 b(normally)d(in)o(terpreted)16 +b(b)o(y)d Fs(read)g Fw(to)h(mean)0 1602 y Fs(\(setq)20 +b(x)h(\(quote)f(\(the)g(magic)h(quote)f(hack\)\)\))0 +1701 y Fw(See)15 b(section)f(22.1.3.)42 1755 y(X3J13)20 +b(v)o(oted)i(in)e(Jan)o(uary)i(1989)e Ft(h)p Fw(36)p +Ft(i)h Fw(to)g(clarify)f(that)h(it)g(is)g(an)g(error)h(to)f(de-)-33 +1726 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1807 a(structiv)o(ely)15 b(mo)q(dify)d(an)o(y)i(ob)r +(ject)h(that)f(app)q(ears)h(as)f(a)g(constan)o(t)h(in)f(executable)h +(co)q(de,)0 1859 y(whether)g(within)e(a)h Fs(quote)f +Fw(sp)q(ecial)h(form)e(or)i(as)g(a)f(self-ev)n(aluating)g(form.)42 +1912 y(See)g(section)g(25.1)e(for)g(a)h(discussion)h(of)f(ho)o(w)f +(quoted)i(constan)o(ts)g(are)g(treated)g(b)o(y)f(the)0 +1964 y(compiler.)-33 1976 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2017 a(X3J13)18 b(v)o(oted)h(in)f(Marc)o(h)h(1989)f +Ft(h)p Fw(147)p Ft(i)g Fw(to)g(clarify)g(that)h Fs(eval)f +Fw(and)g Fs(compile)f Fw(are)-33 1989 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2069 a(not)h(p)q(ermitted)g(either)i(to)e(cop)o(y)g(or)g +(to)h(coalesce)g(\(\\collapse"\))f(constan)o(ts)h(\(see)h +Fs(eq)p Fw(\))0 2121 y(app)q(earing)g(in)g(the)h(co)q(de)h(they)f(pro)q +(cess;)k(the)c(resulting)g(program)e(b)q(eha)o(vior)h(m)o(ust)0 +2173 y(refer)15 b(to)e(ob)r(jects)i(that)e(are)h Fs(eql)f +Fw(to)h(the)g(corresp)q(onding)g(ob)r(jects)h(in)e(the)h(source)h(co)q +(de.)0 2225 y(Moreo)o(v)o(er,)f(the)h(constrain)o(ts)f(in)o(tro)q +(duced)h(b)o(y)f(the)g(v)o(otes)h(on)f(issues)h Ft(h)p +Fw(34)p Ft(i)e Fw(and)h Ft(h)p Fw(32)p Ft(i)g Fw(on)0 +2277 y(what)h(kinds)g(of)f(ob)r(jects)i(ma)o(y)d(app)q(ear)j(as)f +(constan)o(ts)h(apply)e(only)g(to)h Fs(compile-file)0 +2329 y Fw(\(see)g(section)g(25.1\).)-33 2340 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 122 146 +122 145 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(122)77 b(COMMON)13 +b(LISP)1145 295 y Fw([)p Fv(Sp)n(e)n(cial)i(form)s Fw(])-1396 +b Fs(function)33 b Fv(fn)0 372 y Fw(The)11 b(v)n(alue)g(of)f +Fs(function)f Fw(is)i(alw)o(a)o(ys)f(the)i(functional)e(in)o +(terpretation)h(of)f Fv(fn)p Fw(;)i Fv(fn)f Fw(is)g(in)o(ter-)0 +424 y(preted)h(as)f(if)f(it)g(had)h(app)q(eared)h(in)e(the)h +(functional)f(p)q(osition)g(of)g(a)h(function)f(in)o(v)o(o)q(cation.)0 +476 y(In)k(particular,)g(if)f Fv(fn)h Fw(is)g(a)g(sym)o(b)q(ol,)e(the)i +(functional)f(de\014nition)h(asso)q(ciated)h(with)f(that)0 +528 y(sym)o(b)q(ol)e(is)i(returned;)h(see)g Fs(symbol-function)p +Fw(.)g(If)e Fv(fn)h Fw(is)f(a)h(lam)o(b)q(da-expression,)e(then)0 +580 y(a)h(\\lexical)f(closure")h(is)g(returned,)i(that)e(is,)f(a)h +(function)g(that)g(when)g(in)o(v)o(ok)o(ed)g(will)e(exe-)0 +631 y(cute)k(the)f(b)q(o)q(dy)f(of)g(the)h(lam)o(b)q(da-expression)e +(in)h(suc)o(h)i(a)e(w)o(a)o(y)g(as)g(to)g(observ)o(e)i(the)f(rules)0 +683 y(of)f(lexical)g(scoping)h(prop)q(erly)m(.)42 736 +y(X3J13)d(v)o(oted)h(in)f(June)i(1988)e Ft(h)p Fw(90)p +Ft(i)g Fw(to)h(sp)q(ecify)g(that)g(the)h(result)f(of)f(a)h +Fs(function)e Fw(sp)q(e-)-33 707 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 788 a(cial)g(form)f(is)i(alw)o(a)o(ys)e(of)h(t)o(yp)q(e) +i Fs(function)p Fw(.)j(This)10 b(implies)f(that)i(a)f(form)f +Fs(\(function)20 b Fv(fn)s Fs(\))0 840 y Fw(ma)o(y)12 +b(b)q(e)i(in)o(terpreted)i(as)e Fs(\(the)20 b(\(function)g +Fv(fn)s Fs(\)\))p Fw(.)42 892 y(It)14 b(is)h(an)g(error)g(to)g(use)h +(the)f Fs(function)e Fw(sp)q(ecial)i(form)e(on)i(a)f(sym)o(b)q(ol)f +(that)i(do)q(es)h(not)0 944 y(denote)i(a)g(function)f(in)g(the)h +(lexical)f(or)g(global)f(en)o(vironmen)o(t)h(in)g(whic)o(h)g(the)h(sp)q +(ecial)0 996 y(form)12 b(app)q(ears.)19 b(Sp)q(eci\014cally)m(,)13 +b(it)g(is)h(an)g(error)h(to)e(use)i(the)g Fs(function)d +Fw(sp)q(ecial)i(form)e(on)0 1048 y(a)j(sym)o(b)q(ol)f(that)h(denotes)i +(a)e(macro)f(or)h(sp)q(ecial)h(form.)k(Some)14 b(implemen)o(tations)f +(ma)o(y)0 1099 y(c)o(ho)q(ose)i(not)f(to)g(signal)g(this)g(error)h(for) +f(p)q(erformance)g(reasons,)h(but)g(implemen)o(tatio)o(ns)0 +1151 y(are)e(forbidden)g(to)g(extend)h(the)g(seman)o(tics)e(of)g +Fs(function)g Fw(in)g(this)h(resp)q(ect;)i(that)e(is,)g(an)0 +1203 y(implemen)o(tatio)o(n)f(is)i(not)h(allo)o(w)o(ed)e(to)h(de\014ne) +i(the)f(failure)f(to)g(signal)g(an)g(error)h(to)g(b)q(e)g(a)0 +1255 y(\\useful")f(b)q(eha)o(vior.)-33 1267 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1308 a(X3J13)9 b(v)o(oted)i(in)e(Marc)o(h)i(1989)e +Ft(h)p Fw(89)p Ft(i)h Fw(to)g(extend)h Fs(function)d +Fw(to)i(accept)i(an)o(y)d(function-)-33 1279 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1359 a(name)g(\(a)i(sym)o(b)q(ol)e(or)h(a)h(list)f +(whose)h Fv(c)n(ar)g Fw(is)f Fs(setf)p Fw(|see)h(section)g(7.1\))f(as)g +(w)o(ell)g(as)h(lam)o(b)q(da-)0 1411 y(expressions.)30 +b(Th)o(us)17 b(one)h(ma)o(y)d(write)j Fs(\(function)h(\(setf)h +(cadr\)\))c Fw(to)i(refer)g(to)f(the)0 1463 y Fs(setf)c +Fw(expansion)h(function)f(for)h Fs(cadr)p Fw(.)-33 1475 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1516 a(F)m(or)f(example:)0 1606 y Fs(\(defun)20 +b(adder)g(\(x\))h(\(function)e(\(lambda)h(\(y\))g(\(+)h(x)g(y\)\)\)\))0 +1695 y Fw(The)14 b(result)h(of)e Fs(\(adder)20 b(3\))14 +b Fw(is)f(a)h(function)g(that)f(will)g(add)h Fs(3)f Fw(to)h(its)g +(argumen)o(t:)0 1785 y Fs(\(setq)20 b(add3)g(\(adder)g(3\)\))0 +1837 y(\(funcall)g(add3)g(5\))h Ft(\))f Fs(8)0 1927 y +Fw(This)11 b(w)o(orks)g(b)q(ecause)h Fs(function)d Fw(creates)k(a)d +(closure)i(of)e(the)i(inner)f(lam)o(b)q(da-expression)0 +1979 y(that)18 b(is)f(able)h(to)f(refer)i(to)f(the)g(v)n(alue)f +Fs(3)g Fw(of)g(the)i(v)n(ariable)d Fs(x)i Fw(ev)o(en)g(after)g(con)o +(trol)g(has)0 2031 y(returned)e(from)c(the)i(function)g +Fs(adder)p Fw(.)42 2083 y(More)21 b(generally)m(,)f(a)h(lexical)e +(closure)j(in)e(e\013ect)i(retains)f(the)g(abilit)o(y)e(to)h(refer)i +(to)0 2135 y(lexically)12 b(visible)i Fv(bindings)p Fw(,)g(not)f(just)h +(v)n(alues.)k(Consider)c(this)g(co)q(de:)0 2225 y Fs(\(defun)20 +b(two-funs)f(\(x\))42 2277 y(\(list)h(\(function)g(\(lambda)g(\(\))g +(x\)\))169 2329 y(\(function)g(\(lambda)f(\(y\))i(\(setq)f(x)h +(y\)\)\)\)\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 123 147 +123 146 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(123)0 295 y Fs(\(setq)20 b(funs)g(\(two-funs)g(6\)\))0 +347 y(\(funcall)g(\(car)g(funs\)\))g Ft(\))g Fs(6)0 399 +y(\(funcall)g(\(cadr)g(funs\))g(43\))g Ft(\))h Fs(43)0 +450 y(\(funcall)f(\(car)g(funs\)\))g Ft(\))g Fs(43)0 +545 y Fw(The)13 b(function)g Fs(two-funs)e Fw(returns)j(a)f(list)f(of)g +(t)o(w)o(o)h(functions,)f(eac)o(h)i(of)e(whic)o(h)h(refers)h(to)0 +597 y(the)g Fv(binding)f Fw(of)g(the)g(v)n(ariable)f +Fs(x)h Fw(created)h(on)f(en)o(try)h(to)f(the)g(function)g +Fs(two-funs)e Fw(when)0 649 y(it)g(w)o(as)g(called)g(with)g(argumen)o +(t)f Fs(6)p Fw(.)17 b(This)11 b(binding)g(has)g(the)h(v)n(alue)f +Fs(6)g Fw(initially)m(,)d(but)k Fs(setq)0 701 y Fw(can)f(alter)g(a)g +(binding.)16 b(The)11 b(lexical)f(closure)i(created)g(for)f(the)g +(\014rst)h(lam)o(b)q(da-expression)0 753 y(do)q(es)g(not)g(\\snapshot") +g(the)g(v)n(alue)f Fs(6)h Fw(for)f Fs(x)h Fw(when)g(the)g(closure)h(is) +f(created.)18 b(The)13 b(second)0 804 y(function)j(can)h(b)q(e)h(used)g +(to)e(alter)h(the)g(binding)f(\(to)h Fs(43)p Fw(,)f(in)h(the)g +(example\),)f(and)h(this)0 856 y(altered)d(v)n(alue)g(then)g(b)q +(ecomes)g(accessible)i(to)d(the)i(\014rst)g(function.)42 +909 y(In)h(situations)f(where)j(a)d(closure)i(of)f(a)g(lam)o(b)q +(da-expression)e(o)o(v)o(er)i(the)h(same)e(set)i(of)0 +961 y(bindings)11 b(ma)o(y)f(b)q(e)j(pro)q(duced)g(more)e(than)h(once,) +g(the)g(v)n(arious)g(resulting)g(closures)h(ma)o(y)0 +1013 y(or)h(ma)o(y)e(not)i(b)q(e)g Fs(eq)p Fw(,)f(at)h(the)g +(discretion)h(of)e(the)h(implemen)o(tation.)h(F)m(or)e(example:)0 +1109 y Fs(\(let)20 b(\(\(x)h(5\))g(\(funs)388 1113 y +Fn(')411 1109 y Fs(\(\)\)\))42 1161 y(\(dotimes)f(\(j)h(10\))85 +1213 y(\(push)f(#)215 1209 y(-)215 1217 y(-)m Fn(')258 +1213 y Fs(\(lambda)g(\(z\))296 1264 y(\(if)h(\(null)f(z\))h(\(setq)f(x) +h(0\))g(\(+)f(x)h(z\)\)\))212 1316 y(funs\)\))42 1368 +y(funs\))0 1463 y Fw(The)e(result)g(of)f(the)h(ab)q(o)o(v)o(e)g +(expression)g(is)g(a)f(list)g(of)g(ten)h(closures.)33 +b(Eac)o(h)19 b(logically)0 1515 y(requires)g(only)e(the)h(binding)f(of) +g Fs(x)p Fw(.)29 b(It)18 b(is)f(the)h(same)f(binding)g(in)g(eac)o(h)h +(case,)h(so)f(the)0 1567 y(ten)c(closures)h(ma)o(y)d(or)i(ma)o(y)d(not) +j(b)q(e)g(the)h(same)d(iden)o(tical)h(\()p Fs(eq)p Fw(\))h(ob)r(ject.) +19 b(On)14 b(the)g(other)0 1619 y(hand,)f(the)i(result)f(of)g(the)g +(expression)0 1714 y Fs(\(let)20 b(\(\(funs)258 1718 +y Fn(')281 1714 y Fs(\(\)\)\))42 1766 y(\(dotimes)g(\(j)h(10\))85 +1818 y(\(let)f(\(\(x)h(5\)\))127 1870 y(\(push)f(\(function)f(\(lambda) +h(\(z\))508 1922 y(\(if)h(\(null)f(z\))h(\(setq)f(x)h(0\))f(\(+)h(x)g +(z\)\)\)\))254 1974 y(funs\)\)\))42 2026 y(funs\))0 2120 +y Fw(is)13 b(also)g(a)g(list)g(of)g(ten)h(closures.)19 +b(Ho)o(w)o(ev)o(er,)14 b(in)f(this)g(case)i(no)e(t)o(w)o(o)g(of)g(the)h +(closures)h(ma)o(y)0 2172 y(b)q(e)e Fs(eq)p Fw(,)f(b)q(ecause)j(eac)o +(h)e(closure)h(is)e(o)o(v)o(er)h(a)f(distinct)h(binding)f(of)g +Fs(x)p Fw(,)h(and)f(these)i(bindings)0 2224 y(can)g(b)q(e)h(b)q(eha)o +(viorally)d(distinguished)i(b)q(ecause)h(of)f(the)g(use)h(of)e +Fs(setq)p Fw(.)42 2277 y(The)20 b(question)f(of)g(distinguishable)g(b)q +(eha)o(vior)h(is)f(imp)q(ortan)o(t;)h(the)h(result)f(of)f(the)0 +2329 y(simpler)13 b(expression)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 124 148 +124 147 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(124)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(let)20 b(\(\(funs)258 299 y Fn(')281 +295 y Fs(\(\)\)\))42 347 y(\(dotimes)g(\(j)h(10\))85 +399 y(\(let)f(\(\(x)h(5\)\))127 450 y(\(push)f(\(function)f(\(lambda)h +(\(z\))h(\(+)f(x)h(z\)\)\))254 502 y(funs\)\)\))42 554 +y(funs\))0 639 y Fw(is)16 b(a)f(list)g(of)h(ten)g(closures)h(that)f +Fv(may)g Fw(b)q(e)g(pairwise)g Fs(eq)p Fw(.)23 b(Although)15 +b(one)h(migh)o(t)e(think)0 691 y(that)h(a)f(di\013eren)o(t)h(binding)f +(of)f Fs(x)i Fw(is)f(in)o(v)o(olv)o(ed)f(for)h(eac)o(h)h(closure)g +(\(whic)o(h)g(is)f(indeed)h(the)0 743 y(case\),)f(the)h(bindings)e +(cannot)h(b)q(e)g(distinguished)f(b)q(ecause)j(their)e(v)n(alues)f(are) +h(iden)o(tical)0 795 y(and)i(imm)o(utabl)o(e,)e(there)k(b)q(eing)e(no)g +(o)q(ccurrence)k(of)15 b Fs(setq)h Fw(on)g Fs(x)p Fw(.)25 +b(A)17 b(compiler)e(w)o(ould)0 847 y(therefore)g(b)q(e)g(justi\014ed)f +(in)f(transforming)g(the)h(expression)h(to)0 932 y Fs(\(let)20 +b(\(\(funs)258 936 y Fn(')281 932 y Fs(\(\)\)\))42 984 +y(\(dotimes)g(\(j)h(10\))85 1036 y(\(push)f(\(function)f(\(lambda)h +(\(z\))g(\(+)h(5)g(z\)\)\))212 1088 y(funs\)\))42 1139 +y(funs\))0 1225 y Fw(where)15 b(clearly)g(the)f(closures)i(ma)o(y)c(b)q +(e)j(the)g(same)f(after)g(all.)k(The)d(general)f(rule,)h(then,)0 +1276 y(is)d(that)g(the)g(implemen)o(tation)d(is)i(free)i(to)f(ha)o(v)o +(e)f(t)o(w)o(o)h(distinct)g(ev)n(aluations)f(of)g(the)i(same)0 +1328 y Fs(function)j Fw(form)g(pro)q(duce)j(iden)o(tical)e(\()p +Fs(eq)p Fw(\))g(closures)i(if)e(it)g(can)h(pro)o(v)o(e)f(that)h(the)g +(t)o(w)o(o)0 1380 y(conceptually)c(distinct)g(resulting)g(closures)h(m) +o(ust)e(in)g(fact)h(b)q(e)g(b)q(eha)o(viorally)e(iden)o(tical)0 +1432 y(with)k(resp)q(ect)i(to)e(in)o(v)o(o)q(cation.)24 +b(This)16 b(is)g(merely)f(a)h(p)q(ermitted)g(optimization;)e(a)i(p)q +(er-)0 1484 y(fectly)e(v)n(alid)d(implemen)o(tation)f(migh)o(t)i +(simply)f(cause)j(ev)o(ery)h(distinct)e(ev)n(aluation)f(of)h(a)0 +1536 y Fs(function)f Fw(form)g(to)i(pro)q(duce)h(a)f(new)g(closure)h +(ob)r(ject)f(not)g Fs(eq)g Fw(to)f(an)o(y)h(other.)42 +1588 y(F)m(requen)o(tly)i(a)g(compiler)f(can)i(deduce)h(that)f(a)f +(closure)h(in)f(fact)h(do)q(es)g(not)f(need)i(to)0 1640 +y(close)c(o)o(v)o(er)g(an)o(y)g(v)n(ariable)e(bindings.)18 +b(F)m(or)13 b(example,)g(in)g(the)h(co)q(de)h(fragmen)o(t)0 +1725 y Fs(\(mapcar)20 b(\(function)f(\(lambda)h(\(x\))g(\(+)h(x)g +(2\)\)\))f(y\))0 1810 y Fw(the)g(function)f Fs(\(lambda)h(\(x\))g(\(+)h +(x)g(2\)\))e Fw(con)o(tains)g(no)g(references)j(to)e(an)o(y)e(outside)0 +1862 y(en)o(tit)o(y)m(.)31 b(In)19 b(this)f(imp)q(ortan)o(t)f(sp)q +(ecial)i(case,)h(the)f(same)f(\\closure")h(ma)o(y)d(b)q(e)j(used)h(as)0 +1914 y(the)15 b(v)n(alue)e(for)h(all)e(ev)n(aluations)h(of)h(the)g +Fs(function)f Fw(sp)q(ecial)h(form.)j(Indeed,)d(this)g(v)n(alue)0 +1966 y(need)20 b(not)f(b)q(e)g(a)g(closure)h(ob)r(ject)f(at)g(all;)h +(it)e(ma)o(y)f(b)q(e)j(a)e(simple)g(compiled)f(function)0 +2017 y(con)o(taining)11 b(no)g(en)o(vironmen)o(t)g(information.)j(This) +e(example)e(is)i(simply)d(a)j(sp)q(ecial)g(case)0 2069 +y(of)h(the)h(foregoing)e(discussion)i(and)f(is)h(included)f(as)h(a)f +(hin)o(t)g(to)g(implemen)o(tors)e(familiar)0 2121 y(with)e(previous)h +(metho)q(ds)e(of)h(implemen)o(ting)d(Lisp.)16 b(The)10 +b(distinction)f(b)q(et)o(w)o(een)i(closures)0 2173 y(and)h(other)g +(kinds)g(of)g(functions)g(is)f(somewhat)h(p)q(oin)o(tless,)g(actually)m +(,)e(as)i(Common)d(Lisp)0 2225 y(de\014nes)20 b(no)f(particular)f +(represen)o(tation)j(for)d(closures)i(and)f(no)g(w)o(a)o(y)f(to)g +(distinguish)0 2277 y(b)q(et)o(w)o(een)c(closures)f(and)g(non-closure)g +(functions.)k(All)12 b(that)g(matters)g(is)h(that)f(the)h(rules)0 +2329 y(of)g(lexical)g(scoping)h(b)q(e)h(ob)q(ey)o(ed.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 125 149 +125 148 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(125)42 295 y Fw(Since)15 b Fs(function)f Fw(forms)g(are)i(so)f +(frequen)o(tly)g(useful)h(but)f(somewhat)g(cum)o(b)q(ersome)0 +347 y(to)f(t)o(yp)q(e,)g(a)f(standard)h(abbreviation)g(is)f(de\014ned)i +(for)f(them:)j(an)o(y)c(form)f Fv(f)i Fw(preceded)i(b)o(y)0 +399 y Fs(#)0 395 y(-)0 403 y(-)n Fn(')58 399 y Fw(\()p +Fs(#)74 395 y(-)74 403 y(-)112 399 y Fw(follo)o(w)o(ed)e(b)o(y)h(an)g +(ap)q(ostrophe\))h(is)g(assumed)f(to)g(ha)o(v)o(e)g Fs(\(function)20 +b(\))15 b Fw(wrapp)q(ed)0 450 y(around)f(it)f(to)h(mak)o(e)e +Fs(\(function)20 b Fv(f)p Fs(\))p Fw(.)d(F)m(or)d(example,)0 +535 y Fs(\(remove-if)19 b(#)239 531 y(-)239 539 y(-)n +Fn(')282 535 y Fs(numberp)454 539 y Fn(')477 535 y Fs(\(1)i(a)g(b)g +(3\)\))0 619 y Fw(is)14 b(normally)d(in)o(terpreted)16 +b(b)o(y)d Fs(read)g Fw(to)h(mean)0 704 y Fs(\(remove-if)19 +b(\(function)g(numberp\))650 708 y Fn(')673 704 y Fs(\(1)i(a)g(b)g +(3\)\))0 788 y Fw(See)15 b(section)f(22.1.4.)1209 911 +y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(symbol-value)19 +b Fv(symb)n(ol)0 988 y Fs(symbol-value)f Fw(returns)k(the)e(curren)o(t) +i(v)n(alue)e(of)g(the)g(dynamic)f(\(sp)q(ecial\))i(v)n(ariable)0 +1040 y(named)16 b(b)o(y)i Fv(symb)n(ol)p Fw(.)28 b(An)18 +b(error)g(o)q(ccurs)h(if)e(the)h(sym)o(b)q(ol)d(has)j(no)f(v)n(alue;)h +(see)h Fs(boundp)0 1091 y Fw(and)12 b Fs(makunbound)p +Fw(.)j(Note)d(that)h(constan)o(t)f(sym)o(b)q(ols)f(are)h(really)f(v)n +(ariables)h(that)g(cannot)0 1143 y(b)q(e)k(c)o(hanged,)f(and)g(so)g +Fs(symbol-value)e Fw(ma)o(y)g(b)q(e)j(used)g(to)f(get)g(the)h(v)n(alue) +e(of)h(a)g(named)0 1195 y(constan)o(t.)j(In)11 b(particular,)h +Fs(symbol-value)c Fw(of)j(a)h(k)o(eyw)o(ord)f(will)f(return)j(that)e(k) +o(eyw)o(ord.)42 1247 y Fs(symbol-value)g Fw(cannot)j(access)i(the)e(v)n +(alue)f(of)h(a)f(lexical)g(v)n(ariable.)42 1299 y(This)k(function)g(is) +g(particularly)g(useful)g(for)g(implemen)o(ting)d(in)o(terpreters)20 +b(for)d(lan-)0 1351 y(guages)h(em)o(b)q(edded)h(in)e(Lisp.)31 +b(The)19 b(corresp)q(onding)g(assignmen)o(t)e(primitiv)o(e)f(is)i +Fs(set)p Fw(;)0 1403 y(alternativ)o(ely)m(,)12 b Fs(symbol-value)g +Fw(ma)o(y)f(b)q(e)k(used)g(with)e Fs(setf)p Fw(.)1209 +1526 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(symbol-function)18 +b Fv(symb)n(ol)0 1602 y Fs(symbol-function)f Fw(returns)k(the)g(curren) +o(t)g(global)d(function)i(de\014nition)f(named)g(b)o(y)0 +1654 y Fv(symb)n(ol)p Fw(.)32 b(An)18 b(error)i(is)e(signalled)g(if)f +(the)j(sym)o(b)q(ol)c(has)j(no)f(function)h(de\014nition;)g(see)0 +1706 y Fs(fboundp)p Fw(.)28 b(Note)18 b(that)f(the)i(de\014nition)e(ma) +o(y)e(b)q(e)k(a)e(function)g(or)h(ma)o(y)d(b)q(e)k(an)e(ob)r(ject)0 +1758 y(represen)o(ting)c(a)e(sp)q(ecial)g(form)f(or)h(macro.)16 +b(In)11 b(the)h(latter)f(case,)h(ho)o(w)o(ev)o(er,)g(it)f(is)g(an)g +(error)0 1810 y(to)f(attempt)f(to)h(in)o(v)o(ok)o(e)f(the)i(ob)r(ject)g +(as)f(a)f(function.)17 b(If)10 b(it)f(is)h(desired)h(to)f(pro)q(cess)i +(macros,)0 1862 y(sp)q(ecial)h(forms,)e(and)i(functions)g(equally)f(w)o +(ell,)f(as)i(when)h(writing)e(an)g(in)o(terpreter,)i(it)f(is)0 +1914 y(b)q(est)h(\014rst)h(to)e(test)h(the)g(sym)o(b)q(ol)e(with)h +Fs(macro-function)d Fw(and)j Fs(special-form-p)e Fw(and)0 +1966 y(then)k(to)e(in)o(v)o(ok)o(e)g(the)i(functional)e(v)n(alue)g +(only)g(if)g(these)i(t)o(w)o(o)f(tests)h(b)q(oth)f(yield)f(false.)42 +2017 y(This)k(function)g(is)g(particularly)g(useful)g(for)g(implemen)o +(ting)d(in)o(terpreters)20 b(for)d(lan-)0 2069 y(guages)d(em)o(b)q +(edded)g(in)f(Lisp.)42 2121 y Fs(symbol-function)f Fw(cannot)k(access)h +(the)g(v)n(alue)e(of)g(a)g(lexical)g(function)g(name)g(pro-)0 +2173 y(duced)g(b)o(y)f Fs(flet)f Fw(or)g Fs(labels)p +Fw(;)g(it)g(can)h(access)i(only)d(the)h(global)f(function)g(v)n(alue.) +42 2225 y(The)k(global)e(function)i(de\014nition)f(of)h(a)f(sym)o(b)q +(ol)f(ma)o(y)g(b)q(e)j(altered)f(b)o(y)g(using)g Fs(setf)0 +2277 y Fw(with)12 b Fs(symbol-function)p Fw(.)i(P)o(erforming)d(this)i +(op)q(eration)f(causes)i(the)f(sym)o(b)q(ol)e(to)h(ha)o(v)o(e)0 +2329 y Fv(only)20 b Fw(the)h(sp)q(eci\014ed)g(de\014nition)e(as)h(its)g +(global)e(function)i(de\014nition;)i(an)o(y)d(previous)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 126 150 +126 149 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(126)77 b(COMMON)13 +b(LISP)0 295 y Fw(de\014nition,)20 b(whether)h(as)f(a)f(macro)f(or)i +(as)f(a)h(function,)g(is)f(lost.)35 b(It)20 b(is)f(an)g(error)i(to)0 +347 y(attempt)13 b(to)h(rede\014ne)h(the)g(name)e(of)g(a)h(sp)q(ecial)g +(form)e(\(see)j(table)f(5-)o(1\).)42 399 y(X3J13)e(v)o(oted)h(in)f +(June)h(1988)f Ft(h)p Fw(90)p Ft(i)g Fw(to)h(clarify)e(the)j(b)q(eha)o +(vior)e(of)g Fs(symbol-function)-33 370 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 450 a Fw(in)h(the)i(ligh)o(t)e(of)g(the)h +(rede\014nition)h(of)e(the)h(t)o(yp)q(e)h Fs(function)p +Fw(.)0 510 y Fu(.)42 519 y Fw(It)c(is)g(p)q(ermissible)f(to)h(call)g +Fs(symbol-function)d Fw(on)i(an)o(y)h(sym)o(b)q(ol)e(for)i(whic)o(h)g +Fs(fboundp)42 571 y Fw(returns)17 b(true.)23 b(Note)16 +b(that)g Fs(fboundp)e Fw(m)o(ust)h(return)h(true)h(for)e(a)g(sym)o(b)q +(ol)f(naming)f(a)42 623 y(macro)f(or)i(a)g(sp)q(ecial)g(form.)0 +695 y Fu(.)42 704 y Fw(If)i Fs(fboundp)f Fw(returns)k(true)e(for)g(a)f +(sym)o(b)q(ol)f(but)i(the)h(sym)o(b)q(ol)d(denotes)j(a)e(macro)g(or)42 +756 y(sp)q(ecial)k(form,)g(then)i(the)f(v)n(alue)f(returned)i(b)o(y)e +Fs(symbol-function)e Fw(is)i(not)h(w)o(ell-)42 807 y(de\014ned)14 +b(but)h Fs(symbol-function)10 b Fw(will)j(not)h(signal)e(an)i(error.)0 +879 y Fu(.)42 888 y Fw(When)g Fs(symbol-function)e Fw(is)i(used)i(with) +e Fs(setf)g Fw(the)h(new)g(v)n(alue)f(m)o(ust)g(b)q(e)h(of)f(t)o(yp)q +(e)42 940 y Fs(function)p Fw(.)32 b(It)19 b(is)g(an)g(error)h(to)f(set) +h(the)g Fs(symbol-function)c Fw(of)j(a)g(sym)o(b)q(ol)e(to)i(a)42 +992 y(sym)o(b)q(ol,)13 b(a)h(list,)h(or)g(the)g(v)n(alue)g(returned)h +(b)o(y)f Fs(symbol-function)d Fw(on)j(the)g(name)f(of)42 +1044 y(a)f(macro)g(or)h(a)f(sp)q(ecial)h(form.)-33 1056 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1171 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(fdefinition)19 b Fv(function)p Fs(-)p Fv(name)-33 +1142 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1247 a Fw(X3J13)g(v)o(oted)g(in)g(Marc)o(h)g(1989)g +Ft(h)p Fw(89)p Ft(i)g Fw(to)g(add)g(the)g(function)g +Fs(fdefinition)e Fw(to)i(the)0 1299 y(language.)j(It)15 +b(is)h(exactly)f(lik)o(e)g Fs(symbol-function)d Fw(except)17 +b(that)f(its)f(argumen)o(t)g(ma)o(y)0 1351 y(b)q(e)c(an)o(y)e +(function-name)g(\(a)h(sym)o(b)q(ol)e(or)i(a)g(list)g(whose)g +Fv(c)n(ar)g Fw(is)g Fs(setf)p Fw(|see)g(section)h(7.1\);)f(it)0 +1403 y(returns)h(the)f(curren)o(t)h(global)c(function)i(de\014nition)g +(named)f(b)o(y)h(the)h(argumen)o(t)e Fv(function-)0 1455 +y(name)p Fw(.)32 b(One)19 b(ma)o(y)d(use)j Fs(fdefinition)d +Fw(with)i Fs(setf)f Fw(to)h(c)o(hange)h(the)g(curren)o(t)g(global)0 +1507 y(function)14 b(de\014nition)f(asso)q(ciated)i(with)e(a)h +(function-name.)-33 1519 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1633 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(boundp)20 b Fv(symb)n(ol)0 1710 y Fs(boundp)11 b +Fw(is)i(true)g(if)f(the)h(dynamic)e(\(sp)q(ecial\))i(v)n(ariable)e +(named)g(b)o(y)i Fv(symb)n(ol)f Fw(has)h(a)f(v)n(alue;)0 +1762 y(otherwise,)i(it)g(returns)h Fs(nil)p Fw(.)42 1814 +y(See)f(also)g Fs(set)f Fw(and)g Fs(makunbound)p Fw(.)1209 +1941 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(fboundp)20 +b Fv(symb)n(ol)0 2017 y Fs(fboundp)e Fw(is)h(true)h(if)f(the)h(sym)o(b) +q(ol)d(has)j(a)f(global)f(function)h(de\014nition.)34 +b(Note)20 b(that)0 2069 y Fs(fboundp)d Fw(is)h(true)h(when)f(the)h(sym) +o(b)q(ol)d(names)i(a)g(sp)q(ecial)g(form)e(or)i(macro.)30 +b Fs(macro-)0 2121 y(function)12 b Fw(and)i Fs(special-form-p)d +Fw(ma)o(y)h(b)q(e)i(used)h(to)f(test)h(for)e(these)j(cases.)42 +2173 y(X3J13)g(v)o(oted)h(in)f(June)i(1988)e Ft(h)p Fw(90)p +Ft(i)g Fw(to)h(emphasize)f(that,)h(despite)h(the)f(tigh)o(tening)-33 +2145 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2225 a(of)f(the)h(de\014nition)e(of)h(the)h(t)o(yp)q(e)g +Fs(function)p Fw(,)e Fs(fboundp)f Fw(m)o(ust)i(return)h(true)g(when)g +(the)0 2277 y(argumen)o(t)c(names)g(a)g(sp)q(ecial)i(form)d(or)i +(macro.)-33 2289 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2329 a(See)g(also)g Fs(symbol-function)c +Fw(and)k Fs(fmakunbound)p Fw(.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 127 151 +127 150 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(127)42 295 y Fw(X3J13)11 b(v)o(oted)h(in)g(Marc)o(h)g(1989)f +Ft(h)p Fw(89)p Ft(i)h Fw(to)f(extend)i Fs(fboundp)e Fw(to)h(accept)h +(an)o(y)e(function-)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(name)19 b(\(a)i(sym)o(b)q(ol)e(or)h(a)h(list)f +(whose)h Fv(c)n(ar)g Fw(is)f Fs(setf)p Fw(|see)h(section)g(7.1\).)38 +b(Th)o(us)21 b(one)0 399 y(ma)o(y)11 b(write)h Fs(\(fboundp)387 +403 y Fn(')410 399 y Fs(\(setf)20 b(cadr\)\))11 b Fw(to)i(determine)f +(whether)i(a)e Fs(setf)g Fw(expansion)0 450 y(function)i(has)g(b)q(een) +h(globally)c(de\014ned)k(for)f Fs(cadr)p Fw(.)-33 462 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 611 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(special-form-p)18 b Fv(symb)n(ol)0 688 y Fw(The)d(function)f +Fs(special-form-p)d Fw(tak)o(es)k(a)f(sym)o(b)q(ol.)j(If)d(the)h(sym)o +(b)q(ol)d(globally)h(names)0 740 y(a)f(sp)q(ecial)g(form,)e(then)i(a)g +(non-)p Fs(nil)e Fw(v)n(alue)i(is)f(returned;)j(otherwise)f +Fs(nil)e Fw(is)h(returned.)19 b(A)0 792 y(returned)f(non-)p +Fs(nil)e Fw(v)n(alue)f(is)i(t)o(ypically)e(a)h(function)g(of)g(implem)o +(en)o(tation-dep)q(enden)o(t)0 844 y(nature)f(that)f(can)g(b)q(e)g +(used)h(to)f(in)o(terpret)h(\(ev)n(aluate\))f(the)g(sp)q(ecial)g(form.) +42 896 y(It)e(is)g(p)q(ossible)g(for)g Fv(b)n(oth)g Fs(special-form-p)d +Fw(and)j Fs(macro-function)d Fw(to)j(b)q(e)h(true)g(of)e(a)0 +948 y(sym)o(b)q(ol.)k(This)9 b(is)h(p)q(ossible)g(b)q(ecause)h(an)f +(implemen)o(tati)o(on)d(is)i(p)q(ermitted)h(to)g(implem)o(en)o(t)0 +1000 y(an)o(y)16 b(macro)g(also)g(as)h(a)g(sp)q(ecial)g(form)e(for)i +(sp)q(eed.)28 b(On)17 b(the)h(other)f(hand,)g(the)h(macro)0 +1052 y(de\014nition)g(m)o(ust)f(b)q(e)i(a)o(v)n(ailable)d(for)i(use)h +(b)o(y)g(programs)e(that)h(understand)i(only)d(the)0 +1104 y(standard)d(sp)q(ecial)g(forms)f(listed)h(in)f(table)h(5-1.)0 +1282 y Fo(7.1.2.)20 b(Assignmen)n(t)0 1376 y Fw(The)f(follo)o(wing)d +(facilities)h(allo)o(w)g(the)i(v)n(alue)f(of)g(a)g(v)n(ariable)g +(\(more)f(sp)q(eci\014cally)m(,)i(the)0 1428 y(v)n(alue)12 +b(asso)q(ciated)i(with)f(the)h(curren)o(t)g(binding)e(of)h(the)g(v)n +(ariable\))f(to)h(b)q(e)h(altered.)k(Suc)o(h)0 1479 y(alteration)c(is)g +(di\013eren)o(t)i(from)c(establishing)i(a)g(new)h(binding.)k +(Constructs)d(for)e(estab-)0 1531 y(lishing)f(new)h(bindings)f(of)h(v)n +(ariables)f(are)h(describ)q(ed)i(in)d(section)i(7.5.)1145 +1692 y([)p Fv(Sp)n(e)n(cial)g(form)s Fw(])-1396 b Fs(setq)41 +b Ft(f)p Fv(var)15 b(form)p Ft(g)330 1677 y Fl(\003)0 +1769 y Fw(The)d(sp)q(ecial)g(form)e Fs(\(setq)20 b Fv(var1)h(form1)g +(var2)g(form2)g Fs(...\))10 b Fw(is)i(the)g(\\simple)e(v)n(ariable)0 +1821 y(assignmen)o(t)18 b(statemen)o(t")h(of)f(Lisp.)34 +b(First)20 b Fv(form1)e Fw(is)h(ev)n(aluated)g(and)g(the)h(result)g(is) +0 1873 y(stored)c(in)f(the)h(v)n(ariable)f Fv(var1)p +Fw(,)g(then)h Fv(form2)f Fw(is)g(ev)n(aluated)g(and)h(the)g(result)g +(stored)g(in)0 1925 y Fv(var2)p Fw(,)f(and)g(so)g(forth.)22 +b(The)15 b(v)n(ariables)g(are)g(represen)o(ted)j(as)e(sym)o(b)q(ols,)d +(of)i(course,)h(and)0 1977 y(are)i(in)o(terpreted)h(as)e(referring)h +(to)f(static)h(or)f(dynamic)f(instances)j(according)e(to)g(the)0 +2029 y(usual)e(rules.)24 b(Therefore)17 b Fs(setq)d Fw(ma)o(y)g(b)q(e)i +(used)g(for)f(assignmen)o(t)g(of)g(b)q(oth)g(lexical)g(and)0 +2080 y(sp)q(ecial)f(v)n(ariables.)42 2133 y Fs(setq)e +Fw(returns)j(the)f(last)f(v)n(alue)g(assigned,)g(that)h(is,)e(the)i +(result)h(of)d(the)i(ev)n(aluation)e(of)0 2185 y(its)j(last)f(argumen)o +(t.)19 b(As)c(a)f(b)q(oundary)h(case,)g(the)h(form)c +Fs(\(setq\))i Fw(is)g(legal)g(and)g(returns)0 2237 y +Fs(nil)p Fw(.)j(There)e(m)o(ust)e(b)q(e)i(an)e(ev)o(en)i(n)o(um)o(b)q +(er)e(of)g(argumen)o(t)g(forms.)k(F)m(or)c(example,)f(in)0 +2329 y Fs(\(setq)20 b(x)h(\(+)g(3)g(2)g(1\))g(y)g(\(cons)f(x)h(nil\)\)) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 128 152 +128 151 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(128)77 b(COMMON)13 +b(LISP)0 295 y Fs(x)j Fw(is)g(set)h(to)f Fs(6)p Fw(,)g +Fs(y)g Fw(is)g(set)h(to)e Fs(\(6\))p Fw(,)h(and)g(the)h +Fs(setq)e Fw(returns)j Fs(\(6\))p Fw(.)24 b(Note)16 b(that)g(the)h +(\014rst)0 347 y(assignmen)o(t)f(is)h(p)q(erformed)g(b)q(efore)h(the)g +(second)h(form)c(is)i(ev)n(aluated,)h(allo)o(wing)d(that)0 +399 y(form)d(to)i(use)h(the)f(new)g(v)n(alue)g(of)f Fs(x)p +Fw(.)42 450 y(See)19 b(also)f(the)h(description)h(of)e +Fs(setf)p Fw(,)g(the)h(Common)d(Lisp)i(\\general)h(assignmen)o(t)0 +502 y(statemen)o(t")11 b(that)h(is)f(capable)h(of)e(assigning)h(to)g(v) +n(ariables,)g(arra)o(y)g(elemen)o(ts,)h(and)f(other)0 +554 y(lo)q(cations.)42 606 y(Some)h(programmers)f(c)o(ho)q(ose)j(to)f +(a)o(v)o(oid)f Fs(setq)g Fw(as)i(a)f(matter)f(of)h(st)o(yle,)g(alw)o(a) +o(ys)f(using)-33 578 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 658 a Fs(setf)18 b Fw(for)g(an)o(y)g(kind)g(of)f +(structure)k(mo)q(di\014cation.)29 b(Others)20 b(use)g +Fs(setq)d Fw(with)h(simple)0 710 y(v)n(ariable)13 b(names)g(and)h +Fs(setf)f Fw(with)g(all)g(other)h(generalized)h(v)n(ariables.)-33 +722 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 762 a(X3J13)d(v)o(oted)h(in)f(Marc)o(h)h(1989)f +Ft(h)p Fw(173)p Ft(i)g Fw(to)g(sp)q(ecify)i(that)e(if)g(an)o(y)g +Fv(var)h Fw(refers)h(not)e(to)h(an)-33 733 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 814 a(ordinary)g(v)n(ariable)g(but)h(to)f(a)g(binding)g +(made)f(b)o(y)i Fs(symbol-macrolet)p Fw(,)c(then)k(that)g +Fv(var)0 866 y Fw(is)g(handled)g(as)g(if)f Fs(setf)g +Fw(had)g(b)q(een)i(used)g(instead)f(of)g Fs(setq)p Fw(.)-33 +877 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1255 994 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(psetq)41 b Ft(f)p Fv(var)14 b(form)p Ft(g)351 979 +y Fl(\003)0 1071 y Fw(A)f Fs(psetq)e Fw(form)g(is)h(just)h(lik)o(e)e(a) +i Fs(setq)e Fw(form,)g(except)j(that)e(the)h(assignmen)o(ts)f(happ)q +(en)h(in)0 1123 y(parallel.)j(First)d(all)f(of)g(the)h(forms)e(are)i +(ev)n(aluated,)f(and)g(then)h(the)h(v)n(ariables)d(are)i(set)h(to)0 +1174 y(the)g(resulting)g(v)n(alues.)k(The)d(v)n(alue)e(of)g(the)i +Fs(psetq)d Fw(form)h(is)g Fs(nil)p Fw(.)18 b(F)m(or)13 +b(example:)0 1260 y Fs(\(setq)20 b(a)h(1\))0 1312 y(\(setq)f(b)h(2\))0 +1364 y(\(psetq)f(a)h(b)g(b)g(a\))0 1416 y(a)g Ft(\))g +Fs(2)0 1467 y(b)g Ft(\))g Fs(1)0 1553 y Fw(In)13 b(this)g(example,)e +(the)j(v)n(alues)e(of)h Fs(a)f Fw(and)h Fs(b)g Fw(are)g(exc)o(hanged)h +(b)o(y)f(using)f(parallel)g(assign-)0 1605 y(men)o(t.)24 +b(\(If)15 b(sev)o(eral)i(v)n(ariables)e(are)i(to)f(b)q(e)h(assigned)f +(in)g(parallel)e(in)i(the)h(con)o(text)g(of)e(a)0 1657 +y(lo)q(op,)e(the)h Fs(do)g Fw(construct)h(ma)o(y)d(b)q(e)j +(appropriate.\))42 1709 y(See)i(also)f(the)h(description)g(of)e +Fs(psetf)p Fw(,)h(the)h(Common)c(Lisp)j(\\general)h(parallel)e(as-)0 +1760 y(signmen)o(t)c(statemen)o(t")i(that)f(is)h(capable)f(of)g +(assigning)g(to)g(v)n(ariables,)g(arra)o(y)g(elemen)o(ts,)0 +1812 y(and)i(other)g(lo)q(cations.)42 1864 y(X3J13)e(v)o(oted)h(in)f +(Marc)o(h)h(1989)f Ft(h)p Fw(173)p Ft(i)g Fw(to)g(sp)q(ecify)i(that)e +(if)g(an)o(y)g Fv(var)h Fw(refers)h(not)e(to)h(an)-33 +1836 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1916 a(ordinary)g(v)n(ariable)g(but)h(to)f(a)g(binding)g +(made)f(b)o(y)i Fs(symbol-macrolet)p Fw(,)c(then)k(that)g +Fv(var)0 1968 y Fw(is)g(handled)g(as)g(if)f Fs(psetf)f +Fw(had)i(b)q(een)h(used)g(instead)f(of)f Fs(psetq)p Fw(.)-33 +1980 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 2096 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(set)21 b Fv(symb)n(ol)k(value)0 2173 y Fs(set)13 +b Fw(allo)o(ws)f(alteration)h(of)g(the)h(v)n(alue)f(of)g(a)g(dynamic)f +(\(sp)q(ecial\))i(v)n(ariable.)i Fs(set)d Fw(causes)0 +2225 y(the)h(dynamic)f(v)n(ariable)f(named)h(b)o(y)h +Fv(symb)n(ol)g Fw(to)f(tak)o(e)h(on)g Fv(value)g Fw(as)g(its)g(v)n +(alue.)42 2277 y(X3J13)f(v)o(oted)g(in)g(Jan)o(uary)g(1989)g +Ft(h)p Fw(7)p Ft(i)g Fw(to)g(clarify)g(that)g(the)h Fv(value)g +Fw(ma)o(y)d(b)q(e)j(an)o(y)f(Lisp)-33 2249 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a(datum)f(whatso)q(ev)o(er.)-33 2340 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 129 153 +129 152 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(129)42 295 y Fw(Only)16 b(the)i(v)n(alue)e(of)h(the)g(curren)o(t)i +(dynamic)c(binding)h(is)h(altered;)i(if)d(there)j(are)e(no)0 +347 y(bindings)c(in)h(e\013ect,)h(the)f(most)f(global)f(v)n(alue)h(is)h +(altered.)19 b(F)m(or)13 b(example,)0 432 y Fs(\(set)20 +b(\(if)h(\(eq)f(a)h(b\))387 436 y Fn(')410 432 y Fs(c)451 +436 y Fn(')474 432 y Fs(d\))537 436 y Fn(')560 432 y +Fs(foo\))0 518 y Fw(will)12 b(either)j(set)f Fs(c)f Fw(to)h +Fs(foo)f Fw(or)g(set)i Fs(d)e Fw(to)h Fs(foo)p Fw(,)e(dep)q(ending)i +(on)g(the)g(outcome)e(of)h(the)i(test)0 570 y Fs(\(eq)21 +b(a)g(b\))p Fw(.)42 622 y Fs(set)13 b Fw(returns)i Fv(value)f +Fw(as)g(its)g(result.)42 674 y Fs(set)d Fw(cannot)i(alter)f(the)h(v)n +(alue)f(of)f(a)h(lo)q(cal)g(\(lexically)f(b)q(ound\))h(v)n(ariable.)17 +b(The)12 b(sp)q(ecial)0 726 y(form)j Fs(setq)g Fw(is)h(usually)g(used)h +(for)f(altering)g(the)h(v)n(alues)f(of)g(v)n(ariables)g(\(lexical)g(or) +g(dy-)0 778 y(namic\))d(in)i(programs.)20 b Fs(set)14 +b Fw(is)h(particularly)f(useful)h(for)g(implemen)o(ting)c(in)o +(terpreters)0 830 y(for)16 b(languages)g(em)o(b)q(edded)g(in)g(Lisp.)25 +b(See)18 b(also)d Fs(progv)p Fw(,)h(a)g(construct)i(that)e(p)q(erforms) +0 882 y(binding)d(rather)i(than)f(assignmen)o(t)e(of)i(dynamic)e(v)n +(ariables.)1209 1012 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(makunbound)19 b Fv(symb)n(ol)1209 1064 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(fmakunbound)19 b Fv(symb)n(ol)0 +1140 y Fs(makunbound)8 b Fw(causes)k(the)e(dynamic)f(\(sp)q(ecial\))i +(v)n(ariable)e(named)g(b)o(y)h Fv(symb)n(ol)g Fw(to)g(b)q(ecome)0 +1192 y(un)o(b)q(ound)20 b(\(ha)o(v)o(e)g(no)g(v)n(alue\).)35 +b Fs(fmakunbound)18 b Fw(do)q(es)j(the)f(analogous)f(thing)h(for)f(the) +0 1244 y(global)12 b(function)i(de\014nition)f(named)g(b)o(y)h +Fv(symb)n(ol)p Fw(.)k(F)m(or)13 b(example:)0 1330 y Fs(\(setq)20 +b(a)h(1\))0 1382 y(a)g Ft(\))g Fs(1)0 1434 y(\(makunbound)259 +1438 y Fn(')282 1434 y Fs(a\))0 1486 y(a)g Ft(\))g Fw(causes)15 +b(an)f(error)0 1589 y Fs(\(defun)20 b(foo)g(\(x\))h(\(+)g(x)g(1\)\))0 +1641 y(\(foo)f(4\))h Ft(\))g Fs(5)0 1693 y(\(fmakunbound)280 +1697 y Fn(')304 1693 y Fs(foo\))0 1745 y(\(foo)f(4\))h +Ft(\))g Fw(causes)15 b(an)f(error)0 1831 y(Both)g(functions)g(return)h +Fv(symb)n(ol)f Fw(as)g(the)g(result)h(v)n(alue.)42 1883 +y(X3J13)k(v)o(oted)h(in)f(Marc)o(h)i(1989)e Ft(h)p Fw(89)p +Ft(i)g Fw(to)h(extend)h Fs(fmakunbound)c Fw(to)j(accept)h(an)o(y)-33 +1854 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1935 a(function-name)13 b(\(a)i(sym)o(b)q(ol)e(or)i(a)g +(list)f(whose)i Fv(c)n(ar)f Fw(is)f Fs(setf)p Fw(|see)h(section)h +(7.1\).)k(Th)o(us)0 1987 y(one)12 b(ma)o(y)d(write)j +Fs(\(fmakunbound)545 1991 y Fn(')569 1987 y Fs(\(setf)20 +b(cadr\)\))10 b Fw(to)h(remo)o(v)o(e)f(an)o(y)h(global)f(de\014nition)0 +2038 y(of)j(a)h Fs(setf)f Fw(expansion)h(function)f(for)h +Fs(cadr)p Fw(.)-33 2050 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2191 a Fo(7.2.)20 b(Generalized)13 b(V)-5 +b(ariables)0 2277 y Fw(In)15 b(Lisp,)f(a)h(v)n(ariable)e(can)i(remem)o +(b)q(er)f(one)h(piece)h(of)e(data,)g(that)h(is,)g(one)g(Lisp)f(ob)r +(ject.)0 2329 y(The)g(main)d(op)q(erations)i(on)h(a)f(v)n(ariable)f +(are)h(to)h(reco)o(v)o(er)g(that)f(ob)r(ject)h(and)g(to)f(alter)g(the) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 130 154 +130 153 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(130)77 b(COMMON)13 +b(LISP)0 295 y Fw(v)n(ariable)i(to)i(remem)o(b)q(er)e(a)h(new)h(ob)r +(ject;)h(these)g(op)q(erations)e(are)h(often)f(called)h +Fv(ac)n(c)n(ess)0 347 y Fw(and)g Fv(up)n(date)g Fw(op)q(erations.)28 +b(The)17 b(concept)h(of)f(v)n(ariables)f(named)g(b)o(y)g(sym)o(b)q(ols) +g(can)h(b)q(e)0 399 y(generalized)f(to)e(an)o(y)h(storage)g(lo)q +(cation)f(that)h(can)g(remem)o(b)q(er)f(one)h(piece)h(of)f(data,)f(no)0 +450 y(matter)h(ho)o(w)h(that)g(lo)q(cation)g(is)g(named.)24 +b(Examples)15 b(of)g(suc)o(h)i(storage)g(lo)q(cations)e(are)0 +502 y(the)d Fv(c)n(ar)e Fw(and)h Fv(c)n(dr)g Fw(of)g(a)f(cons,)i +(elemen)o(ts)f(of)g(an)g(arra)o(y)m(,)f(and)h(comp)q(onen)o(ts)g(of)f +(a)h(structure.)42 561 y(F)m(or)h(eac)o(h)g(kind)g(of)g(generalized)h +(v)n(ariable,)f(t)o(ypically)f(there)i(are)g(t)o(w)o(o)f(functions)h +(that)0 613 y(implemen)o(t)7 b(the)j(conceptual)h Fv(ac)n(c)n(ess)f +Fw(and)f Fv(up)n(date)i Fw(op)q(erations.)17 b(F)m(or)9 +b(a)h(v)n(ariable,)f(merely)0 664 y(men)o(tioning)k(the)i(name)f(of)g +(the)h(v)n(ariable)f(accesses)j(it,)e(while)f(the)h Fs(setq)f +Fw(sp)q(ecial)h(form)0 716 y(can)d(b)q(e)h(used)f(to)g(up)q(date)h(it.) +k(The)12 b(function)f Fs(car)h Fw(accesses)i(the)f Fv(c)n(ar)e +Fw(of)g(a)h(cons,)g(and)g(the)0 768 y(function)e Fs(rplaca)f +Fw(up)q(dates)i(it.)16 b(The)11 b(function)e Fs(symbol-value)f +Fw(accesses)13 b(the)d(dynamic)0 820 y(v)n(alue)15 b(of)g(a)h(v)n +(ariable)f(named)f(b)o(y)i(a)g(giv)o(en)f(sym)o(b)q(ol,)f(and)i(the)g +(function)g Fs(set)f Fw(up)q(dates)0 872 y(it.)42 930 +y(Rather)f(than)g(thinking)f(ab)q(out)h(t)o(w)o(o)f(distinct)h +(functions)g(that)g(resp)q(ectiv)o(ely)i(access)0 982 +y(and)i(up)q(date)g(a)g(storage)h(lo)q(cation)e(someho)o(w)f(deduced)k +(from)c(their)j(argumen)o(ts,)e(w)o(e)0 1034 y(can)12 +b(instead)h(simply)d(think)h(of)h(a)g(call)f(to)h(the)h(access)g +(function)f(with)g(giv)o(en)f(argumen)o(ts)0 1086 y(as)h(a)h +Fv(name)f Fw(for)h(the)f(storage)h(lo)q(cation.)k(Th)o(us,)12 +b(just)h(as)f Fs(x)h Fw(ma)o(y)d(b)q(e)j(considered)h(a)e(name)0 +1138 y(for)j(a)f(storage)h(lo)q(cation)f(\(a)h(v)n(ariable\),)f(so)h +Fs(\(car)20 b(x\))15 b Fw(is)f(a)h(name)f(for)g(the)i +Fv(c)n(ar)e Fw(of)h(some)0 1190 y(cons)i(\(whic)o(h)f(is)g(in)f(turn)i +(named)e(b)o(y)h Fs(x)p Fw(\).)24 b(No)o(w,)16 b(rather)h(than)f(ha)o +(ving)f(to)h(remem)o(b)q(er)0 1242 y(t)o(w)o(o)f(functions)g(for)g(eac) +o(h)g(kind)g(of)f(generalized)i(v)n(ariable)e(\(ha)o(ving)g(to)h(remem) +o(b)q(er,)f(for)0 1294 y(example,)j(that)i Fs(rplaca)e +Fw(corresp)q(onds)j(to)e Fs(car)p Fw(\),)g(w)o(e)g(adopt)g(a)g(uniform) +e(syn)o(tax)i(for)0 1345 y(up)q(dating)13 b(storage)i(lo)q(cations)e +(named)g(in)h(this)g(w)o(a)o(y)m(,)e(using)h(the)i Fs(setf)e +Fw(macro.)k(This)d(is)0 1397 y(analogous)f(to)i(the)g(w)o(a)o(y)f(w)o +(e)h(use)g(the)g Fs(setq)f Fw(sp)q(ecial)h(form)e(to)h(con)o(v)o(ert)h +(the)h(name)d(of)h(a)0 1449 y(v)n(ariable)i(\(whic)o(h)g(is)h(also)f(a) +g(form)f(that)i(accesses)i(it\))e(in)o(to)f(a)g(form)f(that)i(up)q +(dates)h(it.)0 1501 y(The)c(uniformit)o(y)e(of)h(this)h(approac)o(h)g +(is)f(illustrated)h(in)f(the)i(follo)o(wing)c(table.)0 +1647 y(Access)16 b(F)m(unction)65 b(Up)q(date)14 b(F)m(unction)100 +b(Up)q(date)14 b(Using)g Fs(setf)p 0 1665 1395 2 v 0 +1714 a(x)336 b(\(setq)20 b(x)h(datum\))102 b(\(setf)20 +b(x)h(datum\))0 1766 y(\(car)f(x\))206 b(\(rplaca)19 +b(x)i(datum\))59 b(\(setf)20 b(\(car)g(x\))h(datum\))0 +1818 y(\(symbol-value)d(x\))10 b(\(set)20 b(x)h(datum\))124 +b(\(setf)20 b(\(symbol-value)e(x\))j(datum\))p 0 1835 +V 0 1959 a(setf)12 b Fw(is)h(actually)e(a)i(macro)e(that)i(examines)f +(an)h(access)h(form)d(and)i(pro)q(duces)h(a)f(call)f(to)0 +2011 y(the)i(corresp)q(onding)h(up)q(date)g(function.)42 +2069 y(Giv)o(en)g(the)i(existence)i(of)d Fs(setf)f Fw(in)h(Common)e +(Lisp,)i(it)g(is)h(not)f(necessary)j(to)d(ha)o(v)o(e)0 +2121 y Fs(setq)p Fw(,)f Fs(rplaca)p Fw(,)f(and)i Fs(set)p +Fw(;)f(they)i(are)f(redundan)o(t.)24 b(They)16 b(are)g(retained)h(in)e +(Common)0 2173 y(Lisp)20 b(b)q(ecause)i(of)d(their)h(historical)g(imp)q +(ortance)f(in)g(Lisp.)37 b(Ho)o(w)o(ev)o(er,)21 b(most)e(other)0 +2225 y(up)q(date)e(functions)f(\(suc)o(h)h(as)f Fs(putprop)p +Fw(,)f(the)i(up)q(date)f(function)g(for)g Fs(get)p Fw(\))g(ha)o(v)o(e)g +(b)q(een)0 2277 y(eliminated)10 b(from)h(Comm)o(on)e(Lisp)j(in)g(the)h +(exp)q(ectation)g(that)f Fs(setf)f Fw(will)g(b)q(e)h(uniformly)0 +2329 y(used)j(in)e(their)h(place.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 131 155 +131 154 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(131)1255 295 y Fw([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(setf)41 +b Ft(f)p Fv(plac)n(e)15 b(newvalue)p Ft(g)437 280 y Fl(\003)0 +372 y Fs(\(setf)20 b Fv(plac)n(e)h(newvalue)p Fs(\))f +Fw(tak)o(es)g(a)f(form)f Fv(plac)n(e)i Fw(that)g(when)g(ev)n(aluated)f +Fv(ac)n(c)n(esses)h Fw(a)0 423 y(data)g(ob)r(ject)h(in)e(some)h(lo)q +(cation)f(and)h(\\in)o(v)o(erts")g(it)g(to)g(pro)q(duce)h(a)f(corresp)q +(onding)0 475 y(form)12 b(to)h Fv(up)n(date)h Fw(the)g(lo)q(cation.)j +(A)d(call)f(to)g(the)h Fs(setf)f Fw(macro)f(therefore)j(expands)f(in)o +(to)0 527 y(an)j(up)q(date)h(form)e(that)h(stores)i(the)f(result)g(of)e +(ev)n(aluating)g(the)i(form)e Fv(newvalue)h Fw(in)o(to)0 +579 y(the)d(place)h(referred)g(to)f(b)o(y)g(the)g(access)i(form.)42 +631 y(If)g(more)g(than)h(one)g Fv(plac)n(e)p Fw(-)p Fv(newvalue)g +Fw(pair)g(is)g(sp)q(eci\014ed,)i(the)e(pairs)g(are)g(pro)q(cessed)0 +683 y(sequen)o(tially;)c(that)h(is,)0 765 y Fs(\(setf)20 +b Fv(plac)n(e1)i(newvalue1)127 817 y(plac)n(e2)g(newvalue2)p +Fs(\))127 869 y(...)127 921 y Fv(plac)n(en)g(newvaluen)p +Fs(\))0 1004 y Fw(is)14 b(precisely)h(equiv)n(alen)o(t)e(to)0 +1086 y Fs(\(progn)20 b(\(setf)g Fv(plac)n(e1)i(newvalue1)p +Fs(\))148 1138 y(\(setf)e Fv(plac)n(e2)i(newvalue2)p +Fs(\))148 1190 y(...)148 1242 y(\(setf)e Fv(plac)n(en)i(newvaluen)p +Fs(\)\))0 1324 y Fw(F)m(or)13 b(consistency)m(,)i(it)e(is)h(legal)f(to) +h(write)g Fs(\(setf\))p Fw(,)e(whic)o(h)i(simply)e(returns)j +Fs(nil)p Fw(.)42 1376 y(The)f(form)e Fv(plac)n(e)i Fw(ma)o(y)e(b)q(e)i +(an)o(y)g(one)g(of)f(the)i(follo)o(wing:)0 1436 y Fu(.)42 +1445 y Fw(The)f(name)f(of)g(a)g(v)n(ariable)g(\(either)i(lexical)e(or)h +(dynamic\).)0 1517 y Fu(.)42 1526 y Fw(A)19 b(function)g(call)g(form)f +(whose)i(\014rst)g(elemen)o(t)f(is)h(the)g(name)e(of)h(an)o(y)g(one)h +(of)f(the)42 1578 y(follo)o(wing)11 b(functions:)42 1655 +y Fs(aref)199 b(car)177 b(svref)42 1707 y(nth)221 b(cdr)177 +b(get)42 1759 y(elt)221 b(caar)155 b(getf)330 b(symbol-value)42 +1811 y(rest)199 b(cadr)155 b(gethash)264 b(symbol-function)42 +1863 y(first)177 b(cdar)155 b(documentation)132 b(symbol-plist)42 +1915 y(second)155 b(cddr)g(fill-pointer)f(macro-function)42 +1967 y(third)177 b(caaar)133 b(caaaar)286 b(cdaaar)42 +2018 y(fourth)155 b(caadr)133 b(caaadr)286 b(cdaadr)42 +2070 y(fifth)177 b(cadar)133 b(caadar)286 b(cdadar)42 +2122 y(sixth)177 b(caddr)133 b(caaddr)286 b(cdaddr)42 +2174 y(seventh)133 b(cdaar)g(cadaar)286 b(cddaar)42 2226 +y(eighth)155 b(cdadr)133 b(cadadr)286 b(cddadr)42 2278 +y(ninth)177 b(cddar)133 b(caddar)286 b(cdddar)42 2330 +y(tenth)177 b(cdddr)133 b(cadddr)286 b(cddddr)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 132 156 +132 155 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(132)77 b(COMMON)13 +b(LISP)42 295 y Fw(X3J13)g(v)o(oted)h(in)g(Marc)o(h)g(1988)f +Ft(h)p Fw(6)p Ft(i)h Fw(to)f(add)h Fs(row-major-aref)d +Fw(to)j(this)g(list.)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 359 a(X3J13)h(v)o(oted)g(in)g(June)h(1989)e +Ft(h)p Fw(49)p Ft(i)i Fw(to)f(add)g Fs(compiler-macro-fu)o(nctio)o(n)d +Fw(to)k(this)-33 331 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 42 411 a(list.)-33 423 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 475 a(X3J13)d(v)o(oted)g(in)g(Marc)o(h)h(1989)e +Ft(h)p Fw(89)p Ft(i)h Fw(to)h(clarify)e(that)h(this)h(rule)g(applies)f +(only)f(when)-33 447 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 42 527 a(the)h(function)f(name)g(refers)i(to)e(a)h(global) +e(function)h(de\014nition)g(and)h(not)f(to)h(a)f(lo)q(cally)42 +579 y(de\014ned)i(function)g(or)g(macro.)-33 591 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1309 a Fu(.)42 1318 y Fw(A)g(function)g(call)f(form)g +(whose)i(\014rst)g(elemen)o(t)f(is)g(the)h(name)e(of)g(a)h(selector)i +(function)42 1370 y(constructed)g(b)o(y)d Fs(defstruct)p +Fw(.)42 1434 y(X3J13)g(v)o(oted)g(in)g(Marc)o(h)h(1989)e +Ft(h)p Fw(89)p Ft(i)h Fw(to)h(clarify)e(that)h(this)h(rule)g(applies)f +(only)f(when)-33 1406 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 42 1486 a(the)h(function)f(name)g(refers)i(to)e(a)h +(global)e(function)h(de\014nition)g(and)h(not)f(to)h(a)f(lo)q(cally)42 +1538 y(de\014ned)i(function)g(or)g(macro.)-33 1550 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2268 a Fu(.)42 2277 y Fw(A)19 b(function)g(call)g(form)f +(whose)i(\014rst)g(elemen)o(t)f(is)h(the)g(name)e(of)h(an)o(y)g(one)h +(of)f(the)42 2329 y(follo)o(wing)11 b(functions,)j(pro)o(vided)g(that)g +(the)h(new)g(v)n(alue)f(is)g(of)f(the)i(sp)q(eci\014ed)h(t)o(yp)q(e)f +(so)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 133 157 +133 156 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(133)42 295 y Fw(that)14 b(it)h(can)g(b)q(e)g(used)h(to)e(replace)i +(the)g(sp)q(eci\014ed)g(\\lo)q(cation")d(\(whic)o(h)i(is)g(in)f(eac)o +(h)h(of)42 347 y(these)g(cases)g(not)f(truly)g(a)f(generalized)i(v)n +(ariable\):)42 436 y(F)m(unction)e(Name)49 b(Required)14 +b(T)o(yp)q(e)p 42 453 599 2 v 42 503 a Fs(char)240 b(string-char)42 +555 y(schar)218 b(string-char)42 606 y(bit)262 b(bit)42 +658 y(sbit)240 b(bit)42 710 y(subseq)196 b(sequence)p +42 727 V -38 687 a Fk(.)-38 700 y(.)-38 713 y(.)-38 726 +y(.)-38 739 y(.)-38 752 y(.)-38 765 y(.)-38 778 y(.)-38 +791 y(.)-38 804 y(.)-38 817 y(.)-38 830 y(.)-38 843 y(.)-38 +855 y(.)-38 868 y(.)-38 881 y(.)-38 894 y(.)-38 907 y(.)-38 +920 y(.)-38 933 y(.)-38 946 y(.)-38 959 y(.)-38 972 y(.)-38 +985 y(.)-38 998 y(.)-38 1011 y(.)-38 1024 y(.)-38 1037 +y(.)-38 1050 y(.)-38 1063 y(.)-38 1076 y(.)-38 1089 y(.)-38 +1102 y(.)-38 1115 y(.)-38 1128 y(.)-38 1141 y(.)-38 1154 +y(.)-38 1167 y(.)-38 1180 y(.)-38 1193 y(.)-38 1206 y(.)-38 +1219 y(.)-38 1232 y(.)-38 1245 y(.)-38 1258 y(.)-38 1271 +y(.)-38 1284 y(.)-38 1297 y(.)-38 1310 y(.)-38 1322 y(.)-38 +1335 y(.)-38 1348 y(.)-38 1361 y(.)-38 1374 y(.)-38 1387 +y(.)-38 1400 y(.)-38 1413 y(.)-38 1426 y(.)-38 1439 y(.)-38 +1452 y(.)-38 1465 y(.)-38 1478 y(.)-38 1491 y(.)-38 1504 +y(.)-38 1517 y(.)-38 1530 y(.)-38 1543 y(.)-38 1556 y(.)-38 +1569 y(.)-38 1582 y(.)-38 1595 y(.)-38 1608 y(.)-38 1621 +y(.)-38 1634 y(.)-38 1647 y(.)-38 1660 y(.)-38 1673 y(.)-38 +1686 y(.)-38 1699 y(.)-38 1712 y(.)-38 1725 y(.)-38 1738 +y(.)-38 1751 y(.)-38 1764 y(.)-38 1777 y(.)-38 1789 y(.)-38 +1802 y(.)-38 1815 y(.)-38 1828 y(.)-38 1841 y(.)-38 1854 +y(.)-38 1867 y(.)-38 1880 y(.)-38 1893 y(.)-38 1906 y(.)-38 +1919 y(.)-38 1932 y(.)-38 1945 y(.)-38 1958 y(.)-38 1971 +y(.)-38 1984 y(.)-38 1997 y(.)-38 2010 y(.)-38 2023 y(.)-38 +2036 y(.)-38 2049 y(.)-38 2062 y(.)-38 2075 y(.)-38 2088 +y(.)-38 2101 y(.)-38 2114 y(.)-38 2127 y(.)-38 2140 y(.)-38 +2153 y(.)-38 2166 y(.)-38 2179 y(.)-38 2192 y(.)-38 2205 +y(.)-38 2218 y(.)-38 2231 y(.)-38 2244 y(.)-38 2256 y(.)-38 +2269 y(.)-38 2282 y(.)-38 2295 y(.)-38 2308 y(.)-38 2321 +y(.)-38 2334 y(.)-38 2347 y(.)-38 2360 y(.)-38 2373 y(.)-38 +2386 y(.)-38 2399 y(.)-38 2412 y(.)-38 2425 y(.)-38 2438 +y(.)-38 2451 y(.)-38 2464 y(.)-38 2477 y(.)-38 2490 y(.)-38 +2503 y(.)-38 2516 y(.)-38 2529 y(.)-38 2542 y(.)-38 2555 +y(.)-38 2568 y(.)-38 2581 y(.)-38 2594 y(.)-38 2607 y(.)-38 +2620 y(.)-38 2633 y(.)-38 2646 y(.)-38 2659 y(.)-38 2672 +y(.)-38 2685 y(.)-38 2698 y(.)-38 2711 y(.)-38 2723 y(.)-38 +2736 y(.)-38 2749 y(.)-38 2762 y(.)-38 2775 y(.)-38 2788 +y(.)-38 2801 y(.)-38 2814 y(.)-38 2827 y(.)-38 2840 y(.)-38 +2853 y(.)-38 2866 y(.)-38 2879 y(.)-38 2892 y(.)-38 2905 +y(.)-38 2918 y(.)-38 2931 y(.)-38 2944 y(.)-38 2957 y(.)-38 +2970 y(.)-38 2983 y(.)-38 2996 y(.)-38 3009 y(.)-38 3022 +y(.)-38 3035 y(.)-38 3048 y(.)-38 3061 y(.)-38 3074 y(.)-38 +3087 y(.)-38 3100 y(.)-38 3113 y(.)-38 3126 y(.)-38 3139 +y(.)-38 3152 y(.)-38 3165 y(.)-38 3178 y(.)-38 3190 y(.)-38 +3203 y(.)-38 3216 y(.)-38 3229 y(.)-38 3242 y(.)-38 3255 +y(.)-38 3268 y(.)-33 727 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 807 a Fw(X3J13)16 b(v)o(oted)h(in)g(Marc)o(h)g(1989)f +Ft(h)p Fw(11)p Ft(i)h Fw(to)f(eliminate)f(the)j(t)o(yp)q(e)f +Fs(string-char)e Fw(and)-33 778 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 42 859 a(to)e(rede\014ne)i Fs(string)d Fw(to)h(b)q(e)h +(the)g(union)e(of)h(one)h(or)f(more)f(sp)q(ecialized)i(v)o(ector)g(t)o +(yp)q(es,)42 910 y(the)j(t)o(yp)q(es)h(of)e(whose)i(elemen)o(ts)f(are)g +(subt)o(yp)q(es)h(of)f(the)g(t)o(yp)q(e)h Fs(character)p +Fw(.)25 b(In)17 b(the)42 962 y(preceding)h(table,)g(the)h(t)o(yp)q(e)f +Fs(string-char)d Fw(should)j(b)q(e)g(replaced)h(b)o(y)e(some)g(suc)o(h) +42 1014 y(phrase)d(as)g(\\the)h(elemen)o(t-t)o(yp)q(e)e(of)h(the)g +(argumen)o(t)f(v)o(ector.")-33 1026 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1079 a(X3J13)g(v)o(oted)g(in)g(Marc)o(h)h(1989)e +Ft(h)p Fw(89)p Ft(i)h Fw(to)h(clarify)e(that)h(this)h(rule)g(applies)f +(only)f(when)-33 1050 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 42 1130 a(the)h(function)f(name)g(refers)i(to)e(a)h +(global)e(function)h(de\014nition)g(and)h(not)f(to)h(a)f(lo)q(cally)42 +1182 y(de\014ned)i(function)g(or)g(macro.)-33 1194 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1247 a(In)k(the)h(case)g(of)e Fs(subseq)p +Fw(,)h(the)h(replacemen)o(t)f(v)n(alue)g(m)o(ust)f(b)q(e)i(a)f +(sequence)i(whose)42 1299 y(elemen)o(ts)d(ma)o(y)f(b)q(e)j(con)o +(tained)f(b)o(y)f(the)i(sequence)h(argumen)o(t)d(to)g +Fs(subseq)p Fw(.)29 b(\(Note)42 1350 y(that)18 b(this)g(is)g(not)g(so)h +(stringen)o(t)g(as)f(to)g(require)h(that)f(the)h(replacemen)o(t)g(v)n +(alue)e(b)q(e)42 1402 y(a)f(sequence)j(of)d(the)h(same)f(t)o(yp)q(e)h +(as)g(the)g(sequence)i(of)d(whic)o(h)g(the)i(subsequence)h(is)42 +1454 y(sp)q(eci\014ed.\))g(If)13 b(the)h(length)f(of)g(the)h +(replacemen)o(t)g(v)n(alue)e(do)q(es)i(not)g(equal)f(the)h(length)42 +1506 y(of)g(the)i(subsequence)i(to)d(b)q(e)h(replaced,)g(then)g(the)g +(shorter)g(length)g(determines)f(the)42 1558 y(n)o(um)o(b)q(er)e(of)g +(elemen)o(ts)h(to)f(b)q(e)i(stored,)f(as)g(for)g(the)g(function)g +Fs(replace)p Fw(.)0 1640 y Fu(.)42 1649 y Fw(A)19 b(function)g(call)g +(form)f(whose)i(\014rst)g(elemen)o(t)f(is)h(the)g(name)e(of)h(an)o(y)g +(one)h(of)f(the)42 1701 y(follo)o(wing)12 b(functions,)j(pro)o(vided)g +(that)h(the)g(sp)q(eci\014ed)g(argumen)o(t)f(to)g(that)g(function)42 +1752 y(is)h(in)f(turn)i(a)f Fv(plac)n(e)g Fw(form;)g(in)f(this)i(case)g +(the)g(new)f Fv(plac)n(e)h Fw(has)f(stored)h(bac)o(k)g(in)o(to)e(it)42 +1804 y(the)g(result)h(of)f(applying)e(the)j(sp)q(eci\014ed)h(\\up)q +(date")e(function)g(\(whic)o(h)g(is)g(in)g(eac)o(h)g(of)42 +1856 y(these)g(cases)g(not)f(a)f(true)i(up)q(date)g(function\):)42 +1946 y(F)m(unction)e(Name)49 b(Argumen)o(t)13 b(That)h(Is)g(a)g +Fv(plac)n(e)49 b Fw(Up)q(date)15 b(F)m(unction)f(Used)p +42 1963 1258 2 v 42 2012 a Fs(char-bit)152 b Fw(\014rst)447 +b Fs(set-char-bit)42 2064 y(ldb)262 b Fw(second)399 b +Fs(dpb)42 2116 y(mask-field)108 b Fw(second)399 b Fs(deposit-field)p +42 2133 V 42 2213 a Fw(X3J13)11 b(v)o(oted)g(in)h(Marc)o(h)g(1989)e +Ft(h)p Fw(11)p Ft(i)h Fw(to)h(eliminate)d Fs(char-bit)h +Fw(and)i Fs(set-char-bit)p Fw(.)-33 2184 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2277 a(X3J13)h(v)o(oted)g(in)g(Marc)o(h)h(1989)e +Ft(h)p Fw(89)p Ft(i)h Fw(to)h(clarify)e(that)h(this)h(rule)g(applies)f +(only)f(when)-33 2249 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 42 2329 a(the)h(function)f(name)g(refers)i(to)e(a)h +(global)e(function)h(de\014nition)g(and)h(not)f(to)h(a)f(lo)q(cally)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 134 158 +134 157 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(134)77 b(COMMON)13 +b(LISP)42 295 y Fw(de\014ned)h(function)g(or)g(macro.)-33 +306 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 373 a Fu(.)42 382 y Fw(A)e Fs(the)f Fw(t)o(yp)q(e)i +(declaration)f(form,)e(in)i(whic)o(h)g(case)h(the)g(declaration)f(is)g +(transferred)i(to)42 434 y(the)g Fv(newvalue)g Fw(form,)e(and)i(the)g +(resulting)g Fs(setf)f Fw(form)f(is)i(analyzed.)k(F)m(or)13 +b(example,)42 521 y Fs(\(setf)20 b(\(the)g(integer)g(\(cadr)g(x\)\))g +(\(+)h(y)g(3\)\))42 609 y Fw(is)13 b(pro)q(cessed)j(as)e(if)f(it)h(w)o +(ere)42 696 y Fs(\(setf)20 b(\(cadr)g(x\))h(\(the)f(integer)g(\(+)g(y)h +(3\)\)\))0 775 y Fu(.)42 784 y Fw(A)13 b(call)g(to)h +Fs(apply)e Fw(where)j(the)f(\014rst)h(argumen)o(t)d(form)g(is)i(of)f +(the)h(form)e Fs(#)1153 780 y(-)1153 788 y(-)m Fn(')1196 +784 y Fv(name)p Fw(,)i(that)42 836 y(is,)d Fs(\(function)20 +b Fv(name)p Fs(\))p Fw(,)12 b(where)h Fv(name)f Fw(is)g(the)h(name)e +(of)g(a)h(function,)f(calls)h(to)g(whic)o(h)42 888 y(are)h(recognized)g +(as)g(places)g(b)o(y)g Fs(setf)p Fw(.)k(Supp)q(ose)c(that)g(the)g(use)h +(of)e Fs(setf)f Fw(with)i Fs(apply)42 939 y Fw(lo)q(oks)g(lik)o(e)g +(this:)42 1027 y Fs(\(setf)20 b(\(apply)g(#)324 1023 +y(-)324 1031 y(-)m Fn(')367 1027 y Fv(name)h(x1)h(x2)g +Fs(...)e Fv(xn)i(r)n(est)p Fs(\))e Fv(x0)p Fs(\))42 1114 +y Fw(The)14 b Fs(setf)f Fw(metho)q(d)g(for)g(the)i(function)f +Fv(name)g Fw(m)o(ust)f(b)q(e)h(suc)o(h)h(that)42 1202 +y Fs(\(setf)20 b(\()p Fv(name)h(z1)h(z2)f Fs(...)f Fv(zm)p +Fs(\))h Fv(z0)p Fs(\))42 1289 y Fw(expands)14 b(in)o(to)f(a)h(store)h +(form)42 1377 y Fs(\()p Fv(stor)n(efn)20 b(zi)237 1383 +y Fk(1)276 1377 y Fv(zi)306 1383 y Fk(2)346 1377 y Fs(...)h +Fv(zi)463 1383 y Fg(k)504 1377 y Fv(zm)p Fs(\))42 1464 +y Fw(That)c(is,)g(it)g(m)o(ust)f(expand)i(in)o(to)e(a)h(function)g +(call)g(suc)o(h)h(that)f(all)f(argumen)o(ts)h(but)42 +1516 y(the)h(last)g(ma)o(y)f(b)q(e)h(an)o(y)g(p)q(erm)o(utation)f(or)h +(subset)i(of)e(the)g(new)h(v)n(alue)f Fv(z0)g Fw(and)g(the)42 +1568 y(argumen)o(ts)g(of)h(the)i(access)g(form,)e(but)h(the)g +Fv(last)f Fw(argumen)o(t)g(of)g(the)h(storing)g(call)42 +1620 y(m)o(ust)d(b)q(e)i(the)h(same)d(as)i(the)g(last)g(argumen)o(t)e +(of)h(the)i(access)g(call.)32 b(See)19 b Fs(define-)42 +1672 y(setf-method)11 b Fw(for)j(more)e(details)i(on)g(accessing)h(and) +f(storing)f(forms.)42 1736 y(Giv)o(en)g(this,)g(the)i +Fs(setf)p Fw(-of-)p Fs(apply)c Fw(form)h(sho)o(wn)i(ab)q(o)o(v)o(e)f +(expands)i(in)o(to)42 1823 y Fs(\(apply)k(#)193 1819 +y(-)193 1827 y(-)n Fn(')236 1823 y Fv(stor)n(efn)i(xi)412 +1829 y Fk(1)452 1823 y Fv(xi)484 1829 y Fk(2)524 1823 +y Fs(...)f Fv(xi)642 1829 y Fg(k)684 1823 y Fv(r)n(est)p +Fs(\))42 1911 y Fw(As)c(an)g(example,)g(supp)q(ose)h(that)g(the)f(v)n +(ariable)g Fs(indexes)f Fw(con)o(tains)h(a)g(list)g(of)f(sub-)42 +1963 y(scripts)f(for)g(a)f(m)o(ultidim)o(ensional)d(arra)o(y)k +Fv(fo)n(o)f Fw(whose)i(rank)e(is)h(not)f(kno)o(wn)h(un)o(til)e(run)42 +2015 y(time.)k(One)f(ma)o(y)d(access)j(the)g(indicated)f(elemen)o(t)f +(of)g(the)i(arra)o(y)f(b)o(y)f(writing)42 2102 y Fs(\(apply)19 +b(#)193 2098 y(-)193 2106 y(-)n Fn(')236 2102 y Fs(aref)i(foo)f +(indexes\))42 2189 y Fw(and)14 b(one)i(ma)o(y)d(alter)i(the)h(v)n(alue) +f(of)f(the)i(indicated)f(elemen)o(t)g(to)g(that)g(of)f +Fs(newvalue)42 2241 y Fw(b)o(y)f(writing)42 2329 y Fs(\(setf)20 +b(\(apply)g(#)324 2325 y(-)324 2333 y(-)m Fn(')367 2329 +y Fs(aref)g(foo)g(indexes\))g(newvalue\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 135 159 +135 158 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(135)42 295 y Fw(X3J13)13 b(v)o(oted)g(in)g(Marc)o(h)h(1989)e +Ft(h)p Fw(89)p Ft(i)h Fw(to)h(clarify)e(that)h(this)h(rule)g(applies)f +(only)f(when)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 42 347 a(the)h(function)g(name)f Fs(apply)g +Fw(refers)i(to)f(the)h(global)d(function)i(de\014nition)g(and)g(not)g +(to)42 399 y(a)g(lo)q(cally)g(de\014ned)i(function)e(or)h(macro)f +(named)f Fs(apply)p Fw(.)-33 410 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 473 a Fu(.)42 482 y Fw(A)g(macro)f(call,)h(in)f(whic)o +(h)i(case)g Fs(setf)f Fw(expands)h(the)g(macro)e(call)g(and)h(then)h +(analyzes)42 534 y(the)h(resulting)g(form.)42 598 y(X3J13)c(v)o(oted)h +(in)f(Marc)o(h)i(1989)d Ft(h)p Fw(89)p Ft(i)i Fw(to)g(clarify)f(that)g +(this)h(step)h(uses)g Fs(macroexpand-)-33 570 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 42 650 a(1)p Fw(,)21 b(not)f Fs(macroexpand)p +Fw(.)34 b(This)20 b(allo)o(ws)f(the)i(c)o(hance)g(to)f(apply)g(an)o(y)g +(of)f(the)i(rules)42 702 y(preceding)14 b(this)g(one)g(to)g(an)o(y)g +(of)f(the)h(in)o(termediate)f(expansions.)-33 713 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 776 a Fu(.)42 785 y Fw(An)o(y)19 b(form)f(for)h(whic)o +(h)h(a)f Fs(defsetf)f Fw(or)h Fs(define-setf-method)d +Fw(declaration)k(has)42 837 y(b)q(een)15 b(made.)42 901 +y(X3J13)e(v)o(oted)g(in)g(Marc)o(h)h(1989)e Ft(h)p Fw(89)p +Ft(i)h Fw(to)h(clarify)e(that)h(this)h(rule)g(applies)f(only)f(when)-33 +873 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 42 953 a(the)h(function)f(name)f(in)h(the)i(form)c(refers) +k(to)f(a)f(global)f(function)h(de\014nition)g(and)h(not)42 +1005 y(to)g(a)h(lo)q(cally)e(de\014ned)j(function)f(or)g(macro.)-33 +1017 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1076 a(X3J13)e(v)o(oted)g(in)g(Marc)o(h)h(1989)e +Ft(h)p Fw(89)p Ft(i)h Fw(to)g(add)h(one)f(more)f(rule)i(to)f(the)h +(preceding)h(list,)-33 1047 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1128 a(coming)e(after)i(all)f(those)h(listed)g(ab)q(o)o +(v)o(e:)0 1190 y Fu(.)42 1199 y Fw(An)o(y)g(other)i(list)e(whose)h +(\014rst)h(elemen)o(t)e(is)h(a)f(sym)o(b)q(ol)f(\(call)h(it)h +Fv(f)8 b Fw(\).)21 b(In)15 b(this)g(case,)g(the)42 1251 +y(call)c(to)h Fs(setf)g Fw(expands)h(in)o(to)f(a)g(call)f(to)i(the)g +(function)f(named)f(b)o(y)h(the)h(list)f Fs(\(setf)20 +b Fv(f)9 b Fs(\))42 1302 y Fw(\(see)17 b(section)h(7.1\).)25 +b(The)17 b(\014rst)g(argumen)o(t)f(is)g(the)h(new)g(v)n(alue)f(and)h +(the)g(remaining)42 1354 y(argumen)o(ts)9 b(are)i(the)g(v)n(alues)f(of) +g(the)h(remaining)d(elemen)o(ts)j(of)f Fv(plac)n(e)p +Fw(.)16 b(This)11 b(expansion)42 1406 y(o)q(ccurs)16 +b(regardless)h(of)d(whether)j(either)f Fv(f)24 b Fw(or)15 +b Fs(\(setf)20 b Fv(f)8 b Fs(\))15 b Fw(is)g(de\014ned)i(as)e(a)g +(function)42 1458 y(lo)q(cally)m(,)c(globally)m(,)g(or)j(not)f(at)h +(all.)j(F)m(or)c(example,)42 1541 y Fs(\(setf)20 b(\()p +Fv(f)29 b(ar)n(g1)21 b(ar)n(g2)g Fs(...\))g Fv(newvalue)p +Fs(\))42 1624 y Fw(expands)14 b(in)o(to)f(a)h(form)e(with)h(the)i(same) +e(e\013ect)j(and)d(v)n(alue)g(as)42 1708 y Fs(\(let)20 +b(\(\(#)194 1704 y(-)194 1712 y(-)215 1708 y(:temp1)g +Fv(ar)n(g1)p Fs(\))106 b(;)p Fw(F)m(orce)14 b(correct)i(order)e(of)f +(ev)n(aluation)169 1760 y Fs(\(#)191 1756 y(-)191 1764 +y(-)212 1760 y(:temp2)20 b Fv(ar)n(g2)p Fs(\))169 1811 +y(...)169 1863 y(\(#)191 1859 y(-)191 1867 y(-)212 1863 +y(:temp0)g(newvalue\)\))84 1915 y(\(funcall)f(\(function)h(\(setf)g +Fv(f)8 b Fs(\)\))274 1967 y(#)274 1963 y(-)274 1971 y(-)296 +1967 y(:temp0)274 2019 y(#)274 2015 y(-)274 2023 y(-)296 +2019 y(:temp1)274 2071 y(#)274 2067 y(-)274 2075 y(-)296 +2071 y(:temp2)20 b(...\)\))42 2154 y Fw(By)f(con)o(v)o(en)o(tion,)h(an) +o(y)e(function)h(named)f Fs(\(setf)i Fv(f)9 b Fs(\))19 +b Fw(should)g(return)h(its)f(\014rst)h(ar-)42 2206 y(gumen)o(t)15 +b(as)h(its)h(only)e(v)n(alue,)h(in)g(order)h(to)g(preserv)o(e)h(the)f +(sp)q(eci\014cation)g(that)g Fs(setf)42 2258 y Fw(returns)e(its)f +Fv(newvalue)p Fw(.)-33 2270 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2329 a(X3J13)f(v)o(oted)h(in)g(Marc)o(h)g(1989)f +Ft(h)p Fw(173)p Ft(i)g Fw(to)h(add)f(this)h(case)h(as)f(w)o(ell:)-33 +2300 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 136 160 +136 159 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(136)77 b(COMMON)13 +b(LISP)0 286 y Fu(.)42 295 y Fw(A)21 b(v)n(ariable)g(reference)j(that)d +(refers)i(to)f(a)f(sym)o(b)q(ol)f(macro)g(de\014nition)i(made)e(b)o(y) +42 347 y Fs(symbol-macrolet)o Fw(,)11 b(in)j(whic)o(h)h(case)g +Fs(setf)f Fw(expands)h(the)g(reference)i(and)d(then)h(an-)42 +399 y(alyzes)f(the)g(resulting)g(form.)-33 410 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1934 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 137 161 +137 160 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(137)42 295 y Fs(setf)16 b Fw(carefully)i(arranges)g(to)g(preserv)o(e) +h(the)g(usual)e(left-to-righ)o(t)g(order)i(in)e(whic)o(h)0 +347 y(the)e(v)n(arious)f(subforms)g(are)h(ev)n(aluated.)k(On)c(the)g +(other)g(hand,)f(the)i(exact)f(expansion)0 399 y(for)g(an)o(y)g +(particular)g(form)f(is)h(not)g(guaran)o(teed)h(and)f(ma)o(y)e(ev)o(en) +j(b)q(e)g(implemen)o(tation-)0 450 y(dep)q(enden)o(t;)e(all)e(that)g +(is)h(guaran)o(teed)g(is)f(that)h(the)g(expansion)f(of)g(a)h +Fs(setf)e Fw(form)g(will)g(b)q(e)0 502 y(an)k(up)q(date)g(form)e(that)i +(w)o(orks)g(for)f(that)h(particular)g(implem)o(en)o(tation,)d(and)i +(that)h(the)0 554 y(left-to-righ)o(t)e(ev)n(aluation)f(of)i(subforms)f +(is)g(preserv)o(ed.)42 606 y(The)19 b(ultimate)f(result)i(of)e(ev)n +(aluating)g(a)h Fs(setf)f Fw(form)g(is)h(the)h(v)n(alue)e(of)h +Fv(newvalue)p Fw(.)0 658 y(Therefore)d Fs(\(setf)21 b(\(car)f(x\))h +(y\))14 b Fw(do)q(es)i(not)f(expand)h(in)o(to)e(precisely)i +Fs(\(rplaca)k(x)h(y\))p Fw(,)0 710 y(but)14 b(in)o(to)f(something)g +(more)g(lik)o(e)0 793 y Fs(\(let)20 b(\(\(G1)h(x\))f(\(G2)h(y\)\))g +(\(rplaca)e(G1)i(G2\))g(G2\))0 877 y Fw(the)14 b(precise)i(expansion)e +(b)q(eing)g(implem)o(en)o(tation-dep)q(enden)o(t.)42 +929 y(The)g(user)h(can)f(de\014ne)h(new)f Fs(setf)f Fw(expansions)h(b)o +(y)g(using)g Fs(defsetf)p Fw(.)42 981 y(X3J13)d(v)o(oted)h(in)f(June)i +(1989)d Ft(h)p Fw(159)p Ft(i)i Fw(to)f(extend)i(the)f(sp)q +(eci\014cation)h(of)e Fs(setf)g Fw(to)g(allo)o(w)-33 +953 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1033 a(a)17 b Fv(plac)n(e)g Fw(whose)h +Fs(setf)e Fw(metho)q(d)g(has)h(more)f(than)h(one)h(store)g(v)n(ariable) +e(\(see)i Fs(define-)0 1085 y(setf-method)p Fw(\).)d(In)e(suc)o(h)g(a)f +(case)h(as)f(man)o(y)e(v)n(alues)i(are)h(accepted)h(from)d(the)h +Fv(newvalue)0 1137 y Fw(form)g(as)i(there)h(are)f(store)h(v)n +(ariables;)d(extra)i(v)n(alues)g(are)g(ignored)g(and)f(missing)f(v)n +(alues)0 1188 y(default)i(to)f Fs(nil)p Fw(,)g(as)h(is)g(usual)f(in)h +(situations)f(in)o(v)o(olving)f(m)o(ultiple)f(v)n(alues.)42 +1240 y(A)20 b(prop)q(osal)h(w)o(as)f(submitted)g(to)h(X3J13)f(in)g +(Septem)o(b)q(er)i(1989)d(to)i(add)f(a)h Fs(setf)0 1292 +y Fw(metho)q(d)13 b(for)h Fs(values)e Fw(so)i(that)g(one)g(could)g(in)f +(fact)h(write,)g(for)f(example,)0 1376 y Fs(\(setf)20 +b(\(values)g(quotient)f(remainder\))127 1428 y(\(truncate)g(linewidth)h +(tabstop\)\))0 1511 y Fw(but)15 b(unless)h(this)f(prop)q(osal)f(is)h +(accepted)i(users)f(will)e(ha)o(v)o(e)g(to)h(de\014ne)h(a)f +Fs(setf)f Fw(metho)q(d)0 1563 y(for)g Fs(values)e Fw(themselv)o(es)i +(\(not)g(a)g(di\016cult)f(task\).)-33 1575 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1255 1681 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(psetf)41 b Ft(f)p Fv(plac)n(e)15 b(newvalue)p Ft(g)459 +1666 y Fl(\003)0 1758 y Fs(psetf)9 b Fw(is)g(lik)o(e)g +Fs(setf)g Fw(except)i(that)f(if)f(more)g(than)h(one)g +Fv(plac)n(e)p Fw(-)p Fv(newvalue)g Fw(pair)f(is)h(sp)q(eci\014ed,)0 +1810 y(then)21 b(the)h(assignmen)o(ts)e(of)g(new)h(v)n(alues)f(to)h +(places)g(are)g(done)g(in)f(parallel.)37 b(More)0 1862 +y(precisely)m(,)21 b(all)d(subforms)g(that)i(are)g(to)f(b)q(e)h(ev)n +(aluated)f(are)h(ev)n(aluated)f(from)f(left)h(to)0 1914 +y(righ)o(t;)g(after)f(all)e(ev)n(aluations)h(ha)o(v)o(e)h(b)q(een)g(p)q +(erformed,)g(all)f(of)g(the)h(assignmen)o(ts)f(are)0 +1966 y(p)q(erformed)g(in)f(an)h(unpredictable)g(order.)28 +b(\(The)18 b(unpredictabilit)o(y)e(matters)g(only)h(if)0 +2017 y(more)g(than)h(one)g Fv(plac)n(e)f Fw(form)f(refers)k(to)d(the)i +(same)e(place.\))30 b Fs(psetf)16 b Fw(alw)o(a)o(ys)h(returns)0 +2069 y Fs(nil)p Fw(.)42 2121 y(X3J13)9 b(v)o(oted)h(in)g(June)h(1989)e +Ft(h)p Fw(159)p Ft(i)h Fw(to)f(extend)j(the)e(sp)q(eci\014cation)h(of)e +Fs(psetf)g Fw(to)h(allo)o(w)-33 2093 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2173 a(a)17 b Fv(plac)n(e)g Fw(whose)h +Fs(setf)e Fw(metho)q(d)g(has)h(more)f(than)h(one)h(store)g(v)n(ariable) +e(\(see)i Fs(define-)0 2225 y(setf-method)p Fw(\).)d(In)e(suc)o(h)g(a)f +(case)h(as)f(man)o(y)e(v)n(alues)i(are)h(accepted)h(from)d(the)h +Fv(newvalue)0 2277 y Fw(form)g(as)i(there)h(are)f(store)h(v)n +(ariables;)d(extra)i(v)n(alues)g(are)g(ignored)g(and)f(missing)f(v)n +(alues)0 2329 y(default)i(to)f Fs(nil)p Fw(,)g(as)h(is)g(usual)f(in)h +(situations)f(in)o(v)o(olving)f(m)o(ultiple)f(v)n(alues.)-33 +2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 138 162 +138 161 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(138)77 b(COMMON)13 +b(LISP)1255 295 y Fw([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(shiftf)41 +b Ft(f)p Fv(plac)n(e)p Ft(g)304 280 y Fk(+)353 295 y +Fv(newvalue)0 372 y Fw(Eac)o(h)20 b Fv(plac)n(e)g Fw(form)e(ma)o(y)g(b) +q(e)j(an)o(y)e(form)f(acceptable)j(as)f(a)g(generalized)g(v)n(ariable)f +(to)0 424 y Fs(setf)p Fw(.)h(In)15 b(the)h(form)d Fs(\(shiftf)20 +b Fv(plac)n(e1)h(plac)n(e2)h Fs(...)e Fv(plac)n(en)i(newvalue)p +Fs(\))p Fw(,)14 b(the)i(v)n(alues)0 476 y(in)f Fv(plac)n(e1)h +Fw(through)g Fv(plac)n(en)g Fw(are)g(accessed)i(and)d(sa)o(v)o(ed,)h +(and)f Fv(newvalue)h Fw(is)f(ev)n(aluated,)0 528 y(for)e(a)h(total)f +(of)g Fv(n)g Fw(+)c(1)14 b(v)n(alues)f(in)h(all.)i(V)m(alues)e(2)g +(through)f Fv(n)g Fw(+)c(1)14 b(are)g(then)h(stored)f(in)o(to)0 +580 y Fv(plac)n(e1)h Fw(through)g Fv(plac)n(en)p Fw(,)g(and)g(v)n(alue) +f(1)h(\(the)h(original)d(v)n(alue)h(of)g Fv(plac)n(e1)p +Fw(\))i(is)e(returned.)0 632 y(It)h(is)h(as)f(if)g(all)f(the)i(places)g +(form)d(a)i(shift)g(register;)i(the)f Fv(newvalue)g Fw(is)f(shifted)h +(in)e(from)0 684 y(the)h(righ)o(t,)e(all)g(v)n(alues)h(shift)g(o)o(v)o +(er)g(to)g(the)h(left)f(one)g(place,)g(and)g(the)h(v)n(alue)e(shifted)i +(out)0 736 y(of)e Fv(plac)n(e1)h Fw(is)g(returned.)20 +b(F)m(or)13 b(example:)0 830 y Fs(\(setq)20 b(x)h(\(list)301 +834 y Fn(')324 830 y Fs(a)365 834 y Fn(')389 830 y Fs(b)429 +834 y Fn(')453 830 y Fs(c\)\))f Ft(\))h Fs(\(a)g(b)g(c\))0 +934 y(\(shiftf)f(\(cadr)g(x\))366 938 y Fn(')390 934 +y Fs(z\))h Ft(\))f Fs(b)64 986 y Fw(and)13 b(no)o(w)21 +b Fs(x)g Ft(\))g Fs(\(a)f(z)h(c\))0 1090 y(\(shiftf)f(\(cadr)g(x\))h +(\(cddr)f(x\))561 1094 y Fn(')585 1090 y Fs(q\))g Ft(\))h +Fs(z)64 1141 y Fw(and)13 b(no)o(w)21 b Fs(x)g Ft(\))g +Fs(\(a)f(\(c\))h(.)g(q\))0 1235 y Fw(The)14 b(e\013ect)i(of)d +Fs(\(shiftf)20 b Fv(plac)n(e1)h(plac)n(e2)h Fs(...)e +Fv(plac)n(en)i(newvalue)p Fs(\))14 b Fw(is)g(equiv)n(alen)o(t)f(to)0 +1329 y Fs(\(let)20 b(\(\()p Fv(var1)h(plac)n(e1)p Fs(\))127 +1381 y(\()p Fv(var2)g(plac)n(e2)p Fs(\))127 1433 y(...)127 +1485 y(\()p Fv(varn)g(plac)n(en)p Fs(\)\))42 1537 y(\(setf)f +Fv(plac)n(e1)i(var2)p Fs(\))42 1589 y(\(setf)e Fv(plac)n(e2)i(var3)p +Fs(\))42 1641 y(...)42 1693 y(\(setf)e Fv(plac)n(en)i(newvalue)p +Fs(\))42 1744 y Fv(var1)p Fs(\))0 1838 y Fw(except)j(that)e(the)h +(latter)f(w)o(ould)f(ev)n(aluate)h(an)o(y)g(subforms)f(of)h(eac)o(h)h +Fv(plac)n(e)f Fw(t)o(wice,)0 1890 y(whereas)15 b Fs(shiftf)e +Fw(tak)o(es)h(care)h(to)f(ev)n(aluate)f(them)g(only)g(once.)19 +b(F)m(or)14 b(example:)0 1984 y Fs(\(setq)20 b(n)h(0\))0 +2036 y(\(setq)f(x)171 2040 y Fn(')194 2036 y Fs(\(a)h(b)g(c)g(d\)\))0 +2088 y(\(shiftf)f(\(nth)g(\(setq)g(n)h(\(+)g(n)g(1\)\))f(x\))712 +2092 y Fn(')735 2088 y Fs(z\))h Ft(\))g Fs(b)64 2140 +y Fw(and)13 b(no)o(w)21 b Fs(x)g Ft(\))g Fs(\(a)f(z)h(c)g(d\))0 +2208 y Fv(but)0 2277 y Fs(\(setq)f(n)h(0\))0 2329 y(\(setq)f(x)171 +2333 y Fn(')194 2329 y Fs(\(a)h(b)g(c)g(d\)\))-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 139 163 +139 162 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(139)0 295 y Fs(\(prog1)20 b(\(nth)g(\(setq)g(n)h(\(+)g(n)g(1\)\))g +(x\))148 347 y(\(setf)f(\(nth)h(\(setq)f(n)h(\(+)g(n)f(1\)\))h(x\))817 +351 y Fn(')840 347 y Fs(z\)\))g Ft(\))f Fs(b)64 399 y +Fw(and)13 b(no)o(w)21 b Fs(x)g Ft(\))g Fs(\(a)f(b)h(z)g(d\))0 +485 y Fw(Moreo)o(v)o(er,)16 b(for)f(certain)h Fv(plac)n(e)g +Fw(forms)e Fs(shiftf)g Fw(ma)o(y)f(b)q(e)j(signi\014can)o(tly)f(more)f +(e\016cien)o(t)0 537 y(than)g(the)g Fs(prog1)f Fw(v)o(ersion.)42 +589 y(X3J13)e(v)o(oted)h(in)g(June)h(1989)e Ft(h)p Fw(159)p +Ft(i)g Fw(to)h(extend)h(the)g(sp)q(eci\014cation)g(of)e +Fs(shiftf)g Fw(to)h(al-)-33 561 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 641 a(lo)o(w)e(a)h Fv(plac)n(e)g Fw(whose)h +Fs(setf)e Fw(metho)q(d)g(has)h(more)f(than)i(one)f(store)h(v)n(ariable) +e(\(see)i Fs(define-)0 693 y(setf-method)p Fw(\).)j(In)e(suc)o(h)g(a)f +(case)h(as)f(man)o(y)e(v)n(alues)i(are)h(accepted)h(from)d(the)h +Fv(newvalue)0 745 y Fw(form)g(as)i(there)h(are)f(store)h(v)n(ariables;) +d(extra)i(v)n(alues)g(are)g(ignored)g(and)f(missing)f(v)n(alues)0 +797 y(default)i(to)f Fs(nil)p Fw(,)g(as)h(is)g(usual)f(in)h(situations) +f(in)o(v)o(olving)f(m)o(ultiple)f(v)n(alues.)-33 808 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 856 V 0 917 a Fm(Rationale:)16 b Fj(shiftf)8 +b FA(and)j Fj(rotatef)c FA(ha)o(v)o(e)k(b)q(een)h(included)h(in)e +(Common)g(Lisp)g(as)f(generaliza-)0 962 y(tions)i(of)f(t)o(w)o +(o-argumen)o(t)h(v)o(ersions)g(formerly)g(called)h Fj(swapf)c +FA(and)j Fj(exchf)p FA(.)i(The)d(t)o(w)o(o-argumen)o(t)0 +1008 y(v)o(ersions)h(ha)o(v)o(e)g(b)q(een)f(found)h(to)f(b)q(e)g(v)o +(ery)g(useful,)h(but)f(the)g(names)g(w)o(ere)g(easily)h(confused.)18 +b(The)0 1054 y(generalization)d(to)c(man)o(y)h(argumen)o(t)g(forms)f +(and)h(the)f(c)o(hange)i(of)e(names)g(w)o(ere)g(b)q(oth)h(inspired)0 +1099 y(b)o(y)j(the)h(w)o(ork)f(of)g(Suzuki)i([47],)e(whic)o(h)h +(indicates)h(that)e(use)h(of)f(these)g(primitiv)o(es)j(can)d(mak)o(e)0 +1145 y(certain)f(complex)g(p)q(oin)o(ter-manipul)q(ati)q(on)i(programs) +e(clearer)f(and)h(easier)g(to)e(pro)o(v)o(e)i(correct.)p +0 1181 V 1255 1300 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(rotatef)40 b Ft(f)p Fv(plac)n(e)p Ft(g)325 1285 +y Fl(\003)0 1377 y Fw(Eac)o(h)20 b Fv(plac)n(e)g Fw(form)e(ma)o(y)g(b)q +(e)j(an)o(y)e(form)f(acceptable)j(as)f(a)g(generalized)g(v)n(ariable)f +(to)0 1429 y Fs(setf)p Fw(.)e(In)d(the)g(form)e Fs(\(rotatef)19 +b Fv(plac)n(e1)j(plac)n(e2)f Fs(...)g Fv(plac)n(en)p +Fs(\))p Fw(,)13 b(the)h(v)n(alues)f(in)g Fv(plac)n(e1)0 +1480 y Fw(through)j Fv(plac)n(en)g Fw(are)h(accessed)h(and)e(sa)o(v)o +(ed.)24 b(V)m(alues)16 b(2)f(through)h Fv(n)h Fw(and)e(v)n(alue)h(1)f +(are)0 1532 y(then)g(stored)g(in)o(to)f Fv(plac)n(e1)g +Fw(through)h Fv(plac)n(en)p Fw(.)k(It)14 b(is)g(as)h(if)e(all)g(the)i +(places)g(form)d(an)i(end-)0 1584 y(around)j(shift)f(register)i(that)f +(is)f(rotated)h(one)g(place)g(to)g(the)g(left,)g(with)f(the)h(v)n(alue) +f(of)0 1636 y Fv(plac)n(e1)i Fw(b)q(eing)f(shifted)h(around)f(the)i +(end)f(to)f Fv(plac)n(en)p Fw(.)29 b(Note)18 b(that)g +Fs(\(rotatef)h Fv(plac)n(e1)0 1688 y(plac)n(e2)p Fs(\))14 +b Fw(exc)o(hanges)h(the)f(con)o(ten)o(ts)h(of)f Fv(plac)n(e1)g +Fw(and)g Fv(plac)n(e2)p Fw(.)42 1740 y(The)f(e\013ect)h(of)e +Fs(\(rotatef)19 b Fv(plac)n(e1)j(plac)n(e2)f Fs(...)g +Fv(plac)n(en)p Fs(\))13 b Fw(is)f(roughly)g(equiv)n(alen)o(t)g(to)0 +1827 y Fs(\(psetf)20 b Fv(plac)n(e1)h(plac)n(e2)148 1879 +y(plac)n(e2)h(plac)n(e3)148 1931 y Fs(...)148 1982 y +Fv(plac)n(en)g(plac)n(e1)p Fs(\))0 2069 y Fw(except)j(that)e(the)h +(latter)f(w)o(ould)f(ev)n(aluate)h(an)o(y)g(subforms)f(of)h(eac)o(h)h +Fv(plac)n(e)f Fw(t)o(wice,)0 2121 y(whereas)13 b Fs(rotatef)c +Fw(tak)o(es)j(care)g(to)f(ev)n(aluate)g(them)g(only)f(once.)18 +b(Moreo)o(v)o(er,)12 b(for)f(certain)0 2173 y Fv(plac)n(e)j +Fw(forms)e Fs(rotatef)h Fw(ma)o(y)f(b)q(e)i(signi\014can)o(tly)f(more)g +(e\016cien)o(t.)42 2225 y Fs(rotatef)f Fw(alw)o(a)o(ys)h(returns)i +Fs(nil)p Fw(.)42 2277 y(X3J13)k(v)o(oted)h(in)f(June)i(1989)e +Ft(h)p Fw(159)p Ft(i)g Fw(to)g(extend)i(the)g(sp)q(eci\014cation)f(of)f +Fs(rotatef)-33 2249 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a Fw(to)e(allo)o(w)f(a)h Fv(plac)n(e)h +Fw(whose)g Fs(setf)f Fw(metho)q(d)f(has)i(more)e(than)i(one)g(store)g +(v)n(ariable)e(\(see)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 140 164 +140 163 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(140)77 b(COMMON)13 +b(LISP)0 295 y Fs(define-setf-metho)o(d)p Fw(\).)35 b(In)20 +b(suc)o(h)h(a)f(case)h(as)f(man)o(y)f(v)n(alues)h(are)g(accepted)i +(from)0 347 y(the)16 b Fv(newvalue)g Fw(form)e(as)i(there)h(are)f +(store)g(v)n(ariables;)g(extra)g(v)n(alues)f(are)h(ignored)g(and)0 +399 y(missing)j(v)n(alues)h(default)h(to)f Fs(nil)p Fw(,)h(as)g(is)g +(usual)f(in)g(situations)h(in)o(v)o(olving)d(m)o(ultiple)0 +450 y(v)n(alues.)-33 462 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 556 a(Other)i(macros)e(that)i(manipulate)d(generalized) +j(v)n(ariables)e(include)i Fs(getf)p Fw(,)f Fs(remf)p +Fw(,)0 608 y Fs(incf)p Fw(,)13 b Fs(decf)p Fw(,)f Fs(push)p +Fw(,)h Fs(pop)p Fw(,)f Fs(assert)p Fw(,)g Fs(ctypecase)p +Fw(,)g(and)i Fs(ccase)p Fw(.)42 661 y(Macros)d(that)f(manipulate)f +(generalized)i(v)n(ariables)e(m)o(ust)h(guaran)o(tee)h(the)g(\\ob)o +(vious")0 713 y(seman)o(tics:)23 b(subforms)15 b(of)h(generalized-v)n +(ariable)g(references)j(are)e(ev)n(aluated)g(exactly)0 +765 y(as)d(man)o(y)e(times)g(as)i(they)g(app)q(ear)h(in)e(the)h(source) +h(program,)d(and)i(they)g(are)g(ev)n(aluated)0 817 y(in)f(exactly)h +(the)h(same)e(order)i(as)e(they)i(app)q(ear)f(in)g(the)g(source)h +(program.)42 870 y(In)e(generalized-v)n(ariable)h(references)i(suc)o(h) +f(as)f Fs(shiftf)p Fw(,)e Fs(incf)p Fw(,)g Fs(push)p +Fw(,)h(and)g Fs(setf)g Fw(of)0 922 y Fs(ldb)p Fw(,)k(the)h(generalized) +f(v)n(ariables)g(are)g(b)q(oth)h(read)f(and)g(written)h(in)f(the)h +(same)e(refer-)0 974 y(ence.)25 b(Preserving)17 b(the)f(source)h +(program)d(order)j(of)e(ev)n(aluation)f(and)i(the)g(n)o(um)o(b)q(er)f +(of)0 1026 y(ev)n(aluations)e(is)h(particularly)f(imp)q(ortan)o(t.)42 +1079 y(As)19 b(an)f(example)f(of)h(these)i(seman)o(tic)e(rules,)i(in)e +(the)i(generalized-v)n(ariable)e(refer-)0 1131 y(ence)g +Fs(\(setf)i Fv(r)n(efer)n(enc)n(e)h(value)p Fs(\))16 +b Fw(the)i Fv(value)f Fw(form)e(m)o(ust)h(b)q(e)h(ev)n(aluated)g +Fv(after)f Fw(all)f(the)0 1183 y(subforms)c(of)f(the)i(reference)i(b)q +(ecause)f(the)f Fv(value)g Fw(form)e(app)q(ears)i(to)f(the)h(righ)o(t)f +(of)g(them.)42 1236 y(The)h(expansion)g(of)g(these)i(macros)d(m)o(ust)g +(consist)i(of)f(co)q(de)h(that)f(follo)o(ws)e(these)k(rules)0 +1287 y(or)e(has)g(the)g(same)g(e\013ect)h(as)f(suc)o(h)h(co)q(de.)18 +b(This)12 b(is)g(accomplished)f(b)o(y)g(in)o(tro)q(ducing)h(tem-)0 +1339 y(p)q(orary)i(v)n(ariables)g(b)q(ound)g(to)g(the)h(subforms)f(of)f +(the)i(reference.)22 b(As)14 b(an)g(optimization)0 1391 +y(in)j(the)h(implemen)o(tatio)o(n,)d(temp)q(orary)i(v)n(ariables)f(ma)o +(y)g(b)q(e)i(eliminated)d(whenev)o(er)k(it)0 1443 y(can)14 +b(b)q(e)h(pro)o(v)o(ed)f(that)f(remo)o(ving)f(them)i(has)g(no)f +(e\013ect)j(on)d(the)i(seman)o(tics)e(of)g(the)i(pro-)0 +1495 y(gram.)j(F)m(or)13 b(example,)g(a)h(constan)o(t)h(need)g(nev)o +(er)g(b)q(e)g(sa)o(v)o(ed)g(in)f(a)g(temp)q(orary)f(v)n(ariable.)0 +1547 y(A)i(v)n(ariable,)e(or)h(for)g(that)h(matter)f(an)o(y)g(form)e +(that)j(do)q(es)g(not)f(ha)o(v)o(e)h(side)g(e\013ects,)h(need)0 +1599 y(not)c(b)q(e)h(sa)o(v)o(ed)f(in)f(a)h(temp)q(orary)f(v)n(ariable) +g(if)g(it)h(can)g(b)q(e)h(pro)o(v)o(ed)f(that)g(its)g(v)n(alue)f(will)g +(not)0 1651 y(c)o(hange)j(within)f(the)i(scop)q(e)g(of)e(the)i +(generalized-v)n(ariable)e(reference.)42 1704 y(Comm)o(on)8 +b(Lisp)j(pro)o(vides)g(built-in)f(facilities)g(to)h(tak)o(e)g(care)h +(of)e(these)j(seman)o(tic)d(com-)0 1756 y(plications)i(and)g +(optimizations.)j(Since)e(the)h(required)f(seman)o(tics)f(can)h(b)q(e)g +(guaran)o(teed)0 1808 y(b)o(y)f(these)i(facilities,)e(the)h(user)g(do)q +(es)h(not)e(ha)o(v)o(e)h(to)f(w)o(orry)g(ab)q(out)h(writing)f(correct)i +(co)q(de)0 1859 y(for)e(them,)f(esp)q(ecially)i(in)f(complex)e(cases.) +19 b(Ev)o(en)13 b(exp)q(erts)h(can)f(b)q(ecome)f(confused)h(and)0 +1911 y(mak)o(e)f(mistak)o(es)h(while)h(writing)f(this)h(sort)g(of)f(co) +q(de.)42 1964 y(X3J13)f(v)o(oted)i(in)f(Marc)o(h)g(1988)g +Ft(h)p Fw(146)p Ft(i)f Fw(to)i(clarify)e(the)i(preceding)g(discussion)g +(ab)q(out)-33 1936 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2016 a(the)h(order)g(of)e(ev)n(aluation)g(of)g(subforms) +g(in)h(calls)g(to)g Fs(setf)f Fw(and)h(related)g(macros.)k(The)0 +2068 y(general)c(in)o(ten)o(t)g(is)f(clear:)18 b(ev)n(aluation)13 +b(pro)q(ceeds)i(from)d(left)i(to)f(righ)o(t)h(whenev)o(er)h(p)q(ossi-)0 +2120 y(ble.)j(Ho)o(w)o(ev)o(er,)c(the)g(left-to-righ)o(t)e(rule)i(do)q +(es)h(not)e(remo)o(v)o(e)g(the)h(obligation)d(on)j(writers)0 +2172 y(of)h(macros)h(and)f Fs(define-setf-method)e Fw(to)i(w)o(ork)h +(to)g(ensure)i(left-to-righ)o(t)d(order)h(of)0 2224 y(ev)n(aluation.)42 +2277 y(Let)e(it)f(b)q(e)h(emphasized)f(that,)g(in)h(the)g(follo)o(wing) +d(discussion,)i(a)h Fv(form)f Fw(is)g(something)0 2329 +y(whose)f(syn)o(tactic)h(use)g(is)e(suc)o(h)i(that)f(it)f(will)g(b)q(e) +h(ev)n(aluated.)17 b(A)12 b Fv(subform)g Fw(means)f(a)g(form)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 141 165 +141 164 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(141)0 295 y Fw(that)15 b(is)g(nested)i(inside)e(another)h(form,)d +(not)j(merely)e(an)o(y)h(Lisp)g(ob)r(ject)h(nested)h(inside)0 +347 y(a)d(form)e(regardless)j(of)e(syn)o(tactic)i(con)o(text.)42 +399 y(The)d(ev)n(aluation)f(ordering)h(of)g(subforms)g(within)f(a)h +(generalized)h(v)n(ariable)e(reference)0 451 y(is)18 +b(determined)f(b)o(y)h(the)h(order)f(sp)q(eci\014ed)h(b)o(y)f(the)g +(second)h(v)n(alue)f(returned)h(b)o(y)f Fs(get-)0 503 +y(setf-method)p Fw(.)g(F)m(or)d(all)e(prede\014ned)k(generalized)f(v)n +(ariable)d(references)18 b(\()p Fs(getf)p Fw(,)c Fs(ldb)p +Fw(\),)0 554 y(this)i(order)g(of)f(ev)n(aluation)g(is)g(exactly)h +(left-to-righ)o(t.)22 b(When)16 b(a)f(generalized)i(v)n(ariable)0 +606 y(reference)22 b(is)d(deriv)o(ed)g(from)f(a)h(macro)f(expansion,)h +(this)h(rule)f(is)g(applied)g Fv(after)f Fw(the)0 658 +y(macro)13 b(is)g(expanded)i(to)f(\014nd)g(the)g(appropriate)g +(generalized)h(v)n(ariable)e(reference.)42 710 y(This)19 +b(is)g(in)o(tended)h(to)f(mak)o(e)f(it)h(clear)h(that)g(if)e(the)i +(user)h(writes)f(a)f Fs(defmacro)f Fw(or)0 762 y Fs(define-setf-metho)o +(d)10 b Fw(macro)i(that)h(do)q(esn't)g(preserv)o(e)i(left-to-righ)o(t)d +(ev)n(aluation)g(or-)0 814 y(der,)i(the)h(order)f(sp)q(eci\014ed)i(in)d +(the)i(user's)f(co)q(de)h(holds.)j(F)m(or)13 b(example,)g(giv)o(en)0 +902 y Fs(\(defmacro)19 b(wrong-order)g(\(x)i(y\))605 +906 y Fn(`)629 902 y Fs(\(getf)f(,y)h(,x\)\))0 990 y +Fw(then)0 1078 y Fs(\(push)f Fv(value)i Fs(\(wrong-order)c +Fv(plac)n(e1)k(plac)n(e2)p Fs(\)\))0 1166 y Fw(will)15 +b(ev)n(aluate)h Fv(plac)n(e2)g Fw(\014rst)h(and)f(then)h +Fv(plac)n(e1)g Fw(b)q(ecause)g(that)g(is)f(the)h(order)g(they)f(are)0 +1218 y(ev)n(aluated)e(in)f(the)i(macro)d(expansion.)42 +1270 y(F)m(or)d(the)i(macros)e(that)h(manipulate)e(generalized)j(v)n +(ariables)f(\()p Fs(push)p Fw(,)f Fs(pushnew)p Fw(,)g +Fs(getf)p Fw(,)0 1322 y Fs(remf)p Fw(,)h Fs(incf)p Fw(,)g +Fs(decf)p Fw(,)h Fs(shiftf)p Fw(,)e Fs(rotatef)p Fw(,)h +Fs(psetf)p Fw(,)g Fs(setf)p Fw(,)g Fs(pop)p Fw(,)h(and)f(those)i +(de\014ned)g(with)0 1374 y Fs(define-modify-mac)o(ro)p +Fw(\))f(the)j(subforms)f(of)g(the)i(macro)d(call)h(are)h(ev)n(aluated)g +(exactly)0 1426 y(once)i(in)f(left-to-righ)o(t)f(order,)h(with)g(the)h +(subforms)e(of)h(the)h(generalized)f(v)n(ariable)g(ref-)0 +1477 y(erences)h(ev)n(aluated)e(in)f(the)i(order)g(sp)q(eci\014ed)g(ab) +q(o)o(v)o(e.)42 1530 y(Eac)o(h)f(of)g Fs(push)p Fw(,)g +Fs(pushnew)p Fw(,)e Fs(getf)p Fw(,)i Fs(remf)p Fw(,)f +Fs(incf)p Fw(,)g Fs(decf)p Fw(,)h Fs(shiftf)p Fw(,)f +Fs(rotatef)p Fw(,)f Fs(psetf)p Fw(,)0 1582 y(and)i Fs(pop)g +Fw(ev)n(aluates)h(all)e(subforms)h(b)q(efore)i(mo)q(difying)11 +b(an)o(y)j(of)g(the)h(generalized)h(v)n(ari-)0 1633 y(able)f(lo)q +(cations.)21 b(Moreo)o(v)o(er,)15 b Fs(setf)f Fw(itself,)h(in)g(the)g +(case)h(when)g(a)f(call)f(on)h(it)g(has)g(more)0 1685 +y(than)h(t)o(w)o(o)f(argumen)o(ts,)g(p)q(erforms)h(its)f(op)q(eration)h +(on)g(eac)o(h)g(pair)f(in)h(sequence.)26 b(That)0 1737 +y(is,)13 b(in)0 1825 y Fs(\(setf)20 b Fv(plac)n(e1)i(value1)f(plac)n +(e2)h(value2)f Fs(...\))0 1913 y Fw(the)f(subforms)e(of)h +Fv(plac)n(e1)g Fw(and)g Fv(value1)h Fw(are)f(ev)n(aluated,)h(the)g(lo)q +(cation)e(sp)q(eci\014ed)j(b)o(y)0 1965 y Fv(plac)n(e1)14 +b Fw(is)h(mo)q(di\014ed)d(to)i(con)o(tain)g(the)h(v)n(alue)f(returned)i +(b)o(y)e Fv(value1)p Fw(,)g(and)g(then)h(the)g(rest)0 +2017 y(of)e(the)i Fs(setf)e Fw(form)f(is)i(pro)q(cessed)i(in)d(a)h(lik) +o(e)f(manner.)42 2069 y(F)m(or)e(the)h(macros)f Fs(check-type)p +Fw(,)f Fs(ctypecase)p Fw(,)f(and)j Fs(ccase)p Fw(,)f(subforms)f(of)i +(the)g(gener-)0 2121 y(alized)h(v)n(ariable)f(reference)k(are)e(ev)n +(aluated)f(once)h(p)q(er)g(test)h(of)d(a)h(generalized)h(v)n(ariable,)0 +2173 y(but)f(they)g(ma)o(y)d(b)q(e)j(ev)n(aluated)g(again)e(if)h(the)h +(t)o(yp)q(e)g(c)o(hec)o(k)g(fails)e(\(in)i(the)g(case)g(of)f +Fs(check-)0 2225 y(type)p Fw(\))h(or)h(if)f(none)h(of)f(the)i(cases)g +(holds)f(\(in)f Fs(ctypecase)f Fw(or)i Fs(ccase)p Fw(\).)42 +2277 y(F)m(or)h(the)i(macro)e Fs(assert)p Fw(,)f(the)j(order)g(of)e(ev) +n(aluation)g(of)g(the)i(generalized)g(v)n(ariable)0 2329 +y(references)g(is)c(not)h(sp)q(eci\014ed.)-33 2340 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 142 166 +142 165 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(142)77 b(COMMON)13 +b(LISP)42 295 y Fw(Another)g(reason)h(for)f(building)e(in)i(these)h +(functions)f(is)g(that)g(the)g(appropriate)g(opti-)0 +347 y(mizations)e(will)h(di\013er)i(from)e(implem)o(en)o(tation)e(to)k +(implem)o(en)o(tation.)h(In)e(some)g(imple-)0 399 y(men)o(tations)i +(most)g(of)h(the)g(optimization)e(is)i(p)q(erformed)g(b)o(y)g(the)h +(compiler,)d(while)i(in)0 450 y(others)g(a)f(simpler)f(compiler)g(is)h +(used)h(and)e(most)g(of)h(the)h(optimization)c(is)j(p)q(erformed)0 +502 y(in)c(the)h(macros.)k(The)c(cost)g(of)f(binding)g(a)g(temp)q +(orary)f(v)n(ariable)h(relativ)o(e)g(to)g(the)h(cost)g(of)0 +554 y(other)h(Lisp)f(op)q(erations)h(ma)o(y)d(di\013er)j(greatly)g(b)q +(et)o(w)o(een)g(one)g(implemen)o(tatio)o(n)d(and)i(an-)0 +606 y(other,)h(and)f(some)f(implemen)o(tatio)o(ns)f(ma)o(y)g(\014nd)i +(it)g(b)q(est)h(nev)o(er)g(to)f(remo)o(v)o(e)f(temp)q(orary)0 +658 y(v)n(ariables)i(except)i(in)f(the)g(simplest)f(cases.)42 +710 y(A)25 b(go)q(o)q(d)h(example)e(of)h(the)i(issues)g(in)o(v)o(olv)o +(ed)d(can)i(b)q(e)h(seen)g(in)e(the)h(follo)o(wing)0 +762 y(generalized-v)n(ariable)13 b(reference:)0 847 y +Fs(\(incf)20 b(\(ldb)g(byte-field)g(variable\)\))0 933 +y Fw(This)14 b(ough)o(t)f(to)h(expand)g(in)o(to)f(something)g(lik)o(e)0 +1019 y Fs(\(setq)20 b(variable)127 1071 y(\(dpb)g(\(1+)h(\(ldb)f +(byte-field)f(variable\)\))233 1122 y(byte-field)233 +1174 y(variable\)\))0 1260 y Fw(In)14 b(this)h(expansion)f(example)f(w) +o(e)i(ha)o(v)o(e)f(ignored)g(the)h(further)g(complexit)o(y)e(of)h +(return-)0 1312 y(ing)j(the)i(correct)h(v)n(alue,)e(whic)o(h)f(is)h +(the)h(incremen)o(ted)f(b)o(yte,)h(not)f(the)h(new)f(v)n(alue)f(of)0 +1364 y Fs(variable)p Fw(.)30 b(Note)19 b(that)g(the)g(v)n(ariable)e +Fs(byte-field)g Fw(is)h(ev)n(aluated)g(t)o(wice,)i(and)e(the)0 +1416 y(v)n(ariable)12 b Fs(variable)g Fw(is)h(referred)i(to)e(three)i +(times:)h(once)e(as)g(the)g(lo)q(cation)e(in)h(whic)o(h)g(to)0 +1467 y(store)i(a)e(v)n(alue,)g(and)h(t)o(wice)g(during)g(the)g +(computation)e(of)i(that)g(v)n(alue.)42 1519 y(No)o(w)f(consider)i +(this)f(expression:)0 1605 y Fs(\(incf)20 b(\(ldb)g(\(aref)h +(byte-fields)e(\(incf)h(i\)\))233 1657 y(\(aref)g(\(determine-words-)o +(array)o(\))e(i\)\)\))0 1742 y Fw(It)c(ough)o(t)f(to)h(expand)g(in)o +(to)f(something)g(lik)o(e)g(this:)0 1828 y Fs(\(let)20 +b(\(\(temp1)g(\(aref)g(byte-fields)f(\(incf)h(i\)\)\))127 +1880 y(\(temp2)g(\(determine-words-)o(array)o(\)\)\))42 +1932 y(\(setf)g(\(aref)h(temp2)f(i\))169 1984 y(\(dpb)h(\(1+)f(\(ldb)h +(temp1)f(\(aref)g(temp2)g(i\)\)\))275 2036 y(temp1)275 +2088 y(\(aref)g(temp2)g(i\)\)\)\))0 2173 y Fw(Again)15 +b(w)o(e)g(ha)o(v)o(e)h(ignored)f(the)h(complexit)o(y)e(of)h(returning)h +(the)g(correct)h(v)n(alue.)22 b(What)0 2225 y(is)15 b(imp)q(ortan)o(t)e +(here)j(is)e(that)h(the)h(expressions)g Fs(\(incf)k(i\))15 +b Fw(and)f Fs(\(determine-words-)0 2277 y(array\))j Fw(m)o(ust)h(not)g +(b)q(e)h(duplicated)g(b)q(ecause)h(eac)o(h)f(ma)o(y)e(ha)o(v)o(e)h(a)g +(side)h(e\013ect)i(or)d(b)q(e)0 2329 y(a\013ected)d(b)o(y)f(side)g +(e\013ects.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 143 167 +143 166 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(143)42 295 y Fw(X3J13)15 b(v)o(oted)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(160)p Ft(i)g Fw(to)h(sp)q(ecify)g(more)f(precisely)h(the)h +(order)f(of)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(ev)n(aluation)d(of)i(subforms)e(when)j +Fs(setf)e Fw(is)g(used)i(with)f(an)f(access)j(function)d(that)h(itself) +0 399 y(tak)o(es)e(a)g Fv(plac)n(e)f Fw(as)h(an)g(argumen)o(t,)e(for)h +(example,)g Fs(ldb)p Fw(,)f Fs(mask-field)p Fw(,)g(and)h +Fs(getf)p Fw(.)17 b(\(The)0 450 y(v)o(ote)10 b(also)g(discussed)i(the)e +(function)g Fs(char-bit)p Fw(,)f(but)i(another)f(v)o(ote)g +Ft(h)p Fw(11)p Ft(i)g Fw(remo)o(v)o(ed)g(that)0 502 y(function)16 +b(from)e(the)j(language.\))23 b(The)17 b Fs(setf)e Fw(metho)q(ds)h(for) +f(suc)o(h)i(accessors)i(pro)q(duce)0 554 y(expansions)14 +b(that)g(e\013ectiv)o(ely)h(require)g(explicit)e(calls)h(to)f +Fs(get-setf-method)p Fw(.)42 607 y(The)e(co)q(de)g(pro)q(duced)h(as)e +(the)i(macro)d(expansion)i(of)f(a)g Fs(setf)g Fw(form)e(that)j(itself)f +(admits)0 658 y(a)i(generalized)h(v)n(ariable)e(as)h(an)g(argumen)o(t)g +(m)o(ust)f(essen)o(tially)h(do)g(the)h(follo)o(wing)c(ma)r(jor)0 +710 y(steps:)0 776 y Fu(.)42 785 y Fw(It)k(ev)n(aluates)h(the)g(v)n +(alue-pro)q(ducing)f(subforms,)f(in)h(left-to-righ)o(t)f(order,)i(and)g +(binds)42 837 y(the)g(temp)q(orary)f(v)n(ariables)g(to)h(them;)f(this)h +(is)f(called)h Fv(binding)h(the)g(temp)n(or)n(aries)p +Fw(.)0 915 y Fu(.)42 924 y Fw(It)10 b(reads)h(the)g(v)n(alue)f(from)e +(the)j(generalized)g(v)n(ariable,)e(using)h(the)h(supplied)g(accessing) +42 976 y(form,)k(to)h(get)h(the)h(old)e(v)n(alue;)h(this)f(is)h(called) +f Fv(doing)i(the)g(ac)n(c)n(ess)p Fw(.)27 b(Note)17 b(that)g(this)42 +1028 y(is)f(done)h(after)g(all)f(the)i(ev)n(aluations)d(of)i(the)g +(preceding)h(step,)g(including)e(an)o(y)g(side)42 1080 +y(e\013ects)f(they)g(ma)o(y)d(ha)o(v)o(e.)0 1158 y Fu(.)42 +1167 y Fw(It)i(binds)g(the)g(store)h(v)n(ariable)e(to)h(a)g(new)h(v)n +(alue,)e(and)h(then)g(installs)g(this)g(new)g(v)n(alue)42 +1218 y(in)o(to)f(the)j(generalized)f(v)n(ariable)e(using)i(the)g +(supplied)g(storing)f(form;)f(this)i(is)f(called)42 1270 +y Fv(doing)h(the)g(stor)n(e)p Fw(.)0 1345 y(Doing)f(the)h(access)i(for) +e(a)f(generalized)i(v)n(ariable)e(reference)j(is)e(not)g(part)g(of)g +(the)g(series)0 1397 y(of)e(ev)n(aluations)g(that)h(m)o(ust)f(b)q(e)h +(done)h(in)e(left-to-righ)o(t)g(order.)42 1449 y(The)j(place-sp)q +(eci\014er)i(forms)d Fs(ldb)p Fw(,)g Fs(mask-field)p +Fw(,)f(and)i Fs(getf)f Fw(admit)g(\(other\))i Fv(plac)n(e)0 +1501 y Fw(sp)q(eci\014ers)c(as)f(argumen)o(ts.)k(During)11 +b(the)h Fs(setf)e Fw(expansion)i(of)e(these)j(forms,)d(it)h(is)g +(neces-)0 1553 y(sary)i(to)f(call)g Fs(get-setf-method)e +Fw(to)i(determine)h(ho)o(w)f(the)h(inner,)g(nested)h(generalized)0 +1605 y(v)n(ariable)f(m)o(ust)g(b)q(e)h(treated.)42 1658 +y(In)f(a)h(form)e(suc)o(h)j(as)0 1748 y Fs(\(setf)20 +b(\(ldb)g Fv(byte-sp)n(e)n(c)i(plac)n(e-form)p Fs(\))e +Fv(newvalue-form)p Fs(\))0 1837 y Fw(the)f(place)g(referred)i(to)e(b)o +(y)f(the)i Fv(plac)n(e-form)e Fw(m)o(ust)g(alw)o(a)o(ys)f(b)q(e)j(b)q +(oth)f(accessed)i(and)0 1889 y(up)q(dated;)12 b(note)f(that)g(the)h(up) +q(date)f(is)g(to)f(the)i(generalized)f(v)n(ariable)f(sp)q(eci\014ed)i +(b)o(y)f Fv(plac)n(e-)0 1941 y(form)p Fw(,)i(not)h(to)f(an)o(y)h(ob)r +(ject)g(of)g(t)o(yp)q(e)g Fs(integer)p Fw(.)42 1993 y(Th)o(us)g(this)g +(call)f(to)g Fs(setf)g Fw(should)h(generate)h(co)q(de)g(to)f(do)f(the)i +(follo)o(wing:)0 2059 y Fu(.)42 2068 y Fw(Ev)n(aluate)e +Fv(byte-sp)n(e)n(c)h Fw(and)g(bind)f(in)o(to)g(a)h(temp)q(orary)0 +2146 y Fu(.)42 2155 y Fw(Bind)f(the)i(temp)q(oraries)f(for)f +Fv(plac)n(e-form)0 2233 y Fu(.)42 2242 y Fw(Ev)n(aluate)g +Fv(newvalue-form)g Fw(and)h(bind)g(in)o(to)f(the)h(store)h(v)n(ariable) +0 2320 y Fu(.)42 2329 y Fw(Do)e(the)h(access)i(to)e Fv(plac)n(e-form) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 144 168 +144 167 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(144)77 b(COMMON)13 +b(LISP)0 286 y Fu(.)42 295 y Fw(Do)f(the)i(store)g(in)o(to)e +Fv(plac)n(e-form)h Fw(with)f(the)i(giv)o(en)f(bit-\014eld)g(of)f(the)i +(accessed)h(in)o(teger)42 347 y(replaced)f(with)g(the)g(v)n(alue)g(in)f +(the)i(store)f(v)n(ariable)0 420 y(If)i(the)g(ev)n(aluation)f(of)g +Fv(newvalue-form)g Fw(alters)i(what)e(is)h(found)g(in)f(the)i(giv)o(en) +e Fv(plac)n(e)p Fw(|)0 471 y(suc)o(h)f(as)f(setting)h(a)f(di\013eren)o +(t)h(bit-\014eld)e(of)h(the)h(in)o(teger|then)g(the)f(c)o(hange)h(of)e +(the)i(bit-)0 523 y(\014eld)i(denoted)g(b)o(y)f Fv(byte-sp)n(e)n(c)h +Fw(will)e(b)q(e)i(to)g(that)f(altered)i(in)o(teger,)e(b)q(ecause)j(the) +e(access)0 575 y(step)d(m)o(ust)d(b)q(e)j(done)f(after)g(the)g +Fv(newvalue-form)f Fw(ev)n(aluation.)16 b(Nev)o(ertheless,)e(the)f(ev)n +(al-)0 627 y(uations)j(required)h(for)f(binding)f(the)i(temp)q(oraries) +f(are)h(done)f(b)q(efore)h(the)g(ev)n(aluation)0 679 +y(of)c(the)g Fv(newvalue-form)p Fw(,)g(thereb)o(y)h(preserving)g(the)g +(required)g(left-to-righ)o(t)e(ev)n(aluation)0 731 y(order.)42 +783 y(The)i(treatmen)o(t)g(of)f Fs(mask-field)f Fw(is)h(similar)f(to)h +(that)h(of)g Fs(ldb)p Fw(.)42 835 y(In)f(a)h(form)e(suc)o(h)j(as:)0 +924 y Fs(\(setf)20 b(\(getf)g Fv(plac)n(e-form)h(ind-form)p +Fs(\))f Fv(newvalue-form)p Fs(\))0 1012 y Fw(the)f(place)g(referred)i +(to)e(b)o(y)f(the)i Fv(plac)n(e-form)e Fw(m)o(ust)g(alw)o(a)o(ys)f(b)q +(e)j(b)q(oth)f(accessed)i(and)0 1064 y(up)q(dated;)k(note)c(that)g(the) +h(up)q(date)f(is)g(to)g(the)h(generalized)g(v)n(ariable)d(sp)q +(eci\014ed)k(b)o(y)0 1116 y Fv(plac)n(e-form)p Fw(,)c(not)g +(necessarily)h(to)f(the)h(particular)f(list)g(whic)o(h)g(is)g(the)g +(prop)q(ert)o(y)h(list)0 1168 y(in)13 b(question.)42 +1220 y(Th)o(us)h(this)g(call)f(to)g Fs(setf)g Fw(should)h(generate)h +(co)q(de)g(to)f(do)f(the)i(follo)o(wing:)0 1284 y Fu(.)42 +1293 y Fw(Bind)e(the)i(temp)q(oraries)f(for)f Fv(plac)n(e-form)0 +1369 y Fu(.)42 1378 y Fw(Ev)n(aluate)g Fv(ind-form)g +Fw(and)h(bind)g(in)o(to)f(a)g(temp)q(orary)0 1454 y Fu(.)42 +1463 y Fw(Ev)n(aluate)g(the)h Fv(newvalue-form)g Fw(and)f(bind)h(in)o +(to)f(the)i(store)g(v)n(ariable)0 1539 y Fu(.)42 1548 +y Fw(Do)e(the)h(access)i(to)e Fv(plac)n(e-form)0 1624 +y Fu(.)42 1633 y Fw(Do)f(the)h(store)h(in)o(to)e Fv(plac)n(e-form)g +Fw(with)g(a)h(p)q(ossibly)f(new)h(prop)q(ert)o(y)h(list)e(obtained)h(b) +o(y)42 1685 y(com)o(bining)d(the)j(results)i(of)d(the)h(ev)n(aluations) +f(and)h(the)g(access)42 1758 y(If)e(the)h(ev)n(aluation)e(of)h +Fv(newvalue-form)g Fw(alters)g(what)h(is)f(found)g(in)g(the)h(giv)o(en) +f Fv(plac)n(e)p Fw(|)0 1810 y(suc)o(h)i(as)f(setting)g(a)f(di\013eren)o +(t)i(named)e(prop)q(ert)o(y)i(in)e(the)i(list|then)e(the)i(c)o(hange)f +(of)f(the)0 1861 y(prop)q(ert)o(y)k(denoted)f(b)o(y)g +Fv(ind-form)f Fw(will)f(b)q(e)j(to)e(that)h(altered)g(list,)f(b)q +(ecause)j(the)e(access)0 1913 y(step)d(is)g(done)f(after)h(the)g +Fv(newvalue-form)f Fw(ev)n(aluation.)16 b(Nev)o(ertheless,)e(the)e(ev)n +(aluations)0 1965 y(required)19 b(for)g(binding)e(the)i(temp)q(oraries) +f(are)h(done)g(b)q(efore)g(the)g(ev)n(aluation)e(of)h(the)0 +2017 y Fv(newvalue-form)p Fw(,)12 b(thereb)o(y)i(preserving)g(the)f +(required)h(left-to-righ)o(t)e(ev)n(aluation)f(order.)42 +2069 y(Note)f(that)g(the)h(phrase)g(\\p)q(ossibly)e(new)i(prop)q(ert)o +(y)g(list")e(treats)j(the)e(implemen)o(tation)0 2121 +y(of)k(prop)q(ert)o(y)i(lists)f(as)h(a)e(\\blac)o(k)h(b)q(o)o(x";)f(it) +h(can)g(mean)f(that)i(the)f(former)f(prop)q(ert)o(y)i(list)0 +2173 y(is)e(someho)o(w)e(destructiv)o(ely)j(re-used,)g(or)f(it)g(can)g +(mean)f(partial)f(or)i(full)f(cop)o(ying)g(of)h(it.)0 +2225 y(A)j(side)h(e\013ect)h(ma)o(y)d(or)h(ma)o(y)e(not)j(o)q(ccur;)h +(therefore)g Fs(setf)e Fw(m)o(ust)f(pro)q(ceed)j(as)f(if)e(the)0 +2277 y(resultan)o(t)i(prop)q(ert)o(y)g(list)e(w)o(ere)i(a)f(di\013eren) +o(t)h(cop)o(y)f(needing)h(to)f(b)q(e)g(stored)h(bac)o(k)f(in)o(to)0 +2329 y(the)d(generalized)h(v)n(ariable.)-33 2340 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 145 169 +145 168 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(145)42 295 y Fw(The)19 b(Common)d(Lisp)j(facilities)f(pro)o(vided)h +(to)g(deal)g(with)g(these)h(seman)o(tic)f(issues)0 347 +y(include:)0 410 y Fu(.)42 419 y Fw(Built-in)12 b(macros)h(suc)o(h)i +(as)f Fs(setf)f Fw(and)h Fs(push)f Fw(that)h(follo)o(w)e(the)i(seman)o +(tic)f(rules.)0 494 y Fu(.)42 503 y Fw(The)k Fs(define-modify-mac)o(ro) +d Fw(macro,)i(whic)o(h)h(allo)o(ws)f(new)h(generalized-v)n(ariable)42 +555 y(manipulating)12 b(macros)i(\(of)h(a)g(certain)h(restricted)h +(kind\))f(to)f(b)q(e)h(de\014ned)g(easily)m(.)22 b(It)42 +606 y(tak)o(es)14 b(care)h(of)e(the)h(seman)o(tic)f(rules)i +(automatically)l(.)0 682 y Fu(.)42 691 y Fw(The)g Fs(defsetf)f +Fw(macro,)g(whic)o(h)i(allo)o(ws)e(new)i(t)o(yp)q(es)g(of)f +(generalized-v)n(ariable)g(refer-)42 742 y(ences)f(to)e(b)q(e)h +(de\014ned)g(easily)m(.)k(It)12 b(tak)o(es)h(care)g(of)f(the)g(seman)o +(tic)g(rules)h(automatically)l(.)0 818 y Fu(.)42 827 +y Fw(The)28 b Fs(define-setf-metho)o(d)d Fw(macro)i(and)g(the)i +Fs(get-setf-method)24 b Fw(function,)42 879 y(whic)o(h)11 +b(pro)o(vide)h(access)i(to)e(the)g(in)o(ternal)g(mec)o(hanisms)e(when)i +(it)g(is)g(necessary)i(to)d(de-)42 930 y(\014ne)g(a)g(complicated)e +(new)j(t)o(yp)q(e)f(of)f(generalized-v)n(ariable)h(reference)i(or)e +(generalized-)42 982 y(v)n(ariable-mani)o(pulati)o(ng)g(macro.)42 +1054 y(Also)i(imp)q(ortan)o(t)f(are)j(the)f(c)o(hanges)h(that)f(allo)o +(w)e(lexical)h(en)o(vironmen)o(ts)g(to)h(b)q(e)h(used)-33 +1026 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1106 a(in)e(appropriate)h(w)o(a)o(ys)g(in)f +Fs(setf)g Fw(metho)q(ds.)-33 1118 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1255 1246 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(define-modify-mac)o(ro)32 b Fv(name)16 b(lamb)n(da-list)e +(function)22 b Fw([)p Fv(do)n(c-string)p Fw(])0 1323 +y(This)15 b(macro)f(de\014nes)j(a)e(read-mo)q(dify-write)e(macro)h +(named)g Fv(name)p Fw(.)23 b(An)15 b(example)f(of)0 1375 +y(suc)o(h)i(a)f(macro)f(is)i Fs(incf)p Fw(.)21 b(The)16 +b(\014rst)g(subform)e(of)h(the)h(macro)e(will)g(b)q(e)i(a)f +(generalized-)0 1427 y(v)n(ariable)g(reference.)27 b(The)16 +b Fv(function)g Fw(is)g(literally)f(the)h(function)g(to)g(apply)f(to)h +(the)g(old)0 1478 y(con)o(ten)o(ts)11 b(of)e(the)h(generalized-v)n +(ariable)f(to)g(get)h(the)g(new)g(con)o(ten)o(ts;)h(it)f(is)f(not)g(ev) +n(aluated.)0 1530 y Fv(lamb)n(da-list)16 b Fw(describ)q(es)k(the)e +(remaining)d(argumen)o(ts)i(for)f(the)i Fv(function)p +Fw(;)h(these)g(argu-)0 1582 y(men)o(ts)13 b(come)g(from)f(the)j +(remaining)d(subforms)g(of)i(the)g(macro)f(after)h(the)g(generalized-)0 +1634 y(v)n(ariable)i(reference.)32 b Fv(lamb)n(da-list)16 +b Fw(ma)o(y)g(con)o(tain)h Fs(&optional)e Fw(and)i Fs(&rest)g +Fw(mark)o(ers.)0 1686 y(\(The)g Fs(&key)f Fw(mark)o(er)g(is)h(not)g(p)q +(ermitted)f(here;)j Fs(&rest)d Fw(su\016ces)i(for)f(the)g(purp)q(oses)h +(of)0 1738 y Fs(define-modify-mac)o(ro)p Fw(.\))d Fv(do)n(c-string)d +Fw(is)g(do)q(cumen)o(tation)g(for)g(the)h(macro)e Fv(name)i +Fw(b)q(e-)0 1790 y(ing)g(de\014ned.)42 1842 y(The)k(expansion)h(of)e(a) +h Fs(define-modify-macro)d Fw(is)j(equiv)n(alen)o(t)g(to)g(the)h(follo) +o(wing,)0 1894 y(except)d(that)f(it)g(generates)h(co)q(de)g(that)f +(follo)o(ws)e(the)j(seman)o(tic)e(rules)h(outlined)g(ab)q(o)o(v)o(e.)0 +1982 y Fs(\(defmacro)19 b Fv(name)j Fs(\()p Fv(r)n(efer)n(enc)n(e)e +Fs(.)h Fv(lamb)n(da-list)p Fs(\))42 2033 y Fv(do)n(c-string)40 +2089 y Fn(`)64 2085 y Fs(\(setf)f(,)p Fv(r)n(efer)n(enc)n(e)191 +2137 y Fs(\()p Fv(function)h Fs(,)p Fv(r)n(efer)n(enc)n(e)f +Fs(,)p Fv(ar)n(g1)h Fs(,)p Fv(ar)n(g2)g Fs(...\)\)\))0 +2225 y Fw(where)13 b Fv(ar)n(g1)p Fw(,)f Fv(ar)n(g2)p +Fw(,)g(...,)e(are)j(the)g(parameters)f(app)q(earing)g(in)f +Fv(lamb)n(da-list)p Fw(;)h(appropriate)0 2277 y(pro)o(vision)h(is)h +(made)e(for)i(a)f Fs(&rest)g Fw(parameter.)42 2329 y(As)h(an)g +(example,)e Fs(incf)h Fw(could)g(ha)o(v)o(e)h(b)q(een)h(de\014ned)g(b)o +(y:)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 146 170 +146 169 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(146)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(define-modify-ma)o(cro)18 b(incf)i(\(&optional)f +(\(delta)h(1\)\))h(+\))42 382 y Fw(An)14 b(example)e(of)h(a)h(p)q +(ossibly)g(useful)g(macro)e(not)i(prede\014ned)i(in)d(Common)e(Lisp)j +(is)0 469 y Fs(\(define-modify-ma)o(cro)k(unionf)i(\(other-set)f(&rest) +h(keywords\))g(union\))42 556 y Fw(X3J13)f(v)o(oted)i(in)f(Marc)o(h)g +(1988)f Ft(h)p Fw(96)p Ft(i)h Fw(to)h(sp)q(ecify)f(that)h +Fs(define-modify-ma)o(cro)-33 528 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 608 a Fw(creates)12 b(macros)d(that)h(tak)o(e)g +Fs(&environment)e Fw(argumen)o(ts)h(and)h(p)q(erform)f(the)h(equiv)n +(alen)o(t)0 660 y(of)15 b(correctly)i(passing)f(suc)o(h)h(lexical)e(en) +o(vironmen)o(ts)g(to)h Fs(get-setf-method)d Fw(in)i(order)0 +712 y(to)f(correctly)h(main)o(tain)c(lexical)i(references.)-33 +723 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1255 848 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(defsetf)34 b Fv(ac)n(c)n(ess-fn)21 b Ft(f)p Fv(up)n(date-fn)i +Fw([)p Fv(do)n(c-string)p Fw(])d Ft(j)389 900 y Fv(lamb)n(da-list)14 +b Fs(\()p Fv(stor)n(e-variable)p Fs(\))396 952 y Fw([)-7 +b([)13 b Ft(f)p Fv(de)n(clar)n(ation)p Ft(g)665 937 y +Fl(\003)705 952 y Ft(j)i Fv(do)n(c-string)7 b Fw(])-7 +b(])27 b Ft(f)7 b Fv(form)p Ft(g)1096 937 y Fl(\003)1121 +952 y Ft(g)0 1029 y Fw(This)12 b(de\014nes)h(ho)o(w)e(to)h +Fs(setf)f Fw(a)h(generalized-v)n(ariable)f(reference)j(of)d(the)i(form) +d Fs(\()p Fv(ac)n(c)n(ess)p Fs(-)0 1081 y Fv(fn)21 b +Fs(...\))p Fw(.)c(The)12 b(v)n(alue)f(of)g(a)g(generalized-v)n(ariable) +g(reference)j(can)e(alw)o(a)o(ys)f(b)q(e)h(obtained)0 +1133 y(simply)j(b)o(y)h(ev)n(aluating)g(it,)g(so)h Fv(ac)n(c)n(ess-fn)g +Fw(should)g(b)q(e)g(the)g(name)f(of)g(a)h(function)f(or)h(a)0 +1185 y(macro.)42 1237 y(The)24 b(user)i(of)e Fs(defsetf)f +Fw(pro)o(vides)h(a)h(description)g(of)f(ho)o(w)g(to)g(store)h(in)o(to)f +(the)0 1289 y(generalized-v)n(ariable)15 b(reference)j(and)d(return)h +(the)g(v)n(alue)f(that)g(w)o(as)h(stored)g(\(b)q(ecause)0 +1341 y Fs(setf)f Fw(is)g(de\014ned)i(to)f(return)g(this)g(v)n(alue\).) +23 b(The)16 b(implemen)o(tatio)o(n)d(of)i Fs(defsetf)f +Fw(tak)o(es)0 1393 y(care)f(of)e(ensuring)h(that)g(subforms)e(of)i(the) +g(reference)i(are)e(ev)n(aluated)g(exactly)g(once)g(and)0 +1445 y(in)k(the)h(prop)q(er)g(left-to-righ)o(t)e(order.)26 +b(In)16 b(order)h(to)f(do)g(this,)g Fs(defsetf)f Fw(requires)j(that)0 +1496 y Fv(ac)n(c)n(ess-fn)12 b Fw(b)q(e)h(a)f(function)f(or)i(a)e +(macro)g(that)h(ev)n(aluates)h(its)f(argumen)o(ts,)f(b)q(eha)o(ving)h +(lik)o(e)0 1548 y(a)h(function.)k(F)m(urthermore,)c(a)g +Fs(setf)f Fw(of)g(a)h(call)g(on)f Fv(ac)n(c)n(ess-fn)i +Fw(will)d(also)i(ev)n(aluate)f(all)g(of)0 1600 y Fv(ac)n(c)n(ess-fn)p +Fw('s)h(argumen)o(ts;)f(it)g(cannot)h(treat)h(an)o(y)e(of)h(them)f(sp)q +(ecially)m(.)17 b(This)c(means)f(that)0 1652 y Fs(defsetf)i +Fw(cannot)h(b)q(e)h(used)g(to)f(describ)q(e)i(ho)o(w)e(to)g(store)h(in) +o(to)e(a)h(generalized)h(v)n(ariable)0 1704 y(that)c(is)f(a)g(b)o(yte,) +h(suc)o(h)g(as)g Fs(\(ldb)20 b(field)g(reference\))p +Fw(.)15 b(T)m(o)c(handle)g(situations)g(that)h(do)0 1756 +y(not)g(\014t)h(the)g(restrictions)h(imp)q(osed)e(b)o(y)g +Fs(defsetf)p Fw(,)f(use)i Fs(define-setf-method)p Fw(,)c(whic)o(h)0 +1808 y(giv)o(es)14 b(the)g(user)h(additional)d(con)o(trol)i(at)g(the)g +(cost)h(of)e(increased)i(complexit)o(y)m(.)42 1860 y(A)e +Fs(defsetf)g Fw(declaration)g(ma)o(y)f(tak)o(e)i(one)g(of)g(t)o(w)o(o)f +(forms.)k(The)d(simple)e(form)h(is)0 1947 y Fs(\(defsetf)20 +b Fv(ac)n(c)n(ess-fn)h(up)n(date-fn)29 b Fw([)p Fv(do)n(c)p +Fs(-)p Fv(string)t Fw(])7 b Fs(\))0 2034 y Fw(The)k Fv(up)n(date-fn)g +Fw(m)o(ust)f(name)f(a)i(function)f(\(or)h(macro\))e(that)i(tak)o(es)g +(one)g(more)f(argumen)o(t)0 2086 y(than)i Fv(ac)n(c)n(ess-fn)h +Fw(tak)o(es.)18 b(When)13 b Fs(setf)e Fw(is)i(giv)o(en)f(a)g +Fv(plac)n(e)h Fw(that)f(is)g(a)h(call)e(on)i Fv(ac)n(c)n(ess-fn)p +Fw(,)f(it)0 2138 y(expands)k(in)o(to)f(a)g(call)f(on)h +Fv(up)n(date-fn)h Fw(that)g(is)f(giv)o(en)g(all)f(the)i(argumen)o(ts)e +(to)i Fv(ac)n(c)n(ess-fn)0 2190 y Fw(and)i(also,)h(as)g(its)f(last)h +(argumen)o(t,)f(the)h(new)g(v)n(alue)f(\(whic)o(h)h(m)o(ust)e(b)q(e)j +(returned)g(b)o(y)0 2242 y Fv(up)n(date-fn)14 b Fw(as)g(its)g(v)n +(alue\).)k(F)m(or)13 b(example,)f(the)j(e\013ect)g(of)0 +2329 y Fs(\(defsetf)20 b(symbol-value)e(set\))-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 147 171 +147 170 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(147)0 295 y Fw(is)14 b(built)f(in)o(to)g(the)i(Comm)o(on)c(Lisp)j +(system.)k(This)c(causes)h(the)f(expansion)0 382 y Fs(\(setf)20 +b(\(symbol-value)f(foo\))h(fu\))h Ft(!)f Fs(\(set)h(foo)f(fu\))0 +469 y Fw(for)14 b(example.)i(Note)f(that)0 556 y Fs(\(defsetf)20 +b(car)g(rplaca\))0 643 y Fw(w)o(ould)13 b(b)q(e)i(incorrect)g(b)q +(ecause)g Fs(rplaca)e Fw(do)q(es)i(not)e(return)i(its)f(last)g(argumen) +o(t.)42 696 y(The)g(complex)e(form)h(of)g Fs(defsetf)f +Fw(lo)q(oks)i(lik)o(e)0 783 y Fs(\(defsetf)20 b Fv(ac)n(c)n(ess-fn)h +(lamb)n(da-list)f Fs(\()p Fv(stor)n(e-variable)p Fs(\))g(.)h +Fv(b)n(o)n(dy)p Fs(\))0 870 y Fw(and)13 b(resem)o(bles)h +Fs(defmacro)p Fw(.)i(The)e Fv(b)n(o)n(dy)g Fw(m)o(ust)e(compute)h(the)h +(expansion)g(of)f(a)g Fs(setf)f Fw(of)0 922 y(a)i(call)f(on)g +Fv(ac)n(c)n(ess-fn)p Fw(.)42 974 y(The)k Fv(lamb)n(da-list)f +Fw(describ)q(es)j(the)e(argumen)o(ts)g(of)f Fv(ac)n(c)n(ess-fn)p +Fw(.)27 b Fs(&optional)p Fw(,)15 b Fs(&rest)p Fw(,)0 +1026 y(and)c Fs(&key)f Fw(mark)o(ers)h(are)g(p)q(ermitted)g(in)g +Fv(lamb)n(da-list)p Fw(.)16 b(Optional)10 b(argumen)o(ts)h(ma)o(y)e(ha) +o(v)o(e)0 1078 y(defaults)15 b(and)g(\\supplied-p")g(\015ags.)21 +b(The)16 b Fv(stor)n(e-variable)e Fw(describ)q(es)j(the)f(v)n(alue)e +(to)h(b)q(e)0 1130 y(stored)g(in)o(to)e(the)i(generalized-v)n(ariable)e +(reference.)p 0 1189 V 0 1250 a Fm(Rationale:)21 b FA(The)15 +b Fq(stor)n(e-variable)d FA(is)j(enclosed)i(in)f(paren)o(theses)g(to)f +(pro)o(vide)i(for)e(an)g(exten-)0 1295 y(sion)g(to)f(m)o(ultiple)i +(store)e(v)n(ariables)i(that)f(w)o(ould)f(receiv)o(e)h(m)o(ultiple)i(v) +n(alues)e(from)f(the)g(second)0 1341 y(subform)e(of)g +Fj(setf)p FA(.)i(The)e(rules)h(giv)o(en)g(b)q(elo)o(w)f(for)g(co)q +(ding)h Fj(setf)d FA(metho)q(ds)j(discuss)g(the)f(prop)q(er)0 +1387 y(handling)18 b(of)c(m)o(ultiple)j(store)e(v)n(ariables)i(to)e +(allo)o(w)g(for)g(the)g(p)q(ossibili)q(t)o(y)i(that)e(this)h(extension) +0 1432 y(ma)o(y)d(b)q(e)g(incorp)q(orated)j(in)o(to)e(Common)f(Lisp)h +(in)g(the)f(future.)p 0 1469 V 42 1550 a Fw(The)k Fv(b)n(o)n(dy)h +Fw(forms)d(can)j(b)q(e)f(written)h(as)f(if)f(the)i(v)n(ariables)e(in)h +(the)h Fv(lamb)n(da-list)e Fw(w)o(ere)0 1602 y(b)q(ound)10 +b(to)f(subforms)g(of)g(the)h(call)f(on)h Fv(ac)n(c)n(ess-fn)f +Fw(and)h(the)g Fv(stor)n(e-variable)f Fw(w)o(ere)h(b)q(ound)g(to)0 +1654 y(the)h(second)g(subform)e(of)h Fs(setf)p Fw(.)15 +b(Ho)o(w)o(ev)o(er,)c(this)g(is)f(not)g(actually)f(the)i(case.)18 +b(During)9 b(the)0 1706 y(ev)n(aluation)h(of)h(the)g +Fv(b)n(o)n(dy)h Fw(forms,)e(these)j(v)n(ariables)d(are)i(b)q(ound)f(to) +g(names)g(of)f(temp)q(orary)0 1758 y(v)n(ariables,)16 +b(generated)i(as)e(if)g(b)o(y)g Fs(gensym)f Fw(or)h Fs(gentemp)p +Fw(,)f(that)i(will)d(b)q(e)j(b)q(ound)g(b)o(y)f(the)0 +1809 y(expansion)k(of)f Fs(setf)g Fw(to)g(the)i(v)n(alues)e(of)g(those) +i(subforms.)35 b(This)19 b(binding)g(p)q(ermits)0 1861 +y(the)g Fv(b)n(o)n(dy)g Fw(forms)f(to)g(b)q(e)i(written)f(without)f +(regard)h(for)g(order-of-ev)n(aluation)e(issues.)0 1913 +y Fs(defsetf)11 b Fw(arranges)i(for)f(the)h(temp)q(orary)f(v)n +(ariables)f(to)h(b)q(e)h(optimized)e(out)i(of)e(the)i(\014nal)0 +1965 y(result)i(in)e(cases)i(where)g(that)f(is)f(p)q(ossible.)19 +b(In)13 b(other)i(w)o(ords,)e(an)h(attempt)f(is)g(made)g(b)o(y)0 +2017 y Fs(defsetf)f Fw(to)i(generate)h(the)g(b)q(est)g(co)q(de)f(p)q +(ossible)h(in)e(a)h(particular)f(implemen)o(tation.)42 +2069 y(Note)h(that)f(the)i(co)q(de)f(generated)h(b)o(y)f(the)g +Fv(b)n(o)n(dy)g Fw(forms)f(m)o(ust)f(include)i(pro)o(vision)f(for)0 +2121 y(returning)k(the)f(correct)i(v)n(alue)d(\(the)i(v)n(alue)e(of)h +Fv(stor)n(e-variable)p Fw(\).)23 b(This)16 b(is)g(handled)g(b)o(y)0 +2173 y(the)f Fv(b)n(o)n(dy)f Fw(forms)f(rather)i(than)f(b)o(y)g +Fs(defsetf)e Fw(b)q(ecause)k(in)d(man)o(y)g(cases)i(this)f(v)n(alue)g +(can)0 2225 y(b)q(e)g(returned)h(at)e(no)h(extra)f(cost,)h(b)o(y)f +(calling)f(a)h(function)h(that)f(sim)o(ultaneously)e(stores)0 +2277 y(in)o(to)i(the)i(generalized)f(v)n(ariable)f(and)h(returns)h(the) +g(correct)g(v)n(alue.)42 2329 y(An)f(example)e(of)h(the)i(use)g(of)e +(the)h(complex)f(form)f(of)h Fs(defsetf)p Fw(:)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 148 172 +148 171 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(148)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(defsetf)20 b(subseq)f(\(sequence)h(start)g +(&optional)f(end\))i(\(new-sequence\))40 351 y Fn(`)64 +347 y Fs(\(progn)e(\(replace)h(,sequence)f(,new-sequence)402 +399 y(:start1)h(,start)g(:end1)g(,end\))212 450 y(,new-sequence\)\))42 +537 y Fw(X3J13)14 b(v)o(oted)h(in)f(Marc)o(h)h(1988)f +Ft(h)p Fw(78)p Ft(i)g Fw(to)h(sp)q(ecify)g(that)g(the)g(b)q(o)q(dy)g +(of)f(the)i(expander)-33 508 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 589 a(function)j(de\014ned)h(b)o(y)g(the)f(complex)f +(form)g(of)h Fs(defsetf)f Fw(is)h(implicitly)d(enclosed)k(in)0 +640 y(a)g Fs(block)f Fw(construct)j(whose)e(name)f(is)h(the)h(same)e +(as)h(the)h Fv(name)g Fw(of)e(the)i Fv(ac)n(c)n(ess-fn)p +Fw(.)0 692 y(Therefore)15 b Fs(return-from)d Fw(ma)o(y)g(b)q(e)i(used)h +(to)f(exit)g(from)e(the)i(function.)-33 704 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 744 a(X3J13)g(v)o(oted)i(in)f(Marc)o(h)g(1989)f +Ft(h)p Fw(50)p Ft(i)h Fw(to)h(clarify)e(that,)h(while)g(de\014ning)g +(forms)f(nor-)-33 716 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 796 a(mally)j(app)q(ear)j(at)f(top)h(lev)o(el,)g(it)f +(is)h(meaningful)d(to)i(place)h(them)e(in)i(non-top-lev)o(el)0 +848 y(con)o(texts;)i(the)d(complex)f(form)f(of)h Fs(defsetf)f +Fw(m)o(ust)h(de\014ne)i(the)f(expander)h(function)0 900 +y(within)13 b(the)i(enclosing)e(lexical)g(en)o(vironmen)o(t,)g(not)h +(within)f(the)h(global)e(en)o(vironmen)o(t.)-33 912 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 980 a(The)j(underlying)g(theory)h(b)o(y)f(whic)o(h)h +Fs(setf)e Fw(and)h(related)h(macros)f(arrange)g(to)h(con-)0 +1032 y(form)d(to)i(the)h(seman)o(tic)e(rules)h(giv)o(en)g(ab)q(o)o(v)o +(e)g(is)f(that)h(from)f(an)o(y)g(generalized-v)n(ariable)0 +1084 y(reference)21 b(one)d(ma)o(y)e(deriv)o(e)j(its)f(\\)p +Fs(setf)f Fw(metho)q(d,")h(whic)o(h)g(describ)q(es)i(ho)o(w)e(to)g +(store)0 1136 y(in)o(to)13 b(that)h(reference)i(and)e(whic)o(h)g +(subforms)f(of)g(it)h(are)g(ev)n(aluated.)p 0 1196 V +0 1256 a Fm(Compatibilit)o(y)g(note:)22 b FA(T)m(o)14 +b(a)o(v)o(oid)j(confusion,)g(it)e(should)i(b)q(e)e(noted)h(that)f(the)g +(use)h(of)e(the)0 1302 y(w)o(ord)e(\\metho)q(d")i(here)e(in)i +(connection)g(with)f Fj(setf)d FA(has)j(nothing)h(to)e(do)h(with)g(its) +g(use)g(in)g(Lisp)0 1347 y(Mac)o(hine)f(Lisp)g(in)g(connection)h(with)e +(message-passing)i(and)f(the)f(Lisp)g(Mac)o(hine)i(Lisp)f(\\\015a)o(v)o +(or)0 1393 y(system.")42 1439 y(And)j(of)f(course)i(it)f(also)h(has)f +(nothing)i(to)e(do)g(with)g(the)g(metho)q(ds)h(in)g(the)f(Common)g +(Lisp)-33 1413 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1484 a(Ob)r(ject)e(System)g Ff(h)p FA(12)p +Ff(i)p FA(.)-33 1495 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1522 V 42 1599 a Fw(Giv)o(en)j(kno)o(wledge)i(of)f(the)h +(subforms)f(of)g(the)h(reference,)j(it)c(is)h(p)q(ossible)g(to)f(a)o(v) +o(oid)0 1651 y(ev)n(aluating)c(them)h(m)o(ultiple)f(times)h(or)h(in)f +(the)h(wrong)g(order.)22 b(A)15 b Fs(setf)f Fw(metho)q(d)g(for)g(a)0 +1702 y(giv)o(en)f(access)j(form)c(can)i(b)q(e)h(expressed)h(as)e(\014v) +o(e)g(v)n(alues:)0 1764 y Fu(.)42 1773 y Fw(A)f(list)h(of)f +Fv(temp)n(or)n(ary)h(variables)0 1846 y Fu(.)42 1855 +y Fw(A)20 b(list)f(of)h Fv(value)g(forms)g Fw(\(subforms)f(of)g(the)i +(giv)o(en)f(form\))e(to)i(whose)g(v)n(alues)g(the)42 +1907 y(temp)q(orary)13 b(v)n(ariables)g(are)h(to)g(b)q(e)g(b)q(ound)0 +1981 y Fu(.)42 1990 y Fw(A)f(second)i(list)f(of)f(temp)q(orary)g(v)n +(ariables,)g(called)h Fv(stor)n(e)g(variables)0 2063 +y Fu(.)42 2072 y Fw(A)f Fv(storing)i(form)0 2146 y Fu(.)42 +2155 y Fw(An)f Fv(ac)n(c)n(essing)h(form)42 2225 y Fw(The)d(temp)q +(orary)e(v)n(ariables)h(will)f(b)q(e)j(b)q(ound)e(to)h(the)g(v)n(alues) +f(of)g(the)i(v)n(alue)e(forms)f(as)i(if)0 2277 y(b)o(y)g +Fs(let*)p Fw(;)f(that)h(is,)g(the)h(v)n(alue)e(forms)g(will)g(b)q(e)h +(ev)n(aluated)g(in)g(the)g(order)h(giv)o(en)f(and)g(ma)o(y)0 +2329 y(refer)h(to)g(the)g(v)n(alues)f(of)g(earlier)g(v)n(alue)g(forms)f +(b)o(y)h(using)h(the)g(corresp)q(onding)g(v)n(ariables.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 149 173 +149 172 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(149)42 295 y Fw(The)11 b(store)h(v)n(ariables)f(are)g(to)g(b)q(e)h(b) +q(ound)g(to)f(the)g(v)n(alues)g(of)g(the)h Fv(newvalue)f +Fw(form,)f(that)0 347 y(is,)16 b(the)h(v)n(alues)g(to)f(b)q(e)h(stored) +g(in)o(to)f(the)h(generalized)g(v)n(ariable.)24 b(In)17 +b(almost)d(all)h(cases)0 399 y(only)e(a)h(single)f(v)n(alue)g(is)h(to)g +(b)q(e)g(stored,)h(and)f(there)h(is)f(only)f(one)h(store)h(v)n +(ariable.)42 450 y(The)20 b(storing)g(form)e(and)i(the)g(accessing)i +(form)c(ma)o(y)g(con)o(tain)h(references)k(to)d(the)0 +502 y(temp)q(orary)c(v)n(ariables)h(\(and)g(also,)f(in)h(the)h(case)g +(of)e(the)i(storing)f(form,)e(to)i(the)h(store)0 554 +y(v)n(ariables\).)k(The)16 b(accessing)h(form)d(returns)j(the)f(v)n +(alue)f(of)g(the)h(generalized)g(v)n(ariable.)0 606 y(The)11 +b(storing)g(form)f(mo)q(di\014es)f(the)j(v)n(alue)e(of)h(the)g +(generalized)h(v)n(ariable)e(and)h(guaran)o(tees)0 658 +y(to)k(return)h(the)f(v)n(alues)g(of)f(the)h(store)h(v)n(ariables)e(as) +h(its)g(v)n(alues;)f(these)i(are)g(the)f(correct)0 710 +y(v)n(alues)c(for)g Fs(setf)g Fw(to)g(return.)18 b(\(Again,)11 +b(in)g(most)f(cases)j(there)g(is)e(a)g(single)g(store)i(v)n(ariable)0 +762 y(and)h(th)o(us)g(a)g(single)g(v)n(alue)f(to)h(b)q(e)h(returned.\)) +20 b(The)15 b(v)n(alue)e(returned)j(b)o(y)e(the)h(accessing)0 +814 y(form)9 b(is,)i(of)f(course,)j(a\013ected)f(b)o(y)f(execution)g +(of)g(the)g(storing)g(form,)e(but)i(either)h(of)e(these)0 +866 y(forms)j(ma)o(y)f(b)q(e)j(ev)n(aluated)f(an)o(y)g(n)o(um)o(b)q(er) +f(of)h(times)f(and)h(therefore)i(should)e(b)q(e)g(free)h(of)0 +917 y(side)f(e\013ects)i(\(other)f(than)f(the)g(storing)g(action)f(of)h +(the)g(storing)g(form\).)42 969 y(The)f(temp)q(orary)g(v)n(ariables)g +(and)g(the)h(store)g(v)n(ariables)f(are)g(generated)i(names,)d(as)i(if) +0 1021 y(b)o(y)j Fs(gensym)e Fw(or)i Fs(gentemp)p Fw(,)f(so)h(that)g +(there)i(is)d(nev)o(er)i(an)o(y)f(problem)f(of)g(name)g(clashes)0 +1073 y(among)f(them,)h(or)g(b)q(et)o(w)o(een)i(them)e(and)h(other)g(v)n +(ariables)f(in)g(the)h(program.)25 b(This)17 b(is)0 1125 +y(necessary)h(to)d(mak)o(e)f(the)j(sp)q(ecial)e(forms)g(that)g(do)h +(more)e(than)i(one)g Fs(setf)f Fw(in)g(parallel)0 1177 +y(w)o(ork)h(prop)q(erly;)h(these)g(are)g Fs(psetf)p Fw(,)d +Fs(shiftf)p Fw(,)h(and)h Fs(rotatef)p Fw(.)23 b(Computation)14 +b(of)h(the)0 1229 y Fs(setf)f Fw(metho)q(d)g(m)o(ust)h(alw)o(a)o(ys)f +(create)i(new)g(v)n(ariable)e(names;)g(it)h(ma)o(y)e(not)i(return)h +(the)0 1281 y(same)d(ones)h(ev)o(ery)h(time.)42 1333 +y(Some)d(examples)h(of)g Fs(setf)g Fw(metho)q(ds)h(for)f(particular)h +(forms:)0 1393 y Fu(.)42 1402 y Fw(F)m(or)f(a)h(v)n(ariable)e +Fs(x)p Fw(:)42 1483 y Fs(\(\))42 1535 y(\(\))42 1587 +y(\(g0001\))42 1639 y(\(setq)20 b(x)h(g0001\))42 1691 +y(x)0 1764 y Fu(.)42 1773 y Fw(F)m(or)13 b Fs(\(car)20 +b Fv(exp)p Fs(\))p Fw(:)42 1854 y Fs(\(g0002\))42 1906 +y(\()p Fv(exp)p Fs(\))42 1958 y(\(g0003\))42 2010 y(\(progn)f(\(rplaca) +h(g0002)g(g0003\))g(g0003\))42 2062 y(\(car)g(g0002\))0 +2134 y Fu(.)42 2143 y Fw(F)m(or)13 b Fs(\(subseq)20 b +Fv(se)n(q)h(s)g(e)p Fs(\))p Fw(:)42 2225 y Fs(\(g0004)e(g0005)i +(g0006\))42 2277 y(\()p Fv(se)n(q)g(s)g(e)p Fs(\))42 +2329 y(\(g0007\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 150 174 +150 173 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(150)77 b(COMMON)13 +b(LISP)42 295 y Fs(\(progn)19 b(\(replace)h(g0004)g(g0007)g(:start1)g +(g0005)g(:end1)g(g0006\))190 347 y(g0007\))42 399 y(\(subseq)f(g0004)h +(g0005)h(g0006\))1255 633 y Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(define-setf-metho)o(d)32 b Fv(ac)n(c)n(ess-fn)15 +b(lamb)n(da-list)420 685 y Fw([)-7 b([)13 b Ft(f)p Fv(de)n(clar)n +(ation)p Ft(g)689 670 y Fl(\003)729 685 y Ft(j)i Fv(do)n(c-string)7 +b Fw(])-7 b(])27 b Ft(f)7 b Fv(form)p Ft(g)1120 670 y +Fl(\003)0 764 y Fw(This)15 b(de\014nes)h(ho)o(w)e(to)h +Fs(setf)f Fw(a)h(generalized-v)n(ariable)f(reference)j(that)e(is)g(of)f +(the)h(form)0 816 y Fs(\()p Fv(ac)n(c)n(ess)p Fs(-)p +Fv(fn)p Fs(...\))p Fw(.)22 b(The)16 b(v)n(alue)f(of)g(a)h +(generalized-v)n(ariable)f(reference)j(can)e(alw)o(a)o(ys)e(b)q(e)0 +868 y(obtained)c(simply)f(b)o(y)h(ev)n(aluating)f(it,)h(so)h +Fv(ac)n(c)n(ess-fn)f Fw(should)h(b)q(e)g(the)g(name)e(of)h(a)g +(function)0 920 y(or)k(a)f(macro.)42 974 y(The)e Fv(lamb)n(da-list)e +Fw(describ)q(es)k(the)e(subforms)f(of)g(the)h(generalized-v)n(ariable)f +(reference,)0 1026 y(as)17 b(with)f Fs(defmacro)p Fw(.)24 +b(The)17 b(result)g(of)f(ev)n(aluating)f(the)i Fv(forms)f +Fw(in)g(the)h(b)q(o)q(dy)g(m)o(ust)e(b)q(e)0 1078 y(\014v)o(e)21 +b(v)n(alues)f(represen)o(ting)i(the)f Fs(setf)f Fw(metho)q(d,)g(as)h +(describ)q(ed)h(ab)q(o)o(v)o(e.)38 b(Note)21 b(that)0 +1130 y Fs(define-setf-metho)o(d)10 b Fw(di\013ers)j(from)e(the)j +(complex)d(form)g(of)h Fs(defsetf)f Fw(in)h(that)h(while)0 +1182 y(the)19 b(b)q(o)q(dy)f(is)g(b)q(eing)g(executed)j(the)d(v)n +(ariables)g(in)g Fv(lamb)n(da-list)f Fw(are)i(b)q(ound)f(to)g(parts)0 +1233 y(of)c(the)h(generalized-v)n(ariable)g(reference,)i(not)d(to)h +(temp)q(orary)f(v)n(ariables)g(that)h(will)e(b)q(e)0 +1285 y(b)q(ound)e(to)g(the)h(v)n(alues)e(of)h(suc)o(h)g(parts.)18 +b(In)11 b(addition,)f Fs(define-setf-metho)o(d)e Fw(do)q(es)k(not)0 +1337 y(ha)o(v)o(e)g Fs(defsetf)p Fw('s)e(restriction)i(that)g +Fv(ac)n(c)n(ess-fn)g Fw(m)o(ust)f(b)q(e)h(a)f(function)h(or)f(a)h +(function-lik)o(e)0 1389 y(macro;)i(an)g(arbitrary)h +Fs(defmacro)e Fw(destructuring)j(pattern)g(is)f(p)q(ermitted)f(in)h +Fv(lamb)n(da-)0 1441 y(list)p Fw(.)42 1495 y(By)j(de\014nition)g(there) +i(are)f(no)g(go)q(o)q(d)f(small)e(examples)i(of)f Fs +(define-setf-method)0 1547 y Fw(b)q(ecause)i(the)f(easy)g(cases)h(can)e +(all)f(b)q(e)i(handled)f(b)o(y)h Fs(defsetf)p Fw(.)27 +b(A)17 b(t)o(ypical)f(use)j(is)e(to)0 1599 y(de\014ne)e(the)f +Fs(setf)f Fw(metho)q(d)g(for)h Fs(ldb)p Fw(:)0 1706 y +Fs(;;;)21 b(SETF)f(method)g(for)g(the)h(form)f(\(LDB)h(bytespec)e +(int\).)0 1758 y(;;;)i(Recall)e(that)i(the)f(int)h(form)f(must)h +(itself)f(be)g(suitable)g(for)g(SETF.)0 1810 y(\(define-setf-meth)o(od) +e(ldb)j(\(bytespec)e(int\))42 1862 y(\(multiple-value-bin)o(d)f +(\(temps)i(vals)h(stores)508 1914 y(store-form)e(access-form\))127 +1966 y(\(get-setf-method)f(int\))190 b(;Get)20 b(SETF)g(method)g(for)h +(int)85 2017 y(\(let)f(\(\(btemp)g(\(gensym\)\))210 b(;Temp)20 +b(var)g(for)h(byte)f(specifier)212 2069 y(\(store)g(\(gensym\)\))209 +b(;Temp)21 b(var)f(for)h(byte)f(to)h(store)212 2121 y(\(stemp)f +(\(first)g(stores\)\)\))61 b(;Temp)20 b(var)h(for)f(int)h(to)g(store) +127 2173 y(;;)g(Return)f(the)g(SETF)h(method)f(for)g(LDB)h(as)f(five)h +(values.)127 2225 y(\(values)f(\(cons)g(btemp)g(temps\))83 +b(;Temporary)20 b(variables)296 2277 y(\(cons)h(bytespec)e(vals\))41 +b(;Value)20 b(forms)296 2329 y(\(list)h(store\))210 b(;Store)20 +b(variables)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 151 175 +151 174 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(CONTROL)13 b(STRUCTURE)921 b(151)294 299 y Fn(`)318 +295 y Fs(\(let)20 b(\(\(,stemp)f(\(dpb)i(,store)f(,btemp)g +(,access-form\)\)\))360 347 y(,store-form)360 399 y(,store\))443 +b(;Storing)20 b(form)294 454 y Fn(`)318 450 y Fs(\(ldb)g(,btemp)g +(,access-form\))103 b(;Accessing)19 b(form)296 502 y(\)\)\)\))-33 +518 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 592 a Fw(X3J13)11 b(v)o(oted)h(in)f(Marc)o(h)h(1988)f +Ft(h)p Fw(96)p Ft(i)h Fw(to)f(sp)q(ecify)i(that)f(the)g +Fs(&environment)d Fw(lam)o(b)q(da-)-33 564 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 644 a(list)g(k)o(eyw)o(ord)h(ma)o(y)d(app)q(ear)j(in)f +(the)h Fv(lamb)n(da-list)f Fw(in)g(the)h(same)f(manner)g(as)g(for)g +Fs(defmacro)0 696 y Fw(in)k(order)g(to)g(obtain)g(the)g(lexical)g(en)o +(vironmen)o(t)f(of)g(the)i(call)e(to)h(the)h Fs(setf)e +Fw(macro.)k(The)0 748 y(preceding)f(example)d(should)i(b)q(e)h(mo)q +(di\014ed)d(to)i(tak)o(e)g(adv)n(an)o(tage)f(of)g(this)h(new)g +(feature.)0 800 y(The)d Fs(setf)e Fw(metho)q(d)g(m)o(ust)g(accept)i(an) +f Fs(&environment)e Fw(parameter,)i(whic)o(h)g(will)e(receiv)o(e)0 +851 y(the)18 b(lexical)e(en)o(vironmen)o(t)g(of)g(the)h(call)g(to)f +Fs(setf)p Fw(;)i(this)f(en)o(vironmen)o(t)f(m)o(ust)f(then)j(b)q(e)0 +903 y(giv)o(en)9 b(to)h Fs(get-setf-method)c Fw(in)j(order)i(that)e(it) +g(ma)o(y)f(correctly)j(use)f(an)o(y)f(lo)q(cally)g(b)q(ound)0 +955 y Fs(setf)k Fw(metho)q(d)h(that)g(migh)o(t)f(b)q(e)i(applicable)e +(to)h(the)h Fv(plac)n(e)g Fw(form)d(that)j(app)q(ears)g(as)f(the)0 +1007 y(second)h(argumen)o(t)e(to)g Fs(ldb)h Fw(in)f(the)i(call)e(to)g +Fs(setf)p Fw(.)0 1097 y Fs(;;;)21 b(SETF)f(method)g(for)g(the)h(form)f +(\(LDB)h(bytespec)e(int\).)0 1149 y(;;;)i(Recall)e(that)i(the)f(int)h +(form)f(must)h(itself)f(be)g(suitable)g(for)g(SETF.)0 +1201 y(;;;)h(Note)f(the)g(use)h(of)g(an)g(&environment)d(parameter)i +(to)g(receive)g(the)0 1253 y(;;;)h(lexical)e(environment)g(of)i(the)f +(call)h(for)f(use)h(with)f(GET-SETF-METHOD.)0 1305 y +(\(define-setf-meth)o(od)e(ldb)j(\(bytespec)e(int)i(&environment)d +(env\))42 1357 y(\(multiple-value-bin)o(d)g(\(temps)i(vals)h(stores)508 +1409 y(store-form)e(access-form\))127 1461 y(\(get-setf-method)f(int)i +(env\))105 b(;Get)21 b(SETF)f(method)g(for)h(int)85 1513 +y(\(let)f(\(\(btemp)g(\(gensym\)\))210 b(;Temp)20 b(var)g(for)h(byte)f +(specifier)212 1564 y(\(store)g(\(gensym\)\))209 b(;Temp)21 +b(var)f(for)h(byte)f(to)h(store)212 1616 y(\(stemp)f(\(first)g +(stores\)\)\))61 b(;Temp)20 b(var)h(for)f(int)h(to)g(store)127 +1668 y(;;)g(Return)f(the)g(SETF)h(method)f(for)g(LDB)h(as)f(five)h +(values.)127 1720 y(\(values)f(\(cons)g(btemp)g(temps\))83 +b(;Temporary)20 b(variables)296 1772 y(\(cons)h(bytespec)e(vals\))41 +b(;Value)20 b(forms)296 1824 y(\(list)h(store\))210 b(;Store)20 +b(variables)294 1880 y Fn(`)318 1876 y Fs(\(let)g(\(\(,stemp)f(\(dpb)i +(,store)f(,btemp)g(,access-form\)\)\))360 1928 y(,store-form)360 +1980 y(,store\))443 b(;Storing)20 b(form)294 2035 y Fn(`)318 +2031 y Fs(\(ldb)g(,btemp)g(,access-form\))103 b(;Accessing)19 +b(form)296 2083 y(\)\)\)\))-33 2099 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2173 a Fw(X3J13)14 b(v)o(oted)h(in)f(Marc)o(h)h(1988)f +Ft(h)p Fw(78)p Ft(i)g Fw(to)h(sp)q(ecify)g(that)g(the)g(b)q(o)q(dy)g +(of)f(the)i(expander)-33 2145 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2225 a(function)i(de\014ned)i(b)o(y)e +Fs(define-setf-method)d Fw(is)j(implicitly)e(enclosed)j(in)g(a)f +Fs(block)0 2277 y Fw(construct)h(whose)f(name)d(is)i(the)h(same)f(as)g +(the)h Fv(name)f Fw(of)g(the)h Fv(ac)n(c)n(ess-fn)p Fw(.)27 +b(Therefore)0 2329 y Fs(return-from)12 b Fw(ma)o(y)g(b)q(e)i(used)h(to) +f(exit)f(from)g(the)h(function.)-33 2340 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 152 176 +152 175 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(152)77 b(COMMON)13 +b(LISP)42 295 y Fw(X3J13)h(v)o(oted)i(in)f(Marc)o(h)g(1989)f +Ft(h)p Fw(50)p Ft(i)h Fw(to)h(clarify)e(that,)h(while)g(de\014ning)g +(forms)f(nor-)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(mally)j(app)q(ear)j(at)f(top)h(lev)o(el,)g(it)f +(is)h(meaningful)d(to)i(place)h(them)e(in)i(non-top-lev)o(el)0 +399 y(con)o(texts;)14 b Fs(define-setf-meth)o(od)c Fw(m)o(ust)h +(de\014ne)j(the)f(expander)h(function)e(within)g(the)0 +450 y(enclosing)i(lexical)f(en)o(vironmen)o(t,)f(not)i(within)f(the)i +(global)d(en)o(vironmen)o(t.)-33 462 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 600 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(get-setf-method)18 b Fv(form)-38 575 y Fk(.)-38 +588 y(.)-38 601 y(.)-38 614 y(.)-38 627 y(.)-38 640 y(.)-38 +653 y(.)-38 665 y(.)-38 678 y(.)-38 691 y(.)-38 704 y(.)-38 +717 y(.)-38 730 y(.)-38 743 y(.)-38 756 y(.)-38 769 y(.)-38 +782 y(.)-38 795 y(.)-38 808 y(.)-38 821 y(.)-38 834 y(.)-38 +847 y(.)-38 860 y(.)-38 873 y(.)-38 886 y(.)-38 899 y(.)-38 +912 y(.)-38 925 y(.)-38 938 y(.)-38 951 y(.)-38 964 y(.)-38 +977 y(.)-38 990 y(.)-38 1003 y(.)-38 1016 y(.)-38 1029 +y(.)-38 1042 y(.)-38 1055 y(.)-38 1068 y(.)-38 1081 y(.)-38 +1094 y(.)-38 1107 y(.)-38 1120 y(.)-38 1132 y(.)-38 1145 +y(.)-38 1158 y(.)-38 1171 y(.)-38 1184 y(.)-38 1197 y(.)-38 +1210 y(.)-38 1223 y(.)-38 1236 y(.)-38 1249 y(.)-38 1262 +y(.)-38 1275 y(.)-38 1288 y(.)-38 1301 y(.)-38 1314 y(.)-38 +1327 y(.)-38 1340 y(.)-38 1353 y(.)-38 1366 y(.)-38 1379 +y(.)-38 1392 y(.)-38 1405 y(.)-38 1418 y(.)-38 1431 y(.)-38 +1444 y(.)-38 1457 y(.)-38 1470 y(.)-38 1483 y(.)-38 1496 +y(.)-38 1509 y(.)-38 1522 y(.)-38 1535 y(.)-38 1548 y(.)-38 +1561 y(.)-38 1574 y(.)-38 1587 y(.)-38 1599 y(.)-38 1612 +y(.)-38 1625 y(.)-38 1638 y(.)-38 1651 y(.)-38 1664 y(.)-38 +1677 y(.)-38 1690 y(.)-38 1703 y(.)-38 1716 y(.)-38 1729 +y(.)-38 1742 y(.)-38 1755 y(.)-38 1768 y(.)-38 1781 y(.)-38 +1794 y(.)-38 1807 y(.)-38 1820 y(.)-38 1833 y(.)-38 1846 +y(.)-38 1859 y(.)-38 1872 y(.)-38 1885 y(.)-38 1898 y(.)-38 +1911 y(.)-38 1924 y(.)-38 1937 y(.)-38 1950 y(.)-38 1963 +y(.)-38 1976 y(.)-38 1989 y(.)-38 2002 y(.)-38 2015 y(.)-38 +2028 y(.)-38 2041 y(.)-38 2054 y(.)-38 2066 y(.)-38 2079 +y(.)-38 2092 y(.)-38 2105 y(.)-38 2118 y(.)-38 2131 y(.)-38 +2144 y(.)-38 2157 y(.)-38 2170 y(.)-38 2183 y(.)-38 2196 +y(.)-38 2209 y(.)-38 2222 y(.)-38 2235 y(.)-38 2248 y(.)-38 +2261 y(.)-38 2274 y(.)-38 2287 y(.)-38 2300 y(.)-38 2313 +y(.)-38 2326 y(.)-38 2339 y(.)-38 2352 y(.)-38 2365 y(.)-38 +2378 y(.)-38 2391 y(.)-38 2404 y(.)-38 2417 y(.)-38 2430 +y(.)-38 2443 y(.)-38 2456 y(.)-38 2469 y(.)-38 2482 y(.)-38 +2495 y(.)-38 2508 y(.)-38 2521 y(.)-38 2533 y(.)-38 2546 +y(.)-38 2559 y(.)-38 2572 y(.)-38 2585 y(.)-38 2598 y(.)-38 +2611 y(.)-38 2624 y(.)-38 2637 y(.)-38 2650 y(.)-38 2663 +y(.)-38 2676 y(.)-38 2689 y(.)-38 2702 y(.)-38 2715 y(.)-38 +2728 y(.)-38 2741 y(.)-38 2754 y(.)-38 2767 y(.)-38 2780 +y(.)-38 2793 y(.)-38 2806 y(.)-38 2819 y(.)-38 2832 y(.)-38 +2845 y(.)-38 2858 y(.)-38 2871 y(.)-38 2884 y(.)-38 2897 +y(.)-38 2910 y(.)-38 2923 y(.)-38 2936 y(.)-38 2949 y(.)-38 +2962 y(.)-38 2975 y(.)-38 2988 y(.)-38 3000 y(.)-38 3013 +y(.)-38 3026 y(.)-38 3039 y(.)-38 3052 y(.)-38 3065 y(.)-38 +3078 y(.)-38 3091 y(.)-38 3104 y(.)-38 3117 y(.)-38 3130 +y(.)-38 3143 y(.)-38 3156 y(.)0 677 y Fs(get-setf-method)10 +b Fw(returns)15 b(\014v)o(e)f(v)n(alues)f(constituting)h(the)g +Fs(setf)e Fw(metho)q(d)h(for)g Fv(form)p Fw(.)0 729 y(The)k +Fv(form)e Fw(m)o(ust)g(b)q(e)i(a)f(generalized-v)n(ariable)f +(reference.)27 b Fs(get-setf-method)13 b Fw(tak)o(es)0 +781 y(care)i(of)e(error-c)o(hec)o(king)h(and)g(macro)e(expansion)i(and) +g(guaran)o(tees)g(to)g(return)h(exactly)0 833 y(one)f(store)h(v)n +(ariable.)42 885 y(As)g(an)g(example,)e(an)i(extremely)g(simpli\014ed)e +(v)o(ersion)i(of)f Fs(setf)p Fw(,)g(allo)o(wing)f(no)i(more)0 +937 y(and)c(no)g(few)o(er)h(than)f(t)o(w)o(o)f(subforms,)h(con)o +(taining)f(no)g(optimization)f(to)i(remo)o(v)o(e)f(unnec-)0 +989 y(essary)k(v)n(ariables,)e(and)h(not)g(allo)o(wing)d(storing)j(of)f +(m)o(ultiple)f(v)n(alues,)h(could)h(b)q(e)h(de\014ned)0 +1041 y(b)o(y:)0 1130 y Fs(\(defmacro)19 b(setf)i(\(reference)e(value\)) +42 1182 y(\(multiple-value-bin)o(d)f(\(vars)j(vals)f(stores)g +(store-form)f(access-form\))127 1234 y(\(get-setf-method)f(reference\)) +85 1286 y(\(declare)h(\(ignore)h(access-form\)\))82 1342 +y Fn(`)106 1338 y Fs(\(let*)g(,\(mapcar)g(#)432 1334 +y(-)432 1342 y(-)m Fn(')474 1338 y Fs(list)423 1390 y(\(append)g(vars)g +(stores\))423 1442 y(\(append)g(vals)g(\(list)h(value\)\)\))148 +1494 y(,store-form\)\)\))-33 1509 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1583 a Fw(X3J13)12 b(v)o(oted)h(in)f(Marc)o(h)h(1988)f +Ft(h)p Fw(96)p Ft(i)h Fw(to)g(add)f(an)h(optional)e(en)o(vironmen)o(t)h +(argumen)o(t)-33 1554 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1635 a(to)i Fs(get-setf-method)p Fw(.)h(The)f(revised)h +(de\014nition)e(and)h(example)f(are)h(as)g(follo)o(ws.)1209 +1784 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(get-setf-method)18 +b Fv(form)24 b Fs(&optional)19 b Fv(env)0 1861 y Fs(get-setf-method)10 +b Fw(returns)15 b(\014v)o(e)f(v)n(alues)f(constituting)h(the)g +Fs(setf)e Fw(metho)q(d)h(for)g Fv(form)p Fw(.)0 1913 +y(The)g Fv(form)g Fw(m)o(ust)f(b)q(e)h(a)g(generalized-v)n(ariable)g +(reference.)20 b(The)13 b Fv(env)h Fw(m)o(ust)e(b)q(e)h(an)g(en)o(vi-)0 +1965 y(ronmen)o(t)d(of)h(the)g(sort)h(obtained)f(through)g(the)g +Fs(&environment)e Fw(lam)o(b)q(da-list)f(k)o(eyw)o(ord;)0 +2017 y(if)13 b Fv(env)i Fw(is)f Fs(nil)f Fw(or)h(omitted,)f(the)h(n)o +(ull)f(lexical)g(en)o(vironmen)o(t)g(is)h(assumed.)19 +b Fs(get-setf-)0 2069 y(method)14 b Fw(tak)o(es)i(care)g(of)f(error)i +(c)o(hec)o(king)e(and)h(macro)e(expansion)h(and)h(guaran)o(tees)g(to)0 +2121 y(return)f(exactly)f(one)g(store)h(v)n(ariable.)42 +2173 y(As)g(an)g(example,)e(an)i(extremely)g(simpli\014ed)e(v)o(ersion) +i(of)f Fs(setf)p Fw(,)g(allo)o(wing)f(no)i(more)0 2225 +y(and)c(no)g(few)o(er)h(than)f(t)o(w)o(o)f(subforms,)h(con)o(taining)f +(no)g(optimization)f(to)i(remo)o(v)o(e)f(unnec-)0 2277 +y(essary)k(v)n(ariables,)e(and)h(not)g(allo)o(wing)d(storing)j(of)f(m)o +(ultiple)f(v)n(alues,)h(could)h(b)q(e)h(de\014ned)0 2329 +y(b)o(y:)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 153 177 +153 176 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(153)0 295 y Fs(\(defmacro)19 b(setf)i(\(reference)e(value)h +(&environment)f(env\))42 347 y(\(multiple-value-bin)o(d)f(\(vars)j +(vals)f(stores)g(store-form)f(access-form\))127 399 y +(\(get-setf-method)f(reference)h(env\))105 b(;)p Fw(Note)14 +b(use)h(of)e(en)o(vironmen)o(t)85 450 y Fs(\(declare)19 +b(\(ignore)h(access-form\)\))82 506 y Fn(`)106 502 y +Fs(\(let*)g(,\(mapcar)g(#)432 498 y(-)432 506 y(-)m Fn(')474 +502 y Fs(list)423 554 y(\(append)g(vars)g(stores\))423 +606 y(\(append)g(vals)g(\(list)h(value\)\)\))148 658 +y(,store-form\)\)\))-33 674 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 822 a Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(get-setf-method-m)o(ultip)o(le-va)o(lue)18 b Fv(form)-38 +797 y Fk(.)-38 810 y(.)-38 823 y(.)-38 835 y(.)-38 848 +y(.)-38 861 y(.)-38 874 y(.)-38 887 y(.)-38 900 y(.)-38 +913 y(.)-38 926 y(.)-38 939 y(.)-38 952 y(.)-38 965 y(.)-38 +978 y(.)-38 991 y(.)-38 1004 y(.)-38 1017 y(.)-38 1030 +y(.)-38 1043 y(.)-38 1056 y(.)-38 1069 y(.)-38 1082 y(.)-38 +1095 y(.)-38 1108 y(.)-38 1121 y(.)-38 1134 y(.)-38 1147 +y(.)-38 1160 y(.)-38 1173 y(.)-38 1186 y(.)-38 1199 y(.)-38 +1212 y(.)-38 1225 y(.)-38 1238 y(.)-38 1251 y(.)-38 1264 +y(.)-38 1277 y(.)-38 1290 y(.)-38 1302 y(.)-38 1315 y(.)-38 +1328 y(.)-38 1341 y(.)-38 1354 y(.)-38 1367 y(.)-38 1380 +y(.)-38 1393 y(.)-38 1406 y(.)-38 1419 y(.)-38 1432 y(.)-38 +1445 y(.)-38 1458 y(.)-38 1471 y(.)-38 1484 y(.)-38 1497 +y(.)-38 1510 y(.)-38 1523 y(.)-38 1536 y(.)-38 1549 y(.)-38 +1562 y(.)-38 1575 y(.)-38 1588 y(.)-38 1601 y(.)-38 1614 +y(.)-38 1627 y(.)-38 1640 y(.)-38 1653 y(.)-38 1666 y(.)-38 +1679 y(.)-38 1692 y(.)-38 1705 y(.)-38 1718 y(.)-38 1731 +y(.)-38 1744 y(.)-38 1757 y(.)-38 1769 y(.)-38 1782 y(.)-38 +1795 y(.)-38 1808 y(.)-38 1821 y(.)-38 1834 y(.)-38 1847 +y(.)-38 1860 y(.)-38 1873 y(.)-38 1886 y(.)-38 1899 y(.)-38 +1912 y(.)-38 1925 y(.)-38 1938 y(.)-38 1951 y(.)-38 1964 +y(.)-38 1977 y(.)-38 1990 y(.)-38 2003 y(.)-38 2016 y(.)-38 +2029 y(.)-38 2042 y(.)-38 2055 y(.)-38 2068 y(.)-38 2081 +y(.)-38 2094 y(.)-38 2107 y(.)-38 2120 y(.)-38 2133 y(.)-38 +2146 y(.)-38 2159 y(.)-38 2172 y(.)-38 2185 y(.)-38 2198 +y(.)-38 2211 y(.)-38 2224 y(.)-38 2236 y(.)-38 2249 y(.)-38 +2262 y(.)-38 2275 y(.)-38 2288 y(.)-38 2301 y(.)-38 2314 +y(.)-38 2327 y(.)-38 2340 y(.)-38 2353 y(.)-38 2366 y(.)-38 +2379 y(.)-38 2392 y(.)-38 2405 y(.)-38 2418 y(.)-38 2431 +y(.)-38 2444 y(.)-38 2457 y(.)-38 2470 y(.)-38 2483 y(.)-38 +2496 y(.)-38 2509 y(.)-38 2522 y(.)-38 2535 y(.)-38 2548 +y(.)-38 2561 y(.)-38 2574 y(.)-38 2587 y(.)-38 2600 y(.)-38 +2613 y(.)-38 2626 y(.)-38 2639 y(.)-38 2652 y(.)-38 2665 +y(.)-38 2678 y(.)-38 2691 y(.)-38 2703 y(.)-38 2716 y(.)-38 +2729 y(.)-38 2742 y(.)-38 2755 y(.)-38 2768 y(.)-38 2781 +y(.)-38 2794 y(.)-38 2807 y(.)-38 2820 y(.)-38 2833 y(.)-38 +2846 y(.)-38 2859 y(.)-38 2872 y(.)-38 2885 y(.)-38 2898 +y(.)-38 2911 y(.)-38 2924 y(.)-38 2937 y(.)-38 2950 y(.)-38 +2963 y(.)-38 2976 y(.)-38 2989 y(.)-38 3002 y(.)-38 3015 +y(.)-38 3028 y(.)-38 3041 y(.)-38 3054 y(.)-38 3067 y(.)-38 +3080 y(.)-38 3093 y(.)-38 3106 y(.)-38 3119 y(.)-38 3132 +y(.)-38 3145 y(.)-38 3158 y(.)-38 3170 y(.)-38 3183 y(.)-38 +3196 y(.)-38 3209 y(.)-38 3222 y(.)-38 3235 y(.)-38 3248 +y(.)-38 3261 y(.)-38 3274 y(.)-38 3287 y(.)-38 3300 y(.)-38 +3313 y(.)-38 3326 y(.)-38 3339 y(.)-38 3352 y(.)-38 3365 +y(.)-38 3378 y(.)0 899 y Fs(get-setf-method-m)o(ultip)o(le-va)o(lue)10 +b Fw(returns)k(\014v)o(e)f(v)n(alues)g(constituting)g(the)h +Fs(setf)0 951 y Fw(metho)q(d)i(for)h Fv(form)p Fw(.)27 +b(The)17 b Fv(form)g Fw(m)o(ust)f(b)q(e)h(a)g(generalized-v)n(ariable)g +(reference.)30 b(This)0 1003 y(is)17 b(the)g(same)f(as)h +Fs(get-setf-method)d Fw(except)k(that)f(it)g(do)q(es)g(not)g(c)o(hec)o +(k)h(the)f(n)o(um)o(b)q(er)0 1055 y(of)e(store)i(v)n(ariables;)f(use)h +(this)g(in)e(cases)j(that)e(allo)o(w)e(storing)i(m)o(ultiple)e(v)n +(alues)i(in)o(to)f(a)0 1107 y(generalized)g(v)n(ariable.)h(There)f(are) +g(no)e(suc)o(h)i(cases)g(in)e(standard)i(Commo)o(n)c(Lisp,)j(but)0 +1159 y(this)g(function)g(is)f(pro)o(vided)h(to)g(allo)o(w)e(for)i(p)q +(ossible)g(extensions.)-33 1170 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1254 a(X3J13)e(v)o(oted)h(in)f(Marc)o(h)h(1988)f +Ft(h)p Fw(96)p Ft(i)h Fw(to)g(add)f(an)h(optional)e(en)o(vironmen)o(t)h +(argumen)o(t)-33 1226 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1306 a(to)i Fs(get-setf-method)p Fw(.)h(The)f(revised)h +(de\014nition)e(is)h(as)g(follo)o(ws.)1209 1470 y([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(get-setf-method-m)o(ultip)o(le-va)o +(lue)18 b Fv(form)24 b Fs(&optional)19 b Fv(env)0 1547 +y Fs(get-setf-method-m)o(ultip)o(le-va)o(lue)10 b Fw(returns)k(\014v)o +(e)f(v)n(alues)g(constituting)g(the)h Fs(setf)0 1599 +y Fw(metho)q(d)j(for)g Fv(form)p Fw(.)29 b(The)18 b Fv(form)f +Fw(m)o(ust)g(b)q(e)i(a)e(generalized-v)n(ariable)g(reference.)32 +b(The)0 1651 y Fv(env)14 b Fw(m)o(ust)f(b)q(e)i(an)f(en)o(vironmen)o(t) +f(of)g(the)h(sort)h(obtained)f(through)g(the)g Fs(&environment)0 +1703 y Fw(lam)o(b)q(da-list)d(k)o(eyw)o(ord;)j(if)f Fv(env)i +Fw(is)f Fs(nil)f Fw(or)h(omitted,)f(the)h(n)o(ull)g(lexical)f(en)o +(vironmen)o(t)g(is)0 1755 y(assumed.)42 1808 y(This)18 +b(is)g(the)g(same)f(as)i Fs(get-setf-method)c Fw(except)k(that)f(it)g +(do)q(es)h(not)f(c)o(hec)o(k)h(the)0 1859 y(n)o(um)o(b)q(er)13 +b(of)g(store)i(v)n(ariables;)d(use)j(this)e(in)g(cases)i(that)f(allo)o +(w)e(storing)i(m)o(ultiple)d(v)n(alues)0 1911 y(in)o(to)18 +b(a)g(generalized)h(v)n(ariable.)31 b(There)19 b(are)g(no)f(suc)o(h)h +(cases)h(in)e(standard)h(Common)0 1963 y(Lisp,)13 b(but)h(this)g +(function)g(is)g(pro)o(vided)f(to)h(allo)o(w)e(for)i(p)q(ossible)g +(extensions.)-33 1975 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2059 a(X3J13)g(v)o(oted)g(in)g(Marc)o(h)g(1988)g +Ft(h)p Fw(96)p Ft(i)g Fw(to)g(clarify)f(that)i(a)f Fs(setf)f +Fw(metho)q(d)h(for)g(a)g(func-)-33 2031 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2111 a(tional)9 b(name)f(is)i(applicable)f(only)g(when)i +(the)f(global)e(binding)h(of)h(that)g(name)e(is)i(lexically)0 +2163 y(visible.)26 b(If)16 b(suc)o(h)h(a)g(name)e(has)i(a)f(lo)q(cal)g +(binding)f(in)o(tro)q(duced)j(b)o(y)e Fs(flet)p Fw(,)g +Fs(labels)p Fw(,)g(or)0 2215 y Fs(macrolet)p Fw(,)9 b(then)j(global)d +(de\014nitions)i(of)g Fs(setf)f Fw(metho)q(ds)g(for)h(that)g(name)f(do) +h(not)f(apply)0 2267 y(and)k(are)h(not)f(visible.)19 +b(All)13 b(of)h(the)h(standard)g(Common)c(Lisp)j(macros)g(that)g(mo)q +(dify)e(a)0 2318 y Fs(setf)e Fv(plac)n(e)i Fw(\(for)f(example,)f +Fs(incf)p Fw(,)g Fs(decf)p Fw(,)g Fs(pop)p Fw(,)h(and)g +Fs(rotatef)p Fw(\))f(ob)q(ey)h(this)h(con)o(v)o(en)o(tion.)-33 +2330 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 14 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 154 178 +154 177 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(154)77 b(COMMON)13 +b(LISP)0 295 y Fo(7.3.)20 b(F)-5 b(unction)16 b(In)n(v)n(o)r(cation)0 +382 y Fw(The)k(most)f(primitiv)o(e)f(form)g(for)i(function)g(in)o(v)o +(o)q(cation)f(in)g(Lisp)h(of)f(course)j(has)e(no)0 434 +y(name;)11 b(an)o(y)g(list)h(that)g(has)g(no)g(other)g(in)o +(terpretation)h(as)f(a)f(macro)g(call)g(or)h(sp)q(ecial)g(form)0 +486 y(is)h(tak)o(en)g(to)h(b)q(e)f(a)g(function)g(call.)k(Other)e +(constructs)g(are)f(pro)o(vided)f(for)g(less)h(common)0 +538 y(but)g(nev)o(ertheless)i(frequen)o(tly)e(useful)g(situations.)1209 +675 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(apply)20 b +Fv(function)25 b(ar)n(g)g Fs(&rest)20 b Fv(mor)n(e)p +Fs(-)p Fv(ar)n(gs)0 752 y Fw(This)14 b(applies)f Fv(function)i +Fw(to)e(a)h(list)f(of)h(argumen)o(ts.)42 804 y(The)g +Fv(function)g Fw(ma)o(y)e(b)q(e)j(a)e(compiled-co)q(de)g(ob)r(ject,)h +(or)g(a)g(lam)o(b)q(da-expression,)e(or)i(a)-38 779 y +Fk(.)-38 792 y(.)-38 805 y(.)-38 817 y(.)-38 830 y(.)-38 +843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 895 y(.)-38 +908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 960 y(.)-38 +973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 y(.)-38 1025 +y(.)-38 1038 y(.)-38 1051 y(.)-38 1064 y(.)-38 1077 y(.)-38 +1090 y(.)-38 1103 y(.)-38 1116 y(.)-38 1129 y(.)-38 1142 +y(.)-38 1155 y(.)-38 1168 y(.)-38 1181 y(.)-38 1194 y(.)-38 +1207 y(.)-38 1220 y(.)-38 1233 y(.)-38 1246 y(.)-38 1259 +y(.)-38 1272 y(.)-38 1284 y(.)-38 1297 y(.)-38 1310 y(.)-38 +1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 y(.)-38 1375 +y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 1427 y(.)-38 +1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 y(.)-38 1492 +y(.)-38 1505 y(.)-38 1518 y(.)-38 1531 y(.)-38 1544 y(.)-38 +1557 y(.)-38 1570 y(.)-38 1583 y(.)-38 1596 y(.)-38 1609 +y(.)-38 1622 y(.)-38 1635 y(.)-38 1648 y(.)-38 1661 y(.)-38 +1674 y(.)-38 1687 y(.)-38 1700 y(.)-38 1713 y(.)-38 1726 +y(.)-38 1739 y(.)-38 1751 y(.)-38 1764 y(.)-38 1777 y(.)-38 +1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 y(.)-38 1842 +y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 1894 y(.)-38 +1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 y(.)-38 1959 +y(.)-38 1972 y(.)-38 1985 y(.)-38 1998 y(.)-38 2011 y(.)-38 +2024 y(.)-38 2037 y(.)-38 2050 y(.)-38 2063 y(.)-38 2076 +y(.)-38 2089 y(.)-38 2102 y(.)-38 2115 y(.)-38 2128 y(.)-38 +2141 y(.)-38 2154 y(.)-38 2167 y(.)-38 2180 y(.)-38 2193 +y(.)-38 2206 y(.)-38 2218 y(.)-38 2231 y(.)-38 2244 y(.)-38 +2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 y(.)-38 2309 +y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 2361 y(.)-38 +2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 y(.)-38 2426 +y(.)-38 2439 y(.)-38 2452 y(.)-38 2465 y(.)-38 2478 y(.)-38 +2491 y(.)-38 2504 y(.)-38 2517 y(.)-38 2530 y(.)-38 2543 +y(.)-38 2556 y(.)-38 2569 y(.)-38 2582 y(.)-38 2595 y(.)-38 +2608 y(.)-38 2621 y(.)-38 2634 y(.)-38 2647 y(.)-38 2660 +y(.)-38 2673 y(.)-38 2685 y(.)-38 2698 y(.)-38 2711 y(.)-38 +2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 y(.)-38 2776 +y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 2828 y(.)-38 +2841 y(.)-38 2854 y(.)-38 2867 y(.)-38 2880 y(.)-38 2893 +y(.)-38 2906 y(.)-38 2919 y(.)-38 2932 y(.)-38 2945 y(.)-38 +2958 y(.)-38 2971 y(.)-38 2984 y(.)-38 2997 y(.)-38 3010 +y(.)-38 3023 y(.)-38 3036 y(.)-38 3049 y(.)-38 3062 y(.)-38 +3075 y(.)-38 3088 y(.)-38 3101 y(.)-38 3114 y(.)-38 3127 +y(.)-38 3140 y(.)-38 3152 y(.)-38 3165 y(.)-38 3178 y(.)-38 +3191 y(.)-38 3204 y(.)-38 3217 y(.)-38 3230 y(.)-38 3243 +y(.)-38 3256 y(.)-38 3269 y(.)-38 3282 y(.)-38 3295 y(.)-38 +3308 y(.)-38 3321 y(.)-38 3334 y(.)-38 3347 y(.)-38 3360 +y(.)0 855 y Fw(sym)o(b)q(ol;)g(in)h(the)h(latter)g(case)h(the)f(global) +e(functional)g(v)n(alue)h(of)g(that)h(sym)o(b)q(ol)d(is)j(used)0 +907 y(\(but)e(it)g(is)f(illegal)f(for)i(the)g(sym)o(b)q(ol)f(to)g(b)q +(e)i(the)f(name)f(of)g(a)h(macro)e(or)i(sp)q(ecial)g(form\).)-33 +919 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 959 a(X3J13)k(v)o(oted)g(in)g(June)h(1988)e +Ft(h)p Fw(90)p Ft(i)h Fw(to)h(allo)o(w)d(the)j Fv(function)g +Fw(to)f(b)q(e)h(only)e(of)h(t)o(yp)q(e)-33 931 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1011 a Fs(symbol)c Fw(or)h Fs(function)p +Fw(;)e(a)i(lam)o(b)q(da-expression)f(is)h(no)g(longer)g(acceptable)h +(as)f(a)g(func-)0 1063 y(tional)10 b(argumen)o(t.)16 +b(One)11 b(m)o(ust)f(use)i(the)g Fs(function)d Fw(sp)q(ecial)j(form)d +(or)i(the)g(abbreviation)0 1115 y Fs(#)0 1111 y(-)0 1119 +y(-)n Fn(')57 1115 y Fw(b)q(efore)j(a)g(lam)o(b)q(da-expression)f(that) +h(app)q(ears)g(as)g(an)g(explicit)f(argumen)o(t)g(form.)-33 +1127 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1167 a(The)i(argumen)o(ts)g(for)g(the)h +Fv(function)g Fw(consist)g(of)e(the)i(last)f(argumen)o(t)g(to)g +Fs(apply)f Fw(ap-)0 1219 y(p)q(ended)e(to)e(the)g(end)h(of)f(a)g(list)g +(of)f(all)g(the)i(other)g(argumen)o(ts)f(to)g Fs(apply)f +Fw(but)h(the)h Fv(function)0 1271 y Fw(itself;)i(it)h(is)f(as)h(if)f +(all)g(the)i(argumen)o(ts)e(to)h Fs(apply)e Fw(except)k(the)e +Fv(function)h Fw(w)o(ere)f(giv)o(en)g(to)0 1323 y Fs(list*)f +Fw(to)h(create)h(the)f(argumen)o(t)f(list.)18 b(F)m(or)13 +b(example:)0 1410 y Fs(\(setq)20 b(f)171 1414 y Fn(')194 +1410 y Fs(+\))h(\(apply)f(f)452 1414 y Fn(')475 1410 +y Fs(\(1)h(2\)\))f Ft(\))h Fs(3)0 1462 y(\(setq)f(f)h(#)173 +1458 y(-)173 1466 y(-)n Fn(')216 1462 y Fs(-\))g(\(apply)f(f)473 +1466 y Fn(')497 1462 y Fs(\(1)h(2\)\))f Ft(\))h Fs(-1)0 +1514 y(\(apply)f(#)152 1510 y(-)152 1518 y(-)m Fn(')195 +1514 y Fs(max)g(3)h(5)365 1518 y Fn(')389 1514 y Fs(\(2)f(7)h(3\)\))g +Ft(\))f Fs(7)0 1566 y(\(apply)150 1570 y Fn(')173 1566 +y Fs(cons)279 1570 y Fn(')303 1566 y Fs(\(\(+)g(2)h(3\))g(4\)\))f +Ft(\))169 1618 y Fs(\(\(+)h(2)g(3\))g(.)g(4\))f Fv(not)i +Fs(\(5)f(.)g(4\))0 1669 y(\(apply)f(#)152 1665 y(-)152 +1673 y(-)m Fn(')195 1669 y Fs(+)236 1673 y Fn(')259 1669 +y Fs(\(\)\))h Ft(\))f Fs(0)0 1756 y Fw(Note)c(that)g(if)f(the)i +(function)e(tak)o(es)i(k)o(eyw)o(ord)f(argumen)o(ts,)f(the)h(k)o(eyw)o +(ords)g(as)g(w)o(ell)g(as)0 1808 y(the)e(corresp)q(onding)h(v)n(alues)f +(m)o(ust)f(app)q(ear)h(in)g(the)g(argumen)o(t)f(list:)0 +1895 y Fs(\(apply)20 b(#)152 1891 y(-)152 1899 y(-)m +Fn(')195 1895 y Fs(\(lambda)g(\(&key)g(a)h(b\))f(\(list)h(a)g(b\)\))864 +1899 y Fn(')887 1895 y Fs(\(:b)g(3\)\))f Ft(\))h Fs(\(nil)f(3\))0 +1982 y Fw(This)13 b(can)h(b)q(e)g(v)o(ery)g(useful)g(in)f(conjunction)g +(with)g(the)h Fs(&allow-other-keys)c Fw(feature:)0 2069 +y Fs(\(defun)20 b(foo)g(\(size)h(&rest)f(keys)g(&key)g(double)g +(&allow-other-keys\))42 2121 y(\(let)h(\(\(v)f(\(apply)g(#)389 +2117 y(-)389 2125 y(-)n Fn(')432 2121 y Fs(make-array)f(size)i +(:allow-other-ke)o(ys)d(t)j(keys\)\)\))85 2173 y(\(if)f(double)g +(\(concatenate)f(\(type-of)g(v\))i(v)g(v\))g(v\)\)\))0 +2277 y(\(foo)f(4)h(:initial-contents)541 2281 y Fn(')564 +2277 y Fs(\(a)g(b)g(c)g(d\))g(:double)e(t\))64 2329 y +Ft(\))h Fs(#)126 2325 y(-)126 2333 y(-)148 2329 y(\(a)h(b)g(c)g(d)g(a)g +(b)g(c)g(d\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 155 179 +155 178 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(155)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b +Fs(funcall)20 b Fv(fn)k Fs(&rest)c Fv(ar)n(guments)0 +372 y Fs(\(funcall)g Fv(fn)h(a1)g(a2)h Fs(...)f Fv(an)p +Fs(\))f Fw(applies)f(the)h(function)g Fv(fn)g Fw(to)f(the)i(argumen)o +(ts)e Fv(a1)p Fw(,)0 423 y Fv(a2)p Fw(,)d(...,)d Fv(an)p +Fw(.)23 b(The)16 b Fv(fn)f Fw(ma)o(y)f(not)h(b)q(e)h(a)f(sp)q(ecial)h +(form)d(or)j(a)f(macro;)f(this)h(w)o(ould)g(not)g(b)q(e)0 +475 y(meaningful.)42 527 y(X3J13)g(v)o(oted)h(in)f(June)i(1988)e +Ft(h)p Fw(90)p Ft(i)h Fw(to)f(allo)o(w)g(the)h Fv(fn)g +Fw(to)g(b)q(e)g(only)f(of)h(t)o(yp)q(e)g Fs(symbol)-33 +499 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 579 a Fw(or)k Fs(function)p Fw(;)i(a)e(lam)o(b)q +(da-expression)f(is)h(no)h(longer)f(acceptable)h(as)g(a)f(functional)0 +631 y(argumen)o(t.)k(One)17 b(m)o(ust)e(use)j(the)e Fs(function)f +Fw(sp)q(ecial)i(form)d(or)i(the)h(abbreviation)f Fs(#)1352 +627 y(-)1352 635 y(-)m Fn(')0 683 y Fw(b)q(efore)f(a)e(lam)o(b)q +(da-expression)g(that)h(app)q(ears)h(as)f(an)f(explicit)h(argumen)o(t)e +(form.)-33 695 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 735 a(F)m(or)h(example:)0 819 y Fs(\(cons)20 +b(1)h(2\))g Ft(\))g Fs(\(1)f(.)h(2\))0 871 y(\(setq)f(cons)g +(\(symbol-function)606 875 y Fn(')630 871 y Fs(+\)\))0 +923 y(\(funcall)g(cons)g(1)h(2\))g Ft(\))f Fs(3)0 1007 +y Fw(The)g(di\013erence)i(b)q(et)o(w)o(een)f Fs(funcall)d +Fw(and)h(an)h(ordinary)f(function)g(call)g(is)g(that)h(the)0 +1059 y(function)d(is)f(obtained)h(b)o(y)f(ordinary)h(Lisp)f(ev)n +(aluation)g(rather)i(than)e(b)o(y)h(the)g(sp)q(ecial)0 +1111 y(in)o(terpretation)d(of)g(the)g(function)g(p)q(osition)f(that)h +(normally)d(o)q(ccurs.)p 0 1171 V 0 1231 a Fm(Compatibilit)o(y)f(note:) +17 b FA(The)11 b(Common)h(Lisp)h(function)f Fj(funcall)d +FA(corresp)q(onds)k(roughly)h(to)0 1276 y(the)f(In)o(terlisp)i +(primitiv)o(e)g Fj(apply*)p FA(.)p 0 1311 V 1204 1411 +a Fw([)p Fv(Constant)t Fw(])-1395 b Fs(call-arguments-li)o(mit)0 +1488 y Fw(The)17 b(v)n(alue)f(of)g Fs(call-arguments-li)o(mit)d +Fw(is)k(a)f(p)q(ositiv)o(e)g(in)o(teger)h(that)g(is)g(the)g(upp)q(er)0 +1540 y(exclusiv)o(e)10 b(b)q(ound)g(on)g(the)h(n)o(um)o(b)q(er)e(of)g +(argumen)o(ts)g(that)h(ma)o(y)f(b)q(e)h(passed)h(to)f(a)f(function.)0 +1592 y(This)21 b(b)q(ound)f(dep)q(ends)j(on)d(the)h(implemen)o(tation)d +(but)i(will)g(not)g(b)q(e)i(smaller)d(than)0 1644 y(50.)j(\(Implemen)o +(tors)13 b(are)j(encouraged)g(to)g(mak)o(e)d(this)j(limit)c(as)k(large) +f(as)g(practicable)0 1696 y(without)e(sacri\014cing)h(p)q +(erformance.\))k(The)c(v)n(alue)f(of)f Fs(call-arguments-limit)e +Fw(m)o(ust)0 1748 y(b)q(e)h(at)f(least)g(as)g(great)g(as)h(that)f(of)f +Fs(lambda-parameters-l)o(imit)o Fw(.)14 b(See)d(also)f +Fs(multiple-)0 1800 y(values-limit)p Fw(.)0 1943 y Fo(7.4.)20 +b(Simple)13 b(Sequencing)0 2027 y Fw(Eac)o(h)f(of)g(the)h(constructs)h +(in)d(this)i(section)f(simply)e(ev)n(aluates)j(all)d(the)j(argumen)o(t) +e(forms)0 2078 y(in)i(order.)19 b(They)14 b(di\013er)h(only)e(in)g +(what)h(results)h(are)f(returned.)1145 2200 y([)p Fv(Sp)n(e)n(cial)h +(form)s Fw(])-1396 b Fs(progn)41 b Ft(f)7 b Fv(form)p +Ft(g)286 2185 y Fl(\003)0 2277 y Fw(The)k Fs(progn)e +Fw(construct)k(tak)o(es)d(a)h(n)o(um)o(b)q(er)e(of)h(forms)g(and)g(ev)n +(aluates)g(them)g(sequen)o(tially)m(,)0 2329 y(in)20 +b(order,)h(from)e(left)h(to)g(righ)o(t.)36 b(The)20 b(v)n(alues)g(of)f +(all)g(the)i(forms)e(but)h(the)g(last)g(are)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 156 180 +156 179 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(156)77 b(COMMON)13 +b(LISP)0 295 y Fw(discarded;)24 b(whatev)o(er)c(the)h(last)f(form)e +(returns)k(is)e(returned)i(b)o(y)d(the)i Fs(progn)e Fw(form.)0 +347 y(One)i(sa)o(ys)f(that)g(all)f(the)h(forms)f(but)h(the)h(last)f +(are)g(ev)n(aluated)g(for)g Fv(e\013e)n(ct)p Fw(,)h(b)q(ecause)0 +399 y(their)15 b(execution)h(is)f(useful)g(only)f(for)h(the)h(side)f +(e\013ects)i(caused,)f(but)f(the)h(last)f(form)e(is)0 +450 y(executed)j(for)d Fv(value)p Fw(.)42 503 y Fs(progn)18 +b Fw(is)i(the)g(primitiv)o(e)d(con)o(trol)j(structure)h(construct)h +(for)d(\\comp)q(ound)f(state-)0 555 y(men)o(ts,")e(suc)o(h)h(as)g +Fz(b)q(egin)p Fw(-)p Fz(end)c Fw(blo)q(c)o(ks)k(in)f(Algol-lik)o(e)e +(languages.)25 b(Man)o(y)16 b(Lisp)h(con-)0 607 y(structs)f(are)f +(\\implicit)c Fs(progn)p Fw(")i(forms:)k(as)e(part)f(of)g(their)h(syn)o +(tax)f(eac)o(h)h(allo)o(ws)e(man)o(y)0 659 y(forms)8 +b(to)i(b)q(e)g(written)h(that)f(are)g(to)f(b)q(e)i(ev)n(aluated)e +(sequen)o(tially)m(,)h(discarding)f(the)i(results)0 710 +y(of)i(all)g(forms)f(but)j(the)f(last)g(and)f(returning)i(the)f +(results)h(of)f(the)g(last)g(form.)42 763 y(If)h(the)i(last)f(form)f +(of)g(the)i Fs(progn)e Fw(returns)j(m)o(ultiple)c(v)n(alues,)i(then)h +(those)g(m)o(ultiple)0 815 y(v)n(alues)e(are)h(returned)h(b)o(y)e(the)h +Fs(progn)e Fw(form.)20 b(If)15 b(there)i(are)e(no)h(forms)d(for)i(the)h +Fs(progn)p Fw(,)0 867 y(then)e(the)h(result)f(is)g Fs(nil)p +Fw(.)j(These)e(rules)f(generally)f(hold)g(for)h(implicit)d +Fs(progn)h Fw(forms)h(as)0 919 y(w)o(ell.)1255 1073 y([)p +Fv(Macr)n(o)s Fw(])-1396 b Fs(prog1)34 b Fv(\014rst)21 +b Ft(f)7 b Fv(form)p Ft(g)372 1058 y Fl(\003)0 1150 y +Fs(prog1)15 b Fw(is)h(similar)e(to)i Fs(progn)p Fw(,)f(but)h(it)g +(returns)h(the)g(v)n(alue)f(of)f(its)h Fv(\014rst)g Fw(form.)23 +b(All)15 b(the)0 1202 y(argumen)o(t)d(forms)g(are)i(executed)h(sequen)o +(tially;)e(the)g(v)n(alue)g(of)g(the)h(\014rst)g(form)d(is)j(sa)o(v)o +(ed)0 1254 y(while)f(all)g(the)i(others)f(are)h(executed)h(and)d(is)h +(then)h(returned.)42 1306 y Fs(prog1)g Fw(is)i(most)e(commonly)f(used)j +(to)g(ev)n(aluate)g(an)f(expression)i(with)f(side)g(e\013ects)0 +1358 y(and)e(to)f(return)i(a)e(v)n(alue)g(that)h(m)o(ust)f(b)q(e)h +(computed)f Fv(b)n(efor)n(e)h Fw(the)g(side)g(e\013ects)i(happ)q(en.)0 +1410 y(F)m(or)c(example:)0 1501 y Fs(\(prog1)20 b(\(car)g(x\))h +(\(rplaca)f(x)539 1505 y Fn(')563 1501 y Fs(foo\)\))0 +1591 y Fw(alters)14 b(the)h Fv(c)n(ar)e Fw(of)h Fs(x)f +Fw(to)h(b)q(e)h Fs(foo)e Fw(and)g(returns)j(the)e(old)g +Fv(c)n(ar)f Fw(of)g Fs(x)p Fw(.)42 1643 y Fs(prog1)i +Fw(alw)o(a)o(ys)h(returns)j(a)e(single)f(v)n(alue,)h(ev)o(en)g(if)g +(the)g(\014rst)h(form)d(tries)j(to)f(return)0 1695 y(m)o(ultiple)e(v)n +(alues.)29 b(As)18 b(a)g(consequence,)i Fs(\(prog1)g +Fv(x)p Fs(\))e Fw(and)f Fs(\(progn)j Fv(x)p Fs(\))e Fw(ma)o(y)d(b)q +(eha)o(v)o(e)0 1747 y(di\013eren)o(tly)h(if)e Fv(x)i +Fw(can)f(pro)q(duce)i(m)o(ultiple)c(v)n(alues.)22 b(See)16 +b Fs(multiple-value-prog)o(1)p Fw(.)k(A)0 1799 y(p)q(oin)o(t)14 +b(of)h(st)o(yle:)20 b(although)14 b Fs(prog1)f Fw(can)i(b)q(e)h(used)g +(to)e(force)i(exactly)f(a)f(single)h(v)n(alue)f(to)0 +1851 y(b)q(e)h(returned,)g(it)e(is)h(con)o(v)o(en)o(tional)f(to)g(use)i +(the)g(function)e Fs(values)g Fw(for)g(this)h(purp)q(ose.)1255 +2005 y([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(prog2)34 b Fv(\014rst)14 +b(se)n(c)n(ond)23 b Ft(f)7 b Fv(form)p Ft(g)504 1990 +y Fl(\003)0 2082 y Fs(prog2)17 b Fw(is)h(similar)d(to)j +Fs(prog1)p Fw(,)f(but)h(it)g(returns)h(the)f(v)n(alue)g(of)f(its)h +Fv(se)n(c)n(ond)g Fw(form.)29 b(All)0 2134 y(the)13 b(argumen)o(t)f +(forms)f(are)i(executed)i(sequen)o(tially;)d(the)h(v)n(alue)f(of)g(the) +h(second)h(form)d(is)0 2186 y(sa)o(v)o(ed)16 b(while)f(all)g(the)h +(other)h(forms)d(are)i(executed)i(and)e(is)f(then)i(returned.)25 +b Fs(prog2)15 b Fw(is)0 2238 y(pro)o(vided)f(mostly)e(for)h(historical) +h(compatibilit)o(y)l(.)0 2329 y Fs(\(prog2)20 b Fv(a)h(b)h(c)f +Fs(...)f Fv(z)p Fs(\))h Ft(\021)h Fs(\(progn)e Fv(a)h +Fs(\(prog1)f Fv(b)h(c)h Fs(...)e Fv(z)p Fs(\)\))-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 157 181 +157 180 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(157)0 295 y Fw(Occasionally)12 b(it)h(is)g(desirable)h(to)e(p)q +(erform)h(one)g(side)g(e\013ect,)i(then)f(a)e(v)n(alue-pro)q(ducing)0 +347 y(op)q(eration,)17 b(then)h(another)f(side)h(e\013ect.)29 +b(In)17 b(suc)o(h)g(a)g(p)q(eculiar)g(case,)h Fs(prog2)e +Fw(is)h(fairly)0 399 y(p)q(erspicuous.)j(F)m(or)13 b(example:)0 +491 y Fs(\(prog2)20 b(\(open-a-file\))e(\(process-the-file\))g +(\(close-the-file\)\))738 543 y(;)p Fw(v)n(alue)13 b(is)h(that)g(of)f +Fs(process-the-file)42 634 y(prog2)p Fw(,)j(lik)o(e)g +Fs(prog1)p Fw(,)h(alw)o(a)o(ys)f(returns)i(a)f(single)g(v)n(alue,)g(ev) +o(en)g(if)g(the)g(second)h(form)0 686 y(tries)f(to)g(return)h(m)o +(ultiple)c(v)n(alues.)26 b(As)17 b(a)g(consequence)i(of)d(this,)h +Fs(\(prog2)j Fv(x)h(y)p Fs(\))c Fw(and)0 738 y Fs(\(progn)j +Fv(x)h(y)p Fs(\))14 b Fw(ma)o(y)e(b)q(eha)o(v)o(e)i(di\013eren)o(tly)h +(if)e Fv(y)h Fw(can)g(pro)q(duce)h(m)o(ultiple)d(v)n(alues.)0 +916 y Fo(7.5.)20 b(Establishing)14 b(New)h(V)-5 b(ariable)15 +b(Bindings)0 1011 y Fw(During)d(the)i(in)o(v)o(o)q(cation)e(of)g(a)g +(function)h(represen)o(ted)j(b)o(y)d(a)f(lam)o(b)q(da-expression)g +(\(or)h(a)0 1062 y(closure)i(of)e(a)h(lam)o(b)q(da-expression,)f(as)h +(pro)q(duced)h(b)o(y)f Fs(function)p Fw(\),)e(new)j(bindings)e(are)0 +1114 y(established)e(for)f(the)h(v)n(ariables)f(that)g(are)h(the)g +(parameters)g(of)e(the)i(lam)o(b)q(da-expression.)0 1166 +y(These)22 b(bindings)e(initially)e(ha)o(v)o(e)j(v)n(alues)f +(determined)h(b)o(y)g(the)g(parameter-binding)0 1218 +y(proto)q(col)14 b(discussed)h(in)f(section)g(5.2.2.)42 +1271 y(The)d(follo)o(wing)d(constructs)k(ma)o(y)d(also)h(b)q(e)h(used)h +(to)e(establish)h(bindings)f(of)g(v)n(ariables,)0 1323 +y(b)q(oth)k(ordinary)f(and)h(functional.)1145 1484 y([)p +Fv(Sp)n(e)n(cial)h(form)s Fw(])-1396 b Fs(let)34 b(\()7 +b Ft(f)p Fv(var)15 b Ft(j)f Fs(\()p Fv(var)g(value)p +Fs(\))p Ft(g)478 1469 y Fl(\003)504 1484 y Fs(\))22 b +Ft(f)p Fv(de)n(clar)n(ation)p Ft(g)787 1469 y Fl(\003)834 +1484 y Ft(f)7 b Fv(form)p Ft(g)969 1469 y Fl(\003)0 1561 +y Fw(A)15 b Fs(let)g Fw(form)e(can)i(b)q(e)h(used)g(to)f(execute)i(a)e +(series)i(of)d(forms)g(with)h(sp)q(eci\014ed)h(v)n(ariables)0 +1613 y(b)q(ound)e(to)g(sp)q(eci\014ed)h(v)n(alues.)42 +1666 y(More)f(precisely)m(,)g(the)g(form)0 1758 y Fs(\(let)20 +b(\(\()p Fv(var1)h(value1)p Fs(\))127 1810 y(\()p Fv(var2)g(value2)p +Fs(\))127 1862 y(...)127 1914 y(\()p Fv(varm)g(valuem)p +Fs(\)\))42 1966 y Fv(de)n(clar)n(ation1)42 2017 y(de)n(clar)n(ation2)42 +2069 y Fs(...)42 2121 y Fv(de)n(clar)n(ationp)42 2173 +y(b)n(o)n(dy1)42 2225 y(b)n(o)n(dy2)42 2277 y Fs(...)42 +2329 y Fv(b)n(o)n(dyn)p Fs(\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 158 182 +158 181 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(158)77 b(COMMON)13 +b(LISP)0 295 y Fw(\014rst)h(ev)n(aluates)f(the)h(expressions)h +Fv(value1)p Fw(,)e Fv(value2)p Fw(,)g(and)g(so)g(on,)g(in)g(that)g +(order,)h(sa)o(ving)0 347 y(the)k(resulting)f(v)n(alues.)27 +b(Then)18 b(all)e(of)g(the)i(v)n(ariables)e Fv(varj)h +Fw(are)g(b)q(ound)g(to)g(the)h(corre-)0 399 y(sp)q(onding)12 +b(v)n(alues)g(in)g(parallel;)f(eac)o(h)i(binding)e(will)g(b)q(e)i(a)f +(lexical)f(binding)g(unless)i(there)0 450 y(is)f(a)f +Fs(special)f Fw(declaration)i(to)g(the)g(con)o(trary)m(.)17 +b(The)12 b(expressions)i Fv(b)n(o)n(dyk)e Fw(are)g(then)h(ev)n(al-)0 +502 y(uated)i(in)f(order;)h(the)g(v)n(alues)f(of)g(all)f(but)i(the)g +(last)f(are)h(discarded)g(\(that)g(is,)f(the)h(b)q(o)q(dy)0 +554 y(of)g(a)h Fs(let)g Fw(form)e(is)i(an)g(implicit)d +Fs(progn)p Fw(\).)24 b(The)17 b Fs(let)e Fw(form)f(returns)k(what)e(ev) +n(aluating)0 606 y Fv(b)n(o)n(dyn)e Fw(pro)q(duces)h(\(if)e(the)h(b)q +(o)q(dy)g(is)f(empt)o(y)m(,)f(whic)o(h)h(is)h(fairly)e(useless,)i +Fs(let)f Fw(returns)i Fs(nil)0 658 y Fw(as)g(its)h(v)n(alue\).)21 +b(The)16 b(bindings)e(of)h(the)h(v)n(ariables)e(ha)o(v)o(e)i(lexical)e +(scop)q(e)i(and)f(inde\014nite)0 710 y(exten)o(t.)42 +762 y(Instead)f(of)e(a)h(list)g Fs(\()p Fv(varj)21 b(valuej)p +Fs(\))p Fw(,)12 b(one)i(ma)o(y)d(write)j(simply)d Fv(varj)p +Fw(.)17 b(In)d(this)f(case)h Fv(varj)0 814 y Fw(is)k(initialized)e(to)i +Fs(nil)p Fw(.)29 b(As)18 b(a)g(matter)f(of)g(st)o(yle,)i(it)e(is)h +(recommended)f(that)h Fv(varj)f Fw(b)q(e)0 866 y(written)e(only)g(when) +g(that)g(v)n(ariable)f(will)f(b)q(e)j(stored)g(in)o(to)e(\(suc)o(h)i +(as)f(b)o(y)g Fs(setq)p Fw(\))f(b)q(efore)0 917 y(its)g(\014rst)h(use.) +20 b(If)14 b(it)g(is)g(imp)q(ortan)o(t)f(that)h(the)h(initial)d(v)n +(alue)i(b)q(e)h Fs(nil)e Fw(rather)i(than)g(some)0 969 +y(unde\014ned)h(v)n(alue,)d(then)i(it)f(is)g(clearer)i(to)e(write)h +(out)f Fs(\()p Fv(varj)21 b Fs(nil\))13 b Fw(if)h(the)h(initial)d(v)n +(alue)0 1021 y(is)k(in)o(tended)g(to)g(mean)e(\\false,")i(or)f +Fs(\()p Fv(varj)694 1025 y Fn(')717 1021 y Fs(\(\)\))g +Fw(if)g(the)i(initial)d(v)n(alue)h(is)g(in)o(tended)i(to)0 +1073 y(b)q(e)e(an)e(empt)o(y)g(list.)18 b(Note)c(that)g(the)g(co)q(de)0 +1155 y Fs(\(let)20 b(\(x\))42 1207 y(\(declare)g(\(integer)f(x\)\))42 +1259 y(\(setq)h(x)h(\(gcd)g(y)g(z\)\))42 1310 y(...\))0 +1392 y Fw(is)16 b(incorrect;)j(although)c Fs(x)h Fw(is)g(indeed)h(set)h +(b)q(efore)f(it)f(is)g(used,)h(and)g(is)f(set)h(to)f(a)g(v)n(alue)0 +1444 y(of)e(the)g(declared)h(t)o(yp)q(e)g Fs(integer)p +Fw(,)d(nev)o(ertheless)17 b Fs(x)d Fw(momen)o(taril)o(y)d(tak)o(es)k +(on)f(the)g(v)n(alue)0 1496 y Fs(nil)f Fw(in)h(violation)d(of)j(the)g +(t)o(yp)q(e)h(declaration.)42 1548 y(Declarations)21 +b(ma)o(y)f(app)q(ear)j(at)e(the)i(b)q(eginning)e(of)h(the)g(b)q(o)q(dy) +g(of)g(a)f Fs(let)p Fw(.)42 b(See)0 1600 y Fs(declare)p +Fw(.)42 1652 y(See)14 b(also)g Fs(destructuring-b)o(ind)p +Fw(.)-33 1623 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1703 a(X3J13)i(v)o(oted)i(in)e(Jan)o(uary)h(1989)f +Ft(h)p Fw(182)p Ft(i)h Fw(to)g(regularize)h(the)f(binding)f(formats)g +(for)-33 1675 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1755 a Fs(do)p Fw(,)k Fs(do*)p Fw(,)h +Fs(let)p Fw(,)f Fs(let*)p Fw(,)g Fs(prog)p Fw(,)g Fs(prog*)p +Fw(,)g(and)f Fs(compiler-let)p Fw(.)34 b(The)20 b(new)g(syn)o(tactic)0 +1807 y(de\014nition)13 b(for)h Fs(let)f Fw(mak)o(es)g(the)i +Fv(value)f Fw(optional:)-33 1885 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 1913 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(let)34 b(\()7 b Ft(f)p Fv(var)15 b Ft(j)f Fs(\()p +Fv(var)21 b Fw([)p Fv(value)p Fw(])7 b Fs(\))p Ft(g)516 +1898 y Fl(\003)541 1913 y Fs(\))22 b Ft(f)p Fv(de)n(clar)n(ation)p +Ft(g)824 1898 y Fl(\003)871 1913 y Ft(f)7 b Fv(form)p +Ft(g)1006 1898 y Fl(\003)0 1990 y Fw(This)12 b(c)o(hanges)h +Fs(let)f Fw(to)g(allo)o(w)f(a)h(list)g Fs(\()p Fv(var)p +Fs(\))g Fw(to)g(app)q(ear,)g(meaning)f(the)i(same)e(as)i(simply)0 +2042 y Fv(var)p Fw(.)-33 2054 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1145 2148 a([)p Fv(Sp)n(e)n(cial)i(form)s +Fw(])-1396 b Fs(let*)34 b(\()7 b Ft(f)p Fv(var)14 b Ft(j)h +Fs(\()p Fv(var)f(value)p Fs(\))p Ft(g)500 2133 y Fl(\003)526 +2148 y Fs(\))22 b Ft(f)p Fv(de)n(clar)n(ation)p Ft(g)809 +2133 y Fl(\003)856 2148 y Ft(f)6 b Fv(form)p Ft(g)990 +2133 y Fl(\003)0 2225 y Fs(let*)k Fw(is)g(similar)e(to)i +Fs(let)p Fw(,)g(but)h(the)g(bindings)f(of)g(v)n(ariables)f(are)i(p)q +(erformed)f(sequen)o(tially)0 2277 y(rather)15 b(than)f(in)g(parallel.) +k(This)c(allo)o(ws)f(the)i(expression)g(for)f(the)h(v)n(alue)e(of)h(a)g +(v)n(ariable)0 2329 y(to)g(refer)h(to)e(v)n(ariables)h(previously)f(b)q +(ound)h(in)g(the)g Fs(let*)f Fw(form.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 159 183 +159 182 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(159)42 295 y Fw(More)14 b(precisely)m(,)g(the)g(form)0 +394 y Fs(\(let*)20 b(\(\()p Fv(var1)h(value1)p Fs(\))148 +446 y(\()p Fv(var2)g(value2)p Fs(\))148 498 y(...)148 +550 y(\()p Fv(varm)g(valuem)p Fs(\)\))42 602 y Fv(de)n(clar)n(ation1)42 +654 y(de)n(clar)n(ation2)42 706 y Fs(...)42 757 y Fv(de)n(clar)n +(ationp)42 809 y(b)n(o)n(dy1)42 861 y(b)n(o)n(dy2)42 +913 y Fs(...)42 965 y Fv(b)n(o)n(dyn)p Fs(\))0 1063 y +Fw(\014rst)g(ev)n(aluates)f(the)g(expression)h Fv(value1)p +Fw(,)g(then)g(binds)f(the)g(v)n(ariable)f Fv(var1)h Fw(to)g(that)0 +1115 y(v)n(alue;)d(then)h(it)e(ev)n(aluates)h Fv(value2)g +Fw(and)g(binds)g Fv(var2)p Fw(;)h(and)e(so)h(on.)27 b(The)17 +b(expressions)0 1167 y Fv(b)n(o)n(dyj)d Fw(are)h(then)g(ev)n(aluated)f +(in)g(order;)h(the)g(v)n(alues)f(of)f(all)h(but)g(the)h(last)f(are)h +(discarded)0 1219 y(\(that)c(is,)g(the)g(b)q(o)q(dy)g(of)g(a)f +Fs(let*)g Fw(form)f(is)i(an)g(implicit)d Fs(progn)p Fw(\).)16 +b(The)11 b Fs(let*)f Fw(form)f(returns)0 1271 y(the)16 +b(results)h(of)e(ev)n(aluating)f Fv(b)n(o)n(dyn)i Fw(\(if)f(the)h(b)q +(o)q(dy)f(is)h(empt)o(y)m(,)e(whic)o(h)h(is)h(fairly)e(useless,)0 +1323 y Fs(let*)k Fw(returns)j Fs(nil)d Fw(as)h(its)g(v)n(alue\).)32 +b(The)20 b(bindings)e(of)g(the)i(v)n(ariables)e(ha)o(v)o(e)h(lexical)0 +1374 y(scop)q(e)c(and)f(inde\014nite)g(exten)o(t.)42 +1428 y(Instead)g(of)e(a)h(list)g Fs(\()p Fv(varj)21 b(valuej)p +Fs(\))p Fw(,)12 b(one)i(ma)o(y)d(write)j(simply)d Fv(varj)p +Fw(.)17 b(In)d(this)f(case)h Fv(varj)0 1480 y Fw(is)k(initialized)e(to) +i Fs(nil)p Fw(.)29 b(As)18 b(a)g(matter)f(of)g(st)o(yle,)i(it)e(is)h +(recommended)f(that)h Fv(varj)f Fw(b)q(e)0 1532 y(written)e(only)g +(when)g(that)g(v)n(ariable)f(will)f(b)q(e)j(stored)g(in)o(to)e(\(suc)o +(h)i(as)f(b)o(y)g Fs(setq)p Fw(\))f(b)q(efore)0 1583 +y(its)g(\014rst)h(use.)20 b(If)14 b(it)g(is)g(imp)q(ortan)o(t)f(that)h +(the)h(initial)d(v)n(alue)i(b)q(e)h Fs(nil)e Fw(rather)i(than)g(some)0 +1635 y(unde\014ned)h(v)n(alue,)d(then)i(it)f(is)g(clearer)i(to)e(write) +h(out)f Fs(\()p Fv(varj)21 b Fs(nil\))13 b Fw(if)h(the)h(initial)d(v)n +(alue)0 1687 y(is)k(in)o(tended)g(to)g(mean)e(\\false,")i(or)f +Fs(\()p Fv(varj)694 1691 y Fn(')717 1687 y Fs(\(\)\))g +Fw(if)g(the)i(initial)d(v)n(alue)h(is)g(in)o(tended)i(to)0 +1739 y(b)q(e)e(an)e(empt)o(y)g(list.)42 1792 y(Declarations)20 +b(ma)o(y)e(app)q(ear)j(at)f(the)h(b)q(eginning)f(of)g(the)h(b)q(o)q(dy) +f(of)g(a)g Fs(let*)p Fw(.)37 b(See)0 1844 y Fs(declare)p +Fw(.)42 1898 y(X3J13)16 b(v)o(oted)i(in)e(Jan)o(uary)h(1989)f +Ft(h)p Fw(182)p Ft(i)h Fw(to)g(regularize)h(the)f(binding)f(formats)g +(for)-33 1869 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1950 a Fs(do)p Fw(,)k Fs(do*)p Fw(,)h +Fs(let)p Fw(,)f Fs(let*)p Fw(,)g Fs(prog)p Fw(,)g Fs(prog*)p +Fw(,)g(and)f Fs(compiler-let)p Fw(.)34 b(The)20 b(new)g(syn)o(tactic)0 +2001 y(de\014nition)13 b(for)h Fs(let*)f Fw(mak)o(es)g(the)h +Fv(value)g Fw(optional:)-33 2170 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 2199 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(let*)34 b(\()7 b Ft(f)p Fv(var)14 b Ft(j)h Fs(\()p +Fv(var)21 b Fw([)p Fv(value)p Fw(])7 b Fs(\))p Ft(g)538 +2184 y Fl(\003)563 2199 y Fs(\))21 b Ft(f)p Fv(de)n(clar)n(ation)p +Ft(g)845 2184 y Fl(\003)893 2199 y Ft(f)6 b Fv(form)p +Ft(g)1027 2184 y Fl(\003)0 2277 y Fw(This)11 b(c)o(hanges)g +Fs(let*)f Fw(to)h(allo)o(w)e(a)h(list)h Fs(\()p Fv(var)p +Fs(\))f Fw(to)g(app)q(ear,)i(meaning)d(the)i(same)f(as)h(simply)0 +2329 y Fv(var)p Fw(.)-33 2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 160 184 +160 183 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(160)77 b(COMMON)13 b(LISP)-38 270 y Fk(.)-38 +283 y(.)-38 296 y(.)-38 309 y(.)-38 322 y(.)-38 335 y(.)-38 +348 y(.)-38 361 y(.)-38 373 y(.)-38 386 y(.)-38 399 y(.)-38 +412 y(.)-38 425 y(.)-38 438 y(.)-38 451 y(.)-38 464 y(.)-38 +477 y(.)-38 490 y(.)-38 503 y(.)-38 516 y(.)-38 529 y(.)-38 +542 y(.)-38 555 y(.)-38 568 y(.)-38 581 y(.)-38 594 y(.)-38 +607 y(.)-38 620 y(.)-38 633 y(.)-38 646 y(.)-38 659 y(.)-38 +672 y(.)-38 685 y(.)-38 698 y(.)-38 711 y(.)-38 724 y(.)-38 +737 y(.)-38 750 y(.)-38 763 y(.)-38 776 y(.)-38 789 y(.)-38 +802 y(.)-38 815 y(.)-38 828 y(.)-38 840 y(.)-38 853 y(.)-38 +866 y(.)-38 879 y(.)-38 892 y(.)-38 905 y(.)-38 918 y(.)-38 +931 y(.)-38 944 y(.)-38 957 y(.)-38 970 y(.)-38 983 y(.)-38 +996 y(.)-38 1009 y(.)-38 1022 y(.)-38 1035 y(.)-38 1048 +y(.)-38 1061 y(.)-38 1074 y(.)-38 1087 y(.)-38 1100 y(.)-38 +1113 y(.)-38 1126 y(.)-38 1139 y(.)-38 1152 y(.)-38 1165 +y(.)-38 1178 y(.)-38 1191 y(.)-38 1204 y(.)-38 1217 y(.)-38 +1230 y(.)-38 1243 y(.)-38 1256 y(.)-38 1269 y(.)-38 1282 +y(.)-38 1295 y(.)-38 1307 y(.)-38 1320 y(.)-38 1333 y(.)-38 +1346 y(.)-38 1359 y(.)-38 1372 y(.)-38 1385 y(.)-38 1398 +y(.)-38 1411 y(.)-38 1424 y(.)-38 1437 y(.)-38 1450 y(.)-38 +1463 y(.)-38 1476 y(.)-38 1489 y(.)-38 1502 y(.)-38 1515 +y(.)-38 1528 y(.)-38 1541 y(.)-38 1554 y(.)-38 1567 y(.)-38 +1580 y(.)-38 1593 y(.)-38 1606 y(.)-38 1619 y(.)-38 1632 +y(.)-38 1645 y(.)-38 1658 y(.)-38 1671 y(.)-38 1684 y(.)-38 +1697 y(.)-38 1710 y(.)-38 1723 y(.)-38 1736 y(.)-38 1749 +y(.)-38 1762 y(.)-38 1774 y(.)-38 1787 y(.)-38 1800 y(.)-38 +1813 y(.)-38 1826 y(.)-38 1839 y(.)-38 1852 y(.)-38 1865 +y(.)-38 1878 y(.)-38 1891 y(.)-38 1904 y(.)-38 1917 y(.)-38 +1930 y(.)-38 1943 y(.)-38 1956 y(.)-38 1969 y(.)-38 1982 +y(.)-38 1995 y(.)-38 2008 y(.)-38 2021 y(.)-38 2034 y(.)-38 +2047 y(.)-38 2060 y(.)-38 2073 y(.)-38 2086 y(.)-38 2099 +y(.)-38 2112 y(.)-38 2125 y(.)-38 2138 y(.)-38 2151 y(.)-38 +2164 y(.)-38 2177 y(.)-38 2190 y(.)-38 2203 y(.)-38 2216 +y(.)-38 2229 y(.)-38 2241 y(.)-38 2254 y(.)-38 2267 y(.)-38 +2280 y(.)-38 2293 y(.)-38 2306 y(.)-38 2319 y(.)-38 2332 +y(.)-38 2345 y(.)-38 2358 y(.)-38 2371 y(.)-38 2384 y(.)-38 +2397 y(.)-38 2410 y(.)-38 2423 y(.)-38 2436 y(.)-38 2449 +y(.)-38 2462 y(.)-38 2475 y(.)-38 2488 y(.)-38 2501 y(.)-38 +2514 y(.)-38 2527 y(.)-38 2540 y(.)-38 2553 y(.)-38 2566 +y(.)-38 2579 y(.)-38 2592 y(.)-38 2605 y(.)-38 2618 y(.)-38 +2631 y(.)-38 2644 y(.)-38 2657 y(.)-38 2670 y(.)-38 2683 +y(.)-38 2696 y(.)-38 2708 y(.)-38 2721 y(.)-38 2734 y(.)-38 +2747 y(.)-38 2760 y(.)-38 2773 y(.)-38 2786 y(.)-38 2799 +y(.)-38 2812 y(.)-38 2825 y(.)-38 2838 y(.)-38 2851 y(.)1145 +295 y Fw([)p Fv(Sp)n(e)n(cial)i(form)s Fw(])-1396 b Fs(compiler-let)33 +b(\()7 b Ft(f)p Fv(var)14 b Ft(j)g Fs(\()p Fv(var)h(value)p +Fs(\))p Ft(g)675 280 y Fl(\003)700 295 y Fs(\))22 b Ft(f)7 +b Fv(form)p Ft(g)879 280 y Fl(\003)0 372 y Fw(When)17 +b(executed)i(b)o(y)e(the)g(Lisp)g(in)o(terpreter,)i Fs(compiler-let)c +Fw(b)q(eha)o(v)o(es)i(exactly)h(lik)o(e)0 424 y Fs(let)g +Fw(with)h(all)e(the)j(v)n(ariable)d(bindings)h(implicitly)e(declared)k +Fs(special)p Fw(.)31 b(When)19 b(the)0 475 y(compiler)14 +b(pro)q(cesses)k(this)d(form,)f(ho)o(w)o(ev)o(er,)h(no)g(co)q(de)h(is)f +(compiled)f(for)h(the)h(bindings;)0 527 y(instead,)e(the)h(pro)q +(cessing)g(of)e(the)i(b)q(o)q(dy)f(b)o(y)g(the)g(compiler)f +(\(including,)g(in)g(particular,)0 579 y(the)k(expansion)g(of)f(an)o(y) +h(macro)e(calls)i(within)f(the)h(b)q(o)q(dy\))g(is)g(done)g(with)f(the) +h(sp)q(ecial)0 631 y(v)n(ariables)e(b)q(ound)h(to)f(the)h(indicated)g +(v)n(alues)f Fv(in)h(the)h(exe)n(cution)g(c)n(ontext)g(of)f(the)h(c)n +(om-)0 683 y(piler)p Fw(.)g(This)12 b(is)h(primarily)d(useful)j(for)g +(comm)o(uni)o(cation)d(among)h(complicated)g(macros.)42 +735 y(Declarations)i(ma)o(y)f Fv(not)i Fw(app)q(ear)h(at)e(the)i(b)q +(eginning)e(of)g(the)i(b)q(o)q(dy)f(of)f(a)h Fs(compiler-)0 +787 y(let)p Fw(.)p 0 847 V 0 907 a Fm(Rationale:)23 b +FA(Because)16 b(of)g(the)g(unortho)q(do)o(x)h(handling)i(b)o(y)d +Fj(compiler-)o(let)c FA(of)j(its)h(v)n(ariable)0 953 +y(bindings,)f(it)e(w)o(ould)g(b)q(e)f(complicated)j(and)e(confusing)h +(to)e(p)q(ermit)h(declarations)i(that)e(appar-)0 998 +y(en)o(tly)18 b(referred)f(to)g(the)g(v)n(ariables)i(b)q(ound)f(b)o(y)g +Fj(compiler-)o(le)o(t)p FA(.)25 b(Disallo)o(wi)q(ng)20 +b(declarations)0 1044 y(eliminates)c(the)d(problem.)p +0 1079 V 42 1157 a Fw(X3J13)j(v)o(oted)i(in)e(Jan)o(uary)h(1989)f +Ft(h)p Fw(182)p Ft(i)h Fw(to)g(regularize)h(the)f(binding)f(formats)g +(for)0 1209 y Fs(do)p Fw(,)k Fs(do*)p Fw(,)h Fs(let)p +Fw(,)f Fs(let*)p Fw(,)g Fs(prog)p Fw(,)g Fs(prog*)p Fw(,)g(and)f +Fs(compiler-let)p Fw(.)34 b(The)20 b(new)g(syn)o(tactic)0 +1261 y(de\014nition)13 b(for)h Fs(compiler-let)d Fw(mak)o(es)i(the)i +Fv(value)f Fw(optional:)-38 1368 y Fk(.)-38 1381 y(.)-38 +1394 y(.)-38 1407 y(.)-38 1420 y(.)-38 1433 y(.)-38 1446 +y(.)-38 1459 y(.)-38 1471 y(.)-38 1484 y(.)-38 1497 y(.)-38 +1510 y(.)-38 1523 y(.)-38 1536 y(.)-38 1549 y(.)-38 1562 +y(.)-38 1575 y(.)-38 1588 y(.)-38 1601 y(.)-38 1614 y(.)-38 +1627 y(.)-38 1640 y(.)-38 1653 y(.)-38 1666 y(.)-38 1679 +y(.)-38 1692 y(.)-38 1705 y(.)-38 1718 y(.)-38 1731 y(.)-38 +1744 y(.)-38 1757 y(.)-38 1770 y(.)-38 1783 y(.)-38 1796 +y(.)-38 1809 y(.)-38 1822 y(.)-38 1835 y(.)-38 1848 y(.)-38 +1861 y(.)-38 1874 y(.)-38 1887 y(.)-38 1900 y(.)-38 1913 +y(.)-38 1926 y(.)-38 1938 y(.)-38 1951 y(.)-38 1964 y(.)-38 +1977 y(.)-38 1990 y(.)-38 2003 y(.)-38 2016 y(.)-38 2029 +y(.)-38 2042 y(.)-38 2055 y(.)-38 2068 y(.)-38 2081 y(.)-38 +2094 y(.)-38 2107 y(.)-38 2120 y(.)-38 2133 y(.)-38 2146 +y(.)-38 2159 y(.)-38 2172 y(.)-38 2185 y(.)-38 2198 y(.)-38 +2211 y(.)-38 2224 y(.)-38 2237 y(.)-38 2250 y(.)-38 2263 +y(.)-38 2276 y(.)-38 2289 y(.)-38 2302 y(.)-38 2315 y(.)-38 +2328 y(.)-38 2341 y(.)-38 2354 y(.)-38 2367 y(.)-38 2380 +y(.)-38 2393 y(.)-38 2405 y(.)-38 2418 y(.)-38 2431 y(.)-38 +2444 y(.)-38 2457 y(.)-38 2470 y(.)-38 2483 y(.)-38 2496 +y(.)-38 2509 y(.)-38 2522 y(.)-38 2535 y(.)-38 2548 y(.)-38 +2561 y(.)-38 2574 y(.)-38 2587 y(.)-38 2600 y(.)-38 2613 +y(.)-38 2626 y(.)-38 2639 y(.)-38 2652 y(.)-38 2665 y(.)-38 +2678 y(.)-38 2691 y(.)-38 2704 y(.)-38 2717 y(.)-38 2730 +y(.)-38 2743 y(.)-38 2756 y(.)-38 2769 y(.)-38 2782 y(.)-38 +2795 y(.)-38 2808 y(.)-38 2821 y(.)-38 2834 y(.)-38 2847 +y(.)-38 2860 y(.)-38 2872 y(.)-38 2885 y(.)-38 2898 y(.)-38 +2911 y(.)-38 2924 y(.)-38 2937 y(.)-38 2950 y(.)-38 2963 +y(.)-38 2976 y(.)-38 2989 y(.)-38 3002 y(.)-38 3015 y(.)-38 +3028 y(.)-38 3041 y(.)-38 3054 y(.)-38 3067 y(.)-38 3080 +y(.)-38 3093 y(.)-38 3106 y(.)-38 3119 y(.)-38 3132 y(.)-38 +3145 y(.)-38 3158 y(.)-38 3171 y(.)-38 3184 y(.)-38 3197 +y(.)-38 3210 y(.)-38 3223 y(.)-38 3236 y(.)-38 3249 y(.)-38 +3262 y(.)-38 3275 y(.)-38 3288 y(.)-38 3301 y(.)-38 3314 +y(.)-38 3327 y(.)-38 3339 y(.)-38 3352 y(.)-38 3365 y(.)-38 +3378 y(.)-38 3391 y(.)-38 3404 y(.)-38 3417 y(.)-38 3430 +y(.)-38 3443 y(.)-38 3456 y(.)-38 3469 y(.)-38 3482 y(.)-38 +3495 y(.)-38 3508 y(.)-38 3521 y(.)-38 3534 y(.)-38 3547 +y(.)-38 3560 y(.)-38 3573 y(.)-38 3586 y(.)-38 3599 y(.)-38 +3612 y(.)-38 3625 y(.)-38 3638 y(.)-38 3651 y(.)-38 3664 +y(.)-38 3677 y(.)-38 3690 y(.)-38 3703 y(.)-38 3716 y(.)-38 +3729 y(.)-38 3742 y(.)-38 3755 y(.)-38 3768 y(.)-38 3781 +y(.)-38 3794 y(.)-38 3806 y(.)-38 3819 y(.)-38 3832 y(.)-38 +3845 y(.)-38 3858 y(.)-38 3871 y(.)-38 3884 y(.)-38 3897 +y(.)-38 3910 y(.)-38 3923 y(.)-38 3936 y(.)-38 3949 y(.)1255 +1393 y Fw([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(compiler-let)33 +b(\()7 b Ft(f)p Fv(var)14 b Ft(j)g Fs(\()p Fv(var)21 +b Fw([)p Fv(value)p Fw(])7 b Fs(\))p Ft(g)712 1378 y +Fl(\003)737 1393 y Fs(\))22 b Ft(f)7 b Fv(form)p Ft(g)916 +1378 y Fl(\003)0 1470 y Fw(This)k(c)o(hanges)h Fs(compiler-let)c +Fw(to)j(allo)o(w)f(a)g(list)h Fs(\()p Fv(var)p Fs(\))f +Fw(to)h(app)q(ear,)h(meaning)d(the)j(same)0 1522 y(as)i(simply)e +Fv(var)p Fw(.)-33 1533 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1601 a(X3J13)e(v)o(oted)i(in)f(June)h(1989)e +Ft(h)p Fw(25)p Ft(i)h Fw(to)g(remo)o(v)o(e)f Fs(compiler-let)f +Fw(from)g(the)j(language.)-33 1573 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1653 a(Man)o(y)17 b(uses)h(of)f Fs(compiler-let)d +Fw(can)k(b)q(e)f(replaced)h(with)f(more)f(p)q(ortable)i(co)q(de)g(that) +0 1705 y(uses)d Fs(macrolet)d Fw(or)i Fs(symbol-macrolet)p +Fw(.)-33 1716 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1145 1837 a([)p Fv(Sp)n(e)n(cial)h(form)s +Fw(])-1396 b Fs(progv)34 b Fv(symb)n(ols)15 b(values)22 +b Ft(f)7 b Fv(form)p Ft(g)562 1822 y Fl(\003)0 1914 y +Fs(progv)16 b Fw(is)i(a)f(sp)q(ecial)g(form)f(that)i(allo)o(ws)e +(binding)g(one)i(or)f(more)g(dynamic)e(v)n(ariables)0 +1966 y(whose)k(names)f(ma)o(y)e(b)q(e)k(determined)e(at)h(run)f(time.) +31 b(The)19 b(sequence)i(of)d(forms)f(\(an)0 2017 y(implicit)c +Fs(progn)p Fw(\))h(is)i(ev)n(aluated)f(with)g(the)h(dynamic)e(v)n +(ariables)h(whose)h(names)e(are)i(in)0 2069 y(the)c(list)e +Fv(symb)n(ols)h Fw(b)q(ound)g(to)g(corresp)q(onding)h(v)n(alues)f(from) +e(the)i(list)g Fv(values)p Fw(.)17 b(\(If)11 b(to)q(o)g(few)0 +2121 y(v)n(alues)h(are)i(supplied,)e(the)i(remaining)c(sym)o(b)q(ols)i +(are)h(b)q(ound)g(and)f(then)i(made)d(to)i(ha)o(v)o(e)0 +2173 y(no)h(v)n(alue;)f(see)i Fs(makunbound)p Fw(.)i(If)c(to)q(o)h(man) +o(y)e(v)n(alues)i(are)h(supplied,)e(the)i(excess)h(v)n(alues)0 +2225 y(are)g(ignored.\))22 b(The)16 b(results)g(of)f(the)h +Fs(progv)e Fw(form)g(are)i(those)g(of)e(the)i(last)g +Fv(form)p Fw(.)21 b(The)0 2277 y(bindings)16 b(of)f(the)i(dynamic)e(v)n +(ariables)g(are)i(undone)f(on)g(exit)h(from)d(the)j Fs(progv)e +Fw(form.)0 2329 y(The)g(lists)g(of)f(sym)o(b)q(ols)g(and)g(v)n(alues)h +(are)g(computed)g(quan)o(tities;)f(this)h(is)g(what)g(mak)o(es)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 161 185 +161 184 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(161)0 295 y Fs(progv)14 b Fw(di\013eren)o(t)i(from,)e(for)g(example,) +g Fs(let)p Fw(,)h(where)h(the)g(v)n(ariable)e(names)g(are)i(stated)0 +347 y(explicitly)d(in)g(the)i(program)d(text.)42 399 +y Fs(progv)e Fw(is)i(particularly)e(useful)i(for)f(writing)g(in)o +(terpreters)j(for)d(languages)h(em)o(b)q(edded)0 451 +y(in)f(Lisp;)h(it)g(pro)o(vides)g(a)g(handle)f(on)h(the)h(mec)o(hanism) +c(for)j(binding)f(dynamic)f(v)n(ariables.)1145 621 y([)p +Fv(Sp)n(e)n(cial)15 b(form)s Fw(])-1396 b Fs(flet)34 +b(\()7 b Ft(f)p Fs(\()p Fv(name)15 b(lamb)n(da-list)200 +672 y Fw([)-7 b([)13 b Ft(f)p Fv(de)n(clar)n(ation)p +Ft(g)469 657 y Fl(\003)509 672 y Ft(j)i Fv(do)n(c-string)7 +b Fw(])-7 b(])27 b Ft(f)7 b Fv(form)p Ft(g)900 657 y +Fl(\003)925 672 y Fs(\))p Ft(g)968 657 y Fl(\003)994 +672 y Fs(\))115 724 y Ft(f)g Fv(form)p Ft(g)250 709 y +Fl(\003)1145 776 y Fw([)p Fv(Sp)n(e)n(cial)15 b(form)s +Fw(])-1396 b Fs(labels)34 b(\()7 b Ft(f)p Fs(\()p Fv(name)14 +b(lamb)n(da-list)244 828 y Fw([)-7 b([)13 b Ft(f)p Fv(de)n(clar)n +(ation)p Ft(g)513 813 y Fl(\003)553 828 y Ft(j)h Fv(do)n(c-string)7 +b Fw(])-7 b(])28 b Ft(f)7 b Fv(form)p Ft(g)944 813 y +Fl(\003)969 828 y Fs(\))p Ft(g)1012 813 y Fl(\003)1037 +828 y Fs(\))159 880 y Ft(f)g Fv(form)p Ft(g)294 865 y +Fl(\003)1145 932 y Fw([)p Fv(Sp)n(e)n(cial)15 b(form)s +Fw(])-1396 b Fs(macrolet)33 b(\()7 b Ft(f)p Fs(\()p Fv(name)15 +b(varlist)288 984 y Fw([)-7 b([)13 b Ft(f)p Fv(de)n(clar)n(ation)p +Ft(g)557 969 y Fl(\003)597 984 y Ft(j)h Fv(do)n(c-string)7 +b Fw(])-7 b(])27 b Ft(f)7 b Fv(form)p Ft(g)987 969 y +Fl(\003)1012 984 y Fs(\))p Ft(g)1055 969 y Fl(\003)1081 +984 y Fs(\))202 1036 y Ft(f)g Fv(form)p Ft(g)337 1021 +y Fl(\003)0 1113 y Fs(flet)13 b Fw(ma)o(y)f(b)q(e)i(used)h(to)e +(de\014ne)i(lo)q(cally)d(named)h(functions.)18 b(Within)13 +b(the)h(b)q(o)q(dy)g(of)f(the)0 1165 y Fs(flet)i Fw(form,)g(function)h +(names)f(matc)o(hing)f(those)j(de\014ned)g(b)o(y)f(the)h +Fs(flet)e Fw(refer)i(to)f(the)0 1217 y(lo)q(cally)d(de\014ned)j +(functions)e(rather)i(than)e(to)h(the)g(global)d(function)j +(de\014nitions)f(of)g(the)0 1269 y(same)f(name.)42 1322 +y(An)o(y)j(n)o(um)o(b)q(er)f(of)h(functions)g(ma)o(y)e(b)q(e)j(sim)o +(ultaneously)d(de\014ned.)27 b(Eac)o(h)16 b(de\014nition)0 +1374 y(is)j(similar)e(in)i(format)f(to)h(a)g Fs(defun)g +Fw(form:)27 b(\014rst)20 b(a)g(name,)f(then)h(a)f(parameter)g(list)0 +1426 y(\(whic)o(h)e(ma)o(y)e(con)o(tain)i Fs(&optional)p +Fw(,)e Fs(&rest)p Fw(,)i(or)g Fs(&key)f Fw(parameters\),)h(then)h +(optional)0 1477 y(declarations)c(and)g(do)q(cumen)o(tation)e(string,)i +(and)g(\014nally)e(a)i(b)q(o)q(dy)m(.)0 1571 y Fs(\(flet)20 +b(\(\(safesqrt)f(\(x\))i(\(sqrt)f(\(abs)g(x\)\)\)\))42 +1623 y(;;)h(The)g(safesqrt)e(function)h(is)g(used)h(in)g(two)f(places.) +42 1675 y(\(safesqrt)g(\(apply)g(#)412 1671 y(-)412 1679 +y(-)m Fn(')455 1675 y Fs(+)h(\(map)604 1679 y Fn(')627 +1675 y Fs(list)f(#)735 1671 y(-)735 1679 y(-)n Fn(')778 +1675 y Fs(safesqrt)g(longlist\)\)\)\))42 1768 y Fw(The)e +Fs(labels)f Fw(construct)j(is)e(iden)o(tical)g(in)g(form)e(to)i(the)h +Fs(flet)f Fw(construct.)32 b(These)0 1820 y(constructs)21 +b(di\013er)f(in)f(that)g(the)h(scop)q(e)g(of)f(the)h(de\014ned)g +(function)f(names)g(for)g Fs(flet)0 1872 y Fw(encompasses)d(only)e(the) +h(b)q(o)q(dy)m(,)g(whereas)h(for)f Fs(labels)e Fw(it)i(encompasses)g +(the)h(function)0 1924 y(de\014nitions)d(themselv)o(es.)18 +b(That)12 b(is,)h Fs(labels)e Fw(can)i(b)q(e)g(used)h(to)f(de\014ne)g +(m)o(utually)d(recur-)0 1976 y(siv)o(e)16 b(functions,)h(but)f +Fs(flet)g Fw(cannot.)25 b(This)17 b(distinction)e(is)i(useful.)25 +b(Using)16 b Fs(flet)g Fw(one)0 2027 y(can)f(lo)q(cally)e(rede\014ne)k +(a)d(global)f(function)i(name,)e(and)i(the)g(new)g(de\014nition)g(can)g +(refer)0 2079 y(to)g(the)g(global)e(de\014nition;)i(the)g(same)f +(construction)i(using)f Fs(labels)e Fw(w)o(ould)h(not)h(ha)o(v)o(e)0 +2131 y(that)f(e\013ect.)0 2225 y Fs(\(defun)20 b(integer-power)e(\(n)j +(k\))148 b(;A)21 b(highly)f("bummed")f(integer)42 2277 +y(\(declare)h(\(integer)f(n\)\))211 b(;)21 b(exponentiation)e(routine) +42 2329 y(\(declare)h(\(type)g(\(integer)g(0)g(*\))h(k\)\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 162 186 +162 185 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(162)77 b(COMMON)13 +b(LISP)42 295 y Fs(\(labels)20 b(\(\(expt0)g(\(x)h(k)g(a\))275 +347 y(\(declare)f(\(integer)f(x)i(a\))g(\(type)f(\(integer)g(0)h(*\))f +(k\)\))275 399 y(\(cond)g(\(\(zerop)g(k\))h(a\))402 450 +y(\(\(evenp)f(k\))h(\(expt1)f(\(*)g(x)h(x\))g(\(floor)f(k)h(2\))g +(a\)\))402 502 y(\(t)g(\(expt0)f(\(*)h(x)g(x\))f(\(floor)g(k)h(2\))g +(\(*)g(x)g(a\)\)\)\)\))233 554 y(\(expt1)f(\(x)h(k)g(a\))275 +606 y(\(declare)f(\(integer)f(x)i(a\))g(\(type)f(\(integer)g(1)h(*\))f +(k\)\))275 658 y(\(cond)g(\(\(evenp)g(k\))h(\(expt1)f(\(*)h(x)f(x\))h +(\(floor)f(k)h(2\))g(a\)\))402 710 y(\(t)g(\(expt0)f(\(*)h(x)g(x\))f +(\(floor)g(k)h(2\))g(\(*)g(x)g(a\)\)\)\)\)\))85 762 y(\(expt0)f(n)h(k)g +(1\)\)\))42 1066 y(macrolet)8 b Fw(is)i(similar)e(in)i(form)f(to)h +Fs(flet)g Fw(but)g(de\014nes)i(lo)q(cal)e(macros,)f(using)i(the)g(same) +0 1118 y(format)h(used)j(b)o(y)f Fs(defmacro)p Fw(.)k(The)c(names)g +(established)h(b)o(y)f Fs(macrolet)e Fw(as)j(names)e(for)0 +1169 y(macros)g(are)h(lexically)f(scop)q(ed.)42 1246 +y(I)g(ha)o(v)o(e)h(observ)o(ed)h(that,)e(while)g(most)g(Commo)o(n)e +(Lisp)j(users)h(pronounce)f Fs(macrolet)-33 1217 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1298 a Fw(to)e(rh)o(yme)f(with)h(\\silhouette,")g(a)g +(small)e(but)i(v)o(o)q(cal)f(minorit)o(y)f(pronounce)j(it)f(to)g(rh)o +(yme)0 1349 y(with)h(\\Chevrolet.")18 b(A)13 b(v)o(ery)g(few)g +(extremists)g(furthermore)g(adjust)h(their)f(pron)o(uncia-)0 +1401 y(tion)g(of)h Fs(flet)f Fw(similarly:)i(they)f(sa)o(y)g(\\\015a)o +(y)m(.")i(Hey)m(,)e(hey!)k Fv(T)m(r)o(\022)-20 b(es)14 +b(outr)o(\023)-20 b(e.)-33 1413 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1477 a Fw(Macros)18 b(often)g(m)o(ust)e(b)q(e)j +(expanded)f(at)g(\\compile)e(time")g(\(more)h(generally)m(,)g(at)h(a)0 +1529 y(time)g(b)q(efore)i(the)g(program)d(itself)i(is)g(executed\),)j +(and)d(so)h(the)f(run-time)f(v)n(alues)h(of)0 1581 y(v)n(ariables)13 +b(are)h(not)g(a)o(v)n(ailable)e(to)i(macros)f(de\014ned)i(b)o(y)e +Fs(macrolet)p Fw(.)42 1657 y(The)e(precise)i(rule)f(is)f(that)g(the)h +(macro-expansion)e(functions)h(de\014ned)h(b)o(y)f Fs(macrolet)-38 +1632 y Fk(.)-38 1645 y(.)-38 1658 y(.)-38 1671 y(.)-38 +1684 y(.)-38 1697 y(.)-38 1710 y(.)-38 1723 y(.)-38 1736 +y(.)-38 1749 y(.)-38 1762 y(.)-38 1775 y(.)-38 1788 y(.)-38 +1801 y(.)-38 1814 y(.)-38 1827 y(.)-38 1840 y(.)-38 1853 +y(.)-38 1866 y(.)-38 1879 y(.)-38 1892 y(.)-38 1905 y(.)-38 +1918 y(.)-38 1931 y(.)-38 1944 y(.)-38 1957 y(.)-38 1970 +y(.)-38 1983 y(.)-38 1996 y(.)-38 2009 y(.)-38 2022 y(.)-38 +2035 y(.)-38 2048 y(.)-38 2061 y(.)-38 2074 y(.)-38 2086 +y(.)-38 2099 y(.)-38 2112 y(.)-38 2125 y(.)-38 2138 y(.)-38 +2151 y(.)-38 2164 y(.)-38 2177 y(.)-38 2190 y(.)-38 2203 +y(.)-38 2216 y(.)-38 2229 y(.)-38 2242 y(.)-38 2255 y(.)-38 +2268 y(.)-38 2281 y(.)-38 2294 y(.)-38 2307 y(.)-38 2320 +y(.)-38 2333 y(.)-38 2346 y(.)-38 2359 y(.)-38 2372 y(.)-38 +2385 y(.)-38 2398 y(.)-38 2411 y(.)-38 2424 y(.)-38 2437 +y(.)-38 2450 y(.)-38 2463 y(.)-38 2476 y(.)-38 2489 y(.)-38 +2502 y(.)-38 2515 y(.)-38 2528 y(.)-38 2541 y(.)-38 2553 +y(.)-38 2566 y(.)-38 2579 y(.)-38 2592 y(.)-38 2605 y(.)-38 +2618 y(.)-38 2631 y(.)-38 2644 y(.)-38 2657 y(.)-38 2670 +y(.)-38 2683 y(.)-38 2696 y(.)-38 2709 y(.)-38 2722 y(.)-38 +2735 y(.)-38 2748 y(.)-38 2761 y(.)-38 2774 y(.)-38 2787 +y(.)-38 2800 y(.)-38 2813 y(.)-38 2826 y(.)-38 2839 y(.)-38 +2852 y(.)-38 2865 y(.)-38 2878 y(.)-38 2891 y(.)-38 2904 +y(.)-38 2917 y(.)-38 2930 y(.)-38 2943 y(.)-38 2956 y(.)-38 +2969 y(.)-38 2982 y(.)-38 2995 y(.)-38 3008 y(.)-38 3020 +y(.)-38 3033 y(.)-38 3046 y(.)-38 3059 y(.)-38 3072 y(.)-38 +3085 y(.)-38 3098 y(.)-38 3111 y(.)-38 3124 y(.)-38 3137 +y(.)-38 3150 y(.)-38 3163 y(.)-38 3176 y(.)-38 3189 y(.)-38 +3202 y(.)-38 3215 y(.)-38 3228 y(.)-38 3241 y(.)-38 3254 +y(.)-38 3267 y(.)-38 3280 y(.)-38 3293 y(.)-38 3306 y(.)-38 +3319 y(.)-38 3332 y(.)-38 3345 y(.)-38 3358 y(.)-38 3371 +y(.)-38 3384 y(.)-38 3397 y(.)-38 3410 y(.)-38 3423 y(.)-38 +3436 y(.)-38 3449 y(.)-38 3462 y(.)-38 3475 y(.)-38 3487 +y(.)-38 3500 y(.)-38 3513 y(.)-38 3526 y(.)-38 3539 y(.)-38 +3552 y(.)-38 3565 y(.)-38 3578 y(.)-38 3591 y(.)-38 3604 +y(.)-38 3617 y(.)-38 3630 y(.)-38 3643 y(.)-38 3656 y(.)-38 +3669 y(.)-38 3682 y(.)-38 3695 y(.)-38 3708 y(.)-38 3721 +y(.)-38 3734 y(.)-38 3747 y(.)-38 3760 y(.)-38 3773 y(.)-38 +3786 y(.)-38 3799 y(.)-38 3812 y(.)-38 3825 y(.)-38 3838 +y(.)-38 3851 y(.)-38 3864 y(.)-38 3877 y(.)-38 3890 y(.)-38 +3903 y(.)-38 3916 y(.)-38 3929 y(.)-38 3942 y(.)-38 3954 +y(.)-38 3967 y(.)-38 3980 y(.)-38 3993 y(.)-38 4006 y(.)-38 +4019 y(.)-38 4032 y(.)-38 4045 y(.)-38 4058 y(.)-38 4071 +y(.)-38 4084 y(.)-38 4097 y(.)-38 4110 y(.)-38 4123 y(.)-38 +4136 y(.)-38 4149 y(.)-38 4162 y(.)-38 4175 y(.)-38 4188 +y(.)-38 4201 y(.)-38 4214 y(.)0 1709 y Fw(are)20 b(de\014ned)h(in)e +(the)h Fv(glob)n(al)g Fw(en)o(vironmen)o(t;)h(lexically)d(scop)q(ed)j +(en)o(tities)f(that)g(w)o(ould)0 1761 y(ordinarily)10 +b(b)q(e)h(lexically)f(apparen)o(t)h(are)g(not)g(visible)f(within)h(the) +g(expansion)g(functions.)-33 1773 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1837 a(X3J13)e(v)o(oted)i(in)f(Marc)o(h)g(1989)f +Ft(h)p Fw(50)p Ft(i)h Fw(to)h(retract)g(the)g(previous)g(sen)o(tence)h +(and)e(sp)q(ecify)-33 1809 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1889 a(that)17 b(the)g(macro-expansion)e(functions)i +(created)h(b)o(y)e Fs(macrolet)f Fw(are)i(de\014ned)h(in)e(the)0 +1941 y(lexical)d(en)o(vironmen)o(t)f(in)h(whic)o(h)h(the)g +Fs(macrolet)e Fw(form)g(app)q(ears,)i(not)f(in)g(the)h(n)o(ull)f(lex-)0 +1993 y(ical)h(en)o(vironmen)o(t.)k(Declarations,)c Fs(macrolet)f +Fw(de\014nitions,)h(and)g Fs(symbol-macrolet)0 2045 y +Fw(de\014nitions)g(a\013ect)g(co)q(de)h(within)e(the)h(expansion)f +(functions)h(in)f(a)h Fs(macrolet)p Fw(,)d(but)j(the)0 +2097 y(consequences)g(are)d(unde\014ned)i(if)d(suc)o(h)i(co)q(de)g +(attempts)f(to)g(refer)h(to)f(an)o(y)g(lo)q(cal)f(v)n(ariable)0 +2149 y(or)k(function)f(bindings)h(that)g(are)g(visible)f(in)h(that)g +(lexical)f(en)o(vironmen)o(t.)-33 2160 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2225 a(Ho)o(w)o(ev)o(er,)29 b(lexically)24 +b(scop)q(ed)k(en)o(tities)e Fv(ar)n(e)g Fw(visible)f(within)h(the)g(b)q +(o)q(dy)h(of)e(the)0 2277 y Fs(macrolet)14 b Fw(form)g(and)h +Fv(ar)n(e)g Fw(visible)g(to)h(the)g(co)q(de)g(that)g(is)f(the)h +(expansion)g(of)f(a)g(macro)0 2329 y(call.)i(The)e(follo)o(wing)c +(example)h(should)i(mak)o(e)f(this)g(clear:)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 163 187 +163 186 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(163)0 295 y Fs(;;;)21 b(Example)e(of)i(scoping)f(in)h(macrolet.)0 +399 y(\(defun)f(foo)g(\(x)h(flag\))42 450 y(\(macrolet)f(\(\(fudge)f +(\(z\))339 502 y(;;)p Fw(The)14 b(parameters)g Fs(x)f +Fw(and)h Fs(flag)f Fw(are)h(not)g(accessible)339 554 +y Fs(;;)20 b Fw(at)14 b(this)g(p)q(oin)o(t;)f(a)h(reference)i(to)e +Fs(flag)f Fw(w)o(ould)g(b)q(e)h(to)339 606 y Fs(;;)20 +b Fw(the)15 b(global)d(v)n(ariable)h(of)g(that)h(name.)336 +662 y Fn(`)360 658 y Fs(\(if)20 b(flag)445 710 y(\(*)g(,z)h(,z\))445 +762 y(,z\)\)\))85 814 y(;;)p Fw(The)14 b(parameters)g +Fs(x)f Fw(and)h Fs(flag)f Fw(are)h(accessible)h(here.)85 +866 y Fs(\(+)20 b(x)148 917 y(\(fudge)g(x\))148 969 y(\(fudge)g(\(+)h +(x)g(1\)\)\)\)\))0 1074 y Fw(The)14 b(b)q(o)q(dy)g(of)g(the)g +Fs(macrolet)e Fw(b)q(ecomes)0 1180 y Fs(\(+)21 b(x)64 +1232 y(\(if)f(flag)148 1284 y(\(*)h(x)g(x\))148 1336 +y(x\)\))64 1388 y(\(if)f(flag)148 1440 y(\(*)h(\(+)g(x)g(1\))f(\(+)h(x) +g(1\)\))148 1492 y(\(+)g(x)g(1\)\)\))0 1596 y Fw(after)16 +b(macro)f(expansion.)25 b(The)17 b(o)q(ccurrences)i(of)d +Fs(x)g Fw(and)g Fs(flag)f Fw(legitimately)f(refer)j(to)0 +1648 y(the)h(parameters)f(of)g(the)g(function)g Fs(foo)g +Fw(b)q(ecause)i(those)f(parameters)f(are)g(visible)g(at)0 +1700 y(the)d(site)h(of)e(the)i(macro)d(call)h(whic)o(h)h(pro)q(duced)h +(the)g(expansion.)42 1754 y(X3J13)10 b(v)o(oted)h(in)f(Marc)o(h)h(1988) +e Ft(h)p Fw(78)p Ft(i)i Fw(to)f(sp)q(ecify)i(that)e(the)i(b)q(o)q(dy)e +(of)g(eac)o(h)h(function)g(or)-33 1725 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1806 a(expander)g(function)g(de\014ned)g(b)o(y)g +Fs(flet)p Fw(,)e Fs(labels)p Fw(,)h(or)g Fs(macrolet)f +Fw(is)h(implicitly)e(enclosed)0 1857 y(in)17 b(a)f Fs(block)g +Fw(construct)j(whose)e(name)f(is)h(the)g(same)f(as)h(the)h +Fv(name)g Fw(of)e(the)h(function.)0 1909 y(Therefore)e +Fs(return-from)d Fw(ma)o(y)g(b)q(e)i(used)h(to)f(exit)g(from)e(the)i +(function.)-33 1921 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1963 a(X3J13)f(v)o(oted)g(in)g(Marc)o(h)h(1989)e +Ft(h)p Fw(89)p Ft(i)h Fw(to)g(extend)i Fs(flet)d Fw(and)h +Fs(labels)f Fw(to)i(accept)g(an)o(y)-33 1935 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2015 a(function-name)i(\(a)i(sym)o(b)q(ol)e(or)i(a)f +(list)g(whose)i Fv(c)n(ar)e Fw(is)h Fs(setf)p Fw(|see)g(section)g +(7.1\))f(as)h(a)0 2067 y Fv(name)g Fw(for)e(a)h(function)f(to)h(b)q(e)h +(lo)q(cally)d(de\014ned.)29 b(In)17 b(this)g(w)o(a)o(y)f(one)h(can)g +(create)i(lo)q(cal)0 2119 y(de\014nitions)12 b(for)f +Fs(setf)h Fw(expansion)f(functions.)18 b(\(X3J13)12 b(explicitly)e +(declined)j(to)f(extend)0 2171 y Fs(macrolet)g Fw(in)i(the)g(same)f +(manner.\))-33 2183 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2225 a(X3J13)j(v)o(oted)i(in)e(Marc)o(h)i(1988)e +Ft(h)p Fw(77)p Ft(i)h Fw(to)g(c)o(hange)h Fs(flet)p Fw(,)e +Fs(labels)p Fw(,)g(and)h Fs(macrolet)-33 2197 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2277 a Fw(to)h(allo)o(w)e(declarations)h(to)h(app)q(ear) +g(b)q(efore)g(the)h(b)q(o)q(dy)m(.)28 b(The)19 b(new)f(descriptions)g +(are)0 2329 y(therefore)d(as)f(follo)o(ws:)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 164 188 +164 187 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(164)77 b(COMMON)13 +b(LISP)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 295 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(flet)34 b(\()7 b Ft(f)p Fs(\()p Fv(name)15 b(lamb)n(da-list)200 +347 y Fw([)-7 b([)13 b Ft(f)p Fv(de)n(clar)n(ation)p +Ft(g)469 332 y Fl(\003)509 347 y Ft(j)i Fv(do)n(c-string)7 +b Fw(])-7 b(])27 b Ft(f)7 b Fv(form)p Ft(g)900 332 y +Fl(\003)925 347 y Fs(\))p Ft(g)968 332 y Fl(\003)994 +347 y Fs(\))115 399 y Ft(f)p Fv(de)n(clar)n(ation)p Ft(g)354 +383 y Fl(\003)401 399 y Ft(f)g Fv(form)p Ft(g)536 383 +y Fl(\003)1255 450 y Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(labels)34 b(\()7 b Ft(f)p Fs(\()p Fv(name)14 b(lamb)n(da-list)244 +502 y Fw([)-7 b([)13 b Ft(f)p Fv(de)n(clar)n(ation)p +Ft(g)513 487 y Fl(\003)553 502 y Ft(j)h Fv(do)n(c-string)7 +b Fw(])-7 b(])28 b Ft(f)7 b Fv(form)p Ft(g)944 487 y +Fl(\003)969 502 y Fs(\))p Ft(g)1012 487 y Fl(\003)1037 +502 y Fs(\))159 554 y Ft(f)p Fv(de)n(clar)n(ation)p Ft(g)398 +539 y Fl(\003)445 554 y Ft(f)g Fv(form)p Ft(g)580 539 +y Fl(\003)1255 606 y Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(macrolet)33 b(\()7 b Ft(f)p Fs(\()p Fv(name)15 b(varlist)288 +658 y Fw([)-7 b([)13 b Ft(f)p Fv(de)n(clar)n(ation)p +Ft(g)557 643 y Fl(\003)597 658 y Ft(j)h Fv(do)n(c-string)7 +b Fw(])-7 b(])27 b Ft(f)7 b Fv(form)p Ft(g)987 643 y +Fl(\003)1012 658 y Fs(\))p Ft(g)1055 643 y Fl(\003)1081 +658 y Fs(\))202 710 y Ft(f)p Fv(de)n(clar)n(ation)p Ft(g)441 +695 y Fl(\003)489 710 y Ft(f)f Fv(form)p Ft(g)623 695 +y Fl(\003)0 787 y Fw(These)14 b(are)g(no)o(w)f(syn)o(tactically)g(more) +f(similar)f(to)i(suc)o(h)h(other)f(binding)g(forms)f(as)h +Fs(let)p Fw(.)42 839 y(F)m(or)e Fs(flet)g Fw(and)h Fs(labels)p +Fw(,)e(the)j(b)q(o)q(dies)f(of)g(the)g(lo)q(cally)f(de\014ned)i +(functions)f(are)g(part)g(of)0 890 y(the)j(scop)q(e)g(of)f(p)q(erv)n +(asiv)o(e)g(declarations)g(app)q(earing)g(b)q(efore)h(the)g(main)d(b)q +(o)q(dy)m(.)19 b(\(This)14 b(is)0 942 y(consisten)o(t)j(with)e(the)h +(treatmen)o(t)f(of)g(initialization)e(forms)h(in)h Fs(let)p +Fw(.\))22 b(F)m(or)15 b Fs(macrolet)p Fw(,)0 994 y(ho)o(w)o(ev)o(er,)h +(the)g(b)q(o)q(dies)g(of)f(the)i(lo)q(cally)d(de\014ned)j(macro)d +(expander)j(functions)e(are)h Fv(not)0 1046 y Fw(included)k(in)f(the)i +(scop)q(e)g(of)e(p)q(erv)n(asiv)o(e)h(declarations)g(app)q(earing)g(b)q +(efore)g(the)h(main)0 1098 y(b)q(o)q(dy)m(.)37 b(\(This)20 +b(is)g(consisten)o(t)i(with)e(the)g(rule,)i(stated)f(b)q(elo)o(w,)g +(that)g(the)g(b)q(o)q(dies)f(of)0 1150 y(macro)12 b(expander)i +(functions)g(are)f(in)g(the)h(global)d(en)o(vironmen)o(t,)h(not)h(the)h +(lo)q(cal)f(lexical)0 1202 y(en)o(vironmen)o(t.\))k(Here)e(is)f(an)g +(example:)0 1284 y Fs(\(flet)20 b(\(\(stretch)f(\(x\))i(\(*)g(x)g +(*stretch-factor*)o(\)\))148 1336 y(\(chop)f(\(x\))h(\(-)g(x)g +(*chop-margin*\)\))o(\))42 1388 y(\(declare)f(\(inline)g(stretch)f +(chop\)\))63 b(;)p Fw(Illegal)12 b(in)h(original)f(Common)f(Lisp)42 +1439 y Fs(\(if)21 b(\(>)g(x)g(*chop-margin*\))d(\(stretch)h(\(chop)i +(x\)\))f(\(chop)g(\(stretch)g(x\)\)\)\))0 1521 y Fw(X3J13)14 +b(v)o(oted)g(to)f(p)q(ermit)g(declarations)h(of)g(the)g(sort)g(noted)h +(ab)q(o)o(v)o(e.)-33 1533 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 68 x @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1145 1629 a([)p Fv(Sp)n(e)n(cial)g(form)s +Fw(])-1396 b Fs(symbol-macrolet)32 b(\()7 b Ft(f)p Fs(\()p +Fv(var)14 b(exp)n(ansion)p Fs(\))p Ft(g)724 1614 y Fl(\003)751 +1629 y Fs(\))355 1681 y Ft(f)p Fv(de)n(clar)n(ation)p +Ft(g)594 1666 y Fl(\003)641 1681 y Ft(f)7 b Fv(form)p +Ft(g)776 1666 y Fl(\003)0 1758 y Fw(X3J13)16 b(v)o(oted)h(in)f(June)i +(1988)d Ft(h)p Fw(12)p Ft(i)i Fw(to)f(adopt)h(the)g(Common)c(Lisp)k(Ob) +r(ject)h(System.)0 1810 y(P)o(art)c(of)g(this)g(prop)q(osal)f(is)h(a)g +(general)g(mec)o(hanism,)e Fs(symbol-macrolet)o Fw(,)f(for)j(treating)0 +1862 y(certain)f(v)n(ariable)e(names)g(as)i(if)e(they)i(w)o(ere)g +(parameterless)f(macro)f(calls.)17 b(This)12 b(facilit)o(y)0 +1914 y(ma)o(y)k(b)q(e)j(useful)f(indep)q(enden)o(t)h(of)e(CLOS.)h +(X3J13)g(v)o(oted)g(in)f(Marc)o(h)h(1989)f Ft(h)p Fw(173)p +Ft(i)h Fw(to)0 1966 y(mo)q(dify)11 b(the)j(de\014nition)f(of)f +Fs(symbol-macrolet)f Fw(substan)o(tially)h(and)h(also)g(v)o(oted)g +Ft(h)p Fw(172)p Ft(i)0 2017 y Fw(to)h(allo)o(w)e(declarations)i(b)q +(efore)h(the)g(b)q(o)q(dy)f(of)g Fs(symbol-macrolet)c +Fw(but)15 b(with)f(p)q(eculiar)0 2069 y(treatmen)o(t)g(of)f +Fs(special)f Fw(and)i(t)o(yp)q(e)g(declarations.)42 2121 +y(The)g Fv(forms)f Fw(are)i(executed)h(as)e(an)f(implicit)f +Fs(progn)g Fw(in)i(a)g(lexical)f(en)o(vironmen)o(t)g(that)0 +2173 y(causes)h(ev)o(ery)g(reference)h(to)e(an)o(y)f(de\014ned)i +Fv(var)e Fw(to)h(b)q(e)g(replaced)h(b)o(y)e(the)i(corresp)q(onding)0 +2225 y Fv(exp)n(ansion)p Fw(.)19 b(It)13 b(is)f(as)h(if)e(the)j +(reference)h(to)d(the)h Fv(var)g Fw(w)o(ere)g(a)g(parameterless)g +(macro)e(call;)0 2277 y(the)19 b Fv(exp)n(ansion)h Fw(is)e(ev)n +(aluated)g(or)h(otherwise)g(pro)q(cessed)i(in)d(place)g(of)g(the)h +(reference)0 2329 y(\(in)h(particular,)h(the)g(expansion)g(form)d(is)j +(itself)f(sub)r(ject)i(to)e(further)h(expansion|)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 165 189 +165 188 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(165)0 295 y Fw(this)20 b(is)g(one)g(of)g(the)g(c)o(hanges)h +Ft(h)p Fw(173)p Ft(i)f Fw(from)e(the)i(original)f(de\014nition)g(in)h +(the)g(CLOS)0 347 y(prop)q(osal\).)36 b(Note,)21 b(ho)o(w)o(ev)o(er,)g +(that)f(the)g(names)f(of)h(suc)o(h)g(sym)o(b)q(ol)e(macros)h(o)q(ccup)o +(y)0 399 y(the)h(name)d(space)k(of)d(v)n(ariables,)h(not)g(the)h(name)d +(space)k(of)d(functions;)j(just)e(as)h(one)0 450 y(ma)o(y)e(ha)o(v)o(e) +j(a)f(function)g(\(or)g(macro,)g(or)g(sp)q(ecial)h(form\))e(and)h(a)g +(v)n(ariable)f(with)h(the)0 502 y(same)g(name)f(without)h(in)o +(terference,)k(so)c(one)h(ma)o(y)e(ha)o(v)o(e)h(an)g(ordinary)g(macro)g +(\(or)0 554 y(function,)13 b(or)h(sp)q(ecial)g(form\))e(and)h(a)h(sym)o +(b)q(ol)e(macro)g(with)i(the)g(same)f(name.)k(The)d(use)0 +606 y(of)i Fs(symbol-macrolet)e Fw(can)k(therefore)g(b)q(e)g(shado)o(w) +o(ed)f(b)o(y)g Fs(let)f Fw(or)h(other)h(constructs)0 +658 y(that)13 b(bind)g(v)n(ariables;)f Fs(symbol-macrolet)e +Fw(do)q(es)k(not)f(substitute)i(for)e(all)f(o)q(ccurrences)0 +710 y(of)h(a)g Fv(var)g Fw(as)h(a)f(v)n(ariable)f(but)i(only)f(for)g +(those)h(o)q(ccurrences)j(that)c(w)o(ould)g(b)q(e)h(construed)0 +762 y(as)c(references)k(in)c(the)h(scop)q(e)g(of)f(a)g(lexical)g +(binding)f(of)h Fv(var)g Fw(as)h(a)f(v)n(ariable.)15 +b(F)m(or)10 b(example:)0 843 y Fs(\(symbol-macrolet)18 +b(\(\(pollyanna)629 847 y Fn(')652 843 y Fs(goody\)\))42 +895 y(\(list)i(pollyanna)g(\(let)g(\(\(pollyanna)757 +899 y Fn(')780 895 y Fs(two-shoes\)\))f(pollyanna\)\)\))21 +947 y Ft(\))i Fs(\(goody)f(two-shoes\))p Fw(,)11 b Fv(not)22 +b Fs(\(goody)e(goody\))0 1028 y Fw(One)d(migh)o(t)c(think)j(that)411 +1032 y Fn(')435 1028 y Fs(goody)f Fw(simply)e(replaces)k(all)e(o)q +(ccurrences)k(of)c Fs(pollyanna)p Fw(,)0 1080 y(and)k(so)h(the)g(v)n +(alue)f(of)g(the)h Fs(let)f Fw(w)o(ould)g(b)q(e)h Fs(goody)p +Fw(;)h(but)e(this)h(is)f(not)h(so.)35 b(A)19 b(little)0 +1131 y(re\015ection)12 b(sho)o(ws)g(that)f(under)h(this)f(incorrect)i +(in)o(terpretation)e(the)h(b)q(o)q(dy)f(in)g(expanded)0 +1183 y(form)h(w)o(ould)h(b)q(e)0 1264 y Fs(\(list)128 +1268 y Fn(')151 1264 y Fs(goody)20 b(\(let)h(\(\()432 +1268 y Fn(')455 1264 y Fs(goody)582 1268 y Fn(')606 1264 +y Fs(two-shoes\)\))865 1268 y Fn(')888 1264 y Fs(goody\)\))0 +1346 y Fw(whic)o(h)14 b(is)g(syn)o(tactically)f(malform)o(ed.)i(The)g +(correct)g(expanded)g(form)d(is)0 1427 y Fs(\(list)128 +1431 y Fn(')151 1427 y Fs(goody)20 b(\(let)h(\(\(pollyanna)648 +1431 y Fn(')672 1427 y Fs(two-shoes\)\))e(pollyanna\)\))0 +1508 y Fw(b)q(ecause)i(the)f(rebinding)f(of)f Fs(pollyanna)g +Fw(b)o(y)h(the)g Fs(let)g Fw(form)e(shado)o(ws)j(the)g(sym)o(b)q(ol)0 +1560 y(macro)13 b(de\014nition.)42 1611 y(The)h Fv(exp)n(ansion)h +Fw(for)f(eac)o(h)g Fv(var)g Fw(is)g(not)g(ev)n(aluated)g(at)f(binding)g +(time)g(but)h(only)f(after)0 1663 y(it)f(has)g(replaced)h(a)e +(reference)k(to)d(the)g Fv(var)p Fw(.)17 b(The)c Fs(setf)e +Fw(macro)f(allo)o(ws)h(a)h(sym)o(b)q(ol)e(macro)0 1715 +y(to)15 b(b)q(e)g(used)h(as)e(a)h Fv(plac)n(e)p Fw(,)g(in)f(whic)o(h)g +(case)i(its)f(expansion)g(is)f(used;)i(moreo)o(v)o(er,)d +Fs(setq)h Fw(of)0 1767 y(a)h(v)n(ariable)g(that)g(is)h(really)e(a)i +(sym)o(b)q(ol)d(macro)i(will)f(b)q(e)i(treated)g(as)g(if)f +Fs(setf)f Fw(had)i(b)q(een)0 1819 y(used.)j(The)14 b(v)n(alues)g(of)f +(the)i(last)e(form)f(are)j(returned,)g(or)f Fs(nil)f +Fw(if)g(there)i(is)f(no)g(v)n(alue.)42 1871 y(See)g Fs(macroexpand)e +Fw(and)i Fs(macroexpand-1)p Fw(;)c(they)15 b(will)d(expand)i(sym)o(b)q +(ol)f(macros)g(as)0 1923 y(w)o(ell)g(as)h(ordinary)g(macros.)42 +1975 y(Certain)f Fv(de)n(clar)n(ations)g Fw(b)q(efore)h(the)f(b)q(o)q +(dy)h(are)f(handled)g(in)g(a)g(p)q(eculiar)g(manner;)f(see)0 +2027 y(section)j(9.1.)-33 2038 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2148 a Fo(7.6.)20 b(Conditionals)0 2225 +y Fw(The)d(traditional)e(conditional)g(construct)j(in)e(Lisp)g(is)h +Fs(cond)p Fw(.)25 b(Ho)o(w)o(ev)o(er,)17 b Fs(if)f Fw(is)g(m)o(uc)o(h)0 +2277 y(simpler)9 b(and)i(is)f(directly)h(comparable)e(to)i(conditional) +e(constructs)j(in)e(other)h(program-)0 2329 y(ming)k(languages,)i(so)g +(it)g(is)g(considered)h(to)f(b)q(e)h(primitiv)o(e)d(in)h(Common)e(Lisp) +j(and)g(is)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 166 190 +166 189 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(166)77 b(COMMON)13 +b(LISP)0 295 y Fw(describ)q(ed)k(\014rst.)23 b(Common)12 +b(Lisp)j(also)g(pro)o(vides)g(the)h(dispatc)o(hing)f(constructs)j +Fs(case)0 347 y Fw(and)c Fs(typecase)p Fw(,)d(whic)o(h)j(are)g(often)g +(more)f(con)o(v)o(enien)o(t)i(than)e Fs(cond)p Fw(.)1145 +472 y([)p Fv(Sp)n(e)n(cial)i(form)s Fw(])-1396 b Fs(if)35 +b Fv(test)14 b(then)22 b Fw([)p Fv(else)p Fw(])0 548 +y(The)14 b Fs(if)f Fw(sp)q(ecial)g(form)f(corresp)q(onds)j(to)f(the)g +Fz(if)p Fw(-)p Fz(then)p Fw(-)p Fz(el)o(se)c Fw(construct)15 +b(found)e(in)g(most)0 600 y(algebraic)18 b(programming)d(languages.)32 +b(First)19 b(the)g(form)e Fv(test)h Fw(is)h(ev)n(aluated.)32 +b(If)18 b(the)0 652 y(result)j(is)f(not)h Fs(nil)p Fw(,)f(then)i(the)e +(form)f Fv(then)i Fw(is)f(selected;)25 b(otherwise)c(the)g(form)e +Fv(else)0 704 y Fw(is)h(selected.)38 b(Whic)o(hev)o(er)21 +b(form)d(is)i(selected)h(is)f(then)h(ev)n(aluated,)g(and)f +Fs(if)f Fw(returns)0 756 y(whatev)o(er)c(is)e(returned)j(b)o(y)e(ev)n +(aluation)e(of)h(the)i(selected)h(form.)0 841 y Fs(\(if)21 +b Fv(test)f(then)i(else)p Fs(\))f Ft(\021)g Fs(\(cond)f(\()p +Fv(test)h(then)p Fs(\))g(\(t)g Fv(else)p Fs(\)\))0 926 +y Fw(but)14 b Fs(if)g Fw(is)f(considered)j(more)c(readable)j(in)e(some) +g(situations.)42 977 y(The)g Fv(else)f Fw(form)f(ma)o(y)f(b)q(e)k +(omitted,)d(in)h(whic)o(h)g(case)i(if)d(the)j(v)n(alue)e(of)g +Fv(test)g Fw(is)g Fs(nil)g Fw(then)0 1029 y(nothing)k(is)g(done)h(and)f +(the)h(v)n(alue)f(of)g(the)h Fs(if)f Fw(form)e(is)j Fs(nil)p +Fw(.)24 b(If)17 b(the)g(v)n(alue)e(of)h(the)h Fs(if)0 +1081 y Fw(form)9 b(is)i(imp)q(ortan)o(t)e(in)i(this)g(situation,)f +(then)i(the)g Fs(and)e Fw(construct)j(ma)o(y)c(b)q(e)i(st)o +(ylistically)0 1133 y(preferable,)j(dep)q(ending)h(on)f(the)g(con)o +(text.)19 b(If)14 b(the)h(v)n(alue)e(is)h(not)g(imp)q(ortan)o(t,)d(but) +k(only)0 1185 y(the)f(e\013ect,)i(then)e(the)h Fs(when)e +Fw(construct)i(ma)o(y)d(b)q(e)j(st)o(ylistically)d(preferable.)1255 +1310 y([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(when)34 b Fv(test)22 +b Ft(f)6 b Fv(form)p Ft(g)342 1295 y Fl(\003)0 1387 y +Fs(\(when)20 b Fv(test)h(form1)g(form2)g Fs(...)f(\))14 +b Fw(\014rst)h(ev)n(aluates)f Fv(test)p Fw(.)k(If)c(the)g(result)h(is)f +Fs(nil)p Fw(,)f(then)0 1439 y(no)g Fv(form)f Fw(is)h(ev)n(aluated,)g +(and)g Fs(nil)f Fw(is)h(returned.)20 b(Otherwise)14 b(the)g +Fv(form)p Fw(s)f(constitute)h(an)0 1490 y(implicit)9 +b Fs(progn)i Fw(and)h(are)g(ev)n(aluated)g(sequen)o(tially)g(from)e +(left)i(to)g(righ)o(t,)f(and)h(the)g(v)n(alue)0 1542 +y(of)h(the)i(last)e(one)i(is)e(returned.)0 1627 y Fs(\(when)20 +b Fv(p)i(a)f(b)g(c)p Fs(\))g Ft(\021)h Fs(\(and)e Fv(p)h +Fs(\(progn)f Fv(a)i(b)f(c)p Fs(\)\))0 1679 y(\(when)f +Fv(p)i(a)f(b)g(c)p Fs(\))g Ft(\021)h Fs(\(cond)e(\()p +Fv(p)h(a)g(b)h(c)p Fs(\)\))0 1731 y(\(when)e Fv(p)i(a)f(b)g(c)p +Fs(\))g Ft(\021)h Fs(\(if)e Fv(p)i Fs(\(progn)e Fv(a)h(b)g(c)p +Fs(\))g(nil\))0 1783 y(\(when)f Fv(p)i(a)f(b)g(c)p Fs(\))g +Ft(\021)h Fs(\(unless)d(\(not)i Fv(p)p Fs(\))g Fv(a)g(b)h(c)p +Fs(\))0 1868 y Fw(As)c(a)g(matter)f(of)g(st)o(yle,)i +Fs(when)e Fw(is)g(normally)e(used)k(to)f(conditionally)e(pro)q(duce)j +(some)0 1920 y(side)14 b(e\013ects,)g(and)f(the)h(v)n(alue)f(of)f(the)i +Fs(when)e Fw(form)g(is)h(normally)d(not)j(used.)19 b(If)13 +b(the)g(v)n(alue)0 1971 y(is)h(relev)n(an)o(t,)f(then)i(it)e(ma)o(y)f +(b)q(e)j(st)o(ylistically)d(more)h(appropriate)h(to)g(use)g +Fs(and)g Fw(or)f Fs(if)p Fw(.)1255 2096 y([)p Fv(Macr)n(o)s +Fw(])-1396 b Fs(unless)34 b Fv(test)21 b Ft(f)7 b Fv(form)p +Ft(g)386 2081 y Fl(\003)0 2173 y Fs(\(unless)20 b Fv(test)h(form1)f +(form2)h Fs(...)g(\))11 b Fw(\014rst)h(ev)n(aluates)g +Fv(test)p Fw(.)17 b(If)11 b(the)h(result)h(is)e Fv(not)h +Fs(nil)p Fw(,)0 2225 y(then)k(the)f Fv(form)p Fw(s)g(are)h(not)f(ev)n +(aluated,)f(and)h Fs(nil)g Fw(is)g(returned.)23 b(Otherwise)16 +b(the)g Fv(form)p Fw(s)0 2277 y(constitute)e(an)e(implicit)e +Fs(progn)h Fw(and)i(are)g(ev)n(aluated)f(sequen)o(tially)g(from)f(left) +h(to)h(righ)o(t,)0 2329 y(and)h(the)g(v)n(alue)f(of)h(the)g(last)g(one) +g(is)g(returned.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 167 191 +167 190 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(167)0 295 y Fs(\(unless)20 b Fv(p)h(a)g(b)h(c)p Fs(\))f +Ft(\021)g Fs(\(cond)f(\(\(not)h Fv(p)p Fs(\))g Fv(a)g(b)g(c)p +Fs(\)\))0 347 y(\(unless)f Fv(p)h(a)g(b)h(c)p Fs(\))f +Ft(\021)g Fs(\(if)g Fv(p)g Fs(nil)g(\(progn)f Fv(a)h(b)g(c)p +Fs(\)\))0 399 y(\(unless)f Fv(p)h(a)g(b)h(c)p Fs(\))f +Ft(\021)g Fs(\(when)f(\(not)h Fv(p)p Fs(\))g Fv(a)g(b)h(c)p +Fs(\))0 486 y Fw(As)15 b(a)f(matter)f(of)h(st)o(yle,)g +Fs(unless)f Fw(is)h(normally)e(used)j(to)f(conditionally)e(pro)q(duce)k +(some)0 538 y(side)i(e\013ects,)h(and)e(the)h(v)n(alue)e(of)h(the)h +Fs(unless)e Fw(form)f(is)i(normally)d(not)k(used.)28 +b(If)17 b(the)0 589 y(v)n(alue)c(is)h(relev)n(an)o(t,)f(then)i(it)f(ma) +o(y)d(b)q(e)k(st)o(ylistically)d(more)h(appropriate)h(to)g(use)h +Fs(if)p Fw(.)1255 728 y([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(cond)41 b Ft(f)p Fs(\()p Fv(test)21 b Ft(f)7 b Fv(form)p +Ft(g)392 712 y Fl(\003)417 728 y Fs(\))p Ft(g)460 712 +y Fl(\003)0 805 y Fw(A)12 b Fs(cond)g Fw(form)f(has)h(a)g(n)o(um)o(b)q +(er)g(\(p)q(ossibly)g(zero\))h(of)f Fv(clauses)p Fw(,)h(whic)o(h)f(are) +h(lists)f(of)g(forms.)0 856 y(Eac)o(h)21 b(clause)g(consists)h(of)e(a)h +Fv(test)f Fw(follo)o(w)o(ed)f(b)o(y)i(zero)g(or)g(more)f +Fv(c)n(onse)n(quents)p Fw(.)39 b(F)m(or)0 908 y(example:)0 +996 y Fs(\(cond)20 b(\()p Fv(test-1)h(c)n(onse)n(quent-1-1)h(c)n(onse)n +(quent-1-2)h Fs(...\))127 1048 y(\()p Fv(test-2)p Fs(\))127 +1100 y(\()p Fv(test-3)e(c)n(onse)n(quent-3-1)h Fs(...\))127 +1151 y(...)f(\))42 1239 y Fw(The)11 b(\014rst)i(clause)f(whose)g +Fv(test)f Fw(ev)n(aluates)g(to)g(non-)p Fs(nil)g Fw(is)g(selected;)j +(all)c(other)i(clauses)0 1291 y(are)i(ignored,)e(and)h(the)h(consequen) +o(ts)h(of)d(the)i(selected)h(clause)f(are)f(ev)n(aluated)g(in)g(order)0 +1342 y(\(as)h(an)g(implicit)d Fs(progn)p Fw(\).)42 1395 +y(More)20 b(sp)q(eci\014cally)m(,)i Fs(cond)d Fw(pro)q(cesses)k(its)e +(clauses)g(in)f(order)h(from)e(left)h(to)h(righ)o(t.)0 +1446 y(F)m(or)e(eac)o(h)g(clause,)h(the)g Fv(test)e Fw(is)h(ev)n +(aluated.)33 b(If)18 b(the)i(result)f(is)g Fs(nil)p Fw(,)g +Fs(cond)f Fw(adv)n(ances)0 1498 y(to)g(the)h(next)g(clause.)32 +b(Otherwise,)21 b(the)e Fv(c)n(dr)f Fw(of)f(the)i(clause)g(is)f +(treated)i(as)e(a)g(list)g(of)0 1550 y(forms,)c(or)i(consequen)o(ts;)j +(these)e(forms)d(are)j(ev)n(aluated)e(in)h(order)g(from)e(left)i(to)g +(righ)o(t,)0 1602 y(as)d(an)f(implicit)f Fs(progn)p Fw(.)16 +b(After)e(ev)n(aluating)d(the)i(consequen)o(ts,)i Fs(cond)d +Fw(returns)i(without)0 1654 y(insp)q(ecting)i(an)o(y)f(remaining)e +(clauses.)23 b(The)16 b Fs(cond)f Fw(sp)q(ecial)g(form)f(returns)j(the) +f(results)0 1706 y(of)11 b(ev)n(aluating)f(the)i(last)f(of)g(the)h +(selected)h(consequen)o(ts;)h(if)d(there)h(w)o(ere)h(no)e(consequen)o +(ts)0 1758 y(in)j(the)i(selected)g(clause,)f(then)g(the)h(single)e +(\(and)h(necessarily)g(non-n)o(ull\))f(v)n(alue)g(of)g(the)0 +1810 y Fv(test)j Fw(is)g(returned.)29 b(If)17 b Fs(cond)g +Fw(runs)g(out)h(of)e(clauses)i(\(ev)o(ery)g(test)h(pro)q(duced)f +Fs(nil)p Fw(,)f(and)0 1862 y(therefore)e(no)f(clause)g(w)o(as)g +(selected\),)i(the)e(v)n(alue)f(of)h(the)g Fs(cond)f +Fw(form)f(is)i Fs(nil)p Fw(.)42 1914 y(If)f(it)g(is)h(desired)g(to)g +(select)h(the)f(last)g(clause)g(unconditionally)e(if)g(all)h(others)h +(fail,)e(the)0 1966 y(standard)f(con)o(v)o(en)o(tion)g(is)g(to)f(use)i +Fs(t)f Fw(for)f(the)i Fv(test)p Fw(.)k(As)c(a)e(matter)h(of)f(st)o +(yle,)h(it)g(is)f(desirable)0 2017 y(to)k(write)h(a)f(last)g(clause)h +Fs(\(t)21 b(nil\))13 b Fw(if)h(the)h(v)n(alue)f(of)f(the)i +Fs(cond)f Fw(form)e(is)j(to)f(b)q(e)h(used)g(for)0 2069 +y(something.)h(Similarly)l(,)9 b(it)i(is)h(in)f(questionable)h(taste)g +(to)g(let)f(the)i(last)e(clause)h(of)f(a)h Fs(cond)0 +2121 y Fw(b)q(e)f(a)g(\\singleton)f(clause";)i(an)e(explicit)h +Fs(t)f Fw(should)h(b)q(e)g(pro)o(vided.)17 b(\(Note)12 +b(moreo)o(v)o(er)e(that)0 2173 y Fs(\(cond)20 b(...)h(\()p +Fv(x)p Fs(\)\))16 b Fw(ma)o(y)f(b)q(eha)o(v)o(e)i(di\013eren)o(tly)g +(from)d Fs(\(cond)21 b(...)f(\(t)h Fv(x)p Fs(\)\))16 +b Fw(if)g Fv(x)h Fw(migh)o(t)0 2225 y(pro)q(duce)c(m)o(ultiple)c(v)n +(alues;)i(the)h(former)f(alw)o(a)o(ys)f(returns)j(a)e(single)h(v)n +(alue,)e(whereas)j(the)0 2277 y(latter)j(returns)h(whatev)o(er)g(v)n +(alues)f Fv(x)g Fw(returns.)25 b(Ho)o(w)o(ev)o(er,)17 +b(as)e(a)h(matter)f(of)g(st)o(yle)h(it)g(is)0 2329 y(preferable)i(to)e +(obtain)g(this)h(b)q(eha)o(vior)f(b)o(y)h(writing)e Fs(\(cond)21 +b(...)f(\(t)h(\(values)f Fv(x)p Fs(\)\)\))p Fw(,)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 168 192 +168 191 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(168)77 b(COMMON)13 +b(LISP)0 295 y Fw(using)i(the)h Fs(values)e Fw(function)g(explicitly)h +(to)g(indicate)g(the)h(discarding)f(of)f(an)o(y)h(excess)0 +347 y(v)n(alues.\))j(F)m(or)13 b(example:)0 437 y Fs(\(setq)20 +b(z)h(\(cond)f(\(a)366 441 y Fn(')389 437 y Fs(foo\))h(\(b)560 +441 y Fn(')583 437 y Fs(bar\)\)\))259 b(;)p Fw(P)o(ossibly)13 +b(confusing)0 489 y Fs(\(setq)20 b(z)h(\(cond)f(\(a)366 +493 y Fn(')389 489 y Fs(foo\))h(\(b)560 493 y Fn(')583 +489 y Fs(bar\))g(\(t)g(nil\)\)\))85 b(;)p Fw(Better)0 +541 y Fs(\(cond)20 b(\(a)h(b\))g(\(c)f(d\))h(\(e\)\))497 +b(;)p Fw(P)o(ossibly)13 b(confusing)0 593 y Fs(\(cond)20 +b(\(a)h(b\))g(\(c)f(d\))h(\(t)g(e\)\))454 b(;)p Fw(Better)0 +645 y Fs(\(cond)20 b(\(a)h(b\))g(\(c)f(d\))h(\(t)g(\(values)f(e\)\)\)) +258 b(;)p Fw(Better)15 b(\(if)f(one)g(v)n(alue)974 697 +y Fs(;)21 b Fw(needed\))0 749 y Fs(\(cond)f(\(a)h(b\))g(\(c\)\))626 +b(;)p Fw(P)o(ossibly)13 b(confusing)0 801 y Fs(\(cond)20 +b(\(a)h(b\))g(\(t)f(c\)\))584 b(;)p Fw(Better)0 852 y +Fs(\(if)21 b(a)g(b)f(c\))758 b(;)p Fw(Also)13 b(b)q(etter)0 +943 y(A)i(Lisp)f Fs(cond)g Fw(form)f(ma)o(y)f(b)q(e)j(compared)f(to)h +(a)f(con)o(tin)o(ued)h Fz(if)p Fw(-)p Fz(then)p Fw(-)p +Fz(el)o(se)c Fw(as)k(found)f(in)0 995 y(man)o(y)e(algebraic)h +(programming)e(languages:)0 1085 y Fs(\(cond)20 b(\()p +Fv(p)h Fs(...\))586 b Fz(if)20 b Fv(p)h Fz(then)f Fs(...)127 +1137 y(\()p Fv(q)h Fs(...\))227 b Fw(roughly)f Fz(else)20 +b(if)g Fv(q)h Fz(then)f Fs(...)127 1189 y(\()p Fv(r)g +Fs(...\))191 b Fw(corresp)q(onds)f Fz(else)20 b(if)g +Fv(r)h Fz(then)e Fs(...)127 1241 y(...)361 b Fw(to)277 +b Fs(...)127 1293 y(\(t)21 b(...\)\))566 b Fz(else)20 +b Fs(...)1255 1447 y Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(case)34 b Fv(keyform)22 b Ft(f)p Fs(\()7 b Ft(f)p +Fs(\()g Ft(f)p Fv(key)p Ft(g)488 1432 y Fl(\003)512 1447 +y Fs(\))15 b Ft(j)g Fv(key)p Ft(g)e(f)7 b Fv(form)p Ft(g)803 +1432 y Fl(\003)828 1447 y Fs(\))p Ft(g)871 1432 y Fl(\003)0 +1525 y Fs(case)13 b Fw(is)h(a)f(conditional)f(that)i(c)o(ho)q(oses)h +(one)f(of)f(its)h(clauses)h(to)e(execute)j(b)o(y)e(comparing)0 +1576 y(a)i(v)n(alue)f(to)h(v)n(arious)f(constan)o(ts,)i(whic)o(h)f(are) +g(t)o(ypically)f(k)o(eyw)o(ord)h(sym)o(b)q(ols,)e(in)o(tegers,)0 +1628 y(or)g(c)o(haracters)h(\(but)g(ma)o(y)d(b)q(e)i(an)o(y)g(ob)r +(jects\).)19 b(Its)14 b(form)e(is)i(as)g(follo)o(ws:)0 +1719 y Fs(\(case)20 b Fv(keyform)42 1771 y Fs(\()p Fv(keylist-1)h(c)n +(onse)n(quent-1-1)h(c)n(onse)n(quent-1-2)h Fs(...\))42 +1823 y(\()p Fv(keylist-2)e(c)n(onse)n(quent-2-1)h Fs(...\))42 +1875 y(\()p Fv(keylist-3)f(c)n(onse)n(quent-3-1)h Fs(...\))42 +1927 y(...\))0 2017 y Fw(Structurally)d Fs(case)f Fw(is)h(m)o(uc)o(h)f +(lik)o(e)g Fs(cond)p Fw(,)h(and)g(it)g(b)q(eha)o(v)o(es)h(lik)o(e)e +Fs(cond)g Fw(in)h(selecting)0 2069 y(one)c(clause)g(and)f(then)h +(executing)g(all)e(consequen)o(ts)k(of)c(that)i(clause.)20 +b(Ho)o(w)o(ev)o(er,)15 b Fs(case)0 2121 y Fw(di\013ers)g(in)e(the)i +(mec)o(hanism)c(of)i(clause)i(selection.)42 2173 y(The)i(\014rst)h +(thing)f Fs(case)g Fw(do)q(es)h(is)f(to)g(ev)n(aluate)g(the)h(form)d +Fv(keyform)i Fw(to)g(pro)q(duce)i(an)0 2225 y(ob)r(ject)14 +b(called)g(the)g Fv(key)h(obje)n(ct)p Fw(.)j(Then)c Fs(case)f +Fw(considers)i(eac)o(h)f(of)f(the)h(clauses)h(in)e(turn.)0 +2277 y(If)e Fv(key)h Fw(is)f(in)g(the)h Fv(keylist)f +Fw(\(that)g(is,)g(is)h Fs(eql)e Fw(to)i(an)o(y)e(item)g(in)h(the)h +Fv(keylist)p Fw(\))f(of)g(a)g(clause,)h(the)0 2329 y(consequen)o(ts)18 +b(of)e(that)g(clause)g(are)h(ev)n(aluated)f(as)g(an)g(implicit)d +Fs(progn)p Fw(;)j Fs(case)f Fw(returns)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 169 193 +169 192 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(169)0 295 y Fw(what)13 b(w)o(as)g(returned)i(b)o(y)e(the)g(last)g +(consequen)o(t)i(\(or)e Fs(nil)g Fw(if)f(there)i(are)g(no)f(consequen)o +(ts)0 347 y(in)g(that)h(clause\).)19 b(If)14 b(no)f(clause)i(is)e +(satis\014ed,)i Fs(case)e Fw(returns)i Fs(nil)p Fw(.)42 +399 y(The)d(k)o(eys)h(in)e(the)i(k)o(eylists)f(are)h +Fv(not)f Fw(ev)n(aluated;)g(literal)f(k)o(ey)i(v)n(alues)f(m)o(ust)f +(app)q(ear)h(in)0 450 y(the)g(k)o(eylists.)18 b(It)11 +b(is)h(an)f(error)i(for)e(the)i(same)e(k)o(ey)g(to)h(app)q(ear)g(in)f +(more)g(than)h(one)g(clause;)0 502 y(a)i(consequence)i(is)e(that)g(the) +h(order)g(of)e(the)i(clauses)g(do)q(es)g(not)f(a\013ect)h(the)g(b)q +(eha)o(vior)e(of)0 554 y(the)h Fs(case)g Fw(construct.)42 +606 y(Instead)f(of)g(a)f Fv(keylist)p Fw(,)g(one)h(ma)o(y)f(write)h +(one)g(of)f(the)i(sym)o(b)q(ols)d Fs(t)i Fw(and)g Fs(otherwise)p +Fw(.)j(A)0 658 y(clause)f(with)g(suc)o(h)g(a)g(sym)o(b)q(ol)e(alw)o(a)o +(ys)h(succeeds)j(and)e(m)o(ust)f(b)q(e)h(the)h(last)e(clause)i(\(this)0 +710 y(is)i(an)g(exception)h(to)f(the)h(order-indep)q(endence)i(of)d +(clauses\).)32 b(See)19 b(also)f Fs(ecase)f Fw(and)0 +762 y Fs(ccase)p Fw(,)11 b(eac)o(h)i(of)e(whic)o(h)h(pro)o(vides)h(an)f +(implicit)d Fs(otherwise)i Fw(clause)i(to)f(signal)f(an)h(error)0 +814 y(if)h(no)h(clause)g(is)g(satis\014ed.)42 866 y(If)c(there)i(is)f +(only)f(one)h(k)o(ey)g(for)g(a)g(clause,)g(then)h(that)f(k)o(ey)g(ma)o +(y)e(b)q(e)i(written)h(in)e(place)h(of)0 917 y(a)i(list)g(of)g(that)h +(k)o(ey)m(,)f(pro)o(vided)g(that)h(no)f(am)o(biguit)o(y)e(results.)19 +b(Suc)o(h)14 b(a)f(\\singleton)g(k)o(ey")0 969 y(ma)o(y)d(not)i(b)q(e)g +Fs(nil)f Fw(\(whic)o(h)h(is)g(confusable)g(with)f Fs(\(\))p +Fw(,)h(a)f(list)g(of)h(no)f(k)o(eys\),)i Fs(t)p Fw(,)e +Fs(otherwise)p Fw(,)0 1021 y(or)j(a)f(cons.)p 0 1081 +V 0 1141 a Fm(Compatibilit)o(y)d(note:)16 b FA(The)c(Lisp)g(Mac)o(hine) +h(Lisp)f Fj(caseq)d FA(construct)j(uses)g Fj(eq)e FA(for)h(the)h(com-)0 +1187 y(parison.)19 b(In)14 b(Lisp)g(Mac)o(hine)h(Lisp)f +Fj(caseq)d FA(therefore)i(w)o(orks)h(for)f(\014xn)o(ums)h(but)g(not)f +(bign)o(ums.)0 1232 y(The)c(MacLisp)i Fj(caseq)c FA(construct)j(simply) +i(prohibits)f(the)f(use)f(of)h(bign)o(ums;)h(indeed,)h(it)e(p)q(ermits) +0 1278 y(only)h(\014xn)o(ums)f(and)g(sym)o(b)q(ols)h(as)e(clause)i(k)o +(eys.)16 b(In)9 b(the)h(in)o(terest)g(of)f(hiding)j(the)d(\014xn)o +(um-bign)o(um)0 1324 y(distinction,)16 b(and)d(for)g(general)i +(language)g(consistency)m(,)f Fj(case)d FA(uses)j Fj(eql)d +FA(in)j(Common)f(Lisp.)42 1369 y(The)f(In)o(terlisp)j +Fj(selectq)10 b FA(construct)k(is)g(similar)h(to)e Fj(case)p +FA(.)p 0 1404 V 1255 1512 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(typecase)33 b Fv(keyform)22 b Ft(f)p Fs(\()p Fv(typ)n(e)f +Ft(f)7 b Fv(form)p Ft(g)646 1497 y Fl(\003)671 1512 y +Fs(\))p Ft(g)714 1497 y Fl(\003)0 1589 y Fs(typecase)16 +b Fw(is)h(a)g(conditional)f(that)i(c)o(ho)q(oses)g(one)g(of)f(its)g +(clauses)i(b)o(y)e(examining)e(the)0 1641 y(t)o(yp)q(e)f(of)g(an)f(ob)r +(ject.)19 b(Its)c(form)d(is)h(as)h(follo)o(ws:)0 1725 +y Fs(\(typecase)19 b Fv(keyform)42 1777 y Fs(\()p Fv(typ)n(e-1)j(c)n +(onse)n(quent-1-1)g(c)n(onse)n(quent-1-2)g Fs(...\))42 +1829 y(\()p Fv(typ)n(e-2)g(c)n(onse)n(quent-2-1)g Fs(...\))42 +1881 y(\()p Fv(typ)n(e-3)g(c)n(onse)n(quent-3-1)g Fs(...\))42 +1933 y(...\))0 2017 y Fw(Structurally)17 b Fs(typecase)e +Fw(is)i(m)o(uc)o(h)e(lik)o(e)i Fs(cond)f Fw(or)g Fs(case)p +Fw(,)h(and)f(it)h(b)q(eha)o(v)o(es)g(lik)o(e)g(them)0 +2069 y(in)e(selecting)i(one)e(clause)i(and)e(then)i(executing)f(all)e +(consequen)o(ts)k(of)d(that)h(clause.)24 b(It)0 2121 +y(di\013ers)15 b(in)e(the)i(mec)o(hanism)c(of)i(clause)i(selection.)42 +2173 y(The)g(\014rst)h(thing)f Fs(typecase)e Fw(do)q(es)j(is)f(to)g(ev) +n(aluate)g(the)g(form)f Fv(keyform)h Fw(to)g(pro)q(duce)0 +2225 y(an)e(ob)r(ject)h(called)f(the)h(k)o(ey)g(ob)r(ject.)k(Then)c +Fs(typecase)e Fw(considers)i(eac)o(h)g(of)f(the)h(clauses)0 +2277 y(in)k(turn.)31 b(The)18 b Fv(typ)n(e)g Fw(that)h(app)q(ears)f(in) +g(eac)o(h)h(clause)f(is)g(a)g(t)o(yp)q(e)h(sp)q(eci\014er;)i(it)d(is)g +(not)0 2329 y(ev)n(aluated)d(but)g(is)g(a)f(literal)g(t)o(yp)q(e)i(sp)q +(eci\014er.)22 b(The)16 b(\014rst)g(clause)f(for)g(whic)o(h)f(the)i(k)o +(ey)f(is)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 170 194 +170 193 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(170)77 b(COMMON)13 +b(LISP)0 295 y Fw(of)j(that)i(clause's)f(sp)q(eci\014ed)i +Fv(typ)n(e)e Fw(is)g(selected,)i(the)f(consequen)o(ts)h(of)d(this)i +(clause)f(are)0 347 y(ev)n(aluated)d(as)h(an)f(implicit)d +Fs(progn)p Fw(,)i(and)i Fs(typecase)d Fw(returns)k(what)f(w)o(as)f +(returned)i(b)o(y)0 399 y(the)f(last)f(consequen)o(t)i(\(or)e +Fs(nil)g Fw(if)g(there)h(are)g(no)f(consequen)o(ts)i(in)e(that)h +(clause\).)20 b(If)14 b(no)0 450 y(clause)g(is)g(satis\014ed,)g +Fs(typecase)e Fw(returns)k Fs(nil)p Fw(.)42 502 y(As)c(for)f +Fs(case)p Fw(,)g(the)h(sym)o(b)q(ol)e Fs(t)i Fw(or)g +Fs(otherwise)d Fw(ma)o(y)h(b)q(e)j(written)f(for)f Fv(typ)n(e)h +Fw(to)g(indicate)0 554 y(that)e(the)h(clause)g(should)f(alw)o(a)o(ys)g +(b)q(e)h(selected.)18 b(See)12 b(also)d Fs(etypecase)g +Fw(and)h Fs(ctypecase)p Fw(,)0 606 y(eac)o(h)16 b(of)f(whic)o(h)g(pro)o +(vides)g(an)g(implicit)e Fs(otherwise)h Fw(clause)i(to)f(signal)f(an)h +(error)h(if)f(no)0 658 y(clause)f(is)g(satis\014ed.)42 +710 y(It)i(is)g(p)q(ermissible)g(for)f(more)h(than)g(one)g(clause)h(to) +f(sp)q(ecify)h(a)f(giv)o(en)g(t)o(yp)q(e,)h(partic-)0 +762 y(ularly)d(if)g(one)h(is)g(a)f(subt)o(yp)q(e)i(of)e(another;)h(the) +h(earliest)f(applicable)f(clause)i(is)e(c)o(hosen.)0 +814 y(Th)o(us)i(for)f Fs(typecase)p Fw(,)f(unlik)o(e)h +Fs(case)p Fw(,)g(the)h(order)h(of)e(the)h(clauses)h(ma)o(y)c(a\013ect)k +(the)f(b)q(e-)0 866 y(ha)o(vior)d(of)g(the)i(construct.)k(F)m(or)14 +b(example:)0 953 y Fs(\(typecase)19 b(an-object)64 1005 +y(\(string)g(...\))310 b(;)p Fw(This)14 b(clause)g(handles)g(strings)64 +1057 y Fs(\(\(array)19 b(t\))i(...\))245 b(;)p Fw(This)14 +b(clause)g(handles)g(general)g(arra)o(ys)64 1109 y Fs(\(\(array)19 +b(bit\))i(...\))201 b(;)p Fw(This)14 b(clause)g(handles)g(bit)g(arra)o +(ys)64 1161 y Fs(\(array)19 b(...\))332 b(;)p Fw(This)14 +b(handles)g(all)e(other)j(arra)o(ys)64 1212 y Fs(\(\(or)20 +b(list)g(number\))g(...\))93 b(;)p Fw(This)14 b(handles)g(lists)g(and)f +(n)o(um)o(b)q(ers)64 1264 y Fs(\(t)20 b(...\)\))397 b(;)p +Fw(This)14 b(handles)g(all)e(other)j(ob)r(jects)0 1351 +y(A)h(Common)d(Lisp)j(compiler)f(ma)o(y)g(c)o(ho)q(ose)i(to)f(issue)h +(a)f(w)o(arning)f(if)h(a)g(clause)h(cannot)0 1403 y(b)q(e)e(selected)g +(b)q(ecause)h(it)d(is)h(completely)f(shado)o(w)o(ed)h(b)o(y)f(earlier)i +(clauses.)0 1561 y Fo(7.7.)20 b(Blo)r(c)n(ks)14 b(and)i(Exits)0 +1648 y Fw(The)c Fs(block)e Fw(and)h Fs(return-from)e +Fw(constructs)14 b(pro)o(vide)d(a)g(structured)i(lexical)e(non-lo)q +(cal)0 1700 y(exit)j(facilit)o(y)m(.)i(A)o(t)e(an)o(y)f(p)q(oin)o(t)g +(lexically)g(within)g(a)h Fs(block)e Fw(construct,)j(a)f +Fs(return-from)0 1752 y Fw(with)e(the)h(same)e(name)g(ma)o(y)f(b)q(e)j +(used)g(to)f(p)q(erform)f(an)h(immediate)d(transfer)k(of)f(con)o(trol)0 +1804 y(that)20 b(exits)g(from)e(the)i Fs(block)p Fw(.)34 +b(In)19 b(the)i(most)d(common)f(cases)k(this)f(mec)o(hanism)d(is)0 +1856 y(more)12 b(e\016cien)o(t)h(than)f(the)i(dynamic)c(non-lo)q(cal)i +(exit)h(facilit)o(y)d(pro)o(vided)j(b)o(y)f Fs(catch)g +Fw(and)0 1908 y Fs(throw)p Fw(,)g(describ)q(ed)k(in)d(section)i(7.11.) +1145 2044 y([)p Fv(Sp)n(e)n(cial)g(form)s Fw(])-1396 +b Fs(block)34 b Fv(name)22 b Ft(f)7 b Fv(form)p Ft(g)398 +2029 y Fl(\003)0 2121 y Fw(The)k Fs(block)f Fw(construct)i(executes)h +(eac)o(h)f Fv(form)e Fw(from)f(left)h(to)h(righ)o(t,)g(returning)g +(whatev)o(er)0 2173 y(is)h(returned)i(b)o(y)e(the)h(last)f +Fv(form)p Fw(.)k(If,)c(ho)o(w)o(ev)o(er,)g(a)g Fs(return)f +Fw(or)h Fs(return-from)e Fw(form)h(that)0 2225 y(sp)q(eci\014es)16 +b(the)f(same)e Fv(name)h Fw(is)g(executed)i(during)e(the)h(execution)f +(of)g(some)f Fv(form)p Fw(,)g(then)0 2277 y(the)g(results)h(sp)q +(eci\014ed)g(b)o(y)e(the)h Fs(return)e Fw(or)h Fs(return-from)e +Fw(are)j(immediately)c(returned)0 2329 y(as)h(the)g(v)n(alue)f(of)g +(the)i Fs(block)d Fw(construct,)k(and)e(execution)g(pro)q(ceeds)i(as)e +(if)f(the)h Fs(block)f Fw(had)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 171 195 +171 194 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(171)0 295 y Fw(terminated)14 b(normally)m(.)j(In)e(this,)f +Fs(block)g Fw(di\013ers)h(from)e Fs(progn)p Fw(;)g(the)j +Fs(progn)d Fw(construct)0 347 y(has)h(nothing)f(to)h(do)g(with)f +Fs(return)p Fw(.)42 399 y(The)j Fv(name)h Fw(is)f(not)g(ev)n(aluated;)g +(it)g(m)o(ust)f(b)q(e)i(a)e(sym)o(b)q(ol.)23 b(The)17 +b(scop)q(e)g(of)e(the)i Fv(name)0 451 y Fw(is)g(lexical;)g(only)g(a)g +Fs(return)f Fw(or)h Fs(return-from)e Fw(textually)h(con)o(tained)h(in)g +(some)f Fv(form)0 503 y Fw(can)f(exit)g(from)e(the)i(blo)q(c)o(k.)21 +b(The)15 b(exten)o(t)h(of)e(the)i(name)d(is)i(dynamic.)k(Therefore)d +(it)f(is)0 555 y(only)d(p)q(ossible)g(to)h(exit)f(from)f(a)h(giv)o(en)g +(run-time)g(incarnation)g(of)f(a)i(blo)q(c)o(k)f(once,)h(either)0 +607 y(normally)e(or)j(b)o(y)g(explicit)f(return.)42 659 +y(The)j Fs(defun)f Fw(form)f(implicitly)f(puts)k(a)f +Fs(block)f Fw(around)h(the)h(b)q(o)q(dy)f(of)f(the)i(function)0 +711 y(de\014ned;)i(the)f Fs(block)d Fw(has)j(the)f(same)f(name)g(as)h +(the)g(function.)27 b(Therefore)19 b(one)e(ma)o(y)0 763 +y(use)e Fs(return-from)c Fw(to)j(return)h(prematurely)e(from)g(a)g +(function)h(de\014ned)h(b)o(y)e Fs(defun)p Fw(.)42 816 +y(The)f(lexical)g(scoping)g(of)g(the)h(blo)q(c)o(k)f(name)f(is)h(fully) +g(general)g(and)g(has)h(consequences)0 868 y(that)h(ma)o(y)d(b)q(e)j +(surprising)g(to)f(users)i(and)f(implem)o(en)o(tors)e(of)h(other)h +(Lisp)f(systems.)18 b(F)m(or)0 920 y(example,)g(the)i +Fs(return-from)c Fw(in)i(the)i(follo)o(wing)c(example)h(actually)h(do)q +(es)i(w)o(ork)e(in)0 971 y(Common)11 b(Lisp)i(as)h(one)g(migh)o(t)e +(exp)q(ect:)0 1064 y Fs(\(block)20 b(loser)64 1116 y(\(catch)213 +1120 y Fn(')237 1116 y Fs(stuff)127 1167 y(\(mapcar)g(#)301 +1163 y(-)301 1171 y(-)m Fn(')344 1167 y Fs(\(lambda)f(\(x\))i(\(if)g +(\(numberp)e(x\))677 1219 y(\(hairyfun)h(x\))677 1271 +y(\(return-from)f(loser)h(nil\)\)\))296 1323 y(items\)\)\))0 +1415 y Fw(Dep)q(ending)d(on)f(the)h(situation,)e(a)h +Fs(return)f Fw(in)h(Common)d(Lisp)j(ma)o(y)f(not)h(b)q(e)h(simple.)0 +1466 y(A)e Fs(return)e Fw(can)i(break)g(up)f(catc)o(hers)j(if)c +(necessary)k(to)d(get)h(to)f(the)i(blo)q(c)o(k)e(in)g(question.)0 +1518 y(It)g(is)g(p)q(ossible)g(for)f(a)h(\\closure")g(created)h(b)o(y)f +Fs(function)e Fw(for)i(a)f(lam)o(b)q(da-expression)g(to)0 +1570 y(refer)i(to)f(a)f(blo)q(c)o(k)h(name)f(as)g(long)g(as)h(the)h +(name)e(is)g(lexically)g(apparen)o(t.)1145 1732 y([)p +Fv(Sp)n(e)n(cial)i(form)s Fw(])-1396 b Fs(return-from)33 +b Fv(name)22 b Fw([)p Fv(r)n(esult)p Fw(])0 1809 y Fs(return-from)8 +b Fw(is)j(used)g(to)g(return)h(from)d(a)h Fs(block)f +Fw(or)i(from)e(suc)o(h)i(constructs)i(as)e Fs(do)f Fw(and)0 +1861 y Fs(prog)j Fw(that)i(implicitly)c(establish)j(a)g +Fs(block)p Fw(.)19 b(The)14 b Fv(name)h Fw(is)f(not)h(ev)n(aluated)f +(and)g(m)o(ust)0 1913 y(b)q(e)i(a)f(sym)o(b)q(ol.)22 +b(A)15 b Fs(block)g Fw(construct)i(with)e(the)h(same)f(name)f(m)o(ust)h +(lexically)f(enclose)0 1965 y(the)g(o)q(ccurrence)i(of)d +Fs(return-from)p Fw(;)d(whatev)o(er)k(the)g(ev)n(aluation)e(of)h +Fv(r)n(esult)f Fw(pro)q(duces)j(is)0 2017 y(immediately)7 +b(returned)12 b(from)d(the)j(blo)q(c)o(k.)k(\(If)11 b(the)g +Fv(r)n(esult)f Fw(form)e(is)j(omitted,)e(it)i(defaults)0 +2069 y(to)j Fs(nil)p Fw(.)19 b(As)c(a)f(matter)f(of)h(st)o(yle,)g(this) +h(form)d(ough)o(t)i(to)g(b)q(e)h(used)g(to)f(indicate)h(that)f(the)0 +2121 y(particular)g(v)n(alue)f(returned)i(do)q(esn't)g(matter.\))42 +2173 y(The)20 b Fs(return-from)d Fw(form)h(itself)i(nev)o(er)g(returns) +i(and)d(cannot)h(ha)o(v)o(e)g(a)f(v)n(alue;)j(it)0 2225 +y(causes)e(results)f(to)f(b)q(e)h(returned)g(from)e(a)h +Fs(block)f Fw(construct.)32 b(If)18 b(the)h(ev)n(aluation)d(of)0 +2277 y Fv(r)n(esult)j Fw(pro)q(duces)j(m)o(ultiple)17 +b(v)n(alues,)k(those)g(m)o(ultiple)d(v)n(alues)h(are)i(returned)g(b)o +(y)f(the)0 2329 y(construct)c(exited.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 172 196 +172 195 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(172)77 b(COMMON)13 +b(LISP)1255 295 y Fw([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(return)41 +b Fw([)p Fv(r)n(esult)p Fw(])0 372 y Fs(\(return)20 b +Fv(form)p Fs(\))d Fw(is)g(iden)o(tical)h(in)f(meaning)f(to)i +Fs(\(return-from)h(nil)h Fv(form)p Fs(\))p Fw(;)f(it)e(re-)0 +423 y(turns)k(from)d(a)h(blo)q(c)o(k)h(named)f Fs(nil)p +Fw(.)35 b(Blo)q(c)o(ks)20 b(established)h(implicitly)c(b)o(y)i +(iteration)0 475 y(constructs)d(suc)o(h)f(as)f Fs(do)g +Fw(are)h(named)e Fs(nil)p Fw(,)g(so)h(that)g Fs(return)f +Fw(will)g(exit)h(prop)q(erly)g(from)0 527 y(suc)o(h)h(a)e(construct.)0 +666 y Fo(7.8.)20 b(Iteration)0 748 y Fw(Common)10 b(Lisp)i(pro)o(vides) +h(a)g(n)o(um)o(b)q(er)f(of)h(iteration)f(constructs.)20 +b(The)13 b Fs(loop)f Fw(construct)0 800 y(pro)o(vides)f(a)g(trivial)f +(iteration)h(facilit)o(y;)e(it)i(is)g(little)g(more)f(than)h(a)g +Fs(progn)f Fw(with)g(a)h(branc)o(h)0 852 y(from)e(the)i(b)q(ottom)e +(bac)o(k)i(to)f(the)i(top.)k(The)c Fs(do)e Fw(and)g Fs(do*)g +Fw(constructs)j(pro)o(vide)d(a)h(general)0 904 y(iteration)f(facilit)o +(y)g(for)g(con)o(trolling)f(the)j(v)n(ariation)d(of)h(sev)o(eral)h(v)n +(ariables)g(on)f(eac)o(h)h(cycle.)0 956 y(F)m(or)i(sp)q(ecialized)g +(iterations)g(o)o(v)o(er)g(the)h(elemen)o(ts)e(of)h(a)f(list)h(or)g +Fv(n)g Fw(consecutiv)o(e)h(in)o(tegers,)0 1008 y Fs(dolist)8 +b Fw(and)i Fs(dotimes)e Fw(are)i(pro)o(vided.)17 b(The)10 +b Fs(tagbody)e Fw(construct)k(is)d(the)h(most)f(general,)0 +1060 y(p)q(ermitting)h(arbitrary)i Fs(go)f Fw(statemen)o(ts)h(within)f +(it.)17 b(\(The)12 b(traditional)e Fs(prog)h Fw(construct)0 +1111 y(is)k(a)f(syn)o(thesis)i(of)e Fs(tagbody)p Fw(,)f +Fs(block)p Fw(,)h(and)g Fs(let)p Fw(.\))21 b(Most)15 +b(of)f(the)h(iteration)g(constructs)0 1163 y(p)q(ermit)e(statically)g +(de\014ned)i(non-lo)q(cal)e(exits)h(\(see)h Fs(return-from)d +Fw(and)h Fs(return)p Fw(\).)0 1302 y Fo(7.8.1.)20 b(Inde\014nite)14 +b(Iteration)0 1384 y Fw(The)h Fs(loop)e Fw(construct)j(is)e(the)h +(simplest)e(iteration)h(facilit)o(y)m(.)i(It)f(con)o(trols)f(no)g(v)n +(ariables,)0 1436 y(and)g(simply)e(executes)k(its)e(b)q(o)q(dy)f(rep)q +(eatedly)m(.)1255 1554 y([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(loop)41 b Ft(f)7 b Fv(form)p Ft(g)264 1539 y Fl(\003)0 +1631 y Fw(Eac)o(h)18 b Fv(form)e Fw(is)i(ev)n(aluated)f(in)g(turn)g +(from)f(left)h(to)g(righ)o(t.)28 b(When)18 b(the)g(last)f +Fv(form)g Fw(has)0 1682 y(b)q(een)e(ev)n(aluated,)f(then)h(the)f +(\014rst)h Fv(form)f Fw(is)g(ev)n(aluated)g(again,)f(and)h(so)g(on,)f +(in)h(a)g(nev)o(er-)0 1734 y(ending)h(cycle.)24 b(The)16 +b Fs(loop)f Fw(construct)i(nev)o(er)g(returns)g(a)e(v)n(alue.)22 +b(Its)16 b(execution)h(m)o(ust)0 1786 y(b)q(e)e(terminated)e +(explicitly)m(,)f(using)h Fs(return)g Fw(or)h Fs(throw)p +Fw(,)e(for)i(example.)42 1838 y Fs(loop)p Fw(,)j(lik)o(e)g(most)g +(iteration)h(constructs,)i(establishes)f(an)f(implicit)d(blo)q(c)o(k)j +(named)0 1890 y Fs(nil)p Fw(.)f(Th)o(us)e Fs(return)d +Fw(ma)o(y)g(b)q(e)j(used)f(to)g(exit)g(from)e(a)i Fs(loop)f +Fw(with)g(sp)q(eci\014ed)j(results.)42 1942 y(A)11 b +Fs(loop)g Fw(construct)j(has)e(this)g(meaning)e(only)h(if)g(ev)o(ery)h +Fv(form)f Fw(is)h(non-atomic)e(\(a)i(list\).)-38 1917 +y Fk(.)-38 1930 y(.)-38 1943 y(.)-38 1956 y(.)-38 1969 +y(.)-38 1982 y(.)-38 1995 y(.)-38 2008 y(.)-38 2021 y(.)-38 +2034 y(.)-38 2047 y(.)-38 2060 y(.)-38 2073 y(.)-38 2086 +y(.)-38 2099 y(.)-38 2111 y(.)-38 2124 y(.)-38 2137 y(.)-38 +2150 y(.)-38 2163 y(.)-38 2176 y(.)-38 2189 y(.)-38 2202 +y(.)-38 2215 y(.)-38 2228 y(.)-38 2241 y(.)-38 2254 y(.)-38 +2267 y(.)-38 2280 y(.)-38 2293 y(.)-38 2306 y(.)-38 2319 +y(.)-38 2332 y(.)-38 2345 y(.)-38 2358 y(.)-38 2371 y(.)-38 +2384 y(.)-38 2397 y(.)-38 2410 y(.)-38 2423 y(.)-38 2436 +y(.)-38 2449 y(.)-38 2462 y(.)-38 2475 y(.)-38 2488 y(.)-38 +2501 y(.)-38 2514 y(.)-38 2527 y(.)-38 2540 y(.)-38 2553 +y(.)-38 2566 y(.)-38 2578 y(.)-38 2591 y(.)-38 2604 y(.)-38 +2617 y(.)-38 2630 y(.)-38 2643 y(.)-38 2656 y(.)-38 2669 +y(.)-38 2682 y(.)-38 2695 y(.)-38 2708 y(.)-38 2721 y(.)-38 +2734 y(.)-38 2747 y(.)-38 2760 y(.)-38 2773 y(.)-38 2786 +y(.)-38 2799 y(.)-38 2812 y(.)-38 2825 y(.)-38 2838 y(.)-38 +2851 y(.)-38 2864 y(.)-38 2877 y(.)-38 2890 y(.)-38 2903 +y(.)-38 2916 y(.)-38 2929 y(.)-38 2942 y(.)-38 2955 y(.)-38 +2968 y(.)-38 2981 y(.)-38 2994 y(.)-38 3007 y(.)-38 3020 +y(.)-38 3033 y(.)-38 3045 y(.)-38 3058 y(.)-38 3071 y(.)-38 +3084 y(.)-38 3097 y(.)-38 3110 y(.)-38 3123 y(.)-38 3136 +y(.)-38 3149 y(.)-38 3162 y(.)-38 3175 y(.)-38 3188 y(.)-38 +3201 y(.)-38 3214 y(.)-38 3227 y(.)-38 3240 y(.)-38 3253 +y(.)-38 3266 y(.)-38 3279 y(.)-38 3292 y(.)-38 3305 y(.)-38 +3318 y(.)-38 3331 y(.)-38 3344 y(.)-38 3357 y(.)-38 3370 +y(.)-38 3383 y(.)-38 3396 y(.)-38 3409 y(.)-38 3422 y(.)-38 +3435 y(.)-38 3448 y(.)-38 3461 y(.)-38 3474 y(.)-38 3487 +y(.)-38 3500 y(.)-38 3512 y(.)-38 3525 y(.)-38 3538 y(.)-38 +3551 y(.)-38 3564 y(.)-38 3577 y(.)-38 3590 y(.)-38 3603 +y(.)-38 3616 y(.)-38 3629 y(.)-38 3642 y(.)-38 3655 y(.)-38 +3668 y(.)-38 3681 y(.)-38 3694 y(.)-38 3707 y(.)-38 3720 +y(.)-38 3733 y(.)-38 3746 y(.)-38 3759 y(.)-38 3772 y(.)-38 +3785 y(.)-38 3798 y(.)-38 3811 y(.)-38 3824 y(.)-38 3837 +y(.)-38 3850 y(.)-38 3863 y(.)-38 3876 y(.)-38 3889 y(.)-38 +3902 y(.)-38 3915 y(.)-38 3928 y(.)-38 3941 y(.)-38 3954 +y(.)-38 3967 y(.)-38 3979 y(.)-38 3992 y(.)-38 4005 y(.)-38 +4018 y(.)-38 4031 y(.)-38 4044 y(.)-38 4057 y(.)-38 4070 +y(.)-38 4083 y(.)-38 4096 y(.)-38 4109 y(.)-38 4122 y(.)-38 +4135 y(.)-38 4148 y(.)-38 4161 y(.)-38 4174 y(.)-38 4187 +y(.)-38 4200 y(.)-38 4213 y(.)-38 4226 y(.)-38 4239 y(.)-38 +4252 y(.)-38 4265 y(.)-38 4278 y(.)-38 4291 y(.)-38 4304 +y(.)-38 4317 y(.)-38 4330 y(.)-38 4343 y(.)-38 4356 y(.)-38 +4369 y(.)-38 4382 y(.)-38 4395 y(.)-38 4408 y(.)-38 4421 +y(.)-38 4434 y(.)-38 4446 y(.)-38 4459 y(.)-38 4472 y(.)-38 +4485 y(.)-38 4498 y(.)0 1994 y Fw(The)i(case)h(where)g(some)e +Fv(form)g Fw(is)h(atomic)e(is)i(reserv)o(ed)i(for)d(future)i +(extensions.)p 0 2054 V 0 2114 a Fm(Implemen)o(tation)c(note:)16 +b FA(There)c(ha)o(v)o(e)g(b)q(een)g(sev)o(eral)h(prop)q(osals)g(for)e +(a)h(p)q(o)o(w)o(erful)g(iteration)0 2159 y(mec)o(hanism)17 +b(to)e(b)q(e)g(called)i Fj(loop)p FA(.)k(One)15 b(v)o(ersion)i(is)f +(pro)o(vided)h(in)e(Lisp)h(Mac)o(hine)h(Lisp.)24 b(Im-)0 +2205 y(plemen)o(tors)16 b(are)f(encouraged)i(to)d(exp)q(erimen)o(t)j +(with)e(extensions)i(to)d(the)h Fj(loop)e FA(syn)o(tax,)j(but)0 +2251 y(users)d(should)g(b)q(e)g(advised)g(that)g(in)g(all)g(lik)o +(eliho)q(o)r(d)i(some)d(sp)q(eci\014c)i(set)e(of)f(extensions)j(to)e +Fj(loop)0 2296 y FA(will)j(b)q(e)e(adopted)h(in)g(a)f(future)g +(revision)i(of)e(Common)g(Lisp.)p 0 2329 V -33 2340 a +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 173 197 +173 196 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(173)42 295 y Fw(X3J13)18 b(v)o(oted)g(in)g(Jan)o(uary)g(1989)g +Ft(h)p Fw(115)p Ft(i)g Fw(to)g(include)g(just)h(suc)o(h)g(an)f +(extension)h(of)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a Fs(loop)p Fw(.)e(See)e(c)o(hapter)g(26.)-33 +358 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 521 a Fo(7.8.2.)20 b(General)14 b(Iteration)0 +614 y Fw(In)i(con)o(trast)h(to)f Fs(loop)p Fw(,)f Fs(do)h +Fw(and)g Fs(do*)f Fw(pro)o(vide)h(a)g(p)q(o)o(w)o(erful)g(and)g +(general)g(mec)o(hanism)0 666 y(for)e(rep)q(etitiv)o(ely)g +(recalculating)f(man)o(y)f(v)n(ariables.)1255 823 y([)p +Fv(Macr)n(o)s Fw(])-1396 b Fs(do)35 b(\()7 b Ft(f)p Fs(\()p +Fv(var)20 b Fw([)p Fv(init)h Fw([)p Fv(step)p Fw(])7 +b(])g Fs(\))p Ft(g)489 808 y Fl(\003)513 823 y Fs(\))65 +875 y(\()p Fv(end-test)21 b Ft(f)p Fv(r)n(esult)p Ft(g)391 +860 y Fl(\003)416 875 y Fs(\))72 927 y Ft(f)p Fv(de)n(clar)n(ation)p +Ft(g)311 912 y Fl(\003)358 927 y Ft(f)p Fv(tag)14 b Ft(j)h +Fv(statement)p Ft(g)670 912 y Fl(\003)1255 979 y Fw([)p +Fv(Macr)n(o)s Fw(])-1396 b Fs(do*)34 b(\()7 b Ft(f)p +Fs(\()p Fv(var)21 b Fw([)p Fv(init)g Fw([)p Fv(step)p +Fw(])7 b(])g Fs(\))p Ft(g)511 964 y Fl(\003)535 979 y +Fs(\))87 1030 y(\()p Fv(end-test)21 b Ft(f)p Fv(r)n(esult)p +Ft(g)413 1015 y Fl(\003)438 1030 y Fs(\))93 1082 y Ft(f)p +Fv(de)n(clar)n(ation)p Ft(g)332 1067 y Fl(\003)380 1082 +y Ft(f)p Fv(tag)14 b Ft(j)h Fv(statement)p Ft(g)692 1067 +y Fl(\003)0 1160 y Fw(The)d Fs(do)f Fw(sp)q(ecial)h(form)e(pro)o(vides) +i(a)g(generalized)g(iteration)f(facilit)o(y)m(,)f(with)h(an)h +(arbitrary)0 1212 y(n)o(um)o(b)q(er)i(of)g(\\index)h(v)n(ariables.")k +(These)d(v)n(ariables)e(are)h(b)q(ound)g(within)f(the)h(iteration)0 +1264 y(and)d(stepp)q(ed)i(in)e(parallel)g(in)g(sp)q(eci\014ed)i(w)o(a)o +(ys.)j(They)c(ma)o(y)d(b)q(e)j(used)h(b)q(oth)e(to)g(generate)0 +1315 y(successiv)o(e)j(v)n(alues)e(of)g(in)o(terest)h(\(suc)o(h)g(as)f +(successiv)o(e)j(in)o(tegers\))e(or)f(to)g(accum)o(ulate)f(re-)0 +1367 y(sults.)18 b(When)12 b(an)f(end)i(condition)e(is)h(met,)f(the)h +(iteration)g(terminates)f(with)h(a)f(sp)q(eci\014ed)0 +1419 y(v)n(alue.)42 1472 y(In)i(general,)h(a)g Fs(do)f +Fw(lo)q(op)g(lo)q(oks)g(lik)o(e)h(this:)0 1563 y Fs(\(do)21 +b(\(\()p Fv(var1)f(init1)h(step1)p Fs(\))106 1615 y(\()p +Fv(var2)g(init2)g(step2)p Fs(\))106 1667 y(...)106 1719 +y(\()p Fv(varn)g(initn)g(stepn)p Fs(\)\))85 1771 y(\()p +Fv(end-test)g Fs(.)g Fv(r)n(esult)p Fs(\))49 1822 y Ft(f)p +Fv(de)n(clar)n(ation)s Ft(g)291 1807 y Fl(\003)42 1874 +y Fs(.)g Fv(tagb)n(o)n(dy)p Fs(\))0 1965 y Fw(A)c Fs(do*)g +Fw(lo)q(op)f(lo)q(oks)h(exactly)g(the)h(same)e(except)i(that)g(the)f +(name)f Fs(do)h Fw(is)g(replaced)h(b)o(y)0 2017 y Fs(do*)p +Fw(.)42 2069 y(The)13 b(\014rst)h(item)e(in)h(the)h(form)e(is)h(a)g +(list)g(of)f(zero)i(or)g(more)e(index-v)n(ariable)g(sp)q(eci\014ers.)0 +2121 y(Eac)o(h)i(index-v)n(ariable)f(sp)q(eci\014er)j(is)e(a)g(list)g +(of)f(the)i(name)e(of)g(a)h(v)n(ariable)f Fv(var)p Fw(,)h(an)g(initial) +0 2173 y(v)n(alue)g Fv(init)p Fw(,)h(and)g(a)f(stepping)i(form)d +Fv(step)p Fw(.)21 b(If)15 b Fv(init)g Fw(is)f(omitted,)g(it)g(defaults) +i(to)e Fs(nil)p Fw(.)21 b(If)0 2225 y Fv(step)11 b Fw(is)g(omitted,)e +(the)j Fv(var)e Fw(is)h(not)g(c)o(hanged)g(b)o(y)f(the)i +Fs(do)e Fw(construct)j(b)q(et)o(w)o(een)f(rep)q(etitions)0 +2277 y(\(though)i(co)q(de)i(within)e(the)h Fs(do)f Fw(is)g(free)h(to)g +(alter)f(the)h(v)n(alue)f(of)g(the)h(v)n(ariable)f(b)o(y)g(using)0 +2329 y Fs(setq)p Fw(\).)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 174 198 +174 197 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(174)77 b(COMMON)13 +b(LISP)42 295 y Fw(An)h(index-v)n(ariable)f(sp)q(eci\014er)j(can)e +(also)f(b)q(e)i(just)g(the)f(name)f(of)h(a)g(v)n(ariable.)k(In)c(this)0 +347 y(case,)g(the)g(v)n(ariable)f(has)g(an)g(initial)f(v)n(alue)h(of)g +Fs(nil)f Fw(and)i(is)f(not)g(c)o(hanged)h(b)q(et)o(w)o(een)h(rep-)0 +399 y(etitions.)j(As)d(a)e(matter)h(of)f(st)o(yle,)h(it)g(is)f +(recommended)h(that)g(an)f(unadorned)i(v)n(ariable)0 +450 y(name)c(b)q(e)h(written)g(only)f(when)i(that)f(v)n(ariable)e(will) +h(b)q(e)h(stored)h(in)o(to)e(\(suc)o(h)i(as)f(b)o(y)f +Fs(setq)p Fw(\))0 502 y(b)q(efore)j(its)f(\014rst)g(use.)19 +b(If)12 b(it)h(is)g(imp)q(ortan)o(t)e(that)i(the)g(initial)e(v)n(alue)h +(b)q(e)i Fs(nil)e Fw(rather)i(than)0 554 y(some)g(unde\014ned)i(v)n +(alue,)d(then)j(it)e(is)h(clearer)g(to)g(write)g(out)f +Fs(\()p Fv(varj)21 b Fs(nil\))14 b Fw(if)f(the)j(initial)0 +606 y(v)n(alue)11 b(is)g(in)o(tended)h(to)g(mean)e(\\false,")h(or)g +Fs(\()p Fv(varj)772 610 y Fn(')796 606 y Fs(\(\)\))g +Fw(if)f(the)i(initial)e(v)n(alue)h(is)g(in)o(tended)0 +658 y(to)j(b)q(e)g(an)g(empt)o(y)f(list.)42 710 y(X3J13)j(v)o(oted)i +(in)e(Jan)o(uary)h(1989)f Ft(h)p Fw(182)p Ft(i)h Fw(to)g(regularize)h +(the)f(binding)f(formats)g(for)-33 681 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 762 a Fs(do)p Fw(,)f Fs(do*)p Fw(,)g Fs(let)p +Fw(,)g Fs(let*)p Fw(,)g Fs(prog)p Fw(,)g Fs(prog*)p Fw(,)f(and)i +Fs(compiler-let)p Fw(.)21 b(In)16 b(the)g(case)h(of)e +Fs(do)g Fw(and)0 814 y Fs(do*)i Fw(the)h(\014rst)h(edition)e(w)o(as)g +(inconsisten)o(t;)j(the)e(formal)d(syn)o(tax)j(fails)e(to)i(re\015ect)h +(the)0 866 y(fact)d(that)g(a)g(simple)e(v)n(ariable)h(name)g(ma)o(y)f +(app)q(ear,)j(as)f(describ)q(ed)i(in)d(the)i(preceding)0 +917 y(paragraph.)h(The)c(de\014nitions)g(should)g(read)-33 +1008 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 1036 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(do)35 b(\()7 b Ft(f)p Fv(var)14 b Ft(j)g Fs(\()p +Fv(var)21 b Fw([)p Fv(init)g Fw([)p Fv(step)p Fw(])7 +b(])g Fs(\))p Ft(g)588 1021 y Fl(\003)612 1036 y Fs(\))65 +1088 y(\()p Fv(end-test)21 b Ft(f)p Fv(r)n(esult)p Ft(g)391 +1073 y Fl(\003)416 1088 y Fs(\))72 1140 y Ft(f)p Fv(de)n(clar)n(ation)p +Ft(g)311 1125 y Fl(\003)358 1140 y Ft(f)p Fv(tag)14 b +Ft(j)h Fv(statement)p Ft(g)670 1125 y Fl(\003)1255 1192 +y Fw([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(do*)34 b(\()7 +b Ft(f)p Fv(var)15 b Ft(j)f Fs(\()p Fv(var)21 b Fw([)p +Fv(init)g Fw([)p Fv(step)p Fw(])7 b(])g Fs(\))p Ft(g)610 +1177 y Fl(\003)634 1192 y Fs(\))87 1244 y(\()p Fv(end-test)21 +b Ft(f)p Fv(r)n(esult)p Ft(g)413 1229 y Fl(\003)438 1244 +y Fs(\))93 1296 y Ft(f)p Fv(de)n(clar)n(ation)p Ft(g)332 +1281 y Fl(\003)380 1296 y Ft(f)p Fv(tag)14 b Ft(j)h Fv(statement)p +Ft(g)692 1281 y Fl(\003)0 1372 y Fw(for)f(consistency)h(with)e(the)i +(reading)f(of)f(the)h(\014rst)h(edition)e(and)h(the)h(X3J13)e(v)o(ote.) +-33 1384 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1447 a(Before)j(the)h(\014rst)f(iteration,)g(all)e(the) +j Fv(init)e Fw(forms)f(are)j(ev)n(aluated,)e(and)h(eac)o(h)g +Fv(var)g Fw(is)0 1499 y(b)q(ound)c(to)f(the)i(v)n(alue)e(of)g(its)g +(resp)q(ectiv)o(e)j Fv(init)p Fw(.)j(This)12 b(is)f(a)h(binding,)e(not) +i(an)f(assignmen)o(t;)0 1550 y(when)16 b(the)g(lo)q(op)f(terminates,)h +(the)g(old)f(v)n(alues)g(of)h(those)g(v)n(ariables)f(will)f(b)q(e)i +(restored.)0 1602 y(F)m(or)f Fs(do)p Fw(,)f Fv(al)r(l)h +Fw(of)f(the)i Fv(init)f Fw(forms)f(are)h(ev)n(aluated)g +Fv(b)n(efor)n(e)g Fw(an)o(y)f Fv(var)h Fw(is)g(b)q(ound;)g(hence)i(all) +0 1654 y(the)g Fv(init)g Fw(forms)e(ma)o(y)g(refer)j(to)e(the)i(old)e +(bindings)g(of)g(all)g(the)h(v)n(ariables)f(\(that)h(is,)g(to)0 +1706 y(the)g(v)n(alues)e(visible)h(b)q(efore)h(b)q(eginning)e +(execution)i(of)e(the)i Fs(do)f Fw(construct\).)26 b(F)m(or)16 +b Fs(do*)p Fw(,)0 1758 y(the)e(\014rst)g Fv(init)f Fw(form)e(is)i(ev)n +(aluated,)g(then)h(the)g(\014rst)g Fv(var)f Fw(is)g(b)q(ound)g(to)g +(that)h(v)n(alue,)e(then)0 1810 y(the)17 b(second)g Fv(init)f +Fw(form)f(is)h(ev)n(aluated,)g(then)h(the)g(second)h +Fv(var)e Fw(is)g(b)q(ound,)h(and)f(so)g(on;)0 1862 y(in)i(general,)i +(the)f Fv(initj)f Fw(form)f(can)i(refer)h(to)e(the)i +Fv(new)f Fw(binding)e Fv(vark)i Fw(if)f Fv(k)24 b Fh(<)c +Fv(j)6 b Fw(,)19 b(and)0 1914 y(otherwise)c(to)f(the)g +Fv(old)g Fw(binding)f(of)g Fv(vark)p Fw(.)42 1966 y(The)k(second)h +(elemen)o(t)f(of)f(the)i(lo)q(op)e(is)h(a)g(list)f(of)h(an)f +(end-testing)i(predicate)g(form)0 2017 y Fv(end-test)g +Fw(and)h(zero)g(or)f(more)g Fv(r)n(esult)f Fw(forms.)30 +b(This)18 b(resem)o(bles)h(a)f Fs(cond)g Fw(clause.)32 +b(A)o(t)0 2069 y(the)15 b(b)q(eginning)e(of)h(eac)o(h)h(iteration,)e +(after)i(pro)q(cessing)g(the)g(v)n(ariables,)e(the)i +Fv(end-test)f Fw(is)0 2121 y(ev)n(aluated.)j(If)12 b(the)h(result)f(is) +g Fs(nil)p Fw(,)g(execution)g(pro)q(ceeds)i(with)e(the)h(b)q(o)q(dy)f +(of)f(the)i Fs(do)f Fw(\(or)0 2173 y Fs(do*)p Fw(\))i(form.)i(If)e(the) +h(result)g(is)e(not)h Fs(nil)p Fw(,)f(the)i Fv(r)n(esult)e +Fw(forms)g(are)h(ev)n(aluated)g(in)g(order)h(as)0 2225 +y(an)f(implicit)e Fs(progn)p Fw(,)27 b(and)14 b(then)h +Fs(do)f Fw(returns.)21 b Fs(do)14 b Fw(returns)i(the)f(results)g(of)f +(ev)n(aluating)0 2277 y(the)g(last)g Fv(r)n(esult)f Fw(form.)j(If)d +(there)j(are)e(no)f Fv(r)n(esult)g Fw(forms,)f(the)j(v)n(alue)e(of)g +Fs(do)g Fw(is)h Fs(nil)p Fw(.)j(Note)0 2329 y(that)f(this)g(is)g(not)g +(quite)g(analogous)f(to)h(the)h(treatmen)o(t)f(of)f(clauses)i(in)f(a)g +Fs(cond)f Fw(form,)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 175 199 +175 198 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(175)0 295 y Fw(b)q(ecause)14 b(a)e Fs(cond)f Fw(clause)h(with)g(no)g +Fv(r)n(esult)f Fw(forms)g(returns)j(the)e(\(non-)p Fs(nil)p +Fw(\))g(result)h(of)e(the)0 347 y(test.)42 403 y(A)o(t)j(the)h(b)q +(eginning)f(of)g(eac)o(h)h(iteration)f(other)h(than)f(the)h(\014rst,)g +(the)g(index)f(v)n(ariables)0 455 y(are)j(up)q(dated)f(as)h(follo)o +(ws.)23 b(All)15 b(the)i Fv(step)f Fw(forms)f(are)h(ev)n(aluated,)g +(from)f(left)h(to)g(righ)o(t,)0 507 y(and)g(the)g(resulting)g(v)n +(alues)f(are)h(assigned)g(to)g(the)g(resp)q(ectiv)o(e)i(index)e(v)n +(ariables.)23 b(An)o(y)0 559 y(v)n(ariable)15 b(that)h(has)g(no)f(asso) +q(ciated)i Fv(step)f Fw(form)e(is)h(not)h(assigned)g(to.)24 +b(F)m(or)15 b Fs(do)p Fw(,)h(all)e(the)0 610 y Fv(step)k +Fw(forms)f(are)h(ev)n(aluated)g(b)q(efore)g(an)o(y)g(v)n(ariable)f(is)h +(up)q(dated;)i(the)e(assignmen)o(t)f(of)0 662 y(v)n(alues)d(to)g(v)n +(ariables)g(is)g(done)g(in)g(parallel,)f(as)h(if)g(b)o(y)g +Fs(psetq)p Fw(.)k(Because)e Fv(al)r(l)e Fw(of)g(the)h +Fv(step)0 714 y Fw(forms)d(are)j(ev)n(aluated)e(b)q(efore)i +Fv(any)g Fw(of)e(the)h(v)n(ariables)f(are)i(altered,)f(a)f +Fv(step)h Fw(form)e(when)0 766 y(ev)n(aluated)j(alw)o(a)o(ys)f(has)h +(access)h(to)f(the)h Fv(old)e Fw(v)n(alues)h(of)f Fv(al)r(l)h +Fw(the)g(index)g(v)n(ariables,)f(ev)o(en)0 818 y(if)g(other)i +Fv(step)e Fw(forms)g(precede)j(it.)j(F)m(or)15 b Fs(do*)p +Fw(,)f(the)h(\014rst)h Fv(step)f Fw(form)e(is)i(ev)n(aluated,)f(then)0 +870 y(the)h(v)n(alue)f(is)h(assigned)g(to)f(the)h(\014rst)h +Fv(var)p Fw(,)e(then)h(the)h(second)f Fv(step)g Fw(form)e(is)h(ev)n +(aluated,)0 922 y(then)k(the)h(v)n(alue)e(is)g(assigned)h(to)g(the)g +(second)h Fv(var)p Fw(,)f(and)g(so)f(on;)i(the)g(assignmen)o(t)d(of)0 +974 y(v)n(alues)f(to)h(v)n(ariables)f(is)h(done)g(sequen)o(tially)m(,)f +(as)h(if)e(b)o(y)i Fs(setq)p Fw(.)23 b(F)m(or)15 b(either)i +Fs(do)e Fw(or)h Fs(do*)p Fw(,)0 1026 y(after)f(the)g(v)n(ariables)f(ha) +o(v)o(e)h(b)q(een)h(up)q(dated,)f(the)g Fv(end-test)g +Fw(is)g(ev)n(aluated)f(as)h(describ)q(ed)0 1077 y(ab)q(o)o(v)o(e,)e +(and)h(the)g(iteration)g(con)o(tin)o(ues.)42 1134 y(If)c(the)h +Fv(end-test)f Fw(of)g(a)g Fs(do)g Fw(form)f(is)h Fs(nil)p +Fw(,)g(the)h(test)h(will)c(nev)o(er)k(succeed.)19 b(Therefore)12 +b(this)0 1185 y(pro)o(vides)h(an)g(idiom)e(for)i(\\do)g(forev)o(er":)18 +b(the)13 b Fv(b)n(o)n(dy)h Fw(of)f(the)h Fs(do)e Fw(is)h(executed)i +(rep)q(eatedly)m(,)0 1237 y(stepping)d(v)n(ariables)f(as)g(usual.)17 +b(\(The)12 b Fs(loop)f Fw(construct)i(p)q(erforms)e(a)g(\\do)g(forev)o +(er")h(that)0 1289 y(steps)h(no)f(v)n(ariables.\))17 +b(The)12 b(in\014nite)g(lo)q(op)f(can)h(b)q(e)h(terminated)e(b)o(y)h +(the)g(use)h(of)e Fs(return)p Fw(,)0 1341 y Fs(return-from)p +Fw(,)g Fs(go)j Fw(to)f(an)h(outer)g(lev)o(el,)f(or)h +Fs(throw)p Fw(.)j(F)m(or)d(example:)0 1470 y Fs(\(do)21 +b(\(\(j)f(0)h(\(+)g(j)g(1\)\)\))85 1521 y(\(nil\))507 +b(;)p Fw(Do)13 b(forev)o(er)42 1573 y Fs(\(format)20 +b(t)h(")279 1577 y Fn(~)302 1573 y Fs(\045Input)452 1577 +y Fn(~)475 1573 y Fs(D:")g(j\))42 1625 y(\(let)g(\(\(item)f +(\(read\)\)\))85 1677 y(\(if)g(\(null)g(item\))h(\(return\))104 +b(;)p Fw(Pro)q(cess)15 b(items)e(un)o(til)g Fs(nil)h +Fw(seen)169 1729 y Fs(\(format)20 b(t)h(")406 1733 y +Fn(~)429 1729 y Fs(&Output)601 1733 y Fn(~)624 1729 y +Fs(D:)686 1733 y Fn(~)710 1729 y Fs(S")g(j)g(\(process)e +(item\)\)\)\)\))42 1853 y Fw(The)c(remainder)g(of)g(the)h +Fs(do)f Fw(form)f(constitutes)j(an)e(implicit)e Fs(tagbody)p +Fw(.)21 b(T)m(ags)15 b(ma)o(y)0 1905 y(app)q(ear)i(within)e(the)i(b)q +(o)q(dy)g(of)f(a)g Fs(do)g Fw(lo)q(op)f(for)h(use)h(b)o(y)f +Fs(go)g Fw(statemen)o(ts)h(app)q(earing)f(in)0 1957 y(the)g(b)q(o)q(dy) +f(\(but)g(suc)o(h)h Fs(go)f Fw(statemen)o(ts)g(ma)o(y)e(not)i(app)q +(ear)h(in)e(the)i(v)n(ariable)e(sp)q(eci\014ers,)0 2009 +y(the)g Fv(end-test)p Fw(,)g(or)f(the)i Fv(r)n(esult)d +Fw(forms\).)17 b(When)d(the)g(end)h(of)e(a)g Fs(do)g +Fw(b)q(o)q(dy)h(is)g(reac)o(hed,)g(the)0 2061 y(next)g(iteration)g +(cycle)g(\(b)q(eginning)g(with)f(the)i(ev)n(aluation)d(of)i +Fv(step)g Fw(forms\))e(o)q(ccurs.)42 2117 y(An)19 b(implicit)d +Fs(block)j Fw(named)f Fs(nil)g Fw(surrounds)j(the)f(en)o(tire)g +Fs(do)e Fw(form.)33 b(A)19 b Fs(return)0 2169 y Fw(statemen)o(t)14 +b(ma)o(y)e(b)q(e)i(used)h(at)f(an)o(y)f(p)q(oin)o(t)h(to)f(exit)h(the)h +(lo)q(op)e(imm)o(ediately)m(.)42 2225 y Fs(declare)g +Fw(forms)h(ma)o(y)f(app)q(ear)i(at)g(the)h(b)q(eginning)e(of)h(a)f +Fs(do)h Fw(b)q(o)q(dy)m(.)21 b(They)16 b(apply)e(to)0 +2277 y(co)q(de)h(in)e(the)h Fs(do)g Fw(b)q(o)q(dy)m(,)f(to)g(the)i +(bindings)e(of)g(the)i Fs(do)e Fw(v)n(ariables,)f(to)i(the)h +Fv(init)e Fw(forms,)f(to)0 2329 y(the)i Fv(step)g Fw(forms,)e(to)i(the) +h Fv(end-test)p Fw(,)e(and)h(to)g(the)g Fv(r)n(esult)f +Fw(forms.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 176 200 +176 199 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(176)77 b(COMMON)13 +b(LISP)p 0 295 V 0 357 a Fm(Compatibilit)o(y)d(note:)17 +b FA(\\Old-st)o(yle")d(MacLisp)f Fj(do)e FA(lo)q(ops,)i(that)f(is,)h +(those)f(of)f(the)h(form)g Fj(\(do)0 402 y Fq(var)18 +b(init)g(step)f(end)p Fj(-)p Fq(test)f Fj(.)i Fq(b)n(o)n(dy)p +Fj(\))p FA(,)11 b(are)h(not)h(supp)q(orted)i(in)e(Common)g(Lisp.)18 +b(Suc)o(h)c(old-st)o(yle)0 448 y(lo)q(ops)g(are)e(considered)j +(obsolete)f(and)f(in)g(an)o(y)g(case)g(are)f(easily)i(con)o(v)o(erted)g +(to)e(a)g(new-st)o(yle)i Fj(do)0 494 y FA(with)g(the)g(insertion)h(of)f +(three)f(pairs)i(of)e(paren)o(theses.)20 b(In)14 b(practice)g(the)g +(compiler)h(can)f(catc)o(h)0 539 y(nearly)i(all)g(instances)g(of)e +(old-st)o(yle)i Fj(do)d FA(lo)q(ops)j(b)q(ecause)g(they)f(will)h(not)e +(ha)o(v)o(e)h(a)g(legal)h(format)0 585 y(an)o(yw)o(a)o(y)m(.)p +0 638 V 42 789 a Fw(Here)f(are)f(some)f(examples)g(of)g(the)i(use)f(of) +g Fs(do)p Fw(:)0 891 y Fs(\(do)21 b(\(\(i)f(0)h(\(+)g(i)g(1\)\))105 +b(;)p Fw(Sets)15 b(ev)o(ery)f(n)o(ull)f(elemen)o(t)h(of)f +Fs(a-vector)f Fw(to)i(zero)106 942 y Fs(\(n)21 b(\(length)e +(a-vector\)\)\))85 994 y(\(\()129 990 y(U)129 998 y(U)171 +994 y(i)i(n\)\))42 1046 y(\(when)f(\(null)h(\(aref)f(a-vector)f(i\)\)) +85 1098 y(\(setf)h(\(aref)g(a-vector)f(i\))i(0\)\)\))0 +1198 y Fw(The)14 b(construction)0 1299 y Fs(\(do)21 b(\(\(x)f(e)h +(\(cdr)f(x\)\))106 1351 y(\(oldx)g(x)h(x\)\))85 1403 +y(\(\(null)f(x\)\))42 1455 y Fv(b)n(o)n(dy)p Fs(\))0 +1555 y Fw(exploits)9 b(parallel)g(assignmen)o(t)g(to)g(index)h(v)n +(ariables.)16 b(On)10 b(the)g(\014rst)g(iteration,)g(the)g(v)n(alue)0 +1607 y(of)16 b Fs(oldx)g Fw(is)h(whatev)o(er)h(v)n(alue)e +Fs(x)h Fw(had)g(b)q(efore)h(the)f Fs(do)g Fw(w)o(as)g(en)o(tered.)29 +b(On)17 b(succeeding)0 1659 y(iterations,)c Fs(oldx)g +Fw(con)o(tains)h(the)h(v)n(alue)e(that)h Fs(x)f Fw(had)h(on)g(the)g +(previous)h(iteration.)42 1712 y(V)m(ery)f(often)g(an)g(iterativ)o(e)g +(algorithm)d(can)j(b)q(e)h(most)e(clearly)h(expressed)i(en)o(tirely)e +(in)0 1764 y(the)g Fv(step)g Fw(forms)f(of)g(a)h Fs(do)p +Fw(,)f(and)g(the)i Fv(b)n(o)n(dy)f Fw(is)g(empt)o(y)m(.)i(F)m(or)e +(example,)0 1866 y Fs(\(do)21 b(\(\(x)f(foo)h(\(cdr)f(x\)\))106 +1918 y(\(y)h(bar)f(\(cdr)h(y\)\))106 1969 y(\(z)168 1973 +y Fn(')192 1969 y Fs(\(\))g(\(cons)f(\(f)g(\(car)h(x\))g(\(car)f(y\)\)) +g(z\)\)\))85 2021 y(\(\(or)g(\(null)g(x\))h(\(null)f(y\)\))106 +2073 y(\(nreverse)f(z\)\)\))0 2173 y Fw(do)q(es)e(the)f(same)f(thing)g +(as)h Fs(\(mapcar)k(#)612 2169 y(-)612 2177 y(-)m Fn(')655 +2173 y Fs(f)h(foo)f(bar\))p Fw(.)j(Note)16 b(that)g(the)g +Fv(step)g Fw(compu-)0 2225 y(tation)e(for)g Fs(z)g Fw(exploits)g(the)h +(fact)f(that)g(v)n(ariables)g(are)g(stepp)q(ed)i(in)e(parallel.)k +(Also,)c(the)0 2277 y(b)q(o)q(dy)d(of)f(the)h(lo)q(op)f(is)h(empt)o(y)m +(.)k(Finally)m(,)9 b(the)j(use)f(of)f Fs(nreverse)f Fw(to)i(put)g(an)g +(accum)o(ulated)0 2329 y Fs(do)i Fw(lo)q(op)h(result)g(in)o(to)f(the)i +(correct)g(order)g(is)f(a)f(standard)i(idiom.)g(Another)g(example:)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 177 201 +177 200 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(177)0 295 y Fs(\(defun)20 b(list-reverse)f(\(list\))148 +347 y(\(do)i(\(\(x)f(list)h(\(cdr)f(x\)\))254 399 y(\(y)317 +403 y Fn(')340 399 y Fs(\(\))h(\(cons)f(\(car)g(x\))h(y\)\)\))233 +450 y(\(\(endp)f(x\))h(y\)\)\))0 535 y Fw(Note)16 b(the)h(use)g(of)e +Fs(endp)g Fw(rather)i(than)f Fs(null)f Fw(or)g Fs(atom)h +Fw(to)f(test)i(for)f(the)g(end)h(of)e(a)h(list;)0 587 +y(this)e(ma)o(y)e(result)j(in)e(more)g(robust)h(co)q(de.)42 +639 y(As)e(an)g(example)f(of)g(nested)j(lo)q(ops,)d(supp)q(ose)i(that)g +Fs(env)e Fw(holds)h(a)f(list)h(of)f(conses.)19 b(The)0 +691 y Fv(c)n(ar)13 b Fw(of)f(eac)o(h)i(cons)g(is)f(a)f(list)h(of)g(sym) +o(b)q(ols,)e(and)i(the)h Fv(c)n(dr)e Fw(of)h(eac)o(h)g(cons)h(is)f(a)g +(list)g(of)f(equal)0 743 y(length)g(con)o(taining)f(corresp)q(onding)h +(v)n(alues.)18 b(Suc)o(h)12 b(a)f(data)h(structure)i(is)e(similar)d(to) +j(an)0 795 y(asso)q(ciation)h(list)f(but)h(is)g(divided)g(in)o(to)f +(\\frames";)f(the)j(o)o(v)o(erall)e(structure)j(resem)o(bles)e(a)0 +847 y(rib)h(cage.)k(A)c(lo)q(okup)f(function)h(on)f(suc)o(h)i(a)f(data) +f(structure)j(migh)o(t)c(b)q(e)0 932 y Fs(\(defun)20 +b(ribcage-lookup)e(\(sym)j(ribcage\))148 984 y(\(do)g(\(\(r)f(ribcage)g +(\(cdr)g(r\)\)\))233 1036 y(\(\(null)g(r\))h(nil\))191 +1088 y(\(do)f(\(\(s)h(\(caar)f(r\))h(\(cdr)f(s\)\))296 +1139 y(\(v)h(\(cdar)f(r\))h(\(cdr)f(v\)\)\))275 1191 +y(\(\(null)g(s\)\))233 1243 y(\(when)g(\(eq)h(\(car)f(s\))h(sym\))275 +1295 y(\(return-from)e(ribcage-lookup)f(\(car)j(v\)\)\)\)\)\))0 +1380 y Fw(\(Notice)c(the)f(use)h(of)e(inden)o(tation)g(in)h(the)h(ab)q +(o)o(v)o(e)e(example)g(to)h(set)g(o\013)g(the)h(b)q(o)q(dies)f(of)0 +1432 y(the)e Fs(do)g Fw(lo)q(ops.\))42 1484 y(A)9 b Fs(do)g +Fw(lo)q(op)g(ma)o(y)f(b)q(e)i(explained)f(in)g(terms)h(of)f(the)h(more) +e(primitiv)o(e)g(constructs)j Fs(block)p Fw(,)0 1536 +y Fs(return)p Fw(,)h Fs(let)p Fw(,)h Fs(loop)p Fw(,)f +Fs(tagbody)p Fw(,)g(and)i Fs(psetq)f Fw(as)h(follo)o(ws:)0 +1621 y Fs(\(block)20 b(nil)42 1673 y(\(let)h(\(\()p Fv(var1)f(init1)p +Fs(\))169 1725 y(\()p Fv(var2)h(init2)p Fs(\))169 1777 +y(...)169 1829 y(\()p Fv(varn)g(initn)p Fs(\)\))92 1880 +y Ft(f)p Fv(de)n(clar)n(ation)s Ft(g)334 1865 y Fl(\003)85 +1932 y Fs(\(loop)f(\(when)g Fv(end-test)h Fs(\(return)f(\(progn)g(.)h +Fv(r)n(esult)p Fs(\)\)\))212 1984 y(\(tagbody)e(.)i Fv(tagb)n(o)n(dy)p +Fs(\))212 2036 y(\(psetq)f Fv(var1)h(step1)360 2088 y(var2)g(step2)360 +2140 y Fs(...)360 2192 y Fv(varn)g(stepn)p Fs(\)\)\)\))0 +2277 y(do*)13 b Fw(is)h(exactly)g(lik)o(e)f Fs(do)g Fw(except)i(that)f +(the)g(bindings)g(and)f(steppings)i(of)e(the)h(v)n(ariables)0 +2329 y(are)k(p)q(erformed)f(sequen)o(tially)g(rather)h(than)g(in)f +(parallel.)27 b(It)18 b(is)f(as)h(if,)f(in)g(the)h(ab)q(o)o(v)o(e)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 178 202 +178 201 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(178)77 b(COMMON)13 +b(LISP)0 295 y Fw(explanation,)f Fs(let)i Fw(w)o(ere)g(replaced)h(b)o +(y)f Fs(let*)f Fw(and)h Fs(psetq)e Fw(w)o(ere)j(replaced)g(b)o(y)f +Fs(setq)p Fw(.)0 469 y Fo(7.8.3.)20 b(Simple)13 b(Iteration)g +(Constructs)0 562 y Fw(The)18 b(constructs)j Fs(dolist)16 +b Fw(and)i Fs(dotimes)f Fw(execute)j(a)d(b)q(o)q(dy)h(of)g(co)q(de)h +(once)g(for)e(eac)o(h)0 614 y(v)n(alue)h(tak)o(en)g(b)o(y)g(a)g(single) +g(v)n(ariable.)30 b(They)18 b(are)h(expressible)h(in)d(terms)h(of)g +Fs(do)p Fw(,)h(but)0 666 y(capture)c(v)o(ery)f(common)d(patterns)k(of)f +(use.)42 718 y(Both)j Fs(dolist)e Fw(and)i Fs(dotimes)e +Fw(p)q(erform)h(a)g(b)q(o)q(dy)h(of)f(statemen)o(ts)h(rep)q(eatedly)m +(.)27 b(On)0 770 y(eac)o(h)20 b(iteration)g(a)f(sp)q(eci\014ed)j(v)n +(ariable)c(is)i(b)q(ound)g(to)g(an)f(elemen)o(t)g(of)h(in)o(terest)h +(that)0 822 y(the)c(b)q(o)q(dy)g(ma)o(y)d(examine.)25 +b Fs(dolist)15 b Fw(examines)h(successiv)o(e)i(elemen)o(ts)f(of)e(a)i +(list,)f(and)0 874 y Fs(dotimes)c Fw(examines)g(in)o(tegers)i(from)d(0) +i(to)g Fv(n)e Ft(\000)d Fw(1)13 b(for)g(some)f(sp)q(eci\014ed)i(p)q +(ositiv)o(e)f(in)o(teger)0 926 y Fv(n)p Fw(.)42 978 y(The)g(v)n(alue)g +(of)f(an)o(y)h(of)f(these)j(constructs)g(ma)o(y)c(b)q(e)j(sp)q +(eci\014ed)h(b)o(y)d(an)h(optional)f(result)0 1030 y(form,)g(whic)o(h)h +(if)g(omitted)g(defaults)h(to)g(the)g(v)n(alue)f Fs(nil)p +Fw(.)42 1083 y(The)i Fs(return)f Fw(statemen)o(t)g(ma)o(y)f(b)q(e)j +(used)g(to)f(return)h(imm)o(ediately)c(from)h(a)i Fs(dolist)0 +1135 y Fw(or)j Fs(dotimes)e Fw(form,)h(discarding)h(an)o(y)g(follo)o +(wing)d(iterations)j(that)g(migh)o(t)e(ha)o(v)o(e)i(b)q(een)0 +1186 y(p)q(erformed;)c(in)g(e\013ect,)h(a)f Fs(block)g +Fw(named)f Fs(nil)g Fw(surrounds)j(the)f(construct.)21 +b(The)15 b(b)q(o)q(dy)0 1238 y(of)f(the)g(lo)q(op)g(is)g(implicitly)d +(a)j Fs(tagbody)f Fw(construct;)i(it)f(ma)o(y)e(con)o(tain)i(tags)g(to) +g(serv)o(e)i(as)0 1290 y(the)d(targets)g(of)f Fs(go)f +Fw(statemen)o(ts.)18 b(Declarations)12 b(ma)o(y)f(app)q(ear)h(b)q +(efore)h(the)g(b)q(o)q(dy)f(of)g(the)0 1342 y(lo)q(op.)1255 +1498 y([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(dolist)34 b(\()p +Fv(var)14 b(listform)20 b Fw([)p Fv(r)n(esultform)p Fw(])7 +b Fs(\))159 1550 y Ft(f)p Fv(de)n(clar)n(ation)p Ft(g)398 +1535 y Fl(\003)445 1550 y Ft(f)p Fv(tag)15 b Ft(j)f Fv(statement)p +Ft(g)757 1535 y Fl(\003)0 1628 y Fs(dolist)i Fw(pro)o(vides)h(straigh)o +(tforw)o(ard)g(iteration)g(o)o(v)o(er)g(the)h(elemen)o(ts)f(of)g(a)g +(list.)27 b(First)0 1679 y Fs(dolist)19 b Fw(ev)n(aluates)h(the)h(form) +d Fv(listform)p Fw(,)i(whic)o(h)g(should)g(pro)q(duce)h(a)f(list.)36 +b(It)20 b(then)0 1731 y(executes)14 b(the)e(b)q(o)q(dy)g(once)h(for)e +(eac)o(h)h(elemen)o(t)f(in)h(the)g(list,)f(in)h(order,)g(with)f(the)i +(v)n(ariable)0 1783 y Fv(var)k Fw(b)q(ound)h(to)g(the)g(elemen)o(t.)29 +b(Then)18 b Fv(r)n(esultform)e Fw(\(a)h(single)h(form,)e +Fv(not)i Fw(an)f(implicit)0 1835 y Fs(progn)p Fw(\))e(is)g(ev)n +(aluated,)h(and)f(the)i(result)f(is)g(the)g(v)n(alue)f(of)g(the)h +Fs(dolist)f Fw(form.)21 b(\(When)0 1887 y(the)13 b Fv(r)n(esultform)f +Fw(is)g(ev)n(aluated,)g(the)i(con)o(trol)e(v)n(ariable)g +Fv(var)g Fw(is)h(still)f(b)q(ound)h(and)f(has)h(the)0 +1939 y(v)n(alue)g Fs(nil)p Fw(.\))18 b(If)13 b Fv(r)n(esultform)g +Fw(is)g(omitted,)f(the)j(result)g(is)e Fs(nil)p Fw(.)0 +2030 y Fs(\(dolist)20 b(\(x)236 2034 y Fn(')260 2030 +y Fs(\(a)g(b)h(c)g(d\)\))g(\(prin1)f(x\))h(\(princ)e(")i("\)\))g +Ft(\))g Fs(nil)64 2082 y Fw(after)14 b(prin)o(ting)f(\\)p +Fs(a)20 b(b)h(c)g(d)g Fw(")14 b(\(note)g(the)h(trailing)d(space\))42 +2172 y(An)f(explicit)f Fs(return)f Fw(statemen)o(t)i(ma)o(y)e(b)q(e)j +(used)f(to)g(terminate)f(the)i(lo)q(op)e(and)h(return)0 +2224 y(a)j(sp)q(eci\014ed)h(v)n(alue.)42 2277 y(X3J13)j(v)o(oted)h(in)f +(Jan)o(uary)h(1989)f Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g +(side)f(e\013ects;)k(see)d(sec-)-33 2249 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a(tion)13 b(7.9.)-33 2340 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 179 203 +179 202 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(179)1255 295 y Fw([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(dotimes)34 +b(\()p Fv(var)14 b(c)n(ountform)22 b Fw([)p Fv(r)n(esultform)p +Fw(])7 b Fs(\))181 347 y Ft(f)p Fv(de)n(clar)n(ation)p +Ft(g)420 332 y Fl(\003)467 347 y Ft(f)p Fv(tag)14 b Ft(j)h +Fv(statement)p Ft(g)779 332 y Fl(\003)0 428 y Fs(dotimes)f +Fw(pro)o(vides)i(straigh)o(tforw)o(ard)f(iteration)g(o)o(v)o(er)h(a)f +(sequence)j(of)d(in)o(tegers.)24 b(The)0 480 y(expression)15 +b Fs(\(dotimes)20 b(\()p Fv(var)g(c)n(ountform)i(r)n(esultform)p +Fs(\))d(.)i Fv(pr)n(o)n(gb)n(o)n(dy)p Fs(\))14 b Fw(ev)n(aluates)g(the) +0 532 y(form)e Fv(c)n(ountform)p Fw(,)i(whic)o(h)g(should)g(pro)q(duce) +h(an)f(in)o(teger.)20 b(It)14 b(then)h(p)q(erforms)f +Fv(pr)n(o)n(gb)n(o)n(dy)0 583 y Fw(once)g(for)e(eac)o(h)i(in)o(teger)f +(from)e(zero)j(\(inclusiv)o(e\))f(to)g Fv(c)n(ount)h +Fw(\(exclusiv)o(e\),)f(in)g(order,)g(with)0 635 y(the)19 +b(v)n(ariable)f Fv(var)g Fw(b)q(ound)h(to)g(the)g(in)o(teger;)i(if)d +(the)h(v)n(alue)f(of)g Fv(c)n(ountform)h Fw(is)f(zero)i(or)0 +687 y(negativ)o(e,)e(then)h(the)f Fv(pr)n(o)n(gb)n(o)n(dy)g +Fw(is)g(p)q(erformed)f(zero)i(times.)28 b(Finally)m(,)17 +b Fv(r)n(esultform)f Fw(\(a)0 739 y(single)d(form,)e +Fv(not)i Fw(an)g(implicit)d Fs(progn)p Fw(\))i(is)h(ev)n(aluated,)f +(and)h(the)h(result)g(is)e(the)i(v)n(alue)e(of)0 791 +y(the)g Fs(dotimes)e Fw(form.)15 b(\(When)c(the)h Fv(r)n(esultform)e +Fw(is)h(ev)n(aluated,)g(the)h(con)o(trol)f(v)n(ariable)f +Fv(var)0 843 y Fw(is)g(still)g(b)q(ound)h(and)f(has)h(as)g(its)f(v)n +(alue)g(the)h(n)o(um)o(b)q(er)f(of)g(times)g(the)h(b)q(o)q(dy)g(w)o(as) +f(executed.\))0 895 y(If)k Fv(r)n(esultform)e Fw(is)i(omitted,)e(the)i +(result)h(is)f Fs(nil)p Fw(.)42 951 y(An)d(explicit)f +Fs(return)f Fw(statemen)o(t)i(ma)o(y)e(b)q(e)j(used)f(to)g(terminate)f +(the)i(lo)q(op)e(and)h(return)0 1003 y(a)j(sp)q(eci\014ed)h(v)n(alue.) +42 1059 y(Here)g(is)e(an)h(example)f(of)g(the)h(use)h(of)e +Fs(dotimes)g Fw(in)g(pro)q(cessing)i(strings:)0 1187 +y Fs(;;;)21 b(True)f(if)h(the)f(specified)g(subsequence)e(of)j(the)g +(string)f(is)g(a)0 1239 y(;;;)h(palindrome)e(\(reads)h(the)g(same)g +(forwards)g(and)h(backwards\).)0 1343 y(\(defun)f(palindromep)f +(\(string)h(&optional)572 1395 y(\(start)g(0\))572 1447 +y(\(end)g(\(length)g(string\)\)\))42 1499 y(\(dotimes)g(\(k)h(\(floor)f +(\(-)g(end)h(start\))f(2\))h(t\))85 1550 y(\(unless)e(\(char-equal)g +(\(char)h(string)g(\(+)h(start)f(k\)\))508 1602 y(\(char)g(string)g +(\(-)h(end)f(k)h(1\)\)\))127 1654 y(\(return)f(nil\)\)\)\))0 +1758 y(\(palindromep)f("Able)h(was)g(I)h(ere)g(I)g(saw)f(Elba"\))g +Ft(\))h Fs(t)0 1862 y(\(palindromep)e("A)h(man,)h(a)g(plan,)f(a)h +(canal--Panama!"\))d Ft(\))i Fs(nil)0 1966 y(\(remove-if-not)e(#)326 +1962 y(-)326 1970 y(-)n Fn(')369 1966 y Fs(alpha-char-p)104 +b(;)p Fw(Remo)o(v)o(e)12 b(punctuation)318 2017 y Fs("A)20 +b(man,)h(a)g(plan,)f(a)h(canal--Panama!"\))64 2069 y +Ft(\))f Fs("AmanaplanacanalPa)o(nama")0 2173 y(\(palindromep)21 +2225 y(\(remove-if-not)e(#)347 2221 y(-)347 2229 y(-)n +Fn(')390 2225 y Fs(alpha-char-p)339 2277 y("A)i(man,)h(a)g(plan,)f(a)h +(canal--Panama!"\)\))d Ft(\))i Fs(t)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 180 204 +180 203 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(180)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(palindromep)21 347 y(\(remove-if-not)64 +399 y(#)64 395 y(-)64 403 y(-)m Fn(')106 399 y Fs(alpha-char-p)64 +450 y("Unremarkable)18 b(was)j(I)g(ere)f(I)h(saw)g(Elba)f(Kramer,)g +(nu?"\)\))g Ft(\))g Fs(t)0 554 y(\(palindromep)21 606 +y(\(remove-if-not)64 658 y(#)64 654 y(-)64 662 y(-)m +Fn(')106 658 y Fs(alpha-char-p)64 710 y("A)g(man,)h(a)g(plan,)f(a)h +(cat,)f(a)h(ham,)f(a)h(yak,)402 762 y(a)g(yam,)g(a)g(hat,)f(a)h +(canal--Panama!"\)\))c Ft(\))k Fs(t)0 814 y(\(palindromep)21 +866 y(\(remove-if-not)64 917 y(#)64 913 y(-)64 921 y(-)m +Fn(')106 917 y Fs(alpha-char-p)64 969 y("Ja-da,)e(ja-da,)h(ja-da)g +(ja-da)g(jing)h(jing)f(jing"\)\))g Ft(\))h Fs(nil)42 +1076 y Fw(Altering)16 b(the)i(v)n(alue)e(of)g Fv(var)h +Fw(in)f(the)i(b)q(o)q(dy)f(of)f(the)h(lo)q(op)f(\(b)o(y)h(using)g +Fs(setq)p Fw(,)f(for)h(ex-)0 1128 y(ample\))f(will)g(ha)o(v)o(e)i +(unpredictable,)h(p)q(ossibly)e(implemen)o(tation-dep)q(enden)o(t)f +(results.)0 1180 y(A)h(Common)d(Lisp)j(compiler)e(ma)o(y)g(c)o(ho)q +(ose)j(to)f(issue)g(a)g(w)o(arning)f(if)g(suc)o(h)i(a)f(v)n(ariable)0 +1232 y(app)q(ears)e(in)e(a)h Fs(setq)p Fw(.)p 0 1291 +V 0 1354 a Fm(Compatibilit)o(y)d(note:)17 b FA(The)c +Fj(dotimes)c FA(construct)14 b(is)f(the)f(closest)i(thing)g(in)f +(Common)g(Lisp)0 1400 y(to)g(the)g(In)o(terlisp)i Fj(rptq)c +FA(construct.)p 0 1463 V 42 1651 a Fw(See)j(also)g Fs(do-symbols)p +Fw(,)d Fs(do-external-symbo)o(ls)p Fw(,)f(and)k Fs(do-all-symbols)p +Fw(.)0 1899 y Fo(7.8.4.)20 b(Mapping)0 2015 y Fw(Mapping)15 +b(is)g(a)g(t)o(yp)q(e)h(of)f(iteration)g(in)h(whic)o(h)f(a)g(function)g +(is)h(successiv)o(ely)h(applied)e(to)0 2067 y(pieces)f(of)d(one)i(or)f +(more)f(sequences.)21 b(The)12 b(result)h(of)f(the)h(iteration)f(is)g +(a)g(sequence)j(con-)0 2119 y(taining)f(the)i(resp)q(ectiv)o(e)h +(results)g(of)e(the)h(function)f(applications.)21 b(There)16 +b(are)g(sev)o(eral)0 2171 y(options)e(for)g(the)g(w)o(a)o(y)g(in)g +(whic)o(h)g(the)h(pieces)g(of)f(the)g(list)g(are)h(c)o(hosen)g(and)f +(for)g(what)g(is)0 2223 y(done)g(with)g(the)g(results)h(returned)h(b)o +(y)d(the)i(applications)e(of)g(the)i(function.)42 2277 +y(The)k(function)f Fs(map)g Fw(ma)o(y)f(b)q(e)j(used)g(to)e(map)f(o)o +(v)o(er)i(an)o(y)g(kind)f(of)g(sequence.)35 b(The)0 2329 +y(follo)o(wing)11 b(functions)j(op)q(erate)h(only)e(on)h(lists.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 181 205 +181 204 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(181)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b +Fs(mapcar)20 b Fv(function)25 b(list)f Fs(&rest)c Fv(mor)n(e)p +Fs(-)p Fv(lists)1209 347 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(maplist)20 b Fv(function)25 b(list)f Fs(&rest)c +Fv(mor)n(e)p Fs(-)p Fv(lists)1209 399 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(mapc)20 b Fv(function)25 b(list)f Fs(&rest)d +Fv(mor)n(e)p Fs(-)p Fv(lists)1209 450 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(mapl)20 b Fv(function)25 b(list)f Fs(&rest)d +Fv(mor)n(e)p Fs(-)p Fv(lists)1209 502 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(mapcan)20 b Fv(function)25 b(list)f Fs(&rest)c +Fv(mor)n(e)p Fs(-)p Fv(lists)1209 554 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(mapcon)20 b Fv(function)25 b(list)f Fs(&rest)c +Fv(mor)n(e)p Fs(-)p Fv(lists)0 632 y Fw(F)m(or)13 b(eac)o(h)h(of)e +(these)j(mapping)c(functions,)i(the)h(\014rst)g(argumen)o(t)e(is)h(a)g +(function)g(and)g(the)0 684 y(rest)k(m)o(ust)e(b)q(e)i(lists.)25 +b(The)16 b(function)g(m)o(ust)f(tak)o(e)h(as)g(man)o(y)e(argumen)o(ts)i +(as)g(there)h(are)0 735 y(lists.)42 788 y Fs(mapcar)i +Fw(op)q(erates)j(on)e(successiv)o(e)j(elemen)o(ts)e(of)f(the)h(lists.) +39 b(First)21 b(the)g(function)0 840 y(is)d(applied)g(to)g(the)h +Fv(c)n(ar)f Fw(of)g(eac)o(h)h(list,)f(then)h(to)f(the)h +Fv(c)n(adr)g Fw(of)e(eac)o(h)i(list,)g(and)f(so)g(on.)0 +892 y(\(Ideally)12 b(all)f(the)i(lists)f(are)h(the)g(same)e(length;)i +(if)e(not,)h(the)h(iteration)f(terminates)g(when)0 944 +y(the)h(shortest)h(list)e(runs)h(out,)f(and)g(excess)i(elemen)o(ts)e +(in)g(other)h(lists)f(are)h(ignored.\))k(The)0 996 y(v)n(alue)d +(returned)i(b)o(y)e Fs(mapcar)f Fw(is)i(a)f(list)g(of)g(the)h(results)g +(of)f(the)h(successiv)o(e)i(calls)d(to)g(the)0 1048 y(function.)k(F)m +(or)13 b(example:)0 1140 y Fs(\(mapcar)20 b(#)174 1136 +y(-)174 1144 y(-)m Fn(')217 1140 y Fs(abs)301 1144 y +Fn(')324 1140 y Fs(\(3)h(-4)g(2)g(-5)g(-6\)\))f Ft(\))h +Fs(\(3)f(4)h(2)g(5)g(6\))0 1192 y(\(mapcar)f(#)174 1188 +y(-)174 1196 y(-)m Fn(')217 1192 y Fs(cons)323 1196 y +Fn(')346 1192 y Fs(\(a)h(b)g(c\))516 1196 y Fn(')540 +1192 y Fs(\(1)g(2)g(3\)\))f Ft(\))h Fs(\(\(a)f(.)h(1\))g(\(b)g(.)g(2\)) +g(\(c)f(.)h(3\)\))42 1283 y(maplist)13 b Fw(is)h(lik)o(e)g +Fs(mapcar)f Fw(except)j(that)e(the)h(function)g(is)f(applied)g(to)g +(the)h(lists)g(and)0 1335 y(successiv)o(e)j Fv(c)n(dr)p +Fw('s)e(of)g(those)g(lists)h(rather)g(than)f(to)g(successiv)o(e)i +(elemen)o(ts)e(of)g(the)g(lists.)0 1387 y(F)m(or)d(example:)0 +1479 y Fs(\(maplist)20 b(#)196 1475 y(-)196 1483 y(-)m +Fn(')238 1479 y Fs(\(lambda)g(\(x\))h(\(cons)627 1483 +y Fn(')650 1479 y Fs(foo)g(x\)\))188 1535 y Fn(')212 +1531 y Fs(\(a)f(b)h(c)g(d\)\))64 1583 y Ft(\))f Fs(\(\(foo)g(a)h(b)g(c) +g(d\))g(\(foo)f(b)h(c)g(d\))g(\(foo)f(c)h(d\))g(\(foo)f(d\)\))0 +1674 y(\(maplist)g(#)196 1670 y(-)196 1678 y(-)m Fn(')238 +1674 y Fs(\(lambda)g(\(x\))h(\(if)f(\(member)g(\(car)g(x\))h(\(cdr)f +(x\)\))h(0)g(1\)\)\))188 1730 y Fn(')212 1726 y Fs(\(a)f(b)h(a)g(c)g(d) +g(b)g(c\)\))64 1778 y Ft(\))f Fs(\(0)h(0)g(1)g(0)g(1)g(1)g(1\))64 +1830 y(;)p Fw(An)13 b(en)o(try)i(is)f Fs(1)f Fw(if)g(the)i(corresp)q +(onding)g(elemen)o(t)e(of)g(the)i(input)64 1882 y Fs(;)20 +b Fw(list)14 b(w)o(as)g(the)g(last)g(instance)g(of)g(that)g(elemen)o(t) +f(in)g(the)i(input)f(list.)42 1974 y Fs(mapl)d Fw(and)i +Fs(mapc)f Fw(are)h(lik)o(e)f Fs(maplist)f Fw(and)i Fs(mapcar)p +Fw(,)e(resp)q(ectiv)o(ely)m(,)i(except)h(that)f(they)0 +2025 y(do)h(not)f(accum)o(ulate)g(the)i(results)g(of)e(calling)g(the)h +(function.)p 0 2085 V 0 2146 a Fm(Compatibilit)o(y)d(note:)17 +b FA(In)c(all)g(Lisp)h(systems)f(since)g(Lisp)g(1.5,)f +Fj(mapl)f FA(has)i(b)q(een)g(called)h Fj(map)p FA(.)0 +2192 y(In)c(the)g(c)o(hapter)h(on)f(sequences)i(it)e(is)h(explained)i +(wh)o(y)d(this)h(w)o(as)e(a)h(bad)h(c)o(hoice.)17 b(Here)10 +b(the)g(name)0 2237 y Fj(map)e FA(is)h(used)h(for)f(the)g(far)f(more)h +(useful)h(generic)h(sequence)f(mapp)q(er,)g(in)g(closer)g(accordance)g +(with)0 2283 y(the)i(computer)g(science)g(literature,)h(esp)q(ecially)i +(the)c(gro)o(wing)i(b)q(o)q(dy)f(of)f(pap)q(ers)i(on)e(functional)0 +2329 y(programming.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 182 206 +182 205 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(182)77 b(COMMON)13 +b(LISP)42 295 y FA(Note)e(that)h(this)h(remark,)f(predating)i(the)e +(design)i(of)d(the)h(Common)h(Lisp)f(Ob)r(ject)g(System,)-33 +269 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 340 a(uses)h(the)f(term)g(\\generic")i(in)f(a)f(generic) +i(sense)e(and)h(not)g(necessarily)h(in)f(the)g(tec)o(hnical)h(sense)0 +386 y(used)g(b)o(y)f(CLOS)g(\(see)g(c)o(hapter)g(2\).)-33 +396 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 427 V 42 518 a Fw(These)k(functions)g(are)g(used)h(when) +f(the)g(function)g(is)f(b)q(eing)h(called)g(merely)e(for)i(its)0 +570 y(side)f(e\013ects)i(rather)f(than)f(for)f(its)h(returned)i(v)n +(alues.)24 b(The)16 b(v)n(alue)f(returned)j(b)o(y)e Fs(mapl)0 +621 y Fw(or)e Fs(mapc)f Fw(is)h(the)g(second)h(argumen)o(t,)d(that)i +(is,)g(the)g(\014rst)h(sequence)h(argumen)o(t.)42 674 +y Fs(mapcan)11 b Fw(and)j Fs(mapcon)e Fw(are)h(lik)o(e)g +Fs(mapcar)f Fw(and)h Fs(maplist)p Fw(,)e(resp)q(ectiv)o(ely)m(,)j +(except)h(that)0 726 y(they)h(com)o(bine)f(the)h(results)h(of)e(the)h +(function)f(using)h Fs(nconc)e Fw(instead)i(of)f Fs(list)p +Fw(.)23 b(That)0 777 y(is,)0 867 y Fs(\(mapcon)d Fv(f)h(x1)g +Fs(...)g Fv(xn)p Fs(\))64 919 y Ft(\021)g Fs(\(apply)f(#)269 +915 y(-)269 923 y(-)m Fn(')312 919 y Fs(nconc)g(\(maplist)g +Fv(f)g(x1)i Fs(...)f Fv(xn)p Fs(\)\))0 1007 y Fw(and)12 +b(similarly)e(for)i(the)i(relationship)e(b)q(et)o(w)o(een)i +Fs(mapcan)d Fw(and)i Fs(mapcar)p Fw(.)j(Conceptually)m(,)0 +1059 y(these)21 b(functions)e(allo)o(w)e(the)j(mapp)q(ed)e(function)h +(to)g(return)h(a)f(v)n(ariable)f(n)o(um)o(b)q(er)g(of)0 +1111 y(items)13 b(to)h(b)q(e)g(put)g(in)o(to)f(the)i(output)f(list.)j +(This)d(is)f(particularly)g(useful)h(for)g(e\013ectiv)o(ely)0 +1163 y(returning)g(zero)h(or)f(one)g(item:)0 1252 y Fs(\(mapcan)20 +b(#)174 1248 y(-)174 1256 y(-)m Fn(')217 1252 y Fs(\(lambda)f(\(x\))i +(\(and)f(\(numberp)g(x\))h(\(list)f(x\)\)\))167 1308 +y Fn(')191 1304 y Fs(\(a)g(1)h(b)g(c)g(3)g(4)g(d)g(5\)\))64 +1356 y Ft(\))f Fs(\(1)h(3)g(4)g(5\))0 1445 y Fw(In)13 +b(this)h(case)g(the)g(function)f(serv)o(es)i(as)e(a)g(\014lter;)h(this) +f(is)g(a)g(standard)h(Lisp)f(idiom)e(using)0 1497 y Fs(mapcan)p +Fw(.)26 b(\(The)18 b(function)f Fs(remove-if-not)d Fw(migh)o(t)h(ha)o +(v)o(e)i(b)q(een)h(useful)f(in)g(this)g(par-)0 1549 y(ticular)e(con)o +(text,)i(ho)o(w)o(ev)o(er.\))23 b(Remem)o(b)q(er)14 b(that)i +Fs(nconc)e Fw(is)i(a)f(destructiv)o(e)i(op)q(eration,)0 +1601 y(and)f(therefore)j(so)d(are)h Fs(mapcan)f Fw(and)g +Fs(mapcon)p Fw(;)g(the)i(lists)e(returned)j(b)o(y)d(the)h +Fv(function)0 1653 y Fw(are)d(altered)h(in)e(order)i(to)f(concatenate)h +(them.)42 1705 y(Sometimes)e(a)j Fs(do)f Fw(or)h(a)f(straigh)o(tforw)o +(ard)h(recursion)g(is)g(preferable)h(to)e(a)h(mapping)0 +1757 y(op)q(eration;)24 b(ho)o(w)o(ev)o(er,)e(the)g(mapping)c +(functions)j(should)g(b)q(e)g(used)h(wherev)o(er)g(they)0 +1809 y(naturally)13 b(apply)g(b)q(ecause)j(this)e(increases)h(the)g +(clarit)o(y)e(of)g(the)i(co)q(de.)42 1861 y(The)21 b(functional)f +(argumen)o(t)f(to)i(a)g(mapping)d(function)j(m)o(ust)f(b)q(e)h +(acceptable)h(to)0 1913 y Fs(apply)p Fw(;)11 b(it)h(cannot)g(b)q(e)g(a) +g(macro)f(or)h(the)g(name)f(of)g(a)h(sp)q(ecial)g(form.)k(Of)11 +b(course,)j(there)f(is)0 1965 y(nothing)g(wrong)f(with)h(using)g(a)g +(function)g(that)g(has)h Fs(&optional)d Fw(and)i Fs(&rest)f +Fw(parame-)0 2017 y(ters)j(as)f(the)h(functional)d(argumen)o(t.)42 +2069 y(X3J13)18 b(v)o(oted)g(in)g(June)h(1988)e Ft(h)p +Fw(90)p Ft(i)h Fw(to)h(allo)o(w)d(the)j Fv(function)g +Fw(to)f(b)q(e)h(only)e(of)h(t)o(yp)q(e)-33 2041 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2121 a Fs(symbol)c Fw(or)h Fs(function)p +Fw(;)e(a)i(lam)o(b)q(da-expression)f(is)h(no)g(longer)g(acceptable)h +(as)f(a)g(func-)0 2173 y(tional)10 b(argumen)o(t.)16 +b(One)11 b(m)o(ust)f(use)i(the)g Fs(function)d Fw(sp)q(ecial)j(form)d +(or)i(the)g(abbreviation)0 2225 y Fs(#)0 2221 y(-)0 2229 +y(-)n Fn(')57 2225 y Fw(b)q(efore)j(a)g(lam)o(b)q(da-expression)f(that) +h(app)q(ears)g(as)g(an)g(explicit)f(argumen)o(t)g(form.)-33 +2236 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2277 a(X3J13)18 b(v)o(oted)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k +(see)d(sec-)-33 2249 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a(tion)13 b(7.9.)-33 2340 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 183 207 +183 206 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(183)0 295 y Fo(7.8.5.)20 b(The)15 b(\\Program)e(F)-5 +b(eature")0 379 y Fw(Lisp)13 b(implemen)o(tations)d(since)k(Lisp)f(1.5) +f(ha)o(v)o(e)h(had)g(what)h(w)o(as)f(originally)d(called)j(\\the)0 +431 y(program)g(feature,")h(as)g(if)g(it)f(w)o(ere)j(imp)q(ossible)c +(to)i(write)h(programs)e(without)h(it!)k(The)0 482 y +Fs(prog)12 b Fw(construct)j(allo)o(ws)d(one)h(to)h(write)f(in)g(an)g +(Algol-lik)o(e)e(or)i(F)m(ortran-lik)o(e)f(statemen)o(t-)0 +534 y(orien)o(ted)k(st)o(yle,)f(using)g Fs(go)g Fw(statemen)o(ts)h +(that)f(can)h(refer)g(to)f(tags)g(in)g(the)h(b)q(o)q(dy)f(of)g(the)0 +586 y Fs(prog)p Fw(.)i(Mo)q(dern)d(Lisp)f(programming)d(st)o(yle)j +(tends)i(to)e(use)h Fs(prog)f Fw(rather)h(infrequen)o(tly)m(.)0 +638 y(The)h(v)n(arious)e(iteration)h(constructs,)h(suc)o(h)g(as)f +Fs(do)p Fw(,)g(ha)o(v)o(e)f(b)q(o)q(dies)i(with)f(the)h(c)o(haracter-)0 +690 y(istics)h(of)f(a)g Fs(prog)p Fw(.)22 b(\(Ho)o(w)o(ev)o(er,)16 +b(the)g(abilit)o(y)e(to)h(use)i Fs(go)e Fw(statemen)o(ts)g(within)g +(iteration)0 742 y(constructs)h(is)e(v)o(ery)g(seldom)e(called)i(up)q +(on)g(in)f(practice.\))42 794 y(Three)f(distinct)g(op)q(erations)g(are) +g(p)q(erformed)f(b)o(y)h Fs(prog)p Fw(:)k(it)11 b(binds)h(lo)q(cal)e(v) +n(ariables,)h(it)0 846 y(p)q(ermits)i(use)h(of)f(the)g +Fs(return)f Fw(statemen)o(t,)h(and)g(it)g(p)q(ermits)g(use)h(of)f(the)g +Fs(go)g Fw(statemen)o(t.)0 898 y(In)i(Common)d(Lisp,)i(these)j(three)f +(op)q(erations)f(ha)o(v)o(e)g(b)q(een)h(separated)g(in)o(to)f(three)h +(dis-)0 949 y(tinct)h(constructs:)25 b Fs(let)p Fw(,)16 +b Fs(block)p Fw(,)f(and)i Fs(tagbody)p Fw(.)24 b(These)17 +b(three)h(constructs)h(ma)o(y)14 b(b)q(e)0 1001 y(used)h(indep)q(enden) +o(tly)f(as)g(building)f(blo)q(c)o(ks)h(for)f(other)i(t)o(yp)q(es)g(of)e +(constructs.)1145 1125 y([)p Fv(Sp)n(e)n(cial)i(form)s +Fw(])-1396 b Fs(tagbody)40 b Ft(f)p Fv(tag)15 b Ft(j)g +Fv(statement)p Ft(g)507 1110 y Fl(\003)0 1201 y Fw(The)i(part)f(of)g(a) +g Fs(tagbody)f Fw(after)h(the)h(v)n(ariable)e(list)h(is)g(called)g(the) +h Fv(b)n(o)n(dy)p Fw(.)26 b(An)16 b(item)f(in)0 1253 +y(the)h(b)q(o)q(dy)g(ma)o(y)e(b)q(e)i(a)f(sym)o(b)q(ol)f(or)i(an)f(in)o +(teger,)h(in)f(whic)o(h)h(case)h(it)e(is)g(called)h(a)f +Fv(tag)p Fw(,)h(or)0 1305 y(an)e(item)e(in)i(the)g(b)q(o)q(dy)g(ma)o(y) +e(b)q(e)j(a)e(list,)g(in)g(whic)o(h)h(case)h(it)f(is)f(called)h(a)g +Fv(statement)p Fw(.)42 1357 y(Eac)o(h)g(elemen)o(t)g(of)g(the)h(b)q(o)q +(dy)f(is)g(pro)q(cessed)j(from)12 b(left)i(to)h(righ)o(t.)j(A)d +Fv(tag)f Fw(is)g(ignored;)0 1409 y(a)f Fv(statement)g +Fw(is)g(ev)n(aluated,)g(and)g(its)g(results)h(are)f(discarded.)19 +b(If)13 b(the)h(end)f(of)g(the)h(b)q(o)q(dy)0 1461 y(is)g(reac)o(hed,)g +(the)h Fs(tagbody)d Fw(returns)k Fs(nil)p Fw(.)42 1513 +y(If)10 b Fs(\(go)21 b Fv(tag)p Fs(\))11 b Fw(is)f(ev)n(aluated,)h(con) +o(trol)g(jumps)f(to)h(the)g(part)g(of)g(the)h(b)q(o)q(dy)f(lab)q(elled) +f(with)0 1565 y(the)k Fv(tag)p Fw(.)p 0 1624 V 0 1685 +a Fm(Compatibilit)o(y)i(note:)24 b FA(The)17 b(\\computed)h +Fj(go)p FA(")d(feature)i(of)f(MacLisp)i(is)g(not)e(supp)q(orted.)0 +1730 y(The)e(syn)o(tax)h(of)f(a)g(computed)h Fj(go)e +FA(is)i(idiosyncratic,)i(and)e(the)f(feature)h(is)f(not)h(supp)q(orted) +g(b)o(y)0 1776 y(Lisp)e(Mac)o(hine)h(Lisp,)g(NIL)d(\(New)h(Implemen)o +(tation)j(of)d(Lisp\),)h(or)g(In)o(terlisp.)18 b(The)12 +b(computed)0 1822 y Fj(go)i FA(has)h(b)q(een)h(infrequen)o(tly)h(used)e +(in)h(MacLisp)g(an)o(yw)o(a)o(y)g(and)f(is)g(easily)i(sim)o(ulated)g +(with)e(no)0 1867 y(loss)f(of)f(e\016ciency)i(b)o(y)e(using)i(a)e +Fj(case)f FA(statemen)o(t)h(eac)o(h)h(of)f(whose)h(clauses)g(p)q +(erforms)g(a)f(\(non-)0 1913 y(computed\))h Fj(go)p FA(.)p +0 1948 V 42 2017 a Fw(The)f(scop)q(e)h(of)f(the)h(tags)f(established)h +(b)o(y)f(a)f Fs(tagbody)g Fw(is)h(lexical,)f(and)h(the)h(exten)o(t)g +(is)0 2069 y(dynamic.)19 b(Once)e(a)d Fs(tagbody)g Fw(construct)i(has)f +(b)q(een)h(exited,)f(it)g(is)g(no)f(longer)h(legal)f(to)0 +2121 y Fs(go)e Fw(to)g(a)h Fv(tag)f Fw(in)g(its)h(b)q(o)q(dy)m(.)k(It) +12 b(is)h(p)q(ermissible)e(for)h(a)h Fs(go)f Fw(to)g(jump)f(to)h(a)g +Fs(tagbody)f Fw(that)i(is)0 2173 y(not)g(the)g(innermost)f +Fs(tagbody)f Fw(construct)j(con)o(taining)d(that)i Fs(go)p +Fw(;)f(the)h(tags)g(established)0 2225 y(b)o(y)h(a)f +Fs(tagbody)g Fw(will)f(only)h(shado)o(w)h(other)g(tags)g(of)f(lik)o(e)h +(name.)42 2277 y(The)e(lexical)g(scoping)g(of)g(the)g +Fs(go)g Fw(targets)h(named)f(b)o(y)g(tags)g(is)g(fully)f(general)h(and) +h(has)0 2329 y(consequences)j(that)d(ma)o(y)e(b)q(e)i(surprising)g(to)g +(users)i(and)d(implemen)o(tors)f(of)h(other)i(Lisp)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 184 208 +184 207 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(184)77 b(COMMON)13 +b(LISP)0 295 y Fw(systems.)19 b(F)m(or)13 b(example,)f(the)j +Fs(go)e Fw(in)h(the)h(follo)o(wing)c(example)i(actually)g(do)q(es)h(w)o +(ork)g(in)0 347 y(Common)d(Lisp)i(as)h(one)g(migh)o(t)e(exp)q(ect:)0 +488 y Fs(\(tagbody)64 540 y(\(catch)213 544 y Fn(')237 +540 y Fs(stuff)127 592 y(\(mapcar)20 b(#)301 588 y(-)301 +596 y(-)m Fn(')344 592 y Fs(\(lambda)f(\(x\))i(\(if)g(\(numberp)e(x\)) +677 644 y(\(hairyfun)h(x\))677 696 y(\(go)h(lose\)\)\))296 +748 y(items\)\))64 800 y(\(return\))21 852 y(lose)64 +904 y(\(error)e("I)i(lost)g(big!"\)\))0 1040 y Fw(Dep)q(ending)13 +b(on)f(the)i(situation,)d(a)i Fs(go)f Fw(in)g(Common)d(Lisp)k(do)q(es)g +(not)g(necessarily)h(corre-)0 1092 y(sp)q(ond)i(to)f(a)g(simple)f(mac)o +(hine)g(\\jump")g(instruction.)23 b(A)15 b Fs(go)g Fw(can)h(break)f(up) +h(catc)o(hers)0 1143 y(if)i(necessary)j(to)e(get)g(to)g(the)h(target.) +34 b(It)19 b(is)g(p)q(ossible)g(for)f(a)h(\\closure")g(created)i(b)o(y) +0 1195 y Fs(function)11 b Fw(for)i(a)g(lam)o(b)q(da-expression)e(to)i +(refer)h(to)f(a)g Fs(go)f Fw(target)i(as)f(long)f(as)h(the)g(tag)g(is)0 +1247 y(lexically)f(apparen)o(t.)19 b(See)c(c)o(hapter)f(3)g(for)g(an)f +(elab)q(orate)h(example)f(of)g(this.)42 1305 y(There)i(are)f(some)f +(holes)h(in)f(this)h(sp)q(eci\014cation)h(\(and)e(that)h(of)g +Fs(go)p Fw(\))f(that)h(lea)o(v)o(e)g(some)-33 1276 y +@beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1357 a(ro)q(om)e(for)i(in)o(terpretation.)k(F)m(or)13 +b(example,)f(there)j(is)f(no)g(explicit)f(prohibition)f(against)0 +1409 y(the)18 b(same)e(tag)h(app)q(earing)g(more)f(than)h(once)h(in)f +(the)h(same)e Fs(tagbody)g Fw(b)q(o)q(dy)m(.)27 b(Ev)o(ery)0 +1460 y(implemen)o(tatio)o(n)13 b(I)j(kno)o(w)g(of)f(will)g(complain)f +(in)h(the)i(compiler,)d(if)i(not)f(in)h(the)h(in)o(ter-)0 +1512 y(preter,)e(if)f(there)h(is)f(a)g Fs(go)g Fw(to)g(suc)o(h)h(a)f +(duplicated)g(tag;)f(but)i(some)e(implemen)o(tors)f(tak)o(e)0 +1564 y(the)h(p)q(osition)f(that)g(duplicate)h(tags)f(are)h(p)q +(ermitted)f(pro)o(vided)g(there)i(is)f(no)f Fs(go)g Fw(to)g(suc)o(h)0 +1616 y(a)18 b(tag.)33 b(\(\\If)18 b(a)g(tree)i(falls)e(in)g(the)h +(forest,)h(and)f(there)h(is)e(no)h(one)g(there)h(to)e(hear)i(it,)0 +1668 y(then)15 b(no)g(one)f(needs)i(to)f(y)o(ell)e(`Tim)o(b)q(er!')5 +b("\))20 b(Also,)14 b(some)g(implemen)o(tatio)o(ns)e(allo)o(w)h(ob-)0 +1720 y(jects)i(other)g(than)g(sym)o(b)q(ols,)d(in)o(tegers,)j(and)f +(lists)h(in)e(the)i(b)q(o)q(dy)g(and)f(t)o(ypically)f(ignore)0 +1772 y(them.)22 b(Consequen)o(tly)m(,)15 b(some)g(programmers)e(use)j +(redundan)o(t)g(tags)g(suc)o(h)g(as)f Fs(---)g Fw(for)0 +1824 y(formatting)d(purp)q(oses,)i(and)g(strings)g(as)g(commen)o(ts:)0 +1966 y Fs(\(defun)20 b(dining-philosophe)o(r)e(\(j\))42 +2017 y(\(tagbody)i(---)64 2069 y(think)62 b(\(unless)20 +b(\(hungry\))f(\(go)i(think\)\))233 2121 y(---)233 2173 +y("Can)319 2177 y Fn(')341 2173 y Fs(t)g(eat)g(without)e(chopsticks.") +233 2225 y(\(snatch)h(\(chopstick)f(j\)\))233 2277 y(\(snatch)h +(\(chopstick)f(\(mod)h(\(+)h(j)g(1\))g(5\)\)\))233 2329 +y(---)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 185 209 +185 208 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(185)64 295 y Fs(eat)105 b(\(when)20 b(\(hungry\))275 +347 y(\(mapc)g(#)405 343 y(-)405 351 y(-)n Fn(')448 347 +y Fs(gobble-down)400 403 y Fn(')423 399 y Fs(\(twice-cooked-pork)e +(kung-pao-chi-ding)445 450 y(wu-dip-har)h(orange-flavor-be)o(ef)445 +502 y(two-side-yellow)o(-nood)o(les)f(twinkies\)\))275 +554 y(\(go)j(eat\)\))233 606 y(---)233 658 y("Can)319 +662 y Fn(')341 658 y Fs(t)g(think)f(with)h(my)f(neighbors)883 +662 y Fn(')926 658 y Fs(stomachs)f(rumbling.")233 710 +y(\(relinquish)g(\(chopstick)g(j\)\))233 762 y(\(relinquish)g +(\(chopstick)g(\(mod)h(\(+)h(j)g(1\))g(5\)\)\))233 814 +y(---)233 866 y(\(if)f(\(happy\))g(\(go)h(think\))318 +917 y(\(become)e(insurance-salesman\))o(\)\)\))0 1002 +y Fw(In)e(certain)g(implemen)o(tati)o(ons)d(of)i(Common)d(Lisp)k(they)g +(get)g(a)o(w)o(a)o(y)e(with)h(it.)26 b(Others)0 1054 +y(abhor)16 b(what)f(they)i(view)e(as)h(an)g(abuse)g(of)f(unin)o(tended) +i(am)o(biguit)o(y)c(in)i(the)i(language)0 1106 y(sp)q(eci\014cation.)k +(F)m(or)15 b(maxim)n(um)10 b(p)q(ortabilit)o(y)m(,)j(I)h(advise)h +(users)h(to)f(steer)h(clear)f(of)f(these)0 1158 y(issues.)27 +b(Similarly)l(,)14 b(it)i(is)h(b)q(est)h(to)e(a)o(v)o(oid)f(using)i +Fs(nil)e Fw(as)i(a)f(tag,)h(ev)o(en)g(though)f(it)h(is)f(a)0 +1210 y(sym)o(b)q(ol,)11 b(b)q(ecause)j(a)f(few)g(implem)o(en)o(tations) +d(treat)k Fs(nil)e Fw(as)h(a)f(list)h(to)f(b)q(e)i(executed.)19 +b(T)m(o)0 1262 y(b)q(e)11 b(extra)f(careful,)h(a)o(v)o(oid)d(calling)h +(from)f(within)h(a)h Fs(tagbody)f Fw(a)g(macro)g(whose)i(expansion)0 +1314 y(migh)o(t)h(not)i(b)q(e)g(a)g(non-)p Fs(nil)e Fw(list;)h(wrap)h +(suc)o(h)h(a)e(call)h(in)f Fs(\(progn)20 b(...\))p Fw(,)12 +b(or)i(rewrite)h(the)0 1366 y(macro)e(to)g(return)i Fs(\(progn)20 +b(...\))13 b Fw(if)g(p)q(ossible.)-33 1377 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1255 1492 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(prog)34 b(\()7 b Ft(f)p Fv(var)14 b Ft(j)h Fs(\()p +Fv(var)21 b Fw([)p Fv(init)p Fw(])7 b Fs(\))p Ft(g)509 +1477 y Fl(\003)533 1492 y Fs(\))22 b Ft(f)p Fv(de)n(clar)n(ation)p +Ft(g)816 1477 y Fl(\003)863 1492 y Ft(f)p Fv(tag)15 b +Ft(j)f Fv(statement)p Ft(g)1175 1477 y Fl(\003)1255 1544 +y Fw([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(prog*)34 b(\()7 +b Ft(f)p Fv(var)14 b Ft(j)g Fs(\()p Fv(var)22 b Fw([)p +Fv(init)p Fw(])7 b Fs(\))p Ft(g)531 1529 y Fl(\003)555 +1544 y Fs(\))22 b Ft(f)p Fv(de)n(clar)n(ation)p Ft(g)838 +1529 y Fl(\003)885 1544 y Ft(f)p Fv(tag)14 b Ft(j)h Fv(statement)p +Ft(g)1197 1529 y Fl(\003)0 1621 y Fw(The)c Fs(prog)f +Fw(construct)j(is)e(a)f(syn)o(thesis)i(of)e Fs(let)p +Fw(,)h Fs(block)p Fw(,)f(and)g Fs(tagbody)p Fw(,)g(allo)o(wing)f(b)q +(ound)0 1673 y(v)n(ariables)15 b(and)g(the)h(use)g(of)f +Fs(return)f Fw(and)i Fs(go)f Fw(within)f(a)i(single)f(construct.)24 +b(A)16 b(t)o(ypical)0 1725 y Fs(prog)d Fw(construct)j(lo)q(oks)d(lik)o +(e)g(this:)0 1810 y Fs(\(prog)20 b(\()p Fv(var1)h(var2)g +Fs(\()p Fv(var3)g(init3)p Fs(\))g Fv(var4)g Fs(\()p Fv(var5)g(init5)p +Fs(\)\))134 1862 y Ft(f)p Fv(de)n(clar)n(ation)s Ft(g)376 +1847 y Fl(\003)127 1914 y Fv(statement1)21 1966 y(tag1)127 +2017 y(statement2)127 2069 y(statement3)127 2121 y(statement4)21 +2173 y(tag2)127 2225 y(statement5)127 2277 y Fs(...)127 +2329 y(\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 186 210 +186 209 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(186)77 b(COMMON)13 +b(LISP)0 295 y Fw(The)19 b(list)f(after)h(the)g(k)o(eyw)o(ord)f +Fs(prog)g Fw(is)g(a)h(set)g(of)f(sp)q(eci\014cations)i(for)e(binding)f +Fv(var1)p Fw(,)0 347 y Fv(var2)p Fw(,)c(etc.,)g(whic)o(h)f(are)h(temp)q +(orary)f(v)n(ariables)h(b)q(ound)f(lo)q(cally)g(to)g(the)i +Fs(prog)p Fw(.)j(This)12 b(list)0 399 y(is)i(pro)q(cessed)i(exactly)e +(as)g(the)g(list)g(in)f(a)h Fs(let)f Fw(statemen)o(t:)18 +b(\014rst)c(all)f(the)h Fv(init)g Fw(forms)e(are)0 450 +y(ev)n(aluated)18 b(from)e(left)h(to)h(righ)o(t)f(\(where)i +Fs(nil)e Fw(is)h(used)g(for)g(an)o(y)f(omitted)g Fv(init)g +Fw(form\),)0 502 y(and)c(then)g(the)g(v)n(ariables)g(are)g(all)e(b)q +(ound)i(in)g(parallel)e(to)i(the)g(resp)q(ectiv)o(e)i(results.)k(An)o +(y)0 554 y Fv(de)n(clar)n(ation)12 b Fw(app)q(earing)g(in)f(the)i +Fs(prog)e Fw(is)h(used)h(as)f(if)f(app)q(earing)h(at)g(the)g(top)g(of)g +(the)g Fs(let)0 606 y Fw(b)q(o)q(dy)m(.)42 658 y(The)h(b)q(o)q(dy)h(of) +f(the)h Fs(prog)e Fw(is)i(executed)h(as)e(if)g(it)g(w)o(ere)h(a)f +Fs(tagbody)f Fw(construct;)j(the)f Fs(go)0 710 y Fw(statemen)o(t)g(ma)o +(y)e(b)q(e)i(used)h(to)f(transfer)h(con)o(trol)e(to)h(a)g +Fv(tag)p Fw(.)42 763 y(A)i Fs(prog)g Fw(implicitly)d(establishes)18 +b(a)e Fs(block)f Fw(named)h Fs(nil)g Fw(around)g(the)h(en)o(tire)h +Fs(prog)0 815 y Fw(construct,)i(so)f(that)f Fs(return)f +Fw(ma)o(y)f(b)q(e)j(used)g(at)f(an)o(y)f(time)g(to)h(exit)g(from)f(the) +i Fs(prog)0 866 y Fw(construct.)42 919 y(Here)c(is)e(a)h(\014ne)g +(example)f(of)g(what)h(can)g(b)q(e)h(done)f(with)f Fs(prog)p +Fw(:)0 1008 y Fs(\(defun)20 b(king-of-confusion)e(\(w\))42 +1060 y("Take)i(a)h(cons)g(of)g(two)f(lists)g(and)h(make)f(a)h(list)f +(of)h(conses.)64 1112 y(Think)f(of)g(this)h(function)e(as)i(being)f +(like)g(a)h(zipper.")42 1164 y(\(prog)f(\(x)h(y)g(z\))106 +b(;)p Fw(Initialize)12 b Fs(x)p Fw(,)h Fs(y)p Fw(,)h +Fs(z)f Fw(to)h Fs(nil)169 1216 y(\(setq)21 b(y)f(\(car)h(w\))g(z)g +(\(cdr)f(w\)\))64 1268 y(loop)169 1320 y(\(cond)h(\(\(null)e(y\))i +(\(return)f(x\)\))296 1372 y(\(\(null)g(z\))h(\(go)g(err\)\)\))64 +1424 y(rejoin)169 1475 y(\(setq)g(x)f(\(cons)h(\(cons)f(\(car)g(y\))h +(\(car)f(z\)\))h(x\)\))169 1527 y(\(setq)g(y)f(\(cdr)h(y\))g(z)g(\(cdr) +f(z\)\))169 1579 y(\(go)h(loop\))64 1631 y(err)169 1683 +y(\(cerror)f("Will)g(self-pair)g(extraneous)f(items")339 +1735 y("Mismatch)g(-)i(gleep!)41 b(S")21 b(y\))169 1787 +y(\(setq)g(z)f(y\))169 1839 y(\(go)h(rejoin\)\)\))0 1928 +y Fw(whic)o(h)14 b(is)g(accomplished)e(somewhat)h(more)g(p)q +(erspicuously)i(b)o(y)0 2017 y Fs(\(defun)20 b(prince-of-clarity)e +(\(w\))42 2069 y("Take)i(a)h(cons)g(of)g(two)f(lists)g(and)h(make)f(a)h +(list)f(of)h(conses.)64 2121 y(Think)f(of)g(this)h(function)e(as)i +(being)f(like)g(a)h(zipper.")42 2173 y(\(do)g(\(\(y)f(\(car)h(w\))g +(\(cdr)f(y\)\))148 2225 y(\(z)h(\(cdr)f(w\))h(\(cdr)f(z\)\))148 +2277 y(\(x)211 2281 y Fn(')234 2277 y Fs(\(\))h(\(cons)f(\(cons)g +(\(car)g(y\))h(\(car)g(z\)\))f(x\)\)\))127 2329 y(\(\(null)g(y\))h(x\)) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 187 211 +187 210 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(187)85 295 y Fs(\(when)20 b(\(null)g(z\))127 347 y(\(cerror)g("Will)g +(self-pair)f(extraneous)g(items")296 399 y("Mismatch)h(-)h(gleep!)41 +b(S")21 b(y\))127 450 y(\(setq)f(z)h(y\)\)\)\))42 549 +y Fw(The)c Fs(prog)g Fw(construct)i(ma)o(y)c(b)q(e)j(explained)g(in)f +(terms)g(of)g(the)h(simpler)e(constructs)0 601 y Fs(block)p +Fw(,)c Fs(let)p Fw(,)h(and)h Fs(tagbody)e Fw(as)i(follo)o(ws:)0 +701 y Fs(\(prog)20 b Fv(variable-list)27 b Ft(f)p Fv(de)n(clar)n(ation) +s Ft(g)610 686 y Fl(\003)656 701 y Fs(.)21 b Fv(b)n(o)n(dy)p +Fs(\))64 753 y Ft(\021)g Fs(\(block)f(nil)g(\(let)h Fv(variable-list)26 +b Ft(f)p Fv(de)n(clar)n(ation)s Ft(g)943 738 y Fl(\003)990 +753 y Fs(\(tagbody)20 b(.)h Fv(b)n(o)n(dy)p Fs(\)\)\))42 +852 y Fw(The)14 b Fs(prog*)f Fw(sp)q(ecial)h(form)f(is)g(almost)g(the)h +(same)f(as)i Fs(prog)p Fw(.)i(The)e(only)e(di\013erence)j(is)0 +904 y(that)d(the)h(binding)e(and)h(initialization)e(of)i(the)g(temp)q +(orary)g(v)n(ariables)g(is)g(done)g Fv(se)n(quen-)0 956 +y(tial)r(ly)p Fw(,)h(so)g(that)h(the)g Fv(init)g Fw(form)e(for)h(eac)o +(h)h(one)g(can)g(use)h(the)f(v)n(alues)f(of)h(previous)g(ones.)0 +1008 y(Therefore)g Fs(prog*)e Fw(is)h(to)f Fs(prog)g +Fw(as)h Fs(let*)f Fw(is)h(to)g Fs(let)p Fw(.)j(F)m(or)d(example,)0 +1108 y Fs(\(prog*)20 b(\(\(y)g(z\))h(\(x)g(\(car)f(y\)\)\))148 +1160 y(\(return)g(x\)\))0 1259 y Fw(returns)15 b(the)g +Fv(c)n(ar)e Fw(of)h(the)g(v)n(alue)f(of)h Fs(z)p Fw(.)42 +1312 y(I)h(ha)o(v)o(en't)h(seen)h Fs(prog)e Fw(used)i(v)o(ery)f(m)o(uc) +o(h)f(in)g(the)i(last)e(sev)o(eral)i(y)o(ears.)25 b(Apparen)o(tly)-33 +1284 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1364 a(splitting)11 b(it)g(in)o(to)g(functional)f +(constituen)o(ts)j(\()p Fs(let)p Fw(,)e Fs(block)p Fw(,)g +Fs(tagbody)p Fw(\))f(has)i(b)q(een)h(a)e(suc-)0 1416 +y(cess.)18 b(Common)7 b(Lisp)j(programmers)f(no)o(w)g(tend)i(to)f(use)h +(whic)o(hev)o(er)g(sp)q(eci\014c)h(construct)0 1468 y(is)i +(appropriate.)-33 1479 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1145 1669 a([)p Fv(Sp)n(e)n(cial)h(form)s +Fw(])-1396 b Fs(go)35 b Fv(tag)0 1747 y Fw(The)12 b Fs(\(go)20 +b Fv(tag)p Fs(\))11 b Fw(sp)q(ecial)h(form)d(is)i(used)h(to)f(do)g(a)g +(\\go)g(to")f(within)h(a)g Fs(tagbody)f Fw(construct.)0 +1799 y(The)j Fv(tag)f Fw(m)o(ust)f(b)q(e)i(a)f(sym)o(b)q(ol)f(or)h(an)g +(in)o(teger;)h(the)g Fv(tag)f Fw(is)g(not)g(ev)n(aluated.)18 +b Fs(go)11 b Fw(transfers)0 1851 y(con)o(trol)17 b(to)f(the)i(p)q(oin)o +(t)e(in)g(the)i(b)q(o)q(dy)f(lab)q(elled)f(b)o(y)h(a)f(tag)g +Fs(eql)h Fw(to)f(the)i(one)f(giv)o(en.)26 b(If)0 1903 +y(there)17 b(is)f(no)g(suc)o(h)g(tag)g(in)f(the)i(b)q(o)q(dy)m(,)f(the) +g(b)q(o)q(dies)h(of)e(lexically)f(con)o(taining)h Fs(tagbody)0 +1954 y Fw(constructs)g(\(if)d(an)o(y\))g(are)h(examined)f(as)h(w)o +(ell.)k(It)c(is)f(an)h(error)g(if)f(there)i(is)f(no)g(matc)o(hing)0 +2006 y(tag)g(lexically)g(visible)g(to)h(the)g(p)q(oin)o(t)g(of)f(the)i +Fs(go)p Fw(.)42 2060 y(The)f Fs(go)f Fw(form)f(do)q(es)j(not)f(ev)o(er) +h(return)g(a)e(v)n(alue.)42 2113 y(As)k(a)g(matter)f(of)h(st)o(yle,)g +(it)g(is)g(recommended)f(that)h(the)h(user)g(think)f(t)o(wice)g(b)q +(efore)0 2165 y(using)11 b(a)g Fs(go)p Fw(.)17 b(Most)11 +b(purp)q(oses)i(of)e Fs(go)f Fw(can)i(b)q(e)g(accomplished)e(with)h +(one)h(of)e(the)i(iteration)0 2217 y(primitiv)o(es,)g(nested)k +(conditional)d(forms,)f(or)i Fs(return-from)p Fw(.)j(If)d(the)h(use)g +(of)f Fs(go)g Fw(seems)0 2269 y(to)i(b)q(e)h(una)o(v)o(oidable,)d(p)q +(erhaps)k(the)e(con)o(trol)g(structure)j(implem)o(en)o(ted)14 +b(b)o(y)i Fs(go)g Fw(should)0 2321 y(b)q(e)f(pac)o(k)n(aged)e(as)h(a)g +(macro)e(de\014nition.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 188 212 +188 211 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(188)77 b(COMMON)13 +b(LISP)0 295 y Fo(7.9.)20 b(Structure)15 b(T)-5 b(ra)n(v)n(ersal)15 +b(and)g(Side)g(E\013ects)-33 261 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 381 a Fw(X3J13)g(v)o(oted)h(in)f(Jan)o(uary)g(1989)g +Ft(h)p Fw(121)p Ft(i)g Fw(to)g(restrict)j(side)d(e\013ects)j(during)d +(the)h(course)0 433 y(of)d(a)g(built-in)f(op)q(eration)h(that)h(can)g +(execute)h(user-supplied)f(co)q(de)h(while)d(tra)o(v)o(ersing)i(a)0 +485 y(data)g(structure.)42 537 y(Consider)g(the)g(follo)o(wing)e +(example:)0 622 y Fs(\(let)20 b(\(\(x)193 626 y Fn(')216 +622 y Fs(\(apples)g(peaches)g(pumpkin)f(pie\)\)\))42 +674 y(\(dolist)h(\(z)h(x\))85 726 y(\(when)f(\(eq)g(z)342 +730 y Fn(')366 726 y Fs(peaches\))127 778 y(\(setf)g(\(cddr)g(x\))450 +782 y Fn(')473 778 y Fs(\(mango)g(kumquat\)\)\))85 830 +y(\(format)f(t)i(")g(S)g(")g(\(car)g(z\)\)\)\))0 916 +y Fw(Dep)q(ending)c(on)f(the)h(details)g(of)f(the)h(implem)o(en)o +(tation)d(of)i Fs(dolist)p Fw(,)f(this)i(bit)f(of)g(co)q(de)0 +968 y(could)e(easily)f(prin)o(t)0 1054 y Fs(apples)20 +b(peaches)g(mango)g(kumquat)0 1139 y Fw(\(whic)o(h)14 +b(is)g(p)q(erhaps)h(what)e(w)o(as)h(in)o(tended\),)g(but)h(it)e(migh)o +(t)f(as)i(easily)f(prin)o(t)0 1225 y Fs(apples)20 b(peaches)g(pumpkin)f +(pie)0 1311 y Fw(Here)c(is)f(a)f(plausible)h(implem)o(en)o(tation)d(of) +i Fs(dolist)g Fw(that)h(pro)q(duces)h(the)g(\014rst)f(result:)0 +1397 y Fs(\(defmacro)19 b(dolist)h(\(\(var)g(listform)g(&optional)f +(\(resultform)1171 1401 y Fn(')-5 b(')1215 1397 y Fs(nil\)\))381 +1449 y(&body)20 b(body\))42 1501 y(\(let)h(\(\(tailvar)e(\(gensym)h +("DOLIST"\)\)\))82 1556 y Fn(`)106 1552 y Fs(\(do)g(\(\(,tailvar)g +(,listform)f(\(cdr)h(,tailvar\)\)\))191 1604 y(\(\(null)f(,tailvar\))h +(,resultform\))148 1656 y(\(let)h(\(\(,var)e(\(car)i(,tailvar\)\)\))e +(,@body\)\))0 1742 y Fw(But)e(here)h(is)e(a)g(plausible)g(implemen)o +(tatio)o(n)e(of)i Fs(dolist)f Fw(that)h(pro)q(duces)j(the)e(second)0 +1794 y(result:)0 1880 y Fs(\(defmacro)i(dolist)h(\(\(var)g(listform)g +(&optional)f(\(resultform)1171 1884 y Fn(')-5 b(')1215 +1880 y Fs(nil\)\))381 1932 y(&body)20 b(body\))42 1984 +y(\(let)h(\(\(tailvar)e(\(gensym)h("DOLIST"\)\)\))82 +2039 y Fn(`)106 2035 y Fs(\(do)g(\(\(,tailvar)g(,listform\)\))191 +2087 y(\(\(null)f(,tailvar\))h(,resultform\))148 2139 +y(\(let)h(\(\(,var)e(\(pop)i(,tailvar\)\)\))e(,@body\)\))42 +2225 y Fw(The)h(X3J13)g(recognizes)i(and)e(legitimizes)e(v)n(arying)h +(implemen)o(tation)e(practices:)0 2277 y(in)i(general)h(it)g(is)f(an)h +(error)g(for)g(co)q(de)g(executed)i(during)e(a)f(\\structure-tra)o(v)o +(ersing")0 2329 y(op)q(eration)f(to)g(destructiv)o(ely)i(mo)q(dify)c +(the)j(structure)h(in)e(a)g(w)o(a)o(y)g(that)h(migh)o(t)d(a\013ect)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 189 213 +189 212 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(189)0 295 y Fw(the)17 b(ongoing)e(tra)o(v)o(ersal)i(op)q(eration.)26 +b(The)17 b(committee)e(iden)o(ti\014ed)i(in)f(particular)g(the)0 +347 y(follo)o(wing)11 b(sp)q(ecial)j(cases.)42 399 y(F)m(or)f(list)h +(tra)o(v)o(ersal)g(op)q(erations,)h(the)f Fv(c)n(dr)g +Fw(c)o(hain)g(ma)o(y)f(not)h(b)q(e)h(destructiv)o(ely)g(mo)q(di-)0 +451 y(\014ed.)42 503 y(F)m(or)c(arra)o(y)h(tra)o(v)o(ersal)h(op)q +(erations,)f(the)h(arra)o(y)f(ma)o(y)f(not)h(b)q(e)h(adjusted)g(\(see)g +Fs(adjust-)0 555 y(array)p Fw(\))g(and)h(its)g(\014ll)f(p)q(oin)o(ter,) +g(if)g(an)o(y)m(,)g(ma)o(y)f(not)h(b)q(e)i(mo)q(di\014ed.)42 +608 y(F)m(or)29 b(hash)h(table)g(op)q(erations)g(\(suc)o(h)g(as)g +Fs(with-hash-table-it)o(erato)o(r)d Fw(and)0 660 y Fs(maphash)p +Fw(\),)19 b(new)h(en)o(tries)h(ma)o(y)d(not)i(b)q(e)g(added)g(or)g +(deleted,)h Fv(exc)n(ept)f Fw(that)g(the)g(v)o(ery)0 +712 y(en)o(try)15 b(b)q(eing)e(pro)q(cessed)k(b)o(y)c(user)i(co)q(de)g +(ma)o(y)d(b)q(e)i(c)o(hanged)h(or)e(deleted.)42 764 y(F)m(or)e(pac)o(k) +n(age)h(sym)o(b)q(ol)e(op)q(erations)j(\(for)e(example,)g +Fs(with-package-itera)o(tor)e Fw(and)0 816 y Fs(do-symbols)p +Fw(\),)14 b(new)i(sym)o(b)q(ols)f(ma)o(y)f(not)i(b)q(e)g(in)o(terned)h +(in,)e(nor)h(sym)o(b)q(ols)f(unin)o(terned)0 868 y(from,)d(the)j(pac)o +(k)n(ages)f(b)q(eing)g(tra)o(v)o(ersed)i(or)e(an)o(y)g(pac)o(k)n(ages)g +(they)h(use,)f Fv(exc)n(ept)h Fw(that)f(the)0 920 y(v)o(ery)g(sym)o(b)q +(ol)e(b)q(eing)i(pro)q(cessed)i(b)o(y)e(user)h(co)q(de)g(ma)o(y)d(b)q +(e)i(unin)o(terned.)42 972 y(X3J13)g(noted)h(that)g(this)f(v)o(ote)h +(is)g(in)o(tended)g(to)f(clarify)g(restrictions)i(on)f(the)g(use)g(of)0 +1024 y(structure)h(tra)o(v)o(ersal)d(op)q(erations)h(that)g(are)g(not)f +(themselv)o(es)h(inheren)o(tly)g(destructiv)o(e;)0 1076 +y(for)19 b(example,)g(it)f(applies)h(to)g Fs(map)g Fw(and)g +Fs(dolist)p Fw(.)32 b(Destructiv)o(e)21 b(op)q(erators)f(suc)o(h)g(as)0 +1128 y Fs(delete)d Fw(require)j(ev)o(en)f(more)f(complicated)f +(restrictions)j(and)f(are)g(addressed)i(b)o(y)d(a)0 1180 +y(separate)d(prop)q(osal.)42 1232 y(The)g(X3J13)f(v)o(ote)h(did)f(not)h +(sp)q(ecify)g(a)g(complete)f(list)g(of)g(the)h(op)q(erations)g(to)g +(whic)o(h)0 1284 y(these)g(restrictions)h(apply)m(.)h(T)m(able)c(7-1)g +(sho)o(ws)i(what)e(I)h(b)q(eliev)o(e)h(to)f(b)q(e)g(a)g(complete)f +(list)0 1336 y(of)j(op)q(erations)h(that)g(tra)o(v)o(erse)h(structures) +h(and)e(tak)o(e)g(user)h(co)q(de)f(as)g(a)g(b)q(o)q(dy)g(\(in)f(the)0 +1388 y(case)f(of)e(macros\))g(or)h(as)g(a)g(functional)f(argumen)o(t)f +(\(in)i(the)g(case)h(of)f(functions\).)42 1440 y(In)d(addition,)g(note) +g(that)h(user)h(co)q(de)f(should)g(not)f(mo)q(dify)e(list)i(structure)j +(that)e(migh)o(t)0 1492 y(b)q(e)i(undergoing)f(in)o(terpretation)g(b)o +(y)g(the)h(ev)n(aluator,)e(whether)i(explicitly)e(in)o(v)o(ok)o(ed)h +(via)0 1544 y Fs(eval)i Fw(or)h(implicitly)c(in)o(v)o(ok)o(ed,)j(for)h +(example)e(as)i(in)f(the)i(case)f(of)g(a)f(ho)q(ok)g(function)h(\(a)0 +1596 y Fs(defstruct)i Fw(prin)o(t)h(function,)h(the)g(v)n(alue)f(of)g +Fs(*evalhook*)e Fw(or)j Fs(*applyhook*)p Fw(,)e(etc.\))0 +1648 y(that)c(happ)q(ens)i(to)e(b)q(e)h(a)f(closure)h(of)e(in)o +(terpreted)j(co)q(de.)k(Similarly)m(,)10 b Fs(defstruct)j +Fw(prin)o(t)0 1700 y(functions)h(and)g(other)h(ho)q(oks)g(should)f(not) +g(p)q(erform)f(side)i(e\013ects)h(on)e(data)g(structures)0 +1752 y(b)q(eing)j(prin)o(ted)h(or)g(b)q(eing)f(pro)q(cessed)j(b)o(y)d +Fs(format)p Fw(,)f(or)i(on)f(a)g(string)h(giv)o(en)f(to)g +Fs(make-)0 1803 y(string-input-stre)o(am)p Fw(.)e(Y)m(ou)e(get)i(the)f +(idea;)f(b)q(e)i(sensible.)42 1856 y(Note)i(that)h(an)f(op)q(eration)g +(suc)o(h)h(as)g Fs(mapcar)e Fw(or)h Fs(dolist)f Fw(tra)o(v)o(erses)j +(not)e(only)g Fv(c)n(dr)0 1908 y Fw(p)q(oin)o(ters)g(\(in)f(order)h(to) +g(c)o(hase)g(do)o(wn)f(the)h(list\))g(but)f(also)g Fv(c)n(ar)g +Fw(p)q(oin)o(ters)h(\(in)g(order)g(to)0 1960 y(obtain)10 +b(the)i(elemen)o(ts)e(themselv)o(es\).)18 b(The)11 b(restriction)h +(against)e(mo)q(di\014cation)f(app)q(ears)0 2012 y(to)14 +b(apply)f(to)h(all)e(these)k(p)q(oin)o(ters.)-33 2023 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2184 a Fo(7.10.)k(Multiple)14 b(V)-5 b(alues)0 +2277 y Fw(Ordinarily)13 b(the)i(result)g(of)e(calling)g(a)h(Lisp)g +(function)g(is)g(a)g(single)f(Lisp)h(ob)r(ject.)20 b(Some-)0 +2329 y(times,)12 b(ho)o(w)o(ev)o(er,)h(it)f(is)h(con)o(v)o(enien)o(t)g +(for)f(a)h(function)g(to)f(compute)h(sev)o(eral)g(ob)r(jects)h(and)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 190 214 +190 213 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(190)77 b(COMMON)13 +b(LISP)p 0 255 1395 2 v 0 364 a Fm(T)l(able)h(7-1:)k +FA(Structure)c(T)m(ra)o(v)o(ersal)f(Op)q(erations)i(Sub)r(ject)f(to)f +(Side)h(E\013ect)f(Restrictions)-33 382 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 457 a Fj(adjoin)352 b(maphash)312 b(reduce)0 +503 y(assoc)372 b(mapl)g(remove)0 548 y(assoc-if)312 +b(maplist)g(remove-dup)o(li)o(cat)o(es)0 594 y(assoc-if-n)o(ot)233 +b(member)332 b(remove-if)0 640 y(count)372 b(member-if)272 +b(remove-if-)o(no)o(t)0 685 y(count-if)312 b(member-if)o(-no)o(t)194 +b(search)0 731 y(count-if-n)o(ot)233 b(merge)352 b(set-differ)o(en)o +(ce)0 777 y(delete)g(mismatch)292 b(set-exclus)o(iv)o(e-o)o(r)0 +822 y(delete-dup)o(li)o(cat)o(es)135 b(nintersec)o(tio)o(n)194 +b(some)0 868 y(delete-if)292 b(notany)332 b(sort)0 914 +y(delete-if-)o(no)o(t)214 b(notevery)292 b(stable-sor)o(t)0 +959 y(do-all-sym)o(bo)o(ls)194 b(nset-diff)o(ere)o(nc)o(e)155 +b(sublis)0 1005 y(do-externa)o(l-)o(sym)o(bo)o(ls)96 +b(nset-excl)o(usi)o(ve)o(-or)115 b(subsetp)0 1051 y(do-symbols)272 +b(nsublis)312 b(subst)0 1096 y(dolist)352 b(nsubst)332 +b(subst-if)0 1142 y(eval)392 b(nsubst-if)272 b(subst-if-n)o(ot)0 +1188 y(every)372 b(nsubst-if)o(-no)o(t)194 b(substitute)0 +1233 y(find)392 b(nsubstitu)o(te)233 b(substitute)o(-i)o(f)0 +1279 y(find-if)332 b(nsubstitu)o(te-)o(if)174 b(substitute)o(-i)o(f-n)o +(ot)0 1325 y(find-if-no)o(t)253 b(nsubstitu)o(te-)o(if)o(-no)o(t)96 +b(tree-equal)0 1370 y(intersecti)o(on)233 b(nunion)332 +b(union)0 1416 y FA(certain)20 b Fj(loop)d FA(clauses)127 +b Fj(position)292 b(with-hash-)o(ta)o(ble)o(-i)o(ter)o(ato)o(r)0 +1462 y(map)412 b(position-)o(if)233 b(with-input)o(-f)o(rom)o(-s)o(tri) +o(ng)0 1507 y(mapc)392 b(position-)o(if-)o(no)o(t)155 +b(with-outpu)o(t-)o(to-)o(st)o(rin)o(g)0 1553 y(mapcan)352 +b(rassoc)332 b(with-packa)o(ge)o(-it)o(er)o(ato)o(r)0 +1599 y(mapcar)352 b(rassoc-if)0 1644 y(mapcon)g(rassoc-if)o(-no)o(t)-33 +1658 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1685 V 0 1775 a Fw(return)15 b(them.)j(Common)11 +b(Lisp)j(pro)o(vides)g(a)g(mec)o(hanism)e(for)h(handling)g(m)o(ultiple) +f(v)n(al-)0 1827 y(ues)f(directly)m(.)16 b(This)10 b(mec)o(hanism)d(is) +j(cleaner)h(and)e(more)g(e\016cien)o(t)h(than)g(the)h(usual)e(tric)o +(ks)0 1879 y(in)o(v)o(olving)j(returning)i(a)g(list)f(of)g(results)i +(or)f(stashing)g(results)h(in)f(global)e(v)n(ariables.)0 +2034 y Fo(7.10.1.)20 b(Constructs)15 b(for)g(Handling)g(Multiple)e(V)-5 +b(alues)0 2121 y Fw(Normally)15 b(m)o(ultiple)g(v)n(alues)j(are)g(not)f +(used.)31 b(Sp)q(ecial)17 b(forms)f(are)j(required)f(b)q(oth)g(to)0 +2173 y Fv(pr)n(o)n(duc)n(e)e Fw(m)o(ultiple)d(v)n(alues)i(and)h(to)f +Fv(r)n(e)n(c)n(eive)g Fw(them.)22 b(If)15 b(the)h(caller)g(of)f(a)g +(function)g(do)q(es)0 2225 y(not)e(request)i(m)o(ultiple)c(v)n(alues,)h +(but)h(the)h(called)f(function)g(pro)q(duces)i(m)o(ultiple)10 +b(v)n(alues,)0 2277 y(then)16 b(the)h(\014rst)f(v)n(alue)f(is)h(giv)o +(en)f(to)g(the)i(caller)e(and)h(all)e(others)j(are)f(discarded;)h(if)e +(the)0 2329 y(called)f(function)f(pro)q(duces)j(zero)e(v)n(alues,)g +(then)g(the)h(caller)e(gets)i Fs(nil)e Fw(as)h(a)g(v)n(alue.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 191 215 +191 214 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(191)42 295 y Fw(The)12 b(primary)e(primitiv)o(e)f(for)i(pro)q(ducing) +h(m)o(ultiple)d(v)n(alues)j(is)f Fs(values)p Fw(,)g(whic)o(h)g(tak)o +(es)0 347 y(an)o(y)k(n)o(um)o(b)q(er)g(of)g(argumen)o(ts)g(and)g +(returns)i(that)f(man)o(y)d(v)n(alues.)23 b(If)15 b(the)h(last)f(form)f +(in)0 399 y(the)h(b)q(o)q(dy)f(of)g(a)g(function)g(is)g(a)g +Fs(values)f Fw(with)h(three)i(argumen)o(ts,)d(then)i(a)f(call)g(to)g +(that)0 450 y(function)h(will)f(return)j(three)g(v)n(alues.)23 +b(Other)17 b(sp)q(ecial)f(forms)e(also)h(pro)q(duce)i(m)o(ultiple)0 +502 y(v)n(alues,)12 b(but)g(they)h(can)f(b)q(e)g(describ)q(ed)i(in)e +(terms)g(of)f Fs(values)p Fw(.)16 b(Some)11 b(built-in)g(Common)0 +554 y(Lisp)17 b(functions,)h(suc)o(h)h(as)e Fs(floor)p +Fw(,)g(return)i(m)o(ultiple)c(v)n(alues;)k(those)f(that)f(do)h(are)g +(so)0 606 y(do)q(cumen)o(ted.)42 658 y(The)c(sp)q(ecial)g(forms)e(and)i +(macros)f(for)h(receiving)g(m)o(ultiple)e(v)n(alues)h(are)h(as)g(follo) +o(ws:)0 745 y Fs(multiple-value-li)o(st)0 797 y(multiple-value-ca)o(ll) +0 849 y(multiple-value-pr)o(og1)0 901 y(multiple-value-bi)o(nd)0 +953 y(multiple-value-se)o(tq)0 1040 y Fw(These)g(sp)q(ecify)f(a)g(form) +e(to)h(ev)n(aluate)h(and)f(an)h(indication)e(of)h(where)i(to)f(put)g +(the)g(v)n(alues)0 1092 y(returned)j(b)o(y)d(that)h(form.)1209 +1229 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(values)20 +b(&rest)g Fv(ar)n(gs)0 1306 y Fw(All)13 b(of)g(the)i(argumen)o(ts)e +(are)h(returned,)h(in)f(order,)g(as)g(v)n(alues.)k(F)m(or)13 +b(example:)0 1393 y Fs(\(defun)20 b(polar)g(\(x)h(y\))42 +1445 y(\(values)f(\(sqrt)g(\(+)h(\(*)g(x)g(x\))f(\(*)h(y)g(y\)\)\))f +(\(atan)h(y)g(x\)\)\))0 1549 y(\(multiple-value-b)o(ind)d(\(r)j +(theta\))f(\(polar)g(3.0)g(4.0\))42 1600 y(\(vector)g(r)h(theta\)\))64 +1652 y Ft(\))f Fs(#)126 1648 y(-)126 1656 y(-)148 1652 +y(\(5.0)g(0.9272952\))42 1739 y Fw(The)c(expression)h +Fs(\(values\))e Fw(returns)i(zero)g(v)n(alues.)24 b(This)16 +b(is)g(the)h(standard)f(idiom)0 1791 y(for)e(returning)g(no)g(v)n +(alues)f(from)f(a)i(function.)42 1843 y(Sometimes)f(it)j(is)g +(desirable)g(to)g(indicate)g(explicitly)f(that)h(a)f(function)h(will)f +(return)0 1895 y(exactly)f(one)g(v)n(alue.)j(F)m(or)d(example,)e(the)j +(function)0 1982 y Fs(\(defun)20 b(foo)g(\(x)h(y\))42 +2034 y(\(floor)f(\(+)h(x)g(y\))g(y\)\))0 2121 y Fw(will)13 +b(return)j(t)o(w)o(o)e(v)n(alues)g(b)q(ecause)j Fs(floor)c +Fw(returns)j(t)o(w)o(o)e(v)n(alues.)20 b(It)15 b(ma)o(y)d(b)q(e)j(that) +g(the)0 2173 y(second)j(v)n(alue)e(mak)o(es)g(no)h(sense,)i(or)d(that)h +(for)g(e\016ciency)h(reasons)g(it)e(is)h(desired)h(not)0 +2225 y(to)c(compute)f(the)i(second)g(v)n(alue.)j(The)d +Fs(values)e Fw(function)g(is)h(the)h(standard)g(idiom)c(for)0 +2277 y(indicating)16 b(that)i(only)f(one)h(v)n(alue)f(is)g(to)h(b)q(e)g +(returned,)i(as)d(sho)o(wn)h(in)f(the)h(follo)o(wing)0 +2329 y(example.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 192 216 +192 215 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(192)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(defun)20 b(foo)g(\(x)h(y\))42 347 +y(\(values)f(\(floor)g(\(+)h(x)g(y\))f(y\)\)\))0 436 +y Fw(This)12 b(w)o(orks)g(b)q(ecause)i Fs(values)d Fw(returns)i +(exactly)g Fv(one)f Fw(v)n(alue)g(for)g(eac)o(h)g(of)g(its)g(argumen)o +(t)0 488 y(forms;)e(as)h(for)g(an)o(y)g(function)g(call,)f(if)g(an)o(y) +h(argumen)o(t)f(form)f(to)i Fs(values)f Fw(pro)q(duces)j(more)0 +540 y(than)h(one)g(v)n(alue,)f(all)f(but)i(the)h(\014rst)g(are)f +(discarded.)42 592 y(There)21 b(is)g(absolutely)f(no)g(w)o(a)o(y)g(in)g +(Commo)o(n)e(Lisp)i(for)g(a)h(caller)f(to)g(distinguish)0 +644 y(b)q(et)o(w)o(een)12 b(returning)f(a)g(single)f(v)n(alue)g(in)g +(the)i(ordinary)e(manner)g(and)g(returning)i(exactly)0 +696 y(one)18 b(\\m)o(ultiple)d(v)n(alue.")29 b(F)m(or)17 +b(example,)g(the)h(v)n(alues)g(returned)h(b)o(y)f(the)g(expressions)0 +748 y Fs(\(+)j(1)g(2\))e Fw(and)h Fs(\(values)g(\(+)h(1)g(2\)\))e +Fw(are)i(iden)o(tical)e(in)h(ev)o(ery)h(resp)q(ect:)32 +b(the)21 b(single)0 800 y(v)n(alue)13 b Fs(3)p Fw(.)1204 +949 y([)p Fv(Constant)t Fw(])-1395 b Fs(multiple-values-l)o(imit)0 +1026 y Fw(The)15 b(v)n(alue)f(of)g Fs(multiple-values-l)o(imit)d +Fw(is)k(a)f(p)q(ositiv)o(e)g(in)o(teger)h(that)g(is)g(the)g(upp)q(er)0 +1078 y(exclusiv)o(e)10 b(b)q(ound)g(on)f(the)h(n)o(um)o(b)q(er)f(of)g +(v)n(alues)g(that)h(ma)o(y)d(b)q(e)j(returned)h(from)d(a)h(function.)0 +1130 y(This)21 b(b)q(ound)f(dep)q(ends)j(on)d(the)h(implemen)o(tation)d +(but)i(will)g(not)g(b)q(e)i(smaller)d(than)0 1182 y(20.)j(\(Implemen)o +(tors)13 b(are)j(encouraged)g(to)g(mak)o(e)d(this)j(limit)c(as)k(large) +f(as)g(practicable)0 1234 y(without)e(sacri\014cing)h(p)q +(erformance.\))k(See)c Fs(lambda-parameters)o(-limi)o(t)d +Fw(and)i Fs(call-)0 1286 y(arguments-limit)p Fw(.)1209 +1435 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(values-list)19 +b Fv(list)0 1513 y Fw(All)13 b(of)g(the)i(elemen)o(ts)f(of)f +Fv(list)g Fw(are)h(returned)i(as)e(m)o(ultiple)d(v)n(alues.)18 +b(F)m(or)13 b(example:)0 1603 y Fs(\(values-list)19 b(\(list)h(a)h(b)g +(c\)\))f Ft(\021)i Fs(\(values)d(a)i(b)g(c\))0 1692 y +Fw(In)14 b(general,)0 1782 y Fs(\(values-list)19 b Fv(list)p +Fs(\))h Ft(\021)h Fs(\(apply)f(#)585 1778 y(-)585 1786 +y(-)n Fn(')628 1782 y Fs(values)g Fv(list)p Fs(\))0 1871 +y Fw(but)14 b Fs(values-list)e Fw(ma)o(y)g(b)q(e)i(clearer)h(or)f(more) +f(e\016cien)o(t.)1255 2021 y([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(multiple-value-li)o(st)32 b Fv(form)0 2098 y Fs(multiple-value-li) +o(st)8 b Fw(ev)n(aluates)j Fv(form)f Fw(and)h(returns)h(a)e(list)h(of)f +(the)h(m)o(ultiple)e(v)n(alues)0 2150 y(it)14 b(returned.)19 +b(F)m(or)14 b(example:)0 2239 y Fs(\(multiple-value-l)o(ist)k(\(floor)i +(-3)h(4\)\))f Ft(\))h Fs(\(-1)f(1\))0 2329 y(multiple-value-li)o(st)9 +b Fw(and)k Fs(values-list)d Fw(are)j(therefore)g(in)o(v)o(erses)h(of)e +(eac)o(h)h(other.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 193 217 +193 216 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(193)1145 295 y Fw([)p Fv(Sp)n(e)n(cial)15 b(form)s +Fw(])-1396 b Fs(multiple-value-ca)o(ll)32 b Fv(function)22 +b Ft(f)7 b Fv(form)p Ft(g)754 280 y Fl(\003)0 372 y Fs +(multiple-value-ca)o(ll)k Fw(\014rst)k(ev)n(aluates)f +Fv(function)h Fw(to)e(obtain)h(a)f(function)h(and)g(then)0 +424 y(ev)n(aluates)h(all)e(of)i(the)g Fv(form)s Fw(s.)21 +b(All)14 b(the)h(v)n(alues)g(of)f(the)h Fv(form)s Fw(s)g(are)g +(gathered)h(together)0 476 y(\(not)d(just)f(one)h(v)n(alue)f(from)e +(eac)o(h\))k(and)e(are)h(all)e(giv)o(en)h(as)g(argumen)o(ts)g(to)g(the) +h(function.)0 527 y(The)h(result)h(of)e Fs(multiple-value-cal)o(l)e +Fw(is)j(whatev)o(er)g(is)g(returned)h(b)o(y)f(the)g(function.)0 +579 y(F)m(or)f(example:)0 666 y Fs(\(+)21 b(\(floor)f(5)h(3\))f +(\(floor)g(19)h(4\)\))64 718 y Ft(\021)g Fs(\(+)g(1)g(4\))f +Ft(\))h Fs(5)0 770 y(\(multiple-value-c)o(all)d(#)457 +766 y(-)457 774 y(-)n Fn(')500 770 y Fs(+)j(\(floor)f(5)h(3\))g +(\(floor)f(19)g(4\)\))64 822 y Ft(\021)h Fs(\(+)g(1)g(2)g(4)g(3\))f +Ft(\))h Fs(10)0 874 y(\(multiple-value-l)o(ist)d Fv(form)p +Fs(\))i Ft(\021)i Fs(\(multiple-value-c)o(all)c(#)1096 +870 y(-)1096 878 y(-)m Fn(')1139 874 y Fs(list)i Fv(form)p +Fs(\))1145 1011 y Fw([)p Fv(Sp)n(e)n(cial)15 b(form)s +Fw(])-1396 b Fs(multiple-value-pr)o(og1)32 b Fv(form)21 +b Ft(f)7 b Fv(form)p Ft(g)713 996 y Fl(\003)0 1088 y +Fs(multiple-value-pr)o(og1)j Fw(ev)n(aluates)k(the)g(\014rst)h +Fv(form)e Fw(and)g(sa)o(v)o(es)h(all)e(the)j(v)n(alues)e(pro-)0 +1140 y(duced)20 b(b)o(y)f(that)g(form.)32 b(It)20 b(then)g(ev)n +(aluates)f(the)h(other)f Fv(form)p Fw(s)g(from)f(left)h(to)g(righ)o(t,) +0 1191 y(discarding)d(their)g(v)n(alues.)25 b(The)16 +b(v)n(alues)g(pro)q(duced)i(b)o(y)d(the)i(\014rst)g Fv(form)f +Fw(are)g(returned)0 1243 y(b)o(y)e Fs(multiple-value-p)o(rog1)p +Fw(.)g(See)h Fs(prog1)p Fw(,)e(whic)o(h)g(alw)o(a)o(ys)g(returns)j(a)d +(single)h(v)n(alue.)1255 1380 y([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(multiple-value-bi)o(nd)32 b(\()7 b Ft(f)p Fv(var)p +Ft(g)578 1365 y Fl(\003)603 1380 y Fs(\))15 b Fv(values-form)442 +1432 y Ft(f)p Fv(de)n(clar)n(ation)p Ft(g)681 1417 y +Fl(\003)728 1432 y Ft(f)7 b Fv(form)p Ft(g)863 1417 y +Fl(\003)0 1509 y Fw(The)17 b Fv(values-form)f Fw(is)g(ev)n(aluated,)g +(and)g(eac)o(h)h(of)f(the)h(v)n(ariables)e Fv(var)h Fw(is)h(b)q(ound)f +(to)g(the)0 1561 y(resp)q(ectiv)o(e)d(v)n(alue)d(returned)i(b)o(y)f +(that)g(form.)k(If)10 b(there)i(are)f(more)f(v)n(ariables)g(than)h(v)n +(alues)0 1613 y(returned,)19 b(extra)e(v)n(alues)f(of)h +Fs(nil)f Fw(are)h(giv)o(en)f(to)h(the)g(remaining)e(v)n(ariables.)26 +b(If)16 b(there)0 1665 y(are)g(more)f(v)n(alues)g(than)h(v)n(ariables,) +f(the)h(excess)i(v)n(alues)d(are)h(simply)e(discarded.)24 +b(The)0 1717 y(v)n(ariables)11 b(are)i(b)q(ound)f(to)f(the)i(v)n(alues) +f(o)o(v)o(er)g(the)g(execution)h(of)e(the)i(forms,)d(whic)o(h)i(mak)o +(e)0 1768 y(up)i(an)g(implicit)d Fs(progn)p Fw(.)17 b(F)m(or)c +(example:)0 1856 y Fs(\(multiple-value-b)o(ind)18 b(\(x\))j(\(floor)f +(5)g(3\))h(\(list)f(x\)\))h Ft(\))g Fs(\(1\))0 1907 y +(\(multiple-value-b)o(ind)d(\(x)j(y\))g(\(floor)e(5)i(3\))g(\(list)f(x) +h(y\)\))g Ft(\))g Fs(\(1)f(2\))0 1959 y(\(multiple-value-b)o(ind)e(\(x) +j(y)g(z\))g(\(floor)e(5)i(3\))g(\(list)f(x)h(y)g(z\)\))64 +2011 y Ft(\))f Fs(\(1)h(2)g(nil\))1255 2148 y Fw([)p +Fv(Macr)n(o)s Fw(])-1396 b Fs(multiple-value-se)o(tq)32 +b Fv(variables)14 b(form)0 2225 y Fw(The)19 b Fv(variables)g +Fw(m)o(ust)f(b)q(e)h(a)g(list)f(of)h(v)n(ariables.)32 +b(The)20 b Fv(form)e Fw(is)h(ev)n(aluated,)g(and)g(the)0 +2277 y(v)n(ariables)11 b(are)i Fv(set)f Fw(\(not)g(b)q(ound\))g(to)g +(the)h(v)n(alues)f(returned)i(b)o(y)d(that)i(form.)i(If)d(there)h(are)0 +2329 y(more)h(v)n(ariables)h(than)h(v)n(alues)f(returned,)i(extra)f(v)n +(alues)f(of)g Fs(nil)f Fw(are)i(assigned)g(to)f(the)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 194 218 +194 217 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(194)77 b(COMMON)13 +b(LISP)0 295 y Fw(remaining)d(v)n(ariables.)17 b(If)12 +b(there)h(are)g(more)e(v)n(alues)h(than)g(v)n(ariables,)f(the)i(excess) +h(v)n(alues)0 347 y(are)g(simply)e(discarded.)p 0 406 +V 0 467 a Fm(Compatibilit)o(y)j(note:)24 b FA(In)16 b(Lisp)h(Mac)o +(hine)g(Lisp)g(this)g(is)g(called)g Fj(multiple-v)o(alu)o(e)p +FA(.)23 b(The)0 512 y(added)11 b(clarit)o(y)g(of)e(the)h(name)g +Fj(multiple)o(-va)o(lu)o(e-s)o(etq)c FA(in)k(Common)g(Lisp)g(w)o(as)f +(deemed)i(w)o(orth)0 558 y(the)i(incompatibi)q(li)q(t)o(y)j(with)d +(Lisp)h(Mac)o(hine)h(Lisp.)p 0 592 V -33 2344 a @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 195 219 +195 218 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(195)42 295 y Fs(multiple-value-)o(setq)7 b Fw(alw)o(a)o(ys)j(returns) +i(a)f(single)f(v)n(alue,)g(whic)o(h)h(is)g(the)g(\014rst)g(v)n(alue)0 +347 y(returned)16 b(b)o(y)d Fv(form)p Fw(,)g(or)h Fs(nil)f +Fw(if)g Fv(form)g Fw(pro)q(duces)j(zero)f(v)n(alues.)42 +399 y(X3J13)d(v)o(oted)h(in)f(Marc)o(h)h(1989)f Ft(h)p +Fw(173)p Ft(i)g Fw(to)g(sp)q(ecify)i(that)e(if)g(an)o(y)g +Fv(var)h Fw(refers)h(not)e(to)h(an)-33 371 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 451 a(ordinary)g(v)n(ariable)g(but)h(to)f(a)g(binding)g +(made)f(b)o(y)i Fs(symbol-macrolet)p Fw(,)c(then)k(that)g +Fv(var)0 503 y Fw(is)g(handled)g(as)g(if)f Fs(setq)g +Fw(w)o(ere)h(used)h(to)f(assign)g(the)g(appropriate)g(v)n(alue)f(to)h +(it.)-33 514 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 49 x @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 592 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(nth-value)33 b Fv(n)15 b(form)0 669 y Fw(X3J13)g(v)o(oted)h(in)g +(Jan)o(uary)f(1989)g Ft(h)p Fw(123)p Ft(i)g Fw(to)h(add)f(a)h(new)g +(macro)e(named)h Fs(nth-value)p Fw(.)0 721 y(The)f(argumen)o(t)f(forms) +g Fv(n)h Fw(and)g Fv(form)f Fw(are)h(b)q(oth)g(ev)n(aluated.)k(The)c(v) +n(alue)g(of)f Fv(n)h Fw(m)o(ust)f(b)q(e)0 773 y(a)f(non-negativ)o(e)f +(in)o(teger,)i(and)f(the)g Fv(form)g Fw(ma)o(y)e(pro)q(duce)j(an)o(y)e +(n)o(um)o(b)q(er)h(of)f(v)n(alues.)17 b(The)0 825 y(in)o(teger)e +Fv(n)g Fw(is)g(used)g(as)g(a)f(zero-based)i(index)f(in)o(to)f(the)h +(list)f(of)g(v)n(alues.)20 b(V)m(alue)14 b Fv(n)h Fw(of)f(the)0 +877 y Fv(form)e Fw(is)h(returned)i(as)e(the)h(single)e(v)n(alue)h(of)f +(the)i Fs(nth-value)d Fw(form;)g Fs(nil)h Fw(is)h(returned)i(if)0 +929 y(the)f Fv(form)g Fw(pro)q(duces)h(no)f(more)f(than)h +Fv(n)g Fw(v)n(alues.)42 981 y(As)g(an)g(example,)e Fs(mod)h +Fw(could)h(b)q(e)g(de\014ned)h(as)0 1071 y Fs(\(defun)20 +b(mod)g(\(number)g(divisor\))42 1123 y(\(nth-value)f(1)i(\(floor)f +(number)g(divisor\)\)\))0 1212 y Fw(V)m(alue)15 b(n)o(um)o(b)q(er)f(1)i +(is)f(the)h Fv(se)n(c)n(ond)g Fw(v)n(alue)e(returned)k(b)o(y)d +Fs(floor)p Fw(,)f(the)i(\014rst)g(v)n(alue)f(b)q(eing)0 +1264 y(v)n(alue)e(n)o(um)o(b)q(er)g(0.)42 1317 y(One)h(could)g +(de\014ne)h Fs(nth-value)d Fw(simply)g(as)0 1407 y Fs(\(defmacro)19 +b(nth-value)h(\(n)g(form\))40 1462 y Fn(`)64 1458 y Fs(\(nth)g(,n)h +(\(multiple-value-)o(list)d(,form\)\)\))0 1548 y Fw(but)e(the)g(clev)o +(er)h(implemen)o(tor)c(will)h(doubtless)j(\014nd)f(an)g(implem)o(en)o +(tation)d(tec)o(hnique)0 1600 y(for)i Fs(nth-value)e +Fw(that)i(a)o(v)o(oids)f(constructing)i(an)f(in)o(termediate)f(list)h +(of)f(all)g(the)i(v)n(alues)0 1652 y(of)d(the)i Fv(form)p +Fw(.)-33 1663 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1821 a Fo(7.10.2.)20 b(Rules)14 b(Go)n(v)n(erning)h(the) +f(P)n(assing)i(of)f(Multiple)f(V)-5 b(alues)0 1913 y +Fw(It)13 b(is)g(often)g(the)h(case)g(that)f(the)h(v)n(alue)e(of)h(a)g +(sp)q(ecial)g(form)e(or)j(macro)d(call)i(is)g(de\014ned)h(to)0 +1965 y(b)q(e)i(the)g(v)n(alue)f(of)g(one)g(of)g(its)h(subforms.)21 +b(F)m(or)15 b(example,)f(the)j(v)n(alue)d(of)h(a)g Fs(cond)g +Fw(is)g(the)0 2016 y(v)n(alue)e(of)h(the)g(last)g(form)e(in)h(the)i +(selected)g(clause.)42 2069 y(In)e(most)g(suc)o(h)h(cases,)h(if)e(the)h +(subform)f(pro)q(duces)i(m)o(ultiple)d(v)n(alues,)h(then)h(the)h(orig-) +0 2121 y(inal)f(form)f(will)h(also)g(pro)q(duce)i(all)e(of)h(those)h(v) +n(alues.)21 b(This)15 b Fv(p)n(assing)h(b)n(ack)g Fw(of)e(m)o(ultiple)0 +2173 y(v)n(alues)j(of)f(course)i(has)f(no)g(e\013ect)i(unless)f(ev)o +(en)o(tually)e(one)h(of)g(the)g(sp)q(ecial)g(forms)f(for)0 +2225 y(receiving)e(m)o(ultiple)e(v)n(alues)h(is)h(reac)o(hed.)42 +2277 y(T)m(o)9 b(b)q(e)i(explicit,)g(m)o(ultiple)d(v)n(alues)i(can)h +(result)g(from)e(a)h(sp)q(ecial)h(form)d(under)k(precisely)0 +2329 y(these)j(circumstances:)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 196 220 +196 219 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(196)77 b(COMMON)13 +b(LISP)0 295 y Fv(Evaluation)i(and)h(applic)n(ation)0 +365 y Fu(.)42 374 y Fs(eval)c Fw(returns)j(m)o(ultiple)c(v)n(alues)j +(if)e(the)i(form)e(giv)o(en)h(it)g(to)h(ev)n(aluate)f(pro)q(duces)i(m)o +(ul-)42 426 y(tiple)e(v)n(alues.)0 498 y Fu(.)42 507 +y Fs(apply)p Fw(,)c Fs(funcall)p Fw(,)g(and)i Fs(multiple-value-c)o +(all)c Fw(pass)k(bac)o(k)g(m)o(ultiple)d(v)n(alues)i(from)42 +559 y(the)k(function)g(applied)f(or)h(called.)0 661 y +Fv(Implicit)g Fs(progn)g Fv(c)n(ontexts)0 731 y Fu(.)42 +740 y Fw(The)g(sp)q(ecial)h(form)e Fs(progn)g Fw(passes)j(bac)o(k)f(m)o +(ultiple)d(v)n(alues)i(resulting)h(from)e(ev)n(alua-)42 +792 y(tion)h(of)g(the)i(last)f(subform.)20 b(Other)c(situations)f +(referred)i(to)d(as)h(\\implicit)e Fs(progn)p Fw(,")42 +844 y(where)k(sev)o(eral)f(forms)f(are)h(ev)n(aluated)g(and)g(the)h +(results)g(of)e(all)g(but)h(the)h(last)e(form)42 896 +y(are)j(discarded,)j(also)d(pass)h(bac)o(k)f(m)o(ultiple)f(v)n(alues)h +(from)f(the)i(last)f(form.)30 b(These)42 948 y(situations)11 +b(include)h(the)g(b)q(o)q(dy)g(of)f(a)g(lam)o(b)q(da-expression,)g(in)g +(particular)g(those)i(con-)42 1000 y(structed)g(b)o(y)e +Fs(defun)p Fw(,)f Fs(defmacro)p Fw(,)f(and)i Fs(deftype)p +Fw(.)16 b(Also)11 b(included)g(are)h(b)q(o)q(dies)g(of)e(the)42 +1052 y(constructs)15 b Fs(eval-when)p Fw(,)c Fs(progv)p +Fw(,)h Fs(let)p Fw(,)g Fs(let*)p Fw(,)g Fs(when)p Fw(,)g +Fs(unless)p Fw(,)g Fs(block)p Fw(,)g Fs(multiple-)42 +1104 y(value-bind)p Fw(,)i(and)j Fs(catch)p Fw(,)e(as)i(w)o(ell)f(as)h +(clauses)g(in)f(suc)o(h)i(conditional)d(constructs)42 +1155 y(as)e Fs(case)p Fw(,)g Fs(typecase)p Fw(,)f Fs(ecase)p +Fw(,)g Fs(etypecase)p Fw(,)g Fs(ccase)p Fw(,)g(and)i +Fs(ctypecase)p Fw(.)42 1257 y(X3J13)e(has)i(v)o(oted)f(to)g(add)g(man)o +(y)e(new)j(constructs)h(to)e(the)h(language)e(that)h(con)o(tain)-33 +1229 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1309 a(implicit)h Fs(progn)i Fw(con)o(texts.)27 +b(I)17 b(w)o(on't)f(attempt)g(to)h(list)f(them)g(all)f(here.)28 +b(Of)17 b(particu-)0 1361 y(lar)c(in)o(terest,)i(ho)o(w)o(ev)o(er,)f +(is)f Fs(locally)p Fw(,)f(whic)o(h)i(ma)o(y)e(b)q(e)i(regarded)h(as)f +(simply)e(a)i(v)o(ersion)0 1413 y(of)j Fs(progn)g Fw(that)h(p)q(ermits) +g(declarations)g(b)q(efore)h(its)f(b)q(o)q(dy)m(.)30 +b(This)18 b(pro)o(vides)g(a)g(useful)0 1464 y(building)11 +b(blo)q(c)o(k)g(for)h(constructing)h(macros)e(that)i(p)q(ermit)e +(declarations)h(\(but)h(not)f(do)q(c-)0 1516 y(umen)o(tation)17 +b(strings\))j(b)q(efore)g(their)f(b)q(o)q(dies)h(and)f(pass)h(bac)o(k)f +(an)o(y)f(m)o(ultiple)f(v)n(alues)0 1568 y(pro)q(duced)e(b)o(y)f(the)h +(last)e(sub-form)g(of)g(a)h(b)q(o)q(dy)m(.)k(\(If)13 +b(a)h(b)q(o)q(dy)g(can)g(con)o(tain)g(a)f(do)q(cumen-)0 +1620 y(tation)g(string,)h(most)e(lik)o(ely)h Fs(lambda)g +Fw(is)g(the)i(correct)g(building)e(blo)q(c)o(k)g(to)h(use.\))-33 +1632 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1722 a Fv(Conditional)h(c)n(onstructs)0 +1795 y Fu(.)42 1804 y Fs(if)c Fw(passes)i(bac)o(k)e(m)o(ultiple)e(v)n +(alues)j(from)d(whic)o(hev)o(er)k(subform)d(is)i(selected)h(\(the)f +Fv(then)42 1856 y Fw(form)g(or)h(the)i Fv(else)f Fw(form\).)0 +1928 y Fu(.)42 1936 y Fs(and)g Fw(and)h Fs(or)g Fw(pass)h(bac)o(k)g(m)o +(ultiple)d(v)n(alues)i(from)e(the)j(last)f(subform)g(but)g(not)g(from) +42 1988 y(subforms)e(other)h(than)g(the)g(last.)0 2060 +y Fu(.)42 2069 y Fs(cond)9 b Fw(passes)i(bac)o(k)f(m)o(ultiple)e(v)n +(alues)i(from)f(the)h(last)g(subform)f(of)h(the)g(implicit)e +Fs(progn)42 2121 y Fw(of)k(the)j(selected)g(clause.)k(If,)12 +b(ho)o(w)o(ev)o(er,)i(the)g(clause)g(selected)i(is)d(a)g(singleton)h +(clause,)42 2173 y(then)h(only)f(a)g(single)g(v)n(alue)g(\(the)i(non-)p +Fs(nil)d Fw(predicate)j(v)n(alue\))e(is)g(returned.)22 +b(This)15 b(is)42 2225 y(true)j(ev)o(en)h(if)e(the)h(singleton)g +(clause)g(is)g(the)h(last)e(clause)i(of)e(the)i Fs(cond)p +Fw(.)29 b(It)18 b(is)f Fv(not)42 2277 y Fw(p)q(ermitted)f(to)g(treat)i +(a)e(\014nal)g(clause)h Fs(\(x\))f Fw(as)h(b)q(eing)f(the)h(same)f(as)h +Fs(\(t)j(x\))c Fw(for)h(this)42 2329 y(reason;)d(the)g(latter)g(passes) +h(bac)o(k)f(m)o(ultiple)e(v)n(alues)h(from)g(the)h(form)e +Fs(x)p Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 197 221 +197 220 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(197)0 295 y Fv(R)n(eturning)15 b(fr)n(om)f(a)h(blo)n(ck)0 +366 y Fu(.)42 375 y Fw(The)c Fs(block)e Fw(construct)j(passes)g(bac)o +(k)f(m)o(ultiple)d(v)n(alues)j(from)e(its)h(last)h(subform)e(when)42 +427 y(it)18 b(exits)i(normally)m(.)31 b(If)19 b Fs(return-from)e +Fw(\(or)i Fs(return)p Fw(\))f(is)h(used)h(to)g(terminate)e(the)42 +478 y Fs(block)g Fw(prematurely)m(,)i(then)g Fs(return-from)d +Fw(passes)k(bac)o(k)f(m)o(ultiple)d(v)n(alues)i(from)42 +530 y(its)c(subform)g(as)g(the)i(v)n(alues)e(of)g(the)i(terminated)e +Fs(block)p Fw(.)22 b(Other)17 b(constructs)h(that)42 +582 y(create)d(implicit)10 b(blo)q(c)o(ks,)k(suc)o(h)g(as)f +Fs(do)p Fw(,)g Fs(dolist)p Fw(,)f Fs(dotimes)p Fw(,)g +Fs(prog)p Fw(,)g(and)h Fs(prog*)p Fw(,)f(also)42 634 +y(pass)i(bac)o(k)g(m)o(ultiple)d(v)n(alues)j(sp)q(eci\014ed)h(b)o(y)f +Fs(return-from)e Fw(\(or)i Fs(return)p Fw(\).)0 706 y +Fu(.)42 715 y Fs(do)d Fw(passes)j(bac)o(k)e(m)o(ultiple)e(v)n(alues)h +(from)g(the)h(last)g(form)f(of)g(the)i(exit)f(clause,)h(exactly)42 +767 y(as)k(if)g(the)i(exit)f(clause)g(w)o(ere)h(a)e Fs(cond)g +Fw(clause.)31 b(Similarl)o(y)m(,)15 b Fs(dolist)i Fw(and)g +Fs(dotimes)42 819 y Fw(pass)h(bac)o(k)f(m)o(ultiple)f(v)n(alues)h(from) +f(the)i Fv(r)n(esultform)e Fw(if)h(that)h(is)f(executed.)31 +b(These)42 871 y(situations)13 b(are)h(all)f(examples)g(of)g(implicit)e +(uses)16 b(of)d Fs(return-from)p Fw(.)0 973 y Fv(Thr)n(owing)h(out)h +(of)g(a)g(c)n(atch)0 1044 y Fu(.)42 1053 y Fw(The)g Fs(catch)g +Fw(construct)i(returns)f(m)o(ultiple)e(v)n(alues)h(if)f(the)i(result)g +(form)e(in)h(a)g Fs(throw)42 1105 y Fw(exiting)e(from)f(suc)o(h)i(a)g +(catc)o(h)h(pro)q(duces)g(m)o(ultiple)d(v)n(alues.)0 +1206 y Fv(Misc)n(el)r(lane)n(ous)j(situations)0 1277 +y Fu(.)42 1286 y Fs(multiple-value-)o(prog1)10 b Fw(passes)k(bac)o(k)g +(m)o(ultiple)d(v)n(alues)i(from)e(its)i(\014rst)h(subform.)42 +1338 y(Ho)o(w)o(ev)o(er,)f Fs(prog1)g Fw(alw)o(a)o(ys)g(returns)i(a)f +(single)g(v)n(alue.)0 1410 y Fu(.)42 1419 y Fs(unwind-protect)8 +b Fw(returns)k(m)o(ultiple)d(v)n(alues)h(if)g(the)i(form)d(it)i +(protects)h(returns)h(m)o(ul-)42 1471 y(tiple)g(v)n(alues.)0 +1543 y Fu(.)42 1552 y Fs(the)g Fw(returns)i(m)o(ultiple)d(v)n(alues)h +(if)g(the)i(form)d(it)i(con)o(tains)f(returns)j(m)o(ultiple)11 +b(v)n(alues.)42 1654 y(Among)d(sp)q(ecial)i(forms)f(that)h +Fv(never)h Fw(pass)f(bac)o(k)h(m)o(ultiple)c(v)n(alues)j(are)h +Fs(prog1)p Fw(,)e Fs(prog2)p Fw(,)0 1706 y Fs(setq)p +Fw(,)17 b(and)h Fs(multiple-value-se)o(tq)p Fw(.)27 b(The)18 +b(con)o(v)o(en)o(tional)f(w)o(a)o(y)g(to)g(force)i(only)e(one)0 +1758 y(v)n(alue)c(to)h(b)q(e)g(returned)i(from)c(a)i(form)e +Fs(x)i Fw(is)f(to)h(write)g Fs(\(values)20 b(x\))p Fw(.)42 +1810 y(The)12 b(most)e(imp)q(ortan)o(t)g(rule)i(ab)q(out)g(m)o(ultiple) +d(v)n(alues)j(is:)17 b Fz(No)c(matter)f(ho)o(w)h(man)o(y)0 +1862 y(v)m(alues)d(a)h(form)f(pro)q(duces,)h(if)e(the)h(form)g(is)g(an) +h(argumen)o(t)d(form)i(in)g(a)h(function)0 1914 y(call,)k(then)g +(exactly)g(one)g(v)m(alue)g(\(the)g(\014rst)f(one\))h(is)g(used.)42 +1966 y Fw(F)m(or)c(example,)f(if)h(y)o(ou)h(write)g Fs(\(cons)20 +b(\(floor)g(x\)\))p Fw(,)11 b(then)h Fs(cons)f Fw(will)g(alw)o(a)o(ys)f +(receiv)o(e)0 2017 y Fv(exactly)18 b Fw(one)g(argumen)o(t)f(\(whic)o(h) +h(is)g(of)g(course)h(an)f(error\),)i(ev)o(en)e(though)g +Fs(floor)f Fw(re-)0 2069 y(turns)g(t)o(w)o(o)f(v)n(alues.)26 +b(T)m(o)15 b(pass)i(b)q(oth)g(v)n(alues)f(from)f Fs(floor)g +Fw(to)i Fs(cons)p Fw(,)e(one)i(m)o(ust)e(write)0 2121 +y(something)e(lik)o(e)g Fs(\(multiple-value-ca)o(ll)18 +b(#)732 2117 y(-)732 2125 y(-)n Fn(')775 2121 y Fs(cons)i(\(floor)g +(x\)\))p Fw(.)e(In)c(an)g(ordinary)0 2173 y(function)i(call,)f(eac)o(h) +h(argumen)o(t)f(form)f(pro)q(duces)j(exactly)f Fv(one)g +Fw(argumen)o(t;)f(if)g(suc)o(h)i(a)0 2225 y(form)12 b(returns)k(zero)e +(v)n(alues,)g Fs(nil)f Fw(is)h(used)g(for)g(the)h(argumen)o(t,)d(and)i +(if)f(more)g(than)h(one)0 2277 y(v)n(alue,)e(all)f(but)i(the)g(\014rst) +g(are)g(discarded.)18 b(Similarly)m(,)9 b(conditional)i(constructs)j +(suc)o(h)g(as)0 2329 y Fs(if)f Fw(that)g(test)i(the)e(v)n(alue)g(of)g +(a)g(form)e(will)h(use)i(exactly)g(one)f(v)n(alue,)f(the)i(\014rst)g +(one,)f(from)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 198 222 +198 221 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(198)77 b(COMMON)13 +b(LISP)0 295 y Fw(that)h(form)e(and)i(discard)g(the)h(rest;)f(suc)o(h)h +(constructs)h(will)c(use)j Fs(nil)e Fw(as)h(the)g(test)h(v)n(alue)0 +347 y(if)e(zero)i(v)n(alues)e(are)i(returned.)0 474 y +Fo(7.11.)20 b(Dynamic)13 b(Non-Lo)r(cal)h(Exits)0 553 +y Fw(Common)c(Lisp)i(pro)o(vides)h(a)g(facilit)o(y)e(for)h(exiting)g +(from)g(a)g(complex)g(pro)q(cess)i(in)f(a)f(non-)0 605 +y(lo)q(cal,)h(dynamically)e(scop)q(ed)16 b(manner.)i(There)d(are)g(t)o +(w)o(o)f(classes)h(of)f(sp)q(ecial)g(forms)f(for)0 657 +y(this)d(purp)q(ose,)h(called)f Fv(c)n(atch)g Fw(forms)f(and)g +Fv(thr)n(ow)g Fw(forms,)g(or)h(simply)e Fv(c)n(atches)i +Fw(and)g Fv(thr)n(ows)p Fw(.)0 709 y(A)k(catc)o(h)h(form)d(ev)n +(aluates)i(some)f(subforms)h(in)f(suc)o(h)i(a)f(w)o(a)o(y)f(that,)h(if) +f(a)h(thro)o(w)g(form)e(is)0 761 y(executed)k(during)e(suc)o(h)h(ev)n +(aluation,)e(the)i(ev)n(aluation)e(is)h(ab)q(orted)h(at)f(that)g(p)q +(oin)o(t)g(and)0 812 y(the)k(catc)o(h)g(form)e(imm)o(ediately)f +(returns)k(a)e(v)n(alue)g(sp)q(eci\014ed)h(b)o(y)g(the)g(thro)o(w.)28 +b(Unlik)o(e)0 864 y Fs(block)15 b Fw(and)i Fs(return)e +Fw(\(section)i(7.7\),)f(whic)o(h)g(allo)o(w)f(for)h(exiting)f(a)i +Fs(block)e Fw(form)f(from)0 916 y(an)o(y)e(p)q(oin)o(t)f(lexically)g +(within)g(the)i(b)q(o)q(dy)f(of)g(the)h Fs(block)p Fw(,)e(the)h(catc)o +(h/thro)o(w)h(mec)o(hanism)0 968 y(w)o(orks)k(ev)o(en)h(if)e(the)i +(thro)o(w)f(form)e(is)i(not)g(textually)g(within)f(the)i(b)q(o)q(dy)f +(of)f(the)i(catc)o(h)0 1020 y(form.)e(The)e(thro)o(w)g(need)h(only)e(o) +q(ccur)i(within)e(the)h(exten)o(t)h(\(time)e(span\))h(of)f(the)i(ev)n +(alu-)0 1072 y(ation)f(of)h(the)g(b)q(o)q(dy)h(of)e(the)i(catc)o(h.)22 +b(This)15 b(is)g(analogous)f(to)h(the)h(distinction)e(b)q(et)o(w)o(een) +0 1124 y(dynamically)d(b)q(ound)j(\(sp)q(ecial\))g(v)n(ariables)f(and)h +(lexically)f(b)q(ound)h(\(lo)q(cal\))f(v)n(ariables.)1145 +1232 y([)p Fv(Sp)n(e)n(cial)i(form)s Fw(])-1396 b Fs(catch)34 +b Fv(tag)22 b Ft(f)7 b Fv(form)p Ft(g)355 1217 y Fl(\003)0 +1308 y Fw(The)18 b Fs(catch)e Fw(sp)q(ecial)h(form)e(serv)o(es)k(as)f +(a)e(target)i(for)f(transfer)h(of)e(con)o(trol)h(b)o(y)g +Fs(throw)p Fw(.)0 1360 y(The)d(form)f Fv(tag)h Fw(is)f(ev)n(aluated)h +(\014rst)h(to)f(pro)q(duce)h(an)e(ob)r(ject)i(that)f(names)f(the)i +(catc)o(h;)f(it)0 1412 y(ma)o(y)e(b)q(e)i(an)o(y)g(Lisp)f(ob)r(ject.)19 +b(A)14 b(catc)o(her)h(is)f(then)g(established)h(with)e(the)i(ob)r(ject) +f(as)g(the)0 1464 y(tag.)j(The)c Fv(form)s Fw(s)g(are)g(ev)n(aluated)g +(as)g(an)f(implicit)e Fs(progn)p Fw(,)i(and)g(the)i(results)f(of)g(the) +g(last)0 1516 y(form)g(are)i(returned,)h(except)g(that)e(if)g(during)g +(the)i(ev)n(aluation)d(of)h(the)h Fv(form)s Fw(s)f(a)h(thro)o(w)0 +1568 y(should)f(b)q(e)g(executed)i(suc)o(h)e(that)g(the)h(tag)e(of)g +(the)i(thro)o(w)e(matc)o(hes)h(\(is)g Fs(eq)f Fw(to\))h(the)g(tag)0 +1620 y(of)d(the)i Fs(catch)e Fw(and)h(the)g(catc)o(her)h(is)f(the)h +(most)e(recen)o(t)i(outstanding)f(catc)o(her)h(with)f(that)0 +1672 y(tag,)j(then)h(the)f(ev)n(aluation)f(of)h(the)h +Fv(form)s Fw(s)f(is)g(ab)q(orted)h(and)f(the)h(results)g(sp)q +(eci\014ed)h(b)o(y)0 1724 y(the)e(thro)o(w)f(are)h(immediately)c +(returned)16 b(from)d(the)i Fs(catch)e Fw(expression.)21 +b(The)14 b(catc)o(her)0 1775 y(established)j(b)o(y)g(the)g +Fs(catch)f Fw(expression)i(is)e(disestablished)i(just)f(b)q(efore)g +(the)h(results)0 1827 y(are)c(returned.)42 1879 y(The)k(tag)f(is)h +(used)h(to)f(matc)o(h)e(thro)o(ws)i(with)g(catc)o(hes.)32 +b Fs(\(catch)1095 1883 y Fn(')1119 1879 y Fs(foo)20 b +Fv(form)p Fs(\))d Fw(will)0 1931 y(catc)o(h)f(a)f Fs(\(throw)297 +1935 y Fn(')320 1931 y Fs(foo)21 b Fv(form)p Fs(\))14 +b Fw(but)i(not)f(a)g Fs(\(throw)867 1935 y Fn(')891 1931 +y Fs(bar)20 b Fv(form)p Fs(\))p Fw(.)i(It)15 b(is)g(an)g(error)i(if)0 +1983 y Fs(throw)c Fw(is)h(done)g(when)g(there)h(is)f(no)g(suitable)f +Fs(catch)g Fw(ready)i(to)e(catc)o(h)i(it.)42 2035 y(Catc)o(h)e(tags)g +(are)g(compared)f(using)h Fs(eq)p Fw(,)f(not)h Fs(eql)p +Fw(;)f(therefore)j(n)o(um)o(b)q(ers)e(and)f(c)o(harac-)0 +2087 y(ters)j(should)f(not)g(b)q(e)g(used)h(as)f(catc)o(h)g(tags.)p +0 2147 V 0 2207 a Fm(Compatibilit)o(y)i(note:)25 b FA(The)17 +b(name)g Fj(catch)e FA(comes)i(from)f(MacLisp,)j(but)e(the)g(syn)o(tax) +h(of)0 2252 y Fj(catch)c FA(in)j(Common)g(Lisp)g(is)g(di\013eren)o(t.) +29 b(The)16 b(MacLisp)i(syn)o(tax)f(w)o(as)g Fj(\(catch)f +Fq(form)j(tag)p Fj(\))p FA(,)0 2298 y(where)13 b(the)g +Fq(tag)f FA(w)o(as)h(not)g(ev)n(aluated.)p 0 2329 V -33 +2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 199 223 +199 222 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(199)1145 295 y Fw([)p Fv(Sp)n(e)n(cial)15 b(form)s +Fw(])-1396 b Fs(unwind-protect)32 b Fv(pr)n(ote)n(cte)n(d-form)21 +b Ft(f)p Fv(cle)n(anup-form)p Ft(g)899 280 y Fl(\003)0 +373 y Fw(Sometimes)12 b(it)h(is)h(necessary)i(to)d(ev)n(aluate)h(a)f +(form)f(and)i(mak)o(e)e(sure)j(that)f(certain)g(side)0 +425 y(e\013ects)i(tak)o(e)e(place)g(after)g(the)h(form)d(is)h(ev)n +(aluated;)h(a)f(t)o(ypical)g(example)g(is)0 526 y Fs(\(progn)20 +b(\(start-motor\))148 578 y(\(drill-hole\))148 630 y(\(stop-motor\)\))0 +730 y Fw(The)c(non-lo)q(cal)f(exit)h(facilit)o(y)e(of)i(Commo)o(n)d +(Lisp)j(creates)i(a)e(situation)f(in)g(whic)o(h)h(the)0 +782 y(ab)q(o)o(v)o(e)c(co)q(de)i(w)o(on't)e(w)o(ork,)g(ho)o(w)o(ev)o +(er:)18 b(if)12 b Fs(drill-hole)e Fw(should)j(do)f(a)g(thro)o(w)h(to)g +(a)f(catc)o(h)0 834 y(that)j(is)f(outside)h(of)f(the)h +Fs(progn)f Fw(form)e(\(p)q(erhaps)k(b)q(ecause)h(the)e(drill)e(bit)h +(brok)o(e\),)h(then)0 886 y Fs(\(stop-motor\))10 b Fw(will)g(nev)o(er)j +(b)q(e)g(ev)n(aluated)f(\(and)g(the)h(motor)d(will)h(presumably)g(b)q +(e)i(left)0 937 y(running\).)k(This)12 b(is)f(particularly)g(lik)o(ely) +f(if)h Fs(drill-hole)e Fw(causes)k(a)f(Lisp)f(error)i(and)e(the)0 +989 y(user)h(tells)g(the)f(error-handler)i(to)e(giv)o(e)f(up)i(and)f +(ab)q(ort)g(the)h(computation.)k(\(A)11 b(p)q(ossibly)0 +1041 y(more)i(practical)h(example)e(migh)o(t)g(b)q(e)0 +1143 y Fs(\(prog2)20 b(\(open-a-file\))148 1194 y(\(process-file\))148 +1246 y(\(close-the-file\)\))0 1346 y Fw(where)12 b(it)f(is)h(desired)g +(alw)o(a)o(ys)e(to)i(close)f(the)h(\014le)g(when)g(the)g(computation)d +(is)i(terminated)0 1398 y(for)16 b(whatev)o(er)h(reason.)25 +b(This)16 b(case)h(is)e(so)i(imp)q(ortan)o(t)d(that)i(Common)d(Lisp)j +(pro)o(vides)0 1450 y(the)e(sp)q(ecial)h(form)d Fs(with-open-file)f +Fw(for)i(this)h(purp)q(ose.\))42 1503 y(In)20 b(order)h(to)f(allo)o(w)f +(the)i(example)e(hole-drilling)f(program)h(to)h(w)o(ork,)i(it)e(can)g +(b)q(e)0 1555 y(rewritten)15 b(using)f Fs(unwind-protect)d +Fw(as)j(follo)o(ws:)0 1657 y Fs(;;)21 b(Stop)f(the)h(motor)f(no)h +(matter)e(what)i(\(even)f(if)h(it)f(failed)g(to)h(start\).)0 +1760 y(\(unwind-protect)42 1812 y(\(progn)f(\(start-motor\))191 +1864 y(\(drill-hole\)\))42 1916 y(\(stop-motor\)\))0 +2016 y Fw(If)10 b Fs(drill-hole)f Fw(do)q(es)j(a)e(thro)o(w)h(that)g +(attempts)f(to)h(quit)f(out)h(of)f(the)h Fs(unwind-protect)p +Fw(,)0 2068 y(then)k Fs(\(stop-motor\))c Fw(will)h(b)q(e)j(executed.)42 +2121 y(This)10 b(example)f(assumes)h(that)g(it)g(is)g(correct)i(to)e +(call)g Fs(stop-motor)e Fw(ev)o(en)j(if)e(the)i(motor)0 +2173 y(has)18 b(not)f(y)o(et)h(b)q(een)g(started.)30 +b(Remem)o(b)q(er)16 b(that)i(an)f(error)h(or)g(in)o(terrupt)g(ma)o(y)e +(cause)0 2225 y(an)h(exit)g(ev)o(en)h(b)q(efore)g(an)o(y)f +(initialization)d(forms)i(ha)o(v)o(e)h(b)q(een)h(executed.)30 +b(An)o(y)17 b(state)0 2277 y(restoration)g(co)q(de)h(should)f(op)q +(erate)h(correctly)g(no)f(matter)g(where)h(in)e(the)i(protected)0 +2329 y(co)q(de)d(an)e(exit)h(o)q(ccurred.)20 b(F)m(or)14 +b(example,)e(the)i(follo)o(wing)d(co)q(de)k(is)f(not)g(correct:)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 200 224 +200 223 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(200)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(unwind-protect)42 347 y(\(progn)20 +b(\(incf)g(*access-count*\))191 399 y(\(perform-access)o(\)\))42 +450 y(\(decf)g(*access-count*\)\))0 535 y Fw(If)13 b(an)h(exit)g(o)q +(ccurs)h(b)q(efore)f(completion)e(of)i(the)g Fs(incf)f +Fw(op)q(eration)h(the)g Fs(decf)f Fw(op)q(eration)0 587 +y(will)f(b)q(e)i(executed)h(an)o(yw)o(a)o(y)m(,)c(resulting)i(in)g(an)g +(incorrect)i(v)n(alue)d(for)h Fs(*access-count*)p Fw(.)0 +639 y(The)h(correct)i(w)o(a)o(y)d(to)h(co)q(de)h(this)e(is)h(as)g +(follo)o(ws:)0 724 y Fs(\(let)20 b(\(\(old-count)f(*access-count*\)\)) +42 776 y(\(unwind-protect)85 828 y(\(progn)h(\(incf)g(*access-count*\)) +233 880 y(\(perform-access\)\))85 932 y(\(setq)g(*access-count*)e +(old-count\)\)\))42 1017 y Fw(As)10 b(a)g(general)h(rule,)g +Fs(unwind-protect)c Fw(guaran)o(tees)k(to)f(execute)i(the)f +Fv(cle)n(anup-form)s Fw(s)0 1069 y(b)q(efore)19 b(exiting,)f(whether)h +(it)f(terminates)f(normally)f(or)i(is)f(ab)q(orted)i(b)o(y)f(a)f(thro)o +(w)h(of)0 1121 y(some)i(kind.)37 b(\(If,)21 b(ho)o(w)o(ev)o(er,)h(an)e +(exit)g(o)q(ccurs)i(during)e(execution)h(of)f(the)h Fv(cle)n(anup-)0 +1173 y(form)s Fw(s,)15 b(no)f(sp)q(ecial)h(action)g(is)g(tak)o(en.)21 +b(The)15 b Fv(cle)n(anup-form)s Fw(s)h(of)e(an)h Fs(unwind-protect)0 +1225 y Fw(are)f(not)g(protected)i(b)o(y)d(that)h Fs(unwind-protect)p +Fw(,)d(though)i(they)i(ma)o(y)d(b)q(e)i(protected)i(if)0 +1276 y(that)g Fs(unwind-protect)e Fw(o)q(ccurs)k(within)d(the)i +(protected)h(form)d(of)g(another)i Fs(unwind-)0 1328 +y(protect)p Fw(.\))23 b Fs(unwind-protect)13 b Fw(returns)18 +b(whatev)o(er)f(results)g(from)d(ev)n(aluation)h(of)g(the)0 +1380 y Fv(pr)n(ote)n(cte)n(d-form)e Fw(and)g(discards)i(all)e(the)h +(results)h(from)d(the)j Fv(cle)n(anup-form)s Fw(s.)42 +1432 y(It)10 b(should)g(b)q(e)h(emphasized)f(that)g Fs(unwind-protect)d +Fw(protects)12 b(against)d Fv(al)r(l)h Fw(attempts)0 +1484 y(to)15 b(exit)g(from)e(the)j(protected)h(form,)c(including)h(not) +h(only)g(\\dynamic)e(exit")i(facilities)0 1536 y(suc)o(h)h(as)g +Fs(throw)e Fw(but)i(also)f(\\lexical)f(exit")i(facilities)e(suc)o(h)i +(as)g Fs(go)f Fw(and)h Fs(return-from)p Fw(.)0 1588 y(Consider)e(this)g +(situation:)0 1673 y Fs(\(tagbody)42 1725 y(\(let)21 +b(\(\(x)f(3\)\))85 1777 y(\(unwind-protect)127 1829 y(\(if)h(\(numberp) +e(x\))i(\(go)f(out\)\))127 1880 y(\(print)g(x\)\)\))21 +1932 y(out)42 1984 y(...\))0 2069 y Fw(When)e(the)g Fs(go)f +Fw(is)h(executed,)i(the)e(call)f(to)h Fs(print)e Fw(is)i(executed)h +(\014rst,)g(and)f(then)g(the)0 2121 y(transfer)d(of)e(con)o(trol)h(to)f +(the)i(tag)e Fs(out)h Fw(is)f(completed.)42 2173 y(X3J13)21 +b(v)o(oted)i(in)f(Marc)o(h)g(1989)f Ft(h)p Fw(74)p Ft(i)h +Fw(to)g(clarify)g(the)g(in)o(teraction)h(of)e Fs(unwind-)-33 +2145 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2225 a(protect)12 b Fw(with)i(constructs)i(that)e(p)q +(erform)f(exits.)42 2277 y(Let)21 b(an)f Fv(exit)g Fw(b)q(e)i(a)e(p)q +(oin)o(t)g(out)h(of)f(whic)o(h)g(con)o(trol)h(can)g(b)q(e)g +(transferred.)40 b(F)m(or)20 b(a)0 2329 y Fs(throw)f +Fw(the)i(exit)f(is)g(the)h(matc)o(hing)d Fs(catch)p Fw(;)k(for)e(a)g +Fs(return-from)e Fw(the)j(exit)f(is)g(the)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 201 225 +201 224 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(201)0 295 y Fw(corresp)q(onding)16 b Fs(block)p Fw(.)j(F)m(or)14 +b(a)g Fs(go)g Fw(the)h(exit)g(is)f(the)i(statemen)o(t)e(within)g(the)h +Fs(tagbody)0 347 y Fw(\(the)e(one)g(to)g(whic)o(h)g(the)g(target)g(tag) +g(b)q(elongs\))g(whic)o(h)f(is)h(b)q(eing)f(executed)j(at)e(the)g(time) +0 399 y(the)h Fs(go)g Fw(is)g(p)q(erformed.)42 451 y(The)f(exten)o(t)i +(of)e(an)g(exit)g(is)g(dynamic;)f(it)h(is)g(not)g(inde\014nite.)19 +b(The)13 b(exten)o(t)i(of)e(an)g(exit)0 502 y(b)q(egins)f(when)h(the)g +(corresp)q(onding)g(form)d(\()p Fs(catch)p Fw(,)h Fs(block)p +Fw(,)g(or)h Fs(tagbody)f Fw(statemen)o(t\))h(is)0 554 +y(en)o(tered.)20 b(When)13 b(the)h(exten)o(t)h(of)e(an)g(exit)g(has)h +(ended,)g(it)f(is)g(no)h(longer)f(legal)f(to)i(return)0 +606 y(from)e(it.)42 658 y(Note)h(that)f(the)i(exten)o(t)f(of)f(an)h +(exit)f(is)h(not)f(the)h(same)f(thing)g(as)h(the)g(scop)q(e)h(or)f +(exten)o(t)0 710 y(of)h(the)g(designator)g(b)o(y)g(whic)o(h)g(the)h +(exit)f(is)g(iden)o(ti\014ed.)19 b(F)m(or)14 b(example,)e(a)i +Fs(block)f Fw(name)0 762 y(has)g(lexical)g(scop)q(e)h(but)g(the)g +(exten)o(t)g(of)e(its)i(exit)f(is)g(dynamic.)j(The)e(exten)o(t)g(of)f +(a)g Fs(catch)0 814 y Fw(tag)e(could)f(di\013er)i(from)d(the)i(exten)o +(t)h(of)f(the)g(exit)g(asso)q(ciated)h(with)e(the)i Fs(catch)e +Fw(\(whic)o(h)h(is)0 866 y(exactly)g(what)g(is)g(at)h(issue)f(here\).) +19 b(The)12 b(di\013erence)h(matters)e(when)g(there)i(are)e(transfers)0 +918 y(of)i(con)o(trol)h(from)e(the)j(clean)o(up)f(clauses)g(of)g(an)f +Fs(unwind-protect)p Fw(.)42 970 y(When)c(a)h(transfer)g(of)f(con)o +(trol)h(out)f(of)g(an)g(exit)h(is)f(initiated)g(b)o(y)h +Fs(throw)p Fw(,)f Fs(return-from)p Fw(,)0 1022 y(or)14 +b Fs(go)p Fw(,)f(a)g(v)n(ariet)o(y)h(of)f(ev)o(en)o(ts)i(o)q(ccur)g(b)q +(efore)g(the)f(transfer)h(of)e(con)o(trol)h(is)g(complete:)0 +1084 y Fu(.)42 1093 y Fw(The)g(clean)o(up)g(clauses)h(of)f(an)o(y)g(in) +o(terv)o(ening)g Fs(unwind-protect)d Fw(clauses)k(are)g(ev)n(alu-)42 +1145 y(ated.)0 1219 y Fu(.)42 1228 y Fw(In)o(terv)o(ening)9 +b(dynamic)f(bindings)h(of)g(sp)q(ecial)g(v)n(ariables)g(and)g(catc)o(h) +i(tags)e(are)h(undone.)0 1303 y Fu(.)42 1312 y Fw(In)o(terv)o(ening)g +(exits)h(are)g Fv(ab)n(andone)n(d)p Fw(,)i(that)d(is,)h(their)g(exten)o +(t)g(ends)h(and)e(it)g(is)h(no)f(longer)42 1364 y(legal)i(to)i(attempt) +f(to)h(transfer)h(con)o(trol)e(from)g(them.)0 1438 y +Fu(.)42 1447 y Fw(The)h(exten)o(t)h(of)e(the)h(exit)g(b)q(eing)g(in)o +(v)o(ok)o(ed)f(ends.)0 1522 y Fu(.)42 1531 y Fw(Con)o(trol)g(is)g +(\014nally)g(passed)i(to)f(the)g(target.)0 1602 y(The)g(\014rst)f +(edition)g(left)g(the)h(order)f(of)g(these)h(ev)o(en)o(ts)g(in)f(some)f +(doubt.)18 b(The)c(implem)o(en-)0 1654 y(tation)g(note)h(for)f +Fs(throw)g Fw(hin)o(ted)g(that)h(the)g(\014rst)h(t)o(w)o(o)e(pro)q +(cesses)j(are)e(in)o(terw)o(o)o(v)o(en,)g(but)0 1706 +y(it)e(w)o(as)f(unclear)i(whether)g(it)f(is)g(p)q(ermissible)f(for)h +(an)f(implemen)o(tation)e(to)j(abandon)f(all)0 1758 y(in)o(terv)o +(ening)j(exits)g(b)q(efore)g(pro)q(cessing)h(an)o(y)e(in)o(terv)o +(ening)h Fs(unwind-protect)d Fw(clean)o(up)0 1809 y(clauses.)42 +1862 y(The)20 b(clari\014cation)g(adopted)h(b)o(y)f(X3J13)g(is)g(as)h +(follo)o(ws.)36 b(In)o(terv)o(ening)21 b(exits)f(are)0 +1913 y(abandoned)f(as)h(so)q(on)f(as)h(the)g(transfer)g(of)f(con)o +(trol)g(is)g(initiated;)i(in)e(the)h(case)g(of)f(a)0 +1965 y Fs(throw)p Fw(,)e(this)h(o)q(ccurs)h(at)e(the)i(b)q(eginning)e +(of)g(the)h(\\second)g(pass")g(men)o(tioned)f(in)g(the)0 +2017 y(implemen)o(tatio)o(n)10 b(note.)18 b(It)13 b(is)f(an)g(error)i +(to)e(attempt)g(a)g(transfer)i(of)e(con)o(trol)g(to)g(an)h(exit)0 +2069 y(whose)h(dynamic)f(exten)o(t)h(has)h(ended.)42 +2121 y(Next)i(the)h(ev)n(aluation)d(of)h Fs(unwind-protect)e +Fw(clean)o(up)j(clauses)h(and)f(the)g(undoing)0 2173 +y(of)i(dynamic)f(bindings)h(and)g Fs(catch)g Fw(tags)h(are)g(p)q +(erformed)f(together,)j(in)d(the)h(order)0 2225 y(corresp)q(onding)13 +b(to)g(the)g(rev)o(erse)h(of)e(the)h(order)g(in)f(whic)o(h)g(they)h(w)o +(ere)g(established.)18 b(The)0 2277 y(e\013ect)g(of)e(this)h(is)g(that) +g(the)g(clean)o(up)g(clauses)h(of)e(an)g Fs(unwind-protect)e +Fw(will)h(see)j(the)0 2329 y(same)13 b(dynamic)g(bindings)h(of)g(v)n +(ariables)f(and)h Fs(catch)g Fw(tags)g(as)g(w)o(ere)i(visible)d(when)i +(the)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 202 226 +202 225 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(202)77 b(COMMON)13 +b(LISP)0 295 y Fs(unwind-protect)f Fw(w)o(as)k(en)o(tered.)24 +b(\(Ho)o(w)o(ev)o(er,)16 b(some)e(of)h(those)h Fs(catch)e +Fw(tags)h(ma)o(y)f(not)0 347 y(b)q(e)h(useable)f(b)q(ecause)i(they)e +(corresp)q(ond)h(to)f(abandoned)g(exit)g(p)q(oin)o(ts.\))42 +399 y(Finally)f(con)o(trol)i(is)g(transferred)h(to)f(the)h(originally)c +(in)o(v)o(ok)o(ed)j(exit)g(and)g(sim)o(ultane-)0 450 +y(ously)e(that)h(exit)g(is)g(abandoned.)42 502 y(The)k(e\013ect)j(of)c +(this)i(sp)q(eci\014cation)g(is)f(that)h(once)g(a)f(program)f(has)i +(attempted)f(to)0 554 y(transfer)13 b(con)o(trol)f(to)g(a)g(particular) +g(exit,)g(an)g Fs(unwind-protect)d Fw(clean)o(up)j(form)f(cannot)0 +606 y(step)k(in)f(and)f(decide)i(to)f(transfer)h(con)o(trol)f(to)g(a)g +(more)f(recen)o(t)i(\(nested\))h(exit,)e(blithely)0 658 +y(forgetting)f(the)h(original)d(exit)i(request.)20 b(Ho)o(w)o(ev)o(er,) +13 b(a)g(clean)o(up)g(form)f(ma)o(y)f(restate)k(the)0 +710 y(request)g(to)f(transfer)h(to)f(the)g(same)f(exit)h(that)g +(started)h(the)g(clean)o(up)f(pro)q(cess.)42 762 y(Here)k(is)f(an)g +(example)f(based)i(on)f(a)g(nautical)g(metaphor.)27 b(The)18 +b(function)f Fs(gently)0 814 y Fw(mo)o(v)o(es)c(an)h(oar)g(in)g(the)h +(w)o(ater)g(with)f(lo)o(w)g(force,)g(but)h(if)f(an)g(oar)g(gets)h(stuc) +o(k,)g(the)g(caller)0 866 y(will)g(catc)o(h)i(a)g(crab.)26 +b(The)17 b(function)f Fs(row)g Fw(tak)o(es)h(a)g(b)q(oat,)f(an)h +(oar-stroking)e(function,)0 917 y(a)j(stream,)g(and)g(a)g(coun)o(t;)h +(an)f(oar)g(is)g(constructed)i(for)e(the)h(b)q(oat)e(and)h(stream)g +(and)0 969 y(the)f(oar-stroking)f(function)g(is)g(called)g +Fs(:count)f Fw(times.)24 b(The)17 b(function)f Fs(life)g +Fw(ro)o(ws)g(a)0 1021 y(particular)f(b)q(oat.)21 b(Merrimen)o(t)15 +b(follo)o(ws,)e(except)k(that)e(if)f(the)i(oarsman)d(is)i(winded)g(he)0 +1073 y(m)o(ust)e(stop)h(to)g(catc)o(h)g(his)g(breath.)0 +1156 y Fs(\(defun)20 b(gently)g(\(oar\))42 1208 y(\(stroke)g(oar)h +(:force)f(0.5\))42 1260 y(\(when)g(\(stuck)g(oar\))85 +1312 y(\(throw)234 1316 y Fn(')258 1312 y Fs(crab)g(nil\)\)\))0 +1416 y(\(defun)g(row)g(\(boat)h(stroke-fn)e(stream)h(&key)g(count\))42 +1467 y(\(let)h(\(\(oar)f(\(make-oar)f(boat)h(stream\)\)\))85 +1519 y(\(loop)g(repeat)g(count)g(do)h(\(funcall)e(stroke-fn)g +(oar\)\)\)\))0 1623 y(\(defun)h(life)g(\(\))42 1675 y(\(catch)192 +1679 y Fn(')215 1675 y Fs(crab)85 1727 y(\(catch)234 +1731 y Fn(')258 1727 y Fs(breath)127 1779 y(\(unwind-protect)169 +1831 y(\(row)h(*your-boat*)e(#)539 1827 y(-)539 1835 +y(-)m Fn(')582 1831 y Fs(gently)g(*query-io*)h(:count)g(3\)\))169 +1883 y(\(when)h(\(winded\))e(\(throw)645 1887 y Fn(')668 +1883 y Fs(breath)h(nil\)\)\))127 1934 y(\(loop)g(repeat)g(4)h +(\(set-mode)e(:merry\)\))127 1986 y(\(dream\)\)\)\))0 +2069 y Fw(Supp)q(ose)e(that)f(the)g(oar)g(gets)h(stuc)o(k,)g(causing)e +Fs(gently)g Fw(to)h(call)f Fs(throw)g Fw(with)h(the)g(tag)0 +2121 y Fs(crab)p Fw(.)21 b(The)16 b(program)e(is)h(then)h(committed)d +(to)i(exiting)f(from)g(the)i(outer)g Fs(catch)e Fw(\(the)0 +2173 y(one)h(with)f(the)h(tag)f Fs(crab)p Fw(\).)19 b(As)c(con)o(trol)g +(breaks)g(out)f(of)g(the)h Fs(unwind-protect)d Fw(form,)0 +2225 y(the)17 b Fs(winded)e Fw(test)j(is)e(executed.)28 +b(Supp)q(ose)17 b(it)f(is)h(true;)h(then)f(another)g(call)e(to)i +Fs(throw)0 2277 y Fw(o)q(ccurs,)d(this)e(time)f(with)h(the)h(tag)f +Fs(breath)p Fw(.)k(The)d(inner)f Fs(catch)g Fw(\(the)h(one)f(with)g +(the)h(tag)0 2329 y Fs(breath)p Fw(\))g(has)i(b)q(een)g(abandoned)g(as) +f(a)g(result)h(of)f(the)h(\014rst)g Fs(throw)e Fw(op)q(eration)i +(\(still)e(in)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 203 227 +203 226 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONTROL)13 b(STRUCTURE)921 +b(203)0 295 y Fw(progress\).)25 b(The)16 b(clari\014cation)f(v)o(oted)h +(b)o(y)g(X3J13)f(sp)q(eci\014es)j(that)e(the)g(program)f(is)g(in)0 +347 y(error)h(for)g(attempting)e(to)h(transfer)h(con)o(trol)g(to)f(an)g +(abandoned)h(exit)f(p)q(oin)o(t.)23 b(T)m(o)15 b(put)0 +399 y(it)f(in)f(terms)h(of)f(the)h(example:)j(once)e(y)o(ou)e(ha)o(v)o +(e)h(b)q(egun)g(to)g(catc)o(h)h(a)e(crab,)h(y)o(ou)g(cannot)0 +450 y(rely)g(on)g(b)q(eing)f(able)h(to)g(catc)o(h)g(y)o(our)g(breath.) +42 502 y(Implemen)o(tatio)o(ns)g(ma)o(y)f(supp)q(ort)k(longer)e(exten)o +(ts)i(for)f(exits)g(than)g(is)f(required)i(b)o(y)0 554 +y(this)e(sp)q(eci\014cation,)h(but)f(p)q(ortable)h(programs)e(ma)o(y)f +(not)i(rely)g(on)g(suc)o(h)h(extended)h(ex-)0 606 y(ten)o(ts.)42 +658 y(\(This)d(sp)q(eci\014cation)g(is)g(somewhat)g(con)o(tro)o(v)o +(ersial.)k(An)c(alternativ)o(e)g(prop)q(osal)g(w)o(as)0 +710 y(that)21 b(the)g(abandoning)e(of)h(exits)h(should)f(b)q(e)h(lump)q +(ed)f(in)g(with)g(the)h(ev)n(aluation)e(of)0 762 y Fs(unwind-protect)14 +b Fw(clean)o(up)j(clauses)h(and)f(the)g(undoing)f(of)g(dynamic)g +(bindings)g(and)0 814 y Fs(catch)g Fw(tags,)h(p)q(erforming)e(all)g(in) +i(rev)o(erse)h(order)g(of)e(establishmen)o(t.)26 b(X3J13)16 +b(agreed)0 866 y(that)i(this)h(approac)o(h)f(is)g(theoretically)g +(cleaner)h(and)f(more)f(elegan)o(t)i(but)f(also)g(more)0 +917 y(stringen)o(t)d(and)f(of)g(little)g(additional)e(practical)i(use.) +21 b(There)15 b(w)o(as)f(some)g(concern)i(that)0 969 +y(a)d(more)g(stringen)o(t)i(sp)q(eci\014cation)f(migh)o(t)e(b)q(e)i(a)f +(great)i(added)f(burden)g(to)g(some)f(imple-)0 1021 y(men)o(tors)g(and) +h(w)o(ould)f(ac)o(hiev)o(e)h(only)f(a)h(small)e(gain)g(for)i(users.\)) +-33 1033 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1145 1130 a([)p Fv(Sp)n(e)n(cial)h(form)s +Fw(])-1396 b Fs(throw)34 b Fv(tag)15 b(r)n(esult)0 1207 +y Fw(The)e Fs(throw)e Fw(sp)q(ecial)i(form)d(transfers)k(con)o(trol)e +(to)g(a)g(matc)o(hing)f Fs(catch)g Fw(construct.)19 b(The)0 +1259 y Fv(tag)h Fw(is)f(ev)n(aluated)h(\014rst)g(to)g(pro)q(duce)h(an)e +(ob)r(ject)i(called)e(the)h(thro)o(w)g(tag;)i(then)e(the)0 +1311 y Fv(r)n(esult)13 b Fw(form)f(is)h(ev)n(aluated,)g(and)h(its)f +(results)i(are)f(sa)o(v)o(ed)g(\(if)f(the)h Fv(r)n(esult)f +Fw(form)f(pro)q(duces)0 1362 y(m)o(ultiple)g(v)n(alues,)i(then)i +Fv(al)r(l)e Fw(the)h(v)n(alues)g(are)g(sa)o(v)o(ed\).)20 +b(The)15 b(most)f(recen)o(t)i(outstanding)0 1414 y(catc)o(h)11 +b(whose)g(tag)e(matc)o(hes)h(the)h(thro)o(w)f(tag)g(is)g(exited;)h(the) +g(sa)o(v)o(ed)f(results)h(are)g(returned)0 1466 y(as)k(the)h(v)n +(alue\(s\))g(of)e(the)i(catc)o(h.)23 b(A)16 b Fs(catch)e +Fw(matc)o(hes)h(only)f(if)h(the)h(catc)o(h)g(tag)f(is)g +Fs(eq)g Fw(to)0 1518 y(the)f(thro)o(w)g(tag.)42 1570 +y(In)k(the)i(pro)q(cess,)h(dynamic)d(v)n(ariable)f(bindings)i(are)g +(undone)g(bac)o(k)g(to)g(the)g(p)q(oin)o(t)0 1622 y(of)14 +b(the)g(catc)o(h,)h(and)f(an)o(y)g(in)o(terv)o(ening)g +Fs(unwind-protect)d Fw(clean)o(up)j(co)q(de)h(is)f(executed.)0 +1674 y(The)k Fv(r)n(esult)e Fw(form)f(is)i(ev)n(aluated)g(b)q(efore)h +(the)g(un)o(winding)e(pro)q(cess)j(commences,)e(and)0 +1726 y(whatev)o(er)e(results)g(it)e(pro)q(duces)j(are)e(returned)i +(from)c(the)i(catc)o(h.)42 1778 y(If)k(there)i(is)f(no)g(outstanding)f +(catc)o(her)j(whose)e(tag)g(matc)o(hes)f(the)i(thro)o(w)f(tag,)g(no)0 +1829 y(un)o(winding)f(of)g(the)h(stac)o(k)g(is)g(p)q(erformed,)g(and)f +(an)h(error)g(is)g(signalled.)31 b(When)19 b(the)0 1881 +y(error)13 b(is)f(signalled,)e(the)j(outstanding)e(catc)o(hers)j(and)e +(the)g(dynamic)f(v)n(ariable)f(bindings)0 1933 y(are)k(those)h(in)e +(force)i(at)f(the)g(p)q(oin)o(t)f(of)h(the)g(thro)o(w.)p +0 1993 V 0 2053 a Fm(Implemen)o(tation)f(note:)18 b FA(These)c +(requiremen)o(ts)h(imply)g(that)e(thro)o(wing)i(should)g(t)o(ypically)0 +2099 y(mak)o(e)h(t)o(w)o(o)g(passes)h(o)o(v)o(er)f(the)g(con)o(trol)h +(stac)o(k.)26 b(In)16 b(the)g(\014rst)g(pass)h(it)f(simply)i(searc)o +(hes)f(for)f(a)0 2144 y(matc)o(hing)f(catc)o(h.)j(In)13 +b(this)h(searc)o(h)g(ev)o(ery)g Fj(catch)d FA(m)o(ust)i(b)q(e)h +(considered,)h(but)f(ev)o(ery)f Fj(unwind-)0 2190 y(protect)i +FA(should)20 b(b)q(e)e(ignored.)34 b(On)18 b(the)g(second)h(pass)f(the) +h(stac)o(k)f(is)h(actually)h(un)o(w)o(ound,)0 2236 y(one)c(frame)f(at)g +(a)g(time,)h(undoing)i(dynamic)f(bindings)h(and)e(outstanding)h +Fj(unwind-pro)o(tec)o(t)0 2281 y FA(constructs)d(in)g(rev)o(erse)f +(order)h(of)e(creation)j(un)o(til)f(the)f(matc)o(hing)i(catc)o(h)e(is)h +(reac)o(hed.)p 0 2329 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 204 228 +204 227 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(204)77 b(COMMON)13 +b(LISP)p 0 295 V 0 355 a Fm(Compatibilit)o(y)j(note:)25 +b FA(The)17 b(name)g Fj(throw)e FA(comes)i(from)f(MacLisp,)j(but)e(the) +g(syn)o(tax)h(of)0 401 y Fj(throw)c FA(in)j(Common)g(Lisp)g(is)g +(di\013eren)o(t.)29 b(The)16 b(MacLisp)i(syn)o(tax)f(w)o(as)g +Fj(\(throw)f Fq(form)j(tag)p Fj(\))p FA(,)0 446 y(where)13 +b(the)g Fq(tag)f FA(w)o(as)h(not)g(ev)n(aluated.)p 0 +480 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 205 229 +205 228 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(8)p 0 448 598 9 +v 0 531 a Fp(Macros)0 922 y Fw(The)13 b(Common)c(Lisp)j(macro)f +(facilit)o(y)g(allo)o(ws)g(the)i(user)h(to)e(de\014ne)h(arbitrary)g +(functions)0 974 y(that)g(con)o(v)o(ert)h(certain)f(Lisp)g(forms)e(in)o +(to)i(di\013eren)o(t)h(forms)d(b)q(efore)j(ev)n(aluating)d(or)i(com-)0 +1026 y(piling)g(them.)20 b(This)14 b(is)h(done)g(at)g(the)g(expression) +h(lev)o(el,)e(not)h(at)f(the)h(c)o(haracter-string)0 +1077 y(lev)o(el)d(as)g(in)f(most)g(other)i(languages.)k(Macros)12 +b(are)h(imp)q(ortan)o(t)d(in)i(the)g(writing)g(of)f(go)q(o)q(d)0 +1129 y(co)q(de:)18 b(they)13 b(mak)o(e)e(it)i(p)q(ossible)f(to)h(write) +g(co)q(de)g(that)g(is)f(clear)h(and)g(elegan)o(t)f(at)g(the)i(user)0 +1181 y(lev)o(el)g(but)h(that)f(is)g(con)o(v)o(erted)i(to)e(a)g(more)g +(complex)f(or)h(more)g(e\016cien)o(t)g(in)o(ternal)g(form)0 +1233 y(for)g(execution.)42 1286 y(When)i Fs(eval)f Fw(is)h(giv)o(en)f +(a)h(list)g(whose)g Fv(c)n(ar)g Fw(is)g(a)g(sym)o(b)q(ol,)e(it)h(lo)q +(oks)h(for)g(lo)q(cal)f(de\014ni-)0 1338 y(tions)g(of)f(that)h(sym)o(b) +q(ol)e(\(b)o(y)i Fs(flet)p Fw(,)f Fs(labels)p Fw(,)f(and)i +Fs(macrolet)p Fw(\);)e(if)h(that)h(fails,)f(it)g(lo)q(oks)0 +1390 y(for)i(a)f(global)f(de\014nition.)24 b(If)15 b(the)i +(de\014nition)e(is)h(a)g(macro)e(de\014nition,)i(then)g(the)h(orig-)0 +1442 y(inal)e(list)h(is)h(said)f(to)g(b)q(e)h(a)f Fv(macr)n(o)i(c)n(al) +r(l)p Fw(.)25 b(Asso)q(ciated)18 b(with)e(the)h(de\014nition)f(will)f +(b)q(e)i(a)0 1494 y(function)h(of)f(t)o(w)o(o)g(argumen)o(ts,)h(called) +g(the)g Fv(exp)n(ansion)i(function)p Fw(.)30 b(This)18 +b(function)g(is)0 1546 y(called)d(with)g(the)i(en)o(tire)f(macro)e +(call)h(as)h(its)f(\014rst)h(argumen)o(t)f(\(the)h(second)h(argumen)o +(t)0 1598 y(is)e(a)g(lexical)g(en)o(vironmen)o(t\);)g(it)g(m)o(ust)f +(return)i(some)f(new)h(Lisp)f(form,)e(called)j(the)g +Fv(ex-)0 1650 y(p)n(ansion)g Fw(of)f(the)h(macro)d(call.)22 +b(\(Actually)m(,)14 b(a)h(more)f(general)i(mec)o(hanism)c(is)j(in)o(v)o +(olv)o(ed;)0 1702 y(see)i Fs(macroexpand)p Fw(.\))k(This)16 +b(expansion)f(is)h(then)g(ev)n(aluated)f(in)g(place)h(of)f(the)i +(original)0 1753 y(form.)42 1807 y(When)f(a)g(function)h(is)f(b)q(eing) +h(compiled,)e(an)o(y)h(macros)f(it)i(con)o(tains)f(are)h(expanded)0 +1859 y(at)c(compilation)d(time.)16 b(This)d(means)f(that)h(a)f(macro)g +(de\014nition)g(m)o(ust)g(b)q(e)h(seen)i(b)o(y)d(the)0 +1911 y(compiler)g(b)q(efore)j(the)g(\014rst)f(use)h(of)e(the)i(macro.) +42 1964 y(More)h(generally)m(,)f(an)h(implemen)o(tation)d(of)i(Common)e +(Lisp)j(has)g(great)g(latitude)g(in)0 2016 y(deciding)c(exactly)h(when) +g(to)g(expand)g(macro)e(calls)h(within)g(a)g(program.)k(F)m(or)c +(example,)0 2068 y(it)k(is)g(acceptable)i(for)e(the)h +Fs(defun)e Fw(sp)q(ecial)i(form)d(to)j(expand)f(all)f(macro)g(calls)h +(within)0 2120 y(its)k(b)q(o)q(dy)f(at)h(the)g(time)f(the)h +Fs(defun)e Fw(form)g(is)i(executed)i(and)d(record)i(the)f(fully)f(ex-)0 +2172 y(panded)14 b(b)q(o)q(dy)g(as)g(the)g(b)q(o)q(dy)g(of)f(the)h +(function)g(b)q(eing)f(de\014ned.)19 b(\(An)14 b(implemen)o(tation)0 +2223 y(migh)o(t)f(ev)o(en)i(c)o(ho)q(ose)h(alw)o(a)o(ys)e(to)g(compile) +g(functions)h(de\014ned)h(b)o(y)e Fs(defun)p Fw(,)g(ev)o(en)h(when)0 +2275 y(op)q(erating)f(in)f(an)h(\\in)o(terpretiv)o(e")g(mo)q(de.\))42 +2329 y(Macros)j(should)f(b)q(e)h(written)g(so)g(as)g(to)f(dep)q(end)i +(as)f(little)f(as)g(p)q(ossible)h(on)f(the)i(ex-)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1337 2428 a Fy(205)p eop +%%Page: 206 230 +206 229 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(206)77 b(COMMON)13 +b(LISP)0 295 y Fw(ecution)19 b(en)o(vironmen)o(t)e(to)h(pro)q(duce)i(a) +e(correct)i(expansion.)32 b(T)m(o)18 b(ensure)i(consisten)o(t)0 +347 y(b)q(eha)o(vior,)13 b(it)f(is)h(b)q(est)i(to)d(ensure)j(that)e +(all)f(macro)g(de\014nitions)h(are)h(a)o(v)n(ailable,)c(whether)0 +399 y(to)g(the)h(in)o(terpreter)h(or)e(compiler,)f(b)q(efore)i(an)o(y)e +(co)q(de)i(con)o(taining)e(calls)h(to)g(those)h(macros)0 +450 y(is)j(in)o(tro)q(duced.)42 502 y(In)h(Common)e(Lisp,)i(macros)g +(are)i(not)e(functions.)24 b(In)16 b(particular,)g(macros)f(cannot)0 +554 y(b)q(e)e(used)g(as)f(functional)g(argumen)o(ts)f(to)h(suc)o(h)h +(functions)g(as)f Fs(apply)p Fw(,)f Fs(funcall)p Fw(,)g(or)h +Fs(map)p Fw(;)0 606 y(in)19 b(suc)o(h)h(situations,)f(the)h(list)f +(represen)o(ting)h(the)g(\\original)d(macro)h(call")g(do)q(es)i(not)0 +658 y(exist,)f(and)e(cannot)h(exist,)g(b)q(ecause)i(in)d(some)g(sense)i +(the)g(argumen)o(ts)e(ha)o(v)o(e)g(already)0 710 y(b)q(een)e(ev)n +(aluated.)0 868 y Fo(8.1.)20 b(Macro)c(De\014nition)0 +955 y Fw(The)11 b(function)f Fs(macro-function)d Fw(determines)j +(whether)i(a)e(giv)o(en)g(sym)o(b)q(ol)e(is)i(the)h(name)0 +1007 y(of)h(a)g(macro.)17 b(The)c Fs(defmacro)e Fw(construct)j(pro)o +(vides)f(a)f(con)o(v)o(enien)o(t)h(w)o(a)o(y)f(to)h(de\014ne)g(new)0 +1059 y(macros.)1209 1195 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(macro-function)18 b Fv(symb)n(ol)-38 1170 y Fk(.)-38 +1183 y(.)-38 1196 y(.)-38 1209 y(.)-38 1222 y(.)-38 1235 +y(.)-38 1248 y(.)-38 1261 y(.)-38 1274 y(.)-38 1287 y(.)-38 +1300 y(.)-38 1313 y(.)-38 1326 y(.)-38 1339 y(.)-38 1352 +y(.)-38 1365 y(.)-38 1378 y(.)-38 1391 y(.)-38 1404 y(.)-38 +1417 y(.)-38 1430 y(.)-38 1443 y(.)-38 1456 y(.)-38 1468 +y(.)-38 1481 y(.)-38 1494 y(.)-38 1507 y(.)-38 1520 y(.)-38 +1533 y(.)-38 1546 y(.)-38 1559 y(.)-38 1572 y(.)-38 1585 +y(.)-38 1598 y(.)-38 1611 y(.)-38 1624 y(.)-38 1637 y(.)-38 +1650 y(.)-38 1663 y(.)-38 1676 y(.)-38 1689 y(.)-38 1702 +y(.)-38 1715 y(.)-38 1728 y(.)-38 1741 y(.)-38 1754 y(.)-38 +1767 y(.)-38 1780 y(.)-38 1793 y(.)-38 1806 y(.)-38 1819 +y(.)-38 1832 y(.)-38 1845 y(.)-38 1858 y(.)-38 1871 y(.)-38 +1884 y(.)-38 1897 y(.)-38 1910 y(.)-38 1923 y(.)-38 1935 +y(.)-38 1948 y(.)-38 1961 y(.)-38 1974 y(.)-38 1987 y(.)-38 +2000 y(.)-38 2013 y(.)-38 2026 y(.)-38 2039 y(.)-38 2052 +y(.)-38 2065 y(.)-38 2078 y(.)-38 2091 y(.)-38 2104 y(.)-38 +2117 y(.)-38 2130 y(.)-38 2143 y(.)-38 2156 y(.)-38 2169 +y(.)-38 2182 y(.)-38 2195 y(.)-38 2208 y(.)-38 2221 y(.)-38 +2234 y(.)-38 2247 y(.)-38 2260 y(.)-38 2273 y(.)-38 2286 +y(.)-38 2299 y(.)-38 2312 y(.)-38 2325 y(.)-38 2338 y(.)-38 +2351 y(.)-38 2364 y(.)-38 2377 y(.)-38 2390 y(.)-38 2402 +y(.)-38 2415 y(.)-38 2428 y(.)-38 2441 y(.)-38 2454 y(.)-38 +2467 y(.)-38 2480 y(.)-38 2493 y(.)-38 2506 y(.)-38 2519 +y(.)-38 2532 y(.)-38 2545 y(.)-38 2558 y(.)-38 2571 y(.)-38 +2584 y(.)-38 2597 y(.)-38 2610 y(.)-38 2623 y(.)-38 2636 +y(.)-38 2649 y(.)-38 2662 y(.)-38 2675 y(.)-38 2688 y(.)-38 +2701 y(.)-38 2714 y(.)-38 2727 y(.)-38 2740 y(.)-38 2753 +y(.)-38 2766 y(.)-38 2779 y(.)-38 2792 y(.)-38 2805 y(.)-38 +2818 y(.)-38 2831 y(.)-38 2844 y(.)-38 2857 y(.)-38 2869 +y(.)-38 2882 y(.)-38 2895 y(.)-38 2908 y(.)-38 2921 y(.)-38 +2934 y(.)-38 2947 y(.)-38 2960 y(.)-38 2973 y(.)-38 2986 +y(.)-38 2999 y(.)-38 3012 y(.)-38 3025 y(.)-38 3038 y(.)-38 +3051 y(.)-38 3064 y(.)-38 3077 y(.)-38 3090 y(.)-38 3103 +y(.)-38 3116 y(.)-38 3129 y(.)-38 3142 y(.)-38 3155 y(.)-38 +3168 y(.)-38 3181 y(.)-38 3194 y(.)-38 3207 y(.)-38 3220 +y(.)-38 3233 y(.)-38 3246 y(.)-38 3259 y(.)-38 3272 y(.)-38 +3285 y(.)-38 3298 y(.)-38 3311 y(.)-38 3324 y(.)-38 3336 +y(.)-38 3349 y(.)-38 3362 y(.)-38 3375 y(.)-38 3388 y(.)-38 +3401 y(.)-38 3414 y(.)-38 3427 y(.)-38 3440 y(.)-38 3453 +y(.)-38 3466 y(.)-38 3479 y(.)-38 3492 y(.)-38 3505 y(.)-38 +3518 y(.)-38 3531 y(.)-38 3544 y(.)-38 3557 y(.)-38 3570 +y(.)-38 3583 y(.)-38 3596 y(.)-38 3609 y(.)-38 3622 y(.)-38 +3635 y(.)-38 3648 y(.)-38 3661 y(.)-38 3674 y(.)-38 3687 +y(.)-38 3700 y(.)-38 3713 y(.)-38 3726 y(.)-38 3739 y(.)-38 +3752 y(.)0 1272 y Fw(The)f(argumen)o(t)f(m)o(ust)g(b)q(e)h(a)g(sym)o(b) +q(ol.)25 b(If)17 b(the)g(sym)o(b)q(ol)e(has)i(a)g(global)e(function)h +(de\014-)0 1324 y(nition)f(that)g(is)g(a)h(macro)e(de\014nition,)h +(then)h(the)g(expansion)g(function)f(\(a)g(function)g(of)0 +1376 y(t)o(w)o(o)f(argumen)o(ts,)g(the)i(macro-call)d(form)g(and)h(an)h +(en)o(vironmen)o(t\))f(is)h(returned.)23 b(If)14 b(the)0 +1428 y(sym)o(b)q(ol)h(has)i(no)f(global)f(function)h(de\014nition,)h +(or)g(has)f(a)h(de\014nition)f(as)h(an)f(ordinary)0 1480 +y(function)f(or)g(as)g(a)f(sp)q(ecial)i(form)d(but)i(not)g(as)g(a)g +(macro,)e(then)j Fs(nil)e Fw(is)h(returned.)23 b(The)0 +1532 y(function)14 b Fs(macroexpand)d Fw(is)j(the)g(b)q(est)h(w)o(a)o +(y)f(to)f(in)o(v)o(ok)o(e)g(the)i(expansion)f(function.)42 +1584 y(It)e(is)g(p)q(ossible)g(for)g Fv(b)n(oth)g Fs(macro-function)d +Fw(and)j Fs(special-form-p)d Fw(to)j(b)q(e)h(true)g(of)e(a)0 +1636 y(sym)o(b)q(ol.)k(This)9 b(is)h(p)q(ossible)g(b)q(ecause)h(an)f +(implemen)o(tati)o(on)d(is)i(p)q(ermitted)h(to)g(implem)o(en)o(t)0 +1687 y(an)o(y)16 b(macro)g(also)g(as)h(a)g(sp)q(ecial)g(form)e(for)i +(sp)q(eed.)28 b(On)17 b(the)h(other)f(hand,)g(the)h(macro)0 +1739 y(de\014nition)g(m)o(ust)f(b)q(e)i(a)o(v)n(ailable)d(for)i(use)h +(b)o(y)g(programs)e(that)h(understand)i(only)d(the)0 +1791 y(standard)d(sp)q(ecial)g(forms)f(listed)h(in)f(table)h(5-1.)42 +1843 y Fs(macro-function)e Fw(cannot)k(b)q(e)h(used)f(to)g(determine)g +(whether)h(a)e(sym)o(b)q(ol)f(names)h(a)0 1895 y(lo)q(cally)10 +b(de\014ned)j(macro)d(established)i(b)o(y)g Fs(macrolet)p +Fw(;)e Fs(macro-function)e Fw(can)k(examine)0 1947 y(only)h(global)f +(de\014nitions.)42 1999 y Fs(setf)i Fw(ma)o(y)g(b)q(e)i(used)h(with)e +Fs(macro-function)e Fw(to)i(install)g(a)g(macro)g(as)g(a)h(sym)o(b)q +(ol's)0 2051 y(global)c(function)i(de\014nition:)0 2138 +y Fs(\(setf)20 b(\(macro-function)e Fv(symb)n(ol)p Fs(\))j +Fv(fn)p Fs(\))0 2225 y Fw(The)14 b(v)n(alue)e(installed)h(m)o(ust)f(b)q +(e)i(a)e(function)h(that)h(accepts)g(t)o(w)o(o)f(argumen)o(ts,)f(an)h +(en)o(tire)0 2277 y(macro)k(call)g(and)h(an)g(en)o(vironmen)o(t,)g(and) +g(computes)g(the)h(expansion)f(for)g(that)g(call.)0 2329 +y(P)o(erforming)8 b(this)h(op)q(eration)h(causes)h(the)f(sym)o(b)q(ol)d +(to)i(ha)o(v)o(e)h Fv(only)f Fw(that)h(macro)e(de\014nition)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 207 231 +207 230 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(MA)o(CROS)1179 b(207)0 295 y Fw(as)15 b(its)g(global)e +(function)h(de\014nition;)g(an)o(y)h(previous)g(de\014nition,)f +(whether)i(as)f(a)f(macro)0 347 y(or)i(as)g(a)f(function,)g(is)h(lost.) +24 b(It)15 b(is)h(an)g(error)g(to)g(attempt)f(to)g(rede\014ne)j(the)e +(name)f(of)g(a)0 399 y(sp)q(ecial)f(form.)-33 410 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 481 a(X3J13)c(v)o(oted)h(in)g(Marc)o(h)g(1988)f +Ft(h)p Fw(118)p Ft(i)g Fw(to)h(add)g(an)g(optional)e(en)o(vironmen)o(t) +h(argumen)o(t)-33 452 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 532 a(to)k Fs(macro-function)p Fw(.)1209 +669 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(macro-function)18 +b Fv(symb)n(ol)26 b Fs(&optional)19 b Fv(env)0 746 y +Fw(The)13 b(\014rst)h(argumen)o(t)e(m)o(ust)g(b)q(e)i(a)e(sym)o(b)q +(ol.)k(If)d(the)g(sym)o(b)q(ol)f(has)h(a)f(function)h(de\014nition)0 +798 y(that)f(is)h(a)f(macro)f(de\014nition,)h(whether)i(a)e(lo)q(cal)f +(one)i(established)g(in)f(the)h(en)o(vironmen)o(t)0 850 +y Fv(env)20 b Fw(b)o(y)g Fs(macrolet)e Fw(or)i(a)f(global)f(one)i +(established)h(as)f(if)f(b)o(y)h Fs(defmacro)p Fw(,)f(then)h(the)0 +902 y(expansion)13 b(function)g(\(a)g(function)g(of)f(t)o(w)o(o)h +(argumen)o(ts,)f(the)i(macro-call)d(form)g(and)i(an)0 +954 y(en)o(vironmen)o(t\))i(is)g(returned.)24 b(If)15 +b(the)h(sym)o(b)q(ol)e(has)i(no)f(function)g(de\014nition,)g(or)g(has)h +(a)0 1006 y(de\014nition)h(as)g(an)g(ordinary)f(function)h(or)g(as)g(a) +g(sp)q(ecial)g(form)e(but)j(not)f(as)g(a)f(macro,)0 1058 +y(then)i Fs(nil)f Fw(is)h(returned.)31 b(The)18 b(function)g +Fs(macroexpand)d Fw(or)j Fs(macroexpand-1)d Fw(is)i(the)0 +1110 y(b)q(est)e(w)o(a)o(y)e(to)h(in)o(v)o(ok)o(e)f(the)h(expansion)g +(function.)42 1162 y(It)e(is)g(p)q(ossible)g(for)g Fv(b)n(oth)g +Fs(macro-function)d Fw(and)j Fs(special-form-p)d Fw(to)j(b)q(e)h(true)g +(of)e(a)0 1214 y(sym)o(b)q(ol.)k(This)9 b(is)h(p)q(ossible)g(b)q +(ecause)h(an)f(implemen)o(tati)o(on)d(is)i(p)q(ermitted)h(to)g(implem)o +(en)o(t)0 1266 y(an)o(y)16 b(macro)g(also)g(as)h(a)g(sp)q(ecial)g(form) +e(for)i(sp)q(eed.)28 b(On)17 b(the)h(other)f(hand,)g(the)h(macro)0 +1317 y(de\014nition)g(m)o(ust)f(b)q(e)i(a)o(v)n(ailable)d(for)i(use)h +(b)o(y)g(programs)e(that)h(understand)i(only)d(the)0 +1369 y(standard)d(sp)q(ecial)g(forms)f(listed)h(in)f(table)h(5-1.)42 +1421 y Fs(setf)g Fw(ma)o(y)g(b)q(e)i(used)h(with)e Fs(macro-function)e +Fw(to)i(install)g(a)g(macro)g(as)g(a)h(sym)o(b)q(ol's)0 +1473 y(global)c(function)i(de\014nition:)0 1561 y Fs(\(setf)20 +b(\(macro-function)e Fv(symb)n(ol)p Fs(\))j Fv(fn)p Fs(\))0 +1648 y Fw(The)14 b(v)n(alue)e(installed)h(m)o(ust)f(b)q(e)i(a)e +(function)h(that)h(accepts)g(t)o(w)o(o)f(argumen)o(ts,)f(an)h(en)o +(tire)0 1699 y(macro)k(call)g(and)h(an)g(en)o(vironmen)o(t,)g(and)g +(computes)g(the)h(expansion)f(for)g(that)g(call.)0 1751 +y(P)o(erforming)8 b(this)h(op)q(eration)h(causes)h(the)f(sym)o(b)q(ol)d +(to)i(ha)o(v)o(e)h Fv(only)f Fw(that)h(macro)e(de\014nition)0 +1803 y(as)15 b(its)g(global)e(function)h(de\014nition;)g(an)o(y)h +(previous)g(de\014nition,)f(whether)i(as)f(a)f(macro)0 +1855 y(or)19 b(as)g(a)g(function,)h(is)f(lost.)34 b(One)20 +b(cannot)f(use)h Fs(setf)e Fw(to)h(establish)h(a)f(lo)q(cal)f(macro)0 +1907 y(de\014nition;)j(it)e(is)g(an)g(error)i(to)e(supply)g(a)g(second) +h(argumen)o(t)f(to)g Fs(macro-function)0 1959 y Fw(when)c(using)f(it)h +(with)f Fs(setf)p Fw(.)19 b(It)c(is)f(an)h(error)g(to)g(attempt)f(to)g +(rede\014ne)i(the)g(name)d(of)h(a)0 2011 y(sp)q(ecial)g(form.)42 +2063 y(See)g(also)g Fs(compiler-macro-)o(funct)o(ion)p +Fw(.)-33 2075 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1255 2200 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(defmacro)33 b Fv(name)16 b(lamb)n(da-list)21 b Fw([)-7 +b([)13 b Ft(f)p Fv(de)n(clar)n(ation)p Ft(g)807 2185 +y Fl(\003)847 2200 y Ft(j)h Fv(do)n(c-string)7 b Fw(])-7 +b(])28 b Ft(f)6 b Fv(form)p Ft(g)1237 2185 y Fl(\003)0 +2277 y Fs(defmacro)13 b Fw(is)i(a)g(macro-de\014ning)f(macro)g(that)h +(arranges)g(to)g(decomp)q(ose)g(the)h(macro-)0 2329 y(call)h(form)f(in) +h(an)h(elegan)o(t)f(and)h(useful)g(w)o(a)o(y)m(.)28 b +Fs(defmacro)16 b Fw(has)i(essen)o(tially)f(the)i(same)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 208 232 +208 231 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(208)77 b(COMMON)13 +b(LISP)0 295 y Fw(syn)o(tax)g(as)f Fs(defun)p Fw(:)17 +b Fv(name)c Fw(is)g(the)g(sym)o(b)q(ol)e(whose)i(macro)e(de\014nition)i +(w)o(e)g(are)g(creating,)0 347 y Fv(lamb)n(da-list)i +Fw(is)h(similar)d(in)j(form)e(to)i(a)g(lam)o(b)q(da-li)o(st,)e(and)i +(the)g Fv(form)s Fw(s)g(constitute)h(the)0 399 y(b)q(o)q(dy)f(of)g(the) +h(expander)g(function.)25 b(The)17 b Fs(defmacro)e Fw(construct)j +(arranges)f(to)f(install)0 450 y(this)e(expander)h(function,)e(as)h +(the)g(global)f(macro)f(de\014nition)i(of)f Fv(name)p +Fw(.)42 503 y(The)h(expander)g(function)g(is)f(e\013ectiv)o(ely)i +(de\014ned)g(in)e(the)h Fv(glob)n(al)g Fw(en)o(vironmen)o(t;)e(lex-)-38 +478 y Fk(.)-38 491 y(.)-38 504 y(.)-38 517 y(.)-38 530 +y(.)-38 543 y(.)-38 556 y(.)-38 569 y(.)-38 582 y(.)-38 +595 y(.)-38 607 y(.)-38 620 y(.)-38 633 y(.)-38 646 y(.)-38 +659 y(.)-38 672 y(.)-38 685 y(.)-38 698 y(.)-38 711 y(.)-38 +724 y(.)-38 737 y(.)-38 750 y(.)-38 763 y(.)-38 776 y(.)-38 +789 y(.)-38 802 y(.)-38 815 y(.)-38 828 y(.)-38 841 y(.)-38 +854 y(.)-38 867 y(.)-38 880 y(.)-38 893 y(.)-38 906 y(.)-38 +919 y(.)-38 932 y(.)-38 945 y(.)-38 958 y(.)-38 971 y(.)-38 +984 y(.)-38 997 y(.)-38 1010 y(.)-38 1023 y(.)-38 1036 +y(.)-38 1049 y(.)-38 1062 y(.)-38 1074 y(.)-38 1087 y(.)-38 +1100 y(.)-38 1113 y(.)-38 1126 y(.)-38 1139 y(.)-38 1152 +y(.)-38 1165 y(.)-38 1178 y(.)-38 1191 y(.)-38 1204 y(.)-38 +1217 y(.)-38 1230 y(.)-38 1243 y(.)-38 1256 y(.)-38 1269 +y(.)-38 1282 y(.)-38 1295 y(.)-38 1308 y(.)-38 1321 y(.)-38 +1334 y(.)-38 1347 y(.)-38 1360 y(.)-38 1373 y(.)-38 1386 +y(.)-38 1399 y(.)-38 1412 y(.)-38 1425 y(.)-38 1438 y(.)-38 +1451 y(.)-38 1464 y(.)-38 1477 y(.)-38 1490 y(.)-38 1503 +y(.)-38 1516 y(.)-38 1529 y(.)-38 1541 y(.)-38 1554 y(.)-38 +1567 y(.)-38 1580 y(.)-38 1593 y(.)-38 1606 y(.)-38 1619 +y(.)-38 1632 y(.)-38 1645 y(.)-38 1658 y(.)-38 1671 y(.)-38 +1684 y(.)-38 1697 y(.)-38 1710 y(.)-38 1723 y(.)-38 1736 +y(.)-38 1749 y(.)-38 1762 y(.)-38 1775 y(.)-38 1788 y(.)-38 +1801 y(.)-38 1814 y(.)-38 1827 y(.)-38 1840 y(.)-38 1853 +y(.)-38 1866 y(.)-38 1879 y(.)-38 1892 y(.)-38 1905 y(.)-38 +1918 y(.)-38 1931 y(.)-38 1944 y(.)-38 1957 y(.)-38 1970 +y(.)-38 1983 y(.)-38 1996 y(.)-38 2008 y(.)-38 2021 y(.)-38 +2034 y(.)-38 2047 y(.)-38 2060 y(.)-38 2073 y(.)-38 2086 +y(.)-38 2099 y(.)-38 2112 y(.)-38 2125 y(.)-38 2138 y(.)-38 +2151 y(.)-38 2164 y(.)-38 2177 y(.)-38 2190 y(.)-38 2203 +y(.)-38 2216 y(.)-38 2229 y(.)-38 2242 y(.)-38 2255 y(.)-38 +2268 y(.)-38 2281 y(.)-38 2294 y(.)-38 2307 y(.)-38 2320 +y(.)-38 2333 y(.)-38 2346 y(.)-38 2359 y(.)-38 2372 y(.)-38 +2385 y(.)-38 2398 y(.)-38 2411 y(.)-38 2424 y(.)-38 2437 +y(.)-38 2450 y(.)-38 2463 y(.)-38 2475 y(.)-38 2488 y(.)-38 +2501 y(.)-38 2514 y(.)-38 2527 y(.)-38 2540 y(.)-38 2553 +y(.)-38 2566 y(.)-38 2579 y(.)-38 2592 y(.)-38 2605 y(.)-38 +2618 y(.)-38 2631 y(.)-38 2644 y(.)-38 2657 y(.)-38 2670 +y(.)-38 2683 y(.)-38 2696 y(.)-38 2709 y(.)-38 2722 y(.)-38 +2735 y(.)-38 2748 y(.)-38 2761 y(.)-38 2774 y(.)-38 2787 +y(.)-38 2800 y(.)-38 2813 y(.)-38 2826 y(.)-38 2839 y(.)-38 +2852 y(.)-38 2865 y(.)-38 2878 y(.)-38 2891 y(.)-38 2904 +y(.)-38 2917 y(.)-38 2930 y(.)-38 2942 y(.)-38 2955 y(.)-38 +2968 y(.)-38 2981 y(.)-38 2994 y(.)-38 3007 y(.)-38 3020 +y(.)-38 3033 y(.)-38 3046 y(.)-38 3059 y(.)0 555 y Fw(ically)g(scop)q +(ed)j(en)o(tities)f(established)g(outside)g(the)g Fs(defmacro)d +Fw(form)h(that)i(w)o(ould)e(ordi-)0 607 y(narily)i(b)q(e)h(lexically)e +(apparen)o(t)i(are)g(not)g(visible)f(within)g(the)h(b)q(o)q(dy)g(of)f +(the)h(expansion)0 658 y(function.)-33 670 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 711 a(X3J13)f(v)o(oted)i(in)f(Marc)o(h)g(1989)f +Ft(h)p Fw(50)p Ft(i)h Fw(to)h(clarify)e(that,)h(while)g(de\014ning)g +(forms)f(nor-)-33 682 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 763 a(mally)j(app)q(ear)j(at)f(top)h(lev)o(el,)g(it)f +(is)h(meaningful)d(to)i(place)h(them)e(in)i(non-top-lev)o(el)0 +815 y(con)o(texts.)f(F)m(urthermore,)13 b Fs(defmacro)e +Fw(should)i(de\014ne)h(the)g(expander)g(function)e(within)0 +867 y(the)i(enclosing)g(lexical)f(en)o(vironmen)o(t,)g(not)g(within)h +(the)g(global)e(en)o(vironmen)o(t.)-33 878 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 919 a(X3J13)i(v)o(oted)h(in)f(Marc)o(h)h(1988)f +Ft(h)p Fw(78)p Ft(i)g Fw(to)h(sp)q(ecify)g(that)g(the)g(b)q(o)q(dy)g +(of)f(the)i(expander)-33 891 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 971 a(function)9 b(de\014ned)i(b)o(y)f +Fs(defmacro)e Fw(is)i(implicitly)c(enclosed)11 b(in)e(a)h +Fs(block)f Fw(construct)i(whose)0 1023 y(name)i(is)h(the)g(same)g(as)g +(the)g Fv(name)h Fw(of)f(the)g(de\014ned)h(macro.)j(Therefore)d +Fs(return-from)0 1075 y Fw(ma)o(y)d(b)q(e)i(used)h(to)f(exit)g(from)e +(the)i(function.)-33 1086 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1127 a(The)g Fv(name)g Fw(is)g(returned)i(as)e(the)g(v) +n(alue)f(of)h(the)g Fs(defmacro)e Fw(form.)42 1179 y(If)k(w)o(e)i(view) +f(the)h(macro)e(call)g(as)i(a)f(list)f(con)o(taining)h(a)f(function)h +(name)g(and)g(some)0 1231 y(argumen)o(t)12 b(forms,)g(in)g(e\013ect)j +(the)f(expander)g(function)f(and)g(the)h(list)f(of)g(\(unev)n +(aluated\))0 1283 y(argumen)o(t)k(forms)g(is)h(giv)o(en)g(to)g +Fs(apply)p Fw(.)30 b(The)18 b(parameter)g(sp)q(eci\014ers)j(are)d(pro)q +(cessed)0 1335 y(as)h(for)g(an)o(y)f(lam)o(b)q(da-expression,)h(using)g +(the)g(macro-call)e(argumen)o(t)h(forms)g(as)h(the)0 +1387 y(argumen)o(ts.)e(Then)c(the)h(b)q(o)q(dy)f(forms)e(are)i(ev)n +(aluated)g(as)g(an)g(implicit)d Fs(progn)p Fw(,)h(and)i(the)0 +1439 y(v)n(alue)g(of)h(the)g(last)g(form)e(is)i(returned)h(as)f(the)h +(expansion)e(of)h(the)g(macro)f(call.)42 1491 y(If)j(the)h(optional)d +(do)q(cumen)o(tation)i(string)g Fv(do)n(c-string)g Fw(is)g(presen)o(t)i +(\(if)e(not)g(follo)o(w)o(ed)0 1543 y(b)o(y)e(a)f(declaration,)h(it)f +(ma)o(y)f(b)q(e)j(presen)o(t)h(only)d(if)g(at)h(least)g(one)g +Fv(form)f Fw(is)h(also)g(sp)q(eci\014ed,)0 1595 y(as)i(it)g(is)g +(otherwise)i(tak)o(en)e(to)g(b)q(e)h(a)f Fv(form)p Fw(\),)g(then)h(it)f +(is)g(attac)o(hed)h(to)f(the)h Fv(name)g Fw(as)f(a)0 +1647 y(do)q(cumen)o(tation)d(string)h(of)f(t)o(yp)q(e)h +Fs(function)p Fw(;)e(see)j Fs(documentation)p Fw(.)42 +1699 y(Lik)o(e)h(the)h(lam)o(b)q(da-list)d(in)i(a)h Fs(defun)p +Fw(,)f(a)g Fs(defmacro)f Fv(lamb)n(da-list)h Fw(ma)o(y)f(con)o(tain)h +(the)-38 1674 y Fk(.)-38 1687 y(.)-38 1700 y(.)-38 1713 +y(.)-38 1726 y(.)-38 1739 y(.)-38 1752 y(.)-38 1765 y(.)-38 +1778 y(.)-38 1791 y(.)-38 1804 y(.)-38 1817 y(.)-38 1830 +y(.)-38 1843 y(.)-38 1856 y(.)-38 1869 y(.)-38 1882 y(.)-38 +1895 y(.)-38 1908 y(.)-38 1921 y(.)-38 1934 y(.)-38 1947 +y(.)-38 1960 y(.)-38 1973 y(.)-38 1986 y(.)-38 1999 y(.)-38 +2012 y(.)-38 2024 y(.)-38 2037 y(.)-38 2050 y(.)-38 2063 +y(.)-38 2076 y(.)-38 2089 y(.)-38 2102 y(.)-38 2115 y(.)-38 +2128 y(.)-38 2141 y(.)-38 2154 y(.)-38 2167 y(.)-38 2180 +y(.)-38 2193 y(.)-38 2206 y(.)-38 2219 y(.)-38 2232 y(.)-38 +2245 y(.)-38 2258 y(.)-38 2271 y(.)-38 2284 y(.)-38 2297 +y(.)-38 2310 y(.)-38 2323 y(.)-38 2336 y(.)-38 2349 y(.)-38 +2362 y(.)-38 2375 y(.)-38 2388 y(.)-38 2401 y(.)-38 2414 +y(.)-38 2427 y(.)-38 2440 y(.)-38 2453 y(.)-38 2466 y(.)-38 +2479 y(.)-38 2491 y(.)-38 2504 y(.)-38 2517 y(.)-38 2530 +y(.)-38 2543 y(.)-38 2556 y(.)-38 2569 y(.)-38 2582 y(.)-38 +2595 y(.)-38 2608 y(.)-38 2621 y(.)-38 2634 y(.)-38 2647 +y(.)-38 2660 y(.)-38 2673 y(.)-38 2686 y(.)-38 2699 y(.)-38 +2712 y(.)-38 2725 y(.)-38 2738 y(.)-38 2751 y(.)-38 2764 +y(.)-38 2777 y(.)-38 2790 y(.)-38 2803 y(.)-38 2816 y(.)-38 +2829 y(.)-38 2842 y(.)-38 2855 y(.)-38 2868 y(.)-38 2881 +y(.)-38 2894 y(.)-38 2907 y(.)-38 2920 y(.)-38 2933 y(.)-38 +2945 y(.)-38 2958 y(.)-38 2971 y(.)-38 2984 y(.)-38 2997 +y(.)-38 3010 y(.)-38 3023 y(.)-38 3036 y(.)-38 3049 y(.)-38 +3062 y(.)-38 3075 y(.)-38 3088 y(.)-38 3101 y(.)-38 3114 +y(.)-38 3127 y(.)-38 3140 y(.)-38 3153 y(.)-38 3166 y(.)-38 +3179 y(.)-38 3192 y(.)-38 3205 y(.)-38 3218 y(.)-38 3231 +y(.)-38 3244 y(.)-38 3257 y(.)-38 3270 y(.)-38 3283 y(.)-38 +3296 y(.)-38 3309 y(.)-38 3322 y(.)-38 3335 y(.)-38 3348 +y(.)-38 3361 y(.)-38 3374 y(.)-38 3387 y(.)-38 3400 y(.)-38 +3412 y(.)-38 3425 y(.)-38 3438 y(.)-38 3451 y(.)-38 3464 +y(.)-38 3477 y(.)-38 3490 y(.)-38 3503 y(.)-38 3516 y(.)-38 +3529 y(.)-38 3542 y(.)-38 3555 y(.)-38 3568 y(.)-38 3581 +y(.)-38 3594 y(.)-38 3607 y(.)-38 3620 y(.)-38 3633 y(.)-38 +3646 y(.)-38 3659 y(.)-38 3672 y(.)-38 3685 y(.)-38 3698 +y(.)-38 3711 y(.)-38 3724 y(.)-38 3737 y(.)-38 3750 y(.)-38 +3763 y(.)-38 3776 y(.)-38 3789 y(.)-38 3802 y(.)-38 3815 +y(.)-38 3828 y(.)-38 3841 y(.)-38 3854 y(.)-38 3867 y(.)-38 +3879 y(.)-38 3892 y(.)-38 3905 y(.)-38 3918 y(.)-38 3931 +y(.)-38 3944 y(.)-38 3957 y(.)-38 3970 y(.)-38 3983 y(.)-38 +3996 y(.)-38 4009 y(.)-38 4022 y(.)-38 4035 y(.)-38 4048 +y(.)-38 4061 y(.)-38 4074 y(.)-38 4087 y(.)-38 4100 y(.)-38 +4113 y(.)-38 4126 y(.)-38 4139 y(.)-38 4152 y(.)-38 4165 +y(.)-38 4178 y(.)-38 4191 y(.)-38 4204 y(.)-38 4217 y(.)-38 +4230 y(.)-38 4243 y(.)-38 4256 y(.)0 1751 y Fw(lam)o(b)q(da-list)k(k)o +(eyw)o(ords)k Fs(&optional)p Fw(,)g Fs(&rest)p Fw(,)g +Fs(&key)p Fw(,)g Fs(&allow-other-keys)p Fw(,)e(and)0 +1803 y Fs(&aux)p Fw(.)16 b(F)m(or)c Fs(&optional)e Fw(and)i +Fs(&key)f Fw(parameters,)g(initialization)f(forms)g(and)i(supplied-)0 +1855 y(p)k(parameters)f(ma)o(y)f(b)q(e)i(sp)q(eci\014ed,)h(just)f(as)g +(for)f Fs(defun)p Fw(.)22 b(Three)17 b(additional)c(mark)o(ers)0 +1907 y(are)h(allo)o(w)o(ed)f(in)g Fs(defmacro)g Fw(v)n(ariable)f(lists) +i(only)m(.)-33 1918 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1959 a(These)h(three)g(mark)o(ers)e(are)h(no)o(w)g +(allo)o(w)o(ed)f(in)g(other)h(constructs)i(as)e(w)o(ell.)-33 +1931 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2034 a Fs(&body)189 b Fw(This)14 b(is)g(iden)o(tical)g +(in)g(function)g(to)g Fs(&rest)p Fw(,)f(but)i(it)f(informs)e(certain) +299 2086 y(output-formatting)h(and)j(editing)f(functions)h(that)g(the)g +(remainder)299 2138 y(of)e(the)i(form)d(is)i(treated)h(as)f(a)f(b)q(o)q +(dy)h(and)g(should)g(b)q(e)g(inden)o(ted)h(ac-)299 2190 +y(cordingly)m(.)h(\(Only)c(one)i(of)e Fs(&body)g Fw(or)h +Fs(&rest)e Fw(ma)o(y)g(b)q(e)j(used.\))0 2277 y Fs(&whole)167 +b Fw(This)20 b(is)g(follo)o(w)o(ed)e(b)o(y)i(a)g(single)f(v)n(ariable)g +(that)h(is)g(b)q(ound)g(to)g(the)299 2329 y(en)o(tire)c(macro-call)d +(form;)g(this)j(is)f(the)g(v)n(alue)g(that)g(the)h(macro)e(def-)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 209 233 +209 232 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MA)o(CROS)1179 +b(209)299 295 y Fw(inition)13 b(function)i(receiv)o(es)i(as)e(its)g +(single)g(argumen)o(t.)20 b Fs(&whole)14 b Fw(and)299 +347 y(the)h(follo)o(wing)d(v)n(ariable)h(should)h(app)q(ear)h(\014rst)g +(in)f(the)h(lam)o(b)q(da-list,)299 399 y(b)q(efore)g(an)o(y)e(other)h +(parameter)g(or)g(lam)o(b)q(da-list)d(k)o(eyw)o(ord.)0 +492 y Fs(&environment)35 b Fw(This)15 b(is)f(follo)o(w)o(ed)g(b)o(y)g +(a)h(single)g(v)n(ariable)e(that)i(is)g(b)q(ound)g(to)g(an)f(en-)299 +544 y(vironmen)o(t)e(represen)o(ting)k(the)e(lexical)f(en)o(vironmen)o +(t)g(in)g(whic)o(h)h(the)299 596 y(macro)i(call)g(is)g(to)h(b)q(e)h(in) +o(terpreted.)28 b(This)17 b(en)o(vironmen)o(t)f(ma)o(y)f(not)299 +647 y(b)q(e)h(the)g(complete)e(lexical)g(en)o(vironmen)o(t;)h(it)g +(should)g(b)q(e)g(used)i(only)299 699 y(with)9 b(the)h(function)f +Fs(macroexpand)e Fw(for)i(the)g(sak)o(e)h(of)f(an)o(y)g(lo)q(cal)f +(macro)299 751 y(de\014nitions)j(that)g(the)g Fs(macrolet)e +Fw(construct)j(ma)o(y)d(ha)o(v)o(e)i(established)299 +803 y(within)k(that)h(lexical)g(en)o(vironmen)o(t.)23 +b(This)16 b(is)g(useful)h(primarily)c(in)299 855 y(the)18 +b(rare)g(cases)h(where)g(a)f(macro)e(de\014nition)h(m)o(ust)g +(explicitly)g(ex-)299 907 y(pand)c(an)o(y)h(macros)e(in)i(a)f(subform)f +(of)h(the)h(macro)f(call)g(b)q(efore)h(com-)299 959 y(puting)f(its)h(o) +o(wn)g(expansion.)0 1041 y(See)h Fs(lambda-list-keyw)o(ords)p +Fw(.)42 1093 y Fv(Notic)n(e)g(of)g(c)n(orr)n(e)n(ction.)20 +b Fw(In)14 b(the)h(\014rst)h(edition,)e(the)h(sym)o(b)q(ol)e +Fs(&environment)f Fw(at)i(the)-33 1065 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1145 a(left)g(margin)d(ab)q(o)o(v)o(e)j(w)o(as)g(inadv)o +(erten)o(tly)g(omitted.)-33 1157 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1198 a(X3J13)9 b(v)o(oted)i(in)e(Marc)o(h)i(1989)e +Ft(h)p Fw(117)p Ft(i)h Fw(to)g(sp)q(ecify)g(that)h(macro)d(en)o +(vironmen)o(t)i(ob)r(jects)-33 1170 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1250 a(receiv)o(ed)22 b(with)e(the)h Fs(&environment)d +Fw(argumen)o(t)i(of)f(a)i(macro)e(function)h(ha)o(v)o(e)h(only)0 +1302 y(dynamic)8 b(exten)o(t.)18 b(The)10 b(consequences)i(are)e +(unde\014ned)h(if)e(suc)o(h)h(ob)r(jects)h(are)f(referred)i(to)0 +1354 y(outside)e(the)g(dynamic)e(exten)o(t)j(of)e(that)g(particular)h +(in)o(v)o(o)q(cation)e(of)h(the)h(macro)e(function.)0 +1406 y(This)18 b(allo)o(ws)f(implem)o(en)o(tations)e(to)j(use)h +(somewhat)e(more)g(e\016cien)o(t)i(tec)o(hniques)g(for)0 +1458 y(represen)o(ting)d(en)o(vironmen)o(t)c(ob)r(jects.)-33 +1469 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1511 a(X3J13)17 b(v)o(oted)i(in)e(Marc)o(h)i(1989)e +Ft(h)p Fw(51)p Ft(i)h Fw(to)g(clarify)f(the)i(p)q(ermitted)f(uses)i(of) +d Fs(&body)p Fw(,)-33 1482 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1563 a Fs(&whole)p Fw(,)12 b(and)i Fs(&environment)p +Fw(:)0 1635 y Fu(.)42 1644 y Fs(&body)e Fw(ma)o(y)g(app)q(ear)j(at)e +(an)o(y)h(lev)o(el)f(of)h(a)f Fs(defmacro)f Fw(lam)o(b)q(da-list.)0 +1729 y Fu(.)42 1738 y Fs(&whole)f Fw(ma)o(y)h(app)q(ear)h(at)g(an)o(y)g +(lev)o(el)f(of)h(a)g Fs(defmacro)e Fw(lam)o(b)q(da-list.)k(A)o(t)e +(inner)h(lev)o(els)42 1789 y(a)g Fs(&whole)e Fw(v)n(ariable)i(is)g(b)q +(ound)g(to)g(that)h(part)f(of)g(the)h(argumen)o(t)e(that)h(matc)o(hes)g +(the)42 1841 y(sub-lam)o(b)q(da-list)8 b(in)j(whic)o(h)h +Fs(&whole)e Fw(app)q(ears.)18 b(No)11 b(matter)g(where)i +Fs(&whole)d Fw(is)h(used,)42 1893 y(other)j(parameters)g(or)g(lam)o(b)q +(da-li)o(st)e(k)o(eyw)o(ords)i(ma)o(y)e(follo)o(w)g(it.)0 +1978 y Fu(.)42 1986 y Fs(&environment)7 b Fw(ma)o(y)g(o)q(ccur)k(only)e +(at)h(the)g(outermost)f(lev)o(el)h(of)f(a)g Fs(defmacro)f +Fw(lam)o(b)q(da-)42 2038 y(list,)j(and)i(it)f(ma)o(y)e(o)q(ccur)k(at)e +(most)f(once,)i(but)g(it)f(ma)o(y)e(o)q(ccur)k(an)o(ywhere)f(within)f +(that)42 2090 y(lam)o(b)q(da-li)o(st,)f(ev)o(en)k(b)q(efore)f(an)g(o)q +(ccurrence)j(of)c Fs(&whole)p Fw(.)-33 2102 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2172 a Fs(defmacro)p Fw(,)e(unlik)o(e)h(an)o(y)h(other) +g(Common)d(Lisp)j(construct)i(that)e(has)g(a)g(lam)o(b)q(da-li)o(st)0 +2224 y(as)h(part)g(of)f(its)h(syn)o(tax,)g(pro)o(vides)g(an)f +(additional)f(facilit)o(y)h(kno)o(wn)g(as)h Fv(destructuring)p +Fw(.)42 2277 y(See)j Fs(destructuring-bind)p Fw(,)d(whic)o(h)i(pro)o +(vides)h(the)h(destructuring)g(facilit)o(y)d(sepa-)-33 +2249 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a(rately)m(.)-33 2340 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 210 234 +210 233 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(210)77 b(COMMON)13 +b(LISP)42 295 y Fw(An)o(ywhere)20 b(in)e(the)i(lam)o(b)q(da-li)o(st)d +(where)j(a)e(parameter)h(name)f(ma)o(y)f(app)q(ear,)j(and)0 +347 y(where)g(ordinary)f(lam)o(b)q(da-li)o(st)e(syn)o(tax)i(\(as)g +(describ)q(ed)i(in)d(section)i(5.2.2\))d(do)q(es)j(not)0 +399 y(otherwise)f(allo)o(w)d(a)i(list,)g(a)g(lam)o(b)q(da-li)o(st)e(ma) +o(y)g(app)q(ear)i(in)g(place)g(of)f(the)i(parameter)0 +450 y(name.)31 b(When)19 b(this)g(is)g(done,)g(then)h(the)f(argumen)o +(t)f(form)f(that)i(w)o(ould)f(matc)o(h)f(the)0 502 y(parameter)g(is)f +(treated)i(as)f(a)g(\(p)q(ossibly)f(dotted\))i(list,)e(to)h(b)q(e)h +(used)f(as)g(an)g(argumen)o(t)0 554 y(forms)d(list)h(for)g(satisfying)g +(the)h(parameters)g(in)f(the)h(em)o(b)q(edded)g(lam)o(b)q(da-li)o(st.) +21 b(As)16 b(an)0 606 y(example,)c(one)i(could)g(write)g(the)h(macro)d +(de\014nition)i(for)f Fs(dolist)g Fw(in)g(this)h(manner:)0 +699 y Fs(\(defmacro)19 b(dolist)h(\(\(var)g(listform)g(&optional)f +(resultform\))381 751 y(&rest)h(body\))42 803 y(...\))0 +895 y Fw(More)14 b(examples)f(of)h(em)o(b)q(edded)g(lam)o(b)q(da-li)o +(sts)e(in)h Fs(defmacro)g Fw(are)h(sho)o(wn)g(b)q(elo)o(w.)42 +948 y(Another)30 b(destructuring)h(rule)f(is)f(that)h +Fs(defmacro)e Fw(allo)o(ws)g(an)o(y)i(lam)o(b)q(da-li)o(st)0 +1000 y(\(whether)17 b(top-lev)o(el)d(or)h(em)o(b)q(edded\))h(to)f(b)q +(e)g(dotted,)h(ending)f(in)g(a)g(parameter)f(name.)0 +1052 y(This)h(situation)g(is)g(treated)h(exactly)f(as)h(if)e(the)i +(parameter)f(name)f(that)h(ends)h(the)g(list)0 1103 y(had)i(app)q +(eared)h(preceded)h(b)o(y)e Fs(&rest)p Fw(.)30 b(F)m(or)18 +b(example,)f(the)i(de\014nition)e(sk)o(eleton)i(for)0 +1155 y Fs(dolist)13 b Fw(sho)o(wn)h(ab)q(o)o(v)o(e)f(could)h(instead)g +(ha)o(v)o(e)g(b)q(een)h(written)0 1248 y Fs(\(defmacro)k(dolist)h +(\(\(var)g(listform)g(&optional)f(resultform\))381 1300 +y(.)i(body\))42 1352 y(...\))42 1444 y Fw(If)e(the)i(compiler)e(encoun) +o(ters)j(a)e Fs(defmacro)p Fw(,)f(the)i(new)g(macro)e(is)h(added)g(to)g +(the)0 1496 y(compilation)14 b(en)o(vironmen)o(t,)h(and)i(a)f(compiled) +f(form)g(of)h(the)h(expansion)g(function)f(is)0 1548 +y(also)e(added)h(to)g(the)g(output)g(\014le)g(so)f(that)h(the)h(new)f +(macro)e(will)g(b)q(e)j(op)q(erativ)o(e)f(at)f(run)0 +1600 y(time.)20 b(If)15 b(this)g(is)f(not)h(the)h(desired)g(e\013ect,)h +(the)e Fs(defmacro)e Fw(form)h(can)h(b)q(e)g(wrapp)q(ed)h(in)0 +1652 y(an)e Fs(eval-when)e Fw(construct.)42 1705 y(It)e(is)h(p)q +(ermissible)f(to)h(use)g Fs(defmacro)e Fw(to)i(rede\014ne)h(a)f(macro)e +(\(for)i(example,)e(to)i(install)0 1756 y(a)k(corrected)j(v)o(ersion)e +(of)f(an)h(incorrect)h(de\014nition\),)e(or)h(to)f(rede\014ne)j(a)d +(function)g(as)h(a)0 1808 y(macro.)21 b(It)16 b(is)f(an)g(error)i(to)e +(attempt)g(to)g(rede\014ne)i(the)f(name)e(of)h(a)g(sp)q(ecial)h(form)d +(\(see)0 1860 y(table)f(5-)o(1\))g(as)g(a)g(macro.)k(See)d +Fs(macrolet)p Fw(,)d(whic)o(h)i(establishes)h(macro)e(de\014nitions)h +(o)o(v)o(er)0 1912 y(a)i(restricted)i(lexical)d(scop)q(e.)42 +1965 y(See)h(also)g Fs(define-compiler)o(-macr)o(o)p +Fw(.)-33 1936 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2017 a(Supp)q(ose,)19 b(for)g(the)f(sak)o(e)h(of)f +(example,)g(that)g(it)g(w)o(ere)h(desirable)g(to)f(implemen)o(t)e(a)0 +2069 y(conditional)9 b(construct)j(analogous)d(to)h(the)h(F)m(ortran)f +(arithmetic)g(IF)g(statemen)o(t.)17 b(\(This)0 2121 y(of)f(course)i +(requires)g(a)e(certain)h(stretc)o(hing)h(of)e(the)h(imaginatio)o(n)d +(and)j(susp)q(ension)g(of)0 2173 y(disb)q(elief.\))22 +b(The)16 b(construct)h(should)e(accept)h(four)f(forms:)20 +b(a)15 b Fv(test-value)p Fw(,)g(a)g Fv(ne)n(g-form)p +Fw(,)0 2225 y(a)k Fv(zer)n(o-form)p Fw(,)g(and)g(a)g +Fv(p)n(os-form)p Fw(.)33 b(One)20 b(of)e(the)i(last)f(three)h(forms)e +(is)h(c)o(hosen)h(to)f(b)q(e)0 2277 y(executed)14 b(according)e(to)h +(whether)g(the)g(v)n(alue)f(of)f(the)i Fv(test-form)e +Fw(is)i(p)q(ositiv)o(e,)e(negativ)o(e,)0 2329 y(or)g(zero.)18 +b(Using)11 b Fs(defmacro)p Fw(,)f(a)g(de\014nition)h(for)g(suc)o(h)h(a) +f(construct)i(migh)o(t)c(lo)q(ok)h(lik)o(e)g(this:)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 211 235 +211 234 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MA)o(CROS)1179 +b(211)0 295 y Fs(\(defmacro)19 b(arithmetic-if)g(\(test)h(neg-form)f +(zero-form)h(pos-form\))42 347 y(\(let)h(\(\(var)f(\(gensym\)\)\))82 +403 y Fn(`)106 399 y Fs(\(let)g(\(\(,var)g(,test\)\))148 +450 y(\(cond)g(\(\(<)h(,var)f(0\))h(,neg-form\))275 502 +y(\(\()319 498 y(U)319 506 y(U)362 502 y(,var)f(0\))h(,zero-form\))275 +554 y(\(t)g(,pos-form\)\)\)\)\))0 642 y Fw(Note)c(the)g(use)g(of)e(the) +i(bac)o(kquote)g(facilit)o(y)d(in)i(this)h(de\014nition)e(\(see)j +(section)f(22.1.3\).)0 694 y(Also)10 b(note)g(the)h(use)f(of)g +Fs(gensym)e Fw(to)i(generate)i(a)d(new)i(v)n(ariable)d(name.)16 +b(This)10 b(is)g(necessary)0 746 y(to)g(a)o(v)o(oid)f(con\015ict)i +(with)f(an)o(y)f(v)n(ariables)h(that)g(migh)o(t)e(b)q(e)j(referred)h +(to)e(in)g Fv(ne)n(g-form)p Fw(,)g Fv(zer)n(o-)0 798 +y(form)p Fw(,)j(or)h Fv(p)n(os-form)p Fw(.)42 850 y(If)9 +b(the)h(form)e(is)h(executed)j(b)o(y)d(the)i(in)o(terpreter,)g(it)f +(will)e(cause)j(the)f(function)f(de\014nition)0 902 y(of)14 +b(the)g(sym)o(b)q(ol)f Fs(arithmetic-if)e Fw(to)j(b)q(e)h(a)f(macro)f +(asso)q(ciated)i(with)f(whic)o(h)g(is)g(a)g(t)o(w)o(o-)0 +954 y(argumen)o(t)f(expansion)h(function)f(roughly)g(equiv)n(alen)o(t)g +(to)0 1042 y Fs(\(lambda)20 b(\(calling-form)e(environment\))42 +1094 y(\(declare)i(\(ignore)g(environment\)\))42 1146 +y(\(let)h(\(\(var)f(\(gensym\)\)\))85 1198 y(\(list)213 +1202 y Fn(')236 1198 y Fs(let)212 1250 y(\(list)g(\(list)470 +1254 y Fn(')493 1250 y Fs(var)h(\(cadr)f(calling-form\)\)\))212 +1301 y(\(list)340 1305 y Fn(')363 1301 y Fs(cond)339 +1353 y(\(list)g(\(list)597 1357 y Fn(')620 1353 y Fs(<)h(var)747 +1357 y Fn(')771 1353 y Fs(0\))g(\(caddr)f(calling-form\)\))339 +1405 y(\(list)g(\(list)597 1409 y Fn(')620 1401 y Fs(U)620 +1409 y(U)663 1405 y(var)747 1409 y Fn(')771 1405 y Fs(0\))h(\(cadddr)e +(calling-form\)\))339 1457 y(\(list)467 1461 y Fn(')490 +1457 y Fs(t)i(\(fifth)f(calling-form\)\)\)\)\))o(\))0 +1545 y Fw(The)12 b(lam)o(b)q(da-expression)e(is)h(pro)q(duced)i(b)o(y)e +(the)h Fs(defmacro)d Fw(declaration.)17 b(The)12 b(calls)f(to)0 +1597 y Fs(list)j Fw(are)h(the)h(\(h)o(yp)q(othetical\))f(result)g(of)f +(the)i(bac)o(kquote)f(\()966 1601 y Fn(`)989 1597 y Fw(\))g(macro)f(c)o +(haracter)i(and)0 1649 y(its)i(asso)q(ciated)g(commas.)27 +b(The)18 b(precise)h(macro)e(expansion)g(function)h(ma)o(y)d(dep)q(end) +0 1701 y(on)i(the)g(implemen)o(tation,)d(for)j(example)f(pro)o(viding)f +(some)h(degree)j(of)d(explicit)h(error)0 1753 y(c)o(hec)o(king)d(on)g +(the)g(n)o(um)o(b)q(er)g(of)f(argumen)o(t)g(forms)f(in)h(the)i(macro)e +(call.)42 1805 y(No)o(w,)g(if)g Fs(eval)g Fw(encoun)o(ters)0 +1893 y Fs(\(arithmetic-if)18 b(\(-)j(x)g(4.0\))318 1945 +y(\(-)f(x\))318 1997 y(\(error)f("Strange)h(zero"\))318 +2049 y(x\))0 2137 y Fw(this)14 b(will)e(b)q(e)j(expanded)g(in)o(to)e +(something)f(lik)o(e)0 2225 y Fs(\(let)20 b(\(\(g407)g(\(-)h(x)g +(4.0\)\)\))42 2277 y(\(cond)f(\(\(<)h(g407)f(0\))h(\(-)g(x\)\))169 +2329 y(\(\()213 2325 y(U)213 2333 y(U)256 2329 y(g407)f(0\))h(\(error)f +("Strange)f(zero"\)\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 212 236 +212 235 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(212)77 b(COMMON)13 +b(LISP)169 295 y Fs(\(t)21 b(x\)\)\))0 385 y Fw(and)12 +b Fs(eval)g Fw(tries)h(again)e(on)h(this)g(new)h(form.)j(\(It)d(should) +f(b)q(e)h(clear)g(no)o(w)f(that)g(the)h(bac)o(k-)0 437 +y(quote)i(facilit)o(y)e(is)i(v)o(ery)h(useful)f(in)f(writing)g(macros,) +g(since)i(the)f(form)f(to)g(b)q(e)i(returned)0 489 y(is)d(normally)d(a) +j(complex)f(list)g(structure,)j(t)o(ypically)d(consisting)h(of)f(a)h +(mostly)e(constan)o(t)0 540 y(template)g(with)h(a)g(few)g(ev)n(aluated) +g(forms)f(here)j(and)e(there.)18 b(The)13 b(bac)o(kquote)g(template)0 +592 y(pro)o(vides)f(a)g(\\picture")g(of)g(the)h(resulting)f(co)q(de,)h +(with)e(places)i(to)f(b)q(e)g(\014lled)g(in)g(indicated)0 +644 y(b)o(y)i(preceding)h(commas.\))42 697 y(T)m(o)9 +b(expand)h(on)f(this)h(example,)f(stretc)o(hing)i(credibilit)o(y)e(to)h +(its)g(limit,)d(w)o(e)k(migh)o(t)c(allo)o(w)0 749 y(the)14 +b Fv(p)n(os-form)g Fw(and)f Fv(zer)n(o-form)g Fw(to)g(b)q(e)i(omitted,) +d(allo)o(wing)f(their)j(v)n(alues)g(to)f(default)h(to)0 +800 y Fs(nil)p Fw(,)d(in)g(m)o(uc)o(h)g(the)i(same)e(w)o(a)o(y)g(that)h +(the)g Fv(else)g Fw(form)e(of)h(a)g(Common)e(Lisp)j Fs(if)f +Fw(construct)0 852 y(ma)o(y)h(b)q(e)i(omitted:)0 943 +y Fs(\(defmacro)19 b(arithmetic-if)g(\(test)h(neg-form)529 +995 y(&optional)g(zero-form)f(pos-form\))42 1047 y(\(let)i(\(\(var)f +(\(gensym\)\)\))82 1103 y Fn(`)106 1099 y Fs(\(let)g(\(\(,var)g +(,test\)\))148 1150 y(\(cond)g(\(\(<)h(,var)f(0\))h(,neg-form\))275 +1202 y(\(\()319 1198 y(U)319 1206 y(U)362 1202 y(,var)f(0\))h +(,zero-form\))275 1254 y(\(t)g(,pos-form\)\)\)\)\))0 +1344 y Fw(Then)14 b(one)g(could)g(write)0 1435 y Fs(\(arithmetic-if)k +(\(-)j(x)g(4.0\))f(\(print)g(x\)\))0 1525 y Fw(whic)o(h)14 +b(w)o(ould)f(b)q(e)h(expanded)h(in)o(to)e(something)g(lik)o(e)0 +1616 y Fs(\(let)20 b(\(\(g408)g(\(-)h(x)g(4.0\)\)\))42 +1667 y(\(cond)f(\(\(<)h(g408)f(0\))h(\(print)f(x\)\))169 +1719 y(\(\()213 1715 y(U)213 1723 y(U)256 1719 y(g408)g(0\))h(nil\))169 +1771 y(\(t)g(nil\)\)\))0 1861 y Fw(The)15 b(resulting)g(co)q(de)g(is)f +(correct)j(but)d(rather)i(silly-lo)q(oking.)h(One)e(migh)o(t)e(rewrite) +i(the)0 1913 y(macro)9 b(de\014nition)h(to)g(pro)q(duce)i(b)q(etter)g +(co)q(de)f(when)g Fv(p)n(os-form)f Fw(and)g(p)q(ossibly)g +Fv(zer)n(o-form)0 1965 y Fw(are)16 b(omitted,)e(or)i(one)f(migh)o(t)f +(simply)f(rely)j(on)f(the)i(Comm)o(on)c(Lisp)i(implemen)o(tation)0 +2017 y(to)f(pro)o(vide)f(a)h(compiler)f(smart)f(enough)i(to)g(impro)o +(v)o(e)e(the)j(co)q(de)f(itself.)42 2069 y(Destructuring)g(is)f(a)g(v)o +(ery)h(p)q(o)o(w)o(erful)f(facilit)o(y)e(that)j(allo)o(ws)e(the)i +Fs(defmacro)d Fw(lam)o(b)q(da-)0 2121 y(list)g(to)g(express)i(the)f +(structure)i(of)d(a)g(complicated)f(macro-call)f(syn)o(tax.)17 +b(If)11 b(no)g(lam)o(b)q(da-)0 2173 y(list)k(k)o(eyw)o(ords)h(app)q +(ear,)g(then)g(the)g Fs(defmacro)e Fw(lam)o(b)q(da-list)f(is)i(simply)f +(a)h(list,)g(nested)0 2225 y(to)i(some)g(exten)o(t,)i(con)o(taining)d +(parameter)i(names)e(at)i(the)g(lea)o(v)o(es.)29 b(The)18 +b(macro-call)0 2277 y(form)e(m)o(ust)i(ha)o(v)o(e)g(the)g(same)g(list)f +(structure.)33 b(F)m(or)18 b(example,)g(consider)h(this)f(macro)0 +2329 y(de\014nition:)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 213 237 +213 236 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MA)o(CROS)1179 +b(213)0 295 y Fs(\(defmacro)19 b(halibut)h(\(\(mouth)g(eye1)g(eye2\)) +402 347 y(\(\(fin1)g(length1\))g(\(fin2)g(length2\)\))402 +399 y(tail\))42 450 y(...\))0 537 y Fw(No)o(w)14 b(consider)g(this)g +(macro)f(call:)0 624 y Fs(\(halibut)20 b(\(m)g(\(car)h(eyes\))f(\(cdr)g +(eyes\)\))191 676 y(\(\(f1)g(\(count-scales)e(f1\)\))j(\(f2)f +(\(count-scales)f(f2\)\)\))191 728 y(my-favorite-tai)o(l\))0 +815 y Fw(This)12 b(w)o(ould)f(cause)i(the)f(expansion)g(function)g(to)g +(receiv)o(e)h(the)f(follo)o(wing)e(v)n(alues)h(for)h(its)0 +867 y(parameters:)0 951 y(P)o(arameter)50 b(V)m(alue)p +0 968 609 2 v 0 1017 a Fs(mouth)129 b(m)0 1069 y(eye1)151 +b(\(car)20 b(eyes\))0 1121 y(eye2)151 b(\(cdr)20 b(eyes\))0 +1173 y(fin1)151 b(f1)0 1225 y(length1)85 b(\(count-scales)18 +b(f1\))0 1277 y(fin2)151 b(f2)0 1329 y(length2)85 b(\(count-scales)18 +b(f2\))0 1380 y(tail)151 b(my-favorite-tai)o(l)p 0 1398 +V 0 1462 a Fw(The)16 b(follo)o(wing)c(macro)i(call)g(w)o(ould)h(b)q(e)g +(in)g(error)h(b)q(ecause)h(there)f(w)o(ould)e(b)q(e)i(no)f(argu-)0 +1513 y(men)o(t)e(form)f(to)i(matc)o(h)e(the)j(parameter)f +Fs(length1)p Fw(:)0 1601 y Fs(\(halibut)20 b(\(m)g(\(car)h(eyes\))f +(\(cdr)g(eyes\)\))191 1652 y(\(\(f1\))g(\(f2)g(\(count-scales)f +(f2\)\)\))191 1704 y(my-favorite-tai)o(l\))0 1791 y Fw(The)d(follo)o +(wing)c(macro)i(call)g(w)o(ould)g(b)q(e)i(in)f(error)h(b)q(ecause)h(a)d +(sym)o(b)q(ol)g(app)q(ears)h(in)g(the)0 1843 y(call)e(where)i(the)g +(structure)h(of)d(the)h(lam)o(b)q(da-list)d(requires)16 +b(a)d(list.)0 1930 y Fs(\(halibut)20 b(my-favorite-hea)o(d)191 +1982 y(\(\(f1)g(\(count-scales)e(f1\)\))j(\(f2)f(\(count-scales)f +(f2\)\)\))191 2034 y(my-favorite-tai)o(l\))0 2121 y Fw(The)d(fact)g +(that)g(the)g(v)n(alue)f(of)g(the)h(v)n(ariable)f Fs(my-favorite-head)d +Fw(migh)o(t)i(happ)q(en)i(to)0 2173 y(b)q(e)i(a)f(list)f(is)h(irrelev)n +(an)o(t)g(here.)29 b(It)18 b(is)f(the)h(macro)d(call)i(itself)g(whose)g +(structure)j(m)o(ust)0 2225 y(matc)o(h)13 b(that)h(of)f(the)h +Fs(defmacro)f Fw(lam)o(b)q(da-li)o(st.)42 2277 y(The)g(use)g(of)f(lam)o +(b)q(da-list)e(k)o(eyw)o(ords)j(adds)g(ev)o(en)g(greater)h +(\015exibilit)o(y)m(.)h(F)m(or)d(example,)0 2329 y(supp)q(ose)i(it)e +(is)g(con)o(v)o(enien)o(t)h(within)f(the)h(expansion)f(function)g(for)h +Fs(halibut)e Fw(to)h(b)q(e)h(able)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 214 238 +214 237 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(214)77 b(COMMON)13 +b(LISP)0 295 y Fw(to)18 b(refer)g(to)g(the)h(list)e(whose)h(comp)q +(onen)o(ts)g(are)g(called)f Fs(mouth)p Fw(,)h Fs(eye1)p +Fw(,)f(and)h Fs(eye2)f Fw(as)0 347 y Fs(head)p Fw(.)g(One)e(ma)o(y)d +(write)i(this:)0 432 y Fs(\(defmacro)19 b(halibut)h(\(\(&whole)g(head)g +(mouth)g(eye1)g(eye2\))402 484 y(\(\(fin1)g(length1\))g(\(fin2)g +(length2\)\))402 536 y(tail\))0 621 y Fw(No)o(w)14 b(consider)g(the)h +(same)e(v)n(alid)f(macro)h(call)g(as)h(b)q(efore:)0 707 +y Fs(\(halibut)20 b(\(m)g(\(car)h(eyes\))f(\(cdr)g(eyes\)\))191 +758 y(\(\(f1)g(\(count-scales)e(f1\)\))j(\(f2)f(\(count-scales)f +(f2\)\)\))191 810 y(my-favorite-tai)o(l\))0 896 y Fw(This)f(w)o(ould)f +(cause)i(the)f(expansion)g(function)f(to)h(receiv)o(e)h(the)g(same)e(v) +n(alues)g(for)h(its)0 948 y(parameters)c(and)g(also)f(a)g(v)n(alue)h +(for)f(the)i(parameter)e Fs(head)p Fw(:)0 1030 y(P)o(arameter)50 +b(V)m(alue)p 0 1047 781 2 v 0 1096 a Fs(head)151 b(\(m)20 +b(\(car)h(eyes\))f(\(cdr)g(eyes\)\))p 0 1113 V 42 1175 +a Fw(The)14 b(stipulation)f(that)h(an)g(em)o(b)q(edded)h(lam)o(b)q +(da-li)o(st)d(is)i(p)q(ermitted)g(only)g(where)h(or-)0 +1227 y(dinary)h(lam)o(b)q(da-list)e(syn)o(tax)i(w)o(ould)g(p)q(ermit)g +(a)g(parameter)h(name)e(but)i(not)f(a)h(list)f(is)0 1279 +y(made)d(to)g(prev)o(en)o(t)i(am)o(biguit)o(y)m(.)g(F)m(or)e(example,)f +(one)j(ma)o(y)d(not)h(write)0 1365 y Fs(\(defmacro)19 +b(loser)h(\(x)h(&optional)f(\(a)g(b)h(&rest)f(c\))h(&rest)f(z\))42 +1417 y(...\))0 1502 y Fw(b)q(ecause)d(ordinary)d(lam)o(b)q(da-list)e +(syn)o(tax)j(do)q(es)g(p)q(ermit)f(a)h(list)f(follo)o(wing)e +Fs(&optional)p Fw(;)0 1554 y(the)19 b(list)f Fs(\(a)i(b)h(&rest)f(c\))e +Fw(w)o(ould)g(b)q(e)g(in)o(terpreted)i(as)f(describing)f(an)g(optional) +f(pa-)0 1606 y(rameter)c(named)f Fs(a)h Fw(whose)h(default)e(v)n(alue)h +(is)g(that)g(of)f(the)i(form)e Fs(b)p Fw(,)g(with)h(a)g(supplied-p)0 +1658 y(parameter)j(named)e Fs(&rest)h Fw(\(not)h(legal\),)f(and)h(an)g +(extraneous)h(sym)o(b)q(ol)d Fs(c)h Fw(in)h(the)g(list)0 +1709 y(\(also)d(not)h(legal\).)j(An)d(almost)e(correct)k(w)o(a)o(y)d +(to)h(express)i(this)e(is)0 1795 y Fs(\(defmacro)19 b(loser)h(\(x)h +(&optional)f(\(\(a)g(b)h(&rest)f(c\)\))h(&rest)f(z\))42 +1847 y(...\))0 1932 y Fw(The)11 b(extra)g(set)h(of)e(paren)o(theses)i +(remo)o(v)o(es)f(the)g(am)o(biguit)o(y)l(.)j(Ho)o(w)o(ev)o(er,)d(the)h +(de\014nition)e(is)0 1984 y(no)o(w)15 b(incorrect)i(b)q(ecause)g(a)e +(macro)f(call)h(suc)o(h)h(as)g Fs(\(loser)k(\(car)g(pool\)\))14 +b Fw(w)o(ould)h(not)0 2036 y(pro)o(vide)i(an)o(y)g(argumen)o(t)g(form)e +(for)i(the)h(lam)o(b)q(da-list)d Fs(\(a)21 b(b)g(&rest)f(c\))p +Fw(,)d(and)h(so)f(the)0 2088 y(default)f(v)n(alue)f(against)h(whic)o(h) +g(to)g(matc)o(h)f(the)h(lam)o(b)q(da-list)e(w)o(ould)h(b)q(e)i +Fs(nil)e Fw(b)q(ecause)0 2140 y(no)k(explicit)f(default)h(v)n(alue)f(w) +o(as)h(sp)q(eci\014ed.)34 b(This)19 b(is)g(in)f(error)i(b)q(ecause)h +Fs(nil)d Fw(is)h(an)0 2191 y(empt)o(y)e(list;)h(it)f(do)q(es)i(not)e +(ha)o(v)o(e)h(forms)e(to)h(satisfy)h(the)g(parameters)g +Fs(a)f Fw(and)g Fs(b)p Fw(.)29 b(The)0 2243 y(fully)13 +b(correct)i(de\014nition)f(w)o(ould)f(b)q(e)h(either)0 +2329 y Fs(\(defmacro)19 b(loser)h(\(x)h(&optional)f(\(\(a)g(b)h(&rest)f +(c\))952 2333 y Fn(')975 2329 y Fs(\(nil)g(nil\)\))h(&rest)f(z\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 215 239 +215 238 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MA)o(CROS)1179 +b(215)42 295 y Fs(...\))0 379 y Fw(or)0 463 y Fs(\(defmacro)19 +b(loser)h(\(x)h(&optional)f(\(\(&optional)e(a)j(b)g(&rest)f(c\)\))h +(&rest)f(z\))42 515 y(...\))0 598 y Fw(These)13 b(di\013er)g(sligh)o +(tly:)j(the)c(\014rst)h(requires)g(that)f(if)g(the)g(macro)f(call)g(sp) +q(eci\014es)j Fs(a)e Fw(explic-)0 650 y(itly)j(then)h(it)g(m)o(ust)e +(also)h(sp)q(ecify)i Fs(b)e Fw(explicitly)m(,)g(whereas)i(the)f(second) +h(do)q(es)f(not)g(ha)o(v)o(e)0 702 y(this)e(requiremen)o(t.)k(F)m(or)13 +b(example,)0 786 y Fs(\(loser)20 b(\(car)g(pool\))g(\(\(+)h(x)g +(1\)\)\))0 870 y Fw(w)o(ould)13 b(b)q(e)i(a)e(v)n(alid)f(call)i(for)f +(the)i(second)g(de\014nition)e(but)h(not)g(for)g(the)g(\014rst.)0 +1012 y Fo(8.2.)20 b(Macro)c(Expansion)0 1094 y Fw(The)f +Fs(macroexpand)d Fw(function)i(is)g(the)h(con)o(v)o(en)o(tional)e +(means)h(for)g(expanding)g(a)g(macro)0 1146 y(call.)j(A)c(ho)q(ok)g(is) +g(pro)o(vided)g(for)g(a)g(user)h(function)f(to)g(gain)f(con)o(trol)h +(during)g(the)h(expan-)0 1198 y(sion)g(pro)q(cess.)1209 +1318 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(macroexpand)19 +b Fv(form)24 b Fs(&optional)19 b Fv(env)1209 1370 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(macroexpand-1)18 b Fv(form)24 +b Fs(&optional)c Fv(env)0 1447 y Fw(If)13 b Fv(form)g +Fw(is)h(a)g(macro)e(call,)h(then)h Fs(macroexpand-1)d +Fw(will)h(expand)i(the)h(macro)d(call)h Fv(onc)n(e)0 +1499 y Fw(and)g(return)h(t)o(w)o(o)f(v)n(alues:)k(the)d(expansion)e +(and)h Fs(t)p Fw(.)18 b(If)12 b Fv(form)h Fw(is)g(not)g(a)f(macro)g +(call,)g(then)0 1550 y(the)i(t)o(w)o(o)g(v)n(alues)g +Fv(form)f Fw(and)g Fs(nil)h Fw(are)g(returned.)42 1602 +y(A)j Fv(form)g Fw(is)g(considered)i(to)f(b)q(e)g(a)f(macro)f(call)h +(only)g(if)g(it)g(is)g(a)g(cons)i(whose)f Fv(c)n(ar)f +Fw(is)0 1654 y(a)e(sym)o(b)q(ol)f(that)i(names)f(a)g(macro.)22 +b(The)16 b(en)o(vironmen)o(t)f Fv(env)h Fw(is)f(similar)f(to)h(that)h +(used)0 1706 y(within)f(the)h(ev)n(aluator)e(\(see)j +Fs(evalhook)p Fw(\);)d(it)h(defaults)g(to)g(a)g(n)o(ull)g(en)o +(vironmen)o(t.)21 b(An)o(y)0 1758 y(lo)q(cal)10 b(macro)g +(de\014nitions)h(established)h(within)e Fv(env)i Fw(b)o(y)f +Fs(macrolet)e Fw(will)h(b)q(e)i(considered.)0 1810 y(If)20 +b(only)g Fv(form)g Fw(is)g(giv)o(en)g(as)g(an)h(argumen)o(t,)f(then)h +(the)g(en)o(vironmen)o(t)f(is)g(e\013ectiv)o(ely)0 1862 +y(n)o(ull,)15 b(and)g(only)g(global)f(macro)g(de\014nitions)i(\(as)f +(established)i(b)o(y)e Fs(defmacro)p Fw(\))f(will)g(b)q(e)0 +1914 y(considered.)42 1966 y(Macro)f(expansion)g(is)f(carried)i(out)f +(as)g(follo)o(ws.)j(Once)e Fs(macroexpand-1)c Fw(has)k(deter-)0 +2017 y(mined)i(that)h(a)g(sym)o(b)q(ol)f(names)g(a)h(macro,)g(it)g +(obtains)g(the)h(expansion)f(function)g(for)0 2069 y(that)d(macro.)j +(The)d(v)n(alue)f(of)g(the)i(v)n(ariable)e Fs(*macroexpand-hoo)o(k*)e +Fw(is)j(then)g(called)g(as)0 2121 y(a)f(function)h(of)f(three)i +(argumen)o(ts:)i(the)d(expansion)g(function,)f(the)h +Fv(form)p Fw(,)f(and)g(the)h(en-)0 2173 y(vironmen)o(t)d +Fv(env)p Fw(.)17 b(The)c(v)n(alue)e(returned)j(from)c(this)i(call)f(is) +h(tak)o(en)g(to)g(b)q(e)g(the)h(expansion)0 2225 y(of)h(the)h(macro)e +(call.)19 b(The)c(initial)d(v)n(alue)i(of)f Fs(*macroexpand-hook*)e +Fw(is)j Fs(funcall)p Fw(,)f(and)0 2277 y(the)j(net)h(e\013ect)g(is)f +(to)f(in)o(v)o(ok)o(e)g(the)h(expansion)g(function,)f(giving)g(it)g +Fv(form)g Fw(and)g Fv(env)i Fw(as)0 2329 y(its)d(t)o(w)o(o)f(argumen)o +(ts.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 216 240 +216 239 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(216)77 b(COMMON)13 +b(LISP)42 295 y Fw(X3J13)f(v)o(oted)i(in)e(June)i(1988)f +Ft(h)p Fw(90)p Ft(i)g Fw(to)g(sp)q(ecify)g(that)h(the)f(v)n(alue)g(of)f +Fs(*macroexpand-)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(hook*)f Fw(is)i(\014rst)g(co)q(erced)h(to)e(a)g +(function)g(b)q(efore)i(b)q(eing)e(called)g(as)g(the)h(expansion)g(in)o +(ter-)0 399 y(face)h(ho)q(ok.)j(Therefore)e(its)f(v)n(alue)e(ma)o(y)g +(b)q(e)i(a)f(sym)o(b)q(ol,)f(a)h(lam)o(b)q(da-expression,)f(or)h(an)o +(y)0 450 y(ob)r(ject)i(of)e(t)o(yp)q(e)h Fs(function)p +Fw(.)-33 462 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 503 a(X3J13)i(v)o(oted)g(in)h(Marc)o(h)g(1989)e +Ft(h)p Fw(117)p Ft(i)h Fw(to)h(sp)q(ecify)g(that)f(macro)g(en)o +(vironmen)o(t)f(ob-)-33 474 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 555 a(jects)g(receiv)o(ed)g(b)o(y)f(a)f +Fs(*macroexpand-hook*)e Fw(function)i(ha)o(v)o(e)h(only)f(dynamic)f +(exten)o(t.)0 606 y(The)h(consequences)i(are)d(unde\014ned)i(if)d(suc)o +(h)i(ob)r(jects)g(are)g(referred)h(to)e(outside)g(the)h(dy-)0 +658 y(namic)g(exten)o(t)j(of)e(that)h(particular)g(in)o(v)o(o)q(cation) +e(of)i(the)g(ho)q(ok)g(function.)20 b(This)15 b(allo)o(ws)0 +710 y(implemen)o(tatio)o(ns)f(to)j(use)g(somewhat)f(more)f(e\016cien)o +(t)i(tec)o(hniques)h(for)e(represen)o(ting)0 762 y(en)o(vironmen)o(t)d +(ob)r(jects.)-33 774 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 814 a(\(The)f(purp)q(ose)h(of)f Fs(*macroexpand-hoo)o +(k*)d Fw(is)j(to)g(facilitate)e(v)n(arious)i(tec)o(hniques)h(for)-38 +789 y Fk(.)-38 802 y(.)-38 815 y(.)-38 828 y(.)-38 841 +y(.)-38 854 y(.)-38 867 y(.)-38 880 y(.)-38 893 y(.)-38 +906 y(.)-38 919 y(.)-38 932 y(.)-38 945 y(.)-38 958 y(.)-38 +971 y(.)-38 984 y(.)-38 997 y(.)-38 1010 y(.)-38 1023 +y(.)-38 1036 y(.)-38 1049 y(.)-38 1062 y(.)-38 1075 y(.)-38 +1088 y(.)-38 1101 y(.)-38 1114 y(.)-38 1127 y(.)-38 1140 +y(.)-38 1153 y(.)-38 1166 y(.)-38 1179 y(.)-38 1192 y(.)-38 +1205 y(.)-38 1218 y(.)-38 1230 y(.)-38 1243 y(.)-38 1256 +y(.)-38 1269 y(.)-38 1282 y(.)-38 1295 y(.)-38 1308 y(.)-38 +1321 y(.)-38 1334 y(.)-38 1347 y(.)-38 1360 y(.)-38 1373 +y(.)-38 1386 y(.)-38 1399 y(.)-38 1412 y(.)-38 1425 y(.)-38 +1438 y(.)-38 1451 y(.)-38 1464 y(.)-38 1477 y(.)-38 1490 +y(.)-38 1503 y(.)-38 1516 y(.)-38 1529 y(.)-38 1542 y(.)-38 +1555 y(.)-38 1568 y(.)-38 1581 y(.)-38 1594 y(.)-38 1607 +y(.)-38 1620 y(.)-38 1633 y(.)-38 1646 y(.)-38 1659 y(.)-38 +1672 y(.)-38 1685 y(.)-38 1697 y(.)-38 1710 y(.)-38 1723 +y(.)-38 1736 y(.)-38 1749 y(.)-38 1762 y(.)-38 1775 y(.)-38 +1788 y(.)-38 1801 y(.)-38 1814 y(.)-38 1827 y(.)-38 1840 +y(.)-38 1853 y(.)-38 1866 y(.)-38 1879 y(.)-38 1892 y(.)-38 +1905 y(.)-38 1918 y(.)-38 1931 y(.)-38 1944 y(.)-38 1957 +y(.)-38 1970 y(.)-38 1983 y(.)-38 1996 y(.)-38 2009 y(.)-38 +2022 y(.)-38 2035 y(.)-38 2048 y(.)-38 2061 y(.)-38 2074 +y(.)-38 2087 y(.)-38 2100 y(.)-38 2113 y(.)-38 2126 y(.)-38 +2139 y(.)-38 2152 y(.)-38 2164 y(.)-38 2177 y(.)-38 2190 +y(.)-38 2203 y(.)-38 2216 y(.)-38 2229 y(.)-38 2242 y(.)-38 +2255 y(.)-38 2268 y(.)-38 2281 y(.)-38 2294 y(.)-38 2307 +y(.)-38 2320 y(.)-38 2333 y(.)-38 2346 y(.)-38 2359 y(.)-38 +2372 y(.)-38 2385 y(.)-38 2398 y(.)-38 2411 y(.)-38 2424 +y(.)-38 2437 y(.)-38 2450 y(.)-38 2463 y(.)-38 2476 y(.)-38 +2489 y(.)-38 2502 y(.)-38 2515 y(.)-38 2528 y(.)-38 2541 +y(.)-38 2554 y(.)-38 2567 y(.)-38 2580 y(.)-38 2593 y(.)-38 +2606 y(.)-38 2619 y(.)-38 2631 y(.)-38 2644 y(.)-38 2657 +y(.)-38 2670 y(.)-38 2683 y(.)-38 2696 y(.)-38 2709 y(.)-38 +2722 y(.)-38 2735 y(.)-38 2748 y(.)-38 2761 y(.)-38 2774 +y(.)-38 2787 y(.)-38 2800 y(.)-38 2813 y(.)-38 2826 y(.)-38 +2839 y(.)-38 2852 y(.)-38 2865 y(.)-38 2878 y(.)-38 2891 +y(.)-38 2904 y(.)-38 2917 y(.)-38 2930 y(.)-38 2943 y(.)-38 +2956 y(.)-38 2969 y(.)-38 2982 y(.)-38 2995 y(.)-38 3008 +y(.)-38 3021 y(.)-38 3034 y(.)-38 3047 y(.)-38 3060 y(.)-38 +3073 y(.)-38 3086 y(.)-38 3098 y(.)-38 3111 y(.)-38 3124 +y(.)-38 3137 y(.)-38 3150 y(.)-38 3163 y(.)-38 3176 y(.)-38 +3189 y(.)-38 3202 y(.)-38 3215 y(.)-38 3228 y(.)-38 3241 +y(.)-38 3254 y(.)-38 3267 y(.)-38 3280 y(.)-38 3293 y(.)-38 +3306 y(.)-38 3319 y(.)-38 3332 y(.)-38 3345 y(.)-38 3358 +y(.)-38 3371 y(.)0 866 y Fw(impro)o(ving)e(in)o(terpretation)j(sp)q +(eed)i(b)o(y)d(cac)o(hing)h(macro)f(expansions.\))-33 +878 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 919 a(X3J13)e(v)o(oted)h(in)f(June)h(1989)f +Ft(h)p Fw(116)p Ft(i)g Fw(to)h(clarify)f(that,)g(while)g +Fs(*macroexpand-hook*)-33 890 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 971 a Fw(ma)o(y)f(b)q(e)j(useful)f(for)g(debugging)g +(purp)q(oses,)h(despite)h(the)e(original)f(design)h(in)o(ten)o(t)g +(there)0 1022 y(is)i(curren)o(tly)h(no)e(correct)j(p)q(ortable)e(w)o(a) +o(y)f(to)h(use)g(it)g(for)f(cac)o(hing)h(macro)f(expansions.)0 +1087 y Fu(.)42 1096 y Fw(Cac)o(hing)g(b)o(y)h(displacemen)o(t)f(\(p)q +(erforming)f(a)i(side)h(e\013ect)g(on)f(the)g(macro-call)e(form\))42 +1148 y(w)o(on't)h(w)o(ork)i(b)q(ecause)h(the)f(same)f(\()p +Fs(eq)p Fw(\))g(macro-call)f(form)g(ma)o(y)f(app)q(ear)j(in)f(distinct) +42 1200 y(lexical)f(con)o(texts.)21 b(In)14 b(addition,)f(the)i +(macro-call)d(form)h(ma)o(y)g(b)q(e)i(a)f(read-only)g(con-)42 +1252 y(stan)o(t)g(\(see)h Fs(quote)e Fw(and)g(also)h(section)g(25.1\).) +0 1329 y Fu(.)42 1338 y Fw(Cac)o(hing)e(b)o(y)g(table)h(lo)q(okup)e(w)o +(on't)h(w)o(ork)h(b)q(ecause)h(suc)o(h)f(a)g(table)f(w)o(ould)g(ha)o(v) +o(e)h(to)f(b)q(e)42 1390 y(k)o(ey)o(ed)i(b)o(y)g(b)q(oth)h(the)g +(macro-call)d(form)h(and)h(the)h(en)o(vironmen)o(t,)e(but)i(X3J13)f(v)o +(oted)42 1442 y(in)g(Marc)o(h)i(1989)e Ft(h)p Fw(117)p +Ft(i)g Fw(to)h(p)q(ermit)g(macro)f(en)o(vironmen)o(ts)g(to)h(ha)o(v)o +(e)g(only)f(dynamic)42 1494 y(exten)o(t.)0 1571 y Fu(.)42 +1580 y Fw(Cac)o(hing)9 b(b)o(y)h(storing)g(macro-call)e(forms)g(and)i +(expansions)h(within)e(the)i(en)o(vironmen)o(t)42 1632 +y(ob)r(ject)17 b(itself)f(w)o(ould)f(w)o(ork,)h(but)h(there)g(are)g(no) +f(p)q(ortable)h(primitiv)o(es)d(that)j(w)o(ould)42 1684 +y(allo)o(w)12 b(users)j(to)f(do)f(this.)0 1758 y(X3J13)f(also)g(noted)g +(that,)g(although)g(there)h(seems)g(to)f(b)q(e)h(no)f(correct)i(p)q +(ortable)e(w)o(a)o(y)g(to)0 1809 y(use)h Fs(*macroexpand-hook*)c +Fw(to)j(cac)o(he)h(macro)e(expansions,)i(there)g(is)g(no)f(requiremen)o +(t)0 1861 y(that)g(an)g(implem)o(en)o(tation)d(call)i(the)i(macro)d +(expansion)i(function)g(more)f(than)g(once)i(for)0 1913 +y(a)h(giv)o(en)f(form)f(and)i(lexical)f(en)o(vironmen)o(t.)-33 +1925 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1966 a(X3J13)h(v)o(oted)g(in)g(Marc)o(h)h(1989)e +Ft(h)p Fw(173)p Ft(i)h Fw(to)g(sp)q(ecify)h(that)g Fs(macroexpand-1)c +Fw(will)i(also)-33 1937 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2017 a(expand)k(sym)o(b)q(ol)f(macros)g(de\014ned)i(b)o +(y)f Fs(symbol-macrolet)p Fw(;)e(therefore)j(a)f Fv(form)g +Fw(ma)o(y)0 2069 y(also)11 b(b)q(e)i(a)f(macro)e(call)h(if)h(it)f(is)h +(a)g(sym)o(b)q(ol.)j(The)e(v)o(ote)f(did)f(not)h(address)h(the)g(in)o +(teraction)0 2121 y(of)k(this)h(feature)h(with)f(the)g +Fs(*macroexpand-hook*)c Fw(function.)30 b(An)19 b(ob)o(vious)e(imple-)0 +2173 y(men)o(tation)10 b(c)o(hoice)i(is)g(that)f(the)i(ho)q(ok)e +(function)g(is)h(indeed)g(called)f(and)h(giv)o(en)f(a)g(sp)q(ecial)0 +2225 y(expansion)16 b(function)f(that,)g(when)i(applied)e(to)g(the)h +Fv(form)f Fw(\(a)h(sym)o(b)q(ol\))e(and)h Fv(env)p Fw(,)h(will)0 +2277 y(pro)q(duce)j(the)g(expansion,)g(just)f(as)g(for)g(an)g(ordinary) +f(macro;)i(but)f(this)g(is)g(only)f(m)o(y)0 2329 y(suggestion.)-33 +2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 217 241 +217 240 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MA)o(CROS)1179 +b(217)42 295 y Fw(The)12 b(ev)n(aluator)f(expands)h(macro)f(calls)h(as) +g(if)f(through)g(the)i(use)g(of)e Fs(macroexpand-1)p +Fw(;)0 347 y(the)j(p)q(oin)o(t)g(is)g(that)g Fs(eval)f +Fw(also)g(uses)i Fs(*macroexpand-hook)o(*)p Fw(.)42 399 +y Fs(macroexpand)h Fw(is)i(similar)e(to)i Fs(macroexpand-1)p +Fw(,)e(but)j(rep)q(eatedly)g(expands)g Fv(form)0 450 +y Fw(un)o(til)j(it)g(is)h(no)f(longer)h(a)f(macro)f(call.)44 +b(\(In)23 b(e\013ect,)j Fs(macroexpand)20 b Fw(simply)h(calls)0 +502 y Fs(macroexpand-1)15 b Fw(rep)q(eatedly)20 b(un)o(til)d(the)h +(second)i(v)n(alue)d(returned)j(is)e Fs(nil)p Fw(.\))30 +b(A)18 b(sec-)0 554 y(ond)d(v)n(alue)g(of)g Fs(t)h Fw(or)f +Fs(nil)g Fw(is)h(returned)h(as)f(for)f Fs(macroexpand-1)p +Fw(,)e(indicating)h(whether)0 606 y(the)g(original)f +Fv(form)g Fw(w)o(as)h(a)f(macro)g(call.)1219 737 y([)p +Fv(V)m(ariable)s Fw(])-1396 b Fs(*macroexpand-hook)o(*)0 +813 y Fw(The)13 b(v)n(alue)f(of)f Fs(*macroexpand-hook*)e +Fw(is)j(used)h(as)g(the)g(expansion)f(in)o(terface)h(ho)q(ok)f(b)o(y)0 +865 y Fs(macroexpand-1)p Fw(.)0 1018 y Fo(8.3.)20 b(Destructuring)-33 +984 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1104 a Fw(X3J13)25 b(v)o(oted)h(in)g(Marc)o(h)g(1989)f +Ft(h)p Fw(64)p Ft(i)g Fw(to)h(mak)o(e)e(the)i(destructuring)i(feature)e +(of)0 1156 y Fs(defmacro)12 b Fw(a)o(v)n(ailable)g(as)i(a)f(separate)i +(facilit)o(y)m(.)-33 1258 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 1286 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(destructuring-bin)o(d)32 b Fv(lamb)n(da-list)14 +b(expr)n(ession)22 b Ft(f)p Fv(de)n(clar)n(ation)p Ft(g)1082 +1271 y Fl(\003)1129 1286 y Ft(f)7 b Fv(form)p Ft(g)1264 +1271 y Fl(\003)0 1363 y Fw(This)16 b(macro)f(binds)h(the)h(v)n +(ariables)e(sp)q(eci\014ed)i(in)f Fv(lamb)n(da-list)f +Fw(to)h(the)h(corresp)q(onding)0 1415 y(v)n(alues)i(in)g(the)i(tree)g +(structure)g(resulting)f(from)e(ev)n(aluating)g(the)i +Fv(expr)n(ession)p Fw(,)h(then)0 1467 y(executes)16 b(the)f +Fv(form)s Fw(s)e(as)h(an)g(implicit)d Fs(progn)p Fw(.)42 +1519 y(A)j Fs(destructuring-bin)o(d)d Fv(lamb)n(da-list)j +Fw(ma)o(y)e(con)o(tain)i(the)h(lam)o(b)q(da-list)c(k)o(eyw)o(ords)0 +1571 y Fs(&optional)p Fw(,)h Fs(&rest)p Fw(,)h Fs(&key)p +Fw(,)g Fs(&allow-other-ke)o(ys)p Fw(,)e(and)j Fs(&aux)p +Fw(;)f Fs(&body)g Fw(and)h Fs(&whole)0 1623 y Fw(ma)o(y)i(also)h(b)q(e) +i(used)f(as)g(they)g(are)h(in)e Fs(defmacro)p Fw(,)g(but)h +Fs(&environment)d Fw(ma)o(y)h Fv(not)i Fw(b)q(e)0 1675 +y(used.)33 b(Nested)20 b(and)e(dotted)h(lam)o(b)q(da-lists)d(are)j +(also)f(p)q(ermitted)g(as)h(for)f Fs(defmacro)p Fw(.)0 +1727 y(The)e(idea)g(is)f(that)h(a)f Fs(destructuring-bind)d +Fv(lamb)n(da-list)j Fw(has)h(the)g(same)f(format)f(as)0 +1779 y(inner)g(lev)o(els)g(of)f(a)h Fs(defmacro)e Fw(lam)o(b)q +(da-list.)42 1830 y(If)h(the)i(result)f(of)f(ev)n(aluating)g(the)h +Fv(expr)n(ession)h Fw(do)q(es)f(not)g(matc)o(h)f(the)h(destructuring)0 +1882 y(pattern,)g(an)g(error)h(should)e(b)q(e)i(signaled.)-33 +1894 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2035 a Fo(8.4.)20 b(Compiler)13 b(Macros)-33 +2001 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2121 a Fw(X3J13)h(v)o(oted)g(in)f(June)i(1989)e +Ft(h)p Fw(49)p Ft(i)h Fw(to)f(add)h(a)g(facilit)o(y)e(for)i(de\014ning) +g Fv(c)n(ompiler)g(macr)n(os)0 2173 y Fw(that)g(tak)o(e)g(e\013ect)h +(only)f(when)g(compiling)d(co)q(de,)j(not)g(when)g(in)o(terpreting)h +(it.)42 2225 y(The)h(purp)q(ose)h(of)e(this)h(facilit)o(y)f(is)g(to)h +(p)q(ermit)f(selectiv)o(e)i(source-co)q(de)h(transforma-)0 +2277 y(tions)f(only)e(when)j(the)f(compiler)e(is)i(pro)q(cessing)h(the) +f(co)q(de.)27 b(When)17 b(the)h(compiler)d(is)0 2329 +y(ab)q(out)g(to)g(compile)f(a)h(non-atomic)e(form,)g(it)i(\014rst)h +(calls)f Fs(compiler-macroexpan)o(d-1)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 218 242 +218 241 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(218)77 b(COMMON)13 +b(LISP)0 295 y Fw(rep)q(eatedly)i(un)o(til)d(there)j(is)e(no)g(more)f +(expansion)i(\(there)g(migh)o(t)e(not)h(b)q(e)h(an)o(y)f(to)g(b)q(egin) +0 347 y(with\).)19 b(Then)14 b(it)g(con)o(tin)o(ues)h(its)f(remaining)e +(pro)q(cessing,)j(whic)o(h)f(ma)o(y)e(include)i(calling)0 +399 y Fs(macroexpand-1)d Fw(and)j(so)g(on.)42 451 y(The)21 +b(compiler)f(is)h(required)h(to)f(expand)h(compiler)e(macros.)39 +b(It)21 b(is)g(unsp)q(eci\014ed)0 502 y(whether)16 b(the)f(in)o +(terpreter)h(do)q(es)g(so.)k(The)14 b(in)o(ten)o(tion)g(is)h(that)f +(only)g(the)h(compiler)e(will)0 554 y(do)k(so,)i(but)f(the)g(range)g +(of)f(p)q(ossible)h(\\compiled-only")c(implemen)o(tation)h(strategies)0 +606 y(precludes)h(an)o(y)d(\014rm)g(sp)q(eci\014cation.)-33 +713 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 742 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(define-compiler-m)o(acro)32 b Fv(name)15 b(lamb)n(da-list)486 +793 y Ft(f)p Fv(de)n(clar)n(ation)f Ft(j)h Fv(do)n(c-string)p +Ft(g)944 778 y Fl(\003)991 793 y Ft(f)7 b Fv(form)p Ft(g)1126 +778 y Fl(\003)0 870 y Fw(This)17 b(is)f(just)h(lik)o(e)f +Fs(defmacro)f Fw(except)j(the)g(de\014nition)e(is)h(not)f(stored)i(in)e +(the)i(sym)o(b)q(ol)0 922 y(function)13 b(cell)h(of)f +Fv(name)h Fw(and)g(is)f(not)h(seen)g(b)o(y)g Fs(macroexpand-1)p +Fw(.)h(It)f(is,)f(ho)o(w)o(ev)o(er,)g(seen)0 974 y(b)o(y)d +Fs(compiler-macroexp)o(and-1)o Fw(.)k(As)d(with)f Fs(defmacro)p +Fw(,)e(the)j Fv(lamb)n(da-list)e Fw(ma)o(y)g(include)0 +1026 y Fs(&environment)j Fw(and)j Fs(&whole)e Fw(and)i(ma)o(y)e +(include)i(destructuring.)22 b(The)15 b(de\014nition)g(is)0 +1078 y(global.)22 b(\(There)17 b(is)e(no)h(pro)o(vision)e(for)i +(de\014ning)f(lo)q(cal)g(compiler)f(macros)h(in)g(the)h(w)o(a)o(y)0 +1130 y(that)e Fs(macrolet)e Fw(de\014nes)j(lo)q(cal)e(macros.\))42 +1182 y(A)20 b(top-lev)o(el)f(call)g(to)h Fs(define-compiler-m)o(acro)d +Fw(in)i(a)h(\014le)g(b)q(eing)g(compiled)e(b)o(y)0 1234 +y Fs(compile-file)9 b Fw(has)j(an)f(e\013ect)i(on)e(the)h(compilation)d +(en)o(vironmen)o(t)h(similar)f(to)j(that)f(of)0 1286 +y(a)h(call)f(to)h Fs(defmacro)p Fw(,)e(except)j(it)f(is)f(noticed)i(as) +f(a)f(compiler)g(macro)f(\(see)k(section)e(25.1\).)42 +1338 y(Note)22 b(that)f(compiler)g(macro)f(de\014nitions)i(do)f(not)h +(app)q(ear)g(in)f(information)e(re-)0 1390 y(turned)12 +b(b)o(y)f Fs(function-informat)o(ion)p Fw(;)d(they)k(are)f(global,)f +(and)h(their)g(in)o(teraction)g(with)0 1442 y(other)h(lexical)f(and)g +(global)f(de\014nitions)h(can)h(b)q(e)g(reconstructed)j(b)o(y)c +Fs(compiler-macro-)0 1493 y(function)p Fw(.)30 b(It)19 +b(is)f(up)h(to)f(co)q(de-w)o(alking)g(programs)f(to)i(decide)g(whether) +h(to)f(in)o(v)o(ok)o(e)0 1545 y(compiler)12 b(macro)h(expansion.)42 +1597 y(X3J13)h(v)o(oted)h(in)f(Marc)o(h)h(1988)f Ft(h)p +Fw(78)p Ft(i)g Fw(to)h(sp)q(ecify)g(that)g(the)g(b)q(o)q(dy)g(of)f(the) +i(expander)-33 1569 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1649 a(function)9 b(de\014ned)i(b)o(y)f +Fs(defmacro)e Fw(is)i(implicitly)c(enclosed)11 b(in)e(a)h +Fs(block)f Fw(construct)i(whose)0 1701 y(name)i(is)h(the)h(same)f(as)g +(the)h Fv(name)g Fw(of)f(the)h(de\014ned)g(macro;)e(presumably)h(this)g +(applies)0 1753 y(also)c(to)g Fs(define-compiler-ma)o(cro)p +Fw(.)k(Therefore)d Fs(return-from)e Fw(ma)o(y)f(b)q(e)j(used)g(to)g +(exit)0 1805 y(from)h(the)j(function.)-33 1817 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1209 1940 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(compiler-macro-fu)o(nctio)o(n)18 b Fv(name)25 b +Fs(&optional)20 b Fv(env)0 2017 y Fw(The)13 b Fv(name)f +Fw(m)o(ust)g(b)q(e)h(a)f(sym)o(b)q(ol.)j(If)d(it)g(has)g(b)q(een)i +(de\014ned)f(as)f(a)g(compiler)f(macro,)g(then)0 2069 +y Fs(compiler-macro-fu)o(nctio)o(n)g Fw(returns)16 b(the)f(macro)e +(expansion)h(function;)g(otherwise)0 2121 y(it)c(returns)j +Fs(nil)p Fw(.)j(The)11 b(lexical)f(en)o(vironmen)o(t)g +Fv(env)h Fw(ma)o(y)e(o)o(v)o(erride)i(an)o(y)f(global)f(de\014nition)0 +2173 y(for)i Fv(name)h Fw(b)o(y)f(de\014ning)g(a)g(lo)q(cal)f(function) +h(or)g(lo)q(cal)g(macro)f(\(suc)o(h)i(as)f(b)o(y)g Fs(flet)p +Fw(,)f Fs(labels)p Fw(,)0 2225 y(or)k Fs(macrolet)p Fw(\))e(in)i(whic)o +(h)f(case)i Fs(nil)e Fw(is)h(returned.)42 2277 y Fs(setf)e +Fw(ma)o(y)f(b)q(e)i(used)h(with)f Fs(compiler-macro-fun)o(ction)c +Fw(to)k(install)f(a)h(function)g(as)0 2329 y(the)i(expansion)f +(function)g(for)g(the)h(compiler)e(macro)g Fv(name)p +Fw(,)i(in)f(the)h(same)e(manner)h(as)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 219 243 +219 242 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MA)o(CROS)1179 +b(219)0 295 y Fw(for)18 b Fs(macro-function)p Fw(.)28 +b(Storing)18 b(the)h(v)n(alue)e Fs(nil)h Fw(remo)o(v)o(es)f(an)o(y)h +(existing)g(compiler)0 347 y(macro)c(de\014nition.)20 +b(As)15 b(with)g Fs(macro-function)p Fw(,)c(a)k(non-)p +Fs(nil)e Fw(stored)j(v)n(alue)e(m)o(ust)g(b)q(e)0 399 +y(a)f(function)g(of)f(t)o(w)o(o)h(argumen)o(ts,)f(the)h(en)o(tire)h +(macro)e(call)g(and)h(the)h(en)o(vironmen)o(t.)i(The)0 +450 y(second)h(argumen)o(t)e(to)g Fs(compiler-macro-func)o(tion)d +Fw(m)o(ust)j(b)q(e)i(omitted)d(when)i(it)g(is)0 502 y(used)f(with)e +Fs(setf)p Fw(.)1209 642 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(compiler-macroexp)o(and)18 b Fv(form)24 b Fs(&optional)19 +b Fv(env)1209 694 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(compiler-macroexp)o(and-1)18 b Fv(form)23 b Fs(&optional)d +Fv(env)0 771 y Fw(These)i(are)f(just)g(lik)o(e)g Fs(macroexpand)d +Fw(and)j Fs(macroexpand-1)d Fw(except)k(that)f(the)h(ex-)0 +823 y(pander)g(function)e(is)h(obtained)g(as)g(if)g(b)o(y)g(a)f(call)h +(to)g Fs(compiler-macro-)o(funct)o(ion)0 875 y Fw(on)g(the)i +Fv(c)n(ar)e Fw(of)g(the)h Fv(form)f Fw(rather)h(than)g(b)o(y)f(a)h +(call)f(to)g Fs(macro-function)p Fw(.)38 b(Note)0 927 +y(that)22 b Fs(compiler-macroex)o(pand)c Fw(p)q(erforms)k(rep)q(eated)h +(expansion)f(but)g Fs(compiler-)0 978 y(macroexpand-1)14 +b Fw(p)q(erforms)j(at)g(most)e(one)j(expansion.)27 b(Tw)o(o)16 +b(v)n(alues)h(are)g(returned,)0 1030 y(the)d(expansion)f(\(or)g(the)h +(original)d Fv(form)p Fw(\))i(and)f(a)h(v)n(alue)g(that)g(is)g(true)h +(if)e(an)o(y)h(expansion)0 1082 y(o)q(ccurred)j(and)d +Fs(nil)h Fw(otherwise.)42 1134 y(There)h(are)f(three)h(cases)g(where)g +(no)f(expansion)g(happ)q(ens:)0 1197 y Fu(.)42 1206 y +Fw(There)h(is)e(no)h(compiler)e(macro)h(de\014nition)h(for)f(the)i +Fv(c)n(ar)e Fw(of)g Fv(form)p Fw(.)-33 1178 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1282 a Fu(.)42 1290 y Fw(There)h(is)g(suc)o(h)g(a)f +(de\014nition)h(but)g(there)g(is)g(also)f(a)g Fs(notinline)f +Fw(declaration,)h(either)42 1342 y(globally)e(or)j(in)f(the)i(lexical)e +(en)o(vironmen)o(t)g Fv(env)p Fw(.)0 1418 y Fu(.)42 1427 +y Fw(A)e(global)e(compiler)g(macro)h(de\014nition)h(is)g(shado)o(w)o +(ed)g(b)o(y)g(a)f(lo)q(cal)g(function)h(or)g(macro)42 +1478 y(de\014nition)i(\(suc)o(h)i(as)f(b)o(y)f Fs(flet)p +Fw(,)g Fs(labels)p Fw(,)f(or)i Fs(macrolet)p Fw(\).)0 +1550 y(Note)j(that)f(if)f(there)i(is)f(no)g(expansion,)g(the)h +(original)d Fv(form)h Fw(is)h(returned)i(as)e(the)h(\014rst)0 +1602 y(v)n(alue,)c(and)g Fs(nil)h Fw(as)g(the)g(second)h(v)n(alue.)42 +1654 y(An)o(y)h(macro)g(expansion)h(p)q(erformed)f(b)o(y)h(the)g +(function)g Fs(compiler-macroexp)o(and)0 1706 y Fw(or)j(b)o(y)f(the)h +(function)g Fs(compiler-macroex)o(pand-)o(1)d Fw(is)i(carried)i(out)e +(b)o(y)h(calling)e(the)0 1758 y(function)c(that)g(is)f(the)i(v)n(alue)e +(of)g Fs(*macroexpand-hook*)p Fw(.)42 1810 y(A)c(compiler)g(macro)g(ma) +o(y)f(decline)i(to)g(pro)o(vide)f(an)o(y)h(expansion)g(merely)f(b)o(y)g +(returning)0 1862 y(the)20 b(original)d(form.)33 b(This)19 +b(is)g(useful)g(when)h(using)f(the)h(facilit)o(y)e(to)h(put)g +(\\compiler)0 1914 y(optimizers")10 b(on)h(v)n(arious)g(function)g +(names.)16 b(F)m(or)11 b(example,)f(here)i(is)f(a)g(compiler)f(macro)0 +1966 y(that)h(\\optimizes")e(\(one)i(w)o(ould)f(hop)q(e\))h(the)g +(zero-argumen)o(t)f(and)h(one-argumen)o(t)e(cases)0 2018 +y(of)k(a)h(function)f(called)h Fs(plus)p Fw(:)0 2106 +y Fs(\(define-compiler-)o(macro)k(plus)i(\(&whole)g(form)g(&rest)g +(args\))42 2158 y(\(case)g(\(length)g(args\))85 2209 +y(\(0)g(0\))85 2261 y(\(1)g(\(car)h(args\)\))85 2313 +y(\(t)f(form\)\)\))-33 2329 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 15 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 220 244 +220 243 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(220)77 b(COMMON)13 +b(LISP)0 295 y Fo(8.5.)20 b(En)n(vironmen)n(ts)-33 261 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 401 a Fw(X3J13)i(v)o(oted)h(in)f(June)i(1989)d +Ft(h)p Fw(174)p Ft(i)i Fw(to)f(add)g(some)g(facilities)g(for)g +(obtaining)f(in-)0 453 y(formation)c(from)h(en)o(vironmen)o(t)g(ob)r +(jects)j(of)e(the)h(kind)f(receiv)o(ed)i(as)f(argumen)o(ts)f(b)o(y)0 +505 y(macro)11 b(expansion)h(functions,)h Fs(*macroexpand-hoo)o(k*)c +Fw(functions,)k(and)f Fs(*evalhook*)0 556 y Fw(functions.)45 +b(There)24 b(is)f(a)g(minim)o(al)c(set)24 b(of)e(accessors)j(\()p +Fs(variable-informatio)o(n)p Fw(,)0 608 y Fs(function-informat)o(ion)p +Fw(,)10 b(and)k Fs(declaration-inform)o(ation)o Fw(\))e(and)h(a)h +(constructor)0 660 y(\()p Fs(augment-environmen)o(t)p +Fw(\))d(for)j(en)o(vironmen)o(ts.)42 714 y(All)h(of)h(the)h(standard)g +(declaration)f(sp)q(eci\014ers,)j(with)d(the)h(exception)h(of)e +Fs(special)p Fw(,)0 766 y(can)g(b)q(e)h(de\014ned)g(fairly)d(easily)h +(using)h Fs(define-declaratio)o(n)p Fw(.)21 b(It)16 b(also)f(seems)h +(to)g(b)q(e)0 818 y(able)e(to)f(handle)h(most)f(extended)i +(declarations.)42 871 y(The)j(function)g Fs(parse-macro)e +Fw(is)i(pro)o(vided)g(so)g(that)g(users)i(don't)d(ha)o(v)o(e)h(to)g +(write)0 923 y(their)13 b(o)o(wn)g(co)q(de)h(to)f(destructure)i(macro)d +(argumen)o(ts.)17 b(This)c(function)g(is)g(not)g(en)o(tirely)0 +975 y(necessary)h(since)f(X3J13)f(v)o(oted)g(in)f(Marc)o(h)i(1989)e +Ft(h)p Fw(64)p Ft(i)h Fw(to)g(add)f Fs(destructuring-bind)0 +1027 y Fw(to)16 b(the)i(language.)25 b(Ho)o(w)o(ev)o(er,)17 +b Fs(parse-macro)d Fw(is)j(w)o(orth)f(ha)o(ving)g(an)o(yw)o(a)o(y)m(,)f +(since)i(an)o(y)0 1079 y(program-analyzing)12 b(program)h(is)i(going)f +(to)g(need)i(to)f(de\014ne)h(it,)e(and)h(the)h(implem)o(en-)0 +1130 y(tation)c(isn't)h(completely)f(trivial)g(ev)o(en)i(with)e +Fs(destructuring-bind)e Fw(to)j(build)f(up)q(on.)42 1184 +y(The)g(function)f Fs(enclose)f Fw(allo)o(ws)h(expander)h(functions)g +(to)f(b)q(e)i(de\014ned)f(in)g(a)f(non-n)o(ull)0 1236 +y(lexical)17 b(en)o(vironmen)o(t,)g(as)h(required)h(b)o(y)e(the)i(v)o +(ote)f(of)f(X3J13)g(in)h(Marc)o(h)g(1989)e Ft(h)p Fw(50)p +Ft(i)p Fw(.)0 1288 y(It)f(also)f(pro)o(vides)g(a)h(mec)o(hanism)d(b)o +(y)i(whic)o(h)h(a)f(program)f(pro)q(cessing)j(the)f(b)q(o)q(dy)g(of)f +(an)0 1340 y Fs(\(eval-when)19 b(\(:compile-toplevel)o(\))f(...\))9 +b Fw(form)f(can)i(execute)i(it)d(in)g(the)i(enclosing)0 +1392 y(en)o(vironmen)o(t)i(\(see)i(issue)g Ft(h)p Fw(73)p +Ft(i)p Fw(\).)42 1445 y(In)i(all)g(of)h(these)h(functions)f(the)h +(argumen)o(t)d(named)h Fv(env)i Fw(is)f(an)f(en)o(vironmen)o(t)g(ob-)0 +1497 y(ject.)23 b(\(It)15 b(is)g(not)h(required)g(that)f(implemen)o +(tations)d(pro)o(vide)j(a)g(distinguished)g(repre-)0 +1549 y(sen)o(tation)j(for)f(suc)o(h)i(ob)r(jects.\))31 +b(Optional)17 b Fv(env)h Fw(argumen)o(ts)f(default)h(to)f +Fs(nil)p Fw(,)h(whic)o(h)0 1601 y(represen)o(ts)j(the)d(lo)q(cal)f(n)o +(ull)g(lexical)g(en)o(vironmen)o(t)g(\(con)o(taining)g(only)g(global)g +(de\014ni-)0 1653 y(tions)f(and)f(pro)q(clamations)f(that)i(are)h +(presen)o(t)g(in)e(the)i(run-time)e(en)o(vironmen)o(t\).)23 +b(All)0 1704 y(of)16 b(these)h(functions)g(should)f(signal)f(an)h +(error)h(of)f(t)o(yp)q(e)g Fs(type-error)e Fw(if)i(the)h(v)n(alue)e(of) +0 1756 y(an)f(en)o(vironmen)o(t)e(argumen)o(t)h(is)h(not)g(a)f(syn)o +(tactic)i(en)o(vironmen)o(t)e(ob)r(ject.)42 1810 y(The)19 +b(accessor)h(functions)f Fs(variable-informati)o(on)p +Fw(,)d Fs(function-informatio)o(n)p Fw(,)0 1862 y(and)d +Fs(declaration-informa)o(tion)d Fw(retriev)o(e)15 b(information)c(ab)q +(out)i(declarations)h(that)0 1914 y(are)20 b(in)g(e\013ect)h(in)f(the)g +(en)o(vironmen)o(t.)36 b(Since)20 b(implemen)o(tatio)o(ns)e(are)i(p)q +(ermitted)g(to)0 1966 y(ignore)d(declarations)h(\(except)h(for)e +Fs(special)f Fw(declarations)h(and)g Fs(optimize)j(safety)0 +2017 y Fw(declarations)e(if)f(they)h(ev)o(er)h(compile)d(unsafe)i(co)q +(de\),)h(these)h(accessors)g(are)e(required)0 2069 y(only)e(to)g +(return)i(information)13 b(ab)q(out)k(declarations)f(that)h(w)o(ere)g +(explicitly)f(added)h(to)0 2121 y(the)d(en)o(vironmen)o(t)f(using)g +Fs(augment-environme)o(nt)p Fw(.)i(They)f(migh)o(t)d(also)i(return)i +(infor-)0 2173 y(mation)f(ab)q(out)i(declarations)g(recognized)h(and)f +(added)h(to)f(the)g(en)o(vironmen)o(t)f(b)o(y)h(the)0 +2225 y(in)o(terpreter)g(or)f(the)g(compiler,)e(but)i(that)g(is)f(at)g +(the)i(discretion)f(of)f(the)h(implemen)o(tor.)0 2277 +y(Implemen)o(tations)10 b(are)j(also)f(p)q(ermitted)g(to)h +(canonicalize)f(declarations,)h(so)f(the)i(infor-)0 2329 +y(mation)g(returned)19 b(b)o(y)d(the)i(accessors)g(migh)o(t)d(not)i(b)q +(e)g(iden)o(tical)f(to)g(the)i(information)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 221 245 +221 244 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MA)o(CROS)1179 +b(221)0 295 y Fw(that)14 b(w)o(as)g(passed)h(to)e Fs +(augment-environment)o Fw(.)1209 419 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(variable-informat)o(ion)18 b Fv(variable)24 +b Fs(&optional)19 b Fv(env)0 496 y Fw(This)11 b(function)f(returns)i +(information)c(ab)q(out)j(the)g(in)o(terpretation)g(of)f(the)h(sym)o(b) +q(ol)e Fv(vari-)0 548 y(able)14 b Fw(when)g(it)g(app)q(ears)h(as)f(a)f +(v)n(ariable)g(within)g(the)i(lexical)e(en)o(vironmen)o(t)g +Fv(env)p Fw(.)19 b(Three)0 600 y(v)n(alues)14 b(are)g(returned.)42 +652 y(The)k(\014rst)h(v)n(alue)f(indicates)g(the)h(t)o(yp)q(e)g(of)e +(de\014nition)h(or)g(binding)g(for)f Fv(variable)h Fw(in)0 +704 y Fv(env)t Fw(:)0 772 y Fs(nil)283 b Fw(There)15 +b(is)e(no)h(apparen)o(t)g(de\014nition)g(or)g(binding)f(for)g +Fv(variable)p Fw(.)-33 744 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 853 a Fs(:special)173 b Fw(The)13 b Fv(variable)f +Fw(refers)i(to)e(a)g(sp)q(ecial)h(v)n(ariable,)e(either)i(declared)h +(or)349 905 y(pro)q(claimed.)0 986 y Fs(:lexical)173 +b Fw(The)14 b Fv(variable)f Fw(refers)j(to)d(a)h(lexical)f(v)n +(ariable.)0 1067 y Fs(:symbol-macro)63 b Fw(The)14 b +Fv(variable)f Fw(refers)j(to)d(a)h Fs(symbol-macrolet)d +Fw(binding.)0 1148 y Fs(:constant)151 b Fw(Either)15 +b(the)g Fv(variable)f Fw(refers)j(to)d(a)g(named)g(constan)o(t)h +(de\014ned)h(b)o(y)349 1200 y Fs(defconstant)11 b Fw(or)j(the)h +Fv(variable)e Fw(is)h(a)f(k)o(eyw)o(ord)h(sym)o(b)q(ol.)42 +1268 y(The)j(second)h(v)n(alue)e(indicates)h(whether)i(there)f(is)f(a)f +(lo)q(cal)h(binding)f(of)g(the)h(name.)0 1320 y(If)e(the)g(name)f(is)h +(lo)q(cally)f(b)q(ound,)h(the)h(second)g(v)n(alue)e(is)h(true;)h +(otherwise,)g(the)g(second)0 1372 y(v)n(alue)d(is)h Fs(nil)p +Fw(.)42 1424 y(The)g(third)g(v)n(alue)f(is)h(an)g(a-list)f(con)o +(taining)g(information)e(ab)q(out)j(declarations)g(that)0 +1476 y(apply)19 b(to)h(the)g(apparen)o(t)g(binding)f(of)g(the)i +Fv(variable)p Fw(.)35 b(The)20 b(k)o(eys)h(in)e(the)h(a-list)f(are)0 +1528 y(sym)o(b)q(ols)10 b(that)h(name)f(declaration)h(sp)q(eci\014ers,) +i(and)e(the)h(format)d(of)i(the)h(corresp)q(onding)0 +1579 y(v)n(alue)20 b(in)g(the)h Fv(c)n(dr)f Fw(of)g(eac)o(h)h(pair)f +(dep)q(ends)i(on)e(the)h(particular)g(declaration)f(name)0 +1631 y(in)o(v)o(olv)o(ed.)f(The)d(standard)f(declaration)f(names)g +(that)h(migh)o(t)e(app)q(ear)i(as)g(k)o(eys)g(in)g(this)0 +1683 y(a-list)e(are:)0 1752 y Fs(dynamic-extent)41 b +Fw(A)16 b(non-)p Fs(nil)e Fw(v)n(alue)i(indicates)g(that)g(the)g +Fv(variable)f Fw(has)h(b)q(een)h(de-)-33 1723 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 349 1804 a(clared)11 b Fs(dynamic-extent)p +Fw(.)j(If)c(the)h(v)n(alue)g(is)f Fs(nil)p Fw(,)g(the)i(pair)e(migh)o +(t)349 1856 y(b)q(e)k(omitted.)0 1936 y Fs(ignore)217 +b Fw(A)16 b(non-)p Fs(nil)e Fw(v)n(alue)i(indicates)g(that)g(the)g +Fv(variable)f Fw(has)h(b)q(een)h(de-)349 1988 y(clared)12 +b Fs(ignore)p Fw(.)k(If)c(the)h(v)n(alue)e(is)h Fs(nil)p +Fw(,)f(the)i(pair)e(migh)o(t)f(b)q(e)j(omit-)349 2040 +y(ted.)0 2121 y Fs(type)261 b Fw(The)10 b(v)n(alue)g(is)f(a)h(t)o(yp)q +(e)h(sp)q(eci\014er)g(asso)q(ciated)g(with)f(the)g Fv(variable)g +Fw(b)o(y)349 2173 y(a)15 b Fs(type)g Fw(declaration)g(or)h(an)g +(abbreviated)g(declaration)f(suc)o(h)i(as)349 2225 y +Fs(\(fixnum)i Fv(variable)p Fs(\))p Fw(.)e(If)12 b(no)h(explicit)f +(asso)q(ciation)g(exists,)h(either)349 2277 y(b)o(y)j +Fs(proclaim)e Fw(or)i Fs(declare)p Fw(,)f(then)h(the)h(t)o(yp)q(e)g(sp) +q(eci\014er)g(is)f Fs(t)p Fw(.)25 b(It)349 2329 y(is)15 +b(p)q(ermissible)g(for)h(implem)o(en)o(tations)d(to)j(use)g(a)g(t)o(yp) +q(e)g(sp)q(eci\014er)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 222 246 +222 245 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(222)77 b(COMMON)13 +b(LISP)349 295 y Fw(that)i(is)g(equiv)n(alen)o(t)g(to)h(or)f(a)g(sup)q +(ert)o(yp)q(e)i(of)e(the)h(one)g(app)q(earing)349 347 +y(in)11 b(the)h(original)d(declaration.)17 b(If)11 b(the)h(v)n(alue)f +(is)g Fs(t)p Fw(,)g(the)h(pair)f(migh)o(t)349 399 y(b)q(e)j(omitted.)0 +470 y(If)g(an)f(implemen)o(tation)e(supp)q(orts)k(additional)d +(declaration)i(sp)q(eci\014ers)i(that)e(apply)f(to)0 +522 y(v)n(ariable)18 b(bindings,)h(those)g(declaration)f(names)g(migh)o +(t)f(also)h(app)q(ear)h(in)g(the)g(a-list.)0 574 y(Ho)o(w)o(ev)o(er,)i +(the)e(corresp)q(onding)i(k)o(ey)e(m)o(ust)f(not)i(b)q(e)f(a)g(sym)o(b) +q(ol)f(that)h(is)g(external)h(in)0 626 y(an)o(y)f(pac)o(k)n(age)g +(de\014ned)h(in)f(the)h(standard)g(or)f(that)g(is)g(otherwise)i +(accessible)f(in)f(the)0 678 y Fs(common-lisp-user)11 +b Fw(pac)o(k)n(age.)42 730 y(The)i(a-list)e(migh)o(t)g(con)o(tain)h(m)o +(ultiple)e(en)o(tries)k(for)e(a)h(giv)o(en)f(k)o(ey)m(.)17 +b(The)c(consequences)0 782 y(of)h(destructiv)o(ely)h(mo)q(difying)d +(the)j(list)f(structure)i(of)e(this)h(a-list)e(or)i(its)f(elemen)o(ts)g +(\(ex-)0 834 y(cept)i(for)e(v)n(alues)g(that)h(app)q(ear)g(in)g(the)g +(a-list)f(as)g(a)h(result)g(of)f Fs(define-declaration)p +Fw(\))0 886 y(are)g(unde\014ned.)42 938 y(Note)k(that)f(the)i(global)d +(binding)h(migh)o(t)e(di\013er)j(from)e(the)j(lo)q(cal)e(one)h(and)f +(can)h(b)q(e)0 990 y(retriev)o(ed)d(b)o(y)f(calling)e +Fs(variable-informatio)o(n)f Fw(with)j(a)f(n)o(ull)g(lexical)g(en)o +(vironmen)o(t.)1209 1129 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(function-informat)o(ion)18 b Fv(function)25 b Fs(&optional)19 +b Fv(env)0 1206 y Fw(This)e(function)h(returns)h(information)14 +b(ab)q(out)k(the)g(in)o(terpretation)g(of)f(the)h(function-)0 +1258 y(name)11 b Fv(function)h Fw(when)g(it)g(app)q(ears)g(in)g(a)f +(functional)g(p)q(osition)g(within)g(lexical)g(en)o(viron-)0 +1310 y(men)o(t)i Fv(env)p Fw(.)18 b(Three)d(v)n(alues)f(are)g +(returned.)42 1362 y(The)i(\014rst)g(v)n(alue)g(indicates)g(the)g(t)o +(yp)q(e)g(of)g(de\014nition)f(or)h(binding)f(of)g(the)h(function-)0 +1414 y(name)d(whic)o(h)g(is)h(apparen)o(t)g(in)g Fv(env)p +Fw(:)0 1486 y Fs(nil)283 b Fw(There)15 b(is)e(no)h(apparen)o(t)g +(de\014nition)g(for)f Fv(function)p Fw(.)-33 1457 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1570 a Fs(:function)151 b Fw(The)14 b +Fv(function)g Fw(refers)i(to)d(a)h(function.)0 1654 y +Fs(:macro)217 b Fw(The)14 b Fv(function)g Fw(refers)i(to)d(a)h(macro.)0 +1738 y Fs(:special-form)63 b Fw(The)14 b Fv(function)g +Fw(refers)i(to)d(a)h(sp)q(ecial)g(form.)0 1809 y(Some)h(function-names) +h(can)h(refer)g(to)g(b)q(oth)g(a)f(global)f(macro)h(and)g(a)g(global)f +(sp)q(ecial)0 1861 y(form.)22 b(In)15 b(suc)o(h)i(a)e(case)i(the)f +(macro)f(tak)o(es)h(precedence)j(and)c Fs(:macro)g Fw(is)g(returned)j +(as)0 1913 y(the)c(\014rst)h(v)n(alue.)42 1965 y(The)d(second)i(v)n +(alue)e(sp)q(eci\014es)i(whether)g(the)f(de\014nition)f(is)h(lo)q(cal)f +(or)g(global.)k(If)c(lo)q(cal,)0 2017 y(the)i(second)h(v)n(alue)f(is)f +(true;)i(it)e(is)h Fs(nil)f Fw(when)i(the)f(de\014nition)g(is)f +(global.)42 2069 y(The)h(third)g(v)n(alue)f(is)h(an)g(a-list)f(con)o +(taining)g(information)e(ab)q(out)j(declarations)g(that)0 +2121 y(apply)19 b(to)g(the)h(apparen)o(t)f(binding)f(of)h(the)h +(function.)34 b(The)20 b(k)o(eys)f(in)g(the)h(a-list)e(are)0 +2173 y(sym)o(b)q(ols)10 b(that)h(name)f(declaration)h(sp)q(eci\014ers,) +i(and)e(the)h(format)d(of)i(the)h(corresp)q(onding)0 +2225 y(v)n(alues)19 b(in)g(the)g Fv(c)n(dr)g Fw(of)g(eac)o(h)g(pair)g +(dep)q(ends)i(on)d(the)i(particular)f(declaration)g(name)0 +2277 y(in)o(v)o(olv)o(ed.)g(The)d(standard)f(declaration)f(names)g +(that)h(migh)o(t)e(app)q(ear)i(as)g(k)o(eys)g(in)g(this)0 +2329 y(a-list)e(are:)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 223 247 +223 246 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MA)o(CROS)1179 +b(223)0 295 y Fs(dynamic-extent)41 b Fw(A)15 b(non-)p +Fs(nil)f Fw(v)n(alue)g(indicates)h(that)g(the)h(function)e(has)h(b)q +(een)h(de-)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 349 347 a(clared)11 b Fs(dynamic-extent)p +Fw(.)j(If)c(the)h(v)n(alue)g(is)f Fs(nil)p Fw(,)g(the)i(pair)e(migh)o +(t)349 399 y(b)q(e)k(omitted.)0 485 y Fs(inline)217 b +Fw(The)10 b(v)n(alue)g(is)g(one)g(of)g(the)h(sym)o(b)q(ols)d +Fs(inline)p Fw(,)i Fs(notinline)p Fw(,)e(or)i Fs(nil)349 +537 y Fw(to)15 b(indicate)h(whether)h(the)f(function-name)e(has)i(b)q +(een)h(declared)349 589 y Fs(inline)p Fw(,)g(declared)i +Fs(notinline)p Fw(,)d(or)i(neither,)h(resp)q(ectiv)o(ely)m(.)31 +b(If)349 641 y(the)14 b(v)n(alue)f(is)h Fs(nil)p Fw(,)f(the)h(pair)g +(migh)o(t)e(b)q(e)i(omitted.)0 728 y Fs(ftype)239 b Fw(The)10 +b(v)n(alue)e(is)i(the)g(t)o(yp)q(e)g(sp)q(eci\014er)h(asso)q(ciated)f +(with)f(the)h(function-)349 780 y(name)g(in)i(the)g(en)o(vironmen)o(t,) +f(or)h(the)g(sym)o(b)q(ol)e Fs(function)g Fw(if)h(there)349 +831 y(is)16 b(no)h(functional)f(t)o(yp)q(e)h(declaration)g(or)g(pro)q +(clamation)e(asso)q(ci-)349 883 y(ated)10 b(with)h(the)g +(function-name.)k(This)10 b(v)n(alue)g(migh)o(t)e(not)j(include)349 +935 y(all)f(the)i(apparen)o(t)g Fs(ftype)e Fw(declarations)i(for)f(the) +h(function-name.)349 987 y(It)j(is)g(p)q(ermissible)g(for)g(implemen)o +(tations)d(to)k(use)g(a)f(t)o(yp)q(e)h(sp)q(eci-)349 +1039 y(\014er)c(that)g(is)g(equiv)n(alen)o(t)f(to)h(or)f(a)h(sup)q(ert) +o(yp)q(e)i(of)d(the)h(one)g(that)g(ap-)349 1091 y(p)q(eared)e(in)f(the) +h(original)e(declaration.)16 b(If)9 b(the)h(v)n(alue)f(is)g +Fs(function)p Fw(,)349 1143 y(the)14 b(pair)g(migh)o(t)d(b)q(e)k +(omitted.)0 1218 y(If)f(an)f(implemen)o(tation)e(supp)q(orts)k +(additional)d(declaration)i(sp)q(eci\014ers)i(that)e(apply)f(to)0 +1269 y(function)18 b(bindings,)g(those)h(declaration)e(names)h(migh)o +(t)e(also)h(app)q(ear)i(in)e(the)i(a-list.)0 1321 y(Ho)o(w)o(ev)o(er,)i +(the)e(corresp)q(onding)i(k)o(ey)e(m)o(ust)f(not)i(b)q(e)f(a)g(sym)o(b) +q(ol)f(that)h(is)g(external)h(in)0 1373 y(an)o(y)f(pac)o(k)n(age)g +(de\014ned)h(in)f(the)h(standard)g(or)f(that)g(is)g(otherwise)i +(accessible)f(in)f(the)0 1425 y Fs(common-lisp-user)11 +b Fw(pac)o(k)n(age.)42 1478 y(The)16 b(a-list)f(migh)o(t)f(con)o(tain)h +(m)o(ultiple)f(en)o(tries)j(for)e(a)h(giv)o(en)g(k)o(ey)m(.)23 +b(In)16 b(this)g(case)h(the)0 1529 y(v)n(alue)h(asso)q(ciated)i(with)e +(the)i(\014rst)g(en)o(try)f(has)g(precedence.)36 b(The)20 +b(consequences)h(of)0 1581 y(destructiv)o(ely)14 b(mo)q(difying)c(the)k +(list)f(structure)i(of)e(this)g(a-list)f(or)h(its)g(elemen)o(ts)g +(\(except)0 1633 y(for)j(v)n(alues)g(that)h(app)q(ear)f(in)g(the)h +(a-list)f(as)g(a)h(result)g(of)f Fs(define-declarat)o(ion)p +Fw(\))d(are)0 1685 y(unde\014ned.)42 1737 y(Note)18 b(that)f(the)i +(global)d(binding)h(migh)o(t)e(di\013er)j(from)e(the)j(lo)q(cal)e(one)h +(and)f(can)h(b)q(e)0 1789 y(retriev)o(ed)d(b)o(y)f(calling)e +Fs(function-informatio)o(n)f Fw(with)j(a)f(n)o(ull)g(lexical)g(en)o +(vironmen)o(t.)1209 1940 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(declaration-infor)o(matio)o(n)18 b Fv(de)n(cl)p +Fs(-)p Fv(name)25 b Fs(&optional)19 b Fv(env)0 2017 y +Fw(This)e(function)g(returns)h(information)c(ab)q(out)j(declarations)g +(named)f(b)o(y)h(the)h(sym)o(b)q(ol)0 2069 y Fv(de)n(cl-name)12 +b Fw(that)g(are)g(in)f(force)h(in)f(the)i(en)o(vironmen)o(t)d +Fv(env)p Fw(.)18 b(Only)11 b(declarations)h(that)g(do)0 +2121 y(not)h(apply)f(to)h(function)f(or)h(v)n(ariable)f(bindings)g(can) +h(b)q(e)h(accessed)h(with)e(this)f(function.)0 2173 y(The)20 +b(format)d(of)i(the)h(information)d(that)i(is)g(returned)i(dep)q(ends)g +(on)e(the)h Fv(de)n(cl-name)0 2225 y Fw(in)o(v)o(olv)o(ed.)42 +2277 y(It)d(is)f(required)i(that)f(this)g(function)g(recognize)h +Fs(optimize)d Fw(and)i Fs(declaration)e Fw(as)0 2329 +y Fv(de)n(cl-name)s Fw(s.)k(The)14 b(v)n(alues)g(returned)h(for)f +(these)h(t)o(w)o(o)f(cases)h(are)f(as)g(follo)o(ws:)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 224 248 +224 247 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(224)77 b(COMMON)13 +b(LISP)0 295 y Fs(optimize)173 b Fw(A)16 b(single)f(v)n(alue)h(is)f +(returned,)j(a)e(list)f(whose)h(en)o(tries)h(are)g(of)e(the)-33 +266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 349 347 a(form)c Fs(\()p Fv(quality)21 b(value)p +Fs(\))p Fw(,)13 b(where)i Fv(quality)e Fw(is)g(one)h(of)e(the)i +(standard)349 399 y(optimization)27 b(qualities)h(\()p +Fs(speed)p Fw(,)k Fs(safety)p Fw(,)g Fs(compilation-)349 +450 y(speed)p Fw(,)10 b Fs(space)p Fw(,)g Fs(debug)p +Fw(\))g(or)i(some)e(implemen)o(tatio)o(n-sp)q(eci\014c)g(op-)349 +502 y(timization)17 b(qualit)o(y)m(,)j(and)f Fv(value)i +Fw(is)f(an)g(in)o(teger)g(in)g(the)g(range)349 554 y(0)k(to)g(3)g +(\(inclusiv)o(e\).)49 b(The)25 b(returned)h(list)e(alw)o(a)o(ys)f(con)o +(tains)349 606 y(an)18 b(en)o(try)g(for)g(eac)o(h)h(of)e(the)i +(standard)f(qualities)g(and)f(for)h(eac)o(h)349 658 y(of)g(the)i +(implemen)o(tation-sp)q(eci\014c)d(qualities.)34 b(In)19 +b(the)h(absence)349 710 y(of)i(an)o(y)g(previous)h(declarations,)i(the) +e(asso)q(ciated)h(v)n(alues)e(are)349 762 y(implem)o(en)o(tation-dep)q +(enden)o(t.)c(The)d(list)f(migh)o(t)e(con)o(tain)i(m)o(ulti-)349 +814 y(ple)g(en)o(tries)h(for)e(a)h(qualit)o(y)m(,)d(in)j(whic)o(h)f +(case)i(the)g(\014rst)f(suc)o(h)h(en)o(try)349 866 y(sp)q(eci\014es)i +(the)g(curren)o(t)g(v)n(alue.)23 b(The)16 b(consequences)j(of)c +(destruc-)349 917 y(tiv)o(ely)e(mo)q(difying)e(this)j(list)f(or)h(its)g +(elemen)o(ts)g(are)g(unde\014ned.)0 1000 y Fs(declaration)107 +b Fw(A)14 b(single)g(v)n(alue)g(is)g(returned,)i(a)e(list)g(of)g(the)h +(declaration)g(names)349 1052 y(that)e(ha)o(v)o(e)g(b)q(een)h(pro)q +(claimed)e(as)h(v)n(alid)f(through)h(the)h(use)g(of)e(the)349 +1104 y Fs(declaration)e Fw(pro)q(clamation.)15 b(The)f(consequences)h +(of)d(destruc-)349 1156 y(tiv)o(ely)h(mo)q(difying)e(this)j(list)f(or)h +(its)g(elemen)o(ts)g(are)g(unde\014ned.)0 1226 y(If)k(an)f(implemen)o +(tation)e(is)j(extended)h(to)f(recognize)h(additional)d(declaration)i +(sp)q(eci-)0 1278 y(\014ers)i(in)e Fs(declare)f Fw(or)i +Fs(proclaim)p Fw(,)f(it)g(is)h(required)h(that)e(either)i(the)f +Fs(declaration-)0 1330 y(information)f Fw(function)j(should)f +(recognize)i(those)g(declarations)f(also)f(or)g(the)i(im-)0 +1382 y(plemen)o(tation)c(should)h(pro)o(vide)h(a)f(similar)e(accessor)k +(that)f(is)f(sp)q(ecialized)h(for)g(that)0 1433 y(declaration)15 +b(sp)q(eci\014er.)23 b(If)15 b Fs(declaration-inf)o(ormat)o(ion)d +Fw(is)j(used)h(to)e(return)j(the)e(in-)0 1485 y(formation,)9 +b(the)j(corresp)q(onding)g Fv(de)n(cl-name)g Fw(m)o(ust)e(not)h(b)q(e)h +(a)f(sym)o(b)q(ol)f(that)h(is)g(external)0 1537 y(in)k(an)o(y)f(pac)o +(k)n(age)h(de\014ned)h(in)f(the)h(standard)f(or)h(that)f(is)g +(otherwise)h(accessible)g(in)f(the)0 1589 y Fs(common-lisp-user)c +Fw(pac)o(k)n(age.)1209 1722 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(augment-environme)o(nt)18 b Fv(env)26 b Fs(&key)21 +b(:variable)e(:symbol-macro)42 1774 y(:function)h(:macro)g(:declare)0 +1851 y Fw(This)14 b(function)h(returns)h(a)e(new)h(en)o(vironmen)o(t)f +(con)o(taining)f(the)i(information)d(presen)o(t)0 1903 +y(in)i Fv(env)h Fw(augmen)o(ted)e(with)i(the)g(information)c(pro)o +(vided)j(b)o(y)h(the)g(k)o(eyw)o(ord)f(argumen)o(ts.)0 +1955 y(It)g(is)g(in)o(tended)g(to)g(b)q(e)g(used)h(b)o(y)f(program)e +(analyzers)j(that)e(p)q(erform)h(a)f(co)q(de)i(w)o(alk.)42 +2007 y(The)f(argumen)o(ts)f(are)h(supplied)g(as)g(follo)o(ws.)0 +2110 y Fs(:variable)-33 2096 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2173 a Fw(The)j(argumen)o(t)e(is)h(a)g(list)g(of)f(sym)o +(b)q(ols)g(that)i(will)d(b)q(e)j(visible)f(as)g(b)q(ound)h(v)n +(ariables)e(in)0 2225 y(the)i(new)g(en)o(vironmen)o(t.)24 +b(Whether)18 b(eac)o(h)f(binding)e(is)i(to)f(b)q(e)h(in)o(terpreted)h +(as)e(sp)q(ecial)0 2277 y(or)h(lexical)g(dep)q(ends)i(on)e +Fs(special)f Fw(declarations)i(recorded)h(in)e(the)h(en)o(vironmen)o(t) +f(or)0 2329 y(pro)o(vided)d(in)f(the)i Fs(:declare)d +Fw(argumen)o(t.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 225 249 +225 248 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MA)o(CROS)1179 +b(225)0 295 y Fs(:symbol-macro)0 358 y Fw(The)16 b(argumen)o(t)e(is)i +(a)f(list)g(of)g(sym)o(b)q(ol)f(macro)g(de\014nitions,)h(eac)o(h)i(of)d +(the)j(form)c Fs(\()p Fv(name)0 410 y(de\014nition)p +Fs(\))p Fw(;)24 b(that)c(is,)h(the)g(argumen)o(t)e(is)h(in)g(the)h +(same)f(format)e(as)i(the)h Fv(c)n(adr)f Fw(of)g(a)0 +462 y Fs(symbol-macrolet)8 b Fw(sp)q(ecial)k(form.)k(The)c(new)g(en)o +(vironmen)o(t)e(will)h(ha)o(v)o(e)g(lo)q(cal)g(sym)o(b)q(ol-)0 +513 y(macro)22 b(bindings)i(of)f(eac)o(h)h(sym)o(b)q(ol)e(to)h(the)i +(corresp)q(onding)f(expansion,)i(so)e(that)0 565 y Fs(macroexpand)15 +b Fw(will)i(b)q(e)h(able)g(to)g(expand)g(them)f(prop)q(erly)m(.)29 +b(A)18 b(t)o(yp)q(e)h(declaration)e(in)0 617 y(the)f +Fs(:declare)e Fw(argumen)o(t)g(that)h(refers)i(to)e(a)g(name)f(in)h +(this)h(list)f(implicitly)d(mo)q(di\014es)0 669 y(the)18 +b(de\014nition)g(asso)q(ciated)g(with)g(the)g(name.)29 +b(The)18 b(e\013ect)i(is)d(to)h(wrap)g(a)f Fs(the)g Fw(form)0 +721 y(men)o(tioning)12 b(the)i(t)o(yp)q(e)h(around)e(the)i +(de\014nition.)0 829 y Fs(:function)0 892 y Fw(The)f(argumen)o(t)e(is)h +(a)f(list)h(of)g(function-names)e(that)j(will)d(b)q(e)j(visible)f(as)g +(lo)q(cal)f(function)0 944 y(bindings)h(in)h(the)g(new)h(en)o(vironmen) +o(t.)0 1052 y Fs(:macro)0 1115 y Fw(The)k(argumen)o(t)f(is)h(a)f(list)h +(of)f(lo)q(cal)g(macro)g(de\014nitions,)h(eac)o(h)h(of)e(the)h(form)e +Fs(\()p Fv(name)0 1167 y(de\014nition)p Fs(\))p Fw(.)h(Note)12 +b(that)g(the)g(argumen)o(t)f(is)h Fv(not)g Fw(in)f(the)i(same)e(format) +f(as)i(the)g Fv(c)n(adr)g Fw(of)f(a)0 1218 y Fs(macrolet)h +Fw(sp)q(ecial)i(form.)i(Eac)o(h)e Fv(de\014nition)h Fw(m)o(ust)e(b)q(e) +h(a)g(function)f(of)g(t)o(w)o(o)g(argumen)o(ts)0 1270 +y(\(a)k(form)f(and)h(an)g(en)o(vironmen)o(t\).)27 b(The)18 +b(new)f(en)o(vironmen)o(t)g(will)e(ha)o(v)o(e)j(lo)q(cal)e(macro)0 +1322 y(bindings)d(of)g(eac)o(h)h(name)e(to)h(the)h(corresp)q(onding)h +(expander)f(function,)f(whic)o(h)g(will)f(b)q(e)0 1374 +y(returned)k(b)o(y)d Fs(macro-function)e Fw(and)j(used)h(b)o(y)e +Fs(macroexpand)p Fw(.)0 1482 y Fs(:declare)0 1545 y Fw(The)21 +b(argumen)o(t)f(is)h(a)f(list)h(of)f(declaration)g(sp)q(eci\014ers.)41 +b(Information)19 b(ab)q(out)h(these)0 1597 y(declarations)11 +b(can)g(b)q(e)h(retriev)o(ed)g(from)d(the)j(resulting)f(en)o(vironmen)o +(t)f(using)h Fs(variable-)0 1649 y(information)p Fw(,)g +Fs(function-informati)o(on)p Fw(,)f(and)k Fs(declaration-inform)o(atio) +o(n)p Fw(.)0 1757 y(The)j(consequences)i(of)d(subsequen)o(tly)h +(destructiv)o(ely)g(mo)q(difying)d(the)j(list)f(structure)0 +1809 y(of)d(an)o(y)h(of)f(the)h(argumen)o(ts)g(to)f(this)h(function)g +(are)g(unde\014ned.)42 1861 y(An)i(error)h(is)f(signaled)g(if)g(an)o(y) +f(of)h(the)h(sym)o(b)q(ols)e(naming)f(a)i(sym)o(b)q(ol)e(macro)h(in)h +(the)0 1913 y Fs(:symbol-macro)e Fw(argumen)o(t)i(is)h(also)g(included) +g(in)f(the)i Fs(:variable)d Fw(argumen)o(t.)27 b(An)0 +1965 y(error)13 b(is)f(signaled)g(if)g(an)o(y)g(sym)o(b)q(ol)e(naming)g +(a)i(sym)o(b)q(ol)f(macro)g(in)h(the)g Fs(:symbol-macro)0 +2017 y Fw(argumen)o(t)h(is)g(also)h(included)f(in)h(a)f +Fs(special)g Fw(declaration)g(sp)q(eci\014er)j(in)d(the)h +Fs(:declare)0 2069 y Fw(argumen)o(t.)k(An)d(error)g(is)f(signaled)g(if) +f(an)o(y)h(sym)o(b)q(ol)e(naming)g(a)i(macro)f(in)h(the)h +Fs(:macro)0 2121 y Fw(argumen)o(t)d(is)h(also)f(included)i(in)e(the)i +Fs(:function)d Fw(argumen)o(t.)17 b(The)c(condition)g(t)o(yp)q(e)g(of)0 +2172 y(eac)o(h)h(of)g(these)h(errors)g(is)f Fs(program-error)p +Fw(.)42 2225 y(The)j(exten)o(t)h(of)f(the)h(returned)h(en)o(vironmen)o +(t)d(is)h(the)h(same)e(as)h(the)h(exten)o(t)g(of)f(the)0 +2277 y(argumen)o(t)f(en)o(vironmen)o(t)g Fv(env)p Fw(.)29 +b(The)17 b(result)h(migh)o(t)d(share)k(structure)g(with)e +Fv(env)h Fw(but)0 2329 y Fv(env)c Fw(is)g(not)g(mo)q(di\014ed.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 226 250 +226 249 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(226)77 b(COMMON)13 +b(LISP)42 295 y Fw(While)c(an)i(en)o(vironmen)o(t)e(argumen)o(t)g +(receiv)o(ed)j(b)o(y)f(an)f Fs(*evalhook*)e Fw(function)j(is)f(p)q(er-) +0 347 y(mitted)f(to)h(b)q(e)h(used)g(as)f(the)h(en)o(vironmen)o(t)e +(argumen)o(t)h(to)g Fs(augment-environm)o(ent)p Fw(,)d(the)0 +399 y(consequences)13 b(are)d(unde\014ned)h(if)e(an)g(attempt)h(is)f +(made)g(to)h(use)g(the)h(result)f(of)f Fs(augment-)0 +450 y(environment)k Fw(as)j(the)g(en)o(vironmen)o(t)e(argumen)o(t)h +(for)g Fs(evalhook)p Fw(.)21 b(The)16 b(en)o(vironmen)o(t)0 +502 y(returned)j(b)o(y)e Fs(augment-environm)o(ent)d +Fw(can)j(b)q(e)h(used)g(only)e(for)h(syn)o(tactic)h(analysis,)0 +554 y(that)c(is,)f(as)h(an)g(argumen)o(t)e(to)i(the)g(functions)g +(de\014ned)h(in)f(this)f(section)i(and)f(functions)0 +606 y(suc)o(h)h(as)f Fs(macroexpand)p Fw(.)-33 717 y +@beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 745 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(define-declaratio)o(n)32 b Fv(de)n(cl-name)15 b(lamb)n(da-list)21 +b Ft(f)7 b Fv(form)p Ft(g)973 730 y Fl(\003)0 822 y Fw(This)14 +b(macro)e(de\014nes)j(a)e(handler)h(for)f(the)i(named)d(declaration.)18 +b(It)13 b(is)h(the)g(mec)o(hanism)0 874 y(b)o(y)j(whic)o(h)h +Fs(augment-environ)o(ment)c Fw(is)j(extended)i(to)f(supp)q(ort)g +(additional)e(declara-)0 926 y(tion)h(sp)q(eci\014ers.)31 +b(The)18 b(function)f(de\014ned)i(b)o(y)e(this)g(macro)g(will)f(b)q(e)i +(called)f(with)g(t)o(w)o(o)0 978 y(argumen)o(ts,)e(a)g(declaration)h +(sp)q(eci\014er)h(whose)g Fv(c)n(ar)e Fw(is)h Fv(de)n(cl-name)g +Fw(and)f(the)i Fv(env)f Fw(argu-)0 1030 y(men)o(t)e(to)h +Fs(augment-environment)p Fw(.)k(This)c(function)g(m)o(ust)f(return)j(t) +o(w)o(o)d(v)n(alues.)22 b(The)0 1082 y(\014rst)15 b(v)n(alue)e(m)o(ust) +g(b)q(e)h(one)g(of)g(the)g(follo)o(wing)d(k)o(eyw)o(ords:)0 +1154 y Fs(:variable)151 b Fw(The)14 b(declaration)g(applies)f(to)h(v)n +(ariable)f(bindings.)-33 1125 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1238 a Fs(:function)151 b Fw(The)14 b(declaration)g +(applies)f(to)h(function)g(bindings.)0 1322 y Fs(:declare)173 +b Fw(The)14 b(declaration)g(do)q(es)g(not)g(apply)f(to)h(bindings.)0 +1394 y(If)h(the)i(\014rst)f(v)n(alue)f(is)h Fs(:variable)d +Fw(or)j Fs(:function)e Fw(then)i(the)h(second)f(v)n(alue)f(m)o(ust)g(b) +q(e)0 1446 y(a)f(list,)f(the)h(elemen)o(ts)g(of)f(whic)o(h)h(are)h +(lists)f(of)f(the)i(form)d Fs(\()p Fv(binding)p Fs(-)p +Fv(name)22 b(key)f(value)p Fs(\))p Fw(.)0 1498 y(If)14 +b(the)i(corresp)q(onding)g(information)c(function)i(\(either)i +Fs(variable-informati)o(on)c Fw(or)0 1549 y Fs(function-informat)o(ion) +p Fw(\))g(is)k(applied)f(to)g(the)h Fv(binding-name)g +Fw(and)g(the)g(augmen)o(ted)0 1601 y(en)o(vironmen)o(t,)11 +b(the)h(a-list)f(returned)j(b)o(y)d(the)h(information)d(function)j(as)g +(its)g(third)f(v)n(alue)0 1653 y(will)h(con)o(tain)i(the)g +Fv(value)g Fw(under)h(the)g(sp)q(eci\014ed)g Fv(key)p +Fw(.)42 1705 y(If)e(the)i(\014rst)g(v)n(alue)e(is)h Fs(:declare)p +Fw(,)e(the)j(second)g(v)n(alue)f(m)o(ust)f(b)q(e)i(a)f(cons)g(of)g(the) +g(form)0 1757 y Fs(\()p Fv(key)21 b Fs(.)g Fv(value)p +Fs(\))p Fw(.)35 b(The)21 b(function)e Fs(declaration-info)o(rmati)o(on) +e Fw(will)h(return)i Fv(value)0 1809 y Fw(when)14 b(applied)g(to)f(the) +i Fv(key)f Fw(and)g(the)g(augmen)o(ted)f(en)o(vironmen)o(t.)42 +1861 y Fs(define-declarat)o(ion)g Fw(causes)k Fv(de)n(cl-name)g +Fw(to)f(b)q(e)g(pro)q(claimed)f(to)h(b)q(e)h(a)f(declara-)0 +1913 y(tion;)c(it)g(is)h(as)f(if)g(its)h(expansion)f(included)h(a)f +(call)g Fs(\(proclaim)999 1917 y Fn(')1022 1913 y Fs(\(declaration)19 +b Fv(de)n(cl)p Fs(-)0 1965 y Fv(name)p Fs(\)\))p Fw(.)31 +b(As)18 b(is)g(the)h(case)g(with)f(standard)g(declaration)g(sp)q +(eci\014ers,)j(the)d(ev)n(aluator)0 2017 y(and)c(compiler)e(are)i(p)q +(ermitted,)f(but)h(not)g(required,)g(to)g(add)f(information)e(ab)q(out) +j(dec-)0 2069 y(laration)e(sp)q(eci\014ers)j(de\014ned)f(with)f +Fs(define-declaratio)o(n)d Fw(to)j(the)h(macro)e(expansion)0 +2121 y(and)i Fs(*evalhook*)d Fw(en)o(vironmen)o(ts.)42 +2173 y(The)16 b(consequences)i(are)e(unde\014ned)h(if)d +Fv(de)n(cl-name)i Fw(is)g(a)f(sym)o(b)q(ol)f(that)h(can)h(app)q(ear)0 +2225 y(as)e(the)g Fv(c)n(ar)g Fw(of)f(an)o(y)h(standard)g(declaration)g +(sp)q(eci\014er.)42 2277 y(The)g(consequences)i(are)e(also)f +(unde\014ned)i(if)e(the)i(return)g(v)n(alue)e(from)f(a)h(declaration)0 +2329 y(handler)i(de\014ned)h(with)f Fs(define-declaration)c +Fw(includes)16 b(a)f Fv(key)g Fw(name)f(that)h(is)g(used)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 227 251 +227 250 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MA)o(CROS)1179 +b(227)0 295 y Fw(b)o(y)13 b(the)h(corresp)q(onding)g(accessor)g(to)f +(return)i(information)10 b(ab)q(out)j(an)o(y)f(standard)i(dec-)0 +347 y(laration)j(sp)q(eci\014er.)35 b(\(F)m(or)18 b(example,)g(if)g +(the)h(\014rst)h(return)f(v)n(alue)f(from)f(the)j(handler)0 +399 y(is)e Fs(:variable)p Fw(,)g(the)h(second)g(return)h(v)n(alue)e(ma) +o(y)e(not)j(use)g(the)g(sym)o(b)q(ols)e Fs(dynamic-)0 +450 y(extent)p Fw(,)12 b Fs(ignore)p Fw(,)g(or)i Fs(type)f +Fw(as)h Fv(key)g Fw(names.\))42 502 y(The)j Fs(define-declaration)d +Fw(macro)i(do)q(es)i(not)f(ha)o(v)o(e)g(an)o(y)g(sp)q(ecial)h +(compile-tim)o(e)0 554 y(side)c(e\013ects)i(\(see)f(section)g(25.1\).) +1209 681 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(parse-macro)19 +b Fv(name)25 b(lamb)n(da)p Fs(-)p Fv(list)f(b)n(o)n(dy)h +Fs(&optional)20 b Fv(env)0 758 y Fw(This)j(function)f(is)h(used)h(to)e +(pro)q(cess)j(a)e(macro)e(de\014nition)i(in)f(the)i(same)e(w)o(a)o(y)g +(as)0 809 y Fs(defmacro)17 b Fw(and)h Fs(macrolet)p Fw(.)30 +b(It)19 b(returns)h(a)e(lam)o(b)q(da-expression)f(that)i(accepts)h(t)o +(w)o(o)0 861 y(argumen)o(ts,)f(a)g(form)f(and)h(an)g(en)o(vironmen)o +(t.)33 b(The)20 b Fv(name)p Fw(,)h Fv(lamb)n(da-list)p +Fw(,)e(and)g Fv(b)n(o)n(dy)0 913 y Fw(argumen)o(ts)13 +b(corresp)q(ond)j(to)d(the)i(parts)f(of)g(a)f Fs(defmacro)f +Fw(or)i Fs(macrolet)e Fw(de\014nition.)42 965 y(The)g +Fv(lamb)n(da-list)f Fw(argumen)o(t)g(ma)o(y)f(include)i +Fs(&environment)e Fw(and)i Fs(&whole)f Fw(and)h(ma)o(y)0 +1017 y(include)j(destructuring.)22 b(The)16 b Fv(name)f +Fw(argumen)o(t)f(is)h(used)g(to)g(enclose)h(the)f Fv(b)n(o)n(dy)h +Fw(in)e(an)0 1069 y(implicit)8 b Fs(block)h Fw(and)h(migh)o(t)e(also)h +(b)q(e)i(used)g(for)f(implemen)o(tatio)o(n-dep)q(enden)o(t)f(purp)q +(oses)0 1121 y(\(suc)o(h)16 b(as)f(including)f(the)h(name)f(of)g(the)i +(macro)e(in)g(error)i(messages)f(if)f(the)i(form)d(do)q(es)0 +1173 y(not)h(matc)o(h)e(the)j Fv(lamb)n(da-list)p Fw(\).)1209 +1299 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(enclose)20 +b Fv(lamb)n(da)p Fs(-)p Fv(expr)n(ession)k Fs(&optional)c +Fv(env)0 1376 y Fw(This)15 b(function)f(returns)j(an)e(ob)r(ject)g(of)g +(t)o(yp)q(e)g Fs(function)e Fw(that)i(is)g(equiv)n(alen)o(t)f(to)h +(what)0 1428 y(w)o(ould)e(b)q(e)i(obtained)f(b)o(y)g(ev)n(aluating)605 +1432 y Fn(`)628 1428 y Fs(\(function)20 b(,)p Fv(lamb)n(da)p +Fs(-)p Fv(expr)n(ession)p Fs(\))14 b Fw(in)g(a)g(syn-)0 +1480 y(tactic)f(en)o(vironmen)o(t)e Fv(env)p Fw(.)18 +b(The)13 b Fv(lamb)n(da-expr)n(ession)g Fw(is)f(p)q(ermitted)g(to)h +(reference)i(only)0 1532 y(the)e(parts)f(of)g(the)h(en)o(vironmen)o(t)e +(argumen)o(t)f Fv(env)j Fw(that)f(are)h(relev)n(an)o(t)f(only)f(to)h +(syn)o(tactic)0 1584 y(pro)q(cessing,)i(sp)q(eci\014cally)f +(declarations)g(and)g(the)g(de\014nitions)g(of)g(macros)f(and)h(sym)o +(b)q(ol)0 1636 y(macros.)j(The)10 b(consequences)j(are)d(unde\014ned)h +(if)f(the)g Fv(lamb)n(da-expr)n(ession)g Fw(con)o(tains)g(an)o(y)0 +1687 y(references)k(to)d(v)n(ariable)f(or)i(function)f(bindings)f(that) +i(are)f(lexically)f(visible)h(in)f Fv(env)p Fw(,)i(an)o(y)0 +1739 y Fs(go)i Fw(to)g(a)g(tag)g(that)g(is)g(lexically)f(visible)g(in)h +Fv(env)p Fw(,)g(or)g(an)o(y)g Fs(return-from)e Fw(men)o(tioning)g(a)0 +1791 y(blo)q(c)o(k)i(name)e(that)i(is)g(lexically)e(visible)i(in)f +Fv(env)p Fw(.)-33 1803 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 541 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 228 252 +228 251 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(9)p 0 448 598 9 +v 0 531 a Fp(Decla)n(rations)0 888 y Fw(Declarations)17 +b(allo)o(w)e(y)o(ou)i(to)g(sp)q(ecify)h(extra)f(information)d(ab)q(out) +j(y)o(our)g(program)f(to)0 940 y(the)i(Lisp)g(system.)29 +b(With)16 b(one)i(exception,)h(declarations)f(are)g(completely)e +(optional)0 992 y(and)d(correct)h(declarations)f(do)g(not)g(a\013ect)h +(the)f(meaning)f(of)g(a)h(correct)h(program.)i(The)0 +1044 y(exception)d(is)g(that)f Fs(special)g Fw(declarations)g +Fv(do)h Fw(a\013ect)h(the)f(in)o(terpretation)g(of)f(v)n(ariable)0 +1096 y(bindings)f(and)h(references)i(and)e(so)g Fv(must)f +Fw(b)q(e)i(sp)q(eci\014ed)g(where)g(appropriate.)k(All)11 +b(other)0 1147 y(declarations)g(are)h(of)f(an)g(advisory)f(nature,)i +(and)f(ma)o(y)f(b)q(e)i(used)g(b)o(y)f(the)h(Lisp)f(system)g(to)0 +1199 y(aid)g(the)i(programmer)c(b)o(y)j(p)q(erforming)e(extra)i(error)h +(c)o(hec)o(king)f(or)g(pro)q(ducing)g(more)f(ef-)0 1251 +y(\014cien)o(t)h(compiled)d(co)q(de.)18 b(Declarations)11 +b(are)g(also)f(a)h(go)q(o)q(d)g(w)o(a)o(y)f(to)h(add)g(do)q(cumen)o +(tation)0 1303 y(to)j(a)f(program.)42 1355 y(Note)j(that)h(it)f(is)g +(considered)h(an)g(error)g(for)f(a)g(program)e(to)j(violate)e(a)h +(declaration)0 1407 y(\(suc)o(h)e(as)e(a)h Fs(type)f +Fw(declaration\),)g(but)h(an)f(implemen)o(tation)e(is)i(not)h(required) +h(to)e(detect)0 1459 y(suc)o(h)j(errors)g(\(though)f(suc)o(h)g +(detection,)h(where)g(feasible,)e(is)h(to)f(b)q(e)i(encouraged\).)0 +1615 y Fo(9.1.)20 b(Declaration)14 b(Syn)n(tax)0 1702 +y Fw(The)g Fs(declare)f Fw(construct)i(is)f(used)h(for)e(em)o(b)q +(edding)g(declarations)h(within)g(executable)0 1754 y(co)q(de.)22 +b(Global)13 b(declarations)h(and)h(declarations)g(that)g(are)g +(computed)f(b)o(y)h(a)f(program)0 1806 y(are)g(established)h(b)o(y)f +(the)g Fs(proclaim)e Fw(construct.)42 1858 y(X3J13)e(v)o(oted)g(in)g +(June)h(1989)f Ft(h)p Fw(144)p Ft(i)f Fw(to)i(in)o(tro)q(duce)g(the)g +(new)g(macro)e Fs(declaim)p Fw(,)g(whic)o(h)-33 1830 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1910 a(is)h(guaran)o(teed)h(to)f(b)q(e)h(recognized)h +(appropriately)d(b)o(y)h(the)h(compiler)e(and)h(is)g(often)h(more)0 +1962 y(con)o(v)o(enien)o(t)j(than)g Fs(proclaim)e Fw(for)i +(establishing)f(global)g(declarations.)-33 1973 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1145 2096 a([)p Fv(Sp)n(e)n(cial)i(form)s +Fw(])-1396 b Fs(declare)40 b Ft(f)p Fv(de)n(cl-sp)n(e)n(c)p +Ft(g)391 2081 y Fl(\003)0 2173 y Fw(A)16 b Fs(declare)f +Fw(form)f(is)i(kno)o(wn)f(as)i(a)e Fv(de)n(clar)n(ation)p +Fw(.)25 b(Declarations)15 b(ma)o(y)f(o)q(ccur)k(only)d(at)0 +2225 y(the)d(b)q(eginning)f(of)g(the)h(b)q(o)q(dies)g(of)e(certain)i +(sp)q(ecial)g(forms;)f(that)g(is,)g(a)h(declaration)f(ma)o(y)0 +2277 y(o)q(ccur)i(only)e(as)h(a)f(statemen)o(t)h(of)f(suc)o(h)h(a)g(sp) +q(ecial)g(form,)e(and)h(all)g(statemen)o(ts)h(preceding)0 +2329 y(it)h(\(if)f(an)o(y\))h(m)o(ust)f(also)g(b)q(e)i +Fs(declare)e Fw(forms)f(\(or)i(p)q(ossibly)g(do)q(cumen)o(tation)f +(strings,)h(in)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2428 a Fy(228)p eop +%%Page: 229 253 +229 252 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(DECLARA)m(TIONS)1053 +b(229)0 295 y Fw(some)13 b(cases\).)19 b(Declarations)14 +b(ma)o(y)e(o)q(ccur)j(in)e(lam)o(b)q(da-expressions)g(and)g(in)h(the)g +(forms)0 347 y(listed)g(here.)0 452 y Fs(define-setf-metho)o(d)203 +b(labels)0 504 y(defmacro)422 b(let)0 556 y(defsetf)444 +b(let*)0 608 y(deftype)g(locally)0 660 y(defun)488 b(macrolet)0 +712 y(do)554 b(multiple-value-b)o(ind)0 764 y(do*)532 +b(prog)0 816 y(do-all-symbols)290 b(prog*)0 868 y(do-external-symbo)o +(ls)181 b(with-input-from-)o(strin)o(g)0 919 y(do-symbols)378 +b(with-open-file)0 971 y(dolist)466 b(with-open-stream)0 +1023 y(dotimes)444 b(with-output-to-s)o(tring)0 1075 +y(flet)42 1179 y Fv(Notic)n(e)20 b(of)h(c)n(orr)n(e)n(ction.)38 +b Fw(In)21 b(the)g(\014rst)g(edition,)h(the)f(ab)q(o)o(v)o(e)f(list)h +(failed)e(to)i(men-)-33 1151 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1231 a(tion)10 b(the)g(forms)f Fs(define-setf-method)p +Fw(,)e Fs(with-input-from-s)o(tring)o Fw(,)h Fs(with-open-)0 +1283 y(file)p Fw(,)17 b Fs(with-open-stream)p Fw(,)d(and)k +Fs(with-output-to-s)o(trin)o(g)p Fw(,)d(ev)o(en)j(though)f(their)0 +1335 y(individual)11 b(descriptions)j(in)f(the)g(\014rst)h(edition)e +(sp)q(eci\014ed)j(that)e(declarations)g(ma)o(y)e(ap-)0 +1386 y(p)q(ear)k(in)e(those)i(forms.)-33 1398 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1440 a(X3J13)c(v)o(oted)i(in)e(June)i(1989)e +Ft(h)p Fw(31)p Ft(i)h Fw(to)g(add)g Fs(with-condition-res)o(tarts)c +Fw(and)k(also)0 1492 y Ft(h)p Fw(40)p Ft(i)d Fw(to)h(add)f +Fs(print-unreadable-ob)o(ject)d Fw(and)j Fs(with-standard-io-syn)o(tax) +p Fw(.)k(The)0 1544 y(X3J13)e(v)o(ote)g(left)g(it)g(unclear)g(whether)i +(these)f(macros)f(p)q(ermit)f(declarations)h(to)g(app)q(ear)0 +1596 y(at)h(the)i(heads)f(of)f(their)h(b)q(o)q(dies.)18 +b(I)13 b(b)q(eliev)o(e)g(that)f(w)o(as)h(the)g(in)o(ten)o(t,)g(but)f +(this)h(is)g(only)e(m)o(y)0 1648 y(in)o(terpretation.)42 +1702 y(X3J13)h(v)o(oted)i(in)e(June)i(1988)f Ft(h)p Fw(12)p +Ft(i)g Fw(to)g(adopt)f(the)i(Common)c(Lisp)j(Ob)r(ject)i(System,)-33 +1674 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1754 a(whic)o(h)10 b(includes)g(the)h(follo)o(wing)d +(additional)g(forms)g(in)i(whic)o(h)g(declarations)g(ma)o(y)e(o)q +(ccur:)0 1860 y Fs(defgeneric)378 b(generic-function)0 +1912 y(define-method-com)o(binat)o(ion)50 b(generic-labels)0 +1963 y(defmethod)400 b(with-added-metho)o(ds)0 2015 y(generic-flet)0 +2119 y Fw(F)m(urthermore)10 b(X3J13)g(v)o(oted)h(in)f(Jan)o(uary)g +(1989)f Ft(h)p Fw(172)p Ft(i)h Fw(to)g(allo)o(w)f(declarations)h(to)h +(o)q(ccur)0 2171 y(b)q(efore)k(the)f(b)q(o)q(dies)h(of)e(these)i +(forms:)0 2277 y Fs(symbol-macrolet)268 b(with-slots)0 +2329 y(with-accessors)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 230 254 +230 253 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(230)77 b(COMMON)13 +b(LISP)0 295 y Fw(There)19 b(are)e(certain)i(asp)q(ects)g(p)q(eculiar)e +(to)h Fs(symbol-macrolet)c Fw(\(and)j(therefore)i(also)0 +347 y(to)i Fs(with-accessors)d Fw(and)j Fs(with-slots)p +Fw(,)f(whic)o(h)h(expand)g(in)o(to)g(uses)h(of)e Fs(symbol-)0 +399 y(macrolet)p Fw(\).)28 b(An)18 b(error)h(is)e(signaled)h(if)f(a)g +(name)g(de\014ned)i(b)o(y)e Fs(symbol-macrolet)e Fw(is)0 +450 y(declared)22 b Fs(special)p Fw(,)g(and)f(a)g(t)o(yp)q(e)h +(declaration)f(of)f(a)h(name)g(de\014ned)h(b)o(y)f Fs(symbol-)0 +502 y(macrolet)e Fw(is)h(equiv)n(alen)o(t)g(in)g(e\013ect)i(to)f +(wrapping)f(a)g Fs(the)g Fw(form)e(men)o(tioning)h(that)0 +554 y(t)o(yp)q(e)14 b(around)g(the)h(expansion)e(of)h(the)g(de\014ned)h +(sym)o(b)q(ol.)-33 566 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 606 a(It)c(is)g(an)h(error)g(to)f(attempt)g(to)g(ev)n +(aluate)h(a)f(declaration.)17 b(Those)12 b(sp)q(ecial)g(forms)e(that)0 +658 y(p)q(ermit)j(declarations)h(to)g(app)q(ear)g(p)q(erform)f +(explicit)h(c)o(hec)o(ks)h(for)e(their)i(presence.)p +0 718 V 0 778 a Fm(Compatibilit)o(y)10 b(note:)17 b FA(In)11 +b(MacLisp,)i Fj(declare)8 b FA(is)k(a)f(sp)q(ecial)j(form)d(that)g(do)q +(es)h(nothing)h(but)0 824 y(return)j(the)h(sym)o(b)q(ol)g +Fj(declare)c FA(as)j(its)g(result.)27 b(The)16 b(MacLisp)h(in)o +(terpreter)g(kno)o(ws)g(nothing)0 870 y(ab)q(out)e(declarations)i(but)d +(just)g(blindly)j(ev)n(aluates)f(them,)e(e\013ectiv)o(ely)j(ignoring)f +(them.)21 b(The)0 915 y(MacLisp)15 b(compiler)g(recognizes)h +(declarations)g(but)e(pro)q(cesses)h(them)f(simply)h(b)o(y)f(ev)n +(aluating)0 961 y(the)h(subforms)g(of)g(the)f(declaration)j(in)f(the)f +(compilation)i(con)o(text.)23 b(In)14 b(Common)h(Lisp)h(it)f(is)0 +1007 y(imp)q(ortan)o(t)f(that)f(b)q(oth)g(the)g(in)o(terpreter)h(and)f +(compiler)h(recognize)g(declarations)i(\(esp)q(ecially)0 +1052 y Fj(special)8 b FA(declarations\))14 b(and)e(treat)g(them)f +(consisten)o(tly)m(,)j(and)e(so)f(the)g(rules)i(ab)q(out)f(the)f +(struc-)0 1098 y(ture)i(and)h(use)f(of)f(declarations)k(ha)o(v)o(e)d(b) +q(een)h(made)f(considerably)j(more)d(stringen)o(t.)18 +b(The)13 b(o)q(dd)0 1144 y(tric)o(ks)d(pla)o(y)o(ed)h(in)g(MacLisp)g(b) +o(y)e(writing)i(arbitrary)g(forms)f(to)f(b)q(e)h(ev)n(aluated)h(within) +g(a)e Fj(declare)0 1189 y FA(form)k(are)g(b)q(etter)g(done)h(in)g(b)q +(oth)f(MacLisp)i(and)e(Common)h(Lisp)g(b)o(y)f(using)h +Fj(eval-when)p FA(.)p 0 1226 V 42 1307 a Fw(It)h(is)g(p)q(ermissible)g +(for)f(a)h(macro)f(call)h(to)g(expand)g(in)o(to)g(a)g(declaration)g +(and)g(b)q(e)h(rec-)0 1359 y(ognized)i(as)g(suc)o(h,)i(pro)o(vided)d +(that)i(the)f(macro)f(call)g(app)q(ears)i(where)g(a)f(declaration)0 +1411 y(ma)o(y)12 b(legitimately)g(app)q(ear.)19 b(\(Ho)o(w)o(ev)o(er,)c +(a)f(macro)f(call)g(ma)o(y)f(not)i(app)q(ear)h(in)f(place)g(of)0 +1462 y(a)g Fv(de)n(cl-sp)n(e)n(c)p Fw(.\))42 1515 y(X3J13)9 +b(v)o(oted)h(in)f(Marc)o(h)h(1988)f Ft(h)p Fw(45)p Ft(i)g +Fw(to)h(eliminate)e(the)i(recognition)f(of)h(a)f(declaration)-33 +1486 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1566 a(resulting)i(from)e(the)i(expansion)g(of)f(a)g +(macro)g(call.)16 b(This)11 b(feature)g(pro)o(v)o(ed)g(to)g(b)q(e)g +(seldom)0 1618 y(used)17 b(and)f(a)o(wkw)o(ard)g(to)g(implemen)o(t)e +(in)i(in)o(terpreters,)i(compilers,)e(and)g(other)h(co)q(de-)0 +1670 y(analyzing)c(programs.)42 1722 y(Under)18 b(this)g(c)o(hange,)h +(a)e(declaration)h(is)g(recognized)h(only)e(as)h(suc)o(h)g(if)f(it)h +(app)q(ears)0 1774 y(explicitly)m(,)11 b(as)h(a)g(list)g(whose)h +Fv(c)n(ar)f Fw(is)g(the)h(sym)o(b)q(ol)d Fs(declare)p +Fw(,)h(in)h(the)h(b)q(o)q(dy)f(of)g(a)g(relev)n(an)o(t)0 +1826 y(sp)q(ecial)k(form.)23 b(\(Note,)16 b(ho)o(w)o(ev)o(er,)h(that)f +(it)f(is)h(still)f(p)q(ossible)i(for)e(a)h(macro)f(to)g(expand)0 +1878 y(in)o(to)e(a)h(call)f(to)h(the)g Fs(proclaim)e +Fw(function.\))-33 1890 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1930 a(Eac)o(h)j Fv(de)n(cl-sp)n(e)n(c)f +Fw(is)h(a)g(list)f(whose)i Fv(c)n(ar)e Fw(is)h(a)g(sym)o(b)q(ol)e(sp)q +(ecifying)h(the)i(kind)e(of)h(decla-)0 1982 y(ration)f(to)g(b)q(e)i +(made.)j(Declarations)14 b(ma)o(y)e(b)q(e)k(divided)e(in)o(to)g(t)o(w)o +(o)g(classes:)20 b(those)c(that)0 2034 y(concern)g(the)f(bindings)e(of) +h(v)n(ariables,)f(and)h(those)h(that)f(do)g(not.)19 b(\(The)c +Fs(special)e Fw(dec-)0 2086 y(laration)d(is)i(the)g(sole)f(exception:) +18 b(it)11 b(e\013ectiv)o(ely)i(falls)d(in)o(to)h(b)q(oth)h(classes,)g +(as)g(explained)0 2138 y(b)q(elo)o(w.\))17 b(Those)11 +b(that)g(concern)h(v)n(ariable)e(bindings)g(apply)g(only)g(to)g(the)i +(bindings)e(made)0 2190 y(b)o(y)k(the)g(form)e(at)i(the)h(head)f(of)f +(whose)h(b)q(o)q(dy)g(they)h(app)q(ear.)j(F)m(or)c(example,)e(in)0 +2277 y Fs(\(defun)20 b(foo)g(\(x\))42 2329 y(\(declare)g(\(type)g +(float)g(x\)\))h(...)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 231 255 +231 254 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(DECLARA)m(TIONS)1053 +b(231)42 295 y Fs(\(let)21 b(\(\(x)235 299 y Fn(')258 +295 y Fs(a\)\))g(...\))42 347 y(...\))0 434 y Fw(the)c +Fs(type)f Fw(declaration)h(applies)f(only)g(to)g(the)i(outer)f(binding) +f(of)g Fs(x)p Fw(,)g(and)h(not)g(to)f(the)0 485 y(binding)d(made)g(in)g +(the)i Fs(let)p Fw(.)p 0 545 V 0 606 a Fm(Compatibilit)o(y)h(note:)25 +b FA(This)17 b(represen)o(ts)h(a)f(di\013erence)h(from)e(MacLisp,)j(in) +f(whic)o(h)f(t)o(yp)q(e)0 651 y(declarations)f(are)d(p)q(erv)n(asiv)o +(e.)p 0 688 V 42 768 a Fw(Declarations)20 b(that)g(do)h(not)f(concern)i +(themselv)o(es)f(with)f(v)n(ariable)f(bindings)h(are)0 +820 y(p)q(erv)n(asiv)o(e,)c(a\013ecting)f(all)f(co)q(de)i(in)f(the)h(b) +q(o)q(dy)f(of)g(the)h(sp)q(ecial)g(form.)k(As)c(an)f(example)0 +872 y(of)e(a)h(p)q(erv)n(asiv)o(e)g(declaration,)0 959 +y Fs(\(defun)20 b(foo)g(\(x)h(y\))g(\(declare)f(\(notinline)f +(floor\)\))g(...\))0 1046 y Fw(advises)f(that)f(ev)o(erywhere)j(within) +d(the)h(b)q(o)q(dy)f(of)g Fs(foo)g Fw(the)h(function)f +Fs(floor)g Fw(should)0 1098 y(not)d(b)q(e)g(op)q(en-co)q(ded)h(but)f +(called)g(as)g(an)g(out-of-line)e(subroutine.)42 1150 +y(Some)h(sp)q(ecial)h(forms)f(con)o(tain)h(pieces)h(of)f(co)q(de)h +(that,)f(prop)q(erly)g(sp)q(eaking,)g(are)h(not)0 1202 +y(part)e(of)f(the)h(b)q(o)q(dy)f(of)g(the)i(sp)q(ecial)e(form.)k +(Examples)c(of)g(this)g(are)h(initialization)d(forms)0 +1254 y(that)j(pro)o(vide)f(v)n(alues)g(for)g(b)q(ound)h(v)n(ariables,)f +(and)g(the)h(result)g(forms)f(of)g(iteration)g(con-)0 +1306 y(structs.)20 b(In)13 b(all)g(cases)i(suc)o(h)f(additional)e(co)q +(de)i(is)f(within)g(the)i(scop)q(e)f(of)f(an)o(y)g(p)q(erv)n(asiv)o(e)0 +1358 y(declarations)18 b(app)q(earing)g(b)q(efore)h(the)g(b)q(o)q(dy)f +(of)f(the)i(sp)q(ecial)g(form.)29 b(Non-p)q(erv)n(asiv)o(e)0 +1410 y(declarations)18 b(ha)o(v)o(e)f(no)h(e\013ect)h(on)f(suc)o(h)g +(co)q(de,)h(except)g(\(of)e(course\))i(in)f(those)g(situa-)0 +1462 y(tions)12 b(where)h(the)f(co)q(de)h(is)e(de\014ned)i(to)f(b)q(e)g +(within)f(the)i(scop)q(e)g(of)e(the)h(v)n(ariables)f(a\013ected)0 +1513 y(b)o(y)j(suc)o(h)g(non-p)q(erv)n(asiv)o(e)g(declarations.)k(F)m +(or)c(example:)0 1601 y Fs(\(defun)20 b(few)g(\(x)h(&optional)f(\(y)g +(*print-circle*\)\))42 1653 y(\(declare)g(\(special)f +(*print-circle*\)\))42 1704 y(...\))0 1791 y Fw(The)e(reference)h(to)e +Fs(*print-circle*)e Fw(in)h(the)i(\014rst)g(line)f(of)f(this)i(example) +d(is)i(sp)q(ecial)0 1843 y(b)q(ecause)g(of)d(the)h(declaration)g(in)f +(the)i(second)g(line.)0 1930 y Fs(\(defun)20 b(nonsense)f(\(k)i(x)g +(z\))42 1982 y(\(foo)g(z)g(x\))317 b(;)p Fw(First)14 +b(call)f(to)h Fs(foo)42 2034 y(\(let)21 b(\(\(j)f(\(foo)h(k)g(x\)\))105 +b(;)p Fw(Second)14 b(call)f(to)h Fs(foo)169 2086 y(\(x)21 +b(\(*)g(k)g(k\)\)\))85 2138 y(\(declare)e(\(inline)h(foo\))g(\(special) +g(x)h(z\)\))85 2190 y(\(foo)f(x)h(j)g(z\)\)\))190 b(;)p +Fw(Third)13 b(call)g(to)h Fs(foo)0 2277 y Fw(In)21 b(this)f(rather)i +(nonsensical)e(example,)h(the)g Fs(inline)e Fw(declaration)h(applies)h +(to)f(the)0 2329 y(second)10 b(and)g(third)f(calls)g(to)g +Fs(foo)p Fw(,)g(but)g(not)h(to)f(the)h(\014rst)g(one.)16 +b(The)10 b Fs(special)e Fw(declaration)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 232 256 +232 255 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(232)77 b(COMMON)13 +b(LISP)0 295 y Fw(of)19 b Fs(x)h Fw(causes)i(the)e Fs(let)g +Fw(form)e(to)i(mak)o(e)e(a)i(sp)q(ecial)g(binding)f(for)h +Fs(x)g Fw(and)g(causes)h(the)0 347 y(reference)16 b(to)e +Fs(x)f Fw(in)h(the)g(b)q(o)q(dy)g(of)f(the)h Fs(let)f +Fw(to)h(b)q(e)g(a)g(sp)q(ecial)g(reference.)20 b(The)14 +b(reference)0 399 y(to)h Fs(x)h Fw(in)f(the)h(second)h(call)e(to)g +Fs(foo)g Fw(is)h(also)f(a)g(sp)q(ecial)h(reference.)25 +b(The)16 b(reference)j(to)c Fs(x)0 450 y Fw(in)h(the)i(\014rst)f(call)f +(to)h Fs(foo)f Fw(is)g(a)h(lo)q(cal)f(reference,)j(not)e(a)f(sp)q +(ecial)h(one.)27 b(The)17 b Fs(special)0 502 y Fw(declaration)g(of)f +Fs(z)h Fw(causes)h(the)f(reference)j(to)d Fs(z)f Fw(in)h(the)g(call)f +(to)h Fs(foo)g Fw(to)f(b)q(e)i(a)e(sp)q(ecial)0 554 y(reference;)k(it)d +(will)e(not)i(refer)h(to)f(the)h(parameter)e(to)h Fs(nonsense)e +Fw(named)h Fs(z)p Fw(,)h(b)q(ecause)0 606 y(that)d(parameter)g(binding) +f(has)h(not)g(b)q(een)i(declared)f(to)f(b)q(e)g Fs(special)p +Fw(.)k(\(The)c Fs(special)0 658 y Fw(declaration)i(of)g +Fs(z)g Fw(do)q(es)i(not)e(app)q(ear)h(in)f(the)h(b)q(o)q(dy)g(of)f(the) +h Fs(defun)p Fw(,)e(but)i(in)f(an)g(inner)0 710 y(construct,)f(and)f +(therefore)h(do)q(es)g(not)f(a\013ect)g(the)h(binding)e(of)g(the)i +(parameter.\))42 763 y(X3J13)c(v)o(oted)i(in)e(Jan)o(uary)h(1989)f +Ft(h)p Fw(42)p Ft(i)h Fw(to)g(replace)h(the)g(rules)g(concerning)g(the) +g(scop)q(e)-33 735 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 815 a(of)g(declarations)h(o)q(ccurring)h(at)f(the)g +(head)g(of)f(a)h(sp)q(ecial)g(form)e(or)i(lam)o(b)q(da-expression:)0 +895 y Fu(.)42 904 y Fw(The)h(scop)q(e)h(of)e(a)h(declaration)g(alw)o(a) +o(ys)f(includes)h(the)h(b)q(o)q(dy)f(forms,)e(as)i(w)o(ell)f(as)h(an)o +(y)42 956 y(\\stepp)q(er")i(or)f(\\result")h(forms)e(\(whic)o(h)h(are)h +(logically)d(part)i(of)g(the)h(b)q(o)q(dy\),)f(of)g(the)42 +1007 y(sp)q(ecial)e(form)e(or)i(lam)o(b)q(da-expression.)0 +1098 y Fu(.)42 1107 y Fw(If)e(the)i(declaration)f(applies)f(to)h(a)g +(name)f(binding,)g(then)i(the)f(scop)q(e)i(of)d(the)i(declara-)42 +1159 y(tion)f(also)g(includes)h(the)h(scop)q(e)g(of)e(the)i(name)d +(binding.)0 1247 y(Note)h(that)f(the)h(distinction)f(b)q(et)o(w)o(een)i +(p)q(erv)n(asiv)o(e)f(and)f(non-p)q(erv)n(asiv)o(e)g(declarations)h(is) +0 1299 y(eliminated.)i(An)d(imp)q(ortan)o(t)e(c)o(hange)i(from)e(the)i +(\014rst)h(edition)e(is)g(that)h(\\initialization")0 +1351 y(forms)f(are)j(sp)q(eci\014cally)f Fv(not)g Fw(included)f(as)h +(part)g(of)f(the)i(b)q(o)q(dy)f(under)g(the)g(\014rst)h(rule;)f(on)0 +1403 y(the)j(other)g(hand,)f(in)g(man)o(y)e(cases)k(initialization)c +(forms)h(ma)o(y)f(fall)h(within)h(the)h(scop)q(e)0 1455 +y(of)d(certain)i(declarations)f(under)g(the)h(second)g(rule.)-33 +1467 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1508 a(X3J13)c(also)h(v)o(oted)g(in)f(Jan)o(uary)h +(1989)f Ft(h)p Fw(46)p Ft(i)h Fw(to)g(c)o(hange)g(the)h(in)o +(terpretation)f(of)g Fs(type)-33 1480 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1560 a Fw(declarations)i(\(see)h(section)g(9.2\).)-33 +1572 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1614 a(These)i(c)o(hanges)g(a\013ect)g(the)g(in)o +(terpretation)g(of)f(some)f(of)h(the)h(examples)f(from)e(the)-33 +1585 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1666 a(\014rst)h(edition.)0 1766 y Fs(\(defun)20 +b(foo)g(\(x\))42 1818 y(\(declare)g(\(type)g(float)g(x\)\))h(...)42 +1870 y(\(let)g(\(\(x)235 1874 y Fn(')258 1870 y Fs(a\)\))g(...\))42 +1922 y(...\))0 2021 y Fw(Under)15 b(the)g(in)o(terpretation)f(appro)o +(v)o(ed)g(b)o(y)g(X3J13,)f(the)i(t)o(yp)q(e)f(declaration)g(applies)g +(to)0 2073 y Fv(b)n(oth)19 b Fw(bindings)f(of)h Fs(x)p +Fw(.)32 b(More)20 b(accurately)m(,)f(the)h(t)o(yp)q(e)f(declaration)g +(is)g(considered)h(to)0 2124 y(apply)d(to)g(v)n(ariable)g(references)j +(rather)e(than)g(bindings,)f(and)h(the)g(t)o(yp)q(e)g(declaration)0 +2176 y(refers)d(to)e(ev)o(ery)i(reference)h(in)d(the)h(b)q(o)q(dy)f(of) +g Fs(foo)g Fw(to)g(a)h(v)n(ariable)e(named)g Fs(x)p Fw(,)h(no)g(matter) +0 2228 y(to)h(what)g(binding)e(it)i(ma)o(y)e(refer.)0 +2329 y Fs(\(defun)20 b(foo)g(\(x)h(y\))g(\(declare)f(\(notinline)f +(floor\)\))g(...\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 233 257 +233 256 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(DECLARA)m(TIONS)1053 +b(233)0 295 y Fw(This)17 b(example)e(of)h(the)i(use)g(of)e +Fs(notinline)f Fw(stands)i(unc)o(hanged,)h(but)f(the)g(follo)o(wing)0 +347 y(sligh)o(t)c(extension)i(of)e(it)g(w)o(ould)h(c)o(hange:)0 +447 y Fs(\(defun)20 b(foo)g(\(x)h(&optional)f(\(y)g(\(floor)g(x\)\)\)) +42 499 y(\(declare)g(\(notinline)f(floor\)\))h(...\))0 +598 y Fw(Under)d(\014rst)f(edition)g(rules,)g(the)h Fs(notinline)d +Fw(declaration)h(w)o(ould)g(b)q(e)i(considered)g(to)0 +650 y(apply)12 b(to)g(the)h(call)f(to)g Fs(floor)f Fw(in)h(the)h +(initialization)d(form)g(for)i Fs(y)p Fw(.)18 b(Under)13 +b(the)g(in)o(terpre-)0 702 y(tation)f(appro)o(v)o(ed)h(b)o(y)g(X3J13,)f +(the)h Fs(notinline)e Fw(w)o(ould)h Fv(not)h Fw(apply)f(to)h(that)g +(particular)0 753 y(call)g(to)h Fs(floor)p Fw(.)j(Instead)d(the)h(user) +g(m)o(ust)e(write)h(something)f(lik)o(e)0 854 y Fs(\(defun)20 +b(foo)g(\(x)h(&optional)f(\(y)g(\(locally)g(\(declare)f(\(notinline)g +(floor\)\))762 906 y(\(floor)h(x\)\)\)\))42 958 y(\(declare)g +(\(notinline)f(floor\)\))h(...\))0 1056 y Fw(or)14 b(p)q(erhaps)0 +1157 y Fs(\(locally)20 b(\(declare)f(\(notinline)g(floor\)\))42 +1209 y(\(defun)h(foo)h(\(x)g(&optional)e(\(y)i(\(floor)f(x\)\)\))g +(...\)\))0 1308 y Fw(Similarly)l(,)11 b(the)j Fs(special)e +Fw(declaration)i(in)0 1408 y Fs(\(defun)20 b(few)g(\(x)h(&optional)f +(\(y)g(*print-circle*\)\))42 1460 y(\(declare)g(\(special)f +(*print-circle*\)\))42 1512 y(...\))0 1611 y Fw(is)c(not)g(considered)i +(to)e(apply)g(to)g(the)h(reference)i(in)d(the)h(initialization)c(form)i +(for)h Fs(y)g Fw(in)0 1663 y Fs(few)p Fw(.)i(As)e(for)e(the)i +Fs(nonsense)d Fw(example,)0 1763 y Fs(\(defun)20 b(nonsense)f(\(k)i(x)g +(z\))42 1815 y(\(foo)g(z)g(x\))317 b(;)p Fw(First)14 +b(call)f(to)h Fs(foo)42 1867 y(\(let)21 b(\(\(j)f(\(foo)h(k)g(x\)\))105 +b(;)p Fw(Second)14 b(call)f(to)h Fs(foo)169 1919 y(\(x)21 +b(\(*)g(k)g(k\)\)\))85 1970 y(\(declare)e(\(inline)h(foo\))g(\(special) +g(x)h(z\)\))85 2022 y(\(foo)f(x)h(j)g(z\)\)\))190 b(;)p +Fw(Third)13 b(call)g(to)h Fs(foo)0 2121 y Fw(under)19 +b(the)h(in)o(terpretation)f(appro)o(v)o(ed)f(b)o(y)h(X3J13,)g(the)g +Fs(inline)e Fw(declaration)h(is)h(no)0 2173 y(longer)c(considered)i(to) +f(apply)e(to)i(the)g(second)h(call)d(to)i Fs(foo)p Fw(,)f(b)q(ecause)i +(it)e(is)g(in)g(an)h(ini-)0 2225 y(tialization)10 b(form,)h(whic)o(h)h +(is)g(no)g(longer)g(considered)h(in)f(the)h(scop)q(e)g(of)f(the)g +(declaration.)0 2277 y(Similarly)l(,)d(the)k(reference)h(to)e +Fs(x)f Fw(in)h(that)g(second)h(call)e(to)h Fs(foo)f Fw(is)h(no)g +(longer)f(tak)o(en)h(to)g(b)q(e)0 2329 y(a)f(sp)q(ecial)g(reference,)j +(but)d(a)g(lo)q(cal)g(reference)i(to)e(the)h(second)g(parameter)f(of)g +Fs(nonsense)p Fw(.)-33 2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 234 258 +234 257 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(234)77 b(COMMON)13 b(LISP)-38 270 y Fk(.)-38 +283 y(.)-38 296 y(.)-38 309 y(.)-38 322 y(.)-38 335 y(.)-38 +348 y(.)-38 361 y(.)-38 373 y(.)-38 386 y(.)-38 399 y(.)-38 +412 y(.)-38 425 y(.)-38 438 y(.)-38 451 y(.)-38 464 y(.)-38 +477 y(.)-38 490 y(.)-38 503 y(.)-38 516 y(.)-38 529 y(.)-38 +542 y(.)-38 555 y(.)-38 568 y(.)-38 581 y(.)-38 594 y(.)-38 +607 y(.)-38 620 y(.)-38 633 y(.)-38 646 y(.)-38 659 y(.)-38 +672 y(.)-38 685 y(.)-38 698 y(.)-38 711 y(.)-38 724 y(.)-38 +737 y(.)-38 750 y(.)-38 763 y(.)-38 776 y(.)-38 789 y(.)-38 +802 y(.)-38 815 y(.)-38 828 y(.)-38 840 y(.)-38 853 y(.)-38 +866 y(.)-38 879 y(.)-38 892 y(.)-38 905 y(.)-38 918 y(.)-38 +931 y(.)-38 944 y(.)-38 957 y(.)-38 970 y(.)-38 983 y(.)-38 +996 y(.)-38 1009 y(.)-38 1022 y(.)-38 1035 y(.)-38 1048 +y(.)-38 1061 y(.)-38 1074 y(.)-38 1087 y(.)-38 1100 y(.)-38 +1113 y(.)-38 1126 y(.)-38 1139 y(.)-38 1152 y(.)-38 1165 +y(.)-38 1178 y(.)-38 1191 y(.)-38 1204 y(.)-38 1217 y(.)-38 +1230 y(.)-38 1243 y(.)-38 1256 y(.)-38 1269 y(.)-38 1282 +y(.)-38 1295 y(.)-38 1307 y(.)-38 1320 y(.)-38 1333 y(.)-38 +1346 y(.)-38 1359 y(.)-38 1372 y(.)-38 1385 y(.)-38 1398 +y(.)-38 1411 y(.)-38 1424 y(.)-38 1437 y(.)-38 1450 y(.)-38 +1463 y(.)-38 1476 y(.)-38 1489 y(.)-38 1502 y(.)-38 1515 +y(.)-38 1528 y(.)-38 1541 y(.)-38 1554 y(.)-38 1567 y(.)-38 +1580 y(.)-38 1593 y(.)-38 1606 y(.)-38 1619 y(.)-38 1632 +y(.)-38 1645 y(.)-38 1658 y(.)-38 1671 y(.)-38 1684 y(.)-38 +1697 y(.)-38 1710 y(.)-38 1723 y(.)-38 1736 y(.)-38 1749 +y(.)-38 1762 y(.)-38 1774 y(.)-38 1787 y(.)-38 1800 y(.)-38 +1813 y(.)-38 1826 y(.)-38 1839 y(.)-38 1852 y(.)-38 1865 +y(.)-38 1878 y(.)-38 1891 y(.)-38 1904 y(.)-38 1917 y(.)-38 +1930 y(.)-38 1943 y(.)-38 1956 y(.)-38 1969 y(.)-38 1982 +y(.)-38 1995 y(.)-38 2008 y(.)-38 2021 y(.)-38 2034 y(.)-38 +2047 y(.)-38 2060 y(.)-38 2073 y(.)-38 2086 y(.)-38 2099 +y(.)-38 2112 y(.)-38 2125 y(.)-38 2138 y(.)-38 2151 y(.)-38 +2164 y(.)-38 2177 y(.)-38 2190 y(.)-38 2203 y(.)-38 2216 +y(.)-38 2229 y(.)-38 2241 y(.)-38 2254 y(.)-38 2267 y(.)-38 +2280 y(.)-38 2293 y(.)-38 2306 y(.)-38 2319 y(.)-38 2332 +y(.)-38 2345 y(.)-38 2358 y(.)-38 2371 y(.)-38 2384 y(.)-38 +2397 y(.)-38 2410 y(.)-38 2423 y(.)-38 2436 y(.)-38 2449 +y(.)-38 2462 y(.)-38 2475 y(.)-38 2488 y(.)-38 2501 y(.)-38 +2514 y(.)-38 2527 y(.)-38 2540 y(.)-38 2553 y(.)-38 2566 +y(.)-38 2579 y(.)-38 2592 y(.)-38 2605 y(.)-38 2618 y(.)-38 +2631 y(.)-38 2644 y(.)-38 2657 y(.)-38 2670 y(.)-38 2683 +y(.)-38 2696 y(.)-38 2708 y(.)-38 2721 y(.)-38 2734 y(.)-38 +2747 y(.)-38 2760 y(.)-38 2773 y(.)-38 2786 y(.)-38 2799 +y(.)-38 2812 y(.)-38 2825 y(.)-38 2838 y(.)-38 2851 y(.)1255 +295 y Fw([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(locally)40 +b Ft(f)p Fv(de)n(clar)n(ation)p Ft(g)433 280 y Fl(\003)481 +295 y Ft(f)6 b Fv(form)p Ft(g)615 280 y Fl(\003)0 372 +y Fw(This)14 b(macro)g(ma)o(y)e(b)q(e)j(used)h(to)e(mak)o(e)f(lo)q(cal) +h(p)q(erv)n(asiv)o(e)h(declarations)f(where)i(desired.)0 +423 y(It)e(do)q(es)g(not)g(bind)f(an)o(y)h(v)n(ariables)f(and)g +(therefore)j(cannot)d(b)q(e)i(used)f(meaningfully)d(for)0 +475 y(declarations)i(of)e(v)n(ariable)h(bindings.)17 +b(\(Note)c(that)f(the)h Fs(special)e Fw(declaration)i(ma)o(y)d(b)q(e)0 +527 y(used)j(with)e Fs(locally)f Fw(to)i(p)q(erv)n(asiv)o(ely)f +(a\013ect)i(references)i(to,)c(rather)i(than)f(bindings)f(of,)0 +579 y(v)n(ariables.\))17 b(F)m(or)d(example:)0 662 y +Fs(\(locally)20 b(\(declare)f(\(inline)h(floor\))g(\(notinline)f(car)h +(cdr\)\))191 714 y(\(declare)f(\(optimize)g(space\)\))42 +766 y(\(floor)h(\(car)h(x\))f(\(cdr)h(y\)\)\))-33 782 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 849 a Fw(X3J13)16 b(v)o(oted)h(in)f(Jan)o(uary)h(1989)e +Ft(h)p Fw(156)p Ft(i)h Fw(to)h(sp)q(ecify)g(that)g Fs(locally)e +Fw(executes)k(the)-33 821 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 901 a Fv(form)s Fw(s)14 b(as)g(an)f(implicit)f +Fs(progn)g Fw(and)i(returns)i(the)e(v)n(alue\(s\))g(of)f(the)i(last)e +Fv(form)p Fw(.)-33 913 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 953 a(X3J13)e(v)o(oted)g(in)g(Marc)o(h)h(1989)e +Ft(h)p Fw(113)p Ft(i)h Fw(to)g(mak)o(e)f Fs(locally)g +Fw(b)q(e)i(a)g(sp)q(ecial)f(form)f(rather)-33 925 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1005 a(than)k(a)f(macro.)k(It)d(still)f(has)h(the)h +(same)e(syn)o(tax.)-33 1092 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1145 1120 a([)p Fv(Sp)n(e)n(cial)i(form)s +Fw(])-1396 b Fs(locally)40 b Ft(f)p Fv(de)n(clar)n(ation)p +Ft(g)433 1105 y Fl(\003)481 1120 y Ft(f)6 b Fv(form)p +Ft(g)615 1105 y Fl(\003)0 1197 y Fw(This)15 b(c)o(hange)h(w)o(as)f +(made)f(to)i(accommo)q(date)d(the)j(new)g(compilation)c(mo)q(del)i(for) +h(top-)0 1249 y(lev)o(el)f(forms)f(in)h(a)g(\014le)h(\(see)h(section)f +(25.1\).)k(When)14 b(a)g Fs(locally)f Fw(form)g(app)q(ears)i(at)g(top)0 +1301 y(lev)o(el,)d(the)i(forms)d(in)i(its)g(b)q(o)q(dy)g(are)g(pro)q +(cessed)i(as)e(top-lev)o(el)f(forms.)17 b(This)c(means)f(that)0 +1353 y(one)h(ma)o(y)m(,)c(for)j(example,)f(meaningfully)f(use)j +Fs(locally)e Fw(to)h(wrap)g(declarations)h(around)0 1405 +y(a)h Fs(defun)e Fw(or)i Fs(defmacro)e Fw(form:)0 1488 +y Fs(\(locally)42 1540 y(\(declare)20 b(\(optimize)f(\(safety)h(3\))h +(\(space)f(3\))g(\(debug)g(3\))h(\(speed)f(1\)\)\))42 +1592 y(\(defun)g(foo)h(\(x)g(&optional)e(\(y)i(\(abs)f(x\)\))h(\(z)f +(\(sqrt)g(y\)\)\))85 1643 y(\(bar)g(x)h(y)g(z\)\)\))0 +1727 y Fw(Without)d(assurance)i(that)f(this)g(w)o(orks)g(one)g(m)o(ust) +e(write)i(something)f(cum)o(b)q(ersome)0 1779 y(suc)o(h)d(as)0 +1914 y Fs(\(defun)20 b(foo)g(\(x)h(&optional)f(\(y)g(\(locally)635 +1966 y(\(declare)g(\(optimize)f(\(safety)h(3\))1037 2017 +y(\(space)g(3\))1037 2069 y(\(debug)g(3\))1037 2121 y(\(speed)g +(1\)\)\))635 2173 y(\(abs)g(x\)\)\))529 2225 y(\(z)h(\(locally)635 +2277 y(\(declare)f(\(optimize)f(\(safety)h(3\))1037 2329 +y(\(space)g(3\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 235 259 +235 258 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(DECLARA)m(TIONS)1053 +b(235)1037 295 y Fs(\(debug)20 b(3\))1037 347 y(\(speed)g(1\)\)\))635 +399 y(\(sqrt)g(y\)\)\)\))42 450 y(\(locally)85 502 y(\(declare)f +(\(optimize)h(\(safety)f(3\))i(\(space)f(3\))h(\(debug)f(3\))g(\(speed) +g(1\)\)\))85 554 y(\(bar)g(x)h(y)g(z\)\)\))-33 570 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1774 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 236 260 +236 259 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(236)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(proclaim)20 b Fv(de)n(cl)p Fs(-)p Fv(sp)n(e)n(c)0 +372 y Fw(The)15 b(function)g Fs(proclaim)e Fw(tak)o(es)i(a)f +Fv(de)n(cl-sp)n(e)n(c)h Fw(as)f(its)h(argumen)o(t)f(and)g(puts)h(it)g +(in)o(to)f(ef-)0 424 y(fect)j(globally)m(.)25 b(\(Suc)o(h)17 +b(a)g(global)e(declaration)h(is)h(called)g(a)f Fv(pr)n(o)n(clamation)p +Fw(.\))27 b(Because)0 476 y Fs(proclaim)13 b Fw(is)h(a)g(function,)g +(its)h(argumen)o(t)e(is)i(alw)o(a)o(ys)e(ev)n(aluated.)20 +b(This)14 b(allo)o(ws)g(a)g(pro-)0 528 y(gram)9 b(to)i(compute)f(a)g +(declaration)h(and)f(then)i(put)e(it)h(in)o(to)f(e\013ect)i(b)o(y)f +(calling)e Fs(proclaim)p Fw(.)42 580 y(An)o(y)k(v)n(ariable)g(names)g +(men)o(tioned)f(are)i(assumed)g(to)f(refer)i(to)f(the)g(dynamic)e(v)n +(alues)0 632 y(of)h(the)i(v)n(ariable.)i(F)m(or)c(example,)f(the)j(pro) +q(clamation)0 721 y Fs(\(proclaim)215 725 y Fn(')238 +721 y Fs(\(type)21 b(float)f(tolerance\)\))0 809 y Fw(once)c(executed,) +h(sp)q(eci\014es)g(that)e(the)g(dynamic)f(v)n(alue)g(of)h +Fs(tolerance)e Fw(should)i(alw)o(a)o(ys)0 861 y(b)q(e)21 +b(a)f(\015oating-p)q(oin)o(t)f(n)o(um)o(b)q(er.)38 b(Similarl)o(y)m(,) +19 b(an)o(y)h(function-names)f(men)o(tioned)g(are)0 913 +y(assumed)14 b(to)f(refer)i(to)f(the)g(global)f(function)g +(de\014nition.)42 965 y(A)i(pro)q(clamation)f(constitutes)j(a)f(univ)o +(ersal)g(declaration,)f(alw)o(a)o(ys)g(in)g(force)i(unless)0 +1017 y(lo)q(cally)12 b(shado)o(w)o(ed.)19 b(F)m(or)13 +b(example,)0 1106 y Fs(\(proclaim)215 1110 y Fn(')238 +1106 y Fs(\(inline)20 b(floor\)\))0 1194 y Fw(advises)f(that)g +Fs(floor)e Fw(should)i(normally)d(b)q(e)j(op)q(en-co)q(ded)h(in-line)d +(b)o(y)i(the)g(compiler)0 1246 y(\(but)14 b(in)g(the)g(situation)0 +1335 y Fs(\(defun)20 b(foo)g(\(x)h(y\))g(\(declare)f(\(notinline)f +(floor\)\))g(...\))0 1424 y Fw(it)g(will)f(b)q(e)i(compiled)e +(out-of-line)g(an)o(yw)o(a)o(y)g(in)h(the)h(b)q(o)q(dy)g(of)e +Fs(foo)p Fw(,)i(b)q(ecause)h(of)e(the)0 1475 y(shado)o(wing)13 +b(lo)q(cal)g(declaration)h(to)f(that)h(e\013ect\).)42 +1528 y(X3J13)e(v)o(oted)g(in)g(Jan)o(uary)g(1989)f Ft(h)p +Fw(164)p Ft(i)h Fw(to)g(clarify)g(that)g(suc)o(h)h(shado)o(wing)f(do)q +(es)h(not)-33 1499 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1580 a(o)q(ccur)g(in)f(the)g(case)h(of)f(t)o(yp)q(e)g +(declarations.)18 b(If)11 b(there)i(is)f(a)g(lo)q(cal)f(t)o(yp)q(e)i +(declaration)e(for)h(a)0 1631 y(sp)q(ecial)g(v)n(ariable)e(and)i(there) +g(is)g(also)f(a)g(global)f(pro)q(clamation)f(for)i(that)h(same)e(v)n +(ariable,)0 1683 y(then)i(the)f(v)n(alue)f(of)g(the)i(v)n(ariable)e +(within)g(the)h(scop)q(e)h(of)e(the)i(lo)q(cal)e(declaration)g(m)o(ust) +g(b)q(e)0 1735 y(a)h(mem)o(b)q(er)e(of)h(the)h(in)o(tersection)h(of)e +(the)i(t)o(w)o(o)e(declared)i(t)o(yp)q(es.)18 b(This)10 +b(is)h(consisten)o(t)h(with)0 1787 y(the)i(treatmen)o(t)f(of)g(nested)i +(lo)q(cal)e(t)o(yp)q(e)h(declarations)g(on)f(whic)o(h)g(X3J13)h(also)f +(v)o(oted)g(in)0 1839 y(Jan)o(uary)h(1989)f Ft(h)p Fw(46)p +Ft(i)p Fw(.)-33 1851 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1891 a(As)19 b(a)f(sp)q(ecial)h(case)h(\(so)f(to)g(sp)q +(eak\),)h Fs(proclaim)d Fw(treats)j(a)f Fs(special)e +Fv(de)n(cl-sp)n(e)n(c)i Fw(as)0 1943 y(applying)11 b(to)g(all)g +(bindings)g(as)i(w)o(ell)e(as)h(to)g(all)e(references)15 +b(of)c(the)i(men)o(tioned)e(v)n(ariables.)42 1995 y Fv(Notic)n(e)24 +b(of)g(c)n(orr)n(e)n(ction.)48 b Fw(In)24 b(the)h(\014rst)g(edition,)h +(this)e(sen)o(tence)j(referred)f(to)e(a)-33 1967 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2047 a(\\)p Fs(special)17 b Fv(de)n(clar)n(ation-form)p +Fw(.")29 b(That)19 b(w)o(as)f(incorrect;)j Fs(proclaim)c +Fw(accepts)j(only)d(a)0 2099 y Fv(de)n(cl-sp)n(e)n(c)p +Fw(,)c(not)h(a)g Fv(de)n(clar)n(ation-form)p Fw(.)-33 +2111 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2151 a(F)m(or)f(example,)f(after)0 2240 +y Fs(\(proclaim)215 2244 y Fn(')238 2240 y Fs(\(special)20 +b(x\)\))0 2329 y Fw(in)13 b(a)h(function)g(de\014nition)f(suc)o(h)i(as) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 237 261 +237 260 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(DECLARA)m(TIONS)1053 +b(237)0 295 y Fs(\(defun)20 b(example)g(\(x\))g(...\))0 +379 y Fw(the)11 b(parameter)g Fs(x)f Fw(will)g(b)q(e)h(b)q(ound)g(as)g +(a)g(sp)q(ecial)g(\(dynamic\))e(v)n(ariable)h(rather)h(than)g(as)g(a)0 +431 y(lexical)i(\(static\))h(v)n(ariable.)i(This)e(facilit)o(y)e +(should)h(b)q(e)h(used)g(with)f(caution.)18 b(The)c(usual)0 +483 y(w)o(a)o(y)f(to)h(de\014ne)h(a)e(globally)f(sp)q(ecial)i(v)n +(ariable)f(is)h(with)f Fs(defvar)g Fw(or)h Fs(defparameter)p +Fw(.)42 557 y(X3J13)e(v)o(oted)h(in)f(June)i(1989)e Ft(h)p +Fw(144)p Ft(i)g Fw(to)h(clarify)f(that)h(the)g(compiler)e(is)i(not)g +(required)-33 529 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 609 a(to)18 b(treat)g(calls)f(to)h Fs(proclaim)e +Fw(an)o(y)h(di\013eren)o(tly)h(from)e(the)i(w)o(a)o(y)f(it)g(treats)i +(an)o(y)e(other)0 661 y(function)c(call.)k(If)c(a)g(top-lev)o(el)g +(call)g(to)g Fs(proclaim)f Fw(is)h(to)g(tak)o(e)h(e\013ect)h(at)e +(compile)f(time,)0 713 y(it)j(should)g(b)q(e)h(surrounded)g(b)o(y)f(an) +g(appropriate)g Fs(eval-when)f Fw(form.)20 b(Better)d(y)o(et,)e(the)0 +765 y(new)f(macro)f Fs(declaim)f Fw(ma)o(y)g(b)q(e)j(used)g(instead.) +-33 857 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 886 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(declaim)40 b Ft(f)p Fv(de)n(cl-sp)n(e)n(c)p Ft(g)391 +871 y Fl(\003)0 963 y Fw(This)15 b(macro)g(is)g(syn)o(tactically)g(lik) +o(e)g Fs(declare)f Fw(and)h(seman)o(tically)f(lik)o(e)g +Fs(proclaim)p Fw(.)22 b(It)0 1014 y(is)17 b(an)g(executable)h(form)d +(and)i(ma)o(y)e(b)q(e)i(used)h(an)o(ywhere)g Fs(proclaim)d +Fw(ma)o(y)g(b)q(e)i(called.)0 1066 y(Ho)o(w)o(ev)o(er,)d(eac)o(h)g +Fv(de)n(cl-sp)n(e)n(c)g Fw(is)g(not)g(ev)n(aluated.)42 +1118 y(If)g(a)g(call)f(to)i(this)f(macro)f(app)q(ears)j(at)e(top)g(lev) +o(el)g(in)g(a)g(\014le)h(b)q(eing)f(pro)q(cessed)j(b)o(y)d(the)0 +1170 y(\014le)e(compiler,)f(the)h(pro)q(clamations)f(are)h(also)f(made) +g(at)h(compile)f(time.)16 b(As)c(with)g(other)0 1222 +y(de\014ning)h(macros,)f(it)h(is)g(unsp)q(eci\014ed)h(whether)h(or)e +(not)g(the)g(compile-time)d(side)k(e\013ects)0 1274 y(of)f(a)h +Fs(declaim)e Fw(p)q(ersist)j(after)g(the)f(\014le)g(has)g(b)q(een)h +(compiled)d(\(see)j(section)g(25.1\).)-33 1286 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1416 a Fo(9.2.)20 b(Declaration)14 b(Sp)r(eci\014ers)0 +1500 y Fw(Here)j(is)f(a)g(list)f(of)h(v)n(alid)e(declaration)i(sp)q +(eci\014ers)i(for)e(use)h(in)e Fs(declare)p Fw(.)23 b(A)16 +b(construct)0 1551 y(is)i(said)h(to)f(b)q(e)h(\\a\013ected")h(b)o(y)e +(a)g(declaration)h(if)e(it)h(o)q(ccurs)i(within)e(the)h(scop)q(e)h(of)e +(a)0 1603 y(declaration.)0 1703 y Fs(special)0 1762 y(\(special)i +Fv(var1)h(var2)g Fs(...\))13 b Fw(sp)q(eci\014es)j(that)e(all)f(of)h +(the)g(v)n(ariables)g(named)f(are)h(to)g(b)q(e)0 1814 +y(considered)f Fv(sp)n(e)n(cial)p Fw(.)k(This)11 b(sp)q(eci\014er)i +(a\013ects)g(v)n(ariable)e(bindings)f(but)i(also)f(p)q(erv)n(asiv)o +(ely)0 1866 y(a\013ects)22 b(references.)39 b(All)20 +b(v)n(ariable)f(bindings)g(a\013ected)j(are)f(made)e(to)h(b)q(e)g +(dynamic)0 1918 y(bindings,)10 b(and)h(a\013ected)h(v)n(ariable)e +(references)k(refer)e(to)f(the)g(curren)o(t)i(dynamic)c(binding)0 +1970 y(rather)15 b(than)f(to)f(the)i(curren)o(t)g(lo)q(cal)e(binding.)k +(F)m(or)d(example:)0 2069 y Fs(\(defun)20 b(hack)g(\(thing)g(*mod*\)) +147 b(;)p Fw(The)14 b(binding)f(of)g(the)i(parameter)42 +2121 y Fs(\(declare)20 b(\(special)f(*mod*\)\))105 b(;)21 +b(*mod*)13 b Fw(is)g(visible)h(to)f Fs(hack1)p Fw(,)42 +2173 y Fs(\(hack1)20 b(\(car)h(thing\)\)\))210 b(;)21 +b Fw(but)14 b(not)g(that)f(of)h Fs(thing)0 2277 y(\(defun)20 +b(hack1)g(\(arg\))42 2329 y(\(declare)g(\(special)f(*mod*\)\))105 +b(;)p Fw(Declare)14 b(references)j(to)c Fs(*mod*)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 238 262 +238 261 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(238)77 b(COMMON)13 +b(LISP)677 295 y Fs(;)21 b Fw(within)14 b Fs(hack1)e +Fw(to)i(b)q(e)h(sp)q(ecial)42 347 y Fs(\(if)21 b(\(atom)f(arg\))g +(*mod*)127 399 y(\(cons)g(\(hack1)g(\(car)g(arg\)\))h(\(hack1)e(\(cdr)i +(arg\)\)\)\)\))0 514 y Fw(Note)e(that)f(it)g(is)g(con)o(v)o(en)o +(tional,)g(though)h(not)f(required,)i(to)e(giv)o(e)g(sp)q(ecial)g(v)n +(ariables)0 565 y(names)13 b(that)h(b)q(egin)g(and)g(end)g(with)g(an)f +(asterisk.)42 619 y(A)g Fs(special)f Fw(declaration)h(do)q(es)h +Fv(not)f Fw(a\013ect)h(bindings)f(p)q(erv)n(asiv)o(ely)m(.)k(Inner)d +(bindings)0 671 y(of)g(a)f(v)n(ariable)g(implicitly)e(shado)o(w)j(a)g +Fs(special)f Fw(declaration)h(and)g(m)o(ust)f(b)q(e)i(explicitly)0 +723 y(re-declared)f(to)d(b)q(e)i(sp)q(ecial.)18 b(\(Ho)o(w)o(ev)o(er,) +12 b(a)g Fs(special)f Fw(pro)q(clamation)f Fv(do)n(es)i +Fw(p)q(erv)n(asiv)o(ely)0 774 y(a\013ect)18 b(bindings;)f(this)g +(exception)h(is)e(made)g(for)g(reasons)i(of)e(con)o(v)o(enience)i(and)f +(com-)0 826 y(patibilit)o(y)12 b(with)h(MacLisp.\))19 +b(F)m(or)13 b(example:)0 943 y Fs(\(proclaim)215 947 +y Fn(')238 943 y Fs(\(special)20 b(x\)\))105 b(;x)14 +b Fw(is)f(alw)o(a)o(ys)g(sp)q(ecial)0 1047 y Fs(\(defun)20 +b(example)g(\(x)g(y\))42 1099 y(\(declare)g(\(special)f(y\)\))42 +1150 y(\(let)i(\(\(y)f(3\))h(\(x)g(\(*)g(x)f(2\)\)\))85 +1202 y(\(print)g(\(+)g(y)h(\(locally)f(\(declare)f(\(special)h(y\)\))g +(y\)\)\))85 1254 y(\(let)g(\(\(y)h(4\)\))f(\(declare)g(\(special)f +(y\)\))i(\(foo)f(x\)\)\)\))0 1369 y Fw(In)15 b(the)h(con)o(torted)f(co) +q(de)h(ab)q(o)o(v)o(e,)f(the)g(outermost)g(and)g(innermost)f(bindings)g +(of)h Fs(y)f Fw(are)0 1421 y(sp)q(ecial)g(and)g(therefore)i +(dynamically)11 b(scop)q(ed,)k(but)f(the)h(middle)d(binding)h(is)h +(lexically)0 1473 y(scop)q(ed.)19 b(The)12 b(t)o(w)o(o)f(argumen)o(ts)h +(to)f Fs(+)h Fw(are)g(di\013eren)o(t,)h(one)f(b)q(eing)g(the)h(v)n +(alue,)e(whic)o(h)h(is)f Fs(3)p Fw(,)0 1525 y(of)i(the)h(lexically)e(b) +q(ound)h(v)n(ariable)f Fs(y)p Fw(,)h(and)g(the)h(other)g(b)q(eing)f +(the)h(v)n(alue)f(of)g(the)g(sp)q(ecial)0 1577 y(v)n(ariable)18 +b(named)h Fs(y)g Fw(\(a)g(binding)g(of)g(whic)o(h)g(happ)q(ens,)j +(coinciden)o(tally)m(,)d(to)g(lexically)0 1629 y(surround)e(it)e(at)h +(an)f(outer)h(lev)o(el\).)24 b(All)15 b(the)h(bindings)f(of)h +Fs(x)f Fw(and)h(references)i(to)e Fs(x)f Fw(are)0 1681 +y(sp)q(ecial,)f(ho)o(w)o(ev)o(er,)f(b)q(ecause)j(of)d(the)i(pro)q +(clamation)c(that)j Fs(x)g Fw(is)g(alw)o(a)o(ys)f Fs(special)p +Fw(.)42 1734 y(As)f(a)h(matter)e(of)h(st)o(yle,)h(use)g(of)f +Fs(special)f Fw(pro)q(clamations)f(should)i(b)q(e)i(a)o(v)o(oided.)i +(The)0 1786 y Fs(defvar)9 b Fw(and)h Fs(defparameter)e +Fw(macros)i(are)g(the)h(con)o(v)o(en)o(tional)f(means)f(for)h(pro)q +(claiming)0 1838 y(sp)q(ecial)k(v)n(ariables)f(in)h(a)f(program.)0 +1953 y Fs(type)0 2016 y(\(type)20 b Fv(typ)n(e)h(var1)h(var2)f +Fs(...\))14 b Fw(a\013ects)j(only)e(v)n(ariable)f(bindings)h(and)g(sp)q +(eci\014es)j(that)0 2068 y(the)i(v)n(ariables)e(men)o(tioned)g(will)g +(tak)o(e)i(on)f(v)n(alues)f(only)h(of)g(the)g(sp)q(eci\014ed)i(t)o(yp)q +(e.)35 b(In)0 2120 y(particular,)21 b(v)n(alues)e(assigned)i(to)e(the)i +(v)n(ariables)e(b)o(y)h Fs(setq)p Fw(,)g(as)g(w)o(ell)f(as)h(the)h +(initial)0 2172 y(v)n(alues)14 b(of)f(the)h(v)n(ariables,)f(m)o(ust)g +(b)q(e)h(of)g(the)g(sp)q(eci\014ed)i(t)o(yp)q(e.)42 2225 +y(X3J13)c(v)o(oted)h(in)g(Jan)o(uary)g(1989)e Ft(h)p +Fw(46)p Ft(i)i Fw(to)g(alter)g(the)h(in)o(terpretation)f(of)f(t)o(yp)q +(e)i(decla-)-33 2197 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2277 a(rations.)j(They)d(are)f(not)f(to)h(b)q(e)g +(construed)i(to)d(a\013ect)i(\\only)e(v)n(ariable)f(bindings.")17 +b(The)0 2329 y(new)d(rule)g(for)g(a)g(declaration)f(of)g(a)h(v)n +(ariable)f(to)h(ha)o(v)o(e)f(a)h(sp)q(eci\014ed)h(t)o(yp)q(e)g(is)e +(threefold:)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 239 263 +239 262 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(DECLARA)m(TIONS)1053 +b(239)0 286 y Fu(.)42 295 y Fw(It)10 b(is)h(an)g(error)g(if,)f(during)h +(the)g(execution)h(of)e(an)o(y)g(reference)j(to)e(that)g(v)n(ariable)e +(within)42 347 y(the)k(scop)q(e)h(of)f(the)g(declaration,)g(the)g(v)n +(alue)f(of)h(the)g(v)n(ariable)f(is)h(not)g(of)f(the)i(declared)42 +399 y(t)o(yp)q(e.)0 515 y Fu(.)42 523 y Fw(It)g(is)g(an)g(error)h(if,)e +(during)h(the)h(execution)g(of)f(a)g Fs(setq)f Fw(of)h(that)g(v)n +(ariable)g(within)f(the)42 575 y(scop)q(e)e(of)g(the)g(declaration,)g +(the)g(new)g(v)n(alue)f(for)h(the)g(v)n(ariable)f(is)h(not)f(of)g(the)i +(declared)42 627 y(t)o(yp)q(e.)0 743 y Fu(.)42 752 y +Fw(It)19 b(is)h(an)f(error)i(if,)f(at)f(an)o(y)g(momen)o(t)e(that)j +(execution)h(en)o(ters)g(the)f(scop)q(e)h(of)e(the)42 +804 y(declaration,)13 b(the)h(v)n(alue)f(of)h(the)g(v)n(ariable)f(is)h +(not)f(of)h(the)g(declared)h(t)o(yp)q(e.)0 920 y(One)22 +b(ma)o(y)d(think)i(of)g(a)g(t)o(yp)q(e)g(declaration)g +Fs(\(declare)f(\(type)g(face)g(bodoni\)\))g Fw(as)0 972 +y(implicitly)15 b(c)o(hanging)j(ev)o(ery)h(reference)i(to)d +Fs(bodoni)g Fw(within)f(the)i(scop)q(e)h(of)e(the)h(dec-)0 +1024 y(laration)e(to)h Fs(\(the)i(face)h(bodoni\))p Fw(;)d(c)o(hanging) +f(ev)o(ery)i(expression)h Fv(exp)e Fw(assigned)h(to)0 +1076 y Fs(bodoni)c Fw(within)g(the)i(scop)q(e)h(of)d(the)i(declaration) +f(to)g Fs(\(the)21 b(face)f Fv(exp)p Fs(\))p Fw(;)d(and)f(implic-)0 +1128 y(itly)f(executing)j Fs(\(the)i(face)g(bodoni\))15 +b Fw(ev)o(ery)i(time)f(execution)h(en)o(ters)h(the)f(scop)q(e)g(of)0 +1180 y(the)d(declaration.)42 1235 y(These)20 b(new)g(rules)h(mak)o(e)d +(t)o(yp)q(e)i(declarations)f(m)o(uc)o(h)g(more)f(useful.)35 +b(Under)21 b(\014rst)0 1287 y(edition)14 b(rules,)h(a)f(t)o(yp)q(e)h +(declaration)f(w)o(as)h(useless)h(if)e(not)g(asso)q(ciated)h(with)g(a)f +(v)n(ariable)0 1339 y(binding;)e(declarations)i(suc)o(h)h(as)f(in)0 +1478 y Fs(\(locally)42 1529 y(\(declare)20 b(\(type)g(\(byte)g(8\))h(x) +g(y\)\))42 1581 y(\(+)g(x)g(y\)\))0 1716 y Fw(at)14 b(b)q(est)i(had)f +(no)f(e\013ect)i(and)f(at)f(w)o(orst)h(w)o(ere)h(erroneous,)f(dep)q +(ending)h(on)e(one's)h(in)o(ter-)0 1768 y(pretation)i(of)f(the)h +(\014rst)g(edition.)25 b(Under)18 b(the)f(in)o(terpretation)g(appro)o +(v)o(ed)f(b)o(y)h(X3J13,)0 1820 y(suc)o(h)e(declarations)f(ha)o(v)o(e)f +(\\the)i(ob)o(vious)e(natural)g(in)o(terpretation.")42 +1875 y(X3J13)18 b(noted)h(that)g(if)e(nested)j(t)o(yp)q(e)g +(declarations)e(refer)i(to)e(the)i(same)d(v)n(ariable,)0 +1927 y(then)g(all)d(of)i(them)f(ha)o(v)o(e)h(e\013ect;)i(the)f(v)n +(alue)e(of)g(the)i(v)n(ariable)e(m)o(ust)g(b)q(e)h(a)g(mem)o(b)q(er)e +(of)0 1979 y(the)g(in)o(tersection)h(of)f(the)g(declared)h(t)o(yp)q +(es.)42 2035 y(Nested)g(t)o(yp)q(e)f(declarations)g(could)g(o)q(ccur)h +(as)e(a)h(result)g(of)g(either)g(macro)f(expansion)0 +2087 y(or)i(carefully)g(crafted)h(co)q(de.)22 b(There)16 +b(are)g(three)g(cases.)23 b(First,)15 b(the)h(inner)f(t)o(yp)q(e)h +(migh)o(t)0 2138 y(b)q(e)f(a)e(subt)o(yp)q(e)i(of)e(the)i(outer)f(one:) +0 2277 y Fs(\(defun)20 b(compare)g(\(apples)f(oranges\))42 +2329 y(\(declare)h(\(type)g(number)g(apples)g(oranges\)\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 240 264 +240 263 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(240)77 b(COMMON)13 +b(LISP)42 295 y Fs(\(cond)20 b(\(\(typep)g(apples)496 +299 y Fn(')519 295 y Fs(fixnum\))191 347 y(;;)g(The)h(programmer)e +(happens)h(to)g(know)h(that,)f(thanks)g(to)191 399 y(;;)g(constraints)f +(imposed)h(by)h(the)f(caller,)g(if)h(APPLES)191 450 y(;;)f(is)h(a)g +(fixnum,)f(then)g(ORANGES)g(will)g(be)h(also,)f(and)191 +502 y(;;)g(therefore)g(wishes)g(to)g(avoid)g(the)h(unnecessary)e(cost) +191 554 y(;;)h(of)h(checking)f(ORANGES.)40 b(Nevertheless)19 +b(the)h(compiler)191 606 y(;;)g(should)g(be)h(informed)e(to)i(allow)f +(it)h(to)g(optimize)e(code.)191 658 y(\(locally)g(\(declare)h(\(type)g +(fixnum)g(apples)g(oranges\)\)\))381 710 y(;;)h(Maybe)f(the)h(compiler) +e(could)h(have)h(figured)381 762 y(;;)g(out)f(by)h(flow)f(analysis)g +(that)g(APPLES)g(must)381 814 y(;;)h(be)g(a)g(fixnum)e(here,)i(but)f +(it)h(doesn)1095 818 y Fn(')1117 814 y Fs(t)g(hurt)381 +866 y(;;)g(to)g(say)f(it)h(explicitly.)233 917 y(\(<)g(apples)f +(oranges\)\)\))169 969 y(\(\(or)h(\(complex)e(apples\))275 +1021 y(\(complex)h(oranges\)\))191 1073 y(\(error)f("Not)i(yet)f +(implemented.)40 b(Sorry."\)\))169 1125 y(...\)\))0 1586 +y Fw(This)14 b(is)g(the)g(case)h(most)e(lik)o(ely)f(to)i(arise)g(in)f +(co)q(de)i(written)g(completely)d(b)o(y)i(hand.)42 1678 +y(Second,)e(the)g(outer)g(t)o(yp)q(e)g(migh)o(t)d(b)q(e)k(a)e(subt)o +(yp)q(e)h(of)f(the)h(inner)g(one.)18 b(In)11 b(this)h(case)g(the)0 +1730 y(inner)k(declaration)g(has)g(no)g(additional)e(practical)h +(e\013ect,)j(but)e(it)g(is)f(harmless.)24 b(This)0 1782 +y(is)15 b(lik)o(ely)e(to)i(o)q(ccur)h(if)e(co)q(de)h(declares)h(a)f(v)n +(ariable)e(to)i(b)q(e)h(of)e(a)g(v)o(ery)h(sp)q(eci\014c)i(t)o(yp)q(e)e +(and)0 1834 y(then)g(passes)g(it)e(to)h(a)g(macro)e(that)i(then)h +(declares)g(it)e(to)h(b)q(e)h(of)e(a)h(less)g(sp)q(eci\014c)h(t)o(yp)q +(e.)42 1926 y(Third,)j(the)g(inner)h(and)e(outer)i(declarations)f(migh) +o(t)e(b)q(e)i(for)g(t)o(yp)q(es)h(that)f(o)o(v)o(erlap,)0 +1977 y(neither)e(b)q(eing)f(a)g(subt)o(yp)q(e)h(of)f(the)g(other.)23 +b(This)15 b(is)g(lik)o(ely)e(to)i(o)q(ccur)i(only)d(as)h(a)g(result)0 +2029 y(of)e(macro)e(expansion.)18 b(F)m(or)13 b(example,)e(user)k(co)q +(de)f(migh)o(t)d(declare)j(a)f(v)n(ariable)f(to)h(b)q(e)g(of)0 +2081 y(t)o(yp)q(e)j Fs(integer)p Fw(,)e(and)h(a)g(macro)f(migh)o(t)g +(later)h(declare)h(it)f(to)h(b)q(e)g(of)f(t)o(yp)q(e)g +Fs(\(or)21 b(fixnum)0 2133 y(package\))p Fw(;)12 b(in)i(this)h(case)g +(a)f(compiler)f(could)h(in)o(tersect)i(the)f(t)o(w)o(o)f(t)o(yp)q(es)i +(to)e(determine)0 2185 y(that)g(in)f(this)h(instance)h(the)f(v)n +(ariable)f(ma)o(y)f(hold)h(only)h(\014xn)o(ums.)42 2277 +y(The)f(reader)h(should)f(note)g(that)g(the)g(follo)o(wing)d(co)q(de)k +(fragmen)o(t)d(is,)i(p)q(erhaps)h(aston-)0 2329 y(ishingly)m(,)e +Fv(not)j(in)g(err)n(or)d Fw(under)j(the)g(in)o(terpretation)f(appro)o +(v)o(ed)g(b)o(y)f(X3J13:)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 241 265 +241 264 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(DECLARA)m(TIONS)1053 +b(241)0 295 y Fs(\(let)20 b(\(\(james)g(.007\))127 347 +y(\(maxwell)g(86\)\))42 399 y(\(flet)g(\(\(spy-swap)g(\(\))233 +450 y(\(rotatef)f(james)i(maxwell\)\)\))85 502 y(\(locally)e(\(declare) +h(\(integer)f(maxwell\)\))127 554 y(\(spy-swap\))127 +606 y(\(view-movie)g("The)h(Sound)g(of)h(Music"\))127 +658 y(\(spy-swap\))127 710 y(maxwell\)\)\))21 762 y Ft(\))g +Fs(86)42 b Fw(\(after)14 b(a)g(couple)g(of)f(hours)h(of)g(Julie)f +(Andrews\))0 877 y(The)i(v)n(ariable)f Fs(maxwell)f Fw(is)i(declared)h +(to)f(b)q(e)g(an)g(in)o(teger)g(o)o(v)o(er)g(the)g Fv(sc)n(op)n(e)h +Fw(of)e(the)h(t)o(yp)q(e)0 929 y(declaration,)10 b(not)g(o)o(v)o(er)g +(its)g Fv(extent)p Fw(.)17 b(Indeed)11 b Fs(maxwell)e +Fw(tak)o(es)i(on)e(the)i(non-in)o(teger)f(v)n(alue)0 +981 y Fs(.007)k Fw(while)h(the)h(T)m(rapp)e(family)e(mak)o(e)i(their)i +(escap)q(e,)g(but)g(b)q(ecause)g(no)f(reference)j(to)0 +1033 y Fs(maxwell)9 b Fw(within)h(the)h(scop)q(e)g(of)f(the)h +(declaration)g(ev)o(er)g(pro)q(duces)h(a)e(non-in)o(teger)h(v)n(alue,)0 +1085 y(the)j(co)q(de)h(is)f(correct.)42 1138 y(No)o(w)f(the)i +(assignmen)o(t)e(to)h Fs(maxwell)f Fw(during)g(the)i(\014rst)g(call)e +(to)h Fs(spy-swap)p Fw(,)e(and)i(the)0 1190 y(reference)21 +b(to)d Fs(maxwell)e Fw(during)i(the)h(second)g(call,)f +Fv(do)g Fw(in)o(v)o(olv)o(e)f(non-in)o(teger)h(v)n(alues,)0 +1242 y(but)c(they)f(o)q(ccur)i(within)d(the)i(b)q(o)q(dy)f(of)g +Fs(spy-swap)p Fw(,)e(whic)o(h)j(is)f Fv(not)g Fw(in)g(the)h(scop)q(e)g +(of)f(the)0 1294 y(t)o(yp)q(e)j(declaration!)21 b(One)16 +b(could)f(put)g(the)h(declaration)f(in)f(a)h(di\013eren)o(t)h(place)f +(so)h(as)f(to)0 1346 y(include)f Fs(spy-swap)e Fw(in)i(the)g(scop)q(e:) +0 1463 y Fs(\(let)20 b(\(\(james)g(.007\))127 1514 y(\(maxwell)g +(86\)\))42 1566 y(\(locally)g(\(declare)f(\(integer)h(maxwell\)\))85 +1618 y(\(flet)g(\(\(spy-swap)f(\(\))275 1670 y(\(rotatef)h(james)g +(maxwell\)\)\))127 1722 y(\(spy-swap\))739 b(;)p Fw(Bug!)127 +1774 y Fs(\(view-movie)19 b("The)h(Sound)g(of)h(Music"\))127 +1826 y(\(spy-swap\))127 1878 y(maxwell\)\)\))0 1993 y +Fw(and)14 b(then)g(the)h(co)q(de)f(is)g(indeed)h(in)e(error.)-33 +2005 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2047 a(X3J13)d(also)g(v)o(oted)g(in)h(Jan)o(uary)f +(1989)g Ft(h)p Fw(91)p Ft(i)g Fw(to)h(alter)f(the)h(meaning)e(of)h(the) +h Fs(function)-33 2018 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2098 a Fw(t)o(yp)q(e)j(sp)q(eci\014er)i(when)e(used)h +(in)f Fs(type)f Fw(declarations)h(\(see)h(section)f(4.5\).)-33 +2110 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2214 a Fv(typ)n(e)0 2277 y Fs(\()p Fv(typ)n(e)21 +b(var1)g(var2)h Fs(...\))h Fw(is)h(an)g(abbreviation)f(for)h +Fs(\(type)c Fv(typ)n(e)i(var1)f(var2)g Fs(...\))p Fw(,)0 +2329 y(pro)o(vided)14 b(that)g Fv(typ)n(e)g Fw(is)f(one)i(of)e(the)h +(sym)o(b)q(ols)f(app)q(earing)g(in)h(table)g(4-)o(1.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 242 266 +242 265 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(242)77 b(COMMON)13 +b(LISP)42 295 y Fw(Observ)o(e)g(that)f(this)g(co)o(v)o(ers)g(the)h +(particularly)e(common)e(case)k(of)e(declaring)h(n)o(umeric)-33 +266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(v)n(ariables:)0 450 y Fs(\(declare)20 +b(\(single-float)e(mass)i(dx)h(dy)g(dz\))191 502 y(\(double-float)d +(acceleration)h(sum\)\))0 605 y Fw(In)14 b(man)o(y)e(implem)o(en)o +(tations)f(there)k(is)f(also)f(some)g(adv)n(an)o(tage)g(to)h(declaring) +f(v)n(ariables)0 657 y(to)h(ha)o(v)o(e)f(certain)i(sp)q(ecialized)g(v)o +(ector)f(t)o(yp)q(es)h(suc)o(h)g(as)f Fs(base-string)p +Fw(.)-33 669 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 761 a Fs(ftype)0 819 y(\(ftype)20 b Fv(typ)n(e)h +(function)p Fs(-)p Fv(name)p Fs(-)p Fv(1)h(function)p +Fs(-)p Fv(name)p Fs(-)p Fv(2)g Fs(...\))39 b Fw(sp)q(eci\014es)i(that)e +(the)0 871 y(named)18 b(functions)i(will)e(b)q(e)j(of)e(the)h +(functional)e(t)o(yp)q(e)i Fv(typ)n(e)p Fw(,)h(an)f(example)e(of)h +(whic)o(h)0 923 y(follo)o(ws.)d(F)m(or)e(example:)0 1027 +y Fs(\(declare)20 b(\(ftype)f(\(function)h(\(integer)f(list\))h(t\))h +(nth\))191 1079 y(\(ftype)e(\(function)h(\(number\))f(float\))h(sin)h +(cos\)\))0 1182 y Fw(Note)16 b(that)g(rules)h(of)e(lexical)h(scoping)f +(are)i(observ)o(ed;)g(if)f(one)g(of)f(the)i(functions)f(men-)0 +1234 y(tioned)d(has)h(a)f(lexically)f(apparen)o(t)i(lo)q(cal)f +(de\014nition)g(\(as)h(made)e(b)o(y)h Fs(flet)g Fw(or)g +Fs(labels)p Fw(\),)0 1286 y(then)20 b(the)g(declaration)f(applies)h(to) +f(that)h(lo)q(cal)e(de\014nition)h(and)h(not)f(to)g(the)h(global)0 +1338 y(function)14 b(de\014nition.)42 1390 y(X3J13)g(v)o(oted)h(in)g +(Marc)o(h)g(1989)f Ft(h)p Fw(89)p Ft(i)h Fw(to)g(extend)h +Fs(ftype)e Fw(declaration)h(sp)q(eci\014ers)i(to)-33 +1361 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1442 a(accept)k(an)o(y)e(function-name)f(\(a)i(sym)o(b)q +(ol)e(or)h(a)h(list)f(whose)h Fv(c)n(ar)g Fw(is)f Fs(setf)p +Fw(|see)h(sec-)0 1493 y(tion)13 b(7.1\).)k(Th)o(us)e(one)f(ma)o(y)e +(write)0 1597 y Fs(\(declaim)20 b(\(ftype)f(\(function)h(\(list\))g +(t\))g(\(setf)h(cadr\)\)\))0 1700 y Fw(to)14 b(indicate)g(the)g(t)o(yp) +q(e)g(of)g(the)g Fs(setf)f Fw(expansion)h(function)g(for)f +Fs(cadr)p Fw(.)-33 1712 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1752 a(X3J13)j(v)o(oted)i(in)f(Jan)o(uary)g(1989)f +Ft(h)p Fw(91)p Ft(i)h Fw(to)g(alter)h(the)f(meaning)f(of)h(the)g +Fs(function)-33 1724 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1804 a Fw(t)o(yp)q(e)d(sp)q(eci\014er)i(when)e(used)h +(in)f Fs(ftype)e Fw(declarations)i(\(see)i(section)e(4.5\).)-33 +1816 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1908 a Fs(function)-38 1897 y Fk(.)-38 +1910 y(.)-38 1923 y(.)-38 1936 y(.)-38 1949 y(.)-38 1962 +y(.)-38 1975 y(.)-38 1988 y(.)-38 2001 y(.)-38 2014 y(.)-38 +2027 y(.)-38 2040 y(.)-38 2053 y(.)-38 2066 y(.)-38 2079 +y(.)-38 2092 y(.)-38 2105 y(.)-38 2118 y(.)-38 2131 y(.)-38 +2144 y(.)-38 2157 y(.)-38 2170 y(.)-38 2183 y(.)-38 2195 +y(.)-38 2208 y(.)-38 2221 y(.)-38 2234 y(.)-38 2247 y(.)-38 +2260 y(.)-38 2273 y(.)-38 2286 y(.)-38 2299 y(.)-38 2312 +y(.)-38 2325 y(.)-38 2338 y(.)-38 2351 y(.)-38 2364 y(.)-38 +2377 y(.)-38 2390 y(.)-38 2403 y(.)-38 2416 y(.)-38 2429 +y(.)-38 2442 y(.)-38 2455 y(.)-38 2468 y(.)-38 2481 y(.)-38 +2494 y(.)-38 2507 y(.)-38 2520 y(.)-38 2533 y(.)-38 2546 +y(.)-38 2559 y(.)-38 2572 y(.)-38 2585 y(.)-38 2598 y(.)-38 +2611 y(.)-38 2624 y(.)-38 2637 y(.)-38 2650 y(.)-38 2662 +y(.)-38 2675 y(.)-38 2688 y(.)-38 2701 y(.)-38 2714 y(.)-38 +2727 y(.)-38 2740 y(.)-38 2753 y(.)-38 2766 y(.)-38 2779 +y(.)-38 2792 y(.)-38 2805 y(.)-38 2818 y(.)-38 2831 y(.)-38 +2844 y(.)-38 2857 y(.)-38 2870 y(.)-38 2883 y(.)-38 2896 +y(.)-38 2909 y(.)-38 2922 y(.)-38 2935 y(.)-38 2948 y(.)-38 +2961 y(.)-38 2974 y(.)-38 2987 y(.)-38 3000 y(.)-38 3013 +y(.)-38 3026 y(.)-38 3039 y(.)-38 3052 y(.)-38 3065 y(.)-38 +3078 y(.)-38 3091 y(.)-38 3104 y(.)-38 3117 y(.)-38 3129 +y(.)-38 3142 y(.)-38 3155 y(.)-38 3168 y(.)-38 3181 y(.)-38 +3194 y(.)-38 3207 y(.)-38 3220 y(.)-38 3233 y(.)-38 3246 +y(.)-38 3259 y(.)-38 3272 y(.)-38 3285 y(.)-38 3298 y(.)-38 +3311 y(.)-38 3324 y(.)-38 3337 y(.)-38 3350 y(.)-38 3363 +y(.)-38 3376 y(.)-38 3389 y(.)-38 3402 y(.)-38 3415 y(.)-38 +3428 y(.)-38 3441 y(.)-38 3454 y(.)-38 3467 y(.)-38 3480 +y(.)-38 3493 y(.)-38 3506 y(.)-38 3519 y(.)-38 3532 y(.)-38 +3545 y(.)-38 3558 y(.)-38 3571 y(.)-38 3584 y(.)-38 3596 +y(.)-38 3609 y(.)-38 3622 y(.)-38 3635 y(.)-38 3648 y(.)-38 +3661 y(.)-38 3674 y(.)-38 3687 y(.)-38 3700 y(.)-38 3713 +y(.)-38 3726 y(.)-38 3739 y(.)-38 3752 y(.)-38 3765 y(.)-38 +3778 y(.)-38 3791 y(.)-38 3804 y(.)-38 3817 y(.)-38 3830 +y(.)-38 3843 y(.)-38 3856 y(.)-38 3869 y(.)-38 3882 y(.)-38 +3895 y(.)-38 3908 y(.)-38 3921 y(.)-38 3934 y(.)-38 3947 +y(.)-38 3960 y(.)-38 3973 y(.)-38 3986 y(.)-38 3999 y(.)-38 +4012 y(.)-38 4025 y(.)-38 4038 y(.)-38 4051 y(.)-38 4063 +y(.)-38 4076 y(.)-38 4089 y(.)-38 4102 y(.)-38 4115 y(.)-38 +4128 y(.)-38 4141 y(.)-38 4154 y(.)-38 4167 y(.)-38 4180 +y(.)-38 4193 y(.)-38 4206 y(.)-38 4219 y(.)-38 4232 y(.)-38 +4245 y(.)-38 4258 y(.)-38 4271 y(.)-38 4284 y(.)-38 4297 +y(.)-38 4310 y(.)-38 4323 y(.)-38 4336 y(.)-38 4349 y(.)-38 +4362 y(.)-38 4375 y(.)-38 4388 y(.)-38 4401 y(.)-38 4414 +y(.)-38 4427 y(.)-38 4440 y(.)-38 4453 y(.)-38 4466 y(.)-38 +4479 y(.)0 1967 y Fs(\(function)19 b Fv(name)j(ar)n(glist)e(r)n(esult)p +Fs(-)p Fv(typ)n(e1)g(r)n(esult)p Fs(-)p Fv(typ)n(e2)h +Fs(...\))k Fw(is)h(en)o(tirely)h(equiv)n(a-)0 2018 y(len)o(t)14 +b(to)0 2122 y Fs(\(ftype)20 b(\(function)f Fv(ar)n(glist)h(r)n(esult)p +Fs(-)p Fv(typ)n(e1)h(r)n(esult)p Fs(-)p Fv(typ)n(e2)f +Fs(...\))g Fv(name)p Fs(\))0 2225 y Fw(but)14 b(ma)o(y)e(b)q(e)j(more)d +(con)o(v)o(enien)o(t)j(for)e(some)g(purp)q(oses.)20 b(F)m(or)13 +b(example:)0 2329 y Fs(\(declare)20 b(\(function)f(nth)h(\(integer)g +(list\))g(t\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 243 267 +243 266 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(DECLARA)m(TIONS)1053 b(243)191 295 y Fs(\(function)19 +b(sin)h(\(number\))g(float\))191 347 y(\(function)f(cos)h(\(number\))g +(float\)\))0 446 y Fw(The)c(syn)o(tax)f(mildly)e(resem)o(bles)j(that)f +(of)g Fs(defun)p Fw(:)21 b(a)15 b(function-name,)f(then)i(an)f(argu-)0 +498 y(men)o(t)e(list,)g(then)h(a)g(sp)q(eci\014cation)h(of)e(results.) +42 550 y(Note)g(that)g(rules)g(of)f(lexical)g(scoping)h(are)g(observ)o +(ed;)h(if)e(one)h(of)f(the)i(functions)f(men-)0 602 y(tioned)g(has)h(a) +f(lexically)f(apparen)o(t)i(lo)q(cal)f(de\014nition)g(\(as)h(made)e(b)o +(y)h Fs(flet)g Fw(or)g Fs(labels)p Fw(\),)0 654 y(then)20 +b(the)g(declaration)f(applies)h(to)f(that)h(lo)q(cal)e(de\014nition)h +(and)h(not)f(to)g(the)h(global)0 706 y(function)14 b(de\014nition.)-33 +718 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 806 a(X3J13)20 b(v)o(oted)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(44)p Ft(i)g Fw(to)h(remo)o(v)o(e)f(this)h(in)o(terpretation)g +(of)f(the)-33 777 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 858 a Fs(function)9 b Fw(declaration)h(sp)q(eci\014er)j +(from)c(the)i(language.)16 b(Instead,)c(a)e(declaration)g(sp)q(ec-)0 +909 y(i\014er)0 994 y Fs(\(function)19 b Fv(var1)j(var2)f +Fs(...\))0 1078 y Fw(is)14 b(to)f(b)q(e)i(treated)g(simply)d(as)i(an)g +(abbreviation)f(for)0 1162 y Fs(\(type)20 b(function)g +Fv(var1)h(var2)g Fs(...\))0 1246 y Fw(just)14 b(as)g(for)g(all)e(other) +j(sym)o(b)q(ols)d(app)q(earing)i(in)f(table)h(4-1.)42 +1298 y(X3J13)e(noted)i(that)f(although)f Fs(function)f +Fw(app)q(ears)j(in)e(table)h(4-1,)f(the)h(\014rst)h(edition)0 +1350 y(also)f(discussed)j(it)e(explicitly)m(,)e(with)i(a)g(di\013eren)o +(t)h(meaning,)c(without)j(noting)f(whether)0 1402 y(the)k(di\013ering)e +(in)o(terpretation)i(w)o(as)e(to)h(replace)h(or)f(augmen)o(t)e(the)j +(in)o(terpretation)f(re-)0 1454 y(garding)d(table)g(4-1.)18 +b(Unfortunately)13 b(there)i(is)f(an)f(am)o(biguous)f(case:)19 +b(the)14 b(declaration)0 1538 y Fs(\(declare)20 b(\(function)f(foo)h +(nil)h(string\)\))0 1622 y Fw(can)14 b(b)q(e)h(construed)g(to)f +(abbreviate)g(either)0 1706 y Fs(\(declare)20 b(\(ftype)f(\(function)h +(\(\))h(string\))e(foo\)\))0 1790 y Fw(or)0 1874 y Fs(\(declare)h +(\(type)g(function)f(foo)i(nil)f(string\)\))0 1958 y +Fw(The)e(latter)g(could)g(p)q(erhaps)h(b)q(e)f(rejected)i(on)e(seman)o +(tic)f(grounds:)26 b(it)17 b(w)o(ould)g(b)q(e)i(an)0 +2010 y(error)c(to)f(declare)g Fs(nil)p Fw(,)f(a)h(constan)o(t,)g(to)g +(b)q(e)g(of)f(t)o(yp)q(e)i Fs(function)p Fw(.)h(In)e(an)o(y)g(case,)g +(X3J13)0 2062 y(determined)h(that)f(the)i(ice)f(w)o(as)f(to)q(o)h(thin) +f(here;)i(the)f(p)q(ossibilit)o(y)f(of)g(confusion)g(is)h(not)0 +2114 y(w)o(orth)e(the)g(con)o(v)o(enience)h(of)e(an)h(abbreviation)f +(for)g Fs(ftype)g Fw(declarations.)17 b(The)c(c)o(hange)0 +2166 y(also)g(mak)o(es)g(the)i(language)d(more)h(consisten)o(t.)-33 +2178 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2266 a Fs(inline)0 2329 y(\(inline)20 +b Fv(function1)i(function2)g Fs(...\))14 b Fw(sp)q(eci\014es)i(that)f +(it)g(is)g(desirable)g(for)g(the)g(com-)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 244 268 +244 267 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(244)77 b(COMMON)13 +b(LISP)0 295 y Fw(piler)20 b(to)g(op)q(en-co)q(de)h(calls)f(to)g(the)h +(sp)q(eci\014ed)g(functions;)i(that)d(is,)i(the)e(co)q(de)h(for)f(a)0 +347 y(sp)q(eci\014ed)15 b(function)e(should)h(b)q(e)g(in)o(tegrated)g +(in)o(to)e(the)j(calling)d(routine,)h(app)q(earing)g(in-)0 +399 y(line)f(in)g(place)h(of)f(a)g(pro)q(cedure)i(call.)j(This)12 +b(ma)o(y)f(ac)o(hiev)o(e)i(extra)f(sp)q(eed)i(at)f(the)g(exp)q(ense)0 +450 y(of)g(debuggabilit)o(y)g(\(calls)g(to)h(functions)g(compiled)e +(in-line)h(cannot)h(b)q(e)h(traced,)f(for)g(ex-)0 502 +y(ample\).)23 b(This)16 b(declaration)g(is)g(p)q(erv)n(asiv)o(e.)25 +b(Remem)o(b)q(er)14 b(that)j(a)e(compiler)g(is)h(free)h(to)0 +554 y(ignore)d(this)g(declaration.)42 608 y(Note)f(that)g(rules)g(of)f +(lexical)g(scoping)h(are)g(observ)o(ed;)h(if)e(one)h(of)f(the)i +(functions)f(men-)0 660 y(tioned)20 b(has)g(a)f(lexically)g(apparen)o +(t)h(lo)q(cal)f(de\014nition)g(\(as)i(established)f(b)o(y)g +Fs(flet)f Fw(or)0 712 y Fs(labels)p Fw(\),)14 b(then)i(the)g +(declaration)f(applies)g(to)g(that)g(lo)q(cal)g(de\014nition)g(and)g +(not)g(to)g(the)0 764 y(global)d(function)i(de\014nition.)42 +817 y(X3J13)g(v)o(oted)i(in)f(Octob)q(er)h(1988)e Ft(h)p +Fw(145)p Ft(i)h Fw(to)g(clarify)g(that)g(during)g(compilation)d(the)-33 +789 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 869 a Fs(inline)e Fw(declaration)g(sp)q(eci\014er)j +(serv)o(es)f(t)o(w)o(o)f(distinct)g(purp)q(oses:)18 b(it)10 +b(indicates)i(not)f(only)0 921 y(that)k(a\013ected)i(calls)e(to)g(the)h +(sp)q(eci\014ed)h(functions)e(should)g(b)q(e)h(expanded)g(in-line,)f +(but)0 973 y(also)g(that)i(a\013ected)g(de\014nitions)f(of)g(the)h(sp)q +(eci\014ed)g(functions)f(m)o(ust)g(b)q(e)g(recorded)i(for)0 +1025 y(p)q(ossible)c(use)h(in)e(p)q(erforming)g(suc)o(h)h(expansions.) +42 1078 y(Lo)q(oking)g(at)h(it)g(the)i(other)f(w)o(a)o(y)m(,)e(the)i +(compiler)f(is)g(not)g(required)i(to)e(sa)o(v)o(e)h(function)0 +1130 y(de\014nitions)j(against)e(the)j(p)q(ossibilit)o(y)d(of)h(future) +h(expansions)g(unless)g(the)h(functions)0 1182 y(ha)o(v)o(e)c(already)f +(b)q(een)i(pro)q(claimed)d(to)i(b)q(e)g Fs(inline)p Fw(.)22 +b(If)16 b(a)f(function)h(is)f(pro)q(claimed)g(\(or)0 +1234 y(declaimed\))g Fs(inline)g Fw(b)q(efore)j(some)d(call)h(to)g +(that)g(function)g(but)h(the)g(curren)o(t)h(de\014ni-)0 +1286 y(tion)c(of)g(that)g(function)g(w)o(as)g(established)h(b)q(efore)h +(the)e(pro)q(clamation)f(w)o(as)h(pro)q(cessed,)0 1338 +y(it)k(is)h(implemen)o(tation-)o(dep)q(enden)o(t)f(whether)i(that)f +(call)f(will)f(b)q(e)j(expanded)f(in-line.)0 1390 y(\(Of)14 +b(course,)h(it)e(is)h(implem)o(en)o(tation-dep)q(enden)o(t)f(an)o(yw)o +(a)o(y)m(,)e(b)q(ecause)16 b(a)e(compiler)e(is)i(al-)0 +1442 y(w)o(a)o(ys)g(free)i(to)f(ignore)f Fs(inline)g +Fw(declaration)g(sp)q(eci\014ers.)23 b(Ho)o(w)o(ev)o(er,)15 +b(the)g(in)o(ten)o(t)g(of)f(the)0 1494 y(committee)i(is)h(clear:)26 +b(for)17 b(b)q(est)i(results,)g(the)f(user)h(is)e(advised)h(to)f(put)h +(an)o(y)f Fs(inline)0 1545 y Fw(pro)q(clamation)12 b(of)h(a)h(function) +f(b)q(efore)i(an)o(y)e(de\014nition)h(of)f(or)h(call)f(to)h(that)g +(function.\))42 1599 y(Consider)g(these)h(examples:)0 +1719 y Fs(\(defun)20 b(huey)g(\(x\))h(\(+)g(x)g(100\)\))189 +b(;)p Fw(Compiler)12 b(need)j(not)e(remem)o(b)q(er)g(this)0 +1771 y Fs(\(declaim)20 b(\(inline)f(huey)i(dewey\)\))0 +1822 y(\(defun)f(dewey)g(\(y\))h(\(huey)f(\(sqrt)g(y\)\)\))41 +b(;)p Fw(Call)13 b(to)h Fs(huey)f Fw(unlik)o(ely)f(to)i(b)q(e)g +(expanded)0 1874 y Fs(\(defun)20 b(louie)g(\(z\))h(\(dewey)f(\(/)g +(z\)\)\))84 b(;)p Fw(Call)13 b(to)g Fs(dewey)g Fw(lik)o(ely)g(to)g(b)q +(e)i(expanded)42 1992 y(X3J13)i(v)o(oted)h(in)g(Marc)o(h)g(1989)f +Ft(h)p Fw(89)p Ft(i)h Fw(to)g(extend)h Fs(inline)e Fw(declaration)h(sp) +q(eci\014ers)0 2044 y(to)d(accept)i(an)o(y)e(function-name)e(\(a)j(sym) +o(b)q(ol)d(or)i(a)g(list)g(whose)h Fv(c)n(ar)f Fw(is)g +Fs(setf)p Fw(|see)h(sec-)0 2096 y(tion)10 b(7.1\).)16 +b(Th)o(us)10 b(one)h(ma)o(y)d(write)j Fs(\(declare)19 +b(\(inline)h(\(setf)g(cadr\)\)\))9 b Fw(to)h(indicate)0 +2148 y(that)k(the)g Fs(setf)f Fw(expansion)h(function)g(for)f +Fs(cadr)g Fw(should)h(b)q(e)h(compiled)d(in-line.)-33 +2160 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2266 a Fs(notinline)0 2329 y(\(notinline)19 +b Fv(function1)j(function2)g Fs(...\))11 b Fw(sp)q(eci\014es)j(that)d +(it)h(is)g Fv(undesir)n(able)f Fw(to)h(com-)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 245 269 +245 268 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(DECLARA)m(TIONS)1053 +b(245)0 295 y Fw(pile)14 b(the)h(sp)q(eci\014ed)h(functions)f(in-line.) +j(This)d(declaration)f(is)g(p)q(erv)n(asiv)o(e.)21 b(A)14 +b(compiler)0 347 y(is)g Fv(not)g Fw(free)h(to)e(ignore)h(this)g +(declaration.)42 399 y(Note)f(that)g(rules)g(of)f(lexical)g(scoping)h +(are)g(observ)o(ed;)h(if)e(one)h(of)f(the)i(functions)f(men-)0 +450 y(tioned)g(has)h(a)f(lexically)f(apparen)o(t)i(lo)q(cal)f +(de\014nition)g(\(as)h(made)e(b)o(y)h Fs(flet)g Fw(or)g +Fs(labels)p Fw(\),)0 502 y(then)20 b(the)g(declaration)f(applies)h(to)f +(that)h(lo)q(cal)e(de\014nition)h(and)h(not)f(to)g(the)h(global)0 +554 y(function)14 b(de\014nition.)42 606 y(X3J13)j(v)o(oted)g(in)g +(Marc)o(h)h(1989)f Ft(h)p Fw(89)p Ft(i)g Fw(to)h(extend)g +Fs(notinline)e Fw(declaration)h(sp)q(eci-)-33 578 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 658 a(\014ers)f(to)f(accept)h(an)o(y)e(function-name)f +(\(a)i(sym)o(b)q(ol)e(or)i(a)f(list)g(whose)i Fv(c)n(ar)e +Fw(is)h Fs(setf)p Fw(|see)0 710 y(section)h(7.1\).)21 +b(Th)o(us)15 b(one)h(ma)o(y)d(write)i Fs(\(declare)20 +b(\(notinline)f(\(setf)h(cadr\)\)\))14 b Fw(to)0 762 +y(indicate)j(that)g(the)g Fs(setf)f Fw(expansion)h(function)f(for)h +Fs(cadr)f Fw(should)g(not)h(b)q(e)g(compiled)0 814 y(in-line.)-33 +825 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 866 a(X3J13)e(v)o(oted)h(in)g(Jan)o(uary)g(1989)e +Ft(h)p Fw(4)p Ft(i)i Fw(to)g(clarify)f(that)h(the)h(prop)q(er)g(w)o(a)o +(y)e(to)h(de\014ne)-33 837 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 917 a(a)d(function)h Fs(gnards)e Fw(that)i(is)f(not)h +Fs(inline)e Fw(b)o(y)i(default,)f(but)h(for)f(whic)o(h)g(a)h(lo)q(cal)f +(decla-)0 969 y(ration)h Fs(\(declare)20 b(\(inline)g(gnards\)\))13 +b Fw(has)i(half)f(a)h(c)o(hance)h(of)e(actually)h(compiling)0 +1021 y Fs(gnards)e Fw(in-line,)f(is)i(as)g(follo)o(ws:)0 +1122 y Fs(\(declaim)20 b(\(inline)f(gnards\)\))0 1226 +y(\(defun)h(gnards)g(...\))0 1330 y(\(declaim)g(\(notinline)f +(gnards\)\))0 1430 y Fw(The)g(p)q(oin)o(t)e(is)h(that)g(the)h(\014rst)g +(declamation)d(informs)g(the)j(compiler)e(that)h(the)g(de\014-)0 +1482 y(nition)e(of)g Fs(gnards)f Fw(ma)o(y)g(b)q(e)i(needed)h(later)f +(for)f(in-line)g(expansion,)h(and)f(the)i(second)0 1534 +y(declamation)12 b(prev)o(en)o(ts)j(an)o(y)f(expansions)g(unless)g(and) +g(un)o(til)f(it)h(is)f(o)o(v)o(erridden.)42 1586 y(While)k(an)h(implem) +o(en)o(tation)d(is)j(nev)o(er)h(required)g(to)f(p)q(erform)f(in-line)g +(expansion,)0 1638 y(man)o(y)23 b(implemen)o(tatio)o(ns)g(that)h(do)h +(supp)q(ort)h(suc)o(h)f(expansion)g(will)e(not)i(pro)q(cess)0 +1690 y Fs(inline)13 b Fw(requests)j(successfully)f(unless)g +(de\014nitions)f(are)h(written)g(with)e(these)j(pro)q(cla-)0 +1742 y(mations)c(in)h(the)i(manner)e(sho)o(wn)h(ab)q(o)o(v)o(e.)-33 +1753 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1842 a Fs(ignore)0 1905 y(\(ignore)20 +b Fv(var1)h(var2)g Fs(...)g Fv(varn)p Fs(\))h Fw(a\013ects)h(only)e(v)n +(ariable)g(bindings)g(and)h(sp)q(eci\014es)0 1957 y(that)d(the)h +(bindings)e(of)g(the)i(sp)q(eci\014ed)h(v)n(ariables)d(are)h(nev)o(er)h +(used.)34 b(It)19 b(is)g(desirable)0 2009 y(for)c(a)g(compiler)f(to)h +(issue)h(a)f(w)o(arning)g(if)f(a)h(v)n(ariable)g(so)g(declared)h(is)g +(ev)o(er)g(referred)h(to)0 2061 y(or)12 b(is)h(also)f(declared)h(sp)q +(ecial,)g(or)f(if)g(a)g(v)n(ariable)g(is)g(lexical,)f(nev)o(er)j +(referred)g(to,)e(and)h(not)0 2113 y(declared)i(to)f(b)q(e)g(ignored.)0 +2214 y Fs(optimize)0 2277 y(\(optimize)19 b(\()p Fv(quality1)i(value1)p +Fs(\))h(\()p Fv(quality2)f(value2)p Fs(\)...\))29 b Fw(advises)i(the)f +(compiler)0 2329 y(that)19 b(eac)o(h)h Fv(quality)e Fw(should)h(b)q(e)h +(giv)o(en)e(atten)o(tion)h(according)g(to)g(the)h(sp)q(eci\014ed)g +(cor-)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 246 270 +246 269 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(246)77 b(COMMON)13 +b(LISP)0 295 y Fw(resp)q(onding)h Fv(value)p Fw(.)k(A)13 +b(qualit)o(y)f(is)h(a)g(sym)o(b)q(ol;)e(standard)i(qualities)g(include) +g Fs(speed)f Fw(\(of)0 347 y(the)e(ob)r(ject)h(co)q(de\),)g +Fs(space)d Fw(\(b)q(oth)i(co)q(de)h(size)f(and)g(run-time)e(space\),)j +Fs(safety)e Fw(\(run-time)0 399 y(error)15 b(c)o(hec)o(king\),)f(and)f +Fs(compilation-speed)d Fw(\(sp)q(eed)16 b(of)d(the)h(compilation)d(pro) +q(cess\).)42 450 y(X3J13)f(v)o(oted)i(in)f(Octob)q(er)i(1988)d +Ft(h)p Fw(124)p Ft(i)h Fw(to)g(add)g(the)h(standard)f(qualit)o(y)f +Fs(debug)h Fw(\(ease)-33 422 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 502 a(of)i(debugging\).)-33 514 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 554 a(Other)i(qualities)e(ma)o(y)f(b)q(e)j(recognized)h +(b)o(y)e(particular)f(implemen)o(tations.)j(A)e Fv(value)0 +606 y Fw(should)j(b)q(e)h(a)g(non-negativ)o(e)f(in)o(teger,)h(normally) +d(in)i(the)h(range)f Fs(0)h Fw(to)f Fs(3)p Fw(.)28 b(The)18 +b(v)n(alue)0 658 y Fs(0)g Fw(means)f(that)i(the)g(qualit)o(y)d(is)j +(totally)e(unimp)q(ortan)o(t,)g(and)h Fs(3)g Fw(that)g(the)h(qualit)o +(y)e(is)0 710 y(extremely)f(imp)q(ortan)o(t;)f Fs(1)h +Fw(and)g Fs(2)g Fw(are)h(in)o(termediate)e(v)n(alues,)i(with)e +Fs(1)h Fw(the)h(\\normal")0 762 y(or)h(\\usual")f(v)n(alue.)29 +b(One)18 b(ma)o(y)e(abbreviate)i Fs(\()p Fv(quality)j +Fs(3\))c Fw(to)h(simply)d Fv(quality)p Fw(.)30 b(This)0 +814 y(declaration)14 b(is)f(p)q(erv)n(asiv)o(e.)19 b(F)m(or)13 +b(example:)0 915 y Fs(\(defun)20 b(often-used-subrou)o(tine)e(\(x)j +(y\))42 967 y(\(declare)f(\(optimize)f(\(safety)h(2\)\)\))42 +1019 y(\(error-check)f(x)i(y\))42 1071 y(\(hairy-setup)e(x\))42 +1123 y(\(do)i(\(\(i)f(0)h(\(+)g(i)g(1\)\))148 1175 y(\(z)g(x)g(\(cdr)f +(z\)\)\))127 1227 y(\(\(null)g(z\))h(i\))85 1279 y(;;)f(This)h(inner)f +(loop)g(really)g(needs)g(to)h(burn.)85 1330 y(\(declare)e(\(optimize)h +(speed\)\))85 1382 y(\(declare)f(\(fixnum)h(i\)\))85 +1434 y(\)\)\))0 1536 y(declaration)0 1599 y(\(declaration)f +Fv(name1)j(name2)g Fs(...\))15 b Fw(advises)h(the)g(compiler)f(that)g +(eac)o(h)i Fv(namej)f Fw(is)0 1651 y(a)d(v)n(alid)f(but)h(non-standard) +h(declaration)f(name.)j(The)e(purp)q(ose)g(of)f(this)g(is)g(to)h(tell)f +(one)0 1703 y(compiler)e(not)i(to)f(issue)i(w)o(arnings)e(for)g +(declarations)h(mean)o(t)e(for)h(another)i(compiler)d(or)0 +1755 y(other)k(program)d(pro)q(cessor.)42 1807 y(This)g(kind)f(of)h +(declaration)g(ma)o(y)e(b)q(e)j(used)h(only)d(as)h(a)g(pro)q +(clamation.)k(F)m(or)11 b(example:)-38 1782 y Fk(.)-38 +1794 y(.)-38 1807 y(.)-38 1820 y(.)-38 1833 y(.)-38 1846 +y(.)-38 1859 y(.)-38 1872 y(.)-38 1885 y(.)-38 1898 y(.)-38 +1911 y(.)-38 1924 y(.)-38 1937 y(.)-38 1950 y(.)-38 1963 +y(.)-38 1976 y(.)-38 1989 y(.)-38 2002 y(.)-38 2015 y(.)-38 +2028 y(.)-38 2041 y(.)-38 2054 y(.)-38 2067 y(.)-38 2080 +y(.)-38 2093 y(.)-38 2106 y(.)-38 2119 y(.)-38 2132 y(.)-38 +2145 y(.)-38 2158 y(.)-38 2171 y(.)-38 2184 y(.)-38 2197 +y(.)-38 2210 y(.)-38 2223 y(.)-38 2236 y(.)-38 2249 y(.)-38 +2261 y(.)-38 2274 y(.)-38 2287 y(.)-38 2300 y(.)-38 2313 +y(.)-38 2326 y(.)-38 2339 y(.)-38 2352 y(.)-38 2365 y(.)-38 +2378 y(.)-38 2391 y(.)-38 2404 y(.)-38 2417 y(.)-38 2430 +y(.)-38 2443 y(.)-38 2456 y(.)-38 2469 y(.)-38 2482 y(.)-38 +2495 y(.)-38 2508 y(.)-38 2521 y(.)-38 2534 y(.)-38 2547 +y(.)-38 2560 y(.)-38 2573 y(.)-38 2586 y(.)-38 2599 y(.)-38 +2612 y(.)-38 2625 y(.)-38 2638 y(.)-38 2651 y(.)-38 2664 +y(.)-38 2677 y(.)-38 2690 y(.)-38 2703 y(.)-38 2716 y(.)-38 +2728 y(.)-38 2741 y(.)-38 2754 y(.)-38 2767 y(.)-38 2780 +y(.)-38 2793 y(.)-38 2806 y(.)-38 2819 y(.)-38 2832 y(.)-38 +2845 y(.)-38 2858 y(.)-38 2871 y(.)-38 2884 y(.)-38 2897 +y(.)-38 2910 y(.)-38 2923 y(.)-38 2936 y(.)-38 2949 y(.)-38 +2962 y(.)-38 2975 y(.)-38 2988 y(.)-38 3001 y(.)-38 3014 +y(.)-38 3027 y(.)-38 3040 y(.)-38 3053 y(.)-38 3066 y(.)-38 +3079 y(.)-38 3092 y(.)-38 3105 y(.)-38 3118 y(.)-38 3131 +y(.)-38 3144 y(.)-38 3157 y(.)-38 3170 y(.)-38 3183 y(.)-38 +3195 y(.)-38 3208 y(.)-38 3221 y(.)-38 3234 y(.)-38 3247 +y(.)-38 3260 y(.)-38 3273 y(.)-38 3286 y(.)-38 3299 y(.)-38 +3312 y(.)-38 3325 y(.)-38 3338 y(.)-38 3351 y(.)-38 3364 +y(.)-38 3377 y(.)-38 3390 y(.)-38 3403 y(.)-38 3416 y(.)-38 +3429 y(.)-38 3442 y(.)-38 3455 y(.)-38 3468 y(.)-38 3481 +y(.)-38 3494 y(.)-38 3507 y(.)-38 3520 y(.)-38 3533 y(.)-38 +3546 y(.)-38 3559 y(.)-38 3572 y(.)-38 3585 y(.)-38 3598 +y(.)-38 3611 y(.)-38 3624 y(.)-38 3637 y(.)-38 3650 y(.)-38 +3662 y(.)-38 3675 y(.)-38 3688 y(.)-38 3701 y(.)-38 3714 +y(.)-38 3727 y(.)-38 3740 y(.)-38 3753 y(.)-38 3766 y(.)-38 +3779 y(.)-38 3792 y(.)-38 3805 y(.)-38 3818 y(.)-38 3831 +y(.)-38 3844 y(.)-38 3857 y(.)-38 3870 y(.)-38 3883 y(.)-38 +3896 y(.)-38 3909 y(.)-38 3922 y(.)-38 3935 y(.)-38 3948 +y(.)-38 3961 y(.)-38 3974 y(.)-38 3987 y(.)-38 4000 y(.)-38 +4013 y(.)-38 4026 y(.)-38 4039 y(.)-38 4052 y(.)-38 4065 +y(.)-38 4078 y(.)-38 4091 y(.)-38 4104 y(.)-38 4117 y(.)-38 +4129 y(.)-38 4142 y(.)-38 4155 y(.)-38 4168 y(.)-38 4181 +y(.)-38 4194 y(.)-38 4207 y(.)-38 4220 y(.)-38 4233 y(.)-38 +4246 y(.)-38 4259 y(.)-38 4272 y(.)-38 4285 y(.)-38 4298 +y(.)-38 4311 y(.)-38 4324 y(.)-38 4337 y(.)-38 4350 y(.)-38 +4363 y(.)0 1908 y Fs(\(proclaim)215 1912 y Fn(')238 1908 +y Fs(\(declaration)19 b(author)508 1960 y(target-language)508 +2012 y(target-machine\)\))0 2116 y(\(proclaim)215 2120 +y Fn(')238 2116 y Fs(\(target-language)f(ada\)\))0 2220 +y(\(proclaim)215 2224 y Fn(')238 2220 y Fs(\(target-machine)h +(IBM-650\)\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 247 271 +247 270 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(DECLARA)m(TIONS)1053 b(247)0 295 y Fs(\(defun)20 +b(strangep)f(\(x\))42 347 y(\(declare)h(\(author)g("Harry)g +(Tweeker"\)\))42 399 y(\(member)g(x)257 403 y Fn(')280 +399 y Fs(\(strange)g(weird)g(odd)g(peculiar\)\)\))-33 +414 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 513 a Fw(X3J13)10 b(v)o(oted)g(in)g(June)h(1989)f +Ft(h)p Fw(144)p Ft(i)f Fw(to)i(in)o(tro)q(duce)g(the)g(new)g(macro)e +Fs(declaim)p Fw(,)g(whic)o(h)-33 485 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 565 a(is)h(guaran)o(teed)h(to)f(b)q(e)h(recognized)h +(appropriately)d(b)o(y)h(the)h(compiler)e(and)h(is)g(often)h(more)0 +617 y(con)o(v)o(enien)o(t)j(than)g Fs(proclaim)e Fw(for)i(establishing) +f(global)g(declarations.)42 670 y(The)e Fs(declaration)d +Fw(declaration)i(sp)q(eci\014er)j(ma)o(y)c(b)q(e)i(used)g(with)g +Fs(declaim)e Fw(as)i(w)o(ell)f(as)0 722 y Fs(proclaim)p +Fw(.)22 b(The)16 b(preceding)h(examples)d(w)o(ould)h(b)q(e)i(b)q(etter) +g(written)f(using)g Fs(declaim)p Fw(,)0 774 y(to)e(ensure)h(that)f(the) +h(compiler)d(will)h(pro)q(cess)i(them)e(prop)q(erly)m(.)0 +890 y Fs(\(declaim)20 b(\(declaration)e(author)466 942 +y(target-language)466 994 y(target-machine\)\))0 1098 +y(\(declaim)i(\(target-languag)o(e)e(ada\))191 1150 y(\(target-machine) +g(IBM-650\)\))0 1254 y(\(defun)i(strangep)f(\(x\))42 +1305 y(\(declare)h(\(author)g("Harry)g(Tweeker"\)\))42 +1357 y(\(member)g(x)257 1361 y Fn(')280 1357 y Fs(\(strange)g(weird)g +(odd)g(peculiar\)\)\))-33 1373 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1472 a Fw(X3J13)c(v)o(oted)h(in)f(Marc)o(h)i(1989)e +Ft(h)p Fw(69)p Ft(i)g Fw(to)h(in)o(tro)q(duce)h(a)e(new)h(declaration)g +(sp)q(eci\014er)-33 1444 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1524 a Fs(dynamic-extent)d Fw(for)j(v)n(ariables,)f(and) +h(v)o(oted)g(in)g(June)h(1989)e Ft(h)p Fw(70)p Ft(i)g +Fw(to)h(extend)h(it)f(to)0 1576 y(handle)d(function-names)e(as)i(w)o +(ell.)0 1692 y Fs(dynamic-extent)0 1755 y(\(dynamic-extent)k +Fv(item1)j(item2)g Fs(...)g Fv(itemn)p Fs(\))10 b Fw(declares)h(that)g +(certain)g(v)n(ariables)f(or)0 1807 y(function-names)15 +b(refer)j(to)e(data)g(ob)r(jects)i(whose)f(exten)o(ts)h(ma)o(y)d(b)q(e) +i(regarded)g(as)g(dy-)0 1859 y(namic;)c(that)i(is,)g(the)g(declaration) +g(ma)o(y)e(b)q(e)j(construed)g(as)f(a)g(guaran)o(tee)g(on)g(the)h(part) +0 1911 y(of)h(the)g(programmer)e(that)i(the)h(program)e(will)f(b)q(eha) +o(v)o(e)j(correctly)g(ev)o(en)g(if)e(the)i(data)0 1963 +y(ob)r(jects)d(ha)o(v)o(e)f(only)f(dynamic)f(exten)o(t)j(rather)g(than) +f(the)g(usual)g(inde\014nite)g(exten)o(t.)42 2016 y(Eac)o(h)k +Fv(item)g Fw(ma)o(y)e(b)q(e)j(either)g(a)f(v)n(ariable)f(name)g(or)i +Fs(\(function)g Fv(f)9 b Fs(\))18 b Fw(where)h Fv(f)f +Fw(is)g(a)0 2068 y(function-name)c(\(see)j(section)f(7.1\).)21 +b(\(Of)16 b(course,)g Fs(\(function)k Fv(f)8 b Fs(\))15 +b Fw(ma)o(y)f(b)q(e)i(abbrevi-)0 2120 y(ated)e(in)g(the)g(usual)g(w)o +(a)o(y)f(as)h Fs(#)456 2116 y(-)456 2124 y(-)m Fn(')499 +2120 y Fv(f)p Fw(.\))42 2173 y(It)j(is)f(p)q(ermissible)h(for)g(an)f +(implemen)o(tation)e(simply)h(to)i(ignore)f(this)h(declaration.)0 +2225 y(In)j(implemen)o(tations)e(that)i(do)g(not)h(ignore)f(it,)h(the)g +(compiler)e(\(or)h(in)o(terpreter\))j(is)0 2277 y(free)16 +b(to)g(mak)o(e)e(whatev)o(er)i(optimizations)d(are)j(appropriate)g(giv) +o(en)f(this)g(information;)0 2329 y(the)20 b(most)e(common)e +(optimization)g(is)j(to)g(stac)o(k-allo)q(cate)g(the)h(initial)d(v)n +(alue)i(of)f(the)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 248 272 +248 271 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(248)77 b(COMMON)13 +b(LISP)0 295 y Fw(ob)r(ject.)19 b(The)c(data)f(t)o(yp)q(es)h(that)f +(can)g(b)q(e)h(optimized)e(in)g(this)h(manner)g(ma)o(y)e(v)n(ary)h +(from)0 347 y(implemen)o(tatio)o(n)e(to)j(implemen)o(tation.)42 +399 y(The)20 b(meaning)f(of)h(this)h(declaration)f(can)g(b)q(e)i +(stated)f(more)e(precisely)m(.)39 b(W)m(e)20 b(sa)o(y)0 +451 y(that)e(ob)r(ject)h Fv(x)f Fw(is)g(an)g Fv(otherwise)f(inac)n(c)n +(essible)i(p)n(art)e Fw(of)h Fv(y)g Fw(if)f(and)h(only)f(if)g(making)f +Fv(y)0 503 y Fw(inaccessible)11 b(w)o(ould)e(mak)o(e)g +Fv(x)h Fw(inaccessible.)18 b(\(Note)10 b(that)g(ev)o(ery)h(ob)r(ject)g +(is)f(an)g(otherwise)0 555 y(inaccessible)i(part)g(of)f(itself.\))17 +b(No)o(w)11 b(supp)q(ose)i(that)e(construct)i Fv(c)f +Fw(con)o(tains)f(a)g Fs(dynamic-)0 607 y(extent)18 b +Fw(declaration)h(for)g(v)n(ariable)g(\(or)g(function\))h +Fv(v)f Fw(\(whic)o(h)h(need)g(not)g(b)q(e)g(b)q(ound)0 +658 y(b)o(y)f Fv(c)p Fw(\).)34 b(Consider)19 b(the)h(v)n(alues)e +Fv(w)555 664 y Fk(1)574 658 y Fh(;)7 b(:)g(:)g(:)t(;)g +Fv(w)694 664 y Fi(n)734 658 y Fw(tak)o(en)19 b(on)g(b)o(y)g +Fv(v)g Fw(during)f(the)i(course)g(of)0 710 y(some)g(execution)h(of)f +Fv(c)p Fw(.)37 b(The)21 b(declaration)f(asserts)i(that)f(if)e(some)h +(ob)r(ject)h Fv(x)g Fw(is)f(an)0 762 y(otherwise)e(inaccessible)h(part) +e(of)g Fv(w)586 768 y Fi(j)616 762 y Fw(whenev)o(er)i +Fv(w)830 768 y Fi(j)860 762 y Fw(b)q(ecomes)e(the)h(v)n(alue)f(of)g +Fv(v)p Fw(,)h(then)0 814 y(just)h(after)g(execution)g(of)f +Fh(c)g Fw(terminates)h Fv(x)f Fw(will)g(b)q(e)h(either)g(inaccessible)h +(or)e(still)g(an)0 866 y(otherwise)c(inaccessible)h(part)e(of)g(the)h +(v)n(alue)f(of)g Fv(v)p Fw(.)18 b(If)13 b(this)g(assertion)i(is)e(ev)o +(er)h(violated,)0 918 y(the)g(consequences)j(are)d(unde\014ned.)42 +970 y(In)e(some)g(implemen)o(tations,)e(it)i(is)h(p)q(ossible)g(to)f +(allo)q(cate)h(data)f(structures)k(in)c(a)g(w)o(a)o(y)0 +1022 y(that)k(will)f(mak)o(e)g(them)h(easier)h(to)f(reclaim)f(than)h(b) +o(y)g(general-purp)q(ose)i(garbage)e(col-)0 1074 y(lection)c(\(for)g +(example,)f(on)h(the)h(stac)o(k)g(or)g(in)f(some)f(temp)q(orary)h +(area\).)18 b(The)12 b Fs(dynamic-)0 1126 y(extent)17 +b Fw(declaration)h(is)g(designed)h(to)f(giv)o(e)f(the)i(implemen)o +(tation)c(the)k(information)0 1178 y(necessary)d(to)e(exploit)f(suc)o +(h)i(tec)o(hniques.)42 1230 y(F)m(or)e(example,)f(in)i(the)g(co)q(de)h +(fragmen)o(t)0 1337 y Fs(\(let)20 b(\(\(x)h(\(list)323 +1341 y Fn(')346 1337 y Fs(a1)409 1341 y Fn(')432 1337 +y Fs(b1)495 1341 y Fn(')518 1337 y Fs(c1\)\))127 1389 +y(\(y)g(\(cons)320 1393 y Fn(')343 1389 y Fs(a2)g(\(cons)536 +1393 y Fn(')559 1389 y Fs(b2)g(\(cons)752 1393 y Fn(')775 +1389 y Fs(c2)838 1393 y Fn(')861 1389 y Fs(d2\)\)\)\)\))42 +1441 y(\(declare)f(\(dynamic-extent)e(x)j(y\)\))42 1493 +y(...\))0 1599 y Fw(it)11 b(is)g(not)g(di\016cult)g(to)g(pro)o(v)o(e)h +(that)f(the)h(otherwise)h(inaccessible)f(parts)g(of)f +Fs(x)g Fw(include)g(the)0 1651 y(three)i(conses)g(constructed)i(b)o(y)c +Fs(list)p Fw(,)g(and)h(that)g(the)g(otherwise)h(inaccessible)g(parts)f +(of)0 1703 y Fs(y)i Fw(include)h(three)h(other)f(conses)h(man)o +(ufactured)e(b)o(y)g(the)h(three)h(calls)e(to)g Fs(cons)p +Fw(.)19 b(Giv)o(en)0 1755 y(the)11 b(presence)i(of)d(the)i +Fs(dynamic-extent)7 b Fw(declaration,)k(a)f(compiler)f(w)o(ould)h(b)q +(e)h(justi\014ed)0 1806 y(in)j(stac)o(k-allo)q(cating)f(these)j(six)e +(conses)h(and)f(reclaiming)f(their)h(storage)h(on)f(exit)g(from)0 +1858 y(the)g Fs(let)g Fw(form.)42 1911 y(Since)k(stac)o(k)h(allo)q +(cation)d(of)i(the)g(initial)e(v)n(alue)i(en)o(tails)f(kno)o(wing)g(at) +h(the)h(ob)r(ject's)0 1963 y(creation)13 b(time)f(that)h(the)g(ob)r +(ject)h(can)f(b)q(e)h(stac)o(k-allo)q(cated,)e(it)h(is)f(not)h +(generally)g(useful)0 2014 y(to)d(declare)h Fs(dynamic-extent)d +Fw(for)h(v)n(ariables)h(that)g(ha)o(v)o(e)g(no)g(lexically)f(apparen)o +(t)i(initial)0 2066 y(v)n(alue.)17 b(F)m(or)d(example,)0 +2173 y Fs(\(defun)20 b(f)h(\(\))42 2225 y(\(let)g(\(\(x)f(\(list)g(1)h +(2)g(3\)\)\))85 2277 y(\(declare)e(\(dynamic-extent)f(x\)\))85 +2329 y(...\)\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 249 273 +249 272 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(DECLARA)m(TIONS)1053 +b(249)0 295 y Fw(w)o(ould)13 b(p)q(ermit)g(a)h(compiler)e(to)i(stac)o +(k-allo)q(cate)g(the)g(list)f(in)h Fs(x)p Fw(.)k(Ho)o(w)o(ev)o(er,)0 +406 y Fs(\(defun)i(g)h(\(x\))f(\(declare)g(\(dynamic-extent)e(x\)\))j +(...\))0 458 y(\(defun)f(f)h(\(\))g(\(g)f(\(list)h(1)g(2)f(3\)\)\))0 +569 y Fw(could)10 b(not)g(t)o(ypically)e(p)q(ermit)h(a)h(similar)d +(optimization)g(in)j Fs(f)g Fw(b)q(ecause)h(of)e(the)i(p)q(ossibilit)o +(y)0 621 y(of)g(later)g(rede\014nition)h(of)f Fs(g)p +Fw(.)17 b(Only)11 b(an)g(implem)o(en)o(tation)e(careful)i(enough)g(to)h +(recompile)0 673 y Fs(f)j Fw(if)g(the)h(de\014nition)f(of)g +Fs(g)h Fw(w)o(ere)g(to)g(c)o(hange)f(incompatibly)e(could)j(stac)o +(k-allo)q(cate)f(the)0 725 y(list)e(argumen)o(t)g(to)h +Fs(g)g Fw(in)f Fs(f)p Fw(.)42 778 y(Other)i(in)o(teresting)f(cases)h +(are)0 889 y Fs(\(declaim)20 b(\(inline)f(g\)\))0 941 +y(\(defun)h(g)h(\(x\))f(\(declare)g(\(dynamic-extent)e(x\)\))j(...\))0 +993 y(\(defun)f(f)h(\(\))g(\(g)f(\(list)h(1)g(2)f(3\)\)\))0 +1104 y Fw(and)0 1215 y Fs(\(defun)g(f)h(\(\))42 1267 +y(\(flet)f(\(\(g)h(\(x\))g(\(declare)e(\(dynamic-extent)f(x\)\))j +(...\)\))85 1319 y(\(g)f(\(list)h(1)g(2)g(3\)\)\)\))0 +1430 y Fw(In)d(eac)o(h)h(case)g(some)e(compilers)g(migh)o(t)f(realize)j +(the)f(optimization)e(is)i(p)q(ossible)g(and)0 1482 y(others)d(migh)o +(t)d(not.)42 1535 y(An)h(in)o(teresting)g(v)n(arian)o(t)f(of)h(this)g +(is)g(the)h(so-called)f Fv(stack-al)r(lo)n(c)n(ate)n(d)h(r)n(est)f +(list)p Fw(,)f(whic)o(h)0 1587 y(can)i(b)q(e)h(ac)o(hiev)o(ed)f(\(in)f +(implemen)o(tations)e(supp)q(orting)j(the)h(optimization\))c(b)o(y)0 +1698 y Fs(\(defun)20 b(f)h(\(&rest)f(x\))42 1750 y(\(declare)g +(\(dynamic-extent)e(x\)\))42 1802 y(...\))0 1913 y Fw(Note)f(here)g +(that)f(although)g(the)h(initial)d(v)n(alue)h(of)h Fs(x)g +Fw(is)g(not)g(explicitly)g(presen)o(t,)i(nev-)0 1965 +y(ertheless)h(in)d(the)h(usual)g(implemen)o(tatio)o(n)d(strategy)k(the) +f(function)g Fs(f)f Fw(is)h(resp)q(onsible)0 2016 y(for)h(assem)o +(bling)f(the)i(list)f(for)g Fs(x)g Fw(from)f(the)i(passed)g(argumen)o +(ts,)f(so)h(the)g Fs(f)f Fw(function)0 2068 y(can)d(b)q(e)h(optimized)d +(b)o(y)i(a)g(compiler)e(to)i(construct)i(a)e(stac)o(k-allo)q(cated)f +(list)h(instead)g(of)0 2120 y(a)f(heap-allo)q(cated)f(list.)42 +2173 y(Some)c(Common)e(Lisp)j(functions)h(tak)o(e)g(other)g(functions)f +(as)h(argumen)o(ts;)f(frequen)o(tly)0 2225 y(the)18 b(argumen)o(t)e +(function)h(is)g(a)g(so-called)g Fv(downwar)n(d)g(funar)n(g)p +Fw(,)h(that)f(is,)h(a)f(functional)0 2277 y(argumen)o(t)e(that)g(is)h +(passed)h(only)e(do)o(wn)o(w)o(ard)g(and)g(whose)i(exten)o(t)f(ma)o(y)e +(therefore)j(b)q(e)0 2329 y(dynamic.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 250 274 +250 273 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(250)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(flet)20 b(\(\(gd)g(\(x\))h(\(atan)f(\(sinh)g +(x\)\)\)\))42 347 y(\(declare)g(\(dynamic-extent)e(#)586 +343 y(-)586 351 y(-)m Fn(')629 347 y Fs(gd\)\))105 b(;mapcar)12 +b Fw(w)o(on't)h(hang)h(on)g(to)f Fs(gd)42 399 y(\(mapcar)20 +b(#)216 395 y(-)216 403 y(-)n Fn(')259 399 y Fs(gd)h(my-list-of-numbe)o +(rs\)\))42 504 y Fw(The)14 b(follo)o(wing)d(three)k(examples)d(are)j +(in)e(error,)h(since)g(in)g(eac)o(h)g(case)h(the)f(v)n(alue)f(of)g +Fs(x)0 555 y Fw(is)h(used)h(outside)f(of)f(its)h(exten)o(t.)0 +661 y Fs(\(length)20 b(\(let)g(\(\(x)h(\(list)f(1)h(2)g(3\)\)\))212 +713 y(\(declare)e(\(dynamic-extent)f(x\)\))212 765 y(x\)\))761 +b(;)p Fw(W)m(rong)0 870 y(The)16 b(preceding)g(co)q(de)g(is)g(ob)o +(viously)e(incorrect,)i(b)q(ecause)h(the)f(cons)g(cells)g(making)d(up)0 +922 y(the)j(list)f(in)g Fs(x)g Fw(migh)o(t)e(b)q(e)j(deallo)q(cated)f +(\(thanks)h(to)f(the)h(declaration\))f(b)q(efore)h Fs(length)0 +973 y Fw(is)e(called.)0 1079 y Fs(\(length)20 b(\(list)g(\(let)g(\(\(x) +h(\(list)f(1)h(2)g(3\)\)\))339 1131 y(\(declare)e(\(dynamic-extent)f +(x\)\))339 1183 y(x\)\)\))613 b(;)p Fw(W)m(rong)0 1288 +y(In)16 b(this)g(second)h(case)g(it)f(is)g(less)h(ob)o(vious)e(that)h +(the)h(co)q(de)f(is)g(incorrect,)i(b)q(ecause)g(one)0 +1340 y(migh)o(t)f(argue)j(that)f(the)h(cons)g(cells)f(making)e(up)i +(the)h(list)f(in)g Fs(x)g Fw(ha)o(v)o(e)g(no)g(e\013ect)i(on)0 +1391 y(the)16 b(result)g(to)f(b)q(e)h(computed)f(b)o(y)g +Fs(length)p Fw(.)21 b(Nev)o(ertheless)d(the)e(co)q(de)g(brie\015y)f +(violates)0 1443 y(the)g(assertion)g(implied)e(b)o(y)h(the)h +(declaration)f(and)h(is)f(therefore)i(incorrect.)22 b(\(It)14 +b(is)h(not)0 1495 y(di\016cult)e(to)g(imagine)d(a)j(p)q(erfectly)h +(sensible)g(implemen)o(tation)c(of)j(a)g(garbage)f(collector)0 +1547 y(that)h(migh)o(t)e(b)q(ecome)i(confused)h(b)o(y)f(a)g(cons)g +(cell)g(con)o(taining)f(a)h(dangling)f(p)q(oin)o(ter)h(to)g(a)0 +1599 y(list)g(that)h(w)o(as)g(once)h(stac)o(k-allo)q(cated)e(but)i +(then)f(deallo)q(cated.\))0 1704 y Fs(\(progn)20 b(\(let)g(\(\(x)h +(\(list)f(1)h(2)g(3\)\)\))191 1756 y(\(declare)e(\(dynamic-extent)f +(x\)\))191 1808 y(x\))804 b(;)p Fw(W)m(rong)148 1860 +y Fs(\(print)20 b("Six)g(dollars)g(is)h(your)f(change)g(have)h(a)g +(nice)f(day)g(NEXT!"\)\))0 1965 y Fw(In)d(this)g(third)g(case)g(it)g +(is)g(ev)o(en)g(less)h(ob)o(vious)e(that)h(the)g(co)q(de)h(is)f +(incorrect,)h(b)q(ecause)0 2017 y(the)h(v)n(alue)f(of)g +Fs(x)g Fw(returned)i(from)c(the)j Fs(let)f Fw(construct)i(is)e +(discarded)i(righ)o(t)e(a)o(w)o(a)o(y)f(b)o(y)0 2069 +y(the)e Fs(progn)p Fw(.)j(Indeed)d(it)f(is,)g(but)g(\\righ)o(t)g(a)o(w) +o(a)o(y")f(isn't)g(fast)i(enough.)k(The)14 b(co)q(de)h(brie\015y)0 +2121 y(violates)i(the)i(assertion)f(implied)e(b)o(y)h(the)i +(declaration)e(and)h(is)g(therefore)h(incorrect.)0 2173 +y(\(If)c(the)h(co)q(de)g(is)f(b)q(eing)h(in)o(terpreted,)h(the)f(in)o +(terpreter)h(migh)o(t)c(hang)i(on)g(to)g(the)h(v)n(alue)0 +2225 y(returned)g(b)o(y)d(the)i Fs(let)e Fw(for)g(some)g(time)g(b)q +(efore)i(it)e(is)h(ev)o(en)o(tually)f(discarded.\))42 +2277 y(Here)k(is)e(one)i(last)e(example,)g(one)h(that)g(has)g(little)f +(practical)h(imp)q(ort)f(but)h(is)g(theo-)0 2329 y(retically)d(quite)h +(instructiv)o(e.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 251 275 +251 274 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(DECLARA)m(TIONS)1053 +b(251)0 295 y Fs(\(dotimes)20 b(\(j)g(10\))42 347 y(\(declare)g +(\(dynamic-extent)e(j\)\))42 399 y(\(setq)i(foo)h(3\))444 +b(;)p Fw(Correct)42 450 y Fs(\(setq)20 b(foo)h(j\)\))423 +b(;)p Fw(Erroneous|but)14 b(wh)o(y?)g(\(see)h(text\))0 +559 y(Since)d Fs(j)g Fw(is)f(an)h(in)o(teger)g(b)o(y)f(the)h +(de\014nition)g(of)f Fs(dotimes)p Fw(,)f(but)i Fs(eq)f +Fw(and)g Fs(eql)g Fw(are)h(not)g(nec-)0 611 y(essarily)g(equiv)n(alen)o +(t)g(for)g(in)o(tegers,)h(what)f(are)h(the)g(otherwise)g(inaccessible)h +(parts)f(of)e Fs(j)p Fw(,)0 663 y(whic)o(h)h(this)h(declaration)f +(requires)i(the)g(b)q(o)q(dy)e(of)g(the)h Fs(dotimes)f +Fw(not)g(to)h(\\sa)o(v)o(e"?)k(If)12 b(the)0 715 y(v)n(alue)i(of)h +Fs(j)g Fw(is)g Fs(3)p Fw(,)f(and)h(the)h(b)q(o)q(dy)f(do)q(es)h +Fs(\(setq)k(foo)h(3\))p Fw(,)14 b(is)h(that)g(an)g(error?)23 +b(The)15 b(an-)0 767 y(sw)o(er)d(is)g(no,)f(but)h(the)g(in)o(teresting) +g(thing)f(is)h(that)f(it)h(dep)q(ends)h(on)e(the)h(implemen)o(tation-)0 +818 y(dep)q(enden)o(t)18 b(b)q(eha)o(vior)e(of)f Fs(eq)h +Fw(on)f(n)o(um)o(b)q(ers.)25 b(In)16 b(an)g(implem)o(en)o(tation)d +(where)k Fs(eq)f Fw(and)0 870 y Fs(eql)d Fw(are)h(equiv)n(alen)o(t)f +(for)h Fs(3)p Fw(,)f(then)h Fs(3)g Fw(is)f(not)h(an)g(otherwise)g +(inaccessible)h(part)f(b)q(ecause)0 922 y Fs(\(eq)21 +b(j)g(\(+)f(2)h(1\)\))13 b Fw(is)g(true,)h(and)g(therefore)h(there)f +(is)g(another)g(w)o(a)o(y)e(to)i(access)h(the)f(ob-)0 +974 y(ject)f(b)q(esides)g(going)e(through)h Fs(j)p Fw(.)18 +b(On)12 b(the)h(other)g(hand,)e(in)h(an)g(implemen)o(tatio)o(n)e(where) +0 1026 y Fs(eq)h Fw(and)g Fs(eql)f Fw(are)i(not)f(equiv)n(alen)o(t)f +(for)h Fs(3)p Fw(,)g(then)h(the)f(particular)g Fs(3)g +Fw(that)g(is)g(the)h(v)n(alue)e(of)h Fs(j)0 1078 y Fw(is)i(an)g +(otherwise)h(inaccessible)g(part,)f(but)g(an)o(y)g(other)h +Fs(3)e Fw(is)h(not.)18 b(Th)o(us)13 b Fs(\(setq)21 b(foo)f(3\))0 +1130 y Fw(is)f(v)n(alid)f(but)h Fs(\(setq)i(foo)f(j\))f +Fw(is)g(erroneous.)36 b(Since)20 b Fs(\(setq)g(foo)g(j\))f +Fw(is)g(erroneous)0 1182 y(in)c(some)f(implemen)o(tations,)e(it)j(is)g +(erroneous)i(in)e(all)f(p)q(ortable)h(programs,)f(but)i(some)0 +1234 y(other)c(implemen)o(tations)d(ma)o(y)h(not)h(b)q(e)i(able)e(to)h +(detect)h(the)f(error.)18 b(\(If)12 b(this)g(conclusion)0 +1285 y(seems)g(strange,)h(it)e(ma)o(y)f(help)i(to)g(replace)h +Fs(3)e Fw(ev)o(erywhere)j(in)d(the)i(preceding)g(argumen)o(t)0 +1337 y(with)j(some)g(ob)o(vious)f(bign)o(um)g(suc)o(h)i(as)f +Fs(3753746388374248982)o(43)d Fw(and)k(to)f(replace)0 +1389 y Fs(10)d Fw(with)h(some)f(ev)o(en)i(larger)e(bign)o(um.\))42 +1442 y(The)g Fs(dynamic-extent)d Fw(declaration)i(should)h(b)q(e)h +(used)f(with)g(great)g(care.)19 b(It)13 b(mak)o(es)0 +1494 y(p)q(ossible)j(great)f(p)q(erformance)h(impro)o(v)o(emen)o(ts)d +(in)i(some)f(situations,)h(but)h(if)f(the)h(user)0 1546 +y(misdeclares)11 b(something)e(and)i(consequen)o(tly)g(the)h(implem)o +(en)o(tation)c(returns)k(a)f(p)q(oin)o(ter)0 1598 y(in)o(to)g(the)h +(stac)o(k)g(\(or)f(stores)i(it)e(in)g(the)h(heap\),)g(an)g(unde\014ned) +g(situation)f(ma)o(y)f(result)i(and)0 1649 y(the)h(in)o(tegrit)o(y)e +(of)g(the)i(Lisp)f(storage)g(mec)o(hanism)e(ma)o(y)g(b)q(e)i +(compromised.)k(Debugging)0 1701 y(these)j(situations)d(ma)o(y)g(b)q(e) +h(tric)o(ky)m(.)28 b(Users)19 b(who)d(ha)o(v)o(e)h(ask)o(ed)h(for)f +(this)g(feature)h(ha)o(v)o(e)0 1753 y(indicated)i(a)f(willingness)g(to) +g(deal)g(with)h(suc)o(h)g(problems;)h(nev)o(ertheless,)i(I)c(do)h(not)0 +1805 y(encourage)15 b(casual)f(users)h(to)f(use)g(this)g(declaration.) +-33 1817 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1914 a(An)19 b(implemen)o(tation)d(is)j(free)i(to)e +(supp)q(ort)h(other)g(\(implemen)o(tation-dep)q(enden)o(t\))0 +1966 y(declaration)h(sp)q(eci\014ers)i(as)e(w)o(ell.)40 +b(On)21 b(the)h(other)g(hand,)g(a)f(Common)d(Lisp)j(com-)0 +2017 y(piler)g(is)f(free)i(to)e(ignore)h(en)o(tire)g(classes)h(of)f +(declaration)f(sp)q(eci\014ers)j(\(for)d(example,)0 2069 +y(implemen)o(tatio)o(n-dep)q(enden)o(t)13 b(declaration)h(sp)q +(eci\014ers)i(not)e(supp)q(orted)i(b)o(y)e(that)g(com-)0 +2121 y(piler's)21 b(implemen)o(tation\),)f(except)j(for)e(the)i +Fs(declaration)c Fw(declaration)i(sp)q(eci\014er.)0 2173 +y(Compiler)c(implemen)o(tors)g(are)j(encouraged,)h(ho)o(w)o(ev)o(er,)g +(to)e(program)e(the)j(compiler)0 2225 y(to)c(issue)i(b)o(y)e(default)g +(a)g(w)o(arning)g(if)g(the)h(compiler)e(\014nds)i(a)f(declaration)g(sp) +q(eci\014er)i(of)0 2277 y(a)d(kind)g(it)g(nev)o(er)h(uses.)24 +b(Suc)o(h)15 b(a)g(w)o(arning)g(is)g(required)h(in)f(an)o(y)g(case)h +(if)f(a)g(declaration)0 2329 y(sp)q(eci\014er)20 b(is)f(not)f(one)h(of) +f(those)i(de\014ned)f(ab)q(o)o(v)o(e)g(and)f(has)h(not)f(b)q(een)i +(declared)g(in)e(a)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 252 276 +252 275 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(252)77 b(COMMON)13 +b(LISP)0 295 y Fs(declaration)f Fw(declaration.)0 452 +y Fo(9.3.)20 b(T)n(yp)r(e)15 b(Declaration)e(for)i(F)-5 +b(orms)0 540 y Fw(F)m(requen)o(tly)17 b(it)e(is)i(useful)f(to)g +(declare)i(that)e(the)h(v)n(alue)f(pro)q(duced)h(b)o(y)f(the)h(ev)n +(aluation)0 591 y(of)c(some)f(form)g(will)g(b)q(e)i(of)f(a)g +(particular)g(t)o(yp)q(e.)18 b(Using)c Fs(declare)e Fw(one)h(can)h +(declare)g(the)0 643 y(t)o(yp)q(e)e(of)f(the)h(v)n(alue)f(held)h(b)o(y) +f(a)g(b)q(ound)h(v)n(ariable,)e(but)i(there)h(is)e(no)h(easy)g(w)o(a)o +(y)e(to)i(declare)0 695 y(the)k(t)o(yp)q(e)g(of)e(the)i(v)n(alue)f(of)f +(an)h(unnamed)f(form.)21 b(F)m(or)14 b(this)i(purp)q(ose)g(the)g +Fs(the)e Fw(sp)q(ecial)0 747 y(form)e(is)h(de\014ned;)h +Fs(\(the)20 b Fv(typ)n(e)h(form)p Fs(\))13 b Fw(means)f(that)i(the)g(v) +n(alue)e(of)h Fv(form)f Fw(is)i(declared)g(to)0 799 y(b)q(e)h(of)e(t)o +(yp)q(e)h Fv(typ)n(e)p Fw(.)1145 935 y([)p Fv(Sp)n(e)n(cial)h(form)s +Fw(])-1396 b Fs(the)34 b Fv(value-typ)n(e)16 b(form)0 +1012 y Fw(The)f Fv(form)e Fw(is)i(ev)n(aluated;)e(whatev)o(er)j(it)d +(pro)q(duces)j(is)f(returned)h(b)o(y)e(the)h Fs(the)e +Fw(form.)18 b(In)0 1064 y(addition,)g(it)h(is)f(an)h(error)h(if)e(what) +g(is)h(pro)q(duced)h(b)o(y)e(the)i Fv(form)e Fw(do)q(es)i(not)e +(conform)0 1116 y(to)f(the)g(data)g(t)o(yp)q(e)g(sp)q(eci\014ed)i(b)o +(y)d Fv(value-typ)n(e)i Fw(\(whic)o(h)e(is)h(not)g(ev)n(aluated\).)27 +b(\(A)17 b(giv)o(en)0 1168 y(implemen)o(tatio)o(n)7 b(ma)o(y)h(or)h(ma) +o(y)f(not)h(actually)g(c)o(hec)o(k)h(for)f(this)h(error.)17 +b(Implemen)o(tations)0 1219 y(are)e(encouraged)g(to)f(mak)o(e)e(an)i +(explicit)g(error)h(c)o(hec)o(k)g(when)f(running)g(in)o(terpretiv)o +(ely)m(.\))0 1271 y(In)h(e\013ect,)h(this)f(declares)h(that)f(the)h +(user)f(undertak)o(es)i(to)d(guaran)o(tee)i(that)f(the)g(v)n(alues)0 +1323 y(of)e(the)i(form)d(will)g(alw)o(a)o(ys)h(b)q(e)i(of)e(the)h(sp)q +(eci\014ed)i(t)o(yp)q(e.)i(F)m(or)c(example:)0 1410 y +Fs(\(the)20 b(string)g(\(copy-seq)g(x\)\))105 b(;)p Fw(The)14 +b(result)h(will)d(b)q(e)i(a)g(string)0 1462 y Fs(\(the)20 +b(integer)g(\(+)h(x)g(3\)\))190 b(;)p Fw(The)14 b(result)g(of)g +Fs(+)f Fw(will)g(b)q(e)h(an)g(in)o(teger)0 1514 y Fs(\(+)21 +b(\(the)f(integer)g(x\))h(3\))190 b(;)p Fw(The)14 b(v)n(alue)f(of)g +Fs(x)h Fw(will)e(b)q(e)j(an)f(in)o(teger)0 1566 y Fs(\(the)20 +b(\(complex)g(rational\))f(\(*)i(z)g(3\)\))0 1618 y(\(the)f +(\(unsigned-byte)f(8\))h(\(logand)g(x)h(mask\)\))0 1705 +y Fw(The)10 b Fs(values)f Fw(t)o(yp)q(e)i(sp)q(eci\014er)g(ma)o(y)e(b)q +(e)h(used)h(to)f(indicate)g(the)g(t)o(yp)q(es)h(of)f(m)o(ultiple)d(v)n +(alues:)0 1792 y Fs(\(the)20 b(\(values)g(integer)g(integer\))f +(\(floor)h(x)h(y\)\))0 1843 y(\(the)f(\(values)g(string)g(t\))106 +1895 y(\(gethash)f(the-key)h(the-string-table\)\))42 +1982 y Fw(X3J13)12 b(v)o(oted)h(in)f(June)i(1989)e Ft(h)p +Fw(177)p Ft(i)g Fw(to)h(clarify)f(that)h Fv(value-typ)n(e)g +Fw(ma)o(y)e(b)q(e)i(an)o(y)f(v)n(alid)-33 1954 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2034 a(t)o(yp)q(e)j(sp)q(eci\014er)h(whatso)q(ev)o(er.)k +(The)15 b(p)q(oin)o(t)e(is)h(that)h(a)f(t)o(yp)q(e)g(sp)q(eci\014er)i +(need)g(not)e(b)q(e)h(one)0 2086 y(suitable)f(for)f(discrimination)f +(but)i(only)f(for)g(declaration.)42 2138 y(In)e(the)i(case)f(that)g +(the)h Fv(form)e Fw(pro)q(duces)i(exactly)f(one)g(v)n(alue)f(and)h +Fv(value-typ)n(e)g Fw(is)f(not)h(a)0 2190 y Fs(values)c +Fw(t)o(yp)q(e)i(sp)q(eci\014er,)i(one)e(ma)o(y)e(describ)q(e)j(a)f +Fs(the)e Fw(form)g(as)i(b)q(eing)g(en)o(tirely)f(equiv)n(alen)o(t)0 +2242 y(to)0 2329 y Fs(\(let)20 b(\(\(#)152 2325 y(-)152 +2333 y(-)174 2329 y(1)196 2325 y(U)196 2333 y(U)217 2329 +y(#)217 2325 y(-)217 2333 y(-)239 2329 y(:temp)g Fv(form)p +Fs(\)\))g(\(declare)g(\(type)g Fv(value-typ)n(e)h Fs(#)1045 +2325 y(-)1045 2333 y(-)1067 2329 y(1#)1089 2325 y(-)1089 +2333 y(-)1111 2329 y(\)\))g(#)1176 2325 y(-)1176 2333 +y(-)1197 2329 y(1#)1219 2325 y(-)1219 2333 y(-)1241 2329 +y(\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 253 277 +253 276 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(DECLARA)m(TIONS)1053 +b(253)0 295 y Fw(A)21 b(more)f(elab)q(orate)h(expression)g(could)g(b)q +(e)g(written)h(to)e(describ)q(e)j(the)e(case)h(where)0 +347 y Fv(value-typ)n(e)14 b Fw(is)g(a)f Fs(values)g Fw(t)o(yp)q(e)h(sp) +q(eci\014er.)-33 358 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 406 V 0 467 a Fm(Compatibilit)o(y)8 b(note:)16 +b FA(This)10 b(construct)g(is)h(b)q(orro)o(w)o(ed)f(from)f(the)h(In)o +(terlisp)h(DECL)f(pac)o(k)n(age;)0 512 y(In)o(terlisp,)k(ho)o(w)o(ev)o +(er,)f(allo)o(ws)h(an)f(implicit)i Fj(progn)10 b FA(after)j(the)f(t)o +(yp)q(e)h(sp)q(eci\014er)i(rather)d(than)i(just)0 558 +y(a)d(single)i(form.)k(The)11 b(MacLisp)h Fj(fixnum-iden)o(ti)o(ty)c +FA(and)k Fj(flonum-id)o(en)o(tit)o(y)c FA(constructs)k(can)0 +604 y(b)q(e)h(expressed)i(as)e Fj(\(the)k(fixnum)f Fq(x)p +Fj(\))c FA(and)i Fj(\(the)j(single-flo)o(at)e Fq(x)p +Fj(\))p FA(.)p 0 638 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 254 278 +254 277 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(10)p 0 448 598 +9 v 0 531 a Fp(Symb)r(ols)0 888 y Fw(A)14 b(Lisp)g(sym)o(b)q(ol)e(is)i +(a)f(data)h(ob)r(ject)g(that)g(has)g(three)i(user-visible)e(comp)q +(onen)o(ts:)0 950 y Fu(.)42 959 y Fw(The)h Fv(pr)n(op)n(erty)h(list)e +Fw(is)h(a)g(list)f(that)h(e\013ectiv)o(ely)h(pro)o(vides)g(eac)o(h)f +(sym)o(b)q(ol)f(with)h(man)o(y)42 1011 y(mo)q(di\014able)c(named)i +(comp)q(onen)o(ts.)0 1085 y Fu(.)42 1094 y Fw(The)h Fv(print)g(name)h +Fw(m)o(ust)d(b)q(e)j(a)f(string,)f(whic)o(h)h(is)f(the)i(sequence)h(of) +d(c)o(haracters)j(used)42 1146 y(to)i(iden)o(tify)g(the)i(sym)o(b)q +(ol.)31 b(Sym)o(b)q(ols)17 b(are)i(of)f(great)i(use)f(b)q(ecause)i(a)d +(sym)o(b)q(ol)g(can)42 1198 y(b)q(e)f(lo)q(cated)g(once)h(its)f(name)e +(is)i(giv)o(en)g(\(t)o(yp)q(ed,)h(sa)o(y)m(,)e(on)h(a)g(k)o(eyb)q +(oard\).)27 b(One)18 b(ma)o(y)42 1250 y(ordinarily)12 +b(not)i(alter)g(a)f(sym)o(b)q(ol's)f(prin)o(t)i(name.)42 +1321 y(X3J13)i(v)o(oted)h(in)g(Marc)o(h)g(1989)f Ft(h)p +Fw(11)p Ft(i)h Fw(to)g(sp)q(ecify)h(it)e(is)h(an)g(error)h(to)f(alter)g +(a)g(prin)o(t)-33 1292 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1372 a(name.)-33 1384 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1434 a Fu(.)42 1443 y Fw(The)c Fv(p)n(ackage)i(c)n(el)r +(l)d Fw(m)o(ust)g(refer)i(to)f(a)f(pac)o(k)n(age)h(ob)r(ject.)18 +b(A)13 b(pac)o(k)n(age)g(is)f(a)h(data)g(struc-)42 1495 +y(ture)k(used)g(to)f(lo)q(cate)g(a)g(sym)o(b)q(ol)f(once)i(giv)o(en)f +(the)h(sym)o(b)q(ol's)d(name.)24 b(A)16 b(sym)o(b)q(ol)f(is)42 +1547 y(uniquely)d(iden)o(ti\014ed)h(b)o(y)g(its)g(name)e(only)i(when)g +(considered)h(relativ)o(e)f(to)g(a)g(pac)o(k)n(age.)42 +1599 y(A)i(sym)o(b)q(ol)f(ma)o(y)g(app)q(ear)i(in)f(man)o(y)f(pac)o(k)n +(ages,)h(but)h(it)f(can)h(b)q(e)g Fv(owne)n(d)g Fw(b)o(y)f(at)h(most)42 +1651 y(one)c(pac)o(k)n(age.)17 b(The)12 b(pac)o(k)n(age)g(cell)g(p)q +(oin)o(ts)g(to)g(the)h(o)o(wner,)f(if)g(an)o(y)m(.)k(P)o(ac)o(k)n(age)c +(cells)g(are)42 1703 y(discussed)j(along)e(with)g(pac)o(k)n(ages)h(in)g +(c)o(hapter)h(11.)42 1773 y(A)h(sym)o(b)q(ol)f(ma)o(y)g(actually)h(ha)o +(v)o(e)h(other)g(comp)q(onen)o(ts)g(for)f(use)i(b)o(y)e(the)i(implem)o +(en-)0 1825 y(tation.)j(One)16 b(of)f(the)h(more)e(imp)q(ortan)o(t)g +(uses)i(of)f(sym)o(b)q(ols)f(is)h(as)g(names)f(for)h(program)0 +1877 y(v)n(ariables;)d(it)g(is)h(frequen)o(tly)g(desirable)g(for)g(the) +g(implemen)o(tor)d(to)j(use)h(certain)f(comp)q(o-)0 1929 +y(nen)o(ts)f(of)f(a)h(sym)o(b)q(ol)d(to)j(implem)o(en)o(t)d(the)j +(seman)o(tics)f(of)g(v)n(ariables.)17 b(See)12 b Fs(symbol-value)0 +1981 y Fw(and)17 b Fs(symbol-function)p Fw(.)24 b(Ho)o(w)o(ev)o(er,)17 +b(there)h(are)g(sev)o(eral)f(p)q(ossible)g(implemen)o(tation)0 +2033 y(strategies,)e(and)e(so)h(suc)o(h)h(p)q(ossible)f(comp)q(onen)o +(ts)g(are)g(not)g(describ)q(ed)h(here.)0 2189 y Fo(10.1.)20 +b(The)15 b(Prop)r(ert)n(y)f(List)0 2277 y Fw(Since)j(its)g(inception,)h +(Lisp)f(has)g(asso)q(ciated)g(with)g(eac)o(h)h(sym)o(b)q(ol)d(a)h(kind) +h(of)f(tabular)0 2329 y(data)d(structure)j(called)e(a)f +Fv(pr)n(op)n(erty)i(list)e Fw(\()p Fv(plist)g Fw(for)g(short\).)19 +b(A)14 b(prop)q(ert)o(y)g(list)g(con)o(tains)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2428 a Fy(254)p eop +%%Page: 255 279 +255 278 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SYMBOLS)1160 b(255)0 +295 y Fw(zero)16 b(or)f(more)g(en)o(tries;)h(eac)o(h)g(en)o(try)g(asso) +q(ciates)g(with)f(a)g(k)o(ey)g(\(called)h(the)f Fv(indic)n(ator)p +Fw(\),)0 347 y(whic)o(h)k(is)g(t)o(ypically)f(a)h(sym)o(b)q(ol,)f(an)h +(arbitrary)h(Lisp)f(ob)r(ject)h(\(called)f(the)h Fv(value)f +Fw(or,)0 399 y(sometimes,)12 b(the)j Fv(pr)n(op)n(erty)p +Fw(\).)20 b(There)15 b(are)g(no)g(duplications)e(among)g(the)i +(indicators;)f(a)0 450 y(prop)q(ert)o(y)f(list)e(ma)o(y)f(only)h(ha)o +(v)o(e)g(one)h(prop)q(ert)o(y)h(at)f(a)f(time)g(with)g(a)g(giv)o(en)h +(name.)k(In)c(this)0 502 y(w)o(a)o(y)m(,)i(giv)o(en)h(a)g(sym)o(b)q(ol) +f(and)h(an)g(indicator)g(\(another)h(sym)o(b)q(ol\),)d(an)i(asso)q +(ciated)h(v)n(alue)0 554 y(can)e(b)q(e)h(retriev)o(ed.)42 +611 y(A)e(prop)q(ert)o(y)i(list)e(is)g(v)o(ery)h(similar)e(in)h(purp)q +(ose)i(to)e(an)h(asso)q(ciation)f(list.)k(The)d(di\013er-)0 +663 y(ence)g(is)f(that)f(a)h(prop)q(ert)o(y)g(list)f(is)h(an)f(ob)r +(ject)i(with)e(a)g(unique)h(iden)o(tit)o(y;)f(the)h(op)q(erations)0 +715 y(for)h(adding)f(and)h(remo)o(ving)e(prop)q(ert)o(y-list)j(en)o +(tries)g(are)g(destructiv)o(e)g(op)q(erations)g(that)0 +767 y(alter)d(the)g(prop)q(ert)o(y)g(list)g(rather)g(than)g(making)d(a) +i(new)h(one.)18 b(Asso)q(ciation)11 b(lists,)h(on)f(the)0 +818 y(other)k(hand,)g(are)g(normally)d(augmen)o(ted)i(non-destructiv)o +(ely)i(\(without)e(side)i(e\013ects\))0 870 y(b)o(y)e(adding)f(new)h +(en)o(tries)h(to)f(the)g(fron)o(t)g(\(see)h Fs(acons)e +Fw(and)h Fs(pairlis)p Fw(\).)42 927 y(A)20 b(prop)q(ert)o(y)h(list)f +(is)g(implem)o(en)o(ted)e(as)j(a)f(memory)d(cell)j(con)o(taining)f(a)h +(list)g(with)0 979 y(an)f(ev)o(en)h(n)o(um)o(b)q(er)e(\(p)q(ossibly)h +(zero\))i(of)d(elemen)o(ts.)34 b(\(Usually)19 b(this)g(memory)e(cell)i +(is)0 1031 y(the)f(prop)q(ert)o(y-list)g(cell)g(of)f(a)g(sym)o(b)q(ol,) +f(but)i(an)o(y)f(memory)e(cell)j(acceptable)g(to)g Fs(setf)0 +1083 y Fw(can)g(b)q(e)h(used)g(if)e Fs(getf)g Fw(and)h +Fs(remf)f Fw(are)h(used.\))31 b(Eac)o(h)19 b(pair)e(of)g(elemen)o(ts)h +(in)g(the)g(list)0 1134 y(constitutes)i(an)f(en)o(try;)j(the)d(\014rst) +h(item)d(is)i(the)h(indicator,)f(and)g(the)g(second)h(is)f(the)0 +1186 y(v)n(alue.)j(Because)c(prop)q(ert)o(y-list)e(functions)f(are)h +(giv)o(en)f(the)h(sym)o(b)q(ol)e(and)i(not)f(the)h(list)0 +1238 y(itself,)d(mo)q(di\014cations)f(to)i(the)h(prop)q(ert)o(y)g(list) +e(can)i(b)q(e)f(recorded)i(b)o(y)e(storing)f(bac)o(k)h(in)o(to)0 +1290 y(the)g(prop)q(ert)o(y-list)h(cell)e(of)h(the)g(sym)o(b)q(ol.)42 +1347 y(When)i(a)h(sym)o(b)q(ol)e(is)i(created,)h(its)f(prop)q(ert)o(y)h +(list)e(is)h(initially)d(empt)o(y)m(.)25 b(Prop)q(erties)0 +1399 y(are)14 b(created)i(b)o(y)d(using)h Fs(get)f Fw(within)g(a)h +Fs(setf)f Fw(form.)42 1455 y(Comm)o(on)c(Lisp)j(do)q(es)g(not)g(use)g +(a)g(sym)o(b)q(ol's)e(prop)q(ert)o(y)i(list)g(as)f(extensiv)o(ely)i(as) +f(earlier)0 1507 y(Lisp)j(implem)o(en)o(tations)d(did.)21 +b(Less-used)16 b(data,)e(suc)o(h)i(as)f(compiler,)e(debugging,)h(and)0 +1559 y(do)q(cumen)o(tation)f(information,)d(is)k(k)o(ept)g(on)g(prop)q +(ert)o(y)h(lists)e(in)h(Commo)o(n)d(Lisp.)p 0 1619 V +0 1684 a Fm(Compatibilit)o(y)j(note:)22 b FA(In)15 b(older)h(Lisp)h +(implemen)o(tations,)h(the)d(prin)o(t)i(name,)e(v)n(alue,)i(and)0 +1730 y(function)g(de\014nition)h(of)e(a)f(sym)o(b)q(ol)i(w)o(ere)f(k)o +(ept)g(on)g(its)g(prop)q(ert)o(y)g(list.)26 b(The)16 +b(v)n(alue)h(cell)g(w)o(as)0 1775 y(in)o(tro)q(duced)j(in)o(to)f +(MacLisp)h(and)f(In)o(terlisp)h(to)e(sp)q(eed)h(up)g(access)g(to)f(v)n +(ariables;)k(similarl)q(y)0 1821 y(for)17 b(the)g(prin)o(t-name)i(cell) +g(and)f(function)g(cell)h(\(MacLisp)g(do)q(es)f(not)f(use)h(a)f +(function)i(cell\).)0 1867 y(Recen)o(t)14 b(Lisp)g(implemen)o(tations)j +(suc)o(h)c(as)h(Spice)g(Lisp,)g(Lisp)h(Mac)o(hine)f(Lisp,)g(and)g(NIL)f +(ha)o(v)o(e)0 1912 y(in)o(tro)q(duced)20 b(all)f(of)e(these)i(cells)g +(plus)g(the)f(pac)o(k)n(age)g(cell.)33 b(None)18 b(of)f(the)h(MacLisp)h +(system)0 1958 y(prop)q(ert)o(y)g(names)g(\()p Fj(expr)p +FA(,)e Fj(fexpr)p FA(,)g Fj(macro)p FA(,)f Fj(array)p +FA(,)h Fj(subr)p FA(,)h Fj(lsubr)p FA(,)e Fj(fsubr)p +FA(,)h(and)i(in)g(former)0 2004 y(times)14 b Fj(value)c +FA(and)k Fj(pname)p FA(\))d(exist)j(in)g(Common)f(Lisp.)42 +2054 y(In)c(Common)g(Lisp,)h(the)f(notion)i(of)e(\\disem)o(b)q(o)q +(died)j(prop)q(ert)o(y)e(list")g(in)o(tro)q(duced)h(in)f(MacLisp)0 +2100 y(is)15 b(eliminated.)25 b(It)15 b(tended)g(to)g(b)q(e)g(used)h +(for)e(rather)h(kludgy)i(things,)f(and)g(in)f(Lisp)h(Mac)o(hine)0 +2145 y(Lisp)10 b(is)g(often)g(asso)q(ciated)h(with)e(the)h(use)g(of)f +(lo)q(cativ)o(es)i(\(to)e(mak)o(e)h(it)f(\\o\013)h(b)o(y)g(one")g(for)f +(searc)o(hing)0 2191 y(alternating)k(k)o(eyw)o(ord)e(lists\).)18 +b(In)10 b(Common)h(Lisp)h(sp)q(ecial)h Fj(setf)p FA(-lik)o(e)d(prop)q +(ert)o(y-list)j(functions)0 2237 y(are)g(in)o(tro)q(duced:)19 +b Fj(getf)11 b FA(and)j Fj(remf)p FA(.)p 0 2329 V -33 +2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 256 280 +256 279 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(256)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(get)21 b Fv(symb)n(ol)k(indic)n(ator)g Fs(&optional)20 +b Fv(default)0 372 y Fs(get)13 b Fw(searc)o(hes)i(the)g(prop)q(ert)o(y) +f(list)f(of)g Fv(symb)n(ol)h Fw(for)f(an)g(indicator)g +Fs(eq)g Fw(to)h Fv(indic)n(ator)p Fw(.)j(The)0 424 y(\014rst)i(argumen) +o(t)f(m)o(ust)f(b)q(e)i(a)f(sym)o(b)q(ol.)30 b(If)18 +b(one)h(is)f(found,)h(then)g(the)g(corresp)q(onding)0 +476 y(v)n(alue)13 b(is)h(returned;)h(otherwise)g Fv(default)f +Fw(is)f(returned.)42 528 y(If)g Fv(default)h Fw(is)g(not)f(sp)q +(eci\014ed,)i(then)g Fs(nil)e Fw(is)h(used)h(for)e Fv(default)p +Fw(.)42 580 y(Note)f(that)f(there)i(is)f(no)f(w)o(a)o(y)g(to)h +(distinguish)f(an)g(absen)o(t)i(prop)q(ert)o(y)f(from)e(one)i(whose)0 +632 y(v)n(alue)h(is)h Fv(default)p Fw(.)0 721 y Fs(\(get)20 +b(x)h(y\))g Ft(\021)h Fs(\(getf)e(\(symbol-plist)e(x\))j(y\))0 +810 y Fw(Supp)q(ose)10 b(that)g(the)g(prop)q(ert)o(y)g(list)g(of)e +Fs(foo)h Fw(is)h Fs(\(bar)20 b(t)h(baz)g(3)f(hunoz)h("Huh?"\))p +Fw(.)15 b(Then,)0 862 y(for)f(example:)0 951 y Fs(\(get)106 +955 y Fn(')130 951 y Fs(foo)214 955 y Fn(')237 951 y +Fs(baz\))21 b Ft(\))f Fs(3)0 1003 y(\(get)106 1007 y +Fn(')130 1003 y Fs(foo)214 1007 y Fn(')237 1003 y Fs(hunoz\))g +Ft(\))h Fs("Huh?")0 1055 y(\(get)106 1059 y Fn(')130 +1055 y Fs(foo)214 1059 y Fn(')237 1055 y Fs(zoo\))g Ft(\))f +Fs(nil)p 0 1114 V 0 1175 a Fm(Compatibilit)o(y)c(note:)25 +b FA(In)17 b(MacLisp,)i(the)e(\014rst)g(argumen)o(t)h(to)e +Fj(get)g FA(could)i(b)q(e)f(a)g(list,)i(in)0 1221 y(whic)o(h)12 +b(case)g(the)g Fq(c)n(dr)f FA(of)g(the)h(list)g(w)o(as)g(treated)g(as)f +(a)h(so-called)h(\\disem)o(b)q(o)q(died)i(prop)q(ert)o(y)d(list.")0 +1266 y(The)h(\014rst)h(argumen)o(t)h(to)e Fj(get)f FA(could)j(also)g(b) +q(e)e(an)o(y)h(other)g(ob)r(ject,)g(in)g(whic)o(h)h(case)e +Fj(get)g FA(w)o(ould)0 1312 y(alw)o(a)o(ys)g(return)f +Fj(nil)p FA(.)j(In)d(Common)g(Lisp,)h(it)f(is)h(an)f(error)g(to)f(giv)o +(e)i(an)o(ything)h(but)e(a)g(sym)o(b)q(ol)h(as)0 1358 +y(the)g(\014rst)g(argumen)o(t)h(to)f Fj(get)p FA(.)42 +1404 y(What)g(Common)g(Lisp)h(calls)h Fj(get)p FA(,)c(In)o(terlisp)k +(calls)g Fj(getprop)p FA(.)42 1450 y(What)i(MacLisp)g(and)g(In)o +(terlisp)h(call)g Fj(putprop)13 b FA(is)k(accomplished)i(in)e(Common)g +(Lisp)g(b)o(y)0 1495 y(using)d Fj(get)e FA(with)i Fj(setf)p +FA(.)p 0 1535 V 42 1625 a Fs(setf)h Fw(ma)o(y)e(b)q(e)k(used)g(with)e +Fs(get)h Fw(to)f(create)j(a)d(new)i(prop)q(ert)o(y-v)n(alue)f(pair,)f +(p)q(ossibly)0 1677 y(replacing)f(an)f(old)h(pair)f(with)h(the)g(same)f +(prop)q(ert)o(y)i(name.)i(F)m(or)c(example:)0 1766 y +Fs(\(get)106 1770 y Fn(')130 1766 y Fs(clyde)257 1770 +y Fn(')281 1766 y Fs(species\))19 b Ft(\))i Fs(nil)0 +1818 y(\(setf)f(\(get)236 1822 y Fn(')260 1818 y Fs(clyde)388 +1822 y Fn(')411 1818 y Fs(species\))604 1822 y Fn(')628 +1818 y Fs(elephant\))f Ft(\))i Fs(elephant)0 1870 y Fw(and)14 +b(no)o(w)21 b Fs(\(get)281 1874 y Fn(')304 1870 y Fs(clyde)432 +1874 y Fn(')455 1870 y Fs(species\))f Ft(\))h Fs(elephant)0 +1958 y Fw(The)13 b Fv(default)f Fw(argumen)o(t)g(ma)o(y)e(b)q(e)k(sp)q +(eci\014ed)g(to)e Fs(get)g Fw(in)g(this)h(con)o(text;)g(it)f(is)h +(ignored)f(b)o(y)0 2010 y Fs(setf)h Fw(but)h(ma)o(y)e(b)q(e)j(useful)f +(in)f(suc)o(h)i(macros)e(as)h Fs(push)f Fw(that)h(are)g(related)g(to)g +Fs(setf)p Fw(:)0 2099 y Fs(\(push)20 b(item)g(\(get)h(sym)431 +2103 y Fn(')455 2099 y Fs(token-stack)713 2103 y Fn(')737 +2099 y Fs(\(initial-item\)\)\))0 2188 y Fw(means)13 b(appro)o(ximately) +e(the)k(same)e(as)0 2277 y Fs(\(setf)20 b(\(get)g(sym)323 +2281 y Fn(')346 2277 y Fs(token-stack)605 2281 y Fn(')628 +2277 y Fs(\(initial-item\)\))127 2329 y(\(cons)g(item)h(\(get)f(sym)558 +2333 y Fn(')582 2329 y Fs(token-stack)840 2333 y Fn(')864 +2329 y Fs(\(initial-item\)\)\))o(\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 257 281 +257 280 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SYMBOLS)1160 b(257)0 +295 y Fw(whic)o(h)14 b(in)f(turn)i(w)o(ould)e(b)q(e)h(treated)h(as)f +(simply)0 380 y Fs(\(setf)20 b(\(get)g(sym)323 384 y +Fn(')346 380 y Fs(token-stack\))127 432 y(\(cons)g(item)h(\(get)f(sym) +558 436 y Fn(')582 432 y Fs(token-stack)840 436 y Fn(')864 +432 y Fs(\(initial-item\)\)\))o(\))42 517 y Fw(X3J13)f(v)o(oted)h(in)g +(Marc)o(h)h(1989)e Ft(h)p Fw(153)p Ft(i)g Fw(to)h(clarify)f(the)i(p)q +(ermissible)e(side)i(e\013ects)-33 488 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 569 a(of)d(certain)g(op)q(erations;)i +Fs(\(setf)h(\(get)f Fv(symb)n(ol)h(indic)n(ator)p Fs(\))g +Fv(newvalue)p Fs(\))d Fw(is)g(required)0 620 y(to)g(b)q(eha)o(v)o(e)g +(exactly)g(the)g(same)f(as)h Fs(\(setf)i(\(getf)h(\(symbol-plist)d +Fv(symb)n(ol)p Fs(\))j Fv(indi-)0 672 y(c)n(ator)p Fs(\))g +Fv(newvalue)p Fs(\))p Fw(.)-33 684 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 798 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(remprop)20 b Fv(symb)n(ol)25 b(indic)n(ator)0 875 +y Fw(This)11 b(remo)o(v)o(es)g(from)e Fv(symb)n(ol)j +Fw(the)f(prop)q(ert)o(y)i(with)e(an)g(indicator)f Fs(eq)h +Fw(to)g Fv(indic)n(ator)p Fw(.)17 b(The)0 927 y(prop)q(ert)o(y)e +(indicator)e(and)h(the)g(corresp)q(onding)h(v)n(alue)e(are)h(remo)o(v)o +(ed)f(b)o(y)h(destructiv)o(ely)0 979 y(splicing)i(the)i(prop)q(ert)o(y) +f(list.)27 b(It)17 b(returns)i Fs(nil)d Fw(if)g(no)h(suc)o(h)g(prop)q +(ert)o(y)h(w)o(as)f(found,)g(or)0 1031 y(non-)p Fs(nil)c +Fw(if)g(a)h(prop)q(ert)o(y)g(w)o(as)g(found.)0 1116 y +Fs(\(remprop)20 b(x)g(y\))h Ft(\021)h Fs(\(remf)e(\(symbol-plist)e(x\)) +j(y\))0 1201 y Fw(F)m(or)13 b(example,)g(if)g(the)h(prop)q(ert)o(y)h +(list)e(of)h Fs(foo)f Fw(is)h(initially)0 1286 y Fs(\(color)20 +b(blue)g(height)g(6.3)h(near-to)e(bar\))0 1371 y Fw(then)c(the)f(call)0 +1456 y Fs(\(remprop)193 1460 y Fn(')217 1456 y Fs(foo)301 +1460 y Fn(')324 1456 y Fs(height\))0 1541 y Fw(returns)h(a)f(non-)p +Fs(nil)f Fw(v)n(alue)g(after)h(altering)g Fs(foo)p Fw('s)f(prop)q(ert)o +(y)i(list)e(to)h(b)q(e)0 1626 y Fs(\(color)20 b(blue)g(near-to)g(bar\)) +42 1711 y Fw(X3J13)15 b(v)o(oted)h(in)f(Marc)o(h)h(1989)e +Ft(h)p Fw(153)p Ft(i)h Fw(to)h(clarify)f(the)h(p)q(ermissible)f(side)h +(e\013ects)h(of)-33 1682 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1763 a(certain)c(op)q(erations;)f Fs(\(remprop)19 +b Fv(symb)n(ol)i(indic)n(ator)p Fs(\))12 b Fw(is)g(required)g(to)g(b)q +(eha)o(v)o(e)h(exactly)0 1815 y(the)h(same)f(as)h Fs(\(remf)21 +b(\(symbol-plist)d Fv(symb)n(ol)p Fs(\))j Fv(indic)n(ator)p +Fs(\))p Fw(.)-33 1826 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1941 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(symbol-plist)19 b Fv(symb)n(ol)0 2017 y Fw(This)14 +b(returns)i(the)f(list)f(that)g(con)o(tains)h(the)g(prop)q(ert)o(y)g +(pairs)f(of)g Fv(symb)n(ol)p Fw(;)g(the)h(con)o(ten)o(ts)0 +2069 y(of)e(the)i(prop)q(ert)o(y-list)f(cell)g(are)g(extracted)h(and)f +(returned.)42 2121 y(Note)j(that)h(using)f Fs(get)g Fw(on)g(the)h +(result)h(of)d Fs(symbol-plist)f Fw(do)q(es)k Fv(not)e +Fw(w)o(ork.)29 b(One)0 2173 y(m)o(ust)13 b(giv)o(e)g(the)i(sym)o(b)q +(ol)d(itself)h(to)h Fs(get)f Fw(or)h(else)h(use)f(the)h(function)f +Fs(getf)p Fw(.)42 2225 y Fs(setf)h Fw(ma)o(y)g(b)q(e)j(used)g(with)e +Fs(symbol-plist)e Fw(to)j(destructiv)o(ely)h(replace)g(the)f(en)o(tire) +0 2277 y(prop)q(ert)o(y)e(list)e(of)h(a)f(sym)o(b)q(ol.)k(This)d(is)f +(a)h(relativ)o(ely)f(dangerous)i(op)q(eration,)e(as)h(it)g(ma)o(y)0 +2329 y(destro)o(y)g(imp)q(ortan)o(t)e(information)e(that)k(the)f +(implemen)o(tation)d(ma)o(y)i(happ)q(en)i(to)f(store)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 258 282 +258 281 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(258)77 b(COMMON)13 +b(LISP)0 295 y Fw(in)j(prop)q(ert)o(y)i(lists.)27 b(Also,)16 +b(care)i(m)o(ust)e(b)q(e)h(tak)o(en)g(that)g(the)g(new)h(prop)q(ert)o +(y)f(list)g(is)f(in)0 347 y(fact)e(a)f(list)h(of)f(ev)o(en)i(length.)p +0 406 V 0 467 a Fm(Compatibilit)o(y)e(note:)21 b FA(In)14 +b(MacLisp,)i(this)f(function)h(is)f(called)h Fj(plist)p +FA(;)d(in)i(In)o(terlisp,)h(it)f(is)0 512 y(called)g +Fj(getpropli)o(st)p FA(.)p 0 545 V 1209 636 a Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(getf)20 b Fv(plac)n(e)25 +b(indic)n(ator)g Fs(&optional)19 b Fv(default)0 712 y +Fs(getf)11 b Fw(searc)o(hes)i(the)f(prop)q(ert)o(y)h(list)e(stored)h +(in)f Fv(plac)n(e)h Fw(for)f(an)g(indicator)g Fs(eq)g +Fw(to)h Fv(indic)n(ator)p Fw(.)0 764 y(If)h(one)h(is)g(found,)f(then)h +(the)g(corresp)q(onding)h(v)n(alue)e(is)h(returned;)h(otherwise)f +Fv(default)g Fw(is)0 816 y(returned.)26 b(If)16 b Fv(default)g +Fw(is)g(not)g(sp)q(eci\014ed,)i(then)e Fs(nil)g Fw(is)g(used)h(for)f +Fv(default)p Fw(.)24 b(Note)17 b(that)0 868 y(there)i(is)f(no)g(w)o(a)o +(y)f(to)h(distinguish)g(an)g(absen)o(t)g(prop)q(ert)o(y)h(from)e(one)h +(whose)g(v)n(alue)g(is)0 920 y Fv(default)p Fw(.)30 b(Often)18 +b Fv(plac)n(e)g Fw(is)g(computed)g(from)e(a)h(generalized)i(v)n +(ariable)e(acceptable)i(to)0 972 y Fs(setf)p Fw(.)42 +1024 y Fs(setf)c Fw(ma)o(y)f(b)q(e)i(used)h(with)f Fs(getf)p +Fw(,)f(in)h(whic)o(h)g(case)h(the)f Fv(plac)n(e)g Fw(m)o(ust)f(indeed)i +(b)q(e)g(ac-)0 1076 y(ceptable)f(as)g(a)f Fv(plac)n(e)h +Fw(to)f Fs(setf)p Fw(.)22 b(The)16 b(e\013ect)i(is)d(to)g(add)h(a)f +(new)h(prop)q(ert)o(y-v)n(alue)g(pair,)0 1128 y(or)i(up)q(date)g(an)g +(existing)g(pair,)g(in)f(the)i(prop)q(ert)o(y)f(list)g(k)o(ept)g(in)g +(the)g Fv(plac)n(e)p Fw(.)30 b(The)19 b Fv(de-)0 1179 +y(fault)12 b Fw(argumen)o(t)g(ma)o(y)f(b)q(e)i(sp)q(eci\014ed)h(to)f +Fs(getf)f Fw(in)g(this)h(con)o(text;)g(it)g(is)f(ignored)h(b)o(y)g +Fs(setf)0 1231 y Fw(but)i(ma)o(y)f(b)q(e)h(useful)h(in)e(suc)o(h)i +(macros)e(as)i Fs(push)e Fw(that)h(are)g(related)h(to)f +Fs(setf)p Fw(.)21 b(See)16 b(the)0 1283 y(description)f(of)e +Fs(get)g Fw(for)h(an)f(example)g(of)g(this.)42 1335 y(X3J13)i(v)o(oted) +h(in)f(Marc)o(h)h(1989)e Ft(h)p Fw(153)p Ft(i)h Fw(to)h(clarify)f(the)h +(p)q(ermissible)f(side)h(e\013ects)h(of)-33 1307 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1387 a(certain)g(op)q(erations;)g Fs(setf)e +Fw(used)j(with)e Fs(getf)f Fw(is)h(p)q(ermitted)g(to)g(p)q(erform)g(a)g +Fs(setf)f Fw(on)0 1439 y(the)e Fv(plac)n(e)f Fw(or)g(on)g(an)o(y)f +(part,)i Fv(c)n(ar)e Fw(or)h Fv(c)n(dr)p Fw(,)g(of)g(the)g(top-lev)o +(el)g(list)f(structure)k(held)d(b)o(y)g(that)0 1491 y +Fv(plac)n(e)p Fw(.)-33 1502 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1543 a(X3J13)17 b(v)o(oted)h(in)f(Marc)o(h)h(1988)f +Ft(h)p Fw(146)p Ft(i)g Fw(to)g(clarify)g(order)h(of)f(ev)n(aluation)g +(\(see)i(sec-)-33 1514 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1595 a(tion)13 b(7.2\).)-33 1606 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1654 V 0 1715 a Fm(Compatibilit)o(y)19 +b(note:)31 b FA(The)19 b(In)o(terlisp)i(function)g Fj(listget)16 +b FA(is)k(similar)i(to)d Fj(getf)p FA(.)35 b(The)0 1760 +y(In)o(terlisp)15 b(function)f Fj(listput)c FA(is)k(similar)h(to)e +(using)h Fj(getf)e FA(with)h Fj(setf)p FA(.)p 0 1793 +V 1255 1889 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(remf)34 +b Fv(plac)n(e)15 b(indic)n(ator)0 1966 y Fw(This)20 b(remo)o(v)o(es)g +(from)e(the)j(prop)q(ert)o(y)h(list)d(stored)j(in)e Fv(plac)n(e)g +Fw(the)h(prop)q(ert)o(y)g(with)f(an)0 2017 y(indicator)11 +b Fs(eq)g Fw(to)g Fv(indic)n(ator)p Fw(.)17 b(The)12 +b(prop)q(ert)o(y)h(indicator)e(and)g(the)h(corresp)q(onding)g(v)n(alue) +0 2069 y(are)g(remo)o(v)o(ed)f(b)o(y)g(destructiv)o(ely)i(splicing)e +(the)h(prop)q(ert)o(y)g(list.)17 b Fs(remf)11 b Fw(returns)i +Fs(nil)e Fw(if)g(no)0 2121 y(suc)o(h)i(prop)q(ert)o(y)f(w)o(as)g +(found,)f(or)h(some)f(non-)p Fs(nil)g Fw(v)n(alue)g(if)g(a)h(prop)q +(ert)o(y)h(w)o(as)e(found.)17 b(The)0 2173 y(form)11 +b Fv(plac)n(e)i Fw(ma)o(y)e(b)q(e)j(an)o(y)e(generalized)i(v)n(ariable) +d(acceptable)j(to)f Fs(setf)p Fw(.)k(See)d Fs(remprop)p +Fw(.)42 2225 y(X3J13)h(v)o(oted)h(in)f(Marc)o(h)h(1989)e +Ft(h)p Fw(153)p Ft(i)h Fw(to)h(clarify)f(the)h(p)q(ermissible)f(side)h +(e\013ects)h(of)-33 2197 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2277 a(certain)g(op)q(erations;)h Fs(remf)e +Fw(is)g(p)q(ermitted)h(to)f(p)q(erform)g(a)g Fs(setf)g +Fw(on)g(the)i Fv(plac)n(e)e Fw(or)h(on)0 2329 y(an)o(y)c(part,)h +Fv(c)n(ar)g Fw(or)f Fv(c)n(dr)p Fw(,)g(of)h(the)g(top-lev)o(el)g(list)f +(structure)j(held)e(b)o(y)g(that)g Fv(plac)n(e)p Fw(.)-33 +2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 259 283 +259 282 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SYMBOLS)1160 b(259)42 +295 y Fw(X3J13)17 b(v)o(oted)h(in)f(Marc)o(h)h(1988)f +Ft(h)p Fw(146)p Ft(i)g Fw(to)g(clarify)g(order)h(of)f(ev)n(aluation)g +(\(see)i(sec-)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(tion)13 b(7.2\).)-33 358 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 508 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(get-properties)18 b Fv(plac)n(e)25 b(indic)n(ator)p +Fs(-)p Fv(list)0 586 y Fs(get-properties)15 b Fw(is)k(lik)o(e)e +Fs(getf)p Fw(,)h(except)i(that)f(the)f(second)i(argumen)o(t)d(is)h(a)g +(list)g(of)0 638 y(indicators.)g Fs(get-properties)10 +b Fw(searc)o(hes)15 b(the)e(prop)q(ert)o(y)h(list)f(stored)h(in)e +Fv(plac)n(e)i Fw(for)e(an)o(y)0 689 y(of)d(the)i(indicators)f(in)g +Fv(indic)n(ator-list)e Fw(un)o(til)i(it)f(\014nds)i(the)g(\014rst)g +(prop)q(ert)o(y)g(in)e(the)i(prop)q(ert)o(y)0 741 y(list)i(whose)i +(indicator)e(is)h(one)g(of)g(the)g(elemen)o(ts)g(of)g +Fv(indic)n(ator-list)p Fw(.)i(Normally)c Fv(plac)n(e)i +Fw(is)0 793 y(computed)f(from)g(a)g(generalized)i(v)n(ariable)e +(acceptable)h(to)g Fs(setf)p Fw(.)42 846 y Fs(get-properties)i +Fw(returns)22 b(three)f(v)n(alues.)35 b(If)20 b(an)o(y)f(prop)q(ert)o +(y)i(w)o(as)f(found,)g(then)0 898 y(the)d(\014rst)g(t)o(w)o(o)f(v)n +(alues)g(are)h(the)g(indicator)f(and)g(v)n(alue)g(for)g(the)h(\014rst)g +(prop)q(ert)o(y)g(whose)0 950 y(indicator)f(w)o(as)g(in)g +Fv(indic)n(ator-list)p Fw(,)e(and)i(the)h(third)f(is)g(that)h(tail)e +(of)g(the)i(prop)q(ert)o(y)g(list)0 1001 y(whose)h Fv(c)n(ar)f +Fw(w)o(as)h(the)g(indicator)f(\(and)g(whose)h Fv(c)n(adr)f +Fw(is)h(therefore)h(the)f(v)n(alue\).)28 b(If)17 b(no)0 +1053 y(prop)q(ert)o(y)d(w)o(as)e(found,)g(all)g(three)i(v)n(alues)e +(are)i Fs(nil)p Fw(.)j(Th)o(us)c(the)g(third)g(v)n(alue)f(serv)o(es)i +(as)f(a)0 1105 y(\015ag)g(indicating)g(success)j(or)e(failure)f(and)g +(also)h(allo)o(ws)e(the)i(searc)o(h)h(to)f(b)q(e)g(restarted,)i(if)0 +1157 y(desired,)f(after)f(the)g(prop)q(ert)o(y)h(w)o(as)f(found.)0 +1336 y Fo(10.2.)20 b(The)15 b(Prin)n(t)g(Name)0 1430 +y Fw(Ev)o(ery)h(sym)o(b)q(ol)e(has)i(an)f(asso)q(ciated)i(string)f +(called)f(the)h Fv(print)g(name)p Fw(.)24 b(This)16 b(string)g(is)0 +1482 y(used)j(as)f(the)h(external)g(represen)o(tation)g(of)f(the)h(sym) +o(b)q(ol:)24 b(if)18 b(the)h(c)o(haracters)g(in)f(the)0 +1534 y(string)12 b(are)h(t)o(yp)q(ed)f(in)g(to)g Fs(read)f +Fw(\(with)h(suitable)g(escap)q(e)h(con)o(v)o(en)o(tions)f(for)g +(certain)h(c)o(har-)0 1586 y(acters\),)h(it)d(is)h(in)o(terpreted)i(as) +e(a)g(reference)j(to)d(that)g(sym)o(b)q(ol)e(\(if)i(it)f(is)h(in)o +(terned\);)i(and)e(if)0 1638 y(the)g(sym)o(b)q(ol)e(is)i(prin)o(ted,)g +Fs(print)e Fw(t)o(yp)q(es)j(out)e(the)i(prin)o(t)e(name.)16 +b(F)m(or)11 b(more)g(information,)0 1690 y(see)k(the)g(sections)g(on)e +(the)i Fv(r)n(e)n(ader)e Fw(\(section)i(22.1.1\))d(and)h +Fv(printer)g Fw(\(section)i(22.1.6\).)1209 1851 y([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(symbol-name)19 b Fv(sym)0 +1929 y Fw(This)14 b(returns)h(the)g(prin)o(t)e(name)g(of)g(the)i(sym)o +(b)q(ol)d Fv(sym)p Fw(.)18 b(F)m(or)c(example:)0 2021 +y Fs(\(symbol-name)280 2025 y Fn(')304 2021 y Fs(xyz\))20 +b Ft(\))h Fs("XYZ")0 2112 y Fw(It)12 b(is)g(an)g(extremely)g(bad)g +(idea)g(to)g(mo)q(dify)d(a)j(string)g(b)q(eing)g(used)h(as)g(the)f +(prin)o(t)g(name)f(of)0 2164 y(a)k(sym)o(b)q(ol.)k(Suc)o(h)d(a)e(mo)q +(di\014cation)f(ma)o(y)g(tremendously)i(confuse)g(the)h(function)f +Fs(read)0 2216 y Fw(and)f(the)g(pac)o(k)n(age)g(system.)42 +2269 y(X3J13)g(v)o(oted)h(in)g(Marc)o(h)g(1989)g Ft(h)p +Fw(11)p Ft(i)f Fw(to)h(sp)q(ecify)h(that)f(it)g(is)g(an)f(error)i(to)f +(mo)q(dify)e(a)-33 2240 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2321 a(string)h(b)q(eing)g(used)h(as)f(the)g(prin)o(t)g +(name)e(of)i(a)f(sym)o(b)q(ol.)-33 2332 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 12 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 260 284 +260 283 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(260)77 b(COMMON)13 +b(LISP)0 295 y Fo(10.3.)20 b(Creating)15 b(Sym)n(b)r(ols)0 +381 y Fw(Sym)o(b)q(ols)d(can)h(b)q(e)h(used)h(in)e(t)o(w)o(o)g(rather)h +(di\013eren)o(t)g(w)o(a)o(ys.)k(An)13 b Fv(interne)n(d)h +Fw(sym)o(b)q(ol)d(is)j(one)0 433 y(that)e(is)f(indexed)h(b)o(y)f(its)h +(prin)o(t)f(name)g(in)g(a)g(catalogue)g(called)h(a)f +Fv(p)n(ackage)p Fw(.)18 b(A)12 b(request)h(to)0 485 y(lo)q(cate)g(a)g +(sym)o(b)q(ol)e(with)i(that)g(prin)o(t)g(name)f(results)i(in)f(the)g +(same)f(\()p Fs(eq)p Fw(\))h(sym)o(b)q(ol.)j(Ev)o(ery)0 +537 y(time)c(input)i(is)f(read)h(with)f(the)h(function)g +Fs(read)p Fw(,)e(and)h(that)h(prin)o(t)f(name)g(app)q(ears,)h(it)f(is)0 +589 y(read)i(as)f(the)h(same)f(sym)o(b)q(ol.)k(This)c(prop)q(ert)o(y)h +(of)f(sym)o(b)q(ols)f(mak)o(es)g(them)h(appropriate)0 +641 y(to)j(use)g(as)g(names)f(for)g(things)h(and)f(as)h(ho)q(oks)g(on)f +(whic)o(h)h(to)f(hang)h(p)q(ermanen)o(t)f(data)0 693 +y(ob)r(jects)f(\(using)f(the)g(prop)q(ert)o(y)h(list,)e(for)h +(example\).)42 745 y(In)o(terned)i(sym)o(b)q(ols)d(are)j(normally)c +(created)17 b(automatically;)12 b(the)j(\014rst)h(time)e(some-)0 +796 y(thing)f(\(suc)o(h)i(as)f(the)h(function)e Fs(read)p +Fw(\))h(asks)g(the)g(pac)o(k)n(age)g(system)g(for)f(a)h(sym)o(b)q(ol)e +(with)0 848 y(a)i(giv)o(en)f(prin)o(t)h(name,)e(that)i(sym)o(b)q(ol)e +(is)i(automatically)d(created.)20 b(The)14 b(function)g(used)0 +900 y(to)j(ask)g(for)g(an)g(in)o(terned)h(sym)o(b)q(ol)d(is)j +Fs(intern)p Fw(,)e(or)h(one)g(of)g(the)h(functions)f(related)h(to)0 +952 y Fs(intern)p Fw(.)42 1004 y(Although)c(in)o(terned)i(sym)o(b)q +(ols)d(are)j(the)f(most)f(commonly)e(used,)j(they)h(will)d(not)i(b)q(e) +0 1056 y(discussed)h(further)e(here.)20 b(F)m(or)13 b(more)g +(information,)d(see)16 b(c)o(hapter)e(11.)42 1108 y(An)c +Fv(uninterne)n(d)g Fw(sym)o(b)q(ol)f(is)h(a)f(sym)o(b)q(ol)g(used)h +(simply)f(as)h(a)f(data)h(ob)r(ject,)h(with)f(no)g(sp)q(e-)0 +1160 y(cial)j(cataloguing)f(\(it)i(b)q(elongs)g(to)f(no)h(particular)f +(pac)o(k)n(age\).)18 b(An)c(unin)o(terned)h(sym)o(b)q(ol)0 +1212 y(is)e(prin)o(ted)h(as)g Fs(#)236 1208 y(-)236 1216 +y(-)258 1212 y(:)f Fw(follo)o(w)o(ed)f(b)o(y)h(its)h(prin)o(t)f(name.)k +(The)d(follo)o(wing)d(are)j(some)f(functions)0 1264 y(for)h(creating)g +(unin)o(terned)h(sym)o(b)q(ols.)1209 1396 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(make-symbol)19 b Fv(print)p Fs(-)p Fv(name)0 +1473 y Fs(\(make-symbol)g Fv(print)p Fs(-)p Fv(name)p +Fs(\))f Fw(creates)j(a)e(new)g(unin)o(terned)h(sym)o(b)q(ol,)d(whose)j +(prin)o(t)0 1524 y(name)14 b(is)i(the)g(string)g Fv(print-name)p +Fw(.)23 b(The)16 b(v)n(alue)f(and)h(function)f(bindings)g(will)g(b)q(e) +h(un-)0 1576 y(b)q(ound)e(and)g(the)g(prop)q(ert)o(y)h(list)e(will)g(b) +q(e)h(empt)o(y)m(.)42 1628 y(The)e(string)f(actually)g(installed)g(in)g +(the)i(sym)o(b)q(ol's)c(prin)o(t-name)h(comp)q(onen)o(t)h(ma)o(y)f(b)q +(e)0 1680 y(the)16 b(giv)o(en)f(string)g Fv(print-name)h +Fw(or)f(ma)o(y)f(b)q(e)i(a)f(cop)o(y)g(of)g(it,)g(at)g(the)h(implemen)o +(tation')o(s)0 1732 y(discretion.)30 b(The)17 b(user)i(should)e(not)h +(assume)f(that)h Fs(\(symbol-name)g(\(make-symbol)0 1784 +y(x\)\))13 b Fw(is)g Fs(eq)g Fw(to)h Fs(x)p Fw(,)e(but)i(also)f(should) +g(not)h(alter)f(a)g(string)h(once)g(it)f(has)h(b)q(een)g(giv)o(en)f(as) +h(an)0 1836 y(argumen)o(t)f(to)g Fs(make-symbol)p Fw(.)p +0 1896 V 0 1956 a Fm(Implemen)o(tation)k(note:)24 b FA(An)17 +b(implemen)o(tation)i(migh)o(t)f(c)o(ho)q(ose,)g(for)e(example,)j(to)d +(cop)o(y)0 2002 y(the)d(string)h(to)f(some)g(read-only)i(area,)e(in)h +(the)f(exp)q(ectation)i(that)e(it)h(will)g(nev)o(er)g(b)q(e)f(altered.) +p 0 2037 V 1209 2148 a Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(copy-symbol)19 b Fv(sym)24 b Fs(&optional)c Fv(c)n(opy)p +Fs(-)p Fv(pr)n(ops)0 2225 y Fw(This)14 b(returns)h(a)f(new)g(unin)o +(terned)h(sym)o(b)q(ol)d(with)i(the)g(same)f(prin)o(t)h(name)f(as)g +Fv(sym)p Fw(.)42 2277 y(X3J13)j(v)o(oted)i(in)e(Marc)o(h)i(1989)e +Ft(h)p Fw(39)p Ft(i)h Fw(that)g(the)h(prin)o(t)f(name)f(of)g(the)i(new) +g(sym)o(b)q(ol)-33 2249 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a(is)e(required)h(to)f(b)q(e)g(the)h(same)e(only)g +(in)h(the)g(sense)i(of)d Fs(string)1007 2325 y(U)1007 +2333 y(U)1028 2329 y Fw(;)h(in)g(other)h(w)o(ords,)f(an)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 261 285 +261 284 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SYMBOLS)1160 b(261)0 +295 y Fw(implemen)o(tatio)o(n)13 b(is)j(p)q(ermitted)f(\(but)h(not)f +(required\))i(to)f(mak)o(e)e(a)h(cop)o(y)h(of)f(the)h(prin)o(t)0 +347 y(name.)33 b(User)20 b(programs)e(should)h(not)g(assume)g(that)h +(the)f(prin)o(t)h(names)e(of)h(the)g(old)0 399 y(and)f(new)h(sym)o(b)q +(ols)d(will)h(b)q(e)i Fs(eq)p Fw(,)f(although)f(they)i(ma)o(y)d(happ)q +(en)j(to)f(b)q(e)g Fs(eq)g Fw(in)g(some)0 450 y(implemen)o(tatio)o(ns.) +-33 462 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 502 a(If)f Fv(c)n(opy-pr)n(ops)g Fw(is)h(non-)p +Fs(nil)p Fw(,)f(then)h(the)g(initial)d(v)n(alue)i(and)g(function)g +(de\014nition)g(of)0 554 y(the)d(new)f(sym)o(b)q(ol)e(will)h(b)q(e)h +(the)h(same)e(as)h(those)h(of)e Fv(sym)p Fw(,)h(and)g(the)g(prop)q(ert) +o(y)h(list)f(of)f(the)0 606 y(new)i(sym)o(b)q(ol)e(will)h(b)q(e)h(a)g +(cop)o(y)g(of)f Fv(sym)p Fw('s.)42 658 y(X3J13)j(v)o(oted)h(in)g(Marc)o +(h)g(1989)f Ft(h)p Fw(38)p Ft(i)h Fw(to)g(clarify)f(that)h(only)f(the)i +(top-lev)o(el)e(conses)-33 630 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 710 a(of)d(the)h(prop)q(ert)o(y)g(list)f(are)h(copied;)g +(it)f(is)g(as)h(if)f Fs(\(copy-list)19 b(\(symbol-plist)f +Fv(sym)p Fs(\)\))0 762 y Fw(w)o(ere)d(used)g(as)f(the)g(prop)q(ert)o(y) +h(list)e(of)g(the)i(new)f(sym)o(b)q(ol.)-33 773 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 814 a(If)j Fv(c)n(opy-pr)n(ops)g Fw(is)h +Fs(nil)f Fw(\(the)h(default\),)g(then)g(the)g(new)g(sym)o(b)q(ol)e +(will)g(b)q(e)i(un)o(b)q(ound)0 866 y(and)c(unde\014ned,)g(and)g(its)g +(prop)q(ert)o(y)h(list)e(will)g(b)q(e)h(empt)o(y)m(.)1209 +989 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(gensym)20 +b(&optional)f Fv(x)0 1066 y Fs(gensym)11 b Fw(in)o(v)o(en)o(ts)i(a)f +(prin)o(t)h(name)e(and)i(creates)h(a)f(new)g(sym)o(b)q(ol)e(with)h +(that)h(prin)o(t)f(name.)0 1118 y(It)i(returns)h(the)g(new,)f(unin)o +(terned)h(sym)o(b)q(ol.)42 1170 y(The)e(in)o(v)o(en)o(ted)g(prin)o(t)f +(name)g(consists)h(of)f(a)h(pre\014x)g(\(whic)o(h)g(defaults)g(to)f +Fs(G)p Fw(\),)g(follo)o(w)o(ed)0 1222 y(b)o(y)i(the)g(decimal)e +(represen)o(tation)k(of)d(a)h(n)o(um)o(b)q(er.)42 1274 +y(The)g(n)o(um)o(b)q(er)f(is)h(increased)h(b)o(y)f(1)f(ev)o(ery)i(time) +d Fs(gensym)h Fw(is)h(called.)-38 1249 y Fk(.)-38 1262 +y(.)-38 1275 y(.)-38 1288 y(.)-38 1301 y(.)-38 1314 y(.)-38 +1326 y(.)-38 1339 y(.)-38 1352 y(.)-38 1365 y(.)-38 1378 +y(.)-38 1391 y(.)-38 1404 y(.)-38 1417 y(.)-38 1430 y(.)-38 +1443 y(.)-38 1456 y(.)-38 1469 y(.)-38 1482 y(.)-38 1495 +y(.)-38 1508 y(.)-38 1521 y(.)-38 1534 y(.)-38 1547 y(.)-38 +1560 y(.)-38 1573 y(.)-38 1586 y(.)-38 1599 y(.)-38 1612 +y(.)-38 1625 y(.)-38 1638 y(.)-38 1651 y(.)-38 1664 y(.)-38 +1677 y(.)-38 1690 y(.)-38 1703 y(.)-38 1716 y(.)-38 1729 +y(.)-38 1742 y(.)-38 1755 y(.)-38 1768 y(.)-38 1780 y(.)-38 +1793 y(.)-38 1806 y(.)-38 1819 y(.)-38 1832 y(.)-38 1845 +y(.)-38 1858 y(.)-38 1871 y(.)-38 1884 y(.)-38 1897 y(.)-38 +1910 y(.)-38 1923 y(.)-38 1936 y(.)-38 1949 y(.)-38 1962 +y(.)-38 1975 y(.)-38 1988 y(.)-38 2001 y(.)-38 2014 y(.)-38 +2027 y(.)-38 2040 y(.)-38 2053 y(.)-38 2066 y(.)-38 2079 +y(.)-38 2092 y(.)-38 2105 y(.)-38 2118 y(.)-38 2131 y(.)-38 +2144 y(.)-38 2157 y(.)-38 2170 y(.)-38 2183 y(.)-38 2196 +y(.)-38 2209 y(.)-38 2222 y(.)-38 2235 y(.)-38 2247 y(.)-38 +2260 y(.)-38 2273 y(.)-38 2286 y(.)-38 2299 y(.)-38 2312 +y(.)-38 2325 y(.)-38 2338 y(.)-38 2351 y(.)-38 2364 y(.)-38 +2377 y(.)-38 2390 y(.)-38 2403 y(.)-38 2416 y(.)-38 2429 +y(.)-38 2442 y(.)-38 2455 y(.)-38 2468 y(.)-38 2481 y(.)-38 +2494 y(.)-38 2507 y(.)-38 2520 y(.)-38 2533 y(.)-38 2546 +y(.)-38 2559 y(.)-38 2572 y(.)-38 2585 y(.)-38 2598 y(.)-38 +2611 y(.)-38 2624 y(.)-38 2637 y(.)-38 2650 y(.)-38 2663 +y(.)-38 2676 y(.)-38 2689 y(.)-38 2702 y(.)-38 2714 y(.)-38 +2727 y(.)-38 2740 y(.)-38 2753 y(.)-38 2766 y(.)-38 2779 +y(.)-38 2792 y(.)-38 2805 y(.)-38 2818 y(.)-38 2831 y(.)-38 +2844 y(.)-38 2857 y(.)-38 2870 y(.)-38 2883 y(.)-38 2896 +y(.)-38 2909 y(.)-38 2922 y(.)-38 2935 y(.)-38 2948 y(.)-38 +2961 y(.)-38 2974 y(.)-38 2987 y(.)-38 3000 y(.)-38 3013 +y(.)-38 3026 y(.)-38 3039 y(.)-38 3052 y(.)-38 3065 y(.)-38 +3078 y(.)-38 3091 y(.)-38 3104 y(.)-38 3117 y(.)-38 3130 +y(.)-38 3143 y(.)-38 3156 y(.)-38 3169 y(.)-38 3181 y(.)-38 +3194 y(.)-38 3207 y(.)-38 3220 y(.)-38 3233 y(.)-38 3246 +y(.)-38 3259 y(.)-38 3272 y(.)-38 3285 y(.)-38 3298 y(.)-38 +3311 y(.)-38 3324 y(.)-38 3337 y(.)-38 3350 y(.)-38 3363 +y(.)-38 3376 y(.)-38 3389 y(.)-38 3402 y(.)-38 3415 y(.)-38 +3428 y(.)-38 3441 y(.)-38 3454 y(.)-38 3467 y(.)-38 3480 +y(.)-38 3493 y(.)-38 3506 y(.)-38 3519 y(.)-38 3532 y(.)-38 +3545 y(.)-38 3558 y(.)-38 3571 y(.)-38 3584 y(.)-38 3597 +y(.)-38 3610 y(.)-38 3623 y(.)-38 3636 y(.)-38 3648 y(.)-38 +3661 y(.)-38 3674 y(.)-38 3687 y(.)-38 3700 y(.)-38 3713 +y(.)-38 3726 y(.)-38 3739 y(.)-38 3752 y(.)-38 3765 y(.)-38 +3778 y(.)-38 3791 y(.)-38 3804 y(.)-38 3817 y(.)-38 3830 +y(.)42 1326 y Fw(If)d(the)i(argumen)o(t)e Fv(x)i Fw(is)f(presen)o(t)i +(and)e(is)g(an)g(in)o(teger,)g(then)h Fv(x)g Fw(m)o(ust)e(b)q(e)i +(non-negativ)o(e,)0 1377 y(and)20 b(the)h(in)o(ternal)e(coun)o(ter)i +(is)f(set)h(to)f Fv(x)g Fw(for)g(future)h(use;)i(otherwise)e(the)g(in)o +(ternal)0 1429 y(coun)o(ter)g(is)e(incremen)o(ted.)35 +b(If)19 b Fv(x)h Fw(is)f(a)h(string,)g(then)g(that)g(string)g(is)f +(made)f(the)i(de-)0 1481 y(fault)12 b(pre\014x)i(for)f(this)h(and)f +(future)h(calls)f(to)g Fs(gensym)p Fw(.)j(After)e(handling)e(the)i +(argumen)o(t,)0 1533 y Fs(gensym)f Fw(creates)i(a)f(sym)o(b)q(ol)e(as)i +(it)f(w)o(ould)h(with)f(no)h(argumen)o(t.)j(F)m(or)c(example:)0 +1618 y Fs(\(gensym\))20 b Ft(\))g Fs(G7)0 1670 y(\(gensym)g("FOO-"\))f +Ft(\))i Fs(FOO-8)0 1722 y(\(gensym)f(32\))g Ft(\))h Fs(FOO-32)0 +1773 y(\(gensym\))f Ft(\))g Fs(FOO-33)0 1825 y(\(gensym)g("GARBAGE-"\)) +f Ft(\))h Fs(GARBAGE-34)-33 1841 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1910 a(gensym)e Fw(is)h(usually)g(used)h(to)g(create)h +(a)e(sym)o(b)q(ol)f(that)h(should)h(not)f(normally)e(b)q(e)0 +1962 y(seen)g(b)o(y)e(the)h(user)h(and)e(whose)h(prin)o(t)g(name)e(is)h +(unimp)q(ortan)o(t)f(except)j(to)e(allo)o(w)f(easy)0 +2014 y(distinction)d(b)o(y)g(ey)o(e)h(b)q(et)o(w)o(een)h(t)o(w)o(o)e +(suc)o(h)h(sym)o(b)q(ols.)j(The)d(optional)e(argumen)o(t)g(is)i(rarely) +0 2066 y(supplied.)17 b(The)9 b(name)g(comes)g(from)e(\\generate)k(sym) +o(b)q(ol,")c(and)j(the)g(sym)o(b)q(ols)d(pro)q(duced)0 +2117 y(b)o(y)14 b(it)f(are)h(often)g(called)g(\\gensyms.")p +0 2177 V 0 2237 a Fm(Compatibilit)o(y)h(note:)24 b FA(In)16 +b(earlier)h(v)o(ersions)h(of)d(Lisp,)j(suc)o(h)e(as)g(MacLisp)i(and)e +(In)o(terlisp,)0 2283 y(the)h(prin)o(t)g(name)g(of)g(a)f(gensym)i(w)o +(as)e(of)g(\014xed)i(length,)g(consisting)h(of)e(a)f(single)j(letter)e +(and)0 2329 y(a)e(\014xed-length)j(decimal)f(represen)o(tation)h(with)e +(leading)h(zeros)f(if)g(necessary)m(,)g(for)f(example,)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 262 286 +262 285 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(262)77 b(COMMON)13 +b(LISP)0 295 y Fj(G0007)p FA(.)h(This)f(con)o(v)o(en)o(tion)g(w)o(as)e +(motiv)n(ated)i(b)o(y)f(an)g(implemen)o(tation)j(consideration,)f +(namely)0 340 y(that)e(the)f(name)h(should)h(\014t)f(in)o(to)g(a)f +(single)j(mac)o(hine)f(w)o(ord,)e(allo)o(wing)j(a)d(quic)o(k)i(and)f +(clev)o(er)g(im-)0 386 y(plemen)o(tation.)18 b(Suc)o(h)11 +b(considerations)i(are)d(less)h(relev)n(an)o(t)g(in)f(Common)g(Lisp.)17 +b(The)10 b(consisten)o(t)0 432 y(use)k(of)g(mnemonic)h(pre\014xes)g +(can)f(mak)o(e)g(it)g(easier)h(for)f(the)g(programmer,)g(when)g +(debugging,)0 477 y(to)c(determine)i(what)f(co)q(de)g(generated)g(a)g +(particular)h(sym)o(b)q(ol.)18 b(The)10 b(eliminatio)q(n)j(of)d(the)h +(\014xed-)0 523 y(length)i(decimal)h(represen)o(tation)f(prev)o(en)o +(ts)g(the)f(same)g(name)g(from)f(b)q(eing)j(used)e(t)o(wice)g(unless)0 +569 y(the)h(coun)o(ter)h(is)f(explicitl)q(y)j(reset.)p +0 603 V 42 674 a Fw(If)8 b(it)h(is)h(desirable)f(for)g(the)h(generated) +h(sym)o(b)q(ols)d(to)h(b)q(e)h(in)o(terned,)g(and)g(y)o(et)f(guaran)o +(teed)0 726 y(to)h(b)q(e)h(sym)o(b)q(ols)e(distinct)i(from)d(all)i +(others,)h(then)g(the)g(function)f Fs(gentemp)f Fw(ma)o(y)g(b)q(e)i +(more)0 778 y(appropriate)j(to)g(use.)42 830 y(X3J13)k(v)o(oted)i(in)f +(Marc)o(h)g(1989)g Ft(h)p Fw(94)p Ft(i)g Fw(to)g(alter)g(the)h(sp)q +(eci\014cation)g(of)f Fs(gensym)f Fw(so)-33 802 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 882 a(that)12 b(supplying)g(an)g(optional)e(argumen)o(t) +h(\(whether)j(a)e(string)g(or)g(a)g(n)o(um)o(b)q(er\))g(do)q(es)g +Fv(not)0 934 y Fw(alter)k(the)g(in)o(ternal)f(state)h(main)o(tained)d +(b)o(y)i Fs(gensym)p Fw(.)22 b(Instead,)16 b(the)g(in)o(ternal)f(coun)o +(ter)0 986 y(is)f(made)e(explicitly)h(a)o(v)n(ailable)f(as)i(a)g(v)n +(ariable)e(named)h Fs(*gensym-counter*)p Fw(.)42 1038 +y(If)i(a)i(string)f(argumen)o(t)f(is)h(giv)o(en)g(to)h +Fs(gensym)p Fw(,)e(that)h(string)h(is)f(used)h(as)g(the)f(pre\014x;)0 +1089 y(otherwise)g(\\)p Fs(G)p Fw(")f(is)g(used.)23 b(If)15 +b(a)g(n)o(um)o(b)q(er)f(is)h(pro)o(vided,)g(its)h(decimal)d(represen)o +(tation)k(is)0 1141 y(used,)h(but)e(the)i(in)o(ternal)e(coun)o(ter)h +(is)g(una\013ected.)27 b(X3J13)17 b(deprecates)i(the)e(use)g(of)f(a)0 +1193 y(n)o(um)o(b)q(er)d(as)h(an)g(argumen)o(t.)-33 1205 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1219 1321 a([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(*gensym-counter*)-33 1293 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1398 a Fw(X3J13)14 b(v)o(oted)g(in)f(Marc)o(h)h(1989)f +Ft(h)p Fw(94)p Ft(i)h Fw(to)g(add)g Fs(*gensym-counter)o(*)p +Fw(,)d(whic)o(h)i(holds)h(the)0 1450 y(state)i(of)e(the)i +Fs(gensym)d Fw(coun)o(ter;)j(that)f(is,)g Fs(gensym)e +Fw(uses)j(the)g(decimal)d(represen)o(tation)0 1502 y(of)g(its)h(v)n +(alue)f(as)h(part)g(of)g(the)g(generated)h(name)e(and)h(then)g +(incremen)o(ts)g(its)g(v)n(alue.)42 1553 y(The)f(initial)d(v)n(alue)i +(of)g(this)h(v)n(ariable)f(is)g(implemen)o(tatio)o(n-dep)q(enden)o(t)g +(but)h(will)e(b)q(e)i(a)0 1605 y(non-negativ)o(e)g(in)o(teger.)42 +1657 y(The)f(user)h(ma)o(y)c(assign)j(to)g(or)f(bind)h(this)g(v)n +(ariable)e(at)i(an)o(y)f(time,)g(but)h(its)g(v)n(alue)f(m)o(ust)0 +1709 y(alw)o(a)o(ys)i(b)q(e)h(a)g(non-negativ)o(e)f(in)o(teger.)-33 +1721 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1837 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(gentemp)20 b(&optional)f Fv(pr)n(e\014x)26 b(p)n(ackage)0 +1914 y Fs(gentemp)p Fw(,)19 b(lik)o(e)f Fs(gensym)p Fw(,)h(creates)i +(and)e(returns)i(a)e(new)h(sym)o(b)q(ol.)32 b Fs(gentemp)18 +b Fw(di\013ers)0 1966 y(from)11 b Fs(gensym)g Fw(in)i(that)f(it)h(in)o +(terns)g(the)g(sym)o(b)q(ol)e(\(see)j Fs(intern)p Fw(\))e(in)g(the)h +Fv(p)n(ackage)h Fw(\(whic)o(h)0 2017 y(defaults)20 b(to)f(the)h(curren) +o(t)h(pac)o(k)n(age;)h(see)f Fs(*package*)p Fw(\).)33 +b Fs(gentemp)19 b Fw(guaran)o(tees)h(the)0 2069 y(sym)o(b)q(ol)15 +b(will)h(b)q(e)i(a)e(new)i(one)f(not)g(already)g(existing)g(in)g(the)g +(pac)o(k)n(age.)28 b(It)17 b(do)q(es)h(this)0 2121 y(b)o(y)c(using)h(a) +f(coun)o(ter)i(as)f Fs(gensym)e Fw(do)q(es,)i(but)g(if)f(the)h +(generated)h(sym)o(b)q(ol)d(is)i(not)f(really)0 2173 +y(new,)19 b(then)h(the)e(pro)q(cess)j(is)d(rep)q(eated)i(un)o(til)e(a)g +(new)g(one)h(is)f(created.)33 b(There)20 b(is)e(no)0 +2225 y(pro)o(vision)d(for)h(resetting)h(the)g Fs(gentemp)d +Fw(coun)o(ter.)25 b(Also,)16 b(the)h(pre\014x)g(for)e +Fs(gentemp)g Fw(is)0 2277 y(not)j(remem)o(b)q(ered)f(from)f(one)i(call) +f(to)g(the)i(next;)g(if)e Fv(pr)n(e\014x)h Fw(is)g(omitted,)f(the)h +(default)0 2329 y(pre\014x)d Fs(T)e Fw(is)h(used.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 263 287 +263 286 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SYMBOLS)1160 b(263)1209 +295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(symbol-package)18 +b Fv(sym)0 372 y Fw(Giv)o(en)10 b(a)h(sym)o(b)q(ol)f +Fv(sym)p Fw(,)h Fs(symbol-package)d Fw(returns)13 b(the)f(con)o(ten)o +(ts)g(of)e(the)i(pac)o(k)n(age)f(cell)0 423 y(of)i(that)h(sym)o(b)q +(ol.)i(This)e(will)f(b)q(e)h(a)g(pac)o(k)n(age)f(ob)r(ject)i(or)f +Fs(nil)p Fw(.)1209 550 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(keywordp)20 b Fv(obje)n(ct)0 627 y Fw(The)f(argumen)o(t)e(ma)o(y)f +(b)q(e)i(an)o(y)g(Lisp)g(ob)r(ject.)31 b(The)19 b(predicate)g +Fs(keywordp)e Fw(is)h(true)h(if)0 679 y(the)d(argumen)o(t)e(is)h(a)g +(sym)o(b)q(ol)f(and)h(that)h(sym)o(b)q(ol)d(is)i(a)g(k)o(eyw)o(ord)h +(\(that)f(is,)g(b)q(elongs)h(to)0 731 y(the)j(k)o(eyw)o(ord)g(pac)o(k)n +(age\).)33 b(Keyw)o(ords)19 b(are)h(those)f(sym)o(b)q(ols)f(that)g(are) +i(written)f(with)0 782 y(a)g(leading)f(colon.)32 b(Ev)o(ery)20 +b(k)o(eyw)o(ord)f(is)g(a)f(constan)o(t,)j(in)d(the)i(sense)g(that)f(it) +g(alw)o(a)o(ys)0 834 y(ev)n(aluates)14 b(to)g(itself.)j(See)e +Fs(constantp)p Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 264 288 +264 287 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(11)p 0 448 598 +9 v 0 531 a Fp(P)n(ack)n(ages)0 923 y Fw(One)16 b(problem)f(with)g +(earlier)h(Lisp)g(systems)g(is)f(the)h(use)h(of)e(a)g(single)h(name)e +(space)j(for)0 975 y(all)e(sym)o(b)q(ols.)23 b(In)16 +b(large)g(Lisp)g(systems,)g(with)g(mo)q(dules)f(written)i(b)o(y)f(man)o +(y)e(di\013eren)o(t)0 1027 y(programmers,)c(acciden)o(tal)i(name)g +(collisions)f(b)q(ecome)h(a)g(serious)h(problem.)j(Common)0 +1079 y(Lisp)k(addresses)i(this)e(problem)f(through)h(the)h +Fv(p)n(ackage)h(system)p Fw(,)f(deriv)o(ed)g(from)d(an)0 +1131 y(earlier)i(pac)o(k)n(age)g(system)g(dev)o(elop)q(ed)h(for)f(Lisp) +g(Mac)o(hine)g(Lisp)g([55)o(].)37 b(In)20 b(addition)0 +1183 y(to)d(prev)o(en)o(ting)h(name-space)g(con\015icts,)g(the)g(pac)o +(k)n(age)g(system)f(mak)o(es)f(the)j(mo)q(dular)0 1234 +y(structure)d(of)d(large)h(Lisp)g(systems)g(more)f(explicit.)42 +1288 y(A)g Fv(p)n(ackage)h Fw(is)f(a)g(data)g(structure)i(that)f +(establishes)g(a)f(mapping)e(from)g(prin)o(t)j(names)0 +1340 y(\(strings\))19 b(to)g(sym)o(b)q(ols.)31 b(The)19 +b(pac)o(k)n(age)f(th)o(us)h(replaces)h(the)g(\\oblist")d(or)i(\\obarra) +o(y")0 1392 y(mac)o(hinery)13 b(of)g(earlier)i(Lisp)f(systems.)19 +b(A)o(t)14 b(an)o(y)f(giv)o(en)h(time)f(one)h(pac)o(k)n(age)g(is)g +(curren)o(t,)0 1444 y(and)d(this)g(pac)o(k)n(age)f(is)h(used)h(b)o(y)f +(the)g(Lisp)g(reader)h(in)f(translating)f(strings)h(in)o(to)g(sym)o(b)q +(ols.)0 1495 y(The)16 b(curren)o(t)g(pac)o(k)n(age)f(is,)g(b)o(y)g +(de\014nition,)f(the)i(one)g(that)f(is)g(the)h(v)n(alue)e(of)h(the)g +(global)0 1547 y(v)n(ariable)e Fs(*package*)p Fw(.)k(It)d(is)g(p)q +(ossible)g(to)g(refer)i(to)e(sym)o(b)q(ols)e(in)i(pac)o(k)n(ages)g +(other)h(than)0 1599 y(the)c(curren)o(t)h(one)f(through)g(the)g(use)h +(of)e Fv(p)n(ackage)j(quali\014ers)d Fw(in)g(the)i(prin)o(ted)f +(represen)o(ta-)0 1651 y(tion)i(of)f(the)i(sym)o(b)q(ol.)i(F)m(or)c +(example,)g Fs(foo:bar)p Fw(,)f(when)j(seen)g(b)o(y)f(the)g(reader,)h +(refers)h(to)0 1703 y(the)g(sym)o(b)q(ol)d(whose)j(name)e(is)h +Fs(bar)f Fw(in)h(the)h(pac)o(k)n(age)e(whose)i(name)e(is)h +Fs(foo)p Fw(.)k(\(Actually)m(,)0 1755 y(this)e(is)h(true)g(only)e(if)h +Fs(bar)f Fw(is)i(an)f(external)g(sym)o(b)q(ol)f(of)h +Fs(foo)p Fw(,)f(that)i(is,)f(a)g(sym)o(b)q(ol)f(that)0 +1807 y(is)i(supp)q(osed)h(to)e(b)q(e)i(visible)e(outside)h(of)f +Fs(foo)p Fw(.)26 b(A)17 b(reference)i(to)e(an)f(in)o(ternal)h(sym)o(b)q +(ol)0 1859 y(requires)e(the)g(in)o(ten)o(tionally)d(clumsier)h(syn)o +(tax)h Fs(foo::bar)p Fw(.\))42 1912 y(The)20 b(string-to-sym)o(b)q(ol)d +(mappings)h(a)o(v)n(ailable)f(in)i(a)h(giv)o(en)f(pac)o(k)n(age)g(are)h +(divided)0 1964 y(in)o(to)d(t)o(w)o(o)h(classes,)i Fv(external)e +Fw(and)g Fv(internal)p Fw(.)31 b(W)m(e)18 b(refer)h(to)f(the)h(sym)o(b) +q(ols)d(accessible)0 2016 y(via)i(these)j(mappings)c(as)j(b)q(eing)f +Fv(external)g Fw(and)g Fv(internal)g Fw(sym)o(b)q(ols)f(of)g(the)i(pac) +o(k)n(age)0 2068 y(in)c(question,)h(though)g(really)f(it)g(is)h(the)g +(mappings)e(that)i(are)g(di\013eren)o(t)h(and)e(not)h(the)0 +2120 y(sym)o(b)q(ols)12 b(themselv)o(es.)18 b(Within)13 +b(a)g(giv)o(en)h(pac)o(k)n(age,)e(a)i(name)e(refers)j(to)f(one)g(sym)o +(b)q(ol)e(or)0 2172 y(to)k(none;)g(if)f(it)g(do)q(es)i(refer)f(to)g(a)f +(sym)o(b)q(ol,)f(then)j(it)e(is)g(either)i(external)f(or)g(in)o(ternal) +f(in)0 2223 y(that)f(pac)o(k)n(age,)f(but)h(not)g(b)q(oth.)42 +2277 y(External)h(sym)o(b)q(ols)f(are)i(part)f(of)g(the)g(pac)o(k)n +(age's)g(public)g(in)o(terface)h(to)f(other)h(pac)o(k-)0 +2329 y(ages.)29 b(External)17 b(sym)o(b)q(ols)f(are)i(supp)q(osed)h(to) +e(b)q(e)h(c)o(hosen)g(with)f(some)g(care)h(and)f(are)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2428 a Fy(264)p eop +%%Page: 265 289 +265 288 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(P)m(A)o(CKA)o(GES)1143 +b(265)0 295 y Fw(adv)o(ertised)14 b(to)f(users)i(of)e(the)g(pac)o(k)n +(age.)18 b(In)o(ternal)13 b(sym)o(b)q(ols)f(are)i(for)f(in)o(ternal)f +(use)i(only)m(,)0 347 y(and)i(these)h(sym)o(b)q(ols)e(are)i(normally)c +(hidden)j(from)f(other)h(pac)o(k)n(ages.)25 b(Most)16 +b(sym)o(b)q(ols)0 399 y(are)j(created)i(as)e(in)o(ternal)f(sym)o(b)q +(ols;)h(they)h(b)q(ecome)e(external)i(only)e(if)g(they)h(app)q(ear)0 +450 y(explicitly)13 b(in)g(an)h Fs(export)f Fw(command)e(for)i(the)i +(pac)o(k)n(age.)42 504 y(A)c(sym)o(b)q(ol)e(ma)o(y)g(app)q(ear)j(in)f +(man)o(y)e(pac)o(k)n(ages.)17 b(It)11 b(will)f(alw)o(a)o(ys)g(ha)o(v)o +(e)h(the)h(same)e(name)0 556 y(wherev)o(er)15 b(it)e(app)q(ears,)h(but) +g(it)f(ma)o(y)f(b)q(e)i(external)g(in)f(some)g(pac)o(k)n(ages)h(and)f +(in)o(ternal)g(in)0 608 y(others.)33 b(On)19 b(the)g(other)g(hand,)g +(the)g(same)f(name)f(\(string\))i(ma)o(y)e(refer)i(to)g(di\013eren)o(t) +0 660 y(sym)o(b)q(ols)12 b(in)i(di\013eren)o(t)h(pac)o(k)n(ages.)42 +713 y(Normally)m(,)9 b(a)k(sym)o(b)q(ol)e(that)i(app)q(ears)h(in)f(one) +g(or)g(more)f(pac)o(k)n(ages)h(will)f(b)q(e)i Fv(owne)n(d)f +Fw(b)o(y)0 765 y(one)i(particular)f(pac)o(k)n(age,)g(called)g(the)h +Fv(home)h(p)n(ackage)f Fw(of)f(the)h(sym)o(b)q(ol;)e(that)h(pac)o(k)n +(age)0 817 y(is)f(said)g(to)g Fv(own)g Fw(the)h(sym)o(b)q(ol.)i(Ev)o +(ery)e(sym)o(b)q(ol)d(has)j(a)f(comp)q(onen)o(t)f(called)h(the)h +Fv(p)n(ackage)0 869 y(c)n(el)r(l)g Fw(that)h(con)o(tains)f(a)g(p)q(oin) +o(ter)h(to)f(its)h(home)e(pac)o(k)n(age.)20 b(A)15 b(sym)o(b)q(ol)d +(that)j(is)f(o)o(wned)h(b)o(y)0 921 y(some)i(pac)o(k)n(age)h(is)g(said) +f(to)h(b)q(e)h Fv(interne)n(d)p Fw(.)30 b(Some)17 b(sym)o(b)q(ols)f +(are)i(not)g(o)o(wned)g(b)o(y)g(an)o(y)0 973 y(pac)o(k)n(age;)12 +b(suc)o(h)i(a)f(sym)o(b)q(ol)e(is)i(said)g(to)g(b)q(e)g +Fv(uninterne)n(d)p Fw(,)g(and)g(its)g(pac)o(k)n(age)g(cell)g(con)o +(tains)0 1025 y Fs(nil)p Fw(.)42 1078 y(P)o(ac)o(k)n(ages)h(ma)o(y)e(b) +q(e)k(built)d(up)i(in)f(la)o(y)o(ers.)19 b(F)m(rom)13 +b(the)i(p)q(oin)o(t)f(of)g(view)g(of)g(a)g(pac)o(k)n(age's)0 +1130 y(user,)h(the)f(pac)o(k)n(age)g(is)g(a)g(single)g(collection)f(of) +h(mappings)e(from)g(strings)j(in)o(to)e(in)o(ternal)0 +1182 y(and)i(external)g(sym)o(b)q(ols.)k(Ho)o(w)o(ev)o(er,)c(some)f(of) +g(these)i(mappings)d(ma)o(y)g(b)q(e)i(established)0 1234 +y(within)c(the)h(pac)o(k)n(age)f(itself,)h(while)f(other)h(mappings)e +(are)i(inherited)g(from)e(other)i(pac)o(k-)0 1286 y(ages)18 +b(via)e(the)i Fs(use-package)d Fw(construct.)29 b(\(The)18 +b(mec)o(hanisms)e(resp)q(onsible)i(for)f(this)0 1338 +y(inheritance)12 b(are)h(describ)q(ed)g(b)q(elo)o(w.\))k(In)12 +b(what)g(follo)o(ws,)e(w)o(e)i(will)e(refer)j(to)e(a)h(sym)o(b)q(ol)e +(as)0 1390 y(b)q(eing)15 b Fv(ac)n(c)n(essible)f Fw(in)g(a)g(pac)o(k)n +(age)h(if)f(it)g(can)h(b)q(e)g(referred)h(to)f(without)f(a)g(pac)o(k)n +(age)h(qual-)0 1441 y(i\014er)g(when)g(that)f(pac)o(k)n(age)g(is)g +(curren)o(t,)i(regardless)g(of)d(whether)j(the)f(mapping)d(o)q(ccurs)0 +1493 y(within)k(that)i(pac)o(k)n(age)e(or)i(via)e(inheritance.)29 +b(W)m(e)16 b(will)g(refer)i(to)f(a)g(sym)o(b)q(ol)f(as)h(b)q(eing)0 +1545 y Fv(pr)n(esent)11 b Fw(in)g(a)g(pac)o(k)n(age)g(if)f(the)i +(mapping)d(is)i(in)g(the)g(pac)o(k)n(age)g(itself)g(and)g(is)g(not)g +(inherited)0 1597 y(from)j(somewhere)i(else.)24 b(Th)o(us)16 +b(a)f(sym)o(b)q(ol)f(presen)o(t)j(in)e(a)h(pac)o(k)n(age)f(is)h +(accessible,)h(but)0 1649 y(an)d(accessible)h(sym)o(b)q(ol)d(is)i(not)g +(necessarily)g(presen)o(t.)42 1703 y(A)20 b(sym)o(b)q(ol)f(is)h(said)g +(to)g(b)q(e)i Fv(interne)n(d)e(in)h(a)g(p)n(ackage)h +Fw(if)d(it)i(is)f(accessible)i(in)e(that)0 1755 y(pac)o(k)n(age)d(and)g +(also)f(is)h(o)o(wned)g(\(b)o(y)g(either)h(that)g(pac)o(k)n(age)e(or)h +(some)g(other)g(pac)o(k)n(age\).)0 1806 y(Normally)8 +b(all)i(the)i(sym)o(b)q(ols)d(accessible)k(in)d(a)h(pac)o(k)n(age)f +(will)g(in)g(fact)h(b)q(e)h(o)o(wned)f(b)o(y)g(some)0 +1858 y(pac)o(k)n(age,)j(but)h(the)h(terminology)c(is)j(useful)g(when)g +(discussing)g(the)h(pathological)d(case)0 1910 y(of)g(an)h(accessible)h +(but)f(uno)o(wned)g(\(unin)o(terned\))i(sym)o(b)q(ol.)42 +1964 y(As)c(a)g(v)o(erb,)g(to)g Fv(intern)f Fw(a)h(sym)o(b)q(ol)e(in)i +(a)f(pac)o(k)n(age)h(means)f(to)h(cause)h(the)f(sym)o(b)q(ol)e(to)i(b)q +(e)0 2016 y(in)o(terned)i(in)e(the)h(pac)o(k)n(age)g(if)f(it)g(w)o(as)h +(not)g(already;)f(this)h(pro)q(cess)h(is)f(p)q(erformed)g(b)o(y)f(the)0 +2068 y(function)i Fs(intern)p Fw(.)k(If)13 b(the)i(sym)o(b)q(ol)e(w)o +(as)h(previously)g(uno)o(wned,)g(then)g(the)h(pac)o(k)n(age)f(it)0 +2119 y(is)e(b)q(eing)h(in)o(terned)g(in)f(b)q(ecomes)h(its)g(o)o(wner)g +(\(home)e(pac)o(k)n(age\);)h(but)h(if)f(the)h(sym)o(b)q(ol)e(w)o(as)0 +2171 y(previously)17 b(o)o(wned)g(b)o(y)g(another)h(pac)o(k)n(age,)f +(that)g(other)h(pac)o(k)n(age)e(con)o(tin)o(ues)i(to)f(o)o(wn)0 +2223 y(the)d(sym)o(b)q(ol.)42 2277 y(T)m(o)d Fv(unintern)i +Fw(a)f(sym)o(b)q(ol)f(from)g(the)i(pac)o(k)n(age)f(means)f(to)i(cause)g +(it)f(to)h(b)q(e)g(not)f(presen)o(t)0 2329 y(in)19 b(the)i(pac)o(k)n +(age)e(and,)i(additionally)m(,)d(to)i(cause)h(the)f(sym)o(b)q(ol)e(to)i +(b)q(e)h(unin)o(terned)g(if)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 266 290 +266 289 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(266)77 b(COMMON)13 +b(LISP)0 295 y Fw(the)18 b(pac)o(k)n(age)g(w)o(as)f(the)i(home)d(pac)o +(k)n(age)i(\(o)o(wner\))g(of)f(the)i(sym)o(b)q(ol.)28 +b(This)17 b(pro)q(cess)j(is)0 347 y(p)q(erformed)14 b(b)o(y)f(the)i +(function)e Fs(unintern)p Fw(.)0 501 y Fo(11.1.)20 b(Consistency)15 +b(Rules)0 588 y Fw(P)o(ac)o(k)n(age-related)g(bugs)h(can)f(b)q(e)h(v)o +(ery)g(subtle)f(and)h(confusing:)k(things)15 b(are)h(not)f(what)0 +640 y(they)k(app)q(ear)h(to)e(b)q(e.)34 b(The)19 b(Common)d(Lisp)i(pac) +o(k)n(age)h(system)f(is)h(designed)h(with)e(a)0 692 y(n)o(um)o(b)q(er)f +(of)f(safet)o(y)i(features)g(to)f(prev)o(en)o(t)i(most)d(of)g(the)i +(common)d(bugs)i(that)h(w)o(ould)0 744 y(otherwise)12 +b(o)q(ccur)g(in)f(normal)e(use.)18 b(This)11 b(ma)o(y)e(seem)i(o)o(v)o +(er-protectiv)o(e,)h(but)g(exp)q(erience)0 796 y(with)i(earlier)g(pac)o +(k)n(age)f(systems)h(has)g(sho)o(wn)g(that)g(suc)o(h)h(safet)o(y)f +(features)h(are)f(needed.)42 848 y(In)c(dealing)g(with)g(the)h(pac)o(k) +n(age)f(system,)h(it)f(is)g(useful)h(to)f(k)o(eep)h(in)f(mind)f(the)i +(follo)o(wing)0 900 y(consistency)16 b(rules,)e(whic)o(h)g(remain)f(in) +g(force)i(as)f(long)g(as)g(the)h(v)n(alue)e(of)h Fs(*package*)e +Fw(is)0 952 y(not)i(c)o(hanged)g(b)o(y)g(the)g(user:)0 +1013 y Fu(.)42 1022 y Fv(R)n(e)n(ad-r)n(e)n(ad)h(c)n(onsistency:)20 +b Fw(Reading)13 b(the)i(same)e(prin)o(t)h(name)g(alw)o(a)o(ys)f +(results)i(in)f(the)42 1074 y(same)f(\()p Fs(eq)p Fw(\))g(sym)o(b)q +(ol.)0 1147 y Fu(.)42 1156 y Fv(Print-r)n(e)n(ad)h(c)n(onsistency:)19 +b Fw(An)14 b(in)o(terned)h(sym)o(b)q(ol)e(alw)o(a)o(ys)g(prin)o(ts)h +(as)g(a)g(sequence)i(of)42 1208 y(c)o(haracters)f(that,)f(when)g(read)g +(bac)o(k)g(in,)f(yields)h(the)g(same)f(\()p Fs(eq)p Fw(\))h(sym)o(b)q +(ol.)0 1282 y Fu(.)42 1290 y Fv(Print-print)19 b(c)n(onsistency:)32 +b Fw(If)20 b(t)o(w)o(o)g(in)o(terned)h(sym)o(b)q(ols)e(are)h(not)g +Fs(eq)p Fw(,)h(then)g(their)42 1342 y(prin)o(ted)14 b(represen)o +(tations)i(will)c(b)q(e)i(di\013eren)o(t)h(sequences)i(of)c(c)o +(haracters.)42 1413 y(These)j(consistency)h(rules)f(remain)e(true)i(in) +e(spite)i(of)f(an)o(y)g(amoun)o(t)e(of)i(implicit)d(in-)0 +1464 y(terning)h(caused)g(b)o(y)f(t)o(yping)g(in)f(Lisp)i(forms,)d +(loading)h(\014les,)i(etc.)18 b(This)12 b(has)h(the)g(imp)q(or-)0 +1516 y(tan)o(t)i(implication)e(that,)i(as)h(long)e(as)i(the)g(curren)o +(t)h(pac)o(k)n(age)e(is)g(not)h(c)o(hanged,)g(results)0 +1568 y(are)h(repro)q(ducible)h(regardless)g(of)e(the)h(order)g(of)f +(loading)f(\014les)j(or)e(the)h(exact)h(history)0 1620 +y(of)h(what)h(sym)o(b)q(ols)e(w)o(ere)j(t)o(yp)q(ed)g(in)e(when.)37 +b(The)20 b(rules)g(can)g(only)g(b)q(e)g(violated)f(b)o(y)0 +1672 y(explicit)12 b(action:)17 b(c)o(hanging)12 b(the)h(v)n(alue)f(of) +g Fs(*package*)p Fw(,)e(forcing)i(some)g(action)g(b)o(y)h(con-)0 +1724 y(tin)o(uing)g(from)g(an)h(error,)g(or)h(calling)d(one)j(of)f(the) +g(\\dangerous")h(functions)f Fs(unintern)p Fw(,)0 1776 +y Fs(unexport)p Fw(,)e Fs(shadow)p Fw(,)g Fs(shadowing-import)p +Fw(,)e(or)k Fs(unuse-package)p Fw(.)0 1931 y Fo(11.2.)20 +b(P)n(ac)n(k)m(age)c(Names)0 2017 y Fw(Eac)o(h)e(pac)o(k)n(age)g(has)g +(a)f(name)g(\(a)h(string\))g(and)f(p)q(erhaps)i(some)e(nic)o(knames.)k +(These)e(are)0 2069 y(assigned)h(when)g(the)h(pac)o(k)n(age)e(is)h +(created,)h(though)e(they)i(can)f(b)q(e)g(c)o(hanged)g(later.)24 +b(A)0 2121 y(pac)o(k)n(age's)15 b(name)g(should)g(b)q(e)h(something)f +(long)f(and)i(self-explanatory)m(,)f(lik)o(e)f Fs(editor)p +Fw(;)0 2173 y(there)h(migh)o(t)d(b)q(e)i(a)g(nic)o(kname)f(that)g(is)h +(shorter)h(and)f(easier)h(to)e(t)o(yp)q(e,)h(suc)o(h)h(as)f +Fs(ed)p Fw(.)42 2225 y(There)20 b(is)e(a)h(single)f(name)g(space)i(for) +e(pac)o(k)n(ages.)33 b(The)20 b(function)e Fs(find-package)0 +2277 y Fw(translates)12 b(a)e(pac)o(k)n(age)h(name)f(or)h(nic)o(kname)e +(in)o(to)h(the)i(asso)q(ciated)g(pac)o(k)n(age.)k(The)c(func-)0 +2329 y(tion)k Fs(package-name)e Fw(returns)19 b(the)e(name)e(of)h(a)h +(pac)o(k)n(age.)26 b(The)17 b(function)f Fs(package-)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 267 291 +267 290 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(P)m(A)o(CKA)o(GES)1143 +b(267)0 295 y Fs(nicknames)9 b Fw(returns)j(a)e(list)g(of)g(all)f(nic)o +(knames)h(for)g(a)g(pac)o(k)n(age.)17 b(The)11 b(function)f +Fs(rename-)0 347 y(package)h Fw(remo)o(v)o(es)h(a)g(pac)o(k)n(age's)g +(curren)o(t)i(name)e(and)g(nic)o(knames)f(and)i(replaces)h(them)0 +399 y(with)g(new)g(ones)h(sp)q(eci\014ed)h(b)o(y)e(the)g(user.)20 +b(P)o(ac)o(k)n(age)14 b(renaming)f(is)h(o)q(ccasionally)f(useful)0 +450 y(when,)f(for)g(dev)o(elopmen)o(t)f(purp)q(oses,)i(it)f(is)f +(desirable)i(to)e(load)g(t)o(w)o(o)h(v)o(ersions)g(of)f(a)h(pac)o(k-)0 +502 y(age)k(in)o(to)f(the)h(same)f(Lisp.)24 b(One)16 +b(can)g(load)f(the)h(\014rst)h(v)o(ersion,)f(rename)f(it,)g(and)h(then) +0 554 y(load)d(the)h(other)h(v)o(ersion,)e(without)h(getting)g(a)f(lot) +h(of)f(name)g(con\015icts.)42 606 y(When)g(the)g(Lisp)g(reader)h(sees)h +(a)d(quali\014ed)g(sym)o(b)q(ol,)f(it)i(handles)g(the)g(pac)o(k)n +(age-name)0 658 y(part)e(in)f(the)h(same)e(w)o(a)o(y)h(as)g(the)h(sym)o +(b)q(ol)e(part)i(with)f(resp)q(ect)i(to)f(capitalization.)k(Lo)o(w)o +(er-)0 710 y(case)d(c)o(haracters)h(in)d(the)h(pac)o(k)n(age)g(name)f +(are)h(con)o(v)o(erted)h(to)f(corresp)q(onding)h(upp)q(ercase)0 +762 y(c)o(haracters)h(unless)g(preceded)g(b)o(y)f(the)g(escap)q(e)h(c)o +(haracter)g Fs(\\)e Fw(or)h(surrounded)h(b)o(y)e Fs(|)h +Fw(c)o(har-)0 814 y(acters.)20 b(The)14 b(lo)q(okup)f(done)h(b)o(y)g +(the)h Fs(find-package)c Fw(function)j(is)g(case-sensitiv)o(e,)h(lik)o +(e)0 866 y(that)20 b(done)g(for)f(sym)o(b)q(ols.)34 b(Note)20 +b(that)g Fs(|Foo|:|Bar|)d Fw(refers)k(to)f(a)f(sym)o(b)q(ol)f(whose)0 +917 y(name)13 b(is)i Fs(Bar)f Fw(in)g(a)g(pac)o(k)n(age)g(whose)h(name) +e(is)i Fs(Foo)p Fw(.)k(By)c(con)o(trast,)g Fs(|Foo:Bar|)d +Fw(refers)0 969 y(to)20 b(a)f(sev)o(en-c)o(haracter)k(sym)o(b)q(ol)18 +b(that)i(has)g(a)f(colon)h(in)f(its)h(name)f(\(as)h(w)o(ell)f(as)h(t)o +(w)o(o)0 1021 y(upp)q(ercase)g(letters)f(and)f(four)g(lo)o(w)o(ercase)h +(letters\))g(and)f(is)g(in)o(terned)h(in)f(the)g(curren)o(t)0 +1073 y(pac)o(k)n(age.)29 b(F)m(ollo)o(wing)14 b(the)19 +b(con)o(v)o(en)o(tion)e(used)h(in)f(this)h(b)q(o)q(ok)f(for)g(sym)o(b)q +(ols,)g(w)o(e)h(sho)o(w)0 1125 y(ordinary)13 b(pac)o(k)n(age)g(names)f +(using)h(lo)o(w)o(ercase)h(letters,)h(ev)o(en)f(though)f(the)h(name)e +(string)0 1177 y(is)i(in)o(ternally)f(represen)o(ted)j(with)e(upp)q +(ercase)i(letters.)42 1229 y(Most)d(of)f(the)i(functions)f(that)g +(require)h(a)f(pac)o(k)n(age-name)f(argumen)o(t)g(from)f(the)j(user)0 +1281 y(accept)19 b(either)f(a)f(sym)o(b)q(ol)f(or)h(a)h(string.)29 +b(If)17 b(a)g(sym)o(b)q(ol)f(is)h(supplied,)h(its)g(prin)o(t)f(name)0 +1333 y(will)d(b)q(e)h(used;)h(the)g(prin)o(t)f(name)f(will)f(already)i +(ha)o(v)o(e)g(undergone)h(case-con)o(v)o(ersion)g(b)o(y)0 +1385 y(the)f(usual)g(rules.)21 b(If)14 b(a)h(string)g(is)f(supplied,)h +(it)f(m)o(ust)g(b)q(e)h(so)g(capitalized)g(as)f(to)h(matc)o(h)0 +1436 y(exactly)f(the)g(string)g(that)g(names)f(the)i(pac)o(k)n(age.)42 +1488 y(X3J13)i(v)o(oted)h(in)g(Jan)o(uary)g(1989)f Ft(h)p +Fw(127)p Ft(i)h Fw(to)g(clarify)f(that)h(one)g(ma)o(y)e(use)j(either)g +(a)-33 1460 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1540 a(pac)o(k)n(age)c(ob)r(ject)g(or)g(a)g(pac)o(k)n +(age)f(name)g(\(sym)o(b)q(ol)f(or)i(string\))h(in)e(an)o(y)g(of)h(the)g +(follo)o(wing)0 1592 y(situations:)0 1652 y Fu(.)42 1661 +y Fw(the)f Fs(:use)f Fw(argumen)o(t)g(to)h Fs(make-package)0 +1734 y Fu(.)42 1743 y Fw(the)40 b(\014rst)h(argumen)o(t)e(to)h +Fs(package-use-list)p Fw(,)j Fs(package-used-by-lis)o(t)p +Fw(,)42 1795 y Fs(package-name)p Fw(,)7 b Fs(package-nicknames)p +Fw(,)g Fs(in-package)p Fw(,)h Fs(find-package)p Fw(,)g +Fs(rename-)42 1847 y(package)p Fw(,)j(or)j Fs(delete-package)p +Fw(,)0 1919 y Fu(.)42 1928 y Fw(the)33 b(second)h(argumen)o(t)e(to)h +Fs(intern)p Fw(,)j Fs(find-symbol)p Fw(,)f Fs(unintern)p +Fw(,)g Fs(export)p Fw(,)42 1980 y Fs(unexport)p Fw(,)11 +b Fs(import)p Fw(,)h Fs(shadowing-import)p Fw(,)e(or)k +Fs(shadow)0 2053 y Fu(.)42 2062 y Fw(the)j(\014rst)h(argumen)o(t,)e(or) +g(a)h(mem)o(b)q(er)e(of)h(the)i(list)e(that)h(is)g(the)g(\014rst)h +(argumen)o(t,)e(to)42 2114 y Fs(use-package)11 b Fw(or)j +Fs(unuse-package)0 2186 y Fu(.)42 2195 y Fw(the)j(v)n(alue)f(of)f(the)j +Fv(p)n(ackage)f Fw(giv)o(en)f(to)g Fs(do-symbols)p Fw(,)f +Fs(do-external-symbo)o(ls)p Fw(,)f(or)42 2247 y Fs(do-all-symbols)0 +2320 y Fu(.)42 2329 y Fw(a)f(mem)o(b)q(er)f(of)i(the)g +Fv(p)n(ackage-list)g Fw(giv)o(en)f(to)h Fs(with-package-iter)o(ator)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 268 292 +268 291 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(268)77 b(COMMON)13 +b(LISP)0 295 y Fw(Note)i(that)g(the)g(\014rst)g(argumen)o(t)f(to)h +Fs(make-package)d Fw(m)o(ust)h(still)h(b)q(e)h(a)g(pac)o(k)n(age)f +(name)0 347 y(and)j(not)g(an)g(actual)g(pac)o(k)n(age;)h(it)f(mak)o(es) +f(no)h(sense)i(to)e(create)h(an)f(already)g(existing)0 +399 y(pac)o(k)n(age.)k(Similarly)m(,)12 b(pac)o(k)n(age)i(nic)o(knames) +g(m)o(ust)h(alw)o(a)o(ys)f(b)q(e)h(expressed)j(as)d(pac)o(k)n(age)0 +450 y(names)c(and)i(not)f(as)g(pac)o(k)n(age)g(ob)r(jects.)19 +b(If)11 b Fs(find-package)f Fw(is)i(giv)o(en)g(a)g(pac)o(k)n(age)g(ob)r +(ject)0 502 y(instead)i(of)f(a)h(name,)e(it)i(simply)e(returns)j(that)f +(pac)o(k)n(age.)-33 514 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 639 a Fo(11.3.)20 b(T)-5 b(ranslating)15 +b(Strings)g(to)g(Sym)n(b)r(ols)0 720 y Fw(The)e(v)n(alue)g(of)f(the)i +(sp)q(ecial)f(v)n(ariable)f Fs(*package*)f Fw(m)o(ust)h(alw)o(a)o(ys)g +(b)q(e)i(a)e(pac)o(k)n(age)h(ob)r(ject)0 772 y(\(not)i(a)g(name\).)20 +b(Whatev)o(er)c(pac)o(k)n(age)e(ob)r(ject)i(is)f(curren)o(tly)h(the)g +(v)n(alue)e(of)h Fs(*package*)0 824 y Fw(is)f(referred)h(to)f(as)g(the) +h Fv(curr)n(ent)f(p)n(ackage)p Fw(.)42 876 y(When)21 +b(the)h(Lisp)g(reader)h(has,)g(b)o(y)e(parsing,)i(obtained)e(a)g +(string)h(of)f(c)o(haracters)0 928 y(though)o(t)c(to)f(name)g(a)h(sym)o +(b)q(ol,)e(that)i(name)f(is)h(lo)q(ok)o(ed)f(up)h(in)g(the)g(curren)o +(t)i(pac)o(k)n(age.)0 980 y(This)e(lo)q(okup)g(ma)o(y)e(in)o(v)o(olv)o +(e)h(lo)q(oking)g(in)g(other)i(pac)o(k)n(ages)g(whose)f(external)h(sym) +o(b)q(ols)0 1032 y(are)13 b(inherited)h(b)o(y)e(the)i(curren)o(t)g(pac) +o(k)n(age.)j(If)c(the)g(name)f(is)g(found,)g(the)i(corresp)q(onding)0 +1083 y(sym)o(b)q(ol)g(is)h(returned.)25 b(If)16 b(the)g(name)e(is)i +(not)f(found)g(\(that)h(is,)g(there)h(is)e(no)h(sym)o(b)q(ol)d(of)0 +1135 y(that)i(name)g(accessible)h(in)f(the)h(curren)o(t)h(pac)o(k)n +(age\),)e(a)g(new)h(sym)o(b)q(ol)e(is)h(created)i(for)e(it)0 +1187 y(and)i(is)h(placed)g(in)f(the)h(curren)o(t)h(pac)o(k)n(age)e(as)h +(an)f(in)o(ternal)g(sym)o(b)q(ol.)28 b(Moreo)o(v)o(er,)18 +b(the)0 1239 y(curren)o(t)c(pac)o(k)n(age)d(b)q(ecomes)i(the)f(o)o +(wner)h(\(home)e(pac)o(k)n(age\))h(of)f(the)i(sym)o(b)q(ol,)d(and)i(so) +g(the)0 1291 y(sym)o(b)q(ol)k(b)q(ecomes)h(in)o(terned)h(in)f(the)h +(curren)o(t)h(pac)o(k)n(age.)28 b(If)17 b(the)h(name)f(is)g(later)g +(read)0 1343 y(again)12 b(while)g(this)h(same)g(pac)o(k)n(age)f(is)h +(curren)o(t,)h(the)g(same)e(sym)o(b)q(ol)f(will)h(then)i(b)q(e)f(found) +0 1395 y(and)h(returned.)42 1447 y(Often)i(it)f(is)g(desirable)h(to)f +(refer)i(to)e(an)h(external)g(sym)o(b)q(ol)d(in)i(some)g(pac)o(k)n(age) +g(other)0 1499 y(than)21 b(the)g(curren)o(t)h(one.)38 +b(This)21 b(is)f(done)h(through)g(the)g(use)h(of)e(a)g +Fv(quali\014e)n(d)i(name)p Fw(,)0 1550 y(consisting)c(of)g(a)g(pac)o(k) +n(age)g(name,)g(then)h(a)f(colon,)g(then)h(the)g(name)e(of)h(the)h(sym) +o(b)q(ol.)0 1602 y(This)11 b(causes)h(the)f(sym)o(b)q(ol's)e(name)g(to) +i(b)q(e)g(lo)q(ok)o(ed)f(up)h(in)f(the)h(sp)q(eci\014ed)h(pac)o(k)n +(age,)f(rather)0 1654 y(than)k(in)f(the)i(curren)o(t)h(one.)k(F)m(or)15 +b(example,)e Fs(editor:buffer)f Fw(refers)17 b(to)e(the)g(external)0 +1706 y(sym)o(b)q(ol)d(named)g Fs(buffer)h Fw(accessible)i(in)e(the)h +(pac)o(k)n(age)f(named)g Fs(editor)p Fw(,)f(regardless)i(of)0 +1758 y(whether)20 b(there)g(is)e(a)g(sym)o(b)q(ol)f(named)g +Fs(buffer)g Fw(in)h(the)h(curren)o(t)h(pac)o(k)n(age.)31 +b(If)18 b(there)0 1810 y(is)d(no)g(pac)o(k)n(age)h(named)e +Fs(editor)p Fw(,)g(or)h(if)g(no)g(sym)o(b)q(ol)f(named)g +Fs(buffer)g Fw(is)h(accessible)i(in)0 1862 y Fs(editor)p +Fw(,)g(or)h(if)e Fs(buffer)h Fw(is)h(an)f(in)o(ternal)g(sym)o(b)q(ol)f +(in)h Fs(editor)p Fw(,)g(the)i(Lisp)e(reader)i(will)0 +1914 y(signal)13 b(a)g(correctable)j(error)f(to)e(ask)h(the)h(user)g +(for)e(instructions.)42 1966 y(On)h(rare)h(o)q(ccasions,)g(a)f(user)h +(ma)o(y)d(need)k(to)e(refer)h(to)f(an)h Fv(internal)e +Fw(sym)o(b)q(ol)g(of)h(some)0 2017 y(pac)o(k)n(age)k(other)h(than)f +(the)h(curren)o(t)h(one.)31 b(It)18 b(is)h(illegal)d(to)i(do)g(this)g +(with)g(the)h(colon)0 2069 y(quali\014er,)14 b(since)h(accessing)g(an)f +(in)o(ternal)g(sym)o(b)q(ol)f(of)h(some)f(other)i(pac)o(k)n(age)f(is)h +(usually)0 2121 y(a)h(mistak)o(e.)24 b(Ho)o(w)o(ev)o(er,)16 +b(this)h(op)q(eration)f(is)g(legal)f(if)h(a)g(doubled)g(colon)g +Fs(::)f Fw(is)h(used)i(as)0 2173 y(the)f(separator)f(in)g(place)g(of)f +(the)i(usual)e(single)h(colon.)24 b(If)15 b Fs(editor::buffer)e +Fw(is)j(seen,)0 2225 y(the)e(e\013ect)h(is)e(exactly)g(the)h(same)f(as) +g(reading)g Fs(buffer)f Fw(with)h Fs(*package*)e Fw(temp)q(orarily)0 +2277 y(reb)q(ound)i(to)g(the)g(pac)o(k)n(age)f(whose)h(name)e(is)i +Fs(editor)p Fw(.)j(This)c(sp)q(ecial-purp)q(ose)i(quali\014er)0 +2329 y(should)g(b)q(e)g(used)h(with)f(caution.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 269 293 +269 292 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(P)m(A)o(CKA)o(GES)1143 +b(269)42 295 y Fw(The)20 b(pac)o(k)n(age)f(named)g Fs(keyword)g +Fw(con)o(tains)h(all)e(k)o(eyw)o(ord)i(sym)o(b)q(ols)f(used)h(b)o(y)g +(the)0 347 y(Lisp)f(system)f(itself)h(and)f(b)o(y)h(user-written)h(co)q +(de.)34 b(Suc)o(h)19 b(sym)o(b)q(ols)e(m)o(ust)h(b)q(e)h(easily)0 +399 y(accessible)12 b(from)e(an)o(y)g(pac)o(k)n(age,)h(and)f(name)g +(con\015icts)i(are)f(not)g(an)g(issue)h(b)q(ecause)g(these)0 +450 y(sym)o(b)q(ols)h(are)h(used)i(only)d(as)h(lab)q(els)g(and)g(nev)o +(er)i(to)e(carry)h(pac)o(k)n(age-sp)q(eci\014c)g(v)n(alues)f(or)0 +502 y(prop)q(erties.)27 b(Because)18 b(k)o(eyw)o(ord)f(sym)o(b)q(ols)e +(are)i(used)g(so)f(frequen)o(tly)m(,)h(Commo)o(n)d(Lisp)0 +554 y(pro)o(vides)i(a)f(sp)q(ecial)h(reader)h(syn)o(tax)e(for)h(them.) +22 b(An)o(y)16 b(sym)o(b)q(ol)e(preceded)j(b)o(y)f(a)f(colon)0 +606 y(but)i(no)g(pac)o(k)n(age)f(name)g(\(for)h(example)e +Fs(:foo)p Fw(\))h(is)h(added)g(to)g(\(or)g(lo)q(ok)o(ed)g(up)g(in\))f +(the)0 658 y Fs(keyword)11 b Fw(pac)o(k)n(age)i(as)g(an)f +Fv(external)h Fw(sym)o(b)q(ol.)j(The)d Fs(keyword)e Fw(pac)o(k)n(age)i +(is)f(also)h(treated)0 710 y(sp)q(ecially)19 b(in)g(that)g(whenev)o(er) +i(a)e(sym)o(b)q(ol)e(is)i(added)h(to)f(the)h Fs(keyword)d +Fw(pac)o(k)n(age)i(the)0 762 y(sym)o(b)q(ol)12 b(is)h(alw)o(a)o(ys)f +(made)g(external;)i(the)g(sym)o(b)q(ol)d(is)j(also)e(automatically)f +(declared)j(to)0 814 y(b)q(e)g(a)f(constan)o(t)g(\(see)i +Fs(defconstant)p Fw(\))c(and)i(made)f(to)h(ha)o(v)o(e)g(itself)f(as)i +(its)f(v)n(alue.)k(This)c(is)0 866 y(wh)o(y)h(ev)o(ery)g(k)o(eyw)o(ord) +g(ev)n(aluates)g(to)g(itself.)k(As)d(a)e(matter)h(of)f(st)o(yle,)h(k)o +(eyw)o(ords)g(should)0 917 y(alw)o(a)o(ys)f(b)q(e)i(accessed)h(using)e +(the)h(leading-colon)d(con)o(v)o(en)o(tion;)i(the)h(user)g(should)f +(nev)o(er)0 969 y(imp)q(ort)h(or)i(inherit)g(k)o(eyw)o(ords)g(in)o(to)g +(an)o(y)f(other)i(pac)o(k)n(age.)27 b(It)17 b(is)f(an)h(error)h(to)f +(try)g(to)0 1021 y(apply)c Fs(use-package)f Fw(to)h(the)i +Fs(keyword)d Fw(pac)o(k)n(age.)42 1075 y(Eac)o(h)e(sym)o(b)q(ol)f(con)o +(tains)h(a)g(pac)o(k)n(age)g(cell)h(that)f(is)h(used)g(to)f(record)i +(the)f(home)e(pac)o(k)n(age)0 1127 y(of)14 b(the)h(sym)o(b)q(ol,)d(or)i +Fs(nil)g Fw(if)g(the)h(sym)o(b)q(ol)d(is)j(unin)o(terned.)20 +b(This)15 b(cell)f(ma)o(y)e(b)q(e)j(accessed)0 1179 y(b)o(y)e(using)g +(the)g(function)g Fs(symbol-package)p Fw(.)i(When)e(an)g(in)o(terned)h +(sym)o(b)q(ol)d(is)i(prin)o(ted,)0 1231 y(if)i(it)g(is)g(a)g(sym)o(b)q +(ol)e(in)i(the)h(k)o(eyw)o(ord)g(pac)o(k)n(age,)f(then)h(it)f(is)g +(prin)o(ted)h(with)f(a)g(preceding)0 1283 y(colon;)f(otherwise,)i(if)e +(it)h(is)f(accessible)j(\(directly)e(or)g(b)o(y)g(inheritance\))g(in)g +(the)g(curren)o(t)0 1335 y(pac)o(k)n(age,)g(it)g(is)g(prin)o(ted)g +(without)g(an)o(y)g(quali\014cation;)f(otherwise,)i(it)e(is)h(prin)o +(ted)h(with)0 1386 y(the)e(name)e(of)g(the)i(home)e(pac)o(k)n(age)h(as) +g(the)h(quali\014er,)e(using)h Fs(:)g Fw(as)g(the)h(separator)g(if)e +(the)0 1438 y(sym)o(b)q(ol)g(is)i(external)g(and)g Fs(::)f +Fw(if)g(not.)42 1492 y(A)h(sym)o(b)q(ol)f(whose)i(pac)o(k)n(age)g(slot) +f(con)o(tains)h Fs(nil)f Fw(\(that)h(is,)f(has)h(no)f(home)g(pac)o(k)n +(age\))0 1544 y(is)f(prin)o(ted)h(preceded)h(b)o(y)e +Fs(#)414 1540 y(-)414 1548 y(-)436 1544 y(:)p Fw(.)k(It)d(is)f(p)q +(ossible,)g(b)o(y)g(the)g(use)h(of)f Fs(import)f Fw(and)h +Fs(unintern)p Fw(,)0 1596 y(to)18 b(create)i(a)f(sym)o(b)q(ol)d(that)j +(has)g(no)f(recorded)i(home)e(pac)o(k)n(age)g(but)h(that)f(in)g(fact)h +(is)0 1648 y(accessible)e(in)e(some)f(pac)o(k)n(age.)22 +b(The)16 b(system)f(do)q(es)h(not)f(c)o(hec)o(k)h(for)f(this)h +(pathological)0 1700 y(case,)e(and)g(suc)o(h)h(sym)o(b)q(ols)d(will)h +(alw)o(a)o(ys)f(b)q(e)j(prin)o(ted)f(preceded)i(b)o(y)e +Fs(#)1075 1696 y(-)1075 1704 y(-)1097 1700 y(:)p Fw(.)42 +1754 y(In)f(summary)m(,)e(the)j(follo)o(wing)d(four)i(uses)i(of)e(sym)o +(b)q(ol)f(quali\014er)h(syn)o(tax)h(are)g(de\014ned.)0 +1875 y Fs(foo:bar)0 1938 y Fw(When)h(read,)f(lo)q(oks)g(up)h +Fs(BAR)e Fw(among)g(the)i(external)g(sym)o(b)q(ols)e(of)h(the)h(pac)o +(k)n(age)f(named)0 1990 y Fs(FOO)p Fw(.)e(Prin)o(ted)i(when)f(sym)o(b)q +(ol)f Fs(bar)g Fw(is)h(external)h(in)e(its)i(home)e(pac)o(k)n(age)g +Fs(foo)h Fw(and)g(is)g(not)0 2042 y(accessible)i(in)f(the)g(curren)o(t) +i(pac)o(k)n(age.)0 2162 y Fs(foo::bar)0 2225 y Fw(When)i(read,)h(in)o +(terns)g Fs(BAR)e Fw(as)h(if)f Fs(FOO)h Fw(w)o(ere)h(the)f(curren)o(t)i +(pac)o(k)n(age.)30 b(Prin)o(ted)18 b(when)0 2277 y(sym)o(b)q(ol)d +Fs(bar)h Fw(is)g(in)o(ternal)g(in)g(its)h(home)e(pac)o(k)n(age)i +Fs(foo)f Fw(and)g(is)g(not)h(accessible)h(in)e(the)0 +2329 y(curren)o(t)f(pac)o(k)n(age.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 270 294 +270 293 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(270)77 b(COMMON)13 +b(LISP)0 295 y Fs(:bar)0 358 y Fw(When)k(read,)g(in)o(terns)h +Fs(BAR)e Fw(as)g(an)h(external)g(sym)o(b)q(ol)e(in)h(the)h +Fs(keyword)f Fw(pac)o(k)n(age)g(and)0 410 y(mak)o(es)d(it)h(ev)n +(aluate)g(to)h(itself.)k(Prin)o(ted)c(when)g(the)g(home)e(pac)o(k)n +(age)h(of)g(sym)o(b)q(ol)e Fs(bar)i Fw(is)0 462 y Fs(keyword)p +Fw(.)0 565 y Fs(#)0 561 y(-)0 569 y(-)22 565 y(:bar)0 +628 y Fw(When)i(read,)g(creates)i(a)d(new)h(unin)o(terned)h(sym)o(b)q +(ol)d(named)g Fs(BAR)p Fw(.)h(Prin)o(ted)h(when)g(the)0 +680 y(sym)o(b)q(ol)g Fs(bar)i Fw(is)g(unin)o(terned)h(\(has)g(no)f +(home)f(pac)o(k)n(age\),)h(ev)o(en)h(in)f(the)h(pathological)0 +732 y(case)12 b(that)f Fs(bar)f Fw(is)g(unin)o(terned)i(but)f(nev)o +(ertheless)i(someho)o(w)c(accessible)k(in)d(the)h(curren)o(t)0 +784 y(pac)o(k)n(age.)42 888 y(All)d(other)j(uses)g(of)e(colons)h +(within)f(names)g(of)g(sym)o(b)q(ols)g(are)h(not)g(de\014ned)g(b)o(y)g +(Common)0 940 y(Lisp)k(but)g(are)g(reserv)o(ed)i(for)d(implemen)o +(tation-dep)q(enden)o(t)f(use;)i(this)g(includes)h(names)0 +992 y(that)f(end)g(in)g(a)f(colon,)g(con)o(tain)h(t)o(w)o(o)f(or)h +(more)f(colons,)g(or)h(consist)h(of)e(just)h(a)g(colon.)0 +1150 y Fo(11.4.)20 b(Exp)r(orting)14 b(and)h(Imp)r(orting)e(Sym)n(b)r +(ols)0 1238 y Fw(Sym)o(b)q(ols)e(from)g(one)i(pac)o(k)n(age)g(ma)o(y)e +(b)q(e)i(made)f(accessible)i(in)f(another)g(pac)o(k)n(age)g(in)f(t)o(w) +o(o)0 1290 y(w)o(a)o(ys.)42 1342 y(First,)21 b(an)o(y)f(individual)e +(sym)o(b)q(ol)g(ma)o(y)g(b)q(e)j(added)f(to)g(a)g(pac)o(k)n(age)g(b)o +(y)g(use)h(of)e(the)0 1394 y(function)g Fs(import)p Fw(.)33 +b(The)20 b(form)e Fs(\(import)711 1398 y Fn(')735 1394 +y Fs(editor:buffer\))e Fw(tak)o(es)k(the)g(external)0 +1446 y(sym)o(b)q(ol)12 b(named)g Fs(buffer)h Fw(in)g(the)h +Fs(editor)f Fw(pac)o(k)n(age)g(\(this)h(sym)o(b)q(ol)e(w)o(as)h(lo)q +(cated)h(when)0 1498 y(the)h(form)e(w)o(as)i(read)g(b)o(y)g(the)g(Lisp) +f(reader\))i(and)f(adds)g(it)f(to)h(the)g(curren)o(t)h(pac)o(k)n(age)f +(as)0 1550 y(an)f(in)o(ternal)g(sym)o(b)q(ol.)19 b(The)c(sym)o(b)q(ol)d +(is)j(then)g(presen)o(t)h(in)e(the)i(curren)o(t)g(pac)o(k)n(age.)j(The) +0 1602 y(imp)q(orted)11 b(sym)o(b)q(ol)f(is)i(not)g(automatically)d +(exp)q(orted)k(from)d(the)j(curren)o(t)g(pac)o(k)n(age,)f(but)0 +1654 y(if)k(it)h(is)f(already)h(presen)o(t)i(and)d(external,)i(then)g +(the)f(fact)g(that)g(it)g(is)g(external)g(is)g(not)0 +1706 y(c)o(hanged.)33 b(After)20 b(the)f(call)f(to)h +Fs(import)f Fw(it)g(is)h(p)q(ossible)g(to)g(refer)g(to)g +Fs(buffer)f Fw(in)g(the)0 1758 y(imp)q(orting)10 b(pac)o(k)n(age)h +(without)g(an)o(y)g(quali\014er.)17 b(The)12 b(status)h(of)e +Fs(buffer)g Fw(in)g(the)h(pac)o(k)n(age)0 1809 y(named)i +Fs(editor)f Fw(is)i(unc)o(hanged,)g(and)f Fs(editor)f +Fw(remains)h(the)h(home)f(pac)o(k)n(age)g(for)h(this)0 +1861 y(sym)o(b)q(ol.)26 b(Once)19 b(imp)q(orted,)d(a)h(sym)o(b)q(ol)f +(is)h Fv(pr)n(esent)g Fw(in)g(the)h(imp)q(orting)d(pac)o(k)n(age)i(and) +0 1913 y(can)d(b)q(e)h(remo)o(v)o(ed)e(only)g(b)o(y)g(calling)g +Fs(unintern)p Fw(.)42 1965 y(If)i(the)h(sym)o(b)q(ol)f(is)g(already)h +(presen)o(t)h(in)f(the)g(imp)q(orting)e(pac)o(k)n(age,)h +Fs(import)g Fw(has)h(no)0 2017 y(e\013ect.)i(If)10 b(a)g(distinct)g +(sym)o(b)q(ol)e(with)i(the)g(name)f Fs(buffer)g Fw(is)g(accessible)j +(in)d(the)i(imp)q(orting)0 2069 y(pac)o(k)n(age)16 b(\(directly)h(or)f +(b)o(y)g(inheritance\),)i(then)f(a)f(correctable)i(error)f(is)g +(signaled,)f(as)0 2121 y(describ)q(ed)h(in)f(section)g(11.5,)e(b)q +(ecause)k Fs(import)c Fw(a)o(v)o(oids)h(letting)g(one)h(sym)o(b)q(ol)e +(shado)o(w)0 2173 y(another.)42 2225 y(A)19 b(sym)o(b)q(ol)e(is)i(said) +f(to)h(b)q(e)h Fv(shadowe)n(d)g Fw(b)o(y)e(another)i(sym)o(b)q(ol)d(in) +i(some)f(pac)o(k)n(age)h(if)0 2277 y(the)c(\014rst)h(sym)o(b)q(ol)d(w)o +(ould)h(b)q(e)h(accessible)h(b)o(y)f(inheritance)h(if)d(not)i(for)g +(the)g(presence)i(of)0 2329 y(the)i(second)g(sym)o(b)q(ol.)30 +b(T)m(o)18 b(imp)q(ort)e(a)j(sym)o(b)q(ol)d(without)i(the)h(p)q +(ossibilit)o(y)e(of)h(getting)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 271 295 +271 294 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(P)m(A)o(CKA)o(GES)1143 +b(271)0 295 y Fw(an)19 b(error)g(b)q(ecause)i(of)d(shado)o(wing,)h(use) +g(the)h(function)e Fs(shadowing-import)p Fw(.)30 b(This)0 +347 y(inserts)13 b(the)f(sym)o(b)q(ol)e(in)o(to)h(the)i(sp)q(eci\014ed) +g(pac)o(k)n(age)f(as)g(an)f(in)o(ternal)h(sym)o(b)q(ol,)e(regardless)0 +399 y(of)i(whether)h(another)g(sym)o(b)q(ol)d(of)i(the)g(same)g(name)f +(will)f(b)q(e)j(shado)o(w)o(ed)f(b)o(y)g(this)h(action.)0 +450 y(If)f(a)h(di\013eren)o(t)h(sym)o(b)q(ol)d(of)h(the)h(same)f(name)f +(is)i(already)g(presen)o(t)h(in)e(the)i(pac)o(k)n(age,)e(that)0 +502 y(sym)o(b)q(ol)j(will)g(\014rst)j(b)q(e)g(unin)o(terned)f(from)e +(the)j(pac)o(k)n(age)e(\(see)j Fs(unintern)p Fw(\).)25 +b(The)17 b(new)0 554 y(sym)o(b)q(ol)11 b(is)h(added)h(to)f(the)h(pac)o +(k)n(age's)f(shado)o(wing-sym)o(b)q(ols)e(list.)17 b +Fs(shadowing-import)0 606 y Fw(should)f(b)q(e)h(used)g(with)f(caution.) +25 b(It)17 b(c)o(hanges)g(the)f(state)i(of)d(the)i(pac)o(k)n(age)f +(system)g(in)0 658 y(suc)o(h)f(a)e(w)o(a)o(y)g(that)h(the)h +(consistency)g(rules)g(do)e(not)h(hold)f(across)i(the)g(c)o(hange.)42 +712 y(The)20 b(second)h(mec)o(hanism)c(is)j(pro)o(vided)g(b)o(y)f(the)i +(function)e Fs(use-package)p Fw(.)34 b(This)0 764 y(causes)14 +b(a)f(pac)o(k)n(age)f(to)h(inherit)g(all)e(of)i(the)g(external)g(sym)o +(b)q(ols)f(of)g(some)g(other)i(pac)o(k)n(age.)0 816 y(These)19 +b(sym)o(b)q(ols)d(b)q(ecome)h(accessible)i(as)e Fv(internal)g +Fw(sym)o(b)q(ols)f(of)h(the)h(using)g(pac)o(k)n(age.)0 +868 y(That)i(is,)i(they)f(can)f(b)q(e)h(referred)h(to)f(without)f(a)g +(quali\014er)g(while)f(this)i(pac)o(k)n(age)f(is)0 919 +y(curren)o(t,)f(but)f(they)g(are)g(not)f(passed)h(along)e(to)i(an)o(y)f +(other)h(pac)o(k)n(age)f(that)g(uses)i(this)0 971 y(pac)o(k)n(age.)33 +b(Note)19 b(that)g Fs(use-package)p Fw(,)e(unlik)o(e)h +Fs(import)p Fw(,)h(do)q(es)g(not)g(cause)h(an)o(y)e(new)0 +1023 y(sym)o(b)q(ols)d(to)i(b)q(e)g Fv(pr)n(esent)g Fw(in)f(the)h +(curren)o(t)h(pac)o(k)n(age)f(but)g(only)f(mak)o(es)f(them)h +Fv(ac)n(c)n(essi-)0 1075 y(ble)f Fw(b)o(y)f(inheritance.)22 +b Fs(use-package)13 b Fw(c)o(hec)o(ks)j(carefully)e(for)h(name)f +(con\015icts)h(b)q(et)o(w)o(een)0 1127 y(the)k(newly)f(imp)q(orted)g +(sym)o(b)q(ols)f(and)h(those)h(already)f(accessible)i(in)e(the)h(imp)q +(orting)0 1179 y(pac)o(k)n(age.)f(This)13 b(is)h(describ)q(ed)i(in)d +(detail)h(in)f(section)i(11.5.)42 1233 y(T)o(ypically)8 +b(a)i(user,)i(w)o(orking)d(b)o(y)h(default)g(in)g(the)h +Fs(user)e Fw(pac)o(k)n(age,)h(will)f(load)g(a)h(n)o(um)o(b)q(er)0 +1285 y(of)g(pac)o(k)n(ages)h(in)o(to)f(Lisp)g(to)h(pro)o(vide)g(an)f +(augmen)o(ted)g(w)o(orking)g(en)o(vironmen)o(t,)f(and)i(then)0 +1337 y(call)f Fs(use-package)f Fw(on)i(eac)o(h)g(of)g(these)h(pac)o(k)n +(ages)f(to)g(allo)o(w)e(easy)j(access)g(to)f(their)h(exter-)0 +1389 y(nal)j(sym)o(b)q(ols.)21 b Fs(unuse-package)13 +b Fw(undo)q(es)k(the)f(e\013ects)h(of)e(a)h(previous)g +Fs(use-package)p Fw(.)0 1440 y(The)f(external)h(sym)o(b)q(ols)d(of)i +(the)g(used)h(pac)o(k)n(age)f(are)g(no)g(longer)g(inherited.)22 +b(Ho)o(w)o(ev)o(er,)0 1492 y(an)o(y)15 b(sym)o(b)q(ols)f(that)h(ha)o(v) +o(e)g(b)q(een)i(imp)q(orted)d(in)o(to)h(the)g(using)h(pac)o(k)n(age)e +(con)o(tin)o(ue)i(to)f(b)q(e)0 1544 y(presen)o(t)g(in)f(that)g(pac)o(k) +n(age.)42 1598 y(There)f(is)f(no)g(w)o(a)o(y)g(to)g(inherit)h(the)g +Fv(internal)f Fw(sym)o(b)q(ols)f(of)h(another)g(pac)o(k)n(age;)g(to)h +(refer)0 1650 y(to)f(an)g(in)o(ternal)g(sym)o(b)q(ol,)e(the)j(user)g(m) +o(ust)e(either)i(mak)o(e)e(that)h(sym)o(b)q(ol's)e(home)h(pac)o(k)n +(age)0 1702 y(curren)o(t,)k(use)g(a)e(quali\014er,)g(or)h(imp)q(ort)e +(that)i(sym)o(b)q(ol)e(in)o(to)h(the)i(curren)o(t)g(pac)o(k)n(age.)42 +1756 y(The)f(distinction)g(b)q(et)o(w)o(een)h(external)g(and)e(in)o +(ternal)h(sym)o(b)q(ols)f(is)g(a)h(primary)f(means)-33 +1728 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1808 a(of)18 b(hiding)g(names)g(so)h(that)g(one)g +(program)e(do)q(es)i(not)g(tread)h(on)e(the)i(namespace)e(of)0 +1860 y(another.)-33 1871 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1914 a(When)13 b Fs(intern)f Fw(or)h(some)f(other)i +(function)e(w)o(an)o(ts)h(to)g(lo)q(ok)g(up)g(a)g(sym)o(b)q(ol)e(in)h +(a)h(giv)o(en)0 1966 y(pac)o(k)n(age,)e(it)h(\014rst)g(lo)q(oks)f(for)g +(the)i(sym)o(b)q(ol)c(among)h(the)i(external)g(and)g(in)o(ternal)f(sym) +o(b)q(ols)0 2017 y(of)k(the)h(pac)o(k)n(age)f(itself;)g(then)h(it)f(lo) +q(oks)g(through)g(the)h(external)g(sym)o(b)q(ols)e(of)h(the)h(used)0 +2069 y(pac)o(k)n(ages)e(in)f(some)g(unsp)q(eci\014ed)j(order.)j(The)14 +b(order)h(do)q(es)f(not)g(matter;)f(according)h(to)0 +2121 y(the)e(rules)f(for)g(handling)e(name)h(con\015icts)i(\(see)g(b)q +(elo)o(w\),)f(if)f(con\015icting)h(sym)o(b)q(ols)e(app)q(ear)0 +2173 y(in)k(t)o(w)o(o)g(or)g(more)g(pac)o(k)n(ages)g(inherited)h(b)o(y) +f(pac)o(k)n(age)h Fv(X)p Fw(,)e(a)i(sym)o(b)q(ol)d(of)i(this)g(name)g +(m)o(ust)0 2225 y(also)j(app)q(ear)h(in)g Fv(X)f Fw(itself)h(as)g(a)f +(shado)o(wing)g(sym)o(b)q(ol.)25 b(Of)17 b(course,)h(implemen)o(tatio)o +(ns)0 2277 y(are)e(free)h(to)e(c)o(ho)q(ose)i(other,)f(more)f +(e\016cien)o(t)h(w)o(a)o(ys)g(of)f(implem)o(en)o(ting)e(this)j(searc)o +(h,)h(as)0 2329 y(long)c(as)h(the)g(user-visible)h(b)q(eha)o(vior)e(is) +h(equiv)n(alen)o(t)f(to)h(what)g(is)f(describ)q(ed)j(here.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 272 296 +272 295 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(272)77 b(COMMON)13 +b(LISP)42 295 y Fw(The)19 b(function)f Fs(export)f Fw(tak)o(es)j(a)e +(sym)o(b)q(ol)f(that)i(is)f(accessible)i(in)e(some)g(sp)q(eci\014ed)0 +347 y(pac)o(k)n(age)c(\(directly)g(or)g(b)o(y)g(inheritance\))h(and)f +(mak)o(es)f(it)h(an)g(external)h(sym)o(b)q(ol)d(of)i(that)0 +399 y(pac)o(k)n(age.)34 b(If)19 b(the)h(sym)o(b)q(ol)d(is)j(already)f +(accessible)h(as)g(an)f(external)h(sym)o(b)q(ol)d(in)i(the)0 +450 y(pac)o(k)n(age,)11 b Fs(export)g Fw(has)h(no)f(e\013ect.)19 +b(If)11 b(the)i(sym)o(b)q(ol)d(is)h(directly)h(presen)o(t)i(in)d(the)h +(pac)o(k)n(age)0 502 y(as)f(an)f(in)o(ternal)g(sym)o(b)q(ol,)f(it)h(is) +g(simply)e(c)o(hanged)j(to)f(external)h(status.)18 b(If)10 +b(it)g(is)g(accessible)0 554 y(as)k(an)f(in)o(ternal)g(sym)o(b)q(ol)f +(via)g Fs(use-package)p Fw(,)f(the)j(sym)o(b)q(ol)e(is)h(\014rst)i(imp) +q(orted)d(in)o(to)h(the)0 606 y(pac)o(k)n(age,)f(then)i(exp)q(orted.)19 +b(\(The)14 b(sym)o(b)q(ol)d(is)i(then)h(presen)o(t)h(in)e(the)g(sp)q +(eci\014ed)i(pac)o(k)n(age)0 658 y(whether)i(or)f(not)f(the)h(pac)o(k)n +(age)f(con)o(tin)o(ues)i(to)e(use)i(the)f(pac)o(k)n(age)f(through)h +(whic)o(h)f(the)0 710 y(sym)o(b)q(ol)e(w)o(as)h(originally)e +(inherited.\))21 b(If)14 b(the)h(sym)o(b)q(ol)e(is)h(not)h(accessible)g +(at)g(all)e(in)h(the)0 762 y(sp)q(eci\014ed)j(pac)o(k)n(age,)e(a)g +(correctable)h(error)h(is)e(signaled)g(that,)g(up)q(on)g(con)o(tin)o +(uing,)f(asks)0 814 y(the)g(user)h(whether)h(the)e(sym)o(b)q(ol)e +(should)i(b)q(e)g(imp)q(orted.)42 866 y(The)e(function)g +Fs(unexport)e Fw(is)i(pro)o(vided)g(mainly)d(as)j(a)g(w)o(a)o(y)f(to)h +(undo)g(erroneous)h(calls)0 918 y(to)h Fs(export)p Fw(.)j(It)d(w)o +(orks)g(only)f(on)h(sym)o(b)q(ols)e(directly)i(presen)o(t)i(in)e(the)g +(curren)o(t)i(pac)o(k)n(age,)0 970 y(switc)o(hing)11 +b(them)g(bac)o(k)h(to)g(in)o(ternal)f(status.)18 b(If)12 +b Fs(unexport)e Fw(is)h(giv)o(en)h(a)f(sym)o(b)q(ol)f(already)0 +1022 y(accessible)16 b(as)e(an)h(in)o(ternal)f(sym)o(b)q(ol)e(in)j(the) +g(curren)o(t)h(pac)o(k)n(age,)d(it)i(do)q(es)g(nothing;)e(if)h(it)0 +1074 y(is)g(giv)o(en)f(a)h(sym)o(b)q(ol)e(not)i(accessible)h(in)e(the)i +(pac)o(k)n(age)e(at)h(all,)e(it)i(signals)f(an)h(error.)0 +1249 y Fo(11.5.)20 b(Name)14 b(Con\015icts)0 1342 y Fw(A)d(fundamen)o +(tal)f(in)o(v)n(arian)o(t)f(of)i(the)h(pac)o(k)n(age)f(system)g(is)g +(that)g(within)g(one)g(pac)o(k)n(age)g(an)o(y)0 1394 +y(particular)k(name)e(can)i(refer)h(to)f(at)g(most)f(one)h(sym)o(b)q +(ol.)k(A)c Fv(name)h(c)n(on\015ict)g Fw(is)e(said)h(to)0 +1446 y(o)q(ccur)j(when)g(there)h(is)e(more)f(than)i(one)f(candidate)h +(sym)o(b)q(ol)d(and)i(it)g(is)g(not)g(ob)o(vious)0 1498 +y(whic)o(h)c(one)h(to)f(c)o(ho)q(ose.)19 b(If)13 b(the)h(system)f(do)q +(es)h(not)f(alw)o(a)o(ys)g(c)o(ho)q(ose)h(the)g(same)e(w)o(a)o(y)m(,)g +(the)0 1550 y(read-read)18 b(consistency)g(rule)g(w)o(ould)e(b)q(e)i +(violated.)26 b(F)m(or)17 b(example,)f(some)g(programs)0 +1602 y(or)j(data)f(migh)o(t)f(ha)o(v)o(e)h(b)q(een)i(read)g(in)e(under) +h(a)g(certain)g(mapping)e(of)h(the)h(name)f(to)0 1654 +y(a)f(sym)o(b)q(ol.)28 b(If)17 b(the)h(mapping)d(c)o(hanges)k(to)e(a)g +(di\013eren)o(t)i(sym)o(b)q(ol,)d(and)i(subsequen)o(tly)0 +1705 y(additional)13 b(programs)g(or)i(data)f(are)h(read,)g(then)g(the) +h(t)o(w)o(o)e(programs)f(will)g(not)i(access)0 1757 y(the)d(same)e(sym) +o(b)q(ol)g(ev)o(en)i(though)f(they)h(use)g(the)g(same)e(name.)16 +b(Ev)o(en)c(if)e(the)i(system)f(did)0 1809 y(alw)o(a)o(ys)j(c)o(ho)q +(ose)i(the)f(same)f(w)o(a)o(y)m(,)g(a)g(name)g(con\015ict)h(is)g(lik)o +(ely)e(to)i(result)h(in)e(a)h(mapping)0 1861 y(from)10 +b(names)i(to)g(sym)o(b)q(ols)e(di\013eren)o(t)j(from)e(what)h(w)o(as)g +(exp)q(ected)i(b)o(y)e(the)h(user,)g(causing)0 1913 y(programs)e(to)h +(execute)i(incorrectly)m(.)k(Therefore,)13 b(an)o(y)f(time)f(a)h(name)f +(con\015ict)i(is)f(ab)q(out)0 1965 y(to)i(o)q(ccur,)h(an)f(error)h(is)f +(signaled.)k(The)d(user)g(ma)o(y)d(con)o(tin)o(ue)j(from)d(the)j(error) +g(and)f(tell)0 2017 y(the)g(pac)o(k)n(age)g(system)g(ho)o(w)f(to)h +(resolv)o(e)g(the)h(con\015ict.)42 2069 y(It)h(ma)o(y)f(b)q(e)j(that)f +(the)g(same)f(sym)o(b)q(ol)f(is)i(accessible)h(to)f(a)f(pac)o(k)n(age)h +(through)g(more)0 2121 y(than)i(one)h(path.)34 b(F)m(or)19 +b(example,)g(the)h(sym)o(b)q(ol)e(migh)o(t)f(b)q(e)j(an)f(external)h +(sym)o(b)q(ol)d(of)0 2173 y(more)g(than)h(one)g(used)h(pac)o(k)n(age,)f +(or)f(the)i(sym)o(b)q(ol)d(migh)o(t)g(b)q(e)i(directly)g(presen)o(t)i +(in)d(a)0 2225 y(pac)o(k)n(age)f(and)h(also)f(inherited)h(from)e +(another)i(pac)o(k)n(age.)26 b(In)16 b(suc)o(h)i(cases)g(there)f(is)g +(no)0 2277 y(name)e(con\015ict.)24 b(The)16 b(same)f(iden)o(tical)g +(sym)o(b)q(ol)f(cannot)i(con\015ict)g(with)f(itself.)24 +b(Name)0 2329 y(con\015icts)15 b(o)q(ccur)g(only)e(b)q(et)o(w)o(een)i +(distinct)f(sym)o(b)q(ols)f(with)g(the)i(same)e(name.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 273 297 +273 296 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(P)m(A)o(CKA)o(GES)1143 +b(273)42 295 y Fw(The)19 b(creator)h(of)f(a)f(pac)o(k)n(age)h(can)g +(tell)g(the)h(system)f(in)f(adv)n(ance)i(ho)o(w)e(to)h(resolv)o(e)0 +347 y(a)e(name)g(con\015ict)h(through)g(the)g(use)g(of)f +Fv(shadowing)p Fw(.)30 b(Ev)o(ery)19 b(pac)o(k)n(age)e(has)h(a)f(list)g +(of)0 399 y(shado)o(wing)h(sym)o(b)q(ols.)30 b(A)19 b(shado)o(wing)e +(sym)o(b)q(ol)g(tak)o(es)i(precedence)j(o)o(v)o(er)c(an)o(y)g(other)0 +450 y(sym)o(b)q(ol)12 b(of)i(the)h(same)f(name)f(that)h(w)o(ould)g +(otherwise)h(b)q(e)g(accessible)g(to)g(the)g(pac)o(k)n(age.)0 +502 y(A)g(name)g(con\015ict)g(in)o(v)o(olving)e(a)j(shado)o(wing)e(sym) +o(b)q(ol)g(is)h(alw)o(a)o(ys)f(resolv)o(ed)i(in)f(fa)o(v)o(or)f(of)0 +554 y(the)19 b(shado)o(wing)f(sym)o(b)q(ol,)f(without)h(signaling)f(an) +h(error)h(\(except)h(for)e(one)h(instance)0 606 y(in)o(v)o(olving)c +Fs(import)g Fw(describ)q(ed)k(b)q(elo)o(w\).)28 b(The)17 +b(functions)g Fs(shadow)f Fw(and)h Fs(shadowing-)0 658 +y(import)c Fw(ma)o(y)f(b)q(e)i(used)h(to)f(declare)g(shado)o(wing)f +(sym)o(b)q(ols.)42 712 y(Name)g(con\015icts)j(are)f(detected)i(when)e +(they)g(b)q(ecome)g(p)q(ossible,)g(that)f(is,)h(when)g(the)0 +764 y(pac)o(k)n(age)j(structure)j(is)d(altered.)33 b(There)19 +b(is)g(no)f(need)i(to)e(c)o(hec)o(k)h(for)g(name)e(con\015icts)0 +816 y(during)d(ev)o(ery)g(name)f(lo)q(okup.)42 870 y(The)g(functions)h +Fs(use-package)p Fw(,)d Fs(import)p Fw(,)h(and)h Fs(export)f +Fw(c)o(hec)o(k)j(for)e(name)f(con\015icts.)0 922 y Fs(use-package)d +Fw(mak)o(es)h(the)i(external)f(sym)o(b)q(ols)f(of)h(the)g(pac)o(k)n +(age)g(b)q(eing)g(used)h(accessible)0 973 y(to)g(the)h(using)g(pac)o(k) +n(age;)f(eac)o(h)h(of)e(these)j(sym)o(b)q(ols)d(is)i(c)o(hec)o(k)o(ed)g +(for)g(name)e(con\015icts)i(with)0 1025 y(the)e(sym)o(b)q(ols)d +(already)i(accessible.)18 b Fs(import)8 b Fw(adds)j(a)e(single)h(sym)o +(b)q(ol)e(to)i(the)g(in)o(ternals)g(of)0 1077 y(a)i(pac)o(k)n(age,)f(c) +o(hec)o(king)h(for)g(a)f(name)g(con\015ict)h(with)g(an)g(existing)f +(sym)o(b)q(ol)f(either)j(presen)o(t)0 1129 y(in)f(the)h(pac)o(k)n(age)g +(or)f(accessible)i(to)f(it.)k Fs(import)12 b Fw(signals)g(a)g(name)g +(con\015ict)h(error)g(ev)o(en)h(if)0 1181 y(the)f(con\015ict)h(is)e +(with)h(a)f(shado)o(wing)g(sym)o(b)q(ol,)f(the)i(rationale)f(b)q(eing)h +(that)f(the)i(user)g(has)0 1233 y(giv)o(en)g(t)o(w)o(o)g(explicit)f +(and)h(inconsisten)o(t)h(directiv)o(es.)21 b Fs(export)13 +b Fw(mak)o(es)g(a)h(single)g(sym)o(b)q(ol)0 1285 y(accessible)20 +b(to)e(all)f(the)i(pac)o(k)n(ages)f(that)g(use)h(the)g(pac)o(k)n(age)f +(from)f(whic)o(h)h(the)h(sym)o(b)q(ol)0 1337 y(is)14 +b(exp)q(orted.)21 b(All)14 b(of)f(these)j(pac)o(k)n(ages)f(are)f(c)o +(hec)o(k)o(ed)i(for)e(name)f(con\015icts:)20 b Fs(\(export)g +Fv(s)0 1389 y(p)p Fs(\))11 b Fw(do)q(es)g Fs(\(find-symbol)19 +b(\(symbol-name)g Fv(s)p Fs(\))i Fv(q)p Fs(\))10 b Fw(for)h(eac)o(h)g +(pac)o(k)n(age)f Fv(q)h Fw(in)g Fs(\(package-)0 1440 +y(used-by-list)19 b Fv(p)p Fs(\))p Fw(.)e(Note)12 b(that)g(in)f(the)h +(usual)f(case)i(of)e(an)g Fs(export)f Fw(during)i(the)g(initial)0 +1492 y(de\014nition)h(of)g(a)h(pac)o(k)n(age,)e(the)j(result)f(of)f +Fs(package-used-by-li)o(st)e Fw(will)h(b)q(e)i Fs(nil)f +Fw(and)0 1544 y(the)h(name-con\015ict)f(c)o(hec)o(king)i(will)d(tak)o +(e)i(negligible)f(time.)42 1598 y(The)k(function)g Fs(intern)p +Fw(,)g(whic)o(h)g(is)g(the)h(one)g(used)g(most)e(frequen)o(tly)i(b)o(y) +f(the)h(Lisp)0 1650 y(reader)12 b(for)f(lo)q(oking)e(up)i(names)f(of)g +(sym)o(b)q(ols,)g(do)q(es)h(not)g(need)h(to)f(do)f(an)o(y)h +(name-con\015ict)0 1702 y(c)o(hec)o(king,)f(b)q(ecause)i(it)d(nev)o(er) +i(creates)g(a)e(new)h(sym)o(b)q(ol)e(if)h(there)i(is)f(already)f(an)g +(accessible)0 1754 y(sym)o(b)q(ol)j(with)i(the)g(name)f(giv)o(en.)42 +1808 y Fs(shadow)g Fw(and)h Fs(shadowing-import)d Fw(nev)o(er)k(signal) +f(a)g(name-con\015ict)g(error)h(b)q(ecause)0 1860 y(the)j(user,)i(b)o +(y)d(calling)f(these)j(functions,)g(has)f(sp)q(eci\014ed)h(ho)o(w)e(an) +o(y)g(p)q(ossible)h(con\015ict)0 1912 y(is)f(to)f(b)q(e)i(resolv)o(ed.) +28 b Fs(shadow)15 b Fw(do)q(es)j(name-con\015ict)e(c)o(hec)o(king)h(to) +g(the)g(exten)o(t)h(that)f(it)0 1963 y(c)o(hec)o(ks)12 +b(whether)h(a)d(distinct)h(existing)g(sym)o(b)q(ol)e(with)i(the)g(sp)q +(eci\014ed)i(name)d(is)g(accessible)0 2015 y(and,)16 +b(if)f(so,)i(whether)g(it)f(is)g(directly)g(presen)o(t)i(in)e(the)h +(pac)o(k)n(age)e(or)i(inherited.)25 b(In)16 b(the)0 2067 +y(latter)h(case,)h(a)e(new)h(sym)o(b)q(ol)e(is)h(created)i(to)f(shado)o +(w)f(it.)26 b Fs(shadowing-import)13 b Fw(do)q(es)0 2119 +y(name-con\015ict)e(c)o(hec)o(king)h(to)g(the)h(exten)o(t)g(that)f(it)f +(c)o(hec)o(ks)j(whether)f(a)f(distinct)g(existing)0 2171 +y(sym)o(b)q(ol)k(with)i(the)g(same)f(name)g(is)h(accessible;)j(if)c +(so,)i(it)e(is)h(shado)o(w)o(ed)g(b)o(y)g(the)g(new)0 +2223 y(sym)o(b)q(ol,)11 b(whic)o(h)i(implies)f(that)h(it)g(m)o(ust)f(b) +q(e)i(unin)o(terned)g(if)f(it)g(w)o(as)g(directly)g(presen)o(t)i(in)0 +2275 y(the)f(pac)o(k)n(age.)42 2329 y Fs(unuse-package)p +Fw(,)h Fs(unexport)p Fw(,)h(and)i Fs(unintern)d Fw(\(when)k(the)f(sym)o +(b)q(ol)e(b)q(eing)h(unin-)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 274 298 +274 297 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(274)77 b(COMMON)13 +b(LISP)0 295 y Fw(terned)g(is)f(not)f(a)h(shado)o(wing)f(sym)o(b)q +(ol\))f(do)h(not)h(need)h(to)e(do)h(an)o(y)f(name-con\015ict)g(c)o(hec) +o(k-)0 347 y(ing)h(b)q(ecause)j(they)f(only)e(remo)o(v)o(e)g(sym)o(b)q +(ols)g(from)g(a)g(pac)o(k)n(age;)h(they)h(do)f(not)g(mak)o(e)e(an)o(y)0 +399 y(new)j(sym)o(b)q(ols)f(accessible.)42 452 y(Giving)f(a)i(shado)o +(wing)f(sym)o(b)q(ol)g(to)h Fs(unintern)f Fw(can)h(unco)o(v)o(er)h(a)f +(name)f(con\015ict)i(that)0 504 y(had)d(previously)g(b)q(een)h(resolv)o +(ed)g(b)o(y)f(the)h(shado)o(wing.)k(If)12 b(pac)o(k)n(age)f(A)i(uses)g +(pac)o(k)n(ages)f(B)0 556 y(and)h(C,)g(A)g(con)o(tains)g(a)g(shado)o +(wing)f(sym)o(b)q(ol)g Fs(x)p Fw(,)g(and)h(B)h(and)f(C)g(eac)o(h)g(con) +o(tain)g(external)0 608 y(sym)o(b)q(ols)g(named)g Fs(x)p +Fw(,)g(then)i(remo)o(ving)d(the)i(shado)o(wing)g(sym)o(b)q(ol)e +Fs(x)i Fw(from)e(A)i(will)f(rev)o(eal)0 659 y(a)k(name)f(con\015ict)h +(b)q(et)o(w)o(een)i Fs(b:x)d Fw(and)h Fs(c:x)f Fw(if)g(those)i(t)o(w)o +(o)f(sym)o(b)q(ols)e(are)j(distinct.)28 b(In)0 711 y(this)14 +b(case)h Fs(unintern)d Fw(will)g(signal)h(an)h(error.)42 +765 y(Ab)q(orting)h(from)f(a)i(name-con\015ict)f(error)h(lea)o(v)o(es)g +(the)h(original)d(sym)o(b)q(ol)g(accessible.)0 817 y(P)o(ac)o(k)n(age)9 +b(functions)h(alw)o(a)o(ys)e(signal)g(name-con\015ict)h(errors)h(b)q +(efore)h(making)6 b(an)o(y)j(c)o(hange)0 868 y(to)16 +b(the)h(pac)o(k)n(age)f(structure.)27 b(When)16 b(m)o(ultiple)e(c)o +(hanges)j(are)g(to)f(b)q(e)h(made,)e(ho)o(w)o(ev)o(er,)0 +920 y(for)g(example)f(when)i Fs(export)f Fw(is)g(giv)o(en)g(a)g(list)h +(of)e(sym)o(b)q(ols,)g(it)i(is)f(p)q(ermissible)g(for)g(the)0 +972 y(implemen)o(tatio)o(n)g(to)j(pro)q(cess)h(eac)o(h)g(c)o(hange)f +(separately)m(,)g(so)g(that)g(ab)q(orting)f(from)f(a)0 +1024 y(name)e(con\015ict)i(caused)h(b)o(y)f(the)g(second)h(sym)o(b)q +(ol)c(in)j(the)g(list)f(will)f(not)i(unexp)q(ort)g(the)0 +1076 y(\014rst)f(sym)o(b)q(ol)d(in)i(the)h(list.)k(Ho)o(w)o(ev)o(er,)14 +b(ab)q(orting)g(from)e(a)i(name-con\015ict)f(error)j(caused)0 +1128 y(b)o(y)h Fs(export)e Fw(of)h(a)h(single)f(sym)o(b)q(ol)f(will)h +(not)g(lea)o(v)o(e)h(that)g(sym)o(b)q(ol)e(accessible)j(to)f(some)0 +1180 y(pac)o(k)n(ages)f(and)h(inaccessible)g(to)g(others;)h(with)e +(resp)q(ect)j(to)d(eac)o(h)h(sym)o(b)q(ol)e(pro)q(cessed,)0 +1232 y Fs(export)e Fw(b)q(eha)o(v)o(es)h(as)g(if)f(it)h(w)o(ere)h(an)e +(atomic)f(op)q(eration.)42 1285 y(Con)o(tin)o(uing)17 +b(from)h(a)g(name-con\015ict)g(error)j(should)d(o\013er)i(the)g(user)g +(a)f(c)o(hance)h(to)0 1337 y(resolv)o(e)e(the)g(name)e(con\015ict)h(in) +g(fa)o(v)o(or)f(of)h(either)h(of)f(the)h(candidates.)28 +b(The)18 b(pac)o(k)n(age)0 1389 y(structure)f(should)e(b)q(e)g(altered) +g(to)g(re\015ect)h(the)g(resolution)e(of)h(the)g(name)f(con\015ict,)h +(via)0 1441 y Fs(shadowing-import)p Fw(,)10 b Fs(unintern)p +Fw(,)i(or)i Fs(unexport)p Fw(.)42 1494 y(A)h(name)e(con\015ict)j(in)e +Fs(use-package)f Fw(b)q(et)o(w)o(een)j(a)f(sym)o(b)q(ol)e(directly)i +(presen)o(t)i(in)d(the)0 1546 y(using)e(pac)o(k)n(age)g(and)h(an)f +(external)h(sym)o(b)q(ol)e(of)h(the)h(used)g(pac)o(k)n(age)f(ma)o(y)f +(b)q(e)i(resolv)o(ed)g(in)0 1598 y(fa)o(v)o(or)g(of)g(the)i(\014rst)f +(sym)o(b)q(ol)f(b)o(y)g(making)f(it)h(a)h(shado)o(wing)f(sym)o(b)q(ol,) +f(or)h(in)h(fa)o(v)o(or)f(of)g(the)0 1650 y(second)j(sym)o(b)q(ol)e(b)o +(y)h(unin)o(terning)g(the)h(\014rst)g(sym)o(b)q(ol)e(from)f(the)j +(using)f(pac)o(k)n(age.)22 b(The)0 1702 y(latter)17 b(resolution)g(is)g +(dangerous)h(if)e(the)i(sym)o(b)q(ol)d(to)i(b)q(e)g(unin)o(terned)h(is) +f(an)g(external)0 1754 y(sym)o(b)q(ol)12 b(of)h(the)i(using)e(pac)o(k)n +(age,)g(since)i(it)f(will)e(cease)j(to)f(b)q(e)h(an)e(external)i(sym)o +(b)q(ol.)42 1807 y(A)i(name)f(con\015ict)i(in)f Fs(use-package)e +Fw(b)q(et)o(w)o(een)k(t)o(w)o(o)d(external)i(sym)o(b)q(ols)e(inherited) +0 1859 y(b)o(y)f(the)h(using)e(pac)o(k)n(age)h(from)e(other)j(pac)o(k)n +(ages)f(ma)o(y)e(b)q(e)j(resolv)o(ed)g(in)e(fa)o(v)o(or)g(of)h(either)0 +1911 y(sym)o(b)q(ol)h(b)o(y)i(imp)q(orting)e(it)i(in)o(to)f(the)i +(using)f(pac)o(k)n(age)f(and)h(making)e(it)i(a)g(shado)o(wing)0 +1963 y(sym)o(b)q(ol.)42 2016 y(A)10 b(name)f(con\015ict)i(in)f +Fs(export)f Fw(b)q(et)o(w)o(een)i(the)g(sym)o(b)q(ol)e(b)q(eing)h(exp)q +(orted)h(and)g(a)f(sym)o(b)q(ol)0 2068 y(already)16 b(presen)o(t)i(in)f +(a)f(pac)o(k)n(age)g(that)h(w)o(ould)f(inherit)g(the)h(newly)g(exp)q +(orted)h(sym)o(b)q(ol)0 2120 y(ma)o(y)10 b(b)q(e)i(resolv)o(ed)g(in)f +(fa)o(v)o(or)f(of)h(the)h(exp)q(orted)h(sym)o(b)q(ol)c(b)o(y)j(unin)o +(terning)f(the)h(other)g(one,)0 2172 y(or)i(in)f(fa)o(v)o(or)g(of)g +(the)i(already-presen)o(t)g(sym)o(b)q(ol)d(b)o(y)i(making)d(it)j(a)f +(shado)o(wing)g(sym)o(b)q(ol.)42 2225 y(A)k(name)g(con\015ict)i(in)e +Fs(export)g Fw(or)g Fs(unintern)g Fw(due)h(to)g(a)f(pac)o(k)n(age)h +(inheriting)f(t)o(w)o(o)0 2277 y(distinct)11 b(sym)o(b)q(ols)d(with)i +(the)h(same)f(name)f(from)g(t)o(w)o(o)g(other)i(pac)o(k)n(ages)g(ma)o +(y)d(b)q(e)j(resolv)o(ed)0 2329 y(in)j(fa)o(v)o(or)g(of)g(either)i(sym) +o(b)q(ol)d(b)o(y)h(imp)q(orting)f(it)h(in)o(to)g(the)i(using)e(pac)o(k) +n(age)h(and)f(making)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 275 299 +275 298 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(P)m(A)o(CKA)o(GES)1143 +b(275)0 295 y Fw(it)14 b(a)f(shado)o(wing)g(sym)o(b)q(ol,)f(just)i(as)g +(with)f Fs(use-package)p Fw(.)42 347 y(A)c(name)g(con\015ict)h(in)g +Fs(import)e Fw(b)q(et)o(w)o(een)j(the)g(sym)o(b)q(ol)d(b)q(eing)i(imp)q +(orted)e(and)i(a)g(sym)o(b)q(ol)0 399 y(inherited)18 +b(from)f(some)g(other)h(pac)o(k)n(age)g(ma)o(y)e(b)q(e)j(resolv)o(ed)f +(in)g(fa)o(v)o(or)f(of)g(the)i(sym)o(b)q(ol)0 451 y(b)q(eing)c(imp)q +(orted)f(b)o(y)h(making)e(it)i(a)g(shado)o(wing)f(sym)o(b)q(ol,)g(or)h +(in)g(fa)o(v)o(or)f(of)h(the)h(sym)o(b)q(ol)0 503 y(already)e +(accessible)i(b)o(y)f(not)f(doing)g(the)h Fs(import)p +Fw(.)k(A)14 b(name)g(con\015ict)h(in)f Fs(import)f Fw(with)0 +555 y(a)g(sym)o(b)q(ol)e(already)i(presen)o(t)h(in)f(the)h(pac)o(k)n +(age)e(ma)o(y)g(b)q(e)h(resolv)o(ed)h(b)o(y)f(unin)o(terning)g(that)0 +606 y(sym)o(b)q(ol,)f(or)h(b)o(y)h(not)g(doing)f(the)h +Fs(import)p Fw(.)42 659 y(Go)q(o)q(d)k(user-in)o(terface)j(st)o(yle)f +(dictates)h(that)e Fs(use-package)e Fw(and)j Fs(export)p +Fw(,)f(whic)o(h)0 711 y(can)14 b(cause)h(man)o(y)d(name)g(con\015icts)j +(sim)o(ultaneously)m(,)10 b(\014rst)15 b(c)o(hec)o(k)g(for)e(all)f(of)i +(the)g(name)0 763 y(con\015icts)f(b)q(efore)f(presen)o(ting)h(an)o(y)e +(of)h(them)f(to)g(the)i(user.)18 b(The)13 b(user)g(ma)o(y)c(then)k(c)o +(ho)q(ose)0 814 y(to)j(resolv)o(e)h(all)e(of)h(them)g(wholesale)g(or)g +(to)g(resolv)o(e)h(eac)o(h)g(of)f(them)g(individually)m(,)d(the)0 +866 y(latter)19 b(requiring)f(a)g(lot)g(of)g(in)o(teraction)g(but)h(p)q +(ermitting)e(di\013eren)o(t)j(con\015icts)f(to)f(b)q(e)0 +918 y(resolv)o(ed)c(di\013eren)o(t)h(w)o(a)o(ys.)42 971 +y(Implemen)o(tatio)o(ns)e(ma)o(y)g(o\013er)i(other)g(w)o(a)o(ys)g(of)f +(resolving)h(name)e(con\015icts.)22 b(F)m(or)14 b(in-)0 +1022 y(stance,)20 b(if)d(the)i(sym)o(b)q(ols)e(that)h(con\015ict)h(are) +f(not)g(b)q(eing)g(used)i(as)e(ob)r(jects)h(but)g(only)0 +1074 y(as)f(names)f(for)g(functions,)i(it)e(ma)o(y)f(b)q(e)i(p)q +(ossible)g(to)g(\\merge")f(the)h(t)o(w)o(o)g(sym)o(b)q(ols)e(b)o(y)0 +1126 y(putting)e(the)g(function)g(de\014nition)g(on)o(to)g(b)q(oth)g +(sym)o(b)q(ols.)j(References)f(to)e(either)h(sym-)0 1178 +y(b)q(ol)e(for)g(purp)q(oses)i(of)e(calling)f(a)h(function)g(w)o(ould)g +(b)q(e)h(equiv)n(alen)o(t.)j(A)c(similar)e(merging)0 +1230 y(op)q(eration)k(can)g(b)q(e)h(done)f(for)g(v)n(ariable)e(v)n +(alues)i(and)g(for)g(things)f(stored)i(on)f(the)h(prop-)0 +1282 y(ert)o(y)f(list.)20 b(In)15 b(Lisp)g(Mac)o(hine)f(Lisp,)h(for)f +(example,)f(one)i(can)g(also)f Fv(forwar)n(d)g Fw(the)h(v)n(alue,)0 +1334 y(function,)c(and)h(prop)q(ert)o(y)h(cells)f(so)g(that)g(future)g +(c)o(hanges)h(to)f(either)g(sym)o(b)q(ol)e(will)h(prop-)0 +1386 y(agate)j(to)g(the)g(other)h(one.)k(Some)13 b(other)h(implemen)o +(tations)d(are)j(able)g(to)g(do)g(this)g(with)0 1438 +y(v)n(alue)g(cells)h(but)f(not)h(with)f(prop)q(ert)o(y)h(lists.)20 +b(Only)14 b(the)h(user)g(can)g(kno)o(w)f(whether)i(this)0 +1489 y(w)o(a)o(y)e(of)f(resolving)h(a)g(name)g(con\015ict)g(is)h +(adequate,)f(b)q(ecause)i(it)e(will)f(w)o(ork)h(only)g(if)f(the)0 +1541 y(use)j(of)f(t)o(w)o(o)h(non-)p Fs(eq)f Fw(sym)o(b)q(ols)f(with)h +(the)h(same)f(name)f(will)h(not)g(prev)o(en)o(t)i(the)f(correct)0 +1593 y(op)q(eration)f(of)f(the)h(program.)20 b(The)15 +b(v)n(alue)f(of)h(o\013ering)f(sym)o(b)q(ol)f(merging)h(as)h(a)f(w)o(a) +o(y)g(of)0 1645 y(resolving)d(name)g(con\015icts)i(is)f(that)g(it)f +(can)h(a)o(v)o(oid)f(the)h(need)h(to)f(thro)o(w)g(a)o(w)o(a)o(y)e(the)j +(whole)0 1697 y(Lisp)k(w)o(orld,)h(correct)h(the)f(pac)o(k)n +(age-de\014nition)f(forms)f(that)i(caused)h(the)f(error,)h(and)0 +1749 y(start)c(o)o(v)o(er)e(from)g(scratc)o(h.)0 1915 +y Fo(11.6.)20 b(Built-in)14 b(P)n(ac)n(k)m(ages)0 2006 +y Fw(The)g(follo)o(wing)e(pac)o(k)n(ages,)h(at)h(least,)f(are)i(built)e +(in)o(to)g(ev)o(ery)i(Commo)o(n)c(Lisp)j(system.)-38 +1981 y Fk(.)-38 1994 y(.)-38 2007 y(.)-38 2020 y(.)-38 +2033 y(.)-38 2046 y(.)-38 2059 y(.)-38 2072 y(.)-38 2085 +y(.)-38 2098 y(.)-38 2111 y(.)-38 2124 y(.)-38 2136 y(.)-38 +2149 y(.)-38 2162 y(.)-38 2175 y(.)-38 2188 y(.)-38 2201 +y(.)-38 2214 y(.)-38 2227 y(.)-38 2240 y(.)-38 2253 y(.)-38 +2266 y(.)-38 2279 y(.)-38 2292 y(.)-38 2305 y(.)-38 2318 +y(.)-38 2331 y(.)-38 2344 y(.)-38 2357 y(.)-38 2370 y(.)-38 +2383 y(.)-38 2396 y(.)-38 2409 y(.)-38 2422 y(.)-38 2435 +y(.)-38 2448 y(.)-38 2461 y(.)-38 2474 y(.)-38 2487 y(.)-38 +2500 y(.)-38 2513 y(.)-38 2526 y(.)-38 2539 y(.)-38 2552 +y(.)-38 2565 y(.)-38 2578 y(.)-38 2591 y(.)-38 2603 y(.)-38 +2616 y(.)-38 2629 y(.)-38 2642 y(.)-38 2655 y(.)-38 2668 +y(.)-38 2681 y(.)-38 2694 y(.)-38 2707 y(.)-38 2720 y(.)-38 +2733 y(.)-38 2746 y(.)-38 2759 y(.)-38 2772 y(.)-38 2785 +y(.)-38 2798 y(.)-38 2811 y(.)-38 2824 y(.)-38 2837 y(.)-38 +2850 y(.)-38 2863 y(.)-38 2876 y(.)-38 2889 y(.)-38 2902 +y(.)-38 2915 y(.)-38 2928 y(.)-38 2941 y(.)-38 2954 y(.)-38 +2967 y(.)-38 2980 y(.)-38 2993 y(.)-38 3006 y(.)-38 3019 +y(.)-38 3032 y(.)-38 3045 y(.)-38 3058 y(.)-38 3070 y(.)-38 +3083 y(.)-38 3096 y(.)-38 3109 y(.)-38 3122 y(.)-38 3135 +y(.)-38 3148 y(.)-38 3161 y(.)-38 3174 y(.)-38 3187 y(.)-38 +3200 y(.)-38 3213 y(.)-38 3226 y(.)-38 3239 y(.)-38 3252 +y(.)-38 3265 y(.)-38 3278 y(.)-38 3291 y(.)-38 3304 y(.)-38 +3317 y(.)-38 3330 y(.)-38 3343 y(.)-38 3356 y(.)-38 3369 +y(.)-38 3382 y(.)-38 3395 y(.)-38 3408 y(.)-38 3421 y(.)-38 +3434 y(.)-38 3447 y(.)-38 3460 y(.)-38 3473 y(.)-38 3486 +y(.)-38 3499 y(.)-38 3512 y(.)-38 3525 y(.)-38 3537 y(.)-38 +3550 y(.)-38 3563 y(.)-38 3576 y(.)-38 3589 y(.)-38 3602 +y(.)-38 3615 y(.)-38 3628 y(.)-38 3641 y(.)-38 3654 y(.)-38 +3667 y(.)-38 3680 y(.)-38 3693 y(.)-38 3706 y(.)-38 3719 +y(.)-38 3732 y(.)-38 3745 y(.)-38 3758 y(.)-38 3771 y(.)-38 +3784 y(.)-38 3797 y(.)-38 3810 y(.)-38 3823 y(.)-38 3836 +y(.)-38 3849 y(.)-38 3862 y(.)-38 3875 y(.)-38 3888 y(.)-38 +3901 y(.)-38 3914 y(.)-38 3927 y(.)-38 3940 y(.)-38 3953 +y(.)-38 3966 y(.)-38 3979 y(.)-38 3992 y(.)-38 4004 y(.)-38 +4017 y(.)-38 4030 y(.)-38 4043 y(.)-38 4056 y(.)-38 4069 +y(.)-38 4082 y(.)-38 4095 y(.)-38 4108 y(.)-38 4121 y(.)-38 +4134 y(.)-38 4147 y(.)-38 4160 y(.)-38 4173 y(.)-38 4186 +y(.)-38 4199 y(.)-38 4212 y(.)-38 4225 y(.)-38 4238 y(.)-38 +4251 y(.)-38 4264 y(.)-38 4277 y(.)-38 4290 y(.)-38 4303 +y(.)-38 4316 y(.)-38 4329 y(.)-38 4342 y(.)-38 4355 y(.)-38 +4368 y(.)-38 4381 y(.)-38 4394 y(.)-38 4407 y(.)-38 4420 +y(.)-38 4433 y(.)-38 4446 y(.)-38 4459 y(.)-38 4471 y(.)-38 +4484 y(.)-38 4497 y(.)-38 4510 y(.)-38 4523 y(.)-38 4536 +y(.)-38 4549 y(.)-38 4562 y(.)0 2058 y Fs(lisp)0 2121 +y Fw(The)k(pac)o(k)n(age)e(named)g Fs(lisp)h Fw(con)o(tains)g(the)h +(primitiv)o(es)d(of)i(the)g(Common)d(Lisp)j(sys-)0 2173 +y(tem.)j(Its)15 b(external)g(sym)o(b)q(ols)f(include)h(all)e(of)h(the)i +(user-visible)f(functions)g(and)f(global)0 2225 y(v)n(ariables)e(that)h +(are)h(presen)o(t)g(in)f(the)g(Common)d(Lisp)j(system,)f(suc)o(h)i(as)f +Fs(car)p Fw(,)f Fs(cdr)p Fw(,)g(and)0 2277 y Fs(*package*)p +Fw(.)27 b(Almost)16 b(all)g(other)i(pac)o(k)n(ages)g(will)e(w)o(an)o(t) +h(to)g(use)i Fs(lisp)d Fw(so)i(that)f(these)0 2329 y(sym)o(b)q(ols)12 +b(will)h(b)q(e)h(accessible)i(without)d(quali\014cation.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 276 300 +276 299 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(276)77 b(COMMON)13 b(LISP)0 295 y Fs(user)0 +358 y Fw(The)i Fs(user)e Fw(pac)o(k)n(age)h(is,)g(b)o(y)g(default,)g +(the)h(curren)o(t)h(pac)o(k)n(age)e(at)g(the)h(time)e(a)h(Common)0 +410 y(Lisp)g(system)f(starts)i(up.)j(This)c(pac)o(k)n(age)g(uses)h(the) +f Fs(lisp)f Fw(pac)o(k)n(age.)-33 421 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 515 a(X3J13)k(v)o(oted)i(in)e(Marc)o(h)i(1989)e +Ft(h)p Fw(108)p Ft(i)h Fw(to)g(sp)q(ecify)g(that)h(the)f(forthcoming)e +(ANSI)-33 486 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 567 a(Common)d(Lisp)j(will)f(use)j(the)f(pac)o(k)n(age)f +(name)f Fs(common-lisp)f Fw(instead)j(of)e Fs(lisp)h +Fw(and)0 618 y(the)k(pac)o(k)n(age)f(name)g Fs(common-lisp-user)d +Fw(instead)k(of)f Fs(user)p Fw(.)34 b(The)20 b(purp)q(ose)g(is)g(to)0 +670 y(allo)o(w)15 b(a)h(single)h(Lisp)f(system)h(to)f(supp)q(ort)i(b)q +(oth)f(\\old")e(Common)f(Lisp)i(and)h(\\new")0 722 y(ANSI)g(Common)d +(Lisp)i(sim)o(ultaneously)f(despite)j(the)f(fact)g(that)g(in)f(some)g +(cases)i(the)0 774 y(t)o(w)o(o)d(languages)f(use)j(the)e(same)g(names)f +(for)h(incompatible)e(purp)q(oses.)24 b(\(That's)15 b(what)0 +826 y(pac)o(k)n(ages)f(are)g(for!\))0 931 y Fs(common-lisp)0 +994 y Fw(The)h(pac)o(k)n(age)f(named)g Fs(common-lisp)e +Fw(con)o(tains)j(the)g(primitiv)o(es)e(of)h(the)h(ANSI)g(Com-)0 +1046 y(mon)f(Lisp)i(system)g(\(as)g(opp)q(osed)h(to)f(a)f(Common)e +(Lisp)j(system)g(based)g(on)g(the)h(1984)0 1098 y(sp)q +(eci\014cation\).)31 b(Its)19 b(external)f(sym)o(b)q(ols)f(include)h +(all)e(of)i(the)g(user-visible)h(functions)0 1150 y(and)12 +b(global)f(v)n(ariables)h(that)h(are)g(presen)o(t)h(in)e(the)h(ANSI)g +(Common)c(Lisp)k(system,)f(suc)o(h)0 1202 y(as)j Fs(car)p +Fw(,)g Fs(cdr)p Fw(,)f(and)h Fs(*package*)p Fw(.)20 b(Note,)15 +b(ho)o(w)o(ev)o(er,)h(that)f(the)h(home)e(pac)o(k)n(age)g(of)h(suc)o(h) +0 1254 y(sym)o(b)q(ols)e(is)h(not)g(necessarily)i(the)f +Fs(common-lisp)d Fw(pac)o(k)n(age)i(\(this)h(mak)o(es)e(it)h(easier)h +(for)0 1306 y(sym)o(b)q(ols)10 b(suc)o(h)h(as)g Fs(t)g +Fw(and)g Fs(lambda)f Fw(to)h(b)q(e)g(shared)h(b)q(et)o(w)o(een)h(the)e +Fs(common-lisp)e Fw(pac)o(k)n(age)0 1358 y(and)16 b(another)g(pac)o(k)n +(age,)g(p)q(ossibly)f(one)i(named)d Fs(lisp)p Fw(\).)24 +b(Almost)14 b(all)h(other)i(pac)o(k)n(ages)0 1410 y(ough)o(t)g(to)f +(use)i Fs(common-lisp)d Fw(so)i(that)g(these)h(sym)o(b)q(ols)e(will)f +(b)q(e)j(accessible)g(without)0 1461 y(quali\014cation.)f(This)c(pac)o +(k)n(age)h(has)g(the)g(nic)o(kname)f Fs(cl)p Fw(.)0 1566 +y Fs(common-lisp-user)0 1629 y Fw(The)d Fs(common-lisp-user)d +Fw(pac)o(k)n(age)i(is,)h(b)o(y)g(default,)g(the)g(curren)o(t)h(pac)o(k) +n(age)f(at)g(the)g(time)0 1681 y(an)h(ANSI)h(Common)d(Lisp)i(system)g +(starts)i(up.)k(This)12 b(pac)o(k)n(age)f(uses)i(the)f +Fs(common-lisp)0 1733 y Fw(pac)o(k)n(age)d(and)h(has)g(the)g(nic)o +(kname)e Fs(cl-user)p Fw(.)15 b(It)10 b(ma)o(y)e(con)o(tain)h(other)h +(implemen)o(tation-)0 1785 y(dep)q(enden)o(t)16 b(sym)o(b)q(ols)c(and)i +(ma)o(y)e(use)i(other)h(implemen)o(tatio)o(n-sp)q(eci\014c)e(pac)o(k)n +(ages.)-33 1797 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1890 a Fs(keyword)0 1953 y Fw(This)19 +b(pac)o(k)n(age)g(con)o(tains)g(all)f(of)g(the)i(k)o(eyw)o(ords)g(used) +g(b)o(y)f(built-in)f(or)h(user-de\014ned)0 2005 y(Lisp)f(functions.)30 +b(Prin)o(ted)18 b(sym)o(b)q(ol)e(represen)o(tations)k(that)e(start)g +(with)f(a)h(colon)f(are)0 2057 y(in)o(terpreted)e(as)e(referring)g(to)g +(sym)o(b)q(ols)f(in)g(this)i(pac)o(k)n(age,)e(whic)o(h)h(are)g(alw)o(a) +o(ys)f(external)0 2109 y(sym)o(b)q(ols.)22 b(All)15 b(sym)o(b)q(ols)f +(in)i(this)f(pac)o(k)n(age)h(are)g(treated)h(as)f(constan)o(ts)g(that)g +(ev)n(aluate)0 2161 y(to)e(themselv)o(es,)f(so)h(that)g(the)h(user)g +(can)f(t)o(yp)q(e)g Fs(:foo)f Fw(instead)h(of)1029 2165 +y Fn(')1053 2161 y Fs(:foo)p Fw(.)0 2266 y Fs(system)-38 +2255 y Fk(.)-38 2268 y(.)-38 2281 y(.)-38 2294 y(.)-38 +2307 y(.)-38 2320 y(.)-38 2333 y(.)-38 2346 y(.)-38 2359 +y(.)-38 2372 y(.)-38 2385 y(.)-38 2398 y(.)-38 2411 y(.)-38 +2424 y(.)-38 2437 y(.)-38 2450 y(.)-38 2463 y(.)-38 2476 +y(.)-38 2489 y(.)-38 2502 y(.)-38 2515 y(.)-38 2528 y(.)-38 +2541 y(.)-38 2554 y(.)-38 2567 y(.)-38 2580 y(.)-38 2592 +y(.)-38 2605 y(.)-38 2618 y(.)-38 2631 y(.)-38 2644 y(.)-38 +2657 y(.)-38 2670 y(.)-38 2683 y(.)-38 2696 y(.)-38 2709 +y(.)-38 2722 y(.)-38 2735 y(.)-38 2748 y(.)-38 2761 y(.)-38 +2774 y(.)-38 2787 y(.)-38 2800 y(.)-38 2813 y(.)-38 2826 +y(.)-38 2839 y(.)-38 2852 y(.)-38 2865 y(.)-38 2878 y(.)-38 +2891 y(.)-38 2904 y(.)-38 2917 y(.)-38 2930 y(.)-38 2943 +y(.)-38 2956 y(.)-38 2969 y(.)-38 2982 y(.)-38 2995 y(.)-38 +3008 y(.)-38 3021 y(.)-38 3034 y(.)-38 3047 y(.)-38 3059 +y(.)-38 3072 y(.)-38 3085 y(.)-38 3098 y(.)-38 3111 y(.)-38 +3124 y(.)-38 3137 y(.)-38 3150 y(.)-38 3163 y(.)-38 3176 +y(.)-38 3189 y(.)-38 3202 y(.)-38 3215 y(.)-38 3228 y(.)-38 +3241 y(.)-38 3254 y(.)-38 3267 y(.)-38 3280 y(.)-38 3293 +y(.)-38 3306 y(.)-38 3319 y(.)-38 3332 y(.)-38 3345 y(.)-38 +3358 y(.)-38 3371 y(.)-38 3384 y(.)-38 3397 y(.)-38 3410 +y(.)-38 3423 y(.)-38 3436 y(.)-38 3449 y(.)-38 3462 y(.)-38 +3475 y(.)-38 3488 y(.)-38 3501 y(.)-38 3514 y(.)-38 3526 +y(.)-38 3539 y(.)-38 3552 y(.)-38 3565 y(.)-38 3578 y(.)-38 +3591 y(.)-38 3604 y(.)-38 3617 y(.)-38 3630 y(.)-38 3643 +y(.)-38 3656 y(.)-38 3669 y(.)-38 3682 y(.)-38 3695 y(.)-38 +3708 y(.)-38 3721 y(.)-38 3734 y(.)-38 3747 y(.)-38 3760 +y(.)-38 3773 y(.)-38 3786 y(.)-38 3799 y(.)-38 3812 y(.)-38 +3825 y(.)-38 3838 y(.)-38 3851 y(.)-38 3864 y(.)-38 3877 +y(.)-38 3890 y(.)-38 3903 y(.)-38 3916 y(.)-38 3929 y(.)-38 +3942 y(.)-38 3955 y(.)-38 3968 y(.)-38 3981 y(.)-38 3993 +y(.)-38 4006 y(.)-38 4019 y(.)-38 4032 y(.)-38 4045 y(.)-38 +4058 y(.)-38 4071 y(.)-38 4084 y(.)-38 4097 y(.)-38 4110 +y(.)-38 4123 y(.)-38 4136 y(.)-38 4149 y(.)-38 4162 y(.)-38 +4175 y(.)-38 4188 y(.)-38 4201 y(.)-38 4214 y(.)-38 4227 +y(.)-38 4240 y(.)-38 4253 y(.)-38 4266 y(.)-38 4279 y(.)-38 +4292 y(.)-38 4305 y(.)-38 4318 y(.)-38 4331 y(.)-38 4344 +y(.)-38 4357 y(.)-38 4370 y(.)-38 4383 y(.)-38 4396 y(.)-38 +4409 y(.)-38 4422 y(.)-38 4435 y(.)-38 4447 y(.)-38 4460 +y(.)-38 4473 y(.)-38 4486 y(.)-38 4499 y(.)-38 4512 y(.)-38 +4525 y(.)-38 4538 y(.)-38 4551 y(.)-38 4564 y(.)-38 4577 +y(.)-38 4590 y(.)-38 4603 y(.)-38 4616 y(.)-38 4629 y(.)-38 +4642 y(.)-38 4655 y(.)-38 4668 y(.)-38 4681 y(.)-38 4694 +y(.)-38 4707 y(.)-38 4720 y(.)-38 4733 y(.)-38 4746 y(.)-38 +4759 y(.)-38 4772 y(.)-38 4785 y(.)-38 4798 y(.)-38 4811 +y(.)-38 4824 y(.)-38 4837 y(.)0 2329 y Fw(This)c(pac)o(k)n(age)g(name)f +(is)i(reserv)o(ed)h(to)e(the)h(implemen)o(tatio)o(n.)j(Normally)8 +b(this)i(is)h(used)g(to)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 277 301 +277 300 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(P)m(A)o(CKA)o(GES)1143 b(277)0 295 y Fw(con)o(tain)12 +b(names)h(of)f(implemen)o(tatio)o(n-dep)q(enden)o(t)g(system-in)o +(terface)h(functions.)18 b(This)0 347 y(pac)o(k)n(age)c(uses)h +Fs(lisp)e Fw(and)g(has)h(the)h(nic)o(kname)d Fs(sys)p +Fw(.)-33 358 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 455 a(X3J13)e(v)o(oted)h(in)f(Jan)o(uary)g(1989)g +Ft(h)p Fw(125)p Ft(i)g Fw(to)h(mo)q(dify)d(the)j(requiremen)o(ts)g(on)f +(the)i(built-)-33 427 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 507 a(in)e(pac)o(k)n(ages)g(so)g(as)g(to)g(limit)d(what) +j(ma)o(y)f(app)q(ear)h(in)g(the)g Fs(common-lisp)e Fw(pac)o(k)n(age)i +(and)g(to)0 559 y(lift)g(the)h(requiremen)o(t)g(that)g(ev)o(ery)h +(implem)o(en)o(tation)c(ha)o(v)o(e)j(a)f(pac)o(k)n(age)h(named)e +Fs(system)p Fw(.)0 611 y(The)14 b(details)g(are)g(as)g(follo)o(ws.)42 +664 y(Not)e(only)h(m)o(ust)e(the)j Fs(common-lisp)c Fw(pac)o(k)n(age)j +(in)f(an)o(y)h(giv)o(en)f(implemen)o(tation)e(con-)0 +716 y(tain)17 b(all)f(the)i(external)g(sym)o(b)q(ols)e(prescrib)q(ed)j +(b)o(y)e(the)h(standard;)h(the)f Fs(common-lisp)0 767 +y Fw(pac)o(k)n(age)12 b(moreo)o(v)o(er)f(ma)o(y)f(not)h(con)o(tain)h +(an)o(y)f(external)i(sym)o(b)q(ol)d(that)i(is)g(not)g(prescrib)q(ed)0 +819 y(b)o(y)i(the)g(standard.)k(Ho)o(w)o(ev)o(er,)c(the)h +Fs(common-lisp)c Fw(pac)o(k)n(age)i(ma)o(y)f(con)o(tain)i(additional)0 +871 y(in)o(ternal)f(sym)o(b)q(ols,)f(dep)q(ending)j(on)f(the)g +(implemen)o(tation.)42 924 y(An)g(external)g(sym)o(b)q(ol)e(of)i(the)g +Fs(common-lisp)e Fw(pac)o(k)n(age)i(ma)o(y)e(not)i(ha)o(v)o(e)g(a)f +(function,)0 976 y(macro,)i(or)h(sp)q(ecial)g(form)f(de\014nition,)h +(or)g(a)f(top-lev)o(el)h(v)n(alue,)f(or)i(a)e Fs(special)g +Fw(pro)q(cla-)0 1028 y(mation,)h(or)i(a)g(t)o(yp)q(e)g(de\014nition,)g +(unless)h(sp)q(eci\014cally)f(p)q(ermitted)g(b)o(y)f(the)i(standard.)0 +1080 y(Programmers)13 b(ma)o(y)h(v)n(alidly)f(rely)i(on)g(this)g(fact;) +h(for)f(example,)e Fs(fboundp)h Fw(is)h(guaran-)0 1131 +y(teed)i(to)e(b)q(e)h(false)g(for)f(all)f(external)i(sym)o(b)q(ols)f +(of)g(the)h Fs(common-lisp)d Fw(pac)o(k)n(age)i(except)0 +1183 y(those)e(explicitly)f(sp)q(eci\014ed)i(in)f(the)g(standard)g(to)g +(name)e(functions,)i(macros,)e(and)i(sp)q(e-)0 1235 y(cial)g(forms.)j +(Similarly)m(,)10 b Fs(boundp)i Fw(will)g(b)q(e)i(false)g(of)e(all)h +(suc)o(h)h(external)g(sym)o(b)q(ols)e(except)0 1287 y(those)j(do)q +(cumen)o(ted)f(to)f(b)q(e)i(v)n(ariables)e(or)h(constan)o(ts.)42 +1340 y(P)o(ortable)g(programs)g(ma)o(y)f(use)i(external)h(sym)o(b)q +(ols)d(in)h(the)i Fs(common-lisp)c Fw(pac)o(k)n(age)0 +1392 y(that)g(are)h(not)f(do)q(cumen)o(ted)g(to)g(b)q(e)h(constan)o(ts) +g(or)f(v)n(ariables)f(as)h(names)g(of)f(lo)q(cal)h(lexical)0 +1444 y(v)n(ariables)i(with)h(the)h(presumption)e(that)i(the)f(implemen) +o(tation)d(has)j(not)g(pro)q(claimed)0 1495 y(suc)o(h)k(v)n(ariables)f +(to)h(b)q(e)g(sp)q(ecial;)i(this)d(legitimizes)f(the)j(common)15 +b(practice)20 b(of)e(using)0 1547 y(suc)o(h)d(names)e(as)h +Fs(list)f Fw(and)g Fs(string)g Fw(as)h(names)f(for)h(lo)q(cal)f(v)n +(ariables.)42 1600 y(A)18 b(v)n(alid)g(implem)o(en)o(tation)e(ma)o(y)h +(initially)f(ha)o(v)o(e)j(prop)q(erties)h(on)f(an)o(y)f(sym)o(b)q(ol,)g +(or)0 1652 y(dynamically)13 b(put)k(new)f(prop)q(erties)i(on)e(sym)o(b) +q(ols)f(\(ev)o(en)i(user-created)i(sym)o(b)q(ols\),)c(as)0 +1704 y(long)g(as)g(no)g(prop)q(ert)o(y)i(indicator)e(used)h(for)f(this) +h(purp)q(ose)g(is)f(an)h(external)g(sym)o(b)q(ol)d(of)0 +1756 y(an)o(y)i(pac)o(k)n(age)f(de\014ned)i(b)o(y)f(the)h(standard)f +(or)g(a)g(sym)o(b)q(ol)e(that)i(is)g(accessible)h(from)d(the)0 +1808 y Fs(common-lisp-user)e Fw(pac)o(k)n(age)i(or)h(an)o(y)f(pac)o(k)n +(age)h(de\014ned)h(b)o(y)e(the)i(user.)42 1860 y(This)c(v)o(ote)g +(eliminates)e(the)j(requiremen)o(t)f(that)g(ev)o(ery)h(implemen)o +(tatio)o(n)c(ha)o(v)o(e)j(a)g(pre-)0 1912 y(de\014ned)i(pac)o(k)n(age)f +(named)f Fs(system)p Fw(.)16 b(An)c(implemen)o(tation)d(ma)o(y)h(pro)o +(vide)i(an)o(y)f(n)o(um)o(b)q(er)0 1964 y(of)16 b(prede\014ned)j(pac)o +(k)n(ages;)f(these)h(should)e(b)q(e)g(describ)q(ed)i(in)e(the)g(do)q +(cumen)o(tation)f(for)0 2016 y(that)e(implemen)o(tatio)o(n.)42 +2069 y(The)e Fs(common-lisp-user)d Fw(pac)o(k)n(age)i(ma)o(y)f(con)o +(tain)i(sym)o(b)q(ols)f(not)g(describ)q(ed)j(b)o(y)e(the)0 +2120 y(standard)i(and)g(ma)o(y)e(use)j(other)f(implemen)o(tation-sp)q +(eci\014c)e(pac)o(k)n(ages.)-33 2132 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2173 a(X3J13)e(v)o(oted)h(in)g(Marc)o(h)g(1989)f +Ft(h)p Fw(109)p Ft(i)g Fw(to)h(restrict)h(user)g(programs)e(from)f(p)q +(erforming)-33 2145 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2225 a(certain)18 b(actions)f(that)g(migh)o(t)e(in)o +(terfere)k(with)d(built-in)g(facilities)h(or)g(in)o(teract)g(badly)0 +2277 y(with)e(them.)20 b(Except)c(where)g(explicitly)e(allo)o(w)o(ed,)g +(the)h(consequences)j(are)e(unde\014ned)0 2329 y(if)c(an)o(y)g(of)f +(the)j(follo)o(wing)9 b(actions)k(are)g(p)q(erformed)f(on)g(a)g(sym)o +(b)q(ol)f(in)h(the)h Fs(common-lisp)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 278 302 +278 301 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(278)77 b(COMMON)13 +b(LISP)0 295 y Fw(pac)o(k)n(age.)0 363 y Fu(.)42 371 +y Fw(binding)f(or)i(altering)g(its)f(v)n(alue)h(\(lexically)e(or)i +(dynamically\))0 451 y Fu(.)42 460 y Fw(de\014ning)f(or)h(binding)f(it) +h(as)g(a)f(function)0 540 y Fu(.)42 549 y Fw(de\014ning)g(or)h(binding) +f(it)h(as)g(a)f(macro)0 628 y Fu(.)42 637 y Fw(de\014ning)g(it)h(as)g +(a)f(t)o(yp)q(e)i(sp)q(eci\014er)g(\()p Fs(defstruct)p +Fw(,)d Fs(defclass)p Fw(,)g Fs(deftype)p Fw(\))0 717 +y Fu(.)42 726 y Fw(de\014ning)h(it)h(as)g(a)f(structure)j(\()p +Fs(defstruct)p Fw(\))0 805 y Fu(.)42 814 y Fw(de\014ning)d(it)h(as)g(a) +f(declaration)0 894 y Fu(.)42 903 y Fw(dsing)g(it)h(as)g(a)f(sym)o(b)q +(ol)f(macro)0 983 y Fu(.)42 991 y Fw(altering)h(its)h(prin)o(t)f(name)0 +1071 y Fu(.)42 1080 y Fw(altering)g(its)h(pac)o(k)n(age)0 +1160 y Fu(.)42 1169 y Fw(tracing)f(it)0 1248 y Fu(.)42 +1257 y Fw(declaring)g(or)h(pro)q(claiming)d(it)j(sp)q(ecial)g(or)g +(lexical)0 1337 y Fu(.)42 1346 y Fw(declaring)f(or)h(pro)q(claiming)d +(its)j Fs(type)f Fw(or)h Fs(ftype)0 1425 y Fu(.)42 1434 +y Fw(remo)o(ving)e(it)h(from)f(the)j(pac)o(k)n(age)e +Fs(common-lisp)0 1511 y Fw(X3J13)h(also)f(v)o(oted)h(in)f(June)i(1989)e +Ft(h)p Fw(49)p Ft(i)g Fw(to)h(add)g(to)g(this)g(list)f(the)i(item)0 +1579 y Fu(.)42 1588 y Fw(de\014ning)e(it)h(as)g(a)f(compiler)g(macro)42 +1665 y(If)h(suc)o(h)h(a)g(sym)o(b)q(ol)e(is)h(not)h(globally)d +(de\014ned)k(as)f(a)f(v)n(ariable)g(or)h(a)f(constan)o(t,)h(a)g(user)0 +1717 y(program)d(is)i(allo)o(w)o(ed)f(to)g(lexically)g(bind)g(it)h(and) +g(declare)g(the)h Fs(type)e Fw(of)g(that)h(binding.)42 +1769 y(If)e(suc)o(h)h(a)g(sym)o(b)q(ol)e(is)h(not)h(de\014ned)g(as)g(a) +g(function,)f(macro,)f(or)i(sp)q(ecial)g(form,)d(a)j(user)0 +1821 y(program)c(is)i(allo)o(w)o(ed)f(to)g(\(lexically\))g(bind)h(it)f +(as)h(a)g(function)f(and)h(to)g(declare)g(the)h Fs(ftype)0 +1873 y Fw(of)h(that)h(binding)f(and)h(to)g(trace)g(that)g(binding.)42 +1925 y(If)e(suc)o(h)h(a)g(sym)o(b)q(ol)e(is)h(not)h(de\014ned)g(as)g(a) +g(function,)f(macro,)f(or)i(sp)q(ecial)g(form,)d(a)j(user)0 +1977 y(program)f(is)i(allo)o(w)o(ed)f(to)g(\(lexically\))g(bind)h(it)f +(as)h(a)g(macro.)42 2030 y(As)g(an)g(example,)e(the)i(b)q(eha)o(vior)g +(of)f(the)i(co)q(de)f(fragmen)o(t)0 2121 y Fs(\(flet)20 +b(\(\(open)g(\(filename)f(&key)i(direction\))191 2173 +y(\(format)e(t)i(")427 2177 y Fn(~)450 2173 y Fs(\045OPEN)f(was)h +(called."\))191 2225 y(\(open)f(filename)f(:direction)g +(direction\)\)\))42 2277 y(\(with-open-file)f(\(x)j("frob")f +(:direction)844 2281 y Fn(')867 2277 y Fs(:output\))85 +2329 y(\(format)f(t)i(")321 2333 y Fn(~)344 2329 y Fs(\045Was)g(OPEN)f +(called?"\)\)\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 279 303 +279 302 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(P)m(A)o(CKA)o(GES)1143 +b(279)0 295 y Fw(is)12 b(unde\014ned.)19 b(Ev)o(en)13 +b(in)f(a)g(\\reasonable")h(implemen)o(tatio)o(n,)d(for)i(example,)f +(the)i(macro)0 347 y(expansion)e(of)f Fs(with-open-file)d +Fw(migh)o(t)i(refer)i(to)g(the)g Fs(open)f Fw(function)g(and)h(migh)o +(t)d(not.)0 399 y(Ho)o(w)o(ev)o(er,)20 b(the)g(preceding)g(rules)f +(eliminate)e(the)j(burden)g(of)e(deciding)h(whether)h(an)0 +450 y(implemen)o(tatio)o(n)11 b(is)i(reasonable.)18 b(The)c(co)q(de)g +(fragmen)o(t)e(violates)h(the)h(rules;)g(o\016cially)0 +502 y(its)g(b)q(eha)o(vior)g(is)f(therefore)j(completely)c +(unde\014ned,)j(and)f(that's)f(that.)42 554 y(Note)e(that)g(\\altering) +g(the)h(prop)q(ert)o(y)g(list")e(is)h(not)h(in)e(the)i(list)f(of)g +(proscrib)q(ed)h(actions,)0 606 y(so)g(a)f(user)h(program)e +Fv(is)h Fw(p)q(ermitted)h(to)f(add)g(prop)q(erties)i(to)f(or)f(remo)o +(v)o(e)g(prop)q(erties)h(from)0 658 y(sym)o(b)q(ols)g(in)i(the)g +Fs(common-lisp)e Fw(pac)o(k)n(age.)-33 670 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 813 a Fo(11.7.)20 b(P)n(ac)n(k)m(age)c(System)d(F)-5 +b(unctions)15 b(and)g(V)-5 b(ariables)0 900 y Fw(Some)14 +b(of)g(the)i(functions)f(and)f(v)n(ariables)h(in)f(this)h(section)h +(are)f(describ)q(ed)i(in)d(previous)0 952 y(sections)h(but)f(are)g +(included)g(here)h(for)f(completeness.)42 1004 y(It)f(is)g(up)h(to)f +(eac)o(h)h(implemen)o(tation')o(s)d(compiler)h(to)i(ensure)h(that)e +(when)h(a)f(compiled)-38 979 y Fk(.)-38 992 y(.)-38 1005 +y(.)-38 1018 y(.)-38 1031 y(.)-38 1044 y(.)-38 1057 y(.)-38 +1070 y(.)-38 1083 y(.)-38 1096 y(.)-38 1109 y(.)-38 1122 +y(.)-38 1135 y(.)-38 1148 y(.)-38 1161 y(.)-38 1174 y(.)-38 +1187 y(.)-38 1200 y(.)-38 1213 y(.)-38 1226 y(.)-38 1239 +y(.)-38 1252 y(.)-38 1265 y(.)-38 1278 y(.)-38 1291 y(.)-38 +1304 y(.)-38 1317 y(.)-38 1330 y(.)-38 1343 y(.)-38 1356 +y(.)-38 1369 y(.)-38 1382 y(.)-38 1394 y(.)-38 1407 y(.)-38 +1420 y(.)-38 1433 y(.)-38 1446 y(.)-38 1459 y(.)-38 1472 +y(.)-38 1485 y(.)-38 1498 y(.)-38 1511 y(.)-38 1524 y(.)-38 +1537 y(.)-38 1550 y(.)-38 1563 y(.)-38 1576 y(.)-38 1589 +y(.)-38 1602 y(.)-38 1615 y(.)-38 1628 y(.)-38 1641 y(.)-38 +1654 y(.)-38 1667 y(.)-38 1680 y(.)-38 1693 y(.)-38 1706 +y(.)-38 1719 y(.)-38 1732 y(.)-38 1745 y(.)-38 1758 y(.)-38 +1771 y(.)-38 1784 y(.)-38 1797 y(.)-38 1810 y(.)-38 1823 +y(.)-38 1836 y(.)-38 1849 y(.)-38 1861 y(.)-38 1874 y(.)-38 +1887 y(.)-38 1900 y(.)-38 1913 y(.)-38 1926 y(.)-38 1939 +y(.)-38 1952 y(.)-38 1965 y(.)-38 1978 y(.)-38 1991 y(.)-38 +2004 y(.)-38 2017 y(.)-38 2030 y(.)-38 2043 y(.)-38 2056 +y(.)-38 2069 y(.)-38 2082 y(.)-38 2095 y(.)-38 2108 y(.)-38 +2121 y(.)-38 2134 y(.)-38 2147 y(.)-38 2160 y(.)-38 2173 +y(.)-38 2186 y(.)-38 2199 y(.)-38 2212 y(.)-38 2225 y(.)-38 +2238 y(.)-38 2251 y(.)-38 2264 y(.)-38 2277 y(.)-38 2290 +y(.)-38 2303 y(.)-38 2316 y(.)-38 2328 y(.)-38 2341 y(.)-38 +2354 y(.)-38 2367 y(.)-38 2380 y(.)-38 2393 y(.)-38 2406 +y(.)-38 2419 y(.)-38 2432 y(.)-38 2445 y(.)-38 2458 y(.)-38 +2471 y(.)-38 2484 y(.)-38 2497 y(.)-38 2510 y(.)-38 2523 +y(.)-38 2536 y(.)-38 2549 y(.)-38 2562 y(.)-38 2575 y(.)-38 +2588 y(.)-38 2601 y(.)-38 2614 y(.)-38 2627 y(.)-38 2640 +y(.)-38 2653 y(.)-38 2666 y(.)-38 2679 y(.)-38 2692 y(.)-38 +2705 y(.)-38 2718 y(.)-38 2731 y(.)-38 2744 y(.)-38 2757 +y(.)-38 2770 y(.)-38 2783 y(.)-38 2795 y(.)-38 2808 y(.)-38 +2821 y(.)-38 2834 y(.)-38 2847 y(.)-38 2860 y(.)-38 2873 +y(.)-38 2886 y(.)-38 2899 y(.)-38 2912 y(.)-38 2925 y(.)-38 +2938 y(.)-38 2951 y(.)-38 2964 y(.)-38 2977 y(.)-38 2990 +y(.)-38 3003 y(.)-38 3016 y(.)-38 3029 y(.)-38 3042 y(.)-38 +3055 y(.)-38 3068 y(.)-38 3081 y(.)-38 3094 y(.)-38 3107 +y(.)-38 3120 y(.)-38 3133 y(.)-38 3146 y(.)-38 3159 y(.)-38 +3172 y(.)-38 3185 y(.)-38 3198 y(.)-38 3211 y(.)-38 3224 +y(.)-38 3237 y(.)-38 3250 y(.)-38 3262 y(.)-38 3275 y(.)-38 +3288 y(.)-38 3301 y(.)-38 3314 y(.)-38 3327 y(.)-38 3340 +y(.)-38 3353 y(.)-38 3366 y(.)-38 3379 y(.)-38 3392 y(.)-38 +3405 y(.)-38 3418 y(.)-38 3431 y(.)-38 3444 y(.)-38 3457 +y(.)-38 3470 y(.)-38 3483 y(.)-38 3496 y(.)-38 3509 y(.)-38 +3522 y(.)-38 3535 y(.)-38 3548 y(.)-38 3561 y(.)0 1056 +y Fw(\014le)i(is)f(loaded,)g(all)f(of)h(the)i(sym)o(b)q(ols)d(in)h(the) +h(\014le)g(end)g(up)g(in)f(the)h(same)f(pac)o(k)n(ages)h(that)0 +1108 y(they)k(w)o(ould)f(o)q(ccup)o(y)h(if)f(the)h(Lisp)g(source)h +(\014le)f(w)o(ere)g(loaded.)32 b(In)19 b(most)e(compilers,)0 +1160 y(this)h(will)e(b)q(e)i(accomplished)f(b)o(y)g(treating)h(certain) +g(pac)o(k)n(age)f(op)q(erations)h(as)g(though)0 1212 +y(they)c(are)f(surrounded)i(b)o(y)d Fs(\(eval-when)19 +b(\(compile)h(load)g(eval\))g(...\))p Fw(;)12 b(see)j +Fs(eval-)0 1264 y(when)p Fw(.)h(These)c(op)q(erations)f(are)g +Fs(make-package)p Fw(,)d Fs(in-package)p Fw(,)h Fs(shadow)p +Fw(,)h Fs(shadowing-)0 1316 y(import)p Fw(,)15 b Fs(export)p +Fw(,)f Fs(unexport)p Fw(,)g Fs(use-package)p Fw(,)g Fs(unuse-package)p +Fw(,)f(and)j Fs(import)p Fw(.)22 b(T)m(o)0 1368 y(guaran)o(tee)f(prop)q +(er)g(compilation)d(in)i(all)f(Common)e(Lisp)k(implemen)o(tati)o(ons,)e +(these)0 1420 y(functions)c(should)g(app)q(ear)g(only)f(at)h(top)f(lev) +o(el)h(within)f(a)h(\014le.)21 b(As)15 b(a)g(matter)f(of)g(st)o(yle,)0 +1471 y(it)k(is)g(suggested)h(that)g(eac)o(h)f(\014le)g(con)o(tain)g +(only)g(one)g(pac)o(k)n(age,)g(and)g(that)h(all)e(of)g(the)0 +1523 y(pac)o(k)n(age)h(setup)h(forms)d(app)q(ear)i(near)h(the)f(start)h +(of)e(the)i(\014le.)30 b(This)18 b(is)g(discussed)h(in)0 +1575 y(more)13 b(detail,)g(with)g(examples,)g(in)g(section)i(11.9.)-33 +1587 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1627 a(X3J13)h(v)o(oted)i(in)e(Marc)o(h)i(1989)e +Ft(h)p Fw(103)p Ft(i)g Fw(to)h(cancel)h(the)g(sp)q(eci\014cations)g(of) +e(the)i(pre-)-33 1599 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1679 a(ceding)13 b(paragraph)f(in)g(order)h(to)g(supp)q +(ort)g(a)f(mo)q(del)f(of)h(\014le)h(compilation)d(in)i(whic)o(h)g(the)0 +1731 y(compiler)h(need)j(nev)o(er)f(tak)o(e)g(sp)q(ecial)g(note)f(of)g +(ordinary)g(function)h(calls;)f(only)f(sp)q(ecial)0 1783 +y(forms)e(and)g(macros)g(are)i(recognized)g(as)f(a\013ecting)g(the)g +(state)h(of)e(the)i(compilation)c(pro-)0 1835 y(cess.)25 +b(As)17 b(part)f(of)f(this)h(c)o(hange)g Fs(in-package)e +Fw(w)o(as)h(c)o(hanged)i(to)e(b)q(e)i(a)e(macro)g(rather)0 +1887 y(than)h(a)f(function)g(and)h(its)f(functionalit)o(y)f(w)o(as)i +(restricted.)25 b(The)16 b(actions)g(of)e Fs(shadow)p +Fw(,)0 1939 y Fs(shadowing-import)p Fw(,)c Fs(use-package)p +Fw(,)h Fs(import)p Fw(,)h Fs(intern)p Fw(,)g(and)i Fs(export)f +Fw(for)g(compila-)0 1990 y(tion)g(purp)q(oses)j(ma)o(y)c(b)q(e)i +(accomplished)f(with)h(the)g(new)g(macro)f Fs(defpackage)p +Fw(.)-33 2002 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2050 V 0 2111 a Fm(Implemen)o(tation)g(note:)18 +b FA(In)13 b(the)h(past,)f(some)h(Lisp)g(compilers)h(ha)o(v)o(e)f(read) +g(the)g(en)o(tire)g(\014le)0 2156 y(in)o(to)k(Lisp)f(b)q(efore)g(pro)q +(cessing)i(an)o(y)f(of)e(the)h(forms.)28 b(Other)17 b(compilers)i(ha)o +(v)o(e)e(arranged)h(for)0 2202 y(the)e(loader)h(to)f(do)g(all)h(of)e +(its)h(in)o(tern)h(op)q(erations)h(b)q(efore)e(ev)n(aluating)i(an)o(y)e +(of)g(the)g(top-lev)o(el)0 2248 y(forms.)21 b(Neither)15 +b(of)f(these)h(tec)o(hniques)h(will)g(w)o(ork)e(in)h(a)f(straigh)o +(tforw)o(ard)i(w)o(a)o(y)e(in)h(Common)0 2293 y(Lisp)f(b)q(ecause)g(of) +f(the)g(presence)h(of)f(m)o(ultiple)i(pac)o(k)n(ages.)p +0 2329 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 280 304 +280 303 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(280)77 b(COMMON)13 +b(LISP)42 295 y Fw(F)m(or)e(the)i(functions)f(describ)q(ed)h(here,)g +(all)e(optional)g(argumen)o(ts)g(named)g Fv(p)n(ackage)h +Fw(de-)0 347 y(fault)g(to)g(the)h(curren)o(t)h(v)n(alue)e(of)g +Fs(*package*)p Fw(.)j(Where)e(a)g(function)f(tak)o(es)h(an)f(argumen)o +(t)0 399 y(that)i(is)g(either)h(a)f(sym)o(b)q(ol)f(or)h(a)g(list)f(of)h +(sym)o(b)q(ols,)e(an)i(argumen)o(t)f(of)h Fs(nil)f Fw(is)h(treated)i +(as)0 450 y(an)c(empt)o(y)f(list)g(of)h(sym)o(b)q(ols.)k(An)o(y)c +(argumen)o(t)f(describ)q(ed)j(as)e(a)f(pac)o(k)n(age)h(name)f(ma)o(y)f +(b)q(e)0 502 y(either)i(a)f(string)g(or)g(a)g(sym)o(b)q(ol.)k(If)c(a)g +(sym)o(b)q(ol)e(is)i(supplied,)g(its)h(prin)o(t)e(name)g(will)g(b)q(e)i +(used)0 554 y(as)g(the)h(pac)o(k)n(age)e(name;)g(if)h(a)f(string)i(is)e +(supplied,)h(the)h(user)g(m)o(ust)e(tak)o(e)h(care)h(to)f(sp)q(ecify)0 +606 y(the)i(same)f(capitalization)g(used)i(in)e(the)h(pac)o(k)n(age)g +(name,)e(normally)f(all)i(upp)q(ercase.)1219 711 y([)p +Fv(V)m(ariable)s Fw(])-1396 b Fs(*package*)0 788 y Fw(The)16 +b(v)n(alue)g(of)f(this)h(v)n(ariable)e(m)o(ust)h(b)q(e)i(a)e(pac)o(k)n +(age;)h(this)g(pac)o(k)n(age)g(is)f(said)h(to)g(b)q(e)g(the)0 +840 y(curren)o(t)f(pac)o(k)n(age.)j(The)c(initial)e(v)n(alue)i(of)f +Fs(*package*)f Fw(is)i(the)g Fs(user)f Fw(pac)o(k)n(age.)42 +892 y(X3J13)k(v)o(oted)i(in)e(Marc)o(h)i(1989)e Ft(h)p +Fw(108)p Ft(i)h Fw(to)g(sp)q(ecify)g(that)h(the)f(forthcoming)e(ANSI) +-33 863 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 944 a(Common)9 b(Lisp)k(will)e(use)j(the)f(pac)o(k)n +(age)f(name)g Fs(common-lisp-user)d Fw(instead)k(of)f +Fs(user)p Fw(.)-33 955 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 995 a(The)h(function)g Fs(load)g Fw(rebinds)h +Fs(*package*)d Fw(to)j(its)f(curren)o(t)i(v)n(alue.)i(If)c(some)g(form) +e(in)0 1047 y(the)k(\014le)g(c)o(hanges)g(the)g(v)n(alue)f(of)g +Fs(*package*)f Fw(during)h(loading,)f(the)i(old)f(v)n(alue)g(will)f(b)q +(e)0 1099 y(restored)j(when)e(the)g(loading)f(is)g(completed.)42 +1151 y(X3J13)22 b(v)o(oted)g(in)g(Octob)q(er)i(1988)e +Ft(h)p Fw(21)p Ft(i)g Fw(to)h(require)g Fs(compile-file)d +Fw(to)i(rebind)-33 1123 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1203 a Fs(*package*)12 b Fw(to)i(its)g(curren)o(t)h(v)n +(alue.)-33 1215 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1308 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(make-package)19 b Fv(p)n(ackage)p Fs(-)p Fv(name)25 +b Fs(&key)c(:nicknames)e(:use)0 1385 y Fw(This)h(creates)i(and)d +(returns)j(a)d(new)i(pac)o(k)n(age)e(with)h(the)g(sp)q(eci\014ed)i(pac) +o(k)n(age)d(name.)0 1437 y(As)d(describ)q(ed)h(ab)q(o)o(v)o(e,)e(this)g +(argumen)o(t)f(ma)o(y)g(b)q(e)i(either)g(a)f(string)g(or)h(a)f(sym)o(b) +q(ol.)20 b(The)0 1489 y Fs(:nicknames)9 b Fw(argumen)o(t)g(m)o(ust)h(b) +q(e)h(a)f(list)h(of)f(strings)h(to)f(b)q(e)i(used)f(as)g(alternativ)o +(e)g(names)0 1540 y(for)18 b(the)g(pac)o(k)n(age.)30 +b(Once)19 b(again,)e(the)h(user)h(ma)o(y)d(supply)i(sym)o(b)q(ols)e(in) +i(place)g(of)f(the)0 1592 y(strings,)d(in)g(whic)o(h)f(case)i(the)g +(prin)o(t)f(names)f(of)g(the)i(sym)o(b)q(ols)e(are)h(used.)19 +b(These)d(names)0 1644 y(and)c(nic)o(knames)g(m)o(ust)g(not)g +(con\015ict)h(with)f(an)o(y)g(existing)h(pac)o(k)n(age)f(names;)g(if)f +(they)i(do,)0 1696 y(a)h(correctable)h(error)g(is)f(signaled.)42 +1748 y(The)g Fs(:use)g Fw(argumen)o(t)f(is)h(a)g(list)g(of)g(pac)o(k)n +(ages)g(or)g(the)h(names)f(\(strings)h(or)f(sym)o(b)q(ols\))0 +1800 y(of)h(pac)o(k)n(ages)g(whose)h(external)g(sym)o(b)q(ols)d(are)j +(to)f(b)q(e)h(inherited)g(b)o(y)f(the)h(new)g(pac)o(k)n(age.)0 +1852 y(These)f(pac)o(k)n(ages)g(m)o(ust)e(already)h(exist.)19 +b(If)13 b(not)i(supplied,)e Fs(:use)h Fw(defaults)g(to)g(a)g(list)f(of) +0 1904 y(one)h(pac)o(k)n(age,)f(the)i Fs(lisp)e Fw(pac)o(k)n(age.)42 +1956 y(X3J13)k(v)o(oted)i(in)e(Marc)o(h)i(1989)e Ft(h)p +Fw(108)p Ft(i)h Fw(to)g(sp)q(ecify)g(that)h(the)f(forthcoming)e(ANSI) +-33 1927 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2007 a(Common)11 b(Lisp)i(will)g(use)h(the)h(pac)o(k)n +(age)e(name)g Fs(common-lisp)f Fw(instead)i(of)f Fs(lisp)p +Fw(.)-33 2019 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2059 a(X3J13)k(v)o(oted)h(in)g(Jan)o(uary)g(1989)f +Ft(h)p Fw(119)p Ft(i)h Fw(to)g(c)o(hange)g(the)h(sp)q(eci\014cation)f +(of)g Fs(make-)-33 2031 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2111 a(package)j Fw(so)i(that)f(the)h(default)f(v)n +(alue)g(for)g(the)h Fs(:use)f Fw(argumen)o(t)f(is)i(unsp)q(eci\014ed.)0 +2163 y(P)o(ortable)14 b(co)q(de)h(should)e(sp)q(ecify)i +Fs(:use)639 2167 y Fn(')662 2163 y Fs(\("COMMON-LISP"\))c +Fw(explicitly)m(.)p 0 2223 V 0 2283 a Fm(Rationale:)24 +b FA(Man)o(y)16 b(existing)j(implemen)o(tations)g(of)d(Common)g(Lisp)i +(happ)q(en)f(to)f(ha)o(v)o(e)h(vi-)0 2329 y(olated)j(the)e(\014rst)h +(edition)h(sp)q(eci\014cation,)j(pro)o(viding)e(as)d(the)h(default)g +(not)g(only)h(the)e Fj(lisp)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 281 305 +281 304 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(P)m(A)o(CKA)o(GES)1143 +b(281)0 295 y FA(pac)o(k)n(age)15 b(but)f(also)i(\(or)e(instead\))h(a)f +(pac)o(k)n(age)h(con)o(taining)i(implemen)o(tation-dep)r(end)q(en)o(t)g +(lan-)0 340 y(guage)f(extensions.)27 b(This)16 b(is)h(for)e(go)q(o)q(d) +h(reason:)23 b(usually)18 b(it)e(is)g(m)o(uc)o(h)g(more)g(con)o(v)o +(enien)o(t)i(to)0 386 y(the)e(user)g(for)f(the)h(default)h +Fj(:use)d FA(list)j(to)e(b)q(e)h(the)g(en)o(tire,)h(implemen)o +(tation-dep)r(end)q(en)o(t,)i(ex-)0 432 y(tended)d(language)i(rather)d +(than)h(only)h(the)f(facilities)i(sp)q(eci\014ed)f(in)f(this)g(b)q(o)q +(ok.)25 b(The)16 b(X3J13)0 477 y(v)o(ote)d(simply)i(legitimizes)h +(existing)f(practice.)p 0 514 V -33 526 a @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 654 a Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(in-package)19 b Fv(p)n(ackage)p Fs(-)p Fv(name)26 +b Fs(&key)20 b(:nicknames)f(:use)-38 629 y Fk(.)-38 642 +y(.)-38 655 y(.)-38 667 y(.)-38 680 y(.)-38 693 y(.)-38 +706 y(.)-38 719 y(.)-38 732 y(.)-38 745 y(.)-38 758 y(.)-38 +771 y(.)-38 784 y(.)-38 797 y(.)-38 810 y(.)-38 823 y(.)-38 +836 y(.)-38 849 y(.)-38 862 y(.)-38 875 y(.)-38 888 y(.)-38 +901 y(.)-38 914 y(.)-38 927 y(.)-38 940 y(.)-38 953 y(.)-38 +966 y(.)-38 979 y(.)-38 992 y(.)-38 1005 y(.)-38 1018 +y(.)-38 1031 y(.)-38 1044 y(.)-38 1057 y(.)-38 1070 y(.)-38 +1083 y(.)-38 1096 y(.)-38 1109 y(.)-38 1122 y(.)-38 1134 +y(.)-38 1147 y(.)-38 1160 y(.)-38 1173 y(.)-38 1186 y(.)-38 +1199 y(.)-38 1212 y(.)-38 1225 y(.)-38 1238 y(.)-38 1251 +y(.)-38 1264 y(.)-38 1277 y(.)-38 1290 y(.)-38 1303 y(.)-38 +1316 y(.)-38 1329 y(.)-38 1342 y(.)-38 1355 y(.)-38 1368 +y(.)-38 1381 y(.)-38 1394 y(.)-38 1407 y(.)-38 1420 y(.)-38 +1433 y(.)-38 1446 y(.)-38 1459 y(.)-38 1472 y(.)-38 1485 +y(.)-38 1498 y(.)-38 1511 y(.)-38 1524 y(.)-38 1537 y(.)-38 +1550 y(.)-38 1563 y(.)-38 1576 y(.)-38 1589 y(.)-38 1601 +y(.)-38 1614 y(.)-38 1627 y(.)-38 1640 y(.)-38 1653 y(.)-38 +1666 y(.)-38 1679 y(.)-38 1692 y(.)-38 1705 y(.)-38 1718 +y(.)-38 1731 y(.)-38 1744 y(.)-38 1757 y(.)-38 1770 y(.)-38 +1783 y(.)-38 1796 y(.)-38 1809 y(.)-38 1822 y(.)-38 1835 +y(.)-38 1848 y(.)-38 1861 y(.)-38 1874 y(.)-38 1887 y(.)-38 +1900 y(.)-38 1913 y(.)-38 1926 y(.)-38 1939 y(.)-38 1952 +y(.)-38 1965 y(.)-38 1978 y(.)-38 1991 y(.)-38 2004 y(.)-38 +2017 y(.)-38 2030 y(.)-38 2043 y(.)-38 2056 y(.)-38 2068 +y(.)-38 2081 y(.)-38 2094 y(.)-38 2107 y(.)-38 2120 y(.)-38 +2133 y(.)-38 2146 y(.)-38 2159 y(.)-38 2172 y(.)-38 2185 +y(.)-38 2198 y(.)-38 2211 y(.)-38 2224 y(.)-38 2237 y(.)-38 +2250 y(.)-38 2263 y(.)-38 2276 y(.)-38 2289 y(.)-38 2302 +y(.)-38 2315 y(.)-38 2328 y(.)-38 2341 y(.)-38 2354 y(.)-38 +2367 y(.)-38 2380 y(.)-38 2393 y(.)-38 2406 y(.)-38 2419 +y(.)-38 2432 y(.)-38 2445 y(.)-38 2458 y(.)-38 2471 y(.)-38 +2484 y(.)-38 2497 y(.)-38 2510 y(.)-38 2523 y(.)-38 2535 +y(.)-38 2548 y(.)-38 2561 y(.)-38 2574 y(.)-38 2587 y(.)-38 +2600 y(.)-38 2613 y(.)-38 2626 y(.)-38 2639 y(.)-38 2652 +y(.)-38 2665 y(.)-38 2678 y(.)-38 2691 y(.)-38 2704 y(.)-38 +2717 y(.)-38 2730 y(.)-38 2743 y(.)-38 2756 y(.)-38 2769 +y(.)-38 2782 y(.)-38 2795 y(.)-38 2808 y(.)-38 2821 y(.)-38 +2834 y(.)-38 2847 y(.)-38 2860 y(.)-38 2873 y(.)-38 2886 +y(.)-38 2899 y(.)-38 2912 y(.)-38 2925 y(.)-38 2938 y(.)-38 +2951 y(.)-38 2964 y(.)-38 2977 y(.)-38 2990 y(.)-38 3002 +y(.)-38 3015 y(.)-38 3028 y(.)-38 3041 y(.)-38 3054 y(.)-38 +3067 y(.)-38 3080 y(.)-38 3093 y(.)-38 3106 y(.)-38 3119 +y(.)-38 3132 y(.)-38 3145 y(.)-38 3158 y(.)-38 3171 y(.)-38 +3184 y(.)-38 3197 y(.)-38 3210 y(.)0 731 y Fw(The)d Fs(in-package)d +Fw(function)i(is)g(in)o(tended)h(to)g(b)q(e)g(placed)f(at)g(the)h +(start)g(of)f(a)g(\014le)h(con-)0 783 y(taining)d(a)g(subsystem)h(that) +g(is)g(to)g(b)q(e)g(loaded)g(in)o(to)f(some)g(pac)o(k)n(age)h(other)g +(than)g Fs(user)p Fw(.)42 835 y(If)d(there)h(is)g(not)f(already)g(a)h +(pac)o(k)n(age)f(named)f Fv(p)n(ackage-name)p Fw(,)j(this)e(function)h +(is)f(simi-)0 887 y(lar)g(to)g Fs(make-package)p Fw(,)d(except)13 +b(that)e(after)g(the)h(new)f(pac)o(k)n(age)g(is)g(created,)i +Fs(*package*)0 938 y Fw(is)h(set)h(to)f(it.)19 b(This)14 +b(binding)f(will)g(remain)f(in)i(force)h(un)o(til)e(c)o(hanged)i(b)o(y) +f(the)h(user)g(\(p)q(er-)0 990 y(haps)h(with)f(another)h +Fs(in-package)e Fw(call\))h(or)h(un)o(til)e(the)j Fs(*package*)d +Fw(v)n(ariable)g(rev)o(erts)0 1042 y(to)g(its)g(old)f(v)n(alue)g(at)h +(the)g(completion)e(of)i(a)f Fs(load)g Fw(op)q(eration.)42 +1094 y(If)d(there)j(is)e(an)g(existing)f(pac)o(k)n(age)h(whose)h(name)e +(is)h Fv(p)n(ackage-name)p Fw(,)h(the)g(assumption)0 +1146 y(is)j(that)h(the)g(user)g(is)g(re-loading)e(a)h(\014le)h(after)f +(making)e(some)i(c)o(hanges.)23 b(The)16 b(existing)0 +1198 y(pac)o(k)n(age)g(is)h(augmen)o(ted)f(to)g(re\015ect)j(an)o(y)d +(new)h(nic)o(knames)f(or)h(new)g(pac)o(k)n(ages)g(in)f(the)0 +1250 y Fs(:use)f Fw(list)h(\(with)f(the)i(usual)f(error)g(c)o(hec)o +(king\),)h(and)f Fs(*package*)e Fw(is)h(then)i(set)g(to)f(this)0 +1302 y(pac)o(k)n(age.)-33 1314 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1385 a(X3J13)c(v)o(oted)h(in)f(Jan)o(uary)h(1989)e +Ft(h)p Fw(156)p Ft(i)i Fw(to)f(sp)q(ecify)h(that)g Fs(in-package)e +Fw(returns)j(the)-33 1357 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1437 a(new)k(pac)o(k)n(age,)g(that)g(is,)h(the)f(v)n +(alue)g(of)f Fs(*package*)f Fw(after)i(the)h(op)q(eration)f(has)g(b)q +(een)0 1489 y(executed.)-33 1501 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1541 a(X3J13)f(v)o(oted)i(in)e(Marc)o(h)i(1989)e +Ft(h)p Fw(108)p Ft(i)h Fw(to)g(sp)q(ecify)g(that)h(the)f(forthcoming)e +(ANSI)-33 1513 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1593 a(Common)9 b(Lisp)k(will)e(use)j(the)f(pac)o(k)n +(age)f(name)g Fs(common-lisp-user)d Fw(instead)k(of)f +Fs(user)p Fw(.)-33 1605 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1645 a(X3J13)d(v)o(oted)h(in)f(Marc)o(h)h(1989)f +Ft(h)p Fw(103)p Ft(i)g Fw(to)h(restrict)h(the)g(functionalit)o(y)d(of)h +Fs(in-package)-33 1617 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1697 a Fw(and)14 b(to)f(mak)o(e)g(it)g(a)h(macro.)j +(This)d(is)f(an)h(incompatible)e(c)o(hange.)42 1749 y(Making)k +Fs(in-package)g Fw(a)h(macro)g(rather)h(than)g(a)g(function)f(means)g +(that)h(there)h(is)0 1801 y(no)14 b(need)g(to)g(require)h +Fs(compile-file)c Fw(to)j(handle)f(it)h(sp)q(ecially)m(.)j(Since)d +Fs(defpackage)e Fw(is)0 1853 y(also)j(de\014ned)h(to)f(ha)o(v)o(e)g +(side)g(e\013ects)j(on)c(the)i(compilation)d(en)o(vironmen)o(t,)g +(there)k(is)e(no)0 1905 y(need)j(to)f(require)h(an)o(y)f(of)f(the)i +(pac)o(k)n(age)f(functions)g(to)g(b)q(e)h(treated)g(sp)q(ecially)f(b)o +(y)g(the)0 1957 y(compiler.)-33 2068 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 2096 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(in-package)33 b Fv(name)0 2173 y Fw(This)16 b(macro)f(causes)i +Fs(*package*)e Fw(to)h(b)q(e)g(set)i(to)e(the)g(pac)o(k)n(age)g(named)f +Fv(name)p Fw(,)i(whic)o(h)0 2225 y(m)o(ust)c(b)q(e)i(a)e(sym)o(b)q(ol)g +(or)h(string.)k(The)d Fv(name)f Fw(is)g(not)g(ev)n(aluated.)k(An)c +(error)h(is)f(signaled)0 2277 y(if)19 b(the)h(pac)o(k)n(age)f(do)q(es)h +(not)f(already)g(exist.)36 b(Ev)o(erything)19 b(this)h(macro)e(do)q(es) +i(is)f(also)0 2329 y(p)q(erformed)14 b(at)f(compile)g(time)f(if)h(the)i +(call)e(app)q(ears)h(at)g(top)g(lev)o(el.)-33 2340 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 282 306 +282 305 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(282)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(find-package)19 b Fv(name)0 372 y Fw(The)i Fv(name)f +Fw(m)o(ust)f(b)q(e)i(a)f(string)g(that)g(is)g(the)g(name)f(or)h(nic)o +(kname)f(for)h(a)g(pac)o(k)n(age.)0 424 y(This)14 b(argumen)o(t)f(ma)o +(y)f(also)h(b)q(e)h(a)g(sym)o(b)q(ol,)e(in)h(whic)o(h)h(case)h(the)f +(sym)o(b)q(ol's)e(prin)o(t)i(name)0 476 y(is)19 b(used.)33 +b(The)19 b(pac)o(k)n(age)f(with)h(that)f(name)g(or)h(nic)o(kname)e(is)h +(returned;)23 b(if)18 b(no)g(suc)o(h)0 528 y(pac)o(k)n(age)c(exists,)h +Fs(find-package)e Fw(returns)j Fs(nil)p Fw(.)j(The)d(matc)o(hing)c(of)i +(names)g(observ)o(es)0 579 y(case)h(\(as)f(in)f Fs(string)335 +575 y(U)335 583 y(U)356 579 y Fw(\).)42 632 y(X3J13)19 +b(v)o(oted)h(in)f(Jan)o(uary)h(1989)e Ft(h)p Fw(127)p +Ft(i)i Fw(to)f(allo)o(w)f Fs(find-package)f Fw(to)j(accept)h(a)-33 +603 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 683 a(pac)o(k)n(age)10 b(ob)r(ject,)h(in)f(whic)o(h)g +(case)h(the)f(pac)o(k)n(age)g(is)g(simply)e(returned)k(\(see)f(section) +g(11.2\).)-33 695 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 826 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(package-name)19 b Fv(p)n(ackage)0 903 y Fw(The)11 +b(argumen)o(t)f(m)o(ust)g(b)q(e)h(a)g(pac)o(k)n(age.)17 +b(This)10 b(function)h(returns)h(the)g(string)f(that)g(names)0 +955 y(that)j(pac)o(k)n(age.)42 1007 y(X3J13)19 b(v)o(oted)h(in)f(Jan)o +(uary)h(1989)e Ft(h)p Fw(127)p Ft(i)i Fw(to)f(allo)o(w)f +Fs(package-name)f Fw(to)j(accept)h(a)-33 978 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1059 a(pac)o(k)n(age)16 b(name)f(or)h(nic)o(kname,)f(in) +g(whic)o(h)h(case)i(the)e(primary)f(name)g(of)g(the)i(pac)o(k)n(age)0 +1111 y(so)d(sp)q(eci\014ed)h(is)f(returned)i(\(see)f(section)g(11.2\).) +-33 1122 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1163 a(X3J13)h(v)o(oted)g(in)g(Jan)o(uary)g(1989)g +Ft(h)p Fw(126)p Ft(i)g Fw(to)g(add)g(a)g(function)g(to)h(delete)g(pac)o +(k)n(ages.)-33 1134 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1215 a(One)c(consequence)j(of)c(this)h(v)o(ote)f(is)h +(that)g Fs(package-name)d Fw(will)h(return)j Fs(nil)e +Fw(instead)h(of)0 1267 y(a)g(pac)o(k)n(age)g(name)g(if)g(applied)f(to)i +(a)f(deleted)i(pac)o(k)n(age)e(ob)r(ject.)19 b(See)14 +b Fs(delete-package)p Fw(.)-33 1278 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1409 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(package-nicknames)18 b Fv(p)n(ackage)0 1486 y Fw(The)c(argumen)o +(t)f(m)o(ust)g(b)q(e)h(a)g(pac)o(k)n(age.)j(This)d(function)g(returns)h +(the)g(list)e(of)g(nic)o(kname)0 1538 y(strings)h(for)g(that)g(pac)o(k) +n(age,)f(not)h(including)f(the)h(primary)e(name.)42 1590 +y(X3J13)g(v)o(oted)h(in)f(Jan)o(uary)h(1989)f Ft(h)p +Fw(127)p Ft(i)g Fw(to)h(allo)o(w)e Fs(package-nicknames)f +Fw(to)i(accept)-33 1562 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1642 a(a)i(pac)o(k)n(age)h(name)e(or)i(nic)o(kname,)e +(in)h(whic)o(h)g(case)i(the)f(nic)o(knames)f(of)g(the)h(pac)o(k)n(age)g +(so)0 1694 y(sp)q(eci\014ed)g(are)g(returned)g(\(see)h(section)e +(11.2\).)-33 1705 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1836 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(rename-package)18 b Fv(p)n(ackage)25 b(new)p Fs(-)p +Fv(name)g Fs(&optional)326 1888 y Fv(new)p Fs(-)p Fv(nicknames)0 +1965 y Fw(The)19 b(old)f(name)g(and)h(all)e(of)h(the)i(old)e(nic)o +(knames)g(of)g Fv(p)n(ackage)i Fw(are)f(eliminated)e(and)0 +2017 y(are)g(replaced)g(b)o(y)f Fv(new-name)h Fw(and)g +Fv(new-nicknames)p Fw(.)26 b(The)17 b Fv(new-name)g Fw(argumen)o(t)e +(is)0 2069 y(a)f(string)g(or)g(sym)o(b)q(ol;)e(the)j +Fv(new-nicknames)f Fw(argumen)o(t,)f(whic)o(h)h(defaults)g(to)g +Fs(nil)p Fw(,)f(is)h(a)0 2121 y(list)f(of)h(strings)g(or)g(sym)o(b)q +(ols.)42 2173 y(X3J13)i(v)o(oted)i(in)e(Jan)o(uary)h(1989)f +Ft(h)p Fw(127)p Ft(i)h Fw(to)g(clarify)f(that)h(the)h +Fv(p)n(ackage)g Fw(argumen)o(t)-33 2144 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2225 a(ma)o(y)12 b(b)q(e)i(either)h(a)f(pac)o(k)n(age)f +(ob)r(ject)i(or)f(a)f(pac)o(k)n(age)h(name)f(\(see)i(section)f(11.2\).) +-33 2236 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2277 a(X3J13)c(v)o(oted)h(in)g(Jan)o(uary)g(1989)f +Ft(h)p Fw(156)p Ft(i)g Fw(to)h(sp)q(ecify)h(that)f Fs(rename-package)d +Fw(returns)-33 2249 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a Fv(p)n(ackage)p Fw(.)-33 2340 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 283 307 +283 306 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(P)m(A)o(CKA)o(GES)1143 +b(283)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b +Fs(package-use-list)18 b Fv(p)n(ackage)0 372 y Fw(A)c(list)f(of)h +(other)g(pac)o(k)n(ages)g(used)h(b)o(y)e(the)i(argumen)o(t)e(pac)o(k)n +(age)g(is)h(returned.)42 424 y(X3J13)i(v)o(oted)i(in)e(Jan)o(uary)h +(1989)f Ft(h)p Fw(127)p Ft(i)h Fw(to)g(clarify)f(that)h(the)h +Fv(p)n(ackage)g Fw(argumen)o(t)-33 396 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 476 a(ma)o(y)12 b(b)q(e)i(either)h(a)f(pac)o(k)n(age)f +(ob)r(ject)i(or)f(a)f(pac)o(k)n(age)h(name)f(\(see)i(section)f(11.2\).) +-33 487 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 615 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(package-used-by-l)o(ist)18 b Fv(p)n(ackage)0 692 +y Fw(A)c(list)f(of)h(other)g(pac)o(k)n(ages)g(that)g(use)h(the)f +(argumen)o(t)f(pac)o(k)n(age)g(is)h(returned.)42 744 +y(X3J13)i(v)o(oted)i(in)e(Jan)o(uary)h(1989)f Ft(h)p +Fw(127)p Ft(i)h Fw(to)g(clarify)f(that)h(the)h Fv(p)n(ackage)g +Fw(argumen)o(t)-33 716 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 796 a(ma)o(y)12 b(b)q(e)i(either)h(a)f(pac)o(k)n(age)f +(ob)r(ject)i(or)f(a)f(pac)o(k)n(age)h(name)f(\(see)i(section)f(11.2\).) +-33 808 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 936 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(package-shadowing)o(-symb)o(ols)18 b Fv(p)n(ackage)0 +1013 y Fw(A)e(list)f(is)g(returned)i(of)e(sym)o(b)q(ols)f(that)i(ha)o +(v)o(e)f(b)q(een)i(declared)f(as)g(shado)o(wing)e(sym)o(b)q(ols)0 +1065 y(in)e(this)h(pac)o(k)n(age)g(b)o(y)g Fs(shadow)e +Fw(or)i Fs(shadowing-import)p Fw(.)i(All)d(sym)o(b)q(ols)f(on)i(this)g +(list)f(are)0 1117 y(presen)o(t)j(in)f(the)g(sp)q(eci\014ed)i(pac)o(k)n +(age.)42 1169 y(X3J13)g(v)o(oted)i(in)e(Jan)o(uary)h(1989)f +Ft(h)p Fw(127)p Ft(i)h Fw(to)g(clarify)f(that)h(the)h +Fv(p)n(ackage)g Fw(argumen)o(t)-33 1140 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1221 a(ma)o(y)12 b(b)q(e)i(either)h(a)f(pac)o(k)n(age)f +(ob)r(ject)i(or)f(a)f(pac)o(k)n(age)h(name)f(\(see)i(section)f(11.2\).) +-33 1232 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1360 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(list-all-packages)0 1437 y Fw(This)18 b(function)f(returns)j(a)d +(list)h(of)f(all)f(pac)o(k)n(ages)i(that)g(curren)o(tly)h(exist)f(in)f +(the)i(Lisp)0 1489 y(system.)1209 1628 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(delete-package)18 b Fv(p)n(ackage)-33 +1600 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1705 a Fw(X3J13)h(v)o(oted)h(in)f(Jan)o(uary)h(1989)e +Ft(h)p Fw(126)p Ft(i)i Fw(to)f(add)h(the)g Fs(delete-package)c +Fw(function,)0 1757 y(whic)o(h)f(deletes)i(the)f(sp)q(eci\014ed)h +Fv(p)n(ackage)f Fw(from)e(all)g(pac)o(k)n(age)h(system)g(data)g +(structures.)0 1809 y(The)f Fv(p)n(ackage)h Fw(argumen)o(t)e(ma)o(y)f +(b)q(e)i(either)h(a)f(pac)o(k)n(age)f(or)h(the)g(name)f(of)g(a)h(pac)o +(k)n(age.)42 1861 y(If)19 b Fv(p)n(ackage)h Fw(is)f(a)g(name)f(but)i +(there)h(is)e(curren)o(tly)h(no)g(pac)o(k)n(age)f(of)f(that)i(name,)f +(a)0 1913 y(correctable)h(error)f(is)f(signaled.)30 b(Con)o(tin)o(uing) +17 b(from)g(the)i(error)g(mak)o(es)e(no)h(deletion)0 +1965 y(attempt)13 b(but)h(merely)f(returns)j Fs(nil)d +Fw(from)f(the)j(call)e(to)g Fs(delete-package)p Fw(.)42 +2017 y(If)k Fv(p)n(ackage)i Fw(is)f(a)f(pac)o(k)n(age)h(ob)r(ject)g +(that)g(has)g(already)g(b)q(een)h(deleted,)g(no)f(error)h(is)0 +2069 y(signaled)12 b(and)g(no)h(deletion)f(is)h(attempted;)f(instead,)h +Fs(delete-package)c Fw(immediately)0 2121 y(returns)15 +b Fs(nil)p Fw(.)42 2173 y(If)i(the)i(pac)o(k)n(age)f(sp)q(eci\014ed)i +(for)e(deletion)g(is)h(curren)o(tly)g(used)g(b)o(y)f(other)h(pac)o(k)n +(ages,)0 2225 y(a)d(correctable)i(error)f(is)g(signaled.)25 +b(Con)o(tin)o(uing)15 b(from)f(this)j(error,)g(the)g(e\013ect)h(of)e +(the)0 2277 y(function)e Fs(unuse-package)e Fw(is)i(p)q(erformed)g(on)g +(all)f(suc)o(h)i(other)g(pac)o(k)n(ages)f(so)h(as)f(to)g(re-)0 +2329 y(mo)o(v)o(e)c(their)h(dep)q(endency)j(on)d(the)h(sp)q(eci\014ed)h +(pac)o(k)n(age,)e(after)g(whic)o(h)h Fs(delete-package)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 284 308 +284 307 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(284)77 b(COMMON)13 +b(LISP)0 295 y Fw(pro)q(ceeds)h(to)e(delete)h(the)g(sp)q(eci\014ed)h +(pac)o(k)n(age)e(as)g(if)f(no)h(other)h(pac)o(k)n(age)f(had)g(b)q(een)h +(using)0 347 y(it.)42 400 y(If)f(an)o(y)g(sym)o(b)q(ol)f(had)h(the)i +(sp)q(eci\014ed)g(pac)o(k)n(age)e(as)h(its)g(home)e(pac)o(k)n(age)i(b)q +(efore)g(the)h(call)0 451 y(to)c Fs(delete-package)p +Fw(,)d(then)k(its)f(home)f(pac)o(k)n(age)h(is)g(unsp)q(eci\014ed)h +(\(that)g(is,)f(the)h(con)o(ten)o(ts)0 503 y(of)16 b(its)h(pac)o(k)n +(age)f(cell)h(are)g(unsp)q(eci\014ed\))h(after)f(the)g +Fs(delete-package)d Fw(op)q(eration)j(has)0 555 y(b)q(een)12 +b(completed.)k(Sym)o(b)q(ols)10 b(in)g(the)h(deleted)h(pac)o(k)n(age)f +(are)g(not)g(mo)q(di\014ed)e(in)i(an)o(y)f(other)0 607 +y(w)o(a)o(y)m(.)42 660 y(The)18 b(name)f(and)h(nic)o(knames)g(of)f(the) +i Fv(p)n(ackage)g Fw(cease)h(to)e(b)q(e)h(recognized)g(pac)o(k)n(age)0 +712 y(names.)f(The)d(pac)o(k)n(age)f(ob)r(ject)h(is)f(still)g(a)f(pac)o +(k)n(age,)h(but)h(anon)o(ymous;)d Fs(packagep)g Fw(will)0 +764 y(b)q(e)j(true)f(of)g(it,)f(but)h Fs(package-name)d +Fw(applied)i(to)h(it)g(will)e(return)j Fs(nil)p Fw(.)42 +817 y(The)i(e\013ect)i(of)e(an)o(y)g(other)g(pac)o(k)n(age)g(op)q +(eration)h(on)f(a)g(deleted)h(pac)o(k)n(age)f(ob)r(ject)h(is)0 +869 y(unde\014ned.)37 b(In)19 b(particular,)i(an)e(attempt)g(to)g(lo)q +(cate)h(a)g(sym)o(b)q(ol)d(within)i(a)h(deleted)0 920 +y(pac)o(k)n(age)e(\(using)g Fs(intern)e Fw(or)j Fs(find-symbol)p +Fw(,)d(for)i(example\))f(will)f(ha)o(v)o(e)i(unsp)q(eci\014ed)0 +972 y(results.)42 1025 y Fs(delete-package)10 b Fw(returns)16 +b Fs(t)e Fw(if)f(the)h(deletion)g(succeeds,)i(and)e Fs(nil)f +Fw(otherwise.)-33 1037 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1202 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(intern)20 b Fv(string)k Fs(&optional)c Fv(p)n(ackage)0 +1280 y Fw(The)15 b Fv(p)n(ackage)p Fw(,)f(whic)o(h)g(defaults)g(to)g +(the)h(curren)o(t)h(pac)o(k)n(age,)d(is)h(searc)o(hed)i(for)e(a)g(sym)o +(b)q(ol)0 1332 y(with)19 b(the)h(name)f(sp)q(eci\014ed)i(b)o(y)e(the)h +Fv(string)f Fw(argumen)o(t.)34 b(This)20 b(searc)o(h)h(will)d(include)0 +1384 y(inherited)13 b(sym)o(b)q(ols,)e(as)i(describ)q(ed)h(in)e +(section)i(11.4.)i(If)c(a)h(sym)o(b)q(ol)e(with)h(the)h(sp)q(eci\014ed) +0 1436 y(name)18 b(is)i(found,)g(it)f(is)g(returned.)37 +b(If)19 b(no)g(suc)o(h)h(sym)o(b)q(ol)e(is)h(found,)h(one)g(is)f +(created)0 1488 y(and)13 b(is)g(installed)f(in)h(the)g(sp)q(eci\014ed)i +(pac)o(k)n(age)e(as)g(an)f(in)o(ternal)h(sym)o(b)q(ol)e(\(as)i(an)g +(external)0 1539 y(sym)o(b)q(ol)d(if)i(the)h(pac)o(k)n(age)e(is)h(the)h +Fs(keyword)e Fw(pac)o(k)n(age\);)h(the)h(sp)q(eci\014ed)h(pac)o(k)n +(age)d(b)q(ecomes)0 1591 y(the)j(home)f(pac)o(k)n(age)h(of)f(the)h +(created)i(sym)o(b)q(ol.)42 1644 y(X3J13)e(v)o(oted)g(in)g(Marc)o(h)h +(1989)e Ft(h)p Fw(11)p Ft(i)h Fw(to)g(sp)q(ecify)h(that)g +Fs(intern)e Fw(ma)o(y)f(in)i(e\013ect)i(p)q(er-)-33 1616 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1696 a(form)e(the)i(searc)o(h)g(using)g(a)f(cop)o(y)g +(of)g(the)h(argumen)o(t)e(string)i(in)f(whic)o(h)g(some)g(or)g(all)f +(of)0 1748 y(the)e(implemen)o(tatio)o(n-de\014ned)e(attributes)i(ha)o +(v)o(e)f(b)q(een)i(remo)o(v)o(ed)d(from)g(the)i(c)o(haracters)0 +1800 y(of)h(the)i(string.)j(It)c(is)g(implem)o(en)o(tation-dep)q(enden) +o(t)f(whic)o(h)g(attributes)i(are)f(remo)o(v)o(ed.)-33 +1812 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1853 a(Tw)o(o)d(v)n(alues)h(are)g(returned.)19 +b(The)12 b(\014rst)h(is)f(the)g(sym)o(b)q(ol)e(that)i(w)o(as)g(found)g +(or)g(created.)0 1905 y(The)g(second)h(v)n(alue)e(is)g +Fs(nil)g Fw(if)g(no)h(pre-existing)g(sym)o(b)q(ol)e(w)o(as)h(found,)g +(and)h(tak)o(es)g(on)g(one)0 1957 y(of)h(three)i(v)n(alues)f(if)f(a)h +(sym)o(b)q(ol)e(w)o(as)i(found:)0 2038 y Fs(:internal)101 +b Fw(The)11 b(sym)o(b)q(ol)e(w)o(as)i(directly)g(presen)o(t)i(in)d(the) +i(pac)o(k)n(age)e(as)h(an)g(in)o(ternal)299 2090 y(sym)o(b)q(ol.)0 +2184 y Fs(:external)101 b Fw(The)14 b(sym)o(b)q(ol)e(w)o(as)i(directly) +g(presen)o(t)i(as)e(an)f(external)i(sym)o(b)q(ol.)0 2277 +y Fs(:inherited)79 b Fw(The)18 b(sym)o(b)q(ol)f(w)o(as)h(inherited)g +(via)g Fs(use-package)e Fw(\(whic)o(h)i(implies)299 2329 +y(that)c(the)g(sym)o(b)q(ol)e(is)i(in)o(ternal\).)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 285 309 +285 308 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(P)m(A)o(CKA)o(GES)1143 +b(285)42 295 y Fw(X3J13)16 b(v)o(oted)i(in)e(Jan)o(uary)h(1989)f +Ft(h)p Fw(127)p Ft(i)h Fw(to)g(clarify)f(that)h(the)h +Fv(p)n(ackage)g Fw(argumen)o(t)-33 266 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(ma)o(y)12 b(b)q(e)i(either)h(a)f(pac)o(k)n(age)f +(ob)r(ject)i(or)f(a)f(pac)o(k)n(age)h(name)f(\(see)i(section)f(11.2\).) +-33 358 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 406 V 0 467 a Fm(Compatibilit)o(y)i(note:)25 +b FA(Conceptually)m(,)20 b Fj(intern)14 b FA(translates)19 +b(a)d(string)i(to)f(a)g(sym)o(b)q(ol.)30 b(In)0 512 y(MacLisp)19 +b(and)f(sev)o(eral)g(other)g(dialects)h(of)e(Lisp,)i +Fj(intern)14 b FA(can)k(tak)o(e)g(either)g(a)f(string)h(or)g(a)0 +558 y(sym)o(b)q(ol)h(as)e(its)g(argumen)o(t;)j(in)e(the)f(latter)h +(case,)g(the)f(sym)o(b)q(ol's)i(prin)o(t)f(name)f(is)h(extracted)0 +604 y(and)c(used)f(as)g(the)g(string.)18 b(Ho)o(w)o(ev)o(er,)12 +b(this)i(leads)g(to)f(some)g(confusing)i(issues)f(ab)q(out)g(what)f(to) +0 649 y(do)h(if)g Fj(intern)e FA(\014nds)i(a)g(sym)o(b)q(ol)h(that)g +(is)f(not)g Fj(eq)f FA(to)h(the)g(argumen)o(t)g(sym)o(b)q(ol.)21 +b(T)m(o)14 b(a)o(v)o(oid)h(suc)o(h)0 695 y(confusion,)f(Common)g(Lisp)g +(requires)g(the)f(argumen)o(t)h(to)f(b)q(e)g(a)g(string.)p +0 728 V 1209 833 a Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(find-symbol)19 b Fv(string)24 b Fs(&optional)19 +b Fv(p)n(ackage)0 910 y Fw(This)10 b(is)f(iden)o(tical)g(to)g +Fs(intern)p Fw(,)g(but)h(it)f(nev)o(er)i(creates)g(a)f(new)g(sym)o(b)q +(ol.)15 b(If)9 b(a)g(sym)o(b)q(ol)f(with)0 962 y(the)j(sp)q(eci\014ed)h +(name)e(is)g(found)h(in)f(the)h(sp)q(eci\014ed)h(pac)o(k)n(age,)f +(directly)f(or)h(b)o(y)f(inheritance,)0 1014 y(the)19 +b(sym)o(b)q(ol)e(found)h(is)h(returned)h(as)f(the)g(\014rst)h(v)n(alue) +e(and)g(the)h(second)h(v)n(alue)e(is)h(as)0 1065 y(sp)q(eci\014ed)d +(for)e Fs(intern)p Fw(.)k(If)c(the)h(sym)o(b)q(ol)d(is)i(not)g +(accessible)i(in)e(the)h(sp)q(eci\014ed)h(pac)o(k)n(age,)0 +1117 y(b)q(oth)e(v)n(alues)g(are)g Fs(nil)p Fw(.)42 1169 +y(X3J13)i(v)o(oted)i(in)e(Jan)o(uary)h(1989)f Ft(h)p +Fw(127)p Ft(i)h Fw(to)g(clarify)f(that)h(the)h Fv(p)n(ackage)g +Fw(argumen)o(t)-33 1141 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1221 a(ma)o(y)12 b(b)q(e)i(either)h(a)f(pac)o(k)n(age)f +(ob)r(ject)i(or)f(a)f(pac)o(k)n(age)h(name)f(\(see)i(section)f(11.2\).) +-33 1233 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1346 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(unintern)20 b Fv(symb)n(ol)25 b Fs(&optional)19 +b Fv(p)n(ackage)0 1423 y Fw(If)14 b(the)g(sp)q(eci\014ed)i(sym)o(b)q +(ol)c(is)i(presen)o(t)i(in)e(the)g(sp)q(eci\014ed)i Fv(p)n(ackage)p +Fw(,)f(it)e(is)h(remo)o(v)o(ed)f(from)0 1475 y(that)d(pac)o(k)n(age)g +(and)f(also)h(from)e(the)i(pac)o(k)n(age's)g(shado)o(wing-sym)o(b)q +(ols)d(list)j(if)f(it)g(is)h(presen)o(t)0 1527 y(there.)18 +b(Moreo)o(v)o(er,)11 b(if)d(the)j Fv(p)n(ackage)f Fw(is)g(the)g(home)f +(pac)o(k)n(age)g(for)h(the)g(sym)o(b)q(ol,)e(the)j(sym)o(b)q(ol)0 +1579 y(is)20 b(made)f(to)i(ha)o(v)o(e)f(no)g(home)f(pac)o(k)n(age.)37 +b(Note)21 b(that)f(in)g(some)g(circumstances)h(the)0 +1631 y(sym)o(b)q(ol)11 b(ma)o(y)g(con)o(tin)o(ue)i(to)g(b)q(e)h +(accessible)g(in)f(the)h(sp)q(eci\014ed)g(pac)o(k)n(age)f(b)o(y)f +(inheritance.)0 1683 y Fs(unintern)g Fw(returns)k Fs(t)d +Fw(if)g(it)h(actually)f(remo)o(v)o(ed)g(a)g(sym)o(b)q(ol,)f(and)i +Fs(nil)f Fw(otherwise.)42 1734 y Fs(unintern)e Fw(should)i(b)q(e)h +(used)g(with)f(caution.)k(It)d(c)o(hanges)g(the)g(state)g(of)e(the)i +(pac)o(k)n(age)0 1786 y(system)d(in)g(suc)o(h)h(a)f(w)o(a)o(y)g(that)g +(the)h(consistency)h(rules)f(do)f(not)g(hold)g(across)h(the)g(c)o +(hange.)42 1838 y(X3J13)k(v)o(oted)i(in)e(Jan)o(uary)h(1989)f +Ft(h)p Fw(127)p Ft(i)h Fw(to)g(clarify)f(that)h(the)h +Fv(p)n(ackage)g Fw(argumen)o(t)-33 1810 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1890 a(ma)o(y)12 b(b)q(e)i(either)h(a)f(pac)o(k)n(age)f +(ob)r(ject)i(or)f(a)f(pac)o(k)n(age)h(name)f(\(see)i(section)f(11.2\).) +-33 1902 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1950 V 0 2010 a Fm(Compatibilit)o(y)e(note:)17 +b FA(The)c(equiv)n(alen)o(t)j(of)c(this)i(in)g(MacLisp)g(is)g +Fj(remob)p FA(.)p 0 2044 V 1209 2148 a Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(export)20 b Fv(symb)n(ols)k Fs(&optional)c +Fv(p)n(ackage)0 2225 y Fw(The)c Fv(symb)n(ols)e Fw(argumen)o(t)g +(should)h(b)q(e)h(a)f(list)g(of)f(sym)o(b)q(ols,)g(or)h(p)q(ossibly)f +(a)h(single)g(sym-)0 2277 y(b)q(ol.)31 b(These)20 b(sym)o(b)q(ols)d(b)q +(ecome)h(accessible)i(as)e(external)h(sym)o(b)q(ols)e(in)h +Fv(p)n(ackage)h Fw(\(see)0 2329 y(section)c(11.4\).)i +Fs(export)12 b Fw(returns)k Fs(t)p Fw(.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 286 310 +286 309 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(286)77 b(COMMON)13 +b(LISP)42 295 y Fw(By)h(con)o(v)o(en)o(tion,)f(a)g(call)g(to)h +Fs(export)f Fw(listing)f(all)h(exp)q(orted)i(sym)o(b)q(ols)d(is)i +(placed)g(near)0 347 y(the)h(start)g(of)f(a)g(\014le)h(to)f(adv)o +(ertise)h(whic)o(h)f(of)g(the)h(sym)o(b)q(ols)e(men)o(tioned)h(in)g +(the)h(\014le)f(are)0 399 y(in)o(tended)h(to)e(b)q(e)i(used)g(b)o(y)e +(other)i(programs.)42 451 y(X3J13)h(v)o(oted)i(in)e(Jan)o(uary)h(1989)f +Ft(h)p Fw(127)p Ft(i)h Fw(to)g(clarify)f(that)h(the)h +Fv(p)n(ackage)g Fw(argumen)o(t)-33 423 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 503 a(ma)o(y)12 b(b)q(e)i(either)h(a)f(pac)o(k)n(age)f +(ob)r(ject)i(or)f(a)f(pac)o(k)n(age)h(name)f(\(see)i(section)f(11.2\).) +-33 514 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 653 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(unexport)20 b Fv(symb)n(ols)k Fs(&optional)19 b +Fv(p)n(ackage)0 730 y Fw(The)13 b(argumen)o(t)f(should)h(b)q(e)h(a)e +(list)h(of)f(sym)o(b)q(ols,)g(or)h(p)q(ossibly)f(a)h(single)g(sym)o(b)q +(ol.)i(These)0 782 y(sym)o(b)q(ols)i(b)q(ecome)h(in)o(ternal)g(sym)o(b) +q(ols)f(in)h Fv(p)n(ackage)p Fw(.)33 b(It)19 b(is)f(an)g(error)h(to)g +(unexp)q(ort)g(a)0 834 y(sym)o(b)q(ol)12 b(from)g(the)j +Fs(keyword)d Fw(pac)o(k)n(age)i(\(see)h(section)f(11.4\).)j +Fs(unexport)c Fw(returns)i Fs(t)p Fw(.)42 886 y(X3J13)h(v)o(oted)i(in)e +(Jan)o(uary)h(1989)f Ft(h)p Fw(127)p Ft(i)h Fw(to)g(clarify)f(that)h +(the)h Fv(p)n(ackage)g Fw(argumen)o(t)-33 858 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 938 a(ma)o(y)12 b(b)q(e)i(either)h(a)f(pac)o(k)n(age)f +(ob)r(ject)i(or)f(a)f(pac)o(k)n(age)h(name)f(\(see)i(section)f(11.2\).) +-33 950 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1088 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(import)20 b Fv(symb)n(ols)k Fs(&optional)c Fv(p)n(ackage)0 +1166 y Fw(The)13 b(argumen)o(t)f(should)h(b)q(e)h(a)e(list)h(of)f(sym)o +(b)q(ols,)g(or)h(p)q(ossibly)f(a)h(single)g(sym)o(b)q(ol.)i(These)0 +1217 y(sym)o(b)q(ols)i(b)q(ecome)i(in)o(ternal)f(sym)o(b)q(ols)f(in)i +Fv(p)n(ackage)g Fw(and)g(can)f(therefore)j(b)q(e)e(referred)0 +1269 y(to)g(without)g(ha)o(ving)g(to)g(use)h(quali\014ed-name)d +(\(colon\))j(syn)o(tax.)34 b Fs(import)18 b Fw(signals)h(a)0 +1321 y(correctable)d(error)f(if)f(an)o(y)g(of)g(the)h(imp)q(orted)e +(sym)o(b)q(ols)g(has)h(the)h(same)f(name)f(as)i(some)0 +1373 y(distinct)h(sym)o(b)q(ol)e(already)h(accessible)i(in)f(the)g(pac) +o(k)n(age)f(\(see)i(section)g(11.4\).)22 b Fs(import)0 +1425 y Fw(returns)15 b Fs(t)p Fw(.)42 1477 y(X3J13)10 +b(v)o(oted)h(in)g(June)h(1987)e Ft(h)p Fw(102)p Ft(i)g +Fw(to)h(clarify)f(that)h(if)g(an)o(y)f(sym)o(b)q(ol)f(to)i(b)q(e)h(imp) +q(orted)-33 1449 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1529 a(has)g(no)g(home)e(pac)o(k)n(age)i(then)g +Fs(import)f Fw(sets)i(the)f(home)f(pac)o(k)n(age)h(of)f(the)h(sym)o(b)q +(ol)e(to)i(the)0 1581 y Fv(p)n(ackage)j Fw(to)e(whic)o(h)h(the)h(sym)o +(b)q(ol)d(is)i(b)q(eing)f(imp)q(orted.)-33 1593 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1633 a(X3J13)j(v)o(oted)i(in)e(Jan)o(uary)h(1989)f +Ft(h)p Fw(127)p Ft(i)h Fw(to)g(clarify)f(that)h(the)h +Fv(p)n(ackage)g Fw(argumen)o(t)-33 1605 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1685 a(ma)o(y)12 b(b)q(e)i(either)h(a)f(pac)o(k)n(age)f +(ob)r(ject)i(or)f(a)f(pac)o(k)n(age)h(name)f(\(see)i(section)f(11.2\).) +-33 1697 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1835 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(shadowing-import)18 b Fv(symb)n(ols)24 b Fs(&optional)c +Fv(p)n(ackage)0 1913 y Fw(This)d(is)g(lik)o(e)f Fs(import)p +Fw(,)g(but)h(it)g(do)q(es)g(not)g(signal)f(an)h(error)h(ev)o(en)f(if)f +(the)i(imp)q(ortation)0 1965 y(of)13 b(a)g(sym)o(b)q(ol)e(w)o(ould)i +(shado)o(w)g(some)g(sym)o(b)q(ol)e(already)i(accessible)i(in)e(the)h +(pac)o(k)n(age.)k(In)0 2016 y(addition)c(to)i(b)q(eing)g(imp)q(orted,)e +(the)i(sym)o(b)q(ol)e(is)i(placed)g(on)f(the)h(shado)o(wing-sym)o(b)q +(ols)0 2068 y(list)d(of)h Fv(p)n(ackage)g Fw(\(see)i(section)e(11.5\).) +j Fs(shadowing-import)11 b Fw(returns)k Fs(t)p Fw(.)42 +2121 y Fs(shadowing-impor)o(t)8 b Fw(should)j(b)q(e)h(used)g(with)f +(caution.)17 b(It)12 b(c)o(hanges)g(the)f(state)h(of)f(the)0 +2173 y(pac)o(k)n(age)16 b(system)g(in)f(suc)o(h)i(a)f(w)o(a)o(y)g(that) +g(the)h(consistency)g(rules)g(do)f(not)g(hold)g(across)0 +2225 y(the)e(c)o(hange.)42 2277 y(X3J13)i(v)o(oted)i(in)e(Jan)o(uary)h +(1989)f Ft(h)p Fw(127)p Ft(i)h Fw(to)g(clarify)f(that)h(the)h +Fv(p)n(ackage)g Fw(argumen)o(t)-33 2249 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a(ma)o(y)12 b(b)q(e)i(either)h(a)f(pac)o(k)n(age)f +(ob)r(ject)i(or)f(a)f(pac)o(k)n(age)h(name)f(\(see)i(section)f(11.2\).) +-33 2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 287 311 +287 310 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(P)m(A)o(CKA)o(GES)1143 +b(287)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b +Fs(shadow)20 b Fv(symb)n(ols)k Fs(&optional)c Fv(p)n(ackage)0 +372 y Fw(The)c(argumen)o(t)e(should)h(b)q(e)i(a)e(list)g(of)g(sym)o(b)q +(ols,)e(or)j(p)q(ossibly)f(a)g(single)g(sym)o(b)q(ol.)21 +b(The)0 423 y(prin)o(t)13 b(name)g(of)f(eac)o(h)i(sym)o(b)q(ol)e(is)h +(extracted,)i(and)e(the)h(sp)q(eci\014ed)h Fv(p)n(ackage)g +Fw(is)e(searc)o(hed)0 475 y(for)d(a)g(sym)o(b)q(ol)e(of)i(that)g(name.) +16 b(If)9 b(suc)o(h)i(a)f(sym)o(b)q(ol)f(is)h(presen)o(t)h(in)f(this)g +(pac)o(k)n(age)g(\(directly)m(,)0 527 y(not)h(b)o(y)h(inheritance\),)g +(then)g(nothing)f(is)g(done.)18 b(Otherwise,)13 b(a)e(new)h(sym)o(b)q +(ol)e(is)h(created)0 579 y(with)j(this)f(prin)o(t)h(name,)e(and)i(it)g +(is)f(inserted)i(in)f(the)g Fv(p)n(ackage)h Fw(as)f(an)g(in)o(ternal)f +(sym)o(b)q(ol.)0 631 y(The)j(sym)o(b)q(ol)d(is)i(also)f(placed)h(on)g +(the)h(shado)o(wing-sym)o(b)q(ols)d(list)h(of)h(the)g +Fv(p)n(ackage)h Fw(\(see)0 683 y(section)f(11.5\).)i +Fs(shadow)12 b Fw(returns)k Fs(t)p Fw(.)42 735 y(X3J13)10 +b(v)o(oted)h(in)f(Marc)o(h)i(1988)e Ft(h)p Fw(161)p Ft(i)g +Fw(to)h(c)o(hange)g Fs(shadow)e Fw(to)i(accept)h(strings)f(as)g(w)o +(ell)-33 706 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 787 a(as)h(w)o(ell)g(as)g(sym)o(b)q(ols)f(\(a)h(string)g +(in)f(the)i Fv(symb)n(ols)f Fw(list)g(b)q(eing)g(treated)h(as)f(a)g +(prin)o(t)g(name\),)0 839 y(and)h(to)f(clarify)g(that)h(if)f(a)h(sym)o +(b)q(ol)e(of)h(sp)q(eci\014ed)i(name)e(is)h(already)f(in)g(the)i +Fv(p)n(ackage)g Fw(but)0 890 y(is)h(not)g(y)o(et)g(on)g(the)h(shado)o +(wing-sym)o(b)q(ols)d(list)i(for)f(that)h Fv(p)n(ackage)p +Fw(,)h(then)g Fs(shadow)e Fw(do)q(es)0 942 y(add)g(it)f(to)h(the)g +(shado)o(wing-sym)o(b)q(ols)e(list)h(rather)i(than)f(simply)e(doing)h +(nothing.)-33 954 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 994 a Fs(shadow)i Fw(should)h(b)q(e)h(used)g(with)g +(caution.)25 b(It)17 b(c)o(hanges)g(the)g(state)g(of)f(the)h(pac)o(k)n +(age)0 1046 y(system)11 b(in)g(suc)o(h)h(a)f(w)o(a)o(y)g(that)g(the)h +(consistency)h(rules)f(do)f(not)g(hold)g(across)h(the)g(c)o(hange.)42 +1098 y(X3J13)k(v)o(oted)i(in)e(Jan)o(uary)h(1989)f Ft(h)p +Fw(127)p Ft(i)h Fw(to)g(clarify)f(that)h(the)h Fv(p)n(ackage)g +Fw(argumen)o(t)-33 1070 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1150 a(ma)o(y)12 b(b)q(e)i(either)h(a)f(pac)o(k)n(age)f +(ob)r(ject)i(or)f(a)f(pac)o(k)n(age)h(name)f(\(see)i(section)f(11.2\).) +-33 1162 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1263 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(use-package)19 b Fv(p)n(ackages)p Fs(-)p Fv(to)p +Fs(-)p Fv(use)25 b Fs(&optional)19 b Fv(p)n(ackage)0 +1340 y Fw(The)14 b Fv(p)n(ackages-to-use)g Fw(argumen)o(t)e(should)g(b) +q(e)i(a)f(list)g(of)f(pac)o(k)n(ages)h(or)g(pac)o(k)n(age)g(names,)0 +1392 y(or)j(p)q(ossibly)f(a)h(single)g(pac)o(k)n(age)f(or)h(pac)o(k)n +(age)f(name.)23 b(These)17 b(pac)o(k)n(ages)f(are)h(added)f(to)0 +1444 y(the)j(use-list)h(of)e Fv(p)n(ackage)i Fw(if)e(they)h(are)g(not)g +(there)h(already)m(.)33 b(All)18 b(external)h(sym)o(b)q(ols)0 +1496 y(in)c(the)g(pac)o(k)n(ages)g(to)g(use)h(b)q(ecome)f(accessible)h +(in)e Fv(p)n(ackage)i Fw(as)f(in)o(ternal)g(sym)o(b)q(ols)e(\(see)0 +1547 y(section)i(11.4\).)i(It)d(is)f(an)h(error)h(to)f(try)g(to)g(use)g +(the)h Fs(keyword)d Fw(pac)o(k)n(age.)18 b Fs(use-package)0 +1599 y Fw(returns)d Fs(t)p Fw(.)42 1651 y(X3J13)h(v)o(oted)i(in)e(Jan)o +(uary)h(1989)f Ft(h)p Fw(127)p Ft(i)h Fw(to)g(clarify)f(that)h(the)h +Fv(p)n(ackage)g Fw(argumen)o(t)-33 1623 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1703 a(ma)o(y)12 b(b)q(e)i(either)h(a)f(pac)o(k)n(age)f +(ob)r(ject)i(or)f(a)f(pac)o(k)n(age)h(name)f(\(see)i(section)f(11.2\).) +-33 1715 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1816 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(unuse-package)18 b Fv(p)n(ackages)p Fs(-)p Fv(to)p +Fs(-)p Fv(unuse)26 b Fs(&optional)20 b Fv(p)n(ackage)0 +1893 y Fw(The)j Fv(p)n(ackages-to-unuse)h Fw(argumen)o(t)d(should)h(b)q +(e)h(a)f(list)g(of)f(pac)o(k)n(ages)i(or)f(pac)o(k)n(age)0 +1945 y(names,)c(or)h(p)q(ossibly)f(a)h(single)f(pac)o(k)n(age)g(or)h +(pac)o(k)n(age)f(name.)31 b(These)20 b(pac)o(k)n(ages)e(are)0 +1997 y(remo)o(v)o(ed)13 b(from)f(the)j(use-list)f(of)f +Fv(p)n(ackage)p Fw(.)19 b Fs(unuse-package)11 b Fw(returns)16 +b Fs(t)p Fw(.)42 2049 y(X3J13)g(v)o(oted)i(in)e(Jan)o(uary)h(1989)f +Ft(h)p Fw(127)p Ft(i)h Fw(to)g(clarify)f(that)h(the)h +Fv(p)n(ackage)g Fw(argumen)o(t)-33 2020 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2101 a(ma)o(y)12 b(b)q(e)i(either)h(a)f(pac)o(k)n(age)f +(ob)r(ject)i(or)f(a)f(pac)o(k)n(age)h(name)f(\(see)i(section)f(11.2\).) +-33 2112 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2173 a(X3J13)f(v)o(oted)i(in)f(Jan)o(uary)g(1989)f +Ft(h)p Fw(52)p Ft(i)h Fw(to)g(add)g(a)g(macro)f Fs(defpackage)g +Fw(to)h(the)h(lan-)-33 2145 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2225 a(guage)e(to)g(mak)o(e)f(it)g(easier)i(to)f(create) +i(new)e(pac)o(k)n(ages,)g(alleviating)e(the)j(burden)g(on)f(the)0 +2277 y(programmer)i(to)j(p)q(erform)e(the)j(v)n(arious)e(setup)h(op)q +(erations)g(in)f(exactly)h(the)g(correct)0 2329 y(sequence.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 288 312 +288 311 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(288)77 b(COMMON)13 +b(LISP)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 295 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(defpackage)33 b Fv(de\014ne)n(d-p)n(ackage-name)24 +b Ft(f)p Fv(option)p Ft(g)820 280 y Fl(\003)0 372 y Fw(This)10 +b(creates)h(a)f(new)g(pac)o(k)n(age,)g(or)f(mo)q(di\014es)g(an)g +(existing)h(one,)g(whose)h(name)d(is)i Fv(de\014ne)n(d-)0 +423 y(p)n(ackage-name)p Fw(.)24 b(The)16 b Fv(de\014ne)n(d-p)n +(ackage-name)i Fw(ma)o(y)13 b(b)q(e)j(a)f(string)h(or)f(a)h(sym)o(b)q +(ol;)d(if)i(it)0 475 y(is)h(a)g(sym)o(b)q(ol,)e(only)h(its)h(prin)o(t)g +(name)f(matters,)g(and)h(not)g(what)g(pac)o(k)n(age,)g(if)f(an)o(y)m(,) +g(the)0 527 y(sym)o(b)q(ol)d(happ)q(ens)i(to)g(b)q(e)g(in.)k(The)c +(newly)f(created)i(or)f(mo)q(di\014ed)e(pac)o(k)n(age)i(is)f(returned)0 +579 y(as)h(the)g(v)n(alue)g(of)f(the)h Fs(defpackage)e +Fw(form.)42 631 y(Eac)o(h)k(standard)g Fv(option)h Fw(is)e(a)h(list)f +(of)h(a)f(k)o(eyw)o(ord)h(\(the)h(name)e(of)g(the)i(option\))e(and)0 +683 y(asso)q(ciated)d(argumen)o(ts.)17 b(No)11 b(part)h(of)f(a)g +Fs(defpackage)f Fw(form)g(is)h(ev)n(aluated.)17 b(Except)c(for)0 +735 y(the)j Fs(:size)e Fw(option,)h(more)f(than)i(one)f(option)g(of)g +(the)h(same)f(kind)f(ma)o(y)g(o)q(ccur)i(within)0 787 +y(the)e(same)f Fs(defpackage)f Fw(form.)42 839 y(The)18 +b(standard)h(options)e(for)h Fs(defpackage)e Fw(are)i(as)h(follo)o(ws.) +29 b(In)18 b(ev)o(ery)h(case,)g(an)o(y)0 890 y(option)d(argumen)o(t)f +(called)i Fv(p)n(ackage-name)h Fw(or)e Fv(symb)n(ol-name)h +Fw(ma)o(y)e(b)q(e)i(a)g(string)f(or)h(a)0 942 y(sym)o(b)q(ol;)11 +b(if)i(it)g(is)g(a)h(sym)o(b)q(ol,)d(only)i(its)g(prin)o(t)g(name)g +(matters,)f(and)i(not)f(what)h(pac)o(k)n(age,)0 994 y(if)f(an)o(y)m(,)g +(the)h(sym)o(b)q(ol)e(happ)q(ens)j(to)f(b)q(e)g(in.)0 +1096 y Fs(\(:size)20 b Fv(inte)n(ger)p Fs(\))0 1159 y +Fw(This)e(sp)q(eci\014es)j(appro)o(ximately)16 b(the)j(n)o(um)o(b)q(er) +f(of)g(sym)o(b)q(ols)f(exp)q(ected)j(to)f(b)q(e)g(in)f(the)0 +1211 y(pac)o(k)n(age.)30 b(This)18 b(is)g(purely)h(an)f(e\016ciency)h +(hin)o(t)e(to)h(the)h(storage)g(allo)q(cator,)e(so)i(that)0 +1263 y(implemen)o(tatio)o(ns)11 b(using)j(hash)f(tables)h(as)f(part)h +(of)f(the)h(pac)o(k)n(age)f(data)g(structure)j(\(the)0 +1315 y(usual)h(tec)o(hnique\))h(will)d(not)i(ha)o(v)o(e)g(to)g +(incremen)o(tally)e(expand)i(the)h(pac)o(k)n(age)e(as)h(new)0 +1367 y(sym)o(b)q(ols)e(are)h(added)h(to)f(it)g(\(for)g(example,)f(as)i +(a)f(large)f(\014le)i(is)f(read)h(while)e(\\in")h(that)0 +1419 y(pac)o(k)n(age\).)0 1521 y Fs(\(:nicknames)26 b +Ft(f)p Fv(p)n(ackage-name)s Ft(g)562 1506 y Fl(\003)589 +1521 y Fs(\))0 1584 y Fw(The)15 b(sp)q(eci\014ed)i(names)d(b)q(ecome)h +(nic)o(knames)f(of)h(the)g(pac)o(k)n(age)g(b)q(eing)g(de\014ned.)23 +b(If)14 b(an)o(y)0 1636 y(of)d(the)i(sp)q(eci\014ed)g(nic)o(knames)e +(already)h(refers)h(to)f(an)g(existing)f(pac)o(k)n(age,)h(a)f(con)o +(tin)o(uable)0 1687 y(error)k(is)f(signaled)f(exactly)h(as)g(for)f(the) +i(function)e Fs(make-package)p Fw(.)0 1789 y Fs(\(:shadow)26 +b Ft(f)p Fv(symb)n(ol-name)s Ft(g)479 1774 y Fl(\003)505 +1789 y Fs(\))0 1852 y Fw(Sym)o(b)q(ols)9 b(with)i(the)h(sp)q(eci\014ed) +h(names)d(are)i(created)h(as)e(shado)o(ws)g(in)g(the)h(pac)o(k)n(age)f +(b)q(eing)0 1904 y(de\014ned,)k(just)f(as)g(with)f(the)i(function)e +Fs(shadow)p Fw(.)0 2006 y Fs(\(:shadowing-impor)o(t-fro)o(m)18 +b Fv(p)n(ackage-name)30 b Ft(f)p Fv(symb)n(ol-name)s +Ft(g)1078 1991 y Fl(\003)1104 2006 y Fs(\))0 2069 y Fw(Sym)o(b)q(ols)11 +b(with)i(the)h(sp)q(eci\014ed)g(names)e(are)i(lo)q(cated)f(in)g(the)g +(sp)q(eci\014ed)i(pac)o(k)n(age.)i(These)0 2121 y(sym)o(b)q(ols)d(are)i +(imp)q(orted)e(in)o(to)g(the)i(pac)o(k)n(age)f(b)q(eing)g(de\014ned,)i +(shado)o(wing)d(other)i(sym-)0 2173 y(b)q(ols)c(if)e(necessary)m(,)k +(just)e(as)f(with)h(the)g(function)f Fs(shadowing-import)p +Fw(.)j(In)e(no)g(case)g(will)0 2225 y(sym)o(b)q(ols)g(b)q(e)i(created)h +(in)e(a)h(pac)o(k)n(age)f(other)h(than)f(the)h(one)g(b)q(eing)g +(de\014ned;)g(a)f(con)o(tin)o(u-)0 2277 y(able)g(error)i(is)e(signaled) +h(if)e(for)i(an)o(y)f Fv(symb)n(ol-name)h Fw(there)h(is)e(no)g(sym)o(b) +q(ol)f(of)h(that)h(name)0 2329 y(accessible)h(in)f(the)g(pac)o(k)n(age) +g(named)e Fv(p)n(ackage-name)p Fw(.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 289 313 +289 312 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(P)m(A)o(CKA)o(GES)1143 +b(289)0 295 y Fs(\(:use)27 b Ft(f)p Fv(p)n(ackage-name)s +Ft(g)431 280 y Fl(\003)458 295 y Fs(\))0 360 y Fw(The)13 +b(pac)o(k)n(age)f(b)q(eing)h(de\014ned)h(is)e(made)g(to)h(\\use")g +(\(inherit)f(from\))f(the)j(pac)o(k)n(ages)e(sp)q(ec-)0 +412 y(i\014ed)g(b)o(y)g(this)g(option,)g(just)g(as)g(with)g(the)h +(function)e Fs(use-package)p Fw(.)16 b(If)11 b(no)h Fs(:use)f +Fw(option)0 464 y(is)j(supplied,)f(then)i(a)e(default)h(list)f(is)h +(assumed)g(as)g(for)f Fs(make-package)p Fw(.)42 516 y(X3J13)k(v)o(oted) +h(in)g(Jan)o(uary)g(1989)f Ft(h)p Fw(119)p Ft(i)h Fw(to)g(c)o(hange)g +(the)h(sp)q(eci\014cation)f(of)g Fs(make-)0 568 y(package)j +Fw(so)i(that)f(the)h(default)f(v)n(alue)g(for)g(the)h +Fs(:use)f Fw(argumen)o(t)f(is)i(unsp)q(eci\014ed.)0 620 +y(This)j(c)o(hange)g(a\013ects)h Fs(defpackage)d Fw(as)i(w)o(ell.)54 +b(P)o(ortable)26 b(co)q(de)g(should)g(sp)q(ecify)0 672 +y Fs(\(:use)128 676 y Fn(')151 672 y Fs(\("COMMON-LISP"\)\))11 +b Fw(explicitly)m(.)0 775 y Fs(\(:import-from)18 b Fv(p)n(ackage-name) +30 b Ft(f)p Fv(symb)n(ol-name)s Ft(g)860 760 y Fl(\003)886 +775 y Fs(\))0 838 y Fw(Sym)o(b)q(ols)11 b(with)i(the)h(sp)q(eci\014ed)g +(names)e(are)i(lo)q(cated)f(in)g(the)g(sp)q(eci\014ed)i(pac)o(k)n(age.) +i(These)0 890 y(sym)o(b)q(ols)9 b(are)j(imp)q(orted)d(in)o(to)h(the)i +(pac)o(k)n(age)e(b)q(eing)h(de\014ned,)h(just)f(as)g(with)g(the)g +(function)0 942 y Fs(import)p Fw(.)21 b(In)15 b(no)g(case)h(will)e(sym) +o(b)q(ols)g(b)q(e)h(created)i(in)e(a)g(pac)o(k)n(age)g(other)h(than)f +(the)h(one)0 993 y(b)q(eing)f(de\014ned;)g(a)g(con)o(tin)o(uable)f +(error)h(is)g(signaled)f(if)g(for)g(an)o(y)g Fv(symb)n(ol-name)h +Fw(there)h(is)0 1045 y(no)e(sym)o(b)q(ol)e(of)h(that)h(name)f +(accessible)i(in)e(the)i(pac)o(k)n(age)e(named)g Fv(p)n(ackage-name)p +Fw(.)0 1149 y Fs(\(:intern)26 b Ft(f)p Fv(symb)n(ol-name)s +Ft(g)479 1133 y Fl(\003)505 1149 y Fs(\))0 1212 y Fw(Sym)o(b)q(ols)11 +b(with)i(the)g(sp)q(eci\014ed)h(names)e(are)h(lo)q(cated)g(or)g +(created)i(in)d(the)h(pac)o(k)n(age)g(b)q(eing)0 1263 +y(de\014ned,)h(just)f(as)g(with)f(the)i(function)e Fs(intern)p +Fw(.)17 b(Note)c(that)g(the)h(action)e(of)h(this)f(option)0 +1315 y(ma)o(y)h(b)q(e)j(a\013ected)h(b)o(y)d(a)h Fs(:use)g +Fw(option,)f(b)q(ecause)j(an)d(inherited)i(sym)o(b)q(ol)d(will)h(b)q(e) +i(used)0 1367 y(in)d(preference)k(to)d(creating)g(a)f(new)i(one.)0 +1470 y Fs(\(:export)26 b Ft(f)p Fv(symb)n(ol-name)s Ft(g)479 +1455 y Fl(\003)505 1470 y Fs(\))0 1533 y Fw(Sym)o(b)q(ols)11 +b(with)i(the)g(sp)q(eci\014ed)h(names)e(are)h(lo)q(cated)g(or)g +(created)i(in)d(the)h(pac)o(k)n(age)g(b)q(eing)0 1585 +y(de\014ned)e(and)f(then)h(exp)q(orted,)h(just)e(as)g(with)g(the)h +(function)f Fs(export)p Fw(.)15 b(Note)c(that)f(the)h(ac-)0 +1637 y(tion)g(of)f(this)i(option)e(ma)o(y)g(b)q(e)i(a\013ected)g(b)o(y) +f(a)g Fs(:use)p Fw(,)g Fs(:import-from)p Fw(,)e(or)i +Fs(:shadowing-)0 1689 y(import-from)j Fw(option,)i(b)q(ecause)i(an)e +(inherited)h(or)g(imp)q(orted)e(sym)o(b)q(ol)g(will)g(b)q(e)i(used)0 +1741 y(in)c(preference)k(to)d(creating)g(a)f(new)i(one.)42 +1844 y(The)e(order)i(in)e(whic)o(h)g(options)g(app)q(ear)h(in)f(a)g +Fs(defpackage)f Fw(form)f(do)q(es)k(not)e(matter;)0 1896 +y(part)f(of)g(the)g(con)o(v)o(enience)i(of)d Fs(defpackage)f +Fw(is)i(that)g(it)g(sorts)h(out)e(the)i(options)f(in)o(to)f(the)0 +1948 y(correct)16 b(order)e(for)g(pro)q(cessing.)19 b(Options)14 +b(are)g(pro)q(cessed)j(in)c(the)h(follo)o(wing)e(order:)0 +2035 y(1.)27 b Fs(:shadow)12 b Fw(and)i Fs(:shadowing-import-)o(from)0 +2087 y Fw(2.)27 b Fs(:use)0 2138 y Fw(3.)g Fs(:import-from)11 +b Fw(and)j Fs(:intern)0 2190 y Fw(4.)27 b Fs(:export)0 +2277 y Fw(Shado)o(ws)15 b(are)g(established)g(\014rst)h(in)e(order)h +(to)g(a)o(v)o(oid)e(spurious)i(name)f(con\015icts)h(when)0 +2329 y(use)d(links)f(are)g(established.)18 b(Use)13 b(links)d(m)o(ust)g +(o)q(ccur)j(b)q(efore)f(imp)q(orting)d(and)i(in)o(terning)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 290 314 +290 313 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(290)77 b(COMMON)13 +b(LISP)0 295 y Fw(so)g(that)g(those)h(op)q(erations)f(ma)o(y)e(refer)j +(to)f(normally)e(inherited)i(sym)o(b)q(ols)f(rather)i(than)0 +347 y(creating)k(new)g(ones.)30 b(Exp)q(orts)18 b(are)g(p)q(erformed)g +(last)f(so)h(that)g(sym)o(b)q(ols)e(created)j(b)o(y)0 +399 y(an)o(y)14 b(of)h(the)g(other)h(options,)e(in)g(particular,)h +(shado)o(ws)g(and)g(imp)q(orted)e(sym)o(b)q(ols,)h(ma)o(y)0 +450 y(b)q(e)j(exp)q(orted.)27 b(Note)16 b(that)h(exp)q(orting)f(an)g +(inherited)h(sym)o(b)q(ol)e(implicitly)e(imp)q(orts)i(it)0 +502 y(\014rst)g(\(see)g(section)g(11.4\).)42 554 y(If)d(no)g(pac)o(k)n +(age)g(named)g Fv(de\014ne)n(d-p)n(ackage-name)j Fw(already)d(exists,)h +Fs(defpackage)e Fw(cre-)0 606 y(ates)k(it.)i(If)d(suc)o(h)h(a)e(pac)o +(k)n(age)h(do)q(es)g(already)g(exist,)g(then)g(no)g(new)g(pac)o(k)n +(age)g(is)g(created.)0 658 y(The)d(existing)g(pac)o(k)n(age)g(is)g(mo)q +(di\014ed,)e(if)i(p)q(ossible,)g(to)g(re\015ect)i(the)e(new)h +(de\014nition.)k(The)0 710 y(results)h(are)f(unde\014ned)g(if)f(the)h +(new)g(de\014nition)f(is)h(not)f(consisten)o(t)i(with)e(the)h(curren)o +(t)0 762 y(state)f(of)e(the)h(pac)o(k)n(age.)42 814 y(An)g(error)g(is)g +(signaled)f(if)h(more)e(than)i(one)g Fs(:size)f Fw(option)g(app)q +(ears.)42 866 y(An)d(error)h(is)f(signaled)g(if)f(the)i(same)e +Fs(symbol-name)f Fw(argumen)o(t)h(\(in)h(the)h(sense)h(of)d(com-)0 +917 y(paring)15 b(names)g(with)h Fs(string)489 913 y(U)489 +921 y(U)509 917 y Fw(\))g(app)q(ears)h(more)d(than)i(once)g(among)e +(the)i(argumen)o(ts)0 969 y(to)f(all)f(the)j Fs(:shadow)p +Fw(,)c Fs(:shadowing-import-f)o(rom)p Fw(,)f Fs(:import-from)p +Fw(,)h(and)i Fs(:intern)0 1021 y Fw(options.)42 1073 +y(An)10 b(error)h(is)f(signaled)g(if)f(the)i(same)e Fs(symbol-name)f +Fw(argumen)o(t)h(\(in)h(the)h(sense)h(of)d(com-)0 1125 +y(paring)15 b(names)g(with)h Fs(string)489 1121 y(U)489 +1129 y(U)509 1125 y Fw(\))g(app)q(ears)h(more)d(than)i(once)g(among)e +(the)i(argumen)o(ts)0 1177 y(to)e(all)e(the)j Fs(:intern)d +Fw(and)i Fs(:export)e Fw(options.)42 1229 y(Other)19 +b(kinds)g(of)f(name)f(con\015icts)i(are)g(handled)g(in)f(the)h(same)f +(manner)f(that)i(the)0 1281 y(underlying)11 b(op)q(erations)h +Fs(use-package)p Fw(,)d Fs(import)p Fw(,)h(and)h Fs(export)f +Fw(w)o(ould)h(handle)g(them.)42 1333 y(Implemen)o(tatio)o(ns)e(ma)o(y)g +(supp)q(ort)j(other)g Fs(defpackage)d Fw(options.)17 +b(Ev)o(ery)12 b(implem)o(en-)0 1384 y(tation)f(should)g(signal)f(an)h +(error)i(on)e(encoun)o(tering)h(a)f Fs(defpackage)e Fw(option)i(it)g +(do)q(es)h(not)0 1436 y(supp)q(ort.)42 1488 y(The)20 +b(function)f Fs(compile-file)f Fw(should)h(treat)i(top-lev)o(el)e +Fs(defpackage)f Fw(forms)g(in)0 1540 y(the)d(same)e(w)o(a)o(y)h(it)g(w) +o(ould)g(treat)h(top-lev)o(el)f(calls)g(to)g(pac)o(k)n(age-a\013ecting) +g(functions)g(\(as)0 1592 y(describ)q(ed)i(at)d(the)i(b)q(eginning)e +(of)g(section)i(11.7\).)42 1644 y(Here)i(is)g(an)f(example)g(of)g(a)g +(call)g(to)h Fs(defpackage)d Fw(that)j(\\pla)o(ys)f(it)g(safe")h(b)o(y) +f(using)0 1696 y(only)d(strings)h(as)g(names.)0 1779 +y Fs(\(cl:defpackage)k("MY-VERY-OWN-PACKAG)o(E")42 1831 +y(\(:size)i(496\))42 1883 y(\(:nicknames)f("MY-PKG")h("MYPKG")f +("MVOP"\))42 1934 y(\(:use)h("COMMON-LISP"\))42 1986 +y(\(:shadow)g("CAR")g("CDR"\))42 2038 y(\(:shadowing-import-)o(from)e +("BRAND-X-LISP")g("CONS"\))42 2090 y(\(:import-from)h("BRAND-X-LISP")f +("GC")i("BLINK-FRONT-PANEL-L)o(IGHT)o(S"\))42 2142 y(\(:export)g("EQ")g +("CONS")g("MY-VERY-OWN-FUNCT)o(ION"\))o(\))0 2225 y Fw(The)10 +b(preceding)h Fs(defpackage)d Fw(example)h(is)g(designed)i(to)f(op)q +(erate)g(correctly)i(ev)o(en)e(if)f(the)0 2277 y(pac)o(k)n(age)i +(curren)o(t)i(when)f(the)g(form)e(is)i(read)g(happ)q(ens)g(not)g(to)f +(\\use")h(the)g Fs(common-lisp)0 2329 y Fw(pac)o(k)n(age.)22 +b(\(Note)17 b(the)f(use)g(in)f(this)h(example)e(of)h(the)h(nic)o(kname) +e Fs(cl)h Fw(for)g(the)h Fs(common-)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 291 315 +291 314 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(P)m(A)o(CKA)o(GES)1143 +b(291)0 295 y Fs(lisp)13 b Fw(pac)o(k)n(age.\))19 b(Moreo)o(v)o(er,)c +(neither)g(reading)f(in)f(nor)i(ev)n(aluating)e(this)h +Fs(defpackage)0 347 y Fw(form)d(will)h(ev)o(er)h(create)i(an)o(y)d(sym) +o(b)q(ols)g(in)g(the)h(curren)o(t)i(pac)o(k)n(age.)i(Note)c(to)q(o)g +(the)h(use)f(of)0 399 y(upp)q(ercase)j(letters)f(in)f(the)g(strings.)42 +451 y(Here,)j(for)f(the)i(sak)o(e)e(of)g(con)o(trast,)h(is)g(a)f +(rather)h(similar)d(use)j(of)f Fs(defpackage)f Fw(that)0 +503 y(\\pla)o(ys)e(the)i(whale")e(b)o(y)h(using)f(all)g(sorts)i(of)e(p) +q(ermissible)g(syn)o(tax.)0 597 y Fs(\(defpackage)19 +b(my-very-own-packa)o(ge)42 649 y(\(:export)h(:EQ)g(common-lisp:cons)e +(my-very-own-functio)o(n\))42 701 y(\(:nicknames)h("MY-PKG")h(#)499 +697 y(-)499 705 y(-)521 701 y(:MyPkg\))42 753 y(\(:use)g +("COMMON-LISP"\))42 805 y(\(:shadow)g("CAR"\))42 857 +y(\(:size)g(496\))42 909 y(\(:nicknames)f(mvop\))42 960 +y(\(:import-from)g("BRAND-X-LISP")f("GC")i(Blink-Front-Panel-Li)o(ghts) +o(\))42 1012 y(\(:shadow)g(common-lisp::cdr\))42 1064 +y(\(:shadowing-import-)o(from)e("BRAND-X-LISP")g(CONS\)\))0 +1157 y Fw(This)e(example)f(has)h(exactly)g(the)g(same)g(e\013ect)h(on)f +(the)h(newly)e(created)j(pac)o(k)n(age)e(but)0 1209 y(ma)o(y)g(create)k +(useless)f(sym)o(b)q(ols)e(in)g(other)i(pac)o(k)n(ages.)31 +b(The)18 b(use)h(of)e(explicit)h(pac)o(k)n(age)0 1261 +y(tags)e(is)g(particularly)f(confusing;)h(for)f(example,)g(this)h +Fs(defpackage)d Fw(form)h(will)h(cause)0 1313 y(the)h(sym)o(b)q(ol)d +Fs(cdr)h Fw(to)h(b)q(e)h(shado)o(w)o(ed)f Fv(in)h(the)g(new)g(p)n +(ackage)p Fw(;)g(it)e(will)g(not)h(b)q(e)h(shado)o(w)o(ed)0 +1365 y(in)i(the)h(pac)o(k)n(age)f Fs(common-lisp)p Fw(.)29 +b(The)18 b(fact)h(that)f(the)h(name)e(\\)p Fs(CDR)p Fw(")g(w)o(as)h(sp) +q(eci\014ed)0 1417 y(b)o(y)e(a)f(pac)o(k)n(age-quali\014ed)g(reference) +k(to)d(a)f(sym)o(b)q(ol)f(in)i(the)h Fs(common-lisp)c +Fw(pac)o(k)n(age)j(is)0 1469 y(a)g(red)h(herring.)26 +b(The)17 b(moral)e(is)h(that)g(the)h(syn)o(tactic)g(\015exibilit)o(y)e +(of)h Fs(defpackage)p Fw(,)f(as)0 1521 y(in)i(other)h(parts)g(of)e +(Common)f(Lisp,)i(yields)g(considerable)h(con)o(v)o(enience)h(when)f +(used)0 1573 y(with)g(commonsense)g(comp)q(etence,)i(but)f(un)o +(utterable)g(confusion)f(when)i(used)f(with)0 1624 y(Malth)o(usian)13 +b(profusion.)p 0 1684 V 0 1745 a Fm(Implemen)o(tation)f(note:)17 +b FA(An)12 b(implemen)o(tation)k(of)c Fj(defpackag)o(e)d +FA(migh)o(t)k(c)o(ho)q(ose)g(to)f(trans-)0 1791 y(form)k(all)i(the)e +Fq(p)n(ackage-name)d FA(and)k Fq(symb)n(ol-name)d FA(argumen)o(ts)j(in) +o(to)g(strings)h(at)e(macro)h(ex-)0 1837 y(pansion)g(time,)e(rather)g +(than)g(at)f(the)h(time)g(the)g(resulting)i(expansion)g(is)e(executed,) +h(so)e(that)0 1882 y(ev)o(en)d(if)g(source)h(co)q(de)f(is)h(expressed)g +(in)f(terms)g(of)g(strange)g(sym)o(b)q(ols)i(in)e(the)g +Fj(defpackage)c FA(form,)0 1928 y(the)13 b(binary)h(\014le)g(resulting) +h(from)d(compiling)k(the)c(source)i(co)q(de)f(w)o(ould)h(con)o(tain)g +(only)g(strings.)0 1974 y(The)d(purp)q(ose)i(of)e(this)i(is)f(simply)h +(to)e(minimize)j(the)e(creation)g(of)g(useless)g(sym)o(b)q(ols)h(in)g +(pro)q(duc-)0 2019 y(tion)i(co)q(de.)21 b(This)14 b(tec)o(hnique)i(is)f +(p)q(ermitted)g(as)f(an)g(implemen)o(tation)k(strategy)c(but)h(is)f +(not)h(a)0 2065 y(b)q(eha)o(vior)g(required)f(b)o(y)g(the)f(sp)q +(eci\014cation)j(of)d Fj(defpacka)o(ge)p FA(.)p 0 2111 +V 42 2225 a Fw(Note)e(that)g Fs(defpackage)e Fw(is)i(not)g(capable)g(b) +o(y)g(itself)f(of)h(de\014ning)g(m)o(utually)d(recursiv)o(e)0 +2277 y(pac)o(k)n(ages,)16 b(for)g(example)e(t)o(w)o(o)i(pac)o(k)n(ages) +g(eac)o(h)h(of)e(whic)o(h)h(uses)h(the)g(other.)25 b(Ho)o(w)o(ev)o(er,) +0 2329 y(nothing)15 b(prev)o(en)o(ts)i(one)f(from)e(using)h +Fs(defpackage)f Fw(to)h(p)q(erform)g(m)o(uc)o(h)f(of)h(the)i(initial) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 292 316 +292 315 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(292)77 b(COMMON)13 +b(LISP)0 295 y Fw(setup)h(and)f(then)h(using)f(functions)g(suc)o(h)h +(as)g Fs(use-package)p Fw(,)c Fs(import)p Fw(,)i(and)h +Fs(export)f Fw(to)0 347 y(complete)h(the)i(links.)42 +399 y(The)e(purp)q(ose)i(of)e Fs(defpackage)e Fw(is)i(to)g(encourage)i +(the)f(user)g(to)g(put)f(the)h(en)o(tire)g(de\014-)0 +451 y(nition)d(of)g(a)h(pac)o(k)n(age)g(and)g(its)g(relationships)g(to) +f(other)i(pac)o(k)n(ages)f(in)g(a)f(single)h(place.)18 +b(It)0 502 y(ma)o(y)13 b(also)h(encourage)i(the)f(designer)g(of)g(a)f +(large)g(system)h(to)f(place)h(the)h(de\014nitions)e(of)0 +554 y(all)e(relev)n(an)o(t)i(pac)o(k)n(ages)f(in)o(to)g(a)g(single)g +(\014le)g(\(sa)o(y\))h(that)f(can)h(b)q(e)g(loaded)f(b)q(efore)h +(loading)0 606 y(or)d(compiling)e(an)o(y)i(co)q(de)h(that)g(dep)q(ends) +h(on)e(those)i(pac)o(k)n(ages.)k(Suc)o(h)12 b(a)f(\014le,)g(if)g +(carefully)0 658 y(constructed,)16 b(can)e(simply)e(b)q(e)i(loaded)f +(in)o(to)h(the)g Fs(common-lisp-user)d Fw(pac)o(k)n(age.)42 +710 y(Implemen)o(tatio)o(ns)d(and)i(programming)d(en)o(vironmen)o(ts)i +(ma)o(y)g(also)g(b)q(e)i(b)q(etter)h(able)e(to)0 762 +y(supp)q(ort)j(the)g(programming)c(pro)q(cess)15 b(\(if)c(only)h(b)o(y) +g(pro)o(viding)g(b)q(etter)i(error)f(c)o(hec)o(king\))0 +814 y(through)h(global)e(kno)o(wledge)i(of)f(the)i(in)o(tended)f(pac)o +(k)n(age)g(setup.)-33 826 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 949 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(find-all-symbols)18 b Fv(string)p Fs(-)p Fv(or)p +Fs(-)p Fv(symb)n(ol)0 1026 y Fs(find-all-symbols)13 b +Fw(searc)o(hes)19 b(ev)o(ery)f(pac)o(k)n(age)e(in)h(the)g(Lisp)g +(system)f(to)h(\014nd)g(ev)o(ery)0 1078 y(sym)o(b)q(ol)e(whose)i(prin)o +(t)g(name)f(is)h(the)g(sp)q(eci\014ed)h(string.)27 b(A)17 +b(list)g(of)f(all)g(suc)o(h)h(sym)o(b)q(ols)0 1130 y(found)d(is)g +(returned.)20 b(This)14 b(searc)o(h)h(is)f(case-sensitiv)o(e.)21 +b(If)13 b(the)i(argumen)o(t)e(is)h(a)g(sym)o(b)q(ol,)0 +1182 y(its)g(prin)o(t)g(name)e(supplies)j(the)f(string)g(to)g(b)q(e)g +(searc)o(hed)i(for.)1255 1317 y([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(do-symbols)33 b(\()p Fv(var)21 b Fw([)p Fv(p)n(ackage)i +Fw([)p Fv(r)n(esult-form)p Fw(])7 b(])f Fs(\))246 1369 +y Ft(f)p Fv(de)n(clar)n(ation)p Ft(g)485 1354 y Fl(\003)532 +1369 y Ft(f)p Fv(tag)15 b Ft(j)f Fv(statement)p Ft(g)844 +1354 y Fl(\003)0 1446 y Fs(do-symbols)c Fw(pro)o(vides)j(straigh)o +(tforw)o(ard)e(iteration)h(o)o(v)o(er)g(the)h(sym)o(b)q(ols)e(of)h(a)g +(pac)o(k)n(age.)0 1498 y(The)j(b)q(o)q(dy)f(is)h(p)q(erformed)f(once)h +(for)f(eac)o(h)h(sym)o(b)q(ol)e(accessible)j(in)e(the)h +Fv(p)n(ackage)p Fw(,)g(in)f(no)0 1550 y(particular)k(order,)i(with)e +(the)h(v)n(ariable)e Fv(var)h Fw(b)q(ound)h(to)f(the)h(sym)o(b)q(ol.)30 +b(Then)19 b Fv(r)n(esult-)0 1602 y(form)f Fw(\(a)g(single)h(form,)e +Fv(not)i Fw(an)g(implicit)d Fs(progn)p Fw(\))h(is)i(ev)n(aluated,)g +(and)f(the)h(result)h(is)0 1654 y(the)d(v)n(alue)f(of)g(the)h +Fs(do-symbols)d Fw(form.)24 b(\(When)17 b(the)g Fv(r)n(esult-form)d +Fw(is)j(ev)n(aluated,)f(the)0 1706 y(con)o(trol)f(v)n(ariable)f +Fv(var)h Fw(is)g(still)g(b)q(ound)g(and)g(has)h(the)f(v)n(alue)g +Fs(nil)p Fw(.\))22 b(If)15 b(the)g Fv(r)n(esult-form)0 +1757 y Fw(is)f(omitted,)f(the)j(result)f(is)f Fs(nil)p +Fw(.)20 b Fs(return)13 b Fw(ma)o(y)g(b)q(e)i(used)h(to)e(terminate)g +(the)h(iteration)0 1809 y(prematurely)m(.)i(If)c(execution)i(of)e(the)i +(b)q(o)q(dy)f(a\013ects)h(whic)o(h)f(sym)o(b)q(ols)e(are)i(con)o +(tained)g(in)0 1861 y(the)g Fv(p)n(ackage)p Fw(,)h(other)f(than)g(p)q +(ossibly)f(to)h(remo)o(v)o(e)f(the)h(sym)o(b)q(ol)e(curren)o(tly)j(the) +f(v)n(alue)f(of)0 1913 y Fv(var)h Fw(b)o(y)f(using)h +Fs(unintern)p Fw(,)e(the)i(e\013ects)i(are)e(unpredictable.)42 +1965 y(X3J13)i(v)o(oted)i(in)e(Jan)o(uary)h(1989)f Ft(h)p +Fw(127)p Ft(i)h Fw(to)g(clarify)f(that)h(the)h Fv(p)n(ackage)g +Fw(argumen)o(t)-33 1937 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2017 a(ma)o(y)12 b(b)q(e)i(either)h(a)f(pac)o(k)n(age)f +(ob)r(ject)i(or)f(a)f(pac)o(k)n(age)h(name)f(\(see)i(section)f(11.2\).) +-33 2029 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2069 a(X3J13)f(v)o(oted)g(in)g(Marc)o(h)h(1988)f +Ft(h)p Fw(66)p Ft(i)g Fw(to)g(sp)q(ecify)h(that)g(the)g(b)q(o)q(dy)g +(of)f(a)g Fs(do-symbols)-33 2041 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2121 a Fw(form)i(ma)o(y)g(b)q(e)i(executed)i(more)d +(than)h(once)g(for)g(the)g(same)f(accessible)j(sym)o(b)q(ol,)c(and)0 +2173 y(users)g(should)f(tak)o(e)g(care)h(to)e(allo)o(w)g(for)g(this)h +(p)q(ossibilit)o(y)m(.)42 2225 y(The)h(p)q(oin)o(t)g(is)g(that)g(the)h +(same)e(sym)o(b)q(ol)f(migh)o(t)h(b)q(e)h(accessible)i(via)d(more)g +(than)i(one)0 2277 y(c)o(hain)j(of)g(inheritance,)i(and)e(it)g(is)g +(implemen)o(tational)o(ly)d(costly)j(to)h(eliminate)d(suc)o(h)0 +2329 y(duplicates.)h(Here)e(is)d(an)h(example:)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 293 317 +293 316 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(P)m(A)o(CKA)o(GES)1143 +b(293)0 295 y Fs(\(setq)20 b(*a*)h(\(make-package)519 +299 y Fn(')542 295 y Fs(a\)\))127 b(;)p Fw(Implicitly)11 +b(uses)k(pac)o(k)n(age)e Fs(common-lisp)0 347 y(\(setq)20 +b(*b*)h(\(make-package)519 351 y Fn(')542 347 y Fs(b\)\))127 +b(;)p Fw(Implicitly)11 b(uses)k(pac)o(k)n(age)e Fs(common-lisp)0 +399 y(\(setq)20 b(*c*)h(\(make-package)519 403 y Fn(')542 +399 y Fs(c)g(:use)691 403 y Fn(')715 399 y Fs(\(a)g(b\)\)\))0 +502 y(\(do-symbols)e(\(x)i(*c*\))f(\(print)g(x\)\))84 +b(;)p Fw(Sym)o(b)q(ols)12 b(in)h(pac)o(k)n(age)h Fs(common-lisp)720 +554 y(;)21 b Fw(migh)o(t)12 b(b)q(e)i(prin)o(ted)g(once)h(or)f(t)o +(wice)g(here)42 638 y(X3J13)k(v)o(oted)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k +(see)d(sec-)0 690 y(tion)13 b(7.9.)-33 702 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 742 a(Note)g(that)f(the)h Fs(loop)f Fw(construct)i(pro) +o(vides)f(a)f(kind)h(of)f Fs(for)f Fw(clause)j(that)e(can)h(iterate)-33 +714 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 794 a(o)o(v)o(er)h(the)g(sym)o(b)q(ols)f(of)g(a)h(pac)o +(k)n(age)f(\(see)i(c)o(hapter)g(26\).)-33 805 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1255 914 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(do-external-symbo)o(ls)32 b(\()p Fv(var)21 b Fw([)p +Fv(p)n(ackage)i Fw([)p Fv(r)n(esult)p Fw(])7 b(])g Fs(\))442 +966 y Ft(f)p Fv(de)n(clar)n(ation)p Ft(g)681 951 y Fl(\003)728 +966 y Ft(f)p Fv(tag)15 b Ft(j)f Fv(statement)p Ft(g)1040 +951 y Fl(\003)0 1042 y Fs(do-external-symbo)o(ls)c Fw(is)j(just)h(lik)o +(e)e Fs(do-symbols)p Fw(,)f(except)k(that)e(only)f(the)i(external)0 +1094 y(sym)o(b)q(ols)e(of)i(the)g(sp)q(eci\014ed)i(pac)o(k)n(age)d(are) +h(scanned.)42 1146 y(The)i(clari\014cation)f(v)o(oted)i(b)o(y)f(X3J13)f +(in)h(Marc)o(h)g(1988)g(for)f Fs(do-symbols)f Ft(h)p +Fw(66)p Ft(i)p Fw(,)i(re-)-33 1118 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1198 a(garding)f(redundan)o(t)h(executions)h(of)e(the)h +(b)q(o)q(dy)f(for)h(the)g(same)e(sym)o(b)q(ol,)g(applies)h(also)0 +1250 y(to)f Fs(do-external-symb)o(ols)p Fw(.)-33 1262 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1302 a(X3J13)i(v)o(oted)i(in)e(Jan)o(uary)h(1989)f +Ft(h)p Fw(127)p Ft(i)h Fw(to)g(clarify)f(that)h(the)h +Fv(p)n(ackage)g Fw(argumen)o(t)-33 1273 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1354 a(ma)o(y)12 b(b)q(e)i(either)h(a)f(pac)o(k)n(age)f +(ob)r(ject)i(or)f(a)f(pac)o(k)n(age)h(name)f(\(see)i(section)f(11.2\).) +-33 1365 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1406 a(X3J13)k(v)o(oted)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k +(see)d(sec-)-33 1377 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1458 a(tion)13 b(7.9.)-33 1469 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1255 1577 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(do-all-symbols)32 b(\()p Fv(var)21 b Fw([)p Fv(r)n(esult-form)p +Fw(])7 b Fs(\))333 1629 y Ft(f)p Fv(de)n(clar)n(ation)p +Ft(g)572 1614 y Fl(\003)619 1629 y Ft(f)p Fv(tag)15 b +Ft(j)f Fv(statement)p Ft(g)931 1614 y Fl(\003)0 1706 +y Fw(This)i(is)g(similar)d(to)j Fs(do-symbols)e Fw(but)i(executes)j +(the)d(b)q(o)q(dy)g(once)h(for)f(ev)o(ery)h(sym)o(b)q(ol)0 +1758 y(con)o(tained)d(in)g(ev)o(ery)h(pac)o(k)n(age.)k(\(This)14 +b(will)f(not)h(pro)q(cess)j(ev)o(ery)e(sym)o(b)q(ol)d(whatso)q(ev)o +(er,)0 1810 y(b)q(ecause)18 b(a)d(sym)o(b)q(ol)f(not)i(accessible)i(in) +d(an)o(y)h(pac)o(k)n(age)f(will)g(not)h(b)q(e)g(pro)q(cessed.)27 +b(Nor-)0 1862 y(mally)m(,)16 b(unin)o(terned)k(sym)o(b)q(ols)d(are)i +(not)g(accessible)h(in)e(an)o(y)g(pac)o(k)n(age.\))32 +b(It)19 b(is)f Fv(not)h Fw(in)0 1914 y(general)d(the)h(case)g(that)f +(eac)o(h)g(sym)o(b)q(ol)e(is)i(pro)q(cessed)i(only)e(once,)g(b)q +(ecause)i(a)e(sym)o(b)q(ol)0 1966 y(ma)o(y)c(app)q(ear)i(in)g(man)o(y)e +(pac)o(k)n(ages.)42 2017 y(The)k(clari\014cation)f(v)o(oted)i(b)o(y)f +(X3J13)f(in)h(Marc)o(h)g(1988)g(for)f Fs(do-symbols)f +Ft(h)p Fw(66)p Ft(i)p Fw(,)i(re-)-33 1989 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2069 a(garding)f(redundan)o(t)h(executions)h(of)e(the)h +(b)q(o)q(dy)f(for)h(the)g(same)e(sym)o(b)q(ol,)g(applies)h(also)0 +2121 y(to)f Fs(do-all-symbols)p Fw(.)-33 2133 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2173 a(X3J13)i(v)o(oted)i(in)e(Jan)o(uary)h(1989)f +Ft(h)p Fw(127)p Ft(i)h Fw(to)g(clarify)f(that)h(the)h +Fv(p)n(ackage)g Fw(argumen)o(t)-33 2145 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2225 a(ma)o(y)12 b(b)q(e)i(either)h(a)f(pac)o(k)n(age)f +(ob)r(ject)i(or)f(a)f(pac)o(k)n(age)h(name)f(\(see)i(section)f(11.2\).) +-33 2237 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2277 a(X3J13)k(v)o(oted)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k +(see)d(sec-)-33 2249 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a(tion)13 b(7.9.)-33 2340 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 294 318 +294 317 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(294)77 b(COMMON)13 +b(LISP)42 295 y Fw(X3J13)18 b(v)o(oted)i(in)f(Jan)o(uary)g(1989)f +Ft(h)p Fw(98)p Ft(i)h Fw(to)g(add)h(a)f(new)g(macro)f +Fs(with-package-)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(iterator)12 b Fw(to)i(the)g(language.)-33 +458 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 486 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(with-package-iter)o(ator)32 b(\()p Fv(mname)15 b(p)n(ackage-list) +21 b Ft(f)p Fv(symb)n(ol-typ)n(e)p Ft(g)1138 471 y Fk(+)1172 +486 y Fs(\))486 538 y Ft(f)7 b Fv(form)p Ft(g)621 523 +y Fl(\003)0 615 y Fw(The)j(name)e Fv(mname)i Fw(is)f(b)q(ound)h(and)f +(de\014ned)h(as)g(if)e(b)o(y)h Fs(macrolet)p Fw(,)f(with)h(the)h(b)q(o) +q(dy)g Fv(form)s Fw(s)0 667 y(as)16 b(its)g(lexical)g(scop)q(e,)h(to)f +(b)q(e)h(a)f(\\generator)h(macro")d(suc)o(h)j(that)g(eac)o(h)f(in)o(v)o +(o)q(cation)f(of)0 719 y Fs(\()p Fv(mname)p Fs(\))d Fw(will)f(return)i +(a)e(sym)o(b)q(ol)g(and)g(that)h(successiv)o(e)j(in)o(v)o(o)q(cations)c +(will)f(ev)o(en)o(tually)0 771 y(deliv)o(er,)h(one)h(b)o(y)f(one,)h +(all)e(the)i(sym)o(b)q(ols)e(from)f(the)j(pac)o(k)n(ages)g(that)f(are)h +(elemen)o(ts)f(of)g(the)0 823 y(list)h(that)h(is)f(the)h(v)n(alue)f(of) +g(the)h(expression)h Fv(p)n(ackage-list)e Fw(\(whic)o(h)h(is)f(ev)n +(aluated)h(exactly)0 875 y(once\).)42 927 y(Eac)o(h)f(elemen)o(t)g(of)f +(the)i Fv(p)n(ackage-list)f Fw(v)n(alue)f(ma)o(y)g(b)q(e)h(either)h(a)f +(pac)o(k)n(age)g(or)g(the)h(name)0 979 y(of)18 b(a)g(pac)o(k)n(age.)31 +b(As)18 b(a)g(further)i(con)o(v)o(enience,)g(if)d(the)i +Fv(p)n(ackage-list)f Fw(v)n(alue)g(is)g(itself)g(a)0 +1030 y(pac)o(k)n(age)12 b(or)g(the)h(name)e(of)h(a)g(pac)o(k)n(age,)g +(it)g(is)g(treated)h(as)g(if)e(a)h(singleton)g(list)g(con)o(taining)0 +1082 y(that)h(v)n(alue)f(had)g(b)q(een)i(pro)o(vided.)k(If)12 +b(the)h Fv(p)n(ackage-list)g Fw(v)n(alue)f(is)h Fs(nil)p +Fw(,)e(it)i(is)f(considered)0 1134 y(to)i(b)q(e)g(an)g(empt)o(y)f(list) +g(of)g(pac)o(k)n(ages.)42 1186 y(A)o(t)j(eac)o(h)i(in)o(v)o(o)q(cation) +d(of)h(the)i(generator)f(macro,)f(there)i(are)g(t)o(w)o(o)e(p)q +(ossibilities.)26 b(If)0 1238 y(there)19 b(is)f(y)o(et)g(another)g +(unpro)q(cessed)i(sym)o(b)q(ol,)d(then)h(four)f(v)n(alues)h(are)g +(returned:)27 b Fs(t)p Fw(,)0 1290 y(the)17 b(sym)o(b)q(ol,)e(a)h(k)o +(eyw)o(ord)h(indicating)e(the)i(accessibilit)o(y)g(of)f(the)h(sym)o(b)q +(ol)d(within)i(the)0 1342 y(pac)o(k)n(age)c(\(see)i(b)q(elo)o(w\),)f +(and)f(the)i(pac)o(k)n(age)e(from)f(whic)o(h)h(the)i(sym)o(b)q(ol)d(w)o +(as)h(accessed.)20 b(If)0 1394 y(there)14 b(are)f(no)f(more)g(unpro)q +(cessed)j(sym)o(b)q(ols)c(in)h(the)i(list)e(of)g(pac)o(k)n(ages,)g +(then)i(one)e(v)n(alue)0 1446 y(is)i(returned:)19 b Fs(nil)p +Fw(.)42 1498 y(When)12 b(the)i(generator)f(macro)f(returns)i(a)e(sym)o +(b)q(ol)f(as)i(its)g(second)h(v)n(alue,)d(the)j(fourth)0 +1550 y(v)n(alue)d(is)h(alw)o(a)o(ys)e(one)i(of)g(the)g(pac)o(k)n(ages)g +(presen)o(t)h(or)f(named)f(in)g(the)h Fv(p)n(ackage-list)g +Fw(v)n(alue,)0 1602 y(and)k(the)i(third)e(v)n(alue)g(is)g(a)h(k)o(eyw)o +(ord)f(indicating)g(accessibilit)o(y:)23 b Fs(:internal)15 +b Fw(means)0 1654 y(presen)o(t)i(in)e(the)i(pac)o(k)n(age)e(and)g(not)h +(exp)q(orted;)h Fs(:external)d Fw(means)h(presen)o(t)i(and)f(ex-)0 +1706 y(p)q(orted;)c(and)f Fs(:inherited)e Fw(means)h(not)g(presen)o(t)j +(\(th)o(us)e(not)g(shado)o(w)o(ed\))g(but)g(inherited)0 +1757 y(from)h(some)h(pac)o(k)n(age)h(used)g(b)o(y)g(the)h(pac)o(k)n +(age)e(that)h(is)g(the)g(fourth)g(v)n(alue.)42 1810 y(Eac)o(h)g +Fv(symb)n(ol-typ)n(e)g Fw(in)g(an)g(in)o(v)o(o)q(cation)f(of)h +Fs(with-package-itera)o(tor)d Fw(is)j(not)h(ev)n(al-)0 +1862 y(uated.)29 b(More)18 b(than)g(one)f(ma)o(y)f(b)q(e)i(presen)o(t;) +i(their)e(order)h(do)q(es)f(not)f(matter.)28 b(They)0 +1913 y(indicate)16 b(the)g(accessibilit)o(y)g(t)o(yp)q(es)h(of)e(in)o +(terest.)26 b(A)16 b(sym)o(b)q(ol)e(is)i(not)g(returned)h(b)o(y)f(the)0 +1965 y(generator)e(macro)d(unless)j(its)f(actual)f(accessibilit)o(y)h +(matc)o(hes)f(one)h(of)f(the)i Fv(symb)n(ol-typ)n(e)0 +2017 y Fw(indicators.)24 b(The)16 b(standard)g Fv(symb)n(ol-typ)n(e)f +Fw(indicators)h(are)g Fs(:internal)p Fw(,)e Fs(:external)p +Fw(,)0 2069 y(and)f Fs(:inherited)p Fw(,)e(but)j(implemen)o(tations)c +(are)k(p)q(ermitted)g(to)f(extend)i(the)f(syn)o(tax)f(of)0 +2121 y Fs(with-package-iter)o(ator)6 b Fw(b)o(y)k(recognizing)f +(additional)f(sym)o(b)q(ol)g(accessibilit)o(y)h(t)o(yp)q(es.)0 +2173 y(An)h(error)h(is)f(signaled)g(if)f(no)h Fv(symb)n(ol-typ)n(e)g +Fw(is)g(supplied,)h(or)f(if)f(an)o(y)h(supplied)g Fv(symb)n(ol-typ)n(e) +0 2225 y Fw(is)k(not)g(recognized)h(b)o(y)e(the)i(implemen)o(tati)o +(on.)42 2277 y(The)g(order)h(in)e(whic)o(h)h(sym)o(b)q(ols)e(are)j(pro) +q(duced)g(b)o(y)f(successiv)o(e)i(in)o(v)o(o)q(cations)d(of)g(the)0 +2329 y(generator)f(macro)e(is)h(not)g(necessarily)i(correlated)f(in)f +(an)o(y)f(w)o(a)o(y)h(with)g(the)h(order)g(of)e(the)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 295 319 +295 318 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(P)m(A)o(CKA)o(GES)1143 +b(295)0 295 y Fw(pac)o(k)n(ages)14 b(in)f(the)i Fv(p)n(ackage-list)p +Fw(.)j(When)c(more)f(than)h(one)g(pac)o(k)n(age)f(is)h(in)g(the)g +Fv(p)n(ackage-)0 347 y(list)p Fw(,)d(sym)o(b)q(ols)g(accessible)j(from) +c(more)h(than)i(one)f(pac)o(k)n(age)g(ma)o(y)e(b)q(e)j(pro)q(duced)h +(once)f(or)0 399 y(more)h(than)g(once.)21 b(Ev)o(en)15 +b(when)g(only)e(one)i(pac)o(k)n(age)f(is)g(sp)q(eci\014ed,)i(sym)o(b)q +(ols)d(inherited)0 450 y(in)f(m)o(ultiple)e(w)o(a)o(ys)j(via)f(used)h +(pac)o(k)n(ages)g(ma)o(y)d(b)q(e)k(pro)q(duced)f(once)h(or)e(more)g +(than)h(once.)42 502 y(The)19 b(implicit)e(in)o(terior)i(state)h(of)f +(the)h(iteration)f(o)o(v)o(er)g(the)h(list)f(of)g(pac)o(k)n(ages)g(and) +0 554 y(the)g(sym)o(b)q(ols)d(within)i(them)f(has)h(dynamic)f(exten)o +(t.)31 b(It)18 b(is)g(an)g(error)h(to)f(in)o(v)o(ok)o(e)f(the)0 +606 y(generator)e(macro)d(once)j(the)f Fs(with-package-iterat)o(or)d +Fw(form)h(has)i(b)q(een)h(exited.)42 658 y(An)o(y)c(n)o(um)o(b)q(er)g +(of)h(in)o(v)o(o)q(cations)f(of)g Fs(with-package-iter)o(ator)d +Fw(and)k(related)h(macros)0 710 y(ma)o(y)d(b)q(e)k(nested,)f(and)g(the) +g(generator)g(macro)e(of)h(an)g(outer)h(in)o(v)o(o)q(cation)e(ma)o(y)g +(b)q(e)i(called)0 762 y(from)f(within)i(an)g(inner)g(in)o(v)o(o)q +(cation)f(\(pro)o(vided,)h(of)g(course,)h(that)f(its)g(name)f(is)h +(visible)0 814 y(or)g(otherwise)h(made)d(a)o(v)n(ailable\).)42 +866 y(X3J13)18 b(v)o(oted)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k +(see)d(sec-)0 917 y(tion)13 b(7.9.)p 0 977 V 0 1037 a +Fm(Rationale:)19 b FA(This)c(facilit)o(y)h(is)e(a)g(bit)h(more)f +(\015exible)i(in)f(some)f(w)o(a)o(ys)g(than)h Fj(do-symbol)o(s)c +FA(and)0 1083 y(friends.)23 b(In)15 b(particular,)i(it)e(mak)o(es)g(it) +h(p)q(ossible)h(to)d(implemen)o(t)j Fj(loop)c FA(clauses)j(for)f +(iterating)0 1129 y(o)o(v)o(er)e(pac)o(k)n(ages)h(in)g(a)f(w)o(a)o(y)g +(that)g(is)h(b)q(oth)f(p)q(ortable)i(and)f(e\016cien)o(t)g(\(see)f(c)o +(hapter)g(26\).)p 0 1161 V -33 1173 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1288 a Fo(11.8.)20 b(Mo)r(dules)0 1367 +y Fw(A)13 b Fv(mo)n(dule)h Fw(is)f(a)g(Common)d(Lisp)j(subsystem)h +(that)f(is)g(loaded)g(from)f(one)h(or)h(more)e(\014les.)0 +1418 y(A)18 b(mo)q(dule)e(is)h(normally)e(loaded)i(as)g(a)g(single)h +(unit,)f(regardless)i(of)e(ho)o(w)g(man)o(y)e(\014les)0 +1470 y(are)g(in)o(v)o(olv)o(ed.)i(A)e(mo)q(dule)d(ma)o(y)h(consist)h +(of)g(one)h(pac)o(k)n(age)e(or)i(sev)o(eral)f(pac)o(k)n(ages.)19 +b(The)0 1522 y(\014le-loading)g(pro)q(cess)j(is)e(necessarily)i(implem) +o(en)o(tation-dep)q(enden)o(t,)e(but)h(Common)0 1574 +y(Lisp)15 b(pro)o(vides)h(some)e(v)o(ery)i(simple)d(p)q(ortable)j(mac)o +(hinery)e(for)h(naming)e(mo)q(dules,)h(for)0 1626 y(k)o(eeping)f(trac)o +(k)f(of)g(whic)o(h)h(mo)q(dules)e(ha)o(v)o(e)h(b)q(een)i(loaded,)e(and) +g(for)g(loading)f(mo)q(dules)h(as)0 1678 y(a)i(unit.)42 +1730 y(X3J13)g(v)o(oted)h(in)f(Jan)o(uary)h(1989)f Ft(h)p +Fw(154)p Ft(i)g Fw(to)g(eliminate)f(the)j(en)o(tire)f(mo)q(dule)e +(facilit)o(y)-33 1701 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1782 a(from)d(the)i(language;)f(that)h(is,)f(the)i(v)n +(ariable)d Fs(*modules*)g Fw(and)h(the)i(functions)e +Fs(provide)0 1834 y Fw(and)20 b Fs(require)f Fw(are)i(deleted.)38 +b(X3J13)20 b(commen)o(ted)f(that)h(the)h(\014le-loading)e(feature)0 +1885 y(of)g Fs(require)g Fw(is)g(not)h(p)q(ortable,)h(and)f(that)g(the) +g(remaining)e(functionalit)o(y)g(is)i(easily)0 1937 y(implemen)o(ted)14 +b(b)o(y)j(user)h(co)q(de.)27 b(\(I)16 b(will)g(add)g(that)h(in)f(an)o +(y)g(case)i(the)f(sp)q(eci\014cation)g(of)0 1989 y Fs(require)10 +b Fw(is)i(so)g(v)n(ague)g(that)g(di\013eren)o(t)h(implem)o(en)o +(tations)c(are)k(lik)o(ely)d(to)i(ha)o(v)o(e)g(di\013ering)0 +2041 y(b)q(eha)o(vior.\))-33 2053 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1219 2148 a([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(*modules*)0 2225 y Fw(The)20 b(v)n(ariable)e Fs(*modules*)g +Fw(is)h(a)g(list)g(of)g(names)g(of)f(the)i(mo)q(dules)f(that)g(ha)o(v)o +(e)h(b)q(een)0 2277 y(loaded)12 b(in)o(to)h(the)g(Lisp)g(system)g(so)g +(far.)k(This)c(list)f(is)h(used)h(b)o(y)f(the)g(functions)g +Fs(provide)0 2329 y Fw(and)h Fs(require)p Fw(.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 296 320 +296 319 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(296)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(provide)20 b Fv(mo)n(dule)p Fs(-)p Fv(name)1209 +347 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(require)20 +b Fv(mo)n(dule)p Fs(-)p Fv(name)25 b Fs(&optional)19 +b Fv(p)n(athname)0 423 y Fw(Eac)o(h)14 b(mo)q(dule)f(has)h(a)f(unique)h +(name)f(\(a)h(string\).)k(The)c Fs(provide)f Fw(and)g +Fs(require)g Fw(func-)0 475 y(tions)j(accept)g(either)h(a)e(string)h +(or)g(a)f(sym)o(b)q(ol)f(as)i(the)g Fv(mo)n(dule-name)g +Fw(argumen)o(t.)23 b(If)15 b(a)0 527 y(sym)o(b)q(ol)10 +b(is)j(pro)o(vided,)f(its)g(prin)o(t)g(name)f(is)i(used)g(as)f(the)h +(mo)q(dule)e(name.)16 b(If)c(the)h(mo)q(dule)0 579 y(consists)f(of)e(a) +h(single)g(pac)o(k)n(age,)g(it)f(is)h(customary)f(for)h(the)h(pac)o(k)n +(age)e(and)h(mo)q(dule)f(names)0 631 y(to)k(b)q(e)g(the)h(same.)42 +683 y(The)20 b Fs(provide)f Fw(function)h(adds)h(a)f(new)g(mo)q(dule)f +(name)g(to)h(the)h(list)f(of)g(mo)q(dules)0 735 y(main)o(tained)11 +b(in)i(the)h(v)n(ariable)f Fs(*modules*)p Fw(,)e(thereb)o(y)j +(indicating)f(that)g(the)h(mo)q(dule)e(in)0 787 y(question)i(has)g(b)q +(een)h(loaded.)42 839 y(The)h Fs(require)e Fw(function)i(tests)i +(whether)f(a)f(mo)q(dule)e(is)i(already)g(presen)o(t)h(\(using)f(a)0 +890 y(case-sensitiv)o(e)f(comparison\);)c(if)h(the)i(mo)q(dule)e(is)h +(not)g(presen)o(t,)h Fs(require)e Fw(pro)q(ceeds)j(to)0 +942 y(load)d(the)i(appropriate)f(\014le)g(or)f(set)i(of)f(\014les.)18 +b(The)13 b Fv(p)n(athname)h Fw(argumen)o(t,)d(if)i(presen)o(t,)h(is)0 +994 y(a)e(single)f(pathname)g(or)h(a)f(list)h(of)f(pathnames)g(whose)i +(\014les)f(are)g(to)g(b)q(e)h(loaded)e(in)g(order,)0 +1046 y(left)j(to)g(righ)o(t.)k(If)c(the)h Fv(p)n(athname)g +Fw(argumen)o(t)e(is)h Fs(nil)f Fw(or)h(is)g(not)h(pro)o(vided,)e(the)i +(system)0 1098 y(will)e(attempt)h(to)h(determine,)g(in)f(some)g +(system-dep)q(enden)o(t)i(manner,)e(whic)o(h)h(\014les)g(to)0 +1150 y(load.)23 b(This)16 b(will)e(t)o(ypically)h(in)o(v)o(olv)o(e)f +(some)h(cen)o(tral)i(registry)f(of)f(mo)q(dule)g(names)g(and)0 +1202 y(the)f(asso)q(ciated)h(\014le)f(lists.)42 1254 +y(X3J13)19 b(v)o(oted)h(in)f(Marc)o(h)h(1988)f(not)g(to)h(p)q(ermit)e +(sym)o(b)q(ols)h(as)g(pathnames)g Ft(h)p Fw(134)p Ft(i)-33 +1225 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1306 a Fw(and)d(to)h(sp)q(ecify)g(exactly)f(whic)o(h)h +(streams)f(ma)o(y)f(b)q(e)i(used)g(as)g(pathnames)e Ft(h)p +Fw(132)p Ft(i)h Fw(\(see)0 1357 y(section)f(23.1.6\).)h(Of)e(course,)g +(this)g(is)g(mo)q(ot)e(if)h Fs(require)g Fw(is)g(not)h(in)g(the)g +(language.)-33 1369 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1409 a(X3J13)g(v)o(oted)h(in)g(Jan)o(uary)g(1989)e +Ft(h)p Fw(156)p Ft(i)i Fw(to)g(sp)q(ecify)g(that)g(the)h(v)n(alues)e +(returned)j(b)o(y)-33 1381 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1461 a Fs(provide)11 b Fw(and)g Fs(require)g +Fw(are)i(implem)o(en)o(tation-dep)q(enden)o(t.)j(Of)c(course,)h(this)f +(is)g(mo)q(ot)0 1513 y(if)h Fs(provide)f Fw(and)i Fs(require)f +Fw(are)h(not)g(in)f(the)i(language.)-33 1525 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1573 V 0 1633 a Fm(Implemen)o(tation)d(note:)17 +b FA(One)12 b(w)o(a)o(y)g(to)g(implemen)o(t)i(suc)o(h)e(a)g(registry)i +(on)e(man)o(y)h(op)q(erating)0 1679 y(systems)i(is)f(simply)i(to)e(use) +h(a)f(distinguish)q(ed)j(\\library")f(directory)g(within)f(the)g +(\014le)g(system,)0 1724 y(where)e(the)g(name)h(of)e(eac)o(h)i(\014le)g +(is)f(the)g(same)h(as)f(the)g(mo)q(dule)h(it)g(con)o(tains.)p +0 1750 V 0 1872 a Fo(11.9.)20 b(An)c(Example)0 1956 y +Fw(Most)11 b(users)h(will)d(w)o(an)o(t)h(to)g(load)g(and)g(use)h(pac)o +(k)n(ages)g(but)f(will)f(nev)o(er)j(need)f(to)f(build)g(one.)-38 +1931 y Fk(.)-38 1944 y(.)-38 1957 y(.)-38 1970 y(.)-38 +1983 y(.)-38 1996 y(.)-38 2009 y(.)-38 2022 y(.)-38 2035 +y(.)-38 2048 y(.)-38 2061 y(.)-38 2074 y(.)-38 2087 y(.)-38 +2100 y(.)-38 2113 y(.)-38 2126 y(.)-38 2139 y(.)-38 2152 +y(.)-38 2165 y(.)-38 2178 y(.)-38 2191 y(.)-38 2204 y(.)-38 +2217 y(.)-38 2230 y(.)-38 2243 y(.)-38 2256 y(.)-38 2269 +y(.)-38 2282 y(.)-38 2295 y(.)-38 2307 y(.)-38 2320 y(.)-38 +2333 y(.)-38 2346 y(.)-38 2359 y(.)-38 2372 y(.)-38 2385 +y(.)-38 2398 y(.)-38 2411 y(.)-38 2424 y(.)-38 2437 y(.)-38 +2450 y(.)-38 2463 y(.)-38 2476 y(.)-38 2489 y(.)-38 2502 +y(.)-38 2515 y(.)-38 2528 y(.)-38 2541 y(.)-38 2554 y(.)-38 +2567 y(.)-38 2580 y(.)-38 2593 y(.)-38 2606 y(.)-38 2619 +y(.)-38 2632 y(.)-38 2645 y(.)-38 2658 y(.)-38 2671 y(.)-38 +2684 y(.)-38 2697 y(.)-38 2710 y(.)-38 2723 y(.)-38 2736 +y(.)-38 2749 y(.)-38 2762 y(.)-38 2774 y(.)-38 2787 y(.)-38 +2800 y(.)-38 2813 y(.)-38 2826 y(.)-38 2839 y(.)-38 2852 +y(.)-38 2865 y(.)-38 2878 y(.)-38 2891 y(.)-38 2904 y(.)-38 +2917 y(.)-38 2930 y(.)-38 2943 y(.)-38 2956 y(.)-38 2969 +y(.)-38 2982 y(.)-38 2995 y(.)-38 3008 y(.)-38 3021 y(.)-38 +3034 y(.)-38 3047 y(.)-38 3060 y(.)-38 3073 y(.)-38 3086 +y(.)-38 3099 y(.)-38 3112 y(.)-38 3125 y(.)-38 3138 y(.)-38 +3151 y(.)-38 3164 y(.)-38 3177 y(.)-38 3190 y(.)-38 3203 +y(.)-38 3216 y(.)-38 3229 y(.)-38 3241 y(.)-38 3254 y(.)-38 +3267 y(.)-38 3280 y(.)-38 3293 y(.)-38 3306 y(.)-38 3319 +y(.)-38 3332 y(.)-38 3345 y(.)-38 3358 y(.)-38 3371 y(.)-38 +3384 y(.)-38 3397 y(.)-38 3410 y(.)-38 3423 y(.)-38 3436 +y(.)-38 3449 y(.)-38 3462 y(.)-38 3475 y(.)-38 3488 y(.)-38 +3501 y(.)-38 3514 y(.)-38 3527 y(.)-38 3540 y(.)-38 3553 +y(.)-38 3566 y(.)-38 3579 y(.)-38 3592 y(.)-38 3605 y(.)-38 +3618 y(.)-38 3631 y(.)-38 3644 y(.)-38 3657 y(.)-38 3670 +y(.)-38 3683 y(.)-38 3696 y(.)-38 3708 y(.)-38 3721 y(.)-38 +3734 y(.)-38 3747 y(.)-38 3760 y(.)-38 3773 y(.)-38 3786 +y(.)-38 3799 y(.)-38 3812 y(.)-38 3825 y(.)-38 3838 y(.)-38 +3851 y(.)-38 3864 y(.)-38 3877 y(.)-38 3890 y(.)-38 3903 +y(.)-38 3916 y(.)-38 3929 y(.)-38 3942 y(.)-38 3955 y(.)-38 +3968 y(.)-38 3981 y(.)-38 3994 y(.)-38 4007 y(.)-38 4020 +y(.)-38 4033 y(.)-38 4046 y(.)-38 4059 y(.)-38 4072 y(.)-38 +4085 y(.)-38 4098 y(.)-38 4111 y(.)-38 4124 y(.)-38 4137 +y(.)-38 4150 y(.)-38 4163 y(.)-38 4175 y(.)-38 4188 y(.)-38 +4201 y(.)-38 4214 y(.)-38 4227 y(.)-38 4240 y(.)-38 4253 +y(.)-38 4266 y(.)-38 4279 y(.)-38 4292 y(.)-38 4305 y(.)-38 +4318 y(.)-38 4331 y(.)-38 4344 y(.)-38 4357 y(.)-38 4370 +y(.)-38 4383 y(.)-38 4396 y(.)-38 4409 y(.)-38 4422 y(.)-38 +4435 y(.)-38 4448 y(.)-38 4461 y(.)-38 4474 y(.)-38 4487 +y(.)-38 4500 y(.)-38 4513 y(.)0 2008 y Fw(Often)15 b(a)f(user)h(will)e +(load)g(a)h(n)o(um)o(b)q(er)f(of)h(pac)o(k)n(ages)g(in)o(to)f(the)i +Fs(user)e Fw(pac)o(k)n(age)h(whenev)o(er)0 2060 y(using)i(Common)d +(Lisp.)24 b(T)o(ypically)15 b(an)h(implem)o(en)o(tation)d(migh)o(t)h +(pro)o(vide)i(some)f(sort)0 2112 y(of)f(initialization)e(\014le)j(mec)o +(hanism)d(to)i(mak)o(e)g(suc)o(h)h(setup)h(automatic)c(when)k(the)f +(Lisp)0 2164 y(starts)f(up.)k(T)m(able)13 b(11-1)g(sho)o(ws)g(suc)o(h)i +(an)e(initialization)e(\014le,)i(one)g(that)h(simply)d(causes)0 +2216 y(other)k(facilities)d(to)i(b)q(e)h(loaded.)-33 +2227 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2268 a(X3J13)i(v)o(oted)i(in)e(Marc)o(h)i(1989)e +Ft(h)p Fw(108)p Ft(i)h Fw(to)g(sp)q(ecify)g(that)h(the)f(forthcoming)e +(ANSI)-33 2239 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2320 a(Common)9 b(Lisp)k(will)e(use)j(the)f(pac)o(k)n +(age)f(name)g Fs(common-lisp-user)d Fw(instead)k(of)f +Fs(user)p Fw(.)-33 2331 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 13 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 297 321 +297 320 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(P)m(A)o(CKA)o(GES)1143 +b(297)p 0 255 1395 2 v 0 344 a Fm(T)l(able)14 b(11-1:)k +FA(An)13 b(Initializati)q(on)j(File)0 440 y Fj(;;;;)h(Lisp)g(init)g +(file)h(for)f(I.)h(Newton.)0 531 y(;;;)g(Set)f(up)h(the)f(USER)h +(package)e(the)h(way)h(I)g(like)f(it.)0 622 y(\(require)174 +625 y Fs(')194 622 y Fj(calculus\))240 b(;I)18 b(use)f(CALCULUS)f(a)i +(lot;)f(load)g(it.)0 668 y(\(use-packa)o(ge)252 671 y +Fs(')273 668 y Fj(calculus\))164 b(;Get)18 b(easy)f(access)f(to)i(its) +598 714 y(;)g(exported)e(symbols.)0 805 y(\(require)174 +808 y Fs(')194 805 y Fj(newtonian-)o(mec)o(ha)o(nic)o(s\))34 +b(;Same)17 b(thing)f(for)i(NEWTONIAN)o(-ME)o(CHA)o(NI)o(CS)0 +851 y(\(use-packa)o(ge)252 854 y Fs(')273 851 y Fj(newtonian)o(-m)o +(ech)o(ani)o(cs)o(\))0 942 y(;;;)g(I)g(just)f(want)g(a)h(few)g(things)e +(from)h(RELATIVITY,)0 988 y(;;;)h(and)f(other)g(things)f(conflict.)0 +1033 y(;;;)i(Import)e(only)h(what)g(I)h(need)g(into)f(the)g(USER)g +(package.)0 1125 y(\(require)174 1128 y Fs(')194 1125 +y Fj(relativity)o(\))0 1170 y(\(import)154 1173 y Fs(')175 +1170 y Fj(\(relativi)o(ty)o(:sp)o(ee)o(d-o)o(f-l)o(ig)o(ht)187 +1216 y(relativit)o(y:i)o(gn)o(ore)o(-s)o(mal)o(l-e)o(rr)o(ors)o(\)\))0 +1307 y(;;;)h(These)e(are)i(worth)f(loading,)e(but)j(I)g(will)f(use)h +(qualified)d(names,)0 1353 y(;;;)j(such)f(as)h(PHLOGIST)o(ON:)o(MAK)o +(E-)o(FIR)o(E-)o(BOT)o(TLE)o(,)d(to)j(get)g(at)g(any)f(symbols)0 +1399 y(;;;)h(I)g(might)f(need)g(from)g(these)g(packages)o(.)0 +1490 y(\(require)174 1493 y Fs(')194 1490 y Fj(phlogiston)o(\))0 +1535 y(\(require)174 1538 y Fs(')194 1535 y Fj(alchemy\))0 +1627 y(;;;)h(End)f(of)h(Lisp)f(init)g(file)g(for)h(I.)g(Newton.)p +0 1700 V 42 1796 a Fw(When)f(eac)o(h)i(of)e(t)o(w)o(o)g(\014les)h(uses) +h(some)e(sym)o(b)q(ols)f(from)g(the)i(other,)h(the)g(author)e(of)0 +1848 y(those)h(\014les)g(m)o(ust)e(b)q(e)i(careful)f(to)g(arrange)h +(the)g(con)o(ten)o(ts)g(of)f(the)h(\014le)f(in)g(the)h(prop)q(er)0 +1900 y(order.)g(T)o(ypically)10 b(eac)o(h)i(\014le)g(con)o(tains)f(a)g +(single)g(pac)o(k)n(age)h(that)f(is)g(a)h(complete)f(mo)q(dule.)0 +1952 y(The)j(con)o(ten)o(ts)h(of)f(suc)o(h)g(a)g(\014le)g(should)f +(include)h(the)h(follo)o(wing)c(items,)i(in)g(order:)0 +2024 y(1.)c(A)k(call)h(to)f Fs(provide)g Fw(that)h(announces)h(the)f +(mo)q(dule)e(name.)0 2108 y(2.)d(A)k(call)h(to)f Fs(in-package)f +Fw(that)i(establishes)h(the)f(pac)o(k)n(age.)0 2193 y(3.)9 +b(A)g(call)g(to)g Fs(shadow)f Fw(that)i(establishes)g(an)o(y)f(lo)q +(cal)g(sym)o(b)q(ols)f(that)h(will)f(shado)o(w)h(sym)o(b)q(ols)42 +2245 y(that)j(w)o(ould)f(otherwise)j(b)q(e)f(inherited)g(from)d(pac)o +(k)n(ages)j(that)f(this)g(pac)o(k)n(age)g(will)f(use.)0 +2329 y(4.)e(A)k(call)h(to)f Fs(export)g Fw(that)h(establishes)h(all)d +(of)i(this)g(pac)o(k)n(age's)f(external)h(sym)o(b)q(ols.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 298 322 +298 321 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(298)77 b(COMMON)13 +b(LISP)0 295 y Fw(5.)c(An)o(y)j(n)o(um)o(b)q(er)g(of)g(calls)h(to)f +Fs(require)g Fw(to)g(load)g(other)i(mo)q(dules)d(that)i(the)g(con)o +(ten)o(ts)h(of)42 347 y(this)e(\014le)h(migh)o(t)e(w)o(an)o(t)i(to)f +(use)i(or)f(refer)h(to.)k(\(Because)d(the)e(calls)g(to)f +Fs(require)g Fw(follo)o(w)42 399 y(the)f(calls)g(to)h +Fs(in-package)p Fw(,)d Fs(shadow)p Fw(,)h(and)h Fs(export)p +Fw(,)f(it)h(is)g(p)q(ossible)h(for)f(the)h(pac)o(k)n(ages)42 +450 y(that)h(ma)o(y)f(b)q(e)j(loaded)e(to)h(refer)h(to)f(external)g +(sym)o(b)q(ols)f(in)g(this)h(pac)o(k)n(age.\))0 543 y(6.)9 +b(An)o(y)j(n)o(um)o(b)q(er)g(of)g(calls)g(to)h Fs(use-package)p +Fw(,)d(to)j(mak)o(e)e(external)i(sym)o(b)q(ols)e(from)g(other)42 +595 y(pac)o(k)n(ages)i(accessible)j(in)d(this)h(pac)o(k)n(age.)0 +687 y(7.)9 b(An)o(y)21 b(n)o(um)o(b)q(er)g(of)g(calls)g(to)g +Fs(import)p Fw(,)h(to)f(mak)o(e)f(sym)o(b)q(ols)g(from)g(other)i(pac)o +(k)n(ages)42 739 y(presen)o(t)15 b(in)e(this)h(pac)o(k)n(age.)0 +831 y(8.)9 b(Finally)m(,)i(the)j(de\014nitions)g(making)e(up)i(the)g +(con)o(ten)o(ts)h(of)e(this)h(pac)o(k)n(age/mo)q(dule.)42 +912 y(The)c(follo)o(wing)d(mnemonic)g(sen)o(tence)k(ma)o(y)d(b)q(e)i +(helpful)f(in)h(remem)o(b)q(ering)e(the)i(prop)q(er)0 +964 y(order)15 b(of)e(these)i(calls:)93 1058 y Fz(Put)g(in)g(sev)o(en)g +(extremely)f(random)g(user)h(in)o(terface)e(commands.)0 +1152 y Fw(Eac)o(h)h(w)o(ord)g(of)f(the)i(sen)o(tence)h(corresp)q(onds)g +(to)d(one)i(item)d(in)i(the)g(ab)q(o)o(v)o(e)g(ordering:)299 +1246 y(Put)331 b Fs(Provide)299 1298 y Fw(IN)352 b Fs(IN-package)299 +1350 y Fw(Sev)o(en)295 b Fs(Shadow)299 1402 y Fw(EXtremely)201 +b Fs(EXport)299 1454 y Fw(Random)243 b Fs(Require)299 +1506 y Fw(USEr)300 b Fs(USE-package)299 1558 y Fw(In)o(terface)241 +b Fs(Import)299 1610 y Fw(COmmands)181 b(COn)o(ten)o(ts)15 +b(of)f(pac)o(k)n(age/mo)q(dule)42 1703 y(The)g(sen)o(tence)i(sa)o(ys)e +(what)g(it)f(helps)i(y)o(ou)e(to)h(do.)42 1756 y(The)j(most)f +(distressing)h(asp)q(ect)i(of)d(the)h(X3J13)g(v)o(ote)g(to)g(eliminate) +d Fs(provide)i Fw(and)-33 1728 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1808 a Fs(require)c Ft(h)p Fw(154)p Ft(i)i +Fw(is)g(of)f(course)i(that)f(it)f(completely)g(ruins)h(the)h(mnemonic)c +(sen)o(tence.)-33 1820 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1861 a(No)o(w,)16 b(supp)q(ose)i(for)e(the)h(sak)o(e)g +(of)f(example)f(that)h(the)h Fs(phlogiston)e Fw(and)h +Fs(alchemy)0 1913 y Fw(pac)o(k)n(ages)22 b(are)h(single-\014le,)h +(single-pac)o(k)n(age)e(mo)q(dules)f(as)i(describ)q(ed)h(ab)q(o)o(v)o +(e.)43 b(The)0 1965 y Fs(phlogiston)18 b Fw(pac)o(k)n(age)i(needs)h(to) +f(use)h(the)g Fs(alchemy)e Fw(pac)o(k)n(age,)i(and)e(the)i +Fs(alchemy)0 2016 y Fw(pac)o(k)n(age)e(needs)h(to)f(use)h(sev)o(eral)f +(external)h(sym)o(b)q(ols)d(from)g(the)j Fs(phlogiston)d +Fw(pac)o(k-)0 2068 y(age.)31 b(The)19 b(de\014nitions)f(in)g(the)h +Fs(alchemy)e Fw(and)h Fs(phlogiston)e Fw(\014les)i(\(see)i(tables)f +(11-)o(2)0 2120 y(and)13 b(11-)o(3\))g(allo)o(w)e(a)h(user)i(to)f(sp)q +(ecify)g Fs(require)f Fw(statemen)o(ts)h(for)f(either)i(of)e(these)i +(mo)q(d-)0 2172 y(ules,)g(or)h(for)f(b)q(oth)g(of)g(them)f(in)h(either) +h(order,)g(and)f(all)f(relev)n(an)o(t)i(information)c(will)i(b)q(e)0 +2224 y(loaded)g(automatically)e(and)j(in)f(the)i(correct)g(order.)42 +2277 y(F)m(or)9 b(v)o(ery)h(large)g(mo)q(dules)f(whose)h(con)o(ten)o +(ts)h(are)f(spread)h(o)o(v)o(er)f(sev)o(eral)h(\014les)f(\(the)h +Fs(lisp)-38 2252 y Fk(.)-38 2265 y(.)-38 2278 y(.)-38 +2291 y(.)-38 2304 y(.)-38 2317 y(.)-38 2330 y(.)-38 2343 +y(.)-38 2356 y(.)-38 2369 y(.)-38 2382 y(.)-38 2395 y(.)-38 +2408 y(.)-38 2420 y(.)-38 2433 y(.)-38 2446 y(.)-38 2459 +y(.)-38 2472 y(.)-38 2485 y(.)-38 2498 y(.)-38 2511 y(.)-38 +2524 y(.)-38 2537 y(.)-38 2550 y(.)-38 2563 y(.)-38 2576 +y(.)-38 2589 y(.)-38 2602 y(.)-38 2615 y(.)-38 2628 y(.)-38 +2641 y(.)-38 2654 y(.)-38 2667 y(.)-38 2680 y(.)-38 2693 +y(.)-38 2706 y(.)-38 2719 y(.)-38 2732 y(.)-38 2745 y(.)-38 +2758 y(.)-38 2771 y(.)-38 2784 y(.)-38 2797 y(.)-38 2810 +y(.)-38 2823 y(.)-38 2836 y(.)-38 2849 y(.)-38 2862 y(.)-38 +2875 y(.)-38 2887 y(.)-38 2900 y(.)-38 2913 y(.)-38 2926 +y(.)-38 2939 y(.)-38 2952 y(.)-38 2965 y(.)-38 2978 y(.)-38 +2991 y(.)-38 3004 y(.)-38 3017 y(.)-38 3030 y(.)-38 3043 +y(.)-38 3056 y(.)-38 3069 y(.)-38 3082 y(.)-38 3095 y(.)-38 +3108 y(.)-38 3121 y(.)-38 3134 y(.)-38 3147 y(.)-38 3160 +y(.)-38 3173 y(.)-38 3186 y(.)-38 3199 y(.)-38 3212 y(.)-38 +3225 y(.)-38 3238 y(.)-38 3251 y(.)-38 3264 y(.)-38 3277 +y(.)-38 3290 y(.)-38 3303 y(.)-38 3316 y(.)-38 3329 y(.)-38 +3342 y(.)-38 3354 y(.)-38 3367 y(.)-38 3380 y(.)-38 3393 +y(.)-38 3406 y(.)-38 3419 y(.)-38 3432 y(.)-38 3445 y(.)-38 +3458 y(.)-38 3471 y(.)-38 3484 y(.)-38 3497 y(.)-38 3510 +y(.)-38 3523 y(.)-38 3536 y(.)-38 3549 y(.)-38 3562 y(.)-38 +3575 y(.)-38 3588 y(.)-38 3601 y(.)-38 3614 y(.)-38 3627 +y(.)-38 3640 y(.)-38 3653 y(.)-38 3666 y(.)-38 3679 y(.)-38 +3692 y(.)-38 3705 y(.)-38 3718 y(.)-38 3731 y(.)-38 3744 +y(.)-38 3757 y(.)-38 3770 y(.)-38 3783 y(.)-38 3796 y(.)-38 +3809 y(.)-38 3821 y(.)-38 3834 y(.)-38 3847 y(.)-38 3860 +y(.)-38 3873 y(.)-38 3886 y(.)-38 3899 y(.)-38 3912 y(.)-38 +3925 y(.)-38 3938 y(.)-38 3951 y(.)-38 3964 y(.)-38 3977 +y(.)-38 3990 y(.)-38 4003 y(.)-38 4016 y(.)-38 4029 y(.)-38 +4042 y(.)-38 4055 y(.)-38 4068 y(.)-38 4081 y(.)-38 4094 +y(.)-38 4107 y(.)-38 4120 y(.)-38 4133 y(.)-38 4146 y(.)-38 +4159 y(.)-38 4172 y(.)-38 4185 y(.)-38 4198 y(.)-38 4211 +y(.)-38 4224 y(.)-38 4237 y(.)-38 4250 y(.)-38 4263 y(.)-38 +4276 y(.)-38 4288 y(.)-38 4301 y(.)-38 4314 y(.)-38 4327 +y(.)-38 4340 y(.)-38 4353 y(.)-38 4366 y(.)-38 4379 y(.)-38 +4392 y(.)-38 4405 y(.)-38 4418 y(.)-38 4431 y(.)-38 4444 +y(.)-38 4457 y(.)-38 4470 y(.)-38 4483 y(.)-38 4496 y(.)-38 +4509 y(.)-38 4522 y(.)-38 4535 y(.)-38 4548 y(.)-38 4561 +y(.)-38 4574 y(.)-38 4587 y(.)-38 4600 y(.)-38 4613 y(.)-38 +4626 y(.)-38 4639 y(.)-38 4652 y(.)-38 4665 y(.)-38 4678 +y(.)-38 4691 y(.)-38 4704 y(.)-38 4717 y(.)-38 4730 y(.)-38 +4743 y(.)-38 4755 y(.)-38 4768 y(.)-38 4781 y(.)-38 4794 +y(.)-38 4807 y(.)-38 4820 y(.)-38 4833 y(.)0 2329 y Fw(pac)o(k)n(age)k +(is)h(an)f(example\),)f(it)h(is)h(recommended)f(that)g(the)h(user)h +(create)g(the)f(pac)o(k)n(age)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 299 323 +299 322 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(P)m(A)o(CKA)o(GES)1143 +b(299)p 0 255 1395 2 v 0 344 a Fm(T)l(able)14 b(11-2:)k +FA(File)c Fj(alchemy)0 473 y(;;;;)j(Alchemy)f(functions,)f(written)h +(and)h(maintained)e(by)j(Merlin,)e(Inc.)0 581 y(\(provide)174 +584 y Fs(')194 581 y Fj(alchemy\))333 b(;The)18 b(module)e(is)i(named)f +(ALCHEMY.)0 626 y(\(in-packag)o(e)233 629 y Fs(')253 +626 y Fj(alchemy\))277 b(;So)18 b(is)g(the)f(package.)0 +734 y(;;;)h(There)e(is)i(nothing)e(to)i(shadow.)0 842 +y(;;;)g(Here)f(is)h(the)f(external)f(interface)o(.)0 +950 y(\(export)154 953 y Fs(')175 950 y Fj(\(lead-to-)o(go)o(ld)f +(gold-to-le)o(ad)187 996 y(antimony-)o(to-)o(zi)o(nc)g(elixir-of-)o +(lif)o(e\)\))0 1104 y(;;;)j(This)f(package/m)o(od)o(ule)e(needs)i(a)h +(function)e(from)0 1149 y(;;;)i(the)f(PHLOGISTON)e(package/m)o(odu)o +(le)o(.)0 1257 y(\(require)174 1260 y Fs(')194 1257 y +Fj(phlogiston)o(\))0 1365 y(;;;)j(We)f(don)193 1368 y +Fs(')213 1365 y Fj(t)h(frequently)d(need)i(most)g(of)h(the)g(external)d +(symbols)h(from)0 1411 y(;;;)i(PHLOGIST)o(ON,)d(so)j(it)408 +1414 y Fs(')428 1411 y Fj(s)g(not)g(worth)e(doing)h(a)h(USE-PACKAGE)d +(on)j(it.)0 1457 y(;;;)g(We)116 1460 y Fs(')135 1457 +y Fj(ll)g(just)f(use)h(qualified)d(names)i(as)h(needed.)35 +b(But)17 b(we)h(use)0 1502 y(;;;)g(one)f(function,)e(MAKE-FIRE-)o(BOT)o +(TL)o(E,)g(a)k(lot,)e(so)h(import)e(it.)0 1548 y(;;;)i(It)116 +1551 y Fs(')135 1548 y Fj(s)h(external)c(in)j(PHLOGISTON)d(and)j(so)f +(can)h(be)g(referred)d(to)0 1594 y(;;;)j(here)f(using)f(":")i +(qualified)o(-na)o(me)d(syntax.)0 1702 y(\(import)154 +1705 y Fs(')175 1702 y Fj(\(phlogist)o(on)o(:ma)o(ke)o(-fi)o(re-)o(bo)o +(ttl)o(e\))o(\))0 1809 y(;;;)j(Now)f(for)h(the)f(real)g(contents)f(of)i +(this)f(file.)0 1917 y(\(defun)f(lead-to-go)o(ld)f(\(x\))37 +1963 y("Takes)i(a)h(quantity)e(of)i(lead)f(and)g(returns)f(gold.")37 +2009 y(\(when)h(\(>)h(\(phlogisto)o(n:)o(hea)o(t-)o(flo)o(w)e(5)i(x)g +(x\))37 b(;Using)16 b(a)i(qualified)e(symbol)205 2054 +y(3\))75 2100 y(\(make-fir)o(e-)o(bot)o(tle)f(x\)\))298 +b(;Using)16 b(an)i(imported)d(symbol)37 2146 y(\(gild)i(x\)\))0 +2254 y(;;;)h(And)f(so)h(on)g(...)p 0 2329 V -33 2344 +a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 300 324 +300 323 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(300)77 b(COMMON)13 +b(LISP)p 0 255 1395 2 v 0 344 a Fm(T)l(able)h(11-3:)k +FA(File)c Fj(phlogiston)0 473 y(;;;;)j(Phlogiston)e(functions)o(,)h(by) +i(Thermoflu)o(id)o(ics)o(,)e(Ltd.)0 581 y(\(provide)174 +584 y Fs(')194 581 y Fj(phlogiston)o(\))240 b(;The)17 +b(module)f(is)i(named)f(PHLOGISTON)o(.)0 626 y(\(in-packag)o(e)233 +629 y Fs(')253 626 y Fj(phlogiston)o(\))184 b(;So)17 +b(is)h(the)g(package.)0 734 y(;;;)g(There)e(is)i(nothing)e(to)i +(shadow.)0 842 y(;;;)g(Here)f(is)h(the)f(external)f(interface)o(.)0 +950 y(\(export)154 953 y Fs(')175 950 y Fj(\(heat-flo)o(w)f(cold-flow)h +(mix-fluid)o(s)f(separate-fl)o(ui)o(ds)187 996 y(burn)i(make-fire)o +(-bo)o(ttl)o(e\))o(\))0 1104 y(;;;)h(This)f(file)g(uses)g(functions)e +(from)i(the)h(ALCHEMY)e(package/m)o(odu)o(le)o(.)0 1212 +y(\(require)174 1215 y Fs(')194 1212 y Fj(alchemy\))0 +1320 y(;;;)i(We)f(use)h(alchemy)e(functions)f(a)j(lot,)g(so)f(use)h +(the)g(package.)0 1365 y(;;;)g(This)f(will)g(allow)g(symbols)f +(exported)f(from)i(the)h(ALCHEMY)e(package)0 1411 y(;;;)i(to)f(be)h +(referred)e(to)i(here)f(without)f(the)h(need)h(for)f(qualified)e +(names.)0 1519 y(\(use-packa)o(ge)252 1522 y Fs(')273 +1519 y Fj(alchemy\))0 1627 y(;;;)j(No)f(calls)g(to)h(IMPORT)e(are)i +(needed)e(here.)0 1735 y(;;;)i(The)f(real)g(contents)f(of)i(this)f +(package/m)o(odu)o(le)o(.)0 1843 y(\(defvar)f(*feeling-)o(wea)o(k*)f +(nil\))0 1951 y(\(defun)h(heat-flow)g(\(amount)g(x)i(y\))37 +1996 y("Make)f(some)g(amount)g(of)h(heat)f(flow)g(from)g(x)h(to)g(y.") +37 2042 y(\(when)f(*feeling-w)o(ea)o(k*)75 2088 y(\(quaff)f +(\(elixir-of)o(-l)o(ife)o(\)\)\))90 b(;No)17 b(qualifier)e(is)j +(needed.)37 2133 y(\(push-heat)d(amount)i(x)h(y\)\))0 +2241 y(;;;)g(And)f(so)h(on)g(...)p 0 2329 V -33 2344 +a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 301 325 +301 324 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(P)m(A)o(CKA)o(GES)1143 +b(301)p 0 255 1395 2 v 0 344 a Fm(T)l(able)14 b(11-4:)k +FA(An)13 b(Initializati)q(on)j(File)e(When)g Fj(defpackage)9 +b FA(Is)k(Used)0 473 y Fj(;;;;)k(Lisp)g(init)g(file)h(for)f(I.)h +(Newton.)0 564 y(;;;)g(Set)f(up)h(the)f(USER)h(package)e(the)h(way)h(I) +g(like)f(it.)0 655 y(\(load)g("calculus)o("\))277 b(;I)18 +b(use)f(CALCULUS)f(a)i(lot;)f(load)g(it.)0 701 y(\(use-packa)o(ge)252 +704 y Fs(')273 701 y Fj(calculus\))164 b(;Get)18 b(easy)f(access)f(to)i +(its)598 747 y(;)g(exported)e(symbols.)0 838 y(\(load)h("newtonia)o(n-) +o(mec)o(han)o(ic)o(s"\))71 b(;Ditto)16 b(for)i(NEWTONIAN)o(-ME)o(CH)o +(ANI)o(CS)0 884 y(\(use-packa)o(ge)252 887 y Fs(')273 +884 y Fj(newtonian)o(-m)o(ech)o(ani)o(cs)o(\))0 975 y(;;;)g(I)g(just)f +(want)g(a)h(few)g(things)e(from)h(RELATIVITY,)0 1021 +y(;;;)h(and)f(other)g(things)f(conflict.)0 1066 y(;;;)i(Import)e(only)h +(what)g(I)h(need)g(into)f(the)g(USER)g(package.)0 1158 +y(\(load)g("relativi)o(ty)o("\))0 1203 y(\(import)154 +1206 y Fs(')175 1203 y Fj(\(relativi)o(ty)o(:sp)o(ee)o(d-o)o(f-l)o(ig)o +(ht)187 1249 y(relativit)o(y:i)o(gn)o(ore)o(-s)o(mal)o(l-e)o(rr)o(ors)o +(\)\))0 1340 y(;;;)h(These)e(are)i(worth)f(loading,)e(but)j(I)g(will)f +(use)h(qualified)d(names,)0 1386 y(;;;)j(such)f(as)h(PHLOGIST)o(ON:)o +(MAK)o(E-)o(FIR)o(E-)o(BOT)o(TLE)o(,)d(to)j(get)g(at)g(any)f(symbols)0 +1432 y(;;;)h(I)g(might)f(need)g(from)g(these)g(packages)o(.)0 +1523 y(\(load)g("phlogist)o(on)o("\))0 1569 y(\(load)g("alchemy")o(\))0 +1660 y(;;;)h(End)f(of)h(Lisp)f(init)g(file)g(for)h(I.)g(Newton.)p +0 1733 V 0 1859 a Fw(and)12 b(declare)i(all)d(of)h(the)h(shado)o(ws)g +(and)f(external)h(sym)o(b)q(ols)f(in)g(a)g(separate)i(\014le,)e(so)h +(that)0 1911 y(this)f(can)h(b)q(e)g(loaded)f(b)q(efore)h(an)o(ything)f +(that)g(migh)o(t)e(use)k(sym)o(b)q(ols)c(from)h(this)i(pac)o(k)n(age.) +-33 1923 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1964 a(Indeed,)18 b(the)g Fs(defpackage)d +Fw(macro)h(appro)o(v)o(ed)i(b)o(y)f(X3J13)g(in)f(Jan)o(uary)i(1989)e +Ft(h)p Fw(52)p Ft(i)-33 1935 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2016 a Fw(encourages)d(the)f(use)g(of)f(suc)o(h)h(a)f +(separate)i(\014le.)k(\(By)12 b(the)g(w)o(a)o(y)m(,)f(X3J13)g(v)o(oted) +g(in)g(Marc)o(h)0 2068 y(1989)j Ft(h)p Fw(108)p Ft(i)h +Fw(to)g(sp)q(ecify)h(that)g(the)g(forthcoming)d(ANSI)j(Commo)o(n)d +(Lisp)i(will)f(use)i(the)0 2119 y(pac)o(k)n(age)e(name)g +Fs(common-lisp)e Fw(instead)j(of)f Fs(lisp)p Fw(.\))19 +b(Let's)c(tak)o(e)g(a)f(lo)q(ok)g(at)h(a)f(revision)0 +2171 y(of)f(I.)h(Newton's)g(\014les)g(using)g Fs(defpackage)p +Fw(.)42 2224 y(The)g(new)g(v)o(ersion)g(of)f(the)i(initialization)c +(\014le)j(a)o(v)o(oids)e(using)i Fs(require)p Fw(;)e(instead,)h(w)o(e)0 +2276 y(assume)g(that)h Fs(load)f Fw(will)g(do)g(the)i(job)e(\(see)j +(table)d(11-4\).)42 2329 y(The)19 b(other)g(\014les)g(ha)o(v)o(e)f(eac) +o(h)h(b)q(een)h(split)e(in)o(to)g(t)o(w)o(o)g(parts,)i(one)f(that)g +(establishes)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 302 326 +302 325 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(302)77 b(COMMON)13 +b(LISP)0 295 y Fw(the)k(pac)o(k)n(age)g(and)f(one)h(that)g(de\014nes)h +(the)f(con)o(ten)o(ts.)27 b(This)17 b(example)e(uses)j(a)e(simple)0 +347 y(con)o(v)o(en)o(tion)d(that)f(for)h(an)o(y)f(\014le)h(named,)f(sa) +o(y)m(,)g(\\)p Fs(foo)p Fw(")f(the)j(\014le)f(named)f(\\)p +Fs(foo-package)p Fw(")0 399 y(con)o(tains)17 b(the)h(necessary)h +Fs(defpackage)c Fw(and/or)i(other)h(pac)o(k)n(age-establishing)e(co)q +(de.)0 450 y(The)e(idiom)0 543 y Fs(\(unless)20 b(\(find-package)e +("FOO"\))42 595 y(\(load)i("foo-package"\)\))0 687 y +Fw(is)12 b(con)o(v)o(en)o(tionally)f(used)i(to)f(load)f(a)h(pac)o(k)n +(age)g(de\014nition)g(but)h(only)e(if)h(the)h(pac)o(k)n(age)f(has)0 +739 y(not)j(already)f(b)q(een)i(de\014ned.)22 b(\(This)15 +b(is)g(a)f(bit)h(clumsy)m(,)e(and)i(there)h(are)f(other)g(w)o(a)o(ys)g +(to)0 791 y(arrange)f(things)g(so)g(that)g(a)f(pac)o(k)n(age)h(is)g +(de\014ned)h(no)e(more)g(than)h(once.\))42 844 y(The)j(\014le)h +Fs(alchemy-package)c Fw(is)j(sho)o(wn)h(in)f(table)g(11-)o(5.)28 +b(The)18 b(tric)o(ky)g(p)q(oin)o(t)f(here)0 895 y(is)22 +b(that)h(the)g Fs(alchemy)e Fw(and)h Fs(phlogiston)e +Fw(pac)o(k)n(ages)j(con)o(tain)f(m)o(utual)e(references)0 +947 y(\(eac)o(h)c(imp)q(orts)f(from)e(the)k(other\),)f(and)f(so)h +Fs(defpackage)d Fw(alone)i(cannot)h(do)g(the)g(job.)0 +999 y(Therefore)g(the)g Fs(phlogiston)c Fw(pac)o(k)n(age)j(is)g(not)g +(men)o(tioned)e(in)i(a)f Fs(:use)h Fw(option)f(in)g(the)0 +1051 y Fs(defpackage)f Fw(for)i(the)h Fs(alchemy)e Fw(pac)o(k)n(age.)23 +b(Instead,)16 b(the)g(function)f Fs(use-package)e Fw(is)0 +1103 y(called)f(explicitly)m(,)f(after)h(the)h(pac)o(k)n(age)f +(de\014nition)g(for)g Fs(phlogiston)e Fw(has)i(b)q(een)i(loaded.)0 +1155 y(Note)f(that)f(this)h(\014le)f(has)g(b)q(een)i(co)q(ded)f(with)f +(excruciating)h(care)g(so)g(as)f(to)g(op)q(erate)h(cor-)0 +1207 y(rectly)f(ev)o(en)h(if)e(the)h(pac)o(k)n(age)f(curren)o(t)j(when) +e(the)g(\014le)g(is)f(loaded)h(do)q(es)g(not)g(inherit)f(from)0 +1259 y(the)h Fs(common-lisp)d Fw(pac)o(k)n(age.)17 b(In)11 +b(particular,)g(the)h(standard)g(load-pac)o(k)n(age-de\014nition)0 +1311 y(idiom)f(has)j(b)q(een)h(p)q(epp)q(ered)h(with)e(pac)o(k)n(age)f +(quali\014ers:)0 1403 y Fs(\(cl:unless)19 b(\(cl:find-package)f +("PHLOGISTON"\))42 1455 y(\(cl:load)i("phlogiston-packa)o(ge"\)\))0 +1547 y Fw(Note)14 b(the)h(use)g(of)e(the)h(nic)o(kname)f +Fs(cl)g Fw(for)h(the)g Fs(common-lisp)e Fw(pac)o(k)n(age.)42 +1600 y(The)k Fs(alchemy)f Fw(\014le,)h(sho)o(wn)g(in)g(table)g(11-)o +(6,)g(simply)e(loads)i(the)g Fs(alchemy)f Fw(pac)o(k)n(age)0 +1652 y(de\014nition,)g(mak)o(es)g(that)g(pac)o(k)n(age)h(curren)o(t,)h +(and)e(then)h(de\014nes)h(the)g(\\real)e(con)o(ten)o(ts")0 +1704 y(of)e(the)i(pac)o(k)n(age.)42 1756 y(The)k(\014le)g +Fs(phlogiston-pack)o(age)d Fw(is)i(sho)o(wn)h(in)f(table)h(11-)o(7.)33 +b(This)19 b(one)g(is)f(a)h(lit-)0 1808 y(tle)e(more)f(straigh)o(tforw)o +(ard)g(than)h(the)g(\014le)g Fs(alchemy-package)p Fw(,)d(b)q(ecause)k +(the)f(latter)0 1860 y(b)q(ears)d(the)g(resp)q(onsibilit)o(y)f(for)g +(breaking)g(the)h(circular)f(pac)o(k)n(age)g(references.)21 +b(This)13 b(\014le)0 1912 y(simply)g(mak)o(es)h(sure)i(that)f(the)g +Fs(alchemy)f Fw(pac)o(k)n(age)g(is)h(de\014ned)h(and)f(then)h(p)q +(erforms)e(a)0 1964 y Fs(defpackage)e Fw(for)h(the)i +Fs(phlogiston)d Fw(pac)o(k)n(age.)42 2017 y(The)19 b +Fs(phlogiston)d Fw(\014le,)j(sho)o(wn)g(in)f(table)h(11-)o(8,)g(simply) +e(loads)h(the)h Fs(phlogiston)0 2069 y Fw(pac)o(k)n(age)f +(de\014nition,)h(mak)o(es)e(that)i(pac)o(k)n(age)f(curren)o(t,)j(and)d +(then)h(de\014nes)h(the)f(\\real)0 2120 y(con)o(ten)o(ts")c(of)e(the)h +(pac)o(k)n(age.)42 2173 y(Let's)19 b(lo)q(ok)f(at)h(the)g(question)h +(of)e(pac)o(k)n(age)h(circularit)o(y)f(in)h(this)g(example)f(a)g +(little)0 2225 y(more)d(closely)m(.)26 b(Supp)q(ose)17 +b(that)f(the)h(\014le)g Fs(alchemy-package)c Fw(is)j(loaded)g(\014rst.) +27 b(It)16 b(de-)0 2277 y(\014nes)d(the)f Fs(alchemy)e +Fw(pac)o(k)n(age)i(and)f(then)i(loads)e(\014le)h Fs(phlogiston-pack)o +(age)p Fw(.)i(That)e(\014le)0 2329 y(in)j(turn)i(\014nds)f(that)g(the)h +(pac)o(k)n(age)e Fs(alchemy)f Fw(has)i(already)g(b)q(een)h(de\014ned)g +(and)f(there-)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 303 327 +303 326 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(P)m(A)o(CKA)o(GES)1143 +b(303)0 295 y Fw(fore)15 b(do)q(es)i(not)e(attempt)f(to)i(load)e +(\014le)h Fs(alchemy-package)d Fw(again;)j(it)g(merely)f(de\014nes)0 +347 y(pac)o(k)n(age)e Fs(phlogiston)p Fw(.)k(The)d(\014le)f +Fs(alchemy-package)d Fw(then)14 b(has)e(a)g(c)o(hance)i(to)e(imp)q(ort) +0 399 y Fs(phlogiston:make-f)o(ire-b)o(ottle)e Fw(and)k(ev)o(erything)g +(is)g(\014ne.)42 450 y(On)j(the)i(other)f(hand,)g(supp)q(ose)h(that)f +(the)g(\014le)g Fs(phlogiston-packa)o(ge)d Fw(is)i(loaded)0 +502 y(\014rst.)30 b(It)18 b(\014nds)g(that)g(the)g(pac)o(k)n(age)f +Fs(alchemy)g Fw(has)g Fv(not)h Fw(already)g(b)q(een)h(de\014ned,)g(and) +0 554 y(therefore)13 b(it)e(immediately)d(loads)j(\014le)h +Fs(alchemy-package)p Fw(.)i(That)e(\014le)f(in)g(turn)h(de\014nes)0 +606 y(the)g Fs(alchemy)d Fw(pac)o(k)n(age;)i(then)h(it)e(\014nds)i +(that)e(pac)o(k)n(age)h Fs(phlogiston)e Fw(is)i(not)f(y)o(et)i +(de\014ned)0 658 y(and)g(so)f(loads)g(\014le)h Fs(phlogiston-package)c +Fv(again)k Fw(\(indeed,)h(in)e(nested)i(fashion\).)k(This)0 +710 y(time)h(\014le)h Fs(phlogiston-packa)o(ge)d Fv(do)n(es)j +Fw(\014nd)h(that)f(the)g(pac)o(k)n(age)g Fs(alchemy)e +Fw(has)j(al-)0 762 y(ready)14 b(b)q(een)g(de\014ned,)h(so)e(it)g +(simply)f(de\014nes)j(pac)o(k)n(age)e Fs(phlogiston)e +Fw(and)i(terminates.)0 814 y(The)f(\014le)f Fs(alchemy-package)d +Fw(then)k(imp)q(orts)e Fs(phlogiston:make-fir)o(e-bo)o(ttle)e +Fw(and)0 866 y(terminates.)19 b(Finally)m(,)12 b(the)k(outer)f(loading) +d(of)i(\014le)h Fs(phlogiston-packa)o(ge)c Fv(r)n(e-de\014nes)0 +917 y Fw(pac)o(k)n(age)16 b Fs(phlogiston)p Fw(.)25 b(Oh,)18 +b(dear.)27 b(F)m(ortunately)16 b(the)i(t)o(w)o(o)e(de\014nitions)h(of)f +(pac)o(k)n(age)0 969 y Fs(phlogiston)11 b Fw(agree)j(in)e(ev)o(ery)i +(detail,)e(so)h(ev)o(erything)g(ough)o(t)g(to)g(b)q(e)h(all)d(righ)o +(t.)18 b(Still,)11 b(it)0 1021 y(lo)q(oks)k(a)g(bit)f(dicey;)i +Fv(I)f Fw(certainly)h(don't)e(ha)o(v)o(e)h(the)h(same)f(w)o(arm,)e +(fuzzy)j(feeling)f(that)g(I)0 1073 y(w)o(ould)e(if)g(no)h(pac)o(k)n +(age)f(w)o(ere)i(de\014ned)g(more)e(than)h(once.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 304 328 +304 327 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(304)77 b(COMMON)13 +b(LISP)p 0 255 1395 2 v 0 344 a Fm(T)l(able)h(11-5:)k +FA(File)c Fj(alchemy-pa)o(ck)o(age)9 b FA(Using)14 b +Fj(defpackage)0 473 y(;;;;)j(Alchemy)f(package,)g(written)g(and)h +(maintained)e(by)j(Merlin,)e(Inc.)0 564 y(\(cl:defpac)o(ka)o(ge)f +("ALCHEMY")37 610 y(\(:export)h("LEAD-TO-)o(GOL)o(D")f("GOLD-TO-L)o +(EAD)o(")205 655 y("ANTIMONY-T)o(O-)o(ZIN)o(C")g("ELIXIR-OF)o(-LI)o(FE) +o("\))37 701 y(\))0 792 y(;;;)j(This)f(package)f(needs)g(a)j(function)c +(from)i(the)h(PHLOGISTO)o(N)e(package.)0 838 y(;;;)i(Load)f(the)g +(definition)e(of)j(the)f(PHLOGISTON)e(package)h(if)i(necessary.)0 +929 y(\(cl:unless)d(\(cl:find-)o(pac)o(ka)o(ge)g("PHLOGISTO)o(N"\))37 +975 y(\(cl:load)h("phlogist)o(on-)o(pac)o(ka)o(ge")o(\)\))0 +1066 y(;;;)i(We)f(don)193 1069 y Fs(')213 1066 y Fj(t)h(frequently)d +(need)i(most)g(of)h(the)g(external)d(symbols)h(from)0 +1112 y(;;;)i(PHLOGIST)o(ON,)d(so)j(it)408 1115 y Fs(')428 +1112 y Fj(s)g(not)g(worth)e(doing)h(a)h(USE-PACKAGE)d(on)j(it.)0 +1158 y(;;;)g(We)116 1161 y Fs(')135 1158 y Fj(ll)g(just)f(use)h +(qualified)d(names)i(as)h(needed.)e(But)h(we)h(use)0 +1203 y(;;;)g(one)f(function,)e(MAKE-FIRE-)o(BOT)o(TL)o(E,)g(a)k(lot,)e +(so)h(import)e(it.)0 1249 y(;;;)i(It)116 1252 y Fs(')135 +1249 y Fj(s)h(external)c(in)j(PHLOGISTON)d(and)j(so)f(can)h(be)g +(referred)d(to)0 1295 y(;;;)j(here)f(using)f(":")i(qualified)o(-na)o +(me)d(syntax.)0 1386 y(\(cl:import)213 1389 y Fs(')233 +1386 y Fj(\(phlogiston)o(:m)o(ake)o(-fi)o(re)o(-bo)o(tt)o(le\))o(\))p +0 1460 V 0 1536 a Fm(T)l(able)f(11-6:)k FA(File)c Fj(alchemy)c +FA(Using)k Fj(defpackage)0 1665 y(;;;;)j(Alchemy)f(functions,)f +(written)h(and)h(maintained)e(by)j(Merlin,)e(Inc.)0 1756 +y(\(unless)g(\(find-pac)o(kag)o(e)g("ALCHEMY")o(\))37 +1802 y(\(load)h("alchemy-p)o(ac)o(kag)o(e"\))o(\))0 1893 +y(\(in-packag)o(e)233 1896 y Fs(')253 1893 y Fj(alchemy\))0 +1985 y(\(defun)f(lead-to-go)o(ld)f(\(x\))37 2030 y("Takes)i(a)h +(quantity)e(of)i(lead)f(and)g(returns)f(gold.")37 2076 +y(\(when)h(\(>)h(\(phlogisto)o(n:)o(hea)o(t-)o(flo)o(w)e(5)i(x)g(x\))37 +b(;Using)16 b(a)i(qualified)e(symbol)205 2122 y(3\))75 +2167 y(\(make-fir)o(e-)o(bot)o(tle)f(x\)\))298 b(;Using)16 +b(an)i(imported)d(symbol)37 2213 y(\(gild)i(x\)\))0 2304 +y(;;;)h(And)f(so)h(on)g(...)p 0 2378 V -33 2344 a @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 305 329 +305 328 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(P)m(A)o(CKA)o(GES)1143 +b(305)p 0 276 1395 2 v 0 366 a Fm(T)l(able)14 b(11-7:)k +FA(File)c Fj(phlogiston)o(-p)o(ack)o(age)9 b FA(Using)14 +b Fj(defpackag)o(e)0 494 y(;;;;)j(Phlogiston)e(package)h(definitio)o +(n,)f(by)j(Thermoflui)o(dic)o(s,)d(Ltd.)0 586 y(;;;)j(This)f(package)f +(uses)h(functions)e(from)i(the)h(ALCHEMY)e(package.)0 +677 y(\(cl:unless)f(\(cl:find-)o(pac)o(ka)o(ge)g("ALCHEMY"\))37 +723 y(\(cl:load)h("alchemy-)o(pac)o(kag)o(e")o(\)\))0 +814 y(\(cl:defpac)o(ka)o(ge)f("PHLOGISTO)o(N")37 860 +y(\(:use)i("COMMON-LI)o(SP)o(")f("ALCHEMY")o(\))37 905 +y(\(:export)g("HEAT-FLO)o(W")205 951 y("COLD-FLOW")205 +997 y("MIX-FLUIDS)o(")205 1042 y("SEPARATE-F)o(LU)o(IDS)o(")205 +1088 y("BURN")205 1134 y("MAKE-FIRE-)o(BO)o(TTL)o(E"\))37 +1179 y(\))p 0 1253 V 0 1331 V 0 1420 a Fm(T)l(able)e(11-8:)k +FA(File)c Fj(phlogiston)9 b FA(Using)14 b Fj(defpackag)o(e)0 +1549 y(;;;;)j(Phlogiston)e(functions)o(,)h(by)i(Thermoflu)o(id)o(ics)o +(,)e(Ltd.)0 1640 y(\(unless)g(\(find-pac)o(kag)o(e)g("PHLOGIST)o(ON)o +("\))37 1686 y(\(load)h("phlogisto)o(n-)o(pac)o(kag)o(e")o(\)\))0 +1777 y(\(in-packag)o(e)233 1780 y Fs(')253 1777 y Fj(phlogiston)o(\))0 +1868 y(\(defvar)f(*feeling-)o(wea)o(k*)f(nil\))0 1960 +y(\(defun)h(heat-flow)g(\(amount)g(x)i(y\))37 2005 y("Make)f(some)g +(amount)g(of)h(heat)f(flow)g(from)g(x)h(to)g(y.")37 2051 +y(\(when)f(*feeling-w)o(ea)o(k*)75 2097 y(\(quaff)f(\(elixir-of)o(-l)o +(ife)o(\)\)\))90 b(;No)17 b(qualifier)e(is)j(needed.)37 +2142 y(\(push-heat)d(amount)i(x)h(y\)\))0 2234 y(;;;)g(And)f(so)h(on)g +(...)p 0 2307 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 306 330 +306 329 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(306)77 b(COMMON)13 +b(LISP)42 295 y Fw(Conclusion:)18 b Fs(defpackage)12 +b Fw(go)q(es)j(a)f(long)f(w)o(a)o(y)m(,)g(but)i(it)f(certainly)g(do)q +(esn't)h(solv)o(e)f(all)0 347 y(the)h(p)q(ossible)g(problems)e(of)h +(pac)o(k)n(age)g(and)h(\014le)f(managemen)o(t.)k(Neither)d(did)f +Fs(require)0 399 y Fw(and)c Fs(provide)p Fw(.)15 b(P)o(erhaps)d +(further)f(exp)q(erimen)o(tation)e(will)g(yield)h(facilities)f +(appropriate)0 450 y(for)14 b(future)g(standardization.)-33 +462 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1882 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 307 331 +307 330 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(12)p 0 448 598 +9 v 0 531 a Fp(Numb)r(ers)0 930 y Fw(Common)13 b(Lisp)i(pro)o(vides)i +(sev)o(eral)f(di\013eren)o(t)h(represen)o(tations)h(for)e(n)o(um)o(b)q +(ers.)23 b(These)0 982 y(represen)o(tations)15 b(ma)o(y)c(b)q(e)j +(divided)e(in)o(to)h(four)f(categories:)19 b(in)o(tegers,)13 +b(ratios,)g(\015oating-)0 1034 y(p)q(oin)o(t)j(n)o(um)o(b)q(ers,)h(and) +g(complex)e(n)o(um)o(b)q(ers.)27 b(Man)o(y)16 b(n)o(umeric)g(functions) +h(will)e(accept)0 1086 y(an)o(y)i(kind)g(of)f(n)o(um)o(b)q(er;)i(they)g +(are)g Fv(generic)p Fw(.)28 b(Other)19 b(functions)e(accept)i(only)d +(certain)0 1138 y(kinds)e(of)f(n)o(um)o(b)q(ers.)42 1191 +y(Note)k(that)g(this)f(remark,)h(predating)f(the)i(design)f(of)f(the)h +(Common)d(Lisp)i(Ob)r(ject)-33 1163 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1243 a(System,)d(uses)i(the)f(term)g(\\generic")g(in)f +(a)h(generic)h(sense)g(and)f(not)g(necessarily)h(in)e(the)0 +1295 y(tec)o(hnical)h(sense)i(used)e(b)o(y)g(CLOS)g(\(see)h(c)o(hapter) +g(2\).)-33 1307 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1349 a(In)i(general,)g(n)o(um)o(b)q(ers)g(in)g(Common)d +(Lisp)j(are)g(not)h(true)g(ob)r(jects;)h Fs(eq)e Fw(cannot)g(b)q(e)0 +1401 y(coun)o(ted)g(up)q(on)g(to)f(op)q(erate)i(on)e(them)g(reliably)m +(.)25 b(In)17 b(particular,)f(it)g(is)h(p)q(ossible)g(that)0 +1453 y(the)d(expression)0 1556 y Fs(\(let)20 b(\(\(x)h(z\))g(\(y)f +(z\)\))h(\(eq)g(x)f(y\)\))0 1658 y Fw(ma)o(y)12 b(b)q(e)i(false)g +(rather)h(than)f(true)g(if)f(the)i(v)n(alue)e(of)h Fs(z)f +Fw(is)h(a)f(n)o(um)o(b)q(er.)p 0 1718 598 2 v 0 1780 +a Fm(Rationale:)24 b FA(This)18 b(o)q(dd)f(breakdo)o(wn)h(of)e +Fj(eq)g FA(in)i(the)e(case)h(of)g(n)o(um)o(b)q(ers)g(allo)o(ws)h(the)f +(imple-)0 1825 y(men)o(tor)c(enough)g(design)i(freedom)d(to)h(pro)q +(duce)g(exceptionall)q(y)i(e\016cien)o(t)f(n)o(umerical)g(co)q(de)f(on) +0 1871 y(con)o(v)o(en)o(tional)j(arc)o(hitectures.)i(MacLisp)d +(requires)f(this)g(freedom,)f(for)f(example,)i(in)g(order)g(to)0 +1917 y(pro)q(duce)i(compiled)g(n)o(umerical)h(co)q(de)d(equal)i(in)f +(sp)q(eed)h(to)e(F)m(ortran.)21 b(Common)15 b(Lisp)g(mak)o(es)0 +1962 y(this)g(same)f(restriction,)h(if)f(not)g(for)g(this)g(freedom,)g +(then)g(at)g(least)h(for)e(the)h(sak)o(e)g(of)g(compati-)0 +2008 y(bilit)o(y)m(.)p 0 2064 V 42 2225 a Fw(If)k(t)o(w)o(o)h(ob)r +(jects)h(are)g(to)f(b)q(e)g(compared)g(for)g(\\iden)o(tit)o(y)m(,")f +(but)h(either)h(migh)o(t)d(b)q(e)j(a)0 2277 y(n)o(um)o(b)q(er,)15 +b(then)h(the)h(predicate)g Fs(eql)e Fw(is)g(probably)g(appropriate;)i +(if)e(b)q(oth)g(ob)r(jects)i(are)0 2329 y(kno)o(wn)c(to)h(b)q(e)h(n)o +(um)o(b)q(ers,)e(then)512 2325 y Fs(U)512 2333 y(U)548 +2329 y Fw(ma)o(y)f(b)q(e)i(preferable.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1337 2428 a Fy(307)p eop +%%Page: 308 332 +308 331 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(308)77 b(COMMON)13 +b(LISP)0 295 y Fo(12.1.)20 b(Precision,)14 b(Con)n(tagion,)h(and)h(Co)r +(ercion)0 383 y Fw(In)f(general,)h(computations)d(with)i(\015oating-p)q +(oin)o(t)f(n)o(um)o(b)q(ers)h(are)h(only)e(appro)o(ximate.)0 +435 y(The)j Fv(pr)n(e)n(cision)g Fw(of)f(a)h(\015oating-p)q(oin)o(t)e +(n)o(um)o(b)q(er)h(is)h(not)g(necessarily)h(correlated)g(at)f(all)0 +487 y(with)f(the)g Fv(ac)n(cur)n(acy)g Fw(of)g(that)g(n)o(um)o(b)q(er.) +23 b(F)m(or)16 b(instance,)g(3.14285714285714)o(2857)c(is)k(a)0 +539 y(more)9 b(precise)j(appro)o(ximation)c(to)i Fh(\031)i +Fw(than)e(3.14159,)f(but)h(the)h(latter)g(is)f(more)g(accurate.)0 +591 y(The)21 b(precision)g(refers)g(to)g(the)g(n)o(um)o(b)q(er)e(of)h +(bits)h(retained)g(in)f(the)h(represen)o(tation.)0 643 +y(When)15 b(an)f(op)q(eration)h(com)o(bines)e(a)i(short)g(\015oating-p) +q(oin)o(t)e(n)o(um)o(b)q(er)h(with)g(a)g(long)g(one,)0 +695 y(the)i(result)h(will)d(b)q(e)i(a)f(long)g(\015oating-p)q(oin)o(t)f +(n)o(um)o(b)q(er.)22 b(This)16 b(rule)g(is)f(made)g(to)g(ensure)0 +746 y(that)i(as)g(m)o(uc)o(h)f(accuracy)i(as)f(p)q(ossible)h(is)e +(preserv)o(ed;)21 b(ho)o(w)o(ev)o(er,)c(it)g(is)g(b)o(y)g(no)g(means)0 +798 y(a)d(guaran)o(tee.)20 b(Comm)o(on)11 b(Lisp)k(n)o(umerical)d +(routines)j(do)f(assume,)g(ho)o(w)o(ev)o(er,)g(that)g(the)0 +850 y(accuracy)j(of)e(an)g(argumen)o(t)g(do)q(es)h(not)g(exceed)h(its)f +(precision.)24 b(Therefore)17 b(when)f(t)o(w)o(o)0 902 +y(small)c(\015oating-p)q(oin)o(t)i(n)o(um)o(b)q(ers)g(are)h(com)o +(bined,)e(the)j(result)f(will)f(alw)o(a)o(ys)f(b)q(e)j(a)e(small)0 +954 y(\015oating-p)q(oin)o(t)f(n)o(um)o(b)q(er.)20 b(This)14 +b(assumption)g(can)g(b)q(e)i(o)o(v)o(erridden)f(b)o(y)f(\014rst)i +(explicitly)0 1006 y(con)o(v)o(erting)10 b(a)g(small)e(\015oating-p)q +(oin)o(t)h(n)o(um)o(b)q(er)g(to)h(a)g(larger)h(represen)o(tation.)18 +b(\(Common)0 1058 y(Lisp)c(nev)o(er)h(con)o(v)o(erts)f(automatically)d +(from)h(a)i(larger)g(size)g(to)g(a)g(smaller)e(one.\))42 +1110 y(Rational)d(computations)h(cannot)i(o)o(v)o(er\015o)o(w)f(in)g +(the)h(usual)f(sense)i(\(though)f(of)e(course)0 1162 +y(there)20 b(ma)o(y)d(not)i(b)q(e)g(enough)g(storage)h(to)e(represen)o +(t)k(one\),)e(as)f(in)o(tegers)g(and)g(ratios)0 1214 +y(ma)o(y)12 b(in)i(principle)g(b)q(e)h(of)f(an)o(y)g(magnitude.)j +(Floating-p)q(oin)o(t)12 b(computations)h(ma)o(y)f(get)0 +1266 y(exp)q(onen)o(t)j(o)o(v)o(er\015o)o(w)e(or)h(under\015o)o(w;)g +(this)g(is)g(an)f(error.)42 1342 y(X3J13)20 b(v)o(oted)h(in)f(June)h +(1989)f Ft(h)p Fw(79)p Ft(i)g Fw(to)h(address)h(certain)f(problems)f +(relating)g(to)-33 1314 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1394 a(\015oating-p)q(oin)o(t)i(o)o(v)o(er\015o)o(w)h +(and)h(under\015o)o(w,)i(but)d(certain)i(parts)f(of)f(the)h(prop)q +(osed)0 1446 y(solution)19 b(w)o(ere)i(not)f(adopted,)h(namely)d(to)i +(add)f(the)i(macro)d Fs(without-floating-)0 1498 y(underflow-traps)9 +b Fw(to)j(the)h(language)e(and)h(to)g(require)h(certain)g(b)q(eha)o +(vior)e(of)h(\015oating-)0 1550 y(p)q(oin)o(t)17 b(o)o(v)o(er\015o)o(w) +h(and)g(under\015o)o(w.)30 b(The)18 b(committee)e(agreed)j(that)f(this) +g(area)g(of)f(the)0 1602 y(language)c(requires)i(more)e(discussion)h(b) +q(efore)h(a)f(solution)f(is)g(standardized.)42 1654 y(F)m(or)c(the)h +(record,)h(the)f(prop)q(osal)f(that)h(w)o(as)f(considered)i(and)f +(rejected)h(\(for)f(the)g(nonce\))0 1706 y(in)o(tro)q(duced)20 +b(a)f(macro)f Fs(without-floating-un)o(derfl)o(ow-tr)o(aps)e +Fw(that)k(w)o(ould)e(exe-)0 1758 y(cute)e(its)e(b)q(o)q(dy)h(in)f(suc)o +(h)h(a)f(w)o(a)o(y)g(that,)g(within)g(its)g(dynamic)f(exten)o(t,)i(a)f +(\015oating-p)q(oin)o(t)0 1810 y(under\015o)o(w)h(m)o(ust)e(not)h +(signal)f(an)h(error)h(but)f(instead)g(m)o(ust)f(pro)q(duce)j(either)f +(a)e(denor-)0 1862 y(malized)e(n)o(um)o(b)q(er)g(or)h(zero)h(as)g(the)g +(result.)18 b(The)13 b(rejected)h(prop)q(osal)e(also)f(sp)q(eci\014ed)j +(the)0 1913 y(follo)o(wing)d(treatmen)o(t)j(of)f(o)o(v)o(er\015o)o(w)h +(and)f(under\015o)o(w:)0 1976 y Fu(.)42 1985 y Fw(A)h(\015oating-p)q +(oin)o(t)f(computation)f(that)j(o)o(v)o(er\015o)o(ws)f(should)g(signal) +f(an)h(error)i(of)d(t)o(yp)q(e)42 2037 y Fs(floating-point-)o(overf)o +(low)p Fw(.)0 2112 y Fu(.)42 2121 y Fw(Unless)23 b(the)g(dynamic)d +(exten)o(t)k(of)d(a)h(use)i(of)d Fs(without-floating-un)o(derfl)o(ow-) +42 2173 y(traps)p Fw(,)11 b(a)i(\015oating-p)q(oin)o(t)e(computation)g +(that)i(under\015o)o(ws)h(should)f(signal)f(an)h(error)42 +2225 y(of)d(t)o(yp)q(e)i Fs(floating-point-un)o(derfl)o(ow)p +Fw(.)i(A)e(result)g(that)f(can)g(b)q(e)h(represen)o(ted)j(only)42 +2277 y(in)d(denormalized)h(form)e(m)o(ust)h(b)q(e)i(considered)h(an)e +(under\015o)o(w)h(in)f(implemen)o(tatio)o(ns)42 2329 +y(that)g(supp)q(ort)i(denormalized)e(\015oating-p)q(oin)o(t)f(n)o(um)o +(b)q(ers.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 309 333 +309 332 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(309)0 +295 y Fw(These)17 b(p)q(oin)o(ts)f(refer)g(to)g(conditions)f +Fs(floating-point-ove)o(rflow)d Fw(and)k Fs(floating-)0 +347 y(point-underflow)g Fw(that)j(w)o(ere)i(appro)o(v)o(ed)e(b)o(y)g +(X3J13)g(and)g(are)h(describ)q(ed)h(in)e(sec-)0 399 y(tion)13 +b(29.5.)-33 410 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2225 a(When)k(rational)f(and)i(\015oating-p)q(oin)o(t)e +(n)o(um)o(b)q(ers)h(are)h(compared)e(or)i(com)o(bined)e(b)o(y)0 +2277 y(a)h(n)o(umerical)f(function,)i(the)g(rule)g(of)f +Fv(\015o)n(ating-p)n(oint)i(c)n(ontagion)f Fw(is)f(follo)o(w)o(ed:)24 +b(when)0 2329 y(a)18 b(rational)g(meets)g(a)h(\015oating-p)q(oin)o(t)e +(n)o(um)o(b)q(er,)h(the)i(rational)d(is)i(\014rst)g(con)o(v)o(erted)h +(to)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 310 334 +310 333 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(310)77 b(COMMON)13 +b(LISP)0 295 y Fw(a)18 b(\015oating-p)q(oin)o(t)f(n)o(um)o(b)q(er)h(of) +g(the)i(same)e(format.)30 b(F)m(or)18 b(functions)h(suc)o(h)g(as)g +Fs(+)g Fw(that)0 347 y(tak)o(e)d(more)f(than)h(t)o(w)o(o)f(argumen)o +(ts,)g(it)h(ma)o(y)e(b)q(e)i(that)g(part)g(of)f(the)i(op)q(eration)f +(is)f(car-)0 399 y(ried)f(out)f(exactly)g(using)g(rationals)g(and)g +(then)h(the)g(rest)g(is)g(done)f(using)g(\015oating-p)q(oin)o(t)0 +450 y(arithmetic.)42 502 y(X3J13)f(v)o(oted)g(in)g(Jan)o(uary)g(1989)g +Ft(h)p Fw(37)p Ft(i)g Fw(to)g(apply)g(the)h(rule)f(of)g(\015oating-p)q +(oin)o(t)f(con)o(ta-)-33 474 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 554 a(gion)d(stated)j(ab)q(o)o(v)o(e)e(to)g(the)h(case)g +(of)f Fv(c)n(ombining)h Fw(rational)e(and)h(\015oating-p)q(oin)o(t)f(n) +o(um)o(b)q(ers.)0 606 y(F)m(or)j Fv(c)n(omp)n(aring)p +Fw(,)h(the)g(follo)o(wing)d(rule)j(is)g(to)f(b)q(e)i(used)f(instead:)18 +b(When)12 b(a)f(rational)f(n)o(um-)0 658 y(b)q(er)k(and)f(a)f +(\015oating-p)q(oin)o(t)g(n)o(um)o(b)q(er)g(are)h(to)g(b)q(e)g +(compared)g(b)o(y)f(a)h(n)o(umerical)e(function,)0 710 +y(in)j(e\013ect)j(the)e(\015oating-p)q(oin)o(t)f(n)o(um)o(b)q(er)g(is)h +(\014rst)g(con)o(v)o(erted)h(to)f(a)g(rational)e(n)o(um)o(b)q(er)i(as)0 +762 y(if)h(b)o(y)h(the)g(function)g Fs(rational)p Fw(,)e(and)i(then)h +(an)e(exact)i(comparison)d(of)i(t)o(w)o(o)f(rational)0 +814 y(n)o(um)o(b)q(ers)e(is)g(p)q(erformed.)19 b(It)14 +b(is)g(of)g(course)i(v)n(alid)c(to)j(use)g(a)f(more)f(e\016cien)o(t)i +(implem)o(en-)0 866 y(tation)h(than)i(actually)e(calling)g(the)h +(function)g Fs(rational)p Fw(,)f(as)h(long)f(as)i(the)f(result)h(of)0 +917 y(the)g(comparison)e(is)h(the)h(same.)27 b(In)17 +b(the)h(case)g(of)f(complex)f(n)o(um)o(b)q(ers,)h(the)h(real)f(and)0 +969 y(imaginary)11 b(parts)j(are)h(handled)f(separately)m(.)p +0 1029 V 0 1089 a Fm(Rationale:)h FA(In)9 b(general,)i(accuracy)f +(cannot)f(b)q(e)h(preserv)o(ed)f(in)h(com)o(bining)i(op)q(erations,)f +(but)e(it)0 1135 y(can)i(b)q(e)g(preserv)o(ed)g(in)h(comparisons,)g +(and)g(preserving)g(it)f(mak)o(es)g(that)g(part)g(of)f(Common)h(Lisp)0 +1181 y(algebraicall)q(y)i(a)d(bit)g(more)g(tractable.)18 +b(In)9 b(particular,)k(this)e(c)o(hange)g(prev)o(en)o(ts)f(the)g +(breakdo)o(wn)0 1226 y(of)15 b(transitivit)o(y)m(.)26 +b(Let)15 b Fj(a)g FA(b)q(e)g(the)g(result)i(of)d Fj(\(/)k(10.0)g +(single-f)o(loa)o(t-e)o(ps)o(ilo)o(n\))o FA(,)13 b(and)i(let)h +Fj(j)0 1272 y FA(b)q(e)11 b(the)h(result)g(of)e Fj(\(floor)17 +b(a\))p FA(.)e(\(Note)c(that)g Fj(\()671 1269 y(U)671 +1275 y(U)709 1272 y(a)18 b(\(+)g(a)h(1.0\)\))9 b FA(is)i(true,)g(b)o(y) +h(the)f(de\014nition)j(of)0 1318 y Fj(single-flo)o(at)o(-ep)o(si)o(lon) +o FA(.\))g(Under)f(the)g(old)h(rules,)f(all)h(of)f Fj(\(<)920 +1315 y(U)920 1321 y(U)958 1318 y(a)18 b(j\))p FA(,)11 +b Fj(\(<)18 b(j)h(\(+)e(j)i(1\)\))p FA(,)11 b(and)0 1363 +y Fj(\(<)40 1360 y(U)40 1366 y(U)78 1363 y(\(+)17 b(j)i(1\))f(a\))c +FA(w)o(ould)i(b)q(e)f(true;)h(transitivit)o(y)i(w)o(ould)e(then)f +(imply)i(that)f Fj(\(<)h(a)i(a\))14 b FA(ough)o(t)0 1409 +y(to)g(b)q(e)g(true,)g(but)h(of)f(course)g(it)h(is)f(false,)h(and)g +(therefore)f(transitivit)o(y)j(fails.)k(Under)14 b(the)h(new)0 +1455 y(rule,)f(ho)o(w)o(ev)o(er,)f Fj(\(<)286 1452 y(U)286 +1458 y(U)323 1455 y(\(+)18 b(j)g(1\))g(a\))12 b FA(is)i(false.)p +0 1490 V -33 1502 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1587 a Fw(F)m(or)k(functions)h(that)g(are)g +(mathematicall)o(y)d(asso)q(ciativ)o(e)i(\(and)h(p)q(ossibly)g(comm)o +(u-)0 1639 y(tativ)o(e\),)e(a)f(Common)e(Lisp)i(implemen)o(tation)d(ma) +o(y)i(pro)q(cess)k(the)e(argumen)o(ts)f(in)g(an)o(y)0 +1690 y(manner)j(consisten)o(t)j(with)e(asso)q(ciativ)o(e)g(\(and)g(p)q +(ossibly)g(comm)o(utativ)o(e\))e(rearrange-)0 1742 y(men)o(t.)k(This)16 +b(do)q(es)h(not)e(a\013ect)i(the)f(order)h(in)e(whic)o(h)g(the)i +(argumen)o(t)d(forms)g(are)j(ev)n(al-)0 1794 y(uated,)i(of)e(course;)k +(that)d(order)h(is)f(alw)o(a)o(ys)f(left)h(to)g(righ)o(t,)g(as)g(in)f +(all)g(Common)e(Lisp)0 1846 y(function)h(calls.)24 b(What)16 +b(is)g(left)g(lo)q(ose)g(is)g(the)h(order)g(in)e(whic)o(h)h(the)h +(argumen)o(t)e(v)n(alues)0 1898 y(are)k(pro)q(cessed.)35 +b(The)19 b(p)q(oin)o(t)f(of)g(all)g(this)g(is)h(that)g(implemen)o(tati) +o(ons)d(ma)o(y)h(di\013er)i(in)0 1950 y(whic)o(h)12 b(automatic)e(co)q +(ercions)i(are)h(applied)e(b)q(ecause)i(of)e(di\013ering)h(orders)h(of) +e(argumen)o(t)0 2002 y(pro)q(cessing.)19 b(As)c(an)e(example,)f +(consider)j(this)f(expression:)0 2087 y Fs(\(+)21 b(1/3)f(2/3)h(1.0D0)f +(1.0)h(1.0E-15\))0 2173 y Fw(One)g(implemen)o(tation)c(migh)o(t)i(pro)q +(cess)j(the)f(argumen)o(ts)f(from)f(left)h(to)h(righ)o(t,)g(\014rst)0 +2225 y(adding)f Fs(1/3)h Fw(and)f Fs(2/3)h Fw(to)g(get)g +Fs(1)p Fw(,)h(then)g(con)o(v)o(erting)f(that)g(to)g(a)g +(double-precision)0 2277 y(\015oating-p)q(oin)o(t)11 +b(n)o(um)o(b)q(er)h(for)g(com)o(bination)e(with)i Fs(1.0D0)p +Fw(,)g(then)h(successiv)o(ely)h(con)o(v)o(ert-)0 2329 +y(ing)e(and)g(adding)g Fs(1.0)f Fw(and)h Fs(1.0E-15)p +Fw(.)17 b(Another)c(implem)o(en)o(tation)d(migh)o(t)g(pro)q(cess)k(the) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 311 335 +311 334 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(311)0 +295 y Fw(argumen)o(ts)12 b(from)g(righ)o(t)g(to)h(left,)g(\014rst)h(p)q +(erforming)d(a)i(single-precision)g(\015oating-p)q(oin)o(t)0 +347 y(addition)g(of)g Fs(1.0)g Fw(and)h Fs(1.0E-15)e +Fw(\(and)i(probably)f(losing)f(some)h(accuracy)i(in)e(the)i(pro-)0 +399 y(cess!\),)j(then)e(con)o(v)o(erting)h(the)f(sum)g(to)g(double)g +(precision)g(and)g(adding)g Fs(1.0D0)p Fw(,)f(then)0 +450 y(con)o(v)o(erting)c Fs(2/3)g Fw(to)h(double-precision)f +(\015oating-p)q(oin)o(t)f(and)h(adding)g(it,)g(and)h(then)g(con-)0 +502 y(v)o(erting)h Fs(1/3)g Fw(and)g(adding)g(that.)18 +b(A)13 b(third)h(implem)o(en)o(tation)c(migh)o(t)i(\014rst)i(scan)g +(all)e(the)0 554 y(argumen)o(ts,)f(pro)q(cess)j(all)d(the)i(rationals)e +(\014rst)h(to)g(k)o(eep)h(that)f(part)g(of)g(the)g(computation)0 +606 y(exact,)17 b(then)g(\014nd)g(an)f(argumen)o(t)g(of)f(the)i +(largest)g(\015oating-p)q(oin)o(t)e(format)g(among)f(all)0 +658 y(the)f(argumen)o(ts)f(and)h(add)f(that,)h(and)f(then)i(add)e(in)g +(all)g(other)h(argumen)o(ts,)f(con)o(v)o(erting)0 710 +y(eac)o(h)17 b(in)f(turn)i(\(all)d(in)h(a)h(p)q(erhaps)h(misguided)d +(attempt)g(to)i(mak)o(e)e(the)i(computation)0 762 y(as)e(accurate)g(as) +g(p)q(ossible\).)20 b(In)14 b(an)o(y)g(case,)h(all)f(three)h +(strategies)h(are)f(legitimate.)i(The)0 814 y(user)d(can)f(of)f(course) +i(con)o(trol)e(the)i(order)f(of)f(pro)q(cessing)i(explicitly)e(b)o(y)g +(writing)g(sev)o(eral)0 866 y(calls;)h(for)h(example:)0 +949 y Fs(\(+)21 b(\(+)g(1/3)f(2/3\))g(\(+)h(1.0D0)f(1.0E-15\))g(1.0\))0 +1032 y Fw(The)f(user)h(can)f(also)g(con)o(trol)f(all)g(co)q(ercions)i +(simply)d(b)o(y)i(writing)f(calls)g(to)h(co)q(ercion)0 +1083 y(functions)14 b(explicitly)m(.)42 1135 y(In)e(general,)g(then,)h +(the)g(t)o(yp)q(e)g(of)f(the)h(result)g(of)f(a)g(n)o(umerical)f +(function)h(is)h(a)f(\015oating-)0 1187 y(p)q(oin)o(t)g(n)o(um)o(b)q +(er)g(of)g(the)i(largest)f(format)d(among)h(all)g(the)j(\015oating-p)q +(oin)o(t)d(argumen)o(ts)h(to)0 1239 y(the)j(function;)e(but)i(if)e(the) +i(argumen)o(ts)e(are)i(all)e(rational,)f(then)j(the)g(result)g(is)f +(rational)0 1291 y(\(except)k(for)f(functions)g(that)g(can)g(pro)q +(duce)h(mathematical)o(ly)c(irrational)h(results,)j(in)0 +1343 y(whic)o(h)c(case)h(a)e(single-format)f(\015oating-p)q(oin)o(t)g +(n)o(um)o(b)q(er)h(ma)o(y)f(result\).)42 1395 y(There)i(is)e(a)h +(separate)h(rule)f(of)f(complex)g(con)o(tagion.)17 b(As)c(a)g(rule,)f +(complex)g(n)o(um)o(b)q(ers)0 1447 y(nev)o(er)17 b(result)f(from)e(a)i +(n)o(umerical)e(function)h(unless)i(one)f(or)f(more)g(of)g(the)h +(argumen)o(ts)0 1499 y(is)c(complex.)17 b(\(Exceptions)c(to)f(this)h +(rule)f(o)q(ccur)i(among)c(the)j(irrational)e(and)h(transcen-)0 +1550 y(den)o(tal)h(functions,)g(sp)q(eci\014cally)g Fs(expt)p +Fw(,)e Fs(log)p Fw(,)h Fs(sqrt)p Fw(,)g Fs(asin)p Fw(,)g +Fs(acos)p Fw(,)g Fs(acosh)p Fw(,)f(and)i Fs(atanh)p Fw(;)0 +1602 y(see)20 b(section)f(12.5.\))31 b(When)18 b(a)g(non-complex)f(n)o +(um)o(b)q(er)h(meets)h(a)f(complex)f(n)o(um)o(b)q(er,)0 +1654 y(the)f(non-complex)d(n)o(um)o(b)q(er)h(is)h(in)f(e\013ect)j +(\014rst)f(con)o(v)o(erted)g(to)e(a)h(complex)f(n)o(um)o(b)q(er)g(b)o +(y)0 1706 y(pro)o(viding)f(an)g(imaginary)e(part)j(of)g(zero.)42 +1758 y(If)i(an)o(y)h(computation)e(pro)q(duces)k(a)e(result)h(that)f +(is)g(a)f(ratio)h(of)f(t)o(w)o(o)h(in)o(tegers)h(suc)o(h)0 +1810 y(that)c(the)h(denominator)d(ev)o(enly)i(divides)g(the)h(n)o +(umerator,)e(then)h(the)h(result)g(is)f(imm)o(e-)0 1862 +y(diately)f(con)o(v)o(erted)i(to)f(the)h(equiv)n(alen)o(t)e(in)o +(teger.)19 b(This)14 b(is)f(called)h(the)h(rule)f(of)f +Fv(r)n(ational)0 1914 y(c)n(anonic)n(alization)p Fw(.)42 +1966 y(If)i(the)h(result)h(of)e(an)o(y)g(computation)f(w)o(ould)h(b)q +(e)i(a)e(complex)f(rational)h(with)g(a)h(zero)0 2017 +y(imaginary)8 b(part,)k(the)g(result)g(is)f(immediately)d(con)o(v)o +(erted)13 b(to)e(a)g(non-complex)f(rational)0 2069 y(n)o(um)o(b)q(er)j +(b)o(y)h(taking)g(the)g(real)g(part.)19 b(This)14 b(is)g(called)g(the)h +(rule)f(of)g Fv(c)n(omplex)h(c)n(anonic)n(al-)0 2121 +y(ization)p Fw(.)22 b(Note)15 b(that)g(this)h(rule)f(do)q(es)h +Fv(not)f Fw(apply)g(to)g(complex)f(n)o(um)o(b)q(ers)g(whose)i(com-)0 +2173 y(p)q(onen)o(ts)e(are)g(\015oating-p)q(oin)o(t)e(n)o(um)o(b)q +(ers.)18 b(Whereas)d Fs(#)835 2169 y(-)835 2177 y(-)856 +2173 y(C\(5)21 b(0\))13 b Fw(and)h Fs(5)f Fw(are)h(not)f(distinct)0 +2225 y(v)n(alues)h(in)g(Common)d(Lisp)k(\(they)g(are)g(alw)o(a)o(ys)e +Fs(eql)p Fw(\),)h Fs(#)864 2221 y(-)864 2229 y(-)886 +2225 y(C\(5.0)20 b(0.0\))14 b Fw(and)g Fs(5.0)g Fw(are)h(al-)0 +2277 y(w)o(a)o(ys)f(distinct)g(v)n(alues)g(in)f(Common)e(Lisp)j(\(they) +g(are)h(nev)o(er)g Fs(eql)p Fw(,)e(although)g(they)h(are)0 +2329 y Fs(equalp)p Fw(\).)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 312 336 +312 335 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(312)77 b(COMMON)13 +b(LISP)0 295 y Fo(12.2.)20 b(Predicates)14 b(on)h(Num)n(b)r(ers)0 +386 y Fw(Eac)o(h)g(of)g(the)g(follo)o(wing)e(functions)i(tests)h(a)f +(single)g(n)o(um)o(b)q(er)f(for)h(a)f(sp)q(eci\014c)j(prop)q(ert)o(y)m +(.)0 438 y(Eac)o(h)i(function)g(requires)h(that)f(its)g(argumen)o(t)e +(b)q(e)j(a)e(n)o(um)o(b)q(er;)j(to)d(call)g(one)h(with)g(a)0 +489 y(non-n)o(um)o(b)q(er)13 b(is)h(an)f(error.)1209 +638 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(zerop)20 b +Fv(numb)n(er)0 715 y Fw(This)12 b(predicate)h(is)e(true)i(if)e +Fv(numb)n(er)h Fw(is)f(zero)i(\(the)g(in)o(teger)f(zero,)h(a)e +(\015oating-p)q(oin)o(t)f(zero,)0 767 y(or)g(a)f(complex)g(zero\),)i +(and)f(is)f(false)h(otherwise.)17 b(Regardless)11 b(of)e(whether)i(an)f +(implem)o(en-)0 819 y(tation)f(pro)o(vides)g(distinct)h(represen)o +(tations)h(for)f(p)q(ositiv)o(e)f(and)g(negativ)o(e)g(\015oating-p)q +(oin)o(t)0 871 y(zeros,)15 b Fs(\(zerop)20 b(-0.0\))14 +b Fw(is)g(alw)o(a)o(ys)g(true.)20 b(It)15 b(is)f(an)h(error)g(if)f(the) +h(argumen)o(t)e Fv(numb)n(er)i Fw(is)0 923 y(not)f(a)f(n)o(um)o(b)q +(er.)1209 1071 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(plusp)20 +b Fv(numb)n(er)0 1148 y Fw(This)g(predicate)h(is)f(true)h(if)e +Fv(numb)n(er)i Fw(is)e(strictly)i(greater)g(than)f(zero,)i(and)e(is)g +(false)0 1200 y(otherwise.)e(It)11 b(is)g(an)f(error)i(if)e(the)i +(argumen)o(t)d Fv(numb)n(er)i Fw(is)g(not)g(a)g(non-complex)e(n)o(um)o +(b)q(er.)1209 1349 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(minusp)20 b Fv(numb)n(er)0 1426 y Fw(This)10 b(predicate)i(is)e +(true)h(if)e Fv(numb)n(er)i Fw(is)f(strictly)g(less)h(than)g(zero,)g +(and)f(is)g(false)g(otherwise.)0 1478 y(Regardless)20 +b(of)f(whether)i(an)e(implemen)o(tation)d(pro)o(vides)k(distinct)g +(represen)o(tations)0 1530 y(for)13 b(p)q(ositiv)o(e)g(and)h(negativ)o +(e)f(\015oating-p)q(oin)o(t)f(zeros,)i Fs(\(minusp)20 +b(-0.0\))13 b Fw(is)g(alw)o(a)o(ys)f(false.)0 1582 y(\(The)j(function)f +Fs(float-sign)e Fw(ma)o(y)g(b)q(e)j(used)g(to)f(distinguish)g(a)g +(negativ)o(e)g(zero.\))21 b(It)14 b(is)0 1634 y(an)g(error)g(if)g(the)g +(argumen)o(t)f Fv(numb)n(er)h Fw(is)f(not)h(a)g(non-complex)e(n)o(um)o +(b)q(er.)1209 1782 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(oddp)20 b Fv(inte)n(ger)0 1859 y Fw(This)13 b(predicate)i(is)f +(true)g(if)f(the)h(argumen)o(t)e Fv(inte)n(ger)h Fw(is)h(o)q(dd)f +(\(not)h(divisible)f(b)o(y)g(2\),)g(and)0 1911 y(otherwise)i(is)f +(false.)j(It)d(is)g(an)g(error)h(if)e(the)h(argumen)o(t)f(is)h(not)f +(an)h(in)o(teger.)1209 2060 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(evenp)20 b Fv(inte)n(ger)0 2137 y Fw(This)e(predicate)h(is)f(true) +h(if)f(the)h(argumen)o(t)e Fv(inte)n(ger)g Fw(is)h(ev)o(en)h +(\(divisible)e(b)o(y)h(2\),)h(and)0 2189 y(otherwise)c(is)f(false.)j +(It)d(is)g(an)g(error)h(if)e(the)h(argumen)o(t)f(is)h(not)f(an)h(in)o +(teger.)42 2277 y(See)d(also)f(the)i(data-t)o(yp)q(e)f(predicates)h +Fs(integerp)p Fw(,)d Fs(rationalp)p Fw(,)g Fs(floatp)p +Fw(,)h Fs(complexp)p Fw(,)0 2329 y(and)k Fs(numberp)p +Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 313 337 +313 336 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(313)0 +295 y Fo(12.3.)20 b(Comparisons)15 b(on)g(Num)n(b)r(ers)0 +377 y Fw(Eac)o(h)g(of)f(the)i(functions)f(in)f(this)h(section)g +(requires)i(that)d(its)h(argumen)o(ts)f(all)g(b)q(e)h(n)o(um-)0 +429 y(b)q(ers;)j(to)e(call)f(one)i(with)e(a)h(non-n)o(um)o(b)q(er)f(is) +h(an)g(error.)26 b(Unless)17 b(otherwise)g(sp)q(eci\014ed,)0 +481 y(eac)o(h)g(w)o(orks)g(on)g(all)f(t)o(yp)q(es)h(of)g(n)o(um)o(b)q +(ers,)f(automatically)e(p)q(erforming)h(an)o(y)i(required)0 +533 y(co)q(ercions)e(when)f(argumen)o(ts)g(are)g(of)f(di\013eren)o(t)i +(t)o(yp)q(es.)1209 652 y([)p Fv(F)m(unction)s Fw(])0 +648 y Fs(U)0 656 y(U)43 652 y Fv(numb)n(er)26 b Fs(&rest)20 +b Fv(mor)n(e)p Fs(-)p Fv(numb)n(ers)1209 703 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(/)22 699 y(U)22 707 +y(U)65 703 y Fv(numb)n(er)26 b Fs(&rest)20 b Fv(mor)n(e)p +Fs(-)p Fv(numb)n(ers)1209 755 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(<)21 b Fv(numb)n(er)26 b Fs(&rest)20 +b Fv(mor)n(e)p Fs(-)p Fv(numb)n(ers)1209 807 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(>)21 b Fv(numb)n(er)26 +b Fs(&rest)20 b Fv(mor)n(e)p Fs(-)p Fv(numb)n(ers)1209 +859 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(<)22 855 +y(U)22 863 y(U)65 859 y Fv(numb)n(er)26 b Fs(&rest)20 +b Fv(mor)n(e)p Fs(-)p Fv(numb)n(ers)1209 911 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(>)22 907 y(U)22 915 +y(U)65 911 y Fv(numb)n(er)26 b Fs(&rest)20 b Fv(mor)n(e)p +Fs(-)p Fv(numb)n(ers)0 988 y Fw(These)e(functions)e(eac)o(h)h(tak)o(e)g +(one)f(or)h(more)e(argumen)o(ts.)25 b(If)17 b(the)g(sequence)h(of)e +(argu-)0 1040 y(men)o(ts)d(satis\014es)i(a)f(certain)g(condition:)0 +1119 y Fs(U)0 1127 y(U)249 1123 y Fw(all)f(the)h(same)0 +1175 y Fs(/)22 1171 y(U)22 1179 y(U)249 1175 y Fw(all)f(di\013eren)o(t) +0 1227 y Fs(<)227 b Fw(monotonically)11 b(increasing)0 +1279 y Fs(>)227 b Fw(monotonically)11 b(decreasing)0 +1331 y Fs(<)22 1327 y(U)22 1335 y(U)249 1331 y Fw(monotonically)g +(nondecreasing)0 1383 y Fs(>)22 1379 y(U)22 1387 y(U)249 +1383 y Fw(monotonically)g(nonincreasing)0 1467 y(then)20 +b(the)g(predicate)h(is)e(true,)i(and)e(otherwise)h(is)g(false.)34 +b(Complex)18 b(n)o(um)o(b)q(ers)h(ma)o(y)0 1519 y(b)q(e)14 +b(compared)g(using)354 1515 y Fs(U)354 1523 y(U)390 1519 +y Fw(and)g Fs(/)493 1515 y(U)493 1523 y(U)514 1519 y +Fw(,)g(but)g(the)g(others)h(require)g(non-complex)d(argumen)o(ts.)0 +1570 y(Tw)o(o)i(complex)f(n)o(um)o(b)q(ers)h(are)h(considered)h(equal)e +(b)o(y)867 1566 y Fs(U)867 1574 y(U)903 1570 y Fw(if)f(their)i(real)f +(parts)h(are)g(equal)0 1622 y(and)f(their)h(imaginary)d(parts)j(are)g +(equal)g(according)f(to)904 1618 y Fs(U)904 1626 y(U)926 +1622 y Fw(.)20 b(A)14 b(complex)g(n)o(um)o(b)q(er)g(ma)o(y)0 +1674 y(b)q(e)h(compared)e(with)g(a)h(non-complex)e(n)o(um)o(b)q(er)h +(with)864 1670 y Fs(U)864 1678 y(U)900 1674 y Fw(or)g +Fs(/)972 1670 y(U)972 1678 y(U)994 1674 y Fw(.)18 b(F)m(or)13 +b(example:)0 1758 y Fs(\()22 1754 y(U)22 1762 y(U)65 +1758 y(3)21 b(3\))f Fw(is)14 b(true.)398 b Fs(\(/)741 +1754 y(U)741 1762 y(U)784 1758 y(3)21 b(3\))g Fw(is)13 +b(false.)0 1810 y Fs(\()22 1806 y(U)22 1814 y(U)65 1810 +y(3)21 b(5\))f Fw(is)14 b(false.)391 b Fs(\(/)741 1806 +y(U)741 1814 y(U)784 1810 y(3)21 b(5\))g Fw(is)13 b(true.)0 +1862 y Fs(\()22 1858 y(U)22 1866 y(U)65 1862 y(3)21 b(3)g(3)g(3\))f +Fw(is)14 b(true.)312 b Fs(\(/)741 1858 y(U)741 1866 y(U)784 +1862 y(3)21 b(3)g(3)g(3\))g Fw(is)13 b(false.)0 1914 +y Fs(\()22 1910 y(U)22 1918 y(U)65 1914 y(3)21 b(3)g(5)g(3\))f +Fw(is)14 b(false.)305 b Fs(\(/)741 1910 y(U)741 1918 +y(U)784 1914 y(3)21 b(3)g(5)g(3\))g Fw(is)13 b(false.)0 +1966 y Fs(\()22 1962 y(U)22 1970 y(U)65 1966 y(3)21 b(6)g(5)g(2\))f +Fw(is)14 b(false.)305 b Fs(\(/)741 1962 y(U)741 1970 +y(U)784 1966 y(3)21 b(6)g(5)g(2\))g Fw(is)13 b(true.)0 +2017 y Fs(\()22 2013 y(U)22 2021 y(U)65 2017 y(3)21 b(2)g(3\))f +Fw(is)14 b(false.)348 b Fs(\(/)741 2013 y(U)741 2021 +y(U)784 2017 y(3)21 b(2)g(3\))g Fw(is)13 b(false.)0 2069 +y Fs(\(<)21 b(3)g(5\))f Fw(is)14 b(true.)398 b Fs(\(<)741 +2065 y(U)741 2073 y(U)784 2069 y(3)21 b(5\))g Fw(is)13 +b(true.)0 2121 y Fs(\(<)21 b(3)g(-5\))f Fw(is)14 b(false.)369 +b Fs(\(<)741 2117 y(U)741 2125 y(U)784 2121 y(3)21 b(-5\))f +Fw(is)14 b(false.)0 2173 y Fs(\(<)21 b(3)g(3\))f Fw(is)14 +b(false.)391 b Fs(\(<)741 2169 y(U)741 2177 y(U)784 2173 +y(3)21 b(3\))g Fw(is)13 b(true.)0 2225 y Fs(\(<)21 b(0)g(3)g(4)g(6)g +(7\))f Fw(is)14 b(true.)269 b Fs(\(<)741 2221 y(U)741 +2229 y(U)784 2225 y(0)21 b(3)g(4)g(6)g(7\))g Fw(is)13 +b(true.)0 2277 y Fs(\(<)21 b(0)g(3)g(4)g(4)g(6\))f Fw(is)14 +b(false.)262 b Fs(\(<)741 2273 y(U)741 2281 y(U)784 2277 +y(0)21 b(3)g(4)g(4)g(6\))g Fw(is)13 b(true.)0 2329 y +Fs(\(>)21 b(4)g(3\))f Fw(is)14 b(true.)398 b Fs(\(>)741 +2325 y(U)741 2333 y(U)784 2329 y(4)21 b(3\))g Fw(is)13 +b(true.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 314 338 +314 337 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(314)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(>)21 b(4)g(3)g(2)g(1)g(0\))f Fw(is)14 +b(true.)269 b Fs(\(>)741 291 y(U)741 299 y(U)784 295 +y(4)21 b(3)g(2)g(1)g(0\))g Fw(is)13 b(true.)0 347 y Fs(\(>)21 +b(4)g(3)g(3)g(2)g(0\))f Fw(is)14 b(false.)262 b Fs(\(>)741 +343 y(U)741 351 y(U)784 347 y(4)21 b(3)g(3)g(2)g(0\))g +Fw(is)13 b(true.)0 399 y Fs(\(>)21 b(4)g(3)g(1)g(2)g(0\))f +Fw(is)14 b(false.)262 b Fs(\(>)741 395 y(U)741 403 y(U)784 +399 y(4)21 b(3)g(1)g(2)g(0\))g Fw(is)13 b(false.)0 450 +y Fs(\()22 446 y(U)22 454 y(U)65 450 y(3\))21 b Fw(is)13 +b(true.)441 b Fs(\(/)741 446 y(U)741 454 y(U)784 450 +y(3\))21 b Fw(is)13 b(true.)0 502 y Fs(\(<)21 b(3\))g +Fw(is)13 b(true.)441 b Fs(\(<)741 498 y(U)741 506 y(U)784 +502 y(3\))21 b Fw(is)13 b(true.)0 554 y Fs(\()22 550 +y(U)22 558 y(U)65 554 y(3.0)20 b(#)151 550 y(-)151 558 +y(-)173 554 y(C\(3.0)g(0.0\)\))g Fw(is)14 b(true.)137 +b Fs(\(/)741 550 y(U)741 558 y(U)784 554 y(3.0)20 b(#)870 +550 y(-)870 558 y(-)892 554 y(C\(3.0)g(1.0\)\))h Fw(is)13 +b(true.)0 606 y Fs(\()22 602 y(U)22 610 y(U)65 606 y(3)21 +b(3.0\))f Fw(is)14 b(true.)354 b Fs(\()719 602 y(U)719 +610 y(U)762 606 y(3.0s0)20 b(3.0d0\))g Fw(is)14 b(true.)0 +658 y Fs(\()22 654 y(U)22 662 y(U)65 658 y(0.0)20 b(-0.0\))g +Fw(is)14 b(true.)289 b Fs(\()719 654 y(U)719 662 y(U)762 +658 y(5/2)21 b(2.5\))f Fw(is)14 b(true.)0 710 y Fs(\(>)21 +b(0.0)f(-0.0\))g Fw(is)14 b(false.)282 b Fs(\()719 706 +y(U)719 714 y(U)762 710 y(0)21 b(-0.0\))f Fw(is)14 b(true.)0 +797 y(With)9 b(t)o(w)o(o)h(argumen)o(ts,)g(these)h(functions)f(p)q +(erform)g(the)g(usual)g(arithmetic)f(comparison)0 849 +y(tests.)33 b(With)17 b(three)j(or)e(more)g(argumen)o(ts,)g(they)h(are) +f(useful)h(for)f(range)g(c)o(hec)o(ks,)j(as)0 900 y(sho)o(wn)14 +b(in)f(the)i(follo)o(wing)c(example:)0 987 y Fs(\(<)44 +983 y(U)44 991 y(U)87 987 y(0)21 b(x)f(9\))466 b(;)p +Fw(true)14 b(if)f Fs(x)h Fw(is)g(b)q(et)o(w)o(een)h(0)f(and)f(9,)g +(inclusiv)o(e)0 1039 y Fs(\(<)21 b(0.0)f(x)h(1.0\))402 +b(;)p Fw(true)14 b(if)f Fs(x)h Fw(is)g(b)q(et)o(w)o(een)h(0.0)e(and)h +(1.0,)e(exclusiv)o(e)0 1091 y Fs(\(<)21 b(-1)g(j)f(\(length)g(s\)\))275 +b(;)p Fw(true)14 b(if)f Fs(j)h Fw(is)g(a)f(v)n(alid)g(index)h(for)f +Fs(s)0 1143 y(\(<)44 1139 y(U)44 1147 y(U)87 1143 y(0)21 +b(j)f(k)h(\(-)g(\(length)f(s\))h(1\)\))105 b(;)p Fw(true)14 +b(if)g Fs(j)f Fw(and)h Fs(k)f Fw(are)i(eac)o(h)f(v)n(alid)677 +1195 y Fs(;)21 b Fw(indices)15 b(for)e Fs(s)h Fw(and)g +Fs(j)d Ft(\024)h Fs(k)p 0 1255 V 0 1315 a Fm(Rationale:)20 +b FA(The)14 b(\\unequalit)o(y)q(")j(relation)f(is)f(called)i +Fj(/)839 1312 y(U)839 1318 y(U)872 1315 y FA(rather)e(than)g +Fj(<>)f FA(\(the)g(name)h(used)0 1361 y(in)h(P)o(ascal\))g(for)e(t)o(w) +o(o)h(reasons.)23 b(First,)16 b Fj(/)600 1358 y(U)600 +1364 y(U)634 1361 y FA(of)f(more)g(than)g(t)o(w)o(o)g(argumen)o(ts)h +(is)f(not)g(the)g(same)0 1406 y(as)h(the)h Fj(or)e FA(of)h +Fj(<)f FA(and)i Fj(>)f FA(of)f(those)i(same)f(argumen)o(ts.)28 +b(Second,)18 b(unequalit)o(y)g(is)f(meaningful)0 1452 +y(for)e(complex)i(n)o(um)o(b)q(ers)g(ev)o(en)e(though)i +Fj(<)e FA(and)h Fj(>)f FA(are)h(not.)24 b(F)m(or)15 b(b)q(oth)i +(reasons)f(it)g(w)o(ould)g(b)q(e)0 1498 y(misleading)g(to)d(asso)q +(ciate)i(unequalit)o(y)g(with)f(the)f(names)g(of)g Fj(<)g +FA(and)g Fj(>)p FA(.)p 0 1545 V 0 1545 V 0 1605 a Fm(Compatibilit)o(y) +25 b(note:)39 b FA(In)24 b(Common)h(Lisp,)i(the)d(comparison)i(op)q +(erations)g(p)q(erform)0 1651 y(\\mixed-mo)q(de")21 b(comparisons:)30 +b Fj(\()526 1648 y(U)526 1654 y(U)564 1651 y(3)18 b(3.0\))f +FA(is)i(true.)34 b(In)18 b(MacLisp,)j(there)e(m)o(ust)g(b)q(e)g(ex-)0 +1697 y(actly)c(t)o(w)o(o)f(argumen)o(ts,)h(and)g(they)f(m)o(ust)h(b)q +(e)f(either)h(b)q(oth)g(\014xn)o(ums)h(or)e(b)q(oth)h(\015oating-p)q +(oin)o(t)0 1742 y(n)o(um)o(b)q(ers.)26 b(T)m(o)16 b(compare)g(t)o(w)o +(o)g(n)o(um)o(b)q(ers)h(for)e(n)o(umerical)j(equalit)o(y)g(and)f(t)o +(yp)q(e)f(equalit)o(y)m(,)i(use)0 1788 y Fj(eql)p FA(.)p +0 1825 V 1209 1940 a Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(max)21 b Fv(numb)n(er)k Fs(&rest)20 b Fv(mor)n(e)p +Fs(-)p Fv(numb)n(ers)1209 1992 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(min)21 b Fv(numb)n(er)k Fs(&rest)20 b +Fv(mor)n(e)p Fs(-)p Fv(numb)n(ers)0 2069 y Fw(The)13 +b(argumen)o(ts)f(ma)o(y)f(b)q(e)i(an)o(y)g(non-complex)e(n)o(um)o(b)q +(ers.)17 b Fs(max)12 b Fw(returns)i(the)g(argumen)o(t)0 +2121 y(that)i(is)f(greatest)i(\(closest)g(to)e(p)q(ositiv)o(e)h +(in\014nit)o(y\).)22 b Fs(min)15 b Fw(returns)i(the)f(argumen)o(t)f +(that)0 2173 y(is)f(least)g(\(closest)h(to)f(negativ)o(e)f(in\014nit)o +(y\).)42 2225 y(F)m(or)20 b Fs(max)p Fw(,)g(if)g(the)h(argumen)o(ts)f +(are)g(a)h(mixture)e(of)h(rationals)f(and)h(\015oating-p)q(oin)o(t)0 +2277 y(n)o(um)o(b)q(ers,)f(and)g(the)h(largest)f(argumen)o(t)e(is)i(a)g +(rational,)f(then)i(the)f(implemen)o(tation)0 2329 y(is)d(free)g(to)g +(pro)q(duce)h(either)g(that)f(rational)e(or)i(its)g(\015oating-p)q(oin) +o(t)e(appro)o(ximation;)g(if)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 315 339 +315 338 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(315)0 +295 y Fw(the)15 b(largest)f(argumen)o(t)f(is)h(a)g(\015oating-p)q(oin)o +(t)e(n)o(um)o(b)q(er)i(of)f(a)h(smaller)f(format)f(than)i(the)0 +347 y(largest)d(format)f(of)h(an)o(y)f(\015oating-p)q(oin)o(t)g +(argumen)o(t,)g(then)i(the)g(implemen)o(tation)c(is)j(free)0 +399 y(to)j(return)h(the)f(argumen)o(t)f(in)h(its)g(giv)o(en)f(format)f +(or)i(expanded)h(to)f(the)g(larger)g(format.)0 450 y(More)19 +b(concisely)m(,)g(the)g(implemen)o(tation)c(has)k(the)g(c)o(hoice)g(of) +e(returning)i(the)h(largest)0 502 y(argumen)o(t)11 b(as)h(is)g(or)f +(applying)g(the)h(rules)h(of)e(\015oating-p)q(oin)o(t)g(con)o(tagion,)f +(taking)h(all)g(the)0 554 y(argumen)o(ts)i(in)o(to)h(consideration)g +(for)g(con)o(tagion)g(purp)q(oses.)20 b(Also,)14 b(if)f(t)o(w)o(o)h(or) +g(more)f(of)0 606 y(the)k(argumen)o(ts)e(are)i(equal,)f(then)h(an)o(y)f +(one)g(of)g(them)f(ma)o(y)f(b)q(e)j(c)o(hosen)g(as)g(the)f(v)n(alue)0 +658 y(to)i(return.)34 b(Similar)15 b(remarks)k(apply)e(to)i +Fs(min)f Fw(\(replacing)g(\\largest)h(argumen)o(t")e(b)o(y)0 +710 y(\\smallest)12 b(argumen)o(t"\).)0 792 y Fs(\(max)20 +b(6)h(12\))g Ft(\))g Fs(12)352 b(\(min)21 b(6)g(12\))f +Ft(\))h Fs(6)0 844 y(\(max)f(-6)h(-12\))f Ft(\))h Fs(-6)309 +b(\(min)21 b(-6)f(-12\))h Ft(\))g Fs(-12)0 896 y(\(max)f(1)h(3)g(2)g +(-7\))g Ft(\))f Fs(3)289 b(\(min)21 b(1)g(3)g(2)g(-7\))f +Ft(\))h Fs(-7)0 948 y(\(max)f(-2)h(3)g(0)g(7\))g Ft(\))f +Fs(7)289 b(\(min)21 b(-2)f(3)h(0)g(7\))g Ft(\))g Fs(-2)0 +1000 y(\(max)f(3\))h Ft(\))g Fs(3)439 b(\(min)21 b(3\))f +Ft(\))h Fs(3)0 1052 y(\(max)f(5.0)h(2\))g Ft(\))f Fs(5.0)309 +b(\(min)21 b(5.0)f(2\))h Ft(\))g Fs(2)g Fv(or)g Fs(2.0)0 +1103 y(\(max)f(3.0)h(7)g(1\))g Ft(\))f Fs(7)h Fv(or)g +Fs(7.0)163 b(\(min)21 b(3.0)f(7)h(1\))g Ft(\))g Fs(1)g +Fv(or)g Fs(1.0)0 1155 y(\(max)f(1.0s0)g(7.0d0\))g Ft(\))h +Fs(7.0d0)0 1207 y(\(min)f(1.0s0)g(7.0d0\))g Ft(\))h Fs(1.0s0)f +Fv(or)h Fs(1.0d0)0 1259 y(\(max)f(3)h(1)g(1.0s0)f(1.0d0\))g +Ft(\))h Fs(3)g Fv(or)g Fs(3.0d0)0 1311 y(\(min)f(3)h(1)g(1.0s0)f +(1.0d0\))g Ft(\))h Fs(1)g Fv(or)g Fs(1.0s0)f Fv(or)h +Fs(1.0d0)0 1441 y Fo(12.4.)f(Arithmetic)13 b(Op)r(erations)0 +1520 y Fw(Eac)o(h)i(of)f(the)i(functions)f(in)f(this)h(section)g +(requires)i(that)d(its)h(argumen)o(ts)f(all)g(b)q(e)h(n)o(um-)0 +1572 y(b)q(ers;)j(to)e(call)f(one)i(with)e(a)h(non-n)o(um)o(b)q(er)f +(is)h(an)g(error.)26 b(Unless)17 b(otherwise)g(sp)q(eci\014ed,)0 +1624 y(eac)o(h)g(w)o(orks)g(on)g(all)f(t)o(yp)q(es)h(of)g(n)o(um)o(b)q +(ers,)f(automatically)e(p)q(erforming)h(an)o(y)i(required)0 +1676 y(co)q(ercions)e(when)f(argumen)o(ts)g(are)g(of)f(di\013eren)o(t)i +(t)o(yp)q(es.)1209 1786 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(+)21 b(&rest)f Fv(numb)n(ers)0 1863 y Fw(This)14 +b(returns)h(the)f(sum)f(of)g(the)i(argumen)o(ts.)i(If)c(there)i(are)f +(no)g(argumen)o(ts,)f(the)h(result)0 1914 y(is)g Fs(0)p +Fw(,)f(whic)o(h)h(is)f(an)h(iden)o(tit)o(y)f(for)h(this)g(op)q +(eration.)p 0 1974 V 0 2034 a Fm(Compatibilit)o(y)f(note:)19 +b FA(While)c Fj(+)e FA(is)i(compatible)h(with)e(its)g(use)g(in)h(Lisp)f +(Mac)o(hine)i(Lisp,)e(it)0 2080 y(is)g(incompatible)i(with)d(MacLisp,)h +(whic)o(h)g(uses)g Fj(+)e FA(for)h(\014xn)o(um-only)i(addition.)p +0 2111 V 1209 2200 a Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(-)21 b Fv(numb)n(er)26 b Fs(&rest)20 b Fv(mor)n(e)p +Fs(-)p Fv(numb)n(ers)0 2277 y Fw(The)14 b(function)g +Fs(-)p Fw(,)f(when)h(giv)o(en)f(one)h(argumen)o(t,)f(returns)i(the)f +(negativ)o(e)g(of)f(that)h(argu-)0 2329 y(men)o(t.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 316 340 +316 339 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(316)77 b(COMMON)13 +b(LISP)42 295 y Fw(The)e(function)g Fs(-)p Fw(,)g(when)h(giv)o(en)f +(more)f(than)h(one)h(argumen)o(t,)e(successiv)o(ely)j(subtracts)0 +347 y(from)h(the)i(\014rst)h(argumen)o(t)d(all)h(the)h(others,)h(and)e +(returns)j(the)e(result.)24 b(F)m(or)15 b(example,)0 +399 y Fs(\(-)21 b(3)g(4)g(5\))13 b Ft(\))g Fs(-6)p Fw(.)p +0 458 V 0 519 a Fm(Compatibilit)o(y)g(note:)19 b FA(While)c +Fj(-)e FA(is)i(compatible)h(with)e(its)g(use)g(in)h(Lisp)f(Mac)o(hine)i +(Lisp,)e(it)0 564 y(is)j(incompatible)j(with)c(MacLisp,)j(whic)o(h)e +(uses)g Fj(-)e FA(for)h(\014xn)o(um-only)j(subtraction.)29 +b(Also,)17 b Fj(-)0 610 y FA(di\013ers)d(from)f Fj(difference)c +FA(as)k(used)h(in)g(most)f(Lisp)h(systems)f(in)h(the)f(case)h(of)e(one) +i(argumen)o(t.)p 0 644 V 1209 752 a Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(*)21 b(&rest)f Fv(numb)n(ers)0 829 y +Fw(This)d(returns)i(the)e(pro)q(duct)h(of)f(the)h(argumen)o(ts.)27 +b(If)17 b(there)h(are)f(no)g(argumen)o(ts,)g(the)0 881 +y(result)e(is)e Fs(1)p Fw(,)h(whic)o(h)f(is)h(an)g(iden)o(tit)o(y)f +(for)h(this)g(op)q(eration.)p 0 941 V 0 1001 a Fm(Compatibilit)o(y)f +(note:)19 b FA(While)c Fj(*)e FA(is)i(compatible)h(with)e(its)g(use)g +(in)h(Lisp)f(Mac)o(hine)i(Lisp,)e(it)0 1046 y(is)g(incompatible)i(with) +d(MacLisp,)h(whic)o(h)g(uses)g Fj(*)e FA(for)h(\014xn)o(um-only)i(m)o +(ultiplica)q(tion)q(.)p 0 1081 V 1209 1189 a Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(/)21 b Fv(numb)n(er)26 b Fs(&rest)20 +b Fv(mor)n(e)p Fs(-)p Fv(numb)n(ers)0 1265 y Fw(The)13 +b(function)f Fs(/)p Fw(,)g(when)h(giv)o(en)f(more)g(than)h(one)f +(argumen)o(t,)f(successiv)o(ely)k(divides)d(the)0 1317 +y(\014rst)j(argumen)o(t)d(b)o(y)i(all)f(the)h(others)h(and)f(returns)h +(the)g(result.)42 1369 y(It)e(is)h(generally)f(accepted)i(that)f(it)f +(is)h(an)f(error)h(for)g(an)o(y)f(argumen)o(t)f(other)j(than)e(the)-33 +1341 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1421 a(\014rst)i(to)e(b)q(e)i(zero.)-33 +1433 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1473 a(With)e(one)h(argumen)o(t,)e Fs(/)i +Fw(recipro)q(cates)i(the)e(argumen)o(t.)42 1525 y(It)g(is)h(generally)f +(accepted)j(that)d(it)h(is)f(an)h(error)g(in)f(this)h(case)h(for)e(the) +h(argumen)o(t)f(to)-33 1497 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1577 a(b)q(e)h(zero.)-33 1589 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1629 a Fs(/)h Fw(will)f(pro)q(duce)i(a)f(ratio)g(if)f +(the)i(mathematical)d(quotien)o(t)i(of)g(t)o(w)o(o)f(in)o(tegers)j(is)e +(not)0 1681 y(an)e(exact)g(in)o(teger.)19 b(F)m(or)13 +b(example:)0 1766 y Fs(\(/)21 b(12)g(4\))f Ft(\))h Fs(3)0 +1818 y(\(/)g(13)g(4\))f Ft(\))h Fs(13/4)0 1870 y(\(/)g(-8\))f +Ft(\))h Fs(-1/8)0 1922 y(\(/)g(3)g(4)g(5\))f Ft(\))h +Fs(3/20)0 2007 y Fw(T)m(o)14 b(divide)h(one)g(in)o(teger)h(b)o(y)f +(another)h(pro)q(ducing)f(an)g(in)o(teger)g(result,)h(use)g(one)g(of)e +(the)0 2059 y(functions)g Fs(floor)p Fw(,)e Fs(ceiling)p +Fw(,)g Fs(truncate)p Fw(,)g(or)i Fs(round)p Fw(.)42 2111 +y(If)e(an)o(y)h(argumen)o(t)f(is)h(a)g(\015oating-p)q(oin)o(t)f(n)o(um) +o(b)q(er,)g(then)i(the)g(rules)g(of)e(\015oating-p)q(oin)o(t)0 +2163 y(con)o(tagion)h(apply)m(.)p 0 2223 V 0 2283 a Fm(Compatibilit)o +(y)d(note:)17 b FA(What)12 b Fj(/)f FA(do)q(es)h(is)g(totally)h(unlik)o +(e)g(what)f(the)f(usual)i Fj(//)d FA(or)i Fj(quotient)0 +2329 y FA(op)q(erator)h(do)q(es.)k(In)12 b(most)g(Lisp)g(systems,)h +Fj(quotient)8 b FA(b)q(eha)o(v)o(es)13 b(lik)o(e)h Fj(/)d +FA(except)h(when)g(dividin)q(g)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 317 341 +317 340 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(317)0 +295 y FA(in)o(tegers,)15 b(in)g(whic)o(h)g(case)f(it)g(b)q(eha)o(v)o +(es)h(lik)o(e)h Fj(truncate)10 b FA(of)k(t)o(w)o(o)f(argumen)o(ts;)i +(this)g(b)q(eha)o(vior)h(is)0 340 y(mathematically)g(in)o(tractable,)f +(leading)g(to)e(suc)o(h)h(anomalies)h(as)0 418 y Fj(\(quotient)g(1.0)j +(2.0\))f Ff(\))i Fj(0.5)e FA(but)j Fj(\(quotient)15 b(1)j(2\))g +Ff(\))h Fj(0)0 496 y FA(In)13 b(con)o(trast,)g(the)g(Common)h(Lisp)g +(function)g Fj(/)e FA(pro)q(duces)j(these)e(results:)0 +574 y Fj(\(/)18 b(1.0)f(2.0\))h Ff(\))h Fj(0.5)e FA(and)j +Fj(\(/)e(1)g(2\))g Ff(\))h Fj(1/2)0 652 y FA(In)11 b(practice)g +Fj(quotient)d FA(is)j(used)g(only)h(when)f(one)g(is)g(sure)g(that)f(b)q +(oth)i(argumen)o(ts)f(are)g(in)o(tegers,)0 697 y Fq(or)17 +b FA(when)g(one)h(is)g(sure)f(that)g(at)h(least)g(one)f(argumen)o(t)h +(is)g(a)f(\015oating-p)q(oin)o(t)j(n)o(um)o(b)q(er.)30 +b Fj(/)17 b FA(is)0 743 y(tractable)d(for)f(its)h(purp)q(ose)g(and)f(w) +o(orks)h(for)e Fq(any)g FA(n)o(um)o(b)q(ers.)p 0 776 +V 1209 875 a Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(1+)21 +b Fv(numb)n(er)1209 927 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(1-)21 b Fv(numb)n(er)0 1004 y Fs(\(1+)g Fv(x)p Fs(\))13 +b Fw(is)h(the)h(same)e(as)h Fs(\(+)20 b Fv(x)i Fs(1\))p +Fw(.)42 1056 y Fs(\(1-)e Fv(x)p Fs(\))11 b Fw(is)f(the)h(same)f(as)g +Fs(\(-)21 b Fv(x)g Fs(1\))p Fw(.)c(Note)11 b(that)f(the)h(short)h(name) +d(ma)o(y)f(b)q(e)k(confusing:)0 1108 y Fs(\(1-)21 b Fv(x)p +Fs(\))13 b Fw(do)q(es)i Fv(not)f Fw(mean)f(1)c Ft(\000)g +Fv(x)c Fw(;)14 b(rather,)g(it)g(means)f Fv(x)h Ft(\000)c +Fw(1.)p 0 1167 V 0 1228 a Fm(Rationale:)18 b FA(These)13 +b(are)g(included)j(primarily)g(for)d(compatibilit)o(y)k(with)c(MacLisp) +i(and)f(Lisp)0 1273 y(Mac)o(hine)20 b(Lisp.)36 b(Some)19 +b(programmers)h(prefer)f(alw)o(a)o(ys)h(to)f(write)g +Fj(\(+)f(x)g(1\))g FA(and)h Fj(\(-)f(x)h(1\))0 1319 y +FA(instead)14 b(of)f Fj(\(1+)18 b(x\))12 b FA(and)h Fj(\(1-)18 +b(x\))p FA(.)p 0 1366 V 0 1366 V 0 1426 a Fm(Implemen)o(tation)c(note:) +21 b FA(Compiler)15 b(writers)g(are)g(v)o(ery)f(strongly)i(encouraged)g +(to)f(ensure)0 1472 y(that)f Fj(\(1+)j(x\))c FA(and)h +Fj(\(+)j(x)i(1\))12 b FA(compile)j(in)o(to)g(iden)o(tical)h(co)q(de,)d +(and)h(similarly)j(for)c Fj(\(1-)k(x\))c FA(and)0 1518 +y Fj(\(-)18 b(x)g(1\))p FA(,)10 b(to)g(a)o(v)o(oid)h(pressure)g(on)g(a) +f(Lisp)h(programmer)g(to)f(write)g(p)q(ossibly)j(less)e(clear)g(co)q +(de)g(for)0 1563 y(the)i(sak)o(e)h(of)e(e\016ciency)m(.)18 +b(This)c(can)f(easily)i(b)q(e)f(done)f(as)g(a)g(source-language)j +(transformation.)p 0 1596 V 1255 1701 a Fw([)p Fv(Macr)n(o)s +Fw(])-1396 b Fs(incf)34 b Fv(plac)n(e)22 b Fw([)p Fv(delta)p +Fw(])1255 1753 y([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(decf)34 +b Fv(plac)n(e)22 b Fw([)p Fv(delta)p Fw(])0 1830 y(The)d(n)o(um)o(b)q +(er)f(pro)q(duced)j(b)o(y)d(the)i(form)d Fv(delta)h Fw(is)h(added)g(to) +g(\()p Fs(incf)p Fw(\))f(or)h(subtracted)0 1882 y(from)13 +b(\()p Fs(decf)p Fw(\))g(the)i(n)o(um)o(b)q(er)f(in)g(the)h +(generalized)g(v)n(ariable)e(named)h(b)o(y)g Fv(plac)n(e)p +Fw(,)g(and)g(the)0 1933 y(sum)f(is)g(stored)h(bac)o(k)g(in)o(to)f +Fv(plac)n(e)g Fw(and)h(returned.)19 b(The)14 b(form)e +Fv(plac)n(e)i Fw(ma)o(y)d(b)q(e)j(an)o(y)f(form)0 1985 +y(acceptable)h(as)e(a)g(generalized)i(v)n(ariable)d(to)h +Fs(setf)p Fw(.)17 b(If)12 b Fv(delta)h Fw(is)f(not)h(supplied,)f(then)h +(the)0 2037 y(n)o(um)o(b)q(er)g(in)h Fv(plac)n(e)g Fw(is)f(c)o(hanged)i +(b)o(y)e Fs(1)p Fw(.)18 b(F)m(or)13 b(example:)0 2121 +y Fs(\(setq)20 b(n)h(0\))0 2173 y(\(incf)f(n\))h Ft(\))g +Fs(1)168 b Fw(and)14 b(no)o(w)21 b Fs(n)g Ft(\))f Fs(1)0 +2225 y(\(decf)g(n)h(3\))g Ft(\))g Fs(-2)103 b Fw(and)14 +b(no)o(w)21 b Fs(n)g Ft(\))f Fs(-2)0 2277 y(\(decf)g(n)h(-5\))g +Ft(\))f Fs(3)104 b Fw(and)14 b(no)o(w)21 b Fs(n)g Ft(\))f +Fs(3)0 2329 y(\(decf)g(n\))h Ft(\))g Fs(2)168 b Fw(and)14 +b(no)o(w)21 b Fs(n)g Ft(\))f Fs(2)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 318 342 +318 341 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(318)77 b(COMMON)13 +b(LISP)0 295 y Fw(The)h(e\013ect)i(of)d Fs(\(incf)20 +b Fv(plac)n(e)i(delta)p Fs(\))13 b Fw(is)h(roughly)f(equiv)n(alen)o(t)g +(to)0 376 y Fs(\(setf)20 b Fv(plac)n(e)h Fs(\(+)g Fv(plac)n(e)g(delta)p +Fs(\)\))0 458 y Fw(except)e(that)e(the)h(latter)g(w)o(ould)e(ev)n +(aluate)h(an)o(y)g(subforms)f(of)h Fv(plac)n(e)g Fw(t)o(wice,)h +(whereas)0 510 y Fs(incf)11 b Fw(tak)o(es)i(care)f(to)g(ev)n(aluate)g +(them)f(only)g(once.)18 b(Moreo)o(v)o(er,)13 b(for)e(certain)i +Fv(plac)n(e)f Fw(forms)0 562 y Fs(incf)h Fw(ma)o(y)f(b)q(e)i +(signi\014can)o(tly)f(more)g(e\016cien)o(t)i(than)e(the)i +Fs(setf)e Fw(v)o(ersion.)42 614 y(X3J13)k(v)o(oted)h(in)f(Marc)o(h)h +(1988)f Ft(h)p Fw(146)p Ft(i)g Fw(to)g(clarify)g(order)h(of)f(ev)n +(aluation)g(\(see)i(sec-)-33 586 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 666 a(tion)13 b(7.2\).)-33 677 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 772 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(conjugate)19 b Fv(numb)n(er)0 849 y Fw(This)i(returns)h(the)f +(complex)e(conjugate)i(of)f Fv(numb)n(er)p Fw(.)39 b(The)21 +b(conjugate)g(of)f(a)g(non-)0 901 y(complex)13 b(n)o(um)o(b)q(er)g(is)g +(itself.)18 b(F)m(or)c(a)f(complex)g(n)o(um)o(b)q(er)g +Fs(z)p Fw(,)0 983 y Fs(\(conjugate)19 b(z\))i Ft(\021)g +Fs(\(complex)f(\(realpart)f(z\))i(\(-)g(\(imagpart)e(z\)\)\))0 +1064 y Fw(F)m(or)13 b(example:)0 1146 y Fs(\(conjugate)19 +b(#)239 1142 y(-)239 1150 y(-)261 1146 y(C\(3/5)h(4/5\)\))g +Ft(\))h Fs(#)584 1142 y(-)584 1150 y(-)606 1146 y(C\(3/5)f(-4/5\))0 +1198 y(\(conjugate)f(#)239 1194 y(-)239 1202 y(-)261 +1198 y(C\(0.0D0)h(-1.0D0\)\))f Ft(\))i Fs(#)693 1194 +y(-)693 1202 y(-)715 1198 y(C\(0.0D0)e(1.0D0\))0 1250 +y(\(conjugate)g(3.7\))h Ft(\))h Fs(3.7)1209 1356 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(gcd)21 b(&rest)f Fv(inte)n(gers)0 +1433 y Fw(This)11 b(returns)j(the)e(greatest)g(common)d(divisor)i(of)g +(all)f(the)i(argumen)o(ts,)f(whic)o(h)h(m)o(ust)e(b)q(e)0 +1485 y(in)o(tegers.)19 b(The)14 b(result)h(of)e Fs(gcd)h +Fw(is)f(alw)o(a)o(ys)g(a)h(non-negativ)o(e)g(in)o(teger.)k(If)c(one)g +(argumen)o(t)0 1537 y(is)e(giv)o(en,)f(its)h(absolute)h(v)n(alue)e(is)h +(returned.)19 b(If)12 b(no)g(argumen)o(ts)f(are)h(giv)o(en,)g +Fs(gcd)f Fw(returns)0 1589 y Fs(0)p Fw(,)i(whic)o(h)h(is)g(an)f(iden)o +(tit)o(y)h(for)f(this)h(op)q(eration.)k(F)m(or)c(three)h(or)f(more)f +(argumen)o(ts,)0 1671 y Fs(\(gcd)20 b Fv(a)i(b)f(c)g +Fs(...)g Fv(z)p Fs(\))g Ft(\021)g Fs(\(gcd)g(\(gcd)f +Fv(a)h(b)p Fs(\))g Fv(c)h Fs(...)e Fv(z)p Fs(\))42 1752 +y Fw(Here)15 b(are)f(some)f(examples)g(of)g(the)i(use)f(of)g +Fs(gcd)p Fw(:)0 1834 y Fs(\(gcd)20 b(91)h(-49\))f Ft(\))h +Fs(7)0 1886 y(\(gcd)f(63)h(-42)g(35\))f Ft(\))h Fs(7)0 +1938 y(\(gcd)f(5\))h Ft(\))g Fs(5)0 1990 y(\(gcd)f(-4\))h +Ft(\))g Fs(4)0 2042 y(\(gcd\))f Ft(\))h Fs(0)1209 2148 +y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(lcm)21 b Fv(inte)n(ger)k +Fs(&rest)20 b Fv(mor)n(e)p Fs(-)p Fv(inte)n(gers)0 2225 +y Fw(This)15 b(returns)i(the)e(least)g(common)e(m)o(ultiple)f(of)j(its) +g(argumen)o(ts,)f(whic)o(h)h(m)o(ust)f(b)q(e)h(in-)0 +2277 y(tegers.)k(The)13 b(result)g(of)e Fs(lcm)h Fw(is)g(alw)o(a)o(ys)f +(a)h(non-negativ)o(e)g(in)o(teger.)18 b(F)m(or)12 b(t)o(w)o(o)f +(argumen)o(ts)0 2329 y(that)j(are)g(not)g(b)q(oth)g(zero,)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 319 343 +319 342 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(319)0 +295 y Fs(\(lcm)20 b Fv(a)i(b)p Fs(\))f Ft(\021)g Fs(\(/)g(\(abs)f(\(*)h +Fv(a)g(b)p Fs(\)\))g(\(gcd)g Fv(a)g(b)p Fs(\)\))0 381 +y Fw(If)14 b(one)g(or)f(b)q(oth)h(argumen)o(ts)g(are)g(zero,)0 +467 y Fs(\(lcm)20 b Fv(a)i Fs(0\))e Ft(\021)i Fs(\(lcm)e(0)h +Fv(a)p Fs(\))g Ft(\021)h Fs(0)42 552 y Fw(F)m(or)16 b(one)h(argumen)o +(t,)f Fs(lcm)h Fw(returns)h(the)g(absolute)f(v)n(alue)f(of)g(that)h +(argumen)o(t.)26 b(F)m(or)0 604 y(three)15 b(or)f(more)f(argumen)o(ts,) +0 690 y Fs(\(lcm)20 b Fv(a)i(b)f(c)g Fs(...)g Fv(z)p +Fs(\))g Ft(\021)g Fs(\(lcm)g(\(lcm)f Fv(a)h(b)p Fs(\))g +Fv(c)h Fs(...)e Fv(z)p Fs(\))42 776 y Fw(Some)12 b(examples:)0 +862 y Fs(\(lcm)20 b(14)h(35\))g Ft(\))f Fs(70)0 914 y(\(lcm)g(0)h(5\))g +Ft(\))g Fs(0)0 966 y(\(lcm)f(1)h(2)g(3)g(4)g(5)g(6\))g +Ft(\))g Fs(60)42 1052 y Fw(Mathematically)m(,)11 b Fs(\(lcm\))i +Fw(should)h(return)h(in\014nit)o(y)m(.)j(Because)e(Common)11 +b(Lisp)j(do)q(es)0 1104 y(not)e(ha)o(v)o(e)g(a)f(represen)o(tation)j +(for)d(in\014nit)o(y)m(,)g Fs(lcm)p Fw(,)g(unlik)o(e)g +Fs(gcd)p Fw(,)h(alw)o(a)o(ys)f(requires)i(at)f(least)0 +1155 y(one)i(argumen)o(t.)42 1207 y(X3J13)f(v)o(oted)h(in)g(Jan)o(uary) +f(1989)g Ft(h)p Fw(107)p Ft(i)h Fw(to)f(sp)q(ecify)i(that)f +Fs(\(lcm\))20 b Ft(\))h Fs(1)p Fw(.)-33 1179 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 42 1259 a(This)15 b(is)h(one)f(of)g(m)o(y)f(biggest)i(b)q +(oners.)24 b(The)17 b(iden)o(tit)o(y)e(for)g Fs(lcm)g +Fw(is)g(of)h(course)g(1,)g(not)0 1311 y(in\014nit)o(y)m(,)f(and)i(so)f +Fs(\(lcm\))g Fw(ough)o(t)g(to)g(ha)o(v)o(e)g(b)q(een)i(de\014ned)g(to)e +(return)i(1.)25 b(Sorry)17 b(ab)q(out)0 1363 y(that,)d(though)g(in)g(p) +q(oin)o(t)g(of)g(fact)g(v)o(ery)h(few)f(users)i(ha)o(v)o(e)e +(complained)f(to)h(me)f(that)i(this)0 1415 y(mistak)o(e)d(in)i(the)g +(\014rst)h(edition)e(has)h(cramp)q(ed)g(their)g(programming)d(st)o +(yle.)-33 1427 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1568 a Fo(12.5.)20 b(Irrational)15 b(and)g(T)-5 +b(ranscenden)n(tal)15 b(F)-5 b(unctions)0 1654 y Fw(Common)11 +b(Lisp)j(pro)o(vides)g(no)g(data)g(t)o(yp)q(e)h(that)f(can)h +(accurately)g(represen)o(t)h(irrational)0 1706 y(n)o(umerical)c(v)n +(alues.)18 b(The)d(functions)f(in)f(this)h(section)h(are)f(describ)q +(ed)i(as)e(if)f(the)i(results)0 1758 y(w)o(ere)20 b(mathematical)o(ly) +15 b(accurate,)21 b(but)e(actually)f(they)h(all)e(pro)q(duce)j +(\015oating-p)q(oin)o(t)0 1810 y(appro)o(ximations)12 +b(to)i(the)h(true)g(mathematical)c(result)k(in)f(the)h(general)g(case.) +20 b(In)15 b(some)0 1862 y(places)e(mathematical)c(iden)o(tities)k(are) +f(set)i(forth)e(that)g(are)h(in)o(tended)g(to)f(elucidate)h(the)0 +1914 y(meanings)e(of)h(the)h(functions;)g(ho)o(w)o(ev)o(er,)g(t)o(w)o +(o)f(mathematical)o(ly)d(iden)o(tical)j(expressions)0 +1965 y(ma)o(y)i(b)q(e)j(computationally)d(di\013eren)o(t)j(b)q(ecause)h +(of)e(errors)i(inheren)o(t)f(in)f(the)h(\015oating-)0 +2017 y(p)q(oin)o(t)c(appro)o(ximation)e(pro)q(cess.)42 +2069 y(When)k(the)i(argumen)o(ts)d(to)i(a)f(function)h(in)f(this)g +(section)i(are)f(all)e(rational)h(and)g(the)0 2121 y(true)i +(mathematical)c(result)k(is)f(also)g(\(mathematicall)o(y\))e(rational,) +h(then)i(unless)g(oth-)0 2173 y(erwise)f(noted)f(an)g(implem)o(en)o +(tation)d(is)i(free)i(to)f(return)h(either)f(an)g(accurate)h(result)f +(of)0 2225 y(t)o(yp)q(e)d Fs(rational)e Fw(or)h(a)g(single-precision)h +(\015oating-p)q(oin)o(t)e(appro)o(ximation.)k(If)d(the)h(argu-)0 +2277 y(men)o(ts)e(are)i(all)d(rational)h(but)h(the)g(result)h(cannot)f +(b)q(e)h(expressed)h(as)e(a)f(rational)g(n)o(um)o(b)q(er,)0 +2329 y(then)15 b(a)e(single-precision)h(\015oating-p)q(oin)o(t)e(appro) +o(ximation)f(is)j(alw)o(a)o(ys)f(returned.)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 320 344 +320 343 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(320)77 b(COMMON)13 +b(LISP)42 295 y Fw(X3J13)f(v)o(oted)i(in)f(Marc)o(h)g(1989)g +Ft(h)p Fw(29)p Ft(i)g Fw(to)g(clarify)f(that)i(the)f(pro)o(visions)g +(of)g(the)h(previ-)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(ous)f(paragraph)g(apply)g(to)g(complex)f(n)o(um)o +(b)q(ers.)17 b(If)c(the)h(argumen)o(ts)e(to)h(a)g(function)g(are)0 +399 y(all)g(of)g(t)o(yp)q(e)h Fs(\(or)21 b(rational)f(\(complex)f +(rational\)\))12 b Fw(and)i(the)g(true)h(mathematical)0 +450 y(result)k(is)e(\(mathematically\))d(a)k(complex)e(n)o(um)o(b)q(er) +h(with)h(rational)e(real)i(and)g(imagi-)0 502 y(nary)e(parts,)h(then)f +(unless)h(otherwise)g(noted)g(an)e(implemen)o(tation)e(is)j(free)h(to)f +(return)0 554 y(either)h(an)e(accurate)j(result)e(of)f(t)o(yp)q(e)i +Fs(\(or)j(rational)g(\(complex)f(rational\)\))14 b Fw(or)i(a)0 +606 y(single-precision)e(\015oating-p)q(oin)o(t)f(appro)o(ximation)f +(of)i(t)o(yp)q(e)g Fs(single-float)e Fw(\(p)q(ermis-)0 +658 y(sible)18 b(only)e(if)h(the)h(imaginary)d(part)j(of)f(the)h(true)h +(mathematical)14 b(result)19 b(is)e(zero\))i(or)0 710 +y Fs(\(complex)h(single-float\))p Fw(.)27 b(If)18 b(the)h(argumen)o(ts) +e(are)i(all)e(of)g(t)o(yp)q(e)i Fs(\(or)h(rational)0 +762 y(\(complex)g(rational\)\))c Fw(but)j(the)g(result)h(cannot)f(b)q +(e)g(expressed)i(as)e(a)f(rational)g(or)0 814 y(complex)f(rational)f(n) +o(um)o(b)q(er,)i(then)g(the)h(returned)g(v)n(alue)f(will)e(b)q(e)j(of)e +(t)o(yp)q(e)h Fs(single-)0 866 y(float)11 b Fw(\(p)q(ermissible)h(only) +g(if)g(the)h(imaginary)d(part)i(of)g(the)h(true)h(mathematical)9 +b(result)0 917 y(is)14 b(zero\))h(or)e Fs(\(complex)20 +b(single-float\))p Fw(.)-33 929 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 969 a(The)13 b(rules)h(of)f(\015oating-p)q(oin)o(t)e +(con)o(tagion)i(and)g(complex)f(con)o(tagion)g(are)i(e\013ectiv)o(ely)0 +1021 y(ob)q(ey)o(ed)c(b)o(y)g(all)f(the)h(functions)g(in)f(this)h +(section)g(except)i Fs(expt)p Fw(,)d(whic)o(h)h(treats)g(some)f(cases)0 +1073 y(of)15 b(rational)g(exp)q(onen)o(ts)i(sp)q(ecially)m(.)24 +b(When,)16 b(p)q(ossibly)g(after)g(con)o(tagious)g(con)o(v)o(ersion,)0 +1125 y(all)d(of)h(the)i(argumen)o(ts)d(are)i(of)f(the)i(same)d +(\015oating-p)q(oin)o(t)g(or)i(complex)e(\015oating-p)q(oin)o(t)0 +1177 y(t)o(yp)q(e,)h(then)g(the)h(result)g(will)d(b)q(e)j(of)e(that)h +(same)f(t)o(yp)q(e)h(unless)h(otherwise)g(noted.)p 0 +1237 V 0 1297 a Fm(Implemen)o(tation)e(note:)18 b FA(There)13 +b(is)g(a)h(\\\015oating-p)q(oin)o(t)i(co)q(okb)q(o)q(ok")f(b)o(y)e(Co)q +(dy)h(and)g(W)m(aite)0 1343 y([14])f(that)g(ma)o(y)g(b)q(e)g(a)g +(useful)h(aid)g(in)g(implemen)o(ting)i(the)d(functions)i(de\014ned)f +(in)g(this)g(section.)p 0 1380 V 0 1511 a Fo(12.5.1.)20 +b(Exp)r(onen)n(tial)13 b(and)j(Logarithmic)c(F)-5 b(unctions)0 +1598 y Fw(Along)13 b(with)h(the)h(usual)e(one-argumen)o(t)g(and)h(t)o +(w)o(o-argumen)o(t)f(exp)q(onen)o(tial)g(and)h(loga-)0 +1650 y(rithm)e(functions,)i Fs(sqrt)f Fw(is)h(considered)h(to)f(b)q(e)g +(an)g(exp)q(onen)o(tial)f(function,)h(b)q(ecause)h(it)0 +1702 y(raises)g(a)e(n)o(um)o(b)q(er)g(to)h(the)h(p)q(o)o(w)o(er)f(1/2.) +1209 1835 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(exp)21 +b Fv(numb)n(er)0 1911 y Fw(Returns)f Fv(e)f Fw(raised)g(to)g(the)h(p)q +(o)o(w)o(er)f Fv(numb)n(er)p Fw(,)h(where)g Fv(e)f Fw(is)g(the)h(base)f +(of)g(the)g(natural)0 1963 y(logarithms.)1209 2096 y([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(expt)20 b Fv(b)n(ase)p +Fs(-)p Fv(numb)n(er)26 b(p)n(ower)p Fs(-)p Fv(numb)n(er)0 +2173 y Fw(Returns)17 b Fv(b)n(ase-numb)n(er)e Fw(raised)h(to)g(the)g(p) +q(o)o(w)o(er)g Fv(p)n(ower-numb)n(er)p Fw(.)23 b(If)15 +b(the)i Fv(b)n(ase-numb)n(er)0 2225 y Fw(is)12 b(of)g(t)o(yp)q(e)h +Fs(rational)e Fw(and)h(the)h Fv(p)n(ower-numb)n(er)f +Fw(is)g(an)g Fs(integer)p Fw(,)f(the)i(calculation)e(will)0 +2277 y(b)q(e)16 b(exact)h(and)e(the)h(result)h(will)d(b)q(e)i(of)f(t)o +(yp)q(e)h Fs(rational)p Fw(;)e(otherwise)j(a)e(\015oating-p)q(oin)o(t)0 +2329 y(appro)o(ximation)c(ma)o(y)h(result.)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 321 345 +321 344 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(321)42 +295 y Fw(X3J13)14 b(v)o(oted)g(in)g(Marc)o(h)h(1989)e +Ft(h)p Fw(29)p Ft(i)h Fw(to)g(clarify)g(that)g(pro)o(visions)g(similar) +e(to)i(those)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(of)19 b(the)h(previous)f(paragraph)g(apply)g(to)g +(complex)f(n)o(um)o(b)q(ers.)35 b(If)19 b(the)h Fv(b)n(ase-numb)n(er)0 +399 y Fw(is)f(of)f(t)o(yp)q(e)i Fs(\(complex)g(rational\))d +Fw(and)i(the)g Fv(p)n(ower-numb)n(er)g Fw(is)g(an)g Fs(integer)p +Fw(,)f(the)0 450 y(calculation)f(will)g(also)h(b)q(e)h(exact)g(and)f +(the)h(result)g(will)d(b)q(e)j(of)f(t)o(yp)q(e)h Fs(\(or)h(rational)0 +502 y(\(complex)g(rational\)\))p Fw(;)c(otherwise)h(a)g(\015oating-p)q +(oin)o(t)f(or)h(complex)e(\015oating-p)q(oin)o(t)0 554 +y(appro)o(ximation)c(ma)o(y)h(result.)-33 566 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 608 a(When)i Fv(p)n(ower-numb)n(er)f +Fw(is)h Fs(0)g Fw(\(a)g(zero)h(of)e(t)o(yp)q(e)i(in)o(teger\),)f(then)g +(the)h(result)g(is)f(alw)o(a)o(ys)0 659 y(the)f(v)n(alue)e(1)h(in)g +(the)h(t)o(yp)q(e)g(of)e Fv(b)n(ase-numb)n(er)p Fw(,)i(ev)o(en)g(if)e +(the)i Fv(b)n(ase-numb)n(er)f Fw(is)g(zero)h(\(of)f(an)o(y)0 +711 y(t)o(yp)q(e\).)19 b(That)13 b(is:)0 812 y Fs(\(expt)20 +b Fv(x)i Fs(0\))e Ft(\021)i Fs(\(coerce)d(1)i(\(type-of)f +Fv(x)p Fs(\)\))0 911 y Fw(If)11 b(the)g Fv(p)n(ower-numb)n(er)f +Fw(is)h(a)g(zero)h(of)e(an)o(y)g(other)i(data)f(t)o(yp)q(e,)g(then)h +(the)f(result)h(is)f(also)f(the)0 963 y(v)n(alue)16 b(1,)f(in)h(the)h +(t)o(yp)q(e)g(of)e(the)i(argumen)o(ts)e(after)i(the)g(application)d(of) +i(the)h(con)o(tagion)0 1015 y(rules,)12 b(with)f(one)g(exception:)18 +b(it)11 b(is)g(an)g(error)h(if)f Fv(b)n(ase-numb)n(er)g +Fw(is)h(zero)g(when)g(the)f Fv(p)n(ower-)0 1067 y(numb)n(er)j +Fw(is)g(a)f(zero)i(not)f(of)f(t)o(yp)q(e)i(in)o(teger.)42 +1120 y(Implemen)o(tatio)o(ns)e(of)i Fs(expt)f Fw(are)i(p)q(ermitted)f +(to)g(use)h(di\013eren)o(t)g(algorithms)d(for)i(the)0 +1172 y(cases)g(of)e(a)g(rational)f Fv(p)n(ower-numb)n(er)h +Fw(and)g(a)g(\015oating-p)q(oin)o(t)f Fv(p)n(ower-numb)n(er)p +Fw(;)h(the)h(mo-)0 1224 y(tiv)n(ation)d(is)h(that)g(in)f(man)o(y)g +(cases)i(greater)g(accuracy)g(can)g(b)q(e)f(ac)o(hiev)o(ed)h(for)f(the) +g(case)h(of)0 1276 y(a)i(rational)g Fv(p)n(ower-numb)n(er)p +Fw(.)22 b(F)m(or)15 b(example,)g Fs(\(expt)20 b(pi)h(16\))14 +b Fw(and)i Fs(\(expt)k(pi)h(16.0\))0 1328 y Fw(ma)o(y)15 +b(yield)h(sligh)o(tly)f(di\013eren)o(t)j(results)g(if)d(the)j(\014rst)f +(case)h(is)e(computed)h(b)o(y)f(rep)q(eated)0 1379 y(squaring)e(and)g +(the)h(second)g(b)o(y)f(the)h(use)g(of)e(logarithms.)k(Similarly)l(,)11 +b(an)j(implemen)o(ta-)0 1431 y(tion)g(migh)o(t)d(c)o(ho)q(ose)k(to)f +(compute)g Fs(\(expt)20 b(x)h(3/2\))13 b Fw(as)h(if)f(it)h(had)g(b)q +(een)h(written)g Fs(\(sqrt)0 1483 y(\(expt)20 b(x)h(3\)\))p +Fw(,)12 b(p)q(erhaps)i(pro)q(ducing)f(a)f(more)g(accurate)i(result)f +(than)g(w)o(ould)f Fs(\(expt)20 b(x)0 1535 y(1.5\))p +Fw(.)d(It)d(is)g(left)g(to)f(the)i(implem)o(en)o(tor)d(to)i(determine)f +(the)i(b)q(est)g(strategies.)42 1589 y(X3J13)g(v)o(oted)h(in)f(Jan)o +(uary)h(1989)f Ft(h)p Fw(75)p Ft(i)g Fw(to)h(clarify)f(that)h(the)g +(preceding)h(remark)e(is)-33 1560 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1640 a(in)j(error,)j(b)q(ecause)g Fs(\(sqrt)f(\(expt)g +(x)h(3\)\))d Fw(do)q(es)i(not)f(pro)q(duce)h(the)f(same)f(v)n(alue)h +(as)0 1692 y Fs(\(expt)h(x)h(3/2\))12 b Fw(in)f(most)g(cases,)j(and)e +(to)g(sp)q(ecify)h(that)f(the)h(sp)q(eci\014cation)g(of)f(the)h(prin-)0 +1744 y(cipal)f(v)n(alue)g(of)g Fs(expt)g Fw(as)h(giv)o(en)g(in)f +(section)i(12.5.3)c(should)j(b)q(e)g(regarded)h(as)f(de\014nitiv)o(e.) +42 1803 y(As)j(an)f(example)f(of)h(the)i(di\016cult)o(y)m(,)d(let)i +Fv(x)j Fw(=)c(cis)839 1786 y Fk(2)p Fg(\031)p 839 1793 +38 2 v 850 1817 a Fk(3)896 1803 y Fw(=)g Ft(\000)980 +1786 y Fk(1)p 980 1793 17 2 v 980 1817 a(2)1012 1803 +y Fw(+)1059 1762 y Fl(p)p 1087 1762 V 1087 1786 a Fk(3)p +1059 1793 44 2 v 1073 1817 a(2)1108 1803 y Fv(i)t Fw(.)23 +b(Then)1271 1766 y Ft(p)p 1305 1766 43 2 v 1305 1803 +a Fv(x)1329 1791 y Fk(3)1362 1803 y Fw(=)0 1824 y Ft(p)p +35 1824 21 2 v 35 x Fw(1)14 b(=)g(1,)h(but)h Fv(x)266 +1844 y Fk(3)p Fg(=)p Fk(2)332 1859 y Fw(=)f Fv(e)401 +1844 y Fk(\(3)p Fg(=)p Fk(2\))5 b(log)g Fi(x)563 1859 +y Fw(=)15 b Fv(e)632 1844 y Fk(\(3)p Fg(=)p Fk(2\)\(2)p +Fg(\031)q(=)p Fk(3\))p Fi(i)831 1859 y Fw(=)g Fv(e)900 +1844 y Fg(\031)q Fi(i)948 1859 y Fw(=)f Ft(\000)p Fw(1.)23 +b(Another)16 b(example)0 1911 y(is)e Fv(x)j Fw(=)11 b +Ft(\000)p Fw(1;)j(then)294 1874 y Ft(p)p 329 1874 43 +2 v 37 x Fv(x)353 1899 y Fk(3)383 1911 y Fw(=)427 1878 +y Ft(p)p 462 1878 54 2 v 33 x(\000)p Fw(1)d(=)h Fv(i)t +Fw(,)h(but)i Fv(x)713 1896 y Fk(3)p Fg(=)p Fk(2)777 1911 +y Fw(=)c Fv(e)842 1896 y Fk(\(3)p Fg(=)p Fk(2\))5 b(log)h +Fi(x)1002 1911 y Fw(=)12 b Fv(e)1068 1896 y Fk(\(3)p +Fg(=)p Fk(2\))p Fg(\031)q Fi(i)1189 1911 y Fw(=)g Ft(\000)p +Fv(i)t Fw(.)-33 1922 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1964 a(The)h(result)i(of)e Fs(expt)f +Fw(can)i(b)q(e)g(a)g(complex)e(n)o(um)o(b)q(er,)g(ev)o(en)i(when)g +(neither)h(argumen)o(t)0 2016 y(is)j(complex,)f(if)g +Fv(b)n(ase-numb)n(er)h Fw(is)f(negativ)o(e)h(and)g Fv(p)n(ower-numb)n +(er)f Fw(is)g(not)h(an)g(in)o(teger.)0 2068 y(The)e(result)g(is)f(alw)o +(a)o(ys)f(the)i(principal)e(complex)g(v)n(alue.)22 b(Note)15 +b(that)h Fs(\(expt)k(-8)h(1/3\))0 2120 y Fw(is)14 b(not)g(p)q(ermitted) +f(to)h(return)h Fs(-2)p Fw(;)e(while)g Fs(-2)h Fw(is)g(indeed)g(one)g +(of)g(the)g(cub)q(e)h(ro)q(ots)f(of)g Fs(-8)p Fw(,)0 +2172 y(it)i(is)g(not)f(the)i(principal)e(cub)q(e)j(ro)q(ot,)e(whic)o(h) +g(is)f(a)h(complex)f(n)o(um)o(b)q(er)g(appro)o(ximately)0 +2223 y(equal)f(to)f Fs(#)160 2219 y(-)160 2227 y(-)182 +2223 y(C\(1.0)20 b(1.73205\))p Fw(.)42 2277 y Fv(Notic)n(e)g(of)h(c)n +(orr)n(e)n(ction.)38 b Fw(The)21 b(\014rst)g(edition)g(ga)o(v)o(e)f +(the)h(incorrect)h(v)n(alue)e Fs(#)1264 2273 y(-)1264 +2281 y(-)1286 2277 y(C\(0.5)-33 2249 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a(1.73205\))e Fw(for)i(the)h(principal)e(cub)q(e)i +(ro)q(ot)g(of)e Fs(-8)p Fw(.)36 b(The)21 b(correct)h(v)n(alue)d(is)h +Fs(#)1264 2325 y(-)1264 2333 y(-)1286 2329 y(C\(1.0)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 322 346 +322 345 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(322)77 b(COMMON)13 +b(LISP)0 295 y Fs(1.73205\))p Fw(,)f(that)i(is,)f(1)c(+)414 +260 y Ft(p)p 449 260 21 2 v 35 x Fw(3)p Fv(i)t Fw(.)18 +b(I)c(simply)d(don't)j(kno)o(w)f(what)h(I)g(w)o(as)g(thinking)e(of)s(!) +-33 306 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 429 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(log)21 b Fv(numb)n(er)k Fs(&optional)20 b Fv(b)n(ase)0 +506 y Fw(Returns)e(the)g(logarithm)c(of)i Fv(numb)n(er)h +Fw(in)g(the)h(base)f Fv(b)n(ase)p Fw(,)h(whic)o(h)f(defaults)g(to)g +Fv(e)p Fw(,)g(the)0 558 y(base)d(of)g(the)g(natural)g(logarithms.)h(F)m +(or)f(example:)0 645 y Fs(\(log)20 b(8.0)h(2\))g Ft(\))f +Fs(3.0)0 697 y(\(log)g(100.0)g(10\))h Ft(\))g Fs(2.0)0 +784 y Fw(The)13 b(result)g(of)e Fs(\(log)21 b(8)g(2\))11 +b Fw(ma)o(y)g(b)q(e)h(either)h Fs(3)f Fw(or)h Fs(3.0)p +Fw(,)e(dep)q(ending)i(on)f(the)h(implem)o(en-)0 835 y(tation.)42 +887 y(Note)20 b(that)h Fs(log)f Fw(ma)o(y)f(return)i(a)f(complex)g +(result)h(when)g(giv)o(en)f(a)g(non-complex)0 939 y(argumen)o(t)13 +b(if)g(the)h(argumen)o(t)f(is)h(negativ)o(e.)k(F)m(or)13 +b(example:)0 1026 y Fs(\(log)20 b(-1.0\))g Ft(\021)i +Fs(\(complex)d(0.0)i(\(float)f(pi)h(0.0\)\))42 1113 y +Fw(X3J13)e(v)o(oted)g(in)h(Jan)o(uary)f(1989)g Ft(h)p +Fw(101)p Ft(i)g Fw(to)g(sp)q(ecify)h(certain)g(\015oating-p)q(oin)o(t)e +(b)q(e-)-33 1084 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1165 a(ha)o(vior)g(when)i(min)o(us)d(zero)j(is)f(supp)q +(orted.)35 b(As)19 b(a)g(part)g(of)g(that)g(v)o(ote)g(it)g(appro)o(v)o +(ed)0 1216 y(a)e(mathematical)e(de\014nition)i(of)g(complex)f +(logarithm)f(in)i(terms)g(of)g(real)h(logarithm,)0 1268 +y(absolute)c(v)n(alue,)f(arc)h(tangen)o(t)g(of)f(t)o(w)o(o)h(real)g +(argumen)o(ts,)e(and)i(the)g(phase)h(function)f(as)0 +1355 y(Logarithm)306 b(log)7 b Ft(j)o Fv(z)e Ft(j)k Fw(+)h +Fv(i)g Fw(phase)e Fv(z)0 1442 y Fw(This)17 b(sp)q(eci\014es)h(the)f +(branc)o(h)g(cuts)h(precisely)g(whether)g(min)o(us)d(zero)i(is)g(supp)q +(orted)h(or)0 1494 y(not;)13 b(see)i Fs(phase)e Fw(and)h +Fs(atan)p Fw(.)-33 1505 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1628 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(sqrt)20 b Fv(numb)n(er)0 1705 y Fw(Returns)d(the)h(principal)e +(square)h(ro)q(ot)g(of)f Fv(numb)n(er)p Fw(.)26 b(If)16 +b(the)h Fv(numb)n(er)g Fw(is)f(not)h(complex)0 1757 y(but)d(is)g +(negativ)o(e,)f(then)i(the)f(result)h(will)d(b)q(e)j(a)e(complex)g(n)o +(um)o(b)q(er.)k(F)m(or)d(example:)0 1844 y Fs(\(sqrt)20 +b(9.0\))g Ft(\))h Fs(3.0)0 1896 y(\(sqrt)f(-9.0\))g Ft(\))h +Fs(#)323 1892 y(-)323 1900 y(-)345 1896 y(c\(0.0)f(3.0\))0 +1982 y Fw(The)14 b(result)h(of)e Fs(\(sqrt)20 b(9\))14 +b Fw(ma)o(y)e(b)q(e)i(either)h Fs(3)f Fw(or)f Fs(3.0)p +Fw(,)g(dep)q(ending)i(on)e(the)i(implem)o(en-)0 2034 +y(tation.)i(The)e(result)f(of)g Fs(\(sqrt)20 b(-9\))13 +b Fw(ma)o(y)f(b)q(e)i(either)h Fs(#)860 2030 y(-)860 +2038 y(-)882 2034 y(c\(0)20 b(3\))14 b Fw(or)g Fs(#)1077 +2030 y(-)1077 2038 y(-)1099 2034 y(c\(0.0)20 b(3.0\))p +Fw(.)42 2086 y(X3J13)f(v)o(oted)g(in)h(Jan)o(uary)f(1989)g +Ft(h)p Fw(101)p Ft(i)g Fw(to)g(sp)q(ecify)h(certain)g(\015oating-p)q +(oin)o(t)e(b)q(e-)-33 2058 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2138 a(ha)o(vior)e(when)h(min)o(us)e(zero)i(is)g(supp)q +(orted.)27 b(As)17 b(a)f(part)h(of)f(that)h(v)o(ote)f(it)g(appro)o(v)o +(ed)h(a)0 2190 y(mathematical)8 b(de\014nition)i(of)h(complex)e(square) +j(ro)q(ot)f(in)g(terms)f(of)h(complex)e(logarithm)0 2242 +y(and)14 b(exp)q(onen)o(tial)f(functions)h(as)0 2329 +y(Square)g(ro)q(ot)286 b Fv(e)520 2314 y Fk(\(log)6 b +Fi(z)p Fk(\))p Fg(=)p Fk(2)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 323 347 +323 346 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(323)0 +295 y Fw(This)17 b(sp)q(eci\014es)h(the)f(branc)o(h)g(cuts)h(precisely) +g(whether)g(min)o(us)d(zero)i(is)g(supp)q(orted)h(or)0 +347 y(not;)13 b(see)i Fs(phase)e Fw(and)h Fs(atan)p Fw(.)-33 +358 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 498 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(isqrt)20 b Fv(inte)n(ger)0 575 y Fw(In)o(teger)e(square)f(ro)q +(ot:)24 b(the)17 b(argumen)o(t)f(m)o(ust)g(b)q(e)h(a)g(non-negativ)o(e) +f(in)o(teger,)i(and)e(the)0 627 y(result)h(is)g(the)g(greatest)h(in)o +(teger)f(less)g(than)g(or)f(equal)h(to)f(the)h(exact)h(p)q(ositiv)o(e)e +(square)0 679 y(ro)q(ot)e(of)f(the)i(argumen)o(t.)i(F)m(or)c(example:)0 +769 y Fs(\(isqrt)20 b(9\))h Ft(\))f Fs(3)0 821 y(\(isqrt)g(12\))g +Ft(\))h Fs(3)0 873 y(\(isqrt)f(300\))g Ft(\))h Fs(17)0 +925 y(\(isqrt)f(325\))g Ft(\))h Fs(18)0 1094 y Fo(12.5.2.)f(T)-5 +b(rigonometric)12 b(and)k(Related)d(F)-5 b(unctions)0 +1186 y Fw(Some)17 b(of)h(the)h(functions)f(in)g(this)g(section,)i(suc)o +(h)f(as)f Fs(abs)g Fw(and)g Fs(signum)p Fw(,)f(are)i(appar-)0 +1238 y(en)o(tly)g(unrelated)g(to)f(trigonometric)g(functions)h(when)g +(considered)h(as)f(functions)f(of)0 1290 y(real)d(n)o(um)o(b)q(ers)g +(only)m(.)21 b(The)16 b(w)o(a)o(y)f(in)g(whic)o(h)g(they)h(are)g +(extended)h(to)e(op)q(erate)h(on)f(com-)0 1342 y(plex)f(n)o(um)o(b)q +(ers)f(mak)o(es)g(the)i(trigonometric)d(connection)j(clear.)1209 +1493 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(abs)21 b +Fv(numb)n(er)0 1570 y Fw(Returns)15 b(the)f(absolute)g(v)n(alue)f(of)h +(the)g(argumen)o(t.)j(F)m(or)d(a)f(non-complex)f(n)o(um)o(b)q(er)i +Fv(x)p Fw(,)0 1660 y Fs(\(abs)20 b Fv(x)p Fs(\))i Ft(\021)f +Fs(\(if)g(\(minusp)e Fv(x)p Fs(\))j(\(-)e Fv(x)p Fs(\))h +Fv(x)p Fs(\))0 1750 y Fw(and)14 b(the)g(result)h(is)f(alw)o(a)o(ys)e +(of)i(the)g(same)f(t)o(yp)q(e)i(as)f(the)g(argumen)o(t.)42 +1802 y(F)m(or)f(a)h(complex)e(n)o(um)o(b)q(er)h Fv(z)p +Fw(,)h(the)g(absolute)g(v)n(alue)f(ma)o(y)f(b)q(e)j(computed)e(as)0 +1892 y Fs(\(sqrt)20 b(\(+)h(\(expt)f(\(realpart)f Fv(z)p +Fs(\))i(2\))g(\(expt)f(\(imagpart)f Fv(z)p Fs(\))i(2\)\)\))p +0 1952 V 0 2013 a Fm(Implemen)o(tation)11 b(note:)16 +b FA(The)c(careful)g(implemen)o(tor)h(will)g(not)f(use)f(this)i(form)o +(ula)f(directly)0 2058 y(for)e(all)i(complex)g(n)o(um)o(b)q(ers)g(but)f +(will)h(instead)g(handle)h(v)o(ery)e(large)g(or)g(v)o(ery)g(small)h +(comp)q(onen)o(ts)0 2104 y(sp)q(ecially)k(to)d(a)o(v)o(oid)h(in)o +(termediate)h(o)o(v)o(er\015o)o(w)f(or)f(under\015o)o(w.)p +0 2144 V 42 2239 a Fw(F)m(or)g(example:)0 2329 y Fs(\(abs)20 +b(#)108 2325 y(-)108 2333 y(-)130 2329 y(c\(3.0)g(-4.0\)\))g +Ft(\))h Fs(5.0)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 324 348 +324 347 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(324)77 b(COMMON)13 +b(LISP)0 295 y Fw(The)j(result)g(of)f Fs(\(abs)20 b(#)361 +291 y(-)361 299 y(-)383 295 y(c\(3)h(4\)\))14 b Fw(ma)o(y)g(b)q(e)i +(either)g Fs(5)f Fw(or)h Fs(5.0)p Fw(,)f(dep)q(ending)h(on)f(the)h(im-) +0 347 y(plemen)o(tation.)1209 1345 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(phase)20 b Fv(numb)n(er)0 1440 y Fw(The)h(phase)g(of)f +(a)g(n)o(um)o(b)q(er)g(is)h(the)g(angle)f(part)h(of)f(its)g(p)q(olar)g +(represen)o(tation)i(as)f(a)0 1491 y(complex)13 b(n)o(um)o(b)q(er.)k +(That)d(is,)0 1754 y Fs(\(phase)20 b Fv(z)p Fs(\))h Ft(\021)g +Fs(\(atan)f(\(imagpart)g Fv(z)p Fs(\))h(\(realpart)e +Fv(z)p Fs(\)\))42 2000 y Fw(The)c(result)h(is)e(in)h(radians,)f(in)h +(the)g(range)g Ft(\000)p Fh(\031)i Fw(\(exclusiv)o(e\))e(to)g +Fh(\031)h Fw(\(inclusiv)o(e\).)21 b(The)-38 1975 y Fk(.)-38 +1988 y(.)-38 2001 y(.)-38 2014 y(.)-38 2027 y(.)-38 2039 +y(.)-38 2052 y(.)-38 2065 y(.)-38 2078 y(.)-38 2091 y(.)-38 +2104 y(.)-38 2117 y(.)-38 2130 y(.)-38 2143 y(.)-38 2156 +y(.)-38 2169 y(.)-38 2182 y(.)-38 2195 y(.)-38 2208 y(.)-38 +2221 y(.)-38 2234 y(.)-38 2247 y(.)-38 2260 y(.)-38 2273 +y(.)-38 2286 y(.)-38 2299 y(.)-38 2312 y(.)-38 2325 y(.)-38 +2338 y(.)-38 2351 y(.)-38 2364 y(.)-38 2377 y(.)-38 2390 +y(.)-38 2403 y(.)-38 2416 y(.)-38 2429 y(.)-38 2442 y(.)-38 +2455 y(.)-38 2468 y(.)-38 2481 y(.)-38 2494 y(.)-38 2506 +y(.)-38 2519 y(.)-38 2532 y(.)-38 2545 y(.)-38 2558 y(.)-38 +2571 y(.)-38 2584 y(.)-38 2597 y(.)-38 2610 y(.)-38 2623 +y(.)-38 2636 y(.)-38 2649 y(.)-38 2662 y(.)-38 2675 y(.)-38 +2688 y(.)-38 2701 y(.)-38 2714 y(.)-38 2727 y(.)-38 2740 +y(.)-38 2753 y(.)-38 2766 y(.)-38 2779 y(.)-38 2792 y(.)-38 +2805 y(.)-38 2818 y(.)-38 2831 y(.)-38 2844 y(.)-38 2857 +y(.)-38 2870 y(.)-38 2883 y(.)-38 2896 y(.)-38 2909 y(.)-38 +2922 y(.)-38 2935 y(.)-38 2948 y(.)-38 2961 y(.)-38 2973 +y(.)-38 2986 y(.)-38 2999 y(.)-38 3012 y(.)-38 3025 y(.)-38 +3038 y(.)-38 3051 y(.)-38 3064 y(.)-38 3077 y(.)-38 3090 +y(.)-38 3103 y(.)-38 3116 y(.)-38 3129 y(.)-38 3142 y(.)-38 +3155 y(.)-38 3168 y(.)-38 3181 y(.)-38 3194 y(.)-38 3207 +y(.)-38 3220 y(.)-38 3233 y(.)-38 3246 y(.)-38 3259 y(.)-38 +3272 y(.)-38 3285 y(.)-38 3298 y(.)-38 3311 y(.)-38 3324 +y(.)-38 3337 y(.)-38 3350 y(.)-38 3363 y(.)-38 3376 y(.)-38 +3389 y(.)-38 3402 y(.)-38 3415 y(.)-38 3428 y(.)-38 3440 +y(.)-38 3453 y(.)-38 3466 y(.)-38 3479 y(.)-38 3492 y(.)-38 +3505 y(.)-38 3518 y(.)-38 3531 y(.)-38 3544 y(.)-38 3557 +y(.)-38 3570 y(.)-38 3583 y(.)-38 3596 y(.)-38 3609 y(.)-38 +3622 y(.)-38 3635 y(.)-38 3648 y(.)-38 3661 y(.)-38 3674 +y(.)-38 3687 y(.)-38 3700 y(.)-38 3713 y(.)-38 3726 y(.)-38 +3739 y(.)-38 3752 y(.)-38 3765 y(.)-38 3778 y(.)-38 3791 +y(.)-38 3804 y(.)-38 3817 y(.)-38 3830 y(.)-38 3843 y(.)-38 +3856 y(.)-38 3869 y(.)-38 3882 y(.)-38 3895 y(.)-38 3907 +y(.)-38 3920 y(.)-38 3933 y(.)-38 3946 y(.)-38 3959 y(.)-38 +3972 y(.)-38 3985 y(.)-38 3998 y(.)-38 4011 y(.)-38 4024 +y(.)-38 4037 y(.)-38 4050 y(.)-38 4063 y(.)-38 4076 y(.)-38 +4089 y(.)-38 4102 y(.)-38 4115 y(.)-38 4128 y(.)-38 4141 +y(.)-38 4154 y(.)-38 4167 y(.)-38 4180 y(.)-38 4193 y(.)-38 +4206 y(.)-38 4219 y(.)-38 4232 y(.)-38 4245 y(.)-38 4258 +y(.)-38 4271 y(.)-38 4284 y(.)-38 4297 y(.)-38 4310 y(.)-38 +4323 y(.)-38 4336 y(.)-38 4349 y(.)-38 4362 y(.)-38 4374 +y(.)-38 4387 y(.)-38 4400 y(.)-38 4413 y(.)-38 4426 y(.)-38 +4439 y(.)-38 4452 y(.)-38 4465 y(.)-38 4478 y(.)-38 4491 +y(.)-38 4504 y(.)-38 4517 y(.)-38 4530 y(.)-38 4543 y(.)-38 +4556 y(.)0 2052 y Fw(phase)h(of)f(a)f(p)q(ositiv)o(e)h(non-complex)f(n) +o(um)o(b)q(er)h(is)g(zero;)k(that)c(of)g(a)g(negativ)o(e)g(non-)0 +2103 y(complex)13 b(n)o(um)o(b)q(er)g(is)g Fh(\031)q +Fw(.)19 b(The)14 b(phase)g(of)g(zero)h(is)e(arbitrarily)g(de\014ned)i +(to)f(b)q(e)g(zero.)-33 2115 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2173 a(X3J13)9 b(v)o(oted)h(in)f(Jan)o(uary)g(1989)g +Ft(h)p Fw(101)p Ft(i)g Fw(to)h(sp)q(ecify)g(certain)g(\015oating-p)q +(oin)o(t)e(b)q(eha)o(vior)-33 2145 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2225 a(when)k(min)o(us)d(zero)j(is)f(supp)q(orted;)i +Fs(phase)d Fw(is)h(still)f(de\014ned)i(in)f(terms)g(of)f +Fs(atan)g Fw(as)h(ab)q(o)o(v)o(e,)0 2277 y(but)h(thanks)h(to)f(a)g(c)o +(hange)g(in)g Fs(atan)f Fw(the)i(range)g(of)e Fs(phase)g +Fw(b)q(ecomes)i Ft(\000)p Fh(\031)g Fv(inclusive)g Fw(to)f +Fh(\031)0 2329 y Fw(inclusiv)o(e.)17 b(The)d(v)n(alue)e +Ft(\000)p Fh(\031)i Fw(results)g(from)d(an)h(argumen)o(t)g(whose)i +(real)e(part)h(is)g(negativ)o(e)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 325 349 +325 348 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(325)0 +295 y Fw(and)14 b(whose)g(imaginary)d(part)j(is)g(min)o(us)e(zero.)19 +b(The)14 b Fs(phase)f Fw(function)h(therefore)h(has)f(a)0 +347 y(branc)o(h)e(cut)g(along)e(the)i(negativ)o(e)f(real)g(axis.)17 +b(The)12 b(phase)g(of)f(+0)t(+)t(0)p Fv(i)k Fw(is)c(+0,)h(of)e(+0)t +Ft(\000)t Fw(0)p Fv(i)0 399 y Fw(is)k Ft(\000)p Fw(0,)f(of)g +Ft(\000)p Fw(0)d(+)f(0)p Fv(i)18 b Fw(is)13 b(+)p Fh(\031)q +Fw(,)h(and)g(of)f Ft(\000)p Fw(0)d Ft(\000)f Fw(0)p Fv(i)18 +b Fw(is)13 b Ft(\000)p Fh(\031)q Fw(.)-33 410 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 450 a(If)e(the)i(argumen)o(t)e(is)i(a)f(complex)f +(\015oating-p)q(oin)o(t)f(n)o(um)o(b)q(er,)i(the)h(result)g(is)f(a)g +(\015oating-)0 502 y(p)q(oin)o(t)17 b(n)o(um)o(b)q(er)f(of)g(the)i +(same)e(t)o(yp)q(e)i(as)f(the)h(comp)q(onen)o(ts)f(of)f(the)i(argumen)o +(t.)26 b(If)17 b(the)0 554 y(argumen)o(t)h(is)h(a)f(\015oating-p)q(oin) +o(t)g(n)o(um)o(b)q(er,)h(the)h(result)f(is)g(a)g(\015oating-p)q(oin)o +(t)e(n)o(um)o(b)q(er)0 606 y(of)e(the)h(same)f(t)o(yp)q(e.)24 +b(If)16 b(the)g(argumen)o(t)e(is)i(a)f(rational)g(n)o(um)o(b)q(er)g(or) +h(complex)e(rational)0 658 y(n)o(um)o(b)q(er,)f(the)h(result)h(is)f(a)f +(single-format)f(\015oating-p)q(oin)o(t)g(n)o(um)o(b)q(er.)1209 +783 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(signum)20 +b Fv(numb)n(er)0 860 y Fw(By)14 b(de\014nition,)0 944 +y Fs(\(signum)20 b Fv(x)p Fs(\))h Ft(\021)g Fs(\(if)g(\(zerop)f +Fv(x)p Fs(\))h Fv(x)h Fs(\(/)e Fv(x)i Fs(\(abs)e Fv(x)p +Fs(\)\)\))0 1029 y Fw(F)m(or)e(a)g(rational)g(n)o(um)o(b)q(er,)g +Fs(signum)f Fw(will)g(return)j(one)f(of)f Fs(-1)p Fw(,)h +Fs(0)p Fw(,)g(or)f Fs(1)g Fw(according)h(to)0 1081 y(whether)11 +b(the)g(n)o(um)o(b)q(er)e(is)g(negativ)o(e,)h(zero,)i(or)d(p)q(ositiv)o +(e.)17 b(F)m(or)9 b(a)h(\015oating-p)q(oin)o(t)e(n)o(um)o(b)q(er,)0 +1133 y(the)16 b(result)f(will)f(b)q(e)h(a)g(\015oating-p)q(oin)o(t)e(n) +o(um)o(b)q(er)h(of)h(the)g(same)f(format)f(whose)j(v)n(alue)e(is)0 +1185 y Ft(\000)p Fw(1,)j(0,)h(or)f(1.)27 b(F)m(or)17 +b(a)f(complex)g(n)o(um)o(b)q(er)h Fv(z)p Fw(,)g Fs(\(signum)j +Fv(z)p Fs(\))c Fw(is)h(a)g(complex)f(n)o(um)o(b)q(er)g(of)0 +1237 y(the)d(same)f(phase)h(but)g(with)g(unit)f(magnitude,)f(unless)i +Fv(z)g Fw(is)g(a)f(complex)f(zero,)j(in)e(whic)o(h)0 +1289 y(case)j(the)f(result)h(is)f Fv(z)p Fw(.)k(F)m(or)13 +b(example:)0 1374 y Fs(\(signum)20 b(0\))g Ft(\))h Fs(0)0 +1425 y(\(signum)f(-3.7L5\))f Ft(\))i Fs(-1.0L0)0 1477 +y(\(signum)f(4/5\))g Ft(\))h Fs(1)0 1529 y(\(signum)f(#)174 +1525 y(-)174 1533 y(-)196 1529 y(C\(7.5)g(10.0\)\))g +Ft(\))g Fs(#)540 1525 y(-)540 1533 y(-)562 1529 y(C\(0.6)g(0.8\))0 +1581 y(\(signum)g(#)174 1577 y(-)174 1585 y(-)196 1581 +y(C\(0.0)g(-14.7\)\))f Ft(\))i Fs(#)562 1577 y(-)562 +1585 y(-)584 1581 y(C\(0.0)f(-1.0\))0 1666 y Fw(F)m(or)13 +b(non-complex)g(rational)f(n)o(um)o(b)q(ers,)h Fs(signum)g +Fw(is)h(a)f(rational)g(function,)g(but)h(it)g(ma)o(y)0 +1718 y(b)q(e)h(irrational)d(for)h(complex)g(argumen)o(ts.)1209 +1843 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(sin)21 b +Fv(r)n(adians)1209 1895 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(cos)21 b Fv(r)n(adians)1209 1946 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(tan)21 b Fv(r)n(adians)0 2023 y Fs(sin)16 +b Fw(returns)i(the)f(sine)g(of)f(the)h(argumen)o(t,)f +Fs(cos)g Fw(the)h(cosine,)h(and)e Fs(tan)g Fw(the)h(tangen)o(t.)0 +2075 y(The)d(argumen)o(t)f(is)h(in)f(radians.)18 b(The)c(argumen)o(t)f +(ma)o(y)f(b)q(e)j(complex.)1209 2200 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(cis)21 b Fv(r)n(adians)0 2277 y Fw(This)15 +b(computes)g Fv(e)304 2262 y Fi(i)p Fl(\001)p Fi(r)n(adians)436 +2277 y Fw(.)22 b(The)16 b(name)d Fs(cis)i Fw(means)f(\\cos)i(+)f +Fv(i)g Fw(sin,")f(b)q(ecause)j Fv(e)1319 2262 y Fi(i)p +Fg(\022)1362 2277 y Fw(=)0 2329 y(cos)7 b Fh(\022)16 +b Fw(+)e Fv(i)c Fw(sin)d Fh(\022)q Fw(.)38 b(The)21 b(argumen)o(t)e(is) +i(in)f(radians)g(and)g(ma)o(y)e(b)q(e)j(an)o(y)f(non-complex)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 326 350 +326 349 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(326)77 b(COMMON)13 +b(LISP)0 295 y Fw(n)o(um)o(b)q(er.)18 b(The)c(result)h(is)f(a)g +(complex)e(n)o(um)o(b)q(er)i(whose)g(real)g(part)h(is)e(the)i(cosine)g +(of)e(the)0 347 y(argumen)o(t)g(and)i(whose)g(imaginary)c(part)k(is)g +(the)g(sine.)20 b(Put)15 b(another)g(w)o(a)o(y)m(,)e(the)i(result)0 +399 y(is)e(a)f(complex)f(n)o(um)o(b)q(er)h(whose)i(phase)f(is)g(the)g +(equal)f(to)h(the)g(argumen)o(t)f(\(mo)q(d)f(2)p Fh(\031)q +Fw(\))i(and)0 450 y(whose)h(magnitude)f(is)g(unit)o(y)m(.)p +0 510 V 0 571 a Fm(Implemen)o(tation)i(note:)23 b FA(Often)15 +b(it)h(is)g(c)o(heap)q(er)g(to)f(calculate)j(the)d(sine)i(and)f(cosine) +g(of)g(a)0 616 y(single)f(angle)f(together)g(than)f(to)g(p)q(erform)h +(t)o(w)o(o)e(disjoin)o(t)j(calculations.)p 0 653 V 1209 +772 a Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(asin)20 +b Fv(numb)n(er)1209 824 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(acos)20 b Fv(numb)n(er)0 901 y Fs(asin)10 b Fw(returns)j(the)e +(arc)h(sine)f(of)f(the)i(argumen)o(t,)e(and)h Fs(acos)f +Fw(the)h(arc)h(cosine.)18 b(The)11 b(result)0 953 y(is)j(in)f(radians.) +18 b(The)c(argumen)o(t)f(ma)o(y)f(b)q(e)i(complex.)42 +1005 y(The)j(arc)g(sine)g(and)f(arc)h(cosine)h(functions)e(ma)o(y)f(b)q +(e)i(de\014ned)h(mathematically)13 b(for)0 1057 y(an)h(argumen)o(t)e +Fv(z)i Fw(as)g(follo)o(ws:)0 1145 y(Arc)h(sine)349 b +Ft(\000)p Fv(i)11 b Fw(log)615 1111 y Fe(\000)634 1145 +y Fv(iz)j Fw(+)719 1110 y Ft(p)p 754 1110 113 2 v 35 +x Fw(1)9 b Ft(\000)g Fv(z)847 1133 y Fk(2)866 1111 y +Fe(\001)0 1207 y Fw(Arc)15 b(cosine)310 b Ft(\000)p Fv(i)11 +b Fw(log)615 1173 y Fe(\000)634 1207 y Fv(z)j Fw(+)c +Fv(i)724 1172 y Ft(p)p 758 1172 V 758 1207 a Fw(1)f Ft(\000)h +Fv(z)852 1195 y Fk(2)870 1173 y Fe(\001)0 1294 y Fw(Note)k(that)f(the)h +(result)g(of)e Fs(asin)h Fw(or)g Fs(acos)f Fw(ma)o(y)g(b)q(e)i(complex) +e(ev)o(en)h(if)g(the)h(argumen)o(t)e(is)0 1346 y(not)j(complex;)f(this) +h(o)q(ccurs)h(when)f(the)h(absolute)f(v)n(alue)f(of)h(the)g(argumen)o +(t)f(is)h(greater)0 1398 y(than)f(1.)42 1450 y(Kahan)f([25)o(])h +(suggests)h(for)e Fs(acos)g Fw(the)i(de\014ning)f(form)o(ula)-33 +1422 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1596 a(Arc)h(cosine)503 1553 y(2)7 b(log)591 +1507 y Fe(\020)616 1505 y(q)p 658 1505 70 2 v 663 1536 +a Fk(1+)p Fi(z)p 663 1543 60 2 v 684 1567 a Fk(2)737 +1553 y Fw(+)i Fv(i)795 1505 y Fe(q)p 837 1505 71 2 v +842 1536 a Fk(1)p Fl(\000)p Fi(z)p 842 1543 61 2 v 864 +1567 a Fk(2)907 1507 y Fe(\021)p 503 1586 429 2 v 710 +1624 a Fh(i)0 1695 y Fw(or)i(ev)o(en)h(the)g(m)o(uc)o(h)e(simpler)g(\() +p Fh(\031)q(=)p Fw(2\))t Ft(\000)t Fw(arcsin)e Fv(z)d +Fw(.)17 b(Both)12 b(equations)f(are)h(mathematical)o(ly)0 +1747 y(equiv)n(alen)o(t)h(to)h(the)g(form)o(ula)e(sho)o(wn)i(ab)q(o)o +(v)o(e.)-33 1759 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1807 598 2 v 0 1867 a Fm(Implemen)o(tation)8 +b(note:)15 b FA(These)9 b(form)o(ulae)h(are)f(mathematically)j +(correct,)d(assuming)i(com-)0 1913 y(pletely)21 b(accurate)f +(computation.)37 b(They)20 b(ma)o(y)f(b)q(e)h(terrible)h(metho)q(ds)f +(for)f(\015oating-p)q(oin)o(t)0 1959 y(computation.)g(Implemen)o(tors) +14 b(should)h(consult)f(a)f(go)q(o)q(d)h(text)f(on)g(n)o(umerical)i +(analysis.)20 b(The)0 2004 y(form)o(ulae)c(giv)o(en)h(ab)q(o)o(v)o(e)f +(are)f(not)h(necessarily)h(the)f(simplest)h(ones)f(for)e(real-v)n +(alued)k(compu-)0 2050 y(tations,)e(either;)f(they)g(are)g(c)o(hosen)g +(to)f(de\014ne)h(the)g(branc)o(h)g(cuts)g(in)g(desirable)i(w)o(a)o(ys)d +(for)g(the)0 2096 y(complex)g(case.)p 0 2133 V 1209 2252 +a Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(atan)20 b Fv(y)25 +b Fs(&optional)20 b Fv(x)0 2329 y Fw(An)14 b(arc)g(tangen)o(t)g(is)g +(calculated)g(and)g(the)g(result)h(is)f(returned)h(in)f(radians.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 327 351 +327 350 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(327)42 +295 y Fw(With)19 b(t)o(w)o(o)h(argumen)o(ts)f Fv(y)h +Fw(and)g Fv(x)p Fw(,)i(neither)f(argumen)o(t)e(ma)o(y)f(b)q(e)j +(complex.)35 b(The)0 347 y(result)14 b(is)f(the)g(arc)h(tangen)o(t)f +(of)g(the)g(quan)o(tit)o(y)g Fv(y/x)p Fw(.)18 b(The)13 +b(signs)h(of)e Fv(y)h Fw(and)g Fv(x)g Fw(are)h(used)g(to)0 +399 y(deriv)o(e)g(quadran)o(t)f(information;)d(moreo)o(v)o(er,)i +Fv(x)i Fw(ma)o(y)e(b)q(e)i(zero)g(pro)o(vided)f Fv(y)h +Fw(is)f(not)g(zero.)0 450 y(The)k(v)n(alue)e(of)h Fs(atan)f +Fw(is)h(alw)o(a)o(ys)g(b)q(et)o(w)o(een)h Ft(\000)p Fh(\031)h +Fw(\(exclusiv)o(e\))f(and)f Fh(\031)h Fw(\(inclusiv)o(e\).)25 +b(The)0 502 y(follo)o(wing)11 b(table)j(details)g(v)n(arious)f(sp)q +(ecial)h(cases.)77 585 y(Condition)169 b(Cartesian)14 +b(Lo)q(cus)346 b(Range)13 b(of)h(Result)p 0 602 1395 +2 v 0 651 a Fv(y)h Fw(=)d(0)89 b Fv(x)17 b Fh(>)11 b +Fw(0)138 b(P)o(ositiv)o(e)14 b Fv(x)p Fw(-axis)512 b(0)0 +703 y Fv(y)15 b Fh(>)d Fw(0)89 b Fv(x)17 b Fh(>)11 b +Fw(0)138 b(Quadran)o(t)14 b(I)430 b(0)12 b Fh(<)f Fw(result)i +Fh(<)f(\031)q(=)p Fw(2)0 755 y Fv(y)j Fh(>)d Fw(0)89 +b Fv(x)17 b Fw(=)11 b(0)138 b(P)o(ositiv)o(e)14 b Fv(y)p +Fw(-axis)488 b Fh(\031)q(=)p Fw(2)0 807 y Fv(y)15 b Fh(>)d +Fw(0)89 b Fv(x)17 b Fh(<)11 b Fw(0)138 b(Quadran)o(t)14 +b(I)q(I)412 b Fh(\031)q(=)p Fw(2)11 b Fh(<)h Fw(result)h +Fh(<)e(\031)0 859 y Fv(y)k Fw(=)d(0)89 b Fv(x)17 b Fh(<)11 +b Fw(0)138 b(Negativ)o(e)14 b Fv(x)p Fw(-axis)495 b Fh(\031)0 +911 y Fv(y)15 b Fh(<)d Fw(0)89 b Fv(x)17 b Fh(<)11 b +Fw(0)138 b(Quadran)o(t)14 b(I)q(I)q(I)364 b Ft(\000)p +Fh(\031)13 b(<)f Fw(result)g Fh(<)g Ft(\000)p Fh(\031)q(=)p +Fw(2)0 963 y Fv(y)j Fh(<)d Fw(0)89 b Fv(x)17 b Fw(=)11 +b(0)138 b(Negativ)o(e)14 b Fv(y)p Fw(-axis)457 b Ft(\000)p +Fh(\031)q(=)p Fw(2)0 1014 y Fv(y)15 b Fh(<)d Fw(0)89 +b Fv(x)17 b Fh(>)11 b Fw(0)138 b(Quadran)o(t)14 b(IV)383 +b Ft(\000)p Fh(\031)q(=)p Fw(2)12 b Fh(<)g Fw(result)g +Fh(<)g Fw(0)0 1066 y Fv(y)j Fw(=)d(0)89 b Fv(x)17 b Fw(=)11 +b(0)138 b(Origin)623 b(error)p 0 1084 V 42 1160 a(X3J13)9 +b(v)o(oted)h(in)f(Jan)o(uary)g(1989)g Ft(h)p Fw(101)p +Ft(i)g Fw(to)h(sp)q(ecify)g(certain)g(\015oating-p)q(oin)o(t)e(b)q(eha) +o(vior)-33 1131 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1212 a(when)i(min)o(us)f(zero)h(is)g(supp)q(orted.)18 +b(When)10 b(there)i(is)d(a)h(min)o(us)e(zero,)j(the)g(preceding)g +(table)0 1264 y(m)o(ust)i(b)q(e)h(mo)q(di\014ed)f(sligh)o(tly:)85 +1346 y(Condition)170 b(Cartesian)14 b(Lo)q(cus)337 b(Range)13 +b(of)h(Result)p 0 1363 V 0 1413 a Fv(y)h Fw(=)d(+0)61 +b Fv(x)16 b Fh(>)c Fw(0)143 b(Just)14 b(ab)q(o)o(v)o(e)g(p)q(ositiv)o +(e)g Fv(x)p Fw(-axis)282 b(+0)0 1464 y Fv(y)15 b Fh(>)d +Fw(0)93 b Fv(x)16 b Fh(>)c Fw(0)143 b(Quadran)o(t)14 +b(I)405 b(+0)12 b Fh(<)g Fw(result)g Fh(<)g(\031)q(=)p +Fw(2)0 1516 y Fv(y)j Fh(>)d Fw(0)93 b Fv(x)16 b Fw(=)c +Ft(\006)p Fw(0)111 b(P)o(ositiv)o(e)13 b Fv(y)p Fw(-axis)480 +b Fh(\031)q(=)p Fw(2)0 1568 y Fv(y)15 b Fh(>)d Fw(0)93 +b Fv(x)16 b Fh(<)c Fw(0)143 b(Quadran)o(t)14 b(I)q(I)403 +b Fh(\031)q(=)p Fw(2)11 b Fh(<)h Fw(result)h Fh(<)e(\031)0 +1620 y Fv(y)k Fw(=)d(+0)61 b Fv(x)16 b Fh(<)c Fw(0)143 +b(Just)14 b(b)q(elo)o(w)g(negativ)o(e)g Fv(x)p Fw(-axis)286 +b Fh(\031)0 1672 y Fv(y)15 b Fw(=)d Ft(\000)p Fw(0)61 +b Fv(x)16 b Fh(<)c Fw(0)143 b(Just)14 b(ab)q(o)o(v)o(e)g(negativ)o(e)g +Fv(x)p Fw(-axis)286 b Fh(\031)0 1724 y Fv(y)15 b Fh(<)d +Fw(0)93 b Fv(x)16 b Fh(<)c Fw(0)143 b(Quadran)o(t)14 +b(I)q(I)q(I)355 b Ft(\000)p Fh(\031)13 b(<)f Fw(result)g +Fh(<)g Ft(\000)p Fh(\031)q(=)p Fw(2)0 1776 y Fv(y)j Fh(<)d +Fw(0)93 b Fv(x)16 b Fw(=)c Ft(\006)p Fw(0)111 b(Negativ)o(e)13 +b Fv(y)p Fw(-axis)449 b Ft(\000)p Fh(\031)q(=)p Fw(2)0 +1828 y Fv(y)15 b Fh(<)d Fw(0)93 b Fv(x)16 b Fh(>)c Fw(0)143 +b(Quadran)o(t)14 b(IV)358 b Ft(\000)p Fh(\031)q(=)p Fw(2)12 +b Fh(<)f Fw(result)i Fh(<)f Ft(\000)p Fw(0)0 1880 y Fv(y)j +Fw(=)d Ft(\000)p Fw(0)61 b Fv(x)16 b Fh(>)c Fw(0)143 +b(Just)14 b(b)q(elo)o(w)g(p)q(ositiv)o(e)g Fv(x)p Fw(-axis)282 +b Ft(\000)p Fw(0)0 1931 y Fv(y)15 b Fw(=)d(+0)61 b Fv(x)16 +b Fw(=)c(+0)111 b(Near)14 b(origin)543 b(+0)0 1983 y +Fv(y)15 b Fw(=)d Ft(\000)p Fw(0)61 b Fv(x)16 b Fw(=)c(+0)111 +b(Near)14 b(origin)543 b Ft(\000)p Fw(0)0 2035 y Fv(y)15 +b Fw(=)d(+0)61 b Fv(x)16 b Fw(=)c Ft(\000)p Fw(0)111 +b(Near)14 b(origin)557 b Fh(\031)0 2087 y Fv(y)15 b Fw(=)d +Ft(\000)p Fw(0)61 b Fv(x)16 b Fw(=)c Ft(\000)p Fw(0)111 +b(Near)14 b(origin)541 b Ft(\000)p Fh(\031)p 0 2104 V +42 2173 a Fw(Note)16 b(that)g(the)h(case)g Fv(y)i Fw(=)d(0)p +Fh(;)7 b Fv(x)19 b Fw(=)d(0)f(is)h(an)g(error)h(in)f(the)h(absence)g +(of)f(min)o(us)e(zero,)0 2225 y(but)g(the)h(four)e(cases)i +Fv(y)h Fw(=)c Ft(\006)p Fw(0)p Fh(;)7 b Fv(x)16 b Fw(=)c +Ft(\006)p Fw(0)i(are)g(de\014ned)h(in)e(the)i(presence)h(of)d(min)o(us) +g(zero.)-33 2237 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2277 a(With)i(only)h(one)h(argumen)o(t)e +Fv(y)p Fw(,)i(the)g(argumen)o(t)e(ma)o(y)f(b)q(e)j(complex.)25 +b(The)17 b(result)g(is)-38 2252 y Fk(.)-38 2265 y(.)-38 +2278 y(.)-38 2291 y(.)-38 2304 y(.)-38 2317 y(.)-38 2330 +y(.)-38 2343 y(.)-38 2356 y(.)-38 2369 y(.)-38 2382 y(.)-38 +2395 y(.)-38 2408 y(.)-38 2420 y(.)-38 2433 y(.)-38 2446 +y(.)-38 2459 y(.)-38 2472 y(.)-38 2485 y(.)-38 2498 y(.)-38 +2511 y(.)-38 2524 y(.)-38 2537 y(.)-38 2550 y(.)-38 2563 +y(.)-38 2576 y(.)-38 2589 y(.)-38 2602 y(.)-38 2615 y(.)-38 +2628 y(.)-38 2641 y(.)-38 2654 y(.)-38 2667 y(.)-38 2680 +y(.)-38 2693 y(.)-38 2706 y(.)-38 2719 y(.)-38 2732 y(.)-38 +2745 y(.)-38 2758 y(.)-38 2771 y(.)-38 2784 y(.)-38 2797 +y(.)-38 2810 y(.)-38 2823 y(.)-38 2836 y(.)-38 2849 y(.)-38 +2862 y(.)-38 2875 y(.)-38 2887 y(.)-38 2900 y(.)-38 2913 +y(.)-38 2926 y(.)-38 2939 y(.)-38 2952 y(.)-38 2965 y(.)-38 +2978 y(.)-38 2991 y(.)-38 3004 y(.)-38 3017 y(.)-38 3030 +y(.)-38 3043 y(.)-38 3056 y(.)-38 3069 y(.)-38 3082 y(.)-38 +3095 y(.)-38 3108 y(.)-38 3121 y(.)-38 3134 y(.)-38 3147 +y(.)-38 3160 y(.)-38 3173 y(.)-38 3186 y(.)-38 3199 y(.)-38 +3212 y(.)-38 3225 y(.)-38 3238 y(.)-38 3251 y(.)-38 3264 +y(.)-38 3277 y(.)-38 3290 y(.)-38 3303 y(.)-38 3316 y(.)-38 +3329 y(.)-38 3342 y(.)-38 3354 y(.)-38 3367 y(.)-38 3380 +y(.)-38 3393 y(.)-38 3406 y(.)-38 3419 y(.)-38 3432 y(.)-38 +3445 y(.)-38 3458 y(.)-38 3471 y(.)-38 3484 y(.)-38 3497 +y(.)-38 3510 y(.)-38 3523 y(.)-38 3536 y(.)-38 3549 y(.)-38 +3562 y(.)-38 3575 y(.)-38 3588 y(.)-38 3601 y(.)-38 3614 +y(.)-38 3627 y(.)-38 3640 y(.)-38 3653 y(.)-38 3666 y(.)-38 +3679 y(.)-38 3692 y(.)-38 3705 y(.)-38 3718 y(.)-38 3731 +y(.)-38 3744 y(.)-38 3757 y(.)-38 3770 y(.)-38 3783 y(.)-38 +3796 y(.)-38 3809 y(.)-38 3821 y(.)-38 3834 y(.)-38 3847 +y(.)-38 3860 y(.)-38 3873 y(.)-38 3886 y(.)-38 3899 y(.)-38 +3912 y(.)-38 3925 y(.)-38 3938 y(.)-38 3951 y(.)-38 3964 +y(.)-38 3977 y(.)-38 3990 y(.)-38 4003 y(.)-38 4016 y(.)-38 +4029 y(.)-38 4042 y(.)-38 4055 y(.)-38 4068 y(.)-38 4081 +y(.)-38 4094 y(.)-38 4107 y(.)-38 4120 y(.)-38 4133 y(.)-38 +4146 y(.)-38 4159 y(.)-38 4172 y(.)-38 4185 y(.)-38 4198 +y(.)-38 4211 y(.)-38 4224 y(.)-38 4237 y(.)-38 4250 y(.)-38 +4263 y(.)-38 4276 y(.)-38 4288 y(.)-38 4301 y(.)-38 4314 +y(.)-38 4327 y(.)-38 4340 y(.)-38 4353 y(.)-38 4366 y(.)-38 +4379 y(.)-38 4392 y(.)-38 4405 y(.)-38 4418 y(.)-38 4431 +y(.)-38 4444 y(.)-38 4457 y(.)-38 4470 y(.)-38 4483 y(.)-38 +4496 y(.)-38 4509 y(.)-38 4522 y(.)-38 4535 y(.)-38 4548 +y(.)-38 4561 y(.)-38 4574 y(.)-38 4587 y(.)-38 4600 y(.)-38 +4613 y(.)-38 4626 y(.)-38 4639 y(.)-38 4652 y(.)-38 4665 +y(.)-38 4678 y(.)-38 4691 y(.)-38 4704 y(.)-38 4717 y(.)-38 +4730 y(.)-38 4743 y(.)-38 4755 y(.)-38 4768 y(.)-38 4781 +y(.)-38 4794 y(.)-38 4807 y(.)-38 4820 y(.)-38 4833 y(.)0 +2329 y Fw(the)d(arc)h(tangen)o(t)f(of)f Fv(y)p Fw(,)h(whic)o(h)f(ma)o +(y)f(b)q(e)j(de\014ned)g(b)o(y)e(the)i(follo)o(wing)c(form)o(ula:)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 328 352 +328 351 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(328)77 b(COMMON)13 b(LISP)0 301 y Fw(Arc)i(tangen)o(t)281 +b Ft(\000)p Fv(i)11 b Fw(log)615 255 y Fe(\020)640 301 +y Fw(\(1)e(+)g Fv(iy)t Fw(\))780 265 y Fe(p)p 821 265 +188 2 v 821 301 a Fw(1)p Fh(=)p Fw(\(1)g(+)h Fv(y)975 +289 y Fk(2)993 301 y Fw(\))1009 255 y Fe(\021)-33 328 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 2016 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 329 353 +329 352 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(329)p +0 295 V 0 355 a Fm(Implemen)o(tation)17 b(note:)25 b +FA(This)17 b(form)o(ula)h(is)f(mathematically)j(correct,)d(assuming)i +(com-)0 401 y(pletely)d(accurate)f(computation.)22 b(It)14 +b(ma)o(y)g(b)q(e)h(a)f(terrible)i(metho)q(d)f(for)f(\015oating-p)q(oin) +o(t)j(com-)0 446 y(putation.)33 b(Implemen)o(tors)19 +b(should)h(consult)f(a)f(go)q(o)q(d)h(text)f(on)g(n)o(umerical)i +(analysis.)34 b(The)0 492 y(form)o(ula)18 b(giv)o(en)h(ab)q(o)o(v)o(e)f +(is)g(not)g(necessarily)i(the)d(simplest)i(one)f(for)f(real-v)n(alued)j +(computa-)0 538 y(tions,)13 b(either;)f(it)g(is)g(c)o(hosen)g(to)g +(de\014ne)g(the)g(branc)o(h)g(cuts)g(in)g(desirable)i(w)o(a)o(ys)d(for) +h(the)f(complex)0 583 y(case.)p 0 612 V 42 699 a Fw(X3J13)16 +b(v)o(oted)i(in)e(Jan)o(uary)h(1989)g Ft(h)p Fw(28)p +Ft(i)f Fw(to)h(replace)i(the)e(preceding)h(form)o(ula)d(with)-33 +671 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 751 a(the)f(form)o(ula)0 845 y(Arc)h(tangen)o(t)503 +817 y(log\(1)9 b(+)g Fv(iy)t Fw(\))g Ft(\000)h Fw(log)o(\(1)g +Ft(\000)f Fv(iy)t Fw(\))p 503 835 439 2 v 704 874 a(2)p +Fv(i)0 941 y Fw(This)i(c)o(hange)h(alters)g(the)g(direction)g(of)f(con) +o(tin)o(uit)o(y)f(for)h(the)i(branc)o(h)e(cuts,)i(whic)o(h)e(alters)0 +993 y(the)18 b(result)g(returned)g(b)o(y)f Fs(atan)g +Fw(only)f(for)h(argumen)o(ts)f(on)h(the)h(imaginary)c(axis)j(that)0 +1045 y(are)d(of)g(magnitude)e(greater)j(than)f(1.)j(See)e(section)g +(12.5.3)d(for)h(further)i(details.)-33 1057 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1097 a(F)m(or)e(a)g(non-complex)f(argumen)o(t)h +Fv(y)p Fw(,)h(the)g(result)g(is)g(non-complex)e(and)i(lies)f(b)q(et)o +(w)o(een)0 1149 y Ft(\000)p Fh(\031)q(=)p Fw(2)h(and)g +Fh(\031)q(=)p Fw(2)f(\(b)q(oth)h(exclusiv)o(e\).)p 0 +1209 598 2 v 0 1269 a Fm(Compatibilit)o(y)c(note:)17 +b FA(MacLisp)12 b(has)g(a)g(function)h(called)g Fj(atan)c +FA(whose)j(range)g(is)g(from)f(0)h(to)0 1315 y(2)p Fd(\031)q +FA(.)k(Almost)10 b(ev)o(ery)g(other)f(programming)i(language)h(\(ANSI)c +(F)m(ortran,)j(IBM)e(PL/1,)h(In)o(terlisp\))0 1361 y(has)16 +b(a)f(t)o(w)o(o-argumen)o(t)g(arc)g(tangen)o(t)h(function)g(with)g +(range)g Ff(\000)p Fd(\031)g FA(to)f Fd(\031)q FA(.)23 +b(Lisp)16 b(Mac)o(hine)h(Lisp)0 1406 y(pro)o(vides)e(t)o(w)o(o)d(t)o(w) +o(o-argumen)o(t)h(arc)g(tangen)o(t)h(functions,)g Fj(atan)d +FA(\(compatible)k(with)e(MacLisp\))0 1452 y(and)h Fj(atan2)d +FA(\(compatible)k(with)e(all)i(others\).)42 1498 y(Common)k(Lisp)h(mak) +o(es)f(t)o(w)o(o-argumen)o(t)g Fj(atan)e FA(the)i(standard)i(one)e +(with)g(range)h Ff(\000)p Fd(\031)g FA(to)0 1543 y Fd(\031)q +FA(.)j(Observ)o(e)16 b(that)f(this)h(mak)o(es)g(the)f(one-argumen)o(t)i +(and)e(t)o(w)o(o-argumen)o(t)h(v)o(ersions)g(of)f Fj(atan)0 +1589 y FA(compatible)k(in)e(the)f(sense)h(that)g(the)f(branc)o(h)i +(cuts)e(do)h(not)g(fall)g(in)g(di\013eren)o(t)h(places.)29 +b(The)0 1635 y(In)o(terlisp)14 b(one-argumen)o(t)g(function)g +Fj(arctan)c FA(has)j(a)f(range)h(from)f(0)h(to)f Fd(\031)q +FA(,)h(while)g(nearly)h(ev)o(ery)0 1680 y(other)f(programming)i +(language)f(pro)o(vides)h(the)e(range)g Ff(\000)p Fd(\031)q(=)p +FA(2)g(to)g Fd(\031)q(=)p FA(2)g(for)g(one-argumen)o(t)g(arc)0 +1726 y(tangen)o(t!)k(Nev)o(ertheless,)c(since)f(In)o(terlisp)h(uses)f +(the)f(standard)i(t)o(w)o(o-argumen)o(t)f(v)o(ersion)g(of)f(arc)0 +1772 y(tangen)o(t,)i(its)h(branc)o(h)g(cuts)f(are)g(inconsisten)o(t)j +(an)o(yw)o(a)o(y)m(.)p 0 1808 V 1204 1922 a Fw([)p Fv(Constant)t +Fw(])-1395 b Fs(pi)0 1999 y Fw(This)15 b(global)e(v)n(ariable)h(has)h +(as)g(its)g(v)n(alue)f(the)i(b)q(est)g(p)q(ossible)f(appro)o(ximation)d +(to)j Fh(\031)h Fw(in)0 2051 y Fv(long)e Fw(\015oating-p)q(oin)o(t)e +(format.)17 b(F)m(or)c(example:)0 2138 y Fs(\(defun)20 +b(sind)g(\(x\))106 b(;)p Fw(The)14 b(argumen)o(t)e(is)i(in)g(degrees)42 +2190 y Fs(\(sin)21 b(\(*)f(x)h(\(/)g(\(float)f(pi)h(x\))g(180\)\)\)\))0 +2277 y Fw(An)c(appro)o(ximation)d(to)j Fh(\031)h Fw(in)e(some)g(other)h +(precision)h(can)f(b)q(e)g(obtained)g(b)o(y)g(writing)0 +2329 y Fs(\(float)j(pi)h Fv(x)p Fs(\))p Fw(,)d(where)h +Fv(x)g Fw(is)e(a)h(\015oating-p)q(oin)o(t)e(n)o(um)o(b)q(er)i(of)f(the) +i(desired)g(precision,)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 330 354 +330 353 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(330)77 b(COMMON)13 +b(LISP)0 295 y Fw(or)h(b)o(y)g(writing)g Fs(\(coerce)19 +b(pi)i Fv(typ)n(e)p Fs(\))p Fw(,)14 b(where)h Fv(typ)n(e)g +Fw(is)f(the)h(name)e(of)g(the)i(desired)h(t)o(yp)q(e,)0 +347 y(suc)o(h)f(as)f Fs(short-float)p Fw(.)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 331 355 +331 354 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(331)1209 +295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(sinh)20 +b Fv(numb)n(er)1209 347 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(cosh)20 b Fv(numb)n(er)1209 399 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(tanh)20 b Fv(numb)n(er)1209 450 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(asinh)20 b Fv(numb)n(er)1209 +502 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(acosh)20 +b Fv(numb)n(er)1209 554 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(atanh)20 b Fv(numb)n(er)0 633 y Fw(These)f(functions)f(compute)f +(the)h(h)o(yp)q(erb)q(olic)g(sine,)h(cosine,)f(tangen)o(t,)h(arc)f +(sine,)g(arc)-38 608 y Fk(.)-38 621 y(.)-38 634 y(.)-38 +647 y(.)-38 660 y(.)-38 673 y(.)-38 686 y(.)-38 699 y(.)-38 +712 y(.)-38 725 y(.)-38 738 y(.)-38 751 y(.)-38 764 y(.)-38 +777 y(.)-38 790 y(.)-38 803 y(.)-38 816 y(.)-38 829 y(.)-38 +842 y(.)-38 855 y(.)-38 868 y(.)-38 881 y(.)-38 894 y(.)-38 +906 y(.)-38 919 y(.)-38 932 y(.)-38 945 y(.)-38 958 y(.)-38 +971 y(.)-38 984 y(.)-38 997 y(.)-38 1010 y(.)-38 1023 +y(.)-38 1036 y(.)-38 1049 y(.)-38 1062 y(.)-38 1075 y(.)-38 +1088 y(.)-38 1101 y(.)-38 1114 y(.)-38 1127 y(.)-38 1140 +y(.)-38 1153 y(.)-38 1166 y(.)-38 1179 y(.)-38 1192 y(.)-38 +1205 y(.)-38 1218 y(.)-38 1231 y(.)-38 1244 y(.)-38 1257 +y(.)-38 1270 y(.)-38 1283 y(.)-38 1296 y(.)-38 1309 y(.)-38 +1322 y(.)-38 1335 y(.)-38 1348 y(.)-38 1361 y(.)-38 1373 +y(.)-38 1386 y(.)-38 1399 y(.)-38 1412 y(.)-38 1425 y(.)-38 +1438 y(.)-38 1451 y(.)-38 1464 y(.)-38 1477 y(.)-38 1490 +y(.)-38 1503 y(.)-38 1516 y(.)-38 1529 y(.)-38 1542 y(.)-38 +1555 y(.)-38 1568 y(.)-38 1581 y(.)-38 1594 y(.)-38 1607 +y(.)-38 1620 y(.)-38 1633 y(.)-38 1646 y(.)-38 1659 y(.)-38 +1672 y(.)-38 1685 y(.)-38 1698 y(.)-38 1711 y(.)-38 1724 +y(.)-38 1737 y(.)-38 1750 y(.)-38 1763 y(.)-38 1776 y(.)-38 +1789 y(.)-38 1802 y(.)-38 1815 y(.)-38 1828 y(.)-38 1840 +y(.)-38 1853 y(.)-38 1866 y(.)-38 1879 y(.)-38 1892 y(.)-38 +1905 y(.)-38 1918 y(.)-38 1931 y(.)-38 1944 y(.)-38 1957 +y(.)-38 1970 y(.)-38 1983 y(.)-38 1996 y(.)-38 2009 y(.)-38 +2022 y(.)-38 2035 y(.)-38 2048 y(.)-38 2061 y(.)-38 2074 +y(.)-38 2087 y(.)-38 2100 y(.)-38 2113 y(.)-38 2126 y(.)-38 +2139 y(.)-38 2152 y(.)-38 2165 y(.)-38 2178 y(.)-38 2191 +y(.)-38 2204 y(.)-38 2217 y(.)-38 2230 y(.)-38 2243 y(.)-38 +2256 y(.)-38 2269 y(.)-38 2282 y(.)-38 2295 y(.)-38 2307 +y(.)-38 2320 y(.)-38 2333 y(.)-38 2346 y(.)-38 2359 y(.)-38 +2372 y(.)-38 2385 y(.)-38 2398 y(.)-38 2411 y(.)-38 2424 +y(.)-38 2437 y(.)-38 2450 y(.)-38 2463 y(.)-38 2476 y(.)-38 +2489 y(.)-38 2502 y(.)-38 2515 y(.)-38 2528 y(.)-38 2541 +y(.)-38 2554 y(.)-38 2567 y(.)-38 2580 y(.)-38 2593 y(.)-38 +2606 y(.)-38 2619 y(.)-38 2632 y(.)-38 2645 y(.)-38 2658 +y(.)-38 2671 y(.)-38 2684 y(.)-38 2697 y(.)-38 2710 y(.)-38 +2723 y(.)-38 2736 y(.)-38 2749 y(.)-38 2761 y(.)-38 2774 +y(.)-38 2787 y(.)-38 2800 y(.)-38 2813 y(.)-38 2826 y(.)-38 +2839 y(.)-38 2852 y(.)-38 2865 y(.)-38 2878 y(.)-38 2891 +y(.)-38 2904 y(.)-38 2917 y(.)-38 2930 y(.)-38 2943 y(.)-38 +2956 y(.)-38 2969 y(.)-38 2982 y(.)-38 2995 y(.)-38 3008 +y(.)-38 3021 y(.)-38 3034 y(.)-38 3047 y(.)-38 3060 y(.)-38 +3073 y(.)-38 3086 y(.)-38 3099 y(.)-38 3112 y(.)-38 3125 +y(.)-38 3138 y(.)-38 3151 y(.)-38 3164 y(.)-38 3177 y(.)-38 +3190 y(.)0 685 y Fw(cosine,)g(and)g(arc)f(tangen)o(t)h(functions,)g +(whic)o(h)f(are)h(mathematicall)o(y)c(de\014ned)19 b(for)e(an)0 +737 y(argumen)o(t)c Fv(z)h Fw(as)g(follo)o(ws:)0 833 +y(Hyp)q(erb)q(olic)g(sine)217 b(\()p Fv(e)536 818 y Fi(z)562 +833 y Ft(\000)9 b Fv(e)625 818 y Fl(\000)p Fi(z)668 833 +y Fw(\))p Fh(=)p Fw(2)0 885 y(Hyp)q(erb)q(olic)14 b(cosine)178 +b(\()p Fv(e)536 870 y Fi(z)562 885 y Fw(+)9 b Fv(e)625 +870 y Fl(\000)p Fi(z)668 885 y Fw(\))p Fh(=)p Fw(2)0 +937 y(Hyp)q(erb)q(olic)14 b(tangen)o(t)149 b(\()p Fv(e)536 +922 y Fi(z)562 937 y Ft(\000)9 b Fv(e)625 922 y Fl(\000)p +Fi(z)668 937 y Fw(\))p Fh(=)p Fw(\()p Fv(e)743 922 y +Fi(z)768 937 y Fw(+)h Fv(e)832 922 y Fl(\000)p Fi(z)874 +937 y Fw(\))0 998 y(Hyp)q(erb)q(olic)k(arc)h(sine)147 +b(log)559 965 y Fe(\000)578 998 y Fv(z)14 b Fw(+)651 +964 y Ft(p)p 685 964 113 2 v 685 998 a Fw(1)9 b(+)h Fv(z)779 +986 y Fk(2)797 965 y Fe(\001)0 1070 y Fw(Hyp)q(erb)q(olic)k(arc)h +(cosine)108 b(log)559 1024 y Fe(\020)583 1070 y Fv(z)15 +b Fw(+)9 b(\()p Fv(z)15 b Fw(+)9 b(1\))782 1035 y Fe(p)p +824 1035 273 2 v 35 x Fw(\()p Fv(z)14 b Ft(\000)c Fw(1\))p +Fh(=)p Fw(\()p Fv(z)k Fw(+)9 b(1\))1096 1024 y Fe(\021)0 +1153 y Fw(Hyp)q(erb)q(olic)14 b(arc)h(tangen)o(t)79 b(log)559 +1107 y Fe(\020)583 1153 y Fw(\(1)10 b(+)f Fv(z)c Fw(\))709 +1118 y Fe(p)p 751 1118 154 2 v 35 x Fw(1)k Ft(\000)g +Fw(1)p Fh(=)p Fv(z)886 1141 y Fk(2)905 1107 y Fe(\021)1186 +1153 y Fz(WR)o(ONG!)-33 1180 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1259 a Fw(W)-5 b(ARNING!)14 b Fv(The)i(formula)f(shown) +i(ab)n(ove)g(for)e(hyp)n(erb)n(olic)h(ar)n(c)g(tangent)g(is)g(inc)n +(or-)-33 1231 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1311 a(r)n(e)n(ct.)k Fw(It)15 b(is)f(not)h(a)f(matter)g +(of)g(incorrect)i(branc)o(h)g(cuts;)f(it)g(simply)d(do)q(es)k(not)e +(compute)0 1363 y(an)o(ything)d(lik)o(e)g(a)g(h)o(yp)q(erb)q(olic)h +(arc)g(tangen)o(t.)18 b(This)11 b(unfortunate)h(error)h(in)e(the)h +(\014rst)h(edi-)0 1415 y(tion)e(w)o(as)g(the)i(result)f(of)f +(mistranscribing)f(a)h(\(correct\))j(APL)d(form)o(ula)e(from)h(P)o +(en\014eld's)0 1467 y(pap)q(er)15 b([36)o(].)i(The)d(form)o(ula)e +(should)h(ha)o(v)o(e)h(b)q(een)h(transcrib)q(ed)h(as)0 +1569 y(Hyp)q(erb)q(olic)e(arc)h(tangen)o(t)79 b(log)559 +1523 y Fe(\020)583 1569 y Fw(\(1)10 b(+)f Fv(z)c Fw(\))709 +1534 y Fe(p)p 751 1534 186 2 v 35 x Fw(1)p Fh(=)p Fw(\(1)j +Ft(\000)i Fv(z)902 1557 y Fk(2)921 1569 y Fw(\))937 1523 +y Fe(\021)0 1672 y Fw(A)g(prop)q(osal)g(w)o(as)g(submitted)g(to)g +(X3J13)g(in)g(Septem)o(b)q(er)h(1989)e(to)h(replace)h(the)g(form)o +(ulae)0 1724 y(for)j Fs(acosh)e Fw(and)i Fs(atanh)p Fw(.)j(See)e +(section)f(12.5.3)e(for)i(further)h(discussion.)-33 1736 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1777 a(Note)f(that)h(the)f(result)h(of)f +Fs(acosh)f Fw(ma)o(y)g(b)q(e)h(complex)f(ev)o(en)i(if)f(the)h(argumen)o +(t)e(is)h(not)0 1829 y(complex;)j(this)h(o)q(ccurs)g(when)g(the)g +(argumen)o(t)e(is)i(less)g(than)f(1.)28 b(Also,)17 b(the)h(result)g(of) +0 1881 y Fs(atanh)11 b Fw(ma)o(y)g(b)q(e)h(complex)f(ev)o(en)i(if)f +(the)h(argumen)o(t)e(is)h(not)g(complex;)f(this)h(o)q(ccurs)i(when)0 +1933 y(the)g(absolute)g(v)n(alue)g(of)f(the)h(argumen)o(t)f(is)h +(greater)h(than)f(1.)p 0 1992 598 2 v 0 2054 a Fm(Implemen)o(tation)8 +b(note:)15 b FA(These)9 b(form)o(ulae)h(are)f(mathematically)j +(correct,)d(assuming)i(com-)0 2099 y(pletely)21 b(accurate)f +(computation.)37 b(They)20 b(ma)o(y)f(b)q(e)h(terrible)h(metho)q(ds)f +(for)f(\015oating-p)q(oin)o(t)0 2145 y(computation.)g(Implemen)o(tors) +14 b(should)h(consult)f(a)f(go)q(o)q(d)h(text)f(on)g(n)o(umerical)i +(analysis.)20 b(The)0 2191 y(form)o(ulae)c(giv)o(en)h(ab)q(o)o(v)o(e)f +(are)f(not)h(necessarily)h(the)f(simplest)h(ones)f(for)e(real-v)n +(alued)k(compu-)0 2236 y(tations,)e(either;)f(they)g(are)g(c)o(hosen)g +(to)f(de\014ne)h(the)g(branc)o(h)g(cuts)g(in)g(desirable)i(w)o(a)o(ys)d +(for)g(the)0 2282 y(complex)g(case.)p 0 2329 V -33 2344 +a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 332 356 +332 355 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(332)77 b(COMMON)13 +b(LISP)0 295 y Fo(12.5.3.)20 b(Branc)n(h)11 b(Cuts,)g(Principal)e(V)-5 +b(alues,)11 b(and)f(Boundary)g(Con-)180 353 y(ditions)k(in)h(the)f +(Complex)f(Plane)0 448 y Fw(Man)o(y)j(of)g(the)h(irrational)e(and)i +(transcenden)o(tal)g(functions)g(are)g(m)o(ultiply)d(de\014ned)j(in)0 +500 y(the)f(complex)d(domain;)g(for)i(example,)e(there)j(are)g(in)e +(general)i(an)e(in\014nite)h(n)o(um)o(b)q(er)f(of)0 552 +y(complex)c(v)n(alues)g(for)h(the)g(logarithm)d(function.)17 +b(In)11 b(eac)o(h)g(suc)o(h)h(case,)g(a)e(principal)g(v)n(alue)0 +604 y(m)o(ust)j(b)q(e)i(c)o(hosen)h(for)e(the)h(function)f(to)g +(return.)21 b(In)15 b(general,)f(suc)o(h)h(v)n(alues)f(cannot)h(b)q(e)0 +656 y(c)o(hosen)g(so)e(as)h(to)g(mak)o(e)e(the)i(range)g(con)o(tin)o +(uous;)f(lines)h(in)f(the)i(domain)c(called)i Fv(br)n(anch)0 +708 y(cuts)h Fw(m)o(ust)f(b)q(e)h(de\014ned,)h(whic)o(h)f(in)f(turn)h +(de\014ne)h(the)g(discon)o(tin)o(uities)e(in)h(the)g(range.)42 +760 y(Comm)o(on)c(Lisp)i(de\014nes)j(the)e(branc)o(h)g(cuts,)g +(principal)f(v)n(alues,)g(and)h(b)q(oundary)g(con-)0 +812 y(ditions)i(for)f(the)i(complex)e(functions)h(follo)o(wing)e(a)i +(prop)q(osal)g(for)g(complex)f(functions)0 864 y(in)19 +b(APL)h([36)o(].)34 b(The)19 b(con)o(ten)o(ts)i(of)e(this)g(section)h +(are)g(b)q(orro)o(w)o(ed)g(largely)e(from)g(that)0 916 +y(prop)q(osal.)p 0 976 V 0 1037 a Fm(Compatibilit)o(y)13 +b(note:)19 b FA(The)13 b(branc)o(h)i(cuts)f(de\014ned)h(here)f +(di\013er)i(in)e(a)g(few)f(v)o(ery)h(minor)h(re-)0 1082 +y(sp)q(ects)c(from)f(those)g(adv)n(anced)i(b)o(y)e(W.)g(Kahan,)h(who)f +(considers)i(not)f(only)g(the)f(\\usual")i(de\014ni-)0 +1128 y(tions)i(but)g(also)g(the)g(sp)q(ecial)h(mo)q(di\014cations)h +(necessary)f(for)e(IEEE)g(prop)q(osed)i(\015oating-p)q(oin)o(t)0 +1174 y(arithmetic,)j(whic)o(h)f(has)f(in\014nities)j(and)e(min)o(us)g +(zero)f(as)g(explicit)j(computational)f(ob)r(jects.)0 +1219 y(F)m(or)13 b(example,)h(he)f(prop)q(oses)h(that)522 +1190 y Ff(p)p 554 1190 131 2 v 29 x(\000)p FA(4)8 b(+)h(0)p +Fq(i)14 b FA(=)d(2)p Fq(i)t FA(,)h(but)864 1190 y Ff(p)p +896 1190 V 29 x(\000)p FA(4)d Ff(\000)f FA(0)p Fq(i)14 +b FA(=)d Ff(\000)p FA(2)p Fq(i)t FA(.)42 1266 y(It)i(ma)o(y)h(b)q(e)h +(that)f(the)g(di\013erences)i(b)q(et)o(w)o(een)e(the)h(APL)e(prop)q +(osal)j(and)f(Kahan's)g(prop)q(osal)0 1311 y(will)10 +b(b)q(e)f(ironed)i(out.)16 b(If)8 b(so,)h(Common)g(Lisp)h(ma)o(y)f(b)q +(e)g(c)o(hanged)h(as)f(necessary)h(to)f(b)q(e)g(compatible)0 +1357 y(with)14 b(these)g(other)g(groups.)20 b(An)o(y)13 +b(c)o(hanges)i(from)e(the)h(sp)q(eci\014cation)j(b)q(elo)o(w)d(are)g +(lik)o(ely)i(to)d(b)q(e)0 1403 y(quite)h(minor,)g(probably)h +(concerning)g(primarily)h(questions)f(of)e(whic)o(h)g(side)i(of)d(a)h +(branc)o(h)h(cut)0 1448 y(is)g(con)o(tin)o(uous)h(with)e(the)g(cut)h +(itself.)p 0 1484 598 2 v 42 1601 a Fw(Indeed,)d(X3J13)e(v)o(oted)h(in) +f(Jan)o(uary)h(1989)e Ft(h)p Fw(28)p Ft(i)i Fw(to)f(alter)h(the)h +(direction)e(of)h(con)o(tin)o(uit)o(y)-33 1572 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1653 a(for)h(the)h(branc)o(h)h(cuts)f(of)f +Fs(atan)p Fw(,)g(and)g(also)g Ft(h)p Fw(101)p Ft(i)g +Fw(to)h(address)h(the)f(treatmen)o(t)f(of)g(branc)o(h)0 +1705 y(cuts)k(in)e(implemen)o(tations)e(that)j(ha)o(v)o(e)g(a)f +(distinct)h(\015oating-p)q(oin)o(t)f(min)o(us)f(zero.)42 +1757 y(The)j(treatmen)o(t)g(of)f(min)o(us)g(zero)i(cen)o(ters)h(in)d(t) +o(w)o(o-argumen)o(t)f Fs(atan)p Fw(.)21 b(If)15 b(there)h(is)f(no)0 +1809 y(min)o(us)j(zero,)i(then)g(the)g(branc)o(h)f(cut)h(runs)g(just)f +(b)q(elo)o(w)g(the)h(negativ)o(e)f(real)g(axis)g(as)0 +1861 y(b)q(efore,)f(and)f(the)h(range)f(of)g(t)o(w)o(o-argumen)o(t)e +Fs(atan)h Fw(is)h(\()p Ft(\000)p Fh(\031)q(;)7 b(\031)q +Fw(].)27 b(If)17 b(there)i(is)e(a)f(min)o(us)0 1913 y(zero,)h(ho)o(w)o +(ev)o(er,)g(then)g(the)g(branc)o(h)g(cut)g(runs)g(precisely)h(on)e(the) +h(negativ)o(e)f(real)h(axis,)0 1965 y(skittering)g(b)q(et)o(w)o(een)i +(pairs)e(of)g(n)o(um)o(b)q(ers)g(of)f(the)i(form)e Ft(\000)p +Fv(x)h Ft(\006)12 b Fw(0)p Fv(i)t Fw(,)17 b(and)g(the)h(range)f(of)0 +2017 y(t)o(w)o(o-argumen)o(t)12 b Fs(atan)h Fw(is)h([)p +Ft(\000)p Fh(\031)q(;)7 b(\031)q Fw(].)42 2069 y(The)j(treatmen)o(t)h +(of)f(min)o(us)f(zero)i(b)o(y)f(all)f(other)i(irrational)f(and)g +(transcenden)o(tal)i(func-)0 2121 y(tions)k(is)g(then)h(sp)q(eci\014ed) +h(b)o(y)e(de\014ning)g(those)h(functions)f(in)g(terms)g(of)f(t)o(w)o +(o-argumen)o(t)0 2173 y Fs(atan)p Fw(.)26 b(First,)17 +b Fs(phase)f Fw(is)h(de\014ned)h(in)e(terms)h(of)f(t)o(w)o(o-argumen)o +(t)f Fs(atan)p Fw(,)h(and)h(complex)0 2225 y Fs(abs)g +Fw(in)h(terms)f(of)h(real)f Fs(sqrt)p Fw(;)i(then)f(complex)f +Fs(log)g Fw(is)h(de\014ned)h(in)e(terms)h(of)f Fs(phase)p +Fw(,)0 2277 y Fs(abs)p Fw(,)11 b(and)i(real)f Fs(log)p +Fw(;)f(then)i(complex)e Fs(sqrt)h Fw(in)f(terms)i(of)e(complex)g +Fs(log)p Fw(;)h(and)g(\014nally)f(all)0 2329 y(others)k(are)f +(de\014ned)h(in)f(terms)f(of)h(these.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 333 357 +333 356 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(333)42 +295 y Fw(Kahan)17 b([25)o(])g(treats)i(these)f(matters)g(in)f(some)f +(detail)h(and)h(also)e(suggests)j(sp)q(eci\014c)0 347 +y(algorithms)11 b(for)j(implem)o(en)o(ting)d(irrational)h(and)h +(transcenden)o(tal)i(functions)f(in)f(IEEE)0 399 y(standard)h +(\015oating-p)q(oin)o(t)f(arithmetic)f([23)o(].)42 451 +y(Remarks)f(in)i(the)g(\014rst)h(edition)e(ab)q(out)h(the)g(direction)g +(of)g(the)g(con)o(tin)o(uit)o(y)f(of)g(branc)o(h)0 503 +y(cuts)f(con)o(tin)o(ue)g(to)f(hold)g(in)g(the)h(absence)h(of)e(min)o +(us)f(zero)i(and)g(ma)o(y)d(b)q(e)j(ignored)g(if)e(min)o(us)0 +555 y(zero)19 b(is)g(supp)q(orted;)j(since)d(all)f(branc)o(h)h(cuts)g +(happ)q(en)g(to)g(run)g(along)e(the)j(principal)0 607 +y(axes,)c(they)g(run)f Fv(b)n(etwe)n(en)h Fw(plus)f(zero)h(and)f(min)o +(us)f(zero,)i(and)g(so)f(eac)o(h)h(sort)g(of)f(zero)h(is)0 +659 y(asso)q(ciated)f(with)e(the)i(ob)o(vious)e(quadran)o(t.)-33 +670 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 767 a Fs(sqrt)0 830 y Fw(The)k(branc)o(h)f(cut)h(for)f +(square)h(ro)q(ot)g(lies)f(along)f(the)i(negativ)o(e)f(real)g(axis,)g +(con)o(tin)o(uous)0 882 y(with)i(quadran)o(t)h(I)q(I.)f(The)h(range)g +(consists)h(of)e(the)h(righ)o(t)f(half-plane,)g(including)g(the)0 +934 y(non-negativ)o(e)13 b(imaginary)e(axis)j(and)g(excluding)f(the)i +(negativ)o(e)e(imaginary)e(axis.)42 986 y(X3J13)19 b(v)o(oted)g(in)h +(Jan)o(uary)f(1989)g Ft(h)p Fw(101)p Ft(i)g Fw(to)g(sp)q(ecify)h +(certain)g(\015oating-p)q(oin)o(t)e(b)q(e-)-33 958 y +@beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1038 a(ha)o(vior)e(when)h(min)o(us)e(zero)i(is)g(supp)q +(orted.)27 b(As)17 b(a)f(part)h(of)f(that)h(v)o(ote)f(it)g(appro)o(v)o +(ed)h(a)0 1090 y(mathematical)11 b(de\014nition)i(of)g(complex)g +(square)i(ro)q(ot:)0 1168 y Ft(p)p 35 1168 23 2 v 30 +x Fv(z)h Fw(=)c Fv(e)134 1183 y Fk(\(log)6 b Fi(z)p Fk(\))p +Fg(=)p Fk(2)0 1306 y Fw(This)18 b(de\014nes)h(the)g(branc)o(h)g(cuts)g +(precisely)m(,)g(whether)g(min)o(us)e(zero)h(is)g(supp)q(orted)i(or)0 +1358 y(not.)-33 1369 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1465 a Fs(phase)0 1528 y Fw(The)c(branc)o(h)f(cut)h(for) +f(the)h(phase)f(function)g(lies)g(along)f(the)i(negativ)o(e)f(real)g +(axis,)g(con-)0 1580 y(tin)o(uous)g(with)f(quadran)o(t)h(I)q(I.)g(The)g +(range)g(consists)h(of)f(that)g(p)q(ortion)f(of)h(the)g(real)g(axis)0 +1632 y(b)q(et)o(w)o(een)g Ft(\000)p Fh(\031)h Fw(\(exclusiv)o(e\))e +(and)g Fh(\031)h Fw(\(inclusiv)o(e\).)42 1685 y(X3J13)k(v)o(oted)g(in)h +(Jan)o(uary)f(1989)g Ft(h)p Fw(101)p Ft(i)g Fw(to)g(sp)q(ecify)h +(certain)g(\015oating-p)q(oin)o(t)e(b)q(e-)-33 1656 y +@beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1737 a(ha)o(vior)e(when)h(min)o(us)e(zero)i(is)g(supp)q +(orted.)27 b(As)17 b(a)f(part)h(of)f(that)h(v)o(ote)f(it)g(appro)o(v)o +(ed)h(a)0 1788 y(mathematical)11 b(de\014nition)i(of)g(phase:)0 +1897 y(phase)8 b Fv(z)16 b Fw(=)c(arctan\()p Ft(=)p Fv(z)5 +b Fh(;)i Ft(<)p Fv(z)e Fw(\))0 2004 y(where)16 b Ft(=)p +Fv(z)k Fw(is)15 b(the)h(imaginary)c(part)j(of)g Fv(z)20 +b Fw(and)15 b Ft(<)p Fv(z)20 b Fw(the)c(real)f(part)g(of)g +Fv(z)5 b Fw(.)21 b(This)15 b(de\014nes)0 2056 y(the)f(branc)o(h)h(cuts) +g(precisely)m(,)f(whether)h(min)o(us)d(zero)j(is)f(supp)q(orted)h(or)f +(not.)-33 2068 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2164 a Fs(log)0 2225 y Fw(The)c(branc)o(h)g(cut)g(for)f +(the)h(logarithm)d(function)i(of)g(one)h(argumen)o(t)e(\(natural)h +(logarithm\))0 2277 y(lies)18 b(along)e(the)j(negativ)o(e)f(real)f +(axis,)h(con)o(tin)o(uous)g(with)g(quadran)o(t)f(I)q(I.)h(The)g(domain) +0 2329 y(excludes)d(the)g(origin.)h(F)m(or)e(a)g(complex)e(n)o(um)o(b)q +(er)h Fv(z)5 b Fw(,)14 b(log)6 b Fv(z)19 b Fw(is)14 b(de\014ned)h(to)f +(b)q(e)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 334 358 +334 357 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(334)77 b(COMMON)13 +b(LISP)0 295 y Fw(log)7 b Fv(z)16 b Fw(=)c(\(log)7 b +Ft(j)o Fv(z)e Ft(j)p Fw(\))k(+)h Fv(i)t Fw(\(phase)d +Fv(z)e Fw(\))0 398 y(Therefore)18 b(the)f(range)f(of)g(the)h +(one-argumen)o(t)e(logarithm)f(function)i(is)g(that)h(strip)f(of)0 +450 y(the)d(complex)e(plane)h(con)o(taining)f(n)o(um)o(b)q(ers)h(with)f +(imaginary)f(parts)i(b)q(et)o(w)o(een)i Ft(\000)p Fh(\031)f +Fw(\(ex-)0 501 y(clusiv)o(e\))h(and)g Fh(\031)h Fw(\(inclusiv)o(e\).)42 +553 y(The)h(X3J13)h(v)o(ote)f(on)g(min)o(us)f(zero)i +Ft(h)p Fw(101)p Ft(i)f Fw(w)o(ould)g(alter)g(that)h(exclusiv)o(e)g(b)q +(ound)f(of)-33 525 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 605 a Ft(\000)p Fh(\031)f Fw(to)f(b)q(e)h(inclusiv)o(e)e +(if)g(min)o(us)f(zero)j(is)f(supp)q(orted.)-33 617 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 657 a(The)g(t)o(w)o(o-argumen)o(t)e(logarithm)f +(function)i(is)h(de\014ned)g(as)g(log)1031 668 y Fi(b)1056 +657 y Fv(z)i Fw(=)c(\(log)7 b Fv(z)e Fw(\))p Fh(=)p Fw(\(log)h +Fv(b)s Fw(\).)0 709 y(This)18 b(de\014nes)h(the)f(principal)f(v)n +(alues)g(precisely)m(.)30 b(The)18 b(range)g(of)f(the)h(t)o(w)o +(o-argumen)o(t)0 761 y(logarithm)11 b(function)i(is)g(the)i(en)o(tire)f +(complex)e(plane.)18 b(It)13 b(is)h(an)f(error)h(if)f +Fv(z)18 b Fw(is)c(zero.)19 b(If)13 b Fv(z)0 813 y Fw(is)h(non-zero)g +(and)g Fv(b)i Fw(is)e(zero,)g(the)h(logarithm)c(is)j(tak)o(en)g(to)g(b) +q(e)g(zero.)0 916 y Fs(exp)0 979 y Fw(The)g(simple)f(exp)q(onen)o(tial) +g(function)h(has)g(no)g(branc)o(h)g(cut.)0 1082 y Fs(expt)0 +1151 y Fw(The)d(t)o(w)o(o-argumen)o(t)e(exp)q(onen)o(tial)h(function)g +(is)h(de\014ned)g(as)g Fv(b)969 1136 y Fi(x)998 1151 +y Fw(=)h Fv(e)1064 1136 y Fi(x)6 b Fk(log)f Fi(b)1152 +1151 y Fw(.)17 b(This)10 b(de\014nes)0 1203 y(the)19 +b(principal)f(v)n(alues)h(precisely)m(.)33 b(The)19 b(range)g(of)g(the) +g(t)o(w)o(o-argumen)o(t)e(exp)q(onen)o(tial)0 1255 y(function)h(is)g +(the)h(en)o(tire)g(complex)e(plane.)31 b(Regarded)18 +b(as)h(a)e(function)h(of)g Fv(x)5 b Fw(,)19 b(with)f +Fv(b)0 1307 y Fw(\014xed,)j(there)g(is)f(no)f(branc)o(h)i(cut.)36 +b(Regarded)20 b(as)g(a)f(function)g(of)h Fv(b)p Fw(,)g(with)g +Fv(x)25 b Fw(\014xed,)0 1359 y(there)15 b(is)f(in)g(general)g(a)f +(branc)o(h)i(cut)f(along)f(the)i(negativ)o(e)e(real)h(axis,)f(con)o +(tin)o(uous)h(with)0 1411 y(quadran)o(t)g(I)q(I.)g(The)h(domain)d +(excludes)k(the)f(origin.)j(By)d(de\014nition,)f(0)1126 +1396 y Fk(0)1156 1411 y Fw(=)f(1.)19 b(If)14 b Fv(b)h +Fw(=)e(0)0 1463 y(and)h(the)g(real)g(part)g(of)f Fv(x)19 +b Fw(is)14 b(strictly)g(p)q(ositiv)o(e,)f(then)i Fv(b)874 +1448 y Fi(x)903 1463 y Fw(=)d(0.)17 b(F)m(or)d(all)e(other)j(v)n(alues) +e(of)0 1515 y Fv(x)5 b Fw(,)14 b(0)71 1500 y Fi(x)102 +1515 y Fw(is)g(an)g(error.)0 1618 y Fs(asin)0 1677 y +Fw(The)g(follo)o(wing)e(de\014nition)h(for)h(arc)g(sine)g(determines)g +(the)h(range)f(and)g(branc)o(h)g(cuts:)0 1780 y(arcsin)7 +b Fv(z)17 b Fw(=)12 b Ft(\000)p Fv(i)f Fw(log)307 1746 +y Fe(\000)326 1780 y Fv(iz)k Fw(+)412 1745 y Ft(p)p 447 +1745 113 2 v 35 x Fw(1)9 b Ft(\000)g Fv(z)540 1768 y +Fk(2)559 1746 y Fe(\001)0 1883 y Fw(This)14 b(is)g(equiv)n(alen)o(t)f +(to)g(the)i(form)o(ula)-33 1854 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2006 a(arcsin)7 b Fv(z)17 b Fw(=)196 1978 +y(arcsinh)7 b Fv(iz)p 196 1997 172 2 v 273 2035 a(i)0 +2121 y Fw(recommended)13 b(b)o(y)h(Kahan)f([25)o(].)-33 +2133 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2173 a(The)18 b(branc)o(h)g(cut)h(for)e(the)i(arc)f +(sine)g(function)g(is)f(in)h(t)o(w)o(o)f(pieces:)27 b(one)18 +b(along)f(the)0 2225 y(negativ)o(e)f(real)f(axis)g(to)h(the)g(left)f +(of)h Ft(\000)p Fw(1)f(\(inclusiv)o(e\),)h(con)o(tin)o(uous)f(with)h +(quadran)o(t)f(I)q(I,)0 2277 y(and)h(one)g(along)e(the)j(p)q(ositiv)o +(e)e(real)h(axis)g(to)f(the)i(righ)o(t)e(of)g(1)h(\(inclusiv)o(e\),)g +(con)o(tin)o(uous)0 2329 y(with)h(quadran)o(t)h(IV.)f(The)h(range)f(is) +h(that)f(strip)h(of)f(the)h(complex)e(plane)i(con)o(taining)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 335 359 +335 358 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(335)0 +295 y Fw(n)o(um)o(b)q(ers)13 b(whose)h(real)f(part)h(is)f(b)q(et)o(w)o +(een)i Ft(\000)p Fh(\031)q(=)p Fw(2)e(and)h Fh(\031)q(=)p +Fw(2.)j(A)c(n)o(um)o(b)q(er)g(with)g(real)h(part)0 347 +y(equal)e(to)g Ft(\000)p Fh(\031)q(=)p Fw(2)g(is)f(in)h(the)h(range)f +(if)f(and)h(only)f(if)g(its)h(imaginary)e(part)i(is)g(non-negativ)o(e;) +0 399 y(a)e(n)o(um)o(b)q(er)g(with)g(real)g(part)h(equal)f(to)g +Fh(\031)q(=)p Fw(2)g(is)h(in)e(the)j(range)e(if)g(and)g(only)g(if)f +(its)i(imaginary)0 450 y(part)j(is)g(non-p)q(ositiv)o(e.)0 +552 y Fs(acos)0 611 y Fw(The)g(follo)o(wing)d(de\014nition)i(for)g(arc) +h(cosine)g(determines)g(the)g(range)g(and)f(branc)o(h)h(cuts:)0 +714 y(arccos)8 b Fv(z)17 b Fw(=)11 b Ft(\000)p Fv(i)h +Fw(log)312 680 y Fe(\000)331 714 y Fv(z)i Fw(+)c Fv(i)421 +679 y Ft(p)p 455 679 113 2 v 455 714 a Fw(1)f Ft(\000)h +Fv(z)549 702 y Fk(2)568 680 y Fe(\001)0 816 y Fw(or,)j(whic)o(h)h(is)g +(equiv)n(alen)o(t,)0 918 y(arccos)8 b Fv(z)17 b Fw(=)200 +901 y Fg(\031)p 200 908 21 2 v 202 932 a Fk(2)235 918 +y Ft(\000)10 b Fw(arcsin)d Fv(z)0 1020 y Fw(The)18 b(branc)o(h)h(cut)g +(for)e(the)i(arc)f(cosine)h(function)f(is)f(in)h(t)o(w)o(o)g(pieces:)27 +b(one)18 b(along)f(the)0 1072 y(negativ)o(e)f(real)f(axis)g(to)h(the)g +(left)f(of)h Ft(\000)p Fw(1)f(\(inclusiv)o(e\),)h(con)o(tin)o(uous)f +(with)h(quadran)o(t)f(I)q(I,)0 1124 y(and)h(one)g(along)e(the)j(p)q +(ositiv)o(e)e(real)h(axis)g(to)f(the)i(righ)o(t)e(of)g(1)h(\(inclusiv)o +(e\),)g(con)o(tin)o(uous)0 1176 y(with)f(quadran)o(t)g(IV.)f(This)h(is) +g(the)h(same)e(branc)o(h)i(cut)g(as)f(for)f(arc)i(sine.)22 +b(The)16 b(range)f(is)0 1227 y(that)c(strip)g(of)g(the)g(complex)f +(plane)h(con)o(taining)e(n)o(um)o(b)q(ers)i(whose)h(real)e(part)i(is)e +(b)q(et)o(w)o(een)0 1279 y(zero)k(and)f Fh(\031)q Fw(.)18 +b(A)c(n)o(um)o(b)q(er)e(with)h(real)h(part)f(equal)g(to)g(zero)h(is)g +(in)e(the)i(range)g(if)e(and)i(only)0 1331 y(if)e(its)h(imaginary)e +(part)i(is)g(non-negativ)o(e;)g(a)f(n)o(um)o(b)q(er)h(with)g(real)g +(part)g(equal)g(to)g Fh(\031)h Fw(is)f(in)0 1383 y(the)h(range)h(if)e +(and)g(only)g(if)h(its)f(imaginary)e(part)j(is)g(non-p)q(ositiv)o(e.)0 +1485 y Fs(atan)0 1551 y Fw(The)f(follo)o(wing)e(de\014nition)h(for)g +(\(one-argumen)o(t\))h(arc)g(tangen)o(t)g(determines)g(the)g(range)0 +1602 y(and)h(branc)o(h)g(cuts:)0 1752 y(arctan)7 b Fv(z)17 +b Fw(=)12 b Ft(\000)p Fv(i)f Fw(log)316 1706 y Fe(\020)341 +1752 y Fw(\(1)e(+)h Fv(iz)5 b Fw(\))480 1716 y Fe(p)p +521 1716 186 2 v 521 1752 a Fw(1)p Fh(=)p Fw(\(1)k(+)g +Fv(z)672 1740 y Fk(2)691 1752 y Fw(\))707 1706 y Fe(\021)-38 +1788 y Fk(.)-38 1801 y(.)-38 1814 y(.)-38 1827 y(.)-38 +1840 y(.)-38 1853 y(.)-38 1866 y(.)-38 1879 y(.)-38 1892 +y(.)-38 1905 y(.)-38 1918 y(.)-38 1931 y(.)-38 1944 y(.)-38 +1957 y(.)-38 1970 y(.)-38 1983 y(.)-38 1996 y(.)-38 2009 +y(.)-38 2022 y(.)-38 2035 y(.)-38 2048 y(.)-38 2061 y(.)-38 +2074 y(.)-38 2086 y(.)-38 2099 y(.)-38 2112 y(.)-38 2125 +y(.)-38 2138 y(.)-38 2151 y(.)-38 2164 y(.)-38 2177 y(.)-38 +2190 y(.)-38 2203 y(.)-38 2216 y(.)-38 2229 y(.)-38 2242 +y(.)-38 2255 y(.)-38 2268 y(.)-38 2281 y(.)-38 2294 y(.)-38 +2307 y(.)-38 2320 y(.)-38 2333 y(.)-38 2346 y(.)-38 2359 +y(.)-38 2372 y(.)-38 2385 y(.)-38 2398 y(.)-38 2411 y(.)-38 +2424 y(.)-38 2437 y(.)-38 2450 y(.)-38 2463 y(.)-38 2476 +y(.)-38 2489 y(.)-38 2502 y(.)-38 2515 y(.)-38 2528 y(.)-38 +2541 y(.)-38 2553 y(.)-38 2566 y(.)-38 2579 y(.)-38 2592 +y(.)-38 2605 y(.)-38 2618 y(.)-38 2631 y(.)-38 2644 y(.)-38 +2657 y(.)-38 2670 y(.)-38 2683 y(.)-38 2696 y(.)-38 2709 +y(.)-38 2722 y(.)-38 2735 y(.)-38 2748 y(.)-38 2761 y(.)-38 +2774 y(.)-38 2787 y(.)-38 2800 y(.)-38 2813 y(.)-38 2826 +y(.)-38 2839 y(.)-38 2852 y(.)-38 2865 y(.)-38 2878 y(.)-38 +2891 y(.)-38 2904 y(.)-38 2917 y(.)-38 2930 y(.)-38 2943 +y(.)-38 2956 y(.)-38 2969 y(.)-38 2982 y(.)-38 2995 y(.)-38 +3008 y(.)-38 3020 y(.)-38 3033 y(.)-38 3046 y(.)-38 3059 +y(.)-38 3072 y(.)-38 3085 y(.)-38 3098 y(.)-38 3111 y(.)-38 +3124 y(.)-38 3137 y(.)-38 3150 y(.)-38 3163 y(.)-38 3176 +y(.)-38 3189 y(.)-38 3202 y(.)-38 3215 y(.)-38 3228 y(.)-38 +3241 y(.)-38 3254 y(.)-38 3267 y(.)-38 3280 y(.)-38 3293 +y(.)-38 3306 y(.)-38 3319 y(.)-38 3332 y(.)-38 3345 y(.)-38 +3358 y(.)-38 3371 y(.)-38 3384 y(.)-38 3397 y(.)-38 3410 +y(.)-38 3423 y(.)-38 3436 y(.)-38 3449 y(.)-38 3462 y(.)-38 +3475 y(.)-38 3487 y(.)-38 3500 y(.)-38 3513 y(.)-38 3526 +y(.)-38 3539 y(.)-38 3552 y(.)-38 3565 y(.)-38 3578 y(.)-38 +3591 y(.)-38 3604 y(.)-38 3617 y(.)-38 3630 y(.)-38 3643 +y(.)-38 3656 y(.)-38 3669 y(.)-38 3682 y(.)-38 3695 y(.)-38 +3708 y(.)-38 3721 y(.)-38 3734 y(.)-38 3747 y(.)-38 3760 +y(.)-38 3773 y(.)-38 3786 y(.)-38 3799 y(.)-38 3812 y(.)-38 +3825 y(.)-38 3838 y(.)-38 3851 y(.)-38 3864 y(.)-38 3877 +y(.)-38 3890 y(.)-38 3903 y(.)-38 3916 y(.)-38 3929 y(.)-38 +3941 y(.)-38 3954 y(.)-38 3967 y(.)-38 3980 y(.)-38 3993 +y(.)-38 4006 y(.)-38 4019 y(.)-38 4032 y(.)-38 4045 y(.)-38 +4058 y(.)-38 4071 y(.)-38 4084 y(.)-38 4097 y(.)-38 4110 +y(.)-38 4123 y(.)-38 4136 y(.)-38 4149 y(.)-38 4162 y(.)-38 +4175 y(.)-38 4188 y(.)-38 4201 y(.)-38 4214 y(.)-38 4227 +y(.)-38 4240 y(.)-38 4253 y(.)-38 4266 y(.)-38 4279 y(.)-38 +4292 y(.)-38 4305 y(.)-38 4318 y(.)-38 4331 y(.)-38 4344 +y(.)-38 4357 y(.)-38 4370 y(.)42 1862 y Fw(Bew)o(are)17 +b(of)f(simplifyi)o(ng)d(this)k(form)o(ula;)d(\\ob)o(vious")h +(simpli\014cations)f(are)j(lik)o(ely)e(to)0 1914 y(alter)f(the)g(branc) +o(h)h(cuts)g(or)f(the)g(v)n(alues)g(on)f(the)i(branc)o(h)f(cuts)h +(incorrectly)m(.)42 1966 y(The)j(branc)o(h)h(cut)g(for)f(the)h(arc)g +(tangen)o(t)g(function)f(is)g(in)g(t)o(w)o(o)g(pieces:)28 +b(one)19 b(along)0 2017 y(the)c(p)q(ositiv)o(e)f(imaginary)e(axis)i(ab) +q(o)o(v)o(e)g Fv(i)g Fw(\(exclusiv)o(e\),)h(con)o(tin)o(uous)f(with)g +(quadran)o(t)g(I)q(I,)0 2069 y(and)i(one)g(along)e(the)j(negativ)o(e)e +(imaginary)e(axis)j(b)q(elo)o(w)f Ft(\000)p Fv(i)20 b +Fw(\(exclusiv)o(e\),)d(con)o(tin)o(uous)0 2121 y(with)e(quadran)o(t)h +(IV.)f(The)h(p)q(oin)o(ts)f Fv(i)g Fw(and)h Ft(\000)p +Fv(i)j Fw(are)d(excluded)h(from)c(the)k(domain.)j(The)0 +2173 y(range)15 b(is)g(that)g(strip)g(of)f(the)i(complex)d(plane)i(con) +o(taining)f(n)o(um)o(b)q(ers)g(whose)i(real)f(part)0 +2225 y(is)g(b)q(et)o(w)o(een)h Ft(\000)p Fh(\031)q(=)p +Fw(2)f(and)g Fh(\031)q(=)p Fw(2.)21 b(A)16 b(n)o(um)o(b)q(er)e(with)h +(real)g(part)g(equal)g(to)g Ft(\000)p Fh(\031)q(=)p Fw(2)g(is)g(in)f +(the)0 2277 y(range)g(if)e(and)i(only)e(if)h(its)g(imaginary)e(part)j +(is)f(strictly)h(p)q(ositiv)o(e;)f(a)g(n)o(um)o(b)q(er)g(with)g(real)0 +2329 y(part)j(equal)f(to)h Fh(\031)q(=)p Fw(2)f(is)g(in)h(the)g(range)g +(if)f(and)g(only)g(if)g(its)g(imaginary)e(part)j(is)f(strictly)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 336 360 +336 359 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(336)77 b(COMMON)13 +b(LISP)0 295 y Fw(negativ)o(e.)26 b(Th)o(us)17 b(the)g(range)g(of)f +(the)h(arc)g(tangen)o(t)g(function)f(is)g(iden)o(tical)g(to)h(that)f +(of)0 347 y(the)e(arc)h(sine)f(function)g(with)f(the)i(p)q(oin)o(ts)e +Ft(\000)p Fh(\031)q(=)p Fw(2)h(and)g Fh(\031)q(=)p Fw(2)f(excluded.)-33 +358 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 399 a(X3J13)e(v)o(oted)i(in)e(Jan)o(uary)h(1989)g +Ft(h)p Fw(28)p Ft(i)g Fw(to)g(replace)h(the)f(form)o(ula)e(sho)o(wn)i +(ab)q(o)o(v)o(e)g(with)-33 370 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 450 a(the)i(form)o(ula)0 557 y(arctan)7 +b Fv(z)17 b Fw(=)205 529 y(log)o(\(1)9 b(+)h Fv(iz)5 +b Fw(\))k Ft(\000)h Fw(log)o(\(1)f Ft(\000)h Fv(iz)5 +b Fw(\))p 205 547 436 2 v 403 585 a(2)p Fv(i)0 661 y +Fw(This)14 b(is)g(equiv)n(alen)o(t)f(to)g(the)i(form)o(ula)0 +773 y(arctan)7 b Fv(z)17 b Fw(=)205 745 y(arctanh)7 b +Fv(iz)p 205 763 181 2 v 286 801 a(i)0 884 y Fw(recommended)k(b)o(y)g +(Kahan)g([25)o(].)17 b(It)12 b(causes)h(the)f(upp)q(er)g(branc)o(h)g +(cut)g(to)g(b)q(e)g(con)o(tin)o(uous)0 935 y(with)19 +b(quadran)o(t)h(I)f(rather)i(than)f(quadran)o(t)f(I)q(I,)g(and)h(the)g +(lo)o(w)o(er)f(branc)o(h)h(cut)h(to)e(b)q(e)0 987 y(con)o(tin)o(uous)f +(with)g(quadran)o(t)h(I)q(I)q(I)f(rather)i(than)e(quadran)o(t)g(IV;)g +(otherwise)i(it)e(agrees)0 1039 y(with)d(the)i(form)o(ula)c(of)i(the)h +(\014rst)g(edition.)23 b(Therefore)17 b(this)f(c)o(hange)g(alters)g +(the)g(result)0 1091 y(returned)g(b)o(y)e Fs(atan)f Fw(only)g(for)h +(argumen)o(ts)g(on)g(the)g(p)q(ositiv)o(e)g(imaginary)d(axis)j(that)g +(are)0 1143 y(of)h(magnitude)e(greater)k(than)e(1.)22 +b(The)16 b(full)e(description)i(for)f(this)h(new)g(form)o(ula)c(is)k +(as)0 1195 y(follo)o(ws.)42 1247 y(The)i(branc)o(h)h(cut)g(for)f(the)h +(arc)g(tangen)o(t)g(function)f(is)g(in)g(t)o(w)o(o)g(pieces:)28 +b(one)19 b(along)0 1299 y(the)e(p)q(ositiv)o(e)e(imaginary)e(axis)j(ab) +q(o)o(v)o(e)g Fv(i)f Fw(\(exclusiv)o(e\),)i(con)o(tin)o(uous)f(with)f +(quadran)o(t)h(I,)0 1351 y(and)g(one)g(along)e(the)j(negativ)o(e)e +(imaginary)e(axis)j(b)q(elo)o(w)f Ft(\000)p Fv(i)20 b +Fw(\(exclusiv)o(e\),)d(con)o(tin)o(uous)0 1402 y(with)e(quadran)o(t)g +(I)q(I)q(I.)h(The)f(p)q(oin)o(ts)h Fv(i)f Fw(and)g Ft(\000)p +Fv(i)20 b Fw(are)c(excluded)g(from)e(the)i(domain.)k(The)0 +1454 y(range)15 b(is)g(that)g(strip)g(of)f(the)i(complex)d(plane)i(con) +o(taining)f(n)o(um)o(b)q(ers)g(whose)i(real)f(part)0 +1506 y(is)g(b)q(et)o(w)o(een)h Ft(\000)p Fh(\031)q(=)p +Fw(2)f(and)g Fh(\031)q(=)p Fw(2.)21 b(A)16 b(n)o(um)o(b)q(er)e(with)h +(real)g(part)g(equal)g(to)g Ft(\000)p Fh(\031)q(=)p Fw(2)g(is)g(in)f +(the)0 1558 y(range)f(if)f(and)g(only)g(if)g(its)h(imaginary)d(part)j +(is)f(strictly)h(negativ)o(e;)g(a)f(n)o(um)o(b)q(er)g(with)h(real)0 +1610 y(part)j(equal)f(to)h Fh(\031)q(=)p Fw(2)f(is)g(in)h(the)g(range)g +(if)f(and)g(only)g(if)g(its)g(imaginary)e(part)j(is)f(strictly)0 +1662 y(p)q(ositiv)o(e.)23 b(Th)o(us)16 b(the)g(range)g(of)f(the)h(arc)g +(tangen)o(t)g(function)f(is)g Fv(not)h Fw(iden)o(tical)f(to)h(that)0 +1714 y(of)d(the)i(arc)f(sine)g(function.)-33 1725 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1813 a Fs(asinh)0 1872 y Fw(The)h(follo)o(wing)e +(de\014nition)h(for)h(the)g(in)o(v)o(erse)h(h)o(yp)q(erb)q(olic)f(sine) +g(determines)g(the)g(range)0 1923 y(and)f(branc)o(h)g(cuts:)0 +2022 y(arcsinh)7 b Fv(z)17 b Fw(=)12 b(log)274 1989 y +Fe(\000)293 2022 y Fv(z)j Fw(+)366 1988 y Ft(p)p 401 +1988 113 2 v 34 x Fw(1)9 b(+)g Fv(z)494 2010 y Fk(2)513 +1989 y Fe(\001)0 2121 y Fw(The)15 b(branc)o(h)g(cut)h(for)e(the)h(in)o +(v)o(erse)h(h)o(yp)q(erb)q(olic)f(sine)g(function)f(is)h(in)f(t)o(w)o +(o)g(pieces:)22 b(one)0 2173 y(along)8 b(the)i(p)q(ositiv)o(e)g +(imaginary)c(axis)j(ab)q(o)o(v)o(e)g Fv(i)h Fw(\(inclusiv)o(e\),)f(con) +o(tin)o(uous)h(with)f(quadran)o(t)0 2225 y(I,)j(and)g(one)h(along)e +(the)j(negativ)o(e)e(imaginary)e(axis)i(b)q(elo)o(w)g +Ft(\000)p Fv(i)17 b Fw(\(inclusiv)o(e\),)12 b(con)o(tin)o(uous)0 +2277 y(with)17 b(quadran)o(t)g(I)q(I)q(I.)h(The)f(range)h(is)f(that)h +(strip)g(of)e(the)i(complex)f(plane)g(con)o(taining)0 +2329 y(n)o(um)o(b)q(ers)g(whose)i(imaginary)c(part)j(is)f(b)q(et)o(w)o +(een)i Ft(\000)p Fh(\031)q(=)p Fw(2)f(and)g Fh(\031)q(=)p +Fw(2.)29 b(A)18 b(n)o(um)o(b)q(er)f(with)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 337 361 +337 360 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(337)0 +295 y Fw(imaginary)15 b(part)i(equal)g(to)h Ft(\000)p +Fh(\031)q(=)p Fw(2)f(is)g(in)g(the)h(range)g(if)f(and)g(only)g(if)f +(its)i(real)f(part)h(is)0 347 y(non-p)q(ositiv)o(e;)g(a)f(n)o(um)o(b)q +(er)f(with)h(imaginary)d(part)j(equal)g(to)g Fh(\031)q(=)p +Fw(2)g(is)g(in)f(the)i(range)g(if)0 399 y(and)c(only)f(if)g(its)h(real) +g(part)g(is)f(non-negativ)o(e.)0 494 y Fs(acosh)0 553 +y Fw(The)e(follo)o(wing)e(de\014nition)h(for)h(the)g(in)o(v)o(erse)h(h) +o(yp)q(erb)q(olic)f(cosine)h(determines)f(the)g(range)0 +605 y(and)j(branc)o(h)g(cuts:)0 700 y(arccosh)8 b Fv(z)17 +b Fw(=)11 b(log)279 654 y Fe(\020)304 700 y Fv(z)j Fw(+)c(\()p +Fv(z)k Fw(+)c(1\))503 665 y Fe(p)p 544 665 273 2 v 544 +700 a Fw(\()p Fv(z)k Ft(\000)c Fw(1\))p Fh(=)p Fw(\()p +Fv(z)k Fw(+)c(1\))816 654 y Fe(\021)42 807 y Fw(Kahan)j([25)o(])h +(suggests)h(the)f(form)o(ula)-33 779 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 914 a(arccosh)8 b Fv(z)17 b Fw(=)11 b(2)c(log)307 +868 y Fe(\020)331 878 y(p)p 373 878 168 2 v 36 x Fw(\()p +Fv(z)14 b Fw(+)c(1\))p Fh(=)p Fw(2)f(+)591 878 y Fe(p)p +633 878 V 36 x Fw(\()p Fv(z)14 b Ft(\000)c Fw(1\))p Fh(=)p +Fw(2)800 868 y Fe(\021)0 1017 y Fw(p)q(oin)o(ting)g(out)g(that)h(it)f +(yields)h(the)g(same)f(principal)g(v)n(alue)g(but)h(eliminates)e(a)h +(gratuitous)0 1069 y(remo)o(v)n(able)17 b(singularit)o(y)h(at)h +Fv(z)25 b Fw(=)c Ft(\000)p Fw(1.)33 b(A)19 b(prop)q(osal)g(w)o(as)g +(submitted)g(to)f(X3J13)h(in)0 1121 y(Septem)o(b)q(er)i(1989)e(to)h +(replace)h(the)g(form)o(ula)c Fs(acosh)j Fw(with)f(that)i(recommended)e +(b)o(y)0 1173 y(Kahan.)f(There)d(is)f(a)f(go)q(o)q(d)h(p)q(ossibilit)o +(y)e(that)i(it)g(will)e(b)q(e)j(adopted.)-33 1185 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1225 a(The)d(branc)o(h)g(cut)h(for)f(the)g(in)o(v)o +(erse)h(h)o(yp)q(erb)q(olic)f(cosine)h(function)e(lies)h(along)f(the)i +(real)0 1277 y(axis)h(to)g(the)g(left)g(of)g(1)f(\(inclusiv)o(e\),)h +(extending)g(inde\014nitely)g(along)f(the)i(negativ)o(e)f(real)0 +1329 y(axis,)d(con)o(tin)o(uous)g(with)g(quadran)o(t)g(I)q(I)g(and)g +(\(b)q(et)o(w)o(een)i(0)e(and)g(1\))h(with)e(quadran)o(t)i(I.)e(The)0 +1381 y(range)16 b(is)g(that)f(half-strip)g(of)g(the)i(complex)d(plane)i +(con)o(taining)e(n)o(um)o(b)q(ers)h(whose)i(real)0 1432 +y(part)c(is)f(non-negativ)o(e)g(and)g(whose)h(imaginary)c(part)k(is)f +(b)q(et)o(w)o(een)i Ft(\000)p Fh(\031)g Fw(\(exclusiv)o(e\))f(and)0 +1484 y Fh(\031)k Fw(\(inclusiv)o(e\).)25 b(A)17 b(n)o(um)o(b)q(er)e +(with)h(real)g(part)h(zero)g(is)f(in)g(the)h(range)f(if)f(its)i +(imaginary)0 1536 y(part)d(is)g(b)q(et)o(w)o(een)h(zero)g(\(inclusiv)o +(e\))f(and)f Fh(\031)i Fw(\(inclusiv)o(e\).)0 1632 y +Fs(atanh)0 1695 y Fw(The)20 b(follo)o(wing)e(de\014nition)h(for)h(the)h +(in)o(v)o(erse)f(h)o(yp)q(erb)q(olic)h(tangen)o(t)f(determines)g(the)0 +1747 y(range)14 b(and)g(branc)o(h)g(cuts:)0 1896 y(arctanh)7 +b Fv(z)17 b Fw(=)12 b(log)283 1850 y Fe(\020)308 1896 +y Fw(\(1)d(+)h Fv(z)5 b Fw(\))434 1861 y Fe(p)p 476 1861 +154 2 v 35 x Fw(1)j Ft(\000)i Fw(1)p Fh(=)p Fv(z)611 +1884 y Fk(2)629 1850 y Fe(\021)1186 1896 y Fz(WR)o(ONG!)-38 +1932 y Fk(.)-38 1945 y(.)-38 1958 y(.)-38 1971 y(.)-38 +1984 y(.)-38 1997 y(.)-38 2010 y(.)-38 2023 y(.)-38 2036 +y(.)-38 2049 y(.)-38 2062 y(.)-38 2075 y(.)-38 2088 y(.)-38 +2101 y(.)-38 2114 y(.)-38 2127 y(.)-38 2140 y(.)-38 2153 +y(.)-38 2166 y(.)-38 2179 y(.)-38 2192 y(.)-38 2205 y(.)-38 +2218 y(.)-38 2231 y(.)-38 2244 y(.)-38 2257 y(.)-38 2270 +y(.)-38 2283 y(.)-38 2295 y(.)-38 2308 y(.)-38 2321 y(.)-38 +2334 y(.)-38 2347 y(.)-38 2360 y(.)-38 2373 y(.)-38 2386 +y(.)-38 2399 y(.)-38 2412 y(.)-38 2425 y(.)-38 2438 y(.)-38 +2451 y(.)-38 2464 y(.)-38 2477 y(.)-38 2490 y(.)-38 2503 +y(.)-38 2516 y(.)-38 2529 y(.)-38 2542 y(.)-38 2555 y(.)-38 +2568 y(.)-38 2581 y(.)-38 2594 y(.)-38 2607 y(.)-38 2620 +y(.)-38 2633 y(.)-38 2646 y(.)-38 2659 y(.)-38 2672 y(.)-38 +2685 y(.)-38 2698 y(.)-38 2711 y(.)-38 2724 y(.)-38 2737 +y(.)-38 2750 y(.)-38 2762 y(.)-38 2775 y(.)-38 2788 y(.)-38 +2801 y(.)-38 2814 y(.)-38 2827 y(.)-38 2840 y(.)-38 2853 +y(.)-38 2866 y(.)-38 2879 y(.)-38 2892 y(.)-38 2905 y(.)-38 +2918 y(.)-38 2931 y(.)-38 2944 y(.)-38 2957 y(.)-38 2970 +y(.)-38 2983 y(.)-38 2996 y(.)-38 3009 y(.)-38 3022 y(.)-38 +3035 y(.)-38 3048 y(.)-38 3061 y(.)-38 3074 y(.)-38 3087 +y(.)-38 3100 y(.)-38 3113 y(.)-38 3126 y(.)-38 3139 y(.)-38 +3152 y(.)-38 3165 y(.)-38 3178 y(.)-38 3191 y(.)-38 3204 +y(.)-38 3217 y(.)-38 3229 y(.)-38 3242 y(.)-38 3255 y(.)-38 +3268 y(.)-38 3281 y(.)-38 3294 y(.)-38 3307 y(.)-38 3320 +y(.)-38 3333 y(.)-38 3346 y(.)-38 3359 y(.)-38 3372 y(.)-38 +3385 y(.)-38 3398 y(.)-38 3411 y(.)-38 3424 y(.)-38 3437 +y(.)-38 3450 y(.)-38 3463 y(.)-38 3476 y(.)-38 3489 y(.)-38 +3502 y(.)-38 3515 y(.)-38 3528 y(.)-38 3541 y(.)-38 3554 +y(.)-38 3567 y(.)-38 3580 y(.)-38 3593 y(.)-38 3606 y(.)-38 +3619 y(.)-38 3632 y(.)-38 3645 y(.)-38 3658 y(.)-38 3671 +y(.)-38 3684 y(.)-38 3696 y(.)-38 3709 y(.)-38 3722 y(.)-38 +3735 y(.)-38 3748 y(.)-38 3761 y(.)-38 3774 y(.)-38 3787 +y(.)-38 3800 y(.)-38 3813 y(.)-38 3826 y(.)-38 3839 y(.)-38 +3852 y(.)-38 3865 y(.)-38 3878 y(.)-38 3891 y(.)-38 3904 +y(.)-38 3917 y(.)-38 3930 y(.)-38 3943 y(.)-38 3956 y(.)-38 +3969 y(.)-38 3982 y(.)-38 3995 y(.)-38 4008 y(.)-38 4021 +y(.)-38 4034 y(.)-38 4047 y(.)-38 4060 y(.)-38 4073 y(.)-38 +4086 y(.)-38 4099 y(.)-38 4112 y(.)-38 4125 y(.)-38 4138 +y(.)-38 4151 y(.)-38 4163 y(.)-38 4176 y(.)-38 4189 y(.)-38 +4202 y(.)-38 4215 y(.)-38 4228 y(.)-38 4241 y(.)-38 4254 +y(.)-38 4267 y(.)-38 4280 y(.)-38 4293 y(.)-38 4306 y(.)-38 +4319 y(.)-38 4332 y(.)-38 4345 y(.)-38 4358 y(.)-38 4371 +y(.)-38 4384 y(.)-38 4397 y(.)-38 4410 y(.)-38 4423 y(.)-38 +4436 y(.)-38 4449 y(.)-38 4462 y(.)-38 4475 y(.)-38 4488 +y(.)-38 4501 y(.)-38 4514 y(.)-33 1973 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2009 a Fw(W)-5 b(ARNING!)14 b Fv(The)i(formula)f(shown) +i(ab)n(ove)g(for)e(hyp)n(erb)n(olic)h(ar)n(c)g(tangent)g(is)g(inc)n +(or-)-33 1981 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2061 a(r)n(e)n(ct.)k Fw(It)15 b(is)f(not)h(a)f(matter)g +(of)g(incorrect)i(branc)o(h)g(cuts;)f(it)g(simply)d(do)q(es)k(not)e +(compute)0 2113 y(an)o(ything)d(lik)o(e)g(a)g(h)o(yp)q(erb)q(olic)h +(arc)g(tangen)o(t.)18 b(This)11 b(unfortunate)h(error)h(in)e(the)h +(\014rst)h(edi-)0 2165 y(tion)e(w)o(as)g(the)i(result)f(of)f +(mistranscribing)f(a)h(\(correct\))j(APL)d(form)o(ula)e(from)h(P)o +(en\014eld's)0 2217 y(pap)q(er)15 b([36)o(].)i(The)d(form)o(ula)e +(should)h(ha)o(v)o(e)h(b)q(een)h(transcrib)q(ed)h(as)0 +2318 y(arctanh)7 b Fv(z)17 b Fw(=)12 b(log)283 2272 y +Fe(\020)308 2318 y Fw(\(1)d(+)h Fv(z)5 b Fw(\))434 2283 +y Fe(p)p 476 2283 186 2 v 35 x Fw(1)p Fh(=)p Fw(\(1)j +Ft(\000)i Fv(z)627 2306 y Fk(2)645 2318 y Fw(\))662 2272 +y Fe(\021)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 338 362 +338 361 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(338)77 b(COMMON)13 b(LISP)-33 322 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 421 a Fw(Bew)o(are)k(of)f(simplifyi)o(ng)d(this)k(form) +o(ula;)d(\\ob)o(vious")h(simpli\014cations)f(are)j(lik)o(ely)e(to)-38 +396 y Fk(.)-38 409 y(.)-38 422 y(.)-38 435 y(.)-38 448 +y(.)-38 461 y(.)-38 474 y(.)-38 487 y(.)-38 500 y(.)-38 +513 y(.)-38 526 y(.)-38 539 y(.)-38 552 y(.)-38 565 y(.)-38 +578 y(.)-38 591 y(.)-38 604 y(.)-38 617 y(.)-38 630 y(.)-38 +643 y(.)-38 656 y(.)-38 669 y(.)-38 682 y(.)-38 694 y(.)-38 +707 y(.)-38 720 y(.)-38 733 y(.)-38 746 y(.)-38 759 y(.)-38 +772 y(.)-38 785 y(.)-38 798 y(.)-38 811 y(.)-38 824 y(.)-38 +837 y(.)-38 850 y(.)-38 863 y(.)-38 876 y(.)-38 889 y(.)-38 +902 y(.)-38 915 y(.)-38 928 y(.)-38 941 y(.)-38 954 y(.)-38 +967 y(.)-38 980 y(.)-38 993 y(.)-38 1006 y(.)-38 1019 +y(.)-38 1032 y(.)-38 1045 y(.)-38 1058 y(.)-38 1071 y(.)-38 +1084 y(.)-38 1097 y(.)-38 1110 y(.)-38 1123 y(.)-38 1136 +y(.)-38 1149 y(.)-38 1161 y(.)-38 1174 y(.)-38 1187 y(.)-38 +1200 y(.)-38 1213 y(.)-38 1226 y(.)-38 1239 y(.)-38 1252 +y(.)-38 1265 y(.)-38 1278 y(.)-38 1291 y(.)-38 1304 y(.)-38 +1317 y(.)-38 1330 y(.)-38 1343 y(.)-38 1356 y(.)-38 1369 +y(.)-38 1382 y(.)-38 1395 y(.)-38 1408 y(.)-38 1421 y(.)-38 +1434 y(.)-38 1447 y(.)-38 1460 y(.)-38 1473 y(.)-38 1486 +y(.)-38 1499 y(.)-38 1512 y(.)-38 1525 y(.)-38 1538 y(.)-38 +1551 y(.)-38 1564 y(.)-38 1577 y(.)-38 1590 y(.)-38 1603 +y(.)-38 1616 y(.)-38 1628 y(.)-38 1641 y(.)-38 1654 y(.)-38 +1667 y(.)-38 1680 y(.)-38 1693 y(.)-38 1706 y(.)-38 1719 +y(.)-38 1732 y(.)-38 1745 y(.)-38 1758 y(.)-38 1771 y(.)-38 +1784 y(.)-38 1797 y(.)-38 1810 y(.)-38 1823 y(.)-38 1836 +y(.)-38 1849 y(.)-38 1862 y(.)-38 1875 y(.)-38 1888 y(.)-38 +1901 y(.)-38 1914 y(.)-38 1927 y(.)-38 1940 y(.)-38 1953 +y(.)-38 1966 y(.)-38 1979 y(.)-38 1992 y(.)-38 2005 y(.)-38 +2018 y(.)-38 2031 y(.)-38 2044 y(.)-38 2057 y(.)-38 2070 +y(.)-38 2083 y(.)-38 2095 y(.)-38 2108 y(.)-38 2121 y(.)-38 +2134 y(.)-38 2147 y(.)-38 2160 y(.)-38 2173 y(.)-38 2186 +y(.)-38 2199 y(.)-38 2212 y(.)-38 2225 y(.)-38 2238 y(.)-38 +2251 y(.)-38 2264 y(.)-38 2277 y(.)-38 2290 y(.)-38 2303 +y(.)-38 2316 y(.)-38 2329 y(.)-38 2342 y(.)-38 2355 y(.)-38 +2368 y(.)-38 2381 y(.)-38 2394 y(.)-38 2407 y(.)-38 2420 +y(.)-38 2433 y(.)-38 2446 y(.)-38 2459 y(.)-38 2472 y(.)-38 +2485 y(.)-38 2498 y(.)-38 2511 y(.)-38 2524 y(.)-38 2537 +y(.)-38 2550 y(.)-38 2562 y(.)-38 2575 y(.)-38 2588 y(.)-38 +2601 y(.)-38 2614 y(.)-38 2627 y(.)-38 2640 y(.)-38 2653 +y(.)-38 2666 y(.)-38 2679 y(.)-38 2692 y(.)-38 2705 y(.)-38 +2718 y(.)-38 2731 y(.)-38 2744 y(.)-38 2757 y(.)-38 2770 +y(.)-38 2783 y(.)-38 2796 y(.)-38 2809 y(.)-38 2822 y(.)-38 +2835 y(.)-38 2848 y(.)-38 2861 y(.)-38 2874 y(.)-38 2887 +y(.)-38 2900 y(.)-38 2913 y(.)-38 2926 y(.)-38 2939 y(.)-38 +2952 y(.)-38 2965 y(.)-38 2978 y(.)0 473 y Fw(alter)f(the)g(branc)o(h)h +(cuts)g(or)f(the)g(v)n(alues)g(on)f(the)i(branc)o(h)f(cuts)h +(incorrectly)m(.)42 526 y(The)d(branc)o(h)h(cut)h(for)e(the)h(in)o(v)o +(erse)g(h)o(yp)q(erb)q(olic)g(tangen)o(t)f(function)g(is)h(in)f(t)o(w)o +(o)g(pieces:)0 578 y(one)i(along)e(the)j(negativ)o(e)e(real)h(axis)f +(to)h(the)g(left)f(of)h Ft(\000)p Fw(1)f(\(inclusiv)o(e\),)g(con)o(tin) +o(uous)h(with)0 630 y(quadran)o(t)f(I)q(I)q(I,)f(and)h(one)f(along)g +(the)h(p)q(ositiv)o(e)g(real)f(axis)h(to)f(the)h(righ)o(t)g(of)f(1)g +(\(inclusiv)o(e\),)0 682 y(con)o(tin)o(uous)j(with)f(quadran)o(t)h(I.)g +(The)g(p)q(oin)o(ts)g Ft(\000)p Fw(1)g(and)g(1)f(are)i(excluded)f(from) +f(the)h(do-)0 733 y(main.)g(The)e(range)f(is)f(that)h(strip)h(of)e(the) +h(complex)f(plane)h(con)o(taining)f(n)o(um)o(b)q(ers)g(whose)0 +785 y(imaginary)k(part)k(is)f(b)q(et)o(w)o(een)h Ft(\000)p +Fh(\031)q(=)p Fw(2)f(and)g Fh(\031)q(=)p Fw(2.)31 b(A)18 +b(n)o(um)o(b)q(er)f(with)h(imaginary)e(part)0 837 y(equal)f(to)g +Ft(\000)p Fh(\031)q(=)p Fw(2)h(is)f(in)g(the)h(range)g(if)e(and)i(only) +e(if)h(its)g(real)h(part)f(is)h(strictly)f(negativ)o(e;)0 +889 y(a)g(n)o(um)o(b)q(er)f(with)h(imaginary)e(part)i(equal)g(to)g +Fh(\031)q(=)p Fw(2)g(is)g(in)g(the)h(range)f(if)g(and)g(only)f(if)h +(its)0 941 y(real)d(part)h(is)f(strictly)h(p)q(ositiv)o(e.)k(Th)o(us)c +(the)g(range)g(of)f(the)h(in)o(v)o(erse)g(h)o(yp)q(erb)q(olic)g(tangen) +o(t)0 993 y(function)j(is)g(iden)o(tical)f(to)h(that)g(of)f(the)i(in)o +(v)o(erse)f(h)o(yp)q(erb)q(olic)g(sine)h(function)e(with)h(the)0 +1045 y(p)q(oin)o(ts)e Ft(\000)p Fh(\031)q Fv(i)t Fh(=)p +Fw(2)g(and)f Fh(\031)q Fv(i)t Fh(=)p Fw(2)h(excluded.)-33 +1056 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1098 a(A)g(prop)q(osal)g(w)o(as)h(submitted)f(to)g +(X3J13)g(in)h(Septem)o(b)q(er)g(1989)e(to)i(replace)g(the)g(for-)-33 +1069 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1150 a(m)o(ula)d Fs(atanh)g Fw(with)i(that)g +(recommended)f(b)o(y)h(Kahan)f([25)o(]:)0 1279 y(arctanh)7 +b Fv(z)17 b Fw(=)228 1251 y(\(log\(1)9 b(+)g Fv(z)c Fw(\))10 +b Ft(\000)f Fw(log\(1)g Ft(\000)g Fv(z)c Fw(\)\))p 228 +1270 442 2 v 438 1308 a(2)0 1400 y(There)20 b(is)g(a)f(go)q(o)q(d)g(p)q +(ossibilit)o(y)f(that)h(it)g(will)f(b)q(e)i(adopted.)34 +b(If)19 b(it)g(is,)h(the)g(complete)0 1451 y(description)15 +b(of)e(the)h(branc)o(h)h(cuts)f(of)g Fs(atanh)f Fw(will)f(then)j(b)q(e) +f(as)g(follo)o(ws.)42 1504 y(The)e(branc)o(h)h(cut)h(for)e(the)h(in)o +(v)o(erse)g(h)o(yp)q(erb)q(olic)g(tangen)o(t)f(function)g(is)h(in)f(t)o +(w)o(o)g(pieces:)0 1556 y(one)i(along)e(the)j(negativ)o(e)e(real)h +(axis)f(to)h(the)g(left)f(of)h Ft(\000)p Fw(1)f(\(inclusiv)o(e\),)g +(con)o(tin)o(uous)h(with)0 1608 y(quadran)o(t)g(I)q(I,)f(and)h(one)g +(along)f(the)h(p)q(ositiv)o(e)g(real)f(axis)h(to)g(the)g(righ)o(t)f(of) +h(1)f(\(inclusiv)o(e\),)0 1660 y(con)o(tin)o(uous)18 +b(with)g(quadran)o(t)h(IV.)f(The)g(p)q(oin)o(ts)h Ft(\000)p +Fw(1)f(and)g(1)g(are)h(excluded)g(from)e(the)0 1712 y(domain.)29 +b(The)18 b(range)h(is)f(that)g(strip)h(of)e(the)i(complex)e(plane)h +(con)o(taining)f(n)o(um)o(b)q(ers)0 1764 y(whose)f(imaginary)d(part)j +(is)f(b)q(et)o(w)o(een)i Ft(\000)p Fh(\031)q(=)p Fw(2)f(and)g +Fh(\031)q(=)p Fw(2.)23 b(A)15 b(n)o(um)o(b)q(er)g(with)h(imaginary)0 +1816 y(part)11 b(equal)f(to)h Ft(\000)p Fh(\031)q(=)p +Fw(2)f(is)h(in)f(the)h(range)g(if)f(and)g(only)g(if)g(its)h(real)f +(part)h(is)g(strictly)f(p)q(ositiv)o(e;)0 1868 y(a)15 +b(n)o(um)o(b)q(er)f(with)h(imaginary)e(part)i(equal)g(to)g +Fh(\031)q(=)p Fw(2)g(is)g(in)g(the)h(range)f(if)g(and)g(only)f(if)h +(its)0 1919 y(real)d(part)f(is)h(strictly)g(negativ)o(e.)17 +b(Th)o(us)11 b(the)i(range)e(of)g(the)i(in)o(v)o(erse)f(h)o(yp)q(erb)q +(olic)g(tangen)o(t)0 1971 y(function)i(is)f Fv(not)i +Fw(the)f(same)f(as)h(that)g(of)f(the)i(in)o(v)o(erse)f(h)o(yp)q(erb)q +(olic)g(sine)h(function.)-33 1983 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2082 a(With)9 b(these)j(de\014nitions,)f(the)g(follo)o +(wing)d(useful)j(iden)o(tities)g(are)g(ob)q(ey)o(ed)g(throughout)0 +2134 y(the)j(applicable)g(p)q(ortion)f(of)g(the)i(complex)d(domain,)g +(ev)o(en)i(on)g(the)g(branc)o(h)h(cuts:)0 2226 y(sin)7 +b Fv(iz)16 b Fw(=)c Fv(i)f Fw(sinh)c Fv(z)154 b Fw(sinh)7 +b Fv(iz)16 b Fw(=)c Fv(i)f Fw(sin)c Fv(z)297 b Fw(arctan)7 +b Fv(iz)17 b Fw(=)11 b Fv(i)g Fw(arctanh)d Fv(z)0 2278 +y Fw(cos)f Fv(iz)17 b Fw(=)12 b(cosh)7 b Fv(z)169 b Fw(cosh)8 +b Fv(iz)16 b Fw(=)c(cos)7 b Fv(z)312 b Fw(arcsinh)7 b +Fv(iz)17 b Fw(=)11 b Fv(i)g Fw(arcsin)d Fv(z)0 2330 y +Fw(tan)f Fv(iz)16 b Fw(=)c Fv(i)f Fw(tanh)c Fv(z)136 +b Fw(arcsin)7 b Fv(iz)17 b Fw(=)12 b Fv(i)e Fw(arcsinh)e +Fv(z)186 b Fw(arctanh)7 b Fv(iz)17 b Fw(=)11 b Fv(i)g +Fw(arctan)d Fv(z)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 339 363 +339 362 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(339)42 +295 y Fw(I)10 b(though)o(t)f(it)h(w)o(ould)f(b)q(e)i(useful)f(to)g(pro) +o(vide)g(some)f(graphs)i(illustrating)d(the)j(b)q(eha)o(vior)-33 +266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(of)16 b(the)h(irrational)e(and)h(transcenden)o +(tal)h(functions)g(in)f(the)h(complex)e(plane.)25 b(It)16 +b(also)0 399 y(pro)o(vides)e(an)f(opp)q(ortunit)o(y)g(to)g(sho)o(w)h +(o\013)f(the)h(Common)c(Lisp)j(co)q(de)i(that)e(w)o(as)h(used)g(to)0 +450 y(generate)h(them.)42 504 y(Imagine)d(the)i(complex)f(plane)h(to)g +(b)q(e)g(decorated)i(as)e(follo)o(ws.)j(The)d(real)g(and)g(imag-)0 +556 y(inary)f(axes)h(are)h(pain)o(ted)e(with)h(thic)o(k)f(lines.)18 +b(P)o(arallels)13 b(from)f(the)i(axes)h(on)e(b)q(oth)h(sides)0 +608 y(at)f(distances)h(of)e(1,)g(2,)g(and)h(3)f(are)h(pain)o(ted)g +(with)g(thin)f(lines;)h(these)h(parallels)e(are)h(dou-)0 +660 y(bly)g(in\014nite)g(lines,)g(as)h(are)g(the)g(axes.)k(F)m(our)13 +b(ann)o(uli)g(\(rings\))g(are)h(pain)o(ted)f(in)h(gradated)0 +712 y(shades)19 b(of)e(gra)o(y)m(.)29 b(Ring)16 b(1,)i(the)h(inner)f +(ring,)f(consists)i(of)e(p)q(oin)o(ts)h(whose)g(radial)f(dis-)0 +763 y(tances)e(from)d(the)j(origin)e(lie)g(in)h(the)h(range)f([1)p +Fh(=)p Fw(4)p Fh(;)7 b Fw(1)p Fh(=)p Fw(2];)j(ring)k(2)g(is)f(in)h(the) +h(radial)d(range)0 815 y([3)p Fh(=)p Fw(4)p Fh(;)7 b +Fw(1];)12 b(ring)i(3,)f(in)h(the)h(range)g([)p Fh(\031)q(=)p +Fw(2)p Fh(;)7 b Fw(2];)12 b(and)i(ring)g(4,)f(in)h(the)h(range)g([3)p +Fh(;)7 b(\031)q Fw(].)18 b(Ring)13 b Fv(j)h Fw(is)0 867 +y(divided)g(in)o(to)h(2)254 852 y Fi(j)o Fk(+1)323 867 +y Fw(equal)g(sectors,)h(with)f(eac)o(h)g(sector)h(pain)o(ted)f(a)g +(di\013eren)o(t)h(shade)f(of)0 919 y(gra)o(y)m(,)d(dark)o(ening)i(as)g +(one)g(pro)q(ceeds)i(coun)o(terclo)q(c)o(kwise)f(from)d(the)j(p)q +(ositiv)o(e)e(real)h(axis.)42 973 y(W)m(e)d(can)g(illustrate)h(the)g(b) +q(eha)o(vior)f(of)g(a)g(n)o(umerical)f(function)h Fv(f)20 +b Fw(b)o(y)11 b(considering)h(ho)o(w)0 1025 y(it)j(maps)f(the)i +(complex)e(plane)h(to)h(itself.)22 b(More)16 b(sp)q(eci\014cally)m(,)f +(consider)h(eac)o(h)g(p)q(oin)o(t)f Fv(z)0 1077 y Fw(of)g(the)h +(decorated)g(plane.)22 b(W)m(e)15 b(decorate)i(a)e(new)h(plane)f(b)o(y) +g(coloring)f(the)i(p)q(oin)o(t)f Fv(f)8 b Fw(\()p Fv(z)d +Fw(\))0 1128 y(with)12 b(the)g(same)g(color)f(that)h(p)q(oin)o(t)g +Fv(z)17 b Fw(had)12 b(in)g(the)g(original)e(decorated)k(plane.)j(In)12 +b(other)0 1180 y(w)o(ords,)j(the)g(newly)g(decorated)h(plane)e +(illustrates)h(ho)o(w)g(the)g Fv(f)23 b Fw(maps)14 b(the)h(axes,)g +(other)0 1232 y(horizon)o(tal)e(and)h(v)o(ertical)f(lines,)h(and)f(ann) +o(uli.)42 1286 y(In)g(eac)o(h)h(\014gure)g(w)o(e)f(will)f(sho)o(w)i +(only)e(a)h(fragmen)o(t)f(of)h(the)h(complex)e(plane,)h(with)g(the)0 +1338 y(real)j(axis)g(horizon)o(tal)f(in)h(the)h(usual)f(manner)f(\()p +Ft(\0001)h Fw(to)g(the)h(left,)f(+)p Ft(1)g Fw(to)g(the)h(righ)o(t\))0 +1390 y(and)g(the)i(imaginary)c(axis)i(v)o(ertical)g(\()p +Ft(\0001)p Fv(i)22 b Fw(b)q(elo)o(w,)c(+)p Ft(1)p Fv(i)j +Fw(ab)q(o)o(v)o(e\).)29 b(Eac)o(h)18 b(fragmen)o(t)0 +1441 y(sho)o(ws)f(a)f(region)g(con)o(taining)f(p)q(oin)o(ts)h(whose)h +(real)f(and)g(imaginary)e(parts)j(are)f(in)g(the)0 1493 +y(range)c([)p Ft(\000)p Fw(4)p Fh(:)p Fw(1)p Fh(;)7 b +Fw(4)p Fh(:)p Fw(1].)14 b(The)e(axes)g(of)e(the)j(new)e(plane)h(are)g +(sho)o(wn)f(as)h(v)o(ery)f(thin)h(lines,)f(with)0 1545 +y(large)k(tic)o(k)h(marks)f(at)g(in)o(teger)i(co)q(ordinates)f(and)g +(somewhat)e(smaller)h(tic)o(k)g(marks)g(at)0 1597 y(m)o(ultiples)d(of)h +Fh(\031)q(=)p Fw(2.)42 1651 y(Figure)g(12-)o(1)g(sho)o(ws)g(the)h +(result)g(of)e(plotting)g(the)i Fs(identity)d Fw(function)i(\(quite)g +(liter-)0 1703 y(ally\);)f(the)j(graph)e(exhibits)h(the)h(decoration)f +(of)f(the)i(original)d(plane.)42 1756 y(Figures)17 b(12-)o(2)g(through) +g(12-20)f(sho)o(w)h(the)h(graphs)g(for)e(the)i(functions)f +Fs(sqrt)p Fw(,)g Fs(exp)p Fw(,)0 1808 y Fs(log)p Fw(,)d +Fs(sin)p Fw(,)h Fs(asin)p Fw(,)f Fs(cos)p Fw(,)h Fs(acos)p +Fw(,)f Fs(tan)p Fw(,)h Fs(atan)p Fw(,)f Fs(sinh)p Fw(,)g +Fs(asinh)p Fw(,)g Fs(cosh)p Fw(,)h Fs(acosh)p Fw(,)f +Fs(tanh)p Fw(,)g(and)0 1860 y Fs(atanh)p Fw(,)g(and)h(as)h(a)e(b)q(on)o +(us,)i(the)g(graphs)f(for)g(the)h(functions)966 1825 +y Ft(p)p 1001 1825 113 2 v 35 x Fw(1)9 b Ft(\000)g Fv(z)1094 +1848 y Fk(2)1113 1860 y Fw(,)1140 1825 y Ft(p)p 1175 +1825 V 35 x Fw(1)g(+)g Fv(z)1268 1848 y Fk(2)1287 1860 +y Fw(,)15 b(\()p Fv(z)g Ft(\000)0 1912 y Fw(1\))p Fh(=)p +Fw(\()p Fv(z)f Fw(+)c(1\),)k(and)g(\(1)9 b(+)h Fv(z)5 +b Fw(\))p Fh(=)p Fw(\(1)10 b Ft(\000)f Fv(z)c Fw(\).)20 +b(All)13 b(of)h(these)h(are)g(related)g(to)f(the)h(trigonometric)0 +1964 y(functions)21 b(in)f(v)n(arious)g(w)o(a)o(ys.)38 +b(F)m(or)20 b(example,)h(if)f Fv(f)8 b Fw(\()p Fv(z)d +Fw(\))23 b(=)h(\()p Fv(z)19 b Ft(\000)14 b Fw(1\))p Fh(=)p +Fw(\()p Fv(z)k Fw(+)c(1\),)22 b(then)0 2016 y(tanh)7 +b Fv(z)17 b Fw(=)11 b Fv(f)e Fw(\()p Fv(e)227 2001 y +Fk(2)p Fi(z)260 2016 y Fw(\),)k(and)f(if)g Fv(g)t Fw(\()p +Fv(z)5 b Fw(\))12 b(=)549 1981 y Ft(p)p 584 1981 V 35 +x Fw(1)d Ft(\000)h Fv(z)678 2004 y Fk(2)696 2016 y Fw(,)j(then)g(cos)8 +b Fv(z)16 b Fw(=)c Fv(g)t Fw(\(sin)7 b Fv(z)e Fw(\).)18 +b(It)12 b(is)h(instructiv)o(e)0 2068 y(to)h(examine)g(the)h(graph)f +(for)469 2033 y Ft(p)p 504 2033 V 35 x Fw(1)9 b Ft(\000)g +Fv(z)597 2056 y Fk(2)631 2068 y Fw(and)14 b(try)h(to)f(visualize)g(ho)o +(w)g(it)g(transforms)g(the)0 2119 y(graph)g(for)f Fs(sin)g +Fw(in)o(to)h(the)g(graph)g(for)f Fs(cos)p Fw(.)42 2173 +y(Eac)o(h)j(\014gure)g(is)g(accompanied)f(b)o(y)h(a)f(commen)o(tary)f +(on)i(what)g(maps)e(to)i(what)g(and)0 2225 y(other)h(in)o(teresting)g +(features.)27 b(None)17 b(of)f(this)g(material)e(is)j(terribly)f(new;)i +(m)o(uc)o(h)d(of)h(it)0 2277 y(ma)o(y)d(b)q(e)j(found)f(in)g(an)o(y)g +(go)q(o)q(d)g(textb)q(o)q(ok)h(on)f(complex)f(analysis.)22 +b(I)15 b(b)q(eliev)o(e)h(that)f(the)0 2329 y(particular)e(form)e(in)i +(whic)o(h)g(the)h(graphs)g(are)f(presen)o(ted)j(is)d(no)o(v)o(el,)f(as) +h(w)o(ell)g(as)g(the)h(fact)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 340 364 +340 363 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(340)77 b(COMMON)13 +b(LISP)0 295 y Fw(that)h(the)g(graphs)g(ha)o(v)o(e)f(b)q(een)i +(generated)g(as)f(P)o(ostScript)g([1])f(co)q(de)h(b)o(y)g(Comm)o(on)d +(Lisp)0 347 y(co)q(de.)18 b(This)11 b(P)o(ostScript)g(co)q(de)h(w)o(as) +f(then)g(fed)g(directly)h(to)e(the)i(t)o(yp)q(esetting)g(equipmen)o(t)0 +399 y(that)k(set)g(the)g(pages)g(for)g(this)f(b)q(o)q(ok.)23 +b(Samples)15 b(of)g(this)h(P)o(ostScript)g(co)q(de)g(follo)o(w)e(the)0 +450 y(\014gures)h(themselv)o(es,)e(after)h(whic)o(h)g(the)h(co)q(de)f +(for)g(the)g(en)o(tire)h(program)d(is)i(presen)o(ted.)42 +502 y(In)d(the)h(commen)o(taries)e(that)i(accompan)o(y)e(the)i +(\014gures)h(I)e(sometimes)f(sp)q(eak)j(of)e(map-)0 554 +y(ping)17 b(the)i(p)q(oin)o(ts)f Ft(\0061)g Fw(or)g Ft(\0061)p +Fv(i)t Fw(.)30 b(When)18 b(I)g(sa)o(y)g(that)g(function)f +Fv(f)27 b Fw(maps)16 b(+)p Ft(1)i Fw(to)g(a)0 606 y(certain)c(p)q(oin)o +(t)g Fv(z)5 b Fw(,)13 b(I)h(mean)f(that)0 691 y Fv(z)k +Fw(=)36 b(lim)77 716 y Fi(x)p Fl(!)p Fk(+)p Fl(1)192 +691 y Fv(f)8 b Fw(\()p Fv(x)15 b Fw(+)9 b(0)p Fv(i)t +Fw(\))0 786 y(Similarly)l(,)i(when)j(I)g(sa)o(y)g(that)f +Fv(f)23 b Fw(maps)12 b Ft(\0001)p Fv(i)18 b Fw(to)c Fv(z)5 +b Fw(,)13 b(I)h(mean)f(that)0 871 y Fv(z)k Fw(=)37 b(lim)77 +896 y Fi(y)p Fl(!\0001)193 871 y Fv(f)9 b Fw(\(0)g(+)g +Fv(y)t(i)t Fw(\))0 972 y(In)16 b(other)g(w)o(ords,)g(I)g(am)e +(considering)i(a)g(limit)d(as)j(one)g(tra)o(v)o(els)g(out)f(along)g +(one)h(of)f(the)0 1024 y(main)j(axes.)38 b(I)21 b(also)e(sp)q(eak)i(in) +f(a)g(similar)e(manner)i(of)f(mapping)g Fv(to)h Fw(one)h(of)e(these)0 +1075 y(in\014nities.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 341 365 +341 364 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(341)p +0 255 1395 2 v 0 324 a Fm(Figure)14 b(12-1:)j FA(Initial)f(Decoration)e +(of)f(the)g(Complex)h(Plane)g(\(Iden)o(tit)o(y)g(F)m(unction\))0 +1770 y @beginspecial @setspecial +%%BeginDocument: identity-plot.ps +% PostScript file for plot of function IDENTITY +% Plot is to fit in a region 4.666666666666667 inches square +% showing axes extending 4.1 units from the origin. + +40.97560975609756 40.97560975609756 scale +4.1 4.1 translate +newpath + -4.1 -4.1 moveto + 4.1 -4.1 lineto + 4.1 4.1 lineto + -4.1 4.1 lineto + closepath +clip +% Moby grid for function IDENTITY +% Annulus 0.25 0.5 4 0.97 0.45 +% Sector from 4.7124 to 6.2832 (quadrant 3) +newpath + 0.0 -0.25 moveto + 0.0 -0.375 lineto + %middle radial + 0.0 -0.375 lineto + 0.0 -0.5 lineto + %end radial + 0.0 -0.5 lineto + 0.092 -0.4915 lineto + 0.1843 -0.4648 lineto + 0.273 -0.4189 lineto + 0.3536 -0.3536 lineto + %middle circumferential + 0.3536 -0.3536 lineto + 0.413 -0.2818 lineto + 0.4594 -0.1974 lineto + 0.4894 -0.1024 lineto + 0.5 0.0 lineto + %end circumferential + 0.5 0.0 lineto + 0.375 0.0 lineto + %middle radial + 0.375 0.0 lineto + 0.25 0.0 lineto + %end radial + 0.25 0.0 lineto + 0.2297 -0.0987 lineto + 0.1768 -0.1768 lineto + %middle circumferential + 0.1768 -0.1768 lineto + 0.0922 -0.2324 lineto + 0.0 -0.25 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 3.1416 to 4.7124 (quadrant 2) +newpath + -0.25 0.0 moveto + -0.375 0.0 lineto + %middle radial + -0.375 0.0 lineto + -0.5 0.0 lineto + %end radial + -0.5 0.0 lineto + -0.4919 -0.0896 lineto + -0.466 -0.1812 lineto + -0.4203 -0.2708 lineto + -0.3536 -0.3536 lineto + %middle circumferential + -0.3536 -0.3536 lineto + -0.2833 -0.412 lineto + -0.1996 -0.4584 lineto + -0.1042 -0.489 lineto + 0.0 -0.5 lineto + %end circumferential + 0.0 -0.5 lineto + 0.0 -0.375 lineto + %middle radial + 0.0 -0.375 lineto + 0.0 -0.25 lineto + %end radial + 0.0 -0.25 lineto + -0.0998 -0.2292 lineto + -0.1768 -0.1768 lineto + %middle circumferential + -0.1768 -0.1768 lineto + -0.233 -0.0906 lineto + -0.25 0.0 lineto + %end circumferential + closepath +currentgray 0.6233333333333334 setgray fill setgray +% Sector from 1.5708 to 3.1416 (quadrant 1) +newpath + 0.0 0.25 moveto + 0.0 0.375 lineto + %middle radial + 0.0 0.375 lineto + 0.0 0.5 lineto + %end radial + 0.0 0.5 lineto + -0.0834 0.493 lineto + -0.1729 0.4692 lineto + -0.2649 0.4241 lineto + -0.3536 0.3536 lineto + %middle circumferential + -0.3536 0.3536 lineto + -0.4099 0.2863 lineto + -0.4564 0.2043 lineto + -0.4882 0.1081 lineto + -0.5 0.0 lineto + %end circumferential + -0.5 0.0 lineto + -0.375 0.0 lineto + %middle radial + -0.375 0.0 lineto + -0.25 0.0 lineto + %end radial + -0.25 0.0 lineto + -0.2282 0.1021 lineto + -0.1768 0.1768 lineto + %middle circumferential + -0.1768 0.1768 lineto + -0.0864 0.2346 lineto + 0.0 0.25 lineto + %end circumferential + closepath +currentgray 0.7966666666666668 setgray fill setgray +% Sector from 0.0 to 1.5708 (quadrant 0) +newpath + 0.25 0.0 moveto + 0.375 0.0 lineto + %middle radial + 0.375 0.0 lineto + 0.5 0.0 lineto + %end radial + 0.5 0.0 lineto + 0.498 0.0444 lineto + 0.4826 0.1306 lineto + 0.449 0.22 lineto + 0.3965 0.3046 lineto + 0.3536 0.3536 lineto + %middle circumferential + 0.3536 0.3536 lineto + 0.2973 0.402 lineto + 0.222 0.448 lineto + 0.1237 0.4845 lineto + 0.065 0.4958 lineto + 0.0 0.5 lineto + %end circumferential + 0.0 0.5 lineto + 0.0 0.375 lineto + %middle radial + 0.0 0.375 lineto + 0.0 0.25 lineto + %end radial + 0.0 0.25 lineto + 0.0325 0.2479 lineto + 0.111 0.224 lineto + 0.1768 0.1768 lineto + %middle circumferential + 0.1768 0.1768 lineto + 0.2136 0.1299 lineto + 0.2458 0.0457 lineto + 0.25 0.0 lineto + %end circumferential + closepath +currentgray 0.9700000000000001 setgray fill setgray +% Annulus 0.75 1.0 8 0.97 0.45 +% Sector from 5.4978 to 6.2832 (quadrant 3) +newpath + 0.5303 -0.5303 moveto + 0.6187 -0.6187 lineto + %middle radial + 0.6187 -0.6187 lineto + 0.7071 -0.7071 lineto + %end radial + 0.7071 -0.7071 lineto + 0.7714 -0.6363 lineto + 0.8296 -0.5584 lineto + 0.8807 -0.4736 lineto + 0.9239 -0.3827 lineto + %middle circumferential + 0.9239 -0.3827 lineto + 0.9563 -0.2925 lineto + 0.9802 -0.1982 lineto + 0.9949 -0.1004 lineto + 1.0 0.0 lineto + %end circumferential + 1.0 0.0 lineto + 0.875 0.0 lineto + %middle radial + 0.875 0.0 lineto + 0.75 0.0 lineto + %end radial + 0.75 0.0 lineto + 0.7462 -0.0753 lineto + 0.7351 -0.1486 lineto + 0.7172 -0.2194 lineto + 0.6929 -0.287 lineto + %middle circumferential + 0.6929 -0.287 lineto + 0.6605 -0.3552 lineto + 0.6222 -0.4188 lineto + 0.5786 -0.4773 lineto + 0.5303 -0.5303 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 4.7124 to 5.4978 (quadrant 3) +newpath + 0.0 -0.75 moveto + 0.0 -0.875 lineto + %middle radial + 0.0 -0.875 lineto + 0.0 -1.0 lineto + %end radial + 0.0 -1.0 lineto + 0.0951 -0.9955 lineto + 0.1912 -0.9815 lineto + 0.2874 -0.9578 lineto + 0.3827 -0.9239 lineto + %middle circumferential + 0.3827 -0.9239 lineto + 0.469 -0.8832 lineto + 0.5525 -0.8335 lineto + 0.6323 -0.7747 lineto + 0.7071 -0.7071 lineto + %end circumferential + 0.7071 -0.7071 lineto + 0.6187 -0.6187 lineto + %middle radial + 0.6187 -0.6187 lineto + 0.5303 -0.5303 lineto + %end radial + 0.5303 -0.5303 lineto + 0.4742 -0.5811 lineto + 0.4144 -0.6251 lineto + 0.3518 -0.6624 lineto + 0.287 -0.6929 lineto + %middle circumferential + 0.287 -0.6929 lineto + 0.2156 -0.7183 lineto + 0.1434 -0.7362 lineto + 0.0713 -0.7466 lineto + 0.0 -0.75 lineto + %end circumferential + closepath +currentgray 0.5242857142857142 setgray fill setgray +% Sector from 3.927 to 4.7124 (quadrant 2) +newpath + -0.5303 -0.5303 moveto + -0.6187 -0.6187 lineto + %middle radial + -0.6187 -0.6187 lineto + -0.7071 -0.7071 lineto + %end radial + -0.7071 -0.7071 lineto + -0.6371 -0.7708 lineto + -0.5595 -0.8289 lineto + -0.4745 -0.8802 lineto + -0.3827 -0.9239 lineto + %middle circumferential + -0.3827 -0.9239 lineto + -0.2933 -0.956 lineto + -0.1993 -0.9799 lineto + -0.1012 -0.9949 lineto + 0.0 -1.0 lineto + %end circumferential + 0.0 -1.0 lineto + 0.0 -0.875 lineto + %middle radial + 0.0 -0.875 lineto + 0.0 -0.75 lineto + %end radial + 0.0 -0.75 lineto + -0.0759 -0.7461 lineto + -0.1495 -0.735 lineto + -0.22 -0.717 lineto + -0.287 -0.6929 lineto + %middle circumferential + -0.287 -0.6929 lineto + -0.3559 -0.6602 lineto + -0.4196 -0.6216 lineto + -0.4778 -0.5781 lineto + -0.5303 -0.5303 lineto + %end circumferential + closepath +currentgray 0.5985714285714285 setgray fill setgray +% Sector from 3.1416 to 3.927 (quadrant 2) +newpath + -0.75 0.0 moveto + -0.875 0.0 lineto + %middle radial + -0.875 0.0 lineto + -1.0 0.0 lineto + %end radial + -1.0 0.0 lineto + -0.9956 -0.0937 lineto + -0.9819 -0.1894 lineto + -0.9582 -0.2861 lineto + -0.9239 -0.3827 lineto + %middle circumferential + -0.9239 -0.3827 lineto + -0.8837 -0.468 lineto + -0.8343 -0.5513 lineto + -0.7755 -0.6314 lineto + -0.7071 -0.7071 lineto + %end circumferential + -0.7071 -0.7071 lineto + -0.6187 -0.6187 lineto + %middle radial + -0.6187 -0.6187 lineto + -0.5303 -0.5303 lineto + %end radial + -0.5303 -0.5303 lineto + -0.5816 -0.4735 lineto + -0.6257 -0.4134 lineto + -0.6628 -0.351 lineto + -0.6929 -0.287 lineto + %middle circumferential + -0.6929 -0.287 lineto + -0.7187 -0.2146 lineto + -0.7364 -0.1421 lineto + -0.7467 -0.0703 lineto + -0.75 0.0 lineto + %end circumferential + closepath +currentgray 0.6728571428571428 setgray fill setgray +% Sector from 2.3562 to 3.1416 (quadrant 1) +newpath + -0.5303 0.5303 moveto + -0.6187 0.6187 lineto + %middle radial + -0.6187 0.6187 lineto + -0.7071 0.7071 lineto + %end radial + -0.7071 0.7071 lineto + -0.7694 0.6387 lineto + -0.8272 0.5618 lineto + -0.8792 0.4765 lineto + -0.9239 0.3827 lineto + %middle circumferential + -0.9239 0.3827 lineto + -0.9555 0.2949 lineto + -0.9795 0.2015 lineto + -0.9947 0.103 lineto + -1.0 0.0 lineto + %end circumferential + -1.0 0.0 lineto + -0.875 0.0 lineto + %middle radial + -0.875 0.0 lineto + -0.75 0.0 lineto + %end radial + -0.75 0.0 lineto + -0.746 0.0772 lineto + -0.7346 0.1511 lineto + -0.7166 0.2212 lineto + -0.6929 0.287 lineto + %middle circumferential + -0.6929 0.287 lineto + -0.6594 0.3573 lineto + -0.6204 0.4214 lineto + -0.5771 0.479 lineto + -0.5303 0.5303 lineto + %end circumferential + closepath +currentgray 0.7471428571428572 setgray fill setgray +% Sector from 1.5708 to 2.3562 (quadrant 1) +newpath + 0.0 0.75 moveto + 0.0 0.875 lineto + %middle radial + 0.0 0.875 lineto + 0.0 1.0 lineto + %end radial + 0.0 1.0 lineto + -0.09 0.9959 lineto + -0.1843 0.9829 lineto + -0.2823 0.9593 lineto + -0.3827 0.9239 lineto + %middle circumferential + -0.3827 0.9239 lineto + -0.4656 0.885 lineto + -0.5481 0.8364 lineto + -0.6291 0.7773 lineto + -0.7071 0.7071 lineto + %end circumferential + -0.7071 0.7071 lineto + -0.6187 0.6187 lineto + %middle radial + -0.6187 0.6187 lineto + -0.5303 0.5303 lineto + %end radial + -0.5303 0.5303 lineto + -0.4718 0.583 lineto + -0.4111 0.6273 lineto + -0.3492 0.6638 lineto + -0.287 0.6929 lineto + %middle circumferential + -0.287 0.6929 lineto + -0.2117 0.7195 lineto + -0.1383 0.7371 lineto + -0.0675 0.747 lineto + 0.0 0.75 lineto + %end circumferential + closepath +currentgray 0.8214285714285714 setgray fill setgray +% Sector from 0.7854 to 1.5708 (quadrant 0) +newpath + 0.5303 0.5303 moveto + 0.6187 0.6187 lineto + %middle radial + 0.6187 0.6187 lineto + 0.7071 0.7071 lineto + %end radial + 0.7071 0.7071 lineto + 0.6454 0.7638 lineto + 0.572 0.8203 lineto + 0.4849 0.8746 lineto + 0.3827 0.9239 lineto + %middle circumferential + 0.3827 0.9239 lineto + 0.3001 0.9539 lineto + 0.2089 0.9779 lineto + 0.1088 0.9941 lineto + 0.0 1.0 lineto + %end circumferential + 0.0 1.0 lineto + 0.0 0.875 lineto + %middle radial + 0.0 0.875 lineto + 0.0 0.75 lineto + %end radial + 0.0 0.75 lineto + 0.0816 0.7455 lineto + 0.1567 0.7335 lineto + 0.2251 0.7154 lineto + 0.287 0.6929 lineto + %middle circumferential + 0.287 0.6929 lineto + 0.3637 0.6559 lineto + 0.429 0.6152 lineto + 0.4841 0.5729 lineto + 0.5303 0.5303 lineto + %end circumferential + closepath +currentgray 0.8957142857142858 setgray fill setgray +% Sector from 0.0 to 0.7854 (quadrant 0) +newpath + 0.75 0.0 moveto + 0.875 0.0 lineto + %middle radial + 0.875 0.0 lineto + 1.0 0.0 lineto + %end radial + 1.0 0.0 lineto + 0.999 0.0448 lineto + 0.9912 0.1323 lineto + 0.9741 0.2263 lineto + 0.9468 0.3219 lineto + 0.9239 0.3827 lineto + %middle circumferential + 0.9239 0.3827 lineto + 0.8929 0.4502 lineto + 0.8497 0.5272 lineto + 0.7897 0.6135 lineto + 0.7517 0.6595 lineto + 0.7071 0.7071 lineto + %end circumferential + 0.7071 0.7071 lineto + 0.6187 0.6187 lineto + %middle radial + 0.6187 0.6187 lineto + 0.5303 0.5303 lineto + %end radial + 0.5303 0.5303 lineto + 0.5637 0.4947 lineto + 0.6166 0.427 lineto + 0.6548 0.3657 lineto + 0.6929 0.287 lineto + %middle circumferential + 0.6929 0.287 lineto + 0.7221 0.2026 lineto + 0.7364 0.142 lineto + 0.7468 0.0692 lineto + 0.75 9.0E-4 lineto + 0.75 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 1.5708 2.0 16 0.97 0.45 +% Sector from 5.8905 to 6.2832 (quadrant 3) +newpath + 1.4512 -0.6011 moveto + 1.6495 -0.6832 lineto + %middle radial + 1.6495 -0.6832 lineto + 1.8478 -0.7654 lineto + %end radial + 1.8478 -0.7654 lineto + 1.8827 -0.6749 lineto + 1.9134 -0.5821 lineto + 1.9398 -0.4871 lineto + 1.9616 -0.3902 lineto + %middle circumferential + 1.9616 -0.3902 lineto + 1.9782 -0.2946 lineto + 1.9902 -0.1976 lineto + 1.9975 -0.0993 lineto + 2.0 0.0 lineto + %end circumferential + 2.0 0.0 lineto + 1.7854 0.0 lineto + %middle radial + 1.7854 0.0 lineto + 1.5708 0.0 lineto + %end radial + 1.5708 0.0 lineto + 1.5689 -0.078 lineto + 1.5631 -0.1552 lineto + 1.5537 -0.2314 lineto + 1.5406 -0.3064 lineto + %middle circumferential + 1.5406 -0.3064 lineto + 1.5235 -0.3826 lineto + 1.5028 -0.4572 lineto + 1.4787 -0.5301 lineto + 1.4512 -0.6011 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.4978 to 5.8905 (quadrant 3) +newpath + 1.1107 -1.1107 moveto + 1.2625 -1.2625 lineto + %middle radial + 1.2625 -1.2625 lineto + 1.4142 -1.4142 lineto + %end radial + 1.4142 -1.4142 lineto + 1.481 -1.3441 lineto + 1.5449 -1.2701 lineto + 1.6056 -1.1924 lineto + 1.6629 -1.1111 lineto + %middle circumferential + 1.6629 -1.1111 lineto + 1.7148 -1.0293 lineto + 1.7631 -0.9443 lineto + 1.8074 -0.8562 lineto + 1.8478 -0.7654 lineto + %end circumferential + 1.8478 -0.7654 lineto + 1.6495 -0.6832 lineto + %middle radial + 1.6495 -0.6832 lineto + 1.4512 -0.6011 lineto + %end radial + 1.4512 -0.6011 lineto + 1.4196 -0.6725 lineto + 1.3847 -0.7416 lineto + 1.3468 -0.8084 lineto + 1.3061 -0.8727 lineto + %middle circumferential + 1.3061 -0.8727 lineto + 1.2611 -0.9365 lineto + 1.2134 -0.9975 lineto + 1.1632 -1.0556 lineto + 1.1107 -1.1107 lineto + %end circumferential + closepath +currentgray 0.48466666666666664 setgray fill setgray +% Sector from 5.1051 to 5.4978 (quadrant 3) +newpath + 0.6011 -1.4512 moveto + 0.6832 -1.6495 lineto + %middle radial + 0.6832 -1.6495 lineto + 0.7654 -1.8478 lineto + %end radial + 0.7654 -1.8478 lineto + 0.8539 -1.8086 lineto + 0.9412 -1.7647 lineto + 1.027 -1.7162 lineto + 1.1111 -1.6629 lineto + %middle circumferential + 1.1111 -1.6629 lineto + 1.1903 -1.6072 lineto + 1.2674 -1.5472 lineto + 1.3421 -1.4828 lineto + 1.4142 -1.4142 lineto + %end circumferential + 1.4142 -1.4142 lineto + 1.2625 -1.2625 lineto + %middle radial + 1.2625 -1.2625 lineto + 1.1107 -1.1107 lineto + %end radial + 1.1107 -1.1107 lineto + 1.0541 -1.1646 lineto + 0.9954 -1.2151 lineto + 0.9349 -1.2623 lineto + 0.8727 -1.3061 lineto + %middle circumferential + 0.8727 -1.3061 lineto + 0.8066 -1.3479 lineto + 0.7392 -1.386 lineto + 0.6706 -1.4204 lineto + 0.6011 -1.4512 lineto + %end circumferential + closepath +currentgray 0.5193333333333334 setgray fill setgray +% Sector from 4.7124 to 5.1051 (quadrant 3) +newpath + 0.0 -1.5708 moveto + 0.0 -1.7854 lineto + %middle radial + 0.0 -1.7854 lineto + 0.0 -2.0 lineto + %end radial + 0.0 -2.0 lineto + 0.0966 -1.9977 lineto + 0.194 -1.9906 lineto + 0.292 -1.9786 lineto + 0.3902 -1.9616 lineto + %middle circumferential + 0.3902 -1.9616 lineto + 0.4846 -1.9404 lineto + 0.5787 -1.9144 lineto + 0.6724 -1.8836 lineto + 0.7654 -1.8478 lineto + %end circumferential + 0.7654 -1.8478 lineto + 0.6832 -1.6495 lineto + %middle radial + 0.6832 -1.6495 lineto + 0.6011 -1.4512 lineto + %end radial + 0.6011 -1.4512 lineto + 0.5281 -1.4794 lineto + 0.4545 -1.5036 lineto + 0.3806 -1.524 lineto + 0.3064 -1.5406 lineto + %middle circumferential + 0.3064 -1.5406 lineto + 0.2293 -1.554 lineto + 0.1524 -1.5634 lineto + 0.0759 -1.569 lineto + 0.0 -1.5708 lineto + %end circumferential + closepath +currentgray 0.554 setgray fill setgray +% Sector from 4.3197 to 4.7124 (quadrant 2) +newpath + -0.6011 -1.4512 moveto + -0.6832 -1.6495 lineto + %middle radial + -0.6832 -1.6495 lineto + -0.7654 -1.8478 lineto + %end radial + -0.7654 -1.8478 lineto + -0.6753 -1.8825 lineto + -0.5827 -1.9132 lineto + -0.4876 -1.9397 lineto + -0.3902 -1.9616 lineto + %middle circumferential + -0.3902 -1.9616 lineto + -0.295 -1.9781 lineto + -0.1981 -1.9902 lineto + -0.0997 -1.9975 lineto + 0.0 -2.0 lineto + %end circumferential + 0.0 -2.0 lineto + 0.0 -1.7854 lineto + %middle radial + 0.0 -1.7854 lineto + 0.0 -1.5708 lineto + %end radial + 0.0 -1.5708 lineto + -0.0783 -1.5688 lineto + -0.1556 -1.5631 lineto + -0.2317 -1.5536 lineto + -0.3064 -1.5406 lineto + %middle circumferential + -0.3064 -1.5406 lineto + -0.3829 -1.5234 lineto + -0.4576 -1.5027 lineto + -0.5304 -1.4785 lineto + -0.6011 -1.4512 lineto + %end circumferential + closepath +currentgray 0.5886666666666667 setgray fill setgray +% Sector from 3.927 to 4.3197 (quadrant 2) +newpath + -1.1107 -1.1107 moveto + -1.2625 -1.2625 lineto + %middle radial + -1.2625 -1.2625 lineto + -1.4142 -1.4142 lineto + %end radial + -1.4142 -1.4142 lineto + -1.3444 -1.4807 lineto + -1.2706 -1.5445 lineto + -1.1928 -1.6053 lineto + -1.1111 -1.6629 lineto + %middle circumferential + -1.1111 -1.6629 lineto + -1.0297 -1.7146 lineto + -0.9448 -1.7628 lineto + -0.8567 -1.8072 lineto + -0.7654 -1.8478 lineto + %end circumferential + -0.7654 -1.8478 lineto + -0.6832 -1.6495 lineto + %middle radial + -0.6832 -1.6495 lineto + -0.6011 -1.4512 lineto + %end radial + -0.6011 -1.4512 lineto + -0.6728 -1.4194 lineto + -0.742 -1.3845 lineto + -0.8087 -1.3466 lineto + -0.8727 -1.3061 lineto + %middle circumferential + -0.8727 -1.3061 lineto + -0.9369 -1.2608 lineto + -0.998 -1.213 lineto + -1.0559 -1.1629 lineto + -1.1107 -1.1107 lineto + %end circumferential + closepath +currentgray 0.6233333333333333 setgray fill setgray +% Sector from 3.5343 to 3.927 (quadrant 2) +newpath + -1.4512 -0.6011 moveto + -1.6495 -0.6832 lineto + %middle radial + -1.6495 -0.6832 lineto + -1.8478 -0.7654 lineto + %end radial + -1.8478 -0.7654 lineto + -1.8088 -0.8533 lineto + -1.7651 -0.9405 lineto + -1.7165 -1.0265 lineto + -1.6629 -1.1111 lineto + %middle circumferential + -1.6629 -1.1111 lineto + -1.6075 -1.1899 lineto + -1.5476 -1.2668 lineto + -1.4832 -1.3417 lineto + -1.4142 -1.4142 lineto + %end circumferential + -1.4142 -1.4142 lineto + -1.2625 -1.2625 lineto + %middle radial + -1.2625 -1.2625 lineto + -1.1107 -1.1107 lineto + %end radial + -1.1107 -1.1107 lineto + -1.1649 -1.0538 lineto + -1.2155 -0.995 lineto + -1.2626 -0.9345 lineto + -1.3061 -0.8727 lineto + %middle circumferential + -1.3061 -0.8727 lineto + -1.3481 -0.8062 lineto + -1.3863 -0.7386 lineto + -1.4206 -0.6702 lineto + -1.4512 -0.6011 lineto + %end circumferential + closepath +currentgray 0.658 setgray fill setgray +% Sector from 3.1416 to 3.5343 (quadrant 2) +newpath + -1.5708 0.0 moveto + -1.7854 0.0 lineto + %middle radial + -1.7854 0.0 lineto + -2.0 0.0 lineto + %end radial + -2.0 0.0 lineto + -1.9977 -0.0959 lineto + -1.9907 -0.1931 lineto + -1.9787 -0.2912 lineto + -1.9616 -0.3902 lineto + %middle circumferential + -1.9616 -0.3902 lineto + -1.9406 -0.4839 lineto + -1.9147 -0.5779 lineto + -1.8838 -0.6718 lineto + -1.8478 -0.7654 lineto + %end circumferential + -1.8478 -0.7654 lineto + -1.6495 -0.6832 lineto + %middle radial + -1.6495 -0.6832 lineto + -1.4512 -0.6011 lineto + %end radial + -1.4512 -0.6011 lineto + -1.4795 -0.5276 lineto + -1.5038 -0.4539 lineto + -1.5241 -0.3801 lineto + -1.5406 -0.3064 lineto + %middle circumferential + -1.5406 -0.3064 lineto + -1.5541 -0.2287 lineto + -1.5635 -0.1516 lineto + -1.569 -0.0753 lineto + -1.5708 0.0 lineto + %end circumferential + closepath +currentgray 0.6926666666666667 setgray fill setgray +% Sector from 2.7489 to 3.1416 (quadrant 1) +newpath + -1.4512 0.6011 moveto + -1.6495 0.6832 lineto + %middle radial + -1.6495 0.6832 lineto + -1.8478 0.7654 lineto + %end radial + -1.8478 0.7654 lineto + -1.8822 0.6762 lineto + -1.9129 0.5838 lineto + -1.9394 0.4884 lineto + -1.9616 0.3902 lineto + %middle circumferential + -1.9616 0.3902 lineto + -1.978 0.2958 lineto + -1.9901 0.1992 lineto + -1.9975 0.1005 lineto + -2.0 0.0 lineto + %end circumferential + -2.0 0.0 lineto + -1.7854 0.0 lineto + %middle radial + -1.7854 0.0 lineto + -1.5708 0.0 lineto + %end radial + -1.5708 0.0 lineto + -1.5688 0.0789 lineto + -1.563 0.1564 lineto + -1.5535 0.2323 lineto + -1.5406 0.3064 lineto + %middle circumferential + -1.5406 0.3064 lineto + -1.5232 0.3836 lineto + -1.5024 0.4585 lineto + -1.4783 0.5311 lineto + -1.4512 0.6011 lineto + %end circumferential + closepath +currentgray 0.7273333333333334 setgray fill setgray +% Sector from 2.3562 to 2.7489 (quadrant 1) +newpath + -1.1107 1.1107 moveto + -1.2625 1.2625 lineto + %middle radial + -1.2625 1.2625 lineto + -1.4142 1.4142 lineto + %end radial + -1.4142 1.4142 lineto + -1.4799 1.3453 lineto + -1.5435 1.2718 lineto + -1.6046 1.1938 lineto + -1.6629 1.1111 lineto + %middle circumferential + -1.6629 1.1111 lineto + -1.7141 1.0305 lineto + -1.7621 0.946 lineto + -1.8068 0.8576 lineto + -1.8478 0.7654 lineto + %end circumferential + -1.8478 0.7654 lineto + -1.6495 0.6832 lineto + %middle radial + -1.6495 0.6832 lineto + -1.4512 0.6011 lineto + %end radial + -1.4512 0.6011 lineto + -1.4191 0.6736 lineto + -1.384 0.743 lineto + -1.3462 0.8094 lineto + -1.3061 0.8727 lineto + %middle circumferential + -1.3061 0.8727 lineto + -1.2603 0.9376 lineto + -1.2123 0.9989 lineto + -1.1623 1.0566 lineto + -1.1107 1.1107 lineto + %end circumferential + closepath +currentgray 0.762 setgray fill setgray +% Sector from 1.9635 to 2.3562 (quadrant 1) +newpath + -0.6011 1.4512 moveto + -0.6832 1.6495 lineto + %middle radial + -0.6832 1.6495 lineto + -0.7654 1.8478 lineto + %end radial + -0.7654 1.8478 lineto + -0.852 1.8095 lineto + -0.9387 1.766 lineto + -1.0252 1.7173 lineto + -1.1111 1.6629 lineto + %middle circumferential + -1.1111 1.6629 lineto + -1.1888 1.6083 lineto + -1.2655 1.5487 lineto + -1.3407 1.4841 lineto + -1.4142 1.4142 lineto + %end circumferential + -1.4142 1.4142 lineto + -1.2625 1.2625 lineto + %middle radial + -1.2625 1.2625 lineto + -1.1107 1.1107 lineto + %end radial + -1.1107 1.1107 lineto + -1.053 1.1656 lineto + -0.9939 1.2164 lineto + -0.9337 1.2632 lineto + -0.8727 1.3061 lineto + %middle circumferential + -0.8727 1.3061 lineto + -0.8052 1.3487 lineto + -0.7372 1.387 lineto + -0.6691 1.4211 lineto + -0.6011 1.4512 lineto + %end circumferential + closepath +currentgray 0.7966666666666666 setgray fill setgray +% Sector from 1.5708 to 1.9635 (quadrant 1) +newpath + 0.0 1.5708 moveto + 0.0 1.7854 lineto + %middle radial + 0.0 1.7854 lineto + 0.0 2.0 lineto + %end radial + 0.0 2.0 lineto + -0.0938 1.9978 lineto + -0.1903 1.9909 lineto + -0.2891 1.979 lineto + -0.3902 1.9616 lineto + %middle circumferential + -0.3902 1.9616 lineto + -0.4822 1.941 lineto + -0.5756 1.9154 lineto + -0.6701 1.8844 lineto + -0.7654 1.8478 lineto + %end circumferential + -0.7654 1.8478 lineto + -0.6832 1.6495 lineto + %middle radial + -0.6832 1.6495 lineto + -0.6011 1.4512 lineto + %end radial + -0.6011 1.4512 lineto + -0.5263 1.48 lineto + -0.4521 1.5043 lineto + -0.3787 1.5245 lineto + -0.3064 1.5406 lineto + %middle circumferential + -0.3064 1.5406 lineto + -0.2271 1.5543 lineto + -0.1494 1.5637 lineto + -0.0737 1.5691 lineto + 0.0 1.5708 lineto + %end circumferential + closepath +currentgray 0.8313333333333334 setgray fill setgray +% Sector from 1.1781 to 1.5708 (quadrant 0) +newpath + 0.6011 1.4512 moveto + 0.6832 1.6495 lineto + %middle radial + 0.6832 1.6495 lineto + 0.7654 1.8478 lineto + %end radial + 0.7654 1.8478 lineto + 0.679 1.8812 lineto + 0.5878 1.9117 lineto + 0.4915 1.9387 lineto + 0.3902 1.9616 lineto + %middle circumferential + 0.3902 1.9616 lineto + 0.2983 1.9776 lineto + 0.2026 1.9897 lineto + 0.1031 1.9973 lineto + 0.0 2.0 lineto + %end circumferential + 0.0 2.0 lineto + 0.0 1.7854 lineto + %middle radial + 0.0 1.7854 lineto + 0.0 1.5708 lineto + %end radial + 0.0 1.5708 lineto + 0.081 1.5687 lineto + 0.1591 1.5627 lineto + 0.2343 1.5532 lineto + 0.3064 1.5406 lineto + %middle circumferential + 0.3064 1.5406 lineto + 0.386 1.5226 lineto + 0.4617 1.5014 lineto + 0.5333 1.4775 lineto + 0.6011 1.4512 lineto + %end circumferential + closepath +currentgray 0.866 setgray fill setgray +% Sector from 0.7854 to 1.1781 (quadrant 0) +newpath + 1.1107 1.1107 moveto + 1.2625 1.2625 lineto + %middle radial + 1.2625 1.2625 lineto + 1.4142 1.4142 lineto + %end radial + 1.4142 1.4142 lineto + 1.3491 1.4765 lineto + 1.2772 1.5391 lineto + 1.1981 1.6014 lineto + 1.1111 1.6629 lineto + %middle circumferential + 1.1111 1.6629 lineto + 1.0339 1.7121 lineto + 0.9507 1.7596 lineto + 0.8613 1.8051 lineto + 0.7654 1.8478 lineto + %end circumferential + 0.7654 1.8478 lineto + 0.6832 1.6495 lineto + %middle radial + 0.6832 1.6495 lineto + 0.6011 1.4512 lineto + %end radial + 0.6011 1.4512 lineto + 0.6764 1.4177 lineto + 0.7467 1.382 lineto + 0.812 1.3446 lineto + 0.8727 1.3061 lineto + %middle circumferential + 0.8727 1.3061 lineto + 0.941 1.2578 lineto + 1.0031 1.2088 lineto + 1.0596 1.1596 lineto + 1.1107 1.1107 lineto + %end circumferential + closepath +currentgray 0.9006666666666666 setgray fill setgray +% Sector from 0.3927 to 0.7854 (quadrant 0) +newpath + 1.4512 0.6011 moveto + 1.6495 0.6832 lineto + %middle radial + 1.6495 0.6832 lineto + 1.8478 0.7654 lineto + %end radial + 1.8478 0.7654 lineto + 1.8141 0.8421 lineto + 1.7731 0.9253 lineto + 1.7233 1.015 lineto + 1.6629 1.1111 lineto + %middle circumferential + 1.6629 1.1111 lineto + 1.6125 1.1831 lineto + 1.5549 1.2579 lineto + 1.4892 1.3351 lineto + 1.4142 1.4142 lineto + %end circumferential + 1.4142 1.4142 lineto + 1.2625 1.2625 lineto + %middle radial + 1.2625 1.2625 lineto + 1.1107 1.1107 lineto + %end radial + 1.1107 1.1107 lineto + 1.1696 1.0486 lineto + 1.2212 0.9879 lineto + 1.2665 0.9292 lineto + 1.3061 0.8727 lineto + %middle circumferential + 1.3061 0.8727 lineto + 1.3535 0.7972 lineto + 1.3926 0.7267 lineto + 1.4248 0.6614 lineto + 1.4512 0.6011 lineto + %end circumferential + closepath +currentgray 0.9353333333333332 setgray fill setgray +% Sector from 0.0 to 0.3927 (quadrant 0) +newpath + 1.5708 0.0 moveto + 1.7854 0.0 lineto + %middle radial + 1.7854 0.0 lineto + 2.0 0.0 lineto + %end radial + 2.0 0.0 lineto + 1.9995 0.0452 lineto + 1.9956 0.1331 lineto + 1.9869 0.2282 lineto + 1.9732 0.3265 lineto + 1.9616 0.3902 lineto + %middle circumferential + 1.9616 0.3902 lineto + 1.9457 0.4628 lineto + 1.9234 0.5483 lineto + 1.8919 0.6485 lineto + 1.8717 0.7047 lineto + 1.8478 0.7654 lineto + %end circumferential + 1.8478 0.7654 lineto + 1.6495 0.6832 lineto + %middle radial + 1.6495 0.6832 lineto + 1.4512 0.6011 lineto + %end radial + 1.4512 0.6011 lineto + 1.47 0.5535 lineto + 1.4993 0.4684 lineto + 1.5201 0.3957 lineto + 1.5406 0.3064 lineto + %middle circumferential + 1.5406 0.3064 lineto + 1.5561 0.2144 lineto + 1.5636 0.1498 lineto + 1.5691 0.073 lineto + 1.5708 0.001 lineto + 1.5708 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 3.0 3.1416 32 0.97 0.45 +% Sector from 6.0868 to 6.2832 (quadrant 3) +newpath + 2.9424 -0.5853 moveto + 3.0118 -0.5991 lineto + %middle radial + 3.0118 -0.5991 lineto + 3.0812 -0.6129 lineto + %end radial + 3.0812 -0.6129 lineto + 3.0953 -0.5375 lineto + 3.1075 -0.4616 lineto + 3.1179 -0.385 lineto + 3.1265 -0.3079 lineto + %middle circumferential + 3.1265 -0.3079 lineto + 3.133 -0.2316 lineto + 3.1378 -0.1548 lineto + 3.1406 -0.0776 lineto + 3.1416 0.0 lineto + %end circumferential + 3.1416 0.0 lineto + 3.0708 0.0 lineto + %middle radial + 3.0708 0.0 lineto + 3.0 0.0 lineto + %end radial + 3.0 0.0 lineto + 2.9991 -0.0741 lineto + 2.9964 -0.1478 lineto + 2.9918 -0.2211 lineto + 2.9856 -0.2941 lineto + %middle circumferential + 2.9856 -0.2941 lineto + 2.9774 -0.3677 lineto + 2.9674 -0.4408 lineto + 2.9558 -0.5133 lineto + 2.9424 -0.5853 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.8905 to 6.0868 (quadrant 3) +newpath + 2.7716 -1.1481 moveto + 2.837 -1.1751 lineto + %middle radial + 2.837 -1.1751 lineto + 2.9025 -1.2022 lineto + %end radial + 2.9025 -1.2022 lineto + 2.9309 -1.1311 lineto + 2.9577 -1.059 lineto + 2.9829 -0.9859 lineto + 3.0063 -0.912 lineto + %middle circumferential + 3.0063 -0.912 lineto + 3.0277 -0.8384 lineto + 3.0473 -0.764 lineto + 3.0652 -0.6888 lineto + 3.0812 -0.6129 lineto + %end circumferential + 3.0812 -0.6129 lineto + 3.0118 -0.5991 lineto + %middle radial + 3.0118 -0.5991 lineto + 2.9424 -0.5853 lineto + %end radial + 2.9424 -0.5853 lineto + 2.927 -0.6577 lineto + 2.9099 -0.7295 lineto + 2.8912 -0.8006 lineto + 2.8708 -0.8709 lineto + %middle circumferential + 2.8708 -0.8709 lineto + 2.8484 -0.9415 lineto + 2.8244 -1.0112 lineto + 2.7988 -1.0801 lineto + 2.7716 -1.1481 lineto + %end circumferential + closepath +currentgray 0.4667741935483871 setgray fill setgray +% Sector from 5.6941 to 5.8905 (quadrant 3) +newpath + 2.4944 -1.6667 moveto + 2.5533 -1.706 lineto + %middle radial + 2.5533 -1.706 lineto + 2.6121 -1.7454 lineto + %end radial + 2.6121 -1.7454 lineto + 2.6539 -1.6812 lineto + 2.6943 -1.6157 lineto + 2.7332 -1.5489 lineto + 2.7706 -1.4809 lineto + %middle circumferential + 2.7706 -1.4809 lineto + 2.8059 -1.4129 lineto + 2.8397 -1.3438 lineto + 2.8719 -1.2735 lineto + 2.9025 -1.2022 lineto + %end circumferential + 2.9025 -1.2022 lineto + 2.837 -1.1751 lineto + %middle radial + 2.837 -1.1751 lineto + 2.7716 -1.1481 lineto + %end radial + 2.7716 -1.1481 lineto + 2.7424 -1.2161 lineto + 2.7117 -1.2832 lineto + 2.6795 -1.3492 lineto + 2.6458 -1.4142 lineto + %middle circumferential + 2.6458 -1.4142 lineto + 2.61 -1.4791 lineto + 2.5729 -1.5428 lineto + 2.5343 -1.6054 lineto + 2.4944 -1.6667 lineto + %end circumferential + closepath +currentgray 0.4835483870967742 setgray fill setgray +% Sector from 5.4978 to 5.6941 (quadrant 3) +newpath + 2.1213 -2.1213 moveto + 2.1714 -2.1714 lineto + %middle radial + 2.1714 -2.1714 lineto + 2.2214 -2.2214 lineto + %end radial + 2.2214 -2.2214 lineto + 2.2749 -2.1666 lineto + 2.3273 -2.1103 lineto + 2.3785 -2.0524 lineto + 2.4285 -1.993 lineto + %middle circumferential + 2.4285 -1.993 lineto + 2.4764 -1.9332 lineto + 2.523 -1.872 lineto + 2.5682 -1.8094 lineto + 2.6121 -1.7454 lineto + %end circumferential + 2.6121 -1.7454 lineto + 2.5533 -1.706 lineto + %middle radial + 2.5533 -1.706 lineto + 2.4944 -1.6667 lineto + %end radial + 2.4944 -1.6667 lineto + 2.4525 -1.7278 lineto + 2.4092 -1.7876 lineto + 2.3647 -1.8461 lineto + 2.319 -1.9032 lineto + %middle circumferential + 2.319 -1.9032 lineto + 2.2713 -1.9599 lineto + 2.2224 -2.0152 lineto + 2.1724 -2.069 lineto + 2.1213 -2.1213 lineto + %end circumferential + closepath +currentgray 0.5003225806451613 setgray fill setgray +% Sector from 5.3014 to 5.4978 (quadrant 3) +newpath + 1.6667 -2.4944 moveto + 1.706 -2.5533 lineto + %middle radial + 1.706 -2.5533 lineto + 1.7454 -2.6121 lineto + %end radial + 1.7454 -2.6121 lineto + 1.8085 -2.5688 lineto + 1.8709 -2.5238 lineto + 1.9324 -2.477 lineto + 1.993 -2.4285 lineto + %middle circumferential + 1.993 -2.4285 lineto + 2.0516 -2.3792 lineto + 2.1092 -2.3282 lineto + 2.1659 -2.2756 lineto + 2.2214 -2.2214 lineto + %end circumferential + 2.2214 -2.2214 lineto + 2.1714 -2.1714 lineto + %middle radial + 2.1714 -2.1714 lineto + 2.1213 -2.1213 lineto + %end radial + 2.1213 -2.1213 lineto + 2.0683 -2.1731 lineto + 2.0142 -2.2233 lineto + 1.9591 -2.272 lineto + 1.9032 -2.319 lineto + %middle circumferential + 1.9032 -2.319 lineto + 1.8453 -2.3654 lineto + 1.7866 -2.41 lineto + 1.727 -2.453 lineto + 1.6667 -2.4944 lineto + %end circumferential + closepath +currentgray 0.5170967741935484 setgray fill setgray +% Sector from 5.1051 to 5.3014 (quadrant 3) +newpath + 1.1481 -2.7716 moveto + 1.1751 -2.837 lineto + %middle radial + 1.1751 -2.837 lineto + 1.2022 -2.9025 lineto + %end radial + 1.2022 -2.9025 lineto + 1.2726 -2.8723 lineto + 1.3425 -2.8403 lineto + 1.412 -2.8064 lineto + 1.4809 -2.7706 lineto + %middle circumferential + 1.4809 -2.7706 lineto + 1.548 -2.7337 lineto + 1.6145 -2.695 lineto + 1.6803 -2.6545 lineto + 1.7454 -2.6121 lineto + %end circumferential + 1.7454 -2.6121 lineto + 1.706 -2.5533 lineto + %middle radial + 1.706 -2.5533 lineto + 1.6667 -2.4944 lineto + %end radial + 1.6667 -2.4944 lineto + 1.6046 -2.5348 lineto + 1.5417 -2.5735 lineto + 1.4782 -2.6105 lineto + 1.4142 -2.6458 lineto + %middle circumferential + 1.4142 -2.6458 lineto + 1.3484 -2.6799 lineto + 1.282 -2.7123 lineto + 1.2152 -2.7428 lineto + 1.1481 -2.7716 lineto + %end circumferential + closepath +currentgray 0.5338709677419355 setgray fill setgray +% Sector from 4.9087 to 5.1051 (quadrant 3) +newpath + 0.5853 -2.9424 moveto + 0.5991 -3.0118 lineto + %middle radial + 0.5991 -3.0118 lineto + 0.6129 -3.0812 lineto + %end radial + 0.6129 -3.0812 lineto + 0.6878 -3.0654 lineto + 0.7626 -3.0476 lineto + 0.8374 -3.0279 lineto + 0.912 -3.0063 lineto + %middle circumferential + 0.912 -3.0063 lineto + 0.9849 -2.9832 lineto + 1.0577 -2.9582 lineto + 1.1301 -2.9313 lineto + 1.2022 -2.9025 lineto + %end circumferential + 1.2022 -2.9025 lineto + 1.1751 -2.837 lineto + %middle radial + 1.1751 -2.837 lineto + 1.1481 -2.7716 lineto + %end radial + 1.1481 -2.7716 lineto + 1.0792 -2.7992 lineto + 1.01 -2.8249 lineto + 0.9405 -2.8488 lineto + 0.8709 -2.8708 lineto + %middle circumferential + 0.8709 -2.8708 lineto + 0.7996 -2.8915 lineto + 0.7282 -2.9103 lineto + 0.6568 -2.9272 lineto + 0.5853 -2.9424 lineto + %end circumferential + closepath +currentgray 0.5506451612903226 setgray fill setgray +% Sector from 4.7124 to 4.9087 (quadrant 3) +newpath + 0.0 -3.0 moveto + 0.0 -3.0708 lineto + %middle radial + 0.0 -3.0708 lineto + 0.0 -3.1416 lineto + %end radial + 0.0 -3.1416 lineto + 0.0765 -3.1407 lineto + 0.1534 -3.1378 lineto + 0.2305 -3.1331 lineto + 0.3079 -3.1265 lineto + %middle circumferential + 0.3079 -3.1265 lineto + 0.384 -3.118 lineto + 0.4602 -3.1077 lineto + 0.5365 -3.0954 lineto + 0.6129 -3.0812 lineto + %end circumferential + 0.6129 -3.0812 lineto + 0.5991 -3.0118 lineto + %middle radial + 0.5991 -3.0118 lineto + 0.5853 -2.9424 lineto + %end radial + 0.5853 -2.9424 lineto + 0.5123 -2.9559 lineto + 0.4395 -2.9676 lineto + 0.3667 -2.9775 lineto + 0.2941 -2.9856 lineto + %middle circumferential + 0.2941 -2.9856 lineto + 0.2201 -2.9919 lineto + 0.1464 -2.9964 lineto + 0.0731 -2.9991 lineto + 0.0 -3.0 lineto + %end circumferential + closepath +currentgray 0.5674193548387096 setgray fill setgray +% Sector from 4.516 to 4.7124 (quadrant 2) +newpath + -0.5853 -2.9424 moveto + -0.5991 -3.0118 lineto + %middle radial + -0.5991 -3.0118 lineto + -0.6129 -3.0812 lineto + %end radial + -0.6129 -3.0812 lineto + -0.5377 -3.0952 lineto + -0.4618 -3.1075 lineto + -0.3852 -3.1179 lineto + -0.3079 -3.1265 lineto + %middle circumferential + -0.3079 -3.1265 lineto + -0.2317 -3.133 lineto + -0.155 -3.1378 lineto + -0.0777 -3.1406 lineto + 0.0 -3.1416 lineto + %end circumferential + 0.0 -3.1416 lineto + 0.0 -3.0708 lineto + %middle radial + 0.0 -3.0708 lineto + 0.0 -3.0 lineto + %end radial + 0.0 -3.0 lineto + -0.0742 -2.9991 lineto + -0.148 -2.9963 lineto + -0.2213 -2.9918 lineto + -0.2941 -2.9856 lineto + %middle circumferential + -0.2941 -2.9856 lineto + -0.3678 -2.9774 lineto + -0.441 -2.9674 lineto + -0.5135 -2.9557 lineto + -0.5853 -2.9424 lineto + %end circumferential + closepath +currentgray 0.5841935483870968 setgray fill setgray +% Sector from 4.3197 to 4.516 (quadrant 2) +newpath + -1.1481 -2.7716 moveto + -1.1751 -2.837 lineto + %middle radial + -1.1751 -2.837 lineto + -1.2022 -2.9025 lineto + %end radial + -1.2022 -2.9025 lineto + -1.1312 -2.9308 lineto + -1.0592 -2.9577 lineto + -0.9861 -2.9828 lineto + -0.912 -3.0063 lineto + %middle circumferential + -0.912 -3.0063 lineto + -0.8385 -3.0276 lineto + -0.7642 -3.0472 lineto + -0.6889 -3.0651 lineto + -0.6129 -3.0812 lineto + %end circumferential + -0.6129 -3.0812 lineto + -0.5991 -3.0118 lineto + %middle radial + -0.5991 -3.0118 lineto + -0.5853 -2.9424 lineto + %end radial + -0.5853 -2.9424 lineto + -0.6579 -2.927 lineto + -0.7297 -2.9099 lineto + -0.8007 -2.8912 lineto + -0.8709 -2.8708 lineto + %middle circumferential + -0.8709 -2.8708 lineto + -0.9416 -2.8484 lineto + -1.0114 -2.8244 lineto + -1.0803 -2.7988 lineto + -1.1481 -2.7716 lineto + %end circumferential + closepath +currentgray 0.600967741935484 setgray fill setgray +% Sector from 4.1233 to 4.3197 (quadrant 2) +newpath + -1.6667 -2.4944 moveto + -1.706 -2.5533 lineto + %middle radial + -1.706 -2.5533 lineto + -1.7454 -2.6121 lineto + %end radial + -1.7454 -2.6121 lineto + -1.6813 -2.6538 lineto + -1.6159 -2.6942 lineto + -1.5491 -2.7331 lineto + -1.4809 -2.7706 lineto + %middle circumferential + -1.4809 -2.7706 lineto + -1.4131 -2.8058 lineto + -1.344 -2.8396 lineto + -1.2737 -2.8718 lineto + -1.2022 -2.9025 lineto + %end circumferential + -1.2022 -2.9025 lineto + -1.1751 -2.837 lineto + %middle radial + -1.1751 -2.837 lineto + -1.1481 -2.7716 lineto + %end radial + -1.1481 -2.7716 lineto + -1.2163 -2.7424 lineto + -1.2834 -2.7116 lineto + -1.3494 -2.6794 lineto + -1.4142 -2.6458 lineto + %middle circumferential + -1.4142 -2.6458 lineto + -1.4793 -2.6099 lineto + -1.5431 -2.5727 lineto + -1.6055 -2.5342 lineto + -1.6667 -2.4944 lineto + %end circumferential + closepath +currentgray 0.6177419354838709 setgray fill setgray +% Sector from 3.927 to 4.1233 (quadrant 2) +newpath + -2.1213 -2.1213 moveto + -2.1714 -2.1714 lineto + %middle radial + -2.1714 -2.1714 lineto + -2.2214 -2.2214 lineto + %end radial + -2.2214 -2.2214 lineto + -2.1668 -2.2748 lineto + -2.1105 -2.3271 lineto + -2.0525 -2.3784 lineto + -1.993 -2.4285 lineto + %middle circumferential + -1.993 -2.4285 lineto + -1.9334 -2.4762 lineto + -1.8722 -2.5228 lineto + -1.8095 -2.5681 lineto + -1.7454 -2.6121 lineto + %end circumferential + -1.7454 -2.6121 lineto + -1.706 -2.5533 lineto + %middle radial + -1.706 -2.5533 lineto + -1.6667 -2.4944 lineto + %end radial + -1.6667 -2.4944 lineto + -1.728 -2.4524 lineto + -1.7878 -2.4091 lineto + -1.8462 -2.3646 lineto + -1.9032 -2.319 lineto + %middle circumferential + -1.9032 -2.319 lineto + -1.96 -2.2712 lineto + -2.0154 -2.2222 lineto + -2.0691 -2.1723 lineto + -2.1213 -2.1213 lineto + %end circumferential + closepath +currentgray 0.6345161290322581 setgray fill setgray +% Sector from 3.7306 to 3.927 (quadrant 2) +newpath + -2.4944 -1.6667 moveto + -2.5533 -1.706 lineto + %middle radial + -2.5533 -1.706 lineto + -2.6121 -1.7454 lineto + %end radial + -2.6121 -1.7454 lineto + -2.5689 -1.8083 lineto + -2.5239 -1.8706 lineto + -2.4771 -1.9322 lineto + -2.4285 -1.993 lineto + %middle circumferential + -2.4285 -1.993 lineto + -2.3793 -2.0514 lineto + -2.3284 -2.109 lineto + -2.2758 -2.1657 lineto + -2.2214 -2.2214 lineto + %end circumferential + -2.2214 -2.2214 lineto + -2.1714 -2.1714 lineto + %middle radial + -2.1714 -2.1714 lineto + -2.1213 -2.1213 lineto + %end radial + -2.1213 -2.1213 lineto + -2.1732 -2.0681 lineto + -2.2235 -2.014 lineto + -2.2721 -1.959 lineto + -2.319 -1.9032 lineto + %middle circumferential + -2.319 -1.9032 lineto + -2.3655 -1.8451 lineto + -2.4102 -1.7863 lineto + -2.4532 -1.7268 lineto + -2.4944 -1.6667 lineto + %end circumferential + closepath +currentgray 0.6512903225806452 setgray fill setgray +% Sector from 3.5343 to 3.7306 (quadrant 2) +newpath + -2.7716 -1.1481 moveto + -2.837 -1.1751 lineto + %middle radial + -2.837 -1.1751 lineto + -2.9025 -1.2022 lineto + %end radial + -2.9025 -1.2022 lineto + -2.8724 -1.2724 lineto + -2.8404 -1.3422 lineto + -2.8065 -1.4118 lineto + -2.7706 -1.4809 lineto + %middle circumferential + -2.7706 -1.4809 lineto + -2.7338 -1.5478 lineto + -2.6952 -1.6142 lineto + -2.6546 -1.6801 lineto + -2.6121 -1.7454 lineto + %end circumferential + -2.6121 -1.7454 lineto + -2.5533 -1.706 lineto + %middle radial + -2.5533 -1.706 lineto + -2.4944 -1.6667 lineto + %end radial + -2.4944 -1.6667 lineto + -2.535 -1.6044 lineto + -2.5737 -1.5415 lineto + -2.6106 -1.4781 lineto + -2.6458 -1.4142 lineto + %middle circumferential + -2.6458 -1.4142 lineto + -2.68 -1.3482 lineto + -2.7124 -1.2818 lineto + -2.7429 -1.215 lineto + -2.7716 -1.1481 lineto + %end circumferential + closepath +currentgray 0.6680645161290323 setgray fill setgray +% Sector from 3.3379 to 3.5343 (quadrant 2) +newpath + -2.9424 -0.5853 moveto + -3.0118 -0.5991 lineto + %middle radial + -3.0118 -0.5991 lineto + -3.0812 -0.6129 lineto + %end radial + -3.0812 -0.6129 lineto + -3.0654 -0.6875 lineto + -3.0477 -0.7623 lineto + -3.028 -0.8371 lineto + -3.0063 -0.912 lineto + %middle circumferential + -3.0063 -0.912 lineto + -2.9833 -0.9847 lineto + -2.9583 -1.0573 lineto + -2.9314 -1.1299 lineto + -2.9025 -1.2022 lineto + %end circumferential + -2.9025 -1.2022 lineto + -2.837 -1.1751 lineto + %middle radial + -2.837 -1.1751 lineto + -2.7716 -1.1481 lineto + %end radial + -2.7716 -1.1481 lineto + -2.7993 -1.079 lineto + -2.825 -1.0097 lineto + -2.8488 -0.9403 lineto + -2.8708 -0.8709 lineto + %middle circumferential + -2.8708 -0.8709 lineto + -2.8915 -0.7994 lineto + -2.9104 -0.7279 lineto + -2.9273 -0.6565 lineto + -2.9424 -0.5853 lineto + %end circumferential + closepath +currentgray 0.6848387096774193 setgray fill setgray +% Sector from 3.1416 to 3.3379 (quadrant 2) +newpath + -3.0 0.0 moveto + -3.0708 0.0 lineto + %middle radial + -3.0708 0.0 lineto + -3.1416 0.0 lineto + %end radial + -3.1416 0.0 lineto + -3.1407 -0.0762 lineto + -3.1379 -0.153 lineto + -3.1331 -0.2302 lineto + -3.1265 -0.3079 lineto + %middle circumferential + -3.1265 -0.3079 lineto + -3.1181 -0.3837 lineto + -3.1078 -0.4598 lineto + -3.0955 -0.5362 lineto + -3.0812 -0.6129 lineto + %end circumferential + -3.0812 -0.6129 lineto + -3.0118 -0.5991 lineto + %middle radial + -3.0118 -0.5991 lineto + -2.9424 -0.5853 lineto + %end radial + -2.9424 -0.5853 lineto + -2.956 -0.5121 lineto + -2.9677 -0.4391 lineto + -2.9775 -0.3664 lineto + -2.9856 -0.2941 lineto + %middle circumferential + -2.9856 -0.2941 lineto + -2.9919 -0.2198 lineto + -2.9964 -0.1461 lineto + -2.9991 -0.0728 lineto + -3.0 0.0 lineto + %end circumferential + closepath +currentgray 0.7016129032258065 setgray fill setgray +% Sector from 2.9452 to 3.1416 (quadrant 1) +newpath + -2.9424 0.5853 moveto + -3.0118 0.5991 lineto + %middle radial + -3.0118 0.5991 lineto + -3.0812 0.6129 lineto + %end radial + -3.0812 0.6129 lineto + -3.0952 0.538 lineto + -3.1074 0.4622 lineto + -3.1178 0.3855 lineto + -3.1265 0.3079 lineto + %middle circumferential + -3.1265 0.3079 lineto + -3.133 0.232 lineto + -3.1377 0.1554 lineto + -3.1406 0.078 lineto + -3.1416 0.0 lineto + %end circumferential + -3.1416 0.0 lineto + -3.0708 0.0 lineto + %middle radial + -3.0708 0.0 lineto + -3.0 0.0 lineto + %end radial + -3.0 0.0 lineto + -2.9991 0.0745 lineto + -2.9963 0.1484 lineto + -2.9918 0.2216 lineto + -2.9856 0.2941 lineto + %middle circumferential + -2.9856 0.2941 lineto + -2.9773 0.3681 lineto + -2.9674 0.4414 lineto + -2.9557 0.5138 lineto + -2.9424 0.5853 lineto + %end circumferential + closepath +currentgray 0.7183870967741936 setgray fill setgray +% Sector from 2.7489 to 2.9452 (quadrant 1) +newpath + -2.7716 1.1481 moveto + -2.837 1.1751 lineto + %middle radial + -2.837 1.1751 lineto + -2.9025 1.2022 lineto + %end radial + -2.9025 1.2022 lineto + -2.9307 1.1316 lineto + -2.9575 1.0596 lineto + -2.9827 0.9864 lineto + -3.0063 0.912 lineto + %middle circumferential + -3.0063 0.912 lineto + -3.0275 0.8388 lineto + -3.0471 0.7646 lineto + -3.065 0.6893 lineto + -3.0812 0.6129 lineto + %end circumferential + -3.0812 0.6129 lineto + -3.0118 0.5991 lineto + %middle radial + -3.0118 0.5991 lineto + -2.9424 0.5853 lineto + %end radial + -2.9424 0.5853 lineto + -2.9269 0.6582 lineto + -2.9098 0.7302 lineto + -2.8911 0.801 lineto + -2.8708 0.8709 lineto + %middle circumferential + -2.8708 0.8709 lineto + -2.8483 0.942 lineto + -2.8242 1.0119 lineto + -2.7986 1.0806 lineto + -2.7716 1.1481 lineto + %end circumferential + closepath +currentgray 0.7351612903225806 setgray fill setgray +% Sector from 2.5525 to 2.7489 (quadrant 1) +newpath + -2.4944 1.6667 moveto + -2.5533 1.706 lineto + %middle radial + -2.5533 1.706 lineto + -2.6121 1.7454 lineto + %end radial + -2.6121 1.7454 lineto + -2.6536 1.6817 lineto + -2.6939 1.6163 lineto + -2.7329 1.5494 lineto + -2.7706 1.4809 lineto + %middle circumferential + -2.7706 1.4809 lineto + -2.8057 1.4134 lineto + -2.8394 1.3445 lineto + -2.8716 1.2741 lineto + -2.9025 1.2022 lineto + %end circumferential + -2.9025 1.2022 lineto + -2.837 1.1751 lineto + %middle radial + -2.837 1.1751 lineto + -2.7716 1.1481 lineto + %end radial + -2.7716 1.1481 lineto + -2.7422 1.2166 lineto + -2.7114 1.2839 lineto + -2.6792 1.3497 lineto + -2.6458 1.4142 lineto + %middle circumferential + -2.6458 1.4142 lineto + -2.6097 1.4796 lineto + -2.5725 1.5435 lineto + -2.534 1.6059 lineto + -2.4944 1.6667 lineto + %end circumferential + closepath +currentgray 0.7519354838709679 setgray fill setgray +% Sector from 2.3562 to 2.5525 (quadrant 1) +newpath + -2.1213 2.1213 moveto + -2.1714 2.1714 lineto + %middle radial + -2.1714 2.1714 lineto + -2.2214 2.2214 lineto + %end radial + -2.2214 2.2214 lineto + -2.2745 2.1671 lineto + -2.3267 2.1109 lineto + -2.3781 2.0529 lineto + -2.4285 1.993 lineto + %middle circumferential + -2.4285 1.993 lineto + -2.476 1.9337 lineto + -2.5224 1.8727 lineto + -2.5679 1.8099 lineto + -2.6121 1.7454 lineto + %end circumferential + -2.6121 1.7454 lineto + -2.5533 1.706 lineto + %middle radial + -2.5533 1.706 lineto + -2.4944 1.6667 lineto + %end radial + -2.4944 1.6667 lineto + -2.4521 1.7283 lineto + -2.4088 1.7883 lineto + -2.3644 1.8465 lineto + -2.319 1.9032 lineto + %middle circumferential + -2.319 1.9032 lineto + -2.2709 1.9604 lineto + -2.2218 2.0158 lineto + -2.172 2.0694 lineto + -2.1213 2.1213 lineto + %end circumferential + closepath +currentgray 0.7687096774193548 setgray fill setgray +% Sector from 2.1598 to 2.3562 (quadrant 1) +newpath + -1.6667 2.4944 moveto + -1.706 2.5533 lineto + %middle radial + -1.706 2.5533 lineto + -1.7454 2.6121 lineto + %end radial + -1.7454 2.6121 lineto + -1.8079 2.5693 lineto + -1.8701 2.5244 lineto + -1.9318 2.4775 lineto + -1.993 2.4285 lineto + %middle circumferential + -1.993 2.4285 lineto + -2.0511 2.3796 lineto + -2.1085 2.3289 lineto + -2.1654 2.2761 lineto + -2.2214 2.2214 lineto + %end circumferential + -2.2214 2.2214 lineto + -2.1714 2.1714 lineto + %middle radial + -2.1714 2.1714 lineto + -2.1213 2.1213 lineto + %end radial + -2.1213 2.1213 lineto + -2.0678 2.1736 lineto + -2.0135 2.2239 lineto + -1.9586 2.2724 lineto + -1.9032 2.319 lineto + %middle circumferential + -1.9032 2.319 lineto + -1.8447 2.3658 lineto + -1.7858 2.4106 lineto + -1.7264 2.4535 lineto + -1.6667 2.4944 lineto + %end circumferential + closepath +currentgray 0.7854838709677419 setgray fill setgray +% Sector from 1.9635 to 2.1598 (quadrant 1) +newpath + -1.1481 2.7716 moveto + -1.1751 2.837 lineto + %middle radial + -1.1751 2.837 lineto + -1.2022 2.9025 lineto + %end radial + -1.2022 2.9025 lineto + -1.2718 2.8726 lineto + -1.3415 2.8408 lineto + -1.4112 2.8068 lineto + -1.4809 2.7706 lineto + %middle circumferential + -1.4809 2.7706 lineto + -1.5473 2.7341 lineto + -1.6136 2.6956 lineto + -1.6796 2.6549 lineto + -1.7454 2.6121 lineto + %end circumferential + -1.7454 2.6121 lineto + -1.706 2.5533 lineto + %middle radial + -1.706 2.5533 lineto + -1.6667 2.4944 lineto + %end radial + -1.6667 2.4944 lineto + -1.6039 2.5353 lineto + -1.5408 2.5741 lineto + -1.4776 2.6109 lineto + -1.4142 2.6458 lineto + %middle circumferential + -1.4142 2.6458 lineto + -1.3476 2.6803 lineto + -1.281 2.7127 lineto + -1.2145 2.7432 lineto + -1.1481 2.7716 lineto + %end circumferential + closepath +currentgray 0.802258064516129 setgray fill setgray +% Sector from 1.7671 to 1.9635 (quadrant 1) +newpath + -0.5853 2.9424 moveto + -0.5991 3.0118 lineto + %middle radial + -0.5991 3.0118 lineto + -0.6129 3.0812 lineto + %end radial + -0.6129 3.0812 lineto + -0.6868 3.0656 lineto + -0.7613 3.0479 lineto + -0.8364 3.0282 lineto + -0.912 3.0063 lineto + %middle circumferential + -0.912 3.0063 lineto + -0.9841 2.9835 lineto + -1.0565 2.9586 lineto + -1.1293 2.9316 lineto + -1.2022 2.9025 lineto + %end circumferential + -1.2022 2.9025 lineto + -1.1751 2.837 lineto + %middle radial + -1.1751 2.837 lineto + -1.1481 2.7716 lineto + %end radial + -1.1481 2.7716 lineto + -1.0784 2.7995 lineto + -1.0089 2.8253 lineto + -0.9397 2.849 lineto + -0.8709 2.8708 lineto + %middle circumferential + -0.8709 2.8708 lineto + -0.7987 2.8917 lineto + -0.727 2.9106 lineto + -0.6559 2.9274 lineto + -0.5853 2.9424 lineto + %end circumferential + closepath +currentgray 0.8190322580645162 setgray fill setgray +% Sector from 1.5708 to 1.7671 (quadrant 1) +newpath + 0.0 3.0 moveto + 0.0 3.0708 lineto + %middle radial + 0.0 3.0708 lineto + 0.0 3.1416 lineto + %end radial + 0.0 3.1416 lineto + -0.0754 3.1407 lineto + -0.1518 3.1379 lineto + -0.2294 3.1332 lineto + -0.3079 3.1265 lineto + %middle circumferential + -0.3079 3.1265 lineto + -0.3829 3.1182 lineto + -0.4588 3.1079 lineto + -0.5355 3.0956 lineto + -0.6129 3.0812 lineto + %end circumferential + -0.6129 3.0812 lineto + -0.5991 3.0118 lineto + %middle radial + -0.5991 3.0118 lineto + -0.5853 2.9424 lineto + %end radial + -0.5853 2.9424 lineto + -0.5113 2.9561 lineto + -0.4381 2.9678 lineto + -0.3657 2.9776 lineto + -0.2941 2.9856 lineto + %middle circumferential + -0.2941 2.9856 lineto + -0.219 2.992 lineto + -0.145 2.9965 lineto + -0.072 2.9991 lineto + 0.0 3.0 lineto + %end circumferential + closepath +currentgray 0.8358064516129032 setgray fill setgray +% Sector from 1.3744 to 1.5708 (quadrant 0) +newpath + 0.5853 2.9424 moveto + 0.5991 3.0118 lineto + %middle radial + 0.5991 3.0118 lineto + 0.6129 3.0812 lineto + %end radial + 0.6129 3.0812 lineto + 0.539 3.095 lineto + 0.4636 3.1072 lineto + 0.3866 3.1177 lineto + 0.3079 3.1265 lineto + %middle circumferential + 0.3079 3.1265 lineto + 0.233 3.1329 lineto + 0.1566 3.1377 lineto + 0.079 3.1406 lineto + 0.0 3.1416 lineto + %end circumferential + 0.0 3.1416 lineto + 0.0 3.0708 lineto + %middle radial + 0.0 3.0708 lineto + 0.0 3.0 lineto + %end radial + 0.0 3.0 lineto + 0.0754 2.9991 lineto + 0.1496 2.9963 lineto + 0.2225 2.9917 lineto + 0.2941 2.9856 lineto + %middle circumferential + 0.2941 2.9856 lineto + 0.3691 2.9772 lineto + 0.4427 2.9672 lineto + 0.5148 2.9555 lineto + 0.5853 2.9424 lineto + %end circumferential + closepath +currentgray 0.8525806451612903 setgray fill setgray +% Sector from 1.1781 to 1.3744 (quadrant 0) +newpath + 1.1481 2.7716 moveto + 1.1751 2.837 lineto + %middle radial + 1.1751 2.837 lineto + 1.2022 2.9025 lineto + %end radial + 1.2022 2.9025 lineto + 1.1328 2.9303 lineto + 1.0613 2.9569 lineto + 0.9877 2.9823 lineto + 0.912 3.0063 lineto + %middle circumferential + 0.912 3.0063 lineto + 0.84 3.0272 lineto + 0.7661 3.0467 lineto + 0.6904 3.0648 lineto + 0.6129 3.0812 lineto + %end circumferential + 0.6129 3.0812 lineto + 0.5991 3.0118 lineto + %middle radial + 0.5991 3.0118 lineto + 0.5853 2.9424 lineto + %end radial + 0.5853 2.9424 lineto + 0.6593 2.9267 lineto + 0.7316 2.9094 lineto + 0.8021 2.8908 lineto + 0.8709 2.8708 lineto + %middle circumferential + 0.8709 2.8708 lineto + 0.9432 2.8479 lineto + 1.0134 2.8236 lineto + 1.0817 2.7982 lineto + 1.1481 2.7716 lineto + %end circumferential + closepath +currentgray 0.8693548387096775 setgray fill setgray +% Sector from 0.9817 to 1.1781 (quadrant 0) +newpath + 1.6667 2.4944 moveto + 1.706 2.5533 lineto + %middle radial + 1.706 2.5533 lineto + 1.7454 2.6121 lineto + %end radial + 1.7454 2.6121 lineto + 1.6831 2.6527 lineto + 1.6183 2.6927 lineto + 1.5509 2.7321 lineto + 1.4809 2.7706 lineto + %middle circumferential + 1.4809 2.7706 lineto + 1.4147 2.805 lineto + 1.3462 2.8385 lineto + 1.2754 2.871 lineto + 1.2022 2.9025 lineto + %end circumferential + 1.2022 2.9025 lineto + 1.1751 2.837 lineto + %middle radial + 1.1751 2.837 lineto + 1.1481 2.7716 lineto + %end radial + 1.1481 2.7716 lineto + 1.2179 2.7416 lineto + 1.2856 2.7106 lineto + 1.351 2.6786 lineto + 1.4142 2.6458 lineto + %middle circumferential + 1.4142 2.6458 lineto + 1.481 2.609 lineto + 1.5453 2.5714 lineto + 1.6072 2.5332 lineto + 1.6667 2.4944 lineto + %end circumferential + closepath +currentgray 0.8861290322580645 setgray fill setgray +% Sector from 0.7854 to 0.9817 (quadrant 0) +newpath + 2.1213 2.1213 moveto + 2.1714 2.1714 lineto + %middle radial + 2.1714 2.1714 lineto + 2.2214 2.2214 lineto + %end radial + 2.2214 2.2214 lineto + 2.1687 2.273 lineto + 2.1131 2.3247 lineto + 2.0546 2.3766 lineto + 1.993 2.4285 lineto + %middle circumferential + 1.993 2.4285 lineto + 1.9352 2.4748 lineto + 1.8747 2.5209 lineto + 1.8115 2.5667 lineto + 1.7454 2.6121 lineto + %end circumferential + 1.7454 2.6121 lineto + 1.706 2.5533 lineto + %middle radial + 1.706 2.5533 lineto + 1.6667 2.4944 lineto + %end radial + 1.6667 2.4944 lineto + 1.7298 2.4511 lineto + 1.7902 2.4073 lineto + 1.848 2.3633 lineto + 1.9032 2.319 lineto + %middle circumferential + 1.9032 2.319 lineto + 1.962 2.2695 lineto + 2.0179 2.2199 lineto + 2.071 2.1705 lineto + 2.1213 2.1213 lineto + %end circumferential + closepath +currentgray 0.9029032258064516 setgray fill setgray +% Sector from 0.589 to 0.7854 (quadrant 0) +newpath + 2.4944 1.6667 moveto + 2.5533 1.706 lineto + %middle radial + 2.5533 1.706 lineto + 2.6121 1.7454 lineto + %end radial + 2.6121 1.7454 lineto + 2.571 1.8054 lineto + 2.5269 1.8667 lineto + 2.4794 1.9292 lineto + 2.4285 1.993 lineto + %middle circumferential + 2.4285 1.993 lineto + 2.3813 2.0491 lineto + 2.3312 2.1059 lineto + 2.278 2.1634 lineto + 2.2214 2.2214 lineto + %end circumferential + 2.2214 2.2214 lineto + 2.1714 2.1714 lineto + %middle radial + 2.1714 2.1714 lineto + 2.1213 2.1213 lineto + %end radial + 2.1213 2.1213 lineto + 2.1753 2.0659 lineto + 2.2262 2.011 lineto + 2.274 1.9568 lineto + 2.319 1.9032 lineto + %middle circumferential + 2.319 1.9032 lineto + 2.3677 1.8423 lineto + 2.413 1.7825 lineto + 2.4552 1.724 lineto + 2.4944 1.6667 lineto + %end circumferential + closepath +currentgray 0.9196774193548387 setgray fill setgray +% Sector from 0.3927 to 0.589 (quadrant 0) +newpath + 2.7716 1.1481 moveto + 2.837 1.1751 lineto + %middle radial + 2.837 1.1751 lineto + 2.9025 1.2022 lineto + %end radial + 2.9025 1.2022 lineto + 2.8746 1.2673 lineto + 2.8436 1.3354 lineto + 2.8091 1.4066 lineto + 2.7706 1.4809 lineto + %middle circumferential + 2.7706 1.4809 lineto + 2.736 1.544 lineto + 2.6982 1.6091 lineto + 2.657 1.6762 lineto + 2.6121 1.7454 lineto + %end circumferential + 2.6121 1.7454 lineto + 2.5533 1.706 lineto + %middle radial + 2.5533 1.706 lineto + 2.4944 1.6667 lineto + %end radial + 2.4944 1.6667 lineto + 2.5373 1.6007 lineto + 2.5766 1.5366 lineto + 2.6127 1.4744 lineto + 2.6458 1.4142 lineto + %middle circumferential + 2.6458 1.4142 lineto + 2.6825 1.3432 lineto + 2.7155 1.2752 lineto + 2.7451 1.2102 lineto + 2.7716 1.1481 lineto + %end circumferential + closepath +currentgray 0.9364516129032258 setgray fill setgray +% Sector from 0.1963 to 0.3927 (quadrant 0) +newpath + 2.9424 0.5853 moveto + 3.0118 0.5991 lineto + %middle radial + 3.0118 0.5991 lineto + 3.0812 0.6129 lineto + %end radial + 3.0812 0.6129 lineto + 3.0677 0.6773 lineto + 3.0512 0.7482 lineto + 3.031 0.8262 lineto + 3.0063 0.912 lineto + %middle circumferential + 3.0063 0.912 lineto + 2.9856 0.9778 lineto + 2.9617 1.0479 lineto + 2.9341 1.1227 lineto + 2.9025 1.2022 lineto + %end circumferential + 2.9025 1.2022 lineto + 2.837 1.1751 lineto + %middle radial + 2.837 1.1751 lineto + 2.7716 1.1481 lineto + %end radial + 2.7716 1.1481 lineto + 2.8019 1.0721 lineto + 2.8282 1.0007 lineto + 2.851 0.9337 lineto + 2.8708 0.8709 lineto + %middle circumferential + 2.8708 0.8709 lineto + 2.8944 0.789 lineto + 2.9137 0.7145 lineto + 2.9295 0.6468 lineto + 2.9424 0.5853 lineto + %end circumferential + closepath +currentgray 0.9532258064516128 setgray fill setgray +% Sector from 0.0 to 0.1963 (quadrant 0) +newpath + 3.0 0.0 moveto + 3.0708 0.0 lineto + %middle radial + 3.0708 0.0 lineto + 3.1416 0.0 lineto + %end radial + 3.1416 0.0 lineto + 3.1407 0.0734 lineto + 3.138 0.1504 lineto + 3.1342 0.2152 lineto + 3.1265 0.3079 lineto + %middle circumferential + 3.1265 0.3079 lineto + 3.1162 0.3989 lineto + 3.1057 0.4738 lineto + 3.0908 0.5626 lineto + 3.0812 0.6129 lineto + %end circumferential + 3.0812 0.6129 lineto + 3.0118 0.5991 lineto + %middle radial + 3.0118 0.5991 lineto + 2.9424 0.5853 lineto + %end radial + 2.9424 0.5853 lineto + 2.9515 0.5372 lineto + 2.9657 0.4525 lineto + 2.9757 0.3809 lineto + 2.9856 0.2941 lineto + %middle circumferential + 2.9856 0.2941 lineto + 2.993 0.2055 lineto + 2.9966 0.1436 lineto + 2.9992 0.0701 lineto + 3.0 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Horizontal line from (0.5, 0.0) to (0.0, 0.0) +newpath + 0.5 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.5, 0.0) to (1.0, 0.0) +newpath + 0.5 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.0, 0.0) +newpath + 2.0 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.1579208923731617E77, 0.0) +newpath + 2.0 0.0 moveto + 6.3553 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (0.0, 1.0) +newpath + 2.0 1.0 moveto + 0.0 1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (1.1579208923731617E77, 1.0) +newpath + 2.0 1.0 moveto + 6.2954 1.0 lineto + 6.3636 1.0013 lineto + 6.378103166302659 0.2844 lineto + 6.378103166302659 1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (0.0, -1.0) +newpath + 2.0 -1.0 moveto + 0.0 -1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (1.1579208923731617E77, -1.0) +newpath + 2.0 -1.0 moveto + 6.2954 -1.0 lineto + 6.3636 -1.0013 lineto + 6.378103166302659 -0.2844 lineto + 6.378103166302659 -1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (1.1579208923731617E77, 2.0) +newpath + 0.0 2.0 moveto + 6.0259 2.0 lineto + 6.3648 0.9934 lineto + 6.378103166302659 2.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (1.1579208923731617E77, -2.0) +newpath + 0.0 -2.0 moveto + 6.0259 -2.0 lineto + 6.3648 -0.9934 lineto + 6.378103166302659 -2.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (1.1579208923731617E77, 3.0) +newpath + 0.0 3.0 moveto + 5.6174 3.0 lineto + 5.7185 2.9659 lineto + 6.2723 1.4684 lineto + 6.378103166302659 3.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (1.1579208923731617E77, -3.0) +newpath + 0.0 -3.0 moveto + 5.6174 -3.0 lineto + 5.7185 -2.9659 lineto + 6.2723 -1.4684 lineto + 6.378103166302659 -3.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (0.0, 0.0) +newpath + -0.5 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (-1.0, 0.0) +newpath + -0.5 0.0 moveto + -1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.0, 0.0) +newpath + -2.0 0.0 moveto + -1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.1579208923731617E77, 0.0) +newpath + -2.0 0.0 moveto + -6.3553 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (0.0, 1.0) +newpath + -2.0 1.0 moveto + 0.0 1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (-1.1579208923731617E77, 1.0) +newpath + -2.0 1.0 moveto + -6.2954 1.0 lineto + -6.3636 1.0013 lineto + -6.378103166302659 0.2844 lineto + -6.378103166302659 1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (0.0, -1.0) +newpath + -2.0 -1.0 moveto + 0.0 -1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (-1.1579208923731617E77, -1.0) +newpath + -2.0 -1.0 moveto + -6.2954 -1.0 lineto + -6.3636 -1.0013 lineto + -6.378103166302659 -0.2844 lineto + -6.378103166302659 -1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (-1.1579208923731617E77, 2.0) +newpath + 0.0 2.0 moveto + -6.0259 2.0 lineto + -6.3648 0.9934 lineto + -6.378103166302659 2.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (-1.1579208923731617E77, -2.0) +newpath + 0.0 -2.0 moveto + -6.0259 -2.0 lineto + -6.3648 -0.9934 lineto + -6.378103166302659 -2.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (-1.1579208923731617E77, 3.0) +newpath + 0.0 3.0 moveto + -5.6174 3.0 lineto + -5.7185 2.9659 lineto + -6.2723 1.4684 lineto + -6.378103166302659 3.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (-1.1579208923731617E77, -3.0) +newpath + 0.0 -3.0 moveto + -5.6174 -3.0 lineto + -5.7185 -2.9659 lineto + -6.2723 -1.4684 lineto + -6.378103166302659 -3.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 0.0) +newpath + 0.0 0.5 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 1.0) +newpath + 0.0 0.5 moveto + 0.0 1.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.0) +newpath + 0.0 2.0 moveto + 0.0 1.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.1579208923731617E77) +newpath + 0.0 2.0 moveto + 0.0 6.3553 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 0.0) +newpath + 1.0 2.0 moveto + 1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 1.1579208923731617E77) +newpath + 1.0 2.0 moveto + 1.0 6.2954 lineto + 1.0013 6.3636 lineto + 0.2844 6.378103166302659 lineto + 1.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 0.0) +newpath + -1.0 2.0 moveto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 1.1579208923731617E77) +newpath + -1.0 2.0 moveto + -1.0 6.2954 lineto + -1.0013 6.3636 lineto + -0.2844 6.378103166302659 lineto + -1.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, 1.1579208923731617E77) +newpath + 2.0 0.0 moveto + 2.0 6.0259 lineto + 0.9934 6.3648 lineto + 2.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, 1.1579208923731617E77) +newpath + -2.0 0.0 moveto + -2.0 6.0259 lineto + -0.9934 6.3648 lineto + -2.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, 1.1579208923731617E77) +newpath + 3.0 0.0 moveto + 3.0 5.6174 lineto + 2.9659 5.7185 lineto + 1.4684 6.2723 lineto + 3.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, 1.1579208923731617E77) +newpath + -3.0 0.0 moveto + -3.0 5.6174 lineto + -2.9659 5.7185 lineto + -1.4684 6.2723 lineto + -3.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, 0.0) +newpath + 0.0 -0.5 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, -1.0) +newpath + 0.0 -0.5 moveto + 0.0 -1.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.0) +newpath + 0.0 -2.0 moveto + 0.0 -1.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.1579208923731617E77) +newpath + 0.0 -2.0 moveto + 0.0 -6.3553 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, 0.0) +newpath + 1.0 -2.0 moveto + 1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, -1.1579208923731617E77) +newpath + 1.0 -2.0 moveto + 1.0 -6.2954 lineto + 1.0013 -6.3636 lineto + 0.2844 -6.378103166302659 lineto + 1.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, 0.0) +newpath + -1.0 -2.0 moveto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, -1.1579208923731617E77) +newpath + -1.0 -2.0 moveto + -1.0 -6.2954 lineto + -1.0013 -6.3636 lineto + -0.2844 -6.378103166302659 lineto + -1.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, -1.1579208923731617E77) +newpath + 2.0 0.0 moveto + 2.0 -6.0259 lineto + 0.9934 -6.3648 lineto + 2.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, -1.1579208923731617E77) +newpath + -2.0 0.0 moveto + -2.0 -6.0259 lineto + -0.9934 -6.3648 lineto + -2.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, -1.1579208923731617E77) +newpath + 3.0 0.0 moveto + 3.0 -5.6174 lineto + 2.9659 -5.7185 lineto + 1.4684 -6.2723 lineto + 3.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, -1.1579208923731617E77) +newpath + -3.0 0.0 moveto + -3.0 -5.6174 lineto + -2.9659 -5.7185 lineto + -1.4684 -6.2723 lineto + -3.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Real axis +newpath -5 0 moveto 5 0 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 1.0 0.12 moveto 1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.0 0.12 moveto -1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 2.0 0.12 moveto 2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -2.0 0.12 moveto -2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.0 0.12 moveto 3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.0 0.12 moveto -3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 4.0 0.12 moveto 4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -4.0 0.12 moveto -4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 1.5707963267948966 0.09 moveto 1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.5707963267948966 0.09 moveto -1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.141592653589793 0.09 moveto 3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.141592653589793 0.09 moveto -3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +% Imaginary axis +newpath 0 -5 moveto 0 5 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 0.12 1.0 moveto -0.12 1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -1.0 moveto -0.12 -1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 2.0 moveto -0.12 2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -2.0 moveto -0.12 -2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 3.0 moveto -0.12 3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -3.0 moveto -0.12 -3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 4.0 moveto -0.12 4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -4.0 moveto -0.12 -4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 1.5707963267948966 moveto -0.09 1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -1.5707963267948966 moveto -0.09 -1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 3.141592653589793 moveto -0.09 3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -3.141592653589793 moveto -0.09 -3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +% End of PostScript file for plot of function IDENTITY +%%EndDocument + @endspecial 395 x(This)g(\014gure)g(w)o(as)e(pro)q(duced)j(in)f +(exactly)g(the)g(same)f(manner)h(as)f(succeeding)i(\014gures,)f(simply) +0 2211 y(b)o(y)e(plotting)i(the)e(function)i Fj(identity)8 +b FA(instead)14 b(of)d(a)h(n)o(umerical)i(function.)k(Th)o(us)13 +b(the)f(\014rst)g(of)0 2257 y(these)h(\014gures)h(w)o(as)e(pro)q(duced) +i(b)o(y)f(the)g(last)g(function)h(of)f(the)g(\014rst)g(edition.)18 +b(I)13 b(knew)g(it)g(w)o(ould)0 2302 y(come)g(in)h(handy)g(someda)o(y!) +p 0 2332 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 342 366 +342 365 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(342)77 b(COMMON)13 +b(LISP)p 0 255 1395 2 v 0 322 a Fm(Figure)h(12-2:)j FA(Illustration)f +(of)d(the)g(Range)h(of)f(the)g(Square)h(Ro)q(ot)f(F)m(unction)0 +1766 y @beginspecial @setspecial +%%BeginDocument: sqrt-plot.ps +% PostScript file for plot of function SQRT +% Plot is to fit in a region 4.666666666666667 inches square +% showing axes extending 4.1 units from the origin. + +40.97560975609756 40.97560975609756 scale +4.1 4.1 translate +newpath + -4.1 -4.1 moveto + 4.1 -4.1 lineto + 4.1 4.1 lineto + -4.1 4.1 lineto + closepath +clip +% Moby grid for function SQRT +% Annulus 0.25 0.5 4 0.97 0.45 +% Sector from 4.7124 to 6.2832 (quadrant 3) +newpath + 0.3536 -0.3536 moveto + 0.433 -0.433 lineto + %middle radial + 0.433 -0.433 lineto + 0.5 -0.5 lineto + %end radial + 0.5 -0.5 lineto + 0.5441 -0.4516 lineto + 0.5849 -0.3973 lineto + 0.6217 -0.3369 lineto + 0.6533 -0.2706 lineto + %middle circumferential + 0.6533 -0.2706 lineto + 0.6757 -0.2085 lineto + 0.6926 -0.1425 lineto + 0.7033 -0.0728 lineto + 0.7071 0.0 lineto + %end circumferential + 0.7071 0.0 lineto + 0.6124 0.0 lineto + %middle radial + 0.6124 0.0 lineto + 0.5 0.0 lineto + %end radial + 0.5 0.0 lineto + 0.4897 -0.1008 lineto + 0.4619 -0.1913 lineto + %middle circumferential + 0.4619 -0.1913 lineto + 0.4136 -0.2809 lineto + 0.3536 -0.3536 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 3.1416 to 4.7124 (quadrant 2) +newpath + 0.0 -0.5 moveto + 0.0 -0.6124 lineto + %middle radial + 0.0 -0.6124 lineto + 0.0 -0.7071 lineto + %end radial + 0.0 -0.7071 lineto + 0.0636 -0.7042 lineto + 0.1304 -0.695 lineto + 0.1996 -0.6784 lineto + 0.2706 -0.6533 lineto + %middle circumferential + 0.2706 -0.6533 lineto + 0.3292 -0.6258 lineto + 0.3876 -0.5914 lineto + 0.4449 -0.5496 lineto + 0.5 -0.5 lineto + %end circumferential + 0.5 -0.5 lineto + 0.433 -0.433 lineto + %middle radial + 0.433 -0.433 lineto + 0.3536 -0.3536 lineto + %end radial + 0.3536 -0.3536 lineto + 0.2741 -0.4182 lineto + 0.1913 -0.4619 lineto + %middle circumferential + 0.1913 -0.4619 lineto + 0.0922 -0.4914 lineto + 0.0 -0.5 lineto + %end circumferential + closepath +currentgray 0.6233333333333334 setgray fill setgray +% Sector from 1.5708 to 3.1416 (quadrant 1) +newpath + 0.3536 0.3536 moveto + 0.433 0.433 lineto + %middle radial + 0.433 0.433 lineto + 0.5 0.5 lineto + %end radial + 0.5 0.5 lineto + 0.4564 0.5401 lineto + 0.4044 0.58 lineto + 0.3429 0.6184 lineto + 0.2706 0.6533 lineto + %middle circumferential + 0.2706 0.6533 lineto + 0.2122 0.6745 lineto + 0.1477 0.6915 lineto + 0.0769 0.7029 lineto + 0.0 0.7071 lineto + %end circumferential + 0.0 0.7071 lineto + 0.0 0.6124 lineto + %middle radial + 0.0 0.6124 lineto + 0.0 0.5 lineto + %end radial + 0.0 0.5 lineto + 0.1044 0.489 lineto + 0.1913 0.4619 lineto + %middle circumferential + 0.1913 0.4619 lineto + 0.286 0.4101 lineto + 0.3536 0.3536 lineto + %end circumferential + closepath +currentgray 0.7966666666666668 setgray fill setgray +% Sector from 0.0 to 1.5708 (quadrant 0) +newpath + 0.5 0.0 moveto + 0.6124 0.0 lineto + %middle radial + 0.6124 0.0 lineto + 0.7071 0.0 lineto + %end radial + 0.7071 0.0 lineto + 0.7071 8.0E-4 lineto + 0.7041 0.0649 lineto + 0.6944 0.1335 lineto + 0.6809 0.1908 lineto + 0.6533 0.2706 lineto + %middle circumferential + 0.6533 0.2706 lineto + 0.6174 0.3447 lineto + 0.5813 0.4025 lineto + 0.5315 0.4664 lineto + 0.5 0.5 lineto + %end circumferential + 0.5 0.5 lineto + 0.433 0.433 lineto + %middle radial + 0.433 0.433 lineto + 0.3536 0.3536 lineto + %end radial + 0.3536 0.3536 lineto + 0.3758 0.3298 lineto + 0.4249 0.2636 lineto + 0.4619 0.1913 lineto + %middle circumferential + 0.4619 0.1913 lineto + 0.4815 0.1349 lineto + 0.4979 0.0459 lineto + 0.5 0.0 lineto + %end circumferential + closepath +currentgray 0.9700000000000001 setgray fill setgray +% Annulus 0.75 1.0 8 0.97 0.45 +% Sector from 5.4978 to 6.2832 (quadrant 3) +newpath + 0.8001 -0.3314 moveto + 0.8642 -0.358 lineto + %middle radial + 0.8642 -0.358 lineto + 0.9239 -0.3827 lineto + %end radial + 0.9239 -0.3827 lineto + 0.9564 -0.2919 lineto + 0.9808 -0.1951 lineto + %middle circumferential + 0.9808 -0.1951 lineto + 0.995 -0.0996 lineto + 1.0 0.0 lineto + %end circumferential + 1.0 0.0 lineto + 0.9354 0.0 lineto + %middle radial + 0.9354 0.0 lineto + 0.866 0.0 lineto + %end radial + 0.866 0.0 lineto + 0.8617 -0.0863 lineto + 0.8494 -0.169 lineto + %middle circumferential + 0.8494 -0.169 lineto + 0.8283 -0.2528 lineto + 0.8001 -0.3314 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 4.7124 to 5.4978 (quadrant 3) +newpath + 0.6124 -0.6124 moveto + 0.6614 -0.6614 lineto + %middle radial + 0.6614 -0.6614 lineto + 0.7071 -0.7071 lineto + %end radial + 0.7071 -0.7071 lineto + 0.7718 -0.6359 lineto + 0.8315 -0.5556 lineto + %middle circumferential + 0.8315 -0.5556 lineto + 0.8811 -0.473 lineto + 0.9239 -0.3827 lineto + %end circumferential + 0.9239 -0.3827 lineto + 0.8642 -0.358 lineto + %middle radial + 0.8642 -0.358 lineto + 0.8001 -0.3314 lineto + %end radial + 0.8001 -0.3314 lineto + 0.763 -0.4096 lineto + 0.7201 -0.4811 lineto + %middle circumferential + 0.7201 -0.4811 lineto + 0.6684 -0.5507 lineto + 0.6124 -0.6124 lineto + %end circumferential + closepath +currentgray 0.5242857142857142 setgray fill setgray +% Sector from 3.927 to 4.7124 (quadrant 2) +newpath + 0.3314 -0.8001 moveto + 0.358 -0.8642 lineto + %middle radial + 0.358 -0.8642 lineto + 0.3827 -0.9239 lineto + %end radial + 0.3827 -0.9239 lineto + 0.4693 -0.883 lineto + 0.5556 -0.8315 lineto + %middle circumferential + 0.5556 -0.8315 lineto + 0.6327 -0.7744 lineto + 0.7071 -0.7071 lineto + %end circumferential + 0.7071 -0.7071 lineto + 0.6614 -0.6614 lineto + %middle radial + 0.6614 -0.6614 lineto + 0.6124 -0.6124 lineto + %end radial + 0.6124 -0.6124 lineto + 0.548 -0.6706 lineto + 0.4811 -0.7201 lineto + %middle circumferential + 0.4811 -0.7201 lineto + 0.4065 -0.7647 lineto + 0.3314 -0.8001 lineto + %end circumferential + closepath +currentgray 0.5985714285714285 setgray fill setgray +% Sector from 3.1416 to 3.927 (quadrant 2) +newpath + 0.0 -0.866 moveto + 0.0 -0.9354 lineto + %middle radial + 0.0 -0.9354 lineto + 0.0 -1.0 lineto + %end radial + 0.0 -1.0 lineto + 0.0951 -0.9955 lineto + 0.1951 -0.9808 lineto + %middle circumferential + 0.1951 -0.9808 lineto + 0.2878 -0.9577 lineto + 0.3827 -0.9239 lineto + %end circumferential + 0.3827 -0.9239 lineto + 0.358 -0.8642 lineto + %middle radial + 0.358 -0.8642 lineto + 0.3314 -0.8001 lineto + %end radial + 0.3314 -0.8001 lineto + 0.2493 -0.8294 lineto + 0.169 -0.8494 lineto + %middle circumferential + 0.169 -0.8494 lineto + 0.0824 -0.8621 lineto + 0.0 -0.866 lineto + %end circumferential + closepath +currentgray 0.6728571428571428 setgray fill setgray +% Sector from 2.3562 to 3.1416 (quadrant 1) +newpath + 0.3314 0.8001 moveto + 0.358 0.8642 lineto + %middle radial + 0.358 0.8642 lineto + 0.3827 0.9239 lineto + %end radial + 0.3827 0.9239 lineto + 0.2939 0.9558 lineto + 0.1951 0.9808 lineto + %middle circumferential + 0.1951 0.9808 lineto + 0.1013 0.9949 lineto + 0.0 1.0 lineto + %end circumferential + 0.0 1.0 lineto + 0.0 0.9354 lineto + %middle radial + 0.0 0.9354 lineto + 0.0 0.866 lineto + %end radial + 0.0 0.866 lineto + 0.0877 0.8616 lineto + 0.169 0.8494 lineto + %middle circumferential + 0.169 0.8494 lineto + 0.2545 0.8278 lineto + 0.3314 0.8001 lineto + %end circumferential + closepath +currentgray 0.7471428571428572 setgray fill setgray +% Sector from 1.5708 to 2.3562 (quadrant 1) +newpath + 0.6124 0.6124 moveto + 0.6614 0.6614 lineto + %middle radial + 0.6614 0.6614 lineto + 0.7071 0.7071 lineto + %end radial + 0.7071 0.7071 lineto + 0.6386 0.7695 lineto + 0.5556 0.8315 lineto + %middle circumferential + 0.5556 0.8315 lineto + 0.4753 0.8798 lineto + 0.3827 0.9239 lineto + %end circumferential + 0.3827 0.9239 lineto + 0.358 0.8642 lineto + %middle radial + 0.358 0.8642 lineto + 0.3314 0.8001 lineto + %end radial + 0.3314 0.8001 lineto + 0.4117 0.7619 lineto + 0.4811 0.7201 lineto + %middle circumferential + 0.4811 0.7201 lineto + 0.5531 0.6664 lineto + 0.6124 0.6124 lineto + %end circumferential + closepath +currentgray 0.8214285714285714 setgray fill setgray +% Sector from 0.7854 to 1.5708 (quadrant 0) +newpath + 0.8001 0.3314 moveto + 0.8642 0.358 lineto + %middle radial + 0.8642 0.358 lineto + 0.9239 0.3827 lineto + %end radial + 0.9239 0.3827 lineto + 0.8866 0.4626 lineto + 0.8315 0.5556 lineto + %middle circumferential + 0.8315 0.5556 lineto + 0.7775 0.6289 lineto + 0.7071 0.7071 lineto + %end circumferential + 0.7071 0.7071 lineto + 0.6614 0.6614 lineto + %middle radial + 0.6614 0.6614 lineto + 0.6124 0.6124 lineto + %end radial + 0.6124 0.6124 lineto + 0.6733 0.5447 lineto + 0.7201 0.4811 lineto + %middle circumferential + 0.7201 0.4811 lineto + 0.7678 0.4006 lineto + 0.8001 0.3314 lineto + %end circumferential + closepath +currentgray 0.8957142857142858 setgray fill setgray +% Sector from 0.0 to 0.7854 (quadrant 0) +newpath + 0.866 0.0 moveto + 0.9354 0.0 lineto + %middle radial + 0.9354 0.0 lineto + 1.0 0.0 lineto + %end radial + 1.0 0.0 lineto + 0.9989 0.0462 lineto + 0.9907 0.1363 lineto + 0.9808 0.1951 lineto + %middle circumferential + 0.9808 0.1951 lineto + 0.9617 0.2741 lineto + 0.9359 0.3524 lineto + 0.9239 0.3827 lineto + %end circumferential + 0.9239 0.3827 lineto + 0.8642 0.358 lineto + %middle radial + 0.8642 0.358 lineto + 0.8001 0.3314 lineto + %end radial + 0.8001 0.3314 lineto + 0.8329 0.2374 lineto + 0.8494 0.169 lineto + %middle circumferential + 0.8494 0.169 lineto + 0.8621 0.0824 lineto + 0.866 0.0094 lineto + 0.866 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 1.5708 2.0 16 0.97 0.45 +% Sector from 5.8905 to 6.2832 (quadrant 3) +newpath + 1.2292 -0.2445 moveto + 1.3105 -0.2607 lineto + %middle radial + 1.3105 -0.2607 lineto + 1.387 -0.2759 lineto + %end radial + 1.387 -0.2759 lineto + 1.3988 -0.2081 lineto + 1.4074 -0.1386 lineto + %middle circumferential + 1.4074 -0.1386 lineto + 1.4125 -0.0699 lineto + 1.4142 0.0 lineto + %end circumferential + 1.4142 0.0 lineto + 1.3362 0.0 lineto + %middle radial + 1.3362 0.0 lineto + 1.2533 0.0 lineto + %end radial + 1.2533 0.0 lineto + 1.2518 -0.062 lineto + 1.2473 -0.1228 lineto + %middle circumferential + 1.2473 -0.1228 lineto + 1.2397 -0.1844 lineto + 1.2292 -0.2445 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.4978 to 5.8905 (quadrant 3) +newpath + 1.1579 -0.4796 moveto + 1.2345 -0.5113 lineto + %middle radial + 1.2345 -0.5113 lineto + 1.3066 -0.5412 lineto + %end radial + 1.3066 -0.5412 lineto + 1.3313 -0.477 lineto + 1.3533 -0.4105 lineto + %middle circumferential + 1.3533 -0.4105 lineto + 1.3717 -0.3442 lineto + 1.387 -0.2759 lineto + %end circumferential + 1.387 -0.2759 lineto + 1.3105 -0.2607 lineto + %middle radial + 1.3105 -0.2607 lineto + 1.2292 -0.2445 lineto + %end radial + 1.2292 -0.2445 lineto + 1.2156 -0.305 lineto + 1.1993 -0.3638 lineto + %middle circumferential + 1.1993 -0.3638 lineto + 1.1799 -0.4227 lineto + 1.1579 -0.4796 lineto + %end circumferential + closepath +currentgray 0.48466666666666664 setgray fill setgray +% Sector from 5.1051 to 5.4978 (quadrant 3) +newpath + 1.0421 -0.6963 moveto + 1.111 -0.7423 lineto + %middle radial + 1.111 -0.7423 lineto + 1.1759 -0.7857 lineto + %end radial + 1.1759 -0.7857 lineto + 1.2127 -0.7276 lineto + 1.2472 -0.6667 lineto + %middle circumferential + 1.2472 -0.6667 lineto + 1.2782 -0.6052 lineto + 1.3066 -0.5412 lineto + %end circumferential + 1.3066 -0.5412 lineto + 1.2345 -0.5113 lineto + %middle radial + 1.2345 -0.5113 lineto + 1.1579 -0.4796 lineto + %end radial + 1.1579 -0.4796 lineto + 1.1327 -0.5364 lineto + 1.1053 -0.5908 lineto + %middle circumferential + 1.1053 -0.5908 lineto + 1.0747 -0.6448 lineto + 1.0421 -0.6963 lineto + %end circumferential + closepath +currentgray 0.5193333333333334 setgray fill setgray +% Sector from 4.7124 to 5.1051 (quadrant 3) +newpath + 0.8862 -0.8862 moveto + 0.9448 -0.9448 lineto + %middle radial + 0.9448 -0.9448 lineto + 1.0 -1.0 lineto + %end radial + 1.0 -1.0 lineto + 1.0474 -0.9503 lineto + 1.0932 -0.8972 lineto + %middle circumferential + 1.0932 -0.8972 lineto + 1.1355 -0.843 lineto + 1.1759 -0.7857 lineto + %end circumferential + 1.1759 -0.7857 lineto + 1.111 -0.7423 lineto + %middle radial + 1.111 -0.7423 lineto + 1.0421 -0.6963 lineto + %end radial + 1.0421 -0.6963 lineto + 1.0063 -0.7471 lineto + 0.9688 -0.7951 lineto + %middle circumferential + 0.9688 -0.7951 lineto + 0.9282 -0.8421 lineto + 0.8862 -0.8862 lineto + %end circumferential + closepath +currentgray 0.554 setgray fill setgray +% Sector from 4.3197 to 4.7124 (quadrant 2) +newpath + 0.6963 -1.0421 moveto + 0.7423 -1.111 lineto + %middle radial + 0.7423 -1.111 lineto + 0.7857 -1.1759 lineto + %end radial + 0.7857 -1.1759 lineto + 0.8418 -1.1364 lineto + 0.8972 -1.0932 lineto + %middle circumferential + 0.8972 -1.0932 lineto + 0.9492 -1.0484 lineto + 1.0 -1.0 lineto + %end circumferential + 1.0 -1.0 lineto + 0.9448 -0.9448 lineto + %middle radial + 0.9448 -0.9448 lineto + 0.8862 -0.8862 lineto + %end radial + 0.8862 -0.8862 lineto + 0.8412 -0.9291 lineto + 0.7951 -0.9688 lineto + %middle circumferential + 0.7951 -0.9688 lineto + 0.746 -1.0071 lineto + 0.6963 -1.0421 lineto + %end circumferential + closepath +currentgray 0.5886666666666667 setgray fill setgray +% Sector from 3.927 to 4.3197 (quadrant 2) +newpath + 0.4796 -1.1579 moveto + 0.5113 -1.2345 lineto + %middle radial + 0.5113 -1.2345 lineto + 0.5412 -1.3066 lineto + %end radial + 0.5412 -1.3066 lineto + 0.6039 -1.2788 lineto + 0.6667 -1.2472 lineto + %middle circumferential + 0.6667 -1.2472 lineto + 0.7264 -1.2134 lineto + 0.7857 -1.1759 lineto + %end circumferential + 0.7857 -1.1759 lineto + 0.7423 -1.111 lineto + %middle radial + 0.7423 -1.111 lineto + 0.6963 -1.0421 lineto + %end radial + 0.6963 -1.0421 lineto + 0.6437 -1.0754 lineto + 0.5908 -1.1053 lineto + %middle circumferential + 0.5908 -1.1053 lineto + 0.5352 -1.1333 lineto + 0.4796 -1.1579 lineto + %end circumferential + closepath +currentgray 0.6233333333333333 setgray fill setgray +% Sector from 3.5343 to 3.927 (quadrant 2) +newpath + 0.2445 -1.2292 moveto + 0.2607 -1.3105 lineto + %middle radial + 0.2607 -1.3105 lineto + 0.2759 -1.387 lineto + %end radial + 0.2759 -1.387 lineto + 0.3427 -1.3721 lineto + 0.4105 -1.3533 lineto + %middle circumferential + 0.4105 -1.3533 lineto + 0.4756 -1.3318 lineto + 0.5412 -1.3066 lineto + %end circumferential + 0.5412 -1.3066 lineto + 0.5113 -1.2345 lineto + %middle radial + 0.5113 -1.2345 lineto + 0.4796 -1.1579 lineto + %end radial + 0.4796 -1.1579 lineto + 0.4215 -1.1803 lineto + 0.3638 -1.1993 lineto + %middle circumferential + 0.3638 -1.1993 lineto + 0.3037 -1.216 lineto + 0.2445 -1.2292 lineto + %end circumferential + closepath +currentgray 0.658 setgray fill setgray +% Sector from 3.1416 to 3.5343 (quadrant 2) +newpath + 0.0 -1.2533 moveto + 0.0 -1.3362 lineto + %middle radial + 0.0 -1.3362 lineto + 0.0 -1.4142 lineto + %end radial + 0.0 -1.4142 lineto + 0.0683 -1.4126 lineto + 0.1386 -1.4074 lineto + %middle circumferential + 0.1386 -1.4074 lineto + 0.2065 -1.3991 lineto + 0.2759 -1.387 lineto + %end circumferential + 0.2759 -1.387 lineto + 0.2607 -1.3105 lineto + %middle radial + 0.2607 -1.3105 lineto + 0.2445 -1.2292 lineto + %end radial + 0.2445 -1.2292 lineto + 0.183 -1.2399 lineto + 0.1228 -1.2473 lineto + %middle circumferential + 0.1228 -1.2473 lineto + 0.0606 -1.2518 lineto + 0.0 -1.2533 lineto + %end circumferential + closepath +currentgray 0.6926666666666667 setgray fill setgray +% Sector from 2.7489 to 3.1416 (quadrant 1) +newpath + 0.2445 1.2292 moveto + 0.2607 1.3105 lineto + %middle radial + 0.2607 1.3105 lineto + 0.2759 1.387 lineto + %end radial + 0.2759 1.387 lineto + 0.2087 1.3987 lineto + 0.1386 1.4074 lineto + %middle circumferential + 0.1386 1.4074 lineto + 0.0705 1.4125 lineto + 0.0 1.4142 lineto + %end circumferential + 0.0 1.4142 lineto + 0.0 1.3362 lineto + %middle radial + 0.0 1.3362 lineto + 0.0 1.2533 lineto + %end radial + 0.0 1.2533 lineto + 0.0625 1.2518 lineto + 0.1228 1.2473 lineto + %middle circumferential + 0.1228 1.2473 lineto + 0.1849 1.2396 lineto + 0.2445 1.2292 lineto + %end circumferential + closepath +currentgray 0.7273333333333334 setgray fill setgray +% Sector from 2.3562 to 2.7489 (quadrant 1) +newpath + 0.4796 1.1579 moveto + 0.5113 1.2345 lineto + %middle radial + 0.5113 1.2345 lineto + 0.5412 1.3066 lineto + %end radial + 0.5412 1.3066 lineto + 0.4777 1.3311 lineto + 0.4105 1.3533 lineto + %middle circumferential + 0.4105 1.3533 lineto + 0.3449 1.3715 lineto + 0.2759 1.387 lineto + %end circumferential + 0.2759 1.387 lineto + 0.2607 1.3105 lineto + %middle radial + 0.2607 1.3105 lineto + 0.2445 1.2292 lineto + %end radial + 0.2445 1.2292 lineto + 0.3056 1.2155 lineto + 0.3638 1.1993 lineto + %middle circumferential + 0.3638 1.1993 lineto + 0.4234 1.1796 lineto + 0.4796 1.1579 lineto + %end circumferential + closepath +currentgray 0.762 setgray fill setgray +% Sector from 1.9635 to 2.3562 (quadrant 1) +newpath + 0.6963 1.0421 moveto + 0.7423 1.111 lineto + %middle radial + 0.7423 1.111 lineto + 0.7857 1.1759 lineto + %end radial + 0.7857 1.1759 lineto + 0.7285 1.2122 lineto + 0.6667 1.2472 lineto + %middle circumferential + 0.6667 1.2472 lineto + 0.606 1.2778 lineto + 0.5412 1.3066 lineto + %end circumferential + 0.5412 1.3066 lineto + 0.5113 1.2345 lineto + %middle radial + 0.5113 1.2345 lineto + 0.4796 1.1579 lineto + %end radial + 0.4796 1.1579 lineto + 0.5371 1.1324 lineto + 0.5908 1.1053 lineto + %middle circumferential + 0.5908 1.1053 lineto + 0.6456 1.0742 lineto + 0.6963 1.0421 lineto + %end circumferential + closepath +currentgray 0.7966666666666666 setgray fill setgray +% Sector from 1.5708 to 1.9635 (quadrant 1) +newpath + 0.8862 0.8862 moveto + 0.9448 0.9448 lineto + %middle radial + 0.9448 0.9448 lineto + 1.0 1.0 lineto + %end radial + 1.0 1.0 lineto + 0.9512 1.0465 lineto + 0.8972 1.0932 lineto + %middle circumferential + 0.8972 1.0932 lineto + 0.8439 1.1348 lineto + 0.7857 1.1759 lineto + %end circumferential + 0.7857 1.1759 lineto + 0.7423 1.111 lineto + %middle radial + 0.7423 1.111 lineto + 0.6963 1.0421 lineto + %end radial + 0.6963 1.0421 lineto + 0.7479 1.0057 lineto + 0.7951 0.9688 lineto + %middle circumferential + 0.7951 0.9688 lineto + 0.843 0.9274 lineto + 0.8862 0.8862 lineto + %end circumferential + closepath +currentgray 0.8313333333333334 setgray fill setgray +% Sector from 1.1781 to 1.5708 (quadrant 0) +newpath + 1.0421 0.6963 moveto + 1.111 0.7423 lineto + %middle radial + 1.111 0.7423 lineto + 1.1759 0.7857 lineto + %end radial + 1.1759 0.7857 lineto + 1.1375 0.8403 lineto + 1.0932 0.8972 lineto + %middle circumferential + 1.0932 0.8972 lineto + 1.0494 0.948 lineto + 1.0 1.0 lineto + %end circumferential + 1.0 1.0 lineto + 0.9448 0.9448 lineto + %middle radial + 0.9448 0.9448 lineto + 0.8862 0.8862 lineto + %end radial + 0.8862 0.8862 lineto + 0.93 0.8402 lineto + 0.9688 0.7951 lineto + %middle circumferential + 0.9688 0.7951 lineto + 1.0081 0.7447 lineto + 1.0421 0.6963 lineto + %end circumferential + closepath +currentgray 0.866 setgray fill setgray +% Sector from 0.7854 to 1.1781 (quadrant 0) +newpath + 1.1579 0.4796 moveto + 1.2345 0.5113 lineto + %middle radial + 1.2345 0.5113 lineto + 1.3066 0.5412 lineto + %end radial + 1.3066 0.5412 lineto + 1.2801 0.6012 lineto + 1.2472 0.6667 lineto + %middle circumferential + 1.2472 0.6667 lineto + 1.2146 0.7243 lineto + 1.1759 0.7857 lineto + %end circumferential + 1.1759 0.7857 lineto + 1.111 0.7423 lineto + %middle radial + 1.111 0.7423 lineto + 1.0421 0.6963 lineto + %end radial + 1.0421 0.6963 lineto + 1.0764 0.6419 lineto + 1.1053 0.5908 lineto + %middle circumferential + 1.1053 0.5908 lineto + 1.1344 0.5328 lineto + 1.1579 0.4796 lineto + %end circumferential + closepath +currentgray 0.9006666666666666 setgray fill setgray +% Sector from 0.3927 to 0.7854 (quadrant 0) +newpath + 1.2292 0.2445 moveto + 1.3105 0.2607 lineto + %middle radial + 1.3105 0.2607 lineto + 1.387 0.2759 lineto + %end radial + 1.387 0.2759 lineto + 1.3735 0.3368 lineto + 1.3533 0.4105 lineto + %middle circumferential + 1.3533 0.4105 lineto + 1.3332 0.4717 lineto + 1.3066 0.5412 lineto + %end circumferential + 1.3066 0.5412 lineto + 1.2345 0.5113 lineto + %middle radial + 1.2345 0.5113 lineto + 1.1579 0.4796 lineto + %end radial + 1.1579 0.4796 lineto + 1.1706 0.4479 lineto + 1.1993 0.3638 lineto + %middle circumferential + 1.1993 0.3638 lineto + 1.2172 0.2985 lineto + 1.2292 0.2445 lineto + %end circumferential + closepath +currentgray 0.9353333333333332 setgray fill setgray +% Sector from 0.0 to 0.3927 (quadrant 0) +newpath + 1.2533 0.0 moveto + 1.3362 0.0 lineto + %middle radial + 1.3362 0.0 lineto + 1.4142 0.0 lineto + %end radial + 1.4142 0.0 lineto + 1.4142 0.0078 lineto + 1.4126 0.0675 lineto + 1.4074 0.1386 lineto + %middle circumferential + 1.4074 0.1386 lineto + 1.395 0.2324 lineto + 1.387 0.2759 lineto + %end circumferential + 1.387 0.2759 lineto + 1.3105 0.2607 lineto + %middle radial + 1.3105 0.2607 lineto + 1.2292 0.2445 lineto + %end radial + 1.2292 0.2445 lineto + 1.2363 0.206 lineto + 1.2473 0.1228 lineto + %middle circumferential + 1.2473 0.1228 lineto + 1.2519 0.0598 lineto + 1.2533 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 3.0 3.1416 32 0.97 0.45 +% Sector from 6.0868 to 6.2832 (quadrant 3) +newpath + 1.7237 -0.1698 moveto + 1.7439 -0.1718 lineto + %middle radial + 1.7439 -0.1718 lineto + 1.7639 -0.1737 lineto + %end radial + 1.7639 -0.1737 lineto + 1.7703 -0.087 lineto + %middle circumferential + 1.7703 -0.087 lineto + 1.7725 0.0 lineto + %end circumferential + 1.7725 0.0 lineto + 1.7524 0.0 lineto + %middle radial + 1.7524 0.0 lineto + 1.7321 0.0 lineto + %end radial + 1.7321 0.0 lineto + 1.73 -0.085 lineto + %middle circumferential + 1.73 -0.085 lineto + 1.7237 -0.1698 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.8905 to 6.0868 (quadrant 3) +newpath + 1.6988 -0.3379 moveto + 1.7187 -0.3419 lineto + %middle radial + 1.7187 -0.3419 lineto + 1.7384 -0.3458 lineto + %end radial + 1.7384 -0.3458 lineto + 1.7533 -0.2601 lineto + %middle circumferential + 1.7533 -0.2601 lineto + 1.7639 -0.1737 lineto + %end circumferential + 1.7639 -0.1737 lineto + 1.7439 -0.1718 lineto + %middle radial + 1.7439 -0.1718 lineto + 1.7237 -0.1698 lineto + %end radial + 1.7237 -0.1698 lineto + 1.7133 -0.2541 lineto + %middle circumferential + 1.7133 -0.2541 lineto + 1.6988 -0.3379 lineto + %end circumferential + closepath +currentgray 0.4667741935483871 setgray fill setgray +% Sector from 5.6941 to 5.8905 (quadrant 3) +newpath + 1.6575 -0.5028 moveto + 1.6769 -0.5087 lineto + %middle radial + 1.6769 -0.5087 lineto + 1.6961 -0.5145 lineto + %end radial + 1.6961 -0.5145 lineto + 1.7193 -0.4307 lineto + %middle circumferential + 1.7193 -0.4307 lineto + 1.7384 -0.3458 lineto + %end circumferential + 1.7384 -0.3458 lineto + 1.7187 -0.3419 lineto + %middle radial + 1.7187 -0.3419 lineto + 1.6988 -0.3379 lineto + %end radial + 1.6988 -0.3379 lineto + 1.6801 -0.4209 lineto + %middle circumferential + 1.6801 -0.4209 lineto + 1.6575 -0.5028 lineto + %end circumferential + closepath +currentgray 0.4835483870967742 setgray fill setgray +% Sector from 5.4978 to 5.6941 (quadrant 3) +newpath + 1.6002 -0.6628 moveto + 1.619 -0.6706 lineto + %middle radial + 1.619 -0.6706 lineto + 1.6375 -0.6783 lineto + %end radial + 1.6375 -0.6783 lineto + 1.6688 -0.5971 lineto + %middle circumferential + 1.6688 -0.5971 lineto + 1.6961 -0.5145 lineto + %end circumferential + 1.6961 -0.5145 lineto + 1.6769 -0.5087 lineto + %middle radial + 1.6769 -0.5087 lineto + 1.6575 -0.5028 lineto + %end radial + 1.6575 -0.5028 lineto + 1.6308 -0.5835 lineto + %middle circumferential + 1.6308 -0.5835 lineto + 1.6002 -0.6628 lineto + %end circumferential + closepath +currentgray 0.5003225806451613 setgray fill setgray +% Sector from 5.3014 to 5.4978 (quadrant 3) +newpath + 1.5275 -0.8165 moveto + 1.5455 -0.8261 lineto + %middle radial + 1.5455 -0.8261 lineto + 1.5632 -0.8355 lineto + %end radial + 1.5632 -0.8355 lineto + 1.6023 -0.7578 lineto + %middle circumferential + 1.6023 -0.7578 lineto + 1.6375 -0.6783 lineto + %end circumferential + 1.6375 -0.6783 lineto + 1.619 -0.6706 lineto + %middle radial + 1.619 -0.6706 lineto + 1.6002 -0.6628 lineto + %end radial + 1.6002 -0.6628 lineto + 1.5658 -0.7405 lineto + %middle circumferential + 1.5658 -0.7405 lineto + 1.5275 -0.8165 lineto + %end circumferential + closepath +currentgray 0.5170967741935484 setgray fill setgray +% Sector from 5.1051 to 5.3014 (quadrant 3) +newpath + 1.4401 -0.9623 moveto + 1.457 -0.9736 lineto + %middle radial + 1.457 -0.9736 lineto + 1.4737 -0.9847 lineto + %end radial + 1.4737 -0.9847 lineto + 1.5203 -0.9112 lineto + %middle circumferential + 1.5203 -0.9112 lineto + 1.5632 -0.8355 lineto + %end circumferential + 1.5632 -0.8355 lineto + 1.5455 -0.8261 lineto + %middle radial + 1.5455 -0.8261 lineto + 1.5275 -0.8165 lineto + %end radial + 1.5275 -0.8165 lineto + 1.4856 -0.8905 lineto + %middle circumferential + 1.4856 -0.8905 lineto + 1.4401 -0.9623 lineto + %end circumferential + closepath +currentgray 0.5338709677419355 setgray fill setgray +% Sector from 4.9087 to 5.1051 (quadrant 3) +newpath + 1.3389 -1.0988 moveto + 1.3546 -1.1117 lineto + %middle radial + 1.3546 -1.1117 lineto + 1.3701 -1.1244 lineto + %end radial + 1.3701 -1.1244 lineto + 1.4236 -1.0558 lineto + %middle circumferential + 1.4236 -1.0558 lineto + 1.4737 -0.9847 lineto + %end circumferential + 1.4737 -0.9847 lineto + 1.457 -0.9736 lineto + %middle radial + 1.457 -0.9736 lineto + 1.4401 -0.9623 lineto + %end radial + 1.4401 -0.9623 lineto + 1.3912 -1.0318 lineto + %middle circumferential + 1.3912 -1.0318 lineto + 1.3389 -1.0988 lineto + %end circumferential + closepath +currentgray 0.5506451612903226 setgray fill setgray +% Sector from 4.7124 to 4.9087 (quadrant 3) +newpath + 1.2247 -1.2247 moveto + 1.2391 -1.2391 lineto + %middle radial + 1.2391 -1.2391 lineto + 1.2533 -1.2533 lineto + %end radial + 1.2533 -1.2533 lineto + 1.3133 -1.1903 lineto + %middle circumferential + 1.3133 -1.1903 lineto + 1.3701 -1.1244 lineto + %end circumferential + 1.3701 -1.1244 lineto + 1.3546 -1.1117 lineto + %middle radial + 1.3546 -1.1117 lineto + 1.3389 -1.0988 lineto + %end radial + 1.3389 -1.0988 lineto + 1.2834 -1.1632 lineto + %middle circumferential + 1.2834 -1.1632 lineto + 1.2247 -1.2247 lineto + %end circumferential + closepath +currentgray 0.5674193548387096 setgray fill setgray +% Sector from 4.516 to 4.7124 (quadrant 2) +newpath + 1.0988 -1.3389 moveto + 1.1117 -1.3546 lineto + %middle radial + 1.1117 -1.3546 lineto + 1.1244 -1.3701 lineto + %end radial + 1.1244 -1.3701 lineto + 1.1903 -1.3133 lineto + %middle circumferential + 1.1903 -1.3133 lineto + 1.2533 -1.2533 lineto + %end circumferential + 1.2533 -1.2533 lineto + 1.2391 -1.2391 lineto + %middle radial + 1.2391 -1.2391 lineto + 1.2247 -1.2247 lineto + %end radial + 1.2247 -1.2247 lineto + 1.1632 -1.2834 lineto + %middle circumferential + 1.1632 -1.2834 lineto + 1.0988 -1.3389 lineto + %end circumferential + closepath +currentgray 0.5841935483870968 setgray fill setgray +% Sector from 4.3197 to 4.516 (quadrant 2) +newpath + 0.9623 -1.4401 moveto + 0.9736 -1.457 lineto + %middle radial + 0.9736 -1.457 lineto + 0.9847 -1.4737 lineto + %end radial + 0.9847 -1.4737 lineto + 1.0558 -1.4236 lineto + %middle circumferential + 1.0558 -1.4236 lineto + 1.1244 -1.3701 lineto + %end circumferential + 1.1244 -1.3701 lineto + 1.1117 -1.3546 lineto + %middle radial + 1.1117 -1.3546 lineto + 1.0988 -1.3389 lineto + %end radial + 1.0988 -1.3389 lineto + 1.0318 -1.3912 lineto + %middle circumferential + 1.0318 -1.3912 lineto + 0.9623 -1.4401 lineto + %end circumferential + closepath +currentgray 0.600967741935484 setgray fill setgray +% Sector from 4.1233 to 4.3197 (quadrant 2) +newpath + 0.8165 -1.5275 moveto + 0.8261 -1.5455 lineto + %middle radial + 0.8261 -1.5455 lineto + 0.8355 -1.5632 lineto + %end radial + 0.8355 -1.5632 lineto + 0.9112 -1.5203 lineto + %middle circumferential + 0.9112 -1.5203 lineto + 0.9847 -1.4737 lineto + %end circumferential + 0.9847 -1.4737 lineto + 0.9736 -1.457 lineto + %middle radial + 0.9736 -1.457 lineto + 0.9623 -1.4401 lineto + %end radial + 0.9623 -1.4401 lineto + 0.8905 -1.4856 lineto + %middle circumferential + 0.8905 -1.4856 lineto + 0.8165 -1.5275 lineto + %end circumferential + closepath +currentgray 0.6177419354838709 setgray fill setgray +% Sector from 3.927 to 4.1233 (quadrant 2) +newpath + 0.6628 -1.6002 moveto + 0.6706 -1.619 lineto + %middle radial + 0.6706 -1.619 lineto + 0.6783 -1.6375 lineto + %end radial + 0.6783 -1.6375 lineto + 0.7578 -1.6023 lineto + %middle circumferential + 0.7578 -1.6023 lineto + 0.8355 -1.5632 lineto + %end circumferential + 0.8355 -1.5632 lineto + 0.8261 -1.5455 lineto + %middle radial + 0.8261 -1.5455 lineto + 0.8165 -1.5275 lineto + %end radial + 0.8165 -1.5275 lineto + 0.7405 -1.5658 lineto + %middle circumferential + 0.7405 -1.5658 lineto + 0.6628 -1.6002 lineto + %end circumferential + closepath +currentgray 0.6345161290322581 setgray fill setgray +% Sector from 3.7306 to 3.927 (quadrant 2) +newpath + 0.5028 -1.6575 moveto + 0.5087 -1.6769 lineto + %middle radial + 0.5087 -1.6769 lineto + 0.5145 -1.6961 lineto + %end radial + 0.5145 -1.6961 lineto + 0.5971 -1.6688 lineto + %middle circumferential + 0.5971 -1.6688 lineto + 0.6783 -1.6375 lineto + %end circumferential + 0.6783 -1.6375 lineto + 0.6706 -1.619 lineto + %middle radial + 0.6706 -1.619 lineto + 0.6628 -1.6002 lineto + %end radial + 0.6628 -1.6002 lineto + 0.5835 -1.6308 lineto + %middle circumferential + 0.5835 -1.6308 lineto + 0.5028 -1.6575 lineto + %end circumferential + closepath +currentgray 0.6512903225806452 setgray fill setgray +% Sector from 3.5343 to 3.7306 (quadrant 2) +newpath + 0.3379 -1.6988 moveto + 0.3419 -1.7187 lineto + %middle radial + 0.3419 -1.7187 lineto + 0.3458 -1.7384 lineto + %end radial + 0.3458 -1.7384 lineto + 0.4307 -1.7193 lineto + %middle circumferential + 0.4307 -1.7193 lineto + 0.5145 -1.6961 lineto + %end circumferential + 0.5145 -1.6961 lineto + 0.5087 -1.6769 lineto + %middle radial + 0.5087 -1.6769 lineto + 0.5028 -1.6575 lineto + %end radial + 0.5028 -1.6575 lineto + 0.4209 -1.6801 lineto + %middle circumferential + 0.4209 -1.6801 lineto + 0.3379 -1.6988 lineto + %end circumferential + closepath +currentgray 0.6680645161290323 setgray fill setgray +% Sector from 3.3379 to 3.5343 (quadrant 2) +newpath + 0.1698 -1.7237 moveto + 0.1718 -1.7439 lineto + %middle radial + 0.1718 -1.7439 lineto + 0.1737 -1.7639 lineto + %end radial + 0.1737 -1.7639 lineto + 0.2601 -1.7533 lineto + %middle circumferential + 0.2601 -1.7533 lineto + 0.3458 -1.7384 lineto + %end circumferential + 0.3458 -1.7384 lineto + 0.3419 -1.7187 lineto + %middle radial + 0.3419 -1.7187 lineto + 0.3379 -1.6988 lineto + %end radial + 0.3379 -1.6988 lineto + 0.2541 -1.7133 lineto + %middle circumferential + 0.2541 -1.7133 lineto + 0.1698 -1.7237 lineto + %end circumferential + closepath +currentgray 0.6848387096774193 setgray fill setgray +% Sector from 3.1416 to 3.3379 (quadrant 2) +newpath + 0.0 -1.7321 moveto + 0.0 -1.7524 lineto + %middle radial + 0.0 -1.7524 lineto + 0.0 -1.7725 lineto + %end radial + 0.0 -1.7725 lineto + 0.087 -1.7703 lineto + %middle circumferential + 0.087 -1.7703 lineto + 0.1737 -1.7639 lineto + %end circumferential + 0.1737 -1.7639 lineto + 0.1718 -1.7439 lineto + %middle radial + 0.1718 -1.7439 lineto + 0.1698 -1.7237 lineto + %end radial + 0.1698 -1.7237 lineto + 0.085 -1.73 lineto + %middle circumferential + 0.085 -1.73 lineto + 0.0 -1.7321 lineto + %end circumferential + closepath +currentgray 0.7016129032258065 setgray fill setgray +% Sector from 2.9452 to 3.1416 (quadrant 1) +newpath + 0.1698 1.7237 moveto + 0.1718 1.7439 lineto + %middle radial + 0.1718 1.7439 lineto + 0.1737 1.7639 lineto + %end radial + 0.1737 1.7639 lineto + 0.087 1.7703 lineto + %middle circumferential + 0.087 1.7703 lineto + 0.0 1.7725 lineto + %end circumferential + 0.0 1.7725 lineto + 0.0 1.7524 lineto + %middle radial + 0.0 1.7524 lineto + 0.0 1.7321 lineto + %end radial + 0.0 1.7321 lineto + 0.085 1.73 lineto + %middle circumferential + 0.085 1.73 lineto + 0.1698 1.7237 lineto + %end circumferential + closepath +currentgray 0.7183870967741936 setgray fill setgray +% Sector from 2.7489 to 2.9452 (quadrant 1) +newpath + 0.3379 1.6988 moveto + 0.3419 1.7187 lineto + %middle radial + 0.3419 1.7187 lineto + 0.3458 1.7384 lineto + %end radial + 0.3458 1.7384 lineto + 0.2601 1.7533 lineto + %middle circumferential + 0.2601 1.7533 lineto + 0.1737 1.7639 lineto + %end circumferential + 0.1737 1.7639 lineto + 0.1718 1.7439 lineto + %middle radial + 0.1718 1.7439 lineto + 0.1698 1.7237 lineto + %end radial + 0.1698 1.7237 lineto + 0.2541 1.7133 lineto + %middle circumferential + 0.2541 1.7133 lineto + 0.3379 1.6988 lineto + %end circumferential + closepath +currentgray 0.7351612903225806 setgray fill setgray +% Sector from 2.5525 to 2.7489 (quadrant 1) +newpath + 0.5028 1.6575 moveto + 0.5087 1.6769 lineto + %middle radial + 0.5087 1.6769 lineto + 0.5145 1.6961 lineto + %end radial + 0.5145 1.6961 lineto + 0.4307 1.7193 lineto + %middle circumferential + 0.4307 1.7193 lineto + 0.3458 1.7384 lineto + %end circumferential + 0.3458 1.7384 lineto + 0.3419 1.7187 lineto + %middle radial + 0.3419 1.7187 lineto + 0.3379 1.6988 lineto + %end radial + 0.3379 1.6988 lineto + 0.4209 1.6801 lineto + %middle circumferential + 0.4209 1.6801 lineto + 0.5028 1.6575 lineto + %end circumferential + closepath +currentgray 0.7519354838709679 setgray fill setgray +% Sector from 2.3562 to 2.5525 (quadrant 1) +newpath + 0.6628 1.6002 moveto + 0.6706 1.619 lineto + %middle radial + 0.6706 1.619 lineto + 0.6783 1.6375 lineto + %end radial + 0.6783 1.6375 lineto + 0.5971 1.6688 lineto + %middle circumferential + 0.5971 1.6688 lineto + 0.5145 1.6961 lineto + %end circumferential + 0.5145 1.6961 lineto + 0.5087 1.6769 lineto + %middle radial + 0.5087 1.6769 lineto + 0.5028 1.6575 lineto + %end radial + 0.5028 1.6575 lineto + 0.5835 1.6308 lineto + %middle circumferential + 0.5835 1.6308 lineto + 0.6628 1.6002 lineto + %end circumferential + closepath +currentgray 0.7687096774193548 setgray fill setgray +% Sector from 2.1598 to 2.3562 (quadrant 1) +newpath + 0.8165 1.5275 moveto + 0.8261 1.5455 lineto + %middle radial + 0.8261 1.5455 lineto + 0.8355 1.5632 lineto + %end radial + 0.8355 1.5632 lineto + 0.7578 1.6023 lineto + %middle circumferential + 0.7578 1.6023 lineto + 0.6783 1.6375 lineto + %end circumferential + 0.6783 1.6375 lineto + 0.6706 1.619 lineto + %middle radial + 0.6706 1.619 lineto + 0.6628 1.6002 lineto + %end radial + 0.6628 1.6002 lineto + 0.7405 1.5658 lineto + %middle circumferential + 0.7405 1.5658 lineto + 0.8165 1.5275 lineto + %end circumferential + closepath +currentgray 0.7854838709677419 setgray fill setgray +% Sector from 1.9635 to 2.1598 (quadrant 1) +newpath + 0.9623 1.4401 moveto + 0.9736 1.457 lineto + %middle radial + 0.9736 1.457 lineto + 0.9847 1.4737 lineto + %end radial + 0.9847 1.4737 lineto + 0.9112 1.5203 lineto + %middle circumferential + 0.9112 1.5203 lineto + 0.8355 1.5632 lineto + %end circumferential + 0.8355 1.5632 lineto + 0.8261 1.5455 lineto + %middle radial + 0.8261 1.5455 lineto + 0.8165 1.5275 lineto + %end radial + 0.8165 1.5275 lineto + 0.8905 1.4856 lineto + %middle circumferential + 0.8905 1.4856 lineto + 0.9623 1.4401 lineto + %end circumferential + closepath +currentgray 0.802258064516129 setgray fill setgray +% Sector from 1.7671 to 1.9635 (quadrant 1) +newpath + 1.0988 1.3389 moveto + 1.1117 1.3546 lineto + %middle radial + 1.1117 1.3546 lineto + 1.1244 1.3701 lineto + %end radial + 1.1244 1.3701 lineto + 1.0558 1.4236 lineto + %middle circumferential + 1.0558 1.4236 lineto + 0.9847 1.4737 lineto + %end circumferential + 0.9847 1.4737 lineto + 0.9736 1.457 lineto + %middle radial + 0.9736 1.457 lineto + 0.9623 1.4401 lineto + %end radial + 0.9623 1.4401 lineto + 1.0318 1.3912 lineto + %middle circumferential + 1.0318 1.3912 lineto + 1.0988 1.3389 lineto + %end circumferential + closepath +currentgray 0.8190322580645162 setgray fill setgray +% Sector from 1.5708 to 1.7671 (quadrant 1) +newpath + 1.2247 1.2247 moveto + 1.2391 1.2391 lineto + %middle radial + 1.2391 1.2391 lineto + 1.2533 1.2533 lineto + %end radial + 1.2533 1.2533 lineto + 1.1903 1.3133 lineto + %middle circumferential + 1.1903 1.3133 lineto + 1.1244 1.3701 lineto + %end circumferential + 1.1244 1.3701 lineto + 1.1117 1.3546 lineto + %middle radial + 1.1117 1.3546 lineto + 1.0988 1.3389 lineto + %end radial + 1.0988 1.3389 lineto + 1.1632 1.2834 lineto + %middle circumferential + 1.1632 1.2834 lineto + 1.2247 1.2247 lineto + %end circumferential + closepath +currentgray 0.8358064516129032 setgray fill setgray +% Sector from 1.3744 to 1.5708 (quadrant 0) +newpath + 1.3389 1.0988 moveto + 1.3546 1.1117 lineto + %middle radial + 1.3546 1.1117 lineto + 1.3701 1.1244 lineto + %end radial + 1.3701 1.1244 lineto + 1.3133 1.1903 lineto + %middle circumferential + 1.3133 1.1903 lineto + 1.2533 1.2533 lineto + %end circumferential + 1.2533 1.2533 lineto + 1.2391 1.2391 lineto + %middle radial + 1.2391 1.2391 lineto + 1.2247 1.2247 lineto + %end radial + 1.2247 1.2247 lineto + 1.2834 1.1632 lineto + %middle circumferential + 1.2834 1.1632 lineto + 1.3389 1.0988 lineto + %end circumferential + closepath +currentgray 0.8525806451612903 setgray fill setgray +% Sector from 1.1781 to 1.3744 (quadrant 0) +newpath + 1.4401 0.9623 moveto + 1.457 0.9736 lineto + %middle radial + 1.457 0.9736 lineto + 1.4737 0.9847 lineto + %end radial + 1.4737 0.9847 lineto + 1.4236 1.0558 lineto + %middle circumferential + 1.4236 1.0558 lineto + 1.3701 1.1244 lineto + %end circumferential + 1.3701 1.1244 lineto + 1.3546 1.1117 lineto + %middle radial + 1.3546 1.1117 lineto + 1.3389 1.0988 lineto + %end radial + 1.3389 1.0988 lineto + 1.3912 1.0318 lineto + %middle circumferential + 1.3912 1.0318 lineto + 1.4401 0.9623 lineto + %end circumferential + closepath +currentgray 0.8693548387096775 setgray fill setgray +% Sector from 0.9817 to 1.1781 (quadrant 0) +newpath + 1.5275 0.8165 moveto + 1.5455 0.8261 lineto + %middle radial + 1.5455 0.8261 lineto + 1.5632 0.8355 lineto + %end radial + 1.5632 0.8355 lineto + 1.5203 0.9112 lineto + %middle circumferential + 1.5203 0.9112 lineto + 1.4737 0.9847 lineto + %end circumferential + 1.4737 0.9847 lineto + 1.457 0.9736 lineto + %middle radial + 1.457 0.9736 lineto + 1.4401 0.9623 lineto + %end radial + 1.4401 0.9623 lineto + 1.4856 0.8905 lineto + %middle circumferential + 1.4856 0.8905 lineto + 1.5275 0.8165 lineto + %end circumferential + closepath +currentgray 0.8861290322580645 setgray fill setgray +% Sector from 0.7854 to 0.9817 (quadrant 0) +newpath + 1.6002 0.6628 moveto + 1.619 0.6706 lineto + %middle radial + 1.619 0.6706 lineto + 1.6375 0.6783 lineto + %end radial + 1.6375 0.6783 lineto + 1.6023 0.7578 lineto + %middle circumferential + 1.6023 0.7578 lineto + 1.5632 0.8355 lineto + %end circumferential + 1.5632 0.8355 lineto + 1.5455 0.8261 lineto + %middle radial + 1.5455 0.8261 lineto + 1.5275 0.8165 lineto + %end radial + 1.5275 0.8165 lineto + 1.5658 0.7405 lineto + %middle circumferential + 1.5658 0.7405 lineto + 1.6002 0.6628 lineto + %end circumferential + closepath +currentgray 0.9029032258064516 setgray fill setgray +% Sector from 0.589 to 0.7854 (quadrant 0) +newpath + 1.6575 0.5028 moveto + 1.6769 0.5087 lineto + %middle radial + 1.6769 0.5087 lineto + 1.6961 0.5145 lineto + %end radial + 1.6961 0.5145 lineto + 1.6688 0.5971 lineto + %middle circumferential + 1.6688 0.5971 lineto + 1.6375 0.6783 lineto + %end circumferential + 1.6375 0.6783 lineto + 1.619 0.6706 lineto + %middle radial + 1.619 0.6706 lineto + 1.6002 0.6628 lineto + %end radial + 1.6002 0.6628 lineto + 1.6308 0.5835 lineto + %middle circumferential + 1.6308 0.5835 lineto + 1.6575 0.5028 lineto + %end circumferential + closepath +currentgray 0.9196774193548387 setgray fill setgray +% Sector from 0.3927 to 0.589 (quadrant 0) +newpath + 1.6988 0.3379 moveto + 1.7187 0.3419 lineto + %middle radial + 1.7187 0.3419 lineto + 1.7384 0.3458 lineto + %end radial + 1.7384 0.3458 lineto + 1.7193 0.4307 lineto + %middle circumferential + 1.7193 0.4307 lineto + 1.6961 0.5145 lineto + %end circumferential + 1.6961 0.5145 lineto + 1.6769 0.5087 lineto + %middle radial + 1.6769 0.5087 lineto + 1.6575 0.5028 lineto + %end radial + 1.6575 0.5028 lineto + 1.6801 0.4209 lineto + %middle circumferential + 1.6801 0.4209 lineto + 1.6988 0.3379 lineto + %end circumferential + closepath +currentgray 0.9364516129032258 setgray fill setgray +% Sector from 0.1963 to 0.3927 (quadrant 0) +newpath + 1.7237 0.1698 moveto + 1.7439 0.1718 lineto + %middle radial + 1.7439 0.1718 lineto + 1.7639 0.1737 lineto + %end radial + 1.7639 0.1737 lineto + 1.7533 0.2601 lineto + %middle circumferential + 1.7533 0.2601 lineto + 1.7384 0.3458 lineto + %end circumferential + 1.7384 0.3458 lineto + 1.7187 0.3419 lineto + %middle radial + 1.7187 0.3419 lineto + 1.6988 0.3379 lineto + %end radial + 1.6988 0.3379 lineto + 1.7133 0.2541 lineto + %middle circumferential + 1.7133 0.2541 lineto + 1.7237 0.1698 lineto + %end circumferential + closepath +currentgray 0.9532258064516128 setgray fill setgray +% Sector from 0.0 to 0.1963 (quadrant 0) +newpath + 1.7321 0.0 moveto + 1.7524 0.0 lineto + %middle radial + 1.7524 0.0 lineto + 1.7725 0.0 lineto + %end radial + 1.7725 0.0 lineto + 1.7723 0.0207 lineto + 1.7703 0.087 lineto + %middle circumferential + 1.7703 0.087 lineto + 1.7639 0.1737 lineto + %end circumferential + 1.7639 0.1737 lineto + 1.7439 0.1718 lineto + %middle radial + 1.7439 0.1718 lineto + 1.7237 0.1698 lineto + %end radial + 1.7237 0.1698 lineto + 1.73 0.085 lineto + %middle circumferential + 1.73 0.085 lineto + 1.7319 0.0202 lineto + 1.7321 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Horizontal line from (0.5, 0.0) to (0.0, 0.0) +newpath + 0.7071 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.5, 0.0) to (1.0, 0.0) +newpath + 0.7071 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.0, 0.0) +newpath + 1.4142 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.1579208923731617E77, 0.0) +newpath + 1.4142 0.0 moveto + 6.3553 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (0.0, 1.0) +newpath + 1.4553 0.3436 moveto + 1.3977 0.3577 lineto + 1.2926 0.3868 lineto + 1.2004 0.4165 lineto + 1.1204 0.4463 lineto + 1.0517 0.4754 lineto + 0.9933 0.5034 lineto + 0.9227 0.5419 lineto + 0.8543 0.5853 lineto + 0.7902 0.6328 lineto + 0.7092 0.705 lineto + 0.7071 0.7071 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (1.1579208923731617E77, 1.0) +newpath + 1.4553 0.3436 moveto + 1.5667 0.3191 lineto + 1.6268 0.3074 lineto + 1.6898 0.2959 lineto + 1.7559 0.2848 lineto + 1.8251 0.274 lineto + 1.8976 0.2635 lineto + 1.9735 0.2534 lineto + 2.0528 0.2436 lineto + 2.1356 0.2341 lineto + 2.2222 0.225 lineto + 2.3125 0.2162 lineto + 2.4068 0.2077 lineto + 2.5052 0.1996 lineto + 2.6078 0.1917 lineto + 2.7148 0.1842 lineto + 2.8263 0.1769 lineto + 2.9131 0.1716 lineto + 2.9724 0.1682 lineto + 3.033 0.1649 lineto + 3.0949 0.1616 lineto + 3.1581 0.1583 lineto + 3.2225 0.1552 lineto + 3.2884 0.1521 lineto + 3.3555 0.149 lineto + 3.4241 0.146 lineto + 3.4941 0.1431 lineto + 3.5655 0.1402 lineto + 3.6385 0.1374 lineto + 3.7129 0.1347 lineto + 3.7889 0.132 lineto + 3.8664 0.1293 lineto + 3.9456 0.1267 lineto + 4.0264 0.1242 lineto + 4.1088 0.1217 lineto + 4.193 0.1192 lineto + 4.2788 0.1169 lineto + 4.3665 0.1145 lineto + 4.4559 0.1122 lineto + 4.5472 0.11 lineto + 4.6404 0.1077 lineto + 4.7355 0.1056 lineto + 4.8326 0.1035 lineto + 4.9316 0.1014 lineto + 5.0327 0.0994 lineto + 5.1359 0.0974 lineto + 5.2412 0.0954 lineto + 5.3486 0.0935 lineto + 5.4583 0.0916 lineto + 5.5702 0.0898 lineto + 5.6844 0.088 lineto + 5.801 0.0862 lineto + 5.9199 0.0845 lineto + 6.0413 0.0828 lineto + 6.1652 0.0811 lineto + 6.2916 0.0795 lineto + 6.3558 0.0787 lineto + 6.378103166302659 0.0781 lineto + 6.378103166302659 0.0326 lineto + 6.378103166302659 0.0089 lineto + 6.378103166302659 0.002 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (0.0, -1.0) +newpath + 1.4553 -0.3436 moveto + 1.3977 -0.3577 lineto + 1.2926 -0.3868 lineto + 1.2004 -0.4165 lineto + 1.1204 -0.4463 lineto + 1.0517 -0.4754 lineto + 0.9933 -0.5034 lineto + 0.9227 -0.5419 lineto + 0.8543 -0.5853 lineto + 0.7902 -0.6328 lineto + 0.7092 -0.705 lineto + 0.7071 -0.7071 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (1.1579208923731617E77, -1.0) +newpath + 1.4553 -0.3436 moveto + 1.5667 -0.3191 lineto + 1.6268 -0.3074 lineto + 1.6898 -0.2959 lineto + 1.7559 -0.2848 lineto + 1.8251 -0.274 lineto + 1.8976 -0.2635 lineto + 1.9735 -0.2534 lineto + 2.0528 -0.2436 lineto + 2.1356 -0.2341 lineto + 2.2222 -0.225 lineto + 2.3125 -0.2162 lineto + 2.4068 -0.2077 lineto + 2.5052 -0.1996 lineto + 2.6078 -0.1917 lineto + 2.7148 -0.1842 lineto + 2.8263 -0.1769 lineto + 2.9131 -0.1716 lineto + 2.9724 -0.1682 lineto + 3.033 -0.1649 lineto + 3.0949 -0.1616 lineto + 3.1581 -0.1583 lineto + 3.2225 -0.1552 lineto + 3.2884 -0.1521 lineto + 3.3555 -0.149 lineto + 3.4241 -0.146 lineto + 3.4941 -0.1431 lineto + 3.5655 -0.1402 lineto + 3.6385 -0.1374 lineto + 3.7129 -0.1347 lineto + 3.7889 -0.132 lineto + 3.8664 -0.1293 lineto + 3.9456 -0.1267 lineto + 4.0264 -0.1242 lineto + 4.1088 -0.1217 lineto + 4.193 -0.1192 lineto + 4.2788 -0.1169 lineto + 4.3665 -0.1145 lineto + 4.4559 -0.1122 lineto + 4.5472 -0.11 lineto + 4.6404 -0.1077 lineto + 4.7355 -0.1056 lineto + 4.8326 -0.1035 lineto + 4.9316 -0.1014 lineto + 5.0327 -0.0994 lineto + 5.1359 -0.0974 lineto + 5.2412 -0.0954 lineto + 5.3486 -0.0935 lineto + 5.4583 -0.0916 lineto + 5.5702 -0.0898 lineto + 5.6844 -0.088 lineto + 5.801 -0.0862 lineto + 5.9199 -0.0845 lineto + 6.0413 -0.0828 lineto + 6.1652 -0.0811 lineto + 6.2916 -0.0795 lineto + 6.3558 -0.0787 lineto + 6.378103166302659 -0.0781 lineto + 6.378103166302659 -0.0326 lineto + 6.378103166302659 -0.0089 lineto + 6.378103166302659 -0.002 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (1.1579208923731617E77, 2.0) +newpath + 1.0 1.0 moveto + 1.0752 0.9301 lineto + 1.1368 0.8797 lineto + 1.2046 0.8301 lineto + 1.2769 0.7831 lineto + 1.3385 0.7471 lineto + 1.4129 0.7078 lineto + 1.502 0.6658 lineto + 1.5796 0.6331 lineto + 1.6369 0.6109 lineto + 1.6987 0.5887 lineto + 1.7654 0.5664 lineto + 1.837 0.5444 lineto + 1.9138 0.5225 lineto + 1.9958 0.5011 lineto + 2.0832 0.48 lineto + 2.1762 0.4595 lineto + 2.2749 0.4396 lineto + 2.3796 0.4202 lineto + 2.4903 0.4016 lineto + 2.5774 0.388 lineto + 2.6375 0.3791 lineto + 2.6993 0.3705 lineto + 2.7627 0.362 lineto + 2.8278 0.3536 lineto + 2.8947 0.3455 lineto + 2.9633 0.3375 lineto + 3.0337 0.3296 lineto + 3.1059 0.322 lineto + 3.18 0.3145 lineto + 3.2561 0.3071 lineto + 3.3341 0.2999 lineto + 3.414 0.2929 lineto + 3.496 0.286 lineto + 3.5801 0.2793 lineto + 3.6663 0.2728 lineto + 3.7547 0.2663 lineto + 3.8453 0.2601 lineto + 3.9382 0.2539 lineto + 4.0333 0.2479 lineto + 4.1309 0.2421 lineto + 4.2309 0.2364 lineto + 4.3333 0.2308 lineto + 4.4384 0.2253 lineto + 4.546 0.22 lineto + 4.6562 0.2148 lineto + 4.7692 0.2097 lineto + 4.885 0.2047 lineto + 4.9439 0.2023 lineto + 5.0036 0.1999 lineto + 5.064 0.1975 lineto + 5.1251 0.1951 lineto + 5.187 0.1928 lineto + 5.2496 0.1905 lineto + 5.313 0.1882 lineto + 5.3772 0.186 lineto + 5.4422 0.1838 lineto + 5.5079 0.1816 lineto + 5.5745 0.1794 lineto + 5.6418 0.1772 lineto + 5.71 0.1751 lineto + 5.779 0.173 lineto + 5.8489 0.171 lineto + 5.9196 0.1689 lineto + 5.9912 0.1669 lineto + 6.0636 0.1649 lineto + 6.1369 0.1629 lineto + 6.2111 0.161 lineto + 6.2862 0.1591 lineto + 6.3623 0.1572 lineto + 6.378103166302659 0.1553 lineto + 6.378103166302659 0.0466 lineto + 6.378103166302659 0.0039 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (1.1579208923731617E77, -2.0) +newpath + 1.0 -1.0 moveto + 1.0752 -0.9301 lineto + 1.1368 -0.8797 lineto + 1.2046 -0.8301 lineto + 1.2769 -0.7831 lineto + 1.3385 -0.7471 lineto + 1.4129 -0.7078 lineto + 1.502 -0.6658 lineto + 1.5796 -0.6331 lineto + 1.6369 -0.6109 lineto + 1.6987 -0.5887 lineto + 1.7654 -0.5664 lineto + 1.837 -0.5444 lineto + 1.9138 -0.5225 lineto + 1.9958 -0.5011 lineto + 2.0832 -0.48 lineto + 2.1762 -0.4595 lineto + 2.2749 -0.4396 lineto + 2.3796 -0.4202 lineto + 2.4903 -0.4016 lineto + 2.5774 -0.388 lineto + 2.6375 -0.3791 lineto + 2.6993 -0.3705 lineto + 2.7627 -0.362 lineto + 2.8278 -0.3536 lineto + 2.8947 -0.3455 lineto + 2.9633 -0.3375 lineto + 3.0337 -0.3296 lineto + 3.1059 -0.322 lineto + 3.18 -0.3145 lineto + 3.2561 -0.3071 lineto + 3.3341 -0.2999 lineto + 3.414 -0.2929 lineto + 3.496 -0.286 lineto + 3.5801 -0.2793 lineto + 3.6663 -0.2728 lineto + 3.7547 -0.2663 lineto + 3.8453 -0.2601 lineto + 3.9382 -0.2539 lineto + 4.0333 -0.2479 lineto + 4.1309 -0.2421 lineto + 4.2309 -0.2364 lineto + 4.3333 -0.2308 lineto + 4.4384 -0.2253 lineto + 4.546 -0.22 lineto + 4.6562 -0.2148 lineto + 4.7692 -0.2097 lineto + 4.885 -0.2047 lineto + 4.9439 -0.2023 lineto + 5.0036 -0.1999 lineto + 5.064 -0.1975 lineto + 5.1251 -0.1951 lineto + 5.187 -0.1928 lineto + 5.2496 -0.1905 lineto + 5.313 -0.1882 lineto + 5.3772 -0.186 lineto + 5.4422 -0.1838 lineto + 5.5079 -0.1816 lineto + 5.5745 -0.1794 lineto + 5.6418 -0.1772 lineto + 5.71 -0.1751 lineto + 5.779 -0.173 lineto + 5.8489 -0.171 lineto + 5.9196 -0.1689 lineto + 5.9912 -0.1669 lineto + 6.0636 -0.1649 lineto + 6.1369 -0.1629 lineto + 6.2111 -0.161 lineto + 6.2862 -0.1591 lineto + 6.3623 -0.1572 lineto + 6.378103166302659 -0.1553 lineto + 6.378103166302659 -0.0466 lineto + 6.378103166302659 -0.0039 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (1.1579208923731617E77, 3.0) +newpath + 1.2247 1.2247 moveto + 1.2855 1.1669 lineto + 1.359 1.1038 lineto + 1.4253 1.0524 lineto + 1.4961 1.0026 lineto + 1.5568 0.9635 lineto + 1.6306 0.9199 lineto + 1.72 0.8721 lineto + 1.7985 0.834 lineto + 1.857 0.8078 lineto + 1.9205 0.781 lineto + 1.9895 0.754 lineto + 2.0641 0.7267 lineto + 2.1445 0.6995 lineto + 2.2309 0.6724 lineto + 2.3236 0.6456 lineto + 2.4226 0.6192 lineto + 2.5283 0.5933 lineto + 2.6407 0.568 lineto + 2.6995 0.5556 lineto + 2.7601 0.5435 lineto + 2.8225 0.5314 lineto + 2.8867 0.5196 lineto + 2.9528 0.508 lineto + 3.0207 0.4966 lineto + 3.0906 0.4853 lineto + 3.1624 0.4743 lineto + 3.2361 0.4635 lineto + 3.3119 0.4529 lineto + 3.3897 0.4425 lineto + 3.4697 0.4323 lineto + 3.5517 0.4223 lineto + 3.6359 0.4126 lineto + 3.7223 0.403 lineto + 3.811 0.3936 lineto + 3.9019 0.3844 lineto + 3.9952 0.3754 lineto + 4.0909 0.3667 lineto + 4.1891 0.3581 lineto + 4.2897 0.3497 lineto + 4.3929 0.3415 lineto + 4.4987 0.3334 lineto + 4.6071 0.3256 lineto + 4.7183 0.3179 lineto + 4.8323 0.3104 lineto + 4.9196 0.3049 lineto + 4.9787 0.3013 lineto + 5.0386 0.2977 lineto + 5.0992 0.2942 lineto + 5.1605 0.2907 lineto + 5.2226 0.2872 lineto + 5.2855 0.2838 lineto + 5.3491 0.2804 lineto + 5.4135 0.2771 lineto + 5.4787 0.2738 lineto + 5.5448 0.2705 lineto + 5.6116 0.2673 lineto + 5.6792 0.2641 lineto + 5.7477 0.261 lineto + 5.817 0.2579 lineto + 5.8872 0.2548 lineto + 5.9582 0.2518 lineto + 6.0301 0.2488 lineto + 6.1029 0.2458 lineto + 6.1766 0.2429 lineto + 6.2511 0.24 lineto + 6.3266 0.2371 lineto + 6.378103166302659 0.2355 lineto + 6.378103166302659 0.07 lineto + 6.378103166302659 0.0059 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (1.1579208923731617E77, -3.0) +newpath + 1.2247 -1.2247 moveto + 1.2855 -1.1669 lineto + 1.359 -1.1038 lineto + 1.4253 -1.0524 lineto + 1.4961 -1.0026 lineto + 1.5568 -0.9635 lineto + 1.6306 -0.9199 lineto + 1.72 -0.8721 lineto + 1.7985 -0.834 lineto + 1.857 -0.8078 lineto + 1.9205 -0.781 lineto + 1.9895 -0.754 lineto + 2.0641 -0.7267 lineto + 2.1445 -0.6995 lineto + 2.2309 -0.6724 lineto + 2.3236 -0.6456 lineto + 2.4226 -0.6192 lineto + 2.5283 -0.5933 lineto + 2.6407 -0.568 lineto + 2.6995 -0.5556 lineto + 2.7601 -0.5435 lineto + 2.8225 -0.5314 lineto + 2.8867 -0.5196 lineto + 2.9528 -0.508 lineto + 3.0207 -0.4966 lineto + 3.0906 -0.4853 lineto + 3.1624 -0.4743 lineto + 3.2361 -0.4635 lineto + 3.3119 -0.4529 lineto + 3.3897 -0.4425 lineto + 3.4697 -0.4323 lineto + 3.5517 -0.4223 lineto + 3.6359 -0.4126 lineto + 3.7223 -0.403 lineto + 3.811 -0.3936 lineto + 3.9019 -0.3844 lineto + 3.9952 -0.3754 lineto + 4.0909 -0.3667 lineto + 4.1891 -0.3581 lineto + 4.2897 -0.3497 lineto + 4.3929 -0.3415 lineto + 4.4987 -0.3334 lineto + 4.6071 -0.3256 lineto + 4.7183 -0.3179 lineto + 4.8323 -0.3104 lineto + 4.9196 -0.3049 lineto + 4.9787 -0.3013 lineto + 5.0386 -0.2977 lineto + 5.0992 -0.2942 lineto + 5.1605 -0.2907 lineto + 5.2226 -0.2872 lineto + 5.2855 -0.2838 lineto + 5.3491 -0.2804 lineto + 5.4135 -0.2771 lineto + 5.4787 -0.2738 lineto + 5.5448 -0.2705 lineto + 5.6116 -0.2673 lineto + 5.6792 -0.2641 lineto + 5.7477 -0.261 lineto + 5.817 -0.2579 lineto + 5.8872 -0.2548 lineto + 5.9582 -0.2518 lineto + 6.0301 -0.2488 lineto + 6.1029 -0.2458 lineto + 6.1766 -0.2429 lineto + 6.2511 -0.24 lineto + 6.3266 -0.2371 lineto + 6.378103166302659 -0.2355 lineto + 6.378103166302659 -0.07 lineto + 6.378103166302659 -0.0059 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (0.0, 0.0) +newpath + 0.0 0.7071 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (-1.0, 0.0) +newpath + 0.0 0.7071 moveto + 0.0 1.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.0, 0.0) +newpath + 0.0 1.4142 moveto + 0.0 1.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.1579208923731617E77, 0.0) +newpath + 0.0 1.4142 moveto + 0.0 6.3553 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (0.0, 1.0) +newpath + 0.3436 1.4553 moveto + 0.3577 1.3977 lineto + 0.3868 1.2926 lineto + 0.4165 1.2004 lineto + 0.4463 1.1204 lineto + 0.4754 1.0517 lineto + 0.5034 0.9933 lineto + 0.5419 0.9227 lineto + 0.5853 0.8543 lineto + 0.6328 0.7902 lineto + 0.705 0.7092 lineto + 0.7071 0.7071 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (-1.1579208923731617E77, 1.0) +newpath + 0.3436 1.4553 moveto + 0.3191 1.5667 lineto + 0.3074 1.6268 lineto + 0.2959 1.6898 lineto + 0.2848 1.7559 lineto + 0.274 1.8251 lineto + 0.2635 1.8976 lineto + 0.2534 1.9735 lineto + 0.2436 2.0528 lineto + 0.2341 2.1356 lineto + 0.225 2.2222 lineto + 0.2162 2.3125 lineto + 0.2077 2.4068 lineto + 0.1996 2.5052 lineto + 0.1917 2.6078 lineto + 0.1842 2.7148 lineto + 0.1769 2.8263 lineto + 0.1716 2.9131 lineto + 0.1682 2.9724 lineto + 0.1649 3.033 lineto + 0.1616 3.0949 lineto + 0.1583 3.1581 lineto + 0.1552 3.2225 lineto + 0.1521 3.2884 lineto + 0.149 3.3555 lineto + 0.146 3.4241 lineto + 0.1431 3.4941 lineto + 0.1402 3.5655 lineto + 0.1374 3.6385 lineto + 0.1347 3.7129 lineto + 0.132 3.7889 lineto + 0.1293 3.8664 lineto + 0.1267 3.9456 lineto + 0.1242 4.0264 lineto + 0.1217 4.1088 lineto + 0.1192 4.193 lineto + 0.1169 4.2788 lineto + 0.1145 4.3665 lineto + 0.1122 4.4559 lineto + 0.11 4.5472 lineto + 0.1077 4.6404 lineto + 0.1056 4.7355 lineto + 0.1035 4.8326 lineto + 0.1014 4.9316 lineto + 0.0994 5.0327 lineto + 0.0974 5.1359 lineto + 0.0954 5.2412 lineto + 0.0935 5.3486 lineto + 0.0916 5.4583 lineto + 0.0898 5.5702 lineto + 0.088 5.6844 lineto + 0.0862 5.801 lineto + 0.0845 5.9199 lineto + 0.0828 6.0413 lineto + 0.0811 6.1652 lineto + 0.0795 6.2916 lineto + 0.0787 6.3558 lineto + 0.0781 6.378103166302659 lineto + 0.0326 6.378103166302659 lineto + 0.0089 6.378103166302659 lineto + 0.002 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (0.0, -1.0) +newpath + 0.3436 -1.4553 moveto + 0.3577 -1.3977 lineto + 0.3868 -1.2926 lineto + 0.4165 -1.2004 lineto + 0.4463 -1.1204 lineto + 0.4754 -1.0517 lineto + 0.5034 -0.9933 lineto + 0.5419 -0.9227 lineto + 0.5853 -0.8543 lineto + 0.6328 -0.7902 lineto + 0.705 -0.7092 lineto + 0.7071 -0.7071 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (-1.1579208923731617E77, -1.0) +newpath + 0.3436 -1.4553 moveto + 0.3191 -1.5667 lineto + 0.3074 -1.6268 lineto + 0.2959 -1.6898 lineto + 0.2848 -1.7559 lineto + 0.274 -1.8251 lineto + 0.2635 -1.8976 lineto + 0.2534 -1.9735 lineto + 0.2436 -2.0528 lineto + 0.2341 -2.1356 lineto + 0.225 -2.2222 lineto + 0.2162 -2.3125 lineto + 0.2077 -2.4068 lineto + 0.1996 -2.5052 lineto + 0.1917 -2.6078 lineto + 0.1842 -2.7148 lineto + 0.1769 -2.8263 lineto + 0.1716 -2.9131 lineto + 0.1682 -2.9724 lineto + 0.1649 -3.033 lineto + 0.1616 -3.0949 lineto + 0.1583 -3.1581 lineto + 0.1552 -3.2225 lineto + 0.1521 -3.2884 lineto + 0.149 -3.3555 lineto + 0.146 -3.4241 lineto + 0.1431 -3.4941 lineto + 0.1402 -3.5655 lineto + 0.1374 -3.6385 lineto + 0.1347 -3.7129 lineto + 0.132 -3.7889 lineto + 0.1293 -3.8664 lineto + 0.1267 -3.9456 lineto + 0.1242 -4.0264 lineto + 0.1217 -4.1088 lineto + 0.1192 -4.193 lineto + 0.1169 -4.2788 lineto + 0.1145 -4.3665 lineto + 0.1122 -4.4559 lineto + 0.11 -4.5472 lineto + 0.1077 -4.6404 lineto + 0.1056 -4.7355 lineto + 0.1035 -4.8326 lineto + 0.1014 -4.9316 lineto + 0.0994 -5.0327 lineto + 0.0974 -5.1359 lineto + 0.0954 -5.2412 lineto + 0.0935 -5.3486 lineto + 0.0916 -5.4583 lineto + 0.0898 -5.5702 lineto + 0.088 -5.6844 lineto + 0.0862 -5.801 lineto + 0.0845 -5.9199 lineto + 0.0828 -6.0413 lineto + 0.0811 -6.1652 lineto + 0.0795 -6.2916 lineto + 0.0787 -6.3558 lineto + 0.0781 -6.378103166302659 lineto + 0.0326 -6.378103166302659 lineto + 0.0089 -6.378103166302659 lineto + 0.002 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (-1.1579208923731617E77, 2.0) +newpath + 1.0 1.0 moveto + 0.9301 1.0752 lineto + 0.8797 1.1368 lineto + 0.8301 1.2046 lineto + 0.7831 1.2769 lineto + 0.7471 1.3385 lineto + 0.7078 1.4129 lineto + 0.6658 1.502 lineto + 0.6331 1.5796 lineto + 0.6109 1.6369 lineto + 0.5887 1.6987 lineto + 0.5664 1.7654 lineto + 0.5444 1.837 lineto + 0.5225 1.9138 lineto + 0.5011 1.9958 lineto + 0.48 2.0832 lineto + 0.4595 2.1762 lineto + 0.4396 2.2749 lineto + 0.4202 2.3796 lineto + 0.4016 2.4903 lineto + 0.388 2.5774 lineto + 0.3791 2.6375 lineto + 0.3705 2.6993 lineto + 0.362 2.7627 lineto + 0.3536 2.8278 lineto + 0.3455 2.8947 lineto + 0.3375 2.9633 lineto + 0.3296 3.0337 lineto + 0.322 3.1059 lineto + 0.3145 3.18 lineto + 0.3071 3.2561 lineto + 0.2999 3.3341 lineto + 0.2929 3.414 lineto + 0.286 3.496 lineto + 0.2793 3.5801 lineto + 0.2728 3.6663 lineto + 0.2663 3.7547 lineto + 0.2601 3.8453 lineto + 0.2539 3.9382 lineto + 0.2479 4.0333 lineto + 0.2421 4.1309 lineto + 0.2364 4.2309 lineto + 0.2308 4.3333 lineto + 0.2253 4.4384 lineto + 0.22 4.546 lineto + 0.2148 4.6562 lineto + 0.2097 4.7692 lineto + 0.2047 4.885 lineto + 0.2023 4.9439 lineto + 0.1999 5.0036 lineto + 0.1975 5.064 lineto + 0.1951 5.1251 lineto + 0.1928 5.187 lineto + 0.1905 5.2496 lineto + 0.1882 5.313 lineto + 0.186 5.3772 lineto + 0.1838 5.4422 lineto + 0.1816 5.5079 lineto + 0.1794 5.5745 lineto + 0.1772 5.6418 lineto + 0.1751 5.71 lineto + 0.173 5.779 lineto + 0.171 5.8489 lineto + 0.1689 5.9196 lineto + 0.1669 5.9912 lineto + 0.1649 6.0636 lineto + 0.1629 6.1369 lineto + 0.161 6.2111 lineto + 0.1591 6.2862 lineto + 0.1572 6.3623 lineto + 0.1553 6.378103166302659 lineto + 0.0466 6.378103166302659 lineto + 0.0039 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (-1.1579208923731617E77, -2.0) +newpath + 1.0 -1.0 moveto + 0.9301 -1.0752 lineto + 0.8797 -1.1368 lineto + 0.8301 -1.2046 lineto + 0.7831 -1.2769 lineto + 0.7471 -1.3385 lineto + 0.7078 -1.4129 lineto + 0.6658 -1.502 lineto + 0.6331 -1.5796 lineto + 0.6109 -1.6369 lineto + 0.5887 -1.6987 lineto + 0.5664 -1.7654 lineto + 0.5444 -1.837 lineto + 0.5225 -1.9138 lineto + 0.5011 -1.9958 lineto + 0.48 -2.0832 lineto + 0.4595 -2.1762 lineto + 0.4396 -2.2749 lineto + 0.4202 -2.3796 lineto + 0.4016 -2.4903 lineto + 0.388 -2.5774 lineto + 0.3791 -2.6375 lineto + 0.3705 -2.6993 lineto + 0.362 -2.7627 lineto + 0.3536 -2.8278 lineto + 0.3455 -2.8947 lineto + 0.3375 -2.9633 lineto + 0.3296 -3.0337 lineto + 0.322 -3.1059 lineto + 0.3145 -3.18 lineto + 0.3071 -3.2561 lineto + 0.2999 -3.3341 lineto + 0.2929 -3.414 lineto + 0.286 -3.496 lineto + 0.2793 -3.5801 lineto + 0.2728 -3.6663 lineto + 0.2663 -3.7547 lineto + 0.2601 -3.8453 lineto + 0.2539 -3.9382 lineto + 0.2479 -4.0333 lineto + 0.2421 -4.1309 lineto + 0.2364 -4.2309 lineto + 0.2308 -4.3333 lineto + 0.2253 -4.4384 lineto + 0.22 -4.546 lineto + 0.2148 -4.6562 lineto + 0.2097 -4.7692 lineto + 0.2047 -4.885 lineto + 0.2023 -4.9439 lineto + 0.1999 -5.0036 lineto + 0.1975 -5.064 lineto + 0.1951 -5.1251 lineto + 0.1928 -5.187 lineto + 0.1905 -5.2496 lineto + 0.1882 -5.313 lineto + 0.186 -5.3772 lineto + 0.1838 -5.4422 lineto + 0.1816 -5.5079 lineto + 0.1794 -5.5745 lineto + 0.1772 -5.6418 lineto + 0.1751 -5.71 lineto + 0.173 -5.779 lineto + 0.171 -5.8489 lineto + 0.1689 -5.9196 lineto + 0.1669 -5.9912 lineto + 0.1649 -6.0636 lineto + 0.1629 -6.1369 lineto + 0.161 -6.2111 lineto + 0.1591 -6.2862 lineto + 0.1572 -6.3623 lineto + 0.1553 -6.378103166302659 lineto + 0.0466 -6.378103166302659 lineto + 0.0039 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (-1.1579208923731617E77, 3.0) +newpath + 1.2247 1.2247 moveto + 1.1669 1.2855 lineto + 1.1038 1.359 lineto + 1.0524 1.4253 lineto + 1.0026 1.4961 lineto + 0.9635 1.5568 lineto + 0.9199 1.6306 lineto + 0.8721 1.72 lineto + 0.834 1.7985 lineto + 0.8078 1.857 lineto + 0.781 1.9205 lineto + 0.754 1.9895 lineto + 0.7267 2.0641 lineto + 0.6995 2.1445 lineto + 0.6724 2.2309 lineto + 0.6456 2.3236 lineto + 0.6192 2.4226 lineto + 0.5933 2.5283 lineto + 0.568 2.6407 lineto + 0.5556 2.6995 lineto + 0.5435 2.7601 lineto + 0.5314 2.8225 lineto + 0.5196 2.8867 lineto + 0.508 2.9528 lineto + 0.4966 3.0207 lineto + 0.4853 3.0906 lineto + 0.4743 3.1624 lineto + 0.4635 3.2361 lineto + 0.4529 3.3119 lineto + 0.4425 3.3897 lineto + 0.4323 3.4697 lineto + 0.4223 3.5517 lineto + 0.4126 3.6359 lineto + 0.403 3.7223 lineto + 0.3936 3.811 lineto + 0.3844 3.9019 lineto + 0.3754 3.9952 lineto + 0.3667 4.0909 lineto + 0.3581 4.1891 lineto + 0.3497 4.2897 lineto + 0.3415 4.3929 lineto + 0.3334 4.4987 lineto + 0.3256 4.6071 lineto + 0.3179 4.7183 lineto + 0.3104 4.8323 lineto + 0.3049 4.9196 lineto + 0.3013 4.9787 lineto + 0.2977 5.0386 lineto + 0.2942 5.0992 lineto + 0.2907 5.1605 lineto + 0.2872 5.2226 lineto + 0.2838 5.2855 lineto + 0.2804 5.3491 lineto + 0.2771 5.4135 lineto + 0.2738 5.4787 lineto + 0.2705 5.5448 lineto + 0.2673 5.6116 lineto + 0.2641 5.6792 lineto + 0.261 5.7477 lineto + 0.2579 5.817 lineto + 0.2548 5.8872 lineto + 0.2518 5.9582 lineto + 0.2488 6.0301 lineto + 0.2458 6.1029 lineto + 0.2429 6.1766 lineto + 0.24 6.2511 lineto + 0.2371 6.3266 lineto + 0.2355 6.378103166302659 lineto + 0.07 6.378103166302659 lineto + 0.0059 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (-1.1579208923731617E77, -3.0) +newpath + 1.2247 -1.2247 moveto + 1.1669 -1.2855 lineto + 1.1038 -1.359 lineto + 1.0524 -1.4253 lineto + 1.0026 -1.4961 lineto + 0.9635 -1.5568 lineto + 0.9199 -1.6306 lineto + 0.8721 -1.72 lineto + 0.834 -1.7985 lineto + 0.8078 -1.857 lineto + 0.781 -1.9205 lineto + 0.754 -1.9895 lineto + 0.7267 -2.0641 lineto + 0.6995 -2.1445 lineto + 0.6724 -2.2309 lineto + 0.6456 -2.3236 lineto + 0.6192 -2.4226 lineto + 0.5933 -2.5283 lineto + 0.568 -2.6407 lineto + 0.5556 -2.6995 lineto + 0.5435 -2.7601 lineto + 0.5314 -2.8225 lineto + 0.5196 -2.8867 lineto + 0.508 -2.9528 lineto + 0.4966 -3.0207 lineto + 0.4853 -3.0906 lineto + 0.4743 -3.1624 lineto + 0.4635 -3.2361 lineto + 0.4529 -3.3119 lineto + 0.4425 -3.3897 lineto + 0.4323 -3.4697 lineto + 0.4223 -3.5517 lineto + 0.4126 -3.6359 lineto + 0.403 -3.7223 lineto + 0.3936 -3.811 lineto + 0.3844 -3.9019 lineto + 0.3754 -3.9952 lineto + 0.3667 -4.0909 lineto + 0.3581 -4.1891 lineto + 0.3497 -4.2897 lineto + 0.3415 -4.3929 lineto + 0.3334 -4.4987 lineto + 0.3256 -4.6071 lineto + 0.3179 -4.7183 lineto + 0.3104 -4.8323 lineto + 0.3049 -4.9196 lineto + 0.3013 -4.9787 lineto + 0.2977 -5.0386 lineto + 0.2942 -5.0992 lineto + 0.2907 -5.1605 lineto + 0.2872 -5.2226 lineto + 0.2838 -5.2855 lineto + 0.2804 -5.3491 lineto + 0.2771 -5.4135 lineto + 0.2738 -5.4787 lineto + 0.2705 -5.5448 lineto + 0.2673 -5.6116 lineto + 0.2641 -5.6792 lineto + 0.261 -5.7477 lineto + 0.2579 -5.817 lineto + 0.2548 -5.8872 lineto + 0.2518 -5.9582 lineto + 0.2488 -6.0301 lineto + 0.2458 -6.1029 lineto + 0.2429 -6.1766 lineto + 0.24 -6.2511 lineto + 0.2371 -6.3266 lineto + 0.2355 -6.378103166302659 lineto + 0.07 -6.378103166302659 lineto + 0.0059 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 0.0) +newpath + 0.5 0.5 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 1.0) +newpath + 0.5 0.5 moveto + 0.7071 0.7071 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.0) +newpath + 1.0 1.0 moveto + 0.7071 0.7071 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.1579208923731617E77) +newpath + 1.0 1.0 moveto + 4.4939 4.4939 lineto + 4.5551 4.5551 lineto + 4.5551 4.5551 lineto + 4.5551 4.5551 lineto + 6.378103166302659 6.378103166302659 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 0.0) +newpath + 1.272 0.7862 moveto + 1.2413 0.7354 lineto + 1.1875 0.6405 lineto + 1.1434 0.5543 lineto + 1.1078 0.4767 lineto + 1.0798 0.4075 lineto + 1.0583 0.3465 lineto + 1.0356 0.2693 lineto + 1.0179 0.1902 lineto + 1.0062 0.1113 lineto + 1.0 0.0029 lineto + 1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 1.1579208923731617E77) +newpath + 1.272 0.7862 moveto + 1.3335 0.8822 lineto + 1.3676 0.933 lineto + 1.4041 0.9856 lineto + 1.4429 1.0402 lineto + 1.4843 1.0968 lineto + 1.5281 1.1555 lineto + 1.5746 1.2163 lineto + 1.6238 1.2793 lineto + 1.6757 1.3446 lineto + 1.7304 1.4122 lineto + 1.7881 1.4823 lineto + 1.8488 1.555 lineto + 1.9125 1.6303 lineto + 1.9795 1.7084 lineto + 2.0499 1.7894 lineto + 2.1236 1.8734 lineto + 2.1812 1.9385 lineto + 2.2208 1.9829 lineto + 2.2613 2.0281 lineto + 2.3027 2.0742 lineto + 2.345 2.1211 lineto + 2.3884 2.169 lineto + 2.4327 2.2177 lineto + 2.4781 2.2674 lineto + 2.5245 2.318 lineto + 2.5719 2.3695 lineto + 2.6204 2.4221 lineto + 2.67 2.4756 lineto + 2.7206 2.5302 lineto + 2.7725 2.5858 lineto + 2.8254 2.6425 lineto + 2.8796 2.7003 lineto + 2.9349 2.7593 lineto + 2.9914 2.8193 lineto + 3.0492 2.8805 lineto + 3.1082 2.943 lineto + 3.1685 3.0066 lineto + 3.2302 3.0715 lineto + 3.2931 3.1376 lineto + 3.3575 3.2051 lineto + 3.4232 3.2739 lineto + 3.4903 3.344 lineto + 3.5589 3.4155 lineto + 3.6289 3.4884 lineto + 3.7005 3.5628 lineto + 3.7735 3.6386 lineto + 3.8481 3.7159 lineto + 3.9244 3.7948 lineto + 4.0022 3.8752 lineto + 4.0817 3.9573 lineto + 4.1628 4.041 lineto + 4.2457 4.1263 lineto + 4.3304 4.2133 lineto + 4.4168 4.3021 lineto + 4.5051 4.3927 lineto + 4.5499 4.4386 lineto + 4.61 4.4995 lineto + 4.5781 4.532 lineto + 4.5614 4.5488 lineto + 6.378103166302659 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 0.0) +newpath + 0.7862 1.272 moveto + 0.7354 1.2413 lineto + 0.6405 1.1875 lineto + 0.5543 1.1434 lineto + 0.4767 1.1078 lineto + 0.4075 1.0798 lineto + 0.3465 1.0583 lineto + 0.2693 1.0356 lineto + 0.1902 1.0179 lineto + 0.1113 1.0062 lineto + 0.0029 1.0 lineto + 0.0 1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 1.1579208923731617E77) +newpath + 0.7862 1.272 moveto + 0.8822 1.3335 lineto + 0.933 1.3676 lineto + 0.9856 1.4041 lineto + 1.0402 1.4429 lineto + 1.0968 1.4843 lineto + 1.1555 1.5281 lineto + 1.2163 1.5746 lineto + 1.2793 1.6238 lineto + 1.3446 1.6757 lineto + 1.4122 1.7304 lineto + 1.4823 1.7881 lineto + 1.555 1.8488 lineto + 1.6303 1.9125 lineto + 1.7084 1.9795 lineto + 1.7894 2.0499 lineto + 1.8734 2.1236 lineto + 1.9385 2.1812 lineto + 1.9829 2.2208 lineto + 2.0281 2.2613 lineto + 2.0742 2.3027 lineto + 2.1211 2.345 lineto + 2.169 2.3884 lineto + 2.2177 2.4327 lineto + 2.2674 2.4781 lineto + 2.318 2.5245 lineto + 2.3695 2.5719 lineto + 2.4221 2.6204 lineto + 2.4756 2.67 lineto + 2.5302 2.7206 lineto + 2.5858 2.7725 lineto + 2.6425 2.8254 lineto + 2.7003 2.8796 lineto + 2.7593 2.9349 lineto + 2.8193 2.9914 lineto + 2.8805 3.0492 lineto + 2.943 3.1082 lineto + 3.0066 3.1685 lineto + 3.0715 3.2302 lineto + 3.1376 3.2931 lineto + 3.2051 3.3575 lineto + 3.2739 3.4232 lineto + 3.344 3.4903 lineto + 3.4155 3.5589 lineto + 3.4884 3.6289 lineto + 3.5628 3.7005 lineto + 3.6386 3.7735 lineto + 3.7159 3.8481 lineto + 3.7948 3.9244 lineto + 3.8752 4.0022 lineto + 3.9573 4.0817 lineto + 4.041 4.1628 lineto + 4.1263 4.2457 lineto + 4.2133 4.3304 lineto + 4.3021 4.4168 lineto + 4.3927 4.5051 lineto + 4.4386 4.5499 lineto + 4.4995 4.61 lineto + 4.532 4.5781 lineto + 4.5488 4.5614 lineto + 6.378103166302659 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, 1.1579208923731617E77) +newpath + 1.4142 0.0 moveto + 1.4179 0.1026 lineto + 1.4259 0.1818 lineto + 1.4388 0.2648 lineto + 1.4567 0.3492 lineto + 1.4747 0.4181 lineto + 1.4995 0.4986 lineto + 1.5328 0.5913 lineto + 1.5646 0.6693 lineto + 1.5894 0.7254 lineto + 1.6174 0.7849 lineto + 1.6489 0.8478 lineto + 1.6839 0.9141 lineto + 1.7227 0.9838 lineto + 1.7655 1.057 lineto + 1.8125 1.1336 lineto + 1.8637 1.2139 lineto + 1.9195 1.2978 lineto + 1.9798 1.3855 lineto + 2.0448 1.4769 lineto + 2.0969 1.5482 lineto + 2.1331 1.5969 lineto + 2.1706 1.6467 lineto + 2.2095 1.6976 lineto + 2.2496 1.7495 lineto + 2.2911 1.8025 lineto + 2.334 1.8567 lineto + 2.3782 1.912 lineto + 2.4239 1.9686 lineto + 2.471 2.0263 lineto + 2.5196 2.0852 lineto + 2.5696 2.1454 lineto + 2.6212 2.207 lineto + 2.6743 2.2698 lineto + 2.729 2.334 lineto + 2.7853 2.3996 lineto + 2.8433 2.4666 lineto + 2.9029 2.5351 lineto + 2.9643 2.6051 lineto + 3.0273 2.6767 lineto + 3.0922 2.7498 lineto + 3.1588 2.8246 lineto + 3.2273 2.901 lineto + 3.2977 2.9791 lineto + 3.37 3.0589 lineto + 3.4443 3.1406 lineto + 3.5206 3.2241 lineto + 3.5989 3.3094 lineto + 3.6389 3.3528 lineto + 3.6794 3.3967 lineto + 3.7204 3.4411 lineto + 3.762 3.486 lineto + 3.8041 3.5314 lineto + 3.8467 3.5774 lineto + 3.89 3.6238 lineto + 3.9338 3.6708 lineto + 3.9781 3.7183 lineto + 4.0231 3.7663 lineto + 4.0686 3.8149 lineto + 4.1147 3.864 lineto + 4.1614 3.9138 lineto + 4.2088 3.964 lineto + 4.2567 4.0149 lineto + 4.3052 4.0663 lineto + 4.3544 4.1184 lineto + 4.4042 4.171 lineto + 4.4547 4.2242 lineto + 4.5058 4.2781 lineto + 4.5575 4.3326 lineto + 4.6099 4.3877 lineto + 4.6636 4.4439 lineto + 4.588 4.522 lineto + 6.378103166302659 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, 1.1579208923731617E77) +newpath + 0.0 1.4142 moveto + 0.1026 1.4179 lineto + 0.1818 1.4259 lineto + 0.2648 1.4388 lineto + 0.3492 1.4567 lineto + 0.4181 1.4747 lineto + 0.4986 1.4995 lineto + 0.5913 1.5328 lineto + 0.6693 1.5646 lineto + 0.7254 1.5894 lineto + 0.7849 1.6174 lineto + 0.8478 1.6489 lineto + 0.9141 1.6839 lineto + 0.9838 1.7227 lineto + 1.057 1.7655 lineto + 1.1336 1.8125 lineto + 1.2139 1.8637 lineto + 1.2978 1.9195 lineto + 1.3855 1.9798 lineto + 1.4769 2.0448 lineto + 1.5482 2.0969 lineto + 1.5969 2.1331 lineto + 1.6467 2.1706 lineto + 1.6976 2.2095 lineto + 1.7495 2.2496 lineto + 1.8025 2.2911 lineto + 1.8567 2.334 lineto + 1.912 2.3782 lineto + 1.9686 2.4239 lineto + 2.0263 2.471 lineto + 2.0852 2.5196 lineto + 2.1454 2.5696 lineto + 2.207 2.6212 lineto + 2.2698 2.6743 lineto + 2.334 2.729 lineto + 2.3996 2.7853 lineto + 2.4666 2.8433 lineto + 2.5351 2.9029 lineto + 2.6051 2.9643 lineto + 2.6767 3.0273 lineto + 2.7498 3.0922 lineto + 2.8246 3.1588 lineto + 2.901 3.2273 lineto + 2.9791 3.2977 lineto + 3.0589 3.37 lineto + 3.1406 3.4443 lineto + 3.2241 3.5206 lineto + 3.3094 3.5989 lineto + 3.3528 3.6389 lineto + 3.3967 3.6794 lineto + 3.4411 3.7204 lineto + 3.486 3.762 lineto + 3.5314 3.8041 lineto + 3.5774 3.8467 lineto + 3.6238 3.89 lineto + 3.6708 3.9338 lineto + 3.7183 3.9781 lineto + 3.7663 4.0231 lineto + 3.8149 4.0686 lineto + 3.864 4.1147 lineto + 3.9138 4.1614 lineto + 3.964 4.2088 lineto + 4.0149 4.2567 lineto + 4.0663 4.3052 lineto + 4.1184 4.3544 lineto + 4.171 4.4042 lineto + 4.2242 4.4547 lineto + 4.2781 4.5058 lineto + 4.3326 4.5575 lineto + 4.3877 4.6099 lineto + 4.4439 4.6636 lineto + 4.522 4.588 lineto + 6.378103166302659 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, 1.1579208923731617E77) +newpath + 1.7321 0.0 moveto + 1.7341 0.0839 lineto + 1.7414 0.1805 lineto + 1.752 0.2637 lineto + 1.7669 0.349 lineto + 1.7821 0.4195 lineto + 1.8035 0.5026 lineto + 1.8329 0.5995 lineto + 1.8615 0.682 lineto + 1.8843 0.7419 lineto + 1.9103 0.8057 lineto + 1.9399 0.8736 lineto + 1.9734 0.9456 lineto + 2.011 1.0218 lineto + 2.0529 1.102 lineto + 2.0995 1.1865 lineto + 2.1509 1.2752 lineto + 2.2073 1.3682 lineto + 2.2689 1.4656 lineto + 2.3018 1.516 lineto + 2.336 1.5674 lineto + 2.3716 1.62 lineto + 2.4087 1.6738 lineto + 2.4471 1.7287 lineto + 2.4871 1.7848 lineto + 2.5286 1.8422 lineto + 2.5715 1.9007 lineto + 2.6161 1.9605 lineto + 2.6621 2.0216 lineto + 2.7098 2.084 lineto + 2.7591 2.1477 lineto + 2.8101 2.2128 lineto + 2.8627 2.2793 lineto + 2.917 2.3471 lineto + 2.9731 2.4164 lineto + 3.0309 2.4873 lineto + 3.0905 2.5596 lineto + 3.152 2.6335 lineto + 3.2153 2.7089 lineto + 3.2805 2.786 lineto + 3.3477 2.8648 lineto + 3.4168 2.9453 lineto + 3.488 3.0275 lineto + 3.5611 3.1115 lineto + 3.6364 3.1974 lineto + 3.6943 3.2631 lineto + 3.7335 3.3074 lineto + 3.7733 3.3523 lineto + 3.8137 3.3976 lineto + 3.8546 3.4435 lineto + 3.896 3.4898 lineto + 3.9381 3.5367 lineto + 3.9807 3.5841 lineto + 4.0239 3.632 lineto + 4.0677 3.6805 lineto + 4.112 3.7294 lineto + 4.157 3.779 lineto + 4.2026 3.8291 lineto + 4.2488 3.8797 lineto + 4.2956 3.9309 lineto + 4.343 3.9827 lineto + 4.3911 4.0351 lineto + 4.4398 4.088 lineto + 4.4892 4.1416 lineto + 4.5392 4.1958 lineto + 4.5899 4.2505 lineto + 4.6412 4.3059 lineto + 4.7186 4.3855 lineto + 4.6043 4.5054 lineto + 6.378103166302659 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, 1.1579208923731617E77) +newpath + 0.0 1.7321 moveto + 0.0839 1.7341 lineto + 0.1805 1.7414 lineto + 0.2637 1.752 lineto + 0.349 1.7669 lineto + 0.4195 1.7821 lineto + 0.5026 1.8035 lineto + 0.5995 1.8329 lineto + 0.682 1.8615 lineto + 0.7419 1.8843 lineto + 0.8057 1.9103 lineto + 0.8736 1.9399 lineto + 0.9456 1.9734 lineto + 1.0218 2.011 lineto + 1.102 2.0529 lineto + 1.1865 2.0995 lineto + 1.2752 2.1509 lineto + 1.3682 2.2073 lineto + 1.4656 2.2689 lineto + 1.516 2.3018 lineto + 1.5674 2.336 lineto + 1.62 2.3716 lineto + 1.6738 2.4087 lineto + 1.7287 2.4471 lineto + 1.7848 2.4871 lineto + 1.8422 2.5286 lineto + 1.9007 2.5715 lineto + 1.9605 2.6161 lineto + 2.0216 2.6621 lineto + 2.084 2.7098 lineto + 2.1477 2.7591 lineto + 2.2128 2.8101 lineto + 2.2793 2.8627 lineto + 2.3471 2.917 lineto + 2.4164 2.9731 lineto + 2.4873 3.0309 lineto + 2.5596 3.0905 lineto + 2.6335 3.152 lineto + 2.7089 3.2153 lineto + 2.786 3.2805 lineto + 2.8648 3.3477 lineto + 2.9453 3.4168 lineto + 3.0275 3.488 lineto + 3.1115 3.5611 lineto + 3.1974 3.6364 lineto + 3.2631 3.6943 lineto + 3.3074 3.7335 lineto + 3.3523 3.7733 lineto + 3.3976 3.8137 lineto + 3.4435 3.8546 lineto + 3.4898 3.896 lineto + 3.5367 3.9381 lineto + 3.5841 3.9807 lineto + 3.632 4.0239 lineto + 3.6805 4.0677 lineto + 3.7294 4.112 lineto + 3.779 4.157 lineto + 3.8291 4.2026 lineto + 3.8797 4.2488 lineto + 3.9309 4.2956 lineto + 3.9827 4.343 lineto + 4.0351 4.3911 lineto + 4.088 4.4398 lineto + 4.1416 4.4892 lineto + 4.1958 4.5392 lineto + 4.2505 4.5899 lineto + 4.3059 4.6412 lineto + 4.3855 4.7186 lineto + 4.5054 4.6043 lineto + 6.378103166302659 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, 0.0) +newpath + 0.5 -0.5 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, -1.0) +newpath + 0.5 -0.5 moveto + 0.7071 -0.7071 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.0) +newpath + 1.0 -1.0 moveto + 0.7071 -0.7071 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.1579208923731617E77) +newpath + 1.0 -1.0 moveto + 4.4939 -4.4939 lineto + 4.5551 -4.5551 lineto + 4.5551 -4.5551 lineto + 4.5551 -4.5551 lineto + 6.378103166302659 -6.378103166302659 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, 0.0) +newpath + 1.272 -0.7862 moveto + 1.2413 -0.7354 lineto + 1.1875 -0.6405 lineto + 1.1434 -0.5543 lineto + 1.1078 -0.4767 lineto + 1.0798 -0.4075 lineto + 1.0583 -0.3465 lineto + 1.0356 -0.2693 lineto + 1.0179 -0.1902 lineto + 1.0062 -0.1113 lineto + 1.0 -0.0029 lineto + 1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, -1.1579208923731617E77) +newpath + 1.272 -0.7862 moveto + 1.3335 -0.8822 lineto + 1.3676 -0.933 lineto + 1.4041 -0.9856 lineto + 1.4429 -1.0402 lineto + 1.4843 -1.0968 lineto + 1.5281 -1.1555 lineto + 1.5746 -1.2163 lineto + 1.6238 -1.2793 lineto + 1.6757 -1.3446 lineto + 1.7304 -1.4122 lineto + 1.7881 -1.4823 lineto + 1.8488 -1.555 lineto + 1.9125 -1.6303 lineto + 1.9795 -1.7084 lineto + 2.0499 -1.7894 lineto + 2.1236 -1.8734 lineto + 2.1812 -1.9385 lineto + 2.2208 -1.9829 lineto + 2.2613 -2.0281 lineto + 2.3027 -2.0742 lineto + 2.345 -2.1211 lineto + 2.3884 -2.169 lineto + 2.4327 -2.2177 lineto + 2.4781 -2.2674 lineto + 2.5245 -2.318 lineto + 2.5719 -2.3695 lineto + 2.6204 -2.4221 lineto + 2.67 -2.4756 lineto + 2.7206 -2.5302 lineto + 2.7725 -2.5858 lineto + 2.8254 -2.6425 lineto + 2.8796 -2.7003 lineto + 2.9349 -2.7593 lineto + 2.9914 -2.8193 lineto + 3.0492 -2.8805 lineto + 3.1082 -2.943 lineto + 3.1685 -3.0066 lineto + 3.2302 -3.0715 lineto + 3.2931 -3.1376 lineto + 3.3575 -3.2051 lineto + 3.4232 -3.2739 lineto + 3.4903 -3.344 lineto + 3.5589 -3.4155 lineto + 3.6289 -3.4884 lineto + 3.7005 -3.5628 lineto + 3.7735 -3.6386 lineto + 3.8481 -3.7159 lineto + 3.9244 -3.7948 lineto + 4.0022 -3.8752 lineto + 4.0817 -3.9573 lineto + 4.1628 -4.041 lineto + 4.2457 -4.1263 lineto + 4.3304 -4.2133 lineto + 4.4168 -4.3021 lineto + 4.5051 -4.3927 lineto + 4.5499 -4.4386 lineto + 4.61 -4.4995 lineto + 4.5781 -4.532 lineto + 4.5614 -4.5488 lineto + 6.378103166302659 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, 0.0) +newpath + 0.7862 -1.272 moveto + 0.7354 -1.2413 lineto + 0.6405 -1.1875 lineto + 0.5543 -1.1434 lineto + 0.4767 -1.1078 lineto + 0.4075 -1.0798 lineto + 0.3465 -1.0583 lineto + 0.2693 -1.0356 lineto + 0.1902 -1.0179 lineto + 0.1113 -1.0062 lineto + 0.0029 -1.0 lineto + 0.0 -1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, -1.1579208923731617E77) +newpath + 0.7862 -1.272 moveto + 0.8822 -1.3335 lineto + 0.933 -1.3676 lineto + 0.9856 -1.4041 lineto + 1.0402 -1.4429 lineto + 1.0968 -1.4843 lineto + 1.1555 -1.5281 lineto + 1.2163 -1.5746 lineto + 1.2793 -1.6238 lineto + 1.3446 -1.6757 lineto + 1.4122 -1.7304 lineto + 1.4823 -1.7881 lineto + 1.555 -1.8488 lineto + 1.6303 -1.9125 lineto + 1.7084 -1.9795 lineto + 1.7894 -2.0499 lineto + 1.8734 -2.1236 lineto + 1.9385 -2.1812 lineto + 1.9829 -2.2208 lineto + 2.0281 -2.2613 lineto + 2.0742 -2.3027 lineto + 2.1211 -2.345 lineto + 2.169 -2.3884 lineto + 2.2177 -2.4327 lineto + 2.2674 -2.4781 lineto + 2.318 -2.5245 lineto + 2.3695 -2.5719 lineto + 2.4221 -2.6204 lineto + 2.4756 -2.67 lineto + 2.5302 -2.7206 lineto + 2.5858 -2.7725 lineto + 2.6425 -2.8254 lineto + 2.7003 -2.8796 lineto + 2.7593 -2.9349 lineto + 2.8193 -2.9914 lineto + 2.8805 -3.0492 lineto + 2.943 -3.1082 lineto + 3.0066 -3.1685 lineto + 3.0715 -3.2302 lineto + 3.1376 -3.2931 lineto + 3.2051 -3.3575 lineto + 3.2739 -3.4232 lineto + 3.344 -3.4903 lineto + 3.4155 -3.5589 lineto + 3.4884 -3.6289 lineto + 3.5628 -3.7005 lineto + 3.6386 -3.7735 lineto + 3.7159 -3.8481 lineto + 3.7948 -3.9244 lineto + 3.8752 -4.0022 lineto + 3.9573 -4.0817 lineto + 4.041 -4.1628 lineto + 4.1263 -4.2457 lineto + 4.2133 -4.3304 lineto + 4.3021 -4.4168 lineto + 4.3927 -4.5051 lineto + 4.4386 -4.5499 lineto + 4.4995 -4.61 lineto + 4.532 -4.5781 lineto + 4.5488 -4.5614 lineto + 6.378103166302659 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, -1.1579208923731617E77) +newpath + 1.4142 0.0 moveto + 1.4179 -0.1026 lineto + 1.4259 -0.1818 lineto + 1.4388 -0.2648 lineto + 1.4567 -0.3492 lineto + 1.4747 -0.4181 lineto + 1.4995 -0.4986 lineto + 1.5328 -0.5913 lineto + 1.5646 -0.6693 lineto + 1.5894 -0.7254 lineto + 1.6174 -0.7849 lineto + 1.6489 -0.8478 lineto + 1.6839 -0.9141 lineto + 1.7227 -0.9838 lineto + 1.7655 -1.057 lineto + 1.8125 -1.1336 lineto + 1.8637 -1.2139 lineto + 1.9195 -1.2978 lineto + 1.9798 -1.3855 lineto + 2.0448 -1.4769 lineto + 2.0969 -1.5482 lineto + 2.1331 -1.5969 lineto + 2.1706 -1.6467 lineto + 2.2095 -1.6976 lineto + 2.2496 -1.7495 lineto + 2.2911 -1.8025 lineto + 2.334 -1.8567 lineto + 2.3782 -1.912 lineto + 2.4239 -1.9686 lineto + 2.471 -2.0263 lineto + 2.5196 -2.0852 lineto + 2.5696 -2.1454 lineto + 2.6212 -2.207 lineto + 2.6743 -2.2698 lineto + 2.729 -2.334 lineto + 2.7853 -2.3996 lineto + 2.8433 -2.4666 lineto + 2.9029 -2.5351 lineto + 2.9643 -2.6051 lineto + 3.0273 -2.6767 lineto + 3.0922 -2.7498 lineto + 3.1588 -2.8246 lineto + 3.2273 -2.901 lineto + 3.2977 -2.9791 lineto + 3.37 -3.0589 lineto + 3.4443 -3.1406 lineto + 3.5206 -3.2241 lineto + 3.5989 -3.3094 lineto + 3.6389 -3.3528 lineto + 3.6794 -3.3967 lineto + 3.7204 -3.4411 lineto + 3.762 -3.486 lineto + 3.8041 -3.5314 lineto + 3.8467 -3.5774 lineto + 3.89 -3.6238 lineto + 3.9338 -3.6708 lineto + 3.9781 -3.7183 lineto + 4.0231 -3.7663 lineto + 4.0686 -3.8149 lineto + 4.1147 -3.864 lineto + 4.1614 -3.9138 lineto + 4.2088 -3.964 lineto + 4.2567 -4.0149 lineto + 4.3052 -4.0663 lineto + 4.3544 -4.1184 lineto + 4.4042 -4.171 lineto + 4.4547 -4.2242 lineto + 4.5058 -4.2781 lineto + 4.5575 -4.3326 lineto + 4.6099 -4.3877 lineto + 4.6636 -4.4439 lineto + 4.588 -4.522 lineto + 6.378103166302659 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, -1.1579208923731617E77) +newpath + 0.0 -1.4142 moveto + 0.1026 -1.4179 lineto + 0.1818 -1.4259 lineto + 0.2648 -1.4388 lineto + 0.3492 -1.4567 lineto + 0.4181 -1.4747 lineto + 0.4986 -1.4995 lineto + 0.5913 -1.5328 lineto + 0.6693 -1.5646 lineto + 0.7254 -1.5894 lineto + 0.7849 -1.6174 lineto + 0.8478 -1.6489 lineto + 0.9141 -1.6839 lineto + 0.9838 -1.7227 lineto + 1.057 -1.7655 lineto + 1.1336 -1.8125 lineto + 1.2139 -1.8637 lineto + 1.2978 -1.9195 lineto + 1.3855 -1.9798 lineto + 1.4769 -2.0448 lineto + 1.5482 -2.0969 lineto + 1.5969 -2.1331 lineto + 1.6467 -2.1706 lineto + 1.6976 -2.2095 lineto + 1.7495 -2.2496 lineto + 1.8025 -2.2911 lineto + 1.8567 -2.334 lineto + 1.912 -2.3782 lineto + 1.9686 -2.4239 lineto + 2.0263 -2.471 lineto + 2.0852 -2.5196 lineto + 2.1454 -2.5696 lineto + 2.207 -2.6212 lineto + 2.2698 -2.6743 lineto + 2.334 -2.729 lineto + 2.3996 -2.7853 lineto + 2.4666 -2.8433 lineto + 2.5351 -2.9029 lineto + 2.6051 -2.9643 lineto + 2.6767 -3.0273 lineto + 2.7498 -3.0922 lineto + 2.8246 -3.1588 lineto + 2.901 -3.2273 lineto + 2.9791 -3.2977 lineto + 3.0589 -3.37 lineto + 3.1406 -3.4443 lineto + 3.2241 -3.5206 lineto + 3.3094 -3.5989 lineto + 3.3528 -3.6389 lineto + 3.3967 -3.6794 lineto + 3.4411 -3.7204 lineto + 3.486 -3.762 lineto + 3.5314 -3.8041 lineto + 3.5774 -3.8467 lineto + 3.6238 -3.89 lineto + 3.6708 -3.9338 lineto + 3.7183 -3.9781 lineto + 3.7663 -4.0231 lineto + 3.8149 -4.0686 lineto + 3.864 -4.1147 lineto + 3.9138 -4.1614 lineto + 3.964 -4.2088 lineto + 4.0149 -4.2567 lineto + 4.0663 -4.3052 lineto + 4.1184 -4.3544 lineto + 4.171 -4.4042 lineto + 4.2242 -4.4547 lineto + 4.2781 -4.5058 lineto + 4.3326 -4.5575 lineto + 4.3877 -4.6099 lineto + 4.4439 -4.6636 lineto + 4.522 -4.588 lineto + 6.378103166302659 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, -1.1579208923731617E77) +newpath + 1.7321 0.0 moveto + 1.7341 -0.0839 lineto + 1.7414 -0.1805 lineto + 1.752 -0.2637 lineto + 1.7669 -0.349 lineto + 1.7821 -0.4195 lineto + 1.8035 -0.5026 lineto + 1.8329 -0.5995 lineto + 1.8615 -0.682 lineto + 1.8843 -0.7419 lineto + 1.9103 -0.8057 lineto + 1.9399 -0.8736 lineto + 1.9734 -0.9456 lineto + 2.011 -1.0218 lineto + 2.0529 -1.102 lineto + 2.0995 -1.1865 lineto + 2.1509 -1.2752 lineto + 2.2073 -1.3682 lineto + 2.2689 -1.4656 lineto + 2.3018 -1.516 lineto + 2.336 -1.5674 lineto + 2.3716 -1.62 lineto + 2.4087 -1.6738 lineto + 2.4471 -1.7287 lineto + 2.4871 -1.7848 lineto + 2.5286 -1.8422 lineto + 2.5715 -1.9007 lineto + 2.6161 -1.9605 lineto + 2.6621 -2.0216 lineto + 2.7098 -2.084 lineto + 2.7591 -2.1477 lineto + 2.8101 -2.2128 lineto + 2.8627 -2.2793 lineto + 2.917 -2.3471 lineto + 2.9731 -2.4164 lineto + 3.0309 -2.4873 lineto + 3.0905 -2.5596 lineto + 3.152 -2.6335 lineto + 3.2153 -2.7089 lineto + 3.2805 -2.786 lineto + 3.3477 -2.8648 lineto + 3.4168 -2.9453 lineto + 3.488 -3.0275 lineto + 3.5611 -3.1115 lineto + 3.6364 -3.1974 lineto + 3.6943 -3.2631 lineto + 3.7335 -3.3074 lineto + 3.7733 -3.3523 lineto + 3.8137 -3.3976 lineto + 3.8546 -3.4435 lineto + 3.896 -3.4898 lineto + 3.9381 -3.5367 lineto + 3.9807 -3.5841 lineto + 4.0239 -3.632 lineto + 4.0677 -3.6805 lineto + 4.112 -3.7294 lineto + 4.157 -3.779 lineto + 4.2026 -3.8291 lineto + 4.2488 -3.8797 lineto + 4.2956 -3.9309 lineto + 4.343 -3.9827 lineto + 4.3911 -4.0351 lineto + 4.4398 -4.088 lineto + 4.4892 -4.1416 lineto + 4.5392 -4.1958 lineto + 4.5899 -4.2505 lineto + 4.6412 -4.3059 lineto + 4.7186 -4.3855 lineto + 4.6043 -4.5054 lineto + 6.378103166302659 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, -1.1579208923731617E77) +newpath + 0.0 -1.7321 moveto + 0.0839 -1.7341 lineto + 0.1805 -1.7414 lineto + 0.2637 -1.752 lineto + 0.349 -1.7669 lineto + 0.4195 -1.7821 lineto + 0.5026 -1.8035 lineto + 0.5995 -1.8329 lineto + 0.682 -1.8615 lineto + 0.7419 -1.8843 lineto + 0.8057 -1.9103 lineto + 0.8736 -1.9399 lineto + 0.9456 -1.9734 lineto + 1.0218 -2.011 lineto + 1.102 -2.0529 lineto + 1.1865 -2.0995 lineto + 1.2752 -2.1509 lineto + 1.3682 -2.2073 lineto + 1.4656 -2.2689 lineto + 1.516 -2.3018 lineto + 1.5674 -2.336 lineto + 1.62 -2.3716 lineto + 1.6738 -2.4087 lineto + 1.7287 -2.4471 lineto + 1.7848 -2.4871 lineto + 1.8422 -2.5286 lineto + 1.9007 -2.5715 lineto + 1.9605 -2.6161 lineto + 2.0216 -2.6621 lineto + 2.084 -2.7098 lineto + 2.1477 -2.7591 lineto + 2.2128 -2.8101 lineto + 2.2793 -2.8627 lineto + 2.3471 -2.917 lineto + 2.4164 -2.9731 lineto + 2.4873 -3.0309 lineto + 2.5596 -3.0905 lineto + 2.6335 -3.152 lineto + 2.7089 -3.2153 lineto + 2.786 -3.2805 lineto + 2.8648 -3.3477 lineto + 2.9453 -3.4168 lineto + 3.0275 -3.488 lineto + 3.1115 -3.5611 lineto + 3.1974 -3.6364 lineto + 3.2631 -3.6943 lineto + 3.3074 -3.7335 lineto + 3.3523 -3.7733 lineto + 3.3976 -3.8137 lineto + 3.4435 -3.8546 lineto + 3.4898 -3.896 lineto + 3.5367 -3.9381 lineto + 3.5841 -3.9807 lineto + 3.632 -4.0239 lineto + 3.6805 -4.0677 lineto + 3.7294 -4.112 lineto + 3.779 -4.157 lineto + 3.8291 -4.2026 lineto + 3.8797 -4.2488 lineto + 3.9309 -4.2956 lineto + 3.9827 -4.343 lineto + 4.0351 -4.3911 lineto + 4.088 -4.4398 lineto + 4.1416 -4.4892 lineto + 4.1958 -4.5392 lineto + 4.2505 -4.5899 lineto + 4.3059 -4.6412 lineto + 4.3855 -4.7186 lineto + 4.5054 -4.6043 lineto + 6.378103166302659 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Real axis +newpath -5 0 moveto 5 0 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 1.0 0.12 moveto 1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.0 0.12 moveto -1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 2.0 0.12 moveto 2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -2.0 0.12 moveto -2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.0 0.12 moveto 3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.0 0.12 moveto -3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 4.0 0.12 moveto 4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -4.0 0.12 moveto -4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 1.5707963267948966 0.09 moveto 1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.5707963267948966 0.09 moveto -1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.141592653589793 0.09 moveto 3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.141592653589793 0.09 moveto -3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +% Imaginary axis +newpath 0 -5 moveto 0 5 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 0.12 1.0 moveto -0.12 1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -1.0 moveto -0.12 -1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 2.0 moveto -0.12 2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -2.0 moveto -0.12 -2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 3.0 moveto -0.12 3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -3.0 moveto -0.12 -3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 4.0 moveto -0.12 4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -4.0 moveto -0.12 -4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 1.5707963267948966 moveto -0.09 1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -1.5707963267948966 moveto -0.09 -1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 3.141592653589793 moveto -0.09 3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -3.141592653589793 moveto -0.09 -3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +% End of PostScript file for plot of function SQRT +%%EndDocument + @endspecial 80 x(The)d Fj(sqrt)f FA(function)i(maps)g(the)g(complex)g +(plane)h(in)o(to)f(the)f(righ)o(t)i(half)f(of)f(the)g(plane)i(b)o(y)e +(slitting)0 1891 y(it)h(along)h(the)e(negativ)o(e)i(real)f(axis)h(and)f +(then)g(sw)o(eeping)g(it)g(around)h(as)e(if)h(half-closing)i(a)e +(folding)0 1937 y(fan.)26 b(The)16 b(fan)g(also)h(shrinks,)h(as)e(if)h +(it)f(w)o(ere)g(made)g(of)g(cotton)g(and)h(had)g(gotten)f(w)o(etter)g +(at)0 1983 y(the)d(p)q(eriphery)j(than)e(at)f(the)g(cen)o(ter.)18 +b(The)13 b(p)q(ositiv)o(e)j(real)e(axis)g(is)g(mapp)q(ed)g(on)o(to)g +(itself.)19 b(The)0 2028 y(negativ)o(e)c(real)g(axis)g(is)g(mapp)q(ed)g +(on)o(to)f(the)g(p)q(ositiv)o(e)i(imaginary)g(axis)f(\(but)g(if)f(min)o +(us)h(zero)f(is)0 2074 y(supp)q(orted,)i(then)g Ff(\000)p +Fq(x)d FA(+)d(0)p Fq(i)18 b FA(is)d(mapp)q(ed)h(on)o(to)f(the)g(p)q +(ositiv)o(e)i(imaginary)g(axis)f(and)f Ff(\000)p Fq(x)f +Ff(\000)9 b FA(0)p Fq(i)0 2120 y FA(on)o(to)17 b(the)f(negativ)o(e)i +(imaginary)h(axis,)f(assuming)g Fq(x)j Fd(>)16 b FA(0\).)27 +b(The)16 b(p)q(ositiv)o(e)j(imaginary)f(axis)0 2165 y(is)e(mapp)q(ed)h +(on)o(to)f(the)g(northeast)g(diagonal,)j(and)d(the)g(negativ)o(e)h +(imaginary)h(axis)e(on)o(to)g(the)0 2211 y(southeast)d(diagonal.)20 +b(More)12 b(generally)m(,)j(lines)f(are)e(mapp)q(ed)h(to)g(rectangular) +h(h)o(yp)q(erb)q(olas)h(\(or)0 2257 y(fragmen)o(ts)g(thereof)7 +b(\))15 b(cen)o(tered)g(on)g(the)g(origin;)j(lines)e(through)g(the)f +(origin)i(are)e(mapp)q(ed)h(to)0 2302 y(degenerate)e(h)o(yp)q(erb)q +(olas)i(\(p)q(erp)q(endicular)g(lines)f(through)f(the)f(origin\).)p +0 2334 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 343 367 +343 366 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(343)p +0 255 1395 2 v 0 322 a Fm(Figure)14 b(12-3:)j FA(Illustration)f(of)d +(the)g(Range)h(of)f(the)g(Exp)q(onen)o(tial)j(F)m(unction)0 +1766 y @beginspecial @setspecial +%%BeginDocument: exp-plot.ps +% PostScript file for plot of function EXP +% Plot is to fit in a region 4.666666666666667 inches square +% showing axes extending 4.1 units from the origin. + +40.97560975609756 40.97560975609756 scale +4.1 4.1 translate +newpath + -4.1 -4.1 moveto + 4.1 -4.1 lineto + 4.1 4.1 lineto + -4.1 4.1 lineto + closepath +clip +% Moby grid for function EXP +% Annulus 0.25 0.5 4 0.97 0.45 +% Sector from 4.7124 to 6.2832 (quadrant 3) +newpath + 0.9689 -0.2474 moveto + 0.9535 -0.3014 lineto + 0.9305 -0.3663 lineto + %middle radial + 0.9305 -0.3663 lineto + 0.8937 -0.4487 lineto + 0.8776 -0.4794 lineto + %end radial + 0.8776 -0.4794 lineto + 0.9667 -0.5174 lineto + 1.0749 -0.539 lineto + 1.1357 -0.5406 lineto + 1.2003 -0.5344 lineto + 1.2675 -0.519 lineto + 1.336 -0.4931 lineto + %middle circumferential + 1.336 -0.4931 lineto + 1.3949 -0.4613 lineto + 1.4517 -0.4203 lineto + 1.5049 -0.37 lineto + 1.5524 -0.3104 lineto + 1.5923 -0.2424 lineto + 1.6228 -0.1668 lineto + 1.6421 -0.0853 lineto + 1.6487 0.0 lineto + %end circumferential + 1.6487 0.0 lineto + 1.455 0.0 lineto + %middle radial + 1.455 0.0 lineto + 1.284 0.0 lineto + %end radial + 1.284 0.0 lineto + 1.2819 -0.0333 lineto + 1.2655 -0.0958 lineto + 1.2358 -0.1497 lineto + 1.1748 -0.2099 lineto + %middle circumferential + 1.1748 -0.2099 lineto + 1.1212 -0.2383 lineto + 1.0156 -0.2547 lineto + 0.9689 -0.2474 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 3.1416 to 4.7124 (quadrant 2) +newpath + 0.7788 0.0 moveto + 0.6873 0.0 lineto + %middle radial + 0.6873 0.0 lineto + 0.6065 0.0 lineto + %end radial + 0.6065 0.0 lineto + 0.609 -0.0547 lineto + 0.6172 -0.1131 lineto + 0.6329 -0.1757 lineto + 0.6588 -0.2431 lineto + %middle circumferential + 0.6588 -0.2431 lineto + 0.6903 -0.3017 lineto + 0.7345 -0.3625 lineto + 0.7954 -0.4233 lineto + 0.8776 -0.4794 lineto + %end circumferential + 0.8776 -0.4794 lineto + 0.8937 -0.4487 lineto + 0.9305 -0.3663 lineto + %middle radial + 0.9305 -0.3663 lineto + 0.9535 -0.3014 lineto + 0.9689 -0.2474 lineto + %end radial + 0.9689 -0.2474 lineto + 0.8814 -0.2056 lineto + 0.8249 -0.1474 lineto + %middle circumferential + 0.8249 -0.1474 lineto + 0.7889 -0.0717 lineto + 0.7788 0.0 lineto + %end circumferential + closepath +currentgray 0.6233333333333334 setgray fill setgray +% Sector from 1.5708 to 3.1416 (quadrant 1) +newpath + 0.9689 0.2474 moveto + 0.9535 0.3014 lineto + 0.9305 0.3663 lineto + %middle radial + 0.9305 0.3663 lineto + 0.8937 0.4487 lineto + 0.8776 0.4794 lineto + %end radial + 0.8776 0.4794 lineto + 0.8104 0.4354 lineto + 0.7503 0.3804 lineto + 0.6993 0.3157 lineto + 0.6588 0.2431 lineto + %middle circumferential + 0.6588 0.2431 lineto + 0.6367 0.1874 lineto + 0.6204 0.1285 lineto + 0.6102 0.0662 lineto + 0.6065 0.0 lineto + %end circumferential + 0.6065 0.0 lineto + 0.6873 0.0 lineto + %middle radial + 0.6873 0.0 lineto + 0.7788 0.0 lineto + %end radial + 0.7788 0.0 lineto + 0.7918 0.0812 lineto + 0.8249 0.1474 lineto + %middle circumferential + 0.8249 0.1474 lineto + 0.8921 0.2132 lineto + 0.9689 0.2474 lineto + %end circumferential + closepath +currentgray 0.7966666666666668 setgray fill setgray +% Sector from 0.0 to 1.5708 (quadrant 0) +newpath + 1.284 0.0 moveto + 1.455 0.0 lineto + %middle radial + 1.455 0.0 lineto + 1.6487 0.0 lineto + %end radial + 1.6487 0.0 lineto + 1.6487 0.0019 lineto + 1.6438 0.0731 lineto + 1.6281 0.1492 lineto + 1.6065 0.211 lineto + 1.5637 0.2934 lineto + 1.529 0.3419 lineto + 1.4816 0.3938 lineto + 1.4182 0.4458 lineto + 1.336 0.4931 lineto + %middle circumferential + 1.336 0.4931 lineto + 1.2389 0.5267 lineto + 1.155 0.5396 lineto + 1.095 0.5403 lineto + 1.0329 0.5335 lineto + 0.9699 0.5184 lineto + 0.9078 0.4946 lineto + 0.8776 0.4794 lineto + %end circumferential + 0.8776 0.4794 lineto + 0.8937 0.4487 lineto + 0.9305 0.3663 lineto + %middle radial + 0.9305 0.3663 lineto + 0.9535 0.3014 lineto + 0.9689 0.2474 lineto + %end radial + 0.9689 0.2474 lineto + 1.0015 0.2535 lineto + 1.0895 0.2482 lineto + 1.1748 0.2099 lineto + %middle circumferential + 1.1748 0.2099 lineto + 1.2277 0.1604 lineto + 1.2702 0.0831 lineto + 1.2837 0.0138 lineto + 1.284 0.0 lineto + %end circumferential + closepath +currentgray 0.9700000000000001 setgray fill setgray +% Annulus 0.75 1.0 8 0.97 0.45 +% Sector from 5.4978 to 6.2832 (quadrant 3) +newpath + 1.4661 -0.8596 moveto + 1.4783 -0.9087 lineto + 1.5016 -1.017 lineto + 1.5124 -1.0768 lineto + %middle radial + 1.5124 -1.0768 lineto + 1.5251 -1.1606 lineto + 1.5326 -1.2206 lineto + 1.5391 -1.2843 lineto + 1.5419 -1.3175 lineto + %end radial + 1.5419 -1.3175 lineto + 1.6393 -1.3058 lineto + 1.7395 -1.2853 lineto + 1.8415 -1.2551 lineto + 1.9442 -1.2145 lineto + 2.0465 -1.1631 lineto + 2.0971 -1.1332 lineto + 2.147 -1.1005 lineto + 2.1962 -1.0648 lineto + 2.2443 -1.0263 lineto + 2.2913 -0.9849 lineto + 2.3368 -0.9406 lineto + %middle circumferential + 2.3368 -0.9406 lineto + 2.378 -0.8967 lineto + 2.4176 -0.8503 lineto + 2.4554 -0.8015 lineto + 2.4914 -0.7504 lineto + 2.5252 -0.697 lineto + 2.5569 -0.6416 lineto + 2.5861 -0.5841 lineto + 2.6127 -0.5247 lineto + 2.6367 -0.4636 lineto + 2.6578 -0.4008 lineto + 2.6759 -0.3366 lineto + 2.691 -0.2711 lineto + 2.7028 -0.2045 lineto + 2.7114 -0.1369 lineto + 2.7165 -0.0687 lineto + 2.7183 0.0 lineto + %end circumferential + 2.7183 0.0 lineto + 2.3989 0.0 lineto + %middle radial + 2.3989 0.0 lineto + 2.117 0.0 lineto + %end radial + 2.117 0.0 lineto + 2.1135 -0.08 lineto + 2.103 -0.1586 lineto + 2.086 -0.2352 lineto + 2.0627 -0.3089 lineto + 2.0338 -0.3793 lineto + 1.9996 -0.4459 lineto + 1.9607 -0.5082 lineto + 1.9177 -0.566 lineto + %middle circumferential + 1.9177 -0.566 lineto + 1.868 -0.6225 lineto + 1.815 -0.6733 lineto + 1.7594 -0.7183 lineto + 1.702 -0.7576 lineto + 1.6434 -0.7912 lineto + 1.5842 -0.8192 lineto + 1.5249 -0.842 lineto + 1.4661 -0.8596 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 4.7124 to 5.4978 (quadrant 3) +newpath + 0.7317 -0.6816 moveto + 0.6894 -0.7244 lineto + 0.641 -0.7675 lineto + %middle radial + 0.641 -0.7675 lineto + 0.5935 -0.8048 lineto + 0.5403 -0.8415 lineto + %end radial + 0.5403 -0.8415 lineto + 0.5984 -0.9227 lineto + 0.6729 -1.0066 lineto + 0.7172 -1.0487 lineto + 0.7669 -1.0903 lineto + 0.8223 -1.131 lineto + 0.8837 -1.17 lineto + %middle circumferential + 0.8837 -1.17 lineto + 0.9463 -1.2039 lineto + 1.0145 -1.2352 lineto + 1.0885 -1.2629 lineto + 1.1682 -1.2864 lineto + 1.2537 -1.3045 lineto + 1.3448 -1.3164 lineto + 1.441 -1.3211 lineto + 1.5419 -1.3175 lineto + %end circumferential + 1.5419 -1.3175 lineto + 1.5391 -1.2843 lineto + 1.5326 -1.2206 lineto + 1.5251 -1.1606 lineto + 1.5124 -1.0768 lineto + %middle radial + 1.5124 -1.0768 lineto + 1.5016 -1.017 lineto + 1.4783 -0.9087 lineto + 1.4661 -0.8596 lineto + %end radial + 1.4661 -0.8596 lineto + 1.4348 -0.8671 lineto + 1.3732 -0.8783 lineto + 1.3133 -0.8845 lineto + 1.2273 -0.8857 lineto + 1.1209 -0.8743 lineto + 1.0252 -0.8511 lineto + %middle circumferential + 1.0252 -0.8511 lineto + 0.934 -0.8165 lineto + 0.8553 -0.775 lineto + 0.7883 -0.7294 lineto + 0.7317 -0.6816 lineto + %end circumferential + closepath +currentgray 0.5242857142857142 setgray fill setgray +% Sector from 3.927 to 4.7124 (quadrant 2) +newpath + 0.5076 -0.2976 moveto + 0.4388 -0.3124 lineto + %middle radial + 0.4388 -0.3124 lineto + 0.3749 -0.3203 lineto + %end radial + 0.3749 -0.3203 lineto + 0.3862 -0.4213 lineto + 0.3963 -0.4796 lineto + 0.4111 -0.5442 lineto + %middle circumferential + 0.4111 -0.5442 lineto + 0.4302 -0.6092 lineto + 0.4564 -0.6804 lineto + 0.4922 -0.7579 lineto + 0.5403 -0.8415 lineto + %end circumferential + 0.5403 -0.8415 lineto + 0.5935 -0.8048 lineto + 0.641 -0.7675 lineto + %middle radial + 0.641 -0.7675 lineto + 0.6894 -0.7244 lineto + 0.7317 -0.6816 lineto + %end radial + 0.7317 -0.6816 lineto + 0.7049 -0.6554 lineto + 0.6587 -0.6032 lineto + 0.621 -0.5522 lineto + 0.5774 -0.4794 lineto + %middle circumferential + 0.5774 -0.4794 lineto + 0.5343 -0.3828 lineto + 0.5076 -0.2976 lineto + %end circumferential + closepath +currentgray 0.5985714285714285 setgray fill setgray +% Sector from 3.1416 to 3.927 (quadrant 2) +newpath + 0.4724 0.0 moveto + 0.4169 0.0 lineto + %middle radial + 0.4169 0.0 lineto + 0.3679 0.0 lineto + %end radial + 0.3679 0.0 lineto + 0.3679 -0.0705 lineto + 0.3683 -0.1482 lineto + %middle circumferential + 0.3683 -0.1482 lineto + 0.3698 -0.2274 lineto + 0.3749 -0.3203 lineto + %end circumferential + 0.3749 -0.3203 lineto + 0.4388 -0.3124 lineto + %middle radial + 0.4388 -0.3124 lineto + 0.5076 -0.2976 lineto + %end radial + 0.5076 -0.2976 lineto + 0.4898 -0.2149 lineto + 0.4797 -0.1416 lineto + %middle circumferential + 0.4797 -0.1416 lineto + 0.474 -0.0678 lineto + 0.4724 0.0 lineto + %end circumferential + closepath +currentgray 0.6728571428571428 setgray fill setgray +% Sector from 2.3562 to 3.1416 (quadrant 1) +newpath + 0.5076 0.2976 moveto + 0.4388 0.3124 lineto + %middle radial + 0.4388 0.3124 lineto + 0.3749 0.3203 lineto + %end radial + 0.3749 0.3203 lineto + 0.37 0.2329 lineto + 0.3683 0.1482 lineto + %middle circumferential + 0.3683 0.1482 lineto + 0.3679 0.0752 lineto + 0.3679 0.0 lineto + %end circumferential + 0.3679 0.0 lineto + 0.4169 0.0 lineto + %middle radial + 0.4169 0.0 lineto + 0.4724 0.0 lineto + %end radial + 0.4724 0.0 lineto + 0.4742 0.0722 lineto + 0.4797 0.1416 lineto + %middle circumferential + 0.4797 0.1416 lineto + 0.4907 0.2199 lineto + 0.5076 0.2976 lineto + %end circumferential + closepath +currentgray 0.7471428571428572 setgray fill setgray +% Sector from 1.5708 to 2.3562 (quadrant 1) +newpath + 0.7317 0.6816 moveto + 0.6894 0.7244 lineto + 0.641 0.7675 lineto + %middle radial + 0.641 0.7675 lineto + 0.5935 0.8048 lineto + 0.5403 0.8415 lineto + %end radial + 0.5403 0.8415 lineto + 0.4969 0.767 lineto + 0.4613 0.692 lineto + 0.4329 0.6174 lineto + 0.4111 0.5442 lineto + %middle circumferential + 0.4111 0.5442 lineto + 0.3976 0.4859 lineto + 0.38 0.3739 lineto + 0.3749 0.3203 lineto + %end circumferential + 0.3749 0.3203 lineto + 0.4388 0.3124 lineto + %middle radial + 0.4388 0.3124 lineto + 0.5076 0.2976 lineto + %end radial + 0.5076 0.2976 lineto + 0.5367 0.3891 lineto + 0.5774 0.4794 lineto + %middle circumferential + 0.5774 0.4794 lineto + 0.6086 0.5333 lineto + 0.6448 0.5854 lineto + 0.6859 0.6351 lineto + 0.7317 0.6816 lineto + %end circumferential + closepath +currentgray 0.8214285714285714 setgray fill setgray +% Sector from 0.7854 to 1.5708 (quadrant 0) +newpath + 1.4661 0.8596 moveto + 1.4783 0.9087 lineto + 1.5016 1.017 lineto + 1.5124 1.0768 lineto + %middle radial + 1.5124 1.0768 lineto + 1.5251 1.1606 lineto + 1.5326 1.2206 lineto + 1.5391 1.2843 lineto + 1.5419 1.3175 lineto + %end radial + 1.5419 1.3175 lineto + 1.4603 1.3211 lineto + 1.3771 1.3189 lineto + 1.2929 1.3106 lineto + 1.2083 1.2957 lineto + 1.1243 1.2743 lineto + 1.0415 1.2461 lineto + 0.9611 1.2112 lineto + 0.8837 1.17 lineto + %middle circumferential + 0.8837 1.17 lineto + 0.8312 1.137 lineto + 0.781 1.1012 lineto + 0.7334 1.0628 lineto + 0.6885 1.022 lineto + 0.6467 0.9792 lineto + 0.608 0.9346 lineto + 0.5403 0.8415 lineto + %end circumferential + 0.5403 0.8415 lineto + 0.5935 0.8048 lineto + 0.641 0.7675 lineto + %middle radial + 0.641 0.7675 lineto + 0.6894 0.7244 lineto + 0.7317 0.6816 lineto + %end radial + 0.7317 0.6816 lineto + 0.7972 0.736 lineto + 0.8689 0.783 lineto + 0.9454 0.8215 lineto + 1.0252 0.8511 lineto + %middle circumferential + 1.0252 0.8511 lineto + 1.0825 0.8665 lineto + 1.1401 0.8774 lineto + 1.2541 0.8863 lineto + 1.3636 0.8796 lineto + 1.4661 0.8596 lineto + %end circumferential + closepath +currentgray 0.8957142857142858 setgray fill setgray +% Sector from 0.0 to 0.7854 (quadrant 0) +newpath + 2.117 0.0 moveto + 2.3989 0.0 lineto + %middle radial + 2.3989 0.0 lineto + 2.7183 0.0 lineto + %end radial + 2.7183 0.0 lineto + 2.7183 0.0033 lineto + 2.7156 0.0848 lineto + 2.707 0.1744 lineto + 2.6952 0.2494 lineto + 2.6787 0.3255 lineto + 2.6617 0.388 lineto + 2.6375 0.4613 lineto + 2.6032 0.5468 lineto + 2.555 0.645 lineto + 2.5241 0.6989 lineto + 2.4877 0.7558 lineto + 2.445 0.8154 lineto + 2.395 0.8772 lineto + 2.3368 0.9406 lineto + %middle circumferential + 2.3368 0.9406 lineto + 2.2725 1.002 lineto + 2.1989 1.0628 lineto + 2.1154 1.1216 lineto + 2.0213 1.1769 lineto + 1.9437 1.2147 lineto + 1.8887 1.2377 lineto + 1.8309 1.2586 lineto + 1.7707 1.277 lineto + 1.708 1.2927 lineto + 1.643 1.3052 lineto + 1.576 1.3144 lineto + 1.5419 1.3175 lineto + %end circumferential + 1.5419 1.3175 lineto + 1.5391 1.2843 lineto + 1.5326 1.2206 lineto + 1.5251 1.1606 lineto + 1.5124 1.0768 lineto + %middle radial + 1.5124 1.0768 lineto + 1.5016 1.017 lineto + 1.4783 0.9087 lineto + 1.4661 0.8596 lineto + %end radial + 1.4661 0.8596 lineto + 1.5466 0.8342 lineto + 1.6201 0.8029 lineto + 1.6863 0.7672 lineto + 1.7454 0.7286 lineto + 1.7976 0.6882 lineto + 1.8433 0.6472 lineto + 1.9177 0.566 lineto + %middle circumferential + 1.9177 0.566 lineto + 1.9752 0.4863 lineto + 2.0167 0.4142 lineto + 2.0464 0.3507 lineto + 2.0674 0.2956 lineto + 2.0927 0.2083 lineto + 2.1052 0.1459 lineto + 2.1142 0.0711 lineto + 2.117 0.0019 lineto + 2.117 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 1.5708 2.0 16 0.97 0.45 +% Sector from 5.8905 to 6.2832 (quadrant 3) +newpath + 3.5201 -2.414 moveto + 3.5794 -2.5061 lineto + 3.6401 -2.6024 lineto + 3.671 -2.6523 lineto + 3.7023 -2.7033 lineto + 3.734 -2.7556 lineto + 3.766 -2.809 lineto + 3.7984 -2.8638 lineto + 3.8312 -2.9198 lineto + 3.8644 -2.9772 lineto + 3.898 -3.036 lineto + 3.9319 -3.0961 lineto + 3.9663 -3.1578 lineto + 4.001 -3.2209 lineto + 4.0361 -3.2856 lineto + %middle radial + 4.0361 -3.2856 lineto + 4.0676 -3.3442 lineto + 4.0993 -3.4041 lineto + 4.1314 -3.4653 lineto + 4.1638 -3.5279 lineto + 4.1965 -3.5918 lineto + 4.2295 -3.6571 lineto + 4.2628 -3.7239 lineto + 4.2964 -3.7922 lineto + 4.3303 -3.8619 lineto + 4.3645 -3.9333 lineto + 4.399 -4.0062 lineto + 4.4338 -4.0807 lineto + 4.4689 -4.157 lineto + 4.5043 -4.2349 lineto + 4.54 -4.3147 lineto + 4.576 -4.3962 lineto + %end radial + 4.576 -4.3962 lineto + 4.6461 -4.3648 lineto + 5.0296 -4.0251 lineto + 6.378103166302659 -2.7045 lineto + %middle circumferential + 6.378103166302659 -2.7045 lineto + 6.378103166302659 0.0 lineto + %end circumferential + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.359 0.0 lineto + 5.962 0.0 lineto + %middle radial + 5.962 0.0 lineto + 4.8105 0.0 lineto + %end radial + 4.8105 0.0 lineto + 4.809 -0.0941 lineto + 4.8045 -0.1879 lineto + 4.797 -0.2813 lineto + 4.7866 -0.3741 lineto + 4.7732 -0.4663 lineto + 4.7571 -0.5577 lineto + 4.7381 -0.6482 lineto + 4.7163 -0.7378 lineto + 4.6918 -0.8263 lineto + 4.6647 -0.9137 lineto + 4.635 -0.9997 lineto + 4.6027 -1.0844 lineto + 4.568 -1.1677 lineto + 4.531 -1.2495 lineto + 4.4916 -1.3296 lineto + 4.45 -1.408 lineto + %middle circumferential + 4.45 -1.408 lineto + 4.4048 -1.4872 lineto + 4.3574 -1.5645 lineto + 4.308 -1.6397 lineto + 4.2565 -1.7129 lineto + 4.2031 -1.784 lineto + 4.148 -1.8528 lineto + 4.0911 -1.9195 lineto + 4.0326 -1.9839 lineto + 3.9727 -2.0459 lineto + 3.9114 -2.1057 lineto + 3.8488 -2.1631 lineto + 3.785 -2.2181 lineto + 3.7201 -2.2707 lineto + 3.6543 -2.3209 lineto + 3.5876 -2.3687 lineto + 3.5201 -2.414 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.4978 to 5.8905 (quadrant 3) +newpath + 1.3483 -2.7208 moveto + 1.3228 -2.7942 lineto + 1.2951 -2.8696 lineto + 1.2649 -2.9471 lineto + 1.2322 -3.0267 lineto + 1.1968 -3.1086 lineto + 1.1585 -3.1926 lineto + 1.1172 -3.2789 lineto + 1.0725 -3.3675 lineto + %middle radial + 1.0725 -3.3675 lineto + 1.03 -3.4479 lineto + 0.9846 -3.5302 lineto + 0.9361 -3.6143 lineto + 0.8844 -3.7003 lineto + 0.8293 -3.7881 lineto + 0.7705 -3.8779 lineto + 0.708 -3.9695 lineto + 0.6414 -4.0629 lineto + %end radial + 0.6414 -4.0629 lineto + 0.7233 -4.1206 lineto + 0.8084 -4.177 lineto + 0.8968 -4.2318 lineto + 0.9885 -4.285 lineto + 1.0835 -4.3363 lineto + 1.1818 -4.3855 lineto + 1.2834 -4.4326 lineto + 1.3883 -4.4773 lineto + 1.4965 -4.5195 lineto + 1.5517 -4.5395 lineto + 1.6078 -4.5589 lineto + 1.6647 -4.5775 lineto + 1.7223 -4.5954 lineto + 1.7808 -4.6125 lineto + 1.84 -4.6288 lineto + 1.8999 -4.6442 lineto + 1.9607 -4.6588 lineto + 2.0221 -4.6726 lineto + 2.0843 -4.6854 lineto + 2.1472 -4.6973 lineto + 2.2108 -4.7083 lineto + 2.2751 -4.7183 lineto + 2.3401 -4.7273 lineto + %middle circumferential + 2.3401 -4.7273 lineto + 2.4035 -4.735 lineto + 2.4675 -4.7418 lineto + 2.5322 -4.7476 lineto + 2.5974 -4.7523 lineto + 2.6631 -4.756 lineto + 2.7294 -4.7587 lineto + 2.7963 -4.7603 lineto + 2.8636 -4.7608 lineto + 2.9315 -4.7602 lineto + 2.9998 -4.7584 lineto + 3.0686 -4.7555 lineto + 3.1378 -4.7514 lineto + 3.2074 -4.7461 lineto + 3.2774 -4.7396 lineto + 3.3478 -4.7318 lineto + 3.4185 -4.7229 lineto + 3.4896 -4.7126 lineto + 3.5609 -4.7011 lineto + 3.6325 -4.6882 lineto + 3.7044 -4.6741 lineto + 3.7765 -4.6586 lineto + 3.8488 -4.6417 lineto + 3.9212 -4.6235 lineto + 3.9938 -4.604 lineto + 4.0665 -4.583 lineto + 4.1393 -4.5606 lineto + 4.2122 -4.5368 lineto + 4.285 -4.5116 lineto + 4.3578 -4.4849 lineto + 4.4306 -4.4568 lineto + 4.5034 -4.4273 lineto + 4.576 -4.3962 lineto + %end circumferential + 4.576 -4.3962 lineto + 4.54 -4.3147 lineto + 4.5043 -4.2349 lineto + 4.4689 -4.157 lineto + 4.4338 -4.0807 lineto + 4.399 -4.0062 lineto + 4.3645 -3.9333 lineto + 4.3303 -3.8619 lineto + 4.2964 -3.7922 lineto + 4.2628 -3.7239 lineto + 4.2295 -3.6571 lineto + 4.1965 -3.5918 lineto + 4.1638 -3.5279 lineto + 4.1314 -3.4653 lineto + 4.0993 -3.4041 lineto + 4.0676 -3.3442 lineto + 4.0361 -3.2856 lineto + %middle radial + 4.0361 -3.2856 lineto + 4.001 -3.2209 lineto + 3.9663 -3.1578 lineto + 3.9319 -3.0961 lineto + 3.898 -3.036 lineto + 3.8644 -2.9772 lineto + 3.8312 -2.9198 lineto + 3.7984 -2.8638 lineto + 3.766 -2.809 lineto + 3.734 -2.7556 lineto + 3.7023 -2.7033 lineto + 3.671 -2.6523 lineto + 3.6401 -2.6024 lineto + 3.5794 -2.5061 lineto + 3.5201 -2.414 lineto + %end radial + 3.5201 -2.414 lineto + 3.4496 -2.4584 lineto + 3.3786 -2.5002 lineto + 3.3069 -2.5394 lineto + 3.2349 -2.576 lineto + 3.1626 -2.6102 lineto + 3.0901 -2.6418 lineto + 3.0175 -2.6709 lineto + 2.9448 -2.6976 lineto + 2.8722 -2.7219 lineto + 2.7998 -2.7438 lineto + 2.7276 -2.7634 lineto + 2.6557 -2.7807 lineto + 2.5842 -2.7958 lineto + 2.5132 -2.8086 lineto + 2.4427 -2.8194 lineto + 2.3729 -2.828 lineto + %middle circumferential + 2.3729 -2.828 lineto + 2.3013 -2.8348 lineto + 2.2304 -2.8395 lineto + 2.1604 -2.8421 lineto + 2.0913 -2.8428 lineto + 2.0232 -2.8415 lineto + 1.956 -2.8384 lineto + 1.89 -2.8336 lineto + 1.825 -2.827 lineto + 1.7611 -2.8187 lineto + 1.6984 -2.8089 lineto + 1.6369 -2.7976 lineto + 1.5767 -2.7848 lineto + 1.5176 -2.7707 lineto + 1.4599 -2.7553 lineto + 1.4034 -2.7386 lineto + 1.3483 -2.7208 lineto + %end circumferential + closepath +currentgray 0.48466666666666664 setgray fill setgray +% Sector from 5.1051 to 5.4978 (quadrant 3) +newpath + 0.2176 -1.8111 moveto + 0.1345 -1.8553 lineto + 0.0448 -1.8976 lineto + -0.0518 -1.9374 lineto + -0.1557 -1.9742 lineto + %middle radial + -0.1557 -1.9742 lineto + -0.2541 -2.0036 lineto + -0.3589 -2.0294 lineto + -0.47 -2.0511 lineto + -0.5281 -2.0601 lineto + -0.5878 -2.0679 lineto + %end radial + -0.5878 -2.0679 lineto + -0.5812 -2.1199 lineto + -0.564 -2.2272 lineto + -0.5409 -2.3391 lineto + -0.527 -2.3966 lineto + -0.5113 -2.4553 lineto + -0.4939 -2.5149 lineto + -0.4746 -2.5756 lineto + -0.4533 -2.6372 lineto + -0.43 -2.6998 lineto + -0.4046 -2.7632 lineto + -0.3769 -2.8275 lineto + -0.3469 -2.8926 lineto + -0.3145 -2.9585 lineto + -0.2795 -3.0249 lineto + %middle circumferential + -0.2795 -3.0249 lineto + -0.2434 -3.0896 lineto + -0.2048 -3.1547 lineto + -0.1636 -3.2202 lineto + -0.1197 -3.286 lineto + -0.0731 -3.352 lineto + -0.0237 -3.4182 lineto + 0.0287 -3.4845 lineto + 0.084 -3.5506 lineto + 0.1423 -3.6166 lineto + 0.2038 -3.6823 lineto + 0.2684 -3.7476 lineto + 0.3363 -3.8124 lineto + 0.4075 -3.8764 lineto + 0.4821 -3.9396 lineto + 0.56 -4.0018 lineto + 0.6414 -4.0629 lineto + %end circumferential + 0.6414 -4.0629 lineto + 0.708 -3.9695 lineto + 0.7705 -3.8779 lineto + 0.8293 -3.7881 lineto + 0.8844 -3.7003 lineto + 0.9361 -3.6143 lineto + 0.9846 -3.5302 lineto + 1.03 -3.4479 lineto + 1.0725 -3.3675 lineto + %middle radial + 1.0725 -3.3675 lineto + 1.1172 -3.2789 lineto + 1.1585 -3.1926 lineto + 1.1968 -3.1086 lineto + 1.2322 -3.0267 lineto + 1.2649 -2.9471 lineto + 1.2951 -2.8696 lineto + 1.3228 -2.7942 lineto + 1.3483 -2.7208 lineto + %end radial + 1.3483 -2.7208 lineto + 1.3202 -2.7111 lineto + 1.2382 -2.6804 lineto + 1.1338 -2.6359 lineto + 1.0351 -2.5878 lineto + 0.9422 -2.5365 lineto + 0.855 -2.4827 lineto + 0.7733 -2.4267 lineto + 0.6971 -2.369 lineto + 0.6262 -2.31 lineto + %middle circumferential + 0.6262 -2.31 lineto + 0.5581 -2.2477 lineto + 0.4953 -2.1849 lineto + 0.4376 -2.1217 lineto + 0.3848 -2.0586 lineto + 0.3366 -1.9957 lineto + 0.2929 -1.9334 lineto + 0.2533 -1.8718 lineto + 0.2176 -1.8111 lineto + %end circumferential + closepath +currentgray 0.5193333333333334 setgray fill setgray +% Sector from 4.7124 to 5.1051 (quadrant 3) +newpath + 0.0 -1.0 moveto + -0.1037 -0.9946 lineto + -0.213 -0.9771 lineto + %middle radial + -0.213 -0.9771 lineto + -0.3135 -0.9496 lineto + -0.4161 -0.9093 lineto + %end radial + -0.4161 -0.9093 lineto + -0.456 -1.0026 lineto + -0.4948 -1.1087 lineto + -0.5134 -1.1671 lineto + -0.531 -1.2293 lineto + -0.5476 -1.2955 lineto + -0.5627 -1.3659 lineto + %middle circumferential + -0.5627 -1.3659 lineto + -0.5756 -1.4377 lineto + -0.5865 -1.5138 lineto + -0.5951 -1.5944 lineto + -0.601 -1.6795 lineto + -0.6037 -1.7693 lineto + -0.6028 -1.8639 lineto + -0.5977 -1.9634 lineto + -0.5878 -2.0679 lineto + %end circumferential + -0.5878 -2.0679 lineto + -0.5281 -2.0601 lineto + -0.47 -2.0511 lineto + -0.3589 -2.0294 lineto + -0.2541 -2.0036 lineto + -0.1557 -1.9742 lineto + %middle radial + -0.1557 -1.9742 lineto + -0.0518 -1.9374 lineto + 0.0448 -1.8976 lineto + 0.1345 -1.8553 lineto + 0.2176 -1.8111 lineto + %end radial + 0.2176 -1.8111 lineto + 0.2005 -1.78 lineto + 0.1692 -1.7188 lineto + 0.1414 -1.6589 lineto + 0.1169 -1.6005 lineto + 0.0954 -1.5437 lineto + 0.0685 -1.4615 lineto + 0.041 -1.358 lineto + %middle circumferential + 0.041 -1.358 lineto + 0.0212 -1.2576 lineto + 0.0086 -1.1646 lineto + 0.002 -1.0789 lineto + 0.0 -1.0 lineto + %end circumferential + closepath +currentgray 0.554 setgray fill setgray +% Sector from 4.3197 to 4.7124 (quadrant 2) +newpath + 0.0654 -0.5443 moveto + -0.0397 -0.5034 lineto + %middle radial + -0.0397 -0.5034 lineto + -0.1272 -0.4474 lineto + %end radial + -0.1272 -0.4474 lineto + -0.1561 -0.4845 lineto + -0.2214 -0.5728 lineto + -0.2578 -0.6259 lineto + %middle circumferential + -0.2578 -0.6259 lineto + -0.2949 -0.6836 lineto + -0.334 -0.7492 lineto + -0.3746 -0.8239 lineto + -0.4161 -0.9093 lineto + %end circumferential + -0.4161 -0.9093 lineto + -0.3135 -0.9496 lineto + -0.213 -0.9771 lineto + %middle radial + -0.213 -0.9771 lineto + -0.1037 -0.9946 lineto + 0.0 -1.0 lineto + %end radial + 0.0 -1.0 lineto + 5.0E-4 -0.9615 lineto + 0.0039 -0.8895 lineto + 0.0099 -0.8238 lineto + 0.0222 -0.7357 lineto + %middle circumferential + 0.0222 -0.7357 lineto + 0.0431 -0.6313 lineto + 0.0654 -0.5443 lineto + %end circumferential + closepath +currentgray 0.5886666666666667 setgray fill setgray +% Sector from 3.927 to 4.3197 (quadrant 2) +newpath + 0.1462 -0.2951 moveto + 0.0859 -0.2696 lineto + %middle radial + 0.0859 -0.2696 lineto + 0.0379 -0.2401 lineto + %end radial + 0.0379 -0.2401 lineto + 0.0074 -0.2806 lineto + -0.0303 -0.3278 lineto + %middle circumferential + -0.0303 -0.3278 lineto + -0.0742 -0.3816 lineto + -0.1272 -0.4474 lineto + %end circumferential + -0.1272 -0.4474 lineto + -0.0397 -0.5034 lineto + %middle radial + -0.0397 -0.5034 lineto + 0.0654 -0.5443 lineto + %end radial + 0.0654 -0.5443 lineto + 0.0882 -0.4679 lineto + 0.1093 -0.4033 lineto + %middle circumferential + 0.1093 -0.4033 lineto + 0.1291 -0.3453 lineto + 0.1462 -0.2951 lineto + %end circumferential + closepath +currentgray 0.6233333333333333 setgray fill setgray +% Sector from 3.5343 to 3.927 (quadrant 2) +newpath + 0.1932 -0.1325 moveto + 0.149 -0.1213 lineto + %middle radial + 0.149 -0.1213 lineto + 0.1136 -0.1092 lineto + %end radial + 0.1136 -0.1092 lineto + 0.0841 -0.1699 lineto + %middle circumferential + 0.0841 -0.1699 lineto + 0.0379 -0.2401 lineto + %end circumferential + 0.0379 -0.2401 lineto + 0.0859 -0.2696 lineto + %middle radial + 0.0859 -0.2696 lineto + 0.1462 -0.2951 lineto + %end radial + 0.1462 -0.2951 lineto + 0.1741 -0.2075 lineto + %middle circumferential + 0.1741 -0.2075 lineto + 0.1932 -0.1325 lineto + %end circumferential + closepath +currentgray 0.658 setgray fill setgray +% Sector from 3.1416 to 3.5343 (quadrant 2) +newpath + 0.2079 0.0 moveto + 0.1677 0.0 lineto + %middle radial + 0.1677 0.0 lineto + 0.1353 0.0 lineto + %end radial + 0.1353 0.0 lineto + 0.1301 -0.0535 lineto + %middle circumferential + 0.1301 -0.0535 lineto + 0.1136 -0.1092 lineto + %end circumferential + 0.1136 -0.1092 lineto + 0.149 -0.1213 lineto + %middle radial + 0.149 -0.1213 lineto + 0.1932 -0.1325 lineto + %end radial + 0.1932 -0.1325 lineto + 0.2043 -0.0646 lineto + %middle circumferential + 0.2043 -0.0646 lineto + 0.2079 0.0 lineto + %end circumferential + closepath +currentgray 0.6926666666666667 setgray fill setgray +% Sector from 2.7489 to 3.1416 (quadrant 1) +newpath + 0.1932 0.1325 moveto + 0.149 0.1213 lineto + %middle radial + 0.149 0.1213 lineto + 0.1136 0.1092 lineto + %end radial + 0.1136 0.1092 lineto + 0.1301 0.0535 lineto + %middle circumferential + 0.1301 0.0535 lineto + 0.1353 0.0 lineto + %end circumferential + 0.1353 0.0 lineto + 0.1677 0.0 lineto + %middle radial + 0.1677 0.0 lineto + 0.2079 0.0 lineto + %end radial + 0.2079 0.0 lineto + 0.2043 0.0646 lineto + %middle circumferential + 0.2043 0.0646 lineto + 0.1932 0.1325 lineto + %end circumferential + closepath +currentgray 0.7273333333333334 setgray fill setgray +% Sector from 2.3562 to 2.7489 (quadrant 1) +newpath + 0.1462 0.2951 moveto + 0.0859 0.2696 lineto + %middle radial + 0.0859 0.2696 lineto + 0.0379 0.2401 lineto + %end radial + 0.0379 0.2401 lineto + 0.0841 0.1699 lineto + %middle circumferential + 0.0841 0.1699 lineto + 0.1136 0.1092 lineto + %end circumferential + 0.1136 0.1092 lineto + 0.149 0.1213 lineto + %middle radial + 0.149 0.1213 lineto + 0.1932 0.1325 lineto + %end radial + 0.1932 0.1325 lineto + 0.1741 0.2075 lineto + %middle circumferential + 0.1741 0.2075 lineto + 0.1462 0.2951 lineto + %end circumferential + closepath +currentgray 0.762 setgray fill setgray +% Sector from 1.9635 to 2.3562 (quadrant 1) +newpath + 0.0654 0.5443 moveto + -0.0397 0.5034 lineto + %middle radial + -0.0397 0.5034 lineto + -0.1272 0.4474 lineto + %end radial + -0.1272 0.4474 lineto + -0.0759 0.3837 lineto + -0.0303 0.3278 lineto + %middle circumferential + -0.0303 0.3278 lineto + 0.0379 0.2401 lineto + %end circumferential + 0.0379 0.2401 lineto + 0.0859 0.2696 lineto + %middle radial + 0.0859 0.2696 lineto + 0.1462 0.2951 lineto + %end radial + 0.1462 0.2951 lineto + 0.1285 0.3471 lineto + 0.1093 0.4033 lineto + %middle circumferential + 0.1093 0.4033 lineto + 0.0874 0.4704 lineto + 0.0654 0.5443 lineto + %end circumferential + closepath +currentgray 0.7966666666666666 setgray fill setgray +% Sector from 1.5708 to 1.9635 (quadrant 1) +newpath + 0.0 1.0 moveto + -0.1037 0.9946 lineto + -0.213 0.9771 lineto + %middle radial + -0.213 0.9771 lineto + -0.3135 0.9496 lineto + -0.4161 0.9093 lineto + %end radial + -0.4161 0.9093 lineto + -0.377 0.8287 lineto + -0.3372 0.7548 lineto + -0.2973 0.6874 lineto + -0.2578 0.6259 lineto + %middle circumferential + -0.2578 0.6259 lineto + -0.2234 0.5756 lineto + -0.1578 0.4867 lineto + -0.1272 0.4474 lineto + %end circumferential + -0.1272 0.4474 lineto + -0.0397 0.5034 lineto + %middle radial + -0.0397 0.5034 lineto + 0.0654 0.5443 lineto + %end radial + 0.0654 0.5443 lineto + 0.0423 0.6349 lineto + 0.0222 0.7357 lineto + %middle circumferential + 0.0222 0.7357 lineto + 0.0131 0.7967 lineto + 0.0061 0.8612 lineto + 0.0016 0.9289 lineto + 0.0 1.0 lineto + %end circumferential + closepath +currentgray 0.8313333333333334 setgray fill setgray +% Sector from 1.1781 to 1.5708 (quadrant 0) +newpath + 0.2176 1.8111 moveto + 0.1345 1.8553 lineto + 0.0448 1.8976 lineto + -0.0518 1.9374 lineto + -0.1557 1.9742 lineto + %middle radial + -0.1557 1.9742 lineto + -0.2541 2.0036 lineto + -0.3589 2.0294 lineto + -0.47 2.0511 lineto + -0.5281 2.0601 lineto + -0.5878 2.0679 lineto + %end radial + -0.5878 2.0679 lineto + -0.5971 1.9718 lineto + -0.6023 1.8778 lineto + -0.6038 1.7859 lineto + -0.6018 1.6965 lineto + -0.5964 1.6096 lineto + -0.5879 1.5254 lineto + -0.5766 1.4442 lineto + -0.5627 1.3659 lineto + %middle circumferential + -0.5627 1.3659 lineto + -0.5487 1.3005 lineto + -0.5332 1.2375 lineto + -0.5163 1.1769 lineto + -0.4981 1.1186 lineto + -0.4788 1.0628 lineto + -0.4377 0.9581 lineto + -0.4161 0.9093 lineto + %end circumferential + -0.4161 0.9093 lineto + -0.3135 0.9496 lineto + -0.213 0.9771 lineto + %middle radial + -0.213 0.9771 lineto + -0.1037 0.9946 lineto + 0.0 1.0 lineto + %end radial + 0.0 1.0 lineto + 0.0023 1.0843 lineto + 0.0095 1.1724 lineto + 0.0222 1.2638 lineto + 0.041 1.358 lineto + %middle circumferential + 0.041 1.358 lineto + 0.0708 1.4694 lineto + 0.0892 1.526 lineto + 0.11 1.5829 lineto + 0.1332 1.64 lineto + 0.1588 1.6972 lineto + 0.187 1.7543 lineto + 0.2176 1.8111 lineto + %end circumferential + closepath +currentgray 0.866 setgray fill setgray +% Sector from 0.7854 to 1.1781 (quadrant 0) +newpath + 1.3483 2.7208 moveto + 1.3228 2.7942 lineto + 1.2951 2.8696 lineto + 1.2649 2.9471 lineto + 1.2322 3.0267 lineto + 1.1968 3.1086 lineto + 1.1585 3.1926 lineto + 1.1172 3.2789 lineto + 1.0725 3.3675 lineto + %middle radial + 1.0725 3.3675 lineto + 1.03 3.4479 lineto + 0.9846 3.5302 lineto + 0.9361 3.6143 lineto + 0.8844 3.7003 lineto + 0.8293 3.7881 lineto + 0.7705 3.8779 lineto + 0.708 3.9695 lineto + 0.6414 4.0629 lineto + %end radial + 0.6414 4.0629 lineto + 0.5693 4.009 lineto + 0.4988 3.9533 lineto + 0.43 3.8959 lineto + 0.3629 3.8367 lineto + 0.2977 3.776 lineto + 0.2344 3.7137 lineto + 0.1731 3.65 lineto + 0.1138 3.5849 lineto + 0.0567 3.5184 lineto + 0.0017 3.4508 lineto + -0.051 3.3821 lineto + -0.1015 3.3123 lineto + -0.1496 3.2416 lineto + -0.1953 3.17 lineto + -0.2386 3.0978 lineto + -0.2795 3.0249 lineto + %middle circumferential + -0.2795 3.0249 lineto + -0.3111 2.965 lineto + -0.341 2.9048 lineto + -0.3693 2.8445 lineto + -0.3959 2.7839 lineto + -0.4208 2.7233 lineto + -0.4441 2.6626 lineto + -0.4657 2.602 lineto + -0.4856 2.5415 lineto + -0.504 2.4811 lineto + -0.5207 2.4209 lineto + -0.5357 2.3611 lineto + -0.5492 2.3015 lineto + -0.5612 2.2424 lineto + -0.5716 2.1837 lineto + -0.5804 2.1255 lineto + -0.5878 2.0679 lineto + %end circumferential + -0.5878 2.0679 lineto + -0.5281 2.0601 lineto + -0.47 2.0511 lineto + -0.3589 2.0294 lineto + -0.2541 2.0036 lineto + -0.1557 1.9742 lineto + %middle radial + -0.1557 1.9742 lineto + -0.0518 1.9374 lineto + 0.0448 1.8976 lineto + 0.1345 1.8553 lineto + 0.2176 1.8111 lineto + %end radial + 0.2176 1.8111 lineto + 0.257 1.8779 lineto + 0.3 1.9438 lineto + 0.3463 2.0088 lineto + 0.396 2.0724 lineto + 0.449 2.1346 lineto + 0.5051 2.195 lineto + 0.5642 2.2536 lineto + 0.6262 2.31 lineto + %middle circumferential + 0.6262 2.31 lineto + 0.7058 2.3758 lineto + 0.7891 2.438 lineto + 0.8759 2.4961 lineto + 0.9657 2.5501 lineto + 1.0583 2.5996 lineto + 1.1531 2.6446 lineto + 1.2499 2.6851 lineto + 1.3483 2.7208 lineto + %end circumferential + closepath +currentgray 0.9006666666666666 setgray fill setgray +% Sector from 0.3927 to 0.7854 (quadrant 0) +newpath + 3.5201 2.414 moveto + 3.5794 2.5061 lineto + 3.6401 2.6024 lineto + 3.671 2.6523 lineto + 3.7023 2.7033 lineto + 3.734 2.7556 lineto + 3.766 2.809 lineto + 3.7984 2.8638 lineto + 3.8312 2.9198 lineto + 3.8644 2.9772 lineto + 3.898 3.036 lineto + 3.9319 3.0961 lineto + 3.9663 3.1578 lineto + 4.001 3.2209 lineto + 4.0361 3.2856 lineto + %middle radial + 4.0361 3.2856 lineto + 4.0676 3.3442 lineto + 4.0993 3.4041 lineto + 4.1314 3.4653 lineto + 4.1638 3.5279 lineto + 4.1965 3.5918 lineto + 4.2295 3.6571 lineto + 4.2628 3.7239 lineto + 4.2964 3.7922 lineto + 4.3303 3.8619 lineto + 4.3645 3.9333 lineto + 4.399 4.0062 lineto + 4.4338 4.0807 lineto + 4.4689 4.157 lineto + 4.5043 4.2349 lineto + 4.54 4.3147 lineto + 4.576 4.3962 lineto + %end radial + 4.576 4.3962 lineto + 4.5177 4.4213 lineto + 4.4585 4.4457 lineto + 4.3985 4.4694 lineto + 4.3377 4.4925 lineto + 4.2759 4.5148 lineto + 4.2133 4.5364 lineto + 4.1499 4.5572 lineto + 4.0857 4.5772 lineto + 4.0206 4.5964 lineto + 3.9547 4.6147 lineto + 3.888 4.6321 lineto + 3.8205 4.6485 lineto + 3.7523 4.6639 lineto + 3.6833 4.6784 lineto + 3.6135 4.6918 lineto + 3.5431 4.7041 lineto + 3.4719 4.7153 lineto + 3.4001 4.7253 lineto + 3.3276 4.7342 lineto + 3.2545 4.7418 lineto + 3.1808 4.7482 lineto + 3.1066 4.7534 lineto + 3.0317 4.7572 lineto + 2.9564 4.7596 lineto + 2.8806 4.7607 lineto + 2.8044 4.7604 lineto + 2.7278 4.7586 lineto + 2.6508 4.7554 lineto + 2.5735 4.7507 lineto + 2.4959 4.7445 lineto + 2.4181 4.7367 lineto + 2.3401 4.7273 lineto + %middle circumferential + 2.3401 4.7273 lineto + 2.2292 4.7113 lineto + 2.1181 4.692 lineto + 2.0071 4.6693 lineto + 1.8962 4.6433 lineto + 1.7857 4.6139 lineto + 1.6756 4.581 lineto + 1.5662 4.5446 lineto + 1.4576 4.5048 lineto + 1.3501 4.4615 lineto + 1.2437 4.4147 lineto + 1.1388 4.3644 lineto + 1.0354 4.3107 lineto + 0.9338 4.2537 lineto + 0.8341 4.1933 lineto + 0.7366 4.1297 lineto + 0.6414 4.0629 lineto + %end circumferential + 0.6414 4.0629 lineto + 0.708 3.9695 lineto + 0.7705 3.8779 lineto + 0.8293 3.7881 lineto + 0.8844 3.7003 lineto + 0.9361 3.6143 lineto + 0.9846 3.5302 lineto + 1.03 3.4479 lineto + 1.0725 3.3675 lineto + %middle radial + 1.0725 3.3675 lineto + 1.1172 3.2789 lineto + 1.1585 3.1926 lineto + 1.1968 3.1086 lineto + 1.2322 3.0267 lineto + 1.2649 2.9471 lineto + 1.2951 2.8696 lineto + 1.3228 2.7942 lineto + 1.3483 2.7208 lineto + %end radial + 1.3483 2.7208 lineto + 1.4123 2.7414 lineto + 1.4768 2.76 lineto + 1.5415 2.7766 lineto + 1.6065 2.7914 lineto + 1.6716 2.8042 lineto + 1.7367 2.8151 lineto + 1.8018 2.8242 lineto + 1.8667 2.8314 lineto + 1.9314 2.8368 lineto + 1.9959 2.8405 lineto + 2.06 2.8425 lineto + 2.1236 2.8427 lineto + 2.1868 2.8414 lineto + 2.2494 2.8384 lineto + 2.3115 2.834 lineto + 2.3729 2.828 lineto + %middle circumferential + 2.3729 2.828 lineto + 2.4582 2.8172 lineto + 2.542 2.8037 lineto + 2.6243 2.7876 lineto + 2.7048 2.7692 lineto + 2.7835 2.7485 lineto + 2.8604 2.7257 lineto + 2.9354 2.7009 lineto + 3.0084 2.6744 lineto + 3.0794 2.6462 lineto + 3.1485 2.6165 lineto + 3.2155 2.5855 lineto + 3.2804 2.5532 lineto + 3.3434 2.5198 lineto + 3.4043 2.4854 lineto + 3.4632 2.4501 lineto + 3.5201 2.414 lineto + %end circumferential + closepath +currentgray 0.9353333333333332 setgray fill setgray +% Sector from 0.0 to 0.3927 (quadrant 0) +newpath + 4.8105 0.0 moveto + 5.962 0.0 lineto + %middle radial + 5.962 0.0 lineto + 6.359 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + %end radial + 6.378103166302659 0.0 lineto + 6.378103166302659 2.7045 lineto + %middle circumferential + 6.378103166302659 2.7045 lineto + 4.9073 4.1733 lineto + 4.6251 4.3744 lineto + 4.576 4.3962 lineto + %end circumferential + 4.576 4.3962 lineto + 4.54 4.3147 lineto + 4.5043 4.2349 lineto + 4.4689 4.157 lineto + 4.4338 4.0807 lineto + 4.399 4.0062 lineto + 4.3645 3.9333 lineto + 4.3303 3.8619 lineto + 4.2964 3.7922 lineto + 4.2628 3.7239 lineto + 4.2295 3.6571 lineto + 4.1965 3.5918 lineto + 4.1638 3.5279 lineto + 4.1314 3.4653 lineto + 4.0993 3.4041 lineto + 4.0676 3.3442 lineto + 4.0361 3.2856 lineto + %middle radial + 4.0361 3.2856 lineto + 4.001 3.2209 lineto + 3.9663 3.1578 lineto + 3.9319 3.0961 lineto + 3.898 3.036 lineto + 3.8644 2.9772 lineto + 3.8312 2.9198 lineto + 3.7984 2.8638 lineto + 3.766 2.809 lineto + 3.734 2.7556 lineto + 3.7023 2.7033 lineto + 3.671 2.6523 lineto + 3.6401 2.6024 lineto + 3.5794 2.5061 lineto + 3.5201 2.414 lineto + %end radial + 3.5201 2.414 lineto + 3.6129 2.3509 lineto + 3.7 2.2864 lineto + 3.7817 2.2208 lineto + 3.8582 2.1547 lineto + 3.9296 2.0883 lineto + 3.9962 2.022 lineto + 4.0583 1.9561 lineto + 4.1161 1.8907 lineto + 4.1698 1.8261 lineto + 4.2196 1.7625 lineto + 4.2658 1.7 lineto + 4.3086 1.6388 lineto + 4.3482 1.5789 lineto + 4.3849 1.5204 lineto + 4.4187 1.4635 lineto + 4.45 1.408 lineto + %middle circumferential + 4.45 1.408 lineto + 4.48 1.3521 lineto + 4.5075 1.2979 lineto + 4.5562 1.1946 lineto + 4.5972 1.0983 lineto + 4.6317 1.0087 lineto + 4.6607 0.9257 lineto + 4.6851 0.8489 lineto + 4.7055 0.7781 lineto + 4.7227 0.7128 lineto + 4.737 0.6527 lineto + 4.7591 0.5468 lineto + 4.7746 0.4577 lineto + 4.7854 0.3828 lineto + 4.7959 0.2926 lineto + 4.8034 0.2043 lineto + 4.8081 0.1191 lineto + 4.8102 0.0404 lineto + 4.8105 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 3.0 3.1416 32 0.97 0.45 +% Sector from 6.0868 to 6.2832 (quadrant 3) +currentgray 0.45 setgray fill setgray +% Sector from 5.8905 to 6.0868 (quadrant 3) +currentgray 0.4667741935483871 setgray fill setgray +% Sector from 5.6941 to 5.8905 (quadrant 3) +currentgray 0.4835483870967742 setgray fill setgray +% Sector from 5.4978 to 5.6941 (quadrant 3) +currentgray 0.5003225806451613 setgray fill setgray +% Sector from 5.3014 to 5.4978 (quadrant 3) +newpath + -4.2241 -3.1924 moveto + -4.312 -3.1611 lineto + -4.4008 -3.128 lineto + -4.4906 -3.0931 lineto + -4.5812 -3.0563 lineto + %middle radial + -4.5812 -3.0563 lineto + -4.6707 -3.0184 lineto + -4.7609 -2.9786 lineto + -4.8519 -2.9368 lineto + -4.9438 -2.893 lineto + %end radial + -4.9438 -2.893 lineto + -4.9676 -2.9425 lineto + -5.0145 -3.0434 lineto + -5.0605 -3.1468 lineto + -5.1056 -3.2528 lineto + -5.1386 -3.3339 lineto + -5.1603 -3.3889 lineto + -5.1817 -3.4444 lineto + -5.2027 -3.5006 lineto + -5.2235 -3.5575 lineto + -5.2439 -3.615 lineto + -5.5496 -4.8001 lineto + %middle circumferential + -5.5496 -4.8001 lineto + -5.5849 -6.378103166302659 lineto + %end circumferential + -5.5849 -6.378103166302659 lineto + -4.9564 -6.378103166302659 lineto + %middle radial + -4.9564 -6.378103166302659 lineto + -4.3641 -6.378103166302659 lineto + %end radial + -4.3641 -6.378103166302659 lineto + -4.5632 -4.9156 lineto + %middle circumferential + -4.5632 -4.9156 lineto + -4.5242 -4.4931 lineto + -4.5168 -4.4348 lineto + -4.5005 -4.3198 lineto + -4.4825 -4.2069 lineto + -4.4628 -4.0961 lineto + -4.4416 -3.9874 lineto + -4.4189 -3.8808 lineto + -4.3948 -3.7763 lineto + -4.3693 -3.6738 lineto + -4.3425 -3.5735 lineto + -4.3146 -3.4751 lineto + -4.2855 -3.3789 lineto + -4.2553 -3.2846 lineto + -4.2241 -3.1924 lineto + %end circumferential + closepath +currentgray 0.5170967741935484 setgray fill setgray +% Sector from 5.1051 to 5.3014 (quadrant 3) +newpath + -2.9388 -1.1397 moveto + -3.0146 -1.0577 lineto + -3.0896 -0.9711 lineto + %middle radial + -3.0896 -0.9711 lineto + -3.1618 -0.882 lineto + -3.2152 -0.8121 lineto + -3.2329 -0.7882 lineto + %end radial + -3.2329 -0.7882 lineto + -3.2844 -0.8264 lineto + -3.3363 -0.8661 lineto + -3.3887 -0.9072 lineto + -3.4415 -0.9498 lineto + -3.4946 -0.994 lineto + -3.5482 -1.0398 lineto + -3.6021 -1.0872 lineto + -3.6563 -1.1363 lineto + -3.7108 -1.1871 lineto + -3.7655 -1.2396 lineto + -3.8205 -1.2939 lineto + -3.8758 -1.3501 lineto + -3.9311 -1.4081 lineto + -3.9867 -1.4681 lineto + -4.0423 -1.53 lineto + -4.098 -1.594 lineto + %middle circumferential + -4.098 -1.594 lineto + -4.1527 -1.6587 lineto + -4.2073 -1.7254 lineto + -4.2619 -1.7942 lineto + -4.3164 -1.8651 lineto + -4.3708 -1.9381 lineto + -4.4249 -2.0133 lineto + -4.4788 -2.0907 lineto + -4.5324 -2.1704 lineto + -4.5857 -2.2523 lineto + -4.6386 -2.3366 lineto + -4.691 -2.4232 lineto + -4.7428 -2.5122 lineto + -4.7941 -2.6037 lineto + -4.8447 -2.6976 lineto + -4.8947 -2.7941 lineto + -4.9438 -2.893 lineto + %end circumferential + -4.9438 -2.893 lineto + -4.8519 -2.9368 lineto + -4.7609 -2.9786 lineto + -4.6707 -3.0184 lineto + -4.5812 -3.0563 lineto + %middle radial + -4.5812 -3.0563 lineto + -4.4906 -3.0931 lineto + -4.4008 -3.128 lineto + -4.312 -3.1611 lineto + -4.2241 -3.1924 lineto + %end radial + -4.2241 -3.1924 lineto + -4.1913 -3.1005 lineto + -4.1575 -3.0107 lineto + -4.1229 -2.9229 lineto + -4.0875 -2.8371 lineto + -4.0513 -2.7534 lineto + -4.0144 -2.6716 lineto + -3.9769 -2.5917 lineto + -3.9388 -2.5138 lineto + -3.9001 -2.4378 lineto + -3.8609 -2.3637 lineto + -3.8213 -2.2914 lineto + -3.7812 -2.221 lineto + -3.7408 -2.1523 lineto + -3.7001 -2.0854 lineto + -3.6591 -2.0203 lineto + -3.6178 -1.9569 lineto + %middle circumferential + -3.6178 -1.9569 lineto + -3.5756 -1.894 lineto + -3.5332 -1.8328 lineto + -3.4906 -1.7733 lineto + -3.4479 -1.7155 lineto + -3.4052 -1.6593 lineto + -3.3624 -1.6047 lineto + -3.3196 -1.5517 lineto + -3.2769 -1.5002 lineto + -3.2342 -1.4502 lineto + -3.1916 -1.4017 lineto + -3.149 -1.3546 lineto + -3.1066 -1.3089 lineto + -3.0644 -1.2646 lineto + -3.0223 -1.2217 lineto + -2.9805 -1.18 lineto + -2.9388 -1.1397 lineto + %end circumferential + closepath +currentgray 0.5338709677419355 setgray fill setgray +% Sector from 4.9087 to 5.1051 (quadrant 3) +newpath + -1.76 -0.3554 moveto + -1.7834 -0.2964 lineto + -1.8051 -0.2356 lineto + %middle radial + -1.8051 -0.2356 lineto + -1.8247 -0.1744 lineto + -1.8424 -0.1114 lineto + %end radial + -1.8424 -0.1114 lineto + -1.9117 -0.1303 lineto + -1.9835 -0.1515 lineto + -2.0577 -0.175 lineto + -2.1344 -0.2011 lineto + -2.2136 -0.2301 lineto + -2.2953 -0.262 lineto + -2.3796 -0.2971 lineto + -2.4664 -0.3357 lineto + %middle circumferential + -2.4664 -0.3357 lineto + -2.5541 -0.3771 lineto + -2.6441 -0.4223 lineto + -2.7365 -0.4716 lineto + -2.8314 -0.5251 lineto + -2.9285 -0.5833 lineto + -3.0028 -0.6301 lineto + -3.053 -0.6629 lineto + -3.1037 -0.697 lineto + -3.155 -0.7324 lineto + -3.2068 -0.7692 lineto + -3.2329 -0.7882 lineto + %end circumferential + -3.2329 -0.7882 lineto + -3.2152 -0.8121 lineto + -3.1618 -0.882 lineto + -3.0896 -0.9711 lineto + %middle radial + -3.0896 -0.9711 lineto + -3.0146 -1.0577 lineto + -2.9388 -1.1397 lineto + %end radial + -2.9388 -1.1397 lineto + -2.8546 -1.0613 lineto + -2.7715 -0.9879 lineto + -2.6896 -0.9193 lineto + -2.609 -0.8551 lineto + -2.5299 -0.7952 lineto + -2.4523 -0.7394 lineto + -2.3763 -0.6874 lineto + -2.3019 -0.639 lineto + %middle circumferential + -2.3019 -0.639 lineto + -2.2278 -0.5931 lineto + -2.1554 -0.5506 lineto + -2.0849 -0.5113 lineto + -2.0162 -0.4749 lineto + -1.9494 -0.4413 lineto + -1.8844 -0.4103 lineto + -1.8213 -0.3817 lineto + -1.76 -0.3554 lineto + %end circumferential + closepath +currentgray 0.5506451612903226 setgray fill setgray +% Sector from 4.7124 to 4.9087 (quadrant 3) +newpath + -0.99 -0.1411 moveto + -0.9975 -0.0707 lineto + %middle radial + -0.9975 -0.0707 lineto + -1.0 0.0 lineto + %end radial + -1.0 0.0 lineto + -1.0795 -0.001 lineto + -1.1657 -0.0044 lineto + -1.2592 -0.0107 lineto + -1.3604 -0.0206 lineto + %middle circumferential + -1.3604 -0.0206 lineto + -1.4677 -0.0346 lineto + -1.5537 -0.0484 lineto + -1.6138 -0.0594 lineto + -1.6762 -0.072 lineto + -1.7409 -0.0863 lineto + -1.8079 -0.1025 lineto + -1.8424 -0.1114 lineto + %end circumferential + -1.8424 -0.1114 lineto + -1.8247 -0.1744 lineto + -1.8051 -0.2356 lineto + %middle radial + -1.8051 -0.2356 lineto + -1.7834 -0.2964 lineto + -1.76 -0.3554 lineto + %end radial + -1.76 -0.3554 lineto + -1.7294 -0.3428 lineto + -1.6697 -0.3192 lineto + -1.6118 -0.2976 lineto + -1.5284 -0.2686 lineto + -1.4236 -0.2357 lineto + -1.3256 -0.2085 lineto + %middle circumferential + -1.3256 -0.2085 lineto + -1.2323 -0.1858 lineto + -1.1455 -0.1675 lineto + -1.0649 -0.1528 lineto + -0.99 -0.1411 lineto + %end circumferential + closepath +currentgray 0.5674193548387096 setgray fill setgray +% Sector from 4.516 to 4.7124 (quadrant 2) +newpath + -0.5459 -0.1102 moveto + -0.5447 -0.0711 lineto + %middle radial + -0.5447 -0.0711 lineto + -0.5408 -0.0327 lineto + %end radial + -0.5408 -0.0327 lineto + -0.6298 -0.0215 lineto + -0.7349 -0.0111 lineto + %middle circumferential + -0.7349 -0.0111 lineto + -0.8241 -0.0049 lineto + -0.8901 -0.0019 lineto + -0.9618 -2.0E-4 lineto + -1.0 0.0 lineto + %end circumferential + -1.0 0.0 lineto + -0.9975 -0.0707 lineto + %middle radial + -0.9975 -0.0707 lineto + -0.99 -0.1411 lineto + %end radial + -0.99 -0.1411 lineto + -0.9539 -0.1362 lineto + -0.8856 -0.1281 lineto + -0.8224 -0.122 lineto + -0.7362 -0.1158 lineto + %middle circumferential + -0.7362 -0.1158 lineto + -0.6337 -0.1115 lineto + -0.5459 -0.1102 lineto + %end circumferential + closepath +currentgray 0.5841935483870968 setgray fill setgray +% Sector from 4.3197 to 4.516 (quadrant 2) +newpath + -0.2958 -0.1147 moveto + -0.2946 -0.0926 lineto + %middle radial + -0.2946 -0.0926 lineto + -0.292 -0.0712 lineto + %end radial + -0.292 -0.0712 lineto + -0.3981 -0.0542 lineto + %middle circumferential + -0.3981 -0.0542 lineto + -0.4637 -0.0439 lineto + -0.5408 -0.0327 lineto + %end circumferential + -0.5408 -0.0327 lineto + -0.5447 -0.0711 lineto + %middle radial + -0.5447 -0.0711 lineto + -0.5459 -0.1102 lineto + %end radial + -0.5459 -0.1102 lineto + -0.4692 -0.1107 lineto + -0.4033 -0.112 lineto + %middle circumferential + -0.4033 -0.112 lineto + -0.2958 -0.1147 lineto + %end circumferential + closepath +currentgray 0.600967741935484 setgray fill setgray +% Sector from 4.1233 to 4.3197 (quadrant 2) +newpath + -0.1507 -0.1139 moveto + -0.1511 -0.1008 lineto + %middle radial + -0.1511 -0.1008 lineto + -0.1507 -0.0882 lineto + %end radial + -0.1507 -0.0882 lineto + -0.212 -0.0824 lineto + %middle circumferential + -0.212 -0.0824 lineto + -0.292 -0.0712 lineto + %end circumferential + -0.292 -0.0712 lineto + -0.2946 -0.0926 lineto + %middle radial + -0.2946 -0.0926 lineto + -0.2958 -0.1147 lineto + %end radial + -0.2958 -0.1147 lineto + -0.2138 -0.1157 lineto + %middle circumferential + -0.2138 -0.1157 lineto + -0.1507 -0.1139 lineto + %end circumferential + closepath +currentgray 0.6177419354838709 setgray fill setgray +% Sector from 3.927 to 4.1233 (quadrant 2) +newpath + -0.0627 -0.1022 moveto + -0.0644 -0.0941 lineto + %middle radial + -0.0644 -0.0941 lineto + -0.0657 -0.0863 lineto + %end radial + -0.0657 -0.0863 lineto + -0.1031 -0.0892 lineto + %middle circumferential + -0.1031 -0.0892 lineto + -0.1507 -0.0882 lineto + %end circumferential + -0.1507 -0.0882 lineto + -0.1511 -0.1008 lineto + %middle radial + -0.1511 -0.1008 lineto + -0.1507 -0.1139 lineto + %end radial + -0.1507 -0.1139 lineto + -0.1014 -0.1093 lineto + %middle circumferential + -0.1014 -0.1093 lineto + -0.0627 -0.1022 lineto + %end circumferential + closepath +currentgray 0.6345161290322581 setgray fill setgray +% Sector from 3.7306 to 3.927 (quadrant 2) +newpath + -0.0079 -0.0822 moveto + -0.0105 -0.0771 lineto + %middle radial + -0.0105 -0.0771 lineto + -0.0127 -0.0723 lineto + %end radial + -0.0127 -0.0723 lineto + -0.0361 -0.0804 lineto + %middle circumferential + -0.0361 -0.0804 lineto + -0.0657 -0.0863 lineto + %end circumferential + -0.0657 -0.0863 lineto + -0.0644 -0.0941 lineto + %middle radial + -0.0644 -0.0941 lineto + -0.0627 -0.1022 lineto + %end radial + -0.0627 -0.1022 lineto + -0.0321 -0.093 lineto + %middle circumferential + -0.0321 -0.093 lineto + -0.0079 -0.0822 lineto + %end circumferential + closepath +currentgray 0.6512903225806452 setgray fill setgray +% Sector from 3.5343 to 3.7306 (quadrant 2) +newpath + 0.0257 -0.0571 moveto + 0.0226 -0.0541 lineto + %middle radial + 0.0226 -0.0541 lineto + 0.0198 -0.0512 lineto + %end radial + 0.0198 -0.0512 lineto + 0.0056 -0.0624 lineto + %middle circumferential + 0.0056 -0.0624 lineto + -0.0127 -0.0723 lineto + %end circumferential + -0.0127 -0.0723 lineto + -0.0105 -0.0771 lineto + %middle radial + -0.0105 -0.0771 lineto + -0.0079 -0.0822 lineto + %end radial + -0.0079 -0.0822 lineto + 0.0111 -0.0701 lineto + %middle circumferential + 0.0111 -0.0701 lineto + 0.0257 -0.0571 lineto + %end circumferential + closepath +currentgray 0.6680645161290323 setgray fill setgray +% Sector from 3.3379 to 3.5343 (quadrant 2) +newpath + 0.044 -0.0291 moveto + 0.0406 -0.0277 lineto + %middle radial + 0.0406 -0.0277 lineto + 0.0375 -0.0264 lineto + %end radial + 0.0375 -0.0264 lineto + 0.0303 -0.0391 lineto + %middle circumferential + 0.0303 -0.0391 lineto + 0.0198 -0.0512 lineto + %end circumferential + 0.0198 -0.0512 lineto + 0.0226 -0.0541 lineto + %middle radial + 0.0226 -0.0541 lineto + 0.0257 -0.0571 lineto + %end radial + 0.0257 -0.0571 lineto + 0.0365 -0.0433 lineto + %middle circumferential + 0.0365 -0.0433 lineto + 0.044 -0.0291 lineto + %end circumferential + closepath +currentgray 0.6848387096774193 setgray fill setgray +% Sector from 3.1416 to 3.3379 (quadrant 2) +newpath + 0.0498 0.0 moveto + 0.0464 0.0 lineto + %middle radial + 0.0464 0.0 lineto + 0.0432 0.0 lineto + %end radial + 0.0432 0.0 lineto + 0.0418 -0.0133 lineto + %middle circumferential + 0.0418 -0.0133 lineto + 0.0375 -0.0264 lineto + %end circumferential + 0.0375 -0.0264 lineto + 0.0406 -0.0277 lineto + %middle radial + 0.0406 -0.0277 lineto + 0.044 -0.0291 lineto + %end radial + 0.044 -0.0291 lineto + 0.0483 -0.0146 lineto + %middle circumferential + 0.0483 -0.0146 lineto + 0.0498 0.0 lineto + %end circumferential + closepath +currentgray 0.7016129032258065 setgray fill setgray +% Sector from 2.9452 to 3.1416 (quadrant 1) +newpath + 0.044 0.0291 moveto + 0.0406 0.0277 lineto + %middle radial + 0.0406 0.0277 lineto + 0.0375 0.0264 lineto + %end radial + 0.0375 0.0264 lineto + 0.0418 0.0133 lineto + %middle circumferential + 0.0418 0.0133 lineto + 0.0432 0.0 lineto + %end circumferential + 0.0432 0.0 lineto + 0.0464 0.0 lineto + %middle radial + 0.0464 0.0 lineto + 0.0498 0.0 lineto + %end radial + 0.0498 0.0 lineto + 0.0483 0.0146 lineto + %middle circumferential + 0.0483 0.0146 lineto + 0.044 0.0291 lineto + %end circumferential + closepath +currentgray 0.7183870967741936 setgray fill setgray +% Sector from 2.7489 to 2.9452 (quadrant 1) +newpath + 0.0257 0.0571 moveto + 0.0226 0.0541 lineto + %middle radial + 0.0226 0.0541 lineto + 0.0198 0.0512 lineto + %end radial + 0.0198 0.0512 lineto + 0.0303 0.0391 lineto + %middle circumferential + 0.0303 0.0391 lineto + 0.0375 0.0264 lineto + %end circumferential + 0.0375 0.0264 lineto + 0.0406 0.0277 lineto + %middle radial + 0.0406 0.0277 lineto + 0.044 0.0291 lineto + %end radial + 0.044 0.0291 lineto + 0.0365 0.0433 lineto + %middle circumferential + 0.0365 0.0433 lineto + 0.0257 0.0571 lineto + %end circumferential + closepath +currentgray 0.7351612903225806 setgray fill setgray +% Sector from 2.5525 to 2.7489 (quadrant 1) +newpath + -0.0079 0.0822 moveto + -0.0105 0.0771 lineto + %middle radial + -0.0105 0.0771 lineto + -0.0127 0.0723 lineto + %end radial + -0.0127 0.0723 lineto + 0.0056 0.0624 lineto + %middle circumferential + 0.0056 0.0624 lineto + 0.0198 0.0512 lineto + %end circumferential + 0.0198 0.0512 lineto + 0.0226 0.0541 lineto + %middle radial + 0.0226 0.0541 lineto + 0.0257 0.0571 lineto + %end radial + 0.0257 0.0571 lineto + 0.0111 0.0701 lineto + %middle circumferential + 0.0111 0.0701 lineto + -0.0079 0.0822 lineto + %end circumferential + closepath +currentgray 0.7519354838709679 setgray fill setgray +% Sector from 2.3562 to 2.5525 (quadrant 1) +newpath + -0.0627 0.1022 moveto + -0.0644 0.0941 lineto + %middle radial + -0.0644 0.0941 lineto + -0.0657 0.0863 lineto + %end radial + -0.0657 0.0863 lineto + -0.0361 0.0804 lineto + %middle circumferential + -0.0361 0.0804 lineto + -0.0127 0.0723 lineto + %end circumferential + -0.0127 0.0723 lineto + -0.0105 0.0771 lineto + %middle radial + -0.0105 0.0771 lineto + -0.0079 0.0822 lineto + %end radial + -0.0079 0.0822 lineto + -0.0321 0.093 lineto + %middle circumferential + -0.0321 0.093 lineto + -0.0627 0.1022 lineto + %end circumferential + closepath +currentgray 0.7687096774193548 setgray fill setgray +% Sector from 2.1598 to 2.3562 (quadrant 1) +newpath + -0.1507 0.1139 moveto + -0.1511 0.1008 lineto + %middle radial + -0.1511 0.1008 lineto + -0.1507 0.0882 lineto + %end radial + -0.1507 0.0882 lineto + -0.1031 0.0892 lineto + %middle circumferential + -0.1031 0.0892 lineto + -0.0657 0.0863 lineto + %end circumferential + -0.0657 0.0863 lineto + -0.0644 0.0941 lineto + %middle radial + -0.0644 0.0941 lineto + -0.0627 0.1022 lineto + %end radial + -0.0627 0.1022 lineto + -0.1014 0.1093 lineto + %middle circumferential + -0.1014 0.1093 lineto + -0.1507 0.1139 lineto + %end circumferential + closepath +currentgray 0.7854838709677419 setgray fill setgray +% Sector from 1.9635 to 2.1598 (quadrant 1) +newpath + -0.2958 0.1147 moveto + -0.2946 0.0926 lineto + %middle radial + -0.2946 0.0926 lineto + -0.292 0.0712 lineto + %end radial + -0.292 0.0712 lineto + -0.212 0.0824 lineto + %middle circumferential + -0.212 0.0824 lineto + -0.1507 0.0882 lineto + %end circumferential + -0.1507 0.0882 lineto + -0.1511 0.1008 lineto + %middle radial + -0.1511 0.1008 lineto + -0.1507 0.1139 lineto + %end radial + -0.1507 0.1139 lineto + -0.2138 0.1157 lineto + %middle circumferential + -0.2138 0.1157 lineto + -0.2958 0.1147 lineto + %end circumferential + closepath +currentgray 0.802258064516129 setgray fill setgray +% Sector from 1.7671 to 1.9635 (quadrant 1) +newpath + -0.5459 0.1102 moveto + -0.5447 0.0711 lineto + %middle radial + -0.5447 0.0711 lineto + -0.5408 0.0327 lineto + %end radial + -0.5408 0.0327 lineto + -0.465 0.0437 lineto + -0.3981 0.0542 lineto + %middle circumferential + -0.3981 0.0542 lineto + -0.292 0.0712 lineto + %end circumferential + -0.292 0.0712 lineto + -0.2946 0.0926 lineto + %middle radial + -0.2946 0.0926 lineto + -0.2958 0.1147 lineto + %end radial + -0.2958 0.1147 lineto + -0.4033 0.112 lineto + %middle circumferential + -0.4033 0.112 lineto + -0.4705 0.1107 lineto + -0.5459 0.1102 lineto + %end circumferential + closepath +currentgray 0.8190322580645162 setgray fill setgray +% Sector from 1.5708 to 1.7671 (quadrant 1) +newpath + -0.99 0.1411 moveto + -0.9975 0.0707 lineto + %middle radial + -0.9975 0.0707 lineto + -1.0 0.0 lineto + %end radial + -1.0 0.0 lineto + -0.9274 8.0E-4 lineto + -0.8591 0.0032 lineto + -0.795 0.0067 lineto + -0.7349 0.0111 lineto + %middle circumferential + -0.7349 0.0111 lineto + -0.6317 0.0213 lineto + -0.5408 0.0327 lineto + %end circumferential + -0.5408 0.0327 lineto + -0.5447 0.0711 lineto + %middle radial + -0.5447 0.0711 lineto + -0.5459 0.1102 lineto + %end radial + -0.5459 0.1102 lineto + -0.6355 0.1116 lineto + -0.7362 0.1158 lineto + %middle circumferential + -0.7362 0.1158 lineto + -0.8247 0.1222 lineto + -0.8881 0.1284 lineto + -0.9551 0.1364 lineto + -0.99 0.1411 lineto + %end circumferential + closepath +currentgray 0.8358064516129032 setgray fill setgray +% Sector from 1.3744 to 1.5708 (quadrant 0) +newpath + -1.76 0.3554 moveto + -1.7834 0.2964 lineto + -1.8051 0.2356 lineto + %middle radial + -1.8051 0.2356 lineto + -1.8247 0.1744 lineto + -1.8424 0.1114 lineto + %end radial + -1.8424 0.1114 lineto + -1.7767 0.0948 lineto + -1.7125 0.0798 lineto + -1.6499 0.0665 lineto + -1.5888 0.0547 lineto + -1.5294 0.0442 lineto + -1.4715 0.0351 lineto + -1.3604 0.0206 lineto + %middle circumferential + -1.3604 0.0206 lineto + -1.2623 0.0109 lineto + -1.1696 0.0046 lineto + -1.0822 0.0011 lineto + -1.0 0.0 lineto + %end circumferential + -1.0 0.0 lineto + -0.9975 0.0707 lineto + %middle radial + -0.9975 0.0707 lineto + -0.99 0.1411 lineto + %end radial + -0.99 0.1411 lineto + -1.0674 0.1532 lineto + -1.1491 0.1682 lineto + -1.2351 0.1865 lineto + -1.3256 0.2085 lineto + %middle circumferential + -1.3256 0.2085 lineto + -1.427 0.2367 lineto + -1.5333 0.2702 lineto + -1.6161 0.2991 lineto + -1.6728 0.3204 lineto + -1.7306 0.3433 lineto + -1.76 0.3554 lineto + %end circumferential + closepath +currentgray 0.8525806451612903 setgray fill setgray +% Sector from 1.1781 to 1.3744 (quadrant 0) +newpath + -2.9388 1.1397 moveto + -3.0146 1.0577 lineto + -3.0896 0.9711 lineto + %middle radial + -3.0896 0.9711 lineto + -3.1618 0.882 lineto + -3.2152 0.8121 lineto + -3.2329 0.7882 lineto + %end radial + -3.2329 0.7882 lineto + -3.1832 0.7523 lineto + -3.1337 0.7176 lineto + -3.0844 0.6838 lineto + -3.0352 0.6512 lineto + -2.9376 0.5889 lineto + -2.8409 0.5307 lineto + -2.7453 0.4764 lineto + -2.651 0.4259 lineto + -2.558 0.379 lineto + -2.4664 0.3357 lineto + %middle circumferential + -2.4664 0.3357 lineto + -2.3831 0.2986 lineto + -2.3011 0.2643 lineto + -2.2207 0.2327 lineto + -2.1417 0.2037 lineto + -2.0644 0.1772 lineto + -1.9887 0.153 lineto + -1.9147 0.1311 lineto + -1.8424 0.1114 lineto + %end circumferential + -1.8424 0.1114 lineto + -1.8247 0.1744 lineto + -1.8051 0.2356 lineto + %middle radial + -1.8051 0.2356 lineto + -1.7834 0.2964 lineto + -1.76 0.3554 lineto + %end radial + -1.76 0.3554 lineto + -1.8239 0.3828 lineto + -1.889 0.4124 lineto + -1.9552 0.4441 lineto + -2.0226 0.4782 lineto + -2.091 0.5146 lineto + -2.1604 0.5535 lineto + -2.2308 0.5949 lineto + -2.3019 0.639 lineto + %middle circumferential + -2.3019 0.639 lineto + -2.3796 0.6896 lineto + -2.4581 0.7435 lineto + -2.5373 0.8007 lineto + -2.617 0.8613 lineto + -2.6971 0.9254 lineto + -2.7776 0.9932 lineto + -2.8582 1.0646 lineto + -2.9388 1.1397 lineto + %end circumferential + closepath +currentgray 0.8693548387096775 setgray fill setgray +% Sector from 0.9817 to 1.1781 (quadrant 0) +newpath + -4.2241 3.1924 moveto + -4.312 3.1611 lineto + -4.4008 3.128 lineto + -4.4906 3.0931 lineto + -4.5812 3.0563 lineto + %middle radial + -4.5812 3.0563 lineto + -4.6707 3.0184 lineto + -4.7609 2.9786 lineto + -4.8519 2.9368 lineto + -4.9438 2.893 lineto + %end radial + -4.9438 2.893 lineto + -4.8973 2.7992 lineto + -4.8497 2.707 lineto + -4.8011 2.6164 lineto + -4.7515 2.5275 lineto + -4.7011 2.4403 lineto + -4.6497 2.3548 lineto + -4.5976 2.271 lineto + -4.5446 2.1889 lineto + -4.4909 2.1085 lineto + -4.4365 2.0298 lineto + -4.3815 1.9528 lineto + -4.3258 1.8776 lineto + -4.2696 1.8041 lineto + -4.2129 1.7323 lineto + -4.1556 1.6623 lineto + -4.098 1.594 lineto + %middle circumferential + -4.098 1.594 lineto + -4.045 1.5331 lineto + -3.9917 1.4737 lineto + -3.9382 1.4157 lineto + -3.8845 1.3591 lineto + -3.8305 1.3039 lineto + -3.7764 1.2502 lineto + -3.7221 1.1979 lineto + -3.6678 1.1469 lineto + -3.6134 1.0973 lineto + -3.5589 1.0491 lineto + -3.5044 1.0023 lineto + -3.45 0.9568 lineto + -3.3956 0.9127 lineto + -3.3412 0.8699 lineto + -3.287 0.8284 lineto + -3.2329 0.7882 lineto + %end circumferential + -3.2329 0.7882 lineto + -3.2152 0.8121 lineto + -3.1618 0.882 lineto + -3.0896 0.9711 lineto + %middle radial + -3.0896 0.9711 lineto + -3.0146 1.0577 lineto + -2.9388 1.1397 lineto + %end radial + -2.9388 1.1397 lineto + -2.9826 1.1821 lineto + -3.0263 1.2256 lineto + -3.0699 1.2703 lineto + -3.1134 1.3161 lineto + -3.1568 1.3631 lineto + -3.2001 1.4112 lineto + -3.2431 1.4605 lineto + -3.2859 1.511 lineto + -3.3285 1.5626 lineto + -3.3709 1.6154 lineto + -3.4129 1.6693 lineto + -3.4546 1.7245 lineto + -3.496 1.7808 lineto + -3.537 1.8383 lineto + -3.5776 1.897 lineto + -3.6178 1.9569 lineto + %middle circumferential + -3.6178 1.9569 lineto + -3.6613 2.0238 lineto + -3.7042 2.0921 lineto + -3.7465 2.1619 lineto + -3.7882 2.233 lineto + -3.8291 2.3055 lineto + -3.8694 2.3795 lineto + -3.9088 2.4548 lineto + -3.9475 2.5314 lineto + -3.9854 2.6094 lineto + -4.0223 2.6888 lineto + -4.0584 2.7695 lineto + -4.0936 2.8515 lineto + -4.1277 2.9348 lineto + -4.1609 3.0194 lineto + -4.193 3.1053 lineto + -4.2241 3.1924 lineto + %end circumferential + closepath +currentgray 0.8861290322580645 setgray fill setgray +% Sector from 0.7854 to 0.9817 (quadrant 0) +newpath + -4.3641 6.378103166302659 moveto + -4.9564 6.378103166302659 lineto + %middle radial + -4.9564 6.378103166302659 lineto + -5.5849 6.378103166302659 lineto + %end radial + -5.5849 6.378103166302659 lineto + -5.5496 4.8001 lineto + %middle circumferential + -5.5496 4.8001 lineto + -5.2435 3.6138 lineto + -5.2228 3.5556 lineto + -5.2017 3.4978 lineto + -5.1801 3.4404 lineto + -5.1582 3.3836 lineto + -5.1359 3.3272 lineto + -5.1132 3.2712 lineto + -5.0901 3.2157 lineto + -5.0666 3.1607 lineto + -5.0427 3.1062 lineto + -5.0185 3.0522 lineto + -4.9939 2.9986 lineto + -4.969 2.9456 lineto + -4.9438 2.893 lineto + %end circumferential + -4.9438 2.893 lineto + -4.8519 2.9368 lineto + -4.7609 2.9786 lineto + -4.6707 3.0184 lineto + -4.5812 3.0563 lineto + %middle radial + -4.5812 3.0563 lineto + -4.4906 3.0931 lineto + -4.4008 3.128 lineto + -4.312 3.1611 lineto + -4.2241 3.1924 lineto + %end radial + -4.2241 3.1924 lineto + -4.2571 3.2902 lineto + -4.2887 3.3894 lineto + -4.3189 3.4901 lineto + -4.3477 3.5921 lineto + -4.3749 3.6956 lineto + -4.4005 3.8005 lineto + -4.4246 3.9066 lineto + -4.447 4.0141 lineto + -4.4677 4.1228 lineto + -4.4868 4.2327 lineto + -4.504 4.3439 lineto + -4.5196 4.4561 lineto + -4.5632 4.9156 lineto + %middle circumferential + -4.5632 4.9156 lineto + -4.3641 6.378103166302659 lineto + %end circumferential + closepath +currentgray 0.9029032258064516 setgray fill setgray +% Sector from 0.589 to 0.7854 (quadrant 0) +currentgray 0.9196774193548387 setgray fill setgray +% Sector from 0.3927 to 0.589 (quadrant 0) +currentgray 0.9364516129032258 setgray fill setgray +% Sector from 0.1963 to 0.3927 (quadrant 0) +currentgray 0.9532258064516128 setgray fill setgray +% Sector from 0.0 to 0.1963 (quadrant 0) +currentgray 0.97 setgray fill setgray +% Horizontal line from (0.5, 0.0) to (0.0, 0.0) +newpath + 1.6487 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.5, 0.0) to (1.0, 0.0) +newpath + 1.6487 0.0 moveto + 2.7183 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.0, 0.0) +newpath + 6.378103166302659 0.0 moveto + 2.7183 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.1579208923731617E77, 0.0) +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (0.0, 1.0) +newpath + 3.9923 6.2177 moveto + 0.5403 0.8415 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (1.1579208923731617E77, 1.0) +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (0.0, -1.0) +newpath + 3.9923 -6.2177 moveto + 0.5403 -0.8415 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (1.1579208923731617E77, -1.0) +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (1.1579208923731617E77, 2.0) +newpath + -0.4161 0.9093 moveto + -2.654 5.7991 lineto + -2.6808 5.8576 lineto + -6.378103166302659 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (1.1579208923731617E77, -2.0) +newpath + -0.4161 -0.9093 moveto + -2.654 -5.7991 lineto + -2.6808 -5.8576 lineto + -6.378103166302659 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (1.1579208923731617E77, 3.0) +newpath + -0.99 0.1411 moveto + -6.3138 0.9 lineto + -6.3774 0.9091 lineto + -6.378103166302659 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (1.1579208923731617E77, -3.0) +newpath + -0.99 -0.1411 moveto + -6.3138 -0.9 lineto + -6.3774 -0.9091 lineto + -6.378103166302659 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (0.0, 0.0) +newpath + 0.6065 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (-1.0, 0.0) +newpath + 0.6065 0.0 moveto + 0.3679 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.0, 0.0) +newpath + 0.1353 0.0 moveto + 0.3679 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.1579208923731617E77, 0.0) +newpath + 0.1353 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (0.0, 1.0) +newpath + 0.0731 0.1139 moveto + 0.5403 0.8415 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (-1.1579208923731617E77, 1.0) +newpath + 0.0731 0.1139 moveto + 0.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (0.0, -1.0) +newpath + 0.0731 -0.1139 moveto + 0.5403 -0.8415 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (-1.1579208923731617E77, -1.0) +newpath + 0.0731 -0.1139 moveto + 0.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (-1.1579208923731617E77, 2.0) +newpath + -0.4161 0.9093 moveto + 0.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (-1.1579208923731617E77, -2.0) +newpath + -0.4161 -0.9093 moveto + 0.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (-1.1579208923731617E77, 3.0) +newpath + -0.99 0.1411 moveto + 0.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (-1.1579208923731617E77, -3.0) +newpath + -0.99 -0.1411 moveto + 0.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 0.0) +newpath + 0.8776 0.4794 moveto + 0.9142 0.4052 lineto + 0.94 0.3411 lineto + 0.9708 0.24 lineto + 0.9858 0.1679 lineto + 0.9967 0.0817 lineto + 1.0 0.0015 lineto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 1.0) +newpath + 0.8776 0.4794 moveto + 0.8284 0.5602 lineto + 0.7794 0.6266 lineto + 0.7395 0.6731 lineto + 0.6929 0.721 lineto + 0.6386 0.7695 lineto + 0.5755 0.8178 lineto + 0.5403 0.8415 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.0) +newpath + -0.4161 0.9093 moveto + -0.3376 0.9413 lineto + -0.2602 0.9656 lineto + -0.1844 0.9829 lineto + -0.1108 0.9938 lineto + -0.0397 0.9992 lineto + 0.0286 0.9996 lineto + 0.0938 0.9956 lineto + 0.1559 0.9878 lineto + 0.2149 0.9766 lineto + 0.323 0.9464 lineto + 0.4187 0.9081 lineto + 0.5025 0.8646 lineto + 0.5403 0.8415 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.1579208923731617E77) +newpath + -0.4161 0.9093 moveto + -0.4969 0.8678 lineto + -0.5769 0.8168 lineto + -0.655 0.7556 lineto + -0.7298 0.6837 lineto + -0.7995 0.6007 lineto + -0.8623 0.5063 lineto + -0.8905 0.455 lineto + -0.9162 0.4008 lineto + -0.939 0.3439 lineto + -0.9587 0.2845 lineto + -0.9749 0.2225 lineto + -0.9874 0.1582 lineto + -0.9958 0.0918 lineto + -0.9997 0.0235 lineto + -0.9989 -0.0465 lineto + -0.993 -0.1179 lineto + -0.9818 -0.1902 lineto + -0.9648 -0.263 lineto + -0.9419 -0.336 lineto + -0.9127 -0.4086 lineto + -0.8772 -0.4802 lineto + -0.835 -0.5503 lineto + -0.7861 -0.6181 lineto + -0.7305 -0.6829 lineto + -0.6681 -0.7441 lineto + -0.599 -0.8008 lineto + -0.5234 -0.8521 lineto + -0.4416 -0.8972 lineto + -0.354 -0.9352 lineto + -0.2611 -0.9653 lineto + -0.1636 -0.9865 lineto + -0.0621 -0.9981 lineto + 0.0422 -0.9991 lineto + 0.1484 -0.9889 lineto + 0.2553 -0.9669 lineto + 0.3614 -0.9324 lineto + 0.4652 -0.8852 lineto + 0.5406 -0.8413 lineto + 0.5892 -0.808 lineto + 0.6363 -0.7714 lineto + 0.6817 -0.7317 lineto + 0.725 -0.6887 lineto + 0.7661 -0.6428 lineto + 0.8046 -0.5938 lineto + 0.8404 -0.5419 lineto + 0.8733 -0.4873 lineto + 0.9028 -0.43 lineto + 0.9289 -0.3703 lineto + 0.9513 -0.3083 lineto + 0.9697 -0.2442 lineto + 0.984 -0.1784 lineto + 0.9938 -0.111 lineto + 0.9991 -0.0423 lineto + 0.9996 0.0274 lineto + 0.9952 0.0977 lineto + 0.9857 0.1683 lineto + 0.9711 0.2388 lineto + 0.9511 0.3088 lineto + 0.9258 0.378 lineto + 0.8951 0.4458 lineto + 0.8591 0.5119 lineto + 0.8176 0.5757 lineto + 0.7709 0.6369 lineto + 0.7191 0.695 lineto + 0.6622 0.7493 lineto + 0.6005 0.7996 lineto + 0.5343 0.8453 lineto + 0.4638 0.886 lineto + 0.3894 0.9211 lineto + 0.3115 0.9503 lineto + 0.2305 0.9731 lineto + 0.147 0.9891 lineto + 0.0614 0.9981 lineto + -0.0255 0.9997 lineto + -0.1133 0.9936 lineto + -0.2011 0.9796 lineto + -0.2883 0.9576 lineto + -0.374 0.9274 lineto + -0.4161 0.9093 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 0.0) +newpath + -1.1312 2.4717 moveto + -1.0749 2.4967 lineto + -1.0186 2.5202 lineto + -0.9625 2.5422 lineto + -0.9066 2.5626 lineto + -0.8509 2.5817 lineto + -0.7402 2.6156 lineto + -0.6307 2.6441 lineto + -0.5226 2.6676 lineto + -0.4161 2.6862 lineto + -0.3114 2.7004 lineto + -0.2086 2.7103 lineto + -0.1078 2.7161 lineto + -0.0091 2.7183 lineto + 0.0873 2.7169 lineto + 0.1815 2.7122 lineto + 0.2734 2.7045 lineto + 0.3628 2.694 lineto + 0.4499 2.6808 lineto + 0.5345 2.6652 lineto + 0.6168 2.6474 lineto + 0.6966 2.6275 lineto + 0.7739 2.6058 lineto + 0.8489 2.5823 lineto + 0.9215 2.5573 lineto + 0.9918 2.5309 lineto + 1.0598 2.5032 lineto + 1.1254 2.4744 lineto + 1.1889 2.4445 lineto + 1.2501 2.4138 lineto + 1.3092 2.3822 lineto + 1.3662 2.35 lineto + 1.4211 2.3172 lineto + 1.4741 2.2839 lineto + 1.525 2.2502 lineto + 1.5741 2.2161 lineto + 1.6444 2.1645 lineto + 1.7318 2.0952 lineto + 1.8127 2.0256 lineto + 1.8873 1.9563 lineto + 1.9562 1.8875 lineto + 2.0196 1.8194 lineto + 2.078 1.7524 lineto + 2.1317 1.6867 lineto + 2.1811 1.6223 lineto + 2.2264 1.5595 lineto + 2.2681 1.4983 lineto + 2.3063 1.4387 lineto + 2.3414 1.381 lineto + 2.3735 1.325 lineto + 2.403 1.2707 lineto + 2.43 1.2183 lineto + 2.4773 1.1189 lineto + 2.517 1.0265 lineto + 2.5502 0.941 lineto + 2.578 0.862 lineto + 2.6012 0.7891 lineto + 2.6206 0.7221 lineto + 2.6368 0.6605 lineto + 2.6616 0.552 lineto + 2.6789 0.461 lineto + 2.6909 0.3847 lineto + 2.6993 0.3209 lineto + 2.7073 0.2443 lineto + 2.713 0.1697 lineto + 2.7165 0.0982 lineto + 2.7182 0.0159 lineto + 2.7183 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 1.1579208923731617E77) +newpath + -1.1312 2.4717 moveto + -1.1861 2.4459 lineto + -1.241 2.4185 lineto + -1.2959 2.3895 lineto + -1.3507 2.3589 lineto + -1.4054 2.3268 lineto + -1.4599 2.293 lineto + -1.5142 2.2575 lineto + -1.5683 2.2203 lineto + -1.622 2.1813 lineto + -1.6753 2.1407 lineto + -1.7282 2.0982 lineto + -1.7806 2.0539 lineto + -1.8324 2.0079 lineto + -1.8835 1.9599 lineto + -1.934 1.9101 lineto + -1.9837 1.8585 lineto + -2.0326 1.8049 lineto + -2.0805 1.7495 lineto + -2.1274 1.6921 lineto + -2.1733 1.6328 lineto + -2.2179 1.5716 lineto + -2.2613 1.5084 lineto + -2.3034 1.4434 lineto + -2.3441 1.3764 lineto + -2.3832 1.3075 lineto + -2.4207 1.2367 lineto + -2.4564 1.164 lineto + -2.4904 1.0895 lineto + -2.5224 1.0131 lineto + -2.5524 0.9349 lineto + -2.5803 0.855 lineto + -2.606 0.7733 lineto + -2.6293 0.6899 lineto + -2.6501 0.6049 lineto + -2.6684 0.5183 lineto + -2.684 0.4301 lineto + -2.6969 0.3405 lineto + -2.7068 0.2495 lineto + -2.7137 0.1573 lineto + -2.7175 0.0638 lineto + -2.7181 -0.0309 lineto + -2.7153 -0.1265 lineto + -2.7091 -0.223 lineto + -2.6993 -0.3204 lineto + -2.6859 -0.4184 lineto + -2.6687 -0.5169 lineto + -2.6476 -0.6158 lineto + -2.6226 -0.715 lineto + -2.5935 -0.8142 lineto + -2.5602 -0.9134 lineto + -2.5228 -1.0122 lineto + -2.481 -1.1106 lineto + -2.4349 -1.2084 lineto + -2.3844 -1.3053 lineto + -2.3293 -1.4012 lineto + -2.2698 -1.4958 lineto + -2.2056 -1.5888 lineto + -2.1369 -1.6801 lineto + -2.0636 -1.7694 lineto + -2.0055 -1.8349 lineto + -1.9654 -1.8778 lineto + -1.9241 -1.9201 lineto + -1.8817 -1.9617 lineto + -1.8382 -2.0026 lineto + -1.7935 -2.0427 lineto + -1.7476 -2.082 lineto + -1.7007 -2.1206 lineto + -1.6526 -2.1582 lineto + -1.6034 -2.195 lineto + -1.5531 -2.2309 lineto + -1.5018 -2.2658 lineto + -1.4493 -2.2997 lineto + -1.3958 -2.3325 lineto + -1.3413 -2.3643 lineto + -1.2857 -2.395 lineto + -1.2291 -2.4245 lineto + -1.1715 -2.4529 lineto + -1.1129 -2.48 lineto + -1.0533 -2.5059 lineto + -0.9929 -2.5305 lineto + -0.9315 -2.5537 lineto + -0.8692 -2.5756 lineto + -0.806 -2.596 lineto + -0.742 -2.615 lineto + -0.6773 -2.6326 lineto + -0.6117 -2.6486 lineto + -0.5454 -2.663 lineto + -0.4783 -2.6759 lineto + -0.4106 -2.6871 lineto + -0.3423 -2.6966 lineto + -0.2734 -2.7045 lineto + -0.2038 -2.7106 lineto + -0.1338 -2.715 lineto + -0.0633 -2.7175 lineto + 0.0076 -2.7183 lineto + 0.079 -2.7171 lineto + 0.1507 -2.7141 lineto + 0.2226 -2.7091 lineto + 0.2948 -2.7022 lineto + 0.3672 -2.6934 lineto + 0.4398 -2.6825 lineto + 0.5124 -2.6695 lineto + 0.5851 -2.6546 lineto + 0.6577 -2.6375 lineto + 0.7302 -2.6184 lineto + 0.8025 -2.5971 lineto + 0.8747 -2.5737 lineto + 0.9465 -2.5482 lineto + 1.018 -2.5205 lineto + 1.0891 -2.4906 lineto + 1.1597 -2.4585 lineto + 1.2297 -2.4242 lineto + 1.2991 -2.3877 lineto + 1.3678 -2.3491 lineto + 1.4358 -2.3082 lineto + 1.5028 -2.2651 lineto + 1.569 -2.2198 lineto + 1.6341 -2.1723 lineto + 1.6982 -2.1226 lineto + 1.761 -2.0707 lineto + 1.8227 -2.0167 lineto + 1.883 -1.9605 lineto + 1.9419 -1.9022 lineto + 1.9993 -1.8417 lineto + 2.0551 -1.7792 lineto + 2.1093 -1.7147 lineto + 2.1617 -1.6481 lineto + 2.2123 -1.5795 lineto + 2.261 -1.509 lineto + 2.3076 -1.4366 lineto + 2.3523 -1.3623 lineto + 2.3947 -1.2862 lineto + 2.4349 -1.2084 lineto + 2.4728 -1.1289 lineto + 2.5083 -1.0477 lineto + 2.5413 -0.9649 lineto + 2.5717 -0.8807 lineto + 2.5994 -0.795 lineto + 2.6245 -0.7079 lineto + 2.6467 -0.6196 lineto + 2.6661 -0.5301 lineto + 2.6825 -0.4395 lineto + 2.6959 -0.3478 lineto + 2.7063 -0.2553 lineto + 2.7135 -0.1619 lineto + 2.7174 -0.0678 lineto + 2.7181 0.0269 lineto + 2.7155 0.122 lineto + 2.7096 0.2176 lineto + 2.7002 0.3134 lineto + 2.6873 0.4094 lineto + 2.6709 0.5053 lineto + 2.651 0.6012 lineto + 2.6275 0.6968 lineto + 2.6003 0.792 lineto + 2.5696 0.8867 lineto + 2.5352 0.9807 lineto + 2.4972 1.0739 lineto + 2.4555 1.1661 lineto + 2.4101 1.2572 lineto + 2.3611 1.347 lineto + 2.3084 1.4354 lineto + 2.2521 1.5222 lineto + 2.1922 1.6073 lineto + 2.1287 1.6905 lineto + 2.0617 1.7716 lineto + 1.9911 1.8505 lineto + 1.9172 1.927 lineto + 1.8399 2.001 lineto + 1.7593 2.0722 lineto + 1.6754 2.1406 lineto + 1.5884 2.2059 lineto + 1.4984 2.268 lineto + 1.4054 2.3268 lineto + 1.3096 2.382 lineto + 1.211 2.4336 lineto + 1.1099 2.4814 lineto + 1.0063 2.5252 lineto + 0.9004 2.5648 lineto + 0.7923 2.6002 lineto + 0.6822 2.6313 lineto + 0.5703 2.6578 lineto + 0.4568 2.6796 lineto + 0.3418 2.6967 lineto + 0.2255 2.7089 lineto + 0.1669 2.7132 lineto + 0.1081 2.7161 lineto + 0.0491 2.7178 lineto + -0.0101 2.7183 lineto + -0.0694 2.7174 lineto + -0.1289 2.7152 lineto + -0.1885 2.7117 lineto + -0.2482 2.7069 lineto + -0.3079 2.7008 lineto + -0.3676 2.6933 lineto + -0.4273 2.6845 lineto + -0.487 2.6743 lineto + -0.5466 2.6628 lineto + -0.6061 2.6499 lineto + -0.6654 2.6356 lineto + -0.7246 2.6199 lineto + -0.7836 2.6029 lineto + -0.8423 2.5845 lineto + -0.9007 2.5647 lineto + -0.9589 2.5435 lineto + -1.0167 2.521 lineto + -1.0742 2.497 lineto + -1.1312 2.4717 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 0.0) +newpath + -0.1531 0.3345 moveto + -0.0927 0.356 lineto + 0.0182 0.3674 lineto + 0.1099 0.3511 lineto + 0.1811 0.3202 lineto + 0.2344 0.2836 lineto + 0.2885 0.2283 lineto + 0.3289 0.1649 lineto + 0.3587 0.0817 lineto + 0.3679 0.0021 lineto + 0.3679 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 1.1579208923731617E77) +newpath + -0.1531 0.3345 moveto + -0.2122 0.3005 lineto + -0.2685 0.2515 lineto + -0.3172 0.1863 lineto + -0.3527 0.1047 lineto + -0.3678 0.0086 lineto + -0.3549 -0.0968 lineto + -0.3227 -0.1767 lineto + -0.2892 -0.2274 lineto + -0.2458 -0.2737 lineto + -0.1925 -0.3135 lineto + -0.1302 -0.3441 lineto + -0.0602 -0.3629 lineto + 0.0155 -0.3676 lineto + 0.0939 -0.3557 lineto + 0.1711 -0.3257 lineto + 0.2425 -0.2766 lineto + 0.3027 -0.209 lineto + 0.346 -0.1249 lineto + 0.3668 -0.0282 lineto + 0.3602 0.0749 lineto + 0.3229 0.1762 lineto + 0.2543 0.2658 lineto + 0.1838 0.3187 lineto + 0.1291 0.3445 lineto + 0.0695 0.3612 lineto + 0.0066 0.3678 lineto + -0.0578 0.3633 lineto + -0.1219 0.3471 lineto + -0.1531 0.3345 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, 1.1579208923731617E77) +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, 1.1579208923731617E77) +newpath + 0.1353 0.0 moveto + 0.104 0.0866 lineto + 0.0485 0.1264 lineto + -0.0226 0.1334 lineto + -0.1092 0.0799 lineto + -0.1343 0.017 lineto + -0.12 -0.0626 lineto + -0.0476 -0.1267 lineto + 0.0377 -0.13 lineto + 0.0935 -0.0978 lineto + 0.13 -0.0376 lineto + 0.1353 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, 1.1579208923731617E77) +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, 1.1579208923731617E77) +newpath + 0.0498 0.0 moveto + 0.0061 0.0494 lineto + -0.0494 0.0063 lineto + -0.0175 -0.0466 lineto + 0.0498 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, 0.0) +newpath + 0.8776 -0.4794 moveto + 0.9142 -0.4052 lineto + 0.94 -0.3411 lineto + 0.9708 -0.24 lineto + 0.9858 -0.1679 lineto + 0.9967 -0.0817 lineto + 1.0 -0.0015 lineto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, -1.0) +newpath + 0.8776 -0.4794 moveto + 0.8284 -0.5602 lineto + 0.7794 -0.6266 lineto + 0.7395 -0.6731 lineto + 0.6929 -0.721 lineto + 0.6386 -0.7695 lineto + 0.5755 -0.8178 lineto + 0.5403 -0.8415 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.0) +newpath + -0.4161 -0.9093 moveto + -0.3376 -0.9413 lineto + -0.2602 -0.9656 lineto + -0.1844 -0.9829 lineto + -0.1108 -0.9938 lineto + -0.0397 -0.9992 lineto + 0.0286 -0.9996 lineto + 0.0938 -0.9956 lineto + 0.1559 -0.9878 lineto + 0.2149 -0.9766 lineto + 0.323 -0.9464 lineto + 0.4187 -0.9081 lineto + 0.5025 -0.8646 lineto + 0.5403 -0.8415 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.1579208923731617E77) +newpath + -0.4161 -0.9093 moveto + -0.4969 -0.8678 lineto + -0.5769 -0.8168 lineto + -0.655 -0.7556 lineto + -0.7298 -0.6837 lineto + -0.7995 -0.6007 lineto + -0.8623 -0.5063 lineto + -0.8905 -0.455 lineto + -0.9162 -0.4008 lineto + -0.939 -0.3439 lineto + -0.9587 -0.2845 lineto + -0.9749 -0.2225 lineto + -0.9874 -0.1582 lineto + -0.9958 -0.0918 lineto + -0.9997 -0.0235 lineto + -0.9989 0.0465 lineto + -0.993 0.1179 lineto + -0.9818 0.1902 lineto + -0.9648 0.263 lineto + -0.9419 0.336 lineto + -0.9127 0.4086 lineto + -0.8772 0.4802 lineto + -0.835 0.5503 lineto + -0.7861 0.6181 lineto + -0.7305 0.6829 lineto + -0.6681 0.7441 lineto + -0.599 0.8008 lineto + -0.5234 0.8521 lineto + -0.4416 0.8972 lineto + -0.354 0.9352 lineto + -0.2611 0.9653 lineto + -0.1636 0.9865 lineto + -0.0621 0.9981 lineto + 0.0422 0.9991 lineto + 0.1484 0.9889 lineto + 0.2553 0.9669 lineto + 0.3614 0.9324 lineto + 0.4652 0.8852 lineto + 0.5406 0.8413 lineto + 0.5892 0.808 lineto + 0.6363 0.7714 lineto + 0.6817 0.7317 lineto + 0.725 0.6887 lineto + 0.7661 0.6428 lineto + 0.8046 0.5938 lineto + 0.8404 0.5419 lineto + 0.8733 0.4873 lineto + 0.9028 0.43 lineto + 0.9289 0.3703 lineto + 0.9513 0.3083 lineto + 0.9697 0.2442 lineto + 0.984 0.1784 lineto + 0.9938 0.111 lineto + 0.9991 0.0423 lineto + 0.9996 -0.0274 lineto + 0.9952 -0.0977 lineto + 0.9857 -0.1683 lineto + 0.9711 -0.2388 lineto + 0.9511 -0.3088 lineto + 0.9258 -0.378 lineto + 0.8951 -0.4458 lineto + 0.8591 -0.5119 lineto + 0.8176 -0.5757 lineto + 0.7709 -0.6369 lineto + 0.7191 -0.695 lineto + 0.6622 -0.7493 lineto + 0.6005 -0.7996 lineto + 0.5343 -0.8453 lineto + 0.4638 -0.886 lineto + 0.3894 -0.9211 lineto + 0.3115 -0.9503 lineto + 0.2305 -0.9731 lineto + 0.147 -0.9891 lineto + 0.0614 -0.9981 lineto + -0.0255 -0.9997 lineto + -0.1133 -0.9936 lineto + -0.2011 -0.9796 lineto + -0.2883 -0.9576 lineto + -0.374 -0.9274 lineto + -0.4161 -0.9093 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, 0.0) +newpath + -1.1312 -2.4717 moveto + -1.0749 -2.4967 lineto + -1.0186 -2.5202 lineto + -0.9625 -2.5422 lineto + -0.9066 -2.5626 lineto + -0.8509 -2.5817 lineto + -0.7402 -2.6156 lineto + -0.6307 -2.6441 lineto + -0.5226 -2.6676 lineto + -0.4161 -2.6862 lineto + -0.3114 -2.7004 lineto + -0.2086 -2.7103 lineto + -0.1078 -2.7161 lineto + -0.0091 -2.7183 lineto + 0.0873 -2.7169 lineto + 0.1815 -2.7122 lineto + 0.2734 -2.7045 lineto + 0.3628 -2.694 lineto + 0.4499 -2.6808 lineto + 0.5345 -2.6652 lineto + 0.6168 -2.6474 lineto + 0.6966 -2.6275 lineto + 0.7739 -2.6058 lineto + 0.8489 -2.5823 lineto + 0.9215 -2.5573 lineto + 0.9918 -2.5309 lineto + 1.0598 -2.5032 lineto + 1.1254 -2.4744 lineto + 1.1889 -2.4445 lineto + 1.2501 -2.4138 lineto + 1.3092 -2.3822 lineto + 1.3662 -2.35 lineto + 1.4211 -2.3172 lineto + 1.4741 -2.2839 lineto + 1.525 -2.2502 lineto + 1.5741 -2.2161 lineto + 1.6444 -2.1645 lineto + 1.7318 -2.0952 lineto + 1.8127 -2.0256 lineto + 1.8873 -1.9563 lineto + 1.9562 -1.8875 lineto + 2.0196 -1.8194 lineto + 2.078 -1.7524 lineto + 2.1317 -1.6867 lineto + 2.1811 -1.6223 lineto + 2.2264 -1.5595 lineto + 2.2681 -1.4983 lineto + 2.3063 -1.4387 lineto + 2.3414 -1.381 lineto + 2.3735 -1.325 lineto + 2.403 -1.2707 lineto + 2.43 -1.2183 lineto + 2.4773 -1.1189 lineto + 2.517 -1.0265 lineto + 2.5502 -0.941 lineto + 2.578 -0.862 lineto + 2.6012 -0.7891 lineto + 2.6206 -0.7221 lineto + 2.6368 -0.6605 lineto + 2.6616 -0.552 lineto + 2.6789 -0.461 lineto + 2.6909 -0.3847 lineto + 2.6993 -0.3209 lineto + 2.7073 -0.2443 lineto + 2.713 -0.1697 lineto + 2.7165 -0.0982 lineto + 2.7182 -0.0159 lineto + 2.7183 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, -1.1579208923731617E77) +newpath + -1.1312 -2.4717 moveto + -1.1861 -2.4459 lineto + -1.241 -2.4185 lineto + -1.2959 -2.3895 lineto + -1.3507 -2.3589 lineto + -1.4054 -2.3268 lineto + -1.4599 -2.293 lineto + -1.5142 -2.2575 lineto + -1.5683 -2.2203 lineto + -1.622 -2.1813 lineto + -1.6753 -2.1407 lineto + -1.7282 -2.0982 lineto + -1.7806 -2.0539 lineto + -1.8324 -2.0079 lineto + -1.8835 -1.9599 lineto + -1.934 -1.9101 lineto + -1.9837 -1.8585 lineto + -2.0326 -1.8049 lineto + -2.0805 -1.7495 lineto + -2.1274 -1.6921 lineto + -2.1733 -1.6328 lineto + -2.2179 -1.5716 lineto + -2.2613 -1.5084 lineto + -2.3034 -1.4434 lineto + -2.3441 -1.3764 lineto + -2.3832 -1.3075 lineto + -2.4207 -1.2367 lineto + -2.4564 -1.164 lineto + -2.4904 -1.0895 lineto + -2.5224 -1.0131 lineto + -2.5524 -0.9349 lineto + -2.5803 -0.855 lineto + -2.606 -0.7733 lineto + -2.6293 -0.6899 lineto + -2.6501 -0.6049 lineto + -2.6684 -0.5183 lineto + -2.684 -0.4301 lineto + -2.6969 -0.3405 lineto + -2.7068 -0.2495 lineto + -2.7137 -0.1573 lineto + -2.7175 -0.0638 lineto + -2.7181 0.0309 lineto + -2.7153 0.1265 lineto + -2.7091 0.223 lineto + -2.6993 0.3204 lineto + -2.6859 0.4184 lineto + -2.6687 0.5169 lineto + -2.6476 0.6158 lineto + -2.6226 0.715 lineto + -2.5935 0.8142 lineto + -2.5602 0.9134 lineto + -2.5228 1.0122 lineto + -2.481 1.1106 lineto + -2.4349 1.2084 lineto + -2.3844 1.3053 lineto + -2.3293 1.4012 lineto + -2.2698 1.4958 lineto + -2.2056 1.5888 lineto + -2.1369 1.6801 lineto + -2.0636 1.7694 lineto + -2.0055 1.8349 lineto + -1.9654 1.8778 lineto + -1.9241 1.9201 lineto + -1.8817 1.9617 lineto + -1.8382 2.0026 lineto + -1.7935 2.0427 lineto + -1.7476 2.082 lineto + -1.7007 2.1206 lineto + -1.6526 2.1582 lineto + -1.6034 2.195 lineto + -1.5531 2.2309 lineto + -1.5018 2.2658 lineto + -1.4493 2.2997 lineto + -1.3958 2.3325 lineto + -1.3413 2.3643 lineto + -1.2857 2.395 lineto + -1.2291 2.4245 lineto + -1.1715 2.4529 lineto + -1.1129 2.48 lineto + -1.0533 2.5059 lineto + -0.9929 2.5305 lineto + -0.9315 2.5537 lineto + -0.8692 2.5756 lineto + -0.806 2.596 lineto + -0.742 2.615 lineto + -0.6773 2.6326 lineto + -0.6117 2.6486 lineto + -0.5454 2.663 lineto + -0.4783 2.6759 lineto + -0.4106 2.6871 lineto + -0.3423 2.6966 lineto + -0.2734 2.7045 lineto + -0.2038 2.7106 lineto + -0.1338 2.715 lineto + -0.0633 2.7175 lineto + 0.0076 2.7183 lineto + 0.079 2.7171 lineto + 0.1507 2.7141 lineto + 0.2226 2.7091 lineto + 0.2948 2.7022 lineto + 0.3672 2.6934 lineto + 0.4398 2.6825 lineto + 0.5124 2.6695 lineto + 0.5851 2.6546 lineto + 0.6577 2.6375 lineto + 0.7302 2.6184 lineto + 0.8025 2.5971 lineto + 0.8747 2.5737 lineto + 0.9465 2.5482 lineto + 1.018 2.5205 lineto + 1.0891 2.4906 lineto + 1.1597 2.4585 lineto + 1.2297 2.4242 lineto + 1.2991 2.3877 lineto + 1.3678 2.3491 lineto + 1.4358 2.3082 lineto + 1.5028 2.2651 lineto + 1.569 2.2198 lineto + 1.6341 2.1723 lineto + 1.6982 2.1226 lineto + 1.761 2.0707 lineto + 1.8227 2.0167 lineto + 1.883 1.9605 lineto + 1.9419 1.9022 lineto + 1.9993 1.8417 lineto + 2.0551 1.7792 lineto + 2.1093 1.7147 lineto + 2.1617 1.6481 lineto + 2.2123 1.5795 lineto + 2.261 1.509 lineto + 2.3076 1.4366 lineto + 2.3523 1.3623 lineto + 2.3947 1.2862 lineto + 2.4349 1.2084 lineto + 2.4728 1.1289 lineto + 2.5083 1.0477 lineto + 2.5413 0.9649 lineto + 2.5717 0.8807 lineto + 2.5994 0.795 lineto + 2.6245 0.7079 lineto + 2.6467 0.6196 lineto + 2.6661 0.5301 lineto + 2.6825 0.4395 lineto + 2.6959 0.3478 lineto + 2.7063 0.2553 lineto + 2.7135 0.1619 lineto + 2.7174 0.0678 lineto + 2.7181 -0.0269 lineto + 2.7155 -0.122 lineto + 2.7096 -0.2176 lineto + 2.7002 -0.3134 lineto + 2.6873 -0.4094 lineto + 2.6709 -0.5053 lineto + 2.651 -0.6012 lineto + 2.6275 -0.6968 lineto + 2.6003 -0.792 lineto + 2.5696 -0.8867 lineto + 2.5352 -0.9807 lineto + 2.4972 -1.0739 lineto + 2.4555 -1.1661 lineto + 2.4101 -1.2572 lineto + 2.3611 -1.347 lineto + 2.3084 -1.4354 lineto + 2.2521 -1.5222 lineto + 2.1922 -1.6073 lineto + 2.1287 -1.6905 lineto + 2.0617 -1.7716 lineto + 1.9911 -1.8505 lineto + 1.9172 -1.927 lineto + 1.8399 -2.001 lineto + 1.7593 -2.0722 lineto + 1.6754 -2.1406 lineto + 1.5884 -2.2059 lineto + 1.4984 -2.268 lineto + 1.4054 -2.3268 lineto + 1.3096 -2.382 lineto + 1.211 -2.4336 lineto + 1.1099 -2.4814 lineto + 1.0063 -2.5252 lineto + 0.9004 -2.5648 lineto + 0.7923 -2.6002 lineto + 0.6822 -2.6313 lineto + 0.5703 -2.6578 lineto + 0.4568 -2.6796 lineto + 0.3418 -2.6967 lineto + 0.2255 -2.7089 lineto + 0.1669 -2.7132 lineto + 0.1081 -2.7161 lineto + 0.0491 -2.7178 lineto + -0.0101 -2.7183 lineto + -0.0694 -2.7174 lineto + -0.1289 -2.7152 lineto + -0.1885 -2.7117 lineto + -0.2482 -2.7069 lineto + -0.3079 -2.7008 lineto + -0.3676 -2.6933 lineto + -0.4273 -2.6845 lineto + -0.487 -2.6743 lineto + -0.5466 -2.6628 lineto + -0.6061 -2.6499 lineto + -0.6654 -2.6356 lineto + -0.7246 -2.6199 lineto + -0.7836 -2.6029 lineto + -0.8423 -2.5845 lineto + -0.9007 -2.5647 lineto + -0.9589 -2.5435 lineto + -1.0167 -2.521 lineto + -1.0742 -2.497 lineto + -1.1312 -2.4717 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, 0.0) +newpath + -0.1531 -0.3345 moveto + -0.0927 -0.356 lineto + 0.0182 -0.3674 lineto + 0.1099 -0.3511 lineto + 0.1811 -0.3202 lineto + 0.2344 -0.2836 lineto + 0.2885 -0.2283 lineto + 0.3289 -0.1649 lineto + 0.3587 -0.0817 lineto + 0.3679 -0.0021 lineto + 0.3679 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, -1.1579208923731617E77) +newpath + -0.1531 -0.3345 moveto + -0.2122 -0.3005 lineto + -0.2685 -0.2515 lineto + -0.3172 -0.1863 lineto + -0.3527 -0.1047 lineto + -0.3678 -0.0086 lineto + -0.3549 0.0968 lineto + -0.3227 0.1767 lineto + -0.2892 0.2274 lineto + -0.2458 0.2737 lineto + -0.1925 0.3135 lineto + -0.1302 0.3441 lineto + -0.0602 0.3629 lineto + 0.0155 0.3676 lineto + 0.0939 0.3557 lineto + 0.1711 0.3257 lineto + 0.2425 0.2766 lineto + 0.3027 0.209 lineto + 0.346 0.1249 lineto + 0.3668 0.0282 lineto + 0.3602 -0.0749 lineto + 0.3229 -0.1762 lineto + 0.2543 -0.2658 lineto + 0.1838 -0.3187 lineto + 0.1291 -0.3445 lineto + 0.0695 -0.3612 lineto + 0.0066 -0.3678 lineto + -0.0578 -0.3633 lineto + -0.1219 -0.3471 lineto + -0.1531 -0.3345 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, -1.1579208923731617E77) +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, -1.1579208923731617E77) +newpath + 0.1353 0.0 moveto + 0.104 -0.0866 lineto + 0.0485 -0.1264 lineto + -0.0226 -0.1334 lineto + -0.1092 -0.0799 lineto + -0.1343 -0.017 lineto + -0.12 0.0626 lineto + -0.0476 0.1267 lineto + 0.0377 0.13 lineto + 0.0935 0.0978 lineto + 0.13 0.0376 lineto + 0.1353 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, -1.1579208923731617E77) +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, -1.1579208923731617E77) +newpath + 0.0498 0.0 moveto + 0.0061 -0.0494 lineto + -0.0494 -0.0063 lineto + -0.0175 0.0466 lineto + 0.0498 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Real axis +newpath -5 0 moveto 5 0 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 1.0 0.12 moveto 1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.0 0.12 moveto -1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 2.0 0.12 moveto 2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -2.0 0.12 moveto -2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.0 0.12 moveto 3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.0 0.12 moveto -3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 4.0 0.12 moveto 4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -4.0 0.12 moveto -4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 1.5707963267948966 0.09 moveto 1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.5707963267948966 0.09 moveto -1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.141592653589793 0.09 moveto 3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.141592653589793 0.09 moveto -3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +% Imaginary axis +newpath 0 -5 moveto 0 5 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 0.12 1.0 moveto -0.12 1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -1.0 moveto -0.12 -1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 2.0 moveto -0.12 2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -2.0 moveto -0.12 -2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 3.0 moveto -0.12 3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -3.0 moveto -0.12 -3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 4.0 moveto -0.12 4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -4.0 moveto -0.12 -4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 1.5707963267948966 moveto -0.09 1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -1.5707963267948966 moveto -0.09 -1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 3.141592653589793 moveto -0.09 3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -3.141592653589793 moveto -0.09 -3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +% End of PostScript file for plot of function EXP +%%EndDocument + @endspecial 125 x(The)g Fj(exp)f FA(function)i(maps)g(horizon)o(tal)h +(lines)g(to)e(radii)h(and)g(maps)g(v)o(ertical)g(lines)h(to)e(circles)0 +1937 y(cen)o(tered)h(at)g(the)g(origin.)29 b(The)17 b(origin)i(is)e +(mapp)q(ed)h(to)e(1.)28 b(\(It)16 b(is)h(instructiv)o(e)i(to)e(compare) +0 1983 y(this)j(graph)g(with)f(those)g(of)g(other)g(functions)i(that)e +(map)g(the)g(origin)i(to)d(1,)j(for)d(example)0 2028 +y(\(1)8 b(+)h Fq(z)c FA(\))p Fd(=)p FA(\(1)j Ff(\000)g +Fq(z)d FA(\),)11 b(cos)c Fq(z)e FA(,)12 b(and)450 1998 +y Ff(p)p 482 1998 104 2 v 30 x FA(1)d Ff(\000)g Fq(z)570 +2018 y Fc(2)586 2028 y FA(.\))17 b(The)c(en)o(tire)g(real)h(axis)g(is)g +(mapp)q(ed)g(to)e(the)h(p)q(ositiv)o(e)0 2074 y(real)k(axis,)g(with)g +Ff(\0001)f FA(mapping)h(to)f(the)g(origin)i(and)f(+)p +Ff(1)f FA(to)g(itself.)26 b(The)16 b(imaginary)i(axis)0 +2120 y(is)h(mapp)q(ed)g(to)f(the)g(unit)h(circle)g(with)f(in\014nite)j +(m)o(ultiplicit)o(y)g(\(p)q(erio)q(d)f(2)p Fd(\031)q +FA(\);)g(therefore)e(the)0 2165 y(mapping)13 b(of)f(the)f(imaginary)j +(in\014nities)h Ff(\0061)p Fq(i)g FA(is)d(indeterminate.)19 +b(It)11 b(follo)o(ws)h(that)g(the)g(en)o(tire)0 2211 +y(left)g(half-plane)h(is)f(mapp)q(ed)h(to)e(the)h(in)o(terior)h(of)e +(the)g(unit)i(circle,)g(and)f(the)f(righ)o(t)h(half-plane)i(is)0 +2257 y(mapp)q(ed)g(to)e(the)h(exterior)h(of)f(the)f(unit)i(circle.)k(A) +13 b(line)h(at)f(an)o(y)g(angle)h(other)f(than)g(horizon)o(tal)0 +2302 y(or)g(v)o(ertical)i(is)e(mapp)q(ed)h(to)f(a)g(logarithmic)j +(spiral)f(\(but)e(this)h(is)g(not)f(illustrated)j(here\).)p +0 2334 1395 2 v -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 344 368 +344 367 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(344)77 b(COMMON)13 +b(LISP)p 0 255 1395 2 v 0 322 a Fm(Figure)h(12-4:)j FA(Illustration)f +(of)d(the)g(Range)h(of)f(the)g(Natural)h(Logarithm)g(F)m(unction)0 +1766 y @beginspecial @setspecial +%%BeginDocument: log-plot.ps +% PostScript file for plot of function LOG +% Plot is to fit in a region 4.666666666666667 inches square +% showing axes extending 4.1 units from the origin. + +40.97560975609756 40.97560975609756 scale +4.1 4.1 translate +newpath + -4.1 -4.1 moveto + 4.1 -4.1 lineto + 4.1 4.1 lineto + -4.1 4.1 lineto + closepath +clip +% Moby grid for function LOG +% Annulus 0.25 0.5 4 0.97 0.45 +% Sector from 4.7124 to 6.2832 (quadrant 3) +newpath + -1.3863 -1.5708 moveto + -0.9808 -1.5708 lineto + %middle radial + -0.9808 -1.5708 lineto + -0.6931 -1.5708 lineto + %end radial + -0.6931 -1.5708 lineto + -0.6931 -1.4326 lineto + -0.6931 -0.7854 lineto + %middle circumferential + -0.6931 -0.7854 lineto + -0.6931 -0.0522 lineto + -0.6931 0.0 lineto + %end circumferential + -0.6931 0.0 lineto + -0.9808 0.0 lineto + %middle radial + -0.9808 0.0 lineto + -1.3863 0.0 lineto + %end radial + -1.3863 0.0 lineto + -1.3863 -0.0522 lineto + -1.3863 -0.7854 lineto + %middle circumferential + -1.3863 -0.7854 lineto + -1.3863 -1.4326 lineto + -1.3863 -1.5708 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 3.1416 to 4.7124 (quadrant 2) +newpath + -1.3863 -3.1416 moveto + -0.9808 -3.1416 lineto + %middle radial + -0.9808 -3.1416 lineto + -0.6931 -3.1416 lineto + %end radial + -0.6931 -3.1416 lineto + -0.6931 -2.6714 lineto + -0.6931 -2.3562 lineto + %middle circumferential + -0.6931 -2.3562 lineto + -0.6931 -1.9321 lineto + -0.6931 -1.677 lineto + -0.6931 -1.5708 lineto + %end circumferential + -0.6931 -1.5708 lineto + -0.9808 -1.5708 lineto + %middle radial + -0.9808 -1.5708 lineto + -1.3863 -1.5708 lineto + %end radial + -1.3863 -1.5708 lineto + -1.3863 -1.677 lineto + -1.3863 -1.9321 lineto + -1.3863 -2.3562 lineto + %middle circumferential + -1.3863 -2.3562 lineto + -1.3863 -2.6714 lineto + -1.3863 -3.1416 lineto + %end circumferential + closepath +currentgray 0.6233333333333334 setgray fill setgray +% Sector from 1.5708 to 3.1416 (quadrant 1) +newpath + -1.3863 1.5708 moveto + -0.9808 1.5708 lineto + %middle radial + -0.9808 1.5708 lineto + -0.6931 1.5708 lineto + %end radial + -0.6931 1.5708 lineto + -0.6931 1.6949 lineto + -0.6931 1.8287 lineto + -0.6931 1.9238 lineto + -0.6931 2.1291 lineto + -0.6931 2.3562 lineto + %middle circumferential + -0.6931 2.3562 lineto + -0.6931 2.6246 lineto + -0.6931 3.1416 lineto + %end circumferential + -0.6931 3.1416 lineto + -0.9808 3.1416 lineto + %middle radial + -0.9808 3.1416 lineto + -1.3863 3.1416 lineto + %end radial + -1.3863 3.1416 lineto + -1.3863 2.6246 lineto + -1.3863 2.3562 lineto + %middle circumferential + -1.3863 2.3562 lineto + -1.3863 2.1291 lineto + -1.3863 1.9238 lineto + -1.3863 1.8287 lineto + -1.3863 1.6949 lineto + -1.3863 1.5708 lineto + %end circumferential + closepath +currentgray 0.7966666666666668 setgray fill setgray +% Sector from 0.0 to 1.5708 (quadrant 0) +newpath + -1.3863 0.0 moveto + -0.9808 0.0 lineto + %middle radial + -0.9808 0.0 lineto + -0.6931 0.0 lineto + %end radial + -0.6931 0.0 lineto + -0.6931 0.0 lineto + -0.6931 0.3169 lineto + -0.6931 0.4161 lineto + -0.6931 0.6854 lineto + -0.6931 0.7854 lineto + %middle circumferential + -0.6931 0.7854 lineto + -0.6931 1.0185 lineto + -0.6931 1.5042 lineto + -0.6931 1.5708 lineto + %end circumferential + -0.6931 1.5708 lineto + -0.9808 1.5708 lineto + %middle radial + -0.9808 1.5708 lineto + -1.3863 1.5708 lineto + %end radial + -1.3863 1.5708 lineto + -1.3863 1.5042 lineto + -1.3863 1.0185 lineto + -1.3863 0.7854 lineto + %middle circumferential + -1.3863 0.7854 lineto + -1.3863 0.6854 lineto + -1.3863 0.4161 lineto + -1.3863 0.3169 lineto + -1.3863 0.0 lineto + -1.3863 0.0 lineto + %end circumferential + closepath +currentgray 0.9700000000000001 setgray fill setgray +% Annulus 0.75 1.0 8 0.97 0.45 +% Sector from 5.4978 to 6.2832 (quadrant 3) +newpath + -0.2877 -0.7854 moveto + -0.1335 -0.7854 lineto + %middle radial + -0.1335 -0.7854 lineto + 0.0 -0.7854 lineto + %end radial + 0.0 -0.7854 lineto + 0.0 -0.4934 lineto + 0.0 -0.3927 lineto + %middle circumferential + 0.0 -0.3927 lineto + 0.0 -0.1006 lineto + 0.0 0.0 lineto + %end circumferential + 0.0 0.0 lineto + -0.1335 0.0 lineto + %middle radial + -0.1335 0.0 lineto + -0.2877 0.0 lineto + %end radial + -0.2877 0.0 lineto + -0.2877 -0.0505 lineto + -0.2877 -0.3927 lineto + %middle circumferential + -0.2877 -0.3927 lineto + -0.2877 -0.6413 lineto + -0.2877 -0.7854 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 4.7124 to 5.4978 (quadrant 3) +newpath + -0.2877 -1.5708 moveto + -0.1335 -1.5708 lineto + %middle radial + -0.1335 -1.5708 lineto + 0.0 -1.5708 lineto + %end radial + 0.0 -1.5708 lineto + 0.0 -1.4272 lineto + 0.0 -1.3291 lineto + 0.0 -1.1781 lineto + %middle circumferential + 0.0 -1.1781 lineto + 0.0 -0.7854 lineto + %end circumferential + 0.0 -0.7854 lineto + -0.1335 -0.7854 lineto + %middle radial + -0.1335 -0.7854 lineto + -0.2877 -0.7854 lineto + %end radial + -0.2877 -0.7854 lineto + -0.2877 -1.1781 lineto + %middle circumferential + -0.2877 -1.1781 lineto + -0.2877 -1.5234 lineto + -0.2877 -1.5708 lineto + %end circumferential + closepath +currentgray 0.5242857142857142 setgray fill setgray +% Sector from 3.927 to 4.7124 (quadrant 2) +newpath + -0.2877 -2.3562 moveto + -0.1335 -2.3562 lineto + %middle radial + -0.1335 -2.3562 lineto + 0.0 -2.3562 lineto + %end radial + 0.0 -2.3562 lineto + 0.0 -2.2133 lineto + 0.0 -2.1152 lineto + 0.0 -1.9635 lineto + %middle circumferential + 0.0 -1.9635 lineto + 0.0 -1.7714 lineto + 0.0 -1.5708 lineto + %end circumferential + 0.0 -1.5708 lineto + -0.1335 -1.5708 lineto + %middle radial + -0.1335 -1.5708 lineto + -0.2877 -1.5708 lineto + %end radial + -0.2877 -1.5708 lineto + -0.2877 -1.7714 lineto + -0.2877 -1.8685 lineto + -0.2877 -1.9635 lineto + %middle circumferential + -0.2877 -1.9635 lineto + -0.2877 -2.1152 lineto + -0.2877 -2.3562 lineto + %end circumferential + closepath +currentgray 0.5985714285714285 setgray fill setgray +% Sector from 3.1416 to 3.927 (quadrant 2) +newpath + -0.2877 -3.1416 moveto + -0.1335 -3.1416 lineto + %middle radial + -0.1335 -3.1416 lineto + 0.0 -3.1416 lineto + %end radial + 0.0 -3.1416 lineto + 0.0 -2.7489 lineto + %middle circumferential + 0.0 -2.7489 lineto + 0.0 -2.3562 lineto + %end circumferential + 0.0 -2.3562 lineto + -0.1335 -2.3562 lineto + %middle radial + -0.1335 -2.3562 lineto + -0.2877 -2.3562 lineto + %end radial + -0.2877 -2.3562 lineto + -0.2877 -2.4076 lineto + -0.2877 -2.5083 lineto + -0.2877 -2.7489 lineto + %middle circumferential + -0.2877 -2.7489 lineto + -0.2877 -2.9016 lineto + -0.2877 -3.0477 lineto + -0.2877 -3.1416 lineto + %end circumferential + closepath +currentgray 0.6728571428571428 setgray fill setgray +% Sector from 2.3562 to 3.1416 (quadrant 1) +newpath + -0.2877 2.3562 moveto + -0.1335 2.3562 lineto + %middle radial + -0.1335 2.3562 lineto + 0.0 2.3562 lineto + %end radial + 0.0 2.3562 lineto + 0.0 2.645 lineto + 0.0 2.7489 lineto + %middle circumferential + 0.0 2.7489 lineto + 0.0 3.0384 lineto + 0.0 3.1416 lineto + %end circumferential + 0.0 3.1416 lineto + -0.1335 3.1416 lineto + %middle radial + -0.1335 3.1416 lineto + -0.2877 3.1416 lineto + %end radial + -0.2877 3.1416 lineto + -0.2877 3.0384 lineto + -0.2877 2.9387 lineto + -0.2877 2.7489 lineto + %middle circumferential + -0.2877 2.7489 lineto + -0.2877 2.402 lineto + -0.2877 2.3562 lineto + %end circumferential + closepath +currentgray 0.7471428571428572 setgray fill setgray +% Sector from 1.5708 to 2.3562 (quadrant 1) +newpath + -0.2877 1.5708 moveto + -0.1335 1.5708 lineto + %middle radial + -0.1335 1.5708 lineto + 0.0 1.5708 lineto + %end radial + 0.0 1.5708 lineto + 0.0 1.9635 lineto + %middle circumferential + 0.0 1.9635 lineto + 0.0 2.3562 lineto + %end circumferential + 0.0 2.3562 lineto + -0.1335 2.3562 lineto + %middle radial + -0.1335 2.3562 lineto + -0.2877 2.3562 lineto + %end radial + -0.2877 2.3562 lineto + -0.2877 2.0551 lineto + -0.2877 1.9635 lineto + %middle circumferential + -0.2877 1.9635 lineto + -0.2877 1.7562 lineto + -0.2877 1.5708 lineto + %end circumferential + closepath +currentgray 0.8214285714285714 setgray fill setgray +% Sector from 0.7854 to 1.5708 (quadrant 0) +newpath + -0.2877 0.7854 moveto + -0.1335 0.7854 lineto + %middle radial + -0.1335 0.7854 lineto + 0.0 0.7854 lineto + %end radial + 0.0 0.7854 lineto + 0.0 0.9144 lineto + 0.0 1.1781 lineto + %middle circumferential + 0.0 1.1781 lineto + 0.0 1.5708 lineto + %end circumferential + 0.0 1.5708 lineto + -0.1335 1.5708 lineto + %middle radial + -0.1335 1.5708 lineto + -0.2877 1.5708 lineto + %end radial + -0.2877 1.5708 lineto + -0.2877 1.1781 lineto + %middle circumferential + -0.2877 1.1781 lineto + -0.2877 1.0645 lineto + -0.2877 0.8262 lineto + -0.2877 0.7854 lineto + %end circumferential + closepath +currentgray 0.8957142857142858 setgray fill setgray +% Sector from 0.0 to 0.7854 (quadrant 0) +newpath + -0.2877 0.0 moveto + -0.1335 0.0 lineto + %middle radial + -0.1335 0.0 lineto + 0.0 0.0 lineto + %end radial + 0.0 0.0 lineto + 0.0 0.3277 lineto + 0.0 0.3927 lineto + %middle circumferential + 0.0 0.3927 lineto + 0.0 0.5093 lineto + 0.0 0.7854 lineto + %end circumferential + 0.0 0.7854 lineto + -0.1335 0.7854 lineto + %middle radial + -0.1335 0.7854 lineto + -0.2877 0.7854 lineto + %end radial + -0.2877 0.7854 lineto + -0.2877 0.7202 lineto + -0.2877 0.3927 lineto + %middle circumferential + -0.2877 0.3927 lineto + -0.2877 0.3277 lineto + -0.2877 0.0012 lineto + -0.2877 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 1.5708 2.0 16 0.97 0.45 +% Sector from 5.8905 to 6.2832 (quadrant 3) +newpath + 0.4516 -0.3927 moveto + 0.5796 -0.3927 lineto + %middle radial + 0.5796 -0.3927 lineto + 0.6931 -0.3927 lineto + %end radial + 0.6931 -0.3927 lineto + 0.6931 -0.1963 lineto + %middle circumferential + 0.6931 -0.1963 lineto + 0.6931 0.0 lineto + %end circumferential + 0.6931 0.0 lineto + 0.5796 0.0 lineto + %middle radial + 0.5796 0.0 lineto + 0.4516 0.0 lineto + %end radial + 0.4516 0.0 lineto + 0.4516 -0.0497 lineto + 0.4516 -0.1963 lineto + %middle circumferential + 0.4516 -0.1963 lineto + 0.4516 -0.2953 lineto + 0.4516 -0.3927 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.4978 to 5.8905 (quadrant 3) +newpath + 0.4516 -0.7854 moveto + 0.5796 -0.7854 lineto + %middle radial + 0.5796 -0.7854 lineto + 0.6931 -0.7854 lineto + %end radial + 0.6931 -0.7854 lineto + 0.6931 -0.589 lineto + %middle circumferential + 0.6931 -0.589 lineto + 0.6931 -0.3927 lineto + %end circumferential + 0.6931 -0.3927 lineto + 0.5796 -0.3927 lineto + %middle radial + 0.5796 -0.3927 lineto + 0.4516 -0.3927 lineto + %end radial + 0.4516 -0.3927 lineto + 0.4516 -0.4424 lineto + 0.4516 -0.589 lineto + %middle circumferential + 0.4516 -0.589 lineto + 0.4516 -0.7854 lineto + %end circumferential + closepath +currentgray 0.48466666666666664 setgray fill setgray +% Sector from 5.1051 to 5.4978 (quadrant 3) +newpath + 0.4516 -1.1781 moveto + 0.5796 -1.1781 lineto + %middle radial + 0.5796 -1.1781 lineto + 0.6931 -1.1781 lineto + %end radial + 0.6931 -1.1781 lineto + 0.6931 -0.9817 lineto + %middle circumferential + 0.6931 -0.9817 lineto + 0.6931 -0.7854 lineto + %end circumferential + 0.6931 -0.7854 lineto + 0.5796 -0.7854 lineto + %middle radial + 0.5796 -0.7854 lineto + 0.4516 -0.7854 lineto + %end radial + 0.4516 -0.7854 lineto + 0.4516 -0.8845 lineto + 0.4516 -0.9817 lineto + %middle circumferential + 0.4516 -0.9817 lineto + 0.4516 -1.1781 lineto + %end circumferential + closepath +currentgray 0.5193333333333334 setgray fill setgray +% Sector from 4.7124 to 5.1051 (quadrant 3) +newpath + 0.4516 -1.5708 moveto + 0.5796 -1.5708 lineto + %middle radial + 0.5796 -1.5708 lineto + 0.6931 -1.5708 lineto + %end radial + 0.6931 -1.5708 lineto + 0.6931 -1.5225 lineto + 0.6931 -1.3744 lineto + %middle circumferential + 0.6931 -1.3744 lineto + 0.6931 -1.1781 lineto + %end circumferential + 0.6931 -1.1781 lineto + 0.5796 -1.1781 lineto + %middle radial + 0.5796 -1.1781 lineto + 0.4516 -1.1781 lineto + %end radial + 0.4516 -1.1781 lineto + 0.4516 -1.3744 lineto + %middle circumferential + 0.4516 -1.3744 lineto + 0.4516 -1.5225 lineto + 0.4516 -1.5708 lineto + %end circumferential + closepath +currentgray 0.554 setgray fill setgray +% Sector from 4.3197 to 4.7124 (quadrant 2) +newpath + 0.4516 -1.9635 moveto + 0.5796 -1.9635 lineto + %middle radial + 0.5796 -1.9635 lineto + 0.6931 -1.9635 lineto + %end radial + 0.6931 -1.9635 lineto + 0.6931 -1.8664 lineto + 0.6931 -1.7671 lineto + %middle circumferential + 0.6931 -1.7671 lineto + 0.6931 -1.5708 lineto + %end circumferential + 0.6931 -1.5708 lineto + 0.5796 -1.5708 lineto + %middle radial + 0.5796 -1.5708 lineto + 0.4516 -1.5708 lineto + %end radial + 0.4516 -1.5708 lineto + 0.4516 -1.67 lineto + 0.4516 -1.7671 lineto + %middle circumferential + 0.4516 -1.7671 lineto + 0.4516 -1.9152 lineto + 0.4516 -1.9635 lineto + %end circumferential + closepath +currentgray 0.5886666666666667 setgray fill setgray +% Sector from 3.927 to 4.3197 (quadrant 2) +newpath + 0.4516 -2.3562 moveto + 0.5796 -2.3562 lineto + %middle radial + 0.5796 -2.3562 lineto + 0.6931 -2.3562 lineto + %end radial + 0.6931 -2.3562 lineto + 0.6931 -2.2592 lineto + 0.6931 -2.1598 lineto + %middle circumferential + 0.6931 -2.1598 lineto + 0.6931 -1.9635 lineto + %end circumferential + 0.6931 -1.9635 lineto + 0.5796 -1.9635 lineto + %middle radial + 0.5796 -1.9635 lineto + 0.4516 -1.9635 lineto + %end radial + 0.4516 -1.9635 lineto + 0.4516 -2.1598 lineto + %middle circumferential + 0.4516 -2.1598 lineto + 0.4516 -2.3562 lineto + %end circumferential + closepath +currentgray 0.6233333333333333 setgray fill setgray +% Sector from 3.5343 to 3.927 (quadrant 2) +newpath + 0.4516 -2.7489 moveto + 0.5796 -2.7489 lineto + %middle radial + 0.5796 -2.7489 lineto + 0.6931 -2.7489 lineto + %end radial + 0.6931 -2.7489 lineto + 0.6931 -2.5525 lineto + %middle circumferential + 0.6931 -2.5525 lineto + 0.6931 -2.3562 lineto + %end circumferential + 0.6931 -2.3562 lineto + 0.5796 -2.3562 lineto + %middle radial + 0.5796 -2.3562 lineto + 0.4516 -2.3562 lineto + %end radial + 0.4516 -2.3562 lineto + 0.4516 -2.5525 lineto + %middle circumferential + 0.4516 -2.5525 lineto + 0.4516 -2.652 lineto + 0.4516 -2.7489 lineto + %end circumferential + closepath +currentgray 0.658 setgray fill setgray +% Sector from 3.1416 to 3.5343 (quadrant 2) +newpath + 0.4516 -3.1416 moveto + 0.5796 -3.1416 lineto + %middle radial + 0.5796 -3.1416 lineto + 0.6931 -3.1416 lineto + %end radial + 0.6931 -3.1416 lineto + 0.6931 -3.0936 lineto + 0.6931 -2.9452 lineto + %middle circumferential + 0.6931 -2.9452 lineto + 0.6931 -2.7489 lineto + %end circumferential + 0.6931 -2.7489 lineto + 0.5796 -2.7489 lineto + %middle radial + 0.5796 -2.7489 lineto + 0.4516 -2.7489 lineto + %end radial + 0.4516 -2.7489 lineto + 0.4516 -2.799 lineto + 0.4516 -2.9452 lineto + %middle circumferential + 0.4516 -2.9452 lineto + 0.4516 -3.0936 lineto + 0.4516 -3.1416 lineto + %end circumferential + closepath +currentgray 0.6926666666666667 setgray fill setgray +% Sector from 2.7489 to 3.1416 (quadrant 1) +newpath + 0.4516 2.7489 moveto + 0.5796 2.7489 lineto + %middle radial + 0.5796 2.7489 lineto + 0.6931 2.7489 lineto + %end radial + 0.6931 2.7489 lineto + 0.6931 2.9452 lineto + %middle circumferential + 0.6931 2.9452 lineto + 0.6931 3.1416 lineto + %end circumferential + 0.6931 3.1416 lineto + 0.5796 3.1416 lineto + %middle radial + 0.5796 3.1416 lineto + 0.4516 3.1416 lineto + %end radial + 0.4516 3.1416 lineto + 0.4516 2.9452 lineto + %middle circumferential + 0.4516 2.9452 lineto + 0.4516 2.7489 lineto + %end circumferential + closepath +currentgray 0.7273333333333334 setgray fill setgray +% Sector from 2.3562 to 2.7489 (quadrant 1) +newpath + 0.4516 2.3562 moveto + 0.5796 2.3562 lineto + %middle radial + 0.5796 2.3562 lineto + 0.6931 2.3562 lineto + %end radial + 0.6931 2.3562 lineto + 0.6931 2.4038 lineto + 0.6931 2.5525 lineto + %middle circumferential + 0.6931 2.5525 lineto + 0.6931 2.6984 lineto + 0.6931 2.7489 lineto + %end circumferential + 0.6931 2.7489 lineto + 0.5796 2.7489 lineto + %middle radial + 0.5796 2.7489 lineto + 0.4516 2.7489 lineto + %end radial + 0.4516 2.7489 lineto + 0.4516 2.5525 lineto + %middle circumferential + 0.4516 2.5525 lineto + 0.4516 2.4038 lineto + 0.4516 2.3562 lineto + %end circumferential + closepath +currentgray 0.762 setgray fill setgray +% Sector from 1.9635 to 2.3562 (quadrant 1) +newpath + 0.4516 1.9635 moveto + 0.5796 1.9635 lineto + %middle radial + 0.5796 1.9635 lineto + 0.6931 1.9635 lineto + %end radial + 0.6931 1.9635 lineto + 0.6931 2.1598 lineto + %middle circumferential + 0.6931 2.1598 lineto + 0.6931 2.3562 lineto + %end circumferential + 0.6931 2.3562 lineto + 0.5796 2.3562 lineto + %middle radial + 0.5796 2.3562 lineto + 0.4516 2.3562 lineto + %end radial + 0.4516 2.3562 lineto + 0.4516 2.2559 lineto + 0.4516 2.1598 lineto + %middle circumferential + 0.4516 2.1598 lineto + 0.4516 2.0108 lineto + 0.4516 1.9635 lineto + %end circumferential + closepath +currentgray 0.7966666666666666 setgray fill setgray +% Sector from 1.5708 to 1.9635 (quadrant 1) +newpath + 0.4516 1.5708 moveto + 0.5796 1.5708 lineto + %middle radial + 0.5796 1.5708 lineto + 0.6931 1.5708 lineto + %end radial + 0.6931 1.5708 lineto + 0.6931 1.6661 lineto + 0.6931 1.7671 lineto + %middle circumferential + 0.6931 1.7671 lineto + 0.6931 1.9635 lineto + %end circumferential + 0.6931 1.9635 lineto + 0.5796 1.9635 lineto + %middle radial + 0.5796 1.9635 lineto + 0.4516 1.9635 lineto + %end radial + 0.4516 1.9635 lineto + 0.4516 1.7671 lineto + %middle circumferential + 0.4516 1.7671 lineto + 0.4516 1.5708 lineto + %end circumferential + closepath +currentgray 0.8313333333333334 setgray fill setgray +% Sector from 1.1781 to 1.5708 (quadrant 0) +newpath + 0.4516 1.1781 moveto + 0.5796 1.1781 lineto + %middle radial + 0.5796 1.1781 lineto + 0.6931 1.1781 lineto + %end radial + 0.6931 1.1781 lineto + 0.6931 1.2244 lineto + 0.6931 1.3744 lineto + %middle circumferential + 0.6931 1.3744 lineto + 0.6931 1.4693 lineto + 0.6931 1.5708 lineto + %end circumferential + 0.6931 1.5708 lineto + 0.5796 1.5708 lineto + %middle radial + 0.5796 1.5708 lineto + 0.4516 1.5708 lineto + %end radial + 0.4516 1.5708 lineto + 0.4516 1.4693 lineto + 0.4516 1.3744 lineto + %middle circumferential + 0.4516 1.3744 lineto + 0.4516 1.1781 lineto + %end circumferential + closepath +currentgray 0.866 setgray fill setgray +% Sector from 0.7854 to 1.1781 (quadrant 0) +newpath + 0.4516 0.7854 moveto + 0.5796 0.7854 lineto + %middle radial + 0.5796 0.7854 lineto + 0.6931 0.7854 lineto + %end radial + 0.6931 0.7854 lineto + 0.6931 0.8305 lineto + 0.6931 0.9817 lineto + %middle circumferential + 0.6931 0.9817 lineto + 0.6931 1.0755 lineto + 0.6931 1.1781 lineto + %end circumferential + 0.6931 1.1781 lineto + 0.5796 1.1781 lineto + %middle radial + 0.5796 1.1781 lineto + 0.4516 1.1781 lineto + %end radial + 0.4516 1.1781 lineto + 0.4516 0.9817 lineto + %middle circumferential + 0.4516 0.9817 lineto + 0.4516 0.8305 lineto + 0.4516 0.7854 lineto + %end circumferential + closepath +currentgray 0.9006666666666666 setgray fill setgray +% Sector from 0.3927 to 0.7854 (quadrant 0) +newpath + 0.4516 0.3927 moveto + 0.5796 0.3927 lineto + %middle radial + 0.5796 0.3927 lineto + 0.6931 0.3927 lineto + %end radial + 0.6931 0.3927 lineto + 0.6931 0.481 lineto + 0.6931 0.589 lineto + %middle circumferential + 0.6931 0.589 lineto + 0.6931 0.7854 lineto + %end circumferential + 0.6931 0.7854 lineto + 0.5796 0.7854 lineto + %middle radial + 0.5796 0.7854 lineto + 0.4516 0.7854 lineto + %end radial + 0.4516 0.7854 lineto + 0.4516 0.589 lineto + %middle circumferential + 0.4516 0.589 lineto + 0.4516 0.481 lineto + 0.4516 0.3927 lineto + %end circumferential + closepath +currentgray 0.9353333333333332 setgray fill setgray +% Sector from 0.0 to 0.3927 (quadrant 0) +newpath + 0.4516 0.0 moveto + 0.5796 0.0 lineto + %middle radial + 0.5796 0.0 lineto + 0.6931 0.0 lineto + %end radial + 0.6931 0.0 lineto + 0.6931 0.0955 lineto + 0.6931 0.1963 lineto + %middle circumferential + 0.6931 0.1963 lineto + 0.6931 0.3927 lineto + %end circumferential + 0.6931 0.3927 lineto + 0.5796 0.3927 lineto + %middle radial + 0.5796 0.3927 lineto + 0.4516 0.3927 lineto + %end radial + 0.4516 0.3927 lineto + 0.4516 0.3601 lineto + 0.4516 0.1963 lineto + %middle circumferential + 0.4516 0.1963 lineto + 0.4516 0.011 lineto + 0.4516 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 3.0 3.1416 32 0.97 0.45 +% Sector from 6.0868 to 6.2832 (quadrant 3) +newpath + 1.0986 -0.1963 moveto + 1.1219 -0.1963 lineto + %middle radial + 1.1219 -0.1963 lineto + 1.1447 -0.1963 lineto + %end radial + 1.1447 -0.1963 lineto + 1.1447 -0.0982 lineto + %middle circumferential + 1.1447 -0.0982 lineto + 1.1447 0.0 lineto + %end circumferential + 1.1447 0.0 lineto + 1.1219 0.0 lineto + %middle radial + 1.1219 0.0 lineto + 1.0986 0.0 lineto + %end radial + 1.0986 0.0 lineto + 1.0986 -0.0982 lineto + %middle circumferential + 1.0986 -0.0982 lineto + 1.0986 -0.1963 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.8905 to 6.0868 (quadrant 3) +newpath + 1.0986 -0.3927 moveto + 1.1219 -0.3927 lineto + %middle radial + 1.1219 -0.3927 lineto + 1.1447 -0.3927 lineto + %end radial + 1.1447 -0.3927 lineto + 1.1447 -0.2945 lineto + %middle circumferential + 1.1447 -0.2945 lineto + 1.1447 -0.1963 lineto + %end circumferential + 1.1447 -0.1963 lineto + 1.1219 -0.1963 lineto + %middle radial + 1.1219 -0.1963 lineto + 1.0986 -0.1963 lineto + %end radial + 1.0986 -0.1963 lineto + 1.0986 -0.2945 lineto + %middle circumferential + 1.0986 -0.2945 lineto + 1.0986 -0.3927 lineto + %end circumferential + closepath +currentgray 0.4667741935483871 setgray fill setgray +% Sector from 5.6941 to 5.8905 (quadrant 3) +newpath + 1.0986 -0.589 moveto + 1.1219 -0.589 lineto + %middle radial + 1.1219 -0.589 lineto + 1.1447 -0.589 lineto + %end radial + 1.1447 -0.589 lineto + 1.1447 -0.4909 lineto + %middle circumferential + 1.1447 -0.4909 lineto + 1.1447 -0.3927 lineto + %end circumferential + 1.1447 -0.3927 lineto + 1.1219 -0.3927 lineto + %middle radial + 1.1219 -0.3927 lineto + 1.0986 -0.3927 lineto + %end radial + 1.0986 -0.3927 lineto + 1.0986 -0.4909 lineto + %middle circumferential + 1.0986 -0.4909 lineto + 1.0986 -0.589 lineto + %end circumferential + closepath +currentgray 0.4835483870967742 setgray fill setgray +% Sector from 5.4978 to 5.6941 (quadrant 3) +newpath + 1.0986 -0.7854 moveto + 1.1219 -0.7854 lineto + %middle radial + 1.1219 -0.7854 lineto + 1.1447 -0.7854 lineto + %end radial + 1.1447 -0.7854 lineto + 1.1447 -0.6872 lineto + %middle circumferential + 1.1447 -0.6872 lineto + 1.1447 -0.589 lineto + %end circumferential + 1.1447 -0.589 lineto + 1.1219 -0.589 lineto + %middle radial + 1.1219 -0.589 lineto + 1.0986 -0.589 lineto + %end radial + 1.0986 -0.589 lineto + 1.0986 -0.6872 lineto + %middle circumferential + 1.0986 -0.6872 lineto + 1.0986 -0.7854 lineto + %end circumferential + closepath +currentgray 0.5003225806451613 setgray fill setgray +% Sector from 5.3014 to 5.4978 (quadrant 3) +newpath + 1.0986 -0.9817 moveto + 1.1219 -0.9817 lineto + %middle radial + 1.1219 -0.9817 lineto + 1.1447 -0.9817 lineto + %end radial + 1.1447 -0.9817 lineto + 1.1447 -0.8836 lineto + %middle circumferential + 1.1447 -0.8836 lineto + 1.1447 -0.7854 lineto + %end circumferential + 1.1447 -0.7854 lineto + 1.1219 -0.7854 lineto + %middle radial + 1.1219 -0.7854 lineto + 1.0986 -0.7854 lineto + %end radial + 1.0986 -0.7854 lineto + 1.0986 -0.8836 lineto + %middle circumferential + 1.0986 -0.8836 lineto + 1.0986 -0.9817 lineto + %end circumferential + closepath +currentgray 0.5170967741935484 setgray fill setgray +% Sector from 5.1051 to 5.3014 (quadrant 3) +newpath + 1.0986 -1.1781 moveto + 1.1219 -1.1781 lineto + %middle radial + 1.1219 -1.1781 lineto + 1.1447 -1.1781 lineto + %end radial + 1.1447 -1.1781 lineto + 1.1447 -1.0799 lineto + %middle circumferential + 1.1447 -1.0799 lineto + 1.1447 -0.9817 lineto + %end circumferential + 1.1447 -0.9817 lineto + 1.1219 -0.9817 lineto + %middle radial + 1.1219 -0.9817 lineto + 1.0986 -0.9817 lineto + %end radial + 1.0986 -0.9817 lineto + 1.0986 -1.0799 lineto + %middle circumferential + 1.0986 -1.0799 lineto + 1.0986 -1.1781 lineto + %end circumferential + closepath +currentgray 0.5338709677419355 setgray fill setgray +% Sector from 4.9087 to 5.1051 (quadrant 3) +newpath + 1.0986 -1.3744 moveto + 1.1219 -1.3744 lineto + %middle radial + 1.1219 -1.3744 lineto + 1.1447 -1.3744 lineto + %end radial + 1.1447 -1.3744 lineto + 1.1447 -1.2763 lineto + %middle circumferential + 1.1447 -1.2763 lineto + 1.1447 -1.1781 lineto + %end circumferential + 1.1447 -1.1781 lineto + 1.1219 -1.1781 lineto + %middle radial + 1.1219 -1.1781 lineto + 1.0986 -1.1781 lineto + %end radial + 1.0986 -1.1781 lineto + 1.0986 -1.2763 lineto + %middle circumferential + 1.0986 -1.2763 lineto + 1.0986 -1.3744 lineto + %end circumferential + closepath +currentgray 0.5506451612903226 setgray fill setgray +% Sector from 4.7124 to 4.9087 (quadrant 3) +newpath + 1.0986 -1.5708 moveto + 1.1219 -1.5708 lineto + %middle radial + 1.1219 -1.5708 lineto + 1.1447 -1.5708 lineto + %end radial + 1.1447 -1.5708 lineto + 1.1447 -1.4726 lineto + %middle circumferential + 1.1447 -1.4726 lineto + 1.1447 -1.3744 lineto + %end circumferential + 1.1447 -1.3744 lineto + 1.1219 -1.3744 lineto + %middle radial + 1.1219 -1.3744 lineto + 1.0986 -1.3744 lineto + %end radial + 1.0986 -1.3744 lineto + 1.0986 -1.4726 lineto + %middle circumferential + 1.0986 -1.4726 lineto + 1.0986 -1.5708 lineto + %end circumferential + closepath +currentgray 0.5674193548387096 setgray fill setgray +% Sector from 4.516 to 4.7124 (quadrant 2) +newpath + 1.0986 -1.7671 moveto + 1.1219 -1.7671 lineto + %middle radial + 1.1219 -1.7671 lineto + 1.1447 -1.7671 lineto + %end radial + 1.1447 -1.7671 lineto + 1.1447 -1.669 lineto + %middle circumferential + 1.1447 -1.669 lineto + 1.1447 -1.5708 lineto + %end circumferential + 1.1447 -1.5708 lineto + 1.1219 -1.5708 lineto + %middle radial + 1.1219 -1.5708 lineto + 1.0986 -1.5708 lineto + %end radial + 1.0986 -1.5708 lineto + 1.0986 -1.669 lineto + %middle circumferential + 1.0986 -1.669 lineto + 1.0986 -1.7671 lineto + %end circumferential + closepath +currentgray 0.5841935483870968 setgray fill setgray +% Sector from 4.3197 to 4.516 (quadrant 2) +newpath + 1.0986 -1.9635 moveto + 1.1219 -1.9635 lineto + %middle radial + 1.1219 -1.9635 lineto + 1.1447 -1.9635 lineto + %end radial + 1.1447 -1.9635 lineto + 1.1447 -1.8653 lineto + %middle circumferential + 1.1447 -1.8653 lineto + 1.1447 -1.7671 lineto + %end circumferential + 1.1447 -1.7671 lineto + 1.1219 -1.7671 lineto + %middle radial + 1.1219 -1.7671 lineto + 1.0986 -1.7671 lineto + %end radial + 1.0986 -1.7671 lineto + 1.0986 -1.8653 lineto + %middle circumferential + 1.0986 -1.8653 lineto + 1.0986 -1.9635 lineto + %end circumferential + closepath +currentgray 0.600967741935484 setgray fill setgray +% Sector from 4.1233 to 4.3197 (quadrant 2) +newpath + 1.0986 -2.1598 moveto + 1.1219 -2.1598 lineto + %middle radial + 1.1219 -2.1598 lineto + 1.1447 -2.1598 lineto + %end radial + 1.1447 -2.1598 lineto + 1.1447 -2.0617 lineto + %middle circumferential + 1.1447 -2.0617 lineto + 1.1447 -1.9635 lineto + %end circumferential + 1.1447 -1.9635 lineto + 1.1219 -1.9635 lineto + %middle radial + 1.1219 -1.9635 lineto + 1.0986 -1.9635 lineto + %end radial + 1.0986 -1.9635 lineto + 1.0986 -2.0617 lineto + %middle circumferential + 1.0986 -2.0617 lineto + 1.0986 -2.1598 lineto + %end circumferential + closepath +currentgray 0.6177419354838709 setgray fill setgray +% Sector from 3.927 to 4.1233 (quadrant 2) +newpath + 1.0986 -2.3562 moveto + 1.1219 -2.3562 lineto + %middle radial + 1.1219 -2.3562 lineto + 1.1447 -2.3562 lineto + %end radial + 1.1447 -2.3562 lineto + 1.1447 -2.258 lineto + %middle circumferential + 1.1447 -2.258 lineto + 1.1447 -2.1598 lineto + %end circumferential + 1.1447 -2.1598 lineto + 1.1219 -2.1598 lineto + %middle radial + 1.1219 -2.1598 lineto + 1.0986 -2.1598 lineto + %end radial + 1.0986 -2.1598 lineto + 1.0986 -2.258 lineto + %middle circumferential + 1.0986 -2.258 lineto + 1.0986 -2.3562 lineto + %end circumferential + closepath +currentgray 0.6345161290322581 setgray fill setgray +% Sector from 3.7306 to 3.927 (quadrant 2) +newpath + 1.0986 -2.5525 moveto + 1.1219 -2.5525 lineto + %middle radial + 1.1219 -2.5525 lineto + 1.1447 -2.5525 lineto + %end radial + 1.1447 -2.5525 lineto + 1.1447 -2.4544 lineto + %middle circumferential + 1.1447 -2.4544 lineto + 1.1447 -2.3562 lineto + %end circumferential + 1.1447 -2.3562 lineto + 1.1219 -2.3562 lineto + %middle radial + 1.1219 -2.3562 lineto + 1.0986 -2.3562 lineto + %end radial + 1.0986 -2.3562 lineto + 1.0986 -2.4544 lineto + %middle circumferential + 1.0986 -2.4544 lineto + 1.0986 -2.5525 lineto + %end circumferential + closepath +currentgray 0.6512903225806452 setgray fill setgray +% Sector from 3.5343 to 3.7306 (quadrant 2) +newpath + 1.0986 -2.7489 moveto + 1.1219 -2.7489 lineto + %middle radial + 1.1219 -2.7489 lineto + 1.1447 -2.7489 lineto + %end radial + 1.1447 -2.7489 lineto + 1.1447 -2.6507 lineto + %middle circumferential + 1.1447 -2.6507 lineto + 1.1447 -2.5525 lineto + %end circumferential + 1.1447 -2.5525 lineto + 1.1219 -2.5525 lineto + %middle radial + 1.1219 -2.5525 lineto + 1.0986 -2.5525 lineto + %end radial + 1.0986 -2.5525 lineto + 1.0986 -2.6507 lineto + %middle circumferential + 1.0986 -2.6507 lineto + 1.0986 -2.7489 lineto + %end circumferential + closepath +currentgray 0.6680645161290323 setgray fill setgray +% Sector from 3.3379 to 3.5343 (quadrant 2) +newpath + 1.0986 -2.9452 moveto + 1.1219 -2.9452 lineto + %middle radial + 1.1219 -2.9452 lineto + 1.1447 -2.9452 lineto + %end radial + 1.1447 -2.9452 lineto + 1.1447 -2.8471 lineto + %middle circumferential + 1.1447 -2.8471 lineto + 1.1447 -2.7489 lineto + %end circumferential + 1.1447 -2.7489 lineto + 1.1219 -2.7489 lineto + %middle radial + 1.1219 -2.7489 lineto + 1.0986 -2.7489 lineto + %end radial + 1.0986 -2.7489 lineto + 1.0986 -2.8471 lineto + %middle circumferential + 1.0986 -2.8471 lineto + 1.0986 -2.9452 lineto + %end circumferential + closepath +currentgray 0.6848387096774193 setgray fill setgray +% Sector from 3.1416 to 3.3379 (quadrant 2) +newpath + 1.0986 -3.1416 moveto + 1.1219 -3.1416 lineto + %middle radial + 1.1219 -3.1416 lineto + 1.1447 -3.1416 lineto + %end radial + 1.1447 -3.1416 lineto + 1.1447 -3.0434 lineto + %middle circumferential + 1.1447 -3.0434 lineto + 1.1447 -2.9452 lineto + %end circumferential + 1.1447 -2.9452 lineto + 1.1219 -2.9452 lineto + %middle radial + 1.1219 -2.9452 lineto + 1.0986 -2.9452 lineto + %end radial + 1.0986 -2.9452 lineto + 1.0986 -3.0434 lineto + %middle circumferential + 1.0986 -3.0434 lineto + 1.0986 -3.1416 lineto + %end circumferential + closepath +currentgray 0.7016129032258065 setgray fill setgray +% Sector from 2.9452 to 3.1416 (quadrant 1) +newpath + 1.0986 2.9452 moveto + 1.1219 2.9452 lineto + %middle radial + 1.1219 2.9452 lineto + 1.1447 2.9452 lineto + %end radial + 1.1447 2.9452 lineto + 1.1447 3.0434 lineto + %middle circumferential + 1.1447 3.0434 lineto + 1.1447 3.1416 lineto + %end circumferential + 1.1447 3.1416 lineto + 1.1219 3.1416 lineto + %middle radial + 1.1219 3.1416 lineto + 1.0986 3.1416 lineto + %end radial + 1.0986 3.1416 lineto + 1.0986 3.0434 lineto + %middle circumferential + 1.0986 3.0434 lineto + 1.0986 2.9452 lineto + %end circumferential + closepath +currentgray 0.7183870967741936 setgray fill setgray +% Sector from 2.7489 to 2.9452 (quadrant 1) +newpath + 1.0986 2.7489 moveto + 1.1219 2.7489 lineto + %middle radial + 1.1219 2.7489 lineto + 1.1447 2.7489 lineto + %end radial + 1.1447 2.7489 lineto + 1.1447 2.8471 lineto + %middle circumferential + 1.1447 2.8471 lineto + 1.1447 2.9452 lineto + %end circumferential + 1.1447 2.9452 lineto + 1.1219 2.9452 lineto + %middle radial + 1.1219 2.9452 lineto + 1.0986 2.9452 lineto + %end radial + 1.0986 2.9452 lineto + 1.0986 2.8471 lineto + %middle circumferential + 1.0986 2.8471 lineto + 1.0986 2.7489 lineto + %end circumferential + closepath +currentgray 0.7351612903225806 setgray fill setgray +% Sector from 2.5525 to 2.7489 (quadrant 1) +newpath + 1.0986 2.5525 moveto + 1.1219 2.5525 lineto + %middle radial + 1.1219 2.5525 lineto + 1.1447 2.5525 lineto + %end radial + 1.1447 2.5525 lineto + 1.1447 2.6507 lineto + %middle circumferential + 1.1447 2.6507 lineto + 1.1447 2.7489 lineto + %end circumferential + 1.1447 2.7489 lineto + 1.1219 2.7489 lineto + %middle radial + 1.1219 2.7489 lineto + 1.0986 2.7489 lineto + %end radial + 1.0986 2.7489 lineto + 1.0986 2.6507 lineto + %middle circumferential + 1.0986 2.6507 lineto + 1.0986 2.5525 lineto + %end circumferential + closepath +currentgray 0.7519354838709679 setgray fill setgray +% Sector from 2.3562 to 2.5525 (quadrant 1) +newpath + 1.0986 2.3562 moveto + 1.1219 2.3562 lineto + %middle radial + 1.1219 2.3562 lineto + 1.1447 2.3562 lineto + %end radial + 1.1447 2.3562 lineto + 1.1447 2.4544 lineto + %middle circumferential + 1.1447 2.4544 lineto + 1.1447 2.5525 lineto + %end circumferential + 1.1447 2.5525 lineto + 1.1219 2.5525 lineto + %middle radial + 1.1219 2.5525 lineto + 1.0986 2.5525 lineto + %end radial + 1.0986 2.5525 lineto + 1.0986 2.4544 lineto + %middle circumferential + 1.0986 2.4544 lineto + 1.0986 2.3562 lineto + %end circumferential + closepath +currentgray 0.7687096774193548 setgray fill setgray +% Sector from 2.1598 to 2.3562 (quadrant 1) +newpath + 1.0986 2.1598 moveto + 1.1219 2.1598 lineto + %middle radial + 1.1219 2.1598 lineto + 1.1447 2.1598 lineto + %end radial + 1.1447 2.1598 lineto + 1.1447 2.258 lineto + %middle circumferential + 1.1447 2.258 lineto + 1.1447 2.3562 lineto + %end circumferential + 1.1447 2.3562 lineto + 1.1219 2.3562 lineto + %middle radial + 1.1219 2.3562 lineto + 1.0986 2.3562 lineto + %end radial + 1.0986 2.3562 lineto + 1.0986 2.258 lineto + %middle circumferential + 1.0986 2.258 lineto + 1.0986 2.1598 lineto + %end circumferential + closepath +currentgray 0.7854838709677419 setgray fill setgray +% Sector from 1.9635 to 2.1598 (quadrant 1) +newpath + 1.0986 1.9635 moveto + 1.1219 1.9635 lineto + %middle radial + 1.1219 1.9635 lineto + 1.1447 1.9635 lineto + %end radial + 1.1447 1.9635 lineto + 1.1447 2.0617 lineto + %middle circumferential + 1.1447 2.0617 lineto + 1.1447 2.1598 lineto + %end circumferential + 1.1447 2.1598 lineto + 1.1219 2.1598 lineto + %middle radial + 1.1219 2.1598 lineto + 1.0986 2.1598 lineto + %end radial + 1.0986 2.1598 lineto + 1.0986 2.0617 lineto + %middle circumferential + 1.0986 2.0617 lineto + 1.0986 1.9635 lineto + %end circumferential + closepath +currentgray 0.802258064516129 setgray fill setgray +% Sector from 1.7671 to 1.9635 (quadrant 1) +newpath + 1.0986 1.7671 moveto + 1.1219 1.7671 lineto + %middle radial + 1.1219 1.7671 lineto + 1.1447 1.7671 lineto + %end radial + 1.1447 1.7671 lineto + 1.1447 1.8653 lineto + %middle circumferential + 1.1447 1.8653 lineto + 1.1447 1.9635 lineto + %end circumferential + 1.1447 1.9635 lineto + 1.1219 1.9635 lineto + %middle radial + 1.1219 1.9635 lineto + 1.0986 1.9635 lineto + %end radial + 1.0986 1.9635 lineto + 1.0986 1.8653 lineto + %middle circumferential + 1.0986 1.8653 lineto + 1.0986 1.7671 lineto + %end circumferential + closepath +currentgray 0.8190322580645162 setgray fill setgray +% Sector from 1.5708 to 1.7671 (quadrant 1) +newpath + 1.0986 1.5708 moveto + 1.1219 1.5708 lineto + %middle radial + 1.1219 1.5708 lineto + 1.1447 1.5708 lineto + %end radial + 1.1447 1.5708 lineto + 1.1447 1.669 lineto + %middle circumferential + 1.1447 1.669 lineto + 1.1447 1.7671 lineto + %end circumferential + 1.1447 1.7671 lineto + 1.1219 1.7671 lineto + %middle radial + 1.1219 1.7671 lineto + 1.0986 1.7671 lineto + %end radial + 1.0986 1.7671 lineto + 1.0986 1.669 lineto + %middle circumferential + 1.0986 1.669 lineto + 1.0986 1.5708 lineto + %end circumferential + closepath +currentgray 0.8358064516129032 setgray fill setgray +% Sector from 1.3744 to 1.5708 (quadrant 0) +newpath + 1.0986 1.3744 moveto + 1.1219 1.3744 lineto + %middle radial + 1.1219 1.3744 lineto + 1.1447 1.3744 lineto + %end radial + 1.1447 1.3744 lineto + 1.1447 1.4726 lineto + %middle circumferential + 1.1447 1.4726 lineto + 1.1447 1.5708 lineto + %end circumferential + 1.1447 1.5708 lineto + 1.1219 1.5708 lineto + %middle radial + 1.1219 1.5708 lineto + 1.0986 1.5708 lineto + %end radial + 1.0986 1.5708 lineto + 1.0986 1.4726 lineto + %middle circumferential + 1.0986 1.4726 lineto + 1.0986 1.3744 lineto + %end circumferential + closepath +currentgray 0.8525806451612903 setgray fill setgray +% Sector from 1.1781 to 1.3744 (quadrant 0) +newpath + 1.0986 1.1781 moveto + 1.1219 1.1781 lineto + %middle radial + 1.1219 1.1781 lineto + 1.1447 1.1781 lineto + %end radial + 1.1447 1.1781 lineto + 1.1447 1.2763 lineto + %middle circumferential + 1.1447 1.2763 lineto + 1.1447 1.3744 lineto + %end circumferential + 1.1447 1.3744 lineto + 1.1219 1.3744 lineto + %middle radial + 1.1219 1.3744 lineto + 1.0986 1.3744 lineto + %end radial + 1.0986 1.3744 lineto + 1.0986 1.2763 lineto + %middle circumferential + 1.0986 1.2763 lineto + 1.0986 1.1781 lineto + %end circumferential + closepath +currentgray 0.8693548387096775 setgray fill setgray +% Sector from 0.9817 to 1.1781 (quadrant 0) +newpath + 1.0986 0.9817 moveto + 1.1219 0.9817 lineto + %middle radial + 1.1219 0.9817 lineto + 1.1447 0.9817 lineto + %end radial + 1.1447 0.9817 lineto + 1.1447 1.0799 lineto + %middle circumferential + 1.1447 1.0799 lineto + 1.1447 1.1781 lineto + %end circumferential + 1.1447 1.1781 lineto + 1.1219 1.1781 lineto + %middle radial + 1.1219 1.1781 lineto + 1.0986 1.1781 lineto + %end radial + 1.0986 1.1781 lineto + 1.0986 1.0799 lineto + %middle circumferential + 1.0986 1.0799 lineto + 1.0986 0.9817 lineto + %end circumferential + closepath +currentgray 0.8861290322580645 setgray fill setgray +% Sector from 0.7854 to 0.9817 (quadrant 0) +newpath + 1.0986 0.7854 moveto + 1.1219 0.7854 lineto + %middle radial + 1.1219 0.7854 lineto + 1.1447 0.7854 lineto + %end radial + 1.1447 0.7854 lineto + 1.1447 0.8836 lineto + %middle circumferential + 1.1447 0.8836 lineto + 1.1447 0.9817 lineto + %end circumferential + 1.1447 0.9817 lineto + 1.1219 0.9817 lineto + %middle radial + 1.1219 0.9817 lineto + 1.0986 0.9817 lineto + %end radial + 1.0986 0.9817 lineto + 1.0986 0.8836 lineto + %middle circumferential + 1.0986 0.8836 lineto + 1.0986 0.7854 lineto + %end circumferential + closepath +currentgray 0.9029032258064516 setgray fill setgray +% Sector from 0.589 to 0.7854 (quadrant 0) +newpath + 1.0986 0.589 moveto + 1.1219 0.589 lineto + %middle radial + 1.1219 0.589 lineto + 1.1447 0.589 lineto + %end radial + 1.1447 0.589 lineto + 1.1447 0.6872 lineto + %middle circumferential + 1.1447 0.6872 lineto + 1.1447 0.7854 lineto + %end circumferential + 1.1447 0.7854 lineto + 1.1219 0.7854 lineto + %middle radial + 1.1219 0.7854 lineto + 1.0986 0.7854 lineto + %end radial + 1.0986 0.7854 lineto + 1.0986 0.6872 lineto + %middle circumferential + 1.0986 0.6872 lineto + 1.0986 0.589 lineto + %end circumferential + closepath +currentgray 0.9196774193548387 setgray fill setgray +% Sector from 0.3927 to 0.589 (quadrant 0) +newpath + 1.0986 0.3927 moveto + 1.1219 0.3927 lineto + %middle radial + 1.1219 0.3927 lineto + 1.1447 0.3927 lineto + %end radial + 1.1447 0.3927 lineto + 1.1447 0.4909 lineto + %middle circumferential + 1.1447 0.4909 lineto + 1.1447 0.589 lineto + %end circumferential + 1.1447 0.589 lineto + 1.1219 0.589 lineto + %middle radial + 1.1219 0.589 lineto + 1.0986 0.589 lineto + %end radial + 1.0986 0.589 lineto + 1.0986 0.4909 lineto + %middle circumferential + 1.0986 0.4909 lineto + 1.0986 0.3927 lineto + %end circumferential + closepath +currentgray 0.9364516129032258 setgray fill setgray +% Sector from 0.1963 to 0.3927 (quadrant 0) +newpath + 1.0986 0.1963 moveto + 1.1219 0.1963 lineto + %middle radial + 1.1219 0.1963 lineto + 1.1447 0.1963 lineto + %end radial + 1.1447 0.1963 lineto + 1.1447 0.2945 lineto + %middle circumferential + 1.1447 0.2945 lineto + 1.1447 0.3927 lineto + %end circumferential + 1.1447 0.3927 lineto + 1.1219 0.3927 lineto + %middle radial + 1.1219 0.3927 lineto + 1.0986 0.3927 lineto + %end radial + 1.0986 0.3927 lineto + 1.0986 0.2945 lineto + %middle circumferential + 1.0986 0.2945 lineto + 1.0986 0.1963 lineto + %end circumferential + closepath +currentgray 0.9532258064516128 setgray fill setgray +% Sector from 0.0 to 0.1963 (quadrant 0) +newpath + 1.0986 0.0 moveto + 1.1219 0.0 lineto + %middle radial + 1.1219 0.0 lineto + 1.1447 0.0 lineto + %end radial + 1.1447 0.0 lineto + 1.1447 0.0 lineto + 1.1447 0.0982 lineto + %middle circumferential + 1.1447 0.0982 lineto + 1.1447 0.1963 lineto + %end circumferential + 1.1447 0.1963 lineto + 1.1219 0.1963 lineto + %middle radial + 1.1219 0.1963 lineto + 1.0986 0.1963 lineto + %end radial + 1.0986 0.1963 lineto + 1.0986 0.0982 lineto + %middle circumferential + 1.0986 0.0982 lineto + 1.0986 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Horizontal line from (0.5, 0.0) to (0.0, 0.0) +newpath + -0.6931 0.0 moveto + -6.3516 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.5, 0.0) to (1.0, 0.0) +newpath + -0.6931 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.0, 0.0) +newpath + 0.6931 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.1579208923731617E77, 0.0) +newpath + 0.6931 0.0 moveto + 6.3461 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (0.0, 1.0) +newpath + 0.8047 0.4636 moveto + 0.7331 0.5011 lineto + 0.6645 0.5405 lineto + 0.5991 0.5815 lineto + 0.5372 0.6241 lineto + 0.479 0.668 lineto + 0.4248 0.7127 lineto + 0.3747 0.7581 lineto + 0.3286 0.8037 lineto + 0.2868 0.8491 lineto + 0.249 0.894 lineto + 0.1851 0.9809 lineto + 0.1354 1.062 lineto + 0.0978 1.1357 lineto + 0.0699 1.2013 lineto + 0.0495 1.2587 lineto + 0.0245 1.3504 lineto + 0.012 1.4165 lineto + 0.0014 1.5188 lineto + 0.0 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (1.1579208923731617E77, 1.0) +newpath + 0.8047 0.4636 moveto + 0.8749 0.43 lineto + 0.9472 0.3983 lineto + 1.0215 0.3683 lineto + 1.0974 0.3403 lineto + 1.1748 0.314 lineto + 1.2535 0.2895 lineto + 1.3333 0.2668 lineto + 1.4141 0.2456 lineto + 1.4957 0.226 lineto + 1.578 0.2079 lineto + 1.6609 0.1911 lineto + 1.7443 0.1757 lineto + 1.8282 0.1614 lineto + 1.9124 0.1483 lineto + 1.997 0.1362 lineto + 2.0819 0.125 lineto + 2.1669 0.1148 lineto + 2.2522 0.1054 lineto + 2.3376 0.0967 lineto + 2.4232 0.0888 lineto + 2.5089 0.0815 lineto + 2.5947 0.0747 lineto + 2.6805 0.0686 lineto + 2.7664 0.0629 lineto + 2.8524 0.0577 lineto + 2.9385 0.053 lineto + 3.0246 0.0486 lineto + 3.1107 0.0446 lineto + 3.1968 0.0409 lineto + 3.283 0.0375 lineto + 3.3692 0.0344 lineto + 3.4554 0.0316 lineto + 3.5416 0.029 lineto + 3.6279 0.0266 lineto + 3.7141 0.0244 lineto + 3.8004 0.0224 lineto + 3.8866 0.0205 lineto + 3.9729 0.0188 lineto + 4.0592 0.0173 lineto + 4.1455 0.0158 lineto + 4.2318 0.0145 lineto + 4.318 0.0133 lineto + 4.4043 0.0122 lineto + 4.4906 0.0112 lineto + 4.5769 0.0103 lineto + 4.6632 0.0094 lineto + 4.7495 0.0087 lineto + 4.8358 0.0079 lineto + 4.9221 0.0073 lineto + 5.0084 0.0067 lineto + 5.0947 0.0061 lineto + 5.181 0.0056 lineto + 5.2673 0.0052 lineto + 5.3536 0.0047 lineto + 5.4399 0.0043 lineto + 5.5694 0.0038 lineto + 5.6988 0.0033 lineto + 5.8283 0.0029 lineto + 5.9578 0.0026 lineto + 6.0872 0.0023 lineto + 6.2598 0.0019 lineto + 6.3461 0.0018 lineto + 6.378103166302659 0.0014 lineto + 6.378103166302659 1.0E-4 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (0.0, -1.0) +newpath + 0.8047 -0.4636 moveto + 0.7331 -0.5011 lineto + 0.6645 -0.5405 lineto + 0.5991 -0.5815 lineto + 0.5372 -0.6241 lineto + 0.479 -0.668 lineto + 0.4248 -0.7127 lineto + 0.3747 -0.7581 lineto + 0.3286 -0.8037 lineto + 0.2868 -0.8491 lineto + 0.249 -0.894 lineto + 0.1851 -0.9809 lineto + 0.1354 -1.062 lineto + 0.0978 -1.1357 lineto + 0.0699 -1.2013 lineto + 0.0495 -1.2587 lineto + 0.0245 -1.3504 lineto + 0.012 -1.4165 lineto + 0.0014 -1.5188 lineto + 0.0 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (1.1579208923731617E77, -1.0) +newpath + 0.8047 -0.4636 moveto + 0.8749 -0.43 lineto + 0.9472 -0.3983 lineto + 1.0215 -0.3683 lineto + 1.0974 -0.3403 lineto + 1.1748 -0.314 lineto + 1.2535 -0.2895 lineto + 1.3333 -0.2668 lineto + 1.4141 -0.2456 lineto + 1.4957 -0.226 lineto + 1.578 -0.2079 lineto + 1.6609 -0.1911 lineto + 1.7443 -0.1757 lineto + 1.8282 -0.1614 lineto + 1.9124 -0.1483 lineto + 1.997 -0.1362 lineto + 2.0819 -0.125 lineto + 2.1669 -0.1148 lineto + 2.2522 -0.1054 lineto + 2.3376 -0.0967 lineto + 2.4232 -0.0888 lineto + 2.5089 -0.0815 lineto + 2.5947 -0.0747 lineto + 2.6805 -0.0686 lineto + 2.7664 -0.0629 lineto + 2.8524 -0.0577 lineto + 2.9385 -0.053 lineto + 3.0246 -0.0486 lineto + 3.1107 -0.0446 lineto + 3.1968 -0.0409 lineto + 3.283 -0.0375 lineto + 3.3692 -0.0344 lineto + 3.4554 -0.0316 lineto + 3.5416 -0.029 lineto + 3.6279 -0.0266 lineto + 3.7141 -0.0244 lineto + 3.8004 -0.0224 lineto + 3.8866 -0.0205 lineto + 3.9729 -0.0188 lineto + 4.0592 -0.0173 lineto + 4.1455 -0.0158 lineto + 4.2318 -0.0145 lineto + 4.318 -0.0133 lineto + 4.4043 -0.0122 lineto + 4.4906 -0.0112 lineto + 4.5769 -0.0103 lineto + 4.6632 -0.0094 lineto + 4.7495 -0.0087 lineto + 4.8358 -0.0079 lineto + 4.9221 -0.0073 lineto + 5.0084 -0.0067 lineto + 5.0947 -0.0061 lineto + 5.181 -0.0056 lineto + 5.2673 -0.0052 lineto + 5.3536 -0.0047 lineto + 5.4399 -0.0043 lineto + 5.5694 -0.0038 lineto + 5.6988 -0.0033 lineto + 5.8283 -0.0029 lineto + 5.9578 -0.0026 lineto + 6.0872 -0.0023 lineto + 6.2598 -0.0019 lineto + 6.3461 -0.0018 lineto + 6.378103166302659 -0.0014 lineto + 6.378103166302659 -1.0E-4 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (1.1579208923731617E77, 2.0) +newpath + 0.6931 1.5708 moveto + 0.6994 1.4588 lineto + 0.7112 1.3815 lineto + 0.7291 1.3041 lineto + 0.753 1.2283 lineto + 0.7765 1.1682 lineto + 0.8082 1.1003 lineto + 0.8501 1.025 lineto + 0.9045 0.9433 lineto + 0.9731 0.8569 lineto + 1.0131 0.8128 lineto + 1.057 0.7684 lineto + 1.1048 0.7242 lineto + 1.1565 0.6805 lineto + 1.212 0.6375 lineto + 1.2711 0.5956 lineto + 1.3336 0.5551 lineto + 1.3992 0.5162 lineto + 1.4678 0.479 lineto + 1.539 0.4436 lineto + 1.6125 0.4102 lineto + 1.6882 0.3787 lineto + 1.7657 0.3492 lineto + 1.8448 0.3216 lineto + 1.9254 0.2959 lineto + 2.0072 0.2721 lineto + 2.09 0.25 lineto + 2.1738 0.2295 lineto + 2.2583 0.2106 lineto + 2.3435 0.1932 lineto + 2.4293 0.1771 lineto + 2.5155 0.1624 lineto + 2.6021 0.1488 lineto + 2.6891 0.1363 lineto + 2.7763 0.1249 lineto + 2.8638 0.1143 lineto + 2.9515 0.1047 lineto + 3.0394 0.0959 lineto + 3.1274 0.0878 lineto + 3.2156 0.0804 lineto + 3.3038 0.0736 lineto + 3.3921 0.0673 lineto + 3.4805 0.0616 lineto + 3.5689 0.0564 lineto + 3.6574 0.0516 lineto + 3.746 0.0472 lineto + 3.8346 0.0432 lineto + 3.9232 0.0396 lineto + 4.0118 0.0362 lineto + 4.1005 0.0331 lineto + 4.1891 0.0303 lineto + 4.2778 0.0277 lineto + 4.3665 0.0254 lineto + 4.4552 0.0232 lineto + 4.5439 0.0213 lineto + 4.6326 0.0195 lineto + 4.7214 0.0178 lineto + 4.8101 0.0163 lineto + 4.8988 0.0149 lineto + 4.9876 0.0136 lineto + 5.0763 0.0125 lineto + 5.1651 0.0114 lineto + 5.2538 0.0105 lineto + 5.3426 0.0096 lineto + 5.4313 0.0088 lineto + 5.5201 0.008 lineto + 5.6088 0.0073 lineto + 5.6976 0.0067 lineto + 5.7863 0.0061 lineto + 5.8751 0.0056 lineto + 5.9639 0.0051 lineto + 6.0526 0.0047 lineto + 6.1414 0.0043 lineto + 6.2301 0.0039 lineto + 6.3633 0.0034 lineto + 6.378103166302659 0.003 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (1.1579208923731617E77, -2.0) +newpath + 0.6931 -1.5708 moveto + 0.6994 -1.4588 lineto + 0.7112 -1.3815 lineto + 0.7291 -1.3041 lineto + 0.753 -1.2283 lineto + 0.7765 -1.1682 lineto + 0.8082 -1.1003 lineto + 0.8501 -1.025 lineto + 0.9045 -0.9433 lineto + 0.9731 -0.8569 lineto + 1.0131 -0.8128 lineto + 1.057 -0.7684 lineto + 1.1048 -0.7242 lineto + 1.1565 -0.6805 lineto + 1.212 -0.6375 lineto + 1.2711 -0.5956 lineto + 1.3336 -0.5551 lineto + 1.3992 -0.5162 lineto + 1.4678 -0.479 lineto + 1.539 -0.4436 lineto + 1.6125 -0.4102 lineto + 1.6882 -0.3787 lineto + 1.7657 -0.3492 lineto + 1.8448 -0.3216 lineto + 1.9254 -0.2959 lineto + 2.0072 -0.2721 lineto + 2.09 -0.25 lineto + 2.1738 -0.2295 lineto + 2.2583 -0.2106 lineto + 2.3435 -0.1932 lineto + 2.4293 -0.1771 lineto + 2.5155 -0.1624 lineto + 2.6021 -0.1488 lineto + 2.6891 -0.1363 lineto + 2.7763 -0.1249 lineto + 2.8638 -0.1143 lineto + 2.9515 -0.1047 lineto + 3.0394 -0.0959 lineto + 3.1274 -0.0878 lineto + 3.2156 -0.0804 lineto + 3.3038 -0.0736 lineto + 3.3921 -0.0673 lineto + 3.4805 -0.0616 lineto + 3.5689 -0.0564 lineto + 3.6574 -0.0516 lineto + 3.746 -0.0472 lineto + 3.8346 -0.0432 lineto + 3.9232 -0.0396 lineto + 4.0118 -0.0362 lineto + 4.1005 -0.0331 lineto + 4.1891 -0.0303 lineto + 4.2778 -0.0277 lineto + 4.3665 -0.0254 lineto + 4.4552 -0.0232 lineto + 4.5439 -0.0213 lineto + 4.6326 -0.0195 lineto + 4.7214 -0.0178 lineto + 4.8101 -0.0163 lineto + 4.8988 -0.0149 lineto + 4.9876 -0.0136 lineto + 5.0763 -0.0125 lineto + 5.1651 -0.0114 lineto + 5.2538 -0.0105 lineto + 5.3426 -0.0096 lineto + 5.4313 -0.0088 lineto + 5.5201 -0.008 lineto + 5.6088 -0.0073 lineto + 5.6976 -0.0067 lineto + 5.7863 -0.0061 lineto + 5.8751 -0.0056 lineto + 5.9639 -0.0051 lineto + 6.0526 -0.0047 lineto + 6.1414 -0.0043 lineto + 6.2301 -0.0039 lineto + 6.3633 -0.0034 lineto + 6.378103166302659 -0.003 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (1.1579208923731617E77, 3.0) +newpath + 1.0986 1.5708 moveto + 1.1014 1.496 lineto + 1.1101 1.4194 lineto + 1.1217 1.3566 lineto + 1.1446 1.27 lineto + 1.1745 1.1861 lineto + 1.2037 1.1204 lineto + 1.2425 1.0471 lineto + 1.2932 0.967 lineto + 1.3575 0.8818 lineto + 1.4157 0.8158 lineto + 1.4593 0.7715 lineto + 1.5069 0.7272 lineto + 1.5584 0.6834 lineto + 1.6136 0.6404 lineto + 1.6724 0.5985 lineto + 1.7347 0.5578 lineto + 1.8001 0.5188 lineto + 1.8685 0.4815 lineto + 1.9395 0.446 lineto + 2.0129 0.4124 lineto + 2.0884 0.3808 lineto + 2.1658 0.3511 lineto + 2.2448 0.3234 lineto + 2.3253 0.2976 lineto + 2.407 0.2736 lineto + 2.4898 0.2514 lineto + 2.5735 0.2308 lineto + 2.658 0.2118 lineto + 2.7431 0.1943 lineto + 2.8289 0.1782 lineto + 2.9151 0.1633 lineto + 3.0017 0.1497 lineto + 3.0886 0.1371 lineto + 3.1759 0.1256 lineto + 3.2633 0.115 lineto + 3.351 0.1053 lineto + 3.4389 0.0965 lineto + 3.5269 0.0883 lineto + 3.615 0.0808 lineto + 3.7032 0.074 lineto + 3.7915 0.0677 lineto + 3.8799 0.062 lineto + 3.9684 0.0567 lineto + 4.0569 0.0519 lineto + 4.1454 0.0475 lineto + 4.234 0.0435 lineto + 4.3226 0.0398 lineto + 4.4112 0.0364 lineto + 4.4999 0.0333 lineto + 4.5885 0.0305 lineto + 4.6772 0.0279 lineto + 4.7659 0.0255 lineto + 4.8546 0.0234 lineto + 4.9433 0.0214 lineto + 5.0321 0.0196 lineto + 5.1208 0.0179 lineto + 5.2095 0.0164 lineto + 5.2983 0.015 lineto + 5.387 0.0137 lineto + 5.4757 0.0126 lineto + 5.5645 0.0115 lineto + 5.6532 0.0105 lineto + 5.742 0.0096 lineto + 5.8307 0.0088 lineto + 5.9195 0.0081 lineto + 6.0082 0.0074 lineto + 6.097 0.0067 lineto + 6.1858 0.0062 lineto + 6.2745 0.0057 lineto + 6.3633 0.0052 lineto + 6.378103166302659 0.0045 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (1.1579208923731617E77, -3.0) +newpath + 1.0986 -1.5708 moveto + 1.1014 -1.496 lineto + 1.1101 -1.4194 lineto + 1.1217 -1.3566 lineto + 1.1446 -1.27 lineto + 1.1745 -1.1861 lineto + 1.2037 -1.1204 lineto + 1.2425 -1.0471 lineto + 1.2932 -0.967 lineto + 1.3575 -0.8818 lineto + 1.4157 -0.8158 lineto + 1.4593 -0.7715 lineto + 1.5069 -0.7272 lineto + 1.5584 -0.6834 lineto + 1.6136 -0.6404 lineto + 1.6724 -0.5985 lineto + 1.7347 -0.5578 lineto + 1.8001 -0.5188 lineto + 1.8685 -0.4815 lineto + 1.9395 -0.446 lineto + 2.0129 -0.4124 lineto + 2.0884 -0.3808 lineto + 2.1658 -0.3511 lineto + 2.2448 -0.3234 lineto + 2.3253 -0.2976 lineto + 2.407 -0.2736 lineto + 2.4898 -0.2514 lineto + 2.5735 -0.2308 lineto + 2.658 -0.2118 lineto + 2.7431 -0.1943 lineto + 2.8289 -0.1782 lineto + 2.9151 -0.1633 lineto + 3.0017 -0.1497 lineto + 3.0886 -0.1371 lineto + 3.1759 -0.1256 lineto + 3.2633 -0.115 lineto + 3.351 -0.1053 lineto + 3.4389 -0.0965 lineto + 3.5269 -0.0883 lineto + 3.615 -0.0808 lineto + 3.7032 -0.074 lineto + 3.7915 -0.0677 lineto + 3.8799 -0.062 lineto + 3.9684 -0.0567 lineto + 4.0569 -0.0519 lineto + 4.1454 -0.0475 lineto + 4.234 -0.0435 lineto + 4.3226 -0.0398 lineto + 4.4112 -0.0364 lineto + 4.4999 -0.0333 lineto + 4.5885 -0.0305 lineto + 4.6772 -0.0279 lineto + 4.7659 -0.0255 lineto + 4.8546 -0.0234 lineto + 4.9433 -0.0214 lineto + 5.0321 -0.0196 lineto + 5.1208 -0.0179 lineto + 5.2095 -0.0164 lineto + 5.2983 -0.015 lineto + 5.387 -0.0137 lineto + 5.4757 -0.0126 lineto + 5.5645 -0.0115 lineto + 5.6532 -0.0105 lineto + 5.742 -0.0096 lineto + 5.8307 -0.0088 lineto + 5.9195 -0.0081 lineto + 6.0082 -0.0074 lineto + 6.097 -0.0067 lineto + 6.1858 -0.0062 lineto + 6.2745 -0.0057 lineto + 6.3633 -0.0052 lineto + 6.378103166302659 -0.0045 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (0.0, 0.0) +newpath + -0.6931 3.1416 moveto + -5.5368 3.1416 lineto + -5.6561 3.0832 lineto + -6.2409 1.5964 lineto + -6.378103166302659 0.8406 lineto + -6.378103166302659 0.4292 lineto + -6.378103166302659 0.2166 lineto + -6.378103166302659 3.1416 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (-1.0, 0.0) +newpath + -0.6931 3.1416 moveto + 0.0 3.1416 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.0, 0.0) +newpath + 0.6931 3.1416 moveto + 0.0 3.1416 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.1579208923731617E77, 0.0) +newpath + 0.6931 3.1416 moveto + 5.5262 3.1416 lineto + 5.6212 3.1464 lineto + 6.2229 1.6652 lineto + 6.378103166302659 0.8798 lineto + 6.378103166302659 0.4498 lineto + 6.378103166302659 0.2271 lineto + 6.378103166302659 3.1416 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (0.0, 1.0) +newpath + 0.8047 2.6779 moveto + 0.7331 2.6405 lineto + 0.6645 2.6011 lineto + 0.5991 2.5601 lineto + 0.5372 2.5175 lineto + 0.479 2.4736 lineto + 0.4248 2.4289 lineto + 0.3747 2.3835 lineto + 0.3286 2.3379 lineto + 0.2868 2.2925 lineto + 0.249 2.2476 lineto + 0.1851 2.1607 lineto + 0.1354 2.0796 lineto + 0.0978 2.0058 lineto + 0.0699 1.9403 lineto + 0.0495 1.8829 lineto + 0.0245 1.7912 lineto + 0.012 1.7251 lineto + 0.0014 1.6228 lineto + 0.0 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (-1.1579208923731617E77, 1.0) +newpath + 0.8047 2.6779 moveto + 0.8749 2.7116 lineto + 0.9472 2.7433 lineto + 1.0215 2.7733 lineto + 1.0974 2.8013 lineto + 1.1748 2.8276 lineto + 1.2535 2.8521 lineto + 1.3333 2.8748 lineto + 1.4141 2.896 lineto + 1.4957 2.9156 lineto + 1.578 2.9337 lineto + 1.6609 2.9505 lineto + 1.7443 2.9659 lineto + 1.8282 2.9802 lineto + 1.9124 2.9933 lineto + 1.997 3.0054 lineto + 2.0819 3.0166 lineto + 2.1669 3.0268 lineto + 2.2522 3.0362 lineto + 2.3376 3.0449 lineto + 2.4232 3.0528 lineto + 2.5089 3.0601 lineto + 2.5947 3.0669 lineto + 2.6805 3.073 lineto + 2.7664 3.0787 lineto + 2.8524 3.0839 lineto + 2.9385 3.0886 lineto + 3.0246 3.093 lineto + 3.1107 3.097 lineto + 3.1968 3.1007 lineto + 3.283 3.1041 lineto + 3.3692 3.1072 lineto + 3.4554 3.11 lineto + 3.5416 3.1126 lineto + 3.6279 3.115 lineto + 3.7141 3.1172 lineto + 3.8004 3.1192 lineto + 3.8866 3.1211 lineto + 3.9729 3.1228 lineto + 4.0592 3.1243 lineto + 4.1455 3.1258 lineto + 4.2318 3.1271 lineto + 4.318 3.1283 lineto + 4.4043 3.1294 lineto + 4.4906 3.1304 lineto + 4.5769 3.1313 lineto + 4.6632 3.1322 lineto + 4.7495 3.1329 lineto + 4.8358 3.1337 lineto + 4.9221 3.1343 lineto + 5.0084 3.1349 lineto + 5.0947 3.1355 lineto + 5.181 3.136 lineto + 5.2673 3.1364 lineto + 5.3536 3.1369 lineto + 5.4399 3.1373 lineto + 5.5262 3.1376 lineto + 5.6228 3.1437 lineto + 6.2229 1.6652 lineto + 6.378103166302659 0.8798 lineto + 6.378103166302659 0.4498 lineto + 6.378103166302659 0.2271 lineto + 6.378103166302659 3.1416 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (0.0, -1.0) +newpath + 0.8047 -2.6779 moveto + 0.7331 -2.6405 lineto + 0.6645 -2.6011 lineto + 0.5991 -2.5601 lineto + 0.5372 -2.5175 lineto + 0.479 -2.4736 lineto + 0.4248 -2.4289 lineto + 0.3747 -2.3835 lineto + 0.3286 -2.3379 lineto + 0.2868 -2.2925 lineto + 0.249 -2.2476 lineto + 0.1851 -2.1607 lineto + 0.1354 -2.0796 lineto + 0.0978 -2.0058 lineto + 0.0699 -1.9403 lineto + 0.0495 -1.8829 lineto + 0.0245 -1.7912 lineto + 0.012 -1.7251 lineto + 0.0014 -1.6228 lineto + 0.0 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (-1.1579208923731617E77, -1.0) +newpath + 0.8047 -2.6779 moveto + 0.8749 -2.7116 lineto + 0.9472 -2.7433 lineto + 1.0215 -2.7733 lineto + 1.0974 -2.8013 lineto + 1.1748 -2.8276 lineto + 1.2535 -2.8521 lineto + 1.3333 -2.8748 lineto + 1.4141 -2.896 lineto + 1.4957 -2.9156 lineto + 1.578 -2.9337 lineto + 1.6609 -2.9505 lineto + 1.7443 -2.9659 lineto + 1.8282 -2.9802 lineto + 1.9124 -2.9933 lineto + 1.997 -3.0054 lineto + 2.0819 -3.0166 lineto + 2.1669 -3.0268 lineto + 2.2522 -3.0362 lineto + 2.3376 -3.0449 lineto + 2.4232 -3.0528 lineto + 2.5089 -3.0601 lineto + 2.5947 -3.0669 lineto + 2.6805 -3.073 lineto + 2.7664 -3.0787 lineto + 2.8524 -3.0839 lineto + 2.9385 -3.0886 lineto + 3.0246 -3.093 lineto + 3.1107 -3.097 lineto + 3.1968 -3.1007 lineto + 3.283 -3.1041 lineto + 3.3692 -3.1072 lineto + 3.4554 -3.11 lineto + 3.5416 -3.1126 lineto + 3.6279 -3.115 lineto + 3.7141 -3.1172 lineto + 3.8004 -3.1192 lineto + 3.8866 -3.1211 lineto + 3.9729 -3.1228 lineto + 4.0592 -3.1243 lineto + 4.1455 -3.1258 lineto + 4.2318 -3.1271 lineto + 4.318 -3.1283 lineto + 4.4043 -3.1294 lineto + 4.4906 -3.1304 lineto + 4.5769 -3.1313 lineto + 4.6632 -3.1322 lineto + 4.7495 -3.1329 lineto + 4.8358 -3.1337 lineto + 4.9221 -3.1343 lineto + 5.0084 -3.1349 lineto + 5.0947 -3.1355 lineto + 5.181 -3.136 lineto + 5.2673 -3.1364 lineto + 5.3536 -3.1369 lineto + 5.4399 -3.1373 lineto + 5.5262 -3.1376 lineto + 5.6228 -3.1437 lineto + 6.2229 -1.6652 lineto + 6.378103166302659 -0.8798 lineto + 6.378103166302659 -0.4498 lineto + 6.378103166302659 -0.2271 lineto + 6.378103166302659 -3.1416 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (-1.1579208923731617E77, 2.0) +newpath + 0.6931 1.5708 moveto + 0.6994 1.6828 lineto + 0.7112 1.7601 lineto + 0.7291 1.8375 lineto + 0.753 1.9133 lineto + 0.7765 1.9734 lineto + 0.8082 2.0413 lineto + 0.8501 2.1166 lineto + 0.9045 2.1983 lineto + 0.9731 2.2846 lineto + 1.0131 2.3288 lineto + 1.057 2.3732 lineto + 1.1048 2.4174 lineto + 1.1565 2.4611 lineto + 1.212 2.5041 lineto + 1.2711 2.546 lineto + 1.3336 2.5865 lineto + 1.3992 2.6254 lineto + 1.4678 2.6626 lineto + 1.539 2.698 lineto + 1.6125 2.7314 lineto + 1.6882 2.7629 lineto + 1.7657 2.7924 lineto + 1.8448 2.82 lineto + 1.9254 2.8457 lineto + 2.0072 2.8695 lineto + 2.09 2.8916 lineto + 2.1738 2.9121 lineto + 2.2583 2.931 lineto + 2.3435 2.9484 lineto + 2.4293 2.9645 lineto + 2.5155 2.9792 lineto + 2.6021 2.9928 lineto + 2.6891 3.0053 lineto + 2.7763 3.0167 lineto + 2.8638 3.0272 lineto + 2.9515 3.0369 lineto + 3.0394 3.0457 lineto + 3.1274 3.0538 lineto + 3.2156 3.0612 lineto + 3.3038 3.068 lineto + 3.3921 3.0743 lineto + 3.4805 3.08 lineto + 3.5689 3.0852 lineto + 3.6574 3.09 lineto + 3.746 3.0944 lineto + 3.8346 3.0984 lineto + 3.9232 3.102 lineto + 4.0118 3.1054 lineto + 4.1005 3.1085 lineto + 4.1891 3.1113 lineto + 4.2778 3.1138 lineto + 4.3665 3.1162 lineto + 4.4552 3.1184 lineto + 4.5439 3.1203 lineto + 4.6326 3.1221 lineto + 4.7214 3.1238 lineto + 4.8101 3.1253 lineto + 4.8988 3.1267 lineto + 4.9876 3.1279 lineto + 5.0763 3.1291 lineto + 5.1651 3.1302 lineto + 5.2538 3.1311 lineto + 5.3426 3.132 lineto + 5.4313 3.1328 lineto + 5.5201 3.1336 lineto + 5.6234 3.1424 lineto + 6.3499 1.0848 lineto + 6.378103166302659 0.4908 lineto + 6.378103166302659 0.2337 lineto + 6.378103166302659 3.1416 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (-1.1579208923731617E77, -2.0) +newpath + 0.6931 -1.5708 moveto + 0.6994 -1.6828 lineto + 0.7112 -1.7601 lineto + 0.7291 -1.8375 lineto + 0.753 -1.9133 lineto + 0.7765 -1.9734 lineto + 0.8082 -2.0413 lineto + 0.8501 -2.1166 lineto + 0.9045 -2.1983 lineto + 0.9731 -2.2846 lineto + 1.0131 -2.3288 lineto + 1.057 -2.3732 lineto + 1.1048 -2.4174 lineto + 1.1565 -2.4611 lineto + 1.212 -2.5041 lineto + 1.2711 -2.546 lineto + 1.3336 -2.5865 lineto + 1.3992 -2.6254 lineto + 1.4678 -2.6626 lineto + 1.539 -2.698 lineto + 1.6125 -2.7314 lineto + 1.6882 -2.7629 lineto + 1.7657 -2.7924 lineto + 1.8448 -2.82 lineto + 1.9254 -2.8457 lineto + 2.0072 -2.8695 lineto + 2.09 -2.8916 lineto + 2.1738 -2.9121 lineto + 2.2583 -2.931 lineto + 2.3435 -2.9484 lineto + 2.4293 -2.9645 lineto + 2.5155 -2.9792 lineto + 2.6021 -2.9928 lineto + 2.6891 -3.0053 lineto + 2.7763 -3.0167 lineto + 2.8638 -3.0272 lineto + 2.9515 -3.0369 lineto + 3.0394 -3.0457 lineto + 3.1274 -3.0538 lineto + 3.2156 -3.0612 lineto + 3.3038 -3.068 lineto + 3.3921 -3.0743 lineto + 3.4805 -3.08 lineto + 3.5689 -3.0852 lineto + 3.6574 -3.09 lineto + 3.746 -3.0944 lineto + 3.8346 -3.0984 lineto + 3.9232 -3.102 lineto + 4.0118 -3.1054 lineto + 4.1005 -3.1085 lineto + 4.1891 -3.1113 lineto + 4.2778 -3.1138 lineto + 4.3665 -3.1162 lineto + 4.4552 -3.1184 lineto + 4.5439 -3.1203 lineto + 4.6326 -3.1221 lineto + 4.7214 -3.1238 lineto + 4.8101 -3.1253 lineto + 4.8988 -3.1267 lineto + 4.9876 -3.1279 lineto + 5.0763 -3.1291 lineto + 5.1651 -3.1302 lineto + 5.2538 -3.1311 lineto + 5.3426 -3.132 lineto + 5.4313 -3.1328 lineto + 5.5201 -3.1336 lineto + 5.6234 -3.1424 lineto + 6.3499 -1.0848 lineto + 6.378103166302659 -0.4908 lineto + 6.378103166302659 -0.2337 lineto + 6.378103166302659 -3.1416 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (-1.1579208923731617E77, 3.0) +newpath + 1.0986 1.5708 moveto + 1.1014 1.6456 lineto + 1.1101 1.7222 lineto + 1.1217 1.785 lineto + 1.1446 1.8716 lineto + 1.1745 1.9555 lineto + 1.2037 2.0212 lineto + 1.2425 2.0945 lineto + 1.2932 2.1746 lineto + 1.3575 2.2598 lineto + 1.4157 2.3258 lineto + 1.4593 2.3701 lineto + 1.5069 2.4144 lineto + 1.5584 2.4582 lineto + 1.6136 2.5012 lineto + 1.6724 2.5431 lineto + 1.7347 2.5837 lineto + 1.8001 2.6228 lineto + 1.8685 2.6601 lineto + 1.9395 2.6956 lineto + 2.0129 2.7292 lineto + 2.0884 2.7608 lineto + 2.1658 2.7904 lineto + 2.2448 2.8181 lineto + 2.3253 2.844 lineto + 2.407 2.8679 lineto + 2.4898 2.8902 lineto + 2.5735 2.9107 lineto + 2.658 2.9297 lineto + 2.7431 2.9473 lineto + 2.8289 2.9634 lineto + 2.9151 2.9783 lineto + 3.0017 2.9919 lineto + 3.0886 3.0045 lineto + 3.1759 3.016 lineto + 3.2633 3.0266 lineto + 3.351 3.0363 lineto + 3.4389 3.0451 lineto + 3.5269 3.0533 lineto + 3.615 3.0608 lineto + 3.7032 3.0676 lineto + 3.7915 3.0739 lineto + 3.8799 3.0796 lineto + 3.9684 3.0849 lineto + 4.0569 3.0897 lineto + 4.1454 3.0941 lineto + 4.234 3.0981 lineto + 4.3226 3.1018 lineto + 4.4112 3.1052 lineto + 4.4999 3.1083 lineto + 4.5885 3.1111 lineto + 4.6772 3.1137 lineto + 4.7659 3.116 lineto + 4.8546 3.1182 lineto + 4.9433 3.1202 lineto + 5.0321 3.122 lineto + 5.1208 3.1237 lineto + 5.2095 3.1252 lineto + 5.2983 3.1266 lineto + 5.387 3.1279 lineto + 5.4757 3.129 lineto + 5.6146 3.1583 lineto + 6.3499 1.0848 lineto + 6.378103166302659 0.4908 lineto + 6.378103166302659 0.2337 lineto + 6.378103166302659 3.1416 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (-1.1579208923731617E77, -3.0) +newpath + 1.0986 -1.5708 moveto + 1.1014 -1.6456 lineto + 1.1101 -1.7222 lineto + 1.1217 -1.785 lineto + 1.1446 -1.8716 lineto + 1.1745 -1.9555 lineto + 1.2037 -2.0212 lineto + 1.2425 -2.0945 lineto + 1.2932 -2.1746 lineto + 1.3575 -2.2598 lineto + 1.4157 -2.3258 lineto + 1.4593 -2.3701 lineto + 1.5069 -2.4144 lineto + 1.5584 -2.4582 lineto + 1.6136 -2.5012 lineto + 1.6724 -2.5431 lineto + 1.7347 -2.5837 lineto + 1.8001 -2.6228 lineto + 1.8685 -2.6601 lineto + 1.9395 -2.6956 lineto + 2.0129 -2.7292 lineto + 2.0884 -2.7608 lineto + 2.1658 -2.7904 lineto + 2.2448 -2.8181 lineto + 2.3253 -2.844 lineto + 2.407 -2.8679 lineto + 2.4898 -2.8902 lineto + 2.5735 -2.9107 lineto + 2.658 -2.9297 lineto + 2.7431 -2.9473 lineto + 2.8289 -2.9634 lineto + 2.9151 -2.9783 lineto + 3.0017 -2.9919 lineto + 3.0886 -3.0045 lineto + 3.1759 -3.016 lineto + 3.2633 -3.0266 lineto + 3.351 -3.0363 lineto + 3.4389 -3.0451 lineto + 3.5269 -3.0533 lineto + 3.615 -3.0608 lineto + 3.7032 -3.0676 lineto + 3.7915 -3.0739 lineto + 3.8799 -3.0796 lineto + 3.9684 -3.0849 lineto + 4.0569 -3.0897 lineto + 4.1454 -3.0941 lineto + 4.234 -3.0981 lineto + 4.3226 -3.1018 lineto + 4.4112 -3.1052 lineto + 4.4999 -3.1083 lineto + 4.5885 -3.1111 lineto + 4.6772 -3.1137 lineto + 4.7659 -3.116 lineto + 4.8546 -3.1182 lineto + 4.9433 -3.1202 lineto + 5.0321 -3.122 lineto + 5.1208 -3.1237 lineto + 5.2095 -3.1252 lineto + 5.2983 -3.1266 lineto + 5.387 -3.1279 lineto + 5.4757 -3.129 lineto + 5.6146 -3.1583 lineto + 6.3499 -1.0848 lineto + 6.378103166302659 -0.4908 lineto + 6.378103166302659 -0.2337 lineto + 6.378103166302659 -3.1416 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 0.0) +newpath + -0.6931 1.5708 moveto + -6.1705 1.5708 lineto + -6.2509 1.557 lineto + -6.378103166302659 0.8172 lineto + -6.378103166302659 0.423 lineto + -6.378103166302659 0.215 lineto + -6.378103166302659 0.1083 lineto + -6.378103166302659 1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 1.0) +newpath + -0.6931 1.5708 moveto + 0.0 1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.0) +newpath + 0.6931 1.5708 moveto + 0.0 1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.1579208923731617E77) +newpath + 0.6931 1.5708 moveto + 6.1735 1.5708 lineto + 6.378103166302659 0.8543 lineto + 6.378103166302659 0.443 lineto + 6.378103166302659 0.2253 lineto + 6.378103166302659 0.1136 lineto + 6.378103166302659 1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 0.0) +newpath + 0.8047 1.1071 moveto + 0.7331 1.0697 lineto + 0.6645 1.0303 lineto + 0.5991 0.9893 lineto + 0.5372 0.9467 lineto + 0.479 0.9028 lineto + 0.4248 0.8581 lineto + 0.3747 0.8127 lineto + 0.3286 0.7671 lineto + 0.2868 0.7217 lineto + 0.249 0.6768 lineto + 0.1851 0.5899 lineto + 0.1354 0.5088 lineto + 0.0978 0.4351 lineto + 0.0699 0.3695 lineto + 0.0495 0.3121 lineto + 0.0245 0.2204 lineto + 0.012 0.1543 lineto + 0.0014 0.052 lineto + 0.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 1.1579208923731617E77) +newpath + 0.8047 1.1071 moveto + 0.8749 1.1408 lineto + 0.9472 1.1725 lineto + 1.0215 1.2025 lineto + 1.0974 1.2305 lineto + 1.1748 1.2568 lineto + 1.2535 1.2813 lineto + 1.3333 1.304 lineto + 1.4141 1.3252 lineto + 1.4957 1.3448 lineto + 1.578 1.3629 lineto + 1.6609 1.3797 lineto + 1.7443 1.3951 lineto + 1.8282 1.4094 lineto + 1.9124 1.4225 lineto + 1.997 1.4346 lineto + 2.0819 1.4458 lineto + 2.1669 1.456 lineto + 2.2522 1.4654 lineto + 2.3376 1.4741 lineto + 2.4232 1.482 lineto + 2.5089 1.4893 lineto + 2.5947 1.4961 lineto + 2.6805 1.5022 lineto + 2.7664 1.5079 lineto + 2.8524 1.5131 lineto + 2.9385 1.5178 lineto + 3.0246 1.5222 lineto + 3.1107 1.5262 lineto + 3.1968 1.5299 lineto + 3.283 1.5333 lineto + 3.3692 1.5364 lineto + 3.4554 1.5392 lineto + 3.5416 1.5418 lineto + 3.6279 1.5442 lineto + 3.7141 1.5464 lineto + 3.8004 1.5484 lineto + 3.8866 1.5503 lineto + 3.9729 1.552 lineto + 4.0592 1.5535 lineto + 4.1455 1.555 lineto + 4.2318 1.5563 lineto + 4.318 1.5575 lineto + 4.4043 1.5586 lineto + 4.4906 1.5596 lineto + 4.5769 1.5605 lineto + 4.6632 1.5614 lineto + 4.7495 1.5621 lineto + 4.8358 1.5629 lineto + 4.9221 1.5635 lineto + 5.0084 1.5641 lineto + 5.0947 1.5647 lineto + 5.181 1.5652 lineto + 5.2673 1.5656 lineto + 5.3536 1.5661 lineto + 5.4399 1.5665 lineto + 5.5694 1.567 lineto + 5.6988 1.5674 lineto + 5.8283 1.5679 lineto + 5.9578 1.5682 lineto + 6.0872 1.5685 lineto + 6.1735 1.5687 lineto + 6.378103166302659 0.8543 lineto + 6.378103166302659 0.443 lineto + 6.378103166302659 0.2253 lineto + 6.378103166302659 0.1136 lineto + 6.378103166302659 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 0.0) +newpath + 0.8047 2.0344 moveto + 0.7331 2.0719 lineto + 0.6645 2.1113 lineto + 0.5991 2.1523 lineto + 0.5372 2.1949 lineto + 0.479 2.2387 lineto + 0.4248 2.2835 lineto + 0.3747 2.3289 lineto + 0.3286 2.3745 lineto + 0.2868 2.4199 lineto + 0.249 2.4648 lineto + 0.1851 2.5517 lineto + 0.1354 2.6328 lineto + 0.0978 2.7065 lineto + 0.0699 2.7721 lineto + 0.0495 2.8295 lineto + 0.0245 2.9212 lineto + 0.012 2.9873 lineto + 0.0014 3.0896 lineto + 0.0 3.1416 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 1.1579208923731617E77) +newpath + 0.8047 2.0344 moveto + 0.8749 2.0008 lineto + 0.9472 1.969 lineto + 1.0215 1.9391 lineto + 1.0974 1.9111 lineto + 1.1748 1.8848 lineto + 1.2535 1.8603 lineto + 1.3333 1.8376 lineto + 1.4141 1.8164 lineto + 1.4957 1.7968 lineto + 1.578 1.7787 lineto + 1.6609 1.7619 lineto + 1.7443 1.7465 lineto + 1.8282 1.7322 lineto + 1.9124 1.7191 lineto + 1.997 1.707 lineto + 2.0819 1.6958 lineto + 2.1669 1.6856 lineto + 2.2522 1.6762 lineto + 2.3376 1.6675 lineto + 2.4232 1.6596 lineto + 2.5089 1.6522 lineto + 2.5947 1.6455 lineto + 2.6805 1.6394 lineto + 2.7664 1.6337 lineto + 2.8524 1.6285 lineto + 2.9385 1.6238 lineto + 3.0246 1.6194 lineto + 3.1107 1.6154 lineto + 3.1968 1.6117 lineto + 3.283 1.6083 lineto + 3.3692 1.6052 lineto + 3.4554 1.6024 lineto + 3.5416 1.5998 lineto + 3.6279 1.5974 lineto + 3.7141 1.5952 lineto + 3.8004 1.5932 lineto + 3.8866 1.5913 lineto + 3.9729 1.5896 lineto + 4.0592 1.5881 lineto + 4.1455 1.5866 lineto + 4.2318 1.5853 lineto + 4.318 1.5841 lineto + 4.4043 1.583 lineto + 4.4906 1.582 lineto + 4.5769 1.5811 lineto + 4.6632 1.5802 lineto + 4.7495 1.5795 lineto + 4.8358 1.5787 lineto + 4.9221 1.5781 lineto + 5.0084 1.5775 lineto + 5.0947 1.5769 lineto + 5.181 1.5764 lineto + 5.2673 1.576 lineto + 5.3536 1.5755 lineto + 5.4399 1.5751 lineto + 5.5694 1.5746 lineto + 5.6988 1.5741 lineto + 5.8283 1.5737 lineto + 5.9578 1.5734 lineto + 6.0872 1.5731 lineto + 6.1735 1.5729 lineto + 6.378103166302659 0.8543 lineto + 6.378103166302659 0.443 lineto + 6.378103166302659 0.2253 lineto + 6.378103166302659 0.1136 lineto + 6.378103166302659 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, 1.1579208923731617E77) +newpath + 0.6931 0.0 moveto + 0.6994 0.112 lineto + 0.7112 0.1893 lineto + 0.7291 0.2667 lineto + 0.753 0.3425 lineto + 0.7765 0.4026 lineto + 0.8082 0.4705 lineto + 0.8501 0.5458 lineto + 0.9045 0.6275 lineto + 0.9731 0.7138 lineto + 1.0131 0.758 lineto + 1.057 0.8024 lineto + 1.1048 0.8466 lineto + 1.1565 0.8903 lineto + 1.212 0.9333 lineto + 1.2711 0.9752 lineto + 1.3336 1.0157 lineto + 1.3992 1.0546 lineto + 1.4678 1.0918 lineto + 1.539 1.1272 lineto + 1.6125 1.1606 lineto + 1.6882 1.1921 lineto + 1.7657 1.2216 lineto + 1.8448 1.2492 lineto + 1.9254 1.2749 lineto + 2.0072 1.2987 lineto + 2.09 1.3208 lineto + 2.1738 1.3413 lineto + 2.2583 1.3602 lineto + 2.3435 1.3776 lineto + 2.4293 1.3937 lineto + 2.5155 1.4084 lineto + 2.6021 1.422 lineto + 2.6891 1.4345 lineto + 2.7763 1.4459 lineto + 2.8638 1.4564 lineto + 2.9515 1.4661 lineto + 3.0394 1.4749 lineto + 3.1274 1.483 lineto + 3.2156 1.4904 lineto + 3.3038 1.4972 lineto + 3.3921 1.5035 lineto + 3.4805 1.5092 lineto + 3.5689 1.5144 lineto + 3.6574 1.5192 lineto + 3.746 1.5236 lineto + 3.8346 1.5276 lineto + 3.9232 1.5312 lineto + 4.0118 1.5346 lineto + 4.1005 1.5377 lineto + 4.1891 1.5405 lineto + 4.2778 1.543 lineto + 4.3665 1.5454 lineto + 4.4552 1.5476 lineto + 4.5439 1.5495 lineto + 4.6326 1.5513 lineto + 4.7214 1.553 lineto + 4.8101 1.5545 lineto + 4.8988 1.5559 lineto + 4.9876 1.5572 lineto + 5.0763 1.5583 lineto + 5.1651 1.5594 lineto + 5.2538 1.5603 lineto + 5.3426 1.5612 lineto + 5.4313 1.562 lineto + 5.5201 1.5628 lineto + 5.6088 1.5635 lineto + 5.6976 1.5641 lineto + 5.7863 1.5647 lineto + 5.8751 1.5652 lineto + 5.9639 1.5657 lineto + 6.0526 1.5661 lineto + 6.1414 1.5665 lineto + 6.2473 1.5712 lineto + 6.378103166302659 0.5482 lineto + 6.378103166302659 0.2459 lineto + 6.378103166302659 0.1169 lineto + 6.378103166302659 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, 1.1579208923731617E77) +newpath + 0.6931 3.1416 moveto + 0.6994 3.0296 lineto + 0.7112 2.9523 lineto + 0.7291 2.8749 lineto + 0.753 2.7991 lineto + 0.7765 2.739 lineto + 0.8082 2.6711 lineto + 0.8501 2.5958 lineto + 0.9045 2.5141 lineto + 0.9731 2.4277 lineto + 1.0131 2.3836 lineto + 1.057 2.3392 lineto + 1.1048 2.295 lineto + 1.1565 2.2513 lineto + 1.212 2.2083 lineto + 1.2711 2.1664 lineto + 1.3336 2.1259 lineto + 1.3992 2.087 lineto + 1.4678 2.0498 lineto + 1.539 2.0144 lineto + 1.6125 1.981 lineto + 1.6882 1.9495 lineto + 1.7657 1.92 lineto + 1.8448 1.8924 lineto + 1.9254 1.8667 lineto + 2.0072 1.8429 lineto + 2.09 1.8208 lineto + 2.1738 1.8003 lineto + 2.2583 1.7814 lineto + 2.3435 1.764 lineto + 2.4293 1.7479 lineto + 2.5155 1.7332 lineto + 2.6021 1.7196 lineto + 2.6891 1.7071 lineto + 2.7763 1.6957 lineto + 2.8638 1.6851 lineto + 2.9515 1.6755 lineto + 3.0394 1.6667 lineto + 3.1274 1.6586 lineto + 3.2156 1.6511 lineto + 3.3038 1.6444 lineto + 3.3921 1.6381 lineto + 3.4805 1.6324 lineto + 3.5689 1.6272 lineto + 3.6574 1.6224 lineto + 3.746 1.618 lineto + 3.8346 1.614 lineto + 3.9232 1.6104 lineto + 4.0118 1.607 lineto + 4.1005 1.6039 lineto + 4.1891 1.6011 lineto + 4.2778 1.5985 lineto + 4.3665 1.5962 lineto + 4.4552 1.594 lineto + 4.5439 1.5921 lineto + 4.6326 1.5903 lineto + 4.7214 1.5886 lineto + 4.8101 1.5871 lineto + 4.8988 1.5857 lineto + 4.9876 1.5844 lineto + 5.0763 1.5833 lineto + 5.1651 1.5822 lineto + 5.2538 1.5813 lineto + 5.3426 1.5804 lineto + 5.4313 1.5796 lineto + 5.5201 1.5788 lineto + 5.6088 1.5781 lineto + 5.6976 1.5775 lineto + 5.7863 1.5769 lineto + 5.8751 1.5764 lineto + 5.9639 1.5759 lineto + 6.0526 1.5755 lineto + 6.1414 1.5751 lineto + 6.2455 1.5786 lineto + 6.378103166302659 0.5482 lineto + 6.378103166302659 0.2459 lineto + 6.378103166302659 0.1169 lineto + 6.378103166302659 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, 1.1579208923731617E77) +newpath + 1.0986 0.0 moveto + 1.1014 0.0748 lineto + 1.1101 0.1514 lineto + 1.1217 0.2142 lineto + 1.1446 0.3008 lineto + 1.1745 0.3847 lineto + 1.2037 0.4504 lineto + 1.2425 0.5237 lineto + 1.2932 0.6038 lineto + 1.3575 0.689 lineto + 1.4157 0.755 lineto + 1.4593 0.7993 lineto + 1.5069 0.8436 lineto + 1.5584 0.8874 lineto + 1.6136 0.9304 lineto + 1.6724 0.9723 lineto + 1.7347 1.0129 lineto + 1.8001 1.052 lineto + 1.8685 1.0893 lineto + 1.9395 1.1248 lineto + 2.0129 1.1584 lineto + 2.0884 1.19 lineto + 2.1658 1.2196 lineto + 2.2448 1.2474 lineto + 2.3253 1.2732 lineto + 2.407 1.2971 lineto + 2.4898 1.3194 lineto + 2.5735 1.34 lineto + 2.658 1.359 lineto + 2.7431 1.3765 lineto + 2.8289 1.3926 lineto + 2.9151 1.4075 lineto + 3.0017 1.4211 lineto + 3.0886 1.4337 lineto + 3.1759 1.4452 lineto + 3.2633 1.4558 lineto + 3.351 1.4655 lineto + 3.4389 1.4743 lineto + 3.5269 1.4825 lineto + 3.615 1.49 lineto + 3.7032 1.4968 lineto + 3.7915 1.5031 lineto + 3.8799 1.5088 lineto + 3.9684 1.5141 lineto + 4.0569 1.5189 lineto + 4.1454 1.5233 lineto + 4.234 1.5273 lineto + 4.3226 1.531 lineto + 4.4112 1.5344 lineto + 4.4999 1.5375 lineto + 4.5885 1.5403 lineto + 4.6772 1.5429 lineto + 4.7659 1.5452 lineto + 4.8546 1.5474 lineto + 4.9433 1.5494 lineto + 5.0321 1.5512 lineto + 5.1208 1.5529 lineto + 5.2095 1.5544 lineto + 5.2983 1.5558 lineto + 5.387 1.5571 lineto + 5.4757 1.5582 lineto + 5.5645 1.5593 lineto + 5.6532 1.5603 lineto + 5.742 1.5612 lineto + 5.8307 1.562 lineto + 5.9195 1.5627 lineto + 6.0082 1.5634 lineto + 6.097 1.564 lineto + 6.2452 1.5797 lineto + 6.378103166302659 0.5482 lineto + 6.378103166302659 0.2459 lineto + 6.378103166302659 0.1169 lineto + 6.378103166302659 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, 1.1579208923731617E77) +newpath + 1.0986 3.1416 moveto + 1.1014 3.0668 lineto + 1.1101 2.9902 lineto + 1.1217 2.9274 lineto + 1.1446 2.8408 lineto + 1.1745 2.7569 lineto + 1.2037 2.6912 lineto + 1.2425 2.6179 lineto + 1.2932 2.5378 lineto + 1.3575 2.4526 lineto + 1.4157 2.3866 lineto + 1.4593 2.3423 lineto + 1.5069 2.298 lineto + 1.5584 2.2542 lineto + 1.6136 2.2112 lineto + 1.6724 2.1693 lineto + 1.7347 2.1286 lineto + 1.8001 2.0896 lineto + 1.8685 2.0523 lineto + 1.9395 2.0168 lineto + 2.0129 1.9832 lineto + 2.0884 1.9516 lineto + 2.1658 1.9219 lineto + 2.2448 1.8942 lineto + 2.3253 1.8684 lineto + 2.407 1.8444 lineto + 2.4898 1.8222 lineto + 2.5735 1.8016 lineto + 2.658 1.7826 lineto + 2.7431 1.7651 lineto + 2.8289 1.749 lineto + 2.9151 1.7341 lineto + 3.0017 1.7205 lineto + 3.0886 1.7079 lineto + 3.1759 1.6964 lineto + 3.2633 1.6858 lineto + 3.351 1.6761 lineto + 3.4389 1.6672 lineto + 3.5269 1.6591 lineto + 3.615 1.6516 lineto + 3.7032 1.6448 lineto + 3.7915 1.6385 lineto + 3.8799 1.6328 lineto + 3.9684 1.6275 lineto + 4.0569 1.6227 lineto + 4.1454 1.6183 lineto + 4.234 1.6143 lineto + 4.3226 1.6106 lineto + 4.4112 1.6072 lineto + 4.4999 1.6041 lineto + 4.5885 1.6013 lineto + 4.6772 1.5987 lineto + 4.7659 1.5963 lineto + 4.8546 1.5942 lineto + 4.9433 1.5922 lineto + 5.0321 1.5904 lineto + 5.1208 1.5887 lineto + 5.2095 1.5872 lineto + 5.2983 1.5858 lineto + 5.387 1.5845 lineto + 5.4757 1.5834 lineto + 5.5645 1.5823 lineto + 5.6532 1.5813 lineto + 5.742 1.5804 lineto + 5.8307 1.5796 lineto + 5.9195 1.5789 lineto + 6.0082 1.5782 lineto + 6.097 1.5775 lineto + 6.2422 1.5914 lineto + 6.378103166302659 0.5482 lineto + 6.378103166302659 0.2459 lineto + 6.378103166302659 0.1169 lineto + 6.378103166302659 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, 0.0) +newpath + -0.6931 -1.5708 moveto + -6.1705 -1.5708 lineto + -6.2509 -1.557 lineto + -6.378103166302659 -0.8172 lineto + -6.378103166302659 -0.423 lineto + -6.378103166302659 -0.215 lineto + -6.378103166302659 -0.1083 lineto + -6.378103166302659 -1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, -1.0) +newpath + -0.6931 -1.5708 moveto + 0.0 -1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.0) +newpath + 0.6931 -1.5708 moveto + 0.0 -1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.1579208923731617E77) +newpath + 0.6931 -1.5708 moveto + 6.1735 -1.5708 lineto + 6.378103166302659 -0.8543 lineto + 6.378103166302659 -0.443 lineto + 6.378103166302659 -0.2253 lineto + 6.378103166302659 -0.1136 lineto + 6.378103166302659 -1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, 0.0) +newpath + 0.8047 -1.1071 moveto + 0.7331 -1.0697 lineto + 0.6645 -1.0303 lineto + 0.5991 -0.9893 lineto + 0.5372 -0.9467 lineto + 0.479 -0.9028 lineto + 0.4248 -0.8581 lineto + 0.3747 -0.8127 lineto + 0.3286 -0.7671 lineto + 0.2868 -0.7217 lineto + 0.249 -0.6768 lineto + 0.1851 -0.5899 lineto + 0.1354 -0.5088 lineto + 0.0978 -0.4351 lineto + 0.0699 -0.3695 lineto + 0.0495 -0.3121 lineto + 0.0245 -0.2204 lineto + 0.012 -0.1543 lineto + 0.0014 -0.052 lineto + 0.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, -1.1579208923731617E77) +newpath + 0.8047 -1.1071 moveto + 0.8749 -1.1408 lineto + 0.9472 -1.1725 lineto + 1.0215 -1.2025 lineto + 1.0974 -1.2305 lineto + 1.1748 -1.2568 lineto + 1.2535 -1.2813 lineto + 1.3333 -1.304 lineto + 1.4141 -1.3252 lineto + 1.4957 -1.3448 lineto + 1.578 -1.3629 lineto + 1.6609 -1.3797 lineto + 1.7443 -1.3951 lineto + 1.8282 -1.4094 lineto + 1.9124 -1.4225 lineto + 1.997 -1.4346 lineto + 2.0819 -1.4458 lineto + 2.1669 -1.456 lineto + 2.2522 -1.4654 lineto + 2.3376 -1.4741 lineto + 2.4232 -1.482 lineto + 2.5089 -1.4893 lineto + 2.5947 -1.4961 lineto + 2.6805 -1.5022 lineto + 2.7664 -1.5079 lineto + 2.8524 -1.5131 lineto + 2.9385 -1.5178 lineto + 3.0246 -1.5222 lineto + 3.1107 -1.5262 lineto + 3.1968 -1.5299 lineto + 3.283 -1.5333 lineto + 3.3692 -1.5364 lineto + 3.4554 -1.5392 lineto + 3.5416 -1.5418 lineto + 3.6279 -1.5442 lineto + 3.7141 -1.5464 lineto + 3.8004 -1.5484 lineto + 3.8866 -1.5503 lineto + 3.9729 -1.552 lineto + 4.0592 -1.5535 lineto + 4.1455 -1.555 lineto + 4.2318 -1.5563 lineto + 4.318 -1.5575 lineto + 4.4043 -1.5586 lineto + 4.4906 -1.5596 lineto + 4.5769 -1.5605 lineto + 4.6632 -1.5614 lineto + 4.7495 -1.5621 lineto + 4.8358 -1.5629 lineto + 4.9221 -1.5635 lineto + 5.0084 -1.5641 lineto + 5.0947 -1.5647 lineto + 5.181 -1.5652 lineto + 5.2673 -1.5656 lineto + 5.3536 -1.5661 lineto + 5.4399 -1.5665 lineto + 5.5694 -1.567 lineto + 5.6988 -1.5674 lineto + 5.8283 -1.5679 lineto + 5.9578 -1.5682 lineto + 6.0872 -1.5685 lineto + 6.1735 -1.5687 lineto + 6.378103166302659 -0.8543 lineto + 6.378103166302659 -0.443 lineto + 6.378103166302659 -0.2253 lineto + 6.378103166302659 -0.1136 lineto + 6.378103166302659 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, 0.0) +newpath + 0.8047 -2.0344 moveto + 0.7331 -2.0719 lineto + 0.6645 -2.1113 lineto + 0.5991 -2.1523 lineto + 0.5372 -2.1949 lineto + 0.479 -2.2387 lineto + 0.4248 -2.2835 lineto + 0.3747 -2.3289 lineto + 0.3286 -2.3745 lineto + 0.2868 -2.4199 lineto + 0.249 -2.4648 lineto + 0.1851 -2.5517 lineto + 0.1354 -2.6328 lineto + 0.0978 -2.7065 lineto + 0.0699 -2.7721 lineto + 0.0495 -2.8295 lineto + 0.0245 -2.9212 lineto + 0.012 -2.9873 lineto + 0.0014 -3.0896 lineto + 0.0 -3.1416 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, -1.1579208923731617E77) +newpath + 0.8047 -2.0344 moveto + 0.8749 -2.0008 lineto + 0.9472 -1.969 lineto + 1.0215 -1.9391 lineto + 1.0974 -1.9111 lineto + 1.1748 -1.8848 lineto + 1.2535 -1.8603 lineto + 1.3333 -1.8376 lineto + 1.4141 -1.8164 lineto + 1.4957 -1.7968 lineto + 1.578 -1.7787 lineto + 1.6609 -1.7619 lineto + 1.7443 -1.7465 lineto + 1.8282 -1.7322 lineto + 1.9124 -1.7191 lineto + 1.997 -1.707 lineto + 2.0819 -1.6958 lineto + 2.1669 -1.6856 lineto + 2.2522 -1.6762 lineto + 2.3376 -1.6675 lineto + 2.4232 -1.6596 lineto + 2.5089 -1.6522 lineto + 2.5947 -1.6455 lineto + 2.6805 -1.6394 lineto + 2.7664 -1.6337 lineto + 2.8524 -1.6285 lineto + 2.9385 -1.6238 lineto + 3.0246 -1.6194 lineto + 3.1107 -1.6154 lineto + 3.1968 -1.6117 lineto + 3.283 -1.6083 lineto + 3.3692 -1.6052 lineto + 3.4554 -1.6024 lineto + 3.5416 -1.5998 lineto + 3.6279 -1.5974 lineto + 3.7141 -1.5952 lineto + 3.8004 -1.5932 lineto + 3.8866 -1.5913 lineto + 3.9729 -1.5896 lineto + 4.0592 -1.5881 lineto + 4.1455 -1.5866 lineto + 4.2318 -1.5853 lineto + 4.318 -1.5841 lineto + 4.4043 -1.583 lineto + 4.4906 -1.582 lineto + 4.5769 -1.5811 lineto + 4.6632 -1.5802 lineto + 4.7495 -1.5795 lineto + 4.8358 -1.5787 lineto + 4.9221 -1.5781 lineto + 5.0084 -1.5775 lineto + 5.0947 -1.5769 lineto + 5.181 -1.5764 lineto + 5.2673 -1.576 lineto + 5.3536 -1.5755 lineto + 5.4399 -1.5751 lineto + 5.5694 -1.5746 lineto + 5.6988 -1.5741 lineto + 5.8283 -1.5737 lineto + 5.9578 -1.5734 lineto + 6.0872 -1.5731 lineto + 6.1735 -1.5729 lineto + 6.378103166302659 -0.8543 lineto + 6.378103166302659 -0.443 lineto + 6.378103166302659 -0.2253 lineto + 6.378103166302659 -0.1136 lineto + 6.378103166302659 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, -1.1579208923731617E77) +newpath + 0.6931 0.0 moveto + 0.6994 -0.112 lineto + 0.7112 -0.1893 lineto + 0.7291 -0.2667 lineto + 0.753 -0.3425 lineto + 0.7765 -0.4026 lineto + 0.8082 -0.4705 lineto + 0.8501 -0.5458 lineto + 0.9045 -0.6275 lineto + 0.9731 -0.7138 lineto + 1.0131 -0.758 lineto + 1.057 -0.8024 lineto + 1.1048 -0.8466 lineto + 1.1565 -0.8903 lineto + 1.212 -0.9333 lineto + 1.2711 -0.9752 lineto + 1.3336 -1.0157 lineto + 1.3992 -1.0546 lineto + 1.4678 -1.0918 lineto + 1.539 -1.1272 lineto + 1.6125 -1.1606 lineto + 1.6882 -1.1921 lineto + 1.7657 -1.2216 lineto + 1.8448 -1.2492 lineto + 1.9254 -1.2749 lineto + 2.0072 -1.2987 lineto + 2.09 -1.3208 lineto + 2.1738 -1.3413 lineto + 2.2583 -1.3602 lineto + 2.3435 -1.3776 lineto + 2.4293 -1.3937 lineto + 2.5155 -1.4084 lineto + 2.6021 -1.422 lineto + 2.6891 -1.4345 lineto + 2.7763 -1.4459 lineto + 2.8638 -1.4564 lineto + 2.9515 -1.4661 lineto + 3.0394 -1.4749 lineto + 3.1274 -1.483 lineto + 3.2156 -1.4904 lineto + 3.3038 -1.4972 lineto + 3.3921 -1.5035 lineto + 3.4805 -1.5092 lineto + 3.5689 -1.5144 lineto + 3.6574 -1.5192 lineto + 3.746 -1.5236 lineto + 3.8346 -1.5276 lineto + 3.9232 -1.5312 lineto + 4.0118 -1.5346 lineto + 4.1005 -1.5377 lineto + 4.1891 -1.5405 lineto + 4.2778 -1.543 lineto + 4.3665 -1.5454 lineto + 4.4552 -1.5476 lineto + 4.5439 -1.5495 lineto + 4.6326 -1.5513 lineto + 4.7214 -1.553 lineto + 4.8101 -1.5545 lineto + 4.8988 -1.5559 lineto + 4.9876 -1.5572 lineto + 5.0763 -1.5583 lineto + 5.1651 -1.5594 lineto + 5.2538 -1.5603 lineto + 5.3426 -1.5612 lineto + 5.4313 -1.562 lineto + 5.5201 -1.5628 lineto + 5.6088 -1.5635 lineto + 5.6976 -1.5641 lineto + 5.7863 -1.5647 lineto + 5.8751 -1.5652 lineto + 5.9639 -1.5657 lineto + 6.0526 -1.5661 lineto + 6.1414 -1.5665 lineto + 6.2473 -1.5712 lineto + 6.378103166302659 -0.5482 lineto + 6.378103166302659 -0.2459 lineto + 6.378103166302659 -0.1169 lineto + 6.378103166302659 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, -1.1579208923731617E77) +newpath + 0.6931 -3.1416 moveto + 0.6994 -3.0296 lineto + 0.7112 -2.9523 lineto + 0.7291 -2.8749 lineto + 0.753 -2.7991 lineto + 0.7765 -2.739 lineto + 0.8082 -2.6711 lineto + 0.8501 -2.5958 lineto + 0.9045 -2.5141 lineto + 0.9731 -2.4277 lineto + 1.0131 -2.3836 lineto + 1.057 -2.3392 lineto + 1.1048 -2.295 lineto + 1.1565 -2.2513 lineto + 1.212 -2.2083 lineto + 1.2711 -2.1664 lineto + 1.3336 -2.1259 lineto + 1.3992 -2.087 lineto + 1.4678 -2.0498 lineto + 1.539 -2.0144 lineto + 1.6125 -1.981 lineto + 1.6882 -1.9495 lineto + 1.7657 -1.92 lineto + 1.8448 -1.8924 lineto + 1.9254 -1.8667 lineto + 2.0072 -1.8429 lineto + 2.09 -1.8208 lineto + 2.1738 -1.8003 lineto + 2.2583 -1.7814 lineto + 2.3435 -1.764 lineto + 2.4293 -1.7479 lineto + 2.5155 -1.7332 lineto + 2.6021 -1.7196 lineto + 2.6891 -1.7071 lineto + 2.7763 -1.6957 lineto + 2.8638 -1.6851 lineto + 2.9515 -1.6755 lineto + 3.0394 -1.6667 lineto + 3.1274 -1.6586 lineto + 3.2156 -1.6511 lineto + 3.3038 -1.6444 lineto + 3.3921 -1.6381 lineto + 3.4805 -1.6324 lineto + 3.5689 -1.6272 lineto + 3.6574 -1.6224 lineto + 3.746 -1.618 lineto + 3.8346 -1.614 lineto + 3.9232 -1.6104 lineto + 4.0118 -1.607 lineto + 4.1005 -1.6039 lineto + 4.1891 -1.6011 lineto + 4.2778 -1.5985 lineto + 4.3665 -1.5962 lineto + 4.4552 -1.594 lineto + 4.5439 -1.5921 lineto + 4.6326 -1.5903 lineto + 4.7214 -1.5886 lineto + 4.8101 -1.5871 lineto + 4.8988 -1.5857 lineto + 4.9876 -1.5844 lineto + 5.0763 -1.5833 lineto + 5.1651 -1.5822 lineto + 5.2538 -1.5813 lineto + 5.3426 -1.5804 lineto + 5.4313 -1.5796 lineto + 5.5201 -1.5788 lineto + 5.6088 -1.5781 lineto + 5.6976 -1.5775 lineto + 5.7863 -1.5769 lineto + 5.8751 -1.5764 lineto + 5.9639 -1.5759 lineto + 6.0526 -1.5755 lineto + 6.1414 -1.5751 lineto + 6.2455 -1.5786 lineto + 6.378103166302659 -0.5482 lineto + 6.378103166302659 -0.2459 lineto + 6.378103166302659 -0.1169 lineto + 6.378103166302659 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, -1.1579208923731617E77) +newpath + 1.0986 0.0 moveto + 1.1014 -0.0748 lineto + 1.1101 -0.1514 lineto + 1.1217 -0.2142 lineto + 1.1446 -0.3008 lineto + 1.1745 -0.3847 lineto + 1.2037 -0.4504 lineto + 1.2425 -0.5237 lineto + 1.2932 -0.6038 lineto + 1.3575 -0.689 lineto + 1.4157 -0.755 lineto + 1.4593 -0.7993 lineto + 1.5069 -0.8436 lineto + 1.5584 -0.8874 lineto + 1.6136 -0.9304 lineto + 1.6724 -0.9723 lineto + 1.7347 -1.0129 lineto + 1.8001 -1.052 lineto + 1.8685 -1.0893 lineto + 1.9395 -1.1248 lineto + 2.0129 -1.1584 lineto + 2.0884 -1.19 lineto + 2.1658 -1.2196 lineto + 2.2448 -1.2474 lineto + 2.3253 -1.2732 lineto + 2.407 -1.2971 lineto + 2.4898 -1.3194 lineto + 2.5735 -1.34 lineto + 2.658 -1.359 lineto + 2.7431 -1.3765 lineto + 2.8289 -1.3926 lineto + 2.9151 -1.4075 lineto + 3.0017 -1.4211 lineto + 3.0886 -1.4337 lineto + 3.1759 -1.4452 lineto + 3.2633 -1.4558 lineto + 3.351 -1.4655 lineto + 3.4389 -1.4743 lineto + 3.5269 -1.4825 lineto + 3.615 -1.49 lineto + 3.7032 -1.4968 lineto + 3.7915 -1.5031 lineto + 3.8799 -1.5088 lineto + 3.9684 -1.5141 lineto + 4.0569 -1.5189 lineto + 4.1454 -1.5233 lineto + 4.234 -1.5273 lineto + 4.3226 -1.531 lineto + 4.4112 -1.5344 lineto + 4.4999 -1.5375 lineto + 4.5885 -1.5403 lineto + 4.6772 -1.5429 lineto + 4.7659 -1.5452 lineto + 4.8546 -1.5474 lineto + 4.9433 -1.5494 lineto + 5.0321 -1.5512 lineto + 5.1208 -1.5529 lineto + 5.2095 -1.5544 lineto + 5.2983 -1.5558 lineto + 5.387 -1.5571 lineto + 5.4757 -1.5582 lineto + 5.5645 -1.5593 lineto + 5.6532 -1.5603 lineto + 5.742 -1.5612 lineto + 5.8307 -1.562 lineto + 5.9195 -1.5627 lineto + 6.0082 -1.5634 lineto + 6.097 -1.564 lineto + 6.2452 -1.5797 lineto + 6.378103166302659 -0.5482 lineto + 6.378103166302659 -0.2459 lineto + 6.378103166302659 -0.1169 lineto + 6.378103166302659 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, -1.1579208923731617E77) +newpath + 1.0986 -3.1416 moveto + 1.1014 -3.0668 lineto + 1.1101 -2.9902 lineto + 1.1217 -2.9274 lineto + 1.1446 -2.8408 lineto + 1.1745 -2.7569 lineto + 1.2037 -2.6912 lineto + 1.2425 -2.6179 lineto + 1.2932 -2.5378 lineto + 1.3575 -2.4526 lineto + 1.4157 -2.3866 lineto + 1.4593 -2.3423 lineto + 1.5069 -2.298 lineto + 1.5584 -2.2542 lineto + 1.6136 -2.2112 lineto + 1.6724 -2.1693 lineto + 1.7347 -2.1286 lineto + 1.8001 -2.0896 lineto + 1.8685 -2.0523 lineto + 1.9395 -2.0168 lineto + 2.0129 -1.9832 lineto + 2.0884 -1.9516 lineto + 2.1658 -1.9219 lineto + 2.2448 -1.8942 lineto + 2.3253 -1.8684 lineto + 2.407 -1.8444 lineto + 2.4898 -1.8222 lineto + 2.5735 -1.8016 lineto + 2.658 -1.7826 lineto + 2.7431 -1.7651 lineto + 2.8289 -1.749 lineto + 2.9151 -1.7341 lineto + 3.0017 -1.7205 lineto + 3.0886 -1.7079 lineto + 3.1759 -1.6964 lineto + 3.2633 -1.6858 lineto + 3.351 -1.6761 lineto + 3.4389 -1.6672 lineto + 3.5269 -1.6591 lineto + 3.615 -1.6516 lineto + 3.7032 -1.6448 lineto + 3.7915 -1.6385 lineto + 3.8799 -1.6328 lineto + 3.9684 -1.6275 lineto + 4.0569 -1.6227 lineto + 4.1454 -1.6183 lineto + 4.234 -1.6143 lineto + 4.3226 -1.6106 lineto + 4.4112 -1.6072 lineto + 4.4999 -1.6041 lineto + 4.5885 -1.6013 lineto + 4.6772 -1.5987 lineto + 4.7659 -1.5963 lineto + 4.8546 -1.5942 lineto + 4.9433 -1.5922 lineto + 5.0321 -1.5904 lineto + 5.1208 -1.5887 lineto + 5.2095 -1.5872 lineto + 5.2983 -1.5858 lineto + 5.387 -1.5845 lineto + 5.4757 -1.5834 lineto + 5.5645 -1.5823 lineto + 5.6532 -1.5813 lineto + 5.742 -1.5804 lineto + 5.8307 -1.5796 lineto + 5.9195 -1.5789 lineto + 6.0082 -1.5782 lineto + 6.097 -1.5775 lineto + 6.2422 -1.5914 lineto + 6.378103166302659 -0.5482 lineto + 6.378103166302659 -0.2459 lineto + 6.378103166302659 -0.1169 lineto + 6.378103166302659 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Real axis +newpath -5 0 moveto 5 0 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 1.0 0.12 moveto 1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.0 0.12 moveto -1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 2.0 0.12 moveto 2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -2.0 0.12 moveto -2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.0 0.12 moveto 3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.0 0.12 moveto -3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 4.0 0.12 moveto 4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -4.0 0.12 moveto -4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 1.5707963267948966 0.09 moveto 1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.5707963267948966 0.09 moveto -1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.141592653589793 0.09 moveto 3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.141592653589793 0.09 moveto -3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +% Imaginary axis +newpath 0 -5 moveto 0 5 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 0.12 1.0 moveto -0.12 1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -1.0 moveto -0.12 -1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 2.0 moveto -0.12 2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -2.0 moveto -0.12 -2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 3.0 moveto -0.12 3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -3.0 moveto -0.12 -3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 4.0 moveto -0.12 4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -4.0 moveto -0.12 -4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 1.5707963267948966 moveto -0.09 1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -1.5707963267948966 moveto -0.09 -1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 3.141592653589793 moveto -0.09 3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -3.141592653589793 moveto -0.09 -3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +% End of PostScript file for plot of function LOG +%%EndDocument + @endspecial 262 x(The)d Fj(log)e FA(function,)j(whic)o(h)g(is)f(the)g +(in)o(v)o(erse)h(of)f Fj(exp)p FA(,)e(naturally)k(maps)e(radial)i +(lines)f(to)f(horizon-)0 2074 y(tal)j(lines)h(and)f(circles)h(cen)o +(tered)f(at)f(the)h(origin)h(to)e(v)o(ertical)i(lines.)20 +b(The)13 b(in)o(terior)i(of)e(the)h(unit)0 2120 y(circle)f(is)g(th)o +(us)g(mapp)q(ed)g(to)f(the)g(en)o(tire)h(left)g(half-plane,)h(and)e +(the)h(exterior)g(of)f(the)g(unit)h(circle)0 2165 y(is)j(mapp)q(ed)h +(to)f(the)g(righ)o(t)h(half-plane.)27 b(The)16 b(p)q(ositiv)o(e)h(real) +g(axis)g(is)f(mapp)q(ed)h(to)f(the)g(en)o(tire)0 2211 +y(real)g(axis,)g(and)g(the)f(negativ)o(e)h(real)g(axis)g(to)f(a)g +(horizon)o(tal)j(line)e(of)f(heigh)o(t)h Fd(\031)q FA(.)24 +b(The)14 b(p)q(ositiv)o(e)0 2257 y(and)i(negativ)o(e)h(imaginary)h +(axes)d(are)h(mapp)q(ed)g(to)g(horizon)o(tal)h(lines)g(of)f(heigh)o(t)g +Ff(\006)p Fd(\031)q(=)p FA(2.)25 b(The)0 2302 y(origin)15 +b(is)e(mapp)q(ed)i(to)e Ff(\0001)p FA(.)p 0 2332 V -33 +2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 345 369 +345 368 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(345)p +0 255 1395 2 v 0 324 a Fm(Figure)14 b(12-5:)j FA(Illustration)f(of)d +(the)g(Range)h(of)f(the)g(F)m(unction)h(\()p Fq(z)f Ff(\000)8 +b FA(1\))p Fd(=)p FA(\()p Fq(z)14 b FA(+)8 b(1\))0 1770 +y @beginspecial @setspecial +%%BeginDocument: minus-over-plus-plot.ps +% PostScript file for plot of function ONE-MINUS-OVER-ONE-PLUS +% Plot is to fit in a region 4.666666666666667 inches square +% showing axes extending 4.1 units from the origin. + +40.97560975609756 40.97560975609756 scale +4.1 4.1 translate +newpath + -4.1 -4.1 moveto + 4.1 -4.1 lineto + 4.1 4.1 lineto + -4.1 4.1 lineto + closepath +clip +% Moby grid for function ONE-MINUS-OVER-ONE-PLUS +% Annulus 0.25 0.5 4 0.97 0.45 +% Sector from 4.7124 to 6.2832 (quadrant 3) +newpath + 0.8824 0.4706 moveto + 0.8286 0.5599 lineto + 0.794 0.6079 lineto + 0.7534 0.6575 lineto + %middle radial + 0.7534 0.6575 lineto + 0.6842 0.7293 lineto + 0.6 0.8 lineto + %end radial + 0.6 0.8 lineto + 0.5789 0.771 lineto + 0.5404 0.7137 lineto + 0.5066 0.6573 lineto + 0.4768 0.6017 lineto + 0.4507 0.547 lineto + 0.4176 0.4665 lineto + 0.3832 0.3613 lineto + %middle circumferential + 0.3832 0.3613 lineto + 0.3613 0.2715 lineto + 0.3458 0.182 lineto + 0.3365 0.0919 lineto + 0.3333 0.0 lineto + %end circumferential + 0.3333 0.0 lineto + 0.4545 0.0 lineto + %middle radial + 0.4545 0.0 lineto + 0.6 0.0 lineto + %end radial + 0.6 0.0 lineto + 0.6041 0.066 lineto + 0.616 0.1297 lineto + 0.6354 0.191 lineto + 0.6621 0.2497 lineto + %middle circumferential + 0.6621 0.2497 lineto + 0.702 0.3137 lineto + 0.7519 0.3728 lineto + 0.812 0.4257 lineto + 0.8824 0.4706 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 3.1416 to 4.7124 (quadrant 2) +newpath + 1.6667 0.0 moveto + 2.2 0.0 lineto + %middle radial + 2.2 0.0 lineto + 3.0 0.0 lineto + %end radial + 3.0 0.0 lineto + 2.9993 0.0439 lineto + 2.9935 0.1318 lineto + 2.9818 0.2195 lineto + 2.9643 0.3065 lineto + 2.9411 0.3921 lineto + 2.9122 0.4757 lineto + 2.8781 0.557 lineto + 2.8388 0.6354 lineto + 2.7949 0.7105 lineto + 2.7467 0.7819 lineto + 2.6945 0.8493 lineto + 2.6389 0.9124 lineto + 2.5804 0.971 lineto + 2.5193 1.0251 lineto + 2.4562 1.0744 lineto + 2.3915 1.1191 lineto + 2.3257 1.1591 lineto + 2.2591 1.1945 lineto + 2.1922 1.2254 lineto + 2.1254 1.252 lineto + 2.0588 1.2744 lineto + 1.9928 1.2928 lineto + 1.9277 1.3075 lineto + 1.8637 1.3187 lineto + 1.8009 1.3266 lineto + 1.7396 1.3313 lineto + 1.6797 1.3333 lineto + 1.5931 1.3313 lineto + 1.4837 1.3207 lineto + 1.3815 1.3025 lineto + %middle circumferential + 1.3815 1.3025 lineto + 1.3034 1.2829 lineto + 1.2301 1.2598 lineto + 1.1615 1.2339 lineto + 1.0973 1.2057 lineto + 1.0375 1.1755 lineto + 0.9817 1.1439 lineto + 0.9298 1.1112 lineto + 0.8815 1.0776 lineto + 0.7948 1.0088 lineto + 0.7201 0.939 lineto + 0.6556 0.8692 lineto + 0.6 0.8 lineto + %end circumferential + 0.6 0.8 lineto + 0.6842 0.7293 lineto + 0.7534 0.6575 lineto + %middle radial + 0.7534 0.6575 lineto + 0.794 0.6079 lineto + 0.8286 0.5599 lineto + 0.8824 0.4706 lineto + %end radial + 0.8824 0.4706 lineto + 0.9287 0.4925 lineto + 1.031 0.5234 lineto + 1.144 0.5332 lineto + 1.2031 0.5288 lineto + 1.2629 0.5174 lineto + 1.3224 0.4987 lineto + %middle circumferential + 1.3224 0.4987 lineto + 1.3932 0.4657 lineto + 1.4599 0.4217 lineto + 1.5201 0.3673 lineto + 1.5717 0.3038 lineto + 1.6131 0.233 lineto + 1.643 0.1571 lineto + 1.6608 0.0786 lineto + 1.6667 0.0 lineto + %end circumferential + closepath +currentgray 0.6233333333333334 setgray fill setgray +% Sector from 1.5708 to 3.1416 (quadrant 1) +newpath + 0.8824 -0.4706 moveto + 0.8286 -0.5599 lineto + 0.794 -0.6079 lineto + 0.7534 -0.6575 lineto + %middle radial + 0.7534 -0.6575 lineto + 0.6842 -0.7293 lineto + 0.6 -0.8 lineto + %end radial + 0.6 -0.8 lineto + 0.62 -0.826 lineto + 0.6659 -0.8811 lineto + 0.7216 -0.9405 lineto + 0.7896 -1.0043 lineto + 0.8738 -1.0719 lineto + 0.9233 -1.1069 lineto + 0.9789 -1.1422 lineto + 1.0413 -1.1776 lineto + 1.1115 -1.2123 lineto + 1.1908 -1.2455 lineto + 1.2803 -1.2761 lineto + 1.3815 -1.3025 lineto + %middle circumferential + 1.3815 -1.3025 lineto + 1.4611 -1.3174 lineto + 1.5477 -1.328 lineto + 1.6417 -1.3331 lineto + 1.7435 -1.3311 lineto + 1.853 -1.3202 lineto + 1.9401 -1.305 lineto + 2.0005 -1.2909 lineto + 2.0625 -1.2732 lineto + 2.126 -1.2517 lineto + 2.1909 -1.226 lineto + 2.2567 -1.1957 lineto + 2.3233 -1.1604 lineto + 2.3903 -1.1199 lineto + 2.4571 -1.0738 lineto + 2.5233 -1.0218 lineto + 2.5882 -0.9636 lineto + 2.6512 -0.8991 lineto + 2.7116 -0.8282 lineto + 2.7685 -0.7509 lineto + 2.8211 -0.6672 lineto + 2.8685 -0.5774 lineto + 2.9098 -0.482 lineto + 2.9443 -0.3814 lineto + 2.971 -0.2764 lineto + 2.9894 -0.1677 lineto + 2.9988 -0.0563 lineto + 3.0 0.0 lineto + %end circumferential + 3.0 0.0 lineto + 2.2 0.0 lineto + %middle radial + 2.2 0.0 lineto + 1.6667 0.0 lineto + %end radial + 1.6667 0.0 lineto + 1.6576 -0.0979 lineto + 1.6323 -0.1883 lineto + 1.5942 -0.2685 lineto + 1.5467 -0.337 lineto + 1.4932 -0.3936 lineto + 1.4366 -0.4387 lineto + 1.3791 -0.4733 lineto + 1.3224 -0.4987 lineto + %middle circumferential + 1.3224 -0.4987 lineto + 1.246 -0.5213 lineto + 1.1753 -0.5317 lineto + 1.1112 -0.5329 lineto + 1.0027 -0.5171 lineto + 0.9176 -0.4877 lineto + 0.8824 -0.4706 lineto + %end circumferential + closepath +currentgray 0.7966666666666668 setgray fill setgray +% Sector from 0.0 to 1.5708 (quadrant 0) +newpath + 0.6 0.0 moveto + 0.4545 0.0 lineto + %middle radial + 0.4545 0.0 lineto + 0.3333 0.0 lineto + %end radial + 0.3333 0.0 lineto + 0.3339 -0.0395 lineto + 0.3386 -0.1179 lineto + 0.3492 -0.2049 lineto + 0.3671 -0.2982 lineto + 0.3832 -0.3613 lineto + %middle circumferential + 0.3832 -0.3613 lineto + 0.4066 -0.4359 lineto + 0.4427 -0.5289 lineto + 0.4682 -0.5844 lineto + 0.5009 -0.6471 lineto + 0.5435 -0.7185 lineto + 0.6 -0.8 lineto + %end circumferential + 0.6 -0.8 lineto + 0.6842 -0.7293 lineto + 0.7534 -0.6575 lineto + %middle radial + 0.7534 -0.6575 lineto + 0.794 -0.6079 lineto + 0.8286 -0.5599 lineto + 0.8824 -0.4706 lineto + %end radial + 0.8824 -0.4706 lineto + 0.8315 -0.4397 lineto + 0.757 -0.3779 lineto + 0.7077 -0.3213 lineto + 0.6621 -0.2497 lineto + %middle circumferential + 0.6621 -0.2497 lineto + 0.6293 -0.1744 lineto + 0.6067 -0.0845 lineto + 0.6002 -0.0138 lineto + 0.6 0.0 lineto + %end circumferential + closepath +currentgray 0.9700000000000001 setgray fill setgray +% Annulus 0.75 1.0 8 0.97 0.45 +% Sector from 5.4978 to 6.2832 (quadrant 3) +newpath + 0.1668 0.4043 moveto + 0.078 0.4121 lineto + %middle radial + 0.078 0.4121 lineto + 0.0 0.4142 lineto + %end radial + 0.0 0.4142 lineto + 0.0 0.3052 lineto + 0.0 0.1989 lineto + %middle circumferential + 0.0 0.1989 lineto + 0.0 0.0503 lineto + 0.0 0.0 lineto + %end circumferential + 0.0 0.0 lineto + 0.0667 0.0 lineto + %middle radial + 0.0667 0.0 lineto + 0.1429 0.0 lineto + %end radial + 0.1429 0.0 lineto + 0.1443 0.098 lineto + 0.1484 0.1947 lineto + %middle circumferential + 0.1484 0.1947 lineto + 0.1559 0.2984 lineto + 0.1668 0.4043 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 4.7124 to 5.4978 (quadrant 3) +newpath + 0.28 0.96 moveto + 0.2075 0.9782 lineto + 0.1327 0.9912 lineto + %middle radial + 0.1327 0.9912 lineto + 0.0667 0.9978 lineto + 0.0 1.0 lineto + %end radial + 0.0 1.0 lineto + 0.0 0.909 lineto + 0.0 0.6682 lineto + %middle circumferential + 0.0 0.6682 lineto + 0.0 0.6012 lineto + 0.0 0.5369 lineto + 0.0 0.4746 lineto + 0.0 0.4142 lineto + %end circumferential + 0.0 0.4142 lineto + 0.078 0.4121 lineto + %middle radial + 0.078 0.4121 lineto + 0.1668 0.4043 lineto + %end radial + 0.1668 0.4043 lineto + 0.1742 0.4628 lineto + 0.183 0.5228 lineto + 0.1931 0.5846 lineto + 0.2048 0.6486 lineto + %middle circumferential + 0.2048 0.6486 lineto + 0.2194 0.7206 lineto + 0.2366 0.7961 lineto + 0.2566 0.8757 lineto + 0.28 0.96 lineto + %end circumferential + closepath +currentgray 0.5242857142857142 setgray fill setgray +% Sector from 3.927 to 4.7124 (quadrant 2) +newpath + 0.8718 2.1135 moveto + 0.8253 2.1484 lineto + 0.7767 2.1818 lineto + 0.726 2.2136 lineto + 0.6732 2.2437 lineto + 0.6185 2.2718 lineto + 0.5619 2.2978 lineto + 0.5036 2.3215 lineto + 0.4437 2.3428 lineto + %middle radial + 0.4437 2.3428 lineto + 0.3367 2.3735 lineto + 0.2264 2.396 lineto + 0.1138 2.4096 lineto + 0.0 2.4142 lineto + %end radial + 0.0 2.4142 lineto + 0.0 2.3748 lineto + 0.0 2.2264 lineto + 0.0 2.0912 lineto + 0.0 2.0281 lineto + 0.0 1.9676 lineto + 0.0 1.4966 lineto + %middle circumferential + 0.0 1.4966 lineto + 0.0 1.1936 lineto + 0.0 1.0523 lineto + 0.0 1.0 lineto + %end circumferential + 0.0 1.0 lineto + 0.0667 0.9978 lineto + 0.1327 0.9912 lineto + %middle radial + 0.1327 0.9912 lineto + 0.2075 0.9782 lineto + 0.28 0.96 lineto + %end radial + 0.28 0.96 lineto + 0.3101 1.0579 lineto + 0.3462 1.1633 lineto + 0.367 1.2192 lineto + 0.3898 1.2775 lineto + 0.4149 1.3384 lineto + 0.4426 1.402 lineto + %middle circumferential + 0.4426 1.402 lineto + 0.4764 1.4751 lineto + 0.5143 1.552 lineto + 0.5568 1.6332 lineto + 0.6049 1.7189 lineto + 0.6592 1.8094 lineto + 0.7209 1.9051 lineto + 0.7549 1.9551 lineto + 0.7913 2.0064 lineto + 0.8301 2.0592 lineto + 0.8718 2.1135 lineto + %end circumferential + closepath +currentgray 0.5985714285714285 setgray fill setgray +% Sector from 3.1416 to 3.927 (quadrant 2) +newpath + 6.378103166302659 0.0 moveto + 6.378103166302659 0.0 lineto + %middle radial + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + %start splice + 6.378103166302659 6.378103166302659 lineto + 6.378103166302659 6.378103166302659 lineto + 6.378103166302659 6.378103166302659 lineto + 6.378103166302659 6.378103166302659 lineto + 6.378103166302659 6.378103166302659 lineto + 6.378103166302659 6.378103166302659 lineto + 6.378103166302659 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + %end splice + %end radial + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.3754 lineto + 0.0 6.2781 lineto + 0.0 6.1219 lineto + 0.0 5.8583 lineto + 0.0 5.694 lineto + 0.0 5.4382 lineto + 0.0 5.2483 lineto + 0.0 5.1137 lineto + 0.0 5.0273 lineto + %middle circumferential + 0.0 5.0273 lineto + 0.0 4.8071 lineto + 0.0 4.6366 lineto + 0.0 4.5714 lineto + 0.0 4.5078 lineto + 0.0 4.4153 lineto + 0.0 4.2402 lineto + 0.0 4.077 lineto + 0.0 3.9742 lineto + 0.0 3.8283 lineto + 0.0 3.6915 lineto + 0.0 3.6049 lineto + 0.0 3.5217 lineto + 0.0 3.4418 lineto + 0.0 3.3649 lineto + 0.0 3.2548 lineto + 0.0 2.8984 lineto + 0.0 2.7034 lineto + 0.0 2.5525 lineto + 0.0 2.4142 lineto + %end circumferential + 0.0 2.4142 lineto + 0.1138 2.4096 lineto + 0.2264 2.396 lineto + 0.3367 2.3735 lineto + 0.4437 2.3428 lineto + %middle radial + 0.4437 2.3428 lineto + 0.5036 2.3215 lineto + 0.5619 2.2978 lineto + 0.6185 2.2718 lineto + 0.6732 2.2437 lineto + 0.726 2.2136 lineto + 0.7767 2.1818 lineto + 0.8253 2.1484 lineto + 0.8718 2.1135 lineto + %end radial + 0.8718 2.1135 lineto + 0.9213 2.1753 lineto + 0.9749 2.239 lineto + 1.0329 2.3045 lineto + 1.0957 2.3719 lineto + 1.164 2.4412 lineto + 1.2381 2.5121 lineto + 1.3188 2.5847 lineto + 1.4067 2.6588 lineto + 1.4536 2.6963 lineto + 1.5026 2.7341 lineto + 1.5538 2.772 lineto + 1.6073 2.8102 lineto + 1.6632 2.8485 lineto + 1.7216 2.8868 lineto + 1.7828 2.925 lineto + 1.8467 2.9632 lineto + 1.9136 3.0011 lineto + 1.9835 3.0387 lineto + 2.0567 3.0758 lineto + 2.1332 3.1123 lineto + 2.2133 3.1481 lineto + 2.2971 3.1829 lineto + 2.3846 3.2166 lineto + 2.4762 3.2489 lineto + %middle circumferential + 2.4762 3.2489 lineto + 2.5835 3.2832 lineto + 2.6675 3.3073 lineto + 2.7252 3.3225 lineto + 2.7843 3.337 lineto + 2.8448 3.3507 lineto + 2.9068 3.3635 lineto + 2.9703 3.3755 lineto + 3.0352 3.3864 lineto + 3.1017 3.3962 lineto + 3.1697 3.4049 lineto + 3.2392 3.4124 lineto + 3.3102 3.4186 lineto + 3.3827 3.4234 lineto + 3.4569 3.4267 lineto + 3.5325 3.4284 lineto + 3.6097 3.4284 lineto + 3.6884 3.4266 lineto + 3.7686 3.4229 lineto + 3.8503 3.4172 lineto + 3.9334 3.4094 lineto + 4.0179 3.3994 lineto + 4.1039 3.387 lineto + 4.1911 3.3721 lineto + 4.2796 3.3546 lineto + 4.3693 3.3345 lineto + 4.4601 3.3114 lineto + 4.5519 3.2854 lineto + 4.6446 3.2563 lineto + 4.7382 3.2239 lineto + 4.8325 3.1882 lineto + 4.9273 3.1491 lineto + 5.0225 3.1063 lineto + 5.1181 3.0599 lineto + 5.2137 3.0097 lineto + 5.3092 2.9555 lineto + 5.4045 2.8974 lineto + 5.4993 2.8352 lineto + 5.5933 2.7689 lineto + 5.6633 2.7164 lineto + 5.7096 2.6801 lineto + 5.7557 2.6428 lineto + 5.8013 2.6043 lineto + 5.8992 2.5879 lineto + 6.378103166302659 0.0 lineto + %end circumferential + closepath +currentgray 0.6728571428571428 setgray fill setgray +% Sector from 2.3562 to 3.1416 (quadrant 1) +newpath + 0.8718 -2.1135 moveto + 0.8253 -2.1484 lineto + 0.7767 -2.1818 lineto + 0.726 -2.2136 lineto + 0.6732 -2.2437 lineto + 0.6185 -2.2718 lineto + 0.5619 -2.2978 lineto + 0.5036 -2.3215 lineto + 0.4437 -2.3428 lineto + %middle radial + 0.4437 -2.3428 lineto + 0.3367 -2.3735 lineto + 0.2264 -2.396 lineto + 0.1138 -2.4096 lineto + 0.0 -2.4142 lineto + %end radial + 0.0 -2.4142 lineto + 0.0 -2.5799 lineto + 0.0 -2.6717 lineto + 0.0 -2.8225 lineto + 0.0 -3.0527 lineto + 0.0 -3.2171 lineto + 0.0 -3.2881 lineto + 0.0 -3.4008 lineto + 0.0 -3.4805 lineto + 0.0 -3.564 lineto + 0.0 -3.8921 lineto + 0.0 -3.9976 lineto + 0.0 -4.1971 lineto + 0.0 -4.3206 lineto + 0.0 -4.3853 lineto + 0.0 -4.5917 lineto + 0.0 -4.7026 lineto + 0.0 -4.7797 lineto + 0.0 -4.8594 lineto + 0.0 -4.9419 lineto + 0.0 -5.0273 lineto + %middle circumferential + 0.0 -5.0273 lineto + 0.0 -5.1035 lineto + 0.0 -5.1821 lineto + 0.0 -5.2632 lineto + 0.0 -5.4335 lineto + 0.0 -5.569 lineto + 0.0 -5.7608 lineto + 0.0 -5.8619 lineto + 0.0 -6.0206 lineto + 0.0 -6.276 lineto + 0.0 -6.3662 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + %start splice + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 0.0 lineto + %end splice + %end circumferential + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + %middle radial + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + %end radial + 6.378103166302659 0.0 lineto + 6.0745 -2.1444 lineto + 5.8216 -2.5868 lineto + 5.7742 -2.6274 lineto + 5.7264 -2.6667 lineto + 5.6784 -2.7048 lineto + 5.6302 -2.7416 lineto + 5.5818 -2.7773 lineto + 5.5333 -2.8118 lineto + 5.4847 -2.8451 lineto + 5.4116 -2.8929 lineto + 5.3141 -2.9527 lineto + 5.2167 -3.008 lineto + 5.1195 -3.0592 lineto + 5.0228 -3.1062 lineto + 4.9268 -3.1493 lineto + 4.8316 -3.1886 lineto + 4.7374 -3.2242 lineto + 4.6442 -3.2564 lineto + 4.5521 -3.2853 lineto + 4.4614 -3.3111 lineto + 4.372 -3.3338 lineto + 4.284 -3.3537 lineto + 4.1974 -3.3709 lineto + 4.1125 -3.3856 lineto + 4.029 -3.3979 lineto + 3.9472 -3.4079 lineto + 3.867 -3.4158 lineto + 3.7884 -3.4217 lineto + 3.7115 -3.4257 lineto + 3.6362 -3.428 lineto + 3.5625 -3.4286 lineto + 3.4906 -3.4276 lineto + 3.4202 -3.4252 lineto + 3.3515 -3.4215 lineto + 3.2843 -3.4165 lineto + 3.2188 -3.4104 lineto + 3.1548 -3.4032 lineto + 3.0924 -3.3949 lineto + 3.0315 -3.3858 lineto + 2.972 -3.3758 lineto + 2.8856 -3.3593 lineto + 2.7753 -3.3349 lineto + 2.6705 -3.3081 lineto + 2.5709 -3.2793 lineto + 2.4762 -3.2489 lineto + %middle circumferential + 2.4762 -3.2489 lineto + 2.3728 -3.2122 lineto + 2.2752 -3.1741 lineto + 2.1832 -3.135 lineto + 2.0964 -3.0951 lineto + 2.0145 -3.0547 lineto + 1.9372 -3.0141 lineto + 1.8642 -2.9733 lineto + 1.7952 -2.9326 lineto + 1.73 -2.8921 lineto + 1.6683 -2.8518 lineto + 1.6098 -2.812 lineto + 1.5545 -2.7726 lineto + 1.502 -2.7336 lineto + 1.4523 -2.6952 lineto + 1.4051 -2.6574 lineto + 1.3176 -2.5837 lineto + 1.2386 -2.5126 lineto + 1.1669 -2.4441 lineto + 1.1018 -2.3782 lineto + 1.0424 -2.315 lineto + 0.9883 -2.2544 lineto + 0.9387 -2.1963 lineto + 0.8931 -2.1405 lineto + 0.8718 -2.1135 lineto + %end circumferential + closepath +currentgray 0.7471428571428572 setgray fill setgray +% Sector from 1.5708 to 2.3562 (quadrant 1) +newpath + 0.28 -0.96 moveto + 0.2075 -0.9782 lineto + 0.1327 -0.9912 lineto + %middle radial + 0.1327 -0.9912 lineto + 0.0667 -0.9978 lineto + 0.0 -1.0 lineto + %end radial + 0.0 -1.0 lineto + 0.0 -1.0454 lineto + 0.0 -1.2357 lineto + 0.0 -1.3014 lineto + 0.0 -1.3736 lineto + 0.0 -1.4966 lineto + %middle circumferential + 0.0 -1.4966 lineto + 0.0 -1.6132 lineto + 0.0 -1.8509 lineto + 0.0 -2.0958 lineto + 0.0 -2.3692 lineto + 0.0 -2.4142 lineto + %end circumferential + 0.0 -2.4142 lineto + 0.1138 -2.4096 lineto + 0.2264 -2.396 lineto + 0.3367 -2.3735 lineto + 0.4437 -2.3428 lineto + %middle radial + 0.4437 -2.3428 lineto + 0.5036 -2.3215 lineto + 0.5619 -2.2978 lineto + 0.6185 -2.2718 lineto + 0.6732 -2.2437 lineto + 0.726 -2.2136 lineto + 0.7767 -2.1818 lineto + 0.8253 -2.1484 lineto + 0.8718 -2.1135 lineto + %end radial + 0.8718 -2.1135 lineto + 0.8477 -2.0823 lineto + 0.8027 -2.0222 lineto + 0.7618 -1.965 lineto + 0.7244 -1.9104 lineto + 0.6903 -1.8585 lineto + 0.6442 -1.785 lineto + 0.591 -1.6947 lineto + 0.5455 -1.612 lineto + 0.5063 -1.5362 lineto + 0.4723 -1.4664 lineto + 0.4426 -1.402 lineto + %middle circumferential + 0.4426 -1.402 lineto + 0.4111 -1.3295 lineto + 0.3841 -1.2633 lineto + 0.3606 -1.2025 lineto + 0.3402 -1.1464 lineto + 0.3065 -1.0465 lineto + 0.28 -0.96 lineto + %end circumferential + closepath +currentgray 0.8214285714285714 setgray fill setgray +% Sector from 0.7854 to 1.5708 (quadrant 0) +newpath + 0.1668 -0.4043 moveto + 0.078 -0.4121 lineto + %middle radial + 0.078 -0.4121 lineto + 0.0 -0.4142 lineto + %end radial + 0.0 -0.4142 lineto + 0.0 -0.5541 lineto + 0.0 -0.6682 lineto + %middle circumferential + 0.0 -0.6682 lineto + 0.0 -0.809 lineto + 0.0 -1.0 lineto + %end circumferential + 0.0 -1.0 lineto + 0.0667 -0.9978 lineto + 0.1327 -0.9912 lineto + %middle radial + 0.1327 -0.9912 lineto + 0.2075 -0.9782 lineto + 0.28 -0.96 lineto + %end radial + 0.28 -0.96 lineto + 0.2535 -0.8641 lineto + 0.2332 -0.782 lineto + 0.2174 -0.7109 lineto + 0.2048 -0.6486 lineto + %middle circumferential + 0.2048 -0.6486 lineto + 0.1911 -0.5729 lineto + 0.1808 -0.5084 lineto + 0.1668 -0.4043 lineto + %end circumferential + closepath +currentgray 0.8957142857142858 setgray fill setgray +% Sector from 0.0 to 0.7854 (quadrant 0) +newpath + 0.1429 0.0 moveto + 0.0667 0.0 lineto + %middle radial + 0.0667 0.0 lineto + 0.0 0.0 lineto + %end radial + 0.0 0.0 lineto + 0.0 -0.0462 lineto + 0.0 -0.1376 lineto + 0.0 -0.1989 lineto + %middle circumferential + 0.0 -0.1989 lineto + 0.0 -0.285 lineto + 0.0 -0.3765 lineto + 0.0 -0.4142 lineto + %end circumferential + 0.0 -0.4142 lineto + 0.078 -0.4121 lineto + %middle radial + 0.078 -0.4121 lineto + 0.1668 -0.4043 lineto + %end radial + 0.1668 -0.4043 lineto + 0.1626 -0.3678 lineto + 0.1542 -0.2788 lineto + 0.1484 -0.1947 lineto + %middle circumferential + 0.1484 -0.1947 lineto + 0.1455 -0.1348 lineto + 0.1432 -0.0453 lineto + 0.1429 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 1.5708 2.0 16 0.97 0.45 +% Sector from 5.8905 to 6.2832 (quadrant 3) +newpath + -0.2304 0.1887 moveto + -0.2922 0.1825 lineto + %middle radial + -0.2922 0.1825 lineto + -0.345 0.176 lineto + %end radial + -0.345 0.176 lineto + -0.3362 0.0875 lineto + %middle circumferential + -0.3362 0.0875 lineto + -0.3333 0.0 lineto + %end circumferential + -0.3333 0.0 lineto + -0.282 0.0 lineto + %middle radial + -0.282 0.0 lineto + -0.222 0.0 lineto + %end radial + -0.222 0.0 lineto + -0.2241 0.0936 lineto + %middle circumferential + -0.2241 0.0936 lineto + -0.2304 0.1887 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.4978 to 5.8905 (quadrant 3) +newpath + -0.2579 0.3905 moveto + -0.3259 0.3761 lineto + %middle radial + -0.3259 0.3761 lineto + -0.3832 0.3613 lineto + %end radial + -0.3832 0.3613 lineto + -0.3603 0.2669 lineto + %middle circumferential + -0.3603 0.2669 lineto + -0.345 0.176 lineto + %end circumferential + -0.345 0.176 lineto + -0.2922 0.1825 lineto + %middle radial + -0.2922 0.1825 lineto + -0.2304 0.1887 lineto + %end radial + -0.2304 0.1887 lineto + -0.2414 0.2871 lineto + %middle circumferential + -0.2414 0.2871 lineto + -0.2579 0.3905 lineto + %end circumferential + closepath +currentgray 0.48466666666666664 setgray fill setgray +% Sector from 5.1051 to 5.4978 (quadrant 3) +newpath + -0.3142 0.6216 moveto + -0.3939 0.594 lineto + %middle radial + -0.3939 0.594 lineto + -0.4594 0.5659 lineto + %end radial + -0.4594 0.5659 lineto + -0.4154 0.4605 lineto + %middle circumferential + -0.4154 0.4605 lineto + -0.3832 0.3613 lineto + %end circumferential + -0.3832 0.3613 lineto + -0.3259 0.3761 lineto + %middle radial + -0.3259 0.3761 lineto + -0.2579 0.3905 lineto + %end radial + -0.2579 0.3905 lineto + -0.2815 0.5011 lineto + %middle circumferential + -0.2815 0.5011 lineto + -0.2967 0.5605 lineto + -0.3142 0.6216 lineto + %end circumferential + closepath +currentgray 0.5193333333333334 setgray fill setgray +% Sector from 4.7124 to 5.1051 (quadrant 3) +newpath + -0.4232 0.906 moveto + -0.5224 0.8527 lineto + %middle radial + -0.5224 0.8527 lineto + -0.6 0.8 lineto + %end radial + -0.6 0.8 lineto + -0.5568 0.7389 lineto + -0.519 0.6787 lineto + %middle circumferential + -0.519 0.6787 lineto + -0.4872 0.6218 lineto + -0.4594 0.5659 lineto + %end circumferential + -0.4594 0.5659 lineto + -0.3939 0.594 lineto + %middle radial + -0.3939 0.594 lineto + -0.3142 0.6216 lineto + %end radial + -0.3142 0.6216 lineto + -0.3353 0.6871 lineto + -0.3596 0.7551 lineto + %middle circumferential + -0.3596 0.7551 lineto + -0.389 0.8289 lineto + -0.4232 0.906 lineto + %end circumferential + closepath +currentgray 0.554 setgray fill setgray +% Sector from 4.3197 to 4.7124 (quadrant 2) +newpath + -0.6478 1.2813 moveto + -0.7153 1.2266 lineto + -0.7754 1.1694 lineto + %middle radial + -0.7754 1.1694 lineto + -0.8228 1.1175 lineto + -0.8647 1.0652 lineto + %end radial + -0.8647 1.0652 lineto + -0.7823 0.9979 lineto + -0.711 0.9297 lineto + %middle circumferential + -0.711 0.9297 lineto + -0.6516 0.8646 lineto + -0.6 0.8 lineto + %end circumferential + -0.6 0.8 lineto + -0.5224 0.8527 lineto + %middle radial + -0.5224 0.8527 lineto + -0.4232 0.906 lineto + %end radial + -0.4232 0.906 lineto + -0.4649 0.9905 lineto + -0.5141 1.0794 lineto + %middle circumferential + -0.5141 1.0794 lineto + -0.5587 1.1525 lineto + -0.592 1.203 lineto + -0.6283 1.2549 lineto + -0.6478 1.2813 lineto + %end circumferential + closepath +currentgray 0.5886666666666667 setgray fill setgray +% Sector from 3.927 to 4.3197 (quadrant 2) +newpath + -1.1777 1.7829 moveto + -1.2197 1.7158 lineto + -1.2565 1.6491 lineto + -1.2884 1.5832 lineto + -1.3157 1.5186 lineto + %middle radial + -1.3157 1.5186 lineto + -1.3365 1.4625 lineto + -1.3691 1.3543 lineto + -1.3815 1.3025 lineto + %end radial + -1.3815 1.3025 lineto + -1.2981 1.2814 lineto + -1.2201 1.2563 lineto + -1.1475 1.2281 lineto + -1.08 1.1973 lineto + %middle circumferential + -1.08 1.1973 lineto + -1.0202 1.1661 lineto + -0.9645 1.1335 lineto + -0.9128 1.0997 lineto + -0.8647 1.0652 lineto + %end circumferential + -0.8647 1.0652 lineto + -0.8228 1.1175 lineto + -0.7754 1.1694 lineto + %middle radial + -0.7754 1.1694 lineto + -0.7153 1.2266 lineto + -0.6478 1.2813 lineto + %end radial + -0.6478 1.2813 lineto + -0.6916 1.338 lineto + -0.7399 1.3961 lineto + -0.7932 1.4558 lineto + -0.8521 1.5169 lineto + %middle circumferential + -0.8521 1.5169 lineto + -0.9208 1.5823 lineto + -0.9972 1.6487 lineto + -1.0825 1.7158 lineto + -1.1529 1.7662 lineto + -1.1777 1.7829 lineto + %end circumferential + closepath +currentgray 0.6233333333333333 setgray fill setgray +% Sector from 3.5343 to 3.927 (quadrant 2) +newpath + -2.5974 2.128 moveto + -2.5864 2.0416 lineto + -2.5732 1.959 lineto + -2.558 1.8801 lineto + -2.5411 1.8049 lineto + -2.5228 1.7332 lineto + -2.5034 1.6649 lineto + -2.483 1.5998 lineto + -2.4617 1.5377 lineto + %middle radial + -2.4617 1.5377 lineto + -2.4226 1.4347 lineto + -2.3822 1.3402 lineto + -2.3411 1.2533 lineto + -2.2998 1.1734 lineto + %end radial + -2.2998 1.1734 lineto + -2.2351 1.2061 lineto + -2.1702 1.2346 lineto + -2.1055 1.2591 lineto + -2.0411 1.2797 lineto + -1.9773 1.2966 lineto + -1.9144 1.3101 lineto + -1.8526 1.3203 lineto + -1.792 1.3274 lineto + %middle circumferential + -1.792 1.3274 lineto + -1.6807 1.3333 lineto + -1.575 1.3302 lineto + -1.4752 1.3195 lineto + -1.3815 1.3025 lineto + %end circumferential + -1.3815 1.3025 lineto + -1.3691 1.3543 lineto + -1.3365 1.4625 lineto + -1.3157 1.5186 lineto + %middle radial + -1.3157 1.5186 lineto + -1.2884 1.5832 lineto + -1.2565 1.6491 lineto + -1.2197 1.7158 lineto + -1.1777 1.7829 lineto + %end radial + -1.1777 1.7829 lineto + -1.2322 1.8179 lineto + -1.2899 1.8526 lineto + -1.351 1.8867 lineto + -1.4158 1.92 lineto + -1.4845 1.9524 lineto + -1.5573 1.9835 lineto + -1.6343 2.0131 lineto + -1.7157 2.0407 lineto + %middle circumferential + -1.7157 2.0407 lineto + -1.8066 2.0674 lineto + -1.9029 2.0909 lineto + -2.0046 2.1107 lineto + -2.112 2.1262 lineto + -2.225 2.1365 lineto + -2.2837 2.1395 lineto + -2.3437 2.1408 lineto + -2.4051 2.1405 lineto + -2.4679 2.1383 lineto + -2.532 2.1342 lineto + -2.5974 2.128 lineto + %end circumferential + closepath +currentgray 0.658 setgray fill setgray +% Sector from 3.1416 to 3.5343 (quadrant 2) +newpath + -4.5039 0.0 moveto + -3.5465 0.0 lineto + %middle radial + -3.5465 0.0 lineto + -3.0 0.0 lineto + %end radial + -3.0 0.0 lineto + -2.9966 0.0955 lineto + -2.9863 0.191 lineto + -2.969 0.2857 lineto + -2.945 0.3791 lineto + -2.9143 0.4703 lineto + -2.8773 0.5587 lineto + -2.8344 0.6436 lineto + -2.7859 0.7247 lineto + %middle circumferential + -2.7859 0.7247 lineto + -2.7356 0.797 lineto + -2.6813 0.865 lineto + -2.6235 0.9285 lineto + -2.5628 0.9873 lineto + -2.4995 1.0412 lineto + -2.4343 1.0902 lineto + -2.3675 1.1343 lineto + -2.2998 1.1734 lineto + %end circumferential + -2.2998 1.1734 lineto + -2.3411 1.2533 lineto + -2.3822 1.3402 lineto + -2.4226 1.4347 lineto + -2.4617 1.5377 lineto + %middle radial + -2.4617 1.5377 lineto + -2.483 1.5998 lineto + -2.5034 1.6649 lineto + -2.5228 1.7332 lineto + -2.5411 1.8049 lineto + -2.558 1.8801 lineto + -2.5732 1.959 lineto + -2.5864 2.0416 lineto + -2.5974 2.128 lineto + %end radial + -2.5974 2.128 lineto + -2.6679 2.1191 lineto + -2.7396 2.1075 lineto + -2.8126 2.0932 lineto + -2.8867 2.0759 lineto + -2.9617 2.0555 lineto + -3.0376 2.0318 lineto + -3.1142 2.0048 lineto + -3.1913 1.9742 lineto + -3.2688 1.9399 lineto + -3.3463 1.9017 lineto + -3.4237 1.8596 lineto + -3.5008 1.8135 lineto + -3.5772 1.7632 lineto + -3.6528 1.7088 lineto + -3.7271 1.6501 lineto + -3.7999 1.5871 lineto + %middle circumferential + -3.7999 1.5871 lineto + -3.875 1.5157 lineto + -3.9477 1.4395 lineto + -4.0175 1.3586 lineto + -4.0841 1.2733 lineto + -4.147 1.1836 lineto + -4.2058 1.0897 lineto + -4.2602 0.992 lineto + -4.3098 0.8907 lineto + -4.3543 0.7862 lineto + -4.3934 0.6789 lineto + -4.4268 0.5691 lineto + -4.4545 0.4574 lineto + -4.476 0.3441 lineto + -4.4915 0.2298 lineto + -4.5008 0.1149 lineto + -4.5039 0.0 lineto + %end circumferential + closepath +currentgray 0.6926666666666667 setgray fill setgray +% Sector from 2.7489 to 3.1416 (quadrant 1) +newpath + -2.5974 -2.128 moveto + -2.5864 -2.0416 lineto + -2.5732 -1.959 lineto + -2.558 -1.8801 lineto + -2.5411 -1.8049 lineto + -2.5228 -1.7332 lineto + -2.5034 -1.6649 lineto + -2.483 -1.5998 lineto + -2.4617 -1.5377 lineto + %middle radial + -2.4617 -1.5377 lineto + -2.4226 -1.4347 lineto + -2.3822 -1.3402 lineto + -2.3411 -1.2533 lineto + -2.2998 -1.1734 lineto + %end radial + -2.2998 -1.1734 lineto + -2.3639 -1.1365 lineto + -2.4281 -1.0945 lineto + -2.4919 -1.0472 lineto + -2.5549 -0.9944 lineto + -2.6164 -0.9358 lineto + -2.6759 -0.8713 lineto + -2.7326 -0.8009 lineto + -2.7859 -0.7247 lineto + %middle circumferential + -2.7859 -0.7247 lineto + -2.8319 -0.6481 lineto + -2.8736 -0.5667 lineto + -2.9103 -0.4807 lineto + -2.9415 -0.3906 lineto + -2.9665 -0.2968 lineto + -2.9849 -0.2 lineto + -2.9962 -0.1008 lineto + -3.0 0.0 lineto + %end circumferential + -3.0 0.0 lineto + -3.5465 0.0 lineto + %middle radial + -3.5465 0.0 lineto + -4.5039 0.0 lineto + %end radial + -4.5039 0.0 lineto + -4.5037 -0.0305 lineto + -4.5019 -0.0915 lineto + -4.4985 -0.1522 lineto + -4.4933 -0.2126 lineto + -4.4865 -0.2726 lineto + -4.478 -0.3322 lineto + -4.4678 -0.3913 lineto + -4.4561 -0.4498 lineto + -4.4428 -0.5077 lineto + -4.428 -0.5649 lineto + -4.4117 -0.6213 lineto + -4.3846 -0.7045 lineto + -4.3438 -0.8124 lineto + -4.2978 -0.9164 lineto + -4.2473 -1.0163 lineto + -4.1925 -1.1119 lineto + -4.1339 -1.203 lineto + -4.0721 -1.2894 lineto + -4.0073 -1.371 lineto + -3.9401 -1.4478 lineto + -3.8708 -1.5199 lineto + -3.7999 -1.5871 lineto + %middle circumferential + -3.7999 -1.5871 lineto + -3.7226 -1.6538 lineto + -3.6443 -1.7151 lineto + -3.5653 -1.7714 lineto + -3.486 -1.8227 lineto + -3.4068 -1.8692 lineto + -3.3278 -1.9112 lineto + -3.2495 -1.9488 lineto + -3.1718 -1.9822 lineto + -3.0952 -2.0118 lineto + -3.0198 -2.0377 lineto + -2.9456 -2.0601 lineto + -2.8728 -2.0793 lineto + -2.8015 -2.0955 lineto + -2.7318 -2.1089 lineto + -2.6638 -2.1197 lineto + -2.5974 -2.128 lineto + %end circumferential + closepath +currentgray 0.7273333333333334 setgray fill setgray +% Sector from 2.3562 to 2.7489 (quadrant 1) +newpath + -1.1777 -1.7829 moveto + -1.2197 -1.7158 lineto + -1.2565 -1.6491 lineto + -1.2884 -1.5832 lineto + -1.3157 -1.5186 lineto + %middle radial + -1.3157 -1.5186 lineto + -1.3365 -1.4625 lineto + -1.3691 -1.3543 lineto + -1.3815 -1.3025 lineto + %end radial + -1.3815 -1.3025 lineto + -1.4249 -1.3112 lineto + -1.5182 -1.325 lineto + -1.6206 -1.3325 lineto + -1.7324 -1.3317 lineto + -1.792 -1.3274 lineto + %middle circumferential + -1.792 -1.3274 lineto + -1.8787 -1.3164 lineto + -1.9389 -1.3052 lineto + -2.0011 -1.2907 lineto + -2.065 -1.2724 lineto + -2.1306 -1.25 lineto + -2.1975 -1.2231 lineto + -2.2655 -1.1913 lineto + -2.2998 -1.1734 lineto + %end circumferential + -2.2998 -1.1734 lineto + -2.3411 -1.2533 lineto + -2.3822 -1.3402 lineto + -2.4226 -1.4347 lineto + -2.4617 -1.5377 lineto + %middle radial + -2.4617 -1.5377 lineto + -2.483 -1.5998 lineto + -2.5034 -1.6649 lineto + -2.5228 -1.7332 lineto + -2.5411 -1.8049 lineto + -2.558 -1.8801 lineto + -2.5732 -1.959 lineto + -2.5864 -2.0416 lineto + -2.5974 -2.128 lineto + %end radial + -2.5974 -2.128 lineto + -2.528 -2.1345 lineto + -2.4606 -2.1387 lineto + -2.3953 -2.1407 lineto + -2.3319 -2.1407 lineto + -2.2705 -2.1389 lineto + -2.211 -2.1355 lineto + -2.0979 -2.1245 lineto + -1.9922 -2.1086 lineto + -1.8935 -2.0888 lineto + -1.8015 -2.066 lineto + -1.7157 -2.0407 lineto + %middle circumferential + -1.7157 -2.0407 lineto + -1.6296 -2.0114 lineto + -1.5498 -1.9805 lineto + -1.4758 -1.9485 lineto + -1.4071 -1.9157 lineto + -1.3434 -1.8826 lineto + -1.2841 -1.8492 lineto + -1.229 -1.816 lineto + -1.1777 -1.7829 lineto + %end circumferential + closepath +currentgray 0.762 setgray fill setgray +% Sector from 1.9635 to 2.3562 (quadrant 1) +newpath + -0.6478 -1.2813 moveto + -0.7153 -1.2266 lineto + -0.7754 -1.1694 lineto + %middle radial + -0.7754 -1.1694 lineto + -0.8228 -1.1175 lineto + -0.8647 -1.0652 lineto + %end radial + -0.8647 -1.0652 lineto + -0.9102 -1.098 lineto + -0.9607 -1.1311 lineto + -1.0171 -1.1644 lineto + -1.08 -1.1973 lineto + %middle circumferential + -1.08 -1.1973 lineto + -1.144 -1.2266 lineto + -1.215 -1.2545 lineto + -1.2939 -1.2802 lineto + -1.3815 -1.3025 lineto + %end circumferential + -1.3815 -1.3025 lineto + -1.3691 -1.3543 lineto + -1.3365 -1.4625 lineto + -1.3157 -1.5186 lineto + %middle radial + -1.3157 -1.5186 lineto + -1.2884 -1.5832 lineto + -1.2565 -1.6491 lineto + -1.2197 -1.7158 lineto + -1.1777 -1.7829 lineto + %end radial + -1.1777 -1.7829 lineto + -1.1259 -1.7474 lineto + -1.0779 -1.7123 lineto + -0.9918 -1.6442 lineto + -0.9171 -1.579 lineto + -0.8521 -1.5169 lineto + %middle circumferential + -0.8521 -1.5169 lineto + -0.7902 -1.4526 lineto + -0.7363 -1.392 lineto + -0.6892 -1.335 lineto + -0.6478 -1.2813 lineto + %end circumferential + closepath +currentgray 0.7966666666666666 setgray fill setgray +% Sector from 1.5708 to 1.9635 (quadrant 1) +newpath + -0.4232 -0.906 moveto + -0.5224 -0.8527 lineto + %middle radial + -0.5224 -0.8527 lineto + -0.6 -0.8 lineto + %end radial + -0.6 -0.8 lineto + -0.6494 -0.862 lineto + -0.711 -0.9297 lineto + %middle circumferential + -0.711 -0.9297 lineto + -0.7795 -0.9953 lineto + -0.8647 -1.0652 lineto + %end circumferential + -0.8647 -1.0652 lineto + -0.8228 -1.1175 lineto + -0.7754 -1.1694 lineto + %middle radial + -0.7754 -1.1694 lineto + -0.7153 -1.2266 lineto + -0.6478 -1.2813 lineto + %end radial + -0.6478 -1.2813 lineto + -0.6077 -1.2258 lineto + -0.5725 -1.1738 lineto + -0.5141 -1.0794 lineto + %middle circumferential + -0.5141 -1.0794 lineto + -0.4631 -0.987 lineto + -0.4232 -0.906 lineto + %end circumferential + closepath +currentgray 0.8313333333333334 setgray fill setgray +% Sector from 1.1781 to 1.5708 (quadrant 0) +newpath + -0.3142 -0.6216 moveto + -0.3939 -0.594 lineto + %middle radial + -0.3939 -0.594 lineto + -0.4594 -0.5659 lineto + %end radial + -0.4594 -0.5659 lineto + -0.4858 -0.6191 lineto + -0.519 -0.6787 lineto + %middle circumferential + -0.519 -0.6787 lineto + -0.555 -0.7362 lineto + -0.6 -0.8 lineto + %end circumferential + -0.6 -0.8 lineto + -0.5224 -0.8527 lineto + %middle radial + -0.5224 -0.8527 lineto + -0.4232 -0.906 lineto + %end radial + -0.4232 -0.906 lineto + -0.3876 -0.8256 lineto + -0.3596 -0.7551 lineto + %middle circumferential + -0.3596 -0.7551 lineto + -0.3342 -0.6839 lineto + -0.3142 -0.6216 lineto + %end circumferential + closepath +currentgray 0.866 setgray fill setgray +% Sector from 0.7854 to 1.1781 (quadrant 0) +newpath + -0.2579 -0.3905 moveto + -0.3259 -0.3761 lineto + %middle radial + -0.3259 -0.3761 lineto + -0.3832 -0.3613 lineto + %end radial + -0.3832 -0.3613 lineto + -0.4154 -0.4605 lineto + %middle circumferential + -0.4154 -0.4605 lineto + -0.4463 -0.537 lineto + -0.4594 -0.5659 lineto + %end circumferential + -0.4594 -0.5659 lineto + -0.3939 -0.594 lineto + %middle radial + -0.3939 -0.594 lineto + -0.3142 -0.6216 lineto + %end radial + -0.3142 -0.6216 lineto + -0.3044 -0.5882 lineto + -0.2815 -0.5011 lineto + %middle circumferential + -0.2815 -0.5011 lineto + -0.2681 -0.4417 lineto + -0.2579 -0.3905 lineto + %end circumferential + closepath +currentgray 0.9006666666666666 setgray fill setgray +% Sector from 0.3927 to 0.7854 (quadrant 0) +newpath + -0.2304 -0.1887 moveto + -0.2922 -0.1825 lineto + %middle radial + -0.2922 -0.1825 lineto + -0.345 -0.176 lineto + %end radial + -0.345 -0.176 lineto + -0.3603 -0.2669 lineto + %middle circumferential + -0.3603 -0.2669 lineto + -0.3832 -0.3613 lineto + %end circumferential + -0.3832 -0.3613 lineto + -0.3259 -0.3761 lineto + %middle radial + -0.3259 -0.3761 lineto + -0.2579 -0.3905 lineto + %end radial + -0.2579 -0.3905 lineto + -0.2414 -0.2871 lineto + %middle circumferential + -0.2414 -0.2871 lineto + -0.2304 -0.1887 lineto + %end circumferential + closepath +currentgray 0.9353333333333332 setgray fill setgray +% Sector from 0.0 to 0.3927 (quadrant 0) +newpath + -0.222 0.0 moveto + -0.282 0.0 lineto + %middle radial + -0.282 0.0 lineto + -0.3333 0.0 lineto + %end radial + -0.3333 0.0 lineto + -0.3335 -0.0207 lineto + -0.3362 -0.0875 lineto + %middle circumferential + -0.3362 -0.0875 lineto + -0.345 -0.176 lineto + %end circumferential + -0.345 -0.176 lineto + -0.2922 -0.1825 lineto + %middle radial + -0.2922 -0.1825 lineto + -0.2304 -0.1887 lineto + %end radial + -0.2304 -0.1887 lineto + -0.2241 -0.0936 lineto + %middle circumferential + -0.2241 -0.0936 lineto + -0.2221 -0.0221 lineto + -0.222 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 3.0 3.1416 32 0.97 0.45 +% Sector from 6.0868 to 6.2832 (quadrant 3) +newpath + -0.5036 0.0737 moveto + -0.5123 0.0728 lineto + %middle radial + -0.5123 0.0728 lineto + -0.5208 0.072 lineto + %end radial + -0.5208 0.072 lineto + -0.518 0.036 lineto + %middle circumferential + -0.518 0.036 lineto + -0.5171 0.0 lineto + %end circumferential + -0.5171 0.0 lineto + -0.5087 0.0 lineto + %middle radial + -0.5087 0.0 lineto + -0.5 0.0 lineto + %end radial + -0.5 0.0 lineto + -0.5009 0.0368 lineto + %middle circumferential + -0.5009 0.0368 lineto + -0.5036 0.0737 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.8905 to 6.0868 (quadrant 3) +newpath + -0.5147 0.1477 moveto + -0.5235 0.1459 lineto + %middle radial + -0.5235 0.1459 lineto + -0.5319 0.1442 lineto + %end radial + -0.5319 0.1442 lineto + -0.5254 0.108 lineto + %middle circumferential + -0.5254 0.108 lineto + -0.5208 0.072 lineto + %end circumferential + -0.5208 0.072 lineto + -0.5123 0.0728 lineto + %middle radial + -0.5123 0.0728 lineto + -0.5036 0.0737 lineto + %end radial + -0.5036 0.0737 lineto + -0.5082 0.1106 lineto + %middle circumferential + -0.5082 0.1106 lineto + -0.5147 0.1477 lineto + %end circumferential + closepath +currentgray 0.4667741935483871 setgray fill setgray +% Sector from 5.6941 to 5.8905 (quadrant 3) +newpath + -0.5337 0.2224 moveto + -0.5426 0.2196 lineto + %middle radial + -0.5426 0.2196 lineto + -0.5511 0.2169 lineto + %end radial + -0.5511 0.2169 lineto + -0.5405 0.1805 lineto + %middle circumferential + -0.5405 0.1805 lineto + -0.5319 0.1442 lineto + %end circumferential + -0.5319 0.1442 lineto + -0.5235 0.1459 lineto + %middle radial + -0.5235 0.1459 lineto + -0.5147 0.1477 lineto + %end radial + -0.5147 0.1477 lineto + -0.5232 0.185 lineto + %middle circumferential + -0.5232 0.185 lineto + -0.5337 0.2224 lineto + %end circumferential + closepath +currentgray 0.4835483870967742 setgray fill setgray +% Sector from 5.4978 to 5.6941 (quadrant 3) +newpath + -0.5617 0.2979 moveto + -0.5706 0.294 lineto + %middle radial + -0.5706 0.294 lineto + -0.5792 0.2901 lineto + %end radial + -0.5792 0.2901 lineto + -0.564 0.2535 lineto + %middle circumferential + -0.564 0.2535 lineto + -0.5511 0.2169 lineto + %end circumferential + -0.5511 0.2169 lineto + -0.5426 0.2196 lineto + %middle radial + -0.5426 0.2196 lineto + -0.5337 0.2224 lineto + %end radial + -0.5337 0.2224 lineto + -0.5465 0.26 lineto + %middle circumferential + -0.5465 0.26 lineto + -0.5617 0.2979 lineto + %end circumferential + closepath +currentgray 0.5003225806451613 setgray fill setgray +% Sector from 5.3014 to 5.4978 (quadrant 3) +newpath + -0.6 0.3742 moveto + -0.609 0.3689 lineto + %middle radial + -0.609 0.3689 lineto + -0.6176 0.3638 lineto + %end radial + -0.6176 0.3638 lineto + -0.5971 0.3269 lineto + %middle circumferential + -0.5971 0.3269 lineto + -0.5792 0.2901 lineto + %end circumferential + -0.5792 0.2901 lineto + -0.5706 0.294 lineto + %middle radial + -0.5706 0.294 lineto + -0.5617 0.2979 lineto + %end radial + -0.5617 0.2979 lineto + -0.5794 0.3359 lineto + %middle circumferential + -0.5794 0.3359 lineto + -0.6 0.3742 lineto + %end circumferential + closepath +currentgray 0.5170967741935484 setgray fill setgray +% Sector from 5.1051 to 5.3014 (quadrant 3) +newpath + -0.6506 0.4508 moveto + -0.6596 0.444 lineto + %middle radial + -0.6596 0.444 lineto + -0.6682 0.4373 lineto + %end radial + -0.6682 0.4373 lineto + -0.6413 0.4006 lineto + %middle circumferential + -0.6413 0.4006 lineto + -0.6176 0.3638 lineto + %end circumferential + -0.6176 0.3638 lineto + -0.609 0.3689 lineto + %middle radial + -0.609 0.3689 lineto + -0.6 0.3742 lineto + %end radial + -0.6 0.3742 lineto + -0.6236 0.4125 lineto + %middle circumferential + -0.6236 0.4125 lineto + -0.6506 0.4508 lineto + %end circumferential + closepath +currentgray 0.5338709677419355 setgray fill setgray +% Sector from 4.9087 to 5.1051 (quadrant 3) +newpath + -0.7162 0.5268 moveto + -0.725 0.518 lineto + %middle radial + -0.725 0.518 lineto + -0.7333 0.5095 lineto + %end radial + -0.7333 0.5095 lineto + -0.6988 0.4737 lineto + %middle circumferential + -0.6988 0.4737 lineto + -0.6682 0.4373 lineto + %end circumferential + -0.6682 0.4373 lineto + -0.6596 0.444 lineto + %middle radial + -0.6596 0.444 lineto + -0.6506 0.4508 lineto + %end radial + -0.6506 0.4508 lineto + -0.6813 0.489 lineto + %middle circumferential + -0.6813 0.489 lineto + -0.7162 0.5268 lineto + %end circumferential + closepath +currentgray 0.5506451612903226 setgray fill setgray +% Sector from 4.7124 to 4.9087 (quadrant 3) +newpath + -0.8 0.6 moveto + -0.8082 0.5889 lineto + %middle radial + -0.8082 0.5889 lineto + -0.816 0.5781 lineto + %end radial + -0.816 0.5781 lineto + -0.7722 0.5444 lineto + %middle circumferential + -0.7722 0.5444 lineto + -0.7333 0.5095 lineto + %end circumferential + -0.7333 0.5095 lineto + -0.725 0.518 lineto + %middle radial + -0.725 0.518 lineto + -0.7162 0.5268 lineto + %end radial + -0.7162 0.5268 lineto + -0.7556 0.5639 lineto + %middle circumferential + -0.7556 0.5639 lineto + -0.8 0.6 lineto + %end circumferential + closepath +currentgray 0.5674193548387096 setgray fill setgray +% Sector from 4.516 to 4.7124 (quadrant 2) +newpath + -0.9061 0.6665 moveto + -0.9131 0.6525 lineto + %middle radial + -0.9131 0.6525 lineto + -0.9197 0.639 lineto + %end radial + -0.9197 0.639 lineto + -0.865 0.6098 lineto + %middle circumferential + -0.865 0.6098 lineto + -0.816 0.5781 lineto + %end circumferential + -0.816 0.5781 lineto + -0.8082 0.5889 lineto + %middle radial + -0.8082 0.5889 lineto + -0.8 0.6 lineto + %end radial + -0.8 0.6 lineto + -0.85 0.6344 lineto + %middle circumferential + -0.85 0.6344 lineto + -0.9061 0.6665 lineto + %end circumferential + closepath +currentgray 0.5841935483870968 setgray fill setgray +% Sector from 4.3197 to 4.516 (quadrant 2) +newpath + -1.0384 0.7195 moveto + -1.0434 0.7023 lineto + %middle radial + -1.0434 0.7023 lineto + -1.0478 0.6857 lineto + %end radial + -1.0478 0.6857 lineto + -0.9805 0.6647 lineto + %middle circumferential + -0.9805 0.6647 lineto + -0.9197 0.639 lineto + %end circumferential + -0.9197 0.639 lineto + -0.9131 0.6525 lineto + %middle radial + -0.9131 0.6525 lineto + -0.9061 0.6665 lineto + %end radial + -0.9061 0.6665 lineto + -0.9687 0.6953 lineto + %middle circumferential + -0.9687 0.6953 lineto + -1.0384 0.7195 lineto + %end circumferential + closepath +currentgray 0.600967741935484 setgray fill setgray +% Sector from 4.1233 to 4.3197 (quadrant 2) +newpath + -1.2 0.7483 moveto + -1.2012 0.7277 lineto + %middle radial + -1.2012 0.7277 lineto + -1.202 0.708 lineto + %end radial + -1.202 0.708 lineto + -1.1216 0.7007 lineto + %middle circumferential + -1.1216 0.7007 lineto + -1.0478 0.6857 lineto + %end circumferential + -1.0478 0.6857 lineto + -1.0434 0.7023 lineto + %middle radial + -1.0434 0.7023 lineto + -1.0384 0.7195 lineto + %end radial + -1.0384 0.7195 lineto + -1.1155 0.7378 lineto + %middle circumferential + -1.1155 0.7378 lineto + -1.2 0.7483 lineto + %end circumferential + closepath +currentgray 0.6177419354838709 setgray fill setgray +% Sector from 3.927 to 4.1233 (quadrant 2) +newpath + -1.3895 0.7369 moveto + -1.3849 0.7134 lineto + %middle radial + -1.3849 0.7134 lineto + -1.3801 0.6913 lineto + %end radial + -1.3801 0.6913 lineto + -1.2885 0.7056 lineto + %middle circumferential + -1.2885 0.7056 lineto + -1.202 0.708 lineto + %end circumferential + -1.202 0.708 lineto + -1.2012 0.7277 lineto + %middle radial + -1.2012 0.7277 lineto + -1.2 0.7483 lineto + %end radial + -1.2 0.7483 lineto + -1.2916 0.7488 lineto + %middle circumferential + -1.2916 0.7488 lineto + -1.3895 0.7369 lineto + %end circumferential + closepath +currentgray 0.6345161290322581 setgray fill setgray +% Sector from 3.7306 to 3.927 (quadrant 2) +newpath + -1.5964 0.6652 moveto + -1.5836 0.641 lineto + %middle radial + -1.5836 0.641 lineto + -1.5711 0.6183 lineto + %end radial + -1.5711 0.6183 lineto + -1.4752 0.6629 lineto + %middle circumferential + -1.4752 0.6629 lineto + -1.3801 0.6913 lineto + %end circumferential + -1.3801 0.6913 lineto + -1.3849 0.7134 lineto + %middle radial + -1.3849 0.7134 lineto + -1.3895 0.7369 lineto + %end radial + -1.3895 0.7369 lineto + -1.492 0.7099 lineto + %middle circumferential + -1.492 0.7099 lineto + -1.5964 0.6652 lineto + %end circumferential + closepath +currentgray 0.6512903225806452 setgray fill setgray +% Sector from 3.5343 to 3.7306 (quadrant 2) +newpath + -1.795 0.5152 moveto + -1.7726 0.4942 lineto + %middle radial + -1.7726 0.4942 lineto + -1.7513 0.4748 lineto + %end radial + -1.7513 0.4748 lineto + -1.7094 0.5174 lineto + -1.6646 0.5559 lineto + %middle circumferential + -1.6646 0.5559 lineto + -1.5711 0.6183 lineto + %end circumferential + -1.5711 0.6183 lineto + -1.5836 0.641 lineto + %middle radial + -1.5836 0.641 lineto + -1.5964 0.6652 lineto + %end radial + -1.5964 0.6652 lineto + -1.6486 0.6353 lineto + -1.6991 0.6007 lineto + %middle circumferential + -1.6991 0.6007 lineto + -1.7486 0.5603 lineto + -1.795 0.5152 lineto + %end circumferential + closepath +currentgray 0.6680645161290323 setgray fill setgray +% Sector from 3.3379 to 3.5343 (quadrant 2) +newpath + -1.944 0.2844 moveto + -1.9132 0.2719 lineto + %middle radial + -1.9132 0.2719 lineto + -1.8843 0.2604 lineto + %end radial + -1.8843 0.2604 lineto + -1.8578 0.3193 lineto + -1.8262 0.3755 lineto + %middle circumferential + -1.8262 0.3755 lineto + -1.7908 0.427 lineto + -1.7513 0.4748 lineto + %end circumferential + -1.7513 0.4748 lineto + -1.7726 0.4942 lineto + %middle radial + -1.7726 0.4942 lineto + -1.795 0.5152 lineto + %end radial + -1.795 0.5152 lineto + -1.8391 0.4642 lineto + -1.8787 0.409 lineto + %middle circumferential + -1.8787 0.409 lineto + -1.9142 0.3483 lineto + -1.944 0.2844 lineto + %end circumferential + closepath +currentgray 0.6848387096774193 setgray fill setgray +% Sector from 3.1416 to 3.3379 (quadrant 2) +newpath + -2.0 0.0 moveto + -1.9658 0.0 lineto + %middle radial + -1.9658 0.0 lineto + -1.9339 0.0 lineto + %end radial + -1.9339 0.0 lineto + -1.9307 0.0666 lineto + -1.9212 0.1334 lineto + %middle circumferential + -1.9212 0.1334 lineto + -1.9058 0.1976 lineto + -1.8843 0.2604 lineto + %end circumferential + -1.8843 0.2604 lineto + -1.9132 0.2719 lineto + %middle radial + -1.9132 0.2719 lineto + -1.944 0.2844 lineto + %end radial + -1.944 0.2844 lineto + -1.9682 0.2161 lineto + -1.9857 0.146 lineto + %middle circumferential + -1.9857 0.146 lineto + -1.9964 0.0729 lineto + -2.0 0.0 lineto + %end circumferential + closepath +currentgray 0.7016129032258065 setgray fill setgray +% Sector from 2.9452 to 3.1416 (quadrant 1) +newpath + -1.944 -0.2844 moveto + -1.9132 -0.2719 lineto + %middle radial + -1.9132 -0.2719 lineto + -1.8843 -0.2604 lineto + %end radial + -1.8843 -0.2604 lineto + -1.9055 -0.1986 lineto + -1.9212 -0.1334 lineto + %middle circumferential + -1.9212 -0.1334 lineto + -1.9306 -0.0676 lineto + -1.9339 0.0 lineto + %end circumferential + -1.9339 0.0 lineto + -1.9658 0.0 lineto + %middle radial + -1.9658 0.0 lineto + -2.0 0.0 lineto + %end radial + -2.0 0.0 lineto + -1.9963 -0.074 lineto + -1.9857 -0.146 lineto + %middle circumferential + -1.9857 -0.146 lineto + -1.9679 -0.2171 lineto + -1.944 -0.2844 lineto + %end circumferential + closepath +currentgray 0.7183870967741936 setgray fill setgray +% Sector from 2.7489 to 2.9452 (quadrant 1) +newpath + -1.795 -0.5152 moveto + -1.7726 -0.4942 lineto + %middle radial + -1.7726 -0.4942 lineto + -1.7513 -0.4748 lineto + %end radial + -1.7513 -0.4748 lineto + -1.7902 -0.4277 lineto + -1.8262 -0.3755 lineto + %middle circumferential + -1.8262 -0.3755 lineto + -1.8574 -0.3202 lineto + -1.8843 -0.2604 lineto + %end circumferential + -1.8843 -0.2604 lineto + -1.9132 -0.2719 lineto + %middle radial + -1.9132 -0.2719 lineto + -1.944 -0.2844 lineto + %end radial + -1.944 -0.2844 lineto + -1.9137 -0.3493 lineto + -1.8787 -0.409 lineto + %middle circumferential + -1.8787 -0.409 lineto + -1.8384 -0.4651 lineto + -1.795 -0.5152 lineto + %end circumferential + closepath +currentgray 0.7351612903225806 setgray fill setgray +% Sector from 2.5525 to 2.7489 (quadrant 1) +newpath + -1.5964 -0.6652 moveto + -1.5836 -0.641 lineto + %middle radial + -1.5836 -0.641 lineto + -1.5711 -0.6183 lineto + %end radial + -1.5711 -0.6183 lineto + -1.6646 -0.5559 lineto + %middle circumferential + -1.6646 -0.5559 lineto + -1.7302 -0.4971 lineto + -1.7513 -0.4748 lineto + %end circumferential + -1.7513 -0.4748 lineto + -1.7726 -0.4942 lineto + %middle radial + -1.7726 -0.4942 lineto + -1.795 -0.5152 lineto + %end radial + -1.795 -0.5152 lineto + -1.7478 -0.561 lineto + -1.6991 -0.6007 lineto + %middle circumferential + -1.6991 -0.6007 lineto + -1.6478 -0.6358 lineto + -1.5964 -0.6652 lineto + %end circumferential + closepath +currentgray 0.7519354838709679 setgray fill setgray +% Sector from 2.3562 to 2.5525 (quadrant 1) +newpath + -1.3895 -0.7369 moveto + -1.3849 -0.7134 lineto + %middle radial + -1.3849 -0.7134 lineto + -1.3801 -0.6913 lineto + %end radial + -1.3801 -0.6913 lineto + -1.4752 -0.6629 lineto + %middle circumferential + -1.4752 -0.6629 lineto + -1.5711 -0.6183 lineto + %end circumferential + -1.5711 -0.6183 lineto + -1.5836 -0.641 lineto + %middle radial + -1.5836 -0.641 lineto + -1.5964 -0.6652 lineto + %end radial + -1.5964 -0.6652 lineto + -1.492 -0.7099 lineto + %middle circumferential + -1.492 -0.7099 lineto + -1.3895 -0.7369 lineto + %end circumferential + closepath +currentgray 0.7687096774193548 setgray fill setgray +% Sector from 2.1598 to 2.3562 (quadrant 1) +newpath + -1.2 -0.7483 moveto + -1.2012 -0.7277 lineto + %middle radial + -1.2012 -0.7277 lineto + -1.202 -0.708 lineto + %end radial + -1.202 -0.708 lineto + -1.2885 -0.7056 lineto + %middle circumferential + -1.2885 -0.7056 lineto + -1.3801 -0.6913 lineto + %end circumferential + -1.3801 -0.6913 lineto + -1.3849 -0.7134 lineto + %middle radial + -1.3849 -0.7134 lineto + -1.3895 -0.7369 lineto + %end radial + -1.3895 -0.7369 lineto + -1.2916 -0.7488 lineto + %middle circumferential + -1.2916 -0.7488 lineto + -1.2 -0.7483 lineto + %end circumferential + closepath +currentgray 0.7854838709677419 setgray fill setgray +% Sector from 1.9635 to 2.1598 (quadrant 1) +newpath + -1.0384 -0.7195 moveto + -1.0434 -0.7023 lineto + %middle radial + -1.0434 -0.7023 lineto + -1.0478 -0.6857 lineto + %end radial + -1.0478 -0.6857 lineto + -1.1216 -0.7007 lineto + %middle circumferential + -1.1216 -0.7007 lineto + -1.202 -0.708 lineto + %end circumferential + -1.202 -0.708 lineto + -1.2012 -0.7277 lineto + %middle radial + -1.2012 -0.7277 lineto + -1.2 -0.7483 lineto + %end radial + -1.2 -0.7483 lineto + -1.1155 -0.7378 lineto + %middle circumferential + -1.1155 -0.7378 lineto + -1.0384 -0.7195 lineto + %end circumferential + closepath +currentgray 0.802258064516129 setgray fill setgray +% Sector from 1.7671 to 1.9635 (quadrant 1) +newpath + -0.9061 -0.6665 moveto + -0.9131 -0.6525 lineto + %middle radial + -0.9131 -0.6525 lineto + -0.9197 -0.639 lineto + %end radial + -0.9197 -0.639 lineto + -0.9805 -0.6647 lineto + %middle circumferential + -0.9805 -0.6647 lineto + -1.0478 -0.6857 lineto + %end circumferential + -1.0478 -0.6857 lineto + -1.0434 -0.7023 lineto + %middle radial + -1.0434 -0.7023 lineto + -1.0384 -0.7195 lineto + %end radial + -1.0384 -0.7195 lineto + -0.9687 -0.6953 lineto + %middle circumferential + -0.9687 -0.6953 lineto + -0.9061 -0.6665 lineto + %end circumferential + closepath +currentgray 0.8190322580645162 setgray fill setgray +% Sector from 1.5708 to 1.7671 (quadrant 1) +newpath + -0.8 -0.6 moveto + -0.8082 -0.5889 lineto + %middle radial + -0.8082 -0.5889 lineto + -0.816 -0.5781 lineto + %end radial + -0.816 -0.5781 lineto + -0.865 -0.6098 lineto + %middle circumferential + -0.865 -0.6098 lineto + -0.9197 -0.639 lineto + %end circumferential + -0.9197 -0.639 lineto + -0.9131 -0.6525 lineto + %middle radial + -0.9131 -0.6525 lineto + -0.9061 -0.6665 lineto + %end radial + -0.9061 -0.6665 lineto + -0.85 -0.6344 lineto + %middle circumferential + -0.85 -0.6344 lineto + -0.8 -0.6 lineto + %end circumferential + closepath +currentgray 0.8358064516129032 setgray fill setgray +% Sector from 1.3744 to 1.5708 (quadrant 0) +newpath + -0.7162 -0.5268 moveto + -0.725 -0.518 lineto + %middle radial + -0.725 -0.518 lineto + -0.7333 -0.5095 lineto + %end radial + -0.7333 -0.5095 lineto + -0.7722 -0.5444 lineto + %middle circumferential + -0.7722 -0.5444 lineto + -0.816 -0.5781 lineto + %end circumferential + -0.816 -0.5781 lineto + -0.8082 -0.5889 lineto + %middle radial + -0.8082 -0.5889 lineto + -0.8 -0.6 lineto + %end radial + -0.8 -0.6 lineto + -0.7556 -0.5639 lineto + %middle circumferential + -0.7556 -0.5639 lineto + -0.7162 -0.5268 lineto + %end circumferential + closepath +currentgray 0.8525806451612903 setgray fill setgray +% Sector from 1.1781 to 1.3744 (quadrant 0) +newpath + -0.6506 -0.4508 moveto + -0.6596 -0.444 lineto + %middle radial + -0.6596 -0.444 lineto + -0.6682 -0.4373 lineto + %end radial + -0.6682 -0.4373 lineto + -0.6988 -0.4737 lineto + %middle circumferential + -0.6988 -0.4737 lineto + -0.7333 -0.5095 lineto + %end circumferential + -0.7333 -0.5095 lineto + -0.725 -0.518 lineto + %middle radial + -0.725 -0.518 lineto + -0.7162 -0.5268 lineto + %end radial + -0.7162 -0.5268 lineto + -0.6813 -0.489 lineto + %middle circumferential + -0.6813 -0.489 lineto + -0.6506 -0.4508 lineto + %end circumferential + closepath +currentgray 0.8693548387096775 setgray fill setgray +% Sector from 0.9817 to 1.1781 (quadrant 0) +newpath + -0.6 -0.3742 moveto + -0.609 -0.3689 lineto + %middle radial + -0.609 -0.3689 lineto + -0.6176 -0.3638 lineto + %end radial + -0.6176 -0.3638 lineto + -0.6413 -0.4006 lineto + %middle circumferential + -0.6413 -0.4006 lineto + -0.6682 -0.4373 lineto + %end circumferential + -0.6682 -0.4373 lineto + -0.6596 -0.444 lineto + %middle radial + -0.6596 -0.444 lineto + -0.6506 -0.4508 lineto + %end radial + -0.6506 -0.4508 lineto + -0.6236 -0.4125 lineto + %middle circumferential + -0.6236 -0.4125 lineto + -0.6 -0.3742 lineto + %end circumferential + closepath +currentgray 0.8861290322580645 setgray fill setgray +% Sector from 0.7854 to 0.9817 (quadrant 0) +newpath + -0.5617 -0.2979 moveto + -0.5706 -0.294 lineto + %middle radial + -0.5706 -0.294 lineto + -0.5792 -0.2901 lineto + %end radial + -0.5792 -0.2901 lineto + -0.5971 -0.3269 lineto + %middle circumferential + -0.5971 -0.3269 lineto + -0.6176 -0.3638 lineto + %end circumferential + -0.6176 -0.3638 lineto + -0.609 -0.3689 lineto + %middle radial + -0.609 -0.3689 lineto + -0.6 -0.3742 lineto + %end radial + -0.6 -0.3742 lineto + -0.5794 -0.3359 lineto + %middle circumferential + -0.5794 -0.3359 lineto + -0.5617 -0.2979 lineto + %end circumferential + closepath +currentgray 0.9029032258064516 setgray fill setgray +% Sector from 0.589 to 0.7854 (quadrant 0) +newpath + -0.5337 -0.2224 moveto + -0.5426 -0.2196 lineto + %middle radial + -0.5426 -0.2196 lineto + -0.5511 -0.2169 lineto + %end radial + -0.5511 -0.2169 lineto + -0.564 -0.2535 lineto + %middle circumferential + -0.564 -0.2535 lineto + -0.5792 -0.2901 lineto + %end circumferential + -0.5792 -0.2901 lineto + -0.5706 -0.294 lineto + %middle radial + -0.5706 -0.294 lineto + -0.5617 -0.2979 lineto + %end radial + -0.5617 -0.2979 lineto + -0.5465 -0.26 lineto + %middle circumferential + -0.5465 -0.26 lineto + -0.5337 -0.2224 lineto + %end circumferential + closepath +currentgray 0.9196774193548387 setgray fill setgray +% Sector from 0.3927 to 0.589 (quadrant 0) +newpath + -0.5147 -0.1477 moveto + -0.5235 -0.1459 lineto + %middle radial + -0.5235 -0.1459 lineto + -0.5319 -0.1442 lineto + %end radial + -0.5319 -0.1442 lineto + -0.5405 -0.1805 lineto + %middle circumferential + -0.5405 -0.1805 lineto + -0.5511 -0.2169 lineto + %end circumferential + -0.5511 -0.2169 lineto + -0.5426 -0.2196 lineto + %middle radial + -0.5426 -0.2196 lineto + -0.5337 -0.2224 lineto + %end radial + -0.5337 -0.2224 lineto + -0.5232 -0.185 lineto + %middle circumferential + -0.5232 -0.185 lineto + -0.5147 -0.1477 lineto + %end circumferential + closepath +currentgray 0.9364516129032258 setgray fill setgray +% Sector from 0.1963 to 0.3927 (quadrant 0) +newpath + -0.5036 -0.0737 moveto + -0.5123 -0.0728 lineto + %middle radial + -0.5123 -0.0728 lineto + -0.5208 -0.072 lineto + %end radial + -0.5208 -0.072 lineto + -0.5254 -0.108 lineto + %middle circumferential + -0.5254 -0.108 lineto + -0.5319 -0.1442 lineto + %end circumferential + -0.5319 -0.1442 lineto + -0.5235 -0.1459 lineto + %middle radial + -0.5235 -0.1459 lineto + -0.5147 -0.1477 lineto + %end radial + -0.5147 -0.1477 lineto + -0.5082 -0.1106 lineto + %middle circumferential + -0.5082 -0.1106 lineto + -0.5036 -0.0737 lineto + %end circumferential + closepath +currentgray 0.9532258064516128 setgray fill setgray +% Sector from 0.0 to 0.1963 (quadrant 0) +newpath + -0.5 0.0 moveto + -0.5087 0.0 lineto + %middle radial + -0.5087 0.0 lineto + -0.5171 0.0 lineto + %end radial + -0.5171 0.0 lineto + -0.518 -0.036 lineto + %middle circumferential + -0.518 -0.036 lineto + -0.5208 -0.072 lineto + %end circumferential + -0.5208 -0.072 lineto + -0.5123 -0.0728 lineto + %middle radial + -0.5123 -0.0728 lineto + -0.5036 -0.0737 lineto + %end radial + -0.5036 -0.0737 lineto + -0.5009 -0.0368 lineto + %middle circumferential + -0.5009 -0.0368 lineto + -0.5 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Horizontal line from (0.5, 0.0) to (0.0, 0.0) +newpath + 0.3333 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.5, 0.0) to (1.0, 0.0) +newpath + 0.3333 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.0, 0.0) +newpath + -0.3333 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.1579208923731617E77, 0.0) +newpath + -0.3333 0.0 moveto + -1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (0.0, 1.0) +newpath + -0.4 -0.2 moveto + -0.3424 -0.2466 lineto + -0.2876 -0.2983 lineto + -0.2368 -0.3538 lineto + -0.1913 -0.4117 lineto + -0.1518 -0.4704 lineto + -0.1183 -0.5281 lineto + -0.0908 -0.5837 lineto + -0.0513 -0.6839 lineto + -0.0277 -0.7663 lineto + -0.0104 -0.8564 lineto + -0.0013 -0.9493 lineto + 0.0 -1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (1.1579208923731617E77, 1.0) +newpath + -0.4 -0.2 moveto + -0.4555 -0.1613 lineto + -0.5105 -0.128 lineto + -0.5639 -0.1001 lineto + -0.6619 -0.0589 lineto + -0.7444 -0.0332 lineto + -0.8105 -0.0181 lineto + -0.8819 -0.007 lineto + -0.996 0.0 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (0.0, -1.0) +newpath + -0.4 0.2 moveto + -0.3424 0.2466 lineto + -0.2876 0.2983 lineto + -0.2368 0.3538 lineto + -0.1913 0.4117 lineto + -0.1518 0.4704 lineto + -0.1183 0.5281 lineto + -0.0908 0.5837 lineto + -0.0513 0.6839 lineto + -0.0277 0.7663 lineto + -0.0104 0.8564 lineto + -0.0013 0.9493 lineto + 0.0 1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (1.1579208923731617E77, -1.0) +newpath + -0.4 0.2 moveto + -0.4555 0.1613 lineto + -0.5105 0.128 lineto + -0.5639 0.1001 lineto + -0.6619 0.0589 lineto + -0.7444 0.0332 lineto + -0.8105 0.0181 lineto + -0.8819 0.007 lineto + -0.996 0.0 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (1.1579208923731617E77, 2.0) +newpath + -0.6 -0.8 moveto + -0.5546 -0.7272 lineto + -0.524 -0.6531 lineto + -0.509 -0.5943 lineto + -0.5003 -0.5176 lineto + -0.5057 -0.4248 lineto + -0.5323 -0.3233 lineto + -0.5817 -0.2261 lineto + -0.6476 -0.1453 lineto + -0.7187 -0.0867 lineto + -0.7846 -0.0488 lineto + -0.84 -0.0263 lineto + -0.9404 -0.0036 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (1.1579208923731617E77, -2.0) +newpath + -0.6 0.8 moveto + -0.5546 0.7272 lineto + -0.524 0.6531 lineto + -0.509 0.5943 lineto + -0.5003 0.5176 lineto + -0.5057 0.4248 lineto + -0.5323 0.3233 lineto + -0.5817 0.2261 lineto + -0.6476 0.1453 lineto + -0.7187 0.0867 lineto + -0.7846 0.0488 lineto + -0.84 0.0263 lineto + -0.9404 0.0036 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (1.1579208923731617E77, 3.0) +newpath + -0.8 -0.6 moveto + -0.738 -0.5393 lineto + -0.6966 -0.4714 lineto + -0.6771 -0.4162 lineto + -0.6669 -0.3454 lineto + -0.6739 -0.2644 lineto + -0.7018 -0.1844 lineto + -0.7462 -0.1173 lineto + -0.797 -0.0689 lineto + -0.8855 -0.0203 lineto + -0.9702 -0.0013 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (1.1579208923731617E77, -3.0) +newpath + -0.8 0.6 moveto + -0.738 0.5393 lineto + -0.6966 0.4714 lineto + -0.6771 0.4162 lineto + -0.6669 0.3454 lineto + -0.6739 0.2644 lineto + -0.7018 0.1844 lineto + -0.7462 0.1173 lineto + -0.797 0.0689 lineto + -0.8855 0.0203 lineto + -0.9702 0.0013 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (0.0, 0.0) +newpath + 3.0 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (-1.0, 0.0) +newpath + 3.0 0.0 moveto + 6.3446 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.0, 0.0) +newpath + -3.0 0.0 moveto + -6.3394 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.1579208923731617E77, 0.0) +newpath + -3.0 0.0 moveto + -1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (0.0, 1.0) +newpath + -2.0 -1.0 moveto + -1.9957 -1.0931 lineto + -1.9819 -1.1893 lineto + -1.9579 -1.2871 lineto + -1.923 -1.3848 lineto + -1.8769 -1.4807 lineto + -1.8197 -1.5727 lineto + -1.7522 -1.659 lineto + -1.6752 -1.7376 lineto + -1.5904 -1.8071 lineto + -1.4994 -1.8664 lineto + -1.4041 -1.9147 lineto + -1.3065 -1.9519 lineto + -1.2086 -1.978 lineto + -1.112 -1.9937 lineto + -1.0182 -1.9998 lineto + -0.9283 -1.9974 lineto + -0.8432 -1.9876 lineto + -0.7635 -1.9716 lineto + -0.6895 -1.9506 lineto + -0.6213 -1.9255 lineto + -0.5589 -1.8975 lineto + -0.502 -1.8672 lineto + -0.4505 -1.8355 lineto + -0.362 -1.77 lineto + -0.2905 -1.7047 lineto + -0.2331 -1.6418 lineto + -0.1872 -1.5826 lineto + -0.1506 -1.5278 lineto + -0.109 -1.4541 lineto + -0.0714 -1.371 lineto + -0.0471 -1.3033 lineto + -0.021 -1.2037 lineto + -0.0065 -1.1138 lineto + -0.0014 -1.0534 lineto + 0.0 -1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (-1.1579208923731617E77, 1.0) +newpath + -2.0 -1.0 moveto + -1.9964 -0.9157 lineto + -1.9864 -0.8358 lineto + -1.9709 -0.7607 lineto + -1.951 -0.6907 lineto + -1.9274 -0.6259 lineto + -1.9011 -0.5663 lineto + -1.8727 -0.5118 lineto + -1.8123 -0.4167 lineto + -1.7501 -0.3386 lineto + -1.6887 -0.275 lineto + -1.6299 -0.2233 lineto + -1.5745 -0.1815 lineto + -1.499 -0.1334 lineto + -1.4124 -0.089 lineto + -1.3407 -0.0598 lineto + -1.2817 -0.0405 lineto + -1.1935 -0.0189 lineto + -1.1339 -0.009 lineto + -1.0652 -0.0021 lineto + -1.004 0.0 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (0.0, -1.0) +newpath + -2.0 1.0 moveto + -1.9957 1.0931 lineto + -1.9819 1.1893 lineto + -1.9579 1.2871 lineto + -1.923 1.3848 lineto + -1.8769 1.4807 lineto + -1.8197 1.5727 lineto + -1.7522 1.659 lineto + -1.6752 1.7376 lineto + -1.5904 1.8071 lineto + -1.4994 1.8664 lineto + -1.4041 1.9147 lineto + -1.3065 1.9519 lineto + -1.2086 1.978 lineto + -1.112 1.9937 lineto + -1.0182 1.9998 lineto + -0.9283 1.9974 lineto + -0.8432 1.9876 lineto + -0.7635 1.9716 lineto + -0.6895 1.9506 lineto + -0.6213 1.9255 lineto + -0.5589 1.8975 lineto + -0.502 1.8672 lineto + -0.4505 1.8355 lineto + -0.362 1.77 lineto + -0.2905 1.7047 lineto + -0.2331 1.6418 lineto + -0.1872 1.5826 lineto + -0.1506 1.5278 lineto + -0.109 1.4541 lineto + -0.0714 1.371 lineto + -0.0471 1.3033 lineto + -0.021 1.2037 lineto + -0.0065 1.1138 lineto + -0.0014 1.0534 lineto + 0.0 1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (-1.1579208923731617E77, -1.0) +newpath + -2.0 1.0 moveto + -1.9964 0.9157 lineto + -1.9864 0.8358 lineto + -1.9709 0.7607 lineto + -1.951 0.6907 lineto + -1.9274 0.6259 lineto + -1.9011 0.5663 lineto + -1.8727 0.5118 lineto + -1.8123 0.4167 lineto + -1.7501 0.3386 lineto + -1.6887 0.275 lineto + -1.6299 0.2233 lineto + -1.5745 0.1815 lineto + -1.499 0.1334 lineto + -1.4124 0.089 lineto + -1.3407 0.0598 lineto + -1.2817 0.0405 lineto + -1.1935 0.0189 lineto + -1.1339 0.009 lineto + -1.0652 0.0021 lineto + -1.004 0.0 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (-1.1579208923731617E77, 2.0) +newpath + -0.6 -0.8 moveto + -0.6631 -0.8694 lineto + -0.7184 -0.9131 lineto + -0.7843 -0.9511 lineto + -0.8595 -0.9798 lineto + -0.9263 -0.9945 lineto + -1.0086 -0.9999 lineto + -1.1061 -0.9886 lineto + -1.1868 -0.9638 lineto + -1.2421 -0.9375 lineto + -1.2966 -0.9025 lineto + -1.3483 -0.8588 lineto + -1.3949 -0.8066 lineto + -1.4345 -0.7473 lineto + -1.4654 -0.6826 lineto + -1.4866 -0.6148 lineto + -1.4979 -0.5463 lineto + -1.4996 -0.4792 lineto + -1.4928 -0.4157 lineto + -1.4701 -0.3298 lineto + -1.4246 -0.2359 lineto + -1.3715 -0.1654 lineto + -1.3185 -0.1146 lineto + -1.2696 -0.0789 lineto + -1.1893 -0.0372 lineto + -1.1316 -0.0176 lineto + -1.0634 -0.004 lineto + -1.0018 0.0 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (-1.1579208923731617E77, -2.0) +newpath + -0.6 0.8 moveto + -0.6631 0.8694 lineto + -0.7184 0.9131 lineto + -0.7843 0.9511 lineto + -0.8595 0.9798 lineto + -0.9263 0.9945 lineto + -1.0086 0.9999 lineto + -1.1061 0.9886 lineto + -1.1868 0.9638 lineto + -1.2421 0.9375 lineto + -1.2966 0.9025 lineto + -1.3483 0.8588 lineto + -1.3949 0.8066 lineto + -1.4345 0.7473 lineto + -1.4654 0.6826 lineto + -1.4866 0.6148 lineto + -1.4979 0.5463 lineto + -1.4996 0.4792 lineto + -1.4928 0.4157 lineto + -1.4701 0.3298 lineto + -1.4246 0.2359 lineto + -1.3715 0.1654 lineto + -1.3185 0.1146 lineto + -1.2696 0.0789 lineto + -1.1893 0.0372 lineto + -1.1316 0.0176 lineto + -1.0634 0.004 lineto + -1.0018 0.0 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (-1.1579208923731617E77, 3.0) +newpath + -0.8 -0.6 moveto + -0.8833 -0.6456 lineto + -0.9512 -0.6631 lineto + -1.0248 -0.6657 lineto + -1.1253 -0.6422 lineto + -1.1823 -0.6124 lineto + -1.2382 -0.5666 lineto + -1.286 -0.5046 lineto + -1.319 -0.4301 lineto + -1.3329 -0.3503 lineto + -1.3279 -0.2733 lineto + -1.3079 -0.2056 lineto + -1.2786 -0.1503 lineto + -1.212 -0.0761 lineto + -1.153 -0.0372 lineto + -1.0903 -0.0125 lineto + -1.0307 -0.0014 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (-1.1579208923731617E77, -3.0) +newpath + -0.8 0.6 moveto + -0.8833 0.6456 lineto + -0.9512 0.6631 lineto + -1.0248 0.6657 lineto + -1.1253 0.6422 lineto + -1.1823 0.6124 lineto + -1.2382 0.5666 lineto + -1.286 0.5046 lineto + -1.319 0.4301 lineto + -1.3329 0.3503 lineto + -1.3279 0.2733 lineto + -1.3079 0.2056 lineto + -1.2786 0.1503 lineto + -1.212 0.0761 lineto + -1.153 0.0372 lineto + -1.0903 0.0125 lineto + -1.0307 0.0014 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 0.0) +newpath + 0.6 -0.8 moveto + 0.6548 -0.7558 lineto + 0.7035 -0.7107 lineto + 0.7464 -0.6655 lineto + 0.8164 -0.5775 lineto + 0.8685 -0.4957 lineto + 0.9066 -0.422 lineto + 0.934 -0.3572 lineto + 0.9611 -0.2761 lineto + 0.981 -0.1941 lineto + 0.9935 -0.1135 lineto + 1.0 -0.003 lineto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 1.0) +newpath + 0.6 -0.8 moveto + 0.5417 -0.8406 lineto + 0.4776 -0.8786 lineto + 0.408 -0.913 lineto + 0.3333 -0.9428 lineto + 0.2542 -0.9671 lineto + 0.1716 -0.9852 lineto + 0.0864 -0.9963 lineto + 0.0 -1.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.0) +newpath + -0.6 -0.8 moveto + -0.5417 -0.8406 lineto + -0.4776 -0.8786 lineto + -0.408 -0.913 lineto + -0.3333 -0.9428 lineto + -0.2542 -0.9671 lineto + -0.1716 -0.9852 lineto + -0.0864 -0.9963 lineto + 0.0 -1.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.1579208923731617E77) +newpath + -0.6 -0.8 moveto + -0.6524 -0.7579 lineto + -0.6992 -0.7149 lineto + -0.7407 -0.6718 lineto + -0.8092 -0.5876 lineto + -0.861 -0.5086 lineto + -0.8996 -0.4368 lineto + -0.9278 -0.373 lineto + -0.9564 -0.2922 lineto + -0.9779 -0.2092 lineto + -0.9921 -0.1255 lineto + -0.998 -0.0631 lineto + -1.0 -0.004 lineto + -1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 0.0) +newpath + -0.5 -0.5 moveto + -0.4098 -0.4918 lineto + -0.3253 -0.4685 lineto + -0.2508 -0.4335 lineto + -0.1886 -0.3912 lineto + -0.1389 -0.3459 lineto + -0.1007 -0.301 lineto + -0.0512 -0.2205 lineto + -0.0254 -0.1572 lineto + -0.0029 -0.0538 lineto + 0.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 1.1579208923731617E77) +newpath + -0.5 -0.5 moveto + -0.5855 -0.4926 lineto + -0.6661 -0.4716 lineto + -0.738 -0.4397 lineto + -0.7991 -0.4006 lineto + -0.8489 -0.3581 lineto + -0.9181 -0.2742 lineto + -0.9572 -0.2025 lineto + -0.9844 -0.124 lineto + -0.996 -0.0629 lineto + -1.0 -0.004 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 0.0) +newpath + -1.0 -1.0 moveto + -1.0 -6.2779 lineto + -0.9947 -6.3646 lineto + -0.5589 -6.378103166302659 lineto + -0.2485 -6.378103166302659 lineto + -1.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 1.1579208923731617E77) +newpath + -1.0 -1.0 moveto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, 1.1579208923731617E77) +newpath + -0.3333 0.0 moveto + -0.3485 -0.0994 lineto + -0.3919 -0.1887 lineto + -0.4425 -0.2467 lineto + -0.5232 -0.3009 lineto + -0.6317 -0.3315 lineto + -0.6907 -0.3325 lineto + -0.801 -0.3051 lineto + -0.8847 -0.2522 lineto + -0.9378 -0.1938 lineto + -0.9772 -0.1212 lineto + -0.9943 -0.0612 lineto + -1.0 -0.0018 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, 1.1579208923731617E77) +newpath + -3.0 0.0 moveto + -2.9941 -0.1084 lineto + -2.983 -0.1836 lineto + -2.9657 -0.2596 lineto + -2.9423 -0.3348 lineto + -2.9187 -0.3949 lineto + -2.886 -0.4636 lineto + -2.8413 -0.5406 lineto + -2.7811 -0.6244 lineto + -2.7235 -0.6903 lineto + -2.6784 -0.7347 lineto + -2.6276 -0.7785 lineto + -2.5708 -0.8211 lineto + -2.5079 -0.8614 lineto + -2.4391 -0.8984 lineto + -2.3648 -0.9311 lineto + -2.2855 -0.9584 lineto + -2.2021 -0.9794 lineto + -2.1156 -0.9933 lineto + -2.0274 -0.9996 lineto + -1.9387 -0.9981 lineto + -1.851 -0.9888 lineto + -1.7655 -0.9721 lineto + -1.6836 -0.9486 lineto + -1.6061 -0.9191 lineto + -1.5338 -0.8847 lineto + -1.4673 -0.8463 lineto + -1.4067 -0.805 lineto + -1.3522 -0.7618 lineto + -1.3036 -0.7177 lineto + -1.2607 -0.6734 lineto + -1.206 -0.6079 lineto + -1.149 -0.5252 lineto + -1.1069 -0.4498 lineto + -1.0762 -0.3828 lineto + -1.0454 -0.298 lineto + -1.0226 -0.2114 lineto + -1.0078 -0.125 lineto + -1.0019 -0.0616 lineto + -1.0 -0.0018 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, 1.1579208923731617E77) +newpath + -0.5 0.0 moveto + -0.5257 -0.1104 lineto + -0.5679 -0.1713 lineto + -0.6211 -0.2142 lineto + -0.697 -0.2443 lineto + -0.7847 -0.2476 lineto + -0.8645 -0.2223 lineto + -0.9227 -0.1807 lineto + -0.9704 -0.1181 lineto + -0.9925 -0.0608 lineto + -1.0 -0.0018 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, 1.1579208923731617E77) +newpath + -2.0 0.0 moveto + -1.9875 -0.1111 lineto + -1.9646 -0.1848 lineto + -1.9305 -0.2542 lineto + -1.8682 -0.3383 lineto + -1.822 -0.3825 lineto + -1.764 -0.4246 lineto + -1.6942 -0.4608 lineto + -1.6141 -0.4868 lineto + -1.5274 -0.4992 lineto + -1.439 -0.4963 lineto + -1.3542 -0.4783 lineto + -1.2778 -0.4479 lineto + -1.2124 -0.409 lineto + -1.159 -0.3657 lineto + -1.1171 -0.3215 lineto + -1.0612 -0.2397 lineto + -1.031 -0.1734 lineto + -1.0077 -0.0873 lineto + -1.0 -0.0018 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, 0.0) +newpath + 0.6 0.8 moveto + 0.6548 0.7558 lineto + 0.7035 0.7107 lineto + 0.7464 0.6655 lineto + 0.8164 0.5775 lineto + 0.8685 0.4957 lineto + 0.9066 0.422 lineto + 0.934 0.3572 lineto + 0.9611 0.2761 lineto + 0.981 0.1941 lineto + 0.9935 0.1135 lineto + 1.0 0.003 lineto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, -1.0) +newpath + 0.6 0.8 moveto + 0.5417 0.8406 lineto + 0.4776 0.8786 lineto + 0.408 0.913 lineto + 0.3333 0.9428 lineto + 0.2542 0.9671 lineto + 0.1716 0.9852 lineto + 0.0864 0.9963 lineto + 0.0 1.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.0) +newpath + -0.6 0.8 moveto + -0.5417 0.8406 lineto + -0.4776 0.8786 lineto + -0.408 0.913 lineto + -0.3333 0.9428 lineto + -0.2542 0.9671 lineto + -0.1716 0.9852 lineto + -0.0864 0.9963 lineto + 0.0 1.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.1579208923731617E77) +newpath + -0.6 0.8 moveto + -0.6524 0.7579 lineto + -0.6992 0.7149 lineto + -0.7407 0.6718 lineto + -0.8092 0.5876 lineto + -0.861 0.5086 lineto + -0.8996 0.4368 lineto + -0.9278 0.373 lineto + -0.9564 0.2922 lineto + -0.9779 0.2092 lineto + -0.9921 0.1255 lineto + -0.998 0.0631 lineto + -1.0 0.004 lineto + -1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, 0.0) +newpath + -0.5 0.5 moveto + -0.4098 0.4918 lineto + -0.3253 0.4685 lineto + -0.2508 0.4335 lineto + -0.1886 0.3912 lineto + -0.1389 0.3459 lineto + -0.1007 0.301 lineto + -0.0512 0.2205 lineto + -0.0254 0.1572 lineto + -0.0029 0.0538 lineto + 0.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, -1.1579208923731617E77) +newpath + -0.5 0.5 moveto + -0.5855 0.4926 lineto + -0.6661 0.4716 lineto + -0.738 0.4397 lineto + -0.7991 0.4006 lineto + -0.8489 0.3581 lineto + -0.9181 0.2742 lineto + -0.9572 0.2025 lineto + -0.9844 0.124 lineto + -0.996 0.0629 lineto + -1.0 0.004 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, 0.0) +newpath + -1.0 1.0 moveto + -1.0 6.2779 lineto + -0.9947 6.3646 lineto + -0.5589 6.378103166302659 lineto + -0.2485 6.378103166302659 lineto + -1.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, -1.1579208923731617E77) +newpath + -1.0 1.0 moveto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, -1.1579208923731617E77) +newpath + -0.3333 0.0 moveto + -0.3485 0.0994 lineto + -0.3919 0.1887 lineto + -0.4425 0.2467 lineto + -0.5232 0.3009 lineto + -0.6317 0.3315 lineto + -0.6907 0.3325 lineto + -0.801 0.3051 lineto + -0.8847 0.2522 lineto + -0.9378 0.1938 lineto + -0.9772 0.1212 lineto + -0.9943 0.0612 lineto + -1.0 0.0018 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, -1.1579208923731617E77) +newpath + -3.0 0.0 moveto + -2.9941 0.1084 lineto + -2.983 0.1836 lineto + -2.9657 0.2596 lineto + -2.9423 0.3348 lineto + -2.9187 0.3949 lineto + -2.886 0.4636 lineto + -2.8413 0.5406 lineto + -2.7811 0.6244 lineto + -2.7235 0.6903 lineto + -2.6784 0.7347 lineto + -2.6276 0.7785 lineto + -2.5708 0.8211 lineto + -2.5079 0.8614 lineto + -2.4391 0.8984 lineto + -2.3648 0.9311 lineto + -2.2855 0.9584 lineto + -2.2021 0.9794 lineto + -2.1156 0.9933 lineto + -2.0274 0.9996 lineto + -1.9387 0.9981 lineto + -1.851 0.9888 lineto + -1.7655 0.9721 lineto + -1.6836 0.9486 lineto + -1.6061 0.9191 lineto + -1.5338 0.8847 lineto + -1.4673 0.8463 lineto + -1.4067 0.805 lineto + -1.3522 0.7618 lineto + -1.3036 0.7177 lineto + -1.2607 0.6734 lineto + -1.206 0.6079 lineto + -1.149 0.5252 lineto + -1.1069 0.4498 lineto + -1.0762 0.3828 lineto + -1.0454 0.298 lineto + -1.0226 0.2114 lineto + -1.0078 0.125 lineto + -1.0019 0.0616 lineto + -1.0 0.0018 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, -1.1579208923731617E77) +newpath + -0.5 0.0 moveto + -0.5257 0.1104 lineto + -0.5679 0.1713 lineto + -0.6211 0.2142 lineto + -0.697 0.2443 lineto + -0.7847 0.2476 lineto + -0.8645 0.2223 lineto + -0.9227 0.1807 lineto + -0.9704 0.1181 lineto + -0.9925 0.0608 lineto + -1.0 0.0018 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, -1.1579208923731617E77) +newpath + -2.0 0.0 moveto + -1.9875 0.1111 lineto + -1.9646 0.1848 lineto + -1.9305 0.2542 lineto + -1.8682 0.3383 lineto + -1.822 0.3825 lineto + -1.764 0.4246 lineto + -1.6942 0.4608 lineto + -1.6141 0.4868 lineto + -1.5274 0.4992 lineto + -1.439 0.4963 lineto + -1.3542 0.4783 lineto + -1.2778 0.4479 lineto + -1.2124 0.409 lineto + -1.159 0.3657 lineto + -1.1171 0.3215 lineto + -1.0612 0.2397 lineto + -1.031 0.1734 lineto + -1.0077 0.0873 lineto + -1.0 0.0018 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Real axis +newpath -5 0 moveto 5 0 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 1.0 0.12 moveto 1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.0 0.12 moveto -1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 2.0 0.12 moveto 2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -2.0 0.12 moveto -2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.0 0.12 moveto 3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.0 0.12 moveto -3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 4.0 0.12 moveto 4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -4.0 0.12 moveto -4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 1.5707963267948966 0.09 moveto 1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.5707963267948966 0.09 moveto -1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.141592653589793 0.09 moveto 3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.141592653589793 0.09 moveto -3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +% Imaginary axis +newpath 0 -5 moveto 0 5 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 0.12 1.0 moveto -0.12 1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -1.0 moveto -0.12 -1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 2.0 moveto -0.12 2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -2.0 moveto -0.12 -2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 3.0 moveto -0.12 3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -3.0 moveto -0.12 -3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 4.0 moveto -0.12 4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -4.0 moveto -0.12 -4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 1.5707963267948966 moveto -0.09 1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -1.5707963267948966 moveto -0.09 -1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 3.141592653589793 moveto -0.09 3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -3.141592653589793 moveto -0.09 -3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +% End of PostScript file for plot of function ONE-MINUS-OVER-ONE-PLUS +%%EndDocument + @endspecial -16 x(A)16 b(line)i(is)f(a)f(degenerate)i(circle)g(with)e +(in\014nite)j(radius;)g(when)e(I)f(sa)o(y)h(\\circles")h(here)f(I)f +(also)0 1800 y(mean)f(lines.)23 b(Then)15 b(\()p Fq(z)f +Ff(\000)c FA(1\))p Fd(=)p FA(\()p Fq(z)k FA(+)9 b(1\))15 +b(maps)g(circles)h(in)o(to)f(circles.)23 b(All)16 b(circles)g(through)g +Ff(\000)p FA(1)0 1846 y(b)q(ecome)c(lines;)h(all)g(lines)g(b)q(ecome)f +(circles)h(through)f(1.)17 b(The)11 b(real)h(axis)h(is)f(mapp)q(ed)g +(on)o(to)g(itself:)0 1891 y(1)j(to)g(the)g(origin,)j(the)d(origin)i(to) +e Ff(\000)p FA(1,)g Ff(\000)p FA(1)g(to)g(in\014nit)o(y)m(,)j(and)d +(in\014nit)o(y)j(to)d(1.)23 b(The)15 b(imaginary)0 1937 +y(axis)h(b)q(ecomes)g(the)f(unit)h(circle;)h Fq(i)d FA(is)h(mapp)q(ed)i +(to)d(itself,)i(as)f(is)h Ff(\000)p Fq(i)t FA(.)22 b(Th)o(us)15 +b(the)g(en)o(tire)h(righ)o(t)0 1983 y(half-plane)k(is)e(mapp)q(ed)g(to) +g(the)f(in)o(terior)i(of)f(the)f(unit)i(circle,)h(the)d(unit)i(circle)g +(in)o(terior)g(to)0 2028 y(the)13 b(left)h(half-plane,)h(the)f(left)f +(half-plane)j(to)d(the)g(unit)i(circle)f(exterior,)g(and)g(the)g(unit)g +(circle)0 2074 y(exterior)i(to)f(the)f(righ)o(t)i(half-plane.)24 +b(Imagine)16 b(the)f(complex)h(plane)h(to)d(b)q(e)h(a)g(v)n(ast)g(sea.) +23 b(The)0 2120 y(Colossus)13 b(of)e(Rho)q(des)i(straddles)g(the)f +(origin,)i(its)e(left)f(fo)q(ot)h(on)g Fq(i)f FA(and)h(its)g(righ)o(t)h +(fo)q(ot)e(on)h Ff(\000)p Fq(i)t FA(.)k(It)0 2165 y(b)q(ends)g(do)o(wn) +f(and)g(brie\015y)h(paddles)h(w)o(ater)d(b)q(et)o(w)o(een)h(its)g(legs) +h(so)e(furiously)j(that)e(the)g(w)o(ater)0 2211 y(directly)f(b)q +(eneath)f(is)g(pushed)g(out)f(in)o(to)h(the)f(en)o(tire)h(area)g(b)q +(ehind)h(it;)e(m)o(uc)o(h)h(that)f(w)o(as)g(b)q(ehind)0 +2257 y(swirls)j(forw)o(ard)e(to)h(either)g(side;)h(and)f(all)h(that)f +(w)o(as)f(b)q(efore)h(is)g(suc)o(k)o(ed)h(in)f(to)f(lie)i(b)q(et)o(w)o +(een)f(its)0 2302 y(feet.)p 0 2329 V -33 2344 a @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 346 370 +346 369 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(346)77 b(COMMON)13 +b(LISP)p 0 255 1395 2 v 0 324 a Fm(Figure)h(12-6:)j FA(Illustration)f +(of)d(the)g(Range)h(of)f(the)g(F)m(unction)h(\(1)9 b(+)f +Fq(z)d FA(\))p Fd(=)p FA(\(1)j Ff(\000)h Fq(z)c FA(\))0 +1770 y @beginspecial @setspecial +%%BeginDocument: plus-over-minus-plot.ps +% PostScript file for plot of function ONE-PLUS-OVER-ONE-MINUS +% Plot is to fit in a region 4.666666666666667 inches square +% showing axes extending 4.1 units from the origin. + +40.97560975609756 40.97560975609756 scale +4.1 4.1 translate +newpath + -4.1 -4.1 moveto + 4.1 -4.1 lineto + 4.1 4.1 lineto + -4.1 4.1 lineto + closepath +clip +% Moby grid for function ONE-PLUS-OVER-ONE-MINUS +% Annulus 0.25 0.5 4 0.97 0.45 +% Sector from 4.7124 to 6.2832 (quadrant 3) +newpath + 0.8824 -0.4706 moveto + 0.8286 -0.5599 lineto + 0.794 -0.6079 lineto + 0.7534 -0.6575 lineto + %middle radial + 0.7534 -0.6575 lineto + 0.6842 -0.7293 lineto + 0.6 -0.8 lineto + %end radial + 0.6 -0.8 lineto + 0.6227 -0.8294 lineto + 0.6743 -0.8905 lineto + 0.7356 -0.9544 lineto + 0.809 -1.0208 lineto + 0.8971 -1.0889 lineto + 0.9479 -1.123 lineto + 1.0037 -1.1569 lineto + 1.0653 -1.19 lineto + 1.1332 -1.222 lineto + 1.208 -1.252 lineto + 1.2906 -1.2792 lineto + 1.3815 -1.3025 lineto + %middle circumferential + 1.3815 -1.3025 lineto + 1.4675 -1.3184 lineto + 1.5606 -1.3291 lineto + 1.6611 -1.3333 lineto + 1.769 -1.3294 lineto + 1.8547 -1.32 lineto + 1.914 -1.3102 lineto + 1.9749 -1.2972 lineto + 2.0372 -1.2808 lineto + 2.1009 -1.2606 lineto + 2.1657 -1.2364 lineto + 2.2314 -1.2079 lineto + 2.2975 -1.1746 lineto + 2.3639 -1.1365 lineto + 2.43 -1.0932 lineto + 2.4954 -1.0445 lineto + 2.5595 -0.9902 lineto + 2.6219 -0.9303 lineto + 2.6817 -0.8645 lineto + 2.7385 -0.7931 lineto + 2.7914 -0.716 lineto + 2.8398 -0.6336 lineto + 2.883 -0.5462 lineto + 2.9203 -0.4541 lineto + 2.9511 -0.358 lineto + 2.9747 -0.2584 lineto + 2.9908 -0.1563 lineto + 2.999 -0.0524 lineto + 3.0 0.0 lineto + %end circumferential + 3.0 0.0 lineto + 2.2 0.0 lineto + %middle radial + 2.2 0.0 lineto + 1.6667 0.0 lineto + %end radial + 1.6667 0.0 lineto + 1.6587 -0.0918 lineto + 1.6358 -0.1787 lineto + 1.6002 -0.2578 lineto + 1.5544 -0.3273 lineto + 1.5013 -0.386 lineto + 1.4435 -0.4339 lineto + 1.3832 -0.4712 lineto + 1.3224 -0.4987 lineto + %middle circumferential + 1.3224 -0.4987 lineto + 1.2535 -0.5196 lineto + 1.1874 -0.5306 lineto + 1.1253 -0.5333 lineto + 1.0145 -0.5199 lineto + 0.9221 -0.4897 lineto + 0.8824 -0.4706 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 3.1416 to 4.7124 (quadrant 2) +newpath + 0.6 0.0 moveto + 0.4545 0.0 lineto + %middle radial + 0.4545 0.0 lineto + 0.3333 0.0 lineto + %end radial + 0.3333 0.0 lineto + 0.3358 -0.0803 lineto + 0.3437 -0.1661 lineto + 0.3587 -0.2591 lineto + 0.3832 -0.3613 lineto + %middle circumferential + 0.3832 -0.3613 lineto + 0.4129 -0.4536 lineto + 0.4548 -0.556 lineto + 0.4819 -0.6116 lineto + 0.5143 -0.6706 lineto + 0.5531 -0.7333 lineto + 0.6 -0.8 lineto + %end circumferential + 0.6 -0.8 lineto + 0.6842 -0.7293 lineto + 0.7534 -0.6575 lineto + %middle radial + 0.7534 -0.6575 lineto + 0.794 -0.6079 lineto + 0.8286 -0.5599 lineto + 0.8824 -0.4706 lineto + %end radial + 0.8824 -0.4706 lineto + 0.8035 -0.4191 lineto + 0.7428 -0.3632 lineto + 0.6966 -0.3062 lineto + 0.6621 -0.2497 lineto + %middle circumferential + 0.6621 -0.2497 lineto + 0.6322 -0.1826 lineto + 0.6133 -0.1185 lineto + 0.6031 -0.0577 lineto + 0.6 0.0 lineto + %end circumferential + closepath +currentgray 0.6233333333333334 setgray fill setgray +% Sector from 1.5708 to 3.1416 (quadrant 1) +newpath + 0.8824 0.4706 moveto + 0.8286 0.5599 lineto + 0.794 0.6079 lineto + 0.7534 0.6575 lineto + %middle radial + 0.7534 0.6575 lineto + 0.6842 0.7293 lineto + 0.6 0.8 lineto + %end radial + 0.6 0.8 lineto + 0.5632 0.7485 lineto + 0.5294 0.6959 lineto + 0.4983 0.6424 lineto + 0.47 0.588 lineto + 0.4444 0.5327 lineto + 0.4214 0.4766 lineto + 0.401 0.4195 lineto + 0.3832 0.3613 lineto + %middle circumferential + 0.3832 0.3613 lineto + 0.3624 0.2767 lineto + 0.3468 0.1889 lineto + 0.3369 0.0972 lineto + 0.3333 0.0 lineto + %end circumferential + 0.3333 0.0 lineto + 0.4545 0.0 lineto + %middle radial + 0.4545 0.0 lineto + 0.6 0.0 lineto + %end radial + 0.6 0.0 lineto + 0.6046 0.0697 lineto + 0.6172 0.1345 lineto + 0.6367 0.1944 lineto + 0.6621 0.2497 lineto + %middle circumferential + 0.6621 0.2497 lineto + 0.7063 0.3195 lineto + 0.7589 0.3798 lineto + 0.8181 0.4302 lineto + 0.8824 0.4706 lineto + %end circumferential + closepath +currentgray 0.7966666666666668 setgray fill setgray +% Sector from 0.0 to 1.5708 (quadrant 0) +newpath + 1.6667 0.0 moveto + 2.2 0.0 lineto + %middle radial + 2.2 0.0 lineto + 3.0 0.0 lineto + %end radial + 3.0 0.0 lineto + 2.9994 0.0403 lineto + 2.9946 0.1195 lineto + 2.9841 0.2052 lineto + 2.9674 0.2932 lineto + 2.9442 0.3817 lineto + 2.9204 0.4537 lineto + 2.887 0.5372 lineto + 2.8403 0.6328 lineto + 2.8105 0.6851 lineto + 2.7758 0.74 lineto + 2.7353 0.7974 lineto + 2.6883 0.8568 lineto + 2.6341 0.9175 lineto + 2.5721 0.9788 lineto + 2.5017 1.0395 lineto + 2.4224 1.0985 lineto + 2.334 1.1543 lineto + 2.2366 1.2054 lineto + 2.1306 1.25 lineto + 2.0746 1.2694 lineto + 2.0167 1.2866 lineto + 1.9572 1.3013 lineto + 1.8961 1.3134 lineto + 1.8338 1.3228 lineto + 1.7703 1.3293 lineto + 1.7061 1.3328 lineto + 1.6412 1.3331 lineto + 1.5761 1.3303 lineto + 1.5109 1.3242 lineto + 1.446 1.3149 lineto + 1.3815 1.3025 lineto + %middle circumferential + 1.3815 1.3025 lineto + 1.3206 1.2877 lineto + 1.2607 1.27 lineto + 1.2019 1.2497 lineto + 1.1444 1.2268 lineto + 1.0883 1.2014 lineto + 1.0339 1.1736 lineto + 0.9813 1.1437 lineto + 0.9305 1.1117 lineto + 0.8818 1.0778 lineto + 0.835 1.0422 lineto + 0.748 0.9663 lineto + 0.6696 0.8853 lineto + 0.6 0.8 lineto + %end circumferential + 0.6 0.8 lineto + 0.6842 0.7293 lineto + 0.7534 0.6575 lineto + %middle radial + 0.7534 0.6575 lineto + 0.794 0.6079 lineto + 0.8286 0.5599 lineto + 0.8824 0.4706 lineto + %end radial + 0.8824 0.4706 lineto + 0.9109 0.4847 lineto + 0.9691 0.5074 lineto + 1.0281 0.5228 lineto + 1.1154 0.533 lineto + 1.2252 0.5254 lineto + 1.3224 0.4987 lineto + %middle circumferential + 1.3224 0.4987 lineto + 1.4077 0.4574 lineto + 1.4757 0.4089 lineto + 1.5281 0.3586 lineto + 1.5673 0.31 lineto + 1.6168 0.2253 lineto + 1.6421 0.1601 lineto + 1.6608 0.0787 lineto + 1.6667 0.0021 lineto + 1.6667 0.0 lineto + %end circumferential + closepath +currentgray 0.9700000000000001 setgray fill setgray +% Annulus 0.75 1.0 8 0.97 0.45 +% Sector from 5.4978 to 6.2832 (quadrant 3) +newpath + 0.8718 -2.1135 moveto + 0.8253 -2.1484 lineto + 0.7767 -2.1818 lineto + 0.726 -2.2136 lineto + 0.6732 -2.2437 lineto + 0.6185 -2.2718 lineto + 0.5619 -2.2978 lineto + 0.5036 -2.3215 lineto + 0.4437 -2.3428 lineto + %middle radial + 0.4437 -2.3428 lineto + 0.3367 -2.3735 lineto + 0.2264 -2.396 lineto + 0.1138 -2.4096 lineto + 0.0 -2.4142 lineto + %end radial + 0.0 -2.4142 lineto + 0.0 -2.4553 lineto + 0.0 -2.5415 lineto + 0.0 -2.7837 lineto + 0.0 -2.8932 lineto + 0.0 -3.011 lineto + 0.0 -3.1384 lineto + 0.0 -3.241 lineto + 0.0 -3.313 lineto + 0.0 -3.3881 lineto + 0.0 -3.5072 lineto + 0.0 -3.5913 lineto + 0.0 -3.8196 lineto + 0.0 -3.9707 lineto + 0.0 -4.134 lineto + 0.0 -4.3421 lineto + 0.0 -4.5719 lineto + 0.0 -4.7143 lineto + 0.0 -4.827 lineto + 0.0 -5.0273 lineto + %middle circumferential + 0.0 -5.0273 lineto + 0.0 -5.1062 lineto + 0.0 -5.2715 lineto + 0.0 -5.5406 lineto + 0.0 -5.7867 lineto + 0.0 -5.9451 lineto + 0.0 -6.1703 lineto + 0.0 -6.2894 lineto + 0.0 -6.3507 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + %start splice + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 0.0 lineto + %end splice + %end circumferential + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + %middle radial + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + %end radial + 6.378103166302659 0.0 lineto + 5.9201 -2.5397 lineto + 5.8195 -2.5887 lineto + 5.7726 -2.6287 lineto + 5.7254 -2.6675 lineto + 5.678 -2.7051 lineto + 5.6303 -2.7416 lineto + 5.5824 -2.7769 lineto + 5.5343 -2.8111 lineto + 5.462 -2.8602 lineto + 5.3653 -2.9218 lineto + 5.2685 -2.9791 lineto + 5.1717 -3.0322 lineto + 5.0753 -3.0812 lineto + 4.9793 -3.1262 lineto + 4.8838 -3.1674 lineto + 4.7892 -3.205 lineto + 4.6955 -3.2391 lineto + 4.6027 -3.2698 lineto + 4.5111 -3.2973 lineto + 4.4207 -3.3217 lineto + 4.3316 -3.3432 lineto + 4.2439 -3.362 lineto + 4.1575 -3.3781 lineto + 4.0727 -3.3917 lineto + 3.9893 -3.403 lineto + 3.9075 -3.4121 lineto + 3.8273 -3.419 lineto + 3.7487 -3.424 lineto + 3.6716 -3.4271 lineto + 3.5962 -3.4285 lineto + 3.5224 -3.4282 lineto + 3.4502 -3.4264 lineto + 3.3796 -3.4232 lineto + 3.3106 -3.4186 lineto + 3.2432 -3.4128 lineto + 3.1773 -3.4058 lineto + 3.113 -3.3978 lineto + 3.0502 -3.3887 lineto + 2.9889 -3.3787 lineto + 2.929 -3.3679 lineto + 2.8706 -3.3562 lineto + 2.7857 -3.3373 lineto + 2.6773 -3.3099 lineto + 2.5742 -3.2804 lineto + 2.4762 -3.2489 lineto + %middle circumferential + 2.4762 -3.2489 lineto + 2.3768 -3.2137 lineto + 2.2825 -3.1771 lineto + 2.1933 -3.1394 lineto + 2.1087 -3.1009 lineto + 2.0285 -3.0618 lineto + 1.9525 -3.0223 lineto + 1.8805 -2.9826 lineto + 1.8121 -2.9428 lineto + 1.7473 -2.903 lineto + 1.6857 -2.8634 lineto + 1.6272 -2.824 lineto + 1.5717 -2.785 lineto + 1.5188 -2.7463 lineto + 1.4686 -2.708 lineto + 1.4208 -2.6702 lineto + 1.3752 -2.6328 lineto + 1.2905 -2.5598 lineto + 1.2135 -2.489 lineto + 1.1433 -2.4206 lineto + 1.0792 -2.3546 lineto + 1.0205 -2.2909 lineto + 0.9667 -2.2295 lineto + 0.9173 -2.1704 lineto + 0.8718 -2.1135 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 4.7124 to 5.4978 (quadrant 3) +newpath + 0.28 -0.96 moveto + 0.2075 -0.9782 lineto + 0.1327 -0.9912 lineto + %middle radial + 0.1327 -0.9912 lineto + 0.0667 -0.9978 lineto + 0.0 -1.0 lineto + %end radial + 0.0 -1.0 lineto + 0.0 -1.2136 lineto + 0.0 -1.2765 lineto + 0.0 -1.3442 lineto + 0.0 -1.4173 lineto + 0.0 -1.4966 lineto + %middle circumferential + 0.0 -1.4966 lineto + 0.0 -1.6189 lineto + 0.0 -1.8092 lineto + 0.0 -2.2134 lineto + 0.0 -2.2899 lineto + 0.0 -2.4142 lineto + %end circumferential + 0.0 -2.4142 lineto + 0.1138 -2.4096 lineto + 0.2264 -2.396 lineto + 0.3367 -2.3735 lineto + 0.4437 -2.3428 lineto + %middle radial + 0.4437 -2.3428 lineto + 0.5036 -2.3215 lineto + 0.5619 -2.2978 lineto + 0.6185 -2.2718 lineto + 0.6732 -2.2437 lineto + 0.726 -2.2136 lineto + 0.7767 -2.1818 lineto + 0.8253 -2.1484 lineto + 0.8718 -2.1135 lineto + %end radial + 0.8718 -2.1135 lineto + 0.8488 -2.0839 lineto + 0.8058 -2.0264 lineto + 0.7661 -1.9711 lineto + 0.7296 -1.9181 lineto + 0.6959 -1.8672 lineto + 0.65 -1.7945 lineto + 0.5963 -1.704 lineto + 0.5498 -1.6202 lineto + 0.5093 -1.5423 lineto + 0.4738 -1.4697 lineto + 0.4426 -1.402 lineto + %middle circumferential + 0.4426 -1.402 lineto + 0.4129 -1.3337 lineto + 0.3867 -1.2699 lineto + 0.3636 -1.2102 lineto + 0.343 -1.1542 lineto + 0.3081 -1.0517 lineto + 0.28 -0.96 lineto + %end circumferential + closepath +currentgray 0.5242857142857142 setgray fill setgray +% Sector from 3.927 to 4.7124 (quadrant 2) +newpath + 0.1668 -0.4043 moveto + 0.078 -0.4121 lineto + %middle radial + 0.078 -0.4121 lineto + 0.0 -0.4142 lineto + %end radial + 0.0 -0.4142 lineto + 0.0 -0.6682 lineto + %middle circumferential + 0.0 -0.6682 lineto + 0.0 -0.9034 lineto + 0.0 -1.0 lineto + %end circumferential + 0.0 -1.0 lineto + 0.0667 -0.9978 lineto + 0.1327 -0.9912 lineto + %middle radial + 0.1327 -0.9912 lineto + 0.2075 -0.9782 lineto + 0.28 -0.96 lineto + %end radial + 0.28 -0.96 lineto + 0.2552 -0.8705 lineto + 0.235 -0.7897 lineto + 0.2185 -0.7161 lineto + 0.2048 -0.6486 lineto + %middle circumferential + 0.2048 -0.6486 lineto + 0.1924 -0.5806 lineto + 0.1822 -0.5177 lineto + 0.1737 -0.4592 lineto + 0.1668 -0.4043 lineto + %end circumferential + closepath +currentgray 0.5985714285714285 setgray fill setgray +% Sector from 3.1416 to 3.927 (quadrant 2) +newpath + 0.1429 0.0 moveto + 0.0667 0.0 lineto + %middle radial + 0.0667 0.0 lineto + 0.0 0.0 lineto + %end radial + 0.0 0.0 lineto + 0.0 -0.047 lineto + 0.0 -0.1989 lineto + %middle circumferential + 0.0 -0.1989 lineto + 0.0 -0.3005 lineto + 0.0 -0.3844 lineto + 0.0 -0.4142 lineto + %end circumferential + 0.0 -0.4142 lineto + 0.078 -0.4121 lineto + %middle radial + 0.078 -0.4121 lineto + 0.1668 -0.4043 lineto + %end radial + 0.1668 -0.4043 lineto + 0.1555 -0.2939 lineto + 0.1484 -0.1947 lineto + %middle circumferential + 0.1484 -0.1947 lineto + 0.1441 -0.0936 lineto + 0.1429 0.0 lineto + %end circumferential + closepath +currentgray 0.6728571428571428 setgray fill setgray +% Sector from 2.3562 to 3.1416 (quadrant 1) +newpath + 0.1668 0.4043 moveto + 0.078 0.4121 lineto + %middle radial + 0.078 0.4121 lineto + 0.0 0.4142 lineto + %end radial + 0.0 0.4142 lineto + 0.0 0.361 lineto + 0.0 0.1989 lineto + %middle circumferential + 0.0 0.1989 lineto + 0.0 0.1018 lineto + 0.0 0.0 lineto + %end circumferential + 0.0 0.0 lineto + 0.0667 0.0 lineto + %middle radial + 0.0667 0.0 lineto + 0.1429 0.0 lineto + %end radial + 0.1429 0.0 lineto + 0.1443 0.0997 lineto + 0.1484 0.1947 lineto + %middle circumferential + 0.1484 0.1947 lineto + 0.1561 0.3006 lineto + 0.1668 0.4043 lineto + %end circumferential + closepath +currentgray 0.7471428571428572 setgray fill setgray +% Sector from 1.5708 to 2.3562 (quadrant 1) +newpath + 0.28 0.96 moveto + 0.2075 0.9782 lineto + 0.1327 0.9912 lineto + %middle radial + 0.1327 0.9912 lineto + 0.0667 0.9978 lineto + 0.0 1.0 lineto + %end radial + 0.0 1.0 lineto + 0.0 0.9565 lineto + 0.0 0.8715 lineto + 0.0 0.6682 lineto + %middle circumferential + 0.0 0.6682 lineto + 0.0 0.4771 lineto + 0.0 0.4142 lineto + %end circumferential + 0.0 0.4142 lineto + 0.078 0.4121 lineto + %middle radial + 0.078 0.4121 lineto + 0.1668 0.4043 lineto + %end radial + 0.1668 0.4043 lineto + 0.1746 0.4652 lineto + 0.1835 0.5261 lineto + 0.1935 0.5872 lineto + 0.2048 0.6486 lineto + %middle circumferential + 0.2048 0.6486 lineto + 0.2203 0.7246 lineto + 0.2379 0.8017 lineto + 0.2577 0.8801 lineto + 0.28 0.96 lineto + %end circumferential + closepath +currentgray 0.8214285714285714 setgray fill setgray +% Sector from 0.7854 to 1.5708 (quadrant 0) +newpath + 0.8718 2.1135 moveto + 0.8253 2.1484 lineto + 0.7767 2.1818 lineto + 0.726 2.2136 lineto + 0.6732 2.2437 lineto + 0.6185 2.2718 lineto + 0.5619 2.2978 lineto + 0.5036 2.3215 lineto + 0.4437 2.3428 lineto + %middle radial + 0.4437 2.3428 lineto + 0.3367 2.3735 lineto + 0.2264 2.396 lineto + 0.1138 2.4096 lineto + 0.0 2.4142 lineto + %end radial + 0.0 2.4142 lineto + 0.0 2.314 lineto + 0.0 2.249 lineto + 0.0 2.1234 lineto + 0.0 2.0032 lineto + 0.0 1.9163 lineto + 0.0 1.4966 lineto + %middle circumferential + 0.0 1.4966 lineto + 0.0 1.3957 lineto + 0.0 1.2362 lineto + 0.0 1.1154 lineto + 0.0 1.0 lineto + %end circumferential + 0.0 1.0 lineto + 0.0667 0.9978 lineto + 0.1327 0.9912 lineto + %middle radial + 0.1327 0.9912 lineto + 0.2075 0.9782 lineto + 0.28 0.96 lineto + %end radial + 0.28 0.96 lineto + 0.3127 1.0656 lineto + 0.3502 1.1743 lineto + 0.3711 1.2299 lineto + 0.3933 1.2864 lineto + 0.4172 1.3438 lineto + 0.4426 1.402 lineto + %middle circumferential + 0.4426 1.402 lineto + 0.4814 1.4855 lineto + 0.5239 1.5708 lineto + 0.5703 1.6578 lineto + 0.6209 1.7464 lineto + 0.6761 1.8364 lineto + 0.7361 1.9277 lineto + 0.8013 2.0202 lineto + 0.8536 2.0901 lineto + 0.8718 2.1135 lineto + %end circumferential + closepath +currentgray 0.8957142857142858 setgray fill setgray +% Sector from 0.0 to 0.7854 (quadrant 0) +newpath + 6.378103166302659 0.0 moveto + 6.378103166302659 0.0 lineto + %middle radial + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + %start splice + 6.378103166302659 6.378103166302659 lineto + 6.378103166302659 6.378103166302659 lineto + 6.378103166302659 6.378103166302659 lineto + 6.378103166302659 6.378103166302659 lineto + 6.378103166302659 6.378103166302659 lineto + 6.378103166302659 6.378103166302659 lineto + 6.378103166302659 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + %end splice + %end radial + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.3502 lineto + 0.0 6.1982 lineto + 0.0 6.1383 lineto + 0.0 5.9333 lineto + 0.0 5.8191 lineto + 0.0 5.597 lineto + 0.0 5.489 lineto + 0.0 5.3308 lineto + 0.0 5.1266 lineto + 0.0 5.0273 lineto + %middle circumferential + 0.0 5.0273 lineto + 0.0 4.9168 lineto + 0.0 4.6503 lineto + 0.0 4.3485 lineto + 0.0 4.252 lineto + 0.0 4.1575 lineto + 0.0 4.065 lineto + 0.0 3.9298 lineto + 0.0 3.842 lineto + 0.0 3.7559 lineto + 0.0 3.6717 lineto + 0.0 3.5891 lineto + 0.0 3.5082 lineto + 0.0 3.39 lineto + 0.0 3.2753 lineto + 0.0 3.0918 lineto + 0.0 2.9516 lineto + 0.0 2.8836 lineto + 0.0 2.8169 lineto + 0.0 2.7515 lineto + 0.0 2.6559 lineto + 0.0 2.5937 lineto + 0.0 2.5327 lineto + 0.0 2.4729 lineto + 0.0 2.4142 lineto + %end circumferential + 0.0 2.4142 lineto + 0.1138 2.4096 lineto + 0.2264 2.396 lineto + 0.3367 2.3735 lineto + 0.4437 2.3428 lineto + %middle radial + 0.4437 2.3428 lineto + 0.5036 2.3215 lineto + 0.5619 2.2978 lineto + 0.6185 2.2718 lineto + 0.6732 2.2437 lineto + 0.726 2.2136 lineto + 0.7767 2.1818 lineto + 0.8253 2.1484 lineto + 0.8718 2.1135 lineto + %end radial + 0.8718 2.1135 lineto + 0.9366 2.1938 lineto + 1.0057 2.2743 lineto + 1.0794 2.3547 lineto + 1.1577 2.4349 lineto + 1.2407 2.5145 lineto + 1.2841 2.554 lineto + 1.3287 2.5933 lineto + 1.3745 2.6322 lineto + 1.4215 2.6708 lineto + 1.4699 2.709 lineto + 1.5194 2.7467 lineto + 1.5703 2.784 lineto + 1.6224 2.8207 lineto + 1.6757 2.8568 lineto + 1.7303 2.8923 lineto + 1.7861 2.9271 lineto + 1.8432 2.9611 lineto + 1.9014 2.9944 lineto + 1.9609 3.0267 lineto + 2.0215 3.0582 lineto + 2.0832 3.0888 lineto + 2.1461 3.1183 lineto + 2.2101 3.1467 lineto + 2.2751 3.1741 lineto + 2.3412 3.2003 lineto + 2.4082 3.2252 lineto + 2.4762 3.2489 lineto + %middle circumferential + 2.4762 3.2489 lineto + 2.5481 3.2723 lineto + 2.6209 3.2942 lineto + 2.6946 3.3146 lineto + 2.7691 3.3334 lineto + 2.8443 3.3506 lineto + 2.9202 3.3661 lineto + 2.9966 3.38 lineto + 3.0736 3.3922 lineto + 3.1511 3.4027 lineto + 3.2289 3.4114 lineto + 3.3071 3.4184 lineto + 3.3854 3.4235 lineto + 3.4639 3.4269 lineto + 3.5425 3.4284 lineto + 3.621 3.4282 lineto + 3.6995 3.4262 lineto + 3.7777 3.4224 lineto + 3.8557 3.4168 lineto + 3.9334 3.4094 lineto + 4.0107 3.4003 lineto + 4.0874 3.3895 lineto + 4.1636 3.377 lineto + 4.2392 3.3629 lineto + 4.3141 3.3472 lineto + 4.3882 3.3299 lineto + 4.4615 3.311 lineto + 4.5339 3.2907 lineto + 4.6054 3.269 lineto + 4.6758 3.2458 lineto + 4.7452 3.2214 lineto + 4.8135 3.1957 lineto + 4.8807 3.1687 lineto + 4.9467 3.1406 lineto + 5.0115 3.1115 lineto + 5.0751 3.0812 lineto + 5.1374 3.0501 lineto + 5.1984 3.018 lineto + 5.2581 2.985 lineto + 5.3164 2.9513 lineto + 5.3734 2.9168 lineto + 5.4291 2.8817 lineto + 5.4833 2.846 lineto + 5.5363 2.8097 lineto + 5.5878 2.7729 lineto + 5.638 2.7357 lineto + 5.6869 2.6982 lineto + 5.7343 2.6603 lineto + 5.7805 2.6221 lineto + 5.8253 2.5837 lineto + 5.9507 2.4672 lineto + 6.378103166302659 0.479 lineto + 6.378103166302659 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 1.5708 2.0 16 0.97 0.45 +% Sector from 5.8905 to 6.2832 (quadrant 3) +newpath + -2.5974 -2.128 moveto + -2.5864 -2.0416 lineto + -2.5732 -1.959 lineto + -2.558 -1.8801 lineto + -2.5411 -1.8049 lineto + -2.5228 -1.7332 lineto + -2.5034 -1.6649 lineto + -2.483 -1.5998 lineto + -2.4617 -1.5377 lineto + %middle radial + -2.4617 -1.5377 lineto + -2.4226 -1.4347 lineto + -2.3822 -1.3402 lineto + -2.3411 -1.2533 lineto + -2.2998 -1.1734 lineto + %end radial + -2.2998 -1.1734 lineto + -2.3649 -1.1359 lineto + -2.4299 -1.0933 lineto + -2.4941 -1.0455 lineto + -2.5572 -0.9924 lineto + -2.6185 -0.9337 lineto + -2.6775 -0.8695 lineto + -2.7335 -0.7998 lineto + -2.7859 -0.7247 lineto + %middle circumferential + -2.7859 -0.7247 lineto + -2.8325 -0.6469 lineto + -2.8746 -0.5646 lineto + -2.9114 -0.478 lineto + -2.9424 -0.3876 lineto + -2.9672 -0.2939 lineto + -2.9853 -0.1976 lineto + -2.9963 -0.0994 lineto + -3.0 0.0 lineto + %end circumferential + -3.0 0.0 lineto + -3.5465 0.0 lineto + %middle radial + -3.5465 0.0 lineto + -4.5039 0.0 lineto + %end radial + -4.5039 0.0 lineto + -4.5037 -0.03 lineto + -4.502 -0.0901 lineto + -4.4986 -0.1499 lineto + -4.4936 -0.2095 lineto + -4.4869 -0.2688 lineto + -4.4786 -0.3278 lineto + -4.4687 -0.3863 lineto + -4.4573 -0.4443 lineto + -4.4442 -0.5018 lineto + -4.4219 -0.5869 lineto + -4.387 -0.6978 lineto + -4.3466 -0.8055 lineto + -4.301 -0.9097 lineto + -4.2507 -1.01 lineto + -4.196 -1.1062 lineto + -4.1373 -1.1979 lineto + -4.0752 -1.2852 lineto + -4.01 -1.3678 lineto + -3.9421 -1.4457 lineto + -3.8719 -1.5188 lineto + -3.7999 -1.5871 lineto + %middle circumferential + -3.7999 -1.5871 lineto + -3.7239 -1.6527 lineto + -3.6467 -1.7133 lineto + -3.5688 -1.7691 lineto + -3.4903 -1.8201 lineto + -3.4117 -1.8665 lineto + -3.3332 -1.9085 lineto + -3.255 -1.9462 lineto + -3.1774 -1.9799 lineto + -3.1007 -2.0098 lineto + -3.0249 -2.036 lineto + -2.9502 -2.0588 lineto + -2.8767 -2.0784 lineto + -2.8047 -2.0949 lineto + -2.734 -2.1085 lineto + -2.6649 -2.1195 lineto + -2.5974 -2.128 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.4978 to 5.8905 (quadrant 3) +newpath + -1.1777 -1.7829 moveto + -1.2197 -1.7158 lineto + -1.2565 -1.6491 lineto + -1.2884 -1.5832 lineto + -1.3157 -1.5186 lineto + %middle radial + -1.3157 -1.5186 lineto + -1.3365 -1.4625 lineto + -1.3691 -1.3543 lineto + -1.3815 -1.3025 lineto + %end radial + -1.3815 -1.3025 lineto + -1.4721 -1.3191 lineto + -1.5706 -1.3299 lineto + -1.6772 -1.3333 lineto + -1.792 -1.3274 lineto + %middle circumferential + -1.792 -1.3274 lineto + -1.8503 -1.3206 lineto + -1.9104 -1.3109 lineto + -1.9721 -1.2979 lineto + -2.0354 -1.2813 lineto + -2.1001 -1.2609 lineto + -2.1659 -1.2363 lineto + -2.2326 -1.2073 lineto + -2.2998 -1.1734 lineto + %end circumferential + -2.2998 -1.1734 lineto + -2.3411 -1.2533 lineto + -2.3822 -1.3402 lineto + -2.4226 -1.4347 lineto + -2.4617 -1.5377 lineto + %middle radial + -2.4617 -1.5377 lineto + -2.483 -1.5998 lineto + -2.5034 -1.6649 lineto + -2.5228 -1.7332 lineto + -2.5411 -1.8049 lineto + -2.558 -1.8801 lineto + -2.5732 -1.959 lineto + -2.5864 -2.0416 lineto + -2.5974 -2.128 lineto + %end radial + -2.5974 -2.128 lineto + -2.5293 -2.1345 lineto + -2.4629 -2.1386 lineto + -2.3984 -2.1406 lineto + -2.3356 -2.1407 lineto + -2.2746 -2.1391 lineto + -2.2154 -2.1358 lineto + -2.1023 -2.125 lineto + -1.9961 -2.1093 lineto + -1.8964 -2.0895 lineto + -1.8031 -2.0664 lineto + -1.7157 -2.0407 lineto + %middle circumferential + -1.7157 -2.0407 lineto + -1.6312 -2.012 lineto + -1.5524 -1.9815 lineto + -1.4788 -1.9498 lineto + -1.4101 -1.9172 lineto + -1.346 -1.884 lineto + -1.2861 -1.8504 lineto + -1.2301 -1.8166 lineto + -1.1777 -1.7829 lineto + %end circumferential + closepath +currentgray 0.48466666666666664 setgray fill setgray +% Sector from 5.1051 to 5.4978 (quadrant 3) +newpath + -0.6478 -1.2813 moveto + -0.7153 -1.2266 lineto + -0.7754 -1.1694 lineto + %middle radial + -0.7754 -1.1694 lineto + -0.8228 -1.1175 lineto + -0.8647 -1.0652 lineto + %end radial + -0.8647 -1.0652 lineto + -0.9112 -1.0987 lineto + -0.9623 -1.1321 lineto + -1.0183 -1.1651 lineto + -1.08 -1.1973 lineto + %middle circumferential + -1.08 -1.1973 lineto + -1.1453 -1.2272 lineto + -1.2169 -1.2552 lineto + -1.2955 -1.2806 lineto + -1.3815 -1.3025 lineto + %end circumferential + -1.3815 -1.3025 lineto + -1.3691 -1.3543 lineto + -1.3365 -1.4625 lineto + -1.3157 -1.5186 lineto + %middle radial + -1.3157 -1.5186 lineto + -1.2884 -1.5832 lineto + -1.2565 -1.6491 lineto + -1.2197 -1.7158 lineto + -1.1777 -1.7829 lineto + %end radial + -1.1777 -1.7829 lineto + -1.127 -1.7481 lineto + -1.0796 -1.7136 lineto + -0.9938 -1.6459 lineto + -0.9185 -1.5802 lineto + -0.8521 -1.5169 lineto + %middle circumferential + -0.8521 -1.5169 lineto + -0.7914 -1.4539 lineto + -0.7377 -1.3936 lineto + -0.6902 -1.3362 lineto + -0.6478 -1.2813 lineto + %end circumferential + closepath +currentgray 0.5193333333333334 setgray fill setgray +% Sector from 4.7124 to 5.1051 (quadrant 3) +newpath + -0.4232 -0.906 moveto + -0.5224 -0.8527 lineto + %middle radial + -0.5224 -0.8527 lineto + -0.6 -0.8 lineto + %end radial + -0.6 -0.8 lineto + -0.6505 -0.8632 lineto + -0.711 -0.9297 lineto + %middle circumferential + -0.711 -0.9297 lineto + -0.7807 -0.9964 lineto + -0.8647 -1.0652 lineto + %end circumferential + -0.8647 -1.0652 lineto + -0.8228 -1.1175 lineto + -0.7754 -1.1694 lineto + %middle radial + -0.7754 -1.1694 lineto + -0.7153 -1.2266 lineto + -0.6478 -1.2813 lineto + %end radial + -0.6478 -1.2813 lineto + -0.6086 -1.2271 lineto + -0.5736 -1.1754 lineto + -0.5141 -1.0794 lineto + %middle circumferential + -0.5141 -1.0794 lineto + -0.464 -0.9887 lineto + -0.4232 -0.906 lineto + %end circumferential + closepath +currentgray 0.554 setgray fill setgray +% Sector from 4.3197 to 4.7124 (quadrant 2) +newpath + -0.3142 -0.6216 moveto + -0.3939 -0.594 lineto + %middle radial + -0.3939 -0.594 lineto + -0.4594 -0.5659 lineto + %end radial + -0.4594 -0.5659 lineto + -0.4866 -0.6206 lineto + -0.519 -0.6787 lineto + %middle circumferential + -0.519 -0.6787 lineto + -0.5559 -0.7376 lineto + -0.6 -0.8 lineto + %end circumferential + -0.6 -0.8 lineto + -0.5224 -0.8527 lineto + %middle radial + -0.5224 -0.8527 lineto + -0.4232 -0.906 lineto + %end radial + -0.4232 -0.906 lineto + -0.3883 -0.8273 lineto + -0.3596 -0.7551 lineto + %middle circumferential + -0.3596 -0.7551 lineto + -0.3348 -0.6857 lineto + -0.3142 -0.6216 lineto + %end circumferential + closepath +currentgray 0.5886666666666667 setgray fill setgray +% Sector from 3.927 to 4.3197 (quadrant 2) +newpath + -0.2579 -0.3905 moveto + -0.3259 -0.3761 lineto + %middle radial + -0.3259 -0.3761 lineto + -0.3832 -0.3613 lineto + %end radial + -0.3832 -0.3613 lineto + -0.4154 -0.4605 lineto + %middle circumferential + -0.4154 -0.4605 lineto + -0.4469 -0.5384 lineto + -0.4594 -0.5659 lineto + %end circumferential + -0.4594 -0.5659 lineto + -0.3939 -0.594 lineto + %middle radial + -0.3939 -0.594 lineto + -0.3142 -0.6216 lineto + %end radial + -0.3142 -0.6216 lineto + -0.2964 -0.5592 lineto + -0.2815 -0.5011 lineto + %middle circumferential + -0.2815 -0.5011 lineto + -0.2579 -0.3905 lineto + %end circumferential + closepath +currentgray 0.6233333333333333 setgray fill setgray +% Sector from 3.5343 to 3.927 (quadrant 2) +newpath + -0.2304 -0.1887 moveto + -0.2922 -0.1825 lineto + %middle radial + -0.2922 -0.1825 lineto + -0.345 -0.176 lineto + %end radial + -0.345 -0.176 lineto + -0.3603 -0.2669 lineto + %middle circumferential + -0.3603 -0.2669 lineto + -0.3832 -0.3613 lineto + %end circumferential + -0.3832 -0.3613 lineto + -0.3259 -0.3761 lineto + %middle radial + -0.3259 -0.3761 lineto + -0.2579 -0.3905 lineto + %end radial + -0.2579 -0.3905 lineto + -0.2414 -0.2871 lineto + %middle circumferential + -0.2414 -0.2871 lineto + -0.2304 -0.1887 lineto + %end circumferential + closepath +currentgray 0.658 setgray fill setgray +% Sector from 3.1416 to 3.5343 (quadrant 2) +newpath + -0.222 0.0 moveto + -0.282 0.0 lineto + %middle radial + -0.282 0.0 lineto + -0.3333 0.0 lineto + %end radial + -0.3333 0.0 lineto + -0.3362 -0.0875 lineto + %middle circumferential + -0.3362 -0.0875 lineto + -0.345 -0.176 lineto + %end circumferential + -0.345 -0.176 lineto + -0.2922 -0.1825 lineto + %middle radial + -0.2922 -0.1825 lineto + -0.2304 -0.1887 lineto + %end radial + -0.2304 -0.1887 lineto + -0.2241 -0.0936 lineto + %middle circumferential + -0.2241 -0.0936 lineto + -0.222 0.0 lineto + %end circumferential + closepath +currentgray 0.6926666666666667 setgray fill setgray +% Sector from 2.7489 to 3.1416 (quadrant 1) +newpath + -0.2304 0.1887 moveto + -0.2922 0.1825 lineto + %middle radial + -0.2922 0.1825 lineto + -0.345 0.176 lineto + %end radial + -0.345 0.176 lineto + -0.3362 0.0875 lineto + %middle circumferential + -0.3362 0.0875 lineto + -0.3333 0.0 lineto + %end circumferential + -0.3333 0.0 lineto + -0.282 0.0 lineto + %middle radial + -0.282 0.0 lineto + -0.222 0.0 lineto + %end radial + -0.222 0.0 lineto + -0.2241 0.0936 lineto + %middle circumferential + -0.2241 0.0936 lineto + -0.2304 0.1887 lineto + %end circumferential + closepath +currentgray 0.7273333333333334 setgray fill setgray +% Sector from 2.3562 to 2.7489 (quadrant 1) +newpath + -0.2579 0.3905 moveto + -0.3259 0.3761 lineto + %middle radial + -0.3259 0.3761 lineto + -0.3832 0.3613 lineto + %end radial + -0.3832 0.3613 lineto + -0.3603 0.2669 lineto + %middle circumferential + -0.3603 0.2669 lineto + -0.345 0.176 lineto + %end circumferential + -0.345 0.176 lineto + -0.2922 0.1825 lineto + %middle radial + -0.2922 0.1825 lineto + -0.2304 0.1887 lineto + %end radial + -0.2304 0.1887 lineto + -0.2414 0.2871 lineto + %middle circumferential + -0.2414 0.2871 lineto + -0.2579 0.3905 lineto + %end circumferential + closepath +currentgray 0.762 setgray fill setgray +% Sector from 1.9635 to 2.3562 (quadrant 1) +newpath + -0.3142 0.6216 moveto + -0.3939 0.594 lineto + %middle radial + -0.3939 0.594 lineto + -0.4594 0.5659 lineto + %end radial + -0.4594 0.5659 lineto + -0.4154 0.4605 lineto + %middle circumferential + -0.4154 0.4605 lineto + -0.3832 0.3613 lineto + %end circumferential + -0.3832 0.3613 lineto + -0.3259 0.3761 lineto + %middle radial + -0.3259 0.3761 lineto + -0.2579 0.3905 lineto + %end radial + -0.2579 0.3905 lineto + -0.2815 0.5011 lineto + %middle circumferential + -0.2815 0.5011 lineto + -0.2969 0.5613 lineto + -0.3142 0.6216 lineto + %end circumferential + closepath +currentgray 0.7966666666666666 setgray fill setgray +% Sector from 1.5708 to 1.9635 (quadrant 1) +newpath + -0.4232 0.906 moveto + -0.5224 0.8527 lineto + %middle radial + -0.5224 0.8527 lineto + -0.6 0.8 lineto + %end radial + -0.6 0.8 lineto + -0.5576 0.74 lineto + -0.519 0.6787 lineto + %middle circumferential + -0.519 0.6787 lineto + -0.4877 0.6228 lineto + -0.4594 0.5659 lineto + %end circumferential + -0.4594 0.5659 lineto + -0.3939 0.594 lineto + %middle radial + -0.3939 0.594 lineto + -0.3142 0.6216 lineto + %end radial + -0.3142 0.6216 lineto + -0.3357 0.6882 lineto + -0.3596 0.7551 lineto + %middle circumferential + -0.3596 0.7551 lineto + -0.3896 0.8303 lineto + -0.4232 0.906 lineto + %end circumferential + closepath +currentgray 0.8313333333333334 setgray fill setgray +% Sector from 1.1781 to 1.5708 (quadrant 0) +newpath + -0.6478 1.2813 moveto + -0.7153 1.2266 lineto + -0.7754 1.1694 lineto + %middle radial + -0.7754 1.1694 lineto + -0.8228 1.1175 lineto + -0.8647 1.0652 lineto + %end radial + -0.8647 1.0652 lineto + -0.7844 0.9997 lineto + -0.711 0.9297 lineto + %middle circumferential + -0.711 0.9297 lineto + -0.6529 0.8661 lineto + -0.6 0.8 lineto + %end circumferential + -0.6 0.8 lineto + -0.5224 0.8527 lineto + %middle radial + -0.5224 0.8527 lineto + -0.4232 0.906 lineto + %end radial + -0.4232 0.906 lineto + -0.466 0.9924 lineto + -0.5141 1.0794 lineto + %middle circumferential + -0.5141 1.0794 lineto + -0.5444 1.1298 lineto + -0.5768 1.1803 lineto + -0.6112 1.2309 lineto + -0.6478 1.2813 lineto + %end circumferential + closepath +currentgray 0.866 setgray fill setgray +% Sector from 0.7854 to 1.1781 (quadrant 0) +newpath + -1.1777 1.7829 moveto + -1.2197 1.7158 lineto + -1.2565 1.6491 lineto + -1.2884 1.5832 lineto + -1.3157 1.5186 lineto + %middle radial + -1.3157 1.5186 lineto + -1.3365 1.4625 lineto + -1.3691 1.3543 lineto + -1.3815 1.3025 lineto + %end radial + -1.3815 1.3025 lineto + -1.3033 1.2829 lineto + -1.2267 1.2587 lineto + -1.1522 1.2301 lineto + -1.08 1.1973 lineto + %middle circumferential + -1.08 1.1973 lineto + -1.0231 1.1677 lineto + -0.9682 1.1357 lineto + -0.9153 1.1015 lineto + -0.8647 1.0652 lineto + %end circumferential + -0.8647 1.0652 lineto + -0.8228 1.1175 lineto + -0.7754 1.1694 lineto + %middle radial + -0.7754 1.1694 lineto + -0.7153 1.2266 lineto + -0.6478 1.2813 lineto + %end radial + -0.6478 1.2813 lineto + -0.694 1.3409 lineto + -0.7433 1.4001 lineto + -0.796 1.4589 lineto + -0.8521 1.5169 lineto + %middle circumferential + -0.8521 1.5169 lineto + -0.9256 1.5866 lineto + -1.0043 1.6546 lineto + -1.0884 1.7202 lineto + -1.1777 1.7829 lineto + %end circumferential + closepath +currentgray 0.9006666666666666 setgray fill setgray +% Sector from 0.3927 to 0.7854 (quadrant 0) +newpath + -2.5974 2.128 moveto + -2.5864 2.0416 lineto + -2.5732 1.959 lineto + -2.558 1.8801 lineto + -2.5411 1.8049 lineto + -2.5228 1.7332 lineto + -2.5034 1.6649 lineto + -2.483 1.5998 lineto + -2.4617 1.5377 lineto + %middle radial + -2.4617 1.5377 lineto + -2.4226 1.4347 lineto + -2.3822 1.3402 lineto + -2.3411 1.2533 lineto + -2.2998 1.1734 lineto + %end radial + -2.2998 1.1734 lineto + -2.2447 1.2015 lineto + -2.1869 1.2277 lineto + -2.1264 1.2516 lineto + -2.0636 1.2729 lineto + -1.9985 1.2914 lineto + -1.9313 1.3068 lineto + -1.8624 1.3189 lineto + -1.792 1.3274 lineto + %middle circumferential + -1.792 1.3274 lineto + -1.6902 1.3331 lineto + -1.5872 1.331 lineto + -1.4839 1.3207 lineto + -1.3815 1.3025 lineto + %end circumferential + -1.3815 1.3025 lineto + -1.3691 1.3543 lineto + -1.3365 1.4625 lineto + -1.3157 1.5186 lineto + %middle radial + -1.3157 1.5186 lineto + -1.2884 1.5832 lineto + -1.2565 1.6491 lineto + -1.2197 1.7158 lineto + -1.1777 1.7829 lineto + %end radial + -1.1777 1.7829 lineto + -1.2381 1.8216 lineto + -1.3006 1.8588 lineto + -1.3652 1.8942 lineto + -1.4317 1.9278 lineto + -1.5001 1.9594 lineto + -1.5704 1.9888 lineto + -1.6423 2.016 lineto + -1.7157 2.0407 lineto + %middle circumferential + -1.7157 2.0407 lineto + -1.8216 2.0713 lineto + -1.9297 2.0966 lineto + -2.0397 2.1164 lineto + -2.1509 2.1304 lineto + -2.2629 2.1386 lineto + -2.375 2.1409 lineto + -2.4867 2.1373 lineto + -2.5974 2.128 lineto + %end circumferential + closepath +currentgray 0.9353333333333332 setgray fill setgray +% Sector from 0.0 to 0.3927 (quadrant 0) +newpath + -4.5039 0.0 moveto + -3.5465 0.0 lineto + %middle radial + -3.5465 0.0 lineto + -3.0 0.0 lineto + %end radial + -3.0 0.0 lineto + -3.0 0.0025 lineto + -2.9969 0.0903 lineto + -2.9871 0.185 lineto + -2.9736 0.2639 lineto + -2.955 0.3435 lineto + -2.9359 0.4084 lineto + -2.909 0.4841 lineto + -2.8713 0.5716 lineto + -2.819 0.6708 lineto + -2.7859 0.7247 lineto + %middle circumferential + -2.7859 0.7247 lineto + -2.7489 0.7788 lineto + -2.7062 0.8349 lineto + -2.6573 0.8925 lineto + -2.6014 0.9508 lineto + -2.5381 1.0092 lineto + -2.4669 1.0665 lineto + -2.3875 1.1217 lineto + -2.2998 1.1734 lineto + %end circumferential + -2.2998 1.1734 lineto + -2.3411 1.2533 lineto + -2.3822 1.3402 lineto + -2.4226 1.4347 lineto + -2.4617 1.5377 lineto + %middle radial + -2.4617 1.5377 lineto + -2.483 1.5998 lineto + -2.5034 1.6649 lineto + -2.5228 1.7332 lineto + -2.5411 1.8049 lineto + -2.558 1.8801 lineto + -2.5732 1.959 lineto + -2.5864 2.0416 lineto + -2.5974 2.128 lineto + %end radial + -2.5974 2.128 lineto + -2.6908 2.1157 lineto + -2.7828 2.0994 lineto + -2.873 2.0793 lineto + -2.9612 2.0556 lineto + -3.0471 2.0287 lineto + -3.1305 1.9986 lineto + -3.2112 1.9657 lineto + -3.289 1.9303 lineto + -3.3639 1.8925 lineto + -3.4357 1.8528 lineto + -3.5043 1.8113 lineto + -3.5698 1.7684 lineto + -3.632 1.7242 lineto + -3.6911 1.6792 lineto + -3.747 1.6334 lineto + -3.7999 1.5871 lineto + %middle circumferential + -3.7999 1.5871 lineto + -3.8516 1.5387 lineto + -3.9001 1.4902 lineto + -3.9455 1.4419 lineto + -3.988 1.3938 lineto + -4.0277 1.3462 lineto + -4.0646 1.2992 lineto + -4.131 1.2074 lineto + -4.188 1.1192 lineto + -4.237 1.0352 lineto + -4.2787 0.9557 lineto + -4.3143 0.8809 lineto + -4.3444 0.8108 lineto + -4.3699 0.7455 lineto + -4.3914 0.6847 lineto + -4.4096 0.6284 lineto + -4.4377 0.5283 lineto + -4.4575 0.4432 lineto + -4.4714 0.3714 lineto + -4.4812 0.3108 lineto + -4.4928 0.2174 lineto + -4.4985 0.1518 lineto + -4.5033 0.0516 lineto + -4.5039 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 3.0 3.1416 32 0.97 0.45 +% Sector from 6.0868 to 6.2832 (quadrant 3) +newpath + -1.944 -0.2844 moveto + -1.9132 -0.2719 lineto + %middle radial + -1.9132 -0.2719 lineto + -1.8843 -0.2604 lineto + %end radial + -1.8843 -0.2604 lineto + -1.9056 -0.1983 lineto + -1.9212 -0.1334 lineto + %middle circumferential + -1.9212 -0.1334 lineto + -1.9307 -0.0674 lineto + -1.9339 0.0 lineto + %end circumferential + -1.9339 0.0 lineto + -1.9658 0.0 lineto + %middle radial + -1.9658 0.0 lineto + -2.0 0.0 lineto + %end radial + -2.0 0.0 lineto + -1.9964 -0.0738 lineto + -1.9857 -0.146 lineto + %middle circumferential + -1.9857 -0.146 lineto + -1.968 -0.2169 lineto + -1.944 -0.2844 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.8905 to 6.0868 (quadrant 3) +newpath + -1.795 -0.5152 moveto + -1.7726 -0.4942 lineto + %middle radial + -1.7726 -0.4942 lineto + -1.7513 -0.4748 lineto + %end radial + -1.7513 -0.4748 lineto + -1.7903 -0.4275 lineto + -1.8262 -0.3755 lineto + %middle circumferential + -1.8262 -0.3755 lineto + -1.8575 -0.32 lineto + -1.8843 -0.2604 lineto + %end circumferential + -1.8843 -0.2604 lineto + -1.9132 -0.2719 lineto + %middle radial + -1.9132 -0.2719 lineto + -1.944 -0.2844 lineto + %end radial + -1.944 -0.2844 lineto + -1.9138 -0.349 lineto + -1.8787 -0.409 lineto + %middle circumferential + -1.8787 -0.409 lineto + -1.8386 -0.4648 lineto + -1.795 -0.5152 lineto + %end circumferential + closepath +currentgray 0.4667741935483871 setgray fill setgray +% Sector from 5.6941 to 5.8905 (quadrant 3) +newpath + -1.5964 -0.6652 moveto + -1.5836 -0.641 lineto + %middle radial + -1.5836 -0.641 lineto + -1.5711 -0.6183 lineto + %end radial + -1.5711 -0.6183 lineto + -1.6646 -0.5559 lineto + %middle circumferential + -1.6646 -0.5559 lineto + -1.7304 -0.4969 lineto + -1.7513 -0.4748 lineto + %end circumferential + -1.7513 -0.4748 lineto + -1.7726 -0.4942 lineto + %middle radial + -1.7726 -0.4942 lineto + -1.795 -0.5152 lineto + %end radial + -1.795 -0.5152 lineto + -1.748 -0.5608 lineto + -1.6991 -0.6007 lineto + %middle circumferential + -1.6991 -0.6007 lineto + -1.648 -0.6357 lineto + -1.5964 -0.6652 lineto + %end circumferential + closepath +currentgray 0.4835483870967742 setgray fill setgray +% Sector from 5.4978 to 5.6941 (quadrant 3) +newpath + -1.3895 -0.7369 moveto + -1.3849 -0.7134 lineto + %middle radial + -1.3849 -0.7134 lineto + -1.3801 -0.6913 lineto + %end radial + -1.3801 -0.6913 lineto + -1.4752 -0.6629 lineto + %middle circumferential + -1.4752 -0.6629 lineto + -1.5711 -0.6183 lineto + %end circumferential + -1.5711 -0.6183 lineto + -1.5836 -0.641 lineto + %middle radial + -1.5836 -0.641 lineto + -1.5964 -0.6652 lineto + %end radial + -1.5964 -0.6652 lineto + -1.492 -0.7099 lineto + %middle circumferential + -1.492 -0.7099 lineto + -1.3895 -0.7369 lineto + %end circumferential + closepath +currentgray 0.5003225806451613 setgray fill setgray +% Sector from 5.3014 to 5.4978 (quadrant 3) +newpath + -1.2 -0.7483 moveto + -1.2012 -0.7277 lineto + %middle radial + -1.2012 -0.7277 lineto + -1.202 -0.708 lineto + %end radial + -1.202 -0.708 lineto + -1.2885 -0.7056 lineto + %middle circumferential + -1.2885 -0.7056 lineto + -1.3801 -0.6913 lineto + %end circumferential + -1.3801 -0.6913 lineto + -1.3849 -0.7134 lineto + %middle radial + -1.3849 -0.7134 lineto + -1.3895 -0.7369 lineto + %end radial + -1.3895 -0.7369 lineto + -1.2916 -0.7488 lineto + %middle circumferential + -1.2916 -0.7488 lineto + -1.2 -0.7483 lineto + %end circumferential + closepath +currentgray 0.5170967741935484 setgray fill setgray +% Sector from 5.1051 to 5.3014 (quadrant 3) +newpath + -1.0384 -0.7195 moveto + -1.0434 -0.7023 lineto + %middle radial + -1.0434 -0.7023 lineto + -1.0478 -0.6857 lineto + %end radial + -1.0478 -0.6857 lineto + -1.1216 -0.7007 lineto + %middle circumferential + -1.1216 -0.7007 lineto + -1.202 -0.708 lineto + %end circumferential + -1.202 -0.708 lineto + -1.2012 -0.7277 lineto + %middle radial + -1.2012 -0.7277 lineto + -1.2 -0.7483 lineto + %end radial + -1.2 -0.7483 lineto + -1.1155 -0.7378 lineto + %middle circumferential + -1.1155 -0.7378 lineto + -1.0384 -0.7195 lineto + %end circumferential + closepath +currentgray 0.5338709677419355 setgray fill setgray +% Sector from 4.9087 to 5.1051 (quadrant 3) +newpath + -0.9061 -0.6665 moveto + -0.9131 -0.6525 lineto + %middle radial + -0.9131 -0.6525 lineto + -0.9197 -0.639 lineto + %end radial + -0.9197 -0.639 lineto + -0.9805 -0.6647 lineto + %middle circumferential + -0.9805 -0.6647 lineto + -1.0478 -0.6857 lineto + %end circumferential + -1.0478 -0.6857 lineto + -1.0434 -0.7023 lineto + %middle radial + -1.0434 -0.7023 lineto + -1.0384 -0.7195 lineto + %end radial + -1.0384 -0.7195 lineto + -0.9687 -0.6953 lineto + %middle circumferential + -0.9687 -0.6953 lineto + -0.9061 -0.6665 lineto + %end circumferential + closepath +currentgray 0.5506451612903226 setgray fill setgray +% Sector from 4.7124 to 4.9087 (quadrant 3) +newpath + -0.8 -0.6 moveto + -0.8082 -0.5889 lineto + %middle radial + -0.8082 -0.5889 lineto + -0.816 -0.5781 lineto + %end radial + -0.816 -0.5781 lineto + -0.865 -0.6098 lineto + %middle circumferential + -0.865 -0.6098 lineto + -0.9197 -0.639 lineto + %end circumferential + -0.9197 -0.639 lineto + -0.9131 -0.6525 lineto + %middle radial + -0.9131 -0.6525 lineto + -0.9061 -0.6665 lineto + %end radial + -0.9061 -0.6665 lineto + -0.85 -0.6344 lineto + %middle circumferential + -0.85 -0.6344 lineto + -0.8 -0.6 lineto + %end circumferential + closepath +currentgray 0.5674193548387096 setgray fill setgray +% Sector from 4.516 to 4.7124 (quadrant 2) +newpath + -0.7162 -0.5268 moveto + -0.725 -0.518 lineto + %middle radial + -0.725 -0.518 lineto + -0.7333 -0.5095 lineto + %end radial + -0.7333 -0.5095 lineto + -0.7722 -0.5444 lineto + %middle circumferential + -0.7722 -0.5444 lineto + -0.816 -0.5781 lineto + %end circumferential + -0.816 -0.5781 lineto + -0.8082 -0.5889 lineto + %middle radial + -0.8082 -0.5889 lineto + -0.8 -0.6 lineto + %end radial + -0.8 -0.6 lineto + -0.7556 -0.5639 lineto + %middle circumferential + -0.7556 -0.5639 lineto + -0.7162 -0.5268 lineto + %end circumferential + closepath +currentgray 0.5841935483870968 setgray fill setgray +% Sector from 4.3197 to 4.516 (quadrant 2) +newpath + -0.6506 -0.4508 moveto + -0.6596 -0.444 lineto + %middle radial + -0.6596 -0.444 lineto + -0.6682 -0.4373 lineto + %end radial + -0.6682 -0.4373 lineto + -0.6988 -0.4737 lineto + %middle circumferential + -0.6988 -0.4737 lineto + -0.7333 -0.5095 lineto + %end circumferential + -0.7333 -0.5095 lineto + -0.725 -0.518 lineto + %middle radial + -0.725 -0.518 lineto + -0.7162 -0.5268 lineto + %end radial + -0.7162 -0.5268 lineto + -0.6813 -0.489 lineto + %middle circumferential + -0.6813 -0.489 lineto + -0.6506 -0.4508 lineto + %end circumferential + closepath +currentgray 0.600967741935484 setgray fill setgray +% Sector from 4.1233 to 4.3197 (quadrant 2) +newpath + -0.6 -0.3742 moveto + -0.609 -0.3689 lineto + %middle radial + -0.609 -0.3689 lineto + -0.6176 -0.3638 lineto + %end radial + -0.6176 -0.3638 lineto + -0.6413 -0.4006 lineto + %middle circumferential + -0.6413 -0.4006 lineto + -0.6682 -0.4373 lineto + %end circumferential + -0.6682 -0.4373 lineto + -0.6596 -0.444 lineto + %middle radial + -0.6596 -0.444 lineto + -0.6506 -0.4508 lineto + %end radial + -0.6506 -0.4508 lineto + -0.6236 -0.4125 lineto + %middle circumferential + -0.6236 -0.4125 lineto + -0.6 -0.3742 lineto + %end circumferential + closepath +currentgray 0.6177419354838709 setgray fill setgray +% Sector from 3.927 to 4.1233 (quadrant 2) +newpath + -0.5617 -0.2979 moveto + -0.5706 -0.294 lineto + %middle radial + -0.5706 -0.294 lineto + -0.5792 -0.2901 lineto + %end radial + -0.5792 -0.2901 lineto + -0.5971 -0.3269 lineto + %middle circumferential + -0.5971 -0.3269 lineto + -0.6176 -0.3638 lineto + %end circumferential + -0.6176 -0.3638 lineto + -0.609 -0.3689 lineto + %middle radial + -0.609 -0.3689 lineto + -0.6 -0.3742 lineto + %end radial + -0.6 -0.3742 lineto + -0.5794 -0.3359 lineto + %middle circumferential + -0.5794 -0.3359 lineto + -0.5617 -0.2979 lineto + %end circumferential + closepath +currentgray 0.6345161290322581 setgray fill setgray +% Sector from 3.7306 to 3.927 (quadrant 2) +newpath + -0.5337 -0.2224 moveto + -0.5426 -0.2196 lineto + %middle radial + -0.5426 -0.2196 lineto + -0.5511 -0.2169 lineto + %end radial + -0.5511 -0.2169 lineto + -0.564 -0.2535 lineto + %middle circumferential + -0.564 -0.2535 lineto + -0.5792 -0.2901 lineto + %end circumferential + -0.5792 -0.2901 lineto + -0.5706 -0.294 lineto + %middle radial + -0.5706 -0.294 lineto + -0.5617 -0.2979 lineto + %end radial + -0.5617 -0.2979 lineto + -0.5465 -0.26 lineto + %middle circumferential + -0.5465 -0.26 lineto + -0.5337 -0.2224 lineto + %end circumferential + closepath +currentgray 0.6512903225806452 setgray fill setgray +% Sector from 3.5343 to 3.7306 (quadrant 2) +newpath + -0.5147 -0.1477 moveto + -0.5235 -0.1459 lineto + %middle radial + -0.5235 -0.1459 lineto + -0.5319 -0.1442 lineto + %end radial + -0.5319 -0.1442 lineto + -0.5405 -0.1805 lineto + %middle circumferential + -0.5405 -0.1805 lineto + -0.5511 -0.2169 lineto + %end circumferential + -0.5511 -0.2169 lineto + -0.5426 -0.2196 lineto + %middle radial + -0.5426 -0.2196 lineto + -0.5337 -0.2224 lineto + %end radial + -0.5337 -0.2224 lineto + -0.5232 -0.185 lineto + %middle circumferential + -0.5232 -0.185 lineto + -0.5147 -0.1477 lineto + %end circumferential + closepath +currentgray 0.6680645161290323 setgray fill setgray +% Sector from 3.3379 to 3.5343 (quadrant 2) +newpath + -0.5036 -0.0737 moveto + -0.5123 -0.0728 lineto + %middle radial + -0.5123 -0.0728 lineto + -0.5208 -0.072 lineto + %end radial + -0.5208 -0.072 lineto + -0.5254 -0.108 lineto + %middle circumferential + -0.5254 -0.108 lineto + -0.5319 -0.1442 lineto + %end circumferential + -0.5319 -0.1442 lineto + -0.5235 -0.1459 lineto + %middle radial + -0.5235 -0.1459 lineto + -0.5147 -0.1477 lineto + %end radial + -0.5147 -0.1477 lineto + -0.5082 -0.1106 lineto + %middle circumferential + -0.5082 -0.1106 lineto + -0.5036 -0.0737 lineto + %end circumferential + closepath +currentgray 0.6848387096774193 setgray fill setgray +% Sector from 3.1416 to 3.3379 (quadrant 2) +newpath + -0.5 0.0 moveto + -0.5087 0.0 lineto + %middle radial + -0.5087 0.0 lineto + -0.5171 0.0 lineto + %end radial + -0.5171 0.0 lineto + -0.518 -0.036 lineto + %middle circumferential + -0.518 -0.036 lineto + -0.5208 -0.072 lineto + %end circumferential + -0.5208 -0.072 lineto + -0.5123 -0.0728 lineto + %middle radial + -0.5123 -0.0728 lineto + -0.5036 -0.0737 lineto + %end radial + -0.5036 -0.0737 lineto + -0.5009 -0.0368 lineto + %middle circumferential + -0.5009 -0.0368 lineto + -0.5 0.0 lineto + %end circumferential + closepath +currentgray 0.7016129032258065 setgray fill setgray +% Sector from 2.9452 to 3.1416 (quadrant 1) +newpath + -0.5036 0.0737 moveto + -0.5123 0.0728 lineto + %middle radial + -0.5123 0.0728 lineto + -0.5208 0.072 lineto + %end radial + -0.5208 0.072 lineto + -0.518 0.036 lineto + %middle circumferential + -0.518 0.036 lineto + -0.5171 0.0 lineto + %end circumferential + -0.5171 0.0 lineto + -0.5087 0.0 lineto + %middle radial + -0.5087 0.0 lineto + -0.5 0.0 lineto + %end radial + -0.5 0.0 lineto + -0.5009 0.0368 lineto + %middle circumferential + -0.5009 0.0368 lineto + -0.5036 0.0737 lineto + %end circumferential + closepath +currentgray 0.7183870967741936 setgray fill setgray +% Sector from 2.7489 to 2.9452 (quadrant 1) +newpath + -0.5147 0.1477 moveto + -0.5235 0.1459 lineto + %middle radial + -0.5235 0.1459 lineto + -0.5319 0.1442 lineto + %end radial + -0.5319 0.1442 lineto + -0.5254 0.108 lineto + %middle circumferential + -0.5254 0.108 lineto + -0.5208 0.072 lineto + %end circumferential + -0.5208 0.072 lineto + -0.5123 0.0728 lineto + %middle radial + -0.5123 0.0728 lineto + -0.5036 0.0737 lineto + %end radial + -0.5036 0.0737 lineto + -0.5082 0.1106 lineto + %middle circumferential + -0.5082 0.1106 lineto + -0.5147 0.1477 lineto + %end circumferential + closepath +currentgray 0.7351612903225806 setgray fill setgray +% Sector from 2.5525 to 2.7489 (quadrant 1) +newpath + -0.5337 0.2224 moveto + -0.5426 0.2196 lineto + %middle radial + -0.5426 0.2196 lineto + -0.5511 0.2169 lineto + %end radial + -0.5511 0.2169 lineto + -0.5405 0.1805 lineto + %middle circumferential + -0.5405 0.1805 lineto + -0.5319 0.1442 lineto + %end circumferential + -0.5319 0.1442 lineto + -0.5235 0.1459 lineto + %middle radial + -0.5235 0.1459 lineto + -0.5147 0.1477 lineto + %end radial + -0.5147 0.1477 lineto + -0.5232 0.185 lineto + %middle circumferential + -0.5232 0.185 lineto + -0.5337 0.2224 lineto + %end circumferential + closepath +currentgray 0.7519354838709679 setgray fill setgray +% Sector from 2.3562 to 2.5525 (quadrant 1) +newpath + -0.5617 0.2979 moveto + -0.5706 0.294 lineto + %middle radial + -0.5706 0.294 lineto + -0.5792 0.2901 lineto + %end radial + -0.5792 0.2901 lineto + -0.564 0.2535 lineto + %middle circumferential + -0.564 0.2535 lineto + -0.5511 0.2169 lineto + %end circumferential + -0.5511 0.2169 lineto + -0.5426 0.2196 lineto + %middle radial + -0.5426 0.2196 lineto + -0.5337 0.2224 lineto + %end radial + -0.5337 0.2224 lineto + -0.5465 0.26 lineto + %middle circumferential + -0.5465 0.26 lineto + -0.5617 0.2979 lineto + %end circumferential + closepath +currentgray 0.7687096774193548 setgray fill setgray +% Sector from 2.1598 to 2.3562 (quadrant 1) +newpath + -0.6 0.3742 moveto + -0.609 0.3689 lineto + %middle radial + -0.609 0.3689 lineto + -0.6176 0.3638 lineto + %end radial + -0.6176 0.3638 lineto + -0.5971 0.3269 lineto + %middle circumferential + -0.5971 0.3269 lineto + -0.5792 0.2901 lineto + %end circumferential + -0.5792 0.2901 lineto + -0.5706 0.294 lineto + %middle radial + -0.5706 0.294 lineto + -0.5617 0.2979 lineto + %end radial + -0.5617 0.2979 lineto + -0.5794 0.3359 lineto + %middle circumferential + -0.5794 0.3359 lineto + -0.6 0.3742 lineto + %end circumferential + closepath +currentgray 0.7854838709677419 setgray fill setgray +% Sector from 1.9635 to 2.1598 (quadrant 1) +newpath + -0.6506 0.4508 moveto + -0.6596 0.444 lineto + %middle radial + -0.6596 0.444 lineto + -0.6682 0.4373 lineto + %end radial + -0.6682 0.4373 lineto + -0.6413 0.4006 lineto + %middle circumferential + -0.6413 0.4006 lineto + -0.6176 0.3638 lineto + %end circumferential + -0.6176 0.3638 lineto + -0.609 0.3689 lineto + %middle radial + -0.609 0.3689 lineto + -0.6 0.3742 lineto + %end radial + -0.6 0.3742 lineto + -0.6236 0.4125 lineto + %middle circumferential + -0.6236 0.4125 lineto + -0.6506 0.4508 lineto + %end circumferential + closepath +currentgray 0.802258064516129 setgray fill setgray +% Sector from 1.7671 to 1.9635 (quadrant 1) +newpath + -0.7162 0.5268 moveto + -0.725 0.518 lineto + %middle radial + -0.725 0.518 lineto + -0.7333 0.5095 lineto + %end radial + -0.7333 0.5095 lineto + -0.6988 0.4737 lineto + %middle circumferential + -0.6988 0.4737 lineto + -0.6682 0.4373 lineto + %end circumferential + -0.6682 0.4373 lineto + -0.6596 0.444 lineto + %middle radial + -0.6596 0.444 lineto + -0.6506 0.4508 lineto + %end radial + -0.6506 0.4508 lineto + -0.6813 0.489 lineto + %middle circumferential + -0.6813 0.489 lineto + -0.7162 0.5268 lineto + %end circumferential + closepath +currentgray 0.8190322580645162 setgray fill setgray +% Sector from 1.5708 to 1.7671 (quadrant 1) +newpath + -0.8 0.6 moveto + -0.8082 0.5889 lineto + %middle radial + -0.8082 0.5889 lineto + -0.816 0.5781 lineto + %end radial + -0.816 0.5781 lineto + -0.7722 0.5444 lineto + %middle circumferential + -0.7722 0.5444 lineto + -0.7333 0.5095 lineto + %end circumferential + -0.7333 0.5095 lineto + -0.725 0.518 lineto + %middle radial + -0.725 0.518 lineto + -0.7162 0.5268 lineto + %end radial + -0.7162 0.5268 lineto + -0.7556 0.5639 lineto + %middle circumferential + -0.7556 0.5639 lineto + -0.8 0.6 lineto + %end circumferential + closepath +currentgray 0.8358064516129032 setgray fill setgray +% Sector from 1.3744 to 1.5708 (quadrant 0) +newpath + -0.9061 0.6665 moveto + -0.9131 0.6525 lineto + %middle radial + -0.9131 0.6525 lineto + -0.9197 0.639 lineto + %end radial + -0.9197 0.639 lineto + -0.865 0.6098 lineto + %middle circumferential + -0.865 0.6098 lineto + -0.816 0.5781 lineto + %end circumferential + -0.816 0.5781 lineto + -0.8082 0.5889 lineto + %middle radial + -0.8082 0.5889 lineto + -0.8 0.6 lineto + %end radial + -0.8 0.6 lineto + -0.85 0.6344 lineto + %middle circumferential + -0.85 0.6344 lineto + -0.9061 0.6665 lineto + %end circumferential + closepath +currentgray 0.8525806451612903 setgray fill setgray +% Sector from 1.1781 to 1.3744 (quadrant 0) +newpath + -1.0384 0.7195 moveto + -1.0434 0.7023 lineto + %middle radial + -1.0434 0.7023 lineto + -1.0478 0.6857 lineto + %end radial + -1.0478 0.6857 lineto + -0.9805 0.6647 lineto + %middle circumferential + -0.9805 0.6647 lineto + -0.9197 0.639 lineto + %end circumferential + -0.9197 0.639 lineto + -0.9131 0.6525 lineto + %middle radial + -0.9131 0.6525 lineto + -0.9061 0.6665 lineto + %end radial + -0.9061 0.6665 lineto + -0.9687 0.6953 lineto + %middle circumferential + -0.9687 0.6953 lineto + -1.0384 0.7195 lineto + %end circumferential + closepath +currentgray 0.8693548387096775 setgray fill setgray +% Sector from 0.9817 to 1.1781 (quadrant 0) +newpath + -1.2 0.7483 moveto + -1.2012 0.7277 lineto + %middle radial + -1.2012 0.7277 lineto + -1.202 0.708 lineto + %end radial + -1.202 0.708 lineto + -1.1216 0.7007 lineto + %middle circumferential + -1.1216 0.7007 lineto + -1.0478 0.6857 lineto + %end circumferential + -1.0478 0.6857 lineto + -1.0434 0.7023 lineto + %middle radial + -1.0434 0.7023 lineto + -1.0384 0.7195 lineto + %end radial + -1.0384 0.7195 lineto + -1.1155 0.7378 lineto + %middle circumferential + -1.1155 0.7378 lineto + -1.2 0.7483 lineto + %end circumferential + closepath +currentgray 0.8861290322580645 setgray fill setgray +% Sector from 0.7854 to 0.9817 (quadrant 0) +newpath + -1.3895 0.7369 moveto + -1.3849 0.7134 lineto + %middle radial + -1.3849 0.7134 lineto + -1.3801 0.6913 lineto + %end radial + -1.3801 0.6913 lineto + -1.2885 0.7056 lineto + %middle circumferential + -1.2885 0.7056 lineto + -1.202 0.708 lineto + %end circumferential + -1.202 0.708 lineto + -1.2012 0.7277 lineto + %middle radial + -1.2012 0.7277 lineto + -1.2 0.7483 lineto + %end radial + -1.2 0.7483 lineto + -1.2916 0.7488 lineto + %middle circumferential + -1.2916 0.7488 lineto + -1.3895 0.7369 lineto + %end circumferential + closepath +currentgray 0.9029032258064516 setgray fill setgray +% Sector from 0.589 to 0.7854 (quadrant 0) +newpath + -1.5964 0.6652 moveto + -1.5836 0.641 lineto + %middle radial + -1.5836 0.641 lineto + -1.5711 0.6183 lineto + %end radial + -1.5711 0.6183 lineto + -1.4752 0.6629 lineto + %middle circumferential + -1.4752 0.6629 lineto + -1.3801 0.6913 lineto + %end circumferential + -1.3801 0.6913 lineto + -1.3849 0.7134 lineto + %middle radial + -1.3849 0.7134 lineto + -1.3895 0.7369 lineto + %end radial + -1.3895 0.7369 lineto + -1.492 0.7099 lineto + %middle circumferential + -1.492 0.7099 lineto + -1.5964 0.6652 lineto + %end circumferential + closepath +currentgray 0.9196774193548387 setgray fill setgray +% Sector from 0.3927 to 0.589 (quadrant 0) +newpath + -1.795 0.5152 moveto + -1.7726 0.4942 lineto + %middle radial + -1.7726 0.4942 lineto + -1.7513 0.4748 lineto + %end radial + -1.7513 0.4748 lineto + -1.7115 0.5154 lineto + -1.6646 0.5559 lineto + %middle circumferential + -1.6646 0.5559 lineto + -1.5711 0.6183 lineto + %end circumferential + -1.5711 0.6183 lineto + -1.5836 0.641 lineto + %middle radial + -1.5836 0.641 lineto + -1.5964 0.6652 lineto + %end radial + -1.5964 0.6652 lineto + -1.6506 0.6341 lineto + -1.6991 0.6007 lineto + %middle circumferential + -1.6991 0.6007 lineto + -1.7509 0.5582 lineto + -1.795 0.5152 lineto + %end circumferential + closepath +currentgray 0.9364516129032258 setgray fill setgray +% Sector from 0.1963 to 0.3927 (quadrant 0) +newpath + -1.944 0.2844 moveto + -1.9132 0.2719 lineto + %middle radial + -1.9132 0.2719 lineto + -1.8843 0.2604 lineto + %end radial + -1.8843 0.2604 lineto + -1.8605 0.3139 lineto + -1.8262 0.3755 lineto + %middle circumferential + -1.8262 0.3755 lineto + -1.7734 0.449 lineto + -1.7513 0.4748 lineto + %end circumferential + -1.7513 0.4748 lineto + -1.7726 0.4942 lineto + %middle radial + -1.7726 0.4942 lineto + -1.795 0.5152 lineto + %end radial + -1.795 0.5152 lineto + -1.8418 0.4608 lineto + -1.8787 0.409 lineto + %middle circumferential + -1.8787 0.409 lineto + -1.9172 0.3425 lineto + -1.944 0.2844 lineto + %end circumferential + closepath +currentgray 0.9532258064516128 setgray fill setgray +% Sector from 0.0 to 0.1963 (quadrant 0) +newpath + -2.0 0.0 moveto + -1.9658 0.0 lineto + %middle radial + -1.9658 0.0 lineto + -1.9339 0.0 lineto + %end radial + -1.9339 0.0 lineto + -1.9339 4.0E-4 lineto + -1.9309 0.0655 lineto + -1.9212 0.1334 lineto + %middle circumferential + -1.9212 0.1334 lineto + -1.8985 0.221 lineto + -1.8843 0.2604 lineto + %end circumferential + -1.8843 0.2604 lineto + -1.9132 0.2719 lineto + %middle radial + -1.9132 0.2719 lineto + -1.944 0.2844 lineto + %end radial + -1.944 0.2844 lineto + -1.9715 0.2046 lineto + -1.9857 0.146 lineto + %middle circumferential + -1.9857 0.146 lineto + -1.9966 0.0717 lineto + -2.0 0.0083 lineto + -2.0 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Horizontal line from (0.5, 0.0) to (0.0, 0.0) +newpath + 3.0 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.5, 0.0) to (1.0, 0.0) +newpath + 3.0 0.0 moveto + 6.3446 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.0, 0.0) +newpath + -3.0 0.0 moveto + -6.3394 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.1579208923731617E77, 0.0) +newpath + -3.0 0.0 moveto + -1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (0.0, 1.0) +newpath + -2.0 1.0 moveto + -1.9957 1.0931 lineto + -1.9819 1.1893 lineto + -1.9579 1.2871 lineto + -1.923 1.3848 lineto + -1.8769 1.4807 lineto + -1.8197 1.5727 lineto + -1.7522 1.659 lineto + -1.6752 1.7376 lineto + -1.5904 1.8071 lineto + -1.4994 1.8664 lineto + -1.4041 1.9147 lineto + -1.3065 1.9519 lineto + -1.2086 1.978 lineto + -1.112 1.9937 lineto + -1.0182 1.9998 lineto + -0.9283 1.9974 lineto + -0.8432 1.9876 lineto + -0.7635 1.9716 lineto + -0.6895 1.9506 lineto + -0.6213 1.9255 lineto + -0.5589 1.8975 lineto + -0.502 1.8672 lineto + -0.4505 1.8355 lineto + -0.362 1.77 lineto + -0.2905 1.7047 lineto + -0.2331 1.6418 lineto + -0.1872 1.5826 lineto + -0.1506 1.5278 lineto + -0.109 1.4541 lineto + -0.0714 1.371 lineto + -0.0471 1.3033 lineto + -0.021 1.2037 lineto + -0.0065 1.1138 lineto + -0.0014 1.0534 lineto + 0.0 1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (1.1579208923731617E77, 1.0) +newpath + -2.0 1.0 moveto + -1.9964 0.9157 lineto + -1.9864 0.8358 lineto + -1.9709 0.7607 lineto + -1.951 0.6907 lineto + -1.9274 0.6259 lineto + -1.9011 0.5663 lineto + -1.8727 0.5118 lineto + -1.8123 0.4167 lineto + -1.7501 0.3386 lineto + -1.6887 0.275 lineto + -1.6299 0.2233 lineto + -1.5745 0.1815 lineto + -1.499 0.1334 lineto + -1.4124 0.089 lineto + -1.3407 0.0598 lineto + -1.2817 0.0405 lineto + -1.1935 0.0189 lineto + -1.1339 0.009 lineto + -1.0652 0.0021 lineto + -1.004 0.0 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (0.0, -1.0) +newpath + -2.0 -1.0 moveto + -1.9957 -1.0931 lineto + -1.9819 -1.1893 lineto + -1.9579 -1.2871 lineto + -1.923 -1.3848 lineto + -1.8769 -1.4807 lineto + -1.8197 -1.5727 lineto + -1.7522 -1.659 lineto + -1.6752 -1.7376 lineto + -1.5904 -1.8071 lineto + -1.4994 -1.8664 lineto + -1.4041 -1.9147 lineto + -1.3065 -1.9519 lineto + -1.2086 -1.978 lineto + -1.112 -1.9937 lineto + -1.0182 -1.9998 lineto + -0.9283 -1.9974 lineto + -0.8432 -1.9876 lineto + -0.7635 -1.9716 lineto + -0.6895 -1.9506 lineto + -0.6213 -1.9255 lineto + -0.5589 -1.8975 lineto + -0.502 -1.8672 lineto + -0.4505 -1.8355 lineto + -0.362 -1.77 lineto + -0.2905 -1.7047 lineto + -0.2331 -1.6418 lineto + -0.1872 -1.5826 lineto + -0.1506 -1.5278 lineto + -0.109 -1.4541 lineto + -0.0714 -1.371 lineto + -0.0471 -1.3033 lineto + -0.021 -1.2037 lineto + -0.0065 -1.1138 lineto + -0.0014 -1.0534 lineto + 0.0 -1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (1.1579208923731617E77, -1.0) +newpath + -2.0 -1.0 moveto + -1.9964 -0.9157 lineto + -1.9864 -0.8358 lineto + -1.9709 -0.7607 lineto + -1.951 -0.6907 lineto + -1.9274 -0.6259 lineto + -1.9011 -0.5663 lineto + -1.8727 -0.5118 lineto + -1.8123 -0.4167 lineto + -1.7501 -0.3386 lineto + -1.6887 -0.275 lineto + -1.6299 -0.2233 lineto + -1.5745 -0.1815 lineto + -1.499 -0.1334 lineto + -1.4124 -0.089 lineto + -1.3407 -0.0598 lineto + -1.2817 -0.0405 lineto + -1.1935 -0.0189 lineto + -1.1339 -0.009 lineto + -1.0652 -0.0021 lineto + -1.004 0.0 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (1.1579208923731617E77, 2.0) +newpath + -0.6 0.8 moveto + -0.6631 0.8694 lineto + -0.7184 0.9131 lineto + -0.7843 0.9511 lineto + -0.8595 0.9798 lineto + -0.9263 0.9945 lineto + -1.0086 0.9999 lineto + -1.1061 0.9886 lineto + -1.1868 0.9638 lineto + -1.2421 0.9375 lineto + -1.2966 0.9025 lineto + -1.3483 0.8588 lineto + -1.3949 0.8066 lineto + -1.4345 0.7473 lineto + -1.4654 0.6826 lineto + -1.4866 0.6148 lineto + -1.4979 0.5463 lineto + -1.4996 0.4792 lineto + -1.4928 0.4157 lineto + -1.4701 0.3298 lineto + -1.4246 0.2359 lineto + -1.3715 0.1654 lineto + -1.3185 0.1146 lineto + -1.2696 0.0789 lineto + -1.1893 0.0372 lineto + -1.1316 0.0176 lineto + -1.0634 0.004 lineto + -1.0018 0.0 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (1.1579208923731617E77, -2.0) +newpath + -0.6 -0.8 moveto + -0.6631 -0.8694 lineto + -0.7184 -0.9131 lineto + -0.7843 -0.9511 lineto + -0.8595 -0.9798 lineto + -0.9263 -0.9945 lineto + -1.0086 -0.9999 lineto + -1.1061 -0.9886 lineto + -1.1868 -0.9638 lineto + -1.2421 -0.9375 lineto + -1.2966 -0.9025 lineto + -1.3483 -0.8588 lineto + -1.3949 -0.8066 lineto + -1.4345 -0.7473 lineto + -1.4654 -0.6826 lineto + -1.4866 -0.6148 lineto + -1.4979 -0.5463 lineto + -1.4996 -0.4792 lineto + -1.4928 -0.4157 lineto + -1.4701 -0.3298 lineto + -1.4246 -0.2359 lineto + -1.3715 -0.1654 lineto + -1.3185 -0.1146 lineto + -1.2696 -0.0789 lineto + -1.1893 -0.0372 lineto + -1.1316 -0.0176 lineto + -1.0634 -0.004 lineto + -1.0018 0.0 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (1.1579208923731617E77, 3.0) +newpath + -0.8 0.6 moveto + -0.8833 0.6456 lineto + -0.9512 0.6631 lineto + -1.0248 0.6657 lineto + -1.1253 0.6422 lineto + -1.1823 0.6124 lineto + -1.2382 0.5666 lineto + -1.286 0.5046 lineto + -1.319 0.4301 lineto + -1.3329 0.3503 lineto + -1.3279 0.2733 lineto + -1.3079 0.2056 lineto + -1.2786 0.1503 lineto + -1.212 0.0761 lineto + -1.153 0.0372 lineto + -1.0903 0.0125 lineto + -1.0307 0.0014 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (1.1579208923731617E77, -3.0) +newpath + -0.8 -0.6 moveto + -0.8833 -0.6456 lineto + -0.9512 -0.6631 lineto + -1.0248 -0.6657 lineto + -1.1253 -0.6422 lineto + -1.1823 -0.6124 lineto + -1.2382 -0.5666 lineto + -1.286 -0.5046 lineto + -1.319 -0.4301 lineto + -1.3329 -0.3503 lineto + -1.3279 -0.2733 lineto + -1.3079 -0.2056 lineto + -1.2786 -0.1503 lineto + -1.212 -0.0761 lineto + -1.153 -0.0372 lineto + -1.0903 -0.0125 lineto + -1.0307 -0.0014 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (0.0, 0.0) +newpath + 0.3333 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (-1.0, 0.0) +newpath + 0.3333 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.0, 0.0) +newpath + -0.3333 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.1579208923731617E77, 0.0) +newpath + -0.3333 0.0 moveto + -1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (0.0, 1.0) +newpath + -0.4 0.2 moveto + -0.3424 0.2466 lineto + -0.2876 0.2983 lineto + -0.2368 0.3538 lineto + -0.1913 0.4117 lineto + -0.1518 0.4704 lineto + -0.1183 0.5281 lineto + -0.0908 0.5837 lineto + -0.0513 0.6839 lineto + -0.0277 0.7663 lineto + -0.0104 0.8564 lineto + -0.0013 0.9493 lineto + 0.0 1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (-1.1579208923731617E77, 1.0) +newpath + -0.4 0.2 moveto + -0.4555 0.1613 lineto + -0.5105 0.128 lineto + -0.5639 0.1001 lineto + -0.6619 0.0589 lineto + -0.7444 0.0332 lineto + -0.8105 0.0181 lineto + -0.8819 0.007 lineto + -0.996 0.0 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (0.0, -1.0) +newpath + -0.4 -0.2 moveto + -0.3424 -0.2466 lineto + -0.2876 -0.2983 lineto + -0.2368 -0.3538 lineto + -0.1913 -0.4117 lineto + -0.1518 -0.4704 lineto + -0.1183 -0.5281 lineto + -0.0908 -0.5837 lineto + -0.0513 -0.6839 lineto + -0.0277 -0.7663 lineto + -0.0104 -0.8564 lineto + -0.0013 -0.9493 lineto + 0.0 -1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (-1.1579208923731617E77, -1.0) +newpath + -0.4 -0.2 moveto + -0.4555 -0.1613 lineto + -0.5105 -0.128 lineto + -0.5639 -0.1001 lineto + -0.6619 -0.0589 lineto + -0.7444 -0.0332 lineto + -0.8105 -0.0181 lineto + -0.8819 -0.007 lineto + -0.996 0.0 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (-1.1579208923731617E77, 2.0) +newpath + -0.6 0.8 moveto + -0.5546 0.7272 lineto + -0.524 0.6531 lineto + -0.509 0.5943 lineto + -0.5003 0.5176 lineto + -0.5057 0.4248 lineto + -0.5323 0.3233 lineto + -0.5817 0.2261 lineto + -0.6476 0.1453 lineto + -0.7187 0.0867 lineto + -0.7846 0.0488 lineto + -0.84 0.0263 lineto + -0.9404 0.0036 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (-1.1579208923731617E77, -2.0) +newpath + -0.6 -0.8 moveto + -0.5546 -0.7272 lineto + -0.524 -0.6531 lineto + -0.509 -0.5943 lineto + -0.5003 -0.5176 lineto + -0.5057 -0.4248 lineto + -0.5323 -0.3233 lineto + -0.5817 -0.2261 lineto + -0.6476 -0.1453 lineto + -0.7187 -0.0867 lineto + -0.7846 -0.0488 lineto + -0.84 -0.0263 lineto + -0.9404 -0.0036 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (-1.1579208923731617E77, 3.0) +newpath + -0.8 0.6 moveto + -0.738 0.5393 lineto + -0.6966 0.4714 lineto + -0.6771 0.4162 lineto + -0.6669 0.3454 lineto + -0.6739 0.2644 lineto + -0.7018 0.1844 lineto + -0.7462 0.1173 lineto + -0.797 0.0689 lineto + -0.8855 0.0203 lineto + -0.9702 0.0013 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (-1.1579208923731617E77, -3.0) +newpath + -0.8 -0.6 moveto + -0.738 -0.5393 lineto + -0.6966 -0.4714 lineto + -0.6771 -0.4162 lineto + -0.6669 -0.3454 lineto + -0.6739 -0.2644 lineto + -0.7018 -0.1844 lineto + -0.7462 -0.1173 lineto + -0.797 -0.0689 lineto + -0.8855 -0.0203 lineto + -0.9702 -0.0013 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 0.0) +newpath + 0.6 0.8 moveto + 0.6548 0.7558 lineto + 0.7035 0.7107 lineto + 0.7464 0.6655 lineto + 0.8164 0.5775 lineto + 0.8685 0.4957 lineto + 0.9066 0.422 lineto + 0.934 0.3572 lineto + 0.9611 0.2761 lineto + 0.981 0.1941 lineto + 0.9935 0.1135 lineto + 1.0 0.003 lineto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 1.0) +newpath + 0.6 0.8 moveto + 0.5417 0.8406 lineto + 0.4776 0.8786 lineto + 0.408 0.913 lineto + 0.3333 0.9428 lineto + 0.2542 0.9671 lineto + 0.1716 0.9852 lineto + 0.0864 0.9963 lineto + 0.0 1.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.0) +newpath + -0.6 0.8 moveto + -0.5417 0.8406 lineto + -0.4776 0.8786 lineto + -0.408 0.913 lineto + -0.3333 0.9428 lineto + -0.2542 0.9671 lineto + -0.1716 0.9852 lineto + -0.0864 0.9963 lineto + 0.0 1.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.1579208923731617E77) +newpath + -0.6 0.8 moveto + -0.6524 0.7579 lineto + -0.6992 0.7149 lineto + -0.7407 0.6718 lineto + -0.8092 0.5876 lineto + -0.861 0.5086 lineto + -0.8996 0.4368 lineto + -0.9278 0.373 lineto + -0.9564 0.2922 lineto + -0.9779 0.2092 lineto + -0.9921 0.1255 lineto + -0.998 0.0631 lineto + -1.0 0.004 lineto + -1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 0.0) +newpath + -1.0 1.0 moveto + -1.0 6.2779 lineto + -0.9947 6.3646 lineto + -0.5589 6.378103166302659 lineto + -0.2485 6.378103166302659 lineto + -1.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 1.1579208923731617E77) +newpath + -1.0 1.0 moveto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 0.0) +newpath + -0.5 0.5 moveto + -0.4098 0.4918 lineto + -0.3253 0.4685 lineto + -0.2508 0.4335 lineto + -0.1886 0.3912 lineto + -0.1389 0.3459 lineto + -0.1007 0.301 lineto + -0.0512 0.2205 lineto + -0.0254 0.1572 lineto + -0.0029 0.0538 lineto + 0.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 1.1579208923731617E77) +newpath + -0.5 0.5 moveto + -0.5855 0.4926 lineto + -0.6661 0.4716 lineto + -0.738 0.4397 lineto + -0.7991 0.4006 lineto + -0.8489 0.3581 lineto + -0.9181 0.2742 lineto + -0.9572 0.2025 lineto + -0.9844 0.124 lineto + -0.996 0.0629 lineto + -1.0 0.004 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, 1.1579208923731617E77) +newpath + -3.0 0.0 moveto + -2.9941 0.1084 lineto + -2.983 0.1836 lineto + -2.9657 0.2596 lineto + -2.9423 0.3348 lineto + -2.9187 0.3949 lineto + -2.886 0.4636 lineto + -2.8413 0.5406 lineto + -2.7811 0.6244 lineto + -2.7235 0.6903 lineto + -2.6784 0.7347 lineto + -2.6276 0.7785 lineto + -2.5708 0.8211 lineto + -2.5079 0.8614 lineto + -2.4391 0.8984 lineto + -2.3648 0.9311 lineto + -2.2855 0.9584 lineto + -2.2021 0.9794 lineto + -2.1156 0.9933 lineto + -2.0274 0.9996 lineto + -1.9387 0.9981 lineto + -1.851 0.9888 lineto + -1.7655 0.9721 lineto + -1.6836 0.9486 lineto + -1.6061 0.9191 lineto + -1.5338 0.8847 lineto + -1.4673 0.8463 lineto + -1.4067 0.805 lineto + -1.3522 0.7618 lineto + -1.3036 0.7177 lineto + -1.2607 0.6734 lineto + -1.206 0.6079 lineto + -1.149 0.5252 lineto + -1.1069 0.4498 lineto + -1.0762 0.3828 lineto + -1.0454 0.298 lineto + -1.0226 0.2114 lineto + -1.0078 0.125 lineto + -1.0019 0.0616 lineto + -1.0 0.0018 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, 1.1579208923731617E77) +newpath + -0.3333 0.0 moveto + -0.3485 0.0994 lineto + -0.3919 0.1887 lineto + -0.4425 0.2467 lineto + -0.5232 0.3009 lineto + -0.6317 0.3315 lineto + -0.6907 0.3325 lineto + -0.801 0.3051 lineto + -0.8847 0.2522 lineto + -0.9378 0.1938 lineto + -0.9772 0.1212 lineto + -0.9943 0.0612 lineto + -1.0 0.0018 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, 1.1579208923731617E77) +newpath + -2.0 0.0 moveto + -1.9875 0.1111 lineto + -1.9646 0.1848 lineto + -1.9305 0.2542 lineto + -1.8682 0.3383 lineto + -1.822 0.3825 lineto + -1.764 0.4246 lineto + -1.6942 0.4608 lineto + -1.6141 0.4868 lineto + -1.5274 0.4992 lineto + -1.439 0.4963 lineto + -1.3542 0.4783 lineto + -1.2778 0.4479 lineto + -1.2124 0.409 lineto + -1.159 0.3657 lineto + -1.1171 0.3215 lineto + -1.0612 0.2397 lineto + -1.031 0.1734 lineto + -1.0077 0.0873 lineto + -1.0 0.0018 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, 1.1579208923731617E77) +newpath + -0.5 0.0 moveto + -0.5257 0.1104 lineto + -0.5679 0.1713 lineto + -0.6211 0.2142 lineto + -0.697 0.2443 lineto + -0.7847 0.2476 lineto + -0.8645 0.2223 lineto + -0.9227 0.1807 lineto + -0.9704 0.1181 lineto + -0.9925 0.0608 lineto + -1.0 0.0018 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, 0.0) +newpath + 0.6 -0.8 moveto + 0.6548 -0.7558 lineto + 0.7035 -0.7107 lineto + 0.7464 -0.6655 lineto + 0.8164 -0.5775 lineto + 0.8685 -0.4957 lineto + 0.9066 -0.422 lineto + 0.934 -0.3572 lineto + 0.9611 -0.2761 lineto + 0.981 -0.1941 lineto + 0.9935 -0.1135 lineto + 1.0 -0.003 lineto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, -1.0) +newpath + 0.6 -0.8 moveto + 0.5417 -0.8406 lineto + 0.4776 -0.8786 lineto + 0.408 -0.913 lineto + 0.3333 -0.9428 lineto + 0.2542 -0.9671 lineto + 0.1716 -0.9852 lineto + 0.0864 -0.9963 lineto + 0.0 -1.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.0) +newpath + -0.6 -0.8 moveto + -0.5417 -0.8406 lineto + -0.4776 -0.8786 lineto + -0.408 -0.913 lineto + -0.3333 -0.9428 lineto + -0.2542 -0.9671 lineto + -0.1716 -0.9852 lineto + -0.0864 -0.9963 lineto + 0.0 -1.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.1579208923731617E77) +newpath + -0.6 -0.8 moveto + -0.6524 -0.7579 lineto + -0.6992 -0.7149 lineto + -0.7407 -0.6718 lineto + -0.8092 -0.5876 lineto + -0.861 -0.5086 lineto + -0.8996 -0.4368 lineto + -0.9278 -0.373 lineto + -0.9564 -0.2922 lineto + -0.9779 -0.2092 lineto + -0.9921 -0.1255 lineto + -0.998 -0.0631 lineto + -1.0 -0.004 lineto + -1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, 0.0) +newpath + -1.0 -1.0 moveto + -1.0 -6.2779 lineto + -0.9947 -6.3646 lineto + -0.5589 -6.378103166302659 lineto + -0.2485 -6.378103166302659 lineto + -1.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, -1.1579208923731617E77) +newpath + -1.0 -1.0 moveto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, 0.0) +newpath + -0.5 -0.5 moveto + -0.4098 -0.4918 lineto + -0.3253 -0.4685 lineto + -0.2508 -0.4335 lineto + -0.1886 -0.3912 lineto + -0.1389 -0.3459 lineto + -0.1007 -0.301 lineto + -0.0512 -0.2205 lineto + -0.0254 -0.1572 lineto + -0.0029 -0.0538 lineto + 0.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, -1.1579208923731617E77) +newpath + -0.5 -0.5 moveto + -0.5855 -0.4926 lineto + -0.6661 -0.4716 lineto + -0.738 -0.4397 lineto + -0.7991 -0.4006 lineto + -0.8489 -0.3581 lineto + -0.9181 -0.2742 lineto + -0.9572 -0.2025 lineto + -0.9844 -0.124 lineto + -0.996 -0.0629 lineto + -1.0 -0.004 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, -1.1579208923731617E77) +newpath + -3.0 0.0 moveto + -2.9941 -0.1084 lineto + -2.983 -0.1836 lineto + -2.9657 -0.2596 lineto + -2.9423 -0.3348 lineto + -2.9187 -0.3949 lineto + -2.886 -0.4636 lineto + -2.8413 -0.5406 lineto + -2.7811 -0.6244 lineto + -2.7235 -0.6903 lineto + -2.6784 -0.7347 lineto + -2.6276 -0.7785 lineto + -2.5708 -0.8211 lineto + -2.5079 -0.8614 lineto + -2.4391 -0.8984 lineto + -2.3648 -0.9311 lineto + -2.2855 -0.9584 lineto + -2.2021 -0.9794 lineto + -2.1156 -0.9933 lineto + -2.0274 -0.9996 lineto + -1.9387 -0.9981 lineto + -1.851 -0.9888 lineto + -1.7655 -0.9721 lineto + -1.6836 -0.9486 lineto + -1.6061 -0.9191 lineto + -1.5338 -0.8847 lineto + -1.4673 -0.8463 lineto + -1.4067 -0.805 lineto + -1.3522 -0.7618 lineto + -1.3036 -0.7177 lineto + -1.2607 -0.6734 lineto + -1.206 -0.6079 lineto + -1.149 -0.5252 lineto + -1.1069 -0.4498 lineto + -1.0762 -0.3828 lineto + -1.0454 -0.298 lineto + -1.0226 -0.2114 lineto + -1.0078 -0.125 lineto + -1.0019 -0.0616 lineto + -1.0 -0.0018 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, -1.1579208923731617E77) +newpath + -0.3333 0.0 moveto + -0.3485 -0.0994 lineto + -0.3919 -0.1887 lineto + -0.4425 -0.2467 lineto + -0.5232 -0.3009 lineto + -0.6317 -0.3315 lineto + -0.6907 -0.3325 lineto + -0.801 -0.3051 lineto + -0.8847 -0.2522 lineto + -0.9378 -0.1938 lineto + -0.9772 -0.1212 lineto + -0.9943 -0.0612 lineto + -1.0 -0.0018 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, -1.1579208923731617E77) +newpath + -2.0 0.0 moveto + -1.9875 -0.1111 lineto + -1.9646 -0.1848 lineto + -1.9305 -0.2542 lineto + -1.8682 -0.3383 lineto + -1.822 -0.3825 lineto + -1.764 -0.4246 lineto + -1.6942 -0.4608 lineto + -1.6141 -0.4868 lineto + -1.5274 -0.4992 lineto + -1.439 -0.4963 lineto + -1.3542 -0.4783 lineto + -1.2778 -0.4479 lineto + -1.2124 -0.409 lineto + -1.159 -0.3657 lineto + -1.1171 -0.3215 lineto + -1.0612 -0.2397 lineto + -1.031 -0.1734 lineto + -1.0077 -0.0873 lineto + -1.0 -0.0018 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, -1.1579208923731617E77) +newpath + -0.5 0.0 moveto + -0.5257 -0.1104 lineto + -0.5679 -0.1713 lineto + -0.6211 -0.2142 lineto + -0.697 -0.2443 lineto + -0.7847 -0.2476 lineto + -0.8645 -0.2223 lineto + -0.9227 -0.1807 lineto + -0.9704 -0.1181 lineto + -0.9925 -0.0608 lineto + -1.0 -0.0018 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Real axis +newpath -5 0 moveto 5 0 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 1.0 0.12 moveto 1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.0 0.12 moveto -1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 2.0 0.12 moveto 2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -2.0 0.12 moveto -2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.0 0.12 moveto 3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.0 0.12 moveto -3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 4.0 0.12 moveto 4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -4.0 0.12 moveto -4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 1.5707963267948966 0.09 moveto 1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.5707963267948966 0.09 moveto -1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.141592653589793 0.09 moveto 3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.141592653589793 0.09 moveto -3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +% Imaginary axis +newpath 0 -5 moveto 0 5 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 0.12 1.0 moveto -0.12 1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -1.0 moveto -0.12 -1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 2.0 moveto -0.12 2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -2.0 moveto -0.12 -2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 3.0 moveto -0.12 3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -3.0 moveto -0.12 -3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 4.0 moveto -0.12 4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -4.0 moveto -0.12 -4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 1.5707963267948966 moveto -0.09 1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -1.5707963267948966 moveto -0.09 -1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 3.141592653589793 moveto -0.09 3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -3.141592653589793 moveto -0.09 -3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +% End of PostScript file for plot of function ONE-PLUS-OVER-ONE-MINUS +%%EndDocument + @endspecial 76 x(The)15 b(function)h Fq(h)s FA(\()p +Fq(z)5 b FA(\))12 b(=)h(\(1)d(+)f Fq(z)c FA(\))p Fd(=)p +FA(\(1)10 b Ff(\000)f Fq(z)c FA(\))14 b(is)h(the)g(in)o(v)o(erse)h(of)e +Fq(f)8 b FA(\()p Fq(z)d FA(\))13 b(=)g(\()p Fq(z)h Ff(\000)c +FA(1\))p Fd(=)p FA(\()p Fq(z)k FA(+)9 b(1\);)15 b(that)0 +1891 y(is,)h Fq(h)s FA(\()p Fq(f)7 b FA(\()p Fq(z)e FA(\)\))13 +b(=)h Fq(f)8 b FA(\()p Fq(h)s FA(\()p Fq(z)d FA(\)\))12 +b(=)i Fq(z)5 b FA(.)22 b(A)o(t)14 b(\014rst)h(glance,)i(the)e(graph)h +(of)f Fq(h)i FA(app)q(ears)f(to)f(b)q(e)g(that)g(of)g +Fq(f)0 1937 y FA(\015ipp)q(ed)h(left-to-righ)o(t,)f(or)f(p)q(erhaps)i +(re\015ected)f(in)g(the)f(origin,)i(but)f(careful)g(consideration)i(of) +0 1983 y(the)g(shaded)g(ann)o(uli)i(rev)o(eals)f(that)e(this)i(is)f +(not)f(so;)i(something)g(more)f(subtle)h(is)f(going)h(on.)0 +2028 y(Note)11 b(that)h Fq(f)7 b FA(\()p Fq(f)h FA(\()p +Fq(z)d FA(\)\))10 b(=)g Fq(h)s FA(\()p Fq(h)s FA(\()p +Fq(z)5 b FA(\)\))k(=)i Fq(g)s FA(\()p Fq(z)5 b FA(\))k(=)i +Ff(\000)p FA(1)p Fd(=)p Fq(z)5 b FA(.)16 b(The)11 b(functions)i +Fq(f)8 b FA(,)j Fq(g)s FA(,)g Fq(h)s FA(,)f(and)i(the)g(iden)o(tit)o(y) +0 2074 y(function)g(th)o(us)g(form)f(a)g(group)h(under)g(comp)q +(osition,)h(isomorphic)h(to)d(the)g(group)h(of)f(the)g(cyclic)0 +2120 y(p)q(erm)o(utations)h(of)d(the)h(p)q(oin)o(ts)h +Ff(\000)p FA(1,)f(0,)g(1,)h(and)f Ff(1)p FA(,)g(as)g(indeed)i(these)e +(functions)h(accomplish)h(the)0 2165 y(four)f(p)q(ossible)j(cyclic)f(p) +q(erm)o(utations)g(on)f(those)g(p)q(oin)o(ts.)18 b(This)12 +b(function)g(group)g(is)g(a)g(subset)g(of)0 2211 y(the)i(group)g(of)f +(bilinear)j(transformations)g(\()p Fq(az)d FA(+)8 b Fq(b)r +FA(\))p Fd(=)p FA(\()p Fq(cz)13 b FA(+)c Fq(d)t FA(\),)j(all)j(of)e +(whic)o(h)i(are)e(conformal)0 2257 y(\(angle-preserving\))k(and)d(map)h +(circles)g(on)o(to)f(circles.)21 b(No)o(w,)13 b(do)q(esn't)h(that)g +(tangle)i(of)d(circles)0 2302 y(through)h Ff(\000)p FA(1)f(lo)q(ok)h +(lik)o(e)h(something)f(the)f(cat)g(got)h(in)o(to?)p 0 +2332 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 347 371 +347 370 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(347)p +0 255 1395 2 v 0 322 a Fm(Figure)14 b(12-7:)j FA(Illustration)f(of)d +(the)g(Range)h(of)f(the)g(Sine)h(F)m(unction)0 1766 y +@beginspecial @setspecial +%%BeginDocument: sin-plot.ps +% PostScript file for plot of function SIN +% Plot is to fit in a region 4.666666666666667 inches square +% showing axes extending 4.1 units from the origin. + +40.97560975609756 40.97560975609756 scale +4.1 4.1 translate +newpath + -4.1 -4.1 moveto + 4.1 -4.1 lineto + 4.1 4.1 lineto + -4.1 4.1 lineto + closepath +clip +% Moby grid for function SIN +% Annulus 0.25 0.5 4 0.97 0.45 +% Sector from 4.7124 to 6.2832 (quadrant 3) +newpath + 0.0 -0.2526 moveto + 0.0 -0.3839 lineto + %middle radial + 0.0 -0.3839 lineto + 0.0 -0.5211 lineto + %end radial + 0.0 -0.5211 lineto + 0.1032 -0.5093 lineto + 0.2034 -0.4735 lineto + 0.2936 -0.4153 lineto + 0.3681 -0.3386 lineto + %middle circumferential + 0.3681 -0.3386 lineto + 0.4174 -0.2615 lineto + 0.4521 -0.1781 lineto + 0.4726 -0.0906 lineto + 0.4794 0.0 lineto + %end circumferential + 0.4794 0.0 lineto + 0.3663 0.0 lineto + %middle radial + 0.3663 0.0 lineto + 0.2474 0.0 lineto + %end radial + 0.2474 0.0 lineto + 0.2288 -0.0963 lineto + 0.1786 -0.1749 lineto + %middle circumferential + 0.1786 -0.1749 lineto + 0.0945 -0.2335 lineto + 0.0 -0.2526 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 3.1416 to 4.7124 (quadrant 2) +newpath + -0.2474 0.0 moveto + -0.3663 0.0 lineto + %middle radial + -0.3663 0.0 lineto + -0.4794 0.0 lineto + %end radial + -0.4794 0.0 lineto + -0.4742 -0.0791 lineto + -0.4567 -0.1628 lineto + -0.4231 -0.2503 lineto + -0.3681 -0.3386 lineto + %middle circumferential + -0.3681 -0.3386 lineto + -0.3035 -0.4069 lineto + -0.2195 -0.4653 lineto + -0.1167 -0.506 lineto + -0.0301 -0.5201 lineto + 0.0 -0.5211 lineto + %end circumferential + 0.0 -0.5211 lineto + 0.0 -0.3839 lineto + %middle radial + 0.0 -0.3839 lineto + 0.0 -0.2526 lineto + %end radial + 0.0 -0.2526 lineto + -0.1022 -0.2301 lineto + -0.1786 -0.1749 lineto + %middle circumferential + -0.1786 -0.1749 lineto + -0.2319 -0.0883 lineto + -0.2474 0.0 lineto + %end circumferential + closepath +currentgray 0.6233333333333334 setgray fill setgray +% Sector from 1.5708 to 3.1416 (quadrant 1) +newpath + 0.0 0.2526 moveto + 0.0 0.3839 lineto + %middle radial + 0.0 0.3839 lineto + 0.0 0.5211 lineto + %end radial + 0.0 0.5211 lineto + -0.0459 0.5188 lineto + -0.1424 0.4984 lineto + -0.2394 0.4538 lineto + -0.3289 0.3832 lineto + -0.3681 0.3386 lineto + %middle circumferential + -0.3681 0.3386 lineto + -0.415 0.2662 lineto + -0.4499 0.1847 lineto + -0.4718 0.0957 lineto + -0.4794 0.0 lineto + %end circumferential + -0.4794 0.0 lineto + -0.3663 0.0 lineto + %middle radial + -0.3663 0.0 lineto + -0.2474 0.0 lineto + %end radial + -0.2474 0.0 lineto + -0.2274 0.0997 lineto + -0.1786 0.1749 lineto + %middle circumferential + -0.1786 0.1749 lineto + -0.0887 0.2359 lineto + 0.0 0.2526 lineto + %end circumferential + closepath +currentgray 0.7966666666666668 setgray fill setgray +% Sector from 0.0 to 1.5708 (quadrant 0) +newpath + 0.2474 0.0 moveto + 0.3663 0.0 lineto + %middle radial + 0.3663 0.0 lineto + 0.4794 0.0 lineto + %end radial + 0.4794 0.0 lineto + 0.4782 0.039 lineto + 0.4681 0.116 lineto + 0.4446 0.1998 lineto + 0.4043 0.2853 lineto + 0.3681 0.3386 lineto + %middle circumferential + 0.3681 0.3386 lineto + 0.3169 0.3948 lineto + 0.2427 0.4518 lineto + 0.1674 0.4895 lineto + 0.1067 0.5085 lineto + 0.0375 0.5196 lineto + 0.0 0.5211 lineto + %end circumferential + 0.0 0.5211 lineto + 0.0 0.3839 lineto + %middle radial + 0.0 0.3839 lineto + 0.0 0.2526 lineto + %end radial + 0.0 0.2526 lineto + 0.0335 0.2503 lineto + 0.1136 0.2245 lineto + 0.1786 0.1749 lineto + %middle circumferential + 0.1786 0.1749 lineto + 0.2138 0.1273 lineto + 0.2436 0.0443 lineto + 0.2474 0.0 lineto + %end circumferential + closepath +currentgray 0.9700000000000001 setgray fill setgray +% Annulus 0.75 1.0 8 0.97 0.45 +% Sector from 5.4978 to 6.2832 (quadrant 3) +newpath + 0.5786 -0.4792 moveto + 0.6334 -0.5081 lineto + 0.6946 -0.5368 lineto + %middle radial + 0.6946 -0.5368 lineto + 0.7536 -0.5608 lineto + 0.8189 -0.5835 lineto + %end radial + 0.8189 -0.5835 lineto + 0.8431 -0.4876 lineto + 0.8557 -0.3969 lineto + 0.8593 -0.3129 lineto + 0.8571 -0.2363 lineto + %middle circumferential + 0.8571 -0.2363 lineto + 0.8522 -0.1711 lineto + 0.847 -0.1111 lineto + 0.8415 0.0 lineto + %end circumferential + 0.8415 0.0 lineto + 0.7675 0.0 lineto + %middle radial + 0.7675 0.0 lineto + 0.6816 0.0 lineto + %end radial + 0.6816 0.0 lineto + 0.6781 -0.1107 lineto + 0.6653 -0.2239 lineto + %middle circumferential + 0.6653 -0.2239 lineto + 0.6527 -0.2865 lineto + 0.6347 -0.3503 lineto + 0.6103 -0.4149 lineto + 0.5786 -0.4792 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 4.7124 to 5.4978 (quadrant 3) +newpath + 0.0 -0.8223 moveto + 0.0 -0.991 lineto + %middle radial + 0.0 -0.991 lineto + 0.0 -1.1752 lineto + %end radial + 0.0 -1.1752 lineto + 0.073 -1.1722 lineto + 0.146 -1.1629 lineto + 0.2183 -1.1475 lineto + 0.2892 -1.126 lineto + 0.3579 -1.0986 lineto + 0.4238 -1.0655 lineto + 0.4861 -1.0273 lineto + 0.5444 -0.9843 lineto + %middle circumferential + 0.5444 -0.9843 lineto + 0.5943 -0.9408 lineto + 0.64 -0.8943 lineto + 0.6813 -0.8454 lineto + 0.718 -0.7945 lineto + 0.75 -0.7423 lineto + 0.7774 -0.6894 lineto + 0.8189 -0.5835 lineto + %end circumferential + 0.8189 -0.5835 lineto + 0.7536 -0.5608 lineto + 0.6946 -0.5368 lineto + %middle radial + 0.6946 -0.5368 lineto + 0.6334 -0.5081 lineto + 0.5786 -0.4792 lineto + %end radial + 0.5786 -0.4792 lineto + 0.5359 -0.5465 lineto + 0.4839 -0.6102 lineto + 0.4229 -0.6683 lineto + 0.3538 -0.719 lineto + %middle circumferential + 0.3538 -0.719 lineto + 0.2715 -0.7636 lineto + 0.1834 -0.7962 lineto + 0.0921 -0.8158 lineto + 0.0 -0.8223 lineto + %end circumferential + closepath +currentgray 0.5242857142857142 setgray fill setgray +% Sector from 3.927 to 4.7124 (quadrant 2) +newpath + -0.5786 -0.4792 moveto + -0.6334 -0.5081 lineto + -0.6946 -0.5368 lineto + %middle radial + -0.6946 -0.5368 lineto + -0.7536 -0.5608 lineto + -0.8189 -0.5835 lineto + %end radial + -0.8189 -0.5835 lineto + -0.8018 -0.6325 lineto + -0.7546 -0.734 lineto + -0.7237 -0.7857 lineto + -0.6875 -0.8373 lineto + -0.6456 -0.8881 lineto + -0.598 -0.9374 lineto + -0.5444 -0.9843 lineto + %middle circumferential + -0.5444 -0.9843 lineto + -0.4904 -1.0244 lineto + -0.4316 -1.0611 lineto + -0.3683 -1.0938 lineto + -0.3009 -1.1218 lineto + -0.2297 -1.1445 lineto + -0.1553 -1.1613 lineto + -0.0785 -1.1717 lineto + 0.0 -1.1752 lineto + %end circumferential + 0.0 -1.1752 lineto + 0.0 -0.991 lineto + %middle radial + 0.0 -0.991 lineto + 0.0 -0.8223 lineto + %end radial + 0.0 -0.8223 lineto + -0.098 -0.815 lineto + -0.191 -0.794 lineto + -0.2768 -0.7612 lineto + -0.3538 -0.719 lineto + %middle circumferential + -0.3538 -0.719 lineto + -0.4271 -0.6648 lineto + -0.4887 -0.605 lineto + -0.5388 -0.5424 lineto + -0.5786 -0.4792 lineto + %end circumferential + closepath +currentgray 0.5985714285714285 setgray fill setgray +% Sector from 3.1416 to 3.927 (quadrant 2) +newpath + -0.6816 0.0 moveto + -0.7675 0.0 lineto + %middle radial + -0.7675 0.0 lineto + -0.8415 0.0 lineto + %end radial + -0.8415 0.0 lineto + -0.8465 -0.1058 lineto + -0.8519 -0.1668 lineto + -0.8571 -0.2363 lineto + %middle circumferential + -0.8571 -0.2363 lineto + -0.8593 -0.3078 lineto + -0.8563 -0.3893 lineto + -0.8443 -0.4814 lineto + -0.8189 -0.5835 lineto + %end circumferential + -0.8189 -0.5835 lineto + -0.7536 -0.5608 lineto + -0.6946 -0.5368 lineto + %middle radial + -0.6946 -0.5368 lineto + -0.6334 -0.5081 lineto + -0.5786 -0.4792 lineto + %end radial + -0.5786 -0.4792 lineto + -0.6121 -0.4106 lineto + -0.6365 -0.3447 lineto + -0.6536 -0.2824 lineto + -0.6653 -0.2239 lineto + %middle circumferential + -0.6653 -0.2239 lineto + -0.6736 -0.1627 lineto + -0.6809 -0.0516 lineto + -0.6816 0.0 lineto + %end circumferential + closepath +currentgray 0.6728571428571428 setgray fill setgray +% Sector from 2.3562 to 3.1416 (quadrant 1) +newpath + -0.5786 0.4792 moveto + -0.6334 0.5081 lineto + -0.6946 0.5368 lineto + %middle radial + -0.6946 0.5368 lineto + -0.7536 0.5608 lineto + -0.8189 0.5835 lineto + %end radial + -0.8189 0.5835 lineto + -0.8425 0.4906 lineto + -0.8553 0.4006 lineto + -0.8593 0.3155 lineto + -0.8571 0.2363 lineto + %middle circumferential + -0.8571 0.2363 lineto + -0.8524 0.1727 lineto + -0.8471 0.1131 lineto + -0.8415 0.0 lineto + %end circumferential + -0.8415 0.0 lineto + -0.7675 0.0 lineto + %middle radial + -0.7675 0.0 lineto + -0.6816 0.0 lineto + %end radial + -0.6816 0.0 lineto + -0.678 0.1126 lineto + -0.6653 0.2239 lineto + %middle circumferential + -0.6653 0.2239 lineto + -0.6522 0.2885 lineto + -0.6338 0.3531 lineto + -0.6094 0.417 lineto + -0.5786 0.4792 lineto + %end circumferential + closepath +currentgray 0.7471428571428572 setgray fill setgray +% Sector from 1.5708 to 2.3562 (quadrant 1) +newpath + 0.0 0.8223 moveto + 0.0 0.991 lineto + %middle radial + 0.0 0.991 lineto + 0.0 1.1752 lineto + %end radial + 0.0 1.1752 lineto + -0.0685 1.1725 lineto + -0.1383 1.1642 lineto + -0.2087 1.1499 lineto + -0.2792 1.1295 lineto + -0.3489 1.1026 lineto + -0.4168 1.0693 lineto + -0.4823 1.0298 lineto + -0.5444 0.9843 lineto + %middle circumferential + -0.5444 0.9843 lineto + -0.5921 0.9429 lineto + -0.6365 0.8982 lineto + -0.6773 0.8504 lineto + -0.7142 0.8001 lineto + -0.7469 0.7477 lineto + -0.7753 0.6937 lineto + -0.7993 0.6388 lineto + -0.8189 0.5835 lineto + %end circumferential + -0.8189 0.5835 lineto + -0.7536 0.5608 lineto + -0.6946 0.5368 lineto + %middle radial + -0.6946 0.5368 lineto + -0.6334 0.5081 lineto + -0.5786 0.4792 lineto + %end radial + -0.5786 0.4792 lineto + -0.534 0.5492 lineto + -0.4808 0.6135 lineto + -0.4203 0.6705 lineto + -0.3538 0.719 lineto + %middle circumferential + -0.3538 0.719 lineto + -0.2669 0.7657 lineto + -0.177 0.7981 lineto + -0.0872 0.8165 lineto + 0.0 0.8223 lineto + %end circumferential + closepath +currentgray 0.8214285714285714 setgray fill setgray +% Sector from 0.7854 to 1.5708 (quadrant 0) +newpath + 0.5786 0.4792 moveto + 0.6334 0.5081 lineto + 0.6946 0.5368 lineto + %middle radial + 0.6946 0.5368 lineto + 0.7536 0.5608 lineto + 0.8189 0.5835 lineto + %end radial + 0.8189 0.5835 lineto + 0.7857 0.6712 lineto + 0.7338 0.7697 lineto + 0.6987 0.8223 lineto + 0.6561 0.8762 lineto + 0.605 0.9306 lineto + 0.5444 0.9843 lineto + %middle circumferential + 0.5444 0.9843 lineto + 0.4953 1.021 lineto + 0.4407 1.0559 lineto + 0.3805 1.088 lineto + 0.3147 1.1166 lineto + 0.2434 1.1407 lineto + 0.1668 1.1592 lineto + 0.0854 1.171 lineto + 0.0 1.1752 lineto + %end circumferential + 0.0 1.1752 lineto + 0.0 0.991 lineto + %middle radial + 0.0 0.991 lineto + 0.0 0.8223 lineto + %end radial + 0.0 0.8223 lineto + 0.1052 0.8138 lineto + 0.1999 0.7912 lineto + 0.2828 0.7584 lineto + 0.3538 0.719 lineto + %middle circumferential + 0.3538 0.719 lineto + 0.435 0.6579 lineto + 0.4972 0.5954 lineto + 0.5439 0.5352 lineto + 0.5786 0.4792 lineto + %end circumferential + closepath +currentgray 0.8957142857142858 setgray fill setgray +% Sector from 0.0 to 0.7854 (quadrant 0) +newpath + 0.6816 0.0 moveto + 0.7675 0.0 lineto + %middle radial + 0.7675 0.0 lineto + 0.8415 0.0 lineto + %end radial + 0.8415 0.0 lineto + 0.8427 0.0503 lineto + 0.8509 0.1562 lineto + 0.8571 0.2363 lineto + %middle circumferential + 0.8571 0.2363 lineto + 0.8592 0.3258 lineto + 0.8546 0.4087 lineto + 0.8431 0.4876 lineto + 0.8289 0.5495 lineto + 0.8189 0.5835 lineto + %end circumferential + 0.8189 0.5835 lineto + 0.7536 0.5608 lineto + 0.6946 0.5368 lineto + %middle radial + 0.6946 0.5368 lineto + 0.6334 0.5081 lineto + 0.5786 0.4792 lineto + %end radial + 0.5786 0.4792 lineto + 0.6184 0.3953 lineto + 0.6421 0.3262 lineto + 0.6653 0.2239 lineto + %middle circumferential + 0.6653 0.2239 lineto + 0.6746 0.1531 lineto + 0.6809 0.0508 lineto + 0.6816 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 1.5708 2.0 16 0.97 0.45 +% Sector from 5.8905 to 6.2832 (quadrant 3) +newpath + 1.1777 -0.0761 moveto + 1.2121 -0.0162 lineto + 1.2388 0.058 lineto + %middle radial + 1.2388 0.058 lineto + 1.2536 0.1372 lineto + 1.2576 0.2303 lineto + %end radial + 1.2576 0.2303 lineto + 1.2161 0.228 lineto + 1.1402 0.216 lineto + 1.0745 0.1956 lineto + 0.9959 0.1524 lineto + %middle circumferential + 0.9959 0.1524 lineto + 0.9312 0.081 lineto + 0.9093 0.0 lineto + %end circumferential + 0.9093 0.0 lineto + 0.9771 0.0 lineto + %middle radial + 0.9771 0.0 lineto + 1.0 0.0 lineto + %end radial + 1.0 0.0 lineto + 1.0468 -0.0094 lineto + %middle circumferential + 1.0468 -0.0094 lineto + 1.1038 -0.0322 lineto + 1.1777 -0.0761 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.4978 to 5.8905 (quadrant 3) +newpath + 1.5079 -0.601 moveto + 1.5795 -0.5822 lineto + 1.6551 -0.5584 lineto + 1.7347 -0.5291 lineto + 1.8185 -0.4933 lineto + %middle radial + 1.8185 -0.4933 lineto + 1.8965 -0.4556 lineto + 1.978 -0.4117 lineto + 2.063 -0.3606 lineto + 2.1515 -0.3018 lineto + %end radial + 2.1515 -0.3018 lineto + 2.0966 -0.228 lineto + 2.0395 -0.1602 lineto + 1.9806 -0.0983 lineto + 1.9204 -0.0424 lineto + 1.8595 0.0077 lineto + 1.7982 0.0521 lineto + 1.737 0.091 lineto + 1.6764 0.1246 lineto + %middle circumferential + 1.6764 0.1246 lineto + 1.6185 0.1522 lineto + 1.5618 0.1752 lineto + 1.4527 0.2085 lineto + 1.3508 0.2262 lineto + 1.2576 0.2303 lineto + %end circumferential + 1.2576 0.2303 lineto + 1.2536 0.1372 lineto + 1.2388 0.058 lineto + %middle radial + 1.2388 0.058 lineto + 1.2121 -0.0162 lineto + 1.1777 -0.0761 lineto + %end radial + 1.1777 -0.0761 lineto + 1.2207 -0.1091 lineto + 1.2656 -0.1501 lineto + 1.3113 -0.1998 lineto + 1.3566 -0.2584 lineto + %middle circumferential + 1.3566 -0.2584 lineto + 1.4015 -0.3291 lineto + 1.4429 -0.4098 lineto + 1.4789 -0.5006 lineto + 1.5079 -0.601 lineto + %end circumferential + closepath +currentgray 0.48466666666666664 setgray fill setgray +% Sector from 5.1051 to 5.4978 (quadrant 3) +newpath + 1.2733 -1.6635 moveto + 1.3662 -1.7292 lineto + 1.416 -1.7631 lineto + 1.4681 -1.7977 lineto + 1.5228 -1.8331 lineto + 1.5802 -1.8691 lineto + 1.6403 -1.906 lineto + 1.7034 -1.9436 lineto + %middle radial + 1.7034 -1.9436 lineto + 1.762 -1.9775 lineto + 1.8232 -2.012 lineto + 1.8871 -2.0471 lineto + 1.9538 -2.0828 lineto + 2.0236 -2.119 lineto + 2.0966 -2.1559 lineto + 2.1729 -2.1932 lineto + 2.2527 -2.2312 lineto + %end radial + 2.2527 -2.2312 lineto + 2.2838 -2.1616 lineto + 2.3123 -2.0916 lineto + 2.3383 -2.0213 lineto + 2.3616 -1.9508 lineto + 2.3823 -1.8802 lineto + 2.4005 -1.8096 lineto + 2.4161 -1.7392 lineto + 2.4292 -1.669 lineto + 2.4399 -1.5991 lineto + 2.4481 -1.5297 lineto + 2.4538 -1.4609 lineto + 2.4573 -1.3926 lineto + 2.4584 -1.3252 lineto + 2.4573 -1.2585 lineto + 2.454 -1.1928 lineto + 2.4486 -1.128 lineto + %middle circumferential + 2.4486 -1.128 lineto + 2.4414 -1.0666 lineto + 2.4324 -1.0063 lineto + 2.4216 -0.9471 lineto + 2.4091 -0.8891 lineto + 2.3792 -0.7769 lineto + 2.3433 -0.67 lineto + 2.302 -0.5688 lineto + 2.2558 -0.4736 lineto + 2.2055 -0.3845 lineto + 2.1515 -0.3018 lineto + %end circumferential + 2.1515 -0.3018 lineto + 2.063 -0.3606 lineto + 1.978 -0.4117 lineto + 1.8965 -0.4556 lineto + 1.8185 -0.4933 lineto + %middle radial + 1.8185 -0.4933 lineto + 1.7347 -0.5291 lineto + 1.6551 -0.5584 lineto + 1.5795 -0.5822 lineto + 1.5079 -0.601 lineto + %end radial + 1.5079 -0.601 lineto + 1.5197 -0.6566 lineto + 1.5288 -0.7145 lineto + 1.5351 -0.7745 lineto + 1.5385 -0.8364 lineto + 1.5386 -0.9001 lineto + 1.5353 -0.9653 lineto + 1.5284 -1.0318 lineto + 1.5178 -1.0994 lineto + %middle circumferential + 1.5178 -1.0994 lineto + 1.5027 -1.1703 lineto + 1.4833 -1.2419 lineto + 1.4595 -1.3136 lineto + 1.4312 -1.3852 lineto + 1.3985 -1.4563 lineto + 1.3612 -1.5267 lineto + 1.3194 -1.5958 lineto + 1.2733 -1.6635 lineto + %end circumferential + closepath +currentgray 0.5193333333333334 setgray fill setgray +% Sector from 4.7124 to 5.1051 (quadrant 3) +newpath + 0.0 -2.3013 moveto + 0.0 -2.8971 lineto + %middle radial + 0.0 -2.8971 lineto + 0.0 -3.6269 lineto + %end radial + 0.0 -3.6269 lineto + 0.0906 -3.6253 lineto + 0.1812 -3.6205 lineto + 0.2718 -3.6124 lineto + 0.3622 -3.6012 lineto + 0.4522 -3.5867 lineto + 0.5418 -3.5691 lineto + 0.6307 -3.5482 lineto + 0.7189 -3.5241 lineto + 0.8061 -3.4969 lineto + 0.8922 -3.4666 lineto + 0.9772 -3.4333 lineto + 1.0608 -3.397 lineto + 1.1429 -3.3577 lineto + 1.2234 -3.3155 lineto + 1.3021 -3.2706 lineto + 1.379 -3.223 lineto + %middle circumferential + 1.379 -3.223 lineto + 1.451 -3.1748 lineto + 1.521 -3.1242 lineto + 1.589 -3.0715 lineto + 1.6549 -3.0165 lineto + 1.7185 -2.9596 lineto + 1.7799 -2.9007 lineto + 1.8389 -2.84 lineto + 1.8954 -2.7776 lineto + 1.9494 -2.7136 lineto + 2.0008 -2.6481 lineto + 2.0496 -2.5812 lineto + 2.0957 -2.5132 lineto + 2.1391 -2.444 lineto + 2.1797 -2.3739 lineto + 2.2176 -2.3029 lineto + 2.2527 -2.2312 lineto + %end circumferential + 2.2527 -2.2312 lineto + 2.1729 -2.1932 lineto + 2.0966 -2.1559 lineto + 2.0236 -2.119 lineto + 1.9538 -2.0828 lineto + 1.8871 -2.0471 lineto + 1.8232 -2.012 lineto + 1.762 -1.9775 lineto + 1.7034 -1.9436 lineto + %middle radial + 1.7034 -1.9436 lineto + 1.6403 -1.906 lineto + 1.5802 -1.8691 lineto + 1.5228 -1.8331 lineto + 1.4681 -1.7977 lineto + 1.416 -1.7631 lineto + 1.3662 -1.7292 lineto + 1.2733 -1.6635 lineto + %end radial + 1.2733 -1.6635 lineto + 1.2207 -1.7317 lineto + 1.1635 -1.7976 lineto + 1.1019 -1.8607 lineto + 1.0362 -1.9207 lineto + 0.9665 -1.9772 lineto + 0.893 -2.0299 lineto + 0.8162 -2.0786 lineto + 0.7363 -2.1229 lineto + %middle circumferential + 0.7363 -2.1229 lineto + 0.6503 -2.1641 lineto + 0.5616 -2.2003 lineto + 0.4708 -2.231 lineto + 0.3783 -2.2563 lineto + 0.2846 -2.276 lineto + 0.1899 -2.2901 lineto + 0.0949 -2.2985 lineto + 0.0 -2.3013 lineto + %end circumferential + closepath +currentgray 0.554 setgray fill setgray +% Sector from 4.3197 to 4.7124 (quadrant 2) +newpath + -1.2733 -1.6635 moveto + -1.3662 -1.7292 lineto + -1.416 -1.7631 lineto + -1.4681 -1.7977 lineto + -1.5228 -1.8331 lineto + -1.5802 -1.8691 lineto + -1.6403 -1.906 lineto + -1.7034 -1.9436 lineto + %middle radial + -1.7034 -1.9436 lineto + -1.762 -1.9775 lineto + -1.8232 -2.012 lineto + -1.8871 -2.0471 lineto + -1.9538 -2.0828 lineto + -2.0236 -2.119 lineto + -2.0966 -2.1559 lineto + -2.1729 -2.1932 lineto + -2.2527 -2.2312 lineto + %end radial + -2.2527 -2.2312 lineto + -2.219 -2.3001 lineto + -2.1826 -2.3688 lineto + -2.1433 -2.437 lineto + -2.1012 -2.5046 lineto + -2.0563 -2.5716 lineto + -2.0086 -2.6377 lineto + -1.958 -2.7029 lineto + -1.9046 -2.767 lineto + -1.8484 -2.8298 lineto + -1.7893 -2.8912 lineto + -1.7276 -2.9512 lineto + -1.6631 -3.0094 lineto + -1.5959 -3.0659 lineto + -1.5262 -3.1204 lineto + -1.4538 -3.1728 lineto + -1.379 -3.223 lineto + %middle circumferential + -1.379 -3.223 lineto + -1.3051 -3.2688 lineto + -1.2291 -3.3124 lineto + -1.151 -3.3536 lineto + -1.071 -3.3923 lineto + -0.9892 -3.4283 lineto + -0.9055 -3.4617 lineto + -0.8203 -3.4922 lineto + -0.7335 -3.5198 lineto + -0.6453 -3.5444 lineto + -0.5558 -3.566 lineto + -0.4652 -3.5844 lineto + -0.3736 -3.5995 lineto + -0.2811 -3.6114 lineto + -0.1879 -3.62 lineto + -0.0942 -3.6251 lineto + 0.0 -3.6269 lineto + %end circumferential + 0.0 -3.6269 lineto + 0.0 -2.8971 lineto + %middle radial + 0.0 -2.8971 lineto + 0.0 -2.3013 lineto + %end radial + 0.0 -2.3013 lineto + -0.0985 -2.2983 lineto + -0.1959 -2.2894 lineto + -0.292 -2.2747 lineto + -0.3861 -2.2544 lineto + -0.478 -2.2288 lineto + -0.5672 -2.1982 lineto + -0.6534 -2.1627 lineto + -0.7363 -2.1229 lineto + %middle circumferential + -0.7363 -2.1229 lineto + -0.8191 -2.0768 lineto + -0.8978 -2.0267 lineto + -0.9721 -1.9729 lineto + -1.0418 -1.9158 lineto + -1.1069 -1.8559 lineto + -1.1672 -1.7936 lineto + -1.2226 -1.7293 lineto + -1.2733 -1.6635 lineto + %end circumferential + closepath +currentgray 0.5886666666666667 setgray fill setgray +% Sector from 3.927 to 4.3197 (quadrant 2) +newpath + -1.5079 -0.601 moveto + -1.5795 -0.5822 lineto + -1.6551 -0.5584 lineto + -1.7347 -0.5291 lineto + -1.8185 -0.4933 lineto + %middle radial + -1.8185 -0.4933 lineto + -1.8965 -0.4556 lineto + -1.978 -0.4117 lineto + -2.063 -0.3606 lineto + -2.1515 -0.3018 lineto + %end radial + -2.1515 -0.3018 lineto + -2.1779 -0.3407 lineto + -2.2286 -0.4237 lineto + -2.2761 -0.5135 lineto + -2.3198 -0.6102 lineto + -2.3589 -0.7138 lineto + -2.3927 -0.8241 lineto + -2.4074 -0.8817 lineto + -2.4204 -0.941 lineto + -2.4317 -1.0018 lineto + -2.4411 -1.0641 lineto + -2.4486 -1.128 lineto + %middle circumferential + -2.4486 -1.128 lineto + -2.4538 -1.1902 lineto + -2.4571 -1.2537 lineto + -2.4584 -1.3184 lineto + -2.4575 -1.3842 lineto + -2.4545 -1.451 lineto + -2.4491 -1.5189 lineto + -2.4414 -1.5876 lineto + -2.4312 -1.6572 lineto + -2.4185 -1.7275 lineto + -2.4031 -1.7985 lineto + -2.3851 -1.8699 lineto + -2.3644 -1.9418 lineto + -2.3408 -2.014 lineto + -2.3144 -2.0864 lineto + -2.285 -2.1588 lineto + -2.2527 -2.2312 lineto + %end circumferential + -2.2527 -2.2312 lineto + -2.1729 -2.1932 lineto + -2.0966 -2.1559 lineto + -2.0236 -2.119 lineto + -1.9538 -2.0828 lineto + -1.8871 -2.0471 lineto + -1.8232 -2.012 lineto + -1.762 -1.9775 lineto + -1.7034 -1.9436 lineto + %middle radial + -1.7034 -1.9436 lineto + -1.6403 -1.906 lineto + -1.5802 -1.8691 lineto + -1.5228 -1.8331 lineto + -1.4681 -1.7977 lineto + -1.416 -1.7631 lineto + -1.3662 -1.7292 lineto + -1.2733 -1.6635 lineto + %end radial + -1.2733 -1.6635 lineto + -1.3211 -1.5933 lineto + -1.3637 -1.5222 lineto + -1.4012 -1.4507 lineto + -1.4338 -1.3792 lineto + -1.4615 -1.308 lineto + -1.4846 -1.2374 lineto + -1.5033 -1.1678 lineto + -1.5178 -1.0994 lineto + %middle circumferential + -1.5178 -1.0994 lineto + -1.5287 -1.0293 lineto + -1.5356 -0.961 lineto + -1.5387 -0.8949 lineto + -1.5383 -0.831 lineto + -1.5347 -0.7696 lineto + -1.5283 -0.7108 lineto + -1.5079 -0.601 lineto + %end circumferential + closepath +currentgray 0.6233333333333333 setgray fill setgray +% Sector from 3.5343 to 3.927 (quadrant 2) +newpath + -1.1777 -0.0761 moveto + -1.2121 -0.0162 lineto + -1.2388 0.058 lineto + %middle radial + -1.2388 0.058 lineto + -1.2536 0.1372 lineto + -1.2576 0.2303 lineto + %end radial + -1.2576 0.2303 lineto + -1.3013 0.2299 lineto + -1.3966 0.2199 lineto + -1.5019 0.1953 lineto + -1.5581 0.1766 lineto + -1.6163 0.1532 lineto + -1.6764 0.1246 lineto + %middle circumferential + -1.6764 0.1246 lineto + -1.7348 0.0924 lineto + -1.7943 0.0548 lineto + -1.8545 0.0115 lineto + -1.9152 -0.0379 lineto + -1.9757 -0.0936 lineto + -2.0357 -0.1559 lineto + -2.0945 -0.2253 lineto + -2.1515 -0.3018 lineto + %end circumferential + -2.1515 -0.3018 lineto + -2.063 -0.3606 lineto + -1.978 -0.4117 lineto + -1.8965 -0.4556 lineto + -1.8185 -0.4933 lineto + %middle radial + -1.8185 -0.4933 lineto + -1.7347 -0.5291 lineto + -1.6551 -0.5584 lineto + -1.5795 -0.5822 lineto + -1.5079 -0.601 lineto + %end radial + -1.5079 -0.601 lineto + -1.4778 -0.4975 lineto + -1.4412 -0.4061 lineto + -1.4001 -0.3266 lineto + -1.3566 -0.2584 lineto + %middle circumferential + -1.3566 -0.2584 lineto + -1.3098 -0.198 lineto + -1.2636 -0.1482 lineto + -1.2192 -0.1079 lineto + -1.1777 -0.0761 lineto + %end circumferential + closepath +currentgray 0.658 setgray fill setgray +% Sector from 3.1416 to 3.5343 (quadrant 2) +newpath + -1.0 0.0 moveto + -0.9771 0.0 lineto + %middle radial + -0.9771 0.0 lineto + -0.9093 0.0 lineto + %end radial + -0.9093 0.0 lineto + -0.9302 0.0792 lineto + -0.9959 0.1524 lineto + %middle circumferential + -0.9959 0.1524 lineto + -1.0719 0.1946 lineto + -1.1372 0.2153 lineto + -1.2145 0.2279 lineto + -1.2576 0.2303 lineto + %end circumferential + -1.2576 0.2303 lineto + -1.2536 0.1372 lineto + -1.2388 0.058 lineto + %middle radial + -1.2388 0.058 lineto + -1.2121 -0.0162 lineto + -1.1777 -0.0761 lineto + %end radial + -1.1777 -0.0761 lineto + -1.1023 -0.0314 lineto + -1.0468 -0.0094 lineto + %middle circumferential + -1.0468 -0.0094 lineto + -1.0 0.0 lineto + %end circumferential + closepath +currentgray 0.6926666666666667 setgray fill setgray +% Sector from 2.7489 to 3.1416 (quadrant 1) +newpath + -1.1777 0.0761 moveto + -1.2121 0.0162 lineto + -1.2388 -0.058 lineto + %middle radial + -1.2388 -0.058 lineto + -1.2536 -0.1372 lineto + -1.2576 -0.2303 lineto + %end radial + -1.2576 -0.2303 lineto + -1.1779 -0.2233 lineto + -1.1072 -0.2072 lineto + -1.0463 -0.1831 lineto + -0.9959 -0.1524 lineto + %middle circumferential + -0.9959 -0.1524 lineto + -0.9316 -0.0816 lineto + -0.9093 0.0 lineto + %end circumferential + -0.9093 0.0 lineto + -0.9771 0.0 lineto + %middle radial + -0.9771 0.0 lineto + -1.0 0.0 lineto + %end radial + -1.0 0.0 lineto + -1.0468 0.0094 lineto + %middle circumferential + -1.0468 0.0094 lineto + -1.1044 0.0325 lineto + -1.1777 0.0761 lineto + %end circumferential + closepath +currentgray 0.7273333333333334 setgray fill setgray +% Sector from 2.3562 to 2.7489 (quadrant 1) +newpath + -1.5079 0.601 moveto + -1.5795 0.5822 lineto + -1.6551 0.5584 lineto + -1.7347 0.5291 lineto + -1.8185 0.4933 lineto + %middle radial + -1.8185 0.4933 lineto + -1.8965 0.4556 lineto + -1.978 0.4117 lineto + -2.063 0.3606 lineto + -2.1515 0.3018 lineto + %end radial + -2.1515 0.3018 lineto + -2.0977 0.2294 lineto + -2.0414 0.1624 lineto + -1.9831 0.1008 lineto + -1.9231 0.0448 lineto + -1.862 -0.0057 lineto + -1.8003 -0.0507 lineto + -1.7382 -0.0903 lineto + -1.6764 -0.1246 lineto + %middle circumferential + -1.6764 -0.1246 lineto + -1.6195 -0.1518 lineto + -1.5635 -0.1746 lineto + -1.4548 -0.208 lineto + -1.3523 -0.226 lineto + -1.2576 -0.2303 lineto + %end circumferential + -1.2576 -0.2303 lineto + -1.2536 -0.1372 lineto + -1.2388 -0.058 lineto + %middle radial + -1.2388 -0.058 lineto + -1.2121 0.0162 lineto + -1.1777 0.0761 lineto + %end radial + -1.1777 0.0761 lineto + -1.2213 0.1097 lineto + -1.2665 0.1511 lineto + -1.312 0.2006 lineto + -1.3566 0.2584 lineto + %middle circumferential + -1.3566 0.2584 lineto + -1.4023 0.3303 lineto + -1.4437 0.4118 lineto + -1.4795 0.5022 lineto + -1.5079 0.601 lineto + %end circumferential + closepath +currentgray 0.762 setgray fill setgray +% Sector from 1.9635 to 2.3562 (quadrant 1) +newpath + -1.2733 1.6635 moveto + -1.3662 1.7292 lineto + -1.416 1.7631 lineto + -1.4681 1.7977 lineto + -1.5228 1.8331 lineto + -1.5802 1.8691 lineto + -1.6403 1.906 lineto + -1.7034 1.9436 lineto + %middle radial + -1.7034 1.9436 lineto + -1.762 1.9775 lineto + -1.8232 2.012 lineto + -1.8871 2.0471 lineto + -1.9538 2.0828 lineto + -2.0236 2.119 lineto + -2.0966 2.1559 lineto + -2.1729 2.1932 lineto + -2.2527 2.2312 lineto + %end radial + -2.2527 2.2312 lineto + -2.283 2.1635 lineto + -2.311 2.0951 lineto + -2.3365 2.0262 lineto + -2.3597 1.9569 lineto + -2.3804 1.8872 lineto + -2.3986 1.8173 lineto + -2.4145 1.7472 lineto + -2.4278 1.6771 lineto + -2.4388 1.607 lineto + -2.4473 1.5372 lineto + -2.4534 1.4677 lineto + -2.4571 1.3985 lineto + -2.4584 1.3299 lineto + -2.4574 1.2618 lineto + -2.4541 1.1945 lineto + -2.4486 1.128 lineto + %middle circumferential + -2.4486 1.128 lineto + -2.4416 1.0681 lineto + -2.4329 1.0089 lineto + -2.4223 0.9507 lineto + -2.3963 0.8372 lineto + -2.3638 0.7281 lineto + -2.3254 0.6237 lineto + -2.2815 0.5246 lineto + -2.2327 0.431 lineto + -2.1796 0.3433 lineto + -2.1515 0.3018 lineto + %end circumferential + -2.1515 0.3018 lineto + -2.063 0.3606 lineto + -1.978 0.4117 lineto + -1.8965 0.4556 lineto + -1.8185 0.4933 lineto + %middle radial + -1.8185 0.4933 lineto + -1.7347 0.5291 lineto + -1.6551 0.5584 lineto + -1.5795 0.5822 lineto + -1.5079 0.601 lineto + %end radial + -1.5079 0.601 lineto + -1.5199 0.6579 lineto + -1.5291 0.7167 lineto + -1.5354 0.7774 lineto + -1.5385 0.8396 lineto + -1.5385 0.9031 lineto + -1.5351 0.9678 lineto + -1.5282 1.0333 lineto + -1.5178 1.0994 lineto + %middle circumferential + -1.5178 1.0994 lineto + -1.5022 1.1721 lineto + -1.4823 1.245 lineto + -1.4581 1.3175 lineto + -1.4295 1.3893 lineto + -1.3966 1.4602 lineto + -1.3595 1.5297 lineto + -1.3183 1.5975 lineto + -1.2733 1.6635 lineto + %end circumferential + closepath +currentgray 0.7966666666666666 setgray fill setgray +% Sector from 1.5708 to 1.9635 (quadrant 1) +newpath + 0.0 2.3013 moveto + 0.0 2.8971 lineto + %middle radial + 0.0 2.8971 lineto + 0.0 3.6269 lineto + %end radial + 0.0 3.6269 lineto + -0.0873 3.6254 lineto + -0.1751 3.6209 lineto + -0.2633 3.6133 lineto + -0.3518 3.6027 lineto + -0.4404 3.5888 lineto + -0.5289 3.5718 lineto + -0.6173 3.5515 lineto + -0.7054 3.528 lineto + -0.7929 3.5013 lineto + -0.8799 3.4712 lineto + -0.966 3.4379 lineto + -1.0512 3.4013 lineto + -1.1352 3.3615 lineto + -1.218 3.3185 lineto + -1.2993 3.2723 lineto + -1.379 3.223 lineto + %middle circumferential + -1.379 3.223 lineto + -1.4488 3.1763 lineto + -1.517 3.1272 lineto + -1.5836 3.0758 lineto + -1.6485 3.0221 lineto + -1.7114 2.9661 lineto + -1.7724 2.9081 lineto + -1.8313 2.848 lineto + -1.888 2.7859 lineto + -1.9425 2.722 lineto + -1.9945 2.6563 lineto + -2.0441 2.5889 lineto + -2.0912 2.52 lineto + -2.1357 2.4496 lineto + -2.1774 2.378 lineto + -2.2165 2.3051 lineto + -2.2527 2.2312 lineto + %end circumferential + -2.2527 2.2312 lineto + -2.1729 2.1932 lineto + -2.0966 2.1559 lineto + -2.0236 2.119 lineto + -1.9538 2.0828 lineto + -1.8871 2.0471 lineto + -1.8232 2.012 lineto + -1.762 1.9775 lineto + -1.7034 1.9436 lineto + %middle radial + -1.7034 1.9436 lineto + -1.6403 1.906 lineto + -1.5802 1.8691 lineto + -1.5228 1.8331 lineto + -1.4681 1.7977 lineto + -1.416 1.7631 lineto + -1.3662 1.7292 lineto + -1.2733 1.6635 lineto + %end radial + -1.2733 1.6635 lineto + -1.2191 1.7337 lineto + -1.1605 1.8008 lineto + -1.098 1.8645 lineto + -1.0317 1.9245 lineto + -0.962 1.9806 lineto + -0.8893 2.0324 lineto + -0.814 2.0799 lineto + -0.7363 2.1229 lineto + %middle circumferential + -0.7363 2.1229 lineto + -0.6473 2.1654 lineto + -0.5564 2.2022 lineto + -0.4642 2.233 lineto + -0.3712 2.258 lineto + -0.2778 2.2772 lineto + -0.1845 2.2907 lineto + -0.0918 2.2987 lineto + 0.0 2.3013 lineto + %end circumferential + closepath +currentgray 0.8313333333333334 setgray fill setgray +% Sector from 1.1781 to 1.5708 (quadrant 0) +newpath + 1.2733 1.6635 moveto + 1.3662 1.7292 lineto + 1.416 1.7631 lineto + 1.4681 1.7977 lineto + 1.5228 1.8331 lineto + 1.5802 1.8691 lineto + 1.6403 1.906 lineto + 1.7034 1.9436 lineto + %middle radial + 1.7034 1.9436 lineto + 1.762 1.9775 lineto + 1.8232 2.012 lineto + 1.8871 2.0471 lineto + 1.9538 2.0828 lineto + 2.0236 2.119 lineto + 2.0966 2.1559 lineto + 2.1729 2.1932 lineto + 2.2527 2.2312 lineto + %end radial + 2.2527 2.2312 lineto + 2.2208 2.2966 lineto + 2.1861 2.3623 lineto + 2.1487 2.428 lineto + 2.1083 2.4936 lineto + 2.065 2.5591 lineto + 2.0186 2.6242 lineto + 1.9691 2.6889 lineto + 1.9165 2.753 lineto + 1.8607 2.8163 lineto + 1.8017 2.8787 lineto + 1.7395 2.94 lineto + 1.6739 2.9999 lineto + 1.6051 3.0584 lineto + 1.533 3.1152 lineto + 1.4576 3.1701 lineto + 1.379 3.223 lineto + %middle circumferential + 1.379 3.223 lineto + 1.3083 3.267 lineto + 1.2352 3.3091 lineto + 1.1597 3.3492 lineto + 1.082 3.3872 lineto + 1.002 3.4229 lineto + 0.9199 3.4562 lineto + 0.8356 3.4869 lineto + 0.7494 3.515 lineto + 0.6612 3.5402 lineto + 0.5712 3.5625 lineto + 0.4795 3.5817 lineto + 0.3862 3.5977 lineto + 0.2915 3.6103 lineto + 0.1954 3.6194 lineto + 0.0982 3.625 lineto + 0.0 3.6269 lineto + %end circumferential + 0.0 3.6269 lineto + 0.0 2.8971 lineto + %middle radial + 0.0 2.8971 lineto + 0.0 2.3013 lineto + %end radial + 0.0 2.3013 lineto + 0.1024 2.298 lineto + 0.2026 2.2885 lineto + 0.3001 2.2732 lineto + 0.3946 2.2523 lineto + 0.4857 2.2264 lineto + 0.5731 2.1959 lineto + 0.6568 2.1613 lineto + 0.7363 2.1229 lineto + %middle circumferential + 0.7363 2.1229 lineto + 0.823 2.0745 lineto + 0.9041 2.0224 lineto + 0.9795 1.9671 lineto + 1.0492 1.9094 lineto + 1.1133 1.8496 lineto + 1.1719 1.7884 lineto + 1.2252 1.7262 lineto + 1.2733 1.6635 lineto + %end circumferential + closepath +currentgray 0.866 setgray fill setgray +% Sector from 0.7854 to 1.1781 (quadrant 0) +newpath + 1.5079 0.601 moveto + 1.5795 0.5822 lineto + 1.6551 0.5584 lineto + 1.7347 0.5291 lineto + 1.8185 0.4933 lineto + %middle radial + 1.8185 0.4933 lineto + 1.8965 0.4556 lineto + 1.978 0.4117 lineto + 2.063 0.3606 lineto + 2.1515 0.3018 lineto + %end radial + 2.1515 0.3018 lineto + 2.1998 0.3752 lineto + 2.2466 0.4562 lineto + 2.2913 0.5454 lineto + 2.3331 0.6432 lineto + 2.3709 0.7501 lineto + 2.388 0.807 lineto + 2.4037 0.8663 lineto + 2.4177 0.9281 lineto + 2.43 0.9923 lineto + 2.4404 1.0589 lineto + 2.4486 1.128 lineto + %middle circumferential + 2.4486 1.128 lineto + 2.4554 1.216 lineto + 2.4578 1.2767 lineto + 2.4584 1.339 lineto + 2.4569 1.4029 lineto + 2.4533 1.4683 lineto + 2.4475 1.5352 lineto + 2.4393 1.6035 lineto + 2.4285 1.6733 lineto + 2.4151 1.7443 lineto + 2.3988 1.8166 lineto + 2.3796 1.8899 lineto + 2.3573 1.9644 lineto + 2.3317 2.0397 lineto + 2.3028 2.1158 lineto + 2.2703 2.1926 lineto + 2.2527 2.2312 lineto + %end circumferential + 2.2527 2.2312 lineto + 2.1729 2.1932 lineto + 2.0966 2.1559 lineto + 2.0236 2.119 lineto + 1.9538 2.0828 lineto + 1.8871 2.0471 lineto + 1.8232 2.012 lineto + 1.762 1.9775 lineto + 1.7034 1.9436 lineto + %middle radial + 1.7034 1.9436 lineto + 1.6403 1.906 lineto + 1.5802 1.8691 lineto + 1.5228 1.8331 lineto + 1.4681 1.7977 lineto + 1.416 1.7631 lineto + 1.3662 1.7292 lineto + 1.2733 1.6635 lineto + %end radial + 1.2733 1.6635 lineto + 1.3238 1.589 lineto + 1.3678 1.5149 lineto + 1.4057 1.4416 lineto + 1.4378 1.3695 lineto + 1.4647 1.299 lineto + 1.4867 1.2303 lineto + 1.5042 1.1637 lineto + 1.5178 1.0994 lineto + %middle circumferential + 1.5178 1.0994 lineto + 1.5294 1.0239 lineto + 1.5362 0.9522 lineto + 1.5388 0.8842 lineto + 1.5379 0.8202 lineto + 1.5339 0.7599 lineto + 1.5185 0.6504 lineto + 1.5079 0.601 lineto + %end circumferential + closepath +currentgray 0.9006666666666666 setgray fill setgray +% Sector from 0.3927 to 0.7854 (quadrant 0) +newpath + 1.1777 0.0761 moveto + 1.2121 0.0162 lineto + 1.2388 -0.058 lineto + %middle radial + 1.2388 -0.058 lineto + 1.2536 -0.1372 lineto + 1.2576 -0.2303 lineto + %end radial + 1.2576 -0.2303 lineto + 1.2947 -0.2301 lineto + 1.3804 -0.2224 lineto + 1.4837 -0.2005 lineto + 1.5427 -0.1821 lineto + 1.6069 -0.1572 lineto + 1.6764 -0.1246 lineto + %middle circumferential + 1.6764 -0.1246 lineto + 1.7288 -0.0959 lineto + 1.7838 -0.0617 lineto + 1.8413 -0.0215 lineto + 1.9008 0.0257 lineto + 1.9622 0.0806 lineto + 2.0249 0.1442 lineto + 2.0883 0.2176 lineto + 2.1515 0.3018 lineto + %end circumferential + 2.1515 0.3018 lineto + 2.063 0.3606 lineto + 1.978 0.4117 lineto + 1.8965 0.4556 lineto + 1.8185 0.4933 lineto + %middle radial + 1.8185 0.4933 lineto + 1.7347 0.5291 lineto + 1.6551 0.5584 lineto + 1.5795 0.5822 lineto + 1.5079 0.601 lineto + %end radial + 1.5079 0.601 lineto + 1.5004 0.571 lineto + 1.4748 0.4888 lineto + 1.4365 0.3961 lineto + 1.3964 0.3202 lineto + 1.3566 0.2584 lineto + %middle circumferential + 1.3566 0.2584 lineto + 1.3035 0.1907 lineto + 1.2557 0.1405 lineto + 1.1777 0.0761 lineto + %end circumferential + closepath +currentgray 0.9353333333333332 setgray fill setgray +% Sector from 0.0 to 0.3927 (quadrant 0) +newpath + 1.0 0.0 moveto + 0.9771 0.0 lineto + %middle radial + 0.9771 0.0 lineto + 0.9093 0.0 lineto + %end radial + 0.9093 0.0 lineto + 0.9141 -0.0385 lineto + 0.9513 -0.1103 lineto + 0.9959 -0.1524 lineto + %middle circumferential + 0.9959 -0.1524 lineto + 1.0831 -0.199 lineto + 1.1555 -0.2194 lineto + 1.2576 -0.2303 lineto + %end circumferential + 1.2576 -0.2303 lineto + 1.2536 -0.1372 lineto + 1.2388 -0.058 lineto + %middle radial + 1.2388 -0.058 lineto + 1.2121 0.0162 lineto + 1.1777 0.0761 lineto + %end radial + 1.1777 0.0761 lineto + 1.1285 0.0451 lineto + 1.0468 0.0094 lineto + %middle circumferential + 1.0468 0.0094 lineto + 1.0 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 3.0 3.1416 32 0.97 0.45 +% Sector from 6.0868 to 6.2832 (quadrant 3) +newpath + 0.2328 0.607 moveto + 0.1534 0.6302 lineto + %middle radial + 0.1534 0.6302 lineto + 0.072 0.6508 lineto + %end radial + 0.072 0.6508 lineto + 0.0532 0.5632 lineto + 0.0378 0.4779 lineto + 0.0255 0.3945 lineto + 0.0158 0.3128 lineto + %middle circumferential + 0.0158 0.3128 lineto + 0.0088 0.2336 lineto + 0.0039 0.1554 lineto + 0.001 0.0776 lineto + 0.0 0.0 lineto + %end circumferential + 0.0 0.0 lineto + 0.0707 0.0 lineto + %middle radial + 0.0707 0.0 lineto + 0.1411 0.0 lineto + %end radial + 0.1411 0.0 lineto + 0.1424 0.0734 lineto + 0.1463 0.1468 lineto + 0.1529 0.2204 lineto + 0.1622 0.2947 lineto + %middle circumferential + 0.1622 0.2947 lineto + 0.1746 0.371 lineto + 0.1904 0.4483 lineto + 0.2096 0.5269 lineto + 0.2328 0.607 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.8905 to 6.0868 (quadrant 3) +newpath + 0.6272 1.3215 moveto + 0.5807 1.3596 lineto + 0.5319 1.3975 lineto + %middle radial + 0.5319 1.3975 lineto + 0.4819 1.4342 lineto + 0.4297 1.4704 lineto + %end radial + 0.4297 1.4704 lineto + 0.3925 1.4137 lineto + 0.3578 1.3575 lineto + 0.3254 1.3019 lineto + 0.2953 1.2469 lineto + 0.2673 1.1926 lineto + 0.2413 1.1391 lineto + 0.1949 1.0342 lineto + %middle circumferential + 0.1949 1.0342 lineto + 0.156 0.934 lineto + 0.123 0.8367 lineto + 0.0952 0.7424 lineto + 0.072 0.6508 lineto + %end circumferential + 0.072 0.6508 lineto + 0.1534 0.6302 lineto + %middle radial + 0.1534 0.6302 lineto + 0.2328 0.607 lineto + %end radial + 0.2328 0.607 lineto + 0.2607 0.69 lineto + 0.2934 0.7747 lineto + 0.3315 0.8612 lineto + 0.3755 0.9493 lineto + %middle circumferential + 0.3755 0.9493 lineto + 0.4268 1.0405 lineto + 0.4854 1.1331 lineto + 0.552 1.2269 lineto + 0.5885 1.2741 lineto + 0.6272 1.3215 lineto + %end circumferential + closepath +currentgray 0.4667741935483871 setgray fill setgray +% Sector from 5.6941 to 5.8905 (quadrant 3) +newpath + 1.6531 2.0367 moveto + 1.6177 2.1249 lineto + 1.5785 2.2151 lineto + %middle radial + 1.5785 2.2151 lineto + 1.5365 2.305 lineto + 1.4906 2.3966 lineto + %end radial + 1.4906 2.3966 lineto + 1.3942 2.3444 lineto + 1.3021 2.2906 lineto + 1.2145 2.2352 lineto + 1.1311 2.1785 lineto + 1.0518 2.1208 lineto + 0.9767 2.0622 lineto + 0.9055 2.0029 lineto + 0.8382 1.943 lineto + %middle circumferential + 0.8382 1.943 lineto + 0.7757 1.8838 lineto + 0.7167 1.8244 lineto + 0.6611 1.765 lineto + 0.6087 1.7056 lineto + 0.5595 1.6463 lineto + 0.5134 1.5873 lineto + 0.4701 1.5287 lineto + 0.4297 1.4704 lineto + %end circumferential + 0.4297 1.4704 lineto + 0.4819 1.4342 lineto + 0.5319 1.3975 lineto + %middle radial + 0.5319 1.3975 lineto + 0.5807 1.3596 lineto + 0.6272 1.3215 lineto + %end radial + 0.6272 1.3215 lineto + 0.669 1.3697 lineto + 0.7133 1.4179 lineto + 0.7601 1.4661 lineto + 0.8097 1.514 lineto + 0.862 1.5617 lineto + 0.9171 1.609 lineto + 0.9752 1.6558 lineto + 1.0363 1.702 lineto + %middle circumferential + 1.0363 1.702 lineto + 1.1016 1.7482 lineto + 1.1701 1.7935 lineto + 1.242 1.8377 lineto + 1.3172 1.8807 lineto + 1.3959 1.9223 lineto + 1.4781 1.9623 lineto + 1.5639 2.0005 lineto + 1.6531 2.0367 lineto + %end circumferential + closepath +currentgray 0.4835483870967742 setgray fill setgray +% Sector from 5.4978 to 5.6941 (quadrant 3) +newpath + 3.6059 2.1507 moveto + 3.6216 2.2222 lineto + 3.6366 2.2952 lineto + 3.6511 2.3698 lineto + 3.6648 2.446 lineto + %middle radial + 3.6648 2.446 lineto + 3.6776 2.522 lineto + 3.6897 2.5996 lineto + 3.701 2.6788 lineto + 3.7115 2.7596 lineto + %end radial + 3.7115 2.7596 lineto + 3.6248 2.7695 lineto + 3.539 2.7775 lineto + 3.454 2.7838 lineto + 3.3701 2.7883 lineto + 3.287 2.7912 lineto + 3.205 2.7923 lineto + 3.124 2.7919 lineto + 3.0441 2.7899 lineto + 2.9652 2.7864 lineto + 2.8874 2.7814 lineto + 2.8108 2.775 lineto + 2.7352 2.7673 lineto + 2.6608 2.7582 lineto + 2.5876 2.7478 lineto + 2.5155 2.7361 lineto + 2.4446 2.7233 lineto + %middle circumferential + 2.4446 2.7233 lineto + 2.3762 2.7095 lineto + 2.3089 2.6947 lineto + 2.2427 2.6789 lineto + 2.1777 2.662 lineto + 2.114 2.6442 lineto + 2.0513 2.6255 lineto + 1.9899 2.6059 lineto + 1.9297 2.5855 lineto + 1.8707 2.5643 lineto + 1.8128 2.5423 lineto + 1.7562 2.5196 lineto + 1.7007 2.4962 lineto + 1.6464 2.4722 lineto + 1.5414 2.4223 lineto + 1.4906 2.3966 lineto + %end circumferential + 1.4906 2.3966 lineto + 1.5365 2.305 lineto + 1.5785 2.2151 lineto + %middle radial + 1.5785 2.2151 lineto + 1.6177 2.1249 lineto + 1.6531 2.0367 lineto + %end radial + 1.6531 2.0367 lineto + 1.6999 2.0543 lineto + 1.7963 2.0877 lineto + 1.8964 2.1185 lineto + 2.0002 2.1465 lineto + 2.1077 2.1714 lineto + 2.2189 2.193 lineto + 2.3337 2.2111 lineto + 2.3924 2.2187 lineto + 2.452 2.2253 lineto + 2.5125 2.2309 lineto + %middle circumferential + 2.5125 2.2309 lineto + 2.5749 2.2355 lineto + 2.6382 2.239 lineto + 2.7023 2.2413 lineto + 2.7673 2.2425 lineto + 2.8331 2.2424 lineto + 2.8998 2.2411 lineto + 2.9672 2.2384 lineto + 3.0354 2.2344 lineto + 3.1043 2.2291 lineto + 3.174 2.2224 lineto + 3.2444 2.2142 lineto + 3.3154 2.2046 lineto + 3.3871 2.1934 lineto + 3.4595 2.1807 lineto + 3.5324 2.1665 lineto + 3.6059 2.1507 lineto + %end circumferential + closepath +currentgray 0.5003225806451613 setgray fill setgray +% Sector from 5.3014 to 5.4978 (quadrant 3) +newpath + 6.0705 0.5761 moveto + 6.1525 0.6439 lineto + 6.2354 0.714 lineto + 6.3194 0.7863 lineto + 6.378103166302659 0.861 lineto + %middle radial + 6.378103166302659 0.861 lineto + 6.378103166302659 1.1772 lineto + %end radial + 6.378103166302659 1.1772 lineto + 6.2024 1.7403 lineto + 6.0937 1.7602 lineto + 6.0456 1.7965 lineto + 5.9973 1.832 lineto + 5.9489 1.8669 lineto + 5.9004 1.901 lineto + 5.8517 1.9344 lineto + 5.8029 1.9671 lineto + 5.7051 2.0304 lineto + 5.607 2.091 lineto + 5.5087 2.1488 lineto + 5.4102 2.2038 lineto + 5.3117 2.2561 lineto + 5.2131 2.3057 lineto + %middle circumferential + 5.2131 2.3057 lineto + 5.1163 2.3518 lineto + 5.0197 2.3954 lineto + 4.9233 2.4365 lineto + 4.8271 2.4752 lineto + 4.7312 2.5114 lineto + 4.6356 2.5451 lineto + 4.5405 2.5766 lineto + 4.4459 2.6057 lineto + 4.3517 2.6325 lineto + 4.2582 2.657 lineto + 4.1653 2.6794 lineto + 4.073 2.6996 lineto + 3.9815 2.7177 lineto + 3.8907 2.7337 lineto + 3.8007 2.7476 lineto + 3.7115 2.7596 lineto + %end circumferential + 3.7115 2.7596 lineto + 3.701 2.6788 lineto + 3.6897 2.5996 lineto + 3.6776 2.522 lineto + 3.6648 2.446 lineto + %middle radial + 3.6648 2.446 lineto + 3.6511 2.3698 lineto + 3.6366 2.2952 lineto + 3.6216 2.2222 lineto + 3.6059 2.1507 lineto + %end radial + 3.6059 2.1507 lineto + 3.6812 2.1329 lineto + 3.7571 2.1134 lineto + 3.8335 2.0921 lineto + 3.9103 2.069 lineto + 3.9875 2.0441 lineto + 4.0651 2.0174 lineto + 4.143 1.9888 lineto + 4.2211 1.9583 lineto + 4.2996 1.9258 lineto + 4.3782 1.8914 lineto + 4.4569 1.8551 lineto + 4.5358 1.8166 lineto + 4.6147 1.7762 lineto + 4.6936 1.7337 lineto + 4.7725 1.6892 lineto + 4.8512 1.6425 lineto + %middle circumferential + 4.8512 1.6425 lineto + 4.9312 1.5928 lineto + 5.011 1.5409 lineto + 5.0906 1.4868 lineto + 5.1698 1.4304 lineto + 5.2486 1.3718 lineto + 5.3269 1.3109 lineto + 5.4047 1.2477 lineto + 5.4819 1.1822 lineto + 5.5585 1.1145 lineto + 5.6343 1.0445 lineto + 5.7094 0.9721 lineto + 5.7836 0.8975 lineto + 5.8569 0.8206 lineto + 5.9292 0.7414 lineto + 6.0004 0.6599 lineto + 6.0705 0.5761 lineto + %end circumferential + closepath +currentgray 0.5170967741935484 setgray fill setgray +% Sector from 5.1051 to 5.3014 (quadrant 3) +newpath + 6.378103166302659 -3.2662 moveto + 6.378103166302659 -3.2773 lineto + %middle radial + 6.378103166302659 -3.2773 lineto + 6.378103166302659 -3.272 lineto + %end radial + 6.378103166302659 -3.272 lineto + 6.378103166302659 -0.7137 lineto + %middle circumferential + 6.378103166302659 -0.7137 lineto + 6.378103166302659 1.1772 lineto + %end circumferential + 6.378103166302659 1.1772 lineto + 6.378103166302659 0.861 lineto + %middle radial + 6.378103166302659 0.861 lineto + 6.3194 0.7863 lineto + 6.2354 0.714 lineto + 6.1525 0.6439 lineto + 6.0705 0.5761 lineto + %end radial + 6.0705 0.5761 lineto + 6.1058 0.5326 lineto + 6.1754 0.4438 lineto + 6.2436 0.3526 lineto + 6.3104 0.2591 lineto + 6.3757 0.1634 lineto + 6.378103166302659 -1.0936 lineto + %middle circumferential + 6.378103166302659 -1.0936 lineto + 6.378103166302659 -3.2662 lineto + %end circumferential + closepath +currentgray 0.5338709677419355 setgray fill setgray +% Sector from 4.9087 to 5.1051 (quadrant 3) +currentgray 0.5506451612903226 setgray fill setgray +% Sector from 4.7124 to 4.9087 (quadrant 3) +currentgray 0.5674193548387096 setgray fill setgray +% Sector from 4.516 to 4.7124 (quadrant 2) +currentgray 0.5841935483870968 setgray fill setgray +% Sector from 4.3197 to 4.516 (quadrant 2) +currentgray 0.600967741935484 setgray fill setgray +% Sector from 4.1233 to 4.3197 (quadrant 2) +newpath + -6.0705 0.5761 moveto + -6.1525 0.6439 lineto + -6.2354 0.714 lineto + -6.3194 0.7863 lineto + -6.378103166302659 0.861 lineto + %middle radial + -6.378103166302659 0.861 lineto + -6.378103166302659 1.1772 lineto + %end radial + -6.378103166302659 1.1772 lineto + -6.378103166302659 -0.7137 lineto + %middle circumferential + -6.378103166302659 -0.7137 lineto + -6.378103166302659 -3.272 lineto + %end circumferential + -6.378103166302659 -3.272 lineto + -6.378103166302659 -3.2773 lineto + %middle radial + -6.378103166302659 -3.2773 lineto + -6.378103166302659 -3.2662 lineto + %end radial + -6.378103166302659 -3.2662 lineto + -6.378103166302659 -1.0936 lineto + %middle circumferential + -6.378103166302659 -1.0936 lineto + -6.3713 0.17 lineto + -6.3066 0.2646 lineto + -6.2406 0.3567 lineto + -6.1734 0.4463 lineto + -6.1051 0.5335 lineto + -6.0705 0.5761 lineto + %end circumferential + closepath +currentgray 0.6177419354838709 setgray fill setgray +% Sector from 3.927 to 4.1233 (quadrant 2) +newpath + -3.6059 2.1507 moveto + -3.6216 2.2222 lineto + -3.6366 2.2952 lineto + -3.6511 2.3698 lineto + -3.6648 2.446 lineto + %middle radial + -3.6648 2.446 lineto + -3.6776 2.522 lineto + -3.6897 2.5996 lineto + -3.701 2.6788 lineto + -3.7115 2.7596 lineto + %end radial + -3.7115 2.7596 lineto + -3.7989 2.7479 lineto + -3.8873 2.7342 lineto + -3.9768 2.7185 lineto + -4.0672 2.7008 lineto + -4.1585 2.6809 lineto + -4.2508 2.6589 lineto + -4.3439 2.6346 lineto + -4.4378 2.608 lineto + -4.5325 2.5791 lineto + -4.628 2.5478 lineto + -4.7241 2.5139 lineto + -4.8209 2.4776 lineto + -4.9182 2.4386 lineto + -5.0161 2.397 lineto + -5.1144 2.3528 lineto + -5.2131 2.3057 lineto + %middle circumferential + -5.2131 2.3057 lineto + -5.3097 2.2571 lineto + -5.4066 2.2058 lineto + -5.5036 2.1517 lineto + -5.6008 2.0947 lineto + -5.698 2.0349 lineto + -5.7952 1.9723 lineto + -5.868 1.9233 lineto + -5.9165 1.8897 lineto + -5.9649 1.8554 lineto + -6.0133 1.8204 lineto + -6.0616 1.7845 lineto + -6.1098 1.7479 lineto + -6.2069 1.7242 lineto + -6.378103166302659 1.1772 lineto + %end circumferential + -6.378103166302659 1.1772 lineto + -6.378103166302659 0.861 lineto + %middle radial + -6.378103166302659 0.861 lineto + -6.3194 0.7863 lineto + -6.2354 0.714 lineto + -6.1525 0.6439 lineto + -6.0705 0.5761 lineto + %end radial + -6.0705 0.5761 lineto + -5.999 0.6616 lineto + -5.9265 0.7444 lineto + -5.8531 0.8247 lineto + -5.7788 0.9024 lineto + -5.7039 0.9775 lineto + -5.6283 1.0501 lineto + -5.5521 1.1203 lineto + -5.4754 1.1879 lineto + -5.3982 1.2531 lineto + -5.3207 1.3158 lineto + -5.2429 1.3761 lineto + -5.1648 1.434 lineto + -5.0865 1.4896 lineto + -5.0081 1.5428 lineto + -4.9297 1.5938 lineto + -4.8512 1.6425 lineto + %middle circumferential + -4.8512 1.6425 lineto + -4.7709 1.6901 lineto + -4.6906 1.7354 lineto + -4.6106 1.7784 lineto + -4.5307 1.8192 lineto + -4.4511 1.8578 lineto + -4.3719 1.8943 lineto + -4.2929 1.9287 lineto + -4.2144 1.961 lineto + -4.1364 1.9913 lineto + -4.0588 2.0196 lineto + -3.9818 2.046 lineto + -3.9054 2.0705 lineto + -3.8295 2.0932 lineto + -3.7543 2.1141 lineto + -3.6797 2.1332 lineto + -3.6059 2.1507 lineto + %end circumferential + closepath +currentgray 0.6345161290322581 setgray fill setgray +% Sector from 3.7306 to 3.927 (quadrant 2) +newpath + -1.6531 2.0367 moveto + -1.6177 2.1249 lineto + -1.5785 2.2151 lineto + %middle radial + -1.5785 2.2151 lineto + -1.5365 2.305 lineto + -1.4906 2.3966 lineto + %end radial + -1.4906 2.3966 lineto + -1.5403 2.4218 lineto + -1.6436 2.4709 lineto + -1.6972 2.4947 lineto + -1.752 2.5179 lineto + -1.8082 2.5405 lineto + -1.8657 2.5624 lineto + -1.9245 2.5837 lineto + -1.9847 2.6042 lineto + -2.0463 2.6239 lineto + -2.1092 2.6428 lineto + -2.1735 2.6609 lineto + -2.2392 2.678 lineto + -2.3063 2.6941 lineto + -2.3748 2.7092 lineto + -2.4446 2.7233 lineto + %middle circumferential + -2.4446 2.7233 lineto + -2.5141 2.7359 lineto + -2.5849 2.7473 lineto + -2.657 2.7576 lineto + -2.7304 2.7667 lineto + -2.8052 2.7745 lineto + -2.8812 2.781 lineto + -2.9586 2.7861 lineto + -3.0373 2.7897 lineto + -3.1172 2.7918 lineto + -3.1984 2.7924 lineto + -3.2809 2.7913 lineto + -3.3646 2.7886 lineto + -3.4496 2.7841 lineto + -3.5357 2.7778 lineto + -3.6231 2.7697 lineto + -3.7115 2.7596 lineto + %end circumferential + -3.7115 2.7596 lineto + -3.701 2.6788 lineto + -3.6897 2.5996 lineto + -3.6776 2.522 lineto + -3.6648 2.446 lineto + %middle radial + -3.6648 2.446 lineto + -3.6511 2.3698 lineto + -3.6366 2.2952 lineto + -3.6216 2.2222 lineto + -3.6059 2.1507 lineto + %end radial + -3.6059 2.1507 lineto + -3.5309 2.1668 lineto + -3.4567 2.1813 lineto + -3.3833 2.194 lineto + -3.3108 2.2052 lineto + -3.2391 2.2149 lineto + -3.1684 2.223 lineto + -3.0985 2.2296 lineto + -3.0295 2.2348 lineto + -2.9615 2.2387 lineto + -2.8944 2.2412 lineto + -2.8283 2.2424 lineto + -2.7631 2.2424 lineto + -2.699 2.2412 lineto + -2.6358 2.2389 lineto + -2.5736 2.2354 lineto + -2.5125 2.2309 lineto + %middle circumferential + -2.5125 2.2309 lineto + -2.4508 2.2252 lineto + -2.3901 2.2184 lineto + -2.3306 2.2106 lineto + -2.2721 2.2019 lineto + -2.1583 2.1818 lineto + -2.0488 2.1583 lineto + -1.9436 2.1317 lineto + -1.8427 2.1024 lineto + -1.7458 2.0707 lineto + -1.6531 2.0367 lineto + %end circumferential + closepath +currentgray 0.6512903225806452 setgray fill setgray +% Sector from 3.5343 to 3.7306 (quadrant 2) +newpath + -0.6272 1.3215 moveto + -0.5807 1.3596 lineto + -0.5319 1.3975 lineto + %middle radial + -0.5319 1.3975 lineto + -0.4819 1.4342 lineto + -0.4297 1.4704 lineto + %end radial + -0.4297 1.4704 lineto + -0.4693 1.5275 lineto + -0.5119 1.5854 lineto + -0.5576 1.6438 lineto + -0.6065 1.7029 lineto + -0.6588 1.7625 lineto + -0.7148 1.8225 lineto + -0.7745 1.8827 lineto + -0.8382 1.943 lineto + %middle circumferential + -0.8382 1.943 lineto + -0.9042 2.0017 lineto + -0.9743 2.0602 lineto + -1.0487 2.1184 lineto + -1.1275 2.176 lineto + -1.211 2.2329 lineto + -1.2992 2.2888 lineto + -1.3923 2.3434 lineto + -1.4906 2.3966 lineto + %end circumferential + -1.4906 2.3966 lineto + -1.5365 2.305 lineto + -1.5785 2.2151 lineto + %middle radial + -1.5785 2.2151 lineto + -1.6177 2.1249 lineto + -1.6531 2.0367 lineto + %end radial + -1.6531 2.0367 lineto + -1.5622 1.9997 lineto + -1.4754 1.961 lineto + -1.3926 1.9206 lineto + -1.3139 1.8788 lineto + -1.239 1.8359 lineto + -1.1678 1.792 lineto + -1.1003 1.7473 lineto + -1.0363 1.702 lineto + %middle circumferential + -1.0363 1.702 lineto + -0.974 1.6549 lineto + -0.9152 1.6074 lineto + -0.8597 1.5597 lineto + -0.8074 1.5119 lineto + -0.7581 1.4641 lineto + -0.7118 1.4163 lineto + -0.6682 1.3688 lineto + -0.6272 1.3215 lineto + %end circumferential + closepath +currentgray 0.6680645161290323 setgray fill setgray +% Sector from 3.3379 to 3.5343 (quadrant 2) +newpath + -0.2328 0.607 moveto + -0.1534 0.6302 lineto + %middle radial + -0.1534 0.6302 lineto + -0.072 0.6508 lineto + %end radial + -0.072 0.6508 lineto + -0.0948 0.7408 lineto + -0.1223 0.8346 lineto + -0.1554 0.9323 lineto + -0.1949 1.0342 lineto + %middle circumferential + -0.1949 1.0342 lineto + -0.2405 1.1373 lineto + -0.2661 1.1904 lineto + -0.294 1.2445 lineto + -0.3241 1.2996 lineto + -0.3567 1.3556 lineto + -0.3918 1.4126 lineto + -0.4297 1.4704 lineto + %end circumferential + -0.4297 1.4704 lineto + -0.4819 1.4342 lineto + -0.5319 1.3975 lineto + %middle radial + -0.5319 1.3975 lineto + -0.5807 1.3596 lineto + -0.6272 1.3215 lineto + %end radial + -0.6272 1.3215 lineto + -0.6071 1.2973 lineto + -0.5689 1.2492 lineto + -0.5332 1.2016 lineto + -0.484 1.1311 lineto + -0.4259 1.039 lineto + -0.3755 0.9493 lineto + %middle circumferential + -0.3755 0.9493 lineto + -0.3308 0.8597 lineto + -0.2926 0.7728 lineto + -0.2602 0.6886 lineto + -0.2328 0.607 lineto + %end circumferential + closepath +currentgray 0.6848387096774193 setgray fill setgray +% Sector from 3.1416 to 3.3379 (quadrant 2) +newpath + -0.1411 0.0 moveto + -0.0707 0.0 lineto + %middle radial + -0.0707 0.0 lineto + 0.0 0.0 lineto + %end radial + 0.0 0.0 lineto + -9.0E-4 0.0763 lineto + -0.0038 0.1536 lineto + -0.0087 0.2323 lineto + -0.0158 0.3128 lineto + %middle circumferential + -0.0158 0.3128 lineto + -0.0253 0.3931 lineto + -0.0375 0.4759 lineto + -0.0529 0.5617 lineto + -0.072 0.6508 lineto + %end circumferential + -0.072 0.6508 lineto + -0.1534 0.6302 lineto + %middle radial + -0.1534 0.6302 lineto + -0.2328 0.607 lineto + %end radial + -0.2328 0.607 lineto + -0.2093 0.5256 lineto + -0.19 0.4465 lineto + -0.1744 0.3696 lineto + -0.1622 0.2947 lineto + %middle circumferential + -0.1622 0.2947 lineto + -0.1527 0.2191 lineto + -0.1462 0.145 lineto + -0.1424 0.0721 lineto + -0.1411 0.0 lineto + %end circumferential + closepath +currentgray 0.7016129032258065 setgray fill setgray +% Sector from 2.9452 to 3.1416 (quadrant 1) +newpath + -0.2328 -0.607 moveto + -0.1534 -0.6302 lineto + %middle radial + -0.1534 -0.6302 lineto + -0.072 -0.6508 lineto + %end radial + -0.072 -0.6508 lineto + -0.0533 -0.5638 lineto + -0.0379 -0.4786 lineto + -0.0255 -0.395 lineto + -0.0158 -0.3128 lineto + %middle circumferential + -0.0158 -0.3128 lineto + -0.0088 -0.2341 lineto + -0.0039 -0.156 lineto + -0.001 -0.0781 lineto + 0.0 0.0 lineto + %end circumferential + 0.0 0.0 lineto + -0.0707 0.0 lineto + %middle radial + -0.0707 0.0 lineto + -0.1411 0.0 lineto + %end radial + -0.1411 0.0 lineto + -0.1424 -0.0738 lineto + -0.1463 -0.1473 lineto + -0.1529 -0.2209 lineto + -0.1622 -0.2947 lineto + %middle circumferential + -0.1622 -0.2947 lineto + -0.1747 -0.3714 lineto + -0.1905 -0.449 lineto + -0.2098 -0.5274 lineto + -0.2328 -0.607 lineto + %end circumferential + closepath +currentgray 0.7183870967741936 setgray fill setgray +% Sector from 2.7489 to 2.9452 (quadrant 1) +newpath + -0.6272 -1.3215 moveto + -0.5807 -1.3596 lineto + -0.5319 -1.3975 lineto + %middle radial + -0.5319 -1.3975 lineto + -0.4819 -1.4342 lineto + -0.4297 -1.4704 lineto + %end radial + -0.4297 -1.4704 lineto + -0.3928 -1.4141 lineto + -0.3583 -1.3583 lineto + -0.326 -1.3028 lineto + -0.2958 -1.2479 lineto + -0.2677 -1.1936 lineto + -0.2416 -1.1398 lineto + -0.1949 -1.0342 lineto + %middle circumferential + -0.1949 -1.0342 lineto + -0.1563 -0.9346 lineto + -0.1233 -0.8376 lineto + -0.0954 -0.743 lineto + -0.072 -0.6508 lineto + %end circumferential + -0.072 -0.6508 lineto + -0.1534 -0.6302 lineto + %middle radial + -0.1534 -0.6302 lineto + -0.2328 -0.607 lineto + %end radial + -0.2328 -0.607 lineto + -0.2609 -0.6906 lineto + -0.2937 -0.7755 lineto + -0.3318 -0.8617 lineto + -0.3755 -0.9493 lineto + %middle circumferential + -0.3755 -0.9493 lineto + -0.4272 -1.0411 lineto + -0.486 -1.134 lineto + -0.5525 -1.2276 lineto + -0.5888 -1.2745 lineto + -0.6272 -1.3215 lineto + %end circumferential + closepath +currentgray 0.7351612903225806 setgray fill setgray +% Sector from 2.5525 to 2.7489 (quadrant 1) +newpath + -1.6531 -2.0367 moveto + -1.6177 -2.1249 lineto + -1.5785 -2.2151 lineto + %middle radial + -1.5785 -2.2151 lineto + -1.5365 -2.305 lineto + -1.4906 -2.3966 lineto + %end radial + -1.4906 -2.3966 lineto + -1.395 -2.3449 lineto + -1.3035 -2.2914 lineto + -1.2161 -2.2363 lineto + -1.1327 -2.1797 lineto + -1.0533 -2.1219 lineto + -0.9778 -2.0631 lineto + -0.9061 -2.0034 lineto + -0.8382 -1.943 lineto + %middle circumferential + -0.8382 -1.943 lineto + -0.7762 -1.8843 lineto + -0.7175 -1.8253 lineto + -0.662 -1.7661 lineto + -0.6097 -1.7067 lineto + -0.5604 -1.6474 lineto + -0.514 -1.5882 lineto + -0.4705 -1.5292 lineto + -0.4297 -1.4704 lineto + %end circumferential + -0.4297 -1.4704 lineto + -0.4819 -1.4342 lineto + -0.5319 -1.3975 lineto + %middle radial + -0.5319 -1.3975 lineto + -0.5807 -1.3596 lineto + -0.6272 -1.3215 lineto + %end radial + -0.6272 -1.3215 lineto + -0.6693 -1.3701 lineto + -0.7139 -1.4186 lineto + -0.761 -1.4669 lineto + -0.8107 -1.5149 lineto + -0.8629 -1.5626 lineto + -0.9179 -1.6097 lineto + -0.9757 -1.6562 lineto + -1.0363 -1.702 lineto + %middle circumferential + -1.0363 -1.702 lineto + -1.1022 -1.7486 lineto + -1.1712 -1.7942 lineto + -1.2434 -1.8386 lineto + -1.3188 -1.8816 lineto + -1.3975 -1.9231 lineto + -1.4794 -1.9629 lineto + -1.5646 -2.0008 lineto + -1.6531 -2.0367 lineto + %end circumferential + closepath +currentgray 0.7519354838709679 setgray fill setgray +% Sector from 2.3562 to 2.5525 (quadrant 1) +newpath + -3.6059 -2.1507 moveto + -3.6216 -2.2222 lineto + -3.6366 -2.2952 lineto + -3.6511 -2.3698 lineto + -3.6648 -2.446 lineto + %middle radial + -3.6648 -2.446 lineto + -3.6776 -2.522 lineto + -3.6897 -2.5996 lineto + -3.701 -2.6788 lineto + -3.7115 -2.7596 lineto + %end radial + -3.7115 -2.7596 lineto + -3.6258 -2.7694 lineto + -3.5407 -2.7774 lineto + -3.4564 -2.7837 lineto + -3.373 -2.7882 lineto + -3.2903 -2.7911 lineto + -3.2086 -2.7923 lineto + -3.1277 -2.792 lineto + -3.0478 -2.79 lineto + -2.9688 -2.7866 lineto + -2.8908 -2.7817 lineto + -2.8138 -2.7753 lineto + -2.7378 -2.7676 lineto + -2.6629 -2.7584 lineto + -2.5891 -2.748 lineto + -2.5163 -2.7362 lineto + -2.4446 -2.7233 lineto + %middle circumferential + -2.4446 -2.7233 lineto + -2.3769 -2.7097 lineto + -2.3101 -2.695 lineto + -2.2445 -2.6793 lineto + -2.1798 -2.6626 lineto + -2.1163 -2.6449 lineto + -2.0539 -2.6263 lineto + -1.9925 -2.6068 lineto + -1.9323 -2.5864 lineto + -1.8732 -2.5652 lineto + -1.8152 -2.5432 lineto + -1.7583 -2.5205 lineto + -1.7025 -2.497 lineto + -1.6478 -2.4728 lineto + -1.5943 -2.448 lineto + -1.4906 -2.3966 lineto + %end circumferential + -1.4906 -2.3966 lineto + -1.5365 -2.305 lineto + -1.5785 -2.2151 lineto + %middle radial + -1.5785 -2.2151 lineto + -1.6177 -2.1249 lineto + -1.6531 -2.0367 lineto + %end radial + -1.6531 -2.0367 lineto + -1.7004 -2.0545 lineto + -1.7976 -2.0881 lineto + -1.8983 -2.1191 lineto + -2.0025 -2.1471 lineto + -2.1101 -2.1719 lineto + -2.221 -2.1934 lineto + -2.3352 -2.2113 lineto + -2.3935 -2.2188 lineto + -2.4526 -2.2254 lineto + -2.5125 -2.2309 lineto + %middle circumferential + -2.5125 -2.2309 lineto + -2.5756 -2.2356 lineto + -2.6395 -2.2391 lineto + -2.7041 -2.2414 lineto + -2.7696 -2.2425 lineto + -2.8358 -2.2424 lineto + -2.9027 -2.241 lineto + -2.9703 -2.2383 lineto + -3.0386 -2.2342 lineto + -3.1075 -2.2288 lineto + -3.177 -2.222 lineto + -3.2472 -2.2138 lineto + -3.3179 -2.2042 lineto + -3.3892 -2.1931 lineto + -3.4609 -2.1805 lineto + -3.5332 -2.1663 lineto + -3.6059 -2.1507 lineto + %end circumferential + closepath +currentgray 0.7687096774193548 setgray fill setgray +% Sector from 2.1598 to 2.3562 (quadrant 1) +newpath + -6.0705 -0.5761 moveto + -6.1525 -0.6439 lineto + -6.2354 -0.714 lineto + -6.3194 -0.7863 lineto + -6.378103166302659 -0.861 lineto + %middle radial + -6.378103166302659 -0.861 lineto + -6.378103166302659 -1.1772 lineto + %end radial + -6.378103166302659 -1.1772 lineto + -6.2168 -1.688 lineto + -6.1226 -1.738 lineto + -6.0747 -1.7747 lineto + -6.0265 -1.8106 lineto + -5.9782 -1.8459 lineto + -5.9297 -1.8805 lineto + -5.881 -1.9144 lineto + -5.8322 -1.9476 lineto + -5.7832 -1.9801 lineto + -5.7095 -2.0277 lineto + -5.6109 -2.0887 lineto + -5.5118 -2.147 lineto + -5.4125 -2.2026 lineto + -5.3129 -2.2555 lineto + -5.2131 -2.3057 lineto + %middle circumferential + -5.2131 -2.3057 lineto + -5.1174 -2.3513 lineto + -5.0218 -2.3945 lineto + -4.9261 -2.4354 lineto + -4.8306 -2.4738 lineto + -4.7352 -2.5099 lineto + -4.64 -2.5436 lineto + -4.5451 -2.5751 lineto + -4.4505 -2.6043 lineto + -4.3563 -2.6312 lineto + -4.2625 -2.656 lineto + -4.1692 -2.6785 lineto + -4.0764 -2.6989 lineto + -3.9842 -2.7172 lineto + -3.8926 -2.7333 lineto + -3.8017 -2.7475 lineto + -3.7115 -2.7596 lineto + %end circumferential + -3.7115 -2.7596 lineto + -3.701 -2.6788 lineto + -3.6897 -2.5996 lineto + -3.6776 -2.522 lineto + -3.6648 -2.446 lineto + %middle radial + -3.6648 -2.446 lineto + -3.6511 -2.3698 lineto + -3.6366 -2.2952 lineto + -3.6216 -2.2222 lineto + -3.6059 -2.1507 lineto + %end radial + -3.6059 -2.1507 lineto + -3.6821 -2.1327 lineto + -3.7587 -2.1129 lineto + -3.8358 -2.0914 lineto + -3.9131 -2.0681 lineto + -3.9907 -2.043 lineto + -4.0686 -2.0161 lineto + -4.1467 -1.9874 lineto + -4.225 -1.9567 lineto + -4.3034 -1.9242 lineto + -4.3818 -1.8898 lineto + -4.4603 -1.8535 lineto + -4.5387 -1.8152 lineto + -4.617 -1.775 lineto + -4.6953 -1.7328 lineto + -4.7734 -1.6886 lineto + -4.8512 -1.6425 lineto + %middle circumferential + -4.8512 -1.6425 lineto + -4.9322 -1.5922 lineto + -5.0129 -1.5397 lineto + -5.0931 -1.485 lineto + -5.1729 -1.4281 lineto + -5.2521 -1.3691 lineto + -5.3307 -1.3078 lineto + -5.4087 -1.2444 lineto + -5.4859 -1.1788 lineto + -5.5624 -1.111 lineto + -5.638 -1.041 lineto + -5.7127 -0.9688 lineto + -5.7865 -0.8945 lineto + -5.8592 -0.8181 lineto + -5.9308 -0.7396 lineto + -6.0013 -0.6589 lineto + -6.0705 -0.5761 lineto + %end circumferential + closepath +currentgray 0.7854838709677419 setgray fill setgray +% Sector from 1.9635 to 2.1598 (quadrant 1) +newpath + -6.378103166302659 3.2662 moveto + -6.378103166302659 3.2773 lineto + %middle radial + -6.378103166302659 3.2773 lineto + -6.378103166302659 3.272 lineto + %end radial + -6.378103166302659 3.272 lineto + -6.378103166302659 0.7137 lineto + %middle circumferential + -6.378103166302659 0.7137 lineto + -6.378103166302659 -1.1772 lineto + %end circumferential + -6.378103166302659 -1.1772 lineto + -6.378103166302659 -0.861 lineto + %middle radial + -6.378103166302659 -0.861 lineto + -6.3194 -0.7863 lineto + -6.2354 -0.714 lineto + -6.1525 -0.6439 lineto + -6.0705 -0.5761 lineto + %end radial + -6.0705 -0.5761 lineto + -6.1416 -0.4873 lineto + -6.2113 -0.3963 lineto + -6.2794 -0.303 lineto + -6.3459 -0.2075 lineto + -6.378103166302659 1.0936 lineto + %middle circumferential + -6.378103166302659 1.0936 lineto + -6.378103166302659 3.2662 lineto + %end circumferential + closepath +currentgray 0.802258064516129 setgray fill setgray +% Sector from 1.7671 to 1.9635 (quadrant 1) +currentgray 0.8190322580645162 setgray fill setgray +% Sector from 1.5708 to 1.7671 (quadrant 1) +currentgray 0.8358064516129032 setgray fill setgray +% Sector from 1.3744 to 1.5708 (quadrant 0) +currentgray 0.8525806451612903 setgray fill setgray +% Sector from 1.1781 to 1.3744 (quadrant 0) +currentgray 0.8693548387096775 setgray fill setgray +% Sector from 0.9817 to 1.1781 (quadrant 0) +newpath + 6.0705 -0.5761 moveto + 6.1525 -0.6439 lineto + 6.2354 -0.714 lineto + 6.3194 -0.7863 lineto + 6.378103166302659 -0.861 lineto + %middle radial + 6.378103166302659 -0.861 lineto + 6.378103166302659 -1.1772 lineto + %end radial + 6.378103166302659 -1.1772 lineto + 6.378103166302659 0.7137 lineto + %middle circumferential + 6.378103166302659 0.7137 lineto + 6.378103166302659 3.272 lineto + %end circumferential + 6.378103166302659 3.272 lineto + 6.378103166302659 3.2773 lineto + %middle radial + 6.378103166302659 3.2773 lineto + 6.378103166302659 3.2662 lineto + %end radial + 6.378103166302659 3.2662 lineto + 6.378103166302659 1.0936 lineto + %middle circumferential + 6.378103166302659 1.0936 lineto + 6.3639 -0.181 lineto + 6.3002 -0.2737 lineto + 6.2356 -0.3635 lineto + 6.1701 -0.4506 lineto + 6.1039 -0.535 lineto + 6.0705 -0.5761 lineto + %end circumferential + closepath +currentgray 0.8861290322580645 setgray fill setgray +% Sector from 0.7854 to 0.9817 (quadrant 0) +newpath + 3.6059 -2.1507 moveto + 3.6216 -2.2222 lineto + 3.6366 -2.2952 lineto + 3.6511 -2.3698 lineto + 3.6648 -2.446 lineto + %middle radial + 3.6648 -2.446 lineto + 3.6776 -2.522 lineto + 3.6897 -2.5996 lineto + 3.701 -2.6788 lineto + 3.7115 -2.7596 lineto + %end radial + 3.7115 -2.7596 lineto + 3.7951 -2.7484 lineto + 3.8801 -2.7354 lineto + 3.9666 -2.7204 lineto + 4.0545 -2.7034 lineto + 4.1439 -2.6843 lineto + 4.2346 -2.6629 lineto + 4.3268 -2.6392 lineto + 4.4203 -2.6132 lineto + 4.5151 -2.5846 lineto + 4.6112 -2.5534 lineto + 4.7086 -2.5195 lineto + 4.8073 -2.4828 lineto + 4.9071 -2.4432 lineto + 5.008 -2.4006 lineto + 5.11 -2.3548 lineto + 5.2131 -2.3057 lineto + %middle circumferential + 5.2131 -2.3057 lineto + 5.3061 -2.259 lineto + 5.3997 -2.2095 lineto + 5.4941 -2.1571 lineto + 5.589 -2.1018 lineto + 5.6845 -2.0434 lineto + 5.7804 -1.982 lineto + 5.8768 -1.9173 lineto + 5.925 -1.8837 lineto + 5.9734 -1.8493 lineto + 6.0218 -1.8141 lineto + 6.0703 -1.778 lineto + 6.1187 -1.7411 lineto + 6.2094 -1.7149 lineto + 6.378103166302659 -1.1772 lineto + %end circumferential + 6.378103166302659 -1.1772 lineto + 6.378103166302659 -0.861 lineto + %middle radial + 6.378103166302659 -0.861 lineto + 6.3194 -0.7863 lineto + 6.2354 -0.714 lineto + 6.1525 -0.6439 lineto + 6.0705 -0.5761 lineto + %end radial + 6.0705 -0.5761 lineto + 5.9962 -0.6648 lineto + 5.9212 -0.7502 lineto + 5.8457 -0.8325 lineto + 5.7697 -0.9117 lineto + 5.6933 -0.9878 lineto + 5.6167 -1.061 lineto + 5.5398 -1.1313 lineto + 5.4629 -1.1986 lineto + 5.3859 -1.2632 lineto + 5.3089 -1.3251 lineto + 5.232 -1.3843 lineto + 5.1553 -1.4409 lineto + 5.0788 -1.4949 lineto + 5.0026 -1.5465 lineto + 4.9267 -1.5957 lineto + 4.8512 -1.6425 lineto + %middle circumferential + 4.8512 -1.6425 lineto + 4.7673 -1.6921 lineto + 4.684 -1.739 lineto + 4.6014 -1.7832 lineto + 4.5195 -1.8247 lineto + 4.4384 -1.8638 lineto + 4.358 -1.9004 lineto + 4.2785 -1.9347 lineto + 4.1999 -1.9668 lineto + 4.1222 -1.9966 lineto + 4.0454 -2.0243 lineto + 3.9696 -2.0501 lineto + 3.8948 -2.0738 lineto + 3.821 -2.0957 lineto + 3.7482 -2.1157 lineto + 3.6765 -2.134 lineto + 3.6059 -2.1507 lineto + %end circumferential + closepath +currentgray 0.9029032258064516 setgray fill setgray +% Sector from 0.589 to 0.7854 (quadrant 0) +newpath + 1.6531 -2.0367 moveto + 1.6177 -2.1249 lineto + 1.5785 -2.2151 lineto + %middle radial + 1.5785 -2.2151 lineto + 1.5365 -2.305 lineto + 1.4906 -2.3966 lineto + %end radial + 1.4906 -2.3966 lineto + 1.5374 -2.4203 lineto + 1.6354 -2.4672 lineto + 1.7399 -2.5129 lineto + 1.7946 -2.5351 lineto + 1.8511 -2.557 lineto + 1.9093 -2.5783 lineto + 1.9694 -2.5991 lineto + 2.0313 -2.6192 lineto + 2.0952 -2.6387 lineto + 2.161 -2.6574 lineto + 2.2288 -2.6753 lineto + 2.2986 -2.6923 lineto + 2.3706 -2.7083 lineto + 2.4446 -2.7233 lineto + %middle circumferential + 2.4446 -2.7233 lineto + 2.5106 -2.7353 lineto + 2.5782 -2.7463 lineto + 2.6475 -2.7564 lineto + 2.7185 -2.7653 lineto + 2.7912 -2.7732 lineto + 2.8657 -2.7798 lineto + 2.942 -2.7851 lineto + 3.0201 -2.789 lineto + 3.1 -2.7915 lineto + 3.1818 -2.7924 lineto + 3.2654 -2.7916 lineto + 3.3509 -2.7891 lineto + 3.4382 -2.7848 lineto + 3.5274 -2.7785 lineto + 3.6186 -2.7701 lineto + 3.7115 -2.7596 lineto + %end circumferential + 3.7115 -2.7596 lineto + 3.701 -2.6788 lineto + 3.6897 -2.5996 lineto + 3.6776 -2.522 lineto + 3.6648 -2.446 lineto + %middle radial + 3.6648 -2.446 lineto + 3.6511 -2.3698 lineto + 3.6366 -2.2952 lineto + 3.6216 -2.2222 lineto + 3.6059 -2.1507 lineto + %end radial + 3.6059 -2.1507 lineto + 3.5663 -2.1594 lineto + 3.4882 -2.1753 lineto + 3.4115 -2.1893 lineto + 3.3362 -2.2015 lineto + 3.2623 -2.2119 lineto + 3.1898 -2.2207 lineto + 3.1187 -2.2278 lineto + 3.049 -2.2335 lineto + 2.9807 -2.2377 lineto + 2.9139 -2.2406 lineto + 2.8484 -2.2422 lineto + 2.7843 -2.2426 lineto + 2.7215 -2.2418 lineto + 2.6601 -2.2399 lineto + 2.6001 -2.237 lineto + 2.5125 -2.2309 lineto + %middle circumferential + 2.5125 -2.2309 lineto + 2.447 -2.2248 lineto + 2.3833 -2.2176 lineto + 2.3213 -2.2093 lineto + 2.2609 -2.2001 lineto + 2.2021 -2.19 lineto + 2.0892 -2.1674 lineto + 1.9825 -2.142 lineto + 1.8816 -2.1142 lineto + 1.7863 -2.0844 lineto + 1.6962 -2.0529 lineto + 1.6531 -2.0367 lineto + %end circumferential + closepath +currentgray 0.9196774193548387 setgray fill setgray +% Sector from 0.3927 to 0.589 (quadrant 0) +newpath + 0.6272 -1.3215 moveto + 0.5807 -1.3596 lineto + 0.5319 -1.3975 lineto + %middle radial + 0.5319 -1.3975 lineto + 0.4819 -1.4342 lineto + 0.4297 -1.4704 lineto + %end radial + 0.4297 -1.4704 lineto + 0.4659 -1.5227 lineto + 0.5056 -1.5769 lineto + 0.549 -1.6332 lineto + 0.5966 -1.6913 lineto + 0.6489 -1.7515 lineto + 0.7062 -1.8135 lineto + 0.7691 -1.8774 lineto + 0.8382 -1.943 lineto + %middle circumferential + 0.8382 -1.943 lineto + 0.8997 -1.9978 lineto + 0.966 -2.0535 lineto + 1.0376 -2.11 lineto + 1.115 -2.1671 lineto + 1.1984 -2.2246 lineto + 1.2885 -2.2822 lineto + 1.3857 -2.3397 lineto + 1.4372 -2.3682 lineto + 1.4906 -2.3966 lineto + %end circumferential + 1.4906 -2.3966 lineto + 1.5365 -2.305 lineto + 1.5785 -2.2151 lineto + %middle radial + 1.5785 -2.2151 lineto + 1.6177 -2.1249 lineto + 1.6531 -2.0367 lineto + %end radial + 1.6531 -2.0367 lineto + 1.556 -1.9971 lineto + 1.4654 -1.9563 lineto + 1.3808 -1.9146 lineto + 1.302 -1.8722 lineto + 1.2284 -1.8296 lineto + 1.1598 -1.7869 lineto + 1.0959 -1.7443 lineto + 1.0363 -1.702 lineto + %middle circumferential + 1.0363 -1.702 lineto + 0.9688 -1.6508 lineto + 0.9068 -1.6003 lineto + 0.8498 -1.5509 lineto + 0.7975 -1.5025 lineto + 0.7495 -1.4554 lineto + 0.7053 -1.4094 lineto + 0.6646 -1.3648 lineto + 0.6272 -1.3215 lineto + %end circumferential + closepath +currentgray 0.9364516129032258 setgray fill setgray +% Sector from 0.1963 to 0.3927 (quadrant 0) +newpath + 0.2328 -0.607 moveto + 0.1534 -0.6302 lineto + %middle radial + 0.1534 -0.6302 lineto + 0.072 -0.6508 lineto + %end radial + 0.072 -0.6508 lineto + 0.0914 -0.7283 lineto + 0.1168 -0.8167 lineto + 0.1502 -0.9179 lineto + 0.171 -0.974 lineto + 0.1949 -1.0342 lineto + %middle circumferential + 0.1949 -1.0342 lineto + 0.2358 -1.1273 lineto + 0.2728 -1.2036 lineto + 0.3011 -1.2578 lineto + 0.3328 -1.3148 lineto + 0.3682 -1.3748 lineto + 0.408 -1.4378 lineto + 0.4297 -1.4704 lineto + %end circumferential + 0.4297 -1.4704 lineto + 0.4819 -1.4342 lineto + 0.5319 -1.3975 lineto + %middle radial + 0.5319 -1.3975 lineto + 0.5807 -1.3596 lineto + 0.6272 -1.3215 lineto + %end radial + 0.6272 -1.3215 lineto + 0.6047 -1.2943 lineto + 0.563 -1.2415 lineto + 0.5255 -1.1909 lineto + 0.476 -1.119 lineto + 0.4207 -1.0303 lineto + 0.3755 -0.9493 lineto + %middle circumferential + 0.3755 -0.9493 lineto + 0.3485 -0.8965 lineto + 0.3042 -0.8004 lineto + 0.2702 -0.7158 lineto + 0.2438 -0.6411 lineto + 0.2328 -0.607 lineto + %end circumferential + closepath +currentgray 0.9532258064516128 setgray fill setgray +% Sector from 0.0 to 0.1963 (quadrant 0) +newpath + 0.1411 0.0 moveto + 0.0707 0.0 lineto + %middle radial + 0.0707 0.0 lineto + 0.0 0.0 lineto + %end radial + 0.0 0.0 lineto + 9.0E-4 -0.0734 lineto + 0.0036 -0.1509 lineto + 0.0076 -0.2169 lineto + 0.0158 -0.3128 lineto + %middle circumferential + 0.0158 -0.3128 lineto + 0.0228 -0.3741 lineto + 0.0331 -0.4484 lineto + 0.0485 -0.5391 lineto + 0.0652 -0.6206 lineto + 0.072 -0.6508 lineto + %end circumferential + 0.072 -0.6508 lineto + 0.1534 -0.6302 lineto + %middle radial + 0.1534 -0.6302 lineto + 0.2328 -0.607 lineto + %end radial + 0.2328 -0.607 lineto + 0.2169 -0.5533 lineto + 0.1932 -0.4609 lineto + 0.1772 -0.3848 lineto + 0.1622 -0.2947 lineto + %middle circumferential + 0.1622 -0.2947 lineto + 0.1512 -0.2047 lineto + 0.146 -0.1426 lineto + 0.1423 -0.0694 lineto + 0.1411 -9.0E-4 lineto + 0.1411 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Horizontal line from (0.5, 0.0) to (0.0, 0.0) +newpath + 0.4794 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.5, 0.0) to (1.0, 0.0) +newpath + 0.4794 0.0 moveto + 0.8415 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.0, 0.0) +newpath + 0.9093 0.0 moveto + 0.9938 0.0 lineto + 0.8415 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.1579208923731617E77, 0.0) +newpath + 0.9093 0.0 moveto + -0.9889 0.0 lineto + 0.9625 0.0 lineto + 0.9093 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (0.0, 1.0) +newpath + 1.4031 -0.4891 moveto + 1.4547 -0.392 lineto + 1.4932 -0.2963 lineto + 1.5199 -0.2028 lineto + 1.536 -0.1123 lineto + 1.5427 -0.0252 lineto + 1.5412 0.0582 lineto + 1.5325 0.1377 lineto + 1.5175 0.2129 lineto + 1.4973 0.284 lineto + 1.4727 0.3509 lineto + 1.4443 0.4137 lineto + 1.4129 0.4725 lineto + 1.379 0.5273 lineto + 1.3432 0.5784 lineto + 1.306 0.6259 lineto + 1.2287 0.7109 lineto + 1.1499 0.7837 lineto + 1.0714 0.8457 lineto + 0.9948 0.8984 lineto + 0.9209 0.9429 lineto + 0.8505 0.9806 lineto + 0.7839 1.0122 lineto + 0.7214 1.0389 lineto + 0.6629 1.0612 lineto + 0.5827 1.0882 lineto + 0.4893 1.1145 lineto + 0.4099 1.133 lineto + 0.3428 1.1458 lineto + 0.2391 1.161 lineto + 0.1663 1.1684 lineto + 0.0803 1.1736 lineto + 0.009 1.1752 lineto + 0.0 1.1752 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (1.1579208923731617E77, 1.0) +newpath + 1.4031 -0.4891 moveto + 1.3391 -0.584 lineto + 1.3016 -0.6312 lineto + 1.2604 -0.678 lineto + 1.2152 -0.7243 lineto + 1.166 -0.7698 lineto + 1.1126 -0.8143 lineto + 1.055 -0.8576 lineto + 0.9931 -0.8995 lineto + 0.9269 -0.9396 lineto + 0.8563 -0.9777 lineto + 0.7813 -1.0134 lineto + 0.702 -1.0465 lineto + 0.6185 -1.0767 lineto + 0.5307 -1.1035 lineto + 0.439 -1.1266 lineto + 0.3434 -1.1457 lineto + 0.2442 -1.1604 lineto + 0.1417 -1.1702 lineto + 0.0362 -1.1749 lineto + -0.0718 -1.1739 lineto + -0.1819 -1.167 lineto + -0.2934 -1.1538 lineto + -0.4059 -1.1338 lineto + -0.5185 -1.1069 lineto + -0.6026 -1.0819 lineto + -0.6583 -1.0629 lineto + -0.7136 -1.042 lineto + -0.7683 -1.0192 lineto + -0.8224 -0.9944 lineto + -0.8756 -0.9677 lineto + -0.928 -0.939 lineto + -0.9792 -0.9082 lineto + -1.0293 -0.8755 lineto + -1.078 -0.8409 lineto + -1.1252 -0.8042 lineto + -1.1708 -0.7655 lineto + -1.2145 -0.7249 lineto + -1.2563 -0.6824 lineto + -1.2959 -0.638 lineto + -1.3332 -0.5917 lineto + -1.368 -0.5437 lineto + -1.4002 -0.4939 lineto + -1.4296 -0.4424 lineto + -1.456 -0.3893 lineto + -1.4792 -0.3347 lineto + -1.4991 -0.2787 lineto + -1.5155 -0.2213 lineto + -1.5282 -0.1628 lineto + -1.5371 -0.1032 lineto + -1.5421 -0.0426 lineto + -1.5429 0.0187 lineto + -1.5394 0.0807 lineto + -1.5316 0.1431 lineto + -1.5192 0.2058 lineto + -1.5022 0.2686 lineto + -1.4805 0.3313 lineto + -1.4539 0.3937 lineto + -1.4224 0.4555 lineto + -1.386 0.5165 lineto + -1.3446 0.5766 lineto + -1.2982 0.6353 lineto + -1.2468 0.6925 lineto + -1.1903 0.7478 lineto + -1.129 0.8011 lineto + -1.0628 0.852 lineto + -0.9918 0.9003 lineto + -0.9162 0.9456 lineto + -0.8362 0.9877 lineto + -0.7519 1.0263 lineto + -0.6635 1.061 lineto + -0.5714 1.0917 lineto + -0.4757 1.118 lineto + -0.3769 1.1396 lineto + -0.2753 1.1564 lineto + -0.1712 1.1679 lineto + -0.0653 1.1741 lineto + 0.0422 1.1748 lineto + 0.1507 1.1696 lineto + 0.2596 1.1584 lineto + 0.3684 1.1412 lineto + 0.4765 1.1178 lineto + 0.5832 1.088 lineto + 0.6879 1.052 lineto + 0.7899 1.0096 lineto + 0.8884 0.9609 lineto + 0.9828 0.906 lineto + 1.0724 0.845 lineto + 1.1563 0.7782 lineto + 1.2339 0.7057 lineto + 1.3044 0.6279 lineto + 1.3671 0.545 lineto + 1.4213 0.4576 lineto + 1.4663 0.366 lineto + 1.5015 0.2709 lineto + 1.5263 0.1727 lineto + 1.5402 0.0722 lineto + 1.5426 -0.03 lineto + 1.5332 -0.1331 lineto + 1.5116 -0.2363 lineto + 1.4776 -0.3388 lineto + 1.4311 -0.4396 lineto + 1.4031 -0.4891 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (0.0, -1.0) +newpath + 1.4031 0.4891 moveto + 1.4547 0.392 lineto + 1.4932 0.2963 lineto + 1.5199 0.2028 lineto + 1.536 0.1123 lineto + 1.5427 0.0252 lineto + 1.5412 -0.0582 lineto + 1.5325 -0.1377 lineto + 1.5175 -0.2129 lineto + 1.4973 -0.284 lineto + 1.4727 -0.3509 lineto + 1.4443 -0.4137 lineto + 1.4129 -0.4725 lineto + 1.379 -0.5273 lineto + 1.3432 -0.5784 lineto + 1.306 -0.6259 lineto + 1.2287 -0.7109 lineto + 1.1499 -0.7837 lineto + 1.0714 -0.8457 lineto + 0.9948 -0.8984 lineto + 0.9209 -0.9429 lineto + 0.8505 -0.9806 lineto + 0.7839 -1.0122 lineto + 0.7214 -1.0389 lineto + 0.6629 -1.0612 lineto + 0.5827 -1.0882 lineto + 0.4893 -1.1145 lineto + 0.4099 -1.133 lineto + 0.3428 -1.1458 lineto + 0.2391 -1.161 lineto + 0.1663 -1.1684 lineto + 0.0803 -1.1736 lineto + 0.009 -1.1752 lineto + 0.0 -1.1752 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (1.1579208923731617E77, -1.0) +newpath + 1.4031 0.4891 moveto + 1.3391 0.584 lineto + 1.3016 0.6312 lineto + 1.2604 0.678 lineto + 1.2152 0.7243 lineto + 1.166 0.7698 lineto + 1.1126 0.8143 lineto + 1.055 0.8576 lineto + 0.9931 0.8995 lineto + 0.9269 0.9396 lineto + 0.8563 0.9777 lineto + 0.7813 1.0134 lineto + 0.702 1.0465 lineto + 0.6185 1.0767 lineto + 0.5307 1.1035 lineto + 0.439 1.1266 lineto + 0.3434 1.1457 lineto + 0.2442 1.1604 lineto + 0.1417 1.1702 lineto + 0.0362 1.1749 lineto + -0.0718 1.1739 lineto + -0.1819 1.167 lineto + -0.2934 1.1538 lineto + -0.4059 1.1338 lineto + -0.5185 1.1069 lineto + -0.6026 1.0819 lineto + -0.6583 1.0629 lineto + -0.7136 1.042 lineto + -0.7683 1.0192 lineto + -0.8224 0.9944 lineto + -0.8756 0.9677 lineto + -0.928 0.939 lineto + -0.9792 0.9082 lineto + -1.0293 0.8755 lineto + -1.078 0.8409 lineto + -1.1252 0.8042 lineto + -1.1708 0.7655 lineto + -1.2145 0.7249 lineto + -1.2563 0.6824 lineto + -1.2959 0.638 lineto + -1.3332 0.5917 lineto + -1.368 0.5437 lineto + -1.4002 0.4939 lineto + -1.4296 0.4424 lineto + -1.456 0.3893 lineto + -1.4792 0.3347 lineto + -1.4991 0.2787 lineto + -1.5155 0.2213 lineto + -1.5282 0.1628 lineto + -1.5371 0.1032 lineto + -1.5421 0.0426 lineto + -1.5429 -0.0187 lineto + -1.5394 -0.0807 lineto + -1.5316 -0.1431 lineto + -1.5192 -0.2058 lineto + -1.5022 -0.2686 lineto + -1.4805 -0.3313 lineto + -1.4539 -0.3937 lineto + -1.4224 -0.4555 lineto + -1.386 -0.5165 lineto + -1.3446 -0.5766 lineto + -1.2982 -0.6353 lineto + -1.2468 -0.6925 lineto + -1.1903 -0.7478 lineto + -1.129 -0.8011 lineto + -1.0628 -0.852 lineto + -0.9918 -0.9003 lineto + -0.9162 -0.9456 lineto + -0.8362 -0.9877 lineto + -0.7519 -1.0263 lineto + -0.6635 -1.061 lineto + -0.5714 -1.0917 lineto + -0.4757 -1.118 lineto + -0.3769 -1.1396 lineto + -0.2753 -1.1564 lineto + -0.1712 -1.1679 lineto + -0.0653 -1.1741 lineto + 0.0422 -1.1748 lineto + 0.1507 -1.1696 lineto + 0.2596 -1.1584 lineto + 0.3684 -1.1412 lineto + 0.4765 -1.1178 lineto + 0.5832 -1.088 lineto + 0.6879 -1.052 lineto + 0.7899 -1.0096 lineto + 0.8884 -0.9609 lineto + 0.9828 -0.906 lineto + 1.0724 -0.845 lineto + 1.1563 -0.7782 lineto + 1.2339 -0.7057 lineto + 1.3044 -0.6279 lineto + 1.3671 -0.545 lineto + 1.4213 -0.4576 lineto + 1.4663 -0.366 lineto + 1.5015 -0.2709 lineto + 1.5263 -0.1727 lineto + 1.5402 -0.0722 lineto + 1.5426 0.03 lineto + 1.5332 0.1331 lineto + 1.5116 0.2363 lineto + 1.4776 0.3388 lineto + 1.4311 0.4396 lineto + 1.4031 0.4891 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (1.1579208923731617E77, 2.0) +newpath + 0.0 3.6269 moveto + 0.0665 3.6263 lineto + 0.1385 3.6244 lineto + 0.1999 3.6217 lineto + 0.2885 3.6162 lineto + 0.3796 3.6083 lineto + 0.4558 3.6001 lineto + 0.547 3.5883 lineto + 0.6562 3.5713 lineto + 0.7185 3.5601 lineto + 0.7866 3.5467 lineto + 0.8609 3.5306 lineto + 0.9419 3.5113 lineto + 1.0302 3.4882 lineto + 1.1263 3.4605 lineto + 1.2307 3.4273 lineto + 1.2862 3.4083 lineto + 1.344 3.3875 lineto + 1.404 3.3648 lineto + 1.4665 3.34 lineto + 1.5314 3.3128 lineto + 1.5987 3.2831 lineto + 1.6685 3.2507 lineto + 1.7409 3.2152 lineto + 1.8158 3.1765 lineto + 1.8932 3.1342 lineto + 1.9731 3.088 lineto + 2.0555 3.0377 lineto + 2.1402 2.9828 lineto + 2.2273 2.923 lineto + 2.3165 2.8578 lineto + 2.4077 2.7869 lineto + 2.4539 2.7491 lineto + 2.5006 2.7098 lineto + 2.5477 2.6687 lineto + 2.5951 2.6259 lineto + 2.6428 2.5813 lineto + 2.6908 2.5348 lineto + 2.739 2.4864 lineto + 2.7873 2.436 lineto + 2.8357 2.3835 lineto + 2.8841 2.3289 lineto + 2.9325 2.272 lineto + 2.9807 2.2129 lineto + 3.0288 2.1514 lineto + 3.0765 2.0875 lineto + 3.1239 2.0211 lineto + 3.1708 1.9521 lineto + 3.217 1.8805 lineto + 3.2625 1.8061 lineto + 3.3072 1.729 lineto + 3.3508 1.649 lineto + 3.3934 1.5661 lineto + 3.4346 1.4802 lineto + 3.4744 1.3913 lineto + 3.5125 1.2993 lineto + 3.5488 1.2042 lineto + 3.5831 1.1058 lineto + 3.6151 1.0043 lineto + 3.6447 0.8995 lineto + 3.6715 0.7914 lineto + 3.6955 0.6801 lineto + 3.7162 0.5655 lineto + 3.7253 0.507 lineto + 3.7334 0.4476 lineto + 3.7407 0.3875 lineto + 3.7469 0.3265 lineto + 3.7522 0.2648 lineto + 3.7563 0.2022 lineto + 3.7594 0.1389 lineto + 3.7614 0.0748 lineto + 3.7622 0.01 lineto + 3.7618 -0.0557 lineto + 3.7601 -0.122 lineto + 3.7571 -0.1891 lineto + 3.7527 -0.2569 lineto + 3.747 -0.3253 lineto + 3.7399 -0.3945 lineto + 3.7312 -0.4643 lineto + 3.7211 -0.5347 lineto + 3.7094 -0.6057 lineto + 3.696 -0.6773 lineto + 3.681 -0.7495 lineto + 3.6643 -0.8222 lineto + 3.6458 -0.8953 lineto + 3.6255 -0.9689 lineto + 3.6033 -1.0429 lineto + 3.5792 -1.1173 lineto + 3.5532 -1.1921 lineto + 3.5251 -1.2671 lineto + 3.495 -1.3423 lineto + 3.4628 -1.4178 lineto + 3.4285 -1.4934 lineto + 3.3919 -1.5691 lineto + 3.3531 -1.6448 lineto + 3.312 -1.7205 lineto + 3.2685 -1.796 lineto + 3.2227 -1.8714 lineto + 3.1744 -1.9466 lineto + 3.1236 -2.0215 lineto + 3.0704 -2.0959 lineto + 3.0145 -2.17 lineto + 2.9561 -2.2434 lineto + 2.8951 -2.3162 lineto + 2.8313 -2.3883 lineto + 2.7649 -2.4596 lineto + 2.6957 -2.5299 lineto + 2.6238 -2.5992 lineto + 2.5491 -2.6674 lineto + 2.4717 -2.7343 lineto + 2.3913 -2.7999 lineto + 2.3082 -2.864 lineto + 2.2222 -2.9266 lineto + 2.1334 -2.9873 lineto + 2.0417 -3.0463 lineto + 1.9472 -3.1033 lineto + 1.8499 -3.1581 lineto + 1.7498 -3.2107 lineto + 1.6468 -3.2609 lineto + 1.5411 -3.3086 lineto + 1.4601 -3.3426 lineto + 1.4052 -3.3644 lineto + 1.3496 -3.3855 lineto + 1.2934 -3.4058 lineto + 1.2365 -3.4254 lineto + 1.179 -3.4442 lineto + 1.1208 -3.4622 lineto + 1.062 -3.4794 lineto + 1.0026 -3.4957 lineto + 0.9426 -3.5112 lineto + 0.8819 -3.5258 lineto + 0.8207 -3.5395 lineto + 0.7589 -3.5523 lineto + 0.6965 -3.5642 lineto + 0.6335 -3.5751 lineto + 0.57 -3.585 lineto + 0.506 -3.5939 lineto + 0.4415 -3.6018 lineto + 0.3764 -3.6087 lineto + 0.3109 -3.6145 lineto + 0.2449 -3.6192 lineto + 0.1784 -3.6228 lineto + 0.1115 -3.6253 lineto + 0.0441 -3.6266 lineto + -0.0236 -3.6268 lineto + -0.0917 -3.6258 lineto + -0.1602 -3.6236 lineto + -0.229 -3.6201 lineto + -0.2981 -3.6155 lineto + -0.3676 -3.6095 lineto + -0.4373 -3.6023 lineto + -0.5072 -3.5937 lineto + -0.5774 -3.5839 lineto + -0.6477 -3.5727 lineto + -0.7183 -3.5601 lineto + -0.789 -3.5462 lineto + -0.8598 -3.5309 lineto + -0.9306 -3.5141 lineto + -1.0016 -3.496 lineto + -1.0725 -3.4764 lineto + -1.1435 -3.4553 lineto + -1.2144 -3.4327 lineto + -1.2852 -3.4087 lineto + -1.3559 -3.3831 lineto + -1.4265 -3.356 lineto + -1.4969 -3.3274 lineto + -1.5671 -3.2972 lineto + -1.637 -3.2655 lineto + -1.7067 -3.2322 lineto + -1.776 -3.1973 lineto + -1.8449 -3.1609 lineto + -1.9134 -3.1228 lineto + -1.9814 -3.0831 lineto + -2.049 -3.0418 lineto + -2.116 -2.9989 lineto + -2.1824 -2.9543 lineto + -2.2481 -2.9081 lineto + -2.3132 -2.8603 lineto + -2.3776 -2.8108 lineto + -2.4412 -2.7597 lineto + -2.5039 -2.7069 lineto + -2.5658 -2.6525 lineto + -2.6268 -2.5965 lineto + -2.6867 -2.5388 lineto + -2.7457 -2.4795 lineto + -2.8036 -2.4186 lineto + -2.8603 -2.356 lineto + -2.9158 -2.2919 lineto + -2.9701 -2.2261 lineto + -3.0231 -2.1588 lineto + -3.0748 -2.0899 lineto + -3.125 -2.0195 lineto + -3.1738 -1.9475 lineto + -3.2211 -1.874 lineto + -3.2668 -1.799 lineto + -3.3108 -1.7225 lineto + -3.3532 -1.6446 lineto + -3.3938 -1.5652 lineto + -3.4326 -1.4845 lineto + -3.4696 -1.4023 lineto + -3.5046 -1.3189 lineto + -3.5377 -1.2341 lineto + -3.5687 -1.1481 lineto + -3.5977 -1.0609 lineto + -3.6244 -0.9725 lineto + -3.649 -0.8829 lineto + -3.6713 -0.7922 lineto + -3.6914 -0.7005 lineto + -3.709 -0.6078 lineto + -3.7242 -0.5142 lineto + -3.7369 -0.4196 lineto + -3.7471 -0.3242 lineto + -3.7547 -0.2281 lineto + -3.7597 -0.1312 lineto + -3.762 -0.0337 lineto + -3.7616 0.0645 lineto + -3.7584 0.1631 lineto + -3.7524 0.2622 lineto + -3.7434 0.3616 lineto + -3.7316 0.4614 lineto + -3.7169 0.5613 lineto + -3.6991 0.6614 lineto + -3.6783 0.7616 lineto + -3.6545 0.8617 lineto + -3.6275 0.9617 lineto + -3.5975 1.0615 lineto + -3.5643 1.1609 lineto + -3.5279 1.26 lineto + -3.4883 1.3586 lineto + -3.4455 1.4566 lineto + -3.3994 1.5539 lineto + -3.3501 1.6503 lineto + -3.2976 1.7459 lineto + -3.2418 1.8405 lineto + -3.1827 1.9339 lineto + -3.1204 2.0261 lineto + -3.0548 2.1169 lineto + -2.986 2.2063 lineto + -2.914 2.2941 lineto + -2.8387 2.3802 lineto + -2.7602 2.4645 lineto + -2.6786 2.5468 lineto + -2.5938 2.6271 lineto + -2.5503 2.6664 lineto + -2.506 2.7052 lineto + -2.4609 2.7434 lineto + -2.4151 2.781 lineto + -2.3685 2.8179 lineto + -2.3211 2.8543 lineto + -2.2731 2.89 lineto + -2.2243 2.9251 lineto + -2.1747 2.9595 lineto + -2.1245 2.9933 lineto + -2.0735 3.0263 lineto + -2.0218 3.0586 lineto + -1.9695 3.0902 lineto + -1.9165 3.121 lineto + -1.8628 3.1511 lineto + -1.8084 3.1804 lineto + -1.7533 3.2089 lineto + -1.6977 3.2366 lineto + -1.6414 3.2635 lineto + -1.5844 3.2895 lineto + -1.5269 3.3147 lineto + -1.4688 3.339 lineto + -1.4101 3.3625 lineto + -1.3508 3.385 lineto + -1.2909 3.4067 lineto + -1.2305 3.4274 lineto + -1.1696 3.4471 lineto + -1.1081 3.466 lineto + -1.0462 3.4838 lineto + -0.9837 3.5007 lineto + -0.9208 3.5165 lineto + -0.8575 3.5314 lineto + -0.7937 3.5452 lineto + -0.7294 3.558 lineto + -0.6648 3.5698 lineto + -0.5998 3.5805 lineto + -0.5343 3.5901 lineto + -0.4686 3.5986 lineto + -0.4025 3.606 lineto + -0.3361 3.6124 lineto + -0.2694 3.6176 lineto + -0.2024 3.6216 lineto + -0.1352 3.6245 lineto + -0.0677 3.6263 lineto + 0.0 3.6269 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (1.1579208923731617E77, -2.0) +newpath + 0.0 -3.6269 moveto + 0.0665 -3.6263 lineto + 0.1385 -3.6244 lineto + 0.1999 -3.6217 lineto + 0.2885 -3.6162 lineto + 0.3796 -3.6083 lineto + 0.4558 -3.6001 lineto + 0.547 -3.5883 lineto + 0.6562 -3.5713 lineto + 0.7185 -3.5601 lineto + 0.7866 -3.5467 lineto + 0.8609 -3.5306 lineto + 0.9419 -3.5113 lineto + 1.0302 -3.4882 lineto + 1.1263 -3.4605 lineto + 1.2307 -3.4273 lineto + 1.2862 -3.4083 lineto + 1.344 -3.3875 lineto + 1.404 -3.3648 lineto + 1.4665 -3.34 lineto + 1.5314 -3.3128 lineto + 1.5987 -3.2831 lineto + 1.6685 -3.2507 lineto + 1.7409 -3.2152 lineto + 1.8158 -3.1765 lineto + 1.8932 -3.1342 lineto + 1.9731 -3.088 lineto + 2.0555 -3.0377 lineto + 2.1402 -2.9828 lineto + 2.2273 -2.923 lineto + 2.3165 -2.8578 lineto + 2.4077 -2.7869 lineto + 2.4539 -2.7491 lineto + 2.5006 -2.7098 lineto + 2.5477 -2.6687 lineto + 2.5951 -2.6259 lineto + 2.6428 -2.5813 lineto + 2.6908 -2.5348 lineto + 2.739 -2.4864 lineto + 2.7873 -2.436 lineto + 2.8357 -2.3835 lineto + 2.8841 -2.3289 lineto + 2.9325 -2.272 lineto + 2.9807 -2.2129 lineto + 3.0288 -2.1514 lineto + 3.0765 -2.0875 lineto + 3.1239 -2.0211 lineto + 3.1708 -1.9521 lineto + 3.217 -1.8805 lineto + 3.2625 -1.8061 lineto + 3.3072 -1.729 lineto + 3.3508 -1.649 lineto + 3.3934 -1.5661 lineto + 3.4346 -1.4802 lineto + 3.4744 -1.3913 lineto + 3.5125 -1.2993 lineto + 3.5488 -1.2042 lineto + 3.5831 -1.1058 lineto + 3.6151 -1.0043 lineto + 3.6447 -0.8995 lineto + 3.6715 -0.7914 lineto + 3.6955 -0.6801 lineto + 3.7162 -0.5655 lineto + 3.7253 -0.507 lineto + 3.7334 -0.4476 lineto + 3.7407 -0.3875 lineto + 3.7469 -0.3265 lineto + 3.7522 -0.2648 lineto + 3.7563 -0.2022 lineto + 3.7594 -0.1389 lineto + 3.7614 -0.0748 lineto + 3.7622 -0.01 lineto + 3.7618 0.0557 lineto + 3.7601 0.122 lineto + 3.7571 0.1891 lineto + 3.7527 0.2569 lineto + 3.747 0.3253 lineto + 3.7399 0.3945 lineto + 3.7312 0.4643 lineto + 3.7211 0.5347 lineto + 3.7094 0.6057 lineto + 3.696 0.6773 lineto + 3.681 0.7495 lineto + 3.6643 0.8222 lineto + 3.6458 0.8953 lineto + 3.6255 0.9689 lineto + 3.6033 1.0429 lineto + 3.5792 1.1173 lineto + 3.5532 1.1921 lineto + 3.5251 1.2671 lineto + 3.495 1.3423 lineto + 3.4628 1.4178 lineto + 3.4285 1.4934 lineto + 3.3919 1.5691 lineto + 3.3531 1.6448 lineto + 3.312 1.7205 lineto + 3.2685 1.796 lineto + 3.2227 1.8714 lineto + 3.1744 1.9466 lineto + 3.1236 2.0215 lineto + 3.0704 2.0959 lineto + 3.0145 2.17 lineto + 2.9561 2.2434 lineto + 2.8951 2.3162 lineto + 2.8313 2.3883 lineto + 2.7649 2.4596 lineto + 2.6957 2.5299 lineto + 2.6238 2.5992 lineto + 2.5491 2.6674 lineto + 2.4717 2.7343 lineto + 2.3913 2.7999 lineto + 2.3082 2.864 lineto + 2.2222 2.9266 lineto + 2.1334 2.9873 lineto + 2.0417 3.0463 lineto + 1.9472 3.1033 lineto + 1.8499 3.1581 lineto + 1.7498 3.2107 lineto + 1.6468 3.2609 lineto + 1.5411 3.3086 lineto + 1.4601 3.3426 lineto + 1.4052 3.3644 lineto + 1.3496 3.3855 lineto + 1.2934 3.4058 lineto + 1.2365 3.4254 lineto + 1.179 3.4442 lineto + 1.1208 3.4622 lineto + 1.062 3.4794 lineto + 1.0026 3.4957 lineto + 0.9426 3.5112 lineto + 0.8819 3.5258 lineto + 0.8207 3.5395 lineto + 0.7589 3.5523 lineto + 0.6965 3.5642 lineto + 0.6335 3.5751 lineto + 0.57 3.585 lineto + 0.506 3.5939 lineto + 0.4415 3.6018 lineto + 0.3764 3.6087 lineto + 0.3109 3.6145 lineto + 0.2449 3.6192 lineto + 0.1784 3.6228 lineto + 0.1115 3.6253 lineto + 0.0441 3.6266 lineto + -0.0236 3.6268 lineto + -0.0917 3.6258 lineto + -0.1602 3.6236 lineto + -0.229 3.6201 lineto + -0.2981 3.6155 lineto + -0.3676 3.6095 lineto + -0.4373 3.6023 lineto + -0.5072 3.5937 lineto + -0.5774 3.5839 lineto + -0.6477 3.5727 lineto + -0.7183 3.5601 lineto + -0.789 3.5462 lineto + -0.8598 3.5309 lineto + -0.9306 3.5141 lineto + -1.0016 3.496 lineto + -1.0725 3.4764 lineto + -1.1435 3.4553 lineto + -1.2144 3.4327 lineto + -1.2852 3.4087 lineto + -1.3559 3.3831 lineto + -1.4265 3.356 lineto + -1.4969 3.3274 lineto + -1.5671 3.2972 lineto + -1.637 3.2655 lineto + -1.7067 3.2322 lineto + -1.776 3.1973 lineto + -1.8449 3.1609 lineto + -1.9134 3.1228 lineto + -1.9814 3.0831 lineto + -2.049 3.0418 lineto + -2.116 2.9989 lineto + -2.1824 2.9543 lineto + -2.2481 2.9081 lineto + -2.3132 2.8603 lineto + -2.3776 2.8108 lineto + -2.4412 2.7597 lineto + -2.5039 2.7069 lineto + -2.5658 2.6525 lineto + -2.6268 2.5965 lineto + -2.6867 2.5388 lineto + -2.7457 2.4795 lineto + -2.8036 2.4186 lineto + -2.8603 2.356 lineto + -2.9158 2.2919 lineto + -2.9701 2.2261 lineto + -3.0231 2.1588 lineto + -3.0748 2.0899 lineto + -3.125 2.0195 lineto + -3.1738 1.9475 lineto + -3.2211 1.874 lineto + -3.2668 1.799 lineto + -3.3108 1.7225 lineto + -3.3532 1.6446 lineto + -3.3938 1.5652 lineto + -3.4326 1.4845 lineto + -3.4696 1.4023 lineto + -3.5046 1.3189 lineto + -3.5377 1.2341 lineto + -3.5687 1.1481 lineto + -3.5977 1.0609 lineto + -3.6244 0.9725 lineto + -3.649 0.8829 lineto + -3.6713 0.7922 lineto + -3.6914 0.7005 lineto + -3.709 0.6078 lineto + -3.7242 0.5142 lineto + -3.7369 0.4196 lineto + -3.7471 0.3242 lineto + -3.7547 0.2281 lineto + -3.7597 0.1312 lineto + -3.762 0.0337 lineto + -3.7616 -0.0645 lineto + -3.7584 -0.1631 lineto + -3.7524 -0.2622 lineto + -3.7434 -0.3616 lineto + -3.7316 -0.4614 lineto + -3.7169 -0.5613 lineto + -3.6991 -0.6614 lineto + -3.6783 -0.7616 lineto + -3.6545 -0.8617 lineto + -3.6275 -0.9617 lineto + -3.5975 -1.0615 lineto + -3.5643 -1.1609 lineto + -3.5279 -1.26 lineto + -3.4883 -1.3586 lineto + -3.4455 -1.4566 lineto + -3.3994 -1.5539 lineto + -3.3501 -1.6503 lineto + -3.2976 -1.7459 lineto + -3.2418 -1.8405 lineto + -3.1827 -1.9339 lineto + -3.1204 -2.0261 lineto + -3.0548 -2.1169 lineto + -2.986 -2.2063 lineto + -2.914 -2.2941 lineto + -2.8387 -2.3802 lineto + -2.7602 -2.4645 lineto + -2.6786 -2.5468 lineto + -2.5938 -2.6271 lineto + -2.5503 -2.6664 lineto + -2.506 -2.7052 lineto + -2.4609 -2.7434 lineto + -2.4151 -2.781 lineto + -2.3685 -2.8179 lineto + -2.3211 -2.8543 lineto + -2.2731 -2.89 lineto + -2.2243 -2.9251 lineto + -2.1747 -2.9595 lineto + -2.1245 -2.9933 lineto + -2.0735 -3.0263 lineto + -2.0218 -3.0586 lineto + -1.9695 -3.0902 lineto + -1.9165 -3.121 lineto + -1.8628 -3.1511 lineto + -1.8084 -3.1804 lineto + -1.7533 -3.2089 lineto + -1.6977 -3.2366 lineto + -1.6414 -3.2635 lineto + -1.5844 -3.2895 lineto + -1.5269 -3.3147 lineto + -1.4688 -3.339 lineto + -1.4101 -3.3625 lineto + -1.3508 -3.385 lineto + -1.2909 -3.4067 lineto + -1.2305 -3.4274 lineto + -1.1696 -3.4471 lineto + -1.1081 -3.466 lineto + -1.0462 -3.4838 lineto + -0.9837 -3.5007 lineto + -0.9208 -3.5165 lineto + -0.8575 -3.5314 lineto + -0.7937 -3.5452 lineto + -0.7294 -3.558 lineto + -0.6648 -3.5698 lineto + -0.5998 -3.5805 lineto + -0.5343 -3.5901 lineto + -0.4686 -3.5986 lineto + -0.4025 -3.606 lineto + -0.3361 -3.6124 lineto + -0.2694 -3.6176 lineto + -0.2024 -3.6216 lineto + -0.1352 -3.6245 lineto + -0.0677 -3.6263 lineto + 0.0 -3.6269 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (1.1579208923731617E77, 3.0) +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (1.1579208923731617E77, -3.0) +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (0.0, 0.0) +newpath + -0.4794 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (-1.0, 0.0) +newpath + -0.4794 0.0 moveto + -0.8415 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.0, 0.0) +newpath + -0.9093 0.0 moveto + -0.9938 0.0 lineto + -0.8415 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.1579208923731617E77, 0.0) +newpath + -0.9093 0.0 moveto + 0.9889 0.0 lineto + -0.9625 0.0 lineto + -0.9093 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (0.0, 1.0) +newpath + -1.4031 -0.4891 moveto + -1.4547 -0.392 lineto + -1.4932 -0.2963 lineto + -1.5199 -0.2028 lineto + -1.536 -0.1123 lineto + -1.5427 -0.0252 lineto + -1.5412 0.0582 lineto + -1.5325 0.1377 lineto + -1.5175 0.2129 lineto + -1.4973 0.284 lineto + -1.4727 0.3509 lineto + -1.4443 0.4137 lineto + -1.4129 0.4725 lineto + -1.379 0.5273 lineto + -1.3432 0.5784 lineto + -1.306 0.6259 lineto + -1.2287 0.7109 lineto + -1.1499 0.7837 lineto + -1.0714 0.8457 lineto + -0.9948 0.8984 lineto + -0.9209 0.9429 lineto + -0.8505 0.9806 lineto + -0.7839 1.0122 lineto + -0.7214 1.0389 lineto + -0.6629 1.0612 lineto + -0.5827 1.0882 lineto + -0.4893 1.1145 lineto + -0.4099 1.133 lineto + -0.3428 1.1458 lineto + -0.2391 1.161 lineto + -0.1663 1.1684 lineto + -0.0803 1.1736 lineto + -0.009 1.1752 lineto + 0.0 1.1752 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (-1.1579208923731617E77, 1.0) +newpath + -1.4031 -0.4891 moveto + -1.3391 -0.584 lineto + -1.3016 -0.6312 lineto + -1.2604 -0.678 lineto + -1.2152 -0.7243 lineto + -1.166 -0.7698 lineto + -1.1126 -0.8143 lineto + -1.055 -0.8576 lineto + -0.9931 -0.8995 lineto + -0.9269 -0.9396 lineto + -0.8563 -0.9777 lineto + -0.7813 -1.0134 lineto + -0.702 -1.0465 lineto + -0.6185 -1.0767 lineto + -0.5307 -1.1035 lineto + -0.439 -1.1266 lineto + -0.3434 -1.1457 lineto + -0.2442 -1.1604 lineto + -0.1417 -1.1702 lineto + -0.0362 -1.1749 lineto + 0.0718 -1.1739 lineto + 0.1819 -1.167 lineto + 0.2934 -1.1538 lineto + 0.4059 -1.1338 lineto + 0.5185 -1.1069 lineto + 0.6026 -1.0819 lineto + 0.6583 -1.0629 lineto + 0.7136 -1.042 lineto + 0.7683 -1.0192 lineto + 0.8224 -0.9944 lineto + 0.8756 -0.9677 lineto + 0.928 -0.939 lineto + 0.9792 -0.9082 lineto + 1.0293 -0.8755 lineto + 1.078 -0.8409 lineto + 1.1252 -0.8042 lineto + 1.1708 -0.7655 lineto + 1.2145 -0.7249 lineto + 1.2563 -0.6824 lineto + 1.2959 -0.638 lineto + 1.3332 -0.5917 lineto + 1.368 -0.5437 lineto + 1.4002 -0.4939 lineto + 1.4296 -0.4424 lineto + 1.456 -0.3893 lineto + 1.4792 -0.3347 lineto + 1.4991 -0.2787 lineto + 1.5155 -0.2213 lineto + 1.5282 -0.1628 lineto + 1.5371 -0.1032 lineto + 1.5421 -0.0426 lineto + 1.5429 0.0187 lineto + 1.5394 0.0807 lineto + 1.5316 0.1431 lineto + 1.5192 0.2058 lineto + 1.5022 0.2686 lineto + 1.4805 0.3313 lineto + 1.4539 0.3937 lineto + 1.4224 0.4555 lineto + 1.386 0.5165 lineto + 1.3446 0.5766 lineto + 1.2982 0.6353 lineto + 1.2468 0.6925 lineto + 1.1903 0.7478 lineto + 1.129 0.8011 lineto + 1.0628 0.852 lineto + 0.9918 0.9003 lineto + 0.9162 0.9456 lineto + 0.8362 0.9877 lineto + 0.7519 1.0263 lineto + 0.6635 1.061 lineto + 0.5714 1.0917 lineto + 0.4757 1.118 lineto + 0.3769 1.1396 lineto + 0.2753 1.1564 lineto + 0.1712 1.1679 lineto + 0.0653 1.1741 lineto + -0.0422 1.1748 lineto + -0.1507 1.1696 lineto + -0.2596 1.1584 lineto + -0.3684 1.1412 lineto + -0.4765 1.1178 lineto + -0.5832 1.088 lineto + -0.6879 1.052 lineto + -0.7899 1.0096 lineto + -0.8884 0.9609 lineto + -0.9828 0.906 lineto + -1.0724 0.845 lineto + -1.1563 0.7782 lineto + -1.2339 0.7057 lineto + -1.3044 0.6279 lineto + -1.3671 0.545 lineto + -1.4213 0.4576 lineto + -1.4663 0.366 lineto + -1.5015 0.2709 lineto + -1.5263 0.1727 lineto + -1.5402 0.0722 lineto + -1.5426 -0.03 lineto + -1.5332 -0.1331 lineto + -1.5116 -0.2363 lineto + -1.4776 -0.3388 lineto + -1.4311 -0.4396 lineto + -1.4031 -0.4891 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (0.0, -1.0) +newpath + -1.4031 0.4891 moveto + -1.4547 0.392 lineto + -1.4932 0.2963 lineto + -1.5199 0.2028 lineto + -1.536 0.1123 lineto + -1.5427 0.0252 lineto + -1.5412 -0.0582 lineto + -1.5325 -0.1377 lineto + -1.5175 -0.2129 lineto + -1.4973 -0.284 lineto + -1.4727 -0.3509 lineto + -1.4443 -0.4137 lineto + -1.4129 -0.4725 lineto + -1.379 -0.5273 lineto + -1.3432 -0.5784 lineto + -1.306 -0.6259 lineto + -1.2287 -0.7109 lineto + -1.1499 -0.7837 lineto + -1.0714 -0.8457 lineto + -0.9948 -0.8984 lineto + -0.9209 -0.9429 lineto + -0.8505 -0.9806 lineto + -0.7839 -1.0122 lineto + -0.7214 -1.0389 lineto + -0.6629 -1.0612 lineto + -0.5827 -1.0882 lineto + -0.4893 -1.1145 lineto + -0.4099 -1.133 lineto + -0.3428 -1.1458 lineto + -0.2391 -1.161 lineto + -0.1663 -1.1684 lineto + -0.0803 -1.1736 lineto + -0.009 -1.1752 lineto + 0.0 -1.1752 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (-1.1579208923731617E77, -1.0) +newpath + -1.4031 0.4891 moveto + -1.3391 0.584 lineto + -1.3016 0.6312 lineto + -1.2604 0.678 lineto + -1.2152 0.7243 lineto + -1.166 0.7698 lineto + -1.1126 0.8143 lineto + -1.055 0.8576 lineto + -0.9931 0.8995 lineto + -0.9269 0.9396 lineto + -0.8563 0.9777 lineto + -0.7813 1.0134 lineto + -0.702 1.0465 lineto + -0.6185 1.0767 lineto + -0.5307 1.1035 lineto + -0.439 1.1266 lineto + -0.3434 1.1457 lineto + -0.2442 1.1604 lineto + -0.1417 1.1702 lineto + -0.0362 1.1749 lineto + 0.0718 1.1739 lineto + 0.1819 1.167 lineto + 0.2934 1.1538 lineto + 0.4059 1.1338 lineto + 0.5185 1.1069 lineto + 0.6026 1.0819 lineto + 0.6583 1.0629 lineto + 0.7136 1.042 lineto + 0.7683 1.0192 lineto + 0.8224 0.9944 lineto + 0.8756 0.9677 lineto + 0.928 0.939 lineto + 0.9792 0.9082 lineto + 1.0293 0.8755 lineto + 1.078 0.8409 lineto + 1.1252 0.8042 lineto + 1.1708 0.7655 lineto + 1.2145 0.7249 lineto + 1.2563 0.6824 lineto + 1.2959 0.638 lineto + 1.3332 0.5917 lineto + 1.368 0.5437 lineto + 1.4002 0.4939 lineto + 1.4296 0.4424 lineto + 1.456 0.3893 lineto + 1.4792 0.3347 lineto + 1.4991 0.2787 lineto + 1.5155 0.2213 lineto + 1.5282 0.1628 lineto + 1.5371 0.1032 lineto + 1.5421 0.0426 lineto + 1.5429 -0.0187 lineto + 1.5394 -0.0807 lineto + 1.5316 -0.1431 lineto + 1.5192 -0.2058 lineto + 1.5022 -0.2686 lineto + 1.4805 -0.3313 lineto + 1.4539 -0.3937 lineto + 1.4224 -0.4555 lineto + 1.386 -0.5165 lineto + 1.3446 -0.5766 lineto + 1.2982 -0.6353 lineto + 1.2468 -0.6925 lineto + 1.1903 -0.7478 lineto + 1.129 -0.8011 lineto + 1.0628 -0.852 lineto + 0.9918 -0.9003 lineto + 0.9162 -0.9456 lineto + 0.8362 -0.9877 lineto + 0.7519 -1.0263 lineto + 0.6635 -1.061 lineto + 0.5714 -1.0917 lineto + 0.4757 -1.118 lineto + 0.3769 -1.1396 lineto + 0.2753 -1.1564 lineto + 0.1712 -1.1679 lineto + 0.0653 -1.1741 lineto + -0.0422 -1.1748 lineto + -0.1507 -1.1696 lineto + -0.2596 -1.1584 lineto + -0.3684 -1.1412 lineto + -0.4765 -1.1178 lineto + -0.5832 -1.088 lineto + -0.6879 -1.052 lineto + -0.7899 -1.0096 lineto + -0.8884 -0.9609 lineto + -0.9828 -0.906 lineto + -1.0724 -0.845 lineto + -1.1563 -0.7782 lineto + -1.2339 -0.7057 lineto + -1.3044 -0.6279 lineto + -1.3671 -0.545 lineto + -1.4213 -0.4576 lineto + -1.4663 -0.366 lineto + -1.5015 -0.2709 lineto + -1.5263 -0.1727 lineto + -1.5402 -0.0722 lineto + -1.5426 0.03 lineto + -1.5332 0.1331 lineto + -1.5116 0.2363 lineto + -1.4776 0.3388 lineto + -1.4311 0.4396 lineto + -1.4031 0.4891 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (-1.1579208923731617E77, 2.0) +newpath + 0.0 3.6269 moveto + -0.0665 3.6263 lineto + -0.1385 3.6244 lineto + -0.1999 3.6217 lineto + -0.2885 3.6162 lineto + -0.3796 3.6083 lineto + -0.4558 3.6001 lineto + -0.547 3.5883 lineto + -0.6562 3.5713 lineto + -0.7185 3.5601 lineto + -0.7866 3.5467 lineto + -0.8609 3.5306 lineto + -0.9419 3.5113 lineto + -1.0302 3.4882 lineto + -1.1263 3.4605 lineto + -1.2307 3.4273 lineto + -1.2862 3.4083 lineto + -1.344 3.3875 lineto + -1.404 3.3648 lineto + -1.4665 3.34 lineto + -1.5314 3.3128 lineto + -1.5987 3.2831 lineto + -1.6685 3.2507 lineto + -1.7409 3.2152 lineto + -1.8158 3.1765 lineto + -1.8932 3.1342 lineto + -1.9731 3.088 lineto + -2.0555 3.0377 lineto + -2.1402 2.9828 lineto + -2.2273 2.923 lineto + -2.3165 2.8578 lineto + -2.4077 2.7869 lineto + -2.4539 2.7491 lineto + -2.5006 2.7098 lineto + -2.5477 2.6687 lineto + -2.5951 2.6259 lineto + -2.6428 2.5813 lineto + -2.6908 2.5348 lineto + -2.739 2.4864 lineto + -2.7873 2.436 lineto + -2.8357 2.3835 lineto + -2.8841 2.3289 lineto + -2.9325 2.272 lineto + -2.9807 2.2129 lineto + -3.0288 2.1514 lineto + -3.0765 2.0875 lineto + -3.1239 2.0211 lineto + -3.1708 1.9521 lineto + -3.217 1.8805 lineto + -3.2625 1.8061 lineto + -3.3072 1.729 lineto + -3.3508 1.649 lineto + -3.3934 1.5661 lineto + -3.4346 1.4802 lineto + -3.4744 1.3913 lineto + -3.5125 1.2993 lineto + -3.5488 1.2042 lineto + -3.5831 1.1058 lineto + -3.6151 1.0043 lineto + -3.6447 0.8995 lineto + -3.6715 0.7914 lineto + -3.6955 0.6801 lineto + -3.7162 0.5655 lineto + -3.7253 0.507 lineto + -3.7334 0.4476 lineto + -3.7407 0.3875 lineto + -3.7469 0.3265 lineto + -3.7522 0.2648 lineto + -3.7563 0.2022 lineto + -3.7594 0.1389 lineto + -3.7614 0.0748 lineto + -3.7622 0.01 lineto + -3.7618 -0.0557 lineto + -3.7601 -0.122 lineto + -3.7571 -0.1891 lineto + -3.7527 -0.2569 lineto + -3.747 -0.3253 lineto + -3.7399 -0.3945 lineto + -3.7312 -0.4643 lineto + -3.7211 -0.5347 lineto + -3.7094 -0.6057 lineto + -3.696 -0.6773 lineto + -3.681 -0.7495 lineto + -3.6643 -0.8222 lineto + -3.6458 -0.8953 lineto + -3.6255 -0.9689 lineto + -3.6033 -1.0429 lineto + -3.5792 -1.1173 lineto + -3.5532 -1.1921 lineto + -3.5251 -1.2671 lineto + -3.495 -1.3423 lineto + -3.4628 -1.4178 lineto + -3.4285 -1.4934 lineto + -3.3919 -1.5691 lineto + -3.3531 -1.6448 lineto + -3.312 -1.7205 lineto + -3.2685 -1.796 lineto + -3.2227 -1.8714 lineto + -3.1744 -1.9466 lineto + -3.1236 -2.0215 lineto + -3.0704 -2.0959 lineto + -3.0145 -2.17 lineto + -2.9561 -2.2434 lineto + -2.8951 -2.3162 lineto + -2.8313 -2.3883 lineto + -2.7649 -2.4596 lineto + -2.6957 -2.5299 lineto + -2.6238 -2.5992 lineto + -2.5491 -2.6674 lineto + -2.4717 -2.7343 lineto + -2.3913 -2.7999 lineto + -2.3082 -2.864 lineto + -2.2222 -2.9266 lineto + -2.1334 -2.9873 lineto + -2.0417 -3.0463 lineto + -1.9472 -3.1033 lineto + -1.8499 -3.1581 lineto + -1.7498 -3.2107 lineto + -1.6468 -3.2609 lineto + -1.5411 -3.3086 lineto + -1.4601 -3.3426 lineto + -1.4052 -3.3644 lineto + -1.3496 -3.3855 lineto + -1.2934 -3.4058 lineto + -1.2365 -3.4254 lineto + -1.179 -3.4442 lineto + -1.1208 -3.4622 lineto + -1.062 -3.4794 lineto + -1.0026 -3.4957 lineto + -0.9426 -3.5112 lineto + -0.8819 -3.5258 lineto + -0.8207 -3.5395 lineto + -0.7589 -3.5523 lineto + -0.6965 -3.5642 lineto + -0.6335 -3.5751 lineto + -0.57 -3.585 lineto + -0.506 -3.5939 lineto + -0.4415 -3.6018 lineto + -0.3764 -3.6087 lineto + -0.3109 -3.6145 lineto + -0.2449 -3.6192 lineto + -0.1784 -3.6228 lineto + -0.1115 -3.6253 lineto + -0.0441 -3.6266 lineto + 0.0236 -3.6268 lineto + 0.0917 -3.6258 lineto + 0.1602 -3.6236 lineto + 0.229 -3.6201 lineto + 0.2981 -3.6155 lineto + 0.3676 -3.6095 lineto + 0.4373 -3.6023 lineto + 0.5072 -3.5937 lineto + 0.5774 -3.5839 lineto + 0.6477 -3.5727 lineto + 0.7183 -3.5601 lineto + 0.789 -3.5462 lineto + 0.8598 -3.5309 lineto + 0.9306 -3.5141 lineto + 1.0016 -3.496 lineto + 1.0725 -3.4764 lineto + 1.1435 -3.4553 lineto + 1.2144 -3.4327 lineto + 1.2852 -3.4087 lineto + 1.3559 -3.3831 lineto + 1.4265 -3.356 lineto + 1.4969 -3.3274 lineto + 1.5671 -3.2972 lineto + 1.637 -3.2655 lineto + 1.7067 -3.2322 lineto + 1.776 -3.1973 lineto + 1.8449 -3.1609 lineto + 1.9134 -3.1228 lineto + 1.9814 -3.0831 lineto + 2.049 -3.0418 lineto + 2.116 -2.9989 lineto + 2.1824 -2.9543 lineto + 2.2481 -2.9081 lineto + 2.3132 -2.8603 lineto + 2.3776 -2.8108 lineto + 2.4412 -2.7597 lineto + 2.5039 -2.7069 lineto + 2.5658 -2.6525 lineto + 2.6268 -2.5965 lineto + 2.6867 -2.5388 lineto + 2.7457 -2.4795 lineto + 2.8036 -2.4186 lineto + 2.8603 -2.356 lineto + 2.9158 -2.2919 lineto + 2.9701 -2.2261 lineto + 3.0231 -2.1588 lineto + 3.0748 -2.0899 lineto + 3.125 -2.0195 lineto + 3.1738 -1.9475 lineto + 3.2211 -1.874 lineto + 3.2668 -1.799 lineto + 3.3108 -1.7225 lineto + 3.3532 -1.6446 lineto + 3.3938 -1.5652 lineto + 3.4326 -1.4845 lineto + 3.4696 -1.4023 lineto + 3.5046 -1.3189 lineto + 3.5377 -1.2341 lineto + 3.5687 -1.1481 lineto + 3.5977 -1.0609 lineto + 3.6244 -0.9725 lineto + 3.649 -0.8829 lineto + 3.6713 -0.7922 lineto + 3.6914 -0.7005 lineto + 3.709 -0.6078 lineto + 3.7242 -0.5142 lineto + 3.7369 -0.4196 lineto + 3.7471 -0.3242 lineto + 3.7547 -0.2281 lineto + 3.7597 -0.1312 lineto + 3.762 -0.0337 lineto + 3.7616 0.0645 lineto + 3.7584 0.1631 lineto + 3.7524 0.2622 lineto + 3.7434 0.3616 lineto + 3.7316 0.4614 lineto + 3.7169 0.5613 lineto + 3.6991 0.6614 lineto + 3.6783 0.7616 lineto + 3.6545 0.8617 lineto + 3.6275 0.9617 lineto + 3.5975 1.0615 lineto + 3.5643 1.1609 lineto + 3.5279 1.26 lineto + 3.4883 1.3586 lineto + 3.4455 1.4566 lineto + 3.3994 1.5539 lineto + 3.3501 1.6503 lineto + 3.2976 1.7459 lineto + 3.2418 1.8405 lineto + 3.1827 1.9339 lineto + 3.1204 2.0261 lineto + 3.0548 2.1169 lineto + 2.986 2.2063 lineto + 2.914 2.2941 lineto + 2.8387 2.3802 lineto + 2.7602 2.4645 lineto + 2.6786 2.5468 lineto + 2.5938 2.6271 lineto + 2.5503 2.6664 lineto + 2.506 2.7052 lineto + 2.4609 2.7434 lineto + 2.4151 2.781 lineto + 2.3685 2.8179 lineto + 2.3211 2.8543 lineto + 2.2731 2.89 lineto + 2.2243 2.9251 lineto + 2.1747 2.9595 lineto + 2.1245 2.9933 lineto + 2.0735 3.0263 lineto + 2.0218 3.0586 lineto + 1.9695 3.0902 lineto + 1.9165 3.121 lineto + 1.8628 3.1511 lineto + 1.8084 3.1804 lineto + 1.7533 3.2089 lineto + 1.6977 3.2366 lineto + 1.6414 3.2635 lineto + 1.5844 3.2895 lineto + 1.5269 3.3147 lineto + 1.4688 3.339 lineto + 1.4101 3.3625 lineto + 1.3508 3.385 lineto + 1.2909 3.4067 lineto + 1.2305 3.4274 lineto + 1.1696 3.4471 lineto + 1.1081 3.466 lineto + 1.0462 3.4838 lineto + 0.9837 3.5007 lineto + 0.9208 3.5165 lineto + 0.8575 3.5314 lineto + 0.7937 3.5452 lineto + 0.7294 3.558 lineto + 0.6648 3.5698 lineto + 0.5998 3.5805 lineto + 0.5343 3.5901 lineto + 0.4686 3.5986 lineto + 0.4025 3.606 lineto + 0.3361 3.6124 lineto + 0.2694 3.6176 lineto + 0.2024 3.6216 lineto + 0.1352 3.6245 lineto + 0.0677 3.6263 lineto + 0.0 3.6269 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (-1.1579208923731617E77, -2.0) +newpath + 0.0 -3.6269 moveto + -0.0665 -3.6263 lineto + -0.1385 -3.6244 lineto + -0.1999 -3.6217 lineto + -0.2885 -3.6162 lineto + -0.3796 -3.6083 lineto + -0.4558 -3.6001 lineto + -0.547 -3.5883 lineto + -0.6562 -3.5713 lineto + -0.7185 -3.5601 lineto + -0.7866 -3.5467 lineto + -0.8609 -3.5306 lineto + -0.9419 -3.5113 lineto + -1.0302 -3.4882 lineto + -1.1263 -3.4605 lineto + -1.2307 -3.4273 lineto + -1.2862 -3.4083 lineto + -1.344 -3.3875 lineto + -1.404 -3.3648 lineto + -1.4665 -3.34 lineto + -1.5314 -3.3128 lineto + -1.5987 -3.2831 lineto + -1.6685 -3.2507 lineto + -1.7409 -3.2152 lineto + -1.8158 -3.1765 lineto + -1.8932 -3.1342 lineto + -1.9731 -3.088 lineto + -2.0555 -3.0377 lineto + -2.1402 -2.9828 lineto + -2.2273 -2.923 lineto + -2.3165 -2.8578 lineto + -2.4077 -2.7869 lineto + -2.4539 -2.7491 lineto + -2.5006 -2.7098 lineto + -2.5477 -2.6687 lineto + -2.5951 -2.6259 lineto + -2.6428 -2.5813 lineto + -2.6908 -2.5348 lineto + -2.739 -2.4864 lineto + -2.7873 -2.436 lineto + -2.8357 -2.3835 lineto + -2.8841 -2.3289 lineto + -2.9325 -2.272 lineto + -2.9807 -2.2129 lineto + -3.0288 -2.1514 lineto + -3.0765 -2.0875 lineto + -3.1239 -2.0211 lineto + -3.1708 -1.9521 lineto + -3.217 -1.8805 lineto + -3.2625 -1.8061 lineto + -3.3072 -1.729 lineto + -3.3508 -1.649 lineto + -3.3934 -1.5661 lineto + -3.4346 -1.4802 lineto + -3.4744 -1.3913 lineto + -3.5125 -1.2993 lineto + -3.5488 -1.2042 lineto + -3.5831 -1.1058 lineto + -3.6151 -1.0043 lineto + -3.6447 -0.8995 lineto + -3.6715 -0.7914 lineto + -3.6955 -0.6801 lineto + -3.7162 -0.5655 lineto + -3.7253 -0.507 lineto + -3.7334 -0.4476 lineto + -3.7407 -0.3875 lineto + -3.7469 -0.3265 lineto + -3.7522 -0.2648 lineto + -3.7563 -0.2022 lineto + -3.7594 -0.1389 lineto + -3.7614 -0.0748 lineto + -3.7622 -0.01 lineto + -3.7618 0.0557 lineto + -3.7601 0.122 lineto + -3.7571 0.1891 lineto + -3.7527 0.2569 lineto + -3.747 0.3253 lineto + -3.7399 0.3945 lineto + -3.7312 0.4643 lineto + -3.7211 0.5347 lineto + -3.7094 0.6057 lineto + -3.696 0.6773 lineto + -3.681 0.7495 lineto + -3.6643 0.8222 lineto + -3.6458 0.8953 lineto + -3.6255 0.9689 lineto + -3.6033 1.0429 lineto + -3.5792 1.1173 lineto + -3.5532 1.1921 lineto + -3.5251 1.2671 lineto + -3.495 1.3423 lineto + -3.4628 1.4178 lineto + -3.4285 1.4934 lineto + -3.3919 1.5691 lineto + -3.3531 1.6448 lineto + -3.312 1.7205 lineto + -3.2685 1.796 lineto + -3.2227 1.8714 lineto + -3.1744 1.9466 lineto + -3.1236 2.0215 lineto + -3.0704 2.0959 lineto + -3.0145 2.17 lineto + -2.9561 2.2434 lineto + -2.8951 2.3162 lineto + -2.8313 2.3883 lineto + -2.7649 2.4596 lineto + -2.6957 2.5299 lineto + -2.6238 2.5992 lineto + -2.5491 2.6674 lineto + -2.4717 2.7343 lineto + -2.3913 2.7999 lineto + -2.3082 2.864 lineto + -2.2222 2.9266 lineto + -2.1334 2.9873 lineto + -2.0417 3.0463 lineto + -1.9472 3.1033 lineto + -1.8499 3.1581 lineto + -1.7498 3.2107 lineto + -1.6468 3.2609 lineto + -1.5411 3.3086 lineto + -1.4601 3.3426 lineto + -1.4052 3.3644 lineto + -1.3496 3.3855 lineto + -1.2934 3.4058 lineto + -1.2365 3.4254 lineto + -1.179 3.4442 lineto + -1.1208 3.4622 lineto + -1.062 3.4794 lineto + -1.0026 3.4957 lineto + -0.9426 3.5112 lineto + -0.8819 3.5258 lineto + -0.8207 3.5395 lineto + -0.7589 3.5523 lineto + -0.6965 3.5642 lineto + -0.6335 3.5751 lineto + -0.57 3.585 lineto + -0.506 3.5939 lineto + -0.4415 3.6018 lineto + -0.3764 3.6087 lineto + -0.3109 3.6145 lineto + -0.2449 3.6192 lineto + -0.1784 3.6228 lineto + -0.1115 3.6253 lineto + -0.0441 3.6266 lineto + 0.0236 3.6268 lineto + 0.0917 3.6258 lineto + 0.1602 3.6236 lineto + 0.229 3.6201 lineto + 0.2981 3.6155 lineto + 0.3676 3.6095 lineto + 0.4373 3.6023 lineto + 0.5072 3.5937 lineto + 0.5774 3.5839 lineto + 0.6477 3.5727 lineto + 0.7183 3.5601 lineto + 0.789 3.5462 lineto + 0.8598 3.5309 lineto + 0.9306 3.5141 lineto + 1.0016 3.496 lineto + 1.0725 3.4764 lineto + 1.1435 3.4553 lineto + 1.2144 3.4327 lineto + 1.2852 3.4087 lineto + 1.3559 3.3831 lineto + 1.4265 3.356 lineto + 1.4969 3.3274 lineto + 1.5671 3.2972 lineto + 1.637 3.2655 lineto + 1.7067 3.2322 lineto + 1.776 3.1973 lineto + 1.8449 3.1609 lineto + 1.9134 3.1228 lineto + 1.9814 3.0831 lineto + 2.049 3.0418 lineto + 2.116 2.9989 lineto + 2.1824 2.9543 lineto + 2.2481 2.9081 lineto + 2.3132 2.8603 lineto + 2.3776 2.8108 lineto + 2.4412 2.7597 lineto + 2.5039 2.7069 lineto + 2.5658 2.6525 lineto + 2.6268 2.5965 lineto + 2.6867 2.5388 lineto + 2.7457 2.4795 lineto + 2.8036 2.4186 lineto + 2.8603 2.356 lineto + 2.9158 2.2919 lineto + 2.9701 2.2261 lineto + 3.0231 2.1588 lineto + 3.0748 2.0899 lineto + 3.125 2.0195 lineto + 3.1738 1.9475 lineto + 3.2211 1.874 lineto + 3.2668 1.799 lineto + 3.3108 1.7225 lineto + 3.3532 1.6446 lineto + 3.3938 1.5652 lineto + 3.4326 1.4845 lineto + 3.4696 1.4023 lineto + 3.5046 1.3189 lineto + 3.5377 1.2341 lineto + 3.5687 1.1481 lineto + 3.5977 1.0609 lineto + 3.6244 0.9725 lineto + 3.649 0.8829 lineto + 3.6713 0.7922 lineto + 3.6914 0.7005 lineto + 3.709 0.6078 lineto + 3.7242 0.5142 lineto + 3.7369 0.4196 lineto + 3.7471 0.3242 lineto + 3.7547 0.2281 lineto + 3.7597 0.1312 lineto + 3.762 0.0337 lineto + 3.7616 -0.0645 lineto + 3.7584 -0.1631 lineto + 3.7524 -0.2622 lineto + 3.7434 -0.3616 lineto + 3.7316 -0.4614 lineto + 3.7169 -0.5613 lineto + 3.6991 -0.6614 lineto + 3.6783 -0.7616 lineto + 3.6545 -0.8617 lineto + 3.6275 -0.9617 lineto + 3.5975 -1.0615 lineto + 3.5643 -1.1609 lineto + 3.5279 -1.26 lineto + 3.4883 -1.3586 lineto + 3.4455 -1.4566 lineto + 3.3994 -1.5539 lineto + 3.3501 -1.6503 lineto + 3.2976 -1.7459 lineto + 3.2418 -1.8405 lineto + 3.1827 -1.9339 lineto + 3.1204 -2.0261 lineto + 3.0548 -2.1169 lineto + 2.986 -2.2063 lineto + 2.914 -2.2941 lineto + 2.8387 -2.3802 lineto + 2.7602 -2.4645 lineto + 2.6786 -2.5468 lineto + 2.5938 -2.6271 lineto + 2.5503 -2.6664 lineto + 2.506 -2.7052 lineto + 2.4609 -2.7434 lineto + 2.4151 -2.781 lineto + 2.3685 -2.8179 lineto + 2.3211 -2.8543 lineto + 2.2731 -2.89 lineto + 2.2243 -2.9251 lineto + 2.1747 -2.9595 lineto + 2.1245 -2.9933 lineto + 2.0735 -3.0263 lineto + 2.0218 -3.0586 lineto + 1.9695 -3.0902 lineto + 1.9165 -3.121 lineto + 1.8628 -3.1511 lineto + 1.8084 -3.1804 lineto + 1.7533 -3.2089 lineto + 1.6977 -3.2366 lineto + 1.6414 -3.2635 lineto + 1.5844 -3.2895 lineto + 1.5269 -3.3147 lineto + 1.4688 -3.339 lineto + 1.4101 -3.3625 lineto + 1.3508 -3.385 lineto + 1.2909 -3.4067 lineto + 1.2305 -3.4274 lineto + 1.1696 -3.4471 lineto + 1.1081 -3.466 lineto + 1.0462 -3.4838 lineto + 0.9837 -3.5007 lineto + 0.9208 -3.5165 lineto + 0.8575 -3.5314 lineto + 0.7937 -3.5452 lineto + 0.7294 -3.558 lineto + 0.6648 -3.5698 lineto + 0.5998 -3.5805 lineto + 0.5343 -3.5901 lineto + 0.4686 -3.5986 lineto + 0.4025 -3.606 lineto + 0.3361 -3.6124 lineto + 0.2694 -3.6176 lineto + 0.2024 -3.6216 lineto + 0.1352 -3.6245 lineto + 0.0677 -3.6263 lineto + 0.0 -3.6269 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (-1.1579208923731617E77, 3.0) +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (-1.1579208923731617E77, -3.0) +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 0.0) +newpath + 0.0 0.5211 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 1.0) +newpath + 0.0 0.5211 moveto + 0.0 1.1752 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.0) +newpath + 0.0 3.6269 moveto + 0.0 1.1752 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.1579208923731617E77) +newpath + 0.0 3.6269 moveto + 0.0 6.3767 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 0.0) +newpath + 3.1658 1.9596 moveto + 3.0974 1.914 lineto + 3.0313 1.8699 lineto + 2.9675 1.8272 lineto + 2.9059 1.7859 lineto + 2.8463 1.7459 lineto + 2.7887 1.7072 lineto + 2.7331 1.6696 lineto + 2.6792 1.6333 lineto + 2.6271 1.598 lineto + 2.5768 1.5638 lineto + 2.528 1.5307 lineto + 2.4352 1.4673 lineto + 2.3481 1.4076 lineto + 2.2665 1.3513 lineto + 2.1899 1.2982 lineto + 2.1179 1.2479 lineto + 2.0502 1.2005 lineto + 1.9866 1.1555 lineto + 1.9267 1.1129 lineto + 1.8703 1.0725 lineto + 1.8172 1.0342 lineto + 1.7671 0.9977 lineto + 1.6972 0.9464 lineto + 1.613 0.8836 lineto + 1.5377 0.8264 lineto + 1.4704 0.7743 lineto + 1.4102 0.7266 lineto + 1.3561 0.6828 lineto + 1.3075 0.6426 lineto + 1.2244 0.5711 lineto + 1.1569 0.5098 lineto + 1.1017 0.4566 lineto + 1.0566 0.4103 lineto + 1.0035 0.3511 lineto + 0.9529 0.2871 lineto + 0.9054 0.2145 lineto + 0.8721 0.147 lineto + 0.8517 0.0844 lineto + 0.8415 0.0032 lineto + 0.8415 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 1.1579208923731617E77) +newpath + 3.1658 1.9596 moveto + 3.233 2.0043 lineto + 3.3025 2.0505 lineto + 3.3744 2.0982 lineto + 3.4488 2.1475 lineto + 3.5258 2.1984 lineto + 3.6054 2.2511 lineto + 3.6879 2.3055 lineto + 3.7732 2.3618 lineto + 3.8617 2.42 lineto + 3.9533 2.4802 lineto + 4.0482 2.5425 lineto + 4.1466 2.6071 lineto + 4.2486 2.6739 lineto + 4.3543 2.7432 lineto + 4.464 2.8149 lineto + 4.5778 2.8893 lineto + 4.6959 2.9664 lineto + 4.8185 3.0464 lineto + 4.9457 3.1293 lineto + 5.0779 3.2154 lineto + 5.2152 3.3048 lineto + 5.3579 3.3976 lineto + 5.4398 3.4507 lineto + 5.4317 3.4634 lineto + 6.378103166302659 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 0.0) +newpath + -3.1658 1.9596 moveto + -3.0974 1.914 lineto + -3.0313 1.8699 lineto + -2.9675 1.8272 lineto + -2.9059 1.7859 lineto + -2.8463 1.7459 lineto + -2.7887 1.7072 lineto + -2.7331 1.6696 lineto + -2.6792 1.6333 lineto + -2.6271 1.598 lineto + -2.5768 1.5638 lineto + -2.528 1.5307 lineto + -2.4352 1.4673 lineto + -2.3481 1.4076 lineto + -2.2665 1.3513 lineto + -2.1899 1.2982 lineto + -2.1179 1.2479 lineto + -2.0502 1.2005 lineto + -1.9866 1.1555 lineto + -1.9267 1.1129 lineto + -1.8703 1.0725 lineto + -1.8172 1.0342 lineto + -1.7671 0.9977 lineto + -1.6972 0.9464 lineto + -1.613 0.8836 lineto + -1.5377 0.8264 lineto + -1.4704 0.7743 lineto + -1.4102 0.7266 lineto + -1.3561 0.6828 lineto + -1.3075 0.6426 lineto + -1.2244 0.5711 lineto + -1.1569 0.5098 lineto + -1.1017 0.4566 lineto + -1.0566 0.4103 lineto + -1.0035 0.3511 lineto + -0.9529 0.2871 lineto + -0.9054 0.2145 lineto + -0.8721 0.147 lineto + -0.8517 0.0844 lineto + -0.8415 0.0032 lineto + -0.8415 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 1.1579208923731617E77) +newpath + -3.1658 1.9596 moveto + -3.233 2.0043 lineto + -3.3025 2.0505 lineto + -3.3744 2.0982 lineto + -3.4488 2.1475 lineto + -3.5258 2.1984 lineto + -3.6054 2.2511 lineto + -3.6879 2.3055 lineto + -3.7732 2.3618 lineto + -3.8617 2.42 lineto + -3.9533 2.4802 lineto + -4.0482 2.5425 lineto + -4.1466 2.6071 lineto + -4.2486 2.6739 lineto + -4.3543 2.7432 lineto + -4.464 2.8149 lineto + -4.5778 2.8893 lineto + -4.6959 2.9664 lineto + -4.8185 3.0464 lineto + -4.9457 3.1293 lineto + -5.0779 3.2154 lineto + -5.2152 3.3048 lineto + -5.3579 3.3976 lineto + -5.4398 3.4507 lineto + -5.4317 3.4634 lineto + -6.378103166302659 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, 1.1579208923731617E77) +newpath + 0.9093 0.0 moveto + 0.9301 -0.0896 lineto + 0.9723 -0.1575 lineto + 1.0193 -0.2108 lineto + 1.0693 -0.2575 lineto + 1.143 -0.317 lineto + 1.1923 -0.3529 lineto + 1.2525 -0.3942 lineto + 1.3263 -0.4419 lineto + 1.4173 -0.4975 lineto + 1.4705 -0.5289 lineto + 1.5297 -0.563 lineto + 1.5958 -0.6002 lineto + 1.6696 -0.6408 lineto + 1.7521 -0.6854 lineto + 1.8446 -0.7345 lineto + 1.9214 -0.7746 lineto + 1.9765 -0.8031 lineto + 2.0349 -0.8331 lineto + 2.0969 -0.8648 lineto + 2.1628 -0.8981 lineto + 2.2329 -0.9333 lineto + 2.3074 -0.9705 lineto + 2.3867 -1.0099 lineto + 2.4711 -1.0516 lineto + 2.5611 -1.0957 lineto + 2.6571 -1.1426 lineto + 2.7595 -1.1924 lineto + 2.8133 -1.2184 lineto + 2.8689 -1.2453 lineto + 2.9264 -1.273 lineto + 2.9859 -1.3016 lineto + 3.0474 -1.3311 lineto + 3.1111 -1.3616 lineto + 3.1769 -1.3931 lineto + 3.2451 -1.4256 lineto + 3.3156 -1.4592 lineto + 3.3887 -1.494 lineto + 3.4644 -1.5299 lineto + 3.5428 -1.5671 lineto + 3.624 -1.6055 lineto + 3.7082 -1.6453 lineto + 3.7954 -1.6864 lineto + 3.8859 -1.7291 lineto + 3.9798 -1.7732 lineto + 4.0772 -1.819 lineto + 4.1783 -1.8664 lineto + 4.31 -1.9281 lineto + 4.42 -1.9796 lineto + 4.5342 -2.0329 lineto + 4.6528 -2.0883 lineto + 4.7761 -2.1459 lineto + 4.9043 -2.2056 lineto + 5.0376 -2.2676 lineto + 5.1762 -2.3321 lineto + 5.3205 -2.3991 lineto + 5.4706 -2.4688 lineto + 5.6268 -2.5413 lineto + 5.7896 -2.6168 lineto + 5.8696 -2.6544 lineto + 6.378103166302659 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, 1.1579208923731617E77) +newpath + -0.9093 0.0 moveto + -0.9301 -0.0896 lineto + -0.9723 -0.1575 lineto + -1.0193 -0.2108 lineto + -1.0693 -0.2575 lineto + -1.143 -0.317 lineto + -1.1923 -0.3529 lineto + -1.2525 -0.3942 lineto + -1.3263 -0.4419 lineto + -1.4173 -0.4975 lineto + -1.4705 -0.5289 lineto + -1.5297 -0.563 lineto + -1.5958 -0.6002 lineto + -1.6696 -0.6408 lineto + -1.7521 -0.6854 lineto + -1.8446 -0.7345 lineto + -1.9214 -0.7746 lineto + -1.9765 -0.8031 lineto + -2.0349 -0.8331 lineto + -2.0969 -0.8648 lineto + -2.1628 -0.8981 lineto + -2.2329 -0.9333 lineto + -2.3074 -0.9705 lineto + -2.3867 -1.0099 lineto + -2.4711 -1.0516 lineto + -2.5611 -1.0957 lineto + -2.6571 -1.1426 lineto + -2.7595 -1.1924 lineto + -2.8133 -1.2184 lineto + -2.8689 -1.2453 lineto + -2.9264 -1.273 lineto + -2.9859 -1.3016 lineto + -3.0474 -1.3311 lineto + -3.1111 -1.3616 lineto + -3.1769 -1.3931 lineto + -3.2451 -1.4256 lineto + -3.3156 -1.4592 lineto + -3.3887 -1.494 lineto + -3.4644 -1.5299 lineto + -3.5428 -1.5671 lineto + -3.624 -1.6055 lineto + -3.7082 -1.6453 lineto + -3.7954 -1.6864 lineto + -3.8859 -1.7291 lineto + -3.9798 -1.7732 lineto + -4.0772 -1.819 lineto + -4.1783 -1.8664 lineto + -4.31 -1.9281 lineto + -4.42 -1.9796 lineto + -4.5342 -2.0329 lineto + -4.6528 -2.0883 lineto + -4.7761 -2.1459 lineto + -4.9043 -2.2056 lineto + -5.0376 -2.2676 lineto + -5.1762 -2.3321 lineto + -5.3205 -2.3991 lineto + -5.4706 -2.4688 lineto + -5.6268 -2.5413 lineto + -5.7896 -2.6168 lineto + -5.8696 -2.6544 lineto + -6.378103166302659 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, 1.1579208923731617E77) +newpath + 0.1411 0.0 moveto + 0.1419 -0.1019 lineto + 0.1434 -0.1771 lineto + 0.1458 -0.2568 lineto + 0.1492 -0.3407 lineto + 0.1529 -0.4126 lineto + 0.1582 -0.5015 lineto + 0.1637 -0.5824 lineto + 0.1684 -0.6448 lineto + 0.1741 -0.7153 lineto + 0.181 -0.7954 lineto + 0.1895 -0.887 lineto + 0.1998 -0.9924 lineto + 0.2058 -1.0513 lineto + 0.2125 -1.1148 lineto + 0.22 -1.1836 lineto + 0.2282 -1.2582 lineto + 0.2374 -1.3393 lineto + 0.2477 -1.4277 lineto + 0.2591 -1.5245 lineto + 0.2719 -1.6306 lineto + 0.2825 -1.7171 lineto + 0.2901 -1.7784 lineto + 0.2982 -1.8428 lineto + 0.3067 -1.9106 lineto + 0.3158 -1.982 lineto + 0.3254 -2.0572 lineto + 0.3357 -2.1365 lineto + 0.3465 -2.2203 lineto + 0.3581 -2.3088 lineto + 0.3704 -2.4025 lineto + 0.3835 -2.5016 lineto + 0.3975 -2.6067 lineto + 0.4124 -2.7182 lineto + 0.4283 -2.8366 lineto + 0.4453 -2.9625 lineto + 0.4634 -3.0965 lineto + 0.4778 -3.2027 lineto + 0.493 -3.3141 lineto + 0.5091 -3.4312 lineto + 0.5259 -3.5541 lineto + 0.5437 -3.6834 lineto + 0.5624 -3.8194 lineto + 0.5822 -3.9625 lineto + 0.6031 -4.1133 lineto + 0.6251 -4.2723 lineto + 0.6485 -4.44 lineto + 0.6774 -4.6475 lineto + 0.7082 -4.8688 lineto + 0.7412 -5.1049 lineto + 0.7766 -5.3571 lineto + 0.8144 -5.6269 lineto + 0.849 -5.8732 lineto + 0.8858 -6.1345 lineto + 0.905 -6.2711 lineto + 0.9198 -6.3759 lineto + 3.8537 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, 1.1579208923731617E77) +newpath + -0.1411 0.0 moveto + -0.1419 -0.1019 lineto + -0.1434 -0.1771 lineto + -0.1458 -0.2568 lineto + -0.1492 -0.3407 lineto + -0.1529 -0.4126 lineto + -0.1582 -0.5015 lineto + -0.1637 -0.5824 lineto + -0.1684 -0.6448 lineto + -0.1741 -0.7153 lineto + -0.181 -0.7954 lineto + -0.1895 -0.887 lineto + -0.1998 -0.9924 lineto + -0.2058 -1.0513 lineto + -0.2125 -1.1148 lineto + -0.22 -1.1836 lineto + -0.2282 -1.2582 lineto + -0.2374 -1.3393 lineto + -0.2477 -1.4277 lineto + -0.2591 -1.5245 lineto + -0.2719 -1.6306 lineto + -0.2825 -1.7171 lineto + -0.2901 -1.7784 lineto + -0.2982 -1.8428 lineto + -0.3067 -1.9106 lineto + -0.3158 -1.982 lineto + -0.3254 -2.0572 lineto + -0.3357 -2.1365 lineto + -0.3465 -2.2203 lineto + -0.3581 -2.3088 lineto + -0.3704 -2.4025 lineto + -0.3835 -2.5016 lineto + -0.3975 -2.6067 lineto + -0.4124 -2.7182 lineto + -0.4283 -2.8366 lineto + -0.4453 -2.9625 lineto + -0.4634 -3.0965 lineto + -0.4778 -3.2027 lineto + -0.493 -3.3141 lineto + -0.5091 -3.4312 lineto + -0.5259 -3.5541 lineto + -0.5437 -3.6834 lineto + -0.5624 -3.8194 lineto + -0.5822 -3.9625 lineto + -0.6031 -4.1133 lineto + -0.6251 -4.2723 lineto + -0.6485 -4.44 lineto + -0.6774 -4.6475 lineto + -0.7082 -4.8688 lineto + -0.7412 -5.1049 lineto + -0.7766 -5.3571 lineto + -0.8144 -5.6269 lineto + -0.849 -5.8732 lineto + -0.8858 -6.1345 lineto + -0.905 -6.2711 lineto + -0.9198 -6.3759 lineto + -3.8537 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, 0.0) +newpath + 0.0 -0.5211 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, -1.0) +newpath + 0.0 -0.5211 moveto + 0.0 -1.1752 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.0) +newpath + 0.0 -3.6269 moveto + 0.0 -1.1752 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.1579208923731617E77) +newpath + 0.0 -3.6269 moveto + 0.0 -6.3767 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, 0.0) +newpath + 3.1658 -1.9596 moveto + 3.0974 -1.914 lineto + 3.0313 -1.8699 lineto + 2.9675 -1.8272 lineto + 2.9059 -1.7859 lineto + 2.8463 -1.7459 lineto + 2.7887 -1.7072 lineto + 2.7331 -1.6696 lineto + 2.6792 -1.6333 lineto + 2.6271 -1.598 lineto + 2.5768 -1.5638 lineto + 2.528 -1.5307 lineto + 2.4352 -1.4673 lineto + 2.3481 -1.4076 lineto + 2.2665 -1.3513 lineto + 2.1899 -1.2982 lineto + 2.1179 -1.2479 lineto + 2.0502 -1.2005 lineto + 1.9866 -1.1555 lineto + 1.9267 -1.1129 lineto + 1.8703 -1.0725 lineto + 1.8172 -1.0342 lineto + 1.7671 -0.9977 lineto + 1.6972 -0.9464 lineto + 1.613 -0.8836 lineto + 1.5377 -0.8264 lineto + 1.4704 -0.7743 lineto + 1.4102 -0.7266 lineto + 1.3561 -0.6828 lineto + 1.3075 -0.6426 lineto + 1.2244 -0.5711 lineto + 1.1569 -0.5098 lineto + 1.1017 -0.4566 lineto + 1.0566 -0.4103 lineto + 1.0035 -0.3511 lineto + 0.9529 -0.2871 lineto + 0.9054 -0.2145 lineto + 0.8721 -0.147 lineto + 0.8517 -0.0844 lineto + 0.8415 -0.0032 lineto + 0.8415 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, -1.1579208923731617E77) +newpath + 3.1658 -1.9596 moveto + 3.233 -2.0043 lineto + 3.3025 -2.0505 lineto + 3.3744 -2.0982 lineto + 3.4488 -2.1475 lineto + 3.5258 -2.1984 lineto + 3.6054 -2.2511 lineto + 3.6879 -2.3055 lineto + 3.7732 -2.3618 lineto + 3.8617 -2.42 lineto + 3.9533 -2.4802 lineto + 4.0482 -2.5425 lineto + 4.1466 -2.6071 lineto + 4.2486 -2.6739 lineto + 4.3543 -2.7432 lineto + 4.464 -2.8149 lineto + 4.5778 -2.8893 lineto + 4.6959 -2.9664 lineto + 4.8185 -3.0464 lineto + 4.9457 -3.1293 lineto + 5.0779 -3.2154 lineto + 5.2152 -3.3048 lineto + 5.3579 -3.3976 lineto + 5.4398 -3.4507 lineto + 5.4317 -3.4634 lineto + 6.378103166302659 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, 0.0) +newpath + -3.1658 -1.9596 moveto + -3.0974 -1.914 lineto + -3.0313 -1.8699 lineto + -2.9675 -1.8272 lineto + -2.9059 -1.7859 lineto + -2.8463 -1.7459 lineto + -2.7887 -1.7072 lineto + -2.7331 -1.6696 lineto + -2.6792 -1.6333 lineto + -2.6271 -1.598 lineto + -2.5768 -1.5638 lineto + -2.528 -1.5307 lineto + -2.4352 -1.4673 lineto + -2.3481 -1.4076 lineto + -2.2665 -1.3513 lineto + -2.1899 -1.2982 lineto + -2.1179 -1.2479 lineto + -2.0502 -1.2005 lineto + -1.9866 -1.1555 lineto + -1.9267 -1.1129 lineto + -1.8703 -1.0725 lineto + -1.8172 -1.0342 lineto + -1.7671 -0.9977 lineto + -1.6972 -0.9464 lineto + -1.613 -0.8836 lineto + -1.5377 -0.8264 lineto + -1.4704 -0.7743 lineto + -1.4102 -0.7266 lineto + -1.3561 -0.6828 lineto + -1.3075 -0.6426 lineto + -1.2244 -0.5711 lineto + -1.1569 -0.5098 lineto + -1.1017 -0.4566 lineto + -1.0566 -0.4103 lineto + -1.0035 -0.3511 lineto + -0.9529 -0.2871 lineto + -0.9054 -0.2145 lineto + -0.8721 -0.147 lineto + -0.8517 -0.0844 lineto + -0.8415 -0.0032 lineto + -0.8415 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, -1.1579208923731617E77) +newpath + -3.1658 -1.9596 moveto + -3.233 -2.0043 lineto + -3.3025 -2.0505 lineto + -3.3744 -2.0982 lineto + -3.4488 -2.1475 lineto + -3.5258 -2.1984 lineto + -3.6054 -2.2511 lineto + -3.6879 -2.3055 lineto + -3.7732 -2.3618 lineto + -3.8617 -2.42 lineto + -3.9533 -2.4802 lineto + -4.0482 -2.5425 lineto + -4.1466 -2.6071 lineto + -4.2486 -2.6739 lineto + -4.3543 -2.7432 lineto + -4.464 -2.8149 lineto + -4.5778 -2.8893 lineto + -4.6959 -2.9664 lineto + -4.8185 -3.0464 lineto + -4.9457 -3.1293 lineto + -5.0779 -3.2154 lineto + -5.2152 -3.3048 lineto + -5.3579 -3.3976 lineto + -5.4398 -3.4507 lineto + -5.4317 -3.4634 lineto + -6.378103166302659 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, -1.1579208923731617E77) +newpath + 0.9093 0.0 moveto + 0.9301 0.0896 lineto + 0.9723 0.1575 lineto + 1.0193 0.2108 lineto + 1.0693 0.2575 lineto + 1.143 0.317 lineto + 1.1923 0.3529 lineto + 1.2525 0.3942 lineto + 1.3263 0.4419 lineto + 1.4173 0.4975 lineto + 1.4705 0.5289 lineto + 1.5297 0.563 lineto + 1.5958 0.6002 lineto + 1.6696 0.6408 lineto + 1.7521 0.6854 lineto + 1.8446 0.7345 lineto + 1.9214 0.7746 lineto + 1.9765 0.8031 lineto + 2.0349 0.8331 lineto + 2.0969 0.8648 lineto + 2.1628 0.8981 lineto + 2.2329 0.9333 lineto + 2.3074 0.9705 lineto + 2.3867 1.0099 lineto + 2.4711 1.0516 lineto + 2.5611 1.0957 lineto + 2.6571 1.1426 lineto + 2.7595 1.1924 lineto + 2.8133 1.2184 lineto + 2.8689 1.2453 lineto + 2.9264 1.273 lineto + 2.9859 1.3016 lineto + 3.0474 1.3311 lineto + 3.1111 1.3616 lineto + 3.1769 1.3931 lineto + 3.2451 1.4256 lineto + 3.3156 1.4592 lineto + 3.3887 1.494 lineto + 3.4644 1.5299 lineto + 3.5428 1.5671 lineto + 3.624 1.6055 lineto + 3.7082 1.6453 lineto + 3.7954 1.6864 lineto + 3.8859 1.7291 lineto + 3.9798 1.7732 lineto + 4.0772 1.819 lineto + 4.1783 1.8664 lineto + 4.31 1.9281 lineto + 4.42 1.9796 lineto + 4.5342 2.0329 lineto + 4.6528 2.0883 lineto + 4.7761 2.1459 lineto + 4.9043 2.2056 lineto + 5.0376 2.2676 lineto + 5.1762 2.3321 lineto + 5.3205 2.3991 lineto + 5.4706 2.4688 lineto + 5.6268 2.5413 lineto + 5.7896 2.6168 lineto + 5.8696 2.6544 lineto + 6.378103166302659 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, -1.1579208923731617E77) +newpath + -0.9093 0.0 moveto + -0.9301 0.0896 lineto + -0.9723 0.1575 lineto + -1.0193 0.2108 lineto + -1.0693 0.2575 lineto + -1.143 0.317 lineto + -1.1923 0.3529 lineto + -1.2525 0.3942 lineto + -1.3263 0.4419 lineto + -1.4173 0.4975 lineto + -1.4705 0.5289 lineto + -1.5297 0.563 lineto + -1.5958 0.6002 lineto + -1.6696 0.6408 lineto + -1.7521 0.6854 lineto + -1.8446 0.7345 lineto + -1.9214 0.7746 lineto + -1.9765 0.8031 lineto + -2.0349 0.8331 lineto + -2.0969 0.8648 lineto + -2.1628 0.8981 lineto + -2.2329 0.9333 lineto + -2.3074 0.9705 lineto + -2.3867 1.0099 lineto + -2.4711 1.0516 lineto + -2.5611 1.0957 lineto + -2.6571 1.1426 lineto + -2.7595 1.1924 lineto + -2.8133 1.2184 lineto + -2.8689 1.2453 lineto + -2.9264 1.273 lineto + -2.9859 1.3016 lineto + -3.0474 1.3311 lineto + -3.1111 1.3616 lineto + -3.1769 1.3931 lineto + -3.2451 1.4256 lineto + -3.3156 1.4592 lineto + -3.3887 1.494 lineto + -3.4644 1.5299 lineto + -3.5428 1.5671 lineto + -3.624 1.6055 lineto + -3.7082 1.6453 lineto + -3.7954 1.6864 lineto + -3.8859 1.7291 lineto + -3.9798 1.7732 lineto + -4.0772 1.819 lineto + -4.1783 1.8664 lineto + -4.31 1.9281 lineto + -4.42 1.9796 lineto + -4.5342 2.0329 lineto + -4.6528 2.0883 lineto + -4.7761 2.1459 lineto + -4.9043 2.2056 lineto + -5.0376 2.2676 lineto + -5.1762 2.3321 lineto + -5.3205 2.3991 lineto + -5.4706 2.4688 lineto + -5.6268 2.5413 lineto + -5.7896 2.6168 lineto + -5.8696 2.6544 lineto + -6.378103166302659 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, -1.1579208923731617E77) +newpath + 0.1411 0.0 moveto + 0.1419 0.1019 lineto + 0.1434 0.1771 lineto + 0.1458 0.2568 lineto + 0.1492 0.3407 lineto + 0.1529 0.4126 lineto + 0.1582 0.5015 lineto + 0.1637 0.5824 lineto + 0.1684 0.6448 lineto + 0.1741 0.7153 lineto + 0.181 0.7954 lineto + 0.1895 0.887 lineto + 0.1998 0.9924 lineto + 0.2058 1.0513 lineto + 0.2125 1.1148 lineto + 0.22 1.1836 lineto + 0.2282 1.2582 lineto + 0.2374 1.3393 lineto + 0.2477 1.4277 lineto + 0.2591 1.5245 lineto + 0.2719 1.6306 lineto + 0.2825 1.7171 lineto + 0.2901 1.7784 lineto + 0.2982 1.8428 lineto + 0.3067 1.9106 lineto + 0.3158 1.982 lineto + 0.3254 2.0572 lineto + 0.3357 2.1365 lineto + 0.3465 2.2203 lineto + 0.3581 2.3088 lineto + 0.3704 2.4025 lineto + 0.3835 2.5016 lineto + 0.3975 2.6067 lineto + 0.4124 2.7182 lineto + 0.4283 2.8366 lineto + 0.4453 2.9625 lineto + 0.4634 3.0965 lineto + 0.4778 3.2027 lineto + 0.493 3.3141 lineto + 0.5091 3.4312 lineto + 0.5259 3.5541 lineto + 0.5437 3.6834 lineto + 0.5624 3.8194 lineto + 0.5822 3.9625 lineto + 0.6031 4.1133 lineto + 0.6251 4.2723 lineto + 0.6485 4.44 lineto + 0.6774 4.6475 lineto + 0.7082 4.8688 lineto + 0.7412 5.1049 lineto + 0.7766 5.3571 lineto + 0.8144 5.6269 lineto + 0.849 5.8732 lineto + 0.8858 6.1345 lineto + 0.905 6.2711 lineto + 0.9198 6.3759 lineto + 3.8537 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, -1.1579208923731617E77) +newpath + -0.1411 0.0 moveto + -0.1419 0.1019 lineto + -0.1434 0.1771 lineto + -0.1458 0.2568 lineto + -0.1492 0.3407 lineto + -0.1529 0.4126 lineto + -0.1582 0.5015 lineto + -0.1637 0.5824 lineto + -0.1684 0.6448 lineto + -0.1741 0.7153 lineto + -0.181 0.7954 lineto + -0.1895 0.887 lineto + -0.1998 0.9924 lineto + -0.2058 1.0513 lineto + -0.2125 1.1148 lineto + -0.22 1.1836 lineto + -0.2282 1.2582 lineto + -0.2374 1.3393 lineto + -0.2477 1.4277 lineto + -0.2591 1.5245 lineto + -0.2719 1.6306 lineto + -0.2825 1.7171 lineto + -0.2901 1.7784 lineto + -0.2982 1.8428 lineto + -0.3067 1.9106 lineto + -0.3158 1.982 lineto + -0.3254 2.0572 lineto + -0.3357 2.1365 lineto + -0.3465 2.2203 lineto + -0.3581 2.3088 lineto + -0.3704 2.4025 lineto + -0.3835 2.5016 lineto + -0.3975 2.6067 lineto + -0.4124 2.7182 lineto + -0.4283 2.8366 lineto + -0.4453 2.9625 lineto + -0.4634 3.0965 lineto + -0.4778 3.2027 lineto + -0.493 3.3141 lineto + -0.5091 3.4312 lineto + -0.5259 3.5541 lineto + -0.5437 3.6834 lineto + -0.5624 3.8194 lineto + -0.5822 3.9625 lineto + -0.6031 4.1133 lineto + -0.6251 4.2723 lineto + -0.6485 4.44 lineto + -0.6774 4.6475 lineto + -0.7082 4.8688 lineto + -0.7412 5.1049 lineto + -0.7766 5.3571 lineto + -0.8144 5.6269 lineto + -0.849 5.8732 lineto + -0.8858 6.1345 lineto + -0.905 6.2711 lineto + -0.9198 6.3759 lineto + -3.8537 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Real axis +newpath -5 0 moveto 5 0 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 1.0 0.12 moveto 1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.0 0.12 moveto -1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 2.0 0.12 moveto 2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -2.0 0.12 moveto -2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.0 0.12 moveto 3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.0 0.12 moveto -3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 4.0 0.12 moveto 4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -4.0 0.12 moveto -4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 1.5707963267948966 0.09 moveto 1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.5707963267948966 0.09 moveto -1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.141592653589793 0.09 moveto 3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.141592653589793 0.09 moveto -3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +% Imaginary axis +newpath 0 -5 moveto 0 5 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 0.12 1.0 moveto -0.12 1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -1.0 moveto -0.12 -1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 2.0 moveto -0.12 2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -2.0 moveto -0.12 -2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 3.0 moveto -0.12 3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -3.0 moveto -0.12 -3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 4.0 moveto -0.12 4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -4.0 moveto -0.12 -4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 1.5707963267948966 moveto -0.09 1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -1.5707963267948966 moveto -0.09 -1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 3.141592653589793 moveto -0.09 3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -3.141592653589793 moveto -0.09 -3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +% End of PostScript file for plot of function SIN +%%EndDocument + @endspecial 125 x(W)m(e)h(are)g(used)g(to)g(seeing)h +Fj(sin)e FA(lo)q(oking)j(lik)o(e)f(a)f(wiggly)h(o)q(cean)g(w)o(a)o(v)o +(e,)f(graphed)h(v)o(ertically)h(as)0 1937 y(a)g(function)h(of)e(the)h +(real)g(axis)h(only)m(.)28 b(Here)17 b(is)g(a)g(di\013eren)o(t)h(view.) +28 b(The)17 b(en)o(tire)g(real)g(axis)h(is)0 1983 y(mapp)q(ed)13 +b(to)e(the)g(segmen)o(t)h([)p Ff(\000)p FA(1)p Fd(;)6 +b FA(1])11 b(of)g(the)h(real)g(axis)g(with)g(in\014nite)i(m)o +(ultiplicit)o(y)h(\(p)q(erio)q(d)e(2)p Fd(\031)q FA(\).)0 +2028 y(The)h(imaginary)i(axis)f(is)g(mapp)q(ed)g(to)f(itself)h(as)g(if) +f(b)o(y)g Fj(sinh)e FA(considered)k(as)f(a)f(real)h(function.)0 +2074 y(The)f(origin)h(is)f(mapp)q(ed)h(to)f(itself.)19 +b(Horizon)o(tal)d(lines)f(are)f(mapp)q(ed)h(to)e(ellipses)j(with)e(fo)q +(ci)h(at)0 2120 y Ff(\006)p FA(1)e(\(note)h(that)f(t)o(w)o(o)g(horizon) +o(tal)i(lines)g(equidistan)o(t)h(from)d(the)g(real)h(axis)h(will)f(map) +g(on)o(to)f(the)0 2165 y(same)i(ellipse\).)26 b(V)m(ertical)17 +b(lines)g(are)e(mapp)q(ed)h(to)f(h)o(yp)q(erb)q(olas)j(with)e(the)f +(same)g(fo)q(ci.)25 b(There)0 2211 y(is)16 b(a)g(curious)h(acciden)o +(t:)24 b(the)16 b(ellipse)i(for)e(horizon)o(tal)i(lines)f(at)f +(distance)h Ff(\006)p FA(1)e(from)h(the)g(real)0 2257 +y(axis)g(app)q(ears)g(to)f(in)o(tercept)h(the)f(real)g(axis)h(at)f +Ff(\006)p Fd(\031)q(=)p FA(2)f Ff(\031)g(\006)p FA(1)p +Fd(:)p FA(57)6 b Fd(:)g(:)g(:)15 b FA(but)g(this)g(is)h(not)f(so;)g +(the)0 2302 y(in)o(tercepts)f(are)f(actually)j(at)c Ff(\006)p +FA(\()p Fq(e)f FA(+)e(1)p Fd(=)p Fq(e)s FA(\))p Fd(=)p +FA(2)i Ff(\031)f(\006)p FA(1)p Fd(:)p FA(54)d Fd(:)f(:)g(:)12 +b FA(.)p 0 2334 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 348 372 +348 371 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(348)77 b(COMMON)13 +b(LISP)p 0 255 1395 2 v 0 322 a Fm(Figure)h(12-8:)j FA(Illustration)f +(of)d(the)g(Range)h(of)f(the)g(Arc)f(Sine)j(F)m(unction)0 +1766 y @beginspecial @setspecial +%%BeginDocument: asin-plot.ps +% PostScript file for plot of function ASIN +% Plot is to fit in a region 4.666666666666667 inches square +% showing axes extending 4.1 units from the origin. + +40.97560975609756 40.97560975609756 scale +4.1 4.1 translate +newpath + -4.1 -4.1 moveto + 4.1 -4.1 lineto + 4.1 4.1 lineto + -4.1 4.1 lineto + closepath +clip +% Moby grid for function ASIN +% Annulus 0.25 0.5 4 0.97 0.45 +% Sector from 4.7124 to 6.2832 (quadrant 3) +newpath + 0.0 -0.2475 moveto + 0.0 -0.3016 lineto + 0.0 -0.3667 lineto + %middle radial + 0.0 -0.3667 lineto + 0.0 -0.4812 lineto + %end radial + 0.0 -0.4812 lineto + 0.0826 -0.4751 lineto + 0.1675 -0.4555 lineto + 0.2532 -0.4202 lineto + 0.3374 -0.3664 lineto + %middle circumferential + 0.3374 -0.3664 lineto + 0.4059 -0.3021 lineto + 0.4652 -0.2191 lineto + 0.5076 -0.1169 lineto + 0.5226 -0.0301 lineto + 0.5236 0.0 lineto + %end circumferential + 0.5236 0.0 lineto + 0.3844 0.0 lineto + %middle radial + 0.3844 0.0 lineto + 0.2527 0.0 lineto + %end radial + 0.2527 0.0 lineto + 0.2306 -0.1012 lineto + 0.1749 -0.1786 lineto + %middle circumferential + 0.1749 -0.1786 lineto + 0.0899 -0.2313 lineto + 0.0 -0.2475 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 3.1416 to 4.7124 (quadrant 2) +newpath + -0.2527 0.0 moveto + -0.3844 0.0 lineto + %middle radial + -0.3844 0.0 lineto + -0.5236 0.0 lineto + %end radial + -0.5236 0.0 lineto + -0.5113 -0.1026 lineto + -0.4742 -0.2023 lineto + -0.4148 -0.2917 lineto + -0.3374 -0.3664 lineto + %middle circumferential + -0.3374 -0.3664 lineto + -0.2636 -0.4148 lineto + -0.1819 -0.4507 lineto + -0.0937 -0.4733 lineto + 0.0 -0.4812 lineto + %end circumferential + 0.0 -0.4812 lineto + 0.0 -0.3667 lineto + %middle radial + 0.0 -0.3667 lineto + 0.0 -0.3016 lineto + 0.0 -0.2475 lineto + %end radial + 0.0 -0.2475 lineto + -0.0974 -0.2283 lineto + -0.1749 -0.1786 lineto + %middle circumferential + -0.1749 -0.1786 lineto + -0.2341 -0.093 lineto + -0.2527 0.0 lineto + %end circumferential + closepath +currentgray 0.6233333333333334 setgray fill setgray +% Sector from 1.5708 to 3.1416 (quadrant 1) +newpath + 0.0 0.2475 moveto + 0.0 0.3667 lineto + %middle radial + 0.0 0.3667 lineto + 0.0 0.4812 lineto + %end radial + 0.0 0.4812 lineto + -0.0748 0.4762 lineto + -0.1568 0.4587 lineto + -0.2451 0.4243 lineto + -0.3374 0.3664 lineto + %middle circumferential + -0.3374 0.3664 lineto + -0.4022 0.3063 lineto + -0.4611 0.2262 lineto + -0.5058 0.1233 lineto + -0.5189 0.0637 lineto + -0.5236 0.0 lineto + %end circumferential + -0.5236 0.0 lineto + -0.3844 0.0 lineto + %middle radial + -0.3844 0.0 lineto + -0.2527 0.0 lineto + %end radial + -0.2527 0.0 lineto + -0.2289 0.1047 lineto + -0.1749 0.1786 lineto + %middle circumferential + -0.1749 0.1786 lineto + -0.0842 0.2333 lineto + 0.0 0.2475 lineto + %end circumferential + closepath +currentgray 0.7966666666666668 setgray fill setgray +% Sector from 0.0 to 1.5708 (quadrant 0) +newpath + 0.2527 0.0 moveto + 0.3844 0.0 lineto + %middle radial + 0.3844 0.0 lineto + 0.5236 0.0 lineto + %end radial + 0.5236 0.0 lineto + 0.5229 0.0248 lineto + 0.5108 0.1046 lineto + 0.4869 0.1754 lineto + 0.4513 0.2421 lineto + 0.3862 0.3232 lineto + 0.3374 0.3664 lineto + %middle circumferential + 0.3374 0.3664 lineto + 0.2779 0.4067 lineto + 0.2033 0.4428 lineto + 0.1114 0.47 lineto + 0.0 0.4812 lineto + %end circumferential + 0.0 0.4812 lineto + 0.0 0.3667 lineto + %middle radial + 0.0 0.3667 lineto + 0.0 0.2475 lineto + %end radial + 0.0 0.2475 lineto + 0.0315 0.2455 lineto + 0.1085 0.2235 lineto + 0.1749 0.1786 lineto + %middle circumferential + 0.1749 0.1786 lineto + 0.2134 0.1325 lineto + 0.2481 0.0471 lineto + 0.2527 0.0 lineto + %end circumferential + closepath +currentgray 0.9700000000000001 setgray fill setgray +% Annulus 0.75 1.0 8 0.97 0.45 +% Sector from 5.4978 to 6.2832 (quadrant 3) +newpath + 0.4731 -0.5652 moveto + 0.5003 -0.6136 lineto + 0.5272 -0.6657 lineto + %middle radial + 0.5272 -0.6657 lineto + 0.5719 -0.7643 lineto + %end radial + 0.5719 -0.7643 lineto + 0.6473 -0.7309 lineto + 0.7269 -0.6909 lineto + 0.8118 -0.643 lineto + 0.9038 -0.5847 lineto + %middle circumferential + 0.9038 -0.5847 lineto + 0.9744 -0.5357 lineto + 1.0252 -0.4981 lineto + 1.08 -0.4554 lineto + 1.1405 -0.4059 lineto + 1.2092 -0.3467 lineto + 1.2697 -0.2924 lineto + 1.3171 -0.2484 lineto + 1.3749 -0.1935 lineto + 1.4326 -0.1373 lineto + 1.4911 -0.0795 lineto + 1.5708 0.0 lineto + %end circumferential + 1.5708 0.0 lineto + 1.0654 0.0 lineto + %middle radial + 1.0654 0.0 lineto + 0.8481 0.0 lineto + %end radial + 0.8481 0.0 lineto + 0.8354 -0.112 lineto + 0.8022 -0.2122 lineto + 0.7568 -0.2974 lineto + 0.7054 -0.3686 lineto + %middle circumferential + 0.7054 -0.3686 lineto + 0.6477 -0.4319 lineto + 0.5892 -0.4845 lineto + 0.5308 -0.5285 lineto + 0.4731 -0.5652 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 4.7124 to 5.4978 (quadrant 3) +newpath + 0.0 -0.6931 moveto + 0.0 -0.7902 lineto + %middle radial + 0.0 -0.7902 lineto + 0.0 -0.8814 lineto + %end radial + 0.0 -0.8814 lineto + 0.0674 -0.8798 lineto + 0.1363 -0.8748 lineto + 0.2069 -0.8662 lineto + 0.2795 -0.8537 lineto + %middle circumferential + 0.2795 -0.8537 lineto + 0.3488 -0.8381 lineto + 0.4203 -0.8185 lineto + 0.4945 -0.7941 lineto + 0.5719 -0.7643 lineto + %end circumferential + 0.5719 -0.7643 lineto + 0.5272 -0.6657 lineto + %middle radial + 0.5272 -0.6657 lineto + 0.5003 -0.6136 lineto + 0.4731 -0.5652 lineto + %end radial + 0.4731 -0.5652 lineto + 0.412 -0.5979 lineto + 0.3521 -0.6246 lineto + 0.2934 -0.6461 lineto + 0.2359 -0.663 lineto + %middle circumferential + 0.2359 -0.663 lineto + 0.1751 -0.6767 lineto + 0.1155 -0.686 lineto + 0.0572 -0.6914 lineto + 0.0 -0.6931 lineto + %end circumferential + closepath +currentgray 0.5242857142857142 setgray fill setgray +% Sector from 3.927 to 4.7124 (quadrant 2) +newpath + -0.4731 -0.5652 moveto + -0.5003 -0.6136 lineto + -0.5272 -0.6657 lineto + %middle radial + -0.5272 -0.6657 lineto + -0.5719 -0.7643 lineto + %end radial + -0.5719 -0.7643 lineto + -0.4992 -0.7924 lineto + -0.4265 -0.8166 lineto + -0.3534 -0.837 lineto + -0.2795 -0.8537 lineto + %middle circumferential + -0.2795 -0.8537 lineto + -0.2113 -0.8656 lineto + -0.1421 -0.8742 lineto + -0.0717 -0.8796 lineto + 0.0 -0.8814 lineto + %end circumferential + 0.0 -0.8814 lineto + 0.0 -0.7902 lineto + %middle radial + 0.0 -0.7902 lineto + 0.0 -0.6931 lineto + %end radial + 0.0 -0.6931 lineto + -0.0608 -0.6912 lineto + -0.1204 -0.6854 lineto + -0.1788 -0.676 lineto + -0.2359 -0.663 lineto + %middle circumferential + -0.2359 -0.663 lineto + -0.2972 -0.6448 lineto + -0.3572 -0.6225 lineto + -0.4158 -0.596 lineto + -0.4731 -0.5652 lineto + %end circumferential + closepath +currentgray 0.5985714285714285 setgray fill setgray +% Sector from 3.1416 to 3.927 (quadrant 2) +newpath + -0.8481 0.0 moveto + -1.0654 0.0 lineto + %middle radial + -1.0654 0.0 lineto + -1.5708 0.0 lineto + %end radial + -1.5708 0.0 lineto + -1.517 -0.0538 lineto + -1.463 -0.1074 lineto + -1.4179 -0.1518 lineto + -1.3533 -0.2142 lineto + -1.3028 -0.2618 lineto + -1.2596 -0.3016 lineto + -1.1853 -0.3677 lineto + -1.1205 -0.4225 lineto + -1.0615 -0.47 lineto + -1.0064 -0.5122 lineto + -0.9541 -0.5502 lineto + -0.9038 -0.5847 lineto + %middle circumferential + -0.9038 -0.5847 lineto + -0.8174 -0.6396 lineto + -0.734 -0.6871 lineto + -0.6525 -0.7284 lineto + -0.5719 -0.7643 lineto + %end circumferential + -0.5719 -0.7643 lineto + -0.5272 -0.6657 lineto + %middle radial + -0.5272 -0.6657 lineto + -0.5003 -0.6136 lineto + -0.4731 -0.5652 lineto + %end radial + -0.4731 -0.5652 lineto + -0.5347 -0.5258 lineto + -0.5943 -0.4803 lineto + -0.6515 -0.4282 lineto + -0.7054 -0.3686 lineto + %middle circumferential + -0.7054 -0.3686 lineto + -0.7602 -0.2919 lineto + -0.8058 -0.2037 lineto + -0.837 -0.1048 lineto + -0.8481 0.0 lineto + %end circumferential + closepath +currentgray 0.6728571428571428 setgray fill setgray +% Sector from 2.3562 to 3.1416 (quadrant 1) +newpath + -0.4731 0.5652 moveto + -0.5003 0.6136 lineto + -0.5272 0.6657 lineto + %middle radial + -0.5272 0.6657 lineto + -0.5719 0.7643 lineto + %end radial + -0.5719 0.7643 lineto + -0.6448 0.732 lineto + -0.7234 0.6928 lineto + -0.809 0.6447 lineto + -0.9038 0.5847 lineto + %middle circumferential + -0.9038 0.5847 lineto + -0.9723 0.5372 lineto + -1.022 0.5005 lineto + -1.0761 0.4585 lineto + -1.1361 0.4096 lineto + -1.2049 0.3506 lineto + -1.2656 0.2962 lineto + -1.3134 0.2519 lineto + -1.3718 0.1964 lineto + -1.4303 0.1396 lineto + -1.4898 0.0808 lineto + -1.5708 0.0 lineto + %end circumferential + -1.5708 0.0 lineto + -1.0654 0.0 lineto + %middle radial + -1.0654 0.0 lineto + -0.8481 0.0 lineto + %end radial + -0.8481 0.0 lineto + -0.8472 0.0296 lineto + -0.8347 0.1148 lineto + -0.8008 0.2154 lineto + -0.7555 0.2994 lineto + -0.7054 0.3686 lineto + %middle circumferential + -0.7054 0.3686 lineto + -0.6459 0.4337 lineto + -0.5867 0.4866 lineto + -0.5289 0.5297 lineto + -0.4731 0.5652 lineto + %end circumferential + closepath +currentgray 0.7471428571428572 setgray fill setgray +% Sector from 1.5708 to 2.3562 (quadrant 1) +newpath + 0.0 0.6931 moveto + 0.0 0.7902 lineto + %middle radial + 0.0 0.7902 lineto + 0.0 0.8814 lineto + %end radial + 0.0 0.8814 lineto + -0.0637 0.8799 lineto + -0.1313 0.8753 lineto + -0.2031 0.8668 lineto + -0.2795 0.8537 lineto + %middle circumferential + -0.2795 0.8537 lineto + -0.346 0.8389 lineto + -0.4164 0.8196 lineto + -0.4914 0.7952 lineto + -0.5719 0.7643 lineto + %end circumferential + -0.5719 0.7643 lineto + -0.5272 0.6657 lineto + %middle radial + -0.5272 0.6657 lineto + -0.5003 0.6136 lineto + -0.4731 0.5652 lineto + %end radial + -0.4731 0.5652 lineto + -0.441 0.5831 lineto + -0.3789 0.6133 lineto + -0.3197 0.637 lineto + -0.2359 0.663 lineto + %middle circumferential + -0.2359 0.663 lineto + -0.1718 0.6773 lineto + -0.1113 0.6865 lineto + 0.0 0.6931 lineto + %end circumferential + closepath +currentgray 0.8214285714285714 setgray fill setgray +% Sector from 0.7854 to 1.5708 (quadrant 0) +newpath + 0.4731 0.5652 moveto + 0.5003 0.6136 lineto + 0.5272 0.6657 lineto + %middle radial + 0.5272 0.6657 lineto + 0.5719 0.7643 lineto + %end radial + 0.5719 0.7643 lineto + 0.5075 0.7894 lineto + 0.4378 0.8131 lineto + 0.362 0.8348 lineto + 0.2795 0.8537 lineto + %middle circumferential + 0.2795 0.8537 lineto + 0.2164 0.8648 lineto + 0.1491 0.8735 lineto + 0.0771 0.8793 lineto + 0.0 0.8814 lineto + %end circumferential + 0.0 0.8814 lineto + 0.0 0.7902 lineto + %middle radial + 0.0 0.7902 lineto + 0.0 0.6931 lineto + %end radial + 0.0 0.6931 lineto + 0.0654 0.6909 lineto + 0.1263 0.6846 lineto + 0.2359 0.663 lineto + %middle circumferential + 0.2359 0.663 lineto + 0.3044 0.6424 lineto + 0.3663 0.6187 lineto + 0.4224 0.5927 lineto + 0.4731 0.5652 lineto + %end circumferential + closepath +currentgray 0.8957142857142858 setgray fill setgray +% Sector from 0.0 to 0.7854 (quadrant 0) +newpath + 0.8481 0.0 moveto + 1.0654 0.0 lineto + %middle radial + 1.0654 0.0 lineto + 1.5708 0.0 lineto + %end radial + 1.5708 0.0 lineto + 1.5361 0.0347 lineto + 1.4679 0.1025 lineto + 1.4228 0.1469 lineto + 1.3575 0.2102 lineto + 1.3144 0.251 lineto + 1.2621 0.2993 lineto + 1.1985 0.3562 lineto + 1.1206 0.4225 lineto + 1.075 0.4594 lineto + 1.0243 0.4988 lineto + 0.9675 0.5406 lineto + 0.9038 0.5847 lineto + %middle circumferential + 0.9038 0.5847 lineto + 0.8353 0.6287 lineto + 0.7581 0.6739 lineto + 0.6709 0.7195 lineto + 0.5719 0.7643 lineto + %end circumferential + 0.5719 0.7643 lineto + 0.5272 0.6657 lineto + %middle radial + 0.5272 0.6657 lineto + 0.5003 0.6136 lineto + 0.4731 0.5652 lineto + %end radial + 0.4731 0.5652 lineto + 0.5484 0.516 lineto + 0.6112 0.4658 lineto + 0.6631 0.4163 lineto + 0.7054 0.3686 lineto + %middle circumferential + 0.7054 0.3686 lineto + 0.7408 0.3216 lineto + 0.7898 0.2388 lineto + 0.8178 0.1728 lineto + 0.8373 0.1032 lineto + 0.8474 0.0246 lineto + 0.8481 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 1.5708 2.0 16 0.97 0.45 +% Sector from 5.8905 to 6.2832 (quadrant 3) +newpath + 1.0889 -1.0766 moveto + 1.1016 -1.148 lineto + 1.1124 -1.2188 lineto + %middle radial + 1.1124 -1.2188 lineto + 1.1205 -1.2811 lineto + 1.1275 -1.3428 lineto + %end radial + 1.1275 -1.3428 lineto + 1.2343 -1.3324 lineto + 1.3455 -1.3241 lineto + %middle circumferential + 1.3455 -1.3241 lineto + 1.4567 -1.3188 lineto + 1.5708 -1.317 lineto + %end circumferential + 1.5708 -1.317 lineto + 1.5708 -1.1831 lineto + %middle radial + 1.5708 -1.1831 lineto + 1.5708 -1.1046 lineto + 1.5708 -1.0232 lineto + %end radial + 1.5708 -1.0232 lineto + 1.5065 -1.0243 lineto + 1.443 -1.0275 lineto + 1.3809 -1.0325 lineto + 1.3203 -1.0391 lineto + %middle circumferential + 1.3203 -1.0391 lineto + 1.2596 -1.0473 lineto + 1.2008 -1.0564 lineto + 1.0889 -1.0766 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.4978 to 5.8905 (quadrant 3) +newpath + 0.6873 -1.1593 moveto + 0.6985 -1.2202 lineto + 0.7085 -1.2817 lineto + %middle radial + 0.7085 -1.2817 lineto + 0.7237 -1.392 lineto + %end radial + 0.7237 -1.392 lineto + 0.8199 -1.38 lineto + 0.9203 -1.3672 lineto + %middle circumferential + 0.9203 -1.3672 lineto + 1.0216 -1.3548 lineto + 1.1275 -1.3428 lineto + %end circumferential + 1.1275 -1.3428 lineto + 1.1205 -1.2811 lineto + 1.1124 -1.2188 lineto + %middle radial + 1.1124 -1.2188 lineto + 1.1016 -1.148 lineto + 1.0889 -1.0766 lineto + %end radial + 1.0889 -1.0766 lineto + 0.9808 -1.0984 lineto + 0.8795 -1.1198 lineto + %middle circumferential + 0.8795 -1.1198 lineto + 0.7808 -1.1405 lineto + 0.6873 -1.1593 lineto + %end circumferential + closepath +currentgray 0.48466666666666664 setgray fill setgray +% Sector from 5.1051 to 5.4978 (quadrant 3) +newpath + 0.3341 -1.2147 moveto + 0.3454 -1.3274 lineto + %middle radial + 0.3454 -1.3274 lineto + 0.3538 -1.43 lineto + %end radial + 0.3538 -1.43 lineto + 0.4432 -1.4226 lineto + 0.5356 -1.4136 lineto + %middle circumferential + 0.5356 -1.4136 lineto + 0.6279 -1.4035 lineto + 0.7237 -1.392 lineto + %end circumferential + 0.7237 -1.392 lineto + 0.7085 -1.2817 lineto + %middle radial + 0.7085 -1.2817 lineto + 0.6985 -1.2202 lineto + 0.6873 -1.1593 lineto + %end radial + 0.6873 -1.1593 lineto + 0.5951 -1.1765 lineto + 0.5069 -1.1914 lineto + %middle circumferential + 0.5069 -1.1914 lineto + 0.4189 -1.2043 lineto + 0.3341 -1.2147 lineto + %end circumferential + closepath +currentgray 0.5193333333333334 setgray fill setgray +% Sector from 4.7124 to 5.1051 (quadrant 3) +newpath + 0.0 -1.2334 moveto + 0.0 -1.3433 lineto + %middle radial + 0.0 -1.3433 lineto + 0.0 -1.4436 lineto + %end radial + 0.0 -1.4436 lineto + 0.087 -1.4428 lineto + 0.1759 -1.4402 lineto + %middle circumferential + 0.1759 -1.4402 lineto + 0.2636 -1.436 lineto + 0.3538 -1.43 lineto + %end circumferential + 0.3538 -1.43 lineto + 0.3454 -1.3274 lineto + %middle radial + 0.3454 -1.3274 lineto + 0.3341 -1.2147 lineto + %end radial + 0.3341 -1.2147 lineto + 0.2488 -1.2229 lineto + 0.166 -1.2287 lineto + %middle circumferential + 0.166 -1.2287 lineto + 0.082 -1.2323 lineto + 0.0 -1.2334 lineto + %end circumferential + closepath +currentgray 0.554 setgray fill setgray +% Sector from 4.3197 to 4.7124 (quadrant 2) +newpath + -0.3341 -1.2147 moveto + -0.3454 -1.3274 lineto + %middle radial + -0.3454 -1.3274 lineto + -0.3538 -1.43 lineto + %end radial + -0.3538 -1.43 lineto + -0.2655 -1.4359 lineto + -0.1759 -1.4402 lineto + %middle circumferential + -0.1759 -1.4402 lineto + -0.0888 -1.4428 lineto + 0.0 -1.4436 lineto + %end circumferential + 0.0 -1.4436 lineto + 0.0 -1.3433 lineto + %middle radial + 0.0 -1.3433 lineto + 0.0 -1.2334 lineto + %end radial + 0.0 -1.2334 lineto + -0.0837 -1.2322 lineto + -0.166 -1.2287 lineto + %middle circumferential + -0.166 -1.2287 lineto + -0.2506 -1.2228 lineto + -0.3341 -1.2147 lineto + %end circumferential + closepath +currentgray 0.5886666666666667 setgray fill setgray +% Sector from 3.927 to 4.3197 (quadrant 2) +newpath + -0.6873 -1.1593 moveto + -0.6985 -1.2202 lineto + -0.7085 -1.2817 lineto + %middle radial + -0.7085 -1.2817 lineto + -0.7237 -1.392 lineto + %end radial + -0.7237 -1.392 lineto + -0.6299 -1.4032 lineto + -0.5356 -1.4136 lineto + %middle circumferential + -0.5356 -1.4136 lineto + -0.4451 -1.4225 lineto + -0.3538 -1.43 lineto + %end circumferential + -0.3538 -1.43 lineto + -0.3454 -1.3274 lineto + %middle radial + -0.3454 -1.3274 lineto + -0.3341 -1.2147 lineto + %end radial + -0.3341 -1.2147 lineto + -0.4208 -1.204 lineto + -0.5069 -1.1914 lineto + %middle circumferential + -0.5069 -1.1914 lineto + -0.597 -1.1762 lineto + -0.6873 -1.1593 lineto + %end circumferential + closepath +currentgray 0.6233333333333333 setgray fill setgray +% Sector from 3.5343 to 3.927 (quadrant 2) +newpath + -1.0889 -1.0766 moveto + -1.1016 -1.148 lineto + -1.1124 -1.2188 lineto + %middle radial + -1.1124 -1.2188 lineto + -1.1205 -1.2811 lineto + -1.1275 -1.3428 lineto + %end radial + -1.1275 -1.3428 lineto + -1.0239 -1.3545 lineto + -0.9203 -1.3672 lineto + %middle circumferential + -0.9203 -1.3672 lineto + -0.822 -1.3797 lineto + -0.7237 -1.392 lineto + %end circumferential + -0.7237 -1.392 lineto + -0.7085 -1.2817 lineto + %middle radial + -0.7085 -1.2817 lineto + -0.6985 -1.2202 lineto + -0.6873 -1.1593 lineto + %end radial + -0.6873 -1.1593 lineto + -0.7829 -1.14 lineto + -0.8795 -1.1198 lineto + %middle circumferential + -0.8795 -1.1198 lineto + -0.9831 -1.0979 lineto + -1.0889 -1.0766 lineto + %end circumferential + closepath +currentgray 0.658 setgray fill setgray +% Sector from 3.1416 to 3.5343 (quadrant 2) +newpath + -1.5708 -1.0232 moveto + -1.5708 -1.1046 lineto + -1.5708 -1.1831 lineto + %middle radial + -1.5708 -1.1831 lineto + -1.5708 -1.317 lineto + %end radial + -1.5708 -1.317 lineto + -1.4593 -1.3187 lineto + -1.3455 -1.3241 lineto + %middle circumferential + -1.3455 -1.3241 lineto + -1.2368 -1.3322 lineto + -1.1275 -1.3428 lineto + %end circumferential + -1.1275 -1.3428 lineto + -1.1205 -1.2811 lineto + -1.1124 -1.2188 lineto + %middle radial + -1.1124 -1.2188 lineto + -1.1016 -1.148 lineto + -1.0889 -1.0766 lineto + %end radial + -1.0889 -1.0766 lineto + -1.2034 -1.056 lineto + -1.2616 -1.047 lineto + -1.3203 -1.0391 lineto + %middle circumferential + -1.3203 -1.0391 lineto + -1.3831 -1.0323 lineto + -1.4459 -1.0273 lineto + -1.5086 -1.0242 lineto + -1.5708 -1.0232 lineto + %end circumferential + closepath +currentgray 0.6926666666666667 setgray fill setgray +% Sector from 2.7489 to 3.1416 (quadrant 1) +newpath + -1.0889 1.0766 moveto + -1.1016 1.148 lineto + -1.1124 1.2188 lineto + %middle radial + -1.1124 1.2188 lineto + -1.1205 1.2811 lineto + -1.1275 1.3428 lineto + %end radial + -1.1275 1.3428 lineto + -1.2334 1.3325 lineto + -1.3455 1.3241 lineto + %middle circumferential + -1.3455 1.3241 lineto + -1.4558 1.3189 lineto + -1.5708 1.317 lineto + %end circumferential + -1.5708 1.317 lineto + -1.5708 1.1831 lineto + %middle radial + -1.5708 1.1831 lineto + -1.5708 1.1046 lineto + -1.5708 1.0232 lineto + %end radial + -1.5708 1.0232 lineto + -1.5057 1.0243 lineto + -1.442 1.0275 lineto + -1.3802 1.0326 lineto + -1.3203 1.0391 lineto + %middle circumferential + -1.3203 1.0391 lineto + -1.2588 1.0474 lineto + -1.1997 1.0566 lineto + -1.0889 1.0766 lineto + %end circumferential + closepath +currentgray 0.7273333333333334 setgray fill setgray +% Sector from 2.3562 to 2.7489 (quadrant 1) +newpath + -0.6873 1.1593 moveto + -0.6985 1.2202 lineto + -0.7085 1.2817 lineto + %middle radial + -0.7085 1.2817 lineto + -0.7237 1.392 lineto + %end radial + -0.7237 1.392 lineto + -0.8188 1.3801 lineto + -0.9203 1.3672 lineto + %middle circumferential + -0.9203 1.3672 lineto + -1.0206 1.3549 lineto + -1.1275 1.3428 lineto + %end circumferential + -1.1275 1.3428 lineto + -1.1205 1.2811 lineto + -1.1124 1.2188 lineto + %middle radial + -1.1124 1.2188 lineto + -1.1016 1.148 lineto + -1.0889 1.0766 lineto + %end radial + -1.0889 1.0766 lineto + -0.9798 1.0986 lineto + -0.8795 1.1198 lineto + %middle circumferential + -0.8795 1.1198 lineto + -0.7797 1.1407 lineto + -0.6873 1.1593 lineto + %end circumferential + closepath +currentgray 0.762 setgray fill setgray +% Sector from 1.9635 to 2.3562 (quadrant 1) +newpath + -0.3341 1.2147 moveto + -0.3454 1.3274 lineto + %middle radial + -0.3454 1.3274 lineto + -0.3538 1.43 lineto + %end radial + -0.3538 1.43 lineto + -0.4419 1.4228 lineto + -0.5356 1.4136 lineto + %middle circumferential + -0.5356 1.4136 lineto + -0.6267 1.4036 lineto + -0.7237 1.392 lineto + %end circumferential + -0.7237 1.392 lineto + -0.7085 1.2817 lineto + %middle radial + -0.7085 1.2817 lineto + -0.6985 1.2202 lineto + -0.6873 1.1593 lineto + %end radial + -0.6873 1.1593 lineto + -0.5939 1.1767 lineto + -0.5069 1.1914 lineto + %middle circumferential + -0.5069 1.1914 lineto + -0.4177 1.2044 lineto + -0.3341 1.2147 lineto + %end circumferential + closepath +currentgray 0.7966666666666666 setgray fill setgray +% Sector from 1.5708 to 1.9635 (quadrant 1) +newpath + 0.0 1.2334 moveto + 0.0 1.3433 lineto + %middle radial + 0.0 1.3433 lineto + 0.0 1.4436 lineto + %end radial + 0.0 1.4436 lineto + -0.0853 1.4428 lineto + -0.1759 1.4402 lineto + %middle circumferential + -0.1759 1.4402 lineto + -0.2622 1.4361 lineto + -0.3538 1.43 lineto + %end circumferential + -0.3538 1.43 lineto + -0.3454 1.3274 lineto + %middle radial + -0.3454 1.3274 lineto + -0.3341 1.2147 lineto + %end radial + -0.3341 1.2147 lineto + -0.2474 1.223 lineto + -0.166 1.2287 lineto + %middle circumferential + -0.166 1.2287 lineto + -0.0804 1.2323 lineto + 0.0 1.2334 lineto + %end circumferential + closepath +currentgray 0.8313333333333334 setgray fill setgray +% Sector from 1.1781 to 1.5708 (quadrant 0) +newpath + 0.3341 1.2147 moveto + 0.3454 1.3274 lineto + %middle radial + 0.3454 1.3274 lineto + 0.3538 1.43 lineto + %end radial + 0.3538 1.43 lineto + 0.2679 1.4357 lineto + 0.1759 1.4402 lineto + %middle circumferential + 0.1759 1.4402 lineto + 0.0908 1.4427 lineto + 0.0 1.4436 lineto + %end circumferential + 0.0 1.4436 lineto + 0.0 1.3433 lineto + %middle radial + 0.0 1.3433 lineto + 0.0 1.2334 lineto + %end radial + 0.0 1.2334 lineto + 0.0856 1.2322 lineto + 0.166 1.2287 lineto + %middle circumferential + 0.166 1.2287 lineto + 0.2529 1.2226 lineto + 0.3341 1.2147 lineto + %end circumferential + closepath +currentgray 0.866 setgray fill setgray +% Sector from 0.7854 to 1.1781 (quadrant 0) +newpath + 0.6873 1.1593 moveto + 0.6985 1.2202 lineto + 0.7085 1.2817 lineto + %middle radial + 0.7085 1.2817 lineto + 0.7237 1.392 lineto + %end radial + 0.7237 1.392 lineto + 0.634 1.4028 lineto + 0.5356 1.4136 lineto + %middle circumferential + 0.5356 1.4136 lineto + 0.4482 1.4222 lineto + 0.3538 1.43 lineto + %end circumferential + 0.3538 1.43 lineto + 0.3454 1.3274 lineto + %middle radial + 0.3454 1.3274 lineto + 0.3341 1.2147 lineto + %end radial + 0.3341 1.2147 lineto + 0.4237 1.2036 lineto + 0.5069 1.1914 lineto + %middle circumferential + 0.5069 1.1914 lineto + 0.6009 1.1755 lineto + 0.6873 1.1593 lineto + %end circumferential + closepath +currentgray 0.9006666666666666 setgray fill setgray +% Sector from 0.3927 to 0.7854 (quadrant 0) +newpath + 1.0889 1.0766 moveto + 1.1016 1.148 lineto + 1.1124 1.2188 lineto + %middle radial + 1.1124 1.2188 lineto + 1.1205 1.2811 lineto + 1.1275 1.3428 lineto + %end radial + 1.1275 1.3428 lineto + 1.0823 1.3478 lineto + 0.9791 1.3599 lineto + 0.9203 1.3672 lineto + %middle circumferential + 0.9203 1.3672 lineto + 0.8278 1.379 lineto + 0.7237 1.392 lineto + %end circumferential + 0.7237 1.392 lineto + 0.7085 1.2817 lineto + %middle radial + 0.7085 1.2817 lineto + 0.6985 1.2202 lineto + 0.6873 1.1593 lineto + %end radial + 0.6873 1.1593 lineto + 0.7885 1.1389 lineto + 0.8795 1.1198 lineto + %middle circumferential + 0.8795 1.1198 lineto + 0.938 1.1074 lineto + 1.0425 1.0858 lineto + 1.0889 1.0766 lineto + %end circumferential + closepath +currentgray 0.9353333333333332 setgray fill setgray +% Sector from 0.0 to 0.3927 (quadrant 0) +newpath + 1.5708 1.0232 moveto + 1.5708 1.1046 lineto + 1.5708 1.1831 lineto + %middle radial + 1.5708 1.1831 lineto + 1.5708 1.317 lineto + %end radial + 1.5708 1.317 lineto + 1.5172 1.3174 lineto + 1.4132 1.3205 lineto + 1.3455 1.3241 lineto + %middle circumferential + 1.3455 1.3241 lineto + 1.254 1.3308 lineto + 1.163 1.3392 lineto + 1.1275 1.3428 lineto + %end circumferential + 1.1275 1.3428 lineto + 1.1205 1.2811 lineto + 1.1124 1.2188 lineto + %middle radial + 1.1124 1.2188 lineto + 1.1016 1.148 lineto + 1.0889 1.0766 lineto + %end radial + 1.0889 1.0766 lineto + 1.16 1.0634 lineto + 1.2217 1.053 lineto + 1.3203 1.0391 lineto + %middle circumferential + 1.3203 1.0391 lineto + 1.3947 1.0312 lineto + 1.4846 1.0252 lineto + 1.5565 1.0233 lineto + 1.5708 1.0232 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 3.0 3.1416 32 0.97 0.45 +% Sector from 6.0868 to 6.2832 (quadrant 3) +newpath + 1.3629 -1.7653 moveto + 1.3635 -1.7898 lineto + %middle radial + 1.3635 -1.7898 lineto + 1.364 -1.8138 lineto + %end radial + 1.364 -1.8138 lineto + 1.4673 -1.8121 lineto + %middle circumferential + 1.4673 -1.8121 lineto + 1.5708 -1.8115 lineto + %end circumferential + 1.5708 -1.8115 lineto + 1.5708 -1.7875 lineto + %middle radial + 1.5708 -1.7875 lineto + 1.5708 -1.7627 lineto + %end radial + 1.5708 -1.7627 lineto + 1.4667 -1.7634 lineto + %middle circumferential + 1.4667 -1.7634 lineto + 1.3629 -1.7653 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.8905 to 6.0868 (quadrant 3) +newpath + 1.1572 -1.7722 moveto + 1.1583 -1.7964 lineto + %middle radial + 1.1583 -1.7964 lineto + 1.1592 -1.82 lineto + %end radial + 1.1592 -1.82 lineto + 1.2613 -1.8165 lineto + %middle circumferential + 1.2613 -1.8165 lineto + 1.364 -1.8138 lineto + %end circumferential + 1.364 -1.8138 lineto + 1.3635 -1.7898 lineto + %middle radial + 1.3635 -1.7898 lineto + 1.3629 -1.7653 lineto + %end radial + 1.3629 -1.7653 lineto + 1.2597 -1.7682 lineto + %middle circumferential + 1.2597 -1.7682 lineto + 1.1572 -1.7722 lineto + %end circumferential + closepath +currentgray 0.4667741935483871 setgray fill setgray +% Sector from 5.6941 to 5.8905 (quadrant 3) +newpath + 0.9553 -1.782 moveto + 0.9565 -1.8057 lineto + %middle radial + 0.9565 -1.8057 lineto + 0.9577 -1.8289 lineto + %end radial + 0.9577 -1.8289 lineto + 1.058 -1.8242 lineto + %middle circumferential + 1.058 -1.8242 lineto + 1.1592 -1.82 lineto + %end circumferential + 1.1592 -1.82 lineto + 1.1583 -1.7964 lineto + %middle radial + 1.1583 -1.7964 lineto + 1.1572 -1.7722 lineto + %end radial + 1.1572 -1.7722 lineto + 1.0557 -1.7768 lineto + %middle circumferential + 1.0557 -1.7768 lineto + 0.9553 -1.782 lineto + %end circumferential + closepath +currentgray 0.4835483870967742 setgray fill setgray +% Sector from 5.4978 to 5.6941 (quadrant 3) +newpath + 0.7577 -1.7929 moveto + 0.7589 -1.8161 lineto + %middle radial + 0.7589 -1.8161 lineto + 0.7601 -1.8388 lineto + %end radial + 0.7601 -1.8388 lineto + 0.8584 -1.8339 lineto + %middle circumferential + 0.8584 -1.8339 lineto + 0.9577 -1.8289 lineto + %end circumferential + 0.9577 -1.8289 lineto + 0.9565 -1.8057 lineto + %middle radial + 0.9565 -1.8057 lineto + 0.9553 -1.782 lineto + %end radial + 0.9553 -1.782 lineto + 0.8559 -1.7874 lineto + %middle circumferential + 0.8559 -1.7874 lineto + 0.7577 -1.7929 lineto + %end circumferential + closepath +currentgray 0.5003225806451613 setgray fill setgray +% Sector from 5.3014 to 5.4978 (quadrant 3) +newpath + 0.5642 -1.8031 moveto + 0.5653 -1.8259 lineto + %middle radial + 0.5653 -1.8259 lineto + 0.5663 -1.8482 lineto + %end radial + 0.5663 -1.8482 lineto + 0.6628 -1.8437 lineto + %middle circumferential + 0.6628 -1.8437 lineto + 0.7601 -1.8388 lineto + %end circumferential + 0.7601 -1.8388 lineto + 0.7589 -1.8161 lineto + %middle radial + 0.7589 -1.8161 lineto + 0.7577 -1.7929 lineto + %end radial + 0.7577 -1.7929 lineto + 0.6605 -1.7982 lineto + %middle circumferential + 0.6605 -1.7982 lineto + 0.5642 -1.8031 lineto + %end circumferential + closepath +currentgray 0.5170967741935484 setgray fill setgray +% Sector from 5.1051 to 5.3014 (quadrant 3) +newpath + 0.3742 -1.8114 moveto + 0.375 -1.8338 lineto + %middle radial + 0.375 -1.8338 lineto + 0.3757 -1.8558 lineto + %end radial + 0.3757 -1.8558 lineto + 0.4707 -1.8523 lineto + %middle circumferential + 0.4707 -1.8523 lineto + 0.5663 -1.8482 lineto + %end circumferential + 0.5663 -1.8482 lineto + 0.5653 -1.8259 lineto + %middle radial + 0.5653 -1.8259 lineto + 0.5642 -1.8031 lineto + %end radial + 0.5642 -1.8031 lineto + 0.4688 -1.8076 lineto + %middle circumferential + 0.4688 -1.8076 lineto + 0.3742 -1.8114 lineto + %end circumferential + closepath +currentgray 0.5338709677419355 setgray fill setgray +% Sector from 4.9087 to 5.1051 (quadrant 3) +newpath + 0.1865 -1.8166 moveto + 0.1869 -1.8389 lineto + %middle radial + 0.1869 -1.8389 lineto + 0.1873 -1.8606 lineto + %end radial + 0.1873 -1.8606 lineto + 0.2813 -1.8586 lineto + %middle circumferential + 0.2813 -1.8586 lineto + 0.3757 -1.8558 lineto + %end circumferential + 0.3757 -1.8558 lineto + 0.375 -1.8338 lineto + %middle radial + 0.375 -1.8338 lineto + 0.3742 -1.8114 lineto + %end radial + 0.3742 -1.8114 lineto + 0.2801 -1.8144 lineto + %middle circumferential + 0.2801 -1.8144 lineto + 0.1865 -1.8166 lineto + %end circumferential + closepath +currentgray 0.5506451612903226 setgray fill setgray +% Sector from 4.7124 to 4.9087 (quadrant 3) +newpath + 0.0 -1.8184 moveto + 0.0 -1.8406 lineto + %middle radial + 0.0 -1.8406 lineto + 0.0 -1.8623 lineto + %end radial + 0.0 -1.8623 lineto + 0.0936 -1.8619 lineto + %middle circumferential + 0.0936 -1.8619 lineto + 0.1873 -1.8606 lineto + %end circumferential + 0.1873 -1.8606 lineto + 0.1869 -1.8389 lineto + %middle radial + 0.1869 -1.8389 lineto + 0.1865 -1.8166 lineto + %end radial + 0.1865 -1.8166 lineto + 0.0932 -1.818 lineto + %middle circumferential + 0.0932 -1.818 lineto + 0.0 -1.8184 lineto + %end circumferential + closepath +currentgray 0.5674193548387096 setgray fill setgray +% Sector from 4.516 to 4.7124 (quadrant 2) +newpath + -0.1865 -1.8166 moveto + -0.1869 -1.8389 lineto + %middle radial + -0.1869 -1.8389 lineto + -0.1873 -1.8606 lineto + %end radial + -0.1873 -1.8606 lineto + -0.0936 -1.8619 lineto + %middle circumferential + -0.0936 -1.8619 lineto + 0.0 -1.8623 lineto + %end circumferential + 0.0 -1.8623 lineto + 0.0 -1.8406 lineto + %middle radial + 0.0 -1.8406 lineto + 0.0 -1.8184 lineto + %end radial + 0.0 -1.8184 lineto + -0.0932 -1.818 lineto + %middle circumferential + -0.0932 -1.818 lineto + -0.1865 -1.8166 lineto + %end circumferential + closepath +currentgray 0.5841935483870968 setgray fill setgray +% Sector from 4.3197 to 4.516 (quadrant 2) +newpath + -0.3742 -1.8114 moveto + -0.375 -1.8338 lineto + %middle radial + -0.375 -1.8338 lineto + -0.3757 -1.8558 lineto + %end radial + -0.3757 -1.8558 lineto + -0.2813 -1.8586 lineto + %middle circumferential + -0.2813 -1.8586 lineto + -0.1873 -1.8606 lineto + %end circumferential + -0.1873 -1.8606 lineto + -0.1869 -1.8389 lineto + %middle radial + -0.1869 -1.8389 lineto + -0.1865 -1.8166 lineto + %end radial + -0.1865 -1.8166 lineto + -0.2801 -1.8144 lineto + %middle circumferential + -0.2801 -1.8144 lineto + -0.3742 -1.8114 lineto + %end circumferential + closepath +currentgray 0.600967741935484 setgray fill setgray +% Sector from 4.1233 to 4.3197 (quadrant 2) +newpath + -0.5642 -1.8031 moveto + -0.5653 -1.8259 lineto + %middle radial + -0.5653 -1.8259 lineto + -0.5663 -1.8482 lineto + %end radial + -0.5663 -1.8482 lineto + -0.4707 -1.8523 lineto + %middle circumferential + -0.4707 -1.8523 lineto + -0.3757 -1.8558 lineto + %end circumferential + -0.3757 -1.8558 lineto + -0.375 -1.8338 lineto + %middle radial + -0.375 -1.8338 lineto + -0.3742 -1.8114 lineto + %end radial + -0.3742 -1.8114 lineto + -0.4688 -1.8076 lineto + %middle circumferential + -0.4688 -1.8076 lineto + -0.5642 -1.8031 lineto + %end circumferential + closepath +currentgray 0.6177419354838709 setgray fill setgray +% Sector from 3.927 to 4.1233 (quadrant 2) +newpath + -0.7577 -1.7929 moveto + -0.7589 -1.8161 lineto + %middle radial + -0.7589 -1.8161 lineto + -0.7601 -1.8388 lineto + %end radial + -0.7601 -1.8388 lineto + -0.6628 -1.8437 lineto + %middle circumferential + -0.6628 -1.8437 lineto + -0.5663 -1.8482 lineto + %end circumferential + -0.5663 -1.8482 lineto + -0.5653 -1.8259 lineto + %middle radial + -0.5653 -1.8259 lineto + -0.5642 -1.8031 lineto + %end radial + -0.5642 -1.8031 lineto + -0.6605 -1.7982 lineto + %middle circumferential + -0.6605 -1.7982 lineto + -0.7577 -1.7929 lineto + %end circumferential + closepath +currentgray 0.6345161290322581 setgray fill setgray +% Sector from 3.7306 to 3.927 (quadrant 2) +newpath + -0.9553 -1.782 moveto + -0.9565 -1.8057 lineto + %middle radial + -0.9565 -1.8057 lineto + -0.9577 -1.8289 lineto + %end radial + -0.9577 -1.8289 lineto + -0.8584 -1.8339 lineto + %middle circumferential + -0.8584 -1.8339 lineto + -0.7601 -1.8388 lineto + %end circumferential + -0.7601 -1.8388 lineto + -0.7589 -1.8161 lineto + %middle radial + -0.7589 -1.8161 lineto + -0.7577 -1.7929 lineto + %end radial + -0.7577 -1.7929 lineto + -0.8559 -1.7874 lineto + %middle circumferential + -0.8559 -1.7874 lineto + -0.9553 -1.782 lineto + %end circumferential + closepath +currentgray 0.6512903225806452 setgray fill setgray +% Sector from 3.5343 to 3.7306 (quadrant 2) +newpath + -1.1572 -1.7722 moveto + -1.1583 -1.7964 lineto + %middle radial + -1.1583 -1.7964 lineto + -1.1592 -1.82 lineto + %end radial + -1.1592 -1.82 lineto + -1.058 -1.8242 lineto + %middle circumferential + -1.058 -1.8242 lineto + -0.9577 -1.8289 lineto + %end circumferential + -0.9577 -1.8289 lineto + -0.9565 -1.8057 lineto + %middle radial + -0.9565 -1.8057 lineto + -0.9553 -1.782 lineto + %end radial + -0.9553 -1.782 lineto + -1.0557 -1.7768 lineto + %middle circumferential + -1.0557 -1.7768 lineto + -1.1572 -1.7722 lineto + %end circumferential + closepath +currentgray 0.6680645161290323 setgray fill setgray +% Sector from 3.3379 to 3.5343 (quadrant 2) +newpath + -1.3629 -1.7653 moveto + -1.3635 -1.7898 lineto + %middle radial + -1.3635 -1.7898 lineto + -1.364 -1.8138 lineto + %end radial + -1.364 -1.8138 lineto + -1.2613 -1.8165 lineto + %middle circumferential + -1.2613 -1.8165 lineto + -1.1592 -1.82 lineto + %end circumferential + -1.1592 -1.82 lineto + -1.1583 -1.7964 lineto + %middle radial + -1.1583 -1.7964 lineto + -1.1572 -1.7722 lineto + %end radial + -1.1572 -1.7722 lineto + -1.2597 -1.7682 lineto + %middle circumferential + -1.2597 -1.7682 lineto + -1.3629 -1.7653 lineto + %end circumferential + closepath +currentgray 0.6848387096774193 setgray fill setgray +% Sector from 3.1416 to 3.3379 (quadrant 2) +newpath + -1.5708 -1.7627 moveto + -1.5708 -1.7875 lineto + %middle radial + -1.5708 -1.7875 lineto + -1.5708 -1.8115 lineto + %end radial + -1.5708 -1.8115 lineto + -1.4673 -1.8121 lineto + %middle circumferential + -1.4673 -1.8121 lineto + -1.364 -1.8138 lineto + %end circumferential + -1.364 -1.8138 lineto + -1.3635 -1.7898 lineto + %middle radial + -1.3635 -1.7898 lineto + -1.3629 -1.7653 lineto + %end radial + -1.3629 -1.7653 lineto + -1.4667 -1.7634 lineto + %middle circumferential + -1.4667 -1.7634 lineto + -1.5708 -1.7627 lineto + %end circumferential + closepath +currentgray 0.7016129032258065 setgray fill setgray +% Sector from 2.9452 to 3.1416 (quadrant 1) +newpath + -1.3629 1.7653 moveto + -1.3635 1.7898 lineto + %middle radial + -1.3635 1.7898 lineto + -1.364 1.8138 lineto + %end radial + -1.364 1.8138 lineto + -1.4673 1.8121 lineto + %middle circumferential + -1.4673 1.8121 lineto + -1.5708 1.8115 lineto + %end circumferential + -1.5708 1.8115 lineto + -1.5708 1.7875 lineto + %middle radial + -1.5708 1.7875 lineto + -1.5708 1.7627 lineto + %end radial + -1.5708 1.7627 lineto + -1.4667 1.7634 lineto + %middle circumferential + -1.4667 1.7634 lineto + -1.3629 1.7653 lineto + %end circumferential + closepath +currentgray 0.7183870967741936 setgray fill setgray +% Sector from 2.7489 to 2.9452 (quadrant 1) +newpath + -1.1572 1.7722 moveto + -1.1583 1.7964 lineto + %middle radial + -1.1583 1.7964 lineto + -1.1592 1.82 lineto + %end radial + -1.1592 1.82 lineto + -1.2613 1.8165 lineto + %middle circumferential + -1.2613 1.8165 lineto + -1.364 1.8138 lineto + %end circumferential + -1.364 1.8138 lineto + -1.3635 1.7898 lineto + %middle radial + -1.3635 1.7898 lineto + -1.3629 1.7653 lineto + %end radial + -1.3629 1.7653 lineto + -1.2597 1.7682 lineto + %middle circumferential + -1.2597 1.7682 lineto + -1.1572 1.7722 lineto + %end circumferential + closepath +currentgray 0.7351612903225806 setgray fill setgray +% Sector from 2.5525 to 2.7489 (quadrant 1) +newpath + -0.9553 1.782 moveto + -0.9565 1.8057 lineto + %middle radial + -0.9565 1.8057 lineto + -0.9577 1.8289 lineto + %end radial + -0.9577 1.8289 lineto + -1.058 1.8242 lineto + %middle circumferential + -1.058 1.8242 lineto + -1.1592 1.82 lineto + %end circumferential + -1.1592 1.82 lineto + -1.1583 1.7964 lineto + %middle radial + -1.1583 1.7964 lineto + -1.1572 1.7722 lineto + %end radial + -1.1572 1.7722 lineto + -1.0557 1.7768 lineto + %middle circumferential + -1.0557 1.7768 lineto + -0.9553 1.782 lineto + %end circumferential + closepath +currentgray 0.7519354838709679 setgray fill setgray +% Sector from 2.3562 to 2.5525 (quadrant 1) +newpath + -0.7577 1.7929 moveto + -0.7589 1.8161 lineto + %middle radial + -0.7589 1.8161 lineto + -0.7601 1.8388 lineto + %end radial + -0.7601 1.8388 lineto + -0.8584 1.8339 lineto + %middle circumferential + -0.8584 1.8339 lineto + -0.9577 1.8289 lineto + %end circumferential + -0.9577 1.8289 lineto + -0.9565 1.8057 lineto + %middle radial + -0.9565 1.8057 lineto + -0.9553 1.782 lineto + %end radial + -0.9553 1.782 lineto + -0.8559 1.7874 lineto + %middle circumferential + -0.8559 1.7874 lineto + -0.7577 1.7929 lineto + %end circumferential + closepath +currentgray 0.7687096774193548 setgray fill setgray +% Sector from 2.1598 to 2.3562 (quadrant 1) +newpath + -0.5642 1.8031 moveto + -0.5653 1.8259 lineto + %middle radial + -0.5653 1.8259 lineto + -0.5663 1.8482 lineto + %end radial + -0.5663 1.8482 lineto + -0.6628 1.8437 lineto + %middle circumferential + -0.6628 1.8437 lineto + -0.7601 1.8388 lineto + %end circumferential + -0.7601 1.8388 lineto + -0.7589 1.8161 lineto + %middle radial + -0.7589 1.8161 lineto + -0.7577 1.7929 lineto + %end radial + -0.7577 1.7929 lineto + -0.6605 1.7982 lineto + %middle circumferential + -0.6605 1.7982 lineto + -0.5642 1.8031 lineto + %end circumferential + closepath +currentgray 0.7854838709677419 setgray fill setgray +% Sector from 1.9635 to 2.1598 (quadrant 1) +newpath + -0.3742 1.8114 moveto + -0.375 1.8338 lineto + %middle radial + -0.375 1.8338 lineto + -0.3757 1.8558 lineto + %end radial + -0.3757 1.8558 lineto + -0.4707 1.8523 lineto + %middle circumferential + -0.4707 1.8523 lineto + -0.5663 1.8482 lineto + %end circumferential + -0.5663 1.8482 lineto + -0.5653 1.8259 lineto + %middle radial + -0.5653 1.8259 lineto + -0.5642 1.8031 lineto + %end radial + -0.5642 1.8031 lineto + -0.4688 1.8076 lineto + %middle circumferential + -0.4688 1.8076 lineto + -0.3742 1.8114 lineto + %end circumferential + closepath +currentgray 0.802258064516129 setgray fill setgray +% Sector from 1.7671 to 1.9635 (quadrant 1) +newpath + -0.1865 1.8166 moveto + -0.1869 1.8389 lineto + %middle radial + -0.1869 1.8389 lineto + -0.1873 1.8606 lineto + %end radial + -0.1873 1.8606 lineto + -0.2813 1.8586 lineto + %middle circumferential + -0.2813 1.8586 lineto + -0.3757 1.8558 lineto + %end circumferential + -0.3757 1.8558 lineto + -0.375 1.8338 lineto + %middle radial + -0.375 1.8338 lineto + -0.3742 1.8114 lineto + %end radial + -0.3742 1.8114 lineto + -0.2801 1.8144 lineto + %middle circumferential + -0.2801 1.8144 lineto + -0.1865 1.8166 lineto + %end circumferential + closepath +currentgray 0.8190322580645162 setgray fill setgray +% Sector from 1.5708 to 1.7671 (quadrant 1) +newpath + 0.0 1.8184 moveto + 0.0 1.8406 lineto + %middle radial + 0.0 1.8406 lineto + 0.0 1.8623 lineto + %end radial + 0.0 1.8623 lineto + -0.0936 1.8619 lineto + %middle circumferential + -0.0936 1.8619 lineto + -0.1873 1.8606 lineto + %end circumferential + -0.1873 1.8606 lineto + -0.1869 1.8389 lineto + %middle radial + -0.1869 1.8389 lineto + -0.1865 1.8166 lineto + %end radial + -0.1865 1.8166 lineto + -0.0932 1.818 lineto + %middle circumferential + -0.0932 1.818 lineto + 0.0 1.8184 lineto + %end circumferential + closepath +currentgray 0.8358064516129032 setgray fill setgray +% Sector from 1.3744 to 1.5708 (quadrant 0) +newpath + 0.1865 1.8166 moveto + 0.1869 1.8389 lineto + %middle radial + 0.1869 1.8389 lineto + 0.1873 1.8606 lineto + %end radial + 0.1873 1.8606 lineto + 0.0936 1.8619 lineto + %middle circumferential + 0.0936 1.8619 lineto + 0.0 1.8623 lineto + %end circumferential + 0.0 1.8623 lineto + 0.0 1.8406 lineto + %middle radial + 0.0 1.8406 lineto + 0.0 1.8184 lineto + %end radial + 0.0 1.8184 lineto + 0.0932 1.818 lineto + %middle circumferential + 0.0932 1.818 lineto + 0.1865 1.8166 lineto + %end circumferential + closepath +currentgray 0.8525806451612903 setgray fill setgray +% Sector from 1.1781 to 1.3744 (quadrant 0) +newpath + 0.3742 1.8114 moveto + 0.375 1.8338 lineto + %middle radial + 0.375 1.8338 lineto + 0.3757 1.8558 lineto + %end radial + 0.3757 1.8558 lineto + 0.2813 1.8586 lineto + %middle circumferential + 0.2813 1.8586 lineto + 0.1873 1.8606 lineto + %end circumferential + 0.1873 1.8606 lineto + 0.1869 1.8389 lineto + %middle radial + 0.1869 1.8389 lineto + 0.1865 1.8166 lineto + %end radial + 0.1865 1.8166 lineto + 0.2801 1.8144 lineto + %middle circumferential + 0.2801 1.8144 lineto + 0.3742 1.8114 lineto + %end circumferential + closepath +currentgray 0.8693548387096775 setgray fill setgray +% Sector from 0.9817 to 1.1781 (quadrant 0) +newpath + 0.5642 1.8031 moveto + 0.5653 1.8259 lineto + %middle radial + 0.5653 1.8259 lineto + 0.5663 1.8482 lineto + %end radial + 0.5663 1.8482 lineto + 0.4707 1.8523 lineto + %middle circumferential + 0.4707 1.8523 lineto + 0.3757 1.8558 lineto + %end circumferential + 0.3757 1.8558 lineto + 0.375 1.8338 lineto + %middle radial + 0.375 1.8338 lineto + 0.3742 1.8114 lineto + %end radial + 0.3742 1.8114 lineto + 0.4688 1.8076 lineto + %middle circumferential + 0.4688 1.8076 lineto + 0.5642 1.8031 lineto + %end circumferential + closepath +currentgray 0.8861290322580645 setgray fill setgray +% Sector from 0.7854 to 0.9817 (quadrant 0) +newpath + 0.7577 1.7929 moveto + 0.7589 1.8161 lineto + %middle radial + 0.7589 1.8161 lineto + 0.7601 1.8388 lineto + %end radial + 0.7601 1.8388 lineto + 0.6628 1.8437 lineto + %middle circumferential + 0.6628 1.8437 lineto + 0.5663 1.8482 lineto + %end circumferential + 0.5663 1.8482 lineto + 0.5653 1.8259 lineto + %middle radial + 0.5653 1.8259 lineto + 0.5642 1.8031 lineto + %end radial + 0.5642 1.8031 lineto + 0.6605 1.7982 lineto + %middle circumferential + 0.6605 1.7982 lineto + 0.7577 1.7929 lineto + %end circumferential + closepath +currentgray 0.9029032258064516 setgray fill setgray +% Sector from 0.589 to 0.7854 (quadrant 0) +newpath + 0.9553 1.782 moveto + 0.9565 1.8057 lineto + %middle radial + 0.9565 1.8057 lineto + 0.9577 1.8289 lineto + %end radial + 0.9577 1.8289 lineto + 0.8584 1.8339 lineto + %middle circumferential + 0.8584 1.8339 lineto + 0.7601 1.8388 lineto + %end circumferential + 0.7601 1.8388 lineto + 0.7589 1.8161 lineto + %middle radial + 0.7589 1.8161 lineto + 0.7577 1.7929 lineto + %end radial + 0.7577 1.7929 lineto + 0.8559 1.7874 lineto + %middle circumferential + 0.8559 1.7874 lineto + 0.9553 1.782 lineto + %end circumferential + closepath +currentgray 0.9196774193548387 setgray fill setgray +% Sector from 0.3927 to 0.589 (quadrant 0) +newpath + 1.1572 1.7722 moveto + 1.1583 1.7964 lineto + %middle radial + 1.1583 1.7964 lineto + 1.1592 1.82 lineto + %end radial + 1.1592 1.82 lineto + 1.058 1.8242 lineto + %middle circumferential + 1.058 1.8242 lineto + 0.9577 1.8289 lineto + %end circumferential + 0.9577 1.8289 lineto + 0.9565 1.8057 lineto + %middle radial + 0.9565 1.8057 lineto + 0.9553 1.782 lineto + %end radial + 0.9553 1.782 lineto + 1.0557 1.7768 lineto + %middle circumferential + 1.0557 1.7768 lineto + 1.1572 1.7722 lineto + %end circumferential + closepath +currentgray 0.9364516129032258 setgray fill setgray +% Sector from 0.1963 to 0.3927 (quadrant 0) +newpath + 1.3629 1.7653 moveto + 1.3635 1.7898 lineto + %middle radial + 1.3635 1.7898 lineto + 1.364 1.8138 lineto + %end radial + 1.364 1.8138 lineto + 1.2613 1.8165 lineto + %middle circumferential + 1.2613 1.8165 lineto + 1.1592 1.82 lineto + %end circumferential + 1.1592 1.82 lineto + 1.1583 1.7964 lineto + %middle radial + 1.1583 1.7964 lineto + 1.1572 1.7722 lineto + %end radial + 1.1572 1.7722 lineto + 1.2597 1.7682 lineto + %middle circumferential + 1.2597 1.7682 lineto + 1.3629 1.7653 lineto + %end circumferential + closepath +currentgray 0.9532258064516128 setgray fill setgray +% Sector from 0.0 to 0.1963 (quadrant 0) +newpath + 1.5708 1.7627 moveto + 1.5708 1.7875 lineto + %middle radial + 1.5708 1.7875 lineto + 1.5708 1.8115 lineto + %end radial + 1.5708 1.8115 lineto + 1.5462 1.8116 lineto + 1.4673 1.8121 lineto + %middle circumferential + 1.4673 1.8121 lineto + 1.3968 1.8131 lineto + 1.364 1.8138 lineto + %end circumferential + 1.364 1.8138 lineto + 1.3635 1.7898 lineto + %middle radial + 1.3635 1.7898 lineto + 1.3629 1.7653 lineto + %end radial + 1.3629 1.7653 lineto + 1.3959 1.7645 lineto + 1.4667 1.7634 lineto + %middle circumferential + 1.4667 1.7634 lineto + 1.546 1.7628 lineto + 1.5708 1.7627 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Horizontal line from (0.5, 0.0) to (0.0, 0.0) +newpath + 0.5236 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.5, 0.0) to (1.0, 0.0) +newpath + 0.5236 0.0 moveto + 1.5708 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.0, 0.0) +newpath + 1.5708 -1.317 moveto + 1.5708 -1.1632 lineto + 1.5708 -0.8504 lineto + 1.5708 -0.7861 lineto + 1.5708 -0.6449 lineto + 1.5708 -0.4739 lineto + 1.5708 -0.1807 lineto + 1.5708 -0.1042 lineto + 1.5708 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.1579208923731617E77, 0.0) +newpath + 1.5708 -1.317 moveto + 1.5708 -1.8812 lineto + 1.5708 -6.1762 lineto + 1.428 -6.2816 lineto + 0.8074 -6.378103166302659 lineto + 0.43 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (0.0, 1.0) +newpath + 1.0634 1.4694 moveto + 1.0165 1.398 lineto + 0.9667 1.3312 lineto + 0.9146 1.2695 lineto + 0.8607 1.2135 lineto + 0.806 1.1635 lineto + 0.7514 1.1195 lineto + 0.6977 1.0814 lineto + 0.6456 1.0488 lineto + 0.5485 0.9979 lineto + 0.4627 0.9621 lineto + 0.3885 0.9372 lineto + 0.3254 0.92 lineto + 0.2271 0.8999 lineto + 0.1581 0.8903 lineto + 0.0763 0.8834 lineto + 0.0177 0.8815 lineto + 0.0 0.8814 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (1.1579208923731617E77, 1.0) +newpath + 1.0634 1.4694 moveto + 1.1049 1.5404 lineto + 1.1434 1.6143 lineto + 1.179 1.6906 lineto + 1.2118 1.7687 lineto + 1.2419 1.8484 lineto + 1.2695 1.9293 lineto + 1.2948 2.0113 lineto + 1.3179 2.094 lineto + 1.3391 2.1774 lineto + 1.3585 2.2613 lineto + 1.3762 2.3456 lineto + 1.3924 2.4302 lineto + 1.4073 2.5152 lineto + 1.4209 2.6003 lineto + 1.4334 2.6857 lineto + 1.4448 2.7712 lineto + 1.4553 2.8569 lineto + 1.4649 2.9426 lineto + 1.4736 3.0285 lineto + 1.4817 3.1144 lineto + 1.4891 3.2004 lineto + 1.4958 3.2864 lineto + 1.5021 3.3725 lineto + 1.5077 3.4586 lineto + 1.513 3.5448 lineto + 1.5178 3.6309 lineto + 1.5221 3.7171 lineto + 1.5262 3.8033 lineto + 1.5299 3.8896 lineto + 1.5332 3.9758 lineto + 1.5364 4.062 lineto + 1.5392 4.1483 lineto + 1.5418 4.2346 lineto + 1.5442 4.3208 lineto + 1.5464 4.4071 lineto + 1.5484 4.4934 lineto + 1.5503 4.5797 lineto + 1.552 4.666 lineto + 1.5535 4.7523 lineto + 1.555 4.8386 lineto + 1.5563 4.9248 lineto + 1.5575 5.0111 lineto + 1.5586 5.0974 lineto + 1.5596 5.1837 lineto + 1.5605 5.27 lineto + 1.5614 5.3563 lineto + 1.5621 5.4426 lineto + 1.5629 5.5289 lineto + 1.5635 5.6153 lineto + 1.5641 5.7016 lineto + 1.5647 5.7879 lineto + 1.5652 5.8742 lineto + 1.5656 5.9605 lineto + 1.5661 6.0468 lineto + 1.5665 6.1331 lineto + 1.5737 6.2467 lineto + 0.8074 6.378103166302659 lineto + 0.43 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (0.0, -1.0) +newpath + 1.0634 -1.4694 moveto + 1.0165 -1.398 lineto + 0.9667 -1.3312 lineto + 0.9146 -1.2695 lineto + 0.8607 -1.2135 lineto + 0.806 -1.1635 lineto + 0.7514 -1.1195 lineto + 0.6977 -1.0814 lineto + 0.6456 -1.0488 lineto + 0.5485 -0.9979 lineto + 0.4627 -0.9621 lineto + 0.3885 -0.9372 lineto + 0.3254 -0.92 lineto + 0.2271 -0.8999 lineto + 0.1581 -0.8903 lineto + 0.0763 -0.8834 lineto + 0.0177 -0.8815 lineto + 0.0 -0.8814 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (1.1579208923731617E77, -1.0) +newpath + 1.0634 -1.4694 moveto + 1.1049 -1.5404 lineto + 1.1434 -1.6143 lineto + 1.179 -1.6906 lineto + 1.2118 -1.7687 lineto + 1.2419 -1.8484 lineto + 1.2695 -1.9293 lineto + 1.2948 -2.0113 lineto + 1.3179 -2.094 lineto + 1.3391 -2.1774 lineto + 1.3585 -2.2613 lineto + 1.3762 -2.3456 lineto + 1.3924 -2.4302 lineto + 1.4073 -2.5152 lineto + 1.4209 -2.6003 lineto + 1.4334 -2.6857 lineto + 1.4448 -2.7712 lineto + 1.4553 -2.8569 lineto + 1.4649 -2.9426 lineto + 1.4736 -3.0285 lineto + 1.4817 -3.1144 lineto + 1.4891 -3.2004 lineto + 1.4958 -3.2864 lineto + 1.5021 -3.3725 lineto + 1.5077 -3.4586 lineto + 1.513 -3.5448 lineto + 1.5178 -3.6309 lineto + 1.5221 -3.7171 lineto + 1.5262 -3.8033 lineto + 1.5299 -3.8896 lineto + 1.5332 -3.9758 lineto + 1.5364 -4.062 lineto + 1.5392 -4.1483 lineto + 1.5418 -4.2346 lineto + 1.5442 -4.3208 lineto + 1.5464 -4.4071 lineto + 1.5484 -4.4934 lineto + 1.5503 -4.5797 lineto + 1.552 -4.666 lineto + 1.5535 -4.7523 lineto + 1.555 -4.8386 lineto + 1.5563 -4.9248 lineto + 1.5575 -5.0111 lineto + 1.5586 -5.0974 lineto + 1.5596 -5.1837 lineto + 1.5605 -5.27 lineto + 1.5614 -5.3563 lineto + 1.5621 -5.4426 lineto + 1.5629 -5.5289 lineto + 1.5635 -5.6153 lineto + 1.5641 -5.7016 lineto + 1.5647 -5.7879 lineto + 1.5652 -5.8742 lineto + 1.5656 -5.9605 lineto + 1.5661 -6.0468 lineto + 1.5665 -6.1331 lineto + 1.5737 -6.2467 lineto + 0.8074 -6.378103166302659 lineto + 0.43 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (1.1579208923731617E77, 2.0) +newpath + 0.0 1.4436 moveto + 0.1004 1.4481 lineto + 0.1702 1.4567 lineto + 0.241 1.4699 lineto + 0.3389 1.4963 lineto + 0.3999 1.5177 lineto + 0.4697 1.5473 lineto + 0.5481 1.5874 lineto + 0.634 1.6407 lineto + 0.7022 1.6908 lineto + 0.7487 1.7295 lineto + 0.7957 1.7725 lineto + 0.8425 1.82 lineto + 0.8889 1.8718 lineto + 0.9343 1.9279 lineto + 0.9783 1.9879 lineto + 1.0207 2.0516 lineto + 1.0612 2.1187 lineto + 1.0997 2.1888 lineto + 1.1359 2.2616 lineto + 1.1699 2.3367 lineto + 1.2017 2.4139 lineto + 1.2314 2.4929 lineto + 1.2589 2.5734 lineto + 1.2843 2.6551 lineto + 1.3079 2.738 lineto + 1.3296 2.8218 lineto + 1.3497 2.9064 lineto + 1.3681 2.9917 lineto + 1.385 3.0775 lineto + 1.4006 3.1638 lineto + 1.4149 3.2505 lineto + 1.428 3.3375 lineto + 1.4401 3.4248 lineto + 1.4511 3.5123 lineto + 1.4612 3.6001 lineto + 1.4705 3.688 lineto + 1.479 3.776 lineto + 1.4867 3.8642 lineto + 1.4939 3.9524 lineto + 1.5004 4.0408 lineto + 1.5064 4.1292 lineto + 1.5118 4.2176 lineto + 1.5168 4.3062 lineto + 1.5214 4.3947 lineto + 1.5256 4.4833 lineto + 1.5294 4.5719 lineto + 1.5329 4.6605 lineto + 1.5362 4.7492 lineto + 1.5391 4.8379 lineto + 1.5418 4.9266 lineto + 1.5442 5.0153 lineto + 1.5465 5.104 lineto + 1.5486 5.1927 lineto + 1.5505 5.2814 lineto + 1.5522 5.3701 lineto + 1.5538 5.4589 lineto + 1.5552 5.5476 lineto + 1.5565 5.6364 lineto + 1.5577 5.7251 lineto + 1.5589 5.8138 lineto + 1.5599 5.9026 lineto + 1.5608 5.9913 lineto + 1.5616 6.0801 lineto + 1.5624 6.1688 lineto + 1.5512 6.2523 lineto + 0.5285 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (1.1579208923731617E77, -2.0) +newpath + 0.0 -1.4436 moveto + 0.1004 -1.4481 lineto + 0.1702 -1.4567 lineto + 0.241 -1.4699 lineto + 0.3389 -1.4963 lineto + 0.3999 -1.5177 lineto + 0.4697 -1.5473 lineto + 0.5481 -1.5874 lineto + 0.634 -1.6407 lineto + 0.7022 -1.6908 lineto + 0.7487 -1.7295 lineto + 0.7957 -1.7725 lineto + 0.8425 -1.82 lineto + 0.8889 -1.8718 lineto + 0.9343 -1.9279 lineto + 0.9783 -1.9879 lineto + 1.0207 -2.0516 lineto + 1.0612 -2.1187 lineto + 1.0997 -2.1888 lineto + 1.1359 -2.2616 lineto + 1.1699 -2.3367 lineto + 1.2017 -2.4139 lineto + 1.2314 -2.4929 lineto + 1.2589 -2.5734 lineto + 1.2843 -2.6551 lineto + 1.3079 -2.738 lineto + 1.3296 -2.8218 lineto + 1.3497 -2.9064 lineto + 1.3681 -2.9917 lineto + 1.385 -3.0775 lineto + 1.4006 -3.1638 lineto + 1.4149 -3.2505 lineto + 1.428 -3.3375 lineto + 1.4401 -3.4248 lineto + 1.4511 -3.5123 lineto + 1.4612 -3.6001 lineto + 1.4705 -3.688 lineto + 1.479 -3.776 lineto + 1.4867 -3.8642 lineto + 1.4939 -3.9524 lineto + 1.5004 -4.0408 lineto + 1.5064 -4.1292 lineto + 1.5118 -4.2176 lineto + 1.5168 -4.3062 lineto + 1.5214 -4.3947 lineto + 1.5256 -4.4833 lineto + 1.5294 -4.5719 lineto + 1.5329 -4.6605 lineto + 1.5362 -4.7492 lineto + 1.5391 -4.8379 lineto + 1.5418 -4.9266 lineto + 1.5442 -5.0153 lineto + 1.5465 -5.104 lineto + 1.5486 -5.1927 lineto + 1.5505 -5.2814 lineto + 1.5522 -5.3701 lineto + 1.5538 -5.4589 lineto + 1.5552 -5.5476 lineto + 1.5565 -5.6364 lineto + 1.5577 -5.7251 lineto + 1.5589 -5.8138 lineto + 1.5599 -5.9026 lineto + 1.5608 -5.9913 lineto + 1.5616 -6.0801 lineto + 1.5624 -6.1688 lineto + 1.5512 -6.2523 lineto + 0.5285 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (1.1579208923731617E77, 3.0) +newpath + 0.0 1.8184 moveto + 0.071 1.8208 lineto + 0.1438 1.8283 lineto + 0.2039 1.8383 lineto + 0.2873 1.8582 lineto + 0.3689 1.8848 lineto + 0.4335 1.9109 lineto + 0.5062 1.9464 lineto + 0.5865 1.9934 lineto + 0.6729 2.0542 lineto + 0.7403 2.11 lineto + 0.7858 2.1524 lineto + 0.8313 2.1988 lineto + 0.8765 2.2494 lineto + 0.9208 2.304 lineto + 0.9641 2.3625 lineto + 1.0059 2.4245 lineto + 1.0461 2.4898 lineto + 1.0844 2.5582 lineto + 1.1208 2.6294 lineto + 1.1551 2.703 lineto + 1.1873 2.7788 lineto + 1.2175 2.8564 lineto + 1.2457 2.9357 lineto + 1.2718 3.0165 lineto + 1.2961 3.0984 lineto + 1.3185 3.1815 lineto + 1.3393 3.2654 lineto + 1.3584 3.35 lineto + 1.3761 3.4353 lineto + 1.3923 3.5212 lineto + 1.4072 3.6075 lineto + 1.4209 3.6942 lineto + 1.4335 3.7813 lineto + 1.4451 3.8686 lineto + 1.4557 3.9561 lineto + 1.4654 4.0439 lineto + 1.4743 4.1318 lineto + 1.4825 4.2198 lineto + 1.4899 4.308 lineto + 1.4968 4.3962 lineto + 1.503 4.4846 lineto + 1.5088 4.573 lineto + 1.514 4.6614 lineto + 1.5189 4.75 lineto + 1.5233 4.8385 lineto + 1.5273 4.9271 lineto + 1.531 5.0157 lineto + 1.5344 5.1043 lineto + 1.5375 5.193 lineto + 1.5403 5.2817 lineto + 1.5429 5.3704 lineto + 1.5452 5.4591 lineto + 1.5474 5.5478 lineto + 1.5494 5.6365 lineto + 1.5512 5.7252 lineto + 1.5529 5.8139 lineto + 1.5544 5.9027 lineto + 1.5558 5.9914 lineto + 1.5571 6.0801 lineto + 1.5582 6.1689 lineto + 1.5477 6.2532 lineto + 0.5285 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (1.1579208923731617E77, -3.0) +newpath + 0.0 -1.8184 moveto + 0.071 -1.8208 lineto + 0.1438 -1.8283 lineto + 0.2039 -1.8383 lineto + 0.2873 -1.8582 lineto + 0.3689 -1.8848 lineto + 0.4335 -1.9109 lineto + 0.5062 -1.9464 lineto + 0.5865 -1.9934 lineto + 0.6729 -2.0542 lineto + 0.7403 -2.11 lineto + 0.7858 -2.1524 lineto + 0.8313 -2.1988 lineto + 0.8765 -2.2494 lineto + 0.9208 -2.304 lineto + 0.9641 -2.3625 lineto + 1.0059 -2.4245 lineto + 1.0461 -2.4898 lineto + 1.0844 -2.5582 lineto + 1.1208 -2.6294 lineto + 1.1551 -2.703 lineto + 1.1873 -2.7788 lineto + 1.2175 -2.8564 lineto + 1.2457 -2.9357 lineto + 1.2718 -3.0165 lineto + 1.2961 -3.0984 lineto + 1.3185 -3.1815 lineto + 1.3393 -3.2654 lineto + 1.3584 -3.35 lineto + 1.3761 -3.4353 lineto + 1.3923 -3.5212 lineto + 1.4072 -3.6075 lineto + 1.4209 -3.6942 lineto + 1.4335 -3.7813 lineto + 1.4451 -3.8686 lineto + 1.4557 -3.9561 lineto + 1.4654 -4.0439 lineto + 1.4743 -4.1318 lineto + 1.4825 -4.2198 lineto + 1.4899 -4.308 lineto + 1.4968 -4.3962 lineto + 1.503 -4.4846 lineto + 1.5088 -4.573 lineto + 1.514 -4.6614 lineto + 1.5189 -4.75 lineto + 1.5233 -4.8385 lineto + 1.5273 -4.9271 lineto + 1.531 -5.0157 lineto + 1.5344 -5.1043 lineto + 1.5375 -5.193 lineto + 1.5403 -5.2817 lineto + 1.5429 -5.3704 lineto + 1.5452 -5.4591 lineto + 1.5474 -5.5478 lineto + 1.5494 -5.6365 lineto + 1.5512 -5.7252 lineto + 1.5529 -5.8139 lineto + 1.5544 -5.9027 lineto + 1.5558 -5.9914 lineto + 1.5571 -6.0801 lineto + 1.5582 -6.1689 lineto + 1.5477 -6.2532 lineto + 0.5285 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (0.0, 0.0) +newpath + -0.5236 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (-1.0, 0.0) +newpath + -0.5236 0.0 moveto + -1.5708 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.0, 0.0) +newpath + -1.5708 1.317 moveto + -1.5708 1.1632 lineto + -1.5708 0.8504 lineto + -1.5708 0.7861 lineto + -1.5708 0.6449 lineto + -1.5708 0.4739 lineto + -1.5708 0.1807 lineto + -1.5708 0.1042 lineto + -1.5708 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.1579208923731617E77, 0.0) +newpath + -1.5708 1.317 moveto + -1.5708 1.8812 lineto + -1.5708 6.1762 lineto + -1.428 6.2816 lineto + -0.8074 6.378103166302659 lineto + -0.43 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (0.0, 1.0) +newpath + -1.0634 1.4694 moveto + -1.0165 1.398 lineto + -0.9667 1.3312 lineto + -0.9146 1.2695 lineto + -0.8607 1.2135 lineto + -0.806 1.1635 lineto + -0.7514 1.1195 lineto + -0.6977 1.0814 lineto + -0.6456 1.0488 lineto + -0.5485 0.9979 lineto + -0.4627 0.9621 lineto + -0.3885 0.9372 lineto + -0.3254 0.92 lineto + -0.2271 0.8999 lineto + -0.1581 0.8903 lineto + -0.0763 0.8834 lineto + -0.0177 0.8815 lineto + 0.0 0.8814 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (-1.1579208923731617E77, 1.0) +newpath + -1.0634 1.4694 moveto + -1.1049 1.5404 lineto + -1.1434 1.6143 lineto + -1.179 1.6906 lineto + -1.2118 1.7687 lineto + -1.2419 1.8484 lineto + -1.2695 1.9293 lineto + -1.2948 2.0113 lineto + -1.3179 2.094 lineto + -1.3391 2.1774 lineto + -1.3585 2.2613 lineto + -1.3762 2.3456 lineto + -1.3924 2.4302 lineto + -1.4073 2.5152 lineto + -1.4209 2.6003 lineto + -1.4334 2.6857 lineto + -1.4448 2.7712 lineto + -1.4553 2.8569 lineto + -1.4649 2.9426 lineto + -1.4736 3.0285 lineto + -1.4817 3.1144 lineto + -1.4891 3.2004 lineto + -1.4958 3.2864 lineto + -1.5021 3.3725 lineto + -1.5077 3.4586 lineto + -1.513 3.5448 lineto + -1.5178 3.6309 lineto + -1.5221 3.7171 lineto + -1.5262 3.8033 lineto + -1.5299 3.8896 lineto + -1.5332 3.9758 lineto + -1.5364 4.062 lineto + -1.5392 4.1483 lineto + -1.5418 4.2346 lineto + -1.5442 4.3208 lineto + -1.5464 4.4071 lineto + -1.5484 4.4934 lineto + -1.5503 4.5797 lineto + -1.552 4.666 lineto + -1.5535 4.7523 lineto + -1.555 4.8386 lineto + -1.5563 4.9248 lineto + -1.5575 5.0111 lineto + -1.5586 5.0974 lineto + -1.5596 5.1837 lineto + -1.5605 5.27 lineto + -1.5614 5.3563 lineto + -1.5621 5.4426 lineto + -1.5629 5.5289 lineto + -1.5635 5.6153 lineto + -1.5641 5.7016 lineto + -1.5647 5.7879 lineto + -1.5652 5.8742 lineto + -1.5656 5.9605 lineto + -1.5661 6.0468 lineto + -1.5665 6.1331 lineto + -1.5737 6.2467 lineto + -0.8074 6.378103166302659 lineto + -0.43 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (0.0, -1.0) +newpath + -1.0634 -1.4694 moveto + -1.0165 -1.398 lineto + -0.9667 -1.3312 lineto + -0.9146 -1.2695 lineto + -0.8607 -1.2135 lineto + -0.806 -1.1635 lineto + -0.7514 -1.1195 lineto + -0.6977 -1.0814 lineto + -0.6456 -1.0488 lineto + -0.5485 -0.9979 lineto + -0.4627 -0.9621 lineto + -0.3885 -0.9372 lineto + -0.3254 -0.92 lineto + -0.2271 -0.8999 lineto + -0.1581 -0.8903 lineto + -0.0763 -0.8834 lineto + -0.0177 -0.8815 lineto + 0.0 -0.8814 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (-1.1579208923731617E77, -1.0) +newpath + -1.0634 -1.4694 moveto + -1.1049 -1.5404 lineto + -1.1434 -1.6143 lineto + -1.179 -1.6906 lineto + -1.2118 -1.7687 lineto + -1.2419 -1.8484 lineto + -1.2695 -1.9293 lineto + -1.2948 -2.0113 lineto + -1.3179 -2.094 lineto + -1.3391 -2.1774 lineto + -1.3585 -2.2613 lineto + -1.3762 -2.3456 lineto + -1.3924 -2.4302 lineto + -1.4073 -2.5152 lineto + -1.4209 -2.6003 lineto + -1.4334 -2.6857 lineto + -1.4448 -2.7712 lineto + -1.4553 -2.8569 lineto + -1.4649 -2.9426 lineto + -1.4736 -3.0285 lineto + -1.4817 -3.1144 lineto + -1.4891 -3.2004 lineto + -1.4958 -3.2864 lineto + -1.5021 -3.3725 lineto + -1.5077 -3.4586 lineto + -1.513 -3.5448 lineto + -1.5178 -3.6309 lineto + -1.5221 -3.7171 lineto + -1.5262 -3.8033 lineto + -1.5299 -3.8896 lineto + -1.5332 -3.9758 lineto + -1.5364 -4.062 lineto + -1.5392 -4.1483 lineto + -1.5418 -4.2346 lineto + -1.5442 -4.3208 lineto + -1.5464 -4.4071 lineto + -1.5484 -4.4934 lineto + -1.5503 -4.5797 lineto + -1.552 -4.666 lineto + -1.5535 -4.7523 lineto + -1.555 -4.8386 lineto + -1.5563 -4.9248 lineto + -1.5575 -5.0111 lineto + -1.5586 -5.0974 lineto + -1.5596 -5.1837 lineto + -1.5605 -5.27 lineto + -1.5614 -5.3563 lineto + -1.5621 -5.4426 lineto + -1.5629 -5.5289 lineto + -1.5635 -5.6153 lineto + -1.5641 -5.7016 lineto + -1.5647 -5.7879 lineto + -1.5652 -5.8742 lineto + -1.5656 -5.9605 lineto + -1.5661 -6.0468 lineto + -1.5665 -6.1331 lineto + -1.5737 -6.2467 lineto + -0.8074 -6.378103166302659 lineto + -0.43 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (-1.1579208923731617E77, 2.0) +newpath + 0.0 1.4436 moveto + -0.1004 1.4481 lineto + -0.1702 1.4567 lineto + -0.241 1.4699 lineto + -0.3389 1.4963 lineto + -0.3999 1.5177 lineto + -0.4697 1.5473 lineto + -0.5481 1.5874 lineto + -0.634 1.6407 lineto + -0.7022 1.6908 lineto + -0.7487 1.7295 lineto + -0.7957 1.7725 lineto + -0.8425 1.82 lineto + -0.8889 1.8718 lineto + -0.9343 1.9279 lineto + -0.9783 1.9879 lineto + -1.0207 2.0516 lineto + -1.0612 2.1187 lineto + -1.0997 2.1888 lineto + -1.1359 2.2616 lineto + -1.1699 2.3367 lineto + -1.2017 2.4139 lineto + -1.2314 2.4929 lineto + -1.2589 2.5734 lineto + -1.2843 2.6551 lineto + -1.3079 2.738 lineto + -1.3296 2.8218 lineto + -1.3497 2.9064 lineto + -1.3681 2.9917 lineto + -1.385 3.0775 lineto + -1.4006 3.1638 lineto + -1.4149 3.2505 lineto + -1.428 3.3375 lineto + -1.4401 3.4248 lineto + -1.4511 3.5123 lineto + -1.4612 3.6001 lineto + -1.4705 3.688 lineto + -1.479 3.776 lineto + -1.4867 3.8642 lineto + -1.4939 3.9524 lineto + -1.5004 4.0408 lineto + -1.5064 4.1292 lineto + -1.5118 4.2176 lineto + -1.5168 4.3062 lineto + -1.5214 4.3947 lineto + -1.5256 4.4833 lineto + -1.5294 4.5719 lineto + -1.5329 4.6605 lineto + -1.5362 4.7492 lineto + -1.5391 4.8379 lineto + -1.5418 4.9266 lineto + -1.5442 5.0153 lineto + -1.5465 5.104 lineto + -1.5486 5.1927 lineto + -1.5505 5.2814 lineto + -1.5522 5.3701 lineto + -1.5538 5.4589 lineto + -1.5552 5.5476 lineto + -1.5565 5.6364 lineto + -1.5577 5.7251 lineto + -1.5589 5.8138 lineto + -1.5599 5.9026 lineto + -1.5608 5.9913 lineto + -1.5616 6.0801 lineto + -1.5624 6.1688 lineto + -1.5512 6.2523 lineto + -0.5285 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (-1.1579208923731617E77, -2.0) +newpath + 0.0 -1.4436 moveto + -0.1004 -1.4481 lineto + -0.1702 -1.4567 lineto + -0.241 -1.4699 lineto + -0.3389 -1.4963 lineto + -0.3999 -1.5177 lineto + -0.4697 -1.5473 lineto + -0.5481 -1.5874 lineto + -0.634 -1.6407 lineto + -0.7022 -1.6908 lineto + -0.7487 -1.7295 lineto + -0.7957 -1.7725 lineto + -0.8425 -1.82 lineto + -0.8889 -1.8718 lineto + -0.9343 -1.9279 lineto + -0.9783 -1.9879 lineto + -1.0207 -2.0516 lineto + -1.0612 -2.1187 lineto + -1.0997 -2.1888 lineto + -1.1359 -2.2616 lineto + -1.1699 -2.3367 lineto + -1.2017 -2.4139 lineto + -1.2314 -2.4929 lineto + -1.2589 -2.5734 lineto + -1.2843 -2.6551 lineto + -1.3079 -2.738 lineto + -1.3296 -2.8218 lineto + -1.3497 -2.9064 lineto + -1.3681 -2.9917 lineto + -1.385 -3.0775 lineto + -1.4006 -3.1638 lineto + -1.4149 -3.2505 lineto + -1.428 -3.3375 lineto + -1.4401 -3.4248 lineto + -1.4511 -3.5123 lineto + -1.4612 -3.6001 lineto + -1.4705 -3.688 lineto + -1.479 -3.776 lineto + -1.4867 -3.8642 lineto + -1.4939 -3.9524 lineto + -1.5004 -4.0408 lineto + -1.5064 -4.1292 lineto + -1.5118 -4.2176 lineto + -1.5168 -4.3062 lineto + -1.5214 -4.3947 lineto + -1.5256 -4.4833 lineto + -1.5294 -4.5719 lineto + -1.5329 -4.6605 lineto + -1.5362 -4.7492 lineto + -1.5391 -4.8379 lineto + -1.5418 -4.9266 lineto + -1.5442 -5.0153 lineto + -1.5465 -5.104 lineto + -1.5486 -5.1927 lineto + -1.5505 -5.2814 lineto + -1.5522 -5.3701 lineto + -1.5538 -5.4589 lineto + -1.5552 -5.5476 lineto + -1.5565 -5.6364 lineto + -1.5577 -5.7251 lineto + -1.5589 -5.8138 lineto + -1.5599 -5.9026 lineto + -1.5608 -5.9913 lineto + -1.5616 -6.0801 lineto + -1.5624 -6.1688 lineto + -1.5512 -6.2523 lineto + -0.5285 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (-1.1579208923731617E77, 3.0) +newpath + 0.0 1.8184 moveto + -0.071 1.8208 lineto + -0.1438 1.8283 lineto + -0.2039 1.8383 lineto + -0.2873 1.8582 lineto + -0.3689 1.8848 lineto + -0.4335 1.9109 lineto + -0.5062 1.9464 lineto + -0.5865 1.9934 lineto + -0.6729 2.0542 lineto + -0.7403 2.11 lineto + -0.7858 2.1524 lineto + -0.8313 2.1988 lineto + -0.8765 2.2494 lineto + -0.9208 2.304 lineto + -0.9641 2.3625 lineto + -1.0059 2.4245 lineto + -1.0461 2.4898 lineto + -1.0844 2.5582 lineto + -1.1208 2.6294 lineto + -1.1551 2.703 lineto + -1.1873 2.7788 lineto + -1.2175 2.8564 lineto + -1.2457 2.9357 lineto + -1.2718 3.0165 lineto + -1.2961 3.0984 lineto + -1.3185 3.1815 lineto + -1.3393 3.2654 lineto + -1.3584 3.35 lineto + -1.3761 3.4353 lineto + -1.3923 3.5212 lineto + -1.4072 3.6075 lineto + -1.4209 3.6942 lineto + -1.4335 3.7813 lineto + -1.4451 3.8686 lineto + -1.4557 3.9561 lineto + -1.4654 4.0439 lineto + -1.4743 4.1318 lineto + -1.4825 4.2198 lineto + -1.4899 4.308 lineto + -1.4968 4.3962 lineto + -1.503 4.4846 lineto + -1.5088 4.573 lineto + -1.514 4.6614 lineto + -1.5189 4.75 lineto + -1.5233 4.8385 lineto + -1.5273 4.9271 lineto + -1.531 5.0157 lineto + -1.5344 5.1043 lineto + -1.5375 5.193 lineto + -1.5403 5.2817 lineto + -1.5429 5.3704 lineto + -1.5452 5.4591 lineto + -1.5474 5.5478 lineto + -1.5494 5.6365 lineto + -1.5512 5.7252 lineto + -1.5529 5.8139 lineto + -1.5544 5.9027 lineto + -1.5558 5.9914 lineto + -1.5571 6.0801 lineto + -1.5582 6.1689 lineto + -1.5477 6.2532 lineto + -0.5285 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (-1.1579208923731617E77, -3.0) +newpath + 0.0 -1.8184 moveto + -0.071 -1.8208 lineto + -0.1438 -1.8283 lineto + -0.2039 -1.8383 lineto + -0.2873 -1.8582 lineto + -0.3689 -1.8848 lineto + -0.4335 -1.9109 lineto + -0.5062 -1.9464 lineto + -0.5865 -1.9934 lineto + -0.6729 -2.0542 lineto + -0.7403 -2.11 lineto + -0.7858 -2.1524 lineto + -0.8313 -2.1988 lineto + -0.8765 -2.2494 lineto + -0.9208 -2.304 lineto + -0.9641 -2.3625 lineto + -1.0059 -2.4245 lineto + -1.0461 -2.4898 lineto + -1.0844 -2.5582 lineto + -1.1208 -2.6294 lineto + -1.1551 -2.703 lineto + -1.1873 -2.7788 lineto + -1.2175 -2.8564 lineto + -1.2457 -2.9357 lineto + -1.2718 -3.0165 lineto + -1.2961 -3.0984 lineto + -1.3185 -3.1815 lineto + -1.3393 -3.2654 lineto + -1.3584 -3.35 lineto + -1.3761 -3.4353 lineto + -1.3923 -3.5212 lineto + -1.4072 -3.6075 lineto + -1.4209 -3.6942 lineto + -1.4335 -3.7813 lineto + -1.4451 -3.8686 lineto + -1.4557 -3.9561 lineto + -1.4654 -4.0439 lineto + -1.4743 -4.1318 lineto + -1.4825 -4.2198 lineto + -1.4899 -4.308 lineto + -1.4968 -4.3962 lineto + -1.503 -4.4846 lineto + -1.5088 -4.573 lineto + -1.514 -4.6614 lineto + -1.5189 -4.75 lineto + -1.5233 -4.8385 lineto + -1.5273 -4.9271 lineto + -1.531 -5.0157 lineto + -1.5344 -5.1043 lineto + -1.5375 -5.193 lineto + -1.5403 -5.2817 lineto + -1.5429 -5.3704 lineto + -1.5452 -5.4591 lineto + -1.5474 -5.5478 lineto + -1.5494 -5.6365 lineto + -1.5512 -5.7252 lineto + -1.5529 -5.8139 lineto + -1.5544 -5.9027 lineto + -1.5558 -5.9914 lineto + -1.5571 -6.0801 lineto + -1.5582 -6.1689 lineto + -1.5477 -6.2532 lineto + -0.5285 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 0.0) +newpath + 0.0 0.4812 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 1.0) +newpath + 0.0 0.4812 moveto + 0.0 0.8814 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.0) +newpath + 0.0 1.4436 moveto + 0.0 0.8814 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.1579208923731617E77) +newpath + 0.0 1.4436 moveto + 0.0 6.3488 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 0.0) +newpath + 0.4271 1.5286 moveto + 0.4569 1.4589 lineto + 0.4875 1.3916 lineto + 0.5187 1.3267 lineto + 0.5505 1.2644 lineto + 0.5825 1.2047 lineto + 0.6148 1.1475 lineto + 0.647 1.0928 lineto + 0.6791 1.0407 lineto + 0.7109 0.991 lineto + 0.7732 0.8987 lineto + 0.8332 0.8153 lineto + 0.8904 0.7399 lineto + 0.9444 0.6719 lineto + 0.995 0.6105 lineto + 1.0422 0.5551 lineto + 1.086 0.5049 lineto + 1.1457 0.4385 lineto + 1.2148 0.3638 lineto + 1.2731 0.3022 lineto + 1.3222 0.2512 lineto + 1.3813 0.1907 lineto + 1.439 0.1322 lineto + 1.4945 0.0764 lineto + 1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 1.1579208923731617E77) +newpath + 0.4271 1.5286 moveto + 0.3997 1.5966 lineto + 0.3734 1.6666 lineto + 0.348 1.7384 lineto + 0.3238 1.8119 lineto + 0.3008 1.887 lineto + 0.2789 1.9634 lineto + 0.2583 2.0412 lineto + 0.2389 2.1201 lineto + 0.2207 2.2 lineto + 0.2037 2.2807 lineto + 0.1879 2.3623 lineto + 0.1731 2.4446 lineto + 0.1594 2.5274 lineto + 0.1467 2.6108 lineto + 0.1349 2.6946 lineto + 0.1241 2.7788 lineto + 0.114 2.8633 lineto + 0.1048 2.948 lineto + 0.0963 3.0331 lineto + 0.0884 3.1183 lineto + 0.0812 3.2036 lineto + 0.0745 3.2892 lineto + 0.0684 3.3748 lineto + 0.0628 3.4606 lineto + 0.0576 3.5464 lineto + 0.0529 3.6323 lineto + 0.0485 3.7183 lineto + 0.0445 3.8043 lineto + 0.0409 3.8904 lineto + 0.0375 3.9765 lineto + 0.0344 4.0626 lineto + 0.0316 4.1488 lineto + 0.029 4.235 lineto + 0.0266 4.3212 lineto + 0.0244 4.4074 lineto + 0.0224 4.4936 lineto + 0.0205 4.5799 lineto + 0.0188 4.6661 lineto + 0.0173 4.7524 lineto + 0.0158 4.8387 lineto + 0.0145 4.925 lineto + 0.0133 5.0112 lineto + 0.0122 5.0975 lineto + 0.0112 5.1838 lineto + 0.0103 5.2701 lineto + 0.0094 5.3564 lineto + 0.0087 5.4427 lineto + 0.0079 5.529 lineto + 0.0073 5.6153 lineto + 0.0067 5.7016 lineto + 0.0061 5.7879 lineto + 0.0056 5.8742 lineto + 0.0052 5.9605 lineto + 0.0047 6.0468 lineto + 0.0043 6.1331 lineto + 0.0038 6.2625 lineto + 0.0035 6.3488 lineto + 0.0028 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 0.0) +newpath + -0.4271 1.5286 moveto + -0.4569 1.4589 lineto + -0.4875 1.3916 lineto + -0.5187 1.3267 lineto + -0.5505 1.2644 lineto + -0.5825 1.2047 lineto + -0.6148 1.1475 lineto + -0.647 1.0928 lineto + -0.6791 1.0407 lineto + -0.7109 0.991 lineto + -0.7732 0.8987 lineto + -0.8332 0.8153 lineto + -0.8904 0.7399 lineto + -0.9444 0.6719 lineto + -0.995 0.6105 lineto + -1.0422 0.5551 lineto + -1.086 0.5049 lineto + -1.1457 0.4385 lineto + -1.2148 0.3638 lineto + -1.2731 0.3022 lineto + -1.3222 0.2512 lineto + -1.3813 0.1907 lineto + -1.439 0.1322 lineto + -1.4945 0.0764 lineto + -1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 1.1579208923731617E77) +newpath + -0.4271 1.5286 moveto + -0.3997 1.5966 lineto + -0.3734 1.6666 lineto + -0.348 1.7384 lineto + -0.3238 1.8119 lineto + -0.3008 1.887 lineto + -0.2789 1.9634 lineto + -0.2583 2.0412 lineto + -0.2389 2.1201 lineto + -0.2207 2.2 lineto + -0.2037 2.2807 lineto + -0.1879 2.3623 lineto + -0.1731 2.4446 lineto + -0.1594 2.5274 lineto + -0.1467 2.6108 lineto + -0.1349 2.6946 lineto + -0.1241 2.7788 lineto + -0.114 2.8633 lineto + -0.1048 2.948 lineto + -0.0963 3.0331 lineto + -0.0884 3.1183 lineto + -0.0812 3.2036 lineto + -0.0745 3.2892 lineto + -0.0684 3.3748 lineto + -0.0628 3.4606 lineto + -0.0576 3.5464 lineto + -0.0529 3.6323 lineto + -0.0485 3.7183 lineto + -0.0445 3.8043 lineto + -0.0409 3.8904 lineto + -0.0375 3.9765 lineto + -0.0344 4.0626 lineto + -0.0316 4.1488 lineto + -0.029 4.235 lineto + -0.0266 4.3212 lineto + -0.0244 4.4074 lineto + -0.0224 4.4936 lineto + -0.0205 4.5799 lineto + -0.0188 4.6661 lineto + -0.0173 4.7524 lineto + -0.0158 4.8387 lineto + -0.0145 4.925 lineto + -0.0133 5.0112 lineto + -0.0122 5.0975 lineto + -0.0112 5.1838 lineto + -0.0103 5.2701 lineto + -0.0094 5.3564 lineto + -0.0087 5.4427 lineto + -0.0079 5.529 lineto + -0.0073 5.6153 lineto + -0.0067 5.7016 lineto + -0.0061 5.7879 lineto + -0.0056 5.8742 lineto + -0.0052 5.9605 lineto + -0.0047 6.0468 lineto + -0.0043 6.1331 lineto + -0.0038 6.2625 lineto + -0.0035 6.3488 lineto + -0.0028 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, 1.1579208923731617E77) +newpath + 1.5708 1.317 moveto + 1.5071 1.3193 lineto + 1.442 1.3265 lineto + 1.3547 1.344 lineto + 1.2693 1.3699 lineto + 1.1881 1.4026 lineto + 1.1256 1.4336 lineto + 1.0566 1.4736 lineto + 0.982 1.5244 lineto + 0.903 1.5872 lineto + 0.8212 1.663 lineto + 0.7798 1.706 lineto + 0.7384 1.7525 lineto + 0.6973 1.8024 lineto + 0.6567 1.8556 lineto + 0.6168 1.9122 lineto + 0.5778 1.9719 lineto + 0.5399 2.0347 lineto + 0.5034 2.1003 lineto + 0.4684 2.1686 lineto + 0.4349 2.2394 lineto + 0.4031 2.3124 lineto + 0.3729 2.3875 lineto + 0.3446 2.4644 lineto + 0.3179 2.5429 lineto + 0.293 2.6229 lineto + 0.2698 2.7042 lineto + 0.2481 2.7865 lineto + 0.2281 2.8698 lineto + 0.2095 2.954 lineto + 0.1923 3.0388 lineto + 0.1765 3.1242 lineto + 0.1618 3.2102 lineto + 0.1484 3.2966 lineto + 0.136 3.3833 lineto + 0.1246 3.4704 lineto + 0.1142 3.5578 lineto + 0.1046 3.6454 lineto + 0.0958 3.7331 lineto + 0.0877 3.821 lineto + 0.0803 3.9091 lineto + 0.0735 3.9973 lineto + 0.0673 4.0855 lineto + 0.0616 4.1739 lineto + 0.0564 4.2623 lineto + 0.0516 4.3508 lineto + 0.0472 4.4393 lineto + 0.0432 4.5278 lineto + 0.0396 4.6164 lineto + 0.0362 4.705 lineto + 0.0331 4.7937 lineto + 0.0303 4.8823 lineto + 0.0277 4.971 lineto + 0.0254 5.0597 lineto + 0.0232 5.1484 lineto + 0.0213 5.2371 lineto + 0.0195 5.3258 lineto + 0.0178 5.4145 lineto + 0.0163 5.5033 lineto + 0.0149 5.592 lineto + 0.0136 5.6807 lineto + 0.0125 5.7695 lineto + 0.0114 5.8582 lineto + 0.0105 5.947 lineto + 0.0096 6.0357 lineto + 0.0088 6.1245 lineto + 0.008 6.2132 lineto + 0.0073 6.302 lineto + 0.0068 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, 1.1579208923731617E77) +newpath + -1.5708 1.317 moveto + -1.5071 1.3193 lineto + -1.442 1.3265 lineto + -1.3547 1.344 lineto + -1.2693 1.3699 lineto + -1.1881 1.4026 lineto + -1.1256 1.4336 lineto + -1.0566 1.4736 lineto + -0.982 1.5244 lineto + -0.903 1.5872 lineto + -0.8212 1.663 lineto + -0.7798 1.706 lineto + -0.7384 1.7525 lineto + -0.6973 1.8024 lineto + -0.6567 1.8556 lineto + -0.6168 1.9122 lineto + -0.5778 1.9719 lineto + -0.5399 2.0347 lineto + -0.5034 2.1003 lineto + -0.4684 2.1686 lineto + -0.4349 2.2394 lineto + -0.4031 2.3124 lineto + -0.3729 2.3875 lineto + -0.3446 2.4644 lineto + -0.3179 2.5429 lineto + -0.293 2.6229 lineto + -0.2698 2.7042 lineto + -0.2481 2.7865 lineto + -0.2281 2.8698 lineto + -0.2095 2.954 lineto + -0.1923 3.0388 lineto + -0.1765 3.1242 lineto + -0.1618 3.2102 lineto + -0.1484 3.2966 lineto + -0.136 3.3833 lineto + -0.1246 3.4704 lineto + -0.1142 3.5578 lineto + -0.1046 3.6454 lineto + -0.0958 3.7331 lineto + -0.0877 3.821 lineto + -0.0803 3.9091 lineto + -0.0735 3.9973 lineto + -0.0673 4.0855 lineto + -0.0616 4.1739 lineto + -0.0564 4.2623 lineto + -0.0516 4.3508 lineto + -0.0472 4.4393 lineto + -0.0432 4.5278 lineto + -0.0396 4.6164 lineto + -0.0362 4.705 lineto + -0.0331 4.7937 lineto + -0.0303 4.8823 lineto + -0.0277 4.971 lineto + -0.0254 5.0597 lineto + -0.0232 5.1484 lineto + -0.0213 5.2371 lineto + -0.0195 5.3258 lineto + -0.0178 5.4145 lineto + -0.0163 5.5033 lineto + -0.0149 5.592 lineto + -0.0136 5.6807 lineto + -0.0125 5.7695 lineto + -0.0114 5.8582 lineto + -0.0105 5.947 lineto + -0.0096 6.0357 lineto + -0.0088 6.1245 lineto + -0.008 6.2132 lineto + -0.0073 6.302 lineto + -0.0068 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, 1.1579208923731617E77) +newpath + 1.5708 1.7627 moveto + 1.4915 1.7661 lineto + 1.4107 1.7764 lineto + 1.3447 1.79 lineto + 1.2547 1.8165 lineto + 1.1991 1.8374 lineto + 1.1362 1.8657 lineto + 1.066 1.903 lineto + 0.9894 1.9512 lineto + 0.9077 2.0122 lineto + 0.8226 2.0872 lineto + 0.7795 2.1302 lineto + 0.7365 2.1769 lineto + 0.6938 2.2273 lineto + 0.6517 2.2814 lineto + 0.6105 2.3389 lineto + 0.5705 2.3997 lineto + 0.5318 2.4637 lineto + 0.4946 2.5306 lineto + 0.4591 2.6002 lineto + 0.4253 2.6722 lineto + 0.3934 2.7464 lineto + 0.3634 2.8227 lineto + 0.3352 2.9006 lineto + 0.3088 2.9802 lineto + 0.2842 3.061 lineto + 0.2614 3.1431 lineto + 0.2402 3.2261 lineto + 0.2206 3.31 lineto + 0.2025 3.3947 lineto + 0.1857 3.48 lineto + 0.1703 3.5658 lineto + 0.1561 3.6521 lineto + 0.1431 3.7388 lineto + 0.1311 3.8258 lineto + 0.1201 3.9131 lineto + 0.11 4.0006 lineto + 0.1007 4.0883 lineto + 0.0922 4.1762 lineto + 0.0845 4.2643 lineto + 0.0773 4.3524 lineto + 0.0708 4.4407 lineto + 0.0648 4.529 lineto + 0.0593 4.6174 lineto + 0.0543 4.7059 lineto + 0.0497 4.7944 lineto + 0.0455 4.8829 lineto + 0.0416 4.9715 lineto + 0.0381 5.0601 lineto + 0.0348 5.1487 lineto + 0.0319 5.2374 lineto + 0.0292 5.3261 lineto + 0.0267 5.4147 lineto + 0.0244 5.5034 lineto + 0.0224 5.5921 lineto + 0.0205 5.6809 lineto + 0.0187 5.7696 lineto + 0.0171 5.8583 lineto + 0.0157 5.947 lineto + 0.0144 6.0358 lineto + 0.0131 6.1245 lineto + 0.012 6.2133 lineto + 0.011 6.302 lineto + 0.0101 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, 1.1579208923731617E77) +newpath + -1.5708 1.7627 moveto + -1.4915 1.7661 lineto + -1.4107 1.7764 lineto + -1.3447 1.79 lineto + -1.2547 1.8165 lineto + -1.1991 1.8374 lineto + -1.1362 1.8657 lineto + -1.066 1.903 lineto + -0.9894 1.9512 lineto + -0.9077 2.0122 lineto + -0.8226 2.0872 lineto + -0.7795 2.1302 lineto + -0.7365 2.1769 lineto + -0.6938 2.2273 lineto + -0.6517 2.2814 lineto + -0.6105 2.3389 lineto + -0.5705 2.3997 lineto + -0.5318 2.4637 lineto + -0.4946 2.5306 lineto + -0.4591 2.6002 lineto + -0.4253 2.6722 lineto + -0.3934 2.7464 lineto + -0.3634 2.8227 lineto + -0.3352 2.9006 lineto + -0.3088 2.9802 lineto + -0.2842 3.061 lineto + -0.2614 3.1431 lineto + -0.2402 3.2261 lineto + -0.2206 3.31 lineto + -0.2025 3.3947 lineto + -0.1857 3.48 lineto + -0.1703 3.5658 lineto + -0.1561 3.6521 lineto + -0.1431 3.7388 lineto + -0.1311 3.8258 lineto + -0.1201 3.9131 lineto + -0.11 4.0006 lineto + -0.1007 4.0883 lineto + -0.0922 4.1762 lineto + -0.0845 4.2643 lineto + -0.0773 4.3524 lineto + -0.0708 4.4407 lineto + -0.0648 4.529 lineto + -0.0593 4.6174 lineto + -0.0543 4.7059 lineto + -0.0497 4.7944 lineto + -0.0455 4.8829 lineto + -0.0416 4.9715 lineto + -0.0381 5.0601 lineto + -0.0348 5.1487 lineto + -0.0319 5.2374 lineto + -0.0292 5.3261 lineto + -0.0267 5.4147 lineto + -0.0244 5.5034 lineto + -0.0224 5.5921 lineto + -0.0205 5.6809 lineto + -0.0187 5.7696 lineto + -0.0171 5.8583 lineto + -0.0157 5.947 lineto + -0.0144 6.0358 lineto + -0.0131 6.1245 lineto + -0.012 6.2133 lineto + -0.011 6.302 lineto + -0.0101 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, 0.0) +newpath + 0.0 -0.4812 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, -1.0) +newpath + 0.0 -0.4812 moveto + 0.0 -0.8814 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.0) +newpath + 0.0 -1.4436 moveto + 0.0 -0.8814 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.1579208923731617E77) +newpath + 0.0 -1.4436 moveto + 0.0 -6.3488 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, 0.0) +newpath + 0.4271 -1.5286 moveto + 0.4569 -1.4589 lineto + 0.4875 -1.3916 lineto + 0.5187 -1.3267 lineto + 0.5505 -1.2644 lineto + 0.5825 -1.2047 lineto + 0.6148 -1.1475 lineto + 0.647 -1.0928 lineto + 0.6791 -1.0407 lineto + 0.7109 -0.991 lineto + 0.7732 -0.8987 lineto + 0.8332 -0.8153 lineto + 0.8904 -0.7399 lineto + 0.9444 -0.6719 lineto + 0.995 -0.6105 lineto + 1.0422 -0.5551 lineto + 1.086 -0.5049 lineto + 1.1457 -0.4385 lineto + 1.2148 -0.3638 lineto + 1.2731 -0.3022 lineto + 1.3222 -0.2512 lineto + 1.3813 -0.1907 lineto + 1.439 -0.1322 lineto + 1.4945 -0.0764 lineto + 1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, -1.1579208923731617E77) +newpath + 0.4271 -1.5286 moveto + 0.3997 -1.5966 lineto + 0.3734 -1.6666 lineto + 0.348 -1.7384 lineto + 0.3238 -1.8119 lineto + 0.3008 -1.887 lineto + 0.2789 -1.9634 lineto + 0.2583 -2.0412 lineto + 0.2389 -2.1201 lineto + 0.2207 -2.2 lineto + 0.2037 -2.2807 lineto + 0.1879 -2.3623 lineto + 0.1731 -2.4446 lineto + 0.1594 -2.5274 lineto + 0.1467 -2.6108 lineto + 0.1349 -2.6946 lineto + 0.1241 -2.7788 lineto + 0.114 -2.8633 lineto + 0.1048 -2.948 lineto + 0.0963 -3.0331 lineto + 0.0884 -3.1183 lineto + 0.0812 -3.2036 lineto + 0.0745 -3.2892 lineto + 0.0684 -3.3748 lineto + 0.0628 -3.4606 lineto + 0.0576 -3.5464 lineto + 0.0529 -3.6323 lineto + 0.0485 -3.7183 lineto + 0.0445 -3.8043 lineto + 0.0409 -3.8904 lineto + 0.0375 -3.9765 lineto + 0.0344 -4.0626 lineto + 0.0316 -4.1488 lineto + 0.029 -4.235 lineto + 0.0266 -4.3212 lineto + 0.0244 -4.4074 lineto + 0.0224 -4.4936 lineto + 0.0205 -4.5799 lineto + 0.0188 -4.6661 lineto + 0.0173 -4.7524 lineto + 0.0158 -4.8387 lineto + 0.0145 -4.925 lineto + 0.0133 -5.0112 lineto + 0.0122 -5.0975 lineto + 0.0112 -5.1838 lineto + 0.0103 -5.2701 lineto + 0.0094 -5.3564 lineto + 0.0087 -5.4427 lineto + 0.0079 -5.529 lineto + 0.0073 -5.6153 lineto + 0.0067 -5.7016 lineto + 0.0061 -5.7879 lineto + 0.0056 -5.8742 lineto + 0.0052 -5.9605 lineto + 0.0047 -6.0468 lineto + 0.0043 -6.1331 lineto + 0.0038 -6.2625 lineto + 0.0035 -6.3488 lineto + 0.0028 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, 0.0) +newpath + -0.4271 -1.5286 moveto + -0.4569 -1.4589 lineto + -0.4875 -1.3916 lineto + -0.5187 -1.3267 lineto + -0.5505 -1.2644 lineto + -0.5825 -1.2047 lineto + -0.6148 -1.1475 lineto + -0.647 -1.0928 lineto + -0.6791 -1.0407 lineto + -0.7109 -0.991 lineto + -0.7732 -0.8987 lineto + -0.8332 -0.8153 lineto + -0.8904 -0.7399 lineto + -0.9444 -0.6719 lineto + -0.995 -0.6105 lineto + -1.0422 -0.5551 lineto + -1.086 -0.5049 lineto + -1.1457 -0.4385 lineto + -1.2148 -0.3638 lineto + -1.2731 -0.3022 lineto + -1.3222 -0.2512 lineto + -1.3813 -0.1907 lineto + -1.439 -0.1322 lineto + -1.4945 -0.0764 lineto + -1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, -1.1579208923731617E77) +newpath + -0.4271 -1.5286 moveto + -0.3997 -1.5966 lineto + -0.3734 -1.6666 lineto + -0.348 -1.7384 lineto + -0.3238 -1.8119 lineto + -0.3008 -1.887 lineto + -0.2789 -1.9634 lineto + -0.2583 -2.0412 lineto + -0.2389 -2.1201 lineto + -0.2207 -2.2 lineto + -0.2037 -2.2807 lineto + -0.1879 -2.3623 lineto + -0.1731 -2.4446 lineto + -0.1594 -2.5274 lineto + -0.1467 -2.6108 lineto + -0.1349 -2.6946 lineto + -0.1241 -2.7788 lineto + -0.114 -2.8633 lineto + -0.1048 -2.948 lineto + -0.0963 -3.0331 lineto + -0.0884 -3.1183 lineto + -0.0812 -3.2036 lineto + -0.0745 -3.2892 lineto + -0.0684 -3.3748 lineto + -0.0628 -3.4606 lineto + -0.0576 -3.5464 lineto + -0.0529 -3.6323 lineto + -0.0485 -3.7183 lineto + -0.0445 -3.8043 lineto + -0.0409 -3.8904 lineto + -0.0375 -3.9765 lineto + -0.0344 -4.0626 lineto + -0.0316 -4.1488 lineto + -0.029 -4.235 lineto + -0.0266 -4.3212 lineto + -0.0244 -4.4074 lineto + -0.0224 -4.4936 lineto + -0.0205 -4.5799 lineto + -0.0188 -4.6661 lineto + -0.0173 -4.7524 lineto + -0.0158 -4.8387 lineto + -0.0145 -4.925 lineto + -0.0133 -5.0112 lineto + -0.0122 -5.0975 lineto + -0.0112 -5.1838 lineto + -0.0103 -5.2701 lineto + -0.0094 -5.3564 lineto + -0.0087 -5.4427 lineto + -0.0079 -5.529 lineto + -0.0073 -5.6153 lineto + -0.0067 -5.7016 lineto + -0.0061 -5.7879 lineto + -0.0056 -5.8742 lineto + -0.0052 -5.9605 lineto + -0.0047 -6.0468 lineto + -0.0043 -6.1331 lineto + -0.0038 -6.2625 lineto + -0.0035 -6.3488 lineto + -0.0028 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, -1.1579208923731617E77) +newpath + 1.5708 -1.317 moveto + 1.5071 -1.3193 lineto + 1.442 -1.3265 lineto + 1.3547 -1.344 lineto + 1.2693 -1.3699 lineto + 1.1881 -1.4026 lineto + 1.1256 -1.4336 lineto + 1.0566 -1.4736 lineto + 0.982 -1.5244 lineto + 0.903 -1.5872 lineto + 0.8212 -1.663 lineto + 0.7798 -1.706 lineto + 0.7384 -1.7525 lineto + 0.6973 -1.8024 lineto + 0.6567 -1.8556 lineto + 0.6168 -1.9122 lineto + 0.5778 -1.9719 lineto + 0.5399 -2.0347 lineto + 0.5034 -2.1003 lineto + 0.4684 -2.1686 lineto + 0.4349 -2.2394 lineto + 0.4031 -2.3124 lineto + 0.3729 -2.3875 lineto + 0.3446 -2.4644 lineto + 0.3179 -2.5429 lineto + 0.293 -2.6229 lineto + 0.2698 -2.7042 lineto + 0.2481 -2.7865 lineto + 0.2281 -2.8698 lineto + 0.2095 -2.954 lineto + 0.1923 -3.0388 lineto + 0.1765 -3.1242 lineto + 0.1618 -3.2102 lineto + 0.1484 -3.2966 lineto + 0.136 -3.3833 lineto + 0.1246 -3.4704 lineto + 0.1142 -3.5578 lineto + 0.1046 -3.6454 lineto + 0.0958 -3.7331 lineto + 0.0877 -3.821 lineto + 0.0803 -3.9091 lineto + 0.0735 -3.9973 lineto + 0.0673 -4.0855 lineto + 0.0616 -4.1739 lineto + 0.0564 -4.2623 lineto + 0.0516 -4.3508 lineto + 0.0472 -4.4393 lineto + 0.0432 -4.5278 lineto + 0.0396 -4.6164 lineto + 0.0362 -4.705 lineto + 0.0331 -4.7937 lineto + 0.0303 -4.8823 lineto + 0.0277 -4.971 lineto + 0.0254 -5.0597 lineto + 0.0232 -5.1484 lineto + 0.0213 -5.2371 lineto + 0.0195 -5.3258 lineto + 0.0178 -5.4145 lineto + 0.0163 -5.5033 lineto + 0.0149 -5.592 lineto + 0.0136 -5.6807 lineto + 0.0125 -5.7695 lineto + 0.0114 -5.8582 lineto + 0.0105 -5.947 lineto + 0.0096 -6.0357 lineto + 0.0088 -6.1245 lineto + 0.008 -6.2132 lineto + 0.0073 -6.302 lineto + 0.0068 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, -1.1579208923731617E77) +newpath + -1.5708 -1.317 moveto + -1.5071 -1.3193 lineto + -1.442 -1.3265 lineto + -1.3547 -1.344 lineto + -1.2693 -1.3699 lineto + -1.1881 -1.4026 lineto + -1.1256 -1.4336 lineto + -1.0566 -1.4736 lineto + -0.982 -1.5244 lineto + -0.903 -1.5872 lineto + -0.8212 -1.663 lineto + -0.7798 -1.706 lineto + -0.7384 -1.7525 lineto + -0.6973 -1.8024 lineto + -0.6567 -1.8556 lineto + -0.6168 -1.9122 lineto + -0.5778 -1.9719 lineto + -0.5399 -2.0347 lineto + -0.5034 -2.1003 lineto + -0.4684 -2.1686 lineto + -0.4349 -2.2394 lineto + -0.4031 -2.3124 lineto + -0.3729 -2.3875 lineto + -0.3446 -2.4644 lineto + -0.3179 -2.5429 lineto + -0.293 -2.6229 lineto + -0.2698 -2.7042 lineto + -0.2481 -2.7865 lineto + -0.2281 -2.8698 lineto + -0.2095 -2.954 lineto + -0.1923 -3.0388 lineto + -0.1765 -3.1242 lineto + -0.1618 -3.2102 lineto + -0.1484 -3.2966 lineto + -0.136 -3.3833 lineto + -0.1246 -3.4704 lineto + -0.1142 -3.5578 lineto + -0.1046 -3.6454 lineto + -0.0958 -3.7331 lineto + -0.0877 -3.821 lineto + -0.0803 -3.9091 lineto + -0.0735 -3.9973 lineto + -0.0673 -4.0855 lineto + -0.0616 -4.1739 lineto + -0.0564 -4.2623 lineto + -0.0516 -4.3508 lineto + -0.0472 -4.4393 lineto + -0.0432 -4.5278 lineto + -0.0396 -4.6164 lineto + -0.0362 -4.705 lineto + -0.0331 -4.7937 lineto + -0.0303 -4.8823 lineto + -0.0277 -4.971 lineto + -0.0254 -5.0597 lineto + -0.0232 -5.1484 lineto + -0.0213 -5.2371 lineto + -0.0195 -5.3258 lineto + -0.0178 -5.4145 lineto + -0.0163 -5.5033 lineto + -0.0149 -5.592 lineto + -0.0136 -5.6807 lineto + -0.0125 -5.7695 lineto + -0.0114 -5.8582 lineto + -0.0105 -5.947 lineto + -0.0096 -6.0357 lineto + -0.0088 -6.1245 lineto + -0.008 -6.2132 lineto + -0.0073 -6.302 lineto + -0.0068 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, -1.1579208923731617E77) +newpath + 1.5708 -1.7627 moveto + 1.4915 -1.7661 lineto + 1.4107 -1.7764 lineto + 1.3447 -1.79 lineto + 1.2547 -1.8165 lineto + 1.1991 -1.8374 lineto + 1.1362 -1.8657 lineto + 1.066 -1.903 lineto + 0.9894 -1.9512 lineto + 0.9077 -2.0122 lineto + 0.8226 -2.0872 lineto + 0.7795 -2.1302 lineto + 0.7365 -2.1769 lineto + 0.6938 -2.2273 lineto + 0.6517 -2.2814 lineto + 0.6105 -2.3389 lineto + 0.5705 -2.3997 lineto + 0.5318 -2.4637 lineto + 0.4946 -2.5306 lineto + 0.4591 -2.6002 lineto + 0.4253 -2.6722 lineto + 0.3934 -2.7464 lineto + 0.3634 -2.8227 lineto + 0.3352 -2.9006 lineto + 0.3088 -2.9802 lineto + 0.2842 -3.061 lineto + 0.2614 -3.1431 lineto + 0.2402 -3.2261 lineto + 0.2206 -3.31 lineto + 0.2025 -3.3947 lineto + 0.1857 -3.48 lineto + 0.1703 -3.5658 lineto + 0.1561 -3.6521 lineto + 0.1431 -3.7388 lineto + 0.1311 -3.8258 lineto + 0.1201 -3.9131 lineto + 0.11 -4.0006 lineto + 0.1007 -4.0883 lineto + 0.0922 -4.1762 lineto + 0.0845 -4.2643 lineto + 0.0773 -4.3524 lineto + 0.0708 -4.4407 lineto + 0.0648 -4.529 lineto + 0.0593 -4.6174 lineto + 0.0543 -4.7059 lineto + 0.0497 -4.7944 lineto + 0.0455 -4.8829 lineto + 0.0416 -4.9715 lineto + 0.0381 -5.0601 lineto + 0.0348 -5.1487 lineto + 0.0319 -5.2374 lineto + 0.0292 -5.3261 lineto + 0.0267 -5.4147 lineto + 0.0244 -5.5034 lineto + 0.0224 -5.5921 lineto + 0.0205 -5.6809 lineto + 0.0187 -5.7696 lineto + 0.0171 -5.8583 lineto + 0.0157 -5.947 lineto + 0.0144 -6.0358 lineto + 0.0131 -6.1245 lineto + 0.012 -6.2133 lineto + 0.011 -6.302 lineto + 0.0101 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, -1.1579208923731617E77) +newpath + -1.5708 -1.7627 moveto + -1.4915 -1.7661 lineto + -1.4107 -1.7764 lineto + -1.3447 -1.79 lineto + -1.2547 -1.8165 lineto + -1.1991 -1.8374 lineto + -1.1362 -1.8657 lineto + -1.066 -1.903 lineto + -0.9894 -1.9512 lineto + -0.9077 -2.0122 lineto + -0.8226 -2.0872 lineto + -0.7795 -2.1302 lineto + -0.7365 -2.1769 lineto + -0.6938 -2.2273 lineto + -0.6517 -2.2814 lineto + -0.6105 -2.3389 lineto + -0.5705 -2.3997 lineto + -0.5318 -2.4637 lineto + -0.4946 -2.5306 lineto + -0.4591 -2.6002 lineto + -0.4253 -2.6722 lineto + -0.3934 -2.7464 lineto + -0.3634 -2.8227 lineto + -0.3352 -2.9006 lineto + -0.3088 -2.9802 lineto + -0.2842 -3.061 lineto + -0.2614 -3.1431 lineto + -0.2402 -3.2261 lineto + -0.2206 -3.31 lineto + -0.2025 -3.3947 lineto + -0.1857 -3.48 lineto + -0.1703 -3.5658 lineto + -0.1561 -3.6521 lineto + -0.1431 -3.7388 lineto + -0.1311 -3.8258 lineto + -0.1201 -3.9131 lineto + -0.11 -4.0006 lineto + -0.1007 -4.0883 lineto + -0.0922 -4.1762 lineto + -0.0845 -4.2643 lineto + -0.0773 -4.3524 lineto + -0.0708 -4.4407 lineto + -0.0648 -4.529 lineto + -0.0593 -4.6174 lineto + -0.0543 -4.7059 lineto + -0.0497 -4.7944 lineto + -0.0455 -4.8829 lineto + -0.0416 -4.9715 lineto + -0.0381 -5.0601 lineto + -0.0348 -5.1487 lineto + -0.0319 -5.2374 lineto + -0.0292 -5.3261 lineto + -0.0267 -5.4147 lineto + -0.0244 -5.5034 lineto + -0.0224 -5.5921 lineto + -0.0205 -5.6809 lineto + -0.0187 -5.7696 lineto + -0.0171 -5.8583 lineto + -0.0157 -5.947 lineto + -0.0144 -6.0358 lineto + -0.0131 -6.1245 lineto + -0.012 -6.2133 lineto + -0.011 -6.302 lineto + -0.0101 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Real axis +newpath -5 0 moveto 5 0 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 1.0 0.12 moveto 1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.0 0.12 moveto -1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 2.0 0.12 moveto 2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -2.0 0.12 moveto -2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.0 0.12 moveto 3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.0 0.12 moveto -3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 4.0 0.12 moveto 4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -4.0 0.12 moveto -4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 1.5707963267948966 0.09 moveto 1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.5707963267948966 0.09 moveto -1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.141592653589793 0.09 moveto 3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.141592653589793 0.09 moveto -3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +% Imaginary axis +newpath 0 -5 moveto 0 5 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 0.12 1.0 moveto -0.12 1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -1.0 moveto -0.12 -1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 2.0 moveto -0.12 2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -2.0 moveto -0.12 -2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 3.0 moveto -0.12 3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -3.0 moveto -0.12 -3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 4.0 moveto -0.12 4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -4.0 moveto -0.12 -4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 1.5707963267948966 moveto -0.09 1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -1.5707963267948966 moveto -0.09 -1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 3.141592653589793 moveto -0.09 3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -3.141592653589793 moveto -0.09 -3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +% End of PostScript file for plot of function ASIN +%%EndDocument + @endspecial 125 x(Just)g(as)f Fj(sin)g FA(grabs)h(horizon)o(tal)i +(lines)g(and)e(b)q(ends)h(them)e(in)o(to)i(elliptical)i(lo)q(ops)f +(around)e(the)0 1937 y(origin,)k(so)e(its)g(in)o(v)o(erse)h +Fj(asin)d FA(tak)o(es)i(ann)o(uli)i(and)e(y)o(anks)h(them)e(more)h(or)g +(less)g(horizon)o(tall)q(y)0 1983 y(straigh)o(t.)h(Because)12 +b(sine)h(is)g(not)f(injectiv)o(e,)h(its)f(in)o(v)o(erse)h(as)f(a)g +(function)h(cannot)g(b)q(e)f(surjectiv)o(e.)0 2028 y(This)i(is)f(just)g +(a)g(highfalutin)j(w)o(a)o(y)d(of)g(sa)o(ying)i(that)e(the)g(range)h +(of)e(the)h Fj(asin)f FA(function)i(do)q(esn't)0 2074 +y(co)o(v)o(er)i(the)f(en)o(tire)h(plane)h(but)f(only)g(a)g(strip)g +Fd(\031)g FA(wide;)h(arc)e(sine)i(as)e(a)g(one-to-man)o(y)i(relation)0 +2120 y(w)o(ould)f(co)o(v)o(er)g(the)f(plane)i(with)e(an)h(in\014nite)h +(n)o(um)o(b)q(er)f(of)f(copies)i(of)e(this)h(strip)g(side)g(b)o(y)g +(side,)0 2165 y(lo)q(oking)d(for)c(all)j(the)e(w)o(orld)h(lik)o(e)h +(the)e(tail)h(of)f(a)g(p)q(eaco)q(c)o(k)h(with)g(an)f(in\014nite)j(n)o +(um)o(b)q(er)e(of)f(feathers.)0 2211 y(The)j(imaginary)i(axis)f(is)f +(mapp)q(ed)h(to)e(itself)i(as)f(if)g(b)o(y)g Fj(asinh)e +FA(considered)j(as)f(a)g(real)h(function.)0 2257 y(The)j(real)h(axis)g +(is)f(mapp)q(ed)h(to)f(a)g(b)q(en)o(t)h(path,)g(turning)g(corners)g(at) +f Ff(\006)p Fd(\031)q(=)p FA(2)g(\(the)g(p)q(oin)o(ts)i(to)0 +2302 y(whic)o(h)14 b Ff(\006)p FA(1)f(are)g(mapp)q(ed\);)h(+)p +Ff(1)f FA(is)g(mapp)q(ed)h(to)f Fd(\031)q(=)p FA(2)d +Ff(\000)e(1)p Fq(i)t FA(,)k(and)i Ff(\0001)f FA(to)g +Ff(\000)p Fd(\031)q(=)p FA(2)c(+)f Ff(1)p Fq(i)t FA(.)p +0 2334 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 349 373 +349 372 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(349)p +0 255 1395 2 v 0 322 a Fm(Figure)14 b(12-9:)j FA(Illustration)f(of)d +(the)g(Range)h(of)f(the)g(Cosine)h(F)m(unction)0 1766 +y @beginspecial @setspecial +%%BeginDocument: cos-plot.ps +% PostScript file for plot of function COS +% Plot is to fit in a region 4.666666666666667 inches square +% showing axes extending 4.1 units from the origin. + +40.97560975609756 40.97560975609756 scale +4.1 4.1 translate +newpath + -4.1 -4.1 moveto + 4.1 -4.1 lineto + 4.1 4.1 lineto + -4.1 4.1 lineto + closepath +clip +% Moby grid for function COS +% Annulus 0.25 0.5 4 0.97 0.45 +% Sector from 4.7124 to 6.2832 (quadrant 3) +newpath + 1.0314 0.0 moveto + 1.0711 0.0 lineto + %middle radial + 1.0711 0.0 lineto + 1.1276 0.0 lineto + %end radial + 1.1276 0.0 lineto + 1.0912 0.0883 lineto + 0.9974 0.125 lineto + %middle circumferential + 0.9974 0.125 lineto + 0.9138 0.0881 lineto + 0.8776 0.0 lineto + %end circumferential + 0.8776 0.0 lineto + 0.9305 0.0 lineto + %middle radial + 0.9305 0.0 lineto + 0.9689 0.0 lineto + %end radial + 0.9689 0.0 lineto + 0.9998 0.0312 lineto + %middle circumferential + 0.9998 0.0312 lineto + 1.0314 0.0 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 3.1416 to 4.7124 (quadrant 2) +newpath + 0.9689 0.0 moveto + 0.9305 0.0 lineto + %middle radial + 0.9305 0.0 lineto + 0.8776 0.0 lineto + %end radial + 0.8776 0.0 lineto + 0.9081 -0.0819 lineto + 0.9974 -0.125 lineto + %middle circumferential + 0.9974 -0.125 lineto + 1.085 -0.0941 lineto + 1.1276 0.0 lineto + %end circumferential + 1.1276 0.0 lineto + 1.0711 0.0 lineto + %middle radial + 1.0711 0.0 lineto + 1.0314 0.0 lineto + %end radial + 1.0314 0.0 lineto + 0.9998 -0.0312 lineto + %middle circumferential + 0.9998 -0.0312 lineto + 0.9689 0.0 lineto + %end circumferential + closepath +currentgray 0.6233333333333334 setgray fill setgray +% Sector from 1.5708 to 3.1416 (quadrant 1) +newpath + 1.0314 0.0 moveto + 1.0711 0.0 lineto + %middle radial + 1.0711 0.0 lineto + 1.1276 0.0 lineto + %end radial + 1.1276 0.0 lineto + 1.0955 0.0837 lineto + 0.9974 0.125 lineto + %middle circumferential + 0.9974 0.125 lineto + 0.9165 0.0907 lineto + 0.8776 0.0 lineto + %end circumferential + 0.8776 0.0 lineto + 0.9305 0.0 lineto + %middle radial + 0.9305 0.0 lineto + 0.9689 0.0 lineto + %end radial + 0.9689 0.0 lineto + 0.9998 0.0312 lineto + %middle circumferential + 0.9998 0.0312 lineto + 1.0314 0.0 lineto + %end circumferential + closepath +currentgray 0.7966666666666668 setgray fill setgray +% Sector from 0.0 to 1.5708 (quadrant 0) +newpath + 0.9689 0.0 moveto + 0.9305 0.0 lineto + %middle radial + 0.9305 0.0 lineto + 0.8776 0.0 lineto + %end radial + 0.8776 0.0 lineto + 0.8853 -0.0432 lineto + 0.941 -0.1088 lineto + 0.9974 -0.125 lineto + %middle circumferential + 0.9974 -0.125 lineto + 1.075 -0.102 lineto + 1.123 -0.0335 lineto + 1.1276 0.0 lineto + %end circumferential + 1.1276 0.0 lineto + 1.0711 0.0 lineto + %middle radial + 1.0711 0.0 lineto + 1.0314 0.0 lineto + %end radial + 1.0314 0.0 lineto + 0.9998 -0.0312 lineto + %middle circumferential + 0.9998 -0.0312 lineto + 0.9689 0.0 lineto + %end circumferential + closepath +currentgray 0.9700000000000001 setgray fill setgray +% Annulus 0.75 1.0 8 0.97 0.45 +% Sector from 5.4978 to 6.2832 (quadrant 3) +newpath + 0.9868 0.281 moveto + 0.9756 0.3822 lineto + %middle radial + 0.9756 0.3822 lineto + 0.9636 0.4666 lineto + 0.9584 0.4986 lineto + %end radial + 0.9584 0.4986 lineto + 0.8671 0.4742 lineto + 0.7832 0.4336 lineto + 0.7094 0.3791 lineto + 0.6474 0.3129 lineto + %middle circumferential + 0.6474 0.3129 lineto + 0.6014 0.2424 lineto + 0.5679 0.1657 lineto + 0.5473 0.0843 lineto + 0.5403 0.0 lineto + %end circumferential + 0.5403 0.0 lineto + 0.641 0.0 lineto + %middle radial + 0.641 0.0 lineto + 0.7317 0.0 lineto + %end radial + 0.7317 0.0 lineto + 0.75 0.1001 lineto + 0.8013 0.1859 lineto + %middle circumferential + 0.8013 0.1859 lineto + 0.8849 0.2513 lineto + 0.9868 0.281 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 4.7124 to 5.4978 (quadrant 3) +newpath + 1.2947 0.0 moveto + 1.4079 0.0 lineto + %middle radial + 1.4079 0.0 lineto + 1.5431 0.0 lineto + %end radial + 1.5431 0.0 lineto + 1.5308 0.1109 lineto + 1.4939 0.218 lineto + 1.4335 0.315 lineto + 1.3525 0.3962 lineto + %middle circumferential + 1.3525 0.3962 lineto + 1.2631 0.4532 lineto + 1.1644 0.4899 lineto + 1.0611 0.5051 lineto + 0.9584 0.4986 lineto + %end circumferential + 0.9584 0.4986 lineto + 0.9636 0.4666 lineto + 0.9756 0.3822 lineto + %middle radial + 0.9756 0.3822 lineto + 0.9868 0.281 lineto + %end radial + 0.9868 0.281 lineto + 1.1001 0.2684 lineto + 1.1987 0.2122 lineto + %middle circumferential + 1.1987 0.2122 lineto + 1.2399 0.1672 lineto + 1.2702 0.115 lineto + 1.2886 0.0583 lineto + 1.2947 0.0 lineto + %end circumferential + closepath +currentgray 0.5242857142857142 setgray fill setgray +% Sector from 3.927 to 4.7124 (quadrant 2) +newpath + 0.9868 -0.281 moveto + 0.9756 -0.3822 lineto + %middle radial + 0.9756 -0.3822 lineto + 0.9636 -0.4666 lineto + 0.9584 -0.4986 lineto + %end radial + 0.9584 -0.4986 lineto + 1.0547 -0.5053 lineto + 1.1557 -0.492 lineto + 1.257 -0.4562 lineto + 1.3525 -0.3962 lineto + %middle circumferential + 1.3525 -0.3962 lineto + 1.4291 -0.3205 lineto + 1.4897 -0.2266 lineto + 1.5292 -0.118 lineto + 1.5396 -0.0598 lineto + 1.5431 0.0 lineto + %end circumferential + 1.5431 0.0 lineto + 1.4079 0.0 lineto + %middle radial + 1.4079 0.0 lineto + 1.2947 0.0 lineto + %end radial + 1.2947 0.0 lineto + 1.2929 -0.0314 lineto + 1.2795 -0.0915 lineto + 1.2541 -0.1459 lineto + 1.1987 -0.2122 lineto + %middle circumferential + 1.1987 -0.2122 lineto + 1.1491 -0.2471 lineto + 1.0406 -0.2809 lineto + 0.9868 -0.281 lineto + %end circumferential + closepath +currentgray 0.5985714285714285 setgray fill setgray +% Sector from 3.1416 to 3.927 (quadrant 2) +newpath + 0.7317 0.0 moveto + 0.641 0.0 lineto + %middle radial + 0.641 0.0 lineto + 0.5403 0.0 lineto + %end radial + 0.5403 0.0 lineto + 0.5464 -0.0788 lineto + 0.5654 -0.1585 lineto + 0.5987 -0.2373 lineto + 0.6474 -0.3129 lineto + %middle circumferential + 0.6474 -0.3129 lineto + 0.705 -0.3752 lineto + 0.7763 -0.4294 lineto + 0.8612 -0.472 lineto + 0.9584 -0.4986 lineto + %end circumferential + 0.9584 -0.4986 lineto + 0.9636 -0.4666 lineto + 0.9756 -0.3822 lineto + %middle radial + 0.9756 -0.3822 lineto + 0.9868 -0.281 lineto + %end radial + 0.9868 -0.281 lineto + 0.8808 -0.2491 lineto + 0.8013 -0.1859 lineto + %middle circumferential + 0.8013 -0.1859 lineto + 0.7484 -0.0957 lineto + 0.7317 0.0 lineto + %end circumferential + closepath +currentgray 0.6728571428571428 setgray fill setgray +% Sector from 2.3562 to 3.1416 (quadrant 1) +newpath + 0.9868 0.281 moveto + 0.9756 0.3822 lineto + %middle radial + 0.9756 0.3822 lineto + 0.9636 0.4666 lineto + 0.9584 0.4986 lineto + %end radial + 0.9584 0.4986 lineto + 0.8699 0.4752 lineto + 0.7866 0.4357 lineto + 0.7115 0.381 lineto + 0.6474 0.3129 lineto + %middle circumferential + 0.6474 0.3129 lineto + 0.6025 0.2444 lineto + 0.5688 0.1684 lineto + 0.5477 0.0865 lineto + 0.5403 0.0 lineto + %end circumferential + 0.5403 0.0 lineto + 0.641 0.0 lineto + %middle radial + 0.641 0.0 lineto + 0.7317 0.0 lineto + %end radial + 0.7317 0.0 lineto + 0.7506 0.1017 lineto + 0.8013 0.1859 lineto + %middle circumferential + 0.8013 0.1859 lineto + 0.8869 0.2523 lineto + 0.9868 0.281 lineto + %end circumferential + closepath +currentgray 0.7471428571428572 setgray fill setgray +% Sector from 1.5708 to 2.3562 (quadrant 1) +newpath + 1.2947 0.0 moveto + 1.4079 0.0 lineto + %middle radial + 1.4079 0.0 lineto + 1.5431 0.0 lineto + %end radial + 1.5431 0.0 lineto + 1.5404 0.0521 lineto + 1.5178 0.1581 lineto + 1.4705 0.2616 lineto + 1.4373 0.3101 lineto + 1.3979 0.3553 lineto + 1.3525 0.3962 lineto + %middle circumferential + 1.3525 0.3962 lineto + 1.267 0.4512 lineto + 1.1699 0.4885 lineto + 1.0654 0.5049 lineto + 0.9584 0.4986 lineto + %end circumferential + 0.9584 0.4986 lineto + 0.9636 0.4666 lineto + 0.9756 0.3822 lineto + %middle radial + 0.9756 0.3822 lineto + 0.9868 0.281 lineto + %end radial + 0.9868 0.281 lineto + 1.0168 0.2822 lineto + 1.103 0.2674 lineto + 1.1987 0.2122 lineto + %middle circumferential + 1.1987 0.2122 lineto + 1.2418 0.1646 lineto + 1.272 0.111 lineto + 1.2947 0.0 lineto + %end circumferential + closepath +currentgray 0.8214285714285714 setgray fill setgray +% Sector from 0.7854 to 1.5708 (quadrant 0) +newpath + 0.9868 -0.281 moveto + 0.9756 -0.3822 lineto + %middle radial + 0.9756 -0.3822 lineto + 0.9636 -0.4666 lineto + 0.9584 -0.4986 lineto + %end radial + 0.9584 -0.4986 lineto + 1.0434 -0.5055 lineto + 1.14 -0.4955 lineto + 1.2452 -0.4617 lineto + 1.2992 -0.4334 lineto + 1.3525 -0.3962 lineto + %middle circumferential + 1.3525 -0.3962 lineto + 1.4239 -0.3268 lineto + 1.4845 -0.2367 lineto + 1.5186 -0.1559 lineto + 1.5339 -0.0963 lineto + 1.542 -0.0329 lineto + 1.5431 0.0 lineto + %end circumferential + 1.5431 0.0 lineto + 1.4079 0.0 lineto + %middle radial + 1.4079 0.0 lineto + 1.2947 0.0 lineto + %end radial + 1.2947 0.0 lineto + 1.2867 -0.0666 lineto + 1.2656 -0.125 lineto + 1.1987 -0.2122 lineto + %middle circumferential + 1.1987 -0.2122 lineto + 1.143 -0.2504 lineto + 1.087 -0.2723 lineto + 0.9868 -0.281 lineto + %end circumferential + closepath +currentgray 0.8957142857142858 setgray fill setgray +% Sector from 0.0 to 0.7854 (quadrant 0) +newpath + 0.7317 0.0 moveto + 0.641 0.0 lineto + %middle radial + 0.641 0.0 lineto + 0.5403 0.0 lineto + %end radial + 0.5403 0.0 lineto + 0.5406 -0.0183 lineto + 0.5462 -0.0776 lineto + 0.5654 -0.1584 lineto + 0.5922 -0.2244 lineto + 0.6474 -0.3129 lineto + %middle circumferential + 0.6474 -0.3129 lineto + 0.6918 -0.3626 lineto + 0.7541 -0.4146 lineto + 0.8407 -0.4635 lineto + 0.9257 -0.492 lineto + 0.9584 -0.4986 lineto + %end circumferential + 0.9584 -0.4986 lineto + 0.9636 -0.4666 lineto + 0.9756 -0.3822 lineto + %middle radial + 0.9756 -0.3822 lineto + 0.9868 -0.281 lineto + %end radial + 0.9868 -0.281 lineto + 0.9508 -0.2752 lineto + 0.8674 -0.2415 lineto + 0.8013 -0.1859 lineto + %middle circumferential + 0.8013 -0.1859 lineto + 0.7659 -0.1348 lineto + 0.7356 -0.0471 lineto + 0.7317 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 1.5708 2.0 16 0.97 0.45 +% Sector from 5.8905 to 6.2832 (quadrant 3) +newpath + 0.1415 0.6334 moveto + 0.0867 0.6596 lineto + 0.0286 0.6855 lineto + -0.0328 0.7108 lineto + -0.0977 0.7354 lineto + %middle radial + -0.0977 0.7354 lineto + -0.1582 0.7562 lineto + -0.2217 0.7758 lineto + -0.2881 0.7939 lineto + -0.3575 0.8102 lineto + %end radial + -0.3575 0.8102 lineto + -0.3694 0.7505 lineto + -0.3794 0.6922 lineto + -0.3945 0.5798 lineto + -0.4043 0.4725 lineto + -0.4103 0.37 lineto + %middle circumferential + -0.4103 0.37 lineto + -0.4135 0.2744 lineto + -0.4152 0.1816 lineto + -0.4159 0.0905 lineto + -0.4161 0.0 lineto + %end circumferential + -0.4161 0.0 lineto + -0.213 0.0 lineto + %middle radial + -0.213 0.0 lineto + 0.0 0.0 lineto + %end radial + 0.0 0.0 lineto + 0.0019 0.0781 lineto + 0.0078 0.1558 lineto + 0.0176 0.2334 lineto + 0.0316 0.3111 lineto + %middle circumferential + 0.0316 0.3111 lineto + 0.0508 0.3916 lineto + 0.0752 0.4722 lineto + 0.1052 0.5529 lineto + 0.1415 0.6334 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.4978 to 5.8905 (quadrant 3) +newpath + 0.7472 1.2129 moveto + 0.7129 1.29 lineto + 0.6738 1.3717 lineto + 0.6295 1.4579 lineto + 0.5792 1.5489 lineto + %middle radial + 0.5792 1.5489 lineto + 0.5289 1.6337 lineto + 0.4728 1.7223 lineto + 0.4099 1.8149 lineto + 0.3758 1.8627 lineto + 0.3397 1.9114 lineto + %end radial + 0.3397 1.9114 lineto + 0.2588 1.8469 lineto + 0.1836 1.7797 lineto + 0.1139 1.7105 lineto + 0.0497 1.6397 lineto + -0.0091 1.5677 lineto + -0.0627 1.4949 lineto + -0.1112 1.4218 lineto + -0.1549 1.3486 lineto + %middle circumferential + -0.1549 1.3486 lineto + -0.1927 1.2781 lineto + -0.2265 1.2082 lineto + -0.2564 1.1391 lineto + -0.2828 1.0709 lineto + -0.3058 1.0038 lineto + -0.3258 0.9379 lineto + -0.3429 0.8733 lineto + -0.3575 0.8102 lineto + %end circumferential + -0.3575 0.8102 lineto + -0.2881 0.7939 lineto + -0.2217 0.7758 lineto + -0.1582 0.7562 lineto + -0.0977 0.7354 lineto + %middle radial + -0.0977 0.7354 lineto + -0.0328 0.7108 lineto + 0.0286 0.6855 lineto + 0.0867 0.6596 lineto + 0.1415 0.6334 lineto + %end radial + 0.1415 0.6334 lineto + 0.186 0.7161 lineto + 0.2383 0.7975 lineto + 0.2987 0.8769 lineto + 0.3678 0.9533 lineto + %middle circumferential + 0.3678 0.9533 lineto + 0.4485 1.0282 lineto + 0.5388 1.0974 lineto + 0.6128 1.1447 lineto + 0.6649 1.1737 lineto + 0.7193 1.2004 lineto + 0.7472 1.2129 lineto + %end circumferential + closepath +currentgray 0.48466666666666664 setgray fill setgray +% Sector from 5.1051 to 5.4978 (quadrant 3) +newpath + 1.8567 1.1408 moveto + 1.8834 1.1874 lineto + 1.9392 1.2873 lineto + 1.9683 1.3409 lineto + 1.9982 1.397 lineto + 2.0288 1.4558 lineto + 2.0603 1.5175 lineto + 2.0926 1.5821 lineto + %middle radial + 2.0926 1.5821 lineto + 2.1219 1.6421 lineto + 2.1518 1.7047 lineto + 2.1824 1.7701 lineto + 2.2136 1.8383 lineto + 2.2455 1.9097 lineto + 2.278 1.9842 lineto + 2.3111 2.0621 lineto + 2.3448 2.1435 lineto + %end radial + 2.3448 2.1435 lineto + 2.2738 2.1711 lineto + 2.2024 2.196 lineto + 2.1306 2.2183 lineto + 2.0585 2.238 lineto + 1.9863 2.2551 lineto + 1.914 2.2696 lineto + 1.8418 2.2815 lineto + 1.7698 2.2908 lineto + 1.6981 2.2977 lineto + 1.6268 2.302 lineto + 1.5559 2.3039 lineto + 1.4856 2.3035 lineto + 1.416 2.3006 lineto + 1.3472 2.2955 lineto + 1.2792 2.2882 lineto + 1.2121 2.2787 lineto + %middle circumferential + 1.2121 2.2787 lineto + 1.1484 2.2675 lineto + 1.0857 2.2545 lineto + 1.0241 2.2396 lineto + 0.9635 2.223 lineto + 0.9042 2.2047 lineto + 0.846 2.1847 lineto + 0.7892 2.1632 lineto + 0.7336 2.1402 lineto + 0.6794 2.1158 lineto + 0.6265 2.09 lineto + 0.525 2.0348 lineto + 0.4294 1.975 lineto + 0.3397 1.9114 lineto + %end circumferential + 0.3397 1.9114 lineto + 0.3758 1.8627 lineto + 0.4099 1.8149 lineto + 0.4728 1.7223 lineto + 0.5289 1.6337 lineto + 0.5792 1.5489 lineto + %middle radial + 0.5792 1.5489 lineto + 0.6295 1.4579 lineto + 0.6738 1.3717 lineto + 0.7129 1.29 lineto + 0.7472 1.2129 lineto + %end radial + 0.7472 1.2129 lineto + 0.8069 1.2366 lineto + 0.8686 1.2575 lineto + 0.9323 1.2752 lineto + 0.9978 1.2895 lineto + 1.0649 1.3004 lineto + 1.1334 1.3076 lineto + 1.203 1.3109 lineto + 1.2735 1.3102 lineto + %middle circumferential + 1.2735 1.3102 lineto + 1.3474 1.3052 lineto + 1.4216 1.2957 lineto + 1.496 1.2816 lineto + 1.57 1.2627 lineto + 1.6435 1.2392 lineto + 1.716 1.211 lineto + 1.7871 1.1782 lineto + 1.8567 1.1408 lineto + %end circumferential + closepath +currentgray 0.5193333333333334 setgray fill setgray +% Sector from 4.7124 to 5.1051 (quadrant 3) +newpath + 2.5092 0.0 moveto + 3.0648 0.0 lineto + %middle radial + 3.0648 0.0 lineto + 3.7622 0.0 lineto + %end radial + 3.7622 0.0 lineto + 3.7606 0.0873 lineto + 3.7557 0.1747 lineto + 3.7476 0.262 lineto + 3.7362 0.3491 lineto + 3.7216 0.4359 lineto + 3.7037 0.5221 lineto + 3.6825 0.6077 lineto + 3.6582 0.6925 lineto + 3.6306 0.7764 lineto + 3.6 0.8592 lineto + 3.5662 0.9408 lineto + 3.5294 1.021 lineto + 3.4896 1.0997 lineto + 3.4469 1.1768 lineto + 3.4013 1.2521 lineto + 3.3531 1.3255 lineto + %middle circumferential + 3.3531 1.3255 lineto + 3.3042 1.3942 lineto + 3.2529 1.4609 lineto + 3.1994 1.5255 lineto + 3.1436 1.588 lineto + 3.0858 1.6482 lineto + 3.0261 1.7062 lineto + 2.9644 1.7617 lineto + 2.901 1.8147 lineto + 2.8359 1.8652 lineto + 2.7694 1.9132 lineto + 2.7014 1.9584 lineto + 2.6321 2.001 lineto + 2.5617 2.0408 lineto + 2.4903 2.0778 lineto + 2.4179 2.1121 lineto + 2.3448 2.1435 lineto + %end circumferential + 2.3448 2.1435 lineto + 2.3111 2.0621 lineto + 2.278 1.9842 lineto + 2.2455 1.9097 lineto + 2.2136 1.8383 lineto + 2.1824 1.7701 lineto + 2.1518 1.7047 lineto + 2.1219 1.6421 lineto + 2.0926 1.5821 lineto + %middle radial + 2.0926 1.5821 lineto + 2.0603 1.5175 lineto + 2.0288 1.4558 lineto + 1.9982 1.397 lineto + 1.9683 1.3409 lineto + 1.9392 1.2873 lineto + 1.8834 1.1874 lineto + 1.8567 1.1408 lineto + %end radial + 1.8567 1.1408 lineto + 1.9268 1.0971 lineto + 1.9944 1.0487 lineto + 2.059 0.9958 lineto + 2.1205 0.9386 lineto + 2.1783 0.8772 lineto + 2.2322 0.8121 lineto + 2.2819 0.7435 lineto + 2.3271 0.6717 lineto + %middle circumferential + 2.3271 0.6717 lineto + 2.3693 0.594 lineto + 2.4061 0.5136 lineto + 2.4375 0.431 lineto + 2.4633 0.3465 lineto + 2.4834 0.2608 lineto + 2.4977 0.1742 lineto + 2.5063 0.0871 lineto + 2.5092 0.0 lineto + %end circumferential + closepath +currentgray 0.554 setgray fill setgray +% Sector from 4.3197 to 4.7124 (quadrant 2) +newpath + 1.8567 -1.1408 moveto + 1.8834 -1.1874 lineto + 1.9392 -1.2873 lineto + 1.9683 -1.3409 lineto + 1.9982 -1.397 lineto + 2.0288 -1.4558 lineto + 2.0603 -1.5175 lineto + 2.0926 -1.5821 lineto + %middle radial + 2.0926 -1.5821 lineto + 2.1219 -1.6421 lineto + 2.1518 -1.7047 lineto + 2.1824 -1.7701 lineto + 2.2136 -1.8383 lineto + 2.2455 -1.9097 lineto + 2.278 -1.9842 lineto + 2.3111 -2.0621 lineto + 2.3448 -2.1435 lineto + %end radial + 2.3448 -2.1435 lineto + 2.4151 -2.1134 lineto + 2.4851 -2.0804 lineto + 2.5546 -2.0447 lineto + 2.6234 -2.0061 lineto + 2.6916 -1.9647 lineto + 2.7588 -1.9204 lineto + 2.8251 -1.8733 lineto + 2.8902 -1.8234 lineto + 2.954 -1.7706 lineto + 3.0165 -1.7151 lineto + 3.0773 -1.6568 lineto + 3.1364 -1.5957 lineto + 3.1937 -1.5321 lineto + 3.249 -1.4657 lineto + 3.3022 -1.3969 lineto + 3.3531 -1.3255 lineto + %middle circumferential + 3.3531 -1.3255 lineto + 3.3995 -1.2549 lineto + 3.4437 -1.1822 lineto + 3.4854 -1.1075 lineto + 3.5246 -1.0308 lineto + 3.5611 -0.9523 lineto + 3.5949 -0.872 lineto + 3.6258 -0.79 lineto + 3.6538 -0.7066 lineto + 3.6787 -0.6217 lineto + 3.7006 -0.5356 lineto + 3.7192 -0.4483 lineto + 3.7345 -0.3601 lineto + 3.7466 -0.271 lineto + 3.7552 -0.1812 lineto + 3.7604 -0.0908 lineto + 3.7622 0.0 lineto + %end circumferential + 3.7622 0.0 lineto + 3.0648 0.0 lineto + %middle radial + 3.0648 0.0 lineto + 2.5092 0.0 lineto + %end radial + 2.5092 0.0 lineto + 2.5061 -0.0903 lineto + 2.497 -0.1796 lineto + 2.482 -0.2676 lineto + 2.4614 -0.3536 lineto + 2.4353 -0.4375 lineto + 2.404 -0.5186 lineto + 2.3679 -0.5968 lineto + 2.3271 -0.6717 lineto + %middle circumferential + 2.3271 -0.6717 lineto + 2.2801 -0.7461 lineto + 2.2289 -0.8164 lineto + 2.1738 -0.8822 lineto + 2.1155 -0.9435 lineto + 2.0541 -1.0001 lineto + 1.9903 -1.0519 lineto + 1.9243 -1.0987 lineto + 1.8567 -1.1408 lineto + %end circumferential + closepath +currentgray 0.5886666666666667 setgray fill setgray +% Sector from 3.927 to 4.3197 (quadrant 2) +newpath + 0.7472 -1.2129 moveto + 0.7129 -1.29 lineto + 0.6738 -1.3717 lineto + 0.6295 -1.4579 lineto + 0.5792 -1.5489 lineto + %middle radial + 0.5792 -1.5489 lineto + 0.5289 -1.6337 lineto + 0.4728 -1.7223 lineto + 0.4099 -1.8149 lineto + 0.3758 -1.8627 lineto + 0.3397 -1.9114 lineto + %end radial + 0.3397 -1.9114 lineto + 0.382 -1.9424 lineto + 0.4716 -2.0023 lineto + 0.5677 -2.059 lineto + 0.6704 -2.1116 lineto + 0.7243 -2.1361 lineto + 0.7797 -2.1594 lineto + 0.8368 -2.1814 lineto + 0.8955 -2.2018 lineto + 0.9558 -2.2207 lineto + 1.0177 -2.238 lineto + 1.081 -2.2534 lineto + 1.1458 -2.2671 lineto + 1.2121 -2.2787 lineto + %middle circumferential + 1.2121 -2.2787 lineto + 1.2766 -2.2879 lineto + 1.3422 -2.2951 lineto + 1.409 -2.3002 lineto + 1.4769 -2.3032 lineto + 1.5458 -2.304 lineto + 1.6156 -2.3025 lineto + 1.6863 -2.2986 lineto + 1.7577 -2.2922 lineto + 1.8299 -2.2832 lineto + 1.9026 -2.2716 lineto + 1.9757 -2.2574 lineto + 2.0493 -2.2404 lineto + 2.1231 -2.2205 lineto + 2.197 -2.1978 lineto + 2.271 -2.1721 lineto + 2.3448 -2.1435 lineto + %end circumferential + 2.3448 -2.1435 lineto + 2.3111 -2.0621 lineto + 2.278 -1.9842 lineto + 2.2455 -1.9097 lineto + 2.2136 -1.8383 lineto + 2.1824 -1.7701 lineto + 2.1518 -1.7047 lineto + 2.1219 -1.6421 lineto + 2.0926 -1.5821 lineto + %middle radial + 2.0926 -1.5821 lineto + 2.0603 -1.5175 lineto + 2.0288 -1.4558 lineto + 1.9982 -1.397 lineto + 1.9683 -1.3409 lineto + 1.9392 -1.2873 lineto + 1.8834 -1.1874 lineto + 1.8567 -1.1408 lineto + %end radial + 1.8567 -1.1408 lineto + 1.7845 -1.1795 lineto + 1.7114 -1.213 lineto + 1.6377 -1.2413 lineto + 1.5638 -1.2645 lineto + 1.4901 -1.2828 lineto + 1.417 -1.2964 lineto + 1.3447 -1.3055 lineto + 1.2735 -1.3102 lineto + %middle circumferential + 1.2735 -1.3102 lineto + 1.2003 -1.3108 lineto + 1.1289 -1.3072 lineto + 1.0595 -1.2997 lineto + 0.9922 -1.2885 lineto + 0.9272 -1.2739 lineto + 0.8647 -1.2563 lineto + 0.8047 -1.2358 lineto + 0.7472 -1.2129 lineto + %end circumferential + closepath +currentgray 0.6233333333333333 setgray fill setgray +% Sector from 3.5343 to 3.927 (quadrant 2) +newpath + 0.1415 -0.6334 moveto + 0.0867 -0.6596 lineto + 0.0286 -0.6855 lineto + -0.0328 -0.7108 lineto + -0.0977 -0.7354 lineto + %middle radial + -0.0977 -0.7354 lineto + -0.1582 -0.7562 lineto + -0.2217 -0.7758 lineto + -0.2881 -0.7939 lineto + -0.3575 -0.8102 lineto + %end radial + -0.3575 -0.8102 lineto + -0.3435 -0.8709 lineto + -0.327 -0.9336 lineto + -0.3076 -0.9983 lineto + -0.2849 -1.0649 lineto + -0.2588 -1.1334 lineto + -0.2286 -1.2036 lineto + -0.1941 -1.2754 lineto + -0.1549 -1.3486 lineto + %middle circumferential + -0.1549 -1.3486 lineto + -0.1129 -1.419 lineto + -0.0659 -1.4902 lineto + -0.0136 -1.5618 lineto + 0.0444 -1.6335 lineto + 0.1084 -1.7048 lineto + 0.1788 -1.7753 lineto + 0.2558 -1.8443 lineto + 0.3397 -1.9114 lineto + %end circumferential + 0.3397 -1.9114 lineto + 0.3758 -1.8627 lineto + 0.4099 -1.8149 lineto + 0.4728 -1.7223 lineto + 0.5289 -1.6337 lineto + 0.5792 -1.5489 lineto + %middle radial + 0.5792 -1.5489 lineto + 0.6295 -1.4579 lineto + 0.6738 -1.3717 lineto + 0.7129 -1.29 lineto + 0.7472 -1.2129 lineto + %end radial + 0.7472 -1.2129 lineto + 0.7181 -1.1999 lineto + 0.6621 -1.1722 lineto + 0.609 -1.1424 lineto + 0.5347 -1.0945 lineto + 0.4458 -1.0259 lineto + 0.3678 -0.9533 lineto + %middle circumferential + 0.3678 -0.9533 lineto + 0.2966 -0.8743 lineto + 0.2358 -0.7939 lineto + 0.1845 -0.7134 lineto + 0.1415 -0.6334 lineto + %end circumferential + closepath +currentgray 0.658 setgray fill setgray +% Sector from 3.1416 to 3.5343 (quadrant 2) +newpath + 0.0 0.0 moveto + -0.213 0.0 lineto + %middle radial + -0.213 0.0 lineto + -0.4161 0.0 lineto + %end radial + -0.4161 0.0 lineto + -0.416 -0.0874 lineto + -0.4153 -0.1774 lineto + -0.4136 -0.2711 lineto + -0.4103 -0.37 lineto + %middle circumferential + -0.4103 -0.37 lineto + -0.4046 -0.469 lineto + -0.395 -0.5748 lineto + -0.3801 -0.6883 lineto + -0.3699 -0.7482 lineto + -0.3575 -0.8102 lineto + %end circumferential + -0.3575 -0.8102 lineto + -0.2881 -0.7939 lineto + -0.2217 -0.7758 lineto + -0.1582 -0.7562 lineto + -0.0977 -0.7354 lineto + %middle radial + -0.0977 -0.7354 lineto + -0.0328 -0.7108 lineto + 0.0286 -0.6855 lineto + 0.0867 -0.6596 lineto + 0.1415 -0.6334 lineto + %end radial + 0.1415 -0.6334 lineto + 0.1041 -0.5501 lineto + 0.074 -0.4686 lineto + 0.0501 -0.3889 lineto + 0.0316 -0.3111 lineto + %middle circumferential + 0.0316 -0.3111 lineto + 0.0172 -0.2307 lineto + 0.0074 -0.1522 lineto + 0.0018 -0.0754 lineto + 0.0 0.0 lineto + %end circumferential + closepath +currentgray 0.6926666666666667 setgray fill setgray +% Sector from 2.7489 to 3.1416 (quadrant 1) +newpath + 0.1415 0.6334 moveto + 0.0867 0.6596 lineto + 0.0286 0.6855 lineto + -0.0328 0.7108 lineto + -0.0977 0.7354 lineto + %middle radial + -0.0977 0.7354 lineto + -0.1582 0.7562 lineto + -0.2217 0.7758 lineto + -0.2881 0.7939 lineto + -0.3575 0.8102 lineto + %end radial + -0.3575 0.8102 lineto + -0.3636 0.7807 lineto + -0.3792 0.6938 lineto + -0.3943 0.5818 lineto + -0.4042 0.474 lineto + -0.4103 0.37 lineto + %middle circumferential + -0.4103 0.37 lineto + -0.4135 0.2756 lineto + -0.4152 0.1831 lineto + -0.4159 0.0917 lineto + -0.4161 0.0 lineto + %end circumferential + -0.4161 0.0 lineto + -0.213 0.0 lineto + %middle radial + -0.213 0.0 lineto + 0.0 0.0 lineto + %end radial + 0.0 0.0 lineto + 0.002 0.079 lineto + 0.0079 0.1571 lineto + 0.0177 0.2344 lineto + 0.0316 0.3111 lineto + %middle circumferential + 0.0316 0.3111 lineto + 0.0511 0.3927 lineto + 0.0757 0.4736 lineto + 0.1057 0.554 lineto + 0.1415 0.6334 lineto + %end circumferential + closepath +currentgray 0.7273333333333334 setgray fill setgray +% Sector from 2.3562 to 2.7489 (quadrant 1) +newpath + 0.7472 1.2129 moveto + 0.7129 1.29 lineto + 0.6738 1.3717 lineto + 0.6295 1.4579 lineto + 0.5792 1.5489 lineto + %middle radial + 0.5792 1.5489 lineto + 0.5289 1.6337 lineto + 0.4728 1.7223 lineto + 0.4099 1.8149 lineto + 0.3758 1.8627 lineto + 0.3397 1.9114 lineto + %end radial + 0.3397 1.9114 lineto + 0.2603 1.8481 lineto + 0.186 1.782 lineto + 0.1167 1.7135 lineto + 0.0525 1.6429 lineto + -0.0067 1.5707 lineto + -0.061 1.4974 lineto + -0.1103 1.4232 lineto + -0.1549 1.3486 lineto + %middle circumferential + -0.1549 1.3486 lineto + -0.1921 1.2794 lineto + -0.2255 1.2103 lineto + -0.2554 1.1417 lineto + -0.2818 1.0736 lineto + -0.305 1.0063 lineto + -0.3252 0.9398 lineto + -0.3426 0.8745 lineto + -0.3575 0.8102 lineto + %end circumferential + -0.3575 0.8102 lineto + -0.2881 0.7939 lineto + -0.2217 0.7758 lineto + -0.1582 0.7562 lineto + -0.0977 0.7354 lineto + %middle radial + -0.0977 0.7354 lineto + -0.0328 0.7108 lineto + 0.0286 0.6855 lineto + 0.0867 0.6596 lineto + 0.1415 0.6334 lineto + %end radial + 0.1415 0.6334 lineto + 0.1868 0.7173 lineto + 0.2394 0.7991 lineto + 0.2997 0.8781 lineto + 0.3678 0.9533 lineto + %middle circumferential + 0.3678 0.9533 lineto + 0.45 1.0294 lineto + 0.541 1.0989 lineto + 0.6147 1.1458 lineto + 0.6664 1.1744 lineto + 0.7198 1.2007 lineto + 0.7472 1.2129 lineto + %end circumferential + closepath +currentgray 0.762 setgray fill setgray +% Sector from 1.9635 to 2.3562 (quadrant 1) +newpath + 1.8567 1.1408 moveto + 1.8834 1.1874 lineto + 1.9392 1.2873 lineto + 1.9683 1.3409 lineto + 1.9982 1.397 lineto + 2.0288 1.4558 lineto + 2.0603 1.5175 lineto + 2.0926 1.5821 lineto + %middle radial + 2.0926 1.5821 lineto + 2.1219 1.6421 lineto + 2.1518 1.7047 lineto + 2.1824 1.7701 lineto + 2.2136 1.8383 lineto + 2.2455 1.9097 lineto + 2.278 1.9842 lineto + 2.3111 2.0621 lineto + 2.3448 2.1435 lineto + %end radial + 2.3448 2.1435 lineto + 2.2758 2.1704 lineto + 2.206 2.1948 lineto + 2.1356 2.2169 lineto + 2.0647 2.2364 lineto + 1.9934 2.2535 lineto + 1.9218 2.2681 lineto + 1.85 2.2803 lineto + 1.7781 2.2899 lineto + 1.7062 2.297 lineto + 1.6345 2.3017 lineto + 1.5629 2.3039 lineto + 1.4917 2.3036 lineto + 1.4209 2.3009 lineto + 1.3506 2.2958 lineto + 1.281 2.2884 lineto + 1.2121 2.2787 lineto + %middle circumferential + 1.2121 2.2787 lineto + 1.1499 2.2678 lineto + 1.0885 2.2551 lineto + 1.0278 2.2406 lineto + 0.9681 2.2243 lineto + 0.9093 2.2063 lineto + 0.8515 2.1867 lineto + 0.7948 2.1654 lineto + 0.7392 2.1426 lineto + 0.6847 2.1183 lineto + 0.6315 2.0925 lineto + 0.5795 2.0654 lineto + 0.4794 2.0073 lineto + 0.3848 1.9444 lineto + 0.3397 1.9114 lineto + %end circumferential + 0.3397 1.9114 lineto + 0.3758 1.8627 lineto + 0.4099 1.8149 lineto + 0.4728 1.7223 lineto + 0.5289 1.6337 lineto + 0.5792 1.5489 lineto + %middle radial + 0.5792 1.5489 lineto + 0.6295 1.4579 lineto + 0.6738 1.3717 lineto + 0.7129 1.29 lineto + 0.7472 1.2129 lineto + %end radial + 0.7472 1.2129 lineto + 0.8082 1.2371 lineto + 0.871 1.2582 lineto + 0.9354 1.2759 lineto + 1.0012 1.2902 lineto + 1.0681 1.3008 lineto + 1.136 1.3078 lineto + 1.2045 1.3109 lineto + 1.2735 1.3102 lineto + %middle circumferential + 1.2735 1.3102 lineto + 1.3492 1.3051 lineto + 1.4248 1.2952 lineto + 1.5 1.2807 lineto + 1.5743 1.2615 lineto + 1.6474 1.2378 lineto + 1.7191 1.2097 lineto + 1.7889 1.1773 lineto + 1.8567 1.1408 lineto + %end circumferential + closepath +currentgray 0.7966666666666666 setgray fill setgray +% Sector from 1.5708 to 1.9635 (quadrant 1) +newpath + 2.5092 0.0 moveto + 3.0648 0.0 lineto + %middle radial + 3.0648 0.0 lineto + 3.7622 0.0 lineto + %end radial + 3.7622 0.0 lineto + 3.7607 0.0842 lineto + 3.7561 0.1688 lineto + 3.7485 0.2538 lineto + 3.7377 0.3391 lineto + 3.7237 0.4244 lineto + 3.7064 0.5097 lineto + 3.6859 0.5948 lineto + 3.6621 0.6795 lineto + 3.635 0.7638 lineto + 3.6046 0.8473 lineto + 3.5708 0.93 lineto + 3.5338 1.0118 lineto + 3.4935 1.0924 lineto + 3.4499 1.1716 lineto + 3.403 1.2494 lineto + 3.3531 1.3255 lineto + %middle circumferential + 3.3531 1.3255 lineto + 3.3057 1.3921 lineto + 3.2559 1.4571 lineto + 3.2038 1.5204 lineto + 3.1493 1.5819 lineto + 3.0925 1.6415 lineto + 3.0336 1.6991 lineto + 2.9725 1.7546 lineto + 2.9095 1.8079 lineto + 2.8445 1.8588 lineto + 2.7777 1.9073 lineto + 2.7092 1.9534 lineto + 2.6391 1.9969 lineto + 2.5674 2.0377 lineto + 2.4944 2.0758 lineto + 2.4202 2.1111 lineto + 2.3448 2.1435 lineto + %end circumferential + 2.3448 2.1435 lineto + 2.3111 2.0621 lineto + 2.278 1.9842 lineto + 2.2455 1.9097 lineto + 2.2136 1.8383 lineto + 2.1824 1.7701 lineto + 2.1518 1.7047 lineto + 2.1219 1.6421 lineto + 2.0926 1.5821 lineto + %middle radial + 2.0926 1.5821 lineto + 2.0603 1.5175 lineto + 2.0288 1.4558 lineto + 1.9982 1.397 lineto + 1.9683 1.3409 lineto + 1.9392 1.2873 lineto + 1.8834 1.1874 lineto + 1.8567 1.1408 lineto + %end radial + 1.8567 1.1408 lineto + 1.9288 1.0958 lineto + 1.9977 1.0462 lineto + 2.063 0.9924 lineto + 2.1244 0.9346 lineto + 2.1817 0.8733 lineto + 2.2347 0.8088 lineto + 2.2832 0.7415 lineto + 2.3271 0.6717 lineto + %middle circumferential + 2.3271 0.6717 lineto + 2.3706 0.5913 lineto + 2.4081 0.5089 lineto + 2.4396 0.4249 lineto + 2.4651 0.34 lineto + 2.4846 0.2546 lineto + 2.4984 0.1692 lineto + 2.5065 0.0842 lineto + 2.5092 0.0 lineto + %end circumferential + closepath +currentgray 0.8313333333333334 setgray fill setgray +% Sector from 1.1781 to 1.5708 (quadrant 0) +newpath + 1.8567 -1.1408 moveto + 1.8834 -1.1874 lineto + 1.9392 -1.2873 lineto + 1.9683 -1.3409 lineto + 1.9982 -1.397 lineto + 2.0288 -1.4558 lineto + 2.0603 -1.5175 lineto + 2.0926 -1.5821 lineto + %middle radial + 2.0926 -1.5821 lineto + 2.1219 -1.6421 lineto + 2.1518 -1.7047 lineto + 2.1824 -1.7701 lineto + 2.2136 -1.8383 lineto + 2.2455 -1.9097 lineto + 2.278 -1.9842 lineto + 2.3111 -2.0621 lineto + 2.3448 -2.1435 lineto + %end radial + 2.3448 -2.1435 lineto + 2.4116 -2.115 lineto + 2.4784 -2.0837 lineto + 2.5454 -2.0496 lineto + 2.6122 -2.0126 lineto + 2.6788 -1.9726 lineto + 2.7451 -1.9297 lineto + 2.8109 -1.8837 lineto + 2.876 -1.8346 lineto + 2.9404 -1.7823 lineto + 3.0037 -1.7267 lineto + 3.0659 -1.668 lineto + 3.1268 -1.606 lineto + 3.1861 -1.5408 lineto + 3.2437 -1.4723 lineto + 3.2995 -1.4005 lineto + 3.3531 -1.3255 lineto + %middle circumferential + 3.3531 -1.3255 lineto + 3.3976 -1.258 lineto + 3.4403 -1.1881 lineto + 3.481 -1.1158 lineto + 3.5194 -1.0413 lineto + 3.5556 -0.9646 lineto + 3.5894 -0.8858 lineto + 3.6205 -0.8048 lineto + 3.6489 -0.7219 lineto + 3.6745 -0.637 lineto + 3.6971 -0.5504 lineto + 3.7165 -0.4621 lineto + 3.7326 -0.3722 lineto + 3.7454 -0.2809 lineto + 3.7547 -0.1884 lineto + 3.7603 -0.0947 lineto + 3.7622 0.0 lineto + %end circumferential + 3.7622 0.0 lineto + 3.0648 0.0 lineto + %middle radial + 3.0648 0.0 lineto + 2.5092 0.0 lineto + %end radial + 2.5092 0.0 lineto + 2.5059 -0.0939 lineto + 2.4962 -0.1857 lineto + 2.4805 -0.275 lineto + 2.4592 -0.3614 lineto + 2.4328 -0.4445 lineto + 2.4017 -0.524 lineto + 2.3663 -0.5998 lineto + 2.3271 -0.6717 lineto + %middle circumferential + 2.3271 -0.6717 lineto + 2.2777 -0.7496 lineto + 2.2245 -0.822 lineto + 2.168 -0.8888 lineto + 2.1089 -0.9499 lineto + 2.0477 -1.0056 lineto + 1.9849 -1.0559 lineto + 1.9211 -1.1009 lineto + 1.8567 -1.1408 lineto + %end circumferential + closepath +currentgray 0.866 setgray fill setgray +% Sector from 0.7854 to 1.1781 (quadrant 0) +newpath + 0.7472 -1.2129 moveto + 0.7129 -1.29 lineto + 0.6738 -1.3717 lineto + 0.6295 -1.4579 lineto + 0.5792 -1.5489 lineto + %middle radial + 0.5792 -1.5489 lineto + 0.5289 -1.6337 lineto + 0.4728 -1.7223 lineto + 0.4099 -1.8149 lineto + 0.3758 -1.8627 lineto + 0.3397 -1.9114 lineto + %end radial + 0.3397 -1.9114 lineto + 0.4193 -1.9682 lineto + 0.5064 -2.0238 lineto + 0.6016 -2.0772 lineto + 0.7053 -2.1277 lineto + 0.7605 -2.1516 lineto + 0.8179 -2.1743 lineto + 0.8776 -2.1958 lineto + 0.9397 -2.2159 lineto + 1.0042 -2.2344 lineto + 1.0711 -2.2512 lineto + 1.1404 -2.266 lineto + 1.2121 -2.2787 lineto + %middle circumferential + 1.2121 -2.2787 lineto + 1.2725 -2.2874 lineto + 1.3345 -2.2943 lineto + 1.398 -2.2995 lineto + 1.4631 -2.3028 lineto + 1.5297 -2.304 lineto + 1.5978 -2.3031 lineto + 1.6674 -2.2998 lineto + 1.7383 -2.2941 lineto + 1.8105 -2.2859 lineto + 1.8839 -2.2748 lineto + 1.9585 -2.261 lineto + 2.0342 -2.2441 lineto + 2.1108 -2.224 lineto + 2.1881 -2.2007 lineto + 2.2662 -2.1739 lineto + 2.3448 -2.1435 lineto + %end circumferential + 2.3448 -2.1435 lineto + 2.3111 -2.0621 lineto + 2.278 -1.9842 lineto + 2.2455 -1.9097 lineto + 2.2136 -1.8383 lineto + 2.1824 -1.7701 lineto + 2.1518 -1.7047 lineto + 2.1219 -1.6421 lineto + 2.0926 -1.5821 lineto + %middle radial + 2.0926 -1.5821 lineto + 2.0603 -1.5175 lineto + 2.0288 -1.4558 lineto + 1.9982 -1.397 lineto + 1.9683 -1.3409 lineto + 1.9392 -1.2873 lineto + 1.8834 -1.1874 lineto + 1.8567 -1.1408 lineto + %end radial + 1.8567 -1.1408 lineto + 1.7801 -1.1817 lineto + 1.7038 -1.2161 lineto + 1.6282 -1.2445 lineto + 1.5538 -1.2673 lineto + 1.4808 -1.2848 lineto + 1.4096 -1.2975 lineto + 1.3405 -1.3059 lineto + 1.2735 -1.3102 lineto + %middle circumferential + 1.2735 -1.3102 lineto + 1.1947 -1.3107 lineto + 1.1196 -1.3064 lineto + 1.0483 -1.2981 lineto + 0.9807 -1.2862 lineto + 0.9169 -1.2712 lineto + 0.8568 -1.2538 lineto + 0.8003 -1.2342 lineto + 0.7472 -1.2129 lineto + %end circumferential + closepath +currentgray 0.9006666666666666 setgray fill setgray +% Sector from 0.3927 to 0.7854 (quadrant 0) +newpath + 0.1415 -0.6334 moveto + 0.0867 -0.6596 lineto + 0.0286 -0.6855 lineto + -0.0328 -0.7108 lineto + -0.0977 -0.7354 lineto + %middle radial + -0.0977 -0.7354 lineto + -0.1582 -0.7562 lineto + -0.2217 -0.7758 lineto + -0.2881 -0.7939 lineto + -0.3575 -0.8102 lineto + %end radial + -0.3575 -0.8102 lineto + -0.3315 -0.9174 lineto + -0.3142 -0.9771 lineto + -0.2933 -1.0414 lineto + -0.2679 -1.1104 lineto + -0.2371 -1.1845 lineto + -0.1999 -1.2639 lineto + -0.1549 -1.3486 lineto + %middle circumferential + -0.1549 -1.3486 lineto + -0.1174 -1.4119 lineto + -0.0745 -1.4778 lineto + -0.0256 -1.5461 lineto + 0.0302 -1.6166 lineto + 0.0936 -1.689 lineto + 0.1657 -1.7627 lineto + 0.2474 -1.8371 lineto + 0.3155 -1.8929 lineto + 0.3397 -1.9114 lineto + %end circumferential + 0.3397 -1.9114 lineto + 0.3758 -1.8627 lineto + 0.4099 -1.8149 lineto + 0.4728 -1.7223 lineto + 0.5289 -1.6337 lineto + 0.5792 -1.5489 lineto + %middle radial + 0.5792 -1.5489 lineto + 0.6295 -1.4579 lineto + 0.6738 -1.3717 lineto + 0.7129 -1.29 lineto + 0.7472 -1.2129 lineto + %end radial + 0.7472 -1.2129 lineto + 0.6838 -1.1834 lineto + 0.6256 -1.1522 lineto + 0.5724 -1.1198 lineto + 0.5237 -1.0867 lineto + 0.4386 -1.0197 lineto + 0.3678 -0.9533 lineto + %middle circumferential + 0.3678 -0.9533 lineto + 0.3252 -0.9078 lineto + 0.255 -0.8208 lineto + 0.2008 -0.7406 lineto + 0.1588 -0.6674 lineto + 0.1415 -0.6334 lineto + %end circumferential + closepath +currentgray 0.9353333333333332 setgray fill setgray +% Sector from 0.0 to 0.3927 (quadrant 0) +newpath + 0.0 0.0 moveto + -0.213 0.0 lineto + %middle radial + -0.213 0.0 lineto + -0.3135 0.0 lineto + -0.4161 0.0 lineto + %end radial + -0.4161 0.0 lineto + -0.4161 -0.0411 lineto + -0.4158 -0.1217 lineto + -0.4148 -0.2106 lineto + -0.4127 -0.3058 lineto + -0.4103 -0.37 lineto + %middle circumferential + -0.4103 -0.37 lineto + -0.4061 -0.4462 lineto + -0.3985 -0.5407 lineto + -0.3888 -0.6271 lineto + -0.3792 -0.6937 lineto + -0.3659 -0.769 lineto + -0.3575 -0.8102 lineto + %end circumferential + -0.3575 -0.8102 lineto + -0.2881 -0.7939 lineto + -0.2217 -0.7758 lineto + -0.1582 -0.7562 lineto + -0.0977 -0.7354 lineto + %middle radial + -0.0977 -0.7354 lineto + -0.0328 -0.7108 lineto + 0.0286 -0.6855 lineto + 0.0867 -0.6596 lineto + 0.1415 -0.6334 lineto + %end radial + 0.1415 -0.6334 lineto + 0.1283 -0.6057 lineto + 0.096 -0.5297 lineto + 0.0658 -0.4432 lineto + 0.0455 -0.3712 lineto + 0.0316 -0.3111 lineto + %middle circumferential + 0.0316 -0.3111 lineto + 0.015 -0.2161 lineto + 0.0072 -0.1504 lineto + 0.0017 -0.073 lineto + 0.0 -0.001 lineto + 0.0 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 3.0 3.1416 32 0.97 0.45 +% Sector from 6.0868 to 6.2832 (quadrant 3) +newpath + -1.1529 0.1226 moveto + -1.1749 0.0823 lineto + %middle radial + -1.1749 0.0823 lineto + -1.1916 0.0393 lineto + %end radial + -1.1916 0.0393 lineto + -1.1078 0.0163 lineto + -1.0477 0.0047 lineto + %middle circumferential + -1.0477 0.0047 lineto + -1.0 0.0 lineto + %end circumferential + -1.0 0.0 lineto + -0.9975 0.0 lineto + %middle radial + -0.9975 0.0 lineto + -0.99 0.0 lineto + %end radial + -0.99 0.0 lineto + -1.0309 0.0464 lineto + %middle circumferential + -1.0309 0.0464 lineto + -1.0821 0.0789 lineto + -1.1529 0.1226 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.8905 to 6.0868 (quadrant 3) +newpath + -1.6173 0.5125 moveto + -1.6921 0.4393 lineto + %middle radial + -1.6921 0.4393 lineto + -1.7624 0.3585 lineto + %end radial + -1.7624 0.3585 lineto + -1.673 0.2903 lineto + -1.5879 0.2319 lineto + -1.5075 0.1823 lineto + -1.4323 0.1408 lineto + %middle circumferential + -1.4323 0.1408 lineto + -1.3636 0.1069 lineto + -1.3005 0.0791 lineto + -1.2431 0.0569 lineto + -1.1916 0.0393 lineto + %end circumferential + -1.1916 0.0393 lineto + -1.1749 0.0823 lineto + %middle radial + -1.1749 0.0823 lineto + -1.1529 0.1226 lineto + %end radial + -1.1529 0.1226 lineto + -1.244 0.1827 lineto + -1.2962 0.2202 lineto + -1.3526 0.2635 lineto + %middle circumferential + -1.3526 0.2635 lineto + -1.4139 0.3141 lineto + -1.4788 0.3719 lineto + -1.5467 0.4379 lineto + -1.6173 0.5125 lineto + %end circumferential + closepath +currentgray 0.4667741935483871 setgray fill setgray +% Sector from 5.6941 to 5.8905 (quadrant 3) +newpath + -2.1874 1.5393 moveto + -2.2759 1.5104 lineto + -2.3661 1.4777 lineto + %middle radial + -2.3661 1.4777 lineto + -2.4559 1.4421 lineto + -2.5472 1.4024 lineto + %end radial + -2.5472 1.4024 lineto + -2.5019 1.3064 lineto + -2.455 1.2149 lineto + -2.4069 1.1278 lineto + -2.3577 1.0451 lineto + -2.3078 0.9666 lineto + -2.2572 0.8923 lineto + -2.2062 0.8221 lineto + -2.155 0.7558 lineto + %middle circumferential + -2.155 0.7558 lineto + -2.1046 0.6943 lineto + -2.0543 0.6365 lineto + -2.0042 0.5821 lineto + -1.9546 0.5311 lineto + -1.9055 0.4834 lineto + -1.857 0.4388 lineto + -1.8093 0.3972 lineto + -1.7624 0.3585 lineto + %end circumferential + -1.7624 0.3585 lineto + -1.6921 0.4393 lineto + %middle radial + -1.6921 0.4393 lineto + -1.6173 0.5125 lineto + %end radial + -1.6173 0.5125 lineto + -1.691 0.5981 lineto + -1.7284 0.6448 lineto + -1.7659 0.6942 lineto + -1.8036 0.7464 lineto + -1.8412 0.8014 lineto + -1.8787 0.8595 lineto + -1.9158 0.9206 lineto + %middle circumferential + -1.9158 0.9206 lineto + -1.9532 0.986 lineto + -1.9899 1.0546 lineto + -2.0258 1.1266 lineto + -2.0608 1.2021 lineto + -2.0947 1.2811 lineto + -2.1272 1.3635 lineto + -2.1581 1.4496 lineto + -2.1874 1.5393 lineto + %end circumferential + closepath +currentgray 0.4835483870967742 setgray fill setgray +% Sector from 5.4978 to 5.6941 (quadrant 3) +newpath + -2.2134 3.5037 moveto + -2.2853 3.5214 lineto + -2.3588 3.5385 lineto + -2.4338 3.555 lineto + -2.5104 3.5708 lineto + %middle radial + -2.5104 3.5708 lineto + -2.5868 3.5855 lineto + -2.6647 3.5995 lineto + -2.7442 3.6128 lineto + -2.8253 3.6252 lineto + %end radial + -2.8253 3.6252 lineto + -2.8373 3.5382 lineto + -2.8474 3.4521 lineto + -2.8558 3.367 lineto + -2.8625 3.2827 lineto + -2.8675 3.1995 lineto + -2.8709 3.1173 lineto + -2.8728 3.0361 lineto + -2.8731 2.9559 lineto + -2.872 2.8769 lineto + -2.8694 2.7989 lineto + -2.8654 2.7221 lineto + -2.8601 2.6465 lineto + -2.8535 2.5719 lineto + -2.8456 2.4986 lineto + -2.8366 2.4264 lineto + -2.8264 2.3555 lineto + %middle circumferential + -2.8264 2.3555 lineto + -2.8152 2.287 lineto + -2.8031 2.2196 lineto + -2.7899 2.1534 lineto + -2.7758 2.0884 lineto + -2.7608 2.0246 lineto + -2.745 1.9621 lineto + -2.7283 1.9007 lineto + -2.7108 1.8405 lineto + -2.6926 1.7815 lineto + -2.6736 1.7238 lineto + -2.654 1.6672 lineto + -2.6338 1.6119 lineto + -2.5916 1.5048 lineto + -2.5472 1.4024 lineto + %end circumferential + -2.5472 1.4024 lineto + -2.4559 1.4421 lineto + -2.3661 1.4777 lineto + %middle radial + -2.3661 1.4777 lineto + -2.2759 1.5104 lineto + -2.1874 1.5393 lineto + %end radial + -2.1874 1.5393 lineto + -2.2015 1.5863 lineto + -2.2281 1.6831 lineto + -2.2524 1.7837 lineto + -2.274 1.888 lineto + -2.2928 1.9961 lineto + -2.3085 2.1079 lineto + -2.3208 2.2233 lineto + -2.3256 2.2824 lineto + -2.3294 2.3424 lineto + -2.3323 2.4032 lineto + %middle circumferential + -2.3323 2.4032 lineto + -2.3342 2.466 lineto + -2.335 2.5297 lineto + -2.3347 2.5942 lineto + -2.3333 2.6596 lineto + -2.3307 2.7259 lineto + -2.3268 2.7929 lineto + -2.3217 2.8608 lineto + -2.3153 2.9294 lineto + -2.3076 2.9988 lineto + -2.2985 3.0689 lineto + -2.288 3.1398 lineto + -2.2761 3.2113 lineto + -2.2627 3.2835 lineto + -2.2478 3.3563 lineto + -2.2314 3.4297 lineto + -2.2134 3.5037 lineto + %end circumferential + closepath +currentgray 0.5003225806451613 setgray fill setgray +% Sector from 5.3014 to 5.4978 (quadrant 3) +newpath + -0.584 5.9884 moveto + -0.6525 6.0716 lineto + -0.7232 6.1558 lineto + -0.7962 6.241 lineto + -0.8715 6.3273 lineto + %middle radial + -0.8715 6.3273 lineto + -1.1899 6.378103166302659 lineto + %end radial + -1.1899 6.378103166302659 lineto + -1.6825 6.2183 lineto + -1.7064 6.114 lineto + -1.7448 6.0659 lineto + -1.7825 6.0177 lineto + -1.8194 5.9693 lineto + -1.8557 5.9207 lineto + -1.8913 5.8721 lineto + -1.9261 5.8233 lineto + -1.9603 5.7744 lineto + -1.9938 5.7254 lineto + -2.0265 5.6763 lineto + -2.0586 5.6271 lineto + -2.1207 5.5285 lineto + -2.18 5.4297 lineto + -2.2367 5.3307 lineto + -2.2906 5.2317 lineto + -2.3418 5.1326 lineto + %middle circumferential + -2.3418 5.1326 lineto + -2.3896 5.0355 lineto + -2.4349 4.9384 lineto + -2.4777 4.8415 lineto + -2.518 4.7449 lineto + -2.5559 4.6486 lineto + -2.5915 4.5527 lineto + -2.6247 4.4572 lineto + -2.6556 4.3622 lineto + -2.6843 4.2677 lineto + -2.7108 4.1738 lineto + -2.735 4.0805 lineto + -2.7572 3.9879 lineto + -2.7772 3.8961 lineto + -2.7952 3.805 lineto + -2.8113 3.7147 lineto + -2.8253 3.6252 lineto + %end circumferential + -2.8253 3.6252 lineto + -2.7442 3.6128 lineto + -2.6647 3.5995 lineto + -2.5868 3.5855 lineto + -2.5104 3.5708 lineto + %middle radial + -2.5104 3.5708 lineto + -2.4338 3.555 lineto + -2.3588 3.5385 lineto + -2.2853 3.5214 lineto + -2.2134 3.5037 lineto + %end radial + -2.2134 3.5037 lineto + -2.1934 3.5796 lineto + -2.1718 3.656 lineto + -2.1484 3.7329 lineto + -2.1233 3.8102 lineto + -2.0964 3.888 lineto + -2.0677 3.9661 lineto + -2.0372 4.0446 lineto + -2.0047 4.1234 lineto + -1.9704 4.2024 lineto + -1.9341 4.2815 lineto + -1.8959 4.3609 lineto + -1.8557 4.4404 lineto + -1.8135 4.5199 lineto + -1.7692 4.5994 lineto + -1.7229 4.6788 lineto + -1.6746 4.7582 lineto + %middle circumferential + -1.6746 4.7582 lineto + -1.6232 4.8389 lineto + -1.5696 4.9193 lineto + -1.5138 4.9995 lineto + -1.4558 5.0794 lineto + -1.3956 5.1588 lineto + -1.3332 5.2378 lineto + -1.2684 5.3163 lineto + -1.2015 5.3942 lineto + -1.1322 5.4714 lineto + -1.0607 5.5479 lineto + -0.987 5.6237 lineto + -0.9109 5.6986 lineto + -0.8326 5.7726 lineto + -0.752 5.8456 lineto + -0.6691 5.9175 lineto + -0.584 5.9884 lineto + %end circumferential + closepath +currentgray 0.5170967741935484 setgray fill setgray +% Sector from 5.1051 to 5.3014 (quadrant 3) +newpath + 3.2918 6.378103166302659 moveto + 3.2999 6.378103166302659 lineto + %middle radial + 3.2999 6.378103166302659 lineto + 3.2918 6.378103166302659 lineto + %end radial + 3.2918 6.378103166302659 lineto + 0.7193 6.378103166302659 lineto + %middle circumferential + 0.7193 6.378103166302659 lineto + -1.1899 6.378103166302659 lineto + %end circumferential + -1.1899 6.378103166302659 lineto + -0.8715 6.3273 lineto + %middle radial + -0.8715 6.3273 lineto + -0.7962 6.241 lineto + -0.7232 6.1558 lineto + -0.6525 6.0716 lineto + -0.584 5.9884 lineto + %end radial + -0.584 5.9884 lineto + -0.5398 6.024 lineto + -0.4497 6.0943 lineto + -0.3572 6.1632 lineto + -0.2625 6.2308 lineto + -0.1899 6.2804 lineto + -0.1408 6.3131 lineto + -0.0912 6.3453 lineto + -0.041 6.3772 lineto + 1.1046 6.378103166302659 lineto + %middle circumferential + 1.1046 6.378103166302659 lineto + 3.2918 6.378103166302659 lineto + %end circumferential + closepath +currentgray 0.5338709677419355 setgray fill setgray +% Sector from 4.9087 to 5.1051 (quadrant 3) +currentgray 0.5506451612903226 setgray fill setgray +% Sector from 4.7124 to 4.9087 (quadrant 3) +currentgray 0.5674193548387096 setgray fill setgray +% Sector from 4.516 to 4.7124 (quadrant 2) +currentgray 0.5841935483870968 setgray fill setgray +% Sector from 4.3197 to 4.516 (quadrant 2) +currentgray 0.600967741935484 setgray fill setgray +% Sector from 4.1233 to 4.3197 (quadrant 2) +newpath + -0.584 -5.9884 moveto + -0.6525 -6.0716 lineto + -0.7232 -6.1558 lineto + -0.7962 -6.241 lineto + -0.8715 -6.3273 lineto + %middle radial + -0.8715 -6.3273 lineto + -1.1899 -6.378103166302659 lineto + %end radial + -1.1899 -6.378103166302659 lineto + 0.7193 -6.378103166302659 lineto + %middle circumferential + 0.7193 -6.378103166302659 lineto + 3.2918 -6.378103166302659 lineto + %end circumferential + 3.2918 -6.378103166302659 lineto + 3.2999 -6.378103166302659 lineto + %middle radial + 3.2999 -6.378103166302659 lineto + 3.2918 -6.378103166302659 lineto + %end radial + 3.2918 -6.378103166302659 lineto + 1.1046 -6.378103166302659 lineto + %middle circumferential + 1.1046 -6.378103166302659 lineto + -0.0488 -6.3723 lineto + -0.0986 -6.3406 lineto + -0.1721 -6.2924 lineto + -0.268 -6.2269 lineto + -0.3613 -6.1602 lineto + -0.4523 -6.0923 lineto + -0.5407 -6.0233 lineto + -0.584 -5.9884 lineto + %end circumferential + closepath +currentgray 0.6177419354838709 setgray fill setgray +% Sector from 3.927 to 4.1233 (quadrant 2) +newpath + -2.2134 -3.5037 moveto + -2.2853 -3.5214 lineto + -2.3588 -3.5385 lineto + -2.4338 -3.555 lineto + -2.5104 -3.5708 lineto + %middle radial + -2.5104 -3.5708 lineto + -2.5868 -3.5855 lineto + -2.6647 -3.5995 lineto + -2.7442 -3.6128 lineto + -2.8253 -3.6252 lineto + %end radial + -2.8253 -3.6252 lineto + -2.8116 -3.7129 lineto + -2.7959 -3.8016 lineto + -2.7782 -3.8913 lineto + -2.7585 -3.9821 lineto + -2.7367 -4.0737 lineto + -2.7128 -4.1663 lineto + -2.6866 -4.2598 lineto + -2.6582 -4.3541 lineto + -2.6274 -4.4492 lineto + -2.5943 -4.545 lineto + -2.5586 -4.6416 lineto + -2.5205 -4.7387 lineto + -2.4798 -4.8365 lineto + -2.4365 -4.9348 lineto + -2.3906 -5.0335 lineto + -2.3418 -5.1326 lineto + %middle circumferential + -2.3418 -5.1326 lineto + -2.2916 -5.2297 lineto + -2.2387 -5.3271 lineto + -2.183 -5.4246 lineto + -2.1245 -5.5222 lineto + -2.0632 -5.6199 lineto + -2.0154 -5.6932 lineto + -1.9825 -5.742 lineto + -1.949 -5.7907 lineto + -1.9147 -5.8395 lineto + -1.8796 -5.8882 lineto + -1.8438 -5.9368 lineto + -1.8073 -5.9853 lineto + -1.7699 -6.0338 lineto + -1.7319 -6.0822 lineto + -1.693 -6.1305 lineto + -1.6653 -6.2229 lineto + -1.1899 -6.378103166302659 lineto + %end circumferential + -1.1899 -6.378103166302659 lineto + -0.8715 -6.3273 lineto + %middle radial + -0.8715 -6.3273 lineto + -0.7962 -6.241 lineto + -0.7232 -6.1558 lineto + -0.6525 -6.0716 lineto + -0.584 -5.9884 lineto + %end radial + -0.584 -5.9884 lineto + -0.6708 -5.9161 lineto + -0.755 -5.8429 lineto + -0.8367 -5.7687 lineto + -0.9158 -5.6938 lineto + -0.9924 -5.6182 lineto + -1.0665 -5.5419 lineto + -1.1381 -5.465 lineto + -1.2072 -5.3876 lineto + -1.2739 -5.3098 lineto + -1.3382 -5.2316 lineto + -1.4001 -5.1531 lineto + -1.4596 -5.0743 lineto + -1.5168 -4.9954 lineto + -1.5716 -4.9164 lineto + -1.6242 -4.8373 lineto + -1.6746 -4.7582 lineto + %middle circumferential + -1.6746 -4.7582 lineto + -1.7239 -4.6772 lineto + -1.7709 -4.5964 lineto + -1.8157 -4.5157 lineto + -1.8583 -4.4352 lineto + -1.8988 -4.355 lineto + -1.9371 -4.2752 lineto + -1.9734 -4.1957 lineto + -2.0076 -4.1166 lineto + -2.0398 -4.038 lineto + -2.0701 -3.9599 lineto + -2.0985 -3.8823 lineto + -2.125 -3.8053 lineto + -2.1497 -3.7289 lineto + -2.1726 -3.6532 lineto + -2.1939 -3.5781 lineto + -2.2134 -3.5037 lineto + %end circumferential + closepath +currentgray 0.6345161290322581 setgray fill setgray +% Sector from 3.7306 to 3.927 (quadrant 2) +newpath + -2.1874 -1.5393 moveto + -2.2759 -1.5104 lineto + -2.3661 -1.4777 lineto + %middle radial + -2.3661 -1.4777 lineto + -2.4559 -1.4421 lineto + -2.5472 -1.4024 lineto + %end radial + -2.5472 -1.4024 lineto + -2.5692 -1.452 lineto + -2.6118 -1.5549 lineto + -2.6526 -1.6631 lineto + -2.6721 -1.7191 lineto + -2.691 -1.7766 lineto + -2.7093 -1.8353 lineto + -2.7268 -1.8955 lineto + -2.7436 -1.957 lineto + -2.7597 -2.0199 lineto + -2.7749 -2.0842 lineto + -2.7892 -2.1499 lineto + -2.8026 -2.217 lineto + -2.815 -2.2856 lineto + -2.8264 -2.3555 lineto + %middle circumferential + -2.8264 -2.3555 lineto + -2.8364 -2.425 lineto + -2.8453 -2.4959 lineto + -2.8531 -2.5681 lineto + -2.8597 -2.6416 lineto + -2.8651 -2.7165 lineto + -2.8691 -2.7927 lineto + -2.8718 -2.8703 lineto + -2.8731 -2.9491 lineto + -2.8729 -3.0292 lineto + -2.8712 -3.1107 lineto + -2.8678 -3.1934 lineto + -2.8629 -3.2773 lineto + -2.8562 -3.3625 lineto + -2.8478 -3.4489 lineto + -2.8375 -3.5365 lineto + -2.8253 -3.6252 lineto + %end circumferential + -2.8253 -3.6252 lineto + -2.7442 -3.6128 lineto + -2.6647 -3.5995 lineto + -2.5868 -3.5855 lineto + -2.5104 -3.5708 lineto + %middle radial + -2.5104 -3.5708 lineto + -2.4338 -3.555 lineto + -2.3588 -3.5385 lineto + -2.2853 -3.5214 lineto + -2.2134 -3.5037 lineto + %end radial + -2.2134 -3.5037 lineto + -2.2317 -3.4282 lineto + -2.2484 -3.3535 lineto + -2.2634 -3.2797 lineto + -2.2769 -3.2066 lineto + -2.2888 -3.1345 lineto + -2.2992 -3.0632 lineto + -2.3083 -2.9929 lineto + -2.3159 -2.9235 lineto + -2.3222 -2.855 lineto + -2.3272 -2.7875 lineto + -2.3309 -2.7209 lineto + -2.3334 -2.6554 lineto + -2.3348 -2.5908 lineto + -2.335 -2.5273 lineto + -2.3342 -2.4647 lineto + -2.3323 -2.4032 lineto + %middle circumferential + -2.3323 -2.4032 lineto + -2.3294 -2.3411 lineto + -2.3254 -2.2801 lineto + -2.3205 -2.2202 lineto + -2.3147 -2.1614 lineto + -2.3004 -2.047 lineto + -2.283 -1.9369 lineto + -2.2627 -1.8312 lineto + -2.2398 -1.7297 lineto + -2.2146 -1.6324 lineto + -2.1874 -1.5393 lineto + %end circumferential + closepath +currentgray 0.6512903225806452 setgray fill setgray +% Sector from 3.5343 to 3.7306 (quadrant 2) +newpath + -1.6173 -0.5125 moveto + -1.6921 -0.4393 lineto + %middle radial + -1.6921 -0.4393 lineto + -1.7624 -0.3585 lineto + %end radial + -1.7624 -0.3585 lineto + -1.8084 -0.3964 lineto + -1.8554 -0.4374 lineto + -1.9035 -0.4815 lineto + -1.9524 -0.529 lineto + -2.0022 -0.5799 lineto + -2.0526 -0.6346 lineto + -2.1036 -0.6932 lineto + -2.155 -0.7558 lineto + %middle circumferential + -2.155 -0.7558 lineto + -2.2052 -0.8208 lineto + -2.2555 -0.89 lineto + -2.3057 -0.9635 lineto + -2.3556 -1.0416 lineto + -2.4049 -1.1243 lineto + -2.4535 -1.212 lineto + -2.501 -1.3046 lineto + -2.5472 -1.4024 lineto + %end circumferential + -2.5472 -1.4024 lineto + -2.4559 -1.4421 lineto + -2.3661 -1.4777 lineto + %middle radial + -2.3661 -1.4777 lineto + -2.2759 -1.5104 lineto + -2.1874 -1.5393 lineto + %end radial + -2.1874 -1.5393 lineto + -2.1576 -1.4479 lineto + -2.1261 -1.3608 lineto + -2.0933 -1.2777 lineto + -2.0593 -1.1987 lineto + -2.0244 -1.1236 lineto + -1.9887 -1.0523 lineto + -1.9525 -0.9847 lineto + -1.9158 -0.9206 lineto + %middle circumferential + -1.9158 -0.9206 lineto + -1.8779 -0.8583 lineto + -1.84 -0.7996 lineto + -1.802 -0.7441 lineto + -1.7643 -0.6919 lineto + -1.7268 -0.6428 lineto + -1.6898 -0.5966 lineto + -1.6173 -0.5125 lineto + %end circumferential + closepath +currentgray 0.6680645161290323 setgray fill setgray +% Sector from 3.3379 to 3.5343 (quadrant 2) +newpath + -1.1529 -0.1226 moveto + -1.1749 -0.0823 lineto + %middle radial + -1.1749 -0.0823 lineto + -1.1916 -0.0393 lineto + %end radial + -1.1916 -0.0393 lineto + -1.2422 -0.0565 lineto + -1.2991 -0.0786 lineto + -1.3625 -0.1063 lineto + -1.4323 -0.1408 lineto + %middle circumferential + -1.4323 -0.1408 lineto + -1.5062 -0.1816 lineto + -1.586 -0.2307 lineto + -1.6716 -0.2892 lineto + -1.7624 -0.3585 lineto + %end circumferential + -1.7624 -0.3585 lineto + -1.6921 -0.4393 lineto + %middle radial + -1.6921 -0.4393 lineto + -1.6173 -0.5125 lineto + %end radial + -1.6173 -0.5125 lineto + -1.5456 -0.4367 lineto + -1.4773 -0.3706 lineto + -1.4129 -0.3132 lineto + -1.3526 -0.2635 lineto + %middle circumferential + -1.3526 -0.2635 lineto + -1.2953 -0.2196 lineto + -1.2428 -0.182 lineto + -1.1529 -0.1226 lineto + %end circumferential + closepath +currentgray 0.6848387096774193 setgray fill setgray +% Sector from 3.1416 to 3.3379 (quadrant 2) +newpath + -0.99 0.0 moveto + -0.9975 0.0 lineto + %middle radial + -0.9975 0.0 lineto + -1.0 0.0 lineto + %end radial + -1.0 0.0 lineto + -1.0477 -0.0047 lineto + %middle circumferential + -1.0477 -0.0047 lineto + -1.107 -0.0161 lineto + -1.1916 -0.0393 lineto + %end circumferential + -1.1916 -0.0393 lineto + -1.1749 -0.0823 lineto + %middle radial + -1.1749 -0.0823 lineto + -1.1529 -0.1226 lineto + %end radial + -1.1529 -0.1226 lineto + -1.0814 -0.0784 lineto + -1.0309 -0.0464 lineto + %middle circumferential + -1.0309 -0.0464 lineto + -0.99 0.0 lineto + %end circumferential + closepath +currentgray 0.7016129032258065 setgray fill setgray +% Sector from 2.9452 to 3.1416 (quadrant 1) +newpath + -1.1529 0.1226 moveto + -1.1749 0.0823 lineto + %middle radial + -1.1749 0.0823 lineto + -1.1916 0.0393 lineto + %end radial + -1.1916 0.0393 lineto + -1.1081 0.0164 lineto + -1.0477 0.0047 lineto + %middle circumferential + -1.0477 0.0047 lineto + -1.0 0.0 lineto + %end circumferential + -1.0 0.0 lineto + -0.9975 0.0 lineto + %middle radial + -0.9975 0.0 lineto + -0.99 0.0 lineto + %end radial + -0.99 0.0 lineto + -1.0309 0.0464 lineto + %middle circumferential + -1.0309 0.0464 lineto + -1.0824 0.079 lineto + -1.1529 0.1226 lineto + %end circumferential + closepath +currentgray 0.7183870967741936 setgray fill setgray +% Sector from 2.7489 to 2.9452 (quadrant 1) +newpath + -1.6173 0.5125 moveto + -1.6921 0.4393 lineto + %middle radial + -1.6921 0.4393 lineto + -1.7624 0.3585 lineto + %end radial + -1.7624 0.3585 lineto + -1.6736 0.2907 lineto + -1.5887 0.2324 lineto + -1.508 0.1826 lineto + -1.4323 0.1408 lineto + %middle circumferential + -1.4323 0.1408 lineto + -1.364 0.1071 lineto + -1.301 0.0794 lineto + -1.2435 0.057 lineto + -1.1916 0.0393 lineto + %end circumferential + -1.1916 0.0393 lineto + -1.1749 0.0823 lineto + %middle radial + -1.1749 0.0823 lineto + -1.1529 0.1226 lineto + %end radial + -1.1529 0.1226 lineto + -1.2444 0.183 lineto + -1.2966 0.2205 lineto + -1.3526 0.2635 lineto + %middle circumferential + -1.3526 0.2635 lineto + -1.4143 0.3144 lineto + -1.4794 0.3725 lineto + -1.5472 0.4383 lineto + -1.6173 0.5125 lineto + %end circumferential + closepath +currentgray 0.7351612903225806 setgray fill setgray +% Sector from 2.5525 to 2.7489 (quadrant 1) +newpath + -2.1874 1.5393 moveto + -2.2759 1.5104 lineto + -2.3661 1.4777 lineto + %middle radial + -2.3661 1.4777 lineto + -2.4559 1.4421 lineto + -2.5472 1.4024 lineto + %end radial + -2.5472 1.4024 lineto + -2.5023 1.3073 lineto + -2.4558 1.2163 lineto + -2.4078 1.1295 lineto + -2.3588 1.0468 lineto + -2.3087 0.9681 lineto + -2.258 0.8934 lineto + -2.2066 0.8227 lineto + -2.155 0.7558 lineto + %middle circumferential + -2.155 0.7558 lineto + -2.105 0.6948 lineto + -2.055 0.6373 lineto + -2.0052 0.5831 lineto + -1.9556 0.5321 lineto + -1.9064 0.4843 lineto + -1.8577 0.4394 lineto + -1.8097 0.3976 lineto + -1.7624 0.3585 lineto + %end circumferential + -1.7624 0.3585 lineto + -1.6921 0.4393 lineto + %middle radial + -1.6921 0.4393 lineto + -1.6173 0.5125 lineto + %end radial + -1.6173 0.5125 lineto + -1.6915 0.5987 lineto + -1.7291 0.6456 lineto + -1.7667 0.6951 lineto + -1.8043 0.7473 lineto + -1.8418 0.8023 lineto + -1.879 0.86 lineto + -1.9158 0.9206 lineto + %middle circumferential + -1.9158 0.9206 lineto + -1.9535 0.9866 lineto + -1.9905 1.0557 lineto + -2.0265 1.1281 lineto + -2.0615 1.2037 lineto + -2.0953 1.2826 lineto + -2.1277 1.3648 lineto + -2.1584 1.4504 lineto + -2.1874 1.5393 lineto + %end circumferential + closepath +currentgray 0.7519354838709679 setgray fill setgray +% Sector from 2.3562 to 2.5525 (quadrant 1) +newpath + -2.2134 3.5037 moveto + -2.2853 3.5214 lineto + -2.3588 3.5385 lineto + -2.4338 3.555 lineto + -2.5104 3.5708 lineto + %middle radial + -2.5104 3.5708 lineto + -2.5868 3.5855 lineto + -2.6647 3.5995 lineto + -2.7442 3.6128 lineto + -2.8253 3.6252 lineto + %end radial + -2.8253 3.6252 lineto + -2.8371 3.5392 lineto + -2.8472 3.4539 lineto + -2.8556 3.3694 lineto + -2.8623 3.2856 lineto + -2.8674 3.2028 lineto + -2.8708 3.1208 lineto + -2.8727 3.0397 lineto + -2.8731 2.9596 lineto + -2.872 2.8805 lineto + -2.8695 2.8023 lineto + -2.8656 2.7252 lineto + -2.8603 2.6491 lineto + -2.8537 2.574 lineto + -2.8458 2.5001 lineto + -2.8367 2.4272 lineto + -2.8264 2.3555 lineto + %middle circumferential + -2.8264 2.3555 lineto + -2.8153 2.2876 lineto + -2.8033 2.2209 lineto + -2.7903 2.1552 lineto + -2.7763 2.0905 lineto + -2.7614 2.027 lineto + -2.7456 1.9646 lineto + -2.729 1.9033 lineto + -2.7116 1.8431 lineto + -2.6934 1.7841 lineto + -2.6744 1.7261 lineto + -2.6548 1.6693 lineto + -2.6345 1.6137 lineto + -2.592 1.5058 lineto + -2.5472 1.4024 lineto + %end circumferential + -2.5472 1.4024 lineto + -2.4559 1.4421 lineto + -2.3661 1.4777 lineto + %middle radial + -2.3661 1.4777 lineto + -2.2759 1.5104 lineto + -2.1874 1.5393 lineto + %end radial + -2.1874 1.5393 lineto + -2.2016 1.5868 lineto + -2.2285 1.6844 lineto + -2.2528 1.7856 lineto + -2.2745 1.8903 lineto + -2.2932 1.9985 lineto + -2.3088 2.11 lineto + -2.3209 2.2249 lineto + -2.3257 2.2835 lineto + -2.3295 2.343 lineto + -2.3323 2.4032 lineto + %middle circumferential + -2.3323 2.4032 lineto + -2.3342 2.4667 lineto + -2.335 2.531 lineto + -2.3347 2.596 lineto + -2.3332 2.6619 lineto + -2.3305 2.7285 lineto + -2.3266 2.7958 lineto + -2.3214 2.8639 lineto + -2.315 2.9326 lineto + -2.3072 3.002 lineto + -2.298 3.072 lineto + -2.2875 3.1426 lineto + -2.2756 3.2138 lineto + -2.2623 3.2855 lineto + -2.2475 3.3578 lineto + -2.2312 3.4305 lineto + -2.2134 3.5037 lineto + %end circumferential + closepath +currentgray 0.7687096774193548 setgray fill setgray +% Sector from 2.1598 to 2.3562 (quadrant 1) +newpath + -0.584 5.9884 moveto + -0.6525 6.0716 lineto + -0.7232 6.1558 lineto + -0.7962 6.241 lineto + -0.8715 6.3273 lineto + %middle radial + -0.8715 6.3273 lineto + -1.1899 6.378103166302659 lineto + %end radial + -1.1899 6.378103166302659 lineto + -1.6287 6.2326 lineto + -1.6831 6.1426 lineto + -1.7218 6.0948 lineto + -1.7599 6.0467 lineto + -1.7972 5.9985 lineto + -1.8339 5.9501 lineto + -1.8699 5.9015 lineto + -1.9052 5.8527 lineto + -1.9398 5.8038 lineto + -1.9738 5.7548 lineto + -2.0071 5.7055 lineto + -2.0397 5.6562 lineto + -2.0717 5.6067 lineto + -2.1183 5.5323 lineto + -2.1782 5.4328 lineto + -2.2354 5.333 lineto + -2.2899 5.2329 lineto + -2.3418 5.1326 lineto + %middle circumferential + -2.3418 5.1326 lineto + -2.3891 5.0366 lineto + -2.4339 4.9405 lineto + -2.4764 4.8444 lineto + -2.5166 4.7485 lineto + -2.5544 4.6527 lineto + -2.5899 4.5571 lineto + -2.6232 4.4618 lineto + -2.6542 4.3668 lineto + -2.683 4.2723 lineto + -2.7096 4.1781 lineto + -2.7341 4.0845 lineto + -2.7564 3.9913 lineto + -2.7767 3.8988 lineto + -2.7949 3.8069 lineto + -2.8111 3.7157 lineto + -2.8253 3.6252 lineto + %end circumferential + -2.8253 3.6252 lineto + -2.7442 3.6128 lineto + -2.6647 3.5995 lineto + -2.5868 3.5855 lineto + -2.5104 3.5708 lineto + %middle radial + -2.5104 3.5708 lineto + -2.4338 3.555 lineto + -2.3588 3.5385 lineto + -2.2853 3.5214 lineto + -2.2134 3.5037 lineto + %end radial + -2.2134 3.5037 lineto + -2.1932 3.5805 lineto + -2.1713 3.6577 lineto + -2.1477 3.7352 lineto + -2.1224 3.8131 lineto + -2.0953 3.8913 lineto + -2.0664 3.9697 lineto + -2.0356 4.0484 lineto + -2.0031 4.1272 lineto + -1.9687 4.2062 lineto + -1.9324 4.2852 lineto + -1.8942 4.3642 lineto + -1.8542 4.4433 lineto + -1.8122 4.5222 lineto + -1.7683 4.6011 lineto + -1.7224 4.6798 lineto + -1.6746 4.7582 lineto + %middle circumferential + -1.6746 4.7582 lineto + -1.6226 4.8399 lineto + -1.5684 4.9212 lineto + -1.512 5.0021 lineto + -1.4535 5.0825 lineto + -1.3929 5.1624 lineto + -1.33 5.2417 lineto + -1.2651 5.3203 lineto + -1.1979 5.3982 lineto + -1.1286 5.4754 lineto + -1.0572 5.5517 lineto + -0.9836 5.6271 lineto + -0.9079 5.7015 lineto + -0.8301 5.7749 lineto + -0.7501 5.8472 lineto + -0.6681 5.9184 lineto + -0.584 5.9884 lineto + %end circumferential + closepath +currentgray 0.7854838709677419 setgray fill setgray +% Sector from 1.9635 to 2.1598 (quadrant 1) +newpath + 3.2918 6.378103166302659 moveto + 3.2999 6.378103166302659 lineto + %middle radial + 3.2999 6.378103166302659 lineto + 3.2918 6.378103166302659 lineto + %end radial + 3.2918 6.378103166302659 lineto + 0.7193 6.378103166302659 lineto + %middle circumferential + 0.7193 6.378103166302659 lineto + -1.1899 6.378103166302659 lineto + %end circumferential + -1.1899 6.378103166302659 lineto + -0.8715 6.3273 lineto + %middle radial + -0.8715 6.3273 lineto + -0.7962 6.241 lineto + -0.7232 6.1558 lineto + -0.6525 6.0716 lineto + -0.584 5.9884 lineto + %end radial + -0.584 5.9884 lineto + -0.5392 6.0245 lineto + -0.4479 6.0956 lineto + -0.3545 6.1652 lineto + -0.3069 6.1995 lineto + -0.2588 6.2333 lineto + -0.2102 6.2667 lineto + -0.161 6.2998 lineto + -0.1113 6.3323 lineto + -0.0611 6.3645 lineto + 1.1046 6.378103166302659 lineto + %middle circumferential + 1.1046 6.378103166302659 lineto + 3.2918 6.378103166302659 lineto + %end circumferential + closepath +currentgray 0.802258064516129 setgray fill setgray +% Sector from 1.7671 to 1.9635 (quadrant 1) +currentgray 0.8190322580645162 setgray fill setgray +% Sector from 1.5708 to 1.7671 (quadrant 1) +currentgray 0.8358064516129032 setgray fill setgray +% Sector from 1.3744 to 1.5708 (quadrant 0) +currentgray 0.8525806451612903 setgray fill setgray +% Sector from 1.1781 to 1.3744 (quadrant 0) +currentgray 0.8693548387096775 setgray fill setgray +% Sector from 0.9817 to 1.1781 (quadrant 0) +newpath + -0.584 -5.9884 moveto + -0.6525 -6.0716 lineto + -0.7232 -6.1558 lineto + -0.7962 -6.241 lineto + -0.8715 -6.3273 lineto + %middle radial + -0.8715 -6.3273 lineto + -1.1899 -6.378103166302659 lineto + %end radial + -1.1899 -6.378103166302659 lineto + 0.7193 -6.378103166302659 lineto + %middle circumferential + 0.7193 -6.378103166302659 lineto + 3.2918 -6.378103166302659 lineto + %end circumferential + 3.2918 -6.378103166302659 lineto + 3.2999 -6.378103166302659 lineto + %middle radial + 3.2999 -6.378103166302659 lineto + 3.2918 -6.378103166302659 lineto + %end radial + 3.2918 -6.378103166302659 lineto + 1.1046 -6.378103166302659 lineto + %middle circumferential + 1.1046 -6.378103166302659 lineto + -0.0866 -6.3483 lineto + -0.1833 -6.2849 lineto + -0.2772 -6.2205 lineto + -0.3683 -6.1551 lineto + -0.4566 -6.089 lineto + -0.5422 -6.0221 lineto + -0.584 -5.9884 lineto + %end circumferential + closepath +currentgray 0.8861290322580645 setgray fill setgray +% Sector from 0.7854 to 0.9817 (quadrant 0) +newpath + -2.2134 -3.5037 moveto + -2.2853 -3.5214 lineto + -2.3588 -3.5385 lineto + -2.4338 -3.555 lineto + -2.5104 -3.5708 lineto + %middle radial + -2.5104 -3.5708 lineto + -2.5868 -3.5855 lineto + -2.6647 -3.5995 lineto + -2.7442 -3.6128 lineto + -2.8253 -3.6252 lineto + %end radial + -2.8253 -3.6252 lineto + -2.8122 -3.7091 lineto + -2.7972 -3.7944 lineto + -2.7803 -3.8812 lineto + -2.7614 -3.9694 lineto + -2.7403 -4.0591 lineto + -2.7171 -4.1502 lineto + -2.6916 -4.2426 lineto + -2.6637 -4.3365 lineto + -2.6332 -4.4317 lineto + -2.6002 -4.5282 lineto + -2.5645 -4.626 lineto + -2.526 -4.725 lineto + -2.4846 -4.8253 lineto + -2.4402 -4.9267 lineto + -2.3926 -5.0291 lineto + -2.3418 -5.1326 lineto + %middle circumferential + -2.3418 -5.1326 lineto + -2.2936 -5.2261 lineto + -2.2425 -5.3202 lineto + -2.1886 -5.415 lineto + -2.1318 -5.5104 lineto + -2.0719 -5.6063 lineto + -2.009 -5.7027 lineto + -1.9597 -5.7753 lineto + -1.9258 -5.8238 lineto + -1.8911 -5.8724 lineto + -1.8555 -5.921 lineto + -1.8191 -5.9697 lineto + -1.7819 -6.0184 lineto + -1.7438 -6.0672 lineto + -1.7048 -6.116 lineto + -1.6796 -6.2191 lineto + -1.1899 -6.378103166302659 lineto + %end circumferential + -1.1899 -6.378103166302659 lineto + -0.8715 -6.3273 lineto + %middle radial + -0.8715 -6.3273 lineto + -0.7962 -6.241 lineto + -0.7232 -6.1558 lineto + -0.6525 -6.0716 lineto + -0.584 -5.9884 lineto + %end radial + -0.584 -5.9884 lineto + -0.6069 -5.9697 lineto + -0.6741 -5.9133 lineto + -0.761 -5.8376 lineto + -0.8447 -5.7613 lineto + -0.9253 -5.6846 lineto + -1.003 -5.6075 lineto + -1.0776 -5.5302 lineto + -1.1494 -5.4526 lineto + -1.2182 -5.375 lineto + -1.2844 -5.2973 lineto + -1.3478 -5.2196 lineto + -1.4085 -5.1421 lineto + -1.4666 -5.0648 lineto + -1.5223 -4.9876 lineto + -1.5754 -4.9108 lineto + -1.6262 -4.8343 lineto + -1.6746 -4.7582 lineto + %middle circumferential + -1.6746 -4.7582 lineto + -1.726 -4.6737 lineto + -1.7747 -4.5897 lineto + -1.8207 -4.5065 lineto + -1.8641 -4.424 lineto + -1.9051 -4.3422 lineto + -1.9436 -4.2612 lineto + -1.9798 -4.1811 lineto + -2.0137 -4.1019 lineto + -2.0455 -4.0237 lineto + -2.0752 -3.9463 lineto + -2.1028 -3.87 lineto + -2.1285 -3.7947 lineto + -2.1524 -3.7203 lineto + -2.1744 -3.6471 lineto + -2.1947 -3.5749 lineto + -2.2134 -3.5037 lineto + %end circumferential + closepath +currentgray 0.9029032258064516 setgray fill setgray +% Sector from 0.589 to 0.7854 (quadrant 0) +newpath + -2.1874 -1.5393 moveto + -2.2759 -1.5104 lineto + -2.3661 -1.4777 lineto + %middle radial + -2.3661 -1.4777 lineto + -2.4559 -1.4421 lineto + -2.5472 -1.4024 lineto + %end radial + -2.5472 -1.4024 lineto + -2.5884 -1.4971 lineto + -2.6286 -1.5981 lineto + -2.6675 -1.7056 lineto + -2.6863 -1.762 lineto + -2.7046 -1.8202 lineto + -2.7224 -1.8802 lineto + -2.7397 -1.942 lineto + -2.7562 -2.0059 lineto + -2.772 -2.0717 lineto + -2.787 -2.1395 lineto + -2.8011 -2.2093 lineto + -2.8143 -2.2813 lineto + -2.8264 -2.3555 lineto + %middle circumferential + -2.8264 -2.3555 lineto + -2.8359 -2.4215 lineto + -2.8445 -2.4892 lineto + -2.8521 -2.5586 lineto + -2.8587 -2.6297 lineto + -2.8642 -2.7026 lineto + -2.8684 -2.7772 lineto + -2.8713 -2.8537 lineto + -2.8729 -2.9319 lineto + -2.873 -3.012 lineto + -2.8716 -3.094 lineto + -2.8686 -3.1778 lineto + -2.8638 -3.2635 lineto + -2.8572 -3.3511 lineto + -2.8486 -3.4406 lineto + -2.8381 -3.532 lineto + -2.8253 -3.6252 lineto + %end circumferential + -2.8253 -3.6252 lineto + -2.7442 -3.6128 lineto + -2.6647 -3.5995 lineto + -2.5868 -3.5855 lineto + -2.5104 -3.5708 lineto + %middle radial + -2.5104 -3.5708 lineto + -2.4338 -3.555 lineto + -2.3588 -3.5385 lineto + -2.2853 -3.5214 lineto + -2.2134 -3.5037 lineto + %end radial + -2.2134 -3.5037 lineto + -2.2232 -3.4639 lineto + -2.2415 -3.3852 lineto + -2.2578 -3.308 lineto + -2.2723 -3.2322 lineto + -2.2851 -3.1578 lineto + -2.2962 -3.0848 lineto + -2.3058 -3.0132 lineto + -2.3139 -2.9431 lineto + -2.3205 -2.8744 lineto + -2.3258 -2.8071 lineto + -2.3299 -2.7412 lineto + -2.3327 -2.6767 lineto + -2.3344 -2.6135 lineto + -2.3351 -2.5517 lineto + -2.3347 -2.4913 lineto + -2.3323 -2.4032 lineto + %middle circumferential + -2.3323 -2.4032 lineto + -2.3292 -2.3374 lineto + -2.3249 -2.2733 lineto + -2.3196 -2.2109 lineto + -2.3134 -2.1501 lineto + -2.3064 -2.091 lineto + -2.2899 -1.9775 lineto + -2.2706 -1.8702 lineto + -2.249 -1.7688 lineto + -2.2255 -1.673 lineto + -2.2004 -1.5826 lineto + -2.1874 -1.5393 lineto + %end circumferential + closepath +currentgray 0.9196774193548387 setgray fill setgray +% Sector from 0.3927 to 0.589 (quadrant 0) +newpath + -1.6173 -0.5125 moveto + -1.6921 -0.4393 lineto + %middle radial + -1.6921 -0.4393 lineto + -1.7624 -0.3585 lineto + %end radial + -1.7624 -0.3585 lineto + -1.8486 -0.4313 lineto + -1.8947 -0.4732 lineto + -1.9428 -0.5194 lineto + -1.9929 -0.5703 lineto + -2.0451 -0.6262 lineto + -2.0991 -0.6879 lineto + -2.155 -0.7558 lineto + %middle circumferential + -2.155 -0.7558 lineto + -2.2018 -0.8163 lineto + -2.2497 -0.8817 lineto + -2.2984 -0.9526 lineto + -2.3478 -1.0291 lineto + -2.3977 -1.1119 lineto + -2.4478 -1.2014 lineto + -2.4977 -1.298 lineto + -2.5349 -1.3756 lineto + -2.5472 -1.4024 lineto + %end circumferential + -2.5472 -1.4024 lineto + -2.4559 -1.4421 lineto + -2.3661 -1.4777 lineto + %middle radial + -2.3661 -1.4777 lineto + -2.2759 -1.5104 lineto + -2.1874 -1.5393 lineto + %end radial + -2.1874 -1.5393 lineto + -2.1554 -1.4417 lineto + -2.1223 -1.3508 lineto + -2.0884 -1.2659 lineto + -2.0539 -1.1868 lineto + -2.0193 -1.1131 lineto + -1.9846 -1.0443 lineto + -1.95 -0.9803 lineto + -1.9158 -0.9206 lineto + %middle circumferential + -1.9158 -0.9206 lineto + -1.8746 -0.8531 lineto + -1.8343 -0.7911 lineto + -1.795 -0.7342 lineto + -1.7569 -0.6821 lineto + -1.72 -0.6341 lineto + -1.6502 -0.5497 lineto + -1.6173 -0.5125 lineto + %end circumferential + closepath +currentgray 0.9364516129032258 setgray fill setgray +% Sector from 0.1963 to 0.3927 (quadrant 0) +newpath + -1.1529 -0.1226 moveto + -1.1749 -0.0823 lineto + %middle radial + -1.1749 -0.0823 lineto + -1.1916 -0.0393 lineto + %end radial + -1.1916 -0.0393 lineto + -1.2879 -0.074 lineto + -1.3529 -0.1019 lineto + -1.4323 -0.1408 lineto + %middle circumferential + -1.4323 -0.1408 lineto + -1.4989 -0.1773 lineto + -1.5754 -0.2238 lineto + -1.6628 -0.283 lineto + -1.711 -0.3184 lineto + -1.7624 -0.3585 lineto + %end circumferential + -1.7624 -0.3585 lineto + -1.6921 -0.4393 lineto + %middle radial + -1.6921 -0.4393 lineto + -1.6173 -0.5125 lineto + %end radial + -1.6173 -0.5125 lineto + -1.5968 -0.4901 lineto + -1.5386 -0.4297 lineto + -1.4687 -0.3627 lineto + -1.4069 -0.3081 lineto + -1.3526 -0.2635 lineto + %middle circumferential + -1.3526 -0.2635 lineto + -1.2874 -0.2137 lineto + -1.2336 -0.1755 lineto + -1.1529 -0.1226 lineto + %end circumferential + closepath +currentgray 0.9532258064516128 setgray fill setgray +% Sector from 0.0 to 0.1963 (quadrant 0) +newpath + -0.99 0.0 moveto + -0.9975 0.0 lineto + %middle radial + -0.9975 0.0 lineto + -1.0 0.0 lineto + %end radial + -1.0 0.0 lineto + -1.0477 -0.0047 lineto + %middle circumferential + -1.0477 -0.0047 lineto + -1.1353 -0.023 lineto + -1.1916 -0.0393 lineto + %end circumferential + -1.1916 -0.0393 lineto + -1.1749 -0.0823 lineto + %middle radial + -1.1749 -0.0823 lineto + -1.1529 -0.1226 lineto + %end radial + -1.1529 -0.1226 lineto + -1.1054 -0.0931 lineto + -1.0309 -0.0464 lineto + %middle circumferential + -1.0309 -0.0464 lineto + -0.9901 -0.0024 lineto + -0.99 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Horizontal line from (0.5, 0.0) to (0.0, 0.0) +newpath + 0.8776 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.5, 0.0) to (1.0, 0.0) +newpath + 0.8776 0.0 moveto + 0.5403 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.0, 0.0) +newpath + -0.4161 0.0 moveto + 0.5403 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.1579208923731617E77, 0.0) +newpath + -0.4161 0.0 moveto + -0.9648 0.0 lineto + 0.998 0.0 lineto + -0.4161 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (0.0, 1.0) +newpath + -0.6421 -1.0686 moveto + -0.5782 -1.0896 lineto + -0.5147 -1.1079 lineto + -0.4515 -1.1238 lineto + -0.389 -1.1372 lineto + -0.3272 -1.1485 lineto + -0.2663 -1.1576 lineto + -0.2064 -1.1646 lineto + -0.1474 -1.1698 lineto + -0.033 -1.1749 lineto + 0.0765 -1.1738 lineto + 0.1807 -1.1671 lineto + 0.2796 -1.1557 lineto + 0.3729 -1.1404 lineto + 0.4608 -1.1216 lineto + 0.5432 -1.1 lineto + 0.6204 -1.076 lineto + 0.6924 -1.0502 lineto + 0.7595 -1.023 lineto + 0.8219 -0.9946 lineto + 0.8798 -0.9655 lineto + 0.9334 -0.9358 lineto + 1.029 -0.8758 lineto + 1.1104 -0.816 lineto + 1.1796 -0.7576 lineto + 1.2381 -0.7014 lineto + 1.2875 -0.6478 lineto + 1.3291 -0.597 lineto + 1.3794 -0.5267 lineto + 1.4288 -0.4438 lineto + 1.4634 -0.3727 lineto + 1.4876 -0.3122 lineto + 1.5163 -0.2181 lineto + 1.5341 -0.1267 lineto + 1.541 -0.0612 lineto + 1.5431 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (1.1579208923731617E77, 1.0) +newpath + -0.6421 -1.0686 moveto + -0.7045 -1.0456 lineto + -0.7668 -1.0198 lineto + -0.8288 -0.9913 lineto + -0.8903 -0.9599 lineto + -0.951 -0.9255 lineto + -1.0108 -0.888 lineto + -1.0692 -0.8473 lineto + -1.1261 -0.8035 lineto + -1.181 -0.7563 lineto + -1.2337 -0.7059 lineto + -1.2837 -0.6521 lineto + -1.3306 -0.5951 lineto + -1.3741 -0.5347 lineto + -1.4137 -0.471 lineto + -1.4489 -0.4042 lineto + -1.4793 -0.3343 lineto + -1.5044 -0.2615 lineto + -1.5236 -0.186 lineto + -1.5366 -0.1079 lineto + -1.5427 -0.0276 lineto + -1.5414 0.0547 lineto + -1.5323 0.1385 lineto + -1.5149 0.2235 lineto + -1.4887 0.3091 lineto + -1.4534 0.3949 lineto + -1.4084 0.4802 lineto + -1.3535 0.5643 lineto + -1.2885 0.6467 lineto + -1.213 0.7264 lineto + -1.1272 0.8026 lineto + -1.0803 0.8391 lineto + -1.0309 0.8745 lineto + -0.9788 0.9085 lineto + -0.9243 0.9411 lineto + -0.8672 0.9721 lineto + -0.8076 1.0014 lineto + -0.7457 1.0289 lineto + -0.6814 1.0544 lineto + -0.6149 1.0779 lineto + -0.5463 1.0991 lineto + -0.4755 1.118 lineto + -0.4029 1.1344 lineto + -0.3285 1.1483 lineto + -0.2524 1.1594 lineto + -0.1748 1.1676 lineto + -0.0959 1.1729 lineto + -0.0158 1.1751 lineto + 0.0652 1.1742 lineto + 0.1469 1.1699 lineto + 0.2291 1.1622 lineto + 0.3115 1.151 lineto + 0.3939 1.1363 lineto + 0.4761 1.1179 lineto + 0.5576 1.0958 lineto + 0.6383 1.0699 lineto + 0.7178 1.0403 lineto + 0.7958 1.0069 lineto + 0.872 0.9696 lineto + 0.9459 0.9285 lineto + 1.0173 0.8837 lineto + 1.0857 0.8351 lineto + 1.1509 0.7828 lineto + 1.2124 0.727 lineto + 1.2698 0.6677 lineto + 1.3228 0.6051 lineto + 1.371 0.5393 lineto + 1.414 0.4706 lineto + 1.4514 0.399 lineto + 1.4829 0.325 lineto + 1.5082 0.2486 lineto + 1.5268 0.1702 lineto + 1.5385 0.0902 lineto + 1.543 0.0089 lineto + 1.5401 -0.0734 lineto + 1.5294 -0.1562 lineto + 1.5108 -0.2392 lineto + 1.4841 -0.3218 lineto + 1.4492 -0.4037 lineto + 1.406 -0.4843 lineto + 1.3545 -0.563 lineto + 1.2947 -0.6394 lineto + 1.2267 -0.713 lineto + 1.1506 -0.7831 lineto + 1.0666 -0.8492 lineto + 0.9751 -0.9108 lineto + 0.8764 -0.9673 lineto + 0.7978 -1.0059 lineto + 0.7434 -1.0298 lineto + 0.6875 -1.0521 lineto + 0.63 -1.0728 lineto + 0.5712 -1.0917 lineto + 0.5111 -1.1089 lineto + 0.4498 -1.1242 lineto + 0.3873 -1.1376 lineto + 0.3238 -1.149 lineto + 0.2593 -1.1585 lineto + 0.194 -1.1659 lineto + 0.128 -1.1712 lineto + 0.0614 -1.1743 lineto + -0.0057 -1.1752 lineto + -0.0732 -1.1739 lineto + -0.1409 -1.1703 lineto + -0.2087 -1.1644 lineto + -0.2765 -1.1562 lineto + -0.3441 -1.1456 lineto + -0.4113 -1.1327 lineto + -0.4781 -1.1174 lineto + -0.5443 -1.0997 lineto + -0.6098 -1.0796 lineto + -0.6421 -1.0686 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (0.0, -1.0) +newpath + -0.6421 1.0686 moveto + -0.5782 1.0896 lineto + -0.5147 1.1079 lineto + -0.4515 1.1238 lineto + -0.389 1.1372 lineto + -0.3272 1.1485 lineto + -0.2663 1.1576 lineto + -0.2064 1.1646 lineto + -0.1474 1.1698 lineto + -0.033 1.1749 lineto + 0.0765 1.1738 lineto + 0.1807 1.1671 lineto + 0.2796 1.1557 lineto + 0.3729 1.1404 lineto + 0.4608 1.1216 lineto + 0.5432 1.1 lineto + 0.6204 1.076 lineto + 0.6924 1.0502 lineto + 0.7595 1.023 lineto + 0.8219 0.9946 lineto + 0.8798 0.9655 lineto + 0.9334 0.9358 lineto + 1.029 0.8758 lineto + 1.1104 0.816 lineto + 1.1796 0.7576 lineto + 1.2381 0.7014 lineto + 1.2875 0.6478 lineto + 1.3291 0.597 lineto + 1.3794 0.5267 lineto + 1.4288 0.4438 lineto + 1.4634 0.3727 lineto + 1.4876 0.3122 lineto + 1.5163 0.2181 lineto + 1.5341 0.1267 lineto + 1.541 0.0612 lineto + 1.5431 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (1.1579208923731617E77, -1.0) +newpath + -0.6421 1.0686 moveto + -0.7045 1.0456 lineto + -0.7668 1.0198 lineto + -0.8288 0.9913 lineto + -0.8903 0.9599 lineto + -0.951 0.9255 lineto + -1.0108 0.888 lineto + -1.0692 0.8473 lineto + -1.1261 0.8035 lineto + -1.181 0.7563 lineto + -1.2337 0.7059 lineto + -1.2837 0.6521 lineto + -1.3306 0.5951 lineto + -1.3741 0.5347 lineto + -1.4137 0.471 lineto + -1.4489 0.4042 lineto + -1.4793 0.3343 lineto + -1.5044 0.2615 lineto + -1.5236 0.186 lineto + -1.5366 0.1079 lineto + -1.5427 0.0276 lineto + -1.5414 -0.0547 lineto + -1.5323 -0.1385 lineto + -1.5149 -0.2235 lineto + -1.4887 -0.3091 lineto + -1.4534 -0.3949 lineto + -1.4084 -0.4802 lineto + -1.3535 -0.5643 lineto + -1.2885 -0.6467 lineto + -1.213 -0.7264 lineto + -1.1272 -0.8026 lineto + -1.0803 -0.8391 lineto + -1.0309 -0.8745 lineto + -0.9788 -0.9085 lineto + -0.9243 -0.9411 lineto + -0.8672 -0.9721 lineto + -0.8076 -1.0014 lineto + -0.7457 -1.0289 lineto + -0.6814 -1.0544 lineto + -0.6149 -1.0779 lineto + -0.5463 -1.0991 lineto + -0.4755 -1.118 lineto + -0.4029 -1.1344 lineto + -0.3285 -1.1483 lineto + -0.2524 -1.1594 lineto + -0.1748 -1.1676 lineto + -0.0959 -1.1729 lineto + -0.0158 -1.1751 lineto + 0.0652 -1.1742 lineto + 0.1469 -1.1699 lineto + 0.2291 -1.1622 lineto + 0.3115 -1.151 lineto + 0.3939 -1.1363 lineto + 0.4761 -1.1179 lineto + 0.5576 -1.0958 lineto + 0.6383 -1.0699 lineto + 0.7178 -1.0403 lineto + 0.7958 -1.0069 lineto + 0.872 -0.9696 lineto + 0.9459 -0.9285 lineto + 1.0173 -0.8837 lineto + 1.0857 -0.8351 lineto + 1.1509 -0.7828 lineto + 1.2124 -0.727 lineto + 1.2698 -0.6677 lineto + 1.3228 -0.6051 lineto + 1.371 -0.5393 lineto + 1.414 -0.4706 lineto + 1.4514 -0.399 lineto + 1.4829 -0.325 lineto + 1.5082 -0.2486 lineto + 1.5268 -0.1702 lineto + 1.5385 -0.0902 lineto + 1.543 -0.0089 lineto + 1.5401 0.0734 lineto + 1.5294 0.1562 lineto + 1.5108 0.2392 lineto + 1.4841 0.3218 lineto + 1.4492 0.4037 lineto + 1.406 0.4843 lineto + 1.3545 0.563 lineto + 1.2947 0.6394 lineto + 1.2267 0.713 lineto + 1.1506 0.7831 lineto + 1.0666 0.8492 lineto + 0.9751 0.9108 lineto + 0.8764 0.9673 lineto + 0.7978 1.0059 lineto + 0.7434 1.0298 lineto + 0.6875 1.0521 lineto + 0.63 1.0728 lineto + 0.5712 1.0917 lineto + 0.5111 1.1089 lineto + 0.4498 1.1242 lineto + 0.3873 1.1376 lineto + 0.3238 1.149 lineto + 0.2593 1.1585 lineto + 0.194 1.1659 lineto + 0.128 1.1712 lineto + 0.0614 1.1743 lineto + -0.0057 1.1752 lineto + -0.0732 1.1739 lineto + -0.1409 1.1703 lineto + -0.2087 1.1644 lineto + -0.2765 1.1562 lineto + -0.3441 1.1456 lineto + -0.4113 1.1327 lineto + -0.4781 1.1174 lineto + -0.5443 1.0997 lineto + -0.6098 1.0796 lineto + -0.6421 1.0686 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (1.1579208923731617E77, 2.0) +newpath + 3.7622 0.0 moveto + 3.7616 -0.0641 lineto + 3.7596 -0.1336 lineto + 3.7569 -0.1928 lineto + 3.7511 -0.2781 lineto + 3.743 -0.366 lineto + 3.7345 -0.4394 lineto + 3.7222 -0.5273 lineto + 3.7045 -0.6326 lineto + 3.693 -0.6926 lineto + 3.6791 -0.7583 lineto + 3.6624 -0.8299 lineto + 3.6424 -0.9081 lineto + 3.6184 -0.9932 lineto + 3.5896 -1.0858 lineto + 3.5552 -1.1865 lineto + 3.525 -1.2675 lineto + 3.5024 -1.3243 lineto + 3.4778 -1.3833 lineto + 3.4508 -1.4447 lineto + 3.4214 -1.5084 lineto + 3.3892 -1.5746 lineto + 3.354 -1.6431 lineto + 3.3155 -1.7141 lineto + 3.2735 -1.7875 lineto + 3.2277 -1.8633 lineto + 3.1777 -1.9415 lineto + 3.1232 -2.0221 lineto + 3.0638 -2.1049 lineto + 2.999 -2.1899 lineto + 2.9285 -2.2769 lineto + 2.8715 -2.3433 lineto + 2.8315 -2.3881 lineto + 2.7898 -2.4333 lineto + 2.7463 -2.4789 lineto + 2.701 -2.5247 lineto + 2.6538 -2.5708 lineto + 2.6046 -2.6172 lineto + 2.5533 -2.6637 lineto + 2.4999 -2.7103 lineto + 2.4444 -2.757 lineto + 2.3866 -2.8037 lineto + 2.3265 -2.8503 lineto + 2.2639 -2.8967 lineto + 2.1989 -2.9429 lineto + 2.1313 -2.9887 lineto + 2.0611 -3.0342 lineto + 1.9881 -3.0791 lineto + 1.9124 -3.1233 lineto + 1.8339 -3.1668 lineto + 1.7524 -3.2094 lineto + 1.6679 -3.251 lineto + 1.5804 -3.2913 lineto + 1.4897 -3.3304 lineto + 1.3959 -3.368 lineto + 1.2988 -3.4039 lineto + 1.1985 -3.4379 lineto + 1.0948 -3.4699 lineto + 0.9878 -3.4996 lineto + 0.8774 -3.5268 lineto + 0.7636 -3.5514 lineto + 0.7055 -3.5625 lineto + 0.6465 -3.5729 lineto + 0.5866 -3.5825 lineto + 0.5259 -3.5913 lineto + 0.4643 -3.5991 lineto + 0.4019 -3.6061 lineto + 0.3387 -3.6121 lineto + 0.2747 -3.6172 lineto + 0.2098 -3.6212 lineto + 0.1441 -3.6242 lineto + 0.0776 -3.6261 lineto + 0.0103 -3.6268 lineto + -0.0577 -3.6264 lineto + -0.1266 -3.6248 lineto + -0.1961 -3.6219 lineto + -0.2665 -3.6178 lineto + -0.3375 -3.6122 lineto + -0.4092 -3.6053 lineto + -0.4816 -3.597 lineto + -0.5547 -3.5872 lineto + -0.6283 -3.5759 lineto + -0.7026 -3.5631 lineto + -0.7774 -3.5486 lineto + -0.8528 -3.5324 lineto + -0.9287 -3.5146 lineto + -1.0051 -3.495 lineto + -1.0819 -3.4737 lineto + -1.159 -3.4505 lineto + -1.2365 -3.4254 lineto + -1.3144 -3.3983 lineto + -1.3924 -3.3693 lineto + -1.4707 -3.3383 lineto + -1.5491 -3.3051 lineto + -1.6276 -3.2699 lineto + -1.7062 -3.2325 lineto + -1.7846 -3.1928 lineto + -1.863 -3.1509 lineto + -1.9413 -3.1067 lineto + -2.0192 -3.0602 lineto + -2.0969 -3.0113 lineto + -2.1742 -2.9599 lineto + -2.2509 -2.9061 lineto + -2.3271 -2.8498 lineto + -2.4027 -2.7909 lineto + -2.4774 -2.7295 lineto + -2.5514 -2.6654 lineto + -2.6243 -2.5988 lineto + -2.6962 -2.5294 lineto + -2.7669 -2.4574 lineto + -2.8364 -2.3827 lineto + -2.9044 -2.3053 lineto + -2.9709 -2.2252 lineto + -3.0358 -2.1423 lineto + -3.0988 -2.0567 lineto + -3.16 -1.9683 lineto + -3.2191 -1.8772 lineto + -3.276 -1.7834 lineto + -3.3305 -1.6868 lineto + -3.3826 -1.5876 lineto + -3.4321 -1.4857 lineto + -3.4787 -1.3812 lineto + -3.5224 -1.274 lineto + -3.5532 -1.192 lineto + -3.5727 -1.1366 lineto + -3.5914 -1.0805 lineto + -3.6092 -1.0238 lineto + -3.6261 -0.9665 lineto + -3.6422 -0.9087 lineto + -3.6574 -0.8502 lineto + -3.6716 -0.7912 lineto + -3.6849 -0.7316 lineto + -3.6972 -0.6714 lineto + -3.7085 -0.6108 lineto + -3.7188 -0.5495 lineto + -3.728 -0.4878 lineto + -3.7362 -0.4256 lineto + -3.7433 -0.3629 lineto + -3.7493 -0.2997 lineto + -3.7542 -0.236 lineto + -3.758 -0.172 lineto + -3.7605 -0.1075 lineto + -3.7619 -0.0426 lineto + -3.7621 0.0227 lineto + -3.7611 0.0884 lineto + -3.7588 0.1544 lineto + -3.7552 0.2208 lineto + -3.7504 0.2874 lineto + -3.7442 0.3543 lineto + -3.7367 0.4215 lineto + -3.7278 0.489 lineto + -3.7176 0.5566 lineto + -3.706 0.6244 lineto + -3.693 0.6924 lineto + -3.6785 0.7606 lineto + -3.6626 0.8288 lineto + -3.6453 0.8972 lineto + -3.6264 0.9655 lineto + -3.6061 1.0339 lineto + -3.5842 1.1023 lineto + -3.5608 1.1707 lineto + -3.5359 1.239 lineto + -3.5094 1.3072 lineto + -3.4813 1.3752 lineto + -3.4516 1.4431 lineto + -3.4203 1.5107 lineto + -3.3874 1.5781 lineto + -3.3528 1.6453 lineto + -3.3166 1.7121 lineto + -3.2788 1.7785 lineto + -3.2393 1.8445 lineto + -3.1981 1.9101 lineto + -3.1553 1.9753 lineto + -3.1108 2.0399 lineto + -3.0645 2.1039 lineto + -3.0166 2.1673 lineto + -2.967 2.23 lineto + -2.9157 2.2921 lineto + -2.8626 2.3534 lineto + -2.8079 2.4139 lineto + -2.7515 2.4735 lineto + -2.6934 2.5323 lineto + -2.6335 2.5901 lineto + -2.572 2.6469 lineto + -2.5088 2.7027 lineto + -2.444 2.7574 lineto + -2.3774 2.8109 lineto + -2.3092 2.8633 lineto + -2.2394 2.9144 lineto + -2.1679 2.9642 lineto + -2.0948 3.0126 lineto + -2.0201 3.0596 lineto + -1.9439 3.1052 lineto + -1.8661 3.1493 lineto + -1.7868 3.1917 lineto + -1.7059 3.2326 lineto + -1.6236 3.2717 lineto + -1.5398 3.3092 lineto + -1.4547 3.3448 lineto + -1.3681 3.3786 lineto + -1.2802 3.4104 lineto + -1.191 3.4403 lineto + -1.1005 3.4682 lineto + -1.0087 3.4941 lineto + -0.9158 3.5178 lineto + -0.8218 3.5393 lineto + -0.7267 3.5586 lineto + -0.6305 3.5756 lineto + -0.5333 3.5902 lineto + -0.4353 3.6025 lineto + -0.3363 3.6123 lineto + -0.2366 3.6197 lineto + -0.1361 3.6245 lineto + -0.0349 3.6267 lineto + 0.0669 3.6263 lineto + 0.1692 3.6232 lineto + 0.2719 3.6174 lineto + 0.3751 3.6088 lineto + 0.4786 3.5974 lineto + 0.5823 3.5832 lineto + 0.6861 3.566 lineto + 0.79 3.546 lineto + 0.8938 3.523 lineto + 0.9976 3.497 lineto + 1.1011 3.4681 lineto + 1.2043 3.436 lineto + 1.307 3.401 lineto + 1.4093 3.3628 lineto + 1.5109 3.3215 lineto + 1.6118 3.2771 lineto + 1.7119 3.2296 lineto + 1.8111 3.179 lineto + 1.9091 3.1252 lineto + 2.0061 3.0683 lineto + 2.1017 3.0082 lineto + 2.1959 2.945 lineto + 2.2886 2.8786 lineto + 2.3797 2.8091 lineto + 2.469 2.7366 lineto + 2.5564 2.6609 lineto + 2.6418 2.5822 lineto + 2.7251 2.5005 lineto + 2.7861 2.4373 lineto + 2.826 2.3942 lineto + 2.8653 2.3504 lineto + 2.904 2.3058 lineto + 2.942 2.2605 lineto + 2.9794 2.2146 lineto + 3.0162 2.1679 lineto + 3.0522 2.1205 lineto + 3.0876 2.0724 lineto + 3.1222 2.0236 lineto + 3.1561 1.9741 lineto + 3.1892 1.924 lineto + 3.2216 1.8732 lineto + 3.2532 1.8217 lineto + 3.284 1.7696 lineto + 3.314 1.7169 lineto + 3.3431 1.6635 lineto + 3.3714 1.6095 lineto + 3.3989 1.555 lineto + 3.4255 1.4998 lineto + 3.4511 1.444 lineto + 3.4759 1.3877 lineto + 3.4998 1.3308 lineto + 3.5227 1.2734 lineto + 3.5446 1.2154 lineto + 3.5656 1.1569 lineto + 3.5857 1.098 lineto + 3.6047 1.0385 lineto + 3.6227 0.9785 lineto + 3.6397 0.9181 lineto + 3.6556 0.8572 lineto + 3.6705 0.7959 lineto + 3.6843 0.7342 lineto + 3.697 0.6721 lineto + 3.7087 0.6096 lineto + 3.7192 0.5467 lineto + 3.7286 0.4835 lineto + 3.7369 0.4199 lineto + 3.744 0.356 lineto + 3.75 0.2919 lineto + 3.7548 0.2274 lineto + 3.7584 0.1627 lineto + 3.7608 0.0978 lineto + 3.762 0.0327 lineto + 3.7622 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (1.1579208923731617E77, -2.0) +newpath + 3.7622 0.0 moveto + 3.7616 0.0641 lineto + 3.7596 0.1336 lineto + 3.7569 0.1928 lineto + 3.7511 0.2781 lineto + 3.743 0.366 lineto + 3.7345 0.4394 lineto + 3.7222 0.5273 lineto + 3.7045 0.6326 lineto + 3.693 0.6926 lineto + 3.6791 0.7583 lineto + 3.6624 0.8299 lineto + 3.6424 0.9081 lineto + 3.6184 0.9932 lineto + 3.5896 1.0858 lineto + 3.5552 1.1865 lineto + 3.525 1.2675 lineto + 3.5024 1.3243 lineto + 3.4778 1.3833 lineto + 3.4508 1.4447 lineto + 3.4214 1.5084 lineto + 3.3892 1.5746 lineto + 3.354 1.6431 lineto + 3.3155 1.7141 lineto + 3.2735 1.7875 lineto + 3.2277 1.8633 lineto + 3.1777 1.9415 lineto + 3.1232 2.0221 lineto + 3.0638 2.1049 lineto + 2.999 2.1899 lineto + 2.9285 2.2769 lineto + 2.8715 2.3433 lineto + 2.8315 2.3881 lineto + 2.7898 2.4333 lineto + 2.7463 2.4789 lineto + 2.701 2.5247 lineto + 2.6538 2.5708 lineto + 2.6046 2.6172 lineto + 2.5533 2.6637 lineto + 2.4999 2.7103 lineto + 2.4444 2.757 lineto + 2.3866 2.8037 lineto + 2.3265 2.8503 lineto + 2.2639 2.8967 lineto + 2.1989 2.9429 lineto + 2.1313 2.9887 lineto + 2.0611 3.0342 lineto + 1.9881 3.0791 lineto + 1.9124 3.1233 lineto + 1.8339 3.1668 lineto + 1.7524 3.2094 lineto + 1.6679 3.251 lineto + 1.5804 3.2913 lineto + 1.4897 3.3304 lineto + 1.3959 3.368 lineto + 1.2988 3.4039 lineto + 1.1985 3.4379 lineto + 1.0948 3.4699 lineto + 0.9878 3.4996 lineto + 0.8774 3.5268 lineto + 0.7636 3.5514 lineto + 0.7055 3.5625 lineto + 0.6465 3.5729 lineto + 0.5866 3.5825 lineto + 0.5259 3.5913 lineto + 0.4643 3.5991 lineto + 0.4019 3.6061 lineto + 0.3387 3.6121 lineto + 0.2747 3.6172 lineto + 0.2098 3.6212 lineto + 0.1441 3.6242 lineto + 0.0776 3.6261 lineto + 0.0103 3.6268 lineto + -0.0577 3.6264 lineto + -0.1266 3.6248 lineto + -0.1961 3.6219 lineto + -0.2665 3.6178 lineto + -0.3375 3.6122 lineto + -0.4092 3.6053 lineto + -0.4816 3.597 lineto + -0.5547 3.5872 lineto + -0.6283 3.5759 lineto + -0.7026 3.5631 lineto + -0.7774 3.5486 lineto + -0.8528 3.5324 lineto + -0.9287 3.5146 lineto + -1.0051 3.495 lineto + -1.0819 3.4737 lineto + -1.159 3.4505 lineto + -1.2365 3.4254 lineto + -1.3144 3.3983 lineto + -1.3924 3.3693 lineto + -1.4707 3.3383 lineto + -1.5491 3.3051 lineto + -1.6276 3.2699 lineto + -1.7062 3.2325 lineto + -1.7846 3.1928 lineto + -1.863 3.1509 lineto + -1.9413 3.1067 lineto + -2.0192 3.0602 lineto + -2.0969 3.0113 lineto + -2.1742 2.9599 lineto + -2.2509 2.9061 lineto + -2.3271 2.8498 lineto + -2.4027 2.7909 lineto + -2.4774 2.7295 lineto + -2.5514 2.6654 lineto + -2.6243 2.5988 lineto + -2.6962 2.5294 lineto + -2.7669 2.4574 lineto + -2.8364 2.3827 lineto + -2.9044 2.3053 lineto + -2.9709 2.2252 lineto + -3.0358 2.1423 lineto + -3.0988 2.0567 lineto + -3.16 1.9683 lineto + -3.2191 1.8772 lineto + -3.276 1.7834 lineto + -3.3305 1.6868 lineto + -3.3826 1.5876 lineto + -3.4321 1.4857 lineto + -3.4787 1.3812 lineto + -3.5224 1.274 lineto + -3.5532 1.192 lineto + -3.5727 1.1366 lineto + -3.5914 1.0805 lineto + -3.6092 1.0238 lineto + -3.6261 0.9665 lineto + -3.6422 0.9087 lineto + -3.6574 0.8502 lineto + -3.6716 0.7912 lineto + -3.6849 0.7316 lineto + -3.6972 0.6714 lineto + -3.7085 0.6108 lineto + -3.7188 0.5495 lineto + -3.728 0.4878 lineto + -3.7362 0.4256 lineto + -3.7433 0.3629 lineto + -3.7493 0.2997 lineto + -3.7542 0.236 lineto + -3.758 0.172 lineto + -3.7605 0.1075 lineto + -3.7619 0.0426 lineto + -3.7621 -0.0227 lineto + -3.7611 -0.0884 lineto + -3.7588 -0.1544 lineto + -3.7552 -0.2208 lineto + -3.7504 -0.2874 lineto + -3.7442 -0.3543 lineto + -3.7367 -0.4215 lineto + -3.7278 -0.489 lineto + -3.7176 -0.5566 lineto + -3.706 -0.6244 lineto + -3.693 -0.6924 lineto + -3.6785 -0.7606 lineto + -3.6626 -0.8288 lineto + -3.6453 -0.8972 lineto + -3.6264 -0.9655 lineto + -3.6061 -1.0339 lineto + -3.5842 -1.1023 lineto + -3.5608 -1.1707 lineto + -3.5359 -1.239 lineto + -3.5094 -1.3072 lineto + -3.4813 -1.3752 lineto + -3.4516 -1.4431 lineto + -3.4203 -1.5107 lineto + -3.3874 -1.5781 lineto + -3.3528 -1.6453 lineto + -3.3166 -1.7121 lineto + -3.2788 -1.7785 lineto + -3.2393 -1.8445 lineto + -3.1981 -1.9101 lineto + -3.1553 -1.9753 lineto + -3.1108 -2.0399 lineto + -3.0645 -2.1039 lineto + -3.0166 -2.1673 lineto + -2.967 -2.23 lineto + -2.9157 -2.2921 lineto + -2.8626 -2.3534 lineto + -2.8079 -2.4139 lineto + -2.7515 -2.4735 lineto + -2.6934 -2.5323 lineto + -2.6335 -2.5901 lineto + -2.572 -2.6469 lineto + -2.5088 -2.7027 lineto + -2.444 -2.7574 lineto + -2.3774 -2.8109 lineto + -2.3092 -2.8633 lineto + -2.2394 -2.9144 lineto + -2.1679 -2.9642 lineto + -2.0948 -3.0126 lineto + -2.0201 -3.0596 lineto + -1.9439 -3.1052 lineto + -1.8661 -3.1493 lineto + -1.7868 -3.1917 lineto + -1.7059 -3.2326 lineto + -1.6236 -3.2717 lineto + -1.5398 -3.3092 lineto + -1.4547 -3.3448 lineto + -1.3681 -3.3786 lineto + -1.2802 -3.4104 lineto + -1.191 -3.4403 lineto + -1.1005 -3.4682 lineto + -1.0087 -3.4941 lineto + -0.9158 -3.5178 lineto + -0.8218 -3.5393 lineto + -0.7267 -3.5586 lineto + -0.6305 -3.5756 lineto + -0.5333 -3.5902 lineto + -0.4353 -3.6025 lineto + -0.3363 -3.6123 lineto + -0.2366 -3.6197 lineto + -0.1361 -3.6245 lineto + -0.0349 -3.6267 lineto + 0.0669 -3.6263 lineto + 0.1692 -3.6232 lineto + 0.2719 -3.6174 lineto + 0.3751 -3.6088 lineto + 0.4786 -3.5974 lineto + 0.5823 -3.5832 lineto + 0.6861 -3.566 lineto + 0.79 -3.546 lineto + 0.8938 -3.523 lineto + 0.9976 -3.497 lineto + 1.1011 -3.4681 lineto + 1.2043 -3.436 lineto + 1.307 -3.401 lineto + 1.4093 -3.3628 lineto + 1.5109 -3.3215 lineto + 1.6118 -3.2771 lineto + 1.7119 -3.2296 lineto + 1.8111 -3.179 lineto + 1.9091 -3.1252 lineto + 2.0061 -3.0683 lineto + 2.1017 -3.0082 lineto + 2.1959 -2.945 lineto + 2.2886 -2.8786 lineto + 2.3797 -2.8091 lineto + 2.469 -2.7366 lineto + 2.5564 -2.6609 lineto + 2.6418 -2.5822 lineto + 2.7251 -2.5005 lineto + 2.7861 -2.4373 lineto + 2.826 -2.3942 lineto + 2.8653 -2.3504 lineto + 2.904 -2.3058 lineto + 2.942 -2.2605 lineto + 2.9794 -2.2146 lineto + 3.0162 -2.1679 lineto + 3.0522 -2.1205 lineto + 3.0876 -2.0724 lineto + 3.1222 -2.0236 lineto + 3.1561 -1.9741 lineto + 3.1892 -1.924 lineto + 3.2216 -1.8732 lineto + 3.2532 -1.8217 lineto + 3.284 -1.7696 lineto + 3.314 -1.7169 lineto + 3.3431 -1.6635 lineto + 3.3714 -1.6095 lineto + 3.3989 -1.555 lineto + 3.4255 -1.4998 lineto + 3.4511 -1.444 lineto + 3.4759 -1.3877 lineto + 3.4998 -1.3308 lineto + 3.5227 -1.2734 lineto + 3.5446 -1.2154 lineto + 3.5656 -1.1569 lineto + 3.5857 -1.098 lineto + 3.6047 -1.0385 lineto + 3.6227 -0.9785 lineto + 3.6397 -0.9181 lineto + 3.6556 -0.8572 lineto + 3.6705 -0.7959 lineto + 3.6843 -0.7342 lineto + 3.697 -0.6721 lineto + 3.7087 -0.6096 lineto + 3.7192 -0.5467 lineto + 3.7286 -0.4835 lineto + 3.7369 -0.4199 lineto + 3.744 -0.356 lineto + 3.75 -0.2919 lineto + 3.7548 -0.2274 lineto + 3.7584 -0.1627 lineto + 3.7608 -0.0978 lineto + 3.762 -0.0327 lineto + 3.7622 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (1.1579208923731617E77, 3.0) +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (1.1579208923731617E77, -3.0) +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (0.0, 0.0) +newpath + 0.8776 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (-1.0, 0.0) +newpath + 0.8776 0.0 moveto + 0.5403 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.0, 0.0) +newpath + -0.4161 0.0 moveto + 0.5403 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.1579208923731617E77, 0.0) +newpath + -0.4161 0.0 moveto + -0.9648 0.0 lineto + 0.998 0.0 lineto + -0.4161 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (0.0, 1.0) +newpath + -0.6421 1.0686 moveto + -0.5782 1.0896 lineto + -0.5147 1.1079 lineto + -0.4515 1.1238 lineto + -0.389 1.1372 lineto + -0.3272 1.1485 lineto + -0.2663 1.1576 lineto + -0.2064 1.1646 lineto + -0.1474 1.1698 lineto + -0.033 1.1749 lineto + 0.0765 1.1738 lineto + 0.1807 1.1671 lineto + 0.2796 1.1557 lineto + 0.3729 1.1404 lineto + 0.4608 1.1216 lineto + 0.5432 1.1 lineto + 0.6204 1.076 lineto + 0.6924 1.0502 lineto + 0.7595 1.023 lineto + 0.8219 0.9946 lineto + 0.8798 0.9655 lineto + 0.9334 0.9358 lineto + 1.029 0.8758 lineto + 1.1104 0.816 lineto + 1.1796 0.7576 lineto + 1.2381 0.7014 lineto + 1.2875 0.6478 lineto + 1.3291 0.597 lineto + 1.3794 0.5267 lineto + 1.4288 0.4438 lineto + 1.4634 0.3727 lineto + 1.4876 0.3122 lineto + 1.5163 0.2181 lineto + 1.5341 0.1267 lineto + 1.541 0.0612 lineto + 1.5431 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (-1.1579208923731617E77, 1.0) +newpath + -0.6421 1.0686 moveto + -0.7045 1.0456 lineto + -0.7668 1.0198 lineto + -0.8288 0.9913 lineto + -0.8903 0.9599 lineto + -0.951 0.9255 lineto + -1.0108 0.888 lineto + -1.0692 0.8473 lineto + -1.1261 0.8035 lineto + -1.181 0.7563 lineto + -1.2337 0.7059 lineto + -1.2837 0.6521 lineto + -1.3306 0.5951 lineto + -1.3741 0.5347 lineto + -1.4137 0.471 lineto + -1.4489 0.4042 lineto + -1.4793 0.3343 lineto + -1.5044 0.2615 lineto + -1.5236 0.186 lineto + -1.5366 0.1079 lineto + -1.5427 0.0276 lineto + -1.5414 -0.0547 lineto + -1.5323 -0.1385 lineto + -1.5149 -0.2235 lineto + -1.4887 -0.3091 lineto + -1.4534 -0.3949 lineto + -1.4084 -0.4802 lineto + -1.3535 -0.5643 lineto + -1.2885 -0.6467 lineto + -1.213 -0.7264 lineto + -1.1272 -0.8026 lineto + -1.0803 -0.8391 lineto + -1.0309 -0.8745 lineto + -0.9788 -0.9085 lineto + -0.9243 -0.9411 lineto + -0.8672 -0.9721 lineto + -0.8076 -1.0014 lineto + -0.7457 -1.0289 lineto + -0.6814 -1.0544 lineto + -0.6149 -1.0779 lineto + -0.5463 -1.0991 lineto + -0.4755 -1.118 lineto + -0.4029 -1.1344 lineto + -0.3285 -1.1483 lineto + -0.2524 -1.1594 lineto + -0.1748 -1.1676 lineto + -0.0959 -1.1729 lineto + -0.0158 -1.1751 lineto + 0.0652 -1.1742 lineto + 0.1469 -1.1699 lineto + 0.2291 -1.1622 lineto + 0.3115 -1.151 lineto + 0.3939 -1.1363 lineto + 0.4761 -1.1179 lineto + 0.5576 -1.0958 lineto + 0.6383 -1.0699 lineto + 0.7178 -1.0403 lineto + 0.7958 -1.0069 lineto + 0.872 -0.9696 lineto + 0.9459 -0.9285 lineto + 1.0173 -0.8837 lineto + 1.0857 -0.8351 lineto + 1.1509 -0.7828 lineto + 1.2124 -0.727 lineto + 1.2698 -0.6677 lineto + 1.3228 -0.6051 lineto + 1.371 -0.5393 lineto + 1.414 -0.4706 lineto + 1.4514 -0.399 lineto + 1.4829 -0.325 lineto + 1.5082 -0.2486 lineto + 1.5268 -0.1702 lineto + 1.5385 -0.0902 lineto + 1.543 -0.0089 lineto + 1.5401 0.0734 lineto + 1.5294 0.1562 lineto + 1.5108 0.2392 lineto + 1.4841 0.3218 lineto + 1.4492 0.4037 lineto + 1.406 0.4843 lineto + 1.3545 0.563 lineto + 1.2947 0.6394 lineto + 1.2267 0.713 lineto + 1.1506 0.7831 lineto + 1.0666 0.8492 lineto + 0.9751 0.9108 lineto + 0.8764 0.9673 lineto + 0.7978 1.0059 lineto + 0.7434 1.0298 lineto + 0.6875 1.0521 lineto + 0.63 1.0728 lineto + 0.5712 1.0917 lineto + 0.5111 1.1089 lineto + 0.4498 1.1242 lineto + 0.3873 1.1376 lineto + 0.3238 1.149 lineto + 0.2593 1.1585 lineto + 0.194 1.1659 lineto + 0.128 1.1712 lineto + 0.0614 1.1743 lineto + -0.0057 1.1752 lineto + -0.0732 1.1739 lineto + -0.1409 1.1703 lineto + -0.2087 1.1644 lineto + -0.2765 1.1562 lineto + -0.3441 1.1456 lineto + -0.4113 1.1327 lineto + -0.4781 1.1174 lineto + -0.5443 1.0997 lineto + -0.6098 1.0796 lineto + -0.6421 1.0686 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (0.0, -1.0) +newpath + -0.6421 -1.0686 moveto + -0.5782 -1.0896 lineto + -0.5147 -1.1079 lineto + -0.4515 -1.1238 lineto + -0.389 -1.1372 lineto + -0.3272 -1.1485 lineto + -0.2663 -1.1576 lineto + -0.2064 -1.1646 lineto + -0.1474 -1.1698 lineto + -0.033 -1.1749 lineto + 0.0765 -1.1738 lineto + 0.1807 -1.1671 lineto + 0.2796 -1.1557 lineto + 0.3729 -1.1404 lineto + 0.4608 -1.1216 lineto + 0.5432 -1.1 lineto + 0.6204 -1.076 lineto + 0.6924 -1.0502 lineto + 0.7595 -1.023 lineto + 0.8219 -0.9946 lineto + 0.8798 -0.9655 lineto + 0.9334 -0.9358 lineto + 1.029 -0.8758 lineto + 1.1104 -0.816 lineto + 1.1796 -0.7576 lineto + 1.2381 -0.7014 lineto + 1.2875 -0.6478 lineto + 1.3291 -0.597 lineto + 1.3794 -0.5267 lineto + 1.4288 -0.4438 lineto + 1.4634 -0.3727 lineto + 1.4876 -0.3122 lineto + 1.5163 -0.2181 lineto + 1.5341 -0.1267 lineto + 1.541 -0.0612 lineto + 1.5431 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (-1.1579208923731617E77, -1.0) +newpath + -0.6421 -1.0686 moveto + -0.7045 -1.0456 lineto + -0.7668 -1.0198 lineto + -0.8288 -0.9913 lineto + -0.8903 -0.9599 lineto + -0.951 -0.9255 lineto + -1.0108 -0.888 lineto + -1.0692 -0.8473 lineto + -1.1261 -0.8035 lineto + -1.181 -0.7563 lineto + -1.2337 -0.7059 lineto + -1.2837 -0.6521 lineto + -1.3306 -0.5951 lineto + -1.3741 -0.5347 lineto + -1.4137 -0.471 lineto + -1.4489 -0.4042 lineto + -1.4793 -0.3343 lineto + -1.5044 -0.2615 lineto + -1.5236 -0.186 lineto + -1.5366 -0.1079 lineto + -1.5427 -0.0276 lineto + -1.5414 0.0547 lineto + -1.5323 0.1385 lineto + -1.5149 0.2235 lineto + -1.4887 0.3091 lineto + -1.4534 0.3949 lineto + -1.4084 0.4802 lineto + -1.3535 0.5643 lineto + -1.2885 0.6467 lineto + -1.213 0.7264 lineto + -1.1272 0.8026 lineto + -1.0803 0.8391 lineto + -1.0309 0.8745 lineto + -0.9788 0.9085 lineto + -0.9243 0.9411 lineto + -0.8672 0.9721 lineto + -0.8076 1.0014 lineto + -0.7457 1.0289 lineto + -0.6814 1.0544 lineto + -0.6149 1.0779 lineto + -0.5463 1.0991 lineto + -0.4755 1.118 lineto + -0.4029 1.1344 lineto + -0.3285 1.1483 lineto + -0.2524 1.1594 lineto + -0.1748 1.1676 lineto + -0.0959 1.1729 lineto + -0.0158 1.1751 lineto + 0.0652 1.1742 lineto + 0.1469 1.1699 lineto + 0.2291 1.1622 lineto + 0.3115 1.151 lineto + 0.3939 1.1363 lineto + 0.4761 1.1179 lineto + 0.5576 1.0958 lineto + 0.6383 1.0699 lineto + 0.7178 1.0403 lineto + 0.7958 1.0069 lineto + 0.872 0.9696 lineto + 0.9459 0.9285 lineto + 1.0173 0.8837 lineto + 1.0857 0.8351 lineto + 1.1509 0.7828 lineto + 1.2124 0.727 lineto + 1.2698 0.6677 lineto + 1.3228 0.6051 lineto + 1.371 0.5393 lineto + 1.414 0.4706 lineto + 1.4514 0.399 lineto + 1.4829 0.325 lineto + 1.5082 0.2486 lineto + 1.5268 0.1702 lineto + 1.5385 0.0902 lineto + 1.543 0.0089 lineto + 1.5401 -0.0734 lineto + 1.5294 -0.1562 lineto + 1.5108 -0.2392 lineto + 1.4841 -0.3218 lineto + 1.4492 -0.4037 lineto + 1.406 -0.4843 lineto + 1.3545 -0.563 lineto + 1.2947 -0.6394 lineto + 1.2267 -0.713 lineto + 1.1506 -0.7831 lineto + 1.0666 -0.8492 lineto + 0.9751 -0.9108 lineto + 0.8764 -0.9673 lineto + 0.7978 -1.0059 lineto + 0.7434 -1.0298 lineto + 0.6875 -1.0521 lineto + 0.63 -1.0728 lineto + 0.5712 -1.0917 lineto + 0.5111 -1.1089 lineto + 0.4498 -1.1242 lineto + 0.3873 -1.1376 lineto + 0.3238 -1.149 lineto + 0.2593 -1.1585 lineto + 0.194 -1.1659 lineto + 0.128 -1.1712 lineto + 0.0614 -1.1743 lineto + -0.0057 -1.1752 lineto + -0.0732 -1.1739 lineto + -0.1409 -1.1703 lineto + -0.2087 -1.1644 lineto + -0.2765 -1.1562 lineto + -0.3441 -1.1456 lineto + -0.4113 -1.1327 lineto + -0.4781 -1.1174 lineto + -0.5443 -1.0997 lineto + -0.6098 -1.0796 lineto + -0.6421 -1.0686 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (-1.1579208923731617E77, 2.0) +newpath + 3.7622 0.0 moveto + 3.7616 0.0641 lineto + 3.7596 0.1336 lineto + 3.7569 0.1928 lineto + 3.7511 0.2781 lineto + 3.743 0.366 lineto + 3.7345 0.4394 lineto + 3.7222 0.5273 lineto + 3.7045 0.6326 lineto + 3.693 0.6926 lineto + 3.6791 0.7583 lineto + 3.6624 0.8299 lineto + 3.6424 0.9081 lineto + 3.6184 0.9932 lineto + 3.5896 1.0858 lineto + 3.5552 1.1865 lineto + 3.525 1.2675 lineto + 3.5024 1.3243 lineto + 3.4778 1.3833 lineto + 3.4508 1.4447 lineto + 3.4214 1.5084 lineto + 3.3892 1.5746 lineto + 3.354 1.6431 lineto + 3.3155 1.7141 lineto + 3.2735 1.7875 lineto + 3.2277 1.8633 lineto + 3.1777 1.9415 lineto + 3.1232 2.0221 lineto + 3.0638 2.1049 lineto + 2.999 2.1899 lineto + 2.9285 2.2769 lineto + 2.8715 2.3433 lineto + 2.8315 2.3881 lineto + 2.7898 2.4333 lineto + 2.7463 2.4789 lineto + 2.701 2.5247 lineto + 2.6538 2.5708 lineto + 2.6046 2.6172 lineto + 2.5533 2.6637 lineto + 2.4999 2.7103 lineto + 2.4444 2.757 lineto + 2.3866 2.8037 lineto + 2.3265 2.8503 lineto + 2.2639 2.8967 lineto + 2.1989 2.9429 lineto + 2.1313 2.9887 lineto + 2.0611 3.0342 lineto + 1.9881 3.0791 lineto + 1.9124 3.1233 lineto + 1.8339 3.1668 lineto + 1.7524 3.2094 lineto + 1.6679 3.251 lineto + 1.5804 3.2913 lineto + 1.4897 3.3304 lineto + 1.3959 3.368 lineto + 1.2988 3.4039 lineto + 1.1985 3.4379 lineto + 1.0948 3.4699 lineto + 0.9878 3.4996 lineto + 0.8774 3.5268 lineto + 0.7636 3.5514 lineto + 0.7055 3.5625 lineto + 0.6465 3.5729 lineto + 0.5866 3.5825 lineto + 0.5259 3.5913 lineto + 0.4643 3.5991 lineto + 0.4019 3.6061 lineto + 0.3387 3.6121 lineto + 0.2747 3.6172 lineto + 0.2098 3.6212 lineto + 0.1441 3.6242 lineto + 0.0776 3.6261 lineto + 0.0103 3.6268 lineto + -0.0577 3.6264 lineto + -0.1266 3.6248 lineto + -0.1961 3.6219 lineto + -0.2665 3.6178 lineto + -0.3375 3.6122 lineto + -0.4092 3.6053 lineto + -0.4816 3.597 lineto + -0.5547 3.5872 lineto + -0.6283 3.5759 lineto + -0.7026 3.5631 lineto + -0.7774 3.5486 lineto + -0.8528 3.5324 lineto + -0.9287 3.5146 lineto + -1.0051 3.495 lineto + -1.0819 3.4737 lineto + -1.159 3.4505 lineto + -1.2365 3.4254 lineto + -1.3144 3.3983 lineto + -1.3924 3.3693 lineto + -1.4707 3.3383 lineto + -1.5491 3.3051 lineto + -1.6276 3.2699 lineto + -1.7062 3.2325 lineto + -1.7846 3.1928 lineto + -1.863 3.1509 lineto + -1.9413 3.1067 lineto + -2.0192 3.0602 lineto + -2.0969 3.0113 lineto + -2.1742 2.9599 lineto + -2.2509 2.9061 lineto + -2.3271 2.8498 lineto + -2.4027 2.7909 lineto + -2.4774 2.7295 lineto + -2.5514 2.6654 lineto + -2.6243 2.5988 lineto + -2.6962 2.5294 lineto + -2.7669 2.4574 lineto + -2.8364 2.3827 lineto + -2.9044 2.3053 lineto + -2.9709 2.2252 lineto + -3.0358 2.1423 lineto + -3.0988 2.0567 lineto + -3.16 1.9683 lineto + -3.2191 1.8772 lineto + -3.276 1.7834 lineto + -3.3305 1.6868 lineto + -3.3826 1.5876 lineto + -3.4321 1.4857 lineto + -3.4787 1.3812 lineto + -3.5224 1.274 lineto + -3.5532 1.192 lineto + -3.5727 1.1366 lineto + -3.5914 1.0805 lineto + -3.6092 1.0238 lineto + -3.6261 0.9665 lineto + -3.6422 0.9087 lineto + -3.6574 0.8502 lineto + -3.6716 0.7912 lineto + -3.6849 0.7316 lineto + -3.6972 0.6714 lineto + -3.7085 0.6108 lineto + -3.7188 0.5495 lineto + -3.728 0.4878 lineto + -3.7362 0.4256 lineto + -3.7433 0.3629 lineto + -3.7493 0.2997 lineto + -3.7542 0.236 lineto + -3.758 0.172 lineto + -3.7605 0.1075 lineto + -3.7619 0.0426 lineto + -3.7621 -0.0227 lineto + -3.7611 -0.0884 lineto + -3.7588 -0.1544 lineto + -3.7552 -0.2208 lineto + -3.7504 -0.2874 lineto + -3.7442 -0.3543 lineto + -3.7367 -0.4215 lineto + -3.7278 -0.489 lineto + -3.7176 -0.5566 lineto + -3.706 -0.6244 lineto + -3.693 -0.6924 lineto + -3.6785 -0.7606 lineto + -3.6626 -0.8288 lineto + -3.6453 -0.8972 lineto + -3.6264 -0.9655 lineto + -3.6061 -1.0339 lineto + -3.5842 -1.1023 lineto + -3.5608 -1.1707 lineto + -3.5359 -1.239 lineto + -3.5094 -1.3072 lineto + -3.4813 -1.3752 lineto + -3.4516 -1.4431 lineto + -3.4203 -1.5107 lineto + -3.3874 -1.5781 lineto + -3.3528 -1.6453 lineto + -3.3166 -1.7121 lineto + -3.2788 -1.7785 lineto + -3.2393 -1.8445 lineto + -3.1981 -1.9101 lineto + -3.1553 -1.9753 lineto + -3.1108 -2.0399 lineto + -3.0645 -2.1039 lineto + -3.0166 -2.1673 lineto + -2.967 -2.23 lineto + -2.9157 -2.2921 lineto + -2.8626 -2.3534 lineto + -2.8079 -2.4139 lineto + -2.7515 -2.4735 lineto + -2.6934 -2.5323 lineto + -2.6335 -2.5901 lineto + -2.572 -2.6469 lineto + -2.5088 -2.7027 lineto + -2.444 -2.7574 lineto + -2.3774 -2.8109 lineto + -2.3092 -2.8633 lineto + -2.2394 -2.9144 lineto + -2.1679 -2.9642 lineto + -2.0948 -3.0126 lineto + -2.0201 -3.0596 lineto + -1.9439 -3.1052 lineto + -1.8661 -3.1493 lineto + -1.7868 -3.1917 lineto + -1.7059 -3.2326 lineto + -1.6236 -3.2717 lineto + -1.5398 -3.3092 lineto + -1.4547 -3.3448 lineto + -1.3681 -3.3786 lineto + -1.2802 -3.4104 lineto + -1.191 -3.4403 lineto + -1.1005 -3.4682 lineto + -1.0087 -3.4941 lineto + -0.9158 -3.5178 lineto + -0.8218 -3.5393 lineto + -0.7267 -3.5586 lineto + -0.6305 -3.5756 lineto + -0.5333 -3.5902 lineto + -0.4353 -3.6025 lineto + -0.3363 -3.6123 lineto + -0.2366 -3.6197 lineto + -0.1361 -3.6245 lineto + -0.0349 -3.6267 lineto + 0.0669 -3.6263 lineto + 0.1692 -3.6232 lineto + 0.2719 -3.6174 lineto + 0.3751 -3.6088 lineto + 0.4786 -3.5974 lineto + 0.5823 -3.5832 lineto + 0.6861 -3.566 lineto + 0.79 -3.546 lineto + 0.8938 -3.523 lineto + 0.9976 -3.497 lineto + 1.1011 -3.4681 lineto + 1.2043 -3.436 lineto + 1.307 -3.401 lineto + 1.4093 -3.3628 lineto + 1.5109 -3.3215 lineto + 1.6118 -3.2771 lineto + 1.7119 -3.2296 lineto + 1.8111 -3.179 lineto + 1.9091 -3.1252 lineto + 2.0061 -3.0683 lineto + 2.1017 -3.0082 lineto + 2.1959 -2.945 lineto + 2.2886 -2.8786 lineto + 2.3797 -2.8091 lineto + 2.469 -2.7366 lineto + 2.5564 -2.6609 lineto + 2.6418 -2.5822 lineto + 2.7251 -2.5005 lineto + 2.7861 -2.4373 lineto + 2.826 -2.3942 lineto + 2.8653 -2.3504 lineto + 2.904 -2.3058 lineto + 2.942 -2.2605 lineto + 2.9794 -2.2146 lineto + 3.0162 -2.1679 lineto + 3.0522 -2.1205 lineto + 3.0876 -2.0724 lineto + 3.1222 -2.0236 lineto + 3.1561 -1.9741 lineto + 3.1892 -1.924 lineto + 3.2216 -1.8732 lineto + 3.2532 -1.8217 lineto + 3.284 -1.7696 lineto + 3.314 -1.7169 lineto + 3.3431 -1.6635 lineto + 3.3714 -1.6095 lineto + 3.3989 -1.555 lineto + 3.4255 -1.4998 lineto + 3.4511 -1.444 lineto + 3.4759 -1.3877 lineto + 3.4998 -1.3308 lineto + 3.5227 -1.2734 lineto + 3.5446 -1.2154 lineto + 3.5656 -1.1569 lineto + 3.5857 -1.098 lineto + 3.6047 -1.0385 lineto + 3.6227 -0.9785 lineto + 3.6397 -0.9181 lineto + 3.6556 -0.8572 lineto + 3.6705 -0.7959 lineto + 3.6843 -0.7342 lineto + 3.697 -0.6721 lineto + 3.7087 -0.6096 lineto + 3.7192 -0.5467 lineto + 3.7286 -0.4835 lineto + 3.7369 -0.4199 lineto + 3.744 -0.356 lineto + 3.75 -0.2919 lineto + 3.7548 -0.2274 lineto + 3.7584 -0.1627 lineto + 3.7608 -0.0978 lineto + 3.762 -0.0327 lineto + 3.7622 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (-1.1579208923731617E77, -2.0) +newpath + 3.7622 0.0 moveto + 3.7616 -0.0641 lineto + 3.7596 -0.1336 lineto + 3.7569 -0.1928 lineto + 3.7511 -0.2781 lineto + 3.743 -0.366 lineto + 3.7345 -0.4394 lineto + 3.7222 -0.5273 lineto + 3.7045 -0.6326 lineto + 3.693 -0.6926 lineto + 3.6791 -0.7583 lineto + 3.6624 -0.8299 lineto + 3.6424 -0.9081 lineto + 3.6184 -0.9932 lineto + 3.5896 -1.0858 lineto + 3.5552 -1.1865 lineto + 3.525 -1.2675 lineto + 3.5024 -1.3243 lineto + 3.4778 -1.3833 lineto + 3.4508 -1.4447 lineto + 3.4214 -1.5084 lineto + 3.3892 -1.5746 lineto + 3.354 -1.6431 lineto + 3.3155 -1.7141 lineto + 3.2735 -1.7875 lineto + 3.2277 -1.8633 lineto + 3.1777 -1.9415 lineto + 3.1232 -2.0221 lineto + 3.0638 -2.1049 lineto + 2.999 -2.1899 lineto + 2.9285 -2.2769 lineto + 2.8715 -2.3433 lineto + 2.8315 -2.3881 lineto + 2.7898 -2.4333 lineto + 2.7463 -2.4789 lineto + 2.701 -2.5247 lineto + 2.6538 -2.5708 lineto + 2.6046 -2.6172 lineto + 2.5533 -2.6637 lineto + 2.4999 -2.7103 lineto + 2.4444 -2.757 lineto + 2.3866 -2.8037 lineto + 2.3265 -2.8503 lineto + 2.2639 -2.8967 lineto + 2.1989 -2.9429 lineto + 2.1313 -2.9887 lineto + 2.0611 -3.0342 lineto + 1.9881 -3.0791 lineto + 1.9124 -3.1233 lineto + 1.8339 -3.1668 lineto + 1.7524 -3.2094 lineto + 1.6679 -3.251 lineto + 1.5804 -3.2913 lineto + 1.4897 -3.3304 lineto + 1.3959 -3.368 lineto + 1.2988 -3.4039 lineto + 1.1985 -3.4379 lineto + 1.0948 -3.4699 lineto + 0.9878 -3.4996 lineto + 0.8774 -3.5268 lineto + 0.7636 -3.5514 lineto + 0.7055 -3.5625 lineto + 0.6465 -3.5729 lineto + 0.5866 -3.5825 lineto + 0.5259 -3.5913 lineto + 0.4643 -3.5991 lineto + 0.4019 -3.6061 lineto + 0.3387 -3.6121 lineto + 0.2747 -3.6172 lineto + 0.2098 -3.6212 lineto + 0.1441 -3.6242 lineto + 0.0776 -3.6261 lineto + 0.0103 -3.6268 lineto + -0.0577 -3.6264 lineto + -0.1266 -3.6248 lineto + -0.1961 -3.6219 lineto + -0.2665 -3.6178 lineto + -0.3375 -3.6122 lineto + -0.4092 -3.6053 lineto + -0.4816 -3.597 lineto + -0.5547 -3.5872 lineto + -0.6283 -3.5759 lineto + -0.7026 -3.5631 lineto + -0.7774 -3.5486 lineto + -0.8528 -3.5324 lineto + -0.9287 -3.5146 lineto + -1.0051 -3.495 lineto + -1.0819 -3.4737 lineto + -1.159 -3.4505 lineto + -1.2365 -3.4254 lineto + -1.3144 -3.3983 lineto + -1.3924 -3.3693 lineto + -1.4707 -3.3383 lineto + -1.5491 -3.3051 lineto + -1.6276 -3.2699 lineto + -1.7062 -3.2325 lineto + -1.7846 -3.1928 lineto + -1.863 -3.1509 lineto + -1.9413 -3.1067 lineto + -2.0192 -3.0602 lineto + -2.0969 -3.0113 lineto + -2.1742 -2.9599 lineto + -2.2509 -2.9061 lineto + -2.3271 -2.8498 lineto + -2.4027 -2.7909 lineto + -2.4774 -2.7295 lineto + -2.5514 -2.6654 lineto + -2.6243 -2.5988 lineto + -2.6962 -2.5294 lineto + -2.7669 -2.4574 lineto + -2.8364 -2.3827 lineto + -2.9044 -2.3053 lineto + -2.9709 -2.2252 lineto + -3.0358 -2.1423 lineto + -3.0988 -2.0567 lineto + -3.16 -1.9683 lineto + -3.2191 -1.8772 lineto + -3.276 -1.7834 lineto + -3.3305 -1.6868 lineto + -3.3826 -1.5876 lineto + -3.4321 -1.4857 lineto + -3.4787 -1.3812 lineto + -3.5224 -1.274 lineto + -3.5532 -1.192 lineto + -3.5727 -1.1366 lineto + -3.5914 -1.0805 lineto + -3.6092 -1.0238 lineto + -3.6261 -0.9665 lineto + -3.6422 -0.9087 lineto + -3.6574 -0.8502 lineto + -3.6716 -0.7912 lineto + -3.6849 -0.7316 lineto + -3.6972 -0.6714 lineto + -3.7085 -0.6108 lineto + -3.7188 -0.5495 lineto + -3.728 -0.4878 lineto + -3.7362 -0.4256 lineto + -3.7433 -0.3629 lineto + -3.7493 -0.2997 lineto + -3.7542 -0.236 lineto + -3.758 -0.172 lineto + -3.7605 -0.1075 lineto + -3.7619 -0.0426 lineto + -3.7621 0.0227 lineto + -3.7611 0.0884 lineto + -3.7588 0.1544 lineto + -3.7552 0.2208 lineto + -3.7504 0.2874 lineto + -3.7442 0.3543 lineto + -3.7367 0.4215 lineto + -3.7278 0.489 lineto + -3.7176 0.5566 lineto + -3.706 0.6244 lineto + -3.693 0.6924 lineto + -3.6785 0.7606 lineto + -3.6626 0.8288 lineto + -3.6453 0.8972 lineto + -3.6264 0.9655 lineto + -3.6061 1.0339 lineto + -3.5842 1.1023 lineto + -3.5608 1.1707 lineto + -3.5359 1.239 lineto + -3.5094 1.3072 lineto + -3.4813 1.3752 lineto + -3.4516 1.4431 lineto + -3.4203 1.5107 lineto + -3.3874 1.5781 lineto + -3.3528 1.6453 lineto + -3.3166 1.7121 lineto + -3.2788 1.7785 lineto + -3.2393 1.8445 lineto + -3.1981 1.9101 lineto + -3.1553 1.9753 lineto + -3.1108 2.0399 lineto + -3.0645 2.1039 lineto + -3.0166 2.1673 lineto + -2.967 2.23 lineto + -2.9157 2.2921 lineto + -2.8626 2.3534 lineto + -2.8079 2.4139 lineto + -2.7515 2.4735 lineto + -2.6934 2.5323 lineto + -2.6335 2.5901 lineto + -2.572 2.6469 lineto + -2.5088 2.7027 lineto + -2.444 2.7574 lineto + -2.3774 2.8109 lineto + -2.3092 2.8633 lineto + -2.2394 2.9144 lineto + -2.1679 2.9642 lineto + -2.0948 3.0126 lineto + -2.0201 3.0596 lineto + -1.9439 3.1052 lineto + -1.8661 3.1493 lineto + -1.7868 3.1917 lineto + -1.7059 3.2326 lineto + -1.6236 3.2717 lineto + -1.5398 3.3092 lineto + -1.4547 3.3448 lineto + -1.3681 3.3786 lineto + -1.2802 3.4104 lineto + -1.191 3.4403 lineto + -1.1005 3.4682 lineto + -1.0087 3.4941 lineto + -0.9158 3.5178 lineto + -0.8218 3.5393 lineto + -0.7267 3.5586 lineto + -0.6305 3.5756 lineto + -0.5333 3.5902 lineto + -0.4353 3.6025 lineto + -0.3363 3.6123 lineto + -0.2366 3.6197 lineto + -0.1361 3.6245 lineto + -0.0349 3.6267 lineto + 0.0669 3.6263 lineto + 0.1692 3.6232 lineto + 0.2719 3.6174 lineto + 0.3751 3.6088 lineto + 0.4786 3.5974 lineto + 0.5823 3.5832 lineto + 0.6861 3.566 lineto + 0.79 3.546 lineto + 0.8938 3.523 lineto + 0.9976 3.497 lineto + 1.1011 3.4681 lineto + 1.2043 3.436 lineto + 1.307 3.401 lineto + 1.4093 3.3628 lineto + 1.5109 3.3215 lineto + 1.6118 3.2771 lineto + 1.7119 3.2296 lineto + 1.8111 3.179 lineto + 1.9091 3.1252 lineto + 2.0061 3.0683 lineto + 2.1017 3.0082 lineto + 2.1959 2.945 lineto + 2.2886 2.8786 lineto + 2.3797 2.8091 lineto + 2.469 2.7366 lineto + 2.5564 2.6609 lineto + 2.6418 2.5822 lineto + 2.7251 2.5005 lineto + 2.7861 2.4373 lineto + 2.826 2.3942 lineto + 2.8653 2.3504 lineto + 2.904 2.3058 lineto + 2.942 2.2605 lineto + 2.9794 2.2146 lineto + 3.0162 2.1679 lineto + 3.0522 2.1205 lineto + 3.0876 2.0724 lineto + 3.1222 2.0236 lineto + 3.1561 1.9741 lineto + 3.1892 1.924 lineto + 3.2216 1.8732 lineto + 3.2532 1.8217 lineto + 3.284 1.7696 lineto + 3.314 1.7169 lineto + 3.3431 1.6635 lineto + 3.3714 1.6095 lineto + 3.3989 1.555 lineto + 3.4255 1.4998 lineto + 3.4511 1.444 lineto + 3.4759 1.3877 lineto + 3.4998 1.3308 lineto + 3.5227 1.2734 lineto + 3.5446 1.2154 lineto + 3.5656 1.1569 lineto + 3.5857 1.098 lineto + 3.6047 1.0385 lineto + 3.6227 0.9785 lineto + 3.6397 0.9181 lineto + 3.6556 0.8572 lineto + 3.6705 0.7959 lineto + 3.6843 0.7342 lineto + 3.697 0.6721 lineto + 3.7087 0.6096 lineto + 3.7192 0.5467 lineto + 3.7286 0.4835 lineto + 3.7369 0.4199 lineto + 3.744 0.356 lineto + 3.75 0.2919 lineto + 3.7548 0.2274 lineto + 3.7584 0.1627 lineto + 3.7608 0.0978 lineto + 3.762 0.0327 lineto + 3.7622 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (-1.1579208923731617E77, 3.0) +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (-1.1579208923731617E77, -3.0) +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 0.0) +newpath + 1.1276 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 1.0) +newpath + 1.1276 0.0 moveto + 1.5431 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.0) +newpath + 3.7622 0.0 moveto + 1.5431 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.1579208923731617E77) +newpath + 3.7622 0.0 moveto + 6.3673 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 0.0) +newpath + 2.0327 -3.0519 moveto + 1.9888 -2.9809 lineto + 1.9464 -2.9122 lineto + 1.9054 -2.8457 lineto + 1.8659 -2.7814 lineto + 1.8276 -2.7191 lineto + 1.7906 -2.6587 lineto + 1.7549 -2.6003 lineto + 1.7203 -2.5436 lineto + 1.6869 -2.4887 lineto + 1.6545 -2.4355 lineto + 1.6232 -2.3839 lineto + 1.5636 -2.2852 lineto + 1.5077 -2.1922 lineto + 1.4553 -2.1045 lineto + 1.4061 -2.0218 lineto + 1.3599 -1.9436 lineto + 1.3164 -1.8696 lineto + 1.2756 -1.7996 lineto + 1.2371 -1.7333 lineto + 1.2009 -1.6703 lineto + 1.1668 -1.6106 lineto + 1.1346 -1.5539 lineto + 1.1043 -1.4999 lineto + 1.0619 -1.4238 lineto + 1.0108 -1.3305 lineto + 0.9652 -1.2456 lineto + 0.9243 -1.1679 lineto + 0.8876 -1.0968 lineto + 0.8547 -1.0315 lineto + 0.8251 -0.9713 lineto + 0.7985 -0.9157 lineto + 0.7634 -0.8399 lineto + 0.7242 -0.7511 lineto + 0.6922 -0.6739 lineto + 0.6659 -0.6063 lineto + 0.6443 -0.5468 lineto + 0.6119 -0.4472 lineto + 0.5897 -0.3678 lineto + 0.5744 -0.3037 lineto + 0.5599 -0.229 lineto + 0.5497 -0.158 lineto + 0.5435 -0.0911 lineto + 0.5405 -0.0211 lineto + 0.5403 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 1.1579208923731617E77) +newpath + 2.0327 -3.0519 moveto + 2.0759 -3.1216 lineto + 2.1205 -3.1935 lineto + 2.1667 -3.2678 lineto + 2.2144 -3.3446 lineto + 2.2639 -3.4239 lineto + 2.315 -3.5058 lineto + 2.368 -3.5906 lineto + 2.4228 -3.6782 lineto + 2.4796 -3.7689 lineto + 2.5384 -3.8627 lineto + 2.5993 -3.9598 lineto + 2.6625 -4.0603 lineto + 2.728 -4.1644 lineto + 2.7959 -4.2722 lineto + 2.8663 -4.384 lineto + 2.9394 -4.4998 lineto + 3.0152 -4.6199 lineto + 3.0939 -4.7444 lineto + 3.1756 -4.8736 lineto + 3.2605 -5.0077 lineto + 3.3487 -5.1469 lineto + 3.4403 -5.2914 lineto + 3.5105 -5.4013 lineto + 3.4978 -5.4096 lineto + 6.378103166302659 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 0.0) +newpath + 2.0327 3.0519 moveto + 1.9888 2.9809 lineto + 1.9464 2.9122 lineto + 1.9054 2.8457 lineto + 1.8659 2.7814 lineto + 1.8276 2.7191 lineto + 1.7906 2.6587 lineto + 1.7549 2.6003 lineto + 1.7203 2.5436 lineto + 1.6869 2.4887 lineto + 1.6545 2.4355 lineto + 1.6232 2.3839 lineto + 1.5636 2.2852 lineto + 1.5077 2.1922 lineto + 1.4553 2.1045 lineto + 1.4061 2.0218 lineto + 1.3599 1.9436 lineto + 1.3164 1.8696 lineto + 1.2756 1.7996 lineto + 1.2371 1.7333 lineto + 1.2009 1.6703 lineto + 1.1668 1.6106 lineto + 1.1346 1.5539 lineto + 1.1043 1.4999 lineto + 1.0619 1.4238 lineto + 1.0108 1.3305 lineto + 0.9652 1.2456 lineto + 0.9243 1.1679 lineto + 0.8876 1.0968 lineto + 0.8547 1.0315 lineto + 0.8251 0.9713 lineto + 0.7985 0.9157 lineto + 0.7634 0.8399 lineto + 0.7242 0.7511 lineto + 0.6922 0.6739 lineto + 0.6659 0.6063 lineto + 0.6443 0.5468 lineto + 0.6119 0.4472 lineto + 0.5897 0.3678 lineto + 0.5744 0.3037 lineto + 0.5599 0.229 lineto + 0.5497 0.158 lineto + 0.5435 0.0911 lineto + 0.5405 0.0211 lineto + 0.5403 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 1.1579208923731617E77) +newpath + 2.0327 3.0519 moveto + 2.0759 3.1216 lineto + 2.1205 3.1935 lineto + 2.1667 3.2678 lineto + 2.2144 3.3446 lineto + 2.2639 3.4239 lineto + 2.315 3.5058 lineto + 2.368 3.5906 lineto + 2.4228 3.6782 lineto + 2.4796 3.7689 lineto + 2.5384 3.8627 lineto + 2.5993 3.9598 lineto + 2.6625 4.0603 lineto + 2.728 4.1644 lineto + 2.7959 4.2722 lineto + 2.8663 4.384 lineto + 2.9394 4.4998 lineto + 3.0152 4.6199 lineto + 3.0939 4.7444 lineto + 3.1756 4.8736 lineto + 3.2605 5.0077 lineto + 3.3487 5.1469 lineto + 3.4403 5.2914 lineto + 3.5105 5.4013 lineto + 3.4978 5.4096 lineto + 6.378103166302659 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, 1.1579208923731617E77) +newpath + -0.4161 0.0 moveto + -0.4183 -0.0936 lineto + -0.4228 -0.1626 lineto + -0.4299 -0.2359 lineto + -0.4401 -0.3129 lineto + -0.4508 -0.379 lineto + -0.4665 -0.4606 lineto + -0.4894 -0.5627 lineto + -0.5046 -0.6236 lineto + -0.5231 -0.6926 lineto + -0.5457 -0.7712 lineto + -0.5732 -0.8614 lineto + -0.607 -0.9656 lineto + -0.6267 -1.024 lineto + -0.6486 -1.0871 lineto + -0.673 -1.1556 lineto + -0.7001 -1.2301 lineto + -0.7303 -1.3114 lineto + -0.7641 -1.4002 lineto + -0.8019 -1.4977 lineto + -0.8332 -1.5771 lineto + -0.8556 -1.6334 lineto + -0.8793 -1.6926 lineto + -0.9045 -1.7549 lineto + -0.9313 -1.8204 lineto + -0.9597 -1.8895 lineto + -0.9898 -1.9624 lineto + -1.0219 -2.0393 lineto + -1.056 -2.1206 lineto + -1.0923 -2.2066 lineto + -1.1309 -2.2977 lineto + -1.1721 -2.3942 lineto + -1.216 -2.4966 lineto + -1.2509 -2.5776 lineto + -1.2751 -2.6336 lineto + -1.3002 -2.6914 lineto + -1.326 -2.7511 lineto + -1.3528 -2.8126 lineto + -1.3805 -2.8761 lineto + -1.4091 -2.9416 lineto + -1.4387 -3.0093 lineto + -1.4694 -3.0792 lineto + -1.5011 -3.1515 lineto + -1.534 -3.2261 lineto + -1.568 -3.3033 lineto + -1.6033 -3.3831 lineto + -1.6398 -3.4657 lineto + -1.6776 -3.5511 lineto + -1.7169 -3.6395 lineto + -1.7575 -3.7311 lineto + -1.7997 -3.8259 lineto + -1.8435 -3.9241 lineto + -1.8889 -4.0259 lineto + -1.9481 -4.1583 lineto + -1.9974 -4.2687 lineto + -2.0487 -4.3832 lineto + -2.102 -4.502 lineto + -2.1573 -4.6254 lineto + -2.2149 -4.7534 lineto + -2.2747 -4.8864 lineto + -2.3369 -5.0246 lineto + -2.4016 -5.1682 lineto + -2.4689 -5.3176 lineto + -2.539 -5.4729 lineto + -2.612 -5.6345 lineto + -2.6687 -5.76 lineto + -2.7073 -5.8454 lineto + -6.378103166302659 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, 1.1579208923731617E77) +newpath + -0.4161 0.0 moveto + -0.4183 0.0936 lineto + -0.4228 0.1626 lineto + -0.4299 0.2359 lineto + -0.4401 0.3129 lineto + -0.4508 0.379 lineto + -0.4665 0.4606 lineto + -0.4894 0.5627 lineto + -0.5046 0.6236 lineto + -0.5231 0.6926 lineto + -0.5457 0.7712 lineto + -0.5732 0.8614 lineto + -0.607 0.9656 lineto + -0.6267 1.024 lineto + -0.6486 1.0871 lineto + -0.673 1.1556 lineto + -0.7001 1.2301 lineto + -0.7303 1.3114 lineto + -0.7641 1.4002 lineto + -0.8019 1.4977 lineto + -0.8332 1.5771 lineto + -0.8556 1.6334 lineto + -0.8793 1.6926 lineto + -0.9045 1.7549 lineto + -0.9313 1.8204 lineto + -0.9597 1.8895 lineto + -0.9898 1.9624 lineto + -1.0219 2.0393 lineto + -1.056 2.1206 lineto + -1.0923 2.2066 lineto + -1.1309 2.2977 lineto + -1.1721 2.3942 lineto + -1.216 2.4966 lineto + -1.2509 2.5776 lineto + -1.2751 2.6336 lineto + -1.3002 2.6914 lineto + -1.326 2.7511 lineto + -1.3528 2.8126 lineto + -1.3805 2.8761 lineto + -1.4091 2.9416 lineto + -1.4387 3.0093 lineto + -1.4694 3.0792 lineto + -1.5011 3.1515 lineto + -1.534 3.2261 lineto + -1.568 3.3033 lineto + -1.6033 3.3831 lineto + -1.6398 3.4657 lineto + -1.6776 3.5511 lineto + -1.7169 3.6395 lineto + -1.7575 3.7311 lineto + -1.7997 3.8259 lineto + -1.8435 3.9241 lineto + -1.8889 4.0259 lineto + -1.9481 4.1583 lineto + -1.9974 4.2687 lineto + -2.0487 4.3832 lineto + -2.102 4.502 lineto + -2.1573 4.6254 lineto + -2.2149 4.7534 lineto + -2.2747 4.8864 lineto + -2.3369 5.0246 lineto + -2.4016 5.1682 lineto + -2.4689 5.3176 lineto + -2.539 5.4729 lineto + -2.612 5.6345 lineto + -2.6687 5.76 lineto + -2.7073 5.8454 lineto + -6.378103166302659 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, 1.1579208923731617E77) +newpath + -0.99 0.0 moveto + -1.0374 -0.0442 lineto + -1.1344 -0.079 lineto + -1.2004 -0.0968 lineto + -1.2981 -0.1197 lineto + -1.3637 -0.1337 lineto + -1.4441 -0.1499 lineto + -1.543 -0.1687 lineto + -1.601 -0.1793 lineto + -1.6655 -0.1909 lineto + -1.7374 -0.2035 lineto + -1.8177 -0.2173 lineto + -1.9076 -0.2324 lineto + -2.0083 -0.2491 lineto + -2.0919 -0.2627 lineto + -2.1519 -0.2724 lineto + -2.2155 -0.2825 lineto + -2.283 -0.2932 lineto + -2.3548 -0.3046 lineto + -2.431 -0.3165 lineto + -2.5121 -0.3291 lineto + -2.5985 -0.3425 lineto + -2.6904 -0.3566 lineto + -2.7884 -0.3716 lineto + -2.8929 -0.3875 lineto + -3.0044 -0.4043 lineto + -3.1235 -0.4223 lineto + -3.2509 -0.4414 lineto + -3.3522 -0.4565 lineto + -3.4588 -0.4724 lineto + -3.5711 -0.4891 lineto + -3.6894 -0.5066 lineto + -3.8141 -0.5251 lineto + -3.9456 -0.5444 lineto + -4.0843 -0.5648 lineto + -4.2308 -0.5863 lineto + -4.3855 -0.609 lineto + -4.5491 -0.6329 lineto + -4.7518 -0.6625 lineto + -4.9684 -0.694 lineto + -5.2 -0.7277 lineto + -5.4478 -0.7636 lineto + -5.7133 -0.8021 lineto + -5.956 -0.8372 lineto + -6.2139 -0.8745 lineto + -6.3033 -0.8874 lineto + -6.378103166302659 -0.8985 lineto + -6.378103166302659 -3.8512 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, 1.1579208923731617E77) +newpath + -0.99 0.0 moveto + -1.0374 0.0442 lineto + -1.1344 0.079 lineto + -1.2004 0.0968 lineto + -1.2981 0.1197 lineto + -1.3637 0.1337 lineto + -1.4441 0.1499 lineto + -1.543 0.1687 lineto + -1.601 0.1793 lineto + -1.6655 0.1909 lineto + -1.7374 0.2035 lineto + -1.8177 0.2173 lineto + -1.9076 0.2324 lineto + -2.0083 0.2491 lineto + -2.0919 0.2627 lineto + -2.1519 0.2724 lineto + -2.2155 0.2825 lineto + -2.283 0.2932 lineto + -2.3548 0.3046 lineto + -2.431 0.3165 lineto + -2.5121 0.3291 lineto + -2.5985 0.3425 lineto + -2.6904 0.3566 lineto + -2.7884 0.3716 lineto + -2.8929 0.3875 lineto + -3.0044 0.4043 lineto + -3.1235 0.4223 lineto + -3.2509 0.4414 lineto + -3.3522 0.4565 lineto + -3.4588 0.4724 lineto + -3.5711 0.4891 lineto + -3.6894 0.5066 lineto + -3.8141 0.5251 lineto + -3.9456 0.5444 lineto + -4.0843 0.5648 lineto + -4.2308 0.5863 lineto + -4.3855 0.609 lineto + -4.5491 0.6329 lineto + -4.7518 0.6625 lineto + -4.9684 0.694 lineto + -5.2 0.7277 lineto + -5.4478 0.7636 lineto + -5.7133 0.8021 lineto + -5.956 0.8372 lineto + -6.2139 0.8745 lineto + -6.3033 0.8874 lineto + -6.378103166302659 0.8985 lineto + -6.378103166302659 3.8512 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, 0.0) +newpath + 1.1276 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, -1.0) +newpath + 1.1276 0.0 moveto + 1.5431 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.0) +newpath + 3.7622 0.0 moveto + 1.5431 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.1579208923731617E77) +newpath + 3.7622 0.0 moveto + 6.3673 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, 0.0) +newpath + 2.0327 3.0519 moveto + 1.9888 2.9809 lineto + 1.9464 2.9122 lineto + 1.9054 2.8457 lineto + 1.8659 2.7814 lineto + 1.8276 2.7191 lineto + 1.7906 2.6587 lineto + 1.7549 2.6003 lineto + 1.7203 2.5436 lineto + 1.6869 2.4887 lineto + 1.6545 2.4355 lineto + 1.6232 2.3839 lineto + 1.5636 2.2852 lineto + 1.5077 2.1922 lineto + 1.4553 2.1045 lineto + 1.4061 2.0218 lineto + 1.3599 1.9436 lineto + 1.3164 1.8696 lineto + 1.2756 1.7996 lineto + 1.2371 1.7333 lineto + 1.2009 1.6703 lineto + 1.1668 1.6106 lineto + 1.1346 1.5539 lineto + 1.1043 1.4999 lineto + 1.0619 1.4238 lineto + 1.0108 1.3305 lineto + 0.9652 1.2456 lineto + 0.9243 1.1679 lineto + 0.8876 1.0968 lineto + 0.8547 1.0315 lineto + 0.8251 0.9713 lineto + 0.7985 0.9157 lineto + 0.7634 0.8399 lineto + 0.7242 0.7511 lineto + 0.6922 0.6739 lineto + 0.6659 0.6063 lineto + 0.6443 0.5468 lineto + 0.6119 0.4472 lineto + 0.5897 0.3678 lineto + 0.5744 0.3037 lineto + 0.5599 0.229 lineto + 0.5497 0.158 lineto + 0.5435 0.0911 lineto + 0.5405 0.0211 lineto + 0.5403 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, -1.1579208923731617E77) +newpath + 2.0327 3.0519 moveto + 2.0759 3.1216 lineto + 2.1205 3.1935 lineto + 2.1667 3.2678 lineto + 2.2144 3.3446 lineto + 2.2639 3.4239 lineto + 2.315 3.5058 lineto + 2.368 3.5906 lineto + 2.4228 3.6782 lineto + 2.4796 3.7689 lineto + 2.5384 3.8627 lineto + 2.5993 3.9598 lineto + 2.6625 4.0603 lineto + 2.728 4.1644 lineto + 2.7959 4.2722 lineto + 2.8663 4.384 lineto + 2.9394 4.4998 lineto + 3.0152 4.6199 lineto + 3.0939 4.7444 lineto + 3.1756 4.8736 lineto + 3.2605 5.0077 lineto + 3.3487 5.1469 lineto + 3.4403 5.2914 lineto + 3.5105 5.4013 lineto + 3.4978 5.4096 lineto + 6.378103166302659 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, 0.0) +newpath + 2.0327 -3.0519 moveto + 1.9888 -2.9809 lineto + 1.9464 -2.9122 lineto + 1.9054 -2.8457 lineto + 1.8659 -2.7814 lineto + 1.8276 -2.7191 lineto + 1.7906 -2.6587 lineto + 1.7549 -2.6003 lineto + 1.7203 -2.5436 lineto + 1.6869 -2.4887 lineto + 1.6545 -2.4355 lineto + 1.6232 -2.3839 lineto + 1.5636 -2.2852 lineto + 1.5077 -2.1922 lineto + 1.4553 -2.1045 lineto + 1.4061 -2.0218 lineto + 1.3599 -1.9436 lineto + 1.3164 -1.8696 lineto + 1.2756 -1.7996 lineto + 1.2371 -1.7333 lineto + 1.2009 -1.6703 lineto + 1.1668 -1.6106 lineto + 1.1346 -1.5539 lineto + 1.1043 -1.4999 lineto + 1.0619 -1.4238 lineto + 1.0108 -1.3305 lineto + 0.9652 -1.2456 lineto + 0.9243 -1.1679 lineto + 0.8876 -1.0968 lineto + 0.8547 -1.0315 lineto + 0.8251 -0.9713 lineto + 0.7985 -0.9157 lineto + 0.7634 -0.8399 lineto + 0.7242 -0.7511 lineto + 0.6922 -0.6739 lineto + 0.6659 -0.6063 lineto + 0.6443 -0.5468 lineto + 0.6119 -0.4472 lineto + 0.5897 -0.3678 lineto + 0.5744 -0.3037 lineto + 0.5599 -0.229 lineto + 0.5497 -0.158 lineto + 0.5435 -0.0911 lineto + 0.5405 -0.0211 lineto + 0.5403 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, -1.1579208923731617E77) +newpath + 2.0327 -3.0519 moveto + 2.0759 -3.1216 lineto + 2.1205 -3.1935 lineto + 2.1667 -3.2678 lineto + 2.2144 -3.3446 lineto + 2.2639 -3.4239 lineto + 2.315 -3.5058 lineto + 2.368 -3.5906 lineto + 2.4228 -3.6782 lineto + 2.4796 -3.7689 lineto + 2.5384 -3.8627 lineto + 2.5993 -3.9598 lineto + 2.6625 -4.0603 lineto + 2.728 -4.1644 lineto + 2.7959 -4.2722 lineto + 2.8663 -4.384 lineto + 2.9394 -4.4998 lineto + 3.0152 -4.6199 lineto + 3.0939 -4.7444 lineto + 3.1756 -4.8736 lineto + 3.2605 -5.0077 lineto + 3.3487 -5.1469 lineto + 3.4403 -5.2914 lineto + 3.5105 -5.4013 lineto + 3.4978 -5.4096 lineto + 6.378103166302659 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, -1.1579208923731617E77) +newpath + -0.4161 0.0 moveto + -0.4183 0.0936 lineto + -0.4228 0.1626 lineto + -0.4299 0.2359 lineto + -0.4401 0.3129 lineto + -0.4508 0.379 lineto + -0.4665 0.4606 lineto + -0.4894 0.5627 lineto + -0.5046 0.6236 lineto + -0.5231 0.6926 lineto + -0.5457 0.7712 lineto + -0.5732 0.8614 lineto + -0.607 0.9656 lineto + -0.6267 1.024 lineto + -0.6486 1.0871 lineto + -0.673 1.1556 lineto + -0.7001 1.2301 lineto + -0.7303 1.3114 lineto + -0.7641 1.4002 lineto + -0.8019 1.4977 lineto + -0.8332 1.5771 lineto + -0.8556 1.6334 lineto + -0.8793 1.6926 lineto + -0.9045 1.7549 lineto + -0.9313 1.8204 lineto + -0.9597 1.8895 lineto + -0.9898 1.9624 lineto + -1.0219 2.0393 lineto + -1.056 2.1206 lineto + -1.0923 2.2066 lineto + -1.1309 2.2977 lineto + -1.1721 2.3942 lineto + -1.216 2.4966 lineto + -1.2509 2.5776 lineto + -1.2751 2.6336 lineto + -1.3002 2.6914 lineto + -1.326 2.7511 lineto + -1.3528 2.8126 lineto + -1.3805 2.8761 lineto + -1.4091 2.9416 lineto + -1.4387 3.0093 lineto + -1.4694 3.0792 lineto + -1.5011 3.1515 lineto + -1.534 3.2261 lineto + -1.568 3.3033 lineto + -1.6033 3.3831 lineto + -1.6398 3.4657 lineto + -1.6776 3.5511 lineto + -1.7169 3.6395 lineto + -1.7575 3.7311 lineto + -1.7997 3.8259 lineto + -1.8435 3.9241 lineto + -1.8889 4.0259 lineto + -1.9481 4.1583 lineto + -1.9974 4.2687 lineto + -2.0487 4.3832 lineto + -2.102 4.502 lineto + -2.1573 4.6254 lineto + -2.2149 4.7534 lineto + -2.2747 4.8864 lineto + -2.3369 5.0246 lineto + -2.4016 5.1682 lineto + -2.4689 5.3176 lineto + -2.539 5.4729 lineto + -2.612 5.6345 lineto + -2.6687 5.76 lineto + -2.7073 5.8454 lineto + -6.378103166302659 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, -1.1579208923731617E77) +newpath + -0.4161 0.0 moveto + -0.4183 -0.0936 lineto + -0.4228 -0.1626 lineto + -0.4299 -0.2359 lineto + -0.4401 -0.3129 lineto + -0.4508 -0.379 lineto + -0.4665 -0.4606 lineto + -0.4894 -0.5627 lineto + -0.5046 -0.6236 lineto + -0.5231 -0.6926 lineto + -0.5457 -0.7712 lineto + -0.5732 -0.8614 lineto + -0.607 -0.9656 lineto + -0.6267 -1.024 lineto + -0.6486 -1.0871 lineto + -0.673 -1.1556 lineto + -0.7001 -1.2301 lineto + -0.7303 -1.3114 lineto + -0.7641 -1.4002 lineto + -0.8019 -1.4977 lineto + -0.8332 -1.5771 lineto + -0.8556 -1.6334 lineto + -0.8793 -1.6926 lineto + -0.9045 -1.7549 lineto + -0.9313 -1.8204 lineto + -0.9597 -1.8895 lineto + -0.9898 -1.9624 lineto + -1.0219 -2.0393 lineto + -1.056 -2.1206 lineto + -1.0923 -2.2066 lineto + -1.1309 -2.2977 lineto + -1.1721 -2.3942 lineto + -1.216 -2.4966 lineto + -1.2509 -2.5776 lineto + -1.2751 -2.6336 lineto + -1.3002 -2.6914 lineto + -1.326 -2.7511 lineto + -1.3528 -2.8126 lineto + -1.3805 -2.8761 lineto + -1.4091 -2.9416 lineto + -1.4387 -3.0093 lineto + -1.4694 -3.0792 lineto + -1.5011 -3.1515 lineto + -1.534 -3.2261 lineto + -1.568 -3.3033 lineto + -1.6033 -3.3831 lineto + -1.6398 -3.4657 lineto + -1.6776 -3.5511 lineto + -1.7169 -3.6395 lineto + -1.7575 -3.7311 lineto + -1.7997 -3.8259 lineto + -1.8435 -3.9241 lineto + -1.8889 -4.0259 lineto + -1.9481 -4.1583 lineto + -1.9974 -4.2687 lineto + -2.0487 -4.3832 lineto + -2.102 -4.502 lineto + -2.1573 -4.6254 lineto + -2.2149 -4.7534 lineto + -2.2747 -4.8864 lineto + -2.3369 -5.0246 lineto + -2.4016 -5.1682 lineto + -2.4689 -5.3176 lineto + -2.539 -5.4729 lineto + -2.612 -5.6345 lineto + -2.6687 -5.76 lineto + -2.7073 -5.8454 lineto + -6.378103166302659 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, -1.1579208923731617E77) +newpath + -0.99 0.0 moveto + -1.0374 0.0442 lineto + -1.1344 0.079 lineto + -1.2004 0.0968 lineto + -1.2981 0.1197 lineto + -1.3637 0.1337 lineto + -1.4441 0.1499 lineto + -1.543 0.1687 lineto + -1.601 0.1793 lineto + -1.6655 0.1909 lineto + -1.7374 0.2035 lineto + -1.8177 0.2173 lineto + -1.9076 0.2324 lineto + -2.0083 0.2491 lineto + -2.0919 0.2627 lineto + -2.1519 0.2724 lineto + -2.2155 0.2825 lineto + -2.283 0.2932 lineto + -2.3548 0.3046 lineto + -2.431 0.3165 lineto + -2.5121 0.3291 lineto + -2.5985 0.3425 lineto + -2.6904 0.3566 lineto + -2.7884 0.3716 lineto + -2.8929 0.3875 lineto + -3.0044 0.4043 lineto + -3.1235 0.4223 lineto + -3.2509 0.4414 lineto + -3.3522 0.4565 lineto + -3.4588 0.4724 lineto + -3.5711 0.4891 lineto + -3.6894 0.5066 lineto + -3.8141 0.5251 lineto + -3.9456 0.5444 lineto + -4.0843 0.5648 lineto + -4.2308 0.5863 lineto + -4.3855 0.609 lineto + -4.5491 0.6329 lineto + -4.7518 0.6625 lineto + -4.9684 0.694 lineto + -5.2 0.7277 lineto + -5.4478 0.7636 lineto + -5.7133 0.8021 lineto + -5.956 0.8372 lineto + -6.2139 0.8745 lineto + -6.3033 0.8874 lineto + -6.378103166302659 0.8985 lineto + -6.378103166302659 3.8512 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, -1.1579208923731617E77) +newpath + -0.99 0.0 moveto + -1.0374 -0.0442 lineto + -1.1344 -0.079 lineto + -1.2004 -0.0968 lineto + -1.2981 -0.1197 lineto + -1.3637 -0.1337 lineto + -1.4441 -0.1499 lineto + -1.543 -0.1687 lineto + -1.601 -0.1793 lineto + -1.6655 -0.1909 lineto + -1.7374 -0.2035 lineto + -1.8177 -0.2173 lineto + -1.9076 -0.2324 lineto + -2.0083 -0.2491 lineto + -2.0919 -0.2627 lineto + -2.1519 -0.2724 lineto + -2.2155 -0.2825 lineto + -2.283 -0.2932 lineto + -2.3548 -0.3046 lineto + -2.431 -0.3165 lineto + -2.5121 -0.3291 lineto + -2.5985 -0.3425 lineto + -2.6904 -0.3566 lineto + -2.7884 -0.3716 lineto + -2.8929 -0.3875 lineto + -3.0044 -0.4043 lineto + -3.1235 -0.4223 lineto + -3.2509 -0.4414 lineto + -3.3522 -0.4565 lineto + -3.4588 -0.4724 lineto + -3.5711 -0.4891 lineto + -3.6894 -0.5066 lineto + -3.8141 -0.5251 lineto + -3.9456 -0.5444 lineto + -4.0843 -0.5648 lineto + -4.2308 -0.5863 lineto + -4.3855 -0.609 lineto + -4.5491 -0.6329 lineto + -4.7518 -0.6625 lineto + -4.9684 -0.694 lineto + -5.2 -0.7277 lineto + -5.4478 -0.7636 lineto + -5.7133 -0.8021 lineto + -5.956 -0.8372 lineto + -6.2139 -0.8745 lineto + -6.3033 -0.8874 lineto + -6.378103166302659 -0.8985 lineto + -6.378103166302659 -3.8512 lineto +0.02 setlinewidth 1 setlinecap stroke +% Real axis +newpath -5 0 moveto 5 0 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 1.0 0.12 moveto 1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.0 0.12 moveto -1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 2.0 0.12 moveto 2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -2.0 0.12 moveto -2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.0 0.12 moveto 3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.0 0.12 moveto -3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 4.0 0.12 moveto 4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -4.0 0.12 moveto -4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 1.5707963267948966 0.09 moveto 1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.5707963267948966 0.09 moveto -1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.141592653589793 0.09 moveto 3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.141592653589793 0.09 moveto -3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +% Imaginary axis +newpath 0 -5 moveto 0 5 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 0.12 1.0 moveto -0.12 1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -1.0 moveto -0.12 -1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 2.0 moveto -0.12 2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -2.0 moveto -0.12 -2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 3.0 moveto -0.12 3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -3.0 moveto -0.12 -3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 4.0 moveto -0.12 4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -4.0 moveto -0.12 -4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 1.5707963267948966 moveto -0.09 1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -1.5707963267948966 moveto -0.09 -1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 3.141592653589793 moveto -0.09 3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -3.141592653589793 moveto -0.09 -3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +% End of PostScript file for plot of function COS +%%EndDocument + @endspecial 80 x(W)m(e)19 b(are)h(used)f(to)g(seeing)i +Fj(cos)d FA(lo)q(oking)j(exactly)g(lik)o(e)f Fj(sin)p +FA(,)f(a)g(wiggly)i(o)q(cean)f(w)o(a)o(v)o(e,)g(only)0 +1891 y(displaced.)k(Indeed)16 b(the)f(complex)h(mapping)g(of)e +Fj(cos)g FA(is)h(also)g(similar)i(to)e(that)f(of)h Fj(sin)p +FA(,)e(with)0 1937 y(horizon)o(tal)i(and)f(v)o(ertical)h(lines)g +(mapping)g(to)e(the)g(same)g(ellipses)j(and)e(h)o(yp)q(erb)q(olas)h +(with)f(fo)q(ci)0 1983 y(at)e Ff(\006)p FA(1,)g(although)j(mapping)f +(to)e(them)g(in)h(a)g(di\013eren)o(t)h(manner,)f(to)f(b)q(e)g(sure.)17 +b(The)c(en)o(tire)g(real)0 2028 y(axis)k(is)f(again)h(mapp)q(ed)g(to)f +(the)g(segmen)o(t)g([)p Ff(\000)p FA(1)p Fd(;)6 b FA(1])16 +b(of)f(the)h(real)h(axis,)g(but)f(eac)o(h)g(half)h(of)e(the)0 +2074 y(imaginary)g(axis)e(is)g(mapp)q(ed)g(to)f(the)h(real)g(axis)g(to) +f(the)g(righ)o(t)i(of)e(1)g(\(as)g(if)g(b)o(y)h Fj(cosh)e +FA(considered)0 2120 y(as)j(a)g(real)h(function\).)22 +b(Therefore)14 b Ff(\0061)p Fq(i)k FA(b)q(oth)d(map)f(to)g(+)p +Ff(1)p FA(.)21 b(The)14 b(origin)i(is)f(mapp)q(ed)g(to)f(1.)0 +2165 y(Whereas)h Fj(sin)e FA(is)i(an)g(o)q(dd)g(function,)g +Fj(cos)e FA(is)i(an)g(ev)o(en)f(function;)i(as)f(a)f(result)h +Fq(two)f FA(p)q(oin)o(ts)i(in)0 2211 y(eac)o(h)e(ann)o(ulus,)i(one)e +(the)g(negativ)o(e)h(of)f(the)g(other,)g(are)g(mapp)q(ed)h(to)e(the)h +(same)g(shaded)h(p)q(oin)o(t)0 2257 y(in)i(this)h(graph;)h(the)e +(shading)h(sho)o(wn)f(here)g(is)h(tak)o(en)f(from)f(p)q(oin)o(ts)i(in)f +(the)g(original)j(upp)q(er)0 2302 y(half-plane.)p 0 2332 +V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 350 374 +350 373 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(350)77 b(COMMON)13 +b(LISP)p 0 255 1395 2 v 0 322 a Fm(Figure)h(12-10:)j +FA(Illustration)f(of)d(the)g(Range)h(of)f(the)g(Arc)g(Cosine)g(F)m +(unction)0 1766 y @beginspecial @setspecial +%%BeginDocument: acos-plot.ps +% PostScript file for plot of function ACOS +% Plot is to fit in a region 4.666666666666667 inches square +% showing axes extending 4.1 units from the origin. + +40.97560975609756 40.97560975609756 scale +4.1 4.1 translate +newpath + -4.1 -4.1 moveto + 4.1 -4.1 lineto + 4.1 4.1 lineto + -4.1 4.1 lineto + closepath +clip +% Moby grid for function ACOS +% Annulus 0.25 0.5 4 0.97 0.45 +% Sector from 4.7124 to 6.2832 (quadrant 3) +newpath + 1.5708 0.2475 moveto + 1.5708 0.3667 lineto + %middle radial + 1.5708 0.3667 lineto + 1.5708 0.4812 lineto + %end radial + 1.5708 0.4812 lineto + 1.4881 0.4751 lineto + 1.4033 0.4555 lineto + 1.3176 0.4202 lineto + 1.2334 0.3664 lineto + %middle circumferential + 1.2334 0.3664 lineto + 1.1649 0.3021 lineto + 1.1056 0.2191 lineto + 1.0632 0.1169 lineto + 1.0482 0.0301 lineto + 1.0472 0.0 lineto + %end circumferential + 1.0472 0.0 lineto + 1.1864 0.0 lineto + %middle radial + 1.1864 0.0 lineto + 1.3181 0.0 lineto + %end radial + 1.3181 0.0 lineto + 1.3402 0.1012 lineto + 1.3959 0.1786 lineto + %middle circumferential + 1.3959 0.1786 lineto + 1.4809 0.2313 lineto + 1.5708 0.2475 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 3.1416 to 4.7124 (quadrant 2) +newpath + 1.8235 0.0 moveto + 1.9552 0.0 lineto + %middle radial + 1.9552 0.0 lineto + 2.0944 0.0 lineto + %end radial + 2.0944 0.0 lineto + 2.0821 0.1026 lineto + 2.045 0.2023 lineto + 1.9856 0.2917 lineto + 1.9082 0.3664 lineto + %middle circumferential + 1.9082 0.3664 lineto + 1.8344 0.4148 lineto + 1.7527 0.4507 lineto + 1.6645 0.4733 lineto + 1.5708 0.4812 lineto + %end circumferential + 1.5708 0.4812 lineto + 1.5708 0.3667 lineto + %middle radial + 1.5708 0.3667 lineto + 1.5708 0.2475 lineto + %end radial + 1.5708 0.2475 lineto + 1.6682 0.2283 lineto + 1.7457 0.1786 lineto + %middle circumferential + 1.7457 0.1786 lineto + 1.8049 0.093 lineto + 1.8235 0.0 lineto + %end circumferential + closepath +currentgray 0.6233333333333334 setgray fill setgray +% Sector from 1.5708 to 3.1416 (quadrant 1) +newpath + 1.5708 -0.2475 moveto + 1.5708 -0.3667 lineto + %middle radial + 1.5708 -0.3667 lineto + 1.5708 -0.4812 lineto + %end radial + 1.5708 -0.4812 lineto + 1.6456 -0.4762 lineto + 1.7276 -0.4587 lineto + 1.8159 -0.4243 lineto + 1.9082 -0.3664 lineto + %middle circumferential + 1.9082 -0.3664 lineto + 1.973 -0.3063 lineto + 2.0319 -0.2262 lineto + 2.0766 -0.1233 lineto + 2.0897 -0.0637 lineto + 2.0944 0.0 lineto + %end circumferential + 2.0944 0.0 lineto + 1.9552 0.0 lineto + %middle radial + 1.9552 0.0 lineto + 1.8235 0.0 lineto + %end radial + 1.8235 0.0 lineto + 1.7997 -0.1047 lineto + 1.7457 -0.1786 lineto + %middle circumferential + 1.7457 -0.1786 lineto + 1.655 -0.2333 lineto + 1.5708 -0.2475 lineto + %end circumferential + closepath +currentgray 0.7966666666666668 setgray fill setgray +% Sector from 0.0 to 1.5708 (quadrant 0) +newpath + 1.3181 0.0 moveto + 1.1864 0.0 lineto + %middle radial + 1.1864 0.0 lineto + 1.0472 0.0 lineto + %end radial + 1.0472 0.0 lineto + 1.0479 -0.0248 lineto + 1.06 -0.1046 lineto + 1.0839 -0.1754 lineto + 1.1195 -0.2421 lineto + 1.1846 -0.3232 lineto + 1.2334 -0.3664 lineto + %middle circumferential + 1.2334 -0.3664 lineto + 1.2929 -0.4067 lineto + 1.3675 -0.4428 lineto + 1.4594 -0.47 lineto + 1.5708 -0.4812 lineto + %end circumferential + 1.5708 -0.4812 lineto + 1.5708 -0.3667 lineto + %middle radial + 1.5708 -0.3667 lineto + 1.5708 -0.2475 lineto + %end radial + 1.5708 -0.2475 lineto + 1.5392 -0.2455 lineto + 1.4623 -0.2235 lineto + 1.3959 -0.1786 lineto + %middle circumferential + 1.3959 -0.1786 lineto + 1.3574 -0.1325 lineto + 1.3227 -0.0471 lineto + 1.3181 0.0 lineto + %end circumferential + closepath +currentgray 0.9700000000000001 setgray fill setgray +% Annulus 0.75 1.0 8 0.97 0.45 +% Sector from 5.4978 to 6.2832 (quadrant 3) +newpath + 1.0977 0.5652 moveto + 1.0705 0.6136 lineto + 1.0436 0.6657 lineto + %middle radial + 1.0436 0.6657 lineto + 0.9989 0.7643 lineto + %end radial + 0.9989 0.7643 lineto + 0.9235 0.7309 lineto + 0.8439 0.6909 lineto + 0.759 0.643 lineto + 0.667 0.5847 lineto + %middle circumferential + 0.667 0.5847 lineto + 0.5964 0.5357 lineto + 0.5456 0.4981 lineto + 0.4908 0.4554 lineto + 0.4303 0.4059 lineto + 0.3616 0.3467 lineto + 0.3011 0.2924 lineto + 0.2537 0.2484 lineto + 0.1959 0.1935 lineto + 0.1382 0.1373 lineto + 0.0797 0.0795 lineto + 0.0 0.0 lineto + %end circumferential + 0.0 0.0 lineto + 0.5054 0.0 lineto + %middle radial + 0.5054 0.0 lineto + 0.7227 0.0 lineto + %end radial + 0.7227 0.0 lineto + 0.7354 0.112 lineto + 0.7686 0.2122 lineto + 0.814 0.2974 lineto + 0.8654 0.3686 lineto + %middle circumferential + 0.8654 0.3686 lineto + 0.9231 0.4319 lineto + 0.9816 0.4845 lineto + 1.04 0.5285 lineto + 1.0977 0.5652 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 4.7124 to 5.4978 (quadrant 3) +newpath + 1.5708 0.6931 moveto + 1.5708 0.7902 lineto + %middle radial + 1.5708 0.7902 lineto + 1.5708 0.8814 lineto + %end radial + 1.5708 0.8814 lineto + 1.5034 0.8798 lineto + 1.4345 0.8748 lineto + 1.3639 0.8662 lineto + 1.2913 0.8537 lineto + %middle circumferential + 1.2913 0.8537 lineto + 1.222 0.8381 lineto + 1.1505 0.8185 lineto + 1.0763 0.7941 lineto + 0.9989 0.7643 lineto + %end circumferential + 0.9989 0.7643 lineto + 1.0436 0.6657 lineto + %middle radial + 1.0436 0.6657 lineto + 1.0705 0.6136 lineto + 1.0977 0.5652 lineto + %end radial + 1.0977 0.5652 lineto + 1.1588 0.5979 lineto + 1.2186 0.6246 lineto + 1.2773 0.6461 lineto + 1.3349 0.663 lineto + %middle circumferential + 1.3349 0.663 lineto + 1.3957 0.6767 lineto + 1.4553 0.686 lineto + 1.5136 0.6914 lineto + 1.5708 0.6931 lineto + %end circumferential + closepath +currentgray 0.5242857142857142 setgray fill setgray +% Sector from 3.927 to 4.7124 (quadrant 2) +newpath + 2.0438 0.5652 moveto + 2.0711 0.6136 lineto + 2.098 0.6657 lineto + %middle radial + 2.098 0.6657 lineto + 2.1427 0.7643 lineto + %end radial + 2.1427 0.7643 lineto + 2.07 0.7924 lineto + 1.9973 0.8166 lineto + 1.9242 0.837 lineto + 1.8503 0.8537 lineto + %middle circumferential + 1.8503 0.8537 lineto + 1.7821 0.8656 lineto + 1.7129 0.8742 lineto + 1.6425 0.8796 lineto + 1.5708 0.8814 lineto + %end circumferential + 1.5708 0.8814 lineto + 1.5708 0.7902 lineto + %middle radial + 1.5708 0.7902 lineto + 1.5708 0.6931 lineto + %end radial + 1.5708 0.6931 lineto + 1.6316 0.6912 lineto + 1.6912 0.6854 lineto + 1.7496 0.676 lineto + 1.8067 0.663 lineto + %middle circumferential + 1.8067 0.663 lineto + 1.868 0.6448 lineto + 1.928 0.6225 lineto + 1.9866 0.596 lineto + 2.0438 0.5652 lineto + %end circumferential + closepath +currentgray 0.5985714285714285 setgray fill setgray +% Sector from 3.1416 to 3.927 (quadrant 2) +newpath + 2.4189 0.0 moveto + 2.6362 0.0 lineto + %middle radial + 2.6362 0.0 lineto + 3.1416 0.0 lineto + %end radial + 3.1416 0.0 lineto + 3.0878 0.0538 lineto + 3.0338 0.1074 lineto + 2.9886 0.1518 lineto + 2.9241 0.2142 lineto + 2.8736 0.2618 lineto + 2.8304 0.3016 lineto + 2.7561 0.3677 lineto + 2.6913 0.4225 lineto + 2.6323 0.47 lineto + 2.5772 0.5122 lineto + 2.5249 0.5502 lineto + 2.4746 0.5847 lineto + %middle circumferential + 2.4746 0.5847 lineto + 2.3882 0.6396 lineto + 2.3048 0.6871 lineto + 2.2233 0.7284 lineto + 2.1427 0.7643 lineto + %end circumferential + 2.1427 0.7643 lineto + 2.098 0.6657 lineto + %middle radial + 2.098 0.6657 lineto + 2.0711 0.6136 lineto + 2.0438 0.5652 lineto + %end radial + 2.0438 0.5652 lineto + 2.1055 0.5258 lineto + 2.1651 0.4803 lineto + 2.2223 0.4282 lineto + 2.2762 0.3686 lineto + %middle circumferential + 2.2762 0.3686 lineto + 2.331 0.2919 lineto + 2.3766 0.2037 lineto + 2.4078 0.1048 lineto + 2.4189 0.0 lineto + %end circumferential + closepath +currentgray 0.6728571428571428 setgray fill setgray +% Sector from 2.3562 to 3.1416 (quadrant 1) +newpath + 2.0438 -0.5652 moveto + 2.0711 -0.6136 lineto + 2.098 -0.6657 lineto + %middle radial + 2.098 -0.6657 lineto + 2.1427 -0.7643 lineto + %end radial + 2.1427 -0.7643 lineto + 2.2156 -0.732 lineto + 2.2942 -0.6928 lineto + 2.3797 -0.6447 lineto + 2.4746 -0.5847 lineto + %middle circumferential + 2.4746 -0.5847 lineto + 2.5431 -0.5372 lineto + 2.5928 -0.5005 lineto + 2.6469 -0.4585 lineto + 2.7069 -0.4096 lineto + 2.7756 -0.3506 lineto + 2.8363 -0.2962 lineto + 2.8842 -0.2519 lineto + 2.9426 -0.1964 lineto + 3.0011 -0.1396 lineto + 3.0606 -0.0808 lineto + 3.1416 0.0 lineto + %end circumferential + 3.1416 0.0 lineto + 2.6362 0.0 lineto + %middle radial + 2.6362 0.0 lineto + 2.4189 0.0 lineto + %end radial + 2.4189 0.0 lineto + 2.418 -0.0296 lineto + 2.4055 -0.1148 lineto + 2.3716 -0.2154 lineto + 2.3263 -0.2994 lineto + 2.2762 -0.3686 lineto + %middle circumferential + 2.2762 -0.3686 lineto + 2.2167 -0.4337 lineto + 2.1575 -0.4866 lineto + 2.0997 -0.5297 lineto + 2.0438 -0.5652 lineto + %end circumferential + closepath +currentgray 0.7471428571428572 setgray fill setgray +% Sector from 1.5708 to 2.3562 (quadrant 1) +newpath + 1.5708 -0.6931 moveto + 1.5708 -0.7902 lineto + %middle radial + 1.5708 -0.7902 lineto + 1.5708 -0.8814 lineto + %end radial + 1.5708 -0.8814 lineto + 1.6345 -0.8799 lineto + 1.7021 -0.8753 lineto + 1.7738 -0.8668 lineto + 1.8503 -0.8537 lineto + %middle circumferential + 1.8503 -0.8537 lineto + 1.9167 -0.8389 lineto + 1.9872 -0.8196 lineto + 2.0622 -0.7952 lineto + 2.1427 -0.7643 lineto + %end circumferential + 2.1427 -0.7643 lineto + 2.098 -0.6657 lineto + %middle radial + 2.098 -0.6657 lineto + 2.0711 -0.6136 lineto + 2.0438 -0.5652 lineto + %end radial + 2.0438 -0.5652 lineto + 2.0117 -0.5831 lineto + 1.9497 -0.6133 lineto + 1.8905 -0.637 lineto + 1.8067 -0.663 lineto + %middle circumferential + 1.8067 -0.663 lineto + 1.7426 -0.6773 lineto + 1.6821 -0.6865 lineto + 1.5708 -0.6931 lineto + %end circumferential + closepath +currentgray 0.8214285714285714 setgray fill setgray +% Sector from 0.7854 to 1.5708 (quadrant 0) +newpath + 1.0977 -0.5652 moveto + 1.0705 -0.6136 lineto + 1.0436 -0.6657 lineto + %middle radial + 1.0436 -0.6657 lineto + 0.9989 -0.7643 lineto + %end radial + 0.9989 -0.7643 lineto + 1.0633 -0.7894 lineto + 1.133 -0.8131 lineto + 1.2088 -0.8348 lineto + 1.2913 -0.8537 lineto + %middle circumferential + 1.2913 -0.8537 lineto + 1.3544 -0.8648 lineto + 1.4217 -0.8735 lineto + 1.4937 -0.8793 lineto + 1.5708 -0.8814 lineto + %end circumferential + 1.5708 -0.8814 lineto + 1.5708 -0.7902 lineto + %middle radial + 1.5708 -0.7902 lineto + 1.5708 -0.6931 lineto + %end radial + 1.5708 -0.6931 lineto + 1.5054 -0.6909 lineto + 1.4445 -0.6846 lineto + 1.3349 -0.663 lineto + %middle circumferential + 1.3349 -0.663 lineto + 1.2664 -0.6424 lineto + 1.2045 -0.6187 lineto + 1.1484 -0.5927 lineto + 1.0977 -0.5652 lineto + %end circumferential + closepath +currentgray 0.8957142857142858 setgray fill setgray +% Sector from 0.0 to 0.7854 (quadrant 0) +newpath + 0.7227 0.0 moveto + 0.5054 0.0 lineto + %middle radial + 0.5054 0.0 lineto + 0.0 0.0 lineto + %end radial + 0.0 0.0 lineto + 0.0347 -0.0347 lineto + 0.1029 -0.1025 lineto + 0.148 -0.1469 lineto + 0.2133 -0.2102 lineto + 0.2564 -0.251 lineto + 0.3087 -0.2993 lineto + 0.3723 -0.3562 lineto + 0.4502 -0.4225 lineto + 0.4958 -0.4594 lineto + 0.5465 -0.4988 lineto + 0.6033 -0.5406 lineto + 0.667 -0.5847 lineto + %middle circumferential + 0.667 -0.5847 lineto + 0.7355 -0.6287 lineto + 0.8127 -0.6739 lineto + 0.8999 -0.7195 lineto + 0.9989 -0.7643 lineto + %end circumferential + 0.9989 -0.7643 lineto + 1.0436 -0.6657 lineto + %middle radial + 1.0436 -0.6657 lineto + 1.0705 -0.6136 lineto + 1.0977 -0.5652 lineto + %end radial + 1.0977 -0.5652 lineto + 1.0224 -0.516 lineto + 0.9596 -0.4658 lineto + 0.9077 -0.4163 lineto + 0.8654 -0.3686 lineto + %middle circumferential + 0.8654 -0.3686 lineto + 0.83 -0.3216 lineto + 0.781 -0.2388 lineto + 0.753 -0.1728 lineto + 0.7335 -0.1032 lineto + 0.7233 -0.0246 lineto + 0.7227 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 1.5708 2.0 16 0.97 0.45 +% Sector from 5.8905 to 6.2832 (quadrant 3) +newpath + 0.4819 1.0766 moveto + 0.4692 1.148 lineto + 0.4584 1.2188 lineto + %middle radial + 0.4584 1.2188 lineto + 0.4503 1.2811 lineto + 0.4433 1.3428 lineto + %end radial + 0.4433 1.3428 lineto + 0.3364 1.3324 lineto + 0.2253 1.3241 lineto + %middle circumferential + 0.2253 1.3241 lineto + 0.1141 1.3188 lineto + 0.0 1.317 lineto + %end circumferential + 0.0 1.317 lineto + 0.0 1.1831 lineto + %middle radial + 0.0 1.1831 lineto + 0.0 1.1046 lineto + 0.0 1.0232 lineto + %end radial + 0.0 1.0232 lineto + 0.0643 1.0243 lineto + 0.1278 1.0275 lineto + 0.1899 1.0325 lineto + 0.2505 1.0391 lineto + %middle circumferential + 0.2505 1.0391 lineto + 0.3112 1.0473 lineto + 0.37 1.0564 lineto + 0.4819 1.0766 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.4978 to 5.8905 (quadrant 3) +newpath + 0.8835 1.1593 moveto + 0.8723 1.2202 lineto + 0.8623 1.2817 lineto + %middle radial + 0.8623 1.2817 lineto + 0.8471 1.392 lineto + %end radial + 0.8471 1.392 lineto + 0.7509 1.38 lineto + 0.6505 1.3672 lineto + %middle circumferential + 0.6505 1.3672 lineto + 0.5492 1.3548 lineto + 0.4433 1.3428 lineto + %end circumferential + 0.4433 1.3428 lineto + 0.4503 1.2811 lineto + 0.4584 1.2188 lineto + %middle radial + 0.4584 1.2188 lineto + 0.4692 1.148 lineto + 0.4819 1.0766 lineto + %end radial + 0.4819 1.0766 lineto + 0.59 1.0984 lineto + 0.6913 1.1198 lineto + %middle circumferential + 0.6913 1.1198 lineto + 0.79 1.1405 lineto + 0.8835 1.1593 lineto + %end circumferential + closepath +currentgray 0.48466666666666664 setgray fill setgray +% Sector from 5.1051 to 5.4978 (quadrant 3) +newpath + 1.2367 1.2147 moveto + 1.2254 1.3274 lineto + %middle radial + 1.2254 1.3274 lineto + 1.217 1.43 lineto + %end radial + 1.217 1.43 lineto + 1.1276 1.4226 lineto + 1.0352 1.4136 lineto + %middle circumferential + 1.0352 1.4136 lineto + 0.9429 1.4035 lineto + 0.8471 1.392 lineto + %end circumferential + 0.8471 1.392 lineto + 0.8623 1.2817 lineto + %middle radial + 0.8623 1.2817 lineto + 0.8723 1.2202 lineto + 0.8835 1.1593 lineto + %end radial + 0.8835 1.1593 lineto + 0.9757 1.1765 lineto + 1.0639 1.1914 lineto + %middle circumferential + 1.0639 1.1914 lineto + 1.1519 1.2043 lineto + 1.2367 1.2147 lineto + %end circumferential + closepath +currentgray 0.5193333333333334 setgray fill setgray +% Sector from 4.7124 to 5.1051 (quadrant 3) +newpath + 1.5708 1.2334 moveto + 1.5708 1.3433 lineto + %middle radial + 1.5708 1.3433 lineto + 1.5708 1.4436 lineto + %end radial + 1.5708 1.4436 lineto + 1.4838 1.4428 lineto + 1.3949 1.4402 lineto + %middle circumferential + 1.3949 1.4402 lineto + 1.3072 1.436 lineto + 1.217 1.43 lineto + %end circumferential + 1.217 1.43 lineto + 1.2254 1.3274 lineto + %middle radial + 1.2254 1.3274 lineto + 1.2367 1.2147 lineto + %end radial + 1.2367 1.2147 lineto + 1.322 1.2229 lineto + 1.4048 1.2287 lineto + %middle circumferential + 1.4048 1.2287 lineto + 1.4888 1.2323 lineto + 1.5708 1.2334 lineto + %end circumferential + closepath +currentgray 0.554 setgray fill setgray +% Sector from 4.3197 to 4.7124 (quadrant 2) +newpath + 1.9049 1.2147 moveto + 1.9162 1.3274 lineto + %middle radial + 1.9162 1.3274 lineto + 1.9246 1.43 lineto + %end radial + 1.9246 1.43 lineto + 1.8363 1.4359 lineto + 1.7467 1.4402 lineto + %middle circumferential + 1.7467 1.4402 lineto + 1.6596 1.4428 lineto + 1.5708 1.4436 lineto + %end circumferential + 1.5708 1.4436 lineto + 1.5708 1.3433 lineto + %middle radial + 1.5708 1.3433 lineto + 1.5708 1.2334 lineto + %end radial + 1.5708 1.2334 lineto + 1.6545 1.2322 lineto + 1.7368 1.2287 lineto + %middle circumferential + 1.7368 1.2287 lineto + 1.8214 1.2228 lineto + 1.9049 1.2147 lineto + %end circumferential + closepath +currentgray 0.5886666666666667 setgray fill setgray +% Sector from 3.927 to 4.3197 (quadrant 2) +newpath + 2.2581 1.1593 moveto + 2.2693 1.2202 lineto + 2.2793 1.2817 lineto + %middle radial + 2.2793 1.2817 lineto + 2.2945 1.392 lineto + %end radial + 2.2945 1.392 lineto + 2.2007 1.4032 lineto + 2.1064 1.4136 lineto + %middle circumferential + 2.1064 1.4136 lineto + 2.0159 1.4225 lineto + 1.9246 1.43 lineto + %end circumferential + 1.9246 1.43 lineto + 1.9162 1.3274 lineto + %middle radial + 1.9162 1.3274 lineto + 1.9049 1.2147 lineto + %end radial + 1.9049 1.2147 lineto + 1.9916 1.204 lineto + 2.0777 1.1914 lineto + %middle circumferential + 2.0777 1.1914 lineto + 2.1678 1.1762 lineto + 2.2581 1.1593 lineto + %end circumferential + closepath +currentgray 0.6233333333333333 setgray fill setgray +% Sector from 3.5343 to 3.927 (quadrant 2) +newpath + 2.6597 1.0766 moveto + 2.6724 1.148 lineto + 2.6831 1.2188 lineto + %middle radial + 2.6831 1.2188 lineto + 2.6913 1.2811 lineto + 2.6983 1.3428 lineto + %end radial + 2.6983 1.3428 lineto + 2.5947 1.3545 lineto + 2.4911 1.3672 lineto + %middle circumferential + 2.4911 1.3672 lineto + 2.3928 1.3797 lineto + 2.2945 1.392 lineto + %end circumferential + 2.2945 1.392 lineto + 2.2793 1.2817 lineto + %middle radial + 2.2793 1.2817 lineto + 2.2693 1.2202 lineto + 2.2581 1.1593 lineto + %end radial + 2.2581 1.1593 lineto + 2.3537 1.14 lineto + 2.4503 1.1198 lineto + %middle circumferential + 2.4503 1.1198 lineto + 2.5539 1.0979 lineto + 2.6597 1.0766 lineto + %end circumferential + closepath +currentgray 0.658 setgray fill setgray +% Sector from 3.1416 to 3.5343 (quadrant 2) +newpath + 3.1416 1.0232 moveto + 3.1416 1.1046 lineto + 3.1416 1.1831 lineto + %middle radial + 3.1416 1.1831 lineto + 3.1416 1.317 lineto + %end radial + 3.1416 1.317 lineto + 3.0301 1.3187 lineto + 2.9163 1.3241 lineto + %middle circumferential + 2.9163 1.3241 lineto + 2.8076 1.3322 lineto + 2.6983 1.3428 lineto + %end circumferential + 2.6983 1.3428 lineto + 2.6913 1.2811 lineto + 2.6831 1.2188 lineto + %middle radial + 2.6831 1.2188 lineto + 2.6724 1.148 lineto + 2.6597 1.0766 lineto + %end radial + 2.6597 1.0766 lineto + 2.7742 1.056 lineto + 2.8324 1.047 lineto + 2.8911 1.0391 lineto + %middle circumferential + 2.8911 1.0391 lineto + 2.9539 1.0323 lineto + 3.0167 1.0273 lineto + 3.0794 1.0242 lineto + 3.1416 1.0232 lineto + %end circumferential + closepath +currentgray 0.6926666666666667 setgray fill setgray +% Sector from 2.7489 to 3.1416 (quadrant 1) +newpath + 2.6597 -1.0766 moveto + 2.6724 -1.148 lineto + 2.6831 -1.2188 lineto + %middle radial + 2.6831 -1.2188 lineto + 2.6913 -1.2811 lineto + 2.6983 -1.3428 lineto + %end radial + 2.6983 -1.3428 lineto + 2.8042 -1.3325 lineto + 2.9163 -1.3241 lineto + %middle circumferential + 2.9163 -1.3241 lineto + 3.0266 -1.3189 lineto + 3.1416 -1.317 lineto + %end circumferential + 3.1416 -1.317 lineto + 3.1416 -1.1831 lineto + %middle radial + 3.1416 -1.1831 lineto + 3.1416 -1.1046 lineto + 3.1416 -1.0232 lineto + %end radial + 3.1416 -1.0232 lineto + 3.0765 -1.0243 lineto + 3.0128 -1.0275 lineto + 2.951 -1.0326 lineto + 2.8911 -1.0391 lineto + %middle circumferential + 2.8911 -1.0391 lineto + 2.8296 -1.0474 lineto + 2.7705 -1.0566 lineto + 2.6597 -1.0766 lineto + %end circumferential + closepath +currentgray 0.7273333333333334 setgray fill setgray +% Sector from 2.3562 to 2.7489 (quadrant 1) +newpath + 2.2581 -1.1593 moveto + 2.2693 -1.2202 lineto + 2.2793 -1.2817 lineto + %middle radial + 2.2793 -1.2817 lineto + 2.2945 -1.392 lineto + %end radial + 2.2945 -1.392 lineto + 2.3896 -1.3801 lineto + 2.4911 -1.3672 lineto + %middle circumferential + 2.4911 -1.3672 lineto + 2.5914 -1.3549 lineto + 2.6983 -1.3428 lineto + %end circumferential + 2.6983 -1.3428 lineto + 2.6913 -1.2811 lineto + 2.6831 -1.2188 lineto + %middle radial + 2.6831 -1.2188 lineto + 2.6724 -1.148 lineto + 2.6597 -1.0766 lineto + %end radial + 2.6597 -1.0766 lineto + 2.5506 -1.0986 lineto + 2.4503 -1.1198 lineto + %middle circumferential + 2.4503 -1.1198 lineto + 2.3505 -1.1407 lineto + 2.2581 -1.1593 lineto + %end circumferential + closepath +currentgray 0.762 setgray fill setgray +% Sector from 1.9635 to 2.3562 (quadrant 1) +newpath + 1.9049 -1.2147 moveto + 1.9162 -1.3274 lineto + %middle radial + 1.9162 -1.3274 lineto + 1.9246 -1.43 lineto + %end radial + 1.9246 -1.43 lineto + 2.0127 -1.4228 lineto + 2.1064 -1.4136 lineto + %middle circumferential + 2.1064 -1.4136 lineto + 2.1975 -1.4036 lineto + 2.2945 -1.392 lineto + %end circumferential + 2.2945 -1.392 lineto + 2.2793 -1.2817 lineto + %middle radial + 2.2793 -1.2817 lineto + 2.2693 -1.2202 lineto + 2.2581 -1.1593 lineto + %end radial + 2.2581 -1.1593 lineto + 2.1647 -1.1767 lineto + 2.0777 -1.1914 lineto + %middle circumferential + 2.0777 -1.1914 lineto + 1.9885 -1.2044 lineto + 1.9049 -1.2147 lineto + %end circumferential + closepath +currentgray 0.7966666666666666 setgray fill setgray +% Sector from 1.5708 to 1.9635 (quadrant 1) +newpath + 1.5708 -1.2334 moveto + 1.5708 -1.3433 lineto + %middle radial + 1.5708 -1.3433 lineto + 1.5708 -1.4436 lineto + %end radial + 1.5708 -1.4436 lineto + 1.6561 -1.4428 lineto + 1.7467 -1.4402 lineto + %middle circumferential + 1.7467 -1.4402 lineto + 1.833 -1.4361 lineto + 1.9246 -1.43 lineto + %end circumferential + 1.9246 -1.43 lineto + 1.9162 -1.3274 lineto + %middle radial + 1.9162 -1.3274 lineto + 1.9049 -1.2147 lineto + %end radial + 1.9049 -1.2147 lineto + 1.8182 -1.223 lineto + 1.7368 -1.2287 lineto + %middle circumferential + 1.7368 -1.2287 lineto + 1.6512 -1.2323 lineto + 1.5708 -1.2334 lineto + %end circumferential + closepath +currentgray 0.8313333333333334 setgray fill setgray +% Sector from 1.1781 to 1.5708 (quadrant 0) +newpath + 1.2367 -1.2147 moveto + 1.2254 -1.3274 lineto + %middle radial + 1.2254 -1.3274 lineto + 1.217 -1.43 lineto + %end radial + 1.217 -1.43 lineto + 1.3029 -1.4357 lineto + 1.3949 -1.4402 lineto + %middle circumferential + 1.3949 -1.4402 lineto + 1.48 -1.4427 lineto + 1.5708 -1.4436 lineto + %end circumferential + 1.5708 -1.4436 lineto + 1.5708 -1.3433 lineto + %middle radial + 1.5708 -1.3433 lineto + 1.5708 -1.2334 lineto + %end radial + 1.5708 -1.2334 lineto + 1.4852 -1.2322 lineto + 1.4048 -1.2287 lineto + %middle circumferential + 1.4048 -1.2287 lineto + 1.3179 -1.2226 lineto + 1.2367 -1.2147 lineto + %end circumferential + closepath +currentgray 0.866 setgray fill setgray +% Sector from 0.7854 to 1.1781 (quadrant 0) +newpath + 0.8835 -1.1593 moveto + 0.8723 -1.2202 lineto + 0.8623 -1.2817 lineto + %middle radial + 0.8623 -1.2817 lineto + 0.8471 -1.392 lineto + %end radial + 0.8471 -1.392 lineto + 0.9368 -1.4028 lineto + 1.0352 -1.4136 lineto + %middle circumferential + 1.0352 -1.4136 lineto + 1.1226 -1.4222 lineto + 1.217 -1.43 lineto + %end circumferential + 1.217 -1.43 lineto + 1.2254 -1.3274 lineto + %middle radial + 1.2254 -1.3274 lineto + 1.2367 -1.2147 lineto + %end radial + 1.2367 -1.2147 lineto + 1.1471 -1.2036 lineto + 1.0639 -1.1914 lineto + %middle circumferential + 1.0639 -1.1914 lineto + 0.9699 -1.1755 lineto + 0.8835 -1.1593 lineto + %end circumferential + closepath +currentgray 0.9006666666666666 setgray fill setgray +% Sector from 0.3927 to 0.7854 (quadrant 0) +newpath + 0.4819 -1.0766 moveto + 0.4692 -1.148 lineto + 0.4584 -1.2188 lineto + %middle radial + 0.4584 -1.2188 lineto + 0.4503 -1.2811 lineto + 0.4433 -1.3428 lineto + %end radial + 0.4433 -1.3428 lineto + 0.4885 -1.3478 lineto + 0.5917 -1.3599 lineto + 0.6505 -1.3672 lineto + %middle circumferential + 0.6505 -1.3672 lineto + 0.7429 -1.379 lineto + 0.8471 -1.392 lineto + %end circumferential + 0.8471 -1.392 lineto + 0.8623 -1.2817 lineto + %middle radial + 0.8623 -1.2817 lineto + 0.8723 -1.2202 lineto + 0.8835 -1.1593 lineto + %end radial + 0.8835 -1.1593 lineto + 0.7823 -1.1389 lineto + 0.6913 -1.1198 lineto + %middle circumferential + 0.6913 -1.1198 lineto + 0.6327 -1.1074 lineto + 0.5283 -1.0858 lineto + 0.4819 -1.0766 lineto + %end circumferential + closepath +currentgray 0.9353333333333332 setgray fill setgray +% Sector from 0.0 to 0.3927 (quadrant 0) +newpath + 0.0 -1.0232 moveto + 0.0 -1.1046 lineto + 0.0 -1.1831 lineto + %middle radial + 0.0 -1.1831 lineto + 0.0 -1.317 lineto + %end radial + 0.0 -1.317 lineto + 0.0536 -1.3174 lineto + 0.1576 -1.3205 lineto + 0.2253 -1.3241 lineto + %middle circumferential + 0.2253 -1.3241 lineto + 0.3168 -1.3308 lineto + 0.4078 -1.3392 lineto + 0.4433 -1.3428 lineto + %end circumferential + 0.4433 -1.3428 lineto + 0.4503 -1.2811 lineto + 0.4584 -1.2188 lineto + %middle radial + 0.4584 -1.2188 lineto + 0.4692 -1.148 lineto + 0.4819 -1.0766 lineto + %end radial + 0.4819 -1.0766 lineto + 0.4108 -1.0634 lineto + 0.3491 -1.053 lineto + 0.2505 -1.0391 lineto + %middle circumferential + 0.2505 -1.0391 lineto + 0.1761 -1.0312 lineto + 0.0862 -1.0252 lineto + 0.0143 -1.0233 lineto + 0.0 -1.0232 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 3.0 3.1416 32 0.97 0.45 +% Sector from 6.0868 to 6.2832 (quadrant 3) +newpath + 0.2079 1.7653 moveto + 0.2073 1.7898 lineto + %middle radial + 0.2073 1.7898 lineto + 0.2068 1.8138 lineto + %end radial + 0.2068 1.8138 lineto + 0.1035 1.8121 lineto + %middle circumferential + 0.1035 1.8121 lineto + 0.0 1.8115 lineto + %end circumferential + 0.0 1.8115 lineto + 0.0 1.7875 lineto + %middle radial + 0.0 1.7875 lineto + 0.0 1.7627 lineto + %end radial + 0.0 1.7627 lineto + 0.1041 1.7634 lineto + %middle circumferential + 0.1041 1.7634 lineto + 0.2079 1.7653 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.8905 to 6.0868 (quadrant 3) +newpath + 0.4135 1.7722 moveto + 0.4125 1.7964 lineto + %middle radial + 0.4125 1.7964 lineto + 0.4116 1.82 lineto + %end radial + 0.4116 1.82 lineto + 0.3095 1.8165 lineto + %middle circumferential + 0.3095 1.8165 lineto + 0.2068 1.8138 lineto + %end circumferential + 0.2068 1.8138 lineto + 0.2073 1.7898 lineto + %middle radial + 0.2073 1.7898 lineto + 0.2079 1.7653 lineto + %end radial + 0.2079 1.7653 lineto + 0.3111 1.7682 lineto + %middle circumferential + 0.3111 1.7682 lineto + 0.4135 1.7722 lineto + %end circumferential + closepath +currentgray 0.4667741935483871 setgray fill setgray +% Sector from 5.6941 to 5.8905 (quadrant 3) +newpath + 0.6155 1.782 moveto + 0.6143 1.8057 lineto + %middle radial + 0.6143 1.8057 lineto + 0.6131 1.8289 lineto + %end radial + 0.6131 1.8289 lineto + 0.5128 1.8242 lineto + %middle circumferential + 0.5128 1.8242 lineto + 0.4116 1.82 lineto + %end circumferential + 0.4116 1.82 lineto + 0.4125 1.7964 lineto + %middle radial + 0.4125 1.7964 lineto + 0.4135 1.7722 lineto + %end radial + 0.4135 1.7722 lineto + 0.515 1.7768 lineto + %middle circumferential + 0.515 1.7768 lineto + 0.6155 1.782 lineto + %end circumferential + closepath +currentgray 0.4835483870967742 setgray fill setgray +% Sector from 5.4978 to 5.6941 (quadrant 3) +newpath + 0.8131 1.7929 moveto + 0.8118 1.8161 lineto + %middle radial + 0.8118 1.8161 lineto + 0.8107 1.8388 lineto + %end radial + 0.8107 1.8388 lineto + 0.7124 1.8339 lineto + %middle circumferential + 0.7124 1.8339 lineto + 0.6131 1.8289 lineto + %end circumferential + 0.6131 1.8289 lineto + 0.6143 1.8057 lineto + %middle radial + 0.6143 1.8057 lineto + 0.6155 1.782 lineto + %end radial + 0.6155 1.782 lineto + 0.7148 1.7874 lineto + %middle circumferential + 0.7148 1.7874 lineto + 0.8131 1.7929 lineto + %end circumferential + closepath +currentgray 0.5003225806451613 setgray fill setgray +% Sector from 5.3014 to 5.4978 (quadrant 3) +newpath + 1.0066 1.8031 moveto + 1.0055 1.8259 lineto + %middle radial + 1.0055 1.8259 lineto + 1.0045 1.8482 lineto + %end radial + 1.0045 1.8482 lineto + 0.908 1.8437 lineto + %middle circumferential + 0.908 1.8437 lineto + 0.8107 1.8388 lineto + %end circumferential + 0.8107 1.8388 lineto + 0.8118 1.8161 lineto + %middle radial + 0.8118 1.8161 lineto + 0.8131 1.7929 lineto + %end radial + 0.8131 1.7929 lineto + 0.9103 1.7982 lineto + %middle circumferential + 0.9103 1.7982 lineto + 1.0066 1.8031 lineto + %end circumferential + closepath +currentgray 0.5170967741935484 setgray fill setgray +% Sector from 5.1051 to 5.3014 (quadrant 3) +newpath + 1.1966 1.8114 moveto + 1.1958 1.8338 lineto + %middle radial + 1.1958 1.8338 lineto + 1.1951 1.8558 lineto + %end radial + 1.1951 1.8558 lineto + 1.1001 1.8523 lineto + %middle circumferential + 1.1001 1.8523 lineto + 1.0045 1.8482 lineto + %end circumferential + 1.0045 1.8482 lineto + 1.0055 1.8259 lineto + %middle radial + 1.0055 1.8259 lineto + 1.0066 1.8031 lineto + %end radial + 1.0066 1.8031 lineto + 1.102 1.8076 lineto + %middle circumferential + 1.102 1.8076 lineto + 1.1966 1.8114 lineto + %end circumferential + closepath +currentgray 0.5338709677419355 setgray fill setgray +% Sector from 4.9087 to 5.1051 (quadrant 3) +newpath + 1.3843 1.8166 moveto + 1.3839 1.8389 lineto + %middle radial + 1.3839 1.8389 lineto + 1.3835 1.8606 lineto + %end radial + 1.3835 1.8606 lineto + 1.2895 1.8586 lineto + %middle circumferential + 1.2895 1.8586 lineto + 1.1951 1.8558 lineto + %end circumferential + 1.1951 1.8558 lineto + 1.1958 1.8338 lineto + %middle radial + 1.1958 1.8338 lineto + 1.1966 1.8114 lineto + %end radial + 1.1966 1.8114 lineto + 1.2907 1.8144 lineto + %middle circumferential + 1.2907 1.8144 lineto + 1.3843 1.8166 lineto + %end circumferential + closepath +currentgray 0.5506451612903226 setgray fill setgray +% Sector from 4.7124 to 4.9087 (quadrant 3) +newpath + 1.5708 1.8184 moveto + 1.5708 1.8406 lineto + %middle radial + 1.5708 1.8406 lineto + 1.5708 1.8623 lineto + %end radial + 1.5708 1.8623 lineto + 1.4772 1.8619 lineto + %middle circumferential + 1.4772 1.8619 lineto + 1.3835 1.8606 lineto + %end circumferential + 1.3835 1.8606 lineto + 1.3839 1.8389 lineto + %middle radial + 1.3839 1.8389 lineto + 1.3843 1.8166 lineto + %end radial + 1.3843 1.8166 lineto + 1.4776 1.818 lineto + %middle circumferential + 1.4776 1.818 lineto + 1.5708 1.8184 lineto + %end circumferential + closepath +currentgray 0.5674193548387096 setgray fill setgray +% Sector from 4.516 to 4.7124 (quadrant 2) +newpath + 1.7573 1.8166 moveto + 1.7577 1.8389 lineto + %middle radial + 1.7577 1.8389 lineto + 1.7581 1.8606 lineto + %end radial + 1.7581 1.8606 lineto + 1.6644 1.8619 lineto + %middle circumferential + 1.6644 1.8619 lineto + 1.5708 1.8623 lineto + %end circumferential + 1.5708 1.8623 lineto + 1.5708 1.8406 lineto + %middle radial + 1.5708 1.8406 lineto + 1.5708 1.8184 lineto + %end radial + 1.5708 1.8184 lineto + 1.664 1.818 lineto + %middle circumferential + 1.664 1.818 lineto + 1.7573 1.8166 lineto + %end circumferential + closepath +currentgray 0.5841935483870968 setgray fill setgray +% Sector from 4.3197 to 4.516 (quadrant 2) +newpath + 1.945 1.8114 moveto + 1.9458 1.8338 lineto + %middle radial + 1.9458 1.8338 lineto + 1.9465 1.8558 lineto + %end radial + 1.9465 1.8558 lineto + 1.8521 1.8586 lineto + %middle circumferential + 1.8521 1.8586 lineto + 1.7581 1.8606 lineto + %end circumferential + 1.7581 1.8606 lineto + 1.7577 1.8389 lineto + %middle radial + 1.7577 1.8389 lineto + 1.7573 1.8166 lineto + %end radial + 1.7573 1.8166 lineto + 1.8509 1.8144 lineto + %middle circumferential + 1.8509 1.8144 lineto + 1.945 1.8114 lineto + %end circumferential + closepath +currentgray 0.600967741935484 setgray fill setgray +% Sector from 4.1233 to 4.3197 (quadrant 2) +newpath + 2.135 1.8031 moveto + 2.1361 1.8259 lineto + %middle radial + 2.1361 1.8259 lineto + 2.1371 1.8482 lineto + %end radial + 2.1371 1.8482 lineto + 2.0415 1.8523 lineto + %middle circumferential + 2.0415 1.8523 lineto + 1.9465 1.8558 lineto + %end circumferential + 1.9465 1.8558 lineto + 1.9458 1.8338 lineto + %middle radial + 1.9458 1.8338 lineto + 1.945 1.8114 lineto + %end radial + 1.945 1.8114 lineto + 2.0396 1.8076 lineto + %middle circumferential + 2.0396 1.8076 lineto + 2.135 1.8031 lineto + %end circumferential + closepath +currentgray 0.6177419354838709 setgray fill setgray +% Sector from 3.927 to 4.1233 (quadrant 2) +newpath + 2.3285 1.7929 moveto + 2.3297 1.8161 lineto + %middle radial + 2.3297 1.8161 lineto + 2.3309 1.8388 lineto + %end radial + 2.3309 1.8388 lineto + 2.2336 1.8437 lineto + %middle circumferential + 2.2336 1.8437 lineto + 2.1371 1.8482 lineto + %end circumferential + 2.1371 1.8482 lineto + 2.1361 1.8259 lineto + %middle radial + 2.1361 1.8259 lineto + 2.135 1.8031 lineto + %end radial + 2.135 1.8031 lineto + 2.2313 1.7982 lineto + %middle circumferential + 2.2313 1.7982 lineto + 2.3285 1.7929 lineto + %end circumferential + closepath +currentgray 0.6345161290322581 setgray fill setgray +% Sector from 3.7306 to 3.927 (quadrant 2) +newpath + 2.5261 1.782 moveto + 2.5273 1.8057 lineto + %middle radial + 2.5273 1.8057 lineto + 2.5285 1.8289 lineto + %end radial + 2.5285 1.8289 lineto + 2.4292 1.8339 lineto + %middle circumferential + 2.4292 1.8339 lineto + 2.3309 1.8388 lineto + %end circumferential + 2.3309 1.8388 lineto + 2.3297 1.8161 lineto + %middle radial + 2.3297 1.8161 lineto + 2.3285 1.7929 lineto + %end radial + 2.3285 1.7929 lineto + 2.4267 1.7874 lineto + %middle circumferential + 2.4267 1.7874 lineto + 2.5261 1.782 lineto + %end circumferential + closepath +currentgray 0.6512903225806452 setgray fill setgray +% Sector from 3.5343 to 3.7306 (quadrant 2) +newpath + 2.728 1.7722 moveto + 2.729 1.7964 lineto + %middle radial + 2.729 1.7964 lineto + 2.73 1.82 lineto + %end radial + 2.73 1.82 lineto + 2.6288 1.8242 lineto + %middle circumferential + 2.6288 1.8242 lineto + 2.5285 1.8289 lineto + %end circumferential + 2.5285 1.8289 lineto + 2.5273 1.8057 lineto + %middle radial + 2.5273 1.8057 lineto + 2.5261 1.782 lineto + %end radial + 2.5261 1.782 lineto + 2.6265 1.7768 lineto + %middle circumferential + 2.6265 1.7768 lineto + 2.728 1.7722 lineto + %end circumferential + closepath +currentgray 0.6680645161290323 setgray fill setgray +% Sector from 3.3379 to 3.5343 (quadrant 2) +newpath + 2.9337 1.7653 moveto + 2.9343 1.7898 lineto + %middle radial + 2.9343 1.7898 lineto + 2.9348 1.8138 lineto + %end radial + 2.9348 1.8138 lineto + 2.8321 1.8165 lineto + %middle circumferential + 2.8321 1.8165 lineto + 2.73 1.82 lineto + %end circumferential + 2.73 1.82 lineto + 2.729 1.7964 lineto + %middle radial + 2.729 1.7964 lineto + 2.728 1.7722 lineto + %end radial + 2.728 1.7722 lineto + 2.8305 1.7682 lineto + %middle circumferential + 2.8305 1.7682 lineto + 2.9337 1.7653 lineto + %end circumferential + closepath +currentgray 0.6848387096774193 setgray fill setgray +% Sector from 3.1416 to 3.3379 (quadrant 2) +newpath + 3.1416 1.7627 moveto + 3.1416 1.7875 lineto + %middle radial + 3.1416 1.7875 lineto + 3.1416 1.8115 lineto + %end radial + 3.1416 1.8115 lineto + 3.0381 1.8121 lineto + %middle circumferential + 3.0381 1.8121 lineto + 2.9348 1.8138 lineto + %end circumferential + 2.9348 1.8138 lineto + 2.9343 1.7898 lineto + %middle radial + 2.9343 1.7898 lineto + 2.9337 1.7653 lineto + %end radial + 2.9337 1.7653 lineto + 3.0375 1.7634 lineto + %middle circumferential + 3.0375 1.7634 lineto + 3.1416 1.7627 lineto + %end circumferential + closepath +currentgray 0.7016129032258065 setgray fill setgray +% Sector from 2.9452 to 3.1416 (quadrant 1) +newpath + 2.9337 -1.7653 moveto + 2.9343 -1.7898 lineto + %middle radial + 2.9343 -1.7898 lineto + 2.9348 -1.8138 lineto + %end radial + 2.9348 -1.8138 lineto + 3.0381 -1.8121 lineto + %middle circumferential + 3.0381 -1.8121 lineto + 3.1416 -1.8115 lineto + %end circumferential + 3.1416 -1.8115 lineto + 3.1416 -1.7875 lineto + %middle radial + 3.1416 -1.7875 lineto + 3.1416 -1.7627 lineto + %end radial + 3.1416 -1.7627 lineto + 3.0375 -1.7634 lineto + %middle circumferential + 3.0375 -1.7634 lineto + 2.9337 -1.7653 lineto + %end circumferential + closepath +currentgray 0.7183870967741936 setgray fill setgray +% Sector from 2.7489 to 2.9452 (quadrant 1) +newpath + 2.728 -1.7722 moveto + 2.729 -1.7964 lineto + %middle radial + 2.729 -1.7964 lineto + 2.73 -1.82 lineto + %end radial + 2.73 -1.82 lineto + 2.8321 -1.8165 lineto + %middle circumferential + 2.8321 -1.8165 lineto + 2.9348 -1.8138 lineto + %end circumferential + 2.9348 -1.8138 lineto + 2.9343 -1.7898 lineto + %middle radial + 2.9343 -1.7898 lineto + 2.9337 -1.7653 lineto + %end radial + 2.9337 -1.7653 lineto + 2.8305 -1.7682 lineto + %middle circumferential + 2.8305 -1.7682 lineto + 2.728 -1.7722 lineto + %end circumferential + closepath +currentgray 0.7351612903225806 setgray fill setgray +% Sector from 2.5525 to 2.7489 (quadrant 1) +newpath + 2.5261 -1.782 moveto + 2.5273 -1.8057 lineto + %middle radial + 2.5273 -1.8057 lineto + 2.5285 -1.8289 lineto + %end radial + 2.5285 -1.8289 lineto + 2.6288 -1.8242 lineto + %middle circumferential + 2.6288 -1.8242 lineto + 2.73 -1.82 lineto + %end circumferential + 2.73 -1.82 lineto + 2.729 -1.7964 lineto + %middle radial + 2.729 -1.7964 lineto + 2.728 -1.7722 lineto + %end radial + 2.728 -1.7722 lineto + 2.6265 -1.7768 lineto + %middle circumferential + 2.6265 -1.7768 lineto + 2.5261 -1.782 lineto + %end circumferential + closepath +currentgray 0.7519354838709679 setgray fill setgray +% Sector from 2.3562 to 2.5525 (quadrant 1) +newpath + 2.3285 -1.7929 moveto + 2.3297 -1.8161 lineto + %middle radial + 2.3297 -1.8161 lineto + 2.3309 -1.8388 lineto + %end radial + 2.3309 -1.8388 lineto + 2.4292 -1.8339 lineto + %middle circumferential + 2.4292 -1.8339 lineto + 2.5285 -1.8289 lineto + %end circumferential + 2.5285 -1.8289 lineto + 2.5273 -1.8057 lineto + %middle radial + 2.5273 -1.8057 lineto + 2.5261 -1.782 lineto + %end radial + 2.5261 -1.782 lineto + 2.4267 -1.7874 lineto + %middle circumferential + 2.4267 -1.7874 lineto + 2.3285 -1.7929 lineto + %end circumferential + closepath +currentgray 0.7687096774193548 setgray fill setgray +% Sector from 2.1598 to 2.3562 (quadrant 1) +newpath + 2.135 -1.8031 moveto + 2.1361 -1.8259 lineto + %middle radial + 2.1361 -1.8259 lineto + 2.1371 -1.8482 lineto + %end radial + 2.1371 -1.8482 lineto + 2.2336 -1.8437 lineto + %middle circumferential + 2.2336 -1.8437 lineto + 2.3309 -1.8388 lineto + %end circumferential + 2.3309 -1.8388 lineto + 2.3297 -1.8161 lineto + %middle radial + 2.3297 -1.8161 lineto + 2.3285 -1.7929 lineto + %end radial + 2.3285 -1.7929 lineto + 2.2313 -1.7982 lineto + %middle circumferential + 2.2313 -1.7982 lineto + 2.135 -1.8031 lineto + %end circumferential + closepath +currentgray 0.7854838709677419 setgray fill setgray +% Sector from 1.9635 to 2.1598 (quadrant 1) +newpath + 1.945 -1.8114 moveto + 1.9458 -1.8338 lineto + %middle radial + 1.9458 -1.8338 lineto + 1.9465 -1.8558 lineto + %end radial + 1.9465 -1.8558 lineto + 2.0415 -1.8523 lineto + %middle circumferential + 2.0415 -1.8523 lineto + 2.1371 -1.8482 lineto + %end circumferential + 2.1371 -1.8482 lineto + 2.1361 -1.8259 lineto + %middle radial + 2.1361 -1.8259 lineto + 2.135 -1.8031 lineto + %end radial + 2.135 -1.8031 lineto + 2.0396 -1.8076 lineto + %middle circumferential + 2.0396 -1.8076 lineto + 1.945 -1.8114 lineto + %end circumferential + closepath +currentgray 0.802258064516129 setgray fill setgray +% Sector from 1.7671 to 1.9635 (quadrant 1) +newpath + 1.7573 -1.8166 moveto + 1.7577 -1.8389 lineto + %middle radial + 1.7577 -1.8389 lineto + 1.7581 -1.8606 lineto + %end radial + 1.7581 -1.8606 lineto + 1.8521 -1.8586 lineto + %middle circumferential + 1.8521 -1.8586 lineto + 1.9465 -1.8558 lineto + %end circumferential + 1.9465 -1.8558 lineto + 1.9458 -1.8338 lineto + %middle radial + 1.9458 -1.8338 lineto + 1.945 -1.8114 lineto + %end radial + 1.945 -1.8114 lineto + 1.8509 -1.8144 lineto + %middle circumferential + 1.8509 -1.8144 lineto + 1.7573 -1.8166 lineto + %end circumferential + closepath +currentgray 0.8190322580645162 setgray fill setgray +% Sector from 1.5708 to 1.7671 (quadrant 1) +newpath + 1.5708 -1.8184 moveto + 1.5708 -1.8406 lineto + %middle radial + 1.5708 -1.8406 lineto + 1.5708 -1.8623 lineto + %end radial + 1.5708 -1.8623 lineto + 1.6644 -1.8619 lineto + %middle circumferential + 1.6644 -1.8619 lineto + 1.7581 -1.8606 lineto + %end circumferential + 1.7581 -1.8606 lineto + 1.7577 -1.8389 lineto + %middle radial + 1.7577 -1.8389 lineto + 1.7573 -1.8166 lineto + %end radial + 1.7573 -1.8166 lineto + 1.664 -1.818 lineto + %middle circumferential + 1.664 -1.818 lineto + 1.5708 -1.8184 lineto + %end circumferential + closepath +currentgray 0.8358064516129032 setgray fill setgray +% Sector from 1.3744 to 1.5708 (quadrant 0) +newpath + 1.3843 -1.8166 moveto + 1.3839 -1.8389 lineto + %middle radial + 1.3839 -1.8389 lineto + 1.3835 -1.8606 lineto + %end radial + 1.3835 -1.8606 lineto + 1.4772 -1.8619 lineto + %middle circumferential + 1.4772 -1.8619 lineto + 1.5708 -1.8623 lineto + %end circumferential + 1.5708 -1.8623 lineto + 1.5708 -1.8406 lineto + %middle radial + 1.5708 -1.8406 lineto + 1.5708 -1.8184 lineto + %end radial + 1.5708 -1.8184 lineto + 1.4776 -1.818 lineto + %middle circumferential + 1.4776 -1.818 lineto + 1.3843 -1.8166 lineto + %end circumferential + closepath +currentgray 0.8525806451612903 setgray fill setgray +% Sector from 1.1781 to 1.3744 (quadrant 0) +newpath + 1.1966 -1.8114 moveto + 1.1958 -1.8338 lineto + %middle radial + 1.1958 -1.8338 lineto + 1.1951 -1.8558 lineto + %end radial + 1.1951 -1.8558 lineto + 1.2895 -1.8586 lineto + %middle circumferential + 1.2895 -1.8586 lineto + 1.3835 -1.8606 lineto + %end circumferential + 1.3835 -1.8606 lineto + 1.3839 -1.8389 lineto + %middle radial + 1.3839 -1.8389 lineto + 1.3843 -1.8166 lineto + %end radial + 1.3843 -1.8166 lineto + 1.2907 -1.8144 lineto + %middle circumferential + 1.2907 -1.8144 lineto + 1.1966 -1.8114 lineto + %end circumferential + closepath +currentgray 0.8693548387096775 setgray fill setgray +% Sector from 0.9817 to 1.1781 (quadrant 0) +newpath + 1.0066 -1.8031 moveto + 1.0055 -1.8259 lineto + %middle radial + 1.0055 -1.8259 lineto + 1.0045 -1.8482 lineto + %end radial + 1.0045 -1.8482 lineto + 1.1001 -1.8523 lineto + %middle circumferential + 1.1001 -1.8523 lineto + 1.1951 -1.8558 lineto + %end circumferential + 1.1951 -1.8558 lineto + 1.1958 -1.8338 lineto + %middle radial + 1.1958 -1.8338 lineto + 1.1966 -1.8114 lineto + %end radial + 1.1966 -1.8114 lineto + 1.102 -1.8076 lineto + %middle circumferential + 1.102 -1.8076 lineto + 1.0066 -1.8031 lineto + %end circumferential + closepath +currentgray 0.8861290322580645 setgray fill setgray +% Sector from 0.7854 to 0.9817 (quadrant 0) +newpath + 0.8131 -1.7929 moveto + 0.8118 -1.8161 lineto + %middle radial + 0.8118 -1.8161 lineto + 0.8107 -1.8388 lineto + %end radial + 0.8107 -1.8388 lineto + 0.908 -1.8437 lineto + %middle circumferential + 0.908 -1.8437 lineto + 1.0045 -1.8482 lineto + %end circumferential + 1.0045 -1.8482 lineto + 1.0055 -1.8259 lineto + %middle radial + 1.0055 -1.8259 lineto + 1.0066 -1.8031 lineto + %end radial + 1.0066 -1.8031 lineto + 0.9103 -1.7982 lineto + %middle circumferential + 0.9103 -1.7982 lineto + 0.8131 -1.7929 lineto + %end circumferential + closepath +currentgray 0.9029032258064516 setgray fill setgray +% Sector from 0.589 to 0.7854 (quadrant 0) +newpath + 0.6155 -1.782 moveto + 0.6143 -1.8057 lineto + %middle radial + 0.6143 -1.8057 lineto + 0.6131 -1.8289 lineto + %end radial + 0.6131 -1.8289 lineto + 0.7124 -1.8339 lineto + %middle circumferential + 0.7124 -1.8339 lineto + 0.8107 -1.8388 lineto + %end circumferential + 0.8107 -1.8388 lineto + 0.8118 -1.8161 lineto + %middle radial + 0.8118 -1.8161 lineto + 0.8131 -1.7929 lineto + %end radial + 0.8131 -1.7929 lineto + 0.7148 -1.7874 lineto + %middle circumferential + 0.7148 -1.7874 lineto + 0.6155 -1.782 lineto + %end circumferential + closepath +currentgray 0.9196774193548387 setgray fill setgray +% Sector from 0.3927 to 0.589 (quadrant 0) +newpath + 0.4135 -1.7722 moveto + 0.4125 -1.7964 lineto + %middle radial + 0.4125 -1.7964 lineto + 0.4116 -1.82 lineto + %end radial + 0.4116 -1.82 lineto + 0.5128 -1.8242 lineto + %middle circumferential + 0.5128 -1.8242 lineto + 0.6131 -1.8289 lineto + %end circumferential + 0.6131 -1.8289 lineto + 0.6143 -1.8057 lineto + %middle radial + 0.6143 -1.8057 lineto + 0.6155 -1.782 lineto + %end radial + 0.6155 -1.782 lineto + 0.515 -1.7768 lineto + %middle circumferential + 0.515 -1.7768 lineto + 0.4135 -1.7722 lineto + %end circumferential + closepath +currentgray 0.9364516129032258 setgray fill setgray +% Sector from 0.1963 to 0.3927 (quadrant 0) +newpath + 0.2079 -1.7653 moveto + 0.2073 -1.7898 lineto + %middle radial + 0.2073 -1.7898 lineto + 0.2068 -1.8138 lineto + %end radial + 0.2068 -1.8138 lineto + 0.3095 -1.8165 lineto + %middle circumferential + 0.3095 -1.8165 lineto + 0.4116 -1.82 lineto + %end circumferential + 0.4116 -1.82 lineto + 0.4125 -1.7964 lineto + %middle radial + 0.4125 -1.7964 lineto + 0.4135 -1.7722 lineto + %end radial + 0.4135 -1.7722 lineto + 0.3111 -1.7682 lineto + %middle circumferential + 0.3111 -1.7682 lineto + 0.2079 -1.7653 lineto + %end circumferential + closepath +currentgray 0.9532258064516128 setgray fill setgray +% Sector from 0.0 to 0.1963 (quadrant 0) +newpath + 0.0 -1.7627 moveto + 0.0 -1.7875 lineto + %middle radial + 0.0 -1.7875 lineto + 0.0 -1.8115 lineto + %end radial + 0.0 -1.8115 lineto + 0.0246 -1.8116 lineto + 0.1035 -1.8121 lineto + %middle circumferential + 0.1035 -1.8121 lineto + 0.174 -1.8131 lineto + 0.2068 -1.8138 lineto + %end circumferential + 0.2068 -1.8138 lineto + 0.2073 -1.7898 lineto + %middle radial + 0.2073 -1.7898 lineto + 0.2079 -1.7653 lineto + %end radial + 0.2079 -1.7653 lineto + 0.1749 -1.7645 lineto + 0.1041 -1.7634 lineto + %middle circumferential + 0.1041 -1.7634 lineto + 0.0248 -1.7628 lineto + 0.0 -1.7627 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Horizontal line from (0.5, 0.0) to (0.0, 0.0) +newpath + 1.0472 0.0 moveto + 1.5708 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.5, 0.0) to (1.0, 0.0) +newpath + 1.0472 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.0, 0.0) +newpath + 0.0 1.317 moveto + 0.0 1.1632 lineto + 0.0 0.8504 lineto + 0.0 0.7861 lineto + 0.0 0.6449 lineto + 0.0 0.4739 lineto + 0.0 0.1807 lineto + 0.0 0.1042 lineto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.1579208923731617E77, 0.0) +newpath + 0.0 1.317 moveto + 0.0 1.8812 lineto + 0.0 6.3488 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.2219 6.378103166302659 lineto + 0.1127 6.378103166302659 lineto + 1.5708 6.378103166302659 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (0.0, 1.0) +newpath + 0.5074 -1.4694 moveto + 0.5543 -1.398 lineto + 0.604 -1.3312 lineto + 0.6562 -1.2695 lineto + 0.7101 -1.2135 lineto + 0.7648 -1.1635 lineto + 0.8194 -1.1195 lineto + 0.8731 -1.0814 lineto + 0.9252 -1.0488 lineto + 1.0223 -0.9979 lineto + 1.1081 -0.9621 lineto + 1.1822 -0.9372 lineto + 1.2454 -0.92 lineto + 1.3437 -0.8999 lineto + 1.4127 -0.8903 lineto + 1.4945 -0.8834 lineto + 1.5531 -0.8815 lineto + 1.5708 -0.8814 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (1.1579208923731617E77, 1.0) +newpath + 0.5074 -1.4694 moveto + 0.4659 -1.5404 lineto + 0.4274 -1.6143 lineto + 0.3918 -1.6906 lineto + 0.359 -1.7687 lineto + 0.3289 -1.8484 lineto + 0.3013 -1.9293 lineto + 0.276 -2.0113 lineto + 0.2529 -2.094 lineto + 0.2317 -2.1774 lineto + 0.2123 -2.2613 lineto + 0.1946 -2.3456 lineto + 0.1784 -2.4302 lineto + 0.1635 -2.5152 lineto + 0.1499 -2.6003 lineto + 0.1374 -2.6857 lineto + 0.126 -2.7712 lineto + 0.1155 -2.8569 lineto + 0.1059 -2.9426 lineto + 0.0972 -3.0285 lineto + 0.0891 -3.1144 lineto + 0.0817 -3.2004 lineto + 0.0749 -3.2864 lineto + 0.0687 -3.3725 lineto + 0.0631 -3.4586 lineto + 0.0578 -3.5448 lineto + 0.053 -3.6309 lineto + 0.0487 -3.7171 lineto + 0.0446 -3.8033 lineto + 0.0409 -3.8896 lineto + 0.0376 -3.9758 lineto + 0.0344 -4.062 lineto + 0.0316 -4.1483 lineto + 0.029 -4.2346 lineto + 0.0266 -4.3208 lineto + 0.0244 -4.4071 lineto + 0.0224 -4.4934 lineto + 0.0205 -4.5797 lineto + 0.0188 -4.666 lineto + 0.0173 -4.7523 lineto + 0.0158 -4.8386 lineto + 0.0145 -4.9248 lineto + 0.0133 -5.0111 lineto + 0.0122 -5.0974 lineto + 0.0112 -5.1837 lineto + 0.0103 -5.27 lineto + 0.0094 -5.3563 lineto + 0.0087 -5.4426 lineto + 0.0079 -5.5289 lineto + 0.0073 -5.6153 lineto + 0.0067 -5.7016 lineto + 0.0061 -5.7879 lineto + 0.0056 -5.8742 lineto + 0.0052 -5.9605 lineto + 0.0047 -6.0468 lineto + 0.0043 -6.1331 lineto + 0.0038 -6.2625 lineto + 0.0035 -6.3488 lineto + 0.0028 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.2219 -6.378103166302659 lineto + 0.1127 -6.378103166302659 lineto + 1.5708 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (0.0, -1.0) +newpath + 0.5074 1.4694 moveto + 0.5543 1.398 lineto + 0.604 1.3312 lineto + 0.6562 1.2695 lineto + 0.7101 1.2135 lineto + 0.7648 1.1635 lineto + 0.8194 1.1195 lineto + 0.8731 1.0814 lineto + 0.9252 1.0488 lineto + 1.0223 0.9979 lineto + 1.1081 0.9621 lineto + 1.1822 0.9372 lineto + 1.2454 0.92 lineto + 1.3437 0.8999 lineto + 1.4127 0.8903 lineto + 1.4945 0.8834 lineto + 1.5531 0.8815 lineto + 1.5708 0.8814 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (1.1579208923731617E77, -1.0) +newpath + 0.5074 1.4694 moveto + 0.4659 1.5404 lineto + 0.4274 1.6143 lineto + 0.3918 1.6906 lineto + 0.359 1.7687 lineto + 0.3289 1.8484 lineto + 0.3013 1.9293 lineto + 0.276 2.0113 lineto + 0.2529 2.094 lineto + 0.2317 2.1774 lineto + 0.2123 2.2613 lineto + 0.1946 2.3456 lineto + 0.1784 2.4302 lineto + 0.1635 2.5152 lineto + 0.1499 2.6003 lineto + 0.1374 2.6857 lineto + 0.126 2.7712 lineto + 0.1155 2.8569 lineto + 0.1059 2.9426 lineto + 0.0972 3.0285 lineto + 0.0891 3.1144 lineto + 0.0817 3.2004 lineto + 0.0749 3.2864 lineto + 0.0687 3.3725 lineto + 0.0631 3.4586 lineto + 0.0578 3.5448 lineto + 0.053 3.6309 lineto + 0.0487 3.7171 lineto + 0.0446 3.8033 lineto + 0.0409 3.8896 lineto + 0.0376 3.9758 lineto + 0.0344 4.062 lineto + 0.0316 4.1483 lineto + 0.029 4.2346 lineto + 0.0266 4.3208 lineto + 0.0244 4.4071 lineto + 0.0224 4.4934 lineto + 0.0205 4.5797 lineto + 0.0188 4.666 lineto + 0.0173 4.7523 lineto + 0.0158 4.8386 lineto + 0.0145 4.9248 lineto + 0.0133 5.0111 lineto + 0.0122 5.0974 lineto + 0.0112 5.1837 lineto + 0.0103 5.27 lineto + 0.0094 5.3563 lineto + 0.0087 5.4426 lineto + 0.0079 5.5289 lineto + 0.0073 5.6153 lineto + 0.0067 5.7016 lineto + 0.0061 5.7879 lineto + 0.0056 5.8742 lineto + 0.0052 5.9605 lineto + 0.0047 6.0468 lineto + 0.0043 6.1331 lineto + 0.0038 6.2625 lineto + 0.0035 6.3488 lineto + 0.0028 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.2219 6.378103166302659 lineto + 0.1127 6.378103166302659 lineto + 1.5708 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (1.1579208923731617E77, 2.0) +newpath + 1.5708 -1.4436 moveto + 1.4704 -1.4481 lineto + 1.4006 -1.4567 lineto + 1.3298 -1.4699 lineto + 1.2319 -1.4963 lineto + 1.1709 -1.5177 lineto + 1.1011 -1.5473 lineto + 1.0227 -1.5874 lineto + 0.9368 -1.6407 lineto + 0.8686 -1.6908 lineto + 0.8221 -1.7295 lineto + 0.7751 -1.7725 lineto + 0.7282 -1.82 lineto + 0.6819 -1.8718 lineto + 0.6365 -1.9279 lineto + 0.5925 -1.9879 lineto + 0.5501 -2.0516 lineto + 0.5096 -2.1187 lineto + 0.4711 -2.1888 lineto + 0.4349 -2.2616 lineto + 0.4009 -2.3367 lineto + 0.3691 -2.4139 lineto + 0.3394 -2.4929 lineto + 0.3119 -2.5734 lineto + 0.2865 -2.6551 lineto + 0.2629 -2.738 lineto + 0.2412 -2.8218 lineto + 0.2211 -2.9064 lineto + 0.2027 -2.9917 lineto + 0.1858 -3.0775 lineto + 0.1702 -3.1638 lineto + 0.1559 -3.2505 lineto + 0.1428 -3.3375 lineto + 0.1307 -3.4248 lineto + 0.1197 -3.5123 lineto + 0.1096 -3.6001 lineto + 0.1003 -3.688 lineto + 0.0918 -3.776 lineto + 0.0841 -3.8642 lineto + 0.0769 -3.9524 lineto + 0.0704 -4.0408 lineto + 0.0644 -4.1292 lineto + 0.059 -4.2176 lineto + 0.054 -4.3062 lineto + 0.0494 -4.3947 lineto + 0.0452 -4.4833 lineto + 0.0414 -4.5719 lineto + 0.0379 -4.6605 lineto + 0.0346 -4.7492 lineto + 0.0317 -4.8379 lineto + 0.029 -4.9266 lineto + 0.0265 -5.0153 lineto + 0.0243 -5.104 lineto + 0.0222 -5.1927 lineto + 0.0203 -5.2814 lineto + 0.0186 -5.3701 lineto + 0.017 -5.4589 lineto + 0.0156 -5.5476 lineto + 0.0143 -5.6364 lineto + 0.0131 -5.7251 lineto + 0.0119 -5.8138 lineto + 0.0109 -5.9026 lineto + 0.01 -5.9913 lineto + 0.0092 -6.0801 lineto + 0.0084 -6.1688 lineto + 0.0077 -6.2576 lineto + 0.007 -6.3464 lineto + 0.0061 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.2419 -6.378103166302659 lineto + 0.116 -6.378103166302659 lineto + 1.5708 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (1.1579208923731617E77, -2.0) +newpath + 1.5708 1.4436 moveto + 1.4704 1.4481 lineto + 1.4006 1.4567 lineto + 1.3298 1.4699 lineto + 1.2319 1.4963 lineto + 1.1709 1.5177 lineto + 1.1011 1.5473 lineto + 1.0227 1.5874 lineto + 0.9368 1.6407 lineto + 0.8686 1.6908 lineto + 0.8221 1.7295 lineto + 0.7751 1.7725 lineto + 0.7282 1.82 lineto + 0.6819 1.8718 lineto + 0.6365 1.9279 lineto + 0.5925 1.9879 lineto + 0.5501 2.0516 lineto + 0.5096 2.1187 lineto + 0.4711 2.1888 lineto + 0.4349 2.2616 lineto + 0.4009 2.3367 lineto + 0.3691 2.4139 lineto + 0.3394 2.4929 lineto + 0.3119 2.5734 lineto + 0.2865 2.6551 lineto + 0.2629 2.738 lineto + 0.2412 2.8218 lineto + 0.2211 2.9064 lineto + 0.2027 2.9917 lineto + 0.1858 3.0775 lineto + 0.1702 3.1638 lineto + 0.1559 3.2505 lineto + 0.1428 3.3375 lineto + 0.1307 3.4248 lineto + 0.1197 3.5123 lineto + 0.1096 3.6001 lineto + 0.1003 3.688 lineto + 0.0918 3.776 lineto + 0.0841 3.8642 lineto + 0.0769 3.9524 lineto + 0.0704 4.0408 lineto + 0.0644 4.1292 lineto + 0.059 4.2176 lineto + 0.054 4.3062 lineto + 0.0494 4.3947 lineto + 0.0452 4.4833 lineto + 0.0414 4.5719 lineto + 0.0379 4.6605 lineto + 0.0346 4.7492 lineto + 0.0317 4.8379 lineto + 0.029 4.9266 lineto + 0.0265 5.0153 lineto + 0.0243 5.104 lineto + 0.0222 5.1927 lineto + 0.0203 5.2814 lineto + 0.0186 5.3701 lineto + 0.017 5.4589 lineto + 0.0156 5.5476 lineto + 0.0143 5.6364 lineto + 0.0131 5.7251 lineto + 0.0119 5.8138 lineto + 0.0109 5.9026 lineto + 0.01 5.9913 lineto + 0.0092 6.0801 lineto + 0.0084 6.1688 lineto + 0.0077 6.2576 lineto + 0.007 6.3464 lineto + 0.0061 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.2419 6.378103166302659 lineto + 0.116 6.378103166302659 lineto + 1.5708 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (1.1579208923731617E77, 3.0) +newpath + 1.5708 -1.8184 moveto + 1.4998 -1.8208 lineto + 1.427 -1.8283 lineto + 1.3669 -1.8383 lineto + 1.2835 -1.8582 lineto + 1.2018 -1.8848 lineto + 1.1373 -1.9109 lineto + 1.0646 -1.9464 lineto + 0.9843 -1.9934 lineto + 0.8979 -2.0542 lineto + 0.8305 -2.11 lineto + 0.785 -2.1524 lineto + 0.7395 -2.1988 lineto + 0.6943 -2.2494 lineto + 0.65 -2.304 lineto + 0.6067 -2.3625 lineto + 0.5649 -2.4245 lineto + 0.5247 -2.4898 lineto + 0.4864 -2.5582 lineto + 0.45 -2.6294 lineto + 0.4157 -2.703 lineto + 0.3835 -2.7788 lineto + 0.3533 -2.8564 lineto + 0.3251 -2.9357 lineto + 0.299 -3.0165 lineto + 0.2747 -3.0984 lineto + 0.2522 -3.1815 lineto + 0.2315 -3.2654 lineto + 0.2124 -3.35 lineto + 0.1947 -3.4353 lineto + 0.1785 -3.5212 lineto + 0.1636 -3.6075 lineto + 0.1499 -3.6942 lineto + 0.1373 -3.7813 lineto + 0.1257 -3.8686 lineto + 0.1151 -3.9561 lineto + 0.1054 -4.0439 lineto + 0.0965 -4.1318 lineto + 0.0883 -4.2198 lineto + 0.0809 -4.308 lineto + 0.074 -4.3962 lineto + 0.0678 -4.4846 lineto + 0.062 -4.573 lineto + 0.0568 -4.6614 lineto + 0.0519 -4.75 lineto + 0.0475 -4.8385 lineto + 0.0435 -4.9271 lineto + 0.0398 -5.0157 lineto + 0.0364 -5.1043 lineto + 0.0333 -5.193 lineto + 0.0305 -5.2817 lineto + 0.0279 -5.3704 lineto + 0.0255 -5.4591 lineto + 0.0234 -5.5478 lineto + 0.0214 -5.6365 lineto + 0.0196 -5.7252 lineto + 0.0179 -5.8139 lineto + 0.0164 -5.9027 lineto + 0.015 -5.9914 lineto + 0.0137 -6.0801 lineto + 0.0126 -6.1689 lineto + 0.0115 -6.2576 lineto + 0.0105 -6.3464 lineto + 0.0092 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.2419 -6.378103166302659 lineto + 0.116 -6.378103166302659 lineto + 1.5708 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (1.1579208923731617E77, -3.0) +newpath + 1.5708 1.8184 moveto + 1.4998 1.8208 lineto + 1.427 1.8283 lineto + 1.3669 1.8383 lineto + 1.2835 1.8582 lineto + 1.2018 1.8848 lineto + 1.1373 1.9109 lineto + 1.0646 1.9464 lineto + 0.9843 1.9934 lineto + 0.8979 2.0542 lineto + 0.8305 2.11 lineto + 0.785 2.1524 lineto + 0.7395 2.1988 lineto + 0.6943 2.2494 lineto + 0.65 2.304 lineto + 0.6067 2.3625 lineto + 0.5649 2.4245 lineto + 0.5247 2.4898 lineto + 0.4864 2.5582 lineto + 0.45 2.6294 lineto + 0.4157 2.703 lineto + 0.3835 2.7788 lineto + 0.3533 2.8564 lineto + 0.3251 2.9357 lineto + 0.299 3.0165 lineto + 0.2747 3.0984 lineto + 0.2522 3.1815 lineto + 0.2315 3.2654 lineto + 0.2124 3.35 lineto + 0.1947 3.4353 lineto + 0.1785 3.5212 lineto + 0.1636 3.6075 lineto + 0.1499 3.6942 lineto + 0.1373 3.7813 lineto + 0.1257 3.8686 lineto + 0.1151 3.9561 lineto + 0.1054 4.0439 lineto + 0.0965 4.1318 lineto + 0.0883 4.2198 lineto + 0.0809 4.308 lineto + 0.074 4.3962 lineto + 0.0678 4.4846 lineto + 0.062 4.573 lineto + 0.0568 4.6614 lineto + 0.0519 4.75 lineto + 0.0475 4.8385 lineto + 0.0435 4.9271 lineto + 0.0398 5.0157 lineto + 0.0364 5.1043 lineto + 0.0333 5.193 lineto + 0.0305 5.2817 lineto + 0.0279 5.3704 lineto + 0.0255 5.4591 lineto + 0.0234 5.5478 lineto + 0.0214 5.6365 lineto + 0.0196 5.7252 lineto + 0.0179 5.8139 lineto + 0.0164 5.9027 lineto + 0.015 5.9914 lineto + 0.0137 6.0801 lineto + 0.0126 6.1689 lineto + 0.0115 6.2576 lineto + 0.0105 6.3464 lineto + 0.0092 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.2419 6.378103166302659 lineto + 0.116 6.378103166302659 lineto + 1.5708 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (0.0, 0.0) +newpath + 2.0944 0.0 moveto + 1.5708 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (-1.0, 0.0) +newpath + 2.0944 0.0 moveto + 3.1416 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.0, 0.0) +newpath + 3.1416 -1.317 moveto + 3.1416 -1.1632 lineto + 3.1416 -0.8504 lineto + 3.1416 -0.7861 lineto + 3.1416 -0.6449 lineto + 3.1416 -0.4739 lineto + 3.1416 -0.1807 lineto + 3.1416 -0.1042 lineto + 3.1416 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.1579208923731617E77, 0.0) +newpath + 3.1416 -1.317 moveto + 3.1416 -1.8812 lineto + 3.1416 -5.5289 lineto + 3.1453 -5.6218 lineto + 1.5781 -6.2456 lineto + 0.8543 -6.378103166302659 lineto + 0.2219 -6.378103166302659 lineto + 0.1127 -6.378103166302659 lineto + 1.5708 -6.378103166302659 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (0.0, 1.0) +newpath + 2.6342 -1.4694 moveto + 2.5873 -1.398 lineto + 2.5375 -1.3312 lineto + 2.4854 -1.2695 lineto + 2.4315 -1.2135 lineto + 2.3768 -1.1635 lineto + 2.3222 -1.1195 lineto + 2.2685 -1.0814 lineto + 2.2164 -1.0488 lineto + 2.1193 -0.9979 lineto + 2.0335 -0.9621 lineto + 1.9593 -0.9372 lineto + 1.8962 -0.92 lineto + 1.7979 -0.8999 lineto + 1.7289 -0.8903 lineto + 1.6471 -0.8834 lineto + 1.5885 -0.8815 lineto + 1.5708 -0.8814 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (-1.1579208923731617E77, 1.0) +newpath + 2.6342 -1.4694 moveto + 2.6757 -1.5404 lineto + 2.7142 -1.6143 lineto + 2.7498 -1.6906 lineto + 2.7826 -1.7687 lineto + 2.8127 -1.8484 lineto + 2.8403 -1.9293 lineto + 2.8656 -2.0113 lineto + 2.8887 -2.094 lineto + 2.9099 -2.1774 lineto + 2.9293 -2.2613 lineto + 2.947 -2.3456 lineto + 2.9632 -2.4302 lineto + 2.9781 -2.5152 lineto + 2.9917 -2.6003 lineto + 3.0042 -2.6857 lineto + 3.0156 -2.7712 lineto + 3.0261 -2.8569 lineto + 3.0356 -2.9426 lineto + 3.0444 -3.0285 lineto + 3.0525 -3.1144 lineto + 3.0599 -3.2004 lineto + 3.0666 -3.2864 lineto + 3.0728 -3.3725 lineto + 3.0785 -3.4586 lineto + 3.0838 -3.5448 lineto + 3.0885 -3.6309 lineto + 3.0929 -3.7171 lineto + 3.097 -3.8033 lineto + 3.1007 -3.8896 lineto + 3.104 -3.9758 lineto + 3.1071 -4.062 lineto + 3.11 -4.1483 lineto + 3.1126 -4.2346 lineto + 3.115 -4.3208 lineto + 3.1172 -4.4071 lineto + 3.1192 -4.4934 lineto + 3.1211 -4.5797 lineto + 3.1228 -4.666 lineto + 3.1243 -4.7523 lineto + 3.1258 -4.8386 lineto + 3.1271 -4.9248 lineto + 3.1283 -5.0111 lineto + 3.1294 -5.0974 lineto + 3.1304 -5.1837 lineto + 3.1313 -5.27 lineto + 3.1322 -5.3563 lineto + 3.1329 -5.4426 lineto + 3.1337 -5.5289 lineto + 3.1397 -5.6249 lineto + 1.5781 -6.2456 lineto + 0.8543 -6.378103166302659 lineto + 0.2219 -6.378103166302659 lineto + 0.1127 -6.378103166302659 lineto + 1.5708 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (0.0, -1.0) +newpath + 2.6342 1.4694 moveto + 2.5873 1.398 lineto + 2.5375 1.3312 lineto + 2.4854 1.2695 lineto + 2.4315 1.2135 lineto + 2.3768 1.1635 lineto + 2.3222 1.1195 lineto + 2.2685 1.0814 lineto + 2.2164 1.0488 lineto + 2.1193 0.9979 lineto + 2.0335 0.9621 lineto + 1.9593 0.9372 lineto + 1.8962 0.92 lineto + 1.7979 0.8999 lineto + 1.7289 0.8903 lineto + 1.6471 0.8834 lineto + 1.5885 0.8815 lineto + 1.5708 0.8814 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (-1.1579208923731617E77, -1.0) +newpath + 2.6342 1.4694 moveto + 2.6757 1.5404 lineto + 2.7142 1.6143 lineto + 2.7498 1.6906 lineto + 2.7826 1.7687 lineto + 2.8127 1.8484 lineto + 2.8403 1.9293 lineto + 2.8656 2.0113 lineto + 2.8887 2.094 lineto + 2.9099 2.1774 lineto + 2.9293 2.2613 lineto + 2.947 2.3456 lineto + 2.9632 2.4302 lineto + 2.9781 2.5152 lineto + 2.9917 2.6003 lineto + 3.0042 2.6857 lineto + 3.0156 2.7712 lineto + 3.0261 2.8569 lineto + 3.0356 2.9426 lineto + 3.0444 3.0285 lineto + 3.0525 3.1144 lineto + 3.0599 3.2004 lineto + 3.0666 3.2864 lineto + 3.0728 3.3725 lineto + 3.0785 3.4586 lineto + 3.0838 3.5448 lineto + 3.0885 3.6309 lineto + 3.0929 3.7171 lineto + 3.097 3.8033 lineto + 3.1007 3.8896 lineto + 3.104 3.9758 lineto + 3.1071 4.062 lineto + 3.11 4.1483 lineto + 3.1126 4.2346 lineto + 3.115 4.3208 lineto + 3.1172 4.4071 lineto + 3.1192 4.4934 lineto + 3.1211 4.5797 lineto + 3.1228 4.666 lineto + 3.1243 4.7523 lineto + 3.1258 4.8386 lineto + 3.1271 4.9248 lineto + 3.1283 5.0111 lineto + 3.1294 5.0974 lineto + 3.1304 5.1837 lineto + 3.1313 5.27 lineto + 3.1322 5.3563 lineto + 3.1329 5.4426 lineto + 3.1337 5.5289 lineto + 3.1397 5.6249 lineto + 1.5781 6.2456 lineto + 0.8543 6.378103166302659 lineto + 0.2219 6.378103166302659 lineto + 0.1127 6.378103166302659 lineto + 1.5708 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (-1.1579208923731617E77, 2.0) +newpath + 1.5708 -1.4436 moveto + 1.6712 -1.4481 lineto + 1.741 -1.4567 lineto + 1.8118 -1.4699 lineto + 1.9097 -1.4963 lineto + 1.9707 -1.5177 lineto + 2.0405 -1.5473 lineto + 2.1189 -1.5874 lineto + 2.2048 -1.6407 lineto + 2.273 -1.6908 lineto + 2.3195 -1.7295 lineto + 2.3665 -1.7725 lineto + 2.4133 -1.82 lineto + 2.4597 -1.8718 lineto + 2.5051 -1.9279 lineto + 2.5491 -1.9879 lineto + 2.5915 -2.0516 lineto + 2.632 -2.1187 lineto + 2.6704 -2.1888 lineto + 2.7067 -2.2616 lineto + 2.7407 -2.3367 lineto + 2.7725 -2.4139 lineto + 2.8022 -2.4929 lineto + 2.8297 -2.5734 lineto + 2.8551 -2.6551 lineto + 2.8787 -2.738 lineto + 2.9004 -2.8218 lineto + 2.9205 -2.9064 lineto + 2.9389 -2.9917 lineto + 2.9558 -3.0775 lineto + 2.9714 -3.1638 lineto + 2.9857 -3.2505 lineto + 2.9988 -3.3375 lineto + 3.0109 -3.4248 lineto + 3.0219 -3.5123 lineto + 3.032 -3.6001 lineto + 3.0413 -3.688 lineto + 3.0498 -3.776 lineto + 3.0575 -3.8642 lineto + 3.0647 -3.9524 lineto + 3.0712 -4.0408 lineto + 3.0771 -4.1292 lineto + 3.0826 -4.2176 lineto + 3.0876 -4.3062 lineto + 3.0922 -4.3947 lineto + 3.0964 -4.4833 lineto + 3.1002 -4.5719 lineto + 3.1037 -4.6605 lineto + 3.1069 -4.7492 lineto + 3.1099 -4.8379 lineto + 3.1126 -4.9266 lineto + 3.115 -5.0153 lineto + 3.1173 -5.104 lineto + 3.1194 -5.1927 lineto + 3.1212 -5.2814 lineto + 3.123 -5.3701 lineto + 3.1246 -5.4589 lineto + 3.126 -5.5476 lineto + 2.8686 -5.7679 lineto + 2.4264 -5.9675 lineto + 1.0464 -6.3563 lineto + 0.2419 -6.378103166302659 lineto + 0.116 -6.378103166302659 lineto + 1.5708 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (-1.1579208923731617E77, -2.0) +newpath + 1.5708 1.4436 moveto + 1.6712 1.4481 lineto + 1.741 1.4567 lineto + 1.8118 1.4699 lineto + 1.9097 1.4963 lineto + 1.9707 1.5177 lineto + 2.0405 1.5473 lineto + 2.1189 1.5874 lineto + 2.2048 1.6407 lineto + 2.273 1.6908 lineto + 2.3195 1.7295 lineto + 2.3665 1.7725 lineto + 2.4133 1.82 lineto + 2.4597 1.8718 lineto + 2.5051 1.9279 lineto + 2.5491 1.9879 lineto + 2.5915 2.0516 lineto + 2.632 2.1187 lineto + 2.6704 2.1888 lineto + 2.7067 2.2616 lineto + 2.7407 2.3367 lineto + 2.7725 2.4139 lineto + 2.8022 2.4929 lineto + 2.8297 2.5734 lineto + 2.8551 2.6551 lineto + 2.8787 2.738 lineto + 2.9004 2.8218 lineto + 2.9205 2.9064 lineto + 2.9389 2.9917 lineto + 2.9558 3.0775 lineto + 2.9714 3.1638 lineto + 2.9857 3.2505 lineto + 2.9988 3.3375 lineto + 3.0109 3.4248 lineto + 3.0219 3.5123 lineto + 3.032 3.6001 lineto + 3.0413 3.688 lineto + 3.0498 3.776 lineto + 3.0575 3.8642 lineto + 3.0647 3.9524 lineto + 3.0712 4.0408 lineto + 3.0771 4.1292 lineto + 3.0826 4.2176 lineto + 3.0876 4.3062 lineto + 3.0922 4.3947 lineto + 3.0964 4.4833 lineto + 3.1002 4.5719 lineto + 3.1037 4.6605 lineto + 3.1069 4.7492 lineto + 3.1099 4.8379 lineto + 3.1126 4.9266 lineto + 3.115 5.0153 lineto + 3.1173 5.104 lineto + 3.1194 5.1927 lineto + 3.1212 5.2814 lineto + 3.123 5.3701 lineto + 3.1246 5.4589 lineto + 3.126 5.5476 lineto + 2.8686 5.7679 lineto + 2.4264 5.9675 lineto + 1.0464 6.3563 lineto + 0.2419 6.378103166302659 lineto + 0.116 6.378103166302659 lineto + 1.5708 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (-1.1579208923731617E77, 3.0) +newpath + 1.5708 -1.8184 moveto + 1.6418 -1.8208 lineto + 1.7146 -1.8283 lineto + 1.7747 -1.8383 lineto + 1.8581 -1.8582 lineto + 1.9397 -1.8848 lineto + 2.0043 -1.9109 lineto + 2.077 -1.9464 lineto + 2.1573 -1.9934 lineto + 2.2437 -2.0542 lineto + 2.3111 -2.11 lineto + 2.3566 -2.1524 lineto + 2.4021 -2.1988 lineto + 2.4473 -2.2494 lineto + 2.4916 -2.304 lineto + 2.5349 -2.3625 lineto + 2.5767 -2.4245 lineto + 2.6169 -2.4898 lineto + 2.6552 -2.5582 lineto + 2.6916 -2.6294 lineto + 2.7259 -2.703 lineto + 2.7581 -2.7788 lineto + 2.7883 -2.8564 lineto + 2.8164 -2.9357 lineto + 2.8426 -3.0165 lineto + 2.8669 -3.0984 lineto + 2.8893 -3.1815 lineto + 2.9101 -3.2654 lineto + 2.9292 -3.35 lineto + 2.9469 -3.4353 lineto + 2.9631 -3.5212 lineto + 2.978 -3.6075 lineto + 2.9917 -3.6942 lineto + 3.0043 -3.7813 lineto + 3.0159 -3.8686 lineto + 3.0265 -3.9561 lineto + 3.0362 -4.0439 lineto + 3.0451 -4.1318 lineto + 3.0533 -4.2198 lineto + 3.0607 -4.308 lineto + 3.0676 -4.3962 lineto + 3.0738 -4.4846 lineto + 3.0796 -4.573 lineto + 3.0848 -4.6614 lineto + 3.0897 -4.75 lineto + 3.0941 -4.8385 lineto + 3.0981 -4.9271 lineto + 3.1018 -5.0157 lineto + 3.1052 -5.1043 lineto + 3.1083 -5.193 lineto + 3.1111 -5.2817 lineto + 3.1137 -5.3704 lineto + 3.116 -5.4591 lineto + 3.1182 -5.5478 lineto + 2.8659 -5.7693 lineto + 2.4258 -5.9677 lineto + 1.0464 -6.3563 lineto + 0.2419 -6.378103166302659 lineto + 0.116 -6.378103166302659 lineto + 1.5708 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (-1.1579208923731617E77, -3.0) +newpath + 1.5708 1.8184 moveto + 1.6418 1.8208 lineto + 1.7146 1.8283 lineto + 1.7747 1.8383 lineto + 1.8581 1.8582 lineto + 1.9397 1.8848 lineto + 2.0043 1.9109 lineto + 2.077 1.9464 lineto + 2.1573 1.9934 lineto + 2.2437 2.0542 lineto + 2.3111 2.11 lineto + 2.3566 2.1524 lineto + 2.4021 2.1988 lineto + 2.4473 2.2494 lineto + 2.4916 2.304 lineto + 2.5349 2.3625 lineto + 2.5767 2.4245 lineto + 2.6169 2.4898 lineto + 2.6552 2.5582 lineto + 2.6916 2.6294 lineto + 2.7259 2.703 lineto + 2.7581 2.7788 lineto + 2.7883 2.8564 lineto + 2.8164 2.9357 lineto + 2.8426 3.0165 lineto + 2.8669 3.0984 lineto + 2.8893 3.1815 lineto + 2.9101 3.2654 lineto + 2.9292 3.35 lineto + 2.9469 3.4353 lineto + 2.9631 3.5212 lineto + 2.978 3.6075 lineto + 2.9917 3.6942 lineto + 3.0043 3.7813 lineto + 3.0159 3.8686 lineto + 3.0265 3.9561 lineto + 3.0362 4.0439 lineto + 3.0451 4.1318 lineto + 3.0533 4.2198 lineto + 3.0607 4.308 lineto + 3.0676 4.3962 lineto + 3.0738 4.4846 lineto + 3.0796 4.573 lineto + 3.0848 4.6614 lineto + 3.0897 4.75 lineto + 3.0941 4.8385 lineto + 3.0981 4.9271 lineto + 3.1018 5.0157 lineto + 3.1052 5.1043 lineto + 3.1083 5.193 lineto + 3.1111 5.2817 lineto + 3.1137 5.3704 lineto + 3.116 5.4591 lineto + 3.1182 5.5478 lineto + 2.8659 5.7693 lineto + 2.4258 5.9677 lineto + 1.0464 6.3563 lineto + 0.2419 6.378103166302659 lineto + 0.116 6.378103166302659 lineto + 1.5708 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 0.0) +newpath + 1.5708 -0.4812 moveto + 1.5708 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 1.0) +newpath + 1.5708 -0.4812 moveto + 1.5708 -0.8814 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.0) +newpath + 1.5708 -1.4436 moveto + 1.5708 -0.8814 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.1579208923731617E77) +newpath + 1.5708 -1.4436 moveto + 1.5708 -6.1762 lineto + 1.428 -6.2816 lineto + 0.8074 -6.378103166302659 lineto + 0.43 -6.378103166302659 lineto + 0.2219 -6.378103166302659 lineto + 0.1127 -6.378103166302659 lineto + 1.5708 -6.378103166302659 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 0.0) +newpath + 1.1437 -1.5286 moveto + 1.1139 -1.4589 lineto + 1.0833 -1.3916 lineto + 1.0521 -1.3267 lineto + 1.0203 -1.2644 lineto + 0.9883 -1.2047 lineto + 0.956 -1.1475 lineto + 0.9238 -1.0928 lineto + 0.8917 -1.0407 lineto + 0.8599 -0.991 lineto + 0.7976 -0.8987 lineto + 0.7376 -0.8153 lineto + 0.6804 -0.7399 lineto + 0.6264 -0.6719 lineto + 0.5758 -0.6105 lineto + 0.5286 -0.5551 lineto + 0.4848 -0.5049 lineto + 0.4251 -0.4385 lineto + 0.356 -0.3638 lineto + 0.2977 -0.3022 lineto + 0.2486 -0.2512 lineto + 0.1895 -0.1907 lineto + 0.1318 -0.1322 lineto + 0.0763 -0.0764 lineto + 0.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 1.1579208923731617E77) +newpath + 1.1437 -1.5286 moveto + 1.171 -1.5966 lineto + 1.1974 -1.6666 lineto + 1.2228 -1.7384 lineto + 1.247 -1.8119 lineto + 1.27 -1.887 lineto + 1.2919 -1.9634 lineto + 1.3125 -2.0412 lineto + 1.3319 -2.1201 lineto + 1.3501 -2.2 lineto + 1.3671 -2.2807 lineto + 1.3829 -2.3623 lineto + 1.3977 -2.4446 lineto + 1.4114 -2.5274 lineto + 1.4241 -2.6108 lineto + 1.4359 -2.6946 lineto + 1.4467 -2.7788 lineto + 1.4568 -2.8633 lineto + 1.466 -2.948 lineto + 1.4745 -3.0331 lineto + 1.4824 -3.1183 lineto + 1.4896 -3.2036 lineto + 1.4963 -3.2892 lineto + 1.5024 -3.3748 lineto + 1.508 -3.4606 lineto + 1.5132 -3.5464 lineto + 1.5179 -3.6323 lineto + 1.5223 -3.7183 lineto + 1.5263 -3.8043 lineto + 1.5299 -3.8904 lineto + 1.5333 -3.9765 lineto + 1.5364 -4.0626 lineto + 1.5392 -4.1488 lineto + 1.5418 -4.235 lineto + 1.5442 -4.3212 lineto + 1.5464 -4.4074 lineto + 1.5484 -4.4936 lineto + 1.5503 -4.5799 lineto + 1.552 -4.6661 lineto + 1.5535 -4.7524 lineto + 1.555 -4.8387 lineto + 1.5563 -4.925 lineto + 1.5575 -5.0112 lineto + 1.5586 -5.0975 lineto + 1.5596 -5.1838 lineto + 1.5605 -5.2701 lineto + 1.5614 -5.3564 lineto + 1.5621 -5.4427 lineto + 1.5629 -5.529 lineto + 1.5635 -5.6153 lineto + 1.5641 -5.7016 lineto + 1.5647 -5.7879 lineto + 1.5652 -5.8742 lineto + 1.5656 -5.9605 lineto + 1.5661 -6.0468 lineto + 1.5665 -6.1331 lineto + 1.5737 -6.2467 lineto + 0.8074 -6.378103166302659 lineto + 0.43 -6.378103166302659 lineto + 0.2219 -6.378103166302659 lineto + 0.1127 -6.378103166302659 lineto + 1.5708 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 0.0) +newpath + 1.9979 -1.5286 moveto + 2.0277 -1.4589 lineto + 2.0583 -1.3916 lineto + 2.0895 -1.3267 lineto + 2.1213 -1.2644 lineto + 2.1533 -1.2047 lineto + 2.1856 -1.1475 lineto + 2.2178 -1.0928 lineto + 2.2499 -1.0407 lineto + 2.2817 -0.991 lineto + 2.344 -0.8987 lineto + 2.404 -0.8153 lineto + 2.4612 -0.7399 lineto + 2.5152 -0.6719 lineto + 2.5658 -0.6105 lineto + 2.613 -0.5551 lineto + 2.6568 -0.5049 lineto + 2.7165 -0.4385 lineto + 2.7856 -0.3638 lineto + 2.8439 -0.3022 lineto + 2.893 -0.2512 lineto + 2.9521 -0.1907 lineto + 3.0098 -0.1322 lineto + 3.0653 -0.0764 lineto + 3.1416 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 1.1579208923731617E77) +newpath + 1.9979 -1.5286 moveto + 1.9705 -1.5966 lineto + 1.9442 -1.6666 lineto + 1.9188 -1.7384 lineto + 1.8946 -1.8119 lineto + 1.8716 -1.887 lineto + 1.8497 -1.9634 lineto + 1.8291 -2.0412 lineto + 1.8097 -2.1201 lineto + 1.7915 -2.2 lineto + 1.7745 -2.2807 lineto + 1.7586 -2.3623 lineto + 1.7439 -2.4446 lineto + 1.7302 -2.5274 lineto + 1.7175 -2.6108 lineto + 1.7057 -2.6946 lineto + 1.6949 -2.7788 lineto + 1.6848 -2.8633 lineto + 1.6756 -2.948 lineto + 1.6671 -3.0331 lineto + 1.6592 -3.1183 lineto + 1.652 -3.2036 lineto + 1.6453 -3.2892 lineto + 1.6392 -3.3748 lineto + 1.6336 -3.4606 lineto + 1.6284 -3.5464 lineto + 1.6237 -3.6323 lineto + 1.6193 -3.7183 lineto + 1.6153 -3.8043 lineto + 1.6117 -3.8904 lineto + 1.6083 -3.9765 lineto + 1.6052 -4.0626 lineto + 1.6024 -4.1488 lineto + 1.5998 -4.235 lineto + 1.5974 -4.3212 lineto + 1.5952 -4.4074 lineto + 1.5932 -4.4936 lineto + 1.5913 -4.5799 lineto + 1.5896 -4.6661 lineto + 1.5881 -4.7524 lineto + 1.5866 -4.8387 lineto + 1.5853 -4.925 lineto + 1.5841 -5.0112 lineto + 1.583 -5.0975 lineto + 1.582 -5.1838 lineto + 1.5811 -5.2701 lineto + 1.5802 -5.3564 lineto + 1.5795 -5.4427 lineto + 1.5787 -5.529 lineto + 1.5781 -5.6153 lineto + 1.5775 -5.7016 lineto + 1.5769 -5.7879 lineto + 1.5764 -5.8742 lineto + 1.576 -5.9605 lineto + 1.5755 -6.0468 lineto + 1.5751 -6.1331 lineto + 1.5812 -6.2448 lineto + 0.8074 -6.378103166302659 lineto + 0.43 -6.378103166302659 lineto + 0.2219 -6.378103166302659 lineto + 0.1127 -6.378103166302659 lineto + 1.5708 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, 1.1579208923731617E77) +newpath + 0.0 -1.317 moveto + 0.0637 -1.3193 lineto + 0.1288 -1.3265 lineto + 0.2161 -1.344 lineto + 0.3015 -1.3699 lineto + 0.3827 -1.4026 lineto + 0.4452 -1.4336 lineto + 0.5142 -1.4736 lineto + 0.5888 -1.5244 lineto + 0.6678 -1.5872 lineto + 0.7496 -1.663 lineto + 0.791 -1.706 lineto + 0.8324 -1.7525 lineto + 0.8735 -1.8024 lineto + 0.9141 -1.8556 lineto + 0.954 -1.9122 lineto + 0.993 -1.9719 lineto + 1.0309 -2.0347 lineto + 1.0674 -2.1003 lineto + 1.1024 -2.1686 lineto + 1.1359 -2.2394 lineto + 1.1677 -2.3124 lineto + 1.1979 -2.3875 lineto + 1.2262 -2.4644 lineto + 1.2529 -2.5429 lineto + 1.2778 -2.6229 lineto + 1.301 -2.7042 lineto + 1.3226 -2.7865 lineto + 1.3427 -2.8698 lineto + 1.3613 -2.954 lineto + 1.3785 -3.0388 lineto + 1.3943 -3.1242 lineto + 1.409 -3.2102 lineto + 1.4224 -3.2966 lineto + 1.4348 -3.3833 lineto + 1.4462 -3.4704 lineto + 1.4566 -3.5578 lineto + 1.4662 -3.6454 lineto + 1.475 -3.7331 lineto + 1.4831 -3.821 lineto + 1.4905 -3.9091 lineto + 1.4973 -3.9973 lineto + 1.5035 -4.0855 lineto + 1.5092 -4.1739 lineto + 1.5144 -4.2623 lineto + 1.5192 -4.3508 lineto + 1.5236 -4.4393 lineto + 1.5276 -4.5278 lineto + 1.5312 -4.6164 lineto + 1.5346 -4.705 lineto + 1.5377 -4.7937 lineto + 1.5405 -4.8823 lineto + 1.543 -4.971 lineto + 1.5454 -5.0597 lineto + 1.5476 -5.1484 lineto + 1.5495 -5.2371 lineto + 1.5513 -5.3258 lineto + 1.553 -5.4145 lineto + 1.5545 -5.5033 lineto + 1.5559 -5.592 lineto + 1.5572 -5.6807 lineto + 1.5583 -5.7695 lineto + 1.5594 -5.8582 lineto + 1.5603 -5.947 lineto + 1.5612 -6.0357 lineto + 1.562 -6.1245 lineto + 1.5714 -6.2473 lineto + 0.5285 -6.378103166302659 lineto + 0.2419 -6.378103166302659 lineto + 0.116 -6.378103166302659 lineto + 1.5708 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, 1.1579208923731617E77) +newpath + 3.1416 -1.317 moveto + 3.0779 -1.3193 lineto + 3.0128 -1.3265 lineto + 2.9255 -1.344 lineto + 2.8401 -1.3699 lineto + 2.7589 -1.4026 lineto + 2.6963 -1.4336 lineto + 2.6274 -1.4736 lineto + 2.5528 -1.5244 lineto + 2.4738 -1.5872 lineto + 2.392 -1.663 lineto + 2.3506 -1.706 lineto + 2.3092 -1.7525 lineto + 2.2681 -1.8024 lineto + 2.2275 -1.8556 lineto + 2.1875 -1.9122 lineto + 2.1486 -1.9719 lineto + 2.1107 -2.0347 lineto + 2.0742 -2.1003 lineto + 2.0392 -2.1686 lineto + 2.0057 -2.2394 lineto + 1.9739 -2.3124 lineto + 1.9437 -2.3875 lineto + 1.9154 -2.4644 lineto + 1.8887 -2.5429 lineto + 1.8638 -2.6229 lineto + 1.8406 -2.7042 lineto + 1.8189 -2.7865 lineto + 1.7989 -2.8698 lineto + 1.7803 -2.954 lineto + 1.7631 -3.0388 lineto + 1.7473 -3.1242 lineto + 1.7326 -3.2102 lineto + 1.7192 -3.2966 lineto + 1.7068 -3.3833 lineto + 1.6954 -3.4704 lineto + 1.685 -3.5578 lineto + 1.6754 -3.6454 lineto + 1.6666 -3.7331 lineto + 1.6585 -3.821 lineto + 1.6511 -3.9091 lineto + 1.6443 -3.9973 lineto + 1.6381 -4.0855 lineto + 1.6324 -4.1739 lineto + 1.6272 -4.2623 lineto + 1.6224 -4.3508 lineto + 1.618 -4.4393 lineto + 1.614 -4.5278 lineto + 1.6104 -4.6164 lineto + 1.607 -4.705 lineto + 1.6039 -4.7937 lineto + 1.6011 -4.8823 lineto + 1.5985 -4.971 lineto + 1.5962 -5.0597 lineto + 1.594 -5.1484 lineto + 1.5921 -5.2371 lineto + 1.5903 -5.3258 lineto + 1.5886 -5.4145 lineto + 1.5871 -5.5033 lineto + 1.5857 -5.592 lineto + 1.5844 -5.6807 lineto + 1.5833 -5.7695 lineto + 1.5822 -5.8582 lineto + 1.5813 -5.947 lineto + 1.5804 -6.0357 lineto + 1.5796 -6.1245 lineto + 1.5865 -6.2435 lineto + 0.5285 -6.378103166302659 lineto + 0.2419 -6.378103166302659 lineto + 0.116 -6.378103166302659 lineto + 1.5708 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, 1.1579208923731617E77) +newpath + 0.0 -1.7627 moveto + 0.0793 -1.7661 lineto + 0.1601 -1.7764 lineto + 0.2261 -1.79 lineto + 0.3161 -1.8165 lineto + 0.3717 -1.8374 lineto + 0.4346 -1.8657 lineto + 0.5048 -1.903 lineto + 0.5814 -1.9512 lineto + 0.6631 -2.0122 lineto + 0.7482 -2.0872 lineto + 0.7913 -2.1302 lineto + 0.8343 -2.1769 lineto + 0.877 -2.2273 lineto + 0.9191 -2.2814 lineto + 0.9603 -2.3389 lineto + 1.0003 -2.3997 lineto + 1.039 -2.4637 lineto + 1.0762 -2.5306 lineto + 1.1117 -2.6002 lineto + 1.1455 -2.6722 lineto + 1.1774 -2.7464 lineto + 1.2074 -2.8227 lineto + 1.2356 -2.9006 lineto + 1.262 -2.9802 lineto + 1.2866 -3.061 lineto + 1.3094 -3.1431 lineto + 1.3306 -3.2261 lineto + 1.3502 -3.31 lineto + 1.3683 -3.3947 lineto + 1.3851 -3.48 lineto + 1.4005 -3.5658 lineto + 1.4146 -3.6521 lineto + 1.4277 -3.7388 lineto + 1.4397 -3.8258 lineto + 1.4507 -3.9131 lineto + 1.4608 -4.0006 lineto + 1.4701 -4.0883 lineto + 1.4786 -4.1762 lineto + 1.4863 -4.2643 lineto + 1.4935 -4.3524 lineto + 1.5 -4.4407 lineto + 1.506 -4.529 lineto + 1.5115 -4.6174 lineto + 1.5165 -4.7059 lineto + 1.5211 -4.7944 lineto + 1.5253 -4.8829 lineto + 1.5292 -4.9715 lineto + 1.5327 -5.0601 lineto + 1.5359 -5.1487 lineto + 1.5389 -5.2374 lineto + 1.5416 -5.3261 lineto + 1.5441 -5.4147 lineto + 1.5464 -5.5034 lineto + 1.5484 -5.5921 lineto + 1.5503 -5.6809 lineto + 1.5521 -5.7696 lineto + 1.5537 -5.8583 lineto + 1.5551 -5.947 lineto + 1.5564 -6.0358 lineto + 1.5577 -6.1245 lineto + 1.5676 -6.2483 lineto + 0.5285 -6.378103166302659 lineto + 0.2419 -6.378103166302659 lineto + 0.116 -6.378103166302659 lineto + 1.5708 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, 1.1579208923731617E77) +newpath + 3.1416 -1.7627 moveto + 3.0623 -1.7661 lineto + 2.9815 -1.7764 lineto + 2.9155 -1.79 lineto + 2.8255 -1.8165 lineto + 2.7699 -1.8374 lineto + 2.707 -1.8657 lineto + 2.6368 -1.903 lineto + 2.5602 -1.9512 lineto + 2.4785 -2.0122 lineto + 2.3934 -2.0872 lineto + 2.3503 -2.1302 lineto + 2.3073 -2.1769 lineto + 2.2646 -2.2273 lineto + 2.2225 -2.2814 lineto + 2.1813 -2.3389 lineto + 2.1413 -2.3997 lineto + 2.1026 -2.4637 lineto + 2.0654 -2.5306 lineto + 2.0299 -2.6002 lineto + 1.9961 -2.6722 lineto + 1.9642 -2.7464 lineto + 1.9342 -2.8227 lineto + 1.906 -2.9006 lineto + 1.8796 -2.9802 lineto + 1.855 -3.061 lineto + 1.8322 -3.1431 lineto + 1.811 -3.2261 lineto + 1.7914 -3.31 lineto + 1.7733 -3.3947 lineto + 1.7565 -3.48 lineto + 1.7411 -3.5658 lineto + 1.7269 -3.6521 lineto + 1.7139 -3.7388 lineto + 1.7019 -3.8258 lineto + 1.6909 -3.9131 lineto + 1.6808 -4.0006 lineto + 1.6715 -4.0883 lineto + 1.663 -4.1762 lineto + 1.6553 -4.2643 lineto + 1.6481 -4.3524 lineto + 1.6416 -4.4407 lineto + 1.6356 -4.529 lineto + 1.6301 -4.6174 lineto + 1.6251 -4.7059 lineto + 1.6205 -4.7944 lineto + 1.6163 -4.8829 lineto + 1.6124 -4.9715 lineto + 1.6089 -5.0601 lineto + 1.6056 -5.1487 lineto + 1.6027 -5.2374 lineto + 1.6 -5.3261 lineto + 1.5975 -5.4147 lineto + 1.5952 -5.5034 lineto + 1.5932 -5.5921 lineto + 1.5913 -5.6809 lineto + 1.5895 -5.7696 lineto + 1.5879 -5.8583 lineto + 1.5865 -5.947 lineto + 1.5851 -6.0358 lineto + 1.5839 -6.1245 lineto + 1.5903 -6.2425 lineto + 0.5285 -6.378103166302659 lineto + 0.2419 -6.378103166302659 lineto + 0.116 -6.378103166302659 lineto + 1.5708 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, 0.0) +newpath + 1.5708 0.4812 moveto + 1.5708 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, -1.0) +newpath + 1.5708 0.4812 moveto + 1.5708 0.8814 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.0) +newpath + 1.5708 1.4436 moveto + 1.5708 0.8814 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.1579208923731617E77) +newpath + 1.5708 1.4436 moveto + 1.5708 6.1762 lineto + 1.428 6.2816 lineto + 0.8074 6.378103166302659 lineto + 0.43 6.378103166302659 lineto + 0.2219 6.378103166302659 lineto + 0.1127 6.378103166302659 lineto + 1.5708 6.378103166302659 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, 0.0) +newpath + 1.1437 1.5286 moveto + 1.1139 1.4589 lineto + 1.0833 1.3916 lineto + 1.0521 1.3267 lineto + 1.0203 1.2644 lineto + 0.9883 1.2047 lineto + 0.956 1.1475 lineto + 0.9238 1.0928 lineto + 0.8917 1.0407 lineto + 0.8599 0.991 lineto + 0.7976 0.8987 lineto + 0.7376 0.8153 lineto + 0.6804 0.7399 lineto + 0.6264 0.6719 lineto + 0.5758 0.6105 lineto + 0.5286 0.5551 lineto + 0.4848 0.5049 lineto + 0.4251 0.4385 lineto + 0.356 0.3638 lineto + 0.2977 0.3022 lineto + 0.2486 0.2512 lineto + 0.1895 0.1907 lineto + 0.1318 0.1322 lineto + 0.0763 0.0764 lineto + 0.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, -1.1579208923731617E77) +newpath + 1.1437 1.5286 moveto + 1.171 1.5966 lineto + 1.1974 1.6666 lineto + 1.2228 1.7384 lineto + 1.247 1.8119 lineto + 1.27 1.887 lineto + 1.2919 1.9634 lineto + 1.3125 2.0412 lineto + 1.3319 2.1201 lineto + 1.3501 2.2 lineto + 1.3671 2.2807 lineto + 1.3829 2.3623 lineto + 1.3977 2.4446 lineto + 1.4114 2.5274 lineto + 1.4241 2.6108 lineto + 1.4359 2.6946 lineto + 1.4467 2.7788 lineto + 1.4568 2.8633 lineto + 1.466 2.948 lineto + 1.4745 3.0331 lineto + 1.4824 3.1183 lineto + 1.4896 3.2036 lineto + 1.4963 3.2892 lineto + 1.5024 3.3748 lineto + 1.508 3.4606 lineto + 1.5132 3.5464 lineto + 1.5179 3.6323 lineto + 1.5223 3.7183 lineto + 1.5263 3.8043 lineto + 1.5299 3.8904 lineto + 1.5333 3.9765 lineto + 1.5364 4.0626 lineto + 1.5392 4.1488 lineto + 1.5418 4.235 lineto + 1.5442 4.3212 lineto + 1.5464 4.4074 lineto + 1.5484 4.4936 lineto + 1.5503 4.5799 lineto + 1.552 4.6661 lineto + 1.5535 4.7524 lineto + 1.555 4.8387 lineto + 1.5563 4.925 lineto + 1.5575 5.0112 lineto + 1.5586 5.0975 lineto + 1.5596 5.1838 lineto + 1.5605 5.2701 lineto + 1.5614 5.3564 lineto + 1.5621 5.4427 lineto + 1.5629 5.529 lineto + 1.5635 5.6153 lineto + 1.5641 5.7016 lineto + 1.5647 5.7879 lineto + 1.5652 5.8742 lineto + 1.5656 5.9605 lineto + 1.5661 6.0468 lineto + 1.5665 6.1331 lineto + 1.5737 6.2467 lineto + 0.8074 6.378103166302659 lineto + 0.43 6.378103166302659 lineto + 0.2219 6.378103166302659 lineto + 0.1127 6.378103166302659 lineto + 1.5708 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, 0.0) +newpath + 1.9979 1.5286 moveto + 2.0277 1.4589 lineto + 2.0583 1.3916 lineto + 2.0895 1.3267 lineto + 2.1213 1.2644 lineto + 2.1533 1.2047 lineto + 2.1856 1.1475 lineto + 2.2178 1.0928 lineto + 2.2499 1.0407 lineto + 2.2817 0.991 lineto + 2.344 0.8987 lineto + 2.404 0.8153 lineto + 2.4612 0.7399 lineto + 2.5152 0.6719 lineto + 2.5658 0.6105 lineto + 2.613 0.5551 lineto + 2.6568 0.5049 lineto + 2.7165 0.4385 lineto + 2.7856 0.3638 lineto + 2.8439 0.3022 lineto + 2.893 0.2512 lineto + 2.9521 0.1907 lineto + 3.0098 0.1322 lineto + 3.0653 0.0764 lineto + 3.1416 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, -1.1579208923731617E77) +newpath + 1.9979 1.5286 moveto + 1.9705 1.5966 lineto + 1.9442 1.6666 lineto + 1.9188 1.7384 lineto + 1.8946 1.8119 lineto + 1.8716 1.887 lineto + 1.8497 1.9634 lineto + 1.8291 2.0412 lineto + 1.8097 2.1201 lineto + 1.7915 2.2 lineto + 1.7745 2.2807 lineto + 1.7586 2.3623 lineto + 1.7439 2.4446 lineto + 1.7302 2.5274 lineto + 1.7175 2.6108 lineto + 1.7057 2.6946 lineto + 1.6949 2.7788 lineto + 1.6848 2.8633 lineto + 1.6756 2.948 lineto + 1.6671 3.0331 lineto + 1.6592 3.1183 lineto + 1.652 3.2036 lineto + 1.6453 3.2892 lineto + 1.6392 3.3748 lineto + 1.6336 3.4606 lineto + 1.6284 3.5464 lineto + 1.6237 3.6323 lineto + 1.6193 3.7183 lineto + 1.6153 3.8043 lineto + 1.6117 3.8904 lineto + 1.6083 3.9765 lineto + 1.6052 4.0626 lineto + 1.6024 4.1488 lineto + 1.5998 4.235 lineto + 1.5974 4.3212 lineto + 1.5952 4.4074 lineto + 1.5932 4.4936 lineto + 1.5913 4.5799 lineto + 1.5896 4.6661 lineto + 1.5881 4.7524 lineto + 1.5866 4.8387 lineto + 1.5853 4.925 lineto + 1.5841 5.0112 lineto + 1.583 5.0975 lineto + 1.582 5.1838 lineto + 1.5811 5.2701 lineto + 1.5802 5.3564 lineto + 1.5795 5.4427 lineto + 1.5787 5.529 lineto + 1.5781 5.6153 lineto + 1.5775 5.7016 lineto + 1.5769 5.7879 lineto + 1.5764 5.8742 lineto + 1.576 5.9605 lineto + 1.5755 6.0468 lineto + 1.5751 6.1331 lineto + 1.5812 6.2448 lineto + 0.8074 6.378103166302659 lineto + 0.43 6.378103166302659 lineto + 0.2219 6.378103166302659 lineto + 0.1127 6.378103166302659 lineto + 1.5708 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, -1.1579208923731617E77) +newpath + 0.0 1.317 moveto + 0.0637 1.3193 lineto + 0.1288 1.3265 lineto + 0.2161 1.344 lineto + 0.3015 1.3699 lineto + 0.3827 1.4026 lineto + 0.4452 1.4336 lineto + 0.5142 1.4736 lineto + 0.5888 1.5244 lineto + 0.6678 1.5872 lineto + 0.7496 1.663 lineto + 0.791 1.706 lineto + 0.8324 1.7525 lineto + 0.8735 1.8024 lineto + 0.9141 1.8556 lineto + 0.954 1.9122 lineto + 0.993 1.9719 lineto + 1.0309 2.0347 lineto + 1.0674 2.1003 lineto + 1.1024 2.1686 lineto + 1.1359 2.2394 lineto + 1.1677 2.3124 lineto + 1.1979 2.3875 lineto + 1.2262 2.4644 lineto + 1.2529 2.5429 lineto + 1.2778 2.6229 lineto + 1.301 2.7042 lineto + 1.3226 2.7865 lineto + 1.3427 2.8698 lineto + 1.3613 2.954 lineto + 1.3785 3.0388 lineto + 1.3943 3.1242 lineto + 1.409 3.2102 lineto + 1.4224 3.2966 lineto + 1.4348 3.3833 lineto + 1.4462 3.4704 lineto + 1.4566 3.5578 lineto + 1.4662 3.6454 lineto + 1.475 3.7331 lineto + 1.4831 3.821 lineto + 1.4905 3.9091 lineto + 1.4973 3.9973 lineto + 1.5035 4.0855 lineto + 1.5092 4.1739 lineto + 1.5144 4.2623 lineto + 1.5192 4.3508 lineto + 1.5236 4.4393 lineto + 1.5276 4.5278 lineto + 1.5312 4.6164 lineto + 1.5346 4.705 lineto + 1.5377 4.7937 lineto + 1.5405 4.8823 lineto + 1.543 4.971 lineto + 1.5454 5.0597 lineto + 1.5476 5.1484 lineto + 1.5495 5.2371 lineto + 1.5513 5.3258 lineto + 1.553 5.4145 lineto + 1.5545 5.5033 lineto + 1.5559 5.592 lineto + 1.5572 5.6807 lineto + 1.5583 5.7695 lineto + 1.5594 5.8582 lineto + 1.5603 5.947 lineto + 1.5612 6.0357 lineto + 1.562 6.1245 lineto + 1.5714 6.2473 lineto + 0.5285 6.378103166302659 lineto + 0.2419 6.378103166302659 lineto + 0.116 6.378103166302659 lineto + 1.5708 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, -1.1579208923731617E77) +newpath + 3.1416 1.317 moveto + 3.0779 1.3193 lineto + 3.0128 1.3265 lineto + 2.9255 1.344 lineto + 2.8401 1.3699 lineto + 2.7589 1.4026 lineto + 2.6963 1.4336 lineto + 2.6274 1.4736 lineto + 2.5528 1.5244 lineto + 2.4738 1.5872 lineto + 2.392 1.663 lineto + 2.3506 1.706 lineto + 2.3092 1.7525 lineto + 2.2681 1.8024 lineto + 2.2275 1.8556 lineto + 2.1875 1.9122 lineto + 2.1486 1.9719 lineto + 2.1107 2.0347 lineto + 2.0742 2.1003 lineto + 2.0392 2.1686 lineto + 2.0057 2.2394 lineto + 1.9739 2.3124 lineto + 1.9437 2.3875 lineto + 1.9154 2.4644 lineto + 1.8887 2.5429 lineto + 1.8638 2.6229 lineto + 1.8406 2.7042 lineto + 1.8189 2.7865 lineto + 1.7989 2.8698 lineto + 1.7803 2.954 lineto + 1.7631 3.0388 lineto + 1.7473 3.1242 lineto + 1.7326 3.2102 lineto + 1.7192 3.2966 lineto + 1.7068 3.3833 lineto + 1.6954 3.4704 lineto + 1.685 3.5578 lineto + 1.6754 3.6454 lineto + 1.6666 3.7331 lineto + 1.6585 3.821 lineto + 1.6511 3.9091 lineto + 1.6443 3.9973 lineto + 1.6381 4.0855 lineto + 1.6324 4.1739 lineto + 1.6272 4.2623 lineto + 1.6224 4.3508 lineto + 1.618 4.4393 lineto + 1.614 4.5278 lineto + 1.6104 4.6164 lineto + 1.607 4.705 lineto + 1.6039 4.7937 lineto + 1.6011 4.8823 lineto + 1.5985 4.971 lineto + 1.5962 5.0597 lineto + 1.594 5.1484 lineto + 1.5921 5.2371 lineto + 1.5903 5.3258 lineto + 1.5886 5.4145 lineto + 1.5871 5.5033 lineto + 1.5857 5.592 lineto + 1.5844 5.6807 lineto + 1.5833 5.7695 lineto + 1.5822 5.8582 lineto + 1.5813 5.947 lineto + 1.5804 6.0357 lineto + 1.5796 6.1245 lineto + 1.5865 6.2435 lineto + 0.5285 6.378103166302659 lineto + 0.2419 6.378103166302659 lineto + 0.116 6.378103166302659 lineto + 1.5708 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, -1.1579208923731617E77) +newpath + 0.0 1.7627 moveto + 0.0793 1.7661 lineto + 0.1601 1.7764 lineto + 0.2261 1.79 lineto + 0.3161 1.8165 lineto + 0.3717 1.8374 lineto + 0.4346 1.8657 lineto + 0.5048 1.903 lineto + 0.5814 1.9512 lineto + 0.6631 2.0122 lineto + 0.7482 2.0872 lineto + 0.7913 2.1302 lineto + 0.8343 2.1769 lineto + 0.877 2.2273 lineto + 0.9191 2.2814 lineto + 0.9603 2.3389 lineto + 1.0003 2.3997 lineto + 1.039 2.4637 lineto + 1.0762 2.5306 lineto + 1.1117 2.6002 lineto + 1.1455 2.6722 lineto + 1.1774 2.7464 lineto + 1.2074 2.8227 lineto + 1.2356 2.9006 lineto + 1.262 2.9802 lineto + 1.2866 3.061 lineto + 1.3094 3.1431 lineto + 1.3306 3.2261 lineto + 1.3502 3.31 lineto + 1.3683 3.3947 lineto + 1.3851 3.48 lineto + 1.4005 3.5658 lineto + 1.4146 3.6521 lineto + 1.4277 3.7388 lineto + 1.4397 3.8258 lineto + 1.4507 3.9131 lineto + 1.4608 4.0006 lineto + 1.4701 4.0883 lineto + 1.4786 4.1762 lineto + 1.4863 4.2643 lineto + 1.4935 4.3524 lineto + 1.5 4.4407 lineto + 1.506 4.529 lineto + 1.5115 4.6174 lineto + 1.5165 4.7059 lineto + 1.5211 4.7944 lineto + 1.5253 4.8829 lineto + 1.5292 4.9715 lineto + 1.5327 5.0601 lineto + 1.5359 5.1487 lineto + 1.5389 5.2374 lineto + 1.5416 5.3261 lineto + 1.5441 5.4147 lineto + 1.5464 5.5034 lineto + 1.5484 5.5921 lineto + 1.5503 5.6809 lineto + 1.5521 5.7696 lineto + 1.5537 5.8583 lineto + 1.5551 5.947 lineto + 1.5564 6.0358 lineto + 1.5577 6.1245 lineto + 1.5676 6.2483 lineto + 0.5285 6.378103166302659 lineto + 0.2419 6.378103166302659 lineto + 0.116 6.378103166302659 lineto + 1.5708 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, -1.1579208923731617E77) +newpath + 3.1416 1.7627 moveto + 3.0623 1.7661 lineto + 2.9815 1.7764 lineto + 2.9155 1.79 lineto + 2.8255 1.8165 lineto + 2.7699 1.8374 lineto + 2.707 1.8657 lineto + 2.6368 1.903 lineto + 2.5602 1.9512 lineto + 2.4785 2.0122 lineto + 2.3934 2.0872 lineto + 2.3503 2.1302 lineto + 2.3073 2.1769 lineto + 2.2646 2.2273 lineto + 2.2225 2.2814 lineto + 2.1813 2.3389 lineto + 2.1413 2.3997 lineto + 2.1026 2.4637 lineto + 2.0654 2.5306 lineto + 2.0299 2.6002 lineto + 1.9961 2.6722 lineto + 1.9642 2.7464 lineto + 1.9342 2.8227 lineto + 1.906 2.9006 lineto + 1.8796 2.9802 lineto + 1.855 3.061 lineto + 1.8322 3.1431 lineto + 1.811 3.2261 lineto + 1.7914 3.31 lineto + 1.7733 3.3947 lineto + 1.7565 3.48 lineto + 1.7411 3.5658 lineto + 1.7269 3.6521 lineto + 1.7139 3.7388 lineto + 1.7019 3.8258 lineto + 1.6909 3.9131 lineto + 1.6808 4.0006 lineto + 1.6715 4.0883 lineto + 1.663 4.1762 lineto + 1.6553 4.2643 lineto + 1.6481 4.3524 lineto + 1.6416 4.4407 lineto + 1.6356 4.529 lineto + 1.6301 4.6174 lineto + 1.6251 4.7059 lineto + 1.6205 4.7944 lineto + 1.6163 4.8829 lineto + 1.6124 4.9715 lineto + 1.6089 5.0601 lineto + 1.6056 5.1487 lineto + 1.6027 5.2374 lineto + 1.6 5.3261 lineto + 1.5975 5.4147 lineto + 1.5952 5.5034 lineto + 1.5932 5.5921 lineto + 1.5913 5.6809 lineto + 1.5895 5.7696 lineto + 1.5879 5.8583 lineto + 1.5865 5.947 lineto + 1.5851 6.0358 lineto + 1.5839 6.1245 lineto + 1.5903 6.2425 lineto + 0.5285 6.378103166302659 lineto + 0.2419 6.378103166302659 lineto + 0.116 6.378103166302659 lineto + 1.5708 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Real axis +newpath -5 0 moveto 5 0 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 1.0 0.12 moveto 1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.0 0.12 moveto -1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 2.0 0.12 moveto 2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -2.0 0.12 moveto -2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.0 0.12 moveto 3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.0 0.12 moveto -3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 4.0 0.12 moveto 4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -4.0 0.12 moveto -4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 1.5707963267948966 0.09 moveto 1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.5707963267948966 0.09 moveto -1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.141592653589793 0.09 moveto 3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.141592653589793 0.09 moveto -3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +% Imaginary axis +newpath 0 -5 moveto 0 5 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 0.12 1.0 moveto -0.12 1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -1.0 moveto -0.12 -1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 2.0 moveto -0.12 2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -2.0 moveto -0.12 -2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 3.0 moveto -0.12 3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -3.0 moveto -0.12 -3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 4.0 moveto -0.12 4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -4.0 moveto -0.12 -4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 1.5707963267948966 moveto -0.09 1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -1.5707963267948966 moveto -0.09 -1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 3.141592653589793 moveto -0.09 3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -3.141592653589793 moveto -0.09 -3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +% End of PostScript file for plot of function ACOS +%%EndDocument + @endspecial 217 x(The)e(graph)h(of)f Fj(acos)e FA(is)j(v)o(ery)f(m)o +(uc)o(h)h(lik)o(e)g(that)g(of)f Fj(asin)p FA(.)j(One)d(migh)o(t)h +(think)h(that)e(our)g(nerv)o(ous)0 2028 y(p)q(eaco)q(c)o(k)16 +b(has)f(sh)o(u\017ed)g(half)h(a)e(step)h(to)g(the)g(righ)o(t,)g(but)g +(the)g(shading)i(on)e(the)f(ann)o(uli)j(sho)o(ws)0 2074 +y(that)c(w)o(e)g(ha)o(v)o(e)h(instead)g(caugh)o(t)g(the)g(bird)g +(exactly)h(in)f(mid-\015igh)o(t)h(while)f(doing)h(a)e(cart)o(wheel.)0 +2120 y(This)19 b(is)g(easily)h(understo)q(o)q(d)g(if)e(w)o(e)g(recall)i +(that)e(arccos)7 b Fq(z)24 b FA(=)19 b(\()p Fd(\031)q(=)p +FA(2\))13 b Ff(\000)e FA(arcsin)d Fq(z)d FA(;)20 b(negating)0 +2165 y(arcsin)8 b Fq(z)15 b FA(rotates)d(it)g(upside)h(do)o(wn,)e(and)h +(adding)h(the)f(result)g(to)f Fd(\031)q(=)p FA(2)h(translates)h(it)e +Fd(\031)q(=)p FA(2)h(to)f(the)0 2211 y(righ)o(t.)21 b(The)14 +b(imaginary)i(axis)g(is)e(mapp)q(ed)h(upside)h(do)o(wn)f(to)f(the)g(v)o +(ertical)h(line)h(at)e Fd(\031)q(=)p FA(2.)21 b(The)0 +2257 y(p)q(oin)o(t)14 b(+1)f(is)h(mapp)q(ed)g(to)f(the)g(origin,)h(and) +g Ff(\000)p FA(1)f(to)g Fd(\031)q FA(.)k(The)c(image)h(of)f(the)g(real) +g(axis)i(is)e(again)0 2302 y(cranky;)h(+)p Ff(1)f FA(is)g(mapp)q(ed)h +(to)f(+)p Ff(1)p Fq(i)t FA(,)g(and)g Ff(\0001)g FA(to)g +Fd(\031)d Ff(\000)e(1)p Fq(i)t FA(.)p 0 2332 V -33 2344 +a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 351 375 +351 374 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(351)p +0 255 1395 2 v 0 322 a Fm(Figure)14 b(12-11:)j FA(Illustration)f(of)d +(the)g(Range)h(of)f(the)g(T)m(angen)o(t)g(F)m(unction)0 +1766 y @beginspecial @setspecial +%%BeginDocument: tan-plot.ps +% PostScript file for plot of function TAN +% Plot is to fit in a region 4.666666666666667 inches square +% showing axes extending 4.1 units from the origin. + +40.97560975609756 40.97560975609756 scale +4.1 4.1 translate +newpath + -4.1 -4.1 moveto + 4.1 -4.1 lineto + 4.1 4.1 lineto + -4.1 4.1 lineto + closepath +clip +% Moby grid for function TAN +% Annulus 0.25 0.5 4 0.97 0.45 +% Sector from 4.7124 to 6.2832 (quadrant 3) +newpath + 0.0 -0.2449 moveto + 0.0 -0.3584 lineto + %middle radial + 0.0 -0.3584 lineto + 0.0 -0.4621 lineto + %end radial + 0.0 -0.4621 lineto + 0.073 -0.4584 lineto + 0.1504 -0.4461 lineto + 0.2332 -0.4219 lineto + 0.3215 -0.3798 lineto + %middle circumferential + 0.3215 -0.3798 lineto + 0.3994 -0.3226 lineto + 0.4715 -0.2403 lineto + 0.5017 -0.1887 lineto + 0.5255 -0.1306 lineto + 0.5409 -0.0671 lineto + 0.5463 0.0 lineto + %end circumferential + 0.5463 0.0 lineto + 0.3936 0.0 lineto + %middle radial + 0.3936 0.0 lineto + 0.2553 0.0 lineto + %end radial + 0.2553 0.0 lineto + 0.2314 -0.1037 lineto + 0.173 -0.1804 lineto + %middle circumferential + 0.173 -0.1804 lineto + 0.0876 -0.2301 lineto + 0.0 -0.2449 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 3.1416 to 4.7124 (quadrant 2) +newpath + -0.2553 0.0 moveto + -0.3936 0.0 lineto + %middle radial + -0.3936 0.0 lineto + -0.5463 0.0 lineto + %end radial + -0.5463 0.0 lineto + -0.5424 -0.0574 lineto + -0.5303 -0.1148 lineto + -0.5103 -0.1704 lineto + -0.4829 -0.2228 lineto + -0.41 -0.3128 lineto + -0.3215 -0.3798 lineto + %middle circumferential + -0.3215 -0.3798 lineto + -0.2436 -0.4179 lineto + -0.1638 -0.443 lineto + -0.0829 -0.4574 lineto + 0.0 -0.4621 lineto + %end circumferential + 0.0 -0.4621 lineto + 0.0 -0.3584 lineto + %middle radial + 0.0 -0.3584 lineto + 0.0 -0.2449 lineto + %end radial + 0.0 -0.2449 lineto + -0.095 -0.2274 lineto + -0.173 -0.1804 lineto + %middle circumferential + -0.173 -0.1804 lineto + -0.2353 -0.0954 lineto + -0.2553 0.0 lineto + %end circumferential + closepath +currentgray 0.6233333333333334 setgray fill setgray +% Sector from 1.5708 to 3.1416 (quadrant 1) +newpath + 0.0 0.2449 moveto + 0.0 0.3584 lineto + %middle radial + 0.0 0.3584 lineto + 0.0 0.4621 lineto + %end radial + 0.0 0.4621 lineto + -0.0661 0.4591 lineto + -0.1404 0.4482 lineto + -0.2251 0.4248 lineto + -0.3215 0.3798 lineto + %middle circumferential + -0.3215 0.3798 lineto + -0.395 0.3266 lineto + -0.4664 0.2476 lineto + -0.4977 0.1966 lineto + -0.5232 0.1377 lineto + -0.5402 0.0715 lineto + -0.5463 0.0 lineto + %end circumferential + -0.5463 0.0 lineto + -0.3936 0.0 lineto + %middle radial + -0.3936 0.0 lineto + -0.2553 0.0 lineto + %end radial + -0.2553 0.0 lineto + -0.2297 0.1072 lineto + -0.173 0.1804 lineto + %middle circumferential + -0.173 0.1804 lineto + -0.082 0.232 lineto + 0.0 0.2449 lineto + %end circumferential + closepath +currentgray 0.7966666666666668 setgray fill setgray +% Sector from 0.0 to 1.5708 (quadrant 0) +newpath + 0.2553 0.0 moveto + 0.3936 0.0 lineto + %middle radial + 0.3936 0.0 lineto + 0.5463 0.0 lineto + %end radial + 0.5463 0.0 lineto + 0.5463 0.0015 lineto + 0.5382 0.0822 lineto + 0.5128 0.1648 lineto + 0.48 0.2274 lineto + 0.4203 0.3027 lineto + 0.3764 0.3421 lineto + 0.3215 0.3798 lineto + %middle circumferential + 0.3215 0.3798 lineto + 0.2582 0.4119 lineto + 0.1842 0.4377 lineto + 0.0988 0.4553 lineto + 0.0 0.4621 lineto + %end circumferential + 0.0 0.4621 lineto + 0.0 0.3584 lineto + %middle radial + 0.0 0.3584 lineto + 0.0 0.2449 lineto + %end radial + 0.0 0.2449 lineto + 0.0306 0.2432 lineto + 0.106 0.2229 lineto + 0.173 0.1804 lineto + %middle circumferential + 0.173 0.1804 lineto + 0.2131 0.1351 lineto + 0.2503 0.0485 lineto + 0.2553 0.0 lineto + %end circumferential + closepath +currentgray 0.9700000000000001 setgray fill setgray +% Annulus 0.75 1.0 8 0.97 0.45 +% Sector from 5.4978 to 6.2832 (quadrant 3) +newpath + 0.4145 -0.6037 moveto + 0.425 -0.6592 lineto + 0.4304 -0.7188 lineto + %middle radial + 0.4304 -0.7188 lineto + 0.4232 -0.829 lineto + %end radial + 0.4232 -0.829 lineto + 0.5118 -0.8423 lineto + 0.6214 -0.8508 lineto + 0.6863 -0.8511 lineto + 0.7589 -0.8467 lineto + 0.8401 -0.8355 lineto + 0.9302 -0.8146 lineto + %middle circumferential + 0.9302 -0.8146 lineto + 1.0222 -0.783 lineto + 1.1203 -0.7361 lineto + 1.1708 -0.7057 lineto + 1.2217 -0.6701 lineto + 1.2723 -0.6287 lineto + 1.3218 -0.5813 lineto + 1.3694 -0.5277 lineto + 1.4139 -0.4677 lineto + 1.4543 -0.4016 lineto + 1.4894 -0.3296 lineto + 1.5182 -0.2524 lineto + 1.5397 -0.171 lineto + 1.5529 -0.0864 lineto + 1.5574 0.0 lineto + %end circumferential + 1.5574 0.0 lineto + 1.1974 0.0 lineto + %middle radial + 1.1974 0.0 lineto + 0.9316 0.0 lineto + %end radial + 0.9316 0.0 lineto + 0.9273 -0.0704 lineto + 0.9149 -0.1387 lineto + 0.8951 -0.2034 lineto + 0.869 -0.2635 lineto + 0.8379 -0.3182 lineto + 0.803 -0.3672 lineto + 0.7264 -0.4479 lineto + %middle circumferential + 0.7264 -0.4479 lineto + 0.6416 -0.511 lineto + 0.5597 -0.5548 lineto + 0.4837 -0.5843 lineto + 0.4145 -0.6037 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 4.7124 to 5.4978 (quadrant 3) +newpath + 0.0 -0.6351 moveto + 0.0 -0.7039 lineto + %middle radial + 0.0 -0.7039 lineto + 0.0 -0.7616 lineto + %end radial + 0.0 -0.7616 lineto + 0.0819 -0.7657 lineto + 0.1744 -0.7788 lineto + %middle circumferential + 0.1744 -0.7788 lineto + 0.28 -0.8001 lineto + 0.3452 -0.814 lineto + 0.4232 -0.829 lineto + %end circumferential + 0.4232 -0.829 lineto + 0.4304 -0.7188 lineto + %middle radial + 0.4304 -0.7188 lineto + 0.425 -0.6592 lineto + 0.4145 -0.6037 lineto + %end radial + 0.4145 -0.6037 lineto + 0.3476 -0.6168 lineto + 0.2874 -0.6248 lineto + 0.1832 -0.6323 lineto + %middle circumferential + 0.1832 -0.6323 lineto + 0.087 -0.6347 lineto + 0.0 -0.6351 lineto + %end circumferential + closepath +currentgray 0.5242857142857142 setgray fill setgray +% Sector from 3.927 to 4.7124 (quadrant 2) +newpath + -0.4145 -0.6037 moveto + -0.425 -0.6592 lineto + -0.4304 -0.7188 lineto + %middle radial + -0.4304 -0.7188 lineto + -0.4232 -0.829 lineto + %end radial + -0.4232 -0.829 lineto + -0.3851 -0.822 lineto + -0.3164 -0.8079 lineto + -0.2555 -0.7949 lineto + -0.1744 -0.7788 lineto + %middle circumferential + -0.1744 -0.7788 lineto + -0.0855 -0.766 lineto + 0.0 -0.7616 lineto + %end circumferential + 0.0 -0.7616 lineto + 0.0 -0.7039 lineto + %middle radial + 0.0 -0.7039 lineto + 0.0 -0.6351 lineto + %end radial + 0.0 -0.6351 lineto + -0.0907 -0.6346 lineto + -0.1832 -0.6323 lineto + %middle circumferential + -0.1832 -0.6323 lineto + -0.2923 -0.6243 lineto + -0.3515 -0.6162 lineto + -0.4145 -0.6037 lineto + %end circumferential + closepath +currentgray 0.5985714285714285 setgray fill setgray +% Sector from 3.1416 to 3.927 (quadrant 2) +newpath + -0.9316 0.0 moveto + -1.1974 0.0 lineto + %middle radial + -1.1974 0.0 lineto + -1.5574 0.0 lineto + %end radial + -1.5574 0.0 lineto + -1.5565 -0.0397 lineto + -1.5489 -0.1188 lineto + -1.5338 -0.1969 lineto + -1.5115 -0.2727 lineto + -1.4825 -0.3452 lineto + -1.4476 -0.4136 lineto + -1.4074 -0.4772 lineto + -1.363 -0.5355 lineto + -1.3152 -0.5882 lineto + -1.265 -0.6351 lineto + -1.2132 -0.6764 lineto + -1.1607 -0.7122 lineto + -1.108 -0.7428 lineto + -1.0301 -0.7797 lineto + -0.9302 -0.8146 lineto + %middle circumferential + -0.9302 -0.8146 lineto + -0.8465 -0.8343 lineto + -0.7688 -0.8457 lineto + -0.6975 -0.8508 lineto + -0.6322 -0.8511 lineto + -0.5727 -0.8482 lineto + -0.4687 -0.8365 lineto + -0.4232 -0.829 lineto + %end circumferential + -0.4232 -0.829 lineto + -0.4304 -0.7188 lineto + %middle radial + -0.4304 -0.7188 lineto + -0.425 -0.6592 lineto + -0.4145 -0.6037 lineto + %end radial + -0.4145 -0.6037 lineto + -0.4885 -0.5827 lineto + -0.5666 -0.5516 lineto + -0.647 -0.5076 lineto + -0.7264 -0.4479 lineto + %middle circumferential + -0.7264 -0.4479 lineto + -0.7686 -0.407 lineto + -0.808 -0.3607 lineto + -0.8436 -0.3092 lineto + -0.8742 -0.2529 lineto + -0.8989 -0.1928 lineto + -0.917 -0.1298 lineto + -0.928 -0.0651 lineto + -0.9316 0.0 lineto + %end circumferential + closepath +currentgray 0.6728571428571428 setgray fill setgray +% Sector from 2.3562 to 3.1416 (quadrant 1) +newpath + -0.4145 0.6037 moveto + -0.425 0.6592 lineto + -0.4304 0.7188 lineto + %middle radial + -0.4304 0.7188 lineto + -0.4232 0.829 lineto + %end radial + -0.4232 0.829 lineto + -0.5087 0.8419 lineto + -0.6163 0.8507 lineto + -0.6808 0.8512 lineto + -0.754 0.8472 lineto + -0.8369 0.8361 lineto + -0.9302 0.8146 lineto + %middle circumferential + -0.9302 0.8146 lineto + -1.0193 0.7841 lineto + -1.1151 0.7389 lineto + -1.1899 0.693 lineto + -1.2404 0.6556 lineto + -1.2905 0.6123 lineto + -1.3394 0.5626 lineto + -1.3861 0.5064 lineto + -1.4296 0.4436 lineto + -1.4686 0.3743 lineto + -1.5019 0.2989 lineto + -1.5283 0.2181 lineto + -1.5467 0.133 lineto + -1.5562 0.0448 lineto + -1.5574 0.0 lineto + %end circumferential + -1.5574 0.0 lineto + -1.1974 0.0 lineto + %middle radial + -1.1974 0.0 lineto + -0.9316 0.0 lineto + %end radial + -0.9316 0.0 lineto + -0.9271 0.0725 lineto + -0.9141 0.1422 lineto + -0.8936 0.2075 lineto + -0.867 0.2675 lineto + -0.8357 0.3216 lineto + -0.8011 0.3696 lineto + -0.7264 0.4479 lineto + %middle circumferential + -0.7264 0.4479 lineto + -0.6389 0.5127 lineto + -0.5563 0.5563 lineto + -0.4813 0.5851 lineto + -0.4145 0.6037 lineto + %end circumferential + closepath +currentgray 0.7471428571428572 setgray fill setgray +% Sector from 1.5708 to 2.3562 (quadrant 1) +newpath + 0.0 0.6351 moveto + 0.0 0.7039 lineto + %middle radial + 0.0 0.7039 lineto + 0.0 0.7616 lineto + %end radial + 0.0 0.7616 lineto + -0.0788 0.7654 lineto + -0.1744 0.7788 lineto + %middle circumferential + -0.1744 0.7788 lineto + -0.2767 0.7994 lineto + -0.3423 0.8134 lineto + -0.4232 0.829 lineto + %end circumferential + -0.4232 0.829 lineto + -0.4304 0.7188 lineto + %middle radial + -0.4304 0.7188 lineto + -0.425 0.6592 lineto + -0.4145 0.6037 lineto + %end radial + -0.4145 0.6037 lineto + -0.345 0.6172 lineto + -0.2844 0.6251 lineto + -0.1832 0.6323 lineto + %middle circumferential + -0.1832 0.6323 lineto + -0.0837 0.6347 lineto + 0.0 0.6351 lineto + %end circumferential + closepath +currentgray 0.8214285714285714 setgray fill setgray +% Sector from 0.7854 to 1.5708 (quadrant 0) +newpath + 0.4145 0.6037 moveto + 0.425 0.6592 lineto + 0.4304 0.7188 lineto + %middle radial + 0.4304 0.7188 lineto + 0.4232 0.829 lineto + %end radial + 0.4232 0.829 lineto + 0.3575 0.8165 lineto + 0.2946 0.8033 lineto + 0.2338 0.7904 lineto + 0.1744 0.7788 lineto + %middle circumferential + 0.1744 0.7788 lineto + 0.0898 0.7665 lineto + 0.0 0.7616 lineto + %end circumferential + 0.0 0.7616 lineto + 0.0 0.7039 lineto + %middle radial + 0.0 0.7039 lineto + 0.0 0.6351 lineto + %end radial + 0.0 0.6351 lineto + 0.0953 0.6346 lineto + 0.1832 0.6323 lineto + %middle circumferential + 0.1832 0.6323 lineto + 0.2428 0.6288 lineto + 0.3012 0.6233 lineto + 0.4145 0.6037 lineto + %end circumferential + closepath +currentgray 0.8957142857142858 setgray fill setgray +% Sector from 0.0 to 0.7854 (quadrant 0) +newpath + 0.9316 0.0 moveto + 1.1974 0.0 lineto + %middle radial + 1.1974 0.0 lineto + 1.5574 0.0 lineto + %end radial + 1.5574 0.0 lineto + 1.5572 0.0175 lineto + 1.5506 0.1065 lineto + 1.5373 0.1817 lineto + 1.5166 0.2574 lineto + 1.4887 0.3314 lineto + 1.4607 0.3897 lineto + 1.4224 0.4549 lineto + 1.371 0.5257 lineto + 1.3038 0.5995 lineto + 1.2187 0.6724 lineto + 1.1691 0.7068 lineto + 1.1151 0.739 lineto + 1.0569 0.7681 lineto + 0.995 0.7935 lineto + 0.9302 0.8146 lineto + %middle circumferential + 0.9302 0.8146 lineto + 0.8661 0.8304 lineto + 0.8007 0.8418 lineto + 0.735 0.8487 lineto + 0.6696 0.8514 lineto + 0.6052 0.8502 lineto + 0.5425 0.8456 lineto + 0.4817 0.8384 lineto + 0.4232 0.829 lineto + %end circumferential + 0.4232 0.829 lineto + 0.4304 0.7188 lineto + %middle radial + 0.4304 0.7188 lineto + 0.425 0.6592 lineto + 0.4145 0.6037 lineto + %end radial + 0.4145 0.6037 lineto + 0.506 0.5766 lineto + 0.5899 0.5403 lineto + 0.6639 0.4964 lineto + 0.7264 0.4479 lineto + %middle circumferential + 0.7264 0.4479 lineto + 0.7791 0.3955 lineto + 0.8202 0.3443 lineto + 0.8742 0.2529 lineto + 0.9029 0.181 lineto + 0.9247 0.0896 lineto + 0.9308 0.0304 lineto + 0.9316 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 1.5708 2.0 16 0.97 0.45 +% Sector from 5.8905 to 6.2832 (quadrant 3) +newpath + 0.2812 -1.7965 moveto + 0.2217 -1.7966 lineto + 0.1629 -1.7915 lineto + 0.0501 -1.7663 lineto + -0.0528 -1.7232 lineto + -0.1424 -1.6657 lineto + %middle radial + -0.1424 -1.6657 lineto + -0.2092 -1.6058 lineto + -0.2634 -1.5406 lineto + -0.3052 -1.4727 lineto + -0.3354 -1.4043 lineto + %end radial + -0.3354 -1.4043 lineto + -0.3653 -1.4146 lineto + -0.4318 -1.4342 lineto + -0.5081 -1.4515 lineto + -0.5953 -1.465 lineto + -0.6948 -1.473 lineto + -0.8079 -1.4727 lineto + -0.8698 -1.4685 lineto + -0.9353 -1.4609 lineto + -1.0046 -1.4494 lineto + -1.0775 -1.4334 lineto + -1.1539 -1.4121 lineto + %middle circumferential + -1.1539 -1.4121 lineto + -1.231 -1.3859 lineto + -1.3109 -1.3533 lineto + -1.393 -1.3138 lineto + -1.4769 -1.2665 lineto + -1.5616 -1.2108 lineto + -1.6463 -1.146 lineto + -1.7299 -1.0716 lineto + -1.7909 -1.0093 lineto + -1.8306 -0.9646 lineto + -1.8692 -0.9174 lineto + -1.9064 -0.8676 lineto + -1.9422 -0.8154 lineto + -1.9763 -0.7608 lineto + -2.0085 -0.7038 lineto + -2.0386 -0.6445 lineto + -2.0663 -0.5831 lineto + -2.0916 -0.5197 lineto + -2.1141 -0.4544 lineto + -2.1338 -0.3875 lineto + -2.1505 -0.3192 lineto + -2.164 -0.2496 lineto + -2.1743 -0.1791 lineto + -2.1811 -0.1078 lineto + -2.1846 -0.036 lineto + -2.185 0.0 lineto + %end circumferential + -2.185 0.0 lineto + -4.588 0.0 lineto + %middle radial + -4.588 0.0 lineto + -6.3564 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + %start splice + -6.378103166302659 -6.378103166302659 lineto + -6.378103166302659 -6.378103166302659 lineto + -6.378103166302659 -6.378103166302659 lineto + -6.378103166302659 -6.378103166302659 lineto + -6.378103166302659 -6.378103166302659 lineto + -6.378103166302659 -6.378103166302659 lineto + -6.378103166302659 -6.378103166302659 lineto + 0.3183 -6.378103166302659 lineto + %end splice + %end radial + 0.3183 -6.378103166302659 lineto + 0.3174 -6.378103166302659 lineto + 0.3156 -6.3053 lineto + 0.3153 -5.9959 lineto + 0.315 -5.7163 lineto + 0.3147 -5.4281 lineto + 0.3143 -5.1686 lineto + 0.3138 -4.9059 lineto + 0.3135 -4.7458 lineto + 0.3132 -4.5963 lineto + 0.3128 -4.4117 lineto + 0.3123 -4.2422 lineto + 0.3118 -4.086 lineto + 0.3113 -3.9416 lineto + 0.3108 -3.8077 lineto + 0.3103 -3.6832 lineto + 0.3096 -3.5395 lineto + 0.309 -3.4331 lineto + 0.3084 -3.3334 lineto + %middle circumferential + 0.3084 -3.3334 lineto + 0.3078 -3.2364 lineto + 0.3072 -3.1455 lineto + 0.3065 -3.0601 lineto + 0.3058 -2.9797 lineto + 0.3052 -2.9039 lineto + 0.3044 -2.8324 lineto + 0.3037 -2.7648 lineto + 0.303 -2.7007 lineto + 0.3022 -2.64 lineto + 0.3007 -2.5277 lineto + 0.2991 -2.4259 lineto + 0.2974 -2.3335 lineto + 0.2957 -2.2492 lineto + 0.2939 -2.1719 lineto + 0.2921 -2.101 lineto + 0.2902 -2.0357 lineto + 0.2873 -1.9469 lineto + 0.2832 -1.843 lineto + 0.2812 -1.7965 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.4978 to 5.8905 (quadrant 3) +newpath + 0.196 -1.1225 moveto + 0.1057 -1.1345 lineto + %middle radial + 0.1057 -1.1345 lineto + 0.0409 -1.1184 lineto + %end radial + 0.0409 -1.1184 lineto + 0.0096 -1.1709 lineto + -0.0497 -1.2374 lineto + %middle circumferential + -0.0497 -1.2374 lineto + -0.1213 -1.2952 lineto + -0.1893 -1.3378 lineto + -0.2796 -1.3823 lineto + -0.3354 -1.4043 lineto + %end circumferential + -0.3354 -1.4043 lineto + -0.3052 -1.4727 lineto + -0.2634 -1.5406 lineto + -0.2092 -1.6058 lineto + -0.1424 -1.6657 lineto + %middle radial + -0.1424 -1.6657 lineto + -0.0528 -1.7232 lineto + 0.0501 -1.7663 lineto + 0.1629 -1.7915 lineto + 0.2217 -1.7966 lineto + 0.2812 -1.7965 lineto + %end radial + 0.2812 -1.7965 lineto + 0.2767 -1.7097 lineto + 0.2721 -1.634 lineto + 0.2674 -1.5674 lineto + 0.2625 -1.5086 lineto + 0.2524 -1.4095 lineto + 0.2419 -1.3297 lineto + %middle circumferential + 0.2419 -1.3297 lineto + 0.2307 -1.2625 lineto + 0.2077 -1.1611 lineto + 0.196 -1.1225 lineto + %end circumferential + closepath +currentgray 0.48466666666666664 setgray fill setgray +% Sector from 5.1051 to 5.4978 (quadrant 3) +newpath + 0.0982 -0.9563 moveto + 0.0711 -0.9826 lineto + %middle radial + 0.0711 -0.9826 lineto + 0.0495 -0.9968 lineto + %end radial + 0.0495 -0.9968 lineto + 0.0597 -1.0428 lineto + %middle circumferential + 0.0597 -1.0428 lineto + 0.0409 -1.1184 lineto + %end circumferential + 0.0409 -1.1184 lineto + 0.1057 -1.1345 lineto + %middle radial + 0.1057 -1.1345 lineto + 0.196 -1.1225 lineto + %end radial + 0.196 -1.1225 lineto + 0.1839 -1.0887 lineto + 0.1475 -1.015 lineto + %middle circumferential + 0.1475 -1.015 lineto + 0.0982 -0.9563 lineto + %end circumferential + closepath +currentgray 0.5193333333333334 setgray fill setgray +% Sector from 4.7124 to 5.1051 (quadrant 3) +newpath + 0.0 -0.9172 moveto + 0.0 -0.9453 lineto + %middle radial + 0.0 -0.9453 lineto + 0.0 -0.964 lineto + %end radial + 0.0 -0.964 lineto + 0.0271 -0.9719 lineto + %middle circumferential + 0.0271 -0.9719 lineto + 0.0495 -0.9968 lineto + %end circumferential + 0.0495 -0.9968 lineto + 0.0711 -0.9826 lineto + %middle radial + 0.0711 -0.9826 lineto + 0.0982 -0.9563 lineto + %end radial + 0.0982 -0.9563 lineto + 0.049 -0.9264 lineto + %middle circumferential + 0.049 -0.9264 lineto + 0.0 -0.9172 lineto + %end circumferential + closepath +currentgray 0.554 setgray fill setgray +% Sector from 4.3197 to 4.7124 (quadrant 2) +newpath + -0.0982 -0.9563 moveto + -0.0711 -0.9826 lineto + %middle radial + -0.0711 -0.9826 lineto + -0.0495 -0.9968 lineto + %end radial + -0.0495 -0.9968 lineto + -0.0271 -0.9719 lineto + %middle circumferential + -0.0271 -0.9719 lineto + 0.0 -0.964 lineto + %end circumferential + 0.0 -0.964 lineto + 0.0 -0.9453 lineto + %middle radial + 0.0 -0.9453 lineto + 0.0 -0.9172 lineto + %end radial + 0.0 -0.9172 lineto + -0.049 -0.9264 lineto + %middle circumferential + -0.049 -0.9264 lineto + -0.0982 -0.9563 lineto + %end circumferential + closepath +currentgray 0.5886666666666667 setgray fill setgray +% Sector from 3.927 to 4.3197 (quadrant 2) +newpath + -0.196 -1.1225 moveto + -0.1057 -1.1345 lineto + %middle radial + -0.1057 -1.1345 lineto + -0.0409 -1.1184 lineto + %end radial + -0.0409 -1.1184 lineto + -0.0597 -1.0428 lineto + %middle circumferential + -0.0597 -1.0428 lineto + -0.0495 -0.9968 lineto + %end circumferential + -0.0495 -0.9968 lineto + -0.0711 -0.9826 lineto + %middle radial + -0.0711 -0.9826 lineto + -0.0982 -0.9563 lineto + %end radial + -0.0982 -0.9563 lineto + -0.1475 -1.015 lineto + %middle circumferential + -0.1475 -1.015 lineto + -0.1843 -1.0897 lineto + -0.196 -1.1225 lineto + %end circumferential + closepath +currentgray 0.6233333333333333 setgray fill setgray +% Sector from 3.5343 to 3.927 (quadrant 2) +newpath + -0.2812 -1.7965 moveto + -0.2217 -1.7966 lineto + -0.1629 -1.7915 lineto + -0.0501 -1.7663 lineto + 0.0528 -1.7232 lineto + 0.1424 -1.6657 lineto + %middle radial + 0.1424 -1.6657 lineto + 0.2092 -1.6058 lineto + 0.2634 -1.5406 lineto + 0.3052 -1.4727 lineto + 0.3354 -1.4043 lineto + %end radial + 0.3354 -1.4043 lineto + 0.2342 -1.3614 lineto + 0.1559 -1.318 lineto + 0.0957 -1.2763 lineto + 0.0497 -1.2374 lineto + %middle circumferential + 0.0497 -1.2374 lineto + -0.0087 -1.1722 lineto + -0.0409 -1.1184 lineto + %end circumferential + -0.0409 -1.1184 lineto + -0.1057 -1.1345 lineto + %middle radial + -0.1057 -1.1345 lineto + -0.196 -1.1225 lineto + %end radial + -0.196 -1.1225 lineto + -0.2081 -1.1625 lineto + -0.2311 -1.2644 lineto + -0.2419 -1.3297 lineto + %middle circumferential + -0.2419 -1.3297 lineto + -0.2527 -1.4124 lineto + -0.2629 -1.5135 lineto + -0.2677 -1.5726 lineto + -0.2724 -1.6387 lineto + -0.2769 -1.7128 lineto + -0.2812 -1.7965 lineto + %end circumferential + closepath +currentgray 0.658 setgray fill setgray +% Sector from 3.1416 to 3.5343 (quadrant 2) +newpath + 6.378103166302659 0.0 moveto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.3564 0.0 lineto + 4.588 0.0 lineto + %middle radial + 4.588 0.0 lineto + 2.185 0.0 lineto + %end radial + 2.185 0.0 lineto + 2.1846 -0.0344 lineto + 2.1815 -0.1031 lineto + 2.1751 -0.1716 lineto + 2.1657 -0.2397 lineto + 2.1531 -0.307 lineto + 2.1375 -0.3735 lineto + 2.119 -0.4388 lineto + 2.0978 -0.5027 lineto + 2.0738 -0.5652 lineto + 2.0473 -0.6259 lineto + 2.0185 -0.6848 lineto + 1.9874 -0.7417 lineto + 1.9544 -0.7966 lineto + 1.9195 -0.8492 lineto + 1.8829 -0.8995 lineto + 1.845 -0.9475 lineto + 1.8057 -0.9931 lineto + 1.7449 -1.057 lineto + 1.661 -1.1337 lineto + 1.5752 -1.201 lineto + 1.4887 -1.2592 lineto + 1.4025 -1.3088 lineto + 1.3176 -1.3504 lineto + 1.2345 -1.3846 lineto + 1.1539 -1.4121 lineto + %middle circumferential + 1.1539 -1.4121 lineto + 1.0806 -1.4326 lineto + 1.0101 -1.4484 lineto + 0.9427 -1.4599 lineto + 0.8783 -1.4677 lineto + 0.8171 -1.4723 lineto + 0.7043 -1.4733 lineto + 0.6036 -1.466 lineto + 0.5144 -1.4527 lineto + 0.4358 -1.4352 lineto + 0.3667 -1.415 lineto + 0.3354 -1.4043 lineto + %end circumferential + 0.3354 -1.4043 lineto + 0.3052 -1.4727 lineto + 0.2634 -1.5406 lineto + 0.2092 -1.6058 lineto + 0.1424 -1.6657 lineto + %middle radial + 0.1424 -1.6657 lineto + 0.0528 -1.7232 lineto + -0.0501 -1.7663 lineto + -0.1629 -1.7915 lineto + -0.2217 -1.7966 lineto + -0.2812 -1.7965 lineto + %end radial + -0.2812 -1.7965 lineto + -0.2854 -1.8972 lineto + -0.2885 -1.9826 lineto + -0.2905 -2.045 lineto + -0.2924 -2.1122 lineto + -0.2942 -2.1849 lineto + -0.296 -2.2637 lineto + -0.2977 -2.3494 lineto + -0.2994 -2.4428 lineto + -0.3009 -2.545 lineto + -0.3025 -2.6572 lineto + -0.3032 -2.7175 lineto + -0.3039 -2.7809 lineto + -0.3046 -2.8475 lineto + -0.3053 -2.9178 lineto + -0.3059 -2.9919 lineto + -0.3066 -3.0701 lineto + -0.3072 -3.1528 lineto + -0.3078 -3.2404 lineto + -0.3084 -3.3334 lineto + %middle circumferential + -0.3084 -3.3334 lineto + -0.309 -3.4378 lineto + -0.3096 -3.5492 lineto + -0.3102 -3.6685 lineto + -0.3108 -3.7965 lineto + -0.3113 -3.9342 lineto + -0.3118 -4.0825 lineto + -0.3123 -4.2429 lineto + -0.3128 -4.4168 lineto + -0.3131 -4.5571 lineto + -0.3134 -4.7069 lineto + -0.3138 -4.867 lineto + -0.3142 -5.1292 lineto + -0.3146 -5.3875 lineto + -0.315 -5.6737 lineto + -0.3153 -5.9506 lineto + -0.3156 -6.2561 lineto + -0.3157 -6.3493 lineto + -0.3082 -6.378103166302659 lineto + -0.3183 -6.378103166302659 lineto + %start splice + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 0.0 lineto + %end splice + %end circumferential + closepath +currentgray 0.6926666666666667 setgray fill setgray +% Sector from 2.7489 to 3.1416 (quadrant 1) +newpath + -0.2812 1.7965 moveto + -0.2217 1.7966 lineto + -0.1629 1.7915 lineto + -0.0501 1.7663 lineto + 0.0528 1.7232 lineto + 0.1424 1.6657 lineto + %middle radial + 0.1424 1.6657 lineto + 0.2092 1.6058 lineto + 0.2634 1.5406 lineto + 0.3052 1.4727 lineto + 0.3354 1.4043 lineto + %end radial + 0.3354 1.4043 lineto + 0.3648 1.4144 lineto + 0.4303 1.4338 lineto + 0.5055 1.451 lineto + 0.592 1.4646 lineto + 0.6911 1.4728 lineto + 0.8042 1.4729 lineto + 0.8663 1.4688 lineto + 0.9324 1.4613 lineto + 1.0023 1.4499 lineto + 1.0762 1.4337 lineto + 1.1539 1.4121 lineto + %middle circumferential + 1.1539 1.4121 lineto + 1.2298 1.3863 lineto + 1.3086 1.3544 lineto + 1.3897 1.3155 lineto + 1.4727 1.269 lineto + 1.5568 1.2141 lineto + 1.6411 1.1502 lineto + 1.7245 1.0767 lineto + 1.7857 1.0149 lineto + 1.8255 0.9706 lineto + 1.8642 0.9236 lineto + 1.9017 0.8741 lineto + 1.9378 0.8221 lineto + 1.9723 0.7675 lineto + 2.0049 0.7105 lineto + 2.0354 0.6511 lineto + 2.0636 0.5895 lineto + 2.0893 0.5257 lineto + 2.1123 0.46 lineto + 2.1325 0.3926 lineto + 2.1495 0.3236 lineto + 2.1634 0.2532 lineto + 2.1739 0.1817 lineto + 2.181 0.1094 lineto + 2.1846 0.0366 lineto + 2.185 0.0 lineto + %end circumferential + 2.185 0.0 lineto + 4.588 0.0 lineto + %middle radial + 4.588 0.0 lineto + 6.3564 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + %start splice + 6.378103166302659 6.378103166302659 lineto + 6.378103166302659 6.378103166302659 lineto + 6.378103166302659 6.378103166302659 lineto + 6.378103166302659 6.378103166302659 lineto + 6.378103166302659 6.378103166302659 lineto + 6.378103166302659 6.378103166302659 lineto + 6.378103166302659 6.378103166302659 lineto + -0.3183 6.378103166302659 lineto + %end splice + %end radial + -0.3183 6.378103166302659 lineto + -0.3157 6.3502 lineto + -0.3156 6.2571 lineto + -0.3153 5.9527 lineto + -0.315 5.6776 lineto + -0.3146 5.394 lineto + -0.3142 5.1387 lineto + -0.3138 4.8803 lineto + -0.3135 4.7228 lineto + -0.3132 4.5757 lineto + -0.3127 4.3942 lineto + -0.3122 4.2274 lineto + -0.3118 4.0737 lineto + -0.3113 3.9316 lineto + -0.3108 3.7999 lineto + -0.3102 3.6775 lineto + -0.3096 3.5362 lineto + -0.309 3.4315 lineto + -0.3084 3.3334 lineto + %middle circumferential + -0.3084 3.3334 lineto + -0.3078 3.2348 lineto + -0.3072 3.1425 lineto + -0.3065 3.056 lineto + -0.3058 2.9748 lineto + -0.3051 2.8983 lineto + -0.3044 2.8263 lineto + -0.3037 2.7583 lineto + -0.3029 2.694 lineto + -0.3021 2.6331 lineto + -0.3006 2.5207 lineto + -0.299 2.4192 lineto + -0.2973 2.3272 lineto + -0.2956 2.2434 lineto + -0.2938 2.1668 lineto + -0.292 2.0966 lineto + -0.2901 2.032 lineto + -0.2872 1.9444 lineto + -0.2832 1.8422 lineto + -0.2812 1.7965 lineto + %end circumferential + closepath +currentgray 0.7273333333333334 setgray fill setgray +% Sector from 2.3562 to 2.7489 (quadrant 1) +newpath + -0.196 1.1225 moveto + -0.1057 1.1345 lineto + %middle radial + -0.1057 1.1345 lineto + -0.0409 1.1184 lineto + %end radial + -0.0409 1.1184 lineto + -0.0101 1.1702 lineto + 0.0497 1.2374 lineto + %middle circumferential + 0.0497 1.2374 lineto + 0.1202 1.2944 lineto + 0.1878 1.337 lineto + 0.2787 1.3819 lineto + 0.3354 1.4043 lineto + %end circumferential + 0.3354 1.4043 lineto + 0.3052 1.4727 lineto + 0.2634 1.5406 lineto + 0.2092 1.6058 lineto + 0.1424 1.6657 lineto + %middle radial + 0.1424 1.6657 lineto + 0.0528 1.7232 lineto + -0.0501 1.7663 lineto + -0.1629 1.7915 lineto + -0.2217 1.7966 lineto + -0.2812 1.7965 lineto + %end radial + -0.2812 1.7965 lineto + -0.2766 1.7083 lineto + -0.272 1.6319 lineto + -0.2672 1.5651 lineto + -0.2623 1.5063 lineto + -0.2522 1.4081 lineto + -0.2419 1.3297 lineto + %middle circumferential + -0.2419 1.3297 lineto + -0.2305 1.2614 lineto + -0.2075 1.1604 lineto + -0.196 1.1225 lineto + %end circumferential + closepath +currentgray 0.762 setgray fill setgray +% Sector from 1.9635 to 2.3562 (quadrant 1) +newpath + -0.0982 0.9563 moveto + -0.0711 0.9826 lineto + %middle radial + -0.0711 0.9826 lineto + -0.0495 0.9968 lineto + %end radial + -0.0495 0.9968 lineto + -0.0597 1.0428 lineto + %middle circumferential + -0.0597 1.0428 lineto + -0.0409 1.1184 lineto + %end circumferential + -0.0409 1.1184 lineto + -0.1057 1.1345 lineto + %middle radial + -0.1057 1.1345 lineto + -0.196 1.1225 lineto + %end radial + -0.196 1.1225 lineto + -0.1837 1.0881 lineto + -0.1475 1.015 lineto + %middle circumferential + -0.1475 1.015 lineto + -0.0982 0.9563 lineto + %end circumferential + closepath +currentgray 0.7966666666666666 setgray fill setgray +% Sector from 1.5708 to 1.9635 (quadrant 1) +newpath + 0.0 0.9172 moveto + 0.0 0.9453 lineto + %middle radial + 0.0 0.9453 lineto + 0.0 0.964 lineto + %end radial + 0.0 0.964 lineto + -0.0271 0.9719 lineto + %middle circumferential + -0.0271 0.9719 lineto + -0.0495 0.9968 lineto + %end circumferential + -0.0495 0.9968 lineto + -0.0711 0.9826 lineto + %middle radial + -0.0711 0.9826 lineto + -0.0982 0.9563 lineto + %end radial + -0.0982 0.9563 lineto + -0.049 0.9264 lineto + %middle circumferential + -0.049 0.9264 lineto + 0.0 0.9172 lineto + %end circumferential + closepath +currentgray 0.8313333333333334 setgray fill setgray +% Sector from 1.1781 to 1.5708 (quadrant 0) +newpath + 0.0982 0.9563 moveto + 0.0711 0.9826 lineto + %middle radial + 0.0711 0.9826 lineto + 0.0495 0.9968 lineto + %end radial + 0.0495 0.9968 lineto + 0.0271 0.9719 lineto + %middle circumferential + 0.0271 0.9719 lineto + 0.0 0.964 lineto + %end circumferential + 0.0 0.964 lineto + 0.0 0.9453 lineto + %middle radial + 0.0 0.9453 lineto + 0.0 0.9172 lineto + %end radial + 0.0 0.9172 lineto + 0.049 0.9264 lineto + %middle circumferential + 0.049 0.9264 lineto + 0.0982 0.9563 lineto + %end circumferential + closepath +currentgray 0.866 setgray fill setgray +% Sector from 0.7854 to 1.1781 (quadrant 0) +newpath + 0.196 1.1225 moveto + 0.1057 1.1345 lineto + %middle radial + 0.1057 1.1345 lineto + 0.0409 1.1184 lineto + %end radial + 0.0409 1.1184 lineto + 0.0597 1.0428 lineto + %middle circumferential + 0.0597 1.0428 lineto + 0.0495 0.9968 lineto + %end circumferential + 0.0495 0.9968 lineto + 0.0711 0.9826 lineto + %middle radial + 0.0711 0.9826 lineto + 0.0982 0.9563 lineto + %end radial + 0.0982 0.9563 lineto + 0.1475 1.015 lineto + %middle circumferential + 0.1475 1.015 lineto + 0.185 1.0917 lineto + 0.196 1.1225 lineto + %end circumferential + closepath +currentgray 0.9006666666666666 setgray fill setgray +% Sector from 0.3927 to 0.7854 (quadrant 0) +newpath + 0.2812 1.7965 moveto + 0.2217 1.7966 lineto + 0.1629 1.7915 lineto + 0.0501 1.7663 lineto + -0.0528 1.7232 lineto + -0.1424 1.6657 lineto + %middle radial + -0.1424 1.6657 lineto + -0.2092 1.6058 lineto + -0.2634 1.5406 lineto + -0.3052 1.4727 lineto + -0.3354 1.4043 lineto + %end radial + -0.3354 1.4043 lineto + -0.2457 1.367 lineto + -0.1682 1.3256 lineto + -0.1029 1.2818 lineto + -0.0497 1.2374 lineto + %middle circumferential + -0.0497 1.2374 lineto + 0.0061 1.1757 lineto + 0.0409 1.1184 lineto + %end circumferential + 0.0409 1.1184 lineto + 0.1057 1.1345 lineto + %middle radial + 0.1057 1.1345 lineto + 0.196 1.1225 lineto + %end radial + 0.196 1.1225 lineto + 0.2092 1.1664 lineto + 0.232 1.2697 lineto + 0.2419 1.3297 lineto + %middle circumferential + 0.2419 1.3297 lineto + 0.2541 1.4249 lineto + 0.2646 1.5335 lineto + 0.2693 1.5932 lineto + 0.2736 1.6568 lineto + 0.2775 1.7245 lineto + 0.2812 1.7965 lineto + %end circumferential + closepath +currentgray 0.9353333333333332 setgray fill setgray +% Sector from 0.0 to 0.3927 (quadrant 0) +newpath + -6.378103166302659 0.0 moveto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.3564 0.0 lineto + -4.588 0.0 lineto + %middle radial + -4.588 0.0 lineto + -2.185 0.0 lineto + %end radial + -2.185 0.0 lineto + -2.185 0.0071 lineto + -2.1824 0.0885 lineto + -2.174 0.1813 lineto + -2.1624 0.2589 lineto + -2.1464 0.3372 lineto + -2.13 0.4013 lineto + -2.1069 0.4764 lineto + -2.0745 0.5636 lineto + -2.0294 0.6633 lineto + -2.0009 0.7178 lineto + -1.9676 0.7753 lineto + -1.9289 0.8354 lineto + -1.8842 0.8978 lineto + -1.833 0.9618 lineto + -1.7745 1.0267 lineto + -1.7085 1.0917 lineto + -1.6346 1.1555 lineto + -1.5527 1.217 lineto + -1.463 1.2748 lineto + -1.366 1.3275 lineto + -1.2625 1.3737 lineto + -1.1539 1.4121 lineto + %middle circumferential + -1.1539 1.4121 lineto + -1.046 1.4408 lineto + -0.9362 1.4608 lineto + -0.8264 1.4717 lineto + -0.7183 1.4737 lineto + -0.6137 1.4671 lineto + -0.5141 1.4526 lineto + -0.421 1.4313 lineto + -0.3354 1.4043 lineto + %end circumferential + -0.3354 1.4043 lineto + -0.3052 1.4727 lineto + -0.2634 1.5406 lineto + -0.2092 1.6058 lineto + -0.1424 1.6657 lineto + %middle radial + -0.1424 1.6657 lineto + -0.0528 1.7232 lineto + 0.0501 1.7663 lineto + 0.1629 1.7915 lineto + 0.2217 1.7966 lineto + 0.2812 1.7965 lineto + %end radial + 0.2812 1.7965 lineto + 0.2826 1.8286 lineto + 0.2854 1.8953 lineto + 0.2879 1.9654 lineto + 0.2903 2.0392 lineto + 0.2925 2.1167 lineto + 0.2945 2.1981 lineto + 0.2964 2.2836 lineto + 0.2982 2.3733 lineto + 0.2998 2.4674 lineto + 0.3012 2.5661 lineto + 0.3026 2.6696 lineto + 0.3039 2.778 lineto + 0.305 2.8916 lineto + 0.3056 2.9505 lineto + 0.3064 3.0413 lineto + 0.3071 3.1353 lineto + 0.3078 3.2327 lineto + 0.3084 3.3334 lineto + %middle circumferential + 0.3084 3.3334 lineto + 0.309 3.4384 lineto + 0.3096 3.547 lineto + 0.3102 3.6595 lineto + 0.3108 3.8055 lineto + 0.3114 3.958 lineto + 0.3119 4.117 lineto + 0.3124 4.2829 lineto + 0.3129 4.456 lineto + 0.3133 4.6365 lineto + 0.3137 4.8248 lineto + 0.314 5.0211 lineto + 0.3144 5.2678 lineto + 0.3148 5.5272 lineto + 0.3151 5.8 lineto + 0.3154 6.0866 lineto + 0.3156 6.3367 lineto + 0.313 6.378103166302659 lineto + 0.2202 6.378103166302659 lineto + 0.0778 6.378103166302659 lineto + 0.3183 6.378103166302659 lineto + %start splice + -6.378103166302659 6.378103166302659 lineto + -6.378103166302659 6.378103166302659 lineto + -6.378103166302659 6.378103166302659 lineto + -6.378103166302659 6.378103166302659 lineto + -6.378103166302659 6.378103166302659 lineto + -6.378103166302659 6.378103166302659 lineto + -6.378103166302659 6.378103166302659 lineto + -6.378103166302659 0.0 lineto + %end splice + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 3.0 3.1416 32 0.97 0.45 +% Sector from 6.0868 to 6.2832 (quadrant 3) +newpath + -0.1443 -0.5418 moveto + -0.0925 -0.5429 lineto + %middle radial + -0.0925 -0.5429 lineto + -0.0424 -0.5476 lineto + %end radial + -0.0424 -0.5476 lineto + -0.0352 -0.4919 lineto + -0.0278 -0.4318 lineto + -0.0205 -0.3672 lineto + -0.0138 -0.2986 lineto + %middle circumferential + -0.0138 -0.2986 lineto + -0.0081 -0.2275 lineto + -0.0037 -0.1535 lineto + -0.001 -0.0774 lineto + 0.0 0.0 lineto + %end circumferential + 0.0 0.0 lineto + -0.0709 0.0 lineto + %middle radial + -0.0709 0.0 lineto + -0.1425 0.0 lineto + %end radial + -0.1425 0.0 lineto + -0.1427 -0.0754 lineto + -0.1431 -0.1498 lineto + -0.1436 -0.2223 lineto + -0.1442 -0.2923 lineto + %middle circumferential + -0.1442 -0.2923 lineto + -0.1447 -0.3604 lineto + -0.145 -0.4249 lineto + -0.1449 -0.4854 lineto + -0.1443 -0.5418 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.8905 to 6.0868 (quadrant 3) +newpath + -0.1171 -0.8542 moveto + -0.0936 -0.8502 lineto + %middle radial + -0.0936 -0.8502 lineto + -0.0711 -0.8488 lineto + %end radial + -0.0711 -0.8488 lineto + -0.0698 -0.7955 lineto + -0.0645 -0.7284 lineto + %middle circumferential + -0.0645 -0.7284 lineto + -0.0552 -0.6468 lineto + -0.0424 -0.5476 lineto + %end circumferential + -0.0424 -0.5476 lineto + -0.0925 -0.5429 lineto + %middle radial + -0.0925 -0.5429 lineto + -0.1443 -0.5418 lineto + %end radial + -0.1443 -0.5418 lineto + -0.1413 -0.6435 lineto + -0.1357 -0.7282 lineto + %middle circumferential + -0.1357 -0.7282 lineto + -0.1274 -0.7983 lineto + -0.1171 -0.8542 lineto + %end circumferential + closepath +currentgray 0.4667741935483871 setgray fill setgray +% Sector from 5.6941 to 5.8905 (quadrant 3) +newpath + -0.0672 -0.9784 moveto + -0.0593 -0.9732 lineto + %middle radial + -0.0593 -0.9732 lineto + -0.0516 -0.9692 lineto + %end radial + -0.0516 -0.9692 lineto + -0.0648 -0.9244 lineto + %middle circumferential + -0.0648 -0.9244 lineto + -0.0711 -0.8488 lineto + %end circumferential + -0.0711 -0.8488 lineto + -0.0936 -0.8502 lineto + %middle radial + -0.0936 -0.8502 lineto + -0.1171 -0.8542 lineto + %end radial + -0.1171 -0.8542 lineto + -0.0926 -0.9329 lineto + %middle circumferential + -0.0926 -0.9329 lineto + -0.0672 -0.9784 lineto + %end circumferential + closepath +currentgray 0.4835483870967742 setgray fill setgray +% Sector from 5.4978 to 5.6941 (quadrant 3) +newpath + -0.026 -1.0128 moveto + -0.0245 -1.0091 lineto + %middle radial + -0.0245 -1.0091 lineto + -0.0228 -1.006 lineto + %end radial + -0.0228 -1.006 lineto + -0.0366 -0.994 lineto + %middle circumferential + -0.0366 -0.994 lineto + -0.0516 -0.9692 lineto + %end circumferential + -0.0516 -0.9692 lineto + -0.0593 -0.9732 lineto + %middle radial + -0.0593 -0.9732 lineto + -0.0672 -0.9784 lineto + %end radial + -0.0672 -0.9784 lineto + -0.0445 -1.0023 lineto + %middle circumferential + -0.0445 -1.0023 lineto + -0.026 -1.0128 lineto + %end circumferential + closepath +currentgray 0.5003225806451613 setgray fill setgray +% Sector from 5.3014 to 5.4978 (quadrant 3) +newpath + -0.0026 -1.0135 moveto + -0.0033 -1.0117 lineto + %middle radial + -0.0033 -1.0117 lineto + -0.0037 -1.0102 lineto + %end radial + -0.0037 -1.0102 lineto + -0.0117 -1.0103 lineto + %middle circumferential + -0.0117 -1.0103 lineto + -0.0228 -1.006 lineto + %end circumferential + -0.0228 -1.006 lineto + -0.0245 -1.0091 lineto + %middle radial + -0.0245 -1.0091 lineto + -0.026 -1.0128 lineto + %end radial + -0.026 -1.0128 lineto + -0.0121 -1.0153 lineto + %middle circumferential + -0.0121 -1.0153 lineto + -0.0026 -1.0135 lineto + %end circumferential + closepath +currentgray 0.5170967741935484 setgray fill setgray +% Sector from 5.1051 to 5.3014 (quadrant 3) +newpath + 0.0059 -1.0052 moveto + 0.0049 -1.0048 lineto + %middle radial + 0.0049 -1.0048 lineto + 0.0041 -1.0045 lineto + %end radial + 0.0041 -1.0045 lineto + 0.0014 -1.0077 lineto + %middle circumferential + 0.0014 -1.0077 lineto + -0.0037 -1.0102 lineto + %end circumferential + -0.0037 -1.0102 lineto + -0.0033 -1.0117 lineto + %middle radial + -0.0033 -1.0117 lineto + -0.0026 -1.0135 lineto + %end radial + -0.0026 -1.0135 lineto + 0.0031 -1.0096 lineto + %middle circumferential + 0.0031 -1.0096 lineto + 0.0059 -1.0052 lineto + %end circumferential + closepath +currentgray 0.5338709677419355 setgray fill setgray +% Sector from 4.9087 to 5.1051 (quadrant 3) +newpath + 0.0051 -0.9978 moveto + 0.0045 -0.9982 lineto + %middle radial + 0.0045 -0.9982 lineto + 0.004 -0.9986 lineto + %end radial + 0.004 -0.9986 lineto + 0.0047 -1.0012 lineto + %middle circumferential + 0.0047 -1.0012 lineto + 0.0041 -1.0045 lineto + %end circumferential + 0.0041 -1.0045 lineto + 0.0049 -1.0048 lineto + %middle radial + 0.0049 -1.0048 lineto + 0.0059 -1.0052 lineto + %end radial + 0.0059 -1.0052 lineto + 0.0063 -1.0011 lineto + %middle circumferential + 0.0063 -1.0011 lineto + 0.0051 -0.9978 lineto + %end circumferential + closepath +currentgray 0.5506451612903226 setgray fill setgray +% Sector from 4.7124 to 4.9087 (quadrant 3) +newpath + 0.0 -0.9951 moveto + 0.0 -0.9957 lineto + %middle radial + 0.0 -0.9957 lineto + 0.0 -0.9963 lineto + %end radial + 0.0 -0.9963 lineto + 0.0022 -0.9969 lineto + %middle circumferential + 0.0022 -0.9969 lineto + 0.004 -0.9986 lineto + %end circumferential + 0.004 -0.9986 lineto + 0.0045 -0.9982 lineto + %middle radial + 0.0045 -0.9982 lineto + 0.0051 -0.9978 lineto + %end radial + 0.0051 -0.9978 lineto + 0.0028 -0.9958 lineto + %middle circumferential + 0.0028 -0.9958 lineto + 0.0 -0.9951 lineto + %end circumferential + closepath +currentgray 0.5674193548387096 setgray fill setgray +% Sector from 4.516 to 4.7124 (quadrant 2) +newpath + -0.0051 -0.9978 moveto + -0.0045 -0.9982 lineto + %middle radial + -0.0045 -0.9982 lineto + -0.004 -0.9986 lineto + %end radial + -0.004 -0.9986 lineto + -0.0022 -0.9969 lineto + %middle circumferential + -0.0022 -0.9969 lineto + 0.0 -0.9963 lineto + %end circumferential + 0.0 -0.9963 lineto + 0.0 -0.9957 lineto + %middle radial + 0.0 -0.9957 lineto + 0.0 -0.9951 lineto + %end radial + 0.0 -0.9951 lineto + -0.0028 -0.9958 lineto + %middle circumferential + -0.0028 -0.9958 lineto + -0.0051 -0.9978 lineto + %end circumferential + closepath +currentgray 0.5841935483870968 setgray fill setgray +% Sector from 4.3197 to 4.516 (quadrant 2) +newpath + -0.0059 -1.0052 moveto + -0.0049 -1.0048 lineto + %middle radial + -0.0049 -1.0048 lineto + -0.0041 -1.0045 lineto + %end radial + -0.0041 -1.0045 lineto + -0.0047 -1.0012 lineto + %middle circumferential + -0.0047 -1.0012 lineto + -0.004 -0.9986 lineto + %end circumferential + -0.004 -0.9986 lineto + -0.0045 -0.9982 lineto + %middle radial + -0.0045 -0.9982 lineto + -0.0051 -0.9978 lineto + %end radial + -0.0051 -0.9978 lineto + -0.0063 -1.0011 lineto + %middle circumferential + -0.0063 -1.0011 lineto + -0.0059 -1.0052 lineto + %end circumferential + closepath +currentgray 0.600967741935484 setgray fill setgray +% Sector from 4.1233 to 4.3197 (quadrant 2) +newpath + 0.0026 -1.0135 moveto + 0.0033 -1.0117 lineto + %middle radial + 0.0033 -1.0117 lineto + 0.0037 -1.0102 lineto + %end radial + 0.0037 -1.0102 lineto + -0.0014 -1.0077 lineto + %middle circumferential + -0.0014 -1.0077 lineto + -0.0041 -1.0045 lineto + %end circumferential + -0.0041 -1.0045 lineto + -0.0049 -1.0048 lineto + %middle radial + -0.0049 -1.0048 lineto + -0.0059 -1.0052 lineto + %end radial + -0.0059 -1.0052 lineto + -0.0031 -1.0096 lineto + %middle circumferential + -0.0031 -1.0096 lineto + 0.0026 -1.0135 lineto + %end circumferential + closepath +currentgray 0.6177419354838709 setgray fill setgray +% Sector from 3.927 to 4.1233 (quadrant 2) +newpath + 0.026 -1.0128 moveto + 0.0245 -1.0091 lineto + %middle radial + 0.0245 -1.0091 lineto + 0.0228 -1.006 lineto + %end radial + 0.0228 -1.006 lineto + 0.0117 -1.0103 lineto + %middle circumferential + 0.0117 -1.0103 lineto + 0.0037 -1.0102 lineto + %end circumferential + 0.0037 -1.0102 lineto + 0.0033 -1.0117 lineto + %middle radial + 0.0033 -1.0117 lineto + 0.0026 -1.0135 lineto + %end radial + 0.0026 -1.0135 lineto + 0.0121 -1.0153 lineto + %middle circumferential + 0.0121 -1.0153 lineto + 0.026 -1.0128 lineto + %end circumferential + closepath +currentgray 0.6345161290322581 setgray fill setgray +% Sector from 3.7306 to 3.927 (quadrant 2) +newpath + 0.0672 -0.9784 moveto + 0.0593 -0.9732 lineto + %middle radial + 0.0593 -0.9732 lineto + 0.0516 -0.9692 lineto + %end radial + 0.0516 -0.9692 lineto + 0.0366 -0.994 lineto + %middle circumferential + 0.0366 -0.994 lineto + 0.0228 -1.006 lineto + %end circumferential + 0.0228 -1.006 lineto + 0.0245 -1.0091 lineto + %middle radial + 0.0245 -1.0091 lineto + 0.026 -1.0128 lineto + %end radial + 0.026 -1.0128 lineto + 0.0445 -1.0023 lineto + %middle circumferential + 0.0445 -1.0023 lineto + 0.0672 -0.9784 lineto + %end circumferential + closepath +currentgray 0.6512903225806452 setgray fill setgray +% Sector from 3.5343 to 3.7306 (quadrant 2) +newpath + 0.1171 -0.8542 moveto + 0.0936 -0.8502 lineto + %middle radial + 0.0936 -0.8502 lineto + 0.0711 -0.8488 lineto + %end radial + 0.0711 -0.8488 lineto + 0.0648 -0.9244 lineto + %middle circumferential + 0.0648 -0.9244 lineto + 0.0516 -0.9692 lineto + %end circumferential + 0.0516 -0.9692 lineto + 0.0593 -0.9732 lineto + %middle radial + 0.0593 -0.9732 lineto + 0.0672 -0.9784 lineto + %end radial + 0.0672 -0.9784 lineto + 0.0926 -0.9329 lineto + %middle circumferential + 0.0926 -0.9329 lineto + 0.1171 -0.8542 lineto + %end circumferential + closepath +currentgray 0.6680645161290323 setgray fill setgray +% Sector from 3.3379 to 3.5343 (quadrant 2) +newpath + 0.1443 -0.5418 moveto + 0.0925 -0.5429 lineto + %middle radial + 0.0925 -0.5429 lineto + 0.0424 -0.5476 lineto + %end radial + 0.0424 -0.5476 lineto + 0.0551 -0.6457 lineto + 0.0645 -0.7284 lineto + %middle circumferential + 0.0645 -0.7284 lineto + 0.0698 -0.7948 lineto + 0.0711 -0.8488 lineto + %end circumferential + 0.0711 -0.8488 lineto + 0.0936 -0.8502 lineto + %middle radial + 0.0936 -0.8502 lineto + 0.1171 -0.8542 lineto + %end radial + 0.1171 -0.8542 lineto + 0.1275 -0.7976 lineto + 0.1357 -0.7282 lineto + %middle circumferential + 0.1357 -0.7282 lineto + 0.1414 -0.6425 lineto + 0.1443 -0.5418 lineto + %end circumferential + closepath +currentgray 0.6848387096774193 setgray fill setgray +% Sector from 3.1416 to 3.3379 (quadrant 2) +newpath + 0.1425 0.0 moveto + 0.0709 0.0 lineto + %middle radial + 0.0709 0.0 lineto + 0.0 0.0 lineto + %end radial + 0.0 0.0 lineto + 9.0E-4 -0.0761 lineto + 0.0036 -0.1518 lineto + 0.008 -0.2263 lineto + 0.0138 -0.2986 lineto + %middle circumferential + 0.0138 -0.2986 lineto + 0.0204 -0.3661 lineto + 0.0276 -0.4303 lineto + 0.035 -0.4909 lineto + 0.0424 -0.5476 lineto + %end circumferential + 0.0424 -0.5476 lineto + 0.0925 -0.5429 lineto + %middle radial + 0.0925 -0.5429 lineto + 0.1443 -0.5418 lineto + %end radial + 0.1443 -0.5418 lineto + 0.1449 -0.4844 lineto + 0.145 -0.4234 lineto + 0.1447 -0.3593 lineto + 0.1442 -0.2923 lineto + %middle circumferential + 0.1442 -0.2923 lineto + 0.1436 -0.2211 lineto + 0.143 -0.1481 lineto + 0.1427 -0.0741 lineto + 0.1425 0.0 lineto + %end circumferential + closepath +currentgray 0.7016129032258065 setgray fill setgray +% Sector from 2.9452 to 3.1416 (quadrant 1) +newpath + 0.1443 0.5418 moveto + 0.0925 0.5429 lineto + %middle radial + 0.0925 0.5429 lineto + 0.0424 0.5476 lineto + %end radial + 0.0424 0.5476 lineto + 0.0352 0.4923 lineto + 0.0278 0.4323 lineto + 0.0205 0.3677 lineto + 0.0138 0.2986 lineto + %middle circumferential + 0.0138 0.2986 lineto + 0.0081 0.228 lineto + 0.0038 0.1541 lineto + 0.001 0.0779 lineto + 0.0 0.0 lineto + %end circumferential + 0.0 0.0 lineto + 0.0709 0.0 lineto + %middle radial + 0.0709 0.0 lineto + 0.1425 0.0 lineto + %end radial + 0.1425 0.0 lineto + 0.1427 0.0759 lineto + 0.1431 0.1504 lineto + 0.1436 0.2227 lineto + 0.1442 0.2923 lineto + %middle circumferential + 0.1442 0.2923 lineto + 0.1447 0.3608 lineto + 0.145 0.4254 lineto + 0.1449 0.4858 lineto + 0.1443 0.5418 lineto + %end circumferential + closepath +currentgray 0.7183870967741936 setgray fill setgray +% Sector from 2.7489 to 2.9452 (quadrant 1) +newpath + 0.1171 0.8542 moveto + 0.0936 0.8502 lineto + %middle radial + 0.0936 0.8502 lineto + 0.0711 0.8488 lineto + %end radial + 0.0711 0.8488 lineto + 0.0698 0.7957 lineto + 0.0645 0.7284 lineto + %middle circumferential + 0.0645 0.7284 lineto + 0.0553 0.6472 lineto + 0.0424 0.5476 lineto + %end circumferential + 0.0424 0.5476 lineto + 0.0925 0.5429 lineto + %middle radial + 0.0925 0.5429 lineto + 0.1443 0.5418 lineto + %end radial + 0.1443 0.5418 lineto + 0.1413 0.6439 lineto + 0.1357 0.7282 lineto + %middle circumferential + 0.1357 0.7282 lineto + 0.1274 0.7986 lineto + 0.1171 0.8542 lineto + %end circumferential + closepath +currentgray 0.7351612903225806 setgray fill setgray +% Sector from 2.5525 to 2.7489 (quadrant 1) +newpath + 0.0672 0.9784 moveto + 0.0593 0.9732 lineto + %middle radial + 0.0593 0.9732 lineto + 0.0516 0.9692 lineto + %end radial + 0.0516 0.9692 lineto + 0.0648 0.9244 lineto + %middle circumferential + 0.0648 0.9244 lineto + 0.0711 0.8488 lineto + %end circumferential + 0.0711 0.8488 lineto + 0.0936 0.8502 lineto + %middle radial + 0.0936 0.8502 lineto + 0.1171 0.8542 lineto + %end radial + 0.1171 0.8542 lineto + 0.0926 0.9329 lineto + %middle circumferential + 0.0926 0.9329 lineto + 0.0672 0.9784 lineto + %end circumferential + closepath +currentgray 0.7519354838709679 setgray fill setgray +% Sector from 2.3562 to 2.5525 (quadrant 1) +newpath + 0.026 1.0128 moveto + 0.0245 1.0091 lineto + %middle radial + 0.0245 1.0091 lineto + 0.0228 1.006 lineto + %end radial + 0.0228 1.006 lineto + 0.0366 0.994 lineto + %middle circumferential + 0.0366 0.994 lineto + 0.0516 0.9692 lineto + %end circumferential + 0.0516 0.9692 lineto + 0.0593 0.9732 lineto + %middle radial + 0.0593 0.9732 lineto + 0.0672 0.9784 lineto + %end radial + 0.0672 0.9784 lineto + 0.0445 1.0023 lineto + %middle circumferential + 0.0445 1.0023 lineto + 0.026 1.0128 lineto + %end circumferential + closepath +currentgray 0.7687096774193548 setgray fill setgray +% Sector from 2.1598 to 2.3562 (quadrant 1) +newpath + 0.0026 1.0135 moveto + 0.0033 1.0117 lineto + %middle radial + 0.0033 1.0117 lineto + 0.0037 1.0102 lineto + %end radial + 0.0037 1.0102 lineto + 0.0117 1.0103 lineto + %middle circumferential + 0.0117 1.0103 lineto + 0.0228 1.006 lineto + %end circumferential + 0.0228 1.006 lineto + 0.0245 1.0091 lineto + %middle radial + 0.0245 1.0091 lineto + 0.026 1.0128 lineto + %end radial + 0.026 1.0128 lineto + 0.0121 1.0153 lineto + %middle circumferential + 0.0121 1.0153 lineto + 0.0026 1.0135 lineto + %end circumferential + closepath +currentgray 0.7854838709677419 setgray fill setgray +% Sector from 1.9635 to 2.1598 (quadrant 1) +newpath + -0.0059 1.0052 moveto + -0.0049 1.0048 lineto + %middle radial + -0.0049 1.0048 lineto + -0.0041 1.0045 lineto + %end radial + -0.0041 1.0045 lineto + -0.0014 1.0077 lineto + %middle circumferential + -0.0014 1.0077 lineto + 0.0037 1.0102 lineto + %end circumferential + 0.0037 1.0102 lineto + 0.0033 1.0117 lineto + %middle radial + 0.0033 1.0117 lineto + 0.0026 1.0135 lineto + %end radial + 0.0026 1.0135 lineto + -0.0031 1.0096 lineto + %middle circumferential + -0.0031 1.0096 lineto + -0.0059 1.0052 lineto + %end circumferential + closepath +currentgray 0.802258064516129 setgray fill setgray +% Sector from 1.7671 to 1.9635 (quadrant 1) +newpath + -0.0051 0.9978 moveto + -0.0045 0.9982 lineto + %middle radial + -0.0045 0.9982 lineto + -0.004 0.9986 lineto + %end radial + -0.004 0.9986 lineto + -0.0047 1.0012 lineto + %middle circumferential + -0.0047 1.0012 lineto + -0.0041 1.0045 lineto + %end circumferential + -0.0041 1.0045 lineto + -0.0049 1.0048 lineto + %middle radial + -0.0049 1.0048 lineto + -0.0059 1.0052 lineto + %end radial + -0.0059 1.0052 lineto + -0.0063 1.0011 lineto + %middle circumferential + -0.0063 1.0011 lineto + -0.0051 0.9978 lineto + %end circumferential + closepath +currentgray 0.8190322580645162 setgray fill setgray +% Sector from 1.5708 to 1.7671 (quadrant 1) +newpath + 0.0 0.9951 moveto + 0.0 0.9957 lineto + %middle radial + 0.0 0.9957 lineto + 0.0 0.9963 lineto + %end radial + 0.0 0.9963 lineto + -0.0022 0.9969 lineto + %middle circumferential + -0.0022 0.9969 lineto + -0.004 0.9986 lineto + %end circumferential + -0.004 0.9986 lineto + -0.0045 0.9982 lineto + %middle radial + -0.0045 0.9982 lineto + -0.0051 0.9978 lineto + %end radial + -0.0051 0.9978 lineto + -0.0028 0.9958 lineto + %middle circumferential + -0.0028 0.9958 lineto + 0.0 0.9951 lineto + %end circumferential + closepath +currentgray 0.8358064516129032 setgray fill setgray +% Sector from 1.3744 to 1.5708 (quadrant 0) +newpath + 0.0051 0.9978 moveto + 0.0045 0.9982 lineto + %middle radial + 0.0045 0.9982 lineto + 0.004 0.9986 lineto + %end radial + 0.004 0.9986 lineto + 0.0022 0.9969 lineto + %middle circumferential + 0.0022 0.9969 lineto + 0.0 0.9963 lineto + %end circumferential + 0.0 0.9963 lineto + 0.0 0.9957 lineto + %middle radial + 0.0 0.9957 lineto + 0.0 0.9951 lineto + %end radial + 0.0 0.9951 lineto + 0.0028 0.9958 lineto + %middle circumferential + 0.0028 0.9958 lineto + 0.0051 0.9978 lineto + %end circumferential + closepath +currentgray 0.8525806451612903 setgray fill setgray +% Sector from 1.1781 to 1.3744 (quadrant 0) +newpath + 0.0059 1.0052 moveto + 0.0049 1.0048 lineto + %middle radial + 0.0049 1.0048 lineto + 0.0041 1.0045 lineto + %end radial + 0.0041 1.0045 lineto + 0.0047 1.0012 lineto + %middle circumferential + 0.0047 1.0012 lineto + 0.004 0.9986 lineto + %end circumferential + 0.004 0.9986 lineto + 0.0045 0.9982 lineto + %middle radial + 0.0045 0.9982 lineto + 0.0051 0.9978 lineto + %end radial + 0.0051 0.9978 lineto + 0.0063 1.0011 lineto + %middle circumferential + 0.0063 1.0011 lineto + 0.0059 1.0052 lineto + %end circumferential + closepath +currentgray 0.8693548387096775 setgray fill setgray +% Sector from 0.9817 to 1.1781 (quadrant 0) +newpath + -0.0026 1.0135 moveto + -0.0033 1.0117 lineto + %middle radial + -0.0033 1.0117 lineto + -0.0037 1.0102 lineto + %end radial + -0.0037 1.0102 lineto + 0.0014 1.0077 lineto + %middle circumferential + 0.0014 1.0077 lineto + 0.0041 1.0045 lineto + %end circumferential + 0.0041 1.0045 lineto + 0.0049 1.0048 lineto + %middle radial + 0.0049 1.0048 lineto + 0.0059 1.0052 lineto + %end radial + 0.0059 1.0052 lineto + 0.0031 1.0096 lineto + %middle circumferential + 0.0031 1.0096 lineto + -0.0026 1.0135 lineto + %end circumferential + closepath +currentgray 0.8861290322580645 setgray fill setgray +% Sector from 0.7854 to 0.9817 (quadrant 0) +newpath + -0.026 1.0128 moveto + -0.0245 1.0091 lineto + %middle radial + -0.0245 1.0091 lineto + -0.0228 1.006 lineto + %end radial + -0.0228 1.006 lineto + -0.0117 1.0103 lineto + %middle circumferential + -0.0117 1.0103 lineto + -0.0037 1.0102 lineto + %end circumferential + -0.0037 1.0102 lineto + -0.0033 1.0117 lineto + %middle radial + -0.0033 1.0117 lineto + -0.0026 1.0135 lineto + %end radial + -0.0026 1.0135 lineto + -0.0121 1.0153 lineto + %middle circumferential + -0.0121 1.0153 lineto + -0.026 1.0128 lineto + %end circumferential + closepath +currentgray 0.9029032258064516 setgray fill setgray +% Sector from 0.589 to 0.7854 (quadrant 0) +newpath + -0.0672 0.9784 moveto + -0.0593 0.9732 lineto + %middle radial + -0.0593 0.9732 lineto + -0.0516 0.9692 lineto + %end radial + -0.0516 0.9692 lineto + -0.0366 0.994 lineto + %middle circumferential + -0.0366 0.994 lineto + -0.0228 1.006 lineto + %end circumferential + -0.0228 1.006 lineto + -0.0245 1.0091 lineto + %middle radial + -0.0245 1.0091 lineto + -0.026 1.0128 lineto + %end radial + -0.026 1.0128 lineto + -0.0445 1.0023 lineto + %middle circumferential + -0.0445 1.0023 lineto + -0.0672 0.9784 lineto + %end circumferential + closepath +currentgray 0.9196774193548387 setgray fill setgray +% Sector from 0.3927 to 0.589 (quadrant 0) +newpath + -0.1171 0.8542 moveto + -0.0936 0.8502 lineto + %middle radial + -0.0936 0.8502 lineto + -0.0711 0.8488 lineto + %end radial + -0.0711 0.8488 lineto + -0.0648 0.9244 lineto + %middle circumferential + -0.0648 0.9244 lineto + -0.0516 0.9692 lineto + %end circumferential + -0.0516 0.9692 lineto + -0.0593 0.9732 lineto + %middle radial + -0.0593 0.9732 lineto + -0.0672 0.9784 lineto + %end radial + -0.0672 0.9784 lineto + -0.0926 0.9329 lineto + %middle circumferential + -0.0926 0.9329 lineto + -0.1171 0.8542 lineto + %end circumferential + closepath +currentgray 0.9364516129032258 setgray fill setgray +% Sector from 0.1963 to 0.3927 (quadrant 0) +newpath + -0.1443 0.5418 moveto + -0.0925 0.5429 lineto + %middle radial + -0.0925 0.5429 lineto + -0.0424 0.5476 lineto + %end radial + -0.0424 0.5476 lineto + -0.054 0.6372 lineto + -0.0645 0.7284 lineto + %middle circumferential + -0.0645 0.7284 lineto + -0.0695 0.7909 lineto + -0.0711 0.8488 lineto + %end circumferential + -0.0711 0.8488 lineto + -0.0936 0.8502 lineto + %middle radial + -0.0936 0.8502 lineto + -0.1171 0.8542 lineto + %end radial + -0.1171 0.8542 lineto + -0.1282 0.7935 lineto + -0.1357 0.7282 lineto + %middle circumferential + -0.1357 0.7282 lineto + -0.1418 0.6337 lineto + -0.1443 0.5418 lineto + %end circumferential + closepath +currentgray 0.9532258064516128 setgray fill setgray +% Sector from 0.0 to 0.1963 (quadrant 0) +newpath + -0.1425 0.0 moveto + -0.0709 0.0 lineto + %middle radial + -0.0709 0.0 lineto + 0.0 0.0 lineto + %end radial + 0.0 0.0 lineto + -9.0E-4 0.0732 lineto + -0.0035 0.1493 lineto + -0.0071 0.212 lineto + -0.0138 0.2986 lineto + %middle circumferential + -0.0138 0.2986 lineto + -0.0218 0.3792 lineto + -0.0289 0.4418 lineto + -0.0376 0.5109 lineto + -0.0424 0.5476 lineto + %end circumferential + -0.0424 0.5476 lineto + -0.0925 0.5429 lineto + %middle radial + -0.0925 0.5429 lineto + -0.1443 0.5418 lineto + %end radial + -0.1443 0.5418 lineto + -0.1448 0.5046 lineto + -0.145 0.4349 lineto + -0.1448 0.3723 lineto + -0.1442 0.2923 lineto + %middle circumferential + -0.1442 0.2923 lineto + -0.1435 0.207 lineto + -0.143 0.1456 lineto + -0.1427 0.0714 lineto + -0.1425 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Horizontal line from (0.5, 0.0) to (0.0, 0.0) +newpath + 0.5463 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.5, 0.0) to (1.0, 0.0) +newpath + 0.5463 0.0 moveto + 1.5574 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.0, 0.0) +newpath + -2.185 0.0 moveto + -6.3588 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 1.5574 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.1579208923731617E77, 0.0) +newpath + -2.185 0.0 moveto + 6.3746 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + 6.3236 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -2.185 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (0.0, 1.0) +newpath + -0.2435 1.1667 moveto + -0.1689 1.2553 lineto + -0.0684 1.3044 lineto + 0.0358 1.3107 lineto + 0.126 1.2825 lineto + 0.1938 1.2334 lineto + 0.2386 1.1755 lineto + 0.2639 1.1171 lineto + 0.2748 1.0148 lineto + 0.2573 0.9381 lineto + 0.2137 0.8631 lineto + 0.1562 0.8101 lineto + 0.0929 0.7777 lineto + 0.0024 0.7616 lineto + 0.0 0.7616 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (1.1579208923731617E77, 1.0) +newpath + -0.2435 1.1667 moveto + -0.2749 1.058 lineto + -0.2607 0.9476 lineto + -0.2055 0.8535 lineto + -0.1186 0.7884 lineto + -0.0099 0.7618 lineto + 0.0494 0.7661 lineto + 0.1098 0.7844 lineto + 0.1684 0.819 lineto + 0.2211 0.8725 lineto + 0.2606 0.9471 lineto + 0.2757 1.0423 lineto + 0.2514 1.1506 lineto + 0.2198 1.2038 lineto + 0.1739 1.2513 lineto + 0.1146 1.2881 lineto + 0.0448 1.3094 lineto + -0.0305 1.3113 lineto + -0.1046 1.2924 lineto + -0.1707 1.2539 lineto + -0.2229 1.1996 lineto + -0.2578 1.1352 lineto + -0.2742 1.0665 lineto + -0.273 0.9988 lineto + -0.2564 0.936 lineto + -0.2272 0.8811 lineto + -0.1879 0.8355 lineto + -0.141 0.8003 lineto + -0.0322 0.7635 lineto + 0.0558 0.7673 lineto + 0.1142 0.7864 lineto + 0.1698 0.8201 lineto + 0.2189 0.8697 lineto + 0.2565 0.9362 lineto + 0.2751 1.0185 lineto + 0.2654 1.1121 lineto + 0.2184 1.2056 lineto + 0.1564 1.2644 lineto + 0.1036 1.2928 lineto + 0.0443 1.3095 lineto + -0.0185 1.3124 lineto + -0.0807 1.301 lineto + -0.1386 1.2757 lineto + -0.1885 1.2385 lineto + -0.2281 1.1923 lineto + -0.2435 1.1667 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (0.0, -1.0) +newpath + -0.2435 -1.1667 moveto + -0.1689 -1.2553 lineto + -0.0684 -1.3044 lineto + 0.0358 -1.3107 lineto + 0.126 -1.2825 lineto + 0.1938 -1.2334 lineto + 0.2386 -1.1755 lineto + 0.2639 -1.1171 lineto + 0.2748 -1.0148 lineto + 0.2573 -0.9381 lineto + 0.2137 -0.8631 lineto + 0.1562 -0.8101 lineto + 0.0929 -0.7777 lineto + 0.0024 -0.7616 lineto + 0.0 -0.7616 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (1.1579208923731617E77, -1.0) +newpath + -0.2435 -1.1667 moveto + -0.2749 -1.058 lineto + -0.2607 -0.9476 lineto + -0.2055 -0.8535 lineto + -0.1186 -0.7884 lineto + -0.0099 -0.7618 lineto + 0.0494 -0.7661 lineto + 0.1098 -0.7844 lineto + 0.1684 -0.819 lineto + 0.2211 -0.8725 lineto + 0.2606 -0.9471 lineto + 0.2757 -1.0423 lineto + 0.2514 -1.1506 lineto + 0.2198 -1.2038 lineto + 0.1739 -1.2513 lineto + 0.1146 -1.2881 lineto + 0.0448 -1.3094 lineto + -0.0305 -1.3113 lineto + -0.1046 -1.2924 lineto + -0.1707 -1.2539 lineto + -0.2229 -1.1996 lineto + -0.2578 -1.1352 lineto + -0.2742 -1.0665 lineto + -0.273 -0.9988 lineto + -0.2564 -0.936 lineto + -0.2272 -0.8811 lineto + -0.1879 -0.8355 lineto + -0.141 -0.8003 lineto + -0.0322 -0.7635 lineto + 0.0558 -0.7673 lineto + 0.1142 -0.7864 lineto + 0.1698 -0.8201 lineto + 0.2189 -0.8697 lineto + 0.2565 -0.9362 lineto + 0.2751 -1.0185 lineto + 0.2654 -1.1121 lineto + 0.2184 -1.2056 lineto + 0.1564 -1.2644 lineto + 0.1036 -1.2928 lineto + 0.0443 -1.3095 lineto + -0.0185 -1.3124 lineto + -0.0807 -1.301 lineto + -0.1386 -1.2757 lineto + -0.1885 -1.2385 lineto + -0.2281 -1.1923 lineto + -0.2435 -1.1667 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (1.1579208923731617E77, 2.0) +newpath + 0.0 0.964 moveto + 0.0 0.964 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (1.1579208923731617E77, -2.0) +newpath + 0.0 -0.964 moveto + 0.0 -0.964 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (1.1579208923731617E77, 3.0) +newpath + 0.0 0.9951 moveto + 0.0 0.9951 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (1.1579208923731617E77, -3.0) +newpath + 0.0 -0.9951 moveto + 0.0 -0.9951 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (0.0, 0.0) +newpath + -0.5463 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (-1.0, 0.0) +newpath + -0.5463 0.0 moveto + -1.5574 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.0, 0.0) +newpath + 2.185 0.0 moveto + 6.3588 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -1.5574 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.1579208923731617E77, 0.0) +newpath + 2.185 0.0 moveto + -6.3746 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + -6.3236 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 2.185 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (0.0, 1.0) +newpath + 0.2435 1.1667 moveto + 0.1689 1.2553 lineto + 0.0684 1.3044 lineto + -0.0358 1.3107 lineto + -0.126 1.2825 lineto + -0.1938 1.2334 lineto + -0.2386 1.1755 lineto + -0.2639 1.1171 lineto + -0.2748 1.0148 lineto + -0.2573 0.9381 lineto + -0.2137 0.8631 lineto + -0.1562 0.8101 lineto + -0.0929 0.7777 lineto + -0.0024 0.7616 lineto + 0.0 0.7616 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (-1.1579208923731617E77, 1.0) +newpath + 0.2435 1.1667 moveto + 0.2749 1.058 lineto + 0.2607 0.9476 lineto + 0.2055 0.8535 lineto + 0.1186 0.7884 lineto + 0.0099 0.7618 lineto + -0.0494 0.7661 lineto + -0.1098 0.7844 lineto + -0.1684 0.819 lineto + -0.2211 0.8725 lineto + -0.2606 0.9471 lineto + -0.2757 1.0423 lineto + -0.2514 1.1506 lineto + -0.2198 1.2038 lineto + -0.1739 1.2513 lineto + -0.1146 1.2881 lineto + -0.0448 1.3094 lineto + 0.0305 1.3113 lineto + 0.1046 1.2924 lineto + 0.1707 1.2539 lineto + 0.2229 1.1996 lineto + 0.2578 1.1352 lineto + 0.2742 1.0665 lineto + 0.273 0.9988 lineto + 0.2564 0.936 lineto + 0.2272 0.8811 lineto + 0.1879 0.8355 lineto + 0.141 0.8003 lineto + 0.0322 0.7635 lineto + -0.0558 0.7673 lineto + -0.1142 0.7864 lineto + -0.1698 0.8201 lineto + -0.2189 0.8697 lineto + -0.2565 0.9362 lineto + -0.2751 1.0185 lineto + -0.2654 1.1121 lineto + -0.2184 1.2056 lineto + -0.1564 1.2644 lineto + -0.1036 1.2928 lineto + -0.0443 1.3095 lineto + 0.0185 1.3124 lineto + 0.0807 1.301 lineto + 0.1386 1.2757 lineto + 0.1885 1.2385 lineto + 0.2281 1.1923 lineto + 0.2435 1.1667 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (0.0, -1.0) +newpath + 0.2435 -1.1667 moveto + 0.1689 -1.2553 lineto + 0.0684 -1.3044 lineto + -0.0358 -1.3107 lineto + -0.126 -1.2825 lineto + -0.1938 -1.2334 lineto + -0.2386 -1.1755 lineto + -0.2639 -1.1171 lineto + -0.2748 -1.0148 lineto + -0.2573 -0.9381 lineto + -0.2137 -0.8631 lineto + -0.1562 -0.8101 lineto + -0.0929 -0.7777 lineto + -0.0024 -0.7616 lineto + 0.0 -0.7616 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (-1.1579208923731617E77, -1.0) +newpath + 0.2435 -1.1667 moveto + 0.2749 -1.058 lineto + 0.2607 -0.9476 lineto + 0.2055 -0.8535 lineto + 0.1186 -0.7884 lineto + 0.0099 -0.7618 lineto + -0.0494 -0.7661 lineto + -0.1098 -0.7844 lineto + -0.1684 -0.819 lineto + -0.2211 -0.8725 lineto + -0.2606 -0.9471 lineto + -0.2757 -1.0423 lineto + -0.2514 -1.1506 lineto + -0.2198 -1.2038 lineto + -0.1739 -1.2513 lineto + -0.1146 -1.2881 lineto + -0.0448 -1.3094 lineto + 0.0305 -1.3113 lineto + 0.1046 -1.2924 lineto + 0.1707 -1.2539 lineto + 0.2229 -1.1996 lineto + 0.2578 -1.1352 lineto + 0.2742 -1.0665 lineto + 0.273 -0.9988 lineto + 0.2564 -0.936 lineto + 0.2272 -0.8811 lineto + 0.1879 -0.8355 lineto + 0.141 -0.8003 lineto + 0.0322 -0.7635 lineto + -0.0558 -0.7673 lineto + -0.1142 -0.7864 lineto + -0.1698 -0.8201 lineto + -0.2189 -0.8697 lineto + -0.2565 -0.9362 lineto + -0.2751 -1.0185 lineto + -0.2654 -1.1121 lineto + -0.2184 -1.2056 lineto + -0.1564 -1.2644 lineto + -0.1036 -1.2928 lineto + -0.0443 -1.3095 lineto + 0.0185 -1.3124 lineto + 0.0807 -1.301 lineto + 0.1386 -1.2757 lineto + 0.1885 -1.2385 lineto + 0.2281 -1.1923 lineto + 0.2435 -1.1667 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (-1.1579208923731617E77, 2.0) +newpath + 0.0 0.964 moveto + 0.0 0.964 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (-1.1579208923731617E77, -2.0) +newpath + 0.0 -0.964 moveto + 0.0 -0.964 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (-1.1579208923731617E77, 3.0) +newpath + 0.0 0.9951 moveto + 0.0 0.9951 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (-1.1579208923731617E77, -3.0) +newpath + 0.0 -0.9951 moveto + 0.0 -0.9951 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 0.0) +newpath + 0.0 0.4621 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 1.0) +newpath + 0.0 0.4621 moveto + 0.0 0.7616 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.0) +newpath + 0.0 0.964 moveto + 0.0 0.7616 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.1579208923731617E77) +newpath + 0.0 0.964 moveto + 0.0 1.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 0.0) +newpath + 0.0338 1.0148 moveto + 0.1188 1.0463 lineto + 0.1938 1.0676 lineto + 0.2938 1.0875 lineto + 0.3529 1.0948 lineto + 0.4176 1.099 lineto + 0.4872 1.0994 lineto + 0.5606 1.0949 lineto + 0.6367 1.0851 lineto + 0.7141 1.0694 lineto + 0.7916 1.0478 lineto + 0.8678 1.0204 lineto + 0.9414 0.9877 lineto + 1.0114 0.9502 lineto + 1.0769 0.9088 lineto + 1.1374 0.8645 lineto + 1.1926 0.8181 lineto + 1.2423 0.7706 lineto + 1.2866 0.7227 lineto + 1.3256 0.6753 lineto + 1.3896 0.5839 lineto + 1.4373 0.4997 lineto + 1.4722 0.4244 lineto + 1.4974 0.3585 lineto + 1.5153 0.3015 lineto + 1.5368 0.2117 lineto + 1.5505 0.1234 lineto + 1.5566 0.0414 lineto + 1.5574 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 1.1579208923731617E77) +newpath + 0.0338 1.0148 moveto + 0.0 1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 0.0) +newpath + -0.0338 1.0148 moveto + -0.1188 1.0463 lineto + -0.1938 1.0676 lineto + -0.2938 1.0875 lineto + -0.3529 1.0948 lineto + -0.4176 1.099 lineto + -0.4872 1.0994 lineto + -0.5606 1.0949 lineto + -0.6367 1.0851 lineto + -0.7141 1.0694 lineto + -0.7916 1.0478 lineto + -0.8678 1.0204 lineto + -0.9414 0.9877 lineto + -1.0114 0.9502 lineto + -1.0769 0.9088 lineto + -1.1374 0.8645 lineto + -1.1926 0.8181 lineto + -1.2423 0.7706 lineto + -1.2866 0.7227 lineto + -1.3256 0.6753 lineto + -1.3896 0.5839 lineto + -1.4373 0.4997 lineto + -1.4722 0.4244 lineto + -1.4974 0.3585 lineto + -1.5153 0.3015 lineto + -1.5368 0.2117 lineto + -1.5505 0.1234 lineto + -1.5566 0.0414 lineto + -1.5574 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 1.1579208923731617E77) +newpath + -0.0338 1.0148 moveto + 0.0 1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, 1.1579208923731617E77) +newpath + -2.185 0.0 moveto + -2.1821 0.0876 lineto + -2.1721 0.1844 lineto + -2.1579 0.2666 lineto + -2.1378 0.3501 lineto + -2.117 0.4186 lineto + -2.0874 0.4985 lineto + -2.0457 0.5905 lineto + -2.0041 0.6674 lineto + -1.9703 0.722 lineto + -1.931 0.779 lineto + -1.8854 0.8379 lineto + -1.8331 0.8979 lineto + -1.7736 0.9582 lineto + -1.7064 1.0178 lineto + -1.6314 1.0754 lineto + -1.5488 1.1299 lineto + -1.4589 1.1797 lineto + -1.3626 1.2236 lineto + -1.2609 1.2602 lineto + -1.1554 1.2887 lineto + -1.0478 1.3085 lineto + -0.94 1.3191 lineto + -0.8339 1.321 lineto + -0.7313 1.3147 lineto + -0.6338 1.3012 lineto + -0.5427 1.2818 lineto + -0.459 1.2579 lineto + -0.3833 1.2309 lineto + -0.3159 1.2024 lineto + -0.2567 1.1737 lineto + -0.1828 1.1324 lineto + -0.1095 1.085 lineto + -0.0604 1.0491 lineto + -0.0049 1.0042 lineto + 0.0 1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, 1.1579208923731617E77) +newpath + 2.185 0.0 moveto + 2.1821 0.0876 lineto + 2.1721 0.1844 lineto + 2.1579 0.2666 lineto + 2.1378 0.3501 lineto + 2.117 0.4186 lineto + 2.0874 0.4985 lineto + 2.0457 0.5905 lineto + 2.0041 0.6674 lineto + 1.9703 0.722 lineto + 1.931 0.779 lineto + 1.8854 0.8379 lineto + 1.8331 0.8979 lineto + 1.7736 0.9582 lineto + 1.7064 1.0178 lineto + 1.6314 1.0754 lineto + 1.5488 1.1299 lineto + 1.4589 1.1797 lineto + 1.3626 1.2236 lineto + 1.2609 1.2602 lineto + 1.1554 1.2887 lineto + 1.0478 1.3085 lineto + 0.94 1.3191 lineto + 0.8339 1.321 lineto + 0.7313 1.3147 lineto + 0.6338 1.3012 lineto + 0.5427 1.2818 lineto + 0.459 1.2579 lineto + 0.3833 1.2309 lineto + 0.3159 1.2024 lineto + 0.2567 1.1737 lineto + 0.1828 1.1324 lineto + 0.1095 1.085 lineto + 0.0604 1.0491 lineto + 0.0049 1.0042 lineto + 0.0 1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, 1.1579208923731617E77) +newpath + -0.1425 0.0 moveto + -0.1419 0.0691 lineto + -0.1396 0.1454 lineto + -0.1364 0.2097 lineto + -0.13 0.2999 lineto + -0.1214 0.388 lineto + -0.1132 0.457 lineto + -0.1026 0.5333 lineto + -0.0893 0.6149 lineto + -0.0738 0.698 lineto + -0.057 0.7778 lineto + -0.0404 0.8489 lineto + -0.0198 0.9294 lineto + -0.0018 0.9938 lineto + 0.0 1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, 1.1579208923731617E77) +newpath + 0.1425 0.0 moveto + 0.1419 0.0691 lineto + 0.1396 0.1454 lineto + 0.1364 0.2097 lineto + 0.13 0.2999 lineto + 0.1214 0.388 lineto + 0.1132 0.457 lineto + 0.1026 0.5333 lineto + 0.0893 0.6149 lineto + 0.0738 0.698 lineto + 0.057 0.7778 lineto + 0.0404 0.8489 lineto + 0.0198 0.9294 lineto + 0.0018 0.9938 lineto + 0.0 1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, 0.0) +newpath + 0.0 -0.4621 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, -1.0) +newpath + 0.0 -0.4621 moveto + 0.0 -0.7616 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.0) +newpath + 0.0 -0.964 moveto + 0.0 -0.7616 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.1579208923731617E77) +newpath + 0.0 -0.964 moveto + 0.0 -1.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, 0.0) +newpath + 0.0338 -1.0148 moveto + 0.1188 -1.0463 lineto + 0.1938 -1.0676 lineto + 0.2938 -1.0875 lineto + 0.3529 -1.0948 lineto + 0.4176 -1.099 lineto + 0.4872 -1.0994 lineto + 0.5606 -1.0949 lineto + 0.6367 -1.0851 lineto + 0.7141 -1.0694 lineto + 0.7916 -1.0478 lineto + 0.8678 -1.0204 lineto + 0.9414 -0.9877 lineto + 1.0114 -0.9502 lineto + 1.0769 -0.9088 lineto + 1.1374 -0.8645 lineto + 1.1926 -0.8181 lineto + 1.2423 -0.7706 lineto + 1.2866 -0.7227 lineto + 1.3256 -0.6753 lineto + 1.3896 -0.5839 lineto + 1.4373 -0.4997 lineto + 1.4722 -0.4244 lineto + 1.4974 -0.3585 lineto + 1.5153 -0.3015 lineto + 1.5368 -0.2117 lineto + 1.5505 -0.1234 lineto + 1.5566 -0.0414 lineto + 1.5574 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, -1.1579208923731617E77) +newpath + 0.0338 -1.0148 moveto + 0.0 -1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, 0.0) +newpath + -0.0338 -1.0148 moveto + -0.1188 -1.0463 lineto + -0.1938 -1.0676 lineto + -0.2938 -1.0875 lineto + -0.3529 -1.0948 lineto + -0.4176 -1.099 lineto + -0.4872 -1.0994 lineto + -0.5606 -1.0949 lineto + -0.6367 -1.0851 lineto + -0.7141 -1.0694 lineto + -0.7916 -1.0478 lineto + -0.8678 -1.0204 lineto + -0.9414 -0.9877 lineto + -1.0114 -0.9502 lineto + -1.0769 -0.9088 lineto + -1.1374 -0.8645 lineto + -1.1926 -0.8181 lineto + -1.2423 -0.7706 lineto + -1.2866 -0.7227 lineto + -1.3256 -0.6753 lineto + -1.3896 -0.5839 lineto + -1.4373 -0.4997 lineto + -1.4722 -0.4244 lineto + -1.4974 -0.3585 lineto + -1.5153 -0.3015 lineto + -1.5368 -0.2117 lineto + -1.5505 -0.1234 lineto + -1.5566 -0.0414 lineto + -1.5574 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, -1.1579208923731617E77) +newpath + -0.0338 -1.0148 moveto + 0.0 -1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, -1.1579208923731617E77) +newpath + -2.185 0.0 moveto + -2.1821 -0.0876 lineto + -2.1721 -0.1844 lineto + -2.1579 -0.2666 lineto + -2.1378 -0.3501 lineto + -2.117 -0.4186 lineto + -2.0874 -0.4985 lineto + -2.0457 -0.5905 lineto + -2.0041 -0.6674 lineto + -1.9703 -0.722 lineto + -1.931 -0.779 lineto + -1.8854 -0.8379 lineto + -1.8331 -0.8979 lineto + -1.7736 -0.9582 lineto + -1.7064 -1.0178 lineto + -1.6314 -1.0754 lineto + -1.5488 -1.1299 lineto + -1.4589 -1.1797 lineto + -1.3626 -1.2236 lineto + -1.2609 -1.2602 lineto + -1.1554 -1.2887 lineto + -1.0478 -1.3085 lineto + -0.94 -1.3191 lineto + -0.8339 -1.321 lineto + -0.7313 -1.3147 lineto + -0.6338 -1.3012 lineto + -0.5427 -1.2818 lineto + -0.459 -1.2579 lineto + -0.3833 -1.2309 lineto + -0.3159 -1.2024 lineto + -0.2567 -1.1737 lineto + -0.1828 -1.1324 lineto + -0.1095 -1.085 lineto + -0.0604 -1.0491 lineto + -0.0049 -1.0042 lineto + 0.0 -1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, -1.1579208923731617E77) +newpath + 2.185 0.0 moveto + 2.1821 -0.0876 lineto + 2.1721 -0.1844 lineto + 2.1579 -0.2666 lineto + 2.1378 -0.3501 lineto + 2.117 -0.4186 lineto + 2.0874 -0.4985 lineto + 2.0457 -0.5905 lineto + 2.0041 -0.6674 lineto + 1.9703 -0.722 lineto + 1.931 -0.779 lineto + 1.8854 -0.8379 lineto + 1.8331 -0.8979 lineto + 1.7736 -0.9582 lineto + 1.7064 -1.0178 lineto + 1.6314 -1.0754 lineto + 1.5488 -1.1299 lineto + 1.4589 -1.1797 lineto + 1.3626 -1.2236 lineto + 1.2609 -1.2602 lineto + 1.1554 -1.2887 lineto + 1.0478 -1.3085 lineto + 0.94 -1.3191 lineto + 0.8339 -1.321 lineto + 0.7313 -1.3147 lineto + 0.6338 -1.3012 lineto + 0.5427 -1.2818 lineto + 0.459 -1.2579 lineto + 0.3833 -1.2309 lineto + 0.3159 -1.2024 lineto + 0.2567 -1.1737 lineto + 0.1828 -1.1324 lineto + 0.1095 -1.085 lineto + 0.0604 -1.0491 lineto + 0.0049 -1.0042 lineto + 0.0 -1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, -1.1579208923731617E77) +newpath + -0.1425 0.0 moveto + -0.1419 -0.0691 lineto + -0.1396 -0.1454 lineto + -0.1364 -0.2097 lineto + -0.13 -0.2999 lineto + -0.1214 -0.388 lineto + -0.1132 -0.457 lineto + -0.1026 -0.5333 lineto + -0.0893 -0.6149 lineto + -0.0738 -0.698 lineto + -0.057 -0.7778 lineto + -0.0404 -0.8489 lineto + -0.0198 -0.9294 lineto + -0.0018 -0.9938 lineto + 0.0 -1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, -1.1579208923731617E77) +newpath + 0.1425 0.0 moveto + 0.1419 -0.0691 lineto + 0.1396 -0.1454 lineto + 0.1364 -0.2097 lineto + 0.13 -0.2999 lineto + 0.1214 -0.388 lineto + 0.1132 -0.457 lineto + 0.1026 -0.5333 lineto + 0.0893 -0.6149 lineto + 0.0738 -0.698 lineto + 0.057 -0.7778 lineto + 0.0404 -0.8489 lineto + 0.0198 -0.9294 lineto + 0.0018 -0.9938 lineto + 0.0 -1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Real axis +newpath -5 0 moveto 5 0 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 1.0 0.12 moveto 1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.0 0.12 moveto -1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 2.0 0.12 moveto 2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -2.0 0.12 moveto -2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.0 0.12 moveto 3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.0 0.12 moveto -3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 4.0 0.12 moveto 4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -4.0 0.12 moveto -4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 1.5707963267948966 0.09 moveto 1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.5707963267948966 0.09 moveto -1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.141592653589793 0.09 moveto 3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.141592653589793 0.09 moveto -3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +% Imaginary axis +newpath 0 -5 moveto 0 5 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 0.12 1.0 moveto -0.12 1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -1.0 moveto -0.12 -1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 2.0 moveto -0.12 2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -2.0 moveto -0.12 -2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 3.0 moveto -0.12 3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -3.0 moveto -0.12 -3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 4.0 moveto -0.12 4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -4.0 moveto -0.12 -4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 1.5707963267948966 moveto -0.09 1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -1.5707963267948966 moveto -0.09 -1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 3.141592653589793 moveto -0.09 3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -3.141592653589793 moveto -0.09 -3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +% End of PostScript file for plot of function TAN +%%EndDocument + @endspecial 34 x(The)h(usual)h(graph)g(of)f Fj(tan)e +FA(as)i(a)g(real)h(function)g(lo)q(oks)g(lik)o(e)g(an)g(in\014nite)h(c) +o(horus)e(line)i(of)d(disco)0 1846 y(dancers,)g(left)g(hands)h(p)q(oin) +o(ted)g(skyw)o(ard)f(and)g(righ)o(t)g(hands)h(to)f(the)f(\015o)q(or.)18 +b(The)12 b Fj(tan)f FA(function)0 1891 y(is)h(the)g(quotien)o(t)h(of)f +Fj(sin)e FA(and)j Fj(cos)d FA(but)i(it)g(do)q(esn't)g(m)o(uc)o(h)g(lo)q +(ok)h(lik)o(e)g(either)g(except)f(for)g(ha)o(ving)0 1937 +y(p)q(erio)q(d)19 b(2)p Fd(\031)q FA(.)32 b(This)18 b(go)q(es)g(for)g +(the)g(complex)h(plane)g(as)f(w)o(ell,)h(although)h(the)e(sw)o(o)q(op)o +(y)g(lo)q(ops)0 1983 y(pro)q(duced)h(from)f(the)g(ann)o(ulus)i(b)q(et)o +(w)o(een)e Fd(\031)q(=)p FA(2)g(and)g(2)g(lo)q(ok)h(v)n(aguely)g(lik)o +(e)h(those)e(from)f(the)0 2028 y(graph)12 b(of)e Fj(sin)g +FA(inside)j(out.)j(The)11 b(real)h(axis)g(is)f(mapp)q(ed)h(on)o(to)f +(itself)h(with)g(in\014nite)h(m)o(ultiplici)q(t)o(y)0 +2074 y(\(p)q(erio)q(d)g(2)p Fd(\031)q FA(\).)k(The)11 +b(imaginary)j(axis)f(is)f(mapp)q(ed)h(bac)o(kw)o(ards)f(on)o(to)g([)p +Ff(\000)p Fq(i)t Fd(;)5 b Fq(i)t FA(]:)15 b(+)p Ff(1)p +Fq(i)g FA(is)d(mapp)q(ed)0 2120 y(to)h Ff(\000)p Fq(i)j +FA(and)e Ff(\0001)p Fq(i)i FA(to)d(+)p Fq(i)t FA(.)j(Horizon)o(tal)f +(lines)f(b)q(elo)o(w)g(or)f(ab)q(o)o(v)o(e)h(the)f(real)g(axis)i(b)q +(ecome)e(circles)0 2165 y(surrounding)21 b(+)p Fq(i)f +FA(or)e Ff(\000)p Fq(i)t FA(,)g(resp)q(ectiv)o(ely)m(.)34 +b(V)m(ertical)18 b(lines)i(b)q(ecome)e(circular)i(arcs)e(from)f(+)p +Fq(i)0 2211 y FA(to)g Ff(\000)p Fq(i)t FA(;)g(t)o(w)o(o)f(v)o(ertical)i +(lines)h(separated)e(b)o(y)g(\(2)p Fq(k)e FA(+)c(1\))p +Fd(\031)18 b FA(for)e(in)o(teger)i Fq(k)i FA(together)d(b)q(ecome)h(a)0 +2257 y(complete)c(circle.)k(It)13 b(seems)g(that)g(t)o(w)o(o)f(arcs)h +(sho)o(wn)g(hit)h(the)f(real)g(axis)h(at)f Ff(\006)p +Fd(\031)q(=)p FA(2)e(=)f Ff(\006)p FA(1)p Fd(:)p FA(57)d +Fd(:)f(:)g(:)0 2302 y FA(but)13 b(that)h(is)f(a)g(coincidence;)j(they)d +(really)i(hit)e(the)h(axis)g(at)f Ff(\006)6 b FA(tan)h(1)k(=)f(1)p +Fd(:)p FA(55)d Fd(:)f(:)g(:)12 b FA(.)p 0 2332 V -33 +2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 352 376 +352 375 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(352)77 b(COMMON)13 +b(LISP)p 0 255 1395 2 v 0 322 a Fm(Figure)h(12-12:)j +FA(Illustration)f(of)d(the)g(Range)h(of)f(the)g(Arc)g(T)m(angen)o(t)g +(F)m(unction)0 1766 y @beginspecial @setspecial +%%BeginDocument: xatan-plot.ps +% PostScript file for plot of function GOOD-ATAN +% Plot is to fit in a region 4.666666666666667 inches square +% showing axes extending 4.1 units from the origin. + +40.97560975609756 40.97560975609756 scale +4.1 4.1 translate +newpath + -4.1 -4.1 moveto + 4.1 -4.1 lineto + 4.1 4.1 lineto + -4.1 4.1 lineto + closepath +clip +% Moby grid for function GOOD-ATAN +% Annulus 0.25 0.5 4 0.97 0.45 +% Sector from 4.7124 to 6.2832 (quadrant 3) +newpath + 0.0 -0.2554 moveto + 0.0 -0.3942 lineto + %middle radial + 0.0 -0.3942 lineto + 0.0 -0.5493 lineto + %end radial + 0.0 -0.5493 lineto + 0.0607 -0.5447 lineto + 0.1203 -0.5309 lineto + 0.1768 -0.5086 lineto + 0.2284 -0.4793 lineto + 0.3146 -0.4056 lineto + 0.378 -0.3206 lineto + %middle circumferential + 0.378 -0.3206 lineto + 0.4168 -0.2429 lineto + 0.4431 -0.1635 lineto + 0.4585 -0.0827 lineto + 0.4636 0.0 lineto + %end circumferential + 0.4636 0.0 lineto + 0.3588 0.0 lineto + %middle radial + 0.3588 0.0 lineto + 0.245 0.0 lineto + %end radial + 0.245 0.0 lineto + 0.2278 -0.094 lineto + 0.1803 -0.173 lineto + %middle circumferential + 0.1803 -0.173 lineto + 0.0971 -0.2345 lineto + 0.0 -0.2554 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 3.1416 to 4.7124 (quadrant 2) +newpath + -0.245 0.0 moveto + -0.3588 0.0 lineto + %middle radial + -0.3588 0.0 lineto + -0.4636 0.0 lineto + %end radial + -0.4636 0.0 lineto + -0.4597 -0.0722 lineto + -0.4466 -0.1492 lineto + -0.4212 -0.232 lineto + -0.378 -0.3206 lineto + %middle circumferential + -0.378 -0.3206 lineto + -0.3235 -0.3957 lineto + -0.2445 -0.4681 lineto + -0.1939 -0.4999 lineto + -0.1355 -0.5258 lineto + -0.0702 -0.5431 lineto + 0.0 -0.5493 lineto + %end circumferential + 0.0 -0.5493 lineto + 0.0 -0.3942 lineto + %middle radial + 0.0 -0.3942 lineto + 0.0 -0.2554 lineto + %end radial + 0.0 -0.2554 lineto + -0.1049 -0.2309 lineto + -0.1803 -0.173 lineto + %middle circumferential + -0.1803 -0.173 lineto + -0.2307 -0.0861 lineto + -0.245 0.0 lineto + %end circumferential + closepath +currentgray 0.6233333333333334 setgray fill setgray +% Sector from 1.5708 to 3.1416 (quadrant 1) +newpath + 0.0 0.2554 moveto + 0.0 0.3942 lineto + %middle radial + 0.0 0.3942 lineto + 0.0 0.5493 lineto + %end radial + 0.0 0.5493 lineto + -0.0542 0.5456 lineto + -0.1639 0.5145 lineto + -0.216 0.4872 lineto + -0.2641 0.4531 lineto + -0.3075 0.4132 lineto + -0.378 0.3206 lineto + %middle circumferential + -0.378 0.3206 lineto + -0.4149 0.2474 lineto + -0.4415 0.1697 lineto + -0.4579 0.0874 lineto + -0.4636 0.0 lineto + %end circumferential + -0.4636 0.0 lineto + -0.3588 0.0 lineto + %middle radial + -0.3588 0.0 lineto + -0.245 0.0 lineto + %end radial + -0.245 0.0 lineto + -0.2265 0.0973 lineto + -0.1803 0.173 lineto + %middle circumferential + -0.1803 0.173 lineto + -0.0912 0.2371 lineto + 0.0 0.2554 lineto + %end circumferential + closepath +currentgray 0.7966666666666668 setgray fill setgray +% Sector from 0.0 to 1.5708 (quadrant 0) +newpath + 0.245 0.0 moveto + 0.3588 0.0 lineto + %middle radial + 0.3588 0.0 lineto + 0.4636 0.0 lineto + %end radial + 0.4636 0.0 lineto + 0.4634 0.0172 lineto + 0.4551 0.1061 lineto + 0.4375 0.1839 lineto + 0.4066 0.2663 lineto + 0.378 0.3206 lineto + %middle circumferential + 0.378 0.3206 lineto + 0.3352 0.3818 lineto + 0.2673 0.4505 lineto + 0.2193 0.4852 lineto + 0.1593 0.5165 lineto + 0.0858 0.54 lineto + 0.0 0.5493 lineto + %end circumferential + 0.0 0.5493 lineto + 0.0 0.3942 lineto + %middle radial + 0.0 0.3942 lineto + 0.0 0.2554 lineto + %end radial + 0.0 0.2554 lineto + 0.0346 0.2529 lineto + 0.1163 0.2249 lineto + 0.1803 0.173 lineto + %middle circumferential + 0.1803 0.173 lineto + 0.2138 0.1248 lineto + 0.2415 0.0431 lineto + 0.245 0.0 lineto + %end circumferential + closepath +currentgray 0.9700000000000001 setgray fill setgray +% Annulus 0.75 1.0 8 0.97 0.45 +% Sector from 5.4978 to 6.2832 (quadrant 3) +newpath + 0.5898 -0.4135 moveto + 0.6918 -0.4345 lineto + %middle radial + 0.6918 -0.4345 lineto + 0.7854 -0.4407 lineto + %end radial + 0.7854 -0.4407 lineto + 0.7854 -0.2016 lineto + %middle circumferential + 0.7854 -0.2016 lineto + 0.7854 0.0 lineto + %end circumferential + 0.7854 0.0 lineto + 0.7188 0.0 lineto + %middle radial + 0.7188 0.0 lineto + 0.6435 0.0 lineto + %end radial + 0.6435 0.0 lineto + 0.6408 -0.0963 lineto + 0.6325 -0.1927 lineto + %middle circumferential + 0.6325 -0.1927 lineto + 0.6164 -0.2993 lineto + 0.5977 -0.384 lineto + 0.5898 -0.4135 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 4.7124 to 5.4978 (quadrant 3) +newpath + 0.0 -0.973 moveto + 0.0 -1.354 lineto + %middle radial + 0.0 -1.354 lineto + 0.0 -6.3492 lineto + 0.0 -6.378103166302659 lineto + 0.7854 -6.378103166302659 lineto + %end radial + 0.7854 -6.378103166302659 lineto + 0.7872 -6.378103166302659 lineto + 0.7854 -6.3204 lineto + 0.7854 -6.0649 lineto + 0.7854 -6.0024 lineto + 0.7854 -5.9211 lineto + 0.7854 -5.8299 lineto + 0.7854 -5.7529 lineto + 0.7854 -5.6558 lineto + 0.7854 -5.5269 lineto + 0.7854 -5.3395 lineto + 0.7854 -5.2806 lineto + 0.7854 -5.1368 lineto + 0.7854 -5.0252 lineto + 0.7854 -4.8814 lineto + 0.7854 -4.7131 lineto + 0.7854 -4.6464 lineto + 0.7854 -4.5875 lineto + 0.7854 -4.4036 lineto + 0.7854 -4.1882 lineto + 0.7854 -4.057 lineto + 0.7854 -3.9855 lineto + 0.7854 -3.9229 lineto + 0.7854 -3.8416 lineto + 0.7854 -3.7104 lineto + 0.7854 -3.4473 lineto + 0.7854 -3.3267 lineto + 0.7854 -3.2599 lineto + 0.7854 -3.201 lineto + 0.7854 -3.1006 lineto + 0.7854 -3.0171 lineto + 0.7854 -2.9132 lineto + 0.7854 -2.8543 lineto + 0.7854 -2.7539 lineto + 0.7854 -2.5663 lineto + 0.7854 -2.4068 lineto + 0.7854 -2.3232 lineto + 0.7854 -2.1887 lineto + 0.7854 -2.0594 lineto + 0.7854 -1.9755 lineto + 0.7854 -1.9036 lineto + 0.7854 -1.8407 lineto + 0.7854 -1.7589 lineto + 0.7854 -1.5545 lineto + 0.7854 -1.4622 lineto + 0.7854 -1.3604 lineto + 0.7854 -1.2753 lineto + 0.7854 -1.2022 lineto + 0.7854 -0.8074 lineto + %middle circumferential + 0.7854 -0.8074 lineto + 0.7854 -0.5997 lineto + 0.7854 -0.4775 lineto + 0.7854 -0.4407 lineto + %end circumferential + 0.7854 -0.4407 lineto + 0.6918 -0.4345 lineto + %middle radial + 0.6918 -0.4345 lineto + 0.5898 -0.4135 lineto + %end radial + 0.5898 -0.4135 lineto + 0.5693 -0.4794 lineto + 0.5426 -0.5495 lineto + 0.5072 -0.6243 lineto + 0.4598 -0.7037 lineto + %middle circumferential + 0.4598 -0.7037 lineto + 0.409 -0.7704 lineto + 0.3673 -0.8151 lineto + 0.318 -0.8584 lineto + 0.2602 -0.8985 lineto + 0.1938 -0.9327 lineto + 0.1197 -0.9579 lineto + 0.0404 -0.9713 lineto + 0.0 -0.973 lineto + %end circumferential + closepath +currentgray 0.5242857142857142 setgray fill setgray +% Sector from 3.927 to 4.7124 (quadrant 2) +newpath + -0.5898 -0.4135 moveto + -0.6918 -0.4345 lineto + %middle radial + -0.6918 -0.4345 lineto + -0.7854 -0.4407 lineto + %end radial + -0.7854 -0.4407 lineto + -0.7854 -0.5922 lineto + -0.7854 -0.8074 lineto + %middle circumferential + -0.7854 -0.8074 lineto + -0.7854 -1.1799 lineto + -0.7854 -1.2504 lineto + -0.7854 -1.38 lineto + -0.7854 -1.4905 lineto + -0.7854 -1.5567 lineto + -0.7854 -1.6332 lineto + -0.7854 -2.0212 lineto + -0.7854 -2.1212 lineto + -0.7854 -2.2121 lineto + -0.7854 -2.5259 lineto + -0.7854 -2.8133 lineto + -0.7854 -2.9044 lineto + -0.7854 -3.0594 lineto + -0.7854 -3.1596 lineto + -0.7854 -3.2185 lineto + -0.7854 -3.4535 lineto + -0.7854 -3.5347 lineto + -0.7854 -3.6688 lineto + -0.7854 -3.9115 lineto + -0.7854 -4.0154 lineto + -0.7854 -4.0989 lineto + -0.7854 -4.1992 lineto + -0.7854 -4.2581 lineto + -0.7854 -4.3249 lineto + -0.7854 -4.4019 lineto + -0.7854 -4.4931 lineto + -0.7854 -4.5743 lineto + -0.7854 -4.6714 lineto + -0.7854 -4.8923 lineto + -0.7854 -5.018 lineto + -0.7854 -5.2675 lineto + -0.7854 -5.4851 lineto + -0.7854 -5.6444 lineto + -0.7854 -5.8317 lineto + -0.7854 -5.9909 lineto + -0.7854 -6.0577 lineto + -0.7854 -6.1783 lineto + -0.7854 -6.2786 lineto + -0.7923 -6.378103166302659 lineto + -0.7854 -6.378103166302659 lineto + %end circumferential + -0.7854 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.3492 lineto + 0.0 -1.354 lineto + %middle radial + 0.0 -1.354 lineto + 0.0 -0.973 lineto + %end radial + 0.0 -0.973 lineto + -0.0865 -0.9651 lineto + -0.167 -0.9433 lineto + -0.2385 -0.911 lineto + -0.2997 -0.8722 lineto + -0.3512 -0.8303 lineto + -0.3941 -0.7874 lineto + -0.4598 -0.7037 lineto + %middle circumferential + -0.4598 -0.7037 lineto + -0.5098 -0.6193 lineto + -0.5451 -0.5434 lineto + -0.5707 -0.4752 lineto + -0.5898 -0.4135 lineto + %end circumferential + closepath +currentgray 0.5985714285714285 setgray fill setgray +% Sector from 3.1416 to 3.927 (quadrant 2) +newpath + -0.6435 0.0 moveto + -0.7188 0.0 lineto + %middle radial + -0.7188 0.0 lineto + -0.7854 0.0 lineto + %end radial + -0.7854 0.0 lineto + -0.7854 -0.047 lineto + -0.7854 -0.2016 lineto + %middle circumferential + -0.7854 -0.2016 lineto + -0.7854 -0.4052 lineto + -0.7854 -0.4407 lineto + %end circumferential + -0.7854 -0.4407 lineto + -0.6918 -0.4345 lineto + %middle radial + -0.6918 -0.4345 lineto + -0.5898 -0.4135 lineto + %end radial + -0.5898 -0.4135 lineto + -0.5982 -0.3817 lineto + -0.6172 -0.2945 lineto + -0.6325 -0.1927 lineto + %middle circumferential + -0.6325 -0.1927 lineto + -0.641 -0.0919 lineto + -0.6435 0.0 lineto + %end circumferential + closepath +currentgray 0.6728571428571428 setgray fill setgray +% Sector from 2.3562 to 3.1416 (quadrant 1) +newpath + -0.5898 0.4135 moveto + -0.6918 0.4345 lineto + %middle radial + -0.6918 0.4345 lineto + -0.7854 0.4407 lineto + %end radial + -0.7854 0.4407 lineto + -0.7854 0.2016 lineto + %middle circumferential + -0.7854 0.2016 lineto + -0.7854 0.0517 lineto + -0.7854 0.0 lineto + %end circumferential + -0.7854 0.0 lineto + -0.7188 0.0 lineto + %middle radial + -0.7188 0.0 lineto + -0.6435 0.0 lineto + %end radial + -0.6435 0.0 lineto + -0.6407 0.098 lineto + -0.6325 0.1927 lineto + %middle circumferential + -0.6325 0.1927 lineto + -0.6159 0.3016 lineto + -0.5898 0.4135 lineto + %end circumferential + closepath +currentgray 0.7471428571428572 setgray fill setgray +% Sector from 1.5708 to 2.3562 (quadrant 1) +newpath + 0.0 0.973 moveto + 0.0 1.354 lineto + %middle radial + 0.0 1.354 lineto + 0.0 6.3492 lineto + 0.0 6.378103166302659 lineto + -0.7854 6.378103166302659 lineto + %end radial + -0.7854 6.378103166302659 lineto + -0.7899 6.378103166302659 lineto + -0.7854 6.2567 lineto + -0.7854 6.1361 lineto + -0.7854 5.9101 lineto + -0.7854 5.6925 lineto + -0.7854 5.6112 lineto + -0.7854 5.52 lineto + -0.7854 5.443 lineto + -0.7854 5.3762 lineto + -0.7854 5.3173 lineto + -0.7854 5.0964 lineto + -0.7854 4.8269 lineto + -0.7854 4.5715 lineto + -0.7854 4.4803 lineto + -0.7854 4.3687 lineto + -0.7854 4.3061 lineto + -0.7854 4.2248 lineto + -0.7854 4.0936 lineto + -0.7854 3.9898 lineto + -0.7854 3.9309 lineto + -0.7854 3.8305 lineto + -0.7854 3.6754 lineto + -0.7854 3.6128 lineto + -0.7854 3.4403 lineto + -0.7854 3.3286 lineto + -0.7854 3.2374 lineto + -0.7854 2.8903 lineto + -0.7854 2.7462 lineto + -0.7854 2.6689 lineto + -0.7854 2.5428 lineto + -0.7854 2.442 lineto + -0.7854 2.1411 lineto + -0.7854 2.049 lineto + -0.7854 1.9034 lineto + -0.7854 1.8436 lineto + -0.7854 1.5495 lineto + -0.7854 1.3847 lineto + -0.7854 1.2974 lineto + -0.7854 1.0682 lineto + -0.7854 0.8074 lineto + %middle circumferential + -0.7854 0.8074 lineto + -0.7854 0.4793 lineto + -0.7854 0.4407 lineto + %end circumferential + -0.7854 0.4407 lineto + -0.6918 0.4345 lineto + %middle radial + -0.6918 0.4345 lineto + -0.5898 0.4135 lineto + %end radial + -0.5898 0.4135 lineto + -0.5683 0.4822 lineto + -0.5409 0.5534 lineto + -0.5056 0.6274 lineto + -0.4598 0.7037 lineto + %middle circumferential + -0.4598 0.7037 lineto + -0.4057 0.7744 lineto + -0.3616 0.8205 lineto + -0.3103 0.8643 lineto + -0.2514 0.9037 lineto + -0.1851 0.9363 lineto + -0.113 0.9595 lineto + -0.0377 0.9715 lineto + 0.0 0.973 lineto + %end circumferential + closepath +currentgray 0.8214285714285714 setgray fill setgray +% Sector from 0.7854 to 1.5708 (quadrant 0) +newpath + 0.5898 0.4135 moveto + 0.6918 0.4345 lineto + %middle radial + 0.6918 0.4345 lineto + 0.7854 0.4407 lineto + %end radial + 0.7854 0.4407 lineto + 0.7854 0.4702 lineto + 0.7854 0.5386 lineto + 0.7854 0.7362 lineto + 0.7854 0.8074 lineto + %middle circumferential + 0.7854 0.8074 lineto + 0.7854 0.867 lineto + 0.7854 1.124 lineto + 0.7854 1.2218 lineto + 0.7854 1.3469 lineto + 0.7854 1.4543 lineto + 0.7854 1.5549 lineto + 0.7854 1.8945 lineto + 0.7854 2.1345 lineto + 0.7854 2.2007 lineto + 0.7854 2.2772 lineto + 0.7854 2.4487 lineto + 0.7854 2.5453 lineto + 0.7854 2.713 lineto + 0.7854 2.7941 lineto + 0.7854 3.1115 lineto + 0.7854 3.1703 lineto + 0.7854 3.237 lineto + 0.7854 3.4051 lineto + 0.7854 3.5489 lineto + 0.7854 3.6204 lineto + 0.7854 3.8953 lineto + 0.7854 4.1507 lineto + 0.7854 4.3133 lineto + 0.7854 4.5258 lineto + 0.7854 4.6228 lineto + 0.7854 4.7434 lineto + 0.7854 4.8723 lineto + 0.7854 4.9349 lineto + 0.7854 5.0064 lineto + 0.7854 5.2189 lineto + 0.7854 5.2815 lineto + 0.7854 5.393 lineto + 0.7854 5.4842 lineto + 0.7854 5.628 lineto + 0.7854 5.7396 lineto + 0.7854 5.8834 lineto + 0.7854 5.9746 lineto + 0.7854 6.1297 lineto + 0.7854 6.23 lineto + 0.7854 6.2889 lineto + 0.79 6.378103166302659 lineto + 0.7854 6.378103166302659 lineto + %end circumferential + 0.7854 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.3492 lineto + 0.0 1.354 lineto + %middle radial + 0.0 1.354 lineto + 0.0 0.973 lineto + %end radial + 0.0 0.973 lineto + 0.0478 0.9706 lineto + 0.1377 0.9529 lineto + 0.2162 0.9224 lineto + 0.2823 0.8844 lineto + 0.3365 0.8432 lineto + 0.3999 0.781 lineto + 0.4598 0.7037 lineto + %middle circumferential + 0.4598 0.7037 lineto + 0.5146 0.6099 lineto + 0.5496 0.5324 lineto + 0.5732 0.4679 lineto + 0.5898 0.4135 lineto + %end circumferential + closepath +currentgray 0.8957142857142858 setgray fill setgray +% Sector from 0.0 to 0.7854 (quadrant 0) +newpath + 0.6435 0.0 moveto + 0.7188 0.0 lineto + %middle radial + 0.7188 0.0 lineto + 0.7854 0.0 lineto + %end radial + 0.7854 0.0 lineto + 0.7854 0.0109 lineto + 0.7854 0.2016 lineto + %middle circumferential + 0.7854 0.2016 lineto + 0.7854 0.4407 lineto + %end circumferential + 0.7854 0.4407 lineto + 0.6918 0.4345 lineto + %middle radial + 0.6918 0.4345 lineto + 0.5898 0.4135 lineto + %end radial + 0.5898 0.4135 lineto + 0.6085 0.338 lineto + 0.6201 0.2788 lineto + 0.6325 0.1927 lineto + %middle circumferential + 0.6325 0.1927 lineto + 0.6383 0.1327 lineto + 0.6429 0.0444 lineto + 0.6435 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 1.5708 2.0 16 0.97 0.45 +% Sector from 5.8905 to 6.2832 (quadrant 3) +newpath + 1.0194 -0.1809 moveto + 1.0782 -0.1693 lineto + %middle radial + 1.0782 -0.1693 lineto + 1.1263 -0.1581 lineto + %end radial + 1.1263 -0.1581 lineto + 1.1118 -0.0787 lineto + %middle circumferential + 1.1118 -0.0787 lineto + 1.1071 0.0 lineto + %end circumferential + 1.1071 0.0 lineto + 1.0602 0.0 lineto + %middle radial + 1.0602 0.0 lineto + 1.0039 0.0 lineto + %end radial + 1.0039 0.0 lineto + 1.0076 -0.0893 lineto + %middle circumferential + 1.0076 -0.0893 lineto + 1.0194 -0.1809 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.4978 to 5.8905 (quadrant 3) +newpath + 1.0773 -0.3797 moveto + 1.1424 -0.3489 lineto + %middle radial + 1.1424 -0.3489 lineto + 1.1928 -0.3206 lineto + %end radial + 1.1928 -0.3206 lineto + 1.1524 -0.2389 lineto + %middle circumferential + 1.1524 -0.2389 lineto + 1.1263 -0.1581 lineto + %end circumferential + 1.1263 -0.1581 lineto + 1.0782 -0.1693 lineto + %middle radial + 1.0782 -0.1693 lineto + 1.0194 -0.1809 lineto + %end radial + 1.0194 -0.1809 lineto + 1.0413 -0.2769 lineto + %middle circumferential + 1.0413 -0.2769 lineto + 1.0773 -0.3797 lineto + %end circumferential + closepath +currentgray 0.48466666666666664 setgray fill setgray +% Sector from 5.1051 to 5.4978 (quadrant 3) +newpath + 1.2276 -0.6056 moveto + 1.2916 -0.5328 lineto + %middle radial + 1.2916 -0.5328 lineto + 1.3349 -0.4743 lineto + %end radial + 1.3349 -0.4743 lineto + 1.252 -0.401 lineto + %middle circumferential + 1.252 -0.401 lineto + 1.1928 -0.3206 lineto + %end circumferential + 1.1928 -0.3206 lineto + 1.1424 -0.3489 lineto + %middle radial + 1.1424 -0.3489 lineto + 1.0773 -0.3797 lineto + %end radial + 1.0773 -0.3797 lineto + 1.103 -0.4345 lineto + 1.1349 -0.4903 lineto + %middle circumferential + 1.1349 -0.4903 lineto + 1.1762 -0.5485 lineto + 1.2276 -0.6056 lineto + %end circumferential + closepath +currentgray 0.5193333333333334 setgray fill setgray +% Sector from 4.7124 to 5.1051 (quadrant 3) +newpath + 1.5708 -0.7525 moveto + 1.5708 -0.633 lineto + %middle radial + 1.5708 -0.633 lineto + 1.5708 -0.5493 lineto + %end radial + 1.5708 -0.5493 lineto + 1.5065 -0.5441 lineto + 1.4436 -0.5286 lineto + %middle circumferential + 1.4436 -0.5286 lineto + 1.3867 -0.505 lineto + 1.3349 -0.4743 lineto + %end circumferential + 1.3349 -0.4743 lineto + 1.2916 -0.5328 lineto + %middle radial + 1.2916 -0.5328 lineto + 1.2276 -0.6056 lineto + %end radial + 1.2276 -0.6056 lineto + 1.2935 -0.661 lineto + 1.373 -0.7077 lineto + %middle circumferential + 1.373 -0.7077 lineto + 1.4684 -0.7408 lineto + 1.5708 -0.7525 lineto + %end circumferential + closepath +currentgray 0.554 setgray fill setgray +% Sector from 4.3197 to 4.7124 (quadrant 2) +newpath + -1.2276 -0.6056 moveto + -1.2916 -0.5328 lineto + %middle radial + -1.2916 -0.5328 lineto + -1.3349 -0.4743 lineto + %end radial + -1.3349 -0.4743 lineto + -1.3855 -0.5044 lineto + -1.4436 -0.5286 lineto + %middle circumferential + -1.4436 -0.5286 lineto + -1.5051 -0.5439 lineto + -1.5708 -0.5493 lineto + %end circumferential + -1.5708 -0.5493 lineto + -1.5708 -0.633 lineto + %middle radial + -1.5708 -0.633 lineto + -1.5708 -0.7525 lineto + %end radial + -1.5708 -0.7525 lineto + -1.4663 -0.7403 lineto + -1.373 -0.7077 lineto + %middle circumferential + -1.373 -0.7077 lineto + -1.292 -0.6599 lineto + -1.2276 -0.6056 lineto + %end circumferential + closepath +currentgray 0.5886666666666667 setgray fill setgray +% Sector from 3.927 to 4.3197 (quadrant 2) +newpath + -1.0773 -0.3797 moveto + -1.1424 -0.3489 lineto + %middle radial + -1.1424 -0.3489 lineto + -1.1928 -0.3206 lineto + %end radial + -1.1928 -0.3206 lineto + -1.252 -0.401 lineto + %middle circumferential + -1.252 -0.401 lineto + -1.3349 -0.4743 lineto + %end circumferential + -1.3349 -0.4743 lineto + -1.2916 -0.5328 lineto + %middle radial + -1.2916 -0.5328 lineto + -1.2276 -0.6056 lineto + %end radial + -1.2276 -0.6056 lineto + -1.1753 -0.5473 lineto + -1.1349 -0.4903 lineto + %middle circumferential + -1.1349 -0.4903 lineto + -1.1024 -0.4333 lineto + -1.0773 -0.3797 lineto + %end circumferential + closepath +currentgray 0.6233333333333333 setgray fill setgray +% Sector from 3.5343 to 3.927 (quadrant 2) +newpath + -1.0194 -0.1809 moveto + -1.0782 -0.1693 lineto + %middle radial + -1.0782 -0.1693 lineto + -1.1263 -0.1581 lineto + %end radial + -1.1263 -0.1581 lineto + -1.1524 -0.2389 lineto + %middle circumferential + -1.1524 -0.2389 lineto + -1.1928 -0.3206 lineto + %end circumferential + -1.1928 -0.3206 lineto + -1.1424 -0.3489 lineto + %middle radial + -1.1424 -0.3489 lineto + -1.0773 -0.3797 lineto + %end radial + -1.0773 -0.3797 lineto + -1.0413 -0.2769 lineto + %middle circumferential + -1.0413 -0.2769 lineto + -1.0194 -0.1809 lineto + %end circumferential + closepath +currentgray 0.658 setgray fill setgray +% Sector from 3.1416 to 3.5343 (quadrant 2) +newpath + -1.0039 0.0 moveto + -1.0602 0.0 lineto + %middle radial + -1.0602 0.0 lineto + -1.1071 0.0 lineto + %end radial + -1.1071 0.0 lineto + -1.1118 -0.0787 lineto + %middle circumferential + -1.1118 -0.0787 lineto + -1.1263 -0.1581 lineto + %end circumferential + -1.1263 -0.1581 lineto + -1.0782 -0.1693 lineto + %middle radial + -1.0782 -0.1693 lineto + -1.0194 -0.1809 lineto + %end radial + -1.0194 -0.1809 lineto + -1.0076 -0.0893 lineto + %middle circumferential + -1.0076 -0.0893 lineto + -1.0039 0.0 lineto + %end circumferential + closepath +currentgray 0.6926666666666667 setgray fill setgray +% Sector from 2.7489 to 3.1416 (quadrant 1) +newpath + -1.0194 0.1809 moveto + -1.0782 0.1693 lineto + %middle radial + -1.0782 0.1693 lineto + -1.1263 0.1581 lineto + %end radial + -1.1263 0.1581 lineto + -1.1118 0.0787 lineto + %middle circumferential + -1.1118 0.0787 lineto + -1.1071 0.0 lineto + %end circumferential + -1.1071 0.0 lineto + -1.0602 0.0 lineto + %middle radial + -1.0602 0.0 lineto + -1.0039 0.0 lineto + %end radial + -1.0039 0.0 lineto + -1.0076 0.0893 lineto + %middle circumferential + -1.0076 0.0893 lineto + -1.0194 0.1809 lineto + %end circumferential + closepath +currentgray 0.7273333333333334 setgray fill setgray +% Sector from 2.3562 to 2.7489 (quadrant 1) +newpath + -1.0773 0.3797 moveto + -1.1424 0.3489 lineto + %middle radial + -1.1424 0.3489 lineto + -1.1928 0.3206 lineto + %end radial + -1.1928 0.3206 lineto + -1.1524 0.2389 lineto + %middle circumferential + -1.1524 0.2389 lineto + -1.1263 0.1581 lineto + %end circumferential + -1.1263 0.1581 lineto + -1.0782 0.1693 lineto + %middle radial + -1.0782 0.1693 lineto + -1.0194 0.1809 lineto + %end radial + -1.0194 0.1809 lineto + -1.0413 0.2769 lineto + %middle circumferential + -1.0413 0.2769 lineto + -1.0773 0.3797 lineto + %end circumferential + closepath +currentgray 0.762 setgray fill setgray +% Sector from 1.9635 to 2.3562 (quadrant 1) +newpath + -1.2276 0.6056 moveto + -1.2916 0.5328 lineto + %middle radial + -1.2916 0.5328 lineto + -1.3349 0.4743 lineto + %end radial + -1.3349 0.4743 lineto + -1.252 0.401 lineto + %middle circumferential + -1.252 0.401 lineto + -1.1928 0.3206 lineto + %end circumferential + -1.1928 0.3206 lineto + -1.1424 0.3489 lineto + %middle radial + -1.1424 0.3489 lineto + -1.0773 0.3797 lineto + %end radial + -1.0773 0.3797 lineto + -1.1034 0.4352 lineto + -1.1349 0.4903 lineto + %middle circumferential + -1.1349 0.4903 lineto + -1.1769 0.5494 lineto + -1.2276 0.6056 lineto + %end circumferential + closepath +currentgray 0.7966666666666666 setgray fill setgray +% Sector from 1.5708 to 1.9635 (quadrant 1) +newpath + -1.5708 0.7525 moveto + -1.5708 0.633 lineto + %middle radial + -1.5708 0.633 lineto + -1.5708 0.5493 lineto + %end radial + -1.5708 0.5493 lineto + -1.5077 0.5443 lineto + -1.4436 0.5286 lineto + %middle circumferential + -1.4436 0.5286 lineto + -1.3876 0.5055 lineto + -1.3349 0.4743 lineto + %end circumferential + -1.3349 0.4743 lineto + -1.2916 0.5328 lineto + %middle radial + -1.2916 0.5328 lineto + -1.2276 0.6056 lineto + %end radial + -1.2276 0.6056 lineto + -1.2947 0.6618 lineto + -1.373 0.7077 lineto + %middle circumferential + -1.373 0.7077 lineto + -1.4703 0.7412 lineto + -1.5708 0.7525 lineto + %end circumferential + closepath +currentgray 0.8313333333333334 setgray fill setgray +% Sector from 1.1781 to 1.5708 (quadrant 0) +newpath + 1.2276 0.6056 moveto + 1.2916 0.5328 lineto + %middle radial + 1.2916 0.5328 lineto + 1.3349 0.4743 lineto + %end radial + 1.3349 0.4743 lineto + 1.3841 0.5037 lineto + 1.4436 0.5286 lineto + %middle circumferential + 1.4436 0.5286 lineto + 1.5037 0.5436 lineto + 1.5708 0.5493 lineto + %end circumferential + 1.5708 0.5493 lineto + 1.5708 0.633 lineto + %middle radial + 1.5708 0.633 lineto + 1.5708 0.7525 lineto + %end radial + 1.5708 0.7525 lineto + 1.464 0.7398 lineto + 1.373 0.7077 lineto + %middle circumferential + 1.373 0.7077 lineto + 1.29 0.6585 lineto + 1.2276 0.6056 lineto + %end circumferential + closepath +currentgray 0.866 setgray fill setgray +% Sector from 0.7854 to 1.1781 (quadrant 0) +newpath + 1.0773 0.3797 moveto + 1.1424 0.3489 lineto + %middle radial + 1.1424 0.3489 lineto + 1.1928 0.3206 lineto + %end radial + 1.1928 0.3206 lineto + 1.252 0.401 lineto + %middle circumferential + 1.252 0.401 lineto + 1.3102 0.4559 lineto + 1.3349 0.4743 lineto + %end circumferential + 1.3349 0.4743 lineto + 1.2916 0.5328 lineto + %middle radial + 1.2916 0.5328 lineto + 1.2276 0.6056 lineto + %end radial + 1.2276 0.6056 lineto + 1.1737 0.5454 lineto + 1.1349 0.4903 lineto + %middle circumferential + 1.1349 0.4903 lineto + 1.1011 0.4309 lineto + 1.0773 0.3797 lineto + %end circumferential + closepath +currentgray 0.9006666666666666 setgray fill setgray +% Sector from 0.3927 to 0.7854 (quadrant 0) +newpath + 1.0194 0.1809 moveto + 1.0782 0.1693 lineto + %middle radial + 1.0782 0.1693 lineto + 1.1263 0.1581 lineto + %end radial + 1.1263 0.1581 lineto + 1.1524 0.2389 lineto + %middle circumferential + 1.1524 0.2389 lineto + 1.1928 0.3206 lineto + %end circumferential + 1.1928 0.3206 lineto + 1.1424 0.3489 lineto + %middle radial + 1.1424 0.3489 lineto + 1.0773 0.3797 lineto + %end radial + 1.0773 0.3797 lineto + 1.0655 0.3504 lineto + 1.0413 0.2769 lineto + %middle circumferential + 1.0413 0.2769 lineto + 1.0194 0.1809 lineto + %end circumferential + closepath +currentgray 0.9353333333333332 setgray fill setgray +% Sector from 0.0 to 0.3927 (quadrant 0) +newpath + 1.0039 0.0 moveto + 1.0602 0.0 lineto + %middle radial + 1.0602 0.0 lineto + 1.1071 0.0 lineto + %end radial + 1.1071 0.0 lineto + 1.1074 0.0186 lineto + 1.1118 0.0787 lineto + %middle circumferential + 1.1118 0.0787 lineto + 1.1263 0.1581 lineto + %end circumferential + 1.1263 0.1581 lineto + 1.0782 0.1693 lineto + %middle radial + 1.0782 0.1693 lineto + 1.0194 0.1809 lineto + %end radial + 1.0194 0.1809 lineto + 1.0076 0.0893 lineto + %middle circumferential + 1.0076 0.0893 lineto + 1.0041 0.0211 lineto + 1.0039 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 3.0 3.1416 32 0.97 0.45 +% Sector from 6.0868 to 6.2832 (quadrant 3) +newpath + 1.2537 -0.0588 moveto + 1.2606 -0.0577 lineto + %middle radial + 1.2606 -0.0577 lineto + 1.2672 -0.0566 lineto + %end radial + 1.2672 -0.0566 lineto + 1.2638 -0.0284 lineto + %middle circumferential + 1.2638 -0.0284 lineto + 1.2626 0.0 lineto + %end circumferential + 1.2626 0.0 lineto + 1.256 0.0 lineto + %middle radial + 1.256 0.0 lineto + 1.249 0.0 lineto + %end radial + 1.249 0.0 lineto + 1.2502 -0.0294 lineto + %middle circumferential + 1.2502 -0.0294 lineto + 1.2537 -0.0588 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.8905 to 6.0868 (quadrant 3) +newpath + 1.2678 -0.1169 moveto + 1.2746 -0.1146 lineto + %middle radial + 1.2746 -0.1146 lineto + 1.281 -0.1125 lineto + %end radial + 1.281 -0.1125 lineto + 1.2729 -0.0847 lineto + %middle circumferential + 1.2729 -0.0847 lineto + 1.2672 -0.0566 lineto + %end circumferential + 1.2672 -0.0566 lineto + 1.2606 -0.0577 lineto + %middle radial + 1.2606 -0.0577 lineto + 1.2537 -0.0588 lineto + %end radial + 1.2537 -0.0588 lineto + 1.2595 -0.088 lineto + %middle circumferential + 1.2595 -0.088 lineto + 1.2678 -0.1169 lineto + %end circumferential + closepath +currentgray 0.4667741935483871 setgray fill setgray +% Sector from 5.6941 to 5.8905 (quadrant 3) +newpath + 1.292 -0.1733 moveto + 1.2985 -0.1698 lineto + %middle radial + 1.2985 -0.1698 lineto + 1.3046 -0.1665 lineto + %end radial + 1.3046 -0.1665 lineto + 1.2916 -0.1398 lineto + %middle circumferential + 1.2916 -0.1398 lineto + 1.281 -0.1125 lineto + %end circumferential + 1.281 -0.1125 lineto + 1.2746 -0.1146 lineto + %middle radial + 1.2746 -0.1146 lineto + 1.2678 -0.1169 lineto + %end radial + 1.2678 -0.1169 lineto + 1.2786 -0.1454 lineto + %middle circumferential + 1.2786 -0.1454 lineto + 1.292 -0.1733 lineto + %end circumferential + closepath +currentgray 0.4835483870967742 setgray fill setgray +% Sector from 5.4978 to 5.6941 (quadrant 3) +newpath + 1.327 -0.2264 moveto + 1.3329 -0.2217 lineto + %middle radial + 1.3329 -0.2217 lineto + 1.3386 -0.2171 lineto + %end radial + 1.3386 -0.2171 lineto + 1.3203 -0.1923 lineto + %middle circumferential + 1.3203 -0.1923 lineto + 1.3046 -0.1665 lineto + %end circumferential + 1.3046 -0.1665 lineto + 1.2985 -0.1698 lineto + %middle radial + 1.2985 -0.1698 lineto + 1.292 -0.1733 lineto + %end radial + 1.292 -0.1733 lineto + 1.3081 -0.2004 lineto + %middle circumferential + 1.3081 -0.2004 lineto + 1.327 -0.2264 lineto + %end circumferential + closepath +currentgray 0.5003225806451613 setgray fill setgray +% Sector from 5.3014 to 5.4978 (quadrant 3) +newpath + 1.3734 -0.2739 moveto + 1.3785 -0.2678 lineto + %middle radial + 1.3785 -0.2678 lineto + 1.3833 -0.2619 lineto + %end radial + 1.3833 -0.2619 lineto + 1.3596 -0.2404 lineto + %middle circumferential + 1.3596 -0.2404 lineto + 1.3386 -0.2171 lineto + %end circumferential + 1.3386 -0.2171 lineto + 1.3329 -0.2217 lineto + %middle radial + 1.3329 -0.2217 lineto + 1.327 -0.2264 lineto + %end radial + 1.327 -0.2264 lineto + 1.3487 -0.2511 lineto + %middle circumferential + 1.3487 -0.2511 lineto + 1.3734 -0.2739 lineto + %end circumferential + closepath +currentgray 0.5170967741935484 setgray fill setgray +% Sector from 5.1051 to 5.3014 (quadrant 3) +newpath + 1.431 -0.3123 moveto + 1.4348 -0.3049 lineto + %middle radial + 1.4348 -0.3049 lineto + 1.4384 -0.2979 lineto + %end radial + 1.4384 -0.2979 lineto + 1.4097 -0.2812 lineto + %middle circumferential + 1.4097 -0.2812 lineto + 1.3833 -0.2619 lineto + %end circumferential + 1.3833 -0.2619 lineto + 1.3785 -0.2678 lineto + %middle radial + 1.3785 -0.2678 lineto + 1.3734 -0.2739 lineto + %end radial + 1.3734 -0.2739 lineto + 1.4009 -0.2945 lineto + %middle circumferential + 1.4009 -0.2945 lineto + 1.431 -0.3123 lineto + %end circumferential + closepath +currentgray 0.5338709677419355 setgray fill setgray +% Sector from 4.9087 to 5.1051 (quadrant 3) +newpath + 1.4982 -0.3377 moveto + 1.5002 -0.3294 lineto + %middle radial + 1.5002 -0.3294 lineto + 1.5021 -0.3215 lineto + %end radial + 1.5021 -0.3215 lineto + 1.4694 -0.3115 lineto + %middle circumferential + 1.4694 -0.3115 lineto + 1.4384 -0.2979 lineto + %end circumferential + 1.4384 -0.2979 lineto + 1.4348 -0.3049 lineto + %middle radial + 1.4348 -0.3049 lineto + 1.431 -0.3123 lineto + %end radial + 1.431 -0.3123 lineto + 1.4636 -0.3269 lineto + %middle circumferential + 1.4636 -0.3269 lineto + 1.4982 -0.3377 lineto + %end circumferential + closepath +currentgray 0.5506451612903226 setgray fill setgray +% Sector from 4.7124 to 4.9087 (quadrant 3) +newpath + 1.5708 -0.3466 moveto + 1.5708 -0.338 lineto + %middle radial + 1.5708 -0.338 lineto + 1.5708 -0.3298 lineto + %end radial + 1.5708 -0.3298 lineto + 1.5361 -0.3277 lineto + %middle circumferential + 1.5361 -0.3277 lineto + 1.5021 -0.3215 lineto + %end circumferential + 1.5021 -0.3215 lineto + 1.5002 -0.3294 lineto + %middle radial + 1.5002 -0.3294 lineto + 1.4982 -0.3377 lineto + %end radial + 1.4982 -0.3377 lineto + 1.5341 -0.3443 lineto + %middle circumferential + 1.5341 -0.3443 lineto + 1.5708 -0.3466 lineto + %end circumferential + closepath +currentgray 0.5674193548387096 setgray fill setgray +% Sector from 4.516 to 4.7124 (quadrant 2) +newpath + -1.4982 -0.3377 moveto + -1.5002 -0.3294 lineto + %middle radial + -1.5002 -0.3294 lineto + -1.5021 -0.3215 lineto + %end radial + -1.5021 -0.3215 lineto + -1.5361 -0.3277 lineto + %middle circumferential + -1.5361 -0.3277 lineto + -1.5708 -0.3298 lineto + %end circumferential + -1.5708 -0.3298 lineto + -1.5708 -0.338 lineto + %middle radial + -1.5708 -0.338 lineto + -1.5708 -0.3466 lineto + %end radial + -1.5708 -0.3466 lineto + -1.5341 -0.3443 lineto + %middle circumferential + -1.5341 -0.3443 lineto + -1.4982 -0.3377 lineto + %end circumferential + closepath +currentgray 0.5841935483870968 setgray fill setgray +% Sector from 4.3197 to 4.516 (quadrant 2) +newpath + -1.431 -0.3123 moveto + -1.4348 -0.3049 lineto + %middle radial + -1.4348 -0.3049 lineto + -1.4384 -0.2979 lineto + %end radial + -1.4384 -0.2979 lineto + -1.4694 -0.3115 lineto + %middle circumferential + -1.4694 -0.3115 lineto + -1.5021 -0.3215 lineto + %end circumferential + -1.5021 -0.3215 lineto + -1.5002 -0.3294 lineto + %middle radial + -1.5002 -0.3294 lineto + -1.4982 -0.3377 lineto + %end radial + -1.4982 -0.3377 lineto + -1.4636 -0.3269 lineto + %middle circumferential + -1.4636 -0.3269 lineto + -1.431 -0.3123 lineto + %end circumferential + closepath +currentgray 0.600967741935484 setgray fill setgray +% Sector from 4.1233 to 4.3197 (quadrant 2) +newpath + -1.3734 -0.2739 moveto + -1.3785 -0.2678 lineto + %middle radial + -1.3785 -0.2678 lineto + -1.3833 -0.2619 lineto + %end radial + -1.3833 -0.2619 lineto + -1.4097 -0.2812 lineto + %middle circumferential + -1.4097 -0.2812 lineto + -1.4384 -0.2979 lineto + %end circumferential + -1.4384 -0.2979 lineto + -1.4348 -0.3049 lineto + %middle radial + -1.4348 -0.3049 lineto + -1.431 -0.3123 lineto + %end radial + -1.431 -0.3123 lineto + -1.4009 -0.2945 lineto + %middle circumferential + -1.4009 -0.2945 lineto + -1.3734 -0.2739 lineto + %end circumferential + closepath +currentgray 0.6177419354838709 setgray fill setgray +% Sector from 3.927 to 4.1233 (quadrant 2) +newpath + -1.327 -0.2264 moveto + -1.3329 -0.2217 lineto + %middle radial + -1.3329 -0.2217 lineto + -1.3386 -0.2171 lineto + %end radial + -1.3386 -0.2171 lineto + -1.3596 -0.2404 lineto + %middle circumferential + -1.3596 -0.2404 lineto + -1.3833 -0.2619 lineto + %end circumferential + -1.3833 -0.2619 lineto + -1.3785 -0.2678 lineto + %middle radial + -1.3785 -0.2678 lineto + -1.3734 -0.2739 lineto + %end radial + -1.3734 -0.2739 lineto + -1.3487 -0.2511 lineto + %middle circumferential + -1.3487 -0.2511 lineto + -1.327 -0.2264 lineto + %end circumferential + closepath +currentgray 0.6345161290322581 setgray fill setgray +% Sector from 3.7306 to 3.927 (quadrant 2) +newpath + -1.292 -0.1733 moveto + -1.2985 -0.1698 lineto + %middle radial + -1.2985 -0.1698 lineto + -1.3046 -0.1665 lineto + %end radial + -1.3046 -0.1665 lineto + -1.3203 -0.1923 lineto + %middle circumferential + -1.3203 -0.1923 lineto + -1.3386 -0.2171 lineto + %end circumferential + -1.3386 -0.2171 lineto + -1.3329 -0.2217 lineto + %middle radial + -1.3329 -0.2217 lineto + -1.327 -0.2264 lineto + %end radial + -1.327 -0.2264 lineto + -1.3081 -0.2004 lineto + %middle circumferential + -1.3081 -0.2004 lineto + -1.292 -0.1733 lineto + %end circumferential + closepath +currentgray 0.6512903225806452 setgray fill setgray +% Sector from 3.5343 to 3.7306 (quadrant 2) +newpath + -1.2678 -0.1169 moveto + -1.2746 -0.1146 lineto + %middle radial + -1.2746 -0.1146 lineto + -1.281 -0.1125 lineto + %end radial + -1.281 -0.1125 lineto + -1.2916 -0.1398 lineto + %middle circumferential + -1.2916 -0.1398 lineto + -1.3046 -0.1665 lineto + %end circumferential + -1.3046 -0.1665 lineto + -1.2985 -0.1698 lineto + %middle radial + -1.2985 -0.1698 lineto + -1.292 -0.1733 lineto + %end radial + -1.292 -0.1733 lineto + -1.2786 -0.1454 lineto + %middle circumferential + -1.2786 -0.1454 lineto + -1.2678 -0.1169 lineto + %end circumferential + closepath +currentgray 0.6680645161290323 setgray fill setgray +% Sector from 3.3379 to 3.5343 (quadrant 2) +newpath + -1.2537 -0.0588 moveto + -1.2606 -0.0577 lineto + %middle radial + -1.2606 -0.0577 lineto + -1.2672 -0.0566 lineto + %end radial + -1.2672 -0.0566 lineto + -1.2729 -0.0847 lineto + %middle circumferential + -1.2729 -0.0847 lineto + -1.281 -0.1125 lineto + %end circumferential + -1.281 -0.1125 lineto + -1.2746 -0.1146 lineto + %middle radial + -1.2746 -0.1146 lineto + -1.2678 -0.1169 lineto + %end radial + -1.2678 -0.1169 lineto + -1.2595 -0.088 lineto + %middle circumferential + -1.2595 -0.088 lineto + -1.2537 -0.0588 lineto + %end circumferential + closepath +currentgray 0.6848387096774193 setgray fill setgray +% Sector from 3.1416 to 3.3379 (quadrant 2) +newpath + -1.249 0.0 moveto + -1.256 0.0 lineto + %middle radial + -1.256 0.0 lineto + -1.2626 0.0 lineto + %end radial + -1.2626 0.0 lineto + -1.2638 -0.0284 lineto + %middle circumferential + -1.2638 -0.0284 lineto + -1.2672 -0.0566 lineto + %end circumferential + -1.2672 -0.0566 lineto + -1.2606 -0.0577 lineto + %middle radial + -1.2606 -0.0577 lineto + -1.2537 -0.0588 lineto + %end radial + -1.2537 -0.0588 lineto + -1.2502 -0.0294 lineto + %middle circumferential + -1.2502 -0.0294 lineto + -1.249 0.0 lineto + %end circumferential + closepath +currentgray 0.7016129032258065 setgray fill setgray +% Sector from 2.9452 to 3.1416 (quadrant 1) +newpath + -1.2537 0.0588 moveto + -1.2606 0.0577 lineto + %middle radial + -1.2606 0.0577 lineto + -1.2672 0.0566 lineto + %end radial + -1.2672 0.0566 lineto + -1.2638 0.0284 lineto + %middle circumferential + -1.2638 0.0284 lineto + -1.2626 0.0 lineto + %end circumferential + -1.2626 0.0 lineto + -1.256 0.0 lineto + %middle radial + -1.256 0.0 lineto + -1.249 0.0 lineto + %end radial + -1.249 0.0 lineto + -1.2502 0.0294 lineto + %middle circumferential + -1.2502 0.0294 lineto + -1.2537 0.0588 lineto + %end circumferential + closepath +currentgray 0.7183870967741936 setgray fill setgray +% Sector from 2.7489 to 2.9452 (quadrant 1) +newpath + -1.2678 0.1169 moveto + -1.2746 0.1146 lineto + %middle radial + -1.2746 0.1146 lineto + -1.281 0.1125 lineto + %end radial + -1.281 0.1125 lineto + -1.2729 0.0847 lineto + %middle circumferential + -1.2729 0.0847 lineto + -1.2672 0.0566 lineto + %end circumferential + -1.2672 0.0566 lineto + -1.2606 0.0577 lineto + %middle radial + -1.2606 0.0577 lineto + -1.2537 0.0588 lineto + %end radial + -1.2537 0.0588 lineto + -1.2595 0.088 lineto + %middle circumferential + -1.2595 0.088 lineto + -1.2678 0.1169 lineto + %end circumferential + closepath +currentgray 0.7351612903225806 setgray fill setgray +% Sector from 2.5525 to 2.7489 (quadrant 1) +newpath + -1.292 0.1733 moveto + -1.2985 0.1698 lineto + %middle radial + -1.2985 0.1698 lineto + -1.3046 0.1665 lineto + %end radial + -1.3046 0.1665 lineto + -1.2916 0.1398 lineto + %middle circumferential + -1.2916 0.1398 lineto + -1.281 0.1125 lineto + %end circumferential + -1.281 0.1125 lineto + -1.2746 0.1146 lineto + %middle radial + -1.2746 0.1146 lineto + -1.2678 0.1169 lineto + %end radial + -1.2678 0.1169 lineto + -1.2786 0.1454 lineto + %middle circumferential + -1.2786 0.1454 lineto + -1.292 0.1733 lineto + %end circumferential + closepath +currentgray 0.7519354838709679 setgray fill setgray +% Sector from 2.3562 to 2.5525 (quadrant 1) +newpath + -1.327 0.2264 moveto + -1.3329 0.2217 lineto + %middle radial + -1.3329 0.2217 lineto + -1.3386 0.2171 lineto + %end radial + -1.3386 0.2171 lineto + -1.3203 0.1923 lineto + %middle circumferential + -1.3203 0.1923 lineto + -1.3046 0.1665 lineto + %end circumferential + -1.3046 0.1665 lineto + -1.2985 0.1698 lineto + %middle radial + -1.2985 0.1698 lineto + -1.292 0.1733 lineto + %end radial + -1.292 0.1733 lineto + -1.3081 0.2004 lineto + %middle circumferential + -1.3081 0.2004 lineto + -1.327 0.2264 lineto + %end circumferential + closepath +currentgray 0.7687096774193548 setgray fill setgray +% Sector from 2.1598 to 2.3562 (quadrant 1) +newpath + -1.3734 0.2739 moveto + -1.3785 0.2678 lineto + %middle radial + -1.3785 0.2678 lineto + -1.3833 0.2619 lineto + %end radial + -1.3833 0.2619 lineto + -1.3596 0.2404 lineto + %middle circumferential + -1.3596 0.2404 lineto + -1.3386 0.2171 lineto + %end circumferential + -1.3386 0.2171 lineto + -1.3329 0.2217 lineto + %middle radial + -1.3329 0.2217 lineto + -1.327 0.2264 lineto + %end radial + -1.327 0.2264 lineto + -1.3487 0.2511 lineto + %middle circumferential + -1.3487 0.2511 lineto + -1.3734 0.2739 lineto + %end circumferential + closepath +currentgray 0.7854838709677419 setgray fill setgray +% Sector from 1.9635 to 2.1598 (quadrant 1) +newpath + -1.431 0.3123 moveto + -1.4348 0.3049 lineto + %middle radial + -1.4348 0.3049 lineto + -1.4384 0.2979 lineto + %end radial + -1.4384 0.2979 lineto + -1.4097 0.2812 lineto + %middle circumferential + -1.4097 0.2812 lineto + -1.3833 0.2619 lineto + %end circumferential + -1.3833 0.2619 lineto + -1.3785 0.2678 lineto + %middle radial + -1.3785 0.2678 lineto + -1.3734 0.2739 lineto + %end radial + -1.3734 0.2739 lineto + -1.4009 0.2945 lineto + %middle circumferential + -1.4009 0.2945 lineto + -1.431 0.3123 lineto + %end circumferential + closepath +currentgray 0.802258064516129 setgray fill setgray +% Sector from 1.7671 to 1.9635 (quadrant 1) +newpath + -1.4982 0.3377 moveto + -1.5002 0.3294 lineto + %middle radial + -1.5002 0.3294 lineto + -1.5021 0.3215 lineto + %end radial + -1.5021 0.3215 lineto + -1.4694 0.3115 lineto + %middle circumferential + -1.4694 0.3115 lineto + -1.4384 0.2979 lineto + %end circumferential + -1.4384 0.2979 lineto + -1.4348 0.3049 lineto + %middle radial + -1.4348 0.3049 lineto + -1.431 0.3123 lineto + %end radial + -1.431 0.3123 lineto + -1.4636 0.3269 lineto + %middle circumferential + -1.4636 0.3269 lineto + -1.4982 0.3377 lineto + %end circumferential + closepath +currentgray 0.8190322580645162 setgray fill setgray +% Sector from 1.5708 to 1.7671 (quadrant 1) +newpath + -1.5708 0.3466 moveto + -1.5708 0.338 lineto + %middle radial + -1.5708 0.338 lineto + -1.5708 0.3298 lineto + %end radial + -1.5708 0.3298 lineto + -1.5361 0.3277 lineto + %middle circumferential + -1.5361 0.3277 lineto + -1.5021 0.3215 lineto + %end circumferential + -1.5021 0.3215 lineto + -1.5002 0.3294 lineto + %middle radial + -1.5002 0.3294 lineto + -1.4982 0.3377 lineto + %end radial + -1.4982 0.3377 lineto + -1.5341 0.3443 lineto + %middle circumferential + -1.5341 0.3443 lineto + -1.5708 0.3466 lineto + %end circumferential + closepath +currentgray 0.8358064516129032 setgray fill setgray +% Sector from 1.3744 to 1.5708 (quadrant 0) +newpath + 1.4982 0.3377 moveto + 1.5002 0.3294 lineto + %middle radial + 1.5002 0.3294 lineto + 1.5021 0.3215 lineto + %end radial + 1.5021 0.3215 lineto + 1.5361 0.3277 lineto + %middle circumferential + 1.5361 0.3277 lineto + 1.5708 0.3298 lineto + %end circumferential + 1.5708 0.3298 lineto + 1.5708 0.338 lineto + %middle radial + 1.5708 0.338 lineto + 1.5708 0.3466 lineto + %end radial + 1.5708 0.3466 lineto + 1.5341 0.3443 lineto + %middle circumferential + 1.5341 0.3443 lineto + 1.4982 0.3377 lineto + %end circumferential + closepath +currentgray 0.8525806451612903 setgray fill setgray +% Sector from 1.1781 to 1.3744 (quadrant 0) +newpath + 1.431 0.3123 moveto + 1.4348 0.3049 lineto + %middle radial + 1.4348 0.3049 lineto + 1.4384 0.2979 lineto + %end radial + 1.4384 0.2979 lineto + 1.4694 0.3115 lineto + %middle circumferential + 1.4694 0.3115 lineto + 1.5021 0.3215 lineto + %end circumferential + 1.5021 0.3215 lineto + 1.5002 0.3294 lineto + %middle radial + 1.5002 0.3294 lineto + 1.4982 0.3377 lineto + %end radial + 1.4982 0.3377 lineto + 1.4636 0.3269 lineto + %middle circumferential + 1.4636 0.3269 lineto + 1.431 0.3123 lineto + %end circumferential + closepath +currentgray 0.8693548387096775 setgray fill setgray +% Sector from 0.9817 to 1.1781 (quadrant 0) +newpath + 1.3734 0.2739 moveto + 1.3785 0.2678 lineto + %middle radial + 1.3785 0.2678 lineto + 1.3833 0.2619 lineto + %end radial + 1.3833 0.2619 lineto + 1.4097 0.2812 lineto + %middle circumferential + 1.4097 0.2812 lineto + 1.4384 0.2979 lineto + %end circumferential + 1.4384 0.2979 lineto + 1.4348 0.3049 lineto + %middle radial + 1.4348 0.3049 lineto + 1.431 0.3123 lineto + %end radial + 1.431 0.3123 lineto + 1.4009 0.2945 lineto + %middle circumferential + 1.4009 0.2945 lineto + 1.3734 0.2739 lineto + %end circumferential + closepath +currentgray 0.8861290322580645 setgray fill setgray +% Sector from 0.7854 to 0.9817 (quadrant 0) +newpath + 1.327 0.2264 moveto + 1.3329 0.2217 lineto + %middle radial + 1.3329 0.2217 lineto + 1.3386 0.2171 lineto + %end radial + 1.3386 0.2171 lineto + 1.3596 0.2404 lineto + %middle circumferential + 1.3596 0.2404 lineto + 1.3833 0.2619 lineto + %end circumferential + 1.3833 0.2619 lineto + 1.3785 0.2678 lineto + %middle radial + 1.3785 0.2678 lineto + 1.3734 0.2739 lineto + %end radial + 1.3734 0.2739 lineto + 1.3487 0.2511 lineto + %middle circumferential + 1.3487 0.2511 lineto + 1.327 0.2264 lineto + %end circumferential + closepath +currentgray 0.9029032258064516 setgray fill setgray +% Sector from 0.589 to 0.7854 (quadrant 0) +newpath + 1.292 0.1733 moveto + 1.2985 0.1698 lineto + %middle radial + 1.2985 0.1698 lineto + 1.3046 0.1665 lineto + %end radial + 1.3046 0.1665 lineto + 1.3203 0.1923 lineto + %middle circumferential + 1.3203 0.1923 lineto + 1.3386 0.2171 lineto + %end circumferential + 1.3386 0.2171 lineto + 1.3329 0.2217 lineto + %middle radial + 1.3329 0.2217 lineto + 1.327 0.2264 lineto + %end radial + 1.327 0.2264 lineto + 1.3081 0.2004 lineto + %middle circumferential + 1.3081 0.2004 lineto + 1.292 0.1733 lineto + %end circumferential + closepath +currentgray 0.9196774193548387 setgray fill setgray +% Sector from 0.3927 to 0.589 (quadrant 0) +newpath + 1.2678 0.1169 moveto + 1.2746 0.1146 lineto + %middle radial + 1.2746 0.1146 lineto + 1.281 0.1125 lineto + %end radial + 1.281 0.1125 lineto + 1.2916 0.1398 lineto + %middle circumferential + 1.2916 0.1398 lineto + 1.3046 0.1665 lineto + %end circumferential + 1.3046 0.1665 lineto + 1.2985 0.1698 lineto + %middle radial + 1.2985 0.1698 lineto + 1.292 0.1733 lineto + %end radial + 1.292 0.1733 lineto + 1.2786 0.1454 lineto + %middle circumferential + 1.2786 0.1454 lineto + 1.2678 0.1169 lineto + %end circumferential + closepath +currentgray 0.9364516129032258 setgray fill setgray +% Sector from 0.1963 to 0.3927 (quadrant 0) +newpath + 1.2537 0.0588 moveto + 1.2606 0.0577 lineto + %middle radial + 1.2606 0.0577 lineto + 1.2672 0.0566 lineto + %end radial + 1.2672 0.0566 lineto + 1.2729 0.0847 lineto + %middle circumferential + 1.2729 0.0847 lineto + 1.281 0.1125 lineto + %end circumferential + 1.281 0.1125 lineto + 1.2746 0.1146 lineto + %middle radial + 1.2746 0.1146 lineto + 1.2678 0.1169 lineto + %end radial + 1.2678 0.1169 lineto + 1.2595 0.088 lineto + %middle circumferential + 1.2595 0.088 lineto + 1.2537 0.0588 lineto + %end circumferential + closepath +currentgray 0.9532258064516128 setgray fill setgray +% Sector from 0.0 to 0.1963 (quadrant 0) +newpath + 1.249 0.0 moveto + 1.256 0.0 lineto + %middle radial + 1.256 0.0 lineto + 1.2626 0.0 lineto + %end radial + 1.2626 0.0 lineto + 1.2638 0.0284 lineto + %middle circumferential + 1.2638 0.0284 lineto + 1.2672 0.0566 lineto + %end circumferential + 1.2672 0.0566 lineto + 1.2606 0.0577 lineto + %middle radial + 1.2606 0.0577 lineto + 1.2537 0.0588 lineto + %end radial + 1.2537 0.0588 lineto + 1.2502 0.0294 lineto + %middle circumferential + 1.2502 0.0294 lineto + 1.249 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Horizontal line from (0.5, 0.0) to (0.0, 0.0) +newpath + 0.4636 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.5, 0.0) to (1.0, 0.0) +newpath + 0.4636 0.0 moveto + 0.7854 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.0, 0.0) +newpath + 1.1071 0.0 moveto + 0.7854 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.1579208923731617E77, 0.0) +newpath + 1.1071 0.0 moveto + 1.5708 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (0.0, 1.0) +newpath + 1.1781 0.1733 moveto + 1.1327 0.223 lineto + 1.0888 0.2808 lineto + 1.0476 0.3458 lineto + 1.01 0.4171 lineto + 0.9764 0.4935 lineto + 0.9469 0.5738 lineto + 0.9214 0.6572 lineto + 0.8996 0.7428 lineto + 0.881 0.8301 lineto + 0.8654 0.9185 lineto + 0.8522 1.0078 lineto + 0.8412 1.0977 lineto + 0.8319 1.1879 lineto + 0.8242 1.2785 lineto + 0.8178 1.3692 lineto + 0.8124 1.4601 lineto + 0.8079 1.5511 lineto + 0.8041 1.6422 lineto + 0.801 1.7333 lineto + 0.7984 1.8244 lineto + 0.7962 1.9156 lineto + 0.7944 2.0068 lineto + 0.7929 2.0979 lineto + 0.7917 2.1891 lineto + 0.7906 2.2803 lineto + 0.7898 2.3715 lineto + 0.789 2.4628 lineto + 0.7884 2.554 lineto + 0.7879 2.6452 lineto + 0.7875 2.7364 lineto + 0.7871 2.8276 lineto + 0.7869 2.9188 lineto + 0.7866 3.01 lineto + 0.7864 3.1012 lineto + 0.7862 3.238 lineto + 0.786 3.3749 lineto + 0.7858 3.5117 lineto + 0.7857 3.6941 lineto + 0.7856 3.9221 lineto + 0.7855 4.1958 lineto + 0.7854 4.6062 lineto + 0.7854 5.3359 lineto + 0.7854 6.2937 lineto + 0.7865 6.378103166302659 lineto + 0.5755 6.378103166302659 lineto + 0.4324 6.378103166302659 lineto + 0.2166 6.378103166302659 lineto + 0.1083 6.378103166302659 lineto + 0.7854 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (1.1579208923731617E77, 1.0) +newpath + 1.1781 0.1733 moveto + 1.2627 0.1016 lineto + 1.3384 0.0561 lineto + 1.4002 0.0297 lineto + 1.4827 0.0078 lineto + 1.5688 0.0 lineto + 1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (0.0, -1.0) +newpath + 1.1781 -0.1733 moveto + 1.1327 -0.223 lineto + 1.0888 -0.2808 lineto + 1.0476 -0.3458 lineto + 1.01 -0.4171 lineto + 0.9764 -0.4935 lineto + 0.9469 -0.5738 lineto + 0.9214 -0.6572 lineto + 0.8996 -0.7428 lineto + 0.881 -0.8301 lineto + 0.8654 -0.9185 lineto + 0.8522 -1.0078 lineto + 0.8412 -1.0977 lineto + 0.8319 -1.1879 lineto + 0.8242 -1.2785 lineto + 0.8178 -1.3692 lineto + 0.8124 -1.4601 lineto + 0.8079 -1.5511 lineto + 0.8041 -1.6422 lineto + 0.801 -1.7333 lineto + 0.7984 -1.8244 lineto + 0.7962 -1.9156 lineto + 0.7944 -2.0068 lineto + 0.7929 -2.0979 lineto + 0.7917 -2.1891 lineto + 0.7906 -2.2803 lineto + 0.7898 -2.3715 lineto + 0.789 -2.4628 lineto + 0.7884 -2.554 lineto + 0.7879 -2.6452 lineto + 0.7875 -2.7364 lineto + 0.7871 -2.8276 lineto + 0.7869 -2.9188 lineto + 0.7866 -3.01 lineto + 0.7864 -3.1012 lineto + 0.7862 -3.238 lineto + 0.786 -3.3749 lineto + 0.7858 -3.5117 lineto + 0.7857 -3.6941 lineto + 0.7856 -3.9221 lineto + 0.7855 -4.1958 lineto + 0.7854 -4.6062 lineto + 0.7854 -5.3359 lineto + 0.7854 -6.2937 lineto + 0.7865 -6.378103166302659 lineto + 0.5755 -6.378103166302659 lineto + 0.4324 -6.378103166302659 lineto + 0.2166 -6.378103166302659 lineto + 0.1083 -6.378103166302659 lineto + 0.7854 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (1.1579208923731617E77, -1.0) +newpath + 1.1781 -0.1733 moveto + 1.2627 -0.1016 lineto + 1.3384 -0.0561 lineto + 1.4002 -0.0297 lineto + 1.4827 -0.0078 lineto + 1.5688 0.0 lineto + 1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (1.1579208923731617E77, 2.0) +newpath + 1.5708 0.5493 moveto + 1.4976 0.5384 lineto + 1.4319 0.5075 lineto + 1.3669 0.447 lineto + 1.3291 0.3803 lineto + 1.3098 0.2967 lineto + 1.3165 0.2092 lineto + 1.3465 0.1329 lineto + 1.3889 0.0771 lineto + 1.4514 0.0302 lineto + 1.5091 0.0077 lineto + 1.5699 0.0 lineto + 1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (1.1579208923731617E77, -2.0) +newpath + 1.5708 -0.5493 moveto + 1.4976 -0.5384 lineto + 1.4319 -0.5075 lineto + 1.3669 -0.447 lineto + 1.3291 -0.3803 lineto + 1.3098 -0.2967 lineto + 1.3165 -0.2092 lineto + 1.3465 -0.1329 lineto + 1.3889 -0.0771 lineto + 1.4514 -0.0302 lineto + 1.5091 -0.0077 lineto + 1.5699 0.0 lineto + 1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (1.1579208923731617E77, 3.0) +newpath + 1.5708 0.3466 moveto + 1.4673 0.3107 lineto + 1.4128 0.2372 lineto + 1.4081 0.1232 lineto + 1.4597 0.0421 lineto + 1.5103 0.0114 lineto + 1.5699 0.0 lineto + 1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (1.1579208923731617E77, -3.0) +newpath + 1.5708 -0.3466 moveto + 1.4673 -0.3107 lineto + 1.4128 -0.2372 lineto + 1.4081 -0.1232 lineto + 1.4597 -0.0421 lineto + 1.5103 -0.0114 lineto + 1.5699 0.0 lineto + 1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (0.0, 0.0) +newpath + -0.4636 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (-1.0, 0.0) +newpath + -0.4636 0.0 moveto + -0.7854 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.0, 0.0) +newpath + -1.1071 0.0 moveto + -0.7854 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.1579208923731617E77, 0.0) +newpath + -1.1071 0.0 moveto + -1.5708 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (0.0, 1.0) +newpath + -1.1781 0.1733 moveto + -1.1327 0.223 lineto + -1.0888 0.2808 lineto + -1.0476 0.3458 lineto + -1.01 0.4171 lineto + -0.9764 0.4935 lineto + -0.9469 0.5738 lineto + -0.9214 0.6572 lineto + -0.8996 0.7428 lineto + -0.881 0.8301 lineto + -0.8654 0.9185 lineto + -0.8522 1.0078 lineto + -0.8412 1.0977 lineto + -0.8319 1.1879 lineto + -0.8242 1.2785 lineto + -0.8178 1.3692 lineto + -0.8124 1.4601 lineto + -0.8079 1.5511 lineto + -0.8041 1.6422 lineto + -0.801 1.7333 lineto + -0.7984 1.8244 lineto + -0.7962 1.9156 lineto + -0.7944 2.0068 lineto + -0.7929 2.0979 lineto + -0.7917 2.1891 lineto + -0.7906 2.2803 lineto + -0.7898 2.3715 lineto + -0.789 2.4628 lineto + -0.7884 2.554 lineto + -0.7879 2.6452 lineto + -0.7875 2.7364 lineto + -0.7871 2.8276 lineto + -0.7869 2.9188 lineto + -0.7866 3.01 lineto + -0.7864 3.1012 lineto + -0.7862 3.238 lineto + -0.786 3.3749 lineto + -0.7858 3.5117 lineto + -0.7857 3.6941 lineto + -0.7856 3.9221 lineto + -0.7855 4.1958 lineto + -0.7854 4.6062 lineto + -0.7854 5.3359 lineto + -0.7854 6.2937 lineto + -0.7865 6.378103166302659 lineto + -0.5755 6.378103166302659 lineto + -0.4324 6.378103166302659 lineto + -0.2166 6.378103166302659 lineto + -0.1083 6.378103166302659 lineto + -0.7854 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (-1.1579208923731617E77, 1.0) +newpath + -1.1781 0.1733 moveto + -1.2627 0.1016 lineto + -1.3384 0.0561 lineto + -1.4002 0.0297 lineto + -1.4827 0.0078 lineto + -1.5688 0.0 lineto + -1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (0.0, -1.0) +newpath + -1.1781 -0.1733 moveto + -1.1327 -0.223 lineto + -1.0888 -0.2808 lineto + -1.0476 -0.3458 lineto + -1.01 -0.4171 lineto + -0.9764 -0.4935 lineto + -0.9469 -0.5738 lineto + -0.9214 -0.6572 lineto + -0.8996 -0.7428 lineto + -0.881 -0.8301 lineto + -0.8654 -0.9185 lineto + -0.8522 -1.0078 lineto + -0.8412 -1.0977 lineto + -0.8319 -1.1879 lineto + -0.8242 -1.2785 lineto + -0.8178 -1.3692 lineto + -0.8124 -1.4601 lineto + -0.8079 -1.5511 lineto + -0.8041 -1.6422 lineto + -0.801 -1.7333 lineto + -0.7984 -1.8244 lineto + -0.7962 -1.9156 lineto + -0.7944 -2.0068 lineto + -0.7929 -2.0979 lineto + -0.7917 -2.1891 lineto + -0.7906 -2.2803 lineto + -0.7898 -2.3715 lineto + -0.789 -2.4628 lineto + -0.7884 -2.554 lineto + -0.7879 -2.6452 lineto + -0.7875 -2.7364 lineto + -0.7871 -2.8276 lineto + -0.7869 -2.9188 lineto + -0.7866 -3.01 lineto + -0.7864 -3.1012 lineto + -0.7862 -3.238 lineto + -0.786 -3.3749 lineto + -0.7858 -3.5117 lineto + -0.7857 -3.6941 lineto + -0.7856 -3.9221 lineto + -0.7855 -4.1958 lineto + -0.7854 -4.6062 lineto + -0.7854 -5.3359 lineto + -0.7854 -6.2937 lineto + -0.7865 -6.378103166302659 lineto + -0.5755 -6.378103166302659 lineto + -0.4324 -6.378103166302659 lineto + -0.2166 -6.378103166302659 lineto + -0.1083 -6.378103166302659 lineto + -0.7854 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (-1.1579208923731617E77, -1.0) +newpath + -1.1781 -0.1733 moveto + -1.2627 -0.1016 lineto + -1.3384 -0.0561 lineto + -1.4002 -0.0297 lineto + -1.4827 -0.0078 lineto + -1.5688 0.0 lineto + -1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (-1.1579208923731617E77, 2.0) +newpath + -1.5708 0.5493 moveto + -1.4976 0.5384 lineto + -1.4319 0.5075 lineto + -1.3669 0.447 lineto + -1.3291 0.3803 lineto + -1.3098 0.2967 lineto + -1.3165 0.2092 lineto + -1.3465 0.1329 lineto + -1.3889 0.0771 lineto + -1.4514 0.0302 lineto + -1.5091 0.0077 lineto + -1.5699 0.0 lineto + -1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (-1.1579208923731617E77, -2.0) +newpath + -1.5708 -0.5493 moveto + -1.4976 -0.5384 lineto + -1.4319 -0.5075 lineto + -1.3669 -0.447 lineto + -1.3291 -0.3803 lineto + -1.3098 -0.2967 lineto + -1.3165 -0.2092 lineto + -1.3465 -0.1329 lineto + -1.3889 -0.0771 lineto + -1.4514 -0.0302 lineto + -1.5091 -0.0077 lineto + -1.5699 0.0 lineto + -1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (-1.1579208923731617E77, 3.0) +newpath + -1.5708 0.3466 moveto + -1.4673 0.3107 lineto + -1.4128 0.2372 lineto + -1.4081 0.1232 lineto + -1.4597 0.0421 lineto + -1.5103 0.0114 lineto + -1.5699 0.0 lineto + -1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (-1.1579208923731617E77, -3.0) +newpath + -1.5708 -0.3466 moveto + -1.4673 -0.3107 lineto + -1.4128 -0.2372 lineto + -1.4081 -0.1232 lineto + -1.4597 -0.0421 lineto + -1.5103 -0.0114 lineto + -1.5699 0.0 lineto + -1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 0.0) +newpath + 0.0 0.5493 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 1.0) +newpath + 0.0 0.5493 moveto + 0.0 4.1469 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.0) +newpath + 1.5708 0.5493 moveto + 1.5708 4.1471 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.1579208923731617E77) +newpath + 1.5708 0.5493 moveto + 1.5708 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 0.0) +newpath + 1.339 0.4024 moveto + 1.2587 0.4314 lineto + 1.169 0.4406 lineto + 1.0803 0.4269 lineto + 1.0029 0.3948 lineto + 0.9415 0.3524 lineto + 0.8956 0.3069 lineto + 0.8392 0.2235 lineto + 0.8114 0.1585 lineto + 0.7883 0.0539 lineto + 0.7854 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 1.1579208923731617E77) +newpath + 1.339 0.4024 moveto + 1.4007 0.3637 lineto + 1.448 0.3209 lineto + 1.5083 0.2395 lineto + 1.5393 0.1736 lineto + 1.5629 0.0885 lineto + 1.5708 0.002 lineto + 1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 0.0) +newpath + -1.339 0.4024 moveto + -1.2587 0.4314 lineto + -1.169 0.4406 lineto + -1.0803 0.4269 lineto + -1.0029 0.3948 lineto + -0.9415 0.3524 lineto + -0.8956 0.3069 lineto + -0.8392 0.2235 lineto + -0.8114 0.1585 lineto + -0.7883 0.0539 lineto + -0.7854 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 1.1579208923731617E77) +newpath + -1.339 0.4024 moveto + -1.4007 0.3637 lineto + -1.448 0.3209 lineto + -1.5083 0.2395 lineto + -1.5393 0.1736 lineto + -1.5629 0.0885 lineto + -1.5708 0.002 lineto + -1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, 1.1579208923731617E77) +newpath + 1.1071 0.0 moveto + 1.1235 0.0888 lineto + 1.1696 0.1643 lineto + 1.2215 0.2074 lineto + 1.2978 0.2368 lineto + 1.3854 0.2357 lineto + 1.4605 0.2049 lineto + 1.5108 0.1616 lineto + 1.5552 0.0869 lineto + 1.5703 0.0152 lineto + 1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, 1.1579208923731617E77) +newpath + -1.1071 0.0 moveto + -1.1235 0.0888 lineto + -1.1696 0.1643 lineto + -1.2215 0.2074 lineto + -1.2978 0.2368 lineto + -1.3854 0.2357 lineto + -1.4605 0.2049 lineto + -1.5108 0.1616 lineto + -1.5552 0.0869 lineto + -1.5703 0.0152 lineto + -1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, 1.1579208923731617E77) +newpath + 1.249 0.0 moveto + 1.2733 0.0865 lineto + 1.3319 0.1432 lineto + 1.4423 0.1604 lineto + 1.5277 0.1116 lineto + 1.5593 0.0607 lineto + 1.5708 9.0E-4 lineto + 1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, 1.1579208923731617E77) +newpath + -1.249 0.0 moveto + -1.2733 0.0865 lineto + -1.3319 0.1432 lineto + -1.4423 0.1604 lineto + -1.5277 0.1116 lineto + -1.5593 0.0607 lineto + -1.5708 9.0E-4 lineto + -1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, 0.0) +newpath + 0.0 -0.5493 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, -1.0) +newpath + 0.0 -0.5493 moveto + 0.0 -4.1469 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.0) +newpath + -1.5708 -0.5493 moveto + -1.5708 -4.1471 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.1579208923731617E77) +newpath + -1.5708 -0.5493 moveto + -1.5708 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, 0.0) +newpath + 1.339 -0.4024 moveto + 1.2587 -0.4314 lineto + 1.169 -0.4406 lineto + 1.0803 -0.4269 lineto + 1.0029 -0.3948 lineto + 0.9415 -0.3524 lineto + 0.8956 -0.3069 lineto + 0.8392 -0.2235 lineto + 0.8114 -0.1585 lineto + 0.7883 -0.0539 lineto + 0.7854 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, -1.1579208923731617E77) +newpath + 1.339 -0.4024 moveto + 1.4007 -0.3637 lineto + 1.448 -0.3209 lineto + 1.5083 -0.2395 lineto + 1.5393 -0.1736 lineto + 1.5629 -0.0885 lineto + 1.5708 -0.002 lineto + 1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, 0.0) +newpath + -1.339 -0.4024 moveto + -1.2587 -0.4314 lineto + -1.169 -0.4406 lineto + -1.0803 -0.4269 lineto + -1.0029 -0.3948 lineto + -0.9415 -0.3524 lineto + -0.8956 -0.3069 lineto + -0.8392 -0.2235 lineto + -0.8114 -0.1585 lineto + -0.7883 -0.0539 lineto + -0.7854 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, -1.1579208923731617E77) +newpath + -1.339 -0.4024 moveto + -1.4007 -0.3637 lineto + -1.448 -0.3209 lineto + -1.5083 -0.2395 lineto + -1.5393 -0.1736 lineto + -1.5629 -0.0885 lineto + -1.5708 -0.002 lineto + -1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, -1.1579208923731617E77) +newpath + 1.1071 0.0 moveto + 1.1235 -0.0888 lineto + 1.1696 -0.1643 lineto + 1.2215 -0.2074 lineto + 1.2978 -0.2368 lineto + 1.3854 -0.2357 lineto + 1.4605 -0.2049 lineto + 1.5108 -0.1616 lineto + 1.5552 -0.0869 lineto + 1.5703 -0.0152 lineto + 1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, -1.1579208923731617E77) +newpath + -1.1071 0.0 moveto + -1.1235 -0.0888 lineto + -1.1696 -0.1643 lineto + -1.2215 -0.2074 lineto + -1.2978 -0.2368 lineto + -1.3854 -0.2357 lineto + -1.4605 -0.2049 lineto + -1.5108 -0.1616 lineto + -1.5552 -0.0869 lineto + -1.5703 -0.0152 lineto + -1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, -1.1579208923731617E77) +newpath + 1.249 0.0 moveto + 1.2733 -0.0865 lineto + 1.3319 -0.1432 lineto + 1.4423 -0.1604 lineto + 1.5277 -0.1116 lineto + 1.5593 -0.0607 lineto + 1.5708 -9.0E-4 lineto + 1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, -1.1579208923731617E77) +newpath + -1.249 0.0 moveto + -1.2733 -0.0865 lineto + -1.3319 -0.1432 lineto + -1.4423 -0.1604 lineto + -1.5277 -0.1116 lineto + -1.5593 -0.0607 lineto + -1.5708 -9.0E-4 lineto + -1.5708 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Real axis +newpath -5 0 moveto 5 0 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 1.0 0.12 moveto 1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.0 0.12 moveto -1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 2.0 0.12 moveto 2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -2.0 0.12 moveto -2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.0 0.12 moveto 3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.0 0.12 moveto -3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 4.0 0.12 moveto 4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -4.0 0.12 moveto -4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 1.5707963267948966 0.09 moveto 1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.5707963267948966 0.09 moveto -1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.141592653589793 0.09 moveto 3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.141592653589793 0.09 moveto -3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +% Imaginary axis +newpath 0 -5 moveto 0 5 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 0.12 1.0 moveto -0.12 1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -1.0 moveto -0.12 -1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 2.0 moveto -0.12 2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -2.0 moveto -0.12 -2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 3.0 moveto -0.12 3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -3.0 moveto -0.12 -3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 4.0 moveto -0.12 4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -4.0 moveto -0.12 -4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 1.5707963267948966 moveto -0.09 1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -1.5707963267948966 moveto -0.09 -1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 3.141592653589793 moveto -0.09 3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -3.141592653589793 moveto -0.09 -3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +% End of PostScript file for plot of function GOOD-ATAN +%%EndDocument + @endspecial 171 x(All)j(I)f(can)h(sa)o(y)g(is)g(that)f(this)i(p)q +(eaco)q(c)o(k)f(is)g(a)g(horse)g(of)f(another)h(color.)25 +b(A)o(t)15 b(\014rst)g(glance,)i(the)0 1983 y(axes)i(seem)f(to)h(map)f +(in)h(the)g(same)f(w)o(a)o(y)h(as)f(for)g Fj(asin)f FA(and)i +Fj(acos)p FA(,)e(but)i(lo)q(ok)h(again:)29 b(this)0 2028 +y(time)15 b(it's)g(the)f(imaginary)j(axis)f(doing)g(w)o(eird)f(things.) +22 b(All)16 b(in\014nities)h(map)e(m)o(ultiply)i(to)d(the)0 +2074 y(p)q(oin)o(ts)k(\(2)p Fq(k)c FA(+)c(1\))p Fd(\031)q(=)p +FA(2;)18 b(within)g(the)e(strip)h(of)f(principal)j(v)n(alues)f(w)o(e)d +(ma)o(y)i(sa)o(y)f(that)h(the)f(real)0 2120 y(axis)e(is)h(mapp)q(ed)f +(to)f(the)h(in)o(terv)n(al)h([)p Ff(\000)p Fd(\031)q(=)p +FA(2)p Fd(;)7 b FA(+)p Fd(\031)q(=)p FA(2])13 b(and)h(therefore)g +Ff(\0001)f FA(is)h(mapp)q(ed)h(to)e Ff(\000)p Fd(\031)q(=)p +FA(2)0 2165 y(and)i(+)p Ff(1)g FA(to)g(+)p Fd(\031)q(=)p +FA(2.)23 b(The)14 b(p)q(oin)o(t)i(+)p Fq(i)i FA(is)e(mapp)q(ed)g(to)e +(+)p Ff(1)p Fq(i)t FA(,)h(and)g Ff(\000)p Fq(i)j FA(to)d +Ff(\0001)p Fq(i)t FA(,)f(and)i(so)e(the)0 2211 y(imaginary)k(axis)f(is) +f(mapp)q(ed)h(in)o(to)g(three)f(pieces:)23 b(the)16 b(segmen)o(t)g([)p +Ff(\0001)p Fq(i)t Fd(;)6 b Ff(\000)p Fq(i)t FA(])14 b(is)j(mapp)q(ed)g +(to)0 2257 y([)p Fd(\031)q(=)p FA(2)p Fd(;)6 b(\031)q(=)p +FA(2)k Ff(\000)f(1)p Fq(i)t FA(];)k(the)h(segmen)o(t)h([)p +Ff(\000)p Fq(i)t Fd(;)5 b Fq(i)t FA(])12 b(is)j(mapp)q(ed)g(to)e(the)h +(imaginary)i(axis)f([)p Ff(\0001)p Fq(i)t Fd(;)6 b FA(+)p +Ff(1)p Fq(i)t FA(];)0 2302 y(and)14 b(the)f(segmen)o(t)g([+)p +Fq(i)t Fd(;)5 b FA(+)p Ff(1)p Fq(i)t FA(])13 b(is)g(mapp)q(ed)h(to)f([) +p Ff(\000)p Fd(\031)q(=)p FA(2)c(+)f Ff(1)p Fq(i)t Fd(;)e +Ff(\000)p Fd(\031)q(=)p FA(2].)p 0 2334 V -33 2344 a +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 353 377 +353 376 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(353)p +0 255 1395 2 v 0 322 a Fm(Figure)14 b(12-13:)j FA(Illustration)f(of)d +(the)g(Range)h(of)f(the)g(Hyp)q(erb)q(olic)i(Sine)f(F)m(unction)0 +1766 y @beginspecial @setspecial +%%BeginDocument: sinh-plot.ps +% PostScript file for plot of function SINH +% Plot is to fit in a region 4.666666666666667 inches square +% showing axes extending 4.1 units from the origin. + +40.97560975609756 40.97560975609756 scale +4.1 4.1 translate +newpath + -4.1 -4.1 moveto + 4.1 -4.1 lineto + 4.1 4.1 lineto + -4.1 4.1 lineto + closepath +clip +% Moby grid for function SINH +% Annulus 0.25 0.5 4 0.97 0.45 +% Sector from 4.7124 to 6.2832 (quadrant 3) +newpath + 0.0 -0.2474 moveto + 0.0 -0.3663 lineto + %middle radial + 0.0 -0.3663 lineto + 0.0 -0.4794 lineto + %end radial + 0.0 -0.4794 lineto + 0.0813 -0.4739 lineto + 0.1657 -0.4559 lineto + 0.2525 -0.422 lineto + 0.3386 -0.3681 lineto + %middle circumferential + 0.3386 -0.3681 lineto + 0.4081 -0.3022 lineto + 0.4665 -0.2172 lineto + 0.5065 -0.1147 lineto + 0.5211 0.0 lineto + %end circumferential + 0.5211 0.0 lineto + 0.3839 0.0 lineto + %middle radial + 0.3839 0.0 lineto + 0.2526 0.0 lineto + %end radial + 0.2526 0.0 lineto + 0.2306 -0.1011 lineto + 0.1749 -0.1786 lineto + %middle circumferential + 0.1749 -0.1786 lineto + 0.0898 -0.2313 lineto + 0.0 -0.2474 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 3.1416 to 4.7124 (quadrant 2) +newpath + -0.2526 0.0 moveto + -0.3839 0.0 lineto + %middle radial + -0.3839 0.0 lineto + -0.5211 0.0 lineto + %end radial + -0.5211 0.0 lineto + -0.5099 -0.1006 lineto + -0.4752 -0.2001 lineto + -0.417 -0.2915 lineto + -0.3386 -0.3681 lineto + %middle circumferential + -0.3386 -0.3681 lineto + -0.263 -0.4166 lineto + -0.1802 -0.4514 lineto + -0.0922 -0.4723 lineto + 0.0 -0.4794 lineto + %end circumferential + 0.0 -0.4794 lineto + 0.0 -0.3663 lineto + %middle radial + 0.0 -0.3663 lineto + 0.0 -0.2474 lineto + %end radial + 0.0 -0.2474 lineto + -0.0973 -0.2284 lineto + -0.1749 -0.1786 lineto + %middle circumferential + -0.1749 -0.1786 lineto + -0.2342 -0.0929 lineto + -0.2526 0.0 lineto + %end circumferential + closepath +currentgray 0.6233333333333334 setgray fill setgray +% Sector from 1.5708 to 3.1416 (quadrant 1) +newpath + 0.0 0.2474 moveto + 0.0 0.3663 lineto + %middle radial + 0.0 0.3663 lineto + 0.0 0.4794 lineto + %end radial + 0.0 0.4794 lineto + -0.0736 0.4749 lineto + -0.155 0.4589 lineto + -0.2442 0.426 lineto + -0.3386 0.3681 lineto + %middle circumferential + -0.3386 0.3681 lineto + -0.4043 0.3065 lineto + -0.4625 0.2244 lineto + -0.5048 0.1211 lineto + -0.5168 0.0623 lineto + -0.5211 0.0 lineto + %end circumferential + -0.5211 0.0 lineto + -0.3839 0.0 lineto + %middle radial + -0.3839 0.0 lineto + -0.2526 0.0 lineto + %end radial + -0.2526 0.0 lineto + -0.229 0.1046 lineto + -0.1749 0.1786 lineto + %middle circumferential + -0.1749 0.1786 lineto + -0.0842 0.2333 lineto + 0.0 0.2474 lineto + %end circumferential + closepath +currentgray 0.7966666666666668 setgray fill setgray +% Sector from 0.0 to 1.5708 (quadrant 0) +newpath + 0.2526 0.0 moveto + 0.3839 0.0 lineto + %middle radial + 0.3839 0.0 lineto + 0.5211 0.0 lineto + %end radial + 0.5211 0.0 lineto + 0.5205 0.0242 lineto + 0.5095 0.1025 lineto + 0.4872 0.173 lineto + 0.453 0.2406 lineto + 0.3883 0.3238 lineto + 0.3386 0.3681 lineto + %middle circumferential + 0.3386 0.3681 lineto + 0.2777 0.4087 lineto + 0.2017 0.4439 lineto + 0.1097 0.4693 lineto + 0.0 0.4794 lineto + %end circumferential + 0.0 0.4794 lineto + 0.0 0.3663 lineto + %middle radial + 0.0 0.3663 lineto + 0.0 0.2474 lineto + %end radial + 0.0 0.2474 lineto + 0.0315 0.2455 lineto + 0.1085 0.2235 lineto + 0.1749 0.1786 lineto + %middle circumferential + 0.1749 0.1786 lineto + 0.2134 0.1325 lineto + 0.248 0.0471 lineto + 0.2526 0.0 lineto + %end circumferential + closepath +currentgray 0.9700000000000001 setgray fill setgray +% Annulus 0.75 1.0 8 0.97 0.45 +% Sector from 5.4978 to 6.2832 (quadrant 3) +newpath + 0.4792 -0.5786 moveto + 0.5081 -0.6334 lineto + 0.5368 -0.6946 lineto + %middle radial + 0.5368 -0.6946 lineto + 0.5608 -0.7536 lineto + 0.5835 -0.8189 lineto + %end radial + 0.5835 -0.8189 lineto + 0.6331 -0.8016 lineto + 0.7353 -0.7539 lineto + 0.7871 -0.7228 lineto + 0.8386 -0.6865 lineto + 0.8891 -0.6448 lineto + 0.9379 -0.5974 lineto + 0.9843 -0.5444 lineto + %middle circumferential + 0.9843 -0.5444 lineto + 1.0247 -0.4899 lineto + 1.0617 -0.4306 lineto + 1.0945 -0.367 lineto + 1.1224 -0.2993 lineto + 1.1449 -0.2281 lineto + 1.1615 -0.1541 lineto + 1.1717 -0.0778 lineto + 1.1752 0.0 lineto + %end circumferential + 1.1752 0.0 lineto + 0.991 0.0 lineto + %middle radial + 0.991 0.0 lineto + 0.8223 0.0 lineto + %end radial + 0.8223 0.0 lineto + 0.8151 -0.0972 lineto + 0.7943 -0.19 lineto + 0.7616 -0.2761 lineto + 0.719 -0.3538 lineto + %middle circumferential + 0.719 -0.3538 lineto + 0.6653 -0.4265 lineto + 0.6058 -0.4879 lineto + 0.5431 -0.5384 lineto + 0.4792 -0.5786 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 4.7124 to 5.4978 (quadrant 3) +newpath + 0.0 -0.6816 moveto + 0.0 -0.7675 lineto + %middle radial + 0.0 -0.7675 lineto + 0.0 -0.8415 lineto + %end radial + 0.0 -0.8415 lineto + 0.1069 -0.8466 lineto + 0.1677 -0.8519 lineto + 0.2363 -0.8571 lineto + %middle circumferential + 0.2363 -0.8571 lineto + 0.3087 -0.8593 lineto + 0.3907 -0.8562 lineto + 0.4825 -0.8441 lineto + 0.5835 -0.8189 lineto + %end circumferential + 0.5835 -0.8189 lineto + 0.5608 -0.7536 lineto + 0.5368 -0.6946 lineto + %middle radial + 0.5368 -0.6946 lineto + 0.5081 -0.6334 lineto + 0.4792 -0.5786 lineto + %end radial + 0.4792 -0.5786 lineto + 0.4114 -0.6118 lineto + 0.3457 -0.6362 lineto + 0.2831 -0.6535 lineto + 0.2239 -0.6653 lineto + %middle circumferential + 0.2239 -0.6653 lineto + 0.1636 -0.6735 lineto + 0.0524 -0.6809 lineto + 0.0 -0.6816 lineto + %end circumferential + closepath +currentgray 0.5242857142857142 setgray fill setgray +% Sector from 3.927 to 4.7124 (quadrant 2) +newpath + -0.4792 -0.5786 moveto + -0.5081 -0.6334 lineto + -0.5368 -0.6946 lineto + %middle radial + -0.5368 -0.6946 lineto + -0.5608 -0.7536 lineto + -0.5835 -0.8189 lineto + %end radial + -0.5835 -0.8189 lineto + -0.4886 -0.8429 lineto + -0.3981 -0.8556 lineto + -0.3137 -0.8593 lineto + -0.2363 -0.8571 lineto + %middle circumferential + -0.2363 -0.8571 lineto + -0.1716 -0.8523 lineto + -0.1117 -0.847 lineto + 0.0 -0.8415 lineto + %end circumferential + 0.0 -0.8415 lineto + 0.0 -0.7675 lineto + %middle radial + 0.0 -0.7675 lineto + 0.0 -0.6816 lineto + %end radial + 0.0 -0.6816 lineto + -0.1113 -0.6781 lineto + -0.2239 -0.6653 lineto + %middle circumferential + -0.2239 -0.6653 lineto + -0.2871 -0.6525 lineto + -0.3512 -0.6344 lineto + -0.4156 -0.61 lineto + -0.4792 -0.5786 lineto + %end circumferential + closepath +currentgray 0.5985714285714285 setgray fill setgray +% Sector from 3.1416 to 3.927 (quadrant 2) +newpath + -0.8223 0.0 moveto + -0.991 0.0 lineto + %middle radial + -0.991 0.0 lineto + -1.1752 0.0 lineto + %end radial + -1.1752 0.0 lineto + -1.1723 -0.0718 lineto + -1.1633 -0.144 lineto + -1.1482 -0.2158 lineto + -1.1269 -0.2866 lineto + -1.0996 -0.3556 lineto + -1.0665 -0.422 lineto + -1.0279 -0.4852 lineto + -0.9843 -0.5444 lineto + %middle circumferential + -0.9843 -0.5444 lineto + -0.9414 -0.5937 lineto + -0.8954 -0.639 lineto + -0.8468 -0.6802 lineto + -0.7961 -0.7169 lineto + -0.7439 -0.7491 lineto + -0.6906 -0.7768 lineto + -0.5835 -0.8189 lineto + %end circumferential + -0.5835 -0.8189 lineto + -0.5608 -0.7536 lineto + -0.5368 -0.6946 lineto + %middle radial + -0.5368 -0.6946 lineto + -0.5081 -0.6334 lineto + -0.4792 -0.5786 lineto + %end radial + -0.4792 -0.5786 lineto + -0.5473 -0.5354 lineto + -0.6112 -0.483 lineto + -0.669 -0.4222 lineto + -0.719 -0.3538 lineto + %middle circumferential + -0.719 -0.3538 lineto + -0.7642 -0.2703 lineto + -0.7967 -0.1817 lineto + -0.816 -0.0908 lineto + -0.8223 0.0 lineto + %end circumferential + closepath +currentgray 0.6728571428571428 setgray fill setgray +% Sector from 2.3562 to 3.1416 (quadrant 1) +newpath + -0.4792 0.5786 moveto + -0.5081 0.6334 lineto + -0.5368 0.6946 lineto + %middle radial + -0.5368 0.6946 lineto + -0.5608 0.7536 lineto + -0.5835 0.8189 lineto + %end radial + -0.5835 0.8189 lineto + -0.6312 0.8023 lineto + -0.7312 0.7561 lineto + -0.7827 0.7257 lineto + -0.8345 0.6896 lineto + -0.8859 0.6476 lineto + -0.9361 0.5993 lineto + -0.9843 0.5444 lineto + %middle circumferential + -0.9843 0.5444 lineto + -1.0236 0.4916 lineto + -1.0599 0.4338 lineto + -1.0925 0.3712 lineto + -1.1206 0.3041 lineto + -1.1437 0.2328 lineto + -1.1608 0.158 lineto + -1.1715 0.0801 lineto + -1.1752 0.0 lineto + %end circumferential + -1.1752 0.0 lineto + -0.991 0.0 lineto + %middle radial + -0.991 0.0 lineto + -0.8223 0.0 lineto + %end radial + -0.8223 0.0 lineto + -0.8147 0.0996 lineto + -0.7933 0.193 lineto + -0.7606 0.2782 lineto + -0.719 0.3538 lineto + %middle circumferential + -0.719 0.3538 lineto + -0.6635 0.4286 lineto + -0.6032 0.4903 lineto + -0.541 0.5398 lineto + -0.4792 0.5786 lineto + %end circumferential + closepath +currentgray 0.7471428571428572 setgray fill setgray +% Sector from 1.5708 to 2.3562 (quadrant 1) +newpath + 0.0 0.6816 moveto + 0.0 0.7675 lineto + %middle radial + 0.0 0.7675 lineto + 0.0 0.8415 lineto + %end radial + 0.0 0.8415 lineto + -0.1028 0.8463 lineto + -0.1642 0.8516 lineto + -0.2363 0.8571 lineto + %middle circumferential + -0.2363 0.8571 lineto + -0.3056 0.8593 lineto + -0.386 0.8566 lineto + -0.4786 0.8448 lineto + -0.5835 0.8189 lineto + %end circumferential + -0.5835 0.8189 lineto + -0.5608 0.7536 lineto + -0.5368 0.6946 lineto + %middle radial + -0.5368 0.6946 lineto + -0.5081 0.6334 lineto + -0.4792 0.5786 lineto + %end radial + -0.4792 0.5786 lineto + -0.4435 0.5972 lineto + -0.3749 0.6262 lineto + -0.3109 0.6464 lineto + -0.2239 0.6653 lineto + %middle circumferential + -0.2239 0.6653 lineto + -0.1604 0.6738 lineto + -0.0496 0.681 lineto + 0.0 0.6816 lineto + %end circumferential + closepath +currentgray 0.8214285714285714 setgray fill setgray +% Sector from 0.7854 to 1.5708 (quadrant 0) +newpath + 0.4792 0.5786 moveto + 0.5081 0.6334 lineto + 0.5368 0.6946 lineto + %middle radial + 0.5368 0.6946 lineto + 0.5608 0.7536 lineto + 0.5835 0.8189 lineto + %end radial + 0.5835 0.8189 lineto + 0.4992 0.8408 lineto + 0.4117 0.8543 lineto + 0.3233 0.8593 lineto + 0.2363 0.8571 lineto + %middle circumferential + 0.2363 0.8571 lineto + 0.1763 0.8527 lineto + 0.1176 0.8475 lineto + 0.03 0.8419 lineto + 0.0 0.8415 lineto + %end circumferential + 0.0 0.8415 lineto + 0.0 0.7675 lineto + %middle radial + 0.0 0.7675 lineto + 0.0 0.6816 lineto + %end radial + 0.0 0.6816 lineto + 0.0305 0.6814 lineto + 0.1169 0.6777 lineto + 0.2239 0.6653 lineto + %middle circumferential + 0.2239 0.6653 lineto + 0.2946 0.6507 lineto + 0.3612 0.6311 lineto + 0.4229 0.6068 lineto + 0.4792 0.5786 lineto + %end circumferential + closepath +currentgray 0.8957142857142858 setgray fill setgray +% Sector from 0.0 to 0.7854 (quadrant 0) +newpath + 0.8223 0.0 moveto + 0.991 0.0 lineto + %middle radial + 0.991 0.0 lineto + 1.1752 0.0 lineto + %end radial + 1.1752 0.0 lineto + 1.1746 0.0336 lineto + 1.1696 0.099 lineto + 1.1587 0.1694 lineto + 1.1414 0.241 lineto + 1.1066 0.3395 lineto + 1.0781 0.4004 lineto + 1.0385 0.4691 lineto + 0.9843 0.5444 lineto + %middle circumferential + 0.9843 0.5444 lineto + 0.9151 0.6205 lineto + 0.8502 0.6775 lineto + 0.8002 0.7141 lineto + 0.7447 0.7486 lineto + 0.6839 0.78 lineto + 0.6181 0.8072 lineto + 0.5835 0.8189 lineto + %end circumferential + 0.5835 0.8189 lineto + 0.5608 0.7536 lineto + 0.5368 0.6946 lineto + %middle radial + 0.5368 0.6946 lineto + 0.5081 0.6334 lineto + 0.4792 0.5786 lineto + %end radial + 0.4792 0.5786 lineto + 0.5623 0.5242 lineto + 0.6287 0.4661 lineto + 0.6802 0.4084 lineto + 0.719 0.3538 lineto + %middle circumferential + 0.719 0.3538 lineto + 0.7489 0.3019 lineto + 0.7858 0.216 lineto + 0.8098 0.1277 lineto + 0.8209 0.0435 lineto + 0.8223 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 1.5708 2.0 16 0.97 0.45 +% Sector from 5.8905 to 6.2832 (quadrant 3) +newpath + 1.6635 -1.2733 moveto + 1.7292 -1.3662 lineto + 1.7631 -1.416 lineto + 1.7977 -1.4681 lineto + 1.8331 -1.5228 lineto + 1.8691 -1.5802 lineto + 1.906 -1.6403 lineto + 1.9436 -1.7034 lineto + %middle radial + 1.9436 -1.7034 lineto + 1.9775 -1.762 lineto + 2.012 -1.8232 lineto + 2.0471 -1.8871 lineto + 2.0828 -1.9538 lineto + 2.119 -2.0236 lineto + 2.1559 -2.0966 lineto + 2.1932 -2.1729 lineto + 2.2312 -2.2527 lineto + %end radial + 2.2312 -2.2527 lineto + 2.3005 -2.2188 lineto + 2.3695 -2.1822 lineto + 2.438 -2.1427 lineto + 2.5058 -2.1005 lineto + 2.5729 -2.0554 lineto + 2.6392 -2.0075 lineto + 2.7044 -1.9568 lineto + 2.7685 -1.9033 lineto + 2.8312 -1.847 lineto + 2.8926 -1.788 lineto + 2.9523 -1.7263 lineto + 3.0104 -1.6619 lineto + 3.0667 -1.595 lineto + 3.1209 -1.5254 lineto + 3.1731 -1.4534 lineto + 3.223 -1.379 lineto + %middle circumferential + 3.223 -1.379 lineto + 3.2691 -1.3047 lineto + 3.3128 -1.2284 lineto + 3.3541 -1.15 lineto + 3.3929 -1.0697 lineto + 3.429 -0.9876 lineto + 3.4623 -0.9038 lineto + 3.4928 -0.8184 lineto + 3.5204 -0.7316 lineto + 3.5449 -0.6434 lineto + 3.5664 -0.554 lineto + 3.5847 -0.4635 lineto + 3.5998 -0.3721 lineto + 3.6116 -0.2799 lineto + 3.62 -0.187 lineto + 3.6252 -0.0937 lineto + 3.6269 0.0 lineto + %end circumferential + 3.6269 0.0 lineto + 2.8971 0.0 lineto + %middle radial + 2.8971 0.0 lineto + 2.3013 0.0 lineto + %end radial + 2.3013 0.0 lineto + 2.2983 -0.098 lineto + 2.2895 -0.1952 lineto + 2.2748 -0.291 lineto + 2.2547 -0.3851 lineto + 2.2291 -0.4771 lineto + 2.1984 -0.5665 lineto + 2.1629 -0.653 lineto + 2.1229 -0.7363 lineto + %middle circumferential + 2.1229 -0.7363 lineto + 2.0771 -0.8187 lineto + 2.0271 -0.8971 lineto + 1.9735 -0.9713 lineto + 1.9165 -1.041 lineto + 1.8566 -1.1062 lineto + 1.7942 -1.1667 lineto + 1.7297 -1.2224 lineto + 1.6635 -1.2733 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.4978 to 5.8905 (quadrant 3) +newpath + 0.601 -1.5079 moveto + 0.5822 -1.5795 lineto + 0.5584 -1.6551 lineto + 0.5291 -1.7347 lineto + 0.4933 -1.8185 lineto + %middle radial + 0.4933 -1.8185 lineto + 0.4556 -1.8965 lineto + 0.4117 -1.978 lineto + 0.3606 -2.063 lineto + 0.3018 -2.1515 lineto + %end radial + 0.3018 -2.1515 lineto + 0.341 -2.178 lineto + 0.4244 -2.229 lineto + 0.5146 -2.2767 lineto + 0.6116 -2.3204 lineto + 0.7152 -2.3594 lineto + 0.8254 -2.3931 lineto + 0.8829 -2.4077 lineto + 0.942 -2.4206 lineto + 1.0025 -2.4318 lineto + 1.0645 -2.4412 lineto + 1.128 -2.4486 lineto + %middle circumferential + 1.128 -2.4486 lineto + 1.1906 -2.4539 lineto + 1.2544 -2.4572 lineto + 1.3194 -2.4584 lineto + 1.3854 -2.4575 lineto + 1.4525 -2.4544 lineto + 1.5205 -2.449 lineto + 1.5893 -2.4412 lineto + 1.659 -2.4309 lineto + 1.7293 -2.4181 lineto + 1.8001 -2.4027 lineto + 1.8715 -2.3847 lineto + 1.9432 -2.3639 lineto + 2.0151 -2.3404 lineto + 2.0872 -2.3141 lineto + 2.1592 -2.2848 lineto + 2.2312 -2.2527 lineto + %end circumferential + 2.2312 -2.2527 lineto + 2.1932 -2.1729 lineto + 2.1559 -2.0966 lineto + 2.119 -2.0236 lineto + 2.0828 -1.9538 lineto + 2.0471 -1.8871 lineto + 2.012 -1.8232 lineto + 1.9775 -1.762 lineto + 1.9436 -1.7034 lineto + %middle radial + 1.9436 -1.7034 lineto + 1.906 -1.6403 lineto + 1.8691 -1.5802 lineto + 1.8331 -1.5228 lineto + 1.7977 -1.4681 lineto + 1.7631 -1.416 lineto + 1.7292 -1.3662 lineto + 1.6635 -1.2733 lineto + %end radial + 1.6635 -1.2733 lineto + 1.5936 -1.3208 lineto + 1.5229 -1.3633 lineto + 1.4516 -1.4008 lineto + 1.3801 -1.4334 lineto + 1.3088 -1.4612 lineto + 1.238 -1.4844 lineto + 1.1681 -1.5032 lineto + 1.0994 -1.5178 lineto + %middle circumferential + 1.0994 -1.5178 lineto + 1.0297 -1.5287 lineto + 0.9617 -1.5355 lineto + 0.8957 -1.5387 lineto + 0.8319 -1.5383 lineto + 0.7704 -1.5348 lineto + 0.7113 -1.5284 lineto + 0.601 -1.5079 lineto + %end circumferential + closepath +currentgray 0.48466666666666664 setgray fill setgray +% Sector from 5.1051 to 5.4978 (quadrant 3) +newpath + 0.0761 -1.1777 moveto + 0.0162 -1.2121 lineto + -0.058 -1.2388 lineto + %middle radial + -0.058 -1.2388 lineto + -0.1372 -1.2536 lineto + -0.2303 -1.2576 lineto + %end radial + -0.2303 -1.2576 lineto + -0.2299 -1.3016 lineto + -0.2197 -1.3973 lineto + -0.195 -1.5028 lineto + -0.1763 -1.5588 lineto + -0.153 -1.6167 lineto + -0.1246 -1.6764 lineto + %middle circumferential + -0.1246 -1.6764 lineto + -0.0921 -1.7352 lineto + -0.0543 -1.7949 lineto + -0.0108 -1.8554 lineto + 0.0387 -1.9161 lineto + 0.0944 -1.9765 lineto + 0.1567 -2.0363 lineto + 0.2257 -2.0948 lineto + 0.3018 -2.1515 lineto + %end circumferential + 0.3018 -2.1515 lineto + 0.3606 -2.063 lineto + 0.4117 -1.978 lineto + 0.4556 -1.8965 lineto + 0.4933 -1.8185 lineto + %middle radial + 0.4933 -1.8185 lineto + 0.5291 -1.7347 lineto + 0.5584 -1.6551 lineto + 0.5822 -1.5795 lineto + 0.601 -1.5079 lineto + %end radial + 0.601 -1.5079 lineto + 0.498 -1.478 lineto + 0.4068 -1.4415 lineto + 0.327 -1.4004 lineto + 0.2584 -1.3566 lineto + %middle circumferential + 0.2584 -1.3566 lineto + 0.1983 -1.3101 lineto + 0.1485 -1.264 lineto + 0.1081 -1.2195 lineto + 0.0761 -1.1777 lineto + %end circumferential + closepath +currentgray 0.5193333333333334 setgray fill setgray +% Sector from 4.7124 to 5.1051 (quadrant 3) +newpath + 0.0 -1.0 moveto + 0.0 -0.9771 lineto + %middle radial + 0.0 -0.9771 lineto + 0.0 -0.9093 lineto + %end radial + 0.0 -0.9093 lineto + -0.0796 -0.9304 lineto + -0.1524 -0.9959 lineto + %middle circumferential + -0.1524 -0.9959 lineto + -0.1948 -1.0724 lineto + -0.2155 -1.1378 lineto + -0.2279 -1.2148 lineto + -0.2303 -1.2576 lineto + %end circumferential + -0.2303 -1.2576 lineto + -0.1372 -1.2536 lineto + -0.058 -1.2388 lineto + %middle radial + -0.058 -1.2388 lineto + 0.0162 -1.2121 lineto + 0.0761 -1.1777 lineto + %end radial + 0.0761 -1.1777 lineto + 0.0316 -1.1026 lineto + 0.0094 -1.0468 lineto + %middle circumferential + 0.0094 -1.0468 lineto + 0.0 -1.0 lineto + %end circumferential + closepath +currentgray 0.554 setgray fill setgray +% Sector from 4.3197 to 4.7124 (quadrant 2) +newpath + -0.0761 -1.1777 moveto + -0.0162 -1.2121 lineto + 0.058 -1.2388 lineto + %middle radial + 0.058 -1.2388 lineto + 0.1372 -1.2536 lineto + 0.2303 -1.2576 lineto + %end radial + 0.2303 -1.2576 lineto + 0.228 -1.2163 lineto + 0.2161 -1.1406 lineto + 0.1958 -1.0748 lineto + 0.1524 -0.9959 lineto + %middle circumferential + 0.1524 -0.9959 lineto + 0.0812 -0.9313 lineto + 0.0 -0.9093 lineto + %end circumferential + 0.0 -0.9093 lineto + 0.0 -0.9771 lineto + %middle radial + 0.0 -0.9771 lineto + 0.0 -1.0 lineto + %end radial + 0.0 -1.0 lineto + -0.0094 -1.0468 lineto + %middle circumferential + -0.0094 -1.0468 lineto + -0.0323 -1.104 lineto + -0.0761 -1.1777 lineto + %end circumferential + closepath +currentgray 0.5886666666666667 setgray fill setgray +% Sector from 3.927 to 4.3197 (quadrant 2) +newpath + -0.601 -1.5079 moveto + -0.5822 -1.5795 lineto + -0.5584 -1.6551 lineto + -0.5291 -1.7347 lineto + -0.4933 -1.8185 lineto + %middle radial + -0.4933 -1.8185 lineto + -0.4556 -1.8965 lineto + -0.4117 -1.978 lineto + -0.3606 -2.063 lineto + -0.3018 -2.1515 lineto + %end radial + -0.3018 -2.1515 lineto + -0.2284 -2.097 lineto + -0.1608 -2.0401 lineto + -0.0991 -1.9813 lineto + -0.0432 -1.9212 lineto + 0.0071 -1.8602 lineto + 0.0517 -1.7988 lineto + 0.0908 -1.7374 lineto + 0.1246 -1.6764 lineto + %middle circumferential + 0.1246 -1.6764 lineto + 0.1521 -1.6189 lineto + 0.175 -1.5623 lineto + 0.2083 -1.4533 lineto + 0.2261 -1.3513 lineto + 0.2303 -1.2576 lineto + %end circumferential + 0.2303 -1.2576 lineto + 0.1372 -1.2536 lineto + 0.058 -1.2388 lineto + %middle radial + 0.058 -1.2388 lineto + -0.0162 -1.2121 lineto + -0.0761 -1.1777 lineto + %end radial + -0.0761 -1.1777 lineto + -0.1093 -1.2209 lineto + -0.1504 -1.2659 lineto + -0.2 -1.3116 lineto + -0.2584 -1.3566 lineto + %middle circumferential + -0.2584 -1.3566 lineto + -0.3294 -1.4018 lineto + -0.4104 -1.4431 lineto + -0.5011 -1.4791 lineto + -0.601 -1.5079 lineto + %end circumferential + closepath +currentgray 0.6233333333333333 setgray fill setgray +% Sector from 3.5343 to 3.927 (quadrant 2) +newpath + -1.6635 -1.2733 moveto + -1.7292 -1.3662 lineto + -1.7631 -1.416 lineto + -1.7977 -1.4681 lineto + -1.8331 -1.5228 lineto + -1.8691 -1.5802 lineto + -1.906 -1.6403 lineto + -1.9436 -1.7034 lineto + %middle radial + -1.9436 -1.7034 lineto + -1.9775 -1.762 lineto + -2.012 -1.8232 lineto + -2.0471 -1.8871 lineto + -2.0828 -1.9538 lineto + -2.119 -2.0236 lineto + -2.1559 -2.0966 lineto + -2.1932 -2.1729 lineto + -2.2312 -2.2527 lineto + %end radial + -2.2312 -2.2527 lineto + -2.1621 -2.2836 lineto + -2.0926 -2.3119 lineto + -2.0227 -2.3378 lineto + -1.9525 -2.361 lineto + -1.8822 -2.3818 lineto + -1.8118 -2.4 lineto + -1.7415 -2.4156 lineto + -1.6713 -2.4288 lineto + -1.6014 -2.4396 lineto + -1.5318 -2.4478 lineto + -1.4628 -2.4537 lineto + -1.3943 -2.4572 lineto + -1.3265 -2.4584 lineto + -1.2594 -2.4573 lineto + -1.1932 -2.454 lineto + -1.128 -2.4486 lineto + %middle circumferential + -1.128 -2.4486 lineto + -1.067 -2.4415 lineto + -1.0071 -2.4326 lineto + -0.9482 -2.4218 lineto + -0.8904 -2.4094 lineto + -0.7784 -2.3797 lineto + -0.6716 -2.3439 lineto + -0.5702 -2.3026 lineto + -0.4746 -2.2564 lineto + -0.3851 -2.2058 lineto + -0.3018 -2.1515 lineto + %end circumferential + -0.3018 -2.1515 lineto + -0.3606 -2.063 lineto + -0.4117 -1.978 lineto + -0.4556 -1.8965 lineto + -0.4933 -1.8185 lineto + %middle radial + -0.4933 -1.8185 lineto + -0.5291 -1.7347 lineto + -0.5584 -1.6551 lineto + -0.5822 -1.5795 lineto + -0.601 -1.5079 lineto + %end radial + -0.601 -1.5079 lineto + -0.657 -1.5197 lineto + -0.7151 -1.5289 lineto + -0.7753 -1.5352 lineto + -0.8373 -1.5385 lineto + -0.901 -1.5385 lineto + -0.966 -1.5352 lineto + -1.0322 -1.5283 lineto + -1.0994 -1.5178 lineto + %middle circumferential + -1.0994 -1.5178 lineto + -1.1709 -1.5025 lineto + -1.2427 -1.483 lineto + -1.3147 -1.4591 lineto + -1.3864 -1.4307 lineto + -1.4574 -1.3979 lineto + -1.5275 -1.3607 lineto + -1.5963 -1.3191 lineto + -1.6635 -1.2733 lineto + %end circumferential + closepath +currentgray 0.658 setgray fill setgray +% Sector from 3.1416 to 3.5343 (quadrant 2) +newpath + -2.3013 0.0 moveto + -2.8971 0.0 lineto + %middle radial + -2.8971 0.0 lineto + -3.6269 0.0 lineto + %end radial + -3.6269 0.0 lineto + -3.6253 -0.0897 lineto + -3.6206 -0.1796 lineto + -3.6127 -0.2696 lineto + -3.6016 -0.3595 lineto + -3.5873 -0.4492 lineto + -3.5698 -0.5385 lineto + -3.549 -0.6273 lineto + -3.5251 -0.7154 lineto + -3.4981 -0.8027 lineto + -3.4678 -0.8891 lineto + -3.4345 -0.9743 lineto + -3.3981 -1.0583 lineto + -3.3587 -1.1409 lineto + -3.3163 -1.222 lineto + -3.2711 -1.3014 lineto + -3.223 -1.379 lineto + %middle circumferential + -3.223 -1.379 lineto + -3.1752 -1.4504 lineto + -3.125 -1.5199 lineto + -3.0726 -1.5876 lineto + -3.018 -1.6531 lineto + -2.9614 -1.7166 lineto + -2.9027 -1.7779 lineto + -2.8422 -1.8368 lineto + -2.7798 -1.8934 lineto + -2.7158 -1.9475 lineto + -2.6503 -1.9991 lineto + -2.5833 -2.0481 lineto + -2.515 -2.0945 lineto + -2.4455 -2.1382 lineto + -2.375 -2.1791 lineto + -2.3035 -2.2173 lineto + -2.2312 -2.2527 lineto + %end circumferential + -2.2312 -2.2527 lineto + -2.1932 -2.1729 lineto + -2.1559 -2.0966 lineto + -2.119 -2.0236 lineto + -2.0828 -1.9538 lineto + -2.0471 -1.8871 lineto + -2.012 -1.8232 lineto + -1.9775 -1.762 lineto + -1.9436 -1.7034 lineto + %middle radial + -1.9436 -1.7034 lineto + -1.906 -1.6403 lineto + -1.8691 -1.5802 lineto + -1.8331 -1.5228 lineto + -1.7977 -1.4681 lineto + -1.7631 -1.416 lineto + -1.7292 -1.3662 lineto + -1.6635 -1.2733 lineto + %end radial + -1.6635 -1.2733 lineto + -1.7323 -1.2202 lineto + -1.7985 -1.1627 lineto + -1.8618 -1.1009 lineto + -1.9217 -1.035 lineto + -1.9781 -0.9653 lineto + -2.0306 -0.892 lineto + -2.0789 -0.8156 lineto + -2.1229 -0.7363 lineto + %middle circumferential + -2.1229 -0.7363 lineto + -2.1645 -0.6495 lineto + -2.2007 -0.5603 lineto + -2.2315 -0.4691 lineto + -2.2568 -0.3765 lineto + -2.2763 -0.2828 lineto + -2.2903 -0.1885 lineto + -2.2986 -0.0941 lineto + -2.3013 0.0 lineto + %end circumferential + closepath +currentgray 0.6926666666666667 setgray fill setgray +% Sector from 2.7489 to 3.1416 (quadrant 1) +newpath + -1.6635 1.2733 moveto + -1.7292 1.3662 lineto + -1.7631 1.416 lineto + -1.7977 1.4681 lineto + -1.8331 1.5228 lineto + -1.8691 1.5802 lineto + -1.906 1.6403 lineto + -1.9436 1.7034 lineto + %middle radial + -1.9436 1.7034 lineto + -1.9775 1.762 lineto + -2.012 1.8232 lineto + -2.0471 1.8871 lineto + -2.0828 1.9538 lineto + -2.119 2.0236 lineto + -2.1559 2.0966 lineto + -2.1932 2.1729 lineto + -2.2312 2.2527 lineto + %end radial + -2.2312 2.2527 lineto + -2.2993 2.2194 lineto + -2.3673 2.1834 lineto + -2.435 2.1445 lineto + -2.5022 2.1028 lineto + -2.5688 2.0583 lineto + -2.6347 2.0108 lineto + -2.6998 1.9605 lineto + -2.7639 1.9073 lineto + -2.8268 1.8511 lineto + -2.8885 1.7921 lineto + -2.9487 1.7302 lineto + -3.0073 1.6655 lineto + -3.0642 1.598 lineto + -3.1192 1.5277 lineto + -3.1722 1.4547 lineto + -3.223 1.379 lineto + %middle circumferential + -3.223 1.379 lineto + -3.2684 1.3059 lineto + -3.3116 1.2306 lineto + -3.3525 1.1532 lineto + -3.391 1.0737 lineto + -3.427 0.9923 lineto + -3.4603 0.909 lineto + -3.4909 0.824 lineto + -3.5187 0.7373 lineto + -3.5434 0.6491 lineto + -3.5652 0.5595 lineto + -3.5837 0.4686 lineto + -3.5991 0.3766 lineto + -3.6112 0.2836 lineto + -3.6198 0.1897 lineto + -3.6251 0.0951 lineto + -3.6269 0.0 lineto + %end circumferential + -3.6269 0.0 lineto + -2.8971 0.0 lineto + %middle radial + -2.8971 0.0 lineto + -2.3013 0.0 lineto + %end radial + -2.3013 0.0 lineto + -2.2982 0.0994 lineto + -2.2892 0.1975 lineto + -2.2743 0.2939 lineto + -2.2539 0.3882 lineto + -2.2282 0.4798 lineto + -2.1976 0.5686 lineto + -2.1624 0.6542 lineto + -2.1229 0.7363 lineto + %middle circumferential + -2.1229 0.7363 lineto + -2.0763 0.82 lineto + -2.0257 0.8992 lineto + -1.9716 0.9737 lineto + -1.9144 1.0435 lineto + -1.8545 1.1083 lineto + -1.7924 1.1682 lineto + -1.7286 1.2232 lineto + -1.6635 1.2733 lineto + %end circumferential + closepath +currentgray 0.7273333333333334 setgray fill setgray +% Sector from 2.3562 to 2.7489 (quadrant 1) +newpath + -0.601 1.5079 moveto + -0.5822 1.5795 lineto + -0.5584 1.6551 lineto + -0.5291 1.7347 lineto + -0.4933 1.8185 lineto + %middle radial + -0.4933 1.8185 lineto + -0.4556 1.8965 lineto + -0.4117 1.978 lineto + -0.3606 2.063 lineto + -0.3018 2.1515 lineto + %end radial + -0.3018 2.1515 lineto + -0.3401 2.1775 lineto + -0.4221 2.2276 lineto + -0.511 2.2749 lineto + -0.6072 2.3185 lineto + -0.7105 2.3578 lineto + -0.821 2.3919 lineto + -0.879 2.4067 lineto + -0.9387 2.4199 lineto + -1.0001 2.4314 lineto + -1.0632 2.441 lineto + -1.128 2.4486 lineto + %middle circumferential + -1.128 2.4486 lineto + -1.1894 2.4538 lineto + -1.2521 2.4571 lineto + -1.3162 2.4584 lineto + -1.3814 2.4576 lineto + -1.4478 2.4547 lineto + -1.5153 2.4495 lineto + -1.5839 2.4419 lineto + -1.6533 2.4318 lineto + -1.7237 2.4192 lineto + -1.7948 2.404 lineto + -1.8665 2.386 lineto + -1.9388 2.3653 lineto + -2.0116 2.3416 lineto + -2.0846 2.315 lineto + -2.1579 2.2854 lineto + -2.2312 2.2527 lineto + %end circumferential + -2.2312 2.2527 lineto + -2.1932 2.1729 lineto + -2.1559 2.0966 lineto + -2.119 2.0236 lineto + -2.0828 1.9538 lineto + -2.0471 1.8871 lineto + -2.012 1.8232 lineto + -1.9775 1.762 lineto + -1.9436 1.7034 lineto + %middle radial + -1.9436 1.7034 lineto + -1.906 1.6403 lineto + -1.8691 1.5802 lineto + -1.8331 1.5228 lineto + -1.7977 1.4681 lineto + -1.7631 1.416 lineto + -1.7292 1.3662 lineto + -1.6635 1.2733 lineto + %end radial + -1.6635 1.2733 lineto + -1.5924 1.3216 lineto + -1.5207 1.3645 lineto + -1.4489 1.4021 lineto + -1.3772 1.4346 lineto + -1.3061 1.4622 lineto + -1.2359 1.485 lineto + -1.1669 1.5035 lineto + -1.0994 1.5178 lineto + %middle circumferential + -1.0994 1.5178 lineto + -1.0283 1.5288 lineto + -0.9594 1.5357 lineto + -0.893 1.5387 lineto + -0.8291 1.5382 lineto + -0.7679 1.5346 lineto + -0.7094 1.5281 lineto + -0.601 1.5079 lineto + %end circumferential + closepath +currentgray 0.762 setgray fill setgray +% Sector from 1.9635 to 2.3562 (quadrant 1) +newpath + -0.0761 1.1777 moveto + -0.0162 1.2121 lineto + 0.058 1.2388 lineto + %middle radial + 0.058 1.2388 lineto + 0.1372 1.2536 lineto + 0.2303 1.2576 lineto + %end radial + 0.2303 1.2576 lineto + 0.2299 1.3005 lineto + 0.2202 1.3946 lineto + 0.1959 1.4998 lineto + 0.1772 1.5563 lineto + 0.1537 1.6152 lineto + 0.1246 1.6764 lineto + %middle circumferential + 0.1246 1.6764 lineto + 0.0929 1.7338 lineto + 0.0559 1.7927 lineto + 0.013 1.8525 lineto + -0.036 1.913 lineto + -0.0916 1.9737 lineto + -0.1542 2.0341 lineto + -0.2241 2.0936 lineto + -0.3018 2.1515 lineto + %end circumferential + -0.3018 2.1515 lineto + -0.3606 2.063 lineto + -0.4117 1.978 lineto + -0.4556 1.8965 lineto + -0.4933 1.8185 lineto + %middle radial + -0.4933 1.8185 lineto + -0.5291 1.7347 lineto + -0.5584 1.6551 lineto + -0.5822 1.5795 lineto + -0.601 1.5079 lineto + %end radial + -0.601 1.5079 lineto + -0.4962 1.4774 lineto + -0.4046 1.4405 lineto + -0.3256 1.3996 lineto + -0.2584 1.3566 lineto + %middle circumferential + -0.2584 1.3566 lineto + -0.1971 1.3091 lineto + -0.1472 1.2627 lineto + -0.1074 1.2186 lineto + -0.0761 1.1777 lineto + %end circumferential + closepath +currentgray 0.7966666666666666 setgray fill setgray +% Sector from 1.5708 to 1.9635 (quadrant 1) +newpath + 0.0 1.0 moveto + 0.0 0.9771 lineto + %middle radial + 0.0 0.9771 lineto + 0.0 0.9093 lineto + %end radial + 0.0 0.9093 lineto + 0.0781 0.9296 lineto + 0.1524 0.9959 lineto + %middle circumferential + 0.1524 0.9959 lineto + 0.1941 1.0706 lineto + 0.215 1.1356 lineto + 0.2278 1.2136 lineto + 0.2303 1.2576 lineto + %end circumferential + 0.2303 1.2576 lineto + 0.1372 1.2536 lineto + 0.058 1.2388 lineto + %middle radial + 0.058 1.2388 lineto + -0.0162 1.2121 lineto + -0.0761 1.1777 lineto + %end radial + -0.0761 1.1777 lineto + -0.0311 1.1015 lineto + -0.0094 1.0468 lineto + %middle circumferential + -0.0094 1.0468 lineto + 0.0 1.0 lineto + %end circumferential + closepath +currentgray 0.8313333333333334 setgray fill setgray +% Sector from 1.1781 to 1.5708 (quadrant 0) +newpath + 0.0761 1.1777 moveto + 0.0162 1.2121 lineto + -0.058 1.2388 lineto + %middle radial + -0.058 1.2388 lineto + -0.1372 1.2536 lineto + -0.2303 1.2576 lineto + %end radial + -0.2303 1.2576 lineto + -0.2237 1.1803 lineto + -0.208 1.11 lineto + -0.184 1.0481 lineto + -0.1524 0.9959 lineto + %middle circumferential + -0.1524 0.9959 lineto + -0.083 0.9323 lineto + 0.0 0.9093 lineto + %end circumferential + 0.0 0.9093 lineto + 0.0 0.9771 lineto + %middle radial + 0.0 0.9771 lineto + 0.0 1.0 lineto + %end radial + 0.0 1.0 lineto + 0.0094 1.0468 lineto + %middle circumferential + 0.0094 1.0468 lineto + 0.0331 1.1058 lineto + 0.0761 1.1777 lineto + %end circumferential + closepath +currentgray 0.866 setgray fill setgray +% Sector from 0.7854 to 1.1781 (quadrant 0) +newpath + 0.601 1.5079 moveto + 0.5822 1.5795 lineto + 0.5584 1.6551 lineto + 0.5291 1.7347 lineto + 0.4933 1.8185 lineto + %middle radial + 0.4933 1.8185 lineto + 0.4556 1.8965 lineto + 0.4117 1.978 lineto + 0.3606 2.063 lineto + 0.3018 2.1515 lineto + %end radial + 0.3018 2.1515 lineto + 0.2337 2.1011 lineto + 0.1693 2.0475 lineto + 0.1087 1.991 lineto + 0.0525 1.9318 lineto + 8.0E-4 1.8703 lineto + -0.0461 1.8069 lineto + -0.088 1.7421 lineto + -0.1246 1.6764 lineto + %middle circumferential + -0.1246 1.6764 lineto + -0.1506 1.6222 lineto + -0.1729 1.568 lineto + -0.2066 1.4605 lineto + -0.2256 1.3563 lineto + -0.2303 1.2576 lineto + %end circumferential + -0.2303 1.2576 lineto + -0.1372 1.2536 lineto + -0.058 1.2388 lineto + %middle radial + -0.058 1.2388 lineto + 0.0162 1.2121 lineto + 0.0761 1.1777 lineto + %end radial + 0.0761 1.1777 lineto + 0.1112 1.2232 lineto + 0.1535 1.269 lineto + 0.2028 1.3139 lineto + 0.2584 1.3566 lineto + %middle circumferential + 0.2584 1.3566 lineto + 0.3345 1.4046 lineto + 0.4179 1.4465 lineto + 0.5073 1.4812 lineto + 0.601 1.5079 lineto + %end circumferential + closepath +currentgray 0.9006666666666666 setgray fill setgray +% Sector from 0.3927 to 0.7854 (quadrant 0) +newpath + 1.6635 1.2733 moveto + 1.7292 1.3662 lineto + 1.7631 1.416 lineto + 1.7977 1.4681 lineto + 1.8331 1.5228 lineto + 1.8691 1.5802 lineto + 1.906 1.6403 lineto + 1.9436 1.7034 lineto + %middle radial + 1.9436 1.7034 lineto + 1.9775 1.762 lineto + 2.012 1.8232 lineto + 2.0471 1.8871 lineto + 2.0828 1.9538 lineto + 2.119 2.0236 lineto + 2.1559 2.0966 lineto + 2.1932 2.1729 lineto + 2.2312 2.2527 lineto + %end radial + 2.2312 2.2527 lineto + 2.173 2.2789 lineto + 2.1132 2.3038 lineto + 2.0517 2.3274 lineto + 1.9886 2.3494 lineto + 1.9238 2.3698 lineto + 1.8575 2.3884 lineto + 1.7897 2.4052 lineto + 1.7205 2.4199 lineto + 1.6499 2.4324 lineto + 1.5781 2.4426 lineto + 1.5051 2.4504 lineto + 1.4311 2.4556 lineto + 1.3563 2.4582 lineto + 1.2807 2.4579 lineto + 1.2045 2.4548 lineto + 1.128 2.4486 lineto + %middle circumferential + 1.128 2.4486 lineto + 1.0191 2.4345 lineto + 0.9104 2.4139 lineto + 0.8026 2.3868 lineto + 0.6963 2.3529 lineto + 0.5923 2.3123 lineto + 0.4914 2.265 lineto + 0.3942 2.2114 lineto + 0.3018 2.1515 lineto + %end circumferential + 0.3018 2.1515 lineto + 0.3606 2.063 lineto + 0.4117 1.978 lineto + 0.4556 1.8965 lineto + 0.4933 1.8185 lineto + %middle radial + 0.4933 1.8185 lineto + 0.5291 1.7347 lineto + 0.5584 1.6551 lineto + 0.5822 1.5795 lineto + 0.601 1.5079 lineto + %end radial + 0.601 1.5079 lineto + 0.663 1.5208 lineto + 0.7258 1.5302 lineto + 0.789 1.5362 lineto + 0.8522 1.5388 lineto + 0.9151 1.5381 lineto + 0.9775 1.5343 lineto + 1.039 1.5274 lineto + 1.0994 1.5178 lineto + %middle circumferential + 1.0994 1.5178 lineto + 1.1823 1.4997 lineto + 1.2621 1.477 lineto + 1.3386 1.4501 lineto + 1.4114 1.4197 lineto + 1.4803 1.3863 lineto + 1.5453 1.3505 lineto + 1.6063 1.3126 lineto + 1.6635 1.2733 lineto + %end circumferential + closepath +currentgray 0.9353333333333332 setgray fill setgray +% Sector from 0.0 to 0.3927 (quadrant 0) +newpath + 2.3013 0.0 moveto + 2.8971 0.0 lineto + %middle radial + 2.8971 0.0 lineto + 3.6269 0.0 lineto + %end radial + 3.6269 0.0 lineto + 3.6265 0.0402 lineto + 3.6241 0.1186 lineto + 3.6188 0.2034 lineto + 3.6103 0.2912 lineto + 3.5985 0.3808 lineto + 3.5862 0.455 lineto + 3.5687 0.5433 lineto + 3.5438 0.6478 lineto + 3.5276 0.707 lineto + 3.5082 0.7712 lineto + 3.4852 0.8406 lineto + 3.4578 0.9156 lineto + 3.4253 0.9964 lineto + 3.3867 1.0831 lineto + 3.3409 1.1758 lineto + 3.2868 1.2746 lineto + 3.2562 1.3261 lineto + 3.223 1.379 lineto + %middle circumferential + 3.223 1.379 lineto + 3.1884 1.4312 lineto + 3.1511 1.4844 lineto + 3.1108 1.5388 lineto + 3.0674 1.5941 lineto + 3.0206 1.6502 lineto + 2.9703 1.707 lineto + 2.9162 1.7642 lineto + 2.8582 1.8216 lineto + 2.796 1.8791 lineto + 2.7295 1.9363 lineto + 2.6585 1.9928 lineto + 2.5828 2.0484 lineto + 2.5024 2.1027 lineto + 2.417 2.1551 lineto + 2.3266 2.2053 lineto + 2.2312 2.2527 lineto + %end circumferential + 2.2312 2.2527 lineto + 2.1932 2.1729 lineto + 2.1559 2.0966 lineto + 2.119 2.0236 lineto + 2.0828 1.9538 lineto + 2.0471 1.8871 lineto + 2.012 1.8232 lineto + 1.9775 1.762 lineto + 1.9436 1.7034 lineto + %middle radial + 1.9436 1.7034 lineto + 1.906 1.6403 lineto + 1.8691 1.5802 lineto + 1.8331 1.5228 lineto + 1.7977 1.4681 lineto + 1.7631 1.416 lineto + 1.7292 1.3662 lineto + 1.6635 1.2733 lineto + %end radial + 1.6635 1.2733 lineto + 1.7522 1.2036 lineto + 1.8303 1.1325 lineto + 1.8985 1.0614 lineto + 1.9577 0.9914 lineto + 2.0089 0.9234 lineto + 2.0529 0.858 lineto + 2.0906 0.7955 lineto + 2.1229 0.7363 lineto + %middle circumferential + 2.1229 0.7363 lineto + 2.1513 0.6784 lineto + 2.1754 0.6242 lineto + 2.2128 0.5268 lineto + 2.2392 0.4432 lineto + 2.2578 0.372 lineto + 2.2709 0.3118 lineto + 2.2865 0.2184 lineto + 2.2963 0.1275 lineto + 2.3007 0.0433 lineto + 2.3013 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 3.0 3.1416 32 0.97 0.45 +% Sector from 6.0868 to 6.2832 (quadrant 3) +currentgray 0.45 setgray fill setgray +% Sector from 5.8905 to 6.0868 (quadrant 3) +currentgray 0.4667741935483871 setgray fill setgray +% Sector from 5.6941 to 5.8905 (quadrant 3) +newpath + -0.5761 -6.0705 moveto + -0.6439 -6.1525 lineto + -0.714 -6.2354 lineto + -0.7863 -6.3194 lineto + -0.861 -6.378103166302659 lineto + %middle radial + -0.861 -6.378103166302659 lineto + -1.1772 -6.378103166302659 lineto + %end radial + -1.1772 -6.378103166302659 lineto + 0.7137 -6.378103166302659 lineto + %middle circumferential + 0.7137 -6.378103166302659 lineto + 3.272 -6.378103166302659 lineto + %end circumferential + 3.272 -6.378103166302659 lineto + 3.2773 -6.378103166302659 lineto + %middle radial + 3.2773 -6.378103166302659 lineto + 3.2662 -6.378103166302659 lineto + %end radial + 3.2662 -6.378103166302659 lineto + 1.0936 -6.378103166302659 lineto + %middle circumferential + 1.0936 -6.378103166302659 lineto + -0.169 -6.3719 lineto + -0.2637 -6.3071 lineto + -0.3561 -6.241 lineto + -0.4459 -6.1737 lineto + -0.5334 -6.1052 lineto + -0.5761 -6.0705 lineto + %end circumferential + closepath +currentgray 0.4835483870967742 setgray fill setgray +% Sector from 5.4978 to 5.6941 (quadrant 3) +newpath + -2.1507 -3.6059 moveto + -2.2222 -3.6216 lineto + -2.2952 -3.6366 lineto + -2.3698 -3.6511 lineto + -2.446 -3.6648 lineto + %middle radial + -2.446 -3.6648 lineto + -2.522 -3.6776 lineto + -2.5996 -3.6897 lineto + -2.6788 -3.701 lineto + -2.7596 -3.7115 lineto + %end radial + -2.7596 -3.7115 lineto + -2.7479 -3.7992 lineto + -2.7341 -3.8879 lineto + -2.7184 -3.9775 lineto + -2.7006 -4.0681 lineto + -2.6807 -4.1596 lineto + -2.6586 -4.252 lineto + -2.6343 -4.3452 lineto + -2.6077 -4.4391 lineto + -2.5787 -4.5338 lineto + -2.5473 -4.6292 lineto + -2.5135 -4.7253 lineto + -2.4772 -4.8219 lineto + -2.4383 -4.919 lineto + -2.3968 -5.0167 lineto + -2.3526 -5.1147 lineto + -2.3057 -5.2131 lineto + %middle circumferential + -2.3057 -5.2131 lineto + -2.2569 -5.31 lineto + -2.2054 -5.4072 lineto + -2.1512 -5.5044 lineto + -2.0941 -5.6018 lineto + -2.0342 -5.6991 lineto + -1.9714 -5.7964 lineto + -1.9224 -5.8693 lineto + -1.8888 -5.9178 lineto + -1.8545 -5.9662 lineto + -1.8194 -6.0146 lineto + -1.7836 -6.0629 lineto + -1.747 -6.1111 lineto + -1.723 -6.2072 lineto + -1.1772 -6.378103166302659 lineto + %end circumferential + -1.1772 -6.378103166302659 lineto + -0.861 -6.378103166302659 lineto + %middle radial + -0.861 -6.378103166302659 lineto + -0.7863 -6.3194 lineto + -0.714 -6.2354 lineto + -0.6439 -6.1525 lineto + -0.5761 -6.0705 lineto + %end radial + -0.5761 -6.0705 lineto + -0.6613 -5.9992 lineto + -0.7439 -5.9269 lineto + -0.824 -5.8537 lineto + -0.9016 -5.7796 lineto + -0.9767 -5.7048 lineto + -1.0492 -5.6292 lineto + -1.1193 -5.5531 lineto + -1.187 -5.4764 lineto + -1.2522 -5.3992 lineto + -1.315 -5.3217 lineto + -1.3754 -5.2438 lineto + -1.4335 -5.1656 lineto + -1.4892 -5.0871 lineto + -1.5425 -5.0086 lineto + -1.5936 -4.9299 lineto + -1.6425 -4.8512 lineto + %middle circumferential + -1.6425 -4.8512 lineto + -1.6899 -4.7711 lineto + -1.7351 -4.6911 lineto + -1.778 -4.6112 lineto + -1.8188 -4.5315 lineto + -1.8573 -4.4521 lineto + -1.8938 -4.3729 lineto + -1.9282 -4.294 lineto + -1.9605 -4.2155 lineto + -1.9909 -4.1375 lineto + -2.0193 -4.0599 lineto + -2.0457 -3.9827 lineto + -2.0703 -3.9062 lineto + -2.093 -3.8302 lineto + -2.114 -3.7548 lineto + -2.1332 -3.68 lineto + -2.1507 -3.6059 lineto + %end circumferential + closepath +currentgray 0.5003225806451613 setgray fill setgray +% Sector from 5.3014 to 5.4978 (quadrant 3) +newpath + -2.0367 -1.6531 moveto + -2.1249 -1.6177 lineto + -2.2151 -1.5785 lineto + %middle radial + -2.2151 -1.5785 lineto + -2.305 -1.5365 lineto + -2.3966 -1.4906 lineto + %end radial + -2.3966 -1.4906 lineto + -2.4219 -1.5405 lineto + -2.4711 -1.6441 lineto + -2.495 -1.6978 lineto + -2.5182 -1.7527 lineto + -2.5408 -1.809 lineto + -2.5628 -1.8666 lineto + -2.584 -1.9255 lineto + -2.6045 -1.9857 lineto + -2.6242 -2.0472 lineto + -2.6431 -2.1101 lineto + -2.6611 -2.1743 lineto + -2.6781 -2.2398 lineto + -2.6942 -2.3068 lineto + -2.7093 -2.375 lineto + -2.7233 -2.4446 lineto + %middle circumferential + -2.7233 -2.4446 lineto + -2.7359 -2.5143 lineto + -2.7474 -2.5853 lineto + -2.7577 -2.6576 lineto + -2.7668 -2.7312 lineto + -2.7746 -2.8061 lineto + -2.7811 -2.8823 lineto + -2.7861 -2.9597 lineto + -2.7897 -3.0384 lineto + -2.7918 -3.1184 lineto + -2.7924 -3.1996 lineto + -2.7913 -3.282 lineto + -2.7885 -3.3656 lineto + -2.784 -3.4503 lineto + -2.7778 -3.5363 lineto + -2.7696 -3.6234 lineto + -2.7596 -3.7115 lineto + %end circumferential + -2.7596 -3.7115 lineto + -2.6788 -3.701 lineto + -2.5996 -3.6897 lineto + -2.522 -3.6776 lineto + -2.446 -3.6648 lineto + %middle radial + -2.446 -3.6648 lineto + -2.3698 -3.6511 lineto + -2.2952 -3.6366 lineto + -2.2222 -3.6216 lineto + -2.1507 -3.6059 lineto + %end radial + -2.1507 -3.6059 lineto + -2.1668 -3.5312 lineto + -2.1812 -3.4572 lineto + -2.1939 -3.384 lineto + -2.2051 -3.3116 lineto + -2.2147 -3.24 lineto + -2.2229 -3.1693 lineto + -2.2295 -3.0995 lineto + -2.2348 -3.0305 lineto + -2.2386 -2.9624 lineto + -2.2412 -2.8953 lineto + -2.2424 -2.8291 lineto + -2.2425 -2.7638 lineto + -2.2413 -2.6995 lineto + -2.2389 -2.6362 lineto + -2.2354 -2.5738 lineto + -2.2309 -2.5125 lineto + %middle circumferential + -2.2309 -2.5125 lineto + -2.2252 -2.451 lineto + -2.2184 -2.3905 lineto + -2.2107 -2.3311 lineto + -2.202 -2.2727 lineto + -2.1819 -2.1591 lineto + -2.1585 -2.0497 lineto + -2.1319 -1.9444 lineto + -2.1026 -1.8432 lineto + -2.0708 -1.7462 lineto + -2.0367 -1.6531 lineto + %end circumferential + closepath +currentgray 0.5170967741935484 setgray fill setgray +% Sector from 5.1051 to 5.3014 (quadrant 3) +newpath + -1.3215 -0.6272 moveto + -1.3596 -0.5807 lineto + -1.3975 -0.5319 lineto + %middle radial + -1.3975 -0.5319 lineto + -1.4342 -0.4819 lineto + -1.4704 -0.4297 lineto + %end radial + -1.4704 -0.4297 lineto + -1.5277 -0.4695 lineto + -1.5857 -0.5122 lineto + -1.6443 -0.5579 lineto + -1.7034 -0.6069 lineto + -1.763 -0.6592 lineto + -1.8228 -0.7151 lineto + -1.8829 -0.7747 lineto + -1.943 -0.8382 lineto + %middle circumferential + -1.943 -0.8382 lineto + -2.0019 -0.9044 lineto + -2.0606 -0.9747 lineto + -2.1188 -1.0493 lineto + -2.1765 -1.1282 lineto + -2.2333 -1.2116 lineto + -2.2891 -1.2997 lineto + -2.3436 -1.3927 lineto + -2.3966 -1.4906 lineto + %end circumferential + -2.3966 -1.4906 lineto + -2.305 -1.5365 lineto + -2.2151 -1.5785 lineto + %middle radial + -2.2151 -1.5785 lineto + -2.1249 -1.6177 lineto + -2.0367 -1.6531 lineto + %end radial + -2.0367 -1.6531 lineto + -1.9999 -1.5625 lineto + -1.9612 -1.4759 lineto + -1.9209 -1.3932 lineto + -1.8792 -1.3145 lineto + -1.8363 -1.2395 lineto + -1.7923 -1.1682 lineto + -1.7475 -1.1005 lineto + -1.702 -1.0363 lineto + %middle circumferential + -1.702 -1.0363 lineto + -1.6551 -0.9743 lineto + -1.6077 -0.9156 lineto + -1.5601 -0.8602 lineto + -1.5123 -0.8078 lineto + -1.4644 -0.7585 lineto + -1.4166 -0.712 lineto + -1.369 -0.6683 lineto + -1.3215 -0.6272 lineto + %end circumferential + closepath +currentgray 0.5338709677419355 setgray fill setgray +% Sector from 4.9087 to 5.1051 (quadrant 3) +newpath + -0.607 -0.2328 moveto + -0.6302 -0.1534 lineto + %middle radial + -0.6302 -0.1534 lineto + -0.6508 -0.072 lineto + %end radial + -0.6508 -0.072 lineto + -0.7411 -0.0949 lineto + -0.835 -0.1225 lineto + -0.9326 -0.1555 lineto + -1.0342 -0.1949 lineto + %middle circumferential + -1.0342 -0.1949 lineto + -1.1377 -0.2406 lineto + -1.1908 -0.2664 lineto + -1.245 -0.2942 lineto + -1.3 -0.3244 lineto + -1.356 -0.3569 lineto + -1.4128 -0.3919 lineto + -1.4704 -0.4297 lineto + %end circumferential + -1.4704 -0.4297 lineto + -1.4342 -0.4819 lineto + -1.3975 -0.5319 lineto + %middle radial + -1.3975 -0.5319 lineto + -1.3596 -0.5807 lineto + -1.3215 -0.6272 lineto + %end radial + -1.3215 -0.6272 lineto + -1.2734 -0.5879 lineto + -1.2257 -0.551 lineto + -1.1315 -0.4843 lineto + -1.0393 -0.426 lineto + -0.9493 -0.3755 lineto + %middle circumferential + -0.9493 -0.3755 lineto + -0.86 -0.331 lineto + -0.7732 -0.2928 lineto + -0.6889 -0.2603 lineto + -0.607 -0.2328 lineto + %end circumferential + closepath +currentgray 0.5506451612903226 setgray fill setgray +% Sector from 4.7124 to 4.9087 (quadrant 3) +newpath + 0.0 -0.1411 moveto + 0.0 -0.0707 lineto + %middle radial + 0.0 -0.0707 lineto + 0.0 0.0 lineto + %end radial + 0.0 0.0 lineto + -0.0766 -9.0E-4 lineto + -0.154 -0.0038 lineto + -0.2326 -0.0087 lineto + -0.3128 -0.0158 lineto + %middle circumferential + -0.3128 -0.0158 lineto + -0.3934 -0.0253 lineto + -0.4763 -0.0375 lineto + -0.562 -0.0529 lineto + -0.6508 -0.072 lineto + %end circumferential + -0.6508 -0.072 lineto + -0.6302 -0.1534 lineto + %middle radial + -0.6302 -0.1534 lineto + -0.607 -0.2328 lineto + %end radial + -0.607 -0.2328 lineto + -0.5258 -0.2094 lineto + -0.4469 -0.1901 lineto + -0.3699 -0.1745 lineto + -0.2947 -0.1622 lineto + %middle circumferential + -0.2947 -0.1622 lineto + -0.2194 -0.1527 lineto + -0.1454 -0.1462 lineto + -0.0724 -0.1424 lineto + 0.0 -0.1411 lineto + %end circumferential + closepath +currentgray 0.5674193548387096 setgray fill setgray +% Sector from 4.516 to 4.7124 (quadrant 2) +newpath + 0.607 -0.2328 moveto + 0.6302 -0.1534 lineto + %middle radial + 0.6302 -0.1534 lineto + 0.6508 -0.072 lineto + %end radial + 0.6508 -0.072 lineto + 0.5634 -0.0532 lineto + 0.4781 -0.0378 lineto + 0.3947 -0.0255 lineto + 0.3128 -0.0158 lineto + %middle circumferential + 0.3128 -0.0158 lineto + 0.2338 -0.0088 lineto + 0.1556 -0.0039 lineto + 0.0778 -0.001 lineto + 0.0 0.0 lineto + %end circumferential + 0.0 0.0 lineto + 0.0 -0.0707 lineto + %middle radial + 0.0 -0.0707 lineto + 0.0 -0.1411 lineto + %end radial + 0.0 -0.1411 lineto + 0.0735 -0.1424 lineto + 0.147 -0.1463 lineto + 0.2206 -0.1529 lineto + 0.2947 -0.1622 lineto + %middle circumferential + 0.2947 -0.1622 lineto + 0.3711 -0.1747 lineto + 0.4485 -0.1904 lineto + 0.5271 -0.2097 lineto + 0.607 -0.2328 lineto + %end circumferential + closepath +currentgray 0.5841935483870968 setgray fill setgray +% Sector from 4.3197 to 4.516 (quadrant 2) +newpath + 1.3215 -0.6272 moveto + 1.3596 -0.5807 lineto + 1.3975 -0.5319 lineto + %middle radial + 1.3975 -0.5319 lineto + 1.4342 -0.4819 lineto + 1.4704 -0.4297 lineto + %end radial + 1.4704 -0.4297 lineto + 1.4138 -0.3926 lineto + 1.3577 -0.3579 lineto + 1.3022 -0.3256 lineto + 1.2472 -0.2955 lineto + 1.1929 -0.2674 lineto + 1.1393 -0.2414 lineto + 1.0342 -0.1949 lineto + %middle circumferential + 1.0342 -0.1949 lineto + 0.9342 -0.1561 lineto + 0.837 -0.1231 lineto + 0.7426 -0.0953 lineto + 0.6508 -0.072 lineto + %end circumferential + 0.6508 -0.072 lineto + 0.6302 -0.1534 lineto + %middle radial + 0.6302 -0.1534 lineto + 0.607 -0.2328 lineto + %end radial + 0.607 -0.2328 lineto + 0.6902 -0.2608 lineto + 0.775 -0.2935 lineto + 0.8613 -0.3316 lineto + 0.9493 -0.3755 lineto + %middle circumferential + 0.9493 -0.3755 lineto + 1.0407 -0.4269 lineto + 1.1334 -0.4856 lineto + 1.2271 -0.5521 lineto + 1.2743 -0.5886 lineto + 1.3215 -0.6272 lineto + %end circumferential + closepath +currentgray 0.600967741935484 setgray fill setgray +% Sector from 4.1233 to 4.3197 (quadrant 2) +newpath + 2.0367 -1.6531 moveto + 2.1249 -1.6177 lineto + 2.2151 -1.5785 lineto + %middle radial + 2.2151 -1.5785 lineto + 2.305 -1.5365 lineto + 2.3966 -1.4906 lineto + %end radial + 2.3966 -1.4906 lineto + 2.3446 -1.3944 lineto + 2.2908 -1.3026 lineto + 2.2355 -1.215 lineto + 2.1789 -1.1316 lineto + 2.1211 -1.0523 lineto + 2.0625 -0.977 lineto + 2.003 -0.9057 lineto + 1.943 -0.8382 lineto + %middle circumferential + 1.943 -0.8382 lineto + 1.884 -0.7758 lineto + 1.8247 -0.7169 lineto + 1.7653 -0.6614 lineto + 1.7059 -0.609 lineto + 1.6466 -0.5598 lineto + 1.5876 -0.5136 lineto + 1.5288 -0.4702 lineto + 1.4704 -0.4297 lineto + %end circumferential + 1.4704 -0.4297 lineto + 1.4342 -0.4819 lineto + 1.3975 -0.5319 lineto + %middle radial + 1.3975 -0.5319 lineto + 1.3596 -0.5807 lineto + 1.3215 -0.6272 lineto + %end radial + 1.3215 -0.6272 lineto + 1.3698 -0.6691 lineto + 1.4182 -0.7135 lineto + 1.4663 -0.7604 lineto + 1.5143 -0.81 lineto + 1.562 -0.8623 lineto + 1.6092 -0.9174 lineto + 1.6559 -0.9754 lineto + 1.702 -1.0363 lineto + %middle circumferential + 1.702 -1.0363 lineto + 1.7483 -1.1017 lineto + 1.7937 -1.1704 lineto + 1.838 -1.2424 lineto + 1.881 -1.3177 lineto + 1.9225 -1.3964 lineto + 1.9624 -1.4785 lineto + 2.0006 -1.5641 lineto + 2.0367 -1.6531 lineto + %end circumferential + closepath +currentgray 0.6177419354838709 setgray fill setgray +% Sector from 3.927 to 4.1233 (quadrant 2) +newpath + 2.1507 -3.6059 moveto + 2.2222 -3.6216 lineto + 2.2952 -3.6366 lineto + 2.3698 -3.6511 lineto + 2.446 -3.6648 lineto + %middle radial + 2.446 -3.6648 lineto + 2.522 -3.6776 lineto + 2.5996 -3.6897 lineto + 2.6788 -3.701 lineto + 2.7596 -3.7115 lineto + %end radial + 2.7596 -3.7115 lineto + 2.7695 -3.6251 lineto + 2.7775 -3.5395 lineto + 2.7838 -3.4548 lineto + 2.7883 -3.3709 lineto + 2.7911 -3.288 lineto + 2.7923 -3.2061 lineto + 2.7919 -3.1251 lineto + 2.79 -3.0452 lineto + 2.7865 -2.9663 lineto + 2.7815 -2.8884 lineto + 2.7751 -2.8117 lineto + 2.7674 -2.736 lineto + 2.7582 -2.6615 lineto + 2.7478 -2.588 lineto + 2.7362 -2.5158 lineto + 2.7233 -2.4446 lineto + %middle circumferential + 2.7233 -2.4446 lineto + 2.7096 -2.3764 lineto + 2.6948 -2.3092 lineto + 2.679 -2.2432 lineto + 2.6622 -2.1784 lineto + 2.6444 -2.1147 lineto + 2.6257 -2.0521 lineto + 2.6062 -1.9907 lineto + 2.5858 -1.9305 lineto + 2.5646 -1.8714 lineto + 2.5426 -1.8136 lineto + 2.5199 -1.7568 lineto + 2.4965 -1.7013 lineto + 2.4724 -1.6469 lineto + 2.4477 -1.5936 lineto + 2.3966 -1.4906 lineto + %end circumferential + 2.3966 -1.4906 lineto + 2.305 -1.5365 lineto + 2.2151 -1.5785 lineto + %middle radial + 2.2151 -1.5785 lineto + 2.1249 -1.6177 lineto + 2.0367 -1.6531 lineto + %end radial + 2.0367 -1.6531 lineto + 2.0543 -1.7001 lineto + 2.0878 -1.7967 lineto + 2.1187 -1.897 lineto + 2.1467 -2.0009 lineto + 2.1716 -2.1084 lineto + 2.1931 -2.2195 lineto + 2.2111 -2.3341 lineto + 2.2187 -2.3927 lineto + 2.2253 -2.4522 lineto + 2.2309 -2.5125 lineto + %middle circumferential + 2.2309 -2.5125 lineto + 2.2355 -2.5751 lineto + 2.239 -2.6386 lineto + 2.2414 -2.7029 lineto + 2.2425 -2.768 lineto + 2.2424 -2.8339 lineto + 2.241 -2.9007 lineto + 2.2384 -2.9681 lineto + 2.2344 -3.0364 lineto + 2.229 -3.1053 lineto + 2.2223 -3.1749 lineto + 2.2141 -3.2452 lineto + 2.2045 -3.3162 lineto + 2.1933 -3.3878 lineto + 2.1807 -3.4599 lineto + 2.1665 -3.5326 lineto + 2.1507 -3.6059 lineto + %end circumferential + closepath +currentgray 0.6345161290322581 setgray fill setgray +% Sector from 3.7306 to 3.927 (quadrant 2) +newpath + 0.5761 -6.0705 moveto + 0.6439 -6.1525 lineto + 0.714 -6.2354 lineto + 0.7863 -6.3194 lineto + 0.861 -6.378103166302659 lineto + %middle radial + 0.861 -6.378103166302659 lineto + 1.1772 -6.378103166302659 lineto + %end radial + 1.1772 -6.378103166302659 lineto + 1.7389 -6.2028 lineto + 1.7591 -6.0952 lineto + 1.7954 -6.0471 lineto + 1.8309 -5.9988 lineto + 1.8658 -5.9504 lineto + 1.9 -5.9018 lineto + 1.9334 -5.8531 lineto + 1.9662 -5.8043 lineto + 2.0296 -5.7064 lineto + 2.0903 -5.6082 lineto + 2.1482 -5.5096 lineto + 2.2034 -5.4109 lineto + 2.2559 -5.312 lineto + 2.3057 -5.2131 lineto + %middle circumferential + 2.3057 -5.2131 lineto + 2.3517 -5.1167 lineto + 2.3952 -5.0203 lineto + 2.4362 -4.9241 lineto + 2.4748 -4.8281 lineto + 2.5109 -4.7324 lineto + 2.5447 -4.6369 lineto + 2.5761 -4.5419 lineto + 2.6053 -4.4472 lineto + 2.6321 -4.3531 lineto + 2.6567 -4.2595 lineto + 2.6791 -4.1664 lineto + 2.6994 -4.074 lineto + 2.7175 -3.9823 lineto + 2.7336 -3.8913 lineto + 2.7476 -3.801 lineto + 2.7596 -3.7115 lineto + %end circumferential + 2.7596 -3.7115 lineto + 2.6788 -3.701 lineto + 2.5996 -3.6897 lineto + 2.522 -3.6776 lineto + 2.446 -3.6648 lineto + %middle radial + 2.446 -3.6648 lineto + 2.3698 -3.6511 lineto + 2.2952 -3.6366 lineto + 2.2222 -3.6216 lineto + 2.1507 -3.6059 lineto + %end radial + 2.1507 -3.6059 lineto + 2.1328 -3.6815 lineto + 2.1132 -3.7576 lineto + 2.0919 -3.8342 lineto + 2.0688 -3.9111 lineto + 2.0438 -3.9885 lineto + 2.017 -4.0661 lineto + 1.9884 -4.1441 lineto + 1.9578 -4.2223 lineto + 1.9254 -4.3007 lineto + 1.891 -4.3792 lineto + 1.8546 -4.4579 lineto + 1.8162 -4.5366 lineto + 1.7758 -4.6154 lineto + 1.7334 -4.6941 lineto + 1.689 -4.7727 lineto + 1.6425 -4.8512 lineto + %middle circumferential + 1.6425 -4.8512 lineto + 1.5926 -4.9315 lineto + 1.5405 -5.0116 lineto + 1.4862 -5.0913 lineto + 1.4297 -5.1707 lineto + 1.371 -5.2496 lineto + 1.31 -5.328 lineto + 1.2467 -5.4059 lineto + 1.1812 -5.4831 lineto + 1.1135 -5.5596 lineto + 1.0435 -5.6354 lineto + 0.9712 -5.7103 lineto + 0.8966 -5.7844 lineto + 0.8199 -5.8575 lineto + 0.7409 -5.9296 lineto + 0.6596 -6.0007 lineto + 0.5761 -6.0705 lineto + %end circumferential + closepath +currentgray 0.6512903225806452 setgray fill setgray +% Sector from 3.5343 to 3.7306 (quadrant 2) +newpath + -3.2662 -6.378103166302659 moveto + -3.2773 -6.378103166302659 lineto + %middle radial + -3.2773 -6.378103166302659 lineto + -3.272 -6.378103166302659 lineto + %end radial + -3.272 -6.378103166302659 lineto + -0.7137 -6.378103166302659 lineto + %middle circumferential + -0.7137 -6.378103166302659 lineto + 1.1772 -6.378103166302659 lineto + %end circumferential + 1.1772 -6.378103166302659 lineto + 0.861 -6.378103166302659 lineto + %middle radial + 0.861 -6.378103166302659 lineto + 0.7863 -6.3194 lineto + 0.714 -6.2354 lineto + 0.6439 -6.1525 lineto + 0.5761 -6.0705 lineto + %end radial + 0.5761 -6.0705 lineto + 0.4881 -6.141 lineto + 0.3978 -6.2101 lineto + 0.3053 -6.2778 lineto + 0.2104 -6.344 lineto + -1.0936 -6.378103166302659 lineto + %middle circumferential + -1.0936 -6.378103166302659 lineto + -3.2662 -6.378103166302659 lineto + %end circumferential + closepath +currentgray 0.6680645161290323 setgray fill setgray +% Sector from 3.3379 to 3.5343 (quadrant 2) +currentgray 0.6848387096774193 setgray fill setgray +% Sector from 3.1416 to 3.3379 (quadrant 2) +currentgray 0.7016129032258065 setgray fill setgray +% Sector from 2.9452 to 3.1416 (quadrant 1) +currentgray 0.7183870967741936 setgray fill setgray +% Sector from 2.7489 to 2.9452 (quadrant 1) +currentgray 0.7351612903225806 setgray fill setgray +% Sector from 2.5525 to 2.7489 (quadrant 1) +newpath + 0.5761 6.0705 moveto + 0.6439 6.1525 lineto + 0.714 6.2354 lineto + 0.7863 6.3194 lineto + 0.861 6.378103166302659 lineto + %middle radial + 0.861 6.378103166302659 lineto + 1.1772 6.378103166302659 lineto + %end radial + 1.1772 6.378103166302659 lineto + -0.7137 6.378103166302659 lineto + %middle circumferential + -0.7137 6.378103166302659 lineto + -3.272 6.378103166302659 lineto + %end circumferential + -3.272 6.378103166302659 lineto + -3.2773 6.378103166302659 lineto + %middle radial + -3.2773 6.378103166302659 lineto + -3.2662 6.378103166302659 lineto + %end radial + -3.2662 6.378103166302659 lineto + -1.0936 6.378103166302659 lineto + %middle circumferential + -1.0936 6.378103166302659 lineto + 0.1722 6.3698 lineto + 0.2664 6.3053 lineto + 0.3581 6.2396 lineto + 0.4472 6.1727 lineto + 0.5338 6.1048 lineto + 0.5761 6.0705 lineto + %end circumferential + closepath +currentgray 0.7519354838709679 setgray fill setgray +% Sector from 2.3562 to 2.5525 (quadrant 1) +newpath + 2.1507 3.6059 moveto + 2.2222 3.6216 lineto + 2.2952 3.6366 lineto + 2.3698 3.6511 lineto + 2.446 3.6648 lineto + %middle radial + 2.446 3.6648 lineto + 2.522 3.6776 lineto + 2.5996 3.6897 lineto + 2.6788 3.701 lineto + 2.7596 3.7115 lineto + %end radial + 2.7596 3.7115 lineto + 2.748 3.7982 lineto + 2.7344 3.8861 lineto + 2.7189 3.975 lineto + 2.7013 4.065 lineto + 2.6815 4.156 lineto + 2.6596 4.2479 lineto + 2.6354 4.3409 lineto + 2.6089 4.4348 lineto + 2.5801 4.5295 lineto + 2.5487 4.6251 lineto + 2.5149 4.7214 lineto + 2.4785 4.8185 lineto + 2.4394 4.9163 lineto + 2.3976 5.0147 lineto + 2.3531 5.1136 lineto + 2.3057 5.2131 lineto + %middle circumferential + 2.3057 5.2131 lineto + 2.2575 5.309 lineto + 2.2065 5.4053 lineto + 2.1527 5.5019 lineto + 2.0961 5.5986 lineto + 2.0365 5.6955 lineto + 1.9741 5.7924 lineto + 1.9253 5.8651 lineto + 1.8918 5.9136 lineto + 1.8575 5.962 lineto + 1.8225 6.0104 lineto + 1.7867 6.0587 lineto + 1.7501 6.1069 lineto + 1.7269 6.2061 lineto + 1.1772 6.378103166302659 lineto + %end circumferential + 1.1772 6.378103166302659 lineto + 0.861 6.378103166302659 lineto + %middle radial + 0.861 6.378103166302659 lineto + 0.7863 6.3194 lineto + 0.714 6.2354 lineto + 0.6439 6.1525 lineto + 0.5761 6.0705 lineto + %end radial + 0.5761 6.0705 lineto + 0.6622 5.9985 lineto + 0.7455 5.9255 lineto + 0.8261 5.8517 lineto + 0.9041 5.7772 lineto + 0.9794 5.7019 lineto + 1.0522 5.6261 lineto + 1.1223 5.5498 lineto + 1.1899 5.473 lineto + 1.255 5.3959 lineto + 1.3175 5.3185 lineto + 1.3776 5.2408 lineto + 1.4353 5.163 lineto + 1.4906 5.0851 lineto + 1.5435 5.0071 lineto + 1.5942 4.9291 lineto + 1.6425 4.8512 lineto + %middle circumferential + 1.6425 4.8512 lineto + 1.6904 4.7703 lineto + 1.736 4.6895 lineto + 1.7792 4.609 lineto + 1.8201 4.5288 lineto + 1.8588 4.4489 lineto + 1.8953 4.3695 lineto + 1.9297 4.2904 lineto + 1.962 4.2119 lineto + 1.9922 4.1339 lineto + 2.0204 4.0565 lineto + 2.0467 3.9797 lineto + 2.0711 3.9035 lineto + 2.0937 3.828 lineto + 2.1144 3.7532 lineto + 2.1334 3.6792 lineto + 2.1507 3.6059 lineto + %end circumferential + closepath +currentgray 0.7687096774193548 setgray fill setgray +% Sector from 2.1598 to 2.3562 (quadrant 1) +newpath + 2.0367 1.6531 moveto + 2.1249 1.6177 lineto + 2.2151 1.5785 lineto + %middle radial + 2.2151 1.5785 lineto + 2.305 1.5365 lineto + 2.3966 1.4906 lineto + %end radial + 2.3966 1.4906 lineto + 2.4462 1.5905 lineto + 2.494 1.6957 lineto + 2.5172 1.7503 lineto + 2.5397 1.8062 lineto + 2.5616 1.8636 lineto + 2.5829 1.9223 lineto + 2.6035 1.9825 lineto + 2.6233 2.0441 lineto + 2.6423 2.1072 lineto + 2.6604 2.1717 lineto + 2.6776 2.2377 lineto + 2.6939 2.3052 lineto + 2.7091 2.3742 lineto + 2.7233 2.4446 lineto + %middle circumferential + 2.7233 2.4446 lineto + 2.7358 2.5135 lineto + 2.7472 2.5838 lineto + 2.7574 2.6554 lineto + 2.7665 2.7285 lineto + 2.7743 2.8029 lineto + 2.7808 2.8787 lineto + 2.7859 2.9559 lineto + 2.7896 3.0345 lineto + 2.7918 3.1145 lineto + 2.7924 3.1958 lineto + 2.7914 3.2785 lineto + 2.7887 3.3625 lineto + 2.7842 3.4478 lineto + 2.7779 3.5344 lineto + 2.7698 3.6224 lineto + 2.7596 3.7115 lineto + %end circumferential + 2.7596 3.7115 lineto + 2.6788 3.701 lineto + 2.5996 3.6897 lineto + 2.522 3.6776 lineto + 2.446 3.6648 lineto + %middle radial + 2.446 3.6648 lineto + 2.3698 3.6511 lineto + 2.2952 3.6366 lineto + 2.2222 3.6216 lineto + 2.1507 3.6059 lineto + %end radial + 2.1507 3.6059 lineto + 2.1669 3.5303 lineto + 2.1815 3.4556 lineto + 2.1943 3.3818 lineto + 2.2055 3.3089 lineto + 2.2151 3.237 lineto + 2.2232 3.1661 lineto + 2.2298 3.0961 lineto + 2.235 3.0271 lineto + 2.2388 2.9592 lineto + 2.2413 2.8922 lineto + 2.2425 2.8263 lineto + 2.2424 2.7614 lineto + 2.2412 2.6976 lineto + 2.2388 2.6348 lineto + 2.2354 2.5731 lineto + 2.2309 2.5125 lineto + %middle circumferential + 2.2309 2.5125 lineto + 2.2251 2.4502 lineto + 2.2183 2.3892 lineto + 2.2104 2.3292 lineto + 2.2017 2.2705 lineto + 2.1814 2.1564 lineto + 2.1578 2.0469 lineto + 2.1313 1.9419 lineto + 2.102 1.8413 lineto + 2.0704 1.7451 lineto + 2.0367 1.6531 lineto + %end circumferential + closepath +currentgray 0.7854838709677419 setgray fill setgray +% Sector from 1.9635 to 2.1598 (quadrant 1) +newpath + 1.3215 0.6272 moveto + 1.3596 0.5807 lineto + 1.3975 0.5319 lineto + %middle radial + 1.3975 0.5319 lineto + 1.4342 0.4819 lineto + 1.4704 0.4297 lineto + %end radial + 1.4704 0.4297 lineto + 1.527 0.4689 lineto + 1.5844 0.5112 lineto + 1.6427 0.5566 lineto + 1.7017 0.6054 lineto + 1.7613 0.6577 lineto + 1.8215 0.7138 lineto + 1.8821 0.7739 lineto + 1.943 0.8382 lineto + %middle circumferential + 1.943 0.8382 lineto + 2.0012 0.9036 lineto + 2.0594 0.9732 lineto + 2.1173 1.0473 lineto + 2.1749 1.1259 lineto + 2.2318 1.2094 lineto + 2.2879 1.2978 lineto + 2.3429 1.3915 lineto + 2.3966 1.4906 lineto + %end circumferential + 2.3966 1.4906 lineto + 2.305 1.5365 lineto + 2.2151 1.5785 lineto + %middle radial + 2.2151 1.5785 lineto + 2.1249 1.6177 lineto + 2.0367 1.6531 lineto + %end radial + 2.0367 1.6531 lineto + 1.9994 1.5614 lineto + 1.9604 1.4741 lineto + 1.9198 1.3911 lineto + 1.878 1.3123 lineto + 1.8351 1.2376 lineto + 1.7914 1.1668 lineto + 1.7469 1.0997 lineto + 1.702 1.0363 lineto + %middle circumferential + 1.702 1.0363 lineto + 1.6545 0.9735 lineto + 1.6067 0.9143 lineto + 1.5588 0.8587 lineto + 1.5109 0.8063 lineto + 1.4631 0.7572 lineto + 1.4156 0.711 lineto + 1.3683 0.6678 lineto + 1.3215 0.6272 lineto + %end circumferential + closepath +currentgray 0.802258064516129 setgray fill setgray +% Sector from 1.7671 to 1.9635 (quadrant 1) +newpath + 0.607 0.2328 moveto + 0.6302 0.1534 lineto + %middle radial + 0.6302 0.1534 lineto + 0.6508 0.072 lineto + %end radial + 0.6508 0.072 lineto + 0.7399 0.0945 lineto + 0.8334 0.1219 lineto + 0.9314 0.1551 lineto + 1.0342 0.1949 lineto + %middle circumferential + 1.0342 0.1949 lineto + 1.1364 0.24 lineto + 1.1892 0.2656 lineto + 1.2432 0.2933 lineto + 1.2983 0.3234 lineto + 1.3546 0.3561 lineto + 1.412 0.3914 lineto + 1.4704 0.4297 lineto + %end circumferential + 1.4704 0.4297 lineto + 1.4342 0.4819 lineto + 1.3975 0.5319 lineto + %middle radial + 1.3975 0.5319 lineto + 1.3596 0.5807 lineto + 1.3215 0.6272 lineto + %end radial + 1.3215 0.6272 lineto + 1.297 0.6069 lineto + 1.2486 0.5684 lineto + 1.2006 0.5325 lineto + 1.13 0.4833 lineto + 1.0382 0.4254 lineto + 0.9493 0.3755 lineto + %middle circumferential + 0.9493 0.3755 lineto + 0.8588 0.3304 lineto + 0.7717 0.2922 lineto + 0.6878 0.2599 lineto + 0.607 0.2328 lineto + %end circumferential + closepath +currentgray 0.8190322580645162 setgray fill setgray +% Sector from 1.5708 to 1.7671 (quadrant 1) +newpath + 0.0 0.1411 moveto + 0.0 0.0707 lineto + %middle radial + 0.0 0.0707 lineto + 0.0 0.0 lineto + %end radial + 0.0 0.0 lineto + 0.0754 9.0E-4 lineto + 0.1524 0.0037 lineto + 0.2314 0.0086 lineto + 0.3128 0.0158 lineto + %middle circumferential + 0.3128 0.0158 lineto + 0.3923 0.0252 lineto + 0.4748 0.0373 lineto + 0.5608 0.0527 lineto + 0.6508 0.072 lineto + %end circumferential + 0.6508 0.072 lineto + 0.6302 0.1534 lineto + %middle radial + 0.6302 0.1534 lineto + 0.607 0.2328 lineto + %end radial + 0.607 0.2328 lineto + 0.5247 0.2091 lineto + 0.4455 0.1897 lineto + 0.3689 0.1743 lineto + 0.2947 0.1622 lineto + %middle circumferential + 0.2947 0.1622 lineto + 0.2183 0.1526 lineto + 0.144 0.1461 lineto + 0.0713 0.1423 lineto + 0.0 0.1411 lineto + %end circumferential + closepath +currentgray 0.8358064516129032 setgray fill setgray +% Sector from 1.3744 to 1.5708 (quadrant 0) +newpath + -0.607 0.2328 moveto + -0.6302 0.1534 lineto + %middle radial + -0.6302 0.1534 lineto + -0.6508 0.072 lineto + %end radial + -0.6508 0.072 lineto + -0.5649 0.0535 lineto + -0.4801 0.0381 lineto + -0.3961 0.0257 lineto + -0.3128 0.0158 lineto + %middle circumferential + -0.3128 0.0158 lineto + -0.2351 0.0089 lineto + -0.1573 0.004 lineto + -0.0791 0.001 lineto + 0.0 0.0 lineto + %end circumferential + 0.0 0.0 lineto + 0.0 0.0707 lineto + %middle radial + 0.0 0.0707 lineto + 0.0 0.1411 lineto + %end radial + 0.0 0.1411 lineto + -0.0747 0.1425 lineto + -0.1486 0.1464 lineto + -0.2218 0.153 lineto + -0.2947 0.1622 lineto + %middle circumferential + -0.2947 0.1622 lineto + -0.3725 0.1749 lineto + -0.4504 0.1908 lineto + -0.5285 0.2101 lineto + -0.607 0.2328 lineto + %end circumferential + closepath +currentgray 0.8525806451612903 setgray fill setgray +% Sector from 1.1781 to 1.3744 (quadrant 0) +newpath + -1.3215 0.6272 moveto + -1.3596 0.5807 lineto + -1.3975 0.5319 lineto + %middle radial + -1.3975 0.5319 lineto + -1.4342 0.4819 lineto + -1.4704 0.4297 lineto + %end radial + -1.4704 0.4297 lineto + -1.4428 0.4113 lineto + -1.3877 0.3762 lineto + -1.3326 0.3431 lineto + -1.2777 0.312 lineto + -1.2231 0.2828 lineto + -1.1687 0.2555 lineto + -1.1146 0.23 lineto + -1.0342 0.1949 lineto + %middle circumferential + -1.0342 0.1949 lineto + -0.9361 0.1568 lineto + -0.8395 0.1239 lineto + -0.7444 0.0958 lineto + -0.6508 0.072 lineto + %end circumferential + -0.6508 0.072 lineto + -0.6302 0.1534 lineto + %middle radial + -0.6302 0.1534 lineto + -0.607 0.2328 lineto + %end radial + -0.607 0.2328 lineto + -0.6918 0.2613 lineto + -0.7772 0.2945 lineto + -0.863 0.3324 lineto + -0.9493 0.3755 lineto + %middle circumferential + -0.9493 0.3755 lineto + -1.0427 0.4281 lineto + -1.1361 0.4874 lineto + -1.2292 0.5537 lineto + -1.2985 0.6081 lineto + -1.3215 0.6272 lineto + %end circumferential + closepath +currentgray 0.8693548387096775 setgray fill setgray +% Sector from 0.9817 to 1.1781 (quadrant 0) +newpath + -2.0367 1.6531 moveto + -2.1249 1.6177 lineto + -2.2151 1.5785 lineto + %middle radial + -2.2151 1.5785 lineto + -2.305 1.5365 lineto + -2.3966 1.4906 lineto + %end radial + -2.3966 1.4906 lineto + -2.3462 1.3974 lineto + -2.2938 1.3074 lineto + -2.2393 1.2207 lineto + -2.183 1.1374 lineto + -2.1251 1.0575 lineto + -2.0656 0.981 lineto + -2.0049 0.9079 lineto + -1.943 0.8382 lineto + %middle circumferential + -1.943 0.8382 lineto + -1.8856 0.7775 lineto + -1.8275 0.7197 lineto + -1.7689 0.6646 lineto + -1.7097 0.6123 lineto + -1.6502 0.5627 lineto + -1.5904 0.5157 lineto + -1.5305 0.4714 lineto + -1.4704 0.4297 lineto + %end circumferential + -1.4704 0.4297 lineto + -1.4342 0.4819 lineto + -1.3975 0.5319 lineto + %middle radial + -1.3975 0.5319 lineto + -1.3596 0.5807 lineto + -1.3215 0.6272 lineto + %end radial + -1.3215 0.6272 lineto + -1.3712 0.6703 lineto + -1.4205 0.7157 lineto + -1.4692 0.7633 lineto + -1.5174 0.8132 lineto + -1.5648 0.8655 lineto + -1.6115 0.9201 lineto + -1.6572 0.977 lineto + -1.702 1.0363 lineto + %middle circumferential + -1.702 1.0363 lineto + -1.7498 1.1039 lineto + -1.7961 1.1742 lineto + -1.8409 1.2474 lineto + -1.884 1.3233 lineto + -1.9253 1.4018 lineto + -1.9645 1.483 lineto + -2.0017 1.5668 lineto + -2.0367 1.6531 lineto + %end circumferential + closepath +currentgray 0.8861290322580645 setgray fill setgray +% Sector from 0.7854 to 0.9817 (quadrant 0) +newpath + -2.1507 3.6059 moveto + -2.2222 3.6216 lineto + -2.2952 3.6366 lineto + -2.3698 3.6511 lineto + -2.446 3.6648 lineto + %middle radial + -2.446 3.6648 lineto + -2.522 3.6776 lineto + -2.5996 3.6897 lineto + -2.6788 3.701 lineto + -2.7596 3.7115 lineto + %end radial + -2.7596 3.7115 lineto + -2.7691 3.6288 lineto + -2.7769 3.5464 lineto + -2.7831 3.4643 lineto + -2.7878 3.3825 lineto + -2.7908 3.3012 lineto + -2.7922 3.2203 lineto + -2.7921 3.1399 lineto + -2.7904 3.06 lineto + -2.7872 2.9807 lineto + -2.7825 2.902 lineto + -2.7763 2.8239 lineto + -2.7685 2.7466 lineto + -2.7594 2.6699 lineto + -2.7487 2.594 lineto + -2.7367 2.5189 lineto + -2.7233 2.4446 lineto + %middle circumferential + -2.7233 2.4446 lineto + -2.7101 2.3789 lineto + -2.6959 2.3139 lineto + -2.6806 2.2497 lineto + -2.6643 2.1862 lineto + -2.6469 2.1235 lineto + -2.6286 2.0616 lineto + -2.6094 2.0005 lineto + -2.5891 1.9402 lineto + -2.568 1.8808 lineto + -2.546 1.8223 lineto + -2.5231 1.7647 lineto + -2.4994 1.708 lineto + -2.4748 1.6522 lineto + -2.4495 1.5974 lineto + -2.4234 1.5435 lineto + -2.3966 1.4906 lineto + %end circumferential + -2.3966 1.4906 lineto + -2.305 1.5365 lineto + -2.2151 1.5785 lineto + %middle radial + -2.2151 1.5785 lineto + -2.1249 1.6177 lineto + -2.0367 1.6531 lineto + %end radial + -2.0367 1.6531 lineto + -2.0726 1.7514 lineto + -2.1055 1.8525 lineto + -2.1352 1.9564 lineto + -2.1615 2.063 lineto + -2.1844 2.172 lineto + -2.2037 2.2834 lineto + -2.2192 2.3969 lineto + -2.2309 2.5125 lineto + %middle circumferential + -2.2309 2.5125 lineto + -2.2357 2.5779 lineto + -2.2393 2.6438 lineto + -2.2415 2.7103 lineto + -2.2426 2.7772 lineto + -2.2423 2.8446 lineto + -2.2407 2.9124 lineto + -2.2377 2.9806 lineto + -2.2335 3.0491 lineto + -2.2279 3.118 lineto + -2.221 3.1871 lineto + -2.2127 3.2565 lineto + -2.203 3.3261 lineto + -2.192 3.3959 lineto + -2.1796 3.4658 lineto + -2.1658 3.5358 lineto + -2.1507 3.6059 lineto + %end circumferential + closepath +currentgray 0.9029032258064516 setgray fill setgray +% Sector from 0.589 to 0.7854 (quadrant 0) +newpath + -0.5761 6.0705 moveto + -0.6439 6.1525 lineto + -0.714 6.2354 lineto + -0.7863 6.3194 lineto + -0.861 6.378103166302659 lineto + %middle radial + -0.861 6.378103166302659 lineto + -1.1772 6.378103166302659 lineto + %end radial + -1.1772 6.378103166302659 lineto + -1.7154 6.2093 lineto + -1.7406 6.1193 lineto + -1.777 6.0716 lineto + -1.8128 6.0236 lineto + -1.8481 5.9751 lineto + -1.8828 5.9264 lineto + -1.9169 5.8773 lineto + -1.9505 5.8279 lineto + -1.9834 5.7782 lineto + -2.0158 5.7282 lineto + -2.0476 5.6778 lineto + -2.0788 5.6272 lineto + -2.1093 5.5763 lineto + -2.1393 5.5252 lineto + -2.1686 5.4738 lineto + -2.1973 5.4221 lineto + -2.2254 5.3702 lineto + -2.2528 5.318 lineto + -2.2796 5.2657 lineto + -2.3057 5.2131 lineto + %middle circumferential + -2.3057 5.2131 lineto + -2.3494 5.1215 lineto + -2.3912 5.0293 lineto + -2.431 4.9367 lineto + -2.4687 4.8436 lineto + -2.5044 4.7501 lineto + -2.5381 4.6562 lineto + -2.5696 4.5621 lineto + -2.5992 4.4677 lineto + -2.6266 4.3731 lineto + -2.6519 4.2785 lineto + -2.6751 4.1838 lineto + -2.6962 4.0891 lineto + -2.7152 3.9944 lineto + -2.7321 3.8999 lineto + -2.7469 3.8056 lineto + -2.7596 3.7115 lineto + %end circumferential + -2.7596 3.7115 lineto + -2.6788 3.701 lineto + -2.5996 3.6897 lineto + -2.522 3.6776 lineto + -2.446 3.6648 lineto + %middle radial + -2.446 3.6648 lineto + -2.3698 3.6511 lineto + -2.2952 3.6366 lineto + -2.2222 3.6216 lineto + -2.1507 3.6059 lineto + %end radial + -2.1507 3.6059 lineto + -2.1319 3.6854 lineto + -2.1113 3.7649 lineto + -2.0889 3.8444 lineto + -2.0648 3.9237 lineto + -2.0389 4.0029 lineto + -2.0114 4.082 lineto + -1.982 4.1607 lineto + -1.951 4.2392 lineto + -1.9182 4.3174 lineto + -1.8838 4.3951 lineto + -1.8476 4.4725 lineto + -1.8098 4.5493 lineto + -1.7704 4.6257 lineto + -1.7294 4.7015 lineto + -1.6867 4.7767 lineto + -1.6425 4.8512 lineto + %middle circumferential + -1.6425 4.8512 lineto + -1.5895 4.9364 lineto + -1.5345 5.0206 lineto + -1.4775 5.1039 lineto + -1.4185 5.186 lineto + -1.3577 5.267 lineto + -1.2949 5.3468 lineto + -1.2304 5.4254 lineto + -1.1641 5.5028 lineto + -1.0961 5.5788 lineto + -1.0264 5.6534 lineto + -0.9551 5.7266 lineto + -0.8822 5.7984 lineto + -0.8078 5.8687 lineto + -0.732 5.9376 lineto + -0.6547 6.0048 lineto + -0.5761 6.0705 lineto + %end circumferential + closepath +currentgray 0.9196774193548387 setgray fill setgray +% Sector from 0.3927 to 0.589 (quadrant 0) +newpath + 3.2662 6.378103166302659 moveto + 3.2773 6.378103166302659 lineto + %middle radial + 3.2773 6.378103166302659 lineto + 3.272 6.378103166302659 lineto + %end radial + 3.272 6.378103166302659 lineto + 0.7137 6.378103166302659 lineto + %middle circumferential + 0.7137 6.378103166302659 lineto + -1.1772 6.378103166302659 lineto + %end circumferential + -1.1772 6.378103166302659 lineto + -0.861 6.378103166302659 lineto + %middle radial + -0.861 6.378103166302659 lineto + -0.7863 6.3194 lineto + -0.714 6.2354 lineto + -0.6439 6.1525 lineto + -0.5761 6.0705 lineto + %end radial + -0.5761 6.0705 lineto + -0.529 6.1086 lineto + -0.4815 6.1462 lineto + -0.4336 6.1832 lineto + -0.3852 6.2196 lineto + -0.3364 6.2554 lineto + -0.2872 6.2906 lineto + -0.2376 6.3253 lineto + -0.1877 6.3594 lineto + 1.0936 6.378103166302659 lineto + %middle circumferential + 1.0936 6.378103166302659 lineto + 3.2662 6.378103166302659 lineto + %end circumferential + closepath +currentgray 0.9364516129032258 setgray fill setgray +% Sector from 0.1963 to 0.3927 (quadrant 0) +currentgray 0.9532258064516128 setgray fill setgray +% Sector from 0.0 to 0.1963 (quadrant 0) +currentgray 0.97 setgray fill setgray +% Horizontal line from (0.5, 0.0) to (0.0, 0.0) +newpath + 0.5211 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.5, 0.0) to (1.0, 0.0) +newpath + 0.5211 0.0 moveto + 1.1752 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.0, 0.0) +newpath + 3.6269 0.0 moveto + 1.1752 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.1579208923731617E77, 0.0) +newpath + 3.6269 0.0 moveto + 6.3767 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (0.0, 1.0) +newpath + 1.9596 3.1658 moveto + 1.914 3.0974 lineto + 1.8699 3.0313 lineto + 1.8272 2.9675 lineto + 1.7859 2.9059 lineto + 1.7459 2.8463 lineto + 1.7072 2.7887 lineto + 1.6696 2.7331 lineto + 1.6333 2.6792 lineto + 1.598 2.6271 lineto + 1.5638 2.5768 lineto + 1.5307 2.528 lineto + 1.4673 2.4352 lineto + 1.4076 2.3481 lineto + 1.3513 2.2665 lineto + 1.2982 2.1899 lineto + 1.2479 2.1179 lineto + 1.2005 2.0502 lineto + 1.1555 1.9866 lineto + 1.1129 1.9267 lineto + 1.0725 1.8703 lineto + 1.0342 1.8172 lineto + 0.9977 1.7671 lineto + 0.9464 1.6972 lineto + 0.8836 1.613 lineto + 0.8264 1.5377 lineto + 0.7743 1.4704 lineto + 0.7266 1.4102 lineto + 0.6828 1.3561 lineto + 0.6426 1.3075 lineto + 0.5711 1.2244 lineto + 0.5098 1.1569 lineto + 0.4566 1.1017 lineto + 0.4103 1.0566 lineto + 0.3511 1.0035 lineto + 0.2871 0.9529 lineto + 0.2145 0.9054 lineto + 0.147 0.8721 lineto + 0.0844 0.8517 lineto + 0.0032 0.8415 lineto + 0.0 0.8415 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (1.1579208923731617E77, 1.0) +newpath + 1.9596 3.1658 moveto + 2.0043 3.233 lineto + 2.0505 3.3025 lineto + 2.0982 3.3744 lineto + 2.1475 3.4488 lineto + 2.1984 3.5258 lineto + 2.2511 3.6054 lineto + 2.3055 3.6879 lineto + 2.3618 3.7732 lineto + 2.42 3.8617 lineto + 2.4802 3.9533 lineto + 2.5425 4.0482 lineto + 2.6071 4.1466 lineto + 2.6739 4.2486 lineto + 2.7432 4.3543 lineto + 2.8149 4.464 lineto + 2.8893 4.5778 lineto + 2.9664 4.6959 lineto + 3.0464 4.8185 lineto + 3.1293 4.9457 lineto + 3.2154 5.0779 lineto + 3.3048 5.2152 lineto + 3.3976 5.3579 lineto + 3.4507 5.4398 lineto + 3.4634 5.4317 lineto + 6.378103166302659 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (0.0, -1.0) +newpath + 1.9596 -3.1658 moveto + 1.914 -3.0974 lineto + 1.8699 -3.0313 lineto + 1.8272 -2.9675 lineto + 1.7859 -2.9059 lineto + 1.7459 -2.8463 lineto + 1.7072 -2.7887 lineto + 1.6696 -2.7331 lineto + 1.6333 -2.6792 lineto + 1.598 -2.6271 lineto + 1.5638 -2.5768 lineto + 1.5307 -2.528 lineto + 1.4673 -2.4352 lineto + 1.4076 -2.3481 lineto + 1.3513 -2.2665 lineto + 1.2982 -2.1899 lineto + 1.2479 -2.1179 lineto + 1.2005 -2.0502 lineto + 1.1555 -1.9866 lineto + 1.1129 -1.9267 lineto + 1.0725 -1.8703 lineto + 1.0342 -1.8172 lineto + 0.9977 -1.7671 lineto + 0.9464 -1.6972 lineto + 0.8836 -1.613 lineto + 0.8264 -1.5377 lineto + 0.7743 -1.4704 lineto + 0.7266 -1.4102 lineto + 0.6828 -1.3561 lineto + 0.6426 -1.3075 lineto + 0.5711 -1.2244 lineto + 0.5098 -1.1569 lineto + 0.4566 -1.1017 lineto + 0.4103 -1.0566 lineto + 0.3511 -1.0035 lineto + 0.2871 -0.9529 lineto + 0.2145 -0.9054 lineto + 0.147 -0.8721 lineto + 0.0844 -0.8517 lineto + 0.0032 -0.8415 lineto + 0.0 -0.8415 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (1.1579208923731617E77, -1.0) +newpath + 1.9596 -3.1658 moveto + 2.0043 -3.233 lineto + 2.0505 -3.3025 lineto + 2.0982 -3.3744 lineto + 2.1475 -3.4488 lineto + 2.1984 -3.5258 lineto + 2.2511 -3.6054 lineto + 2.3055 -3.6879 lineto + 2.3618 -3.7732 lineto + 2.42 -3.8617 lineto + 2.4802 -3.9533 lineto + 2.5425 -4.0482 lineto + 2.6071 -4.1466 lineto + 2.6739 -4.2486 lineto + 2.7432 -4.3543 lineto + 2.8149 -4.464 lineto + 2.8893 -4.5778 lineto + 2.9664 -4.6959 lineto + 3.0464 -4.8185 lineto + 3.1293 -4.9457 lineto + 3.2154 -5.0779 lineto + 3.3048 -5.2152 lineto + 3.3976 -5.3579 lineto + 3.4507 -5.4398 lineto + 3.4634 -5.4317 lineto + 6.378103166302659 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (1.1579208923731617E77, 2.0) +newpath + 0.0 0.9093 moveto + -0.0896 0.9301 lineto + -0.1575 0.9723 lineto + -0.2108 1.0193 lineto + -0.2575 1.0693 lineto + -0.317 1.143 lineto + -0.3529 1.1923 lineto + -0.3942 1.2525 lineto + -0.4419 1.3263 lineto + -0.4975 1.4173 lineto + -0.5289 1.4705 lineto + -0.563 1.5297 lineto + -0.6002 1.5958 lineto + -0.6408 1.6696 lineto + -0.6854 1.7521 lineto + -0.7345 1.8446 lineto + -0.7746 1.9214 lineto + -0.8031 1.9765 lineto + -0.8331 2.0349 lineto + -0.8648 2.0969 lineto + -0.8981 2.1628 lineto + -0.9333 2.2329 lineto + -0.9705 2.3074 lineto + -1.0099 2.3867 lineto + -1.0516 2.4711 lineto + -1.0957 2.5611 lineto + -1.1426 2.6571 lineto + -1.1924 2.7595 lineto + -1.2184 2.8133 lineto + -1.2453 2.8689 lineto + -1.273 2.9264 lineto + -1.3016 2.9859 lineto + -1.3311 3.0474 lineto + -1.3616 3.1111 lineto + -1.3931 3.1769 lineto + -1.4256 3.2451 lineto + -1.4592 3.3156 lineto + -1.494 3.3887 lineto + -1.5299 3.4644 lineto + -1.5671 3.5428 lineto + -1.6055 3.624 lineto + -1.6453 3.7082 lineto + -1.6864 3.7954 lineto + -1.7291 3.8859 lineto + -1.7732 3.9798 lineto + -1.819 4.0772 lineto + -1.8664 4.1783 lineto + -1.9281 4.31 lineto + -1.9796 4.42 lineto + -2.0329 4.5342 lineto + -2.0883 4.6528 lineto + -2.1459 4.7761 lineto + -2.2056 4.9043 lineto + -2.2676 5.0376 lineto + -2.3321 5.1762 lineto + -2.3991 5.3205 lineto + -2.4688 5.4706 lineto + -2.5413 5.6268 lineto + -2.6168 5.7896 lineto + -2.6544 5.8696 lineto + -6.378103166302659 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (1.1579208923731617E77, -2.0) +newpath + 0.0 -0.9093 moveto + -0.0896 -0.9301 lineto + -0.1575 -0.9723 lineto + -0.2108 -1.0193 lineto + -0.2575 -1.0693 lineto + -0.317 -1.143 lineto + -0.3529 -1.1923 lineto + -0.3942 -1.2525 lineto + -0.4419 -1.3263 lineto + -0.4975 -1.4173 lineto + -0.5289 -1.4705 lineto + -0.563 -1.5297 lineto + -0.6002 -1.5958 lineto + -0.6408 -1.6696 lineto + -0.6854 -1.7521 lineto + -0.7345 -1.8446 lineto + -0.7746 -1.9214 lineto + -0.8031 -1.9765 lineto + -0.8331 -2.0349 lineto + -0.8648 -2.0969 lineto + -0.8981 -2.1628 lineto + -0.9333 -2.2329 lineto + -0.9705 -2.3074 lineto + -1.0099 -2.3867 lineto + -1.0516 -2.4711 lineto + -1.0957 -2.5611 lineto + -1.1426 -2.6571 lineto + -1.1924 -2.7595 lineto + -1.2184 -2.8133 lineto + -1.2453 -2.8689 lineto + -1.273 -2.9264 lineto + -1.3016 -2.9859 lineto + -1.3311 -3.0474 lineto + -1.3616 -3.1111 lineto + -1.3931 -3.1769 lineto + -1.4256 -3.2451 lineto + -1.4592 -3.3156 lineto + -1.494 -3.3887 lineto + -1.5299 -3.4644 lineto + -1.5671 -3.5428 lineto + -1.6055 -3.624 lineto + -1.6453 -3.7082 lineto + -1.6864 -3.7954 lineto + -1.7291 -3.8859 lineto + -1.7732 -3.9798 lineto + -1.819 -4.0772 lineto + -1.8664 -4.1783 lineto + -1.9281 -4.31 lineto + -1.9796 -4.42 lineto + -2.0329 -4.5342 lineto + -2.0883 -4.6528 lineto + -2.1459 -4.7761 lineto + -2.2056 -4.9043 lineto + -2.2676 -5.0376 lineto + -2.3321 -5.1762 lineto + -2.3991 -5.3205 lineto + -2.4688 -5.4706 lineto + -2.5413 -5.6268 lineto + -2.6168 -5.7896 lineto + -2.6544 -5.8696 lineto + -6.378103166302659 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (1.1579208923731617E77, 3.0) +newpath + 0.0 0.1411 moveto + -0.1019 0.1419 lineto + -0.1771 0.1434 lineto + -0.2568 0.1458 lineto + -0.3407 0.1492 lineto + -0.4126 0.1529 lineto + -0.5015 0.1582 lineto + -0.5824 0.1637 lineto + -0.6448 0.1684 lineto + -0.7153 0.1741 lineto + -0.7954 0.181 lineto + -0.887 0.1895 lineto + -0.9924 0.1998 lineto + -1.0513 0.2058 lineto + -1.1148 0.2125 lineto + -1.1836 0.22 lineto + -1.2582 0.2282 lineto + -1.3393 0.2374 lineto + -1.4277 0.2477 lineto + -1.5245 0.2591 lineto + -1.6306 0.2719 lineto + -1.7171 0.2825 lineto + -1.7784 0.2901 lineto + -1.8428 0.2982 lineto + -1.9106 0.3067 lineto + -1.982 0.3158 lineto + -2.0572 0.3254 lineto + -2.1365 0.3357 lineto + -2.2203 0.3465 lineto + -2.3088 0.3581 lineto + -2.4025 0.3704 lineto + -2.5016 0.3835 lineto + -2.6067 0.3975 lineto + -2.7182 0.4124 lineto + -2.8366 0.4283 lineto + -2.9625 0.4453 lineto + -3.0965 0.4634 lineto + -3.2027 0.4778 lineto + -3.3141 0.493 lineto + -3.4312 0.5091 lineto + -3.5541 0.5259 lineto + -3.6834 0.5437 lineto + -3.8194 0.5624 lineto + -3.9625 0.5822 lineto + -4.1133 0.6031 lineto + -4.2723 0.6251 lineto + -4.44 0.6485 lineto + -4.6475 0.6774 lineto + -4.8688 0.7082 lineto + -5.1049 0.7412 lineto + -5.3571 0.7766 lineto + -5.6269 0.8144 lineto + -5.8732 0.849 lineto + -6.1345 0.8858 lineto + -6.2711 0.905 lineto + -6.3759 0.9198 lineto + -6.378103166302659 3.8537 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (1.1579208923731617E77, -3.0) +newpath + 0.0 -0.1411 moveto + -0.1019 -0.1419 lineto + -0.1771 -0.1434 lineto + -0.2568 -0.1458 lineto + -0.3407 -0.1492 lineto + -0.4126 -0.1529 lineto + -0.5015 -0.1582 lineto + -0.5824 -0.1637 lineto + -0.6448 -0.1684 lineto + -0.7153 -0.1741 lineto + -0.7954 -0.181 lineto + -0.887 -0.1895 lineto + -0.9924 -0.1998 lineto + -1.0513 -0.2058 lineto + -1.1148 -0.2125 lineto + -1.1836 -0.22 lineto + -1.2582 -0.2282 lineto + -1.3393 -0.2374 lineto + -1.4277 -0.2477 lineto + -1.5245 -0.2591 lineto + -1.6306 -0.2719 lineto + -1.7171 -0.2825 lineto + -1.7784 -0.2901 lineto + -1.8428 -0.2982 lineto + -1.9106 -0.3067 lineto + -1.982 -0.3158 lineto + -2.0572 -0.3254 lineto + -2.1365 -0.3357 lineto + -2.2203 -0.3465 lineto + -2.3088 -0.3581 lineto + -2.4025 -0.3704 lineto + -2.5016 -0.3835 lineto + -2.6067 -0.3975 lineto + -2.7182 -0.4124 lineto + -2.8366 -0.4283 lineto + -2.9625 -0.4453 lineto + -3.0965 -0.4634 lineto + -3.2027 -0.4778 lineto + -3.3141 -0.493 lineto + -3.4312 -0.5091 lineto + -3.5541 -0.5259 lineto + -3.6834 -0.5437 lineto + -3.8194 -0.5624 lineto + -3.9625 -0.5822 lineto + -4.1133 -0.6031 lineto + -4.2723 -0.6251 lineto + -4.44 -0.6485 lineto + -4.6475 -0.6774 lineto + -4.8688 -0.7082 lineto + -5.1049 -0.7412 lineto + -5.3571 -0.7766 lineto + -5.6269 -0.8144 lineto + -5.8732 -0.849 lineto + -6.1345 -0.8858 lineto + -6.2711 -0.905 lineto + -6.3759 -0.9198 lineto + -6.378103166302659 -3.8537 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (0.0, 0.0) +newpath + -0.5211 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (-1.0, 0.0) +newpath + -0.5211 0.0 moveto + -1.1752 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.0, 0.0) +newpath + -3.6269 0.0 moveto + -1.1752 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.1579208923731617E77, 0.0) +newpath + -3.6269 0.0 moveto + -6.3767 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (0.0, 1.0) +newpath + -1.9596 3.1658 moveto + -1.914 3.0974 lineto + -1.8699 3.0313 lineto + -1.8272 2.9675 lineto + -1.7859 2.9059 lineto + -1.7459 2.8463 lineto + -1.7072 2.7887 lineto + -1.6696 2.7331 lineto + -1.6333 2.6792 lineto + -1.598 2.6271 lineto + -1.5638 2.5768 lineto + -1.5307 2.528 lineto + -1.4673 2.4352 lineto + -1.4076 2.3481 lineto + -1.3513 2.2665 lineto + -1.2982 2.1899 lineto + -1.2479 2.1179 lineto + -1.2005 2.0502 lineto + -1.1555 1.9866 lineto + -1.1129 1.9267 lineto + -1.0725 1.8703 lineto + -1.0342 1.8172 lineto + -0.9977 1.7671 lineto + -0.9464 1.6972 lineto + -0.8836 1.613 lineto + -0.8264 1.5377 lineto + -0.7743 1.4704 lineto + -0.7266 1.4102 lineto + -0.6828 1.3561 lineto + -0.6426 1.3075 lineto + -0.5711 1.2244 lineto + -0.5098 1.1569 lineto + -0.4566 1.1017 lineto + -0.4103 1.0566 lineto + -0.3511 1.0035 lineto + -0.2871 0.9529 lineto + -0.2145 0.9054 lineto + -0.147 0.8721 lineto + -0.0844 0.8517 lineto + -0.0032 0.8415 lineto + 0.0 0.8415 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (-1.1579208923731617E77, 1.0) +newpath + -1.9596 3.1658 moveto + -2.0043 3.233 lineto + -2.0505 3.3025 lineto + -2.0982 3.3744 lineto + -2.1475 3.4488 lineto + -2.1984 3.5258 lineto + -2.2511 3.6054 lineto + -2.3055 3.6879 lineto + -2.3618 3.7732 lineto + -2.42 3.8617 lineto + -2.4802 3.9533 lineto + -2.5425 4.0482 lineto + -2.6071 4.1466 lineto + -2.6739 4.2486 lineto + -2.7432 4.3543 lineto + -2.8149 4.464 lineto + -2.8893 4.5778 lineto + -2.9664 4.6959 lineto + -3.0464 4.8185 lineto + -3.1293 4.9457 lineto + -3.2154 5.0779 lineto + -3.3048 5.2152 lineto + -3.3976 5.3579 lineto + -3.4507 5.4398 lineto + -3.4634 5.4317 lineto + -6.378103166302659 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (0.0, -1.0) +newpath + -1.9596 -3.1658 moveto + -1.914 -3.0974 lineto + -1.8699 -3.0313 lineto + -1.8272 -2.9675 lineto + -1.7859 -2.9059 lineto + -1.7459 -2.8463 lineto + -1.7072 -2.7887 lineto + -1.6696 -2.7331 lineto + -1.6333 -2.6792 lineto + -1.598 -2.6271 lineto + -1.5638 -2.5768 lineto + -1.5307 -2.528 lineto + -1.4673 -2.4352 lineto + -1.4076 -2.3481 lineto + -1.3513 -2.2665 lineto + -1.2982 -2.1899 lineto + -1.2479 -2.1179 lineto + -1.2005 -2.0502 lineto + -1.1555 -1.9866 lineto + -1.1129 -1.9267 lineto + -1.0725 -1.8703 lineto + -1.0342 -1.8172 lineto + -0.9977 -1.7671 lineto + -0.9464 -1.6972 lineto + -0.8836 -1.613 lineto + -0.8264 -1.5377 lineto + -0.7743 -1.4704 lineto + -0.7266 -1.4102 lineto + -0.6828 -1.3561 lineto + -0.6426 -1.3075 lineto + -0.5711 -1.2244 lineto + -0.5098 -1.1569 lineto + -0.4566 -1.1017 lineto + -0.4103 -1.0566 lineto + -0.3511 -1.0035 lineto + -0.2871 -0.9529 lineto + -0.2145 -0.9054 lineto + -0.147 -0.8721 lineto + -0.0844 -0.8517 lineto + -0.0032 -0.8415 lineto + 0.0 -0.8415 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (-1.1579208923731617E77, -1.0) +newpath + -1.9596 -3.1658 moveto + -2.0043 -3.233 lineto + -2.0505 -3.3025 lineto + -2.0982 -3.3744 lineto + -2.1475 -3.4488 lineto + -2.1984 -3.5258 lineto + -2.2511 -3.6054 lineto + -2.3055 -3.6879 lineto + -2.3618 -3.7732 lineto + -2.42 -3.8617 lineto + -2.4802 -3.9533 lineto + -2.5425 -4.0482 lineto + -2.6071 -4.1466 lineto + -2.6739 -4.2486 lineto + -2.7432 -4.3543 lineto + -2.8149 -4.464 lineto + -2.8893 -4.5778 lineto + -2.9664 -4.6959 lineto + -3.0464 -4.8185 lineto + -3.1293 -4.9457 lineto + -3.2154 -5.0779 lineto + -3.3048 -5.2152 lineto + -3.3976 -5.3579 lineto + -3.4507 -5.4398 lineto + -3.4634 -5.4317 lineto + -6.378103166302659 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (-1.1579208923731617E77, 2.0) +newpath + 0.0 0.9093 moveto + 0.0896 0.9301 lineto + 0.1575 0.9723 lineto + 0.2108 1.0193 lineto + 0.2575 1.0693 lineto + 0.317 1.143 lineto + 0.3529 1.1923 lineto + 0.3942 1.2525 lineto + 0.4419 1.3263 lineto + 0.4975 1.4173 lineto + 0.5289 1.4705 lineto + 0.563 1.5297 lineto + 0.6002 1.5958 lineto + 0.6408 1.6696 lineto + 0.6854 1.7521 lineto + 0.7345 1.8446 lineto + 0.7746 1.9214 lineto + 0.8031 1.9765 lineto + 0.8331 2.0349 lineto + 0.8648 2.0969 lineto + 0.8981 2.1628 lineto + 0.9333 2.2329 lineto + 0.9705 2.3074 lineto + 1.0099 2.3867 lineto + 1.0516 2.4711 lineto + 1.0957 2.5611 lineto + 1.1426 2.6571 lineto + 1.1924 2.7595 lineto + 1.2184 2.8133 lineto + 1.2453 2.8689 lineto + 1.273 2.9264 lineto + 1.3016 2.9859 lineto + 1.3311 3.0474 lineto + 1.3616 3.1111 lineto + 1.3931 3.1769 lineto + 1.4256 3.2451 lineto + 1.4592 3.3156 lineto + 1.494 3.3887 lineto + 1.5299 3.4644 lineto + 1.5671 3.5428 lineto + 1.6055 3.624 lineto + 1.6453 3.7082 lineto + 1.6864 3.7954 lineto + 1.7291 3.8859 lineto + 1.7732 3.9798 lineto + 1.819 4.0772 lineto + 1.8664 4.1783 lineto + 1.9281 4.31 lineto + 1.9796 4.42 lineto + 2.0329 4.5342 lineto + 2.0883 4.6528 lineto + 2.1459 4.7761 lineto + 2.2056 4.9043 lineto + 2.2676 5.0376 lineto + 2.3321 5.1762 lineto + 2.3991 5.3205 lineto + 2.4688 5.4706 lineto + 2.5413 5.6268 lineto + 2.6168 5.7896 lineto + 2.6544 5.8696 lineto + 6.378103166302659 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (-1.1579208923731617E77, -2.0) +newpath + 0.0 -0.9093 moveto + 0.0896 -0.9301 lineto + 0.1575 -0.9723 lineto + 0.2108 -1.0193 lineto + 0.2575 -1.0693 lineto + 0.317 -1.143 lineto + 0.3529 -1.1923 lineto + 0.3942 -1.2525 lineto + 0.4419 -1.3263 lineto + 0.4975 -1.4173 lineto + 0.5289 -1.4705 lineto + 0.563 -1.5297 lineto + 0.6002 -1.5958 lineto + 0.6408 -1.6696 lineto + 0.6854 -1.7521 lineto + 0.7345 -1.8446 lineto + 0.7746 -1.9214 lineto + 0.8031 -1.9765 lineto + 0.8331 -2.0349 lineto + 0.8648 -2.0969 lineto + 0.8981 -2.1628 lineto + 0.9333 -2.2329 lineto + 0.9705 -2.3074 lineto + 1.0099 -2.3867 lineto + 1.0516 -2.4711 lineto + 1.0957 -2.5611 lineto + 1.1426 -2.6571 lineto + 1.1924 -2.7595 lineto + 1.2184 -2.8133 lineto + 1.2453 -2.8689 lineto + 1.273 -2.9264 lineto + 1.3016 -2.9859 lineto + 1.3311 -3.0474 lineto + 1.3616 -3.1111 lineto + 1.3931 -3.1769 lineto + 1.4256 -3.2451 lineto + 1.4592 -3.3156 lineto + 1.494 -3.3887 lineto + 1.5299 -3.4644 lineto + 1.5671 -3.5428 lineto + 1.6055 -3.624 lineto + 1.6453 -3.7082 lineto + 1.6864 -3.7954 lineto + 1.7291 -3.8859 lineto + 1.7732 -3.9798 lineto + 1.819 -4.0772 lineto + 1.8664 -4.1783 lineto + 1.9281 -4.31 lineto + 1.9796 -4.42 lineto + 2.0329 -4.5342 lineto + 2.0883 -4.6528 lineto + 2.1459 -4.7761 lineto + 2.2056 -4.9043 lineto + 2.2676 -5.0376 lineto + 2.3321 -5.1762 lineto + 2.3991 -5.3205 lineto + 2.4688 -5.4706 lineto + 2.5413 -5.6268 lineto + 2.6168 -5.7896 lineto + 2.6544 -5.8696 lineto + 6.378103166302659 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (-1.1579208923731617E77, 3.0) +newpath + 0.0 0.1411 moveto + 0.1019 0.1419 lineto + 0.1771 0.1434 lineto + 0.2568 0.1458 lineto + 0.3407 0.1492 lineto + 0.4126 0.1529 lineto + 0.5015 0.1582 lineto + 0.5824 0.1637 lineto + 0.6448 0.1684 lineto + 0.7153 0.1741 lineto + 0.7954 0.181 lineto + 0.887 0.1895 lineto + 0.9924 0.1998 lineto + 1.0513 0.2058 lineto + 1.1148 0.2125 lineto + 1.1836 0.22 lineto + 1.2582 0.2282 lineto + 1.3393 0.2374 lineto + 1.4277 0.2477 lineto + 1.5245 0.2591 lineto + 1.6306 0.2719 lineto + 1.7171 0.2825 lineto + 1.7784 0.2901 lineto + 1.8428 0.2982 lineto + 1.9106 0.3067 lineto + 1.982 0.3158 lineto + 2.0572 0.3254 lineto + 2.1365 0.3357 lineto + 2.2203 0.3465 lineto + 2.3088 0.3581 lineto + 2.4025 0.3704 lineto + 2.5016 0.3835 lineto + 2.6067 0.3975 lineto + 2.7182 0.4124 lineto + 2.8366 0.4283 lineto + 2.9625 0.4453 lineto + 3.0965 0.4634 lineto + 3.2027 0.4778 lineto + 3.3141 0.493 lineto + 3.4312 0.5091 lineto + 3.5541 0.5259 lineto + 3.6834 0.5437 lineto + 3.8194 0.5624 lineto + 3.9625 0.5822 lineto + 4.1133 0.6031 lineto + 4.2723 0.6251 lineto + 4.44 0.6485 lineto + 4.6475 0.6774 lineto + 4.8688 0.7082 lineto + 5.1049 0.7412 lineto + 5.3571 0.7766 lineto + 5.6269 0.8144 lineto + 5.8732 0.849 lineto + 6.1345 0.8858 lineto + 6.2711 0.905 lineto + 6.3759 0.9198 lineto + 6.378103166302659 3.8537 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (-1.1579208923731617E77, -3.0) +newpath + 0.0 -0.1411 moveto + 0.1019 -0.1419 lineto + 0.1771 -0.1434 lineto + 0.2568 -0.1458 lineto + 0.3407 -0.1492 lineto + 0.4126 -0.1529 lineto + 0.5015 -0.1582 lineto + 0.5824 -0.1637 lineto + 0.6448 -0.1684 lineto + 0.7153 -0.1741 lineto + 0.7954 -0.181 lineto + 0.887 -0.1895 lineto + 0.9924 -0.1998 lineto + 1.0513 -0.2058 lineto + 1.1148 -0.2125 lineto + 1.1836 -0.22 lineto + 1.2582 -0.2282 lineto + 1.3393 -0.2374 lineto + 1.4277 -0.2477 lineto + 1.5245 -0.2591 lineto + 1.6306 -0.2719 lineto + 1.7171 -0.2825 lineto + 1.7784 -0.2901 lineto + 1.8428 -0.2982 lineto + 1.9106 -0.3067 lineto + 1.982 -0.3158 lineto + 2.0572 -0.3254 lineto + 2.1365 -0.3357 lineto + 2.2203 -0.3465 lineto + 2.3088 -0.3581 lineto + 2.4025 -0.3704 lineto + 2.5016 -0.3835 lineto + 2.6067 -0.3975 lineto + 2.7182 -0.4124 lineto + 2.8366 -0.4283 lineto + 2.9625 -0.4453 lineto + 3.0965 -0.4634 lineto + 3.2027 -0.4778 lineto + 3.3141 -0.493 lineto + 3.4312 -0.5091 lineto + 3.5541 -0.5259 lineto + 3.6834 -0.5437 lineto + 3.8194 -0.5624 lineto + 3.9625 -0.5822 lineto + 4.1133 -0.6031 lineto + 4.2723 -0.6251 lineto + 4.44 -0.6485 lineto + 4.6475 -0.6774 lineto + 4.8688 -0.7082 lineto + 5.1049 -0.7412 lineto + 5.3571 -0.7766 lineto + 5.6269 -0.8144 lineto + 5.8732 -0.849 lineto + 6.1345 -0.8858 lineto + 6.2711 -0.905 lineto + 6.3759 -0.9198 lineto + 6.378103166302659 -3.8537 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 0.0) +newpath + 0.0 0.4794 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 1.0) +newpath + 0.0 0.4794 moveto + 0.0 0.8415 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.0) +newpath + 0.0 0.9093 moveto + 0.0 0.9938 lineto + 0.0 0.8415 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.1579208923731617E77) +newpath + 0.0 0.9093 moveto + 0.0 -0.9889 lineto + 0.0 0.9625 lineto + 0.0 0.9093 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 0.0) +newpath + -0.4891 1.4031 moveto + -0.392 1.4547 lineto + -0.2963 1.4932 lineto + -0.2028 1.5199 lineto + -0.1123 1.536 lineto + -0.0252 1.5427 lineto + 0.0582 1.5412 lineto + 0.1377 1.5325 lineto + 0.2129 1.5175 lineto + 0.284 1.4973 lineto + 0.3509 1.4727 lineto + 0.4137 1.4443 lineto + 0.4725 1.4129 lineto + 0.5273 1.379 lineto + 0.5784 1.3432 lineto + 0.6259 1.306 lineto + 0.7109 1.2287 lineto + 0.7837 1.1499 lineto + 0.8457 1.0714 lineto + 0.8984 0.9948 lineto + 0.9429 0.9209 lineto + 0.9806 0.8505 lineto + 1.0122 0.7839 lineto + 1.0389 0.7214 lineto + 1.0612 0.6629 lineto + 1.0882 0.5827 lineto + 1.1145 0.4893 lineto + 1.133 0.4099 lineto + 1.1458 0.3428 lineto + 1.161 0.2391 lineto + 1.1684 0.1663 lineto + 1.1736 0.0803 lineto + 1.1752 0.009 lineto + 1.1752 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 1.1579208923731617E77) +newpath + -0.4891 1.4031 moveto + -0.584 1.3391 lineto + -0.6312 1.3016 lineto + -0.678 1.2604 lineto + -0.7243 1.2152 lineto + -0.7698 1.166 lineto + -0.8143 1.1126 lineto + -0.8576 1.055 lineto + -0.8995 0.9931 lineto + -0.9396 0.9269 lineto + -0.9777 0.8563 lineto + -1.0134 0.7813 lineto + -1.0465 0.702 lineto + -1.0767 0.6185 lineto + -1.1035 0.5307 lineto + -1.1266 0.439 lineto + -1.1457 0.3434 lineto + -1.1604 0.2442 lineto + -1.1702 0.1417 lineto + -1.1749 0.0362 lineto + -1.1739 -0.0718 lineto + -1.167 -0.1819 lineto + -1.1538 -0.2934 lineto + -1.1338 -0.4059 lineto + -1.1069 -0.5185 lineto + -1.0819 -0.6026 lineto + -1.0629 -0.6583 lineto + -1.042 -0.7136 lineto + -1.0192 -0.7683 lineto + -0.9944 -0.8224 lineto + -0.9677 -0.8756 lineto + -0.939 -0.928 lineto + -0.9082 -0.9792 lineto + -0.8755 -1.0293 lineto + -0.8409 -1.078 lineto + -0.8042 -1.1252 lineto + -0.7655 -1.1708 lineto + -0.7249 -1.2145 lineto + -0.6824 -1.2563 lineto + -0.638 -1.2959 lineto + -0.5917 -1.3332 lineto + -0.5437 -1.368 lineto + -0.4939 -1.4002 lineto + -0.4424 -1.4296 lineto + -0.3893 -1.456 lineto + -0.3347 -1.4792 lineto + -0.2787 -1.4991 lineto + -0.2213 -1.5155 lineto + -0.1628 -1.5282 lineto + -0.1032 -1.5371 lineto + -0.0426 -1.5421 lineto + 0.0187 -1.5429 lineto + 0.0807 -1.5394 lineto + 0.1431 -1.5316 lineto + 0.2058 -1.5192 lineto + 0.2686 -1.5022 lineto + 0.3313 -1.4805 lineto + 0.3937 -1.4539 lineto + 0.4555 -1.4224 lineto + 0.5165 -1.386 lineto + 0.5766 -1.3446 lineto + 0.6353 -1.2982 lineto + 0.6925 -1.2468 lineto + 0.7478 -1.1903 lineto + 0.8011 -1.129 lineto + 0.852 -1.0628 lineto + 0.9003 -0.9918 lineto + 0.9456 -0.9162 lineto + 0.9877 -0.8362 lineto + 1.0263 -0.7519 lineto + 1.061 -0.6635 lineto + 1.0917 -0.5714 lineto + 1.118 -0.4757 lineto + 1.1396 -0.3769 lineto + 1.1564 -0.2753 lineto + 1.1679 -0.1712 lineto + 1.1741 -0.0653 lineto + 1.1748 0.0422 lineto + 1.1696 0.1507 lineto + 1.1584 0.2596 lineto + 1.1412 0.3684 lineto + 1.1178 0.4765 lineto + 1.088 0.5832 lineto + 1.052 0.6879 lineto + 1.0096 0.7899 lineto + 0.9609 0.8884 lineto + 0.906 0.9828 lineto + 0.845 1.0724 lineto + 0.7782 1.1563 lineto + 0.7057 1.2339 lineto + 0.6279 1.3044 lineto + 0.545 1.3671 lineto + 0.4576 1.4213 lineto + 0.366 1.4663 lineto + 0.2709 1.5015 lineto + 0.1727 1.5263 lineto + 0.0722 1.5402 lineto + -0.03 1.5426 lineto + -0.1331 1.5332 lineto + -0.2363 1.5116 lineto + -0.3388 1.4776 lineto + -0.4396 1.4311 lineto + -0.4891 1.4031 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 0.0) +newpath + 0.4891 1.4031 moveto + 0.392 1.4547 lineto + 0.2963 1.4932 lineto + 0.2028 1.5199 lineto + 0.1123 1.536 lineto + 0.0252 1.5427 lineto + -0.0582 1.5412 lineto + -0.1377 1.5325 lineto + -0.2129 1.5175 lineto + -0.284 1.4973 lineto + -0.3509 1.4727 lineto + -0.4137 1.4443 lineto + -0.4725 1.4129 lineto + -0.5273 1.379 lineto + -0.5784 1.3432 lineto + -0.6259 1.306 lineto + -0.7109 1.2287 lineto + -0.7837 1.1499 lineto + -0.8457 1.0714 lineto + -0.8984 0.9948 lineto + -0.9429 0.9209 lineto + -0.9806 0.8505 lineto + -1.0122 0.7839 lineto + -1.0389 0.7214 lineto + -1.0612 0.6629 lineto + -1.0882 0.5827 lineto + -1.1145 0.4893 lineto + -1.133 0.4099 lineto + -1.1458 0.3428 lineto + -1.161 0.2391 lineto + -1.1684 0.1663 lineto + -1.1736 0.0803 lineto + -1.1752 0.009 lineto + -1.1752 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 1.1579208923731617E77) +newpath + 0.4891 1.4031 moveto + 0.584 1.3391 lineto + 0.6312 1.3016 lineto + 0.678 1.2604 lineto + 0.7243 1.2152 lineto + 0.7698 1.166 lineto + 0.8143 1.1126 lineto + 0.8576 1.055 lineto + 0.8995 0.9931 lineto + 0.9396 0.9269 lineto + 0.9777 0.8563 lineto + 1.0134 0.7813 lineto + 1.0465 0.702 lineto + 1.0767 0.6185 lineto + 1.1035 0.5307 lineto + 1.1266 0.439 lineto + 1.1457 0.3434 lineto + 1.1604 0.2442 lineto + 1.1702 0.1417 lineto + 1.1749 0.0362 lineto + 1.1739 -0.0718 lineto + 1.167 -0.1819 lineto + 1.1538 -0.2934 lineto + 1.1338 -0.4059 lineto + 1.1069 -0.5185 lineto + 1.0819 -0.6026 lineto + 1.0629 -0.6583 lineto + 1.042 -0.7136 lineto + 1.0192 -0.7683 lineto + 0.9944 -0.8224 lineto + 0.9677 -0.8756 lineto + 0.939 -0.928 lineto + 0.9082 -0.9792 lineto + 0.8755 -1.0293 lineto + 0.8409 -1.078 lineto + 0.8042 -1.1252 lineto + 0.7655 -1.1708 lineto + 0.7249 -1.2145 lineto + 0.6824 -1.2563 lineto + 0.638 -1.2959 lineto + 0.5917 -1.3332 lineto + 0.5437 -1.368 lineto + 0.4939 -1.4002 lineto + 0.4424 -1.4296 lineto + 0.3893 -1.456 lineto + 0.3347 -1.4792 lineto + 0.2787 -1.4991 lineto + 0.2213 -1.5155 lineto + 0.1628 -1.5282 lineto + 0.1032 -1.5371 lineto + 0.0426 -1.5421 lineto + -0.0187 -1.5429 lineto + -0.0807 -1.5394 lineto + -0.1431 -1.5316 lineto + -0.2058 -1.5192 lineto + -0.2686 -1.5022 lineto + -0.3313 -1.4805 lineto + -0.3937 -1.4539 lineto + -0.4555 -1.4224 lineto + -0.5165 -1.386 lineto + -0.5766 -1.3446 lineto + -0.6353 -1.2982 lineto + -0.6925 -1.2468 lineto + -0.7478 -1.1903 lineto + -0.8011 -1.129 lineto + -0.852 -1.0628 lineto + -0.9003 -0.9918 lineto + -0.9456 -0.9162 lineto + -0.9877 -0.8362 lineto + -1.0263 -0.7519 lineto + -1.061 -0.6635 lineto + -1.0917 -0.5714 lineto + -1.118 -0.4757 lineto + -1.1396 -0.3769 lineto + -1.1564 -0.2753 lineto + -1.1679 -0.1712 lineto + -1.1741 -0.0653 lineto + -1.1748 0.0422 lineto + -1.1696 0.1507 lineto + -1.1584 0.2596 lineto + -1.1412 0.3684 lineto + -1.1178 0.4765 lineto + -1.088 0.5832 lineto + -1.052 0.6879 lineto + -1.0096 0.7899 lineto + -0.9609 0.8884 lineto + -0.906 0.9828 lineto + -0.845 1.0724 lineto + -0.7782 1.1563 lineto + -0.7057 1.2339 lineto + -0.6279 1.3044 lineto + -0.545 1.3671 lineto + -0.4576 1.4213 lineto + -0.366 1.4663 lineto + -0.2709 1.5015 lineto + -0.1727 1.5263 lineto + -0.0722 1.5402 lineto + 0.03 1.5426 lineto + 0.1331 1.5332 lineto + 0.2363 1.5116 lineto + 0.3388 1.4776 lineto + 0.4396 1.4311 lineto + 0.4891 1.4031 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, 1.1579208923731617E77) +newpath + 3.6269 0.0 moveto + 3.6263 0.0665 lineto + 3.6244 0.1385 lineto + 3.6217 0.1999 lineto + 3.6162 0.2885 lineto + 3.6083 0.3796 lineto + 3.6001 0.4558 lineto + 3.5883 0.547 lineto + 3.5713 0.6562 lineto + 3.5601 0.7185 lineto + 3.5467 0.7866 lineto + 3.5306 0.8609 lineto + 3.5113 0.9419 lineto + 3.4882 1.0302 lineto + 3.4605 1.1263 lineto + 3.4273 1.2307 lineto + 3.4083 1.2862 lineto + 3.3875 1.344 lineto + 3.3648 1.404 lineto + 3.34 1.4665 lineto + 3.3128 1.5314 lineto + 3.2831 1.5987 lineto + 3.2507 1.6685 lineto + 3.2152 1.7409 lineto + 3.1765 1.8158 lineto + 3.1342 1.8932 lineto + 3.088 1.9731 lineto + 3.0377 2.0555 lineto + 2.9828 2.1402 lineto + 2.923 2.2273 lineto + 2.8578 2.3165 lineto + 2.7869 2.4077 lineto + 2.7491 2.4539 lineto + 2.7098 2.5006 lineto + 2.6687 2.5477 lineto + 2.6259 2.5951 lineto + 2.5813 2.6428 lineto + 2.5348 2.6908 lineto + 2.4864 2.739 lineto + 2.436 2.7873 lineto + 2.3835 2.8357 lineto + 2.3289 2.8841 lineto + 2.272 2.9325 lineto + 2.2129 2.9807 lineto + 2.1514 3.0288 lineto + 2.0875 3.0765 lineto + 2.0211 3.1239 lineto + 1.9521 3.1708 lineto + 1.8805 3.217 lineto + 1.8061 3.2625 lineto + 1.729 3.3072 lineto + 1.649 3.3508 lineto + 1.5661 3.3934 lineto + 1.4802 3.4346 lineto + 1.3913 3.4744 lineto + 1.2993 3.5125 lineto + 1.2042 3.5488 lineto + 1.1058 3.5831 lineto + 1.0043 3.6151 lineto + 0.8995 3.6447 lineto + 0.7914 3.6715 lineto + 0.6801 3.6955 lineto + 0.5655 3.7162 lineto + 0.507 3.7253 lineto + 0.4476 3.7334 lineto + 0.3875 3.7407 lineto + 0.3265 3.7469 lineto + 0.2648 3.7522 lineto + 0.2022 3.7563 lineto + 0.1389 3.7594 lineto + 0.0748 3.7614 lineto + 0.01 3.7622 lineto + -0.0557 3.7618 lineto + -0.122 3.7601 lineto + -0.1891 3.7571 lineto + -0.2569 3.7527 lineto + -0.3253 3.747 lineto + -0.3945 3.7399 lineto + -0.4643 3.7312 lineto + -0.5347 3.7211 lineto + -0.6057 3.7094 lineto + -0.6773 3.696 lineto + -0.7495 3.681 lineto + -0.8222 3.6643 lineto + -0.8953 3.6458 lineto + -0.9689 3.6255 lineto + -1.0429 3.6033 lineto + -1.1173 3.5792 lineto + -1.1921 3.5532 lineto + -1.2671 3.5251 lineto + -1.3423 3.495 lineto + -1.4178 3.4628 lineto + -1.4934 3.4285 lineto + -1.5691 3.3919 lineto + -1.6448 3.3531 lineto + -1.7205 3.312 lineto + -1.796 3.2685 lineto + -1.8714 3.2227 lineto + -1.9466 3.1744 lineto + -2.0215 3.1236 lineto + -2.0959 3.0704 lineto + -2.17 3.0145 lineto + -2.2434 2.9561 lineto + -2.3162 2.8951 lineto + -2.3883 2.8313 lineto + -2.4596 2.7649 lineto + -2.5299 2.6957 lineto + -2.5992 2.6238 lineto + -2.6674 2.5491 lineto + -2.7343 2.4717 lineto + -2.7999 2.3913 lineto + -2.864 2.3082 lineto + -2.9266 2.2222 lineto + -2.9873 2.1334 lineto + -3.0463 2.0417 lineto + -3.1033 1.9472 lineto + -3.1581 1.8499 lineto + -3.2107 1.7498 lineto + -3.2609 1.6468 lineto + -3.3086 1.5411 lineto + -3.3426 1.4601 lineto + -3.3644 1.4052 lineto + -3.3855 1.3496 lineto + -3.4058 1.2934 lineto + -3.4254 1.2365 lineto + -3.4442 1.179 lineto + -3.4622 1.1208 lineto + -3.4794 1.062 lineto + -3.4957 1.0026 lineto + -3.5112 0.9426 lineto + -3.5258 0.8819 lineto + -3.5395 0.8207 lineto + -3.5523 0.7589 lineto + -3.5642 0.6965 lineto + -3.5751 0.6335 lineto + -3.585 0.57 lineto + -3.5939 0.506 lineto + -3.6018 0.4415 lineto + -3.6087 0.3764 lineto + -3.6145 0.3109 lineto + -3.6192 0.2449 lineto + -3.6228 0.1784 lineto + -3.6253 0.1115 lineto + -3.6266 0.0441 lineto + -3.6268 -0.0236 lineto + -3.6258 -0.0917 lineto + -3.6236 -0.1602 lineto + -3.6201 -0.229 lineto + -3.6155 -0.2981 lineto + -3.6095 -0.3676 lineto + -3.6023 -0.4373 lineto + -3.5937 -0.5072 lineto + -3.5839 -0.5774 lineto + -3.5727 -0.6477 lineto + -3.5601 -0.7183 lineto + -3.5462 -0.789 lineto + -3.5309 -0.8598 lineto + -3.5141 -0.9306 lineto + -3.496 -1.0016 lineto + -3.4764 -1.0725 lineto + -3.4553 -1.1435 lineto + -3.4327 -1.2144 lineto + -3.4087 -1.2852 lineto + -3.3831 -1.3559 lineto + -3.356 -1.4265 lineto + -3.3274 -1.4969 lineto + -3.2972 -1.5671 lineto + -3.2655 -1.637 lineto + -3.2322 -1.7067 lineto + -3.1973 -1.776 lineto + -3.1609 -1.8449 lineto + -3.1228 -1.9134 lineto + -3.0831 -1.9814 lineto + -3.0418 -2.049 lineto + -2.9989 -2.116 lineto + -2.9543 -2.1824 lineto + -2.9081 -2.2481 lineto + -2.8603 -2.3132 lineto + -2.8108 -2.3776 lineto + -2.7597 -2.4412 lineto + -2.7069 -2.5039 lineto + -2.6525 -2.5658 lineto + -2.5965 -2.6268 lineto + -2.5388 -2.6867 lineto + -2.4795 -2.7457 lineto + -2.4186 -2.8036 lineto + -2.356 -2.8603 lineto + -2.2919 -2.9158 lineto + -2.2261 -2.9701 lineto + -2.1588 -3.0231 lineto + -2.0899 -3.0748 lineto + -2.0195 -3.125 lineto + -1.9475 -3.1738 lineto + -1.874 -3.2211 lineto + -1.799 -3.2668 lineto + -1.7225 -3.3108 lineto + -1.6446 -3.3532 lineto + -1.5652 -3.3938 lineto + -1.4845 -3.4326 lineto + -1.4023 -3.4696 lineto + -1.3189 -3.5046 lineto + -1.2341 -3.5377 lineto + -1.1481 -3.5687 lineto + -1.0609 -3.5977 lineto + -0.9725 -3.6244 lineto + -0.8829 -3.649 lineto + -0.7922 -3.6713 lineto + -0.7005 -3.6914 lineto + -0.6078 -3.709 lineto + -0.5142 -3.7242 lineto + -0.4196 -3.7369 lineto + -0.3242 -3.7471 lineto + -0.2281 -3.7547 lineto + -0.1312 -3.7597 lineto + -0.0337 -3.762 lineto + 0.0645 -3.7616 lineto + 0.1631 -3.7584 lineto + 0.2622 -3.7524 lineto + 0.3616 -3.7434 lineto + 0.4614 -3.7316 lineto + 0.5613 -3.7169 lineto + 0.6614 -3.6991 lineto + 0.7616 -3.6783 lineto + 0.8617 -3.6545 lineto + 0.9617 -3.6275 lineto + 1.0615 -3.5975 lineto + 1.1609 -3.5643 lineto + 1.26 -3.5279 lineto + 1.3586 -3.4883 lineto + 1.4566 -3.4455 lineto + 1.5539 -3.3994 lineto + 1.6503 -3.3501 lineto + 1.7459 -3.2976 lineto + 1.8405 -3.2418 lineto + 1.9339 -3.1827 lineto + 2.0261 -3.1204 lineto + 2.1169 -3.0548 lineto + 2.2063 -2.986 lineto + 2.2941 -2.914 lineto + 2.3802 -2.8387 lineto + 2.4645 -2.7602 lineto + 2.5468 -2.6786 lineto + 2.6271 -2.5938 lineto + 2.6664 -2.5503 lineto + 2.7052 -2.506 lineto + 2.7434 -2.4609 lineto + 2.781 -2.4151 lineto + 2.8179 -2.3685 lineto + 2.8543 -2.3211 lineto + 2.89 -2.2731 lineto + 2.9251 -2.2243 lineto + 2.9595 -2.1747 lineto + 2.9933 -2.1245 lineto + 3.0263 -2.0735 lineto + 3.0586 -2.0218 lineto + 3.0902 -1.9695 lineto + 3.121 -1.9165 lineto + 3.1511 -1.8628 lineto + 3.1804 -1.8084 lineto + 3.2089 -1.7533 lineto + 3.2366 -1.6977 lineto + 3.2635 -1.6414 lineto + 3.2895 -1.5844 lineto + 3.3147 -1.5269 lineto + 3.339 -1.4688 lineto + 3.3625 -1.4101 lineto + 3.385 -1.3508 lineto + 3.4067 -1.2909 lineto + 3.4274 -1.2305 lineto + 3.4471 -1.1696 lineto + 3.466 -1.1081 lineto + 3.4838 -1.0462 lineto + 3.5007 -0.9837 lineto + 3.5165 -0.9208 lineto + 3.5314 -0.8575 lineto + 3.5452 -0.7937 lineto + 3.558 -0.7294 lineto + 3.5698 -0.6648 lineto + 3.5805 -0.5998 lineto + 3.5901 -0.5343 lineto + 3.5986 -0.4686 lineto + 3.606 -0.4025 lineto + 3.6124 -0.3361 lineto + 3.6176 -0.2694 lineto + 3.6216 -0.2024 lineto + 3.6245 -0.1352 lineto + 3.6263 -0.0677 lineto + 3.6269 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, 1.1579208923731617E77) +newpath + -3.6269 0.0 moveto + -3.6263 0.0665 lineto + -3.6244 0.1385 lineto + -3.6217 0.1999 lineto + -3.6162 0.2885 lineto + -3.6083 0.3796 lineto + -3.6001 0.4558 lineto + -3.5883 0.547 lineto + -3.5713 0.6562 lineto + -3.5601 0.7185 lineto + -3.5467 0.7866 lineto + -3.5306 0.8609 lineto + -3.5113 0.9419 lineto + -3.4882 1.0302 lineto + -3.4605 1.1263 lineto + -3.4273 1.2307 lineto + -3.4083 1.2862 lineto + -3.3875 1.344 lineto + -3.3648 1.404 lineto + -3.34 1.4665 lineto + -3.3128 1.5314 lineto + -3.2831 1.5987 lineto + -3.2507 1.6685 lineto + -3.2152 1.7409 lineto + -3.1765 1.8158 lineto + -3.1342 1.8932 lineto + -3.088 1.9731 lineto + -3.0377 2.0555 lineto + -2.9828 2.1402 lineto + -2.923 2.2273 lineto + -2.8578 2.3165 lineto + -2.7869 2.4077 lineto + -2.7491 2.4539 lineto + -2.7098 2.5006 lineto + -2.6687 2.5477 lineto + -2.6259 2.5951 lineto + -2.5813 2.6428 lineto + -2.5348 2.6908 lineto + -2.4864 2.739 lineto + -2.436 2.7873 lineto + -2.3835 2.8357 lineto + -2.3289 2.8841 lineto + -2.272 2.9325 lineto + -2.2129 2.9807 lineto + -2.1514 3.0288 lineto + -2.0875 3.0765 lineto + -2.0211 3.1239 lineto + -1.9521 3.1708 lineto + -1.8805 3.217 lineto + -1.8061 3.2625 lineto + -1.729 3.3072 lineto + -1.649 3.3508 lineto + -1.5661 3.3934 lineto + -1.4802 3.4346 lineto + -1.3913 3.4744 lineto + -1.2993 3.5125 lineto + -1.2042 3.5488 lineto + -1.1058 3.5831 lineto + -1.0043 3.6151 lineto + -0.8995 3.6447 lineto + -0.7914 3.6715 lineto + -0.6801 3.6955 lineto + -0.5655 3.7162 lineto + -0.507 3.7253 lineto + -0.4476 3.7334 lineto + -0.3875 3.7407 lineto + -0.3265 3.7469 lineto + -0.2648 3.7522 lineto + -0.2022 3.7563 lineto + -0.1389 3.7594 lineto + -0.0748 3.7614 lineto + -0.01 3.7622 lineto + 0.0557 3.7618 lineto + 0.122 3.7601 lineto + 0.1891 3.7571 lineto + 0.2569 3.7527 lineto + 0.3253 3.747 lineto + 0.3945 3.7399 lineto + 0.4643 3.7312 lineto + 0.5347 3.7211 lineto + 0.6057 3.7094 lineto + 0.6773 3.696 lineto + 0.7495 3.681 lineto + 0.8222 3.6643 lineto + 0.8953 3.6458 lineto + 0.9689 3.6255 lineto + 1.0429 3.6033 lineto + 1.1173 3.5792 lineto + 1.1921 3.5532 lineto + 1.2671 3.5251 lineto + 1.3423 3.495 lineto + 1.4178 3.4628 lineto + 1.4934 3.4285 lineto + 1.5691 3.3919 lineto + 1.6448 3.3531 lineto + 1.7205 3.312 lineto + 1.796 3.2685 lineto + 1.8714 3.2227 lineto + 1.9466 3.1744 lineto + 2.0215 3.1236 lineto + 2.0959 3.0704 lineto + 2.17 3.0145 lineto + 2.2434 2.9561 lineto + 2.3162 2.8951 lineto + 2.3883 2.8313 lineto + 2.4596 2.7649 lineto + 2.5299 2.6957 lineto + 2.5992 2.6238 lineto + 2.6674 2.5491 lineto + 2.7343 2.4717 lineto + 2.7999 2.3913 lineto + 2.864 2.3082 lineto + 2.9266 2.2222 lineto + 2.9873 2.1334 lineto + 3.0463 2.0417 lineto + 3.1033 1.9472 lineto + 3.1581 1.8499 lineto + 3.2107 1.7498 lineto + 3.2609 1.6468 lineto + 3.3086 1.5411 lineto + 3.3426 1.4601 lineto + 3.3644 1.4052 lineto + 3.3855 1.3496 lineto + 3.4058 1.2934 lineto + 3.4254 1.2365 lineto + 3.4442 1.179 lineto + 3.4622 1.1208 lineto + 3.4794 1.062 lineto + 3.4957 1.0026 lineto + 3.5112 0.9426 lineto + 3.5258 0.8819 lineto + 3.5395 0.8207 lineto + 3.5523 0.7589 lineto + 3.5642 0.6965 lineto + 3.5751 0.6335 lineto + 3.585 0.57 lineto + 3.5939 0.506 lineto + 3.6018 0.4415 lineto + 3.6087 0.3764 lineto + 3.6145 0.3109 lineto + 3.6192 0.2449 lineto + 3.6228 0.1784 lineto + 3.6253 0.1115 lineto + 3.6266 0.0441 lineto + 3.6268 -0.0236 lineto + 3.6258 -0.0917 lineto + 3.6236 -0.1602 lineto + 3.6201 -0.229 lineto + 3.6155 -0.2981 lineto + 3.6095 -0.3676 lineto + 3.6023 -0.4373 lineto + 3.5937 -0.5072 lineto + 3.5839 -0.5774 lineto + 3.5727 -0.6477 lineto + 3.5601 -0.7183 lineto + 3.5462 -0.789 lineto + 3.5309 -0.8598 lineto + 3.5141 -0.9306 lineto + 3.496 -1.0016 lineto + 3.4764 -1.0725 lineto + 3.4553 -1.1435 lineto + 3.4327 -1.2144 lineto + 3.4087 -1.2852 lineto + 3.3831 -1.3559 lineto + 3.356 -1.4265 lineto + 3.3274 -1.4969 lineto + 3.2972 -1.5671 lineto + 3.2655 -1.637 lineto + 3.2322 -1.7067 lineto + 3.1973 -1.776 lineto + 3.1609 -1.8449 lineto + 3.1228 -1.9134 lineto + 3.0831 -1.9814 lineto + 3.0418 -2.049 lineto + 2.9989 -2.116 lineto + 2.9543 -2.1824 lineto + 2.9081 -2.2481 lineto + 2.8603 -2.3132 lineto + 2.8108 -2.3776 lineto + 2.7597 -2.4412 lineto + 2.7069 -2.5039 lineto + 2.6525 -2.5658 lineto + 2.5965 -2.6268 lineto + 2.5388 -2.6867 lineto + 2.4795 -2.7457 lineto + 2.4186 -2.8036 lineto + 2.356 -2.8603 lineto + 2.2919 -2.9158 lineto + 2.2261 -2.9701 lineto + 2.1588 -3.0231 lineto + 2.0899 -3.0748 lineto + 2.0195 -3.125 lineto + 1.9475 -3.1738 lineto + 1.874 -3.2211 lineto + 1.799 -3.2668 lineto + 1.7225 -3.3108 lineto + 1.6446 -3.3532 lineto + 1.5652 -3.3938 lineto + 1.4845 -3.4326 lineto + 1.4023 -3.4696 lineto + 1.3189 -3.5046 lineto + 1.2341 -3.5377 lineto + 1.1481 -3.5687 lineto + 1.0609 -3.5977 lineto + 0.9725 -3.6244 lineto + 0.8829 -3.649 lineto + 0.7922 -3.6713 lineto + 0.7005 -3.6914 lineto + 0.6078 -3.709 lineto + 0.5142 -3.7242 lineto + 0.4196 -3.7369 lineto + 0.3242 -3.7471 lineto + 0.2281 -3.7547 lineto + 0.1312 -3.7597 lineto + 0.0337 -3.762 lineto + -0.0645 -3.7616 lineto + -0.1631 -3.7584 lineto + -0.2622 -3.7524 lineto + -0.3616 -3.7434 lineto + -0.4614 -3.7316 lineto + -0.5613 -3.7169 lineto + -0.6614 -3.6991 lineto + -0.7616 -3.6783 lineto + -0.8617 -3.6545 lineto + -0.9617 -3.6275 lineto + -1.0615 -3.5975 lineto + -1.1609 -3.5643 lineto + -1.26 -3.5279 lineto + -1.3586 -3.4883 lineto + -1.4566 -3.4455 lineto + -1.5539 -3.3994 lineto + -1.6503 -3.3501 lineto + -1.7459 -3.2976 lineto + -1.8405 -3.2418 lineto + -1.9339 -3.1827 lineto + -2.0261 -3.1204 lineto + -2.1169 -3.0548 lineto + -2.2063 -2.986 lineto + -2.2941 -2.914 lineto + -2.3802 -2.8387 lineto + -2.4645 -2.7602 lineto + -2.5468 -2.6786 lineto + -2.6271 -2.5938 lineto + -2.6664 -2.5503 lineto + -2.7052 -2.506 lineto + -2.7434 -2.4609 lineto + -2.781 -2.4151 lineto + -2.8179 -2.3685 lineto + -2.8543 -2.3211 lineto + -2.89 -2.2731 lineto + -2.9251 -2.2243 lineto + -2.9595 -2.1747 lineto + -2.9933 -2.1245 lineto + -3.0263 -2.0735 lineto + -3.0586 -2.0218 lineto + -3.0902 -1.9695 lineto + -3.121 -1.9165 lineto + -3.1511 -1.8628 lineto + -3.1804 -1.8084 lineto + -3.2089 -1.7533 lineto + -3.2366 -1.6977 lineto + -3.2635 -1.6414 lineto + -3.2895 -1.5844 lineto + -3.3147 -1.5269 lineto + -3.339 -1.4688 lineto + -3.3625 -1.4101 lineto + -3.385 -1.3508 lineto + -3.4067 -1.2909 lineto + -3.4274 -1.2305 lineto + -3.4471 -1.1696 lineto + -3.466 -1.1081 lineto + -3.4838 -1.0462 lineto + -3.5007 -0.9837 lineto + -3.5165 -0.9208 lineto + -3.5314 -0.8575 lineto + -3.5452 -0.7937 lineto + -3.558 -0.7294 lineto + -3.5698 -0.6648 lineto + -3.5805 -0.5998 lineto + -3.5901 -0.5343 lineto + -3.5986 -0.4686 lineto + -3.606 -0.4025 lineto + -3.6124 -0.3361 lineto + -3.6176 -0.2694 lineto + -3.6216 -0.2024 lineto + -3.6245 -0.1352 lineto + -3.6263 -0.0677 lineto + -3.6269 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, 1.1579208923731617E77) +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, 1.1579208923731617E77) +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, 0.0) +newpath + 0.0 -0.4794 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, -1.0) +newpath + 0.0 -0.4794 moveto + 0.0 -0.8415 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.0) +newpath + 0.0 -0.9093 moveto + 0.0 -0.9938 lineto + 0.0 -0.8415 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.1579208923731617E77) +newpath + 0.0 -0.9093 moveto + 0.0 0.9889 lineto + 0.0 -0.9625 lineto + 0.0 -0.9093 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, 0.0) +newpath + -0.4891 -1.4031 moveto + -0.392 -1.4547 lineto + -0.2963 -1.4932 lineto + -0.2028 -1.5199 lineto + -0.1123 -1.536 lineto + -0.0252 -1.5427 lineto + 0.0582 -1.5412 lineto + 0.1377 -1.5325 lineto + 0.2129 -1.5175 lineto + 0.284 -1.4973 lineto + 0.3509 -1.4727 lineto + 0.4137 -1.4443 lineto + 0.4725 -1.4129 lineto + 0.5273 -1.379 lineto + 0.5784 -1.3432 lineto + 0.6259 -1.306 lineto + 0.7109 -1.2287 lineto + 0.7837 -1.1499 lineto + 0.8457 -1.0714 lineto + 0.8984 -0.9948 lineto + 0.9429 -0.9209 lineto + 0.9806 -0.8505 lineto + 1.0122 -0.7839 lineto + 1.0389 -0.7214 lineto + 1.0612 -0.6629 lineto + 1.0882 -0.5827 lineto + 1.1145 -0.4893 lineto + 1.133 -0.4099 lineto + 1.1458 -0.3428 lineto + 1.161 -0.2391 lineto + 1.1684 -0.1663 lineto + 1.1736 -0.0803 lineto + 1.1752 -0.009 lineto + 1.1752 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, -1.1579208923731617E77) +newpath + -0.4891 -1.4031 moveto + -0.584 -1.3391 lineto + -0.6312 -1.3016 lineto + -0.678 -1.2604 lineto + -0.7243 -1.2152 lineto + -0.7698 -1.166 lineto + -0.8143 -1.1126 lineto + -0.8576 -1.055 lineto + -0.8995 -0.9931 lineto + -0.9396 -0.9269 lineto + -0.9777 -0.8563 lineto + -1.0134 -0.7813 lineto + -1.0465 -0.702 lineto + -1.0767 -0.6185 lineto + -1.1035 -0.5307 lineto + -1.1266 -0.439 lineto + -1.1457 -0.3434 lineto + -1.1604 -0.2442 lineto + -1.1702 -0.1417 lineto + -1.1749 -0.0362 lineto + -1.1739 0.0718 lineto + -1.167 0.1819 lineto + -1.1538 0.2934 lineto + -1.1338 0.4059 lineto + -1.1069 0.5185 lineto + -1.0819 0.6026 lineto + -1.0629 0.6583 lineto + -1.042 0.7136 lineto + -1.0192 0.7683 lineto + -0.9944 0.8224 lineto + -0.9677 0.8756 lineto + -0.939 0.928 lineto + -0.9082 0.9792 lineto + -0.8755 1.0293 lineto + -0.8409 1.078 lineto + -0.8042 1.1252 lineto + -0.7655 1.1708 lineto + -0.7249 1.2145 lineto + -0.6824 1.2563 lineto + -0.638 1.2959 lineto + -0.5917 1.3332 lineto + -0.5437 1.368 lineto + -0.4939 1.4002 lineto + -0.4424 1.4296 lineto + -0.3893 1.456 lineto + -0.3347 1.4792 lineto + -0.2787 1.4991 lineto + -0.2213 1.5155 lineto + -0.1628 1.5282 lineto + -0.1032 1.5371 lineto + -0.0426 1.5421 lineto + 0.0187 1.5429 lineto + 0.0807 1.5394 lineto + 0.1431 1.5316 lineto + 0.2058 1.5192 lineto + 0.2686 1.5022 lineto + 0.3313 1.4805 lineto + 0.3937 1.4539 lineto + 0.4555 1.4224 lineto + 0.5165 1.386 lineto + 0.5766 1.3446 lineto + 0.6353 1.2982 lineto + 0.6925 1.2468 lineto + 0.7478 1.1903 lineto + 0.8011 1.129 lineto + 0.852 1.0628 lineto + 0.9003 0.9918 lineto + 0.9456 0.9162 lineto + 0.9877 0.8362 lineto + 1.0263 0.7519 lineto + 1.061 0.6635 lineto + 1.0917 0.5714 lineto + 1.118 0.4757 lineto + 1.1396 0.3769 lineto + 1.1564 0.2753 lineto + 1.1679 0.1712 lineto + 1.1741 0.0653 lineto + 1.1748 -0.0422 lineto + 1.1696 -0.1507 lineto + 1.1584 -0.2596 lineto + 1.1412 -0.3684 lineto + 1.1178 -0.4765 lineto + 1.088 -0.5832 lineto + 1.052 -0.6879 lineto + 1.0096 -0.7899 lineto + 0.9609 -0.8884 lineto + 0.906 -0.9828 lineto + 0.845 -1.0724 lineto + 0.7782 -1.1563 lineto + 0.7057 -1.2339 lineto + 0.6279 -1.3044 lineto + 0.545 -1.3671 lineto + 0.4576 -1.4213 lineto + 0.366 -1.4663 lineto + 0.2709 -1.5015 lineto + 0.1727 -1.5263 lineto + 0.0722 -1.5402 lineto + -0.03 -1.5426 lineto + -0.1331 -1.5332 lineto + -0.2363 -1.5116 lineto + -0.3388 -1.4776 lineto + -0.4396 -1.4311 lineto + -0.4891 -1.4031 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, 0.0) +newpath + 0.4891 -1.4031 moveto + 0.392 -1.4547 lineto + 0.2963 -1.4932 lineto + 0.2028 -1.5199 lineto + 0.1123 -1.536 lineto + 0.0252 -1.5427 lineto + -0.0582 -1.5412 lineto + -0.1377 -1.5325 lineto + -0.2129 -1.5175 lineto + -0.284 -1.4973 lineto + -0.3509 -1.4727 lineto + -0.4137 -1.4443 lineto + -0.4725 -1.4129 lineto + -0.5273 -1.379 lineto + -0.5784 -1.3432 lineto + -0.6259 -1.306 lineto + -0.7109 -1.2287 lineto + -0.7837 -1.1499 lineto + -0.8457 -1.0714 lineto + -0.8984 -0.9948 lineto + -0.9429 -0.9209 lineto + -0.9806 -0.8505 lineto + -1.0122 -0.7839 lineto + -1.0389 -0.7214 lineto + -1.0612 -0.6629 lineto + -1.0882 -0.5827 lineto + -1.1145 -0.4893 lineto + -1.133 -0.4099 lineto + -1.1458 -0.3428 lineto + -1.161 -0.2391 lineto + -1.1684 -0.1663 lineto + -1.1736 -0.0803 lineto + -1.1752 -0.009 lineto + -1.1752 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, -1.1579208923731617E77) +newpath + 0.4891 -1.4031 moveto + 0.584 -1.3391 lineto + 0.6312 -1.3016 lineto + 0.678 -1.2604 lineto + 0.7243 -1.2152 lineto + 0.7698 -1.166 lineto + 0.8143 -1.1126 lineto + 0.8576 -1.055 lineto + 0.8995 -0.9931 lineto + 0.9396 -0.9269 lineto + 0.9777 -0.8563 lineto + 1.0134 -0.7813 lineto + 1.0465 -0.702 lineto + 1.0767 -0.6185 lineto + 1.1035 -0.5307 lineto + 1.1266 -0.439 lineto + 1.1457 -0.3434 lineto + 1.1604 -0.2442 lineto + 1.1702 -0.1417 lineto + 1.1749 -0.0362 lineto + 1.1739 0.0718 lineto + 1.167 0.1819 lineto + 1.1538 0.2934 lineto + 1.1338 0.4059 lineto + 1.1069 0.5185 lineto + 1.0819 0.6026 lineto + 1.0629 0.6583 lineto + 1.042 0.7136 lineto + 1.0192 0.7683 lineto + 0.9944 0.8224 lineto + 0.9677 0.8756 lineto + 0.939 0.928 lineto + 0.9082 0.9792 lineto + 0.8755 1.0293 lineto + 0.8409 1.078 lineto + 0.8042 1.1252 lineto + 0.7655 1.1708 lineto + 0.7249 1.2145 lineto + 0.6824 1.2563 lineto + 0.638 1.2959 lineto + 0.5917 1.3332 lineto + 0.5437 1.368 lineto + 0.4939 1.4002 lineto + 0.4424 1.4296 lineto + 0.3893 1.456 lineto + 0.3347 1.4792 lineto + 0.2787 1.4991 lineto + 0.2213 1.5155 lineto + 0.1628 1.5282 lineto + 0.1032 1.5371 lineto + 0.0426 1.5421 lineto + -0.0187 1.5429 lineto + -0.0807 1.5394 lineto + -0.1431 1.5316 lineto + -0.2058 1.5192 lineto + -0.2686 1.5022 lineto + -0.3313 1.4805 lineto + -0.3937 1.4539 lineto + -0.4555 1.4224 lineto + -0.5165 1.386 lineto + -0.5766 1.3446 lineto + -0.6353 1.2982 lineto + -0.6925 1.2468 lineto + -0.7478 1.1903 lineto + -0.8011 1.129 lineto + -0.852 1.0628 lineto + -0.9003 0.9918 lineto + -0.9456 0.9162 lineto + -0.9877 0.8362 lineto + -1.0263 0.7519 lineto + -1.061 0.6635 lineto + -1.0917 0.5714 lineto + -1.118 0.4757 lineto + -1.1396 0.3769 lineto + -1.1564 0.2753 lineto + -1.1679 0.1712 lineto + -1.1741 0.0653 lineto + -1.1748 -0.0422 lineto + -1.1696 -0.1507 lineto + -1.1584 -0.2596 lineto + -1.1412 -0.3684 lineto + -1.1178 -0.4765 lineto + -1.088 -0.5832 lineto + -1.052 -0.6879 lineto + -1.0096 -0.7899 lineto + -0.9609 -0.8884 lineto + -0.906 -0.9828 lineto + -0.845 -1.0724 lineto + -0.7782 -1.1563 lineto + -0.7057 -1.2339 lineto + -0.6279 -1.3044 lineto + -0.545 -1.3671 lineto + -0.4576 -1.4213 lineto + -0.366 -1.4663 lineto + -0.2709 -1.5015 lineto + -0.1727 -1.5263 lineto + -0.0722 -1.5402 lineto + 0.03 -1.5426 lineto + 0.1331 -1.5332 lineto + 0.2363 -1.5116 lineto + 0.3388 -1.4776 lineto + 0.4396 -1.4311 lineto + 0.4891 -1.4031 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, -1.1579208923731617E77) +newpath + 3.6269 0.0 moveto + 3.6263 -0.0665 lineto + 3.6244 -0.1385 lineto + 3.6217 -0.1999 lineto + 3.6162 -0.2885 lineto + 3.6083 -0.3796 lineto + 3.6001 -0.4558 lineto + 3.5883 -0.547 lineto + 3.5713 -0.6562 lineto + 3.5601 -0.7185 lineto + 3.5467 -0.7866 lineto + 3.5306 -0.8609 lineto + 3.5113 -0.9419 lineto + 3.4882 -1.0302 lineto + 3.4605 -1.1263 lineto + 3.4273 -1.2307 lineto + 3.4083 -1.2862 lineto + 3.3875 -1.344 lineto + 3.3648 -1.404 lineto + 3.34 -1.4665 lineto + 3.3128 -1.5314 lineto + 3.2831 -1.5987 lineto + 3.2507 -1.6685 lineto + 3.2152 -1.7409 lineto + 3.1765 -1.8158 lineto + 3.1342 -1.8932 lineto + 3.088 -1.9731 lineto + 3.0377 -2.0555 lineto + 2.9828 -2.1402 lineto + 2.923 -2.2273 lineto + 2.8578 -2.3165 lineto + 2.7869 -2.4077 lineto + 2.7491 -2.4539 lineto + 2.7098 -2.5006 lineto + 2.6687 -2.5477 lineto + 2.6259 -2.5951 lineto + 2.5813 -2.6428 lineto + 2.5348 -2.6908 lineto + 2.4864 -2.739 lineto + 2.436 -2.7873 lineto + 2.3835 -2.8357 lineto + 2.3289 -2.8841 lineto + 2.272 -2.9325 lineto + 2.2129 -2.9807 lineto + 2.1514 -3.0288 lineto + 2.0875 -3.0765 lineto + 2.0211 -3.1239 lineto + 1.9521 -3.1708 lineto + 1.8805 -3.217 lineto + 1.8061 -3.2625 lineto + 1.729 -3.3072 lineto + 1.649 -3.3508 lineto + 1.5661 -3.3934 lineto + 1.4802 -3.4346 lineto + 1.3913 -3.4744 lineto + 1.2993 -3.5125 lineto + 1.2042 -3.5488 lineto + 1.1058 -3.5831 lineto + 1.0043 -3.6151 lineto + 0.8995 -3.6447 lineto + 0.7914 -3.6715 lineto + 0.6801 -3.6955 lineto + 0.5655 -3.7162 lineto + 0.507 -3.7253 lineto + 0.4476 -3.7334 lineto + 0.3875 -3.7407 lineto + 0.3265 -3.7469 lineto + 0.2648 -3.7522 lineto + 0.2022 -3.7563 lineto + 0.1389 -3.7594 lineto + 0.0748 -3.7614 lineto + 0.01 -3.7622 lineto + -0.0557 -3.7618 lineto + -0.122 -3.7601 lineto + -0.1891 -3.7571 lineto + -0.2569 -3.7527 lineto + -0.3253 -3.747 lineto + -0.3945 -3.7399 lineto + -0.4643 -3.7312 lineto + -0.5347 -3.7211 lineto + -0.6057 -3.7094 lineto + -0.6773 -3.696 lineto + -0.7495 -3.681 lineto + -0.8222 -3.6643 lineto + -0.8953 -3.6458 lineto + -0.9689 -3.6255 lineto + -1.0429 -3.6033 lineto + -1.1173 -3.5792 lineto + -1.1921 -3.5532 lineto + -1.2671 -3.5251 lineto + -1.3423 -3.495 lineto + -1.4178 -3.4628 lineto + -1.4934 -3.4285 lineto + -1.5691 -3.3919 lineto + -1.6448 -3.3531 lineto + -1.7205 -3.312 lineto + -1.796 -3.2685 lineto + -1.8714 -3.2227 lineto + -1.9466 -3.1744 lineto + -2.0215 -3.1236 lineto + -2.0959 -3.0704 lineto + -2.17 -3.0145 lineto + -2.2434 -2.9561 lineto + -2.3162 -2.8951 lineto + -2.3883 -2.8313 lineto + -2.4596 -2.7649 lineto + -2.5299 -2.6957 lineto + -2.5992 -2.6238 lineto + -2.6674 -2.5491 lineto + -2.7343 -2.4717 lineto + -2.7999 -2.3913 lineto + -2.864 -2.3082 lineto + -2.9266 -2.2222 lineto + -2.9873 -2.1334 lineto + -3.0463 -2.0417 lineto + -3.1033 -1.9472 lineto + -3.1581 -1.8499 lineto + -3.2107 -1.7498 lineto + -3.2609 -1.6468 lineto + -3.3086 -1.5411 lineto + -3.3426 -1.4601 lineto + -3.3644 -1.4052 lineto + -3.3855 -1.3496 lineto + -3.4058 -1.2934 lineto + -3.4254 -1.2365 lineto + -3.4442 -1.179 lineto + -3.4622 -1.1208 lineto + -3.4794 -1.062 lineto + -3.4957 -1.0026 lineto + -3.5112 -0.9426 lineto + -3.5258 -0.8819 lineto + -3.5395 -0.8207 lineto + -3.5523 -0.7589 lineto + -3.5642 -0.6965 lineto + -3.5751 -0.6335 lineto + -3.585 -0.57 lineto + -3.5939 -0.506 lineto + -3.6018 -0.4415 lineto + -3.6087 -0.3764 lineto + -3.6145 -0.3109 lineto + -3.6192 -0.2449 lineto + -3.6228 -0.1784 lineto + -3.6253 -0.1115 lineto + -3.6266 -0.0441 lineto + -3.6268 0.0236 lineto + -3.6258 0.0917 lineto + -3.6236 0.1602 lineto + -3.6201 0.229 lineto + -3.6155 0.2981 lineto + -3.6095 0.3676 lineto + -3.6023 0.4373 lineto + -3.5937 0.5072 lineto + -3.5839 0.5774 lineto + -3.5727 0.6477 lineto + -3.5601 0.7183 lineto + -3.5462 0.789 lineto + -3.5309 0.8598 lineto + -3.5141 0.9306 lineto + -3.496 1.0016 lineto + -3.4764 1.0725 lineto + -3.4553 1.1435 lineto + -3.4327 1.2144 lineto + -3.4087 1.2852 lineto + -3.3831 1.3559 lineto + -3.356 1.4265 lineto + -3.3274 1.4969 lineto + -3.2972 1.5671 lineto + -3.2655 1.637 lineto + -3.2322 1.7067 lineto + -3.1973 1.776 lineto + -3.1609 1.8449 lineto + -3.1228 1.9134 lineto + -3.0831 1.9814 lineto + -3.0418 2.049 lineto + -2.9989 2.116 lineto + -2.9543 2.1824 lineto + -2.9081 2.2481 lineto + -2.8603 2.3132 lineto + -2.8108 2.3776 lineto + -2.7597 2.4412 lineto + -2.7069 2.5039 lineto + -2.6525 2.5658 lineto + -2.5965 2.6268 lineto + -2.5388 2.6867 lineto + -2.4795 2.7457 lineto + -2.4186 2.8036 lineto + -2.356 2.8603 lineto + -2.2919 2.9158 lineto + -2.2261 2.9701 lineto + -2.1588 3.0231 lineto + -2.0899 3.0748 lineto + -2.0195 3.125 lineto + -1.9475 3.1738 lineto + -1.874 3.2211 lineto + -1.799 3.2668 lineto + -1.7225 3.3108 lineto + -1.6446 3.3532 lineto + -1.5652 3.3938 lineto + -1.4845 3.4326 lineto + -1.4023 3.4696 lineto + -1.3189 3.5046 lineto + -1.2341 3.5377 lineto + -1.1481 3.5687 lineto + -1.0609 3.5977 lineto + -0.9725 3.6244 lineto + -0.8829 3.649 lineto + -0.7922 3.6713 lineto + -0.7005 3.6914 lineto + -0.6078 3.709 lineto + -0.5142 3.7242 lineto + -0.4196 3.7369 lineto + -0.3242 3.7471 lineto + -0.2281 3.7547 lineto + -0.1312 3.7597 lineto + -0.0337 3.762 lineto + 0.0645 3.7616 lineto + 0.1631 3.7584 lineto + 0.2622 3.7524 lineto + 0.3616 3.7434 lineto + 0.4614 3.7316 lineto + 0.5613 3.7169 lineto + 0.6614 3.6991 lineto + 0.7616 3.6783 lineto + 0.8617 3.6545 lineto + 0.9617 3.6275 lineto + 1.0615 3.5975 lineto + 1.1609 3.5643 lineto + 1.26 3.5279 lineto + 1.3586 3.4883 lineto + 1.4566 3.4455 lineto + 1.5539 3.3994 lineto + 1.6503 3.3501 lineto + 1.7459 3.2976 lineto + 1.8405 3.2418 lineto + 1.9339 3.1827 lineto + 2.0261 3.1204 lineto + 2.1169 3.0548 lineto + 2.2063 2.986 lineto + 2.2941 2.914 lineto + 2.3802 2.8387 lineto + 2.4645 2.7602 lineto + 2.5468 2.6786 lineto + 2.6271 2.5938 lineto + 2.6664 2.5503 lineto + 2.7052 2.506 lineto + 2.7434 2.4609 lineto + 2.781 2.4151 lineto + 2.8179 2.3685 lineto + 2.8543 2.3211 lineto + 2.89 2.2731 lineto + 2.9251 2.2243 lineto + 2.9595 2.1747 lineto + 2.9933 2.1245 lineto + 3.0263 2.0735 lineto + 3.0586 2.0218 lineto + 3.0902 1.9695 lineto + 3.121 1.9165 lineto + 3.1511 1.8628 lineto + 3.1804 1.8084 lineto + 3.2089 1.7533 lineto + 3.2366 1.6977 lineto + 3.2635 1.6414 lineto + 3.2895 1.5844 lineto + 3.3147 1.5269 lineto + 3.339 1.4688 lineto + 3.3625 1.4101 lineto + 3.385 1.3508 lineto + 3.4067 1.2909 lineto + 3.4274 1.2305 lineto + 3.4471 1.1696 lineto + 3.466 1.1081 lineto + 3.4838 1.0462 lineto + 3.5007 0.9837 lineto + 3.5165 0.9208 lineto + 3.5314 0.8575 lineto + 3.5452 0.7937 lineto + 3.558 0.7294 lineto + 3.5698 0.6648 lineto + 3.5805 0.5998 lineto + 3.5901 0.5343 lineto + 3.5986 0.4686 lineto + 3.606 0.4025 lineto + 3.6124 0.3361 lineto + 3.6176 0.2694 lineto + 3.6216 0.2024 lineto + 3.6245 0.1352 lineto + 3.6263 0.0677 lineto + 3.6269 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, -1.1579208923731617E77) +newpath + -3.6269 0.0 moveto + -3.6263 -0.0665 lineto + -3.6244 -0.1385 lineto + -3.6217 -0.1999 lineto + -3.6162 -0.2885 lineto + -3.6083 -0.3796 lineto + -3.6001 -0.4558 lineto + -3.5883 -0.547 lineto + -3.5713 -0.6562 lineto + -3.5601 -0.7185 lineto + -3.5467 -0.7866 lineto + -3.5306 -0.8609 lineto + -3.5113 -0.9419 lineto + -3.4882 -1.0302 lineto + -3.4605 -1.1263 lineto + -3.4273 -1.2307 lineto + -3.4083 -1.2862 lineto + -3.3875 -1.344 lineto + -3.3648 -1.404 lineto + -3.34 -1.4665 lineto + -3.3128 -1.5314 lineto + -3.2831 -1.5987 lineto + -3.2507 -1.6685 lineto + -3.2152 -1.7409 lineto + -3.1765 -1.8158 lineto + -3.1342 -1.8932 lineto + -3.088 -1.9731 lineto + -3.0377 -2.0555 lineto + -2.9828 -2.1402 lineto + -2.923 -2.2273 lineto + -2.8578 -2.3165 lineto + -2.7869 -2.4077 lineto + -2.7491 -2.4539 lineto + -2.7098 -2.5006 lineto + -2.6687 -2.5477 lineto + -2.6259 -2.5951 lineto + -2.5813 -2.6428 lineto + -2.5348 -2.6908 lineto + -2.4864 -2.739 lineto + -2.436 -2.7873 lineto + -2.3835 -2.8357 lineto + -2.3289 -2.8841 lineto + -2.272 -2.9325 lineto + -2.2129 -2.9807 lineto + -2.1514 -3.0288 lineto + -2.0875 -3.0765 lineto + -2.0211 -3.1239 lineto + -1.9521 -3.1708 lineto + -1.8805 -3.217 lineto + -1.8061 -3.2625 lineto + -1.729 -3.3072 lineto + -1.649 -3.3508 lineto + -1.5661 -3.3934 lineto + -1.4802 -3.4346 lineto + -1.3913 -3.4744 lineto + -1.2993 -3.5125 lineto + -1.2042 -3.5488 lineto + -1.1058 -3.5831 lineto + -1.0043 -3.6151 lineto + -0.8995 -3.6447 lineto + -0.7914 -3.6715 lineto + -0.6801 -3.6955 lineto + -0.5655 -3.7162 lineto + -0.507 -3.7253 lineto + -0.4476 -3.7334 lineto + -0.3875 -3.7407 lineto + -0.3265 -3.7469 lineto + -0.2648 -3.7522 lineto + -0.2022 -3.7563 lineto + -0.1389 -3.7594 lineto + -0.0748 -3.7614 lineto + -0.01 -3.7622 lineto + 0.0557 -3.7618 lineto + 0.122 -3.7601 lineto + 0.1891 -3.7571 lineto + 0.2569 -3.7527 lineto + 0.3253 -3.747 lineto + 0.3945 -3.7399 lineto + 0.4643 -3.7312 lineto + 0.5347 -3.7211 lineto + 0.6057 -3.7094 lineto + 0.6773 -3.696 lineto + 0.7495 -3.681 lineto + 0.8222 -3.6643 lineto + 0.8953 -3.6458 lineto + 0.9689 -3.6255 lineto + 1.0429 -3.6033 lineto + 1.1173 -3.5792 lineto + 1.1921 -3.5532 lineto + 1.2671 -3.5251 lineto + 1.3423 -3.495 lineto + 1.4178 -3.4628 lineto + 1.4934 -3.4285 lineto + 1.5691 -3.3919 lineto + 1.6448 -3.3531 lineto + 1.7205 -3.312 lineto + 1.796 -3.2685 lineto + 1.8714 -3.2227 lineto + 1.9466 -3.1744 lineto + 2.0215 -3.1236 lineto + 2.0959 -3.0704 lineto + 2.17 -3.0145 lineto + 2.2434 -2.9561 lineto + 2.3162 -2.8951 lineto + 2.3883 -2.8313 lineto + 2.4596 -2.7649 lineto + 2.5299 -2.6957 lineto + 2.5992 -2.6238 lineto + 2.6674 -2.5491 lineto + 2.7343 -2.4717 lineto + 2.7999 -2.3913 lineto + 2.864 -2.3082 lineto + 2.9266 -2.2222 lineto + 2.9873 -2.1334 lineto + 3.0463 -2.0417 lineto + 3.1033 -1.9472 lineto + 3.1581 -1.8499 lineto + 3.2107 -1.7498 lineto + 3.2609 -1.6468 lineto + 3.3086 -1.5411 lineto + 3.3426 -1.4601 lineto + 3.3644 -1.4052 lineto + 3.3855 -1.3496 lineto + 3.4058 -1.2934 lineto + 3.4254 -1.2365 lineto + 3.4442 -1.179 lineto + 3.4622 -1.1208 lineto + 3.4794 -1.062 lineto + 3.4957 -1.0026 lineto + 3.5112 -0.9426 lineto + 3.5258 -0.8819 lineto + 3.5395 -0.8207 lineto + 3.5523 -0.7589 lineto + 3.5642 -0.6965 lineto + 3.5751 -0.6335 lineto + 3.585 -0.57 lineto + 3.5939 -0.506 lineto + 3.6018 -0.4415 lineto + 3.6087 -0.3764 lineto + 3.6145 -0.3109 lineto + 3.6192 -0.2449 lineto + 3.6228 -0.1784 lineto + 3.6253 -0.1115 lineto + 3.6266 -0.0441 lineto + 3.6268 0.0236 lineto + 3.6258 0.0917 lineto + 3.6236 0.1602 lineto + 3.6201 0.229 lineto + 3.6155 0.2981 lineto + 3.6095 0.3676 lineto + 3.6023 0.4373 lineto + 3.5937 0.5072 lineto + 3.5839 0.5774 lineto + 3.5727 0.6477 lineto + 3.5601 0.7183 lineto + 3.5462 0.789 lineto + 3.5309 0.8598 lineto + 3.5141 0.9306 lineto + 3.496 1.0016 lineto + 3.4764 1.0725 lineto + 3.4553 1.1435 lineto + 3.4327 1.2144 lineto + 3.4087 1.2852 lineto + 3.3831 1.3559 lineto + 3.356 1.4265 lineto + 3.3274 1.4969 lineto + 3.2972 1.5671 lineto + 3.2655 1.637 lineto + 3.2322 1.7067 lineto + 3.1973 1.776 lineto + 3.1609 1.8449 lineto + 3.1228 1.9134 lineto + 3.0831 1.9814 lineto + 3.0418 2.049 lineto + 2.9989 2.116 lineto + 2.9543 2.1824 lineto + 2.9081 2.2481 lineto + 2.8603 2.3132 lineto + 2.8108 2.3776 lineto + 2.7597 2.4412 lineto + 2.7069 2.5039 lineto + 2.6525 2.5658 lineto + 2.5965 2.6268 lineto + 2.5388 2.6867 lineto + 2.4795 2.7457 lineto + 2.4186 2.8036 lineto + 2.356 2.8603 lineto + 2.2919 2.9158 lineto + 2.2261 2.9701 lineto + 2.1588 3.0231 lineto + 2.0899 3.0748 lineto + 2.0195 3.125 lineto + 1.9475 3.1738 lineto + 1.874 3.2211 lineto + 1.799 3.2668 lineto + 1.7225 3.3108 lineto + 1.6446 3.3532 lineto + 1.5652 3.3938 lineto + 1.4845 3.4326 lineto + 1.4023 3.4696 lineto + 1.3189 3.5046 lineto + 1.2341 3.5377 lineto + 1.1481 3.5687 lineto + 1.0609 3.5977 lineto + 0.9725 3.6244 lineto + 0.8829 3.649 lineto + 0.7922 3.6713 lineto + 0.7005 3.6914 lineto + 0.6078 3.709 lineto + 0.5142 3.7242 lineto + 0.4196 3.7369 lineto + 0.3242 3.7471 lineto + 0.2281 3.7547 lineto + 0.1312 3.7597 lineto + 0.0337 3.762 lineto + -0.0645 3.7616 lineto + -0.1631 3.7584 lineto + -0.2622 3.7524 lineto + -0.3616 3.7434 lineto + -0.4614 3.7316 lineto + -0.5613 3.7169 lineto + -0.6614 3.6991 lineto + -0.7616 3.6783 lineto + -0.8617 3.6545 lineto + -0.9617 3.6275 lineto + -1.0615 3.5975 lineto + -1.1609 3.5643 lineto + -1.26 3.5279 lineto + -1.3586 3.4883 lineto + -1.4566 3.4455 lineto + -1.5539 3.3994 lineto + -1.6503 3.3501 lineto + -1.7459 3.2976 lineto + -1.8405 3.2418 lineto + -1.9339 3.1827 lineto + -2.0261 3.1204 lineto + -2.1169 3.0548 lineto + -2.2063 2.986 lineto + -2.2941 2.914 lineto + -2.3802 2.8387 lineto + -2.4645 2.7602 lineto + -2.5468 2.6786 lineto + -2.6271 2.5938 lineto + -2.6664 2.5503 lineto + -2.7052 2.506 lineto + -2.7434 2.4609 lineto + -2.781 2.4151 lineto + -2.8179 2.3685 lineto + -2.8543 2.3211 lineto + -2.89 2.2731 lineto + -2.9251 2.2243 lineto + -2.9595 2.1747 lineto + -2.9933 2.1245 lineto + -3.0263 2.0735 lineto + -3.0586 2.0218 lineto + -3.0902 1.9695 lineto + -3.121 1.9165 lineto + -3.1511 1.8628 lineto + -3.1804 1.8084 lineto + -3.2089 1.7533 lineto + -3.2366 1.6977 lineto + -3.2635 1.6414 lineto + -3.2895 1.5844 lineto + -3.3147 1.5269 lineto + -3.339 1.4688 lineto + -3.3625 1.4101 lineto + -3.385 1.3508 lineto + -3.4067 1.2909 lineto + -3.4274 1.2305 lineto + -3.4471 1.1696 lineto + -3.466 1.1081 lineto + -3.4838 1.0462 lineto + -3.5007 0.9837 lineto + -3.5165 0.9208 lineto + -3.5314 0.8575 lineto + -3.5452 0.7937 lineto + -3.558 0.7294 lineto + -3.5698 0.6648 lineto + -3.5805 0.5998 lineto + -3.5901 0.5343 lineto + -3.5986 0.4686 lineto + -3.606 0.4025 lineto + -3.6124 0.3361 lineto + -3.6176 0.2694 lineto + -3.6216 0.2024 lineto + -3.6245 0.1352 lineto + -3.6263 0.0677 lineto + -3.6269 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, -1.1579208923731617E77) +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, -1.1579208923731617E77) +0.02 setlinewidth 1 setlinecap stroke +% Real axis +newpath -5 0 moveto 5 0 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 1.0 0.12 moveto 1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.0 0.12 moveto -1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 2.0 0.12 moveto 2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -2.0 0.12 moveto -2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.0 0.12 moveto 3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.0 0.12 moveto -3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 4.0 0.12 moveto 4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -4.0 0.12 moveto -4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 1.5707963267948966 0.09 moveto 1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.5707963267948966 0.09 moveto -1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.141592653589793 0.09 moveto 3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.141592653589793 0.09 moveto -3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +% Imaginary axis +newpath 0 -5 moveto 0 5 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 0.12 1.0 moveto -0.12 1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -1.0 moveto -0.12 -1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 2.0 moveto -0.12 2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -2.0 moveto -0.12 -2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 3.0 moveto -0.12 3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -3.0 moveto -0.12 -3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 4.0 moveto -0.12 4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -4.0 moveto -0.12 -4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 1.5707963267948966 moveto -0.09 1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -1.5707963267948966 moveto -0.09 -1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 3.141592653589793 moveto -0.09 3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -3.141592653589793 moveto -0.09 -3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +% End of PostScript file for plot of function SINH +%%EndDocument + @endspecial 217 x(It)g(w)o(ould)i(seem)f(that)g(the)g(graph)g(of)g +Fj(sinh)e FA(is)i(merely)h(that)e(of)h Fj(sin)e FA(rotated)i(90)g +(degrees.)23 b(If)0 2028 y(that)12 b(w)o(ere)f(so,)h(then)g(w)o(e)f(w)o +(ould)h(ha)o(v)o(e)g(sinh)c Fq(z)15 b FA(=)c Fq(i)f FA(sin)d +Fq(z)e FA(.)16 b(Careful)c(insp)q(ection)i(of)d(the)h(shading,)0 +2074 y(ho)o(w)o(ev)o(er,)19 b(rev)o(eals)f(that)g(this)h(is)f(not)g +(quite)g(the)g(case;)i(in)e(b)q(oth)g(graphs)h(the)f(ligh)o(test)h(and) +0 2120 y(dark)o(est)11 b(shades,)h(whic)o(h)f(initiall)q(y)i(are)e +(adjacen)o(t)g(to)f(the)h(p)q(ositiv)o(e)i(real)e(axis,)g(remain)h +(adjacen)o(t)0 2165 y(to)k(the)g(p)q(ositiv)o(e)i(real)f(axis)g(in)g(b) +q(oth)f(cases.)27 b(T)m(o)15 b(deriv)o(e)j(the)e(graph)h(of)e +Fj(sinh)g FA(from)g Fj(sin)g FA(w)o(e)0 2211 y(m)o(ust)e(therefore)g +(\014rst)g(rotate)g(the)g(complex)h(plane)g(b)o(y)f Ff(\000)p +FA(90)g(degrees,)g(then)h(apply)g Fj(sin)p FA(,)d(then)0 +2257 y(rotate)17 b(the)f(result)h(b)o(y)g(90)g(degrees.)27 +b(In)17 b(other)f(w)o(ords,)h(sinh)8 b Fq(z)21 b FA(=)16 +b Fq(i)10 b FA(sin)q(\()p Ff(\000)p Fq(i)s FA(\))p Fq(z)5 +b FA(;)17 b(consisten)o(tly)0 2302 y(replacing)e Fq(z)i +FA(with)d Fq(iz)j FA(in)d(this)g(form)o(ula)f(yields)i(the)e(familiar)i +(iden)o(tit)o(y)g(sinh)8 b Fq(iz)15 b FA(=)10 b Fq(i)g +FA(sin)e Fq(z)d FA(.)p 0 2332 V -33 2344 a @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 354 378 +354 377 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(354)77 b(COMMON)13 +b(LISP)p 0 255 1395 2 v 0 322 a Fm(Figure)h(12-14:)j +FA(Illustration)f(of)d(the)g(Range)h(of)f(the)g(Hyp)q(erb)q(olic)i(Arc) +e(Sine)h(F)m(unction)0 1766 y @beginspecial @setspecial +%%BeginDocument: asinh-plot.ps +% PostScript file for plot of function ASINH +% Plot is to fit in a region 4.666666666666667 inches square +% showing axes extending 4.1 units from the origin. + +40.97560975609756 40.97560975609756 scale +4.1 4.1 translate +newpath + -4.1 -4.1 moveto + 4.1 -4.1 lineto + 4.1 4.1 lineto + -4.1 4.1 lineto + closepath +clip +% Moby grid for function ASINH +% Annulus 0.25 0.5 4 0.97 0.45 +% Sector from 4.7124 to 6.2832 (quadrant 3) +newpath + 0.0 -0.2527 moveto + 0.0 -0.3844 lineto + %middle radial + 0.0 -0.3844 lineto + 0.0 -0.5236 lineto + %end radial + 0.0 -0.5236 lineto + 0.1053 -0.5106 lineto + 0.2056 -0.4725 lineto + 0.2938 -0.4131 lineto + 0.3664 -0.3374 lineto + %middle circumferential + 0.3664 -0.3374 lineto + 0.4156 -0.2621 lineto + 0.4514 -0.1798 lineto + 0.4736 -0.092 lineto + 0.4812 0.0 lineto + %end circumferential + 0.4812 0.0 lineto + 0.3667 0.0 lineto + %middle radial + 0.3667 0.0 lineto + 0.2475 0.0 lineto + %end radial + 0.2475 0.0 lineto + 0.2288 -0.0963 lineto + 0.1786 -0.1749 lineto + %middle circumferential + 0.1786 -0.1749 lineto + 0.0946 -0.2335 lineto + 0.0 -0.2527 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 3.1416 to 4.7124 (quadrant 2) +newpath + -0.2475 0.0 moveto + -0.3667 0.0 lineto + %middle radial + -0.3667 0.0 lineto + -0.4812 0.0 lineto + %end radial + -0.4812 0.0 lineto + -0.4754 -0.0805 lineto + -0.4564 -0.1646 lineto + -0.4213 -0.251 lineto + -0.3664 -0.3374 lineto + %middle circumferential + -0.3664 -0.3374 lineto + -0.3035 -0.4047 lineto + -0.2213 -0.4639 lineto + -0.1189 -0.507 lineto + -0.061 -0.5193 lineto + 0.0 -0.5236 lineto + %end circumferential + 0.0 -0.5236 lineto + 0.0 -0.3844 lineto + %middle radial + 0.0 -0.3844 lineto + 0.0 -0.2527 lineto + %end radial + 0.0 -0.2527 lineto + -0.1023 -0.2301 lineto + -0.1786 -0.1749 lineto + %middle circumferential + -0.1786 -0.1749 lineto + -0.2318 -0.0883 lineto + -0.2475 0.0 lineto + %end circumferential + closepath +currentgray 0.6233333333333334 setgray fill setgray +% Sector from 1.5708 to 3.1416 (quadrant 1) +newpath + 0.0 0.2527 moveto + 0.0 0.3844 lineto + %middle radial + 0.0 0.3844 lineto + 0.0 0.5236 lineto + %end radial + 0.0 0.5236 lineto + -0.0956 0.513 lineto + -0.1935 0.4786 lineto + -0.2861 0.4195 lineto + -0.3664 0.3374 lineto + %middle circumferential + -0.3664 0.3374 lineto + -0.4131 0.2667 lineto + -0.4491 0.1864 lineto + -0.4727 0.0972 lineto + -0.4812 0.0 lineto + %end circumferential + -0.4812 0.0 lineto + -0.3667 0.0 lineto + %middle radial + -0.3667 0.0 lineto + -0.2475 0.0 lineto + %end radial + -0.2475 0.0 lineto + -0.2274 0.0997 lineto + -0.1786 0.1749 lineto + %middle circumferential + -0.1786 0.1749 lineto + -0.0888 0.2358 lineto + 0.0 0.2527 lineto + %end circumferential + closepath +currentgray 0.7966666666666668 setgray fill setgray +% Sector from 0.0 to 1.5708 (quadrant 0) +newpath + 0.2475 0.0 moveto + 0.3667 0.0 lineto + %middle radial + 0.3667 0.0 lineto + 0.4812 0.0 lineto + %end radial + 0.4812 0.0 lineto + 0.4798 0.0398 lineto + 0.4687 0.1178 lineto + 0.4436 0.2014 lineto + 0.4023 0.2854 lineto + 0.3664 0.3374 lineto + %middle circumferential + 0.3664 0.3374 lineto + 0.3165 0.3927 lineto + 0.2441 0.45 lineto + 0.1698 0.4893 lineto + 0.1088 0.5098 lineto + 0.0384 0.5219 lineto + 0.0 0.5236 lineto + %end circumferential + 0.0 0.5236 lineto + 0.0 0.3844 lineto + %middle radial + 0.0 0.3844 lineto + 0.0 0.2527 lineto + %end radial + 0.0 0.2527 lineto + 0.0335 0.2503 lineto + 0.1136 0.2244 lineto + 0.1786 0.1749 lineto + %middle circumferential + 0.1786 0.1749 lineto + 0.2137 0.1273 lineto + 0.2436 0.0444 lineto + 0.2475 0.0 lineto + %end circumferential + closepath +currentgray 0.9700000000000001 setgray fill setgray +% Annulus 0.75 1.0 8 0.97 0.45 +% Sector from 5.4978 to 6.2832 (quadrant 3) +newpath + 0.5652 -0.4731 moveto + 0.6136 -0.5003 lineto + 0.6657 -0.5272 lineto + %middle radial + 0.6657 -0.5272 lineto + 0.7643 -0.5719 lineto + %end radial + 0.7643 -0.5719 lineto + 0.7926 -0.4985 lineto + 0.8169 -0.4255 lineto + 0.8372 -0.3526 lineto + 0.8537 -0.2795 lineto + %middle circumferential + 0.8537 -0.2795 lineto + 0.8656 -0.2107 lineto + 0.8743 -0.1413 lineto + 0.8796 -0.0711 lineto + 0.8814 0.0 lineto + %end circumferential + 0.8814 0.0 lineto + 0.7902 0.0 lineto + %middle radial + 0.7902 0.0 lineto + 0.6931 0.0 lineto + %end radial + 0.6931 0.0 lineto + 0.6912 -0.0603 lineto + 0.6855 -0.1198 lineto + 0.676 -0.1783 lineto + 0.663 -0.2359 lineto + %middle circumferential + 0.663 -0.2359 lineto + 0.645 -0.2966 lineto + 0.6228 -0.3564 lineto + 0.5963 -0.4152 lineto + 0.5652 -0.4731 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 4.7124 to 5.4978 (quadrant 3) +newpath + 0.0 -0.8481 moveto + 0.0 -1.0654 lineto + %middle radial + 0.0 -1.0654 lineto + 0.0 -1.5708 lineto + %end radial + 0.0 -1.5708 lineto + 0.0543 -1.5165 lineto + 0.1084 -1.4619 lineto + 0.1531 -1.4165 lineto + 0.216 -1.3514 lineto + 0.2638 -1.3007 lineto + 0.3037 -1.2573 lineto + 0.3698 -1.1829 lineto + 0.4244 -1.1182 lineto + 0.4716 -1.0595 lineto + 0.5133 -1.0049 lineto + 0.5507 -0.9533 lineto + 0.5847 -0.9038 lineto + %middle circumferential + 0.5847 -0.9038 lineto + 0.6402 -0.8164 lineto + 0.6878 -0.7328 lineto + 0.7289 -0.6515 lineto + 0.7643 -0.5719 lineto + %end circumferential + 0.7643 -0.5719 lineto + 0.6657 -0.5272 lineto + %middle radial + 0.6657 -0.5272 lineto + 0.6136 -0.5003 lineto + 0.5652 -0.4731 lineto + %end radial + 0.5652 -0.4731 lineto + 0.5263 -0.534 lineto + 0.4811 -0.5934 lineto + 0.4289 -0.6508 lineto + 0.3686 -0.7054 lineto + %middle circumferential + 0.3686 -0.7054 lineto + 0.2931 -0.7595 lineto + 0.2055 -0.8051 lineto + 0.1063 -0.8367 lineto + 0.0 -0.8481 lineto + %end circumferential + closepath +currentgray 0.5242857142857142 setgray fill setgray +% Sector from 3.927 to 4.7124 (quadrant 2) +newpath + -0.5652 -0.4731 moveto + -0.6136 -0.5003 lineto + -0.6657 -0.5272 lineto + %middle radial + -0.6657 -0.5272 lineto + -0.7643 -0.5719 lineto + %end radial + -0.7643 -0.5719 lineto + -0.7312 -0.6465 lineto + -0.6915 -0.7258 lineto + -0.6435 -0.8109 lineto + -0.5847 -0.9038 lineto + %middle circumferential + -0.5847 -0.9038 lineto + -0.5362 -0.9737 lineto + -0.4989 -1.0241 lineto + -0.4564 -1.0787 lineto + -0.4071 -1.139 lineto + -0.348 -1.2078 lineto + -0.2936 -1.2683 lineto + -0.2496 -1.3159 lineto + -0.1944 -1.3739 lineto + -0.1381 -1.4319 lineto + -0.0799 -1.4907 lineto + 0.0 -1.5708 lineto + %end circumferential + 0.0 -1.5708 lineto + 0.0 -1.0654 lineto + %middle radial + 0.0 -1.0654 lineto + 0.0 -0.8481 lineto + %end radial + 0.0 -0.8481 lineto + -0.1129 -0.8352 lineto + -0.2133 -0.8017 lineto + -0.298 -0.7564 lineto + -0.3686 -0.7054 lineto + %middle circumferential + -0.3686 -0.7054 lineto + -0.4325 -0.6472 lineto + -0.4852 -0.5884 lineto + -0.5289 -0.5302 lineto + -0.5652 -0.4731 lineto + %end circumferential + closepath +currentgray 0.5985714285714285 setgray fill setgray +% Sector from 3.1416 to 3.927 (quadrant 2) +newpath + -0.6931 0.0 moveto + -0.7902 0.0 lineto + %middle radial + -0.7902 0.0 lineto + -0.8814 0.0 lineto + %end radial + -0.8814 0.0 lineto + -0.8798 -0.0664 lineto + -0.8749 -0.135 lineto + -0.8664 -0.2059 lineto + -0.8537 -0.2795 lineto + %middle circumferential + -0.8537 -0.2795 lineto + -0.8384 -0.348 lineto + -0.8188 -0.4192 lineto + -0.7944 -0.4936 lineto + -0.7643 -0.5719 lineto + %end circumferential + -0.7643 -0.5719 lineto + -0.6657 -0.5272 lineto + %middle radial + -0.6657 -0.5272 lineto + -0.6136 -0.5003 lineto + -0.5652 -0.4731 lineto + %end radial + -0.5652 -0.4731 lineto + -0.5982 -0.4113 lineto + -0.625 -0.3512 lineto + -0.6463 -0.2928 lineto + -0.663 -0.2359 lineto + %middle circumferential + -0.663 -0.2359 lineto + -0.6768 -0.1742 lineto + -0.6861 -0.1144 lineto + -0.6931 0.0 lineto + %end circumferential + closepath +currentgray 0.6728571428571428 setgray fill setgray +% Sector from 2.3562 to 3.1416 (quadrant 1) +newpath + -0.5652 0.4731 moveto + -0.6136 0.5003 lineto + -0.6657 0.5272 lineto + %middle radial + -0.6657 0.5272 lineto + -0.7643 0.5719 lineto + %end radial + -0.7643 0.5719 lineto + -0.7918 0.5008 lineto + -0.8159 0.4286 lineto + -0.8366 0.355 lineto + -0.8537 0.2795 lineto + %middle circumferential + -0.8537 0.2795 lineto + -0.8654 0.2125 lineto + -0.8741 0.1437 lineto + -0.8795 0.073 lineto + -0.8814 0.0 lineto + %end circumferential + -0.8814 0.0 lineto + -0.7902 0.0 lineto + %middle radial + -0.7902 0.0 lineto + -0.6931 0.0 lineto + %end radial + -0.6931 0.0 lineto + -0.6926 0.0312 lineto + -0.6886 0.0921 lineto + -0.6809 0.151 lineto + -0.663 0.2359 lineto + %middle circumferential + -0.663 0.2359 lineto + -0.6444 0.2985 lineto + -0.6218 0.3589 lineto + -0.5954 0.4171 lineto + -0.5652 0.4731 lineto + %end circumferential + closepath +currentgray 0.7471428571428572 setgray fill setgray +% Sector from 1.5708 to 2.3562 (quadrant 1) +newpath + 0.0 0.8481 moveto + 0.0 1.0654 lineto + %middle radial + 0.0 1.0654 lineto + 0.0 1.5708 lineto + %end radial + 0.0 1.5708 lineto + -0.074 1.4967 lineto + -0.1282 1.4419 lineto + -0.1812 1.3876 lineto + -0.2339 1.3325 lineto + -0.2957 1.2661 lineto + -0.3617 1.1921 lineto + -0.4172 1.127 lineto + -0.4656 1.0672 lineto + -0.509 1.0107 lineto + -0.5485 0.9565 lineto + -0.5847 0.9038 lineto + %middle circumferential + -0.5847 0.9038 lineto + -0.6381 0.8199 lineto + -0.6854 0.7372 lineto + -0.7273 0.6548 lineto + -0.7643 0.5719 lineto + %end circumferential + -0.7643 0.5719 lineto + -0.6657 0.5272 lineto + %middle radial + -0.6657 0.5272 lineto + -0.6136 0.5003 lineto + -0.5652 0.4731 lineto + %end radial + -0.5652 0.4731 lineto + -0.5245 0.5364 lineto + -0.4784 0.5965 lineto + -0.4266 0.6531 lineto + -0.3686 0.7054 lineto + %middle circumferential + -0.3686 0.7054 lineto + -0.2887 0.7622 lineto + -0.1988 0.8079 lineto + -0.1007 0.8378 lineto + 0.0 0.8481 lineto + %end circumferential + closepath +currentgray 0.8214285714285714 setgray fill setgray +% Sector from 0.7854 to 1.5708 (quadrant 0) +newpath + 0.5652 0.4731 moveto + 0.6136 0.5003 lineto + 0.6657 0.5272 lineto + %middle radial + 0.6657 0.5272 lineto + 0.7643 0.5719 lineto + %end radial + 0.7643 0.5719 lineto + 0.7507 0.6038 lineto + 0.7179 0.6742 lineto + 0.6756 0.7551 lineto + 0.6197 0.8498 lineto + 0.5847 0.9038 lineto + %middle circumferential + 0.5847 0.9038 lineto + 0.5236 0.991 lineto + 0.4862 1.0407 lineto + 0.4425 1.0961 lineto + 0.39 1.1594 lineto + 0.3241 1.2347 lineto + 0.2832 1.2797 lineto + 0.2334 1.3331 lineto + 0.1665 1.4027 lineto + 0.1183 1.452 lineto + 0.0593 1.5114 lineto + 0.0 1.5708 lineto + %end circumferential + 0.0 1.5708 lineto + 0.0 1.0654 lineto + %middle radial + 0.0 1.0654 lineto + 0.0 0.8481 lineto + %end radial + 0.0 0.8481 lineto + 0.0626 0.8441 lineto + 0.121 0.8332 lineto + 0.2225 0.7976 lineto + 0.3038 0.7527 lineto + 0.3686 0.7054 lineto + %middle circumferential + 0.3686 0.7054 lineto + 0.4392 0.6402 lineto + 0.4925 0.5793 lineto + 0.5333 0.5236 lineto + 0.5652 0.4731 lineto + %end circumferential + closepath +currentgray 0.8957142857142858 setgray fill setgray +% Sector from 0.0 to 0.7854 (quadrant 0) +newpath + 0.6931 0.0 moveto + 0.7902 0.0 lineto + %middle radial + 0.7902 0.0 lineto + 0.8814 0.0 lineto + %end radial + 0.8814 0.0 lineto + 0.8814 9.0E-4 lineto + 0.8799 0.0654 lineto + 0.8749 0.1349 lineto + 0.868 0.194 lineto + 0.8537 0.2795 lineto + %middle circumferential + 0.8537 0.2795 lineto + 0.8342 0.3642 lineto + 0.8139 0.4353 lineto + 0.7841 0.5217 lineto + 0.7643 0.5719 lineto + %end circumferential + 0.7643 0.5719 lineto + 0.6657 0.5272 lineto + %middle radial + 0.6657 0.5272 lineto + 0.6136 0.5003 lineto + 0.5652 0.4731 lineto + %end radial + 0.5652 0.4731 lineto + 0.6048 0.3975 lineto + 0.6317 0.334 lineto + 0.663 0.2359 lineto + %middle circumferential + 0.663 0.2359 lineto + 0.6787 0.1642 lineto + 0.6898 0.0796 lineto + 0.6931 0.0131 lineto + 0.6931 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 1.5708 2.0 16 0.97 0.45 +% Sector from 5.8905 to 6.2832 (quadrant 3) +newpath + 1.2147 -0.3341 moveto + 1.3274 -0.3454 lineto + %middle radial + 1.3274 -0.3454 lineto + 1.43 -0.3538 lineto + %end radial + 1.43 -0.3538 lineto + 1.4359 -0.2652 lineto + 1.4402 -0.1759 lineto + %middle circumferential + 1.4402 -0.1759 lineto + 1.4428 -0.0885 lineto + 1.4436 0.0 lineto + %end circumferential + 1.4436 0.0 lineto + 1.3433 0.0 lineto + %middle radial + 1.3433 0.0 lineto + 1.2334 0.0 lineto + %end radial + 1.2334 0.0 lineto + 1.2322 -0.0835 lineto + 1.2287 -0.166 lineto + %middle circumferential + 1.2287 -0.166 lineto + 1.2228 -0.2503 lineto + 1.2147 -0.3341 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.4978 to 5.8905 (quadrant 3) +newpath + 1.1593 -0.6873 moveto + 1.2202 -0.6985 lineto + 1.2817 -0.7085 lineto + %middle radial + 1.2817 -0.7085 lineto + 1.392 -0.7237 lineto + %end radial + 1.392 -0.7237 lineto + 1.4033 -0.6296 lineto + 1.4136 -0.5356 lineto + %middle circumferential + 1.4136 -0.5356 lineto + 1.4225 -0.4449 lineto + 1.43 -0.3538 lineto + %end circumferential + 1.43 -0.3538 lineto + 1.3274 -0.3454 lineto + %middle radial + 1.3274 -0.3454 lineto + 1.2147 -0.3341 lineto + %end radial + 1.2147 -0.3341 lineto + 1.2041 -0.4205 lineto + 1.1914 -0.5069 lineto + %middle circumferential + 1.1914 -0.5069 lineto + 1.1762 -0.5967 lineto + 1.1593 -0.6873 lineto + %end circumferential + closepath +currentgray 0.48466666666666664 setgray fill setgray +% Sector from 5.1051 to 5.4978 (quadrant 3) +newpath + 1.0766 -1.0889 moveto + 1.148 -1.1016 lineto + 1.2188 -1.1124 lineto + %middle radial + 1.2188 -1.1124 lineto + 1.2811 -1.1205 lineto + 1.3428 -1.1275 lineto + %end radial + 1.3428 -1.1275 lineto + 1.3546 -1.0235 lineto + 1.3672 -0.9203 lineto + %middle circumferential + 1.3672 -0.9203 lineto + 1.3797 -0.8217 lineto + 1.392 -0.7237 lineto + %end circumferential + 1.392 -0.7237 lineto + 1.2817 -0.7085 lineto + %middle radial + 1.2817 -0.7085 lineto + 1.2202 -0.6985 lineto + 1.1593 -0.6873 lineto + %end radial + 1.1593 -0.6873 lineto + 1.1401 -0.7825 lineto + 1.1198 -0.8795 lineto + %middle circumferential + 1.1198 -0.8795 lineto + 1.098 -0.9827 lineto + 1.0766 -1.0889 lineto + %end circumferential + closepath +currentgray 0.5193333333333334 setgray fill setgray +% Sector from 4.7124 to 5.1051 (quadrant 3) +newpath + 1.0232 -1.5708 moveto + 1.1046 -1.5708 lineto + 1.1831 -1.5708 lineto + %middle radial + 1.1831 -1.5708 lineto + 1.317 -1.5708 lineto + %end radial + 1.317 -1.5708 lineto + 1.3188 -1.4588 lineto + 1.3241 -1.3455 lineto + %middle circumferential + 1.3241 -1.3455 lineto + 1.3323 -1.2363 lineto + 1.3428 -1.1275 lineto + %end circumferential + 1.3428 -1.1275 lineto + 1.2811 -1.1205 lineto + 1.2188 -1.1124 lineto + %middle radial + 1.2188 -1.1124 lineto + 1.148 -1.1016 lineto + 1.0766 -1.0889 lineto + %end radial + 1.0766 -1.0889 lineto + 1.0561 -1.2029 lineto + 1.047 -1.2612 lineto + 1.0391 -1.3203 lineto + %middle circumferential + 1.0391 -1.3203 lineto + 1.0323 -1.3826 lineto + 1.0273 -1.4453 lineto + 1.0243 -1.5082 lineto + 1.0232 -1.5708 lineto + %end circumferential + closepath +currentgray 0.554 setgray fill setgray +% Sector from 4.3197 to 4.7124 (quadrant 2) +newpath + -1.0766 -1.0889 moveto + -1.148 -1.1016 lineto + -1.2188 -1.1124 lineto + %middle radial + -1.2188 -1.1124 lineto + -1.2811 -1.1205 lineto + -1.3428 -1.1275 lineto + %end radial + -1.3428 -1.1275 lineto + -1.3325 -1.234 lineto + -1.3241 -1.3455 lineto + %middle circumferential + -1.3241 -1.3455 lineto + -1.3188 -1.4564 lineto + -1.317 -1.5708 lineto + %end circumferential + -1.317 -1.5708 lineto + -1.1831 -1.5708 lineto + %middle radial + -1.1831 -1.5708 lineto + -1.1046 -1.5708 lineto + -1.0232 -1.5708 lineto + %end radial + -1.0232 -1.5708 lineto + -1.0243 -1.5062 lineto + -1.0275 -1.4427 lineto + -1.0325 -1.3807 lineto + -1.0391 -1.3203 lineto + %middle circumferential + -1.0391 -1.3203 lineto + -1.0473 -1.2593 lineto + -1.0565 -1.2004 lineto + -1.0766 -1.0889 lineto + %end circumferential + closepath +currentgray 0.5886666666666667 setgray fill setgray +% Sector from 3.927 to 4.3197 (quadrant 2) +newpath + -1.1593 -0.6873 moveto + -1.2202 -0.6985 lineto + -1.2817 -0.7085 lineto + %middle radial + -1.2817 -0.7085 lineto + -1.392 -0.7237 lineto + %end radial + -1.392 -0.7237 lineto + -1.38 -0.8196 lineto + -1.3672 -0.9203 lineto + %middle circumferential + -1.3672 -0.9203 lineto + -1.3548 -1.0213 lineto + -1.3428 -1.1275 lineto + %end circumferential + -1.3428 -1.1275 lineto + -1.2811 -1.1205 lineto + -1.2188 -1.1124 lineto + %middle radial + -1.2188 -1.1124 lineto + -1.148 -1.1016 lineto + -1.0766 -1.0889 lineto + %end radial + -1.0766 -1.0889 lineto + -1.0985 -0.9805 lineto + -1.1198 -0.8795 lineto + %middle circumferential + -1.1198 -0.8795 lineto + -1.1405 -0.7805 lineto + -1.1593 -0.6873 lineto + %end circumferential + closepath +currentgray 0.6233333333333333 setgray fill setgray +% Sector from 3.5343 to 3.927 (quadrant 2) +newpath + -1.2147 -0.3341 moveto + -1.3274 -0.3454 lineto + %middle radial + -1.3274 -0.3454 lineto + -1.43 -0.3538 lineto + %end radial + -1.43 -0.3538 lineto + -1.4227 -0.4429 lineto + -1.4136 -0.5356 lineto + %middle circumferential + -1.4136 -0.5356 lineto + -1.4035 -0.6275 lineto + -1.392 -0.7237 lineto + %end circumferential + -1.392 -0.7237 lineto + -1.2817 -0.7085 lineto + %middle radial + -1.2817 -0.7085 lineto + -1.2202 -0.6985 lineto + -1.1593 -0.6873 lineto + %end radial + -1.1593 -0.6873 lineto + -1.1766 -0.5947 lineto + -1.1914 -0.5069 lineto + %middle circumferential + -1.1914 -0.5069 lineto + -1.2043 -0.4186 lineto + -1.2147 -0.3341 lineto + %end circumferential + closepath +currentgray 0.658 setgray fill setgray +% Sector from 3.1416 to 3.5343 (quadrant 2) +newpath + -1.2334 0.0 moveto + -1.3433 0.0 lineto + %middle radial + -1.3433 0.0 lineto + -1.4436 0.0 lineto + %end radial + -1.4436 0.0 lineto + -1.4428 -0.0865 lineto + -1.4402 -0.1759 lineto + %middle circumferential + -1.4402 -0.1759 lineto + -1.436 -0.2632 lineto + -1.43 -0.3538 lineto + %end circumferential + -1.43 -0.3538 lineto + -1.3274 -0.3454 lineto + %middle radial + -1.3274 -0.3454 lineto + -1.2147 -0.3341 lineto + %end radial + -1.2147 -0.3341 lineto + -1.223 -0.2484 lineto + -1.2287 -0.166 lineto + %middle circumferential + -1.2287 -0.166 lineto + -1.2323 -0.0816 lineto + -1.2334 0.0 lineto + %end circumferential + closepath +currentgray 0.6926666666666667 setgray fill setgray +% Sector from 2.7489 to 3.1416 (quadrant 1) +newpath + -1.2147 0.3341 moveto + -1.3274 0.3454 lineto + %middle radial + -1.3274 0.3454 lineto + -1.43 0.3538 lineto + %end radial + -1.43 0.3538 lineto + -1.4358 0.266 lineto + -1.4402 0.1759 lineto + %middle circumferential + -1.4402 0.1759 lineto + -1.4427 0.0893 lineto + -1.4436 0.0 lineto + %end circumferential + -1.4436 0.0 lineto + -1.3433 0.0 lineto + %middle radial + -1.3433 0.0 lineto + -1.2334 0.0 lineto + %end radial + -1.2334 0.0 lineto + -1.2322 0.0842 lineto + -1.2287 0.166 lineto + %middle circumferential + -1.2287 0.166 lineto + -1.2227 0.2511 lineto + -1.2147 0.3341 lineto + %end circumferential + closepath +currentgray 0.7273333333333334 setgray fill setgray +% Sector from 2.3562 to 2.7489 (quadrant 1) +newpath + -1.1593 0.6873 moveto + -1.2202 0.6985 lineto + -1.2817 0.7085 lineto + %middle radial + -1.2817 0.7085 lineto + -1.392 0.7237 lineto + %end radial + -1.392 0.7237 lineto + -1.4032 0.6306 lineto + -1.4136 0.5356 lineto + %middle circumferential + -1.4136 0.5356 lineto + -1.4224 0.4458 lineto + -1.43 0.3538 lineto + %end circumferential + -1.43 0.3538 lineto + -1.3274 0.3454 lineto + %middle radial + -1.3274 0.3454 lineto + -1.2147 0.3341 lineto + %end radial + -1.2147 0.3341 lineto + -1.2039 0.4214 lineto + -1.1914 0.5069 lineto + %middle circumferential + -1.1914 0.5069 lineto + -1.1761 0.5977 lineto + -1.1593 0.6873 lineto + %end circumferential + closepath +currentgray 0.762 setgray fill setgray +% Sector from 1.9635 to 2.3562 (quadrant 1) +newpath + -1.0766 1.0889 moveto + -1.148 1.1016 lineto + -1.2188 1.1124 lineto + %middle radial + -1.2188 1.1124 lineto + -1.2811 1.1205 lineto + -1.3428 1.1275 lineto + %end radial + -1.3428 1.1275 lineto + -1.3544 1.025 lineto + -1.3672 0.9203 lineto + %middle circumferential + -1.3672 0.9203 lineto + -1.3796 0.8229 lineto + -1.392 0.7237 lineto + %end circumferential + -1.392 0.7237 lineto + -1.2817 0.7085 lineto + %middle radial + -1.2817 0.7085 lineto + -1.2202 0.6985 lineto + -1.1593 0.6873 lineto + %end radial + -1.1593 0.6873 lineto + -1.1399 0.7837 lineto + -1.1198 0.8795 lineto + %middle circumferential + -1.1198 0.8795 lineto + -1.0977 0.9842 lineto + -1.0766 1.0889 lineto + %end circumferential + closepath +currentgray 0.7966666666666666 setgray fill setgray +% Sector from 1.5708 to 1.9635 (quadrant 1) +newpath + -1.0232 1.5708 moveto + -1.1046 1.5708 lineto + -1.1831 1.5708 lineto + %middle radial + -1.1831 1.5708 lineto + -1.317 1.5708 lineto + %end radial + -1.317 1.5708 lineto + -1.3187 1.4609 lineto + -1.3241 1.3455 lineto + %middle circumferential + -1.3241 1.3455 lineto + -1.3321 1.2381 lineto + -1.3428 1.1275 lineto + %end circumferential + -1.3428 1.1275 lineto + -1.2811 1.1205 lineto + -1.2188 1.1124 lineto + %middle radial + -1.2188 1.1124 lineto + -1.148 1.1016 lineto + -1.0766 1.0889 lineto + %end radial + -1.0766 1.0889 lineto + -1.0658 1.1468 lineto + -1.0558 1.2048 lineto + -1.0391 1.3203 lineto + %middle circumferential + -1.0391 1.3203 lineto + -1.0322 1.3844 lineto + -1.0272 1.4477 lineto + -1.0242 1.51 lineto + -1.0232 1.5708 lineto + %end circumferential + closepath +currentgray 0.8313333333333334 setgray fill setgray +% Sector from 1.1781 to 1.5708 (quadrant 0) +newpath + 1.0766 1.0889 moveto + 1.148 1.1016 lineto + 1.2188 1.1124 lineto + %middle radial + 1.2188 1.1124 lineto + 1.2811 1.1205 lineto + 1.3428 1.1275 lineto + %end radial + 1.3428 1.1275 lineto + 1.3377 1.178 lineto + 1.3282 1.2869 lineto + 1.3241 1.3455 lineto + %middle circumferential + 1.3241 1.3455 lineto + 1.3189 1.4538 lineto + 1.3171 1.5408 lineto + 1.317 1.5708 lineto + %end circumferential + 1.317 1.5708 lineto + 1.1831 1.5708 lineto + %middle radial + 1.1831 1.5708 lineto + 1.1046 1.5708 lineto + 1.0232 1.5708 lineto + %end radial + 1.0232 1.5708 lineto + 1.0244 1.504 lineto + 1.0277 1.4399 lineto + 1.0327 1.3786 lineto + 1.0391 1.3203 lineto + %middle circumferential + 1.0391 1.3203 lineto + 1.0477 1.2569 lineto + 1.057 1.1973 lineto + 1.0766 1.0889 lineto + %end circumferential + closepath +currentgray 0.866 setgray fill setgray +% Sector from 0.7854 to 1.1781 (quadrant 0) +newpath + 1.1593 0.6873 moveto + 1.2202 0.6985 lineto + 1.2817 0.7085 lineto + %middle radial + 1.2817 0.7085 lineto + 1.392 0.7237 lineto + %end radial + 1.392 0.7237 lineto + 1.3805 0.8153 lineto + 1.3672 0.9203 lineto + %middle circumferential + 1.3672 0.9203 lineto + 1.3553 1.0178 lineto + 1.3428 1.1275 lineto + %end circumferential + 1.3428 1.1275 lineto + 1.2811 1.1205 lineto + 1.2188 1.1124 lineto + %middle radial + 1.2188 1.1124 lineto + 1.148 1.1016 lineto + 1.0766 1.0889 lineto + %end radial + 1.0766 1.0889 lineto + 1.0824 1.0594 lineto + 1.0992 0.9769 lineto + 1.1198 0.8795 lineto + %middle circumferential + 1.1198 0.8795 lineto + 1.1414 0.7763 lineto + 1.1593 0.6873 lineto + %end circumferential + closepath +currentgray 0.9006666666666666 setgray fill setgray +% Sector from 0.3927 to 0.7854 (quadrant 0) +newpath + 1.2147 0.3341 moveto + 1.3274 0.3454 lineto + %middle radial + 1.3274 0.3454 lineto + 1.43 0.3538 lineto + %end radial + 1.43 0.3538 lineto + 1.4234 0.4349 lineto + 1.4136 0.5356 lineto + %middle circumferential + 1.4136 0.5356 lineto + 1.4042 0.622 lineto + 1.392 0.7237 lineto + %end circumferential + 1.392 0.7237 lineto + 1.2817 0.7085 lineto + %middle radial + 1.2817 0.7085 lineto + 1.2202 0.6985 lineto + 1.1593 0.6873 lineto + %end radial + 1.1593 0.6873 lineto + 1.1775 0.5894 lineto + 1.1914 0.5069 lineto + %middle circumferential + 1.1914 0.5069 lineto + 1.2053 0.411 lineto + 1.2147 0.3341 lineto + %end circumferential + closepath +currentgray 0.9353333333333332 setgray fill setgray +% Sector from 0.0 to 0.3927 (quadrant 0) +newpath + 1.2334 0.0 moveto + 1.3433 0.0 lineto + %middle radial + 1.3433 0.0 lineto + 1.4436 0.0 lineto + %end radial + 1.4436 0.0 lineto + 1.4436 0.0098 lineto + 1.4428 0.0855 lineto + 1.4402 0.1759 lineto + %middle circumferential + 1.4402 0.1759 lineto + 1.4368 0.2493 lineto + 1.43 0.3538 lineto + %end circumferential + 1.43 0.3538 lineto + 1.3274 0.3454 lineto + %middle radial + 1.3274 0.3454 lineto + 1.2147 0.3341 lineto + %end radial + 1.2147 0.3341 lineto + 1.224 0.2352 lineto + 1.2287 0.166 lineto + %middle circumferential + 1.2287 0.166 lineto + 1.2323 0.0806 lineto + 1.2334 0.0093 lineto + 1.2334 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 3.0 3.1416 32 0.97 0.45 +% Sector from 6.0868 to 6.2832 (quadrant 3) +newpath + 1.8166 -0.1865 moveto + 1.8389 -0.1869 lineto + %middle radial + 1.8389 -0.1869 lineto + 1.8606 -0.1873 lineto + %end radial + 1.8606 -0.1873 lineto + 1.8619 -0.0936 lineto + %middle circumferential + 1.8619 -0.0936 lineto + 1.8623 0.0 lineto + %end circumferential + 1.8623 0.0 lineto + 1.8406 0.0 lineto + %middle radial + 1.8406 0.0 lineto + 1.8184 0.0 lineto + %end radial + 1.8184 0.0 lineto + 1.818 -0.0932 lineto + %middle circumferential + 1.818 -0.0932 lineto + 1.8166 -0.1865 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.8905 to 6.0868 (quadrant 3) +newpath + 1.8114 -0.3742 moveto + 1.8338 -0.375 lineto + %middle radial + 1.8338 -0.375 lineto + 1.8558 -0.3757 lineto + %end radial + 1.8558 -0.3757 lineto + 1.8586 -0.2813 lineto + %middle circumferential + 1.8586 -0.2813 lineto + 1.8606 -0.1873 lineto + %end circumferential + 1.8606 -0.1873 lineto + 1.8389 -0.1869 lineto + %middle radial + 1.8389 -0.1869 lineto + 1.8166 -0.1865 lineto + %end radial + 1.8166 -0.1865 lineto + 1.8144 -0.2801 lineto + %middle circumferential + 1.8144 -0.2801 lineto + 1.8114 -0.3742 lineto + %end circumferential + closepath +currentgray 0.4667741935483871 setgray fill setgray +% Sector from 5.6941 to 5.8905 (quadrant 3) +newpath + 1.8031 -0.5642 moveto + 1.8259 -0.5653 lineto + %middle radial + 1.8259 -0.5653 lineto + 1.8482 -0.5663 lineto + %end radial + 1.8482 -0.5663 lineto + 1.8523 -0.4707 lineto + %middle circumferential + 1.8523 -0.4707 lineto + 1.8558 -0.3757 lineto + %end circumferential + 1.8558 -0.3757 lineto + 1.8338 -0.375 lineto + %middle radial + 1.8338 -0.375 lineto + 1.8114 -0.3742 lineto + %end radial + 1.8114 -0.3742 lineto + 1.8076 -0.4688 lineto + %middle circumferential + 1.8076 -0.4688 lineto + 1.8031 -0.5642 lineto + %end circumferential + closepath +currentgray 0.4835483870967742 setgray fill setgray +% Sector from 5.4978 to 5.6941 (quadrant 3) +newpath + 1.7929 -0.7577 moveto + 1.8161 -0.7589 lineto + %middle radial + 1.8161 -0.7589 lineto + 1.8388 -0.7601 lineto + %end radial + 1.8388 -0.7601 lineto + 1.8437 -0.6628 lineto + %middle circumferential + 1.8437 -0.6628 lineto + 1.8482 -0.5663 lineto + %end circumferential + 1.8482 -0.5663 lineto + 1.8259 -0.5653 lineto + %middle radial + 1.8259 -0.5653 lineto + 1.8031 -0.5642 lineto + %end radial + 1.8031 -0.5642 lineto + 1.7982 -0.6605 lineto + %middle circumferential + 1.7982 -0.6605 lineto + 1.7929 -0.7577 lineto + %end circumferential + closepath +currentgray 0.5003225806451613 setgray fill setgray +% Sector from 5.3014 to 5.4978 (quadrant 3) +newpath + 1.782 -0.9553 moveto + 1.8057 -0.9565 lineto + %middle radial + 1.8057 -0.9565 lineto + 1.8289 -0.9577 lineto + %end radial + 1.8289 -0.9577 lineto + 1.8339 -0.8584 lineto + %middle circumferential + 1.8339 -0.8584 lineto + 1.8388 -0.7601 lineto + %end circumferential + 1.8388 -0.7601 lineto + 1.8161 -0.7589 lineto + %middle radial + 1.8161 -0.7589 lineto + 1.7929 -0.7577 lineto + %end radial + 1.7929 -0.7577 lineto + 1.7874 -0.8559 lineto + %middle circumferential + 1.7874 -0.8559 lineto + 1.782 -0.9553 lineto + %end circumferential + closepath +currentgray 0.5170967741935484 setgray fill setgray +% Sector from 5.1051 to 5.3014 (quadrant 3) +newpath + 1.7722 -1.1572 moveto + 1.7964 -1.1583 lineto + %middle radial + 1.7964 -1.1583 lineto + 1.82 -1.1592 lineto + %end radial + 1.82 -1.1592 lineto + 1.8242 -1.058 lineto + %middle circumferential + 1.8242 -1.058 lineto + 1.8289 -0.9577 lineto + %end circumferential + 1.8289 -0.9577 lineto + 1.8057 -0.9565 lineto + %middle radial + 1.8057 -0.9565 lineto + 1.782 -0.9553 lineto + %end radial + 1.782 -0.9553 lineto + 1.7768 -1.0557 lineto + %middle circumferential + 1.7768 -1.0557 lineto + 1.7722 -1.1572 lineto + %end circumferential + closepath +currentgray 0.5338709677419355 setgray fill setgray +% Sector from 4.9087 to 5.1051 (quadrant 3) +newpath + 1.7653 -1.3629 moveto + 1.7898 -1.3635 lineto + %middle radial + 1.7898 -1.3635 lineto + 1.8138 -1.364 lineto + %end radial + 1.8138 -1.364 lineto + 1.8165 -1.2613 lineto + %middle circumferential + 1.8165 -1.2613 lineto + 1.82 -1.1592 lineto + %end circumferential + 1.82 -1.1592 lineto + 1.7964 -1.1583 lineto + %middle radial + 1.7964 -1.1583 lineto + 1.7722 -1.1572 lineto + %end radial + 1.7722 -1.1572 lineto + 1.7682 -1.2597 lineto + %middle circumferential + 1.7682 -1.2597 lineto + 1.7653 -1.3629 lineto + %end circumferential + closepath +currentgray 0.5506451612903226 setgray fill setgray +% Sector from 4.7124 to 4.9087 (quadrant 3) +newpath + 1.7627 -1.5708 moveto + 1.7875 -1.5708 lineto + %middle radial + 1.7875 -1.5708 lineto + 1.8115 -1.5708 lineto + %end radial + 1.8115 -1.5708 lineto + 1.8121 -1.4673 lineto + %middle circumferential + 1.8121 -1.4673 lineto + 1.8138 -1.364 lineto + %end circumferential + 1.8138 -1.364 lineto + 1.7898 -1.3635 lineto + %middle radial + 1.7898 -1.3635 lineto + 1.7653 -1.3629 lineto + %end radial + 1.7653 -1.3629 lineto + 1.7634 -1.4667 lineto + %middle circumferential + 1.7634 -1.4667 lineto + 1.7627 -1.5708 lineto + %end circumferential + closepath +currentgray 0.5674193548387096 setgray fill setgray +% Sector from 4.516 to 4.7124 (quadrant 2) +newpath + -1.7653 -1.3629 moveto + -1.7898 -1.3635 lineto + %middle radial + -1.7898 -1.3635 lineto + -1.8138 -1.364 lineto + %end radial + -1.8138 -1.364 lineto + -1.8121 -1.4673 lineto + %middle circumferential + -1.8121 -1.4673 lineto + -1.8115 -1.5708 lineto + %end circumferential + -1.8115 -1.5708 lineto + -1.7875 -1.5708 lineto + %middle radial + -1.7875 -1.5708 lineto + -1.7627 -1.5708 lineto + %end radial + -1.7627 -1.5708 lineto + -1.7634 -1.4667 lineto + %middle circumferential + -1.7634 -1.4667 lineto + -1.7653 -1.3629 lineto + %end circumferential + closepath +currentgray 0.5841935483870968 setgray fill setgray +% Sector from 4.3197 to 4.516 (quadrant 2) +newpath + -1.7722 -1.1572 moveto + -1.7964 -1.1583 lineto + %middle radial + -1.7964 -1.1583 lineto + -1.82 -1.1592 lineto + %end radial + -1.82 -1.1592 lineto + -1.8165 -1.2613 lineto + %middle circumferential + -1.8165 -1.2613 lineto + -1.8138 -1.364 lineto + %end circumferential + -1.8138 -1.364 lineto + -1.7898 -1.3635 lineto + %middle radial + -1.7898 -1.3635 lineto + -1.7653 -1.3629 lineto + %end radial + -1.7653 -1.3629 lineto + -1.7682 -1.2597 lineto + %middle circumferential + -1.7682 -1.2597 lineto + -1.7722 -1.1572 lineto + %end circumferential + closepath +currentgray 0.600967741935484 setgray fill setgray +% Sector from 4.1233 to 4.3197 (quadrant 2) +newpath + -1.782 -0.9553 moveto + -1.8057 -0.9565 lineto + %middle radial + -1.8057 -0.9565 lineto + -1.8289 -0.9577 lineto + %end radial + -1.8289 -0.9577 lineto + -1.8242 -1.058 lineto + %middle circumferential + -1.8242 -1.058 lineto + -1.82 -1.1592 lineto + %end circumferential + -1.82 -1.1592 lineto + -1.7964 -1.1583 lineto + %middle radial + -1.7964 -1.1583 lineto + -1.7722 -1.1572 lineto + %end radial + -1.7722 -1.1572 lineto + -1.7768 -1.0557 lineto + %middle circumferential + -1.7768 -1.0557 lineto + -1.782 -0.9553 lineto + %end circumferential + closepath +currentgray 0.6177419354838709 setgray fill setgray +% Sector from 3.927 to 4.1233 (quadrant 2) +newpath + -1.7929 -0.7577 moveto + -1.8161 -0.7589 lineto + %middle radial + -1.8161 -0.7589 lineto + -1.8388 -0.7601 lineto + %end radial + -1.8388 -0.7601 lineto + -1.8339 -0.8584 lineto + %middle circumferential + -1.8339 -0.8584 lineto + -1.8289 -0.9577 lineto + %end circumferential + -1.8289 -0.9577 lineto + -1.8057 -0.9565 lineto + %middle radial + -1.8057 -0.9565 lineto + -1.782 -0.9553 lineto + %end radial + -1.782 -0.9553 lineto + -1.7874 -0.8559 lineto + %middle circumferential + -1.7874 -0.8559 lineto + -1.7929 -0.7577 lineto + %end circumferential + closepath +currentgray 0.6345161290322581 setgray fill setgray +% Sector from 3.7306 to 3.927 (quadrant 2) +newpath + -1.8031 -0.5642 moveto + -1.8259 -0.5653 lineto + %middle radial + -1.8259 -0.5653 lineto + -1.8482 -0.5663 lineto + %end radial + -1.8482 -0.5663 lineto + -1.8437 -0.6628 lineto + %middle circumferential + -1.8437 -0.6628 lineto + -1.8388 -0.7601 lineto + %end circumferential + -1.8388 -0.7601 lineto + -1.8161 -0.7589 lineto + %middle radial + -1.8161 -0.7589 lineto + -1.7929 -0.7577 lineto + %end radial + -1.7929 -0.7577 lineto + -1.7982 -0.6605 lineto + %middle circumferential + -1.7982 -0.6605 lineto + -1.8031 -0.5642 lineto + %end circumferential + closepath +currentgray 0.6512903225806452 setgray fill setgray +% Sector from 3.5343 to 3.7306 (quadrant 2) +newpath + -1.8114 -0.3742 moveto + -1.8338 -0.375 lineto + %middle radial + -1.8338 -0.375 lineto + -1.8558 -0.3757 lineto + %end radial + -1.8558 -0.3757 lineto + -1.8523 -0.4707 lineto + %middle circumferential + -1.8523 -0.4707 lineto + -1.8482 -0.5663 lineto + %end circumferential + -1.8482 -0.5663 lineto + -1.8259 -0.5653 lineto + %middle radial + -1.8259 -0.5653 lineto + -1.8031 -0.5642 lineto + %end radial + -1.8031 -0.5642 lineto + -1.8076 -0.4688 lineto + %middle circumferential + -1.8076 -0.4688 lineto + -1.8114 -0.3742 lineto + %end circumferential + closepath +currentgray 0.6680645161290323 setgray fill setgray +% Sector from 3.3379 to 3.5343 (quadrant 2) +newpath + -1.8166 -0.1865 moveto + -1.8389 -0.1869 lineto + %middle radial + -1.8389 -0.1869 lineto + -1.8606 -0.1873 lineto + %end radial + -1.8606 -0.1873 lineto + -1.8586 -0.2813 lineto + %middle circumferential + -1.8586 -0.2813 lineto + -1.8558 -0.3757 lineto + %end circumferential + -1.8558 -0.3757 lineto + -1.8338 -0.375 lineto + %middle radial + -1.8338 -0.375 lineto + -1.8114 -0.3742 lineto + %end radial + -1.8114 -0.3742 lineto + -1.8144 -0.2801 lineto + %middle circumferential + -1.8144 -0.2801 lineto + -1.8166 -0.1865 lineto + %end circumferential + closepath +currentgray 0.6848387096774193 setgray fill setgray +% Sector from 3.1416 to 3.3379 (quadrant 2) +newpath + -1.8184 0.0 moveto + -1.8406 0.0 lineto + %middle radial + -1.8406 0.0 lineto + -1.8623 0.0 lineto + %end radial + -1.8623 0.0 lineto + -1.8619 -0.0936 lineto + %middle circumferential + -1.8619 -0.0936 lineto + -1.8606 -0.1873 lineto + %end circumferential + -1.8606 -0.1873 lineto + -1.8389 -0.1869 lineto + %middle radial + -1.8389 -0.1869 lineto + -1.8166 -0.1865 lineto + %end radial + -1.8166 -0.1865 lineto + -1.818 -0.0932 lineto + %middle circumferential + -1.818 -0.0932 lineto + -1.8184 0.0 lineto + %end circumferential + closepath +currentgray 0.7016129032258065 setgray fill setgray +% Sector from 2.9452 to 3.1416 (quadrant 1) +newpath + -1.8166 0.1865 moveto + -1.8389 0.1869 lineto + %middle radial + -1.8389 0.1869 lineto + -1.8606 0.1873 lineto + %end radial + -1.8606 0.1873 lineto + -1.8619 0.0936 lineto + %middle circumferential + -1.8619 0.0936 lineto + -1.8623 0.0 lineto + %end circumferential + -1.8623 0.0 lineto + -1.8406 0.0 lineto + %middle radial + -1.8406 0.0 lineto + -1.8184 0.0 lineto + %end radial + -1.8184 0.0 lineto + -1.818 0.0932 lineto + %middle circumferential + -1.818 0.0932 lineto + -1.8166 0.1865 lineto + %end circumferential + closepath +currentgray 0.7183870967741936 setgray fill setgray +% Sector from 2.7489 to 2.9452 (quadrant 1) +newpath + -1.8114 0.3742 moveto + -1.8338 0.375 lineto + %middle radial + -1.8338 0.375 lineto + -1.8558 0.3757 lineto + %end radial + -1.8558 0.3757 lineto + -1.8586 0.2813 lineto + %middle circumferential + -1.8586 0.2813 lineto + -1.8606 0.1873 lineto + %end circumferential + -1.8606 0.1873 lineto + -1.8389 0.1869 lineto + %middle radial + -1.8389 0.1869 lineto + -1.8166 0.1865 lineto + %end radial + -1.8166 0.1865 lineto + -1.8144 0.2801 lineto + %middle circumferential + -1.8144 0.2801 lineto + -1.8114 0.3742 lineto + %end circumferential + closepath +currentgray 0.7351612903225806 setgray fill setgray +% Sector from 2.5525 to 2.7489 (quadrant 1) +newpath + -1.8031 0.5642 moveto + -1.8259 0.5653 lineto + %middle radial + -1.8259 0.5653 lineto + -1.8482 0.5663 lineto + %end radial + -1.8482 0.5663 lineto + -1.8523 0.4707 lineto + %middle circumferential + -1.8523 0.4707 lineto + -1.8558 0.3757 lineto + %end circumferential + -1.8558 0.3757 lineto + -1.8338 0.375 lineto + %middle radial + -1.8338 0.375 lineto + -1.8114 0.3742 lineto + %end radial + -1.8114 0.3742 lineto + -1.8076 0.4688 lineto + %middle circumferential + -1.8076 0.4688 lineto + -1.8031 0.5642 lineto + %end circumferential + closepath +currentgray 0.7519354838709679 setgray fill setgray +% Sector from 2.3562 to 2.5525 (quadrant 1) +newpath + -1.7929 0.7577 moveto + -1.8161 0.7589 lineto + %middle radial + -1.8161 0.7589 lineto + -1.8388 0.7601 lineto + %end radial + -1.8388 0.7601 lineto + -1.8437 0.6628 lineto + %middle circumferential + -1.8437 0.6628 lineto + -1.8482 0.5663 lineto + %end circumferential + -1.8482 0.5663 lineto + -1.8259 0.5653 lineto + %middle radial + -1.8259 0.5653 lineto + -1.8031 0.5642 lineto + %end radial + -1.8031 0.5642 lineto + -1.7982 0.6605 lineto + %middle circumferential + -1.7982 0.6605 lineto + -1.7929 0.7577 lineto + %end circumferential + closepath +currentgray 0.7687096774193548 setgray fill setgray +% Sector from 2.1598 to 2.3562 (quadrant 1) +newpath + -1.782 0.9553 moveto + -1.8057 0.9565 lineto + %middle radial + -1.8057 0.9565 lineto + -1.8289 0.9577 lineto + %end radial + -1.8289 0.9577 lineto + -1.8339 0.8584 lineto + %middle circumferential + -1.8339 0.8584 lineto + -1.8388 0.7601 lineto + %end circumferential + -1.8388 0.7601 lineto + -1.8161 0.7589 lineto + %middle radial + -1.8161 0.7589 lineto + -1.7929 0.7577 lineto + %end radial + -1.7929 0.7577 lineto + -1.7874 0.8559 lineto + %middle circumferential + -1.7874 0.8559 lineto + -1.782 0.9553 lineto + %end circumferential + closepath +currentgray 0.7854838709677419 setgray fill setgray +% Sector from 1.9635 to 2.1598 (quadrant 1) +newpath + -1.7722 1.1572 moveto + -1.7964 1.1583 lineto + %middle radial + -1.7964 1.1583 lineto + -1.82 1.1592 lineto + %end radial + -1.82 1.1592 lineto + -1.8242 1.058 lineto + %middle circumferential + -1.8242 1.058 lineto + -1.8289 0.9577 lineto + %end circumferential + -1.8289 0.9577 lineto + -1.8057 0.9565 lineto + %middle radial + -1.8057 0.9565 lineto + -1.782 0.9553 lineto + %end radial + -1.782 0.9553 lineto + -1.7768 1.0557 lineto + %middle circumferential + -1.7768 1.0557 lineto + -1.7722 1.1572 lineto + %end circumferential + closepath +currentgray 0.802258064516129 setgray fill setgray +% Sector from 1.7671 to 1.9635 (quadrant 1) +newpath + -1.7653 1.3629 moveto + -1.7898 1.3635 lineto + %middle radial + -1.7898 1.3635 lineto + -1.8138 1.364 lineto + %end radial + -1.8138 1.364 lineto + -1.8165 1.2613 lineto + %middle circumferential + -1.8165 1.2613 lineto + -1.82 1.1592 lineto + %end circumferential + -1.82 1.1592 lineto + -1.7964 1.1583 lineto + %middle radial + -1.7964 1.1583 lineto + -1.7722 1.1572 lineto + %end radial + -1.7722 1.1572 lineto + -1.7682 1.2597 lineto + %middle circumferential + -1.7682 1.2597 lineto + -1.7653 1.3629 lineto + %end circumferential + closepath +currentgray 0.8190322580645162 setgray fill setgray +% Sector from 1.5708 to 1.7671 (quadrant 1) +newpath + -1.7627 1.5708 moveto + -1.7875 1.5708 lineto + %middle radial + -1.7875 1.5708 lineto + -1.8115 1.5708 lineto + %end radial + -1.8115 1.5708 lineto + -1.8121 1.4673 lineto + %middle circumferential + -1.8121 1.4673 lineto + -1.8138 1.364 lineto + %end circumferential + -1.8138 1.364 lineto + -1.7898 1.3635 lineto + %middle radial + -1.7898 1.3635 lineto + -1.7653 1.3629 lineto + %end radial + -1.7653 1.3629 lineto + -1.7634 1.4667 lineto + %middle circumferential + -1.7634 1.4667 lineto + -1.7627 1.5708 lineto + %end circumferential + closepath +currentgray 0.8358064516129032 setgray fill setgray +% Sector from 1.3744 to 1.5708 (quadrant 0) +newpath + 1.7653 1.3629 moveto + 1.7898 1.3635 lineto + %middle radial + 1.7898 1.3635 lineto + 1.8138 1.364 lineto + %end radial + 1.8138 1.364 lineto + 1.8121 1.4673 lineto + %middle circumferential + 1.8121 1.4673 lineto + 1.8115 1.5708 lineto + %end circumferential + 1.8115 1.5708 lineto + 1.7875 1.5708 lineto + %middle radial + 1.7875 1.5708 lineto + 1.7627 1.5708 lineto + %end radial + 1.7627 1.5708 lineto + 1.7634 1.4667 lineto + %middle circumferential + 1.7634 1.4667 lineto + 1.7653 1.3629 lineto + %end circumferential + closepath +currentgray 0.8525806451612903 setgray fill setgray +% Sector from 1.1781 to 1.3744 (quadrant 0) +newpath + 1.7722 1.1572 moveto + 1.7964 1.1583 lineto + %middle radial + 1.7964 1.1583 lineto + 1.82 1.1592 lineto + %end radial + 1.82 1.1592 lineto + 1.8165 1.2613 lineto + %middle circumferential + 1.8165 1.2613 lineto + 1.8138 1.364 lineto + %end circumferential + 1.8138 1.364 lineto + 1.7898 1.3635 lineto + %middle radial + 1.7898 1.3635 lineto + 1.7653 1.3629 lineto + %end radial + 1.7653 1.3629 lineto + 1.7682 1.2597 lineto + %middle circumferential + 1.7682 1.2597 lineto + 1.7722 1.1572 lineto + %end circumferential + closepath +currentgray 0.8693548387096775 setgray fill setgray +% Sector from 0.9817 to 1.1781 (quadrant 0) +newpath + 1.782 0.9553 moveto + 1.8057 0.9565 lineto + %middle radial + 1.8057 0.9565 lineto + 1.8289 0.9577 lineto + %end radial + 1.8289 0.9577 lineto + 1.8242 1.058 lineto + %middle circumferential + 1.8242 1.058 lineto + 1.82 1.1592 lineto + %end circumferential + 1.82 1.1592 lineto + 1.7964 1.1583 lineto + %middle radial + 1.7964 1.1583 lineto + 1.7722 1.1572 lineto + %end radial + 1.7722 1.1572 lineto + 1.7768 1.0557 lineto + %middle circumferential + 1.7768 1.0557 lineto + 1.782 0.9553 lineto + %end circumferential + closepath +currentgray 0.8861290322580645 setgray fill setgray +% Sector from 0.7854 to 0.9817 (quadrant 0) +newpath + 1.7929 0.7577 moveto + 1.8161 0.7589 lineto + %middle radial + 1.8161 0.7589 lineto + 1.8388 0.7601 lineto + %end radial + 1.8388 0.7601 lineto + 1.8339 0.8584 lineto + %middle circumferential + 1.8339 0.8584 lineto + 1.8289 0.9577 lineto + %end circumferential + 1.8289 0.9577 lineto + 1.8057 0.9565 lineto + %middle radial + 1.8057 0.9565 lineto + 1.782 0.9553 lineto + %end radial + 1.782 0.9553 lineto + 1.7874 0.8559 lineto + %middle circumferential + 1.7874 0.8559 lineto + 1.7929 0.7577 lineto + %end circumferential + closepath +currentgray 0.9029032258064516 setgray fill setgray +% Sector from 0.589 to 0.7854 (quadrant 0) +newpath + 1.8031 0.5642 moveto + 1.8259 0.5653 lineto + %middle radial + 1.8259 0.5653 lineto + 1.8482 0.5663 lineto + %end radial + 1.8482 0.5663 lineto + 1.8437 0.6628 lineto + %middle circumferential + 1.8437 0.6628 lineto + 1.8388 0.7601 lineto + %end circumferential + 1.8388 0.7601 lineto + 1.8161 0.7589 lineto + %middle radial + 1.8161 0.7589 lineto + 1.7929 0.7577 lineto + %end radial + 1.7929 0.7577 lineto + 1.7982 0.6605 lineto + %middle circumferential + 1.7982 0.6605 lineto + 1.8031 0.5642 lineto + %end circumferential + closepath +currentgray 0.9196774193548387 setgray fill setgray +% Sector from 0.3927 to 0.589 (quadrant 0) +newpath + 1.8114 0.3742 moveto + 1.8338 0.375 lineto + %middle radial + 1.8338 0.375 lineto + 1.8558 0.3757 lineto + %end radial + 1.8558 0.3757 lineto + 1.8523 0.4707 lineto + %middle circumferential + 1.8523 0.4707 lineto + 1.8482 0.5663 lineto + %end circumferential + 1.8482 0.5663 lineto + 1.8259 0.5653 lineto + %middle radial + 1.8259 0.5653 lineto + 1.8031 0.5642 lineto + %end radial + 1.8031 0.5642 lineto + 1.8076 0.4688 lineto + %middle circumferential + 1.8076 0.4688 lineto + 1.8114 0.3742 lineto + %end circumferential + closepath +currentgray 0.9364516129032258 setgray fill setgray +% Sector from 0.1963 to 0.3927 (quadrant 0) +newpath + 1.8166 0.1865 moveto + 1.8389 0.1869 lineto + %middle radial + 1.8389 0.1869 lineto + 1.8606 0.1873 lineto + %end radial + 1.8606 0.1873 lineto + 1.8586 0.2813 lineto + %middle circumferential + 1.8586 0.2813 lineto + 1.8558 0.3757 lineto + %end circumferential + 1.8558 0.3757 lineto + 1.8338 0.375 lineto + %middle radial + 1.8338 0.375 lineto + 1.8114 0.3742 lineto + %end radial + 1.8114 0.3742 lineto + 1.8144 0.2801 lineto + %middle circumferential + 1.8144 0.2801 lineto + 1.8166 0.1865 lineto + %end circumferential + closepath +currentgray 0.9532258064516128 setgray fill setgray +% Sector from 0.0 to 0.1963 (quadrant 0) +newpath + 1.8184 0.0 moveto + 1.8406 0.0 lineto + %middle radial + 1.8406 0.0 lineto + 1.8623 0.0 lineto + %end radial + 1.8623 0.0 lineto + 1.8623 0.0223 lineto + 1.8619 0.0936 lineto + %middle circumferential + 1.8619 0.0936 lineto + 1.8606 0.1873 lineto + %end circumferential + 1.8606 0.1873 lineto + 1.8389 0.1869 lineto + %middle radial + 1.8389 0.1869 lineto + 1.8166 0.1865 lineto + %end radial + 1.8166 0.1865 lineto + 1.818 0.0932 lineto + %middle circumferential + 1.818 0.0932 lineto + 1.8184 0.0222 lineto + 1.8184 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Horizontal line from (0.5, 0.0) to (0.0, 0.0) +newpath + 0.4812 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.5, 0.0) to (1.0, 0.0) +newpath + 0.4812 0.0 moveto + 0.8814 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.0, 0.0) +newpath + 1.4436 0.0 moveto + 0.8814 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.1579208923731617E77, 0.0) +newpath + 1.4436 0.0 moveto + 6.3488 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (0.0, 1.0) +newpath + 1.5286 0.4271 moveto + 1.4589 0.4569 lineto + 1.3916 0.4875 lineto + 1.3267 0.5187 lineto + 1.2644 0.5505 lineto + 1.2047 0.5825 lineto + 1.1475 0.6148 lineto + 1.0928 0.647 lineto + 1.0407 0.6791 lineto + 0.991 0.7109 lineto + 0.8987 0.7732 lineto + 0.8153 0.8332 lineto + 0.7399 0.8904 lineto + 0.6719 0.9444 lineto + 0.6105 0.995 lineto + 0.5551 1.0422 lineto + 0.5049 1.086 lineto + 0.4385 1.1457 lineto + 0.3638 1.2148 lineto + 0.3022 1.2731 lineto + 0.2512 1.3222 lineto + 0.1907 1.3813 lineto + 0.1322 1.439 lineto + 0.0764 1.4945 lineto + 0.0 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (1.1579208923731617E77, 1.0) +newpath + 1.5286 0.4271 moveto + 1.5966 0.3997 lineto + 1.6666 0.3734 lineto + 1.7384 0.348 lineto + 1.8119 0.3238 lineto + 1.887 0.3008 lineto + 1.9634 0.2789 lineto + 2.0412 0.2583 lineto + 2.1201 0.2389 lineto + 2.2 0.2207 lineto + 2.2807 0.2037 lineto + 2.3623 0.1879 lineto + 2.4446 0.1731 lineto + 2.5274 0.1594 lineto + 2.6108 0.1467 lineto + 2.6946 0.1349 lineto + 2.7788 0.1241 lineto + 2.8633 0.114 lineto + 2.948 0.1048 lineto + 3.0331 0.0963 lineto + 3.1183 0.0884 lineto + 3.2036 0.0812 lineto + 3.2892 0.0745 lineto + 3.3748 0.0684 lineto + 3.4606 0.0628 lineto + 3.5464 0.0576 lineto + 3.6323 0.0529 lineto + 3.7183 0.0485 lineto + 3.8043 0.0445 lineto + 3.8904 0.0409 lineto + 3.9765 0.0375 lineto + 4.0626 0.0344 lineto + 4.1488 0.0316 lineto + 4.235 0.029 lineto + 4.3212 0.0266 lineto + 4.4074 0.0244 lineto + 4.4936 0.0224 lineto + 4.5799 0.0205 lineto + 4.6661 0.0188 lineto + 4.7524 0.0173 lineto + 4.8387 0.0158 lineto + 4.925 0.0145 lineto + 5.0112 0.0133 lineto + 5.0975 0.0122 lineto + 5.1838 0.0112 lineto + 5.2701 0.0103 lineto + 5.3564 0.0094 lineto + 5.4427 0.0087 lineto + 5.529 0.0079 lineto + 5.6153 0.0073 lineto + 5.7016 0.0067 lineto + 5.7879 0.0061 lineto + 5.8742 0.0056 lineto + 5.9605 0.0052 lineto + 6.0468 0.0047 lineto + 6.1331 0.0043 lineto + 6.2625 0.0038 lineto + 6.3488 0.0035 lineto + 6.378103166302659 0.0028 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (0.0, -1.0) +newpath + 1.5286 -0.4271 moveto + 1.4589 -0.4569 lineto + 1.3916 -0.4875 lineto + 1.3267 -0.5187 lineto + 1.2644 -0.5505 lineto + 1.2047 -0.5825 lineto + 1.1475 -0.6148 lineto + 1.0928 -0.647 lineto + 1.0407 -0.6791 lineto + 0.991 -0.7109 lineto + 0.8987 -0.7732 lineto + 0.8153 -0.8332 lineto + 0.7399 -0.8904 lineto + 0.6719 -0.9444 lineto + 0.6105 -0.995 lineto + 0.5551 -1.0422 lineto + 0.5049 -1.086 lineto + 0.4385 -1.1457 lineto + 0.3638 -1.2148 lineto + 0.3022 -1.2731 lineto + 0.2512 -1.3222 lineto + 0.1907 -1.3813 lineto + 0.1322 -1.439 lineto + 0.0764 -1.4945 lineto + 0.0 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (1.1579208923731617E77, -1.0) +newpath + 1.5286 -0.4271 moveto + 1.5966 -0.3997 lineto + 1.6666 -0.3734 lineto + 1.7384 -0.348 lineto + 1.8119 -0.3238 lineto + 1.887 -0.3008 lineto + 1.9634 -0.2789 lineto + 2.0412 -0.2583 lineto + 2.1201 -0.2389 lineto + 2.2 -0.2207 lineto + 2.2807 -0.2037 lineto + 2.3623 -0.1879 lineto + 2.4446 -0.1731 lineto + 2.5274 -0.1594 lineto + 2.6108 -0.1467 lineto + 2.6946 -0.1349 lineto + 2.7788 -0.1241 lineto + 2.8633 -0.114 lineto + 2.948 -0.1048 lineto + 3.0331 -0.0963 lineto + 3.1183 -0.0884 lineto + 3.2036 -0.0812 lineto + 3.2892 -0.0745 lineto + 3.3748 -0.0684 lineto + 3.4606 -0.0628 lineto + 3.5464 -0.0576 lineto + 3.6323 -0.0529 lineto + 3.7183 -0.0485 lineto + 3.8043 -0.0445 lineto + 3.8904 -0.0409 lineto + 3.9765 -0.0375 lineto + 4.0626 -0.0344 lineto + 4.1488 -0.0316 lineto + 4.235 -0.029 lineto + 4.3212 -0.0266 lineto + 4.4074 -0.0244 lineto + 4.4936 -0.0224 lineto + 4.5799 -0.0205 lineto + 4.6661 -0.0188 lineto + 4.7524 -0.0173 lineto + 4.8387 -0.0158 lineto + 4.925 -0.0145 lineto + 5.0112 -0.0133 lineto + 5.0975 -0.0122 lineto + 5.1838 -0.0112 lineto + 5.2701 -0.0103 lineto + 5.3564 -0.0094 lineto + 5.4427 -0.0087 lineto + 5.529 -0.0079 lineto + 5.6153 -0.0073 lineto + 5.7016 -0.0067 lineto + 5.7879 -0.0061 lineto + 5.8742 -0.0056 lineto + 5.9605 -0.0052 lineto + 6.0468 -0.0047 lineto + 6.1331 -0.0043 lineto + 6.2625 -0.0038 lineto + 6.3488 -0.0035 lineto + 6.378103166302659 -0.0028 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (1.1579208923731617E77, 2.0) +newpath + 1.317 1.5708 moveto + 1.3193 1.5071 lineto + 1.3265 1.442 lineto + 1.344 1.3547 lineto + 1.3699 1.2693 lineto + 1.4026 1.1881 lineto + 1.4336 1.1256 lineto + 1.4736 1.0566 lineto + 1.5244 0.982 lineto + 1.5872 0.903 lineto + 1.663 0.8212 lineto + 1.706 0.7798 lineto + 1.7525 0.7384 lineto + 1.8024 0.6973 lineto + 1.8556 0.6567 lineto + 1.9122 0.6168 lineto + 1.9719 0.5778 lineto + 2.0347 0.5399 lineto + 2.1003 0.5034 lineto + 2.1686 0.4684 lineto + 2.2394 0.4349 lineto + 2.3124 0.4031 lineto + 2.3875 0.3729 lineto + 2.4644 0.3446 lineto + 2.5429 0.3179 lineto + 2.6229 0.293 lineto + 2.7042 0.2698 lineto + 2.7865 0.2481 lineto + 2.8698 0.2281 lineto + 2.954 0.2095 lineto + 3.0388 0.1923 lineto + 3.1242 0.1765 lineto + 3.2102 0.1618 lineto + 3.2966 0.1484 lineto + 3.3833 0.136 lineto + 3.4704 0.1246 lineto + 3.5578 0.1142 lineto + 3.6454 0.1046 lineto + 3.7331 0.0958 lineto + 3.821 0.0877 lineto + 3.9091 0.0803 lineto + 3.9973 0.0735 lineto + 4.0855 0.0673 lineto + 4.1739 0.0616 lineto + 4.2623 0.0564 lineto + 4.3508 0.0516 lineto + 4.4393 0.0472 lineto + 4.5278 0.0432 lineto + 4.6164 0.0396 lineto + 4.705 0.0362 lineto + 4.7937 0.0331 lineto + 4.8823 0.0303 lineto + 4.971 0.0277 lineto + 5.0597 0.0254 lineto + 5.1484 0.0232 lineto + 5.2371 0.0213 lineto + 5.3258 0.0195 lineto + 5.4145 0.0178 lineto + 5.5033 0.0163 lineto + 5.592 0.0149 lineto + 5.6807 0.0136 lineto + 5.7695 0.0125 lineto + 5.8582 0.0114 lineto + 5.947 0.0105 lineto + 6.0357 0.0096 lineto + 6.1245 0.0088 lineto + 6.2132 0.008 lineto + 6.302 0.0073 lineto + 6.378103166302659 0.0068 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (1.1579208923731617E77, -2.0) +newpath + 1.317 -1.5708 moveto + 1.3193 -1.5071 lineto + 1.3265 -1.442 lineto + 1.344 -1.3547 lineto + 1.3699 -1.2693 lineto + 1.4026 -1.1881 lineto + 1.4336 -1.1256 lineto + 1.4736 -1.0566 lineto + 1.5244 -0.982 lineto + 1.5872 -0.903 lineto + 1.663 -0.8212 lineto + 1.706 -0.7798 lineto + 1.7525 -0.7384 lineto + 1.8024 -0.6973 lineto + 1.8556 -0.6567 lineto + 1.9122 -0.6168 lineto + 1.9719 -0.5778 lineto + 2.0347 -0.5399 lineto + 2.1003 -0.5034 lineto + 2.1686 -0.4684 lineto + 2.2394 -0.4349 lineto + 2.3124 -0.4031 lineto + 2.3875 -0.3729 lineto + 2.4644 -0.3446 lineto + 2.5429 -0.3179 lineto + 2.6229 -0.293 lineto + 2.7042 -0.2698 lineto + 2.7865 -0.2481 lineto + 2.8698 -0.2281 lineto + 2.954 -0.2095 lineto + 3.0388 -0.1923 lineto + 3.1242 -0.1765 lineto + 3.2102 -0.1618 lineto + 3.2966 -0.1484 lineto + 3.3833 -0.136 lineto + 3.4704 -0.1246 lineto + 3.5578 -0.1142 lineto + 3.6454 -0.1046 lineto + 3.7331 -0.0958 lineto + 3.821 -0.0877 lineto + 3.9091 -0.0803 lineto + 3.9973 -0.0735 lineto + 4.0855 -0.0673 lineto + 4.1739 -0.0616 lineto + 4.2623 -0.0564 lineto + 4.3508 -0.0516 lineto + 4.4393 -0.0472 lineto + 4.5278 -0.0432 lineto + 4.6164 -0.0396 lineto + 4.705 -0.0362 lineto + 4.7937 -0.0331 lineto + 4.8823 -0.0303 lineto + 4.971 -0.0277 lineto + 5.0597 -0.0254 lineto + 5.1484 -0.0232 lineto + 5.2371 -0.0213 lineto + 5.3258 -0.0195 lineto + 5.4145 -0.0178 lineto + 5.5033 -0.0163 lineto + 5.592 -0.0149 lineto + 5.6807 -0.0136 lineto + 5.7695 -0.0125 lineto + 5.8582 -0.0114 lineto + 5.947 -0.0105 lineto + 6.0357 -0.0096 lineto + 6.1245 -0.0088 lineto + 6.2132 -0.008 lineto + 6.302 -0.0073 lineto + 6.378103166302659 -0.0068 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (1.1579208923731617E77, 3.0) +newpath + 1.7627 1.5708 moveto + 1.7661 1.4915 lineto + 1.7764 1.4107 lineto + 1.79 1.3447 lineto + 1.8165 1.2547 lineto + 1.8374 1.1991 lineto + 1.8657 1.1362 lineto + 1.903 1.066 lineto + 1.9512 0.9894 lineto + 2.0122 0.9077 lineto + 2.0872 0.8226 lineto + 2.1302 0.7795 lineto + 2.1769 0.7365 lineto + 2.2273 0.6938 lineto + 2.2814 0.6517 lineto + 2.3389 0.6105 lineto + 2.3997 0.5705 lineto + 2.4637 0.5318 lineto + 2.5306 0.4946 lineto + 2.6002 0.4591 lineto + 2.6722 0.4253 lineto + 2.7464 0.3934 lineto + 2.8227 0.3634 lineto + 2.9006 0.3352 lineto + 2.9802 0.3088 lineto + 3.061 0.2842 lineto + 3.1431 0.2614 lineto + 3.2261 0.2402 lineto + 3.31 0.2206 lineto + 3.3947 0.2025 lineto + 3.48 0.1857 lineto + 3.5658 0.1703 lineto + 3.6521 0.1561 lineto + 3.7388 0.1431 lineto + 3.8258 0.1311 lineto + 3.9131 0.1201 lineto + 4.0006 0.11 lineto + 4.0883 0.1007 lineto + 4.1762 0.0922 lineto + 4.2643 0.0845 lineto + 4.3524 0.0773 lineto + 4.4407 0.0708 lineto + 4.529 0.0648 lineto + 4.6174 0.0593 lineto + 4.7059 0.0543 lineto + 4.7944 0.0497 lineto + 4.8829 0.0455 lineto + 4.9715 0.0416 lineto + 5.0601 0.0381 lineto + 5.1487 0.0348 lineto + 5.2374 0.0319 lineto + 5.3261 0.0292 lineto + 5.4147 0.0267 lineto + 5.5034 0.0244 lineto + 5.5921 0.0224 lineto + 5.6809 0.0205 lineto + 5.7696 0.0187 lineto + 5.8583 0.0171 lineto + 5.947 0.0157 lineto + 6.0358 0.0144 lineto + 6.1245 0.0131 lineto + 6.2133 0.012 lineto + 6.302 0.011 lineto + 6.378103166302659 0.0101 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (1.1579208923731617E77, -3.0) +newpath + 1.7627 -1.5708 moveto + 1.7661 -1.4915 lineto + 1.7764 -1.4107 lineto + 1.79 -1.3447 lineto + 1.8165 -1.2547 lineto + 1.8374 -1.1991 lineto + 1.8657 -1.1362 lineto + 1.903 -1.066 lineto + 1.9512 -0.9894 lineto + 2.0122 -0.9077 lineto + 2.0872 -0.8226 lineto + 2.1302 -0.7795 lineto + 2.1769 -0.7365 lineto + 2.2273 -0.6938 lineto + 2.2814 -0.6517 lineto + 2.3389 -0.6105 lineto + 2.3997 -0.5705 lineto + 2.4637 -0.5318 lineto + 2.5306 -0.4946 lineto + 2.6002 -0.4591 lineto + 2.6722 -0.4253 lineto + 2.7464 -0.3934 lineto + 2.8227 -0.3634 lineto + 2.9006 -0.3352 lineto + 2.9802 -0.3088 lineto + 3.061 -0.2842 lineto + 3.1431 -0.2614 lineto + 3.2261 -0.2402 lineto + 3.31 -0.2206 lineto + 3.3947 -0.2025 lineto + 3.48 -0.1857 lineto + 3.5658 -0.1703 lineto + 3.6521 -0.1561 lineto + 3.7388 -0.1431 lineto + 3.8258 -0.1311 lineto + 3.9131 -0.1201 lineto + 4.0006 -0.11 lineto + 4.0883 -0.1007 lineto + 4.1762 -0.0922 lineto + 4.2643 -0.0845 lineto + 4.3524 -0.0773 lineto + 4.4407 -0.0708 lineto + 4.529 -0.0648 lineto + 4.6174 -0.0593 lineto + 4.7059 -0.0543 lineto + 4.7944 -0.0497 lineto + 4.8829 -0.0455 lineto + 4.9715 -0.0416 lineto + 5.0601 -0.0381 lineto + 5.1487 -0.0348 lineto + 5.2374 -0.0319 lineto + 5.3261 -0.0292 lineto + 5.4147 -0.0267 lineto + 5.5034 -0.0244 lineto + 5.5921 -0.0224 lineto + 5.6809 -0.0205 lineto + 5.7696 -0.0187 lineto + 5.8583 -0.0171 lineto + 5.947 -0.0157 lineto + 6.0358 -0.0144 lineto + 6.1245 -0.0131 lineto + 6.2133 -0.012 lineto + 6.302 -0.011 lineto + 6.378103166302659 -0.0101 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (0.0, 0.0) +newpath + -0.4812 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (-1.0, 0.0) +newpath + -0.4812 0.0 moveto + -0.8814 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.0, 0.0) +newpath + -1.4436 0.0 moveto + -0.8814 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.1579208923731617E77, 0.0) +newpath + -1.4436 0.0 moveto + -6.3488 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (0.0, 1.0) +newpath + -1.5286 0.4271 moveto + -1.4589 0.4569 lineto + -1.3916 0.4875 lineto + -1.3267 0.5187 lineto + -1.2644 0.5505 lineto + -1.2047 0.5825 lineto + -1.1475 0.6148 lineto + -1.0928 0.647 lineto + -1.0407 0.6791 lineto + -0.991 0.7109 lineto + -0.8987 0.7732 lineto + -0.8153 0.8332 lineto + -0.7399 0.8904 lineto + -0.6719 0.9444 lineto + -0.6105 0.995 lineto + -0.5551 1.0422 lineto + -0.5049 1.086 lineto + -0.4385 1.1457 lineto + -0.3638 1.2148 lineto + -0.3022 1.2731 lineto + -0.2512 1.3222 lineto + -0.1907 1.3813 lineto + -0.1322 1.439 lineto + -0.0764 1.4945 lineto + 0.0 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (-1.1579208923731617E77, 1.0) +newpath + -1.5286 0.4271 moveto + -1.5966 0.3997 lineto + -1.6666 0.3734 lineto + -1.7384 0.348 lineto + -1.8119 0.3238 lineto + -1.887 0.3008 lineto + -1.9634 0.2789 lineto + -2.0412 0.2583 lineto + -2.1201 0.2389 lineto + -2.2 0.2207 lineto + -2.2807 0.2037 lineto + -2.3623 0.1879 lineto + -2.4446 0.1731 lineto + -2.5274 0.1594 lineto + -2.6108 0.1467 lineto + -2.6946 0.1349 lineto + -2.7788 0.1241 lineto + -2.8633 0.114 lineto + -2.948 0.1048 lineto + -3.0331 0.0963 lineto + -3.1183 0.0884 lineto + -3.2036 0.0812 lineto + -3.2892 0.0745 lineto + -3.3748 0.0684 lineto + -3.4606 0.0628 lineto + -3.5464 0.0576 lineto + -3.6323 0.0529 lineto + -3.7183 0.0485 lineto + -3.8043 0.0445 lineto + -3.8904 0.0409 lineto + -3.9765 0.0375 lineto + -4.0626 0.0344 lineto + -4.1488 0.0316 lineto + -4.235 0.029 lineto + -4.3212 0.0266 lineto + -4.4074 0.0244 lineto + -4.4936 0.0224 lineto + -4.5799 0.0205 lineto + -4.6661 0.0188 lineto + -4.7524 0.0173 lineto + -4.8387 0.0158 lineto + -4.925 0.0145 lineto + -5.0112 0.0133 lineto + -5.0975 0.0122 lineto + -5.1838 0.0112 lineto + -5.2701 0.0103 lineto + -5.3564 0.0094 lineto + -5.4427 0.0087 lineto + -5.529 0.0079 lineto + -5.6153 0.0073 lineto + -5.7016 0.0067 lineto + -5.7879 0.0061 lineto + -5.8742 0.0056 lineto + -5.9605 0.0052 lineto + -6.0468 0.0047 lineto + -6.1331 0.0043 lineto + -6.2625 0.0038 lineto + -6.3488 0.0035 lineto + -6.378103166302659 0.0028 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (0.0, -1.0) +newpath + -1.5286 -0.4271 moveto + -1.4589 -0.4569 lineto + -1.3916 -0.4875 lineto + -1.3267 -0.5187 lineto + -1.2644 -0.5505 lineto + -1.2047 -0.5825 lineto + -1.1475 -0.6148 lineto + -1.0928 -0.647 lineto + -1.0407 -0.6791 lineto + -0.991 -0.7109 lineto + -0.8987 -0.7732 lineto + -0.8153 -0.8332 lineto + -0.7399 -0.8904 lineto + -0.6719 -0.9444 lineto + -0.6105 -0.995 lineto + -0.5551 -1.0422 lineto + -0.5049 -1.086 lineto + -0.4385 -1.1457 lineto + -0.3638 -1.2148 lineto + -0.3022 -1.2731 lineto + -0.2512 -1.3222 lineto + -0.1907 -1.3813 lineto + -0.1322 -1.439 lineto + -0.0764 -1.4945 lineto + 0.0 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (-1.1579208923731617E77, -1.0) +newpath + -1.5286 -0.4271 moveto + -1.5966 -0.3997 lineto + -1.6666 -0.3734 lineto + -1.7384 -0.348 lineto + -1.8119 -0.3238 lineto + -1.887 -0.3008 lineto + -1.9634 -0.2789 lineto + -2.0412 -0.2583 lineto + -2.1201 -0.2389 lineto + -2.2 -0.2207 lineto + -2.2807 -0.2037 lineto + -2.3623 -0.1879 lineto + -2.4446 -0.1731 lineto + -2.5274 -0.1594 lineto + -2.6108 -0.1467 lineto + -2.6946 -0.1349 lineto + -2.7788 -0.1241 lineto + -2.8633 -0.114 lineto + -2.948 -0.1048 lineto + -3.0331 -0.0963 lineto + -3.1183 -0.0884 lineto + -3.2036 -0.0812 lineto + -3.2892 -0.0745 lineto + -3.3748 -0.0684 lineto + -3.4606 -0.0628 lineto + -3.5464 -0.0576 lineto + -3.6323 -0.0529 lineto + -3.7183 -0.0485 lineto + -3.8043 -0.0445 lineto + -3.8904 -0.0409 lineto + -3.9765 -0.0375 lineto + -4.0626 -0.0344 lineto + -4.1488 -0.0316 lineto + -4.235 -0.029 lineto + -4.3212 -0.0266 lineto + -4.4074 -0.0244 lineto + -4.4936 -0.0224 lineto + -4.5799 -0.0205 lineto + -4.6661 -0.0188 lineto + -4.7524 -0.0173 lineto + -4.8387 -0.0158 lineto + -4.925 -0.0145 lineto + -5.0112 -0.0133 lineto + -5.0975 -0.0122 lineto + -5.1838 -0.0112 lineto + -5.2701 -0.0103 lineto + -5.3564 -0.0094 lineto + -5.4427 -0.0087 lineto + -5.529 -0.0079 lineto + -5.6153 -0.0073 lineto + -5.7016 -0.0067 lineto + -5.7879 -0.0061 lineto + -5.8742 -0.0056 lineto + -5.9605 -0.0052 lineto + -6.0468 -0.0047 lineto + -6.1331 -0.0043 lineto + -6.2625 -0.0038 lineto + -6.3488 -0.0035 lineto + -6.378103166302659 -0.0028 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (-1.1579208923731617E77, 2.0) +newpath + -1.317 1.5708 moveto + -1.3193 1.5071 lineto + -1.3265 1.442 lineto + -1.344 1.3547 lineto + -1.3699 1.2693 lineto + -1.4026 1.1881 lineto + -1.4336 1.1256 lineto + -1.4736 1.0566 lineto + -1.5244 0.982 lineto + -1.5872 0.903 lineto + -1.663 0.8212 lineto + -1.706 0.7798 lineto + -1.7525 0.7384 lineto + -1.8024 0.6973 lineto + -1.8556 0.6567 lineto + -1.9122 0.6168 lineto + -1.9719 0.5778 lineto + -2.0347 0.5399 lineto + -2.1003 0.5034 lineto + -2.1686 0.4684 lineto + -2.2394 0.4349 lineto + -2.3124 0.4031 lineto + -2.3875 0.3729 lineto + -2.4644 0.3446 lineto + -2.5429 0.3179 lineto + -2.6229 0.293 lineto + -2.7042 0.2698 lineto + -2.7865 0.2481 lineto + -2.8698 0.2281 lineto + -2.954 0.2095 lineto + -3.0388 0.1923 lineto + -3.1242 0.1765 lineto + -3.2102 0.1618 lineto + -3.2966 0.1484 lineto + -3.3833 0.136 lineto + -3.4704 0.1246 lineto + -3.5578 0.1142 lineto + -3.6454 0.1046 lineto + -3.7331 0.0958 lineto + -3.821 0.0877 lineto + -3.9091 0.0803 lineto + -3.9973 0.0735 lineto + -4.0855 0.0673 lineto + -4.1739 0.0616 lineto + -4.2623 0.0564 lineto + -4.3508 0.0516 lineto + -4.4393 0.0472 lineto + -4.5278 0.0432 lineto + -4.6164 0.0396 lineto + -4.705 0.0362 lineto + -4.7937 0.0331 lineto + -4.8823 0.0303 lineto + -4.971 0.0277 lineto + -5.0597 0.0254 lineto + -5.1484 0.0232 lineto + -5.2371 0.0213 lineto + -5.3258 0.0195 lineto + -5.4145 0.0178 lineto + -5.5033 0.0163 lineto + -5.592 0.0149 lineto + -5.6807 0.0136 lineto + -5.7695 0.0125 lineto + -5.8582 0.0114 lineto + -5.947 0.0105 lineto + -6.0357 0.0096 lineto + -6.1245 0.0088 lineto + -6.2132 0.008 lineto + -6.302 0.0073 lineto + -6.378103166302659 0.0068 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (-1.1579208923731617E77, -2.0) +newpath + -1.317 -1.5708 moveto + -1.3193 -1.5071 lineto + -1.3265 -1.442 lineto + -1.344 -1.3547 lineto + -1.3699 -1.2693 lineto + -1.4026 -1.1881 lineto + -1.4336 -1.1256 lineto + -1.4736 -1.0566 lineto + -1.5244 -0.982 lineto + -1.5872 -0.903 lineto + -1.663 -0.8212 lineto + -1.706 -0.7798 lineto + -1.7525 -0.7384 lineto + -1.8024 -0.6973 lineto + -1.8556 -0.6567 lineto + -1.9122 -0.6168 lineto + -1.9719 -0.5778 lineto + -2.0347 -0.5399 lineto + -2.1003 -0.5034 lineto + -2.1686 -0.4684 lineto + -2.2394 -0.4349 lineto + -2.3124 -0.4031 lineto + -2.3875 -0.3729 lineto + -2.4644 -0.3446 lineto + -2.5429 -0.3179 lineto + -2.6229 -0.293 lineto + -2.7042 -0.2698 lineto + -2.7865 -0.2481 lineto + -2.8698 -0.2281 lineto + -2.954 -0.2095 lineto + -3.0388 -0.1923 lineto + -3.1242 -0.1765 lineto + -3.2102 -0.1618 lineto + -3.2966 -0.1484 lineto + -3.3833 -0.136 lineto + -3.4704 -0.1246 lineto + -3.5578 -0.1142 lineto + -3.6454 -0.1046 lineto + -3.7331 -0.0958 lineto + -3.821 -0.0877 lineto + -3.9091 -0.0803 lineto + -3.9973 -0.0735 lineto + -4.0855 -0.0673 lineto + -4.1739 -0.0616 lineto + -4.2623 -0.0564 lineto + -4.3508 -0.0516 lineto + -4.4393 -0.0472 lineto + -4.5278 -0.0432 lineto + -4.6164 -0.0396 lineto + -4.705 -0.0362 lineto + -4.7937 -0.0331 lineto + -4.8823 -0.0303 lineto + -4.971 -0.0277 lineto + -5.0597 -0.0254 lineto + -5.1484 -0.0232 lineto + -5.2371 -0.0213 lineto + -5.3258 -0.0195 lineto + -5.4145 -0.0178 lineto + -5.5033 -0.0163 lineto + -5.592 -0.0149 lineto + -5.6807 -0.0136 lineto + -5.7695 -0.0125 lineto + -5.8582 -0.0114 lineto + -5.947 -0.0105 lineto + -6.0357 -0.0096 lineto + -6.1245 -0.0088 lineto + -6.2132 -0.008 lineto + -6.302 -0.0073 lineto + -6.378103166302659 -0.0068 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (-1.1579208923731617E77, 3.0) +newpath + -1.7627 1.5708 moveto + -1.7661 1.4915 lineto + -1.7764 1.4107 lineto + -1.79 1.3447 lineto + -1.8165 1.2547 lineto + -1.8374 1.1991 lineto + -1.8657 1.1362 lineto + -1.903 1.066 lineto + -1.9512 0.9894 lineto + -2.0122 0.9077 lineto + -2.0872 0.8226 lineto + -2.1302 0.7795 lineto + -2.1769 0.7365 lineto + -2.2273 0.6938 lineto + -2.2814 0.6517 lineto + -2.3389 0.6105 lineto + -2.3997 0.5705 lineto + -2.4637 0.5318 lineto + -2.5306 0.4946 lineto + -2.6002 0.4591 lineto + -2.6722 0.4253 lineto + -2.7464 0.3934 lineto + -2.8227 0.3634 lineto + -2.9006 0.3352 lineto + -2.9802 0.3088 lineto + -3.061 0.2842 lineto + -3.1431 0.2614 lineto + -3.2261 0.2402 lineto + -3.31 0.2206 lineto + -3.3947 0.2025 lineto + -3.48 0.1857 lineto + -3.5658 0.1703 lineto + -3.6521 0.1561 lineto + -3.7388 0.1431 lineto + -3.8258 0.1311 lineto + -3.9131 0.1201 lineto + -4.0006 0.11 lineto + -4.0883 0.1007 lineto + -4.1762 0.0922 lineto + -4.2643 0.0845 lineto + -4.3524 0.0773 lineto + -4.4407 0.0708 lineto + -4.529 0.0648 lineto + -4.6174 0.0593 lineto + -4.7059 0.0543 lineto + -4.7944 0.0497 lineto + -4.8829 0.0455 lineto + -4.9715 0.0416 lineto + -5.0601 0.0381 lineto + -5.1487 0.0348 lineto + -5.2374 0.0319 lineto + -5.3261 0.0292 lineto + -5.4147 0.0267 lineto + -5.5034 0.0244 lineto + -5.5921 0.0224 lineto + -5.6809 0.0205 lineto + -5.7696 0.0187 lineto + -5.8583 0.0171 lineto + -5.947 0.0157 lineto + -6.0358 0.0144 lineto + -6.1245 0.0131 lineto + -6.2133 0.012 lineto + -6.302 0.011 lineto + -6.378103166302659 0.0101 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (-1.1579208923731617E77, -3.0) +newpath + -1.7627 -1.5708 moveto + -1.7661 -1.4915 lineto + -1.7764 -1.4107 lineto + -1.79 -1.3447 lineto + -1.8165 -1.2547 lineto + -1.8374 -1.1991 lineto + -1.8657 -1.1362 lineto + -1.903 -1.066 lineto + -1.9512 -0.9894 lineto + -2.0122 -0.9077 lineto + -2.0872 -0.8226 lineto + -2.1302 -0.7795 lineto + -2.1769 -0.7365 lineto + -2.2273 -0.6938 lineto + -2.2814 -0.6517 lineto + -2.3389 -0.6105 lineto + -2.3997 -0.5705 lineto + -2.4637 -0.5318 lineto + -2.5306 -0.4946 lineto + -2.6002 -0.4591 lineto + -2.6722 -0.4253 lineto + -2.7464 -0.3934 lineto + -2.8227 -0.3634 lineto + -2.9006 -0.3352 lineto + -2.9802 -0.3088 lineto + -3.061 -0.2842 lineto + -3.1431 -0.2614 lineto + -3.2261 -0.2402 lineto + -3.31 -0.2206 lineto + -3.3947 -0.2025 lineto + -3.48 -0.1857 lineto + -3.5658 -0.1703 lineto + -3.6521 -0.1561 lineto + -3.7388 -0.1431 lineto + -3.8258 -0.1311 lineto + -3.9131 -0.1201 lineto + -4.0006 -0.11 lineto + -4.0883 -0.1007 lineto + -4.1762 -0.0922 lineto + -4.2643 -0.0845 lineto + -4.3524 -0.0773 lineto + -4.4407 -0.0708 lineto + -4.529 -0.0648 lineto + -4.6174 -0.0593 lineto + -4.7059 -0.0543 lineto + -4.7944 -0.0497 lineto + -4.8829 -0.0455 lineto + -4.9715 -0.0416 lineto + -5.0601 -0.0381 lineto + -5.1487 -0.0348 lineto + -5.2374 -0.0319 lineto + -5.3261 -0.0292 lineto + -5.4147 -0.0267 lineto + -5.5034 -0.0244 lineto + -5.5921 -0.0224 lineto + -5.6809 -0.0205 lineto + -5.7696 -0.0187 lineto + -5.8583 -0.0171 lineto + -5.947 -0.0157 lineto + -6.0358 -0.0144 lineto + -6.1245 -0.0131 lineto + -6.2133 -0.012 lineto + -6.302 -0.011 lineto + -6.378103166302659 -0.0101 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 0.0) +newpath + 0.0 0.5236 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 1.0) +newpath + 0.0 0.5236 moveto + 0.0 1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.0) +newpath + 1.317 1.5708 moveto + 1.1632 1.5708 lineto + 0.8504 1.5708 lineto + 0.7861 1.5708 lineto + 0.6449 1.5708 lineto + 0.4739 1.5708 lineto + 0.1807 1.5708 lineto + 0.1042 1.5708 lineto + 0.0 1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.1579208923731617E77) +newpath + 1.317 1.5708 moveto + 1.8812 1.5708 lineto + 6.1762 1.5708 lineto + 6.2816 1.428 lineto + 6.378103166302659 0.8074 lineto + 6.378103166302659 0.43 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 0.0) +newpath + 1.4694 1.0634 moveto + 1.398 1.0165 lineto + 1.3312 0.9667 lineto + 1.2695 0.9146 lineto + 1.2135 0.8607 lineto + 1.1635 0.806 lineto + 1.1195 0.7514 lineto + 1.0814 0.6977 lineto + 1.0488 0.6456 lineto + 0.9979 0.5485 lineto + 0.9621 0.4627 lineto + 0.9372 0.3885 lineto + 0.92 0.3254 lineto + 0.8999 0.2271 lineto + 0.8903 0.1581 lineto + 0.8834 0.0763 lineto + 0.8815 0.0177 lineto + 0.8814 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 1.1579208923731617E77) +newpath + 1.4694 1.0634 moveto + 1.5404 1.1049 lineto + 1.6143 1.1434 lineto + 1.6906 1.179 lineto + 1.7687 1.2118 lineto + 1.8484 1.2419 lineto + 1.9293 1.2695 lineto + 2.0113 1.2948 lineto + 2.094 1.3179 lineto + 2.1774 1.3391 lineto + 2.2613 1.3585 lineto + 2.3456 1.3762 lineto + 2.4302 1.3924 lineto + 2.5152 1.4073 lineto + 2.6003 1.4209 lineto + 2.6857 1.4334 lineto + 2.7712 1.4448 lineto + 2.8569 1.4553 lineto + 2.9426 1.4649 lineto + 3.0285 1.4736 lineto + 3.1144 1.4817 lineto + 3.2004 1.4891 lineto + 3.2864 1.4958 lineto + 3.3725 1.5021 lineto + 3.4586 1.5077 lineto + 3.5448 1.513 lineto + 3.6309 1.5178 lineto + 3.7171 1.5221 lineto + 3.8033 1.5262 lineto + 3.8896 1.5299 lineto + 3.9758 1.5332 lineto + 4.062 1.5364 lineto + 4.1483 1.5392 lineto + 4.2346 1.5418 lineto + 4.3208 1.5442 lineto + 4.4071 1.5464 lineto + 4.4934 1.5484 lineto + 4.5797 1.5503 lineto + 4.666 1.552 lineto + 4.7523 1.5535 lineto + 4.8386 1.555 lineto + 4.9248 1.5563 lineto + 5.0111 1.5575 lineto + 5.0974 1.5586 lineto + 5.1837 1.5596 lineto + 5.27 1.5605 lineto + 5.3563 1.5614 lineto + 5.4426 1.5621 lineto + 5.5289 1.5629 lineto + 5.6153 1.5635 lineto + 5.7016 1.5641 lineto + 5.7879 1.5647 lineto + 5.8742 1.5652 lineto + 5.9605 1.5656 lineto + 6.0468 1.5661 lineto + 6.1331 1.5665 lineto + 6.2467 1.5737 lineto + 6.378103166302659 0.8074 lineto + 6.378103166302659 0.43 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 0.0) +newpath + -1.4694 1.0634 moveto + -1.398 1.0165 lineto + -1.3312 0.9667 lineto + -1.2695 0.9146 lineto + -1.2135 0.8607 lineto + -1.1635 0.806 lineto + -1.1195 0.7514 lineto + -1.0814 0.6977 lineto + -1.0488 0.6456 lineto + -0.9979 0.5485 lineto + -0.9621 0.4627 lineto + -0.9372 0.3885 lineto + -0.92 0.3254 lineto + -0.8999 0.2271 lineto + -0.8903 0.1581 lineto + -0.8834 0.0763 lineto + -0.8815 0.0177 lineto + -0.8814 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 1.1579208923731617E77) +newpath + -1.4694 1.0634 moveto + -1.5404 1.1049 lineto + -1.6143 1.1434 lineto + -1.6906 1.179 lineto + -1.7687 1.2118 lineto + -1.8484 1.2419 lineto + -1.9293 1.2695 lineto + -2.0113 1.2948 lineto + -2.094 1.3179 lineto + -2.1774 1.3391 lineto + -2.2613 1.3585 lineto + -2.3456 1.3762 lineto + -2.4302 1.3924 lineto + -2.5152 1.4073 lineto + -2.6003 1.4209 lineto + -2.6857 1.4334 lineto + -2.7712 1.4448 lineto + -2.8569 1.4553 lineto + -2.9426 1.4649 lineto + -3.0285 1.4736 lineto + -3.1144 1.4817 lineto + -3.2004 1.4891 lineto + -3.2864 1.4958 lineto + -3.3725 1.5021 lineto + -3.4586 1.5077 lineto + -3.5448 1.513 lineto + -3.6309 1.5178 lineto + -3.7171 1.5221 lineto + -3.8033 1.5262 lineto + -3.8896 1.5299 lineto + -3.9758 1.5332 lineto + -4.062 1.5364 lineto + -4.1483 1.5392 lineto + -4.2346 1.5418 lineto + -4.3208 1.5442 lineto + -4.4071 1.5464 lineto + -4.4934 1.5484 lineto + -4.5797 1.5503 lineto + -4.666 1.552 lineto + -4.7523 1.5535 lineto + -4.8386 1.555 lineto + -4.9248 1.5563 lineto + -5.0111 1.5575 lineto + -5.0974 1.5586 lineto + -5.1837 1.5596 lineto + -5.27 1.5605 lineto + -5.3563 1.5614 lineto + -5.4426 1.5621 lineto + -5.5289 1.5629 lineto + -5.6153 1.5635 lineto + -5.7016 1.5641 lineto + -5.7879 1.5647 lineto + -5.8742 1.5652 lineto + -5.9605 1.5656 lineto + -6.0468 1.5661 lineto + -6.1331 1.5665 lineto + -6.2467 1.5737 lineto + -6.378103166302659 0.8074 lineto + -6.378103166302659 0.43 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, 1.1579208923731617E77) +newpath + 1.4436 0.0 moveto + 1.4481 0.1004 lineto + 1.4567 0.1702 lineto + 1.4699 0.241 lineto + 1.4963 0.3389 lineto + 1.5177 0.3999 lineto + 1.5473 0.4697 lineto + 1.5874 0.5481 lineto + 1.6407 0.634 lineto + 1.6908 0.7022 lineto + 1.7295 0.7487 lineto + 1.7725 0.7957 lineto + 1.82 0.8425 lineto + 1.8718 0.8889 lineto + 1.9279 0.9343 lineto + 1.9879 0.9783 lineto + 2.0516 1.0207 lineto + 2.1187 1.0612 lineto + 2.1888 1.0997 lineto + 2.2616 1.1359 lineto + 2.3367 1.1699 lineto + 2.4139 1.2017 lineto + 2.4929 1.2314 lineto + 2.5734 1.2589 lineto + 2.6551 1.2843 lineto + 2.738 1.3079 lineto + 2.8218 1.3296 lineto + 2.9064 1.3497 lineto + 2.9917 1.3681 lineto + 3.0775 1.385 lineto + 3.1638 1.4006 lineto + 3.2505 1.4149 lineto + 3.3375 1.428 lineto + 3.4248 1.4401 lineto + 3.5123 1.4511 lineto + 3.6001 1.4612 lineto + 3.688 1.4705 lineto + 3.776 1.479 lineto + 3.8642 1.4867 lineto + 3.9524 1.4939 lineto + 4.0408 1.5004 lineto + 4.1292 1.5064 lineto + 4.2176 1.5118 lineto + 4.3062 1.5168 lineto + 4.3947 1.5214 lineto + 4.4833 1.5256 lineto + 4.5719 1.5294 lineto + 4.6605 1.5329 lineto + 4.7492 1.5362 lineto + 4.8379 1.5391 lineto + 4.9266 1.5418 lineto + 5.0153 1.5442 lineto + 5.104 1.5465 lineto + 5.1927 1.5486 lineto + 5.2814 1.5505 lineto + 5.3701 1.5522 lineto + 5.4589 1.5538 lineto + 5.5476 1.5552 lineto + 5.6364 1.5565 lineto + 5.7251 1.5577 lineto + 5.8138 1.5589 lineto + 5.9026 1.5599 lineto + 5.9913 1.5608 lineto + 6.0801 1.5616 lineto + 6.1688 1.5624 lineto + 6.2523 1.5512 lineto + 6.378103166302659 0.5285 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, 1.1579208923731617E77) +newpath + -1.4436 0.0 moveto + -1.4481 0.1004 lineto + -1.4567 0.1702 lineto + -1.4699 0.241 lineto + -1.4963 0.3389 lineto + -1.5177 0.3999 lineto + -1.5473 0.4697 lineto + -1.5874 0.5481 lineto + -1.6407 0.634 lineto + -1.6908 0.7022 lineto + -1.7295 0.7487 lineto + -1.7725 0.7957 lineto + -1.82 0.8425 lineto + -1.8718 0.8889 lineto + -1.9279 0.9343 lineto + -1.9879 0.9783 lineto + -2.0516 1.0207 lineto + -2.1187 1.0612 lineto + -2.1888 1.0997 lineto + -2.2616 1.1359 lineto + -2.3367 1.1699 lineto + -2.4139 1.2017 lineto + -2.4929 1.2314 lineto + -2.5734 1.2589 lineto + -2.6551 1.2843 lineto + -2.738 1.3079 lineto + -2.8218 1.3296 lineto + -2.9064 1.3497 lineto + -2.9917 1.3681 lineto + -3.0775 1.385 lineto + -3.1638 1.4006 lineto + -3.2505 1.4149 lineto + -3.3375 1.428 lineto + -3.4248 1.4401 lineto + -3.5123 1.4511 lineto + -3.6001 1.4612 lineto + -3.688 1.4705 lineto + -3.776 1.479 lineto + -3.8642 1.4867 lineto + -3.9524 1.4939 lineto + -4.0408 1.5004 lineto + -4.1292 1.5064 lineto + -4.2176 1.5118 lineto + -4.3062 1.5168 lineto + -4.3947 1.5214 lineto + -4.4833 1.5256 lineto + -4.5719 1.5294 lineto + -4.6605 1.5329 lineto + -4.7492 1.5362 lineto + -4.8379 1.5391 lineto + -4.9266 1.5418 lineto + -5.0153 1.5442 lineto + -5.104 1.5465 lineto + -5.1927 1.5486 lineto + -5.2814 1.5505 lineto + -5.3701 1.5522 lineto + -5.4589 1.5538 lineto + -5.5476 1.5552 lineto + -5.6364 1.5565 lineto + -5.7251 1.5577 lineto + -5.8138 1.5589 lineto + -5.9026 1.5599 lineto + -5.9913 1.5608 lineto + -6.0801 1.5616 lineto + -6.1688 1.5624 lineto + -6.2523 1.5512 lineto + -6.378103166302659 0.5285 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, 1.1579208923731617E77) +newpath + 1.8184 0.0 moveto + 1.8208 0.071 lineto + 1.8283 0.1438 lineto + 1.8383 0.2039 lineto + 1.8582 0.2873 lineto + 1.8848 0.3689 lineto + 1.9109 0.4335 lineto + 1.9464 0.5062 lineto + 1.9934 0.5865 lineto + 2.0542 0.6729 lineto + 2.11 0.7403 lineto + 2.1524 0.7858 lineto + 2.1988 0.8313 lineto + 2.2494 0.8765 lineto + 2.304 0.9208 lineto + 2.3625 0.9641 lineto + 2.4245 1.0059 lineto + 2.4898 1.0461 lineto + 2.5582 1.0844 lineto + 2.6294 1.1208 lineto + 2.703 1.1551 lineto + 2.7788 1.1873 lineto + 2.8564 1.2175 lineto + 2.9357 1.2457 lineto + 3.0165 1.2718 lineto + 3.0984 1.2961 lineto + 3.1815 1.3185 lineto + 3.2654 1.3393 lineto + 3.35 1.3584 lineto + 3.4353 1.3761 lineto + 3.5212 1.3923 lineto + 3.6075 1.4072 lineto + 3.6942 1.4209 lineto + 3.7813 1.4335 lineto + 3.8686 1.4451 lineto + 3.9561 1.4557 lineto + 4.0439 1.4654 lineto + 4.1318 1.4743 lineto + 4.2198 1.4825 lineto + 4.308 1.4899 lineto + 4.3962 1.4968 lineto + 4.4846 1.503 lineto + 4.573 1.5088 lineto + 4.6614 1.514 lineto + 4.75 1.5189 lineto + 4.8385 1.5233 lineto + 4.9271 1.5273 lineto + 5.0157 1.531 lineto + 5.1043 1.5344 lineto + 5.193 1.5375 lineto + 5.2817 1.5403 lineto + 5.3704 1.5429 lineto + 5.4591 1.5452 lineto + 5.5478 1.5474 lineto + 5.6365 1.5494 lineto + 5.7252 1.5512 lineto + 5.8139 1.5529 lineto + 5.9027 1.5544 lineto + 5.9914 1.5558 lineto + 6.0801 1.5571 lineto + 6.1689 1.5582 lineto + 6.2532 1.5477 lineto + 6.378103166302659 0.5285 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, 1.1579208923731617E77) +newpath + -1.8184 0.0 moveto + -1.8208 0.071 lineto + -1.8283 0.1438 lineto + -1.8383 0.2039 lineto + -1.8582 0.2873 lineto + -1.8848 0.3689 lineto + -1.9109 0.4335 lineto + -1.9464 0.5062 lineto + -1.9934 0.5865 lineto + -2.0542 0.6729 lineto + -2.11 0.7403 lineto + -2.1524 0.7858 lineto + -2.1988 0.8313 lineto + -2.2494 0.8765 lineto + -2.304 0.9208 lineto + -2.3625 0.9641 lineto + -2.4245 1.0059 lineto + -2.4898 1.0461 lineto + -2.5582 1.0844 lineto + -2.6294 1.1208 lineto + -2.703 1.1551 lineto + -2.7788 1.1873 lineto + -2.8564 1.2175 lineto + -2.9357 1.2457 lineto + -3.0165 1.2718 lineto + -3.0984 1.2961 lineto + -3.1815 1.3185 lineto + -3.2654 1.3393 lineto + -3.35 1.3584 lineto + -3.4353 1.3761 lineto + -3.5212 1.3923 lineto + -3.6075 1.4072 lineto + -3.6942 1.4209 lineto + -3.7813 1.4335 lineto + -3.8686 1.4451 lineto + -3.9561 1.4557 lineto + -4.0439 1.4654 lineto + -4.1318 1.4743 lineto + -4.2198 1.4825 lineto + -4.308 1.4899 lineto + -4.3962 1.4968 lineto + -4.4846 1.503 lineto + -4.573 1.5088 lineto + -4.6614 1.514 lineto + -4.75 1.5189 lineto + -4.8385 1.5233 lineto + -4.9271 1.5273 lineto + -5.0157 1.531 lineto + -5.1043 1.5344 lineto + -5.193 1.5375 lineto + -5.2817 1.5403 lineto + -5.3704 1.5429 lineto + -5.4591 1.5452 lineto + -5.5478 1.5474 lineto + -5.6365 1.5494 lineto + -5.7252 1.5512 lineto + -5.8139 1.5529 lineto + -5.9027 1.5544 lineto + -5.9914 1.5558 lineto + -6.0801 1.5571 lineto + -6.1689 1.5582 lineto + -6.2532 1.5477 lineto + -6.378103166302659 0.5285 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, 0.0) +newpath + 0.0 -0.5236 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, -1.0) +newpath + 0.0 -0.5236 moveto + 0.0 -1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.0) +newpath + -1.317 -1.5708 moveto + -1.1632 -1.5708 lineto + -0.8504 -1.5708 lineto + -0.7861 -1.5708 lineto + -0.6449 -1.5708 lineto + -0.4739 -1.5708 lineto + -0.1807 -1.5708 lineto + -0.1042 -1.5708 lineto + 0.0 -1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.1579208923731617E77) +newpath + -1.317 -1.5708 moveto + -1.8812 -1.5708 lineto + -6.1762 -1.5708 lineto + -6.2816 -1.428 lineto + -6.378103166302659 -0.8074 lineto + -6.378103166302659 -0.43 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, 0.0) +newpath + 1.4694 -1.0634 moveto + 1.398 -1.0165 lineto + 1.3312 -0.9667 lineto + 1.2695 -0.9146 lineto + 1.2135 -0.8607 lineto + 1.1635 -0.806 lineto + 1.1195 -0.7514 lineto + 1.0814 -0.6977 lineto + 1.0488 -0.6456 lineto + 0.9979 -0.5485 lineto + 0.9621 -0.4627 lineto + 0.9372 -0.3885 lineto + 0.92 -0.3254 lineto + 0.8999 -0.2271 lineto + 0.8903 -0.1581 lineto + 0.8834 -0.0763 lineto + 0.8815 -0.0177 lineto + 0.8814 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, -1.1579208923731617E77) +newpath + 1.4694 -1.0634 moveto + 1.5404 -1.1049 lineto + 1.6143 -1.1434 lineto + 1.6906 -1.179 lineto + 1.7687 -1.2118 lineto + 1.8484 -1.2419 lineto + 1.9293 -1.2695 lineto + 2.0113 -1.2948 lineto + 2.094 -1.3179 lineto + 2.1774 -1.3391 lineto + 2.2613 -1.3585 lineto + 2.3456 -1.3762 lineto + 2.4302 -1.3924 lineto + 2.5152 -1.4073 lineto + 2.6003 -1.4209 lineto + 2.6857 -1.4334 lineto + 2.7712 -1.4448 lineto + 2.8569 -1.4553 lineto + 2.9426 -1.4649 lineto + 3.0285 -1.4736 lineto + 3.1144 -1.4817 lineto + 3.2004 -1.4891 lineto + 3.2864 -1.4958 lineto + 3.3725 -1.5021 lineto + 3.4586 -1.5077 lineto + 3.5448 -1.513 lineto + 3.6309 -1.5178 lineto + 3.7171 -1.5221 lineto + 3.8033 -1.5262 lineto + 3.8896 -1.5299 lineto + 3.9758 -1.5332 lineto + 4.062 -1.5364 lineto + 4.1483 -1.5392 lineto + 4.2346 -1.5418 lineto + 4.3208 -1.5442 lineto + 4.4071 -1.5464 lineto + 4.4934 -1.5484 lineto + 4.5797 -1.5503 lineto + 4.666 -1.552 lineto + 4.7523 -1.5535 lineto + 4.8386 -1.555 lineto + 4.9248 -1.5563 lineto + 5.0111 -1.5575 lineto + 5.0974 -1.5586 lineto + 5.1837 -1.5596 lineto + 5.27 -1.5605 lineto + 5.3563 -1.5614 lineto + 5.4426 -1.5621 lineto + 5.5289 -1.5629 lineto + 5.6153 -1.5635 lineto + 5.7016 -1.5641 lineto + 5.7879 -1.5647 lineto + 5.8742 -1.5652 lineto + 5.9605 -1.5656 lineto + 6.0468 -1.5661 lineto + 6.1331 -1.5665 lineto + 6.2467 -1.5737 lineto + 6.378103166302659 -0.8074 lineto + 6.378103166302659 -0.43 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, 0.0) +newpath + -1.4694 -1.0634 moveto + -1.398 -1.0165 lineto + -1.3312 -0.9667 lineto + -1.2695 -0.9146 lineto + -1.2135 -0.8607 lineto + -1.1635 -0.806 lineto + -1.1195 -0.7514 lineto + -1.0814 -0.6977 lineto + -1.0488 -0.6456 lineto + -0.9979 -0.5485 lineto + -0.9621 -0.4627 lineto + -0.9372 -0.3885 lineto + -0.92 -0.3254 lineto + -0.8999 -0.2271 lineto + -0.8903 -0.1581 lineto + -0.8834 -0.0763 lineto + -0.8815 -0.0177 lineto + -0.8814 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, -1.1579208923731617E77) +newpath + -1.4694 -1.0634 moveto + -1.5404 -1.1049 lineto + -1.6143 -1.1434 lineto + -1.6906 -1.179 lineto + -1.7687 -1.2118 lineto + -1.8484 -1.2419 lineto + -1.9293 -1.2695 lineto + -2.0113 -1.2948 lineto + -2.094 -1.3179 lineto + -2.1774 -1.3391 lineto + -2.2613 -1.3585 lineto + -2.3456 -1.3762 lineto + -2.4302 -1.3924 lineto + -2.5152 -1.4073 lineto + -2.6003 -1.4209 lineto + -2.6857 -1.4334 lineto + -2.7712 -1.4448 lineto + -2.8569 -1.4553 lineto + -2.9426 -1.4649 lineto + -3.0285 -1.4736 lineto + -3.1144 -1.4817 lineto + -3.2004 -1.4891 lineto + -3.2864 -1.4958 lineto + -3.3725 -1.5021 lineto + -3.4586 -1.5077 lineto + -3.5448 -1.513 lineto + -3.6309 -1.5178 lineto + -3.7171 -1.5221 lineto + -3.8033 -1.5262 lineto + -3.8896 -1.5299 lineto + -3.9758 -1.5332 lineto + -4.062 -1.5364 lineto + -4.1483 -1.5392 lineto + -4.2346 -1.5418 lineto + -4.3208 -1.5442 lineto + -4.4071 -1.5464 lineto + -4.4934 -1.5484 lineto + -4.5797 -1.5503 lineto + -4.666 -1.552 lineto + -4.7523 -1.5535 lineto + -4.8386 -1.555 lineto + -4.9248 -1.5563 lineto + -5.0111 -1.5575 lineto + -5.0974 -1.5586 lineto + -5.1837 -1.5596 lineto + -5.27 -1.5605 lineto + -5.3563 -1.5614 lineto + -5.4426 -1.5621 lineto + -5.5289 -1.5629 lineto + -5.6153 -1.5635 lineto + -5.7016 -1.5641 lineto + -5.7879 -1.5647 lineto + -5.8742 -1.5652 lineto + -5.9605 -1.5656 lineto + -6.0468 -1.5661 lineto + -6.1331 -1.5665 lineto + -6.2467 -1.5737 lineto + -6.378103166302659 -0.8074 lineto + -6.378103166302659 -0.43 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, -1.1579208923731617E77) +newpath + 1.4436 0.0 moveto + 1.4481 -0.1004 lineto + 1.4567 -0.1702 lineto + 1.4699 -0.241 lineto + 1.4963 -0.3389 lineto + 1.5177 -0.3999 lineto + 1.5473 -0.4697 lineto + 1.5874 -0.5481 lineto + 1.6407 -0.634 lineto + 1.6908 -0.7022 lineto + 1.7295 -0.7487 lineto + 1.7725 -0.7957 lineto + 1.82 -0.8425 lineto + 1.8718 -0.8889 lineto + 1.9279 -0.9343 lineto + 1.9879 -0.9783 lineto + 2.0516 -1.0207 lineto + 2.1187 -1.0612 lineto + 2.1888 -1.0997 lineto + 2.2616 -1.1359 lineto + 2.3367 -1.1699 lineto + 2.4139 -1.2017 lineto + 2.4929 -1.2314 lineto + 2.5734 -1.2589 lineto + 2.6551 -1.2843 lineto + 2.738 -1.3079 lineto + 2.8218 -1.3296 lineto + 2.9064 -1.3497 lineto + 2.9917 -1.3681 lineto + 3.0775 -1.385 lineto + 3.1638 -1.4006 lineto + 3.2505 -1.4149 lineto + 3.3375 -1.428 lineto + 3.4248 -1.4401 lineto + 3.5123 -1.4511 lineto + 3.6001 -1.4612 lineto + 3.688 -1.4705 lineto + 3.776 -1.479 lineto + 3.8642 -1.4867 lineto + 3.9524 -1.4939 lineto + 4.0408 -1.5004 lineto + 4.1292 -1.5064 lineto + 4.2176 -1.5118 lineto + 4.3062 -1.5168 lineto + 4.3947 -1.5214 lineto + 4.4833 -1.5256 lineto + 4.5719 -1.5294 lineto + 4.6605 -1.5329 lineto + 4.7492 -1.5362 lineto + 4.8379 -1.5391 lineto + 4.9266 -1.5418 lineto + 5.0153 -1.5442 lineto + 5.104 -1.5465 lineto + 5.1927 -1.5486 lineto + 5.2814 -1.5505 lineto + 5.3701 -1.5522 lineto + 5.4589 -1.5538 lineto + 5.5476 -1.5552 lineto + 5.6364 -1.5565 lineto + 5.7251 -1.5577 lineto + 5.8138 -1.5589 lineto + 5.9026 -1.5599 lineto + 5.9913 -1.5608 lineto + 6.0801 -1.5616 lineto + 6.1688 -1.5624 lineto + 6.2523 -1.5512 lineto + 6.378103166302659 -0.5285 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, -1.1579208923731617E77) +newpath + -1.4436 0.0 moveto + -1.4481 -0.1004 lineto + -1.4567 -0.1702 lineto + -1.4699 -0.241 lineto + -1.4963 -0.3389 lineto + -1.5177 -0.3999 lineto + -1.5473 -0.4697 lineto + -1.5874 -0.5481 lineto + -1.6407 -0.634 lineto + -1.6908 -0.7022 lineto + -1.7295 -0.7487 lineto + -1.7725 -0.7957 lineto + -1.82 -0.8425 lineto + -1.8718 -0.8889 lineto + -1.9279 -0.9343 lineto + -1.9879 -0.9783 lineto + -2.0516 -1.0207 lineto + -2.1187 -1.0612 lineto + -2.1888 -1.0997 lineto + -2.2616 -1.1359 lineto + -2.3367 -1.1699 lineto + -2.4139 -1.2017 lineto + -2.4929 -1.2314 lineto + -2.5734 -1.2589 lineto + -2.6551 -1.2843 lineto + -2.738 -1.3079 lineto + -2.8218 -1.3296 lineto + -2.9064 -1.3497 lineto + -2.9917 -1.3681 lineto + -3.0775 -1.385 lineto + -3.1638 -1.4006 lineto + -3.2505 -1.4149 lineto + -3.3375 -1.428 lineto + -3.4248 -1.4401 lineto + -3.5123 -1.4511 lineto + -3.6001 -1.4612 lineto + -3.688 -1.4705 lineto + -3.776 -1.479 lineto + -3.8642 -1.4867 lineto + -3.9524 -1.4939 lineto + -4.0408 -1.5004 lineto + -4.1292 -1.5064 lineto + -4.2176 -1.5118 lineto + -4.3062 -1.5168 lineto + -4.3947 -1.5214 lineto + -4.4833 -1.5256 lineto + -4.5719 -1.5294 lineto + -4.6605 -1.5329 lineto + -4.7492 -1.5362 lineto + -4.8379 -1.5391 lineto + -4.9266 -1.5418 lineto + -5.0153 -1.5442 lineto + -5.104 -1.5465 lineto + -5.1927 -1.5486 lineto + -5.2814 -1.5505 lineto + -5.3701 -1.5522 lineto + -5.4589 -1.5538 lineto + -5.5476 -1.5552 lineto + -5.6364 -1.5565 lineto + -5.7251 -1.5577 lineto + -5.8138 -1.5589 lineto + -5.9026 -1.5599 lineto + -5.9913 -1.5608 lineto + -6.0801 -1.5616 lineto + -6.1688 -1.5624 lineto + -6.2523 -1.5512 lineto + -6.378103166302659 -0.5285 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, -1.1579208923731617E77) +newpath + 1.8184 0.0 moveto + 1.8208 -0.071 lineto + 1.8283 -0.1438 lineto + 1.8383 -0.2039 lineto + 1.8582 -0.2873 lineto + 1.8848 -0.3689 lineto + 1.9109 -0.4335 lineto + 1.9464 -0.5062 lineto + 1.9934 -0.5865 lineto + 2.0542 -0.6729 lineto + 2.11 -0.7403 lineto + 2.1524 -0.7858 lineto + 2.1988 -0.8313 lineto + 2.2494 -0.8765 lineto + 2.304 -0.9208 lineto + 2.3625 -0.9641 lineto + 2.4245 -1.0059 lineto + 2.4898 -1.0461 lineto + 2.5582 -1.0844 lineto + 2.6294 -1.1208 lineto + 2.703 -1.1551 lineto + 2.7788 -1.1873 lineto + 2.8564 -1.2175 lineto + 2.9357 -1.2457 lineto + 3.0165 -1.2718 lineto + 3.0984 -1.2961 lineto + 3.1815 -1.3185 lineto + 3.2654 -1.3393 lineto + 3.35 -1.3584 lineto + 3.4353 -1.3761 lineto + 3.5212 -1.3923 lineto + 3.6075 -1.4072 lineto + 3.6942 -1.4209 lineto + 3.7813 -1.4335 lineto + 3.8686 -1.4451 lineto + 3.9561 -1.4557 lineto + 4.0439 -1.4654 lineto + 4.1318 -1.4743 lineto + 4.2198 -1.4825 lineto + 4.308 -1.4899 lineto + 4.3962 -1.4968 lineto + 4.4846 -1.503 lineto + 4.573 -1.5088 lineto + 4.6614 -1.514 lineto + 4.75 -1.5189 lineto + 4.8385 -1.5233 lineto + 4.9271 -1.5273 lineto + 5.0157 -1.531 lineto + 5.1043 -1.5344 lineto + 5.193 -1.5375 lineto + 5.2817 -1.5403 lineto + 5.3704 -1.5429 lineto + 5.4591 -1.5452 lineto + 5.5478 -1.5474 lineto + 5.6365 -1.5494 lineto + 5.7252 -1.5512 lineto + 5.8139 -1.5529 lineto + 5.9027 -1.5544 lineto + 5.9914 -1.5558 lineto + 6.0801 -1.5571 lineto + 6.1689 -1.5582 lineto + 6.2532 -1.5477 lineto + 6.378103166302659 -0.5285 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, -1.1579208923731617E77) +newpath + -1.8184 0.0 moveto + -1.8208 -0.071 lineto + -1.8283 -0.1438 lineto + -1.8383 -0.2039 lineto + -1.8582 -0.2873 lineto + -1.8848 -0.3689 lineto + -1.9109 -0.4335 lineto + -1.9464 -0.5062 lineto + -1.9934 -0.5865 lineto + -2.0542 -0.6729 lineto + -2.11 -0.7403 lineto + -2.1524 -0.7858 lineto + -2.1988 -0.8313 lineto + -2.2494 -0.8765 lineto + -2.304 -0.9208 lineto + -2.3625 -0.9641 lineto + -2.4245 -1.0059 lineto + -2.4898 -1.0461 lineto + -2.5582 -1.0844 lineto + -2.6294 -1.1208 lineto + -2.703 -1.1551 lineto + -2.7788 -1.1873 lineto + -2.8564 -1.2175 lineto + -2.9357 -1.2457 lineto + -3.0165 -1.2718 lineto + -3.0984 -1.2961 lineto + -3.1815 -1.3185 lineto + -3.2654 -1.3393 lineto + -3.35 -1.3584 lineto + -3.4353 -1.3761 lineto + -3.5212 -1.3923 lineto + -3.6075 -1.4072 lineto + -3.6942 -1.4209 lineto + -3.7813 -1.4335 lineto + -3.8686 -1.4451 lineto + -3.9561 -1.4557 lineto + -4.0439 -1.4654 lineto + -4.1318 -1.4743 lineto + -4.2198 -1.4825 lineto + -4.308 -1.4899 lineto + -4.3962 -1.4968 lineto + -4.4846 -1.503 lineto + -4.573 -1.5088 lineto + -4.6614 -1.514 lineto + -4.75 -1.5189 lineto + -4.8385 -1.5233 lineto + -4.9271 -1.5273 lineto + -5.0157 -1.531 lineto + -5.1043 -1.5344 lineto + -5.193 -1.5375 lineto + -5.2817 -1.5403 lineto + -5.3704 -1.5429 lineto + -5.4591 -1.5452 lineto + -5.5478 -1.5474 lineto + -5.6365 -1.5494 lineto + -5.7252 -1.5512 lineto + -5.8139 -1.5529 lineto + -5.9027 -1.5544 lineto + -5.9914 -1.5558 lineto + -6.0801 -1.5571 lineto + -6.1689 -1.5582 lineto + -6.2532 -1.5477 lineto + -6.378103166302659 -0.5285 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Real axis +newpath -5 0 moveto 5 0 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 1.0 0.12 moveto 1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.0 0.12 moveto -1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 2.0 0.12 moveto 2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -2.0 0.12 moveto -2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.0 0.12 moveto 3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.0 0.12 moveto -3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 4.0 0.12 moveto 4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -4.0 0.12 moveto -4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 1.5707963267948966 0.09 moveto 1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.5707963267948966 0.09 moveto -1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.141592653589793 0.09 moveto 3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.141592653589793 0.09 moveto -3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +% Imaginary axis +newpath 0 -5 moveto 0 5 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 0.12 1.0 moveto -0.12 1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -1.0 moveto -0.12 -1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 2.0 moveto -0.12 2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -2.0 moveto -0.12 -2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 3.0 moveto -0.12 3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -3.0 moveto -0.12 -3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 4.0 moveto -0.12 4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -4.0 moveto -0.12 -4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 1.5707963267948966 moveto -0.09 1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -1.5707963267948966 moveto -0.09 -1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 3.141592653589793 moveto -0.09 3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -3.141592653589793 moveto -0.09 -3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +% End of PostScript file for plot of function ASINH +%%EndDocument + @endspecial 445 x(The)e(p)q(eaco)q(c)o(k)h(sleeps.)18 +b(Because)13 b(arcsinh)8 b Fq(iz)14 b FA(=)d Fq(i)f FA(arcsin)e +Fq(z)d FA(,)11 b(the)h(graph)h(of)e Fj(asinh)f FA(is)j(related)g(to)0 +2257 y(that)f(of)g Fj(asin)e FA(b)o(y)i(pre-)g(and)g(p)q(ost-rotations) +i(of)e(the)g(complex)h(plane)g(in)g(the)f(same)g(w)o(a)o(y)g(as)g(for)0 +2302 y Fj(sinh)f FA(and)j Fj(sin)p FA(.)p 0 2329 V -33 +2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 355 379 +355 378 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(355)p +0 255 1395 2 v 0 322 a Fm(Figure)14 b(12-15:)j FA(Illustration)f(of)d +(the)g(Range)h(of)f(the)g(Hyp)q(erb)q(olic)i(Cosine)f(F)m(unction)0 +1766 y @beginspecial @setspecial +%%BeginDocument: cosh-plot.ps +% PostScript file for plot of function COSH +% Plot is to fit in a region 4.666666666666667 inches square +% showing axes extending 4.1 units from the origin. + +40.97560975609756 40.97560975609756 scale +4.1 4.1 translate +newpath + -4.1 -4.1 moveto + 4.1 -4.1 lineto + 4.1 4.1 lineto + -4.1 4.1 lineto + closepath +clip +% Moby grid for function COSH +% Annulus 0.25 0.5 4 0.97 0.45 +% Sector from 4.7124 to 6.2832 (quadrant 3) +newpath + 0.9689 0.0 moveto + 0.9305 0.0 lineto + %middle radial + 0.9305 0.0 lineto + 0.8776 0.0 lineto + %end radial + 0.8776 0.0 lineto + 0.9091 -0.0831 lineto + 0.9974 -0.125 lineto + %middle circumferential + 0.9974 -0.125 lineto + 1.0859 -0.0933 lineto + 1.1276 0.0 lineto + %end circumferential + 1.1276 0.0 lineto + 1.0711 0.0 lineto + %middle radial + 1.0711 0.0 lineto + 1.0314 0.0 lineto + %end radial + 1.0314 0.0 lineto + 0.9998 -0.0312 lineto + %middle circumferential + 0.9998 -0.0312 lineto + 0.9689 0.0 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 3.1416 to 4.7124 (quadrant 2) +newpath + 1.0314 0.0 moveto + 1.0711 0.0 lineto + %middle radial + 1.0711 0.0 lineto + 1.1276 0.0 lineto + %end radial + 1.1276 0.0 lineto + 1.0924 0.087 lineto + 0.9974 0.125 lineto + %middle circumferential + 0.9974 0.125 lineto + 0.9147 0.0889 lineto + 0.8776 0.0 lineto + %end circumferential + 0.8776 0.0 lineto + 0.9305 0.0 lineto + %middle radial + 0.9305 0.0 lineto + 0.9689 0.0 lineto + %end radial + 0.9689 0.0 lineto + 0.9998 0.0312 lineto + %middle circumferential + 0.9998 0.0312 lineto + 1.0314 0.0 lineto + %end circumferential + closepath +currentgray 0.6233333333333334 setgray fill setgray +% Sector from 1.5708 to 3.1416 (quadrant 1) +newpath + 0.9689 0.0 moveto + 0.9305 0.0 lineto + %middle radial + 0.9305 0.0 lineto + 0.8776 0.0 lineto + %end radial + 0.8776 0.0 lineto + 0.9053 -0.0786 lineto + 0.9974 -0.125 lineto + %middle circumferential + 0.9974 -0.125 lineto + 1.083 -0.0958 lineto + 1.1276 0.0 lineto + %end circumferential + 1.1276 0.0 lineto + 1.0711 0.0 lineto + %middle radial + 1.0711 0.0 lineto + 1.0314 0.0 lineto + %end radial + 1.0314 0.0 lineto + 0.9998 -0.0312 lineto + %middle circumferential + 0.9998 -0.0312 lineto + 0.9689 0.0 lineto + %end circumferential + closepath +currentgray 0.7966666666666668 setgray fill setgray +% Sector from 0.0 to 1.5708 (quadrant 0) +newpath + 1.0314 0.0 moveto + 1.0711 0.0 lineto + %middle radial + 1.0711 0.0 lineto + 1.1276 0.0 lineto + %end radial + 1.1276 0.0 lineto + 1.1186 0.0467 lineto + 1.056 0.1131 lineto + 0.9974 0.125 lineto + %middle circumferential + 0.9974 0.125 lineto + 0.9236 0.097 lineto + 0.8815 0.0309 lineto + 0.8776 0.0 lineto + %end circumferential + 0.8776 0.0 lineto + 0.9305 0.0 lineto + %middle radial + 0.9305 0.0 lineto + 0.9689 0.0 lineto + %end radial + 0.9689 0.0 lineto + 0.9998 0.0312 lineto + %middle circumferential + 0.9998 0.0312 lineto + 1.0314 0.0 lineto + %end circumferential + closepath +currentgray 0.9700000000000001 setgray fill setgray +% Annulus 0.75 1.0 8 0.97 0.45 +% Sector from 5.4978 to 6.2832 (quadrant 3) +newpath + 0.9868 -0.281 moveto + 0.9756 -0.3822 lineto + %middle radial + 0.9756 -0.3822 lineto + 0.9636 -0.4666 lineto + 0.9584 -0.4986 lineto + %end radial + 0.9584 -0.4986 lineto + 1.0557 -0.5053 lineto + 1.1571 -0.4917 lineto + 1.2579 -0.4557 lineto + 1.3525 -0.3962 lineto + %middle circumferential + 1.3525 -0.3962 lineto + 1.4297 -0.3198 lineto + 1.4903 -0.2254 lineto + 1.5294 -0.117 lineto + 1.5396 -0.0592 lineto + 1.5431 0.0 lineto + %end circumferential + 1.5431 0.0 lineto + 1.4079 0.0 lineto + %middle radial + 1.4079 0.0 lineto + 1.2947 0.0 lineto + %end radial + 1.2947 0.0 lineto + 1.293 -0.0311 lineto + 1.2797 -0.0909 lineto + 1.2545 -0.1453 lineto + 1.1987 -0.2122 lineto + %middle circumferential + 1.1987 -0.2122 lineto + 1.1496 -0.2468 lineto + 1.0411 -0.2808 lineto + 0.9868 -0.281 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 4.7124 to 5.4978 (quadrant 3) +newpath + 0.7317 0.0 moveto + 0.641 0.0 lineto + %middle radial + 0.641 0.0 lineto + 0.5403 0.0 lineto + %end radial + 0.5403 0.0 lineto + 0.5466 -0.0799 lineto + 0.5659 -0.16 lineto + 0.5993 -0.2384 lineto + 0.6474 -0.3129 lineto + %middle circumferential + 0.6474 -0.3129 lineto + 0.7058 -0.3759 lineto + 0.7776 -0.4302 lineto + 0.8623 -0.4724 lineto + 0.9584 -0.4986 lineto + %end circumferential + 0.9584 -0.4986 lineto + 0.9636 -0.4666 lineto + 0.9756 -0.3822 lineto + %middle radial + 0.9756 -0.3822 lineto + 0.9868 -0.281 lineto + %end radial + 0.9868 -0.281 lineto + 0.8815 -0.2495 lineto + 0.8013 -0.1859 lineto + %middle circumferential + 0.8013 -0.1859 lineto + 0.7487 -0.0966 lineto + 0.7317 0.0 lineto + %end circumferential + closepath +currentgray 0.5242857142857142 setgray fill setgray +% Sector from 3.927 to 4.7124 (quadrant 2) +newpath + 0.9868 0.281 moveto + 0.9756 0.3822 lineto + %middle radial + 0.9756 0.3822 lineto + 0.9636 0.4666 lineto + 0.9584 0.4986 lineto + %end radial + 0.9584 0.4986 lineto + 0.8679 0.4745 lineto + 0.7842 0.4343 lineto + 0.71 0.3797 lineto + 0.6474 0.3129 lineto + %middle circumferential + 0.6474 0.3129 lineto + 0.6018 0.2431 lineto + 0.5682 0.1666 lineto + 0.5474 0.085 lineto + 0.5403 0.0 lineto + %end circumferential + 0.5403 0.0 lineto + 0.641 0.0 lineto + %middle radial + 0.641 0.0 lineto + 0.7317 0.0 lineto + %end radial + 0.7317 0.0 lineto + 0.7502 0.1006 lineto + 0.8013 0.1859 lineto + %middle circumferential + 0.8013 0.1859 lineto + 0.8855 0.2516 lineto + 0.9868 0.281 lineto + %end circumferential + closepath +currentgray 0.5985714285714285 setgray fill setgray +% Sector from 3.1416 to 3.927 (quadrant 2) +newpath + 1.2947 0.0 moveto + 1.4079 0.0 lineto + %middle radial + 1.4079 0.0 lineto + 1.5431 0.0 lineto + %end radial + 1.5431 0.0 lineto + 1.5312 0.1094 lineto + 1.4948 0.2161 lineto + 1.4345 0.3137 lineto + 1.3525 0.3962 lineto + %middle circumferential + 1.3525 0.3962 lineto + 1.2642 0.4526 lineto + 1.166 0.4895 lineto + 1.0624 0.505 lineto + 0.9584 0.4986 lineto + %end circumferential + 0.9584 0.4986 lineto + 0.9636 0.4666 lineto + 0.9756 0.3822 lineto + %middle radial + 0.9756 0.3822 lineto + 0.9868 0.281 lineto + %end radial + 0.9868 0.281 lineto + 1.101 0.2681 lineto + 1.1987 0.2122 lineto + %middle circumferential + 1.1987 0.2122 lineto + 1.2404 0.1665 lineto + 1.2707 0.114 lineto + 1.2888 0.0575 lineto + 1.2947 0.0 lineto + %end circumferential + closepath +currentgray 0.6728571428571428 setgray fill setgray +% Sector from 2.3562 to 3.1416 (quadrant 1) +newpath + 0.9868 -0.281 moveto + 0.9756 -0.3822 lineto + %middle radial + 0.9756 -0.3822 lineto + 0.9636 -0.4666 lineto + 0.9584 -0.4986 lineto + %end radial + 0.9584 -0.4986 lineto + 1.0045 -0.5042 lineto + 1.1021 -0.5017 lineto + 1.2039 -0.478 lineto + 1.3046 -0.43 lineto + 1.3525 -0.3962 lineto + %middle circumferential + 1.3525 -0.3962 lineto + 1.4279 -0.322 lineto + 1.4886 -0.2289 lineto + 1.5209 -0.1484 lineto + 1.5349 -0.0907 lineto + 1.5422 -0.0307 lineto + 1.5431 0.0 lineto + %end circumferential + 1.5431 0.0 lineto + 1.4079 0.0 lineto + %middle radial + 1.4079 0.0 lineto + 1.2947 0.0 lineto + %end radial + 1.2947 0.0 lineto + 1.2929 -0.032 lineto + 1.279 -0.0928 lineto + 1.2535 -0.147 lineto + 1.1987 -0.2122 lineto + %middle circumferential + 1.1987 -0.2122 lineto + 1.148 -0.2477 lineto + 1.0939 -0.2704 lineto + 0.9868 -0.281 lineto + %end circumferential + closepath +currentgray 0.7471428571428572 setgray fill setgray +% Sector from 1.5708 to 2.3562 (quadrant 1) +newpath + 0.7317 0.0 moveto + 0.641 0.0 lineto + %middle radial + 0.641 0.0 lineto + 0.5403 0.0 lineto + %end radial + 0.5403 0.0 lineto + 0.5459 -0.0756 lineto + 0.5641 -0.1543 lineto + 0.5971 -0.2342 lineto + 0.6474 -0.3129 lineto + %middle circumferential + 0.6474 -0.3129 lineto + 0.7032 -0.3735 lineto + 0.7733 -0.4275 lineto + 0.8586 -0.4709 lineto + 0.9584 -0.4986 lineto + %end circumferential + 0.9584 -0.4986 lineto + 0.9636 -0.4666 lineto + 0.9756 -0.3822 lineto + %middle radial + 0.9756 -0.3822 lineto + 0.9868 -0.281 lineto + %end radial + 0.9868 -0.281 lineto + 0.879 -0.2481 lineto + 0.8013 -0.1859 lineto + %middle circumferential + 0.8013 -0.1859 lineto + 0.7475 -0.0932 lineto + 0.7317 0.0 lineto + %end circumferential + closepath +currentgray 0.8214285714285714 setgray fill setgray +% Sector from 0.7854 to 1.5708 (quadrant 0) +newpath + 0.9868 0.281 moveto + 0.9756 0.3822 lineto + %middle radial + 0.9756 0.3822 lineto + 0.9636 0.4666 lineto + 0.9584 0.4986 lineto + %end radial + 0.9584 0.4986 lineto + 0.8779 0.4781 lineto + 0.7966 0.4415 lineto + 0.7182 0.3868 lineto + 0.6474 0.3129 lineto + %middle circumferential + 0.6474 0.3129 lineto + 0.6048 0.2485 lineto + 0.571 0.1745 lineto + 0.5485 0.0914 lineto + 0.5403 0.0 lineto + %end circumferential + 0.5403 0.0 lineto + 0.641 0.0 lineto + %middle radial + 0.641 0.0 lineto + 0.7317 0.0 lineto + %end radial + 0.7317 0.0 lineto + 0.752 0.1053 lineto + 0.8013 0.1859 lineto + %middle circumferential + 0.8013 0.1859 lineto + 0.8455 0.2267 lineto + 0.9408 0.2728 lineto + 0.9868 0.281 lineto + %end circumferential + closepath +currentgray 0.8957142857142858 setgray fill setgray +% Sector from 0.0 to 0.7854 (quadrant 0) +newpath + 1.2947 0.0 moveto + 1.4079 0.0 lineto + %middle radial + 1.4079 0.0 lineto + 1.5431 0.0 lineto + %end radial + 1.5431 0.0 lineto + 1.5404 0.0526 lineto + 1.5194 0.1532 lineto + 1.4949 0.216 lineto + 1.446 0.2985 lineto + 1.4065 0.3463 lineto + 1.3525 0.3962 lineto + %middle circumferential + 1.3525 0.3962 lineto + 1.2838 0.4423 lineto + 1.1954 0.4809 lineto + 1.0862 0.5034 lineto + 1.0242 0.5052 lineto + 0.9584 0.4986 lineto + %end circumferential + 0.9584 0.4986 lineto + 0.9636 0.4666 lineto + 0.9756 0.3822 lineto + %middle radial + 0.9756 0.3822 lineto + 0.9868 0.281 lineto + %end radial + 0.9868 0.281 lineto + 1.0578 0.2786 lineto + 1.1167 0.2624 lineto + 1.1987 0.2122 lineto + %middle circumferential + 1.1987 0.2122 lineto + 1.2462 0.1583 lineto + 1.2829 0.0806 lineto + 1.2944 0.0134 lineto + 1.2947 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 1.5708 2.0 16 0.97 0.45 +% Sector from 5.8905 to 6.2832 (quadrant 3) +newpath + 1.8567 -1.1408 moveto + 1.8834 -1.1874 lineto + 1.9392 -1.2873 lineto + 1.9683 -1.3409 lineto + 1.9982 -1.397 lineto + 2.0288 -1.4558 lineto + 2.0603 -1.5175 lineto + 2.0926 -1.5821 lineto + %middle radial + 2.0926 -1.5821 lineto + 2.1219 -1.6421 lineto + 2.1518 -1.7047 lineto + 2.1824 -1.7701 lineto + 2.2136 -1.8383 lineto + 2.2455 -1.9097 lineto + 2.278 -1.9842 lineto + 2.3111 -2.0621 lineto + 2.3448 -2.1435 lineto + %end radial + 2.3448 -2.1435 lineto + 2.4155 -2.1132 lineto + 2.4858 -2.0801 lineto + 2.5556 -2.0441 lineto + 2.6246 -2.0054 lineto + 2.6929 -1.9638 lineto + 2.7603 -1.9194 lineto + 2.8266 -1.8722 lineto + 2.8917 -1.8222 lineto + 2.9555 -1.7694 lineto + 3.0178 -1.7138 lineto + 3.0785 -1.6556 lineto + 3.1374 -1.5947 lineto + 3.1945 -1.5311 lineto + 3.2496 -1.4651 lineto + 3.3025 -1.3965 lineto + 3.3531 -1.3255 lineto + %middle circumferential + 3.3531 -1.3255 lineto + 3.3998 -1.2546 lineto + 3.4441 -1.1815 lineto + 3.486 -1.1065 lineto + 3.5252 -1.0295 lineto + 3.5618 -0.9508 lineto + 3.5956 -0.8703 lineto + 3.6265 -0.7883 lineto + 3.6544 -0.7048 lineto + 3.6792 -0.6199 lineto + 3.701 -0.5339 lineto + 3.7195 -0.4467 lineto + 3.7348 -0.3587 lineto + 3.7467 -0.2698 lineto + 3.7553 -0.1803 lineto + 3.7605 -0.0903 lineto + 3.7622 0.0 lineto + %end circumferential + 3.7622 0.0 lineto + 3.0648 0.0 lineto + %middle radial + 3.0648 0.0 lineto + 2.5092 0.0 lineto + %end radial + 2.5092 0.0 lineto + 2.5061 -0.0899 lineto + 2.4971 -0.1789 lineto + 2.4822 -0.2667 lineto + 2.4616 -0.3527 lineto + 2.4356 -0.4366 lineto + 2.4043 -0.518 lineto + 2.368 -0.5964 lineto + 2.3271 -0.6717 lineto + %middle circumferential + 2.3271 -0.6717 lineto + 2.2804 -0.7458 lineto + 2.2293 -0.8158 lineto + 2.1745 -0.8815 lineto + 2.1162 -0.9428 lineto + 2.0548 -0.9995 lineto + 1.9908 -1.0514 lineto + 1.9247 -1.0985 lineto + 1.8567 -1.1408 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.4978 to 5.8905 (quadrant 3) +newpath + 0.7472 -1.2129 moveto + 0.7129 -1.29 lineto + 0.6738 -1.3717 lineto + 0.6295 -1.4579 lineto + 0.5792 -1.5489 lineto + %middle radial + 0.5792 -1.5489 lineto + 0.5289 -1.6337 lineto + 0.4728 -1.7223 lineto + 0.4099 -1.8149 lineto + 0.3758 -1.8627 lineto + 0.3397 -1.9114 lineto + %end radial + 0.3397 -1.9114 lineto + 0.3823 -1.9426 lineto + 0.4724 -2.0028 lineto + 0.5689 -2.0596 lineto + 0.6719 -2.1122 lineto + 0.7258 -2.1368 lineto + 0.7812 -2.16 lineto + 0.8383 -2.1819 lineto + 0.8969 -2.2023 lineto + 0.9571 -2.2211 lineto + 1.0187 -2.2382 lineto + 1.0818 -2.2536 lineto + 1.1463 -2.2671 lineto + 1.2121 -2.2787 lineto + %middle circumferential + 1.2121 -2.2787 lineto + 1.277 -2.2879 lineto + 1.343 -2.2951 lineto + 1.4101 -2.3003 lineto + 1.4782 -2.3033 lineto + 1.5473 -2.304 lineto + 1.6173 -2.3024 lineto + 1.6881 -2.2984 lineto + 1.7595 -2.292 lineto + 1.8316 -2.283 lineto + 1.9043 -2.2713 lineto + 1.9773 -2.257 lineto + 2.0507 -2.24 lineto + 2.1242 -2.2202 lineto + 2.1978 -2.1975 lineto + 2.2714 -2.172 lineto + 2.3448 -2.1435 lineto + %end circumferential + 2.3448 -2.1435 lineto + 2.3111 -2.0621 lineto + 2.278 -1.9842 lineto + 2.2455 -1.9097 lineto + 2.2136 -1.8383 lineto + 2.1824 -1.7701 lineto + 2.1518 -1.7047 lineto + 2.1219 -1.6421 lineto + 2.0926 -1.5821 lineto + %middle radial + 2.0926 -1.5821 lineto + 2.0603 -1.5175 lineto + 2.0288 -1.4558 lineto + 1.9982 -1.397 lineto + 1.9683 -1.3409 lineto + 1.9392 -1.2873 lineto + 1.8834 -1.1874 lineto + 1.8567 -1.1408 lineto + %end radial + 1.8567 -1.1408 lineto + 1.7849 -1.1793 lineto + 1.7121 -1.2127 lineto + 1.6385 -1.241 lineto + 1.5647 -1.2642 lineto + 1.491 -1.2826 lineto + 1.4177 -1.2963 lineto + 1.3451 -1.3055 lineto + 1.2735 -1.3102 lineto + %middle circumferential + 1.2735 -1.3102 lineto + 1.2007 -1.3109 lineto + 1.1296 -1.3073 lineto + 1.0603 -1.2998 lineto + 0.9931 -1.2886 lineto + 0.928 -1.2741 lineto + 0.8653 -1.2564 lineto + 0.805 -1.2359 lineto + 0.7472 -1.2129 lineto + %end circumferential + closepath +currentgray 0.48466666666666664 setgray fill setgray +% Sector from 5.1051 to 5.4978 (quadrant 3) +newpath + 0.1415 -0.6334 moveto + 0.0867 -0.6596 lineto + 0.0286 -0.6855 lineto + -0.0328 -0.7108 lineto + -0.0977 -0.7354 lineto + %middle radial + -0.0977 -0.7354 lineto + -0.1582 -0.7562 lineto + -0.2217 -0.7758 lineto + -0.2881 -0.7939 lineto + -0.3575 -0.8102 lineto + %end radial + -0.3575 -0.8102 lineto + -0.3434 -0.8714 lineto + -0.3267 -0.9344 lineto + -0.3072 -0.9993 lineto + -0.2845 -1.066 lineto + -0.2583 -1.1345 lineto + -0.2282 -1.2045 lineto + -0.1939 -1.2759 lineto + -0.1549 -1.3486 lineto + %middle circumferential + -0.1549 -1.3486 lineto + -0.1126 -1.4195 lineto + -0.0654 -1.491 lineto + -0.0128 -1.5628 lineto + 0.0453 -1.6346 lineto + 0.1094 -1.7058 lineto + 0.1796 -1.776 lineto + 0.2563 -1.8448 lineto + 0.3397 -1.9114 lineto + %end circumferential + 0.3397 -1.9114 lineto + 0.3758 -1.8627 lineto + 0.4099 -1.8149 lineto + 0.4728 -1.7223 lineto + 0.5289 -1.6337 lineto + 0.5792 -1.5489 lineto + %middle radial + 0.5792 -1.5489 lineto + 0.6295 -1.4579 lineto + 0.6738 -1.3717 lineto + 0.7129 -1.29 lineto + 0.7472 -1.2129 lineto + %end radial + 0.7472 -1.2129 lineto + 0.7183 -1.2 lineto + 0.6626 -1.1724 lineto + 0.6096 -1.1428 lineto + 0.5355 -1.095 lineto + 0.4463 -1.0263 lineto + 0.3678 -0.9533 lineto + %middle circumferential + 0.3678 -0.9533 lineto + 0.297 -0.8748 lineto + 0.2363 -0.7946 lineto + 0.1847 -0.7139 lineto + 0.1415 -0.6334 lineto + %end circumferential + closepath +currentgray 0.5193333333333334 setgray fill setgray +% Sector from 4.7124 to 5.1051 (quadrant 3) +newpath + 0.0 0.0 moveto + -0.213 0.0 lineto + %middle radial + -0.213 0.0 lineto + -0.4161 0.0 lineto + %end radial + -0.4161 0.0 lineto + -0.416 -0.0881 lineto + -0.4152 -0.1783 lineto + -0.4136 -0.2719 lineto + -0.4103 -0.37 lineto + %middle circumferential + -0.4103 -0.37 lineto + -0.4045 -0.4697 lineto + -0.3949 -0.5758 lineto + -0.3799 -0.6891 lineto + -0.3698 -0.7487 lineto + -0.3575 -0.8102 lineto + %end circumferential + -0.3575 -0.8102 lineto + -0.2881 -0.7939 lineto + -0.2217 -0.7758 lineto + -0.1582 -0.7562 lineto + -0.0977 -0.7354 lineto + %middle radial + -0.0977 -0.7354 lineto + -0.0328 -0.7108 lineto + 0.0286 -0.6855 lineto + 0.0867 -0.6596 lineto + 0.1415 -0.6334 lineto + %end radial + 0.1415 -0.6334 lineto + 0.1043 -0.5507 lineto + 0.0742 -0.4693 lineto + 0.0502 -0.3894 lineto + 0.0316 -0.3111 lineto + %middle circumferential + 0.0316 -0.3111 lineto + 0.0173 -0.2313 lineto + 0.0075 -0.153 lineto + 0.0018 -0.076 lineto + 0.0 0.0 lineto + %end circumferential + closepath +currentgray 0.554 setgray fill setgray +% Sector from 4.3197 to 4.7124 (quadrant 2) +newpath + 0.1415 0.6334 moveto + 0.0867 0.6596 lineto + 0.0286 0.6855 lineto + -0.0328 0.7108 lineto + -0.0977 0.7354 lineto + %middle radial + -0.0977 0.7354 lineto + -0.1582 0.7562 lineto + -0.2217 0.7758 lineto + -0.2881 0.7939 lineto + -0.3575 0.8102 lineto + %end radial + -0.3575 0.8102 lineto + -0.3694 0.7508 lineto + -0.3794 0.6927 lineto + -0.3944 0.5804 lineto + -0.4043 0.473 lineto + -0.4103 0.37 lineto + %middle circumferential + -0.4103 0.37 lineto + -0.4135 0.2748 lineto + -0.4152 0.1821 lineto + -0.4159 0.0909 lineto + -0.4161 0.0 lineto + %end circumferential + -0.4161 0.0 lineto + -0.213 0.0 lineto + %middle radial + -0.213 0.0 lineto + 0.0 0.0 lineto + %end radial + 0.0 0.0 lineto + 0.002 0.0784 lineto + 0.0078 0.1562 lineto + 0.0176 0.2337 lineto + 0.0316 0.3111 lineto + %middle circumferential + 0.0316 0.3111 lineto + 0.0509 0.3919 lineto + 0.0753 0.4727 lineto + 0.1054 0.5532 lineto + 0.1415 0.6334 lineto + %end circumferential + closepath +currentgray 0.5886666666666667 setgray fill setgray +% Sector from 3.927 to 4.3197 (quadrant 2) +newpath + 0.7472 1.2129 moveto + 0.7129 1.29 lineto + 0.6738 1.3717 lineto + 0.6295 1.4579 lineto + 0.5792 1.5489 lineto + %middle radial + 0.5792 1.5489 lineto + 0.5289 1.6337 lineto + 0.4728 1.7223 lineto + 0.4099 1.8149 lineto + 0.3758 1.8627 lineto + 0.3397 1.9114 lineto + %end radial + 0.3397 1.9114 lineto + 0.2593 1.8472 lineto + 0.1843 1.7804 lineto + 0.1147 1.7114 lineto + 0.0505 1.6407 lineto + -0.0084 1.5686 lineto + -0.0622 1.4957 lineto + -0.1109 1.4222 lineto + -0.1549 1.3486 lineto + %middle circumferential + -0.1549 1.3486 lineto + -0.1925 1.2785 lineto + -0.2262 1.2089 lineto + -0.2561 1.1399 lineto + -0.2825 1.0717 lineto + -0.3056 1.0045 lineto + -0.3256 0.9385 lineto + -0.3428 0.8737 lineto + -0.3575 0.8102 lineto + %end circumferential + -0.3575 0.8102 lineto + -0.2881 0.7939 lineto + -0.2217 0.7758 lineto + -0.1582 0.7562 lineto + -0.0977 0.7354 lineto + %middle radial + -0.0977 0.7354 lineto + -0.0328 0.7108 lineto + 0.0286 0.6855 lineto + 0.0867 0.6596 lineto + 0.1415 0.6334 lineto + %end radial + 0.1415 0.6334 lineto + 0.1863 0.7165 lineto + 0.2386 0.798 lineto + 0.299 0.8773 lineto + 0.3678 0.9533 lineto + %middle circumferential + 0.3678 0.9533 lineto + 0.449 1.0286 lineto + 0.5395 1.0978 lineto + 0.6134 1.145 lineto + 0.6654 1.1739 lineto + 0.7194 1.2005 lineto + 0.7472 1.2129 lineto + %end circumferential + closepath +currentgray 0.6233333333333333 setgray fill setgray +% Sector from 3.5343 to 3.927 (quadrant 2) +newpath + 1.8567 1.1408 moveto + 1.8834 1.1874 lineto + 1.9392 1.2873 lineto + 1.9683 1.3409 lineto + 1.9982 1.397 lineto + 2.0288 1.4558 lineto + 2.0603 1.5175 lineto + 2.0926 1.5821 lineto + %middle radial + 2.0926 1.5821 lineto + 2.1219 1.6421 lineto + 2.1518 1.7047 lineto + 2.1824 1.7701 lineto + 2.2136 1.8383 lineto + 2.2455 1.9097 lineto + 2.278 1.9842 lineto + 2.3111 2.0621 lineto + 2.3448 2.1435 lineto + %end radial + 2.3448 2.1435 lineto + 2.2744 2.1709 lineto + 2.2034 2.1957 lineto + 2.132 2.2179 lineto + 2.0603 2.2376 lineto + 1.9883 2.2547 lineto + 1.9162 2.2692 lineto + 1.8442 2.2811 lineto + 1.7722 2.2906 lineto + 1.7004 2.2975 lineto + 1.629 2.3019 lineto + 1.5579 2.3039 lineto + 1.4874 2.3035 lineto + 1.4174 2.3007 lineto + 1.3482 2.2956 lineto + 1.2797 2.2883 lineto + 1.2121 2.2787 lineto + %middle circumferential + 1.2121 2.2787 lineto + 1.1489 2.2676 lineto + 1.0865 2.2547 lineto + 1.0252 2.2399 lineto + 0.9649 2.2234 lineto + 0.9057 2.2052 lineto + 0.8477 2.1853 lineto + 0.7908 2.1638 lineto + 0.7352 2.1409 lineto + 0.6809 2.1165 lineto + 0.628 2.0907 lineto + 0.5261 2.0354 lineto + 0.43 1.9754 lineto + 0.3397 1.9114 lineto + %end circumferential + 0.3397 1.9114 lineto + 0.3758 1.8627 lineto + 0.4099 1.8149 lineto + 0.4728 1.7223 lineto + 0.5289 1.6337 lineto + 0.5792 1.5489 lineto + %middle radial + 0.5792 1.5489 lineto + 0.6295 1.4579 lineto + 0.6738 1.3717 lineto + 0.7129 1.29 lineto + 0.7472 1.2129 lineto + %end radial + 0.7472 1.2129 lineto + 0.8073 1.2368 lineto + 0.8693 1.2577 lineto + 0.9332 1.2754 lineto + 0.9988 1.2897 lineto + 1.0658 1.3005 lineto + 1.1341 1.3076 lineto + 1.2034 1.3109 lineto + 1.2735 1.3102 lineto + %middle circumferential + 1.2735 1.3102 lineto + 1.3479 1.3052 lineto + 1.4225 1.2956 lineto + 1.4971 1.2813 lineto + 1.5712 1.2624 lineto + 1.6446 1.2388 lineto + 1.7168 1.2107 lineto + 1.7876 1.1779 lineto + 1.8567 1.1408 lineto + %end circumferential + closepath +currentgray 0.658 setgray fill setgray +% Sector from 3.1416 to 3.5343 (quadrant 2) +newpath + 2.5092 0.0 moveto + 3.0648 0.0 lineto + %middle radial + 3.0648 0.0 lineto + 3.7622 0.0 lineto + %end radial + 3.7622 0.0 lineto + 3.7606 0.0865 lineto + 3.7558 0.1732 lineto + 3.7478 0.2599 lineto + 3.7366 0.3465 lineto + 3.7221 0.4329 lineto + 3.7044 0.5189 lineto + 3.6834 0.6044 lineto + 3.6592 0.6892 lineto + 3.6318 0.7732 lineto + 3.6012 0.8562 lineto + 3.5674 0.938 lineto + 3.5305 1.0186 lineto + 3.4906 1.0978 lineto + 3.4476 1.1755 lineto + 3.4018 1.2514 lineto + 3.3531 1.3255 lineto + %middle circumferential + 3.3531 1.3255 lineto + 3.3046 1.3936 lineto + 3.2537 1.4598 lineto + 3.2006 1.5241 lineto + 3.1452 1.5863 lineto + 3.0877 1.6464 lineto + 3.0281 1.7042 lineto + 2.9666 1.7598 lineto + 2.9033 1.8129 lineto + 2.8383 1.8635 lineto + 2.7716 1.9116 lineto + 2.7035 1.9571 lineto + 2.634 1.9999 lineto + 2.5633 2.04 lineto + 2.4914 2.0773 lineto + 2.4185 2.1118 lineto + 2.3448 2.1435 lineto + %end circumferential + 2.3448 2.1435 lineto + 2.3111 2.0621 lineto + 2.278 1.9842 lineto + 2.2455 1.9097 lineto + 2.2136 1.8383 lineto + 2.1824 1.7701 lineto + 2.1518 1.7047 lineto + 2.1219 1.6421 lineto + 2.0926 1.5821 lineto + %middle radial + 2.0926 1.5821 lineto + 2.0603 1.5175 lineto + 2.0288 1.4558 lineto + 1.9982 1.397 lineto + 1.9683 1.3409 lineto + 1.9392 1.2873 lineto + 1.8834 1.1874 lineto + 1.8567 1.1408 lineto + %end radial + 1.8567 1.1408 lineto + 1.9273 1.0967 lineto + 1.9953 1.048 lineto + 2.0601 0.9949 lineto + 2.1215 0.9375 lineto + 2.1792 0.8762 lineto + 2.2329 0.8112 lineto + 2.2823 0.743 lineto + 2.3271 0.6717 lineto + %middle circumferential + 2.3271 0.6717 lineto + 2.3696 0.5933 lineto + 2.4066 0.5124 lineto + 2.438 0.4294 lineto + 2.4638 0.3449 lineto + 2.4837 0.2592 lineto + 2.4979 0.1729 lineto + 2.5064 0.0863 lineto + 2.5092 0.0 lineto + %end circumferential + closepath +currentgray 0.6926666666666667 setgray fill setgray +% Sector from 2.7489 to 3.1416 (quadrant 1) +newpath + 1.8567 -1.1408 moveto + 1.8834 -1.1874 lineto + 1.9392 -1.2873 lineto + 1.9683 -1.3409 lineto + 1.9982 -1.397 lineto + 2.0288 -1.4558 lineto + 2.0603 -1.5175 lineto + 2.0926 -1.5821 lineto + %middle radial + 2.0926 -1.5821 lineto + 2.1219 -1.6421 lineto + 2.1518 -1.7047 lineto + 2.1824 -1.7701 lineto + 2.2136 -1.8383 lineto + 2.2455 -1.9097 lineto + 2.278 -1.9842 lineto + 2.3111 -2.0621 lineto + 2.3448 -2.1435 lineto + %end radial + 2.3448 -2.1435 lineto + 2.4143 -2.1137 lineto + 2.4836 -2.0811 lineto + 2.5525 -2.0458 lineto + 2.6209 -2.0075 lineto + 2.6887 -1.9665 lineto + 2.7558 -1.9225 lineto + 2.8219 -1.8756 lineto + 2.8871 -1.8259 lineto + 2.951 -1.7732 lineto + 3.0136 -1.7177 lineto + 3.0748 -1.6593 lineto + 3.1343 -1.598 lineto + 3.192 -1.534 lineto + 3.2478 -1.4672 lineto + 3.3016 -1.3977 lineto + 3.3531 -1.3255 lineto + %middle circumferential + 3.3531 -1.3255 lineto + 3.3991 -1.2557 lineto + 3.4429 -1.1837 lineto + 3.4843 -1.1095 lineto + 3.5234 -1.0334 lineto + 3.5598 -0.9553 lineto + 3.5936 -0.8753 lineto + 3.6246 -0.7936 lineto + 3.6526 -0.7103 lineto + 3.6777 -0.6254 lineto + 3.6997 -0.5392 lineto + 3.7185 -0.4517 lineto + 3.7341 -0.363 lineto + 3.7463 -0.2734 lineto + 3.7551 -0.1829 lineto + 3.7604 -0.0917 lineto + 3.7622 0.0 lineto + %end circumferential + 3.7622 0.0 lineto + 3.0648 0.0 lineto + %middle radial + 3.0648 0.0 lineto + 2.5092 0.0 lineto + %end radial + 2.5092 0.0 lineto + 2.5061 -0.0912 lineto + 2.4968 -0.1811 lineto + 2.4817 -0.2694 lineto + 2.4609 -0.3555 lineto + 2.4347 -0.4392 lineto + 2.4034 -0.5199 lineto + 2.3675 -0.5975 lineto + 2.3271 -0.6717 lineto + %middle circumferential + 2.3271 -0.6717 lineto + 2.2796 -0.7469 lineto + 2.2279 -0.8176 lineto + 2.1725 -0.8837 lineto + 2.114 -0.945 lineto + 2.0527 -1.0013 lineto + 1.9891 -1.0528 lineto + 1.9236 -1.0992 lineto + 1.8567 -1.1408 lineto + %end circumferential + closepath +currentgray 0.7273333333333334 setgray fill setgray +% Sector from 2.3562 to 2.7489 (quadrant 1) +newpath + 0.7472 -1.2129 moveto + 0.7129 -1.29 lineto + 0.6738 -1.3717 lineto + 0.6295 -1.4579 lineto + 0.5792 -1.5489 lineto + %middle radial + 0.5792 -1.5489 lineto + 0.5289 -1.6337 lineto + 0.4728 -1.7223 lineto + 0.4099 -1.8149 lineto + 0.3758 -1.8627 lineto + 0.3397 -1.9114 lineto + %end radial + 0.3397 -1.9114 lineto + 0.3814 -1.942 lineto + 0.4698 -2.0012 lineto + 0.565 -2.0575 lineto + 0.6672 -2.11 lineto + 0.7208 -2.1346 lineto + 0.7763 -2.158 lineto + 0.8334 -2.1801 lineto + 0.8923 -2.2008 lineto + 0.953 -2.2199 lineto + 1.0153 -2.2373 lineto + 1.0793 -2.253 lineto + 1.1449 -2.2669 lineto + 1.2121 -2.2787 lineto + %middle circumferential + 1.2121 -2.2787 lineto + 1.2757 -2.2878 lineto + 1.3406 -2.2949 lineto + 1.4068 -2.3001 lineto + 1.4741 -2.3032 lineto + 1.5425 -2.304 lineto + 1.612 -2.3026 lineto + 1.6824 -2.2988 lineto + 1.7538 -2.2926 lineto + 1.8259 -2.2838 lineto + 1.8988 -2.2723 lineto + 1.9723 -2.2581 lineto + 2.0462 -2.2411 lineto + 2.1206 -2.2212 lineto + 2.1953 -2.1984 lineto + 2.27 -2.1725 lineto + 2.3448 -2.1435 lineto + %end circumferential + 2.3448 -2.1435 lineto + 2.3111 -2.0621 lineto + 2.278 -1.9842 lineto + 2.2455 -1.9097 lineto + 2.2136 -1.8383 lineto + 2.1824 -1.7701 lineto + 2.1518 -1.7047 lineto + 2.1219 -1.6421 lineto + 2.0926 -1.5821 lineto + %middle radial + 2.0926 -1.5821 lineto + 2.0603 -1.5175 lineto + 2.0288 -1.4558 lineto + 1.9982 -1.397 lineto + 1.9683 -1.3409 lineto + 1.9392 -1.2873 lineto + 1.8834 -1.1874 lineto + 1.8567 -1.1408 lineto + %end radial + 1.8567 -1.1408 lineto + 1.7836 -1.1799 lineto + 1.7098 -1.2136 lineto + 1.6358 -1.2419 lineto + 1.5618 -1.2651 lineto + 1.4882 -1.2832 lineto + 1.4155 -1.2967 lineto + 1.3438 -1.3056 lineto + 1.2735 -1.3102 lineto + %middle circumferential + 1.2735 -1.3102 lineto + 1.1993 -1.3108 lineto + 1.1272 -1.3071 lineto + 1.0575 -1.2994 lineto + 0.9901 -1.2881 lineto + 0.9253 -1.2734 lineto + 0.8632 -1.2558 lineto + 0.8039 -1.2355 lineto + 0.7472 -1.2129 lineto + %end circumferential + closepath +currentgray 0.762 setgray fill setgray +% Sector from 1.9635 to 2.3562 (quadrant 1) +newpath + 0.1415 -0.6334 moveto + 0.0867 -0.6596 lineto + 0.0286 -0.6855 lineto + -0.0328 -0.7108 lineto + -0.0977 -0.7354 lineto + %middle radial + -0.0977 -0.7354 lineto + -0.1582 -0.7562 lineto + -0.2217 -0.7758 lineto + -0.2881 -0.7939 lineto + -0.3575 -0.8102 lineto + %end radial + -0.3575 -0.8102 lineto + -0.3438 -0.8698 lineto + -0.3275 -0.9317 lineto + -0.3084 -0.9958 lineto + -0.2859 -1.0621 lineto + -0.2598 -1.1307 lineto + -0.2296 -1.2014 lineto + -0.1948 -1.2741 lineto + -0.1549 -1.3486 lineto + %middle circumferential + -0.1549 -1.3486 lineto + -0.1136 -1.4179 lineto + -0.0673 -1.4883 lineto + -0.0155 -1.5594 lineto + 0.0422 -1.631 lineto + 0.1062 -1.7024 lineto + 0.1769 -1.7734 lineto + 0.2546 -1.8433 lineto + 0.3397 -1.9114 lineto + %end circumferential + 0.3397 -1.9114 lineto + 0.3758 -1.8627 lineto + 0.4099 -1.8149 lineto + 0.4728 -1.7223 lineto + 0.5289 -1.6337 lineto + 0.5792 -1.5489 lineto + %middle radial + 0.5792 -1.5489 lineto + 0.6295 -1.4579 lineto + 0.6738 -1.3717 lineto + 0.7129 -1.29 lineto + 0.7472 -1.2129 lineto + %end radial + 0.7472 -1.2129 lineto + 0.7176 -1.1997 lineto + 0.6609 -1.1716 lineto + 0.6074 -1.1415 lineto + 0.5331 -1.0934 lineto + 0.4447 -1.0249 lineto + 0.3678 -0.9533 lineto + %middle circumferential + 0.3678 -0.9533 lineto + 0.2956 -0.8731 lineto + 0.2347 -0.7923 lineto + 0.1837 -0.7121 lineto + 0.1415 -0.6334 lineto + %end circumferential + closepath +currentgray 0.7966666666666666 setgray fill setgray +% Sector from 1.5708 to 1.9635 (quadrant 1) +newpath + 0.0 0.0 moveto + -0.213 0.0 lineto + %middle radial + -0.213 0.0 lineto + -0.4161 0.0 lineto + %end radial + -0.4161 0.0 lineto + -0.416 -0.0855 lineto + -0.4153 -0.1748 lineto + -0.4137 -0.2691 lineto + -0.4103 -0.37 lineto + %middle circumferential + -0.4103 -0.37 lineto + -0.4047 -0.4672 lineto + -0.3953 -0.5722 lineto + -0.3848 -0.6568 lineto + -0.3755 -0.7162 lineto + -0.3641 -0.7782 lineto + -0.3575 -0.8102 lineto + %end circumferential + -0.3575 -0.8102 lineto + -0.2881 -0.7939 lineto + -0.2217 -0.7758 lineto + -0.1582 -0.7562 lineto + -0.0977 -0.7354 lineto + %middle radial + -0.0977 -0.7354 lineto + -0.0328 -0.7108 lineto + 0.0286 -0.6855 lineto + 0.0867 -0.6596 lineto + 0.1415 -0.6334 lineto + %end radial + 0.1415 -0.6334 lineto + 0.1035 -0.5487 lineto + 0.0733 -0.4666 lineto + 0.0497 -0.3874 lineto + 0.0316 -0.3111 lineto + %middle circumferential + 0.0316 -0.3111 lineto + 0.0169 -0.229 lineto + 0.0072 -0.15 lineto + 0.0017 -0.0738 lineto + 0.0 0.0 lineto + %end circumferential + closepath +currentgray 0.8313333333333334 setgray fill setgray +% Sector from 1.1781 to 1.5708 (quadrant 0) +newpath + 0.1415 0.6334 moveto + 0.0867 0.6596 lineto + 0.0286 0.6855 lineto + -0.0328 0.7108 lineto + -0.0977 0.7354 lineto + %middle radial + -0.0977 0.7354 lineto + -0.1582 0.7562 lineto + -0.2217 0.7758 lineto + -0.2881 0.7939 lineto + -0.3575 0.8102 lineto + %end radial + -0.3575 0.8102 lineto + -0.3786 0.6974 lineto + -0.3937 0.5864 lineto + -0.4039 0.4773 lineto + -0.4103 0.37 lineto + %middle circumferential + -0.4103 0.37 lineto + -0.4134 0.278 lineto + -0.4151 0.1863 lineto + -0.4159 0.094 lineto + -0.4161 0.0 lineto + %end circumferential + -0.4161 0.0 lineto + -0.213 0.0 lineto + %middle radial + -0.213 0.0 lineto + 0.0 0.0 lineto + %end radial + 0.0 0.0 lineto + 0.0021 0.0811 lineto + 0.0082 0.1598 lineto + 0.018 0.2364 lineto + 0.0316 0.3111 lineto + %middle circumferential + 0.0316 0.3111 lineto + 0.0518 0.3952 lineto + 0.0768 0.4771 lineto + 0.1067 0.5565 lineto + 0.1415 0.6334 lineto + %end circumferential + closepath +currentgray 0.866 setgray fill setgray +% Sector from 0.7854 to 1.1781 (quadrant 0) +newpath + 0.7472 1.2129 moveto + 0.7129 1.29 lineto + 0.6738 1.3717 lineto + 0.6295 1.4579 lineto + 0.5792 1.5489 lineto + %middle radial + 0.5792 1.5489 lineto + 0.5289 1.6337 lineto + 0.4728 1.7223 lineto + 0.4099 1.8149 lineto + 0.3758 1.8627 lineto + 0.3397 1.9114 lineto + %end radial + 0.3397 1.9114 lineto + 0.2651 1.8522 lineto + 0.1937 1.7892 lineto + 0.1257 1.7228 lineto + 0.0613 1.6531 lineto + 9.0E-4 1.5805 lineto + -0.0554 1.5053 lineto + -0.1073 1.4279 lineto + -0.1549 1.3486 lineto + %middle circumferential + -0.1549 1.3486 lineto + -0.1904 1.2826 lineto + -0.223 1.2159 lineto + -0.2525 1.1486 lineto + -0.2791 1.0809 lineto + -0.3028 1.0131 lineto + -0.3237 0.9452 lineto + -0.3419 0.8775 lineto + -0.3575 0.8102 lineto + %end circumferential + -0.3575 0.8102 lineto + -0.2881 0.7939 lineto + -0.2217 0.7758 lineto + -0.1582 0.7562 lineto + -0.0977 0.7354 lineto + %middle radial + -0.0977 0.7354 lineto + -0.0328 0.7108 lineto + 0.0286 0.6855 lineto + 0.0867 0.6596 lineto + 0.1415 0.6334 lineto + %end radial + 0.1415 0.6334 lineto + 0.1888 0.7207 lineto + 0.2425 0.8035 lineto + 0.3023 0.8812 lineto + 0.3678 0.9533 lineto + %middle circumferential + 0.3678 0.9533 lineto + 0.4103 0.9945 lineto + 0.4547 1.0334 lineto + 0.5478 1.1036 lineto + 0.6458 1.1635 lineto + 0.7472 1.2129 lineto + %end circumferential + closepath +currentgray 0.9006666666666666 setgray fill setgray +% Sector from 0.3927 to 0.7854 (quadrant 0) +newpath + 1.8567 1.1408 moveto + 1.8834 1.1874 lineto + 1.9392 1.2873 lineto + 1.9683 1.3409 lineto + 1.9982 1.397 lineto + 2.0288 1.4558 lineto + 2.0603 1.5175 lineto + 2.0926 1.5821 lineto + %middle radial + 2.0926 1.5821 lineto + 2.1219 1.6421 lineto + 2.1518 1.7047 lineto + 2.1824 1.7701 lineto + 2.2136 1.8383 lineto + 2.2455 1.9097 lineto + 2.278 1.9842 lineto + 2.3111 2.0621 lineto + 2.3448 2.1435 lineto + %end radial + 2.3448 2.1435 lineto + 2.2855 2.1668 lineto + 2.2244 2.1886 lineto + 2.1616 2.209 lineto + 2.0971 2.2278 lineto + 2.0309 2.2449 lineto + 1.963 2.26 lineto + 1.8936 2.2732 lineto + 1.8226 2.2842 lineto + 1.7502 2.2929 lineto + 1.6765 2.2992 lineto + 1.6014 2.303 lineto + 1.5253 2.304 lineto + 1.4481 2.3022 lineto + 1.3701 2.2975 lineto + 1.2914 2.2897 lineto + 1.2121 2.2787 lineto + %middle circumferential + 1.2121 2.2787 lineto + 1.099 2.2575 lineto + 0.9858 2.2294 lineto + 0.9293 2.2127 lineto + 0.873 2.1942 lineto + 0.817 2.174 lineto + 0.7613 2.1519 lineto + 0.7061 2.1281 lineto + 0.6514 2.1024 lineto + 0.5974 2.0749 lineto + 0.544 2.0457 lineto + 0.4915 2.0147 lineto + 0.4399 1.982 lineto + 0.3892 1.9475 lineto + 0.3397 1.9114 lineto + %end circumferential + 0.3397 1.9114 lineto + 0.3758 1.8627 lineto + 0.4099 1.8149 lineto + 0.4728 1.7223 lineto + 0.5289 1.6337 lineto + 0.5792 1.5489 lineto + %middle radial + 0.5792 1.5489 lineto + 0.6295 1.4579 lineto + 0.6738 1.3717 lineto + 0.7129 1.29 lineto + 0.7472 1.2129 lineto + %end radial + 0.7472 1.2129 lineto + 0.8138 1.2391 lineto + 0.8807 1.2611 lineto + 0.9477 1.2789 lineto + 1.0145 1.2926 lineto + 1.0807 1.3024 lineto + 1.1461 1.3085 lineto + 1.2105 1.311 lineto + 1.2735 1.3102 lineto + %middle circumferential + 1.2735 1.3102 lineto + 1.3598 1.304 lineto + 1.4426 1.2922 lineto + 1.5218 1.2755 lineto + 1.597 1.2547 lineto + 1.6682 1.2302 lineto + 1.7351 1.2027 lineto + 1.798 1.1727 lineto + 1.8567 1.1408 lineto + %end circumferential + closepath +currentgray 0.9353333333333332 setgray fill setgray +% Sector from 0.0 to 0.3927 (quadrant 0) +newpath + 2.5092 0.0 moveto + 3.0648 0.0 lineto + %middle radial + 3.0648 0.0 lineto + 3.7622 0.0 lineto + %end radial + 3.7622 0.0 lineto + 3.7621 0.0189 lineto + 3.7608 0.0797 lineto + 3.7565 0.1638 lineto + 3.7505 0.2346 lineto + 3.7382 0.3357 lineto + 3.7278 0.4012 lineto + 3.713 0.4792 lineto + 3.6918 0.5718 lineto + 3.6702 0.6521 lineto + 3.6523 0.7113 lineto + 3.6309 0.7755 lineto + 3.6055 0.8449 lineto + 3.5753 0.9197 lineto + 3.5393 1.0001 lineto + 3.4967 1.0861 lineto + 3.4463 1.1778 lineto + 3.3867 1.275 lineto + 3.3531 1.3255 lineto + %middle circumferential + 3.3531 1.3255 lineto + 3.318 1.3753 lineto + 3.2802 1.426 lineto + 3.2393 1.4778 lineto + 3.1952 1.5303 lineto + 3.1477 1.5835 lineto + 3.0967 1.6373 lineto + 3.0418 1.6913 lineto + 2.9829 1.7455 lineto + 2.9197 1.7995 lineto + 2.8521 1.853 lineto + 2.78 1.9058 lineto + 2.703 1.9574 lineto + 2.6211 2.0074 lineto + 2.5342 2.0555 lineto + 2.4421 2.101 lineto + 2.3448 2.1435 lineto + %end circumferential + 2.3448 2.1435 lineto + 2.3111 2.0621 lineto + 2.278 1.9842 lineto + 2.2455 1.9097 lineto + 2.2136 1.8383 lineto + 2.1824 1.7701 lineto + 2.1518 1.7047 lineto + 2.1219 1.6421 lineto + 2.0926 1.5821 lineto + %middle radial + 2.0926 1.5821 lineto + 2.0603 1.5175 lineto + 2.0288 1.4558 lineto + 1.9982 1.397 lineto + 1.9683 1.3409 lineto + 1.9392 1.2873 lineto + 1.8834 1.1874 lineto + 1.8567 1.1408 lineto + %end radial + 1.8567 1.1408 lineto + 1.9478 1.0828 lineto + 2.0279 1.0222 lineto + 2.0977 0.9606 lineto + 2.1584 0.8993 lineto + 2.2107 0.8391 lineto + 2.2557 0.7808 lineto + 2.2942 0.7249 lineto + 2.3271 0.6717 lineto + %middle circumferential + 2.3271 0.6717 lineto + 2.3562 0.6194 lineto + 2.4015 0.5246 lineto + 2.4336 0.4424 lineto + 2.4562 0.3719 lineto + 2.4782 0.2857 lineto + 2.494 0.2002 lineto + 2.504 0.117 lineto + 2.5086 0.0397 lineto + 2.5092 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 3.0 3.1416 32 0.97 0.45 +% Sector from 6.0868 to 6.2832 (quadrant 3) +currentgray 0.45 setgray fill setgray +% Sector from 5.8905 to 6.0868 (quadrant 3) +currentgray 0.4667741935483871 setgray fill setgray +% Sector from 5.6941 to 5.8905 (quadrant 3) +newpath + -0.584 -5.9884 moveto + -0.6525 -6.0716 lineto + -0.7232 -6.1558 lineto + -0.7962 -6.241 lineto + -0.8715 -6.3273 lineto + %middle radial + -0.8715 -6.3273 lineto + -1.1899 -6.378103166302659 lineto + %end radial + -1.1899 -6.378103166302659 lineto + 0.7193 -6.378103166302659 lineto + %middle circumferential + 0.7193 -6.378103166302659 lineto + 3.2918 -6.378103166302659 lineto + %end circumferential + 3.2918 -6.378103166302659 lineto + 3.2999 -6.378103166302659 lineto + %middle radial + 3.2999 -6.378103166302659 lineto + 3.2918 -6.378103166302659 lineto + %end radial + 3.2918 -6.378103166302659 lineto + 1.1046 -6.378103166302659 lineto + %middle circumferential + 1.1046 -6.378103166302659 lineto + -0.0476 -6.373 lineto + -0.0975 -6.3413 lineto + -0.1467 -6.3092 lineto + -0.2194 -6.2604 lineto + -0.3142 -6.1943 lineto + -0.4066 -6.1268 lineto + -0.4965 -6.0581 lineto + -0.584 -5.9884 lineto + %end circumferential + closepath +currentgray 0.4835483870967742 setgray fill setgray +% Sector from 5.4978 to 5.6941 (quadrant 3) +newpath + -2.2134 -3.5037 moveto + -2.2853 -3.5214 lineto + -2.3588 -3.5385 lineto + -2.4338 -3.555 lineto + -2.5104 -3.5708 lineto + %middle radial + -2.5104 -3.5708 lineto + -2.5868 -3.5855 lineto + -2.6647 -3.5995 lineto + -2.7442 -3.6128 lineto + -2.8253 -3.6252 lineto + %end radial + -2.8253 -3.6252 lineto + -2.8115 -3.7132 lineto + -2.7958 -3.8022 lineto + -2.7781 -3.8921 lineto + -2.7583 -3.983 lineto + -2.7365 -4.0748 lineto + -2.7125 -4.1675 lineto + -2.6862 -4.2611 lineto + -2.6578 -4.3554 lineto + -2.627 -4.4505 lineto + -2.5938 -4.5463 lineto + -2.5582 -4.6427 lineto + -2.5201 -4.7397 lineto + -2.4795 -4.8373 lineto + -2.4363 -4.9354 lineto + -2.3904 -5.0338 lineto + -2.3418 -5.1326 lineto + %middle circumferential + -2.3418 -5.1326 lineto + -2.2915 -5.23 lineto + -2.2384 -5.3276 lineto + -2.1825 -5.4254 lineto + -2.1239 -5.5232 lineto + -2.0625 -5.621 lineto + -2.0145 -5.6944 lineto + -1.9817 -5.7432 lineto + -1.9481 -5.792 lineto + -1.9137 -5.8408 lineto + -1.8787 -5.8895 lineto + -1.8428 -5.9381 lineto + -1.8063 -5.9866 lineto + -1.769 -6.0351 lineto + -1.7309 -6.0834 lineto + -1.6921 -6.1317 lineto + -1.6393 -6.2298 lineto + -1.1899 -6.378103166302659 lineto + %end circumferential + -1.1899 -6.378103166302659 lineto + -0.8715 -6.3273 lineto + %middle radial + -0.8715 -6.3273 lineto + -0.7962 -6.241 lineto + -0.7232 -6.1558 lineto + -0.6525 -6.0716 lineto + -0.584 -5.9884 lineto + %end radial + -0.584 -5.9884 lineto + -0.6706 -5.9163 lineto + -0.7546 -5.8433 lineto + -0.8361 -5.7694 lineto + -0.9151 -5.6946 lineto + -0.9916 -5.619 lineto + -1.0656 -5.5428 lineto + -1.1372 -5.466 lineto + -1.2063 -5.3886 lineto + -1.2731 -5.3108 lineto + -1.3374 -5.2325 lineto + -1.3994 -5.154 lineto + -1.459 -5.0751 lineto + -1.5163 -4.9961 lineto + -1.5713 -4.9168 lineto + -1.6241 -4.8375 lineto + -1.6746 -4.7582 lineto + %middle circumferential + -1.6746 -4.7582 lineto + -1.7237 -4.6775 lineto + -1.7707 -4.5969 lineto + -1.8154 -4.5164 lineto + -1.8579 -4.4361 lineto + -1.8983 -4.356 lineto + -1.9366 -4.2762 lineto + -1.9729 -4.1968 lineto + -2.0071 -4.1177 lineto + -2.0394 -4.0391 lineto + -2.0697 -3.9609 lineto + -2.0981 -3.8832 lineto + -2.1247 -3.8061 lineto + -2.1495 -3.7296 lineto + -2.1725 -3.6536 lineto + -2.1938 -3.5783 lineto + -2.2134 -3.5037 lineto + %end circumferential + closepath +currentgray 0.5003225806451613 setgray fill setgray +% Sector from 5.3014 to 5.4978 (quadrant 3) +newpath + -2.1874 -1.5393 moveto + -2.2759 -1.5104 lineto + -2.3661 -1.4777 lineto + %middle radial + -2.3661 -1.4777 lineto + -2.4559 -1.4421 lineto + -2.5472 -1.4024 lineto + %end radial + -2.5472 -1.4024 lineto + -2.5693 -1.4522 lineto + -2.612 -1.5554 lineto + -2.6528 -1.6638 lineto + -2.6723 -1.72 lineto + -2.6913 -1.7774 lineto + -2.7095 -1.8363 lineto + -2.7271 -1.8964 lineto + -2.7439 -1.9579 lineto + -2.7599 -2.0208 lineto + -2.7751 -2.085 lineto + -2.7893 -2.1505 lineto + -2.8027 -2.2175 lineto + -2.815 -2.2858 lineto + -2.8264 -2.3555 lineto + %middle circumferential + -2.8264 -2.3555 lineto + -2.8364 -2.4253 lineto + -2.8454 -2.4963 lineto + -2.8532 -2.5687 lineto + -2.8598 -2.6425 lineto + -2.8651 -2.7175 lineto + -2.8691 -2.7938 lineto + -2.8718 -2.8714 lineto + -2.8731 -2.9503 lineto + -2.8729 -3.0304 lineto + -2.8711 -3.1118 lineto + -2.8678 -3.1944 lineto + -2.8628 -3.2782 lineto + -2.8561 -3.3633 lineto + -2.8477 -3.4495 lineto + -2.8374 -3.5368 lineto + -2.8253 -3.6252 lineto + %end circumferential + -2.8253 -3.6252 lineto + -2.7442 -3.6128 lineto + -2.6647 -3.5995 lineto + -2.5868 -3.5855 lineto + -2.5104 -3.5708 lineto + %middle radial + -2.5104 -3.5708 lineto + -2.4338 -3.555 lineto + -2.3588 -3.5385 lineto + -2.2853 -3.5214 lineto + -2.2134 -3.5037 lineto + %end radial + -2.2134 -3.5037 lineto + -2.2317 -3.4285 lineto + -2.2483 -3.354 lineto + -2.2633 -3.2803 lineto + -2.2767 -3.2074 lineto + -2.2887 -3.1354 lineto + -2.2991 -3.0642 lineto + -2.3081 -2.9939 lineto + -2.3158 -2.9245 lineto + -2.3221 -2.856 lineto + -2.3271 -2.7884 lineto + -2.3309 -2.7218 lineto + -2.3334 -2.6561 lineto + -2.3348 -2.5914 lineto + -2.335 -2.5277 lineto + -2.3342 -2.4649 lineto + -2.3323 -2.4032 lineto + %middle circumferential + -2.3323 -2.4032 lineto + -2.3294 -2.3413 lineto + -2.3254 -2.2805 lineto + -2.3206 -2.2208 lineto + -2.3147 -2.1621 lineto + -2.3005 -2.0478 lineto + -2.2831 -1.9377 lineto + -2.2628 -1.8319 lineto + -2.2399 -1.7302 lineto + -2.2147 -1.6327 lineto + -2.1874 -1.5393 lineto + %end circumferential + closepath +currentgray 0.5170967741935484 setgray fill setgray +% Sector from 5.1051 to 5.3014 (quadrant 3) +newpath + -1.6173 -0.5125 moveto + -1.6921 -0.4393 lineto + %middle radial + -1.6921 -0.4393 lineto + -1.7624 -0.3585 lineto + %end radial + -1.7624 -0.3585 lineto + -1.8086 -0.3966 lineto + -1.8557 -0.4377 lineto + -1.9039 -0.4819 lineto + -1.9528 -0.5294 lineto + -2.0026 -0.5804 lineto + -2.0529 -0.635 lineto + -2.1038 -0.6934 lineto + -2.155 -0.7558 lineto + %middle circumferential + -2.155 -0.7558 lineto + -2.2054 -0.821 lineto + -2.2558 -0.8904 lineto + -2.3061 -0.9641 lineto + -2.356 -1.0422 lineto + -2.4053 -1.125 lineto + -2.4537 -1.2125 lineto + -2.5012 -1.3049 lineto + -2.5472 -1.4024 lineto + %end circumferential + -2.5472 -1.4024 lineto + -2.4559 -1.4421 lineto + -2.3661 -1.4777 lineto + %middle radial + -2.3661 -1.4777 lineto + -2.2759 -1.5104 lineto + -2.1874 -1.5393 lineto + %end radial + -2.1874 -1.5393 lineto + -2.1577 -1.4482 lineto + -2.1263 -1.3613 lineto + -2.0935 -1.2783 lineto + -2.0596 -1.1993 lineto + -2.0247 -1.1242 lineto + -1.9889 -1.0527 lineto + -1.9526 -0.9849 lineto + -1.9158 -0.9206 lineto + %middle circumferential + -1.9158 -0.9206 lineto + -1.8781 -0.8586 lineto + -1.8402 -0.7999 lineto + -1.8023 -0.7446 lineto + -1.7646 -0.6923 lineto + -1.7271 -0.6431 lineto + -1.69 -0.5969 lineto + -1.6173 -0.5125 lineto + %end circumferential + closepath +currentgray 0.5338709677419355 setgray fill setgray +% Sector from 4.9087 to 5.1051 (quadrant 3) +newpath + -1.1529 -0.1226 moveto + -1.1749 -0.0823 lineto + %middle radial + -1.1749 -0.0823 lineto + -1.1916 -0.0393 lineto + %end radial + -1.1916 -0.0393 lineto + -1.2424 -0.0566 lineto + -1.2994 -0.0787 lineto + -1.3627 -0.1065 lineto + -1.4323 -0.1408 lineto + %middle circumferential + -1.4323 -0.1408 lineto + -1.5064 -0.1817 lineto + -1.5864 -0.2309 lineto + -1.6718 -0.2894 lineto + -1.7624 -0.3585 lineto + %end circumferential + -1.7624 -0.3585 lineto + -1.6921 -0.4393 lineto + %middle radial + -1.6921 -0.4393 lineto + -1.6173 -0.5125 lineto + %end radial + -1.6173 -0.5125 lineto + -1.5458 -0.4369 lineto + -1.4776 -0.3708 lineto + -1.4131 -0.3133 lineto + -1.3526 -0.2635 lineto + %middle circumferential + -1.3526 -0.2635 lineto + -1.2955 -0.2197 lineto + -1.2431 -0.1821 lineto + -1.1529 -0.1226 lineto + %end circumferential + closepath +currentgray 0.5506451612903226 setgray fill setgray +% Sector from 4.7124 to 4.9087 (quadrant 3) +newpath + -0.99 0.0 moveto + -0.9975 0.0 lineto + %middle radial + -0.9975 0.0 lineto + -1.0 0.0 lineto + %end radial + -1.0 0.0 lineto + -1.0477 -0.0047 lineto + %middle circumferential + -1.0477 -0.0047 lineto + -1.1071 -0.0161 lineto + -1.1916 -0.0393 lineto + %end circumferential + -1.1916 -0.0393 lineto + -1.1749 -0.0823 lineto + %middle radial + -1.1749 -0.0823 lineto + -1.1529 -0.1226 lineto + %end radial + -1.1529 -0.1226 lineto + -1.0816 -0.0785 lineto + -1.0309 -0.0464 lineto + %middle circumferential + -1.0309 -0.0464 lineto + -0.99 0.0 lineto + %end circumferential + closepath +currentgray 0.5674193548387096 setgray fill setgray +% Sector from 4.516 to 4.7124 (quadrant 2) +newpath + -1.1529 0.1226 moveto + -1.1749 0.0823 lineto + %middle radial + -1.1749 0.0823 lineto + -1.1916 0.0393 lineto + %end radial + -1.1916 0.0393 lineto + -1.1079 0.0163 lineto + -1.0477 0.0047 lineto + %middle circumferential + -1.0477 0.0047 lineto + -1.0 0.0 lineto + %end circumferential + -1.0 0.0 lineto + -0.9975 0.0 lineto + %middle radial + -0.9975 0.0 lineto + -0.99 0.0 lineto + %end radial + -0.99 0.0 lineto + -1.0309 0.0464 lineto + %middle circumferential + -1.0309 0.0464 lineto + -1.0822 0.0789 lineto + -1.1529 0.1226 lineto + %end circumferential + closepath +currentgray 0.5841935483870968 setgray fill setgray +% Sector from 4.3197 to 4.516 (quadrant 2) +newpath + -1.6173 0.5125 moveto + -1.6921 0.4393 lineto + %middle radial + -1.6921 0.4393 lineto + -1.7624 0.3585 lineto + %end radial + -1.7624 0.3585 lineto + -1.6732 0.2904 lineto + -1.5881 0.232 lineto + -1.5077 0.1824 lineto + -1.4323 0.1408 lineto + %middle circumferential + -1.4323 0.1408 lineto + -1.3637 0.1069 lineto + -1.3007 0.0792 lineto + -1.2432 0.0569 lineto + -1.1916 0.0393 lineto + %end circumferential + -1.1916 0.0393 lineto + -1.1749 0.0823 lineto + %middle radial + -1.1749 0.0823 lineto + -1.1529 0.1226 lineto + %end radial + -1.1529 0.1226 lineto + -1.2441 0.1828 lineto + -1.2963 0.2203 lineto + -1.3526 0.2635 lineto + %middle circumferential + -1.3526 0.2635 lineto + -1.414 0.3142 lineto + -1.479 0.3721 lineto + -1.5469 0.438 lineto + -1.6173 0.5125 lineto + %end circumferential + closepath +currentgray 0.600967741935484 setgray fill setgray +% Sector from 4.1233 to 4.3197 (quadrant 2) +newpath + -2.1874 1.5393 moveto + -2.2759 1.5104 lineto + -2.3661 1.4777 lineto + %middle radial + -2.3661 1.4777 lineto + -2.4559 1.4421 lineto + -2.5472 1.4024 lineto + %end radial + -2.5472 1.4024 lineto + -2.502 1.3067 lineto + -2.4552 1.2153 lineto + -2.4072 1.1283 lineto + -2.3581 1.0456 lineto + -2.3081 0.9671 lineto + -2.2574 0.8927 lineto + -2.2063 0.8222 lineto + -2.155 0.7558 lineto + %middle circumferential + -2.155 0.7558 lineto + -2.1047 0.6945 lineto + -2.0545 0.6367 lineto + -2.0045 0.5824 lineto + -1.9549 0.5315 lineto + -1.9058 0.4837 lineto + -1.8572 0.439 lineto + -1.8094 0.3973 lineto + -1.7624 0.3585 lineto + %end circumferential + -1.7624 0.3585 lineto + -1.6921 0.4393 lineto + %middle radial + -1.6921 0.4393 lineto + -1.6173 0.5125 lineto + %end radial + -1.6173 0.5125 lineto + -1.6912 0.5983 lineto + -1.7286 0.645 lineto + -1.7662 0.6945 lineto + -1.8038 0.7467 lineto + -1.8414 0.8017 lineto + -1.8788 0.8597 lineto + -1.9158 0.9206 lineto + %middle circumferential + -1.9158 0.9206 lineto + -1.9533 0.9861 lineto + -1.9901 1.055 lineto + -2.0261 1.1271 lineto + -2.061 1.2026 lineto + -2.0949 1.2815 lineto + -2.1273 1.3639 lineto + -2.1582 1.4498 lineto + -2.1874 1.5393 lineto + %end circumferential + closepath +currentgray 0.6177419354838709 setgray fill setgray +% Sector from 3.927 to 4.1233 (quadrant 2) +newpath + -2.2134 3.5037 moveto + -2.2853 3.5214 lineto + -2.3588 3.5385 lineto + -2.4338 3.555 lineto + -2.5104 3.5708 lineto + %middle radial + -2.5104 3.5708 lineto + -2.5868 3.5855 lineto + -2.6647 3.5995 lineto + -2.7442 3.6128 lineto + -2.8253 3.6252 lineto + %end radial + -2.8253 3.6252 lineto + -2.8372 3.5385 lineto + -2.8473 3.4527 lineto + -2.8557 3.3677 lineto + -2.8624 3.2836 lineto + -2.8675 3.2005 lineto + -2.8709 3.1183 lineto + -2.8728 3.0372 lineto + -2.8731 2.9571 lineto + -2.872 2.878 lineto + -2.8694 2.8 lineto + -2.8655 2.723 lineto + -2.8601 2.6472 lineto + -2.8535 2.5726 lineto + -2.8457 2.499 lineto + -2.8366 2.4267 lineto + -2.8264 2.3555 lineto + %middle circumferential + -2.8264 2.3555 lineto + -2.8153 2.2872 lineto + -2.8032 2.22 lineto + -2.79 2.154 lineto + -2.776 2.0891 lineto + -2.761 2.0254 lineto + -2.7452 1.9628 lineto + -2.7285 1.9015 lineto + -2.711 1.8413 lineto + -2.6928 1.7823 lineto + -2.6739 1.7245 lineto + -2.6543 1.6679 lineto + -2.634 1.6124 lineto + -2.5917 1.5051 lineto + -2.5472 1.4024 lineto + %end circumferential + -2.5472 1.4024 lineto + -2.4559 1.4421 lineto + -2.3661 1.4777 lineto + %middle radial + -2.3661 1.4777 lineto + -2.2759 1.5104 lineto + -2.1874 1.5393 lineto + %end radial + -2.1874 1.5393 lineto + -2.2015 1.5864 lineto + -2.2282 1.6835 lineto + -2.2525 1.7843 lineto + -2.2742 1.8887 lineto + -2.2929 1.9968 lineto + -2.3086 2.1086 lineto + -2.3208 2.2238 lineto + -2.3256 2.2827 lineto + -2.3295 2.3425 lineto + -2.3323 2.4032 lineto + %middle circumferential + -2.3323 2.4032 lineto + -2.3342 2.4662 lineto + -2.335 2.5301 lineto + -2.3347 2.5948 lineto + -2.3333 2.6603 lineto + -2.3306 2.7267 lineto + -2.3267 2.7938 lineto + -2.3216 2.8617 lineto + -2.3152 2.9304 lineto + -2.3074 2.9998 lineto + -2.2983 3.0699 lineto + -2.2878 3.1406 lineto + -2.2759 3.2121 lineto + -2.2625 3.2841 lineto + -2.2477 3.3568 lineto + -2.2313 3.43 lineto + -2.2134 3.5037 lineto + %end circumferential + closepath +currentgray 0.6345161290322581 setgray fill setgray +% Sector from 3.7306 to 3.927 (quadrant 2) +newpath + -0.584 5.9884 moveto + -0.6525 6.0716 lineto + -0.7232 6.1558 lineto + -0.7962 6.241 lineto + -0.8715 6.3273 lineto + %middle radial + -0.8715 6.3273 lineto + -1.1899 6.378103166302659 lineto + %end radial + -1.1899 6.378103166302659 lineto + -1.6812 6.2186 lineto + -1.7053 6.1154 lineto + -1.7437 6.0673 lineto + -1.7813 6.0191 lineto + -1.8183 5.9708 lineto + -1.8546 5.9222 lineto + -1.8902 5.8736 lineto + -1.9251 5.8247 lineto + -1.9593 5.7758 lineto + -1.9928 5.7268 lineto + -2.0257 5.6776 lineto + -2.0578 5.6284 lineto + -2.12 5.5296 lineto + -2.1795 5.4306 lineto + -2.2363 5.3314 lineto + -2.2904 5.232 lineto + -2.3418 5.1326 lineto + %middle circumferential + -2.3418 5.1326 lineto + -2.3895 5.0358 lineto + -2.4346 4.939 lineto + -2.4773 4.8424 lineto + -2.5176 4.746 lineto + -2.5555 4.6498 lineto + -2.591 4.554 lineto + -2.6243 4.4586 lineto + -2.6552 4.3636 lineto + -2.6839 4.2691 lineto + -2.7104 4.1751 lineto + -2.7348 4.0817 lineto + -2.757 3.9889 lineto + -2.7771 3.8969 lineto + -2.7951 3.8056 lineto + -2.8112 3.715 lineto + -2.8253 3.6252 lineto + %end circumferential + -2.8253 3.6252 lineto + -2.7442 3.6128 lineto + -2.6647 3.5995 lineto + -2.5868 3.5855 lineto + -2.5104 3.5708 lineto + %middle radial + -2.5104 3.5708 lineto + -2.4338 3.555 lineto + -2.3588 3.5385 lineto + -2.2853 3.5214 lineto + -2.2134 3.5037 lineto + %end radial + -2.2134 3.5037 lineto + -2.1934 3.5799 lineto + -2.1717 3.6565 lineto + -2.1482 3.7336 lineto + -2.1231 3.8111 lineto + -2.0961 3.889 lineto + -2.0673 3.9672 lineto + -2.0367 4.0457 lineto + -2.0042 4.1245 lineto + -1.9699 4.2035 lineto + -1.9336 4.2826 lineto + -1.8954 4.3619 lineto + -1.8552 4.4412 lineto + -1.8131 4.5206 lineto + -1.7689 4.5999 lineto + -1.7228 4.6791 lineto + -1.6746 4.7582 lineto + %middle circumferential + -1.6746 4.7582 lineto + -1.623 4.8392 lineto + -1.5693 4.9199 lineto + -1.5133 5.0003 lineto + -1.4552 5.0803 lineto + -1.3948 5.1599 lineto + -1.3322 5.2389 lineto + -1.2675 5.3175 lineto + -1.2004 5.3954 lineto + -1.1312 5.4726 lineto + -1.0597 5.549 lineto + -0.986 5.6247 lineto + -0.91 5.6994 lineto + -0.8318 5.7733 lineto + -0.7514 5.8461 lineto + -0.6688 5.9178 lineto + -0.584 5.9884 lineto + %end circumferential + closepath +currentgray 0.6512903225806452 setgray fill setgray +% Sector from 3.5343 to 3.7306 (quadrant 2) +newpath + 3.2918 6.378103166302659 moveto + 3.2999 6.378103166302659 lineto + %middle radial + 3.2999 6.378103166302659 lineto + 3.2918 6.378103166302659 lineto + %end radial + 3.2918 6.378103166302659 lineto + 0.7193 6.378103166302659 lineto + %middle circumferential + 0.7193 6.378103166302659 lineto + -1.1899 6.378103166302659 lineto + %end circumferential + -1.1899 6.378103166302659 lineto + -0.8715 6.3273 lineto + %middle radial + -0.8715 6.3273 lineto + -0.7962 6.241 lineto + -0.7232 6.1558 lineto + -0.6525 6.0716 lineto + -0.584 5.9884 lineto + %end radial + -0.584 5.9884 lineto + -0.5397 6.0241 lineto + -0.4492 6.0947 lineto + -0.3564 6.1638 lineto + -0.2614 6.2315 lineto + -0.2131 6.2648 lineto + -0.1642 6.2977 lineto + -0.1147 6.3301 lineto + -0.0647 6.3622 lineto + 1.1046 6.378103166302659 lineto + %middle circumferential + 1.1046 6.378103166302659 lineto + 3.2918 6.378103166302659 lineto + %end circumferential + closepath +currentgray 0.6680645161290323 setgray fill setgray +% Sector from 3.3379 to 3.5343 (quadrant 2) +currentgray 0.6848387096774193 setgray fill setgray +% Sector from 3.1416 to 3.3379 (quadrant 2) +currentgray 0.7016129032258065 setgray fill setgray +% Sector from 2.9452 to 3.1416 (quadrant 1) +currentgray 0.7183870967741936 setgray fill setgray +% Sector from 2.7489 to 2.9452 (quadrant 1) +currentgray 0.7351612903225806 setgray fill setgray +% Sector from 2.5525 to 2.7489 (quadrant 1) +newpath + -0.584 -5.9884 moveto + -0.6525 -6.0716 lineto + -0.7232 -6.1558 lineto + -0.7962 -6.241 lineto + -0.8715 -6.3273 lineto + %middle radial + -0.8715 -6.3273 lineto + -1.1899 -6.378103166302659 lineto + %end radial + -1.1899 -6.378103166302659 lineto + 0.7193 -6.378103166302659 lineto + %middle circumferential + 0.7193 -6.378103166302659 lineto + 3.2918 -6.378103166302659 lineto + %end circumferential + 3.2918 -6.378103166302659 lineto + 3.2999 -6.378103166302659 lineto + %middle radial + 3.2999 -6.378103166302659 lineto + 3.2918 -6.378103166302659 lineto + %end radial + 3.2918 -6.378103166302659 lineto + 1.1046 -6.378103166302659 lineto + %middle circumferential + 1.1046 -6.378103166302659 lineto + -0.0514 -6.3706 lineto + -0.1011 -6.339 lineto + -0.1743 -6.2909 lineto + -0.2698 -6.2256 lineto + -0.3627 -6.1592 lineto + -0.4531 -6.0916 lineto + -0.541 -6.023 lineto + -0.584 -5.9884 lineto + %end circumferential + closepath +currentgray 0.7519354838709679 setgray fill setgray +% Sector from 2.3562 to 2.5525 (quadrant 1) +newpath + -2.2134 -3.5037 moveto + -2.2853 -3.5214 lineto + -2.3588 -3.5385 lineto + -2.4338 -3.555 lineto + -2.5104 -3.5708 lineto + %middle radial + -2.5104 -3.5708 lineto + -2.5868 -3.5855 lineto + -2.6647 -3.5995 lineto + -2.7442 -3.6128 lineto + -2.8253 -3.6252 lineto + %end radial + -2.8253 -3.6252 lineto + -2.8117 -3.7122 lineto + -2.7961 -3.8003 lineto + -2.7786 -3.8896 lineto + -2.759 -3.9799 lineto + -2.7374 -4.0712 lineto + -2.7135 -4.1635 lineto + -2.6875 -4.2568 lineto + -2.6591 -4.351 lineto + -2.6284 -4.4462 lineto + -2.5953 -4.5421 lineto + -2.5597 -4.6389 lineto + -2.5215 -4.7364 lineto + -2.4807 -4.8346 lineto + -2.4372 -4.9334 lineto + -2.3909 -5.0328 lineto + -2.3418 -5.1326 lineto + %middle circumferential + -2.3418 -5.1326 lineto + -2.292 -5.229 lineto + -2.2394 -5.3258 lineto + -2.1841 -5.4228 lineto + -2.1259 -5.52 lineto + -2.0649 -5.6174 lineto + -2.0009 -5.7148 lineto + -1.9678 -5.7635 lineto + -1.9339 -5.8122 lineto + -1.8993 -5.8609 lineto + -1.864 -5.9096 lineto + -1.8278 -5.9582 lineto + -1.7909 -6.0067 lineto + -1.7532 -6.0552 lineto + -1.7148 -6.1036 lineto + -1.6755 -6.1519 lineto + -1.643 -6.2288 lineto + -1.1899 -6.378103166302659 lineto + %end circumferential + -1.1899 -6.378103166302659 lineto + -0.8715 -6.3273 lineto + %middle radial + -0.8715 -6.3273 lineto + -0.7962 -6.241 lineto + -0.7232 -6.1558 lineto + -0.6525 -6.0716 lineto + -0.584 -5.9884 lineto + %end radial + -0.584 -5.9884 lineto + -0.6714 -5.9156 lineto + -0.7561 -5.8419 lineto + -0.8382 -5.7674 lineto + -0.9176 -5.6921 lineto + -0.9944 -5.6162 lineto + -1.0686 -5.5397 lineto + -1.1402 -5.4627 lineto + -1.2093 -5.3852 lineto + -1.2759 -5.3074 lineto + -1.34 -5.2293 lineto + -1.4017 -5.151 lineto + -1.4609 -5.0725 lineto + -1.5178 -4.994 lineto + -1.5723 -4.9153 lineto + -1.6246 -4.8367 lineto + -1.6746 -4.7582 lineto + %middle circumferential + -1.6746 -4.7582 lineto + -1.7243 -4.6766 lineto + -1.7716 -4.5952 lineto + -1.8166 -4.5141 lineto + -1.8593 -4.4333 lineto + -1.8999 -4.3528 lineto + -1.9382 -4.2728 lineto + -1.9745 -4.1932 lineto + -2.0086 -4.1141 lineto + -2.0408 -4.0355 lineto + -2.071 -3.9575 lineto + -2.0992 -3.8802 lineto + -2.1256 -3.8034 lineto + -2.1502 -3.7274 lineto + -2.1729 -3.6521 lineto + -2.194 -3.5775 lineto + -2.2134 -3.5037 lineto + %end circumferential + closepath +currentgray 0.7687096774193548 setgray fill setgray +% Sector from 2.1598 to 2.3562 (quadrant 1) +newpath + -2.1874 -1.5393 moveto + -2.2759 -1.5104 lineto + -2.3661 -1.4777 lineto + %middle radial + -2.3661 -1.4777 lineto + -2.4559 -1.4421 lineto + -2.5472 -1.4024 lineto + %end radial + -2.5472 -1.4024 lineto + -2.569 -1.4515 lineto + -2.6114 -1.5537 lineto + -2.6519 -1.6613 lineto + -2.6714 -1.7172 lineto + -2.6903 -1.7745 lineto + -2.7086 -1.8331 lineto + -2.7262 -1.8933 lineto + -2.7431 -1.9549 lineto + -2.7592 -2.0179 lineto + -2.7745 -2.0824 lineto + -2.7889 -2.1484 lineto + -2.8024 -2.2159 lineto + -2.8149 -2.285 lineto + -2.8264 -2.3555 lineto + %middle circumferential + -2.8264 -2.3555 lineto + -2.8363 -2.4244 lineto + -2.8452 -2.4948 lineto + -2.8529 -2.5666 lineto + -2.8595 -2.6397 lineto + -2.8649 -2.7143 lineto + -2.869 -2.7902 lineto + -2.8717 -2.8676 lineto + -2.8731 -2.9464 lineto + -2.8729 -3.0265 lineto + -2.8712 -3.108 lineto + -2.868 -3.1909 lineto + -2.863 -3.2751 lineto + -2.8564 -3.3607 lineto + -2.8479 -3.4476 lineto + -2.8376 -3.5358 lineto + -2.8253 -3.6252 lineto + %end circumferential + -2.8253 -3.6252 lineto + -2.7442 -3.6128 lineto + -2.6647 -3.5995 lineto + -2.5868 -3.5855 lineto + -2.5104 -3.5708 lineto + %middle radial + -2.5104 -3.5708 lineto + -2.4338 -3.555 lineto + -2.3588 -3.5385 lineto + -2.2853 -3.5214 lineto + -2.2134 -3.5037 lineto + %end radial + -2.2134 -3.5037 lineto + -2.2319 -3.4276 lineto + -2.2486 -3.3524 lineto + -2.2637 -3.2781 lineto + -2.2772 -3.2048 lineto + -2.2891 -3.1324 lineto + -2.2996 -3.0609 lineto + -2.3085 -2.9905 lineto + -2.3161 -2.9211 lineto + -2.3224 -2.8527 lineto + -2.3273 -2.7853 lineto + -2.331 -2.719 lineto + -2.3335 -2.6537 lineto + -2.3348 -2.5895 lineto + -2.335 -2.5263 lineto + -2.3342 -2.4642 lineto + -2.3323 -2.4032 lineto + %middle circumferential + -2.3323 -2.4032 lineto + -2.3293 -2.3406 lineto + -2.3253 -2.2791 lineto + -2.3204 -2.2189 lineto + -2.3145 -2.1598 lineto + -2.3001 -2.045 lineto + -2.2826 -1.9349 lineto + -2.2623 -1.8294 lineto + -2.2395 -1.7283 lineto + -2.2144 -1.6316 lineto + -2.1874 -1.5393 lineto + %end circumferential + closepath +currentgray 0.7854838709677419 setgray fill setgray +% Sector from 1.9635 to 2.1598 (quadrant 1) +newpath + -1.6173 -0.5125 moveto + -1.6921 -0.4393 lineto + %middle radial + -1.6921 -0.4393 lineto + -1.7624 -0.3585 lineto + %end radial + -1.7624 -0.3585 lineto + -1.8079 -0.3961 lineto + -1.8547 -0.4367 lineto + -1.9025 -0.4806 lineto + -1.9514 -0.5279 lineto + -2.0012 -0.5789 lineto + -2.0518 -0.6337 lineto + -2.1031 -0.6926 lineto + -2.155 -0.7558 lineto + %middle circumferential + -2.155 -0.7558 lineto + -2.2048 -0.8202 lineto + -2.2548 -0.8889 lineto + -2.3048 -0.9621 lineto + -2.3546 -1.04 lineto + -2.404 -1.1228 lineto + -2.4527 -1.2106 lineto + -2.5006 -1.3038 lineto + -2.5472 -1.4024 lineto + %end circumferential + -2.5472 -1.4024 lineto + -2.4559 -1.4421 lineto + -2.3661 -1.4777 lineto + %middle radial + -2.3661 -1.4777 lineto + -2.2759 -1.5104 lineto + -2.1874 -1.5393 lineto + %end radial + -2.1874 -1.5393 lineto + -2.1573 -1.4471 lineto + -2.1256 -1.3595 lineto + -2.0927 -1.2762 lineto + -2.0586 -1.1972 lineto + -2.0237 -1.1223 lineto + -1.9882 -1.0513 lineto + -1.9522 -0.9841 lineto + -1.9158 -0.9206 lineto + %middle circumferential + -1.9158 -0.9206 lineto + -1.8776 -0.8578 lineto + -1.8394 -0.7986 lineto + -1.8013 -0.7431 lineto + -1.7635 -0.6908 lineto + -1.7261 -0.6418 lineto + -1.6892 -0.5959 lineto + -1.6173 -0.5125 lineto + %end circumferential + closepath +currentgray 0.802258064516129 setgray fill setgray +% Sector from 1.7671 to 1.9635 (quadrant 1) +newpath + -1.1529 -0.1226 moveto + -1.1749 -0.0823 lineto + %middle radial + -1.1749 -0.0823 lineto + -1.1916 -0.0393 lineto + %end radial + -1.1916 -0.0393 lineto + -1.2417 -0.0563 lineto + -1.2984 -0.0783 lineto + -1.3618 -0.1061 lineto + -1.4323 -0.1408 lineto + %middle circumferential + -1.4323 -0.1408 lineto + -1.5055 -0.1812 lineto + -1.5851 -0.2301 lineto + -1.6708 -0.2887 lineto + -1.739 -0.3399 lineto + -1.7624 -0.3585 lineto + %end circumferential + -1.7624 -0.3585 lineto + -1.6921 -0.4393 lineto + %middle radial + -1.6921 -0.4393 lineto + -1.6173 -0.5125 lineto + %end radial + -1.6173 -0.5125 lineto + -1.545 -0.4361 lineto + -1.4765 -0.3699 lineto + -1.4123 -0.3127 lineto + -1.3526 -0.2635 lineto + %middle circumferential + -1.3526 -0.2635 lineto + -1.2948 -0.2192 lineto + -1.2422 -0.1815 lineto + -1.1529 -0.1226 lineto + %end circumferential + closepath +currentgray 0.8190322580645162 setgray fill setgray +% Sector from 1.5708 to 1.7671 (quadrant 1) +newpath + -0.99 0.0 moveto + -0.9975 0.0 lineto + %middle radial + -0.9975 0.0 lineto + -1.0 0.0 lineto + %end radial + -1.0 0.0 lineto + -1.0477 -0.0047 lineto + %middle circumferential + -1.0477 -0.0047 lineto + -1.1065 -0.016 lineto + -1.1916 -0.0393 lineto + %end circumferential + -1.1916 -0.0393 lineto + -1.1749 -0.0823 lineto + %middle radial + -1.1749 -0.0823 lineto + -1.1529 -0.1226 lineto + %end radial + -1.1529 -0.1226 lineto + -1.081 -0.0782 lineto + -1.0309 -0.0464 lineto + %middle circumferential + -1.0309 -0.0464 lineto + -0.99 0.0 lineto + %end circumferential + closepath +currentgray 0.8358064516129032 setgray fill setgray +% Sector from 1.3744 to 1.5708 (quadrant 0) +newpath + -1.1529 0.1226 moveto + -1.1749 0.0823 lineto + %middle radial + -1.1749 0.0823 lineto + -1.1916 0.0393 lineto + %end radial + -1.1916 0.0393 lineto + -1.1087 0.0165 lineto + -1.0477 0.0047 lineto + %middle circumferential + -1.0477 0.0047 lineto + -1.0 0.0 lineto + %end circumferential + -1.0 0.0 lineto + -0.9975 0.0 lineto + %middle radial + -0.9975 0.0 lineto + -0.99 0.0 lineto + %end radial + -0.99 0.0 lineto + -1.0309 0.0464 lineto + %middle circumferential + -1.0309 0.0464 lineto + -1.0829 0.0794 lineto + -1.1529 0.1226 lineto + %end circumferential + closepath +currentgray 0.8525806451612903 setgray fill setgray +% Sector from 1.1781 to 1.3744 (quadrant 0) +newpath + -1.6173 0.5125 moveto + -1.6921 0.4393 lineto + %middle radial + -1.6921 0.4393 lineto + -1.7624 0.3585 lineto + %end radial + -1.7624 0.3585 lineto + -1.6751 0.2918 lineto + -1.5905 0.2336 lineto + -1.5094 0.1834 lineto + -1.4323 0.1408 lineto + %middle circumferential + -1.4323 0.1408 lineto + -1.365 0.1075 lineto + -1.3022 0.0799 lineto + -1.2443 0.0573 lineto + -1.1916 0.0393 lineto + %end circumferential + -1.1916 0.0393 lineto + -1.1749 0.0823 lineto + %middle radial + -1.1749 0.0823 lineto + -1.1529 0.1226 lineto + %end radial + -1.1529 0.1226 lineto + -1.2454 0.1837 lineto + -1.2974 0.2211 lineto + -1.3526 0.2635 lineto + %middle circumferential + -1.3526 0.2635 lineto + -1.4154 0.3154 lineto + -1.4809 0.3739 lineto + -1.5484 0.4395 lineto + -1.6173 0.5125 lineto + %end circumferential + closepath +currentgray 0.8693548387096775 setgray fill setgray +% Sector from 0.9817 to 1.1781 (quadrant 0) +newpath + -2.1874 1.5393 moveto + -2.2759 1.5104 lineto + -2.3661 1.4777 lineto + %middle radial + -2.3661 1.4777 lineto + -2.4559 1.4421 lineto + -2.5472 1.4024 lineto + %end radial + -2.5472 1.4024 lineto + -2.5034 1.3096 lineto + -2.4578 1.2201 lineto + -2.4105 1.1341 lineto + -2.3616 1.0514 lineto + -2.3115 0.9722 lineto + -2.2602 0.8966 lineto + -2.2079 0.8244 lineto + -2.155 0.7558 lineto + %middle circumferential + -2.155 0.7558 lineto + -2.1061 0.6961 lineto + -2.0569 0.6394 lineto + -2.0075 0.5856 lineto + -1.9581 0.5346 lineto + -1.9087 0.4865 lineto + -1.8596 0.4411 lineto + -1.8108 0.3985 lineto + -1.7624 0.3585 lineto + %end circumferential + -1.7624 0.3585 lineto + -1.6921 0.4393 lineto + %middle radial + -1.6921 0.4393 lineto + -1.6173 0.5125 lineto + %end radial + -1.6173 0.5125 lineto + -1.6551 0.5553 lineto + -1.693 0.6005 lineto + -1.7308 0.6479 lineto + -1.7686 0.6977 lineto + -1.8061 0.7499 lineto + -1.8432 0.8044 lineto + -1.8798 0.8613 lineto + -1.9158 0.9206 lineto + %middle circumferential + -1.9158 0.9206 lineto + -1.9545 0.9883 lineto + -1.992 1.0588 lineto + -2.0284 1.1321 lineto + -2.0635 1.2082 lineto + -2.0971 1.287 lineto + -2.129 1.3685 lineto + -2.1592 1.4526 lineto + -2.1874 1.5393 lineto + %end circumferential + closepath +currentgray 0.8861290322580645 setgray fill setgray +% Sector from 0.7854 to 0.9817 (quadrant 0) +newpath + -2.2134 3.5037 moveto + -2.2853 3.5214 lineto + -2.3588 3.5385 lineto + -2.4338 3.555 lineto + -2.5104 3.5708 lineto + %middle radial + -2.5104 3.5708 lineto + -2.5868 3.5855 lineto + -2.6647 3.5995 lineto + -2.7442 3.6128 lineto + -2.8253 3.6252 lineto + %end radial + -2.8253 3.6252 lineto + -2.8367 3.5423 lineto + -2.8466 3.4596 lineto + -2.8549 3.3772 lineto + -2.8616 3.2952 lineto + -2.8668 3.2137 lineto + -2.8704 3.1326 lineto + -2.8725 3.052 lineto + -2.8732 2.9719 lineto + -2.8723 2.8924 lineto + -2.87 2.8135 lineto + -2.8662 2.7353 lineto + -2.861 2.6578 lineto + -2.8544 2.581 lineto + -2.8464 2.505 lineto + -2.837 2.4298 lineto + -2.8264 2.3555 lineto + %middle circumferential + -2.8264 2.3555 lineto + -2.8157 2.2897 lineto + -2.804 2.2247 lineto + -2.7914 2.1604 lineto + -2.7777 2.0969 lineto + -2.7632 2.0342 lineto + -2.7476 1.9723 lineto + -2.7312 1.9112 lineto + -2.7139 1.851 lineto + -2.6958 1.7917 lineto + -2.6768 1.7333 lineto + -2.6571 1.6757 lineto + -2.6365 1.6192 lineto + -2.6152 1.5635 lineto + -2.5932 1.5088 lineto + -2.5472 1.4024 lineto + %end circumferential + -2.5472 1.4024 lineto + -2.4559 1.4421 lineto + -2.3661 1.4777 lineto + %middle radial + -2.3661 1.4777 lineto + -2.2759 1.5104 lineto + -2.1874 1.5393 lineto + %end radial + -2.1874 1.5393 lineto + -2.2161 1.638 lineto + -2.2422 1.7396 lineto + -2.2653 1.844 lineto + -2.2854 1.9511 lineto + -2.3023 2.0607 lineto + -2.3159 2.1727 lineto + -2.3259 2.2869 lineto + -2.3323 2.4032 lineto + %middle circumferential + -2.3323 2.4032 lineto + -2.3343 2.469 lineto + -2.3351 2.5353 lineto + -2.3346 2.6022 lineto + -2.333 2.6696 lineto + -2.3301 2.7374 lineto + -2.3259 2.8056 lineto + -2.3205 2.8743 lineto + -2.3138 2.9432 lineto + -2.3059 3.0125 lineto + -2.2966 3.0821 lineto + -2.286 3.152 lineto + -2.2741 3.222 lineto + -2.2609 3.2923 lineto + -2.2464 3.3626 lineto + -2.2306 3.4331 lineto + -2.2134 3.5037 lineto + %end circumferential + closepath +currentgray 0.9029032258064516 setgray fill setgray +% Sector from 0.589 to 0.7854 (quadrant 0) +newpath + -0.584 5.9884 moveto + -0.6525 6.0716 lineto + -0.7232 6.1558 lineto + -0.7962 6.241 lineto + -0.8715 6.3273 lineto + %middle radial + -0.8715 6.3273 lineto + -1.1899 6.378103166302659 lineto + %end radial + -1.1899 6.378103166302659 lineto + -1.6585 6.2247 lineto + -1.6867 6.1383 lineto + -1.7248 6.091 lineto + -1.7625 6.0434 lineto + -1.7996 5.9955 lineto + -1.8361 5.9471 lineto + -1.8721 5.8984 lineto + -1.9076 5.8494 lineto + -1.9424 5.8001 lineto + -1.9767 5.7504 lineto + -2.0105 5.7005 lineto + -2.0436 5.6502 lineto + -2.0762 5.5996 lineto + -2.1082 5.5488 lineto + -2.1395 5.4976 lineto + -2.1703 5.4462 lineto + -2.2004 5.3946 lineto + -2.23 5.3426 lineto + -2.2589 5.2905 lineto + -2.2872 5.2381 lineto + -2.3148 5.1855 lineto + -2.3418 5.1326 lineto + %middle circumferential + -2.3418 5.1326 lineto + -2.3871 5.0406 lineto + -2.4305 4.9481 lineto + -2.4719 4.855 lineto + -2.5112 4.7615 lineto + -2.5486 4.6676 lineto + -2.584 4.5734 lineto + -2.6174 4.4788 lineto + -2.6487 4.3841 lineto + -2.678 4.2892 lineto + -2.7052 4.1942 lineto + -2.7304 4.0991 lineto + -2.7535 4.0041 lineto + -2.7745 3.9091 lineto + -2.7935 3.8143 lineto + -2.8104 3.7196 lineto + -2.8253 3.6252 lineto + %end circumferential + -2.8253 3.6252 lineto + -2.7442 3.6128 lineto + -2.6647 3.5995 lineto + -2.5868 3.5855 lineto + -2.5104 3.5708 lineto + %middle radial + -2.5104 3.5708 lineto + -2.4338 3.555 lineto + -2.3588 3.5385 lineto + -2.2853 3.5214 lineto + -2.2134 3.5037 lineto + %end radial + -2.2134 3.5037 lineto + -2.1923 3.5838 lineto + -2.1695 3.6638 lineto + -2.145 3.7439 lineto + -2.1188 3.8238 lineto + -2.0909 3.9036 lineto + -2.0612 3.9832 lineto + -2.0299 4.0625 lineto + -1.997 4.1416 lineto + -1.9623 4.2203 lineto + -1.926 4.2986 lineto + -1.8881 4.3766 lineto + -1.8486 4.454 lineto + -1.8074 4.5309 lineto + -1.7647 4.6073 lineto + -1.7204 4.6831 lineto + -1.6746 4.7582 lineto + %middle circumferential + -1.6746 4.7582 lineto + -1.6198 4.8441 lineto + -1.563 4.929 lineto + -1.5043 5.0129 lineto + -1.4436 5.0957 lineto + -1.3811 5.1774 lineto + -1.3168 5.2579 lineto + -1.2507 5.3372 lineto + -1.1829 5.4152 lineto + -1.1134 5.4919 lineto + -1.0423 5.5672 lineto + -0.9695 5.6411 lineto + -0.8953 5.7136 lineto + -0.8196 5.7846 lineto + -0.7424 5.8541 lineto + -0.6639 5.922 lineto + -0.584 5.9884 lineto + %end circumferential + closepath +currentgray 0.9196774193548387 setgray fill setgray +% Sector from 0.3927 to 0.589 (quadrant 0) +newpath + 3.2918 6.378103166302659 moveto + 3.2999 6.378103166302659 lineto + %middle radial + 3.2999 6.378103166302659 lineto + 3.2918 6.378103166302659 lineto + %end radial + 3.2918 6.378103166302659 lineto + 0.7193 6.378103166302659 lineto + %middle circumferential + 0.7193 6.378103166302659 lineto + -1.1899 6.378103166302659 lineto + %end circumferential + -1.1899 6.378103166302659 lineto + -0.8715 6.3273 lineto + %middle radial + -0.8715 6.3273 lineto + -0.7962 6.241 lineto + -0.7232 6.1558 lineto + -0.6525 6.0716 lineto + -0.584 5.9884 lineto + %end radial + -0.584 5.9884 lineto + -0.5602 6.0077 lineto + -0.5122 6.0459 lineto + -0.4637 6.0836 lineto + -0.4148 6.1206 lineto + -0.3655 6.1571 lineto + -0.3159 6.1931 lineto + -0.2658 6.2284 lineto + -0.2154 6.2632 lineto + -0.1646 6.2973 lineto + -0.1135 6.3309 lineto + -0.0621 6.3639 lineto + 1.1046 6.378103166302659 lineto + %middle circumferential + 1.1046 6.378103166302659 lineto + 3.2918 6.378103166302659 lineto + %end circumferential + closepath +currentgray 0.9364516129032258 setgray fill setgray +% Sector from 0.1963 to 0.3927 (quadrant 0) +currentgray 0.9532258064516128 setgray fill setgray +% Sector from 0.0 to 0.1963 (quadrant 0) +currentgray 0.97 setgray fill setgray +% Horizontal line from (0.5, 0.0) to (0.0, 0.0) +newpath + 1.1276 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.5, 0.0) to (1.0, 0.0) +newpath + 1.1276 0.0 moveto + 1.5431 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.0, 0.0) +newpath + 3.7622 0.0 moveto + 1.5431 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.1579208923731617E77, 0.0) +newpath + 3.7622 0.0 moveto + 6.3673 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (0.0, 1.0) +newpath + 2.0327 3.0519 moveto + 1.9888 2.9809 lineto + 1.9464 2.9122 lineto + 1.9054 2.8457 lineto + 1.8659 2.7814 lineto + 1.8276 2.7191 lineto + 1.7906 2.6587 lineto + 1.7549 2.6003 lineto + 1.7203 2.5436 lineto + 1.6869 2.4887 lineto + 1.6545 2.4355 lineto + 1.6232 2.3839 lineto + 1.5636 2.2852 lineto + 1.5077 2.1922 lineto + 1.4553 2.1045 lineto + 1.4061 2.0218 lineto + 1.3599 1.9436 lineto + 1.3164 1.8696 lineto + 1.2756 1.7996 lineto + 1.2371 1.7333 lineto + 1.2009 1.6703 lineto + 1.1668 1.6106 lineto + 1.1346 1.5539 lineto + 1.1043 1.4999 lineto + 1.0619 1.4238 lineto + 1.0108 1.3305 lineto + 0.9652 1.2456 lineto + 0.9243 1.1679 lineto + 0.8876 1.0968 lineto + 0.8547 1.0315 lineto + 0.8251 0.9713 lineto + 0.7985 0.9157 lineto + 0.7634 0.8399 lineto + 0.7242 0.7511 lineto + 0.6922 0.6739 lineto + 0.6659 0.6063 lineto + 0.6443 0.5468 lineto + 0.6119 0.4472 lineto + 0.5897 0.3678 lineto + 0.5744 0.3037 lineto + 0.5599 0.229 lineto + 0.5497 0.158 lineto + 0.5435 0.0911 lineto + 0.5405 0.0211 lineto + 0.5403 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (1.1579208923731617E77, 1.0) +newpath + 2.0327 3.0519 moveto + 2.0759 3.1216 lineto + 2.1205 3.1935 lineto + 2.1667 3.2678 lineto + 2.2144 3.3446 lineto + 2.2639 3.4239 lineto + 2.315 3.5058 lineto + 2.368 3.5906 lineto + 2.4228 3.6782 lineto + 2.4796 3.7689 lineto + 2.5384 3.8627 lineto + 2.5993 3.9598 lineto + 2.6625 4.0603 lineto + 2.728 4.1644 lineto + 2.7959 4.2722 lineto + 2.8663 4.384 lineto + 2.9394 4.4998 lineto + 3.0152 4.6199 lineto + 3.0939 4.7444 lineto + 3.1756 4.8736 lineto + 3.2605 5.0077 lineto + 3.3487 5.1469 lineto + 3.4403 5.2914 lineto + 3.5105 5.4013 lineto + 3.4978 5.4096 lineto + 6.378103166302659 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (0.0, -1.0) +newpath + 2.0327 -3.0519 moveto + 1.9888 -2.9809 lineto + 1.9464 -2.9122 lineto + 1.9054 -2.8457 lineto + 1.8659 -2.7814 lineto + 1.8276 -2.7191 lineto + 1.7906 -2.6587 lineto + 1.7549 -2.6003 lineto + 1.7203 -2.5436 lineto + 1.6869 -2.4887 lineto + 1.6545 -2.4355 lineto + 1.6232 -2.3839 lineto + 1.5636 -2.2852 lineto + 1.5077 -2.1922 lineto + 1.4553 -2.1045 lineto + 1.4061 -2.0218 lineto + 1.3599 -1.9436 lineto + 1.3164 -1.8696 lineto + 1.2756 -1.7996 lineto + 1.2371 -1.7333 lineto + 1.2009 -1.6703 lineto + 1.1668 -1.6106 lineto + 1.1346 -1.5539 lineto + 1.1043 -1.4999 lineto + 1.0619 -1.4238 lineto + 1.0108 -1.3305 lineto + 0.9652 -1.2456 lineto + 0.9243 -1.1679 lineto + 0.8876 -1.0968 lineto + 0.8547 -1.0315 lineto + 0.8251 -0.9713 lineto + 0.7985 -0.9157 lineto + 0.7634 -0.8399 lineto + 0.7242 -0.7511 lineto + 0.6922 -0.6739 lineto + 0.6659 -0.6063 lineto + 0.6443 -0.5468 lineto + 0.6119 -0.4472 lineto + 0.5897 -0.3678 lineto + 0.5744 -0.3037 lineto + 0.5599 -0.229 lineto + 0.5497 -0.158 lineto + 0.5435 -0.0911 lineto + 0.5405 -0.0211 lineto + 0.5403 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (1.1579208923731617E77, -1.0) +newpath + 2.0327 -3.0519 moveto + 2.0759 -3.1216 lineto + 2.1205 -3.1935 lineto + 2.1667 -3.2678 lineto + 2.2144 -3.3446 lineto + 2.2639 -3.4239 lineto + 2.315 -3.5058 lineto + 2.368 -3.5906 lineto + 2.4228 -3.6782 lineto + 2.4796 -3.7689 lineto + 2.5384 -3.8627 lineto + 2.5993 -3.9598 lineto + 2.6625 -4.0603 lineto + 2.728 -4.1644 lineto + 2.7959 -4.2722 lineto + 2.8663 -4.384 lineto + 2.9394 -4.4998 lineto + 3.0152 -4.6199 lineto + 3.0939 -4.7444 lineto + 3.1756 -4.8736 lineto + 3.2605 -5.0077 lineto + 3.3487 -5.1469 lineto + 3.4403 -5.2914 lineto + 3.5105 -5.4013 lineto + 3.4978 -5.4096 lineto + 6.378103166302659 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (1.1579208923731617E77, 2.0) +newpath + -0.4161 0.0 moveto + -0.4183 0.0936 lineto + -0.4228 0.1626 lineto + -0.4299 0.2359 lineto + -0.4401 0.3129 lineto + -0.4508 0.379 lineto + -0.4665 0.4606 lineto + -0.4894 0.5627 lineto + -0.5046 0.6236 lineto + -0.5231 0.6926 lineto + -0.5457 0.7712 lineto + -0.5732 0.8614 lineto + -0.607 0.9656 lineto + -0.6267 1.024 lineto + -0.6486 1.0871 lineto + -0.673 1.1556 lineto + -0.7001 1.2301 lineto + -0.7303 1.3114 lineto + -0.7641 1.4002 lineto + -0.8019 1.4977 lineto + -0.8332 1.5771 lineto + -0.8556 1.6334 lineto + -0.8793 1.6926 lineto + -0.9045 1.7549 lineto + -0.9313 1.8204 lineto + -0.9597 1.8895 lineto + -0.9898 1.9624 lineto + -1.0219 2.0393 lineto + -1.056 2.1206 lineto + -1.0923 2.2066 lineto + -1.1309 2.2977 lineto + -1.1721 2.3942 lineto + -1.216 2.4966 lineto + -1.2509 2.5776 lineto + -1.2751 2.6336 lineto + -1.3002 2.6914 lineto + -1.326 2.7511 lineto + -1.3528 2.8126 lineto + -1.3805 2.8761 lineto + -1.4091 2.9416 lineto + -1.4387 3.0093 lineto + -1.4694 3.0792 lineto + -1.5011 3.1515 lineto + -1.534 3.2261 lineto + -1.568 3.3033 lineto + -1.6033 3.3831 lineto + -1.6398 3.4657 lineto + -1.6776 3.5511 lineto + -1.7169 3.6395 lineto + -1.7575 3.7311 lineto + -1.7997 3.8259 lineto + -1.8435 3.9241 lineto + -1.8889 4.0259 lineto + -1.9481 4.1583 lineto + -1.9974 4.2687 lineto + -2.0487 4.3832 lineto + -2.102 4.502 lineto + -2.1573 4.6254 lineto + -2.2149 4.7534 lineto + -2.2747 4.8864 lineto + -2.3369 5.0246 lineto + -2.4016 5.1682 lineto + -2.4689 5.3176 lineto + -2.539 5.4729 lineto + -2.612 5.6345 lineto + -2.6687 5.76 lineto + -2.7073 5.8454 lineto + -6.378103166302659 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (1.1579208923731617E77, -2.0) +newpath + -0.4161 0.0 moveto + -0.4183 -0.0936 lineto + -0.4228 -0.1626 lineto + -0.4299 -0.2359 lineto + -0.4401 -0.3129 lineto + -0.4508 -0.379 lineto + -0.4665 -0.4606 lineto + -0.4894 -0.5627 lineto + -0.5046 -0.6236 lineto + -0.5231 -0.6926 lineto + -0.5457 -0.7712 lineto + -0.5732 -0.8614 lineto + -0.607 -0.9656 lineto + -0.6267 -1.024 lineto + -0.6486 -1.0871 lineto + -0.673 -1.1556 lineto + -0.7001 -1.2301 lineto + -0.7303 -1.3114 lineto + -0.7641 -1.4002 lineto + -0.8019 -1.4977 lineto + -0.8332 -1.5771 lineto + -0.8556 -1.6334 lineto + -0.8793 -1.6926 lineto + -0.9045 -1.7549 lineto + -0.9313 -1.8204 lineto + -0.9597 -1.8895 lineto + -0.9898 -1.9624 lineto + -1.0219 -2.0393 lineto + -1.056 -2.1206 lineto + -1.0923 -2.2066 lineto + -1.1309 -2.2977 lineto + -1.1721 -2.3942 lineto + -1.216 -2.4966 lineto + -1.2509 -2.5776 lineto + -1.2751 -2.6336 lineto + -1.3002 -2.6914 lineto + -1.326 -2.7511 lineto + -1.3528 -2.8126 lineto + -1.3805 -2.8761 lineto + -1.4091 -2.9416 lineto + -1.4387 -3.0093 lineto + -1.4694 -3.0792 lineto + -1.5011 -3.1515 lineto + -1.534 -3.2261 lineto + -1.568 -3.3033 lineto + -1.6033 -3.3831 lineto + -1.6398 -3.4657 lineto + -1.6776 -3.5511 lineto + -1.7169 -3.6395 lineto + -1.7575 -3.7311 lineto + -1.7997 -3.8259 lineto + -1.8435 -3.9241 lineto + -1.8889 -4.0259 lineto + -1.9481 -4.1583 lineto + -1.9974 -4.2687 lineto + -2.0487 -4.3832 lineto + -2.102 -4.502 lineto + -2.1573 -4.6254 lineto + -2.2149 -4.7534 lineto + -2.2747 -4.8864 lineto + -2.3369 -5.0246 lineto + -2.4016 -5.1682 lineto + -2.4689 -5.3176 lineto + -2.539 -5.4729 lineto + -2.612 -5.6345 lineto + -2.6687 -5.76 lineto + -2.7073 -5.8454 lineto + -6.378103166302659 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (1.1579208923731617E77, 3.0) +newpath + -0.99 0.0 moveto + -1.0374 0.0442 lineto + -1.1344 0.079 lineto + -1.2004 0.0968 lineto + -1.2981 0.1197 lineto + -1.3637 0.1337 lineto + -1.4441 0.1499 lineto + -1.543 0.1687 lineto + -1.601 0.1793 lineto + -1.6655 0.1909 lineto + -1.7374 0.2035 lineto + -1.8177 0.2173 lineto + -1.9076 0.2324 lineto + -2.0083 0.2491 lineto + -2.0919 0.2627 lineto + -2.1519 0.2724 lineto + -2.2155 0.2825 lineto + -2.283 0.2932 lineto + -2.3548 0.3046 lineto + -2.431 0.3165 lineto + -2.5121 0.3291 lineto + -2.5985 0.3425 lineto + -2.6904 0.3566 lineto + -2.7884 0.3716 lineto + -2.8929 0.3875 lineto + -3.0044 0.4043 lineto + -3.1235 0.4223 lineto + -3.2509 0.4414 lineto + -3.3522 0.4565 lineto + -3.4588 0.4724 lineto + -3.5711 0.4891 lineto + -3.6894 0.5066 lineto + -3.8141 0.5251 lineto + -3.9456 0.5444 lineto + -4.0843 0.5648 lineto + -4.2308 0.5863 lineto + -4.3855 0.609 lineto + -4.5491 0.6329 lineto + -4.7518 0.6625 lineto + -4.9684 0.694 lineto + -5.2 0.7277 lineto + -5.4478 0.7636 lineto + -5.7133 0.8021 lineto + -5.956 0.8372 lineto + -6.2139 0.8745 lineto + -6.3033 0.8874 lineto + -6.378103166302659 0.8985 lineto + -6.378103166302659 3.8512 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (1.1579208923731617E77, -3.0) +newpath + -0.99 0.0 moveto + -1.0374 -0.0442 lineto + -1.1344 -0.079 lineto + -1.2004 -0.0968 lineto + -1.2981 -0.1197 lineto + -1.3637 -0.1337 lineto + -1.4441 -0.1499 lineto + -1.543 -0.1687 lineto + -1.601 -0.1793 lineto + -1.6655 -0.1909 lineto + -1.7374 -0.2035 lineto + -1.8177 -0.2173 lineto + -1.9076 -0.2324 lineto + -2.0083 -0.2491 lineto + -2.0919 -0.2627 lineto + -2.1519 -0.2724 lineto + -2.2155 -0.2825 lineto + -2.283 -0.2932 lineto + -2.3548 -0.3046 lineto + -2.431 -0.3165 lineto + -2.5121 -0.3291 lineto + -2.5985 -0.3425 lineto + -2.6904 -0.3566 lineto + -2.7884 -0.3716 lineto + -2.8929 -0.3875 lineto + -3.0044 -0.4043 lineto + -3.1235 -0.4223 lineto + -3.2509 -0.4414 lineto + -3.3522 -0.4565 lineto + -3.4588 -0.4724 lineto + -3.5711 -0.4891 lineto + -3.6894 -0.5066 lineto + -3.8141 -0.5251 lineto + -3.9456 -0.5444 lineto + -4.0843 -0.5648 lineto + -4.2308 -0.5863 lineto + -4.3855 -0.609 lineto + -4.5491 -0.6329 lineto + -4.7518 -0.6625 lineto + -4.9684 -0.694 lineto + -5.2 -0.7277 lineto + -5.4478 -0.7636 lineto + -5.7133 -0.8021 lineto + -5.956 -0.8372 lineto + -6.2139 -0.8745 lineto + -6.3033 -0.8874 lineto + -6.378103166302659 -0.8985 lineto + -6.378103166302659 -3.8512 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (0.0, 0.0) +newpath + 1.1276 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (-1.0, 0.0) +newpath + 1.1276 0.0 moveto + 1.5431 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.0, 0.0) +newpath + 3.7622 0.0 moveto + 1.5431 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.1579208923731617E77, 0.0) +newpath + 3.7622 0.0 moveto + 6.3673 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (0.0, 1.0) +newpath + 2.0327 -3.0519 moveto + 1.9888 -2.9809 lineto + 1.9464 -2.9122 lineto + 1.9054 -2.8457 lineto + 1.8659 -2.7814 lineto + 1.8276 -2.7191 lineto + 1.7906 -2.6587 lineto + 1.7549 -2.6003 lineto + 1.7203 -2.5436 lineto + 1.6869 -2.4887 lineto + 1.6545 -2.4355 lineto + 1.6232 -2.3839 lineto + 1.5636 -2.2852 lineto + 1.5077 -2.1922 lineto + 1.4553 -2.1045 lineto + 1.4061 -2.0218 lineto + 1.3599 -1.9436 lineto + 1.3164 -1.8696 lineto + 1.2756 -1.7996 lineto + 1.2371 -1.7333 lineto + 1.2009 -1.6703 lineto + 1.1668 -1.6106 lineto + 1.1346 -1.5539 lineto + 1.1043 -1.4999 lineto + 1.0619 -1.4238 lineto + 1.0108 -1.3305 lineto + 0.9652 -1.2456 lineto + 0.9243 -1.1679 lineto + 0.8876 -1.0968 lineto + 0.8547 -1.0315 lineto + 0.8251 -0.9713 lineto + 0.7985 -0.9157 lineto + 0.7634 -0.8399 lineto + 0.7242 -0.7511 lineto + 0.6922 -0.6739 lineto + 0.6659 -0.6063 lineto + 0.6443 -0.5468 lineto + 0.6119 -0.4472 lineto + 0.5897 -0.3678 lineto + 0.5744 -0.3037 lineto + 0.5599 -0.229 lineto + 0.5497 -0.158 lineto + 0.5435 -0.0911 lineto + 0.5405 -0.0211 lineto + 0.5403 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (-1.1579208923731617E77, 1.0) +newpath + 2.0327 -3.0519 moveto + 2.0759 -3.1216 lineto + 2.1205 -3.1935 lineto + 2.1667 -3.2678 lineto + 2.2144 -3.3446 lineto + 2.2639 -3.4239 lineto + 2.315 -3.5058 lineto + 2.368 -3.5906 lineto + 2.4228 -3.6782 lineto + 2.4796 -3.7689 lineto + 2.5384 -3.8627 lineto + 2.5993 -3.9598 lineto + 2.6625 -4.0603 lineto + 2.728 -4.1644 lineto + 2.7959 -4.2722 lineto + 2.8663 -4.384 lineto + 2.9394 -4.4998 lineto + 3.0152 -4.6199 lineto + 3.0939 -4.7444 lineto + 3.1756 -4.8736 lineto + 3.2605 -5.0077 lineto + 3.3487 -5.1469 lineto + 3.4403 -5.2914 lineto + 3.5105 -5.4013 lineto + 3.4978 -5.4096 lineto + 6.378103166302659 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (0.0, -1.0) +newpath + 2.0327 3.0519 moveto + 1.9888 2.9809 lineto + 1.9464 2.9122 lineto + 1.9054 2.8457 lineto + 1.8659 2.7814 lineto + 1.8276 2.7191 lineto + 1.7906 2.6587 lineto + 1.7549 2.6003 lineto + 1.7203 2.5436 lineto + 1.6869 2.4887 lineto + 1.6545 2.4355 lineto + 1.6232 2.3839 lineto + 1.5636 2.2852 lineto + 1.5077 2.1922 lineto + 1.4553 2.1045 lineto + 1.4061 2.0218 lineto + 1.3599 1.9436 lineto + 1.3164 1.8696 lineto + 1.2756 1.7996 lineto + 1.2371 1.7333 lineto + 1.2009 1.6703 lineto + 1.1668 1.6106 lineto + 1.1346 1.5539 lineto + 1.1043 1.4999 lineto + 1.0619 1.4238 lineto + 1.0108 1.3305 lineto + 0.9652 1.2456 lineto + 0.9243 1.1679 lineto + 0.8876 1.0968 lineto + 0.8547 1.0315 lineto + 0.8251 0.9713 lineto + 0.7985 0.9157 lineto + 0.7634 0.8399 lineto + 0.7242 0.7511 lineto + 0.6922 0.6739 lineto + 0.6659 0.6063 lineto + 0.6443 0.5468 lineto + 0.6119 0.4472 lineto + 0.5897 0.3678 lineto + 0.5744 0.3037 lineto + 0.5599 0.229 lineto + 0.5497 0.158 lineto + 0.5435 0.0911 lineto + 0.5405 0.0211 lineto + 0.5403 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (-1.1579208923731617E77, -1.0) +newpath + 2.0327 3.0519 moveto + 2.0759 3.1216 lineto + 2.1205 3.1935 lineto + 2.1667 3.2678 lineto + 2.2144 3.3446 lineto + 2.2639 3.4239 lineto + 2.315 3.5058 lineto + 2.368 3.5906 lineto + 2.4228 3.6782 lineto + 2.4796 3.7689 lineto + 2.5384 3.8627 lineto + 2.5993 3.9598 lineto + 2.6625 4.0603 lineto + 2.728 4.1644 lineto + 2.7959 4.2722 lineto + 2.8663 4.384 lineto + 2.9394 4.4998 lineto + 3.0152 4.6199 lineto + 3.0939 4.7444 lineto + 3.1756 4.8736 lineto + 3.2605 5.0077 lineto + 3.3487 5.1469 lineto + 3.4403 5.2914 lineto + 3.5105 5.4013 lineto + 3.4978 5.4096 lineto + 6.378103166302659 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (-1.1579208923731617E77, 2.0) +newpath + -0.4161 0.0 moveto + -0.4183 -0.0936 lineto + -0.4228 -0.1626 lineto + -0.4299 -0.2359 lineto + -0.4401 -0.3129 lineto + -0.4508 -0.379 lineto + -0.4665 -0.4606 lineto + -0.4894 -0.5627 lineto + -0.5046 -0.6236 lineto + -0.5231 -0.6926 lineto + -0.5457 -0.7712 lineto + -0.5732 -0.8614 lineto + -0.607 -0.9656 lineto + -0.6267 -1.024 lineto + -0.6486 -1.0871 lineto + -0.673 -1.1556 lineto + -0.7001 -1.2301 lineto + -0.7303 -1.3114 lineto + -0.7641 -1.4002 lineto + -0.8019 -1.4977 lineto + -0.8332 -1.5771 lineto + -0.8556 -1.6334 lineto + -0.8793 -1.6926 lineto + -0.9045 -1.7549 lineto + -0.9313 -1.8204 lineto + -0.9597 -1.8895 lineto + -0.9898 -1.9624 lineto + -1.0219 -2.0393 lineto + -1.056 -2.1206 lineto + -1.0923 -2.2066 lineto + -1.1309 -2.2977 lineto + -1.1721 -2.3942 lineto + -1.216 -2.4966 lineto + -1.2509 -2.5776 lineto + -1.2751 -2.6336 lineto + -1.3002 -2.6914 lineto + -1.326 -2.7511 lineto + -1.3528 -2.8126 lineto + -1.3805 -2.8761 lineto + -1.4091 -2.9416 lineto + -1.4387 -3.0093 lineto + -1.4694 -3.0792 lineto + -1.5011 -3.1515 lineto + -1.534 -3.2261 lineto + -1.568 -3.3033 lineto + -1.6033 -3.3831 lineto + -1.6398 -3.4657 lineto + -1.6776 -3.5511 lineto + -1.7169 -3.6395 lineto + -1.7575 -3.7311 lineto + -1.7997 -3.8259 lineto + -1.8435 -3.9241 lineto + -1.8889 -4.0259 lineto + -1.9481 -4.1583 lineto + -1.9974 -4.2687 lineto + -2.0487 -4.3832 lineto + -2.102 -4.502 lineto + -2.1573 -4.6254 lineto + -2.2149 -4.7534 lineto + -2.2747 -4.8864 lineto + -2.3369 -5.0246 lineto + -2.4016 -5.1682 lineto + -2.4689 -5.3176 lineto + -2.539 -5.4729 lineto + -2.612 -5.6345 lineto + -2.6687 -5.76 lineto + -2.7073 -5.8454 lineto + -6.378103166302659 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (-1.1579208923731617E77, -2.0) +newpath + -0.4161 0.0 moveto + -0.4183 0.0936 lineto + -0.4228 0.1626 lineto + -0.4299 0.2359 lineto + -0.4401 0.3129 lineto + -0.4508 0.379 lineto + -0.4665 0.4606 lineto + -0.4894 0.5627 lineto + -0.5046 0.6236 lineto + -0.5231 0.6926 lineto + -0.5457 0.7712 lineto + -0.5732 0.8614 lineto + -0.607 0.9656 lineto + -0.6267 1.024 lineto + -0.6486 1.0871 lineto + -0.673 1.1556 lineto + -0.7001 1.2301 lineto + -0.7303 1.3114 lineto + -0.7641 1.4002 lineto + -0.8019 1.4977 lineto + -0.8332 1.5771 lineto + -0.8556 1.6334 lineto + -0.8793 1.6926 lineto + -0.9045 1.7549 lineto + -0.9313 1.8204 lineto + -0.9597 1.8895 lineto + -0.9898 1.9624 lineto + -1.0219 2.0393 lineto + -1.056 2.1206 lineto + -1.0923 2.2066 lineto + -1.1309 2.2977 lineto + -1.1721 2.3942 lineto + -1.216 2.4966 lineto + -1.2509 2.5776 lineto + -1.2751 2.6336 lineto + -1.3002 2.6914 lineto + -1.326 2.7511 lineto + -1.3528 2.8126 lineto + -1.3805 2.8761 lineto + -1.4091 2.9416 lineto + -1.4387 3.0093 lineto + -1.4694 3.0792 lineto + -1.5011 3.1515 lineto + -1.534 3.2261 lineto + -1.568 3.3033 lineto + -1.6033 3.3831 lineto + -1.6398 3.4657 lineto + -1.6776 3.5511 lineto + -1.7169 3.6395 lineto + -1.7575 3.7311 lineto + -1.7997 3.8259 lineto + -1.8435 3.9241 lineto + -1.8889 4.0259 lineto + -1.9481 4.1583 lineto + -1.9974 4.2687 lineto + -2.0487 4.3832 lineto + -2.102 4.502 lineto + -2.1573 4.6254 lineto + -2.2149 4.7534 lineto + -2.2747 4.8864 lineto + -2.3369 5.0246 lineto + -2.4016 5.1682 lineto + -2.4689 5.3176 lineto + -2.539 5.4729 lineto + -2.612 5.6345 lineto + -2.6687 5.76 lineto + -2.7073 5.8454 lineto + -6.378103166302659 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (-1.1579208923731617E77, 3.0) +newpath + -0.99 0.0 moveto + -1.0374 -0.0442 lineto + -1.1344 -0.079 lineto + -1.2004 -0.0968 lineto + -1.2981 -0.1197 lineto + -1.3637 -0.1337 lineto + -1.4441 -0.1499 lineto + -1.543 -0.1687 lineto + -1.601 -0.1793 lineto + -1.6655 -0.1909 lineto + -1.7374 -0.2035 lineto + -1.8177 -0.2173 lineto + -1.9076 -0.2324 lineto + -2.0083 -0.2491 lineto + -2.0919 -0.2627 lineto + -2.1519 -0.2724 lineto + -2.2155 -0.2825 lineto + -2.283 -0.2932 lineto + -2.3548 -0.3046 lineto + -2.431 -0.3165 lineto + -2.5121 -0.3291 lineto + -2.5985 -0.3425 lineto + -2.6904 -0.3566 lineto + -2.7884 -0.3716 lineto + -2.8929 -0.3875 lineto + -3.0044 -0.4043 lineto + -3.1235 -0.4223 lineto + -3.2509 -0.4414 lineto + -3.3522 -0.4565 lineto + -3.4588 -0.4724 lineto + -3.5711 -0.4891 lineto + -3.6894 -0.5066 lineto + -3.8141 -0.5251 lineto + -3.9456 -0.5444 lineto + -4.0843 -0.5648 lineto + -4.2308 -0.5863 lineto + -4.3855 -0.609 lineto + -4.5491 -0.6329 lineto + -4.7518 -0.6625 lineto + -4.9684 -0.694 lineto + -5.2 -0.7277 lineto + -5.4478 -0.7636 lineto + -5.7133 -0.8021 lineto + -5.956 -0.8372 lineto + -6.2139 -0.8745 lineto + -6.3033 -0.8874 lineto + -6.378103166302659 -0.8985 lineto + -6.378103166302659 -3.8512 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (-1.1579208923731617E77, -3.0) +newpath + -0.99 0.0 moveto + -1.0374 0.0442 lineto + -1.1344 0.079 lineto + -1.2004 0.0968 lineto + -1.2981 0.1197 lineto + -1.3637 0.1337 lineto + -1.4441 0.1499 lineto + -1.543 0.1687 lineto + -1.601 0.1793 lineto + -1.6655 0.1909 lineto + -1.7374 0.2035 lineto + -1.8177 0.2173 lineto + -1.9076 0.2324 lineto + -2.0083 0.2491 lineto + -2.0919 0.2627 lineto + -2.1519 0.2724 lineto + -2.2155 0.2825 lineto + -2.283 0.2932 lineto + -2.3548 0.3046 lineto + -2.431 0.3165 lineto + -2.5121 0.3291 lineto + -2.5985 0.3425 lineto + -2.6904 0.3566 lineto + -2.7884 0.3716 lineto + -2.8929 0.3875 lineto + -3.0044 0.4043 lineto + -3.1235 0.4223 lineto + -3.2509 0.4414 lineto + -3.3522 0.4565 lineto + -3.4588 0.4724 lineto + -3.5711 0.4891 lineto + -3.6894 0.5066 lineto + -3.8141 0.5251 lineto + -3.9456 0.5444 lineto + -4.0843 0.5648 lineto + -4.2308 0.5863 lineto + -4.3855 0.609 lineto + -4.5491 0.6329 lineto + -4.7518 0.6625 lineto + -4.9684 0.694 lineto + -5.2 0.7277 lineto + -5.4478 0.7636 lineto + -5.7133 0.8021 lineto + -5.956 0.8372 lineto + -6.2139 0.8745 lineto + -6.3033 0.8874 lineto + -6.378103166302659 0.8985 lineto + -6.378103166302659 3.8512 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 0.0) +newpath + 0.8776 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 1.0) +newpath + 0.8776 0.0 moveto + 0.5403 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.0) +newpath + -0.4161 0.0 moveto + 0.5403 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.1579208923731617E77) +newpath + -0.4161 0.0 moveto + -0.9648 0.0 lineto + 0.998 0.0 lineto + -0.4161 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 0.0) +newpath + -0.6421 1.0686 moveto + -0.5782 1.0896 lineto + -0.5147 1.1079 lineto + -0.4515 1.1238 lineto + -0.389 1.1372 lineto + -0.3272 1.1485 lineto + -0.2663 1.1576 lineto + -0.2064 1.1646 lineto + -0.1474 1.1698 lineto + -0.033 1.1749 lineto + 0.0765 1.1738 lineto + 0.1807 1.1671 lineto + 0.2796 1.1557 lineto + 0.3729 1.1404 lineto + 0.4608 1.1216 lineto + 0.5432 1.1 lineto + 0.6204 1.076 lineto + 0.6924 1.0502 lineto + 0.7595 1.023 lineto + 0.8219 0.9946 lineto + 0.8798 0.9655 lineto + 0.9334 0.9358 lineto + 1.029 0.8758 lineto + 1.1104 0.816 lineto + 1.1796 0.7576 lineto + 1.2381 0.7014 lineto + 1.2875 0.6478 lineto + 1.3291 0.597 lineto + 1.3794 0.5267 lineto + 1.4288 0.4438 lineto + 1.4634 0.3727 lineto + 1.4876 0.3122 lineto + 1.5163 0.2181 lineto + 1.5341 0.1267 lineto + 1.541 0.0612 lineto + 1.5431 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 1.1579208923731617E77) +newpath + -0.6421 1.0686 moveto + -0.7045 1.0456 lineto + -0.7668 1.0198 lineto + -0.8288 0.9913 lineto + -0.8903 0.9599 lineto + -0.951 0.9255 lineto + -1.0108 0.888 lineto + -1.0692 0.8473 lineto + -1.1261 0.8035 lineto + -1.181 0.7563 lineto + -1.2337 0.7059 lineto + -1.2837 0.6521 lineto + -1.3306 0.5951 lineto + -1.3741 0.5347 lineto + -1.4137 0.471 lineto + -1.4489 0.4042 lineto + -1.4793 0.3343 lineto + -1.5044 0.2615 lineto + -1.5236 0.186 lineto + -1.5366 0.1079 lineto + -1.5427 0.0276 lineto + -1.5414 -0.0547 lineto + -1.5323 -0.1385 lineto + -1.5149 -0.2235 lineto + -1.4887 -0.3091 lineto + -1.4534 -0.3949 lineto + -1.4084 -0.4802 lineto + -1.3535 -0.5643 lineto + -1.2885 -0.6467 lineto + -1.213 -0.7264 lineto + -1.1272 -0.8026 lineto + -1.0803 -0.8391 lineto + -1.0309 -0.8745 lineto + -0.9788 -0.9085 lineto + -0.9243 -0.9411 lineto + -0.8672 -0.9721 lineto + -0.8076 -1.0014 lineto + -0.7457 -1.0289 lineto + -0.6814 -1.0544 lineto + -0.6149 -1.0779 lineto + -0.5463 -1.0991 lineto + -0.4755 -1.118 lineto + -0.4029 -1.1344 lineto + -0.3285 -1.1483 lineto + -0.2524 -1.1594 lineto + -0.1748 -1.1676 lineto + -0.0959 -1.1729 lineto + -0.0158 -1.1751 lineto + 0.0652 -1.1742 lineto + 0.1469 -1.1699 lineto + 0.2291 -1.1622 lineto + 0.3115 -1.151 lineto + 0.3939 -1.1363 lineto + 0.4761 -1.1179 lineto + 0.5576 -1.0958 lineto + 0.6383 -1.0699 lineto + 0.7178 -1.0403 lineto + 0.7958 -1.0069 lineto + 0.872 -0.9696 lineto + 0.9459 -0.9285 lineto + 1.0173 -0.8837 lineto + 1.0857 -0.8351 lineto + 1.1509 -0.7828 lineto + 1.2124 -0.727 lineto + 1.2698 -0.6677 lineto + 1.3228 -0.6051 lineto + 1.371 -0.5393 lineto + 1.414 -0.4706 lineto + 1.4514 -0.399 lineto + 1.4829 -0.325 lineto + 1.5082 -0.2486 lineto + 1.5268 -0.1702 lineto + 1.5385 -0.0902 lineto + 1.543 -0.0089 lineto + 1.5401 0.0734 lineto + 1.5294 0.1562 lineto + 1.5108 0.2392 lineto + 1.4841 0.3218 lineto + 1.4492 0.4037 lineto + 1.406 0.4843 lineto + 1.3545 0.563 lineto + 1.2947 0.6394 lineto + 1.2267 0.713 lineto + 1.1506 0.7831 lineto + 1.0666 0.8492 lineto + 0.9751 0.9108 lineto + 0.8764 0.9673 lineto + 0.7978 1.0059 lineto + 0.7434 1.0298 lineto + 0.6875 1.0521 lineto + 0.63 1.0728 lineto + 0.5712 1.0917 lineto + 0.5111 1.1089 lineto + 0.4498 1.1242 lineto + 0.3873 1.1376 lineto + 0.3238 1.149 lineto + 0.2593 1.1585 lineto + 0.194 1.1659 lineto + 0.128 1.1712 lineto + 0.0614 1.1743 lineto + -0.0057 1.1752 lineto + -0.0732 1.1739 lineto + -0.1409 1.1703 lineto + -0.2087 1.1644 lineto + -0.2765 1.1562 lineto + -0.3441 1.1456 lineto + -0.4113 1.1327 lineto + -0.4781 1.1174 lineto + -0.5443 1.0997 lineto + -0.6098 1.0796 lineto + -0.6421 1.0686 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 0.0) +newpath + -0.6421 -1.0686 moveto + -0.5782 -1.0896 lineto + -0.5147 -1.1079 lineto + -0.4515 -1.1238 lineto + -0.389 -1.1372 lineto + -0.3272 -1.1485 lineto + -0.2663 -1.1576 lineto + -0.2064 -1.1646 lineto + -0.1474 -1.1698 lineto + -0.033 -1.1749 lineto + 0.0765 -1.1738 lineto + 0.1807 -1.1671 lineto + 0.2796 -1.1557 lineto + 0.3729 -1.1404 lineto + 0.4608 -1.1216 lineto + 0.5432 -1.1 lineto + 0.6204 -1.076 lineto + 0.6924 -1.0502 lineto + 0.7595 -1.023 lineto + 0.8219 -0.9946 lineto + 0.8798 -0.9655 lineto + 0.9334 -0.9358 lineto + 1.029 -0.8758 lineto + 1.1104 -0.816 lineto + 1.1796 -0.7576 lineto + 1.2381 -0.7014 lineto + 1.2875 -0.6478 lineto + 1.3291 -0.597 lineto + 1.3794 -0.5267 lineto + 1.4288 -0.4438 lineto + 1.4634 -0.3727 lineto + 1.4876 -0.3122 lineto + 1.5163 -0.2181 lineto + 1.5341 -0.1267 lineto + 1.541 -0.0612 lineto + 1.5431 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 1.1579208923731617E77) +newpath + -0.6421 -1.0686 moveto + -0.7045 -1.0456 lineto + -0.7668 -1.0198 lineto + -0.8288 -0.9913 lineto + -0.8903 -0.9599 lineto + -0.951 -0.9255 lineto + -1.0108 -0.888 lineto + -1.0692 -0.8473 lineto + -1.1261 -0.8035 lineto + -1.181 -0.7563 lineto + -1.2337 -0.7059 lineto + -1.2837 -0.6521 lineto + -1.3306 -0.5951 lineto + -1.3741 -0.5347 lineto + -1.4137 -0.471 lineto + -1.4489 -0.4042 lineto + -1.4793 -0.3343 lineto + -1.5044 -0.2615 lineto + -1.5236 -0.186 lineto + -1.5366 -0.1079 lineto + -1.5427 -0.0276 lineto + -1.5414 0.0547 lineto + -1.5323 0.1385 lineto + -1.5149 0.2235 lineto + -1.4887 0.3091 lineto + -1.4534 0.3949 lineto + -1.4084 0.4802 lineto + -1.3535 0.5643 lineto + -1.2885 0.6467 lineto + -1.213 0.7264 lineto + -1.1272 0.8026 lineto + -1.0803 0.8391 lineto + -1.0309 0.8745 lineto + -0.9788 0.9085 lineto + -0.9243 0.9411 lineto + -0.8672 0.9721 lineto + -0.8076 1.0014 lineto + -0.7457 1.0289 lineto + -0.6814 1.0544 lineto + -0.6149 1.0779 lineto + -0.5463 1.0991 lineto + -0.4755 1.118 lineto + -0.4029 1.1344 lineto + -0.3285 1.1483 lineto + -0.2524 1.1594 lineto + -0.1748 1.1676 lineto + -0.0959 1.1729 lineto + -0.0158 1.1751 lineto + 0.0652 1.1742 lineto + 0.1469 1.1699 lineto + 0.2291 1.1622 lineto + 0.3115 1.151 lineto + 0.3939 1.1363 lineto + 0.4761 1.1179 lineto + 0.5576 1.0958 lineto + 0.6383 1.0699 lineto + 0.7178 1.0403 lineto + 0.7958 1.0069 lineto + 0.872 0.9696 lineto + 0.9459 0.9285 lineto + 1.0173 0.8837 lineto + 1.0857 0.8351 lineto + 1.1509 0.7828 lineto + 1.2124 0.727 lineto + 1.2698 0.6677 lineto + 1.3228 0.6051 lineto + 1.371 0.5393 lineto + 1.414 0.4706 lineto + 1.4514 0.399 lineto + 1.4829 0.325 lineto + 1.5082 0.2486 lineto + 1.5268 0.1702 lineto + 1.5385 0.0902 lineto + 1.543 0.0089 lineto + 1.5401 -0.0734 lineto + 1.5294 -0.1562 lineto + 1.5108 -0.2392 lineto + 1.4841 -0.3218 lineto + 1.4492 -0.4037 lineto + 1.406 -0.4843 lineto + 1.3545 -0.563 lineto + 1.2947 -0.6394 lineto + 1.2267 -0.713 lineto + 1.1506 -0.7831 lineto + 1.0666 -0.8492 lineto + 0.9751 -0.9108 lineto + 0.8764 -0.9673 lineto + 0.7978 -1.0059 lineto + 0.7434 -1.0298 lineto + 0.6875 -1.0521 lineto + 0.63 -1.0728 lineto + 0.5712 -1.0917 lineto + 0.5111 -1.1089 lineto + 0.4498 -1.1242 lineto + 0.3873 -1.1376 lineto + 0.3238 -1.149 lineto + 0.2593 -1.1585 lineto + 0.194 -1.1659 lineto + 0.128 -1.1712 lineto + 0.0614 -1.1743 lineto + -0.0057 -1.1752 lineto + -0.0732 -1.1739 lineto + -0.1409 -1.1703 lineto + -0.2087 -1.1644 lineto + -0.2765 -1.1562 lineto + -0.3441 -1.1456 lineto + -0.4113 -1.1327 lineto + -0.4781 -1.1174 lineto + -0.5443 -1.0997 lineto + -0.6098 -1.0796 lineto + -0.6421 -1.0686 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, 1.1579208923731617E77) +newpath + 3.7622 0.0 moveto + 3.7616 0.0641 lineto + 3.7596 0.1336 lineto + 3.7569 0.1928 lineto + 3.7511 0.2781 lineto + 3.743 0.366 lineto + 3.7345 0.4394 lineto + 3.7222 0.5273 lineto + 3.7045 0.6326 lineto + 3.693 0.6926 lineto + 3.6791 0.7583 lineto + 3.6624 0.8299 lineto + 3.6424 0.9081 lineto + 3.6184 0.9932 lineto + 3.5896 1.0858 lineto + 3.5552 1.1865 lineto + 3.525 1.2675 lineto + 3.5024 1.3243 lineto + 3.4778 1.3833 lineto + 3.4508 1.4447 lineto + 3.4214 1.5084 lineto + 3.3892 1.5746 lineto + 3.354 1.6431 lineto + 3.3155 1.7141 lineto + 3.2735 1.7875 lineto + 3.2277 1.8633 lineto + 3.1777 1.9415 lineto + 3.1232 2.0221 lineto + 3.0638 2.1049 lineto + 2.999 2.1899 lineto + 2.9285 2.2769 lineto + 2.8715 2.3433 lineto + 2.8315 2.3881 lineto + 2.7898 2.4333 lineto + 2.7463 2.4789 lineto + 2.701 2.5247 lineto + 2.6538 2.5708 lineto + 2.6046 2.6172 lineto + 2.5533 2.6637 lineto + 2.4999 2.7103 lineto + 2.4444 2.757 lineto + 2.3866 2.8037 lineto + 2.3265 2.8503 lineto + 2.2639 2.8967 lineto + 2.1989 2.9429 lineto + 2.1313 2.9887 lineto + 2.0611 3.0342 lineto + 1.9881 3.0791 lineto + 1.9124 3.1233 lineto + 1.8339 3.1668 lineto + 1.7524 3.2094 lineto + 1.6679 3.251 lineto + 1.5804 3.2913 lineto + 1.4897 3.3304 lineto + 1.3959 3.368 lineto + 1.2988 3.4039 lineto + 1.1985 3.4379 lineto + 1.0948 3.4699 lineto + 0.9878 3.4996 lineto + 0.8774 3.5268 lineto + 0.7636 3.5514 lineto + 0.7055 3.5625 lineto + 0.6465 3.5729 lineto + 0.5866 3.5825 lineto + 0.5259 3.5913 lineto + 0.4643 3.5991 lineto + 0.4019 3.6061 lineto + 0.3387 3.6121 lineto + 0.2747 3.6172 lineto + 0.2098 3.6212 lineto + 0.1441 3.6242 lineto + 0.0776 3.6261 lineto + 0.0103 3.6268 lineto + -0.0577 3.6264 lineto + -0.1266 3.6248 lineto + -0.1961 3.6219 lineto + -0.2665 3.6178 lineto + -0.3375 3.6122 lineto + -0.4092 3.6053 lineto + -0.4816 3.597 lineto + -0.5547 3.5872 lineto + -0.6283 3.5759 lineto + -0.7026 3.5631 lineto + -0.7774 3.5486 lineto + -0.8528 3.5324 lineto + -0.9287 3.5146 lineto + -1.0051 3.495 lineto + -1.0819 3.4737 lineto + -1.159 3.4505 lineto + -1.2365 3.4254 lineto + -1.3144 3.3983 lineto + -1.3924 3.3693 lineto + -1.4707 3.3383 lineto + -1.5491 3.3051 lineto + -1.6276 3.2699 lineto + -1.7062 3.2325 lineto + -1.7846 3.1928 lineto + -1.863 3.1509 lineto + -1.9413 3.1067 lineto + -2.0192 3.0602 lineto + -2.0969 3.0113 lineto + -2.1742 2.9599 lineto + -2.2509 2.9061 lineto + -2.3271 2.8498 lineto + -2.4027 2.7909 lineto + -2.4774 2.7295 lineto + -2.5514 2.6654 lineto + -2.6243 2.5988 lineto + -2.6962 2.5294 lineto + -2.7669 2.4574 lineto + -2.8364 2.3827 lineto + -2.9044 2.3053 lineto + -2.9709 2.2252 lineto + -3.0358 2.1423 lineto + -3.0988 2.0567 lineto + -3.16 1.9683 lineto + -3.2191 1.8772 lineto + -3.276 1.7834 lineto + -3.3305 1.6868 lineto + -3.3826 1.5876 lineto + -3.4321 1.4857 lineto + -3.4787 1.3812 lineto + -3.5224 1.274 lineto + -3.5532 1.192 lineto + -3.5727 1.1366 lineto + -3.5914 1.0805 lineto + -3.6092 1.0238 lineto + -3.6261 0.9665 lineto + -3.6422 0.9087 lineto + -3.6574 0.8502 lineto + -3.6716 0.7912 lineto + -3.6849 0.7316 lineto + -3.6972 0.6714 lineto + -3.7085 0.6108 lineto + -3.7188 0.5495 lineto + -3.728 0.4878 lineto + -3.7362 0.4256 lineto + -3.7433 0.3629 lineto + -3.7493 0.2997 lineto + -3.7542 0.236 lineto + -3.758 0.172 lineto + -3.7605 0.1075 lineto + -3.7619 0.0426 lineto + -3.7621 -0.0227 lineto + -3.7611 -0.0884 lineto + -3.7588 -0.1544 lineto + -3.7552 -0.2208 lineto + -3.7504 -0.2874 lineto + -3.7442 -0.3543 lineto + -3.7367 -0.4215 lineto + -3.7278 -0.489 lineto + -3.7176 -0.5566 lineto + -3.706 -0.6244 lineto + -3.693 -0.6924 lineto + -3.6785 -0.7606 lineto + -3.6626 -0.8288 lineto + -3.6453 -0.8972 lineto + -3.6264 -0.9655 lineto + -3.6061 -1.0339 lineto + -3.5842 -1.1023 lineto + -3.5608 -1.1707 lineto + -3.5359 -1.239 lineto + -3.5094 -1.3072 lineto + -3.4813 -1.3752 lineto + -3.4516 -1.4431 lineto + -3.4203 -1.5107 lineto + -3.3874 -1.5781 lineto + -3.3528 -1.6453 lineto + -3.3166 -1.7121 lineto + -3.2788 -1.7785 lineto + -3.2393 -1.8445 lineto + -3.1981 -1.9101 lineto + -3.1553 -1.9753 lineto + -3.1108 -2.0399 lineto + -3.0645 -2.1039 lineto + -3.0166 -2.1673 lineto + -2.967 -2.23 lineto + -2.9157 -2.2921 lineto + -2.8626 -2.3534 lineto + -2.8079 -2.4139 lineto + -2.7515 -2.4735 lineto + -2.6934 -2.5323 lineto + -2.6335 -2.5901 lineto + -2.572 -2.6469 lineto + -2.5088 -2.7027 lineto + -2.444 -2.7574 lineto + -2.3774 -2.8109 lineto + -2.3092 -2.8633 lineto + -2.2394 -2.9144 lineto + -2.1679 -2.9642 lineto + -2.0948 -3.0126 lineto + -2.0201 -3.0596 lineto + -1.9439 -3.1052 lineto + -1.8661 -3.1493 lineto + -1.7868 -3.1917 lineto + -1.7059 -3.2326 lineto + -1.6236 -3.2717 lineto + -1.5398 -3.3092 lineto + -1.4547 -3.3448 lineto + -1.3681 -3.3786 lineto + -1.2802 -3.4104 lineto + -1.191 -3.4403 lineto + -1.1005 -3.4682 lineto + -1.0087 -3.4941 lineto + -0.9158 -3.5178 lineto + -0.8218 -3.5393 lineto + -0.7267 -3.5586 lineto + -0.6305 -3.5756 lineto + -0.5333 -3.5902 lineto + -0.4353 -3.6025 lineto + -0.3363 -3.6123 lineto + -0.2366 -3.6197 lineto + -0.1361 -3.6245 lineto + -0.0349 -3.6267 lineto + 0.0669 -3.6263 lineto + 0.1692 -3.6232 lineto + 0.2719 -3.6174 lineto + 0.3751 -3.6088 lineto + 0.4786 -3.5974 lineto + 0.5823 -3.5832 lineto + 0.6861 -3.566 lineto + 0.79 -3.546 lineto + 0.8938 -3.523 lineto + 0.9976 -3.497 lineto + 1.1011 -3.4681 lineto + 1.2043 -3.436 lineto + 1.307 -3.401 lineto + 1.4093 -3.3628 lineto + 1.5109 -3.3215 lineto + 1.6118 -3.2771 lineto + 1.7119 -3.2296 lineto + 1.8111 -3.179 lineto + 1.9091 -3.1252 lineto + 2.0061 -3.0683 lineto + 2.1017 -3.0082 lineto + 2.1959 -2.945 lineto + 2.2886 -2.8786 lineto + 2.3797 -2.8091 lineto + 2.469 -2.7366 lineto + 2.5564 -2.6609 lineto + 2.6418 -2.5822 lineto + 2.7251 -2.5005 lineto + 2.7861 -2.4373 lineto + 2.826 -2.3942 lineto + 2.8653 -2.3504 lineto + 2.904 -2.3058 lineto + 2.942 -2.2605 lineto + 2.9794 -2.2146 lineto + 3.0162 -2.1679 lineto + 3.0522 -2.1205 lineto + 3.0876 -2.0724 lineto + 3.1222 -2.0236 lineto + 3.1561 -1.9741 lineto + 3.1892 -1.924 lineto + 3.2216 -1.8732 lineto + 3.2532 -1.8217 lineto + 3.284 -1.7696 lineto + 3.314 -1.7169 lineto + 3.3431 -1.6635 lineto + 3.3714 -1.6095 lineto + 3.3989 -1.555 lineto + 3.4255 -1.4998 lineto + 3.4511 -1.444 lineto + 3.4759 -1.3877 lineto + 3.4998 -1.3308 lineto + 3.5227 -1.2734 lineto + 3.5446 -1.2154 lineto + 3.5656 -1.1569 lineto + 3.5857 -1.098 lineto + 3.6047 -1.0385 lineto + 3.6227 -0.9785 lineto + 3.6397 -0.9181 lineto + 3.6556 -0.8572 lineto + 3.6705 -0.7959 lineto + 3.6843 -0.7342 lineto + 3.697 -0.6721 lineto + 3.7087 -0.6096 lineto + 3.7192 -0.5467 lineto + 3.7286 -0.4835 lineto + 3.7369 -0.4199 lineto + 3.744 -0.356 lineto + 3.75 -0.2919 lineto + 3.7548 -0.2274 lineto + 3.7584 -0.1627 lineto + 3.7608 -0.0978 lineto + 3.762 -0.0327 lineto + 3.7622 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, 1.1579208923731617E77) +newpath + 3.7622 0.0 moveto + 3.7616 -0.0641 lineto + 3.7596 -0.1336 lineto + 3.7569 -0.1928 lineto + 3.7511 -0.2781 lineto + 3.743 -0.366 lineto + 3.7345 -0.4394 lineto + 3.7222 -0.5273 lineto + 3.7045 -0.6326 lineto + 3.693 -0.6926 lineto + 3.6791 -0.7583 lineto + 3.6624 -0.8299 lineto + 3.6424 -0.9081 lineto + 3.6184 -0.9932 lineto + 3.5896 -1.0858 lineto + 3.5552 -1.1865 lineto + 3.525 -1.2675 lineto + 3.5024 -1.3243 lineto + 3.4778 -1.3833 lineto + 3.4508 -1.4447 lineto + 3.4214 -1.5084 lineto + 3.3892 -1.5746 lineto + 3.354 -1.6431 lineto + 3.3155 -1.7141 lineto + 3.2735 -1.7875 lineto + 3.2277 -1.8633 lineto + 3.1777 -1.9415 lineto + 3.1232 -2.0221 lineto + 3.0638 -2.1049 lineto + 2.999 -2.1899 lineto + 2.9285 -2.2769 lineto + 2.8715 -2.3433 lineto + 2.8315 -2.3881 lineto + 2.7898 -2.4333 lineto + 2.7463 -2.4789 lineto + 2.701 -2.5247 lineto + 2.6538 -2.5708 lineto + 2.6046 -2.6172 lineto + 2.5533 -2.6637 lineto + 2.4999 -2.7103 lineto + 2.4444 -2.757 lineto + 2.3866 -2.8037 lineto + 2.3265 -2.8503 lineto + 2.2639 -2.8967 lineto + 2.1989 -2.9429 lineto + 2.1313 -2.9887 lineto + 2.0611 -3.0342 lineto + 1.9881 -3.0791 lineto + 1.9124 -3.1233 lineto + 1.8339 -3.1668 lineto + 1.7524 -3.2094 lineto + 1.6679 -3.251 lineto + 1.5804 -3.2913 lineto + 1.4897 -3.3304 lineto + 1.3959 -3.368 lineto + 1.2988 -3.4039 lineto + 1.1985 -3.4379 lineto + 1.0948 -3.4699 lineto + 0.9878 -3.4996 lineto + 0.8774 -3.5268 lineto + 0.7636 -3.5514 lineto + 0.7055 -3.5625 lineto + 0.6465 -3.5729 lineto + 0.5866 -3.5825 lineto + 0.5259 -3.5913 lineto + 0.4643 -3.5991 lineto + 0.4019 -3.6061 lineto + 0.3387 -3.6121 lineto + 0.2747 -3.6172 lineto + 0.2098 -3.6212 lineto + 0.1441 -3.6242 lineto + 0.0776 -3.6261 lineto + 0.0103 -3.6268 lineto + -0.0577 -3.6264 lineto + -0.1266 -3.6248 lineto + -0.1961 -3.6219 lineto + -0.2665 -3.6178 lineto + -0.3375 -3.6122 lineto + -0.4092 -3.6053 lineto + -0.4816 -3.597 lineto + -0.5547 -3.5872 lineto + -0.6283 -3.5759 lineto + -0.7026 -3.5631 lineto + -0.7774 -3.5486 lineto + -0.8528 -3.5324 lineto + -0.9287 -3.5146 lineto + -1.0051 -3.495 lineto + -1.0819 -3.4737 lineto + -1.159 -3.4505 lineto + -1.2365 -3.4254 lineto + -1.3144 -3.3983 lineto + -1.3924 -3.3693 lineto + -1.4707 -3.3383 lineto + -1.5491 -3.3051 lineto + -1.6276 -3.2699 lineto + -1.7062 -3.2325 lineto + -1.7846 -3.1928 lineto + -1.863 -3.1509 lineto + -1.9413 -3.1067 lineto + -2.0192 -3.0602 lineto + -2.0969 -3.0113 lineto + -2.1742 -2.9599 lineto + -2.2509 -2.9061 lineto + -2.3271 -2.8498 lineto + -2.4027 -2.7909 lineto + -2.4774 -2.7295 lineto + -2.5514 -2.6654 lineto + -2.6243 -2.5988 lineto + -2.6962 -2.5294 lineto + -2.7669 -2.4574 lineto + -2.8364 -2.3827 lineto + -2.9044 -2.3053 lineto + -2.9709 -2.2252 lineto + -3.0358 -2.1423 lineto + -3.0988 -2.0567 lineto + -3.16 -1.9683 lineto + -3.2191 -1.8772 lineto + -3.276 -1.7834 lineto + -3.3305 -1.6868 lineto + -3.3826 -1.5876 lineto + -3.4321 -1.4857 lineto + -3.4787 -1.3812 lineto + -3.5224 -1.274 lineto + -3.5532 -1.192 lineto + -3.5727 -1.1366 lineto + -3.5914 -1.0805 lineto + -3.6092 -1.0238 lineto + -3.6261 -0.9665 lineto + -3.6422 -0.9087 lineto + -3.6574 -0.8502 lineto + -3.6716 -0.7912 lineto + -3.6849 -0.7316 lineto + -3.6972 -0.6714 lineto + -3.7085 -0.6108 lineto + -3.7188 -0.5495 lineto + -3.728 -0.4878 lineto + -3.7362 -0.4256 lineto + -3.7433 -0.3629 lineto + -3.7493 -0.2997 lineto + -3.7542 -0.236 lineto + -3.758 -0.172 lineto + -3.7605 -0.1075 lineto + -3.7619 -0.0426 lineto + -3.7621 0.0227 lineto + -3.7611 0.0884 lineto + -3.7588 0.1544 lineto + -3.7552 0.2208 lineto + -3.7504 0.2874 lineto + -3.7442 0.3543 lineto + -3.7367 0.4215 lineto + -3.7278 0.489 lineto + -3.7176 0.5566 lineto + -3.706 0.6244 lineto + -3.693 0.6924 lineto + -3.6785 0.7606 lineto + -3.6626 0.8288 lineto + -3.6453 0.8972 lineto + -3.6264 0.9655 lineto + -3.6061 1.0339 lineto + -3.5842 1.1023 lineto + -3.5608 1.1707 lineto + -3.5359 1.239 lineto + -3.5094 1.3072 lineto + -3.4813 1.3752 lineto + -3.4516 1.4431 lineto + -3.4203 1.5107 lineto + -3.3874 1.5781 lineto + -3.3528 1.6453 lineto + -3.3166 1.7121 lineto + -3.2788 1.7785 lineto + -3.2393 1.8445 lineto + -3.1981 1.9101 lineto + -3.1553 1.9753 lineto + -3.1108 2.0399 lineto + -3.0645 2.1039 lineto + -3.0166 2.1673 lineto + -2.967 2.23 lineto + -2.9157 2.2921 lineto + -2.8626 2.3534 lineto + -2.8079 2.4139 lineto + -2.7515 2.4735 lineto + -2.6934 2.5323 lineto + -2.6335 2.5901 lineto + -2.572 2.6469 lineto + -2.5088 2.7027 lineto + -2.444 2.7574 lineto + -2.3774 2.8109 lineto + -2.3092 2.8633 lineto + -2.2394 2.9144 lineto + -2.1679 2.9642 lineto + -2.0948 3.0126 lineto + -2.0201 3.0596 lineto + -1.9439 3.1052 lineto + -1.8661 3.1493 lineto + -1.7868 3.1917 lineto + -1.7059 3.2326 lineto + -1.6236 3.2717 lineto + -1.5398 3.3092 lineto + -1.4547 3.3448 lineto + -1.3681 3.3786 lineto + -1.2802 3.4104 lineto + -1.191 3.4403 lineto + -1.1005 3.4682 lineto + -1.0087 3.4941 lineto + -0.9158 3.5178 lineto + -0.8218 3.5393 lineto + -0.7267 3.5586 lineto + -0.6305 3.5756 lineto + -0.5333 3.5902 lineto + -0.4353 3.6025 lineto + -0.3363 3.6123 lineto + -0.2366 3.6197 lineto + -0.1361 3.6245 lineto + -0.0349 3.6267 lineto + 0.0669 3.6263 lineto + 0.1692 3.6232 lineto + 0.2719 3.6174 lineto + 0.3751 3.6088 lineto + 0.4786 3.5974 lineto + 0.5823 3.5832 lineto + 0.6861 3.566 lineto + 0.79 3.546 lineto + 0.8938 3.523 lineto + 0.9976 3.497 lineto + 1.1011 3.4681 lineto + 1.2043 3.436 lineto + 1.307 3.401 lineto + 1.4093 3.3628 lineto + 1.5109 3.3215 lineto + 1.6118 3.2771 lineto + 1.7119 3.2296 lineto + 1.8111 3.179 lineto + 1.9091 3.1252 lineto + 2.0061 3.0683 lineto + 2.1017 3.0082 lineto + 2.1959 2.945 lineto + 2.2886 2.8786 lineto + 2.3797 2.8091 lineto + 2.469 2.7366 lineto + 2.5564 2.6609 lineto + 2.6418 2.5822 lineto + 2.7251 2.5005 lineto + 2.7861 2.4373 lineto + 2.826 2.3942 lineto + 2.8653 2.3504 lineto + 2.904 2.3058 lineto + 2.942 2.2605 lineto + 2.9794 2.2146 lineto + 3.0162 2.1679 lineto + 3.0522 2.1205 lineto + 3.0876 2.0724 lineto + 3.1222 2.0236 lineto + 3.1561 1.9741 lineto + 3.1892 1.924 lineto + 3.2216 1.8732 lineto + 3.2532 1.8217 lineto + 3.284 1.7696 lineto + 3.314 1.7169 lineto + 3.3431 1.6635 lineto + 3.3714 1.6095 lineto + 3.3989 1.555 lineto + 3.4255 1.4998 lineto + 3.4511 1.444 lineto + 3.4759 1.3877 lineto + 3.4998 1.3308 lineto + 3.5227 1.2734 lineto + 3.5446 1.2154 lineto + 3.5656 1.1569 lineto + 3.5857 1.098 lineto + 3.6047 1.0385 lineto + 3.6227 0.9785 lineto + 3.6397 0.9181 lineto + 3.6556 0.8572 lineto + 3.6705 0.7959 lineto + 3.6843 0.7342 lineto + 3.697 0.6721 lineto + 3.7087 0.6096 lineto + 3.7192 0.5467 lineto + 3.7286 0.4835 lineto + 3.7369 0.4199 lineto + 3.744 0.356 lineto + 3.75 0.2919 lineto + 3.7548 0.2274 lineto + 3.7584 0.1627 lineto + 3.7608 0.0978 lineto + 3.762 0.0327 lineto + 3.7622 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, 1.1579208923731617E77) +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, 1.1579208923731617E77) +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, 0.0) +newpath + 0.8776 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, -1.0) +newpath + 0.8776 0.0 moveto + 0.5403 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.0) +newpath + -0.4161 0.0 moveto + 0.5403 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.1579208923731617E77) +newpath + -0.4161 0.0 moveto + -0.9648 0.0 lineto + 0.998 0.0 lineto + -0.4161 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, 0.0) +newpath + -0.6421 -1.0686 moveto + -0.5782 -1.0896 lineto + -0.5147 -1.1079 lineto + -0.4515 -1.1238 lineto + -0.389 -1.1372 lineto + -0.3272 -1.1485 lineto + -0.2663 -1.1576 lineto + -0.2064 -1.1646 lineto + -0.1474 -1.1698 lineto + -0.033 -1.1749 lineto + 0.0765 -1.1738 lineto + 0.1807 -1.1671 lineto + 0.2796 -1.1557 lineto + 0.3729 -1.1404 lineto + 0.4608 -1.1216 lineto + 0.5432 -1.1 lineto + 0.6204 -1.076 lineto + 0.6924 -1.0502 lineto + 0.7595 -1.023 lineto + 0.8219 -0.9946 lineto + 0.8798 -0.9655 lineto + 0.9334 -0.9358 lineto + 1.029 -0.8758 lineto + 1.1104 -0.816 lineto + 1.1796 -0.7576 lineto + 1.2381 -0.7014 lineto + 1.2875 -0.6478 lineto + 1.3291 -0.597 lineto + 1.3794 -0.5267 lineto + 1.4288 -0.4438 lineto + 1.4634 -0.3727 lineto + 1.4876 -0.3122 lineto + 1.5163 -0.2181 lineto + 1.5341 -0.1267 lineto + 1.541 -0.0612 lineto + 1.5431 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, -1.1579208923731617E77) +newpath + -0.6421 -1.0686 moveto + -0.7045 -1.0456 lineto + -0.7668 -1.0198 lineto + -0.8288 -0.9913 lineto + -0.8903 -0.9599 lineto + -0.951 -0.9255 lineto + -1.0108 -0.888 lineto + -1.0692 -0.8473 lineto + -1.1261 -0.8035 lineto + -1.181 -0.7563 lineto + -1.2337 -0.7059 lineto + -1.2837 -0.6521 lineto + -1.3306 -0.5951 lineto + -1.3741 -0.5347 lineto + -1.4137 -0.471 lineto + -1.4489 -0.4042 lineto + -1.4793 -0.3343 lineto + -1.5044 -0.2615 lineto + -1.5236 -0.186 lineto + -1.5366 -0.1079 lineto + -1.5427 -0.0276 lineto + -1.5414 0.0547 lineto + -1.5323 0.1385 lineto + -1.5149 0.2235 lineto + -1.4887 0.3091 lineto + -1.4534 0.3949 lineto + -1.4084 0.4802 lineto + -1.3535 0.5643 lineto + -1.2885 0.6467 lineto + -1.213 0.7264 lineto + -1.1272 0.8026 lineto + -1.0803 0.8391 lineto + -1.0309 0.8745 lineto + -0.9788 0.9085 lineto + -0.9243 0.9411 lineto + -0.8672 0.9721 lineto + -0.8076 1.0014 lineto + -0.7457 1.0289 lineto + -0.6814 1.0544 lineto + -0.6149 1.0779 lineto + -0.5463 1.0991 lineto + -0.4755 1.118 lineto + -0.4029 1.1344 lineto + -0.3285 1.1483 lineto + -0.2524 1.1594 lineto + -0.1748 1.1676 lineto + -0.0959 1.1729 lineto + -0.0158 1.1751 lineto + 0.0652 1.1742 lineto + 0.1469 1.1699 lineto + 0.2291 1.1622 lineto + 0.3115 1.151 lineto + 0.3939 1.1363 lineto + 0.4761 1.1179 lineto + 0.5576 1.0958 lineto + 0.6383 1.0699 lineto + 0.7178 1.0403 lineto + 0.7958 1.0069 lineto + 0.872 0.9696 lineto + 0.9459 0.9285 lineto + 1.0173 0.8837 lineto + 1.0857 0.8351 lineto + 1.1509 0.7828 lineto + 1.2124 0.727 lineto + 1.2698 0.6677 lineto + 1.3228 0.6051 lineto + 1.371 0.5393 lineto + 1.414 0.4706 lineto + 1.4514 0.399 lineto + 1.4829 0.325 lineto + 1.5082 0.2486 lineto + 1.5268 0.1702 lineto + 1.5385 0.0902 lineto + 1.543 0.0089 lineto + 1.5401 -0.0734 lineto + 1.5294 -0.1562 lineto + 1.5108 -0.2392 lineto + 1.4841 -0.3218 lineto + 1.4492 -0.4037 lineto + 1.406 -0.4843 lineto + 1.3545 -0.563 lineto + 1.2947 -0.6394 lineto + 1.2267 -0.713 lineto + 1.1506 -0.7831 lineto + 1.0666 -0.8492 lineto + 0.9751 -0.9108 lineto + 0.8764 -0.9673 lineto + 0.7978 -1.0059 lineto + 0.7434 -1.0298 lineto + 0.6875 -1.0521 lineto + 0.63 -1.0728 lineto + 0.5712 -1.0917 lineto + 0.5111 -1.1089 lineto + 0.4498 -1.1242 lineto + 0.3873 -1.1376 lineto + 0.3238 -1.149 lineto + 0.2593 -1.1585 lineto + 0.194 -1.1659 lineto + 0.128 -1.1712 lineto + 0.0614 -1.1743 lineto + -0.0057 -1.1752 lineto + -0.0732 -1.1739 lineto + -0.1409 -1.1703 lineto + -0.2087 -1.1644 lineto + -0.2765 -1.1562 lineto + -0.3441 -1.1456 lineto + -0.4113 -1.1327 lineto + -0.4781 -1.1174 lineto + -0.5443 -1.0997 lineto + -0.6098 -1.0796 lineto + -0.6421 -1.0686 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, 0.0) +newpath + -0.6421 1.0686 moveto + -0.5782 1.0896 lineto + -0.5147 1.1079 lineto + -0.4515 1.1238 lineto + -0.389 1.1372 lineto + -0.3272 1.1485 lineto + -0.2663 1.1576 lineto + -0.2064 1.1646 lineto + -0.1474 1.1698 lineto + -0.033 1.1749 lineto + 0.0765 1.1738 lineto + 0.1807 1.1671 lineto + 0.2796 1.1557 lineto + 0.3729 1.1404 lineto + 0.4608 1.1216 lineto + 0.5432 1.1 lineto + 0.6204 1.076 lineto + 0.6924 1.0502 lineto + 0.7595 1.023 lineto + 0.8219 0.9946 lineto + 0.8798 0.9655 lineto + 0.9334 0.9358 lineto + 1.029 0.8758 lineto + 1.1104 0.816 lineto + 1.1796 0.7576 lineto + 1.2381 0.7014 lineto + 1.2875 0.6478 lineto + 1.3291 0.597 lineto + 1.3794 0.5267 lineto + 1.4288 0.4438 lineto + 1.4634 0.3727 lineto + 1.4876 0.3122 lineto + 1.5163 0.2181 lineto + 1.5341 0.1267 lineto + 1.541 0.0612 lineto + 1.5431 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, -1.1579208923731617E77) +newpath + -0.6421 1.0686 moveto + -0.7045 1.0456 lineto + -0.7668 1.0198 lineto + -0.8288 0.9913 lineto + -0.8903 0.9599 lineto + -0.951 0.9255 lineto + -1.0108 0.888 lineto + -1.0692 0.8473 lineto + -1.1261 0.8035 lineto + -1.181 0.7563 lineto + -1.2337 0.7059 lineto + -1.2837 0.6521 lineto + -1.3306 0.5951 lineto + -1.3741 0.5347 lineto + -1.4137 0.471 lineto + -1.4489 0.4042 lineto + -1.4793 0.3343 lineto + -1.5044 0.2615 lineto + -1.5236 0.186 lineto + -1.5366 0.1079 lineto + -1.5427 0.0276 lineto + -1.5414 -0.0547 lineto + -1.5323 -0.1385 lineto + -1.5149 -0.2235 lineto + -1.4887 -0.3091 lineto + -1.4534 -0.3949 lineto + -1.4084 -0.4802 lineto + -1.3535 -0.5643 lineto + -1.2885 -0.6467 lineto + -1.213 -0.7264 lineto + -1.1272 -0.8026 lineto + -1.0803 -0.8391 lineto + -1.0309 -0.8745 lineto + -0.9788 -0.9085 lineto + -0.9243 -0.9411 lineto + -0.8672 -0.9721 lineto + -0.8076 -1.0014 lineto + -0.7457 -1.0289 lineto + -0.6814 -1.0544 lineto + -0.6149 -1.0779 lineto + -0.5463 -1.0991 lineto + -0.4755 -1.118 lineto + -0.4029 -1.1344 lineto + -0.3285 -1.1483 lineto + -0.2524 -1.1594 lineto + -0.1748 -1.1676 lineto + -0.0959 -1.1729 lineto + -0.0158 -1.1751 lineto + 0.0652 -1.1742 lineto + 0.1469 -1.1699 lineto + 0.2291 -1.1622 lineto + 0.3115 -1.151 lineto + 0.3939 -1.1363 lineto + 0.4761 -1.1179 lineto + 0.5576 -1.0958 lineto + 0.6383 -1.0699 lineto + 0.7178 -1.0403 lineto + 0.7958 -1.0069 lineto + 0.872 -0.9696 lineto + 0.9459 -0.9285 lineto + 1.0173 -0.8837 lineto + 1.0857 -0.8351 lineto + 1.1509 -0.7828 lineto + 1.2124 -0.727 lineto + 1.2698 -0.6677 lineto + 1.3228 -0.6051 lineto + 1.371 -0.5393 lineto + 1.414 -0.4706 lineto + 1.4514 -0.399 lineto + 1.4829 -0.325 lineto + 1.5082 -0.2486 lineto + 1.5268 -0.1702 lineto + 1.5385 -0.0902 lineto + 1.543 -0.0089 lineto + 1.5401 0.0734 lineto + 1.5294 0.1562 lineto + 1.5108 0.2392 lineto + 1.4841 0.3218 lineto + 1.4492 0.4037 lineto + 1.406 0.4843 lineto + 1.3545 0.563 lineto + 1.2947 0.6394 lineto + 1.2267 0.713 lineto + 1.1506 0.7831 lineto + 1.0666 0.8492 lineto + 0.9751 0.9108 lineto + 0.8764 0.9673 lineto + 0.7978 1.0059 lineto + 0.7434 1.0298 lineto + 0.6875 1.0521 lineto + 0.63 1.0728 lineto + 0.5712 1.0917 lineto + 0.5111 1.1089 lineto + 0.4498 1.1242 lineto + 0.3873 1.1376 lineto + 0.3238 1.149 lineto + 0.2593 1.1585 lineto + 0.194 1.1659 lineto + 0.128 1.1712 lineto + 0.0614 1.1743 lineto + -0.0057 1.1752 lineto + -0.0732 1.1739 lineto + -0.1409 1.1703 lineto + -0.2087 1.1644 lineto + -0.2765 1.1562 lineto + -0.3441 1.1456 lineto + -0.4113 1.1327 lineto + -0.4781 1.1174 lineto + -0.5443 1.0997 lineto + -0.6098 1.0796 lineto + -0.6421 1.0686 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, -1.1579208923731617E77) +newpath + 3.7622 0.0 moveto + 3.7616 -0.0641 lineto + 3.7596 -0.1336 lineto + 3.7569 -0.1928 lineto + 3.7511 -0.2781 lineto + 3.743 -0.366 lineto + 3.7345 -0.4394 lineto + 3.7222 -0.5273 lineto + 3.7045 -0.6326 lineto + 3.693 -0.6926 lineto + 3.6791 -0.7583 lineto + 3.6624 -0.8299 lineto + 3.6424 -0.9081 lineto + 3.6184 -0.9932 lineto + 3.5896 -1.0858 lineto + 3.5552 -1.1865 lineto + 3.525 -1.2675 lineto + 3.5024 -1.3243 lineto + 3.4778 -1.3833 lineto + 3.4508 -1.4447 lineto + 3.4214 -1.5084 lineto + 3.3892 -1.5746 lineto + 3.354 -1.6431 lineto + 3.3155 -1.7141 lineto + 3.2735 -1.7875 lineto + 3.2277 -1.8633 lineto + 3.1777 -1.9415 lineto + 3.1232 -2.0221 lineto + 3.0638 -2.1049 lineto + 2.999 -2.1899 lineto + 2.9285 -2.2769 lineto + 2.8715 -2.3433 lineto + 2.8315 -2.3881 lineto + 2.7898 -2.4333 lineto + 2.7463 -2.4789 lineto + 2.701 -2.5247 lineto + 2.6538 -2.5708 lineto + 2.6046 -2.6172 lineto + 2.5533 -2.6637 lineto + 2.4999 -2.7103 lineto + 2.4444 -2.757 lineto + 2.3866 -2.8037 lineto + 2.3265 -2.8503 lineto + 2.2639 -2.8967 lineto + 2.1989 -2.9429 lineto + 2.1313 -2.9887 lineto + 2.0611 -3.0342 lineto + 1.9881 -3.0791 lineto + 1.9124 -3.1233 lineto + 1.8339 -3.1668 lineto + 1.7524 -3.2094 lineto + 1.6679 -3.251 lineto + 1.5804 -3.2913 lineto + 1.4897 -3.3304 lineto + 1.3959 -3.368 lineto + 1.2988 -3.4039 lineto + 1.1985 -3.4379 lineto + 1.0948 -3.4699 lineto + 0.9878 -3.4996 lineto + 0.8774 -3.5268 lineto + 0.7636 -3.5514 lineto + 0.7055 -3.5625 lineto + 0.6465 -3.5729 lineto + 0.5866 -3.5825 lineto + 0.5259 -3.5913 lineto + 0.4643 -3.5991 lineto + 0.4019 -3.6061 lineto + 0.3387 -3.6121 lineto + 0.2747 -3.6172 lineto + 0.2098 -3.6212 lineto + 0.1441 -3.6242 lineto + 0.0776 -3.6261 lineto + 0.0103 -3.6268 lineto + -0.0577 -3.6264 lineto + -0.1266 -3.6248 lineto + -0.1961 -3.6219 lineto + -0.2665 -3.6178 lineto + -0.3375 -3.6122 lineto + -0.4092 -3.6053 lineto + -0.4816 -3.597 lineto + -0.5547 -3.5872 lineto + -0.6283 -3.5759 lineto + -0.7026 -3.5631 lineto + -0.7774 -3.5486 lineto + -0.8528 -3.5324 lineto + -0.9287 -3.5146 lineto + -1.0051 -3.495 lineto + -1.0819 -3.4737 lineto + -1.159 -3.4505 lineto + -1.2365 -3.4254 lineto + -1.3144 -3.3983 lineto + -1.3924 -3.3693 lineto + -1.4707 -3.3383 lineto + -1.5491 -3.3051 lineto + -1.6276 -3.2699 lineto + -1.7062 -3.2325 lineto + -1.7846 -3.1928 lineto + -1.863 -3.1509 lineto + -1.9413 -3.1067 lineto + -2.0192 -3.0602 lineto + -2.0969 -3.0113 lineto + -2.1742 -2.9599 lineto + -2.2509 -2.9061 lineto + -2.3271 -2.8498 lineto + -2.4027 -2.7909 lineto + -2.4774 -2.7295 lineto + -2.5514 -2.6654 lineto + -2.6243 -2.5988 lineto + -2.6962 -2.5294 lineto + -2.7669 -2.4574 lineto + -2.8364 -2.3827 lineto + -2.9044 -2.3053 lineto + -2.9709 -2.2252 lineto + -3.0358 -2.1423 lineto + -3.0988 -2.0567 lineto + -3.16 -1.9683 lineto + -3.2191 -1.8772 lineto + -3.276 -1.7834 lineto + -3.3305 -1.6868 lineto + -3.3826 -1.5876 lineto + -3.4321 -1.4857 lineto + -3.4787 -1.3812 lineto + -3.5224 -1.274 lineto + -3.5532 -1.192 lineto + -3.5727 -1.1366 lineto + -3.5914 -1.0805 lineto + -3.6092 -1.0238 lineto + -3.6261 -0.9665 lineto + -3.6422 -0.9087 lineto + -3.6574 -0.8502 lineto + -3.6716 -0.7912 lineto + -3.6849 -0.7316 lineto + -3.6972 -0.6714 lineto + -3.7085 -0.6108 lineto + -3.7188 -0.5495 lineto + -3.728 -0.4878 lineto + -3.7362 -0.4256 lineto + -3.7433 -0.3629 lineto + -3.7493 -0.2997 lineto + -3.7542 -0.236 lineto + -3.758 -0.172 lineto + -3.7605 -0.1075 lineto + -3.7619 -0.0426 lineto + -3.7621 0.0227 lineto + -3.7611 0.0884 lineto + -3.7588 0.1544 lineto + -3.7552 0.2208 lineto + -3.7504 0.2874 lineto + -3.7442 0.3543 lineto + -3.7367 0.4215 lineto + -3.7278 0.489 lineto + -3.7176 0.5566 lineto + -3.706 0.6244 lineto + -3.693 0.6924 lineto + -3.6785 0.7606 lineto + -3.6626 0.8288 lineto + -3.6453 0.8972 lineto + -3.6264 0.9655 lineto + -3.6061 1.0339 lineto + -3.5842 1.1023 lineto + -3.5608 1.1707 lineto + -3.5359 1.239 lineto + -3.5094 1.3072 lineto + -3.4813 1.3752 lineto + -3.4516 1.4431 lineto + -3.4203 1.5107 lineto + -3.3874 1.5781 lineto + -3.3528 1.6453 lineto + -3.3166 1.7121 lineto + -3.2788 1.7785 lineto + -3.2393 1.8445 lineto + -3.1981 1.9101 lineto + -3.1553 1.9753 lineto + -3.1108 2.0399 lineto + -3.0645 2.1039 lineto + -3.0166 2.1673 lineto + -2.967 2.23 lineto + -2.9157 2.2921 lineto + -2.8626 2.3534 lineto + -2.8079 2.4139 lineto + -2.7515 2.4735 lineto + -2.6934 2.5323 lineto + -2.6335 2.5901 lineto + -2.572 2.6469 lineto + -2.5088 2.7027 lineto + -2.444 2.7574 lineto + -2.3774 2.8109 lineto + -2.3092 2.8633 lineto + -2.2394 2.9144 lineto + -2.1679 2.9642 lineto + -2.0948 3.0126 lineto + -2.0201 3.0596 lineto + -1.9439 3.1052 lineto + -1.8661 3.1493 lineto + -1.7868 3.1917 lineto + -1.7059 3.2326 lineto + -1.6236 3.2717 lineto + -1.5398 3.3092 lineto + -1.4547 3.3448 lineto + -1.3681 3.3786 lineto + -1.2802 3.4104 lineto + -1.191 3.4403 lineto + -1.1005 3.4682 lineto + -1.0087 3.4941 lineto + -0.9158 3.5178 lineto + -0.8218 3.5393 lineto + -0.7267 3.5586 lineto + -0.6305 3.5756 lineto + -0.5333 3.5902 lineto + -0.4353 3.6025 lineto + -0.3363 3.6123 lineto + -0.2366 3.6197 lineto + -0.1361 3.6245 lineto + -0.0349 3.6267 lineto + 0.0669 3.6263 lineto + 0.1692 3.6232 lineto + 0.2719 3.6174 lineto + 0.3751 3.6088 lineto + 0.4786 3.5974 lineto + 0.5823 3.5832 lineto + 0.6861 3.566 lineto + 0.79 3.546 lineto + 0.8938 3.523 lineto + 0.9976 3.497 lineto + 1.1011 3.4681 lineto + 1.2043 3.436 lineto + 1.307 3.401 lineto + 1.4093 3.3628 lineto + 1.5109 3.3215 lineto + 1.6118 3.2771 lineto + 1.7119 3.2296 lineto + 1.8111 3.179 lineto + 1.9091 3.1252 lineto + 2.0061 3.0683 lineto + 2.1017 3.0082 lineto + 2.1959 2.945 lineto + 2.2886 2.8786 lineto + 2.3797 2.8091 lineto + 2.469 2.7366 lineto + 2.5564 2.6609 lineto + 2.6418 2.5822 lineto + 2.7251 2.5005 lineto + 2.7861 2.4373 lineto + 2.826 2.3942 lineto + 2.8653 2.3504 lineto + 2.904 2.3058 lineto + 2.942 2.2605 lineto + 2.9794 2.2146 lineto + 3.0162 2.1679 lineto + 3.0522 2.1205 lineto + 3.0876 2.0724 lineto + 3.1222 2.0236 lineto + 3.1561 1.9741 lineto + 3.1892 1.924 lineto + 3.2216 1.8732 lineto + 3.2532 1.8217 lineto + 3.284 1.7696 lineto + 3.314 1.7169 lineto + 3.3431 1.6635 lineto + 3.3714 1.6095 lineto + 3.3989 1.555 lineto + 3.4255 1.4998 lineto + 3.4511 1.444 lineto + 3.4759 1.3877 lineto + 3.4998 1.3308 lineto + 3.5227 1.2734 lineto + 3.5446 1.2154 lineto + 3.5656 1.1569 lineto + 3.5857 1.098 lineto + 3.6047 1.0385 lineto + 3.6227 0.9785 lineto + 3.6397 0.9181 lineto + 3.6556 0.8572 lineto + 3.6705 0.7959 lineto + 3.6843 0.7342 lineto + 3.697 0.6721 lineto + 3.7087 0.6096 lineto + 3.7192 0.5467 lineto + 3.7286 0.4835 lineto + 3.7369 0.4199 lineto + 3.744 0.356 lineto + 3.75 0.2919 lineto + 3.7548 0.2274 lineto + 3.7584 0.1627 lineto + 3.7608 0.0978 lineto + 3.762 0.0327 lineto + 3.7622 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, -1.1579208923731617E77) +newpath + 3.7622 0.0 moveto + 3.7616 0.0641 lineto + 3.7596 0.1336 lineto + 3.7569 0.1928 lineto + 3.7511 0.2781 lineto + 3.743 0.366 lineto + 3.7345 0.4394 lineto + 3.7222 0.5273 lineto + 3.7045 0.6326 lineto + 3.693 0.6926 lineto + 3.6791 0.7583 lineto + 3.6624 0.8299 lineto + 3.6424 0.9081 lineto + 3.6184 0.9932 lineto + 3.5896 1.0858 lineto + 3.5552 1.1865 lineto + 3.525 1.2675 lineto + 3.5024 1.3243 lineto + 3.4778 1.3833 lineto + 3.4508 1.4447 lineto + 3.4214 1.5084 lineto + 3.3892 1.5746 lineto + 3.354 1.6431 lineto + 3.3155 1.7141 lineto + 3.2735 1.7875 lineto + 3.2277 1.8633 lineto + 3.1777 1.9415 lineto + 3.1232 2.0221 lineto + 3.0638 2.1049 lineto + 2.999 2.1899 lineto + 2.9285 2.2769 lineto + 2.8715 2.3433 lineto + 2.8315 2.3881 lineto + 2.7898 2.4333 lineto + 2.7463 2.4789 lineto + 2.701 2.5247 lineto + 2.6538 2.5708 lineto + 2.6046 2.6172 lineto + 2.5533 2.6637 lineto + 2.4999 2.7103 lineto + 2.4444 2.757 lineto + 2.3866 2.8037 lineto + 2.3265 2.8503 lineto + 2.2639 2.8967 lineto + 2.1989 2.9429 lineto + 2.1313 2.9887 lineto + 2.0611 3.0342 lineto + 1.9881 3.0791 lineto + 1.9124 3.1233 lineto + 1.8339 3.1668 lineto + 1.7524 3.2094 lineto + 1.6679 3.251 lineto + 1.5804 3.2913 lineto + 1.4897 3.3304 lineto + 1.3959 3.368 lineto + 1.2988 3.4039 lineto + 1.1985 3.4379 lineto + 1.0948 3.4699 lineto + 0.9878 3.4996 lineto + 0.8774 3.5268 lineto + 0.7636 3.5514 lineto + 0.7055 3.5625 lineto + 0.6465 3.5729 lineto + 0.5866 3.5825 lineto + 0.5259 3.5913 lineto + 0.4643 3.5991 lineto + 0.4019 3.6061 lineto + 0.3387 3.6121 lineto + 0.2747 3.6172 lineto + 0.2098 3.6212 lineto + 0.1441 3.6242 lineto + 0.0776 3.6261 lineto + 0.0103 3.6268 lineto + -0.0577 3.6264 lineto + -0.1266 3.6248 lineto + -0.1961 3.6219 lineto + -0.2665 3.6178 lineto + -0.3375 3.6122 lineto + -0.4092 3.6053 lineto + -0.4816 3.597 lineto + -0.5547 3.5872 lineto + -0.6283 3.5759 lineto + -0.7026 3.5631 lineto + -0.7774 3.5486 lineto + -0.8528 3.5324 lineto + -0.9287 3.5146 lineto + -1.0051 3.495 lineto + -1.0819 3.4737 lineto + -1.159 3.4505 lineto + -1.2365 3.4254 lineto + -1.3144 3.3983 lineto + -1.3924 3.3693 lineto + -1.4707 3.3383 lineto + -1.5491 3.3051 lineto + -1.6276 3.2699 lineto + -1.7062 3.2325 lineto + -1.7846 3.1928 lineto + -1.863 3.1509 lineto + -1.9413 3.1067 lineto + -2.0192 3.0602 lineto + -2.0969 3.0113 lineto + -2.1742 2.9599 lineto + -2.2509 2.9061 lineto + -2.3271 2.8498 lineto + -2.4027 2.7909 lineto + -2.4774 2.7295 lineto + -2.5514 2.6654 lineto + -2.6243 2.5988 lineto + -2.6962 2.5294 lineto + -2.7669 2.4574 lineto + -2.8364 2.3827 lineto + -2.9044 2.3053 lineto + -2.9709 2.2252 lineto + -3.0358 2.1423 lineto + -3.0988 2.0567 lineto + -3.16 1.9683 lineto + -3.2191 1.8772 lineto + -3.276 1.7834 lineto + -3.3305 1.6868 lineto + -3.3826 1.5876 lineto + -3.4321 1.4857 lineto + -3.4787 1.3812 lineto + -3.5224 1.274 lineto + -3.5532 1.192 lineto + -3.5727 1.1366 lineto + -3.5914 1.0805 lineto + -3.6092 1.0238 lineto + -3.6261 0.9665 lineto + -3.6422 0.9087 lineto + -3.6574 0.8502 lineto + -3.6716 0.7912 lineto + -3.6849 0.7316 lineto + -3.6972 0.6714 lineto + -3.7085 0.6108 lineto + -3.7188 0.5495 lineto + -3.728 0.4878 lineto + -3.7362 0.4256 lineto + -3.7433 0.3629 lineto + -3.7493 0.2997 lineto + -3.7542 0.236 lineto + -3.758 0.172 lineto + -3.7605 0.1075 lineto + -3.7619 0.0426 lineto + -3.7621 -0.0227 lineto + -3.7611 -0.0884 lineto + -3.7588 -0.1544 lineto + -3.7552 -0.2208 lineto + -3.7504 -0.2874 lineto + -3.7442 -0.3543 lineto + -3.7367 -0.4215 lineto + -3.7278 -0.489 lineto + -3.7176 -0.5566 lineto + -3.706 -0.6244 lineto + -3.693 -0.6924 lineto + -3.6785 -0.7606 lineto + -3.6626 -0.8288 lineto + -3.6453 -0.8972 lineto + -3.6264 -0.9655 lineto + -3.6061 -1.0339 lineto + -3.5842 -1.1023 lineto + -3.5608 -1.1707 lineto + -3.5359 -1.239 lineto + -3.5094 -1.3072 lineto + -3.4813 -1.3752 lineto + -3.4516 -1.4431 lineto + -3.4203 -1.5107 lineto + -3.3874 -1.5781 lineto + -3.3528 -1.6453 lineto + -3.3166 -1.7121 lineto + -3.2788 -1.7785 lineto + -3.2393 -1.8445 lineto + -3.1981 -1.9101 lineto + -3.1553 -1.9753 lineto + -3.1108 -2.0399 lineto + -3.0645 -2.1039 lineto + -3.0166 -2.1673 lineto + -2.967 -2.23 lineto + -2.9157 -2.2921 lineto + -2.8626 -2.3534 lineto + -2.8079 -2.4139 lineto + -2.7515 -2.4735 lineto + -2.6934 -2.5323 lineto + -2.6335 -2.5901 lineto + -2.572 -2.6469 lineto + -2.5088 -2.7027 lineto + -2.444 -2.7574 lineto + -2.3774 -2.8109 lineto + -2.3092 -2.8633 lineto + -2.2394 -2.9144 lineto + -2.1679 -2.9642 lineto + -2.0948 -3.0126 lineto + -2.0201 -3.0596 lineto + -1.9439 -3.1052 lineto + -1.8661 -3.1493 lineto + -1.7868 -3.1917 lineto + -1.7059 -3.2326 lineto + -1.6236 -3.2717 lineto + -1.5398 -3.3092 lineto + -1.4547 -3.3448 lineto + -1.3681 -3.3786 lineto + -1.2802 -3.4104 lineto + -1.191 -3.4403 lineto + -1.1005 -3.4682 lineto + -1.0087 -3.4941 lineto + -0.9158 -3.5178 lineto + -0.8218 -3.5393 lineto + -0.7267 -3.5586 lineto + -0.6305 -3.5756 lineto + -0.5333 -3.5902 lineto + -0.4353 -3.6025 lineto + -0.3363 -3.6123 lineto + -0.2366 -3.6197 lineto + -0.1361 -3.6245 lineto + -0.0349 -3.6267 lineto + 0.0669 -3.6263 lineto + 0.1692 -3.6232 lineto + 0.2719 -3.6174 lineto + 0.3751 -3.6088 lineto + 0.4786 -3.5974 lineto + 0.5823 -3.5832 lineto + 0.6861 -3.566 lineto + 0.79 -3.546 lineto + 0.8938 -3.523 lineto + 0.9976 -3.497 lineto + 1.1011 -3.4681 lineto + 1.2043 -3.436 lineto + 1.307 -3.401 lineto + 1.4093 -3.3628 lineto + 1.5109 -3.3215 lineto + 1.6118 -3.2771 lineto + 1.7119 -3.2296 lineto + 1.8111 -3.179 lineto + 1.9091 -3.1252 lineto + 2.0061 -3.0683 lineto + 2.1017 -3.0082 lineto + 2.1959 -2.945 lineto + 2.2886 -2.8786 lineto + 2.3797 -2.8091 lineto + 2.469 -2.7366 lineto + 2.5564 -2.6609 lineto + 2.6418 -2.5822 lineto + 2.7251 -2.5005 lineto + 2.7861 -2.4373 lineto + 2.826 -2.3942 lineto + 2.8653 -2.3504 lineto + 2.904 -2.3058 lineto + 2.942 -2.2605 lineto + 2.9794 -2.2146 lineto + 3.0162 -2.1679 lineto + 3.0522 -2.1205 lineto + 3.0876 -2.0724 lineto + 3.1222 -2.0236 lineto + 3.1561 -1.9741 lineto + 3.1892 -1.924 lineto + 3.2216 -1.8732 lineto + 3.2532 -1.8217 lineto + 3.284 -1.7696 lineto + 3.314 -1.7169 lineto + 3.3431 -1.6635 lineto + 3.3714 -1.6095 lineto + 3.3989 -1.555 lineto + 3.4255 -1.4998 lineto + 3.4511 -1.444 lineto + 3.4759 -1.3877 lineto + 3.4998 -1.3308 lineto + 3.5227 -1.2734 lineto + 3.5446 -1.2154 lineto + 3.5656 -1.1569 lineto + 3.5857 -1.098 lineto + 3.6047 -1.0385 lineto + 3.6227 -0.9785 lineto + 3.6397 -0.9181 lineto + 3.6556 -0.8572 lineto + 3.6705 -0.7959 lineto + 3.6843 -0.7342 lineto + 3.697 -0.6721 lineto + 3.7087 -0.6096 lineto + 3.7192 -0.5467 lineto + 3.7286 -0.4835 lineto + 3.7369 -0.4199 lineto + 3.744 -0.356 lineto + 3.75 -0.2919 lineto + 3.7548 -0.2274 lineto + 3.7584 -0.1627 lineto + 3.7608 -0.0978 lineto + 3.762 -0.0327 lineto + 3.7622 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, -1.1579208923731617E77) +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, -1.1579208923731617E77) +0.02 setlinewidth 1 setlinecap stroke +% Real axis +newpath -5 0 moveto 5 0 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 1.0 0.12 moveto 1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.0 0.12 moveto -1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 2.0 0.12 moveto 2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -2.0 0.12 moveto -2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.0 0.12 moveto 3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.0 0.12 moveto -3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 4.0 0.12 moveto 4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -4.0 0.12 moveto -4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 1.5707963267948966 0.09 moveto 1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.5707963267948966 0.09 moveto -1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.141592653589793 0.09 moveto 3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.141592653589793 0.09 moveto -3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +% Imaginary axis +newpath 0 -5 moveto 0 5 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 0.12 1.0 moveto -0.12 1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -1.0 moveto -0.12 -1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 2.0 moveto -0.12 2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -2.0 moveto -0.12 -2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 3.0 moveto -0.12 3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -3.0 moveto -0.12 -3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 4.0 moveto -0.12 4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -4.0 moveto -0.12 -4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 1.5707963267948966 moveto -0.09 1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -1.5707963267948966 moveto -0.09 -1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 3.141592653589793 moveto -0.09 3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -3.141592653589793 moveto -0.09 -3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +% End of PostScript file for plot of function COSH +%%EndDocument + @endspecial 399 x(The)e(graph)g(of)g Fj(cosh)d FA(do)q(es)k +Fq(not)d FA(lo)q(ok)j(lik)o(e)g(that)f(of)f Fj(cos)g +FA(rotated)h(90)g(degrees;)g(instead)h(it)f(lo)q(oks)0 +2211 y(lik)o(e)17 b(that)f(of)f Fj(cos)f FA(unrotated.)25 +b(That)16 b(is)g(b)q(ecause)h(cosh)7 b Fq(iz)19 b FA(is)d(not)g(equal)h +(to)e Fq(i)10 b FA(cos)d Fq(z)e FA(;)16 b(rather,)0 2257 +y(cosh)7 b Fq(iz)15 b FA(=)10 b(cos)d Fq(z)e FA(.)16 +b(In)o(terpreted,)d(that)f(means)g(that)h(the)f(shading)i(is)f +(pre-rotated)f(but)h(there)f(is)0 2302 y(no)h(p)q(ost-rotation.)p +0 2332 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 356 380 +356 379 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(356)77 b(COMMON)13 +b(LISP)p 0 255 1395 2 v 0 322 a Fm(Figure)h(12-16:)j +FA(Illustration)f(of)d(the)g(Range)h(of)f(the)g(Hyp)q(erb)q(olic)i(Arc) +e(Cosine)h(F)m(unction)0 1766 y @beginspecial @setspecial +%%BeginDocument: acosh-plot.ps +% PostScript file for plot of function ACOSH +% Plot is to fit in a region 4.666666666666667 inches square +% showing axes extending 4.1 units from the origin. + +40.97560975609756 40.97560975609756 scale +4.1 4.1 translate +newpath + -4.1 -4.1 moveto + 4.1 -4.1 lineto + 4.1 4.1 lineto + -4.1 4.1 lineto + closepath +clip +% Moby grid for function ACOSH +% Annulus 0.25 0.5 4 0.97 0.45 +% Sector from 4.7124 to 6.2832 (quadrant 3) +newpath + 0.2475 -1.5708 moveto + 0.3667 -1.5708 lineto + %middle radial + 0.3667 -1.5708 lineto + 0.4812 -1.5708 lineto + %end radial + 0.4812 -1.5708 lineto + 0.4751 -1.4881 lineto + 0.4555 -1.4033 lineto + 0.4202 -1.3176 lineto + 0.3664 -1.2334 lineto + %middle circumferential + 0.3664 -1.2334 lineto + 0.3021 -1.1649 lineto + 0.2191 -1.1056 lineto + 0.1169 -1.0632 lineto + 0.0301 -1.0482 lineto + 0.0 1.0472 lineto + 0.0 1.0472 lineto + %end circumferential + 0.0 1.0472 lineto + 0.0 1.1864 lineto + %middle radial + 0.0 1.1864 lineto + 0.0 1.3181 lineto + %end radial + 0.0 1.3181 lineto + 0.0 1.3181 lineto + 0.0268 -1.3196 lineto + 0.1012 -1.3402 lineto + 0.1786 -1.3959 lineto + %middle circumferential + 0.1786 -1.3959 lineto + 0.2313 -1.4809 lineto + 0.2475 -1.5708 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 3.1416 to 4.7124 (quadrant 2) +newpath + 0.0 1.8235 moveto + 0.0 1.9552 lineto + %middle radial + 0.0 1.9552 lineto + 0.0 2.0944 lineto + %end radial + 0.0 2.0944 lineto + 0.0255 -2.0936 lineto + 0.1026 -2.0821 lineto + 0.2023 -2.045 lineto + 0.2917 -1.9856 lineto + 0.3664 -1.9082 lineto + %middle circumferential + 0.3664 -1.9082 lineto + 0.4148 -1.8344 lineto + 0.4507 -1.7527 lineto + 0.4733 -1.6645 lineto + 0.4812 -1.5708 lineto + %end circumferential + 0.4812 -1.5708 lineto + 0.3667 -1.5708 lineto + %middle radial + 0.3667 -1.5708 lineto + 0.2475 -1.5708 lineto + %end radial + 0.2475 -1.5708 lineto + 0.2283 -1.6682 lineto + 0.1786 -1.7457 lineto + %middle circumferential + 0.1786 -1.7457 lineto + 0.093 -1.8049 lineto + 0.0229 -1.8224 lineto + 0.0 1.8235 lineto + %end circumferential + closepath +currentgray 0.6233333333333334 setgray fill setgray +% Sector from 1.5708 to 3.1416 (quadrant 1) +newpath + 0.2475 1.5708 moveto + 0.3667 1.5708 lineto + %middle radial + 0.3667 1.5708 lineto + 0.4812 1.5708 lineto + %end radial + 0.4812 1.5708 lineto + 0.4762 1.6456 lineto + 0.4587 1.7276 lineto + 0.4243 1.8159 lineto + 0.3664 1.9082 lineto + %middle circumferential + 0.3664 1.9082 lineto + 0.3063 1.973 lineto + 0.2262 2.0319 lineto + 0.1233 2.0766 lineto + 0.0637 2.0897 lineto + 0.0 2.0944 lineto + %end circumferential + 0.0 2.0944 lineto + 0.0 1.9552 lineto + %middle radial + 0.0 1.9552 lineto + 0.0 1.8235 lineto + %end radial + 0.0 1.8235 lineto + 0.1047 1.7997 lineto + 0.1786 1.7457 lineto + %middle circumferential + 0.1786 1.7457 lineto + 0.2333 1.655 lineto + 0.2475 1.5708 lineto + %end circumferential + closepath +currentgray 0.7966666666666668 setgray fill setgray +% Sector from 0.0 to 1.5708 (quadrant 0) +newpath + 0.0 1.3181 moveto + 0.0 1.1864 lineto + %middle radial + 0.0 1.1864 lineto + 0.0 1.0472 lineto + %end radial + 0.0 1.0472 lineto + 0.0248 1.0479 lineto + 0.1046 1.06 lineto + 0.1754 1.0839 lineto + 0.2421 1.1195 lineto + 0.3232 1.1846 lineto + 0.3664 1.2334 lineto + %middle circumferential + 0.3664 1.2334 lineto + 0.4067 1.2929 lineto + 0.4428 1.3675 lineto + 0.47 1.4594 lineto + 0.4812 1.5708 lineto + %end circumferential + 0.4812 1.5708 lineto + 0.3667 1.5708 lineto + %middle radial + 0.3667 1.5708 lineto + 0.2475 1.5708 lineto + %end radial + 0.2475 1.5708 lineto + 0.2455 1.5392 lineto + 0.2235 1.4623 lineto + 0.1786 1.3959 lineto + %middle circumferential + 0.1786 1.3959 lineto + 0.1325 1.3574 lineto + 0.0471 1.3227 lineto + 0.0 1.3181 lineto + %end circumferential + closepath +currentgray 0.9700000000000001 setgray fill setgray +% Annulus 0.75 1.0 8 0.97 0.45 +% Sector from 5.4978 to 6.2832 (quadrant 3) +newpath + 0.5652 -1.0977 moveto + 0.6136 -1.0705 lineto + 0.6657 -1.0436 lineto + %middle radial + 0.6657 -1.0436 lineto + 0.7643 -0.9989 lineto + %end radial + 0.7643 -0.9989 lineto + 0.7309 -0.9235 lineto + 0.6909 -0.8439 lineto + 0.643 -0.759 lineto + 0.5847 -0.667 lineto + %middle circumferential + 0.5847 -0.667 lineto + 0.5357 -0.5964 lineto + 0.4981 -0.5456 lineto + 0.4554 -0.4908 lineto + 0.4059 -0.4303 lineto + 0.3467 -0.3616 lineto + 0.2924 -0.3011 lineto + 0.2484 -0.2537 lineto + 0.1935 -0.1959 lineto + 0.1373 -0.1382 lineto + 0.0795 -0.0797 lineto + 0.0 0.0 lineto + %end circumferential + 0.0 0.0 lineto + 0.0 0.5054 lineto + %middle radial + 0.0 0.5054 lineto + 0.0 0.7227 lineto + %end radial + 0.0 0.7227 lineto + 0.0 0.7227 lineto + 0.0286 -0.7236 lineto + 0.112 -0.7354 lineto + 0.2122 -0.7686 lineto + 0.2974 -0.814 lineto + 0.3686 -0.8654 lineto + %middle circumferential + 0.3686 -0.8654 lineto + 0.4319 -0.9231 lineto + 0.4845 -0.9816 lineto + 0.5285 -1.04 lineto + 0.5652 -1.0977 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 4.7124 to 5.4978 (quadrant 3) +newpath + 0.6931 -1.5708 moveto + 0.7902 -1.5708 lineto + %middle radial + 0.7902 -1.5708 lineto + 0.8814 -1.5708 lineto + %end radial + 0.8814 -1.5708 lineto + 0.8798 -1.5034 lineto + 0.8748 -1.4345 lineto + 0.8662 -1.3639 lineto + 0.8537 -1.2913 lineto + %middle circumferential + 0.8537 -1.2913 lineto + 0.8381 -1.222 lineto + 0.8185 -1.1505 lineto + 0.7941 -1.0763 lineto + 0.7643 -0.9989 lineto + %end circumferential + 0.7643 -0.9989 lineto + 0.6657 -1.0436 lineto + %middle radial + 0.6657 -1.0436 lineto + 0.6136 -1.0705 lineto + 0.5652 -1.0977 lineto + %end radial + 0.5652 -1.0977 lineto + 0.5979 -1.1588 lineto + 0.6246 -1.2186 lineto + 0.6461 -1.2773 lineto + 0.663 -1.3349 lineto + %middle circumferential + 0.663 -1.3349 lineto + 0.6767 -1.3957 lineto + 0.686 -1.4553 lineto + 0.6914 -1.5136 lineto + 0.6931 -1.5708 lineto + %end circumferential + closepath +currentgray 0.5242857142857142 setgray fill setgray +% Sector from 3.927 to 4.7124 (quadrant 2) +newpath + 0.5652 -2.0438 moveto + 0.6136 -2.0711 lineto + 0.6657 -2.098 lineto + %middle radial + 0.6657 -2.098 lineto + 0.7643 -2.1427 lineto + %end radial + 0.7643 -2.1427 lineto + 0.7924 -2.07 lineto + 0.8166 -1.9973 lineto + 0.837 -1.9242 lineto + 0.8537 -1.8503 lineto + %middle circumferential + 0.8537 -1.8503 lineto + 0.8656 -1.7821 lineto + 0.8742 -1.7129 lineto + 0.8796 -1.6425 lineto + 0.8814 -1.5708 lineto + %end circumferential + 0.8814 -1.5708 lineto + 0.7902 -1.5708 lineto + %middle radial + 0.7902 -1.5708 lineto + 0.6931 -1.5708 lineto + %end radial + 0.6931 -1.5708 lineto + 0.6912 -1.6316 lineto + 0.6854 -1.6912 lineto + 0.676 -1.7496 lineto + 0.663 -1.8067 lineto + %middle circumferential + 0.663 -1.8067 lineto + 0.6448 -1.868 lineto + 0.6225 -1.928 lineto + 0.596 -1.9866 lineto + 0.5652 -2.0438 lineto + %end circumferential + closepath +currentgray 0.5985714285714285 setgray fill setgray +% Sector from 3.1416 to 3.927 (quadrant 2) +newpath + 0.0 2.4189 moveto + 0.0 2.6362 lineto + %middle radial + 0.0 2.6362 lineto + 0.0 3.1416 lineto + %end radial + 0.0 3.1416 lineto + 0.0 -3.1416 lineto + 0.0538 -3.0878 lineto + 0.1074 -3.0338 lineto + 0.1518 -2.9886 lineto + 0.2142 -2.9241 lineto + 0.2618 -2.8736 lineto + 0.3016 -2.8304 lineto + 0.3677 -2.7561 lineto + 0.4225 -2.6913 lineto + 0.47 -2.6323 lineto + 0.5122 -2.5772 lineto + 0.5502 -2.5249 lineto + 0.5847 -2.4746 lineto + %middle circumferential + 0.5847 -2.4746 lineto + 0.6396 -2.3882 lineto + 0.6871 -2.3048 lineto + 0.7284 -2.2233 lineto + 0.7643 -2.1427 lineto + %end circumferential + 0.7643 -2.1427 lineto + 0.6657 -2.098 lineto + %middle radial + 0.6657 -2.098 lineto + 0.6136 -2.0711 lineto + 0.5652 -2.0438 lineto + %end radial + 0.5652 -2.0438 lineto + 0.5258 -2.1055 lineto + 0.4803 -2.1651 lineto + 0.4282 -2.2223 lineto + 0.3686 -2.2762 lineto + %middle circumferential + 0.3686 -2.2762 lineto + 0.2919 -2.331 lineto + 0.2037 -2.3766 lineto + 0.1048 -2.4078 lineto + 0.0263 -2.4182 lineto + 0.0 2.4189 lineto + %end circumferential + closepath +currentgray 0.6728571428571428 setgray fill setgray +% Sector from 2.3562 to 3.1416 (quadrant 1) +newpath + 0.5652 2.0438 moveto + 0.6136 2.0711 lineto + 0.6657 2.098 lineto + %middle radial + 0.6657 2.098 lineto + 0.7643 2.1427 lineto + %end radial + 0.7643 2.1427 lineto + 0.732 2.2156 lineto + 0.6928 2.2942 lineto + 0.6447 2.3797 lineto + 0.5847 2.4746 lineto + %middle circumferential + 0.5847 2.4746 lineto + 0.5372 2.5431 lineto + 0.5005 2.5928 lineto + 0.4585 2.6469 lineto + 0.4096 2.7069 lineto + 0.3506 2.7756 lineto + 0.2962 2.8363 lineto + 0.2519 2.8842 lineto + 0.1964 2.9426 lineto + 0.1396 3.0011 lineto + 0.0808 3.0606 lineto + 0.0 3.1416 lineto + %end circumferential + 0.0 3.1416 lineto + 0.0 2.6362 lineto + %middle radial + 0.0 2.6362 lineto + 0.0 2.4189 lineto + %end radial + 0.0 2.4189 lineto + 0.0296 2.418 lineto + 0.1148 2.4055 lineto + 0.2154 2.3716 lineto + 0.2994 2.3263 lineto + 0.3686 2.2762 lineto + %middle circumferential + 0.3686 2.2762 lineto + 0.4337 2.2167 lineto + 0.4866 2.1575 lineto + 0.5297 2.0997 lineto + 0.5652 2.0438 lineto + %end circumferential + closepath +currentgray 0.7471428571428572 setgray fill setgray +% Sector from 1.5708 to 2.3562 (quadrant 1) +newpath + 0.6931 1.5708 moveto + 0.7902 1.5708 lineto + %middle radial + 0.7902 1.5708 lineto + 0.8814 1.5708 lineto + %end radial + 0.8814 1.5708 lineto + 0.8799 1.6345 lineto + 0.8753 1.7021 lineto + 0.8668 1.7738 lineto + 0.8537 1.8503 lineto + %middle circumferential + 0.8537 1.8503 lineto + 0.8389 1.9167 lineto + 0.8196 1.9872 lineto + 0.7952 2.0622 lineto + 0.7643 2.1427 lineto + %end circumferential + 0.7643 2.1427 lineto + 0.6657 2.098 lineto + %middle radial + 0.6657 2.098 lineto + 0.6136 2.0711 lineto + 0.5652 2.0438 lineto + %end radial + 0.5652 2.0438 lineto + 0.5831 2.0117 lineto + 0.6133 1.9497 lineto + 0.637 1.8905 lineto + 0.663 1.8067 lineto + %middle circumferential + 0.663 1.8067 lineto + 0.6773 1.7426 lineto + 0.6865 1.6821 lineto + 0.6931 1.5708 lineto + %end circumferential + closepath +currentgray 0.8214285714285714 setgray fill setgray +% Sector from 0.7854 to 1.5708 (quadrant 0) +newpath + 0.5652 1.0977 moveto + 0.6136 1.0705 lineto + 0.6657 1.0436 lineto + %middle radial + 0.6657 1.0436 lineto + 0.7643 0.9989 lineto + %end radial + 0.7643 0.9989 lineto + 0.7894 1.0633 lineto + 0.8131 1.133 lineto + 0.8348 1.2088 lineto + 0.8537 1.2913 lineto + %middle circumferential + 0.8537 1.2913 lineto + 0.8648 1.3544 lineto + 0.8735 1.4217 lineto + 0.8793 1.4937 lineto + 0.8814 1.5708 lineto + %end circumferential + 0.8814 1.5708 lineto + 0.7902 1.5708 lineto + %middle radial + 0.7902 1.5708 lineto + 0.6931 1.5708 lineto + %end radial + 0.6931 1.5708 lineto + 0.6909 1.5054 lineto + 0.6846 1.4445 lineto + 0.663 1.3349 lineto + %middle circumferential + 0.663 1.3349 lineto + 0.6424 1.2664 lineto + 0.6187 1.2045 lineto + 0.5927 1.1484 lineto + 0.5652 1.0977 lineto + %end circumferential + closepath +currentgray 0.8957142857142858 setgray fill setgray +% Sector from 0.0 to 0.7854 (quadrant 0) +newpath + 0.0 0.7227 moveto + 0.0 0.5054 lineto + %middle radial + 0.0 0.5054 lineto + 0.0 0.0 lineto + %end radial + 0.0 0.0 lineto + 0.0347 0.0347 lineto + 0.1025 0.1029 lineto + 0.1469 0.148 lineto + 0.2102 0.2133 lineto + 0.251 0.2564 lineto + 0.2993 0.3087 lineto + 0.3562 0.3723 lineto + 0.4225 0.4502 lineto + 0.4594 0.4958 lineto + 0.4988 0.5465 lineto + 0.5406 0.6033 lineto + 0.5847 0.667 lineto + %middle circumferential + 0.5847 0.667 lineto + 0.6287 0.7355 lineto + 0.6739 0.8127 lineto + 0.7195 0.8999 lineto + 0.7643 0.9989 lineto + %end circumferential + 0.7643 0.9989 lineto + 0.6657 1.0436 lineto + %middle radial + 0.6657 1.0436 lineto + 0.6136 1.0705 lineto + 0.5652 1.0977 lineto + %end radial + 0.5652 1.0977 lineto + 0.516 1.0224 lineto + 0.4658 0.9596 lineto + 0.4163 0.9077 lineto + 0.3686 0.8654 lineto + %middle circumferential + 0.3686 0.8654 lineto + 0.3216 0.83 lineto + 0.2388 0.781 lineto + 0.1728 0.753 lineto + 0.1032 0.7335 lineto + 0.0246 0.7233 lineto + 0.0 0.7227 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 1.5708 2.0 16 0.97 0.45 +% Sector from 5.8905 to 6.2832 (quadrant 3) +newpath + 1.0766 -0.4819 moveto + 1.148 -0.4692 lineto + 1.2188 -0.4584 lineto + %middle radial + 1.2188 -0.4584 lineto + 1.2811 -0.4503 lineto + 1.3428 -0.4433 lineto + %end radial + 1.3428 -0.4433 lineto + 1.3324 -0.3364 lineto + 1.3241 -0.2253 lineto + %middle circumferential + 1.3241 -0.2253 lineto + 1.3188 -0.1141 lineto + 1.317 0.0 lineto + %end circumferential + 1.317 0.0 lineto + 1.1831 0.0 lineto + %middle radial + 1.1831 0.0 lineto + 1.1046 0.0 lineto + 1.0232 0.0 lineto + %end radial + 1.0232 0.0 lineto + 1.0243 -0.0643 lineto + 1.0275 -0.1278 lineto + 1.0325 -0.1899 lineto + 1.0391 -0.2505 lineto + %middle circumferential + 1.0391 -0.2505 lineto + 1.0473 -0.3112 lineto + 1.0564 -0.37 lineto + 1.0766 -0.4819 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.4978 to 5.8905 (quadrant 3) +newpath + 1.1593 -0.8835 moveto + 1.2202 -0.8723 lineto + 1.2817 -0.8623 lineto + %middle radial + 1.2817 -0.8623 lineto + 1.392 -0.8471 lineto + %end radial + 1.392 -0.8471 lineto + 1.38 -0.7509 lineto + 1.3672 -0.6505 lineto + %middle circumferential + 1.3672 -0.6505 lineto + 1.3548 -0.5492 lineto + 1.3428 -0.4433 lineto + %end circumferential + 1.3428 -0.4433 lineto + 1.2811 -0.4503 lineto + 1.2188 -0.4584 lineto + %middle radial + 1.2188 -0.4584 lineto + 1.148 -0.4692 lineto + 1.0766 -0.4819 lineto + %end radial + 1.0766 -0.4819 lineto + 1.0984 -0.59 lineto + 1.1198 -0.6913 lineto + %middle circumferential + 1.1198 -0.6913 lineto + 1.1405 -0.79 lineto + 1.1593 -0.8835 lineto + %end circumferential + closepath +currentgray 0.48466666666666664 setgray fill setgray +% Sector from 5.1051 to 5.4978 (quadrant 3) +newpath + 1.2147 -1.2367 moveto + 1.3274 -1.2254 lineto + %middle radial + 1.3274 -1.2254 lineto + 1.43 -1.217 lineto + %end radial + 1.43 -1.217 lineto + 1.4226 -1.1276 lineto + 1.4136 -1.0352 lineto + %middle circumferential + 1.4136 -1.0352 lineto + 1.4035 -0.9429 lineto + 1.392 -0.8471 lineto + %end circumferential + 1.392 -0.8471 lineto + 1.2817 -0.8623 lineto + %middle radial + 1.2817 -0.8623 lineto + 1.2202 -0.8723 lineto + 1.1593 -0.8835 lineto + %end radial + 1.1593 -0.8835 lineto + 1.1765 -0.9757 lineto + 1.1914 -1.0639 lineto + %middle circumferential + 1.1914 -1.0639 lineto + 1.2043 -1.1519 lineto + 1.2147 -1.2367 lineto + %end circumferential + closepath +currentgray 0.5193333333333334 setgray fill setgray +% Sector from 4.7124 to 5.1051 (quadrant 3) +newpath + 1.2334 -1.5708 moveto + 1.3433 -1.5708 lineto + %middle radial + 1.3433 -1.5708 lineto + 1.4436 -1.5708 lineto + %end radial + 1.4436 -1.5708 lineto + 1.4428 -1.4838 lineto + 1.4402 -1.3949 lineto + %middle circumferential + 1.4402 -1.3949 lineto + 1.436 -1.3072 lineto + 1.43 -1.217 lineto + %end circumferential + 1.43 -1.217 lineto + 1.3274 -1.2254 lineto + %middle radial + 1.3274 -1.2254 lineto + 1.2147 -1.2367 lineto + %end radial + 1.2147 -1.2367 lineto + 1.2229 -1.322 lineto + 1.2287 -1.4048 lineto + %middle circumferential + 1.2287 -1.4048 lineto + 1.2323 -1.4888 lineto + 1.2334 -1.5708 lineto + %end circumferential + closepath +currentgray 0.554 setgray fill setgray +% Sector from 4.3197 to 4.7124 (quadrant 2) +newpath + 1.2147 -1.9049 moveto + 1.3274 -1.9162 lineto + %middle radial + 1.3274 -1.9162 lineto + 1.43 -1.9246 lineto + %end radial + 1.43 -1.9246 lineto + 1.4359 -1.8363 lineto + 1.4402 -1.7467 lineto + %middle circumferential + 1.4402 -1.7467 lineto + 1.4428 -1.6596 lineto + 1.4436 -1.5708 lineto + %end circumferential + 1.4436 -1.5708 lineto + 1.3433 -1.5708 lineto + %middle radial + 1.3433 -1.5708 lineto + 1.2334 -1.5708 lineto + %end radial + 1.2334 -1.5708 lineto + 1.2322 -1.6545 lineto + 1.2287 -1.7368 lineto + %middle circumferential + 1.2287 -1.7368 lineto + 1.2228 -1.8214 lineto + 1.2147 -1.9049 lineto + %end circumferential + closepath +currentgray 0.5886666666666667 setgray fill setgray +% Sector from 3.927 to 4.3197 (quadrant 2) +newpath + 1.1593 -2.2581 moveto + 1.2202 -2.2693 lineto + 1.2817 -2.2793 lineto + %middle radial + 1.2817 -2.2793 lineto + 1.392 -2.2945 lineto + %end radial + 1.392 -2.2945 lineto + 1.4032 -2.2007 lineto + 1.4136 -2.1064 lineto + %middle circumferential + 1.4136 -2.1064 lineto + 1.4225 -2.0159 lineto + 1.43 -1.9246 lineto + %end circumferential + 1.43 -1.9246 lineto + 1.3274 -1.9162 lineto + %middle radial + 1.3274 -1.9162 lineto + 1.2147 -1.9049 lineto + %end radial + 1.2147 -1.9049 lineto + 1.204 -1.9916 lineto + 1.1914 -2.0777 lineto + %middle circumferential + 1.1914 -2.0777 lineto + 1.1762 -2.1678 lineto + 1.1593 -2.2581 lineto + %end circumferential + closepath +currentgray 0.6233333333333333 setgray fill setgray +% Sector from 3.5343 to 3.927 (quadrant 2) +newpath + 1.0766 -2.6597 moveto + 1.148 -2.6724 lineto + 1.2188 -2.6831 lineto + %middle radial + 1.2188 -2.6831 lineto + 1.2811 -2.6913 lineto + 1.3428 -2.6983 lineto + %end radial + 1.3428 -2.6983 lineto + 1.3545 -2.5947 lineto + 1.3672 -2.4911 lineto + %middle circumferential + 1.3672 -2.4911 lineto + 1.3797 -2.3928 lineto + 1.392 -2.2945 lineto + %end circumferential + 1.392 -2.2945 lineto + 1.2817 -2.2793 lineto + %middle radial + 1.2817 -2.2793 lineto + 1.2202 -2.2693 lineto + 1.1593 -2.2581 lineto + %end radial + 1.1593 -2.2581 lineto + 1.14 -2.3537 lineto + 1.1198 -2.4503 lineto + %middle circumferential + 1.1198 -2.4503 lineto + 1.0979 -2.5539 lineto + 1.0766 -2.6597 lineto + %end circumferential + closepath +currentgray 0.658 setgray fill setgray +% Sector from 3.1416 to 3.5343 (quadrant 2) +newpath + 1.0232 -3.1416 moveto + 1.1046 -3.1416 lineto + 1.1831 -3.1416 lineto + %middle radial + 1.1831 -3.1416 lineto + 1.317 -3.1416 lineto + %end radial + 1.317 -3.1416 lineto + 1.3187 -3.0301 lineto + 1.3241 -2.9163 lineto + %middle circumferential + 1.3241 -2.9163 lineto + 1.3322 -2.8076 lineto + 1.3428 -2.6983 lineto + %end circumferential + 1.3428 -2.6983 lineto + 1.2811 -2.6913 lineto + 1.2188 -2.6831 lineto + %middle radial + 1.2188 -2.6831 lineto + 1.148 -2.6724 lineto + 1.0766 -2.6597 lineto + %end radial + 1.0766 -2.6597 lineto + 1.056 -2.7742 lineto + 1.047 -2.8324 lineto + 1.0391 -2.8911 lineto + %middle circumferential + 1.0391 -2.8911 lineto + 1.0323 -2.9539 lineto + 1.0273 -3.0167 lineto + 1.0242 -3.0794 lineto + 1.0232 -3.1416 lineto + %end circumferential + closepath +currentgray 0.6926666666666667 setgray fill setgray +% Sector from 2.7489 to 3.1416 (quadrant 1) +newpath + 1.0766 2.6597 moveto + 1.148 2.6724 lineto + 1.2188 2.6831 lineto + %middle radial + 1.2188 2.6831 lineto + 1.2811 2.6913 lineto + 1.3428 2.6983 lineto + %end radial + 1.3428 2.6983 lineto + 1.3325 2.8042 lineto + 1.3241 2.9163 lineto + %middle circumferential + 1.3241 2.9163 lineto + 1.3189 3.0266 lineto + 1.317 3.1416 lineto + %end circumferential + 1.317 3.1416 lineto + 1.1831 3.1416 lineto + %middle radial + 1.1831 3.1416 lineto + 1.1046 3.1416 lineto + 1.0232 3.1416 lineto + %end radial + 1.0232 3.1416 lineto + 1.0243 3.0765 lineto + 1.0275 3.0128 lineto + 1.0326 2.951 lineto + 1.0391 2.8911 lineto + %middle circumferential + 1.0391 2.8911 lineto + 1.0474 2.8296 lineto + 1.0566 2.7705 lineto + 1.0766 2.6597 lineto + %end circumferential + closepath +currentgray 0.7273333333333334 setgray fill setgray +% Sector from 2.3562 to 2.7489 (quadrant 1) +newpath + 1.1593 2.2581 moveto + 1.2202 2.2693 lineto + 1.2817 2.2793 lineto + %middle radial + 1.2817 2.2793 lineto + 1.392 2.2945 lineto + %end radial + 1.392 2.2945 lineto + 1.3801 2.3896 lineto + 1.3672 2.4911 lineto + %middle circumferential + 1.3672 2.4911 lineto + 1.3549 2.5914 lineto + 1.3428 2.6983 lineto + %end circumferential + 1.3428 2.6983 lineto + 1.2811 2.6913 lineto + 1.2188 2.6831 lineto + %middle radial + 1.2188 2.6831 lineto + 1.148 2.6724 lineto + 1.0766 2.6597 lineto + %end radial + 1.0766 2.6597 lineto + 1.0986 2.5506 lineto + 1.1198 2.4503 lineto + %middle circumferential + 1.1198 2.4503 lineto + 1.1407 2.3505 lineto + 1.1593 2.2581 lineto + %end circumferential + closepath +currentgray 0.762 setgray fill setgray +% Sector from 1.9635 to 2.3562 (quadrant 1) +newpath + 1.2147 1.9049 moveto + 1.3274 1.9162 lineto + %middle radial + 1.3274 1.9162 lineto + 1.43 1.9246 lineto + %end radial + 1.43 1.9246 lineto + 1.4228 2.0127 lineto + 1.4136 2.1064 lineto + %middle circumferential + 1.4136 2.1064 lineto + 1.4036 2.1975 lineto + 1.392 2.2945 lineto + %end circumferential + 1.392 2.2945 lineto + 1.2817 2.2793 lineto + %middle radial + 1.2817 2.2793 lineto + 1.2202 2.2693 lineto + 1.1593 2.2581 lineto + %end radial + 1.1593 2.2581 lineto + 1.1767 2.1647 lineto + 1.1914 2.0777 lineto + %middle circumferential + 1.1914 2.0777 lineto + 1.2044 1.9885 lineto + 1.2147 1.9049 lineto + %end circumferential + closepath +currentgray 0.7966666666666666 setgray fill setgray +% Sector from 1.5708 to 1.9635 (quadrant 1) +newpath + 1.2334 1.5708 moveto + 1.3433 1.5708 lineto + %middle radial + 1.3433 1.5708 lineto + 1.4436 1.5708 lineto + %end radial + 1.4436 1.5708 lineto + 1.4428 1.6561 lineto + 1.4402 1.7467 lineto + %middle circumferential + 1.4402 1.7467 lineto + 1.4361 1.833 lineto + 1.43 1.9246 lineto + %end circumferential + 1.43 1.9246 lineto + 1.3274 1.9162 lineto + %middle radial + 1.3274 1.9162 lineto + 1.2147 1.9049 lineto + %end radial + 1.2147 1.9049 lineto + 1.223 1.8182 lineto + 1.2287 1.7368 lineto + %middle circumferential + 1.2287 1.7368 lineto + 1.2323 1.6512 lineto + 1.2334 1.5708 lineto + %end circumferential + closepath +currentgray 0.8313333333333334 setgray fill setgray +% Sector from 1.1781 to 1.5708 (quadrant 0) +newpath + 1.2147 1.2367 moveto + 1.3274 1.2254 lineto + %middle radial + 1.3274 1.2254 lineto + 1.43 1.217 lineto + %end radial + 1.43 1.217 lineto + 1.4357 1.3029 lineto + 1.4402 1.3949 lineto + %middle circumferential + 1.4402 1.3949 lineto + 1.4427 1.48 lineto + 1.4436 1.5708 lineto + %end circumferential + 1.4436 1.5708 lineto + 1.3433 1.5708 lineto + %middle radial + 1.3433 1.5708 lineto + 1.2334 1.5708 lineto + %end radial + 1.2334 1.5708 lineto + 1.2322 1.4852 lineto + 1.2287 1.4048 lineto + %middle circumferential + 1.2287 1.4048 lineto + 1.2226 1.3179 lineto + 1.2147 1.2367 lineto + %end circumferential + closepath +currentgray 0.866 setgray fill setgray +% Sector from 0.7854 to 1.1781 (quadrant 0) +newpath + 1.1593 0.8835 moveto + 1.2202 0.8723 lineto + 1.2817 0.8623 lineto + %middle radial + 1.2817 0.8623 lineto + 1.392 0.8471 lineto + %end radial + 1.392 0.8471 lineto + 1.4028 0.9368 lineto + 1.4136 1.0352 lineto + %middle circumferential + 1.4136 1.0352 lineto + 1.4222 1.1226 lineto + 1.43 1.217 lineto + %end circumferential + 1.43 1.217 lineto + 1.3274 1.2254 lineto + %middle radial + 1.3274 1.2254 lineto + 1.2147 1.2367 lineto + %end radial + 1.2147 1.2367 lineto + 1.2036 1.1471 lineto + 1.1914 1.0639 lineto + %middle circumferential + 1.1914 1.0639 lineto + 1.1755 0.9699 lineto + 1.1593 0.8835 lineto + %end circumferential + closepath +currentgray 0.9006666666666666 setgray fill setgray +% Sector from 0.3927 to 0.7854 (quadrant 0) +newpath + 1.0766 0.4819 moveto + 1.148 0.4692 lineto + 1.2188 0.4584 lineto + %middle radial + 1.2188 0.4584 lineto + 1.2811 0.4503 lineto + 1.3428 0.4433 lineto + %end radial + 1.3428 0.4433 lineto + 1.3478 0.4885 lineto + 1.3599 0.5917 lineto + 1.3672 0.6505 lineto + %middle circumferential + 1.3672 0.6505 lineto + 1.379 0.7429 lineto + 1.392 0.8471 lineto + %end circumferential + 1.392 0.8471 lineto + 1.2817 0.8623 lineto + %middle radial + 1.2817 0.8623 lineto + 1.2202 0.8723 lineto + 1.1593 0.8835 lineto + %end radial + 1.1593 0.8835 lineto + 1.1389 0.7823 lineto + 1.1198 0.6913 lineto + %middle circumferential + 1.1198 0.6913 lineto + 1.1074 0.6327 lineto + 1.0858 0.5283 lineto + 1.0766 0.4819 lineto + %end circumferential + closepath +currentgray 0.9353333333333332 setgray fill setgray +% Sector from 0.0 to 0.3927 (quadrant 0) +newpath + 1.0232 0.0 moveto + 1.1046 0.0 lineto + 1.1831 0.0 lineto + %middle radial + 1.1831 0.0 lineto + 1.317 0.0 lineto + %end radial + 1.317 0.0 lineto + 1.3174 0.0536 lineto + 1.3205 0.1576 lineto + 1.3241 0.2253 lineto + %middle circumferential + 1.3241 0.2253 lineto + 1.3308 0.3168 lineto + 1.3392 0.4078 lineto + 1.3428 0.4433 lineto + %end circumferential + 1.3428 0.4433 lineto + 1.2811 0.4503 lineto + 1.2188 0.4584 lineto + %middle radial + 1.2188 0.4584 lineto + 1.148 0.4692 lineto + 1.0766 0.4819 lineto + %end radial + 1.0766 0.4819 lineto + 1.0634 0.4108 lineto + 1.053 0.3491 lineto + 1.0391 0.2505 lineto + %middle circumferential + 1.0391 0.2505 lineto + 1.0312 0.1761 lineto + 1.0252 0.0862 lineto + 1.0233 0.0143 lineto + 1.0232 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 3.0 3.1416 32 0.97 0.45 +% Sector from 6.0868 to 6.2832 (quadrant 3) +newpath + 1.7653 -0.2079 moveto + 1.7898 -0.2073 lineto + %middle radial + 1.7898 -0.2073 lineto + 1.8138 -0.2068 lineto + %end radial + 1.8138 -0.2068 lineto + 1.8121 -0.1035 lineto + %middle circumferential + 1.8121 -0.1035 lineto + 1.8115 0.0 lineto + %end circumferential + 1.8115 0.0 lineto + 1.7875 0.0 lineto + %middle radial + 1.7875 0.0 lineto + 1.7627 0.0 lineto + %end radial + 1.7627 0.0 lineto + 1.7634 -0.1041 lineto + %middle circumferential + 1.7634 -0.1041 lineto + 1.7653 -0.2079 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.8905 to 6.0868 (quadrant 3) +newpath + 1.7722 -0.4135 moveto + 1.7964 -0.4125 lineto + %middle radial + 1.7964 -0.4125 lineto + 1.82 -0.4116 lineto + %end radial + 1.82 -0.4116 lineto + 1.8165 -0.3095 lineto + %middle circumferential + 1.8165 -0.3095 lineto + 1.8138 -0.2068 lineto + %end circumferential + 1.8138 -0.2068 lineto + 1.7898 -0.2073 lineto + %middle radial + 1.7898 -0.2073 lineto + 1.7653 -0.2079 lineto + %end radial + 1.7653 -0.2079 lineto + 1.7682 -0.3111 lineto + %middle circumferential + 1.7682 -0.3111 lineto + 1.7722 -0.4135 lineto + %end circumferential + closepath +currentgray 0.4667741935483871 setgray fill setgray +% Sector from 5.6941 to 5.8905 (quadrant 3) +newpath + 1.782 -0.6155 moveto + 1.8057 -0.6143 lineto + %middle radial + 1.8057 -0.6143 lineto + 1.8289 -0.6131 lineto + %end radial + 1.8289 -0.6131 lineto + 1.8242 -0.5128 lineto + %middle circumferential + 1.8242 -0.5128 lineto + 1.82 -0.4116 lineto + %end circumferential + 1.82 -0.4116 lineto + 1.7964 -0.4125 lineto + %middle radial + 1.7964 -0.4125 lineto + 1.7722 -0.4135 lineto + %end radial + 1.7722 -0.4135 lineto + 1.7768 -0.515 lineto + %middle circumferential + 1.7768 -0.515 lineto + 1.782 -0.6155 lineto + %end circumferential + closepath +currentgray 0.4835483870967742 setgray fill setgray +% Sector from 5.4978 to 5.6941 (quadrant 3) +newpath + 1.7929 -0.8131 moveto + 1.8161 -0.8118 lineto + %middle radial + 1.8161 -0.8118 lineto + 1.8388 -0.8107 lineto + %end radial + 1.8388 -0.8107 lineto + 1.8339 -0.7124 lineto + %middle circumferential + 1.8339 -0.7124 lineto + 1.8289 -0.6131 lineto + %end circumferential + 1.8289 -0.6131 lineto + 1.8057 -0.6143 lineto + %middle radial + 1.8057 -0.6143 lineto + 1.782 -0.6155 lineto + %end radial + 1.782 -0.6155 lineto + 1.7874 -0.7148 lineto + %middle circumferential + 1.7874 -0.7148 lineto + 1.7929 -0.8131 lineto + %end circumferential + closepath +currentgray 0.5003225806451613 setgray fill setgray +% Sector from 5.3014 to 5.4978 (quadrant 3) +newpath + 1.8031 -1.0066 moveto + 1.8259 -1.0055 lineto + %middle radial + 1.8259 -1.0055 lineto + 1.8482 -1.0045 lineto + %end radial + 1.8482 -1.0045 lineto + 1.8437 -0.908 lineto + %middle circumferential + 1.8437 -0.908 lineto + 1.8388 -0.8107 lineto + %end circumferential + 1.8388 -0.8107 lineto + 1.8161 -0.8118 lineto + %middle radial + 1.8161 -0.8118 lineto + 1.7929 -0.8131 lineto + %end radial + 1.7929 -0.8131 lineto + 1.7982 -0.9103 lineto + %middle circumferential + 1.7982 -0.9103 lineto + 1.8031 -1.0066 lineto + %end circumferential + closepath +currentgray 0.5170967741935484 setgray fill setgray +% Sector from 5.1051 to 5.3014 (quadrant 3) +newpath + 1.8114 -1.1966 moveto + 1.8338 -1.1958 lineto + %middle radial + 1.8338 -1.1958 lineto + 1.8558 -1.1951 lineto + %end radial + 1.8558 -1.1951 lineto + 1.8523 -1.1001 lineto + %middle circumferential + 1.8523 -1.1001 lineto + 1.8482 -1.0045 lineto + %end circumferential + 1.8482 -1.0045 lineto + 1.8259 -1.0055 lineto + %middle radial + 1.8259 -1.0055 lineto + 1.8031 -1.0066 lineto + %end radial + 1.8031 -1.0066 lineto + 1.8076 -1.102 lineto + %middle circumferential + 1.8076 -1.102 lineto + 1.8114 -1.1966 lineto + %end circumferential + closepath +currentgray 0.5338709677419355 setgray fill setgray +% Sector from 4.9087 to 5.1051 (quadrant 3) +newpath + 1.8166 -1.3843 moveto + 1.8389 -1.3839 lineto + %middle radial + 1.8389 -1.3839 lineto + 1.8606 -1.3835 lineto + %end radial + 1.8606 -1.3835 lineto + 1.8586 -1.2895 lineto + %middle circumferential + 1.8586 -1.2895 lineto + 1.8558 -1.1951 lineto + %end circumferential + 1.8558 -1.1951 lineto + 1.8338 -1.1958 lineto + %middle radial + 1.8338 -1.1958 lineto + 1.8114 -1.1966 lineto + %end radial + 1.8114 -1.1966 lineto + 1.8144 -1.2907 lineto + %middle circumferential + 1.8144 -1.2907 lineto + 1.8166 -1.3843 lineto + %end circumferential + closepath +currentgray 0.5506451612903226 setgray fill setgray +% Sector from 4.7124 to 4.9087 (quadrant 3) +newpath + 1.8184 -1.5708 moveto + 1.8406 -1.5708 lineto + %middle radial + 1.8406 -1.5708 lineto + 1.8623 -1.5708 lineto + %end radial + 1.8623 -1.5708 lineto + 1.8619 -1.4772 lineto + %middle circumferential + 1.8619 -1.4772 lineto + 1.8606 -1.3835 lineto + %end circumferential + 1.8606 -1.3835 lineto + 1.8389 -1.3839 lineto + %middle radial + 1.8389 -1.3839 lineto + 1.8166 -1.3843 lineto + %end radial + 1.8166 -1.3843 lineto + 1.818 -1.4776 lineto + %middle circumferential + 1.818 -1.4776 lineto + 1.8184 -1.5708 lineto + %end circumferential + closepath +currentgray 0.5674193548387096 setgray fill setgray +% Sector from 4.516 to 4.7124 (quadrant 2) +newpath + 1.8166 -1.7573 moveto + 1.8389 -1.7577 lineto + %middle radial + 1.8389 -1.7577 lineto + 1.8606 -1.7581 lineto + %end radial + 1.8606 -1.7581 lineto + 1.8619 -1.6644 lineto + %middle circumferential + 1.8619 -1.6644 lineto + 1.8623 -1.5708 lineto + %end circumferential + 1.8623 -1.5708 lineto + 1.8406 -1.5708 lineto + %middle radial + 1.8406 -1.5708 lineto + 1.8184 -1.5708 lineto + %end radial + 1.8184 -1.5708 lineto + 1.818 -1.664 lineto + %middle circumferential + 1.818 -1.664 lineto + 1.8166 -1.7573 lineto + %end circumferential + closepath +currentgray 0.5841935483870968 setgray fill setgray +% Sector from 4.3197 to 4.516 (quadrant 2) +newpath + 1.8114 -1.945 moveto + 1.8338 -1.9458 lineto + %middle radial + 1.8338 -1.9458 lineto + 1.8558 -1.9465 lineto + %end radial + 1.8558 -1.9465 lineto + 1.8586 -1.8521 lineto + %middle circumferential + 1.8586 -1.8521 lineto + 1.8606 -1.7581 lineto + %end circumferential + 1.8606 -1.7581 lineto + 1.8389 -1.7577 lineto + %middle radial + 1.8389 -1.7577 lineto + 1.8166 -1.7573 lineto + %end radial + 1.8166 -1.7573 lineto + 1.8144 -1.8509 lineto + %middle circumferential + 1.8144 -1.8509 lineto + 1.8114 -1.945 lineto + %end circumferential + closepath +currentgray 0.600967741935484 setgray fill setgray +% Sector from 4.1233 to 4.3197 (quadrant 2) +newpath + 1.8031 -2.135 moveto + 1.8259 -2.1361 lineto + %middle radial + 1.8259 -2.1361 lineto + 1.8482 -2.1371 lineto + %end radial + 1.8482 -2.1371 lineto + 1.8523 -2.0415 lineto + %middle circumferential + 1.8523 -2.0415 lineto + 1.8558 -1.9465 lineto + %end circumferential + 1.8558 -1.9465 lineto + 1.8338 -1.9458 lineto + %middle radial + 1.8338 -1.9458 lineto + 1.8114 -1.945 lineto + %end radial + 1.8114 -1.945 lineto + 1.8076 -2.0396 lineto + %middle circumferential + 1.8076 -2.0396 lineto + 1.8031 -2.135 lineto + %end circumferential + closepath +currentgray 0.6177419354838709 setgray fill setgray +% Sector from 3.927 to 4.1233 (quadrant 2) +newpath + 1.7929 -2.3285 moveto + 1.8161 -2.3297 lineto + %middle radial + 1.8161 -2.3297 lineto + 1.8388 -2.3309 lineto + %end radial + 1.8388 -2.3309 lineto + 1.8437 -2.2336 lineto + %middle circumferential + 1.8437 -2.2336 lineto + 1.8482 -2.1371 lineto + %end circumferential + 1.8482 -2.1371 lineto + 1.8259 -2.1361 lineto + %middle radial + 1.8259 -2.1361 lineto + 1.8031 -2.135 lineto + %end radial + 1.8031 -2.135 lineto + 1.7982 -2.2313 lineto + %middle circumferential + 1.7982 -2.2313 lineto + 1.7929 -2.3285 lineto + %end circumferential + closepath +currentgray 0.6345161290322581 setgray fill setgray +% Sector from 3.7306 to 3.927 (quadrant 2) +newpath + 1.782 -2.5261 moveto + 1.8057 -2.5273 lineto + %middle radial + 1.8057 -2.5273 lineto + 1.8289 -2.5285 lineto + %end radial + 1.8289 -2.5285 lineto + 1.8339 -2.4292 lineto + %middle circumferential + 1.8339 -2.4292 lineto + 1.8388 -2.3309 lineto + %end circumferential + 1.8388 -2.3309 lineto + 1.8161 -2.3297 lineto + %middle radial + 1.8161 -2.3297 lineto + 1.7929 -2.3285 lineto + %end radial + 1.7929 -2.3285 lineto + 1.7874 -2.4267 lineto + %middle circumferential + 1.7874 -2.4267 lineto + 1.782 -2.5261 lineto + %end circumferential + closepath +currentgray 0.6512903225806452 setgray fill setgray +% Sector from 3.5343 to 3.7306 (quadrant 2) +newpath + 1.7722 -2.728 moveto + 1.7964 -2.729 lineto + %middle radial + 1.7964 -2.729 lineto + 1.82 -2.73 lineto + %end radial + 1.82 -2.73 lineto + 1.8242 -2.6288 lineto + %middle circumferential + 1.8242 -2.6288 lineto + 1.8289 -2.5285 lineto + %end circumferential + 1.8289 -2.5285 lineto + 1.8057 -2.5273 lineto + %middle radial + 1.8057 -2.5273 lineto + 1.782 -2.5261 lineto + %end radial + 1.782 -2.5261 lineto + 1.7768 -2.6265 lineto + %middle circumferential + 1.7768 -2.6265 lineto + 1.7722 -2.728 lineto + %end circumferential + closepath +currentgray 0.6680645161290323 setgray fill setgray +% Sector from 3.3379 to 3.5343 (quadrant 2) +newpath + 1.7653 -2.9337 moveto + 1.7898 -2.9343 lineto + %middle radial + 1.7898 -2.9343 lineto + 1.8138 -2.9348 lineto + %end radial + 1.8138 -2.9348 lineto + 1.8165 -2.8321 lineto + %middle circumferential + 1.8165 -2.8321 lineto + 1.82 -2.73 lineto + %end circumferential + 1.82 -2.73 lineto + 1.7964 -2.729 lineto + %middle radial + 1.7964 -2.729 lineto + 1.7722 -2.728 lineto + %end radial + 1.7722 -2.728 lineto + 1.7682 -2.8305 lineto + %middle circumferential + 1.7682 -2.8305 lineto + 1.7653 -2.9337 lineto + %end circumferential + closepath +currentgray 0.6848387096774193 setgray fill setgray +% Sector from 3.1416 to 3.3379 (quadrant 2) +newpath + 1.7627 -3.1416 moveto + 1.7875 -3.1416 lineto + %middle radial + 1.7875 -3.1416 lineto + 1.8115 -3.1416 lineto + %end radial + 1.8115 -3.1416 lineto + 1.8121 -3.0381 lineto + %middle circumferential + 1.8121 -3.0381 lineto + 1.8138 -2.9348 lineto + %end circumferential + 1.8138 -2.9348 lineto + 1.7898 -2.9343 lineto + %middle radial + 1.7898 -2.9343 lineto + 1.7653 -2.9337 lineto + %end radial + 1.7653 -2.9337 lineto + 1.7634 -3.0375 lineto + %middle circumferential + 1.7634 -3.0375 lineto + 1.7627 -3.1416 lineto + %end circumferential + closepath +currentgray 0.7016129032258065 setgray fill setgray +% Sector from 2.9452 to 3.1416 (quadrant 1) +newpath + 1.7653 2.9337 moveto + 1.7898 2.9343 lineto + %middle radial + 1.7898 2.9343 lineto + 1.8138 2.9348 lineto + %end radial + 1.8138 2.9348 lineto + 1.8121 3.0381 lineto + %middle circumferential + 1.8121 3.0381 lineto + 1.8115 3.1416 lineto + %end circumferential + 1.8115 3.1416 lineto + 1.7875 3.1416 lineto + %middle radial + 1.7875 3.1416 lineto + 1.7627 3.1416 lineto + %end radial + 1.7627 3.1416 lineto + 1.7634 3.0375 lineto + %middle circumferential + 1.7634 3.0375 lineto + 1.7653 2.9337 lineto + %end circumferential + closepath +currentgray 0.7183870967741936 setgray fill setgray +% Sector from 2.7489 to 2.9452 (quadrant 1) +newpath + 1.7722 2.728 moveto + 1.7964 2.729 lineto + %middle radial + 1.7964 2.729 lineto + 1.82 2.73 lineto + %end radial + 1.82 2.73 lineto + 1.8165 2.8321 lineto + %middle circumferential + 1.8165 2.8321 lineto + 1.8138 2.9348 lineto + %end circumferential + 1.8138 2.9348 lineto + 1.7898 2.9343 lineto + %middle radial + 1.7898 2.9343 lineto + 1.7653 2.9337 lineto + %end radial + 1.7653 2.9337 lineto + 1.7682 2.8305 lineto + %middle circumferential + 1.7682 2.8305 lineto + 1.7722 2.728 lineto + %end circumferential + closepath +currentgray 0.7351612903225806 setgray fill setgray +% Sector from 2.5525 to 2.7489 (quadrant 1) +newpath + 1.782 2.5261 moveto + 1.8057 2.5273 lineto + %middle radial + 1.8057 2.5273 lineto + 1.8289 2.5285 lineto + %end radial + 1.8289 2.5285 lineto + 1.8242 2.6288 lineto + %middle circumferential + 1.8242 2.6288 lineto + 1.82 2.73 lineto + %end circumferential + 1.82 2.73 lineto + 1.7964 2.729 lineto + %middle radial + 1.7964 2.729 lineto + 1.7722 2.728 lineto + %end radial + 1.7722 2.728 lineto + 1.7768 2.6265 lineto + %middle circumferential + 1.7768 2.6265 lineto + 1.782 2.5261 lineto + %end circumferential + closepath +currentgray 0.7519354838709679 setgray fill setgray +% Sector from 2.3562 to 2.5525 (quadrant 1) +newpath + 1.7929 2.3285 moveto + 1.8161 2.3297 lineto + %middle radial + 1.8161 2.3297 lineto + 1.8388 2.3309 lineto + %end radial + 1.8388 2.3309 lineto + 1.8339 2.4292 lineto + %middle circumferential + 1.8339 2.4292 lineto + 1.8289 2.5285 lineto + %end circumferential + 1.8289 2.5285 lineto + 1.8057 2.5273 lineto + %middle radial + 1.8057 2.5273 lineto + 1.782 2.5261 lineto + %end radial + 1.782 2.5261 lineto + 1.7874 2.4267 lineto + %middle circumferential + 1.7874 2.4267 lineto + 1.7929 2.3285 lineto + %end circumferential + closepath +currentgray 0.7687096774193548 setgray fill setgray +% Sector from 2.1598 to 2.3562 (quadrant 1) +newpath + 1.8031 2.135 moveto + 1.8259 2.1361 lineto + %middle radial + 1.8259 2.1361 lineto + 1.8482 2.1371 lineto + %end radial + 1.8482 2.1371 lineto + 1.8437 2.2336 lineto + %middle circumferential + 1.8437 2.2336 lineto + 1.8388 2.3309 lineto + %end circumferential + 1.8388 2.3309 lineto + 1.8161 2.3297 lineto + %middle radial + 1.8161 2.3297 lineto + 1.7929 2.3285 lineto + %end radial + 1.7929 2.3285 lineto + 1.7982 2.2313 lineto + %middle circumferential + 1.7982 2.2313 lineto + 1.8031 2.135 lineto + %end circumferential + closepath +currentgray 0.7854838709677419 setgray fill setgray +% Sector from 1.9635 to 2.1598 (quadrant 1) +newpath + 1.8114 1.945 moveto + 1.8338 1.9458 lineto + %middle radial + 1.8338 1.9458 lineto + 1.8558 1.9465 lineto + %end radial + 1.8558 1.9465 lineto + 1.8523 2.0415 lineto + %middle circumferential + 1.8523 2.0415 lineto + 1.8482 2.1371 lineto + %end circumferential + 1.8482 2.1371 lineto + 1.8259 2.1361 lineto + %middle radial + 1.8259 2.1361 lineto + 1.8031 2.135 lineto + %end radial + 1.8031 2.135 lineto + 1.8076 2.0396 lineto + %middle circumferential + 1.8076 2.0396 lineto + 1.8114 1.945 lineto + %end circumferential + closepath +currentgray 0.802258064516129 setgray fill setgray +% Sector from 1.7671 to 1.9635 (quadrant 1) +newpath + 1.8166 1.7573 moveto + 1.8389 1.7577 lineto + %middle radial + 1.8389 1.7577 lineto + 1.8606 1.7581 lineto + %end radial + 1.8606 1.7581 lineto + 1.8586 1.8521 lineto + %middle circumferential + 1.8586 1.8521 lineto + 1.8558 1.9465 lineto + %end circumferential + 1.8558 1.9465 lineto + 1.8338 1.9458 lineto + %middle radial + 1.8338 1.9458 lineto + 1.8114 1.945 lineto + %end radial + 1.8114 1.945 lineto + 1.8144 1.8509 lineto + %middle circumferential + 1.8144 1.8509 lineto + 1.8166 1.7573 lineto + %end circumferential + closepath +currentgray 0.8190322580645162 setgray fill setgray +% Sector from 1.5708 to 1.7671 (quadrant 1) +newpath + 1.8184 1.5708 moveto + 1.8406 1.5708 lineto + %middle radial + 1.8406 1.5708 lineto + 1.8623 1.5708 lineto + %end radial + 1.8623 1.5708 lineto + 1.8619 1.6644 lineto + %middle circumferential + 1.8619 1.6644 lineto + 1.8606 1.7581 lineto + %end circumferential + 1.8606 1.7581 lineto + 1.8389 1.7577 lineto + %middle radial + 1.8389 1.7577 lineto + 1.8166 1.7573 lineto + %end radial + 1.8166 1.7573 lineto + 1.818 1.664 lineto + %middle circumferential + 1.818 1.664 lineto + 1.8184 1.5708 lineto + %end circumferential + closepath +currentgray 0.8358064516129032 setgray fill setgray +% Sector from 1.3744 to 1.5708 (quadrant 0) +newpath + 1.8166 1.3843 moveto + 1.8389 1.3839 lineto + %middle radial + 1.8389 1.3839 lineto + 1.8606 1.3835 lineto + %end radial + 1.8606 1.3835 lineto + 1.8619 1.4772 lineto + %middle circumferential + 1.8619 1.4772 lineto + 1.8623 1.5708 lineto + %end circumferential + 1.8623 1.5708 lineto + 1.8406 1.5708 lineto + %middle radial + 1.8406 1.5708 lineto + 1.8184 1.5708 lineto + %end radial + 1.8184 1.5708 lineto + 1.818 1.4776 lineto + %middle circumferential + 1.818 1.4776 lineto + 1.8166 1.3843 lineto + %end circumferential + closepath +currentgray 0.8525806451612903 setgray fill setgray +% Sector from 1.1781 to 1.3744 (quadrant 0) +newpath + 1.8114 1.1966 moveto + 1.8338 1.1958 lineto + %middle radial + 1.8338 1.1958 lineto + 1.8558 1.1951 lineto + %end radial + 1.8558 1.1951 lineto + 1.8586 1.2895 lineto + %middle circumferential + 1.8586 1.2895 lineto + 1.8606 1.3835 lineto + %end circumferential + 1.8606 1.3835 lineto + 1.8389 1.3839 lineto + %middle radial + 1.8389 1.3839 lineto + 1.8166 1.3843 lineto + %end radial + 1.8166 1.3843 lineto + 1.8144 1.2907 lineto + %middle circumferential + 1.8144 1.2907 lineto + 1.8114 1.1966 lineto + %end circumferential + closepath +currentgray 0.8693548387096775 setgray fill setgray +% Sector from 0.9817 to 1.1781 (quadrant 0) +newpath + 1.8031 1.0066 moveto + 1.8259 1.0055 lineto + %middle radial + 1.8259 1.0055 lineto + 1.8482 1.0045 lineto + %end radial + 1.8482 1.0045 lineto + 1.8523 1.1001 lineto + %middle circumferential + 1.8523 1.1001 lineto + 1.8558 1.1951 lineto + %end circumferential + 1.8558 1.1951 lineto + 1.8338 1.1958 lineto + %middle radial + 1.8338 1.1958 lineto + 1.8114 1.1966 lineto + %end radial + 1.8114 1.1966 lineto + 1.8076 1.102 lineto + %middle circumferential + 1.8076 1.102 lineto + 1.8031 1.0066 lineto + %end circumferential + closepath +currentgray 0.8861290322580645 setgray fill setgray +% Sector from 0.7854 to 0.9817 (quadrant 0) +newpath + 1.7929 0.8131 moveto + 1.8161 0.8118 lineto + %middle radial + 1.8161 0.8118 lineto + 1.8388 0.8107 lineto + %end radial + 1.8388 0.8107 lineto + 1.8437 0.908 lineto + %middle circumferential + 1.8437 0.908 lineto + 1.8482 1.0045 lineto + %end circumferential + 1.8482 1.0045 lineto + 1.8259 1.0055 lineto + %middle radial + 1.8259 1.0055 lineto + 1.8031 1.0066 lineto + %end radial + 1.8031 1.0066 lineto + 1.7982 0.9103 lineto + %middle circumferential + 1.7982 0.9103 lineto + 1.7929 0.8131 lineto + %end circumferential + closepath +currentgray 0.9029032258064516 setgray fill setgray +% Sector from 0.589 to 0.7854 (quadrant 0) +newpath + 1.782 0.6155 moveto + 1.8057 0.6143 lineto + %middle radial + 1.8057 0.6143 lineto + 1.8289 0.6131 lineto + %end radial + 1.8289 0.6131 lineto + 1.8339 0.7124 lineto + %middle circumferential + 1.8339 0.7124 lineto + 1.8388 0.8107 lineto + %end circumferential + 1.8388 0.8107 lineto + 1.8161 0.8118 lineto + %middle radial + 1.8161 0.8118 lineto + 1.7929 0.8131 lineto + %end radial + 1.7929 0.8131 lineto + 1.7874 0.7148 lineto + %middle circumferential + 1.7874 0.7148 lineto + 1.782 0.6155 lineto + %end circumferential + closepath +currentgray 0.9196774193548387 setgray fill setgray +% Sector from 0.3927 to 0.589 (quadrant 0) +newpath + 1.7722 0.4135 moveto + 1.7964 0.4125 lineto + %middle radial + 1.7964 0.4125 lineto + 1.82 0.4116 lineto + %end radial + 1.82 0.4116 lineto + 1.8242 0.5128 lineto + %middle circumferential + 1.8242 0.5128 lineto + 1.8289 0.6131 lineto + %end circumferential + 1.8289 0.6131 lineto + 1.8057 0.6143 lineto + %middle radial + 1.8057 0.6143 lineto + 1.782 0.6155 lineto + %end radial + 1.782 0.6155 lineto + 1.7768 0.515 lineto + %middle circumferential + 1.7768 0.515 lineto + 1.7722 0.4135 lineto + %end circumferential + closepath +currentgray 0.9364516129032258 setgray fill setgray +% Sector from 0.1963 to 0.3927 (quadrant 0) +newpath + 1.7653 0.2079 moveto + 1.7898 0.2073 lineto + %middle radial + 1.7898 0.2073 lineto + 1.8138 0.2068 lineto + %end radial + 1.8138 0.2068 lineto + 1.8165 0.3095 lineto + %middle circumferential + 1.8165 0.3095 lineto + 1.82 0.4116 lineto + %end circumferential + 1.82 0.4116 lineto + 1.7964 0.4125 lineto + %middle radial + 1.7964 0.4125 lineto + 1.7722 0.4135 lineto + %end radial + 1.7722 0.4135 lineto + 1.7682 0.3111 lineto + %middle circumferential + 1.7682 0.3111 lineto + 1.7653 0.2079 lineto + %end circumferential + closepath +currentgray 0.9532258064516128 setgray fill setgray +% Sector from 0.0 to 0.1963 (quadrant 0) +newpath + 1.7627 0.0 moveto + 1.7875 0.0 lineto + %middle radial + 1.7875 0.0 lineto + 1.8115 0.0 lineto + %end radial + 1.8115 0.0 lineto + 1.8116 0.0246 lineto + 1.8121 0.1035 lineto + %middle circumferential + 1.8121 0.1035 lineto + 1.8131 0.174 lineto + 1.8138 0.2068 lineto + %end circumferential + 1.8138 0.2068 lineto + 1.7898 0.2073 lineto + %middle radial + 1.7898 0.2073 lineto + 1.7653 0.2079 lineto + %end radial + 1.7653 0.2079 lineto + 1.7645 0.1749 lineto + 1.7634 0.1041 lineto + %middle circumferential + 1.7634 0.1041 lineto + 1.7628 0.0248 lineto + 1.7627 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Horizontal line from (0.5, 0.0) to (0.0, 0.0) +newpath + 0.0 1.0472 moveto + 0.0 1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.5, 0.0) to (1.0, 0.0) +newpath + 0.0 1.0472 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.0, 0.0) +newpath + 1.317 0.0 moveto + 1.1632 0.0 lineto + 0.8504 0.0 lineto + 0.7861 0.0 lineto + 0.6449 0.0 lineto + 0.4739 0.0 lineto + 0.1807 0.0 lineto + 0.1042 0.0 lineto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.1579208923731617E77, 0.0) +newpath + 1.317 0.0 moveto + 1.8812 0.0 lineto + 6.3488 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 -0.2219 lineto + 6.378103166302659 -0.1127 lineto + 6.378103166302659 -1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (0.0, 1.0) +newpath + 1.4694 0.5074 moveto + 1.398 0.5543 lineto + 1.3312 0.604 lineto + 1.2695 0.6562 lineto + 1.2135 0.7101 lineto + 1.1635 0.7648 lineto + 1.1195 0.8194 lineto + 1.0814 0.8731 lineto + 1.0488 0.9252 lineto + 0.9979 1.0223 lineto + 0.9621 1.1081 lineto + 0.9372 1.1822 lineto + 0.92 1.2454 lineto + 0.8999 1.3437 lineto + 0.8903 1.4127 lineto + 0.8834 1.4945 lineto + 0.8815 1.5531 lineto + 0.8814 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (1.1579208923731617E77, 1.0) +newpath + 1.4694 0.5074 moveto + 1.5404 0.4659 lineto + 1.6143 0.4274 lineto + 1.6906 0.3918 lineto + 1.7687 0.359 lineto + 1.8484 0.3289 lineto + 1.9293 0.3013 lineto + 2.0113 0.276 lineto + 2.094 0.2529 lineto + 2.1774 0.2317 lineto + 2.2613 0.2123 lineto + 2.3456 0.1946 lineto + 2.4302 0.1784 lineto + 2.5152 0.1635 lineto + 2.6003 0.1499 lineto + 2.6857 0.1374 lineto + 2.7712 0.126 lineto + 2.8569 0.1155 lineto + 2.9426 0.1059 lineto + 3.0285 0.0972 lineto + 3.1144 0.0891 lineto + 3.2004 0.0817 lineto + 3.2864 0.0749 lineto + 3.3725 0.0687 lineto + 3.4586 0.0631 lineto + 3.5448 0.0578 lineto + 3.6309 0.053 lineto + 3.7171 0.0487 lineto + 3.8033 0.0446 lineto + 3.8896 0.0409 lineto + 3.9758 0.0376 lineto + 4.062 0.0344 lineto + 4.1483 0.0316 lineto + 4.2346 0.029 lineto + 4.3208 0.0266 lineto + 4.4071 0.0244 lineto + 4.4934 0.0224 lineto + 4.5797 0.0205 lineto + 4.666 0.0188 lineto + 4.7523 0.0173 lineto + 4.8386 0.0158 lineto + 4.9248 0.0145 lineto + 5.0111 0.0133 lineto + 5.0974 0.0122 lineto + 5.1837 0.0112 lineto + 5.27 0.0103 lineto + 5.3563 0.0094 lineto + 5.4426 0.0087 lineto + 5.5289 0.0079 lineto + 5.6153 0.0073 lineto + 5.7016 0.0067 lineto + 5.7879 0.0061 lineto + 5.8742 0.0056 lineto + 5.9605 0.0052 lineto + 6.0468 0.0047 lineto + 6.1331 0.0043 lineto + 6.2625 0.0038 lineto + 6.3488 0.0035 lineto + 6.378103166302659 0.0028 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.2219 lineto + 6.378103166302659 0.1127 lineto + 6.378103166302659 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (0.0, -1.0) +newpath + 1.4694 -0.5074 moveto + 1.398 -0.5543 lineto + 1.3312 -0.604 lineto + 1.2695 -0.6562 lineto + 1.2135 -0.7101 lineto + 1.1635 -0.7648 lineto + 1.1195 -0.8194 lineto + 1.0814 -0.8731 lineto + 1.0488 -0.9252 lineto + 0.9979 -1.0223 lineto + 0.9621 -1.1081 lineto + 0.9372 -1.1822 lineto + 0.92 -1.2454 lineto + 0.8999 -1.3437 lineto + 0.8903 -1.4127 lineto + 0.8834 -1.4945 lineto + 0.8815 -1.5531 lineto + 0.8814 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (1.1579208923731617E77, -1.0) +newpath + 1.4694 -0.5074 moveto + 1.5404 -0.4659 lineto + 1.6143 -0.4274 lineto + 1.6906 -0.3918 lineto + 1.7687 -0.359 lineto + 1.8484 -0.3289 lineto + 1.9293 -0.3013 lineto + 2.0113 -0.276 lineto + 2.094 -0.2529 lineto + 2.1774 -0.2317 lineto + 2.2613 -0.2123 lineto + 2.3456 -0.1946 lineto + 2.4302 -0.1784 lineto + 2.5152 -0.1635 lineto + 2.6003 -0.1499 lineto + 2.6857 -0.1374 lineto + 2.7712 -0.126 lineto + 2.8569 -0.1155 lineto + 2.9426 -0.1059 lineto + 3.0285 -0.0972 lineto + 3.1144 -0.0891 lineto + 3.2004 -0.0817 lineto + 3.2864 -0.0749 lineto + 3.3725 -0.0687 lineto + 3.4586 -0.0631 lineto + 3.5448 -0.0578 lineto + 3.6309 -0.053 lineto + 3.7171 -0.0487 lineto + 3.8033 -0.0446 lineto + 3.8896 -0.0409 lineto + 3.9758 -0.0376 lineto + 4.062 -0.0344 lineto + 4.1483 -0.0316 lineto + 4.2346 -0.029 lineto + 4.3208 -0.0266 lineto + 4.4071 -0.0244 lineto + 4.4934 -0.0224 lineto + 4.5797 -0.0205 lineto + 4.666 -0.0188 lineto + 4.7523 -0.0173 lineto + 4.8386 -0.0158 lineto + 4.9248 -0.0145 lineto + 5.0111 -0.0133 lineto + 5.0974 -0.0122 lineto + 5.1837 -0.0112 lineto + 5.27 -0.0103 lineto + 5.3563 -0.0094 lineto + 5.4426 -0.0087 lineto + 5.5289 -0.0079 lineto + 5.6153 -0.0073 lineto + 5.7016 -0.0067 lineto + 5.7879 -0.0061 lineto + 5.8742 -0.0056 lineto + 5.9605 -0.0052 lineto + 6.0468 -0.0047 lineto + 6.1331 -0.0043 lineto + 6.2625 -0.0038 lineto + 6.3488 -0.0035 lineto + 6.378103166302659 -0.0028 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 -0.2219 lineto + 6.378103166302659 -0.1127 lineto + 6.378103166302659 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (1.1579208923731617E77, 2.0) +newpath + 1.4436 1.5708 moveto + 1.4481 1.4704 lineto + 1.4567 1.4006 lineto + 1.4699 1.3298 lineto + 1.4963 1.2319 lineto + 1.5177 1.1709 lineto + 1.5473 1.1011 lineto + 1.5874 1.0227 lineto + 1.6407 0.9368 lineto + 1.6908 0.8686 lineto + 1.7295 0.8221 lineto + 1.7725 0.7751 lineto + 1.82 0.7282 lineto + 1.8718 0.6819 lineto + 1.9279 0.6365 lineto + 1.9879 0.5925 lineto + 2.0516 0.5501 lineto + 2.1187 0.5096 lineto + 2.1888 0.4711 lineto + 2.2616 0.4349 lineto + 2.3367 0.4009 lineto + 2.4139 0.3691 lineto + 2.4929 0.3394 lineto + 2.5734 0.3119 lineto + 2.6551 0.2865 lineto + 2.738 0.2629 lineto + 2.8218 0.2412 lineto + 2.9064 0.2211 lineto + 2.9917 0.2027 lineto + 3.0775 0.1858 lineto + 3.1638 0.1702 lineto + 3.2505 0.1559 lineto + 3.3375 0.1428 lineto + 3.4248 0.1307 lineto + 3.5123 0.1197 lineto + 3.6001 0.1096 lineto + 3.688 0.1003 lineto + 3.776 0.0918 lineto + 3.8642 0.0841 lineto + 3.9524 0.0769 lineto + 4.0408 0.0704 lineto + 4.1292 0.0644 lineto + 4.2176 0.059 lineto + 4.3062 0.054 lineto + 4.3947 0.0494 lineto + 4.4833 0.0452 lineto + 4.5719 0.0414 lineto + 4.6605 0.0379 lineto + 4.7492 0.0346 lineto + 4.8379 0.0317 lineto + 4.9266 0.029 lineto + 5.0153 0.0265 lineto + 5.104 0.0243 lineto + 5.1927 0.0222 lineto + 5.2814 0.0203 lineto + 5.3701 0.0186 lineto + 5.4589 0.017 lineto + 5.5476 0.0156 lineto + 5.6364 0.0143 lineto + 5.7251 0.0131 lineto + 5.8138 0.0119 lineto + 5.9026 0.0109 lineto + 5.9913 0.01 lineto + 6.0801 0.0092 lineto + 6.1688 0.0084 lineto + 6.2576 0.0077 lineto + 6.3464 0.007 lineto + 6.378103166302659 0.0061 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.2419 lineto + 6.378103166302659 0.116 lineto + 6.378103166302659 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (1.1579208923731617E77, -2.0) +newpath + 1.4436 -1.5708 moveto + 1.4481 -1.4704 lineto + 1.4567 -1.4006 lineto + 1.4699 -1.3298 lineto + 1.4963 -1.2319 lineto + 1.5177 -1.1709 lineto + 1.5473 -1.1011 lineto + 1.5874 -1.0227 lineto + 1.6407 -0.9368 lineto + 1.6908 -0.8686 lineto + 1.7295 -0.8221 lineto + 1.7725 -0.7751 lineto + 1.82 -0.7282 lineto + 1.8718 -0.6819 lineto + 1.9279 -0.6365 lineto + 1.9879 -0.5925 lineto + 2.0516 -0.5501 lineto + 2.1187 -0.5096 lineto + 2.1888 -0.4711 lineto + 2.2616 -0.4349 lineto + 2.3367 -0.4009 lineto + 2.4139 -0.3691 lineto + 2.4929 -0.3394 lineto + 2.5734 -0.3119 lineto + 2.6551 -0.2865 lineto + 2.738 -0.2629 lineto + 2.8218 -0.2412 lineto + 2.9064 -0.2211 lineto + 2.9917 -0.2027 lineto + 3.0775 -0.1858 lineto + 3.1638 -0.1702 lineto + 3.2505 -0.1559 lineto + 3.3375 -0.1428 lineto + 3.4248 -0.1307 lineto + 3.5123 -0.1197 lineto + 3.6001 -0.1096 lineto + 3.688 -0.1003 lineto + 3.776 -0.0918 lineto + 3.8642 -0.0841 lineto + 3.9524 -0.0769 lineto + 4.0408 -0.0704 lineto + 4.1292 -0.0644 lineto + 4.2176 -0.059 lineto + 4.3062 -0.054 lineto + 4.3947 -0.0494 lineto + 4.4833 -0.0452 lineto + 4.5719 -0.0414 lineto + 4.6605 -0.0379 lineto + 4.7492 -0.0346 lineto + 4.8379 -0.0317 lineto + 4.9266 -0.029 lineto + 5.0153 -0.0265 lineto + 5.104 -0.0243 lineto + 5.1927 -0.0222 lineto + 5.2814 -0.0203 lineto + 5.3701 -0.0186 lineto + 5.4589 -0.017 lineto + 5.5476 -0.0156 lineto + 5.6364 -0.0143 lineto + 5.7251 -0.0131 lineto + 5.8138 -0.0119 lineto + 5.9026 -0.0109 lineto + 5.9913 -0.01 lineto + 6.0801 -0.0092 lineto + 6.1688 -0.0084 lineto + 6.2576 -0.0077 lineto + 6.3464 -0.007 lineto + 6.378103166302659 -0.0061 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 -0.2419 lineto + 6.378103166302659 -0.116 lineto + 6.378103166302659 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (1.1579208923731617E77, 3.0) +newpath + 1.8184 1.5708 moveto + 1.8208 1.4998 lineto + 1.8283 1.427 lineto + 1.8383 1.3669 lineto + 1.8582 1.2835 lineto + 1.8848 1.2018 lineto + 1.9109 1.1373 lineto + 1.9464 1.0646 lineto + 1.9934 0.9843 lineto + 2.0542 0.8979 lineto + 2.11 0.8305 lineto + 2.1524 0.785 lineto + 2.1988 0.7395 lineto + 2.2494 0.6943 lineto + 2.304 0.65 lineto + 2.3625 0.6067 lineto + 2.4245 0.5649 lineto + 2.4898 0.5247 lineto + 2.5582 0.4864 lineto + 2.6294 0.45 lineto + 2.703 0.4157 lineto + 2.7788 0.3835 lineto + 2.8564 0.3533 lineto + 2.9357 0.3251 lineto + 3.0165 0.299 lineto + 3.0984 0.2747 lineto + 3.1815 0.2522 lineto + 3.2654 0.2315 lineto + 3.35 0.2124 lineto + 3.4353 0.1947 lineto + 3.5212 0.1785 lineto + 3.6075 0.1636 lineto + 3.6942 0.1499 lineto + 3.7813 0.1373 lineto + 3.8686 0.1257 lineto + 3.9561 0.1151 lineto + 4.0439 0.1054 lineto + 4.1318 0.0965 lineto + 4.2198 0.0883 lineto + 4.308 0.0809 lineto + 4.3962 0.074 lineto + 4.4846 0.0678 lineto + 4.573 0.062 lineto + 4.6614 0.0568 lineto + 4.75 0.0519 lineto + 4.8385 0.0475 lineto + 4.9271 0.0435 lineto + 5.0157 0.0398 lineto + 5.1043 0.0364 lineto + 5.193 0.0333 lineto + 5.2817 0.0305 lineto + 5.3704 0.0279 lineto + 5.4591 0.0255 lineto + 5.5478 0.0234 lineto + 5.6365 0.0214 lineto + 5.7252 0.0196 lineto + 5.8139 0.0179 lineto + 5.9027 0.0164 lineto + 5.9914 0.015 lineto + 6.0801 0.0137 lineto + 6.1689 0.0126 lineto + 6.2576 0.0115 lineto + 6.3464 0.0105 lineto + 6.378103166302659 0.0092 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.2419 lineto + 6.378103166302659 0.116 lineto + 6.378103166302659 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (1.1579208923731617E77, -3.0) +newpath + 1.8184 -1.5708 moveto + 1.8208 -1.4998 lineto + 1.8283 -1.427 lineto + 1.8383 -1.3669 lineto + 1.8582 -1.2835 lineto + 1.8848 -1.2018 lineto + 1.9109 -1.1373 lineto + 1.9464 -1.0646 lineto + 1.9934 -0.9843 lineto + 2.0542 -0.8979 lineto + 2.11 -0.8305 lineto + 2.1524 -0.785 lineto + 2.1988 -0.7395 lineto + 2.2494 -0.6943 lineto + 2.304 -0.65 lineto + 2.3625 -0.6067 lineto + 2.4245 -0.5649 lineto + 2.4898 -0.5247 lineto + 2.5582 -0.4864 lineto + 2.6294 -0.45 lineto + 2.703 -0.4157 lineto + 2.7788 -0.3835 lineto + 2.8564 -0.3533 lineto + 2.9357 -0.3251 lineto + 3.0165 -0.299 lineto + 3.0984 -0.2747 lineto + 3.1815 -0.2522 lineto + 3.2654 -0.2315 lineto + 3.35 -0.2124 lineto + 3.4353 -0.1947 lineto + 3.5212 -0.1785 lineto + 3.6075 -0.1636 lineto + 3.6942 -0.1499 lineto + 3.7813 -0.1373 lineto + 3.8686 -0.1257 lineto + 3.9561 -0.1151 lineto + 4.0439 -0.1054 lineto + 4.1318 -0.0965 lineto + 4.2198 -0.0883 lineto + 4.308 -0.0809 lineto + 4.3962 -0.074 lineto + 4.4846 -0.0678 lineto + 4.573 -0.062 lineto + 4.6614 -0.0568 lineto + 4.75 -0.0519 lineto + 4.8385 -0.0475 lineto + 4.9271 -0.0435 lineto + 5.0157 -0.0398 lineto + 5.1043 -0.0364 lineto + 5.193 -0.0333 lineto + 5.2817 -0.0305 lineto + 5.3704 -0.0279 lineto + 5.4591 -0.0255 lineto + 5.5478 -0.0234 lineto + 5.6365 -0.0214 lineto + 5.7252 -0.0196 lineto + 5.8139 -0.0179 lineto + 5.9027 -0.0164 lineto + 5.9914 -0.015 lineto + 6.0801 -0.0137 lineto + 6.1689 -0.0126 lineto + 6.2576 -0.0115 lineto + 6.3464 -0.0105 lineto + 6.378103166302659 -0.0092 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 -0.2419 lineto + 6.378103166302659 -0.116 lineto + 6.378103166302659 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (0.0, 0.0) +newpath + 0.0 2.0944 moveto + 0.0 1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (-1.0, 0.0) +newpath + 0.0 2.0944 moveto + 0.0 3.1416 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.0, 0.0) +newpath + 1.317 3.1416 moveto + 1.1632 3.1416 lineto + 0.8504 3.1416 lineto + 0.7861 3.1416 lineto + 0.6449 3.1416 lineto + 0.4739 3.1416 lineto + 0.1807 3.1416 lineto + 0.1042 3.1416 lineto + 0.0 3.1416 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.1579208923731617E77, 0.0) +newpath + 1.317 3.1416 moveto + 1.8812 3.1416 lineto + 5.5289 3.1416 lineto + 5.6218 3.1453 lineto + 6.2456 1.5781 lineto + 6.378103166302659 0.8543 lineto + 6.378103166302659 0.2219 lineto + 6.378103166302659 0.1127 lineto + 6.378103166302659 1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (0.0, 1.0) +newpath + 1.4694 2.6342 moveto + 1.398 2.5873 lineto + 1.3312 2.5375 lineto + 1.2695 2.4854 lineto + 1.2135 2.4315 lineto + 1.1635 2.3768 lineto + 1.1195 2.3222 lineto + 1.0814 2.2685 lineto + 1.0488 2.2164 lineto + 0.9979 2.1193 lineto + 0.9621 2.0335 lineto + 0.9372 1.9593 lineto + 0.92 1.8962 lineto + 0.8999 1.7979 lineto + 0.8903 1.7289 lineto + 0.8834 1.6471 lineto + 0.8815 1.5885 lineto + 0.8814 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (-1.1579208923731617E77, 1.0) +newpath + 1.4694 2.6342 moveto + 1.5404 2.6757 lineto + 1.6143 2.7142 lineto + 1.6906 2.7498 lineto + 1.7687 2.7826 lineto + 1.8484 2.8127 lineto + 1.9293 2.8403 lineto + 2.0113 2.8656 lineto + 2.094 2.8887 lineto + 2.1774 2.9099 lineto + 2.2613 2.9293 lineto + 2.3456 2.947 lineto + 2.4302 2.9632 lineto + 2.5152 2.9781 lineto + 2.6003 2.9917 lineto + 2.6857 3.0042 lineto + 2.7712 3.0156 lineto + 2.8569 3.0261 lineto + 2.9426 3.0356 lineto + 3.0285 3.0444 lineto + 3.1144 3.0525 lineto + 3.2004 3.0599 lineto + 3.2864 3.0666 lineto + 3.3725 3.0728 lineto + 3.4586 3.0785 lineto + 3.5448 3.0838 lineto + 3.6309 3.0885 lineto + 3.7171 3.0929 lineto + 3.8033 3.097 lineto + 3.8896 3.1007 lineto + 3.9758 3.104 lineto + 4.062 3.1071 lineto + 4.1483 3.11 lineto + 4.2346 3.1126 lineto + 4.3208 3.115 lineto + 4.4071 3.1172 lineto + 4.4934 3.1192 lineto + 4.5797 3.1211 lineto + 4.666 3.1228 lineto + 4.7523 3.1243 lineto + 4.8386 3.1258 lineto + 4.9248 3.1271 lineto + 5.0111 3.1283 lineto + 5.0974 3.1294 lineto + 5.1837 3.1304 lineto + 5.27 3.1313 lineto + 5.3563 3.1322 lineto + 5.4426 3.1329 lineto + 5.5289 3.1337 lineto + 5.6249 3.1397 lineto + 6.2456 1.5781 lineto + 6.378103166302659 0.8543 lineto + 6.378103166302659 0.2219 lineto + 6.378103166302659 0.1127 lineto + 6.378103166302659 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (0.0, -1.0) +newpath + 1.4694 -2.6342 moveto + 1.398 -2.5873 lineto + 1.3312 -2.5375 lineto + 1.2695 -2.4854 lineto + 1.2135 -2.4315 lineto + 1.1635 -2.3768 lineto + 1.1195 -2.3222 lineto + 1.0814 -2.2685 lineto + 1.0488 -2.2164 lineto + 0.9979 -2.1193 lineto + 0.9621 -2.0335 lineto + 0.9372 -1.9593 lineto + 0.92 -1.8962 lineto + 0.8999 -1.7979 lineto + 0.8903 -1.7289 lineto + 0.8834 -1.6471 lineto + 0.8815 -1.5885 lineto + 0.8814 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (-1.1579208923731617E77, -1.0) +newpath + 1.4694 -2.6342 moveto + 1.5404 -2.6757 lineto + 1.6143 -2.7142 lineto + 1.6906 -2.7498 lineto + 1.7687 -2.7826 lineto + 1.8484 -2.8127 lineto + 1.9293 -2.8403 lineto + 2.0113 -2.8656 lineto + 2.094 -2.8887 lineto + 2.1774 -2.9099 lineto + 2.2613 -2.9293 lineto + 2.3456 -2.947 lineto + 2.4302 -2.9632 lineto + 2.5152 -2.9781 lineto + 2.6003 -2.9917 lineto + 2.6857 -3.0042 lineto + 2.7712 -3.0156 lineto + 2.8569 -3.0261 lineto + 2.9426 -3.0356 lineto + 3.0285 -3.0444 lineto + 3.1144 -3.0525 lineto + 3.2004 -3.0599 lineto + 3.2864 -3.0666 lineto + 3.3725 -3.0728 lineto + 3.4586 -3.0785 lineto + 3.5448 -3.0838 lineto + 3.6309 -3.0885 lineto + 3.7171 -3.0929 lineto + 3.8033 -3.097 lineto + 3.8896 -3.1007 lineto + 3.9758 -3.104 lineto + 4.062 -3.1071 lineto + 4.1483 -3.11 lineto + 4.2346 -3.1126 lineto + 4.3208 -3.115 lineto + 4.4071 -3.1172 lineto + 4.4934 -3.1192 lineto + 4.5797 -3.1211 lineto + 4.666 -3.1228 lineto + 4.7523 -3.1243 lineto + 4.8386 -3.1258 lineto + 4.9248 -3.1271 lineto + 5.0111 -3.1283 lineto + 5.0974 -3.1294 lineto + 5.1837 -3.1304 lineto + 5.27 -3.1313 lineto + 5.3563 -3.1322 lineto + 5.4426 -3.1329 lineto + 5.5289 -3.1337 lineto + 5.6249 -3.1397 lineto + 6.2456 -1.5781 lineto + 6.378103166302659 -0.8543 lineto + 6.378103166302659 -0.2219 lineto + 6.378103166302659 -0.1127 lineto + 6.378103166302659 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (-1.1579208923731617E77, 2.0) +newpath + 1.4436 1.5708 moveto + 1.4481 1.6712 lineto + 1.4567 1.741 lineto + 1.4699 1.8118 lineto + 1.4963 1.9097 lineto + 1.5177 1.9707 lineto + 1.5473 2.0405 lineto + 1.5874 2.1189 lineto + 1.6407 2.2048 lineto + 1.6908 2.273 lineto + 1.7295 2.3195 lineto + 1.7725 2.3665 lineto + 1.82 2.4133 lineto + 1.8718 2.4597 lineto + 1.9279 2.5051 lineto + 1.9879 2.5491 lineto + 2.0516 2.5915 lineto + 2.1187 2.632 lineto + 2.1888 2.6704 lineto + 2.2616 2.7067 lineto + 2.3367 2.7407 lineto + 2.4139 2.7725 lineto + 2.4929 2.8022 lineto + 2.5734 2.8297 lineto + 2.6551 2.8551 lineto + 2.738 2.8787 lineto + 2.8218 2.9004 lineto + 2.9064 2.9205 lineto + 2.9917 2.9389 lineto + 3.0775 2.9558 lineto + 3.1638 2.9714 lineto + 3.2505 2.9857 lineto + 3.3375 2.9988 lineto + 3.4248 3.0109 lineto + 3.5123 3.0219 lineto + 3.6001 3.032 lineto + 3.688 3.0413 lineto + 3.776 3.0498 lineto + 3.8642 3.0575 lineto + 3.9524 3.0647 lineto + 4.0408 3.0712 lineto + 4.1292 3.0771 lineto + 4.2176 3.0826 lineto + 4.3062 3.0876 lineto + 4.3947 3.0922 lineto + 4.4833 3.0964 lineto + 4.5719 3.1002 lineto + 4.6605 3.1037 lineto + 4.7492 3.1069 lineto + 4.8379 3.1099 lineto + 4.9266 3.1126 lineto + 5.0153 3.115 lineto + 5.104 3.1173 lineto + 5.1927 3.1194 lineto + 5.2814 3.1212 lineto + 5.3701 3.123 lineto + 5.4589 3.1246 lineto + 5.5476 3.126 lineto + 5.7679 2.8686 lineto + 5.9675 2.4264 lineto + 6.3563 1.0464 lineto + 6.378103166302659 0.2419 lineto + 6.378103166302659 0.116 lineto + 6.378103166302659 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (-1.1579208923731617E77, -2.0) +newpath + 1.4436 -1.5708 moveto + 1.4481 -1.6712 lineto + 1.4567 -1.741 lineto + 1.4699 -1.8118 lineto + 1.4963 -1.9097 lineto + 1.5177 -1.9707 lineto + 1.5473 -2.0405 lineto + 1.5874 -2.1189 lineto + 1.6407 -2.2048 lineto + 1.6908 -2.273 lineto + 1.7295 -2.3195 lineto + 1.7725 -2.3665 lineto + 1.82 -2.4133 lineto + 1.8718 -2.4597 lineto + 1.9279 -2.5051 lineto + 1.9879 -2.5491 lineto + 2.0516 -2.5915 lineto + 2.1187 -2.632 lineto + 2.1888 -2.6704 lineto + 2.2616 -2.7067 lineto + 2.3367 -2.7407 lineto + 2.4139 -2.7725 lineto + 2.4929 -2.8022 lineto + 2.5734 -2.8297 lineto + 2.6551 -2.8551 lineto + 2.738 -2.8787 lineto + 2.8218 -2.9004 lineto + 2.9064 -2.9205 lineto + 2.9917 -2.9389 lineto + 3.0775 -2.9558 lineto + 3.1638 -2.9714 lineto + 3.2505 -2.9857 lineto + 3.3375 -2.9988 lineto + 3.4248 -3.0109 lineto + 3.5123 -3.0219 lineto + 3.6001 -3.032 lineto + 3.688 -3.0413 lineto + 3.776 -3.0498 lineto + 3.8642 -3.0575 lineto + 3.9524 -3.0647 lineto + 4.0408 -3.0712 lineto + 4.1292 -3.0771 lineto + 4.2176 -3.0826 lineto + 4.3062 -3.0876 lineto + 4.3947 -3.0922 lineto + 4.4833 -3.0964 lineto + 4.5719 -3.1002 lineto + 4.6605 -3.1037 lineto + 4.7492 -3.1069 lineto + 4.8379 -3.1099 lineto + 4.9266 -3.1126 lineto + 5.0153 -3.115 lineto + 5.104 -3.1173 lineto + 5.1927 -3.1194 lineto + 5.2814 -3.1212 lineto + 5.3701 -3.123 lineto + 5.4589 -3.1246 lineto + 5.5476 -3.126 lineto + 5.7679 -2.8686 lineto + 5.9675 -2.4264 lineto + 6.3563 -1.0464 lineto + 6.378103166302659 -0.2419 lineto + 6.378103166302659 -0.116 lineto + 6.378103166302659 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (-1.1579208923731617E77, 3.0) +newpath + 1.8184 1.5708 moveto + 1.8208 1.6418 lineto + 1.8283 1.7146 lineto + 1.8383 1.7747 lineto + 1.8582 1.8581 lineto + 1.8848 1.9397 lineto + 1.9109 2.0043 lineto + 1.9464 2.077 lineto + 1.9934 2.1573 lineto + 2.0542 2.2437 lineto + 2.11 2.3111 lineto + 2.1524 2.3566 lineto + 2.1988 2.4021 lineto + 2.2494 2.4473 lineto + 2.304 2.4916 lineto + 2.3625 2.5349 lineto + 2.4245 2.5767 lineto + 2.4898 2.6169 lineto + 2.5582 2.6552 lineto + 2.6294 2.6916 lineto + 2.703 2.7259 lineto + 2.7788 2.7581 lineto + 2.8564 2.7883 lineto + 2.9357 2.8164 lineto + 3.0165 2.8426 lineto + 3.0984 2.8669 lineto + 3.1815 2.8893 lineto + 3.2654 2.9101 lineto + 3.35 2.9292 lineto + 3.4353 2.9469 lineto + 3.5212 2.9631 lineto + 3.6075 2.978 lineto + 3.6942 2.9917 lineto + 3.7813 3.0043 lineto + 3.8686 3.0159 lineto + 3.9561 3.0265 lineto + 4.0439 3.0362 lineto + 4.1318 3.0451 lineto + 4.2198 3.0533 lineto + 4.308 3.0607 lineto + 4.3962 3.0676 lineto + 4.4846 3.0738 lineto + 4.573 3.0796 lineto + 4.6614 3.0848 lineto + 4.75 3.0897 lineto + 4.8385 3.0941 lineto + 4.9271 3.0981 lineto + 5.0157 3.1018 lineto + 5.1043 3.1052 lineto + 5.193 3.1083 lineto + 5.2817 3.1111 lineto + 5.3704 3.1137 lineto + 5.4591 3.116 lineto + 5.5478 3.1182 lineto + 5.7693 2.8659 lineto + 5.9677 2.4258 lineto + 6.3563 1.0464 lineto + 6.378103166302659 0.2419 lineto + 6.378103166302659 0.116 lineto + 6.378103166302659 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (-1.1579208923731617E77, -3.0) +newpath + 1.8184 -1.5708 moveto + 1.8208 -1.6418 lineto + 1.8283 -1.7146 lineto + 1.8383 -1.7747 lineto + 1.8582 -1.8581 lineto + 1.8848 -1.9397 lineto + 1.9109 -2.0043 lineto + 1.9464 -2.077 lineto + 1.9934 -2.1573 lineto + 2.0542 -2.2437 lineto + 2.11 -2.3111 lineto + 2.1524 -2.3566 lineto + 2.1988 -2.4021 lineto + 2.2494 -2.4473 lineto + 2.304 -2.4916 lineto + 2.3625 -2.5349 lineto + 2.4245 -2.5767 lineto + 2.4898 -2.6169 lineto + 2.5582 -2.6552 lineto + 2.6294 -2.6916 lineto + 2.703 -2.7259 lineto + 2.7788 -2.7581 lineto + 2.8564 -2.7883 lineto + 2.9357 -2.8164 lineto + 3.0165 -2.8426 lineto + 3.0984 -2.8669 lineto + 3.1815 -2.8893 lineto + 3.2654 -2.9101 lineto + 3.35 -2.9292 lineto + 3.4353 -2.9469 lineto + 3.5212 -2.9631 lineto + 3.6075 -2.978 lineto + 3.6942 -2.9917 lineto + 3.7813 -3.0043 lineto + 3.8686 -3.0159 lineto + 3.9561 -3.0265 lineto + 4.0439 -3.0362 lineto + 4.1318 -3.0451 lineto + 4.2198 -3.0533 lineto + 4.308 -3.0607 lineto + 4.3962 -3.0676 lineto + 4.4846 -3.0738 lineto + 4.573 -3.0796 lineto + 4.6614 -3.0848 lineto + 4.75 -3.0897 lineto + 4.8385 -3.0941 lineto + 4.9271 -3.0981 lineto + 5.0157 -3.1018 lineto + 5.1043 -3.1052 lineto + 5.193 -3.1083 lineto + 5.2817 -3.1111 lineto + 5.3704 -3.1137 lineto + 5.4591 -3.116 lineto + 5.5478 -3.1182 lineto + 5.7693 -2.8659 lineto + 5.9677 -2.4258 lineto + 6.3563 -1.0464 lineto + 6.378103166302659 -0.2419 lineto + 6.378103166302659 -0.116 lineto + 6.378103166302659 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 0.0) +newpath + 0.4812 1.5708 moveto + 0.0 1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 1.0) +newpath + 0.4812 1.5708 moveto + 0.8814 1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.0) +newpath + 1.4436 1.5708 moveto + 0.8814 1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.1579208923731617E77) +newpath + 1.4436 1.5708 moveto + 6.1762 1.5708 lineto + 6.2816 1.428 lineto + 6.378103166302659 0.8074 lineto + 6.378103166302659 0.43 lineto + 6.378103166302659 0.2219 lineto + 6.378103166302659 0.1127 lineto + 6.378103166302659 1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 0.0) +newpath + 1.5286 1.1437 moveto + 1.4589 1.1139 lineto + 1.3916 1.0833 lineto + 1.3267 1.0521 lineto + 1.2644 1.0203 lineto + 1.2047 0.9883 lineto + 1.1475 0.956 lineto + 1.0928 0.9238 lineto + 1.0407 0.8917 lineto + 0.991 0.8599 lineto + 0.8987 0.7976 lineto + 0.8153 0.7376 lineto + 0.7399 0.6804 lineto + 0.6719 0.6264 lineto + 0.6105 0.5758 lineto + 0.5551 0.5286 lineto + 0.5049 0.4848 lineto + 0.4385 0.4251 lineto + 0.3638 0.356 lineto + 0.3022 0.2977 lineto + 0.2512 0.2486 lineto + 0.1907 0.1895 lineto + 0.1322 0.1318 lineto + 0.0764 0.0763 lineto + 0.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 1.1579208923731617E77) +newpath + 1.5286 1.1437 moveto + 1.5966 1.171 lineto + 1.6666 1.1974 lineto + 1.7384 1.2228 lineto + 1.8119 1.247 lineto + 1.887 1.27 lineto + 1.9634 1.2919 lineto + 2.0412 1.3125 lineto + 2.1201 1.3319 lineto + 2.2 1.3501 lineto + 2.2807 1.3671 lineto + 2.3623 1.3829 lineto + 2.4446 1.3977 lineto + 2.5274 1.4114 lineto + 2.6108 1.4241 lineto + 2.6946 1.4359 lineto + 2.7788 1.4467 lineto + 2.8633 1.4568 lineto + 2.948 1.466 lineto + 3.0331 1.4745 lineto + 3.1183 1.4824 lineto + 3.2036 1.4896 lineto + 3.2892 1.4963 lineto + 3.3748 1.5024 lineto + 3.4606 1.508 lineto + 3.5464 1.5132 lineto + 3.6323 1.5179 lineto + 3.7183 1.5223 lineto + 3.8043 1.5263 lineto + 3.8904 1.5299 lineto + 3.9765 1.5333 lineto + 4.0626 1.5364 lineto + 4.1488 1.5392 lineto + 4.235 1.5418 lineto + 4.3212 1.5442 lineto + 4.4074 1.5464 lineto + 4.4936 1.5484 lineto + 4.5799 1.5503 lineto + 4.6661 1.552 lineto + 4.7524 1.5535 lineto + 4.8387 1.555 lineto + 4.925 1.5563 lineto + 5.0112 1.5575 lineto + 5.0975 1.5586 lineto + 5.1838 1.5596 lineto + 5.2701 1.5605 lineto + 5.3564 1.5614 lineto + 5.4427 1.5621 lineto + 5.529 1.5629 lineto + 5.6153 1.5635 lineto + 5.7016 1.5641 lineto + 5.7879 1.5647 lineto + 5.8742 1.5652 lineto + 5.9605 1.5656 lineto + 6.0468 1.5661 lineto + 6.1331 1.5665 lineto + 6.2467 1.5737 lineto + 6.378103166302659 0.8074 lineto + 6.378103166302659 0.43 lineto + 6.378103166302659 0.2219 lineto + 6.378103166302659 0.1127 lineto + 6.378103166302659 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 0.0) +newpath + 1.5286 1.9979 moveto + 1.4589 2.0277 lineto + 1.3916 2.0583 lineto + 1.3267 2.0895 lineto + 1.2644 2.1213 lineto + 1.2047 2.1533 lineto + 1.1475 2.1856 lineto + 1.0928 2.2178 lineto + 1.0407 2.2499 lineto + 0.991 2.2817 lineto + 0.8987 2.344 lineto + 0.8153 2.404 lineto + 0.7399 2.4612 lineto + 0.6719 2.5152 lineto + 0.6105 2.5658 lineto + 0.5551 2.613 lineto + 0.5049 2.6568 lineto + 0.4385 2.7165 lineto + 0.3638 2.7856 lineto + 0.3022 2.8439 lineto + 0.2512 2.893 lineto + 0.1907 2.9521 lineto + 0.1322 3.0098 lineto + 0.0764 3.0653 lineto + 0.0 3.1416 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 1.1579208923731617E77) +newpath + 1.5286 1.9979 moveto + 1.5966 1.9705 lineto + 1.6666 1.9442 lineto + 1.7384 1.9188 lineto + 1.8119 1.8946 lineto + 1.887 1.8716 lineto + 1.9634 1.8497 lineto + 2.0412 1.8291 lineto + 2.1201 1.8097 lineto + 2.2 1.7915 lineto + 2.2807 1.7745 lineto + 2.3623 1.7586 lineto + 2.4446 1.7439 lineto + 2.5274 1.7302 lineto + 2.6108 1.7175 lineto + 2.6946 1.7057 lineto + 2.7788 1.6949 lineto + 2.8633 1.6848 lineto + 2.948 1.6756 lineto + 3.0331 1.6671 lineto + 3.1183 1.6592 lineto + 3.2036 1.652 lineto + 3.2892 1.6453 lineto + 3.3748 1.6392 lineto + 3.4606 1.6336 lineto + 3.5464 1.6284 lineto + 3.6323 1.6237 lineto + 3.7183 1.6193 lineto + 3.8043 1.6153 lineto + 3.8904 1.6117 lineto + 3.9765 1.6083 lineto + 4.0626 1.6052 lineto + 4.1488 1.6024 lineto + 4.235 1.5998 lineto + 4.3212 1.5974 lineto + 4.4074 1.5952 lineto + 4.4936 1.5932 lineto + 4.5799 1.5913 lineto + 4.6661 1.5896 lineto + 4.7524 1.5881 lineto + 4.8387 1.5866 lineto + 4.925 1.5853 lineto + 5.0112 1.5841 lineto + 5.0975 1.583 lineto + 5.1838 1.582 lineto + 5.2701 1.5811 lineto + 5.3564 1.5802 lineto + 5.4427 1.5795 lineto + 5.529 1.5787 lineto + 5.6153 1.5781 lineto + 5.7016 1.5775 lineto + 5.7879 1.5769 lineto + 5.8742 1.5764 lineto + 5.9605 1.576 lineto + 6.0468 1.5755 lineto + 6.1331 1.5751 lineto + 6.2448 1.5812 lineto + 6.378103166302659 0.8074 lineto + 6.378103166302659 0.43 lineto + 6.378103166302659 0.2219 lineto + 6.378103166302659 0.1127 lineto + 6.378103166302659 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, 1.1579208923731617E77) +newpath + 1.317 0.0 moveto + 1.3193 0.0637 lineto + 1.3265 0.1288 lineto + 1.344 0.2161 lineto + 1.3699 0.3015 lineto + 1.4026 0.3827 lineto + 1.4336 0.4452 lineto + 1.4736 0.5142 lineto + 1.5244 0.5888 lineto + 1.5872 0.6678 lineto + 1.663 0.7496 lineto + 1.706 0.791 lineto + 1.7525 0.8324 lineto + 1.8024 0.8735 lineto + 1.8556 0.9141 lineto + 1.9122 0.954 lineto + 1.9719 0.993 lineto + 2.0347 1.0309 lineto + 2.1003 1.0674 lineto + 2.1686 1.1024 lineto + 2.2394 1.1359 lineto + 2.3124 1.1677 lineto + 2.3875 1.1979 lineto + 2.4644 1.2262 lineto + 2.5429 1.2529 lineto + 2.6229 1.2778 lineto + 2.7042 1.301 lineto + 2.7865 1.3226 lineto + 2.8698 1.3427 lineto + 2.954 1.3613 lineto + 3.0388 1.3785 lineto + 3.1242 1.3943 lineto + 3.2102 1.409 lineto + 3.2966 1.4224 lineto + 3.3833 1.4348 lineto + 3.4704 1.4462 lineto + 3.5578 1.4566 lineto + 3.6454 1.4662 lineto + 3.7331 1.475 lineto + 3.821 1.4831 lineto + 3.9091 1.4905 lineto + 3.9973 1.4973 lineto + 4.0855 1.5035 lineto + 4.1739 1.5092 lineto + 4.2623 1.5144 lineto + 4.3508 1.5192 lineto + 4.4393 1.5236 lineto + 4.5278 1.5276 lineto + 4.6164 1.5312 lineto + 4.705 1.5346 lineto + 4.7937 1.5377 lineto + 4.8823 1.5405 lineto + 4.971 1.543 lineto + 5.0597 1.5454 lineto + 5.1484 1.5476 lineto + 5.2371 1.5495 lineto + 5.3258 1.5513 lineto + 5.4145 1.553 lineto + 5.5033 1.5545 lineto + 5.592 1.5559 lineto + 5.6807 1.5572 lineto + 5.7695 1.5583 lineto + 5.8582 1.5594 lineto + 5.947 1.5603 lineto + 6.0357 1.5612 lineto + 6.1245 1.562 lineto + 6.2473 1.5714 lineto + 6.378103166302659 0.5285 lineto + 6.378103166302659 0.2419 lineto + 6.378103166302659 0.116 lineto + 6.378103166302659 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, 1.1579208923731617E77) +newpath + 1.317 3.1416 moveto + 1.3193 3.0779 lineto + 1.3265 3.0128 lineto + 1.344 2.9255 lineto + 1.3699 2.8401 lineto + 1.4026 2.7589 lineto + 1.4336 2.6963 lineto + 1.4736 2.6274 lineto + 1.5244 2.5528 lineto + 1.5872 2.4738 lineto + 1.663 2.392 lineto + 1.706 2.3506 lineto + 1.7525 2.3092 lineto + 1.8024 2.2681 lineto + 1.8556 2.2275 lineto + 1.9122 2.1875 lineto + 1.9719 2.1486 lineto + 2.0347 2.1107 lineto + 2.1003 2.0742 lineto + 2.1686 2.0392 lineto + 2.2394 2.0057 lineto + 2.3124 1.9739 lineto + 2.3875 1.9437 lineto + 2.4644 1.9154 lineto + 2.5429 1.8887 lineto + 2.6229 1.8638 lineto + 2.7042 1.8406 lineto + 2.7865 1.8189 lineto + 2.8698 1.7989 lineto + 2.954 1.7803 lineto + 3.0388 1.7631 lineto + 3.1242 1.7473 lineto + 3.2102 1.7326 lineto + 3.2966 1.7192 lineto + 3.3833 1.7068 lineto + 3.4704 1.6954 lineto + 3.5578 1.685 lineto + 3.6454 1.6754 lineto + 3.7331 1.6666 lineto + 3.821 1.6585 lineto + 3.9091 1.6511 lineto + 3.9973 1.6443 lineto + 4.0855 1.6381 lineto + 4.1739 1.6324 lineto + 4.2623 1.6272 lineto + 4.3508 1.6224 lineto + 4.4393 1.618 lineto + 4.5278 1.614 lineto + 4.6164 1.6104 lineto + 4.705 1.607 lineto + 4.7937 1.6039 lineto + 4.8823 1.6011 lineto + 4.971 1.5985 lineto + 5.0597 1.5962 lineto + 5.1484 1.594 lineto + 5.2371 1.5921 lineto + 5.3258 1.5903 lineto + 5.4145 1.5886 lineto + 5.5033 1.5871 lineto + 5.592 1.5857 lineto + 5.6807 1.5844 lineto + 5.7695 1.5833 lineto + 5.8582 1.5822 lineto + 5.947 1.5813 lineto + 6.0357 1.5804 lineto + 6.1245 1.5796 lineto + 6.2435 1.5865 lineto + 6.378103166302659 0.5285 lineto + 6.378103166302659 0.2419 lineto + 6.378103166302659 0.116 lineto + 6.378103166302659 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, 1.1579208923731617E77) +newpath + 1.7627 0.0 moveto + 1.7661 0.0793 lineto + 1.7764 0.1601 lineto + 1.79 0.2261 lineto + 1.8165 0.3161 lineto + 1.8374 0.3717 lineto + 1.8657 0.4346 lineto + 1.903 0.5048 lineto + 1.9512 0.5814 lineto + 2.0122 0.6631 lineto + 2.0872 0.7482 lineto + 2.1302 0.7913 lineto + 2.1769 0.8343 lineto + 2.2273 0.877 lineto + 2.2814 0.9191 lineto + 2.3389 0.9603 lineto + 2.3997 1.0003 lineto + 2.4637 1.039 lineto + 2.5306 1.0762 lineto + 2.6002 1.1117 lineto + 2.6722 1.1455 lineto + 2.7464 1.1774 lineto + 2.8227 1.2074 lineto + 2.9006 1.2356 lineto + 2.9802 1.262 lineto + 3.061 1.2866 lineto + 3.1431 1.3094 lineto + 3.2261 1.3306 lineto + 3.31 1.3502 lineto + 3.3947 1.3683 lineto + 3.48 1.3851 lineto + 3.5658 1.4005 lineto + 3.6521 1.4146 lineto + 3.7388 1.4277 lineto + 3.8258 1.4397 lineto + 3.9131 1.4507 lineto + 4.0006 1.4608 lineto + 4.0883 1.4701 lineto + 4.1762 1.4786 lineto + 4.2643 1.4863 lineto + 4.3524 1.4935 lineto + 4.4407 1.5 lineto + 4.529 1.506 lineto + 4.6174 1.5115 lineto + 4.7059 1.5165 lineto + 4.7944 1.5211 lineto + 4.8829 1.5253 lineto + 4.9715 1.5292 lineto + 5.0601 1.5327 lineto + 5.1487 1.5359 lineto + 5.2374 1.5389 lineto + 5.3261 1.5416 lineto + 5.4147 1.5441 lineto + 5.5034 1.5464 lineto + 5.5921 1.5484 lineto + 5.6809 1.5503 lineto + 5.7696 1.5521 lineto + 5.8583 1.5537 lineto + 5.947 1.5551 lineto + 6.0358 1.5564 lineto + 6.1245 1.5577 lineto + 6.2483 1.5676 lineto + 6.378103166302659 0.5285 lineto + 6.378103166302659 0.2419 lineto + 6.378103166302659 0.116 lineto + 6.378103166302659 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, 1.1579208923731617E77) +newpath + 1.7627 3.1416 moveto + 1.7661 3.0623 lineto + 1.7764 2.9815 lineto + 1.79 2.9155 lineto + 1.8165 2.8255 lineto + 1.8374 2.7699 lineto + 1.8657 2.707 lineto + 1.903 2.6368 lineto + 1.9512 2.5602 lineto + 2.0122 2.4785 lineto + 2.0872 2.3934 lineto + 2.1302 2.3503 lineto + 2.1769 2.3073 lineto + 2.2273 2.2646 lineto + 2.2814 2.2225 lineto + 2.3389 2.1813 lineto + 2.3997 2.1413 lineto + 2.4637 2.1026 lineto + 2.5306 2.0654 lineto + 2.6002 2.0299 lineto + 2.6722 1.9961 lineto + 2.7464 1.9642 lineto + 2.8227 1.9342 lineto + 2.9006 1.906 lineto + 2.9802 1.8796 lineto + 3.061 1.855 lineto + 3.1431 1.8322 lineto + 3.2261 1.811 lineto + 3.31 1.7914 lineto + 3.3947 1.7733 lineto + 3.48 1.7565 lineto + 3.5658 1.7411 lineto + 3.6521 1.7269 lineto + 3.7388 1.7139 lineto + 3.8258 1.7019 lineto + 3.9131 1.6909 lineto + 4.0006 1.6808 lineto + 4.0883 1.6715 lineto + 4.1762 1.663 lineto + 4.2643 1.6553 lineto + 4.3524 1.6481 lineto + 4.4407 1.6416 lineto + 4.529 1.6356 lineto + 4.6174 1.6301 lineto + 4.7059 1.6251 lineto + 4.7944 1.6205 lineto + 4.8829 1.6163 lineto + 4.9715 1.6124 lineto + 5.0601 1.6089 lineto + 5.1487 1.6056 lineto + 5.2374 1.6027 lineto + 5.3261 1.6 lineto + 5.4147 1.5975 lineto + 5.5034 1.5952 lineto + 5.5921 1.5932 lineto + 5.6809 1.5913 lineto + 5.7696 1.5895 lineto + 5.8583 1.5879 lineto + 5.947 1.5865 lineto + 6.0358 1.5851 lineto + 6.1245 1.5839 lineto + 6.2425 1.5903 lineto + 6.378103166302659 0.5285 lineto + 6.378103166302659 0.2419 lineto + 6.378103166302659 0.116 lineto + 6.378103166302659 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, 0.0) +newpath + 0.4812 -1.5708 moveto + 0.0 -1.5708 lineto + 0.0 1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, -1.0) +newpath + 0.4812 -1.5708 moveto + 0.8814 -1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.0) +newpath + 1.4436 -1.5708 moveto + 0.8814 -1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.1579208923731617E77) +newpath + 1.4436 -1.5708 moveto + 6.1762 -1.5708 lineto + 6.2816 -1.428 lineto + 6.378103166302659 -0.8074 lineto + 6.378103166302659 -0.43 lineto + 6.378103166302659 -0.2219 lineto + 6.378103166302659 -0.1127 lineto + 6.378103166302659 -1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, 0.0) +newpath + 1.5286 -1.1437 moveto + 1.4589 -1.1139 lineto + 1.3916 -1.0833 lineto + 1.3267 -1.0521 lineto + 1.2644 -1.0203 lineto + 1.2047 -0.9883 lineto + 1.1475 -0.956 lineto + 1.0928 -0.9238 lineto + 1.0407 -0.8917 lineto + 0.991 -0.8599 lineto + 0.8987 -0.7976 lineto + 0.8153 -0.7376 lineto + 0.7399 -0.6804 lineto + 0.6719 -0.6264 lineto + 0.6105 -0.5758 lineto + 0.5551 -0.5286 lineto + 0.5049 -0.4848 lineto + 0.4385 -0.4251 lineto + 0.3638 -0.356 lineto + 0.3022 -0.2977 lineto + 0.2512 -0.2486 lineto + 0.1907 -0.1895 lineto + 0.1322 -0.1318 lineto + 0.0764 -0.0763 lineto + 0.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, -1.1579208923731617E77) +newpath + 1.5286 -1.1437 moveto + 1.5966 -1.171 lineto + 1.6666 -1.1974 lineto + 1.7384 -1.2228 lineto + 1.8119 -1.247 lineto + 1.887 -1.27 lineto + 1.9634 -1.2919 lineto + 2.0412 -1.3125 lineto + 2.1201 -1.3319 lineto + 2.2 -1.3501 lineto + 2.2807 -1.3671 lineto + 2.3623 -1.3829 lineto + 2.4446 -1.3977 lineto + 2.5274 -1.4114 lineto + 2.6108 -1.4241 lineto + 2.6946 -1.4359 lineto + 2.7788 -1.4467 lineto + 2.8633 -1.4568 lineto + 2.948 -1.466 lineto + 3.0331 -1.4745 lineto + 3.1183 -1.4824 lineto + 3.2036 -1.4896 lineto + 3.2892 -1.4963 lineto + 3.3748 -1.5024 lineto + 3.4606 -1.508 lineto + 3.5464 -1.5132 lineto + 3.6323 -1.5179 lineto + 3.7183 -1.5223 lineto + 3.8043 -1.5263 lineto + 3.8904 -1.5299 lineto + 3.9765 -1.5333 lineto + 4.0626 -1.5364 lineto + 4.1488 -1.5392 lineto + 4.235 -1.5418 lineto + 4.3212 -1.5442 lineto + 4.4074 -1.5464 lineto + 4.4936 -1.5484 lineto + 4.5799 -1.5503 lineto + 4.6661 -1.552 lineto + 4.7524 -1.5535 lineto + 4.8387 -1.555 lineto + 4.925 -1.5563 lineto + 5.0112 -1.5575 lineto + 5.0975 -1.5586 lineto + 5.1838 -1.5596 lineto + 5.2701 -1.5605 lineto + 5.3564 -1.5614 lineto + 5.4427 -1.5621 lineto + 5.529 -1.5629 lineto + 5.6153 -1.5635 lineto + 5.7016 -1.5641 lineto + 5.7879 -1.5647 lineto + 5.8742 -1.5652 lineto + 5.9605 -1.5656 lineto + 6.0468 -1.5661 lineto + 6.1331 -1.5665 lineto + 6.2467 -1.5737 lineto + 6.378103166302659 -0.8074 lineto + 6.378103166302659 -0.43 lineto + 6.378103166302659 -0.2219 lineto + 6.378103166302659 -0.1127 lineto + 6.378103166302659 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, 0.0) +newpath + 1.5286 -1.9979 moveto + 1.4589 -2.0277 lineto + 1.3916 -2.0583 lineto + 1.3267 -2.0895 lineto + 1.2644 -2.1213 lineto + 1.2047 -2.1533 lineto + 1.1475 -2.1856 lineto + 1.0928 -2.2178 lineto + 1.0407 -2.2499 lineto + 0.991 -2.2817 lineto + 0.8987 -2.344 lineto + 0.8153 -2.404 lineto + 0.7399 -2.4612 lineto + 0.6719 -2.5152 lineto + 0.6105 -2.5658 lineto + 0.5551 -2.613 lineto + 0.5049 -2.6568 lineto + 0.4385 -2.7165 lineto + 0.3638 -2.7856 lineto + 0.3022 -2.8439 lineto + 0.2512 -2.893 lineto + 0.1907 -2.9521 lineto + 0.1322 -3.0098 lineto + 0.0764 -3.0653 lineto + 0.0 -3.1416 lineto + 0.0 3.1416 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, -1.1579208923731617E77) +newpath + 1.5286 -1.9979 moveto + 1.5966 -1.9705 lineto + 1.6666 -1.9442 lineto + 1.7384 -1.9188 lineto + 1.8119 -1.8946 lineto + 1.887 -1.8716 lineto + 1.9634 -1.8497 lineto + 2.0412 -1.8291 lineto + 2.1201 -1.8097 lineto + 2.2 -1.7915 lineto + 2.2807 -1.7745 lineto + 2.3623 -1.7586 lineto + 2.4446 -1.7439 lineto + 2.5274 -1.7302 lineto + 2.6108 -1.7175 lineto + 2.6946 -1.7057 lineto + 2.7788 -1.6949 lineto + 2.8633 -1.6848 lineto + 2.948 -1.6756 lineto + 3.0331 -1.6671 lineto + 3.1183 -1.6592 lineto + 3.2036 -1.652 lineto + 3.2892 -1.6453 lineto + 3.3748 -1.6392 lineto + 3.4606 -1.6336 lineto + 3.5464 -1.6284 lineto + 3.6323 -1.6237 lineto + 3.7183 -1.6193 lineto + 3.8043 -1.6153 lineto + 3.8904 -1.6117 lineto + 3.9765 -1.6083 lineto + 4.0626 -1.6052 lineto + 4.1488 -1.6024 lineto + 4.235 -1.5998 lineto + 4.3212 -1.5974 lineto + 4.4074 -1.5952 lineto + 4.4936 -1.5932 lineto + 4.5799 -1.5913 lineto + 4.6661 -1.5896 lineto + 4.7524 -1.5881 lineto + 4.8387 -1.5866 lineto + 4.925 -1.5853 lineto + 5.0112 -1.5841 lineto + 5.0975 -1.583 lineto + 5.1838 -1.582 lineto + 5.2701 -1.5811 lineto + 5.3564 -1.5802 lineto + 5.4427 -1.5795 lineto + 5.529 -1.5787 lineto + 5.6153 -1.5781 lineto + 5.7016 -1.5775 lineto + 5.7879 -1.5769 lineto + 5.8742 -1.5764 lineto + 5.9605 -1.576 lineto + 6.0468 -1.5755 lineto + 6.1331 -1.5751 lineto + 6.2448 -1.5812 lineto + 6.378103166302659 -0.8074 lineto + 6.378103166302659 -0.43 lineto + 6.378103166302659 -0.2219 lineto + 6.378103166302659 -0.1127 lineto + 6.378103166302659 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, -1.1579208923731617E77) +newpath + 1.317 0.0 moveto + 1.3193 -0.0637 lineto + 1.3265 -0.1288 lineto + 1.344 -0.2161 lineto + 1.3699 -0.3015 lineto + 1.4026 -0.3827 lineto + 1.4336 -0.4452 lineto + 1.4736 -0.5142 lineto + 1.5244 -0.5888 lineto + 1.5872 -0.6678 lineto + 1.663 -0.7496 lineto + 1.706 -0.791 lineto + 1.7525 -0.8324 lineto + 1.8024 -0.8735 lineto + 1.8556 -0.9141 lineto + 1.9122 -0.954 lineto + 1.9719 -0.993 lineto + 2.0347 -1.0309 lineto + 2.1003 -1.0674 lineto + 2.1686 -1.1024 lineto + 2.2394 -1.1359 lineto + 2.3124 -1.1677 lineto + 2.3875 -1.1979 lineto + 2.4644 -1.2262 lineto + 2.5429 -1.2529 lineto + 2.6229 -1.2778 lineto + 2.7042 -1.301 lineto + 2.7865 -1.3226 lineto + 2.8698 -1.3427 lineto + 2.954 -1.3613 lineto + 3.0388 -1.3785 lineto + 3.1242 -1.3943 lineto + 3.2102 -1.409 lineto + 3.2966 -1.4224 lineto + 3.3833 -1.4348 lineto + 3.4704 -1.4462 lineto + 3.5578 -1.4566 lineto + 3.6454 -1.4662 lineto + 3.7331 -1.475 lineto + 3.821 -1.4831 lineto + 3.9091 -1.4905 lineto + 3.9973 -1.4973 lineto + 4.0855 -1.5035 lineto + 4.1739 -1.5092 lineto + 4.2623 -1.5144 lineto + 4.3508 -1.5192 lineto + 4.4393 -1.5236 lineto + 4.5278 -1.5276 lineto + 4.6164 -1.5312 lineto + 4.705 -1.5346 lineto + 4.7937 -1.5377 lineto + 4.8823 -1.5405 lineto + 4.971 -1.543 lineto + 5.0597 -1.5454 lineto + 5.1484 -1.5476 lineto + 5.2371 -1.5495 lineto + 5.3258 -1.5513 lineto + 5.4145 -1.553 lineto + 5.5033 -1.5545 lineto + 5.592 -1.5559 lineto + 5.6807 -1.5572 lineto + 5.7695 -1.5583 lineto + 5.8582 -1.5594 lineto + 5.947 -1.5603 lineto + 6.0357 -1.5612 lineto + 6.1245 -1.562 lineto + 6.2473 -1.5714 lineto + 6.378103166302659 -0.5285 lineto + 6.378103166302659 -0.2419 lineto + 6.378103166302659 -0.116 lineto + 6.378103166302659 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, -1.1579208923731617E77) +newpath + 1.317 -3.1416 moveto + 1.3193 -3.0779 lineto + 1.3265 -3.0128 lineto + 1.344 -2.9255 lineto + 1.3699 -2.8401 lineto + 1.4026 -2.7589 lineto + 1.4336 -2.6963 lineto + 1.4736 -2.6274 lineto + 1.5244 -2.5528 lineto + 1.5872 -2.4738 lineto + 1.663 -2.392 lineto + 1.706 -2.3506 lineto + 1.7525 -2.3092 lineto + 1.8024 -2.2681 lineto + 1.8556 -2.2275 lineto + 1.9122 -2.1875 lineto + 1.9719 -2.1486 lineto + 2.0347 -2.1107 lineto + 2.1003 -2.0742 lineto + 2.1686 -2.0392 lineto + 2.2394 -2.0057 lineto + 2.3124 -1.9739 lineto + 2.3875 -1.9437 lineto + 2.4644 -1.9154 lineto + 2.5429 -1.8887 lineto + 2.6229 -1.8638 lineto + 2.7042 -1.8406 lineto + 2.7865 -1.8189 lineto + 2.8698 -1.7989 lineto + 2.954 -1.7803 lineto + 3.0388 -1.7631 lineto + 3.1242 -1.7473 lineto + 3.2102 -1.7326 lineto + 3.2966 -1.7192 lineto + 3.3833 -1.7068 lineto + 3.4704 -1.6954 lineto + 3.5578 -1.685 lineto + 3.6454 -1.6754 lineto + 3.7331 -1.6666 lineto + 3.821 -1.6585 lineto + 3.9091 -1.6511 lineto + 3.9973 -1.6443 lineto + 4.0855 -1.6381 lineto + 4.1739 -1.6324 lineto + 4.2623 -1.6272 lineto + 4.3508 -1.6224 lineto + 4.4393 -1.618 lineto + 4.5278 -1.614 lineto + 4.6164 -1.6104 lineto + 4.705 -1.607 lineto + 4.7937 -1.6039 lineto + 4.8823 -1.6011 lineto + 4.971 -1.5985 lineto + 5.0597 -1.5962 lineto + 5.1484 -1.594 lineto + 5.2371 -1.5921 lineto + 5.3258 -1.5903 lineto + 5.4145 -1.5886 lineto + 5.5033 -1.5871 lineto + 5.592 -1.5857 lineto + 5.6807 -1.5844 lineto + 5.7695 -1.5833 lineto + 5.8582 -1.5822 lineto + 5.947 -1.5813 lineto + 6.0357 -1.5804 lineto + 6.1245 -1.5796 lineto + 6.2435 -1.5865 lineto + 6.378103166302659 -0.5285 lineto + 6.378103166302659 -0.2419 lineto + 6.378103166302659 -0.116 lineto + 6.378103166302659 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, -1.1579208923731617E77) +newpath + 1.7627 0.0 moveto + 1.7661 -0.0793 lineto + 1.7764 -0.1601 lineto + 1.79 -0.2261 lineto + 1.8165 -0.3161 lineto + 1.8374 -0.3717 lineto + 1.8657 -0.4346 lineto + 1.903 -0.5048 lineto + 1.9512 -0.5814 lineto + 2.0122 -0.6631 lineto + 2.0872 -0.7482 lineto + 2.1302 -0.7913 lineto + 2.1769 -0.8343 lineto + 2.2273 -0.877 lineto + 2.2814 -0.9191 lineto + 2.3389 -0.9603 lineto + 2.3997 -1.0003 lineto + 2.4637 -1.039 lineto + 2.5306 -1.0762 lineto + 2.6002 -1.1117 lineto + 2.6722 -1.1455 lineto + 2.7464 -1.1774 lineto + 2.8227 -1.2074 lineto + 2.9006 -1.2356 lineto + 2.9802 -1.262 lineto + 3.061 -1.2866 lineto + 3.1431 -1.3094 lineto + 3.2261 -1.3306 lineto + 3.31 -1.3502 lineto + 3.3947 -1.3683 lineto + 3.48 -1.3851 lineto + 3.5658 -1.4005 lineto + 3.6521 -1.4146 lineto + 3.7388 -1.4277 lineto + 3.8258 -1.4397 lineto + 3.9131 -1.4507 lineto + 4.0006 -1.4608 lineto + 4.0883 -1.4701 lineto + 4.1762 -1.4786 lineto + 4.2643 -1.4863 lineto + 4.3524 -1.4935 lineto + 4.4407 -1.5 lineto + 4.529 -1.506 lineto + 4.6174 -1.5115 lineto + 4.7059 -1.5165 lineto + 4.7944 -1.5211 lineto + 4.8829 -1.5253 lineto + 4.9715 -1.5292 lineto + 5.0601 -1.5327 lineto + 5.1487 -1.5359 lineto + 5.2374 -1.5389 lineto + 5.3261 -1.5416 lineto + 5.4147 -1.5441 lineto + 5.5034 -1.5464 lineto + 5.5921 -1.5484 lineto + 5.6809 -1.5503 lineto + 5.7696 -1.5521 lineto + 5.8583 -1.5537 lineto + 5.947 -1.5551 lineto + 6.0358 -1.5564 lineto + 6.1245 -1.5577 lineto + 6.2483 -1.5676 lineto + 6.378103166302659 -0.5285 lineto + 6.378103166302659 -0.2419 lineto + 6.378103166302659 -0.116 lineto + 6.378103166302659 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, -1.1579208923731617E77) +newpath + 1.7627 -3.1416 moveto + 1.7661 -3.0623 lineto + 1.7764 -2.9815 lineto + 1.79 -2.9155 lineto + 1.8165 -2.8255 lineto + 1.8374 -2.7699 lineto + 1.8657 -2.707 lineto + 1.903 -2.6368 lineto + 1.9512 -2.5602 lineto + 2.0122 -2.4785 lineto + 2.0872 -2.3934 lineto + 2.1302 -2.3503 lineto + 2.1769 -2.3073 lineto + 2.2273 -2.2646 lineto + 2.2814 -2.2225 lineto + 2.3389 -2.1813 lineto + 2.3997 -2.1413 lineto + 2.4637 -2.1026 lineto + 2.5306 -2.0654 lineto + 2.6002 -2.0299 lineto + 2.6722 -1.9961 lineto + 2.7464 -1.9642 lineto + 2.8227 -1.9342 lineto + 2.9006 -1.906 lineto + 2.9802 -1.8796 lineto + 3.061 -1.855 lineto + 3.1431 -1.8322 lineto + 3.2261 -1.811 lineto + 3.31 -1.7914 lineto + 3.3947 -1.7733 lineto + 3.48 -1.7565 lineto + 3.5658 -1.7411 lineto + 3.6521 -1.7269 lineto + 3.7388 -1.7139 lineto + 3.8258 -1.7019 lineto + 3.9131 -1.6909 lineto + 4.0006 -1.6808 lineto + 4.0883 -1.6715 lineto + 4.1762 -1.663 lineto + 4.2643 -1.6553 lineto + 4.3524 -1.6481 lineto + 4.4407 -1.6416 lineto + 4.529 -1.6356 lineto + 4.6174 -1.6301 lineto + 4.7059 -1.6251 lineto + 4.7944 -1.6205 lineto + 4.8829 -1.6163 lineto + 4.9715 -1.6124 lineto + 5.0601 -1.6089 lineto + 5.1487 -1.6056 lineto + 5.2374 -1.6027 lineto + 5.3261 -1.6 lineto + 5.4147 -1.5975 lineto + 5.5034 -1.5952 lineto + 5.5921 -1.5932 lineto + 5.6809 -1.5913 lineto + 5.7696 -1.5895 lineto + 5.8583 -1.5879 lineto + 5.947 -1.5865 lineto + 6.0358 -1.5851 lineto + 6.1245 -1.5839 lineto + 6.2425 -1.5903 lineto + 6.378103166302659 -0.5285 lineto + 6.378103166302659 -0.2419 lineto + 6.378103166302659 -0.116 lineto + 6.378103166302659 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Real axis +newpath -5 0 moveto 5 0 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 1.0 0.12 moveto 1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.0 0.12 moveto -1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 2.0 0.12 moveto 2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -2.0 0.12 moveto -2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.0 0.12 moveto 3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.0 0.12 moveto -3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 4.0 0.12 moveto 4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -4.0 0.12 moveto -4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 1.5707963267948966 0.09 moveto 1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.5707963267948966 0.09 moveto -1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.141592653589793 0.09 moveto 3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.141592653589793 0.09 moveto -3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +% Imaginary axis +newpath 0 -5 moveto 0 5 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 0.12 1.0 moveto -0.12 1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -1.0 moveto -0.12 -1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 2.0 moveto -0.12 2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -2.0 moveto -0.12 -2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 3.0 moveto -0.12 3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -3.0 moveto -0.12 -3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 4.0 moveto -0.12 4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -4.0 moveto -0.12 -4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 1.5707963267948966 moveto -0.09 1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -1.5707963267948966 moveto -0.09 -1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 3.141592653589793 moveto -0.09 3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -3.141592653589793 moveto -0.09 -3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +% End of PostScript file for plot of function ACOSH +%%EndDocument + @endspecial 354 x(Hmm|I'd)f(rather)h(not)g(sa)o(y)g(what)g(happ)q +(ened)h(to)f(this)g(p)q(eaco)q(c)o(k.)20 b(This)14 b(feather)g(lo)q +(oks)h(a)f(bit)0 2165 y(mangled.)k(Actually)d(it)e(is)g(all)h(righ)o +(t|the)g(principal)h(v)n(alue)f(for)f Fj(acosh)d FA(is)j(so)g(c)o +(hosen)g(that)g(its)0 2211 y(graph)k(do)q(es)f(not)g(lo)q(ok)i(simply)f +(lik)o(e)h(a)e(rotated)g(v)o(ersion)h(of)f(the)g(graph)h(of)e +Fj(acos)p FA(,)g(but)h(if)g(all)0 2257 y(v)n(alues)d(w)o(ere)f(sho)o +(wn,)g(the)g(t)o(w)o(o)f(graphs)i(w)o(ould)g(\014ll)g(the)f(plane)h(in) +f(rep)q(eating)i(patterns)e(related)0 2302 y(b)o(y)h(a)g(rotation.)p +0 2332 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 357 381 +357 380 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(357)p +0 255 1395 2 v 0 322 a Fm(Figure)14 b(12-17:)j FA(Illustration)f(of)d +(the)g(Range)h(of)f(the)g(Hyp)q(erb)q(olic)i(T)m(angen)o(t)f(F)m +(unction)0 1766 y @beginspecial @setspecial +%%BeginDocument: tanh-plot.ps +% PostScript file for plot of function TANH +% Plot is to fit in a region 4.666666666666667 inches square +% showing axes extending 4.1 units from the origin. + +40.97560975609756 40.97560975609756 scale +4.1 4.1 translate +newpath + -4.1 -4.1 moveto + 4.1 -4.1 lineto + 4.1 4.1 lineto + -4.1 4.1 lineto + closepath +clip +% Moby grid for function TANH +% Annulus 0.25 0.5 4 0.97 0.45 +% Sector from 4.7124 to 6.2832 (quadrant 3) +newpath + 0.0 -0.2553 moveto + 0.0 -0.3936 lineto + %middle radial + 0.0 -0.3936 lineto + 0.0 -0.5463 lineto + %end radial + 0.0 -0.5463 lineto + 0.0592 -0.5421 lineto + 0.1178 -0.5295 lineto + 0.174 -0.5087 lineto + 0.2262 -0.4807 lineto + 0.3148 -0.4079 lineto + 0.3798 -0.3215 lineto + %middle circumferential + 0.3798 -0.3215 lineto + 0.4184 -0.2421 lineto + 0.4435 -0.1619 lineto + 0.4575 -0.0814 lineto + 0.4621 0.0 lineto + %end circumferential + 0.4621 0.0 lineto + 0.3584 0.0 lineto + %middle radial + 0.3584 0.0 lineto + 0.2449 0.0 lineto + %end radial + 0.2449 0.0 lineto + 0.2278 -0.0939 lineto + 0.1804 -0.173 lineto + %middle circumferential + 0.1804 -0.173 lineto + 0.097 -0.2346 lineto + 0.0 -0.2553 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 3.1416 to 4.7124 (quadrant 2) +newpath + -0.2449 0.0 moveto + -0.3584 0.0 lineto + %middle radial + -0.3584 0.0 lineto + -0.4621 0.0 lineto + %end radial + -0.4621 0.0 lineto + -0.4586 -0.0711 lineto + -0.4467 -0.1476 lineto + -0.4227 -0.231 lineto + -0.3798 -0.3215 lineto + %middle circumferential + -0.3798 -0.3215 lineto + -0.3239 -0.398 lineto + -0.2426 -0.4699 lineto + -0.1912 -0.5005 lineto + -0.1328 -0.5248 lineto + -0.0685 -0.5407 lineto + 0.0 -0.5463 lineto + %end circumferential + 0.0 -0.5463 lineto + 0.0 -0.3936 lineto + %middle radial + 0.0 -0.3936 lineto + 0.0 -0.2553 lineto + %end radial + 0.0 -0.2553 lineto + -0.1048 -0.2309 lineto + -0.1804 -0.173 lineto + %middle circumferential + -0.1804 -0.173 lineto + -0.2307 -0.086 lineto + -0.2449 0.0 lineto + %end circumferential + closepath +currentgray 0.6233333333333334 setgray fill setgray +% Sector from 1.5708 to 3.1416 (quadrant 1) +newpath + 0.0 0.2553 moveto + 0.0 0.3936 lineto + %middle radial + 0.0 0.3936 lineto + 0.0 0.5463 lineto + %end radial + 0.0 0.5463 lineto + -0.107 0.5325 lineto + -0.2135 0.4884 lineto + -0.2627 0.4552 lineto + -0.3074 0.4156 lineto + -0.3466 0.3706 lineto + -0.3798 0.3215 lineto + %middle circumferential + -0.3798 0.3215 lineto + -0.4166 0.2468 lineto + -0.442 0.1681 lineto + -0.457 0.0861 lineto + -0.4621 0.0 lineto + %end circumferential + -0.4621 0.0 lineto + -0.3584 0.0 lineto + %middle radial + -0.3584 0.0 lineto + -0.2449 0.0 lineto + %end radial + -0.2449 0.0 lineto + -0.2265 0.0973 lineto + -0.1804 0.173 lineto + %middle circumferential + -0.1804 0.173 lineto + -0.0911 0.2371 lineto + 0.0 0.2553 lineto + %end circumferential + closepath +currentgray 0.7966666666666668 setgray fill setgray +% Sector from 0.0 to 1.5708 (quadrant 0) +newpath + 0.2449 0.0 moveto + 0.3584 0.0 lineto + %middle radial + 0.3584 0.0 lineto + 0.4621 0.0 lineto + %end radial + 0.4621 0.0 lineto + 0.4619 0.0169 lineto + 0.4545 0.1046 lineto + 0.4382 0.1824 lineto + 0.4085 0.266 lineto + 0.3798 0.3215 lineto + %middle circumferential + 0.3798 0.3215 lineto + 0.336 0.3839 lineto + 0.266 0.4527 lineto + 0.2169 0.4864 lineto + 0.1565 0.5162 lineto + 0.0838 0.5379 lineto + 0.0 0.5463 lineto + %end circumferential + 0.0 0.5463 lineto + 0.0 0.3936 lineto + %middle radial + 0.0 0.3936 lineto + 0.0 0.2553 lineto + %end radial + 0.0 0.2553 lineto + 0.0346 0.2528 lineto + 0.1162 0.2249 lineto + 0.1804 0.173 lineto + %middle circumferential + 0.1804 0.173 lineto + 0.2139 0.1247 lineto + 0.2414 0.0431 lineto + 0.2449 0.0 lineto + %end circumferential + closepath +currentgray 0.9700000000000001 setgray fill setgray +% Annulus 0.75 1.0 8 0.97 0.45 +% Sector from 5.4978 to 6.2832 (quadrant 3) +newpath + 0.6037 -0.4145 moveto + 0.6592 -0.425 lineto + 0.7188 -0.4304 lineto + %middle radial + 0.7188 -0.4304 lineto + 0.829 -0.4232 lineto + %end radial + 0.829 -0.4232 lineto + 0.8219 -0.3847 lineto + 0.8078 -0.3156 lineto + 0.7948 -0.2548 lineto + 0.7788 -0.1744 lineto + %middle circumferential + 0.7788 -0.1744 lineto + 0.766 -0.085 lineto + 0.7616 0.0 lineto + %end circumferential + 0.7616 0.0 lineto + 0.7039 0.0 lineto + %middle radial + 0.7039 0.0 lineto + 0.6351 0.0 lineto + %end radial + 0.6351 0.0 lineto + 0.6347 -0.0902 lineto + 0.6323 -0.1832 lineto + %middle circumferential + 0.6323 -0.1832 lineto + 0.6244 -0.2915 lineto + 0.6163 -0.3509 lineto + 0.6037 -0.4145 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 4.7124 to 5.4978 (quadrant 3) +newpath + 0.0 -0.9316 moveto + 0.0 -1.1974 lineto + %middle radial + 0.0 -1.1974 lineto + 0.0 -1.5574 lineto + %end radial + 0.0 -1.5574 lineto + 0.0404 -1.5564 lineto + 0.1209 -1.5486 lineto + 0.2 -1.533 lineto + 0.2766 -1.5102 lineto + 0.3496 -1.4805 lineto + 0.4181 -1.445 lineto + 0.4817 -1.4043 lineto + 0.5397 -1.3595 lineto + 0.5919 -1.3115 lineto + 0.6383 -1.2613 lineto + 0.679 -1.2097 lineto + 0.7142 -1.1575 lineto + 0.7442 -1.1054 lineto + 0.7804 -1.0284 lineto + 0.8146 -0.9302 lineto + %middle circumferential + 0.8146 -0.9302 lineto + 0.8345 -0.8454 lineto + 0.8459 -0.7671 lineto + 0.8508 -0.6955 lineto + 0.8511 -0.6303 lineto + 0.8481 -0.571 lineto + 0.8364 -0.4681 lineto + 0.829 -0.4232 lineto + %end circumferential + 0.829 -0.4232 lineto + 0.7188 -0.4304 lineto + %middle radial + 0.7188 -0.4304 lineto + 0.6592 -0.425 lineto + 0.6037 -0.4145 lineto + %end radial + 0.6037 -0.4145 lineto + 0.583 -0.4876 lineto + 0.5522 -0.5654 lineto + 0.5082 -0.646 lineto + 0.4479 -0.7264 lineto + %middle circumferential + 0.4479 -0.7264 lineto + 0.3856 -0.7878 lineto + 0.3372 -0.8252 lineto + 0.2837 -0.8584 lineto + 0.2255 -0.8864 lineto + 0.1636 -0.9082 lineto + 0.0991 -0.9231 lineto + 0.0331 -0.9307 lineto + 0.0 -0.9316 lineto + %end circumferential + closepath +currentgray 0.5242857142857142 setgray fill setgray +% Sector from 3.927 to 4.7124 (quadrant 2) +newpath + -0.6037 -0.4145 moveto + -0.6592 -0.425 lineto + -0.7188 -0.4304 lineto + %middle radial + -0.7188 -0.4304 lineto + -0.829 -0.4232 lineto + %end radial + -0.829 -0.4232 lineto + -0.8422 -0.5108 lineto + -0.8508 -0.6198 lineto + -0.8511 -0.6846 lineto + -0.8469 -0.7574 lineto + -0.8357 -0.8392 lineto + -0.8146 -0.9302 lineto + %middle circumferential + -0.8146 -0.9302 lineto + -0.7834 -1.0213 lineto + -0.737 -1.1186 lineto + -0.69 -1.1942 lineto + -0.6519 -1.2449 lineto + -0.6079 -1.2951 lineto + -0.5577 -1.3438 lineto + -0.5011 -1.3901 lineto + -0.4381 -1.433 lineto + -0.3689 -1.4713 lineto + -0.294 -1.5038 lineto + -0.2141 -1.5294 lineto + -0.1303 -1.5472 lineto + -0.0438 -1.5563 lineto + 0.0 -1.5574 lineto + %end circumferential + 0.0 -1.5574 lineto + 0.0 -1.1974 lineto + %middle radial + 0.0 -1.1974 lineto + 0.0 -0.9316 lineto + %end radial + 0.0 -0.9316 lineto + -0.0711 -0.9273 lineto + -0.1398 -0.9146 lineto + -0.2048 -0.8946 lineto + -0.2648 -0.8684 lineto + -0.3193 -0.8372 lineto + -0.368 -0.8023 lineto + -0.4479 -0.7264 lineto + %middle circumferential + -0.4479 -0.7264 lineto + -0.5115 -0.6407 lineto + -0.5553 -0.5586 lineto + -0.5845 -0.4829 lineto + -0.6037 -0.4145 lineto + %end circumferential + closepath +currentgray 0.5985714285714285 setgray fill setgray +% Sector from 3.1416 to 3.927 (quadrant 2) +newpath + -0.6351 0.0 moveto + -0.7039 0.0 lineto + %middle radial + -0.7039 0.0 lineto + -0.7616 0.0 lineto + %end radial + -0.7616 0.0 lineto + -0.7656 -0.0811 lineto + -0.7788 -0.1744 lineto + %middle circumferential + -0.7788 -0.1744 lineto + -0.7999 -0.279 lineto + -0.8138 -0.3444 lineto + -0.829 -0.4232 lineto + %end circumferential + -0.829 -0.4232 lineto + -0.7188 -0.4304 lineto + %middle radial + -0.7188 -0.4304 lineto + -0.6592 -0.425 lineto + -0.6037 -0.4145 lineto + %end radial + -0.6037 -0.4145 lineto + -0.6169 -0.3468 lineto + -0.6249 -0.2865 lineto + -0.6323 -0.1832 lineto + %middle circumferential + -0.6323 -0.1832 lineto + -0.6347 -0.0861 lineto + -0.6351 0.0 lineto + %end circumferential + closepath +currentgray 0.6728571428571428 setgray fill setgray +% Sector from 2.3562 to 3.1416 (quadrant 1) +newpath + -0.6037 0.4145 moveto + -0.6592 0.425 lineto + -0.7188 0.4304 lineto + %middle radial + -0.7188 0.4304 lineto + -0.829 0.4232 lineto + %end radial + -0.829 0.4232 lineto + -0.8222 0.3861 lineto + -0.8083 0.3182 lineto + -0.7952 0.2571 lineto + -0.7788 0.1744 lineto + %middle circumferential + -0.7788 0.1744 lineto + -0.7661 0.0865 lineto + -0.7616 0.0 lineto + %end circumferential + -0.7616 0.0 lineto + -0.7039 0.0 lineto + %middle radial + -0.7039 0.0 lineto + -0.6351 0.0 lineto + %end radial + -0.6351 0.0 lineto + -0.6346 0.0918 lineto + -0.6323 0.1832 lineto + %middle circumferential + -0.6323 0.1832 lineto + -0.6241 0.294 lineto + -0.6159 0.3529 lineto + -0.6037 0.4145 lineto + %end circumferential + closepath +currentgray 0.7471428571428572 setgray fill setgray +% Sector from 1.5708 to 2.3562 (quadrant 1) +newpath + 0.0 0.9316 moveto + 0.0 1.1974 lineto + %middle radial + 0.0 1.1974 lineto + 0.0 1.5574 lineto + %end radial + 0.0 1.5574 lineto + -0.0754 1.554 lineto + -0.1509 1.5436 lineto + -0.2254 1.5263 lineto + -0.2979 1.5023 lineto + -0.3675 1.472 lineto + -0.4334 1.4359 lineto + -0.4948 1.3948 lineto + -0.5513 1.3494 lineto + -0.6025 1.3007 lineto + -0.6482 1.2495 lineto + -0.6884 1.1965 lineto + -0.7232 1.1427 lineto + -0.7529 1.0885 lineto + -0.7778 1.0348 lineto + -0.8146 0.9302 lineto + %middle circumferential + -0.8146 0.9302 lineto + -0.8338 0.8492 lineto + -0.8453 0.7732 lineto + -0.8506 0.7024 lineto + -0.8513 0.637 lineto + -0.8485 0.5768 lineto + -0.8367 0.4703 lineto + -0.829 0.4232 lineto + %end circumferential + -0.829 0.4232 lineto + -0.7188 0.4304 lineto + %middle radial + -0.7188 0.4304 lineto + -0.6592 0.425 lineto + -0.6037 0.4145 lineto + %end radial + -0.6037 0.4145 lineto + -0.582 0.4907 lineto + -0.5502 0.5697 lineto + -0.5061 0.6493 lineto + -0.4479 0.7264 lineto + %middle circumferential + -0.4479 0.7264 lineto + -0.405 0.7705 lineto + -0.3568 0.811 lineto + -0.3038 0.8468 lineto + -0.2468 0.8771 lineto + -0.1867 0.901 lineto + -0.1247 0.9181 lineto + -0.0621 0.9283 lineto + 0.0 0.9316 lineto + %end circumferential + closepath +currentgray 0.8214285714285714 setgray fill setgray +% Sector from 0.7854 to 1.5708 (quadrant 0) +newpath + 0.6037 0.4145 moveto + 0.6592 0.425 lineto + 0.7188 0.4304 lineto + %middle radial + 0.7188 0.4304 lineto + 0.829 0.4232 lineto + %end radial + 0.829 0.4232 lineto + 0.8408 0.4999 lineto + 0.85 0.6013 lineto + 0.8514 0.6648 lineto + 0.8484 0.7394 lineto + 0.8378 0.8272 lineto + 0.8146 0.9302 lineto + %middle circumferential + 0.8146 0.9302 lineto + 0.7866 1.0131 lineto + 0.745 1.1038 lineto + 0.7023 1.176 lineto + 0.6673 1.2254 lineto + 0.6262 1.2752 lineto + 0.5786 1.3245 lineto + 0.5239 1.3725 lineto + 0.4618 1.4179 lineto + 0.3922 1.4594 lineto + 0.3153 1.4955 lineto + 0.2316 1.5246 lineto + 0.1421 1.5452 lineto + 0.0481 1.556 lineto + 0.0 1.5574 lineto + %end circumferential + 0.0 1.5574 lineto + 0.0 1.1974 lineto + %middle radial + 0.0 1.1974 lineto + 0.0 0.9316 lineto + %end radial + 0.0 0.9316 lineto + 0.0392 0.9303 lineto + 0.1144 0.9203 lineto + 0.184 0.9019 lineto + 0.2472 0.8769 lineto + 0.3034 0.8471 lineto + 0.3747 0.7969 lineto + 0.4479 0.7264 lineto + %middle circumferential + 0.4479 0.7264 lineto + 0.4869 0.6774 lineto + 0.5417 0.587 lineto + 0.5755 0.5091 lineto + 0.5964 0.4433 lineto + 0.6037 0.4145 lineto + %end circumferential + closepath +currentgray 0.8957142857142858 setgray fill setgray +% Sector from 0.0 to 0.7854 (quadrant 0) +newpath + 0.6351 0.0 moveto + 0.7039 0.0 lineto + %middle radial + 0.7039 0.0 lineto + 0.7616 0.0 lineto + %end radial + 0.7616 0.0 lineto + 0.7616 0.0091 lineto + 0.7656 0.081 lineto + 0.7788 0.1744 lineto + %middle circumferential + 0.7788 0.1744 lineto + 0.7963 0.2619 lineto + 0.8105 0.3285 lineto + 0.829 0.4232 lineto + %end circumferential + 0.829 0.4232 lineto + 0.7188 0.4304 lineto + %middle radial + 0.7188 0.4304 lineto + 0.6592 0.425 lineto + 0.6037 0.4145 lineto + %end radial + 0.6037 0.4145 lineto + 0.6191 0.3325 lineto + 0.6265 0.2702 lineto + 0.6323 0.1832 lineto + %middle circumferential + 0.6323 0.1832 lineto + 0.6347 0.0861 lineto + 0.6351 0.0097 lineto + 0.6351 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 1.5708 2.0 16 0.97 0.45 +% Sector from 5.8905 to 6.2832 (quadrant 3) +newpath + 0.9563 -0.0982 moveto + 0.9826 -0.0711 lineto + %middle radial + 0.9826 -0.0711 lineto + 0.9968 -0.0495 lineto + %end radial + 0.9968 -0.0495 lineto + 0.9719 -0.0271 lineto + %middle circumferential + 0.9719 -0.0271 lineto + 0.964 0.0 lineto + %end circumferential + 0.964 0.0 lineto + 0.9453 0.0 lineto + %middle radial + 0.9453 0.0 lineto + 0.9172 0.0 lineto + %end radial + 0.9172 0.0 lineto + 0.9264 -0.049 lineto + %middle circumferential + 0.9264 -0.049 lineto + 0.9563 -0.0982 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.4978 to 5.8905 (quadrant 3) +newpath + 1.1225 -0.196 moveto + 1.1345 -0.1057 lineto + %middle radial + 1.1345 -0.1057 lineto + 1.1184 -0.0409 lineto + %end radial + 1.1184 -0.0409 lineto + 1.0428 -0.0597 lineto + %middle circumferential + 1.0428 -0.0597 lineto + 0.9968 -0.0495 lineto + %end circumferential + 0.9968 -0.0495 lineto + 0.9826 -0.0711 lineto + %middle radial + 0.9826 -0.0711 lineto + 0.9563 -0.0982 lineto + %end radial + 0.9563 -0.0982 lineto + 1.015 -0.1475 lineto + %middle circumferential + 1.015 -0.1475 lineto + 1.0896 -0.1842 lineto + 1.1225 -0.196 lineto + %end circumferential + closepath +currentgray 0.48466666666666664 setgray fill setgray +% Sector from 5.1051 to 5.4978 (quadrant 3) +newpath + 1.7965 -0.2812 moveto + 1.7966 -0.2217 lineto + 1.7915 -0.1629 lineto + 1.7663 -0.0501 lineto + 1.7232 0.0528 lineto + 1.6657 0.1424 lineto + %middle radial + 1.6657 0.1424 lineto + 1.6058 0.2092 lineto + 1.5406 0.2634 lineto + 1.4727 0.3052 lineto + 1.4043 0.3354 lineto + %end radial + 1.4043 0.3354 lineto + 1.3611 0.2336 lineto + 1.3177 0.1553 lineto + 1.2761 0.0954 lineto + 1.2374 0.0497 lineto + %middle circumferential + 1.2374 0.0497 lineto + 1.172 -0.0088 lineto + 1.1184 -0.0409 lineto + %end circumferential + 1.1184 -0.0409 lineto + 1.1345 -0.1057 lineto + %middle radial + 1.1345 -0.1057 lineto + 1.1225 -0.196 lineto + %end radial + 1.1225 -0.196 lineto + 1.1623 -0.208 lineto + 1.2641 -0.231 lineto + 1.3297 -0.2419 lineto + %middle circumferential + 1.3297 -0.2419 lineto + 1.4119 -0.2526 lineto + 1.5126 -0.2628 lineto + 1.5716 -0.2677 lineto + 1.6378 -0.2724 lineto + 1.7122 -0.2768 lineto + 1.7965 -0.2812 lineto + %end circumferential + closepath +currentgray 0.5193333333333334 setgray fill setgray +% Sector from 4.7124 to 5.1051 (quadrant 3) +newpath + 0.0 6.378103166302659 moveto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.3564 lineto + 0.0 4.588 lineto + %middle radial + 0.0 4.588 lineto + 0.0 2.185 lineto + %end radial + 0.0 2.185 lineto + 0.0347 2.1846 lineto + 0.1041 2.1814 lineto + 0.1732 2.175 lineto + 0.2418 2.1653 lineto + 0.3096 2.1526 lineto + 0.3765 2.1368 lineto + 0.4421 2.118 lineto + 0.5064 2.0965 lineto + 0.569 2.0722 lineto + 0.6299 2.0455 lineto + 0.6889 2.0164 lineto + 0.7458 1.9851 lineto + 0.8006 1.9518 lineto + 0.8531 1.9167 lineto + 0.9033 1.88 lineto + 0.9512 1.8419 lineto + 0.9966 1.8025 lineto + 1.0601 1.7416 lineto + 1.1364 1.6578 lineto + 1.2031 1.5723 lineto + 1.2608 1.4862 lineto + 1.3099 1.4005 lineto + 1.351 1.3161 lineto + 1.3849 1.2337 lineto + 1.4121 1.1539 lineto + %middle circumferential + 1.4121 1.1539 lineto + 1.4328 1.08 lineto + 1.4486 1.009 lineto + 1.4601 0.9412 lineto + 1.4679 0.8766 lineto + 1.4724 0.8153 lineto + 1.4732 0.7024 lineto + 1.4658 0.602 lineto + 1.4525 0.5132 lineto + 1.435 0.435 lineto + 1.415 0.3664 lineto + 1.4043 0.3354 lineto + %end circumferential + 1.4043 0.3354 lineto + 1.4727 0.3052 lineto + 1.5406 0.2634 lineto + 1.6058 0.2092 lineto + 1.6657 0.1424 lineto + %middle radial + 1.6657 0.1424 lineto + 1.7232 0.0528 lineto + 1.7663 -0.0501 lineto + 1.7915 -0.1629 lineto + 1.7966 -0.2217 lineto + 1.7965 -0.2812 lineto + %end radial + 1.7965 -0.2812 lineto + 1.8964 -0.2854 lineto + 1.9811 -0.2885 lineto + 2.0431 -0.2904 lineto + 2.11 -0.2923 lineto + 2.1823 -0.2942 lineto + 2.2608 -0.2959 lineto + 2.3462 -0.2977 lineto + 2.4394 -0.2993 lineto + 2.5415 -0.3009 lineto + 2.6538 -0.3024 lineto + 2.7142 -0.3031 lineto + 2.7777 -0.3039 lineto + 2.8445 -0.3046 lineto + 2.915 -0.3053 lineto + 2.9894 -0.3059 lineto + 3.0681 -0.3066 lineto + 3.1514 -0.3072 lineto + 3.2397 -0.3078 lineto + 3.3334 -0.3084 lineto + %middle circumferential + 3.3334 -0.3084 lineto + 3.4367 -0.309 lineto + 3.5471 -0.3096 lineto + 3.6653 -0.3102 lineto + 3.792 -0.3107 lineto + 3.9283 -0.3113 lineto + 4.0752 -0.3118 lineto + 4.234 -0.3123 lineto + 4.4062 -0.3127 lineto + 4.5451 -0.3131 lineto + 4.6934 -0.3134 lineto + 4.852 -0.3137 lineto + 5.1115 -0.3142 lineto + 5.3674 -0.3146 lineto + 5.6507 -0.3149 lineto + 5.9249 -0.3153 lineto + 6.2274 -0.3155 lineto + 6.3669 -0.3157 lineto + 6.378103166302659 -0.3143 lineto + 6.378103166302659 -0.3183 lineto + %start splice + 6.378103166302659 6.378103166302659 lineto + 6.378103166302659 6.378103166302659 lineto + 6.378103166302659 6.378103166302659 lineto + 6.378103166302659 6.378103166302659 lineto + 6.378103166302659 6.378103166302659 lineto + 6.378103166302659 6.378103166302659 lineto + 6.378103166302659 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + %end splice + %end circumferential + closepath +currentgray 0.554 setgray fill setgray +% Sector from 4.3197 to 4.7124 (quadrant 2) +newpath + -1.7965 -0.2812 moveto + -1.7966 -0.2217 lineto + -1.7915 -0.1629 lineto + -1.7663 -0.0501 lineto + -1.7232 0.0528 lineto + -1.6657 0.1424 lineto + %middle radial + -1.6657 0.1424 lineto + -1.6058 0.2092 lineto + -1.5406 0.2634 lineto + -1.4727 0.3052 lineto + -1.4043 0.3354 lineto + %end radial + -1.4043 0.3354 lineto + -1.4145 0.3652 lineto + -1.4341 0.4313 lineto + -1.4513 0.5072 lineto + -1.4649 0.5942 lineto + -1.4729 0.6936 lineto + -1.4728 0.8067 lineto + -1.4686 0.8687 lineto + -1.4611 0.9344 lineto + -1.4496 1.0039 lineto + -1.4335 1.0771 lineto + -1.4121 1.1539 lineto + %middle circumferential + -1.4121 1.1539 lineto + -1.386 1.2306 lineto + -1.3537 1.3101 lineto + -1.3143 1.3919 lineto + -1.2673 1.4755 lineto + -1.2119 1.56 lineto + -1.1474 1.6446 lineto + -1.0733 1.7281 lineto + -1.0111 1.7892 lineto + -0.9666 1.8289 lineto + -0.9194 1.8675 lineto + -0.8698 1.9049 lineto + -0.8176 1.9408 lineto + -0.763 1.975 lineto + -0.706 2.0073 lineto + -0.6467 2.0375 lineto + -0.5852 2.0654 lineto + -0.5217 2.0908 lineto + -0.4563 2.1135 lineto + -0.3892 2.1334 lineto + -0.3206 2.1502 lineto + -0.2508 2.1638 lineto + -0.1799 2.1741 lineto + -0.1083 2.1811 lineto + -0.0362 2.1846 lineto + 0.0 2.185 lineto + %end circumferential + 0.0 2.185 lineto + 0.0 4.588 lineto + %middle radial + 0.0 4.588 lineto + 0.0 6.3564 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + %start splice + -6.378103166302659 6.378103166302659 lineto + -6.378103166302659 6.378103166302659 lineto + -6.378103166302659 6.378103166302659 lineto + -6.378103166302659 6.378103166302659 lineto + -6.378103166302659 6.378103166302659 lineto + -6.378103166302659 6.378103166302659 lineto + -6.378103166302659 6.378103166302659 lineto + -6.378103166302659 -0.3183 lineto + %end splice + %end radial + -6.378103166302659 -0.3183 lineto + -6.378103166302659 -0.3182 lineto + -6.2893 -0.3156 lineto + -5.9816 -0.3153 lineto + -5.7035 -0.315 lineto + -5.4168 -0.3146 lineto + -5.1587 -0.3143 lineto + -4.8974 -0.3138 lineto + -4.7382 -0.3135 lineto + -4.5895 -0.3132 lineto + -4.4059 -0.3127 lineto + -4.2373 -0.3123 lineto + -4.0819 -0.3118 lineto + -3.9383 -0.3113 lineto + -3.8051 -0.3108 lineto + -3.6814 -0.3103 lineto + -3.5384 -0.3096 lineto + -3.4325 -0.309 lineto + -3.3334 -0.3084 lineto + %middle circumferential + -3.3334 -0.3084 lineto + -3.2359 -0.3078 lineto + -3.1445 -0.3072 lineto + -3.0588 -0.3065 lineto + -2.9781 -0.3058 lineto + -2.9021 -0.3051 lineto + -2.8304 -0.3044 lineto + -2.7627 -0.3037 lineto + -2.6986 -0.303 lineto + -2.6378 -0.3022 lineto + -2.5254 -0.3007 lineto + -2.4238 -0.299 lineto + -2.3315 -0.2974 lineto + -2.2473 -0.2956 lineto + -2.1703 -0.2939 lineto + -2.0996 -0.292 lineto + -2.0345 -0.2902 lineto + -1.9461 -0.2873 lineto + -1.8428 -0.2832 lineto + -1.7965 -0.2812 lineto + %end circumferential + closepath +currentgray 0.5886666666666667 setgray fill setgray +% Sector from 3.927 to 4.3197 (quadrant 2) +newpath + -1.1225 -0.196 moveto + -1.1345 -0.1057 lineto + %middle radial + -1.1345 -0.1057 lineto + -1.1184 -0.0409 lineto + %end radial + -1.1184 -0.0409 lineto + -1.1707 -0.0098 lineto + -1.2374 0.0497 lineto + %middle circumferential + -1.2374 0.0497 lineto + -1.2949 0.121 lineto + -1.3376 0.1888 lineto + -1.3821 0.2793 lineto + -1.4043 0.3354 lineto + %end circumferential + -1.4043 0.3354 lineto + -1.4727 0.3052 lineto + -1.5406 0.2634 lineto + -1.6058 0.2092 lineto + -1.6657 0.1424 lineto + %middle radial + -1.6657 0.1424 lineto + -1.7232 0.0528 lineto + -1.7663 -0.0501 lineto + -1.7915 -0.1629 lineto + -1.7966 -0.2217 lineto + -1.7965 -0.2812 lineto + %end radial + -1.7965 -0.2812 lineto + -1.7093 -0.2767 lineto + -1.6333 -0.2721 lineto + -1.5667 -0.2673 lineto + -1.5079 -0.2624 lineto + -1.409 -0.2523 lineto + -1.3297 -0.2419 lineto + %middle circumferential + -1.3297 -0.2419 lineto + -1.2621 -0.2306 lineto + -1.1609 -0.2077 lineto + -1.1225 -0.196 lineto + %end circumferential + closepath +currentgray 0.6233333333333333 setgray fill setgray +% Sector from 3.5343 to 3.927 (quadrant 2) +newpath + -0.9563 -0.0982 moveto + -0.9826 -0.0711 lineto + %middle radial + -0.9826 -0.0711 lineto + -0.9968 -0.0495 lineto + %end radial + -0.9968 -0.0495 lineto + -1.0428 -0.0597 lineto + %middle circumferential + -1.0428 -0.0597 lineto + -1.1184 -0.0409 lineto + %end circumferential + -1.1184 -0.0409 lineto + -1.1345 -0.1057 lineto + %middle radial + -1.1345 -0.1057 lineto + -1.1225 -0.196 lineto + %end radial + -1.1225 -0.196 lineto + -1.0886 -0.1838 lineto + -1.015 -0.1475 lineto + %middle circumferential + -1.015 -0.1475 lineto + -0.9563 -0.0982 lineto + %end circumferential + closepath +currentgray 0.658 setgray fill setgray +% Sector from 3.1416 to 3.5343 (quadrant 2) +newpath + -0.9172 0.0 moveto + -0.9453 0.0 lineto + %middle radial + -0.9453 0.0 lineto + -0.964 0.0 lineto + %end radial + -0.964 0.0 lineto + -0.9719 -0.0271 lineto + %middle circumferential + -0.9719 -0.0271 lineto + -0.9968 -0.0495 lineto + %end circumferential + -0.9968 -0.0495 lineto + -0.9826 -0.0711 lineto + %middle radial + -0.9826 -0.0711 lineto + -0.9563 -0.0982 lineto + %end radial + -0.9563 -0.0982 lineto + -0.9264 -0.049 lineto + %middle circumferential + -0.9264 -0.049 lineto + -0.9172 0.0 lineto + %end circumferential + closepath +currentgray 0.6926666666666667 setgray fill setgray +% Sector from 2.7489 to 3.1416 (quadrant 1) +newpath + -0.9563 0.0982 moveto + -0.9826 0.0711 lineto + %middle radial + -0.9826 0.0711 lineto + -0.9968 0.0495 lineto + %end radial + -0.9968 0.0495 lineto + -0.9719 0.0271 lineto + %middle circumferential + -0.9719 0.0271 lineto + -0.964 0.0 lineto + %end circumferential + -0.964 0.0 lineto + -0.9453 0.0 lineto + %middle radial + -0.9453 0.0 lineto + -0.9172 0.0 lineto + %end radial + -0.9172 0.0 lineto + -0.9264 0.049 lineto + %middle circumferential + -0.9264 0.049 lineto + -0.9563 0.0982 lineto + %end circumferential + closepath +currentgray 0.7273333333333334 setgray fill setgray +% Sector from 2.3562 to 2.7489 (quadrant 1) +newpath + -1.1225 0.196 moveto + -1.1345 0.1057 lineto + %middle radial + -1.1345 0.1057 lineto + -1.1184 0.0409 lineto + %end radial + -1.1184 0.0409 lineto + -1.0428 0.0597 lineto + %middle circumferential + -1.0428 0.0597 lineto + -0.9968 0.0495 lineto + %end circumferential + -0.9968 0.0495 lineto + -0.9826 0.0711 lineto + %middle radial + -0.9826 0.0711 lineto + -0.9563 0.0982 lineto + %end radial + -0.9563 0.0982 lineto + -1.015 0.1475 lineto + %middle circumferential + -1.015 0.1475 lineto + -1.0901 0.1844 lineto + -1.1225 0.196 lineto + %end circumferential + closepath +currentgray 0.762 setgray fill setgray +% Sector from 1.9635 to 2.3562 (quadrant 1) +newpath + -1.7965 0.2812 moveto + -1.7966 0.2217 lineto + -1.7915 0.1629 lineto + -1.7663 0.0501 lineto + -1.7232 -0.0528 lineto + -1.6657 -0.1424 lineto + %middle radial + -1.6657 -0.1424 lineto + -1.6058 -0.2092 lineto + -1.5406 -0.2634 lineto + -1.4727 -0.3052 lineto + -1.4043 -0.3354 lineto + %end radial + -1.4043 -0.3354 lineto + -1.3621 -0.2355 lineto + -1.3189 -0.1573 lineto + -1.277 -0.0965 lineto + -1.2374 -0.0497 lineto + %middle circumferential + -1.2374 -0.0497 lineto + -1.1727 0.0083 lineto + -1.1184 0.0409 lineto + %end circumferential + -1.1184 0.0409 lineto + -1.1345 0.1057 lineto + %middle radial + -1.1345 0.1057 lineto + -1.1225 0.196 lineto + %end radial + -1.1225 0.196 lineto + -1.1631 0.2083 lineto + -1.2652 0.2312 lineto + -1.3297 0.2419 lineto + %middle circumferential + -1.3297 0.2419 lineto + -1.4138 0.2529 lineto + -1.5158 0.2631 lineto + -1.575 0.2679 lineto + -1.6408 0.2725 lineto + -1.7142 0.277 lineto + -1.7965 0.2812 lineto + %end circumferential + closepath +currentgray 0.7966666666666666 setgray fill setgray +% Sector from 1.5708 to 1.9635 (quadrant 1) +newpath + 0.0 -6.378103166302659 moveto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.3564 lineto + 0.0 -4.588 lineto + %middle radial + 0.0 -4.588 lineto + 0.0 -2.185 lineto + %end radial + 0.0 -2.185 lineto + -0.0669 -2.1835 lineto + -0.1337 -2.179 lineto + -0.2004 -2.1715 lineto + -0.2667 -2.161 lineto + -0.3324 -2.1475 lineto + -0.3972 -2.1312 lineto + -0.4609 -2.112 lineto + -0.5234 -2.0902 lineto + -0.5845 -2.0657 lineto + -0.644 -2.0388 lineto + -0.7018 -2.0096 lineto + -0.7576 -1.9782 lineto + -0.8115 -1.9448 lineto + -0.8632 -1.9096 lineto + -0.9128 -1.8727 lineto + -0.9601 -1.8344 lineto + -1.0051 -1.7948 lineto + -1.0477 -1.7541 lineto + -1.1259 -1.6701 lineto + -1.1948 -1.5837 lineto + -1.2546 -1.4961 lineto + -1.3056 -1.4085 lineto + -1.3485 -1.3218 lineto + -1.3838 -1.2367 lineto + -1.4121 -1.1539 lineto + %middle circumferential + -1.4121 -1.1539 lineto + -1.4322 -1.0822 lineto + -1.4478 -1.013 lineto + -1.4593 -0.9465 lineto + -1.4672 -0.8829 lineto + -1.472 -0.8221 lineto + -1.4735 -0.7093 lineto + -1.4665 -0.6081 lineto + -1.4533 -0.5179 lineto + -1.4358 -0.438 lineto + -1.4153 -0.3674 lineto + -1.4043 -0.3354 lineto + %end circumferential + -1.4043 -0.3354 lineto + -1.4727 -0.3052 lineto + -1.5406 -0.2634 lineto + -1.6058 -0.2092 lineto + -1.6657 -0.1424 lineto + %middle radial + -1.6657 -0.1424 lineto + -1.7232 -0.0528 lineto + -1.7663 0.0501 lineto + -1.7915 0.1629 lineto + -1.7966 0.2217 lineto + -1.7965 0.2812 lineto + %end radial + -1.7965 0.2812 lineto + -1.8995 0.2855 lineto + -1.9866 0.2886 lineto + -2.05 0.2906 lineto + -2.1183 0.2925 lineto + -2.192 0.2944 lineto + -2.2717 0.2962 lineto + -2.358 0.2979 lineto + -2.4519 0.2995 lineto + -2.5544 0.3011 lineto + -2.6664 0.3026 lineto + -2.7265 0.3033 lineto + -2.7895 0.304 lineto + -2.8556 0.3047 lineto + -2.9251 0.3054 lineto + -2.9983 0.306 lineto + -3.0754 0.3066 lineto + -3.1567 0.3073 lineto + -3.2426 0.3079 lineto + -3.3334 0.3084 lineto + %middle circumferential + -3.3334 0.3084 lineto + -3.4407 0.3091 lineto + -3.5554 0.3097 lineto + -3.6781 0.3102 lineto + -3.8098 0.3108 lineto + -3.9513 0.3114 lineto + -4.104 0.3119 lineto + -4.269 0.3124 lineto + -4.4018 0.3127 lineto + -4.5431 0.3131 lineto + -4.6938 0.3134 lineto + -4.8549 0.3137 lineto + -5.1184 0.3142 lineto + -5.3778 0.3146 lineto + -5.6647 0.315 lineto + -5.9419 0.3153 lineto + -6.2474 0.3156 lineto + -6.3405 0.3156 lineto + -6.378103166302659 0.3133 lineto + -6.378103166302659 0.3183 lineto + %start splice + -6.378103166302659 -6.378103166302659 lineto + -6.378103166302659 -6.378103166302659 lineto + -6.378103166302659 -6.378103166302659 lineto + -6.378103166302659 -6.378103166302659 lineto + -6.378103166302659 -6.378103166302659 lineto + -6.378103166302659 -6.378103166302659 lineto + -6.378103166302659 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + %end splice + %end circumferential + closepath +currentgray 0.8313333333333334 setgray fill setgray +% Sector from 1.1781 to 1.5708 (quadrant 0) +newpath + 1.7965 0.2812 moveto + 1.7966 0.2217 lineto + 1.7915 0.1629 lineto + 1.7663 0.0501 lineto + 1.7232 -0.0528 lineto + 1.6657 -0.1424 lineto + %middle radial + 1.6657 -0.1424 lineto + 1.6058 -0.2092 lineto + 1.5406 -0.2634 lineto + 1.4727 -0.3052 lineto + 1.4043 -0.3354 lineto + %end radial + 1.4043 -0.3354 lineto + 1.4236 -0.394 lineto + 1.4416 -0.4618 lineto + 1.4573 -0.5404 lineto + 1.4688 -0.6315 lineto + 1.474 -0.7368 lineto + 1.4732 -0.7954 lineto + 1.4695 -0.8582 lineto + 1.4623 -0.9253 lineto + 1.4509 -0.997 lineto + 1.4345 -1.0732 lineto + 1.4121 -1.1539 lineto + %middle circumferential + 1.4121 -1.1539 lineto + 1.3873 -1.2273 lineto + 1.3565 -1.3037 lineto + 1.3191 -1.3828 lineto + 1.2742 -1.4641 lineto + 1.2211 -1.5468 lineto + 1.159 -1.6303 lineto + 1.0872 -1.7133 lineto + 1.0052 -1.7947 lineto + 0.9602 -1.8343 lineto + 0.9126 -1.8729 lineto + 0.8622 -1.9103 lineto + 0.8091 -1.9463 lineto + 0.7534 -1.9807 lineto + 0.6951 -2.0131 lineto + 0.6343 -2.0434 lineto + 0.571 -2.0714 lineto + 0.5055 -2.0968 lineto + 0.4379 -2.1193 lineto + 0.3683 -2.1389 lineto + 0.297 -2.1552 lineto + 0.2243 -2.1681 lineto + 0.1504 -2.1774 lineto + 0.0755 -2.1831 lineto + 0.0 -2.185 lineto + %end circumferential + 0.0 -2.185 lineto + 0.0 -4.588 lineto + %middle radial + 0.0 -4.588 lineto + 0.0 -6.3564 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + %start splice + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 -6.378103166302659 lineto + 6.378103166302659 0.3183 lineto + %end splice + %end radial + 6.378103166302659 0.3183 lineto + 6.378103166302659 0.1677 lineto + 6.378103166302659 0.3179 lineto + 6.2941 0.3156 lineto + 5.9863 0.3153 lineto + 5.6714 0.315 lineto + 5.3898 0.3146 lineto + 5.1367 0.3142 lineto + 4.8808 0.3138 lineto + 4.725 0.3135 lineto + 4.5333 0.3131 lineto + 4.358 0.3126 lineto + 4.1969 0.3122 lineto + 4.0484 0.3117 lineto + 3.9112 0.3112 lineto + 3.784 0.3107 lineto + 3.6375 0.3101 lineto + 3.5292 0.3095 lineto + 3.4281 0.309 lineto + 3.3334 0.3084 lineto + %middle circumferential + 3.3334 0.3084 lineto + 3.2308 0.3078 lineto + 3.1354 0.3071 lineto + 3.0463 0.3064 lineto + 2.9631 0.3057 lineto + 2.8851 0.305 lineto + 2.8118 0.3042 lineto + 2.743 0.3035 lineto + 2.6781 0.3027 lineto + 2.6169 0.3019 lineto + 2.5044 0.3003 lineto + 2.4035 0.2987 lineto + 2.3124 0.297 lineto + 2.2299 0.2953 lineto + 2.1549 0.2935 lineto + 2.0863 0.2917 lineto + 2.0236 0.2898 lineto + 1.9387 0.287 lineto + 1.8403 0.2831 lineto + 1.7965 0.2812 lineto + %end circumferential + closepath +currentgray 0.866 setgray fill setgray +% Sector from 0.7854 to 1.1781 (quadrant 0) +newpath + 1.1225 0.196 moveto + 1.1345 0.1057 lineto + %middle radial + 1.1345 0.1057 lineto + 1.1184 0.0409 lineto + %end radial + 1.1184 0.0409 lineto + 1.1681 0.0116 lineto + 1.2374 -0.0497 lineto + %middle circumferential + 1.2374 -0.0497 lineto + 1.2923 -0.1173 lineto + 1.3348 -0.1839 lineto + 1.3808 -0.2762 lineto + 1.4043 -0.3354 lineto + %end circumferential + 1.4043 -0.3354 lineto + 1.4727 -0.3052 lineto + 1.5406 -0.2634 lineto + 1.6058 -0.2092 lineto + 1.6657 -0.1424 lineto + %middle radial + 1.6657 -0.1424 lineto + 1.7232 -0.0528 lineto + 1.7663 0.0501 lineto + 1.7915 0.1629 lineto + 1.7966 0.2217 lineto + 1.7965 0.2812 lineto + %end radial + 1.7965 0.2812 lineto + 1.7485 0.2788 lineto + 1.6637 0.274 lineto + 1.5912 0.2691 lineto + 1.5004 0.2617 lineto + 1.4046 0.2518 lineto + 1.3297 0.2419 lineto + %middle circumferential + 1.3297 0.2419 lineto + 1.2581 0.2299 lineto + 1.1582 0.2069 lineto + 1.1225 0.196 lineto + %end circumferential + closepath +currentgray 0.9006666666666666 setgray fill setgray +% Sector from 0.3927 to 0.7854 (quadrant 0) +newpath + 0.9563 0.0982 moveto + 0.9826 0.0711 lineto + %middle radial + 0.9826 0.0711 lineto + 0.9968 0.0495 lineto + %end radial + 0.9968 0.0495 lineto + 1.0428 0.0597 lineto + %middle circumferential + 1.0428 0.0597 lineto + 1.1184 0.0409 lineto + %end circumferential + 1.1184 0.0409 lineto + 1.1345 0.1057 lineto + %middle radial + 1.1345 0.1057 lineto + 1.1225 0.196 lineto + %end radial + 1.1225 0.196 lineto + 1.0858 0.1827 lineto + 1.015 0.1475 lineto + %middle circumferential + 1.015 0.1475 lineto + 0.9563 0.0982 lineto + %end circumferential + closepath +currentgray 0.9353333333333332 setgray fill setgray +% Sector from 0.0 to 0.3927 (quadrant 0) +newpath + 0.9172 0.0 moveto + 0.9453 0.0 lineto + %middle radial + 0.9453 0.0 lineto + 0.964 0.0 lineto + %end radial + 0.964 0.0 lineto + 0.9719 0.0271 lineto + %middle circumferential + 0.9719 0.0271 lineto + 0.9968 0.0495 lineto + %end circumferential + 0.9968 0.0495 lineto + 0.9826 0.0711 lineto + %middle radial + 0.9826 0.0711 lineto + 0.9563 0.0982 lineto + %end radial + 0.9563 0.0982 lineto + 0.9264 0.049 lineto + %middle circumferential + 0.9264 0.049 lineto + 0.9172 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 3.0 3.1416 32 0.97 0.45 +% Sector from 6.0868 to 6.2832 (quadrant 3) +newpath + 0.9978 -0.0051 moveto + 0.9982 -0.0045 lineto + %middle radial + 0.9982 -0.0045 lineto + 0.9986 -0.004 lineto + %end radial + 0.9986 -0.004 lineto + 0.9969 -0.0022 lineto + %middle circumferential + 0.9969 -0.0022 lineto + 0.9963 0.0 lineto + %end circumferential + 0.9963 0.0 lineto + 0.9957 0.0 lineto + %middle radial + 0.9957 0.0 lineto + 0.9951 0.0 lineto + %end radial + 0.9951 0.0 lineto + 0.9958 -0.0028 lineto + %middle circumferential + 0.9958 -0.0028 lineto + 0.9978 -0.0051 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.8905 to 6.0868 (quadrant 3) +newpath + 1.0052 -0.0059 moveto + 1.0048 -0.0049 lineto + %middle radial + 1.0048 -0.0049 lineto + 1.0045 -0.0041 lineto + %end radial + 1.0045 -0.0041 lineto + 1.0012 -0.0047 lineto + %middle circumferential + 1.0012 -0.0047 lineto + 0.9986 -0.004 lineto + %end circumferential + 0.9986 -0.004 lineto + 0.9982 -0.0045 lineto + %middle radial + 0.9982 -0.0045 lineto + 0.9978 -0.0051 lineto + %end radial + 0.9978 -0.0051 lineto + 1.0011 -0.0063 lineto + %middle circumferential + 1.0011 -0.0063 lineto + 1.0052 -0.0059 lineto + %end circumferential + closepath +currentgray 0.4667741935483871 setgray fill setgray +% Sector from 5.6941 to 5.8905 (quadrant 3) +newpath + 1.0135 0.0026 moveto + 1.0117 0.0033 lineto + %middle radial + 1.0117 0.0033 lineto + 1.0102 0.0037 lineto + %end radial + 1.0102 0.0037 lineto + 1.0077 -0.0014 lineto + %middle circumferential + 1.0077 -0.0014 lineto + 1.0045 -0.0041 lineto + %end circumferential + 1.0045 -0.0041 lineto + 1.0048 -0.0049 lineto + %middle radial + 1.0048 -0.0049 lineto + 1.0052 -0.0059 lineto + %end radial + 1.0052 -0.0059 lineto + 1.0096 -0.0031 lineto + %middle circumferential + 1.0096 -0.0031 lineto + 1.0135 0.0026 lineto + %end circumferential + closepath +currentgray 0.4835483870967742 setgray fill setgray +% Sector from 5.4978 to 5.6941 (quadrant 3) +newpath + 1.0128 0.026 moveto + 1.0091 0.0245 lineto + %middle radial + 1.0091 0.0245 lineto + 1.006 0.0228 lineto + %end radial + 1.006 0.0228 lineto + 1.0103 0.0117 lineto + %middle circumferential + 1.0103 0.0117 lineto + 1.0102 0.0037 lineto + %end circumferential + 1.0102 0.0037 lineto + 1.0117 0.0033 lineto + %middle radial + 1.0117 0.0033 lineto + 1.0135 0.0026 lineto + %end radial + 1.0135 0.0026 lineto + 1.0153 0.0121 lineto + %middle circumferential + 1.0153 0.0121 lineto + 1.0128 0.026 lineto + %end circumferential + closepath +currentgray 0.5003225806451613 setgray fill setgray +% Sector from 5.3014 to 5.4978 (quadrant 3) +newpath + 0.9784 0.0672 moveto + 0.9732 0.0593 lineto + %middle radial + 0.9732 0.0593 lineto + 0.9692 0.0516 lineto + %end radial + 0.9692 0.0516 lineto + 0.994 0.0366 lineto + %middle circumferential + 0.994 0.0366 lineto + 1.006 0.0228 lineto + %end circumferential + 1.006 0.0228 lineto + 1.0091 0.0245 lineto + %middle radial + 1.0091 0.0245 lineto + 1.0128 0.026 lineto + %end radial + 1.0128 0.026 lineto + 1.0023 0.0445 lineto + %middle circumferential + 1.0023 0.0445 lineto + 0.9784 0.0672 lineto + %end circumferential + closepath +currentgray 0.5170967741935484 setgray fill setgray +% Sector from 5.1051 to 5.3014 (quadrant 3) +newpath + 0.8542 0.1171 moveto + 0.8502 0.0936 lineto + %middle radial + 0.8502 0.0936 lineto + 0.8488 0.0711 lineto + %end radial + 0.8488 0.0711 lineto + 0.9244 0.0648 lineto + %middle circumferential + 0.9244 0.0648 lineto + 0.9692 0.0516 lineto + %end circumferential + 0.9692 0.0516 lineto + 0.9732 0.0593 lineto + %middle radial + 0.9732 0.0593 lineto + 0.9784 0.0672 lineto + %end radial + 0.9784 0.0672 lineto + 0.9329 0.0926 lineto + %middle circumferential + 0.9329 0.0926 lineto + 0.8542 0.1171 lineto + %end circumferential + closepath +currentgray 0.5338709677419355 setgray fill setgray +% Sector from 4.9087 to 5.1051 (quadrant 3) +newpath + 0.5418 0.1443 moveto + 0.5429 0.0925 lineto + %middle radial + 0.5429 0.0925 lineto + 0.5476 0.0424 lineto + %end radial + 0.5476 0.0424 lineto + 0.6459 0.0551 lineto + 0.7284 0.0645 lineto + %middle circumferential + 0.7284 0.0645 lineto + 0.7949 0.0698 lineto + 0.8488 0.0711 lineto + %end circumferential + 0.8488 0.0711 lineto + 0.8502 0.0936 lineto + %middle radial + 0.8502 0.0936 lineto + 0.8542 0.1171 lineto + %end radial + 0.8542 0.1171 lineto + 0.7978 0.1275 lineto + 0.7282 0.1357 lineto + %middle circumferential + 0.7282 0.1357 lineto + 0.6427 0.1414 lineto + 0.5418 0.1443 lineto + %end circumferential + closepath +currentgray 0.5506451612903226 setgray fill setgray +% Sector from 4.7124 to 4.9087 (quadrant 3) +newpath + 0.0 0.1425 moveto + 0.0 0.0709 lineto + %middle radial + 0.0 0.0709 lineto + 0.0 0.0 lineto + %end radial + 0.0 0.0 lineto + 0.0764 9.0E-4 lineto + 0.1522 0.0037 lineto + 0.2265 0.008 lineto + 0.2986 0.0138 lineto + %middle circumferential + 0.2986 0.0138 lineto + 0.3663 0.0204 lineto + 0.4306 0.0276 lineto + 0.4911 0.0351 lineto + 0.5476 0.0424 lineto + %end circumferential + 0.5476 0.0424 lineto + 0.5429 0.0925 lineto + %middle radial + 0.5429 0.0925 lineto + 0.5418 0.1443 lineto + %end radial + 0.5418 0.1443 lineto + 0.4846 0.1449 lineto + 0.4237 0.145 lineto + 0.3595 0.1447 lineto + 0.2923 0.1442 lineto + %middle circumferential + 0.2923 0.1442 lineto + 0.2213 0.1436 lineto + 0.1484 0.143 lineto + 0.0744 0.1427 lineto + 0.0 0.1425 lineto + %end circumferential + closepath +currentgray 0.5674193548387096 setgray fill setgray +% Sector from 4.516 to 4.7124 (quadrant 2) +newpath + -0.5418 0.1443 moveto + -0.5429 0.0925 lineto + %middle radial + -0.5429 0.0925 lineto + -0.5476 0.0424 lineto + %end radial + -0.5476 0.0424 lineto + -0.492 0.0352 lineto + -0.4319 0.0278 lineto + -0.3674 0.0205 lineto + -0.2986 0.0138 lineto + %middle circumferential + -0.2986 0.0138 lineto + -0.2277 0.0081 lineto + -0.1537 0.0037 lineto + -0.0776 0.001 lineto + 0.0 0.0 lineto + %end circumferential + 0.0 0.0 lineto + 0.0 0.0709 lineto + %middle radial + 0.0 0.0709 lineto + 0.0 0.1425 lineto + %end radial + 0.0 0.1425 lineto + -0.0756 0.1427 lineto + -0.15 0.1431 lineto + -0.2224 0.1436 lineto + -0.2923 0.1442 lineto + %middle circumferential + -0.2923 0.1442 lineto + -0.3605 0.1447 lineto + -0.425 0.145 lineto + -0.4855 0.1449 lineto + -0.5418 0.1443 lineto + %end circumferential + closepath +currentgray 0.5841935483870968 setgray fill setgray +% Sector from 4.3197 to 4.516 (quadrant 2) +newpath + -0.8542 0.1171 moveto + -0.8502 0.0936 lineto + %middle radial + -0.8502 0.0936 lineto + -0.8488 0.0711 lineto + %end radial + -0.8488 0.0711 lineto + -0.7956 0.0698 lineto + -0.7284 0.0645 lineto + %middle circumferential + -0.7284 0.0645 lineto + -0.6469 0.0552 lineto + -0.5476 0.0424 lineto + %end circumferential + -0.5476 0.0424 lineto + -0.5429 0.0925 lineto + %middle radial + -0.5429 0.0925 lineto + -0.5418 0.1443 lineto + %end radial + -0.5418 0.1443 lineto + -0.6437 0.1413 lineto + -0.7282 0.1357 lineto + %middle circumferential + -0.7282 0.1357 lineto + -0.7984 0.1274 lineto + -0.8542 0.1171 lineto + %end circumferential + closepath +currentgray 0.600967741935484 setgray fill setgray +% Sector from 4.1233 to 4.3197 (quadrant 2) +newpath + -0.9784 0.0672 moveto + -0.9732 0.0593 lineto + %middle radial + -0.9732 0.0593 lineto + -0.9692 0.0516 lineto + %end radial + -0.9692 0.0516 lineto + -0.9244 0.0648 lineto + %middle circumferential + -0.9244 0.0648 lineto + -0.8488 0.0711 lineto + %end circumferential + -0.8488 0.0711 lineto + -0.8502 0.0936 lineto + %middle radial + -0.8502 0.0936 lineto + -0.8542 0.1171 lineto + %end radial + -0.8542 0.1171 lineto + -0.9329 0.0926 lineto + %middle circumferential + -0.9329 0.0926 lineto + -0.9784 0.0672 lineto + %end circumferential + closepath +currentgray 0.6177419354838709 setgray fill setgray +% Sector from 3.927 to 4.1233 (quadrant 2) +newpath + -1.0128 0.026 moveto + -1.0091 0.0245 lineto + %middle radial + -1.0091 0.0245 lineto + -1.006 0.0228 lineto + %end radial + -1.006 0.0228 lineto + -0.994 0.0366 lineto + %middle circumferential + -0.994 0.0366 lineto + -0.9692 0.0516 lineto + %end circumferential + -0.9692 0.0516 lineto + -0.9732 0.0593 lineto + %middle radial + -0.9732 0.0593 lineto + -0.9784 0.0672 lineto + %end radial + -0.9784 0.0672 lineto + -1.0023 0.0445 lineto + %middle circumferential + -1.0023 0.0445 lineto + -1.0128 0.026 lineto + %end circumferential + closepath +currentgray 0.6345161290322581 setgray fill setgray +% Sector from 3.7306 to 3.927 (quadrant 2) +newpath + -1.0135 0.0026 moveto + -1.0117 0.0033 lineto + %middle radial + -1.0117 0.0033 lineto + -1.0102 0.0037 lineto + %end radial + -1.0102 0.0037 lineto + -1.0103 0.0117 lineto + %middle circumferential + -1.0103 0.0117 lineto + -1.006 0.0228 lineto + %end circumferential + -1.006 0.0228 lineto + -1.0091 0.0245 lineto + %middle radial + -1.0091 0.0245 lineto + -1.0128 0.026 lineto + %end radial + -1.0128 0.026 lineto + -1.0153 0.0121 lineto + %middle circumferential + -1.0153 0.0121 lineto + -1.0135 0.0026 lineto + %end circumferential + closepath +currentgray 0.6512903225806452 setgray fill setgray +% Sector from 3.5343 to 3.7306 (quadrant 2) +newpath + -1.0052 -0.0059 moveto + -1.0048 -0.0049 lineto + %middle radial + -1.0048 -0.0049 lineto + -1.0045 -0.0041 lineto + %end radial + -1.0045 -0.0041 lineto + -1.0077 -0.0014 lineto + %middle circumferential + -1.0077 -0.0014 lineto + -1.0102 0.0037 lineto + %end circumferential + -1.0102 0.0037 lineto + -1.0117 0.0033 lineto + %middle radial + -1.0117 0.0033 lineto + -1.0135 0.0026 lineto + %end radial + -1.0135 0.0026 lineto + -1.0096 -0.0031 lineto + %middle circumferential + -1.0096 -0.0031 lineto + -1.0052 -0.0059 lineto + %end circumferential + closepath +currentgray 0.6680645161290323 setgray fill setgray +% Sector from 3.3379 to 3.5343 (quadrant 2) +newpath + -0.9978 -0.0051 moveto + -0.9982 -0.0045 lineto + %middle radial + -0.9982 -0.0045 lineto + -0.9986 -0.004 lineto + %end radial + -0.9986 -0.004 lineto + -1.0012 -0.0047 lineto + %middle circumferential + -1.0012 -0.0047 lineto + -1.0045 -0.0041 lineto + %end circumferential + -1.0045 -0.0041 lineto + -1.0048 -0.0049 lineto + %middle radial + -1.0048 -0.0049 lineto + -1.0052 -0.0059 lineto + %end radial + -1.0052 -0.0059 lineto + -1.0011 -0.0063 lineto + %middle circumferential + -1.0011 -0.0063 lineto + -0.9978 -0.0051 lineto + %end circumferential + closepath +currentgray 0.6848387096774193 setgray fill setgray +% Sector from 3.1416 to 3.3379 (quadrant 2) +newpath + -0.9951 0.0 moveto + -0.9957 0.0 lineto + %middle radial + -0.9957 0.0 lineto + -0.9963 0.0 lineto + %end radial + -0.9963 0.0 lineto + -0.9969 -0.0022 lineto + %middle circumferential + -0.9969 -0.0022 lineto + -0.9986 -0.004 lineto + %end circumferential + -0.9986 -0.004 lineto + -0.9982 -0.0045 lineto + %middle radial + -0.9982 -0.0045 lineto + -0.9978 -0.0051 lineto + %end radial + -0.9978 -0.0051 lineto + -0.9958 -0.0028 lineto + %middle circumferential + -0.9958 -0.0028 lineto + -0.9951 0.0 lineto + %end circumferential + closepath +currentgray 0.7016129032258065 setgray fill setgray +% Sector from 2.9452 to 3.1416 (quadrant 1) +newpath + -0.9978 0.0051 moveto + -0.9982 0.0045 lineto + %middle radial + -0.9982 0.0045 lineto + -0.9986 0.004 lineto + %end radial + -0.9986 0.004 lineto + -0.9969 0.0022 lineto + %middle circumferential + -0.9969 0.0022 lineto + -0.9963 0.0 lineto + %end circumferential + -0.9963 0.0 lineto + -0.9957 0.0 lineto + %middle radial + -0.9957 0.0 lineto + -0.9951 0.0 lineto + %end radial + -0.9951 0.0 lineto + -0.9958 0.0028 lineto + %middle circumferential + -0.9958 0.0028 lineto + -0.9978 0.0051 lineto + %end circumferential + closepath +currentgray 0.7183870967741936 setgray fill setgray +% Sector from 2.7489 to 2.9452 (quadrant 1) +newpath + -1.0052 0.0059 moveto + -1.0048 0.0049 lineto + %middle radial + -1.0048 0.0049 lineto + -1.0045 0.0041 lineto + %end radial + -1.0045 0.0041 lineto + -1.0012 0.0047 lineto + %middle circumferential + -1.0012 0.0047 lineto + -0.9986 0.004 lineto + %end circumferential + -0.9986 0.004 lineto + -0.9982 0.0045 lineto + %middle radial + -0.9982 0.0045 lineto + -0.9978 0.0051 lineto + %end radial + -0.9978 0.0051 lineto + -1.0011 0.0063 lineto + %middle circumferential + -1.0011 0.0063 lineto + -1.0052 0.0059 lineto + %end circumferential + closepath +currentgray 0.7351612903225806 setgray fill setgray +% Sector from 2.5525 to 2.7489 (quadrant 1) +newpath + -1.0135 -0.0026 moveto + -1.0117 -0.0033 lineto + %middle radial + -1.0117 -0.0033 lineto + -1.0102 -0.0037 lineto + %end radial + -1.0102 -0.0037 lineto + -1.0077 0.0014 lineto + %middle circumferential + -1.0077 0.0014 lineto + -1.0045 0.0041 lineto + %end circumferential + -1.0045 0.0041 lineto + -1.0048 0.0049 lineto + %middle radial + -1.0048 0.0049 lineto + -1.0052 0.0059 lineto + %end radial + -1.0052 0.0059 lineto + -1.0096 0.0031 lineto + %middle circumferential + -1.0096 0.0031 lineto + -1.0135 -0.0026 lineto + %end circumferential + closepath +currentgray 0.7519354838709679 setgray fill setgray +% Sector from 2.3562 to 2.5525 (quadrant 1) +newpath + -1.0128 -0.026 moveto + -1.0091 -0.0245 lineto + %middle radial + -1.0091 -0.0245 lineto + -1.006 -0.0228 lineto + %end radial + -1.006 -0.0228 lineto + -1.0103 -0.0117 lineto + %middle circumferential + -1.0103 -0.0117 lineto + -1.0102 -0.0037 lineto + %end circumferential + -1.0102 -0.0037 lineto + -1.0117 -0.0033 lineto + %middle radial + -1.0117 -0.0033 lineto + -1.0135 -0.0026 lineto + %end radial + -1.0135 -0.0026 lineto + -1.0153 -0.0121 lineto + %middle circumferential + -1.0153 -0.0121 lineto + -1.0128 -0.026 lineto + %end circumferential + closepath +currentgray 0.7687096774193548 setgray fill setgray +% Sector from 2.1598 to 2.3562 (quadrant 1) +newpath + -0.9784 -0.0672 moveto + -0.9732 -0.0593 lineto + %middle radial + -0.9732 -0.0593 lineto + -0.9692 -0.0516 lineto + %end radial + -0.9692 -0.0516 lineto + -0.994 -0.0366 lineto + %middle circumferential + -0.994 -0.0366 lineto + -1.006 -0.0228 lineto + %end circumferential + -1.006 -0.0228 lineto + -1.0091 -0.0245 lineto + %middle radial + -1.0091 -0.0245 lineto + -1.0128 -0.026 lineto + %end radial + -1.0128 -0.026 lineto + -1.0023 -0.0445 lineto + %middle circumferential + -1.0023 -0.0445 lineto + -0.9784 -0.0672 lineto + %end circumferential + closepath +currentgray 0.7854838709677419 setgray fill setgray +% Sector from 1.9635 to 2.1598 (quadrant 1) +newpath + -0.8542 -0.1171 moveto + -0.8502 -0.0936 lineto + %middle radial + -0.8502 -0.0936 lineto + -0.8488 -0.0711 lineto + %end radial + -0.8488 -0.0711 lineto + -0.9244 -0.0648 lineto + %middle circumferential + -0.9244 -0.0648 lineto + -0.9692 -0.0516 lineto + %end circumferential + -0.9692 -0.0516 lineto + -0.9732 -0.0593 lineto + %middle radial + -0.9732 -0.0593 lineto + -0.9784 -0.0672 lineto + %end radial + -0.9784 -0.0672 lineto + -0.9329 -0.0926 lineto + %middle circumferential + -0.9329 -0.0926 lineto + -0.8542 -0.1171 lineto + %end circumferential + closepath +currentgray 0.802258064516129 setgray fill setgray +% Sector from 1.7671 to 1.9635 (quadrant 1) +newpath + -0.5418 -0.1443 moveto + -0.5429 -0.0925 lineto + %middle radial + -0.5429 -0.0925 lineto + -0.5476 -0.0424 lineto + %end radial + -0.5476 -0.0424 lineto + -0.6452 -0.055 lineto + -0.7284 -0.0645 lineto + %middle circumferential + -0.7284 -0.0645 lineto + -0.7944 -0.0697 lineto + -0.8488 -0.0711 lineto + %end circumferential + -0.8488 -0.0711 lineto + -0.8502 -0.0936 lineto + %middle radial + -0.8502 -0.0936 lineto + -0.8542 -0.1171 lineto + %end radial + -0.8542 -0.1171 lineto + -0.7973 -0.1276 lineto + -0.7282 -0.1357 lineto + %middle circumferential + -0.7282 -0.1357 lineto + -0.6419 -0.1414 lineto + -0.5418 -0.1443 lineto + %end circumferential + closepath +currentgray 0.8190322580645162 setgray fill setgray +% Sector from 1.5708 to 1.7671 (quadrant 1) +newpath + 0.0 -0.1425 moveto + 0.0 -0.0709 lineto + %middle radial + 0.0 -0.0709 lineto + 0.0 0.0 lineto + %end radial + 0.0 0.0 lineto + -0.0752 -9.0E-4 lineto + -0.1507 -0.0036 lineto + -0.2254 -0.008 lineto + -0.2986 -0.0138 lineto + %middle circumferential + -0.2986 -0.0138 lineto + -0.3654 -0.0203 lineto + -0.4295 -0.0275 lineto + -0.4903 -0.035 lineto + -0.5476 -0.0424 lineto + %end circumferential + -0.5476 -0.0424 lineto + -0.5429 -0.0925 lineto + %middle radial + -0.5429 -0.0925 lineto + -0.5418 -0.1443 lineto + %end radial + -0.5418 -0.1443 lineto + -0.4838 -0.1449 lineto + -0.4226 -0.145 lineto + -0.3586 -0.1447 lineto + -0.2923 -0.1442 lineto + %middle circumferential + -0.2923 -0.1442 lineto + -0.2202 -0.1436 lineto + -0.147 -0.143 lineto + -0.0733 -0.1427 lineto + 0.0 -0.1425 lineto + %end circumferential + closepath +currentgray 0.8358064516129032 setgray fill setgray +% Sector from 1.3744 to 1.5708 (quadrant 0) +newpath + 0.5418 -0.1443 moveto + 0.5429 -0.0925 lineto + %middle radial + 0.5429 -0.0925 lineto + 0.5476 -0.0424 lineto + %end radial + 0.5476 -0.0424 lineto + 0.4931 -0.0353 lineto + 0.4334 -0.028 lineto + 0.3686 -0.0206 lineto + 0.2986 -0.0138 lineto + %middle circumferential + 0.2986 -0.0138 lineto + 0.2289 -0.0082 lineto + 0.1554 -0.0038 lineto + 0.0788 -0.001 lineto + 0.0 0.0 lineto + %end circumferential + 0.0 0.0 lineto + 0.0 -0.0709 lineto + %middle radial + 0.0 -0.0709 lineto + 0.0 -0.1425 lineto + %end radial + 0.0 -0.1425 lineto + 0.0768 -0.1427 lineto + 0.1516 -0.1431 lineto + 0.2236 -0.1436 lineto + 0.2923 -0.1442 lineto + %middle circumferential + 0.2923 -0.1442 lineto + 0.3617 -0.1447 lineto + 0.4265 -0.145 lineto + 0.4866 -0.1449 lineto + 0.5418 -0.1443 lineto + %end circumferential + closepath +currentgray 0.8525806451612903 setgray fill setgray +% Sector from 1.1781 to 1.3744 (quadrant 0) +newpath + 0.8542 -0.1171 moveto + 0.8502 -0.0936 lineto + %middle radial + 0.8502 -0.0936 lineto + 0.8488 -0.0711 lineto + %end radial + 0.8488 -0.0711 lineto + 0.7964 -0.0699 lineto + 0.7284 -0.0645 lineto + %middle circumferential + 0.7284 -0.0645 lineto + 0.6481 -0.0554 lineto + 0.5476 -0.0424 lineto + %end circumferential + 0.5476 -0.0424 lineto + 0.5429 -0.0925 lineto + %middle radial + 0.5429 -0.0925 lineto + 0.5418 -0.1443 lineto + %end radial + 0.5418 -0.1443 lineto + 0.6449 -0.1413 lineto + 0.7282 -0.1357 lineto + %middle circumferential + 0.7282 -0.1357 lineto + 0.7993 -0.1273 lineto + 0.8542 -0.1171 lineto + %end circumferential + closepath +currentgray 0.8693548387096775 setgray fill setgray +% Sector from 0.9817 to 1.1781 (quadrant 0) +newpath + 0.9784 -0.0672 moveto + 0.9732 -0.0593 lineto + %middle radial + 0.9732 -0.0593 lineto + 0.9692 -0.0516 lineto + %end radial + 0.9692 -0.0516 lineto + 0.9244 -0.0648 lineto + %middle circumferential + 0.9244 -0.0648 lineto + 0.8488 -0.0711 lineto + %end circumferential + 0.8488 -0.0711 lineto + 0.8502 -0.0936 lineto + %middle radial + 0.8502 -0.0936 lineto + 0.8542 -0.1171 lineto + %end radial + 0.8542 -0.1171 lineto + 0.9329 -0.0926 lineto + %middle circumferential + 0.9329 -0.0926 lineto + 0.9784 -0.0672 lineto + %end circumferential + closepath +currentgray 0.8861290322580645 setgray fill setgray +% Sector from 0.7854 to 0.9817 (quadrant 0) +newpath + 1.0128 -0.026 moveto + 1.0091 -0.0245 lineto + %middle radial + 1.0091 -0.0245 lineto + 1.006 -0.0228 lineto + %end radial + 1.006 -0.0228 lineto + 0.994 -0.0366 lineto + %middle circumferential + 0.994 -0.0366 lineto + 0.9692 -0.0516 lineto + %end circumferential + 0.9692 -0.0516 lineto + 0.9732 -0.0593 lineto + %middle radial + 0.9732 -0.0593 lineto + 0.9784 -0.0672 lineto + %end radial + 0.9784 -0.0672 lineto + 1.0023 -0.0445 lineto + %middle circumferential + 1.0023 -0.0445 lineto + 1.0128 -0.026 lineto + %end circumferential + closepath +currentgray 0.9029032258064516 setgray fill setgray +% Sector from 0.589 to 0.7854 (quadrant 0) +newpath + 1.0135 -0.0026 moveto + 1.0117 -0.0033 lineto + %middle radial + 1.0117 -0.0033 lineto + 1.0102 -0.0037 lineto + %end radial + 1.0102 -0.0037 lineto + 1.0103 -0.0117 lineto + %middle circumferential + 1.0103 -0.0117 lineto + 1.006 -0.0228 lineto + %end circumferential + 1.006 -0.0228 lineto + 1.0091 -0.0245 lineto + %middle radial + 1.0091 -0.0245 lineto + 1.0128 -0.026 lineto + %end radial + 1.0128 -0.026 lineto + 1.0153 -0.0121 lineto + %middle circumferential + 1.0153 -0.0121 lineto + 1.0135 -0.0026 lineto + %end circumferential + closepath +currentgray 0.9196774193548387 setgray fill setgray +% Sector from 0.3927 to 0.589 (quadrant 0) +newpath + 1.0052 0.0059 moveto + 1.0048 0.0049 lineto + %middle radial + 1.0048 0.0049 lineto + 1.0045 0.0041 lineto + %end radial + 1.0045 0.0041 lineto + 1.0077 0.0014 lineto + %middle circumferential + 1.0077 0.0014 lineto + 1.0102 -0.0037 lineto + %end circumferential + 1.0102 -0.0037 lineto + 1.0117 -0.0033 lineto + %middle radial + 1.0117 -0.0033 lineto + 1.0135 -0.0026 lineto + %end radial + 1.0135 -0.0026 lineto + 1.0096 0.0031 lineto + %middle circumferential + 1.0096 0.0031 lineto + 1.0052 0.0059 lineto + %end circumferential + closepath +currentgray 0.9364516129032258 setgray fill setgray +% Sector from 0.1963 to 0.3927 (quadrant 0) +newpath + 0.9978 0.0051 moveto + 0.9982 0.0045 lineto + %middle radial + 0.9982 0.0045 lineto + 0.9986 0.004 lineto + %end radial + 0.9986 0.004 lineto + 1.0012 0.0047 lineto + %middle circumferential + 1.0012 0.0047 lineto + 1.0045 0.0041 lineto + %end circumferential + 1.0045 0.0041 lineto + 1.0048 0.0049 lineto + %middle radial + 1.0048 0.0049 lineto + 1.0052 0.0059 lineto + %end radial + 1.0052 0.0059 lineto + 1.0011 0.0063 lineto + %middle circumferential + 1.0011 0.0063 lineto + 0.9978 0.0051 lineto + %end circumferential + closepath +currentgray 0.9532258064516128 setgray fill setgray +% Sector from 0.0 to 0.1963 (quadrant 0) +newpath + 0.9951 0.0 moveto + 0.9957 0.0 lineto + %middle radial + 0.9957 0.0 lineto + 0.9963 0.0 lineto + %end radial + 0.9963 0.0 lineto + 0.9969 0.0022 lineto + %middle circumferential + 0.9969 0.0022 lineto + 0.9986 0.004 lineto + %end circumferential + 0.9986 0.004 lineto + 0.9982 0.0045 lineto + %middle radial + 0.9982 0.0045 lineto + 0.9978 0.0051 lineto + %end radial + 0.9978 0.0051 lineto + 0.9958 0.0028 lineto + %middle circumferential + 0.9958 0.0028 lineto + 0.9951 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Horizontal line from (0.5, 0.0) to (0.0, 0.0) +newpath + 0.4621 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.5, 0.0) to (1.0, 0.0) +newpath + 0.4621 0.0 moveto + 0.7616 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.0, 0.0) +newpath + 0.964 0.0 moveto + 0.7616 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.1579208923731617E77, 0.0) +newpath + 0.964 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (0.0, 1.0) +newpath + 1.0148 0.0338 moveto + 1.0463 0.1188 lineto + 1.0676 0.1938 lineto + 1.0875 0.2938 lineto + 1.0948 0.3529 lineto + 1.099 0.4176 lineto + 1.0994 0.4872 lineto + 1.0949 0.5606 lineto + 1.0851 0.6367 lineto + 1.0694 0.7141 lineto + 1.0478 0.7916 lineto + 1.0204 0.8678 lineto + 0.9877 0.9414 lineto + 0.9502 1.0114 lineto + 0.9088 1.0769 lineto + 0.8645 1.1374 lineto + 0.8181 1.1926 lineto + 0.7706 1.2423 lineto + 0.7227 1.2866 lineto + 0.6753 1.3256 lineto + 0.5839 1.3896 lineto + 0.4997 1.4373 lineto + 0.4244 1.4722 lineto + 0.3585 1.4974 lineto + 0.3015 1.5153 lineto + 0.2117 1.5368 lineto + 0.1234 1.5505 lineto + 0.0414 1.5566 lineto + 0.0 1.5574 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (1.1579208923731617E77, 1.0) +newpath + 1.0148 0.0338 moveto + 1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (0.0, -1.0) +newpath + 1.0148 -0.0338 moveto + 1.0463 -0.1188 lineto + 1.0676 -0.1938 lineto + 1.0875 -0.2938 lineto + 1.0948 -0.3529 lineto + 1.099 -0.4176 lineto + 1.0994 -0.4872 lineto + 1.0949 -0.5606 lineto + 1.0851 -0.6367 lineto + 1.0694 -0.7141 lineto + 1.0478 -0.7916 lineto + 1.0204 -0.8678 lineto + 0.9877 -0.9414 lineto + 0.9502 -1.0114 lineto + 0.9088 -1.0769 lineto + 0.8645 -1.1374 lineto + 0.8181 -1.1926 lineto + 0.7706 -1.2423 lineto + 0.7227 -1.2866 lineto + 0.6753 -1.3256 lineto + 0.5839 -1.3896 lineto + 0.4997 -1.4373 lineto + 0.4244 -1.4722 lineto + 0.3585 -1.4974 lineto + 0.3015 -1.5153 lineto + 0.2117 -1.5368 lineto + 0.1234 -1.5505 lineto + 0.0414 -1.5566 lineto + 0.0 -1.5574 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (1.1579208923731617E77, -1.0) +newpath + 1.0148 -0.0338 moveto + 1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (1.1579208923731617E77, 2.0) +newpath + 0.0 -2.185 moveto + 0.0876 -2.1821 lineto + 0.1844 -2.1721 lineto + 0.2666 -2.1579 lineto + 0.3501 -2.1378 lineto + 0.4186 -2.117 lineto + 0.4985 -2.0874 lineto + 0.5905 -2.0457 lineto + 0.6674 -2.0041 lineto + 0.722 -1.9703 lineto + 0.779 -1.931 lineto + 0.8379 -1.8854 lineto + 0.8979 -1.8331 lineto + 0.9582 -1.7736 lineto + 1.0178 -1.7064 lineto + 1.0754 -1.6314 lineto + 1.1299 -1.5488 lineto + 1.1797 -1.4589 lineto + 1.2236 -1.3626 lineto + 1.2602 -1.2609 lineto + 1.2887 -1.1554 lineto + 1.3085 -1.0478 lineto + 1.3191 -0.94 lineto + 1.321 -0.8339 lineto + 1.3147 -0.7313 lineto + 1.3012 -0.6338 lineto + 1.2818 -0.5427 lineto + 1.2579 -0.459 lineto + 1.2309 -0.3833 lineto + 1.2024 -0.3159 lineto + 1.1737 -0.2567 lineto + 1.1324 -0.1828 lineto + 1.085 -0.1095 lineto + 1.0491 -0.0604 lineto + 1.0042 -0.0049 lineto + 1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (1.1579208923731617E77, -2.0) +newpath + 0.0 2.185 moveto + 0.0876 2.1821 lineto + 0.1844 2.1721 lineto + 0.2666 2.1579 lineto + 0.3501 2.1378 lineto + 0.4186 2.117 lineto + 0.4985 2.0874 lineto + 0.5905 2.0457 lineto + 0.6674 2.0041 lineto + 0.722 1.9703 lineto + 0.779 1.931 lineto + 0.8379 1.8854 lineto + 0.8979 1.8331 lineto + 0.9582 1.7736 lineto + 1.0178 1.7064 lineto + 1.0754 1.6314 lineto + 1.1299 1.5488 lineto + 1.1797 1.4589 lineto + 1.2236 1.3626 lineto + 1.2602 1.2609 lineto + 1.2887 1.1554 lineto + 1.3085 1.0478 lineto + 1.3191 0.94 lineto + 1.321 0.8339 lineto + 1.3147 0.7313 lineto + 1.3012 0.6338 lineto + 1.2818 0.5427 lineto + 1.2579 0.459 lineto + 1.2309 0.3833 lineto + 1.2024 0.3159 lineto + 1.1737 0.2567 lineto + 1.1324 0.1828 lineto + 1.085 0.1095 lineto + 1.0491 0.0604 lineto + 1.0042 0.0049 lineto + 1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (1.1579208923731617E77, 3.0) +newpath + 0.0 -0.1425 moveto + 0.0691 -0.1419 lineto + 0.1454 -0.1396 lineto + 0.2097 -0.1364 lineto + 0.2999 -0.13 lineto + 0.388 -0.1214 lineto + 0.457 -0.1132 lineto + 0.5333 -0.1026 lineto + 0.6149 -0.0893 lineto + 0.698 -0.0738 lineto + 0.7778 -0.057 lineto + 0.8489 -0.0404 lineto + 0.9294 -0.0198 lineto + 0.9938 -0.0018 lineto + 1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (1.1579208923731617E77, -3.0) +newpath + 0.0 0.1425 moveto + 0.0691 0.1419 lineto + 0.1454 0.1396 lineto + 0.2097 0.1364 lineto + 0.2999 0.13 lineto + 0.388 0.1214 lineto + 0.457 0.1132 lineto + 0.5333 0.1026 lineto + 0.6149 0.0893 lineto + 0.698 0.0738 lineto + 0.7778 0.057 lineto + 0.8489 0.0404 lineto + 0.9294 0.0198 lineto + 0.9938 0.0018 lineto + 1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (0.0, 0.0) +newpath + -0.4621 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (-1.0, 0.0) +newpath + -0.4621 0.0 moveto + -0.7616 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.0, 0.0) +newpath + -0.964 0.0 moveto + -0.7616 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.1579208923731617E77, 0.0) +newpath + -0.964 0.0 moveto + -1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (0.0, 1.0) +newpath + -1.0148 0.0338 moveto + -1.0463 0.1188 lineto + -1.0676 0.1938 lineto + -1.0875 0.2938 lineto + -1.0948 0.3529 lineto + -1.099 0.4176 lineto + -1.0994 0.4872 lineto + -1.0949 0.5606 lineto + -1.0851 0.6367 lineto + -1.0694 0.7141 lineto + -1.0478 0.7916 lineto + -1.0204 0.8678 lineto + -0.9877 0.9414 lineto + -0.9502 1.0114 lineto + -0.9088 1.0769 lineto + -0.8645 1.1374 lineto + -0.8181 1.1926 lineto + -0.7706 1.2423 lineto + -0.7227 1.2866 lineto + -0.6753 1.3256 lineto + -0.5839 1.3896 lineto + -0.4997 1.4373 lineto + -0.4244 1.4722 lineto + -0.3585 1.4974 lineto + -0.3015 1.5153 lineto + -0.2117 1.5368 lineto + -0.1234 1.5505 lineto + -0.0414 1.5566 lineto + 0.0 1.5574 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (-1.1579208923731617E77, 1.0) +newpath + -1.0148 0.0338 moveto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (0.0, -1.0) +newpath + -1.0148 -0.0338 moveto + -1.0463 -0.1188 lineto + -1.0676 -0.1938 lineto + -1.0875 -0.2938 lineto + -1.0948 -0.3529 lineto + -1.099 -0.4176 lineto + -1.0994 -0.4872 lineto + -1.0949 -0.5606 lineto + -1.0851 -0.6367 lineto + -1.0694 -0.7141 lineto + -1.0478 -0.7916 lineto + -1.0204 -0.8678 lineto + -0.9877 -0.9414 lineto + -0.9502 -1.0114 lineto + -0.9088 -1.0769 lineto + -0.8645 -1.1374 lineto + -0.8181 -1.1926 lineto + -0.7706 -1.2423 lineto + -0.7227 -1.2866 lineto + -0.6753 -1.3256 lineto + -0.5839 -1.3896 lineto + -0.4997 -1.4373 lineto + -0.4244 -1.4722 lineto + -0.3585 -1.4974 lineto + -0.3015 -1.5153 lineto + -0.2117 -1.5368 lineto + -0.1234 -1.5505 lineto + -0.0414 -1.5566 lineto + 0.0 -1.5574 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (-1.1579208923731617E77, -1.0) +newpath + -1.0148 -0.0338 moveto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (-1.1579208923731617E77, 2.0) +newpath + 0.0 -2.185 moveto + -0.0876 -2.1821 lineto + -0.1844 -2.1721 lineto + -0.2666 -2.1579 lineto + -0.3501 -2.1378 lineto + -0.4186 -2.117 lineto + -0.4985 -2.0874 lineto + -0.5905 -2.0457 lineto + -0.6674 -2.0041 lineto + -0.722 -1.9703 lineto + -0.779 -1.931 lineto + -0.8379 -1.8854 lineto + -0.8979 -1.8331 lineto + -0.9582 -1.7736 lineto + -1.0178 -1.7064 lineto + -1.0754 -1.6314 lineto + -1.1299 -1.5488 lineto + -1.1797 -1.4589 lineto + -1.2236 -1.3626 lineto + -1.2602 -1.2609 lineto + -1.2887 -1.1554 lineto + -1.3085 -1.0478 lineto + -1.3191 -0.94 lineto + -1.321 -0.8339 lineto + -1.3147 -0.7313 lineto + -1.3012 -0.6338 lineto + -1.2818 -0.5427 lineto + -1.2579 -0.459 lineto + -1.2309 -0.3833 lineto + -1.2024 -0.3159 lineto + -1.1737 -0.2567 lineto + -1.1324 -0.1828 lineto + -1.085 -0.1095 lineto + -1.0491 -0.0604 lineto + -1.0042 -0.0049 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (-1.1579208923731617E77, -2.0) +newpath + 0.0 2.185 moveto + -0.0876 2.1821 lineto + -0.1844 2.1721 lineto + -0.2666 2.1579 lineto + -0.3501 2.1378 lineto + -0.4186 2.117 lineto + -0.4985 2.0874 lineto + -0.5905 2.0457 lineto + -0.6674 2.0041 lineto + -0.722 1.9703 lineto + -0.779 1.931 lineto + -0.8379 1.8854 lineto + -0.8979 1.8331 lineto + -0.9582 1.7736 lineto + -1.0178 1.7064 lineto + -1.0754 1.6314 lineto + -1.1299 1.5488 lineto + -1.1797 1.4589 lineto + -1.2236 1.3626 lineto + -1.2602 1.2609 lineto + -1.2887 1.1554 lineto + -1.3085 1.0478 lineto + -1.3191 0.94 lineto + -1.321 0.8339 lineto + -1.3147 0.7313 lineto + -1.3012 0.6338 lineto + -1.2818 0.5427 lineto + -1.2579 0.459 lineto + -1.2309 0.3833 lineto + -1.2024 0.3159 lineto + -1.1737 0.2567 lineto + -1.1324 0.1828 lineto + -1.085 0.1095 lineto + -1.0491 0.0604 lineto + -1.0042 0.0049 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (-1.1579208923731617E77, 3.0) +newpath + 0.0 -0.1425 moveto + -0.0691 -0.1419 lineto + -0.1454 -0.1396 lineto + -0.2097 -0.1364 lineto + -0.2999 -0.13 lineto + -0.388 -0.1214 lineto + -0.457 -0.1132 lineto + -0.5333 -0.1026 lineto + -0.6149 -0.0893 lineto + -0.698 -0.0738 lineto + -0.7778 -0.057 lineto + -0.8489 -0.0404 lineto + -0.9294 -0.0198 lineto + -0.9938 -0.0018 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (-1.1579208923731617E77, -3.0) +newpath + 0.0 0.1425 moveto + -0.0691 0.1419 lineto + -0.1454 0.1396 lineto + -0.2097 0.1364 lineto + -0.2999 0.13 lineto + -0.388 0.1214 lineto + -0.457 0.1132 lineto + -0.5333 0.1026 lineto + -0.6149 0.0893 lineto + -0.698 0.0738 lineto + -0.7778 0.057 lineto + -0.8489 0.0404 lineto + -0.9294 0.0198 lineto + -0.9938 0.0018 lineto + -1.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 0.0) +newpath + 0.0 0.5463 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 1.0) +newpath + 0.0 0.5463 moveto + 0.0 1.5574 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.0) +newpath + 0.0 -2.185 moveto + 0.0 -6.3588 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 1.5574 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.1579208923731617E77) +newpath + 0.0 -2.185 moveto + 0.0 6.3746 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 6.3236 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -2.185 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 0.0) +newpath + 1.1667 -0.2435 moveto + 1.2553 -0.1689 lineto + 1.3044 -0.0684 lineto + 1.3107 0.0358 lineto + 1.2825 0.126 lineto + 1.2334 0.1938 lineto + 1.1755 0.2386 lineto + 1.1171 0.2639 lineto + 1.0148 0.2748 lineto + 0.9381 0.2573 lineto + 0.8631 0.2137 lineto + 0.8101 0.1562 lineto + 0.7777 0.0929 lineto + 0.7616 0.0024 lineto + 0.7616 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 1.1579208923731617E77) +newpath + 1.1667 -0.2435 moveto + 1.058 -0.2749 lineto + 0.9476 -0.2607 lineto + 0.8535 -0.2055 lineto + 0.7884 -0.1186 lineto + 0.7618 -0.0099 lineto + 0.7661 0.0494 lineto + 0.7844 0.1098 lineto + 0.819 0.1684 lineto + 0.8725 0.2211 lineto + 0.9471 0.2606 lineto + 1.0423 0.2757 lineto + 1.1506 0.2514 lineto + 1.2038 0.2198 lineto + 1.2513 0.1739 lineto + 1.2881 0.1146 lineto + 1.3094 0.0448 lineto + 1.3113 -0.0305 lineto + 1.2924 -0.1046 lineto + 1.2539 -0.1707 lineto + 1.1996 -0.2229 lineto + 1.1352 -0.2578 lineto + 1.0665 -0.2742 lineto + 0.9988 -0.273 lineto + 0.936 -0.2564 lineto + 0.8811 -0.2272 lineto + 0.8355 -0.1879 lineto + 0.8003 -0.141 lineto + 0.7635 -0.0322 lineto + 0.7673 0.0558 lineto + 0.7864 0.1142 lineto + 0.8201 0.1698 lineto + 0.8697 0.2189 lineto + 0.9362 0.2565 lineto + 1.0185 0.2751 lineto + 1.1121 0.2654 lineto + 1.2056 0.2184 lineto + 1.2644 0.1564 lineto + 1.2928 0.1036 lineto + 1.3095 0.0443 lineto + 1.3124 -0.0185 lineto + 1.301 -0.0807 lineto + 1.2757 -0.1386 lineto + 1.2385 -0.1885 lineto + 1.1923 -0.2281 lineto + 1.1667 -0.2435 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 0.0) +newpath + -1.1667 -0.2435 moveto + -1.2553 -0.1689 lineto + -1.3044 -0.0684 lineto + -1.3107 0.0358 lineto + -1.2825 0.126 lineto + -1.2334 0.1938 lineto + -1.1755 0.2386 lineto + -1.1171 0.2639 lineto + -1.0148 0.2748 lineto + -0.9381 0.2573 lineto + -0.8631 0.2137 lineto + -0.8101 0.1562 lineto + -0.7777 0.0929 lineto + -0.7616 0.0024 lineto + -0.7616 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 1.1579208923731617E77) +newpath + -1.1667 -0.2435 moveto + -1.058 -0.2749 lineto + -0.9476 -0.2607 lineto + -0.8535 -0.2055 lineto + -0.7884 -0.1186 lineto + -0.7618 -0.0099 lineto + -0.7661 0.0494 lineto + -0.7844 0.1098 lineto + -0.819 0.1684 lineto + -0.8725 0.2211 lineto + -0.9471 0.2606 lineto + -1.0423 0.2757 lineto + -1.1506 0.2514 lineto + -1.2038 0.2198 lineto + -1.2513 0.1739 lineto + -1.2881 0.1146 lineto + -1.3094 0.0448 lineto + -1.3113 -0.0305 lineto + -1.2924 -0.1046 lineto + -1.2539 -0.1707 lineto + -1.1996 -0.2229 lineto + -1.1352 -0.2578 lineto + -1.0665 -0.2742 lineto + -0.9988 -0.273 lineto + -0.936 -0.2564 lineto + -0.8811 -0.2272 lineto + -0.8355 -0.1879 lineto + -0.8003 -0.141 lineto + -0.7635 -0.0322 lineto + -0.7673 0.0558 lineto + -0.7864 0.1142 lineto + -0.8201 0.1698 lineto + -0.8697 0.2189 lineto + -0.9362 0.2565 lineto + -1.0185 0.2751 lineto + -1.1121 0.2654 lineto + -1.2056 0.2184 lineto + -1.2644 0.1564 lineto + -1.2928 0.1036 lineto + -1.3095 0.0443 lineto + -1.3124 -0.0185 lineto + -1.301 -0.0807 lineto + -1.2757 -0.1386 lineto + -1.2385 -0.1885 lineto + -1.1923 -0.2281 lineto + -1.1667 -0.2435 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, 1.1579208923731617E77) +newpath + 0.964 0.0 moveto + 0.964 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, 1.1579208923731617E77) +newpath + -0.964 0.0 moveto + -0.964 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, 1.1579208923731617E77) +newpath + 0.9951 0.0 moveto + 0.9951 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, 1.1579208923731617E77) +newpath + -0.9951 0.0 moveto + -0.9951 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, 0.0) +newpath + 0.0 -0.5463 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, -1.0) +newpath + 0.0 -0.5463 moveto + 0.0 -1.5574 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.0) +newpath + 0.0 2.185 moveto + 0.0 6.3588 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -1.5574 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.1579208923731617E77) +newpath + 0.0 2.185 moveto + 0.0 -6.3746 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 -6.3236 lineto + 0.0 -6.378103166302659 lineto + 0.0 -6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 2.185 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, 0.0) +newpath + 1.1667 0.2435 moveto + 1.2553 0.1689 lineto + 1.3044 0.0684 lineto + 1.3107 -0.0358 lineto + 1.2825 -0.126 lineto + 1.2334 -0.1938 lineto + 1.1755 -0.2386 lineto + 1.1171 -0.2639 lineto + 1.0148 -0.2748 lineto + 0.9381 -0.2573 lineto + 0.8631 -0.2137 lineto + 0.8101 -0.1562 lineto + 0.7777 -0.0929 lineto + 0.7616 -0.0024 lineto + 0.7616 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, -1.1579208923731617E77) +newpath + 1.1667 0.2435 moveto + 1.058 0.2749 lineto + 0.9476 0.2607 lineto + 0.8535 0.2055 lineto + 0.7884 0.1186 lineto + 0.7618 0.0099 lineto + 0.7661 -0.0494 lineto + 0.7844 -0.1098 lineto + 0.819 -0.1684 lineto + 0.8725 -0.2211 lineto + 0.9471 -0.2606 lineto + 1.0423 -0.2757 lineto + 1.1506 -0.2514 lineto + 1.2038 -0.2198 lineto + 1.2513 -0.1739 lineto + 1.2881 -0.1146 lineto + 1.3094 -0.0448 lineto + 1.3113 0.0305 lineto + 1.2924 0.1046 lineto + 1.2539 0.1707 lineto + 1.1996 0.2229 lineto + 1.1352 0.2578 lineto + 1.0665 0.2742 lineto + 0.9988 0.273 lineto + 0.936 0.2564 lineto + 0.8811 0.2272 lineto + 0.8355 0.1879 lineto + 0.8003 0.141 lineto + 0.7635 0.0322 lineto + 0.7673 -0.0558 lineto + 0.7864 -0.1142 lineto + 0.8201 -0.1698 lineto + 0.8697 -0.2189 lineto + 0.9362 -0.2565 lineto + 1.0185 -0.2751 lineto + 1.1121 -0.2654 lineto + 1.2056 -0.2184 lineto + 1.2644 -0.1564 lineto + 1.2928 -0.1036 lineto + 1.3095 -0.0443 lineto + 1.3124 0.0185 lineto + 1.301 0.0807 lineto + 1.2757 0.1386 lineto + 1.2385 0.1885 lineto + 1.1923 0.2281 lineto + 1.1667 0.2435 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, 0.0) +newpath + -1.1667 0.2435 moveto + -1.2553 0.1689 lineto + -1.3044 0.0684 lineto + -1.3107 -0.0358 lineto + -1.2825 -0.126 lineto + -1.2334 -0.1938 lineto + -1.1755 -0.2386 lineto + -1.1171 -0.2639 lineto + -1.0148 -0.2748 lineto + -0.9381 -0.2573 lineto + -0.8631 -0.2137 lineto + -0.8101 -0.1562 lineto + -0.7777 -0.0929 lineto + -0.7616 -0.0024 lineto + -0.7616 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, -1.1579208923731617E77) +newpath + -1.1667 0.2435 moveto + -1.058 0.2749 lineto + -0.9476 0.2607 lineto + -0.8535 0.2055 lineto + -0.7884 0.1186 lineto + -0.7618 0.0099 lineto + -0.7661 -0.0494 lineto + -0.7844 -0.1098 lineto + -0.819 -0.1684 lineto + -0.8725 -0.2211 lineto + -0.9471 -0.2606 lineto + -1.0423 -0.2757 lineto + -1.1506 -0.2514 lineto + -1.2038 -0.2198 lineto + -1.2513 -0.1739 lineto + -1.2881 -0.1146 lineto + -1.3094 -0.0448 lineto + -1.3113 0.0305 lineto + -1.2924 0.1046 lineto + -1.2539 0.1707 lineto + -1.1996 0.2229 lineto + -1.1352 0.2578 lineto + -1.0665 0.2742 lineto + -0.9988 0.273 lineto + -0.936 0.2564 lineto + -0.8811 0.2272 lineto + -0.8355 0.1879 lineto + -0.8003 0.141 lineto + -0.7635 0.0322 lineto + -0.7673 -0.0558 lineto + -0.7864 -0.1142 lineto + -0.8201 -0.1698 lineto + -0.8697 -0.2189 lineto + -0.9362 -0.2565 lineto + -1.0185 -0.2751 lineto + -1.1121 -0.2654 lineto + -1.2056 -0.2184 lineto + -1.2644 -0.1564 lineto + -1.2928 -0.1036 lineto + -1.3095 -0.0443 lineto + -1.3124 0.0185 lineto + -1.301 0.0807 lineto + -1.2757 0.1386 lineto + -1.2385 0.1885 lineto + -1.1923 0.2281 lineto + -1.1667 0.2435 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, -1.1579208923731617E77) +newpath + 0.964 0.0 moveto + 0.964 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, -1.1579208923731617E77) +newpath + -0.964 0.0 moveto + -0.964 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, -1.1579208923731617E77) +newpath + 0.9951 0.0 moveto + 0.9951 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, -1.1579208923731617E77) +newpath + -0.9951 0.0 moveto + -0.9951 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Real axis +newpath -5 0 moveto 5 0 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 1.0 0.12 moveto 1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.0 0.12 moveto -1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 2.0 0.12 moveto 2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -2.0 0.12 moveto -2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.0 0.12 moveto 3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.0 0.12 moveto -3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 4.0 0.12 moveto 4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -4.0 0.12 moveto -4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 1.5707963267948966 0.09 moveto 1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.5707963267948966 0.09 moveto -1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.141592653589793 0.09 moveto 3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.141592653589793 0.09 moveto -3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +% Imaginary axis +newpath 0 -5 moveto 0 5 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 0.12 1.0 moveto -0.12 1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -1.0 moveto -0.12 -1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 2.0 moveto -0.12 2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -2.0 moveto -0.12 -2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 3.0 moveto -0.12 3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -3.0 moveto -0.12 -3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 4.0 moveto -0.12 4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -4.0 moveto -0.12 -4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 1.5707963267948966 moveto -0.09 1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -1.5707963267948966 moveto -0.09 -1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 3.141592653589793 moveto -0.09 3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -3.141592653589793 moveto -0.09 -3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +% End of PostScript file for plot of function TANH +%%EndDocument + @endspecial 34 x(The)j(diagram)h(for)e Fj(tanh)f FA(is)j(simply)g +(that)f(of)g Fj(tan)e FA(turned)j(on)f(its)g(ear:)25 +b Fq(i)10 b FA(tan)d Fq(z)21 b FA(=)c(tanh)7 b Fq(iz)e +FA(.)0 1846 y(The)12 b(imaginary)j(axis)e(is)g(mapp)q(ed)h(on)o(to)f +(itself)g(with)g(in\014nite)h(m)o(ultipli)q(cit)o(y)i(\(p)q(erio)q(d)e +(2)p Fd(\031)q FA(\),)e(and)0 1891 y(the)18 b(real)h(axis)g(is)g(mapp)q +(ed)h(on)o(to)e(the)g(segmen)o(t)h([)p Ff(\000)p FA(1)p +Fd(;)6 b FA(+1]:)27 b(+)p Ff(1)18 b FA(is)h(mapp)q(ed)g(to)f(+1,)h(and) +0 1937 y Ff(\0001)14 b FA(to)g Ff(\000)p FA(1.)19 b(V)m(ertical)c +(lines)h(to)d(the)h(left)g(or)g(righ)o(t)h(of)f(the)g(real)g(axis)h +(are)f(mapp)q(ed)h(to)f(circles)0 1983 y(surrounding)21 +b Ff(\000)p FA(1)d(or)h(1,)g(resp)q(ectiv)o(ely)m(.)35 +b(Horizon)o(tal)20 b(lines)g(are)e(mapp)q(ed)i(to)e(circular)i(arcs)0 +2028 y(anc)o(hored)15 b(at)e Ff(\000)p FA(1)h(and)g(+1;)f(t)o(w)o(o)g +(horizon)o(tal)j(lines)f(separated)g(b)o(y)f(a)f(distance)j(\(2)p +Fq(k)c FA(+)d(1\))p Fd(\031)15 b FA(for)0 2074 y(in)o(teger)f +Fq(k)i FA(are)d(together)g(mapp)q(ed)h(in)o(to)f(a)g(complete)h +(circle.)k(Ho)o(w)12 b(do)h(w)o(e)f(kno)o(w)h(these)g(really)0 +2120 y(are)e(circles?)19 b(W)m(ell,)13 b(tanh)7 b Fq(z)15 +b FA(=)10 b(\(\(exp)d(2)p Fq(z)e FA(\))g Ff(\000)g FA(1\))p +Fd(=)p FA(\(\(exp)j(2)p Fq(z)d FA(\))g(+)g(1\),)11 b(whic)o(h)h(is)g +(the)g(comp)q(osition)i(of)0 2165 y(the)f(bilinear)i(transform)e(\()p +Fq(z)e Ff(\000)c FA(1\))p Fd(=)p FA(\()p Fq(z)12 b FA(+)c(1\),)k(the)g +(exp)q(onen)o(tial)k(exp)7 b Fq(z)e FA(,)11 b(and)i(the)g +(magni\014cation)0 2211 y(2)p Fq(z)5 b FA(.)35 b(Magni\014cation)22 +b(maps)d(lines)i(to)e(lines)i(of)e(the)g(same)h(slop)q(e;)j(the)c(exp)q +(onen)o(tial)j(maps)0 2257 y(horizon)o(tal)16 b(lines)e(to)f(circles)i +(and)f(v)o(ertical)h(lines)g(to)e(radial)i(lines;)f(and)g(a)f(bilinear) +j(transform)0 2302 y(maps)d(generalized)j(circles)e(\(includin)q(g)i +(lines\))e(to)f(generalized)j(circles.)i(Q.E.D.)p 0 2334 +V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 358 382 +358 381 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(358)77 b(COMMON)13 +b(LISP)p 0 255 1395 2 v 0 322 a Fm(Figure)h(12-18:)j +FA(Illustration)f(of)d(the)g(Range)h(of)f(the)g(Hyp)q(erb)q(olic)i(Arc) +e(T)m(angen)o(t)g(F)m(unction)0 1766 y @beginspecial +@setspecial +%%BeginDocument: really-good-atanh-plot.ps +% PostScript file for plot of function REALLY-GOOD-ATANH +% Plot is to fit in a region 4.666666666666667 inches square +% showing axes extending 4.1 units from the origin. + +40.97560975609756 40.97560975609756 scale +4.1 4.1 translate +newpath + -4.1 -4.1 moveto + 4.1 -4.1 lineto + 4.1 4.1 lineto + -4.1 4.1 lineto + closepath +clip +% Moby grid for function REALLY-GOOD-ATANH +% Annulus 0.25 0.5 4 0.97 0.45 +% Sector from 4.7124 to 6.2832 (quadrant 3) +newpath + 0.0 -0.245 moveto + 0.0 -0.2971 lineto + 0.0 -0.3588 lineto + %middle radial + 0.0 -0.3588 lineto + 0.0 -0.4636 lineto + %end radial + 0.0 -0.4636 lineto + 0.0742 -0.4595 lineto + 0.152 -0.446 lineto + 0.2341 -0.4203 lineto + 0.3206 -0.378 lineto + %middle circumferential + 0.3206 -0.378 lineto + 0.3971 -0.3222 lineto + 0.4698 -0.2422 lineto + 0.5012 -0.1914 lineto + 0.5266 -0.1333 lineto + 0.5434 -0.0688 lineto + 0.5493 0.0 lineto + %end circumferential + 0.5493 0.0 lineto + 0.3942 0.0 lineto + %middle radial + 0.3942 0.0 lineto + 0.2554 0.0 lineto + %end radial + 0.2554 0.0 lineto + 0.2314 -0.1038 lineto + 0.173 -0.1803 lineto + %middle circumferential + 0.173 -0.1803 lineto + 0.0876 -0.2301 lineto + 0.0 -0.245 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 3.1416 to 4.7124 (quadrant 2) +newpath + -0.2554 0.0 moveto + -0.3942 0.0 lineto + %middle radial + -0.3942 0.0 lineto + -0.5493 0.0 lineto + %end radial + -0.5493 0.0 lineto + -0.545 -0.0589 lineto + -0.5318 -0.1173 lineto + -0.5103 -0.1732 lineto + -0.4815 -0.225 lineto + -0.4077 -0.3127 lineto + -0.3206 -0.378 lineto + %middle circumferential + -0.3206 -0.378 lineto + -0.2444 -0.4162 lineto + -0.1654 -0.4426 lineto + -0.0842 -0.4583 lineto + 0.0 -0.4636 lineto + %end circumferential + 0.0 -0.4636 lineto + 0.0 -0.3588 lineto + %middle radial + 0.0 -0.3588 lineto + 0.0 -0.2971 lineto + 0.0 -0.245 lineto + %end radial + 0.0 -0.245 lineto + -0.095 -0.2274 lineto + -0.173 -0.1803 lineto + %middle circumferential + -0.173 -0.1803 lineto + -0.2353 -0.0955 lineto + -0.2554 0.0 lineto + %end circumferential + closepath +currentgray 0.6233333333333334 setgray fill setgray +% Sector from 1.5708 to 3.1416 (quadrant 1) +newpath + 0.0 0.245 moveto + 0.0 0.3588 lineto + %middle radial + 0.0 0.3588 lineto + 0.0 0.4636 lineto + %end radial + 0.0 0.4636 lineto + -0.0671 0.4603 lineto + -0.142 0.4482 lineto + -0.2261 0.4234 lineto + -0.3206 0.378 lineto + %middle circumferential + -0.3206 0.378 lineto + -0.3928 0.326 lineto + -0.4646 0.2494 lineto + -0.497 0.1993 lineto + -0.524 0.1404 lineto + -0.5425 0.0733 lineto + -0.5493 0.0 lineto + %end circumferential + -0.5493 0.0 lineto + -0.3942 0.0 lineto + %middle radial + -0.3942 0.0 lineto + -0.2554 0.0 lineto + %end radial + -0.2554 0.0 lineto + -0.2297 0.1073 lineto + -0.173 0.1803 lineto + %middle circumferential + -0.173 0.1803 lineto + -0.0821 0.232 lineto + 0.0 0.245 lineto + %end circumferential + closepath +currentgray 0.7966666666666668 setgray fill setgray +% Sector from 0.0 to 1.5708 (quadrant 0) +newpath + 0.2554 0.0 moveto + 0.3942 0.0 lineto + %middle radial + 0.3942 0.0 lineto + 0.5493 0.0 lineto + %end radial + 0.5493 0.0 lineto + 0.5449 0.0589 lineto + 0.5311 0.1195 lineto + 0.4983 0.1969 lineto + 0.4522 0.2653 lineto + 0.3744 0.3411 lineto + 0.3206 0.378 lineto + %middle circumferential + 0.3206 0.378 lineto + 0.2587 0.4101 lineto + 0.1857 0.4369 lineto + 0.1003 0.456 lineto + 0.0 0.4636 lineto + %end circumferential + 0.0 0.4636 lineto + 0.0 0.3588 lineto + %middle radial + 0.0 0.3588 lineto + 0.0 0.245 lineto + %end radial + 0.0 0.245 lineto + 0.0306 0.2432 lineto + 0.106 0.2229 lineto + 0.173 0.1803 lineto + %middle circumferential + 0.173 0.1803 lineto + 0.2131 0.1352 lineto + 0.2503 0.0486 lineto + 0.2554 0.0 lineto + %end circumferential + closepath +currentgray 0.9700000000000001 setgray fill setgray +% Annulus 0.75 1.0 8 0.97 0.45 +% Sector from 5.4978 to 6.2832 (quadrant 3) +newpath + 0.4135 -0.5898 moveto + 0.4345 -0.6918 lineto + %middle radial + 0.4345 -0.6918 lineto + 0.4407 -0.7854 lineto + %end radial + 0.4407 -0.7854 lineto + 0.4752 -0.7854 lineto + 0.5511 -0.7854 lineto + 0.6895 -0.7854 lineto + 0.8074 -0.7854 lineto + %middle circumferential + 0.8074 -0.7854 lineto + 0.9104 -0.7854 lineto + 1.0925 -0.7854 lineto + 1.217 -0.7854 lineto + 1.2934 -0.7854 lineto + 1.4946 -0.7854 lineto + 1.6809 -0.7854 lineto + 1.8093 -0.7854 lineto + 1.9829 -0.7854 lineto + 2.1549 -0.7854 lineto + 2.2518 -0.7854 lineto + 2.3288 -0.7854 lineto + 2.4198 -0.7854 lineto + 2.598 -0.7854 lineto + 2.675 -0.7854 lineto + 2.8473 -0.7854 lineto + 2.9813 -0.7854 lineto + 3.0648 -0.7854 lineto + 3.1937 -0.7854 lineto + 3.459 -0.7854 lineto + 3.7579 -0.7854 lineto + 3.8582 -0.7854 lineto + 3.9493 -0.7854 lineto + 4.0609 -0.7854 lineto + 4.2636 -0.7854 lineto + 4.3304 -0.7854 lineto + 4.4075 -0.7854 lineto + 4.4986 -0.7854 lineto + 4.6425 -0.7854 lineto + 4.754 -0.7854 lineto + 4.9265 -0.7854 lineto + 4.989 -0.7854 lineto + 5.273 -0.7854 lineto + 5.4072 -0.7854 lineto + 5.5383 -0.7854 lineto + 5.6499 -0.7854 lineto + 5.7537 -0.7854 lineto + 5.8373 -0.7854 lineto + 5.9376 -0.7854 lineto + 6.0633 -0.7854 lineto + 6.1403 -0.7854 lineto + 6.2842 -0.7854 lineto + 6.378103166302659 -0.7916 lineto + 6.378103166302659 -0.7854 lineto + %end circumferential + 6.378103166302659 -0.7854 lineto + 6.378103166302659 0.0 lineto + 6.3492 0.0 lineto + 1.354 0.0 lineto + %middle radial + 1.354 0.0 lineto + 0.973 0.0 lineto + %end radial + 0.973 0.0 lineto + 0.9653 -0.0857 lineto + 0.9437 -0.1658 lineto + 0.9117 -0.2371 lineto + 0.8732 -0.2984 lineto + 0.8312 -0.3502 lineto + 0.7881 -0.3935 lineto + 0.7037 -0.4598 lineto + %middle circumferential + 0.7037 -0.4598 lineto + 0.6201 -0.5094 lineto + 0.5443 -0.5447 lineto + 0.4758 -0.5705 lineto + 0.4135 -0.5898 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 4.7124 to 5.4978 (quadrant 3) +newpath + 0.0 -0.6435 moveto + 0.0 -0.7188 lineto + %middle radial + 0.0 -0.7188 lineto + 0.0 -0.7854 lineto + %end radial + 0.0 -0.7854 lineto + 0.2016 -0.7854 lineto + %middle circumferential + 0.2016 -0.7854 lineto + 0.3411 -0.7854 lineto + 0.4407 -0.7854 lineto + %end circumferential + 0.4407 -0.7854 lineto + 0.4345 -0.6918 lineto + %middle radial + 0.4345 -0.6918 lineto + 0.4135 -0.5898 lineto + %end radial + 0.4135 -0.5898 lineto + 0.3821 -0.5981 lineto + 0.2954 -0.6171 lineto + 0.1927 -0.6325 lineto + %middle circumferential + 0.1927 -0.6325 lineto + 0.0928 -0.641 lineto + 0.0 -0.6435 lineto + %end circumferential + closepath +currentgray 0.5242857142857142 setgray fill setgray +% Sector from 3.927 to 4.7124 (quadrant 2) +newpath + -0.4135 -0.5898 moveto + -0.4345 -0.6918 lineto + %middle radial + -0.4345 -0.6918 lineto + -0.4407 -0.7854 lineto + %end radial + -0.4407 -0.7854 lineto + -0.2016 -0.7854 lineto + %middle circumferential + -0.2016 -0.7854 lineto + 0.0 -0.7854 lineto + %end circumferential + 0.0 -0.7854 lineto + 0.0 -0.7188 lineto + %middle radial + 0.0 -0.7188 lineto + 0.0 -0.6435 lineto + %end radial + 0.0 -0.6435 lineto + -0.0968 -0.6408 lineto + -0.1927 -0.6325 lineto + %middle circumferential + -0.1927 -0.6325 lineto + -0.3 -0.6162 lineto + -0.3843 -0.5976 lineto + -0.4135 -0.5898 lineto + %end circumferential + closepath +currentgray 0.5985714285714285 setgray fill setgray +% Sector from 3.1416 to 3.927 (quadrant 2) +newpath + -0.973 0.0 moveto + -1.354 0.0 lineto + %middle radial + -1.354 0.0 lineto + -6.3492 0.0 lineto + -6.378103166302659 0.0 lineto + -6.378103166302659 -0.7854 lineto + %end radial + -6.378103166302659 -0.7854 lineto + -6.378103166302659 -0.786 lineto + -6.2773 -0.7854 lineto + -6.0745 -0.7854 lineto + -5.9834 -0.7854 lineto + -5.7995 -0.7854 lineto + -5.728 -0.7854 lineto + -5.6654 -0.7854 lineto + -5.5841 -0.7854 lineto + -5.3491 -0.7854 lineto + -5.1899 -0.7854 lineto + -5.1064 -0.7854 lineto + -5.0348 -0.7854 lineto + -4.9722 -0.7854 lineto + -4.891 -0.7854 lineto + -4.6882 -0.7854 lineto + -4.5971 -0.7854 lineto + -4.4132 -0.7854 lineto + -4.3416 -0.7854 lineto + -4.1501 -0.7854 lineto + -4.0295 -0.7854 lineto + -3.9628 -0.7854 lineto + -3.8512 -0.7854 lineto + -3.76 -0.7854 lineto + -3.6829 -0.7854 lineto + -3.6161 -0.7854 lineto + -3.5572 -0.7854 lineto + -3.4569 -0.7854 lineto + -3.2694 -0.7854 lineto + -3.1578 -0.7854 lineto + -3.0666 -0.7854 lineto + -2.9895 -0.7854 lineto + -2.8637 -0.7854 lineto + -2.6425 -0.7854 lineto + -2.5756 -0.7854 lineto + -2.5166 -0.7854 lineto + -2.2605 -0.7854 lineto + -2.1977 -0.7854 lineto + -1.9469 -0.7854 lineto + -1.7189 -0.7854 lineto + -1.5968 -0.7854 lineto + -1.4691 -0.7854 lineto + -1.2811 -0.7854 lineto + -1.0577 -0.7854 lineto + -0.9617 -0.7854 lineto + -0.8074 -0.7854 lineto + %middle circumferential + -0.8074 -0.7854 lineto + -0.6011 -0.7854 lineto + -0.478 -0.7854 lineto + -0.4407 -0.7854 lineto + %end circumferential + -0.4407 -0.7854 lineto + -0.4345 -0.6918 lineto + %middle radial + -0.4345 -0.6918 lineto + -0.4135 -0.5898 lineto + %end radial + -0.4135 -0.5898 lineto + -0.4802 -0.569 lineto + -0.5506 -0.5421 lineto + -0.6252 -0.5067 lineto + -0.7037 -0.4598 lineto + %middle circumferential + -0.7037 -0.4598 lineto + -0.7715 -0.4082 lineto + -0.8165 -0.3658 lineto + -0.86 -0.316 lineto + -0.8999 -0.2579 lineto + -0.9336 -0.1915 lineto + -0.9583 -0.1179 lineto + -0.9713 -0.0397 lineto + -0.973 0.0 lineto + %end circumferential + closepath +currentgray 0.6728571428571428 setgray fill setgray +% Sector from 2.3562 to 3.1416 (quadrant 1) +newpath + -0.4135 0.5898 moveto + -0.4345 0.6918 lineto + %middle radial + -0.4345 0.6918 lineto + -0.4407 0.7854 lineto + %end radial + -0.4407 0.7854 lineto + -0.6861 0.7854 lineto + -0.8074 0.7854 lineto + %middle circumferential + -0.8074 0.7854 lineto + -0.8716 0.7854 lineto + -1.1738 0.7854 lineto + -1.2437 0.7854 lineto + -1.3254 0.7854 lineto + -1.5844 0.7854 lineto + -1.6669 0.7854 lineto + -1.7663 0.7854 lineto + -1.9675 0.7854 lineto + -2.0582 0.7854 lineto + -2.1391 0.7854 lineto + -2.2014 0.7854 lineto + -2.3126 0.7854 lineto + -2.4035 0.7854 lineto + -2.547 0.7854 lineto + -2.8021 0.7854 lineto + -2.9276 0.7854 lineto + -3.0046 0.7854 lineto + -3.1483 0.7854 lineto + -3.311 0.7854 lineto + -3.4421 0.7854 lineto + -3.5233 0.7854 lineto + -3.5859 0.7854 lineto + -3.7886 0.7854 lineto + -3.8698 0.7854 lineto + -4.004 0.7854 lineto + -4.1351 0.7854 lineto + -4.4817 0.7854 lineto + -4.5932 0.7854 lineto + -4.66 0.7854 lineto + -4.9398 0.7854 lineto + -5.0836 0.7854 lineto + -5.2275 0.7854 lineto + -5.2864 0.7854 lineto + -5.3531 0.7854 lineto + -5.4737 0.7854 lineto + -5.5741 0.7854 lineto + -5.7768 0.7854 lineto + -5.868 0.7854 lineto + -5.9492 0.7854 lineto + -6.0463 0.7854 lineto + -6.1669 0.7854 lineto + -6.3261 0.7854 lineto + -6.378103166302659 0.7855 lineto + -6.378103166302659 0.7854 lineto + %end circumferential + -6.378103166302659 0.7854 lineto + -6.378103166302659 0.0 lineto + -6.3492 0.0 lineto + -1.354 0.0 lineto + %middle radial + -1.354 0.0 lineto + -0.973 0.0 lineto + %end radial + -0.973 0.0 lineto + -0.9648 0.0882 lineto + -0.9423 0.1697 lineto + -0.9094 0.2413 lineto + -0.8703 0.3023 lineto + -0.8284 0.3532 lineto + -0.7859 0.3955 lineto + -0.7037 0.4598 lineto + %middle circumferential + -0.7037 0.4598 lineto + -0.6175 0.5107 lineto + -0.5413 0.546 lineto + -0.4738 0.5712 lineto + -0.4135 0.5898 lineto + %end circumferential + closepath +currentgray 0.7471428571428572 setgray fill setgray +% Sector from 1.5708 to 2.3562 (quadrant 1) +newpath + 0.0 0.6435 moveto + 0.0 0.7188 lineto + %middle radial + 0.0 0.7188 lineto + 0.0 0.7854 lineto + %end radial + 0.0 0.7854 lineto + -0.2016 0.7854 lineto + %middle circumferential + -0.2016 0.7854 lineto + -0.4407 0.7854 lineto + %end circumferential + -0.4407 0.7854 lineto + -0.4345 0.6918 lineto + %middle radial + -0.4345 0.6918 lineto + -0.4135 0.5898 lineto + %end radial + -0.4135 0.5898 lineto + -0.3807 0.5985 lineto + -0.2924 0.6176 lineto + -0.1927 0.6325 lineto + %middle circumferential + -0.1927 0.6325 lineto + -0.0894 0.6412 lineto + 0.0 0.6435 lineto + %end circumferential + closepath +currentgray 0.8214285714285714 setgray fill setgray +% Sector from 0.7854 to 1.5708 (quadrant 0) +newpath + 0.4135 0.5898 moveto + 0.4345 0.6918 lineto + %middle radial + 0.4345 0.6918 lineto + 0.4407 0.7854 lineto + %end radial + 0.4407 0.7854 lineto + 0.3252 0.7854 lineto + 0.2647 0.7854 lineto + 0.2016 0.7854 lineto + %middle circumferential + 0.2016 0.7854 lineto + 0.106 0.7854 lineto + 0.0 0.7854 lineto + %end circumferential + 0.0 0.7854 lineto + 0.0 0.7188 lineto + %middle radial + 0.0 0.7188 lineto + 0.0 0.6435 lineto + %end radial + 0.0 0.6435 lineto + 0.1016 0.6405 lineto + 0.1927 0.6325 lineto + %middle circumferential + 0.1927 0.6325 lineto + 0.2522 0.6244 lineto + 0.3622 0.603 lineto + 0.4135 0.5898 lineto + %end circumferential + closepath +currentgray 0.8957142857142858 setgray fill setgray +% Sector from 0.0 to 0.7854 (quadrant 0) +newpath + 0.973 0.0 moveto + 1.354 0.0 lineto + %middle radial + 1.354 0.0 lineto + 6.3492 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.7854 lineto + %end radial + 6.378103166302659 0.7854 lineto + 6.378103166302659 0.1074 lineto + 6.378103166302659 0.211 lineto + 6.378103166302659 0.4076 lineto + 6.378103166302659 0.7877 lineto + 6.2842 0.7854 lineto + 6.0129 0.7854 lineto + 5.8321 0.7854 lineto + 5.6965 0.7854 lineto + 5.6061 0.7854 lineto + 5.3348 0.7854 lineto + 5.2444 0.7854 lineto + 4.8827 0.7854 lineto + 4.5663 0.7854 lineto + 4.4306 0.7854 lineto + 4.2498 0.7854 lineto + 4.1142 0.7854 lineto + 4.0238 0.7854 lineto + 3.9333 0.7854 lineto + 3.7525 0.7854 lineto + 3.6621 0.7854 lineto + 3.5717 0.7854 lineto + 3.4812 0.7854 lineto + 3.3908 0.7854 lineto + 3.21 0.7854 lineto + 3.1196 0.7854 lineto + 3.0292 0.7854 lineto + 2.9387 0.7854 lineto + 2.8031 0.7854 lineto + 2.6223 0.7854 lineto + 2.5319 0.7854 lineto + 2.2154 0.7854 lineto + 1.9893 0.7854 lineto + 1.8989 0.7854 lineto + 1.7632 0.7854 lineto + 1.6727 0.7854 lineto + 1.5369 0.7854 lineto + 1.401 0.7854 lineto + 1.3103 0.7854 lineto + 0.8074 0.7854 lineto + %middle circumferential + 0.8074 0.7854 lineto + 0.4884 0.7854 lineto + 0.4407 0.7854 lineto + %end circumferential + 0.4407 0.7854 lineto + 0.4345 0.6918 lineto + %middle radial + 0.4345 0.6918 lineto + 0.4135 0.5898 lineto + %end radial + 0.4135 0.5898 lineto + 0.4959 0.5635 lineto + 0.5719 0.5328 lineto + 0.6414 0.498 lineto + 0.7037 0.4598 lineto + %middle circumferential + 0.7037 0.4598 lineto + 0.7606 0.4173 lineto + 0.8089 0.3735 lineto + 0.8488 0.3299 lineto + 0.9053 0.2487 lineto + 0.9379 0.1811 lineto + 0.9606 0.1085 lineto + 0.9715 0.0372 lineto + 0.973 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 1.5708 2.0 16 0.97 0.45 +% Sector from 5.8905 to 6.2832 (quadrant 3) +newpath + 0.6056 -1.2276 moveto + 0.5328 -1.2916 lineto + %middle radial + 0.5328 -1.2916 lineto + 0.4743 -1.3349 lineto + %end radial + 0.4743 -1.3349 lineto + 0.5045 -1.3857 lineto + 0.5286 -1.4436 lineto + %middle circumferential + 0.5286 -1.4436 lineto + 0.5439 -1.5053 lineto + 0.5493 -1.5708 lineto + %end circumferential + 0.5493 -1.5708 lineto + 0.633 -1.5708 lineto + %middle radial + 0.633 -1.5708 lineto + 0.7525 -1.5708 lineto + %end radial + 0.7525 -1.5708 lineto + 0.7404 -1.4666 lineto + 0.7077 -1.373 lineto + %middle circumferential + 0.7077 -1.373 lineto + 0.6601 -1.2922 lineto + 0.6056 -1.2276 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.4978 to 5.8905 (quadrant 3) +newpath + 0.3797 -1.0773 moveto + 0.3489 -1.1424 lineto + %middle radial + 0.3489 -1.1424 lineto + 0.3206 -1.1928 lineto + %end radial + 0.3206 -1.1928 lineto + 0.401 -1.252 lineto + %middle circumferential + 0.401 -1.252 lineto + 0.4743 -1.3349 lineto + %end circumferential + 0.4743 -1.3349 lineto + 0.5328 -1.2916 lineto + %middle radial + 0.5328 -1.2916 lineto + 0.6056 -1.2276 lineto + %end radial + 0.6056 -1.2276 lineto + 0.5475 -1.1754 lineto + 0.4903 -1.1349 lineto + %middle circumferential + 0.4903 -1.1349 lineto + 0.4335 -1.1025 lineto + 0.3797 -1.0773 lineto + %end circumferential + closepath +currentgray 0.48466666666666664 setgray fill setgray +% Sector from 5.1051 to 5.4978 (quadrant 3) +newpath + 0.1809 -1.0194 moveto + 0.1693 -1.0782 lineto + %middle radial + 0.1693 -1.0782 lineto + 0.1581 -1.1263 lineto + %end radial + 0.1581 -1.1263 lineto + 0.2389 -1.1524 lineto + %middle circumferential + 0.2389 -1.1524 lineto + 0.3206 -1.1928 lineto + %end circumferential + 0.3206 -1.1928 lineto + 0.3489 -1.1424 lineto + %middle radial + 0.3489 -1.1424 lineto + 0.3797 -1.0773 lineto + %end radial + 0.3797 -1.0773 lineto + 0.2769 -1.0413 lineto + %middle circumferential + 0.2769 -1.0413 lineto + 0.1809 -1.0194 lineto + %end circumferential + closepath +currentgray 0.5193333333333334 setgray fill setgray +% Sector from 4.7124 to 5.1051 (quadrant 3) +newpath + 0.0 -1.0039 moveto + 0.0 -1.0602 lineto + %middle radial + 0.0 -1.0602 lineto + 0.0 -1.1071 lineto + %end radial + 0.0 -1.1071 lineto + 0.0787 -1.1118 lineto + %middle circumferential + 0.0787 -1.1118 lineto + 0.1581 -1.1263 lineto + %end circumferential + 0.1581 -1.1263 lineto + 0.1693 -1.0782 lineto + %middle radial + 0.1693 -1.0782 lineto + 0.1809 -1.0194 lineto + %end radial + 0.1809 -1.0194 lineto + 0.0893 -1.0076 lineto + %middle circumferential + 0.0893 -1.0076 lineto + 0.0 -1.0039 lineto + %end circumferential + closepath +currentgray 0.554 setgray fill setgray +% Sector from 4.3197 to 4.7124 (quadrant 2) +newpath + -0.1809 -1.0194 moveto + -0.1693 -1.0782 lineto + %middle radial + -0.1693 -1.0782 lineto + -0.1581 -1.1263 lineto + %end radial + -0.1581 -1.1263 lineto + -0.0787 -1.1118 lineto + %middle circumferential + -0.0787 -1.1118 lineto + 0.0 -1.1071 lineto + %end circumferential + 0.0 -1.1071 lineto + 0.0 -1.0602 lineto + %middle radial + 0.0 -1.0602 lineto + 0.0 -1.0039 lineto + %end radial + 0.0 -1.0039 lineto + -0.0893 -1.0076 lineto + %middle circumferential + -0.0893 -1.0076 lineto + -0.1809 -1.0194 lineto + %end circumferential + closepath +currentgray 0.5886666666666667 setgray fill setgray +% Sector from 3.927 to 4.3197 (quadrant 2) +newpath + -0.3797 -1.0773 moveto + -0.3489 -1.1424 lineto + %middle radial + -0.3489 -1.1424 lineto + -0.3206 -1.1928 lineto + %end radial + -0.3206 -1.1928 lineto + -0.2389 -1.1524 lineto + %middle circumferential + -0.2389 -1.1524 lineto + -0.1581 -1.1263 lineto + %end circumferential + -0.1581 -1.1263 lineto + -0.1693 -1.0782 lineto + %middle radial + -0.1693 -1.0782 lineto + -0.1809 -1.0194 lineto + %end radial + -0.1809 -1.0194 lineto + -0.2769 -1.0413 lineto + %middle circumferential + -0.2769 -1.0413 lineto + -0.3797 -1.0773 lineto + %end circumferential + closepath +currentgray 0.6233333333333333 setgray fill setgray +% Sector from 3.5343 to 3.927 (quadrant 2) +newpath + -0.6056 -1.2276 moveto + -0.5328 -1.2916 lineto + %middle radial + -0.5328 -1.2916 lineto + -0.4743 -1.3349 lineto + %end radial + -0.4743 -1.3349 lineto + -0.401 -1.252 lineto + %middle circumferential + -0.401 -1.252 lineto + -0.3206 -1.1928 lineto + %end circumferential + -0.3206 -1.1928 lineto + -0.3489 -1.1424 lineto + %middle radial + -0.3489 -1.1424 lineto + -0.3797 -1.0773 lineto + %end radial + -0.3797 -1.0773 lineto + -0.4347 -1.1031 lineto + -0.4903 -1.1349 lineto + %middle circumferential + -0.4903 -1.1349 lineto + -0.5488 -1.1764 lineto + -0.6056 -1.2276 lineto + %end circumferential + closepath +currentgray 0.658 setgray fill setgray +% Sector from 3.1416 to 3.5343 (quadrant 2) +newpath + -0.7525 -1.5708 moveto + -0.633 -1.5708 lineto + %middle radial + -0.633 -1.5708 lineto + -0.5493 -1.5708 lineto + %end radial + -0.5493 -1.5708 lineto + -0.5442 -1.5068 lineto + -0.5286 -1.4436 lineto + %middle circumferential + -0.5286 -1.4436 lineto + -0.5051 -1.3869 lineto + -0.4743 -1.3349 lineto + %end circumferential + -0.4743 -1.3349 lineto + -0.5328 -1.2916 lineto + %middle radial + -0.5328 -1.2916 lineto + -0.6056 -1.2276 lineto + %end radial + -0.6056 -1.2276 lineto + -0.6612 -1.2938 lineto + -0.7077 -1.373 lineto + %middle circumferential + -0.7077 -1.373 lineto + -0.7409 -1.4689 lineto + -0.7525 -1.5708 lineto + %end circumferential + closepath +currentgray 0.6926666666666667 setgray fill setgray +% Sector from 2.7489 to 3.1416 (quadrant 1) +newpath + -0.6056 1.2276 moveto + -0.5328 1.2916 lineto + %middle radial + -0.5328 1.2916 lineto + -0.4743 1.3349 lineto + %end radial + -0.4743 1.3349 lineto + -0.5043 1.3852 lineto + -0.5286 1.4436 lineto + %middle circumferential + -0.5286 1.4436 lineto + -0.5438 1.5048 lineto + -0.5493 1.5708 lineto + %end circumferential + -0.5493 1.5708 lineto + -0.633 1.5708 lineto + %middle radial + -0.633 1.5708 lineto + -0.7525 1.5708 lineto + %end radial + -0.7525 1.5708 lineto + -0.7402 1.4658 lineto + -0.7077 1.373 lineto + %middle circumferential + -0.7077 1.373 lineto + -0.6596 1.2915 lineto + -0.6056 1.2276 lineto + %end circumferential + closepath +currentgray 0.7273333333333334 setgray fill setgray +% Sector from 2.3562 to 2.7489 (quadrant 1) +newpath + -0.3797 1.0773 moveto + -0.3489 1.1424 lineto + %middle radial + -0.3489 1.1424 lineto + -0.3206 1.1928 lineto + %end radial + -0.3206 1.1928 lineto + -0.401 1.252 lineto + %middle circumferential + -0.401 1.252 lineto + -0.4743 1.3349 lineto + %end circumferential + -0.4743 1.3349 lineto + -0.5328 1.2916 lineto + %middle radial + -0.5328 1.2916 lineto + -0.6056 1.2276 lineto + %end radial + -0.6056 1.2276 lineto + -0.5469 1.175 lineto + -0.4903 1.1349 lineto + %middle circumferential + -0.4903 1.1349 lineto + -0.4329 1.1022 lineto + -0.3797 1.0773 lineto + %end circumferential + closepath +currentgray 0.762 setgray fill setgray +% Sector from 1.9635 to 2.3562 (quadrant 1) +newpath + -0.1809 1.0194 moveto + -0.1693 1.0782 lineto + %middle radial + -0.1693 1.0782 lineto + -0.1581 1.1263 lineto + %end radial + -0.1581 1.1263 lineto + -0.2389 1.1524 lineto + %middle circumferential + -0.2389 1.1524 lineto + -0.3206 1.1928 lineto + %end circumferential + -0.3206 1.1928 lineto + -0.3489 1.1424 lineto + %middle radial + -0.3489 1.1424 lineto + -0.3797 1.0773 lineto + %end radial + -0.3797 1.0773 lineto + -0.2769 1.0413 lineto + %middle circumferential + -0.2769 1.0413 lineto + -0.1809 1.0194 lineto + %end circumferential + closepath +currentgray 0.7966666666666666 setgray fill setgray +% Sector from 1.5708 to 1.9635 (quadrant 1) +newpath + 0.0 1.0039 moveto + 0.0 1.0602 lineto + %middle radial + 0.0 1.0602 lineto + 0.0 1.1071 lineto + %end radial + 0.0 1.1071 lineto + -0.0787 1.1118 lineto + %middle circumferential + -0.0787 1.1118 lineto + -0.1581 1.1263 lineto + %end circumferential + -0.1581 1.1263 lineto + -0.1693 1.0782 lineto + %middle radial + -0.1693 1.0782 lineto + -0.1809 1.0194 lineto + %end radial + -0.1809 1.0194 lineto + -0.0893 1.0076 lineto + %middle circumferential + -0.0893 1.0076 lineto + 0.0 1.0039 lineto + %end circumferential + closepath +currentgray 0.8313333333333334 setgray fill setgray +% Sector from 1.1781 to 1.5708 (quadrant 0) +newpath + 0.1809 1.0194 moveto + 0.1693 1.0782 lineto + %middle radial + 0.1693 1.0782 lineto + 0.1581 1.1263 lineto + %end radial + 0.1581 1.1263 lineto + 0.0787 1.1118 lineto + %middle circumferential + 0.0787 1.1118 lineto + 0.0 1.1071 lineto + %end circumferential + 0.0 1.1071 lineto + 0.0 1.0602 lineto + %middle radial + 0.0 1.0602 lineto + 0.0 1.0039 lineto + %end radial + 0.0 1.0039 lineto + 0.0893 1.0076 lineto + %middle circumferential + 0.0893 1.0076 lineto + 0.1809 1.0194 lineto + %end circumferential + closepath +currentgray 0.866 setgray fill setgray +% Sector from 0.7854 to 1.1781 (quadrant 0) +newpath + 0.3797 1.0773 moveto + 0.3489 1.1424 lineto + %middle radial + 0.3489 1.1424 lineto + 0.3206 1.1928 lineto + %end radial + 0.3206 1.1928 lineto + 0.2389 1.1524 lineto + %middle circumferential + 0.2389 1.1524 lineto + 0.1581 1.1263 lineto + %end circumferential + 0.1581 1.1263 lineto + 0.1693 1.0782 lineto + %middle radial + 0.1693 1.0782 lineto + 0.1809 1.0194 lineto + %end radial + 0.1809 1.0194 lineto + 0.2769 1.0413 lineto + %middle circumferential + 0.2769 1.0413 lineto + 0.3797 1.0773 lineto + %end circumferential + closepath +currentgray 0.9006666666666666 setgray fill setgray +% Sector from 0.3927 to 0.7854 (quadrant 0) +newpath + 0.6056 1.2276 moveto + 0.5328 1.2916 lineto + %middle radial + 0.5328 1.2916 lineto + 0.4743 1.3349 lineto + %end radial + 0.4743 1.3349 lineto + 0.4428 1.2944 lineto + 0.401 1.252 lineto + %middle circumferential + 0.401 1.252 lineto + 0.3206 1.1928 lineto + %end circumferential + 0.3206 1.1928 lineto + 0.3489 1.1424 lineto + %middle radial + 0.3489 1.1424 lineto + 0.3797 1.0773 lineto + %end radial + 0.3797 1.0773 lineto + 0.438 1.1048 lineto + 0.4903 1.1349 lineto + %middle circumferential + 0.4903 1.1349 lineto + 0.5539 1.1805 lineto + 0.6056 1.2276 lineto + %end circumferential + closepath +currentgray 0.9353333333333332 setgray fill setgray +% Sector from 0.0 to 0.3927 (quadrant 0) +newpath + 0.7525 1.5708 moveto + 0.633 1.5708 lineto + %middle radial + 0.633 1.5708 lineto + 0.5493 1.5708 lineto + %end radial + 0.5493 1.5708 lineto + 0.5493 1.5704 lineto + 0.5443 1.5076 lineto + 0.5286 1.4436 lineto + %middle circumferential + 0.5286 1.4436 lineto + 0.4943 1.3668 lineto + 0.4743 1.3349 lineto + %end circumferential + 0.4743 1.3349 lineto + 0.5328 1.2916 lineto + %middle radial + 0.5328 1.2916 lineto + 0.6056 1.2276 lineto + %end radial + 0.6056 1.2276 lineto + 0.6693 1.3054 lineto + 0.7077 1.373 lineto + %middle circumferential + 0.7077 1.373 lineto + 0.7297 1.4286 lineto + 0.7498 1.5212 lineto + 0.7525 1.5708 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 3.0 3.1416 32 0.97 0.45 +% Sector from 6.0868 to 6.2832 (quadrant 3) +newpath + 0.3377 -1.4982 moveto + 0.3294 -1.5002 lineto + %middle radial + 0.3294 -1.5002 lineto + 0.3215 -1.5021 lineto + %end radial + 0.3215 -1.5021 lineto + 0.3277 -1.5361 lineto + %middle circumferential + 0.3277 -1.5361 lineto + 0.3298 -1.5708 lineto + %end circumferential + 0.3298 -1.5708 lineto + 0.338 -1.5708 lineto + %middle radial + 0.338 -1.5708 lineto + 0.3466 -1.5708 lineto + %end radial + 0.3466 -1.5708 lineto + 0.3443 -1.5341 lineto + %middle circumferential + 0.3443 -1.5341 lineto + 0.3377 -1.4982 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.8905 to 6.0868 (quadrant 3) +newpath + 0.3123 -1.431 moveto + 0.3049 -1.4348 lineto + %middle radial + 0.3049 -1.4348 lineto + 0.2979 -1.4384 lineto + %end radial + 0.2979 -1.4384 lineto + 0.3115 -1.4694 lineto + %middle circumferential + 0.3115 -1.4694 lineto + 0.3215 -1.5021 lineto + %end circumferential + 0.3215 -1.5021 lineto + 0.3294 -1.5002 lineto + %middle radial + 0.3294 -1.5002 lineto + 0.3377 -1.4982 lineto + %end radial + 0.3377 -1.4982 lineto + 0.3269 -1.4636 lineto + %middle circumferential + 0.3269 -1.4636 lineto + 0.3123 -1.431 lineto + %end circumferential + closepath +currentgray 0.4667741935483871 setgray fill setgray +% Sector from 5.6941 to 5.8905 (quadrant 3) +newpath + 0.2739 -1.3734 moveto + 0.2678 -1.3785 lineto + %middle radial + 0.2678 -1.3785 lineto + 0.2619 -1.3833 lineto + %end radial + 0.2619 -1.3833 lineto + 0.2812 -1.4097 lineto + %middle circumferential + 0.2812 -1.4097 lineto + 0.2979 -1.4384 lineto + %end circumferential + 0.2979 -1.4384 lineto + 0.3049 -1.4348 lineto + %middle radial + 0.3049 -1.4348 lineto + 0.3123 -1.431 lineto + %end radial + 0.3123 -1.431 lineto + 0.2945 -1.4009 lineto + %middle circumferential + 0.2945 -1.4009 lineto + 0.2739 -1.3734 lineto + %end circumferential + closepath +currentgray 0.4835483870967742 setgray fill setgray +% Sector from 5.4978 to 5.6941 (quadrant 3) +newpath + 0.2264 -1.327 moveto + 0.2217 -1.3329 lineto + %middle radial + 0.2217 -1.3329 lineto + 0.2171 -1.3386 lineto + %end radial + 0.2171 -1.3386 lineto + 0.2404 -1.3596 lineto + %middle circumferential + 0.2404 -1.3596 lineto + 0.2619 -1.3833 lineto + %end circumferential + 0.2619 -1.3833 lineto + 0.2678 -1.3785 lineto + %middle radial + 0.2678 -1.3785 lineto + 0.2739 -1.3734 lineto + %end radial + 0.2739 -1.3734 lineto + 0.2511 -1.3487 lineto + %middle circumferential + 0.2511 -1.3487 lineto + 0.2264 -1.327 lineto + %end circumferential + closepath +currentgray 0.5003225806451613 setgray fill setgray +% Sector from 5.3014 to 5.4978 (quadrant 3) +newpath + 0.1733 -1.292 moveto + 0.1698 -1.2985 lineto + %middle radial + 0.1698 -1.2985 lineto + 0.1665 -1.3046 lineto + %end radial + 0.1665 -1.3046 lineto + 0.1923 -1.3203 lineto + %middle circumferential + 0.1923 -1.3203 lineto + 0.2171 -1.3386 lineto + %end circumferential + 0.2171 -1.3386 lineto + 0.2217 -1.3329 lineto + %middle radial + 0.2217 -1.3329 lineto + 0.2264 -1.327 lineto + %end radial + 0.2264 -1.327 lineto + 0.2004 -1.3081 lineto + %middle circumferential + 0.2004 -1.3081 lineto + 0.1733 -1.292 lineto + %end circumferential + closepath +currentgray 0.5170967741935484 setgray fill setgray +% Sector from 5.1051 to 5.3014 (quadrant 3) +newpath + 0.1169 -1.2678 moveto + 0.1146 -1.2746 lineto + %middle radial + 0.1146 -1.2746 lineto + 0.1125 -1.281 lineto + %end radial + 0.1125 -1.281 lineto + 0.1398 -1.2916 lineto + %middle circumferential + 0.1398 -1.2916 lineto + 0.1665 -1.3046 lineto + %end circumferential + 0.1665 -1.3046 lineto + 0.1698 -1.2985 lineto + %middle radial + 0.1698 -1.2985 lineto + 0.1733 -1.292 lineto + %end radial + 0.1733 -1.292 lineto + 0.1454 -1.2786 lineto + %middle circumferential + 0.1454 -1.2786 lineto + 0.1169 -1.2678 lineto + %end circumferential + closepath +currentgray 0.5338709677419355 setgray fill setgray +% Sector from 4.9087 to 5.1051 (quadrant 3) +newpath + 0.0588 -1.2537 moveto + 0.0577 -1.2606 lineto + %middle radial + 0.0577 -1.2606 lineto + 0.0566 -1.2672 lineto + %end radial + 0.0566 -1.2672 lineto + 0.0847 -1.2729 lineto + %middle circumferential + 0.0847 -1.2729 lineto + 0.1125 -1.281 lineto + %end circumferential + 0.1125 -1.281 lineto + 0.1146 -1.2746 lineto + %middle radial + 0.1146 -1.2746 lineto + 0.1169 -1.2678 lineto + %end radial + 0.1169 -1.2678 lineto + 0.088 -1.2595 lineto + %middle circumferential + 0.088 -1.2595 lineto + 0.0588 -1.2537 lineto + %end circumferential + closepath +currentgray 0.5506451612903226 setgray fill setgray +% Sector from 4.7124 to 4.9087 (quadrant 3) +newpath + 0.0 -1.249 moveto + 0.0 -1.256 lineto + %middle radial + 0.0 -1.256 lineto + 0.0 -1.2626 lineto + %end radial + 0.0 -1.2626 lineto + 0.0284 -1.2638 lineto + %middle circumferential + 0.0284 -1.2638 lineto + 0.0566 -1.2672 lineto + %end circumferential + 0.0566 -1.2672 lineto + 0.0577 -1.2606 lineto + %middle radial + 0.0577 -1.2606 lineto + 0.0588 -1.2537 lineto + %end radial + 0.0588 -1.2537 lineto + 0.0294 -1.2502 lineto + %middle circumferential + 0.0294 -1.2502 lineto + 0.0 -1.249 lineto + %end circumferential + closepath +currentgray 0.5674193548387096 setgray fill setgray +% Sector from 4.516 to 4.7124 (quadrant 2) +newpath + -0.0588 -1.2537 moveto + -0.0577 -1.2606 lineto + %middle radial + -0.0577 -1.2606 lineto + -0.0566 -1.2672 lineto + %end radial + -0.0566 -1.2672 lineto + -0.0284 -1.2638 lineto + %middle circumferential + -0.0284 -1.2638 lineto + 0.0 -1.2626 lineto + %end circumferential + 0.0 -1.2626 lineto + 0.0 -1.256 lineto + %middle radial + 0.0 -1.256 lineto + 0.0 -1.249 lineto + %end radial + 0.0 -1.249 lineto + -0.0294 -1.2502 lineto + %middle circumferential + -0.0294 -1.2502 lineto + -0.0588 -1.2537 lineto + %end circumferential + closepath +currentgray 0.5841935483870968 setgray fill setgray +% Sector from 4.3197 to 4.516 (quadrant 2) +newpath + -0.1169 -1.2678 moveto + -0.1146 -1.2746 lineto + %middle radial + -0.1146 -1.2746 lineto + -0.1125 -1.281 lineto + %end radial + -0.1125 -1.281 lineto + -0.0847 -1.2729 lineto + %middle circumferential + -0.0847 -1.2729 lineto + -0.0566 -1.2672 lineto + %end circumferential + -0.0566 -1.2672 lineto + -0.0577 -1.2606 lineto + %middle radial + -0.0577 -1.2606 lineto + -0.0588 -1.2537 lineto + %end radial + -0.0588 -1.2537 lineto + -0.088 -1.2595 lineto + %middle circumferential + -0.088 -1.2595 lineto + -0.1169 -1.2678 lineto + %end circumferential + closepath +currentgray 0.600967741935484 setgray fill setgray +% Sector from 4.1233 to 4.3197 (quadrant 2) +newpath + -0.1733 -1.292 moveto + -0.1698 -1.2985 lineto + %middle radial + -0.1698 -1.2985 lineto + -0.1665 -1.3046 lineto + %end radial + -0.1665 -1.3046 lineto + -0.1398 -1.2916 lineto + %middle circumferential + -0.1398 -1.2916 lineto + -0.1125 -1.281 lineto + %end circumferential + -0.1125 -1.281 lineto + -0.1146 -1.2746 lineto + %middle radial + -0.1146 -1.2746 lineto + -0.1169 -1.2678 lineto + %end radial + -0.1169 -1.2678 lineto + -0.1454 -1.2786 lineto + %middle circumferential + -0.1454 -1.2786 lineto + -0.1733 -1.292 lineto + %end circumferential + closepath +currentgray 0.6177419354838709 setgray fill setgray +% Sector from 3.927 to 4.1233 (quadrant 2) +newpath + -0.2264 -1.327 moveto + -0.2217 -1.3329 lineto + %middle radial + -0.2217 -1.3329 lineto + -0.2171 -1.3386 lineto + %end radial + -0.2171 -1.3386 lineto + -0.1923 -1.3203 lineto + %middle circumferential + -0.1923 -1.3203 lineto + -0.1665 -1.3046 lineto + %end circumferential + -0.1665 -1.3046 lineto + -0.1698 -1.2985 lineto + %middle radial + -0.1698 -1.2985 lineto + -0.1733 -1.292 lineto + %end radial + -0.1733 -1.292 lineto + -0.2004 -1.3081 lineto + %middle circumferential + -0.2004 -1.3081 lineto + -0.2264 -1.327 lineto + %end circumferential + closepath +currentgray 0.6345161290322581 setgray fill setgray +% Sector from 3.7306 to 3.927 (quadrant 2) +newpath + -0.2739 -1.3734 moveto + -0.2678 -1.3785 lineto + %middle radial + -0.2678 -1.3785 lineto + -0.2619 -1.3833 lineto + %end radial + -0.2619 -1.3833 lineto + -0.2404 -1.3596 lineto + %middle circumferential + -0.2404 -1.3596 lineto + -0.2171 -1.3386 lineto + %end circumferential + -0.2171 -1.3386 lineto + -0.2217 -1.3329 lineto + %middle radial + -0.2217 -1.3329 lineto + -0.2264 -1.327 lineto + %end radial + -0.2264 -1.327 lineto + -0.2511 -1.3487 lineto + %middle circumferential + -0.2511 -1.3487 lineto + -0.2739 -1.3734 lineto + %end circumferential + closepath +currentgray 0.6512903225806452 setgray fill setgray +% Sector from 3.5343 to 3.7306 (quadrant 2) +newpath + -0.3123 -1.431 moveto + -0.3049 -1.4348 lineto + %middle radial + -0.3049 -1.4348 lineto + -0.2979 -1.4384 lineto + %end radial + -0.2979 -1.4384 lineto + -0.2812 -1.4097 lineto + %middle circumferential + -0.2812 -1.4097 lineto + -0.2619 -1.3833 lineto + %end circumferential + -0.2619 -1.3833 lineto + -0.2678 -1.3785 lineto + %middle radial + -0.2678 -1.3785 lineto + -0.2739 -1.3734 lineto + %end radial + -0.2739 -1.3734 lineto + -0.2945 -1.4009 lineto + %middle circumferential + -0.2945 -1.4009 lineto + -0.3123 -1.431 lineto + %end circumferential + closepath +currentgray 0.6680645161290323 setgray fill setgray +% Sector from 3.3379 to 3.5343 (quadrant 2) +newpath + -0.3377 -1.4982 moveto + -0.3294 -1.5002 lineto + %middle radial + -0.3294 -1.5002 lineto + -0.3215 -1.5021 lineto + %end radial + -0.3215 -1.5021 lineto + -0.3115 -1.4694 lineto + %middle circumferential + -0.3115 -1.4694 lineto + -0.2979 -1.4384 lineto + %end circumferential + -0.2979 -1.4384 lineto + -0.3049 -1.4348 lineto + %middle radial + -0.3049 -1.4348 lineto + -0.3123 -1.431 lineto + %end radial + -0.3123 -1.431 lineto + -0.3269 -1.4636 lineto + %middle circumferential + -0.3269 -1.4636 lineto + -0.3377 -1.4982 lineto + %end circumferential + closepath +currentgray 0.6848387096774193 setgray fill setgray +% Sector from 3.1416 to 3.3379 (quadrant 2) +newpath + -0.3466 -1.5708 moveto + -0.338 -1.5708 lineto + %middle radial + -0.338 -1.5708 lineto + -0.3298 -1.5708 lineto + %end radial + -0.3298 -1.5708 lineto + -0.3277 -1.5361 lineto + %middle circumferential + -0.3277 -1.5361 lineto + -0.3215 -1.5021 lineto + %end circumferential + -0.3215 -1.5021 lineto + -0.3294 -1.5002 lineto + %middle radial + -0.3294 -1.5002 lineto + -0.3377 -1.4982 lineto + %end radial + -0.3377 -1.4982 lineto + -0.3443 -1.5341 lineto + %middle circumferential + -0.3443 -1.5341 lineto + -0.3466 -1.5708 lineto + %end circumferential + closepath +currentgray 0.7016129032258065 setgray fill setgray +% Sector from 2.9452 to 3.1416 (quadrant 1) +newpath + -0.3377 1.4982 moveto + -0.3294 1.5002 lineto + %middle radial + -0.3294 1.5002 lineto + -0.3215 1.5021 lineto + %end radial + -0.3215 1.5021 lineto + -0.3277 1.5361 lineto + %middle circumferential + -0.3277 1.5361 lineto + -0.3298 1.5708 lineto + %end circumferential + -0.3298 1.5708 lineto + -0.338 1.5708 lineto + %middle radial + -0.338 1.5708 lineto + -0.3466 1.5708 lineto + %end radial + -0.3466 1.5708 lineto + -0.3443 1.5341 lineto + %middle circumferential + -0.3443 1.5341 lineto + -0.3377 1.4982 lineto + %end circumferential + closepath +currentgray 0.7183870967741936 setgray fill setgray +% Sector from 2.7489 to 2.9452 (quadrant 1) +newpath + -0.3123 1.431 moveto + -0.3049 1.4348 lineto + %middle radial + -0.3049 1.4348 lineto + -0.2979 1.4384 lineto + %end radial + -0.2979 1.4384 lineto + -0.3115 1.4694 lineto + %middle circumferential + -0.3115 1.4694 lineto + -0.3215 1.5021 lineto + %end circumferential + -0.3215 1.5021 lineto + -0.3294 1.5002 lineto + %middle radial + -0.3294 1.5002 lineto + -0.3377 1.4982 lineto + %end radial + -0.3377 1.4982 lineto + -0.3269 1.4636 lineto + %middle circumferential + -0.3269 1.4636 lineto + -0.3123 1.431 lineto + %end circumferential + closepath +currentgray 0.7351612903225806 setgray fill setgray +% Sector from 2.5525 to 2.7489 (quadrant 1) +newpath + -0.2739 1.3734 moveto + -0.2678 1.3785 lineto + %middle radial + -0.2678 1.3785 lineto + -0.2619 1.3833 lineto + %end radial + -0.2619 1.3833 lineto + -0.2812 1.4097 lineto + %middle circumferential + -0.2812 1.4097 lineto + -0.2979 1.4384 lineto + %end circumferential + -0.2979 1.4384 lineto + -0.3049 1.4348 lineto + %middle radial + -0.3049 1.4348 lineto + -0.3123 1.431 lineto + %end radial + -0.3123 1.431 lineto + -0.2945 1.4009 lineto + %middle circumferential + -0.2945 1.4009 lineto + -0.2739 1.3734 lineto + %end circumferential + closepath +currentgray 0.7519354838709679 setgray fill setgray +% Sector from 2.3562 to 2.5525 (quadrant 1) +newpath + -0.2264 1.327 moveto + -0.2217 1.3329 lineto + %middle radial + -0.2217 1.3329 lineto + -0.2171 1.3386 lineto + %end radial + -0.2171 1.3386 lineto + -0.2404 1.3596 lineto + %middle circumferential + -0.2404 1.3596 lineto + -0.2619 1.3833 lineto + %end circumferential + -0.2619 1.3833 lineto + -0.2678 1.3785 lineto + %middle radial + -0.2678 1.3785 lineto + -0.2739 1.3734 lineto + %end radial + -0.2739 1.3734 lineto + -0.2511 1.3487 lineto + %middle circumferential + -0.2511 1.3487 lineto + -0.2264 1.327 lineto + %end circumferential + closepath +currentgray 0.7687096774193548 setgray fill setgray +% Sector from 2.1598 to 2.3562 (quadrant 1) +newpath + -0.1733 1.292 moveto + -0.1698 1.2985 lineto + %middle radial + -0.1698 1.2985 lineto + -0.1665 1.3046 lineto + %end radial + -0.1665 1.3046 lineto + -0.1923 1.3203 lineto + %middle circumferential + -0.1923 1.3203 lineto + -0.2171 1.3386 lineto + %end circumferential + -0.2171 1.3386 lineto + -0.2217 1.3329 lineto + %middle radial + -0.2217 1.3329 lineto + -0.2264 1.327 lineto + %end radial + -0.2264 1.327 lineto + -0.2004 1.3081 lineto + %middle circumferential + -0.2004 1.3081 lineto + -0.1733 1.292 lineto + %end circumferential + closepath +currentgray 0.7854838709677419 setgray fill setgray +% Sector from 1.9635 to 2.1598 (quadrant 1) +newpath + -0.1169 1.2678 moveto + -0.1146 1.2746 lineto + %middle radial + -0.1146 1.2746 lineto + -0.1125 1.281 lineto + %end radial + -0.1125 1.281 lineto + -0.1398 1.2916 lineto + %middle circumferential + -0.1398 1.2916 lineto + -0.1665 1.3046 lineto + %end circumferential + -0.1665 1.3046 lineto + -0.1698 1.2985 lineto + %middle radial + -0.1698 1.2985 lineto + -0.1733 1.292 lineto + %end radial + -0.1733 1.292 lineto + -0.1454 1.2786 lineto + %middle circumferential + -0.1454 1.2786 lineto + -0.1169 1.2678 lineto + %end circumferential + closepath +currentgray 0.802258064516129 setgray fill setgray +% Sector from 1.7671 to 1.9635 (quadrant 1) +newpath + -0.0588 1.2537 moveto + -0.0577 1.2606 lineto + %middle radial + -0.0577 1.2606 lineto + -0.0566 1.2672 lineto + %end radial + -0.0566 1.2672 lineto + -0.0847 1.2729 lineto + %middle circumferential + -0.0847 1.2729 lineto + -0.1125 1.281 lineto + %end circumferential + -0.1125 1.281 lineto + -0.1146 1.2746 lineto + %middle radial + -0.1146 1.2746 lineto + -0.1169 1.2678 lineto + %end radial + -0.1169 1.2678 lineto + -0.088 1.2595 lineto + %middle circumferential + -0.088 1.2595 lineto + -0.0588 1.2537 lineto + %end circumferential + closepath +currentgray 0.8190322580645162 setgray fill setgray +% Sector from 1.5708 to 1.7671 (quadrant 1) +newpath + 0.0 1.249 moveto + 0.0 1.256 lineto + %middle radial + 0.0 1.256 lineto + 0.0 1.2626 lineto + %end radial + 0.0 1.2626 lineto + -0.0284 1.2638 lineto + %middle circumferential + -0.0284 1.2638 lineto + -0.0566 1.2672 lineto + %end circumferential + -0.0566 1.2672 lineto + -0.0577 1.2606 lineto + %middle radial + -0.0577 1.2606 lineto + -0.0588 1.2537 lineto + %end radial + -0.0588 1.2537 lineto + -0.0294 1.2502 lineto + %middle circumferential + -0.0294 1.2502 lineto + 0.0 1.249 lineto + %end circumferential + closepath +currentgray 0.8358064516129032 setgray fill setgray +% Sector from 1.3744 to 1.5708 (quadrant 0) +newpath + 0.0588 1.2537 moveto + 0.0577 1.2606 lineto + %middle radial + 0.0577 1.2606 lineto + 0.0566 1.2672 lineto + %end radial + 0.0566 1.2672 lineto + 0.0284 1.2638 lineto + %middle circumferential + 0.0284 1.2638 lineto + 0.0 1.2626 lineto + %end circumferential + 0.0 1.2626 lineto + 0.0 1.256 lineto + %middle radial + 0.0 1.256 lineto + 0.0 1.249 lineto + %end radial + 0.0 1.249 lineto + 0.0294 1.2502 lineto + %middle circumferential + 0.0294 1.2502 lineto + 0.0588 1.2537 lineto + %end circumferential + closepath +currentgray 0.8525806451612903 setgray fill setgray +% Sector from 1.1781 to 1.3744 (quadrant 0) +newpath + 0.1169 1.2678 moveto + 0.1146 1.2746 lineto + %middle radial + 0.1146 1.2746 lineto + 0.1125 1.281 lineto + %end radial + 0.1125 1.281 lineto + 0.0847 1.2729 lineto + %middle circumferential + 0.0847 1.2729 lineto + 0.0566 1.2672 lineto + %end circumferential + 0.0566 1.2672 lineto + 0.0577 1.2606 lineto + %middle radial + 0.0577 1.2606 lineto + 0.0588 1.2537 lineto + %end radial + 0.0588 1.2537 lineto + 0.088 1.2595 lineto + %middle circumferential + 0.088 1.2595 lineto + 0.1169 1.2678 lineto + %end circumferential + closepath +currentgray 0.8693548387096775 setgray fill setgray +% Sector from 0.9817 to 1.1781 (quadrant 0) +newpath + 0.1733 1.292 moveto + 0.1698 1.2985 lineto + %middle radial + 0.1698 1.2985 lineto + 0.1665 1.3046 lineto + %end radial + 0.1665 1.3046 lineto + 0.1398 1.2916 lineto + %middle circumferential + 0.1398 1.2916 lineto + 0.1125 1.281 lineto + %end circumferential + 0.1125 1.281 lineto + 0.1146 1.2746 lineto + %middle radial + 0.1146 1.2746 lineto + 0.1169 1.2678 lineto + %end radial + 0.1169 1.2678 lineto + 0.1454 1.2786 lineto + %middle circumferential + 0.1454 1.2786 lineto + 0.1733 1.292 lineto + %end circumferential + closepath +currentgray 0.8861290322580645 setgray fill setgray +% Sector from 0.7854 to 0.9817 (quadrant 0) +newpath + 0.2264 1.327 moveto + 0.2217 1.3329 lineto + %middle radial + 0.2217 1.3329 lineto + 0.2171 1.3386 lineto + %end radial + 0.2171 1.3386 lineto + 0.1923 1.3203 lineto + %middle circumferential + 0.1923 1.3203 lineto + 0.1665 1.3046 lineto + %end circumferential + 0.1665 1.3046 lineto + 0.1698 1.2985 lineto + %middle radial + 0.1698 1.2985 lineto + 0.1733 1.292 lineto + %end radial + 0.1733 1.292 lineto + 0.2004 1.3081 lineto + %middle circumferential + 0.2004 1.3081 lineto + 0.2264 1.327 lineto + %end circumferential + closepath +currentgray 0.9029032258064516 setgray fill setgray +% Sector from 0.589 to 0.7854 (quadrant 0) +newpath + 0.2739 1.3734 moveto + 0.2678 1.3785 lineto + %middle radial + 0.2678 1.3785 lineto + 0.2619 1.3833 lineto + %end radial + 0.2619 1.3833 lineto + 0.2404 1.3596 lineto + %middle circumferential + 0.2404 1.3596 lineto + 0.2171 1.3386 lineto + %end circumferential + 0.2171 1.3386 lineto + 0.2217 1.3329 lineto + %middle radial + 0.2217 1.3329 lineto + 0.2264 1.327 lineto + %end radial + 0.2264 1.327 lineto + 0.2511 1.3487 lineto + %middle circumferential + 0.2511 1.3487 lineto + 0.2739 1.3734 lineto + %end circumferential + closepath +currentgray 0.9196774193548387 setgray fill setgray +% Sector from 0.3927 to 0.589 (quadrant 0) +newpath + 0.3123 1.431 moveto + 0.3049 1.4348 lineto + %middle radial + 0.3049 1.4348 lineto + 0.2979 1.4384 lineto + %end radial + 0.2979 1.4384 lineto + 0.2812 1.4097 lineto + %middle circumferential + 0.2812 1.4097 lineto + 0.2619 1.3833 lineto + %end circumferential + 0.2619 1.3833 lineto + 0.2678 1.3785 lineto + %middle radial + 0.2678 1.3785 lineto + 0.2739 1.3734 lineto + %end radial + 0.2739 1.3734 lineto + 0.2945 1.4009 lineto + %middle circumferential + 0.2945 1.4009 lineto + 0.3123 1.431 lineto + %end circumferential + closepath +currentgray 0.9364516129032258 setgray fill setgray +% Sector from 0.1963 to 0.3927 (quadrant 0) +newpath + 0.3377 1.4982 moveto + 0.3294 1.5002 lineto + %middle radial + 0.3294 1.5002 lineto + 0.3215 1.5021 lineto + %end radial + 0.3215 1.5021 lineto + 0.3115 1.4694 lineto + %middle circumferential + 0.3115 1.4694 lineto + 0.2979 1.4384 lineto + %end circumferential + 0.2979 1.4384 lineto + 0.3049 1.4348 lineto + %middle radial + 0.3049 1.4348 lineto + 0.3123 1.431 lineto + %end radial + 0.3123 1.431 lineto + 0.3269 1.4636 lineto + %middle circumferential + 0.3269 1.4636 lineto + 0.3377 1.4982 lineto + %end circumferential + closepath +currentgray 0.9532258064516128 setgray fill setgray +% Sector from 0.0 to 0.1963 (quadrant 0) +newpath + 0.3466 1.5708 moveto + 0.338 1.5708 lineto + %middle radial + 0.338 1.5708 lineto + 0.3298 1.5708 lineto + %end radial + 0.3298 1.5708 lineto + 0.3277 1.5361 lineto + %middle circumferential + 0.3277 1.5361 lineto + 0.3215 1.5021 lineto + %end circumferential + 0.3215 1.5021 lineto + 0.3294 1.5002 lineto + %middle radial + 0.3294 1.5002 lineto + 0.3377 1.4982 lineto + %end radial + 0.3377 1.4982 lineto + 0.3443 1.5341 lineto + %middle circumferential + 0.3443 1.5341 lineto + 0.3466 1.5708 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Horizontal line from (0.5, 0.0) to (0.0, 0.0) +newpath + 0.5493 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.5, 0.0) to (1.0, 0.0) +newpath + 0.5493 0.0 moveto + 4.1469 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.0, 0.0) +newpath + 0.5493 -1.5708 moveto + 4.1471 -1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.1579208923731617E77, 0.0) +newpath + 0.5493 -1.5708 moveto + 0.0 -1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (0.0, 1.0) +newpath + 0.4024 1.339 moveto + 0.4314 1.2587 lineto + 0.4406 1.169 lineto + 0.4269 1.0803 lineto + 0.3948 1.0029 lineto + 0.3524 0.9415 lineto + 0.3069 0.8956 lineto + 0.2235 0.8392 lineto + 0.1585 0.8114 lineto + 0.0539 0.7883 lineto + 0.0 0.7854 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (1.1579208923731617E77, 1.0) +newpath + 0.4024 1.339 moveto + 0.3637 1.4007 lineto + 0.3209 1.448 lineto + 0.2395 1.5083 lineto + 0.1736 1.5393 lineto + 0.0885 1.5629 lineto + 0.002 1.5708 lineto + 0.0 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (0.0, -1.0) +newpath + 0.4024 -1.339 moveto + 0.4314 -1.2587 lineto + 0.4406 -1.169 lineto + 0.4269 -1.0803 lineto + 0.3948 -1.0029 lineto + 0.3524 -0.9415 lineto + 0.3069 -0.8956 lineto + 0.2235 -0.8392 lineto + 0.1585 -0.8114 lineto + 0.0539 -0.7883 lineto + 0.0 -0.7854 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (1.1579208923731617E77, -1.0) +newpath + 0.4024 -1.339 moveto + 0.3637 -1.4007 lineto + 0.3209 -1.448 lineto + 0.2395 -1.5083 lineto + 0.1736 -1.5393 lineto + 0.0885 -1.5629 lineto + 0.002 -1.5708 lineto + 0.0 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (1.1579208923731617E77, 2.0) +newpath + 0.0 1.1071 moveto + 0.0888 1.1235 lineto + 0.1643 1.1696 lineto + 0.2074 1.2215 lineto + 0.2368 1.2978 lineto + 0.2357 1.3854 lineto + 0.2049 1.4605 lineto + 0.1616 1.5108 lineto + 0.0869 1.5552 lineto + 0.0152 1.5703 lineto + 0.0 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (1.1579208923731617E77, -2.0) +newpath + 0.0 -1.1071 moveto + 0.0888 -1.1235 lineto + 0.1643 -1.1696 lineto + 0.2074 -1.2215 lineto + 0.2368 -1.2978 lineto + 0.2357 -1.3854 lineto + 0.2049 -1.4605 lineto + 0.1616 -1.5108 lineto + 0.0869 -1.5552 lineto + 0.0152 -1.5703 lineto + 0.0 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (1.1579208923731617E77, 3.0) +newpath + 0.0 1.249 moveto + 0.0865 1.2733 lineto + 0.1432 1.3319 lineto + 0.1604 1.4423 lineto + 0.1116 1.5277 lineto + 0.0607 1.5593 lineto + 9.0E-4 1.5708 lineto + 0.0 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (1.1579208923731617E77, -3.0) +newpath + 0.0 -1.249 moveto + 0.0865 -1.2733 lineto + 0.1432 -1.3319 lineto + 0.1604 -1.4423 lineto + 0.1116 -1.5277 lineto + 0.0607 -1.5593 lineto + 9.0E-4 -1.5708 lineto + 0.0 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (0.0, 0.0) +newpath + -0.5493 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (-1.0, 0.0) +newpath + -0.5493 0.0 moveto + -4.1469 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.0, 0.0) +newpath + -0.5493 1.5708 moveto + -4.1471 1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.1579208923731617E77, 0.0) +newpath + -0.5493 1.5708 moveto + 0.0 1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (0.0, 1.0) +newpath + -0.4024 1.339 moveto + -0.4314 1.2587 lineto + -0.4406 1.169 lineto + -0.4269 1.0803 lineto + -0.3948 1.0029 lineto + -0.3524 0.9415 lineto + -0.3069 0.8956 lineto + -0.2235 0.8392 lineto + -0.1585 0.8114 lineto + -0.0539 0.7883 lineto + 0.0 0.7854 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (-1.1579208923731617E77, 1.0) +newpath + -0.4024 1.339 moveto + -0.3637 1.4007 lineto + -0.3209 1.448 lineto + -0.2395 1.5083 lineto + -0.1736 1.5393 lineto + -0.0885 1.5629 lineto + -0.002 1.5708 lineto + 0.0 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (0.0, -1.0) +newpath + -0.4024 -1.339 moveto + -0.4314 -1.2587 lineto + -0.4406 -1.169 lineto + -0.4269 -1.0803 lineto + -0.3948 -1.0029 lineto + -0.3524 -0.9415 lineto + -0.3069 -0.8956 lineto + -0.2235 -0.8392 lineto + -0.1585 -0.8114 lineto + -0.0539 -0.7883 lineto + 0.0 -0.7854 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (-1.1579208923731617E77, -1.0) +newpath + -0.4024 -1.339 moveto + -0.3637 -1.4007 lineto + -0.3209 -1.448 lineto + -0.2395 -1.5083 lineto + -0.1736 -1.5393 lineto + -0.0885 -1.5629 lineto + -0.002 -1.5708 lineto + 0.0 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (-1.1579208923731617E77, 2.0) +newpath + 0.0 1.1071 moveto + -0.0888 1.1235 lineto + -0.1643 1.1696 lineto + -0.2074 1.2215 lineto + -0.2368 1.2978 lineto + -0.2357 1.3854 lineto + -0.2049 1.4605 lineto + -0.1616 1.5108 lineto + -0.0869 1.5552 lineto + -0.0152 1.5703 lineto + 0.0 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (-1.1579208923731617E77, -2.0) +newpath + 0.0 -1.1071 moveto + -0.0888 -1.1235 lineto + -0.1643 -1.1696 lineto + -0.2074 -1.2215 lineto + -0.2368 -1.2978 lineto + -0.2357 -1.3854 lineto + -0.2049 -1.4605 lineto + -0.1616 -1.5108 lineto + -0.0869 -1.5552 lineto + -0.0152 -1.5703 lineto + 0.0 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (-1.1579208923731617E77, 3.0) +newpath + 0.0 1.249 moveto + -0.0865 1.2733 lineto + -0.1432 1.3319 lineto + -0.1604 1.4423 lineto + -0.1116 1.5277 lineto + -0.0607 1.5593 lineto + -9.0E-4 1.5708 lineto + 0.0 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (-1.1579208923731617E77, -3.0) +newpath + 0.0 -1.249 moveto + -0.0865 -1.2733 lineto + -0.1432 -1.3319 lineto + -0.1604 -1.4423 lineto + -0.1116 -1.5277 lineto + -0.0607 -1.5593 lineto + -9.0E-4 -1.5708 lineto + 0.0 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 0.0) +newpath + 0.0 0.4636 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 1.0) +newpath + 0.0 0.4636 moveto + 0.0 0.7854 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.0) +newpath + 0.0 1.1071 moveto + 0.0 0.7854 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.1579208923731617E77) +newpath + 0.0 1.1071 moveto + 0.0 1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 0.0) +newpath + 0.1733 1.1781 moveto + 0.223 1.1327 lineto + 0.2808 1.0888 lineto + 0.3458 1.0476 lineto + 0.4171 1.01 lineto + 0.4935 0.9764 lineto + 0.5738 0.9469 lineto + 0.6572 0.9214 lineto + 0.7428 0.8996 lineto + 0.8301 0.881 lineto + 0.9185 0.8654 lineto + 1.0078 0.8522 lineto + 1.0977 0.8412 lineto + 1.1879 0.8319 lineto + 1.2785 0.8242 lineto + 1.3692 0.8178 lineto + 1.4601 0.8124 lineto + 1.5511 0.8079 lineto + 1.6422 0.8041 lineto + 1.7333 0.801 lineto + 1.8244 0.7984 lineto + 1.9156 0.7962 lineto + 2.0068 0.7944 lineto + 2.0979 0.7929 lineto + 2.1891 0.7917 lineto + 2.2803 0.7906 lineto + 2.3715 0.7898 lineto + 2.4628 0.789 lineto + 2.554 0.7884 lineto + 2.6452 0.7879 lineto + 2.7364 0.7875 lineto + 2.8276 0.7871 lineto + 2.9188 0.7869 lineto + 3.01 0.7866 lineto + 3.1012 0.7864 lineto + 3.238 0.7862 lineto + 3.3749 0.786 lineto + 3.5117 0.7858 lineto + 3.6941 0.7857 lineto + 3.9221 0.7856 lineto + 4.1958 0.7855 lineto + 4.6062 0.7854 lineto + 5.3359 0.7854 lineto + 6.2937 0.7854 lineto + 6.378103166302659 0.7865 lineto + 6.378103166302659 0.5755 lineto + 6.378103166302659 0.4324 lineto + 6.378103166302659 0.2166 lineto + 6.378103166302659 0.1083 lineto + 6.378103166302659 0.7854 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 1.1579208923731617E77) +newpath + 0.1733 1.1781 moveto + 0.1016 1.2627 lineto + 0.0561 1.3384 lineto + 0.0297 1.4002 lineto + 0.0078 1.4827 lineto + 0.0 1.5688 lineto + 0.0 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 0.0) +newpath + -0.1733 1.1781 moveto + -0.223 1.1327 lineto + -0.2808 1.0888 lineto + -0.3458 1.0476 lineto + -0.4171 1.01 lineto + -0.4935 0.9764 lineto + -0.5738 0.9469 lineto + -0.6572 0.9214 lineto + -0.7428 0.8996 lineto + -0.8301 0.881 lineto + -0.9185 0.8654 lineto + -1.0078 0.8522 lineto + -1.0977 0.8412 lineto + -1.1879 0.8319 lineto + -1.2785 0.8242 lineto + -1.3692 0.8178 lineto + -1.4601 0.8124 lineto + -1.5511 0.8079 lineto + -1.6422 0.8041 lineto + -1.7333 0.801 lineto + -1.8244 0.7984 lineto + -1.9156 0.7962 lineto + -2.0068 0.7944 lineto + -2.0979 0.7929 lineto + -2.1891 0.7917 lineto + -2.2803 0.7906 lineto + -2.3715 0.7898 lineto + -2.4628 0.789 lineto + -2.554 0.7884 lineto + -2.6452 0.7879 lineto + -2.7364 0.7875 lineto + -2.8276 0.7871 lineto + -2.9188 0.7869 lineto + -3.01 0.7866 lineto + -3.1012 0.7864 lineto + -3.238 0.7862 lineto + -3.3749 0.786 lineto + -3.5117 0.7858 lineto + -3.6941 0.7857 lineto + -3.9221 0.7856 lineto + -4.1958 0.7855 lineto + -4.6062 0.7854 lineto + -5.3359 0.7854 lineto + -6.2937 0.7854 lineto + -6.378103166302659 0.7865 lineto + -6.378103166302659 0.5755 lineto + -6.378103166302659 0.4324 lineto + -6.378103166302659 0.2166 lineto + -6.378103166302659 0.1083 lineto + -6.378103166302659 0.7854 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 1.1579208923731617E77) +newpath + -0.1733 1.1781 moveto + -0.1016 1.2627 lineto + -0.0561 1.3384 lineto + -0.0297 1.4002 lineto + -0.0078 1.4827 lineto + 0.0 1.5688 lineto + 0.0 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, 1.1579208923731617E77) +newpath + 0.5493 1.5708 moveto + 0.5384 1.4976 lineto + 0.5075 1.4319 lineto + 0.447 1.3669 lineto + 0.3803 1.3291 lineto + 0.2967 1.3098 lineto + 0.2092 1.3165 lineto + 0.1329 1.3465 lineto + 0.0771 1.3889 lineto + 0.0302 1.4514 lineto + 0.0077 1.5091 lineto + 0.0 1.5699 lineto + 0.0 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, 1.1579208923731617E77) +newpath + -0.5493 1.5708 moveto + -0.5384 1.4976 lineto + -0.5075 1.4319 lineto + -0.447 1.3669 lineto + -0.3803 1.3291 lineto + -0.2967 1.3098 lineto + -0.2092 1.3165 lineto + -0.1329 1.3465 lineto + -0.0771 1.3889 lineto + -0.0302 1.4514 lineto + -0.0077 1.5091 lineto + 0.0 1.5699 lineto + 0.0 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, 1.1579208923731617E77) +newpath + 0.3466 1.5708 moveto + 0.3107 1.4673 lineto + 0.2372 1.4128 lineto + 0.1232 1.4081 lineto + 0.0421 1.4597 lineto + 0.0114 1.5103 lineto + 0.0 1.5699 lineto + 0.0 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, 1.1579208923731617E77) +newpath + -0.3466 1.5708 moveto + -0.3107 1.4673 lineto + -0.2372 1.4128 lineto + -0.1232 1.4081 lineto + -0.0421 1.4597 lineto + -0.0114 1.5103 lineto + 0.0 1.5699 lineto + 0.0 1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, 0.0) +newpath + 0.0 -0.4636 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, -1.0) +newpath + 0.0 -0.4636 moveto + 0.0 -0.7854 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.0) +newpath + 0.0 -1.1071 moveto + 0.0 -0.7854 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.1579208923731617E77) +newpath + 0.0 -1.1071 moveto + 0.0 -1.5708 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, 0.0) +newpath + 0.1733 -1.1781 moveto + 0.223 -1.1327 lineto + 0.2808 -1.0888 lineto + 0.3458 -1.0476 lineto + 0.4171 -1.01 lineto + 0.4935 -0.9764 lineto + 0.5738 -0.9469 lineto + 0.6572 -0.9214 lineto + 0.7428 -0.8996 lineto + 0.8301 -0.881 lineto + 0.9185 -0.8654 lineto + 1.0078 -0.8522 lineto + 1.0977 -0.8412 lineto + 1.1879 -0.8319 lineto + 1.2785 -0.8242 lineto + 1.3692 -0.8178 lineto + 1.4601 -0.8124 lineto + 1.5511 -0.8079 lineto + 1.6422 -0.8041 lineto + 1.7333 -0.801 lineto + 1.8244 -0.7984 lineto + 1.9156 -0.7962 lineto + 2.0068 -0.7944 lineto + 2.0979 -0.7929 lineto + 2.1891 -0.7917 lineto + 2.2803 -0.7906 lineto + 2.3715 -0.7898 lineto + 2.4628 -0.789 lineto + 2.554 -0.7884 lineto + 2.6452 -0.7879 lineto + 2.7364 -0.7875 lineto + 2.8276 -0.7871 lineto + 2.9188 -0.7869 lineto + 3.01 -0.7866 lineto + 3.1012 -0.7864 lineto + 3.238 -0.7862 lineto + 3.3749 -0.786 lineto + 3.5117 -0.7858 lineto + 3.6941 -0.7857 lineto + 3.9221 -0.7856 lineto + 4.1958 -0.7855 lineto + 4.6062 -0.7854 lineto + 5.3359 -0.7854 lineto + 6.2937 -0.7854 lineto + 6.378103166302659 -0.7865 lineto + 6.378103166302659 -0.5755 lineto + 6.378103166302659 -0.4324 lineto + 6.378103166302659 -0.2166 lineto + 6.378103166302659 -0.1083 lineto + 6.378103166302659 -0.7854 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, -1.1579208923731617E77) +newpath + 0.1733 -1.1781 moveto + 0.1016 -1.2627 lineto + 0.0561 -1.3384 lineto + 0.0297 -1.4002 lineto + 0.0078 -1.4827 lineto + 0.0 -1.5688 lineto + 0.0 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, 0.0) +newpath + -0.1733 -1.1781 moveto + -0.223 -1.1327 lineto + -0.2808 -1.0888 lineto + -0.3458 -1.0476 lineto + -0.4171 -1.01 lineto + -0.4935 -0.9764 lineto + -0.5738 -0.9469 lineto + -0.6572 -0.9214 lineto + -0.7428 -0.8996 lineto + -0.8301 -0.881 lineto + -0.9185 -0.8654 lineto + -1.0078 -0.8522 lineto + -1.0977 -0.8412 lineto + -1.1879 -0.8319 lineto + -1.2785 -0.8242 lineto + -1.3692 -0.8178 lineto + -1.4601 -0.8124 lineto + -1.5511 -0.8079 lineto + -1.6422 -0.8041 lineto + -1.7333 -0.801 lineto + -1.8244 -0.7984 lineto + -1.9156 -0.7962 lineto + -2.0068 -0.7944 lineto + -2.0979 -0.7929 lineto + -2.1891 -0.7917 lineto + -2.2803 -0.7906 lineto + -2.3715 -0.7898 lineto + -2.4628 -0.789 lineto + -2.554 -0.7884 lineto + -2.6452 -0.7879 lineto + -2.7364 -0.7875 lineto + -2.8276 -0.7871 lineto + -2.9188 -0.7869 lineto + -3.01 -0.7866 lineto + -3.1012 -0.7864 lineto + -3.238 -0.7862 lineto + -3.3749 -0.786 lineto + -3.5117 -0.7858 lineto + -3.6941 -0.7857 lineto + -3.9221 -0.7856 lineto + -4.1958 -0.7855 lineto + -4.6062 -0.7854 lineto + -5.3359 -0.7854 lineto + -6.2937 -0.7854 lineto + -6.378103166302659 -0.7865 lineto + -6.378103166302659 -0.5755 lineto + -6.378103166302659 -0.4324 lineto + -6.378103166302659 -0.2166 lineto + -6.378103166302659 -0.1083 lineto + -6.378103166302659 -0.7854 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, -1.1579208923731617E77) +newpath + -0.1733 -1.1781 moveto + -0.1016 -1.2627 lineto + -0.0561 -1.3384 lineto + -0.0297 -1.4002 lineto + -0.0078 -1.4827 lineto + 0.0 -1.5688 lineto + 0.0 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, -1.1579208923731617E77) +newpath + 0.5493 -1.5708 moveto + 0.5384 -1.4976 lineto + 0.5075 -1.4319 lineto + 0.447 -1.3669 lineto + 0.3803 -1.3291 lineto + 0.2967 -1.3098 lineto + 0.2092 -1.3165 lineto + 0.1329 -1.3465 lineto + 0.0771 -1.3889 lineto + 0.0302 -1.4514 lineto + 0.0077 -1.5091 lineto + 0.0 -1.5699 lineto + 0.0 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, -1.1579208923731617E77) +newpath + -0.5493 -1.5708 moveto + -0.5384 -1.4976 lineto + -0.5075 -1.4319 lineto + -0.447 -1.3669 lineto + -0.3803 -1.3291 lineto + -0.2967 -1.3098 lineto + -0.2092 -1.3165 lineto + -0.1329 -1.3465 lineto + -0.0771 -1.3889 lineto + -0.0302 -1.4514 lineto + -0.0077 -1.5091 lineto + 0.0 -1.5699 lineto + 0.0 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, -1.1579208923731617E77) +newpath + 0.3466 -1.5708 moveto + 0.3107 -1.4673 lineto + 0.2372 -1.4128 lineto + 0.1232 -1.4081 lineto + 0.0421 -1.4597 lineto + 0.0114 -1.5103 lineto + 0.0 -1.5699 lineto + 0.0 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, -1.1579208923731617E77) +newpath + -0.3466 -1.5708 moveto + -0.3107 -1.4673 lineto + -0.2372 -1.4128 lineto + -0.1232 -1.4081 lineto + -0.0421 -1.4597 lineto + -0.0114 -1.5103 lineto + 0.0 -1.5699 lineto + 0.0 -1.5708 lineto +0.02 setlinewidth 1 setlinecap stroke +% Real axis +newpath -5 0 moveto 5 0 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 1.0 0.12 moveto 1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.0 0.12 moveto -1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 2.0 0.12 moveto 2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -2.0 0.12 moveto -2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.0 0.12 moveto 3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.0 0.12 moveto -3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 4.0 0.12 moveto 4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -4.0 0.12 moveto -4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 1.5707963267948966 0.09 moveto 1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.5707963267948966 0.09 moveto -1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.141592653589793 0.09 moveto 3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.141592653589793 0.09 moveto -3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +% Imaginary axis +newpath 0 -5 moveto 0 5 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 0.12 1.0 moveto -0.12 1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -1.0 moveto -0.12 -1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 2.0 moveto -0.12 2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -2.0 moveto -0.12 -2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 3.0 moveto -0.12 3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -3.0 moveto -0.12 -3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 4.0 moveto -0.12 4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -4.0 moveto -0.12 -4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 1.5707963267948966 moveto -0.09 1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -1.5707963267948966 moveto -0.09 -1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 3.141592653589793 moveto -0.09 3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -3.141592653589793 moveto -0.09 -3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +% End of PostScript file for plot of function REALLY-GOOD-ATANH +%%EndDocument + @endspecial 536 x(A)g(sleeping)i(p)q(eaco)q(c)o(k)f(of)f(another)h +(color:)j(arctanh)8 b Fq(iz)15 b FA(=)10 b Fq(i)g FA(arctan)d +Fq(z)e FA(.)p 0 2332 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 359 383 +359 382 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(359)p +0 255 1395 2 v 0 330 a Fm(Figure)14 b(12-19:)j FA(Illustration)f(of)d +(the)g(Range)h(of)f(the)g(F)m(unction)970 300 y Ff(p)p +1002 300 104 2 v 30 x FA(1)c Ff(\000)f Fq(z)1089 319 +y Fc(2)0 1774 y @beginspecial @setspecial +%%BeginDocument: sqrt-one-minus-sq-plot.ps +% PostScript file for plot of function SQRT-SQUARE-MINUS-ONE +% Plot is to fit in a region 4.666666666666667 inches square +% showing axes extending 4.1 units from the origin. + +40.97560975609756 40.97560975609756 scale +4.1 4.1 translate +newpath + -4.1 -4.1 moveto + 4.1 -4.1 lineto + 4.1 4.1 lineto + -4.1 4.1 lineto + closepath +clip +% Moby grid for function SQRT-SQUARE-MINUS-ONE +% Annulus 0.25 0.5 4 0.97 0.45 +% Sector from 4.7124 to 6.2832 (quadrant 3) +newpath + 1.0308 0.0 moveto + 1.068 0.0 lineto + %middle radial + 1.068 0.0 lineto + 1.118 0.0 lineto + %end radial + 1.118 0.0 lineto + 1.0901 0.0786 lineto + 1.0077 0.124 lineto + %middle circumferential + 1.0077 0.124 lineto + 0.9153 0.0991 lineto + 0.8696 0.0297 lineto + 0.866 0.0 lineto + %end circumferential + 0.866 0.0 lineto + 0.927 0.0 lineto + %middle radial + 0.927 0.0 lineto + 0.9682 0.0 lineto + %end radial + 0.9682 0.0 lineto + 1.0005 0.0312 lineto + %middle circumferential + 1.0005 0.0312 lineto + 1.0308 0.0 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 3.1416 to 4.7124 (quadrant 2) +newpath + 0.9682 0.0 moveto + 0.927 0.0 lineto + %middle radial + 0.927 0.0 lineto + 0.866 0.0 lineto + %end radial + 0.866 0.0 lineto + 0.9079 -0.093 lineto + 1.0077 -0.124 lineto + %middle circumferential + 1.0077 -0.124 lineto + 1.0851 -0.0843 lineto + 1.118 0.0 lineto + %end circumferential + 1.118 0.0 lineto + 1.068 0.0 lineto + %middle radial + 1.068 0.0 lineto + 1.0308 0.0 lineto + %end radial + 1.0308 0.0 lineto + 1.0005 -0.0312 lineto + %middle circumferential + 1.0005 -0.0312 lineto + 0.9682 0.0 lineto + %end circumferential + closepath +currentgray 0.6233333333333334 setgray fill setgray +% Sector from 1.5708 to 3.1416 (quadrant 1) +newpath + 1.0308 0.0 moveto + 1.068 0.0 lineto + %middle radial + 1.068 0.0 lineto + 1.118 0.0 lineto + %end radial + 1.118 0.0 lineto + 1.0935 0.0742 lineto + 1.0077 0.124 lineto + %middle circumferential + 1.0077 0.124 lineto + 0.9186 0.1015 lineto + 0.8701 0.0316 lineto + 0.866 0.0 lineto + %end circumferential + 0.866 0.0 lineto + 0.927 0.0 lineto + %middle radial + 0.927 0.0 lineto + 0.9682 0.0 lineto + %end radial + 0.9682 0.0 lineto + 1.0005 0.0312 lineto + %middle circumferential + 1.0005 0.0312 lineto + 1.0308 0.0 lineto + %end circumferential + closepath +currentgray 0.7966666666666668 setgray fill setgray +% Sector from 0.0 to 1.5708 (quadrant 0) +newpath + 0.9682 0.0 moveto + 0.927 0.0 lineto + %middle radial + 0.927 0.0 lineto + 0.866 0.0 lineto + %end radial + 0.866 0.0 lineto + 0.8771 -0.0512 lineto + 0.948 -0.1171 lineto + 1.0077 -0.124 lineto + %middle circumferential + 1.0077 -0.124 lineto + 1.077 -0.0923 lineto + 1.118 0.0 lineto + %end circumferential + 1.118 0.0 lineto + 1.068 0.0 lineto + %middle radial + 1.068 0.0 lineto + 1.0308 0.0 lineto + %end radial + 1.0308 0.0 lineto + 1.0005 -0.0312 lineto + %middle circumferential + 1.0005 -0.0312 lineto + 0.9682 0.0 lineto + %end circumferential + closepath +currentgray 0.9700000000000001 setgray fill setgray +% Annulus 0.75 1.0 8 0.97 0.45 +% Sector from 5.4978 to 6.2832 (quadrant 3) +newpath + 1.0362 0.2714 moveto + 1.0629 0.3602 lineto + %middle radial + 1.0629 0.3602 lineto + 1.0987 0.4551 lineto + %end radial + 1.0987 0.4551 lineto + 1.0204 0.4811 lineto + 0.9328 0.4966 lineto + 0.8355 0.4993 lineto + 0.7274 0.486 lineto + %middle circumferential + 0.7274 0.486 lineto + 0.6442 0.4647 lineto + 0.5847 0.4436 lineto + 0.521 0.4157 lineto + 0.452 0.3791 lineto + 0.3752 0.3309 lineto + 0.3094 0.2832 lineto + 0.2588 0.243 lineto + 0.1983 0.1909 lineto + 0.1391 0.1364 lineto + 0.0798 0.0793 lineto + 0.0 0.0 lineto + %end circumferential + 0.0 0.0 lineto + 0.4841 0.0 lineto + %middle radial + 0.4841 0.0 lineto + 0.6614 0.0 lineto + %end radial + 0.6614 0.0 lineto + 0.6751 0.0832 lineto + 0.7109 0.1537 lineto + 0.7594 0.2072 lineto + 0.8136 0.2444 lineto + %middle circumferential + 0.8136 0.2444 lineto + 0.873 0.2688 lineto + 0.9309 0.2799 lineto + 1.0362 0.2714 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 4.7124 to 5.4978 (quadrant 3) +newpath + 1.25 0.0 moveto + 1.3288 0.0 lineto + %middle radial + 1.3288 0.0 lineto + 1.4142 0.0 lineto + %end radial + 1.4142 0.0 lineto + 1.4094 0.0672 lineto + 1.3946 0.1346 lineto + 1.3694 0.2011 lineto + 1.3332 0.2652 lineto + %middle circumferential + 1.3332 0.2652 lineto + 1.2897 0.3212 lineto + 1.2362 0.3725 lineto + 1.1726 0.4177 lineto + 1.0987 0.4551 lineto + %end circumferential + 1.0987 0.4551 lineto + 1.0629 0.3602 lineto + %middle radial + 1.0629 0.3602 lineto + 1.0362 0.2714 lineto + %end radial + 1.0362 0.2714 lineto + 1.1277 0.2297 lineto + 1.1939 0.1666 lineto + %middle circumferential + 1.1939 0.1666 lineto + 1.2364 0.0854 lineto + 1.25 0.0 lineto + %end circumferential + closepath +currentgray 0.5242857142857142 setgray fill setgray +% Sector from 3.927 to 4.7124 (quadrant 2) +newpath + 1.0362 -0.2714 moveto + 1.0629 -0.3602 lineto + %middle radial + 1.0629 -0.3602 lineto + 1.0987 -0.4551 lineto + %end radial + 1.0987 -0.4551 lineto + 1.1683 -0.4203 lineto + 1.2312 -0.3766 lineto + 1.2865 -0.3247 lineto + 1.3332 -0.2652 lineto + %middle circumferential + 1.3332 -0.2652 lineto + 1.3675 -0.2051 lineto + 1.3929 -0.1402 lineto + 1.4088 -0.0715 lineto + 1.4142 0.0 lineto + %end circumferential + 1.4142 0.0 lineto + 1.3288 0.0 lineto + %middle radial + 1.3288 0.0 lineto + 1.25 0.0 lineto + %end radial + 1.25 0.0 lineto + 1.2352 -0.0889 lineto + 1.1939 -0.1666 lineto + %middle circumferential + 1.1939 -0.1666 lineto + 1.1244 -0.232 lineto + 1.0362 -0.2714 lineto + %end circumferential + closepath +currentgray 0.5985714285714285 setgray fill setgray +% Sector from 3.1416 to 3.927 (quadrant 2) +newpath + 0.6614 0.0 moveto + 0.4841 0.0 lineto + %middle radial + 0.4841 0.0 lineto + 0.0 0.0 lineto + %end radial + 0.0 0.0 lineto + 0.0539 -0.0537 lineto + 0.1083 -0.107 lineto + 0.1541 -0.1506 lineto + 0.2208 -0.2107 lineto + 0.2739 -0.2553 lineto + 0.3202 -0.2915 lineto + 0.4017 -0.3484 lineto + 0.4747 -0.3918 lineto + 0.5424 -0.4257 lineto + 0.6066 -0.4519 lineto + 0.6681 -0.4718 lineto + 0.7274 -0.486 lineto + %middle circumferential + 0.7274 -0.486 lineto + 0.8289 -0.499 lineto + 0.9247 -0.4974 lineto + 1.0149 -0.4824 lineto + 1.0987 -0.4551 lineto + %end circumferential + 1.0987 -0.4551 lineto + 1.0629 -0.3602 lineto + %middle radial + 1.0629 -0.3602 lineto + 1.0362 -0.2714 lineto + %end radial + 1.0362 -0.2714 lineto + 0.9821 -0.2804 lineto + 0.8692 -0.2676 lineto + 0.8136 -0.2444 lineto + %middle circumferential + 0.8136 -0.2444 lineto + 0.7558 -0.204 lineto + 0.7069 -0.148 lineto + 0.6734 -0.078 lineto + 0.6614 0.0 lineto + %end circumferential + closepath +currentgray 0.6728571428571428 setgray fill setgray +% Sector from 2.3562 to 3.1416 (quadrant 1) +newpath + 1.0362 0.2714 moveto + 1.0629 0.3602 lineto + %middle radial + 1.0629 0.3602 lineto + 1.0987 0.4551 lineto + %end radial + 1.0987 0.4551 lineto + 1.0231 0.4804 lineto + 0.9368 0.4962 lineto + 0.8387 0.4994 lineto + 0.7274 0.486 lineto + %middle circumferential + 0.7274 0.486 lineto + 0.6467 0.4655 lineto + 0.5883 0.445 lineto + 0.5255 0.4178 lineto + 0.4569 0.3819 lineto + 0.3801 0.3341 lineto + 0.3138 0.2866 lineto + 0.2627 0.2462 lineto + 0.2015 0.1938 lineto + 0.1414 0.1386 lineto + 0.0812 0.0807 lineto + 0.0 0.0 lineto + %end circumferential + 0.0 0.0 lineto + 0.4841 0.0 lineto + %middle radial + 0.4841 0.0 lineto + 0.6614 0.0 lineto + %end radial + 0.6614 0.0 lineto + 0.6758 0.0852 lineto + 0.7124 0.1559 lineto + 0.7608 0.2084 lineto + 0.8136 0.2444 lineto + %middle circumferential + 0.8136 0.2444 lineto + 0.8749 0.2693 lineto + 0.9333 0.2801 lineto + 1.0362 0.2714 lineto + %end circumferential + closepath +currentgray 0.7471428571428572 setgray fill setgray +% Sector from 1.5708 to 2.3562 (quadrant 1) +newpath + 1.25 0.0 moveto + 1.3288 0.0 lineto + %middle radial + 1.3288 0.0 lineto + 1.4142 0.0 lineto + %end radial + 1.4142 0.0 lineto + 1.4099 0.0636 lineto + 1.396 0.1298 lineto + 1.371 0.1975 lineto + 1.3332 0.2652 lineto + %middle circumferential + 1.3332 0.2652 lineto + 1.2916 0.319 lineto + 1.2393 0.3699 lineto + 1.1754 0.416 lineto + 1.0987 0.4551 lineto + %end circumferential + 1.0987 0.4551 lineto + 1.0629 0.3602 lineto + %middle radial + 1.0629 0.3602 lineto + 1.0362 0.2714 lineto + %end radial + 1.0362 0.2714 lineto + 1.1299 0.2282 lineto + 1.1939 0.1666 lineto + %middle circumferential + 1.1939 0.1666 lineto + 1.2374 0.0824 lineto + 1.25 0.0 lineto + %end circumferential + closepath +currentgray 0.8214285714285714 setgray fill setgray +% Sector from 0.7854 to 1.5708 (quadrant 0) +newpath + 1.0362 -0.2714 moveto + 1.0629 -0.3602 lineto + %middle radial + 1.0629 -0.3602 lineto + 1.0987 -0.4551 lineto + %end radial + 1.0987 -0.4551 lineto + 1.1607 -0.4247 lineto + 1.2219 -0.3839 lineto + 1.2804 -0.3312 lineto + 1.3332 -0.2652 lineto + %middle circumferential + 1.3332 -0.2652 lineto + 1.3652 -0.2097 lineto + 1.3908 -0.1469 lineto + 1.4079 -0.0768 lineto + 1.4142 0.0 lineto + %end circumferential + 1.4142 0.0 lineto + 1.3288 0.0 lineto + %middle radial + 1.3288 0.0 lineto + 1.25 0.0 lineto + %end radial + 1.25 0.0 lineto + 1.2337 -0.0931 lineto + 1.1939 -0.1666 lineto + %middle circumferential + 1.1939 -0.1666 lineto + 1.1181 -0.236 lineto + 1.0362 -0.2714 lineto + %end circumferential + closepath +currentgray 0.8957142857142858 setgray fill setgray +% Sector from 0.0 to 0.7854 (quadrant 0) +newpath + 0.6614 0.0 moveto + 0.4841 0.0 lineto + %middle radial + 0.4841 0.0 lineto + 0.0 0.0 lineto + %end radial + 0.0 0.0 lineto + 0.0347 -0.0347 lineto + 0.1033 -0.1022 lineto + 0.1491 -0.1459 lineto + 0.2164 -0.2069 lineto + 0.2617 -0.2453 lineto + 0.3175 -0.2894 lineto + 0.387 -0.3388 lineto + 0.4746 -0.3918 lineto + 0.5268 -0.4184 lineto + 0.5857 -0.444 lineto + 0.6523 -0.4672 lineto + 0.7274 -0.486 lineto + %middle circumferential + 0.7274 -0.486 lineto + 0.808 -0.4975 lineto + 0.8974 -0.4993 lineto + 0.9949 -0.487 lineto + 1.0987 -0.4551 lineto + %end circumferential + 1.0987 -0.4551 lineto + 1.0629 -0.3602 lineto + %middle radial + 1.0629 -0.3602 lineto + 1.0362 -0.2714 lineto + %end radial + 1.0362 -0.2714 lineto + 0.9695 -0.2811 lineto + 0.9094 -0.2771 lineto + 0.8136 -0.2444 lineto + %middle circumferential + 0.8136 -0.2444 lineto + 0.747 -0.1959 lineto + 0.7069 -0.1479 lineto + 0.673 -0.0768 lineto + 0.6621 -0.0185 lineto + 0.6614 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 1.5708 2.0 16 0.97 0.45 +% Sector from 5.8905 to 6.2832 (quadrant 3) +newpath + 0.759 1.1493 moveto + 0.7711 1.2061 lineto + 0.7843 1.2642 lineto + 0.7986 1.3236 lineto + 0.814 1.3844 lineto + %middle radial + 0.814 1.3844 lineto + 0.844 1.4958 lineto + 0.8603 1.5532 lineto + 0.8774 1.6119 lineto + %end radial + 0.8774 1.6119 lineto + 0.7748 1.6399 lineto + 0.6692 1.6644 lineto + 0.5607 1.6852 lineto + 0.4496 1.7023 lineto + %middle circumferential + 0.4496 1.7023 lineto + 0.3398 1.7152 lineto + 0.228 1.7245 lineto + 0.1147 1.7302 lineto + 0.0 1.7321 lineto + %end circumferential + 0.0 1.7321 lineto + 0.0 1.4791 lineto + %middle radial + 0.0 1.4791 lineto + 0.0 1.2114 lineto + %end radial + 0.0 1.2114 lineto + 0.1011 1.2106 lineto + 0.2008 1.2081 lineto + 0.2986 1.2039 lineto + 0.3941 1.1979 lineto + %middle circumferential + 0.3941 1.1979 lineto + 0.49 1.1894 lineto + 0.5829 1.1786 lineto + 0.6726 1.1653 lineto + 0.759 1.1493 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.4978 to 5.8905 (quadrant 3) +newpath + 1.3532 0.9117 moveto + 1.4102 0.9943 lineto + 1.4732 1.0819 lineto + %middle radial + 1.4732 1.0819 lineto + 1.5343 1.1637 lineto + 1.6005 1.2496 lineto + %end radial + 1.6005 1.2496 lineto + 1.5234 1.3067 lineto + 1.4418 1.361 lineto + 1.3558 1.4122 lineto + 1.2654 1.4602 lineto + %middle circumferential + 1.2654 1.4602 lineto + 1.1741 1.5033 lineto + 1.0789 1.543 lineto + 0.98 1.5792 lineto + 0.8774 1.6119 lineto + %end circumferential + 0.8774 1.6119 lineto + 0.8603 1.5532 lineto + 0.844 1.4958 lineto + 0.814 1.3844 lineto + %middle radial + 0.814 1.3844 lineto + 0.7986 1.3236 lineto + 0.7843 1.2642 lineto + 0.7711 1.2061 lineto + 0.759 1.1493 lineto + %end radial + 0.759 1.1493 lineto + 0.8449 1.1299 lineto + 0.9271 1.1077 lineto + 1.0057 1.0825 lineto + 1.0807 1.0546 lineto + %middle circumferential + 1.0807 1.0546 lineto + 1.1546 1.0229 lineto + 1.2246 0.9884 lineto + 1.2908 0.9513 lineto + 1.3532 0.9117 lineto + %end circumferential + closepath +currentgray 0.48466666666666664 setgray fill setgray +% Sector from 5.1051 to 5.4978 (quadrant 3) +newpath + 1.7316 0.5038 moveto + 1.8118 0.5473 lineto + 1.899 0.5935 lineto + %middle radial + 1.899 0.5935 lineto + 1.9825 0.6368 lineto + 2.0722 0.6825 lineto + %end radial + 2.0722 0.6825 lineto + 2.0299 0.7607 lineto + 1.9825 0.8378 lineto + 1.9299 0.9133 lineto + 1.8721 0.987 lineto + %middle circumferential + 1.8721 0.987 lineto + 1.8115 1.0561 lineto + 1.746 1.123 lineto + 1.6757 1.1876 lineto + 1.6005 1.2496 lineto + %end circumferential + 1.6005 1.2496 lineto + 1.5343 1.1637 lineto + 1.4732 1.0819 lineto + %middle radial + 1.4732 1.0819 lineto + 1.4102 0.9943 lineto + 1.3532 0.9117 lineto + %end radial + 1.3532 0.9117 lineto + 1.4139 0.8683 lineto + 1.4705 0.8226 lineto + 1.5231 0.7748 lineto + 1.5717 0.7252 lineto + %middle circumferential + 1.5717 0.7252 lineto + 1.6179 0.672 lineto + 1.66 0.6172 lineto + 1.6979 0.561 lineto + 1.7316 0.5038 lineto + %end circumferential + closepath +currentgray 0.5193333333333334 setgray fill setgray +% Sector from 4.7124 to 5.1051 (quadrant 3) +newpath + 1.8621 0.0 moveto + 2.0464 0.0 lineto + %middle radial + 2.0464 0.0 lineto + 2.2361 0.0 lineto + %end radial + 2.2361 0.0 lineto + 2.2336 0.0864 lineto + 2.2259 0.1735 lineto + 2.2131 0.261 lineto + 2.1948 0.3487 lineto + %middle circumferential + 2.1948 0.3487 lineto + 2.172 0.4329 lineto + 2.1441 0.5167 lineto + 2.1109 0.6 lineto + 2.0722 0.6825 lineto + %end circumferential + 2.0722 0.6825 lineto + 1.9825 0.6368 lineto + 1.899 0.5935 lineto + %middle radial + 1.899 0.5935 lineto + 1.8118 0.5473 lineto + 1.7316 0.5038 lineto + %end radial + 1.7316 0.5038 lineto + 1.7624 0.4433 lineto + 1.7889 0.382 lineto + 1.8112 0.3202 lineto + 1.8293 0.2581 lineto + %middle circumferential + 1.8293 0.2581 lineto + 1.8438 0.1933 lineto + 1.854 0.1285 lineto + 1.8601 0.064 lineto + 1.8621 0.0 lineto + %end circumferential + closepath +currentgray 0.554 setgray fill setgray +% Sector from 4.3197 to 4.7124 (quadrant 2) +newpath + 1.7316 -0.5038 moveto + 1.8118 -0.5473 lineto + 1.899 -0.5935 lineto + %middle radial + 1.899 -0.5935 lineto + 1.9825 -0.6368 lineto + 2.0722 -0.6825 lineto + %end radial + 2.0722 -0.6825 lineto + 2.1097 -0.6026 lineto + 2.1428 -0.5202 lineto + 2.1712 -0.4356 lineto + 2.1948 -0.3487 lineto + %middle circumferential + 2.1948 -0.3487 lineto + 2.2126 -0.2637 lineto + 2.2255 -0.1772 lineto + 2.2334 -0.0892 lineto + 2.2361 0.0 lineto + %end circumferential + 2.2361 0.0 lineto + 2.0464 0.0 lineto + %middle radial + 2.0464 0.0 lineto + 1.8621 0.0 lineto + %end radial + 1.8621 0.0 lineto + 1.86 -0.0661 lineto + 1.8537 -0.1312 lineto + 1.8434 -0.1953 lineto + 1.8293 -0.2581 lineto + %middle circumferential + 1.8293 -0.2581 lineto + 1.8105 -0.3222 lineto + 1.7879 -0.3846 lineto + 1.7615 -0.4452 lineto + 1.7316 -0.5038 lineto + %end circumferential + closepath +currentgray 0.5886666666666667 setgray fill setgray +% Sector from 3.927 to 4.3197 (quadrant 2) +newpath + 1.3532 -0.9117 moveto + 1.4102 -0.9943 lineto + 1.4732 -1.0819 lineto + %middle radial + 1.4732 -1.0819 lineto + 1.5343 -1.1637 lineto + 1.6005 -1.2496 lineto + %end radial + 1.6005 -1.2496 lineto + 1.6734 -1.1896 lineto + 1.7431 -1.1258 lineto + 1.8095 -1.0583 lineto + 1.8721 -0.987 lineto + %middle circumferential + 1.8721 -0.987 lineto + 1.9282 -0.9156 lineto + 1.9804 -0.841 lineto + 2.0285 -0.7632 lineto + 2.0722 -0.6825 lineto + %end circumferential + 2.0722 -0.6825 lineto + 1.9825 -0.6368 lineto + 1.899 -0.5935 lineto + %middle radial + 1.899 -0.5935 lineto + 1.8118 -0.5473 lineto + 1.7316 -0.5038 lineto + %end radial + 1.7316 -0.5038 lineto + 1.6967 -0.5629 lineto + 1.6583 -0.6195 lineto + 1.6166 -0.6737 lineto + 1.5717 -0.7252 lineto + %middle circumferential + 1.5717 -0.7252 lineto + 1.5214 -0.7764 lineto + 1.4681 -0.8246 lineto + 1.412 -0.8697 lineto + 1.3532 -0.9117 lineto + %end circumferential + closepath +currentgray 0.6233333333333333 setgray fill setgray +% Sector from 3.5343 to 3.927 (quadrant 2) +newpath + 0.759 -1.1493 moveto + 0.7711 -1.2061 lineto + 0.7843 -1.2642 lineto + 0.7986 -1.3236 lineto + 0.814 -1.3844 lineto + %middle radial + 0.814 -1.3844 lineto + 0.844 -1.4958 lineto + 0.8603 -1.5532 lineto + 0.8774 -1.6119 lineto + %end radial + 0.8774 -1.6119 lineto + 0.9767 -1.5804 lineto + 1.0747 -1.5447 lineto + 1.171 -1.5046 lineto + 1.2654 -1.4602 lineto + %middle circumferential + 1.2654 -1.4602 lineto + 1.3529 -1.4138 lineto + 1.4381 -1.3633 lineto + 1.5208 -1.3086 lineto + 1.6005 -1.2496 lineto + %end circumferential + 1.6005 -1.2496 lineto + 1.5343 -1.1637 lineto + 1.4732 -1.0819 lineto + %middle radial + 1.4732 -1.0819 lineto + 1.4102 -0.9943 lineto + 1.3532 -0.9117 lineto + %end radial + 1.3532 -0.9117 lineto + 1.2887 -0.9525 lineto + 1.2217 -0.9899 lineto + 1.1523 -1.024 lineto + 1.0807 -1.0546 lineto + %middle circumferential + 1.0807 -1.0546 lineto + 1.0032 -1.0834 lineto + 0.9236 -1.1087 lineto + 0.8421 -1.1306 lineto + 0.759 -1.1493 lineto + %end circumferential + closepath +currentgray 0.658 setgray fill setgray +% Sector from 3.1416 to 3.5343 (quadrant 2) +newpath + 0.0 -1.2114 moveto + 0.0 -1.4791 lineto + %middle radial + 0.0 -1.4791 lineto + 0.0 -1.7321 lineto + %end radial + 0.0 -1.7321 lineto + 0.1107 -1.7303 lineto + 0.2228 -1.7248 lineto + 0.3359 -1.7156 lineto + 0.4496 -1.7023 lineto + %middle circumferential + 0.4496 -1.7023 lineto + 0.5571 -1.6858 lineto + 0.6644 -1.6654 lineto + 0.7713 -1.6408 lineto + 0.8774 -1.6119 lineto + %end circumferential + 0.8774 -1.6119 lineto + 0.8603 -1.5532 lineto + 0.844 -1.4958 lineto + 0.814 -1.3844 lineto + %middle radial + 0.814 -1.3844 lineto + 0.7986 -1.3236 lineto + 0.7843 -1.2642 lineto + 0.7711 -1.2061 lineto + 0.759 -1.1493 lineto + %end radial + 0.759 -1.1493 lineto + 0.6696 -1.1658 lineto + 0.5788 -1.1792 lineto + 0.4869 -1.1898 lineto + 0.3941 -1.1979 lineto + %middle circumferential + 0.3941 -1.1979 lineto + 0.2952 -1.2041 lineto + 0.1962 -1.2083 lineto + 0.0976 -1.2106 lineto + 0.0 -1.2114 lineto + %end circumferential + closepath +currentgray 0.6926666666666667 setgray fill setgray +% Sector from 2.7489 to 3.1416 (quadrant 1) +newpath + 0.759 1.1493 moveto + 0.7711 1.2061 lineto + 0.7843 1.2642 lineto + 0.7986 1.3236 lineto + 0.814 1.3844 lineto + %middle radial + 0.814 1.3844 lineto + 0.844 1.4958 lineto + 0.8603 1.5532 lineto + 0.8774 1.6119 lineto + %end radial + 0.8774 1.6119 lineto + 0.7762 1.6396 lineto + 0.6711 1.664 lineto + 0.5622 1.6849 lineto + 0.4496 1.7023 lineto + %middle circumferential + 0.4496 1.7023 lineto + 0.3412 1.715 lineto + 0.2299 1.7244 lineto + 0.1161 1.7301 lineto + 0.0 1.7321 lineto + %end circumferential + 0.0 1.7321 lineto + 0.0 1.4791 lineto + %middle radial + 0.0 1.4791 lineto + 0.0 1.2114 lineto + %end radial + 0.0 1.2114 lineto + 0.1023 1.2105 lineto + 0.2024 1.2081 lineto + 0.2998 1.2039 lineto + 0.3941 1.1979 lineto + %middle circumferential + 0.3941 1.1979 lineto + 0.4913 1.1893 lineto + 0.5846 1.1784 lineto + 0.6738 1.1651 lineto + 0.759 1.1493 lineto + %end circumferential + closepath +currentgray 0.7273333333333334 setgray fill setgray +% Sector from 2.3562 to 2.7489 (quadrant 1) +newpath + 1.3532 0.9117 moveto + 1.4102 0.9943 lineto + 1.4732 1.0819 lineto + %middle radial + 1.4732 1.0819 lineto + 1.5343 1.1637 lineto + 1.6005 1.2496 lineto + %end radial + 1.6005 1.2496 lineto + 1.5247 1.3058 lineto + 1.4437 1.3598 lineto + 1.3573 1.4114 lineto + 1.2654 1.4602 lineto + %middle circumferential + 1.2654 1.4602 lineto + 1.1755 1.5026 lineto + 1.0809 1.5422 lineto + 0.9815 1.5787 lineto + 0.8774 1.6119 lineto + %end circumferential + 0.8774 1.6119 lineto + 0.8603 1.5532 lineto + 0.844 1.4958 lineto + 0.814 1.3844 lineto + %middle radial + 0.814 1.3844 lineto + 0.7986 1.3236 lineto + 0.7843 1.2642 lineto + 0.7711 1.2061 lineto + 0.759 1.1493 lineto + %end radial + 0.759 1.1493 lineto + 0.8461 1.1296 lineto + 0.9287 1.1072 lineto + 1.0069 1.0821 lineto + 1.0807 1.0546 lineto + %middle circumferential + 1.0807 1.0546 lineto + 1.1558 1.0223 lineto + 1.2262 0.9876 lineto + 1.2919 0.9506 lineto + 1.3532 0.9117 lineto + %end circumferential + closepath +currentgray 0.762 setgray fill setgray +% Sector from 1.9635 to 2.3562 (quadrant 1) +newpath + 1.7316 0.5038 moveto + 1.8118 0.5473 lineto + 1.899 0.5935 lineto + %middle radial + 1.899 0.5935 lineto + 1.9825 0.6368 lineto + 2.0722 0.6825 lineto + %end radial + 2.0722 0.6825 lineto + 2.0309 0.7591 lineto + 1.9839 0.8356 lineto + 1.9311 0.9117 lineto + 1.8721 0.987 lineto + %middle circumferential + 1.8721 0.987 lineto + 1.8127 1.0548 lineto + 1.7477 1.1214 lineto + 1.6771 1.1864 lineto + 1.6005 1.2496 lineto + %end circumferential + 1.6005 1.2496 lineto + 1.5343 1.1637 lineto + 1.4732 1.0819 lineto + %middle radial + 1.4732 1.0819 lineto + 1.4102 0.9943 lineto + 1.3532 0.9117 lineto + %end radial + 1.3532 0.9117 lineto + 1.415 0.8674 lineto + 1.4719 0.8214 lineto + 1.524 0.7739 lineto + 1.5717 0.7252 lineto + %middle circumferential + 1.5717 0.7252 lineto + 1.6189 0.6708 lineto + 1.6611 0.6156 lineto + 1.6986 0.5598 lineto + 1.7316 0.5038 lineto + %end circumferential + closepath +currentgray 0.7966666666666666 setgray fill setgray +% Sector from 1.5708 to 1.9635 (quadrant 1) +newpath + 1.8621 0.0 moveto + 2.0464 0.0 lineto + %middle radial + 2.0464 0.0 lineto + 2.2361 0.0 lineto + %end radial + 2.2361 0.0 lineto + 2.2337 0.0839 lineto + 2.2263 0.1702 lineto + 2.2135 0.2585 lineto + 2.1948 0.3487 lineto + %middle circumferential + 2.1948 0.3487 lineto + 2.1727 0.4308 lineto + 2.1451 0.514 lineto + 2.1118 0.598 lineto + 2.0722 0.6825 lineto + %end circumferential + 2.0722 0.6825 lineto + 1.9825 0.6368 lineto + 1.899 0.5935 lineto + %middle radial + 1.899 0.5935 lineto + 1.8118 0.5473 lineto + 1.7316 0.5038 lineto + %end radial + 1.7316 0.5038 lineto + 1.7631 0.4418 lineto + 1.7897 0.38 lineto + 1.8117 0.3187 lineto + 1.8293 0.2581 lineto + %middle circumferential + 1.8293 0.2581 lineto + 1.8442 0.1914 lineto + 1.8543 0.126 lineto + 1.8602 0.0622 lineto + 1.8621 0.0 lineto + %end circumferential + closepath +currentgray 0.8313333333333334 setgray fill setgray +% Sector from 1.1781 to 1.5708 (quadrant 0) +newpath + 1.7316 -0.5038 moveto + 1.8118 -0.5473 lineto + 1.899 -0.5935 lineto + %middle radial + 1.899 -0.5935 lineto + 1.9825 -0.6368 lineto + 2.0722 -0.6825 lineto + %end radial + 2.0722 -0.6825 lineto + 2.1083 -0.6059 lineto + 2.1411 -0.5248 lineto + 2.1702 -0.4391 lineto + 2.1948 -0.3487 lineto + %middle circumferential + 2.1948 -0.3487 lineto + 2.2121 -0.2667 lineto + 2.225 -0.1811 lineto + 2.2332 -0.0922 lineto + 2.2361 0.0 lineto + %end circumferential + 2.2361 0.0 lineto + 2.0464 0.0 lineto + %middle radial + 2.0464 0.0 lineto + 1.8621 0.0 lineto + %end radial + 1.8621 0.0 lineto + 1.8598 -0.0683 lineto + 1.8533 -0.1341 lineto + 1.843 -0.1974 lineto + 1.8293 -0.2581 lineto + %middle circumferential + 1.8293 -0.2581 lineto + 1.8097 -0.3248 lineto + 1.7865 -0.388 lineto + 1.7604 -0.4476 lineto + 1.7316 -0.5038 lineto + %end circumferential + closepath +currentgray 0.866 setgray fill setgray +% Sector from 0.7854 to 1.1781 (quadrant 0) +newpath + 1.3532 -0.9117 moveto + 1.4102 -0.9943 lineto + 1.4732 -1.0819 lineto + %middle radial + 1.4732 -1.0819 lineto + 1.5343 -1.1637 lineto + 1.6005 -1.2496 lineto + %end radial + 1.6005 -1.2496 lineto + 1.6688 -1.1936 lineto + 1.7372 -1.1316 lineto + 1.8052 -1.0629 lineto + 1.8721 -0.987 lineto + %middle circumferential + 1.8721 -0.987 lineto + 1.9254 -0.9193 lineto + 1.977 -0.8461 lineto + 2.0261 -0.7673 lineto + 2.0722 -0.6825 lineto + %end circumferential + 2.0722 -0.6825 lineto + 1.9825 -0.6368 lineto + 1.899 -0.5935 lineto + %middle radial + 1.899 -0.5935 lineto + 1.8118 -0.5473 lineto + 1.7316 -0.5038 lineto + %end radial + 1.7316 -0.5038 lineto + 1.6948 -0.5658 lineto + 1.6556 -0.6233 lineto + 1.6144 -0.6763 lineto + 1.5717 -0.7252 lineto + %middle circumferential + 1.5717 -0.7252 lineto + 1.518 -0.7797 lineto + 1.4634 -0.8286 lineto + 1.4083 -0.8725 lineto + 1.3532 -0.9117 lineto + %end circumferential + closepath +currentgray 0.9006666666666666 setgray fill setgray +% Sector from 0.3927 to 0.7854 (quadrant 0) +newpath + 0.759 -1.1493 moveto + 0.7711 -1.2061 lineto + 0.7843 -1.2642 lineto + 0.7986 -1.3236 lineto + 0.814 -1.3844 lineto + %middle radial + 0.814 -1.3844 lineto + 0.844 -1.4958 lineto + 0.8603 -1.5532 lineto + 0.8774 -1.6119 lineto + %end radial + 0.8774 -1.6119 lineto + 0.9198 -1.599 lineto + 1.0099 -1.5688 lineto + 1.107 -1.5318 lineto + 1.211 -1.4865 lineto + 1.2654 -1.4602 lineto + %middle circumferential + 1.2654 -1.4602 lineto + 1.3454 -1.418 lineto + 1.4282 -1.3695 lineto + 1.5134 -1.3136 lineto + 1.6005 -1.2496 lineto + %end circumferential + 1.6005 -1.2496 lineto + 1.5343 -1.1637 lineto + 1.4732 -1.0819 lineto + %middle radial + 1.4732 -1.0819 lineto + 1.4102 -0.9943 lineto + 1.3532 -0.9117 lineto + %end radial + 1.3532 -0.9117 lineto + 1.2828 -0.956 lineto + 1.2136 -0.9941 lineto + 1.1461 -1.0268 lineto + 1.0807 -1.0546 lineto + %middle circumferential + 1.0807 -1.0546 lineto + 0.9926 -1.087 lineto + 0.9094 -1.1128 lineto + 0.8316 -1.1332 lineto + 0.759 -1.1493 lineto + %end circumferential + closepath +currentgray 0.9353333333333332 setgray fill setgray +% Sector from 0.0 to 0.3927 (quadrant 0) +newpath + 0.0 -1.2114 moveto + 0.0 -1.2769 lineto + 0.0 -1.4791 lineto + %middle radial + 0.0 -1.4791 lineto + 0.0 -1.7321 lineto + %end radial + 0.0 -1.7321 lineto + 0.0522 -1.7317 lineto + 0.1537 -1.7286 lineto + 0.2201 -1.725 lineto + 0.315 -1.7176 lineto + 0.3765 -1.7113 lineto + 0.4496 -1.7023 lineto + %middle circumferential + 0.4496 -1.7023 lineto + 0.5328 -1.6899 lineto + 0.6306 -1.6723 lineto + 0.7146 -1.6544 lineto + 0.7762 -1.6396 lineto + 0.8424 -1.6219 lineto + 0.8774 -1.6119 lineto + %end circumferential + 0.8774 -1.6119 lineto + 0.8603 -1.5532 lineto + 0.844 -1.4958 lineto + 0.814 -1.3844 lineto + %middle radial + 0.814 -1.3844 lineto + 0.7986 -1.3236 lineto + 0.7843 -1.2642 lineto + 0.7711 -1.2061 lineto + 0.759 -1.1493 lineto + %end radial + 0.759 -1.1493 lineto + 0.7297 -1.1551 lineto + 0.6472 -1.1694 lineto + 0.5499 -1.1828 lineto + 0.466 -1.1918 lineto + 0.3941 -1.1979 lineto + %middle circumferential + 0.3941 -1.1979 lineto + 0.3306 -1.2022 lineto + 0.2318 -1.207 lineto + 0.1355 -1.2099 lineto + 0.046 -1.2112 lineto + 0.0 -1.2114 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 3.0 3.1416 32 0.97 0.45 +% Sector from 6.0868 to 6.2832 (quadrant 3) +newpath + 0.6206 2.7749 moveto + 0.6335 2.8484 lineto + %middle radial + 0.6335 2.8484 lineto + 0.6464 2.9217 lineto + %end radial + 0.6464 2.9217 lineto + 0.5669 2.9348 lineto + 0.4868 2.9463 lineto + 0.4061 2.956 lineto + 0.3248 2.964 lineto + %middle circumferential + 0.3248 2.964 lineto + 0.2443 2.9702 lineto + 0.1632 2.9746 lineto + 0.0818 2.9773 lineto + 0.0 2.9782 lineto + %end circumferential + 0.0 2.9782 lineto + 0.0 2.9034 lineto + %middle radial + 0.0 2.9034 lineto + 0.0 2.8284 lineto + %end radial + 0.0 2.8284 lineto + 0.0786 2.8276 lineto + 0.1567 2.825 lineto + 0.2345 2.8209 lineto + 0.3119 2.815 lineto + %middle circumferential + 0.3119 2.815 lineto + 0.3899 2.8074 lineto + 0.4674 2.7982 lineto + 0.5443 2.7873 lineto + 0.6206 2.7749 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.8905 to 6.0868 (quadrant 3) +newpath + 1.2164 2.616 moveto + 1.2417 2.6851 lineto + %middle radial + 1.2417 2.6851 lineto + 1.2671 2.754 lineto + %end radial + 1.2671 2.754 lineto + 1.1922 2.7807 lineto + 1.1163 2.8059 lineto + 1.0394 2.8295 lineto + 0.9615 2.8514 lineto + %middle circumferential + 0.9615 2.8514 lineto + 0.884 2.8715 lineto + 0.8056 2.8899 lineto + 0.7264 2.9066 lineto + 0.6464 2.9217 lineto + %end circumferential + 0.6464 2.9217 lineto + 0.6335 2.8484 lineto + %middle radial + 0.6335 2.8484 lineto + 0.6206 2.7749 lineto + %end radial + 0.6206 2.7749 lineto + 0.6974 2.7606 lineto + 0.7734 2.7448 lineto + 0.8487 2.7273 lineto + 0.9231 2.7084 lineto + %middle circumferential + 0.9231 2.7084 lineto + 0.9978 2.6875 lineto + 1.0717 2.6652 lineto + 1.1445 2.6413 lineto + 1.2164 2.616 lineto + %end circumferential + closepath +currentgray 0.4667741935483871 setgray fill setgray +% Sector from 5.6941 to 5.8905 (quadrant 3) +newpath + 1.7639 2.357 moveto + 1.8008 2.419 lineto + %middle radial + 1.8008 2.419 lineto + 1.8378 2.4808 lineto + %end radial + 1.8378 2.4808 lineto + 1.7704 2.5202 lineto + 1.7016 2.5582 lineto + 1.6315 2.5948 lineto + 1.5601 2.6301 lineto + %middle circumferential + 1.5601 2.6301 lineto + 1.4886 2.6632 lineto + 1.4159 2.695 lineto + 1.3421 2.7252 lineto + 1.2671 2.754 lineto + %end circumferential + 1.2671 2.754 lineto + 1.2417 2.6851 lineto + %middle radial + 1.2417 2.6851 lineto + 1.2164 2.616 lineto + %end radial + 1.2164 2.616 lineto + 1.2883 2.5888 lineto + 1.3592 2.5601 lineto + 1.429 2.53 lineto + 1.4975 2.4985 lineto + %middle circumferential + 1.4975 2.4985 lineto + 1.566 2.4651 lineto + 1.6333 2.4304 lineto + 1.6992 2.3943 lineto + 1.7639 2.357 lineto + %end circumferential + closepath +currentgray 0.4835483870967742 setgray fill setgray +% Sector from 5.4978 to 5.6941 (quadrant 3) +newpath + 2.2423 2.0069 moveto + 2.2894 2.0594 lineto + %middle radial + 2.2894 2.0594 lineto + 2.3367 2.1119 lineto + %end radial + 2.3367 2.1119 lineto + 2.2793 2.1625 lineto + 2.2203 2.212 lineto + 2.1597 2.2604 lineto + 2.0975 2.3075 lineto + %middle circumferential + 2.0975 2.3075 lineto + 2.0348 2.3527 lineto + 1.9706 2.3967 lineto + 1.9049 2.4394 lineto + 1.8378 2.4808 lineto + %end circumferential + 1.8378 2.4808 lineto + 1.8008 2.419 lineto + %middle radial + 1.8008 2.419 lineto + 1.7639 2.357 lineto + %end radial + 1.7639 2.357 lineto + 1.8283 2.3177 lineto + 1.8913 2.2772 lineto + 1.9528 2.2355 lineto + 2.0129 2.1926 lineto + %middle circumferential + 2.0129 2.1926 lineto + 2.0726 2.1478 lineto + 2.1307 2.1019 lineto + 2.1873 2.0549 lineto + 2.2423 2.0069 lineto + %end circumferential + closepath +currentgray 0.5003225806451613 setgray fill setgray +% Sector from 5.3014 to 5.4978 (quadrant 3) +newpath + 2.6336 1.5786 moveto + 2.6893 1.6198 lineto + %middle radial + 2.6893 1.6198 lineto + 2.7451 1.6609 lineto + %end radial + 2.7451 1.6609 lineto + 2.6998 1.7208 lineto + 2.6528 1.7799 lineto + 2.6039 1.8382 lineto + 2.5532 1.8956 lineto + %middle circumferential + 2.5532 1.8956 lineto + 2.5017 1.9512 lineto + 2.4484 2.0057 lineto + 2.3934 2.0593 lineto + 2.3367 2.1119 lineto + %end circumferential + 2.3367 2.1119 lineto + 2.2894 2.0594 lineto + %middle radial + 2.2894 2.0594 lineto + 2.2423 2.0069 lineto + %end radial + 2.2423 2.0069 lineto + 2.2966 1.957 lineto + 2.3493 1.9061 lineto + 2.4004 1.8543 lineto + 2.4498 1.8016 lineto + %middle circumferential + 2.4498 1.8016 lineto + 2.4984 1.747 lineto + 2.5452 1.6917 lineto + 2.5903 1.6355 lineto + 2.6336 1.5786 lineto + %end circumferential + closepath +currentgray 0.5170967741935484 setgray fill setgray +% Sector from 5.1051 to 5.3014 (quadrant 3) +newpath + 2.9238 1.0883 moveto + 2.9857 1.1166 lineto + %middle radial + 2.9857 1.1166 lineto + 3.0479 1.1449 lineto + %end radial + 3.0479 1.1449 lineto + 3.0165 1.2118 lineto + 2.9831 1.2783 lineto + 2.9477 1.3443 lineto + 2.9105 1.4098 lineto + %middle circumferential + 2.9105 1.4098 lineto + 2.872 1.4735 lineto + 2.8316 1.5366 lineto + 2.7893 1.5991 lineto + 2.7451 1.6609 lineto + %end circumferential + 2.7451 1.6609 lineto + 2.6893 1.6198 lineto + %middle radial + 2.6893 1.6198 lineto + 2.6336 1.5786 lineto + %end radial + 2.6336 1.5786 lineto + 2.676 1.5199 lineto + 2.7165 1.4606 lineto + 2.7552 1.4006 lineto + 2.7921 1.3401 lineto + %middle circumferential + 2.7921 1.3401 lineto + 2.8278 1.2778 lineto + 2.8617 1.2151 lineto + 2.8937 1.1519 lineto + 2.9238 1.0883 lineto + %end circumferential + closepath +currentgray 0.5338709677419355 setgray fill setgray +% Sector from 4.9087 to 5.1051 (quadrant 3) +newpath + 3.1021 0.5551 moveto + 3.168 0.5695 lineto + %middle radial + 3.168 0.5695 lineto + 3.2341 0.5839 lineto + %end radial + 3.2341 0.5839 lineto + 3.2176 0.6552 lineto + 3.1991 0.7265 lineto + 3.1786 0.7977 lineto + 3.1561 0.8687 lineto + %middle circumferential + 3.1561 0.8687 lineto + 3.132 0.9381 lineto + 3.106 1.0073 lineto + 3.0779 1.0763 lineto + 3.0479 1.1449 lineto + %end circumferential + 3.0479 1.1449 lineto + 2.9857 1.1166 lineto + %middle radial + 2.9857 1.1166 lineto + 2.9238 1.0883 lineto + %end radial + 2.9238 1.0883 lineto + 2.9525 1.0231 lineto + 2.9794 0.9576 lineto + 3.0044 0.8918 lineto + 3.0274 0.8258 lineto + %middle circumferential + 3.0274 0.8258 lineto + 3.049 0.7583 lineto + 3.0686 0.6907 lineto + 3.0863 0.6229 lineto + 3.1021 0.5551 lineto + %end circumferential + closepath +currentgray 0.5506451612903226 setgray fill setgray +% Sector from 4.7124 to 4.9087 (quadrant 3) +newpath + 3.1623 0.0 moveto + 3.2295 0.0 lineto + %middle radial + 3.2295 0.0 lineto + 3.2969 0.0 lineto + %end radial + 3.2969 0.0 lineto + 3.2959 0.0729 lineto + 3.293 0.1461 lineto + 3.2881 0.2196 lineto + 3.2812 0.2934 lineto + %middle circumferential + 3.2812 0.2934 lineto + 3.2724 0.3659 lineto + 3.2616 0.4385 lineto + 3.2489 0.5112 lineto + 3.2341 0.5839 lineto + %end circumferential + 3.2341 0.5839 lineto + 3.168 0.5695 lineto + %middle radial + 3.168 0.5695 lineto + 3.1021 0.5551 lineto + %end radial + 3.1021 0.5551 lineto + 3.1163 0.486 lineto + 3.1285 0.4169 lineto + 3.1388 0.3478 lineto + 3.1472 0.2789 lineto + %middle circumferential + 3.1472 0.2789 lineto + 3.1538 0.2088 lineto + 3.1585 0.1389 lineto + 3.1613 0.0693 lineto + 3.1623 0.0 lineto + %end circumferential + closepath +currentgray 0.5674193548387096 setgray fill setgray +% Sector from 4.516 to 4.7124 (quadrant 2) +newpath + 3.1021 -0.5551 moveto + 3.168 -0.5695 lineto + %middle radial + 3.168 -0.5695 lineto + 3.2341 -0.5839 lineto + %end radial + 3.2341 -0.5839 lineto + 3.2487 -0.5123 lineto + 3.2614 -0.44 lineto + 3.2722 -0.367 lineto + 3.2812 -0.2934 lineto + %middle circumferential + 3.2812 -0.2934 lineto + 3.288 -0.2208 lineto + 3.2929 -0.1477 lineto + 3.2959 -0.074 lineto + 3.2969 0.0 lineto + %end circumferential + 3.2969 0.0 lineto + 3.2295 0.0 lineto + %middle radial + 3.2295 0.0 lineto + 3.1623 0.0 lineto + %end radial + 3.1623 0.0 lineto + 3.1613 -0.0704 lineto + 3.1585 -0.1404 lineto + 3.1538 -0.2099 lineto + 3.1472 -0.2789 lineto + %middle circumferential + 3.1472 -0.2789 lineto + 3.1387 -0.3489 lineto + 3.1283 -0.4183 lineto + 3.1161 -0.487 lineto + 3.1021 -0.5551 lineto + %end circumferential + closepath +currentgray 0.5841935483870968 setgray fill setgray +% Sector from 4.3197 to 4.516 (quadrant 2) +newpath + 2.9238 -1.0883 moveto + 2.9857 -1.1166 lineto + %middle radial + 2.9857 -1.1166 lineto + 3.0479 -1.1449 lineto + %end radial + 3.0479 -1.1449 lineto + 3.0775 -1.0774 lineto + 3.1054 -1.0088 lineto + 3.1316 -0.9392 lineto + 3.1561 -0.8687 lineto + %middle circumferential + 3.1561 -0.8687 lineto + 3.1783 -0.7988 lineto + 3.1987 -0.728 lineto + 3.2173 -0.6564 lineto + 3.2341 -0.5839 lineto + %end circumferential + 3.2341 -0.5839 lineto + 3.168 -0.5695 lineto + %middle radial + 3.168 -0.5695 lineto + 3.1021 -0.5551 lineto + %end radial + 3.1021 -0.5551 lineto + 3.086 -0.624 lineto + 3.0682 -0.6921 lineto + 3.0487 -0.7594 lineto + 3.0274 -0.8258 lineto + %middle circumferential + 3.0274 -0.8258 lineto + 3.004 -0.8929 lineto + 2.9789 -0.959 lineto + 2.9521 -1.0241 lineto + 2.9238 -1.0883 lineto + %end circumferential + closepath +currentgray 0.600967741935484 setgray fill setgray +% Sector from 4.1233 to 4.3197 (quadrant 2) +newpath + 2.6336 -1.5786 moveto + 2.6893 -1.6198 lineto + %middle radial + 2.6893 -1.6198 lineto + 2.7451 -1.6609 lineto + %end radial + 2.7451 -1.6609 lineto + 2.7886 -1.6001 lineto + 2.8307 -1.538 lineto + 2.8713 -1.4745 lineto + 2.9105 -1.4098 lineto + %middle circumferential + 2.9105 -1.4098 lineto + 2.9472 -1.3453 lineto + 2.9824 -1.2797 lineto + 3.0159 -1.2128 lineto + 3.0479 -1.1449 lineto + %end circumferential + 3.0479 -1.1449 lineto + 2.9857 -1.1166 lineto + %middle radial + 2.9857 -1.1166 lineto + 2.9238 -1.0883 lineto + %end radial + 2.9238 -1.0883 lineto + 2.8932 -1.1529 lineto + 2.861 -1.2164 lineto + 2.8273 -1.2788 lineto + 2.7921 -1.3401 lineto + %middle circumferential + 2.7921 -1.3401 lineto + 2.7546 -1.4016 lineto + 2.7157 -1.4618 lineto + 2.6753 -1.5208 lineto + 2.6336 -1.5786 lineto + %end circumferential + closepath +currentgray 0.6177419354838709 setgray fill setgray +% Sector from 3.927 to 4.1233 (quadrant 2) +newpath + 2.2423 -2.0069 moveto + 2.2894 -2.0594 lineto + %middle radial + 2.2894 -2.0594 lineto + 2.3367 -2.1119 lineto + %end radial + 2.3367 -2.1119 lineto + 2.3925 -2.0602 lineto + 2.4472 -2.0069 lineto + 2.5008 -1.952 lineto + 2.5532 -1.8956 lineto + %middle circumferential + 2.5532 -1.8956 lineto + 2.6031 -1.8391 lineto + 2.6518 -1.7811 lineto + 2.6991 -1.7217 lineto + 2.7451 -1.6609 lineto + %end circumferential + 2.7451 -1.6609 lineto + 2.6893 -1.6198 lineto + %middle radial + 2.6893 -1.6198 lineto + 2.6336 -1.5786 lineto + %end radial + 2.6336 -1.5786 lineto + 2.5896 -1.6364 lineto + 2.5442 -1.6928 lineto + 2.4976 -1.7479 lineto + 2.4498 -1.8016 lineto + %middle circumferential + 2.4498 -1.8016 lineto + 2.3996 -1.8551 lineto + 2.3482 -1.9072 lineto + 2.2958 -1.9578 lineto + 2.2423 -2.0069 lineto + %end circumferential + closepath +currentgray 0.6345161290322581 setgray fill setgray +% Sector from 3.7306 to 3.927 (quadrant 2) +newpath + 1.7639 -2.357 moveto + 1.8008 -2.419 lineto + %middle radial + 1.8008 -2.419 lineto + 1.8378 -2.4808 lineto + %end radial + 1.8378 -2.4808 lineto + 1.9038 -2.4401 lineto + 1.9692 -2.3976 lineto + 2.0337 -2.3535 lineto + 2.0975 -2.3075 lineto + %middle circumferential + 2.0975 -2.3075 lineto + 2.1587 -2.2611 lineto + 2.219 -2.213 lineto + 2.2784 -2.1633 lineto + 2.3367 -2.1119 lineto + %end circumferential + 2.3367 -2.1119 lineto + 2.2894 -2.0594 lineto + %middle radial + 2.2894 -2.0594 lineto + 2.2423 -2.0069 lineto + %end radial + 2.2423 -2.0069 lineto + 2.1863 -2.0557 lineto + 2.1294 -2.1029 lineto + 2.0716 -2.1486 lineto + 2.0129 -2.1926 lineto + %middle circumferential + 2.0129 -2.1926 lineto + 1.9518 -2.2362 lineto + 1.8899 -2.2781 lineto + 1.8272 -2.3184 lineto + 1.7639 -2.357 lineto + %end circumferential + closepath +currentgray 0.6512903225806452 setgray fill setgray +% Sector from 3.5343 to 3.7306 (quadrant 2) +newpath + 1.2164 -2.616 moveto + 1.2417 -2.6851 lineto + %middle radial + 1.2417 -2.6851 lineto + 1.2671 -2.754 lineto + %end radial + 1.2671 -2.754 lineto + 1.3408 -2.7257 lineto + 1.4143 -2.6957 lineto + 1.4874 -2.6638 lineto + 1.5601 -2.6301 lineto + %middle circumferential + 1.5601 -2.6301 lineto + 1.6304 -2.5954 lineto + 1.7001 -2.559 lineto + 1.7693 -2.5208 lineto + 1.8378 -2.4808 lineto + %end circumferential + 1.8378 -2.4808 lineto + 1.8008 -2.419 lineto + %middle radial + 1.8008 -2.419 lineto + 1.7639 -2.357 lineto + %end radial + 1.7639 -2.357 lineto + 1.6982 -2.3949 lineto + 1.6318 -2.4312 lineto + 1.5649 -2.4657 lineto + 1.4975 -2.4985 lineto + %middle circumferential + 1.4975 -2.4985 lineto + 1.4278 -2.5305 lineto + 1.3577 -2.5608 lineto + 1.2872 -2.5892 lineto + 1.2164 -2.616 lineto + %end circumferential + closepath +currentgray 0.6680645161290323 setgray fill setgray +% Sector from 3.3379 to 3.5343 (quadrant 2) +newpath + 0.6206 -2.7749 moveto + 0.6335 -2.8484 lineto + %middle radial + 0.6335 -2.8484 lineto + 0.6464 -2.9217 lineto + %end radial + 0.6464 -2.9217 lineto + 0.725 -2.9069 lineto + 0.8038 -2.8903 lineto + 0.8826 -2.8718 lineto + 0.9615 -2.8514 lineto + %middle circumferential + 0.9615 -2.8514 lineto + 1.0381 -2.8298 lineto + 1.1146 -2.8064 lineto + 1.1909 -2.7811 lineto + 1.2671 -2.754 lineto + %end circumferential + 1.2671 -2.754 lineto + 1.2417 -2.6851 lineto + %middle radial + 1.2417 -2.6851 lineto + 1.2164 -2.616 lineto + %end radial + 1.2164 -2.616 lineto + 1.1433 -2.6417 lineto + 1.07 -2.6657 lineto + 0.9966 -2.6879 lineto + 0.9231 -2.7084 lineto + %middle circumferential + 0.9231 -2.7084 lineto + 0.8474 -2.7277 lineto + 0.7717 -2.7451 lineto + 0.6961 -2.7609 lineto + 0.6206 -2.7749 lineto + %end circumferential + closepath +currentgray 0.6848387096774193 setgray fill setgray +% Sector from 3.1416 to 3.3379 (quadrant 2) +newpath + 0.0 -2.8284 moveto + 0.0 -2.9034 lineto + %middle radial + 0.0 -2.9034 lineto + 0.0 -2.9782 lineto + %end radial + 0.0 -2.9782 lineto + 0.0804 -2.9773 lineto + 0.1614 -2.9747 lineto + 0.2428 -2.9703 lineto + 0.3248 -2.964 lineto + %middle circumferential + 0.3248 -2.964 lineto + 0.4047 -2.9562 lineto + 0.485 -2.9465 lineto + 0.5656 -2.935 lineto + 0.6464 -2.9217 lineto + %end circumferential + 0.6464 -2.9217 lineto + 0.6335 -2.8484 lineto + %middle radial + 0.6335 -2.8484 lineto + 0.6206 -2.7749 lineto + %end radial + 0.6206 -2.7749 lineto + 0.543 -2.7875 lineto + 0.4657 -2.7984 lineto + 0.3886 -2.8076 lineto + 0.3119 -2.815 lineto + %middle circumferential + 0.3119 -2.815 lineto + 0.2332 -2.8209 lineto + 0.1549 -2.8251 lineto + 0.0772 -2.8276 lineto + 0.0 -2.8284 lineto + %end circumferential + closepath +currentgray 0.7016129032258065 setgray fill setgray +% Sector from 2.9452 to 3.1416 (quadrant 1) +newpath + 0.6206 2.7749 moveto + 0.6335 2.8484 lineto + %middle radial + 0.6335 2.8484 lineto + 0.6464 2.9217 lineto + %end radial + 0.6464 2.9217 lineto + 0.5674 2.9347 lineto + 0.4875 2.9462 lineto + 0.4066 2.956 lineto + 0.3248 2.964 lineto + %middle circumferential + 0.3248 2.964 lineto + 0.2447 2.9702 lineto + 0.1639 2.9746 lineto + 0.0823 2.9773 lineto + 0.0 2.9782 lineto + %end circumferential + 0.0 2.9782 lineto + 0.0 2.9034 lineto + %middle radial + 0.0 2.9034 lineto + 0.0 2.8284 lineto + %end radial + 0.0 2.8284 lineto + 0.079 2.8276 lineto + 0.1574 2.825 lineto + 0.235 2.8208 lineto + 0.3119 2.815 lineto + %middle circumferential + 0.3119 2.815 lineto + 0.3904 2.8074 lineto + 0.4681 2.7981 lineto + 0.5448 2.7873 lineto + 0.6206 2.7749 lineto + %end circumferential + closepath +currentgray 0.7183870967741936 setgray fill setgray +% Sector from 2.7489 to 2.9452 (quadrant 1) +newpath + 1.2164 2.616 moveto + 1.2417 2.6851 lineto + %middle radial + 1.2417 2.6851 lineto + 1.2671 2.754 lineto + %end radial + 1.2671 2.754 lineto + 1.1927 2.7805 lineto + 1.117 2.8056 lineto + 1.0399 2.8293 lineto + 0.9615 2.8514 lineto + %middle circumferential + 0.9615 2.8514 lineto + 0.8845 2.8713 lineto + 0.8063 2.8897 lineto + 0.7269 2.9065 lineto + 0.6464 2.9217 lineto + %end circumferential + 0.6464 2.9217 lineto + 0.6335 2.8484 lineto + %middle radial + 0.6335 2.8484 lineto + 0.6206 2.7749 lineto + %end radial + 0.6206 2.7749 lineto + 0.6979 2.7605 lineto + 0.7741 2.7446 lineto + 0.8492 2.7272 lineto + 0.9231 2.7084 lineto + %middle circumferential + 0.9231 2.7084 lineto + 0.9984 2.6874 lineto + 1.0723 2.665 lineto + 1.145 2.6412 lineto + 1.2164 2.616 lineto + %end circumferential + closepath +currentgray 0.7351612903225806 setgray fill setgray +% Sector from 2.5525 to 2.7489 (quadrant 1) +newpath + 1.7639 2.357 moveto + 1.8008 2.419 lineto + %middle radial + 1.8008 2.419 lineto + 1.8378 2.4808 lineto + %end radial + 1.8378 2.4808 lineto + 1.7709 2.5199 lineto + 1.7023 2.5578 lineto + 1.6321 2.5946 lineto + 1.5601 2.6301 lineto + %middle circumferential + 1.5601 2.6301 lineto + 1.4892 2.663 lineto + 1.4167 2.6947 lineto + 1.3426 2.725 lineto + 1.2671 2.754 lineto + %end circumferential + 1.2671 2.754 lineto + 1.2417 2.6851 lineto + %middle radial + 1.2417 2.6851 lineto + 1.2164 2.616 lineto + %end radial + 1.2164 2.616 lineto + 1.2889 2.5886 lineto + 1.3599 2.5598 lineto + 1.4295 2.5298 lineto + 1.4975 2.4985 lineto + %middle circumferential + 1.4975 2.4985 lineto + 1.5666 2.4649 lineto + 1.634 2.43 lineto + 1.6997 2.3941 lineto + 1.7639 2.357 lineto + %end circumferential + closepath +currentgray 0.7519354838709679 setgray fill setgray +% Sector from 2.3562 to 2.5525 (quadrant 1) +newpath + 2.2423 2.0069 moveto + 2.2894 2.0594 lineto + %middle radial + 2.2894 2.0594 lineto + 2.3367 2.1119 lineto + %end radial + 2.3367 2.1119 lineto + 2.2798 2.162 lineto + 2.221 2.2114 lineto + 2.1602 2.2599 lineto + 2.0975 2.3075 lineto + %middle circumferential + 2.0975 2.3075 lineto + 2.0353 2.3524 lineto + 1.9713 2.3962 lineto + 1.9055 2.4391 lineto + 1.8378 2.4808 lineto + %end circumferential + 1.8378 2.4808 lineto + 1.8008 2.419 lineto + %middle radial + 1.8008 2.419 lineto + 1.7639 2.357 lineto + %end radial + 1.7639 2.357 lineto + 1.8288 2.3174 lineto + 1.8919 2.2768 lineto + 1.9533 2.2352 lineto + 2.0129 2.1926 lineto + %middle circumferential + 2.0129 2.1926 lineto + 2.0731 2.1474 lineto + 2.1313 2.1014 lineto + 2.1877 2.0545 lineto + 2.2423 2.0069 lineto + %end circumferential + closepath +currentgray 0.7687096774193548 setgray fill setgray +% Sector from 2.1598 to 2.3562 (quadrant 1) +newpath + 2.6336 1.5786 moveto + 2.6893 1.6198 lineto + %middle radial + 2.6893 1.6198 lineto + 2.7451 1.6609 lineto + %end radial + 2.7451 1.6609 lineto + 2.7003 1.7202 lineto + 2.6534 1.7791 lineto + 2.6044 1.8376 lineto + 2.5532 1.8956 lineto + %middle circumferential + 2.5532 1.8956 lineto + 2.5022 1.9506 lineto + 2.4491 2.0051 lineto + 2.3939 2.0588 lineto + 2.3367 2.1119 lineto + %end circumferential + 2.3367 2.1119 lineto + 2.2894 2.0594 lineto + %middle radial + 2.2894 2.0594 lineto + 2.2423 2.0069 lineto + %end radial + 2.2423 2.0069 lineto + 2.2971 1.9565 lineto + 2.35 1.9055 lineto + 2.4009 1.8538 lineto + 2.4498 1.8016 lineto + %middle circumferential + 2.4498 1.8016 lineto + 2.4989 1.7465 lineto + 2.5458 1.6909 lineto + 2.5907 1.6349 lineto + 2.6336 1.5786 lineto + %end circumferential + closepath +currentgray 0.7854838709677419 setgray fill setgray +% Sector from 1.9635 to 2.1598 (quadrant 1) +newpath + 2.9238 1.0883 moveto + 2.9857 1.1166 lineto + %middle radial + 2.9857 1.1166 lineto + 3.0479 1.1449 lineto + %end radial + 3.0479 1.1449 lineto + 3.0168 1.211 lineto + 2.9836 1.2773 lineto + 2.9482 1.3436 lineto + 2.9105 1.4098 lineto + %middle circumferential + 2.9105 1.4098 lineto + 2.8724 1.4728 lineto + 2.8321 1.5358 lineto + 2.7897 1.5984 lineto + 2.7451 1.6609 lineto + %end circumferential + 2.7451 1.6609 lineto + 2.6893 1.6198 lineto + %middle radial + 2.6893 1.6198 lineto + 2.6336 1.5786 lineto + %end radial + 2.6336 1.5786 lineto + 2.6764 1.5193 lineto + 2.7171 1.4597 lineto + 2.7556 1.4 lineto + 2.7921 1.3401 lineto + %middle circumferential + 2.7921 1.3401 lineto + 2.8282 1.2771 lineto + 2.8622 1.2142 lineto + 2.894 1.1512 lineto + 2.9238 1.0883 lineto + %end circumferential + closepath +currentgray 0.802258064516129 setgray fill setgray +% Sector from 1.7671 to 1.9635 (quadrant 1) +newpath + 3.1021 0.5551 moveto + 3.168 0.5695 lineto + %middle radial + 3.168 0.5695 lineto + 3.2341 0.5839 lineto + %end radial + 3.2341 0.5839 lineto + 3.2178 0.6543 lineto + 3.1994 0.7253 lineto + 3.1789 0.7967 lineto + 3.1561 0.8687 lineto + %middle circumferential + 3.1561 0.8687 lineto + 3.1323 0.9373 lineto + 3.1064 1.0062 lineto + 3.0783 1.0755 lineto + 3.0479 1.1449 lineto + %end circumferential + 3.0479 1.1449 lineto + 2.9857 1.1166 lineto + %middle radial + 2.9857 1.1166 lineto + 2.9238 1.0883 lineto + %end radial + 2.9238 1.0883 lineto + 2.9529 1.0223 lineto + 2.9798 0.9566 lineto + 3.0046 0.891 lineto + 3.0274 0.8258 lineto + %middle circumferential + 3.0274 0.8258 lineto + 3.0492 0.7574 lineto + 3.0689 0.6895 lineto + 3.0865 0.622 lineto + 3.1021 0.5551 lineto + %end circumferential + closepath +currentgray 0.8190322580645162 setgray fill setgray +% Sector from 1.5708 to 1.7671 (quadrant 1) +newpath + 3.1623 0.0 moveto + 3.2295 0.0 lineto + %middle radial + 3.2295 0.0 lineto + 3.2969 0.0 lineto + %end radial + 3.2969 0.0 lineto + 3.296 0.0718 lineto + 3.2931 0.1447 lineto + 3.2882 0.2185 lineto + 3.2812 0.2934 lineto + %middle circumferential + 3.2812 0.2934 lineto + 3.2725 0.3649 lineto + 3.2619 0.4371 lineto + 3.2491 0.5102 lineto + 3.2341 0.5839 lineto + %end circumferential + 3.2341 0.5839 lineto + 3.168 0.5695 lineto + %middle radial + 3.168 0.5695 lineto + 3.1021 0.5551 lineto + %end radial + 3.1021 0.5551 lineto + 3.1165 0.485 lineto + 3.1287 0.4156 lineto + 3.1389 0.3469 lineto + 3.1472 0.2789 lineto + %middle circumferential + 3.1472 0.2789 lineto + 3.1539 0.2078 lineto + 3.1586 0.1375 lineto + 3.1614 0.0683 lineto + 3.1623 0.0 lineto + %end circumferential + closepath +currentgray 0.8358064516129032 setgray fill setgray +% Sector from 1.3744 to 1.5708 (quadrant 0) +newpath + 3.1021 -0.5551 moveto + 3.168 -0.5695 lineto + %middle radial + 3.168 -0.5695 lineto + 3.2341 -0.5839 lineto + %end radial + 3.2341 -0.5839 lineto + 3.2484 -0.5136 lineto + 3.2611 -0.4417 lineto + 3.2721 -0.3683 lineto + 3.2812 -0.2934 lineto + %middle circumferential + 3.2812 -0.2934 lineto + 3.2879 -0.222 lineto + 3.2928 -0.1493 lineto + 3.2959 -0.0753 lineto + 3.2969 0.0 lineto + %end circumferential + 3.2969 0.0 lineto + 3.2295 0.0 lineto + %middle radial + 3.2295 0.0 lineto + 3.1623 0.0 lineto + %end radial + 3.1623 0.0 lineto + 3.1613 -0.0715 lineto + 3.1584 -0.1419 lineto + 3.1537 -0.211 lineto + 3.1472 -0.2789 lineto + %middle circumferential + 3.1472 -0.2789 lineto + 3.1385 -0.3502 lineto + 3.128 -0.4199 lineto + 3.1158 -0.4883 lineto + 3.1021 -0.5551 lineto + %end circumferential + closepath +currentgray 0.8525806451612903 setgray fill setgray +% Sector from 1.1781 to 1.3744 (quadrant 0) +newpath + 2.9238 -1.0883 moveto + 2.9857 -1.1166 lineto + %middle radial + 2.9857 -1.1166 lineto + 3.0479 -1.1449 lineto + %end radial + 3.0479 -1.1449 lineto + 3.0769 -1.0788 lineto + 3.1046 -1.0108 lineto + 3.1311 -0.9407 lineto + 3.1561 -0.8687 lineto + %middle circumferential + 3.1561 -0.8687 lineto + 3.1779 -0.8001 lineto + 3.1982 -0.7298 lineto + 3.217 -0.6578 lineto + 3.2341 -0.5839 lineto + %end circumferential + 3.2341 -0.5839 lineto + 3.168 -0.5695 lineto + %middle radial + 3.168 -0.5695 lineto + 3.1021 -0.5551 lineto + %end radial + 3.1021 -0.5551 lineto + 3.0857 -0.6253 lineto + 3.0677 -0.6938 lineto + 3.0483 -0.7607 lineto + 3.0274 -0.8258 lineto + %middle circumferential + 3.0274 -0.8258 lineto + 3.0034 -0.8943 lineto + 2.9781 -0.9609 lineto + 2.9515 -1.0255 lineto + 2.9238 -1.0883 lineto + %end circumferential + closepath +currentgray 0.8693548387096775 setgray fill setgray +% Sector from 0.9817 to 1.1781 (quadrant 0) +newpath + 2.6336 -1.5786 moveto + 2.6893 -1.6198 lineto + %middle radial + 2.6893 -1.6198 lineto + 2.7451 -1.6609 lineto + %end radial + 2.7451 -1.6609 lineto + 2.7874 -1.6017 lineto + 2.8292 -1.5402 lineto + 2.8702 -1.4762 lineto + 2.9105 -1.4098 lineto + %middle circumferential + 2.9105 -1.4098 lineto + 2.9463 -1.3469 lineto + 2.9813 -1.2818 lineto + 3.0152 -1.2145 lineto + 3.0479 -1.1449 lineto + %end circumferential + 3.0479 -1.1449 lineto + 2.9857 -1.1166 lineto + %middle radial + 2.9857 -1.1166 lineto + 2.9238 -1.0883 lineto + %end radial + 2.9238 -1.0883 lineto + 2.8924 -1.1545 lineto + 2.8599 -1.2184 lineto + 2.8265 -1.2803 lineto + 2.7921 -1.3401 lineto + %middle circumferential + 2.7921 -1.3401 lineto + 2.7536 -1.4032 lineto + 2.7143 -1.464 lineto + 2.6742 -1.5224 lineto + 2.6336 -1.5786 lineto + %end circumferential + closepath +currentgray 0.8861290322580645 setgray fill setgray +% Sector from 0.7854 to 0.9817 (quadrant 0) +newpath + 2.2423 -2.0069 moveto + 2.2894 -2.0594 lineto + %middle radial + 2.2894 -2.0594 lineto + 2.3367 -2.1119 lineto + %end radial + 2.3367 -2.1119 lineto + 2.3906 -2.062 lineto + 2.4447 -2.0094 lineto + 2.499 -1.954 lineto + 2.5532 -1.8956 lineto + %middle circumferential + 2.5532 -1.8956 lineto + 2.6016 -1.8409 lineto + 2.6498 -1.7835 lineto + 2.6977 -1.7236 lineto + 2.7451 -1.6609 lineto + %end circumferential + 2.7451 -1.6609 lineto + 2.6893 -1.6198 lineto + %middle radial + 2.6893 -1.6198 lineto + 2.6336 -1.5786 lineto + %end radial + 2.6336 -1.5786 lineto + 2.5882 -1.6381 lineto + 2.5424 -1.6951 lineto + 2.4962 -1.7496 lineto + 2.4498 -1.8016 lineto + %middle circumferential + 2.4498 -1.8016 lineto + 2.3978 -1.857 lineto + 2.3458 -1.9096 lineto + 2.2939 -1.9595 lineto + 2.2423 -2.0069 lineto + %end circumferential + closepath +currentgray 0.9029032258064516 setgray fill setgray +% Sector from 0.589 to 0.7854 (quadrant 0) +newpath + 1.7639 -2.357 moveto + 1.8008 -2.419 lineto + %middle radial + 1.8008 -2.419 lineto + 1.8378 -2.4808 lineto + %end radial + 1.8378 -2.4808 lineto + 1.9007 -2.4421 lineto + 1.965 -2.4004 lineto + 2.0306 -2.3556 lineto + 2.0975 -2.3075 lineto + %middle circumferential + 2.0975 -2.3075 lineto + 2.1562 -2.263 lineto + 2.2158 -2.2157 lineto + 2.276 -2.1654 lineto + 2.3367 -2.1119 lineto + %end circumferential + 2.3367 -2.1119 lineto + 2.2894 -2.0594 lineto + %middle radial + 2.2894 -2.0594 lineto + 2.2423 -2.0069 lineto + %end radial + 2.2423 -2.0069 lineto + 2.184 -2.0577 lineto + 2.1263 -2.1054 lineto + 2.0693 -2.1504 lineto + 2.0129 -2.1926 lineto + %middle circumferential + 2.0129 -2.1926 lineto + 1.9488 -2.2383 lineto + 1.8859 -2.2807 lineto + 1.8242 -2.3203 lineto + 1.7639 -2.357 lineto + %end circumferential + closepath +currentgray 0.9196774193548387 setgray fill setgray +% Sector from 0.3927 to 0.589 (quadrant 0) +newpath + 1.2164 -2.616 moveto + 1.2417 -2.6851 lineto + %middle radial + 1.2417 -2.6851 lineto + 1.2671 -2.754 lineto + %end radial + 1.2671 -2.754 lineto + 1.3355 -2.7278 lineto + 1.4072 -2.6987 lineto + 1.482 -2.6662 lineto + 1.5601 -2.6301 lineto + %middle circumferential + 1.5601 -2.6301 lineto + 1.6263 -2.5975 lineto + 1.6947 -2.5619 lineto + 1.7652 -2.5231 lineto + 1.8378 -2.4808 lineto + %end circumferential + 1.8378 -2.4808 lineto + 1.8008 -2.419 lineto + %middle radial + 1.8008 -2.419 lineto + 1.7639 -2.357 lineto + %end radial + 1.7639 -2.357 lineto + 1.6943 -2.3971 lineto + 1.6266 -2.4339 lineto + 1.561 -2.4676 lineto + 1.4975 -2.4985 lineto + %middle circumferential + 1.4975 -2.4985 lineto + 1.4226 -2.5328 lineto + 1.3508 -2.5636 lineto + 1.282 -2.5912 lineto + 1.2164 -2.616 lineto + %end circumferential + closepath +currentgray 0.9364516129032258 setgray fill setgray +% Sector from 0.1963 to 0.3927 (quadrant 0) +newpath + 0.6206 -2.7749 moveto + 0.6335 -2.8484 lineto + %middle radial + 0.6335 -2.8484 lineto + 0.6464 -2.9217 lineto + %end radial + 0.6464 -2.9217 lineto + 0.7143 -2.909 lineto + 0.789 -2.8935 lineto + 0.8712 -2.8746 lineto + 0.9615 -2.8514 lineto + %middle circumferential + 0.9615 -2.8514 lineto + 1.0308 -2.832 lineto + 1.1047 -2.8095 lineto + 1.1834 -2.7837 lineto + 1.2671 -2.754 lineto + %end circumferential + 1.2671 -2.754 lineto + 1.2417 -2.6851 lineto + %middle radial + 1.2417 -2.6851 lineto + 1.2164 -2.616 lineto + %end radial + 1.2164 -2.616 lineto + 1.136 -2.6442 lineto + 1.0605 -2.6687 lineto + 0.9896 -2.6899 lineto + 0.9231 -2.7084 lineto + %middle circumferential + 0.9231 -2.7084 lineto + 0.8364 -2.7303 lineto + 0.7575 -2.7482 lineto + 0.6858 -2.7629 lineto + 0.6206 -2.7749 lineto + %end circumferential + closepath +currentgray 0.9532258064516128 setgray fill setgray +% Sector from 0.0 to 0.1963 (quadrant 0) +newpath + 0.0 -2.8284 moveto + 0.0 -2.9034 lineto + %middle radial + 0.0 -2.9034 lineto + 0.0 -2.9782 lineto + %end radial + 0.0 -2.9782 lineto + 0.0184 -2.9781 lineto + 0.0774 -2.9774 lineto + 0.1586 -2.9748 lineto + 0.227 -2.9713 lineto + 0.3248 -2.964 lineto + %middle circumferential + 0.3248 -2.964 lineto + 0.386 -2.9582 lineto + 0.4586 -2.9499 lineto + 0.5446 -2.9382 lineto + 0.6464 -2.9217 lineto + %end circumferential + 0.6464 -2.9217 lineto + 0.6335 -2.8484 lineto + %middle radial + 0.6335 -2.8484 lineto + 0.6206 -2.7749 lineto + %end radial + 0.6206 -2.7749 lineto + 0.5229 -2.7905 lineto + 0.4403 -2.8016 lineto + 0.3706 -2.8095 lineto + 0.3119 -2.815 lineto + %middle circumferential + 0.3119 -2.815 lineto + 0.218 -2.8219 lineto + 0.1523 -2.8252 lineto + 0.0743 -2.8277 lineto + 0.0 -2.8284 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Horizontal line from (0.5, 0.0) to (0.0, 0.0) +newpath + 0.866 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.5, 0.0) to (1.0, 0.0) +newpath + 0.866 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.0, 0.0) +newpath + 0.0 1.7321 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.1579208923731617E77, 0.0) +newpath + 0.0 1.7321 moveto + 0.0 6.3683 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (0.0, 1.0) +newpath + 1.1118 -1.7989 moveto + 1.1207 -1.7051 lineto + 1.13 -1.6155 lineto + 1.1398 -1.5303 lineto + 1.15 -1.4491 lineto + 1.1606 -1.3719 lineto + 1.1714 -1.2986 lineto + 1.1825 -1.2291 lineto + 1.1937 -1.1633 lineto + 1.205 -1.101 lineto + 1.2163 -1.0421 lineto + 1.2385 -0.9342 lineto + 1.2599 -0.8383 lineto + 1.2798 -0.7533 lineto + 1.2981 -0.678 lineto + 1.3221 -0.5805 lineto + 1.3419 -0.4988 lineto + 1.3625 -0.4094 lineto + 1.3776 -0.3374 lineto + 1.3885 -0.2789 lineto + 1.4016 -0.1918 lineto + 1.41 -0.1103 lineto + 1.4137 -0.0368 lineto + 1.4142 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (1.1579208923731617E77, 1.0) +newpath + 1.1118 -1.7989 moveto + 1.1048 -1.8803 lineto + 1.0981 -1.9648 lineto + 1.0917 -2.0526 lineto + 1.0857 -2.1438 lineto + 1.08 -2.2383 lineto + 1.0746 -2.3364 lineto + 1.0696 -2.4381 lineto + 1.0648 -2.5436 lineto + 1.0604 -2.653 lineto + 1.0562 -2.7664 lineto + 1.0533 -2.8541 lineto + 1.0514 -2.9139 lineto + 1.0495 -2.9749 lineto + 1.0478 -3.0369 lineto + 1.0461 -3.1001 lineto + 1.0444 -3.1644 lineto + 1.0428 -3.2298 lineto + 1.0413 -3.2965 lineto + 1.0398 -3.3644 lineto + 1.0384 -3.4335 lineto + 1.037 -3.5039 lineto + 1.0356 -3.5755 lineto + 1.0343 -3.6485 lineto + 1.0331 -3.7228 lineto + 1.0319 -3.7984 lineto + 1.0307 -3.8755 lineto + 1.0296 -3.9539 lineto + 1.0285 -4.0338 lineto + 1.0275 -4.1151 lineto + 1.0265 -4.198 lineto + 1.0255 -4.2823 lineto + 1.0246 -4.3682 lineto + 1.0237 -4.4557 lineto + 1.0228 -4.5449 lineto + 1.022 -4.6356 lineto + 1.0212 -4.728 lineto + 1.0204 -4.8222 lineto + 1.0197 -4.918 lineto + 1.0189 -5.0157 lineto + 1.0182 -5.1152 lineto + 1.0176 -5.2165 lineto + 1.0169 -5.3197 lineto + 1.0163 -5.4248 lineto + 1.0157 -5.5318 lineto + 1.0151 -5.6409 lineto + 1.0146 -5.752 lineto + 1.014 -5.8652 lineto + 1.0135 -5.9804 lineto + 1.0128 -6.1574 lineto + 1.0123 -6.2781 lineto + 1.0156 -6.3613 lineto + 0.285 -6.378103166302659 lineto + 1.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (0.0, -1.0) +newpath + 1.1118 1.7989 moveto + 1.1207 1.7051 lineto + 1.13 1.6155 lineto + 1.1398 1.5303 lineto + 1.15 1.4491 lineto + 1.1606 1.3719 lineto + 1.1714 1.2986 lineto + 1.1825 1.2291 lineto + 1.1937 1.1633 lineto + 1.205 1.101 lineto + 1.2163 1.0421 lineto + 1.2385 0.9342 lineto + 1.2599 0.8383 lineto + 1.2798 0.7533 lineto + 1.2981 0.678 lineto + 1.3221 0.5805 lineto + 1.3419 0.4988 lineto + 1.3625 0.4094 lineto + 1.3776 0.3374 lineto + 1.3885 0.2789 lineto + 1.4016 0.1918 lineto + 1.41 0.1103 lineto + 1.4137 0.0368 lineto + 1.4142 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (1.1579208923731617E77, -1.0) +newpath + 1.1118 1.7989 moveto + 1.1048 1.8803 lineto + 1.0981 1.9648 lineto + 1.0917 2.0526 lineto + 1.0857 2.1438 lineto + 1.08 2.2383 lineto + 1.0746 2.3364 lineto + 1.0696 2.4381 lineto + 1.0648 2.5436 lineto + 1.0604 2.653 lineto + 1.0562 2.7664 lineto + 1.0533 2.8541 lineto + 1.0514 2.9139 lineto + 1.0495 2.9749 lineto + 1.0478 3.0369 lineto + 1.0461 3.1001 lineto + 1.0444 3.1644 lineto + 1.0428 3.2298 lineto + 1.0413 3.2965 lineto + 1.0398 3.3644 lineto + 1.0384 3.4335 lineto + 1.037 3.5039 lineto + 1.0356 3.5755 lineto + 1.0343 3.6485 lineto + 1.0331 3.7228 lineto + 1.0319 3.7984 lineto + 1.0307 3.8755 lineto + 1.0296 3.9539 lineto + 1.0285 4.0338 lineto + 1.0275 4.1151 lineto + 1.0265 4.198 lineto + 1.0255 4.2823 lineto + 1.0246 4.3682 lineto + 1.0237 4.4557 lineto + 1.0228 4.5449 lineto + 1.022 4.6356 lineto + 1.0212 4.728 lineto + 1.0204 4.8222 lineto + 1.0197 4.918 lineto + 1.0189 5.0157 lineto + 1.0182 5.1152 lineto + 1.0176 5.2165 lineto + 1.0169 5.3197 lineto + 1.0163 5.4248 lineto + 1.0157 5.5318 lineto + 1.0151 5.6409 lineto + 1.0146 5.752 lineto + 1.014 5.8652 lineto + 1.0135 5.9804 lineto + 1.0128 6.1574 lineto + 1.0123 6.2781 lineto + 1.0156 6.3613 lineto + 0.285 6.378103166302659 lineto + 1.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (1.1579208923731617E77, 2.0) +newpath + 2.2361 0.0 moveto + 2.2359 -0.0607 lineto + 2.2351 -0.1284 lineto + 2.2333 -0.2253 lineto + 2.2302 -0.3281 lineto + 2.2276 -0.3961 lineto + 2.2239 -0.4784 lineto + 2.2188 -0.5782 lineto + 2.2136 -0.6669 lineto + 2.2094 -0.7337 lineto + 2.2045 -0.8075 lineto + 2.1989 -0.8889 lineto + 2.1924 -0.979 lineto + 2.1851 -1.0787 lineto + 2.1702 -1.2793 lineto + 2.1654 -1.3436 lineto + 2.1605 -1.4111 lineto + 2.1553 -1.4823 lineto + 2.15 -1.5571 lineto + 2.1446 -1.6359 lineto + 2.139 -1.7187 lineto + 2.1333 -1.8058 lineto + 2.1275 -1.8975 lineto + 2.1217 -1.9938 lineto + 2.1158 -2.0951 lineto + 2.11 -2.2015 lineto + 2.1042 -2.3133 lineto + 2.0999 -2.4009 lineto + 2.0971 -2.461 lineto + 2.0943 -2.5227 lineto + 2.0915 -2.5858 lineto + 2.0887 -2.6505 lineto + 2.086 -2.7168 lineto + 2.0833 -2.7847 lineto + 2.0807 -2.8542 lineto + 2.0781 -2.9254 lineto + 2.0756 -2.9983 lineto + 2.0731 -3.073 lineto + 2.0706 -3.1495 lineto + 2.0682 -3.2278 lineto + 2.0658 -3.308 lineto + 2.0635 -3.3901 lineto + 2.0613 -3.4741 lineto + 2.0591 -3.5601 lineto + 2.057 -3.6482 lineto + 2.0549 -3.7383 lineto + 2.0529 -3.8306 lineto + 2.0509 -3.925 lineto + 2.049 -4.0217 lineto + 2.0471 -4.1206 lineto + 2.0453 -4.2219 lineto + 2.0436 -4.3255 lineto + 2.0419 -4.4316 lineto + 2.0402 -4.5401 lineto + 2.0386 -4.6512 lineto + 2.0371 -4.7649 lineto + 2.0356 -4.8812 lineto + 2.0342 -5.0003 lineto + 2.0328 -5.1221 lineto + 2.0315 -5.2468 lineto + 2.0302 -5.3744 lineto + 2.0289 -5.505 lineto + 2.0277 -5.6387 lineto + 2.0266 -5.7754 lineto + 2.0255 -5.9154 lineto + 2.0247 -6.0225 lineto + 2.0192 -6.1172 lineto + 1.4424 -6.2783 lineto + 0.9992 -6.3639 lineto + 2.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (1.1579208923731617E77, -2.0) +newpath + 2.2361 0.0 moveto + 2.2359 0.0607 lineto + 2.2351 0.1284 lineto + 2.2333 0.2253 lineto + 2.2302 0.3281 lineto + 2.2276 0.3961 lineto + 2.2239 0.4784 lineto + 2.2188 0.5782 lineto + 2.2136 0.6669 lineto + 2.2094 0.7337 lineto + 2.2045 0.8075 lineto + 2.1989 0.8889 lineto + 2.1924 0.979 lineto + 2.1851 1.0787 lineto + 2.1702 1.2793 lineto + 2.1654 1.3436 lineto + 2.1605 1.4111 lineto + 2.1553 1.4823 lineto + 2.15 1.5571 lineto + 2.1446 1.6359 lineto + 2.139 1.7187 lineto + 2.1333 1.8058 lineto + 2.1275 1.8975 lineto + 2.1217 1.9938 lineto + 2.1158 2.0951 lineto + 2.11 2.2015 lineto + 2.1042 2.3133 lineto + 2.0999 2.4009 lineto + 2.0971 2.461 lineto + 2.0943 2.5227 lineto + 2.0915 2.5858 lineto + 2.0887 2.6505 lineto + 2.086 2.7168 lineto + 2.0833 2.7847 lineto + 2.0807 2.8542 lineto + 2.0781 2.9254 lineto + 2.0756 2.9983 lineto + 2.0731 3.073 lineto + 2.0706 3.1495 lineto + 2.0682 3.2278 lineto + 2.0658 3.308 lineto + 2.0635 3.3901 lineto + 2.0613 3.4741 lineto + 2.0591 3.5601 lineto + 2.057 3.6482 lineto + 2.0549 3.7383 lineto + 2.0529 3.8306 lineto + 2.0509 3.925 lineto + 2.049 4.0217 lineto + 2.0471 4.1206 lineto + 2.0453 4.2219 lineto + 2.0436 4.3255 lineto + 2.0419 4.4316 lineto + 2.0402 4.5401 lineto + 2.0386 4.6512 lineto + 2.0371 4.7649 lineto + 2.0356 4.8812 lineto + 2.0342 5.0003 lineto + 2.0328 5.1221 lineto + 2.0315 5.2468 lineto + 2.0302 5.3744 lineto + 2.0289 5.505 lineto + 2.0277 5.6387 lineto + 2.0266 5.7754 lineto + 2.0255 5.9154 lineto + 2.0247 6.0225 lineto + 2.0192 6.1172 lineto + 1.4424 6.2783 lineto + 0.9992 6.3639 lineto + 2.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (1.1579208923731617E77, 3.0) +newpath + 3.1623 0.0 moveto + 3.1622 -0.0644 lineto + 3.162 -0.1362 lineto + 3.1616 -0.198 lineto + 3.1608 -0.288 lineto + 3.1602 -0.3473 lineto + 3.1593 -0.4189 lineto + 3.1579 -0.5053 lineto + 3.156 -0.6097 lineto + 3.1548 -0.6698 lineto + 3.1533 -0.7359 lineto + 3.1516 -0.8085 lineto + 3.1495 -0.8884 lineto + 3.1471 -0.9763 lineto + 3.1443 -1.073 lineto + 3.141 -1.1795 lineto + 3.1383 -1.2664 lineto + 3.1352 -1.3598 lineto + 3.1318 -1.4602 lineto + 3.1282 -1.5682 lineto + 3.1168 -1.8979 lineto + 3.1136 -1.9909 lineto + 3.1102 -2.0885 lineto + 3.1068 -2.1909 lineto + 3.1032 -2.2985 lineto + 3.0996 -2.4114 lineto + 3.0968 -2.4998 lineto + 3.094 -2.5915 lineto + 3.0911 -2.6865 lineto + 3.0882 -2.7851 lineto + 3.0863 -2.8528 lineto + 3.0843 -2.9222 lineto + 3.0824 -2.9932 lineto + 3.0804 -3.066 lineto + 3.0785 -3.1406 lineto + 3.0765 -3.217 lineto + 3.0746 -3.2952 lineto + 3.0727 -3.3753 lineto + 3.0708 -3.4574 lineto + 3.0688 -3.5414 lineto + 3.0669 -3.6275 lineto + 3.0651 -3.7156 lineto + 3.0632 -3.8059 lineto + 3.0614 -3.8983 lineto + 3.0595 -3.993 lineto + 3.0577 -4.0899 lineto + 3.056 -4.1891 lineto + 3.0542 -4.2907 lineto + 3.0525 -4.3948 lineto + 3.0508 -4.5013 lineto + 3.0492 -4.6103 lineto + 3.0476 -4.722 lineto + 3.046 -4.8363 lineto + 3.0444 -4.9533 lineto + 3.0429 -5.0731 lineto + 3.0414 -5.1957 lineto + 3.0399 -5.3213 lineto + 3.0385 -5.4498 lineto + 3.0371 -5.5813 lineto + 3.0503 -5.674 lineto + 1.4765 -6.2704 lineto + 3.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (1.1579208923731617E77, -3.0) +newpath + 3.1623 0.0 moveto + 3.1622 0.0644 lineto + 3.162 0.1362 lineto + 3.1616 0.198 lineto + 3.1608 0.288 lineto + 3.1602 0.3473 lineto + 3.1593 0.4189 lineto + 3.1579 0.5053 lineto + 3.156 0.6097 lineto + 3.1548 0.6698 lineto + 3.1533 0.7359 lineto + 3.1516 0.8085 lineto + 3.1495 0.8884 lineto + 3.1471 0.9763 lineto + 3.1443 1.073 lineto + 3.141 1.1795 lineto + 3.1383 1.2664 lineto + 3.1352 1.3598 lineto + 3.1318 1.4602 lineto + 3.1282 1.5682 lineto + 3.1168 1.8979 lineto + 3.1136 1.9909 lineto + 3.1102 2.0885 lineto + 3.1068 2.1909 lineto + 3.1032 2.2985 lineto + 3.0996 2.4114 lineto + 3.0968 2.4998 lineto + 3.094 2.5915 lineto + 3.0911 2.6865 lineto + 3.0882 2.7851 lineto + 3.0863 2.8528 lineto + 3.0843 2.9222 lineto + 3.0824 2.9932 lineto + 3.0804 3.066 lineto + 3.0785 3.1406 lineto + 3.0765 3.217 lineto + 3.0746 3.2952 lineto + 3.0727 3.3753 lineto + 3.0708 3.4574 lineto + 3.0688 3.5414 lineto + 3.0669 3.6275 lineto + 3.0651 3.7156 lineto + 3.0632 3.8059 lineto + 3.0614 3.8983 lineto + 3.0595 3.993 lineto + 3.0577 4.0899 lineto + 3.056 4.1891 lineto + 3.0542 4.2907 lineto + 3.0525 4.3948 lineto + 3.0508 4.5013 lineto + 3.0492 4.6103 lineto + 3.0476 4.722 lineto + 3.046 4.8363 lineto + 3.0444 4.9533 lineto + 3.0429 5.0731 lineto + 3.0414 5.1957 lineto + 3.0399 5.3213 lineto + 3.0385 5.4498 lineto + 3.0371 5.5813 lineto + 3.0503 5.674 lineto + 1.4765 6.2704 lineto + 3.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (0.0, 0.0) +newpath + 0.866 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (-1.0, 0.0) +newpath + 0.866 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.0, 0.0) +newpath + 0.0 1.7321 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.1579208923731617E77, 0.0) +newpath + 0.0 1.7321 moveto + 0.0 6.3683 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (0.0, 1.0) +newpath + 1.1118 1.7989 moveto + 1.1207 1.7051 lineto + 1.13 1.6155 lineto + 1.1398 1.5303 lineto + 1.15 1.4491 lineto + 1.1606 1.3719 lineto + 1.1714 1.2986 lineto + 1.1825 1.2291 lineto + 1.1937 1.1633 lineto + 1.205 1.101 lineto + 1.2163 1.0421 lineto + 1.2385 0.9342 lineto + 1.2599 0.8383 lineto + 1.2798 0.7533 lineto + 1.2981 0.678 lineto + 1.3221 0.5805 lineto + 1.3419 0.4988 lineto + 1.3625 0.4094 lineto + 1.3776 0.3374 lineto + 1.3885 0.2789 lineto + 1.4016 0.1918 lineto + 1.41 0.1103 lineto + 1.4137 0.0368 lineto + 1.4142 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (-1.1579208923731617E77, 1.0) +newpath + 1.1118 1.7989 moveto + 1.1048 1.8803 lineto + 1.0981 1.9648 lineto + 1.0917 2.0526 lineto + 1.0857 2.1438 lineto + 1.08 2.2383 lineto + 1.0746 2.3364 lineto + 1.0696 2.4381 lineto + 1.0648 2.5436 lineto + 1.0604 2.653 lineto + 1.0562 2.7664 lineto + 1.0533 2.8541 lineto + 1.0514 2.9139 lineto + 1.0495 2.9749 lineto + 1.0478 3.0369 lineto + 1.0461 3.1001 lineto + 1.0444 3.1644 lineto + 1.0428 3.2298 lineto + 1.0413 3.2965 lineto + 1.0398 3.3644 lineto + 1.0384 3.4335 lineto + 1.037 3.5039 lineto + 1.0356 3.5755 lineto + 1.0343 3.6485 lineto + 1.0331 3.7228 lineto + 1.0319 3.7984 lineto + 1.0307 3.8755 lineto + 1.0296 3.9539 lineto + 1.0285 4.0338 lineto + 1.0275 4.1151 lineto + 1.0265 4.198 lineto + 1.0255 4.2823 lineto + 1.0246 4.3682 lineto + 1.0237 4.4557 lineto + 1.0228 4.5449 lineto + 1.022 4.6356 lineto + 1.0212 4.728 lineto + 1.0204 4.8222 lineto + 1.0197 4.918 lineto + 1.0189 5.0157 lineto + 1.0182 5.1152 lineto + 1.0176 5.2165 lineto + 1.0169 5.3197 lineto + 1.0163 5.4248 lineto + 1.0157 5.5318 lineto + 1.0151 5.6409 lineto + 1.0146 5.752 lineto + 1.014 5.8652 lineto + 1.0135 5.9804 lineto + 1.0128 6.1574 lineto + 1.0123 6.2781 lineto + 1.0156 6.3613 lineto + 0.285 6.378103166302659 lineto + 1.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (0.0, -1.0) +newpath + 1.1118 -1.7989 moveto + 1.1207 -1.7051 lineto + 1.13 -1.6155 lineto + 1.1398 -1.5303 lineto + 1.15 -1.4491 lineto + 1.1606 -1.3719 lineto + 1.1714 -1.2986 lineto + 1.1825 -1.2291 lineto + 1.1937 -1.1633 lineto + 1.205 -1.101 lineto + 1.2163 -1.0421 lineto + 1.2385 -0.9342 lineto + 1.2599 -0.8383 lineto + 1.2798 -0.7533 lineto + 1.2981 -0.678 lineto + 1.3221 -0.5805 lineto + 1.3419 -0.4988 lineto + 1.3625 -0.4094 lineto + 1.3776 -0.3374 lineto + 1.3885 -0.2789 lineto + 1.4016 -0.1918 lineto + 1.41 -0.1103 lineto + 1.4137 -0.0368 lineto + 1.4142 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (-1.1579208923731617E77, -1.0) +newpath + 1.1118 -1.7989 moveto + 1.1048 -1.8803 lineto + 1.0981 -1.9648 lineto + 1.0917 -2.0526 lineto + 1.0857 -2.1438 lineto + 1.08 -2.2383 lineto + 1.0746 -2.3364 lineto + 1.0696 -2.4381 lineto + 1.0648 -2.5436 lineto + 1.0604 -2.653 lineto + 1.0562 -2.7664 lineto + 1.0533 -2.8541 lineto + 1.0514 -2.9139 lineto + 1.0495 -2.9749 lineto + 1.0478 -3.0369 lineto + 1.0461 -3.1001 lineto + 1.0444 -3.1644 lineto + 1.0428 -3.2298 lineto + 1.0413 -3.2965 lineto + 1.0398 -3.3644 lineto + 1.0384 -3.4335 lineto + 1.037 -3.5039 lineto + 1.0356 -3.5755 lineto + 1.0343 -3.6485 lineto + 1.0331 -3.7228 lineto + 1.0319 -3.7984 lineto + 1.0307 -3.8755 lineto + 1.0296 -3.9539 lineto + 1.0285 -4.0338 lineto + 1.0275 -4.1151 lineto + 1.0265 -4.198 lineto + 1.0255 -4.2823 lineto + 1.0246 -4.3682 lineto + 1.0237 -4.4557 lineto + 1.0228 -4.5449 lineto + 1.022 -4.6356 lineto + 1.0212 -4.728 lineto + 1.0204 -4.8222 lineto + 1.0197 -4.918 lineto + 1.0189 -5.0157 lineto + 1.0182 -5.1152 lineto + 1.0176 -5.2165 lineto + 1.0169 -5.3197 lineto + 1.0163 -5.4248 lineto + 1.0157 -5.5318 lineto + 1.0151 -5.6409 lineto + 1.0146 -5.752 lineto + 1.014 -5.8652 lineto + 1.0135 -5.9804 lineto + 1.0128 -6.1574 lineto + 1.0123 -6.2781 lineto + 1.0156 -6.3613 lineto + 0.285 -6.378103166302659 lineto + 1.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (-1.1579208923731617E77, 2.0) +newpath + 2.2361 0.0 moveto + 2.2359 0.0607 lineto + 2.2351 0.1284 lineto + 2.2333 0.2253 lineto + 2.2302 0.3281 lineto + 2.2276 0.3961 lineto + 2.2239 0.4784 lineto + 2.2188 0.5782 lineto + 2.2136 0.6669 lineto + 2.2094 0.7337 lineto + 2.2045 0.8075 lineto + 2.1989 0.8889 lineto + 2.1924 0.979 lineto + 2.1851 1.0787 lineto + 2.1702 1.2793 lineto + 2.1654 1.3436 lineto + 2.1605 1.4111 lineto + 2.1553 1.4823 lineto + 2.15 1.5571 lineto + 2.1446 1.6359 lineto + 2.139 1.7187 lineto + 2.1333 1.8058 lineto + 2.1275 1.8975 lineto + 2.1217 1.9938 lineto + 2.1158 2.0951 lineto + 2.11 2.2015 lineto + 2.1042 2.3133 lineto + 2.0999 2.4009 lineto + 2.0971 2.461 lineto + 2.0943 2.5227 lineto + 2.0915 2.5858 lineto + 2.0887 2.6505 lineto + 2.086 2.7168 lineto + 2.0833 2.7847 lineto + 2.0807 2.8542 lineto + 2.0781 2.9254 lineto + 2.0756 2.9983 lineto + 2.0731 3.073 lineto + 2.0706 3.1495 lineto + 2.0682 3.2278 lineto + 2.0658 3.308 lineto + 2.0635 3.3901 lineto + 2.0613 3.4741 lineto + 2.0591 3.5601 lineto + 2.057 3.6482 lineto + 2.0549 3.7383 lineto + 2.0529 3.8306 lineto + 2.0509 3.925 lineto + 2.049 4.0217 lineto + 2.0471 4.1206 lineto + 2.0453 4.2219 lineto + 2.0436 4.3255 lineto + 2.0419 4.4316 lineto + 2.0402 4.5401 lineto + 2.0386 4.6512 lineto + 2.0371 4.7649 lineto + 2.0356 4.8812 lineto + 2.0342 5.0003 lineto + 2.0328 5.1221 lineto + 2.0315 5.2468 lineto + 2.0302 5.3744 lineto + 2.0289 5.505 lineto + 2.0277 5.6387 lineto + 2.0266 5.7754 lineto + 2.0255 5.9154 lineto + 2.0247 6.0225 lineto + 2.0192 6.1172 lineto + 1.4424 6.2783 lineto + 0.9992 6.3639 lineto + 2.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (-1.1579208923731617E77, -2.0) +newpath + 2.2361 0.0 moveto + 2.2359 -0.0607 lineto + 2.2351 -0.1284 lineto + 2.2333 -0.2253 lineto + 2.2302 -0.3281 lineto + 2.2276 -0.3961 lineto + 2.2239 -0.4784 lineto + 2.2188 -0.5782 lineto + 2.2136 -0.6669 lineto + 2.2094 -0.7337 lineto + 2.2045 -0.8075 lineto + 2.1989 -0.8889 lineto + 2.1924 -0.979 lineto + 2.1851 -1.0787 lineto + 2.1702 -1.2793 lineto + 2.1654 -1.3436 lineto + 2.1605 -1.4111 lineto + 2.1553 -1.4823 lineto + 2.15 -1.5571 lineto + 2.1446 -1.6359 lineto + 2.139 -1.7187 lineto + 2.1333 -1.8058 lineto + 2.1275 -1.8975 lineto + 2.1217 -1.9938 lineto + 2.1158 -2.0951 lineto + 2.11 -2.2015 lineto + 2.1042 -2.3133 lineto + 2.0999 -2.4009 lineto + 2.0971 -2.461 lineto + 2.0943 -2.5227 lineto + 2.0915 -2.5858 lineto + 2.0887 -2.6505 lineto + 2.086 -2.7168 lineto + 2.0833 -2.7847 lineto + 2.0807 -2.8542 lineto + 2.0781 -2.9254 lineto + 2.0756 -2.9983 lineto + 2.0731 -3.073 lineto + 2.0706 -3.1495 lineto + 2.0682 -3.2278 lineto + 2.0658 -3.308 lineto + 2.0635 -3.3901 lineto + 2.0613 -3.4741 lineto + 2.0591 -3.5601 lineto + 2.057 -3.6482 lineto + 2.0549 -3.7383 lineto + 2.0529 -3.8306 lineto + 2.0509 -3.925 lineto + 2.049 -4.0217 lineto + 2.0471 -4.1206 lineto + 2.0453 -4.2219 lineto + 2.0436 -4.3255 lineto + 2.0419 -4.4316 lineto + 2.0402 -4.5401 lineto + 2.0386 -4.6512 lineto + 2.0371 -4.7649 lineto + 2.0356 -4.8812 lineto + 2.0342 -5.0003 lineto + 2.0328 -5.1221 lineto + 2.0315 -5.2468 lineto + 2.0302 -5.3744 lineto + 2.0289 -5.505 lineto + 2.0277 -5.6387 lineto + 2.0266 -5.7754 lineto + 2.0255 -5.9154 lineto + 2.0247 -6.0225 lineto + 2.0192 -6.1172 lineto + 1.4424 -6.2783 lineto + 0.9992 -6.3639 lineto + 2.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (-1.1579208923731617E77, 3.0) +newpath + 3.1623 0.0 moveto + 3.1622 0.0644 lineto + 3.162 0.1362 lineto + 3.1616 0.198 lineto + 3.1608 0.288 lineto + 3.1602 0.3473 lineto + 3.1593 0.4189 lineto + 3.1579 0.5053 lineto + 3.156 0.6097 lineto + 3.1548 0.6698 lineto + 3.1533 0.7359 lineto + 3.1516 0.8085 lineto + 3.1495 0.8884 lineto + 3.1471 0.9763 lineto + 3.1443 1.073 lineto + 3.141 1.1795 lineto + 3.1383 1.2664 lineto + 3.1352 1.3598 lineto + 3.1318 1.4602 lineto + 3.1282 1.5682 lineto + 3.1168 1.8979 lineto + 3.1136 1.9909 lineto + 3.1102 2.0885 lineto + 3.1068 2.1909 lineto + 3.1032 2.2985 lineto + 3.0996 2.4114 lineto + 3.0968 2.4998 lineto + 3.094 2.5915 lineto + 3.0911 2.6865 lineto + 3.0882 2.7851 lineto + 3.0863 2.8528 lineto + 3.0843 2.9222 lineto + 3.0824 2.9932 lineto + 3.0804 3.066 lineto + 3.0785 3.1406 lineto + 3.0765 3.217 lineto + 3.0746 3.2952 lineto + 3.0727 3.3753 lineto + 3.0708 3.4574 lineto + 3.0688 3.5414 lineto + 3.0669 3.6275 lineto + 3.0651 3.7156 lineto + 3.0632 3.8059 lineto + 3.0614 3.8983 lineto + 3.0595 3.993 lineto + 3.0577 4.0899 lineto + 3.056 4.1891 lineto + 3.0542 4.2907 lineto + 3.0525 4.3948 lineto + 3.0508 4.5013 lineto + 3.0492 4.6103 lineto + 3.0476 4.722 lineto + 3.046 4.8363 lineto + 3.0444 4.9533 lineto + 3.0429 5.0731 lineto + 3.0414 5.1957 lineto + 3.0399 5.3213 lineto + 3.0385 5.4498 lineto + 3.0371 5.5813 lineto + 3.0503 5.674 lineto + 1.4765 6.2704 lineto + 3.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (-1.1579208923731617E77, -3.0) +newpath + 3.1623 0.0 moveto + 3.1622 -0.0644 lineto + 3.162 -0.1362 lineto + 3.1616 -0.198 lineto + 3.1608 -0.288 lineto + 3.1602 -0.3473 lineto + 3.1593 -0.4189 lineto + 3.1579 -0.5053 lineto + 3.156 -0.6097 lineto + 3.1548 -0.6698 lineto + 3.1533 -0.7359 lineto + 3.1516 -0.8085 lineto + 3.1495 -0.8884 lineto + 3.1471 -0.9763 lineto + 3.1443 -1.073 lineto + 3.141 -1.1795 lineto + 3.1383 -1.2664 lineto + 3.1352 -1.3598 lineto + 3.1318 -1.4602 lineto + 3.1282 -1.5682 lineto + 3.1168 -1.8979 lineto + 3.1136 -1.9909 lineto + 3.1102 -2.0885 lineto + 3.1068 -2.1909 lineto + 3.1032 -2.2985 lineto + 3.0996 -2.4114 lineto + 3.0968 -2.4998 lineto + 3.094 -2.5915 lineto + 3.0911 -2.6865 lineto + 3.0882 -2.7851 lineto + 3.0863 -2.8528 lineto + 3.0843 -2.9222 lineto + 3.0824 -2.9932 lineto + 3.0804 -3.066 lineto + 3.0785 -3.1406 lineto + 3.0765 -3.217 lineto + 3.0746 -3.2952 lineto + 3.0727 -3.3753 lineto + 3.0708 -3.4574 lineto + 3.0688 -3.5414 lineto + 3.0669 -3.6275 lineto + 3.0651 -3.7156 lineto + 3.0632 -3.8059 lineto + 3.0614 -3.8983 lineto + 3.0595 -3.993 lineto + 3.0577 -4.0899 lineto + 3.056 -4.1891 lineto + 3.0542 -4.2907 lineto + 3.0525 -4.3948 lineto + 3.0508 -4.5013 lineto + 3.0492 -4.6103 lineto + 3.0476 -4.722 lineto + 3.046 -4.8363 lineto + 3.0444 -4.9533 lineto + 3.0429 -5.0731 lineto + 3.0414 -5.1957 lineto + 3.0399 -5.3213 lineto + 3.0385 -5.4498 lineto + 3.0371 -5.5813 lineto + 3.0503 -5.674 lineto + 1.4765 -6.2704 lineto + 3.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 0.0) +newpath + 1.118 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 1.0) +newpath + 1.118 0.0 moveto + 1.4142 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.0) +newpath + 2.2361 0.0 moveto + 1.4142 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.1579208923731617E77) +newpath + 2.2361 0.0 moveto + 6.3743 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 0.0) +newpath + 2.1974 -0.9102 moveto + 2.1139 -0.904 lineto + 2.0343 -0.8974 lineto + 1.9585 -0.8906 lineto + 1.8862 -0.8835 lineto + 1.8173 -0.8761 lineto + 1.7517 -0.8684 lineto + 1.689 -0.8605 lineto + 1.6293 -0.8523 lineto + 1.5179 -0.8351 lineto + 1.4164 -0.8169 lineto + 1.3237 -0.7979 lineto + 1.239 -0.7782 lineto + 1.1614 -0.7578 lineto + 1.0901 -0.7369 lineto + 1.0247 -0.7157 lineto + 0.9643 -0.6941 lineto + 0.9086 -0.6725 lineto + 0.8093 -0.6291 lineto + 0.7236 -0.5862 lineto + 0.6492 -0.5445 lineto + 0.584 -0.5043 lineto + 0.5267 -0.466 lineto + 0.4759 -0.4297 lineto + 0.41 -0.3794 lineto + 0.3376 -0.3199 lineto + 0.279 -0.2687 lineto + 0.2312 -0.2252 lineto + 0.1594 -0.1574 lineto + 0.1103 -0.1097 lineto + 0.0368 -0.0368 lineto + 0.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 1.1579208923731617E77) +newpath + 2.1974 -0.9102 moveto + 2.2699 -0.9151 lineto + 2.3454 -0.9199 lineto + 2.4241 -0.9244 lineto + 2.5059 -0.9288 lineto + 2.5911 -0.9329 lineto + 2.6799 -0.9369 lineto + 2.7722 -0.9407 lineto + 2.8684 -0.9443 lineto + 2.9685 -0.9477 lineto + 3.0727 -0.9509 lineto + 3.1811 -0.954 lineto + 3.294 -0.9569 lineto + 3.3817 -0.959 lineto + 3.4416 -0.9603 lineto + 3.5027 -0.9616 lineto + 3.5651 -0.9628 lineto + 3.6287 -0.9641 lineto + 3.6936 -0.9652 lineto + 3.7597 -0.9664 lineto + 3.8273 -0.9675 lineto + 3.8961 -0.9686 lineto + 3.9664 -0.9697 lineto + 4.038 -0.9707 lineto + 4.1111 -0.9717 lineto + 4.1856 -0.9726 lineto + 4.2616 -0.9736 lineto + 4.3391 -0.9745 lineto + 4.4182 -0.9753 lineto + 4.4988 -0.9762 lineto + 4.5811 -0.977 lineto + 4.6649 -0.9778 lineto + 4.7505 -0.9786 lineto + 4.8377 -0.9793 lineto + 4.9267 -0.98 lineto + 5.0174 -0.9807 lineto + 5.1099 -0.9814 lineto + 5.2042 -0.982 lineto + 5.3004 -0.9827 lineto + 5.3984 -0.9833 lineto + 5.4984 -0.9839 lineto + 5.6004 -0.9844 lineto + 5.7044 -0.985 lineto + 5.8104 -0.9855 lineto + 5.9185 -0.986 lineto + 6.0287 -0.9865 lineto + 6.1411 -0.987 lineto + 6.2556 -0.9875 lineto + 6.3748 -0.9276 lineto + 6.378103166302659 -0.2839 lineto + 6.378103166302659 -1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 0.0) +newpath + 2.1974 0.9102 moveto + 2.1139 0.904 lineto + 2.0343 0.8974 lineto + 1.9585 0.8906 lineto + 1.8862 0.8835 lineto + 1.8173 0.8761 lineto + 1.7517 0.8684 lineto + 1.689 0.8605 lineto + 1.6293 0.8523 lineto + 1.5179 0.8351 lineto + 1.4164 0.8169 lineto + 1.3237 0.7979 lineto + 1.239 0.7782 lineto + 1.1614 0.7578 lineto + 1.0901 0.7369 lineto + 1.0247 0.7157 lineto + 0.9643 0.6941 lineto + 0.9086 0.6725 lineto + 0.8093 0.6291 lineto + 0.7236 0.5862 lineto + 0.6492 0.5445 lineto + 0.584 0.5043 lineto + 0.5267 0.466 lineto + 0.4759 0.4297 lineto + 0.41 0.3794 lineto + 0.3376 0.3199 lineto + 0.279 0.2687 lineto + 0.2312 0.2252 lineto + 0.1594 0.1574 lineto + 0.1103 0.1097 lineto + 0.0368 0.0368 lineto + 0.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 1.1579208923731617E77) +newpath + 2.1974 0.9102 moveto + 2.2699 0.9151 lineto + 2.3454 0.9199 lineto + 2.4241 0.9244 lineto + 2.5059 0.9288 lineto + 2.5911 0.9329 lineto + 2.6799 0.9369 lineto + 2.7722 0.9407 lineto + 2.8684 0.9443 lineto + 2.9685 0.9477 lineto + 3.0727 0.9509 lineto + 3.1811 0.954 lineto + 3.294 0.9569 lineto + 3.3817 0.959 lineto + 3.4416 0.9603 lineto + 3.5027 0.9616 lineto + 3.5651 0.9628 lineto + 3.6287 0.9641 lineto + 3.6936 0.9652 lineto + 3.7597 0.9664 lineto + 3.8273 0.9675 lineto + 3.8961 0.9686 lineto + 3.9664 0.9697 lineto + 4.038 0.9707 lineto + 4.1111 0.9717 lineto + 4.1856 0.9726 lineto + 4.2616 0.9736 lineto + 4.3391 0.9745 lineto + 4.4182 0.9753 lineto + 4.4988 0.9762 lineto + 4.5811 0.977 lineto + 4.6649 0.9778 lineto + 4.7505 0.9786 lineto + 4.8377 0.9793 lineto + 4.9267 0.98 lineto + 5.0174 0.9807 lineto + 5.1099 0.9814 lineto + 5.2042 0.982 lineto + 5.3004 0.9827 lineto + 5.3984 0.9833 lineto + 5.4984 0.9839 lineto + 5.6004 0.9844 lineto + 5.7044 0.985 lineto + 5.8104 0.9855 lineto + 5.9185 0.986 lineto + 6.0287 0.9865 lineto + 6.1411 0.987 lineto + 6.2556 0.9875 lineto + 6.3748 0.9276 lineto + 6.378103166302659 0.2839 lineto + 6.378103166302659 1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, 1.1579208923731617E77) +newpath + 0.0 -1.7321 moveto + 0.0784 -1.7325 lineto + 0.1655 -1.734 lineto + 0.2404 -1.7362 lineto + 0.3177 -1.7391 lineto + 0.3825 -1.7422 lineto + 0.46 -1.7465 lineto + 0.5529 -1.7524 lineto + 0.6636 -1.7604 lineto + 0.7267 -1.7654 lineto + 0.7954 -1.771 lineto + 0.8703 -1.7774 lineto + 0.9519 -1.7846 lineto + 1.0406 -1.7925 lineto + 1.1886 -1.8058 lineto + 1.2982 -1.8156 lineto + 1.3565 -1.8207 lineto + 1.4174 -1.826 lineto + 1.4809 -1.8314 lineto + 1.5472 -1.837 lineto + 1.6163 -1.8426 lineto + 1.6885 -1.8483 lineto + 1.7639 -1.8541 lineto + 1.8426 -1.8599 lineto + 1.9249 -1.8657 lineto + 2.0108 -1.8715 lineto + 2.1006 -1.8774 lineto + 2.1944 -1.8832 lineto + 2.2926 -1.8889 lineto + 2.3952 -1.8945 lineto + 2.5027 -1.9001 lineto + 2.6151 -1.9055 lineto + 2.7028 -1.9095 lineto + 2.763 -1.9121 lineto + 2.8246 -1.9147 lineto + 2.8876 -1.9172 lineto + 2.9521 -1.9197 lineto + 3.0181 -1.9222 lineto + 3.0857 -1.9246 lineto + 3.1548 -1.927 lineto + 3.2256 -1.9293 lineto + 3.298 -1.9316 lineto + 3.3722 -1.9339 lineto + 3.4481 -1.936 lineto + 3.5258 -1.9382 lineto + 3.6054 -1.9403 lineto + 3.6869 -1.9423 lineto + 3.7703 -1.9443 lineto + 3.8556 -1.9463 lineto + 3.9431 -1.9482 lineto + 4.0326 -1.95 lineto + 4.1242 -1.9518 lineto + 4.2181 -1.9536 lineto + 4.3141 -1.9553 lineto + 4.4125 -1.9569 lineto + 4.5133 -1.9585 lineto + 4.6164 -1.9601 lineto + 4.7221 -1.9616 lineto + 4.8302 -1.9631 lineto + 4.941 -1.9645 lineto + 5.0544 -1.9659 lineto + 5.1706 -1.9672 lineto + 5.2895 -1.9685 lineto + 5.4113 -1.9697 lineto + 5.536 -1.9709 lineto + 5.6637 -1.9721 lineto + 5.7945 -1.9732 lineto + 5.9284 -1.9743 lineto + 6.031 -1.9751 lineto + 6.1318 -1.9747 lineto + 6.3657 -0.9877 lineto + 6.378103166302659 -2.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, 1.1579208923731617E77) +newpath + 0.0 1.7321 moveto + 0.0784 1.7325 lineto + 0.1655 1.734 lineto + 0.2404 1.7362 lineto + 0.3177 1.7391 lineto + 0.3825 1.7422 lineto + 0.46 1.7465 lineto + 0.5529 1.7524 lineto + 0.6636 1.7604 lineto + 0.7267 1.7654 lineto + 0.7954 1.771 lineto + 0.8703 1.7774 lineto + 0.9519 1.7846 lineto + 1.0406 1.7925 lineto + 1.1886 1.8058 lineto + 1.2982 1.8156 lineto + 1.3565 1.8207 lineto + 1.4174 1.826 lineto + 1.4809 1.8314 lineto + 1.5472 1.837 lineto + 1.6163 1.8426 lineto + 1.6885 1.8483 lineto + 1.7639 1.8541 lineto + 1.8426 1.8599 lineto + 1.9249 1.8657 lineto + 2.0108 1.8715 lineto + 2.1006 1.8774 lineto + 2.1944 1.8832 lineto + 2.2926 1.8889 lineto + 2.3952 1.8945 lineto + 2.5027 1.9001 lineto + 2.6151 1.9055 lineto + 2.7028 1.9095 lineto + 2.763 1.9121 lineto + 2.8246 1.9147 lineto + 2.8876 1.9172 lineto + 2.9521 1.9197 lineto + 3.0181 1.9222 lineto + 3.0857 1.9246 lineto + 3.1548 1.927 lineto + 3.2256 1.9293 lineto + 3.298 1.9316 lineto + 3.3722 1.9339 lineto + 3.4481 1.936 lineto + 3.5258 1.9382 lineto + 3.6054 1.9403 lineto + 3.6869 1.9423 lineto + 3.7703 1.9443 lineto + 3.8556 1.9463 lineto + 3.9431 1.9482 lineto + 4.0326 1.95 lineto + 4.1242 1.9518 lineto + 4.2181 1.9536 lineto + 4.3141 1.9553 lineto + 4.4125 1.9569 lineto + 4.5133 1.9585 lineto + 4.6164 1.9601 lineto + 4.7221 1.9616 lineto + 4.8302 1.9631 lineto + 4.941 1.9645 lineto + 5.0544 1.9659 lineto + 5.1706 1.9672 lineto + 5.2895 1.9685 lineto + 5.4113 1.9697 lineto + 5.536 1.9709 lineto + 5.6637 1.9721 lineto + 5.7945 1.9732 lineto + 5.9284 1.9743 lineto + 6.031 1.9751 lineto + 6.1318 1.9747 lineto + 6.3657 0.9877 lineto + 6.378103166302659 2.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, 1.1579208923731617E77) +newpath + 0.0 -2.8284 moveto + 0.072 -2.8285 lineto + 0.1522 -2.8289 lineto + 0.2212 -2.8294 lineto + 0.3216 -2.8304 lineto + 0.3876 -2.8313 lineto + 0.4672 -2.8326 lineto + 0.563 -2.8344 lineto + 0.6474 -2.8363 lineto + 0.7106 -2.8378 lineto + 0.7798 -2.8396 lineto + 0.8557 -2.8417 lineto + 0.9388 -2.8442 lineto + 1.0299 -2.847 lineto + 1.1296 -2.8503 lineto + 1.2387 -2.8541 lineto + 1.3273 -2.8572 lineto + 1.4221 -2.8607 lineto + 1.5235 -2.8644 lineto + 1.8298 -2.876 lineto + 1.9595 -2.8808 lineto + 2.0509 -2.8842 lineto + 2.1466 -2.8877 lineto + 2.2466 -2.8912 lineto + 2.3513 -2.8949 lineto + 2.4607 -2.8987 lineto + 2.5752 -2.9025 lineto + 2.6646 -2.9053 lineto + 2.757 -2.9082 lineto + 2.8526 -2.9112 lineto + 2.9182 -2.9131 lineto + 2.9852 -2.9151 lineto + 3.0539 -2.917 lineto + 3.1241 -2.9189 lineto + 3.1959 -2.9209 lineto + 3.2694 -2.9228 lineto + 3.3446 -2.9247 lineto + 3.4215 -2.9267 lineto + 3.5002 -2.9286 lineto + 3.5808 -2.9305 lineto + 3.6632 -2.9323 lineto + 3.7475 -2.9342 lineto + 3.8338 -2.936 lineto + 3.9221 -2.9378 lineto + 4.0125 -2.9396 lineto + 4.105 -2.9414 lineto + 4.1997 -2.9432 lineto + 4.2966 -2.9449 lineto + 4.3958 -2.9466 lineto + 4.4973 -2.9482 lineto + 4.6012 -2.9499 lineto + 4.7076 -2.9515 lineto + 4.8164 -2.953 lineto + 4.9279 -2.9546 lineto + 5.0419 -2.9561 lineto + 5.1587 -2.9576 lineto + 5.2782 -2.959 lineto + 5.4006 -2.9604 lineto + 5.5259 -2.9618 lineto + 5.6218 -2.9628 lineto + 5.7195 -2.9639 lineto + 6.2742 -1.4604 lineto + 6.378103166302659 -3.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, 1.1579208923731617E77) +newpath + 0.0 2.8284 moveto + 0.072 2.8285 lineto + 0.1522 2.8289 lineto + 0.2212 2.8294 lineto + 0.3216 2.8304 lineto + 0.3876 2.8313 lineto + 0.4672 2.8326 lineto + 0.563 2.8344 lineto + 0.6474 2.8363 lineto + 0.7106 2.8378 lineto + 0.7798 2.8396 lineto + 0.8557 2.8417 lineto + 0.9388 2.8442 lineto + 1.0299 2.847 lineto + 1.1296 2.8503 lineto + 1.2387 2.8541 lineto + 1.3273 2.8572 lineto + 1.4221 2.8607 lineto + 1.5235 2.8644 lineto + 1.8298 2.876 lineto + 1.9595 2.8808 lineto + 2.0509 2.8842 lineto + 2.1466 2.8877 lineto + 2.2466 2.8912 lineto + 2.3513 2.8949 lineto + 2.4607 2.8987 lineto + 2.5752 2.9025 lineto + 2.6646 2.9053 lineto + 2.757 2.9082 lineto + 2.8526 2.9112 lineto + 2.9182 2.9131 lineto + 2.9852 2.9151 lineto + 3.0539 2.917 lineto + 3.1241 2.9189 lineto + 3.1959 2.9209 lineto + 3.2694 2.9228 lineto + 3.3446 2.9247 lineto + 3.4215 2.9267 lineto + 3.5002 2.9286 lineto + 3.5808 2.9305 lineto + 3.6632 2.9323 lineto + 3.7475 2.9342 lineto + 3.8338 2.936 lineto + 3.9221 2.9378 lineto + 4.0125 2.9396 lineto + 4.105 2.9414 lineto + 4.1997 2.9432 lineto + 4.2966 2.9449 lineto + 4.3958 2.9466 lineto + 4.4973 2.9482 lineto + 4.6012 2.9499 lineto + 4.7076 2.9515 lineto + 4.8164 2.953 lineto + 4.9279 2.9546 lineto + 5.0419 2.9561 lineto + 5.1587 2.9576 lineto + 5.2782 2.959 lineto + 5.4006 2.9604 lineto + 5.5259 2.9618 lineto + 5.6218 2.9628 lineto + 5.7195 2.9639 lineto + 6.2742 1.4604 lineto + 6.378103166302659 3.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, 0.0) +newpath + 1.118 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, -1.0) +newpath + 1.118 0.0 moveto + 1.4142 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.0) +newpath + 2.2361 0.0 moveto + 1.4142 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.1579208923731617E77) +newpath + 2.2361 0.0 moveto + 6.3743 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, 0.0) +newpath + 2.1974 0.9102 moveto + 2.1139 0.904 lineto + 2.0343 0.8974 lineto + 1.9585 0.8906 lineto + 1.8862 0.8835 lineto + 1.8173 0.8761 lineto + 1.7517 0.8684 lineto + 1.689 0.8605 lineto + 1.6293 0.8523 lineto + 1.5179 0.8351 lineto + 1.4164 0.8169 lineto + 1.3237 0.7979 lineto + 1.239 0.7782 lineto + 1.1614 0.7578 lineto + 1.0901 0.7369 lineto + 1.0247 0.7157 lineto + 0.9643 0.6941 lineto + 0.9086 0.6725 lineto + 0.8093 0.6291 lineto + 0.7236 0.5862 lineto + 0.6492 0.5445 lineto + 0.584 0.5043 lineto + 0.5267 0.466 lineto + 0.4759 0.4297 lineto + 0.41 0.3794 lineto + 0.3376 0.3199 lineto + 0.279 0.2687 lineto + 0.2312 0.2252 lineto + 0.1594 0.1574 lineto + 0.1103 0.1097 lineto + 0.0368 0.0368 lineto + 0.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, -1.1579208923731617E77) +newpath + 2.1974 0.9102 moveto + 2.2699 0.9151 lineto + 2.3454 0.9199 lineto + 2.4241 0.9244 lineto + 2.5059 0.9288 lineto + 2.5911 0.9329 lineto + 2.6799 0.9369 lineto + 2.7722 0.9407 lineto + 2.8684 0.9443 lineto + 2.9685 0.9477 lineto + 3.0727 0.9509 lineto + 3.1811 0.954 lineto + 3.294 0.9569 lineto + 3.3817 0.959 lineto + 3.4416 0.9603 lineto + 3.5027 0.9616 lineto + 3.5651 0.9628 lineto + 3.6287 0.9641 lineto + 3.6936 0.9652 lineto + 3.7597 0.9664 lineto + 3.8273 0.9675 lineto + 3.8961 0.9686 lineto + 3.9664 0.9697 lineto + 4.038 0.9707 lineto + 4.1111 0.9717 lineto + 4.1856 0.9726 lineto + 4.2616 0.9736 lineto + 4.3391 0.9745 lineto + 4.4182 0.9753 lineto + 4.4988 0.9762 lineto + 4.5811 0.977 lineto + 4.6649 0.9778 lineto + 4.7505 0.9786 lineto + 4.8377 0.9793 lineto + 4.9267 0.98 lineto + 5.0174 0.9807 lineto + 5.1099 0.9814 lineto + 5.2042 0.982 lineto + 5.3004 0.9827 lineto + 5.3984 0.9833 lineto + 5.4984 0.9839 lineto + 5.6004 0.9844 lineto + 5.7044 0.985 lineto + 5.8104 0.9855 lineto + 5.9185 0.986 lineto + 6.0287 0.9865 lineto + 6.1411 0.987 lineto + 6.2556 0.9875 lineto + 6.3748 0.9276 lineto + 6.378103166302659 0.2839 lineto + 6.378103166302659 1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, 0.0) +newpath + 2.1974 -0.9102 moveto + 2.1139 -0.904 lineto + 2.0343 -0.8974 lineto + 1.9585 -0.8906 lineto + 1.8862 -0.8835 lineto + 1.8173 -0.8761 lineto + 1.7517 -0.8684 lineto + 1.689 -0.8605 lineto + 1.6293 -0.8523 lineto + 1.5179 -0.8351 lineto + 1.4164 -0.8169 lineto + 1.3237 -0.7979 lineto + 1.239 -0.7782 lineto + 1.1614 -0.7578 lineto + 1.0901 -0.7369 lineto + 1.0247 -0.7157 lineto + 0.9643 -0.6941 lineto + 0.9086 -0.6725 lineto + 0.8093 -0.6291 lineto + 0.7236 -0.5862 lineto + 0.6492 -0.5445 lineto + 0.584 -0.5043 lineto + 0.5267 -0.466 lineto + 0.4759 -0.4297 lineto + 0.41 -0.3794 lineto + 0.3376 -0.3199 lineto + 0.279 -0.2687 lineto + 0.2312 -0.2252 lineto + 0.1594 -0.1574 lineto + 0.1103 -0.1097 lineto + 0.0368 -0.0368 lineto + 0.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, -1.1579208923731617E77) +newpath + 2.1974 -0.9102 moveto + 2.2699 -0.9151 lineto + 2.3454 -0.9199 lineto + 2.4241 -0.9244 lineto + 2.5059 -0.9288 lineto + 2.5911 -0.9329 lineto + 2.6799 -0.9369 lineto + 2.7722 -0.9407 lineto + 2.8684 -0.9443 lineto + 2.9685 -0.9477 lineto + 3.0727 -0.9509 lineto + 3.1811 -0.954 lineto + 3.294 -0.9569 lineto + 3.3817 -0.959 lineto + 3.4416 -0.9603 lineto + 3.5027 -0.9616 lineto + 3.5651 -0.9628 lineto + 3.6287 -0.9641 lineto + 3.6936 -0.9652 lineto + 3.7597 -0.9664 lineto + 3.8273 -0.9675 lineto + 3.8961 -0.9686 lineto + 3.9664 -0.9697 lineto + 4.038 -0.9707 lineto + 4.1111 -0.9717 lineto + 4.1856 -0.9726 lineto + 4.2616 -0.9736 lineto + 4.3391 -0.9745 lineto + 4.4182 -0.9753 lineto + 4.4988 -0.9762 lineto + 4.5811 -0.977 lineto + 4.6649 -0.9778 lineto + 4.7505 -0.9786 lineto + 4.8377 -0.9793 lineto + 4.9267 -0.98 lineto + 5.0174 -0.9807 lineto + 5.1099 -0.9814 lineto + 5.2042 -0.982 lineto + 5.3004 -0.9827 lineto + 5.3984 -0.9833 lineto + 5.4984 -0.9839 lineto + 5.6004 -0.9844 lineto + 5.7044 -0.985 lineto + 5.8104 -0.9855 lineto + 5.9185 -0.986 lineto + 6.0287 -0.9865 lineto + 6.1411 -0.987 lineto + 6.2556 -0.9875 lineto + 6.3748 -0.9276 lineto + 6.378103166302659 -0.2839 lineto + 6.378103166302659 -1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, -1.1579208923731617E77) +newpath + 0.0 1.7321 moveto + 0.0784 1.7325 lineto + 0.1655 1.734 lineto + 0.2404 1.7362 lineto + 0.3177 1.7391 lineto + 0.3825 1.7422 lineto + 0.46 1.7465 lineto + 0.5529 1.7524 lineto + 0.6636 1.7604 lineto + 0.7267 1.7654 lineto + 0.7954 1.771 lineto + 0.8703 1.7774 lineto + 0.9519 1.7846 lineto + 1.0406 1.7925 lineto + 1.1886 1.8058 lineto + 1.2982 1.8156 lineto + 1.3565 1.8207 lineto + 1.4174 1.826 lineto + 1.4809 1.8314 lineto + 1.5472 1.837 lineto + 1.6163 1.8426 lineto + 1.6885 1.8483 lineto + 1.7639 1.8541 lineto + 1.8426 1.8599 lineto + 1.9249 1.8657 lineto + 2.0108 1.8715 lineto + 2.1006 1.8774 lineto + 2.1944 1.8832 lineto + 2.2926 1.8889 lineto + 2.3952 1.8945 lineto + 2.5027 1.9001 lineto + 2.6151 1.9055 lineto + 2.7028 1.9095 lineto + 2.763 1.9121 lineto + 2.8246 1.9147 lineto + 2.8876 1.9172 lineto + 2.9521 1.9197 lineto + 3.0181 1.9222 lineto + 3.0857 1.9246 lineto + 3.1548 1.927 lineto + 3.2256 1.9293 lineto + 3.298 1.9316 lineto + 3.3722 1.9339 lineto + 3.4481 1.936 lineto + 3.5258 1.9382 lineto + 3.6054 1.9403 lineto + 3.6869 1.9423 lineto + 3.7703 1.9443 lineto + 3.8556 1.9463 lineto + 3.9431 1.9482 lineto + 4.0326 1.95 lineto + 4.1242 1.9518 lineto + 4.2181 1.9536 lineto + 4.3141 1.9553 lineto + 4.4125 1.9569 lineto + 4.5133 1.9585 lineto + 4.6164 1.9601 lineto + 4.7221 1.9616 lineto + 4.8302 1.9631 lineto + 4.941 1.9645 lineto + 5.0544 1.9659 lineto + 5.1706 1.9672 lineto + 5.2895 1.9685 lineto + 5.4113 1.9697 lineto + 5.536 1.9709 lineto + 5.6637 1.9721 lineto + 5.7945 1.9732 lineto + 5.9284 1.9743 lineto + 6.031 1.9751 lineto + 6.1318 1.9747 lineto + 6.3657 0.9877 lineto + 6.378103166302659 2.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, -1.1579208923731617E77) +newpath + 0.0 -1.7321 moveto + 0.0784 -1.7325 lineto + 0.1655 -1.734 lineto + 0.2404 -1.7362 lineto + 0.3177 -1.7391 lineto + 0.3825 -1.7422 lineto + 0.46 -1.7465 lineto + 0.5529 -1.7524 lineto + 0.6636 -1.7604 lineto + 0.7267 -1.7654 lineto + 0.7954 -1.771 lineto + 0.8703 -1.7774 lineto + 0.9519 -1.7846 lineto + 1.0406 -1.7925 lineto + 1.1886 -1.8058 lineto + 1.2982 -1.8156 lineto + 1.3565 -1.8207 lineto + 1.4174 -1.826 lineto + 1.4809 -1.8314 lineto + 1.5472 -1.837 lineto + 1.6163 -1.8426 lineto + 1.6885 -1.8483 lineto + 1.7639 -1.8541 lineto + 1.8426 -1.8599 lineto + 1.9249 -1.8657 lineto + 2.0108 -1.8715 lineto + 2.1006 -1.8774 lineto + 2.1944 -1.8832 lineto + 2.2926 -1.8889 lineto + 2.3952 -1.8945 lineto + 2.5027 -1.9001 lineto + 2.6151 -1.9055 lineto + 2.7028 -1.9095 lineto + 2.763 -1.9121 lineto + 2.8246 -1.9147 lineto + 2.8876 -1.9172 lineto + 2.9521 -1.9197 lineto + 3.0181 -1.9222 lineto + 3.0857 -1.9246 lineto + 3.1548 -1.927 lineto + 3.2256 -1.9293 lineto + 3.298 -1.9316 lineto + 3.3722 -1.9339 lineto + 3.4481 -1.936 lineto + 3.5258 -1.9382 lineto + 3.6054 -1.9403 lineto + 3.6869 -1.9423 lineto + 3.7703 -1.9443 lineto + 3.8556 -1.9463 lineto + 3.9431 -1.9482 lineto + 4.0326 -1.95 lineto + 4.1242 -1.9518 lineto + 4.2181 -1.9536 lineto + 4.3141 -1.9553 lineto + 4.4125 -1.9569 lineto + 4.5133 -1.9585 lineto + 4.6164 -1.9601 lineto + 4.7221 -1.9616 lineto + 4.8302 -1.9631 lineto + 4.941 -1.9645 lineto + 5.0544 -1.9659 lineto + 5.1706 -1.9672 lineto + 5.2895 -1.9685 lineto + 5.4113 -1.9697 lineto + 5.536 -1.9709 lineto + 5.6637 -1.9721 lineto + 5.7945 -1.9732 lineto + 5.9284 -1.9743 lineto + 6.031 -1.9751 lineto + 6.1318 -1.9747 lineto + 6.3657 -0.9877 lineto + 6.378103166302659 -2.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, -1.1579208923731617E77) +newpath + 0.0 2.8284 moveto + 0.072 2.8285 lineto + 0.1522 2.8289 lineto + 0.2212 2.8294 lineto + 0.3216 2.8304 lineto + 0.3876 2.8313 lineto + 0.4672 2.8326 lineto + 0.563 2.8344 lineto + 0.6474 2.8363 lineto + 0.7106 2.8378 lineto + 0.7798 2.8396 lineto + 0.8557 2.8417 lineto + 0.9388 2.8442 lineto + 1.0299 2.847 lineto + 1.1296 2.8503 lineto + 1.2387 2.8541 lineto + 1.3273 2.8572 lineto + 1.4221 2.8607 lineto + 1.5235 2.8644 lineto + 1.8298 2.876 lineto + 1.9595 2.8808 lineto + 2.0509 2.8842 lineto + 2.1466 2.8877 lineto + 2.2466 2.8912 lineto + 2.3513 2.8949 lineto + 2.4607 2.8987 lineto + 2.5752 2.9025 lineto + 2.6646 2.9053 lineto + 2.757 2.9082 lineto + 2.8526 2.9112 lineto + 2.9182 2.9131 lineto + 2.9852 2.9151 lineto + 3.0539 2.917 lineto + 3.1241 2.9189 lineto + 3.1959 2.9209 lineto + 3.2694 2.9228 lineto + 3.3446 2.9247 lineto + 3.4215 2.9267 lineto + 3.5002 2.9286 lineto + 3.5808 2.9305 lineto + 3.6632 2.9323 lineto + 3.7475 2.9342 lineto + 3.8338 2.936 lineto + 3.9221 2.9378 lineto + 4.0125 2.9396 lineto + 4.105 2.9414 lineto + 4.1997 2.9432 lineto + 4.2966 2.9449 lineto + 4.3958 2.9466 lineto + 4.4973 2.9482 lineto + 4.6012 2.9499 lineto + 4.7076 2.9515 lineto + 4.8164 2.953 lineto + 4.9279 2.9546 lineto + 5.0419 2.9561 lineto + 5.1587 2.9576 lineto + 5.2782 2.959 lineto + 5.4006 2.9604 lineto + 5.5259 2.9618 lineto + 5.6218 2.9628 lineto + 5.7195 2.9639 lineto + 6.2742 1.4604 lineto + 6.378103166302659 3.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, -1.1579208923731617E77) +newpath + 0.0 -2.8284 moveto + 0.072 -2.8285 lineto + 0.1522 -2.8289 lineto + 0.2212 -2.8294 lineto + 0.3216 -2.8304 lineto + 0.3876 -2.8313 lineto + 0.4672 -2.8326 lineto + 0.563 -2.8344 lineto + 0.6474 -2.8363 lineto + 0.7106 -2.8378 lineto + 0.7798 -2.8396 lineto + 0.8557 -2.8417 lineto + 0.9388 -2.8442 lineto + 1.0299 -2.847 lineto + 1.1296 -2.8503 lineto + 1.2387 -2.8541 lineto + 1.3273 -2.8572 lineto + 1.4221 -2.8607 lineto + 1.5235 -2.8644 lineto + 1.8298 -2.876 lineto + 1.9595 -2.8808 lineto + 2.0509 -2.8842 lineto + 2.1466 -2.8877 lineto + 2.2466 -2.8912 lineto + 2.3513 -2.8949 lineto + 2.4607 -2.8987 lineto + 2.5752 -2.9025 lineto + 2.6646 -2.9053 lineto + 2.757 -2.9082 lineto + 2.8526 -2.9112 lineto + 2.9182 -2.9131 lineto + 2.9852 -2.9151 lineto + 3.0539 -2.917 lineto + 3.1241 -2.9189 lineto + 3.1959 -2.9209 lineto + 3.2694 -2.9228 lineto + 3.3446 -2.9247 lineto + 3.4215 -2.9267 lineto + 3.5002 -2.9286 lineto + 3.5808 -2.9305 lineto + 3.6632 -2.9323 lineto + 3.7475 -2.9342 lineto + 3.8338 -2.936 lineto + 3.9221 -2.9378 lineto + 4.0125 -2.9396 lineto + 4.105 -2.9414 lineto + 4.1997 -2.9432 lineto + 4.2966 -2.9449 lineto + 4.3958 -2.9466 lineto + 4.4973 -2.9482 lineto + 4.6012 -2.9499 lineto + 4.7076 -2.9515 lineto + 4.8164 -2.953 lineto + 4.9279 -2.9546 lineto + 5.0419 -2.9561 lineto + 5.1587 -2.9576 lineto + 5.2782 -2.959 lineto + 5.4006 -2.9604 lineto + 5.5259 -2.9618 lineto + 5.6218 -2.9628 lineto + 5.7195 -2.9639 lineto + 6.2742 -1.4604 lineto + 6.378103166302659 -3.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Real axis +newpath -5 0 moveto 5 0 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 1.0 0.12 moveto 1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.0 0.12 moveto -1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 2.0 0.12 moveto 2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -2.0 0.12 moveto -2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.0 0.12 moveto 3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.0 0.12 moveto -3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 4.0 0.12 moveto 4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -4.0 0.12 moveto -4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 1.5707963267948966 0.09 moveto 1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.5707963267948966 0.09 moveto -1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.141592653589793 0.09 moveto 3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.141592653589793 0.09 moveto -3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +% Imaginary axis +newpath 0 -5 moveto 0 5 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 0.12 1.0 moveto -0.12 1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -1.0 moveto -0.12 -1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 2.0 moveto -0.12 2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -2.0 moveto -0.12 -2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 3.0 moveto -0.12 3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -3.0 moveto -0.12 -3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 4.0 moveto -0.12 4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -4.0 moveto -0.12 -4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 1.5707963267948966 moveto -0.09 1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -1.5707963267948966 moveto -0.09 -1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 3.141592653589793 moveto -0.09 3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -3.141592653589793 moveto -0.09 -3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +% End of PostScript file for plot of function SQRT-SQUARE-MINUS-ONE +%%EndDocument + @endspecial 72 x FA(Here)15 b(is)h(a)g(curious)h(graph)f(indeed)h(for) +e(so)g(simple)j(a)d(function!)25 b(The)16 b(origin)h(is)f(mapp)q(ed)h +(to)0 1891 y(1.)k(The)15 b(real)g(axis)h(segmen)o(t)f([0)p +Fd(;)5 b FA(1])15 b(is)g(mapp)q(ed)g(bac)o(kw)o(ards)h(\(and)f +(non-linearly\))j(in)o(to)d(itself;)0 1937 y(the)f(segmen)o(t)g([1)p +Fd(;)6 b FA(+)p Ff(1)p FA(])14 b(is)g(mapp)q(ed)h(non-linearly)i(on)o +(to)d(the)g(p)q(ositiv)o(e)i(imaginary)g(axis.)21 b(The)0 +1983 y(negativ)o(e)e(real)g(axis)f(is)h(mapp)q(ed)g(to)e(the)h(same)g +(p)q(oin)o(ts)h(as)f(the)g(p)q(ositiv)o(e)i(real)e(axis.)32 +b(Both)0 2028 y(halv)o(es)16 b(of)e(the)h(imaginary)i(axis)e(are)g +(mapp)q(ed)g(in)o(to)h([1)p Fd(;)6 b FA(+)p Ff(1)p FA(])14 +b(on)h(the)f(real)h(axis.)23 b(Horizon)o(tal)0 2074 y(lines)15 +b(b)q(ecome)e(v)n(aguely)i(v)o(ertical,)f(and)g(v)o(ertical)g(lines)h +(b)q(ecome)f(v)n(aguely)g(horizon)o(tal.)19 b(Circles)0 +2120 y(cen)o(tered)14 b(at)g(the)f(origin)j(are)d(transformed)i(in)o +(to)f(Cassinian)i(\(half-\)o)o(v)n(als)r(;)d(the)g(unit)i(circle)g(is)0 +2165 y(mapp)q(ed)e(to)e(a)g(\(half-\)lemniscate)j(of)e(Bernoulli.)19 +b(The)11 b(outermost)h(ann)o(ulus)i(app)q(ears)f(to)e(ha)o(v)o(e)0 +2211 y(its)k Fq(inner)e FA(edge)i(at)f Fd(\031)i FA(on)f(the)g(real)g +(axis)g(and)h(its)f Fq(outer)e FA(edge)i(at)f(3)h(on)f(the)h(imaginary) +i(axis,)0 2257 y(but)12 b(this)g(is)g(another)h(acciden)o(t;)g(the)f +(in)o(tercept)g(on)g(the)g(real)g(axis,)h(for)e(example,)i(is)f(not)g +(really)0 2302 y(at)h Fd(\031)f Ff(\031)e FA(3)p Fd(:)p +FA(14)d Fd(:)f(:)g(:)13 b FA(but)g(at)371 2268 y Fe(p)p +413 2268 148 2 v 34 x FA(1)8 b Ff(\000)h FA(\(3)p Fq(i)s +FA(\))543 2291 y Fc(2)571 2302 y FA(=)612 2271 y Ff(p)p +644 2271 39 2 v 31 x FA(10)i Ff(\031)f FA(3)p Fd(:)p +FA(16)d Fd(:)f(:)g(:)13 b FA(.)p 0 2338 1395 2 v -33 +2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 360 384 +360 383 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(360)77 b(COMMON)13 +b(LISP)p 0 255 1395 2 v 0 330 a Fm(Figure)h(12-20:)j +FA(Illustration)f(of)d(the)g(Range)h(of)f(the)g(F)m(unction)970 +300 y Ff(p)p 1002 300 104 2 v 30 x FA(1)c(+)f Fq(z)1089 +319 y Fc(2)0 1774 y @beginspecial @setspecial +%%BeginDocument: sqrt-one-plus-sq-plot.ps +% PostScript file for plot of function SQRT-ONE-PLUS-SQUARE +% Plot is to fit in a region 4.666666666666667 inches square +% showing axes extending 4.1 units from the origin. + +40.97560975609756 40.97560975609756 scale +4.1 4.1 translate +newpath + -4.1 -4.1 moveto + 4.1 -4.1 lineto + 4.1 4.1 lineto + -4.1 4.1 lineto + closepath +clip +% Moby grid for function SQRT-ONE-PLUS-SQUARE +% Annulus 0.25 0.5 4 0.97 0.45 +% Sector from 4.7124 to 6.2832 (quadrant 3) +newpath + 0.9682 0.0 moveto + 0.927 0.0 lineto + %middle radial + 0.927 0.0 lineto + 0.866 0.0 lineto + %end radial + 0.866 0.0 lineto + 0.9093 -0.0942 lineto + 1.0077 -0.124 lineto + %middle circumferential + 1.0077 -0.124 lineto + 1.0858 -0.0835 lineto + 1.118 0.0 lineto + %end circumferential + 1.118 0.0 lineto + 1.068 0.0 lineto + %middle radial + 1.068 0.0 lineto + 1.0308 0.0 lineto + %end radial + 1.0308 0.0 lineto + 1.0005 -0.0312 lineto + %middle circumferential + 1.0005 -0.0312 lineto + 0.9682 0.0 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 3.1416 to 4.7124 (quadrant 2) +newpath + 1.0308 0.0 moveto + 1.068 0.0 lineto + %middle radial + 1.068 0.0 lineto + 1.118 0.0 lineto + %end radial + 1.118 0.0 lineto + 1.091 0.0774 lineto + 1.0077 0.124 lineto + %middle circumferential + 1.0077 0.124 lineto + 0.9163 0.0998 lineto + 0.8698 0.0303 lineto + 0.866 0.0 lineto + %end circumferential + 0.866 0.0 lineto + 0.927 0.0 lineto + %middle radial + 0.927 0.0 lineto + 0.9682 0.0 lineto + %end radial + 0.9682 0.0 lineto + 1.0005 0.0312 lineto + %middle circumferential + 1.0005 0.0312 lineto + 1.0308 0.0 lineto + %end circumferential + closepath +currentgray 0.6233333333333334 setgray fill setgray +% Sector from 1.5708 to 3.1416 (quadrant 1) +newpath + 0.9682 0.0 moveto + 0.927 0.0 lineto + %middle radial + 0.927 0.0 lineto + 0.866 0.0 lineto + %end radial + 0.866 0.0 lineto + 0.9043 -0.0897 lineto + 1.0077 -0.124 lineto + %middle circumferential + 1.0077 -0.124 lineto + 1.0835 -0.086 lineto + 1.118 0.0 lineto + %end circumferential + 1.118 0.0 lineto + 1.068 0.0 lineto + %middle radial + 1.068 0.0 lineto + 1.0308 0.0 lineto + %end radial + 1.0308 0.0 lineto + 1.0005 -0.0312 lineto + %middle circumferential + 1.0005 -0.0312 lineto + 0.9682 0.0 lineto + %end circumferential + closepath +currentgray 0.7966666666666668 setgray fill setgray +% Sector from 0.0 to 1.5708 (quadrant 0) +newpath + 1.0308 0.0 moveto + 1.068 0.0 lineto + %middle radial + 1.068 0.0 lineto + 1.118 0.0 lineto + %end radial + 1.118 0.0 lineto + 1.1177 0.0096 lineto + 1.0897 0.079 lineto + 1.0077 0.124 lineto + %middle circumferential + 1.0077 0.124 lineto + 0.9274 0.1072 lineto + 0.8717 0.037 lineto + 0.866 0.0 lineto + %end circumferential + 0.866 0.0 lineto + 0.927 0.0 lineto + %middle radial + 0.927 0.0 lineto + 0.9682 0.0 lineto + %end radial + 0.9682 0.0 lineto + 1.0005 0.0312 lineto + %middle circumferential + 1.0005 0.0312 lineto + 1.0308 0.0 lineto + %end circumferential + closepath +currentgray 0.9700000000000001 setgray fill setgray +% Annulus 0.75 1.0 8 0.97 0.45 +% Sector from 5.4978 to 6.2832 (quadrant 3) +newpath + 1.0362 -0.2714 moveto + 1.0629 -0.3602 lineto + %middle radial + 1.0629 -0.3602 lineto + 1.0987 -0.4551 lineto + %end radial + 1.0987 -0.4551 lineto + 1.169 -0.4199 lineto + 1.232 -0.376 lineto + 1.287 -0.3241 lineto + 1.3332 -0.2652 lineto + %middle circumferential + 1.3332 -0.2652 lineto + 1.3677 -0.2045 lineto + 1.3932 -0.1394 lineto + 1.4089 -0.0709 lineto + 1.4142 0.0 lineto + %end circumferential + 1.4142 0.0 lineto + 1.3288 0.0 lineto + %middle radial + 1.3288 0.0 lineto + 1.25 0.0 lineto + %end radial + 1.25 0.0 lineto + 1.2354 -0.0885 lineto + 1.1939 -0.1666 lineto + %middle circumferential + 1.1939 -0.1666 lineto + 1.1249 -0.2316 lineto + 1.0362 -0.2714 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 4.7124 to 5.4978 (quadrant 3) +newpath + 0.6614 0.0 moveto + 0.4841 0.0 lineto + %middle radial + 0.4841 0.0 lineto + 0.0 0.0 lineto + %end radial + 0.0 0.0 lineto + 0.0544 -0.0542 lineto + 0.1093 -0.108 lineto + 0.1555 -0.1519 lineto + 0.2227 -0.2124 lineto + 0.2762 -0.2572 lineto + 0.3227 -0.2934 lineto + 0.4044 -0.3502 lineto + 0.4773 -0.3933 lineto + 0.5447 -0.4267 lineto + 0.6083 -0.4526 lineto + 0.6691 -0.4721 lineto + 0.7274 -0.486 lineto + %middle circumferential + 0.7274 -0.486 lineto + 0.83 -0.499 lineto + 0.9262 -0.4972 lineto + 1.0159 -0.4822 lineto + 1.0987 -0.4551 lineto + %end circumferential + 1.0987 -0.4551 lineto + 1.0629 -0.3602 lineto + %middle radial + 1.0629 -0.3602 lineto + 1.0362 -0.2714 lineto + %end radial + 1.0362 -0.2714 lineto + 0.9828 -0.2804 lineto + 0.8699 -0.2679 lineto + 0.8136 -0.2444 lineto + %middle circumferential + 0.8136 -0.2444 lineto + 0.7565 -0.2047 lineto + 0.7077 -0.1492 lineto + 0.6737 -0.079 lineto + 0.6614 0.0 lineto + %end circumferential + closepath +currentgray 0.5242857142857142 setgray fill setgray +% Sector from 3.927 to 4.7124 (quadrant 2) +newpath + 1.0362 0.2714 moveto + 1.0629 0.3602 lineto + %middle radial + 1.0629 0.3602 lineto + 1.0987 0.4551 lineto + %end radial + 1.0987 0.4551 lineto + 1.0212 0.4808 lineto + 0.934 0.4965 lineto + 0.8365 0.4993 lineto + 0.7274 0.486 lineto + %middle circumferential + 0.7274 0.486 lineto + 0.645 0.465 lineto + 0.5859 0.4441 lineto + 0.5225 0.4164 lineto + 0.4536 0.3801 lineto + 0.3768 0.3319 lineto + 0.3108 0.2844 lineto + 0.2601 0.244 lineto + 0.1993 0.1919 lineto + 0.1398 0.1372 lineto + 0.0803 0.0798 lineto + 0.0 0.0 lineto + %end circumferential + 0.0 0.0 lineto + 0.4841 0.0 lineto + %middle radial + 0.4841 0.0 lineto + 0.6614 0.0 lineto + %end radial + 0.6614 0.0 lineto + 0.6753 0.0839 lineto + 0.7114 0.1544 lineto + 0.7599 0.2076 lineto + 0.8136 0.2444 lineto + %middle circumferential + 0.8136 0.2444 lineto + 0.8736 0.269 lineto + 0.9317 0.28 lineto + 1.0362 0.2714 lineto + %end circumferential + closepath +currentgray 0.5985714285714285 setgray fill setgray +% Sector from 3.1416 to 3.927 (quadrant 2) +newpath + 1.25 0.0 moveto + 1.3288 0.0 lineto + %middle radial + 1.3288 0.0 lineto + 1.4142 0.0 lineto + %end radial + 1.4142 0.0 lineto + 1.4095 0.0662 lineto + 1.395 0.1333 lineto + 1.3698 0.2001 lineto + 1.3332 0.2652 lineto + %middle circumferential + 1.3332 0.2652 lineto + 1.2902 0.3206 lineto + 1.2371 0.3718 lineto + 1.1734 0.4173 lineto + 1.0987 0.4551 lineto + %end circumferential + 1.0987 0.4551 lineto + 1.0629 0.3602 lineto + %middle radial + 1.0629 0.3602 lineto + 1.0362 0.2714 lineto + %end radial + 1.0362 0.2714 lineto + 1.1284 0.2293 lineto + 1.1939 0.1666 lineto + %middle circumferential + 1.1939 0.1666 lineto + 1.2366 0.0846 lineto + 1.25 0.0 lineto + %end circumferential + closepath +currentgray 0.6728571428571428 setgray fill setgray +% Sector from 2.3562 to 3.1416 (quadrant 1) +newpath + 1.0362 -0.2714 moveto + 1.0629 -0.3602 lineto + %middle radial + 1.0629 -0.3602 lineto + 1.0987 -0.4551 lineto + %end radial + 1.0987 -0.4551 lineto + 1.1668 -0.4212 lineto + 1.2295 -0.378 lineto + 1.2854 -0.3259 lineto + 1.3332 -0.2652 lineto + %middle circumferential + 1.3332 -0.2652 lineto + 1.3669 -0.2062 lineto + 1.3924 -0.1418 lineto + 1.4086 -0.0727 lineto + 1.4142 0.0 lineto + %end circumferential + 1.4142 0.0 lineto + 1.3288 0.0 lineto + %middle radial + 1.3288 0.0 lineto + 1.25 0.0 lineto + %end radial + 1.25 0.0 lineto + 1.2349 -0.0899 lineto + 1.1939 -0.1666 lineto + %middle circumferential + 1.1939 -0.1666 lineto + 1.1232 -0.2328 lineto + 1.0362 -0.2714 lineto + %end circumferential + closepath +currentgray 0.7471428571428572 setgray fill setgray +% Sector from 1.5708 to 2.3562 (quadrant 1) +newpath + 0.6614 0.0 moveto + 0.4841 0.0 lineto + %middle radial + 0.4841 0.0 lineto + 0.0 0.0 lineto + %end radial + 0.0 0.0 lineto + 0.0743 -0.0739 lineto + 0.1296 -0.1274 lineto + 0.1852 -0.1792 lineto + 0.2425 -0.2294 lineto + 0.3132 -0.2862 lineto + 0.3941 -0.3435 lineto + 0.4673 -0.3878 lineto + 0.5359 -0.4227 lineto + 0.6016 -0.4501 lineto + 0.6653 -0.471 lineto + 0.7274 -0.486 lineto + %middle circumferential + 0.7274 -0.486 lineto + 0.826 -0.4988 lineto + 0.9212 -0.4977 lineto + 1.0124 -0.483 lineto + 1.0987 -0.4551 lineto + %end circumferential + 1.0987 -0.4551 lineto + 1.0629 -0.3602 lineto + %middle radial + 1.0629 -0.3602 lineto + 1.0362 -0.2714 lineto + %end radial + 1.0362 -0.2714 lineto + 0.9238 -0.2791 lineto + 0.8136 -0.2444 lineto + %middle circumferential + 0.8136 -0.2444 lineto + 0.7536 -0.2021 lineto + 0.7047 -0.1446 lineto + 0.6725 -0.075 lineto + 0.6614 0.0 lineto + %end circumferential + closepath +currentgray 0.8214285714285714 setgray fill setgray +% Sector from 0.7854 to 1.5708 (quadrant 0) +newpath + 1.0362 0.2714 moveto + 1.0629 0.3602 lineto + %middle radial + 1.0629 0.3602 lineto + 1.0987 0.4551 lineto + %end radial + 1.0987 0.4551 lineto + 1.0662 0.4674 lineto + 0.9913 0.4877 lineto + 0.9008 0.4991 lineto + 0.791 0.4959 lineto + 0.7274 0.486 lineto + %middle circumferential + 0.7274 0.486 lineto + 0.6247 0.4583 lineto + 0.5665 0.4362 lineto + 0.5025 0.4065 lineto + 0.4307 0.3666 lineto + 0.3473 0.3114 lineto + 0.2986 0.275 lineto + 0.2419 0.2289 lineto + 0.1696 0.1649 lineto + 0.1194 0.1177 lineto + 0.0595 0.0593 lineto + 0.0 0.0 lineto + %end circumferential + 0.0 0.0 lineto + 0.4841 0.0 lineto + %middle radial + 0.4841 0.0 lineto + 0.6614 0.0 lineto + %end radial + 0.6614 0.0 lineto + 0.6774 0.0898 lineto + 0.7158 0.1605 lineto + 0.7638 0.2109 lineto + 0.8136 0.2444 lineto + %middle circumferential + 0.8136 0.2444 lineto + 0.8806 0.2709 lineto + 0.9404 0.2806 lineto + 1.0362 0.2714 lineto + %end circumferential + closepath +currentgray 0.8957142857142858 setgray fill setgray +% Sector from 0.0 to 0.7854 (quadrant 0) +newpath + 1.25 0.0 moveto + 1.3288 0.0 lineto + %middle radial + 1.3288 0.0 lineto + 1.4142 0.0 lineto + %end radial + 1.4142 0.0 lineto + 1.4142 9.0E-4 lineto + 1.4097 0.0652 lineto + 1.395 0.1333 lineto + 1.3747 0.1892 lineto + 1.3332 0.2652 lineto + %middle circumferential + 1.3332 0.2652 lineto + 1.2788 0.3329 lineto + 1.224 0.3824 lineto + 1.1475 0.432 lineto + 1.0987 0.4551 lineto + %end circumferential + 1.0987 0.4551 lineto + 1.0629 0.3602 lineto + %middle radial + 1.0629 0.3602 lineto + 1.0362 0.2714 lineto + %end radial + 1.0362 0.2714 lineto + 1.0683 0.261 lineto + 1.1396 0.2211 lineto + 1.1939 0.1666 lineto + %middle circumferential + 1.1939 0.1666 lineto + 1.2367 0.0846 lineto + 1.2498 0.0098 lineto + 1.25 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 1.5708 2.0 16 0.97 0.45 +% Sector from 5.8905 to 6.2832 (quadrant 3) +newpath + 1.7316 -0.5038 moveto + 1.8118 -0.5473 lineto + 1.899 -0.5935 lineto + %middle radial + 1.899 -0.5935 lineto + 1.9825 -0.6368 lineto + 2.0722 -0.6825 lineto + %end radial + 2.0722 -0.6825 lineto + 2.1099 -0.6022 lineto + 2.143 -0.5197 lineto + 2.1714 -0.4352 lineto + 2.1948 -0.3487 lineto + %middle circumferential + 2.1948 -0.3487 lineto + 2.2126 -0.2634 lineto + 2.2256 -0.1767 lineto + 2.2334 -0.0888 lineto + 2.2361 0.0 lineto + %end circumferential + 2.2361 0.0 lineto + 2.0464 0.0 lineto + %middle radial + 2.0464 0.0 lineto + 1.8621 0.0 lineto + %end radial + 1.8621 0.0 lineto + 1.86 -0.0658 lineto + 1.8537 -0.1309 lineto + 1.8435 -0.195 lineto + 1.8293 -0.2581 lineto + %middle circumferential + 1.8293 -0.2581 lineto + 1.8106 -0.3219 lineto + 1.788 -0.3843 lineto + 1.7616 -0.4449 lineto + 1.7316 -0.5038 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.4978 to 5.8905 (quadrant 3) +newpath + 1.3532 -0.9117 moveto + 1.4102 -0.9943 lineto + 1.4732 -1.0819 lineto + %middle radial + 1.4732 -1.0819 lineto + 1.5343 -1.1637 lineto + 1.6005 -1.2496 lineto + %end radial + 1.6005 -1.2496 lineto + 1.6737 -1.1893 lineto + 1.7436 -1.1254 lineto + 1.8098 -1.0579 lineto + 1.8721 -0.987 lineto + %middle circumferential + 1.8721 -0.987 lineto + 1.9284 -0.9153 lineto + 1.9807 -0.8405 lineto + 2.0287 -0.7629 lineto + 2.0722 -0.6825 lineto + %end circumferential + 2.0722 -0.6825 lineto + 1.9825 -0.6368 lineto + 1.899 -0.5935 lineto + %middle radial + 1.899 -0.5935 lineto + 1.8118 -0.5473 lineto + 1.7316 -0.5038 lineto + %end radial + 1.7316 -0.5038 lineto + 1.6969 -0.5626 lineto + 1.6585 -0.6192 lineto + 1.6168 -0.6734 lineto + 1.5717 -0.7252 lineto + %middle circumferential + 1.5717 -0.7252 lineto + 1.5217 -0.7761 lineto + 1.4685 -0.8242 lineto + 1.4123 -0.8694 lineto + 1.3532 -0.9117 lineto + %end circumferential + closepath +currentgray 0.48466666666666664 setgray fill setgray +% Sector from 5.1051 to 5.4978 (quadrant 3) +newpath + 0.759 -1.1493 moveto + 0.7711 -1.2061 lineto + 0.7843 -1.2642 lineto + 0.7986 -1.3236 lineto + 0.814 -1.3844 lineto + %middle radial + 0.814 -1.3844 lineto + 0.844 -1.4958 lineto + 0.8603 -1.5532 lineto + 0.8774 -1.6119 lineto + %end radial + 0.8774 -1.6119 lineto + 0.9773 -1.5802 lineto + 1.0755 -1.5444 lineto + 1.1716 -1.5044 lineto + 1.2654 -1.4602 lineto + %middle circumferential + 1.2654 -1.4602 lineto + 1.3534 -1.4135 lineto + 1.4388 -1.3629 lineto + 1.5212 -1.3082 lineto + 1.6005 -1.2496 lineto + %end circumferential + 1.6005 -1.2496 lineto + 1.5343 -1.1637 lineto + 1.4732 -1.0819 lineto + %middle radial + 1.4732 -1.0819 lineto + 1.4102 -0.9943 lineto + 1.3532 -0.9117 lineto + %end radial + 1.3532 -0.9117 lineto + 1.2891 -0.9523 lineto + 1.2222 -0.9897 lineto + 1.1527 -1.0238 lineto + 1.0807 -1.0546 lineto + %middle circumferential + 1.0807 -1.0546 lineto + 1.0036 -1.0833 lineto + 0.9242 -1.1085 lineto + 0.8426 -1.1305 lineto + 0.759 -1.1493 lineto + %end circumferential + closepath +currentgray 0.5193333333333334 setgray fill setgray +% Sector from 4.7124 to 5.1051 (quadrant 3) +newpath + 0.0 -1.2114 moveto + 0.0 -1.4791 lineto + %middle radial + 0.0 -1.4791 lineto + 0.0 -1.7321 lineto + %end radial + 0.0 -1.7321 lineto + 0.1116 -1.7303 lineto + 0.2239 -1.7248 lineto + 0.3367 -1.7155 lineto + 0.4496 -1.7023 lineto + %middle circumferential + 0.4496 -1.7023 lineto + 0.5578 -1.6857 lineto + 0.6654 -1.6652 lineto + 0.772 -1.6406 lineto + 0.8774 -1.6119 lineto + %end circumferential + 0.8774 -1.6119 lineto + 0.8603 -1.5532 lineto + 0.844 -1.4958 lineto + 0.814 -1.3844 lineto + %middle radial + 0.814 -1.3844 lineto + 0.7986 -1.3236 lineto + 0.7843 -1.2642 lineto + 0.7711 -1.2061 lineto + 0.759 -1.1493 lineto + %end radial + 0.759 -1.1493 lineto + 0.6702 -1.1657 lineto + 0.5796 -1.1791 lineto + 0.4875 -1.1897 lineto + 0.3941 -1.1979 lineto + %middle circumferential + 0.3941 -1.1979 lineto + 0.2959 -1.2041 lineto + 0.1972 -1.2082 lineto + 0.0984 -1.2106 lineto + 0.0 -1.2114 lineto + %end circumferential + closepath +currentgray 0.554 setgray fill setgray +% Sector from 4.3197 to 4.7124 (quadrant 2) +newpath + 0.759 1.1493 moveto + 0.7711 1.2061 lineto + 0.7843 1.2642 lineto + 0.7986 1.3236 lineto + 0.814 1.3844 lineto + %middle radial + 0.814 1.3844 lineto + 0.844 1.4958 lineto + 0.8603 1.5532 lineto + 0.8774 1.6119 lineto + %end radial + 0.8774 1.6119 lineto + 0.7753 1.6398 lineto + 0.6698 1.6642 lineto + 0.5612 1.6851 lineto + 0.4496 1.7023 lineto + %middle circumferential + 0.4496 1.7023 lineto + 0.3402 1.7151 lineto + 0.2286 1.7245 lineto + 0.1151 1.7301 lineto + 0.0 1.7321 lineto + %end circumferential + 0.0 1.7321 lineto + 0.0 1.4791 lineto + %middle radial + 0.0 1.4791 lineto + 0.0 1.2114 lineto + %end radial + 0.0 1.2114 lineto + 0.1015 1.2106 lineto + 0.2013 1.2081 lineto + 0.299 1.2039 lineto + 0.3941 1.1979 lineto + %middle circumferential + 0.3941 1.1979 lineto + 0.4905 1.1894 lineto + 0.5835 1.1786 lineto + 0.673 1.1652 lineto + 0.759 1.1493 lineto + %end circumferential + closepath +currentgray 0.5886666666666667 setgray fill setgray +% Sector from 3.927 to 4.3197 (quadrant 2) +newpath + 1.3532 0.9117 moveto + 1.4102 0.9943 lineto + 1.4732 1.0819 lineto + %middle radial + 1.4732 1.0819 lineto + 1.5343 1.1637 lineto + 1.6005 1.2496 lineto + %end radial + 1.6005 1.2496 lineto + 1.5238 1.3064 lineto + 1.4423 1.3606 lineto + 1.3562 1.4119 lineto + 1.2654 1.4602 lineto + %middle circumferential + 1.2654 1.4602 lineto + 1.1746 1.5031 lineto + 1.0795 1.5428 lineto + 0.9804 1.5791 lineto + 0.8774 1.6119 lineto + %end circumferential + 0.8774 1.6119 lineto + 0.8603 1.5532 lineto + 0.844 1.4958 lineto + 0.814 1.3844 lineto + %middle radial + 0.814 1.3844 lineto + 0.7986 1.3236 lineto + 0.7843 1.2642 lineto + 0.7711 1.2061 lineto + 0.759 1.1493 lineto + %end radial + 0.759 1.1493 lineto + 0.8453 1.1298 lineto + 0.9276 1.1075 lineto + 1.0061 1.0824 lineto + 1.0807 1.0546 lineto + %middle circumferential + 1.0807 1.0546 lineto + 1.155 1.0227 lineto + 1.2251 0.9881 lineto + 1.2912 0.9511 lineto + 1.3532 0.9117 lineto + %end circumferential + closepath +currentgray 0.6233333333333333 setgray fill setgray +% Sector from 3.5343 to 3.927 (quadrant 2) +newpath + 1.7316 0.5038 moveto + 1.8118 0.5473 lineto + 1.899 0.5935 lineto + %middle radial + 1.899 0.5935 lineto + 1.9825 0.6368 lineto + 2.0722 0.6825 lineto + %end radial + 2.0722 0.6825 lineto + 2.0302 0.7603 lineto + 1.9829 0.8371 lineto + 1.9302 0.9128 lineto + 1.8721 0.987 lineto + %middle circumferential + 1.8721 0.987 lineto + 1.8119 1.0557 lineto + 1.7465 1.1226 lineto + 1.6761 1.1873 lineto + 1.6005 1.2496 lineto + %end circumferential + 1.6005 1.2496 lineto + 1.5343 1.1637 lineto + 1.4732 1.0819 lineto + %middle radial + 1.4732 1.0819 lineto + 1.4102 0.9943 lineto + 1.3532 0.9117 lineto + %end radial + 1.3532 0.9117 lineto + 1.4142 0.868 lineto + 1.4709 0.8222 lineto + 1.5234 0.7745 lineto + 1.5717 0.7252 lineto + %middle circumferential + 1.5717 0.7252 lineto + 1.6182 0.6716 lineto + 1.6603 0.6167 lineto + 1.6981 0.5607 lineto + 1.7316 0.5038 lineto + %end circumferential + closepath +currentgray 0.658 setgray fill setgray +% Sector from 3.1416 to 3.5343 (quadrant 2) +newpath + 1.8621 0.0 moveto + 2.0464 0.0 lineto + %middle radial + 2.0464 0.0 lineto + 2.2361 0.0 lineto + %end radial + 2.2361 0.0 lineto + 2.2336 0.0858 lineto + 2.226 0.1727 lineto + 2.2132 0.2604 lineto + 2.1948 0.3487 lineto + %middle circumferential + 2.1948 0.3487 lineto + 2.1722 0.4323 lineto + 2.1444 0.516 lineto + 2.1111 0.5995 lineto + 2.0722 0.6825 lineto + %end circumferential + 2.0722 0.6825 lineto + 1.9825 0.6368 lineto + 1.899 0.5935 lineto + %middle radial + 1.899 0.5935 lineto + 1.8118 0.5473 lineto + 1.7316 0.5038 lineto + %end radial + 1.7316 0.5038 lineto + 1.7626 0.4429 lineto + 1.7891 0.3815 lineto + 1.8113 0.3198 lineto + 1.8293 0.2581 lineto + %middle circumferential + 1.8293 0.2581 lineto + 1.8439 0.1928 lineto + 1.8541 0.1279 lineto + 1.8601 0.0635 lineto + 1.8621 0.0 lineto + %end circumferential + closepath +currentgray 0.6926666666666667 setgray fill setgray +% Sector from 2.7489 to 3.1416 (quadrant 1) +newpath + 1.7316 -0.5038 moveto + 1.8118 -0.5473 lineto + 1.899 -0.5935 lineto + %middle radial + 1.899 -0.5935 lineto + 1.9825 -0.6368 lineto + 2.0722 -0.6825 lineto + %end radial + 2.0722 -0.6825 lineto + 2.1094 -0.6033 lineto + 2.1424 -0.5213 lineto + 2.171 -0.4363 lineto + 2.1948 -0.3487 lineto + %middle circumferential + 2.1948 -0.3487 lineto + 2.2125 -0.2645 lineto + 2.2254 -0.1781 lineto + 2.2334 -0.0899 lineto + 2.2361 0.0 lineto + %end circumferential + 2.2361 0.0 lineto + 2.0464 0.0 lineto + %middle radial + 2.0464 0.0 lineto + 1.8621 0.0 lineto + %end radial + 1.8621 0.0 lineto + 1.8599 -0.0666 lineto + 1.8536 -0.1319 lineto + 1.8433 -0.1958 lineto + 1.8293 -0.2581 lineto + %middle circumferential + 1.8293 -0.2581 lineto + 1.8103 -0.3228 lineto + 1.7876 -0.3854 lineto + 1.7613 -0.4457 lineto + 1.7316 -0.5038 lineto + %end circumferential + closepath +currentgray 0.7273333333333334 setgray fill setgray +% Sector from 2.3562 to 2.7489 (quadrant 1) +newpath + 1.3532 -0.9117 moveto + 1.4102 -0.9943 lineto + 1.4732 -1.0819 lineto + %middle radial + 1.4732 -1.0819 lineto + 1.5343 -1.1637 lineto + 1.6005 -1.2496 lineto + %end radial + 1.6005 -1.2496 lineto + 1.6725 -1.1904 lineto + 1.7421 -1.1269 lineto + 1.8087 -1.0591 lineto + 1.8721 -0.987 lineto + %middle circumferential + 1.8721 -0.987 lineto + 1.9276 -0.9164 lineto + 1.9797 -0.842 lineto + 2.028 -0.764 lineto + 2.0722 -0.6825 lineto + %end circumferential + 2.0722 -0.6825 lineto + 1.9825 -0.6368 lineto + 1.899 -0.5935 lineto + %middle radial + 1.899 -0.5935 lineto + 1.8118 -0.5473 lineto + 1.7316 -0.5038 lineto + %end radial + 1.7316 -0.5038 lineto + 1.6963 -0.5635 lineto + 1.6577 -0.6203 lineto + 1.6161 -0.6742 lineto + 1.5717 -0.7252 lineto + %middle circumferential + 1.5717 -0.7252 lineto + 1.5208 -0.777 lineto + 1.4673 -0.8253 lineto + 1.4113 -0.8702 lineto + 1.3532 -0.9117 lineto + %end circumferential + closepath +currentgray 0.762 setgray fill setgray +% Sector from 1.9635 to 2.3562 (quadrant 1) +newpath + 0.759 -1.1493 moveto + 0.7711 -1.2061 lineto + 0.7843 -1.2642 lineto + 0.7986 -1.3236 lineto + 0.814 -1.3844 lineto + %middle radial + 0.814 -1.3844 lineto + 0.844 -1.4958 lineto + 0.8603 -1.5532 lineto + 0.8774 -1.6119 lineto + %end radial + 0.8774 -1.6119 lineto + 0.9751 -1.5809 lineto + 1.0727 -1.5454 lineto + 1.1695 -1.5053 lineto + 1.2654 -1.4602 lineto + %middle circumferential + 1.2654 -1.4602 lineto + 1.3518 -1.4144 lineto + 1.4366 -1.3642 lineto + 1.5197 -1.3093 lineto + 1.6005 -1.2496 lineto + %end circumferential + 1.6005 -1.2496 lineto + 1.5343 -1.1637 lineto + 1.4732 -1.0819 lineto + %middle radial + 1.4732 -1.0819 lineto + 1.4102 -0.9943 lineto + 1.3532 -0.9117 lineto + %end radial + 1.3532 -0.9117 lineto + 1.2878 -0.953 lineto + 1.2205 -0.9906 lineto + 1.1514 -1.0244 lineto + 1.0807 -1.0546 lineto + %middle circumferential + 1.0807 -1.0546 lineto + 1.002 -1.0838 lineto + 0.9219 -1.1092 lineto + 0.8409 -1.1309 lineto + 0.759 -1.1493 lineto + %end circumferential + closepath +currentgray 0.7966666666666666 setgray fill setgray +% Sector from 1.5708 to 1.9635 (quadrant 1) +newpath + 0.0 -1.2114 moveto + 0.0 -1.4791 lineto + %middle radial + 0.0 -1.4791 lineto + 0.0 -1.7321 lineto + %end radial + 0.0 -1.7321 lineto + 0.0538 -1.7316 lineto + 0.1636 -1.7282 lineto + 0.2762 -1.7209 lineto + 0.3913 -1.7096 lineto + 0.4496 -1.7023 lineto + %middle circumferential + 0.4496 -1.7023 lineto + 0.5551 -1.6861 lineto + 0.6618 -1.6659 lineto + 0.7693 -1.6413 lineto + 0.8774 -1.6119 lineto + %end circumferential + 0.8774 -1.6119 lineto + 0.8603 -1.5532 lineto + 0.844 -1.4958 lineto + 0.814 -1.3844 lineto + %middle radial + 0.814 -1.3844 lineto + 0.7986 -1.3236 lineto + 0.7843 -1.2642 lineto + 0.7711 -1.2061 lineto + 0.759 -1.1493 lineto + %end radial + 0.759 -1.1493 lineto + 0.668 -1.166 lineto + 0.5766 -1.1795 lineto + 0.4852 -1.1899 lineto + 0.3941 -1.1979 lineto + %middle circumferential + 0.3941 -1.1979 lineto + 0.2931 -1.2042 lineto + 0.1934 -1.2084 lineto + 0.0955 -1.2106 lineto + 0.0 -1.2114 lineto + %end circumferential + closepath +currentgray 0.8313333333333334 setgray fill setgray +% Sector from 1.1781 to 1.5708 (quadrant 0) +newpath + 0.759 1.1493 moveto + 0.7711 1.2061 lineto + 0.7843 1.2642 lineto + 0.7986 1.3236 lineto + 0.814 1.3844 lineto + %middle radial + 0.814 1.3844 lineto + 0.844 1.4958 lineto + 0.8603 1.5532 lineto + 0.8774 1.6119 lineto + %end radial + 0.8774 1.6119 lineto + 0.8292 1.6256 lineto + 0.7284 1.6512 lineto + 0.6215 1.674 lineto + 0.5085 1.6937 lineto + 0.4496 1.7023 lineto + %middle circumferential + 0.4496 1.7023 lineto + 0.344 1.7148 lineto + 0.2338 1.7241 lineto + 0.119 1.73 lineto + 0.06 1.7315 lineto + 0.0 1.7321 lineto + %end circumferential + 0.0 1.7321 lineto + 0.0 1.4791 lineto + %middle radial + 0.0 1.4791 lineto + 0.0 1.2114 lineto + %end radial + 0.0 1.2114 lineto + 0.1049 1.2105 lineto + 0.2058 1.2079 lineto + 0.3023 1.2037 lineto + 0.3941 1.1979 lineto + %middle circumferential + 0.3941 1.1979 lineto + 0.4944 1.189 lineto + 0.5885 1.1779 lineto + 0.6766 1.1646 lineto + 0.759 1.1493 lineto + %end circumferential + closepath +currentgray 0.866 setgray fill setgray +% Sector from 0.7854 to 1.1781 (quadrant 0) +newpath + 1.3532 0.9117 moveto + 1.4102 0.9943 lineto + 1.4732 1.0819 lineto + %middle radial + 1.4732 1.0819 lineto + 1.5343 1.1637 lineto + 1.6005 1.2496 lineto + %end radial + 1.6005 1.2496 lineto + 1.5289 1.3029 lineto + 1.4496 1.356 lineto + 1.3621 1.4087 lineto + 1.2654 1.4602 lineto + %middle circumferential + 1.2654 1.4602 lineto + 1.1793 1.501 lineto + 1.0861 1.5402 lineto + 0.9856 1.5773 lineto + 0.8774 1.6119 lineto + %end circumferential + 0.8774 1.6119 lineto + 0.8603 1.5532 lineto + 0.844 1.4958 lineto + 0.814 1.3844 lineto + %middle radial + 0.814 1.3844 lineto + 0.7986 1.3236 lineto + 0.7843 1.2642 lineto + 0.7711 1.2061 lineto + 0.759 1.1493 lineto + %end radial + 0.759 1.1493 lineto + 0.8496 1.1287 lineto + 0.9331 1.1059 lineto + 1.01 1.0811 lineto + 1.0807 1.0546 lineto + %middle circumferential + 1.0807 1.0546 lineto + 1.1597 1.0205 lineto + 1.231 0.985 lineto + 1.2953 0.9486 lineto + 1.3532 0.9117 lineto + %end circumferential + closepath +currentgray 0.9006666666666666 setgray fill setgray +% Sector from 0.3927 to 0.7854 (quadrant 0) +newpath + 1.7316 0.5038 moveto + 1.8118 0.5473 lineto + 1.899 0.5935 lineto + %middle radial + 1.899 0.5935 lineto + 1.9825 0.6368 lineto + 2.0722 0.6825 lineto + %end radial + 2.0722 0.6825 lineto + 2.0359 0.7503 lineto + 1.9916 0.8238 lineto + 1.9377 0.9027 lineto + 1.8721 0.987 lineto + %middle circumferential + 1.8721 0.987 lineto + 1.8173 1.0498 lineto + 1.7545 1.1148 lineto + 1.6826 1.1816 lineto + 1.6005 1.2496 lineto + %end circumferential + 1.6005 1.2496 lineto + 1.5343 1.1637 lineto + 1.4732 1.0819 lineto + %middle radial + 1.4732 1.0819 lineto + 1.4102 0.9943 lineto + 1.3532 0.9117 lineto + %end radial + 1.3532 0.9117 lineto + 1.4195 0.864 lineto + 1.4773 0.8167 lineto + 1.5277 0.7703 lineto + 1.5717 0.7252 lineto + %middle circumferential + 1.5717 0.7252 lineto + 1.6241 0.6643 lineto + 1.6672 0.607 lineto + 1.7026 0.5534 lineto + 1.7316 0.5038 lineto + %end circumferential + closepath +currentgray 0.9353333333333332 setgray fill setgray +% Sector from 0.0 to 0.3927 (quadrant 0) +newpath + 1.8621 0.0 moveto + 2.0464 0.0 lineto + %middle radial + 2.0464 0.0 lineto + 2.2361 0.0 lineto + %end radial + 2.2361 0.0 lineto + 2.2359 0.0197 lineto + 2.2338 0.0831 lineto + 2.2263 0.1706 lineto + 2.216 0.2441 lineto + 2.1948 0.3487 lineto + %middle circumferential + 2.1948 0.3487 lineto + 2.1778 0.4135 lineto + 2.1537 0.4896 lineto + 2.1199 0.5788 lineto + 2.0857 0.6551 lineto + 2.0722 0.6825 lineto + %end circumferential + 2.0722 0.6825 lineto + 1.9825 0.6368 lineto + 1.899 0.5935 lineto + %middle radial + 1.899 0.5935 lineto + 1.8118 0.5473 lineto + 1.7316 0.5038 lineto + %end radial + 1.7316 0.5038 lineto + 1.7522 0.4644 lineto + 1.7842 0.3936 lineto + 1.807 0.3329 lineto + 1.8293 0.2581 lineto + %middle circumferential + 1.8293 0.2581 lineto + 1.8461 0.1808 lineto + 1.8583 0.0882 lineto + 1.862 0.0146 lineto + 1.8621 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Annulus 3.0 3.1416 32 0.97 0.45 +% Sector from 6.0868 to 6.2832 (quadrant 3) +newpath + 3.1021 -0.5551 moveto + 3.168 -0.5695 lineto + %middle radial + 3.168 -0.5695 lineto + 3.2341 -0.5839 lineto + %end radial + 3.2341 -0.5839 lineto + 3.2487 -0.5122 lineto + 3.2614 -0.4398 lineto + 3.2723 -0.3669 lineto + 3.2812 -0.2934 lineto + %middle circumferential + 3.2812 -0.2934 lineto + 3.288 -0.2206 lineto + 3.2929 -0.1475 lineto + 3.2959 -0.0739 lineto + 3.2969 0.0 lineto + %end circumferential + 3.2969 0.0 lineto + 3.2295 0.0 lineto + %middle radial + 3.2295 0.0 lineto + 3.1623 0.0 lineto + %end radial + 3.1623 0.0 lineto + 3.1613 -0.0703 lineto + 3.1585 -0.1402 lineto + 3.1538 -0.2098 lineto + 3.1472 -0.2789 lineto + %middle circumferential + 3.1472 -0.2789 lineto + 3.1387 -0.3488 lineto + 3.1283 -0.4181 lineto + 3.1161 -0.4869 lineto + 3.1021 -0.5551 lineto + %end circumferential + closepath +currentgray 0.45 setgray fill setgray +% Sector from 5.8905 to 6.0868 (quadrant 3) +newpath + 2.9238 -1.0883 moveto + 2.9857 -1.1166 lineto + %middle radial + 2.9857 -1.1166 lineto + 3.0479 -1.1449 lineto + %end radial + 3.0479 -1.1449 lineto + 3.0775 -1.0772 lineto + 3.1055 -1.0086 lineto + 3.1317 -0.9391 lineto + 3.1561 -0.8687 lineto + %middle circumferential + 3.1561 -0.8687 lineto + 3.1783 -0.7986 lineto + 3.1988 -0.7278 lineto + 3.2174 -0.6562 lineto + 3.2341 -0.5839 lineto + %end circumferential + 3.2341 -0.5839 lineto + 3.168 -0.5695 lineto + %middle radial + 3.168 -0.5695 lineto + 3.1021 -0.5551 lineto + %end radial + 3.1021 -0.5551 lineto + 3.0861 -0.6238 lineto + 3.0683 -0.6919 lineto + 3.0487 -0.7592 lineto + 3.0274 -0.8258 lineto + %middle circumferential + 3.0274 -0.8258 lineto + 3.004 -0.8927 lineto + 2.9789 -0.9588 lineto + 2.9522 -1.024 lineto + 2.9238 -1.0883 lineto + %end circumferential + closepath +currentgray 0.4667741935483871 setgray fill setgray +% Sector from 5.6941 to 5.8905 (quadrant 3) +newpath + 2.6336 -1.5786 moveto + 2.6893 -1.6198 lineto + %middle radial + 2.6893 -1.6198 lineto + 2.7451 -1.6609 lineto + %end radial + 2.7451 -1.6609 lineto + 2.7887 -1.5999 lineto + 2.8308 -1.5377 lineto + 2.8714 -1.4744 lineto + 2.9105 -1.4098 lineto + %middle circumferential + 2.9105 -1.4098 lineto + 2.9473 -1.3452 lineto + 2.9825 -1.2795 lineto + 3.016 -1.2127 lineto + 3.0479 -1.1449 lineto + %end circumferential + 3.0479 -1.1449 lineto + 2.9857 -1.1166 lineto + %middle radial + 2.9857 -1.1166 lineto + 2.9238 -1.0883 lineto + %end radial + 2.9238 -1.0883 lineto + 2.8932 -1.1528 lineto + 2.8611 -1.2162 lineto + 2.8274 -1.2787 lineto + 2.7921 -1.3401 lineto + %middle circumferential + 2.7921 -1.3401 lineto + 2.7547 -1.4014 lineto + 2.7158 -1.4616 lineto + 2.6754 -1.5207 lineto + 2.6336 -1.5786 lineto + %end circumferential + closepath +currentgray 0.4835483870967742 setgray fill setgray +% Sector from 5.4978 to 5.6941 (quadrant 3) +newpath + 2.2423 -2.0069 moveto + 2.2894 -2.0594 lineto + %middle radial + 2.2894 -2.0594 lineto + 2.3367 -2.1119 lineto + %end radial + 2.3367 -2.1119 lineto + 2.3927 -2.06 lineto + 2.4474 -2.0067 lineto + 2.501 -1.9519 lineto + 2.5532 -1.8956 lineto + %middle circumferential + 2.5532 -1.8956 lineto + 2.6032 -1.839 lineto + 2.6519 -1.7809 lineto + 2.6992 -1.7216 lineto + 2.7451 -1.6609 lineto + %end circumferential + 2.7451 -1.6609 lineto + 2.6893 -1.6198 lineto + %middle radial + 2.6893 -1.6198 lineto + 2.6336 -1.5786 lineto + %end radial + 2.6336 -1.5786 lineto + 2.5897 -1.6363 lineto + 2.5444 -1.6927 lineto + 2.4977 -1.7478 lineto + 2.4498 -1.8016 lineto + %middle circumferential + 2.4498 -1.8016 lineto + 2.3997 -1.855 lineto + 2.3484 -1.907 lineto + 2.2959 -1.9577 lineto + 2.2423 -2.0069 lineto + %end circumferential + closepath +currentgray 0.5003225806451613 setgray fill setgray +% Sector from 5.3014 to 5.4978 (quadrant 3) +newpath + 1.7639 -2.357 moveto + 1.8008 -2.419 lineto + %middle radial + 1.8008 -2.419 lineto + 1.8378 -2.4808 lineto + %end radial + 1.8378 -2.4808 lineto + 1.904 -2.44 lineto + 1.9694 -2.3975 lineto + 2.0339 -2.3533 lineto + 2.0975 -2.3075 lineto + %middle circumferential + 2.0975 -2.3075 lineto + 2.1589 -2.261 lineto + 2.2192 -2.2129 lineto + 2.2785 -2.1631 lineto + 2.3367 -2.1119 lineto + %end circumferential + 2.3367 -2.1119 lineto + 2.2894 -2.0594 lineto + %middle radial + 2.2894 -2.0594 lineto + 2.2423 -2.0069 lineto + %end radial + 2.2423 -2.0069 lineto + 2.1865 -2.0556 lineto + 2.1297 -2.1027 lineto + 2.0718 -2.1484 lineto + 2.0129 -2.1926 lineto + %middle circumferential + 2.0129 -2.1926 lineto + 1.952 -2.2361 lineto + 1.8901 -2.278 lineto + 1.8274 -2.3183 lineto + 1.7639 -2.357 lineto + %end circumferential + closepath +currentgray 0.5170967741935484 setgray fill setgray +% Sector from 5.1051 to 5.3014 (quadrant 3) +newpath + 1.2164 -2.616 moveto + 1.2417 -2.6851 lineto + %middle radial + 1.2417 -2.6851 lineto + 1.2671 -2.754 lineto + %end radial + 1.2671 -2.754 lineto + 1.3411 -2.7256 lineto + 1.4146 -2.6955 lineto + 1.4877 -2.6637 lineto + 1.5601 -2.6301 lineto + %middle circumferential + 1.5601 -2.6301 lineto + 1.6306 -2.5953 lineto + 1.7004 -2.5589 lineto + 1.7695 -2.5207 lineto + 1.8378 -2.4808 lineto + %end circumferential + 1.8378 -2.4808 lineto + 1.8008 -2.419 lineto + %middle radial + 1.8008 -2.419 lineto + 1.7639 -2.357 lineto + %end radial + 1.7639 -2.357 lineto + 1.6984 -2.3948 lineto + 1.6321 -2.431 lineto + 1.5651 -2.4656 lineto + 1.4975 -2.4985 lineto + %middle circumferential + 1.4975 -2.4985 lineto + 1.428 -2.5304 lineto + 1.358 -2.5606 lineto + 1.2874 -2.5892 lineto + 1.2164 -2.616 lineto + %end circumferential + closepath +currentgray 0.5338709677419355 setgray fill setgray +% Sector from 4.9087 to 5.1051 (quadrant 3) +newpath + 0.6206 -2.7749 moveto + 0.6335 -2.8484 lineto + %middle radial + 0.6335 -2.8484 lineto + 0.6464 -2.9217 lineto + %end radial + 0.6464 -2.9217 lineto + 0.7253 -2.9068 lineto + 0.8041 -2.8902 lineto + 0.8829 -2.8717 lineto + 0.9615 -2.8514 lineto + %middle circumferential + 0.9615 -2.8514 lineto + 1.0383 -2.8298 lineto + 1.1149 -2.8063 lineto + 1.1912 -2.781 lineto + 1.2671 -2.754 lineto + %end circumferential + 1.2671 -2.754 lineto + 1.2417 -2.6851 lineto + %middle radial + 1.2417 -2.6851 lineto + 1.2164 -2.616 lineto + %end radial + 1.2164 -2.616 lineto + 1.1435 -2.6417 lineto + 1.0703 -2.6656 lineto + 0.9968 -2.6878 lineto + 0.9231 -2.7084 lineto + %middle circumferential + 0.9231 -2.7084 lineto + 0.8477 -2.7276 lineto + 0.7721 -2.7451 lineto + 0.6964 -2.7608 lineto + 0.6206 -2.7749 lineto + %end circumferential + closepath +currentgray 0.5506451612903226 setgray fill setgray +% Sector from 4.7124 to 4.9087 (quadrant 3) +newpath + 0.0 -2.8284 moveto + 0.0 -2.9034 lineto + %middle radial + 0.0 -2.9034 lineto + 0.0 -2.9782 lineto + %end radial + 0.0 -2.9782 lineto + 0.0807 -2.9773 lineto + 0.1618 -2.9747 lineto + 0.2432 -2.9703 lineto + 0.3248 -2.964 lineto + %middle circumferential + 0.3248 -2.964 lineto + 0.405 -2.9561 lineto + 0.4854 -2.9465 lineto + 0.5658 -2.935 lineto + 0.6464 -2.9217 lineto + %end circumferential + 0.6464 -2.9217 lineto + 0.6335 -2.8484 lineto + %middle radial + 0.6335 -2.8484 lineto + 0.6206 -2.7749 lineto + %end radial + 0.6206 -2.7749 lineto + 0.5433 -2.7875 lineto + 0.466 -2.7984 lineto + 0.3889 -2.8075 lineto + 0.3119 -2.815 lineto + %middle circumferential + 0.3119 -2.815 lineto + 0.2335 -2.8209 lineto + 0.1553 -2.8251 lineto + 0.0775 -2.8276 lineto + 0.0 -2.8284 lineto + %end circumferential + closepath +currentgray 0.5674193548387096 setgray fill setgray +% Sector from 4.516 to 4.7124 (quadrant 2) +newpath + 0.6206 2.7749 moveto + 0.6335 2.8484 lineto + %middle radial + 0.6335 2.8484 lineto + 0.6464 2.9217 lineto + %end radial + 0.6464 2.9217 lineto + 0.5671 2.9348 lineto + 0.4871 2.9462 lineto + 0.4063 2.956 lineto + 0.3248 2.964 lineto + %middle circumferential + 0.3248 2.964 lineto + 0.2444 2.9702 lineto + 0.1635 2.9746 lineto + 0.082 2.9773 lineto + 0.0 2.9782 lineto + %end circumferential + 0.0 2.9782 lineto + 0.0 2.9034 lineto + %middle radial + 0.0 2.9034 lineto + 0.0 2.8284 lineto + %end radial + 0.0 2.8284 lineto + 0.0787 2.8276 lineto + 0.157 2.825 lineto + 0.2347 2.8208 lineto + 0.3119 2.815 lineto + %middle circumferential + 0.3119 2.815 lineto + 0.3901 2.8074 lineto + 0.4676 2.7982 lineto + 0.5445 2.7873 lineto + 0.6206 2.7749 lineto + %end circumferential + closepath +currentgray 0.5841935483870968 setgray fill setgray +% Sector from 4.3197 to 4.516 (quadrant 2) +newpath + 1.2164 2.616 moveto + 1.2417 2.6851 lineto + %middle radial + 1.2417 2.6851 lineto + 1.2671 2.754 lineto + %end radial + 1.2671 2.754 lineto + 1.1924 2.7806 lineto + 1.1165 2.8058 lineto + 1.0395 2.8294 lineto + 0.9615 2.8514 lineto + %middle circumferential + 0.9615 2.8514 lineto + 0.8841 2.8714 lineto + 0.8058 2.8898 lineto + 0.7265 2.9066 lineto + 0.6464 2.9217 lineto + %end circumferential + 0.6464 2.9217 lineto + 0.6335 2.8484 lineto + %middle radial + 0.6335 2.8484 lineto + 0.6206 2.7749 lineto + %end radial + 0.6206 2.7749 lineto + 0.6975 2.7606 lineto + 0.7736 2.7447 lineto + 0.8488 2.7273 lineto + 0.9231 2.7084 lineto + %middle circumferential + 0.9231 2.7084 lineto + 0.998 2.6875 lineto + 1.0719 2.6651 lineto + 1.1447 2.6413 lineto + 1.2164 2.616 lineto + %end circumferential + closepath +currentgray 0.600967741935484 setgray fill setgray +% Sector from 4.1233 to 4.3197 (quadrant 2) +newpath + 1.7639 2.357 moveto + 1.8008 2.419 lineto + %middle radial + 1.8008 2.419 lineto + 1.8378 2.4808 lineto + %end radial + 1.8378 2.4808 lineto + 1.7705 2.5201 lineto + 1.7018 2.5581 lineto + 1.6317 2.5947 lineto + 1.5601 2.6301 lineto + %middle circumferential + 1.5601 2.6301 lineto + 1.4888 2.6632 lineto + 1.4162 2.6949 lineto + 1.3422 2.7252 lineto + 1.2671 2.754 lineto + %end circumferential + 1.2671 2.754 lineto + 1.2417 2.6851 lineto + %middle radial + 1.2417 2.6851 lineto + 1.2164 2.616 lineto + %end radial + 1.2164 2.616 lineto + 1.2885 2.5887 lineto + 1.3594 2.56 lineto + 1.4291 2.5299 lineto + 1.4975 2.4985 lineto + %middle circumferential + 1.4975 2.4985 lineto + 1.5662 2.4651 lineto + 1.6335 2.4303 lineto + 1.6994 2.3942 lineto + 1.7639 2.357 lineto + %end circumferential + closepath +currentgray 0.6177419354838709 setgray fill setgray +% Sector from 3.927 to 4.1233 (quadrant 2) +newpath + 2.2423 2.0069 moveto + 2.2894 2.0594 lineto + %middle radial + 2.2894 2.0594 lineto + 2.3367 2.1119 lineto + %end radial + 2.3367 2.1119 lineto + 2.2795 2.1623 lineto + 2.2205 2.2118 lineto + 2.1598 2.2602 lineto + 2.0975 2.3075 lineto + %middle circumferential + 2.0975 2.3075 lineto + 2.0349 2.3526 lineto + 1.9708 2.3966 lineto + 1.9051 2.4393 lineto + 1.8378 2.4808 lineto + %end circumferential + 1.8378 2.4808 lineto + 1.8008 2.419 lineto + %middle radial + 1.8008 2.419 lineto + 1.7639 2.357 lineto + %end radial + 1.7639 2.357 lineto + 1.8284 2.3176 lineto + 1.8915 2.2771 lineto + 1.953 2.2354 lineto + 2.0129 2.1926 lineto + %middle circumferential + 2.0129 2.1926 lineto + 2.0727 2.1477 lineto + 2.1309 2.1018 lineto + 2.1874 2.0548 lineto + 2.2423 2.0069 lineto + %end circumferential + closepath +currentgray 0.6345161290322581 setgray fill setgray +% Sector from 3.7306 to 3.927 (quadrant 2) +newpath + 2.6336 1.5786 moveto + 2.6893 1.6198 lineto + %middle radial + 2.6893 1.6198 lineto + 2.7451 1.6609 lineto + %end radial + 2.7451 1.6609 lineto + 2.7 1.7206 lineto + 2.653 1.7797 lineto + 2.6041 1.838 lineto + 2.5532 1.8956 lineto + %middle circumferential + 2.5532 1.8956 lineto + 2.5018 1.951 lineto + 2.4486 2.0055 lineto + 2.3936 2.0592 lineto + 2.3367 2.1119 lineto + %end circumferential + 2.3367 2.1119 lineto + 2.2894 2.0594 lineto + %middle radial + 2.2894 2.0594 lineto + 2.2423 2.0069 lineto + %end radial + 2.2423 2.0069 lineto + 2.2968 1.9569 lineto + 2.3495 1.9059 lineto + 2.4005 1.8542 lineto + 2.4498 1.8016 lineto + %middle circumferential + 2.4498 1.8016 lineto + 2.4985 1.7469 lineto + 2.5454 1.6914 lineto + 2.5904 1.6353 lineto + 2.6336 1.5786 lineto + %end circumferential + closepath +currentgray 0.6512903225806452 setgray fill setgray +% Sector from 3.5343 to 3.7306 (quadrant 2) +newpath + 2.9238 1.0883 moveto + 2.9857 1.1166 lineto + %middle radial + 2.9857 1.1166 lineto + 3.0479 1.1449 lineto + %end radial + 3.0479 1.1449 lineto + 3.0166 1.2116 lineto + 2.9832 1.278 lineto + 2.9479 1.3441 lineto + 2.9105 1.4098 lineto + %middle circumferential + 2.9105 1.4098 lineto + 2.8721 1.4733 lineto + 2.8317 1.5364 lineto + 2.7894 1.5989 lineto + 2.7451 1.6609 lineto + %end circumferential + 2.7451 1.6609 lineto + 2.6893 1.6198 lineto + %middle radial + 2.6893 1.6198 lineto + 2.6336 1.5786 lineto + %end radial + 2.6336 1.5786 lineto + 2.6761 1.5197 lineto + 2.7167 1.4603 lineto + 2.7553 1.4004 lineto + 2.7921 1.3401 lineto + %middle circumferential + 2.7921 1.3401 lineto + 2.8279 1.2776 lineto + 2.8618 1.2148 lineto + 2.8938 1.1517 lineto + 2.9238 1.0883 lineto + %end circumferential + closepath +currentgray 0.6680645161290323 setgray fill setgray +% Sector from 3.3379 to 3.5343 (quadrant 2) +newpath + 3.1021 0.5551 moveto + 3.168 0.5695 lineto + %middle radial + 3.168 0.5695 lineto + 3.2341 0.5839 lineto + %end radial + 3.2341 0.5839 lineto + 3.2177 0.655 lineto + 3.1992 0.7262 lineto + 3.1787 0.7974 lineto + 3.1561 0.8687 lineto + %middle circumferential + 3.1561 0.8687 lineto + 3.1321 0.9379 lineto + 3.1061 1.007 lineto + 3.078 1.0761 lineto + 3.0479 1.1449 lineto + %end circumferential + 3.0479 1.1449 lineto + 2.9857 1.1166 lineto + %middle radial + 2.9857 1.1166 lineto + 2.9238 1.0883 lineto + %end radial + 2.9238 1.0883 lineto + 2.9526 1.0229 lineto + 2.9795 0.9573 lineto + 3.0044 0.8916 lineto + 3.0274 0.8258 lineto + %middle circumferential + 3.0274 0.8258 lineto + 3.049 0.7581 lineto + 3.0687 0.6903 lineto + 3.0864 0.6227 lineto + 3.1021 0.5551 lineto + %end circumferential + closepath +currentgray 0.6848387096774193 setgray fill setgray +% Sector from 3.1416 to 3.3379 (quadrant 2) +newpath + 3.1623 0.0 moveto + 3.2295 0.0 lineto + %middle radial + 3.2295 0.0 lineto + 3.2969 0.0 lineto + %end radial + 3.2969 0.0 lineto + 3.2959 0.0726 lineto + 3.293 0.1458 lineto + 3.2881 0.2194 lineto + 3.2812 0.2934 lineto + %middle circumferential + 3.2812 0.2934 lineto + 3.2724 0.3656 lineto + 3.2617 0.4381 lineto + 3.2489 0.5109 lineto + 3.2341 0.5839 lineto + %end circumferential + 3.2341 0.5839 lineto + 3.168 0.5695 lineto + %middle radial + 3.168 0.5695 lineto + 3.1021 0.5551 lineto + %end radial + 3.1021 0.5551 lineto + 3.1163 0.4857 lineto + 3.1286 0.4165 lineto + 3.1388 0.3476 lineto + 3.1472 0.2789 lineto + %middle circumferential + 3.1472 0.2789 lineto + 3.1539 0.2086 lineto + 3.1586 0.1386 lineto + 3.1614 0.069 lineto + 3.1623 0.0 lineto + %end circumferential + closepath +currentgray 0.7016129032258065 setgray fill setgray +% Sector from 2.9452 to 3.1416 (quadrant 1) +newpath + 3.1021 -0.5551 moveto + 3.168 -0.5695 lineto + %middle radial + 3.168 -0.5695 lineto + 3.2341 -0.5839 lineto + %end radial + 3.2341 -0.5839 lineto + 3.2486 -0.5126 lineto + 3.2613 -0.4404 lineto + 3.2722 -0.3673 lineto + 3.2812 -0.2934 lineto + %middle circumferential + 3.2812 -0.2934 lineto + 3.288 -0.2211 lineto + 3.2929 -0.1481 lineto + 3.2959 -0.0743 lineto + 3.2969 0.0 lineto + %end circumferential + 3.2969 0.0 lineto + 3.2295 0.0 lineto + %middle radial + 3.2295 0.0 lineto + 3.1623 0.0 lineto + %end radial + 3.1623 0.0 lineto + 3.1613 -0.0707 lineto + 3.1584 -0.1408 lineto + 3.1537 -0.2102 lineto + 3.1472 -0.2789 lineto + %middle circumferential + 3.1472 -0.2789 lineto + 3.1386 -0.3492 lineto + 3.1282 -0.4187 lineto + 3.116 -0.4873 lineto + 3.1021 -0.5551 lineto + %end circumferential + closepath +currentgray 0.7183870967741936 setgray fill setgray +% Sector from 2.7489 to 2.9452 (quadrant 1) +newpath + 2.9238 -1.0883 moveto + 2.9857 -1.1166 lineto + %middle radial + 2.9857 -1.1166 lineto + 3.0479 -1.1449 lineto + %end radial + 3.0479 -1.1449 lineto + 3.0773 -1.0777 lineto + 3.1052 -1.0092 lineto + 3.1315 -0.9396 lineto + 3.1561 -0.8687 lineto + %middle circumferential + 3.1561 -0.8687 lineto + 3.1782 -0.7991 lineto + 3.1986 -0.7284 lineto + 3.2172 -0.6567 lineto + 3.2341 -0.5839 lineto + %end circumferential + 3.2341 -0.5839 lineto + 3.168 -0.5695 lineto + %middle radial + 3.168 -0.5695 lineto + 3.1021 -0.5551 lineto + %end radial + 3.1021 -0.5551 lineto + 3.086 -0.6243 lineto + 3.0681 -0.6925 lineto + 3.0486 -0.7597 lineto + 3.0274 -0.8258 lineto + %middle circumferential + 3.0274 -0.8258 lineto + 3.0039 -0.8932 lineto + 2.9787 -0.9594 lineto + 2.952 -1.0245 lineto + 2.9238 -1.0883 lineto + %end circumferential + closepath +currentgray 0.7351612903225806 setgray fill setgray +% Sector from 2.5525 to 2.7489 (quadrant 1) +newpath + 2.6336 -1.5786 moveto + 2.6893 -1.6198 lineto + %middle radial + 2.6893 -1.6198 lineto + 2.7451 -1.6609 lineto + %end radial + 2.7451 -1.6609 lineto + 2.7883 -1.6004 lineto + 2.8304 -1.5384 lineto + 2.8711 -1.4749 lineto + 2.9105 -1.4098 lineto + %middle circumferential + 2.9105 -1.4098 lineto + 2.947 -1.3457 lineto + 2.9821 -1.2801 lineto + 3.0158 -1.2132 lineto + 3.0479 -1.1449 lineto + %end circumferential + 3.0479 -1.1449 lineto + 2.9857 -1.1166 lineto + %middle radial + 2.9857 -1.1166 lineto + 2.9238 -1.0883 lineto + %end radial + 2.9238 -1.0883 lineto + 2.893 -1.1532 lineto + 2.8608 -1.2168 lineto + 2.8271 -1.2791 lineto + 2.7921 -1.3401 lineto + %middle circumferential + 2.7921 -1.3401 lineto + 2.7544 -1.4019 lineto + 2.7154 -1.4623 lineto + 2.6751 -1.5212 lineto + 2.6336 -1.5786 lineto + %end circumferential + closepath +currentgray 0.7519354838709679 setgray fill setgray +% Sector from 2.3562 to 2.5525 (quadrant 1) +newpath + 2.2423 -2.0069 moveto + 2.2894 -2.0594 lineto + %middle radial + 2.2894 -2.0594 lineto + 2.3367 -2.1119 lineto + %end radial + 2.3367 -2.1119 lineto + 2.3922 -2.0605 lineto + 2.4468 -2.0073 lineto + 2.5005 -1.9524 lineto + 2.5532 -1.8956 lineto + %middle circumferential + 2.5532 -1.8956 lineto + 2.6028 -1.8394 lineto + 2.6514 -1.7816 lineto + 2.6988 -1.7221 lineto + 2.7451 -1.6609 lineto + %end circumferential + 2.7451 -1.6609 lineto + 2.6893 -1.6198 lineto + %middle radial + 2.6893 -1.6198 lineto + 2.6336 -1.5786 lineto + %end radial + 2.6336 -1.5786 lineto + 2.5893 -1.6367 lineto + 2.5439 -1.6933 lineto + 2.4974 -1.7482 lineto + 2.4498 -1.8016 lineto + %middle circumferential + 2.4498 -1.8016 lineto + 2.3993 -1.8555 lineto + 2.3478 -1.9076 lineto + 2.2954 -1.9581 lineto + 2.2423 -2.0069 lineto + %end circumferential + closepath +currentgray 0.7687096774193548 setgray fill setgray +% Sector from 2.1598 to 2.3562 (quadrant 1) +newpath + 1.7639 -2.357 moveto + 1.8008 -2.419 lineto + %middle radial + 1.8008 -2.419 lineto + 1.8378 -2.4808 lineto + %end radial + 1.8378 -2.4808 lineto + 1.9034 -2.4404 lineto + 1.9686 -2.398 lineto + 2.0333 -2.3538 lineto + 2.0975 -2.3075 lineto + %middle circumferential + 2.0975 -2.3075 lineto + 2.1583 -2.2614 lineto + 2.2185 -2.2135 lineto + 2.278 -2.1636 lineto + 2.3367 -2.1119 lineto + %end circumferential + 2.3367 -2.1119 lineto + 2.2894 -2.0594 lineto + %middle radial + 2.2894 -2.0594 lineto + 2.2423 -2.0069 lineto + %end radial + 2.2423 -2.0069 lineto + 2.186 -2.056 lineto + 2.129 -2.1033 lineto + 2.0712 -2.1488 lineto + 2.0129 -2.1926 lineto + %middle circumferential + 2.0129 -2.1926 lineto + 1.9514 -2.2365 lineto + 1.8893 -2.2785 lineto + 1.8268 -2.3186 lineto + 1.7639 -2.357 lineto + %end circumferential + closepath +currentgray 0.7854838709677419 setgray fill setgray +% Sector from 1.9635 to 2.1598 (quadrant 1) +newpath + 1.2164 -2.616 moveto + 1.2417 -2.6851 lineto + %middle radial + 1.2417 -2.6851 lineto + 1.2671 -2.754 lineto + %end radial + 1.2671 -2.754 lineto + 1.3403 -2.726 lineto + 1.4135 -2.696 lineto + 1.4868 -2.664 lineto + 1.5601 -2.6301 lineto + %middle circumferential + 1.5601 -2.6301 lineto + 1.6298 -2.5957 lineto + 1.6994 -2.5594 lineto + 1.7687 -2.5211 lineto + 1.8378 -2.4808 lineto + %end circumferential + 1.8378 -2.4808 lineto + 1.8008 -2.419 lineto + %middle radial + 1.8008 -2.419 lineto + 1.7639 -2.357 lineto + %end radial + 1.7639 -2.357 lineto + 1.6977 -2.3952 lineto + 1.6312 -2.4315 lineto + 1.5644 -2.466 lineto + 1.4975 -2.4985 lineto + %middle circumferential + 1.4975 -2.4985 lineto + 1.4272 -2.5308 lineto + 1.3569 -2.5611 lineto + 1.2866 -2.5895 lineto + 1.2164 -2.616 lineto + %end circumferential + closepath +currentgray 0.802258064516129 setgray fill setgray +% Sector from 1.7671 to 1.9635 (quadrant 1) +newpath + 0.6206 -2.7749 moveto + 0.6335 -2.8484 lineto + %middle radial + 0.6335 -2.8484 lineto + 0.6464 -2.9217 lineto + %end radial + 0.6464 -2.9217 lineto + 0.7243 -2.907 lineto + 0.8028 -2.8905 lineto + 0.8819 -2.872 lineto + 0.9615 -2.8514 lineto + %middle circumferential + 0.9615 -2.8514 lineto + 1.0374 -2.83 lineto + 1.1137 -2.8067 lineto + 1.1903 -2.7813 lineto + 1.2671 -2.754 lineto + %end circumferential + 1.2671 -2.754 lineto + 1.2417 -2.6851 lineto + %middle radial + 1.2417 -2.6851 lineto + 1.2164 -2.616 lineto + %end radial + 1.2164 -2.616 lineto + 1.1427 -2.642 lineto + 1.0692 -2.666 lineto + 0.996 -2.6881 lineto + 0.9231 -2.7084 lineto + %middle circumferential + 0.9231 -2.7084 lineto + 0.8467 -2.7278 lineto + 0.7708 -2.7454 lineto + 0.6954 -2.761 lineto + 0.6206 -2.7749 lineto + %end circumferential + closepath +currentgray 0.8190322580645162 setgray fill setgray +% Sector from 1.5708 to 1.7671 (quadrant 1) +newpath + 0.0 -2.8284 moveto + 0.0 -2.9034 lineto + %middle radial + 0.0 -2.9034 lineto + 0.0 -2.9782 lineto + %end radial + 0.0 -2.9782 lineto + 0.0795 -2.9773 lineto + 0.1601 -2.9748 lineto + 0.2419 -2.9703 lineto + 0.3248 -2.964 lineto + %middle circumferential + 0.3248 -2.964 lineto + 0.4039 -2.9563 lineto + 0.4839 -2.9467 lineto + 0.5647 -2.9351 lineto + 0.6464 -2.9217 lineto + %end circumferential + 0.6464 -2.9217 lineto + 0.6335 -2.8484 lineto + %middle radial + 0.6335 -2.8484 lineto + 0.6206 -2.7749 lineto + %end radial + 0.6206 -2.7749 lineto + 0.5422 -2.7877 lineto + 0.4646 -2.7986 lineto + 0.3878 -2.8077 lineto + 0.3119 -2.815 lineto + %middle circumferential + 0.3119 -2.815 lineto + 0.2323 -2.821 lineto + 0.1538 -2.8252 lineto + 0.0763 -2.8276 lineto + 0.0 -2.8284 lineto + %end circumferential + closepath +currentgray 0.8358064516129032 setgray fill setgray +% Sector from 1.3744 to 1.5708 (quadrant 0) +newpath + 0.6206 2.7749 moveto + 0.6335 2.8484 lineto + %middle radial + 0.6335 2.8484 lineto + 0.6464 2.9217 lineto + %end radial + 0.6464 2.9217 lineto + 0.5685 2.9346 lineto + 0.489 2.946 lineto + 0.4077 2.9558 lineto + 0.3248 2.964 lineto + %middle circumferential + 0.3248 2.964 lineto + 0.2457 2.9701 lineto + 0.1652 2.9745 lineto + 0.0833 2.9773 lineto + 0.0 2.9782 lineto + %end circumferential + 0.0 2.9782 lineto + 0.0 2.9034 lineto + %middle radial + 0.0 2.9034 lineto + 0.0 2.8284 lineto + %end radial + 0.0 2.8284 lineto + 0.08 2.8275 lineto + 0.1586 2.825 lineto + 0.2359 2.8208 lineto + 0.3119 2.815 lineto + %middle circumferential + 0.3119 2.815 lineto + 0.3915 2.8073 lineto + 0.4695 2.7979 lineto + 0.5459 2.7871 lineto + 0.6206 2.7749 lineto + %end circumferential + closepath +currentgray 0.8525806451612903 setgray fill setgray +% Sector from 1.1781 to 1.3744 (quadrant 0) +newpath + 1.2164 2.616 moveto + 1.2417 2.6851 lineto + %middle radial + 1.2417 2.6851 lineto + 1.2671 2.754 lineto + %end radial + 1.2671 2.754 lineto + 1.194 2.7801 lineto + 1.1187 2.8051 lineto + 1.0412 2.8289 lineto + 0.9615 2.8514 lineto + %middle circumferential + 0.9615 2.8514 lineto + 0.8856 2.871 lineto + 0.8078 2.8894 lineto + 0.7281 2.9063 lineto + 0.6464 2.9217 lineto + %end circumferential + 0.6464 2.9217 lineto + 0.6335 2.8484 lineto + %middle radial + 0.6335 2.8484 lineto + 0.6206 2.7749 lineto + %end radial + 0.6206 2.7749 lineto + 0.699 2.7603 lineto + 0.7756 2.7443 lineto + 0.8503 2.727 lineto + 0.9231 2.7084 lineto + %middle circumferential + 0.9231 2.7084 lineto + 0.9996 2.687 lineto + 1.074 2.6645 lineto + 1.1462 2.6407 lineto + 1.2164 2.616 lineto + %end circumferential + closepath +currentgray 0.8693548387096775 setgray fill setgray +% Sector from 0.9817 to 1.1781 (quadrant 0) +newpath + 1.7639 2.357 moveto + 1.8008 2.419 lineto + %middle radial + 1.8008 2.419 lineto + 1.8378 2.4808 lineto + %end radial + 1.8378 2.4808 lineto + 1.7724 2.519 lineto + 1.7043 2.5567 lineto + 1.6336 2.5938 lineto + 1.5601 2.6301 lineto + %middle circumferential + 1.5601 2.6301 lineto + 1.4905 2.6624 lineto + 1.4185 2.6939 lineto + 1.344 2.7245 lineto + 1.2671 2.754 lineto + %end circumferential + 1.2671 2.754 lineto + 1.2417 2.6851 lineto + %middle radial + 1.2417 2.6851 lineto + 1.2164 2.616 lineto + %end radial + 1.2164 2.616 lineto + 1.2902 2.588 lineto + 1.3617 2.5591 lineto + 1.4308 2.5292 lineto + 1.4975 2.4985 lineto + %middle circumferential + 1.4975 2.4985 lineto + 1.568 2.4641 lineto + 1.6359 2.429 lineto + 1.7011 2.3933 lineto + 1.7639 2.357 lineto + %end circumferential + closepath +currentgray 0.8861290322580645 setgray fill setgray +% Sector from 0.7854 to 0.9817 (quadrant 0) +newpath + 2.2423 2.0069 moveto + 2.2894 2.0594 lineto + %middle radial + 2.2894 2.0594 lineto + 2.3367 2.1119 lineto + %end radial + 2.3367 2.1119 lineto + 2.2815 2.1606 lineto + 2.2233 2.2095 lineto + 2.162 2.2585 lineto + 2.0975 2.3075 lineto + %middle circumferential + 2.0975 2.3075 lineto + 2.0369 2.3513 lineto + 1.9734 2.3948 lineto + 1.9071 2.438 lineto + 1.8378 2.4808 lineto + %end circumferential + 1.8378 2.4808 lineto + 1.8008 2.419 lineto + %middle radial + 1.8008 2.419 lineto + 1.7639 2.357 lineto + %end radial + 1.7639 2.357 lineto + 1.8304 2.3164 lineto + 1.894 2.2754 lineto + 1.9548 2.2341 lineto + 2.0129 2.1926 lineto + %middle circumferential + 2.0129 2.1926 lineto + 2.0748 2.1461 lineto + 2.1335 2.0996 lineto + 2.1893 2.0532 lineto + 2.2423 2.0069 lineto + %end circumferential + closepath +currentgray 0.9029032258064516 setgray fill setgray +% Sector from 0.589 to 0.7854 (quadrant 0) +newpath + 2.6336 1.5786 moveto + 2.6893 1.6198 lineto + %middle radial + 2.6893 1.6198 lineto + 2.7451 1.6609 lineto + %end radial + 2.7451 1.6609 lineto + 2.7022 1.7178 lineto + 2.656 1.7759 lineto + 2.6065 1.8352 lineto + 2.5532 1.8956 lineto + %middle circumferential + 2.5532 1.8956 lineto + 2.5039 1.9488 lineto + 2.4515 2.0026 lineto + 2.3958 2.057 lineto + 2.3367 2.1119 lineto + %end circumferential + 2.3367 2.1119 lineto + 2.2894 2.0594 lineto + %middle radial + 2.2894 2.0594 lineto + 2.2423 2.0069 lineto + %end radial + 2.2423 2.0069 lineto + 2.299 1.9548 lineto + 2.3523 1.9032 lineto + 2.4026 1.8521 lineto + 2.4498 1.8016 lineto + %middle circumferential + 2.4498 1.8016 lineto + 2.5008 1.7442 lineto + 2.5483 1.6879 lineto + 2.5925 1.6326 lineto + 2.6336 1.5786 lineto + %end circumferential + closepath +currentgray 0.9196774193548387 setgray fill setgray +% Sector from 0.3927 to 0.589 (quadrant 0) +newpath + 2.9238 1.0883 moveto + 2.9857 1.1166 lineto + %middle radial + 2.9857 1.1166 lineto + 3.0479 1.1449 lineto + %end radial + 3.0479 1.1449 lineto + 3.0189 1.2068 lineto + 2.9866 1.2715 lineto + 2.9506 1.3392 lineto + 2.9105 1.4098 lineto + %middle circumferential + 2.9105 1.4098 lineto + 2.8743 1.4697 lineto + 2.8349 1.5315 lineto + 2.7919 1.5952 lineto + 2.7451 1.6609 lineto + %end circumferential + 2.7451 1.6609 lineto + 2.6893 1.6198 lineto + %middle radial + 2.6893 1.6198 lineto + 2.6336 1.5786 lineto + %end radial + 2.6336 1.5786 lineto + 2.6786 1.5163 lineto + 2.7198 1.4557 lineto + 2.7575 1.397 lineto + 2.7921 1.3401 lineto + %middle circumferential + 2.7921 1.3401 lineto + 2.8305 1.273 lineto + 2.865 1.2087 lineto + 2.896 1.1471 lineto + 2.9238 1.0883 lineto + %end circumferential + closepath +currentgray 0.9364516129032258 setgray fill setgray +% Sector from 0.1963 to 0.3927 (quadrant 0) +newpath + 3.1021 0.5551 moveto + 3.168 0.5695 lineto + %middle radial + 3.168 0.5695 lineto + 3.2341 0.5839 lineto + %end radial + 3.2341 0.5839 lineto + 3.22 0.6453 lineto + 3.2028 0.7128 lineto + 3.1818 0.7871 lineto + 3.1561 0.8687 lineto + %middle circumferential + 3.1561 0.8687 lineto + 3.1345 0.9313 lineto + 3.1096 0.9981 lineto + 3.0809 1.0692 lineto + 3.0479 1.1449 lineto + %end circumferential + 3.0479 1.1449 lineto + 2.9857 1.1166 lineto + %middle radial + 2.9857 1.1166 lineto + 2.9238 1.0883 lineto + %end radial + 2.9238 1.0883 lineto + 2.9554 1.0164 lineto + 2.9829 0.9488 lineto + 3.0067 0.8853 lineto + 3.0274 0.8258 lineto + %middle circumferential + 3.0274 0.8258 lineto + 3.052 0.7483 lineto + 3.0722 0.6776 lineto + 3.0886 0.6134 lineto + 3.1021 0.5551 lineto + %end circumferential + closepath +currentgray 0.9532258064516128 setgray fill setgray +% Sector from 0.0 to 0.1963 (quadrant 0) +newpath + 3.1623 0.0 moveto + 3.2295 0.0 lineto + %middle radial + 3.2295 0.0 lineto + 3.2969 0.0 lineto + %end radial + 3.2969 0.0 lineto + 3.296 0.0699 lineto + 3.2932 0.1433 lineto + 3.2892 0.2051 lineto + 3.2812 0.2934 lineto + %middle circumferential + 3.2812 0.2934 lineto + 3.2704 0.3801 lineto + 3.2595 0.4515 lineto + 3.2441 0.536 lineto + 3.2341 0.5839 lineto + %end circumferential + 3.2341 0.5839 lineto + 3.168 0.5695 lineto + %middle radial + 3.168 0.5695 lineto + 3.1021 0.5551 lineto + %end radial + 3.1021 0.5551 lineto + 3.1117 0.5096 lineto + 3.1265 0.4292 lineto + 3.1369 0.3613 lineto + 3.1472 0.2789 lineto + %middle circumferential + 3.1472 0.2789 lineto + 3.1549 0.195 lineto + 3.1587 0.1362 lineto + 3.1614 0.0665 lineto + 3.1623 0.0 lineto + %end circumferential + closepath +currentgray 0.97 setgray fill setgray +% Horizontal line from (0.5, 0.0) to (0.0, 0.0) +newpath + 1.118 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.5, 0.0) to (1.0, 0.0) +newpath + 1.118 0.0 moveto + 1.4142 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.0, 0.0) +newpath + 2.2361 0.0 moveto + 1.4142 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 0.0) to (1.1579208923731617E77, 0.0) +newpath + 2.2361 0.0 moveto + 6.3743 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (0.0, 1.0) +newpath + 2.1974 0.9102 moveto + 2.1139 0.904 lineto + 2.0343 0.8974 lineto + 1.9585 0.8906 lineto + 1.8862 0.8835 lineto + 1.8173 0.8761 lineto + 1.7517 0.8684 lineto + 1.689 0.8605 lineto + 1.6293 0.8523 lineto + 1.5179 0.8351 lineto + 1.4164 0.8169 lineto + 1.3237 0.7979 lineto + 1.239 0.7782 lineto + 1.1614 0.7578 lineto + 1.0901 0.7369 lineto + 1.0247 0.7157 lineto + 0.9643 0.6941 lineto + 0.9086 0.6725 lineto + 0.8093 0.6291 lineto + 0.7236 0.5862 lineto + 0.6492 0.5445 lineto + 0.584 0.5043 lineto + 0.5267 0.466 lineto + 0.4759 0.4297 lineto + 0.41 0.3794 lineto + 0.3376 0.3199 lineto + 0.279 0.2687 lineto + 0.2312 0.2252 lineto + 0.1594 0.1574 lineto + 0.1103 0.1097 lineto + 0.0368 0.0368 lineto + 0.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, 1.0) to (1.1579208923731617E77, 1.0) +newpath + 2.1974 0.9102 moveto + 2.2699 0.9151 lineto + 2.3454 0.9199 lineto + 2.4241 0.9244 lineto + 2.5059 0.9288 lineto + 2.5911 0.9329 lineto + 2.6799 0.9369 lineto + 2.7722 0.9407 lineto + 2.8684 0.9443 lineto + 2.9685 0.9477 lineto + 3.0727 0.9509 lineto + 3.1811 0.954 lineto + 3.294 0.9569 lineto + 3.3817 0.959 lineto + 3.4416 0.9603 lineto + 3.5027 0.9616 lineto + 3.5651 0.9628 lineto + 3.6287 0.9641 lineto + 3.6936 0.9652 lineto + 3.7597 0.9664 lineto + 3.8273 0.9675 lineto + 3.8961 0.9686 lineto + 3.9664 0.9697 lineto + 4.038 0.9707 lineto + 4.1111 0.9717 lineto + 4.1856 0.9726 lineto + 4.2616 0.9736 lineto + 4.3391 0.9745 lineto + 4.4182 0.9753 lineto + 4.4988 0.9762 lineto + 4.5811 0.977 lineto + 4.6649 0.9778 lineto + 4.7505 0.9786 lineto + 4.8377 0.9793 lineto + 4.9267 0.98 lineto + 5.0174 0.9807 lineto + 5.1099 0.9814 lineto + 5.2042 0.982 lineto + 5.3004 0.9827 lineto + 5.3984 0.9833 lineto + 5.4984 0.9839 lineto + 5.6004 0.9844 lineto + 5.7044 0.985 lineto + 5.8104 0.9855 lineto + 5.9185 0.986 lineto + 6.0287 0.9865 lineto + 6.1411 0.987 lineto + 6.2556 0.9875 lineto + 6.3748 0.9276 lineto + 6.378103166302659 0.2839 lineto + 6.378103166302659 1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (0.0, -1.0) +newpath + 2.1974 -0.9102 moveto + 2.1139 -0.904 lineto + 2.0343 -0.8974 lineto + 1.9585 -0.8906 lineto + 1.8862 -0.8835 lineto + 1.8173 -0.8761 lineto + 1.7517 -0.8684 lineto + 1.689 -0.8605 lineto + 1.6293 -0.8523 lineto + 1.5179 -0.8351 lineto + 1.4164 -0.8169 lineto + 1.3237 -0.7979 lineto + 1.239 -0.7782 lineto + 1.1614 -0.7578 lineto + 1.0901 -0.7369 lineto + 1.0247 -0.7157 lineto + 0.9643 -0.6941 lineto + 0.9086 -0.6725 lineto + 0.8093 -0.6291 lineto + 0.7236 -0.5862 lineto + 0.6492 -0.5445 lineto + 0.584 -0.5043 lineto + 0.5267 -0.466 lineto + 0.4759 -0.4297 lineto + 0.41 -0.3794 lineto + 0.3376 -0.3199 lineto + 0.279 -0.2687 lineto + 0.2312 -0.2252 lineto + 0.1594 -0.1574 lineto + 0.1103 -0.1097 lineto + 0.0368 -0.0368 lineto + 0.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (2.0, -1.0) to (1.1579208923731617E77, -1.0) +newpath + 2.1974 -0.9102 moveto + 2.2699 -0.9151 lineto + 2.3454 -0.9199 lineto + 2.4241 -0.9244 lineto + 2.5059 -0.9288 lineto + 2.5911 -0.9329 lineto + 2.6799 -0.9369 lineto + 2.7722 -0.9407 lineto + 2.8684 -0.9443 lineto + 2.9685 -0.9477 lineto + 3.0727 -0.9509 lineto + 3.1811 -0.954 lineto + 3.294 -0.9569 lineto + 3.3817 -0.959 lineto + 3.4416 -0.9603 lineto + 3.5027 -0.9616 lineto + 3.5651 -0.9628 lineto + 3.6287 -0.9641 lineto + 3.6936 -0.9652 lineto + 3.7597 -0.9664 lineto + 3.8273 -0.9675 lineto + 3.8961 -0.9686 lineto + 3.9664 -0.9697 lineto + 4.038 -0.9707 lineto + 4.1111 -0.9717 lineto + 4.1856 -0.9726 lineto + 4.2616 -0.9736 lineto + 4.3391 -0.9745 lineto + 4.4182 -0.9753 lineto + 4.4988 -0.9762 lineto + 4.5811 -0.977 lineto + 4.6649 -0.9778 lineto + 4.7505 -0.9786 lineto + 4.8377 -0.9793 lineto + 4.9267 -0.98 lineto + 5.0174 -0.9807 lineto + 5.1099 -0.9814 lineto + 5.2042 -0.982 lineto + 5.3004 -0.9827 lineto + 5.3984 -0.9833 lineto + 5.4984 -0.9839 lineto + 5.6004 -0.9844 lineto + 5.7044 -0.985 lineto + 5.8104 -0.9855 lineto + 5.9185 -0.986 lineto + 6.0287 -0.9865 lineto + 6.1411 -0.987 lineto + 6.2556 -0.9875 lineto + 6.3748 -0.9276 lineto + 6.378103166302659 -0.2839 lineto + 6.378103166302659 -1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (1.1579208923731617E77, 2.0) +newpath + 0.0 1.7321 moveto + 0.0784 1.7325 lineto + 0.1655 1.734 lineto + 0.2404 1.7362 lineto + 0.3177 1.7391 lineto + 0.3825 1.7422 lineto + 0.46 1.7465 lineto + 0.5529 1.7524 lineto + 0.6636 1.7604 lineto + 0.7267 1.7654 lineto + 0.7954 1.771 lineto + 0.8703 1.7774 lineto + 0.9519 1.7846 lineto + 1.0406 1.7925 lineto + 1.1886 1.8058 lineto + 1.2982 1.8156 lineto + 1.3565 1.8207 lineto + 1.4174 1.826 lineto + 1.4809 1.8314 lineto + 1.5472 1.837 lineto + 1.6163 1.8426 lineto + 1.6885 1.8483 lineto + 1.7639 1.8541 lineto + 1.8426 1.8599 lineto + 1.9249 1.8657 lineto + 2.0108 1.8715 lineto + 2.1006 1.8774 lineto + 2.1944 1.8832 lineto + 2.2926 1.8889 lineto + 2.3952 1.8945 lineto + 2.5027 1.9001 lineto + 2.6151 1.9055 lineto + 2.7028 1.9095 lineto + 2.763 1.9121 lineto + 2.8246 1.9147 lineto + 2.8876 1.9172 lineto + 2.9521 1.9197 lineto + 3.0181 1.9222 lineto + 3.0857 1.9246 lineto + 3.1548 1.927 lineto + 3.2256 1.9293 lineto + 3.298 1.9316 lineto + 3.3722 1.9339 lineto + 3.4481 1.936 lineto + 3.5258 1.9382 lineto + 3.6054 1.9403 lineto + 3.6869 1.9423 lineto + 3.7703 1.9443 lineto + 3.8556 1.9463 lineto + 3.9431 1.9482 lineto + 4.0326 1.95 lineto + 4.1242 1.9518 lineto + 4.2181 1.9536 lineto + 4.3141 1.9553 lineto + 4.4125 1.9569 lineto + 4.5133 1.9585 lineto + 4.6164 1.9601 lineto + 4.7221 1.9616 lineto + 4.8302 1.9631 lineto + 4.941 1.9645 lineto + 5.0544 1.9659 lineto + 5.1706 1.9672 lineto + 5.2895 1.9685 lineto + 5.4113 1.9697 lineto + 5.536 1.9709 lineto + 5.6637 1.9721 lineto + 5.7945 1.9732 lineto + 5.9284 1.9743 lineto + 6.031 1.9751 lineto + 6.1318 1.9747 lineto + 6.3657 0.9877 lineto + 6.378103166302659 2.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (1.1579208923731617E77, -2.0) +newpath + 0.0 -1.7321 moveto + 0.0784 -1.7325 lineto + 0.1655 -1.734 lineto + 0.2404 -1.7362 lineto + 0.3177 -1.7391 lineto + 0.3825 -1.7422 lineto + 0.46 -1.7465 lineto + 0.5529 -1.7524 lineto + 0.6636 -1.7604 lineto + 0.7267 -1.7654 lineto + 0.7954 -1.771 lineto + 0.8703 -1.7774 lineto + 0.9519 -1.7846 lineto + 1.0406 -1.7925 lineto + 1.1886 -1.8058 lineto + 1.2982 -1.8156 lineto + 1.3565 -1.8207 lineto + 1.4174 -1.826 lineto + 1.4809 -1.8314 lineto + 1.5472 -1.837 lineto + 1.6163 -1.8426 lineto + 1.6885 -1.8483 lineto + 1.7639 -1.8541 lineto + 1.8426 -1.8599 lineto + 1.9249 -1.8657 lineto + 2.0108 -1.8715 lineto + 2.1006 -1.8774 lineto + 2.1944 -1.8832 lineto + 2.2926 -1.8889 lineto + 2.3952 -1.8945 lineto + 2.5027 -1.9001 lineto + 2.6151 -1.9055 lineto + 2.7028 -1.9095 lineto + 2.763 -1.9121 lineto + 2.8246 -1.9147 lineto + 2.8876 -1.9172 lineto + 2.9521 -1.9197 lineto + 3.0181 -1.9222 lineto + 3.0857 -1.9246 lineto + 3.1548 -1.927 lineto + 3.2256 -1.9293 lineto + 3.298 -1.9316 lineto + 3.3722 -1.9339 lineto + 3.4481 -1.936 lineto + 3.5258 -1.9382 lineto + 3.6054 -1.9403 lineto + 3.6869 -1.9423 lineto + 3.7703 -1.9443 lineto + 3.8556 -1.9463 lineto + 3.9431 -1.9482 lineto + 4.0326 -1.95 lineto + 4.1242 -1.9518 lineto + 4.2181 -1.9536 lineto + 4.3141 -1.9553 lineto + 4.4125 -1.9569 lineto + 4.5133 -1.9585 lineto + 4.6164 -1.9601 lineto + 4.7221 -1.9616 lineto + 4.8302 -1.9631 lineto + 4.941 -1.9645 lineto + 5.0544 -1.9659 lineto + 5.1706 -1.9672 lineto + 5.2895 -1.9685 lineto + 5.4113 -1.9697 lineto + 5.536 -1.9709 lineto + 5.6637 -1.9721 lineto + 5.7945 -1.9732 lineto + 5.9284 -1.9743 lineto + 6.031 -1.9751 lineto + 6.1318 -1.9747 lineto + 6.3657 -0.9877 lineto + 6.378103166302659 -2.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (1.1579208923731617E77, 3.0) +newpath + 0.0 2.8284 moveto + 0.072 2.8285 lineto + 0.1522 2.8289 lineto + 0.2212 2.8294 lineto + 0.3216 2.8304 lineto + 0.3876 2.8313 lineto + 0.4672 2.8326 lineto + 0.563 2.8344 lineto + 0.6474 2.8363 lineto + 0.7106 2.8378 lineto + 0.7798 2.8396 lineto + 0.8557 2.8417 lineto + 0.9388 2.8442 lineto + 1.0299 2.847 lineto + 1.1296 2.8503 lineto + 1.2387 2.8541 lineto + 1.3273 2.8572 lineto + 1.4221 2.8607 lineto + 1.5235 2.8644 lineto + 1.8298 2.876 lineto + 1.9595 2.8808 lineto + 2.0509 2.8842 lineto + 2.1466 2.8877 lineto + 2.2466 2.8912 lineto + 2.3513 2.8949 lineto + 2.4607 2.8987 lineto + 2.5752 2.9025 lineto + 2.6646 2.9053 lineto + 2.757 2.9082 lineto + 2.8526 2.9112 lineto + 2.9182 2.9131 lineto + 2.9852 2.9151 lineto + 3.0539 2.917 lineto + 3.1241 2.9189 lineto + 3.1959 2.9209 lineto + 3.2694 2.9228 lineto + 3.3446 2.9247 lineto + 3.4215 2.9267 lineto + 3.5002 2.9286 lineto + 3.5808 2.9305 lineto + 3.6632 2.9323 lineto + 3.7475 2.9342 lineto + 3.8338 2.936 lineto + 3.9221 2.9378 lineto + 4.0125 2.9396 lineto + 4.105 2.9414 lineto + 4.1997 2.9432 lineto + 4.2966 2.9449 lineto + 4.3958 2.9466 lineto + 4.4973 2.9482 lineto + 4.6012 2.9499 lineto + 4.7076 2.9515 lineto + 4.8164 2.953 lineto + 4.9279 2.9546 lineto + 5.0419 2.9561 lineto + 5.1587 2.9576 lineto + 5.2782 2.959 lineto + 5.4006 2.9604 lineto + 5.5259 2.9618 lineto + 5.6218 2.9628 lineto + 5.7195 2.9639 lineto + 6.2742 1.4604 lineto + 6.378103166302659 3.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (1.1579208923731617E77, -3.0) +newpath + 0.0 -2.8284 moveto + 0.072 -2.8285 lineto + 0.1522 -2.8289 lineto + 0.2212 -2.8294 lineto + 0.3216 -2.8304 lineto + 0.3876 -2.8313 lineto + 0.4672 -2.8326 lineto + 0.563 -2.8344 lineto + 0.6474 -2.8363 lineto + 0.7106 -2.8378 lineto + 0.7798 -2.8396 lineto + 0.8557 -2.8417 lineto + 0.9388 -2.8442 lineto + 1.0299 -2.847 lineto + 1.1296 -2.8503 lineto + 1.2387 -2.8541 lineto + 1.3273 -2.8572 lineto + 1.4221 -2.8607 lineto + 1.5235 -2.8644 lineto + 1.8298 -2.876 lineto + 1.9595 -2.8808 lineto + 2.0509 -2.8842 lineto + 2.1466 -2.8877 lineto + 2.2466 -2.8912 lineto + 2.3513 -2.8949 lineto + 2.4607 -2.8987 lineto + 2.5752 -2.9025 lineto + 2.6646 -2.9053 lineto + 2.757 -2.9082 lineto + 2.8526 -2.9112 lineto + 2.9182 -2.9131 lineto + 2.9852 -2.9151 lineto + 3.0539 -2.917 lineto + 3.1241 -2.9189 lineto + 3.1959 -2.9209 lineto + 3.2694 -2.9228 lineto + 3.3446 -2.9247 lineto + 3.4215 -2.9267 lineto + 3.5002 -2.9286 lineto + 3.5808 -2.9305 lineto + 3.6632 -2.9323 lineto + 3.7475 -2.9342 lineto + 3.8338 -2.936 lineto + 3.9221 -2.9378 lineto + 4.0125 -2.9396 lineto + 4.105 -2.9414 lineto + 4.1997 -2.9432 lineto + 4.2966 -2.9449 lineto + 4.3958 -2.9466 lineto + 4.4973 -2.9482 lineto + 4.6012 -2.9499 lineto + 4.7076 -2.9515 lineto + 4.8164 -2.953 lineto + 4.9279 -2.9546 lineto + 5.0419 -2.9561 lineto + 5.1587 -2.9576 lineto + 5.2782 -2.959 lineto + 5.4006 -2.9604 lineto + 5.5259 -2.9618 lineto + 5.6218 -2.9628 lineto + 5.7195 -2.9639 lineto + 6.2742 -1.4604 lineto + 6.378103166302659 -3.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (0.0, 0.0) +newpath + 1.118 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-0.5, 0.0) to (-1.0, 0.0) +newpath + 1.118 0.0 moveto + 1.4142 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.0, 0.0) +newpath + 2.2361 0.0 moveto + 1.4142 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 0.0) to (-1.1579208923731617E77, 0.0) +newpath + 2.2361 0.0 moveto + 6.3743 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto + 6.378103166302659 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (0.0, 1.0) +newpath + 2.1974 -0.9102 moveto + 2.1139 -0.904 lineto + 2.0343 -0.8974 lineto + 1.9585 -0.8906 lineto + 1.8862 -0.8835 lineto + 1.8173 -0.8761 lineto + 1.7517 -0.8684 lineto + 1.689 -0.8605 lineto + 1.6293 -0.8523 lineto + 1.5179 -0.8351 lineto + 1.4164 -0.8169 lineto + 1.3237 -0.7979 lineto + 1.239 -0.7782 lineto + 1.1614 -0.7578 lineto + 1.0901 -0.7369 lineto + 1.0247 -0.7157 lineto + 0.9643 -0.6941 lineto + 0.9086 -0.6725 lineto + 0.8093 -0.6291 lineto + 0.7236 -0.5862 lineto + 0.6492 -0.5445 lineto + 0.584 -0.5043 lineto + 0.5267 -0.466 lineto + 0.4759 -0.4297 lineto + 0.41 -0.3794 lineto + 0.3376 -0.3199 lineto + 0.279 -0.2687 lineto + 0.2312 -0.2252 lineto + 0.1594 -0.1574 lineto + 0.1103 -0.1097 lineto + 0.0368 -0.0368 lineto + 0.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, 1.0) to (-1.1579208923731617E77, 1.0) +newpath + 2.1974 -0.9102 moveto + 2.2699 -0.9151 lineto + 2.3454 -0.9199 lineto + 2.4241 -0.9244 lineto + 2.5059 -0.9288 lineto + 2.5911 -0.9329 lineto + 2.6799 -0.9369 lineto + 2.7722 -0.9407 lineto + 2.8684 -0.9443 lineto + 2.9685 -0.9477 lineto + 3.0727 -0.9509 lineto + 3.1811 -0.954 lineto + 3.294 -0.9569 lineto + 3.3817 -0.959 lineto + 3.4416 -0.9603 lineto + 3.5027 -0.9616 lineto + 3.5651 -0.9628 lineto + 3.6287 -0.9641 lineto + 3.6936 -0.9652 lineto + 3.7597 -0.9664 lineto + 3.8273 -0.9675 lineto + 3.8961 -0.9686 lineto + 3.9664 -0.9697 lineto + 4.038 -0.9707 lineto + 4.1111 -0.9717 lineto + 4.1856 -0.9726 lineto + 4.2616 -0.9736 lineto + 4.3391 -0.9745 lineto + 4.4182 -0.9753 lineto + 4.4988 -0.9762 lineto + 4.5811 -0.977 lineto + 4.6649 -0.9778 lineto + 4.7505 -0.9786 lineto + 4.8377 -0.9793 lineto + 4.9267 -0.98 lineto + 5.0174 -0.9807 lineto + 5.1099 -0.9814 lineto + 5.2042 -0.982 lineto + 5.3004 -0.9827 lineto + 5.3984 -0.9833 lineto + 5.4984 -0.9839 lineto + 5.6004 -0.9844 lineto + 5.7044 -0.985 lineto + 5.8104 -0.9855 lineto + 5.9185 -0.986 lineto + 6.0287 -0.9865 lineto + 6.1411 -0.987 lineto + 6.2556 -0.9875 lineto + 6.3748 -0.9276 lineto + 6.378103166302659 -0.2839 lineto + 6.378103166302659 -1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (0.0, -1.0) +newpath + 2.1974 0.9102 moveto + 2.1139 0.904 lineto + 2.0343 0.8974 lineto + 1.9585 0.8906 lineto + 1.8862 0.8835 lineto + 1.8173 0.8761 lineto + 1.7517 0.8684 lineto + 1.689 0.8605 lineto + 1.6293 0.8523 lineto + 1.5179 0.8351 lineto + 1.4164 0.8169 lineto + 1.3237 0.7979 lineto + 1.239 0.7782 lineto + 1.1614 0.7578 lineto + 1.0901 0.7369 lineto + 1.0247 0.7157 lineto + 0.9643 0.6941 lineto + 0.9086 0.6725 lineto + 0.8093 0.6291 lineto + 0.7236 0.5862 lineto + 0.6492 0.5445 lineto + 0.584 0.5043 lineto + 0.5267 0.466 lineto + 0.4759 0.4297 lineto + 0.41 0.3794 lineto + 0.3376 0.3199 lineto + 0.279 0.2687 lineto + 0.2312 0.2252 lineto + 0.1594 0.1574 lineto + 0.1103 0.1097 lineto + 0.0368 0.0368 lineto + 0.0 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (-2.0, -1.0) to (-1.1579208923731617E77, -1.0) +newpath + 2.1974 0.9102 moveto + 2.2699 0.9151 lineto + 2.3454 0.9199 lineto + 2.4241 0.9244 lineto + 2.5059 0.9288 lineto + 2.5911 0.9329 lineto + 2.6799 0.9369 lineto + 2.7722 0.9407 lineto + 2.8684 0.9443 lineto + 2.9685 0.9477 lineto + 3.0727 0.9509 lineto + 3.1811 0.954 lineto + 3.294 0.9569 lineto + 3.3817 0.959 lineto + 3.4416 0.9603 lineto + 3.5027 0.9616 lineto + 3.5651 0.9628 lineto + 3.6287 0.9641 lineto + 3.6936 0.9652 lineto + 3.7597 0.9664 lineto + 3.8273 0.9675 lineto + 3.8961 0.9686 lineto + 3.9664 0.9697 lineto + 4.038 0.9707 lineto + 4.1111 0.9717 lineto + 4.1856 0.9726 lineto + 4.2616 0.9736 lineto + 4.3391 0.9745 lineto + 4.4182 0.9753 lineto + 4.4988 0.9762 lineto + 4.5811 0.977 lineto + 4.6649 0.9778 lineto + 4.7505 0.9786 lineto + 4.8377 0.9793 lineto + 4.9267 0.98 lineto + 5.0174 0.9807 lineto + 5.1099 0.9814 lineto + 5.2042 0.982 lineto + 5.3004 0.9827 lineto + 5.3984 0.9833 lineto + 5.4984 0.9839 lineto + 5.6004 0.9844 lineto + 5.7044 0.985 lineto + 5.8104 0.9855 lineto + 5.9185 0.986 lineto + 6.0287 0.9865 lineto + 6.1411 0.987 lineto + 6.2556 0.9875 lineto + 6.3748 0.9276 lineto + 6.378103166302659 0.2839 lineto + 6.378103166302659 1.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 2.0) to (-1.1579208923731617E77, 2.0) +newpath + 0.0 -1.7321 moveto + 0.0784 -1.7325 lineto + 0.1655 -1.734 lineto + 0.2404 -1.7362 lineto + 0.3177 -1.7391 lineto + 0.3825 -1.7422 lineto + 0.46 -1.7465 lineto + 0.5529 -1.7524 lineto + 0.6636 -1.7604 lineto + 0.7267 -1.7654 lineto + 0.7954 -1.771 lineto + 0.8703 -1.7774 lineto + 0.9519 -1.7846 lineto + 1.0406 -1.7925 lineto + 1.1886 -1.8058 lineto + 1.2982 -1.8156 lineto + 1.3565 -1.8207 lineto + 1.4174 -1.826 lineto + 1.4809 -1.8314 lineto + 1.5472 -1.837 lineto + 1.6163 -1.8426 lineto + 1.6885 -1.8483 lineto + 1.7639 -1.8541 lineto + 1.8426 -1.8599 lineto + 1.9249 -1.8657 lineto + 2.0108 -1.8715 lineto + 2.1006 -1.8774 lineto + 2.1944 -1.8832 lineto + 2.2926 -1.8889 lineto + 2.3952 -1.8945 lineto + 2.5027 -1.9001 lineto + 2.6151 -1.9055 lineto + 2.7028 -1.9095 lineto + 2.763 -1.9121 lineto + 2.8246 -1.9147 lineto + 2.8876 -1.9172 lineto + 2.9521 -1.9197 lineto + 3.0181 -1.9222 lineto + 3.0857 -1.9246 lineto + 3.1548 -1.927 lineto + 3.2256 -1.9293 lineto + 3.298 -1.9316 lineto + 3.3722 -1.9339 lineto + 3.4481 -1.936 lineto + 3.5258 -1.9382 lineto + 3.6054 -1.9403 lineto + 3.6869 -1.9423 lineto + 3.7703 -1.9443 lineto + 3.8556 -1.9463 lineto + 3.9431 -1.9482 lineto + 4.0326 -1.95 lineto + 4.1242 -1.9518 lineto + 4.2181 -1.9536 lineto + 4.3141 -1.9553 lineto + 4.4125 -1.9569 lineto + 4.5133 -1.9585 lineto + 4.6164 -1.9601 lineto + 4.7221 -1.9616 lineto + 4.8302 -1.9631 lineto + 4.941 -1.9645 lineto + 5.0544 -1.9659 lineto + 5.1706 -1.9672 lineto + 5.2895 -1.9685 lineto + 5.4113 -1.9697 lineto + 5.536 -1.9709 lineto + 5.6637 -1.9721 lineto + 5.7945 -1.9732 lineto + 5.9284 -1.9743 lineto + 6.031 -1.9751 lineto + 6.1318 -1.9747 lineto + 6.3657 -0.9877 lineto + 6.378103166302659 -2.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -2.0) to (-1.1579208923731617E77, -2.0) +newpath + 0.0 1.7321 moveto + 0.0784 1.7325 lineto + 0.1655 1.734 lineto + 0.2404 1.7362 lineto + 0.3177 1.7391 lineto + 0.3825 1.7422 lineto + 0.46 1.7465 lineto + 0.5529 1.7524 lineto + 0.6636 1.7604 lineto + 0.7267 1.7654 lineto + 0.7954 1.771 lineto + 0.8703 1.7774 lineto + 0.9519 1.7846 lineto + 1.0406 1.7925 lineto + 1.1886 1.8058 lineto + 1.2982 1.8156 lineto + 1.3565 1.8207 lineto + 1.4174 1.826 lineto + 1.4809 1.8314 lineto + 1.5472 1.837 lineto + 1.6163 1.8426 lineto + 1.6885 1.8483 lineto + 1.7639 1.8541 lineto + 1.8426 1.8599 lineto + 1.9249 1.8657 lineto + 2.0108 1.8715 lineto + 2.1006 1.8774 lineto + 2.1944 1.8832 lineto + 2.2926 1.8889 lineto + 2.3952 1.8945 lineto + 2.5027 1.9001 lineto + 2.6151 1.9055 lineto + 2.7028 1.9095 lineto + 2.763 1.9121 lineto + 2.8246 1.9147 lineto + 2.8876 1.9172 lineto + 2.9521 1.9197 lineto + 3.0181 1.9222 lineto + 3.0857 1.9246 lineto + 3.1548 1.927 lineto + 3.2256 1.9293 lineto + 3.298 1.9316 lineto + 3.3722 1.9339 lineto + 3.4481 1.936 lineto + 3.5258 1.9382 lineto + 3.6054 1.9403 lineto + 3.6869 1.9423 lineto + 3.7703 1.9443 lineto + 3.8556 1.9463 lineto + 3.9431 1.9482 lineto + 4.0326 1.95 lineto + 4.1242 1.9518 lineto + 4.2181 1.9536 lineto + 4.3141 1.9553 lineto + 4.4125 1.9569 lineto + 4.5133 1.9585 lineto + 4.6164 1.9601 lineto + 4.7221 1.9616 lineto + 4.8302 1.9631 lineto + 4.941 1.9645 lineto + 5.0544 1.9659 lineto + 5.1706 1.9672 lineto + 5.2895 1.9685 lineto + 5.4113 1.9697 lineto + 5.536 1.9709 lineto + 5.6637 1.9721 lineto + 5.7945 1.9732 lineto + 5.9284 1.9743 lineto + 6.031 1.9751 lineto + 6.1318 1.9747 lineto + 6.3657 0.9877 lineto + 6.378103166302659 2.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, 3.0) to (-1.1579208923731617E77, 3.0) +newpath + 0.0 -2.8284 moveto + 0.072 -2.8285 lineto + 0.1522 -2.8289 lineto + 0.2212 -2.8294 lineto + 0.3216 -2.8304 lineto + 0.3876 -2.8313 lineto + 0.4672 -2.8326 lineto + 0.563 -2.8344 lineto + 0.6474 -2.8363 lineto + 0.7106 -2.8378 lineto + 0.7798 -2.8396 lineto + 0.8557 -2.8417 lineto + 0.9388 -2.8442 lineto + 1.0299 -2.847 lineto + 1.1296 -2.8503 lineto + 1.2387 -2.8541 lineto + 1.3273 -2.8572 lineto + 1.4221 -2.8607 lineto + 1.5235 -2.8644 lineto + 1.8298 -2.876 lineto + 1.9595 -2.8808 lineto + 2.0509 -2.8842 lineto + 2.1466 -2.8877 lineto + 2.2466 -2.8912 lineto + 2.3513 -2.8949 lineto + 2.4607 -2.8987 lineto + 2.5752 -2.9025 lineto + 2.6646 -2.9053 lineto + 2.757 -2.9082 lineto + 2.8526 -2.9112 lineto + 2.9182 -2.9131 lineto + 2.9852 -2.9151 lineto + 3.0539 -2.917 lineto + 3.1241 -2.9189 lineto + 3.1959 -2.9209 lineto + 3.2694 -2.9228 lineto + 3.3446 -2.9247 lineto + 3.4215 -2.9267 lineto + 3.5002 -2.9286 lineto + 3.5808 -2.9305 lineto + 3.6632 -2.9323 lineto + 3.7475 -2.9342 lineto + 3.8338 -2.936 lineto + 3.9221 -2.9378 lineto + 4.0125 -2.9396 lineto + 4.105 -2.9414 lineto + 4.1997 -2.9432 lineto + 4.2966 -2.9449 lineto + 4.3958 -2.9466 lineto + 4.4973 -2.9482 lineto + 4.6012 -2.9499 lineto + 4.7076 -2.9515 lineto + 4.8164 -2.953 lineto + 4.9279 -2.9546 lineto + 5.0419 -2.9561 lineto + 5.1587 -2.9576 lineto + 5.2782 -2.959 lineto + 5.4006 -2.9604 lineto + 5.5259 -2.9618 lineto + 5.6218 -2.9628 lineto + 5.7195 -2.9639 lineto + 6.2742 -1.4604 lineto + 6.378103166302659 -3.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Horizontal line from (0.0, -3.0) to (-1.1579208923731617E77, -3.0) +newpath + 0.0 2.8284 moveto + 0.072 2.8285 lineto + 0.1522 2.8289 lineto + 0.2212 2.8294 lineto + 0.3216 2.8304 lineto + 0.3876 2.8313 lineto + 0.4672 2.8326 lineto + 0.563 2.8344 lineto + 0.6474 2.8363 lineto + 0.7106 2.8378 lineto + 0.7798 2.8396 lineto + 0.8557 2.8417 lineto + 0.9388 2.8442 lineto + 1.0299 2.847 lineto + 1.1296 2.8503 lineto + 1.2387 2.8541 lineto + 1.3273 2.8572 lineto + 1.4221 2.8607 lineto + 1.5235 2.8644 lineto + 1.8298 2.876 lineto + 1.9595 2.8808 lineto + 2.0509 2.8842 lineto + 2.1466 2.8877 lineto + 2.2466 2.8912 lineto + 2.3513 2.8949 lineto + 2.4607 2.8987 lineto + 2.5752 2.9025 lineto + 2.6646 2.9053 lineto + 2.757 2.9082 lineto + 2.8526 2.9112 lineto + 2.9182 2.9131 lineto + 2.9852 2.9151 lineto + 3.0539 2.917 lineto + 3.1241 2.9189 lineto + 3.1959 2.9209 lineto + 3.2694 2.9228 lineto + 3.3446 2.9247 lineto + 3.4215 2.9267 lineto + 3.5002 2.9286 lineto + 3.5808 2.9305 lineto + 3.6632 2.9323 lineto + 3.7475 2.9342 lineto + 3.8338 2.936 lineto + 3.9221 2.9378 lineto + 4.0125 2.9396 lineto + 4.105 2.9414 lineto + 4.1997 2.9432 lineto + 4.2966 2.9449 lineto + 4.3958 2.9466 lineto + 4.4973 2.9482 lineto + 4.6012 2.9499 lineto + 4.7076 2.9515 lineto + 4.8164 2.953 lineto + 4.9279 2.9546 lineto + 5.0419 2.9561 lineto + 5.1587 2.9576 lineto + 5.2782 2.959 lineto + 5.4006 2.9604 lineto + 5.5259 2.9618 lineto + 5.6218 2.9628 lineto + 5.7195 2.9639 lineto + 6.2742 1.4604 lineto + 6.378103166302659 3.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 0.0) +newpath + 0.866 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 0.5) to (0.0, 1.0) +newpath + 0.866 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.0) +newpath + 0.0 1.7321 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, 2.0) to (0.0, 1.1579208923731617E77) +newpath + 0.0 1.7321 moveto + 0.0 6.3683 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 0.0) +newpath + 1.1118 1.7989 moveto + 1.1207 1.7051 lineto + 1.13 1.6155 lineto + 1.1398 1.5303 lineto + 1.15 1.4491 lineto + 1.1606 1.3719 lineto + 1.1714 1.2986 lineto + 1.1825 1.2291 lineto + 1.1937 1.1633 lineto + 1.205 1.101 lineto + 1.2163 1.0421 lineto + 1.2385 0.9342 lineto + 1.2599 0.8383 lineto + 1.2798 0.7533 lineto + 1.2981 0.678 lineto + 1.3221 0.5805 lineto + 1.3419 0.4988 lineto + 1.3625 0.4094 lineto + 1.3776 0.3374 lineto + 1.3885 0.2789 lineto + 1.4016 0.1918 lineto + 1.41 0.1103 lineto + 1.4137 0.0368 lineto + 1.4142 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, 2.0) to (1.0, 1.1579208923731617E77) +newpath + 1.1118 1.7989 moveto + 1.1048 1.8803 lineto + 1.0981 1.9648 lineto + 1.0917 2.0526 lineto + 1.0857 2.1438 lineto + 1.08 2.2383 lineto + 1.0746 2.3364 lineto + 1.0696 2.4381 lineto + 1.0648 2.5436 lineto + 1.0604 2.653 lineto + 1.0562 2.7664 lineto + 1.0533 2.8541 lineto + 1.0514 2.9139 lineto + 1.0495 2.9749 lineto + 1.0478 3.0369 lineto + 1.0461 3.1001 lineto + 1.0444 3.1644 lineto + 1.0428 3.2298 lineto + 1.0413 3.2965 lineto + 1.0398 3.3644 lineto + 1.0384 3.4335 lineto + 1.037 3.5039 lineto + 1.0356 3.5755 lineto + 1.0343 3.6485 lineto + 1.0331 3.7228 lineto + 1.0319 3.7984 lineto + 1.0307 3.8755 lineto + 1.0296 3.9539 lineto + 1.0285 4.0338 lineto + 1.0275 4.1151 lineto + 1.0265 4.198 lineto + 1.0255 4.2823 lineto + 1.0246 4.3682 lineto + 1.0237 4.4557 lineto + 1.0228 4.5449 lineto + 1.022 4.6356 lineto + 1.0212 4.728 lineto + 1.0204 4.8222 lineto + 1.0197 4.918 lineto + 1.0189 5.0157 lineto + 1.0182 5.1152 lineto + 1.0176 5.2165 lineto + 1.0169 5.3197 lineto + 1.0163 5.4248 lineto + 1.0157 5.5318 lineto + 1.0151 5.6409 lineto + 1.0146 5.752 lineto + 1.014 5.8652 lineto + 1.0135 5.9804 lineto + 1.0128 6.1574 lineto + 1.0123 6.2781 lineto + 1.0156 6.3613 lineto + 0.285 6.378103166302659 lineto + 1.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 0.0) +newpath + 1.1118 -1.7989 moveto + 1.1207 -1.7051 lineto + 1.13 -1.6155 lineto + 1.1398 -1.5303 lineto + 1.15 -1.4491 lineto + 1.1606 -1.3719 lineto + 1.1714 -1.2986 lineto + 1.1825 -1.2291 lineto + 1.1937 -1.1633 lineto + 1.205 -1.101 lineto + 1.2163 -1.0421 lineto + 1.2385 -0.9342 lineto + 1.2599 -0.8383 lineto + 1.2798 -0.7533 lineto + 1.2981 -0.678 lineto + 1.3221 -0.5805 lineto + 1.3419 -0.4988 lineto + 1.3625 -0.4094 lineto + 1.3776 -0.3374 lineto + 1.3885 -0.2789 lineto + 1.4016 -0.1918 lineto + 1.41 -0.1103 lineto + 1.4137 -0.0368 lineto + 1.4142 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, 2.0) to (-1.0, 1.1579208923731617E77) +newpath + 1.1118 -1.7989 moveto + 1.1048 -1.8803 lineto + 1.0981 -1.9648 lineto + 1.0917 -2.0526 lineto + 1.0857 -2.1438 lineto + 1.08 -2.2383 lineto + 1.0746 -2.3364 lineto + 1.0696 -2.4381 lineto + 1.0648 -2.5436 lineto + 1.0604 -2.653 lineto + 1.0562 -2.7664 lineto + 1.0533 -2.8541 lineto + 1.0514 -2.9139 lineto + 1.0495 -2.9749 lineto + 1.0478 -3.0369 lineto + 1.0461 -3.1001 lineto + 1.0444 -3.1644 lineto + 1.0428 -3.2298 lineto + 1.0413 -3.2965 lineto + 1.0398 -3.3644 lineto + 1.0384 -3.4335 lineto + 1.037 -3.5039 lineto + 1.0356 -3.5755 lineto + 1.0343 -3.6485 lineto + 1.0331 -3.7228 lineto + 1.0319 -3.7984 lineto + 1.0307 -3.8755 lineto + 1.0296 -3.9539 lineto + 1.0285 -4.0338 lineto + 1.0275 -4.1151 lineto + 1.0265 -4.198 lineto + 1.0255 -4.2823 lineto + 1.0246 -4.3682 lineto + 1.0237 -4.4557 lineto + 1.0228 -4.5449 lineto + 1.022 -4.6356 lineto + 1.0212 -4.728 lineto + 1.0204 -4.8222 lineto + 1.0197 -4.918 lineto + 1.0189 -5.0157 lineto + 1.0182 -5.1152 lineto + 1.0176 -5.2165 lineto + 1.0169 -5.3197 lineto + 1.0163 -5.4248 lineto + 1.0157 -5.5318 lineto + 1.0151 -5.6409 lineto + 1.0146 -5.752 lineto + 1.014 -5.8652 lineto + 1.0135 -5.9804 lineto + 1.0128 -6.1574 lineto + 1.0123 -6.2781 lineto + 1.0156 -6.3613 lineto + 0.285 -6.378103166302659 lineto + 1.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, 1.1579208923731617E77) +newpath + 2.2361 0.0 moveto + 2.2359 0.0607 lineto + 2.2351 0.1284 lineto + 2.2333 0.2253 lineto + 2.2302 0.3281 lineto + 2.2276 0.3961 lineto + 2.2239 0.4784 lineto + 2.2188 0.5782 lineto + 2.2136 0.6669 lineto + 2.2094 0.7337 lineto + 2.2045 0.8075 lineto + 2.1989 0.8889 lineto + 2.1924 0.979 lineto + 2.1851 1.0787 lineto + 2.1702 1.2793 lineto + 2.1654 1.3436 lineto + 2.1605 1.4111 lineto + 2.1553 1.4823 lineto + 2.15 1.5571 lineto + 2.1446 1.6359 lineto + 2.139 1.7187 lineto + 2.1333 1.8058 lineto + 2.1275 1.8975 lineto + 2.1217 1.9938 lineto + 2.1158 2.0951 lineto + 2.11 2.2015 lineto + 2.1042 2.3133 lineto + 2.0999 2.4009 lineto + 2.0971 2.461 lineto + 2.0943 2.5227 lineto + 2.0915 2.5858 lineto + 2.0887 2.6505 lineto + 2.086 2.7168 lineto + 2.0833 2.7847 lineto + 2.0807 2.8542 lineto + 2.0781 2.9254 lineto + 2.0756 2.9983 lineto + 2.0731 3.073 lineto + 2.0706 3.1495 lineto + 2.0682 3.2278 lineto + 2.0658 3.308 lineto + 2.0635 3.3901 lineto + 2.0613 3.4741 lineto + 2.0591 3.5601 lineto + 2.057 3.6482 lineto + 2.0549 3.7383 lineto + 2.0529 3.8306 lineto + 2.0509 3.925 lineto + 2.049 4.0217 lineto + 2.0471 4.1206 lineto + 2.0453 4.2219 lineto + 2.0436 4.3255 lineto + 2.0419 4.4316 lineto + 2.0402 4.5401 lineto + 2.0386 4.6512 lineto + 2.0371 4.7649 lineto + 2.0356 4.8812 lineto + 2.0342 5.0003 lineto + 2.0328 5.1221 lineto + 2.0315 5.2468 lineto + 2.0302 5.3744 lineto + 2.0289 5.505 lineto + 2.0277 5.6387 lineto + 2.0266 5.7754 lineto + 2.0255 5.9154 lineto + 2.0247 6.0225 lineto + 2.0192 6.1172 lineto + 1.4424 6.2783 lineto + 0.9992 6.3639 lineto + 2.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, 1.1579208923731617E77) +newpath + 2.2361 0.0 moveto + 2.2359 -0.0607 lineto + 2.2351 -0.1284 lineto + 2.2333 -0.2253 lineto + 2.2302 -0.3281 lineto + 2.2276 -0.3961 lineto + 2.2239 -0.4784 lineto + 2.2188 -0.5782 lineto + 2.2136 -0.6669 lineto + 2.2094 -0.7337 lineto + 2.2045 -0.8075 lineto + 2.1989 -0.8889 lineto + 2.1924 -0.979 lineto + 2.1851 -1.0787 lineto + 2.1702 -1.2793 lineto + 2.1654 -1.3436 lineto + 2.1605 -1.4111 lineto + 2.1553 -1.4823 lineto + 2.15 -1.5571 lineto + 2.1446 -1.6359 lineto + 2.139 -1.7187 lineto + 2.1333 -1.8058 lineto + 2.1275 -1.8975 lineto + 2.1217 -1.9938 lineto + 2.1158 -2.0951 lineto + 2.11 -2.2015 lineto + 2.1042 -2.3133 lineto + 2.0999 -2.4009 lineto + 2.0971 -2.461 lineto + 2.0943 -2.5227 lineto + 2.0915 -2.5858 lineto + 2.0887 -2.6505 lineto + 2.086 -2.7168 lineto + 2.0833 -2.7847 lineto + 2.0807 -2.8542 lineto + 2.0781 -2.9254 lineto + 2.0756 -2.9983 lineto + 2.0731 -3.073 lineto + 2.0706 -3.1495 lineto + 2.0682 -3.2278 lineto + 2.0658 -3.308 lineto + 2.0635 -3.3901 lineto + 2.0613 -3.4741 lineto + 2.0591 -3.5601 lineto + 2.057 -3.6482 lineto + 2.0549 -3.7383 lineto + 2.0529 -3.8306 lineto + 2.0509 -3.925 lineto + 2.049 -4.0217 lineto + 2.0471 -4.1206 lineto + 2.0453 -4.2219 lineto + 2.0436 -4.3255 lineto + 2.0419 -4.4316 lineto + 2.0402 -4.5401 lineto + 2.0386 -4.6512 lineto + 2.0371 -4.7649 lineto + 2.0356 -4.8812 lineto + 2.0342 -5.0003 lineto + 2.0328 -5.1221 lineto + 2.0315 -5.2468 lineto + 2.0302 -5.3744 lineto + 2.0289 -5.505 lineto + 2.0277 -5.6387 lineto + 2.0266 -5.7754 lineto + 2.0255 -5.9154 lineto + 2.0247 -6.0225 lineto + 2.0192 -6.1172 lineto + 1.4424 -6.2783 lineto + 0.9992 -6.3639 lineto + 2.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, 1.1579208923731617E77) +newpath + 3.1623 0.0 moveto + 3.1622 0.0644 lineto + 3.162 0.1362 lineto + 3.1616 0.198 lineto + 3.1608 0.288 lineto + 3.1602 0.3473 lineto + 3.1593 0.4189 lineto + 3.1579 0.5053 lineto + 3.156 0.6097 lineto + 3.1548 0.6698 lineto + 3.1533 0.7359 lineto + 3.1516 0.8085 lineto + 3.1495 0.8884 lineto + 3.1471 0.9763 lineto + 3.1443 1.073 lineto + 3.141 1.1795 lineto + 3.1383 1.2664 lineto + 3.1352 1.3598 lineto + 3.1318 1.4602 lineto + 3.1282 1.5682 lineto + 3.1168 1.8979 lineto + 3.1136 1.9909 lineto + 3.1102 2.0885 lineto + 3.1068 2.1909 lineto + 3.1032 2.2985 lineto + 3.0996 2.4114 lineto + 3.0968 2.4998 lineto + 3.094 2.5915 lineto + 3.0911 2.6865 lineto + 3.0882 2.7851 lineto + 3.0863 2.8528 lineto + 3.0843 2.9222 lineto + 3.0824 2.9932 lineto + 3.0804 3.066 lineto + 3.0785 3.1406 lineto + 3.0765 3.217 lineto + 3.0746 3.2952 lineto + 3.0727 3.3753 lineto + 3.0708 3.4574 lineto + 3.0688 3.5414 lineto + 3.0669 3.6275 lineto + 3.0651 3.7156 lineto + 3.0632 3.8059 lineto + 3.0614 3.8983 lineto + 3.0595 3.993 lineto + 3.0577 4.0899 lineto + 3.056 4.1891 lineto + 3.0542 4.2907 lineto + 3.0525 4.3948 lineto + 3.0508 4.5013 lineto + 3.0492 4.6103 lineto + 3.0476 4.722 lineto + 3.046 4.8363 lineto + 3.0444 4.9533 lineto + 3.0429 5.0731 lineto + 3.0414 5.1957 lineto + 3.0399 5.3213 lineto + 3.0385 5.4498 lineto + 3.0371 5.5813 lineto + 3.0503 5.674 lineto + 1.4765 6.2704 lineto + 3.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, 1.1579208923731617E77) +newpath + 3.1623 0.0 moveto + 3.1622 -0.0644 lineto + 3.162 -0.1362 lineto + 3.1616 -0.198 lineto + 3.1608 -0.288 lineto + 3.1602 -0.3473 lineto + 3.1593 -0.4189 lineto + 3.1579 -0.5053 lineto + 3.156 -0.6097 lineto + 3.1548 -0.6698 lineto + 3.1533 -0.7359 lineto + 3.1516 -0.8085 lineto + 3.1495 -0.8884 lineto + 3.1471 -0.9763 lineto + 3.1443 -1.073 lineto + 3.141 -1.1795 lineto + 3.1383 -1.2664 lineto + 3.1352 -1.3598 lineto + 3.1318 -1.4602 lineto + 3.1282 -1.5682 lineto + 3.1168 -1.8979 lineto + 3.1136 -1.9909 lineto + 3.1102 -2.0885 lineto + 3.1068 -2.1909 lineto + 3.1032 -2.2985 lineto + 3.0996 -2.4114 lineto + 3.0968 -2.4998 lineto + 3.094 -2.5915 lineto + 3.0911 -2.6865 lineto + 3.0882 -2.7851 lineto + 3.0863 -2.8528 lineto + 3.0843 -2.9222 lineto + 3.0824 -2.9932 lineto + 3.0804 -3.066 lineto + 3.0785 -3.1406 lineto + 3.0765 -3.217 lineto + 3.0746 -3.2952 lineto + 3.0727 -3.3753 lineto + 3.0708 -3.4574 lineto + 3.0688 -3.5414 lineto + 3.0669 -3.6275 lineto + 3.0651 -3.7156 lineto + 3.0632 -3.8059 lineto + 3.0614 -3.8983 lineto + 3.0595 -3.993 lineto + 3.0577 -4.0899 lineto + 3.056 -4.1891 lineto + 3.0542 -4.2907 lineto + 3.0525 -4.3948 lineto + 3.0508 -4.5013 lineto + 3.0492 -4.6103 lineto + 3.0476 -4.722 lineto + 3.046 -4.8363 lineto + 3.0444 -4.9533 lineto + 3.0429 -5.0731 lineto + 3.0414 -5.1957 lineto + 3.0399 -5.3213 lineto + 3.0385 -5.4498 lineto + 3.0371 -5.5813 lineto + 3.0503 -5.674 lineto + 1.4765 -6.2704 lineto + 3.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, 0.0) +newpath + 0.866 0.0 moveto + 1.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -0.5) to (0.0, -1.0) +newpath + 0.866 0.0 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.0) +newpath + 0.0 1.7321 moveto + 0.0 0.0 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (0.0, -2.0) to (0.0, -1.1579208923731617E77) +newpath + 0.0 1.7321 moveto + 0.0 6.3683 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto + 0.0 6.378103166302659 lineto +0.05 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, 0.0) +newpath + 1.1118 -1.7989 moveto + 1.1207 -1.7051 lineto + 1.13 -1.6155 lineto + 1.1398 -1.5303 lineto + 1.15 -1.4491 lineto + 1.1606 -1.3719 lineto + 1.1714 -1.2986 lineto + 1.1825 -1.2291 lineto + 1.1937 -1.1633 lineto + 1.205 -1.101 lineto + 1.2163 -1.0421 lineto + 1.2385 -0.9342 lineto + 1.2599 -0.8383 lineto + 1.2798 -0.7533 lineto + 1.2981 -0.678 lineto + 1.3221 -0.5805 lineto + 1.3419 -0.4988 lineto + 1.3625 -0.4094 lineto + 1.3776 -0.3374 lineto + 1.3885 -0.2789 lineto + 1.4016 -0.1918 lineto + 1.41 -0.1103 lineto + 1.4137 -0.0368 lineto + 1.4142 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (1.0, -2.0) to (1.0, -1.1579208923731617E77) +newpath + 1.1118 -1.7989 moveto + 1.1048 -1.8803 lineto + 1.0981 -1.9648 lineto + 1.0917 -2.0526 lineto + 1.0857 -2.1438 lineto + 1.08 -2.2383 lineto + 1.0746 -2.3364 lineto + 1.0696 -2.4381 lineto + 1.0648 -2.5436 lineto + 1.0604 -2.653 lineto + 1.0562 -2.7664 lineto + 1.0533 -2.8541 lineto + 1.0514 -2.9139 lineto + 1.0495 -2.9749 lineto + 1.0478 -3.0369 lineto + 1.0461 -3.1001 lineto + 1.0444 -3.1644 lineto + 1.0428 -3.2298 lineto + 1.0413 -3.2965 lineto + 1.0398 -3.3644 lineto + 1.0384 -3.4335 lineto + 1.037 -3.5039 lineto + 1.0356 -3.5755 lineto + 1.0343 -3.6485 lineto + 1.0331 -3.7228 lineto + 1.0319 -3.7984 lineto + 1.0307 -3.8755 lineto + 1.0296 -3.9539 lineto + 1.0285 -4.0338 lineto + 1.0275 -4.1151 lineto + 1.0265 -4.198 lineto + 1.0255 -4.2823 lineto + 1.0246 -4.3682 lineto + 1.0237 -4.4557 lineto + 1.0228 -4.5449 lineto + 1.022 -4.6356 lineto + 1.0212 -4.728 lineto + 1.0204 -4.8222 lineto + 1.0197 -4.918 lineto + 1.0189 -5.0157 lineto + 1.0182 -5.1152 lineto + 1.0176 -5.2165 lineto + 1.0169 -5.3197 lineto + 1.0163 -5.4248 lineto + 1.0157 -5.5318 lineto + 1.0151 -5.6409 lineto + 1.0146 -5.752 lineto + 1.014 -5.8652 lineto + 1.0135 -5.9804 lineto + 1.0128 -6.1574 lineto + 1.0123 -6.2781 lineto + 1.0156 -6.3613 lineto + 0.285 -6.378103166302659 lineto + 1.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, 0.0) +newpath + 1.1118 1.7989 moveto + 1.1207 1.7051 lineto + 1.13 1.6155 lineto + 1.1398 1.5303 lineto + 1.15 1.4491 lineto + 1.1606 1.3719 lineto + 1.1714 1.2986 lineto + 1.1825 1.2291 lineto + 1.1937 1.1633 lineto + 1.205 1.101 lineto + 1.2163 1.0421 lineto + 1.2385 0.9342 lineto + 1.2599 0.8383 lineto + 1.2798 0.7533 lineto + 1.2981 0.678 lineto + 1.3221 0.5805 lineto + 1.3419 0.4988 lineto + 1.3625 0.4094 lineto + 1.3776 0.3374 lineto + 1.3885 0.2789 lineto + 1.4016 0.1918 lineto + 1.41 0.1103 lineto + 1.4137 0.0368 lineto + 1.4142 0.0 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-1.0, -2.0) to (-1.0, -1.1579208923731617E77) +newpath + 1.1118 1.7989 moveto + 1.1048 1.8803 lineto + 1.0981 1.9648 lineto + 1.0917 2.0526 lineto + 1.0857 2.1438 lineto + 1.08 2.2383 lineto + 1.0746 2.3364 lineto + 1.0696 2.4381 lineto + 1.0648 2.5436 lineto + 1.0604 2.653 lineto + 1.0562 2.7664 lineto + 1.0533 2.8541 lineto + 1.0514 2.9139 lineto + 1.0495 2.9749 lineto + 1.0478 3.0369 lineto + 1.0461 3.1001 lineto + 1.0444 3.1644 lineto + 1.0428 3.2298 lineto + 1.0413 3.2965 lineto + 1.0398 3.3644 lineto + 1.0384 3.4335 lineto + 1.037 3.5039 lineto + 1.0356 3.5755 lineto + 1.0343 3.6485 lineto + 1.0331 3.7228 lineto + 1.0319 3.7984 lineto + 1.0307 3.8755 lineto + 1.0296 3.9539 lineto + 1.0285 4.0338 lineto + 1.0275 4.1151 lineto + 1.0265 4.198 lineto + 1.0255 4.2823 lineto + 1.0246 4.3682 lineto + 1.0237 4.4557 lineto + 1.0228 4.5449 lineto + 1.022 4.6356 lineto + 1.0212 4.728 lineto + 1.0204 4.8222 lineto + 1.0197 4.918 lineto + 1.0189 5.0157 lineto + 1.0182 5.1152 lineto + 1.0176 5.2165 lineto + 1.0169 5.3197 lineto + 1.0163 5.4248 lineto + 1.0157 5.5318 lineto + 1.0151 5.6409 lineto + 1.0146 5.752 lineto + 1.014 5.8652 lineto + 1.0135 5.9804 lineto + 1.0128 6.1574 lineto + 1.0123 6.2781 lineto + 1.0156 6.3613 lineto + 0.285 6.378103166302659 lineto + 1.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (2.0, 0.0) to (2.0, -1.1579208923731617E77) +newpath + 2.2361 0.0 moveto + 2.2359 -0.0607 lineto + 2.2351 -0.1284 lineto + 2.2333 -0.2253 lineto + 2.2302 -0.3281 lineto + 2.2276 -0.3961 lineto + 2.2239 -0.4784 lineto + 2.2188 -0.5782 lineto + 2.2136 -0.6669 lineto + 2.2094 -0.7337 lineto + 2.2045 -0.8075 lineto + 2.1989 -0.8889 lineto + 2.1924 -0.979 lineto + 2.1851 -1.0787 lineto + 2.1702 -1.2793 lineto + 2.1654 -1.3436 lineto + 2.1605 -1.4111 lineto + 2.1553 -1.4823 lineto + 2.15 -1.5571 lineto + 2.1446 -1.6359 lineto + 2.139 -1.7187 lineto + 2.1333 -1.8058 lineto + 2.1275 -1.8975 lineto + 2.1217 -1.9938 lineto + 2.1158 -2.0951 lineto + 2.11 -2.2015 lineto + 2.1042 -2.3133 lineto + 2.0999 -2.4009 lineto + 2.0971 -2.461 lineto + 2.0943 -2.5227 lineto + 2.0915 -2.5858 lineto + 2.0887 -2.6505 lineto + 2.086 -2.7168 lineto + 2.0833 -2.7847 lineto + 2.0807 -2.8542 lineto + 2.0781 -2.9254 lineto + 2.0756 -2.9983 lineto + 2.0731 -3.073 lineto + 2.0706 -3.1495 lineto + 2.0682 -3.2278 lineto + 2.0658 -3.308 lineto + 2.0635 -3.3901 lineto + 2.0613 -3.4741 lineto + 2.0591 -3.5601 lineto + 2.057 -3.6482 lineto + 2.0549 -3.7383 lineto + 2.0529 -3.8306 lineto + 2.0509 -3.925 lineto + 2.049 -4.0217 lineto + 2.0471 -4.1206 lineto + 2.0453 -4.2219 lineto + 2.0436 -4.3255 lineto + 2.0419 -4.4316 lineto + 2.0402 -4.5401 lineto + 2.0386 -4.6512 lineto + 2.0371 -4.7649 lineto + 2.0356 -4.8812 lineto + 2.0342 -5.0003 lineto + 2.0328 -5.1221 lineto + 2.0315 -5.2468 lineto + 2.0302 -5.3744 lineto + 2.0289 -5.505 lineto + 2.0277 -5.6387 lineto + 2.0266 -5.7754 lineto + 2.0255 -5.9154 lineto + 2.0247 -6.0225 lineto + 2.0192 -6.1172 lineto + 1.4424 -6.2783 lineto + 0.9992 -6.3639 lineto + 2.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-2.0, 0.0) to (-2.0, -1.1579208923731617E77) +newpath + 2.2361 0.0 moveto + 2.2359 0.0607 lineto + 2.2351 0.1284 lineto + 2.2333 0.2253 lineto + 2.2302 0.3281 lineto + 2.2276 0.3961 lineto + 2.2239 0.4784 lineto + 2.2188 0.5782 lineto + 2.2136 0.6669 lineto + 2.2094 0.7337 lineto + 2.2045 0.8075 lineto + 2.1989 0.8889 lineto + 2.1924 0.979 lineto + 2.1851 1.0787 lineto + 2.1702 1.2793 lineto + 2.1654 1.3436 lineto + 2.1605 1.4111 lineto + 2.1553 1.4823 lineto + 2.15 1.5571 lineto + 2.1446 1.6359 lineto + 2.139 1.7187 lineto + 2.1333 1.8058 lineto + 2.1275 1.8975 lineto + 2.1217 1.9938 lineto + 2.1158 2.0951 lineto + 2.11 2.2015 lineto + 2.1042 2.3133 lineto + 2.0999 2.4009 lineto + 2.0971 2.461 lineto + 2.0943 2.5227 lineto + 2.0915 2.5858 lineto + 2.0887 2.6505 lineto + 2.086 2.7168 lineto + 2.0833 2.7847 lineto + 2.0807 2.8542 lineto + 2.0781 2.9254 lineto + 2.0756 2.9983 lineto + 2.0731 3.073 lineto + 2.0706 3.1495 lineto + 2.0682 3.2278 lineto + 2.0658 3.308 lineto + 2.0635 3.3901 lineto + 2.0613 3.4741 lineto + 2.0591 3.5601 lineto + 2.057 3.6482 lineto + 2.0549 3.7383 lineto + 2.0529 3.8306 lineto + 2.0509 3.925 lineto + 2.049 4.0217 lineto + 2.0471 4.1206 lineto + 2.0453 4.2219 lineto + 2.0436 4.3255 lineto + 2.0419 4.4316 lineto + 2.0402 4.5401 lineto + 2.0386 4.6512 lineto + 2.0371 4.7649 lineto + 2.0356 4.8812 lineto + 2.0342 5.0003 lineto + 2.0328 5.1221 lineto + 2.0315 5.2468 lineto + 2.0302 5.3744 lineto + 2.0289 5.505 lineto + 2.0277 5.6387 lineto + 2.0266 5.7754 lineto + 2.0255 5.9154 lineto + 2.0247 6.0225 lineto + 2.0192 6.1172 lineto + 1.4424 6.2783 lineto + 0.9992 6.3639 lineto + 2.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (3.0, 0.0) to (3.0, -1.1579208923731617E77) +newpath + 3.1623 0.0 moveto + 3.1622 -0.0644 lineto + 3.162 -0.1362 lineto + 3.1616 -0.198 lineto + 3.1608 -0.288 lineto + 3.1602 -0.3473 lineto + 3.1593 -0.4189 lineto + 3.1579 -0.5053 lineto + 3.156 -0.6097 lineto + 3.1548 -0.6698 lineto + 3.1533 -0.7359 lineto + 3.1516 -0.8085 lineto + 3.1495 -0.8884 lineto + 3.1471 -0.9763 lineto + 3.1443 -1.073 lineto + 3.141 -1.1795 lineto + 3.1383 -1.2664 lineto + 3.1352 -1.3598 lineto + 3.1318 -1.4602 lineto + 3.1282 -1.5682 lineto + 3.1168 -1.8979 lineto + 3.1136 -1.9909 lineto + 3.1102 -2.0885 lineto + 3.1068 -2.1909 lineto + 3.1032 -2.2985 lineto + 3.0996 -2.4114 lineto + 3.0968 -2.4998 lineto + 3.094 -2.5915 lineto + 3.0911 -2.6865 lineto + 3.0882 -2.7851 lineto + 3.0863 -2.8528 lineto + 3.0843 -2.9222 lineto + 3.0824 -2.9932 lineto + 3.0804 -3.066 lineto + 3.0785 -3.1406 lineto + 3.0765 -3.217 lineto + 3.0746 -3.2952 lineto + 3.0727 -3.3753 lineto + 3.0708 -3.4574 lineto + 3.0688 -3.5414 lineto + 3.0669 -3.6275 lineto + 3.0651 -3.7156 lineto + 3.0632 -3.8059 lineto + 3.0614 -3.8983 lineto + 3.0595 -3.993 lineto + 3.0577 -4.0899 lineto + 3.056 -4.1891 lineto + 3.0542 -4.2907 lineto + 3.0525 -4.3948 lineto + 3.0508 -4.5013 lineto + 3.0492 -4.6103 lineto + 3.0476 -4.722 lineto + 3.046 -4.8363 lineto + 3.0444 -4.9533 lineto + 3.0429 -5.0731 lineto + 3.0414 -5.1957 lineto + 3.0399 -5.3213 lineto + 3.0385 -5.4498 lineto + 3.0371 -5.5813 lineto + 3.0503 -5.674 lineto + 1.4765 -6.2704 lineto + 3.0 -6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Vertical line from (-3.0, 0.0) to (-3.0, -1.1579208923731617E77) +newpath + 3.1623 0.0 moveto + 3.1622 0.0644 lineto + 3.162 0.1362 lineto + 3.1616 0.198 lineto + 3.1608 0.288 lineto + 3.1602 0.3473 lineto + 3.1593 0.4189 lineto + 3.1579 0.5053 lineto + 3.156 0.6097 lineto + 3.1548 0.6698 lineto + 3.1533 0.7359 lineto + 3.1516 0.8085 lineto + 3.1495 0.8884 lineto + 3.1471 0.9763 lineto + 3.1443 1.073 lineto + 3.141 1.1795 lineto + 3.1383 1.2664 lineto + 3.1352 1.3598 lineto + 3.1318 1.4602 lineto + 3.1282 1.5682 lineto + 3.1168 1.8979 lineto + 3.1136 1.9909 lineto + 3.1102 2.0885 lineto + 3.1068 2.1909 lineto + 3.1032 2.2985 lineto + 3.0996 2.4114 lineto + 3.0968 2.4998 lineto + 3.094 2.5915 lineto + 3.0911 2.6865 lineto + 3.0882 2.7851 lineto + 3.0863 2.8528 lineto + 3.0843 2.9222 lineto + 3.0824 2.9932 lineto + 3.0804 3.066 lineto + 3.0785 3.1406 lineto + 3.0765 3.217 lineto + 3.0746 3.2952 lineto + 3.0727 3.3753 lineto + 3.0708 3.4574 lineto + 3.0688 3.5414 lineto + 3.0669 3.6275 lineto + 3.0651 3.7156 lineto + 3.0632 3.8059 lineto + 3.0614 3.8983 lineto + 3.0595 3.993 lineto + 3.0577 4.0899 lineto + 3.056 4.1891 lineto + 3.0542 4.2907 lineto + 3.0525 4.3948 lineto + 3.0508 4.5013 lineto + 3.0492 4.6103 lineto + 3.0476 4.722 lineto + 3.046 4.8363 lineto + 3.0444 4.9533 lineto + 3.0429 5.0731 lineto + 3.0414 5.1957 lineto + 3.0399 5.3213 lineto + 3.0385 5.4498 lineto + 3.0371 5.5813 lineto + 3.0503 5.674 lineto + 1.4765 6.2704 lineto + 3.0 6.378103166302659 lineto +0.02 setlinewidth 1 setlinecap stroke +% Real axis +newpath -5 0 moveto 5 0 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 1.0 0.12 moveto 1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.0 0.12 moveto -1.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 2.0 0.12 moveto 2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -2.0 0.12 moveto -2.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.0 0.12 moveto 3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.0 0.12 moveto -3.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 4.0 0.12 moveto 4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -4.0 0.12 moveto -4.0 -0.12 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 1.5707963267948966 0.09 moveto 1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -1.5707963267948966 0.09 moveto -1.5707963267948966 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 3.141592653589793 0.09 moveto 3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath -3.141592653589793 0.09 moveto -3.141592653589793 -0.09 lineto 0.015 setlinewidth 1 setlinecap stroke +% Imaginary axis +newpath 0 -5 moveto 0 5 lineto 0.008 setlinewidth 1 setlinecap stroke +newpath 0.12 1.0 moveto -0.12 1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -1.0 moveto -0.12 -1.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 2.0 moveto -0.12 2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -2.0 moveto -0.12 -2.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 3.0 moveto -0.12 3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -3.0 moveto -0.12 -3.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 4.0 moveto -0.12 4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.12 -4.0 moveto -0.12 -4.0 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 1.5707963267948966 moveto -0.09 1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -1.5707963267948966 moveto -0.09 -1.5707963267948966 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 3.141592653589793 moveto -0.09 3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +newpath 0.09 -3.141592653589793 moveto -0.09 -3.141592653589793 lineto 0.015 setlinewidth 1 setlinecap stroke +% End of PostScript file for plot of function SQRT-ONE-PLUS-SQUARE +%%EndDocument + @endspecial 117 x FA(The)18 b(graph)h(of)f Fq(q)s FA(\()p +Fq(z)5 b FA(\))19 b(=)387 1861 y Ff(p)p 419 1861 V 30 +x FA(1)9 b(+)f Fq(z)506 1881 y Fc(2)541 1891 y FA(lo)q(oks)19 +b(lik)o(e)h(that)e(of)g Fq(p)r FA(\()p Fq(z)5 b FA(\))19 +b(=)998 1861 y Ff(p)p 1030 1861 V 30 x FA(1)9 b Ff(\000)f +Fq(z)1117 1881 y Fc(2)1152 1891 y FA(except)18 b(for)g(the)0 +1937 y(shading.)h(Y)m(ou)12 b(migh)o(t)h(not)g(exp)q(ect)f +Fq(p)i FA(and)f Fq(q)i FA(to)e(b)q(e)f(related)h(in)h(the)e(same)g(w)o +(a)o(y)h(that)f Fj(cos)f FA(and)0 1983 y Fj(cosh)e FA(are,)i(but)g +(after)f(a)h(little)h(re\015ection)g(\(or)f(p)q(erhaps)h(I)e(should)j +(sa)o(y)m(,)e(after)f(turning)i(it)f(around)0 2028 y(in)j(one's)f +(mind\))h(one)g(can)g(see)f(that)g Fq(q)s FA(\()p Fq(iz)5 +b FA(\))10 b(=)h Fq(p)r FA(\()p Fq(z)5 b FA(\).)16 b(This)e(form)o(ula) +g(is)f(indeed)i(of)e(exactly)h(the)0 2074 y(same)h(form)g(as)g(cosh)7 +b Fq(iz)19 b FA(=)14 b(cos)7 b Fq(z)e FA(.)22 b(The)15 +b(function)755 2043 y Ff(p)p 787 2043 V 31 x FA(1)9 b(+)f +Fq(z)874 2063 y Fc(2)906 2074 y FA(maps)16 b(b)q(oth)f(halv)o(es)i(of)e +(the)g(real)0 2120 y(axis)g(in)o(to)g([1)p Fd(;)6 b FA(+)p +Ff(1)p FA(])14 b(on)g(the)g(real)h(axis.)21 b(The)14 +b(segmen)o(ts)h([0)p Fd(;)6 b Fq(i)t FA(])13 b(and)i([0)p +Fd(;)5 b Ff(\000)p Fq(i)t FA(])13 b(of)h(the)g(imaginary)0 +2165 y(axis)i(are)f(eac)o(h)g(mapp)q(ed)h(bac)o(kw)o(ards)f(on)o(to)g +(segmen)o(t)g([0)p Fd(;)6 b FA(1])15 b(of)f(the)h(real)h(axis;)g([)p +Fq(i)t Fd(;)5 b FA(+)p Ff(1)p Fq(i)t FA(])14 b(and)0 +2211 y([)p Ff(\000)p Fd(;)9 b Ff(\000)h(1)p Fq(i)t FA(])k(are)i(eac)o +(h)f(mapp)q(ed)h(on)o(to)g(the)f(p)q(ositiv)o(e)i(imaginary)h(axis)e +(\(but)f(if)g(min)o(us)i(zero)e(is)0 2257 y(supp)q(orted)h(then)f(opp)q +(osite)g(sides)h(of)e(the)g(imaginary)j(axis)e(map)g(to)f(opp)q(osite)i +(halv)o(es)f(of)f(the)0 2302 y(imaginary)h(axis|for)g(example,)f +Fd(q)q FA(\(+0)9 b(+)f(2)p Fq(i)t FA(\))j(=)734 2271 +y Ff(p)p 766 2271 20 2 v 31 x FA(5)p Fq(i)17 b FA(but)c +Fd(q)q FA(\()p Ff(\000)p FA(0)c(+)f(2)p Fq(i)t FA(\))j(=)f +Ff(\000)1144 2271 y(p)p 1176 2271 V 31 x FA(5)p Fq(i)t +FA(\).)p 0 2334 1395 2 v -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 361 385 +361 384 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(361)42 +295 y Fw(Here)13 b(is)f(a)h(sample)e(of)g(the)i(P)o(ostScript)h(co)q +(de)f(that)f(generated)i(\014gure)f(12-)o(1,)f(sho)o(wing)0 +347 y(the)i(initial)e(scaling,)g(translation,)h(and)g(clipping)f +(parameters;)h(the)i(co)q(de)f(for)f(one)h(sec-)0 399 +y(tor)i(of)f(the)i(innermost)e(ann)o(ulus;)h(and)g(the)h(co)q(de)g(for) +e(the)i(negativ)o(e)f(imaginary)d(axis.)0 450 y(Commen)o(t)e(lines)j +(indicate)f(ho)o(w)h(path)f(or)h(b)q(oundary)g(segmen)o(ts)f(w)o(ere)i +(generated)g(sep-)0 502 y(arately)i(and)f(then)i(spliced)f(\(in)g +(order)g(to)g(allo)o(w)e(for)i(the)g(places)h(that)e(a)h(singularit)o +(y)0 554 y(migh)o(t)12 b(lurk,)h(in)h(whic)o(h)g(case)h(the)g +(generating)f(co)q(de)h(can)f(\\inc)o(h)g(up")g(to)g(the)g(problem-)0 +606 y(atical)f(argumen)o(t)g(v)n(alue\).)42 658 y(The)e(size)g(of)f +(the)h(en)o(tire)h(P)o(ostScript)f(\014le)g(for)f(the)i +Fs(identity)d Fw(function)h(w)o(as)h(ab)q(out)f(68)0 +710 y(kilob)o(ytes)k(\(2757)g(lines,)g(including)g(commen)o(ts\).)19 +b(The)c(smallest)f(\014les)h(w)o(ere)h(the)f(plots)0 +762 y(for)f Fs(atan)f Fw(and)i Fs(atanh)p Fw(,)e(ab)q(out)h(65)g(kilob) +o(ytes)f(apiece;)i(the)g(largest)g(w)o(ere)g(the)g(plots)f(for)0 +814 y Fs(sin)p Fw(,)f Fs(cos)p Fw(,)f Fs(sinh)p Fw(,)h(and)h +Fs(cosh)p Fw(,)e(ab)q(out)i(138)f(kilob)o(ytes)h(apiece.)0 +913 y Fj(\045)k(PostScript)d(file)i(for)h(plot)f(of)h(function)d +(IDENTITY)0 959 y(\045)j(Plot)f(is)h(to)g(fit)g(in)g(a)g(region)e +(4.66666666)o(666)o(666)o(7)f(inches)i(square)0 1005 +y(\045)37 b(showing)16 b(axes)h(extending)e(4.1)j(units)f(from)g(the)g +(origin.)0 1096 y(40.9756097)o(56)o(097)o(56)e(40.9756097)o(56)o(097)o +(56)g(scale)0 1142 y(4.1)j(4.1)f(translate)0 1187 y(newpath)37 +1233 y(-4.1)g(-4.1)h(moveto)37 1279 y(4.1)g(-4.1)f(lineto)37 +1324 y(4.1)h(4.1)f(lineto)37 1370 y(-4.1)g(4.1)h(lineto)37 +1416 y(closepath)0 1461 y(clip)0 1507 y(\045)g(Moby)f(grid)h(for)f +(function)f(IDENTITY)0 1553 y(\045)i(Annulus)e(0.25)h(0.5)h(4)g(0.97)f +(0.45)0 1598 y(\045)h(Sector)f(from)g(4.7124)f(to)i(6.2832)e +(\(quadrant)g(3\))0 1644 y(newpath)37 1689 y(0.0)i(-0.25)f(moveto)37 +1735 y(0.0)h(-0.375)e(lineto)37 1781 y(\045middle)g(radial)37 +1826 y(0.0)i(-0.375)e(lineto)37 1872 y(0.0)i(-0.5)f(lineto)37 +1918 y(\045end)g(radial)37 1963 y(0.0)h(-0.5)f(lineto)37 +2009 y(0.092)g(-0.4915)f(lineto)37 2055 y(0.1843)h(-0.4648)f(lineto)37 +2100 y(0.273)h(-0.4189)f(lineto)37 2146 y(0.3536)h(-0.3536)f(lineto)37 +2192 y(\045middle)g(circumfere)o(nti)o(al)37 2237 y(0.3536)h(-0.3536)f +(lineto)37 2283 y(0.413)h(-0.2818)f(lineto)37 2329 y(0.4594)h(-0.1974)f +(lineto)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 362 386 +362 385 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(362)77 b(COMMON)13 +b(LISP)37 295 y Fj(0.4894)k(-0.1024)f(lineto)37 340 y(0.5)i(0.0)f +(lineto)37 386 y(\045end)g(circumferen)o(ti)o(al)37 432 +y(0.5)h(0.0)f(lineto)37 477 y(0.375)g(0.0)h(lineto)37 +523 y(\045middle)e(radial)37 569 y(0.375)h(0.0)h(lineto)37 +614 y(0.25)f(0.0)h(lineto)37 660 y(\045end)f(radial)37 +706 y(0.25)g(0.0)h(lineto)37 751 y(0.2297)f(-0.0987)f(lineto)37 +797 y(0.1768)h(-0.1768)f(lineto)37 843 y(\045middle)g(circumfere)o(nti) +o(al)37 888 y(0.1768)h(-0.1768)f(lineto)37 934 y(0.0922)h(-0.2324)f +(lineto)37 980 y(0.0)i(-0.25)f(lineto)37 1025 y(\045end)g(circumferen)o +(ti)o(al)37 1071 y(closepath)0 1117 y(currentgra)o(y)53 +b(0.45)17 b(setgray)53 b(fill)i(setgray)0 1165 y FA([2598)13 +b(lines)i(omitted])0 1212 y Fj(\045)j(Vertical)e(line)h(from)g(\(0.0,)g +(-0.5\))g(to)h(\(0.0,)e(0.0\))0 1258 y(newpath)37 1304 +y(0.0)i(-0.5)f(moveto)37 1349 y(0.0)h(0.0)f(lineto)0 +1395 y(0.05)g(setlinewid)o(th)53 b(1)18 b(setlineca)o(p)34 +b(stroke)0 1441 y(\045)18 b(Vertical)e(line)h(from)g(\(0.0,)g(-0.5\))g +(to)h(\(0.0,)e(-1.0\))0 1486 y(newpath)37 1532 y(0.0)i(-0.5)f(moveto)37 +1578 y(0.0)h(-1.0)f(lineto)0 1623 y(0.05)g(setlinewid)o(th)53 +b(1)18 b(setlineca)o(p)34 b(stroke)0 1669 y(\045)18 b(Vertical)e(line)h +(from)g(\(0.0,)g(-2.0\))g(to)h(\(0.0,)e(-1.0\))0 1715 +y(newpath)37 1760 y(0.0)i(-2.0)f(moveto)37 1806 y(0.0)h(-1.0)f(lineto)0 +1852 y(0.05)g(setlinewid)o(th)53 b(1)18 b(setlineca)o(p)34 +b(stroke)0 1897 y(\045)18 b(Vertical)e(line)h(from)g(\(0.0,)g(-2.0\))g +(to)h(\(0.0,)e(-1.1579208)o(923)o(731)o(61)o(7E7)o(7\))0 +1943 y(newpath)37 1989 y(0.0)i(-2.0)f(moveto)37 2034 +y(0.0)h(-6.3553)e(lineto)37 2080 y(0.0)i(-6.378103)o(166)o(30)o(265)o +(9)e(lineto)37 2126 y(0.0)i(-6.378103)o(166)o(30)o(265)o(9)e(lineto)37 +2171 y(0.0)i(-6.378103)o(166)o(30)o(265)o(9)e(lineto)0 +2217 y(0.05)h(setlinewid)o(th)e(1)j(setlinecap)d(stroke)0 +2265 y FA([84)e(lines)i(omitted])0 2313 y Fj(\045)j(End)g(of)g +(PostScrip)o(t)e(file)h(for)g(plot)g(of)h(function)e(IDENTITY)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 363 387 +363 386 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(363)42 +295 y Fw(Here)21 b(is)f(the)h(program)e(that)h(generated)i(the)f(P)o +(ostScript)g(co)q(de)h(for)e(the)h(graphs)0 347 y(sho)o(wn)16 +b(in)g(\014gures)h(12-)o(1)f(through)g(12-20.)24 b(It)16 +b(con)o(tains)g(a)g(mixture)f(of)h(fairly)f(general)0 +399 y(mec)o(hanisms)i(and)i Fv(ad)i(ho)n(c)e Fw(kludges)h(for)f +(plotting)f(functions)h(of)g(a)g(single)g(complex)0 450 +y(argumen)o(t)13 b(while)g(gracefully)g(handling)g(extremely)g(large)h +(and)g(small)d(v)n(alues,)i(branc)o(h)0 502 y(cuts,)k(singularities,)f +(and)g(p)q(erio)q(dic)h(b)q(eha)o(vior.)25 b(The)17 b(aim)d(w)o(as)i +(to)g(pro)o(vide)g(a)g(simple)0 554 y(user)h(in)o(terface)f(that)f(w)o +(ould)g(not)h(require)g(the)g(caller)g(to)f(pro)o(vide)h(sp)q(ecial)f +(advice)h(for)0 606 y(eac)o(h)10 b(function)f(to)g(b)q(e)h(plotted.)17 +b(The)10 b(\014le)f(for)g(\014gure)h(12-1,)f(for)g(example,)g(w)o(as)g +(generated)0 658 y(b)o(y)21 b(the)g(call)f Fs(\(picture)419 +662 y Fn(')443 658 y Fs(identity\))p Fw(,)g(whic)o(h)g(resulted)i(in)f +(the)g(writing)f(of)g(a)h(\014le)0 710 y(named)13 b Fs +(identity-plot.ps)o Fw(.)42 762 y(The)k(program)e(assumes)h(that)h(an)o +(y)f(p)q(erio)q(dic)h(b)q(eha)o(vior)g(will)e(ha)o(v)o(e)h(a)h(p)q +(erio)q(d)g(that)0 814 y(is)i(a)g(m)o(ultiple)e(of)i(2)p +Fh(\031)q Fw(;)i(that)f(branc)o(h)f(cuts)i(will)c(fall)h(along)g(the)i +(real)f(or)h(imaginary)0 866 y(axis;)12 b(and)g(that)h(singularities)f +(or)g(v)o(ery)h(large)f(or)g(small)e(v)n(alues)j(will)e(o)q(ccur)i +(only)f(at)g(the)0 918 y(origin,)e(at)g Ft(\006)p Fw(1)h(or)f +Ft(\006)p Fv(i)t Fw(,)h(or)g(on)g(the)g(b)q(oundaries)g(of)f(the)h(ann) +o(uli)f(\(particularly)g(those)h(with)0 969 y(radius)17 +b Fh(\031)q(=)p Fw(2)g(or)f Fh(\031)q Fw(\).)28 b(The)17 +b(cen)o(tral)h(function)e(is)h Fs(parametric-path)p Fw(,)d(whic)o(h)j +(accepts)0 1021 y(four)h(argumen)o(ts:)25 b(t)o(w)o(o)18 +b(real)g(n)o(um)o(b)q(ers)g(that)g(are)h(the)f(endp)q(oin)o(ts)h(of)e +(an)h(in)o(terv)n(al)f(of)0 1073 y(real)f(n)o(um)o(b)q(ers,)f(a)g +(function)h(that)f(maps)g(this)h(in)o(terv)n(al)e(in)o(to)h(a)h(path)f +(in)h(the)g(complex)0 1125 y(plane,)k(and)f(the)h(function)f(to)g(b)q +(e)h(plotted;)i(the)e(task)f(of)g Fs(parametric-path)d +Fw(is)j(to)0 1177 y(generate)i(P)o(ostScript)f(co)q(de)g(\(a)f(series)i +(of)e Fs(lineto)f Fw(op)q(erations\))i(that)f(will)f(plot)h(an)0 +1229 y(appro)o(ximation)d(to)i(the)h(image)e(of)h(the)h(parametric)f +(path)g(as)h(transformed)f(b)o(y)g(the)0 1281 y(function)13 +b(to)h(b)q(e)g(plotted.)k(Eac)o(h)c(of)f(the)h(functions)g +Fs(hline)p Fw(,)e Fs(vline)p Fw(,)h Fs(-hline)p Fw(,)e +Fs(-vline)p Fw(,)0 1333 y Fs(radial)p Fw(,)16 b(and)h +Fs(circumferential)d Fw(tak)o(es)k(appropriate)f(parameters)g(and)g +(returns)i(a)0 1385 y(function)11 b(suitable)g(for)g(use)i(as)e(the)h +(third)g(argumen)o(t)e(to)h Fs(parametric-path)p Fw(.)j(There)f(is)0 +1436 y(some)f(co)q(de)i(that)e(defends)i(against)e(errors)i(\(b)o(y)f +(using)g Fs(ignore-errors)p Fw(\))d(and)i(against)0 1488 +y(certain)k(p)q(eculiarities)g(of)f(IEEE)i(\015oating-p)q(oin)o(t)d +(arithmetic)h(\(the)h(co)q(de)h(that)e(c)o(hec)o(ks)0 +1540 y(for)f(not-a-n)o(um)o(b)q(er)e(\(NaN\))i(results\).)42 +1592 y(The)g(program)e(is)i(o\013ered)h(here)g(without)e(further)i +(commen)o(t)d(or)i(ap)q(ology)m(.)0 1689 y Fj(\(defparame)o(te)o(r)i +(units-to-)o(sh)o(ow)f(4.1\))0 1735 y(\(defparame)o(te)o(r)h(text-widt) +o(h-)o(in-)o(pi)o(cas)f(28.0\))0 1781 y(\(defparame)o(te)o(r)h +(device-pi)o(xe)o(ls-)o(pe)o(r-i)o(nch)f(300\))0 1826 +y(\(defparame)o(te)o(r)h(pixels-pe)o(r-)o(uni)o(t)37 +1872 y(\(*)i(\(/)g(\(/)g(text-width)o(-i)o(n-p)o(ica)o(s)d(6\))149 +1918 y(\(*)j(units-to-s)o(how)d(2\)\))93 1963 y(device-pixe)o(ls)o(-pe) +o(r-)o(inc)o(h\)\))0 2055 y(\(defparame)o(te)o(r)h(big)h(\(sqrt)g +(\(sqrt)g(most-posi)o(ti)o(ve-)o(si)o(ngl)o(e-f)o(lo)o(at\))o(\)\))0 +2100 y(\(defparame)o(te)o(r)f(tiny)h(\(sqrt)g(\(sqrt)f(least-posi)o +(tiv)o(e-)o(sin)o(gle)o(-f)o(loa)o(t\))o(\)\))0 2192 +y(\(defparame)o(te)o(r)g(path-real)o(ly)o(-lo)o(si)o(ng)f(1000.0\))0 +2237 y(\(defparame)o(te)o(r)h(path-oute)o(r-)o(lim)o(it)f(\(*)j +(units-to-s)o(ho)o(w)e(\(sqrt)g(2\))i(1.1\)\))0 2283 +y(\(defparame)o(te)o(r)e(path-mini)o(ma)o(l-d)o(el)o(ta)f(\(/)j(10)g +(pixels-per)o(-un)o(it)o(\)\))0 2329 y(\(defparame)o(te)o(r)e +(path-oute)o(r-)o(del)o(ta)f(\(*)j(path-outer)o(-l)o(imi)o(t)e(0.3\)\)) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 364 388 +364 387 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(364)77 b(COMMON)13 +b(LISP)0 295 y Fj(\(defparame)o(te)o(r)j(path-rela)o(ti)o(ve-)o(cl)o +(ose)o(nes)o(s)f(0.00001\))0 340 y(\(defparame)o(te)o(r)h(back-off-)o +(de)o(lta)f(0.0005\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 365 389 +365 388 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(365)0 +295 y Fj(\(defun)16 b(comment-li)o(ne)f(\(stream)h(&rest)h(stuff\))37 +340 y(\(format)f(stream)h(")348 343 y Fs(~)368 340 y +Fj(\045\045)h("\))37 386 y(\(apply)f(#)174 383 y(-)174 +389 y(-)n Fs(')212 386 y Fj(format)f(stream)h(stuff\))37 +432 y(\(format)f(t)j(")250 435 y Fs(~)270 432 y Fj(\045\045)f("\))37 +477 y(\(apply)f(#)174 474 y(-)174 480 y(-)n Fs(')212 +477 y Fj(format)f(t)j(stuff\)\))0 569 y(\(defun)d(parametric)o(-pa)o +(th)f(\(from)i(to)h(paramfn)e(plotfn\))37 614 y(\(assert)g(\(and)h +(\(plusp)g(from\))g(\(plusp)f(to\)\)\))37 660 y(\(flet)h(\(\(domainva)o +(l)f(\(x\))h(\(funcall)f(paramfn)g(x\)\))168 706 y(\(rangeval)f(\(x\))j +(\(funcall)d(plotfn)i(\(funcall)e(paramfn)h(x\)\)\))168 +751 y(\(losing)g(\(x\))i(\(or)f(\(null)g(x\))467 797 +y(\(/)507 794 y(U)507 800 y(U)545 797 y(\(realpar)o(t)f(x\))i +(\(realpart)d(x\)\))36 b(;NaN?)467 843 y(\(/)507 840 +y(U)507 846 y(U)545 843 y(\(imagpar)o(t)16 b(x\))i(\(imagpart)d(x\)\)) +36 b(;NaN?)467 888 y(\(>)18 b(\(abs)f(\(realpart)e(x\)\))j(path-real)o +(ly-)o(lo)o(sin)o(g\))467 934 y(\(>)g(\(abs)f(\(imagpart)e(x\)\))j +(path-real)o(ly-)o(lo)o(sin)o(g\))o(\)\)\))75 980 y(\(when)e(\(>)i(to)g +(1000.0\))112 1025 y(\(let)f(\(\(f0)g(\(rangeval)f(from\)\))224 +1071 y(\(f1)i(\(rangeval)d(\(+)j(from)f(1\)\)\))224 1117 +y(\(f2)h(\(rangeval)d(\(+)j(from)f(\(*)h(2)g(pi\)\)\)\))224 +1162 y(\(f3)g(\(rangeval)d(\(+)j(from)f(1)h(\(*)g(2)g(pi\)\)\)\))224 +1208 y(\(f4)g(\(rangeval)d(\(+)j(from)f(\(*)h(4)g(pi\)\)\)\)\))149 +1254 y(\(flet)f(\(\(close)f(\(x)i(y\))318 1299 y(\(or)f(\(<)h +(\(careful-a)o(bs)d(\(-)j(x)g(y\)\))g(path-mini)o(mal)o(-d)o(elt)o(a\)) +392 1345 y(\(<)g(\(careful-a)o(bs)d(\(-)j(x)g(y\)\))448 +1391 y(\(*)g(\(+)g(\(careful-a)o(bs)d(x\))j(\(careful-a)o(bs)d(y\)\)) +504 1436 y(path-relat)o(ive)o(-cl)o(os)o(ene)o(ss)o(\)\)\))o(\)\))187 +1482 y(\(when)i(\(and)g(\(close)f(f0)i(f2\))392 1528 +y(\(close)f(f2)h(f4\))392 1573 y(\(close)f(f1)h(f3\))392 +1619 y(\(or)g(\(and)f(\(close)f(f0)i(f1\))560 1665 y(\(close)f(f2)h +(f3\)\))467 1710 y(\(and)f(\(not)g(\(close)g(f0)h(f1\)\))560 +1756 y(\(not)g(\(close)e(f2)i(f3\)\)\)\)\))224 1802 y(\(format)e(t)i(") +436 1805 y Fs(~)457 1802 y Fj(&Periodic)o(it)o(y)e(detected.)o("\))224 +1847 y(\(setq)h(to)h(\(+)g(from)f(\(*)h(\(signum)e(\(-)i(to)g(from\)\)) +e(2)i(pi\)\)\)\)\)\)\))93 1893 y(\(let)g(\(\(fromra)o(nge)d(\(ignore-e) +o(rro)o(rs)g(\(rangeval)g(from\)\)\))187 1939 y(\(torange)g +(\(ignore-err)o(or)o(s)h(\(rangeval)f(to\)\)\)\))112 +1984 y(\(if)j(\(losing)e(fromrang)o(e\))187 2030 y(\(if)h(\(losing)f +(torange\))260 2079 y Fs(')280 2076 y Fj(\(\))262 2121 +y(\(paramet)o(ric)o(-p)o(ath)f(\(back-off)g(from)i(to\))h(to)g(paramfn) +e(plotfn\)\))187 2167 y(\(if)h(\(losing)f(torange\))262 +2213 y(\(paramet)o(ric)o(-p)o(ath)f(from)i(\(back-off)e(to)j(from\))f +(paramfn)f(plotfn\))262 2258 y(\(expand-)o(pat)o(h)g(\(refine-)o(pat)o +(h)g(\(list)g(from)h(to\))h(#)1061 2255 y(-)1061 2261 +y(-)n Fs(')1099 2258 y Fj(rangeval\))504 2304 y(#)504 +2301 y(-)504 2307 y(-)n Fs(')543 2304 y Fj(rangeval\))o(\)\))o(\)\)\)) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 366 390 +366 389 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(366)77 b(COMMON)13 +b(LISP)0 295 y Fj(\(defun)j(back-off)g(\(point)g(other\))37 +340 y(\(if)i(\(or)f(\(>)h(point)f(10.0\))g(\(<)h(point)e(0.1\)\))112 +386 y(\(let)h(\(\(sp)g(\(sqrt)g(point\)\)\))149 432 y(\(if)h(\(or)f +(\(>)h(point)f(sp)h(other\))e(\(<)i(point)f(sp)h(other\)\))224 +477 y(sp)224 523 y(\(*)g(sp)g(\(sqrt)f(other\)\)\)\))112 +569 y(\(+)h(point)f(\(*)h(\(signum)e(\(-)i(other)e(point\)\))g +(back-off-d)o(elt)o(a\))o(\)\)\))0 660 y(\(defun)g(careful-ab)o(s)g +(\(z\))37 706 y(\(cond)h(\(\(or)g(\(>)h(\(realpart)d(z\))j(big\))243 +751 y(\(<)g(\(realpart)d(z\))j(\(-)g(big\)\))243 797 +y(\(>)g(\(imagpart)d(z\))j(big\))243 843 y(\(<)g(\(imagpart)d(z\))j +(\(-)g(big\)\)\))168 888 y(big\))149 934 y(\(\(complexp)d(z\))j(\(abs)f +(z\)\))149 980 y(\(\(minusp)f(z\))i(\(-)g(z\)\))149 1025 +y(\(t)g(z\)\)\))0 1142 y(\(defparame)o(te)o(r)e(max-refin)o(em)o(ent)o +(s)g(5000\))0 1233 y(\(defun)g(refine-pat)o(h)g(\(original)o(-pa)o(th)f +(rangevalfn)o(\))37 1279 y(\(flet)i(\(\(rangeval)e(\(x\))i(\(funcall)f +(rangevalfn)f(x\)\)\))75 1324 y(\(let)i(\(\(path)f(original-p)o(ath)o +(\)\))112 1370 y(\(do)i(\(\(j)f(0)h(\(+)g(j)h(1\)\)\))187 +1416 y(\(\(null)d(\(rest)h(path\)\)\))149 1461 y(\(when)g(\(zerop)g +(\(mod)g(\(+)h(j)g(1\))g(max-refin)o(eme)o(nt)o(s\)\))262 +1507 y(\(break)e("Runaway)f(path"\)\))149 1553 y(\(let*)i(\(\(from)g +(\(first)f(path\)\))280 1598 y(\(to)i(\(second)e(path\)\))280 +1644 y(\(fromrange)f(\(rangeval)g(from\)\))280 1689 y(\(torange)h +(\(rangeval)f(to\)\))280 1735 y(\(dist)i(\(careful-)o(abs)e(\(-)j +(torange)e(fromrange)o(\)\)\))280 1781 y(\(mid)h(\(*)h(\(sqrt)f(from\)) +g(\(sqrt)f(to\)\)\))280 1826 y(\(midrange)f(\(rangeval)h(mid\)\)\))187 +1872 y(\(cond)h(\(\(or)g(\(and)g(\(far-out)e(fromrange\))g(\(far-out)h +(torange\)\))392 1918 y(\(and)h(\(<)h(dist)f(path-minima)o(l-)o(del)o +(ta\))486 1963 y(\(<)h(\(abs)f(\(-)h(midrange)d(fromrange\))o(\))542 +2009 y(path-mini)o(ma)o(l-d)o(elt)o(a\))486 2055 y(;;)j(Next)f(test)g +(is)h(intention)o(all)o(y)d(asymmetric)g(to)486 2100 +y(;;)36 b(avoid)17 b(problems)f(with)h(periodic)e(functions.)486 +2146 y(\(<)j(\(abs)f(\(-)h(\(rangeval)d(\(/)j(\(+)g(to)g(\(*)f(from)h +(1.5\)\))934 2192 y(2.5\)\))691 2237 y(fromrange\))o(\))542 +2283 y(path-mini)o(ma)o(l-d)o(elt)o(a\))o(\)\))318 2329 +y(\(pop)f(path\)\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 367 391 +367 390 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(367)299 +295 y Fj(\(\()339 292 y(U)339 298 y(U)376 295 y(mid)18 +b(from\))f(\(pop)g(path\)\))299 340 y(\(\()339 337 y(U)339 +343 y(U)376 340 y(mid)h(to\))f(\(pop)h(path\)\))299 386 +y(\(t)g(\(setf)f(\(rest)f(path\))h(\(cons)g(mid)g(\(rest)g +(path\)\)\)\)\)\))o(\)\))o(\))37 432 y(original-p)o(ath)o(\))0 +523 y(\(defun)f(expand-pat)o(h)g(\(path)h(rangeval)o(fn\))37 +569 y(\(flet)g(\(\(rangeval)e(\(x\))i(\(funcall)f(rangevalfn)f(x\)\)\)) +75 614 y(\(let)i(\(\(final-p)o(ath)e(\(list)i(\(rangeval)e(\(first)h +(path\)\)\)\)\))112 660 y(\(do)i(\(\(p)f(\(rest)g(path\))g(\(cdr)g +(p\)\)\))187 706 y(\(\(null)f(p\))205 751 y(\(unless)g(\(rest)h +(final-path)o(\))243 797 y(\(break)f("Singleton)f(path"\)\))205 +843 y(\(reverse)h(final-path)o(\)\))149 888 y(\(let)i(\(\(v)f +(\(rangeval)e(\(car)i(p\)\)\)\))187 934 y(\(cond)g(\(\(and)f(\(rest)h +(final-path)o(\))411 980 y(\(not)g(\(far-out)f(v\)\))411 +1025 y(\(not)h(\(far-out)f(\(first)g(final-path)o(\)\))o(\))411 +1071 y(\(between)g(v)i(\(first)e(final-path)o(\))616 +1117 y(\(second)g(final-path\))o(\)\))318 1162 y(\(setf)g(\(first)h +(final-pat)o(h\))e(v\)\))299 1208 y(\(\(null)h(\(rest)h(p\)\))55 +b(;Mustn)785 1211 y Fs(')803 1208 y Fj(t)19 b(omit)e(last)g(point)318 +1254 y(\(push)f(v)j(final-pat)o(h\))o(\))299 1299 y(\(\(<)e(\(abs)h +(\(-)f(v)i(\(first)d(final-path)o(\)\))o(\))g(path-mini)o(mal)o(-d)o +(elt)o(a\))o(\))299 1345 y(\(\(far-out)f(v\))318 1391 +y(\(unless)h(\(and)h(\(far-out)e(\(first)i(final-pat)o(h\))o(\))560 +1436 y(\(<)h(\(abs)f(\(-)h(v)h(\(first)d(final-path)o(\)\))o(\))616 +1482 y(path-outer-)o(de)o(lta)o(\)\))355 1528 y(\(push)h(\(*)h(1.01)f +(path-oute)o(r-)o(lim)o(it)e(\(signum)h(v\)\))467 1573 +y(final-path)o(\)\))o(\))299 1619 y(\(t)i(\(push)f(v)h(final-pat)o +(h\)\))o(\)\))o(\)\)\))o(\))0 1710 y(\(defun)e(far-out)g(\(x\))37 +1756 y(\(>)i(\(careful-a)o(bs)d(x\))j(path-outer)o(-li)o(mi)o(t\)\))0 +1847 y(\(defparame)o(te)o(r)e(between-t)o(ol)o(era)o(nc)o(e)g +(0.000001\))0 1939 y(\(defun)g(between)g(\(p)i(q)h(r\))37 +1984 y(\(let)e(\(\(px)h(\(realpart)d(p\)\))i(\(py)h(\(imagpart)d(p\)\)) +149 2030 y(\(qx)j(\(realpart)d(q\)\))j(\(qy)f(\(imagpart)e(q\)\))149 +2076 y(\(rx)j(\(realpart)d(r\)\))j(\(ry)f(\(imagpart)e(r\)\)\))75 +2121 y(\(and)i(\(or)g(\(<)289 2118 y(U)289 2124 y(U)327 +2121 y(px)h(qx)g(rx\))f(\(>)560 2118 y(U)560 2124 y(U)598 +2121 y(px)h(qx)g(rx\)\))168 2167 y(\(or)g(\(<)286 2164 +y(U)286 2170 y(U)323 2167 y(py)g(qy)g(ry\))f(\(>)556 +2164 y(U)556 2170 y(U)594 2167 y(py)h(qy)g(ry\)\))168 +2213 y(\(<)g(\(abs)f(\(-)h(\(*)g(\(-)g(qx)g(px\))f(\(-)h(ry)g(qy\)\)) +374 2258 y(\(*)g(\(-)f(rx)h(qx\))g(\(-)g(qy)g(py\)\)\)\))224 +2304 y(between-to)o(ler)o(an)o(ce\))o(\)\))o(\))-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 368 392 +368 391 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(368)77 b(COMMON)13 +b(LISP)0 295 y Fj(\(defun)j(circle)h(\(radius\))37 340 +y(#)37 337 y(-)37 343 y(-)n Fs(')76 340 y Fj(\(lambda)f(\(angle\))g +(\(*)i(radius)e(\(cis)h(angle\)\)\)\))0 432 y(\(defun)f(hline)h +(\(imag\))37 477 y(#)37 474 y(-)37 480 y(-)n Fs(')76 +477 y Fj(\(lambda)f(\(real\))g(\(complex)g(real)h(imag\)\)\))0 +569 y(\(defun)f(vline)h(\(real\))37 614 y(#)37 611 y(-)37 +617 y(-)n Fs(')76 614 y Fj(\(lambda)f(\(imag\))g(\(complex)g(real)h +(imag\)\)\))0 706 y(\(defun)f(-hline)h(\(imag\))37 751 +y(#)37 748 y(-)37 754 y(-)n Fs(')76 751 y Fj(\(lambda)f(\(real\))g +(\(complex)g(\(-)h(real\))g(imag\)\)\))0 843 y(\(defun)f(-vline)h +(\(real\))37 888 y(#)37 885 y(-)37 891 y(-)n Fs(')76 +888 y Fj(\(lambda)f(\(imag\))g(\(complex)g(real)h(\(-)h(imag\)\)\)\))0 +980 y(\(defun)e(radial)h(\(phi)g(quadrant\))37 1025 y(#)37 +1022 y(-)37 1028 y(-)n Fs(')76 1025 y Fj(\(lambda)f(\(rho\))g +(\(repair-qua)o(dr)o(ant)f(\(*)j(rho)f(\(cis)g(phi\)\))g(quadrant\)\))o +(\))0 1117 y(\(defun)f(circumfere)o(nti)o(al)f(\(rho)i(quadrant\))37 +1162 y(#)37 1159 y(-)37 1165 y(-)n Fs(')76 1162 y Fj(\(lambda)f +(\(phi\))g(\(repair-qua)o(dr)o(ant)f(\(*)j(rho)f(\(cis)g(phi\)\))g +(quadrant\)\))o(\))0 1254 y(;;;)h(Quadrant)d(is)j(0,)g(1,)g(2,)g(or)g +(3,)g(meaning)e(I,)h(II,)h(III,)f(or)h(IV.)0 1345 y(\(defun)e +(repair-qua)o(dra)o(nt)f(\(z)j(quadrant\))37 1391 y(\(complex)e(\(*)i +(\(+)g(\(abs)f(\(realpart)e(z\)\))j(tiny\))262 1436 y(\(case)e +(quadrant)g(\(0)i(1.0\))f(\(1)h(-1.0\))f(\(2)g(-1.0\))g(\(3)h +(1.0\)\)\))205 1482 y(\(*)g(\(+)g(\(abs)f(\(imagpart)f(z\)\))h(tiny\)) +262 1528 y(\(case)f(quadrant)g(\(0)i(1.0\))f(\(1)h(1.0\))f(\(2)h +(-1.0\))f(\(3)h(-1.0\)\)\)\))o(\))0 1619 y(\(defun)e(clamp-real)f +(\(x\))37 1665 y(\(if)j(\(far-out)d(x\))112 1710 y(\(*)j(\(signum)e +(x\))i(path-oute)o(r-l)o(im)o(it\))112 1756 y(\(round-rea)o(l)e +(x\)\)\))0 1847 y(\(defun)g(round-real)f(\(x\))37 1893 +y(\(/)j(\(round)f(\(*)h(x)g(10000.0\)\))d(10000.0\)\))0 +1984 y(\(defun)h(round-poin)o(t)g(\(z\))37 2030 y(\(complex)g +(\(round-re)o(al)f(\(realpart)h(z\)\))h(\(round-rea)o(l)f(\(imagpar)o +(t)g(z\)\)\)\))0 2121 y(\(defparame)o(te)o(r)g(hiringsha)o(de)f(0.97\)) +0 2167 y(\(defparame)o(te)o(r)h(loringsha)o(de)f(0.45\))0 +2258 y(\(defparame)o(te)o(r)h(ticklengt)o(h)f(0.12\))0 +2304 y(\(defparame)o(te)o(r)h(smalltick)o(le)o(ngt)o(h)g(0.09\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 369 393 +369 392 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(369)0 +295 y Fj(;;;)18 b(This)f(determine)o(s)e(the)j(pattern)e(of)i(lines)f +(and)g(annuli)g(to)g(be)h(drawn.)0 340 y(\(defun)e(moby-grid)g +(\(&option)o(al)f(\(fn)622 343 y Fs(')643 340 y Fj(sqrt\))h(\(stream)g +(t\)\))37 386 y(\(comment-l)o(ine)f(stream)h("Moby)h(grid)g(for)h +(function)913 389 y Fs(~)933 386 y Fj(S")g(fn\))37 432 +y(\(shaded-an)o(nul)o(us)d(0.25)i(0.5)h(4)g(hiringshad)o(e)e(loringsha) +o(de)f(fn)j(stream\))37 477 y(\(shaded-an)o(nul)o(us)d(0.75)i(1.0)h(8)g +(hiringshad)o(e)e(loringsha)o(de)f(fn)j(stream\))37 523 +y(\(shaded-an)o(nul)o(us)d(\(/)j(pi)g(2\))g(2.0)f(16)h(hiringshade)d +(loringsha)o(de)g(fn)j(stream\))37 569 y(\(shaded-an)o(nul)o(us)d(3)k +(pi)e(32)h(hiringshad)o(e)e(loringsha)o(de)f(fn)j(stream\))37 +614 y(\(moby-line)o(s)e(:horizont)o(al)f(1.0)j(fn)g(stream\))37 +660 y(\(moby-line)o(s)e(:horizont)o(al)f(-1.0)i(fn)h(stream\))37 +706 y(\(moby-line)o(s)e(:vertical)f(1.0)j(fn)f(stream\))37 +751 y(\(moby-line)o(s)f(:vertical)f(-1.0)i(fn)h(stream\))37 +797 y(\(let)f(\(\(tickline)e(0.015\))149 843 y(\(axisline)h(0.008\)\)) +75 888 y(\(flet)g(\(\(tick)h(\(n\))g(\(straight-)o(lin)o(e)f(\(complex) +f(n)k(tickleng)o(th\))672 934 y(\(complex)d(n)i(\(-)g(ticklength)o +(\)\))672 980 y(tickline)672 1025 y(stream\)\))205 1071 +y(\(smalltick)d(\(n\))j(\(straight)o(-li)o(ne)d(\(complex)h(n)i +(smalltick)o(len)o(gth)o(\))766 1117 y(\(complex)d(n)k(\(-)f(smalltick) +o(le)o(ngt)o(h\))o(\))766 1162 y(tickline)766 1208 y(stream\)\)\))112 +1254 y(\(comment-l)o(in)o(e)e(stream)g("Real)h(axis"\))112 +1299 y(\(straight-)o(li)o(ne)e(#)405 1296 y(-)405 1302 +y(-)425 1299 y(c\(-5)i(0\))h(#)580 1296 y(-)580 1302 +y(-)600 1299 y(c\(5)f(0\))h(axisline)e(stream\))112 1345 +y(\(dotimes)g(\(j)i(\(floor)e(units-to-)o(sho)o(w\)\))149 +1391 y(\(let)i(\(\(q)f(\(+)h(j)g(1\)\)\))f(\(tick)g(q\))h(\(tick)f(\(-) +h(q\)\)\)\))112 1436 y(\(dotimes)e(\(j)i(\(floor)e(units-to-)o(sho)o(w) +g(\(/)i(pi)f(2\)\)\))149 1482 y(\(let)h(\(\(q)f(\(*)h(\(/)g(pi)g(2\))g +(\(+)g(j)g(1\)\)\)\))187 1528 y(\(smalltic)o(k)e(q\))187 +1573 y(\(smalltic)o(k)g(\(-)i(q\)\)\)\)\))75 1619 y(\(flet)e(\(\(tick)h +(\(n\))g(\(straight-)o(lin)o(e)f(\(complex)f(ticklength)g(n\))672 +1665 y(\(complex)h(\(-)i(ticklengt)o(h\))d(n\))672 1710 +y(tickline)672 1756 y(stream\)\))205 1802 y(\(smalltick)g(\(n\))j +(\(straight)o(-li)o(ne)d(\(complex)h(smalltick)o(le)o(ngt)o(h)g(n\))766 +1847 y(\(complex)f(\(-)j(smalltickle)o(ng)o(th\))d(n\))766 +1893 y(tickline)766 1939 y(stream\)\)\))112 1984 y(\(comment-l)o(in)o +(e)h(stream)g("Imaginary)f(axis"\))112 2030 y(\(straight-)o(li)o(ne)g +(#)405 2027 y(-)405 2033 y(-)425 2030 y(c\(0)i(-5\))h(#)580 +2027 y(-)580 2033 y(-)600 2030 y(c\(0)f(5\))h(axisline)e(stream\))112 +2076 y(\(dotimes)g(\(j)i(\(floor)e(units-to-)o(sho)o(w\)\))149 +2121 y(\(let)i(\(\(q)f(\(+)h(j)g(1\)\)\))f(\(tick)g(q\))h(\(tick)f(\(-) +h(q\)\)\)\))112 2167 y(\(dotimes)e(\(j)i(\(floor)e(units-to-)o(sho)o(w) +g(\(/)i(pi)f(2\)\)\))149 2213 y(\(let)h(\(\(q)f(\(*)h(\(/)g(pi)g(2\))g +(\(+)g(j)g(1\)\)\)\))187 2258 y(\(smalltic)o(k)e(q\))187 +2304 y(\(smalltic)o(k)g(\(-)i(q\)\)\)\)\)\)\))-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 370 394 +370 393 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(370)77 b(COMMON)13 +b(LISP)0 295 y Fj(\(defun)j(straight-l)o(ine)f(\(from)i(to)h(wid)f +(stream\))37 340 y(\(format)f(stream)187 386 y(")205 +389 y Fs(~)225 386 y Fj(\045newpath)418 389 y Fs(~)438 +386 y Fj(S)475 389 y Fs(~)495 386 y Fj(S)i(moveto)687 +389 y Fs(~)707 386 y Fj(S)744 389 y Fs(~)764 386 y Fj(S)g(lineto)956 +389 y Fs(~)976 386 y Fj(S)1013 389 y Fs(~)205 432 y Fj(setlinewidt)o(h) +34 b(1)j(setlinecap)d(stroke")187 477 y(\(realpart)15 +b(from\))187 523 y(\(imagpart)g(from\))187 569 y(\(realpart)g(to\))187 +614 y(\(imagpart)g(to\))187 660 y(wid\)\))0 776 y(;;;)j(This)f +(function)e(draws)i(the)h(lines)e(for)i(the)f(pattern.)0 +822 y(\(defun)f(moby-lines)f(\(orientati)o(on)g(signum)i(plotfn)f +(stream\))37 868 y(\(let)h(\(\(paramfn)f(\(ecase)g(orientatio)o(n)355 +913 y(\(:horizon)o(tal)f(\(if)i(\(<)h(signum)f(0\))h(#)939 +910 y(-)939 916 y(-)n Fs(')977 913 y Fj(-hline)e(#)1113 +910 y(-)1113 916 y(-)n Fs(')1152 913 y Fj(hline\)\))355 +959 y(\(:vertica)o(l)g(\(if)h(\(<)h(signum)f(0\))g(#)899 +956 y(-)899 962 y(-)n Fs(')938 959 y Fj(-vline)f(#)1074 +956 y(-)1074 962 y(-)n Fs(')1112 959 y Fj(vline\)\)\)\)\))75 +1005 y(\(flet)g(\(\(foo)h(\(from)g(to)h(other)f(wid\))243 +1050 y(\(ecase)f(orientatio)o(n)280 1096 y(\(:horizont)o(al)299 +1142 y(\(comment-)o(lin)o(e)g(stream)560 1187 y("Horizontal)f(line)i +(from)g(\()1007 1190 y Fs(~)1027 1187 y Fj(S,)1084 1190 +y Fs(~)1104 1187 y Fj(S\))h(to)g(\()1238 1190 y Fs(~)1258 +1187 y Fj(S,)1314 1190 y Fs(~)1335 1187 y Fj(S\)")560 +1233 y(\(round-real)d(\(*)j(signum)e(from\)\))560 1279 +y(\(round-real)f(other\))560 1324 y(\(round-real)g(\(*)j(signum)e +(to\)\))560 1370 y(\(round-real)f(other\)\)\))280 1416 +y(\(:vertical)299 1461 y(\(comment-)o(lin)o(e)h(stream)560 +1507 y("Vertical)g(line)h(from)g(\()968 1510 y Fs(~)988 +1507 y Fj(S,)1045 1510 y Fs(~)1065 1507 y Fj(S\))h(to)g(\()1199 +1510 y Fs(~)1219 1507 y Fj(S,)1275 1510 y Fs(~)1295 1507 +y Fj(S\)")560 1553 y(\(round-real)d(other\))560 1598 +y(\(round-real)g(\(*)j(signum)e(from\)\))560 1644 y(\(round-real)f +(other\))560 1689 y(\(round-real)g(\(*)j(signum)e(to\)\)\)\)\))243 +1735 y(\(postscri)o(pt-)o(pa)o(th)280 1781 y(stream)280 +1826 y(\(parametri)o(c-p)o(at)o(h)g(from)598 1872 y(to)598 +1918 y(\(funcall)f(paramfn)h(other\))598 1963 y(plotfn\)\))243 +2009 y(\(postscri)o(pt-)o(pe)o(nst)o(rok)o(e)f(stream)i(wid\)\)\))112 +2055 y(\(let*)g(\(\(thick)f(0.05\))243 2100 y(\(thin)h(0.02\)\))149 +2146 y(;;)h(Main)f(axis)149 2192 y(\(foo)h(0.5)f(tiny)g(0.0)h(thick\)) +149 2237 y(\(foo)g(0.5)f(1.0)h(0.0)f(thick\))149 2283 +y(\(foo)h(2.0)f(1.0)h(0.0)f(thick\))149 2329 y(\(foo)h(2.0)f(big)h(0.0) +f(thick\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 371 395 +371 394 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(371)149 +295 y Fj(;;)18 b(Parallels)e(at)h(1)i(and)e(-1)149 340 +y(\(foo)h(2.0)f(tiny)g(1.0)h(thin\))149 386 y(\(foo)g(2.0)f(big)h(1.0)f +(thin\))149 432 y(\(foo)h(2.0)f(tiny)g(-1.0)g(thin\))149 +477 y(\(foo)h(2.0)f(big)h(-1.0)f(thin\))149 523 y(;;)h(Parallels)e(at)h +(2,)h(3,)g(-2,)g(-3)149 569 y(\(foo)g(tiny)f(big)g(2.0)h(thin\))149 +614 y(\(foo)g(tiny)f(big)g(-2.0)g(thin\))149 660 y(\(foo)h(tiny)f(big)g +(3.0)h(thin\))149 706 y(\(foo)g(tiny)f(big)g(-3.0)g(thin\)\)\)\)\))0 +797 y(\(defun)f(splice)h(\(p)h(q\))37 843 y(\(let)f(\(\(v)h(\(car)f +(\(last)g(p\)\)\))149 888 y(\(w)h(\(first)f(q\)\)\))75 +934 y(\(and)g(\(far-out)e(v\))168 980 y(\(far-out)h(w\))168 +1025 y(\(>)208 1022 y(U)208 1028 y(U)246 1025 y(\(abs)h(\(-)h(v)g +(w\)\))f(path-outer-)o(de)o(lta)o(\))168 1071 y(;;)h(Two)g(far-apar)o +(t)e(far-out)g(points.)34 b(Try)18 b(to)g(walk)f(around)168 +1117 y(;;)37 b(outside)16 b(the)h(perimeter,)e(in)j(the)f(shorter)f +(direction.)168 1162 y(\(let*)h(\(\(pdiff)f(\(phase)g(\(/)i(v)g +(w\)\)\))299 1208 y(\(npoints)d(\(floor)i(\(abs)g(pdiff\))f(\(asin)h +(.2\)\)\))299 1254 y(\(delta)f(\(/)i(pdiff)f(\(+)h(npoints)e(1\)\)\)) +299 1299 y(\(incr)h(\(cis)g(delta\)\)\))205 1345 y(\(do)h(\(\(j)g(0)g +(\(+)g(j)g(1\)\))299 1391 y(\(p)g(\(list)f(w)h("end)f(splice"\))f +(\(cons)g(\(*)i(\(car)f(p\))h(incr\))f(p\)\)\))280 1436 +y(\(\()320 1433 y(U)320 1439 y(U)358 1436 y(j)h(npoints\))e(\(cons)g +("start)h(splice")f(p\)\)\)\)\)\)\))0 1598 y(;;;)i(This)f(function)e +(draws)i(the)h(annuli)e(for)h(the)h(pattern.)0 1644 y(\(defun)e +(shaded-ann)o(ulu)o(s)g(\(inner)g(outer)h(sectors)f(firstshad)o(e)g +(lastshad)o(e)g(fn)i(stream\))37 1689 y(\(assert)e(\(zerop)h(\(mod)g +(sectors)f(4\)\)\))37 1735 y(\(comment-l)o(ine)f(stream)h("Annulus)621 +1738 y Fs(~)642 1735 y Fj(S)678 1738 y Fs(~)699 1735 +y Fj(S)735 1738 y Fs(~)756 1735 y Fj(S)792 1738 y Fs(~)813 +1735 y Fj(S)849 1738 y Fs(~)870 1735 y Fj(S")299 1781 +y(\(round-re)o(al)f(inner\))i(\(round-re)o(al)e(outer\))299 +1826 y(sectors)h(firstshad)o(e)g(lastshade)o(\))37 1872 +y(\(dotimes)g(\(jj)h(sectors\))75 1918 y(\(let)g(\(\(j)g(\(-)h(sectors) +e(jj)i(1\)\)\))112 1963 y(\(let*)f(\(\(lophase)e(\(+)j(tiny)f(\(*)h(2)g +(pi)g(\(/)g(j)g(sectors\)\)\)\))243 2009 y(\(hiphase)d(\(*)j(2)h(pi)f +(\(/)f(\(+)h(j)h(1\))f(sectors\))o(\)\))243 2055 y(\(midphase)d(\(/)j +(\(+)g(lophase)e(hiphase\))f(2.0\)\))243 2100 y(\(midradiu)o(s)h(\(/)i +(\(+)f(inner)g(outer\))g(2.0\)\))243 2146 y(\(quadrant)e(\(floor)h(\(*) +i(j)h(4\))f(sectors\))o(\)\))149 2192 y(\(comment-li)o(ne)d(stream)h +("Sector)g(from)811 2195 y Fs(~)831 2192 y Fj(S)j(to)926 +2195 y Fs(~)946 2192 y Fj(S)f(\(quadrant)1178 2195 y +Fs(~)1198 2192 y Fj(S\)")411 2237 y(\(round-re)o(al)d(lophase\))411 +2283 y(\(round-re)o(al)g(hiphase\))411 2329 y(quadrant\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 372 396 +372 395 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(372)77 b(COMMON)13 +b(LISP)149 295 y Fj(\(let)18 b(\(\(p0)f(\(reverse)e(\(parametri)o(c-p)o +(ath)g(midradius)822 340 y(inner)822 386 y(\(radial)h(lophase)g +(quadrant\))822 432 y(fn\)\)\))262 477 y(\(p1)h(\(parametri)o(c-)o(pat) +o(h)f(midradiu)o(s)654 523 y(outer)654 569 y(\(radial)g(lophase)g +(quadrant\))654 614 y(fn\)\))262 660 y(\(p2)h(\(reverse)f(\(parametr)o +(ic)o(-pa)o(th)f(midphase)822 706 y(lophase)822 751 y(\(circumfe)o(ren) +o(tia)o(l)g(outer)1139 797 y(quadrant\))822 843 y(fn\)\)\))262 +888 y(\(p3)i(\(parametri)o(c-)o(pat)o(h)f(midphase)654 +934 y(hiphase)654 980 y(\(circumfe)o(ren)o(ti)o(al)f(outer)i +(quadrant\))654 1025 y(fn\)\))262 1071 y(\(p4)g(\(reverse)f(\(parametr) +o(ic)o(-pa)o(th)f(midradius)822 1117 y(outer)822 1162 +y(\(radial)h(hiphase)g(quadrant\))822 1208 y(fn\)\)\))262 +1254 y(\(p5)h(\(parametri)o(c-)o(pat)o(h)f(midradiu)o(s)654 +1299 y(inner)654 1345 y(\(radial)g(hiphase)g(quadrant\))654 +1391 y(fn\)\))262 1436 y(\(p6)h(\(reverse)f(\(parametr)o(ic)o(-pa)o(th) +f(midphase)822 1482 y(hiphase)822 1528 y(\(circumfe)o(ren)o(tia)o(l)g +(inner)1139 1573 y(quadrant\))822 1619 y(fn\)\)\))262 +1665 y(\(p7)i(\(parametri)o(c-)o(pat)o(h)f(midphase)654 +1710 y(lophase)654 1756 y(\(circumfe)o(ren)o(ti)o(al)f(inner)i +(quadrant\))654 1802 y(fn\)\)\))187 1847 y(\(postscri)o(pt-)o(cl)o(ose) +o(d-)o(pat)o(h)f(stream)224 1893 y(\(append)262 1939 +y(p0)h(\(splice)f(p0)i(p1\))609 1942 y Fs(')630 1939 +y Fj(\("middle)d(radial"\))262 1984 y(p1)i(\(splice)f(p1)i(p2\))609 +1987 y Fs(')630 1984 y Fj(\("end)e(radial"\))262 2030 +y(p2)h(\(splice)f(p2)i(p3\))609 2033 y Fs(')630 2030 +y Fj(\("middle)d(circumfere)o(nt)o(ial)o("\))262 2076 +y(p3)i(\(splice)f(p3)i(p4\))609 2079 y Fs(')630 2076 +y Fj(\("end)e(circumfere)o(nti)o(al)o("\))262 2121 y(p4)h(\(splice)f +(p4)i(p5\))609 2124 y Fs(')630 2121 y Fj(\("middle)d(radial"\))262 +2167 y(p5)i(\(splice)f(p5)i(p6\))609 2170 y Fs(')630 +2167 y Fj(\("end)e(radial"\))262 2213 y(p6)h(\(splice)f(p6)i(p7\))609 +2216 y Fs(')630 2213 y Fj(\("middle)d(circumfere)o(nt)o(ial)o("\))262 +2258 y(p7)i(\(splice)f(p7)i(p0\))609 2261 y Fs(')630 +2258 y Fj(\("end)e(circumfere)o(nti)o(al)o("\))262 2304 +y(\)\)\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 373 397 +373 396 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(373)149 +295 y Fj(\(postscript)o(-s)o(had)o(e)16 b(stream)486 +340 y(\(/)i(\(+)f(\(*)h(firstshade)d(\(-)j(\(-)g(sectors)e(1\))i(j\)\)) +598 386 y(\(*)g(lastshade)d(j\)\))542 432 y(\(-)j(sectors)e +(1\)\)\)\)\)\)\))0 523 y(\(defun)g(postscript)o(-pe)o(nst)o(ro)o(ke)f +(\(stream)h(wid\))37 569 y(\(format)g(stream)h(")348 +572 y Fs(~)368 569 y Fj(\045)386 572 y Fs(~)406 569 y +Fj(S)i(setlinew)o(idt)o(h)53 b(1)18 b(setlinecap)34 b(stroke")187 +614 y(wid\)\))0 706 y(\(defun)16 b(postscript)o(-sh)o(ade)f(\(stream)h +(shade\))37 751 y(\(format)g(stream)h(")348 754 y Fs(~)368 +751 y Fj(\045currentgr)o(ay)658 754 y Fs(~)678 751 y +Fj(S)h(setgray)54 b(fill)g(setgray")187 797 y(shade\)\))0 +888 y(\(defun)16 b(postscript)o(-cl)o(ose)o(d-)o(pat)o(h)g(\(stream)g +(path\))37 934 y(\(unless)g(\(every)h(#)330 931 y(-)330 +937 y(-)n Fs(')368 934 y Fj(far-out)f(\(remove-i)o(f-n)o(ot)f(#)817 +931 y(-)817 937 y(-)n Fs(')856 934 y Fj(numberp)h(path\)\))75 +980 y(\(postscri)o(pt)o(-ra)o(w-p)o(at)o(h)g(stream)g(path\))75 +1025 y(\(format)g(stream)g(")385 1028 y Fs(~)405 1025 +y Fj(\045)37 b(closepath")o(\)\)\))0 1117 y(\(defun)16 +b(postscript)o(-pa)o(th)f(\(stream)h(path\))37 1162 y(\(unless)g +(\(every)h(#)330 1159 y(-)330 1165 y(-)n Fs(')368 1162 +y Fj(far-out)f(\(remove-i)o(f-n)o(ot)f(#)817 1159 y(-)817 +1165 y(-)n Fs(')856 1162 y Fj(numberp)h(path\)\))75 1208 +y(\(postscri)o(pt)o(-ra)o(w-p)o(at)o(h)g(stream)g(path\)\)\))0 +1299 y(;;;)i(Print)e(a)j(path)e(as)h(a)g(series)e(of)i(PostScript)d +("lineto")h(commands)o(.)0 1345 y(\(defun)g(postscript)o(-ra)o(w-p)o +(at)o(h)g(\(stream)g(path\))37 1391 y(\(format)g(stream)h(")348 +1394 y Fs(~)368 1391 y Fj(\045newpath"\))37 1436 y(\(let)g(\(\(fmt)g(") +269 1439 y Fs(~)290 1436 y Fj(\045)345 1439 y Fs(~)365 +1436 y Fj(S)402 1439 y Fs(~)422 1436 y Fj(S)h(moveto"\)\))75 +1482 y(\(dolist)e(\(pt)h(path\))112 1528 y(\(cond)g(\(\(stringp)e(pt\)) +243 1573 y(\(format)h(stream)g(")553 1576 y Fs(~)573 +1573 y Fj(\045)37 b(\045)648 1576 y Fs(~)669 1573 y Fj(A")18 +b(pt\)\))224 1619 y(\(t)g(\(format)e(stream)430 1665 +y(fmt)430 1710 y(\(clamp-re)o(al)f(\(realpart)g(pt\)\))430 +1756 y(\(clamp-re)o(al)g(\(imagpart)g(pt\)\)\))280 1802 +y(\(setq)i(fmt)g(")492 1805 y Fs(~)513 1802 y Fj(\045)568 +1805 y Fs(~)588 1802 y Fj(S)625 1805 y Fs(~)645 1802 +y Fj(S)i(lineto"\)\))o(\)\))o(\)\))0 1893 y(;;;)f(Definiti)o(ons)d(of)j +(functions)d(to)j(be)g(plotted)e(that)h(are)h(not)0 1939 +y(;;;)g(standard)d(Common)h(Lisp)i(functions)o(.)0 2030 +y(\(defun)e(one-plus-o)o(ver)o(-on)o(e-)o(min)o(us)f(\(x\))j(\(/)g(\(+) +f(1)i(x\))f(\(-)g(1)g(x\)\)\))0 2121 y(\(defun)e(one-minus-)o(ove)o +(r-o)o(ne)o(-pl)o(us)f(\(x\))j(\(/)g(\(-)f(1)i(x\))f(\(+)g(1)g(x\)\)\)) +0 2213 y(\(defun)e(sqrt-squar)o(e-m)o(inu)o(s-)o(one)f(\(x\))i(\(sqrt)g +(\(-)h(1)g(\(*)g(x)h(x\)\)\)\))0 2304 y(\(defun)d(sqrt-one-p)o(lus)o +(-sq)o(ua)o(re)f(\(x\))j(\(sqrt)f(\(+)g(1)i(\(*)f(x)g(x\)\)\)\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 374 398 +374 397 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(374)77 b(COMMON)13 +b(LISP)0 295 y Fj(;;;)18 b(Because)d(X3J13)i(voted)g(for)h(a)g(new)f +(definition)e(of)j(the)g(atan)f(function,)0 340 y(;;;)h(the)f +(following)e(definition)g(was)j(used)f(in)h(place)e(of)i(the)g(atan)f +(function)0 386 y(;;;)h(provided)d(by)j(the)g(Common)e(Lisp)h +(implementa)o(ti)o(on)e(I)k(was)e(using.)0 477 y(\(defun)f(good-atan)g +(\(x\))37 523 y(\(/)i(\(-)g(\(log)f(\(+)h(1)h(\(*)e(x)i(#)443 +520 y(-)443 526 y(-)462 523 y(c\(0)f(1\)\)\)\))149 569 +y(\(log)g(\(-)f(1)i(\(*)f(x)g(#)439 566 y(-)439 572 y(-)459 +569 y(c\(0)f(1\)\)\)\)\))93 614 y(#)93 611 y(-)93 617 +y(-)113 614 y(c\(0)h(2\)\)\))0 706 y(;;;)g(Because)d(the)j(first)f +(edition)f(had)h(an)h(erroneous)d(definition)g(of)j(atanh,)0 +751 y(;;;)g(the)f(following)e(definition)g(was)j(used)f(in)h(place)e +(of)i(the)g(atanh)f(function)0 797 y(;;;)h(provided)d(by)j(the)g +(Common)e(Lisp)h(implementa)o(ti)o(on)e(I)k(was)e(using.)0 +888 y(\(defun)f(really-goo)o(d-a)o(tan)o(h)f(\(x\))37 +934 y(\(/)j(\(-)g(\(log)f(\(+)h(1)h(x\)\))149 980 y(\(log)f(\(-)f(1)i +(x\)\)\))93 1025 y(2\)\))0 1124 y(;;;)f(This)f(is)h(the)f(main)g +(procedure)e(that)j(is)f(intended)f(to)i(be)g(called)e(by)i(a)g(user.)0 +1170 y(\(defun)e(picture)g(\(&optional)f(\(fn)j(#)585 +1167 y(-)585 1173 y(-)n Fs(')623 1170 y Fj(sqrt\)\))37 +1215 y(\(with-open)o(-fi)o(le)d(\(stream)h(\(concatena)o(te)759 +1218 y Fs(')779 1215 y Fj(string)729 1261 y(\(string-)o(dow)o(nc)o(ase) +f(\(string)h(fn\)\))729 1307 y("-plot.p)o(s"\))486 1352 +y(:directio)o(n)f(:output\))75 1398 y(\(format)h(stream)g("\045)i +(PostScrip)o(t)e(file)h(for)g(plot)h(of)f(function)1144 +1401 y Fs(~)1164 1398 y Fj(S)1182 1401 y Fs(~)1202 1398 +y Fj(\045")h(fn\))75 1444 y(\(format)e(stream)g("\045)i(Plot)f(is)h(to) +g(fit)f(in)h(a)h(region)946 1447 y Fs(~)967 1444 y Fj(S)f(inches)e +(square)1259 1447 y Fs(~)1278 1444 y Fj(\045")224 1489 +y(\(/)i(text-width)o(-i)o(n-p)o(ica)o(s)d(6.0\)\))75 +1535 y(\(format)h(stream)224 1581 y("\045)37 b(showing)16 +b(axes)h(extending)748 1584 y Fs(~)768 1581 y Fj(S)h(units)f(from)g +(the)g(origin.)1235 1584 y Fs(~)1253 1581 y Fj(\045")224 +1626 y(units-to-s)o(how)o(\))75 1672 y(\(let)g(\(\(scaling)e(\(/)j(\(*) +g(text-widt)o(h-i)o(n-)o(pic)o(as)d(12\))j(\(*)g(units-to-)o(sh)o(ow)d +(2\)\)\)\))112 1718 y(\(format)h(stream)g(")422 1721 +y Fs(~)443 1718 y Fj(\045)461 1721 y Fs(~)481 1718 y +Fj(S)518 1721 y Fs(~)538 1718 y Fj(:*)576 1721 y Fs(~)596 +1718 y Fj(S)i(scale")f(scaling\))o(\))75 1763 y(\(format)f(stream)g(") +385 1766 y Fs(~)405 1763 y Fj(\045)423 1766 y Fs(~)444 +1763 y Fj(S)480 1766 y Fs(~)501 1763 y Fj(:*)539 1766 +y Fs(~)559 1763 y Fj(S)i(translate)o(")e(units-to-)o(sh)o(ow\))75 +1809 y(\(format)g(stream)g(")385 1812 y Fs(~)405 1809 +y Fj(\045newpath"\))75 1855 y(\(format)g(stream)g(")385 +1858 y Fs(~)405 1855 y Fj(\045)461 1858 y Fs(~)481 1855 +y Fj(S)518 1858 y Fs(~)538 1855 y Fj(S)i(moveto")e(\(-)i(units-to-s)o +(how)o(\))d(\(-)j(units-to-s)o(how)o(\)\))75 1900 y(\(format)e(stream)g +(")385 1903 y Fs(~)405 1900 y Fj(\045)461 1903 y Fs(~)481 +1900 y Fj(S)518 1903 y Fs(~)538 1900 y Fj(S)i(lineto")e(units-to-s)o +(how)f(\(-)j(units-to-)o(sho)o(w\))o(\))75 1946 y(\(format)e(stream)g +(")385 1949 y Fs(~)405 1946 y Fj(\045)461 1949 y Fs(~)481 +1946 y Fj(S)518 1949 y Fs(~)538 1946 y Fj(S)i(lineto")e(units-to-s)o +(how)f(units-to-)o(sho)o(w\))75 1992 y(\(format)h(stream)g(")385 +1995 y Fs(~)405 1992 y Fj(\045)461 1995 y Fs(~)481 1992 +y Fj(S)518 1995 y Fs(~)538 1992 y Fj(S)i(lineto")e(\(-)i(units-to-s)o +(how)o(\))d(units-to-sh)o(ow)o(\))75 2037 y(\(format)h(stream)g(")385 +2040 y Fs(~)405 2037 y Fj(\045)37 b(closepath")o(\))75 +2083 y(\(format)16 b(stream)g(")385 2086 y Fs(~)405 2083 +y Fj(\045clip"\))75 2129 y(\(moby-gri)o(d)g(fn)h(stream\))75 +2174 y(\(format)f(stream)224 2220 y(")242 2223 y Fs(~)262 +2220 y Fj(\045\045)i(End)g(of)g(PostScrip)o(t)e(file)h(for)g(plot)g(of) +h(function)1174 2223 y Fs(~)1195 2220 y Fj(S")224 2266 +y(fn\))75 2311 y(\(terpri)e(stream\)\)\))-33 2325 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 19 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 375 399 +375 398 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(375)0 +295 y Fo(12.6.)20 b(T)n(yp)r(e)25 b(Con)n(v)n(ersions)g(and)h(Comp)r +(onen)n(t)e(Extractions)g(on)136 353 y(Num)n(b)r(ers)0 +442 y Fw(While)15 b(most)f(arithmetic)g(functions)i(will)e(op)q(erate)i +(on)g(an)o(y)f(kind)g(of)g(n)o(um)o(b)q(er,)f(co)q(erc-)0 +494 y(ing)i(t)o(yp)q(es)i(if)d(necessary)m(,)k(the)e(follo)o(wing)d +(functions)j(are)g(pro)o(vided)g(to)f(allo)o(w)f(sp)q(eci\014c)0 +546 y(con)o(v)o(ersions)g(of)e(data)g(t)o(yp)q(es)i(to)f(b)q(e)g +(forced)h(when)f(desired.)1209 690 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(float)20 b Fv(numb)n(er)26 b Fs(&optional)19 +b Fv(other)0 767 y Fw(This)14 b(con)o(v)o(erts)h(an)o(y)f(non-complex)e +(n)o(um)o(b)q(er)i(to)f(a)h(\015oating-p)q(oin)o(t)f(n)o(um)o(b)q(er.) +18 b(With)13 b(no)0 819 y(second)j(argumen)o(t,)d(if)g +Fv(numb)n(er)i Fw(is)f(already)h(a)f(\015oating-p)q(oin)o(t)f(n)o(um)o +(b)q(er,)g(then)j Fv(numb)n(er)0 871 y Fw(is)e(returned;)i(otherwise)f +(a)f Fs(single-float)e Fw(is)i(pro)q(duced.)21 b(If)14 +b(the)h(argumen)o(t)e Fv(other)h Fw(is)0 923 y(pro)o(vided,)h(then)h +(it)f(m)o(ust)g(b)q(e)h(a)f(\015oating-p)q(oin)o(t)f(n)o(um)o(b)q(er,)g +(and)i Fv(numb)n(er)f Fw(is)h(con)o(v)o(erted)0 975 y(to)e(the)g(same)f +(format)f(as)i Fv(other)p Fw(.)k(See)d(also)e Fs(coerce)p +Fw(.)1209 1119 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(rational)20 +b Fv(numb)n(er)1209 1170 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(rationalize)19 b Fv(numb)n(er)0 1248 y Fw(Eac)o(h)13 +b(of)g(these)h(functions)f(con)o(v)o(erts)h(an)o(y)f(non-complex)e(n)o +(um)o(b)q(er)h(to)h(a)g(rational)e(n)o(um-)0 1299 y(b)q(er.)29 +b(If)17 b(the)h(argumen)o(t)e(is)h(already)g(rational,)g(it)g(is)g +(returned.)30 b(The)18 b(t)o(w)o(o)f(functions)0 1351 +y(di\013er)d(in)g(their)g(treatmen)o(t)g(of)f(\015oating-p)q(oin)o(t)f +(n)o(um)o(b)q(ers.)42 1404 y Fs(rational)k Fw(assumes)h(that)h(the)h +(\015oating-p)q(oin)o(t)d(n)o(um)o(b)q(er)h(is)h(completely)e(accurate) +0 1455 y(and)g(returns)i(a)e(rational)f(n)o(um)o(b)q(er)h +(mathematicall)o(y)d(equal)k(to)f(the)h(precise)h(v)n(alue)d(of)0 +1507 y(the)f(\015oating-p)q(oin)o(t)f(n)o(um)o(b)q(er.)42 +1560 y Fs(rationalize)i Fw(assumes)i(that)h(the)g(\015oating-p)q(oin)o +(t)e(n)o(um)o(b)q(er)h(is)g(accurate)i(only)e(to)0 1611 +y(the)c(precision)g(of)e(the)i(\015oating-p)q(oin)o(t)e(represen)o +(tation)j(and)e(ma)o(y)f(return)i(an)o(y)f(rational)0 +1663 y(n)o(um)o(b)q(er)19 b(for)g(whic)o(h)h(the)g(\015oating-p)q(oin)o +(t)e(n)o(um)o(b)q(er)h(is)g(the)i(b)q(est)f(a)o(v)n(ailable)e(appro)o +(xi-)0 1715 y(mation)c(of)i(its)g(format;)f(in)g(doing)h(this)g(it)g +(attempts)f(to)h(k)o(eep)h(b)q(oth)g(n)o(umerator)e(and)0 +1767 y(denominator)d(small.)42 1819 y(It)h(is)h(alw)o(a)o(ys)f(the)i +(case)f(that)0 1908 y Fs(\(float)20 b(\(rational)f Fv(x)p +Fs(\))i Fv(x)p Fs(\))h Ft(\021)f Fv(x)0 1996 y Fw(and)0 +2085 y Fs(\(float)f(\(rationalize)f Fv(x)p Fs(\))i Fv(x)p +Fs(\))g Ft(\021)h Fv(x)0 2173 y Fw(That)e(is,)i(rationalizing)c(a)i +(\015oating-p)q(oin)o(t)f(n)o(um)o(b)q(er)g(b)o(y)h(either)h(metho)q(d) +f(and)g(then)0 2225 y(con)o(v)o(erting)e(it)f(bac)o(k)h(to)f(a)g +(\015oating-p)q(oin)o(t)f(n)o(um)o(b)q(er)h(of)g(the)i(same)d(format)g +(pro)q(duces)0 2277 y(the)f(original)e(n)o(um)o(b)q(er.)20 +b(What)14 b(distinguishes)h(the)g(t)o(w)o(o)f(functions)h(is)g(that)f +Fs(rational)0 2329 y Fw(t)o(ypically)19 b(has)i(a)f(simple,)g(inexp)q +(ensiv)o(e)h(implemen)o(tation,)d(whereas)k Fs(rationalize)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 376 400 +376 399 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(376)77 b(COMMON)13 +b(LISP)0 295 y Fw(go)q(es)k(to)f(more)f(trouble)i(to)f(pro)q(duce)i(a)e +(result)h(that)g(is)f(more)f(pleasan)o(t)h(to)h(view)f(and)0 +347 y(simpler)d(to)g(compute)h(with)f(for)h(some)f(purp)q(oses.)1209 +506 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(numerator)19 +b Fv(r)n(ational)1209 558 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(denominator)19 b Fv(r)n(ational)0 635 y Fw(These)14 +b(functions)f(tak)o(e)g(a)f(rational)g(n)o(um)o(b)q(er)g(\(an)g(in)o +(teger)i(or)e(ratio\))h(and)f(return)i(as)f(an)0 687 +y(in)o(teger)k(the)h(n)o(umerator)e(or)g(denominator)g(of)g(the)h +(canonical)f(reduced)j(form)c(of)h(the)0 739 y(rational.)j(The)c(n)o +(umerator)e(of)h(an)g(in)o(teger)h(is)g(that)f(in)o(teger;)h(the)g +(denominator)e(of)h(an)0 791 y(in)o(teger)g(is)g Fs(1)p +Fw(.)k(Note)c(that)0 882 y Fs(\(gcd)20 b(\(numerator)f +Fv(x)p Fs(\))j(\(denominator)c Fv(x)p Fs(\)\))j Ft(\))g +Fs(1)0 973 y Fw(The)12 b(denominator)d(will)h(alw)o(a)o(ys)g(b)q(e)i(a) +e(strictly)i(p)q(ositiv)o(e)f(in)o(teger;)h(the)f(n)o(umerator)g(ma)o +(y)0 1025 y(b)q(e)k(an)o(y)e(in)o(teger.)18 b(F)m(or)c(example:)0 +1117 y Fs(\(numerator)19 b(\(/)i(8)g(-6\)\))f Ft(\))h +Fs(-4)0 1169 y(\(denominator)e(\(/)h(8)h(-6\)\))g Ft(\))f +Fs(3)42 1260 y Fw(There)c(is)e(no)h Fs(fix)f Fw(function)h(in)f(Common) +e(Lisp)i(b)q(ecause)j(there)f(are)f(sev)o(eral)h(in)o(ter-)0 +1312 y(esting)e(w)o(a)o(ys)f(to)g(con)o(v)o(ert)i(non-in)o(tegral)d(v)n +(alues)i(to)f(in)o(tegers.)19 b(These)c(are)f(pro)o(vided)f(b)o(y)0 +1364 y(the)k(functions)g(b)q(elo)o(w,)f(whic)o(h)g(p)q(erform)g(not)h +(only)e(t)o(yp)q(e)i(con)o(v)o(ersion)g(but)g(also)f(some)0 +1416 y(non-trivial)c(calculations)h(as)h(w)o(ell.)1209 +1575 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(floor)20 +b Fv(numb)n(er)26 b Fs(&optional)19 b Fv(divisor)1209 +1627 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(ceiling)20 +b Fv(numb)n(er)25 b Fs(&optional)20 b Fv(divisor)1209 +1679 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(truncate)20 +b Fv(numb)n(er)25 b Fs(&optional)20 b Fv(divisor)1209 +1730 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(round)20 +b Fv(numb)n(er)26 b Fs(&optional)19 b Fv(divisor)0 1808 +y Fw(In)10 b(the)h(simple)e(one-argumen)o(t)h(case,)h(eac)o(h)g(of)f +(these)i(functions)e(con)o(v)o(erts)h(its)g(argumen)o(t)0 +1860 y Fv(numb)n(er)g Fw(\(whic)o(h)g(m)o(ust)f(not)h(b)q(e)h +(complex\))e(to)h(an)g(in)o(teger.)18 b(If)10 b(the)i(argumen)o(t)e(is) +h(already)0 1912 y(an)j(in)o(teger,)g(it)g(is)g(returned)h(directly)m +(.)k(If)13 b(the)i(argumen)o(t)e(is)h(a)g(ratio)f(or)h(\015oating-p)q +(oin)o(t)0 1964 y(n)o(um)o(b)q(er,)f(the)h(functions)g(use)h +(di\013eren)o(t)g(algorithms)c(for)j(the)g(con)o(v)o(ersion.)42 +2016 y Fs(floor)i Fw(con)o(v)o(erts)i(its)f(argumen)o(t)f(b)o(y)h +(truncating)g(to)o(w)o(ard)f(negativ)o(e)h(in\014nit)o(y;)h(that)0 +2068 y(is,)13 b(the)i(result)f(is)g(the)h(largest)f(in)o(teger)g(that)g +(is)g(not)g(larger)f(than)h(the)h(argumen)o(t.)42 2121 +y Fs(ceiling)d Fw(con)o(v)o(erts)i(its)g(argumen)o(t)e(b)o(y)h +(truncating)h(to)o(w)o(ard)f(p)q(ositiv)o(e)g(in\014nit)o(y;)g(that)0 +2172 y(is,)g(the)i(result)f(is)g(the)h(smallest)d(in)o(teger)j(that)f +(is)f(not)h(smaller)e(than)i(the)h(argumen)o(t.)42 2225 +y Fs(truncate)i Fw(con)o(v)o(erts)k(its)e(argumen)o(t)f(b)o(y)h +(truncating)h(to)o(w)o(ard)f(zero;)k(that)c(is,)h(the)0 +2277 y(result)g(is)g(the)g(in)o(teger)g(of)f(the)i(same)d(sign)i(as)f +(the)i(argumen)o(t)d(and)i(whic)o(h)f(has)h(the)0 2329 +y(greatest)15 b(in)o(tegral)e(magnitude)g(not)g(greater)i(than)f(that)g +(of)f(the)i(argumen)o(t.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 377 401 +377 400 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(377)42 +295 y Fs(round)13 b Fw(con)o(v)o(erts)i(its)f(argumen)o(t)g(b)o(y)g +(rounding)g(to)g(the)h(nearest)h(in)o(teger;)e(if)g Fv(numb)n(er)0 +347 y Fw(is)j(exactly)f(halfw)o(a)o(y)f(b)q(et)o(w)o(een)j(t)o(w)o(o)f +(in)o(tegers)g(\(that)g(is,)g(of)f(the)h(form)e Fv(inte)n(ger)c +Fw(+)g(0.5)o(\),)0 399 y(then)k(it)e(is)h(rounded)g(to)g(the)h(one)f +(that)g(is)f(ev)o(en)i(\(divisible)e(b)o(y)h(2\).)42 +451 y(The)21 b(follo)o(wing)d(table)i(sho)o(ws)h(what)g(the)g(four)f +(functions)h(pro)q(duce)h(when)f(giv)o(en)0 503 y(v)n(arious)13 +b(argumen)o(ts.)0 590 y(Argumen)o(t)49 b Fs(floor)g(ceiling)f(truncate) +g(round)p 0 607 927 2 v 69 656 a(2.6)151 b(2)159 b(3)191 +b(2)170 b(3)69 708 y(2.5)151 b(2)159 b(3)191 b(2)170 +b(2)69 760 y(2.4)151 b(2)159 b(3)191 b(2)170 b(2)69 812 +y(0.7)151 b(0)159 b(1)191 b(0)170 b(1)69 864 y(0.3)151 +b(0)159 b(1)191 b(0)170 b(0)48 916 y(-0.3)129 b(-1)158 +b(0)191 b(0)170 b(0)48 968 y(-0.7)129 b(-1)158 b(0)191 +b(0)148 b(-1)48 1019 y(-2.4)129 b(-3)136 b(-2)170 b(-2)147 +b(-2)48 1071 y(-2.5)129 b(-3)136 b(-2)170 b(-2)147 b(-2)48 +1123 y(-2.6)129 b(-3)136 b(-2)170 b(-2)147 b(-3)p 0 1140 +V 42 1211 a Fw(If)13 b(a)h(second)h(argumen)o(t)d Fv(divisor)i +Fw(is)f(supplied,)h(then)g(the)h(result)f(is)g(the)h(appropriate)0 +1263 y(t)o(yp)q(e)d(of)f(rounding)h(or)f(truncation)h(applied)f(to)h +(the)g(result)h(of)e(dividing)f(the)i Fv(numb)n(er)g +Fw(b)o(y)0 1315 y(the)f Fv(divisor)p Fw(.)17 b(F)m(or)10 +b(example,)f Fs(\(floor)20 b(5)h(2\))10 b Ft(\021)h Fs(\(floor)20 +b(\(/)h(5)g(2\)\))10 b Fw(but)g(is)h(p)q(oten)o(tially)0 +1367 y(more)i(e\016cien)o(t.)42 1419 y(This)c(statemen)o(t)h(is)g(not)g +(en)o(tirely)g(accurate;)i(one)e(should)f(instead)i(sa)o(y)e(that)h +Fs(\(values)-33 1391 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1471 a(\(floor)20 b(5)h(2\)\))9 b Ft(\021)g +Fs(\(values)20 b(\(floor)g(\(/)h(5)g(2\)\)\))p Fw(,)9 +b(b)q(ecause)i(there)f(is)g(a)f(second)h(v)n(alue)0 1523 +y(to)15 b(consider,)h(as)g(discussed)h(b)q(elo)o(w.)22 +b(In)15 b(other)h(w)o(ords,)g(the)g(\014rst)g(v)n(alues)f(returned)i(b) +o(y)0 1575 y(the)f(t)o(w)o(o)g(forms)e(will)h(b)q(e)h(the)h(same,)e +(but)h(in)f(general)h(the)h(second)g(v)n(alues)e(will)g(di\013er.)0 +1627 y(Indeed,)f(w)o(e)h(ha)o(v)o(e)0 1717 y Fs(\(floor)20 +b(5)h(2\))g Ft(\))f Fs(2)h Fw(and)g Fs(1)0 1769 y(\(floor)f(\(/)h(5)g +(2\)\))f Ft(\))h Fs(2)g Fw(and)g Fs(1/2)0 1859 y Fw(for)14 +b(this)f(example.)-33 1871 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1912 a(The)h Fv(divisor)f Fw(ma)o(y)f(b)q(e)j(an)o(y)e +(non-complex)f(n)o(um)o(b)q(er.)42 1964 y(It)h(is)h(generally)g +(accepted)h(that)f(it)g(is)g(an)f(error)i(for)f(the)g +Fv(divisor)f Fw(to)h(b)q(e)h(zero.)-33 1936 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2016 a(The)k(one-argumen)o(t)g(case)h(is)g(exactly)f +(lik)o(e)g(the)h(t)o(w)o(o-argumen)o(t)e(case)i(where)h(the)0 +2068 y(second)15 b(argumen)o(t)e(is)g Fs(1)p Fw(.)42 +2121 y(In)18 b(other)i(w)o(ords,)f(the)h(one-argumen)o(t)d(case)j +(returns)h(an)d(in)o(teger)h(and)g(fractional)-33 2092 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2173 a(part)14 b(for)g(the)g Fv(numb)n(er)p +Fw(:)k Fs(\(truncate)i(5.3\))g Ft(\))h Fs(5.0)f Fw(and)h +Fs(0.3)p Fw(,)13 b(for)g(example.)-33 2184 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2225 a(Eac)o(h)f(of)g(the)g(functions)h(actually)e +(returns)j Fv(two)e Fw(v)n(alues,)f(whether)j(giv)o(en)e(one)g(or)g(t)o +(w)o(o)0 2277 y(argumen)o(ts.)26 b(The)18 b(second)g(result)f(is)g(the) +h(remainder)e(and)h(ma)o(y)e(b)q(e)i(obtained)g(using)0 +2329 y Fs(multiple-value-bi)o(nd)f Fw(and)i(related)h(constructs.)35 +b(If)18 b(an)o(y)g(of)g(these)i(functions)f(is)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 378 402 +378 401 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(378)77 b(COMMON)13 +b(LISP)0 295 y Fw(giv)o(en)f(t)o(w)o(o)f(argumen)o(ts)h +Fv(x)17 b Fw(and)12 b Fv(y)k Fw(and)c(pro)q(duces)h(results)g +Fv(q)j Fw(and)c Fv(r)t Fw(,)g(then)h Fv(q)c Ft(\001)d +Fv(y)j Fw(+)d Fv(r)15 b Fw(=)d Fv(x)5 b Fw(.)0 347 y(The)21 +b(\014rst)g(result)h Fv(q)i Fw(is)d(alw)o(a)o(ys)e(an)i(in)o(teger.)38 +b(The)21 b(remainder)f Fv(r)25 b Fw(is)20 b(an)h(in)o(teger)g(if)0 +399 y(b)q(oth)16 b(argumen)o(ts)f(are)h(in)o(tegers,)h(is)f(rational)f +(if)g(b)q(oth)h(argumen)o(ts)f(are)h(rational,)f(and)0 +450 y(is)e(\015oating-p)q(oin)o(t)f(if)h(either)i(argumen)o(t)d(is)i +(\015oating-p)q(oin)o(t.)i(One)e(consequence)i(is)e(that)0 +502 y(in)f(the)h(one-argumen)o(t)f(case)h(the)g(remainder)f(is)g(alw)o +(a)o(ys)g(a)g(n)o(um)o(b)q(er)g(of)g(the)h(same)e(t)o(yp)q(e)0 +554 y(as)i(the)g(argumen)o(t.)42 607 y(When)d(only)g(one)h(argumen)o(t) +f(is)h(giv)o(en,)f(the)h(t)o(w)o(o)f(results)i(are)f(exact;)h(the)f +(mathemat-)0 659 y(ical)j(sum)f(of)h(the)h(t)o(w)o(o)f(results)i(is)e +(alw)o(a)o(ys)g(equal)g(to)g(the)h(mathematical)c(v)n(alue)j(of)g(the)0 +711 y(argumen)o(t.)p 0 771 V 0 832 a Fm(Compatibilit)o(y)d(note:)18 +b FA(The)13 b(names)h(of)f(the)g(functions)i Fj(floor)p +FA(,)c Fj(ceiling)p FA(,)f Fj(truncate)p FA(,)g(and)0 +877 y Fj(round)f FA(are)i(more)g(accurate)g(than)g(names)h(lik)o(e)g +Fj(fix)e FA(that)h(ha)o(v)o(e)g(heretofore)g(b)q(een)h(used)f(in)h(v)n +(ari-)0 923 y(ous)g(Lisp)g(systems.)17 b(The)11 b(names)g(used)h(here)g +(are)f(compatible)i(with)f(standard)h(mathematical)0 +969 y(terminology)i(\(and)e(with)g(PL/1,)f(as)h(it)g(happ)q(ens\).)18 +b(In)13 b(F)m(ortran)f Fj(ifix)f FA(means)i Fj(truncate)p +FA(.)h(Al-)0 1014 y(gol)h(68)f(pro)o(vides)i Fj(round)c +FA(and)j(uses)g Fj(entier)c FA(to)j(mean)h Fj(floor)p +FA(.)j(In)c(MacLisp,)i Fj(fix)d FA(and)h Fj(ifix)0 1060 +y FA(b)q(oth)e(mean)g Fj(floor)e FA(\(one)i(is)g(generic,)h(the)e +(other)h(\015on)o(um-in/\014xn)o(u)q(m-out\).)19 b(In)12 +b(In)o(terlisp,)h Fj(fix)0 1106 y FA(means)i Fj(truncate)p +FA(.)j(In)c(Lisp)i(Mac)o(hine)g(Lisp,)f Fj(fix)e FA(means)i +Fj(floor)d FA(and)j Fj(fixr)e FA(means)i Fj(round)p FA(.)0 +1151 y(Standard)g(Lisp)g(pro)o(vides)h(a)d Fj(fix)g FA(function)i(but)f +(do)q(es)g(not)h(sp)q(ecify)f(precisely)i(what)e(it)g(do)q(es.)0 +1197 y(The)h(existing)i(usage)f(of)f(the)g(name)g Fj(fix)f +FA(is)h(so)g(confused)h(that)g(it)f(seemed)h(b)q(est)f(to)g(a)o(v)o +(oid)h(it)0 1243 y(altogether.)42 1289 y(The)9 b(names)i(and)f +(de\014nitions)j(giv)o(en)e(here)g(ha)o(v)o(e)f(recen)o(tly)h(b)q(een)g +(adopted)g(b)o(y)f(Lisp)h(Mac)o(hine)0 1335 y(Lisp,)h(and)f(MacLisp)h +(and)f(NIL)f(\(New)g(Implemen)o(tation)j(of)d(Lisp\))i(seem)e(lik)o +(ely)j(to)e(follo)o(w)g(suit.)p 0 1382 V 1209 1533 a +Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(mod)21 b Fv(numb)n(er)k +(divisor)1209 1585 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(rem)21 b Fv(numb)n(er)k(divisor)0 1663 y Fs(mod)13 +b Fw(p)q(erforms)h(the)h(op)q(eration)f Fs(floor)f Fw(on)h(its)g(t)o(w) +o(o)f(argumen)o(ts)h(and)g(returns)h(the)g Fv(se)n(c-)0 +1715 y(ond)h Fw(result)g(of)e Fs(floor)g Fw(as)h(its)g(only)g(result.) +22 b(Similarly)l(,)12 b Fs(rem)j Fw(p)q(erforms)f(the)i(op)q(eration)0 +1766 y Fs(truncate)e Fw(on)h(its)g(argumen)o(ts)f(and)h(returns)i(the)f +Fv(se)n(c)n(ond)g Fw(result)g(of)f Fs(truncate)e Fw(as)j(its)0 +1818 y(only)d(result.)42 1871 y Fs(mod)d Fw(and)h Fs(rem)g +Fw(are)h(therefore)h(the)f(usual)f(mo)q(dulus)f(and)h(remainder)g +(functions)g(when)0 1923 y(applied)g(to)h(t)o(w)o(o)g(in)o(teger)g +(argumen)o(ts.)17 b(In)12 b(general,)g(ho)o(w)o(ev)o(er,)g(the)h +(argumen)o(ts)e(ma)o(y)f(b)q(e)0 1975 y(in)o(tegers)15 +b(or)f(\015oating-p)q(oin)o(t)e(n)o(um)o(b)q(ers.)0 2069 +y Fs(\(mod)20 b(13)h(4\))g Ft(\))g Fs(1)374 b(\(rem)21 +b(13)f(4\))h Ft(\))g Fs(1)0 2121 y(\(mod)f(-13)h(4\))g +Ft(\))f Fs(3)353 b(\(rem)21 b(-13)f(4\))h Ft(\))g Fs(-1)0 +2173 y(\(mod)f(13)h(-4\))g Ft(\))f Fs(-3)331 b(\(rem)21 +b(13)f(-4\))h Ft(\))g Fs(1)0 2225 y(\(mod)f(-13)h(-4\))f +Ft(\))h Fs(-1)309 b(\(rem)21 b(-13)f(-4\))h Ft(\))g Fs(-1)0 +2277 y(\(mod)f(13.4)h(1\))f Ft(\))h Fs(0.4)287 b(\(rem)21 +b(13.4)f(1\))h Ft(\))g Fs(0.4)0 2329 y(\(mod)f(-13.4)g(1\))h +Ft(\))g Fs(0.6)265 b(\(rem)21 b(-13.4)f(1\))h Ft(\))f +Fs(-0.4)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 379 403 +379 402 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(379)p +0 295 V 0 355 a Fm(Compatibilit)o(y)10 b(note:)17 b FA(The)12 +b(In)o(terlisp)i(function)f Fj(remainder)8 b FA(is)13 +b(essen)o(tially)h(equiv)n(alen)o(t)h(to)0 401 y(the)g(Common)h(Lisp)g +(function)h Fj(rem)p FA(.)22 b(The)15 b(MacLisp)i(function)f +Fj(remainder)c FA(is)k(lik)o(e)g Fj(rem)e FA(but)0 446 +y(accepts)g(only)g(in)o(teger)g(argumen)o(ts.)p 0 483 +V 1209 600 a Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(ffloor)20 +b Fv(numb)n(er)26 b Fs(&optional)19 b Fv(divisor)1209 +652 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(fceiling)20 +b Fv(numb)n(er)25 b Fs(&optional)20 b Fv(divisor)1209 +704 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(ftruncate)19 +b Fv(numb)n(er)26 b Fs(&optional)19 b Fv(divisor)1209 +756 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(fround)20 +b Fv(numb)n(er)26 b Fs(&optional)19 b Fv(divisor)0 833 +y Fw(These)e(functions)g(are)f(just)g(lik)o(e)g Fs(floor)p +Fw(,)f Fs(ceiling)p Fw(,)g Fs(truncate)p Fw(,)f(and)i +Fs(round)p Fw(,)f(except)0 885 y(that)c(the)g(result)g(\(the)h(\014rst) +f(result)g(of)f(t)o(w)o(o\))h(is)f(alw)o(a)o(ys)g(a)g(\015oating-p)q +(oin)o(t)f(n)o(um)o(b)q(er)h(rather)0 937 y(than)k(an)h(in)o(teger.)20 +b(It)15 b(is)f(roughly)g(as)g(if)g Fs(ffloor)f Fw(ga)o(v)o(e)h(its)h +(argumen)o(ts)e(to)i Fs(floor)p Fw(,)e(and)0 989 y(then)20 +b(applied)g Fs(float)e Fw(to)i(the)h(\014rst)f(result)h(b)q(efore)f +(passing)g(them)f(b)q(oth)h(bac)o(k.)36 b(In)0 1040 y(practice,)12 +b(ho)o(w)o(ev)o(er,)f Fs(ffloor)f Fw(ma)o(y)f(b)q(e)i(implemen)o(ted)e +(m)o(uc)o(h)g(more)h(e\016cien)o(tly)m(.)17 b(Similar)0 +1092 y(remarks)12 b(apply)f(to)h(the)h(other)g(three)h(functions.)j(If) +12 b(the)h(\014rst)g(argumen)o(t)e(is)h(a)g(\015oating-)0 +1144 y(p)q(oin)o(t)19 b(n)o(um)o(b)q(er,)g(and)g(the)g(second)i +(argumen)o(t)d(is)h(not)g(a)f(\015oating-p)q(oin)o(t)g(n)o(um)o(b)q(er) +g(of)0 1196 y(longer)i(format,)e(then)j(the)f(\014rst)h(result)f(will)f +(b)q(e)h(a)g(\015oating-p)q(oin)o(t)e(n)o(um)o(b)q(er)h(of)g(the)0 +1248 y(same)13 b(t)o(yp)q(e)h(as)g(the)h(\014rst)g(argumen)o(t.)h(F)m +(or)e(example:)0 1335 y Fs(\(ffloor)20 b(-4.7\))g Ft(\))h +Fs(-5.0)f(and)g(0.3)0 1387 y(\(ffloor)g(3.5d0\))g Ft(\))g +Fs(3.0d0)g(and)h(0.5d0)1209 1525 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(decode-float)19 b Fv(\015o)n(at)1209 +1577 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(scale-float)19 +b Fv(\015o)n(at)26 b(inte)n(ger)1209 1629 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(float-radix)19 b Fv(\015o)n(at)1209 1681 +y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(float-sign)19 +b Fv(\015o)n(at1)28 b Fs(&optional)19 b Fv(\015o)n(at2)1209 +1733 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(float-digits)19 +b Fv(\015o)n(at)1209 1785 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(float-precision)18 b Fv(\015o)n(at)1209 1836 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(integer-decode-fl)o(oat)18 +b Fv(\015o)n(at)0 1913 y Fw(The)d(function)f Fs(decode-float)e +Fw(tak)o(es)j(a)f(\015oating-p)q(oin)o(t)f(n)o(um)o(b)q(er)g(and)h +(returns)i(three)0 1965 y(v)n(alues.)42 2017 y(The)11 +b(\014rst)h(v)n(alue)e(is)h(a)g(new)h(\015oating-p)q(oin)o(t)d(n)o(um)o +(b)q(er)i(of)f(the)i(same)e(format)g(represen)o(t-)0 +2069 y(ing)k(the)h(signi\014cand;)e(the)i(second)h(v)n(alue)d(is)i(an)f +(in)o(teger)g(represen)o(ting)i(the)f(exp)q(onen)o(t;)0 +2121 y(and)f(the)i(third)e(v)n(alue)g(is)g(a)h(\015oating-p)q(oin)o(t)e +(n)o(um)o(b)q(er)g(of)h(the)i(same)d(format)g(indicating)0 +2173 y(the)f(sign)f(\()p Ft(\000)p Fw(1)p Fh(:)p Fw(0)f(or)i(1)p +Fh(:)p Fw(0\).)k(Let)c Fv(b)f Fw(b)q(e)h(the)g(radix)e(for)h(the)h +(\015oating-p)q(oin)o(t)e(represen)o(tation;)0 2225 y(then)16 +b Fs(decode-float)d Fw(divides)j(the)g(argumen)o(t)e(b)o(y)h(an)h(in)o +(tegral)e(p)q(o)o(w)o(er)i(of)f Fv(b)h Fw(so)f(as)h(to)0 +2277 y(bring)d(its)f(v)n(alue)h(b)q(et)o(w)o(een)h(1/)p +Fv(b)f Fw(\(inclusiv)o(e\))f(and)h(1)g(\(exclusiv)o(e\))g(and)g +(returns)i(the)e(quo-)0 2329 y(tien)o(t)j(as)g(the)g(\014rst)g(v)n +(alue.)23 b(If)16 b(the)g(argumen)o(t)f(is)g(zero,)i(ho)o(w)o(ev)o(er,) +f(the)g(result)g(is)g(equal)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 380 404 +380 403 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(380)77 b(COMMON)13 +b(LISP)0 295 y Fw(to)h(the)h(absolute)g(v)n(alue)f(of)g(the)h(argumen)o +(t)e(\(that)i(is,)f(if)g(there)i(is)e(a)g(negativ)o(e)h(zero,)g(its)0 +347 y(signi\014cand)e(is)h(considered)i(to)d(b)q(e)i(a)e(p)q(ositiv)o +(e)h(zero\).)42 399 y(The)c(second)h(v)n(alue)f(of)f +Fs(decode-float)f Fw(is)i(the)g(in)o(teger)h(exp)q(onen)o(t)g +Fv(e)f Fw(to)g(whic)o(h)g Fv(b)g Fw(m)o(ust)0 451 y(b)q(e)15 +b(raised)f(to)g(pro)q(duce)h(the)g(appropriate)f(p)q(o)o(w)o(er)h(for)e +(the)i(division.)i(If)d(the)h(argumen)o(t)0 503 y(is)f(zero,)h(an)o(y)f +(in)o(teger)h(v)n(alue)f(ma)o(y)e(b)q(e)j(returned,)h(pro)o(vided)e +(that)h(the)g(iden)o(tit)o(y)f(sho)o(wn)0 555 y(b)q(elo)o(w)g(for)f +Fs(scale-float)f Fw(holds.)42 608 y(The)k(third)h(v)n(alue)e(of)h +Fs(decode-float)e Fw(is)i(a)g(\015oating-p)q(oin)o(t)f(n)o(um)o(b)q +(er,)h(of)g(the)h(same)0 659 y(format)e(as)i(the)g(argumen)o(t,)f +(whose)h(absolute)g(v)n(alue)f(is)g(1)h(and)f(whose)i(sign)e(matc)o +(hes)0 711 y(that)e(of)f(the)i(argumen)o(t.)42 764 y(The)e(function)g +Fs(scale-float)d Fw(tak)o(es)k(a)e(\015oating-p)q(oin)o(t)g(n)o(um)o(b) +q(er)g Fv(f)h Fw(\(not)g(necessarily)0 816 y(b)q(et)o(w)o(een)18 +b(1/)p Fv(b)e Fw(and)h(1\))f(and)h(an)f(in)o(teger)i +Fv(k)p Fw(,)e(and)h(returns)h Fs(\(*)j Fv(f)g Fs(\(expt)f(\(float)g +Fv(b)h(f)p Fs(\))0 868 y Fv(k)p Fs(\)\))p Fw(.)f(\(The)15 +b(use)g(of)f Fs(scale-float)e Fw(ma)o(y)h(b)q(e)i(m)o(uc)o(h)e(more)h +(e\016cien)o(t)h(than)f(using)h(exp)q(o-)0 920 y(nen)o(tiation)c(and)h +(m)o(ultiplicatio)o(n)d(and)j(a)o(v)o(oids)f(in)o(termediate)g(o)o(v)o +(er\015o)o(w)h(and)f(under\015o)o(w)0 972 y(if)i(the)i(\014nal)e +(result)h(is)g(represen)o(table.\))42 1024 y(Note)g(that)0 +1117 y Fs(\(multiple-value-b)o(ind)k(\(signif)i(expon)g(sign\))445 +1169 y(\(decode-float)e Fv(f)p Fs(\))42 1221 y(\(scale-float)h(signif)h +(expon\)\))0 1273 y Ft(\021)h Fs(\(abs)g Fv(f)p Fs(\))0 +1364 y Fw(and)0 1457 y Fs(\(multiple-value-b)o(ind)d(\(signif)i(expon)g +(sign\))445 1509 y(\(decode-float)e Fv(f)p Fs(\))42 1561 +y(\(*)j(\(scale-float)e(signif)h(expon\))g(sign\)\))0 +1613 y Ft(\021)h Fv(f)42 1705 y Fw(The)10 b(function)f +Fs(float-radix)e Fw(returns)12 b(\(as)e(an)f(in)o(teger\))h(the)h +(radix)e Fv(b)g Fw(of)h(the)g(\015oating-)0 1756 y(p)q(oin)o(t)j +(argumen)o(t.)42 1809 y(The)e(function)f Fs(float-sign)e +Fw(returns)k(a)f(\015oating-p)q(oin)o(t)e(n)o(um)o(b)q(er)h +Fv(z)15 b Fw(suc)o(h)d(that)e Fv(z)16 b Fw(and)0 1861 +y Fv(\015o)n(at1)g Fw(ha)o(v)o(e)f(the)g(same)g(sign)f(and)h(also)g +(suc)o(h)g(that)h Fv(z)k Fw(and)15 b Fv(\015o)n(at2)g +Fw(ha)o(v)o(e)g(the)h(same)e(ab-)0 1913 y(solute)h(v)n(alue.)k(The)14 +b(argumen)o(t)g Fv(\015o)n(at2)h Fw(defaults)f(to)g(the)h(v)n(alue)f +(of)g Fs(\(float)20 b(1)h Fv(\015o)n(at1)p Fs(\))p Fw(;)0 +1965 y Fs(\(float-sign)e(x\))13 b Fw(therefore)i(alw)o(a)o(ys)d(pro)q +(duces)j(a)e Fs(1.0)f Fw(or)i Fs(-1.0)e Fw(of)h(appropriate)g(for-)0 +2017 y(mat)g(according)h(to)g(the)h(sign)f(of)g Fs(x)p +Fw(.)19 b(\(Note)c(that)g(if)e(an)h(implemen)o(tation)d(has)j(distinct) +0 2069 y(represen)o(tations)h(for)e(negativ)o(e)g(zero)h(and)f(p)q +(ositiv)o(e)f(zero,)i(then)g Fs(\(float-sign)19 b(-0.0\))0 +2120 y Ft(\))13 b Fs(-1.0)p Fw(.\))42 2173 y(The)f(function)g +Fs(float-digits)e Fw(returns,)k(as)f(a)f(non-negativ)o(e)g(in)o(teger,) +g(the)h(n)o(um)o(b)q(er)0 2225 y(of)f(radix-)p Fv(b)g +Fw(digits)f(used)j(in)e(the)h(represen)o(tation)h(of)e(its)g(argumen)o +(t)f(\(including)h(an)o(y)g(im-)0 2277 y(plicit)f(digits,)g(suc)o(h)i +(as)e(a)h(\\hidden)f(bit"\).)17 b(The)c(function)e Fs(float-precision)e +Fw(returns,)0 2329 y(as)15 b(a)g(non-negativ)o(e)g(in)o(teger,)h(the)g +(n)o(um)o(b)q(er)e(of)h(signi\014can)o(t)g(radix-)p Fv(b)g +Fw(digits)f(presen)o(t)j(in)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 381 405 +381 404 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(381)0 +295 y Fw(the)13 b(argumen)o(t;)e(if)h(the)h(argumen)o(t)e(is)h(\(a)g +(\015oating-p)q(oin)o(t\))f(zero,)i(then)g(the)g(result)h(is)e(\(an)0 +347 y(in)o(teger\))17 b(zero.)28 b(F)m(or)16 b(normalized)f +(\015oating-p)q(oin)o(t)g(n)o(um)o(b)q(ers,)i(the)g(results)h(of)e +Fs(float-)0 399 y(digits)c Fw(and)g Fs(float-precision)e +Fw(will)h(b)q(e)j(the)f(same,)f(but)h(the)h(precision)f(will)f(b)q(e)h +(less)0 450 y(than)h(the)g(n)o(um)o(b)q(er)g(of)f(represen)o(tation)i +(digits)e(for)h(a)g(denormalized)e(or)i(zero)h(n)o(um)o(b)q(er.)42 +504 y(The)i(function)g Fs(integer-decode-fl)o(oat)d Fw(is)j(similar)d +(to)j Fs(decode-float)e Fw(but)i(for)0 555 y(its)g(\014rst)h(v)n(alue)f +(returns,)i(as)f(an)f Fs(integer)p Fw(,)f(the)i(signi\014cand)f(scaled) +h(so)f(as)h(to)f(b)q(e)h(an)0 607 y(in)o(teger.)g(F)m(or)c(an)g +(argumen)o(t)e Fv(f)p Fw(,)h(this)h(in)o(teger)h(will)d(b)q(e)j +(strictly)f(less)g(than)0 705 y Fs(\(expt)20 b Fv(b)h +Fs(\(float-precision)d Fv(f)p Fs(\)\))0 802 y Fw(but)c(no)g(less)g +(than)0 900 y Fs(\(expt)20 b Fv(b)h Fs(\(-)g(\(float-precision)d +Fv(f)p Fs(\))j(1\)\))0 996 y Fw(except)15 b(that)f(if)f +Fv(f)h Fw(is)g(zero,)g(then)g(the)h(in)o(teger)f(v)n(alue)f(will)g(b)q +(e)h(zero.)42 1049 y(The)22 b(second)h(v)n(alue)f(b)q(ears)h(the)g +(same)e(relationship)h(to)g(the)g(\014rst)h(v)n(alue)f(as)g(for)0 +1101 y Fs(decode-float)p Fw(:)0 1199 y Fs(\(multiple-value-b)o(ind)c +(\(signif)i(expon)g(sign\))445 1251 y(\(integer-decode)o(-floa)o(t)e +Fv(f)p Fs(\))42 1303 y(\(scale-float)h(\(float)h(signif)g +Fv(f)p Fs(\))h(expon\)\))0 1355 y Ft(\021)g Fs(\(abs)g +Fv(f)p Fs(\))42 1451 y Fw(The)14 b(third)g(v)n(alue)f(of)g +Fs(integer-decode-floa)o(t)e Fw(will)h(b)q(e)j Fs(1)e +Fw(or)h Fs(-1)p Fw(.)p 0 1511 V 0 1573 a Fm(Rationale:)19 +b FA(These)c(functions)g(allo)o(w)h(the)e(writing)i(of)d(mac)o +(hine-indep)r(endent,)k(or)d(at)g(least)0 1618 y(mac)o +(hine-parameterized,)i(\015oating-p)q(oin)o(t)g(soft)o(w)o(are)c(of)h +(reasonable)i(e\016ciency)m(.)p 0 1667 V 1209 1836 a +Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(complex)20 b +Fv(r)n(e)n(alp)n(art)k Fs(&optional)19 b Fv(imagp)n(art)0 +1914 y Fw(The)12 b(argumen)o(ts)g(m)o(ust)f(b)q(e)h(non-complex)e(n)o +(um)o(b)q(ers;)i(a)g(n)o(um)o(b)q(er)f(is)h(returned)i(that)e(has)0 +1966 y Fv(r)n(e)n(alp)n(art)e Fw(as)i(its)g(real)f(part)h(and)f +Fv(imagp)n(art)h Fw(as)f(its)h(imaginary)c(part,)k(p)q(ossibly)g(con)o +(v)o(erted)0 2017 y(according)j(to)g(the)g(rule)g(of)g(\015oating-p)q +(oin)o(t)e(con)o(tagion)h(\(th)o(us)i(b)q(oth)f(comp)q(onen)o(ts)f +(will)0 2069 y(b)q(e)g(of)f(the)h(same)f(t)o(yp)q(e\).)18 +b(If)13 b Fv(imagp)n(art)g Fw(is)h(not)f(sp)q(eci\014ed,)i(then)f +Fs(\(coerce)19 b(0)i(\(type-of)0 2121 y Fv(r)n(e)n(alp)n(art)p +Fs(\)\))12 b Fw(is)i(e\013ectiv)o(ely)g(used.)19 b(Note)c(that)e(if)g +(b)q(oth)h(the)h Fv(r)n(e)n(alp)n(art)d Fw(and)i Fv(imagp)n(art)f +Fw(are)0 2173 y(rational)g(and)i(the)g Fv(imagp)n(art)f +Fw(is)g(zero,)h(then)g(the)g(result)h(is)e(just)h(the)g +Fv(r)n(e)n(alp)n(art)e Fw(b)q(ecause)0 2225 y(of)i(the)h(rule)g(of)f +(canonical)g(represen)o(tation)i(for)e(complex)f(rationals.)22 +b(It)16 b(follo)o(ws)e(that)0 2277 y(the)k(result)f(of)g +Fs(complex)e Fw(is)i(not)g(alw)o(a)o(ys)f(a)g(complex)g(n)o(um)o(b)q +(er;)h(it)g(ma)o(y)e(b)q(e)i(simply)e(a)0 2329 y Fs(rational)p +Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 382 406 +382 405 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(382)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(realpart)20 b Fv(numb)n(er)1209 347 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(imagpart)20 b Fv(numb)n(er)0 424 y Fw(These)d(return)g +(the)f(real)g(and)g(imaginary)d(parts)j(of)f(a)h(complex)e(n)o(um)o(b)q +(er.)23 b(If)16 b Fv(numb)n(er)0 475 y Fw(is)h(a)f(non-complex)f(n)o +(um)o(b)q(er,)h(then)i Fs(realpart)d Fw(returns)j(its)f(argumen)o(t)e +Fv(numb)n(er)i Fw(and)0 527 y Fs(imagpart)9 b Fw(returns)j +Fs(\(*)21 b(0)g Fv(numb)n(er)p Fs(\))p Fw(,)11 b(whic)o(h)f(has)h(the)g +(e\013ect)i(that)d(the)i(imaginary)c(part)0 579 y(of)14 +b(a)g(rational)g(is)g Fs(0)h Fw(and)f(that)h(of)f(a)g(\015oating-p)q +(oin)o(t)f(n)o(um)o(b)q(er)h(is)g(a)h(\015oating-p)q(oin)o(t)e(zero)0 +631 y(of)g(the)i(same)e(format.)42 683 y(A)g(clev)o(er)i(w)o(a)o(y)e +(to)h(m)o(ultiply)d(a)j(complex)e(n)o(um)o(b)q(er)i Fv(z)f +Fw(b)o(y)h Fv(i)g Fw(is)f(to)h(write)-33 655 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 770 a Fs(\(complex)20 b(\(-)g(\(imagpart)g +Fv(z)p Fs(\)\))g(\(realpart)g Fv(z)p Fs(\)\))0 857 y +Fw(instead)d(of)f Fs(\(*)21 b Fv(z)g Fs(#)299 853 y(-)299 +861 y(-)321 857 y(c\(0)f(1\)\))p Fw(.)26 b(This)17 b(clev)o(erness)h +(is)f(not)f(alw)o(a)o(ys)g(gratuitous;)h(it)g(ma)o(y)0 +909 y(b)q(e)d(of)e(particular)h(imp)q(ortance)f(in)g(the)i(presence)h +(of)e(min)o(us)e(zero.)18 b(F)m(or)13 b(example,)e(if)h(w)o(e)0 +961 y(are)j(using)f(IEEE)h(standard)f(\015oating-p)q(oin)o(t)f +(arithmetic)g(and)i Fh(z)f Fw(=)e(4)e(+)f(0)p Fv(i)t +Fw(,)14 b(the)h(result)0 1013 y(of)c(the)i(clev)o(er)g(expression)g(is) +f Ft(\000)p Fw(0)6 b(+)g(4)p Fv(i)t Fw(,)12 b(a)f(true)i(90)788 +998 y Fl(\016)819 1013 y Fw(rotation)e(of)h Fv(z)5 b +Fw(,)12 b(whereas)h(the)g(result)0 1065 y(of)g Fs(\(*)21 +b Fv(z)g Fs(#)150 1061 y(-)150 1069 y(-)172 1065 y(c\(0)g(1\)\))13 +b Fw(is)g(lik)o(ely)g(to)h(b)q(e)0 1151 y(\(4)9 b(+)h(0)p +Fv(i)s Fw(\)\(+0)g(+)f Fv(i)t Fw(\))j(=)g(\(\(4\)\(+0\))e +Ft(\000)f Fw(\(+0\)\(1\)\))h(+)f(\(\(4\)\(1\))h(+)f(\(+0\)\(+0\)\))p +Fv(i)100 1203 y Fw(=)i(\(\(+0\))f Ft(\000)g Fw(\(+0\)\))f(+)h(\(\(4\))f +(+)h(\(+0\)\))p Fv(i)16 b Fw(=)c(+0)d(+)g(4)p Fv(i)0 +1290 y Fw(whic)o(h)14 b(could)f(land)h(on)f(the)i(wrong)f(side)g(of)f +(a)h(branc)o(h)g(cut,)g(for)g(example.)-33 1302 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1447 a Fo(12.7.)20 b(Logical)14 b(Op)r(erations)g(on)h +(Num)n(b)r(ers)0 1535 y Fw(The)h(logical)e(op)q(erations)j(in)e(this)h +(section)h(require)f(in)o(tegers)h(as)f(argumen)o(ts;)g(it)f(is)h(an)0 +1587 y(error)d(to)g(supply)f(a)g(non-in)o(teger)g(as)h(an)f(argumen)o +(t.)k(The)d(functions)g(all)e(treat)i(in)o(tegers)0 1639 +y(as)h(if)f(they)h(w)o(ere)h(represen)o(ted)i(in)c(t)o(w)o +(o's-complemen)o(t)e(notation.)p 0 1698 V 0 1759 a Fm(Implemen)o +(tation)h(note:)18 b FA(In)o(ternally)m(,)c(of)f(course,)g(an)g +(implemen)o(tation)j(of)d(Common)g(Lisp)0 1804 y(ma)o(y)e(or)g(ma)o(y)g +(not)g(use)g(a)f(t)o(w)o(o's-complemen)o(t)i(represen)o(tation.)18 +b(All)12 b(that)f(is)g(necessary)h(is)f(that)0 1850 y(the)g(logical)j +(op)q(erations)g(p)q(erform)d(calculation)q(s)j(so)d(as)h(to)f(giv)o(e) +h(this)h(app)q(earance)g(to)e(the)h(user.)p 0 1886 V +42 1966 a Fw(The)19 b(logical)e(op)q(erations)i(pro)o(vide)g(a)g(con)o +(v)o(enien)o(t)g(w)o(a)o(y)f(to)h(represen)o(t)i(an)e(in\014nite)0 +2017 y(v)o(ector)d(of)f(bits.)23 b(Let)16 b(suc)o(h)g(a)f(conceptual)h +(v)o(ector)g(b)q(e)g(indexed)g(b)o(y)f(the)h(non-negativ)o(e)0 +2069 y(in)o(tegers.)33 b(Then)19 b(bit)g Fv(j)24 b Fw(is)18 +b(assigned)h(a)g(\\w)o(eigh)o(t")e(2)857 2054 y Fi(j)870 +2069 y Fw(.)32 b(Assume)19 b(that)f(only)g(a)h(\014nite)0 +2121 y(n)o(um)o(b)q(er)14 b(of)h(bits)g(are)h(1's)f(or)g(only)f(a)h +(\014nite)g(n)o(um)o(b)q(er)g(of)f(bits)i(are)f(0's.)22 +b(A)15 b(v)o(ector)h(with)0 2173 y(only)11 b(a)g(\014nite)g(n)o(um)o(b) +q(er)g(of)g(one-bits)h(is)f(represen)o(ted)j(as)e(the)g(sum)e(of)h(the) +h(w)o(eigh)o(ts)f(of)g(the)0 2225 y(one-bits,)17 b(a)f(p)q(ositiv)o(e)g +(in)o(teger.)26 b(A)16 b(v)o(ector)h(with)f(only)g(a)g(\014nite)h(n)o +(um)o(b)q(er)e(of)h(zero-bits)0 2277 y(is)d(represen)o(ted)j(as)e +Fs(-1)f Fw(min)o(us)f(the)i(sum)e(of)h(the)h(w)o(eigh)o(ts)f(of)g(the)h +(zero-bits,)g(a)f(negativ)o(e)0 2329 y(in)o(teger.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 383 407 +383 406 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(383)42 +295 y Fw(This)14 b(metho)q(d)g(of)g(using)g(in)o(tegers)h(to)g +(represen)o(t)i(bit-v)o(ectors)e(can)g(in)f(turn)h(b)q(e)g(used)0 +347 y(to)i(represen)o(t)j(sets.)30 b(Supp)q(ose)18 b(that)g(some)e(\(p) +q(ossibly)i(coun)o(tably)e(in\014nite\))i(univ)o(erse)0 +399 y(of)g(discourse)h(for)f(sets)i(is)e(mapp)q(ed)f(in)o(to)h(the)g +(non-negativ)o(e)g(in)o(tegers.)32 b(Then)19 b(a)f(set)0 +450 y(can)e(b)q(e)h(represen)o(ted)i(as)d(a)f(bit)h(v)o(ector;)h(an)f +(elemen)o(t)g(is)g(in)f(the)i(set)g(if)e(the)h(bit)g(whose)0 +502 y(index)e(corresp)q(onds)i(to)e(that)g(elemen)o(t)g(is)g(a)g +(one-bit.)k(In)c(this)g(w)o(a)o(y)g(all)f(\014nite)h(sets)i(can)0 +554 y(b)q(e)h(represen)o(ted)i(\(b)o(y)d(p)q(ositiv)o(e)g(in)o +(tegers\),)i(as)e(w)o(ell)g(as)g(all)f(sets)j(whose)e(complemen)o(ts)0 +606 y(are)f(\014nite)g(\(b)o(y)f(negativ)o(e)g(in)o(tegers\).)21 +b(The)15 b(functions)g Fs(logior)p Fw(,)e Fs(logand)p +Fw(,)g(and)h Fs(logxor)0 658 y Fw(de\014ned)f(b)q(elo)o(w)f(then)g +(compute)g(the)h(union,)e(in)o(tersection,)i(and)f(symmetric)e +(di\013erence)0 710 y(op)q(erations)k(on)g(sets)h(represen)o(ted)i(in)c +(this)h(w)o(a)o(y)m(.)1209 832 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(logior)20 b(&rest)g Fv(inte)n(gers)0 +909 y Fw(This)12 b(returns)i(the)f(bit-wise)g(logical)d +Fv(inclusive)k(or)e Fw(of)f(its)i(argumen)o(ts.)k(If)12 +b(no)g(argumen)o(t)0 961 y(is)i(giv)o(en,)f(then)h(the)h(result)f(is)g +(zero,)g(whic)o(h)g(is)g(an)g(iden)o(tit)o(y)f(for)g(this)h(op)q +(eration.)1209 1083 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(logxor)20 b(&rest)g Fv(inte)n(gers)0 1160 y Fw(This)12 +b(returns)i(the)f(bit-wise)f(logical)e Fv(exclusive)k(or)e +Fw(of)f(its)h(argumen)o(ts.)17 b(If)12 b(no)g(argumen)o(t)0 +1212 y(is)i(giv)o(en,)f(then)h(the)h(result)f(is)g(zero,)g(whic)o(h)g +(is)g(an)g(iden)o(tit)o(y)f(for)g(this)h(op)q(eration.)1209 +1335 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(logand)20 +b(&rest)g Fv(inte)n(gers)0 1411 y Fw(This)11 b(returns)i(the)e +(bit-wise)g(logical)f Fv(and)h Fw(of)g(its)g(argumen)o(ts.)16 +b(If)11 b(no)g(argumen)o(t)f(is)h(giv)o(en,)0 1463 y(then)k(the)f +(result)h(is)e Fs(-1)p Fw(,)g(whic)o(h)h(is)g(an)g(iden)o(tit)o(y)f +(for)g(this)h(op)q(eration.)1209 1586 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(logeqv)20 b(&rest)g Fv(inte)n(gers)0 +1663 y Fw(This)14 b(returns)i(the)f(bit-wise)g(logical)e +Fv(e)n(quivalenc)n(e)h Fw(\(also)g(kno)o(wn)h(as)f Fv(exclusive)i(nor)p +Fw(\))e(of)0 1714 y(its)k(argumen)o(ts.)31 b(If)18 b(no)h(argumen)o(t)e +(is)h(giv)o(en,)h(then)g(the)g(result)g(is)g Fs(-1)p +Fw(,)f(whic)o(h)h(is)f(an)0 1766 y(iden)o(tit)o(y)13 +b(for)h(this)g(op)q(eration.)1209 1889 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(lognand)20 b Fv(inte)n(ger1)26 b(inte)n(ger2)1209 +1941 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(lognor)20 +b Fv(inte)n(ger1)26 b(inte)n(ger2)1209 1993 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(logandc1)20 b Fv(inte)n(ger1)26 +b(inte)n(ger2)1209 2044 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(logandc2)20 b Fv(inte)n(ger1)26 b(inte)n(ger2)1209 +2096 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(logorc1)20 +b Fv(inte)n(ger1)26 b(inte)n(ger2)1209 2148 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(logorc2)20 b Fv(inte)n(ger1)26 +b(inte)n(ger2)0 2225 y Fw(These)19 b(are)f(the)g(other)g(six)g +(non-trivial)e(bit-wise)h(logical)f(op)q(erations)i(on)f(t)o(w)o(o)g +(argu-)0 2277 y(men)o(ts.)30 b(Because)20 b(they)e(are)h(not)f(asso)q +(ciativ)o(e,)g(they)h(tak)o(e)f(exactly)g(t)o(w)o(o)f(argumen)o(ts)0 +2329 y(rather)e(than)f(an)o(y)f(non-negativ)o(e)g(n)o(um)o(b)q(er)h(of) +f(argumen)o(ts.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 384 408 +384 407 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(384)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(lognand)20 b Fv(n1)h(n2)p Fs(\))h +Ft(\021)f Fs(\(lognot)f(\(logand)g Fv(n1)h(n2)p Fs(\)\))0 +355 y(\(lognor)f Fv(n1)h(n2)p Fs(\))h Ft(\021)f Fs(\(lognot)f(\(logior) +g Fv(n1)i(n2)p Fs(\)\))0 415 y(\(logandc1)d Fv(n1)j(n2)p +Fs(\))g Ft(\021)f Fs(\(logand)f(\(lognot)f Fv(n1)p Fs(\))j +Fv(n2)p Fs(\))0 475 y(\(logandc2)d Fv(n1)j(n2)p Fs(\))g +Ft(\021)f Fs(\(logand)f Fv(n1)h Fs(\(lognot)f Fv(n2)p +Fs(\)\))0 535 y(\(logorc1)g Fv(n1)h(n2)p Fs(\))h Ft(\021)f +Fs(\(logior)f(\(lognot)g Fv(n1)p Fs(\))h Fv(n2)p Fs(\))0 +596 y(\(logorc2)f Fv(n1)h(n2)p Fs(\))h Ft(\021)f Fs(\(logior)f +Fv(n1)i Fs(\(lognot)d Fv(n2)p Fs(\)\))42 1121 y Fw(The)c(ten)h +(bit-wise)f(logical)e(op)q(erations)j(on)f(t)o(w)o(o)g(in)o(tegers)h +(are)f(summarized)e(in)i(the)0 1172 y(follo)o(wing)c(table:)31 +1743 y Fv(inte)n(ger1)49 b Fs(0)h(0)f(1)h(1)31 1795 y +Fv(inte)n(ger2)f Fs(0)h(1)f(0)h(1)g Fw(Op)q(eration)14 +b(Name)p 0 1812 1267 2 v 1 1861 a Fs(logand)91 b(0)50 +b(0)f(0)h(1)g Fw(and)1 1913 y Fs(logior)91 b(0)50 b(1)f(1)h(1)g +Fw(inclusiv)o(e)13 b(or)1 1965 y Fs(logxor)91 b(0)50 +b(1)f(1)h(0)g Fw(exclusiv)o(e)14 b(or)1 2017 y Fs(logeqv)91 +b(1)50 b(0)f(0)h(1)g Fw(equiv)n(alence)14 b(\(exclusiv)o(e)g(nor\))1 +2069 y Fs(lognand)69 b(1)50 b(1)f(1)h(0)g Fw(not-and)1 +2121 y Fs(lognor)91 b(1)50 b(0)f(0)h(0)g Fw(not-or)0 +2172 y Fs(logandc1)e(0)i(1)f(0)h(0)g Fw(and)13 b(complemen)o(t)f(of)h +Fv(inte)n(ger1)h Fw(with)f Fv(inte)n(ger2)0 2224 y Fs(logandc2)48 +b(0)i(0)f(1)h(0)g Fw(and)13 b Fv(inte)n(ger1)h Fw(with)f(complemen)o(t) +f(of)h Fv(inte)n(ger2)1 2276 y Fs(logorc1)69 b(1)50 b(1)f(0)h(1)g +Fw(or)13 b(complemen)o(t)f(of)h Fv(inte)n(ger1)h Fw(with)g +Fv(inte)n(ger2)1 2328 y Fs(logorc2)69 b(1)50 b(0)f(1)h(1)g +Fw(or)13 b Fv(inte)n(ger1)h Fw(with)g(complemen)o(t)d(of)j +Fv(inte)n(ger2)p 0 2345 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 385 409 +385 408 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(385)1209 +295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(boole)20 +b Fv(op)k(inte)n(ger1)j(inte)n(ger2)1204 347 y Fw([)p +Fv(Constant)t Fw(])-1395 b Fs(boole-clr)1204 399 y Fw([)p +Fv(Constant)t Fw(])g Fs(boole-set)1204 450 y Fw([)p Fv(Constant)t +Fw(])g Fs(boole-1)1204 502 y Fw([)p Fv(Constant)t Fw(])g +Fs(boole-2)1204 554 y Fw([)p Fv(Constant)t Fw(])g Fs(boole-c1)1204 +606 y Fw([)p Fv(Constant)t Fw(])g Fs(boole-c2)1204 658 +y Fw([)p Fv(Constant)t Fw(])g Fs(boole-and)1204 710 y +Fw([)p Fv(Constant)t Fw(])g Fs(boole-ior)1204 762 y Fw([)p +Fv(Constant)t Fw(])g Fs(boole-xor)1204 814 y Fw([)p Fv(Constant)t +Fw(])g Fs(boole-eqv)1204 866 y Fw([)p Fv(Constant)t Fw(])g +Fs(boole-nand)1204 917 y Fw([)p Fv(Constant)t Fw(])g +Fs(boole-nor)1204 969 y Fw([)p Fv(Constant)t Fw(])g Fs(boole-andc1)1204 +1021 y Fw([)p Fv(Constant)t Fw(])g Fs(boole-andc2)1204 +1073 y Fw([)p Fv(Constant)t Fw(])g Fs(boole-orc1)1204 +1125 y Fw([)p Fv(Constant)t Fw(])g Fs(boole-orc2)0 1202 +y Fw(The)16 b(function)g Fs(boole)f Fw(tak)o(es)h(an)g(op)q(eration)g +Fv(op)g Fw(and)g(t)o(w)o(o)g(in)o(tegers,)h(and)e(returns)j(an)0 +1254 y(in)o(teger)e(pro)q(duced)i(b)o(y)d(p)q(erforming)g(the)i +(logical)d(op)q(eration)i(sp)q(eci\014ed)h(b)o(y)f Fv(op)g +Fw(on)g(the)0 1306 y(t)o(w)o(o)d(in)o(tegers.)18 b(The)c(precise)h(v)n +(alues)d(of)h(the)h(sixteen)g(constan)o(ts)g(are)f(implemen)o(tation-)0 +1357 y(dep)q(enden)o(t,)i(but)f(they)h(are)f(suitable)g(for)f(use)i(as) +f(the)g(\014rst)h(argumen)o(t)e(to)h Fs(boole)p Fw(:)96 +1432 y Fv(inte)n(ger1)50 b Fs(0)f(0)h(1)f(1)96 1483 y +Fv(inte)n(ger2)h Fs(0)f(1)h(0)f(1)h Fw(Op)q(eration)14 +b(P)o(erformed)p 0 1501 1332 2 v 1 1550 a Fs(boole-clr)91 +b(0)49 b(0)h(0)f(0)h Fw(alw)o(a)o(ys)13 b(0)1 1602 y +Fs(boole-set)91 b(1)49 b(1)h(1)f(1)h Fw(alw)o(a)o(ys)13 +b(1)2 1654 y Fs(boole-1)134 b(0)49 b(0)h(1)f(1)h Fv(inte)n(ger1)2 +1705 y Fs(boole-2)134 b(0)49 b(1)h(0)f(1)h Fv(inte)n(ger2)2 +1757 y Fs(boole-c1)112 b(1)49 b(1)h(0)f(0)h Fw(complemen)o(t)12 +b(of)h Fv(inte)n(ger1)2 1809 y Fs(boole-c2)112 b(1)49 +b(0)h(1)f(0)h Fw(complemen)o(t)12 b(of)h Fv(inte)n(ger2)1 +1861 y Fs(boole-and)91 b(0)49 b(0)h(0)f(1)h Fw(and)1 +1913 y Fs(boole-ior)91 b(0)49 b(1)h(1)f(1)h Fw(inclusiv)o(e)14 +b(or)1 1965 y Fs(boole-xor)91 b(0)49 b(1)h(1)f(0)h Fw(exclusiv)o(e)14 +b(or)1 2017 y Fs(boole-eqv)91 b(1)49 b(0)h(0)f(1)h Fw(equiv)n(alence)14 +b(\(exclusiv)o(e)h(nor\))1 2069 y Fs(boole-nand)69 b(1)49 +b(1)h(1)f(0)h Fw(not-and)1 2121 y Fs(boole-nor)91 b(1)49 +b(0)h(0)f(0)h Fw(not-or)0 2172 y Fs(boole-andc1)e(0)h(1)h(0)f(0)h +Fw(and)14 b(complemen)o(t)d(of)j Fv(inte)n(ger1)f Fw(with)h +Fv(inte)n(ger2)0 2224 y Fs(boole-andc2)48 b(0)h(0)h(1)f(0)h +Fw(and)14 b Fv(inte)n(ger1)f Fw(with)h(complemen)o(t)e(of)h +Fv(inte)n(ger2)1 2276 y Fs(boole-orc1)69 b(1)49 b(1)h(0)f(1)h +Fw(or)14 b(complemen)o(t)e(of)h Fv(inte)n(ger1)g Fw(with)h +Fv(inte)n(ger2)1 2328 y Fs(boole-orc2)69 b(1)49 b(0)h(1)f(1)h +Fw(or)14 b Fv(inte)n(ger1)f Fw(with)h(complemen)o(t)e(of)h +Fv(inte)n(ger2)p 0 2345 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 386 410 +386 409 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(386)77 b(COMMON)13 +b(LISP)42 295 y Fs(boole)c Fw(can)i(therefore)i(compute)d(all)g +(sixteen)i(logical)d(functions)i(on)g(t)o(w)o(o)f(argumen)o(ts.)0 +347 y(In)k(general,)0 433 y Fs(\(boole)20 b(boole-and)f(x)i(y\))g +Ft(\021)g Fs(\(logand)f(x)h(y\))0 519 y Fw(and)15 b(the)g(latter)g(is)g +(more)f(p)q(erspicuous.)22 b(Ho)o(w)o(ev)o(er,)15 b Fs(boole)f +Fw(is)h(useful)f(when)i(it)e(is)h(nec-)0 571 y(essary)j(to)f +(parameterize)g(a)g(pro)q(cedure)i(so)e(that)g(it)f(can)i(use)f(one)h +(of)e(sev)o(eral)h(logical)0 623 y(op)q(erations.)1209 +756 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(lognot)20 +b Fv(inte)n(ger)0 833 y Fw(This)15 b(returns)i(the)e(bit-wise)g +(logical)e Fv(not)j Fw(of)e(its)h(argumen)o(t.)21 b(Ev)o(ery)15 +b(bit)g(of)f(the)i(result)0 885 y(is)e(the)g(complemen)o(t)e(of)h(the)i +(corresp)q(onding)g(bit)e(in)h(the)g(argumen)o(t.)0 972 +y Fs(\(logbitp)20 b Fv(j)g Fs(\(lognot)g Fv(x)p Fs(\)\))h +Ft(\021)h Fs(\(not)e(\(logbitp)f Fv(j)i(x)p Fs(\)\))1209 +1105 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(logtest)20 +b Fv(inte)n(ger1)26 b(inte)n(ger2)0 1182 y Fs(logtest)13 +b Fw(is)h(a)g(predicate)h(that)f(is)g(true)h(if)f(an)o(y)f(of)h(the)h +(bits)f(designated)h(b)o(y)f(the)g(1's)g(in)0 1234 y +Fv(inte)n(ger1)g Fw(are)g(1's)f(in)h Fv(inte)n(ger2)p +Fw(.)0 1320 y Fs(\(logtest)20 b Fv(x)h(y)p Fs(\))g Ft(\021)h +Fs(\(not)e(\(zerop)g(\(logand)g Fv(x)h(y)p Fs(\)\)\))1209 +1454 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(logbitp)20 +b Fv(index)27 b(inte)n(ger)0 1531 y Fs(logbitp)14 b Fw(is)h(true)h(if)e +(the)i(bit)f(in)f Fv(inte)n(ger)h Fw(whose)h(index)f(is)g +Fv(index)h Fw(\(that)f(is,)g(its)g(w)o(eigh)o(t)0 1582 +y(is)f(2)63 1567 y Fi(index)144 1582 y Fw(\))g(is)f(a)h(one-bit;)f +(otherwise)i(it)f(is)f(false.)18 b(F)m(or)c(example:)0 +1669 y Fs(\(logbitp)20 b(2)g(6\))h Fw(is)14 b(true)0 +1721 y Fs(\(logbitp)20 b(0)g(6\))h Fw(is)14 b(false)0 +1773 y Fs(\(logbitp)20 b Fv(k)h(n)p Fs(\))g Ft(\021)h +Fs(\(ldb-test)d(\(byte)h(1)h Fv(k)p Fs(\))g Fv(n)p Fs(\))42 +1859 y Fw(X3J13)14 b(v)o(oted)h(in)g(Jan)o(uary)g(1989)f +Ft(h)p Fw(7)p Ft(i)h Fw(to)g(clarify)f(that)h(the)h Fv(index)g +Fw(m)o(ust)e(b)q(e)h(a)g(non-)-33 1831 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1911 a(negativ)o(e)f(in)o(teger.)-33 1923 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 2044 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(ash)21 b Fv(inte)n(ger)k(c)n(ount)0 2121 y Fw(This)15 +b(function)f(shifts)h Fv(inte)n(ger)f Fw(arithmetically)e(left)i(b)o(y) +h Fv(c)n(ount)g Fw(bit)f(p)q(ositions)g(if)g Fv(c)n(ount)0 +2173 y Fw(is)h(p)q(ositiv)o(e,)g(or)g(righ)o(t)g(b)o(y)f +Ft(\000)p Fv(c)n(ount)i Fw(bit)f(p)q(ositions)g(if)f +Fv(c)n(ount)i Fw(is)f(negativ)o(e.)22 b(The)15 b(sign)g(of)0 +2225 y(the)f(result)h(is)f(alw)o(a)o(ys)f(the)h(same)f(as)h(the)h(sign) +e(of)h Fv(inte)n(ger)p Fw(.)42 2277 y(Mathematically)32 +b(sp)q(eaking,)40 b(this)c(op)q(eration)f(p)q(erforms)g(the)g +(computation)0 2329 y Fv(\015o)n(or)5 b Fw(\()p Fv(inte)n(ger)13 +b Ft(\001)c Fw(2)281 2314 y Fi(c)n(ount)363 2329 y Fw(\).)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 387 411 +387 410 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(387)42 +295 y Fw(Logically)m(,)13 b(this)j(mo)o(v)o(es)e(all)g(of)h(the)i(bits) +e(in)h Fv(inte)n(ger)f Fw(to)g(the)i(left,)e(adding)g(zero-bits)0 +347 y(at)g(the)h(b)q(ottom,)e(or)h(mo)o(v)o(es)f(them)g(to)h(the)h +(righ)o(t,)f(discarding)g(bits.)22 b(\(In)16 b(this)f(con)o(text)0 +399 y(the)g(question)g(of)f(what)h(gets)g(shifted)g(in)f(on)h(the)g +(left)f(is)h(irrelev)n(an)o(t;)f(in)o(tegers,)i(view)o(ed)0 +450 y(as)c(strings)h(of)e(bits,)h(are)h(\\half-in\014nite,")d(that)i +(is,)g(conceptually)h(extend)g(in\014nitely)e(far)0 502 +y(to)j(the)g(left.\))k(F)m(or)c(example:)0 587 y Fs(\(logbitp)20 +b Fv(j)g Fs(\(ash)h Fv(n)g(k)p Fs(\)\))g Ft(\021)h Fs(\(and)e(\(>)672 +583 y(U)672 591 y(U)714 587 y Fv(j)h(k)p Fs(\))g(\(logbitp)f(\(-)h +Fv(j)g(k)p Fs(\))g Fv(n)p Fs(\)\))1209 712 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(logcount)20 b Fv(inte)n(ger)0 788 y Fw(The)10 +b(n)o(um)o(b)q(er)f(of)h(bits)g(in)f Fv(inte)n(ger)g +Fw(is)h(determined)g(and)g(returned.)18 b(If)9 b Fv(inte)n(ger)h +Fw(is)f(p)q(ositiv)o(e,)0 840 y(the)15 b Fs(1)p Fw(-bits)f(in)g(its)g +(binary)g(represen)o(tation)h(are)g(coun)o(ted.)20 b(If)14 +b Fv(inte)n(ger)f Fw(is)h(negativ)o(e,)g(the)0 892 y +Fs(0)p Fw(-bits)g(in)g(its)g(t)o(w)o(o's-complemen)o(t)d(binary)j +(represen)o(tation)i(are)e(coun)o(ted.)20 b(The)15 b(result)0 +944 y(is)f(alw)o(a)o(ys)f(a)g(non-negativ)o(e)h(in)o(teger.)k(F)m(or)c +(example:)0 1029 y Fs(\(logcount)19 b(13\))i Ft(\))g +Fs(3)126 b(;)p Fw(Binary)14 b(represen)o(tation)h(is)21 +b Fs(...0001101)0 1081 y(\(logcount)e(-13\))i Ft(\))f +Fs(2)106 b(;)p Fw(Binary)14 b(represen)o(tation)h(is)21 +b Fs(...1110011)0 1133 y(\(logcount)e(30\))i Ft(\))g +Fs(4)126 b(;)p Fw(Binary)14 b(represen)o(tation)h(is)21 +b Fs(...0011110)0 1185 y(\(logcount)e(-30\))i Ft(\))f +Fs(4)106 b(;)p Fw(Binary)14 b(represen)o(tation)h(is)21 +b Fs(...1100010)0 1269 y Fw(The)14 b(follo)o(wing)e(iden)o(tit)o(y)h +(alw)o(a)o(ys)g(holds:)0 1354 y Fs(\(logcount)19 b(x\))i +Ft(\021)h Fs(\(logcount)d(\(-)i(\(+)f(x)h(1\)\)\))275 +1406 y Ft(\021)h Fs(\(logcount)d(\(lognot)h(x\)\))1209 +1531 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(integer-length)18 +b Fv(inte)n(ger)0 1607 y Fw(This)c(function)f(p)q(erforms)h(the)g +(computation)0 1692 y Fv(c)n(eiling)s Fw(\(log)188 1702 +y Fk(2)207 1692 y Fw(\()p Fz(if)h Fv(inte)n(ger)g Fh(<)d +Fw(0)f Fz(then)20 b Ft(\000)9 b Fv(inte)n(ger)16 b Fz(else)10 +b Fv(inte)n(ger)j Fw(+)d(1\)\))0 1777 y(This)k(is)h(useful)f(in)g(t)o +(w)o(o)g(di\013eren)o(t)h(w)o(a)o(ys.)20 b(First,)14 +b(if)g Fv(inte)n(ger)g Fw(is)g(non-negativ)o(e,)g(then)h(its)0 +1829 y(v)n(alue)h(can)h(b)q(e)g(represen)o(ted)j(in)c(unsigned)h +(binary)f(form)f(in)h(a)h(\014eld)f(whose)i(width)e(in)0 +1881 y(bits)e(is)g(no)g(smaller)f(than)h Fs(\(integer-length)k +Fv(inte)n(ger)p Fs(\))p Fw(.)g(Second,)c(regardless)i(of)d(the)0 +1933 y(sign)d(of)g Fv(inte)n(ger)p Fw(,)h(its)f(v)n(alue)g(can)h(b)q(e) +h(represen)o(ted)h(in)d(signed)h(binary)g(t)o(w)o(o's-complem)o(en)o(t) +0 1985 y(form)j(in)h(a)h(\014eld)g(whose)g(width)g(in)f(bits)h(is)g(no) +f(smaller)f(than)i Fs(\(+)21 b(\(integer-length)0 2036 +y Fv(inte)n(ger)p Fs(\))f(1\))p Fw(.)e(F)m(or)c(example:)0 +2121 y Fs(\(integer-length)k(0\))j Ft(\))g Fs(0)0 2173 +y(\(integer-length)d(1\))j Ft(\))g Fs(1)0 2225 y(\(integer-length)d +(3\))j Ft(\))g Fs(2)0 2277 y(\(integer-length)d(4\))j +Ft(\))g Fs(3)0 2329 y(\(integer-length)d(7\))j Ft(\))g +Fs(3)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 388 412 +388 411 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(388)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(integer-length)18 b(-1\))j Ft(\))f +Fs(0)0 347 y(\(integer-length)e(-4\))j Ft(\))f Fs(2)0 +399 y(\(integer-length)e(-7\))j Ft(\))f Fs(3)0 450 y(\(integer-length)e +(-8\))j Ft(\))f Fs(3)p 0 510 V 0 571 a Fm(Compatibilit)o(y)15 +b(note:)23 b FA(This)16 b(function)h(is)f(similar)i(to)e(the)g(MacLisp) +h(function)g Fj(haulong)p FA(.)0 616 y(One)c(ma)o(y)g(de\014ne)h +Fj(haulong)c FA(as)0 699 y Fj(\(haulong)16 b(x\))h Ff(\021)i +Fj(\(integer-l)o(en)o(gth)c(\(abs)i(x\)\))p 0 781 V 0 +923 a Fo(12.8.)j(Byte)14 b(Manipulation)h(F)-5 b(unctions)0 +1014 y Fw(Sev)o(eral)20 b(functions)f(are)h(pro)o(vided)g(for)f +(dealing)f(with)i(an)f(arbitrary-width)g(\014eld)g(of)0 +1066 y(con)o(tiguous)d(bits)g(app)q(earing)g(an)o(ywhere)h(in)f(an)g +(in)o(teger.)26 b(Suc)o(h)16 b(a)g(con)o(tiguous)g(set)h(of)0 +1117 y(bits)c(is)g(called)g(a)g Fv(byte)p Fw(.)18 b(Here)c(the)g(term)f +Fv(byte)g Fw(do)q(es)h(not)f(imply)e(some)h(\014xed)i(n)o(um)o(b)q(er)e +(of)0 1169 y(bits)i(\(suc)o(h)h(as)f(eigh)o(t\),)f(rather)i(a)e +(\014eld)h(of)g(arbitrary)f(and)h(user-sp)q(eci\014able)i(width.)42 +1222 y(The)d(b)o(yte-manipulation)d(functions)k(use)g(ob)r(jects)g +(called)f Fv(byte)i(sp)n(e)n(ci\014ers)e Fw(to)g(desig-)0 +1274 y(nate)i(a)g(sp)q(eci\014c)i(b)o(yte)e(p)q(osition)f(within)h(an)f +(in)o(teger.)22 b(The)16 b(represen)o(tation)g(of)f(a)f(b)o(yte)0 +1325 y(sp)q(eci\014er)i(is)f(implemen)o(tatio)o(n-dep)q(enden)o(t;)f +(in)g(particular,)g(it)g(ma)o(y)f(or)h(ma)o(y)f(not)i(b)q(e)g(a)0 +1377 y(n)o(um)o(b)q(er.)h(It)c(is)f(su\016cien)o(t)g(to)g(kno)o(w)g +(that)g(the)h(function)f Fs(byte)f Fw(will)g(construct)i(one,)g(and)0 +1429 y(that)f(the)h(b)o(yte-manipulation)d(functions)i(will)f(accept)j +(them.)j(The)c(function)f Fs(byte)g Fw(ac-)0 1481 y(cepts)16 +b(t)o(w)o(o)f(in)o(tegers)h(represen)o(ting)h(the)e Fv(p)n(osition)g +Fw(and)g Fv(size)g Fw(of)f(the)i(b)o(yte)f(and)g(returns)0 +1533 y(a)h(b)o(yte)h(sp)q(eci\014er.)29 b(Suc)o(h)17 +b(a)f(sp)q(eci\014er)i(designates)g(a)e(b)o(yte)h(whose)h(width)e(is)h +Fv(size)f Fw(and)0 1585 y(whose)e(bits)g(ha)o(v)o(e)g(w)o(eigh)o(ts)g +(2)468 1570 y Fi(p)n(osition)n Fk(+)p Fi(size)p Fl(\000)p +Fk(1)724 1585 y Fw(through)f(2)901 1570 y Fi(p)n(osition)1020 +1585 y Fw(.)1209 1731 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(byte)20 b Fv(size)k(p)n(osition)0 1808 y Fs(byte)9 +b Fw(tak)o(es)h(t)o(w)o(o)g(in)o(tegers)g(represen)o(ting)i(the)e(size) +h(and)e(p)q(osition)h(of)f(a)g(b)o(yte)i(and)e(returns)0 +1860 y(a)g(b)o(yte)h(sp)q(eci\014er)h(suitable)e(for)g(use)h(as)f(an)g +(argumen)o(t)g(to)g(b)o(yte-manipulation)d(functions.)1209 +2007 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(byte-size)19 +b Fv(bytesp)n(e)n(c)1209 2059 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(byte-position)18 b Fv(bytesp)n(e)n(c)0 +2136 y Fw(Giv)o(en)h(a)g(b)o(yte)g(sp)q(eci\014er,)j +Fs(byte-size)c Fw(returns)i(the)g(size)g(sp)q(eci\014ed)h(as)f(an)f(in) +o(teger;)0 2188 y Fs(byte-position)11 b Fw(similarly)g(returns)k(the)g +(p)q(osition.)i(F)m(or)d(example:)0 2277 y Fs(\(byte-size)19 +b(\(byte)h Fv(j)h(k)p Fs(\)\))g Ft(\021)g Fv(j)0 2329 +y Fs(\(byte-position)d(\(byte)i Fv(j)h(k)p Fs(\)\))g +Ft(\021)h Fv(k)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 389 413 +389 412 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(389)1209 +295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(ldb)21 +b Fv(bytesp)n(e)n(c)i(inte)n(ger)0 372 y(bytesp)n(e)n(c)15 +b Fw(sp)q(eci\014es)h(a)e(b)o(yte)h(of)f Fv(inte)n(ger)g +Fw(to)h(b)q(e)g(extracted.)22 b(The)15 b(result)g(is)f(returned)j(as)0 +424 y(a)d(non-negativ)o(e)f(in)o(teger.)19 b(F)m(or)13 +b(example:)0 510 y Fs(\(logbitp)20 b Fv(j)g Fs(\(ldb)h(\(byte)f +Fv(s)h(p)p Fs(\))g Fv(n)p Fs(\)\))g Ft(\021)h Fs(\(and)e(\(<)h +Fv(j)g(s)p Fs(\))g(\(logbitp)e(\(+)i Fv(j)g(p)p Fs(\))g +Fv(n)p Fs(\)\))0 596 y Fw(The)14 b(name)f(of)g(the)i(function)e +Fs(ldb)h Fw(means)f(\\load)f(b)o(yte.")p 0 655 V 0 716 +a Fm(Compatibilit)o(y)d(note:)16 b FA(The)11 b(MacLisp)g(function)h +Fj(haipart)c FA(can)j(b)q(e)g(implemen)o(ted)h(in)g(terms)0 +761 y(of)h Fj(ldb)e FA(as)j(follo)o(ws:)0 841 y Fj(\(defun)i(haipart)g +(\(integer)g(count\))37 887 y(\(let)h(\(\(x)h(\(abs)f(integer\)\)\))75 +933 y(\(if)g(\(minusp)f(count\))149 978 y(\(ldb)i(\(byte)e(\(-)i +(count\))f(0\))h(x\))149 1024 y(\(ldb)g(\(byte)e(count)h(\(max)g(0)i +(\(-)e(\(integer-le)o(ng)o(th)e(x\))j(count\)\)\))243 +1070 y(x\)\)\)\))p 0 1145 V 42 1221 a Fw(If)10 b(the)i(argumen)o(t)e +Fv(inte)n(ger)h Fw(is)g(sp)q(eci\014ed)i(b)o(y)e(a)f(form)g(that)h(is)g +(a)g Fv(plac)n(e)g Fw(form)f(acceptable)0 1272 y(to)i +Fs(setf)p Fw(,)g(then)h Fs(setf)f Fw(ma)o(y)e(b)q(e)j(used)h(with)e +Fs(ldb)g Fw(to)g(mo)q(dify)e(a)j(b)o(yte)f(within)g(the)h(in)o(teger)0 +1324 y(that)f(is)g(stored)h(in)f(that)g Fv(plac)n(e)p +Fw(.)18 b(The)12 b(e\013ect)i(is)e(to)g(p)q(erform)g(a)g +Fs(dpb)f Fw(op)q(eration)h(and)g(then)0 1376 y(store)j(the)f(result)h +(bac)o(k)f(in)o(to)f(the)h Fv(plac)n(e)p Fw(.)1209 1508 +y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(ldb-test)20 b +Fv(bytesp)n(e)n(c)j(inte)n(ger)0 1585 y Fs(ldb-test)12 +b Fw(is)i(a)g(predicate)h(that)f(is)g(true)h(if)e(an)o(y)g(of)h(the)g +(bits)g(designated)h(b)o(y)f(the)g(b)o(yte)0 1637 y(sp)q(eci\014er)i +Fv(bytesp)n(e)n(c)e Fw(are)g(1's)g(in)f Fv(inte)n(ger)p +Fw(;)g(that)h(is,)g(it)f(is)h(true)h(if)e(the)h(designated)h(\014eld)f +(is)0 1689 y(non-zero.)0 1775 y Fs(\(ldb-test)19 b Fv(bytesp)n(e)n(c)j +(n)p Fs(\))f Ft(\021)h Fs(\(not)e(\(zerop)g(\(ldb)g Fv(bytesp)n(e)n(c)i +(n)p Fs(\)\)\))1209 1906 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(mask-field)19 b Fv(bytesp)n(e)n(c)24 b(inte)n(ger)0 +1983 y Fw(This)10 b(is)h(similar)d(to)i Fs(ldb)p Fw(;)h(ho)o(w)o(ev)o +(er,)g(the)g(result)h(con)o(tains)e(the)h(sp)q(eci\014ed)h(b)o(yte)f +(of)f Fv(inte)n(ger)0 2035 y Fw(in)16 b(the)h(p)q(osition)f(sp)q +(eci\014ed)j(b)o(y)d Fv(bytesp)n(e)n(c)p Fw(,)h(rather)h(than)e(in)g(p) +q(osition)g(0)h(as)g(with)f Fs(ldb)p Fw(.)0 2087 y(The)d(result)f +(therefore)i(agrees)f(with)f Fv(inte)n(ger)g Fw(in)f(the)i(b)o(yte)g +(sp)q(eci\014ed)g(but)g(has)f(zero-bits)0 2139 y(ev)o(erywhere)k(else.) +j(F)m(or)13 b(example:)0 2225 y Fs(\(ldb)20 b Fv(bs)i +Fs(\(mask-field)c Fv(bs)k(n)p Fs(\)\))f Ft(\021)g Fs(\(ldb)g +Fv(bs)g(n)p Fs(\))0 2329 y(\(logbitp)f Fv(j)g Fs(\(mask-field)f(\(byte) +h Fv(s)i(p)p Fs(\))f Fv(n)p Fs(\)\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 390 414 +390 413 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(390)77 b(COMMON)13 +b(LISP)64 295 y Ft(\021)21 b Fs(\(and)f(\(>)269 291 y(U)269 +299 y(U)312 295 y Fv(j)h(p)p Fs(\))g(\(<)g Fv(j)g Fs(\(+)f +Fv(p)i(s)p Fs(\)\))e(\(logbitp)g Fv(j)h(n)p Fs(\)\))0 +399 y(\(mask-field)e Fv(bs)i(n)p Fs(\))g Ft(\021)h Fs(\(logand)e +Fv(n)h Fs(\(dpb)f(-1)h Fv(bs)g Fs(0\)\))42 486 y Fw(If)10 +b(the)i(argumen)o(t)e Fv(inte)n(ger)h Fw(is)g(sp)q(eci\014ed)i(b)o(y)e +(a)f(form)g(that)h(is)g(a)g Fv(plac)n(e)g Fw(form)f(acceptable)0 +538 y(to)h Fs(setf)p Fw(,)g(then)h Fs(setf)e Fw(ma)o(y)f(b)q(e)j(used)h +(with)e Fs(mask-field)e Fw(to)i(mo)q(dify)e(a)i(b)o(yte)h(within)e(the) +0 589 y(in)o(teger)j(that)f(is)g(stored)i(in)e(that)g +Fv(plac)n(e)p Fw(.)18 b(The)12 b(e\013ect)i(is)f(to)f(p)q(erform)f(a)h +Fs(deposit-field)0 641 y Fw(op)q(eration)i(and)f(then)i(store)g(the)f +(result)h(bac)o(k)f(in)o(to)f(the)i Fv(plac)n(e)p Fw(.)1209 +779 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(dpb)21 b Fv(newbyte)j +(bytesp)n(e)n(c)g(inte)n(ger)0 856 y Fw(This)13 b(returns)i(a)e(n)o(um) +o(b)q(er)g(that)g(is)g(the)h(same)e(as)i Fv(inte)n(ger)e +Fw(except)j(in)e(the)h(bits)f(sp)q(eci\014ed)0 908 y(b)o(y)18 +b Fv(bytesp)n(e)n(c)p Fw(.)30 b(Let)18 b Fv(s)g Fw(b)q(e)h(the)f(size)h +(sp)q(eci\014ed)g(b)o(y)f Fv(bytesp)n(e)n(c)p Fw(;)i(then)e(the)h(lo)o +(w)e Fv(s)g Fw(bits)h(of)0 960 y Fv(newbyte)f Fw(app)q(ear)h(in)f(the)g +(result)h(in)f(the)h(b)o(yte)f(sp)q(eci\014ed)i(b)o(y)e +Fv(bytesp)n(e)n(c)p Fw(.)28 b(The)17 b(in)o(teger)0 1012 +y Fv(newbyte)12 b Fw(is)g(therefore)h(in)o(terpreted)h(as)e(b)q(eing)f +(righ)o(t-justi\014ed,)h(as)g(if)f(it)h(w)o(ere)g(the)h(result)0 +1064 y(of)g Fs(ldb)p Fw(.)18 b(F)m(or)13 b(example:)0 +1151 y Fs(\(logbitp)20 b Fv(j)g Fs(\(dpb)h Fv(m)g Fs(\(byte)f +Fv(s)h(p)p Fs(\))g Fv(n)p Fs(\)\))42 1203 y Ft(\021)h +Fs(\(if)e(\(and)h(\(>)335 1199 y(U)335 1207 y(U)377 1203 +y Fv(j)g(p)p Fs(\))g(\(<)g Fv(j)g Fs(\(+)g Fv(p)g(s)p +Fs(\)\)\))182 1255 y(\(logbitp)f(\(-)h Fv(j)g(p)p Fs(\))g +Fv(m)p Fs(\))182 1307 y(\(logbitp)f Fv(j)h(n)p Fs(\)\))0 +1394 y Fw(The)14 b(name)f(of)g(the)i(function)e Fs(dpb)h +Fw(means)f(\\dep)q(osit)h(b)o(yte.")1209 1531 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(deposit-field)18 b Fv(newbyte)25 b(bytesp)n(e)n(c)f +(inte)n(ger)0 1608 y Fw(This)18 b(function)g(is)g(to)h +Fs(mask-field)d Fw(as)i Fs(dpb)g Fw(is)g(to)g Fs(ldb)p +Fw(.)31 b(The)19 b(result)g(is)f(an)g(in)o(teger)0 1660 +y(that)f(con)o(tains)f(the)h(bits)g(of)e Fv(newbyte)i +Fw(within)f(the)h(b)o(yte)g(sp)q(eci\014ed)h(b)o(y)e +Fv(bytesp)n(e)n(c)p Fw(,)h(and)0 1712 y(elsewhere)f(con)o(tains)e(the)g +(bits)g(of)f Fv(inte)n(ger)p Fw(.)18 b(F)m(or)13 b(example:)0 +1800 y Fs(\(logbitp)20 b Fv(j)g Fs(\(deposit-field)f +Fv(m)i Fs(\(byte)f Fv(s)h(p)p Fs(\))g Fv(n)p Fs(\)\))64 +1851 y Ft(\021)g Fs(\(if)g(\(and)f(\(>)356 1847 y(U)356 +1855 y(U)398 1851 y Fv(j)h(p)p Fs(\))g(\(<)g Fv(j)g Fs(\(+)g +Fv(p)g(s)p Fs(\)\)\))204 1903 y(\(logbitp)e Fv(j)i(m)p +Fs(\))204 1955 y(\(logbitp)e Fv(j)i(n)p Fs(\)\))p 0 2015 +V 0 2075 a Fm(Implemen)o(tation)12 b(note:)17 b FA(If)12 +b(the)g Fq(bytesp)n(e)n(c)e FA(is)j(a)f(constan)o(t,)h(one)g(ma)o(y)f +(of)g(course)h(construct,)0 2121 y(at)f(compile)i(time,)f(an)f(equiv)n +(alen)o(t)j(mask)e Fq(m)p FA(,)f(for)g(example)i(b)o(y)e(computing)i +Fj(\(deposit-f)o(iel)o(d)0 2167 y(-1)k Fq(bytesp)n(e)n(c)e +Fj(0\))p FA(.)g(Giv)o(en)e(this)g(mask)f Fq(m)p FA(,)g(one)h(ma)o(y)f +(then)g(compute)0 2248 y Fj(\(deposit-f)o(ie)o(ld)i Fq(newbyte)i +(bytesp)n(e)n(c)f(inte)n(ger)p Fj(\))0 2329 y FA(b)o(y)d(computing)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 391 415 +391 414 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(391)0 +295 y Fj(\(logior)16 b(\(logand)g Fq(newbyte)h(m)p Fj(\))i(\(logand)d +Fq(inte)n(ger)g Fj(\(lognot)g Fq(m)p Fj(\)\)\))0 373 +y FA(where)g(the)g(result)g(of)g Fj(\(lognot)g Fq(m)p +Fj(\))f FA(can)i(of)e(course)i(also)f(b)q(e)g(computed)h(at)f(compile)h +(time.)0 418 y(Ho)o(w)o(ev)o(er,)9 b(the)g(follo)o(wing)j(expression)f +(ma)o(y)e(also)h(b)q(e)f(used)h(and)g(ma)o(y)f(require)h(few)o(er)f +(temp)q(orary)0 464 y(registers)14 b(in)g(some)f(situations:)0 +542 y Fj(\(logxor)j Fq(inte)n(ger)h Fj(\(logand)f Fq(m)j +Fj(\(logxor)d Fq(inte)n(ger)h(newbyte)p Fj(\)\)\))0 619 +y FA(A)c(related,)g(though)h(p)q(ossibly)i(less)e(useful,)g(tric)o(k)f +(is)h(that)0 697 y Fj(\(let)j(\(\(z)h(\(logand)e(\(logxor)g(x)i(y\))g +(m\)\)\))37 743 y(\(setq)f(x)h(\(logxor)e(z)j(x\)\))37 +788 y(\(setq)e(y)h(\(logxor)e(z)j(y\)\)\))0 866 y FA(in)o(terc)o +(hanges)c(those)e(bits)h(of)e Fj(x)g FA(and)h Fj(y)g +FA(for)f(whic)o(h)i(the)e(mask)i Fj(m)e FA(is)h Fj(1)p +FA(,)f(and)h(lea)o(v)o(es)h(alone)g(those)0 912 y(bits)g(of)f +Fj(x)f FA(and)i Fj(y)e FA(for)h(whic)o(h)h Fj(m)e FA(is)i +Fj(0)p FA(.)p 0 946 V 0 1064 a Fo(12.9.)20 b(Random)14 +b(Num)n(b)r(ers)0 1147 y Fw(The)j(Commo)o(n)c(Lisp)k(facilit)o(y)d(for) +i(generating)g(pseudo-random)f(n)o(um)o(b)q(ers)h(has)h(b)q(een)0 +1199 y(carefully)12 b(de\014ned)h(to)f(mak)o(e)e(its)i(use)h +(reasonably)f(p)q(ortable.)17 b(While)11 b(t)o(w)o(o)h(implemen)o(ta-)0 +1251 y(tions)e(ma)o(y)f(pro)q(duce)i(di\013eren)o(t)g(series)h(of)e +(pseudo-random)f(n)o(um)o(b)q(ers,)h(the)h(distribution)0 +1303 y(of)h(v)n(alues)f(should)h(b)q(e)h(relativ)o(ely)f(indep)q(enden) +o(t)h(of)f(suc)o(h)h(mac)o(hine-dep)q(enden)o(t)f(asp)q(ects)0 +1354 y(as)i(w)o(ord)g(size.)1209 1474 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(random)20 b Fv(numb)n(er)26 b Fs(&optional)19 +b Fv(state)0 1551 y Fs(\(random)h Fv(n)p Fs(\))15 b Fw(accepts)j(a)d(p) +q(ositiv)o(e)g(n)o(um)o(b)q(er)g Fv(n)h Fw(and)g(returns)h(a)e(n)o(um)o +(b)q(er)g(of)g(the)i(same)0 1603 y(kind)g(b)q(et)o(w)o(een)i(zero)f +(\(inclusiv)o(e\))f(and)g Fv(n)h Fw(\(exclusiv)o(e\).)29 +b(The)17 b(n)o(um)o(b)q(er)g Fv(n)h Fw(ma)o(y)d(b)q(e)j(an)0 +1655 y(in)o(teger)e(or)f(a)g(\015oating-p)q(oin)o(t)f(n)o(um)o(b)q(er.) +22 b(An)16 b(appro)o(ximately)d(uniform)g(c)o(hoice)j(distri-)0 +1707 y(bution)i(is)g(used.)33 b(If)18 b Fv(n)h Fw(is)f(an)g(in)o +(teger,)i(eac)o(h)f(of)f(the)h(p)q(ossible)g(results)g(o)q(ccurs)h +(with)0 1759 y(\(appro)o(ximate\))12 b(probabilit)o(y)f(1/)p +Fv(n)p Fw(.)18 b(\(The)c(quali\014er)f(\\appro)o(ximate")e(is)i(used)h +(b)q(ecause)0 1811 y(of)h(implem)o(en)o(tation)d(considerations;)k(in)f +(practice,)h(the)g(deviation)e(from)f(uniformit)o(y)0 +1863 y(should)h(b)q(e)g(quite)g(small.\))42 1914 y(The)e(argumen)o(t)f +Fv(state)h Fw(m)o(ust)f(b)q(e)i(an)e(ob)r(ject)i(of)f(t)o(yp)q(e)g +Fs(random-state)p Fw(;)e(it)i(defaults)g(to)0 1966 y(the)g(v)n(alue)e +(of)g(the)i(v)n(ariable)e Fs(*random-state*)p Fw(.)k(This)d(ob)r(ject)g +(is)g(used)h(to)f(main)o(tain)d(the)0 2018 y(state)17 +b(of)e(the)h(pseudo-random-n)o(um)o(b)q(er)f(generator)h(and)g(is)g +(altered)g(as)g(a)g(side)g(e\013ect)0 2070 y(of)d(the)i +Fs(random)d Fw(op)q(eration.)p 0 2130 V 0 2190 a Fm(Compatibilit)o(y)j +(note:)22 b Fj(random)13 b FA(of)j(zero)f(argumen)o(ts)i(as)f +(de\014ned)h(in)f(MacLisp)h(has)f(b)q(een)0 2236 y(omitted)23 +b(b)q(ecause)f(its)h(v)n(alue)f(is)h(to)q(o)e(implemen)o(tation)q(-dep) +q(en)q(dent)j(\(limited)g(b)o(y)e(\014xn)o(um)0 2281 +y(range\).)p 0 2329 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 392 416 +392 415 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(392)77 b(COMMON)13 +b(LISP)p 0 295 V 0 356 a Fm(Implemen)o(tation)f(note:)18 +b FA(In)12 b(general,)i(ev)o(en)f(if)g Fj(random)d FA(of)j(zero)f +(argumen)o(ts)i(w)o(ere)e(de\014ned)0 402 y(as)i(in)h(MacLisp,)h(it)e +(is)h(not)g(adequate)g(to)f(de\014ne)h Fj(\(random)h +Fq(n)p Fj(\))e FA(for)g(in)o(tegral)i Fq(n)d FA(to)h(b)q(e)h(simply)0 +447 y Fj(\(mod)i(\(random\))f Fq(n)p Fj(\))p FA(;)9 b(this)g(fails)h +(to)f(b)q(e)g(uniformly)i(distributed)h(if)d Fq(n)f FA(is)h(larger)h +(than)g(the)f(largest)0 493 y(n)o(um)o(b)q(er)15 b(pro)q(duced)h(b)o(y) +f Fj(random)p FA(,)d(or)j(ev)o(en)g(if)g Fq(n)e FA(merely)j(approac)o +(hes)g(this)f(n)o(um)o(b)q(er.)23 b(This)15 b(is)0 539 +y(another)f(reason)h(for)e(omitting)i Fj(random)c FA(of)i(zero)h +(argumen)o(ts)g(in)g(Common)g(Lisp.)19 b(Assuming)0 584 +y(that)d(the)h(underlying)i(mec)o(hanism)f(pro)q(duces)g(\\random)f +(bits")h(\(p)q(ossibly)g(in)g(c)o(h)o(unks)f(suc)o(h)0 +630 y(as)e(\014xn)o(ums\),)i(the)e(b)q(est)h(approac)o(h)g(is)g(to)f +(pro)q(duce)i(enough)f(random)g(bits)g(to)f(construct)h(an)0 +676 y(in)o(teger)j Fq(k)e FA(some)h(n)o(um)o(b)q(er)g +Fq(d)f FA(of)g(bits)i(larger)f(than)h Fj(\(integer-)o(le)o(ngt)o(h)d +Fq(n)p Fj(\))g FA(\(see)i Fj(integer-)0 721 y(length)p +FA(\),)13 b(and)j(then)g(compute)g Fj(\(mod)i Fq(k)g(n)p +Fj(\))p FA(.)23 b(The)16 b(quan)o(tit)o(y)h Fq(d)d FA(should)k(b)q(e)d +(at)h(least)g(7,)g(and)0 767 y(preferably)f(10)e(or)g(more.)42 +814 y(T)m(o)8 b(pro)q(duce)i(random)g(\015oating-p)q(oin)o(t)i(n)o(um)o +(b)q(ers)e(in)g(the)f(half-op)q(en)i(range)e([)p Fq(A)p +Fd(;)d Fq(B)t FA(\),)j(accepted)0 860 y(practice)14 b(\(as)e +(determined)i(b)o(y)f(a)f(lo)q(ok)i(through)g(the)e Fq(Col)r(le)n(cte)n +(d)f(A)o(lgorithms)g(fr)n(om)j(the)e(A)o(CM)p FA(,)0 +905 y(particularly)i(algorithms)f(133,)f(266,)f(294,)h(and)g(370\))f +(is)h(to)f(compute)g Fq(X)f Ff(\001)5 b FA(\()p Fq(B)j +Ff(\000)d Fq(A)p FA(\))g(+)g Fq(A)p FA(,)k(where)0 951 +y Fq(X)k FA(is)h(a)f(\015oating-p)q(oin)o(t)j(n)o(um)o(b)q(er)f +(uniformly)g(distributed)h(o)o(v)o(er)e([0)p Fd(:)p FA(0)p +Fd(;)5 b FA(1)p Fd(:)p FA(0\))14 b(and)g(computed)g(b)o(y)0 +997 y(calculating)k(a)d(random)h(in)o(teger)g Fq(N)k +FA(in)c(the)f(range)h([0)p Fd(;)6 b Fq(M)g FA(\))15 b(\(t)o(ypically)i +(b)o(y)f(a)f(m)o(ultiplicati)q(v)o(e-)0 1042 y(congruen)o(tial)j(or)e +(linear-congruen)o(ti)q(al)j(metho)q(d)d(mo)q(d)g Fq(M)6 +b FA(\))15 b(and)i(then)f(setting)g Fq(X)k FA(=)15 b +Fq(N)6 b Fd(=)p Fq(M)g FA(.)0 1095 y(See)17 b(also)h([27].)27 +b(If)16 b(one)h(tak)o(es)g Fq(M)23 b FA(=)17 b(2)592 +1079 y Fb(f)605 1095 y FA(,)g(where)g Fq(f)24 b FA(is)17 +b(the)g(length)h(of)f(the)f(signi\014cand)k(of)d(a)0 +1140 y(\015oating-p)q(oin)o(t)g(n)o(um)o(b)q(er)e(\(and)g(it)g(is)g(in) +g(fact)f(common)h(to)g(c)o(ho)q(ose)g Fq(M)20 b FA(to)14 +b(b)q(e)h(a)f(p)q(o)o(w)o(er)h(of)f(2\),)0 1186 y(then)h(this)g(metho)q +(d)f(is)h(equiv)n(alen)o(t)i(to)d(the)g(follo)o(wing)i(assem)o +(bly-langu)q(age-l)q(ev)o(el)i(pro)q(cedure.)0 1232 y(Assume)11 +b(the)h(represen)o(tation)h(has)f(no)f(hidden)i(bit.)k(T)m(ak)o(e)11 +b(a)g(\015oating-p)q(oin)o(t)j(0.5,)d(and)h(clobb)q(er)0 +1277 y(its)i(en)o(tire)f(signi\014cand)j(with)e(random)g(bits.)k +(Normalize)c(the)f(result)h(if)f(necessary)m(.)42 1324 +y(F)m(or)18 b(example,)j(on)e(the)g(DEC)g(PDP-10,)h(assume)g(that)f +(accum)o(ulator)h Fj(T)e FA(is)h(completely)0 1370 y(random)14 +b(\(all)g(36)f(bits)h(are)f(random\).)18 b(Then)13 b(the)g(co)q(de)h +(sequence)0 1461 y Fj(LSH)k(T,-9)316 b(;)p FA(Clear)13 +b(high)h(9)f(bits;)h(lo)o(w)f(27)g(are)g(random)0 1507 +y Fj(FSC)18 b(T,128.)277 b(;)p FA(Install)15 b(exp)q(onen)o(t)f(and)g +(normalize)0 1597 y(will)25 b(pro)q(duce)g(in)f Fj(T)f +FA(a)h(random)h(\015oating-p)q(oin)o(t)h(n)o(um)o(b)q(er)f(uniformly)g +(distributed)h(o)o(v)o(er)0 1643 y([0)p Fd(:)p FA(0)p +Fd(;)6 b FA(1)p Fd(:)p FA(0\).)17 b(\(Instead)c(of)g(the)g +Fj(LSH)f FA(instruction,)j(one)e(could)i(do)0 1734 y +Fj(TLZ)j(T,777000)239 b(;)p FA(That's)13 b(777000)h(o)q(ctal)0 +1824 y(but)f(if)h(the)f(36)g(random)h(bits)g(came)f(from)g(a)g +(congruen)o(tial)j(random-n)o(um)o(b)q(er)f(generator,)e(the)0 +1870 y(high-order)i(bits)f(tend)g(to)f(b)q(e)h(\\more)f(random")h(than) +g(the)g(lo)o(w-order)g(ones,)f(and)h(so)g(the)f Fj(LSH)0 +1915 y FA(w)o(ould)h(b)q(e)f(b)q(etter)h(for)e(uniform)j(distribution.) +20 b(Ideally)15 b(all)f(the)f(bits)h(w)o(ould)g(b)q(e)g(the)f(result)h +(of)0 1961 y(high-qualit)o(y)i(randomness.\))42 2008 +y(With)i(a)f(hidden-bit)i(represen)o(tation,)h(normalization)h(is)c +(not)h(a)f(problem,)i(but)e(dealing)0 2054 y(with)g(the)f(hidden)j(bit) +e(is.)28 b(The)16 b(metho)q(d)h(can)g(b)q(e)g(adapted)h(as)e(follo)o +(ws.)28 b(T)m(ak)o(e)17 b(a)f(\015oating-)0 2099 y(p)q(oin)o(t)d(1.0)f +(and)h(clobb)q(er)g(the)f(explicit)j(signi\014cand)g(bits)d(with)h +(random)g(bits;)f(this)h(pro)q(duces)h(a)0 2145 y(random)g +(\015oating-p)q(oin)o(t)i(n)o(um)o(b)q(er)e(in)h(the)e(range)h([1)p +Fd(:)p FA(0)p Fd(;)6 b FA(2)p Fd(:)p FA(0\).)17 b(Then)d(simply)h +(subtract)f(1.0.)k(In)0 2191 y(e\013ect,)13 b(w)o(e)g(let)g(the)g +(hidden)i(bit)f(creep)f(in)h(and)g(then)f(subtract)h(it)f(a)o(w)o(a)o +(y)g(again.)42 2237 y(F)m(or)d(example,)j(on)e(the)g(DEC)f(V)l(AX,)g +(assume)h(that)g(register)h Fj(T)e FA(is)i(completely)h(random)e(\(but) +0 2283 y(a)i(little)i(less)f(random)h(than)e(on)h(the)g(PDP-10,)f(as)h +(it)f(has)h(only)h(32)e(random)h(bits\).)19 b(Then)13 +b(the)0 2329 y(co)q(de)h(sequence)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 393 417 +393 416 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(393)0 +295 y Fj(INSV)17 b(#)97 292 y(-)97 298 y(-)n Fs(^)135 +295 y Fj(X81,#)215 292 y(-)215 298 y(-)233 295 y(7,#)273 +292 y(-)273 298 y(-)292 295 y(9,T)93 b(;)p FA(Install)14 +b(correct)f(sign)h(bit)g(and)g(exp)q(onen)o(t)0 340 y +Fj(SUBF)j(#)97 337 y(-)97 343 y(-)n Fs(^)135 340 y Fj(F1.0,T)185 +b(;)p FA(Subtract)13 b(1.0)0 416 y(will)25 b(pro)q(duce)g(in)f +Fj(T)f FA(a)h(random)h(\015oating-p)q(oin)o(t)h(n)o(um)o(b)q(er)f +(uniformly)g(distributed)h(o)o(v)o(er)0 461 y([0)p Fd(:)p +FA(0)p Fd(;)6 b FA(1)p Fd(:)p FA(0\).)29 b(Again,)19 +b(if)e(the)g(lo)o(w-order)h(bits)g(are)f(not)h(random)g(enough,)h(then) +e(the)g(instruc-)0 507 y(tion)0 582 y Fj(ROTL)g(#)97 +579 y(-)97 585 y(-)117 582 y(7,T)0 658 y FA(should)e(b)q(e)e(p)q +(erformed)h(\014rst.)42 703 y(Implemen)o(tors)f(ma)o(y)f(wish)h(to)f +(consult)h(reference)g([41])e(for)h(a)g(discussion)j(of)c(some)i +(e\016cien)o(t)0 749 y(metho)q(ds)h(of)f(generating)h(pseudo-random)i +(n)o(um)o(b)q(ers.)p 0 779 V 1219 864 a Fw([)p Fv(V)m(ariable)s +Fw(])-1396 b Fs(*random-state*)0 941 y Fw(This)16 b(v)n(ariable)g +(holds)g(a)g(data)g(structure,)j(an)d(ob)r(ject)i(of)e(t)o(yp)q(e)h +Fs(random-state)p Fw(,)d(that)0 993 y(enco)q(des)h(the)g(in)o(ternal)e +(state)i(of)e(the)h(random-n)o(um)o(b)q(er)e(generator)i(that)g +Fs(random)f Fw(uses)0 1045 y(b)o(y)e(default.)17 b(The)12 +b(nature)g(of)e(this)i(data)f(structure)i(is)e(implemen)o(tation-dep)q +(enden)o(t.)16 b(It)0 1097 y(ma)o(y)8 b(b)q(e)j(prin)o(ted)g(out)f(and) +g(successfully)h(read)g(bac)o(k)f(in,)g(but)g(ma)o(y)f(or)h(ma)o(y)e +(not)i(function)0 1149 y(correctly)k(as)e(a)g(random-n)o(um)o(b)q(er)e +(state)j(ob)r(ject)g(in)f(another)h(implemen)o(tation.)h(A)f(call)0 +1200 y(to)i Fs(random)e Fw(will)g(p)q(erform)h(a)h(side)g(e\013ect)h +(on)f(this)g(data)f(structure.)23 b(Lam)o(b)q(da-binding)0 +1252 y(this)11 b(v)n(ariable)g(to)g(a)g(di\013eren)o(t)h(random-n)o(um) +o(b)q(er)d(state)j(ob)r(ject)g(will)e(correctly)i(sa)o(v)o(e)g(and)0 +1304 y(restore)k(the)e(old)f(state)i(ob)r(ject.)1209 +1410 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(make-random-state)18 +b(&optional)h Fv(state)0 1487 y Fw(This)13 b(function)g(returns)i(a)e +(new)h(ob)r(ject)g(of)f(t)o(yp)q(e)h Fs(random-state)p +Fw(,)c(suitable)j(for)g(use)i(as)0 1538 y(the)h(v)n(alue)e(of)h(the)h +(v)n(ariable)e Fs(*random-state*)p Fw(.)19 b(If)c Fv(state)g +Fw(is)g Fs(nil)g Fw(or)g(omitted,)f Fs(make-)0 1590 y(random-state)9 +b Fw(returns)14 b(a)d Fv(c)n(opy)i Fw(of)e(the)i(curren)o(t)g(random-n) +o(um)o(b)q(er)d(state)i(ob)r(ject)h(\(the)0 1642 y(v)n(alue)j(of)g(the) +h(v)n(ariable)f Fs(*random-state*)p Fw(\).)23 b(If)16 +b Fv(state)h Fw(is)f(a)g(state)i(ob)r(ject,)f(a)g(cop)o(y)f(of)0 +1694 y(that)d(state)g(ob)r(ject)h(is)e(returned.)20 b(If)12 +b Fv(state)h Fw(is)f Fs(t)p Fw(,)g(then)i(a)e(new)h(state)h(ob)r(ject)f +(is)g(returned)0 1746 y(that)e(has)g(b)q(een)h(\\randomly")d +(initialized)g(b)o(y)i(some)f(means)h(\(suc)o(h)h(as)f(b)o(y)g(a)f +(time-of-da)o(y)0 1798 y(clo)q(c)o(k\).)p 0 1858 V 0 +1918 a Fm(Rationale:)18 b FA(Common)c(Lisp)g(purp)q(osely)h(pro)o +(vides)h(no)d(w)o(a)o(y)h(to)f(initiali)q(ze)j(a)d Fj(random-stat)o(e)0 +1963 y FA(ob)r(ject)h(from)g(a)g(user-sp)q(eci\014ed)i(\\seed.")21 +b(The)14 b(reason)h(for)f(this)h(is)g(that)f(the)g(n)o(um)o(b)q(er)h +(of)f(bits)0 2009 y(of)d(state)h(information)h(in)g(a)e +Fj(random-sta)o(te)d FA(ob)r(ject)k(ma)o(y)g(v)n(ary)g(widely)h(from)e +(one)h(implemen-)0 2055 y(tation)j(to)g(another,)g(and)g(there)g(is)g +(no)g(simple)h(w)o(a)o(y)e(to)g(guaran)o(tee)i(that)e(an)o(y)h(user-sp) +q(eci\014ed)0 2100 y(seed)i(v)n(alue)h(will)g(b)q(e)f(\\random)h +(enough.")29 b(Instead,)18 b(the)f(initiali)q(zati)q(on)j(of)c +Fj(random-stat)o(e)0 2146 y FA(ob)r(jects)i(is)h(left)f(to)g(the)g +(implemen)o(tor)i(in)f(the)f(case)g(where)g(the)h(argumen)o(t)f +Fj(t)g FA(is)g(giv)o(en)i(to)0 2192 y Fj(make-rando)o(m-)o(sta)o(te)o +FA(.)42 2237 y(T)m(o)14 b(handle)i(the)f(common)h(situation)h(of)e +(executing)h(the)f(same)g(program)h(man)o(y)f(times)h(in)0 +2283 y(a)g(repro)q(ducible)i(manner,)f(where)f(that)g(program)g(uses)g +Fj(random)p FA(,)e(the)h(follo)o(wing)j(pro)q(cedure)0 +2329 y(ma)o(y)13 b(b)q(e)g(used:)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 394 418 +394 417 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(394)77 b(COMMON)13 +b(LISP)0 295 y FA(1.)f(Ev)n(aluate)i Fj(\(make-rand)o(om)o(-st)o(at)o +(e)i(t\))c FA(to)h(create)g(a)g Fj(random-st)o(ate)c +FA(ob)r(ject.)0 372 y(2.)j(W)m(rite)h(that)g(ob)r(ject)h(to)f(a)g +(\014le,)g(using)i Fj(print)p FA(,)10 b(for)j(later)h(use.)0 +449 y(3.)e(Whenev)o(er)g(the)f(program)h(is)f(to)g(b)q(e)h(run,)f +(\014rst)g(use)h Fj(read)d FA(to)i(create)g(a)g(cop)o(y)h(of)e(the)h +Fj(random-)42 495 y(state)h FA(ob)r(ject)j(from)g(the)g(prin)o(ted)i +(represen)o(tation)g(in)e(the)g(\014le.)24 b(Then)15 +b(use)g(the)g Fj(random-)42 541 y(state)7 b FA(ob)r(ject)j(newly)g +(created)g(b)o(y)g(the)g Fj(read)e FA(op)q(eration)j(to)f(initiali)q +(ze)i(the)e(random-n)o(um)o(b)q(er)42 586 y(generator)j(for)g(the)g +(program.)0 651 y(It)f(is)i(for)e(the)h(sak)o(e)h(of)e(this)i(pro)q +(cedure)g(for)f(repro)q(ducible)j(execution)e(that)f(implemen)o(tation) +q(s)0 697 y(are)g(required)i(to)e(pro)o(vide)h(a)f(read/prin)o(t)i(syn) +o(tax)f(for)f(ob)r(jects)g(of)g(t)o(yp)q(e)g Fj(random-sta)o(te)p +FA(.)42 743 y(It)d(is)i(also)h(p)q(ossible)h(to)d(mak)o(e)g(copies)i +(of)e(a)h Fj(random-s)o(tat)o(e)c FA(ob)r(ject)k(directly)h(without)f +(going)0 788 y(through)g(the)f(prin)o(t/read)i(pro)q(cess,)e(simply)i +(b)o(y)e(using)h(the)f Fj(make-random)o(-s)o(tat)o(e)c +FA(function)13 b(to)0 834 y(cop)o(y)h(the)f(ob)r(ject;)g(this)h(allo)o +(ws)g(the)f(same)g(sequence)i(of)d(random)i(n)o(um)o(b)q(ers)g(to)f(b)q +(e)h(generated)0 880 y(man)o(y)g(times)f(within)i(a)e(single)h +(program.)p 0 927 V 0 927 V 0 987 a Fm(Implemen)o(tation)9 +b(note:)16 b FA(A)10 b(recommended)h(w)o(a)o(y)f(to)g(implemen)o(t)i +(the)e(t)o(yp)q(e)g Fj(random-stat)o(e)0 1033 y FA(is)k(e\013ectiv)o +(ely)i(to)e(use)g(the)g(mac)o(hinery)i(for)d Fj(defstruct)p +FA(.)j(The)e(usual)h(structure)g(syn)o(tax)f(ma)o(y)0 +1079 y(then)f(b)q(e)h(used)f(for)g(prin)o(ting)i Fj(random-stat)o(e)10 +b FA(ob)r(jects;)j(one)g(migh)o(t)h(lo)q(ok)g(something)h(lik)o(e)0 +1160 y Fj(#)0 1157 y(-)0 1163 y(-)20 1160 y(S\(RANDOM-)o(ST)o(ATE)g +(DATA)i(#)410 1157 y(-)410 1163 y(-)430 1160 y(\(14)g(49)h(98436589)e +(786345)g(8734658324)f(...\)\))0 1241 y FA(where)e(the)g(comp)q(onen)o +(ts)i(are)e(of)f(course)i(completely)h(implemen)o(tation-d)q(ep)q(en)q +(den)o(t.)p 0 1277 V 1209 1393 a Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(random-state-p)18 b Fv(obje)n(ct)0 1470 +y Fs(random-state-p)12 b Fw(is)i(true)i(if)d(its)i(argumen)o(t)e(is)i +(a)f(random-state)g(ob)r(ject,)h(and)f(other-)0 1522 +y(wise)g(is)g(false.)0 1609 y Fs(\(random-state-p)k Fv(x)p +Fs(\))j Ft(\021)h Fs(\(typep)e Fv(x)654 1613 y Fn(')677 +1609 y Fs(random-state\))0 1767 y Fo(12.10.)g(Impleme)o(n)n(tation)13 +b(P)n(arameters)0 1855 y Fw(The)f(v)n(alues)f(of)g(the)h(named)e +(constan)o(ts)i(de\014ned)h(in)e(this)g(section)i(are)e(implemen)o +(tation-)0 1907 y(dep)q(enden)o(t.)20 b(They)14 b(ma)o(y)e(b)q(e)i +(useful)g(for)g(parameterizing)f(co)q(de)i(in)e(some)g(situations.)1204 +2044 y([)p Fv(Constant)t Fw(])-1395 b Fs(most-positive-fix)o(num)1204 +2096 y Fw([)p Fv(Constant)t Fw(])g Fs(most-negative-fix)o(num)0 +2173 y Fw(The)10 b(v)n(alue)g(of)f Fs(most-positive-fixn)o(um)e +Fw(is)j(that)g(\014xn)o(um)e(closest)j(in)f(v)n(alue)f(to)h(p)q(ositiv) +o(e)0 2225 y(in\014nit)o(y)j(pro)o(vided)h(b)o(y)f(the)i(implemen)o +(tatio)o(n.)42 2277 y(The)21 b(v)n(alue)f(of)g Fs(most-negative-fixn)o +(um)e Fw(is)i(that)h(\014xn)o(um)f(closest)h(in)g(v)n(alue)f(to)0 +2329 y(negativ)o(e)14 b(in\014nit)o(y)f(pro)o(vided)g(b)o(y)h(the)h +(implem)o(en)o(tation.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 395 419 +395 418 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(395)42 +295 y Fw(X3J13)17 b(v)o(oted)h(in)f(Jan)o(uary)g(1989)g +Ft(h)p Fw(76)p Ft(i)g Fw(to)h(sp)q(ecify)g(that)g Fs(fixnum)e +Fw(m)o(ust)h(b)q(e)h(a)f(su-)-33 266 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(p)q(ert)o(yp)q(e)j(of)d(the)i(t)o(yp)q(e)g +Fs(\(signed-byte)g(16\))p Fw(,)f(and)g(additionally)e(that)i(the)h(v)n +(alue)e(of)0 399 y Fs(array-dimension-l)o(imit)d Fw(m)o(ust)i(b)q(e)h +(a)g(\014xn)o(um.)26 b(This)16 b(implies)f(that)i(the)h(v)n(alue)e(of)0 +450 y Fs(most-negative-fix)o(num)10 b Fw(m)o(ust)j(b)q(e)h(less)g(than) +f(or)h(equal)f(to)g Ft(\000)p Fw(2)1043 435 y Fk(15)1078 +450 y Fw(,)g(and)h(the)g(v)n(alue)e(of)0 502 y Fs(most-positive-fix)o +(num)h Fw(m)o(ust)j(b)q(e)h(greater)h(than)e(or)h(equal)f(to)h(b)q(oth) +f(2)1201 487 y Fk(15)1247 502 y Ft(\000)c Fw(1)k(and)0 +554 y(the)e(v)n(alue)g(of)f Fs(array-dimension-l)o(imit)p +Fw(.)-33 566 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1204 1165 a([)p Fv(Constant)t Fw(])-1395 +b Fs(most-positive-sho)o(rt-fl)o(oat)1204 1217 y Fw([)p +Fv(Constant)t Fw(])g Fs(least-positive-sh)o(ort-f)o(loat)1204 +1269 y Fw([)p Fv(Constant)t Fw(])g Fs(least-negative-sh)o(ort-f)o(loat) +1204 1320 y Fw([)p Fv(Constant)t Fw(])g Fs(most-negative-sho)o(rt-fl)o +(oat)0 1407 y Fw(The)11 b(v)n(alue)f(of)h Fs(most-positive-sh)o(ort-f)o +(loat)c Fw(is)k(that)g(short-format)e(\015oating-p)q(oin)o(t)0 +1459 y(n)o(um)o(b)q(er)j(closest)h(in)f(v)n(alue)g(to)g(\(but)h(not)f +(equal)g(to\))g(p)q(ositiv)o(e)g(in\014nit)o(y)g(pro)o(vided)g(b)o(y)g +(the)0 1511 y(implemen)o(tatio)o(n.)42 1573 y(The)17 +b(v)n(alue)f(of)g Fs(least-positive-sh)o(ort-f)o(loat)d +Fw(is)k(that)g(p)q(ositiv)o(e)f(short-format)0 1625 y(\015oating-p)q +(oin)o(t)c(n)o(um)o(b)q(er)i(closest)h(in)f(v)n(alue)f(to)h(\(but)g +(not)g(equal)g(to\))g(zero)h(pro)o(vided)f(b)o(y)0 1676 +y(the)g(implemen)o(tation.)42 1738 y(The)h(v)n(alue)g(of)g +Fs(least-negative-s)o(hort)o(-floa)o(t)d Fw(is)k(that)f(negativ)o(e)g +(short-format)0 1790 y(\015oating-p)q(oin)o(t)d(n)o(um)o(b)q(er)i +(closest)h(in)f(v)n(alue)f(to)h(\(but)g(not)g(equal)g(to\))g(zero)h +(pro)o(vided)f(b)o(y)0 1842 y(the)k(implemen)o(tation.)26 +b(\(Note)18 b(that)f(ev)o(en)i(if)d(an)i(implem)o(en)o(tation)d(supp)q +(orts)j(min)o(us)0 1894 y(zero)g(as)f(a)f(distinct)h(short)h +(\015oating-p)q(oin)o(t)d(v)n(alue,)h Fs(least-negative-sho)o(rt-fl)o +(oat)0 1946 y Fw(m)o(ust)d(not)h(b)q(e)g(min)o(us)e(zero.\))42 +2008 y(X3J13)k(v)o(oted)h(in)g(June)h(1989)e Ft(h)p Fw(79)p +Ft(i)h Fw(to)g(clarify)f(that)h(these)i(de\014nitions)e(are)g(to)g(b)q +(e)-33 1979 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2059 a(tak)o(en)12 b(quite)f(literally)m(.)16 +b(In)11 b(implemen)o(tations)e(that)j(supp)q(ort)g(denormalized)f(n)o +(um)o(b)q(ers,)0 2111 y(the)21 b(v)n(alues)g(of)f Fs(least-positive-)o +(short)o(-floa)o(t)e Fw(and)i Fs(least-negative-sho)o(rt-)0 +2163 y(float)13 b Fw(ma)o(y)f(b)q(e)i(denormalized.)-33 +2175 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2225 a(The)k(v)n(alue)g(of)g Fs(most-negative-sho)o +(rt-fl)o(oat)d Fw(is)j(that)h(short-format)e(\015oating-)0 +2277 y(p)q(oin)o(t)c(n)o(um)o(b)q(er)f(closest)i(in)f(v)n(alue)f(to)h +(\(but)h(not)f(equal)g(to\))g(negativ)o(e)g(in\014nit)o(y)f(pro)o +(vided)0 2329 y(b)o(y)i(the)g(implemen)o(tation.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 396 420 +396 419 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(396)77 b(COMMON)13 +b(LISP)1204 295 y Fw([)p Fv(Constant)t Fw(])-1395 b Fs +(most-positive-sin)o(gle-f)o(loat)1204 347 y Fw([)p Fv(Constant)t +Fw(])g Fs(least-positive-si)o(ngle-)o(float)1204 399 +y Fw([)p Fv(Constant)t Fw(])g Fs(least-negative-si)o(ngle-)o(float)1204 +450 y Fw([)p Fv(Constant)t Fw(])g Fs(most-negative-sin)o(gle-f)o(loat) +1204 502 y Fw([)p Fv(Constant)t Fw(])g Fs(most-positive-dou)o(ble-f)o +(loat)1204 554 y Fw([)p Fv(Constant)t Fw(])g Fs(least-positive-do)o +(uble-)o(float)1204 606 y Fw([)p Fv(Constant)t Fw(])g +Fs(least-negative-do)o(uble-)o(float)1204 658 y Fw([)p +Fv(Constant)t Fw(])g Fs(most-negative-dou)o(ble-f)o(loat)1204 +710 y Fw([)p Fv(Constant)t Fw(])g Fs(most-positive-lon)o(g-flo)o(at) +1204 762 y Fw([)p Fv(Constant)t Fw(])g Fs(least-positive-lo)o(ng-fl)o +(oat)1204 814 y Fw([)p Fv(Constant)t Fw(])g Fs(least-negative-lo)o +(ng-fl)o(oat)1204 866 y Fw([)p Fv(Constant)t Fw(])g Fs +(most-negative-lon)o(g-flo)o(at)0 946 y Fw(These)14 b(are)g(analogous)e +(to)h(the)g(constan)o(ts)h(de\014ned)h(ab)q(o)o(v)o(e)d(for)h +(short-format)f(\015oating-)0 998 y(p)q(oin)o(t)h(n)o(um)o(b)q(ers.) +1204 1565 y([)p Fv(Constant)t Fw(])-1395 b Fs(least-positive-no)o +(rmali)o(zed-s)o(hort-)o(float)-33 1537 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1204 1617 a Fw([)p Fv(Constant)t Fw(])g +Fs(least-negative-no)o(rmali)o(zed-s)o(hort-)o(float)0 +1698 y Fw(X3J13)14 b(v)o(oted)g(in)f(June)i(1989)e Ft(h)p +Fw(79)p Ft(i)g Fw(to)h(add)g(these)h(constan)o(ts)g(to)f(the)g +(language.)42 1754 y(The)j(v)n(alue)g(of)g Fs(least-positive-norm)o +(aliz)o(ed-sh)o(ort-f)o(loat)d Fw(is)j(that)h(p)q(ositiv)o(e)0 +1806 y(normalized)f(short-format)g(\015oating-p)q(oin)o(t)g(n)o(um)o(b) +q(er)g(closest)j(in)e(v)n(alue)g(to)g(\(but)h(not)0 1858 +y(equal)c(to\))h(zero)g(pro)o(vided)g(b)o(y)f(the)h(implemen)o(tatio)o +(n.)k(In)c(implemen)o(tatio)o(ns)d(that)j(do)0 1910 y(not)k(supp)q(ort) +i(denormalized)d(n)o(um)o(b)q(ers)h(this)h(ma)o(y)e(b)q(e)i(the)g(same) +f(as)g(the)h(v)n(alue)f(of)0 1961 y Fs(least-positive-sh)o(ort-f)o +(loat)p Fw(.)42 2017 y(The)c(v)n(alue)f(of)g Fs(least-negative-nor)o +(maliz)o(ed-sh)o(ort-f)o(loat)d Fw(is)k(that)g(negativ)o(e)0 +2069 y(normalized)h(short-format)g(\015oating-p)q(oin)o(t)g(n)o(um)o(b) +q(er)g(closest)j(in)e(v)n(alue)g(to)g(\(but)h(not)0 2121 +y(equal)f(to\))g(zero)h(pro)o(vided)g(b)o(y)f(the)g(implemen)o(tation.) +28 b(\(Note)19 b(that)f(ev)o(en)h(if)f(an)g(im-)0 2173 +y(plemen)o(tation)h(supp)q(orts)j(min)o(us)d(zero)i(as)g(a)f(distinct)h +(short)g(\015oating-p)q(oin)o(t)e(v)n(alue,)0 2225 y +Fs(least-negative-no)o(rmali)o(zed-s)o(hort-)o(float)8 +b Fw(m)o(ust)j(not)h(b)q(e)h(min)o(us)d(zero.\))19 b(In)12 +b(im-)0 2277 y(plemen)o(tations)17 b(that)i(do)f(not)h(supp)q(ort)g +(denormalized)f(n)o(um)o(b)q(ers)g(this)g(ma)o(y)f(b)q(e)i(the)0 +2329 y(same)13 b(as)h(the)g(v)n(alue)g(of)f Fs(least-positive-sh)o +(ort-f)o(loat)p Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 397 421 +397 420 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(NUMBERS)1155 b(397)1204 +295 y Fw([)p Fv(Constant)t Fw(])-1395 b Fs(least-positive-no)o(rmali)o +(zed-s)o(ingle)o(-floa)o(t)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1204 347 a Fw([)p Fv(Constant)t Fw(])g Fs +(least-negative-no)o(rmali)o(zed-s)o(ingle)o(-floa)o(t)1204 +399 y Fw([)p Fv(Constant)t Fw(])g Fs(least-positive-no)o(rmali)o(zed-d) +o(ouble)o(-floa)o(t)1204 450 y Fw([)p Fv(Constant)t Fw(])g +Fs(least-negative-no)o(rmali)o(zed-d)o(ouble)o(-floa)o(t)1204 +502 y Fw([)p Fv(Constant)t Fw(])g Fs(least-positive-no)o(rmali)o(zed-l) +o(ong-f)o(loat)1204 554 y Fw([)p Fv(Constant)t Fw(])g +Fs(least-negative-no)o(rmali)o(zed-l)o(ong-f)o(loat)0 +631 y Fw(These)14 b(are)g(analogous)e(to)h(the)g(constan)o(ts)h +(de\014ned)h(ab)q(o)o(v)o(e)d(for)h(short-format)f(\015oating-)0 +683 y(p)q(oin)o(t)h(n)o(um)o(b)q(ers.)-33 695 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1204 809 a([)p Fv(Constant)t Fw(])-1395 +b Fs(short-float-epsil)o(on)1204 861 y Fw([)p Fv(Constant)t +Fw(])g Fs(single-float-epsi)o(lon)1204 913 y Fw([)p Fv(Constant)t +Fw(])g Fs(double-float-epsi)o(lon)1204 965 y Fw([)p Fv(Constant)t +Fw(])g Fs(long-float-epsilo)o(n)0 1042 y Fw(These)20 +b(constan)o(ts)f(ha)o(v)o(e)f(as)g(v)n(alue,)h(for)f(eac)o(h)g +(\015oating-p)q(oin)o(t)f(format,)g(the)i(smallest)0 +1094 y(p)q(ositiv)o(e)14 b(\015oating-p)q(oin)o(t)e(n)o(um)o(b)q(er)h +Fv(e)h Fw(of)f(that)h(format)e(suc)o(h)j(that)f(the)g(expression)0 +1179 y Fs(\(not)20 b(\()130 1175 y(U)130 1183 y(U)173 +1179 y(\(float)g(1)h Fv(e)p Fs(\))g(\(+)g(\(float)f(1)h +Fv(e)p Fs(\))g Fv(e)p Fs(\)\)\))0 1264 y Fw(is)14 b(true)g(when)h +(actually)e(ev)n(aluated.)1204 1391 y([)p Fv(Constant)t +Fw(])-1395 b Fs(short-float-negat)o(ive-e)o(psilo)o(n)1204 +1443 y Fw([)p Fv(Constant)t Fw(])g Fs(single-float-nega)o(tive-)o +(epsil)o(on)1204 1494 y Fw([)p Fv(Constant)t Fw(])g Fs +(double-float-nega)o(tive-)o(epsil)o(on)1204 1546 y Fw([)p +Fv(Constant)t Fw(])g Fs(long-float-negati)o(ve-ep)o(silon)0 +1623 y Fw(These)20 b(constan)o(ts)f(ha)o(v)o(e)f(as)g(v)n(alue,)h(for)f +(eac)o(h)g(\015oating-p)q(oin)o(t)f(format,)g(the)i(smallest)0 +1675 y(p)q(ositiv)o(e)14 b(\015oating-p)q(oin)o(t)e(n)o(um)o(b)q(er)h +Fv(e)h Fw(of)f(that)h(format)e(suc)o(h)j(that)f(the)g(expression)0 +1760 y Fs(\(not)20 b(\()130 1756 y(U)130 1764 y(U)173 +1760 y(\(float)g(1)h Fv(e)p Fs(\))g(\(-)g(\(float)f(1)h +Fv(e)p Fs(\))g Fv(e)p Fs(\)\)\))0 1845 y Fw(is)14 b(true)g(when)h +(actually)e(ev)n(aluated.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 398 422 +398 421 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(13)p 0 448 598 +9 v 0 531 a Fp(Cha)n(racters)0 891 y Fw(Common)12 b(Lisp)j(pro)o(vides) +h(a)f(c)o(haracter)i(data)e(t)o(yp)q(e;)h(ob)r(jects)h(of)e(this)g(t)o +(yp)q(e)h(represen)o(t)0 943 y(prin)o(ted)e(sym)o(b)q(ols)f(suc)o(h)h +(as)g(letters.)42 995 y(In)g(general,)h(c)o(haracters)i(in)d(Common)e +(Lisp)i(are)h(not)g(true)h(ob)r(jects;)g Fs(eq)e Fw(cannot)h(b)q(e)0 +1047 y(coun)o(ted)i(up)q(on)g(to)f(op)q(erate)i(on)e(them)g(reliably)m +(.)25 b(In)17 b(particular,)f(it)g(is)h(p)q(ossible)g(that)0 +1099 y(the)d(expression)0 1187 y Fs(\(let)20 b(\(\(x)h(z\))g(\(y)f +(z\)\))h(\(eq)g(x)f(y\)\))0 1275 y Fw(ma)o(y)12 b(b)q(e)i(false)g +(rather)h(than)f(true,)g(if)f(the)i(v)n(alue)e(of)g Fs(z)h +Fw(is)f(a)h(c)o(haracter.)p 0 1334 598 2 v 0 1395 a Fm(Rationale:)h +FA(This)10 b(o)q(dd)g(breakdo)o(wn)h(of)e Fj(eq)f FA(in)i(the)f(case)h +(of)f(c)o(haracters)h(allo)o(ws)g(the)g(implemen-)0 1441 +y(tor)15 b(enough)h(design)g(freedom)f(to)g(pro)q(duce)h(exceptionall)q +(y)h(e\016cien)o(t)f(co)q(de)g(on)f(con)o(v)o(en)o(tional)0 +1486 y(arc)o(hitectures.)25 b(In)15 b(this)h(resp)q(ect)g(the)g +(treatmen)o(t)f(of)g(c)o(haracters)h(exactly)g(parallels)i(that)e(of)0 +1532 y(n)o(um)o(b)q(ers,)e(as)f(describ)q(ed)i(in)e(c)o(hapter)h(12.)p +0 1569 V 42 1654 a Fw(If)k(t)o(w)o(o)h(ob)r(jects)h(are)g(to)f(b)q(e)g +(compared)g(for)g(\\iden)o(tit)o(y)m(,")f(but)h(either)h(migh)o(t)d(b)q +(e)j(a)0 1706 y(c)o(haracter,)15 b(then)f(the)h(predicate)g +Fs(eql)e Fw(is)h(probably)f(appropriate.)42 1758 y(X3J13)j(v)o(oted)g +(in)g(Marc)o(h)h(1989)f Ft(h)p Fw(11)p Ft(i)g Fw(to)g(appro)o(v)o(e)g +(the)i(follo)o(wing)13 b(de\014nitions)k(and)-33 1729 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1810 a(terminology)12 b(for)h(use)i(in)e(discussing)i(c) +o(haracter)g(facilities)e(in)g(Common)e(Lisp.)42 1862 +y(A)g Fv(char)n(acter)g(r)n(ep)n(ertoir)n(e)f Fw(de\014nes)i(a)f +(collection)f(of)h(c)o(haracters)i(indep)q(enden)o(t)f(of)e(their)0 +1914 y(sp)q(eci\014c)i(rendered)h(image)c(or)h(fon)o(t.)17 +b(\(This)10 b(corresp)q(onds)j(to)e(the)g(mathematical)c(notion)0 +1966 y(of)k(a)g(set,)i(but)f(the)g(term)f Fv(char)n(acter)h(set)g +Fw(is)f(a)o(v)o(oided)g(here)i(b)q(ecause)g(it)e(has)h(b)q(een)h(used)f +(in)0 2017 y(the)h(past)f(to)g(mean)f(b)q(oth)i(what)f(is)g(here)h +(called)f(a)g(rep)q(ertoire)i(and)e(what)h(is)f(here)h(called)0 +2069 y(a)19 b(co)q(ded)h(c)o(haracter)g(set.\))35 b(Character)20 +b(rep)q(ertoires)h(are)e(sp)q(eci\014ed)i(indep)q(enden)o(t)f(of)0 +2121 y(co)q(ding)14 b(and)h(their)f(c)o(haracters)j(are)e(iden)o +(ti\014ed)f(only)g(with)g(a)g(unique)h Fv(char)n(acter)g(lab)n(el)p +Fw(,)0 2173 y(a)j(graphic)g(sym)o(b)q(ol,)f(and)i(a)f(c)o(haracter)i +(description.)32 b(As)19 b(an)f(example,)f(table)i(13-)o(1)0 +2225 y(sho)o(ws)f(the)g(c)o(haracter)h(lab)q(els,)f(graphic)g(sym)o(b)q +(ols,)f(and)g(c)o(haracter)i(descriptions)g(for)0 2277 +y(all)11 b(of)h(the)i(c)o(haracters)g(in)e(the)h(rep)q(ertoire)i +Fs(standard-char)10 b Fw(except)k(for)e Fs(#)1163 2273 +y(-)1163 2281 y(-)1185 2277 y(\\Space)f Fw(and)0 2329 +y Fs(#)0 2325 y(-)0 2333 y(-)22 2329 y(\\Newline)p Fw(.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2428 a Fy(398)p eop +%%Page: 399 423 +399 422 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CHARA)o(CTERS)1089 +b(399)p 0 255 1395 2 v 0 344 a Fm(T)l(able)14 b(13-1:)k +FA(Standard)c(Character)g(Lab)q(els,)g(Glyphs,)g(and)g(Descriptions)492 +441 y Fj(SM05)c(@)h FA(commercial)k(at)111 b Fj(SD13)1049 +444 y Fs(`)1082 441 y FA(gra)o(v)o(e)13 b(accen)o(t)0 +491 y Fj(SP02)d(!)h FA(exclamation)k(mark)71 b Fj(LA02)10 +b(A)h FA(capital)k(A)193 b Fj(LA01)10 b(a)h FA(small)j(a)0 +541 y Fj(SP04)c(")h FA(quotation)k(mark)111 b Fj(LB02)10 +b(B)h FA(capital)k(B)195 b Fj(LB01)10 b(b)h FA(small)j(b)0 +591 y Fj(SM01)c(#)90 588 y(-)90 594 y(-)121 591 y FA(n)o(um)o(b)q(er)k +(sign)166 b Fj(LC02)10 b(C)h FA(capital)k(C)194 b Fj(LC01)10 +b(c)h FA(small)j(c)0 641 y Fj(SC03)c($)h FA(dollar)k(sign)197 +b Fj(LD02)10 b(D)h FA(capital)k(D)193 b Fj(LD01)10 b(d)h +FA(small)j(d)0 692 y Fj(SM02)c(\045)h FA(p)q(ercen)o(t)j(sign)169 +b Fj(LE02)10 b(E)h FA(capital)k(E)196 b Fj(LE01)10 b(e)h +FA(small)j(e)0 742 y Fj(SM03)c(&)h FA(amp)q(ersand)190 +b Fj(LF02)10 b(F)h FA(capital)k(F)197 b Fj(LF01)10 b(f)h +FA(small)j(f)0 792 y Fj(SP05)88 795 y Fs(')121 792 y +FA(ap)q(ostrophe)188 b Fj(LG02)10 b(G)h FA(capital)k(G)192 +b Fj(LG01)10 b(g)h FA(small)j(g)0 842 y Fj(SP06)c(\()h +FA(left)i(paren)o(thesis)119 b Fj(LH02)10 b(H)h FA(capital)k(H)193 +b Fj(LH01)10 b(h)h FA(small)j(h)0 893 y Fj(SP07)c(\))h +FA(righ)o(t)j(paren)o(thesis)93 b Fj(LI02)10 b(I)h FA(capital)k(I)208 +b Fj(LI01)10 b(i)h FA(small)j(i)0 943 y Fj(SM04)c(*)h +FA(asterisk)245 b Fj(LJ02)10 b(J)h FA(capital)k(J)202 +b Fj(LJ01)10 b(j)h FA(small)j(j)0 993 y Fj(SA01)c(+)h +FA(plus)j(sign)225 b Fj(LK02)10 b(K)h FA(capital)k(K)192 +b Fj(LK01)10 b(k)h FA(small)j(k)0 1043 y Fj(SP08)c(,)h +FA(comma)252 b Fj(LL02)10 b(L)h FA(capital)k(L)198 b +Fj(LL01)10 b(l)h FA(small)j(l)0 1093 y Fj(SP10)c(-)h +FA(h)o(yphen)j(or)f(min)o(us)i(sign)d Fj(LM02)e(M)h FA(capital)k(M)187 +b Fj(LM01)10 b(m)h FA(small)j(m)0 1144 y Fj(SP11)c(.)h +FA(p)q(erio)q(d)j(or)f(full)i(stop)67 b Fj(LN02)10 b(N)h +FA(capital)k(N)193 b Fj(LN01)10 b(n)h FA(small)j(n)0 +1194 y Fj(SP12)c(/)h FA(solidus)260 b Fj(LO02)10 b(O)h +FA(capital)k(O)192 b Fj(LO01)10 b(o)h FA(small)j(o)0 +1244 y Fj(ND10)c(0)h FA(digit)j(0)263 b Fj(LP02)10 b(P)h +FA(capital)k(P)196 b Fj(LP01)10 b(p)h FA(small)j(p)0 +1294 y Fj(ND01)c(1)h FA(digit)j(1)263 b Fj(LQ02)10 b(Q)h +FA(capital)k(Q)192 b Fj(LQ01)10 b(q)h FA(small)j(q)0 +1345 y Fj(ND02)c(2)h FA(digit)j(2)263 b Fj(LR02)10 b(R)h +FA(capital)k(R)194 b Fj(LR01)10 b(r)h FA(small)j(r)0 +1395 y Fj(ND03)c(3)h FA(digit)j(3)263 b Fj(LS02)10 b(S)h +FA(capital)k(S)201 b Fj(LS01)10 b(s)h FA(small)j(s)0 +1445 y Fj(ND04)c(4)h FA(digit)j(4)263 b Fj(LT02)10 b(T)h +FA(capital)k(T)194 b Fj(LT01)10 b(t)h FA(small)j(t)0 +1495 y Fj(ND05)c(5)h FA(digit)j(5)263 b Fj(LU02)10 b(U)h +FA(capital)k(U)193 b Fj(LU01)10 b(u)h FA(small)j(u)0 +1546 y Fj(ND06)c(6)h FA(digit)j(6)263 b Fj(LV02)10 b(V)h +FA(capital)k(V)193 b Fj(LV01)10 b(v)h FA(small)j(v)0 +1596 y Fj(ND07)c(7)h FA(digit)j(7)263 b Fj(LW02)10 b(W)h +FA(capital)k(W)183 b Fj(LW01)10 b(w)h FA(small)j(w)0 +1646 y Fj(ND08)c(8)h FA(digit)j(8)263 b Fj(LX02)10 b(X)h +FA(capital)k(X)193 b Fj(LX01)10 b(x)h FA(small)j(x)0 +1696 y Fj(ND09)c(9)h FA(digit)j(9)263 b Fj(LY02)10 b(Y)h +FA(capital)k(Y)193 b Fj(LY01)10 b(y)h FA(small)j(y)0 +1746 y Fj(SP13)c(:)h FA(colon)285 b Fj(LZ02)10 b(Z)h +FA(capital)k(Z)199 b Fj(LZ01)10 b(z)h FA(small)j(z)0 +1797 y Fj(SP14)c(;)h FA(semicolon)211 b Fj(SM06)10 b([)h +FA(left)i(square)h(brac)o(k)o(et)38 b Fj(SM11)10 b({)h +FA(left)i(curly)h(brac)o(k)o(et)0 1847 y Fj(SA03)c(<)h +FA(less-than)j(sign)146 b Fj(SM07)10 b(\\)h FA(rev)o(erse)j(solidus)108 +b Fj(SM13)10 b(|)h FA(v)o(ertical)k(bar)0 1897 y Fj(SA04)90 +1894 y(U)90 1900 y(U)121 1897 y FA(equals)f(sign)190 +b Fj(SM08)10 b(])h FA(righ)o(t)j(square)g(brac)o(k)o(et)e +Fj(SM14)e(})h FA(righ)o(t)j(curly)g(brac)o(k)o(et)0 1947 +y Fj(SA05)c(>)h FA(greater-than)j(sign)86 b Fj(SD15)581 +1950 y Fs(^)613 1947 y FA(circum\015ex)15 b(accen)o(t)58 +b Fj(SD19)1049 1950 y Fs(~)1082 1947 y FA(tilde)0 1998 +y Fj(SP15)10 b(?)h FA(question)k(mark)132 b Fj(SP09)10 +b(_)h FA(lo)o(w)j(line)0 2112 y(The)k(c)o(haracters)g(in)h(this)g +(table)f(plus)h(the)f(space)h(and)f(newline)i(c)o(haracters)e(mak)o(e)g +(up)g(the)0 2158 y(standard)d(Common)f(Lisp)h(c)o(haracter)g(rep)q +(ertoire)g(\(t)o(yp)q(e)g Fj(standard)o(-ch)o(ar)o FA(\).)i(The)d(c)o +(haracter)0 2204 y(lab)q(els)j(and)e(c)o(haracter)h(descriptions)h(sho) +o(wn)f(here)f(are)g(tak)o(en)g(from)g(ISO)f(standard)j(6937/2)0 +2249 y(.)26 b(The)17 b(\014rst)f(c)o(haracter)h(of)f(the)g(lab)q(el)i +(categorizes)g(the)e(c)o(haracter)h(as)f(Latin,)i(Numeric,)g(or)0 +2295 y(Sp)q(ecial.)p 0 2329 V -33 2344 a @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 400 424 +400 423 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(400)77 b(COMMON)13 +b(LISP)42 295 y Fw(Ev)o(ery)24 b(Comm)o(on)d(Lisp)i(implemen)o(tatio)o +(n)e(m)o(ust)h(supp)q(ort)j(the)f(standard)g(c)o(har-)0 +347 y(acter)d(rep)q(ertoire)g(as)e(w)o(ell)g(as)h(rep)q(ertoires)i +(named)c Fs(base-character)p Fw(,)g Fs(extended-)0 399 +y(character)p Fw(,)h(and)g Fs(character)p Fw(.)34 b(Other)20 +b(rep)q(ertoires)i(ma)o(y)c(b)q(e)i(supp)q(orted)h(as)f(w)o(ell.)0 +450 y(X3J13)14 b(v)o(oted)h(in)f(June)h(1989)f Ft(h)p +Fw(122)p Ft(i)g Fw(to)g(sp)q(ecify)h(that)f(names)g(of)g(rep)q +(ertoires)j(ma)o(y)12 b(b)q(e)0 502 y(used)k(as)g(t)o(yp)q(e)g(sp)q +(eci\014ers.)25 b(Suc)o(h)16 b(t)o(yp)q(es)g(m)o(ust)e(b)q(e)i(subt)o +(yp)q(es)h(of)e Fs(character)p Fw(;)f(that)h(is,)0 554 +y(in)f(a)g(giv)o(en)h(implem)o(en)o(tation)d(the)j(rep)q(ertoire)h +(named)e Fs(character)e Fw(m)o(ust)i(encompass)0 606 +y(all)f(the)h(c)o(haracter)h(ob)r(jects)g(supp)q(orted)h(b)o(y)d(that)h +(implemen)o(tation.)42 660 y(A)9 b Fv(c)n(o)n(de)n(d)j(char)n(acter)e +(set)f Fw(is)h(a)f(c)o(haracter)i(rep)q(ertoire)h(plus)d(an)g +Fv(enc)n(o)n(ding)i Fw(that)f(pro)o(vides)0 712 y(a)h(bijectiv)o(e)g +(mapping)e(b)q(et)o(w)o(een)j(eac)o(h)g(c)o(haracter)g(in)f(the)h(set)g +(and)f(a)g(n)o(um)o(b)q(er)f(\(t)o(ypically)0 764 y(a)i(non-negativ)o +(e)g(in)o(teger\))h(that)f(serv)o(es)i(as)e(the)h(c)o(haracter)h +(represen)o(tation.)19 b(There)13 b(are)0 816 y(n)o(umerous)g(in)o +(ternationally)f(standardized)j(co)q(ded)g(c)o(haracter)g(sets.)42 +870 y(A)10 b(c)o(haracter)h(ma)o(y)d(b)q(e)j(included)f(in)f(one)i(or)f +(more)f(c)o(haracter)i(rep)q(ertoires.)19 b(Similarly)l(,)0 +922 y(a)14 b(c)o(haracter)h(ma)o(y)d(b)q(e)i(included)g(in)g(one)g(or)g +(more)f(co)q(ded)h(c)o(haracter)i(sets.)42 976 y(T)m(o)e(ensure)i(that) +g(eac)o(h)f(c)o(haracter)i(is)d(uniquely)h(de\014ned,)h(w)o(e)f(ma)o(y) +e(use)j(a)f(univ)o(ersal)0 1027 y(registry)10 b(of)f(c)o(haracters)i +(that)f(incorp)q(orates)g(a)f(collection)g(of)g(distinguished)h(rep)q +(ertoires)0 1079 y(called)18 b Fv(char)n(acter)g(scripts)f +Fw(that)h(form)e(an)h(exhaustiv)o(e)i(partition)e(of)g(all)f(c)o +(haracters.)0 1131 y(That)c(is,)f(eac)o(h)i(c)o(haracter)g(is)e +(included)h(in)g(exactly)g(one)g(c)o(haracter)h(script.)18 +b(\(Draft)11 b(ISO)0 1183 y(10646)j(Co)q(ded)i(Character)h(Set)f +(Standard,)g(if)f(ev)o(en)o(tually)g(appro)o(v)o(ed)h(as)f(a)h +(standard,)0 1235 y(ma)o(y)c(b)q(ecome)i(the)g(practical)g(realization) +f(of)g(this)h(univ)o(ersal)g(registry)m(.\))42 1289 y(\(X3J13)h(v)o +(oted)h(in)f(June)i(1989)e Ft(h)p Fw(122)p Ft(i)g Fw(to)h(sp)q(ecify)g +(that)g(an)g(implem)o(en)o(tation)d(m)o(ust)0 1341 y(do)q(cumen)o(t)18 +b(the)i(c)o(haracter)g(scripts)g(it)e(supp)q(orts.)35 +b(F)m(or)18 b(eac)o(h)h(script)h(the)f(do)q(cumen-)0 +1393 y(tation)c(should)h(discuss)h(c)o(haracter)g(lab)q(els,)f(glyphs,) +f(and)h(descriptions;)h(an)o(y)e(canoni-)0 1445 y(calization)g(pro)q +(cesses)20 b(p)q(erformed)c(b)o(y)g(the)h(reader)h(that)f(result)g(in)f +(treating)g(distinct)0 1496 y(c)o(haracters)11 b(as)f(equiv)n(alen)o +(t;)f(an)o(y)g(canonicalization)f(p)q(erformed)h(b)o(y)g +Fs(format)f Fw(in)h(pro)q(cess-)0 1548 y(ing)14 b(directiv)o(es;)i(the) +f(b)q(eha)o(vior)g(of)f Fs(char-upcase)p Fw(,)e Fs(char-downcase)p +Fw(,)g(and)i(the)i(predi-)0 1600 y(cates)d Fs(alpha-char-p)p +Fw(,)c Fs(upper-case-p)p Fw(,)g Fs(lower-case-p)p Fw(,)g +Fs(both-case-p)p Fw(,)g Fs(graphic-)0 1652 y(char-p)p +Fw(,)k Fs(alphanumericp)p Fw(,)e Fs(char-equal)p Fw(,)h +Fs(char-not-equal)p Fw(,)g Fs(char-lessp)p Fw(,)g Fs(char-)0 +1704 y(greaterp)p Fw(,)17 b Fs(char-not-greaterp)p Fw(,)e(and)j +Fs(char-not-lessp)e Fw(for)h(c)o(haracters)j(in)e(the)0 +1756 y(script;)c(and)g(b)q(eha)o(vior)g(with)f(resp)q(ect)k(to)c(input) +h(and)g(output,)g(including)f(co)q(ded)i(c)o(har-)0 1808 +y(acter)g(sets)g(and)f(external)g(co)q(ding)g(sc)o(hemes.\))42 +1862 y(In)e(Common)e(Lisp)j(a)f Fv(char)n(acter)h Fw(data)f(ob)r(ject)i +(is)f(iden)o(ti\014ed)g(b)o(y)f(its)h Fv(char)n(acter)h(c)n(o)n(de)p +Fw(,)0 1914 y(a)g(unique)h(n)o(umerical)e(co)q(de.)22 +b(Eac)o(h)15 b(c)o(haracter)h(co)q(de)f(is)g(comp)q(osed)f(from)f(a)h +(c)o(haracter)0 1966 y(script)21 b(and)f(a)f(c)o(haracter)j(lab)q(el.) +35 b(The)21 b(con)o(v)o(en)o(tion)e(b)o(y)h(whic)o(h)g(a)g(c)o +(haracter)h(script)0 2017 y(and)16 b(c)o(haracter)h(lab)q(el)e(comp)q +(ose)g(a)h(c)o(haracter)h(co)q(de)g(is)e(implemen)o(tation)d(dep)q +(enden)o(t.)0 2069 y([X3J13)k(did)g(not)g(appro)o(v)o(e)g(all)f(parts)i +(of)f(the)h(prop)q(osal)f(from)f(its)h(Sub)q(committee)f(on)0 +2121 y(Characters.)k(As)14 b(a)f(result,)h(some)e(features)i(that)g(w)o +(ere)g(appro)o(v)o(ed)f(app)q(ear)h(to)f(ha)o(v)o(e)g(no)0 +2173 y(purp)q(ose.)27 b(X3J13)16 b(wished)g(to)h(supp)q(ort)g(the)g +(standardization)f(b)o(y)g(ISO)h(of)e(c)o(haracter)0 +2225 y(scripts)k(and)g(co)q(ded)g(c)o(haracter)g(sets)h(but)e(declined) +h(to)f(design)h(facilities)e(for)h(use)h(in)0 2277 y(Common)13 +b(Lisp)j(un)o(til)f(there)j(has)e(b)q(een)i(more)d(progress)i(b)o(y)f +(ISO)h(in)f(this)g(area.)25 b(The)0 2329 y(appro)o(v)n(al)10 +b(of)g(the)i(terminology)d(for)i(scripts)h(and)f(lab)q(els)g(giv)o(es)g +(a)g(hin)o(t)g(to)g(implemen)o(tors)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 401 425 +401 424 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CHARA)o(CTERS)1089 +b(401)0 295 y Fw(of)13 b(lik)o(ely)g(directions)h(for)g(Commo)o(n)d +(Lisp)j(in)g(the)g(future.])42 347 y(A)i(c)o(haracter)i(ob)r(ject)f +(that)f(is)h(classi\014ed)g(as)f Fv(gr)n(aphic)p Fw(,)h(or)f(displa)o +(y)o(able,)f(has)i(an)f(as-)0 399 y(so)q(ciated)h Fv(glpyh)p +Fw(.)26 b(The)17 b(glyph)f(is)g(the)h(visual)f(represen)o(tation)i(of)d +(the)i(c)o(haracter.)28 b(All)0 450 y(other)15 b(c)o(haracter)g(data)e +(ob)r(jects)i(are)g(classi\014ed)f(as)g Fv(non-gr)n(aphic)p +Fw(.)42 502 y(This)19 b(terminology)e(assigns)j(names)e(to)i(Commo)o(n) +d(Lisp)i(concepts)i(in)e(a)h(manner)0 554 y(consisten)o(t)14 +b(with)e(related)h(concepts)h(discussed)h(in)d(v)n(arious)f(ISO)i +(standards)h(for)e(co)q(ded)0 606 y(c)o(haracter)21 b(sets)g(and)e(pro) +o(vides)h(a)f(demarcation)f(b)q(et)o(w)o(een)j(standardization)f +(activi-)0 658 y(ties.)34 b(F)m(or)18 b(example,)h(facilities)f(for)g +(manipulating)e(c)o(haracters,)22 b(c)o(haracter)e(scripts,)0 +710 y(and)c(co)q(ded)h(c)o(haracter)g(sets)g(are)g(prop)q(erly)f +(de\014ned)h(b)o(y)f(a)f(Common)e(Lisp)j(standard,)0 +762 y(but)c(Commo)o(n)d(Lisp)i(should)h(not)f(de\014ne)i(standard)e(c)o +(haracter)i(sets)g(or)f(standard)g(c)o(har-)0 814 y(acter)j(scripts.) +-33 825 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 950 a Fo(13.1.)20 b(Character)15 b(A)n(ttributes)0 +1032 y Fw(Ev)o(ery)d(c)o(haracter)i(has)e(three)h(attributes:)18 +b(co)q(de,)13 b(bits,)f(and)f(fon)o(t.)17 b(The)12 b(co)q(de)h +(attribute)0 1083 y(is)g(in)o(tended)g(to)g(distinguish)f(among)f(the)j +(prin)o(ted)f(glyphs)f(and)h(formatting)e(functions)0 +1135 y(for)16 b(c)o(haracters.)26 b(The)16 b(bits)g(attribute)h(allo)o +(ws)e(extra)h(\015ags)g(to)g(b)q(e)h(asso)q(ciated)f(with)g(a)0 +1187 y(c)o(haracter.)j(The)12 b(fon)o(t)f(attribute)i(p)q(ermits)e(a)h +(sp)q(eci\014cation)g(of)g(the)g(st)o(yle)g(of)g(the)g(glyphs)0 +1239 y(\(suc)o(h)j(as)f(italics\).)42 1291 y(The)c(treatmen)o(t)g(of)f +(c)o(haracter)i(attributes)g(in)e(Common)e(Lisp)j(has)g(not)g(b)q(een)h +(en)o(tirely)-33 1263 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1343 a(successful.)37 b(The)20 b(fon)o(t)f(attribute)h +(has)g(not)g(b)q(een)g(widely)f(used,)j(for)d(t)o(w)o(o)g(reasons.)0 +1395 y(First,)h(a)e(single)g(in)o(teger,)i(limited)d(in)h(most)f +(implemen)o(tations)f(to)i(255)g(at)h(most,)f(is)0 1447 +y(not)e(an)h(adequate,)g(con)o(v)o(enien)o(t,)g(or)g(p)q(ortable)f +(represen)o(tation)i(for)f(a)f(fon)o(t.)25 b(Second,)0 +1499 y(in)18 b(man)o(y)e(applications)h(where)i(fon)o(t)e(information)e +(matters)j(it)g(is)f(more)g(con)o(v)o(enien)o(t)0 1550 +y(or)h(more)f(e\016cien)o(t)h(to)g(represen)o(t)i(fon)o(t)e +(information)d(as)j(shift)g(co)q(des)h(that)f(apply)f(to)0 +1602 y(man)o(y)e(c)o(haracters,)k(rather)f(than)f(attac)o(hing)g(fon)o +(t)f(information)f(separately)i(to)g(eac)o(h)0 1654 y(c)o(haracter.)42 +1706 y(As)e(for)g(the)h(bits)g(attribute,)f(it)g(w)o(as)g(in)o(tended)h +(to)g(supp)q(ort)g(c)o(haracter)g(input)f(from)0 1758 +y(extended)j(k)o(eyb)q(oards)g(ha)o(ving)d(extra)i(\\shift")f(k)o(eys.) +28 b(This,)17 b(in)f(turn,)h(w)o(as)g(imagined)0 1810 +y(to)h(supp)q(ort)h(the)g(programming)c(of)j(a)g(p)q(ortable)g(EMA)o +(CS-lik)o(e)g(editor)g(in)g(Common)0 1862 y(Lisp.)g(\(The)d(EMA)o(CS)f +(command)d(set)k(is)f(most)e(con)o(v)o(enien)o(t)j(when)f(the)h(k)o +(eyb)q(oard)f(has)0 1914 y(separate)19 b(\\con)o(trol")f(and)g(\\meta") +f(k)o(eys.\))31 b(The)19 b(bits)f(attribute)h(has)g(b)q(een)g(used)g +(in)0 1966 y(the)13 b(implemen)o(tation)c(of)k(suc)o(h)g(editors)g(and) +g(other)g(in)o(teractiv)o(e)g(in)o(terfaces.)19 b(Ho)o(w)o(ev)o(er,)0 +2017 y(soft)o(w)o(are)11 b(that)g(relies)h(crucially)f(on)g(these)h +(extended)h(c)o(haracters)g(will)d(not)h(b)q(e)h(p)q(ortable)0 +2069 y(to)i(Commo)o(n)d(Lisp)j(implemen)o(tations)d(that)j(do)f(not)h +(supp)q(ort)h(them.)42 2121 y(X3J13)g(v)o(oted)g(in)g(Marc)o(h)h(1989)f +Ft(h)p Fw(11)p Ft(i)g Fw(and)g(in)g(June)i(1989)d Ft(h)p +Fw(122)p Ft(i)h Fw(to)g(revise)i(consid-)0 2173 y(erably)i(the)g +(treatmen)o(t)g(of)f(c)o(haracters)i(in)e(the)i(language.)31 +b(The)20 b(bits)e(and)h(fon)o(t)f(at-)0 2225 y(tributes)c(are)f +(eliminated;)e(instead)i(a)f(c)o(haracter)i(ma)o(y)d(ha)o(v)o(e)i +Fv(implementation-de\014ne)n(d)0 2277 y(attributes)p +Fw(.)28 b(The)17 b(treatmen)o(t)h(of)e(suc)o(h)i(attributes)h(b)o(y)e +(existing)g(c)o(haracter-handling)0 2329 y(functions)d(is)g(carefully)f +(constrained)i(b)o(y)f(certain)g(rules.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 402 426 +402 425 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(402)77 b(COMMON)13 +b(LISP)42 295 y Fw(Implemen)o(tatio)o(ns)i(are)i(free)h(to)f(con)o(tin) +o(ue)g(to)f(supp)q(ort)i(bits)f(and)g(fon)o(t)f(attributes,)0 +347 y(but)j(they)h(are)f(formally)d(regarded)k(as)f(implemen)o +(tation-de\014ned)e(attributes.)34 b(The)0 399 y(rules)13 +b(are)g(generally)e(consisten)o(t)j(with)e(the)h(previous)f(treatmen)o +(t)g(of)g(the)h(bits)f(and)g(fon)o(t)0 450 y(attributes.)18 +b(My)12 b(guess)g(is)g(that)g(the)g(fon)o(t)f(attribute)h(as)g(curren)o +(tly)g(de\014ned)h(will)d(wither)0 502 y(a)o(w)o(a)o(y)m(,)17 +b(but)h(the)g(bits)g(attribute)g(as)g(de\014ned)g(b)o(y)g(the)g +(\014rst)h(edition)e(will)f(con)o(tin)o(ue)i(to)0 554 +y(b)q(e)d(supp)q(orted)i(as)d(a)h Fv(de)h(facto)f Fw(standard)g +(extension,)g(b)q(ecause)i(it)d(\014lls)h(a)f(useful)h(small)0 +606 y(purp)q(ose.)-33 618 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1204 730 a([)p Fv(Constant)t Fw(])-1395 +b Fs(char-code-limit)0 806 y Fw(The)19 b(v)n(alue)e(of)h +Fs(char-code-limit)d Fw(is)j(a)g(non-negativ)o(e)g(in)o(teger)g(that)h +(is)f(the)h(upp)q(er)0 858 y(exclusiv)o(e)11 b(b)q(ound)g(on)f(v)n +(alues)h(pro)q(duced)h(b)o(y)e(the)h(function)g Fs(char-code)p +Fw(,)e(whic)o(h)h(returns)0 910 y(the)i Fv(c)n(o)n(de)f +Fw(comp)q(onen)o(t)f(of)h(a)f(giv)o(en)h(c)o(haracter;)i(that)e(is,)g +(the)h(v)n(alues)e(returned)j(b)o(y)e Fs(char-)0 962 +y(code)i Fw(are)h(non-negativ)o(e)g(and)f(strictly)i(less)f(than)g(the) +h(v)n(alue)e(of)g Fs(char-code-limit)p Fw(.)42 1014 y(Comm)o(on)18 +b(Lisp)i(do)q(es)h(not)f(at)g(presen)o(t)i(explicitly)e(guaran)o(tee)g +(that)h(all)e(in)o(tegers)-33 986 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1066 a(b)q(et)o(w)o(een)g(zero)g(and)e(the)i(v)n(alue)e +(of)g Fs(char-code-limit)e Fw(are)j(v)n(alid)e(c)o(haracter)j(co)q +(des,)0 1118 y(and)14 b(so)g(it)g(is)g(wise)g(in)g(an)o(y)g(case)h(for) +f(the)h(programmer)c(to)j(assume)g(that)g(the)h(space)g(of)0 +1170 y(assigned)f(c)o(haracter)h(co)q(des)h(ma)o(y)11 +b(b)q(e)k(sparse.)-33 1181 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1204 1293 a([)p Fv(Constant)t Fw(])-1395 +b Fs(char-font-limit)-38 1268 y Fk(.)-38 1281 y(.)-38 +1294 y(.)-38 1307 y(.)-38 1320 y(.)-38 1333 y(.)-38 1346 +y(.)-38 1359 y(.)-38 1372 y(.)-38 1385 y(.)-38 1398 y(.)-38 +1411 y(.)-38 1424 y(.)-38 1437 y(.)-38 1450 y(.)-38 1463 +y(.)-38 1476 y(.)-38 1489 y(.)-38 1502 y(.)-38 1515 y(.)-38 +1528 y(.)-38 1541 y(.)-38 1554 y(.)-38 1567 y(.)-38 1580 +y(.)-38 1593 y(.)-38 1605 y(.)-38 1618 y(.)-38 1631 y(.)-38 +1644 y(.)-38 1657 y(.)-38 1670 y(.)-38 1683 y(.)-38 1696 +y(.)-38 1709 y(.)-38 1722 y(.)-38 1735 y(.)-38 1748 y(.)-38 +1761 y(.)-38 1774 y(.)-38 1787 y(.)-38 1800 y(.)-38 1813 +y(.)-38 1826 y(.)-38 1839 y(.)-38 1852 y(.)-38 1865 y(.)-38 +1878 y(.)-38 1891 y(.)-38 1904 y(.)-38 1917 y(.)-38 1930 +y(.)-38 1943 y(.)-38 1956 y(.)-38 1969 y(.)-38 1982 y(.)-38 +1995 y(.)-38 2008 y(.)-38 2021 y(.)-38 2034 y(.)-38 2047 +y(.)-38 2060 y(.)-38 2072 y(.)-38 2085 y(.)-38 2098 y(.)-38 +2111 y(.)-38 2124 y(.)-38 2137 y(.)-38 2150 y(.)-38 2163 +y(.)-38 2176 y(.)-38 2189 y(.)-38 2202 y(.)-38 2215 y(.)-38 +2228 y(.)-38 2241 y(.)-38 2254 y(.)-38 2267 y(.)-38 2280 +y(.)-38 2293 y(.)-38 2306 y(.)-38 2319 y(.)-38 2332 y(.)-38 +2345 y(.)-38 2358 y(.)-38 2371 y(.)-38 2384 y(.)-38 2397 +y(.)-38 2410 y(.)-38 2423 y(.)-38 2436 y(.)-38 2449 y(.)-38 +2462 y(.)-38 2475 y(.)-38 2488 y(.)-38 2501 y(.)-38 2514 +y(.)-38 2527 y(.)-38 2539 y(.)-38 2552 y(.)-38 2565 y(.)-38 +2578 y(.)-38 2591 y(.)-38 2604 y(.)-38 2617 y(.)-38 2630 +y(.)-38 2643 y(.)-38 2656 y(.)-38 2669 y(.)-38 2682 y(.)-38 +2695 y(.)-38 2708 y(.)-38 2721 y(.)-38 2734 y(.)-38 2747 +y(.)-38 2760 y(.)-38 2773 y(.)-38 2786 y(.)-38 2799 y(.)-38 +2812 y(.)-38 2825 y(.)-38 2838 y(.)-38 2851 y(.)-38 2864 +y(.)-38 2877 y(.)-38 2890 y(.)-38 2903 y(.)-38 2916 y(.)-38 +2929 y(.)-38 2942 y(.)-38 2955 y(.)-38 2968 y(.)-38 2981 +y(.)-38 2994 y(.)-38 3006 y(.)-38 3019 y(.)-38 3032 y(.)-38 +3045 y(.)-38 3058 y(.)-38 3071 y(.)-38 3084 y(.)-38 3097 +y(.)-38 3110 y(.)-38 3123 y(.)-38 3136 y(.)-38 3149 y(.)-38 +3162 y(.)-38 3175 y(.)-38 3188 y(.)-38 3201 y(.)-38 3214 +y(.)-38 3227 y(.)-38 3240 y(.)-38 3253 y(.)-38 3266 y(.)-38 +3279 y(.)-38 3292 y(.)-38 3305 y(.)-38 3318 y(.)-38 3331 +y(.)-38 3344 y(.)-38 3357 y(.)-38 3370 y(.)-38 3383 y(.)-38 +3396 y(.)-38 3409 y(.)-38 3422 y(.)-38 3435 y(.)-38 3448 +y(.)-38 3461 y(.)-38 3473 y(.)-38 3486 y(.)-38 3499 y(.)-38 +3512 y(.)-38 3525 y(.)-38 3538 y(.)-38 3551 y(.)-38 3564 +y(.)-38 3577 y(.)-38 3590 y(.)-38 3603 y(.)-38 3616 y(.)-38 +3629 y(.)-38 3642 y(.)-38 3655 y(.)-38 3668 y(.)-38 3681 +y(.)-38 3694 y(.)-38 3707 y(.)-38 3720 y(.)-38 3733 y(.)-38 +3746 y(.)-38 3759 y(.)-38 3772 y(.)-38 3785 y(.)-38 3798 +y(.)-38 3811 y(.)-38 3824 y(.)-38 3837 y(.)-38 3850 y(.)0 +1370 y Fw(The)19 b(v)n(alue)e(of)h Fs(char-font-limit)d +Fw(is)j(a)g(non-negativ)o(e)g(in)o(teger)g(that)h(is)f(the)h(upp)q(er)0 +1422 y(exclusiv)o(e)11 b(b)q(ound)g(on)f(v)n(alues)h(pro)q(duced)h(b)o +(y)e(the)h(function)g Fs(char-font)p Fw(,)e(whic)o(h)h(returns)0 +1474 y(the)i Fv(font)g Fw(comp)q(onen)o(t)e(of)h(a)g(giv)o(en)g(c)o +(haracter;)i(that)f(is,)f(the)h(v)n(alues)f(returned)j(b)o(y)d +Fs(char-)0 1526 y(font)i Fw(are)h(non-negativ)o(e)g(and)f(strictly)i +(less)f(than)g(the)h(v)n(alue)e(of)g Fs(char-font-limit)p +Fw(.)p 0 1585 V 0 1646 a Fm(Implemen)o(tation)h(note:)20 +b FA(No)14 b(Common)g(Lisp)h(implemen)o(tation)j(is)d(required)g(to)f +(supp)q(ort)0 1691 y(non-zero)g(fon)o(t)f(attributes;)h(if)f(it)g(do)q +(es)h(not,)f(then)g Fj(char-font-l)o(im)o(it)c FA(should)15 +b(b)q(e)e Fj(1)p FA(.)p 0 1725 V -33 1736 a @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1817 a Fw(X3J13)g(v)o(oted)h(in)g(Marc)o(h)g(1989)f +Ft(h)p Fw(11)p Ft(i)g Fw(to)h(eliminate)e Fs(char-font-limit)p +Fw(.)-33 1789 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 42 1869 a(Exp)q(erience)i(has)f(sho)o(wn)g(that)g(n)o +(umeric)f(co)q(des)i(are)f(not)g(an)g(esp)q(ecially)g(con)o(v)o(enien)o +(t,)0 1921 y(let)18 b(alone)f(p)q(ortable,)h(represen)o(tation)h(for)f +(fon)o(t)f(information.)26 b(A)18 b(system)g(based)g(on)0 +1973 y(t)o(yp)q(eface)11 b(names,)e(t)o(yp)q(e)h(st)o(yles,)h(and)e(p)q +(oin)o(t)h(sizes)h(w)o(ould)d(b)q(e)j(m)o(uc)o(h)d(b)q(etter.)19 +b(\(Macin)o(tosh)0 2025 y(soft)o(w)o(are)14 b(dev)o(elop)q(ers)i(made)d +(the)i(same)f(disco)o(v)o(ery)g(and)h(ha)o(v)o(e)f(recen)o(tly)h(con)o +(v)o(erted)h(to)0 2077 y(a)e(new)g(fon)o(t)f(iden)o(ti\014cation)g(sc)o +(heme.\))-33 2088 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1204 2200 a([)p Fv(Constant)t Fw(])-1395 +b Fs(char-bits-limit)-38 2175 y Fk(.)-38 2188 y(.)-38 +2201 y(.)-38 2214 y(.)-38 2227 y(.)-38 2240 y(.)-38 2253 +y(.)-38 2266 y(.)-38 2279 y(.)-38 2292 y(.)-38 2305 y(.)-38 +2318 y(.)-38 2331 y(.)-38 2344 y(.)-38 2357 y(.)-38 2370 +y(.)-38 2383 y(.)-38 2396 y(.)-38 2409 y(.)-38 2422 y(.)-38 +2435 y(.)-38 2447 y(.)-38 2460 y(.)-38 2473 y(.)-38 2486 +y(.)-38 2499 y(.)-38 2512 y(.)-38 2525 y(.)-38 2538 y(.)-38 +2551 y(.)-38 2564 y(.)-38 2577 y(.)-38 2590 y(.)-38 2603 +y(.)-38 2616 y(.)-38 2629 y(.)-38 2642 y(.)-38 2655 y(.)-38 +2668 y(.)-38 2681 y(.)-38 2694 y(.)-38 2707 y(.)-38 2720 +y(.)-38 2733 y(.)-38 2746 y(.)-38 2759 y(.)-38 2772 y(.)-38 +2785 y(.)-38 2798 y(.)-38 2811 y(.)-38 2824 y(.)-38 2837 +y(.)-38 2850 y(.)-38 2863 y(.)-38 2876 y(.)-38 2889 y(.)-38 +2902 y(.)-38 2914 y(.)-38 2927 y(.)-38 2940 y(.)-38 2953 +y(.)-38 2966 y(.)-38 2979 y(.)-38 2992 y(.)-38 3005 y(.)-38 +3018 y(.)-38 3031 y(.)-38 3044 y(.)-38 3057 y(.)-38 3070 +y(.)-38 3083 y(.)-38 3096 y(.)-38 3109 y(.)-38 3122 y(.)-38 +3135 y(.)-38 3148 y(.)-38 3161 y(.)-38 3174 y(.)-38 3187 +y(.)-38 3200 y(.)-38 3213 y(.)-38 3226 y(.)-38 3239 y(.)-38 +3252 y(.)-38 3265 y(.)-38 3278 y(.)-38 3291 y(.)-38 3304 +y(.)-38 3317 y(.)-38 3330 y(.)-38 3343 y(.)-38 3356 y(.)-38 +3369 y(.)-38 3381 y(.)-38 3394 y(.)-38 3407 y(.)-38 3420 +y(.)-38 3433 y(.)-38 3446 y(.)-38 3459 y(.)-38 3472 y(.)-38 +3485 y(.)-38 3498 y(.)-38 3511 y(.)-38 3524 y(.)-38 3537 +y(.)-38 3550 y(.)-38 3563 y(.)-38 3576 y(.)-38 3589 y(.)-38 +3602 y(.)-38 3615 y(.)-38 3628 y(.)-38 3641 y(.)-38 3654 +y(.)-38 3667 y(.)-38 3680 y(.)-38 3693 y(.)-38 3706 y(.)-38 +3719 y(.)-38 3732 y(.)-38 3745 y(.)-38 3758 y(.)-38 3771 +y(.)-38 3784 y(.)-38 3797 y(.)-38 3810 y(.)-38 3823 y(.)-38 +3836 y(.)-38 3848 y(.)-38 3861 y(.)-38 3874 y(.)-38 3887 +y(.)-38 3900 y(.)-38 3913 y(.)-38 3926 y(.)-38 3939 y(.)-38 +3952 y(.)-38 3965 y(.)-38 3978 y(.)-38 3991 y(.)-38 4004 +y(.)-38 4017 y(.)-38 4030 y(.)-38 4043 y(.)-38 4056 y(.)-38 +4069 y(.)-38 4082 y(.)-38 4095 y(.)-38 4108 y(.)-38 4121 +y(.)-38 4134 y(.)-38 4147 y(.)-38 4160 y(.)-38 4173 y(.)-38 +4186 y(.)-38 4199 y(.)-38 4212 y(.)-38 4225 y(.)-38 4238 +y(.)-38 4251 y(.)-38 4264 y(.)-38 4277 y(.)-38 4290 y(.)-38 +4303 y(.)-38 4315 y(.)-38 4328 y(.)-38 4341 y(.)-38 4354 +y(.)-38 4367 y(.)-38 4380 y(.)-38 4393 y(.)-38 4406 y(.)-38 +4419 y(.)-38 4432 y(.)-38 4445 y(.)-38 4458 y(.)-38 4471 +y(.)-38 4484 y(.)-38 4497 y(.)-38 4510 y(.)-38 4523 y(.)-38 +4536 y(.)-38 4549 y(.)-38 4562 y(.)-38 4575 y(.)-38 4588 +y(.)-38 4601 y(.)-38 4614 y(.)-38 4627 y(.)-38 4640 y(.)-38 +4653 y(.)-38 4666 y(.)-38 4679 y(.)-38 4692 y(.)-38 4705 +y(.)-38 4718 y(.)-38 4731 y(.)-38 4744 y(.)-38 4757 y(.)0 +2277 y Fw(The)19 b(v)n(alue)e(of)h Fs(char-bits-limit)d +Fw(is)j(a)g(non-negativ)o(e)g(in)o(teger)g(that)h(is)f(the)h(upp)q(er)0 +2329 y(exclusiv)o(e)11 b(b)q(ound)g(on)f(v)n(alues)h(pro)q(duced)h(b)o +(y)e(the)h(function)g Fs(char-bits)p Fw(,)e(whic)o(h)h(returns)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 403 427 +403 426 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(CHARA)o(CTERS)1089 b(403)0 295 y Fw(the)13 b +Fv(bits)e Fw(comp)q(onen)o(t)h(of)f(a)h(giv)o(en)g(c)o(haracter;)h +(that)g(is,)e(the)i(v)n(alues)f(returned)i(b)o(y)e Fs(char-)0 +347 y(bits)j Fw(are)h(non-negativ)o(e)g(and)f(strictly)h(less)h(than)f +(the)g(v)n(alue)f(of)g Fs(char-bits-limit)p Fw(.)0 399 +y(Note)f(that)g(the)h(v)n(alue)e(of)g Fs(char-bits-limit)e +Fw(will)h(b)q(e)j(a)f(p)q(o)o(w)o(er)g(of)f(2.)p 0 458 +V 0 519 a Fm(Implemen)o(tation)h(note:)20 b FA(No)14 +b(Common)g(Lisp)h(implemen)o(tation)j(is)d(required)g(to)f(supp)q(ort)0 +564 y(non-zero)g(bits)g(attributes;)g(if)f(it)g(do)q(es)h(not,)f(then)g +Fj(char-bits-)o(lim)o(it)c FA(should)15 b(b)q(e)e Fj(1)p +FA(.)p 0 599 V -33 610 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 694 a Fw(X3J13)g(v)o(oted)h(in)g(Marc)o(h)g(1989)f +Ft(h)p Fw(11)p Ft(i)g Fw(to)h(eliminate)e Fs(char-bits-limit)p +Fw(.)-33 666 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 846 a Fo(13.2.)20 b(Predicates)14 b(on)h(Characters)0 +931 y Fw(The)d(predicate)g Fs(characterp)d Fw(ma)o(y)h(b)q(e)i(used)g +(to)f(determine)g(whether)i(an)o(y)e(Lisp)g(ob)r(ject)0 +983 y(is)j(a)f(c)o(haracter)j(ob)r(ject.)1209 1112 y([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(standard-char-p)18 b +Fv(char)0 1189 y Fw(The)e(argumen)o(t)e Fv(char)h Fw(m)o(ust)g(b)q(e)h +(a)f(c)o(haracter)i(ob)r(ject.)23 b Fs(standard-char-p)12 +b Fw(is)j(true)i(if)0 1241 y(the)d(argumen)o(t)e(is)g(a)h(\\standard)g +(c)o(haracter,")h(that)f(is,)g(an)g(ob)r(ject)h(of)e(t)o(yp)q(e)i +Fs(standard-)0 1293 y(char)p Fw(.)42 1345 y(Note)21 b(that)h(an)o(y)f +(c)o(haracter)i(with)e(a)g(non-zero)h(bits)f(or)h(fon)o(t)f(attribute)h +(is)f(non-)0 1397 y(standard.)1209 1525 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(graphic-char-p)18 b Fv(char)0 1602 y +Fw(The)12 b(argumen)o(t)e Fv(char)h Fw(m)o(ust)f(b)q(e)i(a)f(c)o +(haracter)h(ob)r(ject.)18 b Fs(graphic-char-p)9 b Fw(is)i(true)h(if)e +(the)0 1654 y(argumen)o(t)h(is)g(a)g(\\graphic")g(\(prin)o(ting\))h(c)o +(haracter,)h(and)e(false)h(if)e(it)i(is)f(a)h(\\non-graphic")0 +1706 y(\(formatting)d(or)j(con)o(trol\))f(c)o(haracter.)18 +b(Graphic)11 b(c)o(haracters)j(ha)o(v)o(e)d(a)g(standard)h(textual)0 +1758 y(represen)o(tation)i(as)e(a)f(single)h(glyph,)f(suc)o(h)i(as)f +Fs(A)g Fw(or)g Fs(*)g Fw(or)896 1754 y Fs(U)896 1762 +y(U)918 1758 y Fw(.)17 b(By)12 b(con)o(v)o(en)o(tion,)g(the)h(space)0 +1810 y(c)o(haracter)21 b(is)f(considered)h(to)e(b)q(e)i(graphic.)35 +b(Of)20 b(the)g(standard)g(c)o(haracters)i(all)d(but)0 +1862 y Fs(#)0 1858 y(-)0 1866 y(-)22 1862 y(\\Newline)14 +b Fw(are)i(graphic.)22 b(The)16 b(semi-standard)f(c)o(haracters)i +Fs(#)1007 1858 y(-)1007 1866 y(-)1029 1862 y(\\Backspace)p +Fw(,)c Fs(#)1274 1858 y(-)1274 1866 y(-)1296 1862 y(\\Tab)p +Fw(,)0 1914 y Fs(#)0 1910 y(-)0 1918 y(-)22 1914 y(\\Rubout)p +Fw(,)f Fs(#)200 1910 y(-)200 1918 y(-)222 1914 y(\\Linefeed)p +Fw(,)f Fs(#)443 1910 y(-)443 1918 y(-)465 1914 y(\\Return)p +Fw(,)h(and)h Fs(#)723 1910 y(-)723 1918 y(-)745 1914 +y(\\Page)g Fw(are)h(not)g(graphic.)42 1965 y(Programs)e(ma)o(y)f +(assume)i(that)h(graphic)f(c)o(haracters)i(of)e(fon)o(t)g(0)g(are)h +(all)e(of)h(the)h(same)0 2017 y(width)f(when)g(prin)o(ted,)g(for)f +(example,)f(for)i(purp)q(oses)h(of)e(columnar)f(formatting.)16 +b(\(This)0 2069 y(do)q(es)d(not)f(prohibit)g(the)g(use)h(of)f(a)g(v)n +(ariable-pitc)o(h)f(fon)o(t)g(as)i(fon)o(t)e(0,)h(but)g(merely)g +(implies)0 2121 y(that)g(ev)o(ery)g(implemen)o(tatio)o(n)d(of)i(Common) +d(Lisp)k(m)o(ust)e(pro)o(vide)i Fv(some)g Fw(mo)q(de)e(of)h(op)q(er-)0 +2173 y(ation)h(in)h(whic)o(h)g(fon)o(t)f(0)h(is)g(a)g(\014xed-pitc)o(h) +g(fon)o(t.\))k(P)o(ortable)d(programs)d(should)i(assume)0 +2225 y(that,)g(in)g(general,)g(non-graphic)h(c)o(haracters)h(and)e(c)o +(haracters)i(of)e(other)h(fon)o(ts)g(ma)o(y)d(b)q(e)0 +2277 y(of)i(v)n(arying)g(widths.)42 2329 y(An)o(y)g(c)o(haracter)j +(with)d(a)h(non-zero)g(bits)g(attribute)h(is)e(non-graphic.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 404 428 +404 427 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(404)77 b(COMMON)13 b(LISP)1209 295 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(string-char-p)18 b Fv(char)-38 +270 y Fk(.)-38 283 y(.)-38 296 y(.)-38 309 y(.)-38 322 +y(.)-38 335 y(.)-38 348 y(.)-38 361 y(.)-38 373 y(.)-38 +386 y(.)-38 399 y(.)-38 412 y(.)-38 425 y(.)-38 438 y(.)-38 +451 y(.)-38 464 y(.)-38 477 y(.)-38 490 y(.)-38 503 y(.)-38 +516 y(.)-38 529 y(.)-38 542 y(.)-38 555 y(.)-38 568 y(.)-38 +581 y(.)-38 594 y(.)-38 607 y(.)-38 620 y(.)-38 633 y(.)-38 +646 y(.)-38 659 y(.)-38 672 y(.)-38 685 y(.)-38 698 y(.)-38 +711 y(.)-38 724 y(.)-38 737 y(.)-38 750 y(.)-38 763 y(.)-38 +776 y(.)-38 789 y(.)-38 802 y(.)-38 815 y(.)-38 828 y(.)-38 +840 y(.)-38 853 y(.)-38 866 y(.)-38 879 y(.)-38 892 y(.)-38 +905 y(.)-38 918 y(.)-38 931 y(.)-38 944 y(.)-38 957 y(.)-38 +970 y(.)-38 983 y(.)-38 996 y(.)-38 1009 y(.)-38 1022 +y(.)-38 1035 y(.)-38 1048 y(.)-38 1061 y(.)-38 1074 y(.)-38 +1087 y(.)-38 1100 y(.)-38 1113 y(.)-38 1126 y(.)-38 1139 +y(.)-38 1152 y(.)-38 1165 y(.)-38 1178 y(.)-38 1191 y(.)-38 +1204 y(.)-38 1217 y(.)-38 1230 y(.)-38 1243 y(.)-38 1256 +y(.)-38 1269 y(.)-38 1282 y(.)-38 1295 y(.)-38 1307 y(.)-38 +1320 y(.)-38 1333 y(.)-38 1346 y(.)-38 1359 y(.)-38 1372 +y(.)-38 1385 y(.)-38 1398 y(.)-38 1411 y(.)-38 1424 y(.)-38 +1437 y(.)-38 1450 y(.)-38 1463 y(.)-38 1476 y(.)-38 1489 +y(.)-38 1502 y(.)-38 1515 y(.)-38 1528 y(.)-38 1541 y(.)-38 +1554 y(.)-38 1567 y(.)-38 1580 y(.)-38 1593 y(.)-38 1606 +y(.)-38 1619 y(.)-38 1632 y(.)-38 1645 y(.)-38 1658 y(.)-38 +1671 y(.)-38 1684 y(.)-38 1697 y(.)-38 1710 y(.)-38 1723 +y(.)-38 1736 y(.)-38 1749 y(.)-38 1762 y(.)-38 1774 y(.)-38 +1787 y(.)-38 1800 y(.)-38 1813 y(.)-38 1826 y(.)-38 1839 +y(.)-38 1852 y(.)-38 1865 y(.)-38 1878 y(.)-38 1891 y(.)-38 +1904 y(.)-38 1917 y(.)-38 1930 y(.)-38 1943 y(.)-38 1956 +y(.)-38 1969 y(.)-38 1982 y(.)-38 1995 y(.)-38 2008 y(.)-38 +2021 y(.)-38 2034 y(.)-38 2047 y(.)-38 2060 y(.)-38 2073 +y(.)-38 2086 y(.)-38 2099 y(.)-38 2112 y(.)-38 2125 y(.)-38 +2138 y(.)-38 2151 y(.)-38 2164 y(.)-38 2177 y(.)-38 2190 +y(.)-38 2203 y(.)-38 2216 y(.)-38 2229 y(.)-38 2241 y(.)-38 +2254 y(.)-38 2267 y(.)-38 2280 y(.)-38 2293 y(.)-38 2306 +y(.)-38 2319 y(.)-38 2332 y(.)-38 2345 y(.)-38 2358 y(.)-38 +2371 y(.)-38 2384 y(.)-38 2397 y(.)-38 2410 y(.)-38 2423 +y(.)-38 2436 y(.)-38 2449 y(.)-38 2462 y(.)-38 2475 y(.)-38 +2488 y(.)-38 2501 y(.)-38 2514 y(.)-38 2527 y(.)-38 2540 +y(.)-38 2553 y(.)-38 2566 y(.)-38 2579 y(.)-38 2592 y(.)-38 +2605 y(.)-38 2618 y(.)-38 2631 y(.)-38 2644 y(.)-38 2657 +y(.)-38 2670 y(.)-38 2683 y(.)-38 2696 y(.)-38 2708 y(.)-38 +2721 y(.)-38 2734 y(.)-38 2747 y(.)-38 2760 y(.)-38 2773 +y(.)-38 2786 y(.)-38 2799 y(.)-38 2812 y(.)-38 2825 y(.)-38 +2838 y(.)-38 2851 y(.)0 372 y Fw(The)12 b(argumen)o(t)e +Fv(char)h Fw(m)o(ust)f(b)q(e)i(a)f(c)o(haracter)i(ob)r(ject.)18 +b Fs(string-char-p)8 b Fw(is)j(true)h(if)f Fv(char)0 +423 y Fw(can)h(b)q(e)g(stored)h(in)o(to)e(a)g(string,)h(and)f +(otherwise)i(is)e(false.)17 b(An)o(y)12 b(c)o(haracter)h(that)f +(satis\014es)0 475 y Fs(standard-char-p)f Fw(also)i(satis\014es)i +Fs(string-char-p)p Fw(;)c(others)j(ma)o(y)e(also.)-33 +487 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 549 a(X3J13)h(v)o(oted)h(in)g(Marc)o(h)g(1989)f +Ft(h)p Fw(11)p Ft(i)g Fw(to)h(eliminate)e Fs(string-char-p)p +Fw(.)-33 521 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 668 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(alpha-char-p)19 b Fv(char)0 745 y Fw(The)c(argumen)o(t)f +Fv(char)h Fw(m)o(ust)f(b)q(e)h(a)g(c)o(haracter)h(ob)r(ject.)21 +b Fs(alpha-char-p)13 b Fw(is)h(true)i(if)e(the)0 797 +y(argumen)o(t)f(is)h(an)f(alphab)q(etic)h(c)o(haracter,)h(and)e +(otherwise)i(is)f(false.)42 848 y(If)20 b(a)g(c)o(haracter)i(is)e +(alphab)q(etic,)h(then)h(it)e(is)g(p)q(erforce)i(graphic.)37 +b(Therefore)22 b(an)o(y)0 900 y(c)o(haracter)e(with)e(a)h(non-zero)g +(bits)f(attribute)h(cannot)g(b)q(e)g(alphab)q(etic.)32 +b(Whether)20 b(a)0 952 y(c)o(haracter)15 b(is)f(alphab)q(etic)g(ma)o(y) +e(dep)q(end)j(on)f(its)f(fon)o(t)h(n)o(um)o(b)q(er.)42 +1004 y(Of)f(the)h(standard)g(c)o(haracters)h(\(as)f(de\014ned)g(b)o(y)f +Fs(standard-char-p)p Fw(\),)d(the)k(letters)h Fs(A)0 +1056 y Fw(through)f Fs(Z)g Fw(and)f Fs(a)h Fw(through)g +Fs(z)f Fw(are)i(alphab)q(etic.)1209 1175 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(upper-case-p)19 b Fv(char)1209 1226 y +Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(lower-case-p)19 +b Fv(char)1209 1278 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(both-case-p)19 b Fv(char)0 1355 y Fw(The)14 b(argumen)o(t)f +Fv(char)h Fw(m)o(ust)f(b)q(e)h(a)g(c)o(haracter)h(ob)r(ject.)42 +1407 y Fs(upper-case-p)d Fw(is)j(true)h(if)e(the)i(argumen)o(t)e(is)h +(an)g(upp)q(ercase)i(c)o(haracter,)f(and)f(oth-)0 1459 +y(erwise)g(is)f(false.)42 1511 y Fs(lower-case-p)e Fw(is)j(true)h(if)e +(the)h(argumen)o(t)f(is)h(a)g(lo)o(w)o(ercase)g(c)o(haracter,)h(and)f +(other-)0 1563 y(wise)f(is)g(false.)42 1615 y Fs(both-case-p)g +Fw(is)i(true)h(if)f(the)h(argumen)o(t)e(is)i(an)f(upp)q(ercase)i(c)o +(haracter)g(and)e(there)0 1666 y(is)h(a)g(corresp)q(onding)h(lo)o(w)o +(ercase)g(c)o(haracter)g(\(whic)o(h)f(can)g(b)q(e)h(obtained)f(using)g +Fs(char-)0 1718 y(downcase)p Fw(\),)d(or)i(if)f(the)h(argumen)o(t)f(is) +h(a)f(lo)o(w)o(ercase)i(c)o(haracter)g(and)e(there)j(is)d(a)h(corre-)0 +1770 y(sp)q(onding)e(upp)q(ercase)i(c)o(haracter)f(\(whic)o(h)f(can)g +(b)q(e)g(obtained)g(using)g Fs(char-upcase)p Fw(\).)42 +1822 y(If)h(a)g(c)o(haracter)i(is)f(either)g(upp)q(ercase)i(or)e(lo)o +(w)o(ercase,)g(it)f(is)h(necessarily)h(alphab)q(etic)0 +1874 y(\(and)e(therefore)i(is)e(graphic,)g(and)g(therefore)i(has)e(a)g +(zero)h(bits)f(attribute\).)23 b(Ho)o(w)o(ev)o(er,)0 +1926 y(it)12 b(is)h(p)q(ermissible)f(in)g(theory)h(for)f(an)h(alphab)q +(etic)f(c)o(haracter)i(to)f(b)q(e)g(neither)h(upp)q(ercase)0 +1978 y(nor)g(lo)o(w)o(ercase)g(\(in)g(a)g(non-Roman)d(fon)o(t,)i(for)g +(example\).)42 2030 y(Of)g(the)h(standard)g(c)o(haracters)h(\(as)f +(de\014ned)g(b)o(y)f Fs(standard-char-p)p Fw(\),)d(the)k(letters)h +Fs(A)0 2082 y Fw(through)f Fs(Z)g Fw(are)g(upp)q(ercase)i(and)d +Fs(a)h Fw(through)g Fs(z)g Fw(are)g(lo)o(w)o(ercase.)1209 +2200 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(digit-char-p)19 +b Fv(char)25 b Fs(&optional)20 b(\()p Fv(r)n(adix)25 +b Fs(10\))0 2277 y Fw(The)19 b(argumen)o(t)e Fv(char)h +Fw(m)o(ust)g(b)q(e)h(a)f(c)o(haracter)i(ob)r(ject,)f(and)g +Fv(r)n(adix)f Fw(m)o(ust)f(b)q(e)i(a)f(non-)0 2329 y(negativ)o(e)f(in)o +(teger.)27 b(If)17 b Fv(char)g Fw(is)f(not)h(a)g(digit)f(of)g(the)i +(radix)e(sp)q(eci\014ed)i(b)o(y)f Fv(r)n(adix)p Fw(,)g(then)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 405 429 +405 428 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CHARA)o(CTERS)1089 +b(405)0 295 y Fs(digit-char-p)11 b Fw(is)j(false;)f(otherwise)h(it)f +(returns)i(a)f(non-negativ)o(e)f(in)o(teger)h(that)g(is)f(the)0 +347 y(\\w)o(eigh)o(t")g(of)g Fv(char)h Fw(in)g(that)f(radix.)42 +402 y(Digits)f(are)j(necessarily)g(graphic)e(c)o(haracters.)42 +457 y(Of)c(the)h(standard)g(c)o(haracters)h(\(as)e(de\014ned)i(b)o(y)e +Fs(standard-char-p)p Fw(\),)e(the)j(c)o(haracters)0 509 +y Fs(0)g Fw(through)h Fs(9)p Fw(,)f Fs(A)g Fw(through)h +Fs(Z)p Fw(,)f(and)g Fs(a)g Fw(through)h Fs(z)f Fw(are)h(digits.)16 +b(The)11 b(w)o(eigh)o(ts)g(of)e Fs(0)i Fw(through)0 560 +y Fs(9)i Fw(are)h(the)g(in)o(tegers)g(0)f(through)g(9,)g(and)g(of)g +Fs(A)g Fw(through)g Fs(Z)h Fw(\(and)f(also)g Fs(a)g Fw(through)g +Fs(z)p Fw(\))g(are)0 612 y(10)f(through)g(35.)17 b Fs(digit-char-p)9 +b Fw(returns)14 b(the)e(w)o(eigh)o(t)g(for)g(one)g(of)g(these)h(digits) +f(if)f(and)0 664 y(only)j(if)f(its)i(w)o(eigh)o(t)f(is)g(strictly)h +(less)g(than)g Fv(r)n(adix)p Fw(.)20 b(Th)o(us,)14 b(for)g(example,)f +(the)i(digits)f(for)0 716 y(radix)f(16)h(are)0 832 y +Fs(0)21 b(1)g(2)g(3)g(4)g(5)g(6)g(7)g(8)g(9)g(A)g(B)g(C)g(D)f(E)h(F)42 +946 y Fw(Here)15 b(is)e(an)h(example)f(of)g(the)h(use)h(of)e +Fs(digit-char-p)p Fw(:)0 1062 y Fs(\(defun)20 b(convert-string-to)o +(-inte)o(ger)e(\(str)i(&optional)g(\(radix)g(10\)\))42 +1114 y("Given)g(a)h(digit)f(string)g(and)h(optional)e(radix,)h(return)g +(an)h(integer.")42 1166 y(\(do)g(\(\(j)f(0)h(\(+)g(j)g(1\)\))148 +1218 y(\(n)g(0)g(\(+)g(\(*)f(n)h(radix\))318 1270 y(\(or)f +(\(digit-char-p)f(\(char)h(str)g(j\))h(radix\))402 1321 +y(\(error)f("Bad)h(radix-)793 1325 y Fn(~)814 1321 y +Fs(D)g(digit:)1007 1325 y Fn(~)1031 1321 y Fs(C")550 +1373 y(radix)550 1425 y(\(char)g(str)f(j\)\)\)\)\)\))127 +1477 y(\(\()171 1473 y(U)171 1481 y(U)214 1477 y(j)h(\(length)e +(str\)\))h(n\)\)\))1209 1757 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(alphanumericp)18 b Fv(char)0 1837 y Fw(The)12 +b(argumen)o(t)e Fv(char)h Fw(m)o(ust)f(b)q(e)i(a)f(c)o(haracter)i(ob)r +(ject.)18 b Fs(alphanumericp)8 b Fw(is)j(true)h(if)f +Fv(char)0 1889 y Fw(is)j(either)g(alphab)q(etic)g(or)g(n)o(umeric.)j +(By)d(de\014nition,)0 2005 y Fs(\(alphanumericp)k(x\))64 +2057 y Ft(\021)j Fs(\(or)g(\(alpha-char-p)d(x\))j(\(not)f(\(null)g +(\(digit-char-p)f(x\)\)\)\))0 2170 y Fw(Alphan)o(umeric)13 +b(c)o(haracters)k(are)d(therefore)i(necessarily)g(graphic)e(\(as)h +(de\014ned)h(b)o(y)e(the)0 2222 y(predicate)h Fs(graphic-char-p)p +Fw(\).)42 2277 y(Of)9 b(the)h(standard)g(c)o(haracters)h(\(as)e +(de\014ned)i(b)o(y)e Fs(standard-char-p)p Fw(\),)e(the)j(c)o(haracters) +0 2329 y Fs(0)k Fw(through)g Fs(9)p Fw(,)f Fs(A)g Fw(through)h +Fs(Z)p Fw(,)f(and)h Fs(a)g Fw(through)g Fs(z)f Fw(are)i(alphan)o +(umeric.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 406 430 +406 429 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(406)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(char)88 291 y(U)88 299 y(U)130 295 y Fv(char)n(acter)25 +b Fs(&rest)c Fv(mor)n(e)p Fs(-)p Fv(char)n(acters)1209 +347 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(char/)110 +343 y(U)110 351 y(U)152 347 y Fv(char)n(acter)25 b Fs(&rest)20 +b Fv(mor)n(e)p Fs(-)p Fv(char)n(acters)1209 399 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(char<)20 b Fv(char)n(acter)25 +b Fs(&rest)c Fv(mor)n(e)p Fs(-)p Fv(char)n(acters)1209 +450 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(char>)20 +b Fv(char)n(acter)25 b Fs(&rest)c Fv(mor)n(e)p Fs(-)p +Fv(char)n(acters)1209 502 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(char<)110 498 y(U)110 506 y(U)152 502 y Fv(char)n(acter)25 +b Fs(&rest)20 b Fv(mor)n(e)p Fs(-)p Fv(char)n(acters)1209 +554 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(char>)110 +550 y(U)110 558 y(U)152 554 y Fv(char)n(acter)25 b Fs(&rest)20 +b Fv(mor)n(e)p Fs(-)p Fv(char)n(acters)0 631 y Fw(The)d(argumen)o(ts)e +(m)o(ust)g(all)g(b)q(e)i(c)o(haracter)h(ob)r(jects.)26 +b(These)17 b(functions)g(compare)e(the)0 683 y(ob)r(jects)h(using)f +(the)h(implemen)o(tation-dep)q(enden)o(t)e(total)g(ordering)h(on)g(c)o +(haracters,)i(in)0 735 y(a)d(manner)f(analogous)f(to)i(n)o(umeric)f +(comparisons)g(b)o(y)879 731 y Fs(U)879 739 y(U)914 735 +y Fw(and)h(related)g(functions.)42 787 y(The)g(total)g(ordering)g(on)g +(c)o(haracters)i(is)e(guaran)o(teed)h(to)f(ha)o(v)o(e)g(the)h(follo)o +(wing)d(prop-)0 839 y(erties:)0 900 y Fu(.)42 909 y Fw(The)i(standard)g +(alphan)o(umeric)e(c)o(haracters)j(ob)q(ey)f(the)g(follo)o(wing)d +(partial)i(ordering:)42 991 y Fs(A)p Fw(,)e Fs(char<)1096 2191 y(U)1096 +2199 y(U)1117 2195 y Fw(,)h(and)h Fs(char>)1333 2191 +y(U)1333 2199 y(U)1354 2195 y Fw(.)0 2268 y Fu(.)42 2277 +y Fw(If)f(t)o(w)o(o)h(c)o(haracters)h(di\013er)g(in)e(an)o(y)h +(implemen)o(tatio)o(n-de\014ned)e(attribute,)j(then)f(they)42 +2329 y(are)g(not)g Fs(char)273 2325 y(U)273 2333 y(U)294 +2329 y Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 407 431 +407 430 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CHARA)o(CTERS)1089 +b(407)-33 306 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 370 a Fw(The)14 b(total)g(ordering)g(is)h(not)f +(necessarily)h(the)g(same)f(as)g(the)h(total)f(ordering)g(on)g(the)0 +422 y(in)o(tegers)k(pro)q(duced)g(b)o(y)e(applying)g +Fs(char-int)f Fw(to)h(the)i(c)o(haracters)g(\(although)e(it)g(is)h(a)0 +474 y(reasonable)d(implemen)o(tation)d(tec)o(hnique)j(to)g(use)h(that)f +(ordering\).)42 526 y(While)d(alphab)q(etic)i(c)o(haracters)i(of)d(a)g +(giv)o(en)g(case)i(m)o(ust)e(b)q(e)h(prop)q(erly)g(ordered,)h(they)0 +578 y(need)i(not)g(b)q(e)g(con)o(tiguous;)f(th)o(us)h +Fs(\(char<)677 574 y(U)677 582 y(U)718 578 y(#)718 574 +y(-)718 582 y(-)740 578 y(\\a)21 b(x)g(#)848 574 y(-)848 +582 y(-)870 578 y(\\z\))14 b Fw(is)i Fv(not)f Fw(a)g(v)n(alid)f(w)o(a)o +(y)h(of)f(de-)0 630 y(termining)k(whether)i(or)g(not)f +Fs(x)g Fw(is)g(a)g(lo)o(w)o(ercase)h(letter.)36 b(That)19 +b(is)g(wh)o(y)g(a)h(separate)0 682 y Fs(lower-case-p)11 +b Fw(predicate)k(is)f(pro)o(vided.)0 772 y Fs(\(char)110 +768 y(U)110 776 y(U)152 772 y(#)152 768 y(-)152 776 y(-)174 +772 y(\\d)20 b(#)238 768 y(-)238 776 y(-)260 772 y(\\d\))h +Fw(is)14 b(true.)0 824 y Fs(\(char/)132 820 y(U)132 828 +y(U)174 824 y(#)174 820 y(-)174 828 y(-)196 824 y(\\d)20 +b(#)260 820 y(-)260 828 y(-)282 824 y(\\d\))h Fw(is)13 +b(false.)0 876 y Fs(\(char)110 872 y(U)110 880 y(U)152 +876 y(#)152 872 y(-)152 880 y(-)174 876 y(\\d)20 b(#)238 +872 y(-)238 880 y(-)260 876 y(\\x\))h Fw(is)14 b(false.)0 +928 y Fs(\(char/)132 924 y(U)132 932 y(U)174 928 y(#)174 +924 y(-)174 932 y(-)196 928 y(\\d)20 b(#)260 924 y(-)260 +932 y(-)282 928 y(\\x\))h Fw(is)13 b(true.)0 980 y Fs(\(char)110 +976 y(U)110 984 y(U)152 980 y(#)152 976 y(-)152 984 y(-)174 +980 y(\\d)20 b(#)238 976 y(-)238 984 y(-)260 980 y(\\D\))h +Fw(is)14 b(false.)0 1032 y Fs(\(char/)132 1028 y(U)132 +1036 y(U)174 1032 y(#)174 1028 y(-)174 1036 y(-)196 1032 +y(\\d)20 b(#)260 1028 y(-)260 1036 y(-)282 1032 y(\\D\))h +Fw(is)13 b(true.)0 1083 y Fs(\(char)110 1079 y(U)110 +1087 y(U)152 1083 y(#)152 1079 y(-)152 1087 y(-)174 1083 +y(\\d)20 b(#)238 1079 y(-)238 1087 y(-)260 1083 y(\\d)h(#)325 +1079 y(-)325 1087 y(-)347 1083 y(\\d)g(#)412 1079 y(-)412 +1087 y(-)433 1083 y(\\d\))g Fw(is)14 b(true.)0 1135 y +Fs(\(char/)132 1131 y(U)132 1139 y(U)174 1135 y(#)174 +1131 y(-)174 1139 y(-)196 1135 y(\\d)20 b(#)260 1131 +y(-)260 1139 y(-)282 1135 y(\\d)h(#)347 1131 y(-)347 +1139 y(-)369 1135 y(\\d)f(#)433 1131 y(-)433 1139 y(-)455 +1135 y(\\d\))h Fw(is)13 b(false.)0 1187 y Fs(\(char)110 +1183 y(U)110 1191 y(U)152 1187 y(#)152 1183 y(-)152 1191 +y(-)174 1187 y(\\d)20 b(#)238 1183 y(-)238 1191 y(-)260 +1187 y(\\d)h(#)325 1183 y(-)325 1191 y(-)347 1187 y(\\x)g(#)412 +1183 y(-)412 1191 y(-)433 1187 y(\\d\))g Fw(is)14 b(false.)0 +1239 y Fs(\(char/)132 1235 y(U)132 1243 y(U)174 1239 +y(#)174 1235 y(-)174 1243 y(-)196 1239 y(\\d)20 b(#)260 +1235 y(-)260 1243 y(-)282 1239 y(\\d)h(#)347 1235 y(-)347 +1243 y(-)369 1239 y(\\x)f(#)433 1235 y(-)433 1243 y(-)455 +1239 y(\\d\))h Fw(is)13 b(false.)0 1291 y Fs(\(char)110 +1287 y(U)110 1295 y(U)152 1291 y(#)152 1287 y(-)152 1295 +y(-)174 1291 y(\\d)20 b(#)238 1287 y(-)238 1295 y(-)260 +1291 y(\\y)h(#)325 1287 y(-)325 1295 y(-)347 1291 y(\\x)g(#)412 +1287 y(-)412 1295 y(-)433 1291 y(\\c\))g Fw(is)14 b(false.)0 +1343 y Fs(\(char/)132 1339 y(U)132 1347 y(U)174 1343 +y(#)174 1339 y(-)174 1347 y(-)196 1343 y(\\d)20 b(#)260 +1339 y(-)260 1347 y(-)282 1343 y(\\y)h(#)347 1339 y(-)347 +1347 y(-)369 1343 y(\\x)f(#)433 1339 y(-)433 1347 y(-)455 +1343 y(\\c\))h Fw(is)13 b(true.)0 1395 y Fs(\(char)110 +1391 y(U)110 1399 y(U)152 1395 y(#)152 1391 y(-)152 1399 +y(-)174 1395 y(\\d)20 b(#)238 1391 y(-)238 1399 y(-)260 +1395 y(\\c)h(#)325 1391 y(-)325 1399 y(-)347 1395 y(\\d\))f +Fw(is)14 b(false.)0 1447 y Fs(\(char/)132 1443 y(U)132 +1451 y(U)174 1447 y(#)174 1443 y(-)174 1451 y(-)196 1447 +y(\\d)20 b(#)260 1443 y(-)260 1451 y(-)282 1447 y(\\c)h(#)347 +1443 y(-)347 1451 y(-)369 1447 y(\\d\))f Fw(is)14 b(false.)0 +1499 y Fs(\(char<)20 b(#)152 1495 y(-)152 1503 y(-)174 +1499 y(\\d)g(#)238 1495 y(-)238 1503 y(-)260 1499 y(\\x\))h +Fw(is)14 b(true.)0 1550 y Fs(\(char<)132 1546 y(U)132 +1554 y(U)174 1550 y(#)174 1546 y(-)174 1554 y(-)196 1550 +y(\\d)20 b(#)260 1546 y(-)260 1554 y(-)282 1550 y(\\x\))h +Fw(is)13 b(true.)0 1602 y Fs(\(char<)20 b(#)152 1598 +y(-)152 1606 y(-)174 1602 y(\\d)g(#)238 1598 y(-)238 +1606 y(-)260 1602 y(\\d\))h Fw(is)14 b(false.)0 1654 +y Fs(\(char<)132 1650 y(U)132 1658 y(U)174 1654 y(#)174 +1650 y(-)174 1658 y(-)196 1654 y(\\d)20 b(#)260 1650 +y(-)260 1658 y(-)282 1654 y(\\d\))h Fw(is)13 b(true.)0 +1706 y Fs(\(char<)20 b(#)152 1702 y(-)152 1710 y(-)174 +1706 y(\\a)g(#)238 1702 y(-)238 1710 y(-)260 1706 y(\\e)h(#)325 +1702 y(-)325 1710 y(-)347 1706 y(\\y)g(#)412 1702 y(-)412 +1710 y(-)433 1706 y(\\z\))g Fw(is)14 b(true.)0 1758 y +Fs(\(char<)132 1754 y(U)132 1762 y(U)174 1758 y(#)174 +1754 y(-)174 1762 y(-)196 1758 y(\\a)20 b(#)260 1754 +y(-)260 1762 y(-)282 1758 y(\\e)h(#)347 1754 y(-)347 +1762 y(-)369 1758 y(\\y)f(#)433 1754 y(-)433 1762 y(-)455 +1758 y(\\z\))h Fw(is)13 b(true.)0 1810 y Fs(\(char<)20 +b(#)152 1806 y(-)152 1814 y(-)174 1810 y(\\a)g(#)238 +1806 y(-)238 1814 y(-)260 1810 y(\\e)h(#)325 1806 y(-)325 +1814 y(-)347 1810 y(\\e)g(#)412 1806 y(-)412 1814 y(-)433 +1810 y(\\y\))g Fw(is)14 b(false.)0 1862 y Fs(\(char<)132 +1858 y(U)132 1866 y(U)174 1862 y(#)174 1858 y(-)174 1866 +y(-)196 1862 y(\\a)20 b(#)260 1858 y(-)260 1866 y(-)282 +1862 y(\\e)h(#)347 1858 y(-)347 1866 y(-)369 1862 y(\\e)f(#)433 +1858 y(-)433 1866 y(-)455 1862 y(\\y\))h Fw(is)13 b(true.)0 +1914 y Fs(\(char>)20 b(#)152 1910 y(-)152 1918 y(-)174 +1914 y(\\e)g(#)238 1910 y(-)238 1918 y(-)260 1914 y(\\d\))h +Fw(is)14 b(true.)0 1966 y Fs(\(char>)132 1962 y(U)132 +1970 y(U)174 1966 y(#)174 1962 y(-)174 1970 y(-)196 1966 +y(\\e)20 b(#)260 1962 y(-)260 1970 y(-)282 1966 y(\\d\))h +Fw(is)13 b(true.)0 2017 y Fs(\(char>)20 b(#)152 2013 +y(-)152 2021 y(-)174 2017 y(\\d)g(#)238 2013 y(-)238 +2021 y(-)260 2017 y(\\c)h(#)325 2013 y(-)325 2021 y(-)347 +2017 y(\\b)g(#)412 2013 y(-)412 2021 y(-)433 2017 y(\\a\))g +Fw(is)14 b(true.)0 2069 y Fs(\(char>)132 2065 y(U)132 +2073 y(U)174 2069 y(#)174 2065 y(-)174 2073 y(-)196 2069 +y(\\d)20 b(#)260 2065 y(-)260 2073 y(-)282 2069 y(\\c)h(#)347 +2065 y(-)347 2073 y(-)369 2069 y(\\b)f(#)433 2065 y(-)433 +2073 y(-)455 2069 y(\\a\))h Fw(is)13 b(true.)0 2121 y +Fs(\(char>)20 b(#)152 2117 y(-)152 2125 y(-)174 2121 +y(\\d)g(#)238 2117 y(-)238 2125 y(-)260 2121 y(\\d)h(#)325 +2117 y(-)325 2125 y(-)347 2121 y(\\c)g(#)412 2117 y(-)412 +2125 y(-)433 2121 y(\\a\))g Fw(is)14 b(false.)0 2173 +y Fs(\(char>)132 2169 y(U)132 2177 y(U)174 2173 y(#)174 +2169 y(-)174 2177 y(-)196 2173 y(\\d)20 b(#)260 2169 +y(-)260 2177 y(-)282 2173 y(\\d)h(#)347 2169 y(-)347 +2177 y(-)369 2173 y(\\c)f(#)433 2169 y(-)433 2177 y(-)455 +2173 y(\\a\))h Fw(is)13 b(true.)0 2225 y Fs(\(char>)20 +b(#)152 2221 y(-)152 2229 y(-)174 2225 y(\\e)g(#)238 +2221 y(-)238 2229 y(-)260 2225 y(\\d)h(#)325 2221 y(-)325 +2229 y(-)347 2225 y(\\b)g(#)412 2221 y(-)412 2229 y(-)433 +2225 y(\\c)g(#)498 2221 y(-)498 2229 y(-)520 2225 y(\\a\))f +Fw(is)14 b(false.)0 2277 y Fs(\(char>)132 2273 y(U)132 +2281 y(U)174 2277 y(#)174 2273 y(-)174 2281 y(-)196 2277 +y(\\e)20 b(#)260 2273 y(-)260 2281 y(-)282 2277 y(\\d)h(#)347 +2273 y(-)347 2281 y(-)369 2277 y(\\b)f(#)433 2273 y(-)433 +2281 y(-)455 2277 y(\\c)h(#)520 2273 y(-)520 2281 y(-)542 +2277 y(\\a\))f Fw(is)14 b(false.)0 2329 y Fs(\(char>)20 +b(#)152 2325 y(-)152 2333 y(-)174 2329 y(\\z)g(#)238 +2325 y(-)238 2333 y(-)260 2329 y(\\A\))h Fw(ma)o(y)12 +b(b)q(e)i(true)h(or)f(false.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 408 432 +408 431 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(408)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(char>)20 b(#)152 291 y(-)152 299 +y(-)174 295 y(\\Z)g(#)238 291 y(-)238 299 y(-)260 295 +y(\\a\))h Fw(ma)o(y)12 b(b)q(e)i(true)h(or)f(false.)42 +398 y(There)i(is)g(no)g(requiremen)o(t)f(that)h Fs(\(eq)21 +b(c1)f(c2\))c Fw(b)q(e)g(true)h(merely)e(b)q(ecause)i +Fs(\(char)1374 394 y(U)1374 402 y(U)0 450 y(c1)k(c2\))15 +b Fw(is)h(true.)25 b(While)15 b Fs(eq)g Fw(ma)o(y)f(distinguish)h(t)o +(w)o(o)h(c)o(haracter)h(ob)r(jects)g(that)f Fs(char)1374 +446 y(U)1374 454 y(U)0 502 y Fw(do)q(es)i(not,)g(it)f(is)g +(distinguishing)f(them)h(not)g(as)h Fv(char)n(acters)p +Fw(,)f(but)g(in)g(some)g(sense)i(on)0 554 y(the)13 b(basis)g(of)e(a)i +(lo)o(w)o(er-lev)o(el)e(implemen)o(tation)e(c)o(haracteristic.)19 +b(\(Of)12 b(course,)i(if)e Fs(\(eq)20 b(c1)0 606 y(c2\))14 +b Fw(is)h(true,)h(then)f(one)g(ma)o(y)e(exp)q(ect)k Fs(\(char)730 +602 y(U)730 610 y(U)772 606 y(c1)k(c2\))14 b Fw(to)h(b)q(e)g(true.\))22 +b(Ho)o(w)o(ev)o(er,)15 b Fs(eql)0 658 y Fw(and)f Fs(equal)f +Fw(compare)g(c)o(haracter)i(ob)r(jects)g(in)e(the)i(same)e(w)o(a)o(y)g +(that)h Fs(char)1179 654 y(U)1179 662 y(U)1214 658 y +Fw(do)q(es.)1209 884 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(char-equal)19 b Fv(char)n(acter)25 b Fs(&rest)20 +b Fv(mor)n(e)p Fs(-)p Fv(char)n(acters)1209 936 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(char-not-equal)18 b +Fv(char)n(acter)26 b Fs(&rest)20 b Fv(mor)n(e)p Fs(-)p +Fv(char)n(acters)1209 988 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(char-lessp)19 b Fv(char)n(acter)25 b Fs(&rest)20 +b Fv(mor)n(e)p Fs(-)p Fv(char)n(acters)1209 1040 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(char-greaterp)18 b Fv(char)n(acter)26 +b Fs(&rest)20 b Fv(mor)n(e)p Fs(-)p Fv(char)n(acters)1209 +1092 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(char-not-greaterp)18 +b Fv(char)n(acter)25 b Fs(&rest)20 b Fv(mor)n(e)p Fs(-)p +Fv(char)n(acters)1209 1144 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(char-not-lessp)18 b Fv(char)n(acter)26 +b Fs(&rest)20 b Fv(mor)n(e)p Fs(-)p Fv(char)n(acters)42 +1224 y Fw(The)c(predicate)i Fs(char-equal)c Fw(is)i(lik)o(e)g +Fs(char)757 1220 y(U)757 1228 y(U)777 1224 y Fw(,)h(and)f(similarly)d +(for)j(the)h(others,)h(ex-)-38 1199 y Fk(.)-38 1212 y(.)-38 +1225 y(.)-38 1238 y(.)-38 1251 y(.)-38 1264 y(.)-38 1277 +y(.)-38 1290 y(.)-38 1303 y(.)-38 1316 y(.)-38 1329 y(.)-38 +1342 y(.)-38 1355 y(.)-38 1368 y(.)-38 1381 y(.)-38 1394 +y(.)-38 1407 y(.)-38 1420 y(.)-38 1433 y(.)-38 1446 y(.)-38 +1459 y(.)-38 1472 y(.)-38 1485 y(.)-38 1498 y(.)-38 1511 +y(.)-38 1524 y(.)-38 1537 y(.)-38 1550 y(.)-38 1563 y(.)-38 +1576 y(.)-38 1589 y(.)-38 1602 y(.)-38 1615 y(.)-38 1627 +y(.)-38 1640 y(.)-38 1653 y(.)-38 1666 y(.)-38 1679 y(.)-38 +1692 y(.)-38 1705 y(.)-38 1718 y(.)-38 1731 y(.)-38 1744 +y(.)-38 1757 y(.)-38 1770 y(.)-38 1783 y(.)-38 1796 y(.)-38 +1809 y(.)-38 1822 y(.)-38 1835 y(.)-38 1848 y(.)-38 1861 +y(.)-38 1874 y(.)-38 1887 y(.)-38 1900 y(.)-38 1913 y(.)-38 +1926 y(.)-38 1939 y(.)-38 1952 y(.)-38 1965 y(.)-38 1978 +y(.)-38 1991 y(.)-38 2004 y(.)-38 2017 y(.)-38 2030 y(.)-38 +2043 y(.)-38 2056 y(.)-38 2069 y(.)-38 2082 y(.)-38 2094 +y(.)-38 2107 y(.)-38 2120 y(.)-38 2133 y(.)-38 2146 y(.)-38 +2159 y(.)-38 2172 y(.)-38 2185 y(.)-38 2198 y(.)-38 2211 +y(.)-38 2224 y(.)-38 2237 y(.)-38 2250 y(.)-38 2263 y(.)-38 +2276 y(.)-38 2289 y(.)-38 2302 y(.)-38 2315 y(.)-38 2328 +y(.)-38 2341 y(.)-38 2354 y(.)-38 2367 y(.)-38 2380 y(.)-38 +2393 y(.)-38 2406 y(.)-38 2419 y(.)-38 2432 y(.)-38 2445 +y(.)-38 2458 y(.)-38 2471 y(.)-38 2484 y(.)-38 2497 y(.)-38 +2510 y(.)-38 2523 y(.)-38 2536 y(.)-38 2549 y(.)-38 2561 +y(.)-38 2574 y(.)-38 2587 y(.)-38 2600 y(.)-38 2613 y(.)-38 +2626 y(.)-38 2639 y(.)-38 2652 y(.)-38 2665 y(.)-38 2678 +y(.)-38 2691 y(.)-38 2704 y(.)-38 2717 y(.)-38 2730 y(.)-38 +2743 y(.)-38 2756 y(.)-38 2769 y(.)-38 2782 y(.)-38 2795 +y(.)-38 2808 y(.)-38 2821 y(.)-38 2834 y(.)-38 2847 y(.)-38 +2860 y(.)-38 2873 y(.)-38 2886 y(.)-38 2899 y(.)-38 2912 +y(.)-38 2925 y(.)-38 2938 y(.)-38 2951 y(.)-38 2964 y(.)-38 +2977 y(.)-38 2990 y(.)-38 3003 y(.)-38 3016 y(.)-38 3028 +y(.)-38 3041 y(.)-38 3054 y(.)-38 3067 y(.)-38 3080 y(.)-38 +3093 y(.)-38 3106 y(.)-38 3119 y(.)-38 3132 y(.)-38 3145 +y(.)-38 3158 y(.)-38 3171 y(.)-38 3184 y(.)-38 3197 y(.)-38 +3210 y(.)-38 3223 y(.)-38 3236 y(.)-38 3249 y(.)-38 3262 +y(.)-38 3275 y(.)-38 3288 y(.)-38 3301 y(.)-38 3314 y(.)-38 +3327 y(.)-38 3340 y(.)-38 3353 y(.)-38 3366 y(.)-38 3379 +y(.)-38 3392 y(.)-38 3405 y(.)-38 3418 y(.)-38 3431 y(.)-38 +3444 y(.)-38 3457 y(.)-38 3470 y(.)-38 3483 y(.)-38 3495 +y(.)-38 3508 y(.)-38 3521 y(.)-38 3534 y(.)-38 3547 y(.)-38 +3560 y(.)-38 3573 y(.)-38 3586 y(.)-38 3599 y(.)-38 3612 +y(.)-38 3625 y(.)-38 3638 y(.)-38 3651 y(.)-38 3664 y(.)-38 +3677 y(.)-38 3690 y(.)-38 3703 y(.)-38 3716 y(.)-38 3729 +y(.)-38 3742 y(.)-38 3755 y(.)-38 3768 y(.)-38 3781 y(.)0 +1276 y Fw(cept)e(according)f(to)g(a)g(di\013eren)o(t)h(ordering)f(suc)o +(h)h(that)f(di\013erences)i(of)e(bits)g(attributes)0 +1328 y(and)24 b(case)h(are)f(ignored,)h(and)f(fon)o(t)f(information)e +(is)j(tak)o(en)g(in)o(to)f(accoun)o(t)i(in)e(an)0 1380 +y(implemen)o(tatio)o(n-dep)q(enden)o(t)13 b(manner.)-33 +1392 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1434 a(X3J13)19 b(v)o(oted)h(in)f(Marc)o(h)h(1989)f +Ft(h)p Fw(11)p Ft(i)h Fw(to)f(replace)i(the)g(notion)e(of)g(bits)h(and) +f(fon)o(t)-33 1406 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1486 a(attributes)c(with)g(that)f(of)g(implemen)o(tatio) +o(n-de\014ned)f(attributes.)21 b(The)15 b(e\013ect,)g(if)f(an)o(y)m(,)0 +1538 y(of)9 b(eac)o(h)h(suc)o(h)g(attribute)f(on)h(the)g(b)q(eha)o +(vior)f(of)f Fs(char-equal)p Fw(,)g Fs(char-not-equal)p +Fw(,)f Fs(char-)0 1590 y(lessp)p Fw(,)14 b Fs(char-greaterp)p +Fw(,)f Fs(char-not-greaterp)o Fw(,)g(and)i Fs(char-not-lessp)e +Fw(m)o(ust)h(b)q(e)0 1642 y(sp)q(eci\014ed)h(as)f(part)g(of)g(the)g +(de\014nition)g(of)f(that)h(attribute.)-33 1653 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1696 a(F)m(or)f(the)h(standard)g(c)o(haracters,)h(the)f +(ordering)f(is)h(suc)o(h)g(that)g Fs(A)1050 1692 y(U)1050 +1700 y(U)1071 1696 y(a)p Fw(,)f Fs(B)1140 1692 y(U)1140 +1700 y(U)1162 1696 y(b)p Fw(,)f(and)i(so)f(on,)0 1747 +y(up)h(to)g Fs(Z)133 1743 y(U)133 1751 y(U)154 1747 y(z)p +Fw(,)f(and)h(furthermore)g(either)h Fs(9)d Fv(end)5 b Fw(\).)16 b(They)11 b(indicate)e(the)i(subsequence) +h(starting)e(with)g(and)0 347 y Fv(including)h Fw(elemen)o(t)e +Fv(start)h Fw(and)f(up)i(to)f(but)g Fv(excluding)h Fw(elemen)o(t)f +Fv(end)p Fw(.)17 b(The)10 b(length)h(of)e(the)0 399 y(subsequence)k(is) +d(therefore)i Fv(end)7 b Ft(\000)r Fv(start)t Fw(.)17 +b(If)9 b Fv(start)h Fw(is)g(omitted,)f(it)h(defaults)h(to)f(zero;)i +(and)0 450 y(if)i Fv(end)h Fw(is)g(omitted)e(or)i Fs(nil)p +Fw(,)f(it)g(defaults)h(to)f(the)i(length)e(of)g(the)i(sequence.)22 +b(Therefore)0 502 y(if)12 b(b)q(oth)h Fv(start)f Fw(and)g +Fv(end)i Fw(are)f(omitted,)e(the)i(en)o(tire)h(sequence)g(is)f(pro)q +(cessed)i(b)o(y)e(default.)0 554 y(F)m(or)h(the)g(most)f(part,)g +(subsequence)k(sp)q(eci\014cation)e(is)e(p)q(ermitted)h(purely)g(for)g +(the)g(sak)o(e)0 606 y(of)e(e\016ciency;)i(one)f(could)f(simply)f(call) +h Fs(subseq)g Fw(instead)h(to)g(extract)h(the)f(subsequence)0 +658 y(b)q(efore)i(op)q(erating)g(on)f(it.)20 b(Note,)15 +b(ho)o(w)o(ev)o(er,)f(that)h(op)q(erations)g(that)g(calculate)f +(indices)0 710 y(return)h(indices)f(in)o(to)g(the)g(original)e +(sequence,)k(not)d(in)o(to)h(the)g(subsequence:)0 801 +y Fs(\(position)19 b(#)217 797 y(-)217 805 y(-)239 801 +y(\\b)i("foobar")e(:start)h(2)h(:end)g(5\))f Ft(\))h +Fs(3)0 853 y(\(position)e(#)217 849 y(-)217 857 y(-)239 +853 y(\\b)i(\(subseq)f("foobar")f(2)i(5\)\))g Ft(\))f +Fs(1)0 943 y Fw(If)15 b(t)o(w)o(o)f(sequences)k(are)d(in)o(v)o(olv)o +(ed,)f(then)i(the)f(k)o(eyw)o(ord)h(argumen)o(ts)e Fs(:start1)p +Fw(,)f Fs(:end1)p Fw(,)0 995 y Fs(:start2)p Fw(,)j(and)i +Fs(:end2)e Fw(are)i(used)g(to)g(sp)q(ecify)g(separate)g(subsequences)j +(for)c(eac)o(h)h(se-)0 1047 y(quence.)42 1099 y(X3J13)h(v)o(oted)h(in)g +(June)h(1988)e Ft(h)p Fw(170)p Ft(i)h Fw(\(and)g(further)h +(clari\014cation)e(w)o(as)h(v)o(oted)g(in)-33 1071 y +@beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1151 a(Jan)o(uary)14 b(1989)g Ft(h)p Fw(149)p +Ft(i)p Fw(\))g(to)h(sp)q(ecify)g(that)f(these)i(rules)f(apply)f(not)h +(only)e(to)i(all)e(built-in)0 1203 y(functions)j(that)g(ha)o(v)o(e)g(k) +o(eyw)o(ord)h(parameters)f(named)f Fs(:start)p Fw(,)g +Fs(:start1)p Fw(,)g Fs(:start2)p Fw(,)0 1255 y Fs(:end)p +Fw(,)10 b Fs(:end1)p Fw(,)h(or)g Fs(:end2)f Fw(but)i(also)e(to)h +(functions)h(suc)o(h)g(as)f Fs(subseq)f Fw(that)h(tak)o(e)h(required)0 +1307 y(or)i(optional)e(parameters)i(that)g(are)g(do)q(cumen)o(ted)g(as) +g(b)q(eing)g(named)f Fv(start)g Fw(or)h Fv(end)p Fw(.)0 +1374 y Fu(.)42 1383 y Fw(A)f(\\start")h(argumen)o(t)f(m)o(ust)g(alw)o +(a)o(ys)g(b)q(e)h(a)g(non-negativ)o(e)f(in)o(teger)h(and)g(defaults)g +(to)42 1434 y(zero)e(if)g(not)g(supplied;)g(it)f(is)h(not)g(p)q +(ermissible)g(to)f(pass)i Fs(nil)e Fw(as)h(a)g(\\start")g(argumen)o(t.) +0 1513 y Fu(.)42 1522 y Fw(An)17 b(\\end")g(argumen)o(t)f(m)o(ust)g(b)q +(e)h(either)h(a)f(non-negativ)o(e)g(in)o(teger)g(or)g +Fs(nil)g Fw(\(whic)o(h)42 1574 y(indicates)k(the)g(end)g(of)g(the)g +(sequence\))i(and)e(defaults)g(to)f Fs(nil)g Fw(if)g(not)h(supplied;)42 +1626 y(therefore)15 b(supplying)e Fs(nil)g Fw(is)h(equiv)n(alen)o(t)f +(to)h(not)g(supplying)f(suc)o(h)i(an)e(argumen)o(t.)0 +1705 y Fu(.)42 1714 y Fw(If)h(the)h(\\end")g(argumen)o(t)f(is)g(an)h +(in)o(teger,)g(it)f(m)o(ust)g(b)q(e)h(no)g(greater)h(than)e(the)i +(activ)o(e)42 1766 y(length)c(of)f(the)i(corresp)q(onding)g(sequence)h +(\(as)f(returned)h(b)o(y)e(the)g(function)g Fs(length)p +Fw(\).)0 1845 y Fu(.)42 1854 y Fw(The)i(default)f(v)n(alue)g(for)g(the) +i(\\end")e(argumen)o(t)g(is)h(the)g(activ)o(e)g(length)f(of)g(the)i +(corre-)42 1906 y(sp)q(onding)e(sequence.)0 1984 y Fu(.)42 +1993 y Fw(The)h(\\start")h(v)n(alue)e(\(after)i(defaulting,)e(if)g +(necessary\))j(m)o(ust)e(not)g(b)q(e)h(greater)g(than)42 +2045 y(the)f(corresp)q(onding)h(\\end")f(v)n(alue)f(\(after)h +(defaulting,)f(if)g(necessary\).)0 2121 y(This)19 b(ma)o(y)f(b)q(e)i +(summarized)d(as)j(follo)o(ws.)33 b(Let)20 b Fv(x)f Fw(b)q(e)i(the)f +(sequence)h(within)e(whic)o(h)0 2173 y(indices)14 b(are)f(to)g(b)q(e)h +(considered.)19 b(Let)14 b Fv(s)f Fw(b)q(e)h(the)f(\\start")h(argumen)o +(t)e(for)g(that)i(sequence)0 2225 y(of)i(an)o(y)h(standard)g(function,) +g(whether)h(explicitly)e(sp)q(eci\014ed)i(or)f(defaulted,)h(through)0 +2277 y(omission,)g(to)h(zero.)35 b(Let)20 b Fv(e)f Fw(b)q(e)h(the)g +(\\end")f(argumen)o(t)f(for)h(that)g(sequence)j(of)c(an)o(y)0 +2329 y(standard)12 b(function,)g(whether)h(explicitly)e(sp)q(eci\014ed) +j(or)e(defaulted,)g(through)g(omission)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 418 442 +418 441 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(418)77 b(COMMON)13 +b(LISP)0 295 y Fw(or)k(an)h(explicitly)e(passed)j Fs(nil)e +Fw(v)n(alue,)g(to)g(the)h(activ)o(e)g(length)f(of)g Fv(x)p +Fw(,)h(as)g(returned)h(b)o(y)0 347 y Fs(length)p Fw(.)e(Then)d(it)g(is) +f(an)h(error)h(if)e(the)h(test)h Fs(\(<)746 343 y(U)746 +351 y(U)789 347 y(0)21 b Fv(s)g(e)g Fs(\(length)f Fv(x)p +Fs(\)\))14 b Fw(is)f(not)h(true.)-33 358 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 399 a(F)m(or)k(some)f(functions,)j(notably)d +Fs(remove)h Fw(and)g Fs(delete)p Fw(,)g(the)h(k)o(eyw)o(ord)g(argumen)o +(t)0 451 y Fs(:count)9 b Fw(is)h(used)h(to)f(sp)q(ecify)g(ho)o(w)g(man) +o(y)e(o)q(ccurrences)13 b(of)d(the)g(item)f(should)h(b)q(e)h +(a\013ected.)0 503 y(If)j(this)f(is)h Fs(nil)f Fw(or)h(is)g(not)g +(supplied,)f(all)g(matc)o(hing)f(items)h(are)h(a\013ected.)42 +556 y(In)f(the)h(follo)o(wing)c(function)j(descriptions,)h(an)f(elemen) +o(t)g Fv(x)h Fw(of)e(a)h(sequence)j(\\satis\014es)0 608 +y(the)e(test")h(if)e(an)o(y)h(of)f(the)h(follo)o(wing)e(holds:)0 +678 y Fu(.)42 687 y Fw(A)g(basic)g(function)f(w)o(as)h(called,)g +Fv(testfn)f Fw(w)o(as)h(sp)q(eci\014ed)i(b)o(y)e(the)g(k)o(eyw)o(ord)g +Fs(:test)p Fw(,)f(and)42 739 y Fs(\(funcall)19 b Fv(testfn)i(item)g +Fs(\()p Fv(keyfn)g(x)p Fs(\)\))14 b Fw(is)f(true.)0 821 +y Fu(.)42 830 y Fw(A)e(basic)g(function)g(w)o(as)g(called,)g +Fv(testfn)g Fw(w)o(as)g(sp)q(eci\014ed)i(b)o(y)e(the)h(k)o(eyw)o(ord)f +Fs(:test-not)p Fw(,)42 882 y(and)i Fs(\(funcall)20 b +Fv(testfn)h(item)f Fs(\()p Fv(keyfn)i(x)p Fs(\)\))13 +b Fw(is)h(false.)0 964 y Fu(.)42 973 y Fw(An)g Fs(-if)f +Fw(function)g(w)o(as)h(called,)f(and)h Fs(\(funcall)20 +b Fv(pr)n(e)n(dic)n(ate)g Fs(\()p Fv(keyfn)i(x)p Fs(\)\))13 +b Fw(is)h(true.)0 1055 y Fu(.)42 1064 y Fw(An)20 b Fs(-if-not)g +Fw(function)g(w)o(as)h(called,)g(and)g Fs(\(funcall)e +Fv(pr)n(e)n(dic)n(ate)i Fs(\()p Fv(keyfn)g(x)p Fs(\)\))g +Fw(is)42 1115 y(false.)0 1195 y(In)d(eac)o(h)g(case)h +Fv(keyfn)f Fw(is)f(the)i(v)n(alue)e(of)g(the)h Fs(:key)f +Fw(k)o(eyw)o(ord)h(argumen)o(t)f(\(the)h(default)0 1247 +y(b)q(eing)c(the)g(iden)o(tit)o(y)g(function\).)k(See,)c(for)f +(example,)g Fs(remove)p Fw(.)42 1299 y(In)19 b(the)g(follo)o(wing)e +(function)h(descriptions,)j(t)o(w)o(o)e(elemen)o(ts)g +Fv(x)g Fw(and)g Fv(y)g Fw(tak)o(en)g(from)0 1351 y(sequences)d(\\matc)o +(h")d(if)g(either)h(of)g(the)g(follo)o(wing)d(holds:)0 +1422 y Fu(.)42 1430 y Fv(testfn)h Fw(w)o(as)g(sp)q(eci\014ed)i(b)o(y)f +(the)g(k)o(eyw)o(ord)f Fs(:test)p Fw(,)g(and)g Fs(\(funcall)19 +b Fv(testfn)i Fs(\()p Fv(keyfn)h(x)p Fs(\))42 1482 y(\()p +Fv(keyfn)f(y)p Fs(\)\))13 b Fw(is)h(true.)0 1564 y Fu(.)42 +1573 y Fv(testfn)9 b Fw(w)o(as)g(sp)q(eci\014ed)i(b)o(y)e(the)h(k)o +(eyw)o(ord)f Fs(:test-not)p Fw(,)f(and)h Fs(\(funcall)20 +b Fv(testfn)h Fs(\()p Fv(keyfn)42 1625 y(x)p Fs(\))g(\()p +Fv(keyfn)g(y)p Fs(\)\))14 b Fw(is)f(false.)0 1704 y(See,)h(for)g +(example,)e Fs(search)p Fw(.)42 1757 y(X3J13)g(v)o(oted)i(in)f(June)h +(1988)e Ft(h)p Fw(90)p Ft(i)h Fw(to)g(allo)o(w)e(the)j +Fv(testfn)f Fw(or)g Fs(predicate)f Fw(to)h(b)q(e)h(only)-33 +1729 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1809 a(of)d(t)o(yp)q(e)i Fs(symbol)e Fw(or)h +Fs(function)p Fw(;)e(a)i(lam)o(b)q(da-expression)e(is)i(no)g(longer)g +(acceptable)h(as)f(a)0 1861 y(functional)h(argumen)o(t.)18 +b(One)d(m)o(ust)f(use)h(the)g Fs(function)d Fw(sp)q(ecial)j(form)d(or)i +(the)h(abbre-)0 1913 y(viation)g Fs(#)142 1909 y(-)142 +1917 y(-)m Fn(')201 1913 y Fw(b)q(efore)h(a)g(lam)o(b)q(da-expression)f +(that)h(app)q(ears)h(as)f(an)f(explicit)h(argumen)o(t)0 +1965 y(form.)-33 1976 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2017 a(Y)m(ou)d(ma)o(y)g(dep)q(end)i(on)f(the)h(order)g +(in)f(whic)o(h)h(argumen)o(ts)e(are)i(giv)o(en)f(to)g +Fv(testfn)p Fw(;)g(this)0 2069 y(p)q(ermits)h(the)i(use)f(of)f +(non-comm)o(utativ)o(e)e(test)k(functions)f(in)f(a)h(predictable)g +(manner.)0 2121 y(The)e(order)g(of)f(the)h(argumen)o(ts)f(to)g +Fv(testfn)g Fw(corresp)q(onds)j(to)d(the)h(order)h(in)e(whic)o(h)g +(those)0 2173 y(argumen)o(ts)j(\(or)g(the)h(sequences)i(con)o(taining)c +(those)i(argumen)o(ts\))f(w)o(ere)h(giv)o(en)f(to)g(the)0 +2225 y(sequence)f(function)d(in)g(question.)18 b(If)12 +b(a)g(sequence)j(function)d(giv)o(es)g(t)o(w)o(o)g(elemen)o(ts)g(from)0 +2277 y(the)18 b(same)f(sequence)i(argumen)o(t)e(to)g +Fv(testfn)p Fw(,)g(they)h(are)g(giv)o(en)f(in)g(the)h(same)f(order)h +(in)0 2329 y(whic)o(h)c(they)g(app)q(ear)h(in)e(the)h(sequence.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 419 443 +419 442 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SEQUENCES)1120 +b(419)42 295 y Fw(Whenev)o(er)20 b(a)f(sequence)i(function)e(m)o(ust)f +(construct)j(and)e(return)i(a)e(new)g(v)o(ector,)0 347 +y(it)h(alw)o(a)o(ys)f(returns)j(a)e Fv(simple)g Fw(v)o(ector)h(\(see)g +(section)g(2.5\).)37 b(Similarly)l(,)18 b(an)o(y)i(strings)0 +399 y(constructed)c(will)c(b)q(e)j(simple)d(strings.)42 +452 y(X3J13)h(v)o(oted)g(in)g(Jan)o(uary)g(1989)f Ft(h)p +Fw(176)p Ft(i)h Fw(to)g Fv(depr)n(e)n(c)n(ate)h Fw(the)g(use)g(of)e +Fs(:test-not)g Fw(k)o(ey-)-33 424 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 504 a(w)o(ord)j(argumen)o(ts)g(and)g Fs(-if-not)f +Fw(functions.)23 b(This)15 b(means)g(that)g(these)i(features)f(are)0 +556 y(v)o(ery)i(lik)o(ely)f(to)g(b)q(e)i(retained)f(in)f(the)i +(forthcoming)c(standard)k(but)f(are)g(regarded)h(as)0 +608 y(candidates)14 b(for)e(remo)o(v)n(al)f(in)i(a)f(future)i(revision) +f(of)f(the)i(ANSI)f(standard.)19 b(X3J13)12 b(also)0 +659 y(v)o(oted)j(in)f(Jan)o(uary)h(1989)f Ft(h)p Fw(87)p +Ft(i)g Fw(to)h(add)g(the)g Fs(complement)e Fw(function,)h(in)o(tended)i +(to)e(re-)0 711 y(duce)k(or)g(eliminate)d(the)j(need)h(for)e(these)i +(deprecated)g(features.)30 b(Time)16 b(will)g(tell.)29 +b(I)0 763 y(note)13 b(that)f(man)o(y)e(features)k(in)e(F)m(ortran)g(ha) +o(v)o(e)g(b)q(een)h(deprecated)i(but)d(v)o(ery)h(few)f(indeed)0 +815 y(ha)o(v)o(e)i(actually)f(b)q(een)i(remo)o(v)o(ed)e(or)h(altered)g +(incompatibly)m(.)1209 1015 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(complement)19 b Fv(fn)0 1093 y Fw(Returns)h(a)f(function)f(whose)i +(v)n(alue)e(is)h(the)h(same)e(as)h(that)g(of)f Fs(not)h +Fw(applied)f(to)h(the)0 1145 y(result)e(of)e(applying)g(the)h(function) +g Fv(fn)g Fw(to)g(the)g(same)g(argumen)o(ts.)23 b(One)17 +b(could)f(de\014ne)0 1197 y Fs(complement)c Fw(as)i(follo)o(ws:)0 +1297 y Fs(\(defun)20 b(complement)f(\(fn\))42 1348 y(#)42 +1344 y(-)42 1352 y(-)n Fn(')85 1348 y Fs(\(lambda)h(\(&rest)g +(arguments\))127 1400 y(\(not)g(\(apply)g(fn)h(arguments\)\)\)\))42 +1499 y Fw(One)13 b(in)o(tended)h(use)f(of)g Fs(complement)d +Fw(is)j(to)g(supplan)o(t)g(the)g(use)h(of)e Fs(:test-not)f +Fw(argu-)0 1551 y(men)o(ts)i(and)h Fs(-if-not)e Fw(functions.)0 +1651 y Fs(\(remove-if-not)18 b(#)326 1647 y(-)326 1655 +y(-)n Fn(')369 1651 y Fs(virtuous)i(senators\))f Ft(\021)64 +1703 y Fs(\(remove-if)g(\(complement)g(#)564 1699 y(-)564 +1707 y(-)m Fn(')606 1703 y Fs(virtuous\))h(senators\))0 +1806 y(\(remove-duplicate)o(s)e(telephone-book)402 1858 +y(:test-not)i(#)620 1854 y(-)620 1862 y(-)m Fn(')663 +1858 y Fs(mismatch\))f Ft(\021)64 1910 y Fs(\(remove-duplica)o(tes)f +(telephone-book)466 1962 y(:test)i(\(complement)f(#)857 +1958 y(-)857 1966 y(-)m Fn(')900 1962 y Fs(mismatch\)\))-33 +1978 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2172 a Fo(14.1.)h(Simple)13 b(Sequence)h(F)-5 +b(unctions)0 2277 y Fw(Most)10 b(of)e(the)i(follo)o(wing)d(functions)j +(p)q(erform)e(simple)g(op)q(erations)i(on)f(a)g(single)g(sequence;)0 +2329 y Fs(make-sequence)i Fw(constructs)16 b(a)e(new)g(sequence.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 420 444 +420 443 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(420)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(elt)21 b Fv(se)n(quenc)n(e)k(index)0 372 y Fw(This)12 +b(returns)i(the)e(elemen)o(t)g(of)f Fv(se)n(quenc)n(e)i +Fw(sp)q(eci\014ed)h(b)o(y)e Fv(index)p Fw(,)g(whic)o(h)g(m)o(ust)g(b)q +(e)g(a)g(non-)0 424 y(negativ)o(e)j(in)o(teger)h(less)g(than)f(the)h +(length)f(of)f(the)i Fv(se)n(quenc)n(e)g Fw(as)g(returned)g(b)o(y)f +Fs(length)p Fw(.)0 476 y(The)f(\014rst)h(elemen)o(t)e(of)h(a)f +(sequence)j(has)e(index)g Fs(0)p Fw(.)42 528 y(\(Note)e(that)g +Fs(elt)g Fw(observ)o(es)h(the)g(\014ll)e(p)q(oin)o(ter)h(in)g(those)h +(v)o(ectors)g(that)f(ha)o(v)o(e)g(\014ll)f(p)q(oin)o(t-)0 +580 y(ers.)23 b(The)15 b(arra)o(y-sp)q(eci\014c)i(function)e +Fs(aref)f Fw(ma)o(y)f(b)q(e)j(used)g(to)f(access)i(v)o(ector)f(elemen)o +(ts)0 632 y(that)e(are)g(b)q(ey)o(ond)g(the)h(v)o(ector's)f(\014ll)f(p) +q(oin)o(ter.\))42 685 y Fs(setf)k Fw(ma)o(y)g(b)q(e)j(used)f(with)g +Fs(elt)f Fw(to)g(destructiv)o(ely)i(replace)g(a)e(sequence)j(elemen)o +(t)0 737 y(with)14 b(a)f(new)h(v)n(alue.)1209 895 y([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(subseq)20 b Fv(se)n(quenc)n(e)25 +b(start)f Fs(&optional)c Fv(end)0 972 y Fw(This)14 b(returns)j(the)e +(subsequence)i(of)d Fv(se)n(quenc)n(e)h Fw(sp)q(eci\014ed)h(b)o(y)e +Fv(start)g Fw(and)g Fv(end)p Fw(.)21 b Fs(subseq)0 1024 +y Fv(always)10 b Fw(allo)q(cates)g(a)f(new)i(sequence)h(for)e(a)g +(result;)h(it)f(nev)o(er)h(shares)g(storage)g(with)f(an)f(old)0 +1076 y(sequence.)20 b(The)13 b(result)g(subsequence)j(is)c(alw)o(a)o +(ys)g(of)g(the)h(same)f(t)o(yp)q(e)h(as)g(the)g(argumen)o(t)0 +1128 y Fv(se)n(quenc)n(e)p Fw(.)42 1180 y Fs(setf)e Fw(ma)o(y)g(b)q(e)i +(used)g(with)f Fs(subseq)f Fw(to)i(destructiv)o(ely)g(replace)h(a)e +(subsequence)j(with)0 1232 y(a)f(sequence)i(of)d(new)h(v)n(alues;)f +(see)i(also)f Fs(replace)p Fw(.)1209 1390 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(copy-seq)20 b Fv(se)n(quenc)n(e)0 1468 +y Fw(A)10 b(cop)o(y)g(is)g(made)f(of)h(the)h(argumen)o(t)e +Fv(se)n(quenc)n(e)p Fw(;)i(the)g(result)g(is)f Fs(equalp)f +Fw(to)h(the)h(argumen)o(t)0 1520 y(but)j(not)g Fs(eq)f +Fw(to)h(it.)0 1611 y Fs(\(copy-seq)19 b Fv(x)p Fs(\))j +Ft(\021)f Fs(\(subseq)f Fv(x)h Fs(0\))0 1702 y Fw(but)14 +b(the)h(name)d Fs(copy-seq)g Fw(is)i(more)f(p)q(erspicuous)j(when)e +(applicable.)1209 1860 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(length)20 b Fv(se)n(quenc)n(e)0 1938 y Fw(The)15 +b(n)o(um)o(b)q(er)e(of)h(elemen)o(ts)g(in)f Fv(se)n(quenc)n(e)i +Fw(is)f(returned)i(as)e(a)g(non-negativ)o(e)g(in)o(teger.)19 +b(If)0 1989 y(the)13 b(sequence)i(is)e(a)f(v)o(ector)i(with)e(a)h +(\014ll)f(p)q(oin)o(ter,)g(the)i(\\activ)o(e)e(length")h(as)g(sp)q +(eci\014ed)h(b)o(y)0 2041 y(the)g(\014ll)f(p)q(oin)o(ter)i(is)e +(returned)j(\(see)f(section)g(17.5\).)1209 2199 y([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(reverse)20 b Fv(se)n(quenc)n(e)0 +2277 y Fw(The)e(result)h(is)f(a)g(new)g(sequence)i(of)e(the)g(same)f +(kind)h(as)g Fv(se)n(quenc)n(e)p Fw(,)h(con)o(taining)e(the)0 +2329 y(same)c(elemen)o(ts)h(but)g(in)f(rev)o(erse)j(order.)j(The)14 +b(argumen)o(t)f(is)h(not)g(mo)q(di\014ed.)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 421 445 +421 444 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SEQUENCES)1120 +b(421)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b +Fs(nreverse)20 b Fv(se)n(quenc)n(e)0 372 y Fw(The)g(result)g(is)g(a)f +(sequence)j(con)o(taining)d(the)h(same)f(elemen)o(ts)g(as)h +Fv(se)n(quenc)n(e)g Fw(but)g(in)0 423 y(rev)o(erse)f(order.)27 +b(The)17 b(argumen)o(t)f(ma)o(y)f(b)q(e)i(destro)o(y)o(ed)h(and)e +(re-used)j(to)d(pro)q(duce)i(the)0 475 y(result.)g(The)13 +b(result)f(ma)o(y)e(or)i(ma)o(y)e(not)i(b)q(e)h Fs(eq)e +Fw(to)h(the)h(argumen)o(t,)e(so)h(it)f(is)h(usually)f(wise)0 +527 y(to)18 b(sa)o(y)h(something)e(lik)o(e)h Fs(\(setq)i(x)h +(\(nreverse)e(x\)\))p Fw(,)g(b)q(ecause)h(simply)d Fs(\(nreverse)0 +579 y(x\))c Fw(is)h(not)g(guaran)o(teed)g(to)g(lea)o(v)o(e)g(a)f(rev)o +(ersed)j(v)n(alue)d(in)h Fs(x)p Fw(.)42 631 y(X3J13)h(v)o(oted)h(in)f +(Marc)o(h)h(1989)e Ft(h)p Fw(153)p Ft(i)h Fw(to)h(clarify)f(the)h(p)q +(ermissible)f(side)h(e\013ects)h(of)-33 603 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 683 a(certain)i(op)q(erations.)32 b(When)19 +b(the)g Fv(se)n(quenc)n(e)g Fw(is)g(a)f(list,)g Fs(nreverse)f +Fw(is)i(p)q(ermitted)f(to)0 735 y(p)q(erform)13 b(a)h +Fs(setf)g Fw(on)g(an)o(y)f(part,)h Fv(c)n(ar)g Fw(or)g +Fv(c)n(dr)p Fw(,)g(of)f(the)i(top-lev)o(el)f(list)g(structure)i(of)e +(that)0 787 y(list.)27 b(When)17 b(the)h Fv(se)n(quenc)n(e)g +Fw(is)f(an)f(arra)o(y)m(,)h Fs(nreverse)e Fw(is)i(p)q(ermitted)g(to)g +(re-order)h(the)0 839 y(elemen)o(ts)c(of)f(the)i(giv)o(en)e(arra)o(y)h +(in)f(order)i(to)e(pro)q(duce)i(the)g(resulting)f(arra)o(y)m(.)-33 +850 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 965 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(make-sequence)18 b Fv(typ)n(e)25 b(size)f Fs(&key)c +(:initial-element)0 1042 y Fw(This)11 b(returns)h(a)f(sequence)i(of)d +(t)o(yp)q(e)h Fv(typ)n(e)g Fw(and)g(of)f(length)h Fv(size)p +Fw(,)g(eac)o(h)g(of)f(whose)i(elemen)o(ts)0 1094 y(has)20 +b(b)q(een)h(initialized)d(to)i(the)g Fs(:initial-element)d +Fw(argumen)o(t.)34 b(If)20 b(sp)q(eci\014ed,)i(the)0 +1146 y Fs(:initial-element)11 b Fw(argumen)o(t)i(m)o(ust)g(b)q(e)h(an)g +(ob)r(ject)h(that)f(can)g(b)q(e)h(an)f(elemen)o(t)g(of)f(a)0 +1198 y(sequence)j(of)d(t)o(yp)q(e)i Fv(typ)n(e)p Fw(.)j(F)m(or)13 +b(example:)0 1283 y Fs(\(make-sequence)324 1287 y Fn(')347 +1283 y Fs(\(vector)20 b(double-float\))318 1335 y(100)318 +1386 y(:initial-elemen)o(t)e(1d0\))0 1472 y Fw(If)13 +b(an)g Fs(:initial-element)d Fw(argumen)o(t)i(is)h(not)g(sp)q +(eci\014ed,)i(then)f(the)g(sequence)h(will)d(b)q(e)0 +1523 y(initialized)g(in)i(an)f(implemen)o(tation-dep)q(enden)o(t)f(w)o +(a)o(y)m(.)42 1575 y(X3J13)g(v)o(oted)h(in)f(Jan)o(uary)g(1989)g +Ft(h)p Fw(7)p Ft(i)g Fw(to)h(clarify)e(that)i(the)g Fv(typ)n(e)g +Fw(argumen)o(t)f(m)o(ust)f(b)q(e)-33 1547 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1627 a(a)17 b(t)o(yp)q(e)g(sp)q(eci\014er,)i(and)e(the)h +Fv(size)f Fw(argumen)o(t)f(m)o(ust)g(b)q(e)h(a)g(non-negativ)o(e)g(in)o +(teger)g(less)0 1679 y(than)d(the)g(v)n(alue)g(of)f Fs +(array-dimension-l)o(imit)p Fw(.)-33 1691 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1731 a(X3J13)20 b(v)o(oted)g(in)g(June)h(1989)f +Ft(h)p Fw(158)p Ft(i)g Fw(to)g(sp)q(ecify)h(that)f Fs(make-sequence)e +Fw(should)-33 1703 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1783 a(signal)c(an)g(error)i(if)e(the)h(sequence)i +Fv(typ)n(e)e Fw(sp)q(eci\014es)h(the)g(n)o(um)o(b)q(er)e(of)g(elemen)o +(ts)h(and)f(the)0 1835 y Fv(size)g Fw(argumen)o(t)e(is)i(di\013eren)o +(t.)-33 1846 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1887 a(X3J13)9 b(v)o(oted)g(in)g(Marc)o(h)h(1989)e +Ft(h)p Fw(11)p Ft(i)i Fw(to)f(sp)q(ecify)h(that)g(if)e +Fv(typ)n(e)i Fw(is)f Fs(string)p Fw(,)g(the)h(result)g(is)-33 +1858 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1939 a(the)h(same)e(as)i(if)e Fs(make-string)f +Fw(had)i(b)q(een)i(called)e(with)g(the)h(same)e Fv(size)h +Fw(and)h Fs(:initial-)0 1990 y(element)h Fw(argumen)o(ts.)-33 +2002 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2140 a Fo(14.2.)20 b(Concatenating,)15 +b(Mapping,)g(and)g(Reducing)f(Sequences)0 2225 y Fw(The)d(functions)f +(in)g(this)g(section)h(eac)o(h)f(op)q(erate)h(on)f(an)g(arbitrary)g(n)o +(um)o(b)q(er)g(of)f(sequences)0 2277 y(except)16 b(for)f +Fs(reduce)p Fw(,)e(whic)o(h)h(is)h(included)g(here)h(b)q(ecause)g(of)e +(its)h(conceptual)g(relation-)0 2329 y(ship)f(to)g(the)g(mapping)e +(functions.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 422 446 +422 445 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(422)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(concatenate)19 b Fv(r)n(esult)p Fs(-)p Fv(typ)n(e)k +Fs(&rest)d Fv(se)n(quenc)n(es)0 372 y Fw(The)11 b(result)h(is)f(a)f +(new)h(sequence)i(that)e(con)o(tains)g(all)f(the)h(elemen)o(ts)g(of)f +(all)g(the)h(sequences)0 423 y(in)j(order.)21 b(All)13 +b(of)h(the)h(sequences)i(are)e(copied)g(from;)e(the)i(result)g(do)q(es) +g(not)g(share)g(an)o(y)0 475 y(structure)20 b(with)e(an)o(y)g(of)f(the) +i(argumen)o(t)e(sequences)j(\(in)e(this)g Fs(concatenate)e +Fw(di\013ers)0 527 y(from)e Fs(append)p Fw(\).)21 b(The)16 +b(t)o(yp)q(e)g(of)f(the)h(result)g(is)f(sp)q(eci\014ed)i(b)o(y)e +Fv(r)n(esult-typ)n(e)p Fw(,)f(whic)o(h)i(m)o(ust)0 579 +y(b)q(e)d(a)f(subt)o(yp)q(e)i(of)e Fs(sequence)p Fw(,)e(as)j(for)f(the) +h(function)f Fs(coerce)p Fw(.)k(It)d(m)o(ust)e(b)q(e)i(p)q(ossible)g +(for)0 631 y(ev)o(ery)k(elemen)o(t)f(of)g(the)h(argumen)o(t)e +(sequences)k(to)e(b)q(e)g(an)f(elemen)o(t)g(of)g(a)g(sequence)i(of)0 +683 y(t)o(yp)q(e)c Fv(r)n(esult-typ)n(e)p Fw(.)42 735 +y(If)g(only)f(one)i Fv(se)n(quenc)n(e)g Fw(argumen)o(t)e(is)h(pro)o +(vided)h(and)f(it)g(has)g(the)h(t)o(yp)q(e)g(sp)q(eci\014ed)h(b)o(y)0 +787 y Fv(r)n(esult-typ)n(e)p Fw(,)11 b Fs(concatenate)e +Fw(is)j(required)h(to)f(cop)o(y)g(the)g(argumen)o(t)f(rather)i(than)f +(simply)0 839 y(returning)h(it.)k(If)11 b(a)h(cop)o(y)g(is)g(not)g +(required,)g(but)h(only)e(p)q(ossibly)g(t)o(yp)q(e)i(con)o(v)o(ersion,) +f(then)0 890 y(the)i Fs(coerce)f Fw(function)h(ma)o(y)e(b)q(e)i +(appropriate.)42 942 y(X3J13)e(v)o(oted)h(in)g(June)h(1989)e +Ft(h)p Fw(158)p Ft(i)h Fw(to)f(sp)q(ecify)i(that)f Fs(concatenate)e +Fw(should)i(signal)-33 914 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 994 a(an)g(error)h(if)e(the)h(sequence)i(t)o(yp)q(e)f +(sp)q(eci\014es)g(the)g(n)o(um)o(b)q(er)e(of)g(elemen)o(ts)h(and)g(the) +g(sum)f(of)0 1046 y(the)i(argumen)o(t)f(lengths)h(is)g(di\013eren)o(t.) +-33 1058 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1165 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(map)21 b Fv(r)n(esult)p Fs(-)p Fv(typ)n(e)i(function)i(se)n(quenc) +n(e)g Fs(&rest)20 b Fv(mor)n(e)p Fs(-)p Fv(se)n(quenc)n(es)0 +1242 y Fw(The)15 b Fv(function)g Fw(m)o(ust)e(tak)o(e)h(as)h(man)o(y)d +(argumen)o(ts)i(as)g(there)i(are)e(sequences)j(pro)o(vided;)0 +1293 y(at)d(least)f(one)h(sequence)i(m)o(ust)d(b)q(e)h(pro)o(vided.)k +(The)c(result)g(of)f Fs(map)g Fw(is)h(a)f(sequence)j(suc)o(h)0 +1345 y(that)h(elemen)o(t)f Fv(j)g Fw(is)g(the)i(result)f(of)f(applying) +f Fv(function)i Fw(to)g(elemen)o(t)f Fv(j)g Fw(of)g(eac)o(h)h(of)f(the) +0 1397 y(argumen)o(t)h(sequences.)35 b(The)19 b(result)g(sequence)h(is) +f(as)f(long)g(as)g(the)h(shortest)h(of)e(the)0 1449 y(input)c +(sequences.)42 1501 y(If)f(the)i Fv(function)g Fw(has)f(side)h +(e\013ects,)h(it)e(can)g(coun)o(t)h(on)f(b)q(eing)g(called)g(\014rst)h +(on)f(all)f(the)0 1553 y(elemen)o(ts)h(n)o(um)o(b)q(ered)f +Fs(0)p Fw(,)h(then)g(on)g(all)e(those)j(n)o(um)o(b)q(ered)f +Fs(1)p Fw(,)f(and)h(so)g(on.)42 1605 y(The)19 b(t)o(yp)q(e)h(of)f(the)g +(result)h(sequence)i(is)d(sp)q(eci\014ed)i(b)o(y)e(the)h(argumen)o(t)e +Fv(r)n(esult-typ)n(e)0 1657 y Fw(\(whic)o(h)13 b(m)o(ust)f(b)q(e)i(a)f +(subt)o(yp)q(e)h(of)f(the)h(t)o(yp)q(e)f Fs(sequence)p +Fw(\),)f(as)h(for)g(the)h(function)e Fs(coerce)p Fw(.)0 +1709 y(In)j(addition,)e(one)j(ma)o(y)d(sp)q(ecify)i Fs(nil)f +Fw(for)h(the)g(result)h(t)o(yp)q(e,)f(meaning)e(that)i(no)g(result)0 +1760 y(sequence)f(is)e(to)g(b)q(e)h(pro)q(duced;)g(in)f(this)g(case)h +(the)g Fv(function)f Fw(is)g(in)o(v)o(ok)o(ed)g(only)f(for)h(e\013ect,) +0 1812 y(and)i Fs(map)f Fw(returns)i Fs(nil)p Fw(.)j(This)c(giv)o(es)f +(an)h(e\013ect)h(similar)d(to)i(that)g(of)f Fs(mapc)p +Fw(.)42 1864 y(X3J13)h(v)o(oted)g(in)g(June)h(1989)e +Ft(h)p Fw(158)p Ft(i)h Fw(to)g(sp)q(ecify)h(that)g Fs(map)e +Fw(should)h(signal)g(an)g(error)-33 1836 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1916 a(if)d(the)i(sequence)h(t)o(yp)q(e)f(sp)q +(eci\014es)h(the)e(n)o(um)o(b)q(er)g(of)f(elemen)o(ts)h(and)g(the)h +(minim)n(um)8 b(of)j(the)0 1968 y(argumen)o(t)i(lengths)h(is)g +(di\013eren)o(t.)-33 1980 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2020 a(X3J13)k(v)o(oted)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k +(see)d(sec-)-33 1992 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2072 a(tion)13 b(7.9.)-33 2083 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2132 V 0 2192 a Fm(Compatibilit)o(y)h(note:)21 +b FA(In)14 b(MacLisp,)i(Lisp)g(Mac)o(hine)g(Lisp,)g(In)o(terlisp,)g +(and)g(indeed)g(ev)o(en)0 2237 y(Lisp)11 b(1.5,)f(the)g(function)i +Fj(map)c FA(has)j(alw)o(a)o(ys)g(mean)o(t)f(a)g(non-v)n(alue-returnin)q +(g)j(v)o(ersion.)k(Ho)o(w)o(ev)o(er,)0 2283 y(standard)j(computer)g +(science)h(literature,)h(including)g(in)e(particular)h(the)f(recen)o(t) +f(w)o(a)o(v)o(e)g(of)0 2329 y(pap)q(ers)11 b(on)f(\\functional)i +(programming,")g(ha)o(v)o(e)e(come)g(to)f(use)h Fj(map)f +FA(to)g(mean)h(what)g(in)g(the)g(past)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 423 447 +423 446 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SEQUENCES)1120 +b(423)0 295 y FA(Lisp)15 b(implemen)o(tations)i(ha)o(v)o(e)e(called)g +Fj(mapcar)p FA(.)j(T)m(o)13 b(simplify)j(things)g(henceforth,)e(Common) +0 340 y(Lisp)19 b(follo)o(ws)h(curren)o(t)f(usage,)h(and)f(what)f(w)o +(as)h(formerly)g(called)h Fj(map)d FA(is)i(named)g Fj(mapl)e +FA(in)0 386 y(Common)c(Lisp.)p 0 444 V 0 613 a Fw(F)m(or)g(example:)0 +718 y Fs(\(map)106 722 y Fn(')130 718 y Fs(list)20 b(#)238 +714 y(-)238 722 y(-)m Fn(')281 718 y Fs(-)322 722 y Fn(')345 +718 y Fs(\(1)h(2)g(3)g(4\)\))f Ft(\))h Fs(\(-1)f(-2)h(-3)g(-4\))0 +770 y(\(map)106 774 y Fn(')130 770 y Fs(string)106 822 +y(#)106 818 y(-)106 826 y(-)m Fn(')149 822 y Fs(\(lambda)f(\(x\))g +(\(if)h(\(oddp)f(x\))h(#)691 818 y(-)691 826 y(-)712 +822 y(\\1)g(#)777 818 y(-)777 826 y(-)799 822 y(\\0\)\))104 +877 y Fn(')127 873 y Fs(\(1)g(2)g(3)g(4\)\))64 925 y +Ft(\))f Fs("1010")1209 1150 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(map-into)20 b Fv(r)n(esult)p Fs(-)p Fv(se)n(quenc)n(e)k +(function)g Fs(&rest)d Fv(se)n(quenc)n(es)-33 1122 y +@beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1229 a Fw(X3J13)9 b(v)o(oted)h(in)g(June)g(1989)f +Ft(h)p Fw(120)p Ft(i)g Fw(to)h(add)f(the)h(function)g +Fs(map-into)p Fw(.)15 b(It)10 b(destructiv)o(ely)0 1281 +y(mo)q(di\014es)19 b(the)i Fv(r)n(esult-se)n(quenc)n(e)f +Fw(to)g(con)o(tain)g(the)g(results)i(of)d(applying)g +Fv(function)i Fw(to)0 1333 y(corresp)q(onding)f(elemen)o(ts)e(of)g(the) +i(argumen)o(t)d Fv(se)n(quenc)n(es)j Fw(in)e(turn;)j(it)e(then)g +(returns)0 1385 y Fv(r)n(esult-se)n(quenc)n(e)p Fw(.)42 +1439 y(The)c(argumen)o(ts)g Fv(r)n(esult-se)n(quenc)n(e)g +Fw(and)g(eac)o(h)h(elemen)o(t)e(of)h Fv(se)n(quenc)n(es)h +Fw(can)f(eac)o(h)h(b)q(e)0 1491 y(either)f(a)g(list)f(or)h(a)f(v)o +(ector)h(\(one-dimensional)e(arra)o(y\).)20 b(The)15 +b Fs(function)e Fw(m)o(ust)g(accept)0 1542 y(at)k(least)h(as)g(man)o(y) +d(argumen)o(ts)i(as)g(the)h(n)o(um)o(b)q(er)f(of)g(argumen)o(t)f +Fv(se)n(quenc)n(es)j Fw(supplied)0 1594 y(to)g Fs(map-into)p +Fw(.)30 b(If)18 b Fv(r)n(esult-se)n(quenc)n(e)h Fw(and)f(the)i(other)f +(argumen)o(t)e Fv(se)n(quenc)n(es)j Fw(are)f(not)0 1646 +y(all)d(the)i(same)f(length,)h(the)g(iteration)f(terminates)g(when)h +(the)g(shortest)h(sequence)h(is)0 1698 y(exhausted.)i(If)14 +b Fv(r)n(esult-se)n(quenc)n(e)h Fw(is)g(a)f(v)o(ector)i(with)e(a)h +(\014ll)f(p)q(oin)o(ter,)h(the)g(\014ll)f(p)q(oin)o(ter)h(is)0 +1750 y(ignored)i(when)g(deciding)f(ho)o(w)h(man)o(y)e(iterations)h(to)h +(p)q(erform,)f(and)h(afterw)o(ards)g(the)0 1802 y(\014ll)c(p)q(oin)o +(ter)h(is)g(set)h(to)e(the)i(n)o(um)o(b)q(er)e(of)g(times)g(the)i +Fv(function)f Fw(w)o(as)g(applied.)42 1856 y(If)f(the)i +Fv(function)g Fw(has)f(side)h(e\013ects,)h(it)e(can)g(coun)o(t)h(on)f +(b)q(eing)g(called)g(\014rst)h(on)f(all)f(the)0 1908 +y(elemen)o(ts)h(n)o(um)o(b)q(ered)f Fs(0)p Fw(,)h(then)g(on)g(all)e +(those)j(n)o(um)o(b)q(ered)f Fs(1)p Fw(,)f(and)h(so)g(on.)42 +1962 y(If)k Fv(r)n(esult-se)n(quenc)n(e)g Fw(is)h(longer)f(than)h(the)g +(shortest)h(elemen)o(t)e(of)g Fv(se)n(quenc)n(es)p Fw(,)i(extra)0 +2013 y(elemen)o(ts)14 b(at)f(the)i(end)f(of)g Fv(r)n(esult-se)n(quenc)n +(e)f Fw(are)i(unc)o(hanged.)42 2067 y(The)21 b(function)f +Fs(map-into)f Fw(di\013ers)j(from)d Fs(map)h Fw(in)g(that)h(it)g(mo)q +(di\014es)e(an)i(existing)0 2119 y(sequence)14 b(rather)f(than)f +(creating)g(a)g(new)g(one.)18 b(In)11 b(addition,)g Fs(map-into)f +Fw(can)i(b)q(e)h(called)0 2171 y(with)f(only)f(t)o(w)o(o)g(argumen)o +(ts)g(\()p Fv(r)n(esult-se)n(quenc)n(e)h Fw(and)g Fv(function)p +Fw(\),)g(while)g Fs(map)f Fw(requires)i(at)0 2223 y(least)h(three)h +(argumen)o(ts.)42 2277 y(If)g Fv(r)n(esult-se)n(quenc)n(e)h +Fw(is)g Fs(nil)p Fw(,)f Fs(map-into)g Fw(immedia)o(tely)e(returns)18 +b Fs(nil)p Fw(,)e(b)q(ecause)h Fs(nil)0 2329 y Fw(is)d(a)f(sequence)j +(of)e(length)f(zero.)-33 2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 424 448 +424 447 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(424)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(some)20 b Fv(pr)n(e)n(dic)n(ate)k(se)n(quenc)n(e)h +Fs(&rest)20 b Fv(mor)n(e)p Fs(-)p Fv(se)n(quenc)n(es)1209 +347 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(every)20 +b Fv(pr)n(e)n(dic)n(ate)k(se)n(quenc)n(e)h Fs(&rest)20 +b Fv(mor)n(e)p Fs(-)p Fv(se)n(quenc)n(es)1209 399 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(notany)20 b Fv(pr)n(e)n(dic)n(ate)k +(se)n(quenc)n(e)h Fs(&rest)20 b Fv(mor)n(e)p Fs(-)p Fv(se)n(quenc)n(es) +1209 450 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(notevery)20 +b Fv(pr)n(e)n(dic)n(ate)j(se)n(quenc)n(e)j Fs(&rest)20 +b Fv(mor)n(e)p Fs(-)p Fv(se)n(quenc)n(es)0 527 y Fw(These)13 +b(are)f(all)f(predicates.)18 b(The)12 b Fv(pr)n(e)n(dic)n(ate)g +Fw(m)o(ust)e(tak)o(e)i(as)g(man)o(y)e(argumen)o(ts)h(as)g(there)0 +579 y(are)18 b(sequences)i(pro)o(vided.)29 b(The)18 b +Fv(pr)n(e)n(dic)n(ate)f Fw(is)g(\014rst)h(applied)f(to)h(the)g(elemen)o +(ts)f(with)0 631 y(index)j Fs(0)f Fw(in)h(eac)o(h)g(of)f(the)i +(sequences,)i(and)d(p)q(ossibly)g(then)g(to)g(the)g(elemen)o(ts)g(with) +0 683 y(index)f Fs(1)p Fw(,)h(and)e(so)h(on,)h(un)o(til)e(a)h +(termination)e(criterion)j(is)e(met)h(or)g(the)g(end)h(of)e(the)0 +735 y(shortest)d(of)f(the)g Fv(se)n(quenc)n(es)h Fw(is)f(reac)o(hed.)42 +787 y(If)f(the)h Fv(pr)n(e)n(dic)n(ate)f Fw(has)h(side)g(e\013ects,)h +(it)e(can)h(coun)o(t)g(on)f(b)q(eing)h(called)f(\014rst)h(on)g(all)e +(the)0 839 y(elemen)o(ts)i(n)o(um)o(b)q(ered)f Fs(0)p +Fw(,)h(then)g(on)g(all)e(those)j(n)o(um)o(b)q(ered)f +Fs(1)p Fw(,)f(and)h(so)g(on.)42 890 y Fs(some)c Fw(returns)j(as)e(so)q +(on)h(as)f(an)o(y)g(in)o(v)o(o)q(cation)f(of)h Fv(pr)n(e)n(dic)n(ate)g +Fw(returns)h(a)f(non-)p Fs(nil)g Fw(v)n(alue;)0 942 y +Fs(some)f Fw(returns)j(that)f(v)n(alue.)k(If)11 b(the)h(end)g(of)e(a)h +(sequence)j(is)d(reac)o(hed,)i Fs(some)d Fw(returns)j +Fs(nil)p Fw(.)0 994 y(Th)o(us,)k(considered)h(as)e(a)h(predicate,)g(it) +g(is)f(true)h(if)f Fv(some)h Fw(in)o(v)o(o)q(cation)e(of)h +Fv(pr)n(e)n(dic)n(ate)g Fw(is)0 1046 y(true.)42 1098 +y Fs(every)10 b Fw(returns)j Fs(nil)e Fw(as)h(so)q(on)g(as)g(an)o(y)f +(in)o(v)o(o)q(cation)g(of)g Fv(pr)n(e)n(dic)n(ate)g Fw(returns)i +Fs(nil)p Fw(.)k(If)11 b(the)0 1150 y(end)g(of)g(a)f(sequence)k(is)c +(reac)o(hed,)j Fs(every)c Fw(returns)k(a)e(non-)p Fs(nil)f +Fw(v)n(alue.)16 b(Th)o(us,)11 b(considered)0 1202 y(as)j(a)g +(predicate,)g(it)g(is)f(true)i(if)e Fv(every)h Fw(in)o(v)o(o)q(cation)f +(of)g Fv(pr)n(e)n(dic)n(ate)g Fw(is)h(true.)42 1254 y +Fs(notany)9 b Fw(returns)k Fs(nil)d Fw(as)h(so)q(on)g(as)g(an)o(y)g(in) +o(v)o(o)q(cation)f(of)g Fv(pr)n(e)n(dic)n(ate)g Fw(returns)j(a)e(non-)p +Fs(nil)0 1306 y Fw(v)n(alue.)24 b(If)16 b(the)h(end)f(of)g(a)g +(sequence)i(is)e(reac)o(hed,)h Fs(notany)e Fw(returns)j(a)e(non-)p +Fs(nil)f Fw(v)n(alue.)0 1357 y(Th)o(us,)e(considered)h(as)e(a)h +(predicate,)g(it)f(is)h(true)g(if)f Fv(no)h Fw(in)o(v)o(o)q(cation)f +(of)g Fv(pr)n(e)n(dic)n(ate)g Fw(is)g(true.)42 1409 y +Fs(notevery)j Fw(returns)k(a)e(non-)p Fs(nil)f Fw(v)n(alue)h(as)g(so)q +(on)g(as)h(an)o(y)f(in)o(v)o(o)q(cation)f(of)g Fv(pr)n(e)n(dic)n(ate)0 +1461 y Fw(returns)d Fs(nil)p Fw(.)k(If)12 b(the)g(end)g(of)f(a)h +(sequence)i(is)e(reac)o(hed,)h Fs(notevery)d Fw(returns)j +Fs(nil)p Fw(.)k(Th)o(us,)0 1513 y(considered)d(as)e(a)g(predicate,)h +(it)e(is)h(true)h(if)f Fv(not)h(every)f Fw(in)o(v)o(o)q(cation)f(of)h +Fv(pr)n(e)n(dic)n(ate)f Fw(is)h(true.)42 1565 y(X3J13)18 +b(v)o(oted)h(in)f(Jan)o(uary)h(1989)f Ft(h)p Fw(121)p +Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k(see)d(sec-)-33 +1537 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1617 a(tion)13 b(7.9.)-33 1629 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1677 V 0 1737 a Fm(Compatibilit)o(y)18 +b(note:)27 b FA(The)18 b(order)h(of)f(the)g(argumen)o(ts)h(here)g(is)f +(not)h(compatible)h(with)0 1782 y(In)o(terlisp)c(and)f(Lisp)h(Mac)o +(hine)g(Lisp.)22 b(This)15 b(is)g(to)f(stress)h(the)g(similarit)o(y)i +(of)d(these)h(functions)0 1828 y(to)h Fj(map)p FA(.)25 +b(The)16 b(functions)h(are)f(therefore)h(extended)g(here)f(to)g +(functions)i(of)d(more)i(than)f(one)0 1874 y(argumen)o(t,)d(and)h(to)f +(m)o(ultiple)i(sequences.)p 0 1905 V 1209 1993 a Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(reduce)20 b Fv(function)25 +b(se)n(quenc)n(e)g Fs(&key)20 b(:from-end)g(:start)f(:end)152 +2044 y(:initial-value)0 2121 y Fw(The)c Fs(reduce)f Fw(function)g(com)o +(bines)g(all)g(the)h(elemen)o(ts)g(of)f(a)g(sequence)j(using)e(a)f +(binary)0 2173 y(op)q(eration;)f(for)h(example,)e(using)i +Fs(+)f Fw(one)h(can)g(add)g(up)g(all)f(the)h(elemen)o(ts.)42 +2225 y(The)19 b(sp)q(eci\014ed)i(subsequence)g(of)e(the)h +Fv(se)n(quenc)n(e)f Fw(is)g(com)o(bined)f(or)h(\\reduced")h(us-)0 +2277 y(ing)d(the)h Fv(function)p Fw(,)g(whic)o(h)g(m)o(ust)e(accept)j +(t)o(w)o(o)e(argumen)o(ts.)28 b(The)18 b(reduction)h(is)e(left-)0 +2329 y(asso)q(ciativ)o(e,)i(unless)g(the)g Fs(:from-end)d +Fw(argumen)o(t)i(is)g(true)h(\(it)f(defaults)h(to)f Fs(nil)p +Fw(\),)g(in)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 425 449 +425 448 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SEQUENCES)1120 +b(425)0 295 y Fw(whic)o(h)13 b(case)g(it)g(is)f(righ)o(t-asso)q(ciativ) +o(e.)17 b(If)c(an)f Fs(:initial-value)e Fw(argumen)o(t)i(is)g(giv)o +(en,)g(it)0 347 y(is)j(logically)e(placed)i(b)q(efore)h(the)g +(subsequence)h(\(after)f(it)e(if)h Fs(:from-end)e Fw(is)i(true\))h(and) +0 399 y(included)e(in)f(the)i(reduction)g(op)q(eration.)42 +450 y(If)e(the)i(sp)q(eci\014ed)g(subsequence)i(con)o(tains)d(exactly)g +(one)g(elemen)o(t)f(and)h(the)h(k)o(eyw)o(ord)0 502 y(argumen)o(t)10 +b Fs(:initial-value)e Fw(is)j(not)f(giv)o(en,)h(then)h(that)f(elemen)o +(t)f(is)h(returned)h(and)f(the)0 554 y Fv(function)g +Fw(is)g(not)g(called.)16 b(If)11 b(the)g(sp)q(eci\014ed)i(subsequence)g +(is)e(empt)o(y)e(and)i(an)g Fs(:initial-)0 606 y(value)i +Fw(is)g(giv)o(en,)g(then)i(the)f Fs(:initial-value)d +Fw(is)i(returned)j(and)e(the)g Fv(function)g Fw(is)g(not)0 +658 y(called.)42 710 y(If)c(the)i(sp)q(eci\014ed)h(subsequence)g(is)e +(empt)o(y)f(and)h(no)g Fs(:initial-value)d Fw(is)j(giv)o(en,)g(then)0 +762 y(the)k Fv(function)f Fw(is)g(called)g(with)f(zero)i(argumen)o(ts,) +e(and)h Fs(reduce)f Fw(returns)i(whatev)o(er)g(the)0 +814 y(function)g(do)q(es.)22 b(\(This)15 b(is)g(the)g(only)g(case)h +(where)g(the)f Fv(function)h Fw(is)f(called)f(with)h(other)0 +866 y(than)f(t)o(w)o(o)f(argumen)o(ts.\))0 949 y Fs(\(reduce)20 +b(#)174 945 y(-)174 953 y(-)m Fn(')217 949 y Fs(+)257 +953 y Fn(')281 949 y Fs(\(1)h(2)g(3)g(4\)\))f Ft(\))h +Fs(10)0 1000 y(\(reduce)f(#)174 996 y(-)174 1004 y(-)m +Fn(')217 1000 y Fs(-)257 1004 y Fn(')281 1000 y Fs(\(1)h(2)g(3)g(4\)\)) +f Ft(\021)i Fs(\(-)e(\(-)h(\(-)g(1)g(2\))g(3\))f(4\))h +Ft(\))g Fs(-8)0 1052 y(\(reduce)f(#)174 1048 y(-)174 +1056 y(-)m Fn(')217 1052 y Fs(-)257 1056 y Fn(')281 1052 +y Fs(\(1)h(2)g(3)g(4\))f(:from-end)g(t\))105 b(;)p Fw(Alternating)13 +b(sum)64 1104 y Ft(\021)21 b Fs(\(-)g(1)g(\(-)f(2)h(\(-)g(3)g(4\)\)\))f +Ft(\))h Fs(-2)0 1156 y(\(reduce)f(#)174 1152 y(-)174 +1160 y(-)m Fn(')217 1156 y Fs(+)257 1160 y Fn(')281 1156 +y Fs(\(\)\))g Ft(\))h Fs(0)0 1208 y(\(reduce)f(#)174 +1204 y(-)174 1212 y(-)m Fn(')217 1208 y Fs(+)257 1212 +y Fn(')281 1208 y Fs(\(3\)\))g Ft(\))h Fs(3)0 1260 y(\(reduce)f(#)174 +1256 y(-)174 1264 y(-)m Fn(')217 1260 y Fs(+)257 1264 +y Fn(')281 1260 y Fs(\(foo\)\))g Ft(\))g Fs(foo)0 1312 +y(\(reduce)g(#)174 1308 y(-)174 1316 y(-)m Fn(')217 1312 +y Fs(list)323 1316 y Fn(')346 1312 y Fs(\(1)h(2)g(3)g(4\)\))f +Ft(\))h Fs(\(\(\(1)f(2\))h(3\))g(4\))0 1364 y(\(reduce)f(#)174 +1360 y(-)174 1368 y(-)m Fn(')217 1364 y Fs(list)323 1368 +y Fn(')346 1364 y Fs(\(1)h(2)g(3)g(4\))g(:from-end)e(t\))i +Ft(\))f Fs(\(1)h(\(2)g(\(3)g(4\)\)\))0 1416 y(\(reduce)f(#)174 +1412 y(-)174 1420 y(-)m Fn(')217 1416 y Fs(list)323 1420 +y Fn(')346 1416 y Fs(\(1)h(2)g(3)g(4\))g(:initial-value)886 +1420 y Fn(')909 1416 y Fs(foo\))64 1467 y Ft(\))f Fs(\(\(\(\(foo)g(1\)) +h(2\))f(3\))h(4\))0 1519 y(\(reduce)f(#)174 1515 y(-)174 +1523 y(-)m Fn(')217 1519 y Fs(list)323 1523 y Fn(')346 +1519 y Fs(\(1)h(2)g(3)g(4\))169 1571 y(:from-end)f(t)h(:initial-value) +754 1575 y Fn(')777 1571 y Fs(foo\))64 1623 y Ft(\))f +Fs(\(1)h(\(2)g(\(3)f(\(4)h(foo\)\)\)\))0 1706 y Fw(If)13 +b(the)g Fv(function)g Fw(pro)q(duces)i(side)e(e\013ects,)i(the)e(order) +h(of)e(the)h(calls)g(to)g(the)g Fv(function)h Fw(can)0 +1758 y(b)q(e)h(correctly)g(predicted)g(from)d(the)i(reduction)h +(ordering)f(demonstrated)g(ab)q(o)o(v)o(e.)42 1810 y(The)g(name)f +(\\reduce")i(for)e(this)h(function)g(is)f(b)q(orro)o(w)o(ed)i(from)d +(APL.)42 1862 y(X3J13)g(v)o(oted)g(in)g(Marc)o(h)h(1988)e +Ft(h)p Fw(152)p Ft(i)h Fw(to)g(extend)h(the)g Fs(reduce)e +Fw(function)h(to)h(tak)o(e)f(an)-33 1833 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1914 a(additional)h(k)o(eyw)o(ord)h(argumen)o(t)g(named) +f Fs(:key)p Fw(.)20 b(As)15 b(usual,)f(this)g(argumen)o(t)g(defaults)0 +1966 y(to)g(the)g(iden)o(tit)o(y)g(function.)k(The)c(v)n(alue)g(of)f +(this)h(argumen)o(t)f(m)o(ust)g(b)q(e)h(a)g(function)g(that)0 +2017 y(accepts)i(at)d(least)i(one)f(argumen)o(t.)j(This)d(function)f +(is)h(applied)f(once)i(to)f(eac)o(h)g(elemen)o(t)0 2069 +y(of)f(the)h(sequence)i(that)d(is)h(to)f(participate)g(in)h(the)g +(reduction)g(op)q(eration,)f(in)g(the)h(order)0 2121 +y(implied)j(b)o(y)j(the)g Fs(:from-end)d Fw(argumen)o(t;)k(the)f(v)n +(alues)g(returned)h(b)o(y)e(this)h(function)0 2173 y(are)d(com)o(bined) +e(b)o(y)h(the)h(reduction)g Fv(function)p Fw(.)26 b(Ho)o(w)o(ev)o(er,) +17 b(the)g Fs(:key)f Fw(function)g(is)g Fv(not)0 2225 +y Fw(applied)d(to)h(the)h Fs(:initial-value)10 b Fw(argumen)o(t)j(\(if) +g(an)o(y\).)-33 2237 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2277 a(X3J13)18 b(v)o(oted)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k +(see)d(sec-)-33 2249 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a(tion)13 b(7.9.)-33 2340 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 426 450 +426 449 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(426)77 b(COMMON)13 +b(LISP)0 295 y Fo(14.3.)20 b(Mo)r(difying)14 b(Sequences)0 +379 y Fw(Eac)o(h)c(of)g(these)h(functions)f(alters)g(the)h(con)o(ten)o +(ts)g(of)e(a)h(sequence)i(or)e(pro)q(duces)h(an)f(altered)0 +430 y(cop)o(y)k(of)f(a)h(giv)o(en)f(sequence.)1209 553 +y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(fill)20 b Fv(se)n(quenc)n(e)25 +b(item)f Fs(&key)d(:start)f(:end)0 630 y Fw(The)15 b +Fv(se)n(quenc)n(e)g Fw(is)g(destructiv)o(ely)g(mo)q(di\014ed)f(b)o(y)g +(replacing)g(eac)o(h)h(elemen)o(t)f(of)g(the)h(sub-)0 +682 y(sequence)k(sp)q(eci\014ed)f(b)o(y)f(the)g Fs(:start)f +Fw(and)g Fs(:end)g Fw(parameters)h(with)g(the)g Fv(item)p +Fw(.)26 b(The)0 734 y Fv(item)12 b Fw(ma)o(y)f(b)q(e)i(an)o(y)f(Lisp)g +(ob)r(ject)i(but)f(m)o(ust)e(b)q(e)i(a)g(suitable)f(elemen)o(t)g(for)g +(the)h Fv(se)n(quenc)n(e)p Fw(.)0 786 y(The)g Fv(item)f +Fw(is)h(stored)h(in)o(to)e(all)f(sp)q(eci\014ed)k(comp)q(onen)o(ts)d +(of)g(the)h Fv(se)n(quenc)n(e)p Fw(,)h(b)q(eginning)e(at)0 +838 y(the)i(one)f(sp)q(eci\014ed)i(b)o(y)e(the)h Fs(:start)e +Fw(index)h(\(whic)o(h)g(defaults)g(to)g(zero\),)h(up)f(to)g(but)h(not)0 +890 y(including)e(the)h(one)g(sp)q(eci\014ed)h(b)o(y)f(the)g +Fs(:end)f Fw(index)g(\(whic)o(h)h(defaults)g(to)f(the)i(length)e(of)0 +942 y(the)i(sequence\).)21 b Fs(fill)13 b Fw(returns)i(the)g(mo)q +(di\014ed)d Fv(se)n(quenc)n(e)p Fw(.)19 b(F)m(or)14 b(example:)0 +1026 y Fs(\(setq)20 b(x)h(\(vector)345 1030 y Fn(')368 +1026 y Fs(a)409 1030 y Fn(')432 1026 y Fs(b)473 1030 +y Fn(')496 1026 y Fs(c)537 1030 y Fn(')560 1026 y Fs(d)601 +1030 y Fn(')625 1026 y Fs(e\)\))f Ft(\))h Fs(#)774 1022 +y(-)774 1030 y(-)796 1026 y(\(a)f(b)h(c)g(d)g(e\))0 1078 +y(\(fill)f(x)171 1082 y Fn(')194 1078 y Fs(z)h(:start)f(1)h(:end)f(3\)) +h Ft(\))g Fs(#)668 1074 y(-)668 1082 y(-)690 1078 y(\(a)f(z)h(z)g(d)g +(e\))42 1130 y Fw(and)14 b(no)o(w)21 b Fs(x)g Ft(\))g +Fs(#)323 1126 y(-)323 1134 y(-)344 1130 y(\(a)g(z)g(z)g(d)g(e\))0 +1182 y(\(fill)f(x)171 1186 y Fn(')194 1182 y Fs(p\))h +Ft(\))g Fs(#)322 1178 y(-)322 1186 y(-)344 1182 y(\(p)f(p)h(p)g(p)g +(p\))42 1234 y Fw(and)14 b(no)o(w)21 b Fs(x)g Ft(\))g +Fs(#)323 1230 y(-)323 1238 y(-)344 1234 y(\(p)g(p)g(p)g(p)g(p\))1209 +1357 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(replace)20 +b Fv(se)n(quenc)n(e1)28 b(se)n(quenc)n(e2)f Fs(&key)21 +b(:start1)e(:end1)174 1408 y(:start2)g(:end2)0 1485 y +Fw(The)e(sequence)i Fv(se)n(quenc)n(e1)f Fw(is)f(destructiv)o(ely)h(mo) +q(di\014ed)e(b)o(y)g(cop)o(ying)g(successiv)o(e)k(ele-)0 +1537 y(men)o(ts)15 b(in)o(to)h(it)g(from)e Fv(se)n(quenc)n(e2)p +Fw(.)25 b(The)17 b(elemen)o(ts)f(of)f Fv(se)n(quenc)n(e2)i +Fw(m)o(ust)e(b)q(e)i(of)e(a)h(t)o(yp)q(e)0 1589 y(that)h(ma)o(y)e(b)q +(e)i(stored)h(in)o(to)e Fv(se)n(quenc)n(e1)p Fw(.)28 +b(The)17 b(subsequence)i(of)d Fv(se)n(quenc)n(e2)i Fw(sp)q(eci\014ed)0 +1641 y(b)o(y)d Fs(:start2)f Fw(and)h Fs(:end2)g Fw(is)g(copied)g(in)o +(to)g(the)h(subsequence)i(of)d Fv(se)n(quenc)n(e1)h Fw(sp)q(eci\014ed)0 +1693 y(b)o(y)i Fs(:start1)g Fw(and)g Fs(:end1)p Fw(.)31 +b(\(The)20 b(argumen)o(ts)e Fs(:start1)f Fw(and)h Fs(:start2)g +Fw(default)g(to)0 1745 y(zero.)29 b(The)17 b(argumen)o(ts)g +Fs(:end1)f Fw(and)h Fs(:end2)f Fw(default)h(to)g Fs(nil)p +Fw(,)g(meaning)e(the)j(end)f(of)0 1797 y(the)e(appropriate)f +(sequence.\))22 b(If)14 b(these)i(subsequences)h(are)e(not)f(of)g(the)h +(same)e(length,)0 1848 y(then)19 b(the)f(shorter)h(length)f(determines) +g(ho)o(w)g(man)o(y)e(elemen)o(ts)h(are)h(copied;)i(the)f(ex-)0 +1900 y(tra)d(elemen)o(ts)g(near)g(the)h(end)f(of)f(the)i(longer)e +(subsequence)k(are)d(not)g(in)o(v)o(olv)o(ed)f(in)g(the)0 +1952 y(op)q(eration.)j(The)c(n)o(um)o(b)q(er)f(of)h(elemen)o(ts)f +(copied)i(ma)o(y)c(b)q(e)k(expressed)h(as:)0 2037 y Fs(\(min)k(\(-)h +Fv(end1)h(start1)p Fs(\))f(\(-)f Fv(end2)i(start2)p Fs(\)\))0 +2121 y Fw(The)14 b(v)n(alue)g(returned)h(b)o(y)f Fs(replace)e +Fw(is)i(the)g(mo)q(di\014ed)f Fv(se)n(quenc)n(e1)p Fw(.)42 +2173 y(If)i Fv(se)n(quenc)n(e1)h Fw(and)f Fv(se)n(quenc)n(e2)i +Fw(are)e(the)h(same)f(\()p Fs(eq)p Fw(\))g(ob)r(ject)h(and)g(the)g +(region)f(b)q(eing)0 2225 y(mo)q(di\014ed)j(o)o(v)o(erlaps)i(the)g +(region)f(b)q(eing)h(copied)g(from,)f(then)h(it)g(is)f(as)h(if)f(the)h +(en)o(tire)0 2277 y(source)13 b(region)f(w)o(ere)h(copied)f(to)g +(another)g(place)g(and)g(only)f(then)i(copied)f(bac)o(k)g(in)o(to)f +(the)0 2329 y(target)j(region.)j(Ho)o(w)o(ev)o(er,)d(if)e +Fv(se)n(quenc)n(e1)j Fw(and)e Fv(se)n(quenc)n(e2)h Fw(are)g +Fv(not)g Fw(the)f(same,)g(but)g(the)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 427 451 +427 450 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SEQUENCES)1120 +b(427)0 295 y Fw(region)12 b(b)q(eing)g(mo)q(di\014ed)e(o)o(v)o(erlaps) +i(the)h(region)e(b)q(eing)h(copied)h(from)d(\(p)q(erhaps)j(b)q(ecause)0 +347 y(of)f(shared)h(list)f(structure)i(or)e(displaced)h(arra)o(ys\),)f +(then)h(after)f(the)h Fs(replace)e Fw(op)q(eration)0 +399 y(the)h(subsequence)h(of)e Fv(se)n(quenc)n(e1)h Fw(b)q(eing)f(mo)q +(di\014ed)f(will)f(ha)o(v)o(e)i(unpredictable)h(con)o(ten)o(ts.)1209 +525 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(remove)20 +b Fv(item)k(se)n(quenc)n(e)h Fs(&key)20 b(:from-end)g(:test)g +(:test-not)152 577 y(:start)g(:end)g(:count)g(:key)1209 +629 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(remove-if)19 +b Fv(pr)n(e)n(dic)n(ate)24 b(se)n(quenc)n(e)h Fs(&key)c(:from-end)e +(:start)h(:end)217 681 y(:count)g(:key)1209 733 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(remove-if-not)18 b Fv(pr)n(e)n(dic)n +(ate)24 b(se)n(quenc)n(e)h Fs(&key)c(:from-end)e(:start)304 +785 y(:end)i(:count)f(:key)0 861 y Fw(The)15 b(result)f(is)g(a)g +(sequence)j(of)c(the)i(same)e(kind)h(as)g(the)h(argumen)o(t)e +Fv(se)n(quenc)n(e)h Fw(that)h(has)0 913 y(the)f(same)f(elemen)o(ts)g +(except)i(that)e(those)i(in)e(the)h(subsequence)i(delimited)c(b)o(y)h +Fs(:start)0 965 y Fw(and)k Fs(:end)f Fw(and)h(satisfying)f(the)h(test)h +(\(see)g(ab)q(o)o(v)o(e\))f(ha)o(v)o(e)g(b)q(een)h(remo)o(v)o(ed.)26 +b(This)17 b(is)g(a)0 1017 y(non-destructiv)o(e)c(op)q(eration;)e(the)h +(result)g(is)f(a)g(cop)o(y)g(of)g(the)h(input)f Fv(se)n(quenc)n(e)p +Fw(,)h(sa)o(v)o(e)g(that)0 1069 y(some)g(elemen)o(ts)g(are)h(not)f +(copied.)18 b(Elemen)o(ts)12 b(not)g(remo)o(v)o(ed)g(o)q(ccur)h(in)f +(the)h(same)f(order)0 1121 y(in)h(the)i(result)g(as)f(they)g(did)f(in)h +(the)g(argumen)o(t.)42 1173 y(The)f Fs(:count)f Fw(argumen)o(t,)g(if)h +(supplied,)g(limits)e(the)j(n)o(um)o(b)q(er)e(of)h(elemen)o(ts)g(remo)o +(v)o(ed;)0 1225 y(if)f(more)f(than)h Fs(:count)g Fw(elemen)o(ts)g +(satisfy)g(the)h(test,)g(then)g(of)f(these)i(elemen)o(ts)e(only)g(the)0 +1276 y(leftmost)h(are)h(remo)o(v)o(ed,)e(as)i(man)o(y)e(as)i(sp)q +(eci\014ed)i(b)o(y)d Fs(:count)p Fw(.)42 1328 y(X3J13)k(v)o(oted)h(in)f +(Jan)o(uary)h(1989)f Ft(h)p Fw(148)p Ft(i)g Fw(to)g(clarify)g(that)h +(the)g Fs(:count)f Fw(argumen)o(t)-33 1300 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1380 a(m)o(ust)d(b)q(e)h(either)h Fs(nil)e +Fw(or)h(an)g(in)o(teger,)g(and)f(that)h(supplying)f(a)h(negativ)o(e)g +(in)o(teger)g(pro-)0 1432 y(duces)g(the)g(same)e(b)q(eha)o(vior)g(as)h +(supplying)g(zero.)-33 1444 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1484 a(A)9 b(non-)p Fs(nil)g(:from-end)f +Fw(sp)q(eci\014cation)i(matters)f(only)g(when)h(the)h +Fs(:count)d Fw(argumen)o(t)0 1536 y(is)17 b(pro)o(vided;)h(in)f(that)g +(case)h(only)e(the)i(righ)o(tmost)d Fs(:count)h Fw(elemen)o(ts)h +(satisfying)f(the)0 1588 y(test)f(are)f(remo)o(v)o(ed.)j(F)m(or)d +(example:)0 1673 y Fs(\(remove)20 b(4)214 1677 y Fn(')238 +1673 y Fs(\(1)h(2)g(4)g(1)g(3)f(4)h(5\)\))g Ft(\))g Fs(\(1)f(2)h(1)g(3) +g(5\))0 1725 y(\(remove)f(4)214 1729 y Fn(')238 1725 +y Fs(\(1)h(2)g(4)g(1)g(3)f(4)h(5\))g(:count)f(1\))h Ft(\))g +Fs(\(1)f(2)h(1)g(3)g(4)g(5\))0 1777 y(\(remove)f(4)214 +1781 y Fn(')238 1777 y Fs(\(1)h(2)g(4)g(1)g(3)f(4)h(5\))g(:count)f(1)h +(:from-end)e(t\))64 1829 y Ft(\))h Fs(\(1)h(2)g(4)g(1)g(3)g(5\))0 +1880 y(\(remove)f(3)214 1884 y Fn(')238 1880 y Fs(\(1)h(2)g(4)g(1)g(3)f +(4)h(5\))g(:test)f(#)712 1876 y(-)712 1884 y(-)n Fn(')755 +1880 y Fs(>\))h Ft(\))g Fs(\(4)f(3)h(4)g(5\))0 1932 y(\(remove-if)e(#) +239 1928 y(-)239 1936 y(-)n Fn(')282 1932 y Fs(oddp)388 +1936 y Fn(')412 1932 y Fs(\(1)h(2)h(4)g(1)g(3)g(4)g(5\)\))g +Ft(\))f Fs(\(2)h(4)g(4\))0 1984 y(\(remove-if)e(#)239 +1980 y(-)239 1988 y(-)n Fn(')282 1984 y Fs(evenp)410 +1988 y Fn(')433 1984 y Fs(\(1)i(2)g(4)g(1)g(3)g(4)g(5\))g(:count)f(1)h +(:from-end)e(t\))64 2036 y Ft(\))h Fs(\(1)h(2)g(4)g(1)g(3)g(5\))0 +2121 y Fw(The)12 b(result)h(of)f Fs(remove)e Fw(ma)o(y)h(share)h(with)g +(the)h(argumen)o(t)e Fv(se)n(quenc)n(e)p Fw(;)i(a)e(list)h(result)h(ma) +o(y)0 2173 y(share)g(a)f(tail)f(with)h(an)h(input)f(list,)f(and)i(the)f +(result)i(ma)o(y)c(b)q(e)j Fs(eq)f Fw(to)g(the)h(input)f +Fv(se)n(quenc)n(e)0 2225 y Fw(if)h(no)h(elemen)o(ts)f(need)i(to)f(b)q +(e)h(remo)o(v)o(ed.)42 2277 y(X3J13)j(v)o(oted)h(in)f(Jan)o(uary)h +(1989)f Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f +(e\013ects;)k(see)d(sec-)-33 2249 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a(tion)13 b(7.9.)-33 2340 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 428 452 +428 451 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(428)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(delete)20 b Fv(item)k(se)n(quenc)n(e)h Fs(&key)20 +b(:from-end)g(:test)g(:test-not)152 347 y(:start)g(:end)g(:count)g +(:key)1209 399 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b +Fs(delete-if)19 b Fv(pr)n(e)n(dic)n(ate)24 b(se)n(quenc)n(e)h +Fs(&key)c(:from-end)217 450 y(:start)f(:end)h(:count)f(:key)1209 +502 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(delete-if-not)18 +b Fv(pr)n(e)n(dic)n(ate)24 b(se)n(quenc)n(e)h Fs(&key)c(:from-end)304 +554 y(:start)f(:end)h(:count)f(:key)0 632 y Fw(This)12 +b(is)h(the)g(destructiv)o(e)h(coun)o(terpart)g(to)e Fs(remove)p +Fw(.)17 b(The)c(result)g(is)f(a)g(sequence)j(of)d(the)0 +684 y(same)h(kind)h(as)h(the)g(argumen)o(t)e Fv(se)n(quenc)n(e)i +Fw(that)g(has)f(the)h(same)f(elemen)o(ts)g(except)i(that)0 +736 y(those)11 b(in)g(the)g(subsequence)i(delimited)c(b)o(y)i +Fs(:start)e Fw(and)h Fs(:end)g Fw(and)h(satisfying)e(the)j(test)0 +788 y(\(see)h(ab)q(o)o(v)o(e\))f(ha)o(v)o(e)g(b)q(een)h(deleted.)19 +b(This)12 b(is)g(a)f(destructiv)o(e)j(op)q(eration.)j(The)c(argumen)o +(t)0 839 y Fv(se)n(quenc)n(e)20 b Fw(ma)o(y)d(b)q(e)i(destro)o(y)o(ed)h +(and)f(used)h(to)e(construct)j(the)e(result;)j(ho)o(w)o(ev)o(er,)e(the) +0 891 y(result)15 b(ma)o(y)e(or)i(ma)o(y)d(not)j(b)q(e)g +Fs(eq)f Fw(to)h Fv(se)n(quenc)n(e)p Fw(.)21 b(Elemen)o(ts)14 +b(not)h(deleted)g(o)q(ccur)h(in)e(the)0 943 y(same)f(order)i(in)e(the)i +(result)f(as)g(they)h(did)e(in)g(the)i(argumen)o(t.)42 +996 y(The)g Fs(:count)g Fw(argumen)o(t,)f(if)h(supplied,)g(limits)e +(the)j(n)o(um)o(b)q(er)f(of)g(elemen)o(ts)g(deleted;)0 +1048 y(if)d(more)f(than)h Fs(:count)g Fw(elemen)o(ts)g(satisfy)g(the)h +(test,)g(then)g(of)f(these)i(elemen)o(ts)e(only)g(the)0 +1100 y(leftmost)h(are)h(deleted,)g(as)g(man)o(y)e(as)i(sp)q(eci\014ed)i +(b)o(y)d Fs(:count)p Fw(.)42 1153 y(X3J13)k(v)o(oted)h(in)f(Jan)o(uary) +h(1989)f Ft(h)p Fw(148)p Ft(i)g Fw(to)g(clarify)g(that)h(the)g +Fs(:count)f Fw(argumen)o(t)-33 1124 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1205 a(m)o(ust)d(b)q(e)h(either)h Fs(nil)e +Fw(or)h(an)g(in)o(teger,)g(and)f(that)h(supplying)f(a)h(negativ)o(e)g +(in)o(teger)g(pro-)0 1256 y(duces)g(the)g(same)e(b)q(eha)o(vior)g(as)h +(supplying)g(zero.)-33 1268 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1309 a(A)9 b(non-)p Fs(nil)g(:from-end)f +Fw(sp)q(eci\014cation)i(matters)f(only)g(when)h(the)h +Fs(:count)d Fw(argumen)o(t)0 1361 y(is)17 b(pro)o(vided;)h(in)f(that)g +(case)h(only)e(the)i(righ)o(tmost)d Fs(:count)h Fw(elemen)o(ts)h +(satisfying)f(the)0 1413 y(test)f(are)f(deleted.)19 b(F)m(or)14 +b(example:)0 1508 y Fs(\(delete)20 b(4)214 1512 y Fn(')238 +1508 y Fs(\(1)h(2)g(4)g(1)g(3)f(4)h(5\)\))g Ft(\))g Fs(\(1)f(2)h(1)g(3) +g(5\))0 1560 y(\(delete)f(4)214 1564 y Fn(')238 1560 +y Fs(\(1)h(2)g(4)g(1)g(3)f(4)h(5\))g(:count)f(1\))h Ft(\))g +Fs(\(1)f(2)h(1)g(3)g(4)g(5\))0 1611 y(\(delete)f(4)214 +1615 y Fn(')238 1611 y Fs(\(1)h(2)g(4)g(1)g(3)f(4)h(5\))g(:count)f(1)h +(:from-end)e(t\))64 1663 y Ft(\))h Fs(\(1)h(2)g(4)g(1)g(3)g(5\))0 +1715 y(\(delete)f(3)214 1719 y Fn(')238 1715 y Fs(\(1)h(2)g(4)g(1)g(3)f +(4)h(5\))g(:test)f(#)712 1711 y(-)712 1719 y(-)n Fn(')755 +1715 y Fs(>\))h Ft(\))g Fs(\(4)f(3)h(4)g(5\))0 1767 y(\(delete-if)e(#) +239 1763 y(-)239 1771 y(-)n Fn(')282 1767 y Fs(oddp)388 +1771 y Fn(')412 1767 y Fs(\(1)h(2)h(4)g(1)g(3)g(4)g(5\)\))g +Ft(\))f Fs(\(2)h(4)g(4\))0 1819 y(\(delete-if)e(#)239 +1815 y(-)239 1823 y(-)n Fn(')282 1819 y Fs(evenp)410 +1823 y Fn(')433 1819 y Fs(\(1)i(2)g(4)g(1)g(3)g(4)g(5\))g(:count)f(1)h +(:from-end)e(t\))64 1871 y Ft(\))h Fs(\(1)h(2)g(4)g(1)g(3)g(5\))42 +1965 y Fw(X3J13)d(v)o(oted)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k +(see)d(sec-)-33 1936 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2016 a(tion)13 b(7.9.)-33 2028 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2069 a(X3J13)19 b(v)o(oted)h(in)g(Marc)o(h)h(1989)e +Ft(h)p Fw(153)p Ft(i)g Fw(to)h(clarify)f(the)i(p)q(ermissible)e(side)i +(e\013ects)-33 2041 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2121 a(of)c(certain)i(op)q(erations.)30 +b(When)18 b(the)h Fv(se)n(quenc)n(e)f Fw(is)g(a)g(list,)g +Fs(delete)e Fw(is)i(p)q(ermitted)g(to)0 2173 y(p)q(erform)i(a)g +Fs(setf)f Fw(on)i(an)o(y)e(part,)j Fv(c)n(ar)e Fw(or)h +Fv(c)n(dr)p Fw(,)g(of)f(the)h(top-lev)o(el)f(list)g(structure)i(of)0 +2225 y(that)c(list.)29 b(When)18 b(the)g Fv(se)n(quenc)n(e)h +Fw(is)e(an)h(arra)o(y)m(,)f Fs(delete)g Fw(is)g(p)q(ermitted)h(to)f +(alter)h(the)0 2277 y(dimensions)h(of)h(the)h(giv)o(en)f(arra)o(y)g +(and)h(to)f(slide)g(some)g(of)g(its)g(elemen)o(ts)h(in)o(to)e(new)0 +2329 y(p)q(ositions)14 b(without)f(p)q(erm)o(uting)g(them)g(in)g(order) +i(to)f(pro)q(duce)h(the)f(resulting)g(arra)o(y)m(.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 429 453 +429 452 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SEQUENCES)1120 +b(429)42 295 y Fw(F)m(urthermore,)19 b Fs(\(delete-if)g +Fv(pr)n(e)n(dic)n(ate)i(se)n(quenc)n(e)h Fs(...\))c Fw(is)h(required)g +(to)g(b)q(eha)o(v)o(e)0 347 y(exactly)14 b(lik)o(e)0 +432 y Fs(\(delete)20 b(nil)g Fv(se)n(quenc)n(e)169 484 +y Fs(:test)h(#)300 480 y(-)300 488 y(-)m Fn(')342 484 +y Fs(\(lambda)f(\(unused)g(item\))402 536 y(\(declare)g(\(ignore)f +(unused\)\))402 587 y(\(funcall)h Fv(pr)n(e)n(dic)n(ate)h +Fs(item\)\))169 639 y(...\))-33 655 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 699 V 0 759 a Fm(Compatibilit)o(y)12 b(note:)18 +b FA(In)13 b(MacLisp,)i(the)e Fj(delete)e FA(function)j(uses)g(an)g +Fj(equal)d FA(comparison)0 805 y(rather)16 b(than)g Fj(eql)p +FA(,)e(whic)o(h)i(is)g(the)f(default)h(test)g(for)f Fj(delete)d +FA(in)k(Common)g(Lisp.)25 b(Where)16 b(in)0 851 y(MacLisp)f(one)f(w)o +(ould)h(write)f Fj(\(delete)i(x)i(y\))p FA(,)13 b(one)h(m)o(ust)g(in)g +(Common)g(Lisp)h(write)e Fj(\(delete)0 896 y(x)18 b(y)h(:test)d(#)193 +893 y(-)193 899 y(-)n Fs(')232 896 y Fj(equal\))c FA(to)k(get)f(the)h +(completely)h(iden)o(tical)h(e\013ect.)24 b(Similarl)q(y)m(,)18 +b(one)e(can)g(get)0 942 y(the)d(precise)i(e\013ect,)e(and)g(no)h(more,) +f(of)g(the)g(MacLisp)h Fj(\(delq)j(x)h(y\))13 b FA(b)o(y)g(writing)h +(in)g(Common)0 988 y(Lisp)g Fj(\(delete)i(x)i(y)h(:test)d(#)433 +985 y(-)433 991 y(-)n Fs(')472 988 y Fj(eq\))p FA(.)p +0 1023 V 1209 1129 a Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(remove-duplicates)18 b Fv(se)n(quenc)n(e)25 b Fs(&key)20 +b(:from-end)f(:test)392 1181 y(:test-not)g(:start)h(:end)g(:key)1209 +1233 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(delete-duplicates)18 +b Fv(se)n(quenc)n(e)25 b Fs(&key)20 b(:from-end)f(:test)392 +1285 y(:test-not)g(:start)h(:end)g(:key)0 1361 y Fw(The)14 +b(elemen)o(ts)g(of)f Fv(se)n(quenc)n(e)i Fw(are)f(compared)f(pairwise,) +g(and)h(if)f(an)o(y)h(t)o(w)o(o)f(matc)o(h,)f(then)0 +1413 y(the)k(one)g(o)q(ccurring)g(earlier)g(in)f(the)h(sequence)i(is)d +(discarded)i(\(but)f(if)e(the)j Fs(:from-end)0 1465 y +Fw(argumen)o(t)12 b(is)h(true,)h(then)f(the)h(one)g(later)f(in)f(the)i +(sequence)i(is)c(discarded\).)19 b(The)14 b(result)0 +1517 y(is)c(a)h(sequence)h(of)e(the)h(same)f(kind)g(as)h(the)g(argumen) +o(t)e(sequence)k(with)d(enough)h(elemen)o(ts)0 1569 y(remo)o(v)o(ed)k +(so)h(that)g(no)g(t)o(w)o(o)f(of)g(the)i(remaining)c(elemen)o(ts)j +(matc)o(h.)23 b(The)16 b(order)h(of)e(the)0 1621 y(elemen)o(ts)c +(remaining)e(in)i(the)h(result)g(is)f(the)h(same)e(as)i(the)g(order)g +(in)e(whic)o(h)i(they)f(app)q(ear)0 1673 y(in)i Fv(se)n(quenc)n(e)p +Fw(.)42 1725 y Fs(remove-duplicat)o(es)g Fw(is)j(the)g(non-destructiv)o +(e)h(v)o(ersion)f(of)f(this)h(op)q(eration.)24 b(The)0 +1777 y(result)17 b(of)f Fs(remove-duplicates)d Fw(ma)o(y)i(share)i +(with)f(the)h(argumen)o(t)f Fv(se)n(quenc)n(e)p Fw(;)i(a)e(list)0 +1828 y(result)i(ma)o(y)d(share)i(a)g(tail)f(with)g(an)h(input)f(list,)h +(and)g(the)g(result)h(ma)o(y)d(b)q(e)i Fs(eq)f Fw(to)h(the)0 +1880 y(input)d Fv(se)n(quenc)n(e)g Fw(if)f(no)h(elemen)o(ts)g(need)h +(to)e(b)q(e)i(remo)o(v)o(ed.)42 1932 y Fs(delete-duplicat)o(es)c +Fw(ma)o(y)h(destro)o(y)i(the)h(argumen)o(t)e Fv(se)n(quenc)n(e)p +Fw(.)42 1984 y(Some)f(examples:)0 2069 y Fs(\(remove-duplicate)o(s)411 +2073 y Fn(')435 2069 y Fs(\(a)20 b(b)h(c)g(b)g(d)g(d)g(e\)\))g +Ft(\))f Fs(\(a)h(c)g(b)g(d)g(e\))0 2121 y(\(remove-duplicate)o(s)411 +2125 y Fn(')435 2121 y Fs(\(a)f(b)h(c)g(b)g(d)g(d)g(e\))g(:from-end)e +(t\))i Ft(\))g Fs(\(a)f(b)h(c)g(d)g(e\))0 2173 y(\(remove-duplicate)o +(s)411 2177 y Fn(')435 2173 y Fs(\(\(foo)f(#)565 2169 +y(-)565 2177 y(-)587 2173 y(\\a\))g(\(bar)g(#)781 2169 +y(-)781 2177 y(-)803 2173 y(\\\045\))h(\(baz)f(#)998 +2169 y(-)998 2177 y(-)1020 2173 y(\\A\)\))402 2225 y(:test)g(#)532 +2221 y(-)532 2229 y(-)n Fn(')575 2225 y Fs(char-equal)f(:key)i(#)923 +2221 y(-)923 2229 y(-)m Fn(')966 2225 y Fs(cadr\))64 +2277 y Ft(\))f Fs(\(\(bar)g(#)256 2273 y(-)256 2281 y(-)278 +2277 y(\\\045\))h(\(baz)f(#)473 2273 y(-)473 2281 y(-)495 +2277 y(\\A\)\))0 2329 y(\(remove-duplicate)o(s)411 2333 +y Fn(')435 2329 y Fs(\(\(foo)g(#)565 2325 y(-)565 2333 +y(-)587 2329 y(\\a\))g(\(bar)g(#)781 2325 y(-)781 2333 +y(-)803 2329 y(\\\045\))h(\(baz)f(#)998 2325 y(-)998 +2333 y(-)1020 2329 y(\\A\)\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 430 454 +430 453 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(430)77 b(COMMON)13 +b(LISP)402 295 y Fs(:test)20 b(#)532 291 y(-)532 299 +y(-)n Fn(')575 295 y Fs(char-equal)f(:key)i(#)923 291 +y(-)923 299 y(-)m Fn(')966 295 y Fs(cadr)f(:from-end)f(t\))64 +347 y Ft(\))h Fs(\(\(foo)g(#)256 343 y(-)256 351 y(-)278 +347 y(\\a\))h(\(bar)f(#)473 343 y(-)473 351 y(-)495 347 +y(\\\045\)\))42 432 y Fw(These)15 b(functions)g(are)g(useful)g(for)f +(con)o(v)o(erting)h(a)f(sequence)j(in)o(to)d(a)h(canonical)e(form)0 +484 y(suitable)h(for)f(represen)o(ting)j(a)d(set.)42 +535 y(X3J13)18 b(v)o(oted)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k +(see)d(sec-)-33 507 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 587 a(tion)13 b(7.9.)-33 599 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 639 a(X3J13)19 b(v)o(oted)h(in)g(Marc)o(h)h(1989)e +Ft(h)p Fw(153)p Ft(i)g Fw(to)h(clarify)f(the)i(p)q(ermissible)e(side)i +(e\013ects)-33 611 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 691 a(of)d(certain)i(op)q(erations.)33 +b(When)19 b(the)g Fv(se)n(quenc)n(e)h Fw(is)f(a)f(list,)i +Fs(delete-duplicat)o(es)c Fw(is)0 743 y(p)q(ermitted)j(to)g(p)q(erform) +f(a)h Fs(setf)g Fw(on)g(an)o(y)f(part,)i Fv(c)n(ar)f +Fw(or)g Fv(c)n(dr)p Fw(,)h(of)f(the)h(top-lev)o(el)e(list)0 +795 y(structure)e(of)e(that)g(list.)19 b(When)c(the)g +Fv(se)n(quenc)n(e)g Fw(is)f(an)g(arra)o(y)m(,)f Fs(delete-duplicates)e +Fw(is)0 847 y(p)q(ermitted)k(to)f(alter)h(the)h(dimensions)d(of)h(the)i +(giv)o(en)e(arra)o(y)h(and)f(to)h(slide)g(some)f(of)g(its)0 +899 y(elemen)o(ts)f(in)o(to)g(new)h(p)q(ositions)f(without)h(p)q(erm)o +(uting)e(them)h(in)g(order)h(to)f(pro)q(duce)i(the)0 +951 y(resulting)f(arra)o(y)m(.)-33 962 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1077 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(substitute)19 b Fv(newitem)24 b(olditem)g(se)n(quenc)n(e)h +Fs(&key)20 b(:from-end)239 1129 y(:test)g(:test-not)g(:start)f(:end)i +(:count)f(:key)1209 1181 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(substitute-if)18 b Fv(newitem)24 b(test)h(se)n(quenc)n(e)g +Fs(&key)c(:from-end)304 1233 y(:start)f(:end)h(:count)f(:key)1209 +1285 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(substitute-if-not)18 +b Fv(newitem)24 b(test)g(se)n(quenc)n(e)h Fs(&key)c(:from-end)392 +1337 y(:start)f(:end)g(:count)g(:key)0 1413 y Fw(The)15 +b(result)f(is)g(a)g(sequence)j(of)c(the)i(same)e(kind)h(as)g(the)h +(argumen)o(t)e Fv(se)n(quenc)n(e)h Fw(that)h(has)0 1465 +y(the)f(same)f(elemen)o(ts)g(except)i(that)e(those)i(in)e(the)h +(subsequence)i(delimited)c(b)o(y)h Fs(:start)0 1517 y +Fw(and)h Fs(:end)f Fw(and)h(satisfying)f(the)i(test)g(\(see)g(ab)q(o)o +(v)o(e\))f(ha)o(v)o(e)g(b)q(een)h(replaced)g(b)o(y)f +Fv(newitem)p Fw(.)0 1569 y(This)e(is)g(a)g(non-destructiv)o(e)h(op)q +(eration;)g(the)f(result)h(is)f(a)g(cop)o(y)g(of)g(the)g(input)g +Fv(se)n(quenc)n(e)p Fw(,)0 1621 y(sa)o(v)o(e)i(that)g(some)f(elemen)o +(ts)h(are)g(c)o(hanged.)42 1673 y(The)i Fs(:count)e Fw(argumen)o(t,)h +(if)g(supplied,)h(limits)e(the)i(n)o(um)o(b)q(er)g(of)f(elemen)o(ts)h +(altered;)0 1725 y(if)c(more)f(than)h Fs(:count)g Fw(elemen)o(ts)g +(satisfy)g(the)h(test,)g(then)g(of)f(these)i(elemen)o(ts)e(only)g(the)0 +1777 y(leftmost)h(are)h(replaced,)g(as)g(man)o(y)e(as)i(sp)q(eci\014ed) +i(b)o(y)d Fs(:count)p Fw(.)42 1829 y(X3J13)k(v)o(oted)h(in)f(Jan)o +(uary)h(1989)f Ft(h)p Fw(148)p Ft(i)g Fw(to)g(clarify)g(that)h(the)g +Fs(:count)f Fw(argumen)o(t)-33 1800 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1880 a(m)o(ust)d(b)q(e)h(either)h Fs(nil)e +Fw(or)h(an)g(in)o(teger,)g(and)f(that)h(supplying)f(a)h(negativ)o(e)g +(in)o(teger)g(pro-)0 1932 y(duces)g(the)g(same)e(b)q(eha)o(vior)g(as)h +(supplying)g(zero.)-33 1944 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1984 a(A)9 b(non-)p Fs(nil)g(:from-end)f +Fw(sp)q(eci\014cation)i(matters)f(only)g(when)h(the)h +Fs(:count)d Fw(argumen)o(t)0 2036 y(is)17 b(pro)o(vided;)h(in)f(that)g +(case)h(only)e(the)i(righ)o(tmost)d Fs(:count)h Fw(elemen)o(ts)h +(satisfying)f(the)0 2088 y(test)f(are)f(replaced.)19 +b(F)m(or)14 b(example:)0 2173 y Fs(\(substitute)19 b(9)i(4)345 +2177 y Fn(')368 2173 y Fs(\(1)g(2)g(4)g(1)g(3)g(4)g(5\)\))f +Ft(\))h Fs(\(1)g(2)g(9)f(1)h(3)g(9)g(5\))0 2225 y(\(substitute)e(9)i(4) +345 2229 y Fn(')368 2225 y Fs(\(1)g(2)g(4)g(1)g(3)g(4)g(5\))f(:count)g +(1\))h Ft(\))g Fs(\(1)f(2)h(9)g(1)g(3)g(4)g(5\))0 2277 +y(\(substitute)e(9)i(4)345 2281 y Fn(')368 2277 y Fs(\(1)g(2)g(4)g(1)g +(3)g(4)g(5\))f(:count)g(1)h(:from-end)f(t\))64 2329 y +Ft(\))g Fs(\(1)h(2)g(4)g(1)g(3)g(9)g(5\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 431 455 +431 454 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SEQUENCES)1120 +b(431)0 295 y Fs(\(substitute)19 b(9)i(3)345 299 y Fn(')368 +295 y Fs(\(1)g(2)g(4)g(1)g(3)g(4)g(5\))f(:test)g(#)842 +291 y(-)842 299 y(-)n Fn(')885 295 y Fs(>\))h Ft(\))g +Fs(\(9)g(9)g(4)g(9)g(3)f(4)h(5\))0 347 y(\(substitute-if)d(9)j(#)369 +343 y(-)369 351 y(-)n Fn(')412 347 y Fs(oddp)518 351 +y Fn(')542 347 y Fs(\(1)f(2)h(4)g(1)g(3)g(4)g(5\)\))g +Ft(\))g Fs(\(9)f(2)h(4)g(9)g(9)g(4)g(9\))0 399 y(\(substitute-if)d(9)j +(#)369 395 y(-)369 403 y(-)n Fn(')412 399 y Fs(evenp)540 +403 y Fn(')564 399 y Fs(\(1)f(2)h(4)g(1)g(3)g(4)g(5\))g(:count)f(1)h +(:from-end)e(t\))64 450 y Ft(\))h Fs(\(1)h(2)g(4)g(1)g(3)g(9)g(5\))0 +546 y Fw(The)13 b(result)f(of)g Fs(substitute)e Fw(ma)o(y)g(share)j +(with)f(the)h(argumen)o(t)d Fv(se)n(quenc)n(e)p Fw(;)k(a)d(list)h +(result)0 598 y(ma)o(y)j(share)j(a)f(tail)f(with)h(an)g(input)g(list,)g +(and)g(the)h(result)f(ma)o(y)f(b)q(e)h Fs(eq)g Fw(to)g(the)h(input)0 +650 y Fv(se)n(quenc)n(e)d Fw(if)e(no)g(elemen)o(ts)h(need)h(to)f(b)q(e) +g(c)o(hanged.)42 703 y(See)g(also)g Fs(subst)p Fw(,)e(whic)o(h)i(p)q +(erforms)f(substitutions)i(throughout)e(a)h(tree.)42 +756 y(X3J13)k(v)o(oted)h(in)f(Jan)o(uary)h(1989)f Ft(h)p +Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k(see)d +(sec-)-33 728 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 808 a(tion)13 b(7.9.)-33 819 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 992 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(nsubstitute)19 b Fv(newitem)24 b(olditem)g(se)n(quenc)n(e)h +Fs(&key)20 b(:from-end)261 1043 y(:test)g(:test-not)f(:start)h(:end)h +(:count)f(:key)1209 1095 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(nsubstitute-if)18 b Fv(newitem)24 b(test)h(se)n(quenc)n(e)g +Fs(&key)20 b(:from-end)326 1147 y(:start)g(:end)h(:count)e(:key)1209 +1199 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(nsubstitute-if-no)o(t)18 +b Fv(newitem)24 b(test)h(se)n(quenc)n(e)g Fs(&key)c(:from-end)42 +1251 y(:start)f(:end)h(:count)f(:key)0 1329 y Fw(This)15 +b(is)g(the)g(destructiv)o(e)i(coun)o(terpart)f(to)f Fs(substitute)p +Fw(.)20 b(The)15 b(result)h(is)f(a)g(sequence)0 1381 +y(of)d(the)g(same)f(kind)h(as)g(the)h(argumen)o(t)e Fv(se)n(quenc)n(e)i +Fw(that)f(has)g(the)h(same)e(elemen)o(ts)h(except)0 1433 +y(that)k(those)h(in)e(the)i(subsequence)i(delimited)14 +b(b)o(y)i Fs(:start)f Fw(and)h Fs(:end)f Fw(and)h(satisfying)0 +1485 y(the)j(test)g(\(see)h(ab)q(o)o(v)o(e\))e(ha)o(v)o(e)g(b)q(een)h +(replaced)g(b)o(y)f Fv(newitem)p Fw(.)31 b(This)18 b(is)g(a)g +(destructiv)o(e)0 1537 y(op)q(eration.)25 b(The)16 b(argumen)o(t)f +Fv(se)n(quenc)n(e)i Fw(ma)o(y)d(b)q(e)j(destro)o(y)o(ed)g(and)f(used)h +(to)f(construct)0 1588 y(the)e(result;)h(ho)o(w)o(ev)o(er,)e(the)i +(result)g(ma)o(y)d(or)h(ma)o(y)f(not)i(b)q(e)h Fs(eq)e +Fw(to)h Fv(se)n(quenc)n(e)p Fw(.)42 1642 y(See)20 b(also)g +Fs(nsubst)p Fw(,)f(whic)o(h)h(p)q(erforms)g(destructiv)o(e)h +(substitutions)g(throughout)f(a)0 1693 y(tree.)42 1746 +y(X3J13)e(v)o(oted)h(in)f(Jan)o(uary)h(1989)f Ft(h)p +Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k(see)d +(sec-)-33 1718 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1798 a(tion)13 b(7.9.)-33 1810 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1851 a(X3J13)25 b(v)o(oted)i(in)e(Marc)o(h)i(1989)e +Ft(h)p Fw(153)p Ft(i)h Fw(to)g(clarify)f(the)i(p)q(ermissible)e(side)i +(ef-)-33 1823 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1903 a(fects)21 b(of)f(certain)h(op)q(erations.)38 +b(When)21 b(the)g Fv(se)n(quenc)n(e)g Fw(is)f(a)h(list,)g +Fs(nsubstitute)d Fw(or)0 1955 y Fs(nsubstitute-if)9 b +Fw(is)k(required)g(to)f(p)q(erform)f(a)h Fs(setf)g Fw(on)g(an)o(y)g +Fv(c)n(ar)g Fw(of)f(the)i(top-lev)o(el)f(list)0 2007 +y(structure)17 b(of)d(that)h(list)f(whose)i(old)e(con)o(ten)o(ts)i(m)o +(ust)d(b)q(e)j(replaced)g(with)e Fv(newitem)h Fw(but)0 +2059 y(is)g(forbidden)f(to)h(p)q(erform)f(a)h Fs(setf)f +Fw(on)g(an)o(y)h Fs(cdr)f Fw(of)g(the)h(list.)21 b(When)15 +b(the)g Fv(se)n(quenc)n(e)h Fw(is)0 2111 y(an)e(arra)o(y)m(,)f +Fs(nsubstitute)f Fw(or)j Fs(nsubstitute-if)c Fw(is)j(required)i(to)e(p) +q(erform)f(a)h Fs(setf)g Fw(on)0 2163 y(an)o(y)g(elemen)o(t)f(of)g(the) +i(arra)o(y)f(whose)g(old)f(con)o(ten)o(ts)j(m)o(ust)c(b)q(e)j(replaced) +g(with)f Fv(newitem)p Fw(.)0 2215 y(These)e(functions,)f(therefore,)h +(ma)o(y)d(successfully)j(b)q(e)g(used)f(solely)f(for)h(e\013ect,)h(the) +g(caller)0 2267 y(discarding)e(the)h(returned)h(v)n(alue)e(\(though)g +(some)f(programmers)f(\014nd)j(this)f(st)o(ylistically)0 +2318 y(distasteful\).)-33 2330 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 14 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 432 456 +432 455 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(432)77 b(COMMON)13 +b(LISP)0 295 y Fo(14.4.)20 b(Searc)n(hing)15 b(Sequences)f(for)h(Items) +0 390 y Fw(Eac)o(h)i(of)f(these)i(functions)f(searc)o(hes)h(a)f +(sequence)h(to)f(lo)q(cate)g(one)g(or)f(more)g(elemen)o(ts)0 +441 y(satisfying)d(some)g(test.)1209 605 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(find)20 b Fv(item)k(se)n(quenc)n(e)h +Fs(&key)c(:from-end)e(:test)h(:test-not)108 657 y(:start)g(:end)h(:key) +1209 709 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(find-if)20 +b Fv(pr)n(e)n(dic)n(ate)k(se)n(quenc)n(e)h Fs(&key)20 +b(:from-end)f(:start)h(:end)174 760 y(:key)1209 812 y +Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(find-if-not)19 +b Fv(pr)n(e)n(dic)n(ate)24 b(se)n(quenc)n(e)h Fs(&key)20 +b(:from-end)261 864 y(:start)g(:end)g(:key)0 942 y Fw(If)12 +b(the)h Fv(se)n(quenc)n(e)h Fw(con)o(tains)e(an)h(elemen)o(t)f +(satisfying)g(the)h(test,)g(then)h(the)f(leftmost)e(suc)o(h)0 +994 y(elemen)o(t)i(is)h(returned;)h(otherwise)g Fs(nil)e +Fw(is)h(returned.)42 1046 y(If)e Fs(:start)g Fw(and)g +Fs(:end)g Fw(k)o(eyw)o(ord)h(argumen)o(ts)f(are)i(giv)o(en,)e(only)g +(the)h(sp)q(eci\014ed)i(subse-)0 1098 y(quence)g(of)e +Fv(se)n(quenc)n(e)i Fw(is)f(searc)o(hed.)42 1151 y(If)h(a)h(non-)p +Fs(nil)g(:from-end)e Fw(k)o(eyw)o(ord)j(argumen)o(t)e(is)h(sp)q +(eci\014ed,)i(then)f(the)g(result)g(is)0 1203 y(the)d +Fv(rightmost)g Fw(elemen)o(t)f(satisfying)g(the)h(test.)42 +1255 y(X3J13)k(v)o(oted)h(in)f(Jan)o(uary)h(1989)f Ft(h)p +Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k(see)d +(sec-)-33 1227 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1307 a(tion)13 b(7.9.)-33 1319 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1471 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(position)20 b Fv(item)j(se)n(quenc)n(e)j Fs(&key)20 +b(:from-end)f(:test)h(:test-not)196 1523 y(:start)f(:end)i(:key)1209 +1574 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(position-if)19 +b Fv(pr)n(e)n(dic)n(ate)24 b(se)n(quenc)n(e)h Fs(&key)20 +b(:from-end)261 1626 y(:start)g(:end)g(:key)1209 1678 +y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(position-if-not)18 +b Fv(pr)n(e)n(dic)n(ate)24 b(se)n(quenc)n(e)h Fs(&key)20 +b(:from-end)348 1730 y(:start)g(:end)g(:key)0 1808 y +Fw(If)13 b(the)i Fv(se)n(quenc)n(e)f Fw(con)o(tains)g(an)f(elemen)o(t)h +(satisfying)e(the)j(test,)f(then)g(the)h(index)e(within)0 +1860 y(the)d(sequence)i(of)d(the)i(leftmost)d(suc)o(h)i(elemen)o(t)f +(is)h(returned)h(as)f(a)f(non-negativ)o(e)h(in)o(teger;)0 +1911 y(otherwise)15 b Fs(nil)e Fw(is)h(returned.)42 1964 +y(If)e Fs(:start)g Fw(and)g Fs(:end)g Fw(k)o(eyw)o(ord)h(argumen)o(ts)f +(are)i(giv)o(en,)e(only)g(the)h(sp)q(eci\014ed)i(subse-)0 +2016 y(quence)f(of)e Fv(se)n(quenc)n(e)i Fw(is)f(searc)o(hed.)19 +b(Ho)o(w)o(ev)o(er,)13 b(the)h(index)e(returned)j(is)e(relativ)o(e)f +(to)h(the)0 2068 y(en)o(tire)i(sequence,)g(not)f(to)g(the)g +(subsequence.)42 2120 y(If)h(a)h(non-)p Fs(nil)g(:from-end)e +Fw(k)o(eyw)o(ord)j(argumen)o(t)e(is)h(sp)q(eci\014ed,)i(then)f(the)g +(result)g(is)0 2172 y(the)f(index)g(of)f(the)h Fv(rightmost)f +Fw(elemen)o(t)g(satisfying)f(the)j(test.)24 b(\(The)16 +b(index)f(returned,)0 2224 y(ho)o(w)o(ev)o(er,)f(is)g(an)f(index)h +(from)e(the)j(left-hand)e(end,)h(as)g(usual.\))42 2277 +y(X3J13)k(v)o(oted)h(in)f(Jan)o(uary)h(1989)f Ft(h)p +Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k(see)d +(sec-)-33 2249 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a(tion)13 b(7.9.)-33 2340 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 433 457 +433 456 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SEQUENCES)1120 +b(433)42 295 y Fw(Here)16 b(is)g(a)f(simple)f(piece)i(of)f(co)q(de)h +(that)g(uses)h(sev)o(eral)f(of)e(the)i(sequence)i(functions,)-33 +266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(notably)13 b Fs(position-if)f Fw(and)i +Fs(find-if)p Fw(,)e(to)i(pro)q(cess)i(strings.)j(Note)c(one)f(use)h(of) +f Fs(loop)0 399 y Fw(as)g(w)o(ell.)0 547 y Fs(\(defun)20 +b(debug-palindrome)e(\(s\))42 599 y(\(flet)i(\(\(match)g(\(x\))h +(\(char-equal)e(\(first)h(x\))g(\(third)g(x\)\)\)\))85 +651 y(\(let*)g(\(\(pairs)g(\(loop)g(for)g(c)h(across)f(s)508 +703 y(for)h(j)g(from)f(0)508 755 y(when)g(\(alpha-char-p)f(c\))550 +806 y(collect)h(\(list)g(c)h(j\)\)\))233 858 y(\(quads)f(\(mapcar)g(#) +559 854 y(-)559 862 y(-)m Fn(')601 858 y Fs(append)g(pairs)h(\(reverse) +e(pairs\)\)\))233 910 y(\(diffpos)g(\(position-if)g(\(complement)g(#) +972 906 y(-)972 914 y(-)n Fn(')1015 910 y Fs(match\))h(quads\)\)\))127 +962 y(\(when)g(diffpos)169 1014 y(\(let*)h(\(\(diff)e(\(elt)i(quads)f +(diffpos\)\))318 1066 y(\(same)g(\(find-if)f(#)643 1062 +y(-)643 1070 y(-)n Fn(')686 1066 y Fs(match)h(quads)635 +1118 y(:start)g(\(+)h(diffpos)f(1\)\)\)\))212 1170 y(\(if)g(same)296 +1222 y(\(format)g(nil)466 1273 y("/)508 1277 y Fn(~)531 +1273 y Fs(A/)g(\(at)680 1277 y Fn(~)703 1273 y Fs(D\))h(is)g(not)f(the) +h(reverse)e(of)i(/)1264 1277 y Fn(~)1287 1273 y Fs(A/")466 +1325 y(\(subseq)e(s)i(\(second)f(diff\))g(\(second)g(same\)\))466 +1377 y(\(second)f(diff\))466 1429 y(\(subseq)g(s)i(\(+)g(\(fourth)f +(same\))g(1\))677 1481 y(\(+)h(\(fourth)f(diff\))g(1\)\)\))296 +1533 y("This)h(palindrome)e(is)h(completely)f(messed)h +(up!"\)\)\)\)\)\))0 1675 y Fw(Here)15 b(is)f(an)g(example)e(of)h(its)h +(b)q(eha)o(vior.)0 1823 y Fs(\(setq)20 b(panama)105 b(;)p +Fw(A)14 b(putativ)o(e)f(palindrome?)127 1875 y Fs("A)21 +b(man,)f(a)h(plan,)f(a)h(canoe,)f(pasta,)g(heros,)g(rajahs,)148 +1927 y(a)h(coloratura,)e(maps,)h(waste,)g(percale,)g(macaroni,)f(a)i +(gag,)148 1979 y(a)g(banana)f(bag,)g(a)h(tan,)g(a)g(tag,)f(a)h(banana)f +(bag)g(again)148 2031 y(\(or)h(a)g(camel\),)e(a)i(crepe,)f(pins,)g +(Spam,)h(a)g(rut,)f(a)h(Rolo,)148 2083 y(cash,)f(a)h(jar,)g(sore)f +(hats,)g(a)h(peon,)f(a)h(canal--Panama!"\))0 2225 y(\(debug-palindrome) +d(panama\))42 2277 y Ft(\))j Fs("/wast/)f(\(at)g(73\))h(is)g(not)f(the) +h(reverse)e(of)i(/,)g(pins/")-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 434 458 +434 457 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(434)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(replace)20 b(panama)f("snipe")h(:start1)g(73\))105 +b(;)p Fw(Repair)13 b(it)42 347 y Ft(\))21 b Fs("A)g(man,)f(a)h(plan,)f +(a)h(canoe,)f(pasta,)g(heros,)g(rajahs,)148 399 y(a)h(coloratura,)e +(maps,)h(snipe,)g(percale,)g(macaroni,)f(a)i(gag,)148 +450 y(a)g(banana)f(bag,)g(a)h(tan,)g(a)g(tag,)f(a)h(banana)f(bag)g +(again)148 502 y(\(or)h(a)g(camel\),)e(a)i(crepe,)f(pins,)g(Spam,)h(a)g +(rut,)f(a)h(Rolo,)148 554 y(cash,)f(a)h(jar,)g(sore)f(hats,)g(a)h +(peon,)f(a)h(canal--Panama!")0 658 y(\(debug-palindrome)d(panama\))h +Ft(\))i Fs(nil)105 b(;)p Fw(Copacetic|a)14 b(true)h(palindrome)0 +762 y Fs(\(debug-palindrome)j("Rubber)h(baby)i(buggy)f(bumpers"\))42 +814 y Ft(\))h Fs("/Rubber)f(/)h(\(at)f(0\))h(is)g(not)f(the)h(reverse)e +(of)i(/umpers/")0 917 y(\(debug-palindrome)d("Common)h(Lisp:)i(The)f +(Language"\))42 969 y Ft(\))h Fs("/Commo/)f(\(at)g(0\))h(is)g(not)f +(the)h(reverse)e(of)i(/guage/")0 1073 y(\(debug-palindrome)d("Complete) +h(mismatches)g(are)i(hard)f(to)h(find"\))42 1125 y Ft(\))42 +1177 y Fs("/Complete)e(mism/)i(\(at)f(0\))h(is)g(not)f(the)h(reverse)e +(of)i(/re)g(hard)f(to)h(find/")0 1281 y(\(debug-palindrome)d("Waltz,)h +(nymph,)h(for)h(quick)f(jigs)g(vex)h(Bud"\))42 1333 y +Ft(\))g Fs("This)f(palindrome)f(is)i(completely)e(messed)h(up!")0 +1436 y(\(debug-palindrome)e("Doc,)i(note:)g(I)h(dissent.)41 +b(A)21 b(fast)f(never)402 1488 y(prevents)g(a)h(fatness.)40 +b(I)21 b(diet)g(on)f(cod."\))42 1540 y Ft(\))p Fs(nil)105 +b(;)p Fw(Another)15 b(winner)0 1644 y Fs(\(debug-palindrome)j("Top)i +(step)586 1648 y Fn(')608 1644 y Fs(s)h(pup)715 1648 +y Fn(')738 1644 y Fs(s)g(pet)f(spot"\))g Ft(\))h Fs(nil)-33 +1659 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1834 a Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(count)20 b Fv(item)k(se)n(quenc)n(e)h Fs(&key)c(:from-end)e(:test) +h(:test-not)130 1886 y(:start)g(:end)g(:key)1209 1938 +y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(count-if)20 +b Fv(pr)n(e)n(dic)n(ate)j(se)n(quenc)n(e)j Fs(&key)20 +b(:from-end)196 1990 y(:start)f(:end)i(:key)1209 2042 +y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(count-if-not)19 +b Fv(pr)n(e)n(dic)n(ate)24 b(se)n(quenc)n(e)h Fs(&key)20 +b(:from-end)283 2094 y(:start)g(:end)g(:key)0 2172 y +Fw(The)e(result)g(is)g(alw)o(a)o(ys)e(a)i(non-negativ)o(e)f(in)o +(teger,)h(the)h(n)o(um)o(b)q(er)e(of)g(elemen)o(ts)g(in)g(the)0 +2224 y(sp)q(eci\014ed)e(subsequence)i(of)c Fv(se)n(quenc)n(e)i +Fw(satisfying)e(the)h(test.)42 2277 y(The)e Fs(:from-end)f +Fw(argumen)o(t)h(do)q(es)h(not)f(a\013ect)i(the)f(result)g(returned;)h +(it)f(is)f(accepted)0 2329 y(purely)i(for)g(compatibilit)o(y)c(with)k +(other)g(sequence)i(functions.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 435 459 +435 458 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SEQUENCES)1120 +b(435)42 295 y Fw(X3J13)18 b(v)o(oted)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k +(see)d(sec-)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(tion)13 b(7.9.)-33 358 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 530 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(mismatch)20 b Fv(se)n(quenc)n(e1)27 b(se)n(quenc)n(e2)h +Fs(&key)21 b(:from-end)e(:test)196 582 y(:test-not)g(:key)h(:start1)g +(:start2)g(:end1)g(:end2)0 660 y Fw(The)11 b(sp)q(eci\014ed)i +(subsequences)h(of)c Fv(se)n(quenc)n(e1)i Fw(and)f Fv(se)n(quenc)n(e2)h +Fw(are)f(compared)f(elemen)o(t-)0 712 y(wise.)29 b(If)17 +b(they)h(are)f(of)g(equal)g(length)g(and)g(matc)o(h)g(in)f(ev)o(ery)j +(elemen)o(t,)e(the)h(result)g(is)0 764 y Fs(nil)p Fw(.)h(Otherwise,)c +(the)g(result)h(is)e(a)g(non-negativ)o(e)g(in)o(teger.)20 +b(This)14 b(result)h(is)g(the)g(index)0 816 y(within)f +Fv(se)n(quenc)n(e1)i Fw(of)f(the)g(leftmost)f(p)q(osition)g(at)h(whic)o +(h)g(the)h(t)o(w)o(o)e(subsequences)k(fail)0 868 y(to)c(matc)o(h;)e +(or,)h(if)g(one)h(subsequence)i(is)e(shorter)h(than)f(and)f(a)h(matc)o +(hing)e(pre\014x)i(of)f(the)0 920 y(other,)18 b(the)f(result)h(is)f +(the)g(index)g(relativ)o(e)g(to)f Fv(se)n(quenc)n(e1)i +Fw(b)q(ey)o(ond)f(the)h(last)e(p)q(osition)0 972 y(tested.)42 +1025 y(If)10 b(a)h(non-)p Fs(nil)f(:from-end)g Fw(k)o(eyw)o(ord)h +(argumen)o(t)f(is)h(giv)o(en,)g(then)h Fv(one)h(plus)e +Fw(the)h(index)0 1076 y(of)i(the)i Fv(rightmost)e Fw(p)q(osition)g(in)g +(whic)o(h)h(the)h(sequences)h(di\013er)e(is)g(returned.)23 +b(In)15 b(e\013ect,)0 1128 y(the)10 b(\(sub\)sequences)j(are)d(aligned) +f(at)g(their)h(righ)o(t-hand)f(ends;)j(then,)e(the)h(last)e(elemen)o +(ts)0 1180 y(are)17 b(compared,)g(the)h(p)q(en)o(ultimate)d(elemen)o +(ts,)j(and)e(so)i(on.)27 b(The)17 b(index)g(returned)i(is)0 +1232 y(again)13 b(an)g(index)h(relativ)o(e)g(to)g Fv(se)n(quenc)n(e1)p +Fw(.)42 1285 y(X3J13)k(v)o(oted)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k +(see)d(sec-)-33 1257 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1337 a(tion)13 b(7.9.)-33 1349 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1521 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(search)20 b Fv(se)n(quenc)n(e1)28 b(se)n(quenc)n(e2)g +Fs(&key)20 b(:from-end)f(:test)152 1573 y(:test-not)g(:key)i(:start1)e +(:start2)h(:end1)g(:end2)0 1651 y Fw(A)j(searc)o(h)i(is)e(conducted)i +(for)e(a)g(subsequence)j(of)d Fv(se)n(quenc)n(e2)i Fw(that)e(elemen)o +(t-wise)0 1703 y(matc)o(hes)d Fv(se)n(quenc)n(e1)p Fw(.)39 +b(If)20 b(there)i(is)f(no)f(suc)o(h)h(subsequence,)k(the)c(result)g(is) +g Fs(nil)p Fw(;)i(if)0 1754 y(there)16 b(is,)e(the)i(result)f(is)g(the) +g(index)g(in)o(to)f Fv(se)n(quenc)n(e2)i Fw(of)e(the)h(leftmost)f +(elemen)o(t)g(of)g(the)0 1806 y(leftmost)f(suc)o(h)h(matc)o(hing)e +(subsequence.)42 1859 y(If)d(a)g(non-)p Fs(nil)f(:from-end)g +Fw(k)o(eyw)o(ord)h(argumen)o(t)f(is)i(giv)o(en,)f(the)h(index)f(of)g +(the)h(leftmost)0 1911 y(elemen)o(t)j(of)h(the)g Fv(rightmost)f +Fw(matc)o(hing)f(subsequence)17 b(is)d(returned.)42 1964 +y(The)9 b(implemen)o(tation)d(ma)o(y)i(c)o(ho)q(ose)i(to)f(searc)o(h)i +(the)f(sequence)i(in)d(an)o(y)g(order;)i(there)g(is)0 +2016 y(no)j(guaran)o(tee)h(on)f(the)h(n)o(um)o(b)q(er)f(of)g(times)f +(the)i(test)h(is)e(made.)k(F)m(or)c(example,)f Fs(search)0 +2068 y Fw(with)18 b(a)g(non-)p Fs(nil)f(:from-end)f Fw(argumen)o(t)h +(migh)o(t)f(actually)h(searc)o(h)i(a)f(list)g(from)e(left)0 +2120 y(to)j(righ)o(t)g(instead)h(of)f(from)f(righ)o(t)h(to)h(left)f +(\(but)h(in)f(either)h(case)h(w)o(ould)d(return)j(the)0 +2172 y(righ)o(tmost)12 b(matc)o(hing)f(subsequence,)16 +b(of)c(course\).)20 b(Therefore)14 b(it)f(is)g(a)g(go)q(o)q(d)g(idea)g +(for)g(a)0 2224 y(user-supplied)i(predicate)g(to)f(b)q(e)g(free)h(of)e +(side)h(e\013ects.)42 2277 y(X3J13)k(v)o(oted)h(in)f(Jan)o(uary)h(1989) +f Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k +(see)d(sec-)-33 2249 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a(tion)13 b(7.9.)-33 2340 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 436 460 +436 459 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(436)77 b(COMMON)13 +b(LISP)0 295 y Fo(14.5.)20 b(Sorting)15 b(and)g(Merging)0 +383 y Fw(These)e(functions)e(ma)o(y)f(destructiv)o(ely)i(mo)q(dify)e +(argumen)o(t)g(sequences)k(in)d(order)h(to)g(put)0 435 +y(a)i(sequence)i(in)o(to)d(sorted)i(order)f(or)g(to)g(merge)f(t)o(w)o +(o)h(already)f(sorted)i(sequences.)1209 572 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(sort)20 b Fv(se)n(quenc)n(e)25 b(pr)n(e)n(dic)n(ate)f +Fs(&key)d(:key)1209 624 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(stable-sort)19 b Fv(se)n(quenc)n(e)25 b(pr)n(e)n(dic)n(ate)f +Fs(&key)c(:key)12 701 y Fw(The)13 b Fv(se)n(quenc)n(e)g +Fw(is)f(destructiv)o(ely)h(sorted)g(according)f(to)g(an)g(order)h +(determined)f(b)o(y)g(the)0 753 y Fv(pr)n(e)n(dic)n(ate)p +Fw(.)k(The)11 b Fv(pr)n(e)n(dic)n(ate)f Fw(should)g(tak)o(e)g(t)o(w)o +(o)f(argumen)o(ts,)h(and)g(return)h(non-)p Fs(nil)f Fw(if)f(and)0 +804 y(only)j(if)f(the)i(\014rst)h(argumen)o(t)d(is)h(strictly)h(less)g +(than)f(the)h(second)h(\(in)e(some)g(appropriate)0 856 +y(sense\).)30 b(If)17 b(the)g(\014rst)h(argumen)o(t)f(is)g(greater)h +(than)f(or)g(equal)g(to)g(the)h(second)g(\(in)f(the)0 +908 y(appropriate)d(sense\),)h(then)g(the)f Fv(pr)n(e)n(dic)n(ate)g +Fw(should)f(return)i Fs(nil)p Fw(.)42 960 y(The)k Fs(sort)f +Fw(function)g(determines)h(the)h(relationship)e(b)q(et)o(w)o(een)i(t)o +(w)o(o)e(elemen)o(ts)h(b)o(y)0 1012 y(giving)10 b(k)o(eys)i(extracted)h +(from)d(the)i(elemen)o(ts)g(to)f(the)i Fv(pr)n(e)n(dic)n(ate)p +Fw(.)j(The)d Fs(:key)d Fw(argumen)o(t,)0 1064 y(when)i(applied)e(to)h +(an)g(elemen)o(t,)g(should)g(return)h(the)g(k)o(ey)f(for)g(that)g +(elemen)o(t.)17 b(The)12 b Fs(:key)0 1116 y Fw(argumen)o(t)g(defaults)i +(to)f(the)h(iden)o(tit)o(y)f(function,)g(thereb)o(y)h(making)d(the)j +(elemen)o(t)f(itself)0 1168 y(b)q(e)i(the)f(k)o(ey)m(.)42 +1220 y(The)j Fs(:key)e Fw(function)i(should)f(not)h(ha)o(v)o(e)g(an)o +(y)f(side)h(e\013ects.)28 b(A)17 b(useful)g(example)e(of)0 +1272 y(a)20 b Fs(:key)e Fw(function)i(w)o(ould)f(b)q(e)h(a)g(comp)q +(onen)o(t)f(selector)i(function)f(for)f(a)h Fs(defstruct)0 +1324 y Fw(structure,)c(used)e(in)g(sorting)f(a)h(sequence)i(of)d +(structures.)0 1411 y Fs(\(sort)20 b Fv(a)i(p)f Fs(:key)f +Fv(s)p Fs(\))h Ft(\021)h Fs(\(sort)e Fv(a)h Fs(#)609 +1407 y(-)609 1415 y(-)n Fn(')652 1411 y Fs(\(lambda)f(\(x)h(y\))f(\()p +Fv(p)i Fs(\()p Fv(s)e Fs(x\))h(\()p Fv(s)g Fs(y\)\)\)\))0 +1498 y Fw(While)16 b(the)i(ab)q(o)o(v)o(e)e(t)o(w)o(o)h(expressions)h +(are)g(equiv)n(alen)o(t,)e(the)i(\014rst)f(ma)o(y)e(b)q(e)j(more)e +(e\016-)0 1550 y(cien)o(t)g(in)f(some)f(implemen)o(tatio)o(ns)f(for)i +(certain)h(t)o(yp)q(es)g(of)f(argumen)o(ts.)22 b(F)m(or)14 +b(example,)0 1602 y(an)19 b(implemen)o(tati)o(on)d(ma)o(y)h(c)o(ho)q +(ose)j(to)f(apply)f Fv(s)h Fw(to)g(eac)o(h)h(item)d(just)j(once,)g +(putting)0 1654 y(the)c(resulting)f(k)o(eys)g(in)o(to)g(a)g(separate)h +(table,)f(and)g(then)g(sort)h(the)g(parallel)d(tables,)j(as)0 +1706 y(opp)q(osed)11 b(to)g(applying)e Fv(s)i Fw(to)f(an)h(item)e(ev)o +(ery)i(time)f(just)h(b)q(efore)g(applying)e(the)j Fv(pr)n(e)n(dic)n +(ate)p Fw(.)42 1758 y(If)d(the)i Fs(:key)e Fw(and)h Fv(pr)n(e)n(dic)n +(ate)g Fw(functions)g(alw)o(a)o(ys)f(return,)i(then)g(the)g(sorting)f +(op)q(eration)0 1810 y(will)i(alw)o(a)o(ys)h(terminate,)f(pro)q(ducing) +i(a)f(sequence)j(con)o(taining)c(the)j(same)d(elemen)o(ts)i(as)0 +1862 y(the)e(original)e(sequence)j(\(that)f(is,)f(the)h(result)h(is)e +(a)g(p)q(erm)o(utation)f(of)h Fv(se)n(quenc)n(e)p Fw(\).)18 +b(This)12 b(is)0 1913 y(guaran)o(teed)i(ev)o(en)h(if)d(the)j +Fv(pr)n(e)n(dic)n(ate)e Fw(do)q(es)h(not)g(really)f(consisten)o(tly)h +(represen)o(t)i(a)d(total)0 1965 y(order)19 b(\(in)e(whic)o(h)h(case)h +(the)f(elemen)o(ts)g(will)f(b)q(e)h(scram)o(bled)f(in)h(some)f +(unpredictable)0 2017 y(w)o(a)o(y)m(,)e(but)i(no)f(elemen)o(t)g(will)f +(b)q(e)i(lost\).)26 b(If)16 b(the)h Fs(:key)f Fw(function)g(consisten)o +(tly)h(returns)0 2069 y(meaningful)c(k)o(eys,)j(and)f(the)h +Fv(pr)n(e)n(dic)n(ate)f Fw(do)q(es)h(re\015ect)h(some)e(total)g +(ordering)g(criterion)0 2121 y(on)c(those)i(k)o(eys,)f(then)g(the)g +(elemen)o(ts)g(of)f(the)h(result)h(sequence)g(will)d(b)q(e)j(prop)q +(erly)f(sorted)0 2173 y(according)i(to)g(that)g(ordering.)42 +2225 y(The)c(sorting)f(op)q(eration)h(p)q(erformed)f(b)o(y)h +Fs(sort)e Fw(is)i(not)f(guaran)o(teed)i Fv(stable)p Fw(.)16 +b(Elemen)o(ts)0 2277 y(considered)e(equal)e(b)o(y)h(the)g +Fv(pr)n(e)n(dic)n(ate)f Fw(ma)o(y)f(or)i(ma)o(y)d(not)j(sta)o(y)f(in)h +(their)g(original)d(order.)0 2329 y(\(The)19 b Fv(pr)n(e)n(dic)n(ate)f +Fw(is)g(assumed)g(to)g(consider)i(t)o(w)o(o)e(elemen)o(ts)g +Fv(x)h Fw(and)f Fv(y)g Fw(to)g(b)q(e)i(equal)e(if)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 437 461 +437 460 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SEQUENCES)1120 +b(437)0 295 y Fs(\(funcall)20 b Fv(pr)n(e)n(dic)n(ate)g(x)i(y)p +Fs(\))14 b Fw(and)h Fs(\(funcall)k Fv(pr)n(e)n(dic)n(ate)i(y)g(x)p +Fs(\))15 b Fw(are)g(b)q(oth)g(false.\))20 b(The)0 347 +y(function)d Fs(stable-sort)d Fw(guaran)o(tees)k(stabilit)o(y)e(but)h +(ma)o(y)e(b)q(e)i(slo)o(w)o(er)g(than)g Fs(sort)f Fw(in)0 +399 y(some)d(situations.)42 450 y(The)18 b(sorting)f(op)q(eration)g(ma) +o(y)f(b)q(e)i(destructiv)o(e)i(in)d(all)f(cases.)31 b(In)17 +b(the)h(case)h(of)e(an)0 502 y(arra)o(y)d(argumen)o(t,)f(this)h(is)g +(accomplished)f(b)o(y)h(p)q(erm)o(uting)f(the)i(elemen)o(ts)f(in)g +(place.)19 b(In)0 554 y(the)13 b(case)h(of)f(a)f(list,)g(the)i(list)e +(is)h(destructiv)o(ely)h(reordered)g(in)f(the)g(same)f(manner)g(as)h +(for)0 606 y Fs(nreverse)p Fw(.)j(Th)o(us)e(if)f(the)i(argumen)o(t)d +(should)i(not)f(b)q(e)i(destro)o(y)o(ed,)f(the)h(user)g(m)o(ust)d(sort) +0 658 y(a)i(cop)o(y)f(of)h(the)g(argumen)o(t.)42 710 +y(Should)g(execution)i(of)e(the)h Fs(:key)f Fw(function)h(or)g(the)g +Fv(pr)n(e)n(dic)n(ate)g Fw(cause)h(an)e(error,)i(the)0 +762 y(state)h(of)f(the)i(list)e(or)g(arra)o(y)g(b)q(eing)h(sorted)h(is) +e(unde\014ned.)27 b(Ho)o(w)o(ev)o(er,)17 b(if)f(the)h(error)h(is)0 +814 y(corrected,)e(the)e(sort)h(will,)c(of)j(course,)g(pro)q(ceed)i +(correctly)m(.)42 866 y(Note)d(that)g(since)h(sorting)f(requires)h(man) +o(y)e(comparisons,)f(and)i(th)o(us)h(man)o(y)d(calls)i(to)0 +917 y(the)e Fv(pr)n(e)n(dic)n(ate)p Fw(,)g(sorting)f(will)f(b)q(e)i(m)o +(uc)o(h)f(faster)h(if)f(the)h Fv(pr)n(e)n(dic)n(ate)f +Fw(is)h(a)f(compiled)f(function)0 969 y(rather)15 b(than)f(in)o +(terpreted.)42 1021 y(An)g(example:)0 1104 y Fs(\(setq)20 +b(foovector)f(\(sort)i(foovector)e(#)695 1100 y(-)695 +1108 y(-)m Fn(')738 1104 y Fs(string-lessp)g(:key)h(#)1129 +1100 y(-)1129 1108 y(-)m Fn(')1172 1104 y Fs(car\)\))0 +1187 y Fw(If)14 b Fs(foovector)d Fw(con)o(tained)j(these)i(items)d(b)q +(efore)h(the)h(sort)0 1269 y Fs(\("Tokens")k("The)i(Lion)f(Sleeps)g +(Tonight"\))0 1321 y(\("Carpenters")e("Close)i(to)h(You"\))0 +1373 y(\("Rolling)e(Stones")h("Brown)g(Sugar"\))0 1425 +y(\("Beach)g(Boys")g("I)h(Get)f(Around"\))0 1477 y(\("Mozart")f("Eine)h +(Kleine)g(Nachtmusik")f(\(K)i(525\)\))0 1529 y(\("Beatles")e("I)i(Want) +f(to)h(Hold)f(Your)h(Hand"\))0 1611 y Fw(then)15 b(after)f(the)g(sort)h +Fs(foovector)d Fw(w)o(ould)h(con)o(tain)0 1694 y Fs(\("Beach)20 +b(Boys")g("I)h(Get)f(Around"\))0 1746 y(\("Beatles")f("I)i(Want)f(to)h +(Hold)f(Your)h(Hand"\))0 1798 y(\("Carpenters")d("Close)i(to)h(You"\))0 +1850 y(\("Mozart")e("Eine)h(Kleine)g(Nachtmusik")f(\(K)i(525\)\))0 +1902 y(\("Rolling)e(Stones")h("Brown)g(Sugar"\))0 1953 +y(\("Tokens")f("The)i(Lion)f(Sleeps)g(Tonight"\))42 2036 +y Fw(X3J13)e(v)o(oted)h(in)f(Jan)o(uary)h(1989)f Ft(h)p +Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k(see)d +(sec-)-33 2008 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2088 a(tion)13 b(7.9.)-33 2100 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 2200 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(merge)20 b Fv(r)n(esult)p Fs(-)p Fv(typ)n(e)j(se)n(quenc)n(e1)28 +b(se)n(quenc)n(e2)g(pr)n(e)n(dic)n(ate)c Fs(&key)c(:key)0 +2277 y Fw(The)e(sequences)i Fv(se)n(quenc)n(e1)e Fw(and)g +Fv(se)n(quenc)n(e2)g Fw(are)g(destructiv)o(ely)h(merged)e(according)0 +2329 y(to)h(an)g(order)h(determined)g(b)o(y)f(the)h Fv(pr)n(e)n(dic)n +(ate)p Fw(.)31 b(The)19 b(result)g(is)f(a)g(sequence)i(of)e(t)o(yp)q(e) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 438 462 +438 461 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(438)77 b(COMMON)13 +b(LISP)0 295 y Fv(r)n(esult-typ)n(e)p Fw(,)e(whic)o(h)h(m)o(ust)f(b)q +(e)h(a)g(subt)o(yp)q(e)h(of)e Fs(sequence)p Fw(,)g(as)h(for)f(the)i +(function)e Fs(coerce)p Fw(.)0 347 y(The)17 b Fv(pr)n(e)n(dic)n(ate)f +Fw(should)h(tak)o(e)f(t)o(w)o(o)h(argumen)o(ts)e(and)i(return)h(non-)p +Fs(nil)d Fw(if)h(and)h(only)f(if)0 399 y(the)d(\014rst)f(argumen)o(t)f +(is)h(strictly)g(less)g(than)g(the)h(second)g(\(in)e(some)g +(appropriate)h(sense\).)0 450 y(If)f(the)h(\014rst)h(argumen)o(t)d(is)i +(greater)g(than)g(or)g(equal)f(to)g(the)h(second)h(\(in)e(the)i +(appropriate)0 502 y(sense\),)i(then)g(the)f Fv(pr)n(e)n(dic)n(ate)g +Fw(should)f(return)i Fs(nil)p Fw(.)42 555 y(The)h Fs(merge)g +Fw(function)g(determines)g(the)h(relationship)f(b)q(et)o(w)o(een)i(t)o +(w)o(o)e(elemen)o(ts)g(b)o(y)0 607 y(giving)c(k)o(eys)j(extracted)g +(from)d(the)j(elemen)o(ts)e(to)h(the)h Fv(pr)n(e)n(dic)n(ate)p +Fw(.)i(The)d Fs(:key)f Fw(function,)0 659 y(when)g(applied)f(to)h(an)f +(elemen)o(t,)g(should)h(return)h(the)f(k)o(ey)g(for)f(that)h(elemen)o +(t;)f(the)i Fs(:key)0 711 y Fw(function)h(defaults)h(to)g(the)g(iden)o +(tit)o(y)f(function,)h(thereb)o(y)g(making)e(the)i(elemen)o(t)f(itself) +0 762 y(b)q(e)g(the)f(k)o(ey)m(.)42 815 y(The)j Fs(:key)e +Fw(function)i(should)f(not)h(ha)o(v)o(e)g(an)o(y)f(side)h(e\013ects.)28 +b(A)17 b(useful)g(example)e(of)0 867 y(a)20 b Fs(:key)e +Fw(function)i(w)o(ould)f(b)q(e)h(a)g(comp)q(onen)o(t)f(selector)i +(function)f(for)f(a)h Fs(defstruct)0 919 y Fw(structure,)c(used)e(to)g +(merge)f(a)h(sequence)i(of)d(structures.)42 972 y(If)g(the)h +Fs(:key)e Fw(and)i Fv(pr)n(e)n(dic)n(ate)f Fw(functions)g(alw)o(a)o(ys) +g(return,)h(then)g(the)h(merging)c(op)q(era-)0 1023 y(tion)j(will)f +(alw)o(a)o(ys)g(terminate.)19 b(The)c(result)g(of)f(merging)f(t)o(w)o +(o)g(sequences)k Fv(x)e Fw(and)f Fv(y)h Fw(is)f(a)0 1075 +y(new)f(sequence)i Fv(z)p Fw(,)d(suc)o(h)i(that)f(the)g(length)g(of)f +Fv(z)g Fw(is)h(the)g(sum)f(of)g(the)h(lengths)g(of)g +Fv(x)g Fw(and)f Fv(y)p Fw(,)0 1127 y(and)h Fv(z)g Fw(con)o(tains)g(all) +e(the)j(elemen)o(ts)f(of)f Fv(x)h Fw(and)g Fv(y)p Fw(.)18 +b(If)12 b Fv(x1)i Fw(and)f Fv(x2)g Fw(are)g(t)o(w)o(o)g(elemen)o(ts)g +(of)f Fv(x)p Fw(,)0 1179 y(and)j Fv(x1)g Fw(precedes)i +Fv(x2)f Fw(in)e Fv(x)p Fw(,)h(then)h Fv(x1)f Fw(precedes)i +Fv(x2)f Fw(in)e Fv(z)p Fw(,)h(and)f(similarly)e(for)j(elemen)o(ts)0 +1231 y(of)e Fv(y)p Fw(.)18 b(In)c(short,)g Fv(z)g Fw(is)g(an)f +Fv(interle)n(aving)h Fw(of)f Fv(x)h Fw(and)g Fv(y)p Fw(.)42 +1284 y(Moreo)o(v)o(er,)g(if)g Fv(x)g Fw(and)h Fv(y)f +Fw(w)o(ere)i(correctly)f(sorted)h(according)e(to)g(the)h +Fv(pr)n(e)n(dic)n(ate)p Fw(,)f(then)0 1336 y Fv(z)g Fw(will)e(also)h(b) +q(e)i(correctly)g(sorted,)f(as)g(sho)o(wn)g(in)g(this)g(example.)0 +1428 y Fs(\(merge)150 1432 y Fn(')173 1428 y Fs(list)279 +1432 y Fn(')303 1428 y Fs(\(1)20 b(3)h(4)g(6)g(7\))559 +1432 y Fn(')582 1428 y Fs(\(2)g(5)g(8\))g(#)755 1424 +y(-)755 1432 y(-)m Fn(')798 1428 y Fs(<\))f Ft(\))h Fs(\(1)g(2)g(3)g(4) +g(5)g(6)g(7)g(8\))0 1520 y Fw(If)13 b Fv(x)g Fw(or)g +Fv(y)h Fw(is)f(not)g(so)g(sorted)h(then)g Fv(z)f Fw(will)f(not)h(b)q(e) +h(sorted,)g(but)f(will)f(nev)o(ertheless)j(b)q(e)f(an)0 +1572 y(in)o(terlea)o(ving)f(of)g Fv(x)h Fw(and)g Fv(y)p +Fw(.)42 1625 y(The)k(merging)e(op)q(eration)i(is)f(guaran)o(teed)i +Fv(stable)p Fw(;)g(if)e(t)o(w)o(o)g(or)h(more)f(elemen)o(ts)g(are)0 +1676 y(considered)e(equal)e(b)o(y)g(the)i Fv(pr)n(e)n(dic)n(ate)p +Fw(,)d(then)i(the)g(elemen)o(ts)g(from)e Fv(se)n(quenc)n(e1)i +Fw(will)e(pre-)0 1728 y(cede)h(those)f(from)e Fv(se)n(quenc)n(e2)j +Fw(in)e(the)h(result.)18 b(\(The)12 b Fv(pr)n(e)n(dic)n(ate)g +Fw(is)f(assumed)g(to)h(consider)0 1780 y(t)o(w)o(o)j(elemen)o(ts)g +Fv(x)h Fw(and)f Fv(y)h Fw(to)f(b)q(e)h(equal)f(if)g Fs(\(funcall)20 +b Fv(pr)n(e)n(dic)n(ate)g(x)i(y)p Fs(\))15 b Fw(and)g +Fs(\(funcall)0 1832 y Fv(pr)n(e)n(dic)n(ate)21 b(y)g(x)p +Fs(\))14 b Fw(are)g(b)q(oth)g(false.\))k(F)m(or)c(example:)0 +1925 y Fs(\(merge)150 1929 y Fn(')173 1925 y Fs(string)20 +b("BOY")g("nosy")g(#)607 1921 y(-)607 1929 y(-)n Fn(')650 +1925 y Fs(char-lessp\))f Ft(\))i Fs("BnOosYy")0 2017 +y Fw(The)c(result)h(can)e Fv(not)h Fw(b)q(e)h Fs("BnoOsYy")p +Fw(,)d Fs("BnOosyY")p Fw(,)g(or)h Fs("BnoOsyY")p Fw(.)25 +b(The)17 b(function)0 2069 y Fs(char-lessp)10 b Fw(ignores)i(case,)h +(and)f(so)g(considers)i(the)e(c)o(haracters)i Fs(Y)e +Fw(and)g Fs(y)g Fw(to)g(b)q(e)h(equal,)0 2120 y(for)j(example;)g(the)h +(stabilit)o(y)e(prop)q(ert)o(y)i(then)g(guaran)o(tees)g(that)g(the)g(c) +o(haracter)g(from)0 2172 y(the)d(\014rst)h(argumen)o(t)e(\()p +Fs(Y)p Fw(\))h(m)o(ust)f(precede)j(the)e(one)g(from)e(the)j(second)g +(argumen)o(t)e(\()p Fs(y)p Fw(\).)42 2225 y(X3J13)18 +b(v)o(oted)i(in)f(June)h(1989)e Ft(h)p Fw(158)p Ft(i)h +Fw(to)g(sp)q(ecify)g(that)h Fs(merge)e Fw(should)h(signal)f(an)-33 +2197 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2277 a(error)13 b(if)e(the)h(sequence)j(t)o(yp)q(e)d(sp) +q(eci\014es)i(the)e(n)o(um)o(b)q(er)g(of)f(elemen)o(ts)h(and)f(the)i +(sum)e(of)g(the)0 2329 y(lengths)j(of)f(the)i(t)o(w)o(o)e(sequence)j +(argumen)o(ts)e(is)f(di\013eren)o(t.)-33 2340 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 439 463 +439 462 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SEQUENCES)1120 +b(439)42 295 y Fw(X3J13)18 b(v)o(oted)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k +(see)d(sec-)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(tion)13 b(7.9.)-33 358 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1986 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 440 464 +440 463 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(15)p 0 448 598 +9 v 0 531 a Fp(Lists)0 884 y Fw(A)17 b Fv(c)n(ons)p Fw(,)h(or)f(dotted) +h(pair,)f(is)g(a)g(comp)q(ound)f(data)h(ob)r(ject)h(ha)o(ving)e(t)o(w)o +(o)h(comp)q(onen)o(ts)0 936 y(called)e(the)g Fv(c)n(ar)g +Fw(and)g Fv(c)n(dr)p Fw(.)21 b(Eac)o(h)15 b(comp)q(onen)o(t)g(ma)o(y)e +(b)q(e)i(an)o(y)g(Lisp)g(ob)r(ject.)22 b(A)15 b Fv(list)f +Fw(is)h(a)0 988 y(c)o(hain)f(of)f(conses)j(link)o(ed)d(b)o(y)h +Fv(c)n(dr)g Fw(\014elds;)g(the)h(c)o(hain)f(is)g(terminated)f(b)o(y)h +(some)g(atom)e(\(a)0 1040 y(non-cons)i(ob)r(ject\).)20 +b(An)14 b(ordinary)g(list)g(is)f(terminated)h(b)o(y)g +Fs(nil)p Fw(,)f(the)i(empt)o(y)e(list)g(\(also)0 1092 +y(written)k Fs(\(\))p Fw(\).)24 b(A)16 b(list)g(whose)h +Fv(c)n(dr)f Fw(c)o(hain)g(is)g(terminated)f(b)o(y)h(some)f(non-)p +Fs(nil)h Fw(atom)e(is)0 1143 y(called)g(a)f Fv(dotte)n(d)i(list)p +Fw(.)42 1195 y(The)f(recommended)f(predicate)i(for)e(testing)i(for)e +(the)i(end)f(of)f(a)h(list)f(is)h Fs(endp)p Fw(.)0 1332 +y Fo(15.1.)20 b(Conses)0 1414 y Fw(These)d(are)f(the)g(basic)g(op)q +(erations)g(on)g(conses)h(view)o(ed)f(as)f(pairs)h(rather)h(than)e(as)h +(the)0 1466 y(constituen)o(ts)f(of)f(a)f(list.)1209 1581 +y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(car)21 b Fv(list)0 +1658 y Fw(This)d(returns)h(the)f Fv(c)n(ar)f Fw(of)g +Fv(list)p Fw(,)g(whic)o(h)h(m)o(ust)e(b)q(e)j(a)e(cons)h(or)g +Fs(\(\))p Fw(;)g(that)g(is,)g Fv(list)f Fw(m)o(ust)0 +1710 y(satisfy)e(the)g(predicate)h Fs(listp)p Fw(.)k(By)15 +b(de\014nition,)f(the)i Fv(c)n(ar)e Fw(of)h Fs(\(\))f +Fw(is)h Fs(\(\))p Fw(.)20 b(If)15 b(the)g(cons)h(is)0 +1762 y(regarded)h(as)e(the)i(\014rst)f(cons)h(of)e(a)g(list,)g(then)i +Fs(car)e Fw(returns)i(the)f(\014rst)h(elemen)o(t)e(of)g(the)0 +1814 y(list.)j(F)m(or)13 b(example:)0 1897 y Fs(\(car)106 +1901 y Fn(')130 1897 y Fs(\(a)20 b(b)h(c\)\))g Ft(\))f +Fs(a)0 1980 y Fw(See)15 b Fs(first)p Fw(.)i(The)d Fv(c)n(ar)g +Fw(of)f(a)g(cons)i(ma)o(y)d(b)q(e)i(altered)h(b)o(y)f(using)f +Fs(rplaca)g Fw(or)h Fs(setf)p Fw(.)1209 2096 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(cdr)21 b Fv(list)0 2173 y Fw(This)d(returns)h(the)f +Fv(c)n(dr)f Fw(of)g Fv(list)p Fw(,)g(whic)o(h)h(m)o(ust)e(b)q(e)j(a)e +(cons)h(or)g Fs(\(\))p Fw(;)g(that)g(is,)g Fv(list)f +Fw(m)o(ust)0 2225 y(satisfy)e(the)g(predicate)h Fs(listp)p +Fw(.)k(By)15 b(de\014nition,)f(the)i Fv(c)n(dr)e Fw(of)h +Fs(\(\))f Fw(is)h Fs(\(\))p Fw(.)20 b(If)15 b(the)g(cons)h(is)0 +2277 y(regarded)e(as)f(the)h(\014rst)f(cons)h(of)e(a)h(list,)f(then)i +Fs(cdr)e Fw(returns)j(the)e(rest)i(of)d(the)i(list,)e(whic)o(h)0 +2329 y(is)i(a)f(list)h(with)f(all)g(elemen)o(ts)h(but)g(the)g(\014rst)h +(of)e(the)i(original)d(list.)17 b(F)m(or)d(example:)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2428 a Fy(440)p eop +%%Page: 441 465 +441 464 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LISTS)1237 b(441)0 +295 y Fs(\(cdr)106 299 y Fn(')130 295 y Fs(\(a)20 b(b)h(c\)\))g +Ft(\))f Fs(\(b)h(c\))0 376 y Fw(See)15 b Fs(rest)p Fw(.)i(The)d +Fv(c)n(dr)g Fw(of)f(a)h(cons)g(ma)o(y)e(b)q(e)j(altered)f(b)o(y)g +(using)f Fs(rplacd)g Fw(or)h Fs(setf)p Fw(.)1209 481 +y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(caar)20 b Fv(list)1209 +532 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(cadr)20 +b Fv(list)1209 584 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(cdar)20 b Fv(list)1209 636 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(cddr)20 b Fv(list)1209 688 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(caaar)20 b Fv(list)1209 740 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(caadr)20 b Fv(list)1209 +792 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(cadar)20 +b Fv(list)1209 844 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(caddr)20 b Fv(list)1209 896 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(cdaar)20 b Fv(list)1209 948 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(cdadr)20 b Fv(list)1209 +999 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(cddar)20 +b Fv(list)1209 1051 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(cdddr)20 b Fv(list)1209 1103 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(caaaar)20 b Fv(list)1209 1155 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(caaadr)20 b Fv(list)1209 +1207 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(caadar)20 +b Fv(list)1209 1259 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(caaddr)20 b Fv(list)1209 1311 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(cadaar)20 b Fv(list)1209 1363 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(cadadr)20 b Fv(list)1209 +1415 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(caddar)20 +b Fv(list)1209 1466 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(cadddr)20 b Fv(list)1209 1518 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(cdaaar)20 b Fv(list)1209 1570 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(cdaadr)20 b Fv(list)1209 +1622 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(cdadar)20 +b Fv(list)1209 1674 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(cdaddr)20 b Fv(list)1209 1726 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(cddaar)20 b Fv(list)1209 1778 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(cddadr)20 b Fv(list)1209 +1830 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(cdddar)20 +b Fv(list)1209 1882 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(cddddr)20 b Fv(list)0 1958 y Fw(All)15 b(of)g(the)h(comp)q +(ositions)e(of)h(up)h(to)f(four)h Fs(car)f Fw(and)g Fs(cdr)g +Fw(op)q(erations)h(are)g(de\014ned)h(as)0 2010 y(separate)e(Comm)o(on)c +(Lisp)i(functions.)18 b(The)13 b(names)g(of)g(these)h(functions)g(b)q +(egin)f(with)g Fs(c)0 2062 y Fw(and)f(end)h(with)f Fs(r)p +Fw(,)g(and)g(in)g(b)q(et)o(w)o(een)i(is)e(a)g(sequence)i(of)e +Fs(a)g Fw(and)g Fs(d)g Fw(letters)i(corresp)q(onding)0 +2114 y(to)g(the)g(comp)q(osition)e(p)q(erformed)i(b)o(y)f(the)i +(function.)j(F)m(or)13 b(example:)0 2195 y Fs(\(cddadr)20 +b(x\))g Fw(is)14 b(the)h(same)e(as)21 b Fs(\(cdr)f(\(cdr)h(\(car)f +(\(cdr)g(x\)\)\)\))0 2277 y Fw(If)12 b(the)i(argumen)o(t)e(is)g +(regarded)i(as)f(a)g(list,)f(then)h Fs(cadr)f Fw(returns)j(the)e +(second)h(elemen)o(t)e(of)0 2329 y(the)j(list,)e Fs(caddr)g +Fw(the)i(third,)f(and)f Fs(cadddr)g Fw(the)i(fourth.)k(If)14 +b(the)g(\014rst)h(elemen)o(t)f(of)f(a)h(list)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 442 466 +442 465 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(442)77 b(COMMON)13 +b(LISP)0 295 y Fw(is)h(a)g(list,)g(then)h Fs(caar)e Fw(is)i(the)g +(\014rst)g(elemen)o(t)f(of)g(the)h(sublist,)f Fs(cdar)f +Fw(is)h(the)h(rest)h(of)e(that)0 347 y(sublist,)f(and)h +Fs(cadar)f Fw(is)h(the)g(second)h(elemen)o(t)f(of)f(the)h(sublist,)g +(and)f(so)h(on.)42 399 y(As)g(a)g(matter)f(of)h(st)o(yle,)g(it)g(is)g +(often)g(preferable)h(to)f(de\014ne)h(a)f(function)g(or)g(macro)f(to)0 +450 y(access)g(part)e(of)g(a)g(complicated)f(data)h(structure,)i +(rather)f(than)f(to)g(use)h(a)f(long)f Fs(car)p Fw(/)p +Fs(cdr)0 502 y Fw(string.)17 b(F)m(or)12 b(example,)e(one)i(migh)o(t)d +(de\014ne)k(a)e(macro)g(to)g(extract)i(the)f(list)f(of)g(parameter)0 +554 y(v)n(ariables)i(from)f(a)i(lam)o(b)q(da-expression:)0 +637 y Fs(\(defmacro)19 b(lambda-vars)g(\(lambda-exp\))g(`\(cadr)h +(,lambda-exp\)\))0 721 y Fw(and)25 b(then)g(use)h Fs(lambda-vars)d +Fw(for)h(this)h(purp)q(ose)h(instead)f(of)f Fs(cadr)p +Fw(.)51 b(See)25 b(also)0 773 y Fs(defstruct)p Fw(,)17 +b(whic)o(h)h(will)f(automatically)e(de\014ne)k(new)f(record)i(data)e(t) +o(yp)q(es)h(and)f(ac-)0 825 y(cess)d(functions)f(for)g(instances)h(of)e +(them.)42 876 y(An)o(y)g(of)h(these)h(functions)f(ma)o(y)e(b)q(e)i +(used)h(to)f(sp)q(ecify)g(a)g Fv(plac)n(e)g Fw(for)f +Fs(setf)p Fw(.)1209 992 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(cons)20 b Fv(x)27 b(y)0 1069 y Fs(cons)13 b Fw(is)h(the)g +(primitiv)o(e)e(function)h(to)h(create)h(a)f(new)g Fv(c)n(ons)g +Fw(whose)g Fv(c)n(ar)g Fw(is)g Fv(x)g Fw(and)f(whose)0 +1121 y Fv(c)n(dr)h Fw(is)f Fv(y)p Fw(.)18 b(F)m(or)c(example:)0 +1204 y Fs(\(cons)128 1208 y Fn(')151 1204 y Fs(a)192 +1208 y Fn(')215 1204 y Fs(b\))21 b Ft(\))g Fs(\(a)g(.)g(b\))0 +1256 y(\(cons)128 1260 y Fn(')151 1256 y Fs(a)g(\(cons)322 +1260 y Fn(')346 1256 y Fs(b)g(\(cons)516 1260 y Fn(')540 +1256 y Fs(c)581 1260 y Fn(')604 1256 y Fs(\(\)\)\)\))f +Ft(\))h Fs(\(a)g(b)g(c\))0 1308 y(\(cons)128 1312 y Fn(')151 +1308 y Fs(a)192 1312 y Fn(')215 1308 y Fs(\(b)g(c)g(d\)\))g +Ft(\))f Fs(\(a)h(b)g(c)g(d\))0 1391 y(cons)12 b Fw(ma)o(y)e(b)q(e)j +(though)o(t)f(of)g(as)g(creating)h(a)f Fv(c)n(ons)p Fw(,)h(or)f(as)h +(adding)e(a)h(new)h(elemen)o(t)f(to)g(the)0 1443 y(fron)o(t)i(of)f(a)g +(list.)1209 1559 y([)p Fv(F)m(unction)s Fw(])-1395 b +Fs(tree-equal)19 b Fv(x)27 b(y)e Fs(&key)20 b(:test)g(:test-not)0 +1636 y Fw(This)15 b(is)f(a)g(predicate)i(that)f(is)f(true)i(if)e +Fv(x)h Fw(and)f Fv(y)h Fw(are)g(isomorphic)e(trees)j(with)e(iden)o +(tical)0 1687 y(lea)o(v)o(es,)e(that)h(is,)f(if)g Fv(x)g +Fw(and)g Fv(y)h Fw(are)g(atoms)e(that)h(satisfy)g(the)i(test)f(\(b)o(y) +f(default)g Fs(eql)p Fw(\),)g(or)h(if)0 1739 y(they)f(are)g(b)q(oth)g +(conses)i(and)d(their)h Fv(c)n(ar)p Fw('s)g(are)g Fs(tree-equal)e +Fw(and)h(their)h Fv(c)n(dr)p Fw('s)g(are)g Fs(tree-)0 +1791 y(equal)p Fw(.)34 b(Th)o(us)20 b Fs(tree-equal)e +Fw(recursiv)o(ely)i(compares)f(conses)i(\(but)f(not)g(an)o(y)f(other)0 +1843 y(ob)r(jects)e(that)g(ha)o(v)o(e)f(comp)q(onen)o(ts\).)25 +b(See)17 b Fs(equal)p Fw(,)e(whic)o(h)h(do)q(es)h(recursiv)o(ely)g +(compare)0 1895 y(certain)d(other)h(structured)h(ob)r(jects,)f(suc)o(h) +f(as)g(strings.)42 1947 y(X3J13)k(v)o(oted)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k +(see)d(sec-)-33 1918 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1999 a(tion)13 b(7.9.)-33 2010 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2135 a Fo(15.2.)20 b(Lists)0 2217 y Fw(The)14 +b(follo)o(wing)e(functions)i(p)q(erform)f(v)n(arious)g(op)q(erations)h +(on)g(lists.)42 2269 y(The)g(list)f(is)g(one)h(of)f(the)h(original)e +(Lisp)h(data)g(t)o(yp)q(es.)19 b(The)14 b(v)o(ery)g(name)f(\\Lisp")g +(is)g(an)-33 2240 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2321 a(abbreviation)g(for)h(\\LISt)f(Pro)q(cessing.")-33 +2332 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 12 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 443 467 +443 466 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LISTS)1237 b(443)1209 +295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(endp)20 +b Fv(obje)n(ct)0 372 y Fw(The)13 b(predicate)h Fs(endp)e +Fw(is)h(the)g(recommended)f(w)o(a)o(y)g(to)g(test)i(for)f(the)g(end)g +(of)f(a)h(list.)k(It)c(is)0 423 y(false)h(of)f(conses,)i(true)f(of)g +Fs(nil)p Fw(,)f(and)g(an)h(error)h(for)e(all)g(other)h(argumen)o(ts.)p +0 483 V 0 543 a Fm(Implemen)o(tation)f(note:)19 b FA(Implemen)o +(tations)d(are)d(encouraged)i(to)f(signal)h(an)f(error,)f(esp)q(e-)0 +589 y(cially)i(in)e(the)f(in)o(terpreter,)i(for)e(a)g(non-list)i +(argumen)o(t.)k(The)12 b Fj(endp)f FA(function)i(is)g(de\014ned)h(so)e +(as)0 635 y(to)h(allo)o(w)h(compiled)i(co)q(de)e(to)f(p)q(erform)g +(simply)i(an)f(atom)f(c)o(hec)o(k)h(or)f(a)g(n)o(ull)i(c)o(hec)o(k)f +(if)f(sp)q(eed)h(is)0 680 y(more)f(imp)q(ortan)o(t)i(than)e(safet)o(y)m +(.)p 0 714 V 1209 821 a Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(list-length)19 b Fv(list)0 898 y Fs(list-length)14 +b Fw(returns,)19 b(as)e(an)f(in)o(teger,)i(the)f(length)g(of)f +Fv(list)p Fw(.)25 b Fs(list-length)15 b Fw(di\013ers)0 +950 y(from)i Fs(length)h Fw(when)h(the)g Fv(list)f Fw(is)h(circular;)i +Fs(length)d Fw(ma)o(y)f(fail)g(to)i(return,)h(whereas)0 +1002 y Fs(list-length)12 b Fw(will)g(return)j Fs(nil)p +Fw(.)i(F)m(or)d(example:)0 1087 y Fs(\(list-length)280 +1091 y Fn(')304 1087 y Fs(\(\)\))20 b Ft(\))h Fs(0)0 +1139 y(\(list-length)280 1143 y Fn(')304 1139 y Fs(\(a)g(b)g(c)g(d\)\)) +f Ft(\))h Fs(4)0 1191 y(\(list-length)280 1195 y Fn(')304 +1191 y Fs(\(a)g(\(b)f(c\))h(d\)\))g Ft(\))f Fs(3)0 1243 +y(\(let)g(\(\(x)h(\(list)323 1247 y Fn(')346 1243 y Fs(a)g(b)g(c\)\)\)) +42 1295 y(\(rplacd)f(\(last)g(x\))h(x\))42 1347 y(\(list-length)e +(x\)\))i Ft(\))f Fs(nil)0 1432 y(list-length)12 b Fw(could)h(b)q(e)i +(implemen)o(ted)c(as)j(follo)o(ws:)0 1517 y Fs(\(defun)20 +b(list-length)f(\(x\))42 1569 y(\(do)i(\(\(n)f(0)h(\(+)g(n)g(2\)\))254 +b(;)p Fw(Coun)o(ter)148 1621 y Fs(\(fast)20 b(x)h(\(cddr)f(fast\)\))105 +b(;)p Fw(F)m(ast)14 b(p)q(oin)o(ter:)f(leaps)h(b)o(y)g(2)148 +1673 y Fs(\(slow)20 b(x)h(\(cdr)g(slow\)\)\))104 b(;)p +Fw(Slo)o(w)13 b(p)q(oin)o(ter:)g(leaps)h(b)o(y)g(1)127 +1725 y Fs(\(nil\))85 1777 y(;;)20 b(If)h(fast)g(pointer)e(hits)i(the)f +(end,)g(return)g(the)h(count.)85 1828 y(\(when)f(\(endp)g(fast\))g +(\(return)g(n\)\))85 1880 y(\(when)g(\(endp)g(\(cdr)g(fast\)\))g +(\(return)g(\(+)h(n)g(1\)\)\))85 1932 y(;;)f(If)h(fast)g(pointer)e +(eventually)g(equals)h(slow)h(pointer,)85 1984 y(;;)f(then)h(we)g(must) +f(be)h(stuck)f(in)h(a)f(circular)g(list.)85 2036 y(;;)g(\(A)h(deeper)f +(property)g(is)g(the)h(converse:)e(if)i(we)g(are)85 2088 +y(;;)f(stuck)h(in)f(a)h(circular)f(list,)g(then)g(eventually)f(the)85 +2140 y(;;)h(fast)h(pointer)f(will)g(equal)g(the)h(slow)f(pointer.)85 +2192 y(;;)g(That)h(fact)f(justifies)f(this)i(implementation.\))85 +2244 y(\(when)f(\(and)g(\(eq)h(fast)f(slow\))g(\(>)h(n)g(0\)\))f +(\(return)g(nil\)\)\)\))0 2329 y Fw(See)15 b Fs(length)p +Fw(,)d(whic)o(h)i(will)e(return)j(the)g(length)f(of)f(an)o(y)g +(sequence.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 444 468 +444 467 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(444)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(nth)21 b Fv(n)j(list)0 372 y Fs(\(nth)c Fv(n)i(list)p +Fs(\))15 b Fw(returns)j(the)e Fv(n)p Fw(th)h(elemen)o(t)f(of)f +Fv(list)p Fw(,)g(where)j(the)e Fv(c)n(ar)g Fw(of)g(the)g(list)g(is)g +(the)0 424 y(\\zeroth")i(elemen)o(t.)29 b(The)18 b(argumen)o(t)f +Fv(n)h Fw(m)o(ust)f(b)q(e)h(a)g(non-negativ)o(e)f(in)o(teger.)30 +b(If)17 b(the)0 476 y(length)h(of)f(the)h(list)g(is)f(not)h(greater)h +(than)e Fv(n)p Fw(,)i(then)f(the)h(result)f(is)g Fs(\(\))p +Fw(,)g(that)g(is,)g Fs(nil)p Fw(.)0 528 y(\(This)c(is)f(consisten)o(t)i +(with)e(the)i(idea)e(that)h(the)g Fv(c)n(ar)f Fw(and)h +Fv(c)n(dr)f Fw(of)g Fs(\(\))g Fw(are)h(eac)o(h)g Fs(\(\))p +Fw(.\))k(F)m(or)0 580 y(example:)0 671 y Fs(\(nth)i(0)149 +675 y Fn(')172 671 y Fs(\(foo)h(bar)f(gack\)\))g Ft(\))h +Fs(foo)0 723 y(\(nth)f(1)149 727 y Fn(')172 723 y Fs(\(foo)h(bar)f +(gack\)\))g Ft(\))h Fs(bar)0 775 y(\(nth)f(3)149 779 +y Fn(')172 775 y Fs(\(foo)h(bar)f(gack\)\))g Ft(\))h +Fs(\(\))p 0 835 V 0 896 a Fm(Compatibilit)o(y)16 b(note:)25 +b FA(This)17 b(is)h(not)f(the)g(same)f(as)h(the)g(In)o(terlisp)i +(function)f(called)g Fj(nth)p FA(,)0 941 y(whic)o(h)c(is)f(similar)j +(to)c(but)i(not)f(exactly)h(the)f(same)h(as)f(the)g(Common)g(Lisp)h +(function)g Fj(nthcdr)p FA(.)0 987 y(This)h(de\014nition)i(of)c +Fj(nth)g FA(is)i(compatible)h(with)f(Lisp)g(Mac)o(hine)g(Lisp)g(and)g +(NIL)f(\(New)f(Imple-)0 1033 y(men)o(tation)j(of)f(Lisp\).)23 +b(Also,)16 b(some)f(p)q(eople)h(ha)o(v)o(e)g(used)f(macros)g(and)h +(functions)g(called)h Fj(nth)0 1078 y FA(of)c(their)h(o)o(wn)f(in)g +(their)h(old)g(MacLisp)h(programs,)e(whic)o(h)h(ma)o(y)f(not)g(w)o(ork) +g(the)h(same)f(w)o(a)o(y)m(.)p 0 1120 V 42 1222 a Fs(nth)g +Fw(ma)o(y)g(b)q(e)i(used)h(to)e(sp)q(ecify)h(a)g Fv(plac)n(e)f +Fw(to)h Fs(setf)p Fw(;)f(when)h Fs(nth)f Fw(is)g(used)i(in)e(this)g(w)o +(a)o(y)m(,)0 1274 y(the)g(argumen)o(t)f Fv(n)h Fw(m)o(ust)f(b)q(e)i +(less)f(than)g(the)h(length)f(of)f(the)h Fv(list)p Fw(.)42 +1327 y(Note)h(that)f(the)h(argumen)o(ts)f(to)h Fs(nth)f +Fw(are)h(rev)o(ersed)i(from)12 b(the)k(order)f(used)h(b)o(y)e(most)0 +1379 y(other)h(sequence)h(selector)f(functions)f(suc)o(h)g(as)g +Fs(elt)p Fw(.)1209 1537 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(first)20 b Fv(list)1209 1589 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(second)20 b Fv(list)1209 1641 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(third)20 b Fv(list)1209 +1693 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(fourth)20 +b Fv(list)1209 1745 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(fifth)20 b Fv(list)1209 1796 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(sixth)20 b Fv(list)1209 1848 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(seventh)20 b Fv(list)1209 +1900 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(eighth)20 +b Fv(list)1209 1952 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(ninth)20 b Fv(list)1209 2004 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(tenth)20 b Fv(list)0 2081 y Fw(These)f(functions)f(are) +g(sometimes)e(con)o(v)o(enien)o(t)i(for)f(accessing)i(particular)f +(elemen)o(ts)0 2133 y(of)f(a)g(list.)29 b Fs(first)17 +b Fw(is)g(the)i(same)d(as)i Fs(car)p Fw(,)f Fs(second)g +Fw(is)g(the)i(same)d(as)i Fs(cadr)p Fw(,)f Fs(third)g +Fw(is)0 2185 y(the)e(same)e(as)i Fs(caddr)p Fw(,)e(and)h(so)g(on.)19 +b(Note)c(that)f(the)h(ordinal)e(n)o(um)o(b)q(ering)g(used)i(here)h(is)0 +2237 y(one-origin,)c(as)i(opp)q(osed)h(to)f(the)g(zero-origin)g(n)o(um) +o(b)q(ering)e(used)j(b)o(y)f Fs(nth)p Fw(:)0 2329 y Fs(\(fifth)20 +b(x\))h Ft(\021)g Fs(\(nth)f(4)h(x\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 445 469 +445 468 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LISTS)1237 b(445)42 +295 y Fs(setf)14 b Fw(ma)o(y)f(b)q(e)j(used)g(with)f(eac)o(h)g(of)g +(these)h(functions)g(to)e(store)j(in)o(to)d(the)i(indicated)0 +347 y(p)q(osition)d(of)g(a)h(list.)1209 472 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(rest)20 b Fv(list)0 549 y Fs(rest)d Fw(means)g(the)h +(same)f(as)h Fs(cdr)f Fw(but)h(mnemonicall)o(y)d(complemen)o(ts)h +Fs(first)p Fw(.)29 b Fs(setf)0 601 y Fw(ma)o(y)12 b(b)q(e)i(used)h +(with)f Fs(rest)f Fw(to)h(replace)g(the)h Fv(c)n(dr)e +Fw(of)h(a)f(list)h(with)f(a)h(new)g(v)n(alue.)1209 726 +y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(nthcdr)20 b Fv(n)25 +b(list)0 803 y Fs(\(nthcdr)20 b Fv(n)h(list)p Fs(\))14 +b Fw(p)q(erforms)g(the)i Fs(cdr)e Fw(op)q(eration)g Fv(n)h +Fw(times)f(on)h Fv(list)p Fw(,)e(and)i(returns)h(the)0 +855 y(result.)j(F)m(or)13 b(example:)0 940 y Fs(\(nthcdr)20 +b(0)214 944 y Fn(')238 940 y Fs(\(a)h(b)g(c\)\))f Ft(\))h +Fs(\(a)g(b)g(c\))0 991 y(\(nthcdr)f(2)214 995 y Fn(')238 +991 y Fs(\(a)h(b)g(c\)\))f Ft(\))h Fs(\(c\))0 1043 y(\(nthcdr)f(4)214 +1047 y Fn(')238 1043 y Fs(\(a)h(b)g(c\)\))f Ft(\))h Fs(\(\))0 +1128 y Fw(In)14 b(other)g(w)o(ords,)g(it)g(returns)h(the)f +Fv(n)p Fw(th)h Fv(c)n(dr)e Fw(of)h(the)g(list.)p 0 1188 +V 0 1248 a Fm(Compatibilit)o(y)d(note:)17 b FA(This)c(is)g(similar)i +(to)d(the)g(In)o(terlisp)j(function)e Fj(nth)p FA(,)e(except)i(that)f +(the)0 1294 y(In)o(terlisp)j(function)f(is)g(one-based)g(instead)h(of)d +(zero-based.)p 0 1328 V 0 1405 a Fs(\(car)20 b(\(nthcdr)g(n)h(x\)\))g +Ft(\021)g Fs(\(nth)f(n)h(x\))42 1490 y Fw(X3J13)13 b(v)o(oted)h(in)f +(Jan)o(uary)h(1989)e Ft(h)p Fw(7)p Ft(i)i Fw(to)g(clarify)e(that)i(the) +g(argumen)o(t)f Fv(n)h Fw(m)o(ust)f(b)q(e)h(a)-33 1461 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1542 a(non-negativ)o(e)f(in)o(teger.)-33 +1553 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1667 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(last)20 b Fv(list)-38 1642 y Fk(.)-38 1655 y(.)-38 +1668 y(.)-38 1681 y(.)-38 1694 y(.)-38 1707 y(.)-38 1720 +y(.)-38 1733 y(.)-38 1746 y(.)-38 1759 y(.)-38 1772 y(.)-38 +1785 y(.)-38 1798 y(.)-38 1811 y(.)-38 1824 y(.)-38 1837 +y(.)-38 1850 y(.)-38 1863 y(.)-38 1876 y(.)-38 1889 y(.)-38 +1902 y(.)-38 1914 y(.)-38 1927 y(.)-38 1940 y(.)-38 1953 +y(.)-38 1966 y(.)-38 1979 y(.)-38 1992 y(.)-38 2005 y(.)-38 +2018 y(.)-38 2031 y(.)-38 2044 y(.)-38 2057 y(.)-38 2070 +y(.)-38 2083 y(.)-38 2096 y(.)-38 2109 y(.)-38 2122 y(.)-38 +2135 y(.)-38 2148 y(.)-38 2161 y(.)-38 2174 y(.)-38 2187 +y(.)-38 2200 y(.)-38 2213 y(.)-38 2226 y(.)-38 2239 y(.)-38 +2252 y(.)-38 2265 y(.)-38 2278 y(.)-38 2291 y(.)-38 2304 +y(.)-38 2317 y(.)-38 2330 y(.)-38 2343 y(.)-38 2356 y(.)-38 +2369 y(.)-38 2381 y(.)-38 2394 y(.)-38 2407 y(.)-38 2420 +y(.)-38 2433 y(.)-38 2446 y(.)-38 2459 y(.)-38 2472 y(.)-38 +2485 y(.)-38 2498 y(.)-38 2511 y(.)-38 2524 y(.)-38 2537 +y(.)-38 2550 y(.)-38 2563 y(.)-38 2576 y(.)-38 2589 y(.)-38 +2602 y(.)-38 2615 y(.)-38 2628 y(.)-38 2641 y(.)-38 2654 +y(.)-38 2667 y(.)-38 2680 y(.)-38 2693 y(.)-38 2706 y(.)-38 +2719 y(.)-38 2732 y(.)-38 2745 y(.)-38 2758 y(.)-38 2771 +y(.)-38 2784 y(.)-38 2797 y(.)-38 2810 y(.)-38 2823 y(.)-38 +2836 y(.)-38 2848 y(.)-38 2861 y(.)-38 2874 y(.)-38 2887 +y(.)-38 2900 y(.)-38 2913 y(.)-38 2926 y(.)-38 2939 y(.)-38 +2952 y(.)-38 2965 y(.)-38 2978 y(.)-38 2991 y(.)-38 3004 +y(.)-38 3017 y(.)-38 3030 y(.)-38 3043 y(.)-38 3056 y(.)-38 +3069 y(.)-38 3082 y(.)-38 3095 y(.)-38 3108 y(.)-38 3121 +y(.)-38 3134 y(.)-38 3147 y(.)-38 3160 y(.)-38 3173 y(.)-38 +3186 y(.)-38 3199 y(.)-38 3212 y(.)-38 3225 y(.)-38 3238 +y(.)-38 3251 y(.)-38 3264 y(.)-38 3277 y(.)-38 3290 y(.)-38 +3302 y(.)-38 3315 y(.)-38 3328 y(.)-38 3341 y(.)-38 3354 +y(.)-38 3367 y(.)-38 3380 y(.)-38 3393 y(.)-38 3406 y(.)-38 +3419 y(.)-38 3432 y(.)-38 3445 y(.)-38 3458 y(.)-38 3471 +y(.)-38 3484 y(.)-38 3497 y(.)-38 3510 y(.)-38 3523 y(.)-38 +3536 y(.)-38 3549 y(.)-38 3562 y(.)-38 3575 y(.)-38 3588 +y(.)-38 3601 y(.)-38 3614 y(.)-38 3627 y(.)-38 3640 y(.)-38 +3653 y(.)-38 3666 y(.)-38 3679 y(.)-38 3692 y(.)-38 3705 +y(.)-38 3718 y(.)-38 3731 y(.)-38 3744 y(.)-38 3757 y(.)-38 +3769 y(.)-38 3782 y(.)-38 3795 y(.)-38 3808 y(.)-38 3821 +y(.)-38 3834 y(.)-38 3847 y(.)-38 3860 y(.)-38 3873 y(.)-38 +3886 y(.)-38 3899 y(.)-38 3912 y(.)-38 3925 y(.)-38 3938 +y(.)-38 3951 y(.)-38 3964 y(.)-38 3977 y(.)-38 3990 y(.)-38 +4003 y(.)-38 4016 y(.)-38 4029 y(.)-38 4042 y(.)-38 4055 +y(.)-38 4068 y(.)-38 4081 y(.)-38 4094 y(.)-38 4107 y(.)-38 +4120 y(.)-38 4133 y(.)-38 4146 y(.)-38 4159 y(.)-38 4172 +y(.)-38 4185 y(.)-38 4198 y(.)-38 4211 y(.)-38 4224 y(.)0 +1744 y Fs(last)10 b Fw(returns)j(the)f(last)f(cons)h(\()p +Fv(not)f Fw(the)h(last)f(elemen)o(t!\))17 b(of)10 b Fv(list)p +Fw(.)16 b(If)11 b Fv(list)g Fw(is)g Fs(\(\))p Fw(,)f(it)h(returns)0 +1796 y Fs(\(\))p Fw(.)18 b(F)m(or)13 b(example:)0 1881 +y Fs(\(setq)20 b(x)171 1885 y Fn(')194 1881 y Fs(\(a)h(b)g(c)g(d\)\))0 +1933 y(\(last)f(x\))h Ft(\))g Fs(\(d\))0 1984 y(\(rplacd)f(\(last)g +(x\))366 1988 y Fn(')390 1984 y Fs(\(e)h(f\)\))0 2036 +y(x)g Ft(\))103 2040 y Fn(')127 2036 y Fs(\(a)g(b)g(c)g(d)f(e)h(f\))0 +2088 y(\(last)128 2092 y Fn(')151 2088 y Fs(\(a)g(b)g(c)g(.)g(d\)\))g +Ft(\))f Fs(\(c)h(.)g(d\))-33 2104 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2173 a Fw(X3J13)e(v)o(oted)h(in)f(June)i(1988)e +Ft(h)p Fw(106)p Ft(i)g Fw(to)h(extend)h(the)f Fs(last)f +Fw(function)h(to)f(accept)-33 2145 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2225 a(an)c(optional)f(second)i(argumen)o(t.)21 +b(The)16 b(e\013ect)h(is)e(to)g(mak)o(e)f Fs(last)g Fw(complemen)o +(tary)f(in)0 2277 y(op)q(eration)h(to)g Fs(butlast)p +Fw(.)i(The)f(new)f(description)h(\(with)e(some)g(additional)g +(examples\))0 2329 y(w)o(ould)g(b)q(e)i(as)f(follo)o(ws.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 446 470 +446 469 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(446)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(last)20 b Fv(list)25 b Fs(&optional)19 b(\()p Fv(n)24 +b Fs(1\))0 372 y(last)13 b Fw(returns)i(the)f(tail)e(of)h(the)h +Fv(list)f Fw(consisting)g(of)g(the)h(last)f Fv(n)h Fw(conses)h(of)e +Fv(list)p Fw(.)k(The)d Fv(list)0 424 y Fw(ma)o(y)e(b)q(e)i(a)g(dotted)g +(list.)k(It)c(is)g(an)f(error)i(if)e(the)i Fv(list)e +Fw(is)g(circular.)42 476 y(The)f(argumen)o(t)f Fv(n)h +Fw(m)o(ust)f(b)q(e)i(a)e(non-negativ)o(e)h(in)o(teger.)18 +b(If)11 b Fv(n)i Fw(is)f(zero,)g(then)h(the)g(atom)0 +527 y(that)i(terminates)g(the)g Fv(list)f Fw(is)h(returned.)22 +b(If)15 b Fv(n)g Fw(is)g(not)g(less)g(than)g(the)h(n)o(um)o(b)q(er)e +(of)g(cons)0 579 y(cells)g(making)e(up)i(the)g Fv(list)p +Fw(,)f(then)h(the)h Fv(list)e Fw(itself)g(is)h(returned.)42 +631 y(F)m(or)f(example:)0 718 y Fs(\(setq)20 b(x)171 +722 y Fn(')194 718 y Fs(\(a)h(b)g(c)g(d\)\))0 770 y(\(last)f(x\))h +Ft(\))g Fs(\(d\))0 821 y(\(rplacd)f(\(last)g(x\))366 +825 y Fn(')390 821 y Fs(\(e)h(f\)\))0 873 y(x)g Ft(\))103 +877 y Fn(')127 873 y Fs(\(a)g(b)g(c)g(d)f(e)h(f\))0 925 +y(\(last)f(x)h(3\))g Ft(\))g Fs(\(d)f(e)h(f\))0 977 y(\(last)128 +981 y Fn(')151 977 y Fs(\(\)\))g Ft(\))g Fs(\(\))0 1029 +y(\(last)128 1033 y Fn(')151 1029 y Fs(\(a)g(b)g(c)g(.)g(d\)\))g +Ft(\))f Fs(\(c)h(.)g(d\))0 1081 y(\(last)128 1085 y Fn(')151 +1081 y Fs(\(a)g(b)g(c)g(.)g(d\))g(0\))f Ft(\))h Fs(d)0 +1133 y(\(last)128 1137 y Fn(')151 1133 y Fs(\(a)g(b)g(c)g(.)g(d\))g +(2\))f Ft(\))h Fs(\(b)g(c)g(.)g(d\))0 1185 y(\(last)128 +1189 y Fn(')151 1185 y Fs(\(a)g(b)g(c)g(.)g(d\))g(1729\))f +Ft(\))h Fs(\(a)f(b)h(c)g(.)g(d\))-33 1200 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1317 a Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(list)20 b(&rest)g Fv(ar)n(gs)0 1394 y Fs(list)13 +b Fw(constructs)j(and)e(returns)h(a)f(list)f(of)g(its)h(argumen)o(ts.)k +(F)m(or)13 b(example:)0 1480 y Fs(\(list)20 b(3)h(4)214 +1484 y Fn(')237 1480 y Fs(a)g(\(car)386 1484 y Fn(')410 +1480 y Fs(\(b)f(.)h(c\)\))g(\(+)g(6)g(-2\)\))f Ft(\))h +Fs(\(3)f(4)h(a)g(b)g(4\))0 1567 y(\(list\))f Ft(\))h +Fs(\(\))0 1619 y(\(list)f(\(list)258 1623 y Fn(')281 +1619 y Fs(a)322 1623 y Fn(')346 1619 y Fs(b\))g(\(list)538 +1623 y Fn(')562 1619 y Fs(c)602 1623 y Fn(')626 1619 +y Fs(d)667 1623 y Fn(')690 1619 y Fs(e\)\))g Ft(\))h +Fs(\(\(a)g(b\))f(\(c)h(d)g(e\)\))-33 1634 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1751 a Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(list*)20 b Fv(ar)n(g)25 b Fs(&rest)20 b Fv(others)0 +1828 y Fs(list*)10 b Fw(is)i(lik)o(e)e Fs(list)h Fw(except)i(that)e +(the)h(last)f Fv(c)n(ons)h Fw(of)f(the)h(constructed)i(list)d(is)g +(\\dotted.")0 1880 y(The)17 b(last)e(argumen)o(t)g(to)h +Fs(list*)f Fw(is)h(used)h(as)g(the)f Fv(c)n(dr)g Fw(of)g(the)g(last)g +(cons)h(constructed;)0 1932 y(this)12 b(need)g(not)g(b)q(e)g(an)g +(atom.)j(If)c(it)h(is)f(not)h(an)f(atom,)f(then)i(the)g(e\013ect)i(is)d +(to)h(add)f(sev)o(eral)0 1984 y(new)j(elemen)o(ts)g(to)g(the)g(fron)o +(t)g(of)f(a)h(list.)j(F)m(or)d(example:)0 2070 y Fs(\(list*)150 +2074 y Fn(')173 2070 y Fs(a)214 2074 y Fn(')237 2070 +y Fs(b)278 2074 y Fn(')301 2070 y Fs(c)342 2074 y Fn(')366 +2070 y Fs(d\))20 b Ft(\))h Fs(\(a)g(b)g(c)g(.)g(d\))0 +2156 y Fw(This)14 b(is)g(lik)o(e)0 2243 y Fs(\(cons)128 +2247 y Fn(')151 2243 y Fs(a)21 b(\(cons)322 2247 y Fn(')346 +2243 y Fs(b)g(\(cons)516 2247 y Fn(')540 2243 y Fs(c)581 +2247 y Fn(')604 2243 y Fs(d\)\)\))0 2329 y Fw(Also:)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 447 471 +447 470 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LISTS)1237 b(447)0 +295 y Fs(\(list*)150 299 y Fn(')173 295 y Fs(a)214 299 +y Fn(')237 295 y Fs(b)278 299 y Fn(')301 295 y Fs(c)342 +299 y Fn(')366 295 y Fs(\(d)20 b(e)h(f\)\))g Ft(\))f +Fs(\(a)h(b)g(c)g(d)g(e)g(f\))0 347 y(\(list*)f(x\))h +Ft(\021)g Fs(x)1209 469 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(make-list)19 b Fv(size)24 b Fs(&key)d(:initial-element)0 +545 y Fw(This)g(creates)h(and)f(returns)h(a)e(list)g(con)o(taining)g +Fv(size)g Fw(elemen)o(ts,)i(eac)o(h)f(of)f(whic)o(h)h(is)0 +597 y(initialized)14 b(to)h(the)g Fs(:initial-element)d +Fw(argumen)o(t)i(\(whic)o(h)h(defaults)h(to)f Fs(nil)p +Fw(\).)21 b Fv(size)0 649 y Fw(should)14 b(b)q(e)g(a)g(non-negativ)o(e) +f(in)o(teger.)19 b(F)m(or)13 b(example:)0 734 y Fs(\(make-list)19 +b(5\))i Ft(\))g Fs(\(nil)f(nil)g(nil)h(nil)g(nil\))0 +785 y(\(make-list)e(3)i(:initial-element)650 789 y Fn(')673 +785 y Fs(rah\))f Ft(\))h Fs(\(rah)f(rah)h(rah\))1209 +907 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(append)20 +b(&rest)g Fv(lists)0 984 y Fw(The)10 b(argumen)o(ts)e(to)i +Fs(append)e Fw(are)h(lists.)17 b(The)10 b(result)g(is)f(a)g(list)g +(that)g(is)g(the)h(concatenation)0 1036 y(of)j(the)i(argumen)o(ts.)i +(The)d(argumen)o(ts)g(are)g(not)g(destro)o(y)o(ed.)19 +b(F)m(or)13 b(example:)0 1120 y Fs(\(append)171 1124 +y Fn(')195 1120 y Fs(\(a)21 b(b)g(c\))365 1124 y Fn(')389 +1120 y Fs(\(d)f(e)h(f\))559 1124 y Fn(')582 1120 y Fs(\(\))645 +1124 y Fn(')668 1120 y Fs(\(g\)\))f Ft(\))h Fs(\(a)g(b)g(c)g(d)g(e)g(f) +g(g\))0 1205 y Fw(Note)16 b(that)f Fs(append)f Fw(copies)i(the)f +(top-lev)o(el)g(list)g(structure)i(of)e(eac)o(h)h(of)e(its)h(argumen)o +(ts)0 1257 y Fv(exc)n(ept)h Fw(the)f(last.)22 b(The)16 +b(function)f Fs(concatenate)e Fw(can)i(p)q(erform)g(a)g(similar)d(op)q +(eration,)0 1309 y(but)i(alw)o(a)o(ys)e(copies)i(all)e(its)i(argumen)o +(ts.)j(See)d(also)f Fs(nconc)p Fw(,)f(whic)o(h)h(is)h(lik)o(e)e +Fs(append)h Fw(but)0 1360 y(destro)o(ys)i(all)e(argumen)o(ts)g(but)h +(the)g(last.)42 1412 y(The)g(last)f(argumen)o(t)g(actually)g(need)i +(not)f(b)q(e)g(a)g(list)f(but)h(ma)o(y)e(b)q(e)i(an)o(y)g(Lisp)f(ob)r +(ject,)0 1464 y(whic)o(h)e(b)q(ecomes)g(the)h(tail)e(end)i(of)e(the)i +(constructed)h(list.)k(F)m(or)10 b(example,)g Fs(\(append)1328 +1468 y Fn(')1351 1464 y Fs(\(a)0 1516 y(b)21 b(c\))105 +1520 y Fn(')129 1516 y Fs(d\))13 b Ft(\))h Fs(\(a)20 +b(b)h(c)g(.)g(d\))p Fw(.)42 1568 y Fs(\(append)e Fv(x)253 +1572 y Fn(')277 1568 y Fs(\(\)\))11 b Fw(is)g(an)h(idiom)d(once)j +(frequen)o(tly)g(used)h(to)e(cop)o(y)h(the)g(list)f Fv(x)p +Fw(,)h(but)g(the)0 1620 y Fs(copy-list)g Fw(function)i(is)f(more)g +(appropriate)h(to)g(this)g(task.)1209 1742 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(copy-list)19 b Fv(list)0 1819 y Fw(This)f(returns)h(a)e +(list)g(that)h(is)f Fs(equal)g Fw(to)g Fv(list)p Fw(,)h(but)f(not)h +Fs(eq)p Fw(.)29 b(Only)17 b(the)h(top)g(lev)o(el)f(of)0 +1871 y(list)c(structure)i(is)e(copied;)g(that)g(is,)g +Fs(copy-list)e Fw(copies)j(in)f(the)g Fv(c)n(dr)g Fw(direction)g(but)h +(not)0 1922 y(in)j(the)h Fv(c)n(ar)e Fw(direction.)29 +b(If)17 b(the)g(list)g(is)g(\\dotted,")h(that)f(is,)h +Fs(\(cdr)i(\(last)g Fv(list)p Fs(\)\))c Fw(is)h(a)0 1974 +y(non-)p Fs(nil)e Fw(atom,)e(this)j(will)e(b)q(e)i(true)h(of)e(the)h +(returned)h(list)e(also.)23 b(See)16 b(also)f Fs(copy-seq)0 +2026 y Fw(and)f Fs(copy-tree)p Fw(.)1209 2148 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(copy-alist)19 b Fv(list)0 2225 y Fs(copy-alist)13 +b Fw(is)h(for)g(cop)o(ying)g(asso)q(ciation)g(lists.)21 +b(The)15 b(top)f(lev)o(el)g(of)g(list)h(structure)h(of)0 +2277 y Fv(list)e Fw(is)g(copied,)h(just)g(as)g(for)g +Fs(copy-list)p Fw(.)j(In)d(addition,)e(eac)o(h)j(elemen)o(t)e(of)g +Fv(list)g Fw(that)h(is)0 2329 y(a)f(cons)g(is)g(replaced)h(in)e(the)i +(cop)o(y)e(b)o(y)h(a)g(new)g(cons)g(with)g(the)h(same)e +Fv(c)n(ar)g Fw(and)h Fv(c)n(dr)p Fw(.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 448 472 +448 471 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(448)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(copy-tree)19 b Fv(obje)n(ct)0 372 y Fs(copy-tree)c +Fw(is)h(for)g(cop)o(ying)g(trees)j(of)d(conses.)27 b(The)17 +b(argumen)o(t)f Fv(obje)n(ct)g Fw(ma)o(y)f(b)q(e)i(an)o(y)0 +423 y(Lisp)f(ob)r(ject.)26 b(If)15 b(it)h(is)g(not)g(a)g(cons,)h(it)e +(is)h(returned;)j(otherwise)e(the)g(result)f(is)g(a)g(new)0 +475 y(cons)11 b(of)f(the)i(results)g(of)e(calling)f Fs(copy-tree)g +Fw(on)i(the)g Fv(c)n(ar)f Fw(and)h Fv(c)n(dr)f Fw(of)g(the)i(argumen)o +(t.)k(In)0 527 y(other)f(w)o(ords,)e(all)g(conses)i(in)f(the)g(tree)h +(are)f(copied)h(recursiv)o(ely)m(,)f(stopping)f(only)g(when)0 +579 y(non-conses)h(are)g(encoun)o(tered.)19 b(Circularities)13 +b(and)g(the)h(sharing)e(of)h(substructure)i(are)0 631 +y Fv(not)f Fw(preserv)o(ed.)p 0 691 V 0 751 a Fm(Compatibilit)o(y)e +(note:)17 b FA(This)d(function)g(is)g(called)h Fj(copy)c +FA(in)j(In)o(terlisp.)p 0 786 V 1209 892 a Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(revappend)19 b Fv(x)27 b(y)0 969 y Fs(\(revappend)19 +b Fv(x)j(y)p Fs(\))e Fw(is)g(exactly)g(the)h(same)e(as)i +Fs(\(append)e(\(reverse)h Fv(x)p Fs(\))h Fv(y)p Fs(\))f +Fw(except)0 1021 y(that)15 b(it)f(is)h(p)q(oten)o(tially)f(more)g +(e\016cien)o(t.)21 b(Both)16 b Fv(x)f Fw(and)g Fv(y)g +Fw(should)f(b)q(e)i(lists.)21 b(The)15 b(argu-)0 1073 +y(men)o(t)e Fv(x)h Fw(is)g(copied,)g(not)f(destro)o(y)o(ed.)20 +b(Compare)12 b(this)i(with)g Fs(nreconc)p Fw(,)e(whic)o(h)i(destro)o +(ys)0 1125 y(its)g(\014rst)h(argumen)o(t.)1209 1251 y([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(nconc)20 b(&rest)g Fv(lists)0 +1328 y Fs(nconc)10 b Fw(tak)o(es)h(lists)g(as)g(argumen)o(ts.)16 +b(It)11 b(returns)i(a)d(list)h(that)g(is)f(the)i(argumen)o(ts)e +(concate-)0 1380 y(nated)17 b(together.)27 b(The)17 b(argumen)o(ts)f +(are)h(c)o(hanged)g(rather)h(than)e(copied.)27 b(\(Compare)0 +1432 y(this)14 b(with)f Fs(append)p Fw(,)f(whic)o(h)i(copies)g(argumen) +o(ts)f(rather)h(than)g(destro)o(ying)g(them.\))j(F)m(or)0 +1484 y(example:)0 1569 y Fs(\(setq)j(x)171 1573 y Fn(')194 +1569 y Fs(\(a)h(b)g(c\)\))0 1621 y(\(setq)f(y)171 1625 +y Fn(')194 1621 y Fs(\(d)h(e)g(f\)\))0 1673 y(\(nconc)f(x)h(y\))g +Ft(\))f Fs(\(a)h(b)g(c)g(d)g(e)g(f\))0 1725 y(x)g Ft(\))g +Fs(\(a)f(b)h(c)g(d)g(e)g(f\))0 1810 y Fw(Note,)15 b(in)g(the)g +(example,)f(that)h(the)g(v)n(alue)g(of)f Fs(x)h Fw(is)f(no)o(w)h +(di\013eren)o(t,)h(since)f(its)g(last)g(cons)0 1862 y(has)g(b)q(een)i +Fs(rplacd)p Fw('d)c(to)i(the)h(v)n(alue)e(of)h Fs(y)p +Fw(.)21 b(If)15 b(one)g(w)o(ere)h(then)g(to)f(ev)n(aluate)g +Fs(\(nconc)20 b(x)0 1914 y(y\))12 b Fw(again,)e(it)i(w)o(ould)f(yield)h +(a)g(piece)h(of)e(\\circular")h(list)g(structure,)i(whose)f(prin)o(ted) +f(rep-)0 1966 y(resen)o(tation)i(w)o(ould)f(b)q(e)h Fs(\(a)20 +b(b)h(c)g(d)g(e)g(f)g(d)g(e)g(f)g(d)g(e)g(f)g(...\))p +Fw(,)12 b(rep)q(eating)i(forev)o(er;)g(if)0 2017 y(the)j +Fs(*print-circle*)c Fw(switc)o(h)j(w)o(ere)h(non-)p Fs(nil)p +Fw(,)e(it)h(w)o(ould)f(b)q(e)i(prin)o(ted)f(as)g Fs(\(a)21 +b(b)g(c)g(.)0 2069 y(#)0 2065 y(-)0 2073 y(-)22 2069 +y(1)44 2065 y(U)44 2073 y(U)65 2069 y(\(d)g(e)g(f)g(.)g(#)259 +2065 y(-)259 2073 y(-)281 2069 y(1#)303 2065 y(-)303 +2073 y(-)324 2069 y(\)\))p Fw(.)42 2121 y(X3J13)15 b(v)o(oted)h(in)f +(Marc)o(h)h(1989)e Ft(h)p Fw(153)p Ft(i)h Fw(to)h(clarify)f(the)h(p)q +(ermissible)f(side)h(e\013ects)h(of)-33 2093 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2173 a(certain)11 b(op)q(erations.)16 +b(The)11 b(side-e\013ect)h(b)q(eha)o(vior)d(of)h Fs(nconc)f +Fw(is)g(sp)q(eci\014ed)j(b)o(y)e(a)f(recursiv)o(e)0 2225 +y(relationship)i(outlined)h(in)g(the)g(follo)o(wing)e(table,)h(in)h +(whic)o(h)g(a)g(call)f(to)h Fs(nconc)f Fw(matc)o(hing)0 +2277 y(the)h(earliest)h(p)q(ossible)f(pattern)g(on)g(the)g(left)g(is)f +(required)i(to)f(ha)o(v)o(e)f(side-e\013ect)j(b)q(eha)o(vior)0 +2329 y(equiv)n(alen)o(t)f(to)h(the)g(corresp)q(onding)h(expression)g +(on)f(the)g(righ)o(t.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 449 473 +449 472 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LISTS)1237 b(449)0 +290 y Fs(\(nconc\))280 b(nil)105 b(;)p Fw(No)14 b(side)g(e\013ects)0 +341 y Fs(\(nconc)20 b(nil)g(.)h Fv(r)p Fs(\))113 b(\(nconc)20 +b(.)h Fv(r)p Fs(\))0 393 y(\(nconc)f Fv(x)p Fs(\))241 +b Fv(x)0 445 y Fs(\(nconc)20 b Fv(x)h(y)p Fs(\))200 b(\(let)20 +b(\(\(p)h Fv(x)p Fs(\))g(\(q)g Fv(y)p Fs(\)\))476 497 +y(\(rplacd)f(\(last)g(p\))h(q\))476 549 y(p\))0 601 y(\(nconc)f +Fv(x)h(y)h Fs(.)f Fv(r)p Fs(\))117 b(\(nconc)20 b(\(nconc)g +Fv(x)h(y)p Fs(\))g(.)g Fv(r)p Fs(\))-33 616 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1728 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 450 474 +450 473 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(450)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(nreconc)20 b Fv(x)26 b(y)0 372 y Fs(\(nreconc)20 +b Fv(x)h(y)p Fs(\))14 b Fw(is)f(exactly)h(the)g(same)f(as)h +Fs(\(nconc)20 b(\(nreverse)f Fv(x)p Fs(\))i Fv(y)p Fs(\))14 +b Fw(except)h(that)0 423 y(it)e(is)h(p)q(oten)o(tially)e(more)h +(e\016cien)o(t.)19 b(Both)14 b Fv(x)g Fw(and)f Fv(y)h +Fw(should)g(b)q(e)g(lists.)k(The)c(argumen)o(t)f Fv(x)0 +475 y Fw(is)h(destro)o(y)o(ed.)19 b(Compare)13 b(this)h(with)f +Fs(revappend)p Fw(.)0 561 y Fs(\(setq)20 b(planets)302 +565 y Fn(')325 561 y Fs(\(jupiter)g(mars)g(earth)g(venus)g(mercury\)\)) +0 612 y(\(setq)g(more-planets)411 616 y Fn(')434 612 +y Fs(\(saturn)g(uranus)g(pluto)g(neptune\)\))0 664 y(\(nreconc)g +(more-planets)e(planets\))0 716 y Ft(\))j Fs(\(neptune)e(pluto)h +(uranus)g(saturn)g(jupiter)g(mars)g(earth)g(venus)h(mercury\))42 +768 y Fw(and)14 b(no)o(w)g(the)g(v)n(alue)f(of)h Fs(more-planets)d +Fw(is)j(not)f(w)o(ell)h(de\014ned)-33 784 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 853 a(X3J13)h(v)o(oted)h(in)f(Marc)o(h)h(1989)e +Ft(h)p Fw(153)p Ft(i)h Fw(to)h(clarify)f(the)h(p)q(ermissible)f(side)h +(e\013ects)h(of)-33 825 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 905 a(certain)i(op)q(erations;)i Fs(\(nreconc)e +Fv(x)i(y)p Fs(\))e Fw(is)f(p)q(ermitted)g(and)h(required)g(to)f(ha)o(v) +o(e)h(side-)0 957 y(e\013ect)d(b)q(eha)o(vior)d(equiv)n(alen)o(t)g(to)h +(that)g(of)f Fs(\(nconc)20 b(\(nreverse)g Fv(x)p Fs(\))h +Fv(y)p Fs(\))p Fw(.)-33 969 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1255 1084 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(push)34 b Fv(item)15 b(plac)n(e)0 1161 y Fw(The)e(form)e +Fv(plac)n(e)h Fw(should)h(b)q(e)g(the)g(name)e(of)h(a)g(generalized)i +(v)n(ariable)d(con)o(taining)g(a)i(list;)0 1213 y Fv(item)i +Fw(ma)o(y)f(refer)i(to)g(an)o(y)f(Lisp)g(ob)r(ject.)24 +b(The)16 b Fv(item)f Fw(is)g(consed)i(on)o(to)e(the)h(fron)o(t)f(of)g +(the)0 1265 y(list,)e(and)g(the)h(augmen)o(ted)f(list)g(is)g(stored)i +(bac)o(k)e(in)o(to)g Fv(plac)n(e)h Fw(and)f(returned.)20 +b(The)13 b(form)0 1317 y Fv(plac)n(e)f Fw(ma)o(y)e(b)q(e)i(an)o(y)g +(form)e(acceptable)j(as)f(a)g(generalized)g(v)n(ariable)f(to)h +Fs(setf)p Fw(.)k(If)c(the)g(list)0 1369 y(held)17 b(in)f +Fv(plac)n(e)h Fw(is)f(view)o(ed)h(as)g(a)f(push-do)o(wn)h(stac)o(k,)g +(then)g Fs(push)f Fw(pushes)i(an)e(elemen)o(t)0 1421 +y(on)o(to)d(the)i(top)f(of)f(the)h(stac)o(k.)19 b(F)m(or)13 +b(example:)0 1506 y Fs(\(setq)20 b(x)171 1510 y Fn(')194 +1506 y Fs(\(a)h(\(b)g(c\))g(d\)\))0 1558 y(\(push)f(5)h(\(cadr)f(x\)\)) +h Ft(\))f Fs(\(5)h(b)g(c\))g Fw(and)14 b(no)o(w)20 b +Fs(x)h Ft(\))g Fs(\(a)g(\(5)g(b)g(c\))f(d\))0 1643 y +Fw(The)14 b(e\013ect)i(of)d Fs(\(push)20 b Fv(item)h(plac)n(e)p +Fs(\))14 b Fw(is)f(roughly)h(equiv)n(alen)o(t)f(to)0 +1728 y Fs(\(setf)20 b Fv(plac)n(e)h Fs(\(cons)g Fv(item)f(plac)n(e)p +Fs(\)\))0 1813 y Fw(except)14 b(that)f(the)g(latter)g(w)o(ould)f(ev)n +(aluate)h(an)o(y)f(subforms)g(of)g Fv(plac)n(e)h Fw(t)o(wice,)f(while)h +Fs(push)0 1865 y Fw(tak)o(es)f(care)h(to)f(ev)n(aluate)g(them)f(only)g +(once.)18 b(Moreo)o(v)o(er,)13 b(for)e(certain)i Fv(plac)n(e)f +Fw(forms)f Fs(push)0 1917 y Fw(ma)o(y)h(b)q(e)i(signi\014can)o(tly)f +(more)g(e\016cien)o(t)i(than)e(the)i Fs(setf)e Fw(v)o(ersion.)42 +1969 y(X3J13)k(v)o(oted)h(in)f(Marc)o(h)h(1988)f Ft(h)p +Fw(146)p Ft(i)g Fw(to)g(clarify)g(order)h(of)f(ev)n(aluation)g(\(see)i +(sec-)-33 1941 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2021 a(tion)14 b(7.2\).)20 b(Note)15 b(that)f +Fv(item)h Fw(is)f(fully)f(ev)n(aluated)i(b)q(efore)g(an)o(y)f(part)h +(of)f Fv(plac)n(e)h Fw(is)g(ev)n(alu-)0 2073 y(ated.)-33 +2084 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1255 2200 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(pushnew)34 b Fv(item)14 b(plac)n(e)h Fs(&key)20 +b(:test)g(:test-not)g(:key)0 2277 y Fw(The)13 b(form)e +Fv(plac)n(e)h Fw(should)h(b)q(e)g(the)g(name)e(of)h(a)g(generalized)i +(v)n(ariable)d(con)o(taining)g(a)i(list;)0 2329 y Fv(item)g +Fw(ma)o(y)e(refer)j(to)e(an)o(y)h(Lisp)g(ob)r(ject.)18 +b(If)13 b(the)h Fv(item)e Fw(is)h(not)g(already)g(a)f(mem)o(b)q(er)g +(of)g(the)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 451 475 +451 474 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LISTS)1237 b(451)0 +295 y Fw(list)13 b(\(as)g(determined)g(b)o(y)g(comparisons)f(using)h +(the)h Fs(:test)e Fw(predicate,)i(whic)o(h)f(defaults)0 +347 y(to)g Fs(eql)p Fw(\),)f(then)i(the)f Fv(item)g Fw(is)f(consed)i +(on)o(to)f(the)g(fron)o(t)g(of)f(the)i(list,)e(and)h(the)h(augmen)o +(ted)0 399 y(list)j(is)h(stored)h(bac)o(k)f(in)o(to)f +Fv(plac)n(e)g Fw(and)h(returned;)j(otherwise)e(the)f(unaugmen)o(ted)f +(list)0 450 y(is)i(returned.)34 b(The)20 b(form)d Fv(plac)n(e)i +Fw(ma)o(y)e(b)q(e)i(an)o(y)f(form)g(acceptable)i(as)e(a)h(generalized)0 +502 y(v)n(ariable)d(to)i Fs(setf)p Fw(.)27 b(If)17 b(the)h(list)f(held) +h(in)f Fv(plac)n(e)g Fw(is)g(view)o(ed)h(as)f(a)g(set,)i(then)f +Fs(pushnew)0 554 y Fw(adjoins)13 b(an)h(elemen)o(t)f(to)h(the)g(set;)h +(see)g Fs(adjoin)p Fw(.)42 606 y(The)g(k)o(eyw)o(ord)f(argumen)o(ts)g +(to)h Fs(pushnew)e Fw(follo)o(w)f(the)k(con)o(v)o(en)o(tions)e(for)h +(the)g(generic)0 658 y(sequence)22 b(functions.)36 b(See)21 +b(c)o(hapter)g(14.)35 b(In)20 b(e\013ect,)j(these)e(k)o(eyw)o(ords)f +(are)h(simply)0 710 y(passed)15 b(on)f(to)f(the)i Fs(adjoin)d +Fw(function.)42 762 y Fs(pushnew)g Fw(returns)j(the)g(new)f(con)o(ten)o +(ts)h(of)e(the)i Fv(plac)n(e)p Fw(.)j(F)m(or)13 b(example:)0 +848 y Fs(\(setq)20 b(x)171 852 y Fn(')194 848 y Fs(\(a)h(\(b)g(c\))g +(d\)\))0 899 y(\(pushnew)f(5)g(\(cadr)h(x\)\))f Ft(\))h +Fs(\(5)g(b)g(c\))f Fw(and)14 b(no)o(w)21 b Fs(x)g Ft(\))g +Fs(\(a)f(\(5)h(b)g(c\))g(d\))0 951 y(\(pushnew)193 955 +y Fn(')217 951 y Fs(b)g(\(cadr)f(x\)\))g Ft(\))h Fs(\(5)g(b)g(c\))f +Fw(and)14 b Fs(x)g Fw(is)g(unc)o(hanged)0 1037 y(The)g(e\013ect)i(of)0 +1123 y Fs(\(pushnew)k Fv(item)g(plac)n(e)i Fs(:test)e +Fv(p)p Fs(\))0 1208 y Fw(is)14 b(roughly)f(equiv)n(alen)o(t)g(to)0 +1294 y Fs(\(setf)20 b Fv(plac)n(e)h Fs(\(adjoin)f Fv(item)h(plac)n(e)g +Fs(:test)f Fv(p)p Fs(\)\))0 1380 y Fw(except)j(that)f(the)g(latter)g(w) +o(ould)f(ev)n(aluate)g(an)o(y)g(subforms)g(of)g Fv(plac)n(e)h +Fw(t)o(wice,)h(while)0 1432 y Fs(pushnew)15 b Fw(tak)o(es)h(care)h(to)f +(ev)n(aluate)f(them)h(only)f(once.)25 b(Moreo)o(v)o(er,)16 +b(for)g(certain)h Fv(plac)n(e)0 1484 y Fw(forms)c Fs(pushnew)f +Fw(ma)o(y)g(b)q(e)i(signi\014can)o(tly)f(more)g(e\016cien)o(t)h(than)g +(the)h Fs(setf)e Fw(v)o(ersion.)42 1536 y(X3J13)k(v)o(oted)h(in)f(Marc) +o(h)h(1988)f Ft(h)p Fw(146)p Ft(i)g Fw(to)g(clarify)g(order)h(of)f(ev)n +(aluation)g(\(see)i(sec-)-33 1507 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1588 a(tion)14 b(7.2\).)20 b(Note)15 b(that)f +Fv(item)h Fw(is)f(fully)f(ev)n(aluated)i(b)q(efore)g(an)o(y)f(part)h +(of)f Fv(plac)n(e)h Fw(is)g(ev)n(alu-)0 1639 y(ated.)-33 +1651 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1255 1769 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(pop)34 b Fv(plac)n(e)0 1846 y Fw(The)13 b(form)e +Fv(plac)n(e)h Fw(should)h(b)q(e)g(the)g(name)e(of)h(a)g(generalized)i +(v)n(ariable)d(con)o(taining)g(a)i(list.)0 1898 y(The)i(result)h(of)e +Fs(pop)g Fw(is)g(the)h Fs(car)f Fw(of)h(the)g(con)o(ten)o(ts)h(of)e +Fv(plac)n(e)p Fw(,)g(and)h(as)f(a)h(side)g(e\013ect)h(the)0 +1950 y Fs(cdr)11 b Fw(of)g(the)i(con)o(ten)o(ts)g(is)e(stored)i(bac)o +(k)f(in)o(to)f Fv(plac)n(e)p Fw(.)18 b(The)12 b(form)e +Fv(plac)n(e)i Fw(ma)o(y)e(b)q(e)i(an)o(y)f(form)0 2002 +y(acceptable)i(as)g(a)f(generalized)h(v)n(ariable)e(to)i +Fs(setf)p Fw(.)j(If)c(the)h(list)f(held)h(in)f Fv(plac)n(e)g +Fw(is)h(view)o(ed)0 2054 y(as)k(a)g(push-do)o(wn)g(stac)o(k,)h(then)f +Fs(pop)g Fw(p)q(ops)g(an)g(elemen)o(t)f(from)g(the)h(top)g(of)g(the)g +(stac)o(k)0 2105 y(and)d(returns)h(it.)j(F)m(or)13 b(example:)0 +2191 y Fs(\(setq)20 b(stack)258 2195 y Fn(')281 2191 +y Fs(\(a)h(b)g(c\)\))0 2243 y(\(pop)f(stack\))g Ft(\))h +Fs(a)g Fw(and)14 b(no)o(w)20 b Fs(stack)h Ft(\))f Fs(\(b)h(c\))0 +2329 y Fw(The)14 b(e\013ect)i(of)d Fs(\(pop)20 b Fv(plac)n(e)p +Fs(\))14 b Fw(is)g(roughly)f(equiv)n(alen)o(t)g(to)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 452 476 +452 475 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(452)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(prog1)20 b(\(car)g Fv(plac)n(e)p +Fs(\))h(\(setf)f Fv(plac)n(e)i Fs(\(cdr)e Fv(plac)n(e)p +Fs(\)\)\))0 377 y Fw(except)13 b(that)f(the)h(latter)f(w)o(ould)f(ev)n +(aluate)h(an)o(y)g(subforms)f(of)g Fv(plac)n(e)h Fw(three)h(times,)e +(while)0 429 y Fs(pop)i Fw(tak)o(es)i(care)f(to)g(ev)n(aluate)g(them)f +(only)g(once.)19 b(Moreo)o(v)o(er,)14 b(for)g(certain)g +Fv(plac)n(e)g Fw(forms)0 481 y Fs(pop)f Fw(ma)o(y)f(b)q(e)j +(signi\014can)o(tly)e(more)f(e\016cien)o(t)j(than)f(the)g +Fs(setf)f Fw(v)o(ersion.)42 533 y(X3J13)k(v)o(oted)h(in)f(Marc)o(h)h +(1988)f Ft(h)p Fw(146)p Ft(i)g Fw(to)g(clarify)g(order)h(of)f(ev)n +(aluation)g(\(see)i(sec-)-33 504 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 585 a(tion)13 b(7.2\).)-33 596 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 695 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(butlast)20 b Fv(list)k Fs(&optional)19 b Fv(n)0 +772 y Fw(This)c(creates)i(and)f(returns)h(a)e(list)g(with)g(the)h(same) +e(elemen)o(ts)h(as)h Fv(list)p Fw(,)e(excepting)i(the)0 +824 y(last)g Fv(n)g Fw(elemen)o(ts.)24 b Fv(n)17 b Fw(defaults)f(to)g +(1.)24 b(The)16 b(argumen)o(t)f(is)h(not)g(destro)o(y)o(ed.)25 +b(If)16 b(the)h Fv(list)0 876 y Fw(has)d(few)o(er)h(than)e +Fv(n)i Fw(elemen)o(ts,)e(then)h Fs(\(\))g Fw(is)g(returned.)19 +b(F)m(or)14 b(example:)0 959 y Fs(\(butlast)193 963 y +Fn(')217 959 y Fs(\(a)20 b(b)h(c)g(d\)\))g Ft(\))g Fs(\(a)f(b)h(c\))0 +1010 y(\(butlast)193 1014 y Fn(')217 1010 y Fs(\(\(a)f(b\))h(\(c)g +(d\)\)\))f Ft(\))h Fs(\(\(a)f(b\)\))0 1062 y(\(butlast)193 +1066 y Fn(')217 1062 y Fs(\(a\)\))g Ft(\))h Fs(\(\))0 +1114 y(\(butlast)f(nil\))g Ft(\))h Fs(\(\))0 1197 y Fw(The)14 +b(name)f(is)h(from)e(the)i(phrase)h(\\all)e(elemen)o(ts)g(but)h(the)h +(last.")1209 1307 y([)p Fv(F)m(unction)s Fw(])-1395 b +Fs(nbutlast)20 b Fv(list)k Fs(&optional)19 b Fv(n)0 1384 +y Fw(This)13 b(is)f(the)i(destructiv)o(e)g(v)o(ersion)f(of)f +Fs(butlast)p Fw(;)f(it)h(c)o(hanges)i(the)f Fv(c)n(dr)g +Fw(of)f(the)h(cons)g Fv(n)p Fw(+1)0 1436 y(from)j(the)i(end)f(of)g(the) +h Fv(list)f Fw(to)g Fs(nil)p Fw(.)28 b Fv(n)17 b Fw(defaults)h(to)f(1.) +28 b(If)17 b(the)h Fv(list)e Fw(has)i(few)o(er)g(than)0 +1488 y Fv(n)h Fw(elemen)o(ts,)h(then)g Fs(nbutlast)e +Fw(returns)i Fs(\(\))p Fw(,)g(and)f(the)g(argumen)o(t)g(is)g(not)g(mo)q +(di\014ed.)0 1540 y(\(Therefore)d(one)g(normally)c(writes)j +Fs(\(setq)21 b(a)f(\(nbutlast)g(a\)\))14 b Fw(rather)i(than)f(simply)0 +1592 y Fs(\(nbutlast)k(a\))p Fw(.\))f(F)m(or)c(example:)0 +1674 y Fs(\(setq)20 b(foo)214 1678 y Fn(')238 1674 y +Fs(\(a)h(b)g(c)g(d\)\))0 1726 y(\(nbutlast)e(foo\))i +Ft(\))f Fs(\(a)h(b)g(c\))0 1778 y(foo)g Ft(\))f Fs(\(a)h(b)g(c\))0 +1830 y(\(nbutlast)215 1834 y Fn(')238 1830 y Fs(\(a\)\))g +Ft(\))g Fs(\(\))0 1882 y(\(nbutlast)215 1886 y Fn(')238 +1882 y Fs(nil\))g Ft(\))g Fs(\(\))1209 1993 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(ldiff)20 b Fv(list)k(sublist)0 +2069 y(list)14 b Fw(should)g(b)q(e)h(a)f(list,)g(and)g +Fv(sublist)g Fw(should)g(b)q(e)h(a)f(sublist)h(of)f Fv(list)p +Fw(,)f(that)i(is,)f(one)g(of)g(the)0 2121 y(conses)h(that)e(mak)o(e)f +(up)i Fv(list)p Fw(.)j Fs(ldiff)12 b Fw(\(meaning)g(\\list)h +(di\013erence"\))i(will)d(return)j(a)e(new)0 2173 y(\(freshly)18 +b(consed\))h(list,)f(whose)h(elemen)o(ts)e(are)i(those)f(elemen)o(ts)g +(of)f Fv(list)g Fw(that)h(app)q(ear)0 2225 y(b)q(efore)c +Fv(sublist)p Fw(.)j(If)12 b Fv(sublist)h Fw(is)f(not)h(a)g(tail)e(of)i +Fv(list)f Fw(\(and)h(in)f(particular)h(if)f Fv(sublist)g +Fw(is)h Fs(nil)p Fw(\),)0 2277 y(then)i(a)e(cop)o(y)h(of)f(the)i(en)o +(tire)g Fv(list)e Fw(is)g(returned.)20 b(The)15 b(argumen)o(t)d +Fv(list)h Fw(is)h(not)g(destro)o(y)o(ed.)0 2329 y(F)m(or)f(example:)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 453 477 +453 476 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LISTS)1237 b(453)0 +295 y Fs(\(setq)20 b(x)171 299 y Fn(')194 295 y Fs(\(a)h(b)g(c)g(d)g +(e\)\))0 347 y(\(setq)f(y)h(\(cdddr)f(x\)\))h Ft(\))f +Fs(\(d)h(e\))0 399 y(\(ldiff)f(x)h(y\))g Ft(\))f Fs(\(a)h(b)g(c\))0 +467 y Fw(but)g Fs(\(ldiff)233 471 y Fn(')257 467 y Fs(\(a)f(b)h(c)g +(d\))470 471 y Fn(')493 467 y Fs(\(c)g(d\)\))f Ft(\))h +Fs(\(a)g(b)g(c)g(d\))0 559 y Fw(since)15 b(the)f(sublist)g(w)o(as)g +(not)g Fs(eq)f Fw(to)h(an)o(y)f(part)h(of)g(the)g(list.)0 +738 y Fo(15.3.)20 b(Alteration)14 b(of)h(List)f(Structure)0 +833 y Fw(The)e(functions)g Fs(rplaca)e Fw(and)i Fs(rplacd)e +Fw(ma)o(y)g(b)q(e)i(used)h(to)e(mak)o(e)f(alterations)i(in)f(already)0 +885 y(existing)16 b(list)h(structure,)i(that)e(is,)f(to)h(c)o(hange)g +(the)g Fv(c)n(ar)g Fw(or)f Fv(c)n(dr)h Fw(of)f(an)g(existing)h(cons.)0 +937 y(One)e(ma)o(y)d(also)h(use)i Fs(setf)e Fw(in)g(conjunction)h(with) +f Fs(car)h Fw(and)f Fs(cdr)p Fw(.)42 989 y(The)22 b(structure)i(is)d +(not)h(copied)g(but)g(is)f(destructiv)o(ely)i(altered;)j(hence)d +(caution)0 1041 y(should)18 b(b)q(e)h(exercised)h(when)e(using)g(these) +i(functions,)f(as)f(strange)h(side)f(e\013ects)j(can)0 +1093 y(o)q(ccur)h(if)e(p)q(ortions)h(of)f(list)g(structure)j(b)q(ecome) +e(shared.)40 b(The)21 b Fs(nconc)p Fw(,)g Fs(nreverse)p +Fw(,)0 1145 y Fs(nreconc)p Fw(,)d(and)h Fs(nbutlast)e +Fw(functions,)i(already)g(describ)q(ed,)i(ha)o(v)o(e)e(the)g(same)f +(prop-)0 1197 y(ert)o(y)m(,)f(as)g(do)g(certain)h(of)e(the)i(generic)f +(sequence)j(functions)d(suc)o(h)g(as)g Fs(delete)p Fw(.)26 +b(Ho)o(w-)0 1249 y(ev)o(er,)14 b(they)h(are)f(normally)d(not)j(used)h +(for)e(this)h(side)g(e\013ect;)h(rather,)g(the)f(list-structure)0 +1301 y(mo)q(di\014cation)e(is)i(purely)g(for)g(e\016ciency)m(,)g(and)g +(compatible)f(non-mo)q(difying)e(functions)0 1352 y(are)j(pro)o(vided.) +1209 1515 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(rplaca)20 +b Fv(x)26 b(y)0 1593 y Fs(\(rplaca)20 b Fv(x)h(y)p Fs(\))14 +b Fw(c)o(hanges)g(the)g Fv(c)n(ar)f Fw(of)g Fv(x)h Fw(to)g +Fv(y)f Fw(and)h(returns)h(\(the)f(mo)q(di\014ed\))f Fv(x)p +Fw(.)18 b Fv(x)c Fw(m)o(ust)0 1644 y(b)q(e)h(a)e(cons,)h(but)g +Fv(y)g Fw(ma)o(y)e(b)q(e)j(an)o(y)e(Lisp)h(ob)r(ject.)19 +b(F)m(or)13 b(example:)0 1737 y Fs(\(setq)20 b(g)171 +1741 y Fn(')194 1737 y Fs(\(a)h(b)g(c\)\))0 1789 y(\(rplaca)f(\(cdr)g +(g\))345 1793 y Fn(')368 1789 y Fs(d\))h Ft(\))f Fs(\(d)h(c\))0 +1841 y Fw(No)o(w)g Fs(g)g Ft(\))g Fs(\(a)f(d)h(c\))1209 +2003 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(rplacd)20 +b Fv(x)26 b(y)0 2081 y Fs(\(rplacd)20 b Fv(x)h(y)p Fs(\))14 +b Fw(c)o(hanges)g(the)g Fv(c)n(dr)f Fw(of)g Fv(x)h Fw(to)g +Fv(y)f Fw(and)h(returns)h(\(the)f(mo)q(di\014ed\))f Fv(x)p +Fw(.)18 b Fv(x)c Fw(m)o(ust)0 2133 y(b)q(e)h(a)e(cons,)h(but)g +Fv(y)g Fw(ma)o(y)e(b)q(e)j(an)o(y)e(Lisp)h(ob)r(ject.)19 +b(F)m(or)13 b(example:)0 2225 y Fs(\(setq)20 b(x)171 +2229 y Fn(')194 2225 y Fs(\(a)h(b)g(c\)\))0 2277 y(\(rplacd)f(x)214 +2281 y Fn(')238 2277 y Fs(d\))h Ft(\))f Fs(\(a)h(.)g(d\))0 +2329 y Fw(No)o(w)g Fs(x)g Ft(\))g Fs(\(a)f(.)h(d\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 454 478 +454 477 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(454)77 b(COMMON)13 +b(LISP)42 295 y Fw(The)j(functions)h Fs(rplaca)e Fw(and)i +Fs(rplacd)e Fw(go)h(bac)o(k)g(to)h(the)g(earliest)g(origins)e(of)h +(Lisp,)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(along)9 b(with)h Fs(car)p Fw(,)h +Fs(cdr)p Fw(,)f(and)g Fs(cons)p Fw(.)16 b(No)o(w)o(ada)o(ys,)10 +b(ho)o(w)o(ev)o(er,)h(they)g(seem)f(to)h(b)q(e)g(falling)d(b)o(y)0 +399 y(the)14 b(w)o(a)o(yside.)j(More)d(and)f(more)f(Common)e(Lisp)j +(programmers)f(use)i Fs(setf)e Fw(for)h(nearly)0 450 +y(all)g(structure)k(mo)q(di\014cations:)g Fs(\(rplaca)i(x)i(y\))14 +b Fw(is)g(rendered)j(as)d Fs(\(setf)20 b(\(car)g(x\))h(y\))0 +502 y Fw(or)c(p)q(erhaps)h(as)f Fs(\(setf)j(\(first)g(x\))h(y\))p +Fw(.)26 b(Ev)o(en)18 b(more)e(lik)o(ely)f(is)i(that)g(a)g +Fs(defstruct)0 554 y Fw(structure)f(or)d(a)g(CLOS)h(class)g(is)g(used)g +(in)f(place)h(of)f(a)g(list,)g(if)f(the)j(data)e(structure)i(is)f(at)0 +606 y(all)f(complicated;)f(in)h(this)h(case)h Fs(setf)e +Fw(is)h(used)h(with)e(a)h(slot)f(accessor.)-33 618 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1726 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 455 479 +455 478 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LISTS)1237 b(455)0 +295 y Fo(15.4.)20 b(Substitution)15 b(of)g(Expressions)0 +382 y Fw(A)20 b(n)o(um)o(b)q(er)f(of)g(functions)h(are)g(pro)o(vided)g +(for)f(p)q(erforming)g(substitutions)h(within)f(a)0 434 +y(tree.)g(All)11 b(tak)o(e)i(a)f(tree)i(and)e(a)g(description)h(of)f +(old)g(sub)q(expressions)i(to)f(b)q(e)g(replaced)g(b)o(y)0 +486 y(new)g(ones.)18 b(They)13 b(come)e(in)h(non-destructiv)o(e)i(and)e +(destructiv)o(e)i(v)n(arieties)e(and)g(sp)q(ecify)0 538 +y(substitution)i(either)h(b)o(y)e(t)o(w)o(o)h(argumen)o(ts)f(or)h(b)o +(y)g(an)f(asso)q(ciation)h(list.)42 590 y(The)k(naming)f(con)o(v)o(en)o +(tions)h(for)g(these)i(functions)e(and)h(for)f(their)h(k)o(eyw)o(ord)f +(argu-)0 642 y(men)o(ts)11 b(generally)g(follo)o(w)f(the)i(con)o(v)o +(en)o(tions)g(for)f(the)h(generic)h(sequence)g(functions.)18 +b(See)0 694 y(c)o(hapter)d(14.)1209 830 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(subst)20 b Fv(new)26 b(old)f(tr)n(e)n(e)f +Fs(&key)c(:test)g(:test-not)g(:key)1209 882 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(subst-if)20 b Fv(new)25 +b(test)g(tr)n(e)n(e)e Fs(&key)e(:key)1209 934 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(subst-if-not)19 b Fv(new)25 +b(test)g(tr)n(e)n(e)f Fs(&key)c(:key)0 1011 y(\(subst)g +Fv(new)h(old)g(tr)n(e)n(e)p Fs(\))9 b Fw(mak)o(es)g(a)h(cop)o(y)g(of)g +Fv(tr)n(e)n(e)p Fw(,)f(substituting)h Fv(new)g Fw(for)g(ev)o(ery)h +(subtree)0 1063 y(or)i(leaf)g(of)f Fv(tr)n(e)n(e)h Fw(\(whether)h(the)g +(subtree)h(or)e(leaf)g(is)g(a)g Fv(c)n(ar)g Fw(or)g(a)g +Fv(c)n(dr)f Fw(of)h(its)g(paren)o(t\))h(suc)o(h)0 1114 +y(that)g Fv(old)g Fw(and)g(the)g(subtree)i(or)e(leaf)f(satisfy)h(the)h +(test.)k(It)14 b(returns)i(the)e(mo)q(di\014ed)f(cop)o(y)0 +1166 y(of)k Fv(tr)n(e)n(e)p Fw(.)27 b(The)18 b(original)d +Fv(tr)n(e)n(e)i Fw(is)g(unc)o(hanged,)h(but)g(the)g(result)g(tree)h(ma) +o(y)c(share)j(with)0 1218 y(parts)c(of)g(the)g(argumen)o(t)f +Fv(tr)n(e)n(e)p Fw(.)p 0 1278 V 0 1338 a Fm(Compatibilit)o(y)g(note:)19 +b FA(In)14 b(MacLisp,)h Fj(subst)c FA(is)k(guaran)o(teed)g +Fq(not)d FA(to)i(share)g(with)h(the)e Fq(tr)n(e)n(e)0 +1384 y FA(argumen)o(t,)e(and)g(the)g(idiom)h Fj(\(subst)k(nil)i(nil)f +(x\))10 b FA(w)o(as)g(used)h(to)f(cop)o(y)h(a)f(tree)h +Fj(x)p FA(.)k(In)10 b(Common)0 1430 y(Lisp,)j(the)f(function)h +Fj(copy-tree)c FA(should)14 b(b)q(e)e(used)h(to)f(cop)o(y)g(a)g(tree,)g +(as)g(the)g Fj(subst)e FA(idiom)k(will)0 1475 y(not)f(w)o(ork.)p +0 1504 V 42 1584 a Fw(F)m(or)g(example:)0 1671 y Fs(\(subst)150 +1675 y Fn(')173 1671 y Fs(tempest)345 1675 y Fn(')368 +1671 y Fs(hurricane)146 1727 y Fn(')169 1723 y Fs(\(shakespeare)19 +b(wrote)h(\(the)h(hurricane\)\)\))64 1775 y Ft(\))f Fs(\(shakespeare)f +(wrote)h(\(the)g(tempest\)\))0 1879 y(\(subst)150 1883 +y Fn(')173 1879 y Fs(foo)257 1883 y Fn(')281 1879 y Fs(nil)365 +1883 y Fn(')389 1879 y Fs(\(shakespeare)e(wrote)i(\(twelfth)g +(night\)\)\))64 1931 y Ft(\))g Fs(\(shakespeare)f(wrote)h(\(twelfth)g +(night)g(.)h(foo\))f(.)h(foo\))0 2034 y(\(subst)150 2038 +y Fn(')173 2034 y Fs(\(a)g(.)g(cons\))409 2038 y Fn(')432 +2034 y Fs(\(old)f(.)h(pair\))146 2090 y Fn(')169 2086 +y Fs(\(\(old)g(.)f(spice\))g(\(\(old)h(.)f(shoes\))g(old)h(.)g(pair\))f +(\(old)g(.)h(pair\)\))148 2138 y(:test)f(#)278 2134 y(-)278 +2142 y(-)n Fn(')321 2138 y Fs(equal\))64 2190 y Ft(\))g +Fs(\(\(old)g(.)h(spice\))f(\(\(old)g(.)h(shoes\))f(a)h(.)g(cons\))f +(\(a)h(.)g(cons\)\))0 2277 y Fw(This)15 b(function)f(is)h(not)f +(destructiv)o(e;)j(that)e(is,)f(it)g(do)q(es)i(not)e(c)o(hange)h(the)h +Fv(c)n(ar)e Fw(or)h Fv(c)n(dr)f Fw(of)0 2329 y(an)o(y)f(already)h +(existing)g(list)f(structure.)20 b(One)15 b(p)q(ossible)f(de\014nition) +f(of)h Fs(subst)p Fw(:)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 456 480 +456 479 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(456)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(defun)20 b(subst)g(\(old)g(new)h(tree)f(&rest)g(x)h +(&key)g(test)f(test-not)g(key\))42 347 y(\(cond)g +(\(\(satisfies-the-test)e(old)i(tree)g(:test)h(test)614 +399 y(:test-not)e(test-not)h(:key)g(key\))191 450 y(new\))169 +502 y(\(\(atom)g(tree\))g(tree\))169 554 y(\(t)h(\(let)f(\(\(a)h +(\(apply)f(#)581 550 y(-)581 558 y(-)n Fn(')624 554 y +Fs(subst)g(old)h(new)f(\(car)g(tree\))h(x\)\))360 606 +y(\(d)g(\(apply)f(#)577 602 y(-)577 610 y(-)m Fn(')620 +606 y Fs(subst)g(old)g(new)h(\(cdr)f(tree\))g(x\)\)\))275 +658 y(\(if)h(\(and)f(\(eql)g(a)h(\(car)g(tree\)\))466 +710 y(\(eql)f(d)h(\(cdr)f(tree\)\)\))360 762 y(tree)360 +814 y(\(cons)g(a)h(d\)\)\)\)\)\))0 919 y Fw(See)15 b(also)e +Fs(substitute)p Fw(,)e(whic)o(h)j(substitutes)i(for)d(top-lev)o(el)h +(elemen)o(ts)f(of)h(a)f(sequence.)42 973 y(X3J13)18 b(v)o(oted)h(in)f +(Jan)o(uary)h(1989)f Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g +(side)f(e\013ects;)k(see)d(sec-)-33 944 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1025 a(tion)13 b(7.9.)-33 1036 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1259 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(nsubst)20 b Fv(new)26 b(old)f(tr)n(e)n(e)f Fs(&key)c(:test)g +(:test-not)f(:key)1209 1311 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(nsubst-if)19 b Fv(new)26 b(test)f(tr)n(e)n(e)e +Fs(&key)e(:key)1209 1363 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(nsubst-if-not)18 b Fv(new)26 b(test)f(tr)n(e)n(e)e +Fs(&key)e(:key)0 1442 y(nsubst)13 b Fw(is)h(a)h(destructiv)o(e)h(v)o +(ersion)e(of)g Fs(subst)p Fw(.)19 b(The)c(list)f(structure)i(of)e +Fv(tr)n(e)n(e)g Fw(is)g(altered)0 1494 y(b)o(y)g(destructiv)o(ely)h +(replacing)e(with)h Fv(new)g Fw(eac)o(h)g(leaf)g(or)f(subtree)j(of)d +(the)i Fv(tr)n(e)n(e)e Fw(suc)o(h)i(that)0 1546 y Fv(old)f +Fw(and)g(the)g(leaf)f(or)h(subtree)i(satisfy)d(the)i(test.)42 +1600 y(X3J13)j(v)o(oted)h(in)f(Jan)o(uary)h(1989)f Ft(h)p +Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k(see)d +(sec-)-33 1572 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1652 a(tion)13 b(7.9.)-33 1663 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1887 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(sublis)20 b Fv(alist)k(tr)n(e)n(e)g Fs(&key)c(:test)g(:test-not)g +(:key)0 1966 y(sublis)13 b Fw(mak)o(es)f(substitutions)j(for)e(ob)r +(jects)i(in)e(a)h(tree)h(\(a)f(structure)i(of)d(conses\).)19 +b(The)0 2017 y(\014rst)e(argumen)o(t)d(to)i Fs(sublis)f +Fw(is)g(an)h(asso)q(ciation)f(list.)24 b(The)16 b(second)h(argumen)o(t) +d(is)i(the)0 2069 y(tree)j(in)e(whic)o(h)h(substitutions)g(are)g(to)f +(b)q(e)h(made,)f(as)h(for)f Fs(subst)p Fw(.)28 b Fs(sublis)17 +b Fw(lo)q(oks)g(at)0 2121 y(all)g(subtrees)j(and)e(lea)o(v)o(es)g(of)f +(the)h(tree;)j(if)c(a)h(subtree)i(or)d(leaf)h(app)q(ears)h(as)f(a)f(k)o +(ey)h(in)0 2173 y(the)e(asso)q(ciation)e(list)g(\(that)i(is,)e(the)i(k) +o(ey)f(and)f(the)i(subtree)h(or)e(leaf)f(satisfy)g(the)i(test\),)0 +2225 y(it)i(is)h(replaced)h(b)o(y)f(the)g(ob)r(ject)h(with)e(whic)o(h)h +(it)f(is)h(asso)q(ciated.)33 b(This)19 b(op)q(eration)g(is)0 +2277 y(non-destructiv)o(e.)28 b(In)16 b(e\013ect,)j Fs(sublis)c +Fw(can)i(p)q(erform)f(sev)o(eral)h Fs(subst)f Fw(op)q(erations)h(si-)0 +2329 y(m)o(ultaneously)m(.)f(F)m(or)d(example:)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 457 481 +457 480 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LISTS)1237 b(457)0 +295 y Fs(\(sublis)171 299 y Fn(')195 295 y Fs(\(\(x)20 +b(.)h(100\))g(\(z)g(.)f(zprime\)\))167 351 y Fn(')191 +347 y Fs(\(plus)g(x)h(\(minus)f(g)h(z)f(x)h(p\))g(4)g(.)g(x\)\))64 +399 y Ft(\))f Fs(\(plus)g(100)h(\(minus)f(g)h(zprime)f(100)g(p\))h(4)g +(.)g(100\))0 502 y(\(sublis)171 506 y Fn(')195 502 y +Fs(\(\(\(+)f(x)h(y\))g(.)g(\(-)g(x)g(y\)\))f(\(\(-)h(x)g(y\))f(.)h(\(+) +g(x)g(y\)\)\))167 558 y Fn(')191 554 y Fs(\(*)f(\(/)h(\(+)g(x)g(y\))g +(\(+)f(x)h(p\)\))g(\(-)g(x)g(y\)\))169 606 y(:test)g(#)300 +602 y(-)300 610 y(-)m Fn(')342 606 y Fs(equal\))64 658 +y Ft(\))f Fs(\(*)h(\(/)g(\(-)f(x)h(y\))g(\(+)g(x)g(p\)\))f(\(+)h(x)g +(y\)\))42 749 y Fw(X3J13)d(v)o(oted)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k +(see)d(sec-)-33 721 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 801 a(tion)13 b(7.9.)-33 813 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 961 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(nsublis)20 b Fv(alist)k(tr)n(e)n(e)g Fs(&key)c(:test)g(:test-not)f +(:key)0 1039 y(nsublis)d Fw(is)i(lik)o(e)e Fs(sublis)h +Fw(but)h(destructiv)o(ely)g(mo)q(di\014es)f(the)h(relev)n(an)o(t)g +(parts)g(of)f(the)0 1091 y Fv(tr)n(e)n(e)p Fw(.)42 1143 +y(X3J13)h(v)o(oted)h(in)f(Jan)o(uary)h(1989)f Ft(h)p +Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k(see)d +(sec-)-33 1115 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1195 a(tion)13 b(7.9.)-33 1207 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1373 a Fo(15.5.)20 b(Using)15 b(Lists)f(as)i(Sets)0 +1467 y Fw(Common)11 b(Lisp)j(includes)h(functions)g(that)f(allo)o(w)f +(a)h(list)g(of)f(items)h(to)g(b)q(e)h(treated)h(as)e(a)0 +1519 y Fv(set)p Fw(.)k(There)e(are)e(functions)g(to)g(add,)g(remo)o(v)o +(e,)e(and)i(searc)o(h)i(for)d(items)g(in)h(a)g(list,)f(based)0 +1571 y(on)20 b(v)n(arious)g(criteria.)39 b(There)22 b(are)f(also)f(set) +h(union,)h(in)o(tersection,)g(and)f(di\013erence)0 1623 +y(functions.)42 1675 y(The)d(naming)f(con)o(v)o(en)o(tions)h(for)g +(these)i(functions)e(and)h(for)f(their)h(k)o(eyw)o(ord)f(argu-)0 +1727 y(men)o(ts)h(generally)g(follo)o(w)f(the)i(con)o(v)o(en)o(tions)f +(that)h(apply)f(to)g(the)h(generic)h(sequence)0 1779 +y(functions.)d(See)d(c)o(hapter)g(14.)1209 1939 y([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(member)20 b Fv(item)k(list)g +Fs(&key)c(:test)h(:test-not)e(:key)1209 1991 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(member-if)19 b Fv(pr)n(e)n(dic)n(ate) +24 b(list)g Fs(&key)d(:key)1209 2043 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(member-if-not)18 b Fv(pr)n(e)n(dic)n(ate)24 +b(list)h Fs(&key)20 b(:key)0 2121 y Fw(The)12 b Fv(list)f +Fw(is)h(searc)o(hed)h(for)f(an)f(elemen)o(t)g(that)h(satis\014es)h(the) +g(test.)18 b(If)11 b(none)h(is)g(found,)f Fs(nil)0 2172 +y Fw(is)17 b(returned;)k(otherwise,)d(the)g(tail)f(of)f +Fv(list)h Fw(b)q(eginning)g(with)g(the)h(\014rst)g(elemen)o(t)f(that)0 +2224 y(satis\014ed)c(the)h(test)g(is)e(returned.)20 b(The)13 +b Fv(list)f Fw(is)g(searc)o(hed)j(on)d(the)i(top)f(lev)o(el)f(only)m(.) +k(These)0 2276 y(functions)e(are)g(suitable)g(for)g(use)g(as)g +(predicates.)42 2329 y(F)m(or)f(example:)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 458 482 +458 481 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(458)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(member)171 299 y Fn(')195 295 y Fs(snerd)323 +299 y Fn(')346 295 y Fs(\(a)21 b(b)g(c)g(d\)\))f Ft(\))h +Fs(nil)0 347 y(\(member-if)e(#)239 343 y(-)239 351 y(-)n +Fn(')282 347 y Fs(numberp)454 351 y Fn(')477 347 y Fs(\(a)i(#)542 +343 y(-)542 351 y(-)564 347 y(\\Space)e(5/3)i(foo\)\))f +Ft(\))h Fs(\(5/3)f(foo\))0 399 y(\(member)171 403 y Fn(')195 +399 y Fs(a)236 403 y Fn(')259 399 y Fs(\(g)h(\(a)g(y\))f(c)h(a)g(d)g(e) +g(a)g(f\)\))g Ft(\))f Fs(\(a)h(d)g(e)g(a)g(f\))0 484 +y Fw(Note,)e(in)f(the)h(last)f(example,)f(that)i(the)g(v)n(alue)e +(returned)j(b)o(y)e Fs(member)f Fw(is)h Fs(eq)g Fw(to)g(the)0 +536 y(p)q(ortion)f(of)g(the)g(list)g(b)q(eginning)g(with)g +Fs(a)p Fw(.)28 b(Th)o(us)17 b Fs(rplaca)f Fw(on)h(the)h(result)g(of)f +Fs(member)0 588 y Fw(ma)o(y)h(b)q(e)i(used)g(to)f(alter)h(the)g(found)f +(list)g(elemen)o(t,)h(if)e(a)h(c)o(hec)o(k)i(is)e(\014rst)h(made)f +(that)0 640 y Fs(member)13 b Fw(did)g(not)h(return)h +Fs(nil)p Fw(.)42 692 y(See)f(also)g Fs(find)f Fw(and)g +Fs(position)p Fw(.)42 744 y(X3J13)18 b(v)o(oted)h(in)f(Jan)o(uary)h +(1989)f Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f +(e\013ects;)k(see)d(sec-)-33 715 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 796 a(tion)13 b(7.9.)-33 807 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 855 V 0 916 a Fm(Compatibilit)o(y)f(note:)18 +b FA(In)13 b(MacLisp,)i(the)e Fj(member)e FA(function)j(uses)g(an)g +Fj(equal)d FA(comparison)0 961 y(rather)16 b(than)g Fj(eql)p +FA(,)e(whic)o(h)i(is)g(the)f(default)h(test)g(for)f Fj(member)d +FA(in)k(Common)g(Lisp.)25 b(Where)16 b(in)0 1007 y(MacLisp)f(one)f(w)o +(ould)h(write)f Fj(\(member)i(x)i(y\))p FA(,)13 b(in)h(Common)g(Lisp)h +(one)f(m)o(ust)g(write)f Fj(\(member)0 1053 y(x)18 b(y)h(:test)d(#)193 +1050 y(-)193 1056 y(-)n Fs(')232 1053 y Fj(equal\))10 +b FA(to)i(get)h(a)g(completely)i(iden)o(tical)g(e\013ect.)i(Similarly)n +(,)e(one)e(can)g(get)f(the)0 1098 y(precise)h(e\013ect,)f(and)g(no)g +(more,)g(of)f(the)h(MacLisp)h Fj(\(memq)k(x)h(y\))11 +b FA(b)o(y)h(writing)h(in)g(Common)f(Lisp)0 1144 y Fj(\(member)k(x)i(y) +h(:test)d(#)349 1141 y(-)349 1147 y(-)n Fs(')388 1144 +y Fj(eq\))p FA(.)p 0 1179 V 1209 1288 a Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(tailp)20 b Fv(sublist)25 b(list)0 1365 +y Fw(This)16 b(predicate)h(is)f(true)h(if)e Fv(sublist)h +Fw(is)f(a)h(sublist)g(of)g Fv(list)f Fw(\(that)h(is,)g(one)g(of)g(the)g +(conses)0 1417 y(that)e(mak)o(es)g(up)g Fv(list)p Fw(\);)g(otherwise)h +(it)f(is)g(false.)20 b(Another)15 b(w)o(a)o(y)f(to)g(lo)q(ok)g(at)g +(this)g(is)h(that)0 1469 y Fs(tailp)e Fw(is)h(true)g(if)f +Fs(\(nthcdr)20 b Fv(n)i(list)p Fs(\))12 b Fw(is)i Fv(sublist)p +Fw(,)f(for)g(some)g(v)n(alue)h(of)f Fv(n)p Fw(.)18 b(See)d +Fs(ldiff)p Fw(.)42 1521 y(X3J13)e(v)o(oted)g(in)g(Jan)o(uary)g(1989)g +Ft(h)p Fw(175)p Ft(i)f Fw(to)i(strik)o(e)f(the)h(paren)o(thetical)g +(remark)f(that)-33 1492 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1572 a(suggests)k(that)e(the)h Fv(sublist)f +Fw(m)o(ust)f(b)q(e)i(a)f(cons,)h(to)f(clarify)f(that)i +Fs(tailp)e Fw(is)h(true)h(if)f(and)0 1624 y(only)e(if)g(there)i(exists) +g(an)f(in)o(teger)g Fv(n)g Fw(suc)o(h)h(that)0 1710 y +Fs(\(eql)20 b Fv(sublist)h Fs(\(nthcdr)f Fv(n)h(list)p +Fs(\)\))0 1796 y Fw(and)14 b(to)h(sp)q(ecify)g(that)g +Fv(list)f Fw(ma)o(y)e(b)q(e)k(a)e(dotted)h(list)f(\(implying)e(that)j +(implemen)o(tatio)o(ns)0 1848 y(m)o(ust)e(use)i Fs(atom)e +Fw(and)g(not)h Fs(endp)f Fw(to)h(c)o(hec)o(k)h(for)e(the)i(end)f(of)f +(the)i Fv(list)p Fw(\).)-33 1859 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1977 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(adjoin)20 b Fv(item)k(list)g Fs(&key)c(:test)h(:test-not)e(:key)0 +2054 y(adjoin)14 b Fw(is)h(used)i(to)e(add)g(an)g(elemen)o(t)g(to)g(a)g +(set,)i(pro)o(vided)e(that)g(it)g(is)h(not)f(already)g(a)0 +2106 y(mem)o(b)q(er.)h(The)f(equalit)o(y)e(test)i(defaults)f(to)f +Fs(eql)p Fw(.)0 2191 y Fs(\(adjoin)20 b Fv(item)g(list)p +Fs(\))h Ft(\021)g Fs(\(if)g(\(member)e Fv(item)i(list)p +Fs(\))f Fv(list)g Fs(\(cons)g Fv(item)h(list)p Fs(\)\))0 +2277 y Fw(In)13 b(general,)g(the)g(test)h(ma)o(y)d(b)q(e)i(an)o(y)g +(predicate;)g(the)h Fv(item)e Fw(is)h(added)g(to)g(the)g(list)g(only)f +(if)0 2329 y(there)j(is)f(no)g(elemen)o(t)f(of)g(the)i(list)e(that)h +(\\satis\014es)h(the)f(test.")-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 459 483 +459 482 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LISTS)1237 b(459)42 +295 y Fs(adjoin)12 b Fw(deviates)i(from)e(the)i(usual)g(rules)g +(describ)q(ed)i(in)d(c)o(hapter)h(14)g(for)f(the)h(treat-)0 +347 y(men)o(t)e(of)g(argumen)o(ts)g(named)g Fv(item)g +Fw(and)h Fs(:key)p Fw(.)j(If)d(a)f Fs(:key)g Fw(function)h(is)f(sp)q +(eci\014ed,)i(it)f(is)0 399 y(applied)g(to)h Fv(item)g +Fw(as)g(w)o(ell)f(as)i(to)e(eac)o(h)i(elemen)o(t)f(of)f(the)i(list.)j +(The)c(rationale)g(is)f(that)i(if)0 450 y(the)e Fv(item)f +Fw(is)h(not)f(y)o(et)h(in)g(the)g(list,)f(it)g(so)q(on)h(will)e(b)q(e,) +i(and)f(so)h(the)g(test)h(is)f(more)e(prop)q(erly)0 502 +y(view)o(ed)17 b(as)f(b)q(eing)g(b)q(et)o(w)o(een)i(t)o(w)o(o)e(elemen) +o(ts)g(rather)h(than)g(b)q(et)o(w)o(een)h(a)e(separate)h +Fv(item)0 554 y Fw(and)d(an)f(elemen)o(t.)0 638 y Fs(\(adjoin)20 +b Fv(item)g(list)h Fs(:key)f Fv(fn)p Fs(\))42 690 y Ft(\021)i +Fs(\(if)e(\(member)g(\(funcall)g Fv(fn)h(item)p Fs(\))f +Fv(list)h Fs(:key)f Fv(fn)p Fs(\))h Fv(list)f Fs(\(cons)g +Fv(item)h(list)p Fs(\)\))0 773 y Fw(See)15 b Fs(pushnew)p +Fw(.)42 825 y Fv(Notic)n(e)h(of)h(c)n(orr)n(e)n(ction.)24 +b Fw(In)16 b(the)h(\014rst)g(edition,)f(the)g(form)f +Fs(\()p Fv(fn)21 b(item)p Fs(\))15 b Fw(app)q(eared)i(in)-33 +797 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 877 a(this)d(example)f(without)g(the)i(required)f +Fs(funcall)p Fw(.)-33 889 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 929 a(X3J13)k(v)o(oted)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k +(see)d(sec-)-33 901 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 981 a(tion)13 b(7.9.)-33 993 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1099 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(union)20 b Fv(list1)26 b(list2)g Fs(&key)21 b(:test)f(:test-not)f +(:key)1209 1151 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(nunion)20 b Fv(list1)26 b(list2)g Fs(&key)21 b(:test)f(:test-not)f +(:key)0 1227 y(union)13 b Fw(tak)o(es)i(t)o(w)o(o)f(lists)g(and)h +(returns)g(a)g(new)f(list)g(con)o(taining)g(ev)o(erything)g(that)h(is)f +(an)0 1279 y(elemen)o(t)g(of)f(either)i(of)e(the)i Fv(lists)p +Fw(.)i(If)d(there)h(is)f(a)g(duplication)f(b)q(et)o(w)o(een)i(t)o(w)o +(o)f(lists,)g(only)0 1331 y(one)f(of)g(the)g(duplicate)g(instances)i +(will)c(b)q(e)j(in)f(the)g(result.)19 b(If)12 b(either)i(of)f(the)g +(argumen)o(ts)0 1383 y(has)g(duplicate)h(en)o(tries)g(within)f(it,)f +(the)i(redundan)o(t)g(en)o(tries)h(ma)o(y)c(or)j(ma)o(y)d(not)i(app)q +(ear)0 1435 y(in)g(the)i(result.)k(F)m(or)13 b(example:)0 +1519 y Fs(\(union)150 1523 y Fn(')173 1519 y Fs(\(a)21 +b(b)g(c\))343 1523 y Fn(')367 1519 y Fs(\(f)g(a)f(d\)\))64 +1571 y Ft(\))g Fs(\(a)h(b)g(c)g(f)g(d\))g Fw(or)g Fs(\(b)g(c)g(f)f(a)h +(d\))g Fw(or)g Fs(\(d)g(f)g(a)g(b)g(c\))g Fw(or)g Fs(...)0 +1674 y(\(union)150 1678 y Fn(')173 1674 y Fs(\(\(x)g(5\))f(\(y)h(6\)\)) +473 1678 y Fn(')497 1674 y Fs(\(\(z)f(2\))h(\(x)g(4\)\))f(:key)h(#)908 +1670 y(-)908 1678 y(-)m Fn(')951 1674 y Fs(car\))64 1726 +y Ft(\))f Fs(\(\(x)h(5\))g(\(y)f(6\))h(\(z)g(2\)\))f +Fw(or)i Fs(\(\(x)e(4\))h(\(y)g(6\))f(\(z)h(2\)\))g Fw(or)g +Fs(...)42 1810 y Fw(There)c(is)f(no)g(guaran)o(tee)h(that)f(the)h +(order)g(of)f(elemen)o(ts)g(in)g(the)h(result)g(will)e(re\015ect)0 +1862 y(the)h(ordering)f(of)f(the)h(argumen)o(ts)g(in)f(an)o(y)g +(particular)h(w)o(a)o(y)m(.)20 b(The)15 b(implemen)o(tation)d(is)0 +1914 y(therefore)k(free)g(to)f(use)h(an)o(y)e(of)h(a)f(v)n(ariet)o(y)h +(of)f(strategies.)22 b(The)16 b(result)f(list)g(ma)o(y)e(share)0 +1966 y(cells)h(with,)f(or)h(b)q(e)h Fs(eq)e Fw(to,)g(either)i(of)e(the) +i(argumen)o(ts)e(if)g(appropriate.)42 2017 y(In)g(general,)g(the)h +(test)g(ma)o(y)d(b)q(e)j(an)o(y)f(predicate,)h(and)f(the)h(union)f(op)q +(eration)g(ma)o(y)e(b)q(e)0 2069 y(describ)q(ed)17 b(as)e(follo)o(ws.)k +(F)m(or)14 b(all)g(p)q(ossible)h(ordered)h(pairs)f(consisting)g(of)f +(one)h(elemen)o(t)0 2121 y(from)f Fv(list1)g Fw(and)h(one)h(elemen)o(t) +f(from)e Fv(list2)p Fw(,)i(the)h(test)g(is)g(used)g(to)f(determine)g +(whether)0 2173 y(they)c(\\matc)o(h.")16 b(F)m(or)10 +b(ev)o(ery)i(matc)o(hing)d(pair,)h(at)h(least)g(one)g(of)f(the)i(t)o(w) +o(o)e(elemen)o(ts)h(of)f(the)0 2225 y(pair)h(will)g(b)q(e)h(in)g(the)g +(result.)18 b(Moreo)o(v)o(er,)12 b(an)o(y)g(elemen)o(t)f(from)f(either) +j(list)e(that)h(matc)o(hes)0 2277 y(no)h(elemen)o(t)g(of)f(the)i(other) +g(will)e(app)q(ear)h(in)g(the)h(result.)k(All)13 b(this)g(is)g(v)o(ery) +g(general,)h(but)0 2329 y(probably)f(not)h(particularly)f(useful)h +(unless)h(the)f(test)h(is)f(an)g(equiv)n(alence)g(relation.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 460 484 +460 483 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(460)77 b(COMMON)13 +b(LISP)42 295 y Fw(The)i Fs(:test-not)f Fw(argumen)o(t)g(can)h(b)q(e)h +(useful)g(when)g(the)f(test)i(function)e(is)g(the)h(log-)0 +347 y(ical)f(negation)g(of)h(an)f(equiv)n(alence)h(test.)26 +b(A)16 b(go)q(o)q(d)f(example)g(of)g(this)h(is)g(the)g(function)0 +399 y Fs(mismatch)p Fw(,)c(whic)o(h)j(is)f(logically)e(in)o(v)o(erted)j +(so)f(that)h(p)q(ossibly)f(useful)g(information)e(can)0 +450 y(b)q(e)19 b(returned)h(if)d(the)i(argumen)o(ts)e(do)h(not)g(matc)o +(h.)30 b(This)18 b(additional)f(\\useful)h(infor-)0 502 +y(mation")12 b(is)j(discarded)h(in)f(the)g(follo)o(wing)d(example;)i +Fs(mismatch)f Fw(is)i(used)h(purely)f(as)g(a)0 554 y(predicate.)0 +638 y Fs(\(union)150 642 y Fn(')173 638 y Fs(\(#)195 +634 y(-)195 642 y(-)217 638 y(\(a)20 b(b\))h(#)346 634 +y(-)346 642 y(-)368 638 y(\(5)g(0)g(6\))f(#)540 634 y(-)540 +642 y(-)562 638 y(\(f)h(3\)\))146 694 y Fn(')169 690 +y Fs(\(#)191 686 y(-)191 694 y(-)213 690 y(\(5)g(0)g(6\))f(\(a)h(b\))g +(#)515 686 y(-)515 694 y(-)537 690 y(\(g)f(h\)\))148 +742 y(:test-not)148 793 y(#)148 789 y(-)148 797 y(-)n +Fn(')191 793 y Fs(mismatch\))64 845 y Ft(\))g Fs(\(#)148 +841 y(-)148 849 y(-)170 845 y(\(a)h(b\))f(#)299 841 y(-)299 +849 y(-)321 845 y(\(5)h(0)g(6\))g(#)494 841 y(-)494 849 +y(-)515 845 y(\(f)g(3\))g(#)645 841 y(-)645 849 y(-)667 +845 y(\(g)f(h\)\))106 b(;)p Fw(One)14 b(p)q(ossible)g(result)64 +897 y Ft(\))20 b Fs(\(\(a)h(b\))g(#)278 893 y(-)278 901 +y(-)299 897 y(\(f)g(3\))g(#)429 893 y(-)429 901 y(-)451 +897 y(\(5)f(0)h(6\))g(#)623 893 y(-)623 901 y(-)645 897 +y(\(g)g(h\)\))126 b(;)p Fw(Another)15 b(p)q(ossible)f(result)0 +981 y(Using)f Fs(:test-not)20 b(#)334 977 y(-)334 985 +y(-)m Fn(')377 981 y Fs(mismatch)11 b Fw(di\013ers)j(from)e(using)h +Fs(:test)20 b(#)1023 977 y(-)1023 985 y(-)n Fn(')1066 +981 y Fs(equalp)p Fw(,)12 b(for)h(exam-)0 1033 y(ple,)j(b)q(ecause)i +Fs(mismatch)c Fw(will)g(determine)i(that)g Fs(#)795 1029 +y(-)795 1037 y(-)817 1033 y(\(a)21 b(b\))15 b Fw(and)h +Fs(\(a)21 b(b\))15 b Fw(are)i(the)f(same,)0 1085 y(while)d +Fs(equalp)g Fw(w)o(ould)g(regard)h(them)g(as)f(not)h(the)h(same.)42 +1137 y Fs(nunion)c Fw(is)i(the)g(destructiv)o(e)i(v)o(ersion)e(of)f +Fs(union)p Fw(.)17 b(It)c(p)q(erforms)f(the)i(same)e(op)q(eration)0 +1188 y(but)19 b(ma)o(y)e(destro)o(y)j(the)f(argumen)o(t)f(lists,)i(p)q +(erhaps)g(in)e(order)i(to)f(use)g(their)h(cells)f(to)0 +1240 y(construct)d(the)e(result.)42 1292 y(X3J13)k(v)o(oted)h(in)f(Jan) +o(uary)h(1989)f Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f +(e\013ects;)k(see)d(sec-)-33 1264 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1344 a(tion)13 b(7.9.)-33 1356 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1396 a(X3J13)i(v)o(oted)h(in)f(Marc)o(h)h(1989)e +Ft(h)p Fw(153)p Ft(i)h Fw(to)h(clarify)f(the)h(p)q(ermissible)f(side)h +(e\013ects)h(of)-33 1368 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1448 a(certain)g(op)q(erations;)f Fs(nunion)f +Fw(is)h(p)q(ermitted)g(to)g(p)q(erform)f(a)g Fs(setf)h +Fw(on)f(an)o(y)h(part,)g Fv(c)n(ar)0 1500 y Fw(or)e Fv(c)n(dr)p +Fw(,)f(of)g(the)i(top-lev)o(el)e(list)g(structure)j(of)e(an)o(y)f(of)g +(the)i(argumen)o(t)e(lists.)-33 1511 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1618 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(intersection)19 b Fv(list1)26 b(list2)g Fs(&key)20 +b(:test)g(:test-not)g(:key)1209 1670 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(nintersection)18 b Fv(list1)27 b(list2)f +Fs(&key)20 b(:test)g(:test-not)g(:key)0 1746 y(intersection)c +Fw(tak)o(es)i(t)o(w)o(o)g(lists)g(and)g(returns)i(a)e(new)h(list)e(con) +o(taining)g(ev)o(erything)0 1798 y(that)d(is)g(an)h(elemen)o(t)e(of)h +(b)q(oth)g(argumen)o(t)f(lists.)20 b(If)14 b(either)h(list)e(has)i +(duplicate)f(en)o(tries,)0 1850 y(the)g(redundan)o(t)h(en)o(tries)g(ma) +o(y)d(or)i(ma)o(y)e(not)i(app)q(ear)g(in)f(the)i(result.)k(F)m(or)13 +b(example:)0 1934 y Fs(\(intersection)302 1938 y Fn(')326 +1934 y Fs(\(a)20 b(b)h(c\))496 1938 y Fn(')519 1934 y +Fs(\(f)g(a)g(d\)\))g Ft(\))f Fs(\(a\))0 2017 y Fw(There)h(is)e(no)g +(guaran)o(tee)h(that)g(the)g(order)g(of)f(elemen)o(ts)g(in)h(the)g +(result)g(will)e(re\015ect)0 2069 y(the)e(ordering)f(of)f(the)h +(argumen)o(ts)g(in)f(an)o(y)g(particular)h(w)o(a)o(y)m(.)20 +b(The)15 b(implemen)o(tation)d(is)0 2121 y(therefore)k(free)g(to)f(use) +h(an)o(y)e(of)h(a)f(v)n(ariet)o(y)h(of)f(strategies.)22 +b(The)16 b(result)f(list)g(ma)o(y)e(share)0 2173 y(cells)h(with,)f(or)h +(b)q(e)h Fs(eq)e Fw(to,)g(either)i(of)e(the)i(argumen)o(ts)e(if)g +(appropriate.)42 2225 y(In)j(general,)h(the)g(test)h(ma)o(y)d(b)q(e)i +(an)o(y)f(predicate,)i(and)e(the)h(in)o(tersection)h(op)q(eration)0 +2277 y(ma)o(y)13 b(b)q(e)j(describ)q(ed)h(as)f(follo)o(ws.)k(F)m(or)15 +b(all)f(p)q(ossible)i(ordered)g(pairs)g(consisting)f(of)g(one)0 +2329 y(elemen)o(t)g(from)f Fv(list1)h Fw(and)h(one)g(elemen)o(t)f(from) +f Fv(list2)p Fw(,)h(the)i(test)g(is)e(used)i(to)f(determine)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 461 485 +461 484 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LISTS)1237 b(461)0 +295 y Fw(whether)18 b(they)f(\\matc)o(h.")24 b(F)m(or)16 +b(ev)o(ery)h(matc)o(hing)e(pair,)h(exactly)g(one)h(of)f(the)h(t)o(w)o +(o)f(el-)0 347 y(emen)o(ts)k(of)f(the)i(pair)e(will)g(b)q(e)h(put)h(in) +e(the)i(result.)37 b(No)20 b(elemen)o(t)f(from)f(either)j(list)0 +399 y(app)q(ears)14 b(in)f(the)h(result)g(that)g(do)q(es)g(not)f(matc)o +(h)f(an)i(elemen)o(t)f(from)e(the)j(other)g(list.)k(All)0 +450 y(this)c(is)f(v)o(ery)h(general,)g(but)g(probably)f(not)g +(particularly)g(useful)h(unless)g(the)h(test)f(is)g(an)0 +502 y(equiv)n(alence)g(relation.)42 554 y Fs(nintersection)h +Fw(is)k(the)g(destructiv)o(e)h(v)o(ersion)e(of)g Fs(intersection)p +Fw(.)30 b(It)18 b(p)q(erforms)0 606 y(the)c(same)e(op)q(eration,)h(but) +g(ma)o(y)e(destro)o(y)j Fv(list1)p Fw(,)e(p)q(erhaps)i(in)f(order)h(to) +e(use)i(its)f(cells)h(to)0 658 y(construct)i(the)e(result.)19 +b(\(The)14 b(argumen)o(t)f Fv(list2)g Fw(is)h Fv(not)g +Fw(destro)o(y)o(ed.\))42 710 y(X3J13)k(v)o(oted)h(in)f(Jan)o(uary)h +(1989)f Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f +(e\013ects;)k(see)d(sec-)-33 681 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 762 a(tion)13 b(7.9.)-33 773 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 814 a(X3J13)i(v)o(oted)h(in)f(Marc)o(h)h(1989)e +Ft(h)p Fw(153)p Ft(i)h Fw(to)h(clarify)f(the)h(p)q(ermissible)f(side)h +(e\013ects)h(of)-33 785 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 866 a(certain)i(op)q(erations;)h Fs(nintersection)15 +b Fw(is)k(p)q(ermitted)f(to)g(p)q(erform)f(a)h Fs(setf)f +Fw(on)h(an)o(y)0 917 y(part,)c Fv(c)n(ar)f Fw(or)h Fv(c)n(dr)p +Fw(,)f(of)g(the)i(top-lev)o(el)e(list)h(structure)i(of)d(an)o(y)g(of)h +(the)g(argumen)o(t)f(lists.)-33 929 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1044 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(set-difference)18 b Fv(list1)26 b(list2)h Fs(&key)20 +b(:test)g(:test-not)f(:key)1209 1096 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(nset-difference)18 b Fv(list1)26 b(list2)g +Fs(&key)21 b(:test)f(:test-not)f(:key)0 1173 y(set-difference)9 +b Fw(returns)14 b(a)f(list)f(of)f(elemen)o(ts)i(of)e +Fv(list1)h Fw(that)h(do)f(not)g(app)q(ear)h(in)f Fv(list2)p +Fw(.)0 1225 y(This)i(op)q(eration)g(is)f(not)h(destructiv)o(e.)42 +1276 y(There)j(is)f(no)g(guaran)o(tee)h(that)f(the)h(order)g(of)f +(elemen)o(ts)g(in)g(the)h(result)g(will)e(re\015ect)0 +1328 y(the)h(ordering)f(of)f(the)h(argumen)o(ts)g(in)f(an)o(y)g +(particular)h(w)o(a)o(y)m(.)20 b(The)15 b(implemen)o(tation)d(is)0 +1380 y(therefore)k(free)g(to)f(use)h(an)o(y)e(of)h(a)f(v)n(ariet)o(y)h +(of)f(strategies.)22 b(The)16 b(result)f(list)g(ma)o(y)e(share)0 +1432 y(cells)h(with,)f(or)h(b)q(e)h Fs(eq)e Fw(to,)g(either)i(of)e(the) +i(argumen)o(ts)e(if)g(appropriate.)42 1484 y(In)h(general,)g(the)g +(test)i(ma)o(y)c(b)q(e)j(an)o(y)e(predicate,)i(and)f(the)h(set)g +(di\013erence)h(op)q(eration)0 1536 y(ma)o(y)d(b)q(e)j(describ)q(ed)h +(as)f(follo)o(ws.)k(F)m(or)15 b(all)f(p)q(ossible)i(ordered)g(pairs)g +(consisting)f(of)g(one)0 1588 y(elemen)o(t)g(from)f Fv(list1)h +Fw(and)h(one)g(elemen)o(t)f(from)f Fv(list2)p Fw(,)h(the)i(test)g(is)e +(used)i(to)f(determine)0 1640 y(whether)g(they)g(\\matc)o(h.")j(An)c +(elemen)o(t)g(of)f Fv(list1)g Fw(app)q(ears)i(in)e(the)i(result)g(if)e +(and)h(only)0 1692 y(if)h(it)h(do)q(es)g(not)g(matc)o(h)f(an)o(y)g +(elemen)o(t)h(of)f Fv(list2)p Fw(.)26 b(This)17 b(is)g(v)o(ery)g +(general)g(and)g(p)q(ermits)0 1743 y(in)o(teresting)g(applications.)24 +b(F)m(or)15 b(example,)h(one)g(can)g(remo)o(v)o(e)g(from)e(a)i(list)g +(of)f(strings)0 1795 y(all)e(those)h(strings)h(con)o(taining)d(one)j +(of)e(a)g(giv)o(en)h(list)f(of)g(c)o(haracters:)0 1880 +y Fs(;;)21 b(Remove)f(all)g(flavor)g(names)g(that)h(contain)e("c")i(or) +g("w".)0 1932 y(\(set-difference)346 1936 y Fn(')369 +1932 y Fs(\("strawberry")e("chocolate")g("banana")381 +1984 y("lemon")h("pistachio")f("rhubarb"\))336 2040 y +Fn(')360 2036 y Fs(\(#)382 2032 y(-)382 2040 y(-)403 +2036 y(\\c)i(#)468 2032 y(-)468 2040 y(-)490 2036 y(\\w\))339 +2088 y(:test)339 2140 y(#)339 2136 y(-)339 2144 y(-)m +Fn(')382 2140 y Fs(\(lambda)e(\(s)i(c\))g(\(find)f(c)h(s\)\)\))64 +2192 y Ft(\))f Fs(\("banana")g("rhubarb")f("lemon"\))104 +b(;)p Fw(One)14 b(p)q(ossible)h(ordering)42 2277 y Fs(nset-difference)c +Fw(is)k(the)h(destructiv)o(e)g(v)o(ersion)f(of)g Fs(set-difference)p +Fw(.)j(This)d(op-)0 2329 y(eration)f(ma)o(y)e(destro)o(y)i +Fv(list1)p Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 462 486 +462 485 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(462)77 b(COMMON)13 +b(LISP)42 295 y Fw(X3J13)18 b(v)o(oted)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k +(see)d(sec-)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(tion)13 b(7.9.)-33 358 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 406 V 0 467 a Fm(Compatibilit)o(y)36 b(note:)60 +b FA(An)34 b(appro)o(ximately)k(equiv)n(alen)o(t)e(In)o(terlisp)g +(function)g(is)0 512 y Fj(ldifferenc)o(e)p FA(.)p 0 539 +V 1209 645 a Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(set-exclusive-or) +18 b Fv(list1)26 b(list2)g Fs(&key)20 b(:test)h(:test-not)e(:key)1209 +697 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(nset-exclusive-or)18 +b Fv(list1)26 b(list2)g Fs(&key)20 b(:test)g(:test-not)g(:key)0 +773 y(set-exclusive-or)14 b Fw(returns)19 b(a)e(list)g(of)g(elemen)o +(ts)h(that)f(app)q(ear)h(in)f(exactly)h(one)f(of)0 825 +y Fv(list1)c Fw(and)h Fv(list2)p Fw(.)j(This)d(op)q(eration)g(is)f(not) +h(destructiv)o(e.)42 877 y(There)j(is)f(no)g(guaran)o(tee)h(that)f(the) +h(order)g(of)f(elemen)o(ts)g(in)g(the)h(result)g(will)e(re\015ect)0 +929 y(the)h(ordering)f(of)f(the)h(argumen)o(ts)g(in)f(an)o(y)g +(particular)h(w)o(a)o(y)m(.)20 b(The)15 b(implemen)o(tation)d(is)0 +981 y(therefore)k(free)g(to)f(use)h(an)o(y)e(of)h(a)f(v)n(ariet)o(y)h +(of)f(strategies.)22 b(The)16 b(result)f(list)g(ma)o(y)e(share)0 +1033 y(cells)h(with,)f(or)h(b)q(e)h Fs(eq)e Fw(to,)g(either)i(of)e(the) +i(argumen)o(ts)e(if)g(appropriate.)42 1085 y(In)d(general,)h(the)g +(test)g(ma)o(y)e(b)q(e)i(an)o(y)f(predicate,)i(and)e(the)h +(set-exclusiv)o(e-or)h(op)q(eration)0 1137 y(ma)o(y)h(b)q(e)j(describ)q +(ed)h(as)f(follo)o(ws.)k(F)m(or)15 b(all)f(p)q(ossible)i(ordered)g +(pairs)g(consisting)f(of)g(one)0 1188 y(elemen)o(t)g(from)f +Fv(list1)h Fw(and)h(one)g(elemen)o(t)f(from)f Fv(list2)p +Fw(,)h(the)i(test)g(is)e(used)i(to)f(determine)0 1240 +y(whether)h(they)g(\\matc)o(h.")22 b(The)16 b(result)h(con)o(tains)f +(precisely)h(those)f(elemen)o(ts)g(of)f Fv(list1)0 1292 +y Fw(and)f Fv(list2)f Fw(that)h(app)q(ear)g(in)g(no)f(matc)o(hing)f +(pair.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 463 487 +463 486 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LISTS)1237 b(463)42 +295 y Fs(nset-exclusive-)o(or)9 b Fw(is)i(the)i(destructiv)o(e)g(v)o +(ersion)f(of)f Fs(set-exclusive-or)p Fw(.)j(Both)0 347 +y(lists)g(ma)o(y)e(b)q(e)i(destro)o(y)o(ed)h(in)f(pro)q(ducing)g(the)g +(result.)42 399 y(X3J13)k(v)o(oted)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k +(see)d(sec-)-33 370 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 451 a(tion)13 b(7.9.)-33 462 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 503 a(X3J13)i(v)o(oted)h(in)f(Marc)o(h)h(1989)e +Ft(h)p Fw(153)p Ft(i)h Fw(to)h(clarify)f(the)h(p)q(ermissible)f(side)h +(e\013ects)h(of)-33 474 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 555 a(certain)h(op)q(erations;)i Fs(nset-exclusive-o)o +(r)15 b Fw(is)j(p)q(ermitted)f(to)h(p)q(erform)f(a)g +Fs(setf)g Fw(on)0 607 y(an)o(y)h(part,)h Fv(c)n(ar)f +Fw(or)g Fv(c)n(dr)p Fw(,)g(of)g(the)g(top-lev)o(el)g(list)g(structure)i +(of)e(an)o(y)f(of)h(the)h(argumen)o(t)0 658 y(lists.)-33 +670 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 798 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(subsetp)20 b Fv(list1)26 b(list2)g Fs(&key)20 b(:test)g(:test-not) +g(:key)0 876 y(subsetp)i Fw(is)i(a)f(predicate)i(that)e(is)h(true)g(if) +f(ev)o(ery)i(elemen)o(t)e(of)g Fv(list1)g Fw(app)q(ears)h(in)0 +927 y(\(\\matc)o(hes")13 b(some)g(elemen)o(t)h(of)s(\))f +Fv(list2)p Fw(,)g(and)h(false)f(otherwise.)42 980 y(X3J13)18 +b(v)o(oted)h(in)f(Jan)o(uary)h(1989)f Ft(h)p Fw(121)p +Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k(see)d(sec-)-33 +951 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1031 a(tion)13 b(7.9.)-33 1043 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1192 a Fo(15.6.)20 b(Asso)r(ciation)15 +b(Lists)0 1281 y Fw(An)f Fv(asso)n(ciation)h(list)p Fw(,)e(or)g +Fv(a-list)p Fw(,)g(is)h(a)f(data)h(structure)i(used)f(v)o(ery)f +(frequen)o(tly)g(in)f(Lisp.)0 1333 y(An)j(a-list)e(is)h(a)g(list)g(of)g +(pairs)g(\(conses\);)j(eac)o(h)e(pair)f(is)g(an)g(asso)q(ciation.)22 +b(The)16 b Fv(c)n(ar)f Fw(of)g(a)0 1384 y(pair)e(is)h(called)g(the)g +Fv(key)p Fw(,)g(and)g(the)g Fv(c)n(dr)g Fw(is)f(called)h(the)h +Fv(datum)p Fw(.)42 1437 y(An)k(adv)n(an)o(tage)g(of)g(the)h(a-list)e +(represen)o(tation)k(is)d(that)g(an)h(a-list)e(can)i(b)q(e)g(incre-)0 +1489 y(men)o(tally)c(augmen)o(ted)h(simply)f(b)o(y)h(adding)g(new)i(en) +o(tries)g(to)e(the)i(fron)o(t.)30 b(Moreo)o(v)o(er,)0 +1540 y(b)q(ecause)15 b(the)f(searc)o(hing)g(function)f +Fs(assoc)f Fw(searc)o(hes)j(the)f(a-list)e(in)h(order,)h(new)g(en)o +(tries)0 1592 y(can)j(\\shado)o(w")f(old)h(en)o(tries.)28 +b(If)16 b(an)h(a-list)f(is)h(view)o(ed)g(as)g(a)g(mapping)d(from)i(k)o +(eys)h(to)0 1644 y(data,)j(then)h(the)f(mapping)d(can)j(b)q(e)g(not)g +(only)f(augmen)o(ted)g(but)h(also)f(altered)h(in)f(a)0 +1696 y(non-destructiv)o(e)c(manner)e(b)o(y)h(adding)f(new)h(en)o(tries) +h(to)f(the)g(fron)o(t)g(of)f(the)i(a-list.)42 1748 y(Sometimes)f(an)j +(a-list)f(represen)o(ts)j(a)e(bijectiv)o(e)f(mapping,)f(and)i(it)f(is)h +(desirable)g(to)0 1800 y(retriev)o(e)e(a)e(k)o(ey)h(giv)o(en)f(a)g +(datum.)k(F)m(or)c(this)h(purp)q(ose,)g(the)g(\\rev)o(erse")i(searc)o +(hing)e(func-)0 1852 y(tion)g Fs(rassoc)f Fw(is)h(pro)o(vided.)k(Other) +e(v)n(arian)o(ts)d(of)h(a-list)f(searc)o(hes)j(can)f(b)q(e)g +(constructed)0 1904 y(using)f(the)g(function)g Fs(find)f +Fw(or)h Fs(member)p Fw(.)42 1956 y(It)d(is)g(p)q(ermissible)g(to)g(let) +h Fs(nil)e Fw(b)q(e)i(an)g(elemen)o(t)f(of)f(an)i(a-list)e(in)h(place)h +(of)e(a)i(pair.)k(Suc)o(h)0 2008 y(an)e(elemen)o(t)f(is)h(not)g +(considered)h(to)f(b)q(e)g(a)g(pair)f(but)h(is)g(simply)e(passed)j(o)o +(v)o(er)f(when)g(the)0 2060 y(a-list)f(is)h(searc)o(hed)h(b)o(y)f +Fs(assoc)p Fw(.)1209 2200 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(acons)20 b Fv(key)25 b(datum)g(a)p Fs(-)p Fv(list)0 +2277 y Fs(acons)12 b Fw(constructs)j(a)e(new)h(asso)q(ciation)f(list)f +(b)o(y)h(adding)g(the)g(pair)g Fs(\()p Fv(key)22 b Fs(.)e +Fv(datum)p Fs(\))14 b Fw(to)0 2329 y(the)g(old)g Fv(a-list)p +Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 464 488 +464 487 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(464)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(acons)20 b(x)h(y)g(a\))g Ft(\021)g +Fs(\(cons)f(\(cons)g(x)h(y\))g(a\))42 380 y Fw(This)13 +b(is)h(a)g(trivial)e(con)o(v)o(enience)j(function,)e(but)i(I)e(\014nd)h +(I)g(use)h(it)e(a)h(lot.)-33 351 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1949 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 465 489 +465 488 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LISTS)1237 b(465)1209 +295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(pairlis)20 +b Fv(keys)25 b(data)f Fs(&optional)c Fv(a)p Fs(-)p Fv(list)0 +372 y Fs(pairlis)10 b Fw(tak)o(es)j(t)o(w)o(o)e(lists)h(and)f(mak)o(es) +g(an)g(asso)q(ciation)h(list)f(that)h(asso)q(ciates)h(elemen)o(ts)0 +424 y(of)d(the)i(\014rst)f(list)g(to)f(corresp)q(onding)i(elemen)o(ts)f +(of)f(the)i(second)g(list.)k(It)11 b(is)g(an)f(error)i(if)e(the)0 +476 y(t)o(w)o(o)k(lists)h Fv(keys)g Fw(and)g Fv(data)g +Fw(are)g(not)g(of)f(the)h(same)f(length.)21 b(If)14 b(the)i(optional)d +(argumen)o(t)0 528 y Fv(a-list)g Fw(is)h(pro)o(vided,)f(then)i(the)f +(new)g(pairs)g(are)h(added)f(to)g(the)g(fron)o(t)g(of)f(it.)42 +580 y(The)f(new)g(pairs)g(ma)o(y)e(app)q(ear)i(in)f(the)i(resulting)f +(a-list)f(in)g(an)o(y)g(order;)i(in)e(particular,)0 632 +y(either)h(forw)o(ard)f(or)h(bac)o(kw)o(ard)f(order)h(is)g(p)q +(ermitted.)17 b(Therefore)12 b(the)g(result)h(of)d(the)j(call)0 +721 y Fs(\(pairlis)193 725 y Fn(')217 721 y Fs(\(one)20 +b(two\))431 725 y Fn(')455 721 y Fs(\(1)g(2\))582 725 +y Fn(')605 721 y Fs(\(\(three)g(.)h(3\))g(\(four)f(.)h(19\)\)\))0 +810 y Fw(migh)o(t)12 b(b)q(e)0 900 y Fs(\(\(one)20 b(.)h(1\))g(\(two)f +(.)h(2\))g(\(three)f(.)h(3\))g(\(four)f(.)h(19\)\))0 +989 y Fw(but)14 b(could)g(equally)f(w)o(ell)g(b)q(e)0 +1078 y Fs(\(\(two)20 b(.)h(2\))g(\(one)f(.)h(1\))g(\(three)f(.)h(3\))g +(\(four)f(.)h(19\)\))1209 1226 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(assoc)20 b Fv(item)k(a)p Fs(-)p Fv(list)g +Fs(&key)d(:test)f(:test-not)f(:key)1209 1278 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(assoc-if)20 b Fv(pr)n(e)n(dic)n(ate)j +(a)p Fs(-)p Fv(list)1209 1330 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(assoc-if-not)19 b Fv(pr)n(e)n(dic)n(ate)24 +b(a)p Fs(-)p Fv(list)42 1407 y Fw(X3J13)13 b(v)o(oted)h(in)f(Marc)o(h)h +(1988)f Ft(h)p Fw(9)p Ft(i)h Fw(to)f(allo)o(w)f Fs(assoc-if)h +Fw(and)g Fs(assoc-if-not)e Fw(also)-33 1379 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1459 a(to)j(tak)o(e)f(a)h(k)o(eyw)o(ord)f(argumen)o(t)g +(named)f Fs(:key)p Fw(,)h(to)g(b)q(e)h(used)h(to)e(determine)h(whether) +h(a)0 1511 y(pair)h(\\satis\014es)h(the)g(test")g(in)f(the)h(same)f +(manner)f(as)i(for)f(sequence)j(functions.)25 b(The)0 +1563 y(new)14 b(function)g(descriptions)h(are)f(therefore)h(as)f(follo) +o(ws:)1209 1711 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(assoc-if)20 +b Fv(pr)n(e)n(dic)n(ate)j(a)p Fs(-)p Fv(list)i Fs(&key)20 +b(:key)1209 1763 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(assoc-if-not)19 b Fv(pr)n(e)n(dic)n(ate)24 b(a)p +Fs(-)p Fv(list)g Fs(&key)c(:key)42 1876 y Fw(The)13 b(omission)e(of)h +Fs(:key)h Fw(argumen)o(ts)f(for)h(these)h(functions)f(in)g(the)g +(\014rst)h(edition)f(w)o(as)0 1928 y(probably)g(an)h(o)o(v)o(ersigh)o +(t.)-33 1939 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1980 a(Eac)o(h)g(of)f(these)i(searc)o(hes)h(the)f(asso) +q(ciation)e(list)h Fv(a-list)p Fw(.)j(The)d(v)n(alue)f(is)h(the)g +(\014rst)h(pair)0 2032 y(in)g(the)h(a-list)e(suc)o(h)i(that)f(the)h +Fv(c)n(ar)f Fw(of)f(the)i(pair)f(satis\014es)h(the)g(test,)g(or)f +Fs(nil)g Fw(if)f(there)j(is)0 2084 y(no)d(suc)o(h)g(pair)g(in)f(the)i +(a-list.)i(F)m(or)c(example:)0 2173 y Fs(\(assoc)150 +2177 y Fn(')173 2173 y Fs(r)214 2177 y Fn(')237 2173 +y Fs(\(\(a)21 b(.)g(b\))g(\(c)f(.)h(d\))g(\(r)g(.)g(x\))f(\(s)h(.)g +(y\))g(\(r)g(.)g(z\)\)\))169 2225 y Ft(\))g Fs(\(r)g(.)g(x\))0 +2277 y(\(assoc)150 2281 y Fn(')173 2277 y Fs(goo)257 +2281 y Fn(')281 2277 y Fs(\(\(foo)f(.)h(bar\))f(\(zoo)h(.)g(goo\)\)\))e +Ft(\))i Fs(nil)0 2329 y(\(assoc)150 2333 y Fn(')173 2329 +y Fs(2)214 2333 y Fn(')237 2329 y Fs(\(\(1)g(a)g(b)g(c\))f(\(2)h(b)g(c) +g(d\))g(\(-7)f(x)h(y)g(z\)\)\))g Ft(\))f Fs(\(2)h(b)g(c)g(d\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 466 490 +466 489 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(466)77 b(COMMON)13 +b(LISP)0 295 y Fw(It)18 b(is)g(p)q(ossible)g(to)g Fs(rplacd)f +Fw(the)i(result)g(of)e Fs(assoc)g Fv(pr)n(ovide)n(d)h +Fw(that)g(it)g(is)g(not)g Fs(nil)p Fw(,)g(in)0 347 y(order)d(to)e(\\up) +q(date")h(the)h(\\table")e(that)h(w)o(as)g Fs(assoc)p +Fw('s)f(second)i(argumen)o(t.)i(\(Ho)o(w)o(ev)o(er,)0 +399 y(it)d(is)g(often)g(b)q(etter)i(to)e(up)q(date)h(an)e(a-list)h(b)o +(y)g(adding)f(new)i(pairs)f(to)g(the)g(fron)o(t,)g(rather)0 +450 y(than)g(altering)f(old)g(pairs.\))18 b(F)m(or)c(example:)0 +534 y Fs(\(setq)20 b(values)280 538 y Fn(')303 534 y +Fs(\(\(x)h(.)g(100\))f(\(y)h(.)g(200\))f(\(z)h(.)g(50\)\)\))0 +586 y(\(assoc)150 590 y Fn(')173 586 y Fs(y)g(values\))f +Ft(\))g Fs(\(y)h(.)g(200\))0 638 y(\(rplacd)f(\(assoc)323 +642 y Fn(')347 638 y Fs(y)h(values\))f(201\))0 689 y(\(assoc)150 +693 y Fn(')173 689 y Fs(y)h(values\))f Ft(\))g Fs(\(y)h(.)g(201\))g +Fw(no)o(w)0 773 y(A)13 b(t)o(ypical)g(tric)o(k)g(is)g(to)g(sa)o(y)g +Fs(\(cdr)20 b(\(assoc)g(x)h(y\)\))p Fw(.)c(Because)e(the)f +Fv(c)n(dr)f Fw(of)g Fs(nil)f Fw(is)h(guar-)0 825 y(an)o(teed)g(to)f(b)q +(e)h Fs(nil)p Fw(,)e(this)i(yields)f Fs(nil)f Fw(if)h(no)g(pair)f(is)h +(found)g Fv(or)g Fw(if)g(a)f(pair)h(is)g(found)g(whose)0 +877 y Fv(c)n(dr)i Fw(is)f Fs(nil)p Fw(.)18 b(This)13 +b(is)h(useful)g(if)f Fs(nil)g Fw(serv)o(es)j(its)e(usual)f(role)h(as)g +(a)g(\\default)f(v)n(alue.")42 929 y(The)h(t)o(w)o(o)f(expressions)0 +1012 y Fs(\(assoc)20 b Fv(item)h(list)f Fs(:test)g Fv(fn)p +Fs(\))0 1095 y Fw(and)0 1179 y Fs(\(find)g Fv(item)h(list)f +Fs(:test)g Fv(fn)i Fs(:key)e(#)602 1175 y(-)602 1183 +y(-)m Fn(')645 1179 y Fs(car\))0 1262 y Fw(are)e(equiv)n(alen)o(t)e(in) +h(meaning)e(with)i(one)g(imp)q(ortan)o(t)f(exception:)25 +b(if)17 b Fs(nil)f Fw(app)q(ears)i(in)0 1314 y(the)c(a-list)f(in)h +(place)g(of)f(a)h(pair,)f(and)g(the)i Fv(item)e Fw(b)q(eing)h(searc)o +(hed)h(for)f(is)g Fs(nil)p Fw(,)e Fs(find)h Fw(will)0 +1366 y(blithely)i(compute)g(the)h Fv(c)n(ar)f Fw(of)g(the)h +Fs(nil)f Fw(in)g(the)h(a-list,)f(\014nd)g(that)h(it)f(is)h(equal)f(to)g +(the)0 1418 y Fv(item)p Fw(,)k(and)g(return)h Fs(nil)p +Fw(,)f(whereas)h Fs(assoc)e Fw(will)f(ignore)i(the)g +Fs(nil)f Fw(in)g(the)i(a-list)e(and)0 1470 y(con)o(tin)o(ue)e(to)f +(searc)o(h)i(for)e(an)g(actual)g(pair)g(\(cons\))h(whose)g +Fv(c)n(ar)g Fw(is)f Fs(nil)p Fw(.)22 b(See)16 b Fs(find)f +Fw(and)0 1522 y Fs(position)p Fw(.)42 1573 y(X3J13)j(v)o(oted)h(in)f +(Jan)o(uary)h(1989)f Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g +(side)f(e\013ects;)k(see)d(sec-)-33 1545 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1625 a(tion)13 b(7.9.)-33 1637 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1685 V 0 1745 a Fm(Compatibilit)o(y)h(note:)21 +b FA(In)15 b(MacLisp,)i(the)e Fj(assoc)e FA(function)j(uses)g(an)f +Fj(equal)e FA(comparison)0 1791 y(rather)k(than)g Fj(eql)p +FA(,)f(whic)o(h)h(is)g(the)g(default)g(test)g(for)f Fj(assoc)e +FA(in)j(Common)g(Lisp.)29 b(Where)17 b(in)0 1837 y(MacLisp)e(one)f(w)o +(ould)h(write)f Fj(\(assoc)i(x)j(y\))p FA(,)12 b(in)j(Common)f(Lisp)h +(one)f(m)o(ust)g(write)g Fj(\(assoc)i(x)0 1882 y(y)i(:test)f(#)155 +1879 y(-)155 1885 y(-)n Fs(')193 1882 y Fj(equal\))11 +b FA(to)i(get)g(the)g(completely)i(iden)o(tical)h(e\013ect.)i +(Similarly)m(,)d(one)f(can)f(get)g(the)0 1928 y(precise)g(e\013ect,)f +(and)g(no)g(more,)g(of)f(the)h(MacLisp)h Fj(\(assq)k(x)h(y\))11 +b FA(b)o(y)h(writing)h(in)g(Common)f(Lisp)0 1974 y Fj(\(assoc)k(x)j(y)f +(:test)f(#)330 1971 y(-)330 1977 y(-)n Fs(')368 1974 +y Fj(eq\))p FA(.)42 2019 y(In)c(In)o(terlisp,)h Fj(assoc)d +FA(uses)i(an)h Fj(eq)e FA(test,)g(and)i Fj(sassoc)c FA(uses)k(an)f(In)o +(terlisp)i Fj(equal)c FA(test.)p 0 2052 V 1209 2148 a +Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(rassoc)20 b Fv(item)k(a)p +Fs(-)p Fv(list)g Fs(&key)c(:test)h(:test-not)e(:key)1209 +2200 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(rassoc-if)19 +b Fv(pr)n(e)n(dic)n(ate)24 b(a)p Fs(-)p Fv(list)1209 +2252 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(rassoc-if-not)18 +b Fv(pr)n(e)n(dic)n(ate)24 b(a)p Fs(-)p Fv(list)42 2329 +y Fw(X3J13)9 b(v)o(oted)h(in)f(Marc)o(h)h(1988)f Ft(h)p +Fw(9)p Ft(i)h Fw(to)g(allo)o(w)e Fs(rassoc-if)g Fw(and)h +Fs(rassoc-if-not)e Fw(also)-33 2300 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 467 491 +467 490 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LISTS)1237 b(467)0 +295 y Fw(to)14 b(tak)o(e)f(a)h(k)o(eyw)o(ord)f(argumen)o(t)g(named)f +Fs(:key)p Fw(,)h(to)g(b)q(e)h(used)h(to)e(determine)h(whether)h(a)0 +347 y(pair)h(\\satis\014es)h(the)g(test")g(in)f(the)h(same)f(manner)f +(as)i(for)f(sequence)j(functions.)25 b(The)0 399 y(new)14 +b(function)g(descriptions)h(are)f(therefore)h(as)f(follo)o(ws:)1209 +525 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(rassoc-if)19 +b Fv(pr)n(e)n(dic)n(ate)24 b(a)p Fs(-)p Fv(list)g Fs(&key)d(:key)1209 +577 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(rassoc-if-not)18 +b Fv(pr)n(e)n(dic)n(ate)24 b(a)p Fs(-)p Fv(list)h Fs(&key)20 +b(:key)42 679 y Fw(The)13 b(omission)e(of)h Fs(:key)h +Fw(argumen)o(ts)f(for)h(these)h(functions)f(in)g(the)g(\014rst)h +(edition)f(w)o(as)0 731 y(probably)g(an)h(o)o(v)o(ersigh)o(t.)-33 +742 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 782 a Fs(rassoc)9 b Fw(is)i(the)h(rev)o(erse)g(form)e +(of)g Fs(assoc)p Fw(;)g(it)h(searc)o(hes)i(for)d(a)h(pair)g(whose)g +Fv(c)n(dr)g Fw(satis\014es)0 834 y(the)i(test,)h(rather)g(than)f(the)g +Fv(c)n(ar)p Fw(.)k(If)c(the)g Fv(a-list)f Fw(is)h(considered)h(to)f(b)q +(e)g(a)g(mapping,)d(then)0 886 y Fs(rassoc)j Fw(treats)i(the)f +Fv(a-list)f Fw(as)h(represen)o(ting)i(the)e(in)o(v)o(erse)h(mapping.)g +(F)m(or)f(example:)0 971 y Fs(\(rassoc)171 975 y Fn(')195 +971 y Fs(a)236 975 y Fn(')259 971 y Fs(\(\(a)21 b(.)g(b\))f(\(b)h(.)g +(c\))g(\(c)g(.)f(a\))h(\(z)g(.)g(a\)\)\))f Ft(\))h Fs(\(c)g(.)g(a\))42 +1056 y Fw(The)14 b(expressions)0 1142 y Fs(\(rassoc)20 +b Fv(item)g(list)h Fs(:test)f Fv(fn)p Fs(\))0 1227 y +Fw(and)0 1312 y Fs(\(find)g Fv(item)h(list)f Fs(:test)g +Fv(fn)i Fs(:key)e(#)602 1308 y(-)602 1316 y(-)m Fn(')645 +1312 y Fs(cdr\))0 1397 y Fw(are)d(equiv)n(alen)o(t)e(in)h(meaning,)e +(except)j(when)g(the)g Fv(item)e Fw(is)h Fs(nil)g Fw(and)g +Fs(nil)f Fw(app)q(ears)i(in)0 1449 y(place)d(of)f(a)h(pair)f(in)h(the)g +(a-list.)j(See)e(the)g(discussion)f(of)f(the)i(function)f +Fs(assoc)p Fw(.)42 1501 y(X3J13)k(v)o(oted)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k +(see)d(sec-)-33 1472 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1553 a(tion)13 b(7.9.)-33 1564 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 780 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 468 492 +468 491 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(16)p 0 448 598 +9 v 0 531 a Fp(Hash)30 b(T)-7 b(ables)0 900 y Fw(A)19 +b(hash)f(table)h(is)f(a)h(Lisp)f(ob)r(ject)h(that)g(can)g(e\016cien)o +(tly)f(map)f(a)h(giv)o(en)g(Lisp)h(ob)r(ject)0 951 y(to)d(another)h +(Lisp)f(ob)r(ject.)27 b(Eac)o(h)16 b(hash)h(table)f(has)h(a)f(set)h(of) +f Fv(entries)p Fw(,)g(eac)o(h)h(of)f(whic)o(h)0 1003 +y(asso)q(ciates)g(a)f(particular)g Fv(key)h Fw(with)f(a)g(particular)g +Fv(value)p Fw(.)22 b(The)16 b(basic)f(functions)h(that)0 +1055 y(deal)11 b(with)g(hash)h(tables)g(can)f(create)i(en)o(tries,)g +(delete)f(en)o(tries,)h(and)e(\014nd)h(the)g(v)n(alue)f(that)0 +1107 y(is)h(asso)q(ciated)h(with)f(a)h(giv)o(en)e(k)o(ey)m(.)18 +b(Finding)11 b(the)i(v)n(alue)f(is)g(v)o(ery)h(fast,)f(ev)o(en)h(if)f +(there)h(are)0 1159 y(man)o(y)d(en)o(tries,)j(b)q(ecause)h(hashing)e +(is)g(used;)h(this)f(is)g(an)g(imp)q(ortan)o(t)f(adv)n(an)o(tage)g(of)h +(hash)0 1211 y(tables)i(o)o(v)o(er)g(prop)q(ert)o(y)h(lists.)42 +1263 y(A)i(giv)o(en)g(hash)h(table)f(can)g(asso)q(ciate)i(only)d(one)i +Fv(value)f Fw(with)h(a)f(giv)o(en)g Fv(key)p Fw(;)i(if)d(y)o(ou)0 +1315 y(try)f(to)g(add)g(a)g(second)h Fv(value)p Fw(,)f(it)f(will)g +(replace)i(the)f(\014rst.)22 b(Also,)15 b(adding)f(a)h(v)n(alue)f(to)h +(a)0 1367 y(hash)e(table)f(is)g(a)h(destructiv)o(e)h(op)q(eration;)e +(the)h(hash)g(table)f(is)h(mo)q(di\014ed.)j(By)c(con)o(trast,)0 +1419 y(asso)q(ciation)h(lists)h(can)g(b)q(e)h(augmen)o(ted)e +(non-destructiv)o(ely)m(.)42 1472 y(Hash)h(tables)g(come)f(in)g(three)i +(kinds,)f(the)g(di\013erence)i(b)q(eing)d(whether)j(the)e(k)o(eys)g +(are)0 1523 y(compared)f(with)h Fs(eq)p Fw(,)f Fs(eql)p +Fw(,)g(or)h Fs(equal)p Fw(.)j(In)d(other)h(w)o(ords,)f(there)h(are)f +(hash)g(tables)h(that)0 1575 y(hash)e(on)f(Lisp)h Fv(obje)n(cts)g +Fw(\(using)f Fs(eq)h Fw(or)f Fs(eql)p Fw(\))g(and)h(there)h(are)f(hash) +g(tables)g(that)g(hash)g(on)0 1627 y Fv(tr)n(e)n(e)h(structur)n(e)f +Fw(\(using)h Fs(equal)p Fw(\).)42 1680 y(Hash)i(tables)g(are)h(created) +h(with)d(the)i(function)f Fs(make-hash-table)p Fw(,)d(whic)o(h)j(tak)o +(es)0 1732 y(v)n(arious)11 b(options,)g(including)f(whic)o(h)i(kind)f +(of)f(hash)i(table)f(to)h(mak)o(e)e(\(the)i(default)f(b)q(eing)0 +1784 y(the)k Fs(eql)f Fw(kind\).)20 b(T)m(o)13 b(lo)q(ok)h(up)h(a)f(k)o +(ey)g(and)h(\014nd)f(the)h(asso)q(ciated)h(v)n(alue,)d(use)j +Fs(gethash)p Fw(.)0 1835 y(New)h(en)o(tries)g(are)g(added)f(to)g(hash)h +(tables)f(using)g Fs(setf)g Fw(with)g Fs(gethash)p Fw(.)23 +b(T)m(o)16 b(remo)o(v)o(e)0 1887 y(an)e(en)o(try)m(,)f(use)i +Fs(remhash)p Fw(.)h(Here)g(is)d(a)h(simple)e(example.)0 +1979 y Fs(\(setq)20 b(a)h(\(make-hash-table\)\))0 2031 +y(\(setf)f(\(gethash)323 2035 y Fn(')347 2031 y Fs(color)g(a\))539 +2035 y Fn(')563 2031 y Fs(brown\))0 2082 y(\(setf)g(\(gethash)323 +2086 y Fn(')347 2082 y Fs(name)g(a\))518 2086 y Fn(')541 +2082 y Fs(fred\))0 2134 y(\(gethash)193 2138 y Fn(')217 +2134 y Fs(color)g(a\))h Ft(\))f Fs(brown)0 2186 y(\(gethash)193 +2190 y Fn(')217 2186 y Fs(name)g(a\))h Ft(\))f Fs(fred)0 +2238 y(\(gethash)193 2242 y Fn(')217 2238 y Fs(pointy)g(a\))g +Ft(\))h Fs(nil)42 2329 y Fw(In)15 b(this)g(example,)e(the)j(sym)o(b)q +(ols)d Fs(color)h Fw(and)h Fs(name)f Fw(are)i(b)q(eing)f(used)h(as)f(k) +o(eys,)g(and)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2428 a Fy(468)p eop +%%Page: 469 493 +469 492 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(HASH)13 b(T)m(ABLES)1083 +b(469)0 295 y Fw(the)18 b(sym)o(b)q(ols)f Fs(brown)f +Fw(and)i Fs(fred)e Fw(are)i(b)q(eing)g(used)h(as)e(the)i(asso)q(ciated) +f(v)n(alues.)29 b(The)0 347 y(hash)14 b(table)g(has)h(t)o(w)o(o)e +(items)h(in)f(it,)h(one)g(of)g(whic)o(h)g(asso)q(ciates)h(from)d +Fs(color)h Fw(to)h Fs(brown)p Fw(,)0 399 y(and)g(the)g(other)h(of)e +(whic)o(h)h(asso)q(ciates)h(from)d Fs(name)h Fw(to)h +Fs(fred)p Fw(.)42 450 y(Keys)j(do)f(not)g(ha)o(v)o(e)g(to)h(b)q(e)g +(sym)o(b)q(ols;)e(they)i(can)g(b)q(e)g(an)o(y)f(Lisp)g(ob)r(ject.)26 +b(Similarly)l(,)0 502 y(v)n(alues)14 b(can)g(b)q(e)g(an)o(y)g(Lisp)f +(ob)r(ject.)42 554 y(When)18 b(a)f(hash)i(table)e(is)h(\014rst)h +(created,)h(it)e(has)g(a)f Fv(size)p Fw(,)i(whic)o(h)e(is)h(the)h +(maxim)n(um)-38 529 y Fk(.)-38 542 y(.)-38 555 y(.)-38 +568 y(.)-38 581 y(.)-38 594 y(.)-38 607 y(.)-38 620 y(.)-38 +633 y(.)-38 646 y(.)-38 659 y(.)-38 672 y(.)-38 685 y(.)-38 +698 y(.)-38 711 y(.)-38 724 y(.)-38 737 y(.)-38 750 y(.)-38 +763 y(.)-38 776 y(.)-38 789 y(.)-38 802 y(.)-38 815 y(.)-38 +828 y(.)-38 840 y(.)-38 853 y(.)-38 866 y(.)-38 879 y(.)-38 +892 y(.)-38 905 y(.)-38 918 y(.)-38 931 y(.)-38 944 y(.)-38 +957 y(.)-38 970 y(.)-38 983 y(.)-38 996 y(.)-38 1009 +y(.)-38 1022 y(.)-38 1035 y(.)-38 1048 y(.)-38 1061 y(.)-38 +1074 y(.)-38 1087 y(.)-38 1100 y(.)-38 1113 y(.)-38 1126 +y(.)-38 1139 y(.)-38 1152 y(.)-38 1165 y(.)-38 1178 y(.)-38 +1191 y(.)-38 1204 y(.)-38 1217 y(.)-38 1230 y(.)-38 1243 +y(.)-38 1256 y(.)-38 1269 y(.)-38 1282 y(.)-38 1295 y(.)-38 +1307 y(.)-38 1320 y(.)-38 1333 y(.)-38 1346 y(.)-38 1359 +y(.)-38 1372 y(.)-38 1385 y(.)-38 1398 y(.)-38 1411 y(.)-38 +1424 y(.)-38 1437 y(.)-38 1450 y(.)-38 1463 y(.)-38 1476 +y(.)-38 1489 y(.)-38 1502 y(.)-38 1515 y(.)-38 1528 y(.)-38 +1541 y(.)-38 1554 y(.)-38 1567 y(.)-38 1580 y(.)-38 1593 +y(.)-38 1606 y(.)-38 1619 y(.)-38 1632 y(.)-38 1645 y(.)-38 +1658 y(.)-38 1671 y(.)-38 1684 y(.)-38 1697 y(.)-38 1710 +y(.)-38 1723 y(.)-38 1736 y(.)-38 1749 y(.)-38 1762 y(.)-38 +1774 y(.)-38 1787 y(.)-38 1800 y(.)-38 1813 y(.)-38 1826 +y(.)-38 1839 y(.)-38 1852 y(.)-38 1865 y(.)-38 1878 y(.)-38 +1891 y(.)-38 1904 y(.)-38 1917 y(.)-38 1930 y(.)-38 1943 +y(.)-38 1956 y(.)-38 1969 y(.)-38 1982 y(.)-38 1995 y(.)-38 +2008 y(.)-38 2021 y(.)-38 2034 y(.)-38 2047 y(.)-38 2060 +y(.)-38 2073 y(.)-38 2086 y(.)-38 2099 y(.)-38 2112 y(.)-38 +2125 y(.)-38 2138 y(.)-38 2151 y(.)-38 2164 y(.)-38 2177 +y(.)-38 2190 y(.)-38 2203 y(.)-38 2216 y(.)-38 2229 y(.)-38 +2241 y(.)-38 2254 y(.)-38 2267 y(.)-38 2280 y(.)-38 2293 +y(.)-38 2306 y(.)-38 2319 y(.)-38 2332 y(.)-38 2345 y(.)-38 +2358 y(.)-38 2371 y(.)-38 2384 y(.)-38 2397 y(.)-38 2410 +y(.)-38 2423 y(.)-38 2436 y(.)-38 2449 y(.)-38 2462 y(.)-38 +2475 y(.)-38 2488 y(.)-38 2501 y(.)-38 2514 y(.)-38 2527 +y(.)-38 2540 y(.)-38 2553 y(.)-38 2566 y(.)-38 2579 y(.)-38 +2592 y(.)-38 2605 y(.)-38 2618 y(.)-38 2631 y(.)-38 2644 +y(.)-38 2657 y(.)-38 2670 y(.)-38 2683 y(.)-38 2696 y(.)-38 +2708 y(.)-38 2721 y(.)-38 2734 y(.)-38 2747 y(.)-38 2760 +y(.)-38 2773 y(.)-38 2786 y(.)-38 2799 y(.)-38 2812 y(.)-38 +2825 y(.)-38 2838 y(.)-38 2851 y(.)-38 2864 y(.)-38 2877 +y(.)-38 2890 y(.)-38 2903 y(.)-38 2916 y(.)-38 2929 y(.)-38 +2942 y(.)-38 2955 y(.)-38 2968 y(.)-38 2981 y(.)-38 2994 +y(.)-38 3007 y(.)-38 3020 y(.)-38 3033 y(.)-38 3046 y(.)-38 +3059 y(.)-38 3072 y(.)-38 3085 y(.)-38 3098 y(.)-38 3111 +y(.)0 606 y Fw(n)o(um)o(b)q(er)f(of)h(en)o(tries)h(it)e(can)i(hold.)32 +b(Usually)19 b(the)g(actual)g(capacit)o(y)g(of)f(the)i(table)f(is)0 +658 y(somewhat)g(less,)k(since)e(the)g(hashing)f(is)g(not)g(p)q +(erfectly)i(collision-free.)36 b(With)20 b(the)0 710 +y(maxim)n(um)12 b(p)q(ossible)17 b(bad)f(luc)o(k,)g(the)h(capacit)o(y)f +(could)g(b)q(e)h(v)o(ery)f(m)o(uc)o(h)f(less,)i(but)g(this)0 +762 y(rarely)f(happ)q(ens.)25 b(If)16 b(so)f(man)o(y)g(en)o(tries)h +(are)h(added)f(that)g(the)g(capacit)o(y)g(is)g(exceeded,)0 +814 y(the)e(hash)g(table)f(will)f(automatically)f(gro)o(w,)h(and)i(the) +g(en)o(tries)g(will)e(b)q(e)i Fv(r)n(ehashe)n(d)g Fw(\(new)0 +866 y(hash)e(v)n(alues)f(will)g(b)q(e)h(recomputed,)g(and)g(ev)o +(erything)g(will)e(b)q(e)j(rearranged)f(so)g(that)g(the)0 +917 y(fast)i(hash)g(lo)q(okup)f(still)f(w)o(orks\).)19 +b(This)13 b(is)h(transparen)o(t)h(to)e(the)i(caller;)e(it)g(all)g(happ) +q(ens)0 969 y(automatically)l(.)-33 981 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1021 a(There)k(is)g(a)g(discrepancy)h(b)q(et)o(w)o(een) +g(the)f(preceding)h(description)g(of)e(the)h(size)h(of)e(a)-33 +993 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1073 a(hash)j(table)h(and)f(the)h(description)f(of)g +(the)h Fs(:size)e Fw(argumen)o(t)g(in)h(the)h(sp)q(eci\014cation)0 +1125 y(b)q(elo)o(w)14 b(of)f Fs(make-hash-table)p Fw(.)42 +1177 y(X3J13)j(v)o(oted)h(in)g(June)h(1989)e Ft(h)p Fw(99)p +Ft(i)h Fw(to)g(regard)g(the)h(latter)f(description)h(as)f(de\014ni-)0 +1229 y(tiv)o(e:)g(the)d Fs(:size)e Fw(argumen)o(t)g(is)h(appro)o +(ximately)e(the)j(n)o(um)o(b)q(er)e(of)g(en)o(tries)j(that)e(can)g(b)q +(e)0 1281 y(inserted)h(without)e(ha)o(ving)g(to)g(enlarge)h(the)h(hash) +f(table.)k(This)c(de\014nition)f(is)h(certainly)0 1333 +y(more)g(con)o(v)o(enien)o(t)h(for)g(the)g(user.)-33 +1344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1392 V 0 1452 a Fm(Compatibilit)o(y)7 +b(note:)16 b FA(This)9 b(hash)h(table)g(facilit)o(y)h(is)f(compatible)h +(with)e(Lisp)h(Mac)o(hine)h(Lisp.)0 1498 y(It)k(is)g(similar)i(to)e +(the)h(hasharra)o(y)g(facilit)o(y)h(of)e(In)o(terlisp,)i(and)e(some)h +(of)e(the)i(function)g(names)0 1544 y(are)f(the)g(same.)22 +b(Ho)o(w)o(ev)o(er,)15 b(it)g(is)g Fq(not)f FA(compatible)j(with)e(In)o +(terlisp.)24 b(The)14 b(exact)h(details)i(and)0 1589 +y(the)11 b(order)g(of)g(argumen)o(ts)h(are)e(designed)j(to)e(b)q(e)g +(consisten)o(t)h(with)g(the)f(rest)f(of)h(MacLisp)h(rather)0 +1635 y(than)k(with)h(In)o(terlisp.)27 b(F)m(or)15 b(instance,)j(the)e +(order)g(of)g(argumen)o(ts)g(to)g Fj(maphash)d FA(is)j(di\013eren)o(t,) +0 1681 y(there)e(is)g(no)f(\\system)h(hash)h(table,")f(and)g(there)g +(is)g(not)f(the)h(In)o(terlisp)h(restriction)g(that)f(k)o(eys)0 +1726 y(and)g(v)n(alues)g(ma)o(y)f(not)g(b)q(e)h Fj(nil)p +FA(.)p 0 1760 V 0 1885 a Fo(16.1.)20 b(Hash)c(T)-5 b(able)14 +b(F)-5 b(unctions)0 1970 y Fw(This)18 b(section)h(do)q(cumen)o(ts)f +(the)h(functions)g(for)f(hash)g(tables,)h(whic)o(h)f(use)i +Fv(obje)n(cts)e Fw(as)0 2022 y(k)o(eys)c(and)g(asso)q(ciate)h(other)f +(ob)r(jects)h(with)f(them.)1209 2148 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(make-hash-table)18 b(&key)i(:test)h(:size)f +(:rehash-size)348 2200 y(:rehash-threshold)0 2277 y Fw(This)e(function) +g(creates)i(and)f(returns)g(a)f(new)h(hash)g(table.)31 +b(The)19 b Fs(:test)e Fw(argumen)o(t)0 2329 y(determines)e(ho)o(w)g(k)o +(eys)g(are)g(compared;)f(it)h(m)o(ust)f(b)q(e)h(one)g(of)f(the)i(three) +g(v)n(alues)f Fs(#)1297 2325 y(-)1297 2333 y(-)m Fn(')1340 +2329 y Fs(eq)p Fw(,)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 470 494 +470 493 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(470)77 b(COMMON)13 +b(LISP)0 295 y Fs(#)0 291 y(-)0 299 y(-)n Fn(')43 295 +y Fs(eql)p Fw(,)g(or)h Fs(#)185 291 y(-)185 299 y(-)n +Fn(')228 295 y Fs(equal)p Fw(,)f(or)h(one)h(of)f(the)g(three)i(sym)o(b) +q(ols)d Fs(eq)p Fw(,)g Fs(eql)p Fw(,)g(or)i Fs(equal)p +Fw(.)j(If)c(no)g(test)0 347 y(is)g(sp)q(eci\014ed,)h +Fs(eql)e Fw(is)h(assumed.)42 400 y(X3J13)k(v)o(oted)h(in)g(Jan)o(uary)g +(1989)f Ft(h)p Fw(100)p Ft(i)h Fw(to)f(add)h(a)g(fourth)g(t)o(yp)q(e)h +(of)e(hash)h(table:)-33 371 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 451 a(the)i(v)n(alue)g(of)f Fs(#)247 447 +y(-)247 455 y(-)m Fn(')290 451 y Fs(equalp)f Fw(and)i(the)g(sym)o(b)q +(ol)e Fs(equalp)h Fw(are)h(to)g(b)q(e)g(additional)e(v)n(alid)0 +503 y(p)q(ossibilities)13 b(for)h(the)g Fs(:test)f Fw(argumen)o(t.)42 +556 y(Note)g(that)h(one)f(consequence)j(of)d(the)h(v)o(ote)f(to)g(c)o +(hange)h(the)g(rules)g(of)e(\015oating-p)q(oin)o(t)0 +608 y(con)o(tagion)j Ft(h)p Fw(37)p Ft(i)h Fw(\(describ)q(ed)h(in)f +(section)h(12.1\))d(is)i(to)g(require)1017 604 y Fs(U)1017 +612 y(U)1038 608 y Fw(,)g(and)g(therefore)h(also)0 660 +y Fs(equalp)p Fw(,)h(to)g(compare)g(the)h(v)n(alues)f(of)g(n)o(um)o(b)q +(ers)g(exactly)h(and)f(not)g(appro)o(ximately)m(,)0 712 +y(making)11 b Fs(equalp)i Fw(a)h(true)g(equiv)n(alence)g(relation)g(on) +f(n)o(um)o(b)q(ers.)42 765 y(Another)i(v)n(aluable)f(use)i(of)f +Fs(equalp)e Fw(hash)j(tables)f(is)g(case-insensitiv)o(e)h(comparison)0 +817 y(of)d(k)o(eys)i(that)f(are)g(strings.)-33 828 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 870 a(The)f Fs(:size)f Fw(argumen)o(t)g(sets)j(the)f +(initial)d(size)j(of)f(the)g(hash)h(table,)f(in)f(en)o(tries.)19 +b(\(The)0 922 y(actual)c(size)g(ma)o(y)e(b)q(e)j(rounded)f(up)g(from)f +(the)h(size)h(y)o(ou)e(sp)q(ecify)i(to)f(the)g(next)h(\\go)q(o)q(d")0 +973 y(size,)f(for)e(example)g(to)i(mak)o(e)d(it)i(a)g(prime)f(n)o(um)o +(b)q(er.\))19 b(Y)m(ou)13 b(w)o(on't)h(necessarily)h(b)q(e)g(able)0 +1025 y(to)20 b(store)h(precisely)g(this)f(man)o(y)f(en)o(tries)i(in)o +(to)e(the)i(table)f(b)q(efore)h(it)f(o)o(v)o(er\015o)o(ws)g(and)0 +1077 y(b)q(ecomes)12 b(bigger,)g(but)g(this)g(argumen)o(t)e(do)q(es)j +(serv)o(e)g(as)f(a)g(hin)o(t)f(to)h(the)g(implemen)o(tation)0 +1129 y(of)h(appro)o(ximately)f(ho)o(w)h(man)o(y)f(en)o(tries)j(y)o(ou)f +(in)o(tend)g(to)f(store.)42 1182 y(X3J13)g(v)o(oted)i(in)e(Jan)o(uary)h +(1989)f Ft(h)p Fw(7)p Ft(i)i Fw(to)f(clarify)f(that)h(the)h +Fs(:size)e Fw(argumen)o(t)g(m)o(ust)-33 1154 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1234 a(b)q(e)i(a)e(non-negativ)o(e)h(in)o(teger.)-33 +1246 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1287 a(X3J13)h(v)o(oted)h(in)f(June)i(1989)e +Ft(h)p Fw(99)p Ft(i)g Fw(to)h(regard)g(the)h(preceding)f(description)h +(of)e(the)-33 1258 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1339 a Fs(:size)e Fw(argumen)o(t)g(as)h(de\014nitiv)o +(e:)19 b(it)14 b(is)g(appro)o(ximately)e(the)i(n)o(um)o(b)q(er)g(of)f +(en)o(tries)j(that)0 1391 y(can)e(b)q(e)h(inserted)g(without)e(ha)o +(ving)g(to)h(enlarge)g(the)g(hash)g(table.)-33 1402 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1444 a(The)f Fs(:rehash-size)d Fw(argumen)o(t)h(sp)q +(eci\014es)k(ho)o(w)d(m)o(uc)o(h)f(to)i(increase)h(the)f(size)g(of)f +(the)0 1495 y(hash)17 b(table)g(when)g(it)g(b)q(ecomes)g(full.)25 +b(This)17 b(can)g(b)q(e)h(an)e(in)o(teger)i(greater)f(than)g(zero,)0 +1547 y(whic)o(h)f(is)g(the)h(n)o(um)o(b)q(er)e(of)h(en)o(tries)h(to)f +(add,)h(or)f(it)g(can)g(b)q(e)h(a)f(\015oating-p)q(oin)o(t)e(n)o(um)o +(b)q(er)0 1599 y(greater)h(than)f(1,)f(whic)o(h)h(is)f(the)i(ratio)e +(of)g(the)i(new)f(size)h(to)e(the)i(old)e(size.)19 b(The)14 +b(default)0 1651 y(v)n(alue)f(for)h(this)g(argumen)o(t)e(is)i(implemen) +o(tation-dep)q(enden)o(t.)42 1704 y(The)19 b Fs(:rehash-threshol)o(d)d +Fw(argumen)o(t)h(sp)q(eci\014es)k(ho)o(w)d(full)g(the)h(hash)g(table)g +(can)-38 1679 y Fk(.)-38 1692 y(.)-38 1705 y(.)-38 1718 +y(.)-38 1731 y(.)-38 1744 y(.)-38 1757 y(.)-38 1770 y(.)-38 +1783 y(.)-38 1796 y(.)-38 1809 y(.)-38 1822 y(.)-38 1835 +y(.)-38 1848 y(.)-38 1861 y(.)-38 1874 y(.)-38 1887 y(.)-38 +1900 y(.)-38 1913 y(.)-38 1925 y(.)-38 1938 y(.)-38 1951 +y(.)-38 1964 y(.)-38 1977 y(.)-38 1990 y(.)-38 2003 y(.)-38 +2016 y(.)-38 2029 y(.)-38 2042 y(.)-38 2055 y(.)-38 2068 +y(.)-38 2081 y(.)-38 2094 y(.)-38 2107 y(.)-38 2120 y(.)-38 +2133 y(.)-38 2146 y(.)-38 2159 y(.)-38 2172 y(.)-38 2185 +y(.)-38 2198 y(.)-38 2211 y(.)-38 2224 y(.)-38 2237 y(.)-38 +2250 y(.)-38 2263 y(.)-38 2276 y(.)-38 2289 y(.)-38 2302 +y(.)-38 2315 y(.)-38 2328 y(.)-38 2341 y(.)-38 2354 y(.)-38 +2367 y(.)-38 2380 y(.)-38 2392 y(.)-38 2405 y(.)-38 2418 +y(.)-38 2431 y(.)-38 2444 y(.)-38 2457 y(.)-38 2470 y(.)-38 +2483 y(.)-38 2496 y(.)-38 2509 y(.)-38 2522 y(.)-38 2535 +y(.)-38 2548 y(.)-38 2561 y(.)-38 2574 y(.)-38 2587 y(.)-38 +2600 y(.)-38 2613 y(.)-38 2626 y(.)-38 2639 y(.)-38 2652 +y(.)-38 2665 y(.)-38 2678 y(.)-38 2691 y(.)-38 2704 y(.)-38 +2717 y(.)-38 2730 y(.)-38 2743 y(.)-38 2756 y(.)-38 2769 +y(.)-38 2782 y(.)-38 2795 y(.)-38 2808 y(.)-38 2821 y(.)-38 +2834 y(.)-38 2847 y(.)-38 2859 y(.)-38 2872 y(.)-38 2885 +y(.)-38 2898 y(.)-38 2911 y(.)-38 2924 y(.)-38 2937 y(.)-38 +2950 y(.)-38 2963 y(.)-38 2976 y(.)-38 2989 y(.)-38 3002 +y(.)-38 3015 y(.)-38 3028 y(.)-38 3041 y(.)-38 3054 y(.)-38 +3067 y(.)-38 3080 y(.)-38 3093 y(.)-38 3106 y(.)-38 3119 +y(.)-38 3132 y(.)-38 3145 y(.)-38 3158 y(.)-38 3171 y(.)-38 +3184 y(.)-38 3197 y(.)-38 3210 y(.)-38 3223 y(.)-38 3236 +y(.)-38 3249 y(.)-38 3262 y(.)-38 3275 y(.)-38 3288 y(.)-38 +3301 y(.)-38 3314 y(.)-38 3326 y(.)-38 3339 y(.)-38 3352 +y(.)-38 3365 y(.)-38 3378 y(.)-38 3391 y(.)-38 3404 y(.)-38 +3417 y(.)-38 3430 y(.)-38 3443 y(.)-38 3456 y(.)-38 3469 +y(.)-38 3482 y(.)-38 3495 y(.)-38 3508 y(.)-38 3521 y(.)-38 +3534 y(.)-38 3547 y(.)-38 3560 y(.)-38 3573 y(.)-38 3586 +y(.)-38 3599 y(.)-38 3612 y(.)-38 3625 y(.)-38 3638 y(.)-38 +3651 y(.)-38 3664 y(.)-38 3677 y(.)-38 3690 y(.)-38 3703 +y(.)-38 3716 y(.)-38 3729 y(.)-38 3742 y(.)-38 3755 y(.)-38 +3768 y(.)-38 3780 y(.)-38 3793 y(.)-38 3806 y(.)-38 3819 +y(.)-38 3832 y(.)-38 3845 y(.)-38 3858 y(.)-38 3871 y(.)-38 +3884 y(.)-38 3897 y(.)-38 3910 y(.)-38 3923 y(.)-38 3936 +y(.)-38 3949 y(.)-38 3962 y(.)-38 3975 y(.)-38 3988 y(.)-38 +4001 y(.)-38 4014 y(.)-38 4027 y(.)-38 4040 y(.)-38 4053 +y(.)-38 4066 y(.)-38 4079 y(.)-38 4092 y(.)-38 4105 y(.)-38 +4118 y(.)-38 4131 y(.)-38 4144 y(.)-38 4157 y(.)-38 4170 +y(.)-38 4183 y(.)-38 4196 y(.)-38 4209 y(.)-38 4222 y(.)-38 +4235 y(.)-38 4247 y(.)-38 4260 y(.)0 1756 y Fw(get)e(b)q(efore)h(it)e +(m)o(ust)g(gro)o(w.)27 b(This)17 b(can)g(b)q(e)h(an)e(in)o(teger)i +(greater)g(than)e(zero)i(and)f(less)0 1808 y(than)d(the)g +Fs(:rehash-size)d Fw(\(in)i(whic)o(h)g(case)i(it)e(will)f(b)q(e)i +(scaled)g(whenev)o(er)h(the)f(table)g(is)0 1860 y(gro)o(wn\),)e(or)h +(it)f(can)h(b)q(e)g(a)f(\015oating-p)q(oin)o(t)f(n)o(um)o(b)q(er)h(b)q +(et)o(w)o(een)i(zero)f(and)g(1.)k(The)c(default)0 1912 +y(v)n(alue)g(for)h(this)g(argumen)o(t)e(is)i(implemen)o(tation-dep)q +(enden)o(t.)-33 1923 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1965 a(X3J13)e(v)o(oted)h(in)f(June)i(1989)e +Ft(h)p Fw(99)p Ft(i)h Fw(to)f(replace)i(the)f(preceding)h(sp)q +(eci\014cation)g(of)e(the)-33 1936 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2016 a Fs(:rehash-threshold)g Fw(argumen)o(t)i(with)i +(the)g(follo)o(wing:)i(The)e Fs(:rehash-threshold)0 2068 +y Fw(argumen)o(t)10 b(sp)q(eci\014es)j(ho)o(w)e(full)f(the)i(hash)f +(table)h(can)f(get)h(b)q(efore)g(it)e(m)o(ust)h(gro)o(w.)16 +b(It)c(ma)o(y)0 2120 y(b)q(e)17 b(an)o(y)e Fs(real)g +Fw(n)o(um)o(b)q(er)g(b)q(et)o(w)o(een)j Fs(0)d Fw(and)h +Fs(1)p Fw(,)g(inclusiv)o(e.)24 b(It)16 b(indicates)g(the)h(maxim)n(um)0 +2172 y(desired)j(lev)o(el)f(of)f(hash)h(table)g(o)q(ccupancy)m(.)33 +b(An)19 b(implemen)o(tation)c(is)k(p)q(ermitted)g(to)0 +2224 y(ignore)12 b(this)h(argumen)o(t.)j(The)d(default)f(v)n(alue)g +(for)g(this)h(argumen)o(t)e(is)h(implemen)o(tation-)0 +2276 y(dep)q(enden)o(t.)-33 2288 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2329 a(An)i(example)e(of)h(the)i(use)g(of)e +Fs(make-hash-table)p Fw(:)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 471 495 +471 494 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(HASH)13 b(T)m(ABLES)1083 +b(471)0 295 y Fs(\(make-hash-table)18 b(:rehash-size)h(1.5)360 +347 y(:size)h(\(*)h(number-of-widget)o(s)d(43\)\))1209 +470 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(hash-table-p)19 +b Fv(obje)n(ct)0 547 y Fs(hash-table-p)11 b Fw(is)j(true)h(if)e(its)h +(argumen)o(t)f(is)g(a)h(hash)g(table,)f(and)h(otherwise)h(is)f(false.)0 +631 y Fs(\(hash-table-p)k(x\))j Ft(\021)h Fs(\(typep)e(x)615 +635 y Fn(')639 631 y Fs(hash-table\))1209 755 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(gethash)20 b Fv(key)25 +b(hash)p Fs(-)p Fv(table)f Fs(&optional)c Fv(default)0 +831 y Fs(gethash)13 b Fw(\014nds)j(the)f(en)o(try)h(in)e +Fv(hash-table)h Fw(whose)g(k)o(ey)g(is)g Fv(key)g Fw(and)g(returns)h +(the)g(asso-)0 883 y(ciated)f(v)n(alue.)k(If)14 b(there)i(is)e(no)h +(suc)o(h)g(en)o(try)m(,)f Fs(gethash)f Fw(returns)k Fv(default)p +Fw(,)d(whic)o(h)g(is)g Fs(nil)0 935 y Fw(if)f(not)h(sp)q(eci\014ed.)42 +987 y Fs(gethash)i Fw(actually)i(returns)i(t)o(w)o(o)e(v)n(alues,)h +(the)g(second)g(b)q(eing)g(a)f(predicate)h(v)n(alue)0 +1039 y(that)14 b(is)g(true)g(if)f(an)h(en)o(try)h(w)o(as)e(found,)g +(and)h(false)g(if)f(no)g(en)o(try)i(w)o(as)f(found.)42 +1091 y Fs(setf)h Fw(ma)o(y)g(b)q(e)i(used)h(with)e Fs(gethash)g +Fw(to)g(mak)o(e)f(new)i(en)o(tries)h(in)e(a)h(hash)g(table.)26 +b(If)0 1143 y(an)16 b(en)o(try)h(with)f(the)i(sp)q(eci\014ed)g +Fv(key)e Fw(already)h(exists,)g(it)f(is)g(remo)o(v)o(ed)g(b)q(efore)h +(the)g(new)0 1195 y(en)o(try)h(is)g(added.)30 b(The)18 +b Fv(default)g Fw(argumen)o(t)e(ma)o(y)g(b)q(e)i(sp)q(eci\014ed)i(to)d +Fs(gethash)f Fw(in)i(this)0 1246 y(con)o(text;)c(it)f(is)g(ignored)g(b) +o(y)h Fs(setf)e Fw(but)i(ma)o(y)d(b)q(e)j(useful)g(in)f(suc)o(h)h +(macros)f(as)g Fs(incf)g Fw(that)0 1298 y(are)h(related)h(to)f +Fs(setf)p Fw(:)0 1383 y Fs(\(incf)20 b(\(gethash)g(a-key)g(table)g +(0\)\))0 1467 y Fw(means)13 b(appro)o(ximately)e(the)k(same)e(as)0 +1552 y Fs(\(setf)20 b(\(gethash)g(a-key)g(table)g(0\))127 +1604 y(\(+)h(\(gethash)e(a-key)h(table)h(0\))f(1\)\))0 +1688 y Fw(whic)o(h)14 b(in)f(turn)i(w)o(ould)e(b)q(e)h(treated)h(as)f +(simply)0 1773 y Fs(\(setf)20 b(\(gethash)g(a-key)g(table\))127 +1825 y(\(+)h(\(gethash)e(a-key)h(table)h(0\))f(1\)\))1209 +1948 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(remhash)20 +b Fv(key)25 b(hash)p Fs(-)p Fv(table)0 2025 y Fs(remhash)14 +b Fw(remo)o(v)o(es)g(an)o(y)h(en)o(try)h(for)f Fv(key)h +Fw(in)e Fv(hash-table)p Fw(.)23 b(This)15 b(is)g(a)g(predicate)i(that)e +(is)0 2077 y(true)g(if)e(there)i(w)o(as)f(an)f(en)o(try)i(or)f(false)f +(if)g(there)j(w)o(as)d(not.)1209 2200 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(maphash)20 b Fv(function)25 b(hash)p +Fs(-)p Fv(table)0 2277 y Fw(F)m(or)16 b(eac)o(h)h(en)o(try)g(in)f +Fv(hash-table)p Fw(,)h Fs(maphash)e Fw(calls)h Fv(function)h +Fw(on)g(t)o(w)o(o)f(argumen)o(ts:)22 b(the)0 2329 y(k)o(ey)c(of)f(the)i +(en)o(try)f(and)g(the)h(v)n(alue)e(of)g(the)i(en)o(try;)h +Fs(maphash)c Fw(then)j(returns)h Fs(nil)p Fw(.)29 b(If)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 472 496 +472 495 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(472)77 b(COMMON)13 +b(LISP)0 295 y Fw(en)o(tries)20 b(are)f(added)g(to)g(or)g(deleted)h +(from)d(the)i(hash)g(table)g(while)g(a)f Fs(maphash)f +Fw(is)i(in)0 347 y(progress,)h(the)e(results)h(are)f(unpredictable,)i +(with)d(one)h(exception:)27 b(if)17 b(the)h Fv(function)0 +399 y Fw(calls)13 b Fs(remhash)g Fw(to)g(remo)o(v)o(e)g(the)h(en)o(try) +h(curren)o(tly)f(b)q(eing)g(pro)q(cessed)i(b)o(y)d(the)i +Fv(function)p Fw(,)0 450 y(or)f(p)q(erforms)g(a)g Fs(setf)f +Fw(of)g Fs(gethash)g Fw(on)h(that)g(en)o(try)h(to)f(c)o(hange)g(the)h +(asso)q(ciated)g(v)n(alue,)0 502 y(then)g(those)f(op)q(erations)g(will) +f(ha)o(v)o(e)g(the)i(in)o(tended)f(e\013ect.)20 b(F)m(or)14 +b(example:)0 588 y Fs(;;;)21 b(Alter)f(every)g(entry)g(in)h +(MY-HASH-TABLE,)d(replacing)h(the)i(value)f(with)0 640 +y(;;;)h(its)f(square)g(root.)g(Entries)g(with)g(negative)g(values)g +(are)g(removed.)0 692 y(\(maphash)g(#)196 688 y(-)196 +696 y(-)m Fn(')238 692 y Fs(\(lambda)g(\(key)h(val\))275 +744 y(\(if)g(\(minusp)e(val\))360 795 y(\(remhash)g(key)i +(my-hash-table\))360 847 y(\(setf)f(\(gethash)g(key)g(my-hash-table\))e +(\(sqrt)j(val\)\)\)\))191 899 y(my-hash-table\))42 985 +y Fw(X3J13)d(v)o(oted)h(in)f(Jan)o(uary)h(1989)f Ft(h)p +Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f(e\013ects;)k(see)d +(sec-)-33 956 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1037 a(tion)13 b(7.9.)-33 1048 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1166 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(clrhash)20 b Fv(hash)p Fs(-)p Fv(table)0 1242 y +Fw(This)13 b(remo)o(v)o(es)g(all)f(the)i(en)o(tries)h(from)c +Fv(hash-table)j Fw(and)f(returns)i(the)f(hash)f(table)h(itself.)1209 +1371 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(hash-table-count)18 +b Fv(hash)p Fs(-)p Fv(table)0 1448 y Fw(This)e(returns)j(the)e(n)o(um)o +(b)q(er)f(of)g(en)o(tries)h(in)f(the)h Fv(hash-table)p +Fw(.)27 b(When)16 b(a)h(hash)f(table)h(is)0 1500 y(\014rst)e(created)g +(or)f(has)g(b)q(een)h(cleared,)f(the)h(n)o(um)o(b)q(er)e(of)g(en)o +(tries)i(is)f(zero.)-33 1601 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 1629 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(with-hash-table-i)o(terat)o(or)32 b(\()p Fv(mname)15 +b(hash-table)p Fs(\))22 b Ft(f)7 b Fv(form)p Ft(g)1084 +1614 y Fl(\003)0 1706 y Fw(X3J13)22 b(v)o(oted)g(in)g(Jan)o(uary)g +(1989)g Ft(h)p Fw(98)p Ft(i)g Fw(to)g(add)g(the)h(macro)e +Fs(with-hash-table-)0 1758 y(iterator)p Fw(.)42 1810 +y(The)15 b(name)f Fv(mname)h Fw(is)g(b)q(ound)g(and)g(de\014ned)h(as)f +(if)f(b)o(y)h Fs(macrolet)p Fw(,)e(with)i(the)h(b)q(o)q(dy)0 +1862 y Fv(form)s Fw(s)j(as)g(its)g(lexical)f(scop)q(e,)i(to)f(b)q(e)h +(a)e(\\generator)i(macro")d(suc)o(h)j(that)f(successiv)o(e)0 +1914 y(in)o(v)o(o)q(cations)10 b Fs(\()p Fv(mname)p Fs(\))i +Fw(will)e(return)i(en)o(tries,)h(one)e(b)o(y)h(one,)f(from)f(the)i +(hash)f(table)h(that)0 1965 y(is)i(the)g(v)n(alue)f(of)h(the)g +(expression)h Fv(hash-table)f Fw(\(whic)o(h)g(is)g(ev)n(aluated)g +(exactly)g(once\).)42 2017 y(A)o(t)i(eac)o(h)i(in)o(v)o(o)q(cation)d +(of)h(the)i(generator)f(macro,)f(there)i(are)g(t)o(w)o(o)e(p)q +(ossibilities.)26 b(If)0 2069 y(there)13 b(is)f(y)o(et)g(another)g +(unpro)q(cessed)i(en)o(try)e(in)g(the)g(hash)g(table,)f(then)i(three)g +(v)n(alues)e(are)0 2121 y(returned:)22 b Fs(t)p Fw(,)15 +b(the)g(k)o(ey)g(of)g(the)h(hash)f(table)g(en)o(try)m(,)g(and)g(the)g +(asso)q(ciated)h(v)n(alue)f(of)f(the)0 2173 y(hash)f(table)f(en)o(try)m +(.)18 b(On)12 b(the)h(other)g(hand,)f(if)g(there)i(are)e(no)g(more)g +(unpro)q(cessed)j(en)o(tries)0 2225 y(in)e(the)i(hash)f(table,)f(then)i +(one)f(v)n(alue)f(is)h(returned:)20 b Fs(nil)p Fw(.)42 +2277 y(The)c(implicit)d(in)o(terior)j(state)h(of)e(the)i(iteration)f(o) +o(v)o(er)g(the)g(hash)h(table)e(en)o(tries)j(has)0 2329 +y(dynamic)c(exten)o(t.)25 b(While)15 b(the)i(name)e Fv(mname)h +Fw(has)g(lexical)f(scop)q(e,)i(it)f(is)f(an)h(error)h(to)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 473 497 +473 496 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(HASH)13 b(T)m(ABLES)1083 +b(473)0 295 y Fw(in)o(v)o(ok)o(e)16 b(the)i(generator)f(macro)f(once)i +(the)f Fs(with-hash-table-ite)o(rator)c Fw(form)j(has)0 +347 y(b)q(een)f(exited.)42 399 y(In)o(v)o(o)q(cations)21 +b(of)g Fs(with-hash-table-it)o(erato)o(r)e Fw(and)j(related)g(macros)f +(ma)o(y)f(b)q(e)0 450 y(nested,)e(and)e(the)h(generator)g(macro)e(of)h +(an)g(outer)h(in)o(v)o(o)q(cation)e(ma)o(y)f(b)q(e)j(called)f(from)0 +502 y(within)i(an)h(inner)g(in)o(v)o(o)q(cation)e(\(assuming)h(that)h +(its)g(name)e(is)i(visible)f(or)h(otherwise)0 554 y(made)13 +b(a)o(v)n(ailable\).)42 606 y(X3J13)18 b(v)o(oted)h(in)f(Jan)o(uary)h +(1989)f Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f +(e\013ects;)k(see)d(sec-)-33 578 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 658 a(tion)13 b(7.9.)-33 670 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 718 V 0 778 a Fm(Rationale:)21 b FA(This)16 +b(facilit)o(y)h(is)f(a)f(bit)h(more)f(\015exible)i(than)f +Fj(maphash)p FA(.)k(It)15 b(mak)o(es)g(p)q(ossible)j(a)0 +824 y(p)q(ortable)d(and)f(e\016cien)o(t)g(implemen)o(tation)i(of)d +Fj(loop)f FA(clauses)j(for)e(iterating)i(o)o(v)o(er)e(hash)h(tables)0 +869 y(\(see)f(c)o(hapter)h(26\).)p 0 905 V -33 2344 a +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 474 498 +474 497 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(474)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(setq)20 b(turtles)g(\(make-hash-table)e(:size)i(9)h +(:test)975 299 y Fn(')998 295 y Fs(eq\)\))0 347 y(\(setf)f(\(gethash) +323 351 y Fn(')347 347 y Fs(howard-kaylan)e(turtles\))845 +351 y Fn(')868 347 y Fs(\(musician)h(lead-singer\)\))0 +399 y(\(setf)h(\(gethash)323 403 y Fn(')347 399 y Fs(john-barbata)f +(turtles\))823 403 y Fn(')846 399 y Fs(\(musician)h(drummer\)\))0 +450 y(\(setf)g(\(gethash)323 454 y Fn(')347 450 y Fs(leonardo)f +(turtles\))736 454 y Fn(')759 450 y Fs(\(ninja)h(leader)g(blue\)\))0 +502 y(\(setf)g(\(gethash)323 506 y Fn(')347 502 y Fs(donatello)f +(turtles\))757 506 y Fn(')781 502 y Fs(\(ninja)h(machines)f(purple\)\)) +0 554 y(\(setf)h(\(gethash)323 558 y Fn(')347 554 y Fs(al-nichol)f +(turtles\))757 558 y Fn(')781 554 y Fs(\(musician)g(guitarist\)\))0 +606 y(\(setf)h(\(gethash)323 610 y Fn(')347 606 y Fs(mark-volman)f +(turtles\))801 610 y Fn(')824 606 y Fs(\(musician)h(great-hair\)\))0 +658 y(\(setf)g(\(gethash)323 662 y Fn(')347 658 y Fs(raphael)g +(turtles\))714 662 y Fn(')737 658 y Fs(\(ninja)g(cool)h(rude)f(red\)\)) +0 710 y(\(setf)g(\(gethash)323 714 y Fn(')347 710 y Fs(michaelangelo)e +(turtles\))845 714 y Fn(')868 710 y Fs(\(ninja)i(party-dude)f +(orange\)\))0 762 y(\(setf)h(\(gethash)323 766 y Fn(')347 +762 y Fs(jim-pons)f(turtles\))736 766 y Fn(')759 762 +y Fs(\(musician)g(bassist\)\))0 866 y(\(with-hash-table-)o(itera)o(tor) +f(\(get-turtle)h(turtles\))42 917 y(\(labels)h(\(\(try)g(\(got-one)g +(&optional)f(key)i(value\))275 969 y(\(when)f(got-one)28 +b(;)p Fw(Remem)o(b)q(er,)12 b(k)o(eys)i(ma)o(y)e(sho)o(w)i(up)g(in)g +(an)o(y)f(order)318 1021 y Fs(\(when)20 b(\(eq)g(\(first)g(value\))836 +1025 y Fn(')859 1021 y Fs(ninja\))360 1073 y(\(format)g(t)h(")597 +1077 y Fn(~)620 1073 y Fs(\045)640 1077 y Fn(~)663 1073 +y Fs(:\()705 1077 y Fn(~)727 1073 y Fs(A)747 1077 y Fn(~)770 +1073 y Fs(\):)833 1077 y Fn(~)856 1073 y Fs({)876 1077 +y Fn(~)899 1073 y Fs(A)919 1077 y Fn(~)-5 b(^)963 1073 +y Fs(,)1004 1077 y Fn(~)1027 1073 y Fs(}")529 1125 y(key)21 +b(\(rest)f(value\)\)\))318 1177 y(\(multiple-value)o(-call)e(#)775 +1173 y(-)775 1181 y(-)m Fn(')818 1177 y Fs(try)i +(\(get-turtle\)\)\)\)\))85 1229 y(\(multiple-value-)o(call)e(#)542 +1225 y(-)542 1233 y(-)m Fn(')585 1229 y Fs(try)i(\(get-turtle\)\)\)\)) +103 b(;)p Fw(Prin)o(ts)14 b(4)g(lines)0 1281 y Fs(Michaelangelo:)k +(PARTY-DUDE,)h(ORANGE)0 1333 y(Leonardo:)g(LEADER,)h(BLUE)0 +1384 y(Raphael:)g(COOL,)g(RUDE,)g(RED)0 1436 y(Donatello:)f(MACHINES,)g +(PURPLE)42 1488 y Ft(\))i Fs(nil)-33 1504 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1675 a Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(hash-table-rehash)o(-size)18 b Fv(hash)p Fs(-)p +Fv(table)-33 1647 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1209 1727 a Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(hash-table-rehash)o(-thre)o(shold)18 b Fv(hash)p +Fs(-)p Fv(table)1209 1779 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(hash-table-size)18 b Fv(hash)p Fs(-)p Fv(table)1209 +1831 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(hash-table-test)18 +b Fv(hash)p Fs(-)p Fv(table)0 1909 y Fw(X3J13)e(v)o(oted)h(in)f(Marc)o +(h)h(1989)e Ft(h)p Fw(97)p Ft(i)h Fw(to)h(add)f(four)g(accessor)i +(functions)f(that)g(return)0 1961 y(v)n(alues)g(suitable)g(for)g(use)h +(in)f(a)g(call)f(to)i Fs(make-hash-table)c Fw(in)i(order)i(to)g(pro)q +(duce)g(a)0 2013 y(new)13 b(hash)g(table)g(with)f(state)i(corresp)q +(onding)g(to)e(the)i(curren)o(t)g(state)f(of)f(the)i(argumen)o(t)0 +2064 y(hash)g(table.)42 2118 y Fs(hash-table-reha)o(sh-si)o(ze)d +Fw(returns)k(the)g(curren)o(t)g(rehash)g(size)g(of)e(a)g(hash)h(table.) +42 2171 y Fs(hash-table-reha)o(sh-th)o(resho)o(ld)d Fw(returns)k(the)g +(curren)o(t)g(rehash)g(threshold.)42 2224 y Fs(hash-table-size)10 +b Fw(returns)16 b(the)e(curren)o(t)i(size)e(of)f(a)h(hash)g(table.)42 +2277 y Fs(hash-table-test)e Fw(returns)18 b(the)e(test)h(used)g(for)e +(comparing)f(k)o(eys.)25 b(If)15 b(the)i(test)g(is)0 +2329 y(one)f(of)g(the)h(standard)g(test)g(functions,)f(then)h(the)g +(result)g(will)e(alw)o(a)o(ys)g(b)q(e)i(a)f(sym)o(b)q(ol,)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 475 499 +475 498 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(HASH)13 b(T)m(ABLES)1083 +b(475)0 295 y Fw(ev)o(en)15 b(if)e(the)i(function)f(itself)g(w)o(as)g +(sp)q(eci\014ed)i(when)f(the)g Fv(hash-table)f Fw(w)o(as)g(created.)21 +b(F)m(or)0 347 y(example:)0 432 y Fs(\(hash-table-test)d +(\(make-hash-table)g(:test)i(#)870 428 y(-)870 436 y(-)m +Fn(')913 432 y Fs(equal\)\))g Ft(\))g Fs(equal)0 517 +y Fw(Implemen)o(tations)11 b(that)j(extend)h Fs(make-hash-table)10 +b Fw(b)o(y)k(pro)o(viding)f(additional)f(p)q(os-)0 569 +y(sibilities)j(for)i(the)g Fs(:test)e Fw(argumen)o(t)g(ma)o(y)g +(determine)h(ho)o(w)g(the)h(v)n(alue)f(returned)i(b)o(y)0 +621 y Fs(hash-table-test)11 b Fw(is)i(related)i(to)f(suc)o(h)g +(additional)e(tests.)-33 632 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 770 a Fo(16.2.)20 b(Primitiv)n(e)12 b(Hash)k(F)-5 +b(unction)0 855 y Fw(The)18 b(function)g Fs(sxhash)f +Fw(is)h(a)f(con)o(v)o(enien)o(t)i(to)q(ol)e(for)h(the)g(user)h(who)f +(needs)h(to)f(create)0 907 y(more)d(complicated)g(hashed)i(data)f +(structures)i(than)e(are)h(pro)o(vided)f(b)o(y)g Fs(hash-table)0 +959 y Fw(ob)r(jects.)1209 1086 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(sxhash)20 b Fv(obje)n(ct)0 1162 y Fs(sxhash)15 +b Fw(computes)h(a)g(hash)g(co)q(de)h(for)f(an)f(ob)r(ject)i(and)f +(returns)i(the)f(hash)f(co)q(de)h(as)f(a)0 1214 y(non-negativ)o(e)g +(\014xn)o(um.)22 b(A)16 b(prop)q(ert)o(y)h(of)e Fs(sxhash)g +Fw(is)h(that)g Fs(\(equal)k Fv(x)h(y)p Fs(\))16 b Fw(implies)e +Fs(\()1373 1210 y(U)1373 1218 y(U)0 1266 y(\(sxhash)20 +b Fv(x)p Fs(\))h(\(sxhash)f Fv(y)p Fs(\)\))p Fw(.)42 +1318 y(The)25 b(manner)g(in)g(whic)o(h)g(the)h(hash)g(co)q(de)g(is)f +(computed)g(is)g(implemen)o(tation-)0 1370 y(dep)q(enden)o(t)17 +b(but)f(indep)q(enden)o(t)h(of)d(the)i(particular)g(\\incarnation")e +(or)h(\\core)h(image.")0 1422 y(Hash)i(v)n(alues)g(pro)q(duced)h(b)o(y) +e Fs(sxhash)g Fw(ma)o(y)e(b)q(e)k(written)f(out)g(to)f(\014les,)i(for)e +(example,)0 1474 y(and)c(meaningfully)e(read)j(in)f(again)f(in)o(to)h +(an)g(instance)h(of)f(the)h(same)f(implem)o(en)o(tation.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 476 500 +476 499 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(17)p 0 448 598 +9 v 0 531 a Fp(Arra)n(ys)0 884 y Fw(An)18 b(arra)o(y)f(is)h(an)f(ob)r +(ject)i(with)e(comp)q(onen)o(ts)h(arranged)g(according)f(to)h(a)f +(rectilinear)0 936 y(co)q(ordinate)i(system.)34 b(In)19 +b(principle,)h(an)f(arra)o(y)g(in)f(Common)e(Lisp)j(ma)o(y)e(ha)o(v)o +(e)i(an)o(y)0 988 y(n)o(um)o(b)q(er)13 b(of)g(dimensions,)f(including)h +(zero.)19 b(\(A)14 b(zero-dimensional)e(arra)o(y)i(has)g(exactly)0 +1040 y(one)k(elemen)o(t.\))29 b(In)18 b(practice,)h(an)f(implemen)o +(tati)o(on)d(ma)o(y)h(limit)f(the)j(n)o(um)o(b)q(er)f(of)g(di-)0 +1092 y(mensions)e(supp)q(orted,)i(but)g(ev)o(ery)f(Common)d(Lisp)j +(implem)o(en)o(tation)d(m)o(ust)i(supp)q(ort)0 1143 y(arra)o(ys)g(of)g +(up)g(to)g(sev)o(en)h(dimensions.)21 b(Eac)o(h)16 b(dimension)d(is)i(a) +g(non-negativ)o(e)g(in)o(teger;)0 1195 y(if)e(an)o(y)g(dimension)g(of)g +(an)h(arra)o(y)f(is)h(zero,)g(the)h(arra)o(y)e(has)h(no)g(elemen)o(ts.) +42 1247 y(An)h(arra)o(y)g(ma)o(y)e(b)q(e)j(a)f Fv(gener)n(al)h(arr)n +(ay)p Fw(,)e(meaning)g(eac)o(h)h(elemen)o(t)g(ma)o(y)e(b)q(e)j(an)o(y)f +(Lisp)0 1299 y(ob)r(ject,)h(or)f(it)f(ma)o(y)f(b)q(e)j(a)f +Fv(sp)n(e)n(cialize)n(d)g(arr)n(ay)p Fw(,)g(meaning)e(that)i(eac)o(h)h +(elemen)o(t)e(m)o(ust)g(b)q(e)0 1351 y(of)f(a)h(giv)o(en)f(restricted)j +(t)o(yp)q(e.)42 1403 y(One-dimensional)8 b(arra)o(ys)j(are)g(called)f +(v)o(ectors.)18 b(General)10 b(v)o(ectors)i(ma)o(y)c(con)o(tain)i(an)o +(y)-38 1378 y Fk(.)-38 1391 y(.)-38 1404 y(.)-38 1417 +y(.)-38 1430 y(.)-38 1443 y(.)-38 1456 y(.)-38 1469 y(.)-38 +1482 y(.)-38 1495 y(.)-38 1508 y(.)-38 1521 y(.)-38 1533 +y(.)-38 1546 y(.)-38 1559 y(.)-38 1572 y(.)-38 1585 y(.)-38 +1598 y(.)-38 1611 y(.)-38 1624 y(.)-38 1637 y(.)-38 1650 +y(.)-38 1663 y(.)-38 1676 y(.)-38 1689 y(.)-38 1702 y(.)-38 +1715 y(.)-38 1728 y(.)-38 1741 y(.)-38 1754 y(.)-38 1767 +y(.)-38 1780 y(.)-38 1793 y(.)-38 1806 y(.)-38 1819 y(.)-38 +1832 y(.)-38 1845 y(.)-38 1858 y(.)-38 1871 y(.)-38 1884 +y(.)-38 1897 y(.)-38 1910 y(.)-38 1923 y(.)-38 1936 y(.)-38 +1949 y(.)-38 1962 y(.)-38 1975 y(.)-38 1988 y(.)-38 2000 +y(.)-38 2013 y(.)-38 2026 y(.)-38 2039 y(.)-38 2052 y(.)-38 +2065 y(.)-38 2078 y(.)-38 2091 y(.)-38 2104 y(.)-38 2117 +y(.)-38 2130 y(.)-38 2143 y(.)-38 2156 y(.)-38 2169 y(.)-38 +2182 y(.)-38 2195 y(.)-38 2208 y(.)-38 2221 y(.)-38 2234 +y(.)-38 2247 y(.)-38 2260 y(.)-38 2273 y(.)-38 2286 y(.)-38 +2299 y(.)-38 2312 y(.)-38 2325 y(.)-38 2338 y(.)-38 2351 +y(.)-38 2364 y(.)-38 2377 y(.)-38 2390 y(.)-38 2403 y(.)-38 +2416 y(.)-38 2429 y(.)-38 2442 y(.)-38 2455 y(.)-38 2467 +y(.)-38 2480 y(.)-38 2493 y(.)-38 2506 y(.)-38 2519 y(.)-38 +2532 y(.)-38 2545 y(.)-38 2558 y(.)-38 2571 y(.)-38 2584 +y(.)-38 2597 y(.)-38 2610 y(.)-38 2623 y(.)-38 2636 y(.)-38 +2649 y(.)-38 2662 y(.)-38 2675 y(.)-38 2688 y(.)-38 2701 +y(.)-38 2714 y(.)-38 2727 y(.)-38 2740 y(.)-38 2753 y(.)-38 +2766 y(.)-38 2779 y(.)-38 2792 y(.)-38 2805 y(.)-38 2818 +y(.)-38 2831 y(.)-38 2844 y(.)-38 2857 y(.)-38 2870 y(.)-38 +2883 y(.)-38 2896 y(.)-38 2909 y(.)-38 2922 y(.)-38 2934 +y(.)-38 2947 y(.)-38 2960 y(.)-38 2973 y(.)-38 2986 y(.)-38 +2999 y(.)-38 3012 y(.)-38 3025 y(.)-38 3038 y(.)-38 3051 +y(.)-38 3064 y(.)-38 3077 y(.)-38 3090 y(.)-38 3103 y(.)-38 +3116 y(.)-38 3129 y(.)-38 3142 y(.)-38 3155 y(.)-38 3168 +y(.)-38 3181 y(.)-38 3194 y(.)-38 3207 y(.)-38 3220 y(.)-38 +3233 y(.)-38 3246 y(.)-38 3259 y(.)-38 3272 y(.)-38 3285 +y(.)-38 3298 y(.)-38 3311 y(.)-38 3324 y(.)-38 3337 y(.)-38 +3350 y(.)-38 3363 y(.)-38 3376 y(.)-38 3389 y(.)-38 3401 +y(.)-38 3414 y(.)-38 3427 y(.)-38 3440 y(.)-38 3453 y(.)-38 +3466 y(.)-38 3479 y(.)-38 3492 y(.)-38 3505 y(.)-38 3518 +y(.)-38 3531 y(.)-38 3544 y(.)-38 3557 y(.)-38 3570 y(.)-38 +3583 y(.)-38 3596 y(.)-38 3609 y(.)-38 3622 y(.)-38 3635 +y(.)-38 3648 y(.)-38 3661 y(.)-38 3674 y(.)-38 3687 y(.)-38 +3700 y(.)-38 3713 y(.)-38 3726 y(.)-38 3739 y(.)-38 3752 +y(.)-38 3765 y(.)-38 3778 y(.)-38 3791 y(.)-38 3804 y(.)-38 +3817 y(.)-38 3830 y(.)-38 3843 y(.)-38 3856 y(.)-38 3868 +y(.)-38 3881 y(.)-38 3894 y(.)-38 3907 y(.)-38 3920 y(.)-38 +3933 y(.)-38 3946 y(.)-38 3959 y(.)0 1455 y Fw(Lisp)15 +b(ob)r(ject.)22 b(V)m(ectors)17 b(whose)e(elemen)o(ts)g(are)h +(restricted)h(to)e(t)o(yp)q(e)h Fs(string-char)c Fw(are)0 +1507 y(called)k Fv(strings)p Fw(.)26 b(V)m(ectors)18 +b(whose)f(elemen)o(ts)f(are)i(restricted)g(to)f(t)o(yp)q(e)g +Fs(bit)f Fw(are)h(called)0 1559 y Fv(bit-ve)n(ctors)p +Fw(.)-33 1570 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1610 a(X3J13)f(v)o(oted)h(in)g(Marc)o(h)g(1989)f +Ft(h)p Fw(11)p Ft(i)h Fw(to)f(eliminate)f(the)j(t)o(yp)q(e)f +Fs(string-char)e Fw(and)-33 1582 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1662 a(to)e(rede\014ne)i(the)f(t)o(yp)q(e)f +Fs(string)f Fw(to)h(b)q(e)h(the)g(union)f(of)f(one)i(or)f(more)f(sp)q +(ecialized)i(v)o(ector)0 1714 y(t)o(yp)q(es,)g(the)h(t)o(yp)q(es)g(of)e +(whose)h(elemen)o(ts)g(are)g(subt)o(yp)q(es)i(of)d(the)h(t)o(yp)q(e)h +Fs(character)p Fw(.)-33 1726 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1849 a Fo(17.1.)20 b(Arra)n(y)c(Creation)0 +1930 y Fw(Do)i(not)h(b)q(e)g(daun)o(ted)g(b)o(y)f(the)i(man)o(y)c +(options)j(of)f(the)h(function)f Fs(make-array)p Fw(.)31 +b(All)0 1982 y(that)14 b(is)g(required)i(to)e(construct)i(an)e(arra)o +(y)f(is)i(a)f(list)f(of)h(the)h(dimensions;)d(most)h(of)h(the)0 +2034 y(options)g(are)g(for)f(relativ)o(ely)h(esoteric)h(applications.) +1209 2148 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(make-array)19 +b Fv(dimensions)25 b Fs(&key)c(:element-type)239 2200 +y(:initial-element)d(:initial-contents)g(:adjustable)239 +2252 y(:fill-pointer)h(:displaced-to)f(:displaced-index-o)o(ffset)0 +2329 y Fw(This)e(is)f(the)i(primitiv)o(e)c(function)j(for)f(making)f +(arra)o(ys.)23 b(The)17 b Fv(dimensions)f Fw(argumen)o(t)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2428 a Fy(476)p eop +%%Page: 477 501 +477 500 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(ARRA)m(YS)1191 +b(477)0 295 y Fw(should)19 b(b)q(e)h(a)g(list)f(of)g(non-negativ)o(e)g +(in)o(tegers)h(that)g(are)f(to)h(b)q(e)g(the)g(dimensions)e(of)0 +347 y(the)d(arra)o(y;)e(the)i(length)f(of)g(the)g(list)g(will)f(b)q(e)h +(the)h(dimensionalit)o(y)c(of)j(the)g(arra)o(y)m(.)k(Eac)o(h)0 +399 y(dimension)9 b(m)o(ust)h(b)q(e)i(smaller)d(than)i +Fs(array-dimension-lim)o(it)p Fw(,)d(and)j(the)g(pro)q(duct)h(of)0 +450 y(all)d(the)h(dimensions)f(m)o(ust)g(b)q(e)i(smaller)d(than)i +Fs(array-total-size-l)o(imit)p Fw(.)j(Note)e(that)0 502 +y(if)e Fv(dimensions)i Fw(is)f Fs(nil)p Fw(,)g(then)h(a)f +(zero-dimensional)f(arra)o(y)h(is)g(created.)19 b(F)m(or)9 +b(con)o(v)o(enience)0 554 y(when)14 b(making)d(a)j(one-dimensional)d +(arra)o(y)m(,)h(the)j(single)e(dimension)f(ma)o(y)g(b)q(e)i(pro)o +(vided)0 606 y(as)g(an)g(in)o(teger)g(rather)h(than)f(as)g(a)f(list)h +(of)f(one)h(in)o(teger.)42 658 y(An)f(implemen)o(tation)d(of)j(Commo)o +(n)e(Lisp)i(ma)o(y)f(imp)q(ose)g(a)h(limit)e(on)i(the)h(rank)f(of)g(an) +0 710 y(arra)o(y)m(,)e(but)h(this)h(limit)c(ma)o(y)h(not)i(b)q(e)h +(smaller)d(than)i(7.)17 b(Therefore,)d(an)o(y)d(Common)e(Lisp)0 +762 y(program)h(ma)o(y)g(assume)i(the)h(use)f(of)g(arra)o(ys)g(of)f +(rank)h(7)g(or)g(less.)18 b(The)12 b(implemen)o(tation-)0 +814 y(dep)q(enden)o(t)k(limit)11 b(on)i(arra)o(y)h(rank)g(is)g +(re\015ected)i(in)d Fs(array-rank-limit)p Fw(.)42 866 +y(The)h(k)o(eyw)o(ord)g(argumen)o(ts)f(for)g Fs(make-array)f +Fw(are)i(as)g(follo)o(ws:)0 964 y Fs(:element-type)0 +1027 y Fw(This)h(argumen)o(t)f(should)h(b)q(e)h(the)g(name)e(of)g(the)i +(t)o(yp)q(e)g(of)e(the)i(elemen)o(ts)f(of)g(the)g(arra)o(y;)0 +1079 y(an)k(arra)o(y)g(is)g(constructed)i(of)e(the)h(most)e(sp)q +(ecialized)i(t)o(yp)q(e)g(that)f(can)g(nev)o(ertheless)0 +1131 y(accommo)q(date)f(elemen)o(ts)j(of)f(the)h(giv)o(en)f(t)o(yp)q +(e.)39 b(The)21 b(t)o(yp)q(e)g Fs(t)g Fw(sp)q(eci\014es)h(a)f(general)0 +1183 y(arra)o(y)m(,)13 b(one)h(whose)g(elemen)o(ts)g(ma)o(y)e(b)q(e)i +(an)o(y)g(Lisp)g(ob)r(ject;)g(this)g(is)f(the)i(default)f(t)o(yp)q(e.) +42 1235 y(X3J13)i(v)o(oted)h(in)f(Jan)o(uary)g(1989)g +Ft(h)p Fw(8)p Ft(i)h Fw(to)f(c)o(hange)h Fs(typep)f Fw(and)g +Fs(subtypep)f Fw(so)i(that)-33 1206 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1287 a(the)e(sp)q(ecialized)g Fs(array)f +Fw(t)o(yp)q(e)h(sp)q(eci\014er)h(means)e(the)h(same)f(thing)g(for)g +(discrimination)0 1339 y(purp)q(oses)19 b(as)e(for)g(declaration)g +(purp)q(oses:)26 b(it)17 b(encompasses)h(those)g(arra)o(ys)f(that)h +(can)0 1390 y(result)f(b)o(y)f(sp)q(ecifying)g Fv(element-typ)n(e)g +Fw(as)h(the)f(elemen)o(t)g(t)o(yp)q(e)h(to)f(the)h(function)f +Fs(make-)0 1442 y(array)p Fw(.)25 b(Therefore)19 b(w)o(e)d(ma)o(y)f(sa) +o(y)i(that)g(if)f Fv(typ)n(e)g Fw(is)h(the)g Fs(:element-type)d +Fw(argumen)o(t,)0 1494 y(then)j(the)f(result)h(will)e(b)q(e)h(an)g +(arra)o(y)g(of)f(t)o(yp)q(e)i Fs(\(array)j Fv(typ)n(e)p +Fs(\))p Fw(;)c(put)h(another)f(w)o(a)o(y)m(,)f(for)0 +1546 y(an)o(y)e(t)o(yp)q(e)i Fv(A)p Fw(,)0 1645 y Fs(\(typep)20 +b(\(make-array)f(...)h(:element-type)802 1649 y Fn(')825 +1645 y Fv(A)h Fs(...\))146 1701 y Fn(')169 1697 y Fs(\(array)f +Fv(A)p Fs(\)\)\))0 1795 y Fw(is)14 b(alw)o(a)o(ys)f(true.)18 +b(See)d Fs(upgraded-array-elem)o(ent-t)o(ype)p Fw(.)-33 +1807 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1894 a Fs(:initial-element)0 1957 y Fw(This)21 +b(argumen)o(t)e(ma)o(y)g(b)q(e)i(used)h(to)e(initialize)g(eac)o(h)h +(elemen)o(t)f(of)g(the)h(arra)o(y)m(.)38 b(The)0 2009 +y(v)n(alue)15 b(m)o(ust)f(b)q(e)i(of)f(the)h(t)o(yp)q(e)g(sp)q +(eci\014ed)h(b)o(y)e(the)h Fs(:element-type)d Fw(argumen)o(t.)21 +b(If)15 b(the)0 2061 y Fs(:initial-element)10 b Fw(option)j(is)g +(omitted,)f(the)i(initial)e(v)n(alues)h(of)g(the)i(arra)o(y)e(elemen)o +(ts)0 2113 y(are)19 b(unde\014ned)h(\(unless)f(the)g +Fs(:initial-contents)c Fw(or)j Fs(:displaced-to)e Fw(option)i(is)0 +2165 y(used\).)k(The)16 b Fs(:initial-element)c Fw(option)i(ma)o(y)f +(not)i(b)q(e)g(used)h(with)f(the)h Fs(:initial-)0 2217 +y(contents)c Fw(or)i Fs(:displaced-to)d Fw(option.)0 +2315 y Fs(:initial-contents)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 478 502 +478 501 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(478)77 b(COMMON)13 +b(LISP)0 295 y Fw(This)h(argumen)o(t)e(ma)o(y)g(b)q(e)j(used)g(to)e +(initialize)g(the)h(con)o(ten)o(ts)h(of)e(the)i(arra)o(y)m(.)i(The)d(v) +n(alue)0 347 y(is)h(a)g(nested)h(structure)h(of)e(sequences.)23 +b(If)15 b(the)h(arra)o(y)e(is)h(zero-dimensional,)e(then)j(the)0 +399 y(v)n(alue)g(sp)q(eci\014es)i(the)f(single)f(elemen)o(t.)24 +b(Otherwise,)18 b(the)f(v)n(alue)e(m)o(ust)h(b)q(e)h(a)f(sequence)0 +450 y(whose)g(length)g(is)f(equal)g(to)h(the)g(\014rst)g(dimension;)e +(eac)o(h)i(elemen)o(t)f(m)o(ust)g(b)q(e)h(a)f(nested)0 +502 y(structure)k(for)d(an)g(arra)o(y)g(whose)h(dimensions)e(are)i(the) +g(remaining)e(dimensions,)g(and)0 554 y(so)f(on.)k(F)m(or)13 +b(example:)0 655 y Fs(\(make-array)259 659 y Fn(')282 +655 y Fs(\(4)21 b(2)g(3\))254 707 y(:initial-contents)252 +763 y Fn(')275 759 y Fs(\(\(\(a)g(b)g(c\))f(\(1)h(2)g(3\)\))296 +811 y(\(\(d)g(e)g(f\))g(\(3)f(1)h(2\)\))296 863 y(\(\(g)g(h)g(i\))g +(\(2)f(3)h(1\)\))296 914 y(\(\(j)g(k)g(l\))g(\(0)f(0)h(0\)\)\)\))0 +1015 y Fw(The)g(n)o(um)o(b)q(ers)f(of)g(lev)o(els)g(in)g(the)h +(structure)h(m)o(ust)e(equal)g(the)h(rank)f(of)g(the)h(arra)o(y)m(.)0 +1067 y(Eac)o(h)15 b(leaf)f(of)g(the)h(nested)i(structure)f(m)o(ust)e(b) +q(e)h(of)f(the)i(t)o(yp)q(e)f(sp)q(eci\014ed)h(b)o(y)f(the)g +Fs(:type)0 1119 y Fw(option.)i(If)c(the)h Fs(:initial-contents)c +Fw(option)j(is)g(omitted,)f(the)i(initial)d(v)n(alues)i(of)g(the)0 +1171 y(arra)o(y)g(elemen)o(ts)g(are)h(unde\014ned)g(\(unless)g(the)g +Fs(:initial-element)c Fw(or)j Fs(:displaced-)0 1223 y(to)k +Fw(option)f(is)i(used\).)29 b(The)18 b Fs(:initial-contents)c +Fw(option)i(ma)o(y)g(not)h(b)q(e)h(used)g(with)0 1275 +y(the)c Fs(:initial-element)d Fw(or)j Fs(:displaced-to)d +Fw(option.)0 1375 y Fs(:adjustable)0 1438 y Fw(This)i(argumen)o(t,)f +(if)h(sp)q(eci\014ed)i(and)e(not)h Fs(nil)p Fw(,)e(indicates)i(that)f +(it)h(m)o(ust)e(b)q(e)i(p)q(ossible)g(to)0 1490 y(alter)h(the)g(arra)o +(y's)g(size)h(dynamically)11 b(after)16 b(it)e(is)h(created.)22 +b(This)15 b(argumen)o(t)f(defaults)0 1542 y(to)g Fs(nil)p +Fw(.)42 1594 y(X3J13)i(v)o(oted)h(in)g(June)g(1989)f +Ft(h)p Fw(3)p Ft(i)h Fw(to)g(clarify)f(that)h(if)f(this)h(argumen)o(t)f +(is)h(non-)p Fs(nil)-33 1566 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1646 a Fw(then)j(the)f(predicate)i Fs(adjustable-array)o +(-p)16 b Fw(will)i(necessarily)i(b)q(e)g(true)g(when)f(ap-)0 +1698 y(plied)13 b(to)f(the)i(resulting)f(arra)o(y;)g(but)g(if)f(this)h +(argumen)o(t)f(is)h Fs(nil)f Fw(\(or)i(omitted\))d(then)j(the)0 +1750 y(resulting)i(arra)o(y)g(ma)o(y)e(or)i(ma)o(y)f(not)h(b)q(e)g +(adjustable,)g(dep)q(ending)h(on)f(the)h(implem)o(en-)0 +1802 y(tation,)g(and)g(therefore)i Fs(adjustable-array-)o(p)c +Fw(ma)o(y)g(b)q(e)j(corresp)q(ondingly)g(true)g(or)0 +1854 y(false)13 b(of)f(the)i(resulting)f(arra)o(y)m(.)k(Common)10 +b(Lisp)j(pro)o(vides)h(no)f(p)q(ortable)g(w)o(a)o(y)f(to)h(create)0 +1905 y(a)k(non-adjustable)g(arra)o(y)m(,)g(that)h(is,)f(an)h(arra)o(y)f +(for)g(whic)o(h)g Fs(adjustable-array-p)d Fw(is)0 1957 +y(guaran)o(teed)g(to)g(b)q(e)h(false.)-33 1969 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2058 a Fs(:fill-pointer)0 2121 y Fw(This)c(argumen)o(t)f +(sp)q(eci\014es)j(that)e(the)g(arra)o(y)g(should)g(ha)o(v)o(e)g(a)f +(\014ll)g(p)q(oin)o(ter.)18 b(If)10 b(this)h(option)0 +2173 y(is)g(sp)q(eci\014ed)h(and)f(not)g Fs(nil)p Fw(,)g(the)g(arra)o +(y)g(m)o(ust)f(b)q(e)h(one-dimensional.)k(The)d(v)n(alue)e(is)h(used)0 +2225 y(to)f(initialize)e(the)i(\014ll)f(p)q(oin)o(ter)h(for)f(the)h +(arra)o(y)m(.)16 b(If)9 b(the)i(v)n(alue)e Fs(t)g Fw(is)h(sp)q +(eci\014ed,)h(the)g(length)e(of)0 2277 y(the)j(arra)o(y)f(is)g(used;)i +(otherwise)f(the)g(v)n(alue)e(m)o(ust)g(b)q(e)i(an)f(in)o(teger)h(b)q +(et)o(w)o(een)h(0)e(\(inclusiv)o(e\))0 2329 y(and)j(the)g(length)g(of)f +(the)i(arra)o(y)e(\(inclusiv)o(e\).)18 b(This)c(argumen)o(t)f(defaults) +h(to)g Fs(nil)p Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 479 503 +479 502 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(ARRA)m(YS)1191 +b(479)0 295 y Fs(:displaced-to)0 358 y Fw(This)19 b(argumen)o(t,)f(if)g +(sp)q(eci\014ed)i(and)f(not)f Fs(nil)p Fw(,)h(sp)q(eci\014es)i(that)e +(the)g(arra)o(y)f(will)g(b)q(e)h(a)0 410 y Fv(displac)n(e)n(d)12 +b Fw(arra)o(y)m(.)k(The)d(argumen)o(t)d(m)o(ust)h(then)i(b)q(e)f(an)g +(arra)o(y;)f Fs(make-array)f Fw(will)g(create)0 462 y(an)16 +b Fv(indir)n(e)n(ct)f Fw(or)i Fv(shar)n(e)n(d)f Fw(arra)o(y)g(that)g +(shares)i(its)e(con)o(ten)o(ts)h(with)f(the)h(sp)q(eci\014ed)h(arra)o +(y)m(.)0 513 y(In)f(this)h(case)g(the)g Fs(:displaced-index-of)o(fset)c +Fw(option)j(ma)o(y)e(b)q(e)j(useful.)29 b(It)18 b(is)f(an)0 +565 y(error)h(if)f(the)g(arra)o(y)g(giv)o(en)g(as)g(the)h +Fs(:displaced-to)d Fw(argumen)o(t)h(do)q(es)i(not)f(ha)o(v)o(e)g(the)0 +617 y(same)12 b Fs(:element-type)e Fw(as)j(the)g(arra)o(y)g(b)q(eing)g +(created.)19 b(The)13 b Fs(:displaced-to)d Fw(option)0 +669 y(ma)o(y)h(not)h(b)q(e)i(used)f(with)g(the)g Fs(:initial-element)c +Fw(or)k Fs(:initial-contents)c Fw(option.)0 721 y(This)14 +b(argumen)o(t)f(defaults)g(to)h Fs(nil)p Fw(.)0 826 y +Fs(:displaced-index-)o(offse)o(t)0 889 y Fw(This)h(argumen)o(t)e(ma)o +(y)g(b)q(e)i(used)h(only)e(in)g(conjunction)h(with)g(the)g +Fs(displaced-to)d Fw(op-)0 941 y(tion.)18 b(It)d(m)o(ust)e(b)q(e)i(a)f +(non-negativ)o(e)f(in)o(teger)i(\(it)f(defaults)g(to)g(zero\);)h(it)f +(is)g(made)f(to)h(b)q(e)0 993 y(the)g(index-o\013set)h(of)e(the)i +(created)g(shared)g(arra)o(y)m(.)42 1045 y(When)e(an)h(arra)o(y)f(A)h +(is)f(giv)o(en)g(as)h(the)g Fs(:displaced-to)d Fw(argumen)o(t)h(to)i +Fs(make-array)0 1097 y Fw(when)h(creating)g(arra)o(y)g(B,)g(then)g +(arra)o(y)g(B)g(is)f(said)h(to)f(b)q(e)i Fv(displac)n(e)n(d)f +Fw(to)f(arra)o(y)h(A.)f(No)o(w)0 1149 y(the)h(total)e(n)o(um)o(b)q(er)h +(of)g(elemen)o(ts)g(in)f(an)h(arra)o(y)m(,)g(called)g(the)g +Fv(total)h(size)f Fw(of)g(the)h(arra)o(y)m(,)e(is)0 1201 +y(calculated)f(as)g(the)h(pro)q(duct)g(of)e(all)g(the)h(dimensions)f +(\(see)j Fs(array-total-siz)o(e)p Fw(\).)h(It)d(is)0 +1253 y(required)j(that)f(the)h(total)e(size)i(of)f(A)g(b)q(e)h(no)f +(smaller)e(than)i(the)h(sum)e(of)h(the)h(total)e(size)0 +1304 y(of)h(B)g(plus)g(the)h(o\013set)g Fv(n)g Fw(sp)q(eci\014ed)g(b)o +(y)f(the)h Fs(:displaced-index-)o(offse)o(t)c Fw(argumen)o(t.)0 +1356 y(The)i(e\013ect)i(of)d(displacing)g(is)h(that)g(arra)o(y)g(B)g +(do)q(es)h(not)f(ha)o(v)o(e)g(an)o(y)f(elemen)o(ts)h(of)f(its)h(o)o(wn) +0 1408 y(but)19 b(instead)g(maps)f(accesses)j(to)d(itself)h(in)o(to)f +(accesses)j(to)e(arra)o(y)f(A.)h(The)g(mapping)0 1460 +y(treats)d(b)q(oth)f(arra)o(ys)f(as)h(if)f(they)h(w)o(ere)h +(one-dimensional)c(b)o(y)j(taking)e(the)j(elemen)o(ts)e(in)0 +1512 y(ro)o(w-ma)r(jor)9 b(order,)j(and)e(then)i(maps)e(an)g(access)j +(to)e(elemen)o(t)f Fv(k)h Fw(of)g(arra)o(y)f(B)h(to)g(an)g(access)0 +1564 y(to)j(elemen)o(t)f Fv(k)p Fw(+)p Fv(n)i Fw(of)e(arra)o(y)h(A.)42 +1669 y(If)c Fs(make-array)f Fw(is)i(called)g(with)g(eac)o(h)g(of)g(the) +h Fs(:adjustable)p Fw(,)c Fs(:fill-pointer)p Fw(,)h(and)0 +1721 y Fs(:displaced-to)h Fw(argumen)o(ts)i(either)i(unsp)q(eci\014ed)g +(or)f Fs(nil)p Fw(,)f(then)i(the)f(resulting)g(arra)o(y)0 +1772 y(is)h(guaran)o(teed)g(to)g(b)q(e)g(a)g Fv(simple)f +Fw(arra)o(y)h(\(see)h(section)g(2.5\).)42 1825 y(X3J13)24 +b(v)o(oted)i(in)e(June)i(1989)f Ft(h)p Fw(3)p Ft(i)g +Fw(to)g(clarify)f(that)h(if)g(one)g(or)g(more)g(of)f(the)-33 +1796 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1877 a Fs(:adjustable)p Fw(,)14 b Fs(:fill-pointer)p +Fw(,)g(and)i Fs(:displaced-to)e Fw(argumen)o(ts)h(is)i(true,)g(then)0 +1928 y(whether)e(the)g(resulting)f(arra)o(y)f(is)h(simple)e(is)i(unsp)q +(eci\014ed.)-33 1940 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1981 a(Here)h(are)f(some)f(examples)g(of)g(the)i(use)f +(of)g Fs(make-array)p Fw(:)0 2069 y Fs(;;;)21 b(Create)e(a)i +(one-dimensional)e(array)h(of)g(five)h(elements.)0 2121 +y(\(make-array)e(5\))0 2225 y(;;;)i(Create)e(a)i(two-dimensional)e +(array,)g(3)i(by)g(4,)g(with)f(four-bit)g(elements.)0 +2277 y(\(make-array)259 2281 y Fn(')282 2277 y Fs(\(3)h(4\))g +(:element-type)714 2281 y Fn(')737 2277 y Fs(\(mod)g(16\)\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 480 504 +480 503 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(480)77 b(COMMON)13 +b(LISP)0 295 y Fs(;;;)21 b(Create)e(an)i(array)f(of)h(single-floats.)0 +347 y(\(make-array)e(5)i(:element-type)606 351 y Fn(')630 +347 y Fs(single-float\)\))0 450 y(;;;)g(Making)e(a)i(shared)f(array.)0 +502 y(\(setq)g(a)h(\(make-array)432 506 y Fn(')455 502 +y Fs(\(4)g(3\)\)\))0 554 y(\(setq)f(b)h(\(make-array)e(8)i +(:displaced-to)d(a)466 606 y(:displaced-index)o(-offs)o(et)g(2\)\))0 +658 y(;;;)j(Now)f(it)h(is)g(the)f(case)h(that:)169 710 +y(\(aref)g(b)f(0\))h Ft(\021)h Fs(\(aref)e(a)h(0)g(2\))169 +762 y(\(aref)g(b)f(1\))h Ft(\021)h Fs(\(aref)e(a)h(1)g(0\))169 +814 y(\(aref)g(b)f(2\))h Ft(\021)h Fs(\(aref)e(a)h(1)g(1\))169 +866 y(\(aref)g(b)f(3\))h Ft(\021)h Fs(\(aref)e(a)h(1)g(2\))169 +917 y(\(aref)g(b)f(4\))h Ft(\021)h Fs(\(aref)e(a)h(2)g(0\))169 +969 y(\(aref)g(b)f(5\))h Ft(\021)h Fs(\(aref)e(a)h(2)g(1\))169 +1021 y(\(aref)g(b)f(6\))h Ft(\021)h Fs(\(aref)e(a)h(2)g(2\))169 +1073 y(\(aref)g(b)f(7\))h Ft(\021)h Fs(\(aref)e(a)h(3)g(0\))0 +1159 y Fw(The)f(last)f(example)f(dep)q(ends)i(on)f(the)h(fact)f(that)h +(arra)o(ys)f(are,)h(in)f(e\013ect,)j(stored)e(in)0 1211 +y(ro)o(w-ma)r(jor)11 b(order)i(for)f(purp)q(oses)i(of)e(sharing.)18 +b(Put)12 b(another)i(w)o(a)o(y)m(,)d(the)i(indices)g(for)f(the)0 +1263 y(elemen)o(ts)i(of)f(an)h(arra)o(y)f(are)i(ordered)g +(lexicographically)m(.)p 0 1323 V 0 1383 a Fm(Compatibilit)o(y)d(note:) +18 b FA(Both)c(Lisp)g(Mac)o(hine)h(Lisp,)f(as)f(describ)q(ed)j(in)e +(reference)f([55],)g(and)0 1429 y(F)m(ortran)g([15,)g(3])g(store)g +(arra)o(ys)g(in)h(column-ma)r(jor)h(order.)p 0 1466 V +1204 1576 a Fw([)p Fv(Constant)t Fw(])-1395 b Fs(array-rank-limit)0 +1653 y Fw(The)14 b(v)n(alue)f(of)g Fs(array-rank-limit)d +Fw(is)j(a)h(p)q(ositiv)o(e)f(in)o(teger)h(that)f(is)h(the)g(upp)q(er)h +(exclu-)0 1705 y(siv)o(e)f(b)q(ound)g(on)f(the)h(rank)g(of)f(an)g(arra) +o(y)m(.)18 b(This)13 b(b)q(ound)h(dep)q(ends)h(on)f(the)g(implemen)o +(ta-)0 1757 y(tion)c(but)h(will)e(not)h(b)q(e)h(smaller)e(than)i(8;)g +(therefore)h(ev)o(ery)f(Common)d(Lisp)i(implemen)o(ta-)0 +1809 y(tion)g(supp)q(orts)h(arra)o(ys)g(whose)g(rank)f(is)g(b)q(et)o(w) +o(een)i(0)e(and)h(7)f(\(inclusiv)o(e\).)17 b(\(Implemen)o(tors)0 +1861 y(are)f(encouraged)h(to)e(mak)o(e)f(this)i(limit)d(as)i(large)h +(as)f(practicable)h(without)g(sacri\014cing)0 1913 y(p)q(erformance.\)) +1204 2044 y([)p Fv(Constant)t Fw(])-1395 b Fs(array-dimension-l)o(imit) +0 2121 y Fw(The)15 b(v)n(alue)f(of)g Fs(array-dimension-l)o(imit)d +Fw(is)k(a)f(p)q(ositiv)o(e)g(in)o(teger)h(that)g(is)g(the)g(upp)q(er)0 +2173 y(exclusiv)o(e)10 b(b)q(ound)g(on)f(eac)o(h)h(individual)d +(dimension)h(of)h(an)g(arra)o(y)m(.)16 b(This)10 b(b)q(ound)f(dep)q +(ends)0 2225 y(on)19 b(the)h(implemen)o(tation)c(but)k(will)e(not)i(b)q +(e)g(smaller)e(than)i(1024.)34 b(\(Implemen)o(tors)0 +2277 y(are)16 b(encouraged)h(to)e(mak)o(e)f(this)i(limit)d(as)i(large)h +(as)f(practicable)h(without)g(sacri\014cing)0 2329 y(p)q(erformance.\)) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 481 505 +481 504 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(ARRA)m(YS)1191 +b(481)42 295 y Fw(X3J13)20 b(v)o(oted)h(in)g(Jan)o(uary)f(1989)g +Ft(h)p Fw(76)p Ft(i)h Fw(to)g(sp)q(ecify)g(that)g(the)g(v)n(alue)g(of)f +Fs(array-)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(dimension-limit)d Fw(m)o(ust)i(b)q(e)i(of)f(t)o +(yp)q(e)h Fs(fixnum)p Fw(.)36 b(This)20 b(in)g(turn)g(implies)f(that)h +(all)0 399 y(v)n(alid)12 b(arra)o(y)i(indices)g(will)f(b)q(e)h(\014xn)o +(ums.)-33 410 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1204 528 a([)p Fv(Constant)t Fw(])-1395 +b Fs(array-total-size-)o(limit)0 605 y Fw(The)13 b(v)n(alue)f(of)g +Fs(array-total-size-l)o(imit)d Fw(is)k(a)f(p)q(ositiv)o(e)g(in)o(teger) +h(that)g(is)f(the)i(upp)q(er)0 657 y(exclusiv)o(e)19 +b(b)q(ound)f(on)g(the)h(total)e(n)o(um)o(b)q(er)g(of)h(elemen)o(ts)g +(in)g(an)f(arra)o(y)m(.)31 b(This)18 b(b)q(ound)0 709 +y(dep)q(ends)g(on)f(the)g(implemen)o(tation)d(but)j(will)e(not)i(b)q(e) +g(smaller)f(than)g(1024.)26 b(\(Imple-)0 761 y(men)o(tors)18 +b(are)i(encouraged)f(to)g(mak)o(e)e(this)i(limit)d(as)j(large)g(as)g +(practicable)g(without)0 813 y(sacri\014cing)14 b(p)q(erformance.\))42 +865 y(The)k(actual)f(limit)e(on)j(arra)o(y)f(size)i(imp)q(osed)d(b)o(y) +i(the)g(implemen)o(tation)c(ma)o(y)i(v)n(ary)0 917 y(according)c(to)g +(the)g Fs(:element-type)e Fw(of)h(the)h(arra)o(y;)g(in)g(this)g(case)h +(the)f(v)n(alue)g(of)f Fs(array-)0 969 y(total-size-limit)g +Fw(will)h(b)q(e)i(the)h(smallest)e(of)g(these)i(individual)d(limits.) +1209 1098 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(vector)20 +b(&rest)g Fv(obje)n(cts)0 1175 y Fw(The)10 b(function)g +Fs(vector)f Fw(is)h(a)f(con)o(v)o(enien)o(t)i(means)e(for)g(creating)i +(a)e(simple)g(general)h(v)o(ector)0 1227 y(with)k(sp)q(eci\014ed)h +(initial)d(con)o(ten)o(ts.)19 b(It)14 b(is)g(analogous)e(to)i(the)h +(function)e Fs(list)p Fw(.)0 1313 y Fs(\(vector)20 b +Fv(a)195 1319 y Fk(1)235 1313 y Fv(a)256 1319 y Fk(2)296 +1313 y Fs(...)g Fv(a)403 1319 y Fi(n)425 1313 y Fs(\))64 +1365 y Ft(\021)h Fs(\(make-array)e(\(list)h Fv(n)s Fs(\))h +(:element-type)e(t)275 1417 y(:initial-contents)f(\(list)i +Fv(a)818 1423 y Fk(1)858 1417 y Fv(a)879 1423 y Fk(2)919 +1417 y Fs(...)h Fv(a)1027 1423 y Fi(n)1048 1417 y Fs(\)\))0 +1569 y Fo(17.2.)f(Arra)n(y)c(Access)0 1655 y Fw(The)21 +b(function)e Fs(aref)h Fw(is)g(normally)d(used)k(for)f(accessing)h(an)f +(elemen)o(t)g(of)f(an)h(arra)o(y)m(.)0 1707 y(Other)c(access)g +(functions,)e(suc)o(h)i(as)e Fs(svref)p Fw(,)g Fs(char)p +Fw(,)f(and)h Fs(bit)p Fw(,)g(ma)o(y)f(b)q(e)i(more)e(e\016cien)o(t)0 +1759 y(in)g(sp)q(ecialized)i(circumstances.)1209 1889 +y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(aref)20 b Fv(arr)n(ay)25 +b Fs(&rest)20 b Fv(subscripts)0 1965 y Fw(This)10 b(accesses)k(and)c +(returns)i(the)f(elemen)o(t)f(of)g Fv(arr)n(ay)g Fw(sp)q(eci\014ed)i(b) +o(y)f(the)g Fv(subscripts)p Fw(.)16 b(The)0 2017 y(n)o(um)o(b)q(er)9 +b(of)g(subscripts)i(m)o(ust)e(equal)g(the)h(rank)g(of)f(the)h(arra)o(y) +m(,)f(and)h(eac)o(h)g(subscript)h(m)o(ust)0 2069 y(b)q(e)k(a)e +(non-negativ)o(e)h(in)o(teger)g(less)g(than)g(the)h(corresp)q(onding)g +(arra)o(y)e(dimension.)42 2121 y Fs(aref)e Fw(is)i(un)o(usual)f(among)f +(the)i(functions)g(that)f(op)q(erate)i(on)e(arra)o(ys)h(in)f(that)h(it) +f(com-)0 2173 y(pletely)h(ignores)g(\014ll)f(p)q(oin)o(ters.)18 +b Fs(aref)12 b Fw(can)h(access)i(without)d(error)i(an)o(y)e(arra)o(y)h +(elemen)o(t,)0 2225 y(whether)i(activ)o(e)f(or)h(not.)j(The)c(generic)h +(sequence)i(function)c Fs(elt)p Fw(,)g(ho)o(w)o(ev)o(er,)h(observ)o(es) +0 2277 y(the)k(\014ll)e(p)q(oin)o(ter;)i(accessing)g(an)f(elemen)o(t)f +(b)q(ey)o(ond)h(the)h(\014ll)e(p)q(oin)o(ter)h(with)g +Fs(elt)f Fw(is)h(an)0 2329 y(error.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 482 506 +482 505 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(482)77 b(COMMON)13 +b(LISP)42 295 y Fw(Note)k(that)g(this)f(remark,)h(predating)f(the)i +(design)f(of)f(the)h(Common)d(Lisp)i(Ob)r(ject)-33 266 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(System,)d(uses)i(the)f(term)g(\\generic")g(in)f(a) +h(generic)h(sense)g(and)f(not)g(necessarily)h(in)e(the)0 +399 y(tec)o(hnical)h(sense)i(used)e(b)o(y)g(CLOS)g(\(see)h(c)o(hapter)g +(2\).)-33 410 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 450 a Fs(setf)c Fw(ma)o(y)f(b)q(e)i(used)h(with)f +Fs(aref)f Fw(to)h(destructiv)o(ely)h(replace)g(an)f(arra)o(y)g(elemen)o +(t)f(with)0 502 y(a)j(new)g(v)n(alue.)42 554 y(Under)g(some)e +(circumstances)j(it)e(is)g(desirable)h(to)f(write)h(co)q(de)g(that)g +(will)d(extract)k(an)0 606 y(elemen)o(t)f(from)g(an)g(arra)o(y)h +Fs(a)g Fw(giv)o(en)f(a)h(list)f Fs(z)h Fw(of)f(the)i(indices,)f(in)g +(suc)o(h)g(a)g(w)o(a)o(y)f(that)h(the)0 658 y(co)q(de)g(w)o(orks)f +(regardless)h(of)e(the)i(rank)e(of)h(the)g(arra)o(y)m(.)j(This)d(is)g +(easy)g(using)g Fs(apply)p Fw(:)0 744 y Fs(\(apply)20 +b(#)152 740 y(-)152 748 y(-)m Fn(')195 744 y Fs(aref)g(a)h(z\))0 +830 y Fw(\(The)f(length)f(of)g(the)h(list)f(m)o(ust)f(of)h(course)h +(equal)f(the)h(rank)f(of)g(the)h(arra)o(y)m(.\))34 b(This)0 +882 y(construction)15 b(ma)o(y)d(b)q(e)j(used)f(with)g +Fs(setf)f Fw(to)h(alter)g(the)h(elemen)o(t)e(so)h(selected)i(to)e(some) +0 933 y(new)g(v)n(alue)g Fs(w)p Fw(:)0 1019 y Fs(\(setf)20 +b(\(apply)g(#)282 1015 y(-)282 1023 y(-)n Fn(')325 1019 +y Fs(aref)g(a)h(z\))g(w\))1209 1149 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(svref)20 b Fv(simple)p Fs(-)p Fv(ve)n(ctor)25 +b(index)0 1226 y Fw(The)13 b(\014rst)g(argumen)o(t)f(m)o(ust)f(b)q(e)j +(a)e(simple)f(general)i(v)o(ector,)g(that)f(is,)h(an)f(ob)r(ject)h(of)f +(t)o(yp)q(e)0 1278 y Fs(simple-vector)p Fw(.)30 b(The)19 +b(elemen)o(t)f(of)g(the)h Fv(simple-ve)n(ctor)f Fw(sp)q(eci\014ed)i(b)o +(y)f(the)g(in)o(teger)0 1330 y Fv(index)14 b Fw(is)g(returned.)42 +1382 y(The)g Fv(index)g Fw(m)o(ust)f(b)q(e)i(non-negativ)o(e)e(and)h +(less)g(than)g(the)h(length)f(of)f(the)h(v)o(ector.)42 +1434 y Fs(setf)f Fw(ma)o(y)f(b)q(e)j(used)h(with)e Fs(svref)f +Fw(to)h(destructiv)o(ely)i(replace)f(a)f(simple-v)o(ector)g(ele-)0 +1486 y(men)o(t)f(with)g(a)h(new)g(v)n(alue.)42 1538 y +Fs(svref)h Fw(is)h(iden)o(tical)f(to)h Fs(aref)f Fw(except)j(that)e(it) +g(requires)h(its)f(\014rst)h(argumen)o(t)e(to)h(b)q(e)0 +1590 y(a)h(simple)e(v)o(ector.)27 b(In)17 b(some)f(implemen)o(tations)e +(of)i(Common)e(Lisp,)i Fs(svref)g Fw(ma)o(y)f(b)q(e)0 +1642 y(faster)d(than)f Fs(aref)g Fw(in)g(situations)g(where)i(it)e(is)g +(applicable.)16 b(See)d(also)d Fs(schar)h Fw(and)g Fs(sbit)p +Fw(.)0 1794 y Fo(17.3.)20 b(Arra)n(y)c(Information)0 +1880 y Fw(The)h(follo)o(wing)d(functions)j(extract)h(from)c(an)j(arra)o +(y)f(in)o(teresting)h(information)d(other)0 1932 y(than)g(the)g(elemen) +o(ts.)1209 2062 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs +(array-element-typ)o(e)18 b Fv(arr)n(ay)0 2139 y Fs(array-element-typ)o +(e)12 b Fw(returns)17 b(a)e(t)o(yp)q(e)h(sp)q(eci\014er)h(for)e(the)h +(set)g(of)f(ob)r(jects)h(that)g(can)0 2191 y(b)q(e)g(stored)h(in)f(the) +g Fv(arr)n(ay)p Fw(.)23 b(This)16 b(set)g(ma)o(y)e(b)q(e)j(larger)e +(than)h(the)h(set)f(requested)i(when)0 2243 y(the)c(arra)o(y)g(w)o(as)g +(created;)h(for)e(example,)f(the)j(result)g(of)0 2329 +y Fs(\(array-element-ty)o(pe)j(\(make-array)h(5)i(:element-type)1041 +2333 y Fn(')1065 2329 y Fs(\(mod)f(5\)\)\))-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 483 507 +483 506 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(ARRA)m(YS)1191 +b(483)0 295 y Fw(could)15 b(b)q(e)h Fs(\(mod)21 b(5\))p +Fw(,)15 b Fs(\(mod)20 b(8\))p Fw(,)15 b Fs(fixnum)p Fw(,)f +Fs(t)p Fw(,)h(or)h(an)o(y)f(other)h(t)o(yp)q(e)g(of)e(whic)o(h)i +Fs(\(mod)k(5\))0 347 y Fw(is)14 b(a)f(subt)o(yp)q(e.)19 +b(See)c Fs(subtypep)p Fw(.)1209 508 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(array-rank)19 b Fv(arr)n(ay)0 586 y Fw(This)d(returns)i +(the)e(n)o(um)o(b)q(er)g(of)f(dimensions)g(\(axes\))i(of)e +Fv(arr)n(ay)p Fw(.)24 b(This)16 b(will)f(b)q(e)h(a)g(non-)0 +637 y(negativ)o(e)e(in)o(teger.)k(See)d Fs(array-rank-limit)p +Fw(.)p 0 697 V 0 758 a Fm(Compatibilit)o(y)i(note:)26 +b FA(In)18 b(Lisp)g(Mac)o(hine)h(Lisp,)g(this)f(is)g(called)i +Fj(array-#)1164 755 y(-)1164 761 y(-)1181 758 y(-dims)p +FA(.)28 b(This)0 804 y(name)13 b(causes)h(problems)h(in)f(other)f(Lisp) +h(dialects)h(b)q(ecause)f(of)f(the)g Fj(#)1005 801 y(-)1005 +807 y(-)1037 804 y FA(c)o(haracter.)p 0 846 V 1209 987 +a Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(array-dimension)18 +b Fv(arr)n(ay)24 b(axis)p Fs(-)p Fv(numb)n(er)0 1064 +y Fw(The)15 b(length)f(of)g(dimension)f(n)o(um)o(b)q(er)g +Fv(axis-numb)n(er)i Fw(of)e(the)i Fv(arr)n(ay)f Fw(is)g(returned.)21 +b Fv(arr)n(ay)0 1116 y Fw(ma)o(y)13 b(b)q(e)i(an)o(y)f(kind)g(of)g +(arra)o(y)m(,)g(and)g Fv(axis-numb)n(er)h Fw(should)f(b)q(e)i(a)e +(non-negativ)o(e)g(in)o(teger)0 1168 y(less)f(than)g(the)h(rank)e(of)h +Fv(arr)n(ay)p Fw(.)k(If)12 b(the)h Fv(arr)n(ay)g Fw(is)f(a)h(v)o(ector) +g(with)g(a)f(\014ll)g(p)q(oin)o(ter,)h Fs(array-)0 1220 +y(dimension)i Fw(returns)k(the)f(total)f(size)h(of)f(the)h(v)o(ector,)g +(including)e(inactiv)o(e)h(elemen)o(ts,)0 1272 y(not)g(the)g(size)h +(indicated)f(b)o(y)g(the)g(\014ll)f(p)q(oin)o(ter.)27 +b(\(The)18 b(function)e Fs(length)g Fw(will)g(return)0 +1324 y(the)e(size)h(indicated)f(b)o(y)g(the)g(\014ll)f(p)q(oin)o +(ter.\))p 0 1384 V 0 1444 a Fm(Compatibilit)o(y)j(note:)25 +b FA(This)17 b(is)g(similar)i(to)e(the)g(Lisp)g(Mac)o(hine)h(Lisp)g +(function)g Fj(array-)0 1490 y(dimension-)o(n)p FA(,)f(but)i(tak)o(es)g +(its)h(argumen)o(ts)g(in)g(the)f(other)g(order,)i(and)e(is)h +(zero-origin)h(for)0 1536 y(consistency)e(instead)g(of)e(one-origin.)32 +b(In)17 b(Lisp)h(Mac)o(hine)h(Lisp)f Fj(\(array-di)o(men)o(si)o(on-)o +(n)e(0\))0 1581 y FA(returns)e(the)f(length)h(of)f(the)g(arra)o(y)g +(leader.)p 0 1624 V 1209 1764 a Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(array-dimensions)18 b Fv(arr)n(ay)0 1842 +y Fs(array-dimensions)9 b Fw(returns)14 b(a)e(list)g(whose)h(elemen)o +(ts)f(are)h(the)g(dimensions)e(of)h Fv(arr)n(ay)p Fw(.)1209 +2003 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(array-total-size)18 +b Fv(arr)n(ay)0 2081 y Fs(array-total-size)11 b Fw(returns)16 +b(the)e(total)g(n)o(um)o(b)q(er)f(of)h(elemen)o(ts)g(in)g(the)g +Fv(arr)n(ay)p Fw(,)g(calcu-)0 2133 y(lated)g(as)g(the)g(pro)q(duct)h +(of)e(all)g(the)h(dimensions.)0 2225 y Fs(\(array-total-size)k +Fv(x)p Fs(\))64 2277 y Ft(\021)j Fs(\(apply)f(#)269 2273 +y(-)269 2281 y(-)m Fn(')312 2277 y Fs(*)h(\(array-dimensions)c +Fv(x)p Fs(\)\))64 2329 y Ft(\021)k Fs(\(reduce)f(#)291 +2325 y(-)291 2333 y(-)m Fn(')334 2329 y Fs(*)h(\(array-dimension)o(s)d +Fv(x)p Fs(\)\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 484 508 +484 507 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(484)77 b(COMMON)13 +b(LISP)0 295 y Fw(Note)j(that)f(the)h(total)f(size)h(of)e(a)h +(zero-dimensional)f(arra)o(y)h(is)g Fs(1)p Fw(.)22 b(The)16 +b(total)e(size)i(of)f(a)0 347 y(one-dimensional)d(arra)o(y)h(is)h +(calculated)g(without)g(regard)g(for)f(an)o(y)h(\014ll)f(p)q(oin)o +(ter.)1209 520 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs +(array-in-bounds-p)18 b Fv(arr)n(ay)24 b Fs(&rest)c Fv(subscripts)0 +598 y Fw(This)12 b(predicate)h(c)o(hec)o(ks)h(whether)g(the)e +Fv(subscripts)g Fw(are)h(all)e(legal)g(subscripts)j(for)e +Fv(arr)n(ay)p Fw(.)0 650 y(The)i(predicate)g(is)g(true)g(if)e(they)i +(are)g(all)e(legal;)g(otherwise)i(it)f(is)h(false.)j(The)d +Fv(subscripts)0 702 y Fw(m)o(ust)g(b)q(e)h(in)o(tegers.)22 +b(The)16 b(n)o(um)o(b)q(er)e(of)g Fv(subscripts)h Fw(supplied)g(m)o +(ust)e(equal)i(the)g(rank)g(of)0 754 y(the)f(arra)o(y)m(.)k(Lik)o(e)13 +b Fs(aref)p Fw(,)g Fs(array-in-bounds-p)d Fw(ignores)k(\014ll)f(p)q +(oin)o(ters.)1209 928 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(array-row-major-i)o(ndex)18 b Fv(arr)n(ay)24 b Fs(&rest)c +Fv(subscripts)0 1006 y Fw(This)14 b(function)f(tak)o(es)i(an)f(arra)o +(y)f(and)h(v)n(alid)e(subscripts)k(for)e(the)g(arra)o(y)g(and)g +(returns)h(a)0 1057 y(single)e(non-negativ)o(e)g(in)o(teger)i(less)f +(than)f(the)i(total)e(size)h(of)f(the)h(arra)o(y)g(that)f(iden)o +(ti\014es)0 1109 y(the)h(accessed)h(elemen)o(t)e(in)g(the)h(ro)o(w-ma)r +(jor)d(ordering)j(of)e(the)i(elemen)o(ts.)k(The)13 b(n)o(um)o(b)q(er)0 +1161 y(of)g Fv(subscripts)h Fw(supplied)g(m)o(ust)f(equal)h(the)h(rank) +f(of)f(the)i(arra)o(y)m(.)j(Eac)o(h)c(subscript)i(m)o(ust)0 +1213 y(b)q(e)g(a)e(non-negativ)o(e)h(in)o(teger)g(less)h(than)f(the)g +(corresp)q(onding)h(arra)o(y)f(dimension.)k(Lik)o(e)0 +1265 y Fs(aref)p Fw(,)13 b Fs(array-row-major)o(-inde)o(x)e +Fw(ignores)j(\014ll)f(p)q(oin)o(ters.)42 1318 y(A)j(p)q(ossible)g +(de\014nition)g(of)f Fs(array-row-major-ind)o(ex)p Fw(,)e(with)j(no)g +(error)h(c)o(hec)o(king,)0 1370 y(w)o(ould)c(b)q(e)0 +1464 y Fs(\(defun)20 b(array-row-major-i)o(ndex)e(\(a)j(&rest)f +(subscripts\))42 1516 y(\(apply)g(#)194 1512 y(-)194 +1520 y(-)n Fn(')237 1516 y Fs(+)h(\(maplist)f(#)476 1512 +y(-)476 1520 y(-)m Fn(')519 1516 y Fs(\(lambda)f(\(x)i(y\))550 +1568 y(\(*)g(\(car)g(x\))f(\(apply)g(#)940 1564 y(-)940 +1572 y(-)n Fn(')983 1568 y Fs(*)h(\(cdr)f(y\)\)\)\))466 +1620 y(subscripts)466 1672 y(\(array-dimension)o(s)e(a\)\)\)\))0 +1766 y Fw(F)m(or)g(a)h(one-dimensional)d(arra)o(y)m(,)j(the)g(result)g +(of)f Fs(array-row-major-inde)o(x)e Fw(alw)o(a)o(ys)0 +1818 y(equals)e(the)g(supplied)g(subscript.)1209 1992 +y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(row-major-aref)18 +b Fv(arr)n(ay)25 b(index)-33 1963 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2069 a Fw(X3J13)16 b(v)o(oted)g(in)g(Marc)o(h)h(1988)e +Ft(h)p Fw(6)p Ft(i)h Fw(to)g(add)g(the)h(function)f Fs(row-major-aref)p +Fw(.)22 b(This)0 2121 y(allo)o(ws)14 b(an)o(y)h(arra)o(y)f(elemen)o(t)h +(to)g(b)q(e)h(accessed)h(as)f(if)e(the)i(con)o(taining)e(arra)o(y)h(w)o +(ere)h(one-)0 2173 y(dimensional.)27 b(The)18 b Fv(index)g +Fw(m)o(ust)f(b)q(e)h(a)g(non-negativ)o(e)f(in)o(teger)h(less)h(than)e +(the)h(total)0 2225 y(size)f(of)f(the)i Fv(arr)n(ay)p +Fw(.)25 b(It)17 b(indexes)h(in)o(to)e(the)h(arra)o(y)f(as)h(if)f(its)g +(elemen)o(ts)h(w)o(ere)g(arranged)0 2277 y(one-dimensionally)9 +b(in)i(ro)o(w-ma)r(jor)e(order.)18 b(It)12 b(ma)o(y)d(b)q(e)k(understo) +q(o)q(d)f(in)f(terms)h(of)f Fs(aref)0 2329 y Fw(as)j(follo)o(ws:)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 485 509 +485 508 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(ARRA)m(YS)1191 +b(485)0 295 y Fs(\(row-major-aref)18 b Fv(arr)n(ay)j(index)p +Fs(\))g Ft(\021)42 347 y Fs(\(aref)f(\(make-array)f(\(array-total-size) +f(array\)\))423 399 y(:displaced-to)h(array)423 450 y(:element-type)g +(\(array-element-ty)o(pe)f(array\)\))169 502 y(index\))0 +590 y Fw(In)13 b(other)h(w)o(ords,)f(one)h(ma)o(y)d(treat)j(an)f(arra)o +(y)g(as)g(one-dimensional)e(b)o(y)i(creating)g(a)g(new)0 +642 y(one-dimensional)e(arra)o(y)i(that)g(is)g(displaced)g(to)g(the)h +(old)f(one)g(and)g(then)h(accessing)g(the)0 694 y(new)j(arra)o(y)m(.)26 +b(Alternativ)o(ely)m(,)16 b Fs(aref)g Fw(ma)o(y)f(b)q(e)i(understo)q(o) +q(d)h(in)e(terms)h(of)f Fs(row-major-)0 746 y(aref)p +Fw(:)0 834 y Fs(\(aref)k Fv(arr)n(ay)h(i)260 840 y Fk(0)299 +834 y Fv(i)312 840 y Fk(1)352 834 y Fs(...)f Fv(i)451 +840 y Fi(n)p Fl(\000)p Fk(1)515 834 y Fs(\))h Ft(\021)42 +886 y Fs(\(row-major-aref)d(array)381 938 y(\(array-row-major-i)o(ndex) +g(array)i Fv(i)1025 944 y Fk(0)1064 938 y Fv(i)1077 944 +y Fk(1)1117 938 y Fs(...)g Fv(i)1216 944 y Fi(n)p Fl(\000)p +Fk(1)1280 938 y Fs(\))0 1026 y Fw(That)15 b(is,)g(a)g(m)o(ultidim)n +(ensional)d(arra)o(y)j(access)i(is)e(equiv)n(alen)o(t)f(to)h(a)g(ro)o +(w-ma)r(jor)e(access)0 1078 y(using)h(an)f(equiv)n(alen)o(t)g(ro)o +(w-ma)r(jor)f(index.)42 1130 y(Lik)o(e)g Fs(aref)p Fw(,)f +Fs(row-major-aref)f Fw(completely)h(ignores)h(\014ll)g(p)q(oin)o(ters.) +18 b(A)13 b(call)e(to)i Fs(row-)0 1182 y(major-setf)f +Fw(is)i(suitable)f(for)h(use)h(as)e(a)h Fv(plac)n(e)g +Fw(for)g Fs(setf)p Fw(.)42 1234 y(This)d(op)q(eration)g(mak)o(es)f(it)h +(easier)h(to)f(write)g(co)q(de)h(that)g(e\016cien)o(tly)f(pro)q(cesses) +j(arra)o(ys)0 1286 y(of)e(an)o(y)g(rank.)17 b(Supp)q(ose,)c(for)f +(example,)f(that)h(one)h(wishes)g(to)f(set)h(ev)o(ery)g(elemen)o(t)f +(of)g(an)0 1338 y(arra)o(y)i Fs(tennis-scores)d Fw(to)j(zero.)k(One)d +(migh)o(t)d(write)0 1426 y Fs(\(fill)20 b(\(make-array)f +(\(array-total-size)f(tennis-scores\))381 1478 y(:element-type)h +(\(array-element-)o(type)f(tennis-scores\))381 1530 y(:displaced-to)h +(tennis-scores\))127 1582 y(0\))0 1670 y Fw(Unfortunately)m(,)10 +b(this)g(incurs)i(the)f(o)o(v)o(erhead)f(of)g(creating)h(a)f(displaced) +g(arra)o(y)m(,)g(and)h Fs(fill)0 1722 y Fw(cannot)h(b)q(e)h(applied)f +(to)g(m)o(ultidim)o(ensional)d(arra)o(ys.)17 b(Another)c(approac)o(h)g +(w)o(ould)e(b)q(e)i(to)0 1774 y(handle)h(eac)o(h)g(p)q(ossible)g(rank)g +(separately:)0 1862 y Fs(\(ecase)20 b(\(array-rank)f(tennis-scores\))42 +1914 y(\(0)i(\(setf)f(\(aref)g(tennis-scores\))f(0\)\))42 +1966 y(\(1)i(\(dotimes)f(\(i0)g(\(array-dimension)e(tennis-scores)h +(0\)\))148 2017 y(\(setf)h(\(aref)g(tennis-scores)f(i0\))h(0\)\)\))42 +2069 y(\(2)h(\(dotimes)f(\(i0)g(\(array-dimension)e(tennis-scores)h +(0\)\))148 2121 y(\(dotimes)h(\(i1)g(\(array-dimension)e(tennis-scores) +h(1\)\))191 2173 y(\(setf)h(\(aref)g(tennis-scores)e(i0)j(i1\))g +(0\)\)\)\))42 2225 y(...)42 2277 y(\(7)g(\(dotimes)f(\(i0)g +(\(array-dimension)e(tennis-scores)h(0\)\))148 2329 y(\(dotimes)h(\(i1) +g(\(array-dimension)e(tennis-scores)h(1\)\))-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 486 510 +486 509 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(486)77 b(COMMON)13 +b(LISP)191 295 y Fs(\(dotimes)19 b(\(i2)i(\(array-dimensio)o(n)d +(tennis-scores)h(1\)\))233 347 y(\(dotimes)g(\(i3)i(\(array-dimension)d +(tennis-scores)g(1\)\))275 399 y(\(dotimes)i(\(i4)g(\(array-dimension)e +(tennis-scores)h(1\)\))318 450 y(\(dotimes)g(\(i5)i(\(array-dimension)c +(tennis-scores)i(1\)\))360 502 y(\(dotimes)g(\(i6)i(\(array-dimension)d +(tennis-scores)g(1\)\))402 554 y(\(setf)i(\(aref)h(tennis-scores)d(i0)j +(i1)g(i2)f(i3)h(i4)g(i5)g(i6\))529 606 y(0\)\)\)\)\)\)\)\)\))42 +658 y(\))0 743 y Fw(It)13 b(is)g(easy)g(to)g(get)g(tired)h(of)e +(writing)g(suc)o(h)i(co)q(de.)k(F)m(urthermore,)13 b(this)g(approac)o +(h)g(is)g(un-)0 795 y(desirable)e(b)q(ecause)i(some)c(implemen)o +(tations)f(of)i(Common)e(Lisp)i(will)g(in)g(fact)h(correctly)0 +847 y(supp)q(ort)k(arra)o(ys)f(of)f(rank)g(greater)i(than)f(7)g +(\(though)f(no)h(implemen)o(tatio)o(n)d(is)j(required)0 +899 y(to)g(do)f(so\).)19 b(A)14 b(recursiv)o(ely)g(nested)i(lo)q(op)d +(do)q(es)i(the)f(job,)f(but)h(it)g(is)f(still)g(prett)o(y)i(hairy:)0 +985 y Fs(\(labels)42 1037 y(\(\(grok-any-rank)j(\(&rest)i(indices\))106 +1088 y(\(let)g(\(\(d)h(\(-)g(\(array-rank)d(tennis-scores\))h(\(length) +g(indices\)\)\))148 1140 y(\(if)i(\()257 1136 y(U)257 +1144 y(U)300 1140 y(d)f(0\))233 1192 y(\(setf)g(\(apply)g(#)515 +1188 y(-)515 1196 y(-)n Fn(')558 1192 y Fs(row-major-aref)e(indices\))i +(0\))233 1244 y(\(dotimes)f(\(i)i(\(array-dimension)d(tennis-scores)g +(\(-)j(d)g(1\)\)\))275 1296 y(\(apply)f(#)427 1292 y(-)427 +1300 y(-)n Fn(')470 1296 y Fs(grok-any-rank)f(i)i(indices\)\)\)\)\)\)) +42 1348 y(\(grok-any-rank\)\))0 1433 y Fw(Whether)16 +b(this)g(co)q(de)g(is)f(particularly)f(e\016cien)o(t)i(dep)q(ends)h(on) +e(man)o(y)e(implemen)o(tation)0 1485 y(parameters,)g(suc)o(h)g(as)g(ho) +o(w)g Fs(&rest)f Fw(argumen)o(ts)g(are)h(handled)g(and)f(ho)o(w)h(clev) +o(erly)g(calls)0 1537 y(to)h Fs(apply)f Fw(are)h(compiled.)i(Ho)o(w)e +(m)o(uc)o(h)e(easier)j(it)f(is)f(to)h(use)h Fs(row-major-aref)p +Fw(!)0 1623 y Fs(\(dotimes)20 b(\(i)g(\(array-total-size)e +(tennis-scores\)\))42 1675 y(\(setf)i(\(row-major-aref)f(tennis-scores) +f(i\))j(0\)\))0 1760 y Fw(Surely)14 b(this)g(co)q(de)h(is)f(sw)o(eeter) +h(than)f(the)h(honeycom)o(b.)-33 1772 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1889 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(adjustable-array-)o(p)18 b Fv(arr)n(ay)0 1966 y +Fw(This)12 b(predicate)i(is)e(true)h(if)e(the)i(argumen)o(t)e(\(whic)o +(h)i(m)o(ust)e(b)q(e)i(an)f(arra)o(y\))g(is)g(adjustable,)0 +2017 y(and)i(otherwise)h(is)e(false.)42 2069 y(X3J13)h(v)o(oted)h(in)f +(June)i(1989)e Ft(h)p Fw(3)p Ft(i)h Fw(to)f(clarify)g(that)h +Fs(adjustable-array-p)c Fw(is)k(true)-33 2041 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2121 a(of)k(an)f(arra)o(y)h(if)g(and)g(only)f(if)g +Fs(adjust-array)p Fw(,)g(when)h(applied)g(to)g(that)g(arra)o(y)m(,)g +(will)0 2173 y(return)j(the)g(same)e(arra)o(y)m(,)h(that)g(is,)h(an)f +(arra)o(y)f Fs(eq)h Fw(to)g(the)g(original)e(arra)o(y)m(.)39 +b(If)20 b(the)0 2225 y Fs(:adjustable)13 b Fw(argumen)o(t)h(to)h +Fs(make-array)e Fw(is)h(non-)p Fs(nil)h Fw(when)g(an)g(arra)o(y)g(is)g +(created,)0 2277 y(then)20 b Fs(adjustable-array)o(-p)c +Fw(m)o(ust)i(b)q(e)i(true)f(of)g(that)g(arra)o(y)m(.)33 +b(If)18 b(an)h(arra)o(y)g(is)g(cre-)0 2329 y(ated)f(with)f(the)h +Fs(:adjustable)e Fw(argumen)o(t)g Fs(nil)h Fw(\(or)h(omitted\),)f(then) +h Fs(adjustable-)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 487 511 +487 510 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(ARRA)m(YS)1191 +b(487)0 295 y Fs(array-p)10 b Fw(ma)o(y)g(b)q(e)i(true)g(or)g(false)f +(of)g(that)h(arra)o(y)m(,)f(dep)q(ending)h(on)g(the)g(implem)o(en)o +(tation.)0 347 y(X3J13)18 b(further)h(v)o(oted)g(to)f +Fv(de\014ne)h Fw(the)g(terminology)d(\\adjustable)i(arra)o(y")g(to)g +(mean)0 399 y(precisely)e(\\an)e(arra)o(y)g(of)g(whic)o(h)g +Fs(adjustable-array-p)d Fw(is)k(true.")20 b(See)c Fs(make-array)0 +450 y Fw(and)e Fs(adjust-array)p Fw(.)-33 462 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 611 a Fo(17.4.)20 b(F)-5 b(unctions)16 +b(on)f(Arra)n(ys)g(of)g(Bits)0 700 y Fw(The)e(functions)g(describ)q(ed) +i(in)d(this)h(section)h(op)q(erate)g(only)e(on)g(arra)o(ys)h(of)g +(bits,)f(that)h(is,)0 752 y(sp)q(ecialized)i(arra)o(ys)f(whose)g +(elemen)o(ts)g(are)g(all)f Fs(0)g Fw(or)h Fs(1)p Fw(.)1209 +892 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(bit)21 b Fv(bit)p +Fs(-)p Fv(arr)n(ay)i Fs(&rest)d Fv(subscripts)1209 944 +y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(sbit)20 b Fv(simple)p +Fs(-)p Fv(bit)p Fs(-)p Fv(arr)n(ay)j Fs(&rest)e Fv(subscripts)0 +1021 y Fs(bit)d Fw(is)g(exactly)g(lik)o(e)g Fs(aref)f +Fw(but)i(requires)h(an)e(arra)o(y)g(of)g(bits,)h(that)f(is,)h(one)f(of) +g(t)o(yp)q(e)0 1073 y Fs(\(array)i(bit\))p Fw(.)d(The)12 +b(result)i(will)c(alw)o(a)o(ys)i(b)q(e)h Fs(0)f Fw(or)g +Fs(1)p Fw(.)17 b Fs(sbit)12 b Fw(is)g(lik)o(e)g Fs(bit)f +Fw(but)i(addition-)0 1125 y(ally)f(requires)i(that)f(the)h(\014rst)g +(argumen)o(t)e(b)q(e)i(a)f Fv(simple)f Fw(arra)o(y)h(\(see)i(section)e +(2.5\).)k(Note)0 1177 y(that)c Fs(bit)g Fw(and)g Fs(sbit)p +Fw(,)f(unlik)o(e)h Fs(char)g Fw(and)g Fs(schar)p Fw(,)f(allo)o(w)f(the) +j(\014rst)h(argumen)o(t)d(to)h(b)q(e)h(an)0 1229 y(arra)o(y)g(of)f(an)o +(y)g(rank.)42 1281 y Fs(setf)k Fw(ma)o(y)f(b)q(e)j(used)h(with)e +Fs(bit)f Fw(or)i Fs(sbit)e Fw(to)i(destructiv)o(ely)g(replace)g(a)f +(bit-arra)o(y)0 1333 y(elemen)o(t)13 b(with)h(a)g(new)g(v)n(alue.)42 +1385 y Fs(bit)i Fw(and)i Fs(sbit)f Fw(are)h(iden)o(tical)f(to)g +Fs(aref)g Fw(except)i(for)e(the)h(more)f(sp)q(eci\014c)i(t)o(yp)q(e)f +(re-)0 1437 y(quiremen)o(ts)12 b(on)g(the)g(\014rst)h(argumen)o(t.)k +(In)12 b(some)f(implemen)o(tatio)o(ns)f(of)i(Comm)o(on)d(Lisp,)0 +1489 y Fs(bit)16 b Fw(ma)o(y)f(b)q(e)j(faster)f(than)g +Fs(aref)f Fw(in)h(situations)f(where)i(it)f(is)g(applicable,)f(and)h +Fs(sbit)0 1541 y Fw(ma)o(y)12 b(similarly)f(b)q(e)j(faster)h(than)f +Fs(bit)p Fw(.)1209 1681 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(bit-and)20 b Fv(bit)p Fs(-)p Fv(arr)n(ay1)26 b(bit)p +Fs(-)p Fv(arr)n(ay2)g Fs(&optional)19 b Fv(r)n(esult)p +Fs(-)p Fv(bit)p Fs(-)p Fv(arr)n(ay)1209 1733 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(bit-ior)20 b Fv(bit)p +Fs(-)p Fv(arr)n(ay1)26 b(bit)p Fs(-)p Fv(arr)n(ay2)g +Fs(&optional)19 b Fv(r)n(esult)p Fs(-)p Fv(bit)p Fs(-)p +Fv(arr)n(ay)1209 1785 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(bit-xor)20 b Fv(bit)p Fs(-)p Fv(arr)n(ay1)26 b(bit)p +Fs(-)p Fv(arr)n(ay2)g Fs(&optional)19 b Fv(r)n(esult)p +Fs(-)p Fv(bit)p Fs(-)p Fv(arr)n(ay)1209 1837 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(bit-eqv)20 b Fv(bit)p +Fs(-)p Fv(arr)n(ay1)26 b(bit)p Fs(-)p Fv(arr)n(ay2)g +Fs(&optional)19 b Fv(r)n(esult)p Fs(-)p Fv(bit)p Fs(-)p +Fv(arr)n(ay)1209 1888 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(bit-nand)20 b Fv(bit)p Fs(-)p Fv(arr)n(ay1)25 b(bit)p +Fs(-)p Fv(arr)n(ay2)h Fs(&optional)20 b Fv(r)n(esult)p +Fs(-)p Fv(bit)p Fs(-)p Fv(arr)n(ay)1209 1940 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(bit-nor)20 b Fv(bit)p +Fs(-)p Fv(arr)n(ay1)26 b(bit)p Fs(-)p Fv(arr)n(ay2)g +Fs(&optional)19 b Fv(r)n(esult)p Fs(-)p Fv(bit)p Fs(-)p +Fv(arr)n(ay)1209 1992 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(bit-andc1)19 b Fv(bit)p Fs(-)p Fv(arr)n(ay1)26 b(bit)p +Fs(-)p Fv(arr)n(ay2)g Fs(&optional)19 b Fv(r)n(esult)p +Fs(-)p Fv(bit)p Fs(-)p Fv(arr)n(ay)1209 2044 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(bit-andc2)19 b Fv(bit)p +Fs(-)p Fv(arr)n(ay1)26 b(bit)p Fs(-)p Fv(arr)n(ay2)g +Fs(&optional)19 b Fv(r)n(esult)p Fs(-)p Fv(bit)p Fs(-)p +Fv(arr)n(ay)1209 2096 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(bit-orc1)20 b Fv(bit)p Fs(-)p Fv(arr)n(ay1)25 b(bit)p +Fs(-)p Fv(arr)n(ay2)h Fs(&optional)20 b Fv(r)n(esult)p +Fs(-)p Fv(bit)p Fs(-)p Fv(arr)n(ay)1209 2148 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(bit-orc2)20 b Fv(bit)p +Fs(-)p Fv(arr)n(ay1)25 b(bit)p Fs(-)p Fv(arr)n(ay2)h +Fs(&optional)20 b Fv(r)n(esult)p Fs(-)p Fv(bit)p Fs(-)p +Fv(arr)n(ay)0 2225 y Fw(These)d(functions)e(p)q(erform)f(bit-wise)h +(logical)f(op)q(erations)h(on)g(bit-arra)o(ys.)22 b(All)14 +b(of)h(the)0 2277 y(argumen)o(ts)e(to)g(an)o(y)g(of)g(these)j +(functions)d(m)o(ust)g(b)q(e)h(bit-arra)o(ys)f(of)g(the)i(same)d(rank)i +(and)0 2329 y(dimensions.)k(The)d(result)g(is)g(a)f(bit-arra)o(y)f(of)h +(matc)o(hing)f(rank)h(and)g(dimensions,)f(suc)o(h)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 488 512 +488 511 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(488)77 b(COMMON)13 +b(LISP)0 295 y Fw(that)k(an)o(y)g(giv)o(en)g(bit)g(of)g(the)h(result)g +(is)g(pro)q(duced)g(b)o(y)f(op)q(erating)h(on)f(corresp)q(onding)0 +347 y(bits)d(from)e(eac)o(h)i(of)g(the)g(argumen)o(ts.)42 +399 y(If)g(the)h(third)g(argumen)o(t)f(is)h Fs(nil)f +Fw(or)h(omitted,)e(a)i(new)g(arra)o(y)f(is)h(created)h(to)f(con)o(tain) +0 451 y(the)k(result.)34 b(If)18 b(the)i(third)f(argumen)o(t)e(is)i(a)g +(bit-arra)o(y)m(,)f(the)h(result)h(is)f(destructiv)o(ely)0 +503 y(placed)c(in)o(to)f(that)h(arra)o(y)m(.)k(If)c(the)g(third)g +(argumen)o(t)e(is)i Fs(t)p Fw(,)f(then)h(the)h(\014rst)f(argumen)o(t)f +(is)0 554 y(also)f(used)i(as)g(the)f(third)g(argumen)o(t;)f(that)h(is,) +g(the)g(result)h(is)f(placed)h(bac)o(k)f(in)f(the)i(\014rst)0 +606 y(arra)o(y)m(.)42 658 y(The)f(follo)o(wing)e(table)i(indicates)g +(what)g(the)h(result)g(bit)f(is)g(for)g(eac)o(h)h(op)q(eration)f(as)g +(a)0 710 y(function)g(of)f(the)h(t)o(w)o(o)g(corresp)q(onding)h +(argumen)o(t)d(bits.)64 795 y Fv(ar)n(gument1)21 b Fs(0)50 +b(0)f(1)h(1)64 847 y Fv(ar)n(gument2)21 b Fs(0)50 b(1)f(0)h(1)f +Fv(Op)n(er)n(ation)15 b(name)p 0 864 1395 2 v 0 913 a +Fs(bit-and)120 b(0)50 b(0)f(0)h(1)f Fw(and)0 965 y Fs(bit-ior)120 +b(0)50 b(1)f(1)h(1)f Fw(inclusiv)o(e)14 b(or)0 1017 y +Fs(bit-xor)120 b(0)50 b(1)f(1)h(0)f Fw(exclusiv)o(e)15 +b(or)0 1069 y Fs(bit-eqv)120 b(1)50 b(0)f(0)h(1)f Fw(equiv)n(alence)15 +b(\(exclusiv)o(e)f(nor\))0 1121 y Fs(bit-nand)98 b(1)50 +b(1)f(1)h(0)f Fw(not-and)0 1172 y Fs(bit-nor)120 b(1)50 +b(0)f(0)h(0)f Fw(not-or)0 1224 y Fs(bit-andc1)76 b(0)50 +b(1)f(0)h(0)f Fw(and)14 b(complemen)o(t)e(of)h Fv(ar)n(gument1)h +Fw(with)g Fv(ar)n(gument2)0 1276 y Fs(bit-andc2)76 b(0)50 +b(0)f(1)h(0)f Fw(and)14 b Fv(ar)n(gument1)g Fw(with)g(complemen)o(t)e +(of)h Fv(ar)n(gument2)0 1328 y Fs(bit-orc1)98 b(1)50 +b(1)f(0)h(1)f Fw(or)14 b(complemen)o(t)e(of)h Fv(ar)n(gument1)i +Fw(with)e Fv(ar)n(gument2)0 1380 y Fs(bit-orc2)98 b(1)50 +b(0)f(1)h(1)f Fw(or)14 b Fv(ar)n(gument1)h Fw(with)e(complemen)o(t)f +(of)h Fv(ar)n(gument2)p 0 1397 V 0 1462 a Fw(F)m(or)g(example:)0 +1549 y Fs(\(bit-and)20 b(#)196 1545 y(-)196 1553 y(-)217 +1549 y(*1100)g(#)347 1545 y(-)347 1553 y(-)369 1549 y(*1010\))g +Ft(\))h Fs(#)584 1545 y(-)584 1553 y(-)606 1549 y(*1000)0 +1601 y(\(bit-xor)f(#)196 1597 y(-)196 1605 y(-)217 1601 +y(*1100)g(#)347 1597 y(-)347 1605 y(-)369 1601 y(*1010\))g +Ft(\))h Fs(#)584 1597 y(-)584 1605 y(-)606 1601 y(*0110)0 +1653 y(\(bit-andc1)e(#)239 1649 y(-)239 1657 y(-)261 +1653 y(*1100)h(#)391 1649 y(-)391 1657 y(-)413 1653 y(*1010\))g +Ft(\))g Fs(#)627 1649 y(-)627 1657 y(-)649 1653 y(*0100)0 +1741 y Fw(See)15 b Fs(logand)d Fw(and)i(related)h(functions.)1209 +1880 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(bit-not)20 +b Fv(bit)p Fs(-)p Fv(arr)n(ay)j Fs(&optional)d Fv(r)n(esult)p +Fs(-)p Fv(bit)p Fs(-)p Fv(arr)n(ay)0 1957 y Fw(The)d(\014rst)g(argumen) +o(t)f(m)o(ust)f(b)q(e)i(an)g(arra)o(y)f(of)g(bits.)26 +b(A)16 b(bit-arra)o(y)g(of)g(matc)o(hing)f(rank)0 2009 +y(and)e(dimensions)f(is)h(returned)i(that)f(con)o(tains)f(a)g(cop)o(y)g +(of)g(the)h(argumen)o(t)e(with)h(all)f(the)0 2061 y(bits)i(in)o(v)o +(erted.)k(See)d Fs(lognot)p Fw(.)42 2113 y(If)d(the)h(second)h(argumen) +o(t)e(is)g Fs(nil)g Fw(or)h(omitted,)e(a)h(new)h(arra)o(y)g(is)f +(created)j(to)d(con)o(tain)0 2165 y(the)17 b(result.)28 +b(If)16 b(the)h(second)h(argumen)o(t)e(is)g(a)h(bit-arra)o(y)m(,)e(the) +j(result)f(is)g(destructiv)o(ely)0 2217 y(placed)f(in)o(to)f(that)g +(arra)o(y)m(.)22 b(If)16 b(the)g(second)g(argumen)o(t)f(is)g +Fs(t)p Fw(,)g(then)h(the)h(\014rst)f(argumen)o(t)0 2269 +y(is)f(also)f(used)i(as)f(the)h(second)g(argumen)o(t;)e(that)h(is,)f +(the)i(result)g(is)e(placed)i(bac)o(k)f(in)f(the)0 2321 +y(\014rst)h(arra)o(y)m(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 489 513 +489 512 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(ARRA)m(YS)1191 +b(489)0 295 y Fo(17.5.)20 b(Fill)14 b(P)n(oin)n(ters)0 +389 y Fw(Sev)o(eral)e(functions)g(for)f(manipulating)d(a)k +Fv(\014l)r(l)g(p)n(ointer)g Fw(are)g(pro)o(vided)f(in)h(Comm)o(on)d +(Lisp)0 441 y(to)18 b(mak)o(e)f(it)g(easy)i(to)f(incremen)o(tally)f +(\014ll)g(in)h(the)h(con)o(ten)o(ts)g(of)e(a)h(v)o(ector)h(and,)g(more) +0 493 y(generally)m(,)e(to)g(allo)o(w)f(e\016cien)o(t)h(v)n(arying)f +(of)h(the)h(length)f(of)g(a)g(v)o(ector.)29 b(F)m(or)16 +b(example,)0 545 y(a)f(string)h(with)f(a)h(\014ll)e(p)q(oin)o(ter)i +(has)g(most)e(of)h(the)i(c)o(haracteristics)g(of)e(a)g(PL/I)h(v)n +(arying)0 597 y(string.)42 649 y(The)c(\014ll)g(p)q(oin)o(ter)g(is)g(a) +g(non-negativ)o(e)g(in)o(teger)h(no)f(larger)g(than)g(the)h(total)f(n)o +(um)o(b)q(er)f(of)0 701 y(elemen)o(ts)h(in)g(the)g(v)o(ector)h(\(as)g +(returned)g(b)o(y)f Fs(array-dimension)p Fw(\);)d(it)j(is)g(the)h(n)o +(um)o(b)q(er)e(of)0 753 y(\\activ)o(e")j(or)g(\\\014lled-in")f(elemen)o +(ts)h(in)f(the)i(v)o(ector.)20 b(The)15 b(\014ll)e(p)q(oin)o(ter)h +(constitutes)i(the)0 805 y(\\activ)o(e)d(length")g(of)g(the)h(v)o +(ector;)f(all)f(v)o(ector)j(elemen)o(ts)e(whose)h(index)f(is)g(less)h +(than)f(the)0 857 y(\014ll)i(p)q(oin)o(ter)h(are)g(activ)o(e,)g(and)g +(the)g(others)h(are)f(inactiv)o(e.)23 b(Nearly)16 b(all)f(functions)h +(that)0 909 y(op)q(erate)g(on)e(the)i(con)o(ten)o(ts)f(of)g(a)f(v)o +(ector)i(will)d(op)q(erate)j(only)e(on)g(the)i(activ)o(e)e(elemen)o +(ts.)0 961 y(An)21 b(imp)q(ortan)o(t)e(exception)i(is)f +Fs(aref)p Fw(,)h(whic)o(h)g(can)f(b)q(e)i(used)f(to)f(access)j(an)o(y)d +(v)o(ector)0 1013 y(elemen)o(t)14 b(whether)i(in)f(the)g(activ)o(e)g +(region)f(of)g(the)i(v)o(ector)f(or)g(not.)20 b(It)15 +b(is)g(imp)q(ortan)o(t)e(to)0 1065 y(note)h(that)h(v)o(ector)g(elemen)o +(ts)e(not)h(in)g(the)h(activ)o(e)f(region)g(are)g(still)g(considered)h +(part)f(of)0 1116 y(the)g(v)o(ector.)p 0 1176 V 0 1237 +a Fm(Implemen)o(tation)d(note:)17 b FA(An)12 b(implication)j(of)d(this) +h(rule)g(is)f(that)g(v)o(ector)g(elemen)o(ts)h(outside)0 +1283 y(the)g(activ)o(e)h(region)g(ma)o(y)g(not)f(b)q(e)g +(garbage-collected.)p 0 1325 V 42 1434 a Fw(Only)h(v)o(ectors)j +(\(one-dimensional)c(arra)o(ys\))i(ma)o(y)e(ha)o(v)o(e)i(\014ll)g(p)q +(oin)o(ters;)h(m)o(ultidim)n(en-)0 1485 y(sional)9 b(arra)o(ys)i(ma)o +(y)d(not.)17 b(\(Note,)11 b(ho)o(w)o(ev)o(er,)g(that)f(one)g(can)h +(create)g(a)f(m)o(ultidim)o(ensional)0 1537 y(arra)o(y)k(that)g(is)f +Fv(displac)n(e)n(d)h Fw(to)g(a)g(v)o(ector)g(that)g(has)g(a)g(\014ll)f +(p)q(oin)o(ter.\))1209 1699 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(array-has-fill-po)o(inter)o(-p)18 b Fv(arr)n(ay)0 +1777 y Fw(The)g(argumen)o(t)f(m)o(ust)g(b)q(e)i(an)f(arra)o(y)m(.)29 +b Fs(array-has-fill-poin)o(ter-p)14 b Fw(returns)20 b +Fs(t)e Fw(if)0 1829 y(the)13 b(arra)o(y)e(has)h(a)g(\014ll)f(p)q(oin)o +(ter,)h(and)g(otherwise)h(returns)h Fs(nil)p Fw(.)i(Note)d(that)f +Fs(array-has-)0 1881 y(fill-pointer-p)f Fw(alw)o(a)o(ys)i(returns)i +Fs(nil)e Fw(if)g(the)i Fv(arr)n(ay)e Fw(is)h(not)g(one-dimensional.) +1209 2043 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(fill-pointer)19 +b Fv(ve)n(ctor)0 2120 y Fw(The)13 b(\014ll)f(p)q(oin)o(ter)h(of)g +Fv(ve)n(ctor)f Fw(is)h(returned.)19 b(It)13 b(is)g(an)g(error)g(if)f +(the)i Fv(ve)n(ctor)e Fw(do)q(es)i(not)f(ha)o(v)o(e)0 +2172 y(a)h(\014ll)f(p)q(oin)o(ter.)42 2225 y Fs(setf)e +Fw(ma)o(y)f(b)q(e)i(used)h(with)e Fs(fill-pointer)f Fw(to)i(c)o(hange)g +(the)g(\014ll)f(p)q(oin)o(ter)h(of)g(a)f(v)o(ector.)0 +2277 y(The)16 b(\014ll)f(p)q(oin)o(ter)h(of)f(a)h(v)o(ector)g(m)o(ust)f +(alw)o(a)o(ys)g(b)q(e)h(an)g(in)o(teger)g(b)q(et)o(w)o(een)h(zero)g +(and)e(the)0 2329 y(size)g(of)e(the)h(v)o(ector)h(\(inclusiv)o(e\).)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 490 514 +490 513 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(490)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(vector-push)19 b Fv(new)p Fs(-)p Fv(element)25 b(ve)n(ctor)0 +372 y(ve)n(ctor)9 b Fw(m)o(ust)g(b)q(e)h(a)f(one-dimensional)e(arra)o +(y)i(that)h(has)g(a)f(\014ll)f(p)q(oin)o(ter,)j(and)e +Fv(new-element)0 424 y Fw(ma)o(y)15 b(b)q(e)j(an)o(y)f(ob)r(ject.)29 +b Fs(vector-push)16 b Fw(attempts)g(to)i(store)g Fv(new-element)f +Fw(in)g(the)h(el-)0 476 y(emen)o(t)h(of)g(the)h(v)o(ector)g(designated) +g(b)o(y)f(the)h(\014ll)e(p)q(oin)o(ter,)j(and)e(to)g(increase)i(the)f +(\014ll)0 528 y(p)q(oin)o(ter)c(b)o(y)g(1.)25 b(If)16 +b(the)h(\014ll)e(p)q(oin)o(ter)h(do)q(es)h(not)f(designate)h(an)f +(elemen)o(t)g(of)f(the)i(v)o(ector)0 580 y(\(sp)q(eci\014cally)m(,)d +(when)h(it)g(gets)g(to)q(o)f(big\),)g(it)h(is)f(una\013ected)i(and)f +Fs(vector-push)d Fw(returns)0 631 y Fs(nil)p Fw(.)17 +b(Otherwise,)c(the)g(store)g(and)f(incremen)o(t)g(tak)o(e)h(place)f +(and)g Fs(vector-push)e Fw(returns)0 683 y(the)i Fv(former)f +Fw(v)n(alue)h(of)f(the)h(\014ll)f(p)q(oin)o(ter)h(\(1)g(less)h(than)e +(the)i(one)f(it)f(lea)o(v)o(es)h(in)g(the)g(v)o(ector\);)0 +735 y(th)o(us)i(the)h(v)n(alue)e(of)g Fs(vector-push)f +Fw(is)i(the)g(index)g(of)f(the)i(new)f(elemen)o(t)f(pushed.)42 +788 y(It)i(is)g(instructiv)o(e)h(to)f(compare)g Fs(vector-push)p +Fw(,)e(whic)o(h)i(is)g(a)g(function,)g(with)g Fs(push)p +Fw(,)-33 759 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 839 a(whic)o(h)f(is)h(a)f(macro)f(that)i(requires)h(a)e +Fv(plac)n(e)h Fw(suitable)f(for)g Fs(setf)p Fw(.)19 b(A)c(v)o(ector)g +(with)f(a)h(\014ll)0 891 y(p)q(oin)o(ter)e(e\013ectiv)o(ely)g(con)o +(tains)f(the)h(place)f(to)h(b)q(e)g(mo)q(di\014ed)d(in)i(its)h +Fs(fill-pointer)c Fw(slot.)-33 903 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1040 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(vector-push-exten)o(d)18 b Fv(new)p Fs(-)p Fv(element)25 +b(ve)n(ctor)h Fs(&optional)42 1092 y Fv(extension)0 1169 +y Fs(vector-push-exten)o(d)13 b Fw(is)i(just)h(lik)o(e)f +Fs(vector-push)e Fw(except)k(that)e(if)g(the)h(\014ll)f(p)q(oin)o(ter)0 +1221 y(gets)j(to)q(o)g(large,)g(the)h(v)o(ector)f(is)g(extended)h +(\(using)f Fs(adjust-array)p Fw(\))d(so)j(that)g(it)g(can)0 +1273 y(con)o(tain)10 b(more)f(elemen)o(ts.)17 b(If,)10 +b(ho)o(w)o(ev)o(er,)h(the)g(v)o(ector)g(is)f(not)g(adjustable,)g(then)h +Fs(vector-)0 1325 y(push-extend)h Fw(signals)h(an)g(error.)42 +1377 y(X3J13)f(v)o(oted)i(in)f(June)h(1989)e Ft(h)p Fw(3)p +Ft(i)h Fw(to)h(clarify)e(that)h Fs(vector-push-extend)d +Fw(regards)-33 1349 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1429 a(an)j(arra)o(y)g(as)g(not)g(adjustable)g(if)g(and) +g(only)f(if)h Fs(adjustable-arra)o(y-p)d Fw(is)j(false)g(of)g(that)0 +1481 y(arra)o(y)m(.)-33 1492 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1533 a(The)i(optional)e(argumen)o(t)h +Fv(extension)p Fw(,)i(whic)o(h)e(m)o(ust)g(b)q(e)i(a)f(p)q(ositiv)o(e)f +(in)o(teger,)h(is)g(the)0 1585 y(minim)n(um)6 b(n)o(um)o(b)q(er)k(of)g +(elemen)o(ts)g(to)g(b)q(e)h(added)g(to)f(the)h(v)o(ector)h(if)d(it)h(m) +o(ust)g(b)q(e)h(extended;)0 1637 y(it)j(defaults)f(to)h(a)g +(\\reasonable")g(implem)o(en)o(tation-dep)q(enden)o(t)f(v)n(alue.)1209 +1785 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(vector-pop)19 +b Fv(ve)n(ctor)0 1863 y(ve)n(ctor)9 b Fw(m)o(ust)g(b)q(e)i(a)e +(one-dimensional)f(arra)o(y)h(that)h(has)g(a)g(\014ll)f(p)q(oin)o(ter.) +17 b(If)9 b(the)i(\014ll)e(p)q(oin)o(ter)0 1914 y(is)16 +b(zero,)g Fs(vector-pop)e Fw(signals)h(an)h(error.)25 +b(Otherwise)17 b(the)g(\014ll)e(p)q(oin)o(ter)h(is)f(decreased)0 +1966 y(b)o(y)e(1,)f(and)g(the)i(v)o(ector)f(elemen)o(t)g(designated)g +(b)o(y)g(the)g(new)g(v)n(alue)f(of)h(the)g(\014ll)f(p)q(oin)o(ter)h(is) +0 2018 y(returned.)0 2186 y Fo(17.6.)20 b(Changing)c(the)e(Dimensions)f +(of)i(an)h(Arra)n(y)0 2277 y Fw(This)10 b(function)g(ma)o(y)f(b)q(e)h +(used)i(to)e(resize)i(or)e(reshap)q(e)i(an)e(arra)o(y)m(.)16 +b(Its)11 b(options)e(are)i(similar)0 2329 y(to)j(those)g(of)g +Fs(make-array)p Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 491 515 +491 514 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(ARRA)m(YS)1191 +b(491)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b +Fs(adjust-array)19 b Fv(arr)n(ay)24 b(new)p Fs(-)p Fv(dimensions)h +Fs(&key)20 b(:element-type)283 347 y(:initial-element)e +(:initial-conten)o(ts)g(:fill-pointer)283 399 y(:displaced-to)g +(:displaced-index-o)o(ffset)0 479 y(adjust-array)11 b +Fw(tak)o(es)j(an)g(arra)o(y)g(and)f(a)h(n)o(um)o(b)q(er)f(of)g(other)h +(argumen)o(ts)f(as)h(for)g Fs(make-)0 531 y(array)p Fw(.)27 +b(The)17 b(n)o(um)o(b)q(er)g(of)f(dimensions)g(sp)q(eci\014ed)j(b)o(y)d +Fv(new-dimensions)i Fw(m)o(ust)e(equal)0 583 y(the)e(rank)g(of)g +Fv(arr)n(ay)p Fw(.)42 638 y Fs(adjust-array)f Fw(returns)k(an)f(arra)o +(y)f(of)g(the)i(same)d(t)o(yp)q(e)j(and)e(rank)h(as)g +Fv(arr)n(ay)p Fw(,)f(with)0 690 y(the)g(sp)q(eci\014ed)g +Fv(new-dimensions)p Fw(.)k(In)14 b(e\013ect,)h(the)g +Fv(arr)n(ay)f Fw(argumen)o(t)e(itself)i(is)g(mo)q(di\014ed)0 +742 y(to)20 b(conform)f(to)h(the)h(new)g(sp)q(eci\014cations,)i(but)d +(this)h(ma)o(y)d(b)q(e)j(ac)o(hiev)o(ed)g(either)g(b)o(y)0 +794 y(mo)q(difying)d(the)j Fv(arr)n(ay)f Fw(or)g(b)o(y)h(creating)g(a)f +(new)h(arra)o(y)f(and)h(mo)q(difying)c(the)k Fv(arr)n(ay)0 +846 y Fw(argumen)o(t)13 b(to)g(b)q(e)i Fv(displac)n(e)n(d)f +Fw(to)g(the)g(new)h(arra)o(y)m(.)42 902 y(In)j(the)g(simplest)f(case,)j +(one)e(sp)q(eci\014es)i(only)d(the)i Fv(new-dimensions)f +Fw(and)g(p)q(ossibly)0 954 y(an)g Fs(:initial-element)c +Fw(argumen)o(t.)30 b(Those)18 b(elemen)o(ts)g(of)f Fv(arr)n(ay)h +Fw(that)g(are)g(still)f(in)0 1005 y(b)q(ounds)i(app)q(ear)g(in)g(the)g +(new)g(arra)o(y)m(.)32 b(The)20 b(elemen)o(ts)e(of)g(the)i(new)f(arra)o +(y)f(that)h(are)0 1057 y(not)e(in)f(the)i(b)q(ounds)f(of)g +Fv(arr)n(ay)f Fw(are)h(initialized)f(to)g(the)i Fs(:initial-element)p +Fw(;)d(if)h(this)0 1109 y(argumen)o(t)f(is)h(not)f(pro)o(vided,)h(then) +h(the)f(initial)e(con)o(ten)o(ts)j(of)f(an)o(y)f(new)i(elemen)o(ts)e +(are)0 1161 y(unde\014ned.)42 1217 y(If)f Fs(:element-type)e +Fw(is)j(sp)q(eci\014ed,)h(then)g Fv(arr)n(ay)e Fw(m)o(ust)g(b)q(e)i +(suc)o(h)g(that)f(it)f(could)h(ha)o(v)o(e)0 1269 y(b)q(een)h +(originally)d(created)k(with)e(that)g(t)o(yp)q(e;)h(otherwise)h(an)e +(error)h(is)f(signaled.)22 b(Sp)q(ec-)0 1320 y(ifying)14 +b Fs(:element-type)e Fw(to)k Fs(adjust-array)c Fw(serv)o(es)17 +b(only)e(to)g(require)i(suc)o(h)f(an)f(error)0 1372 y(c)o(hec)o(k.)42 +1428 y(If)e Fs(:initial-contents)d Fw(or)k Fs(:displaced-to)e +Fw(is)h(sp)q(eci\014ed,)i(then)g(it)f(is)f(treated)j(as)0 +1480 y(for)c Fs(make-array)p Fw(.)k(In)d(this)f(case)i(none)f(of)f(the) +i(original)d(con)o(ten)o(ts)i(of)f Fv(arr)n(ay)h Fw(app)q(ears)g(in)0 +1532 y(the)h(new)h(arra)o(y)m(.)42 1587 y(If)e Fs(:fill-pointer)e +Fw(is)i(sp)q(eci\014ed,)i(the)f(\014ll)f(p)q(oin)o(ter)g(of)g(the)i +Fv(arr)n(ay)e Fw(is)g(reset)i(as)f(sp)q(eci-)0 1639 y(\014ed.)19 +b(An)14 b(error)g(is)g(signaled)g(if)f Fv(arr)n(ay)g +Fw(had)h(no)f(\014ll)g(p)q(oin)o(ter)h(already)m(.)42 +1695 y(X3J13)9 b(v)o(oted)i(in)e(June)j(1988)d Ft(h)p +Fw(2)p Ft(i)h Fw(to)g(clarify)f(the)i(treatmen)o(t)f(of)g(the)g +Fs(:fill-pointer)-33 1667 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1747 a Fw(argumen)o(t)j(as)h(follo)o(ws.)42 +1802 y(If)e(the)i Fs(:fill-pointer)d Fw(argumen)o(t)h(is)h(not)g +(supplied,)g(then)h(the)g(\014ll)e(p)q(oin)o(ter)h(of)g(the)0 +1854 y Fv(arr)n(ay)f Fw(is)h(left)g(alone.)k(It)c(is)g(an)g(error)h(to) +f(try)g(to)g(adjust)g(the)h Fv(arr)n(ay)e Fw(to)h(a)g(total)f(size)i +(that)0 1906 y(is)g(smaller)e(than)i(its)g(\014ll)f(p)q(oin)o(ter.)42 +1962 y(If)i(the)h Fs(:fill-pointer)c Fw(argumen)o(t)j(is)g(supplied,)g +(then)h(its)g(v)n(alue)e(m)o(ust)h(b)q(e)h(either)0 2014 +y(an)g(in)o(teger,)g Fs(t)p Fw(,)g(or)f Fs(nil)p Fw(.)24 +b(If)15 b(it)g(is)h(an)g(in)o(teger,)g(then)h(it)e(is)h(the)g(new)h(v)n +(alue)e(for)g(the)i(\014ll)0 2066 y(p)q(oin)o(ter;)g(it)e(m)o(ust)g(b)q +(e)i(non-negativ)o(e)e(and)h(no)g(greater)h(than)e(the)i(new)f(size)h +(to)f(whic)o(h)0 2117 y(the)f Fv(arr)n(ay)f Fw(is)g(b)q(eing)h +(adjusted.)20 b(If)14 b(it)g(is)h Fs(t)p Fw(,)e(then)j(the)f(\014ll)e +(p)q(oin)o(ter)i(is)f(set)i(equal)e(to)g(the)0 2169 y(new)i(size)g(for) +f(the)h Fv(arr)n(ay)p Fw(.)22 b(If)15 b(it)g(is)g Fs(nil)p +Fw(,)g(then)h(the)g(\014ll)e(p)q(oin)o(ter)i(is)f(left)g(alone;)g(it)g +(is)h(as)0 2221 y(if)e(the)h(argumen)o(t)e(had)h(not)h(b)q(een)g +(supplied.)20 b(Again,)13 b(it)h(is)h(an)f(error)h(to)g(try)f(to)h +(adjust)0 2273 y(the)f Fv(arr)n(ay)g Fw(to)g(a)f(total)g(size)i(that)f +(is)g(smaller)e(than)i(its)g(\014ll)f(p)q(oin)o(ter.)42 +2329 y(An)h(error)h(is)e(signaled)h(if)f(a)h(non-)p Fs(nil)f +(:fill-pointer)e Fw(v)n(alue)i(is)h(supplied)g(and)g(the)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 492 516 +492 515 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(492)77 b(COMMON)13 +b(LISP)0 295 y Fv(arr)n(ay)g Fw(to)h(b)q(e)h(adjusted)f(do)q(es)h(not)e +(already)h(ha)o(v)o(e)g(a)f(\014ll)g(p)q(oin)o(ter.)42 +347 y(This)d(extended)j(treatmen)o(t)d(of)g(the)i Fs(:fill-pointer)c +Fw(argumen)o(t)i(to)g Fs(adjust-array)0 399 y Fw(is)19 +b(consisten)o(t)h(with)f(the)h(previously)f(existing)f(treatmen)o(t)h +(of)g(the)g Fs(:fill-pointer)0 451 y Fw(argumen)o(t)13 +b(to)g Fs(make-array)p Fw(.)-33 463 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 503 a Fs(adjust-array)e Fw(ma)o(y)m(,)h(dep)q(ending)i +(on)h(the)f(implemen)o(tation)d(and)j(the)h(argumen)o(ts,)0 +555 y(simply)10 b(alter)i(the)h(giv)o(en)e(arra)o(y)h(or)g(create)h +(and)f(return)h(a)f(new)g(one.)18 b(In)12 b(the)h(latter)f(case)0 +607 y(the)g(giv)o(en)f(arra)o(y)h(will)e(b)q(e)i(altered)h(so)e(as)h +(to)g(b)q(e)g(displaced)g(to)g(the)g(new)g(arra)o(y)f(and)h(ha)o(v)o(e) +0 659 y(the)i(giv)o(en)g(new)g(dimensions.)42 711 y(It)f(is)h(not)g(p)q +(ermitted)f(to)h(call)f Fs(adjust-array)e Fw(on)j(an)f(arra)o(y)h(that) +g(w)o(as)f(not)h(created)-38 686 y Fk(.)-38 699 y(.)-38 +712 y(.)-38 725 y(.)-38 738 y(.)-38 751 y(.)-38 764 y(.)-38 +777 y(.)-38 790 y(.)-38 803 y(.)-38 816 y(.)-38 829 y(.)-38 +842 y(.)-38 855 y(.)-38 868 y(.)-38 881 y(.)-38 894 y(.)-38 +907 y(.)-38 920 y(.)-38 933 y(.)-38 946 y(.)-38 959 y(.)-38 +972 y(.)-38 985 y(.)-38 998 y(.)-38 1011 y(.)-38 1024 +y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 1075 y(.)-38 +1088 y(.)-38 1101 y(.)-38 1114 y(.)-38 1127 y(.)-38 1140 +y(.)-38 1153 y(.)-38 1166 y(.)-38 1179 y(.)-38 1192 y(.)-38 +1205 y(.)-38 1218 y(.)-38 1231 y(.)-38 1244 y(.)-38 1257 +y(.)-38 1270 y(.)-38 1283 y(.)-38 1296 y(.)-38 1309 y(.)-38 +1322 y(.)-38 1335 y(.)-38 1348 y(.)-38 1361 y(.)-38 1374 +y(.)-38 1387 y(.)-38 1400 y(.)-38 1413 y(.)-38 1426 y(.)-38 +1439 y(.)-38 1452 y(.)-38 1465 y(.)-38 1478 y(.)-38 1491 +y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 1542 y(.)-38 +1555 y(.)-38 1568 y(.)-38 1581 y(.)-38 1594 y(.)-38 1607 +y(.)-38 1620 y(.)-38 1633 y(.)-38 1646 y(.)-38 1659 y(.)-38 +1672 y(.)-38 1685 y(.)-38 1698 y(.)-38 1711 y(.)-38 1724 +y(.)-38 1737 y(.)-38 1750 y(.)-38 1763 y(.)-38 1776 y(.)-38 +1789 y(.)-38 1802 y(.)-38 1815 y(.)-38 1828 y(.)-38 1841 +y(.)-38 1854 y(.)-38 1867 y(.)-38 1880 y(.)-38 1893 y(.)-38 +1906 y(.)-38 1919 y(.)-38 1932 y(.)-38 1945 y(.)-38 1958 +y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 2009 y(.)-38 +2022 y(.)-38 2035 y(.)-38 2048 y(.)-38 2061 y(.)-38 2074 +y(.)-38 2087 y(.)-38 2100 y(.)-38 2113 y(.)-38 2126 y(.)-38 +2139 y(.)-38 2152 y(.)-38 2165 y(.)-38 2178 y(.)-38 2191 +y(.)-38 2204 y(.)-38 2217 y(.)-38 2230 y(.)-38 2243 y(.)-38 +2256 y(.)-38 2269 y(.)-38 2282 y(.)-38 2295 y(.)-38 2308 +y(.)-38 2321 y(.)-38 2334 y(.)-38 2347 y(.)-38 2360 y(.)-38 +2373 y(.)-38 2386 y(.)-38 2399 y(.)-38 2412 y(.)-38 2425 +y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 2476 y(.)-38 +2489 y(.)-38 2502 y(.)-38 2515 y(.)-38 2528 y(.)-38 2541 +y(.)-38 2554 y(.)-38 2567 y(.)-38 2580 y(.)-38 2593 y(.)-38 +2606 y(.)-38 2619 y(.)-38 2632 y(.)-38 2645 y(.)-38 2658 +y(.)-38 2671 y(.)-38 2684 y(.)-38 2697 y(.)-38 2710 y(.)-38 +2723 y(.)-38 2736 y(.)-38 2749 y(.)-38 2762 y(.)-38 2775 +y(.)-38 2788 y(.)-38 2801 y(.)-38 2814 y(.)-38 2827 y(.)-38 +2840 y(.)-38 2853 y(.)-38 2866 y(.)-38 2879 y(.)-38 2892 +y(.)-38 2905 y(.)-38 2918 y(.)-38 2931 y(.)-38 2943 y(.)-38 +2956 y(.)-38 2969 y(.)-38 2982 y(.)-38 2995 y(.)-38 3008 +y(.)-38 3021 y(.)-38 3034 y(.)-38 3047 y(.)-38 3060 y(.)-38 +3073 y(.)-38 3086 y(.)-38 3099 y(.)-38 3112 y(.)-38 3125 +y(.)-38 3138 y(.)-38 3151 y(.)-38 3164 y(.)-38 3177 y(.)-38 +3190 y(.)-38 3203 y(.)-38 3216 y(.)-38 3229 y(.)-38 3242 +y(.)-38 3255 y(.)-38 3268 y(.)0 763 y Fw(with)i(the)h +Fs(:adjustable)d Fw(option.)25 b(The)17 b(predicate)h +Fs(adjustable-array-)o(p)c Fw(ma)o(y)g(b)q(e)0 815 y(used)h(to)f +(determine)f(whether)j(or)d(not)h(an)g(arra)o(y)g(is)f(adjustable.)-33 +827 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 868 a(X3J13)h(v)o(oted)i(in)f(Jan)o(uary)g(1989)f +Ft(h)p Fw(3)p Ft(i)i Fw(to)f(allo)o(w)e Fs(adjust-array)g +Fw(to)i(b)q(e)h(applied)f(to)-33 839 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 919 a(an)o(y)d(arra)o(y)m(.)17 b(If)c +Fs(adjust-array)d Fw(is)j(applied)g(to)f(an)h(arra)o(y)g(that)g(w)o(as) +g(originally)d(created)0 971 y(with)16 b Fs(:adjustable)d +Fw(true,)k(the)f(arra)o(y)g(returned)i(is)d Fs(eq)h Fw(to)f(its)h +(\014rst)h(argumen)o(t.)23 b(It)16 b(is)0 1023 y(not)c(sp)q(eci\014ed)j +(whether)f Fs(adjust-array)c Fw(returns)k(an)e(arra)o(y)g +Fs(eq)g Fw(to)h(its)f(\014rst)i(argumen)o(t)0 1075 y(for)g(an)o(y)g +(other)i(arra)o(ys.)k(If)14 b(the)i(arra)o(y)e(returned)i(b)o(y)f +Fs(adjust-array)d Fw(is)i(not)h Fs(eq)f Fw(to)h(its)0 +1127 y(\014rst)k(argumen)o(t,)e(the)i(original)d(arra)o(y)i(is)g(unc)o +(hanged)h(and)f(do)q(es)g(not)g(share)h(storage)0 1179 +y(with)14 b(the)g(new)g(arra)o(y)m(.)42 1231 y(Under)19 +b(this)f(new)h(de\014nition,)f(it)g(is)g(wise)h(to)f(treat)h +Fs(adjust-array)d Fw(in)i(the)h(same)0 1283 y(manner)12 +b(as)h Fs(delete)e Fw(and)i Fs(nconc)p Fw(:)j(one)d(should)g(carefully) +f(retain)h(the)g(returned)i(v)n(alue,)0 1335 y(for)f(example)e(b)o(y)i +(writing)0 1425 y Fs(\(setq)20 b(my-array)g(\(adjust-array)e(my-array)i +(...\)\))0 1515 y Fw(rather)15 b(than)f(relying)f(solely)g(on)h(a)g +(side)g(e\013ect.)-33 1526 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1567 a(If)d Fs(adjust-array)f Fw(is)i(applied)f(to)h +(an)g Fv(arr)n(ay)g Fw(that)g(is)g(displaced)h(to)f(another)g(arra)o(y) +g Fv(x)p Fw(,)0 1619 y(then)j(afterw)o(ards)f(neither)h +Fv(arr)n(ay)f Fw(nor)g(the)h(returned)h(result)e(is)g(displaced)h(to)f +Fv(x)g Fw(unless)0 1671 y(suc)o(h)h(displacemen)o(t)e(is)h(explicitly)e +(re-sp)q(eci\014ed)k(in)e(the)g(call)f(to)h Fs(adjust-array)p +Fw(.)42 1723 y(F)m(or)f(example,)f(supp)q(ose)j(that)f(the)h(4-b)o(y-4) +e(arra)o(y)g Fs(m)h Fw(lo)q(oks)f(lik)o(e)g(this:)0 1814 +y Fs(#)0 1810 y(-)0 1818 y(-)22 1814 y(2A\()20 b(\()h(alpha)105 +b(beta)126 b(gamma)105 b(delta)20 b(\))106 1865 y(\()h(epsilon)62 +b(zeta)126 b(eta)148 b(theta)20 b(\))106 1917 y(\()h(iota)126 +b(kappa)105 b(lambda)83 b(mu)i(\))106 1969 y(\()21 b(nu)169 +b(xi)g(omicron)62 b(pi)84 b(\))21 b(\))0 2059 y Fw(Then)14 +b(the)h(result)g(of)0 2149 y Fs(\(adjust-array)j(m)345 +2153 y Fn(')369 2149 y Fs(\(3)i(5\))h(:initial-element)866 +2153 y Fn(')889 2149 y Fs(baz\))0 2239 y Fw(is)14 b(a)f(3-b)o(y-5)g +(arra)o(y)h(with)f(con)o(ten)o(ts)0 2329 y Fs(#)0 2325 +y(-)0 2333 y(-)22 2329 y(2A\()20 b(\()h(alpha)105 b(beta)126 +b(gamma)105 b(delta)g(baz)21 b(\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 493 517 +493 516 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(ARRA)m(YS)1191 +b(493)106 295 y Fs(\()21 b(epsilon)62 b(zeta)126 b(eta)148 +b(theta)104 b(baz)21 b(\))106 347 y(\()g(iota)126 b(kappa)105 +b(lambda)83 b(mu)169 b(baz)21 b(\))g(\))0 433 y Fw(Note)15 +b(that)f(if)f(arra)o(y)h Fs(a)g Fw(is)f(created)j(displaced)e(to)g +(arra)o(y)g Fs(b)g Fw(and)g(subsequen)o(tly)h(arra)o(y)f +Fs(b)0 485 y Fw(is)e(giv)o(en)g(to)g Fs(adjust-array)p +Fw(,)d(arra)o(y)j Fs(a)g Fw(will)f(still)g(b)q(e)i(displaced)f(to)g +(arra)o(y)g Fs(b)p Fw(;)g(the)h(e\013ects)0 537 y(of)i(this)h +(displacemen)o(t)f(and)h(the)h(rule)f(of)f(ro)o(w-ma)r(jor)f(storage)j +(order)f(m)o(ust)f(b)q(e)i(tak)o(en)0 589 y(in)o(to)c(accoun)o(t.)42 +641 y(X3J13)j(v)o(oted)h(in)g(June)g(1988)f Ft(h)p Fw(1)p +Ft(i)h Fw(to)g(clarify)f(the)h(in)o(teraction)g(of)f +Fs(adjust-array)-33 613 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 693 a Fw(with)e(arra)o(y)f(displacemen)o(t.)42 +745 y(Supp)q(ose)i(that)f(an)g(arra)o(y)g Fv(A)f Fw(is)h(to)g(b)q(e)h +(adjusted.)20 b(There)15 b(are)f(four)g(cases)i(according)0 +797 y(to)d(whether)i(or)e(not)g Fv(A)g Fw(w)o(as)g(displaced)h(b)q +(efore)g(adjustmen)o(t)e(and)h(whether)i(or)e(not)g(the)0 +849 y(result)i(is)e(displaced)i(after)f(adjustmen)o(t.)0 +910 y Fu(.)42 919 y Fw(Supp)q(ose)19 b Fv(A)g Fw(is)f(not)h(displaced)f +(either)i(b)q(efore)f(or)g(after.)32 b(The)20 b(dimensions)d(of)h +Fv(A)42 971 y Fw(are)h(altered,)h(and)f(the)h(con)o(ten)o(ts)g(are)f +(rearranged)h(as)f(appropriate.)33 b(Additional)42 1023 +y(elemen)o(ts)14 b(of)g Fv(A)h Fw(are)g(tak)o(en)g(from)e(the)j +Fs(:initial-element)11 b Fw(argumen)o(t.)20 b(Ho)o(w)o(ev)o(er,)42 +1075 y(the)15 b(use)g(of)g(the)g Fs(:initial-contents)c +Fw(argumen)o(t)j(causes)i(all)e(old)g(con)o(ten)o(ts)h(to)g(b)q(e)42 +1127 y(discarded.)0 1201 y Fu(.)42 1210 y Fw(Supp)q(ose)g +Fv(A)f Fw(is)g(not)g(displaced)g(b)q(efore,)h(but)g(is)f(displaced)g +(to)g(arra)o(y)g Fv(C)g Fw(after.)19 b(None)42 1262 y(of)10 +b(the)i(original)d(con)o(ten)o(ts)k(of)d Fv(A)h Fw(app)q(ears)h(in)f +Fv(A)g Fw(afterw)o(ards;)h Fv(A)f Fw(no)o(w)g(con)o(tains)g(\(some)42 +1314 y(of)s(\))i(the)i(con)o(ten)o(ts)g(of)e Fv(C)p Fw(,)g(without)g +(an)o(y)h(rearrangemen)o(t)g(of)f Fv(C)p Fw(.)0 1388 +y Fu(.)42 1397 y Fw(Supp)q(ose)h Fv(A)f Fw(is)g(displaced)g(to)g(arra)o +(y)g Fv(B)g Fw(b)q(efore)h(the)g(call,)e(and)h(is)g(displaced)g(to)g +(arra)o(y)42 1449 y Fv(C)f Fw(after)g(the)h(call.)k(\(Note)c(that)f +Fv(B)h Fw(and)f Fv(C)g Fw(ma)o(y)e(b)q(e)j(the)g(same)f(arra)o(y)m(.\)) +17 b(The)c(con)o(ten)o(ts)42 1501 y(of)e Fv(B)i Fw(do)f(not)g(app)q +(ear)h(in)f Fv(A)g Fw(afterw)o(ards)h(\(unless)g(suc)o(h)g(con)o(ten)o +(ts)g(also)f(happ)q(en)h(to)f(b)q(e)42 1552 y(in)h Fv(C)p +Fw(,)f(as)i(when)g Fv(B)g Fw(and)f Fv(C)h Fw(are)g(the)g(same,)e(for)h +(example\).)k(If)c Fs(:displaced-index-)42 1604 y(offset)e +Fw(is)i(not)g(sp)q(eci\014ed)h(in)e(the)i(call)e(to)g +Fs(adjust-array)p Fw(,)f(it)h(defaults)h(to)g(zero;)g(the)42 +1656 y(old)g(o\013set)h(\(in)o(to)g Fv(B)p Fw(\))g(is)g(not)g +(retained.)0 1730 y Fu(.)42 1739 y Fw(Supp)q(ose)20 b +Fv(A)g Fw(is)g(displaced)g(to)g(arra)o(y)f Fv(B)h Fw(b)q(efore)h(the)g +(call,)f(but)g(is)g(not)f(displaced)42 1791 y(afterw)o(ards.)33 +b(In)19 b(this)h(case)g Fv(A)e Fw(gets)i(a)f(new)g(\\data)g(region")f +(and)h(\(some)f(of)s(\))h(the)42 1843 y(con)o(ten)o(ts)14 +b(of)f Fv(B)h Fw(are)f(copied)h(in)o(to)f(it)g(as)h(appropriate)f(to)g +(main)o(tain)e(the)j(existing)f(old)42 1895 y(con)o(ten)o(ts.)20 +b(Additional)13 b(elemen)o(ts)h(of)f Fv(A)i Fw(are)f(tak)o(en)h(from)d +(the)j Fs(:initial-element)42 1947 y Fw(argumen)o(t.)24 +b(Ho)o(w)o(ev)o(er,)17 b(the)h(use)f(of)f(the)h Fs(:initial-contents)c +Fw(argumen)o(t)i(causes)42 1999 y(all)d(old)h(con)o(ten)o(ts)i(to)f(b)q +(e)h(discarded.)42 2069 y(If)d(arra)o(y)h Fv(X)g Fw(is)g(displaced)g +(to)g(arra)o(y)g Fv(Y)p Fw(,)g(and)g(arra)o(y)g Fv(Y)g +Fw(is)g(displaced)g(to)g(arra)o(y)g Fv(Z)p Fw(,)g(and)0 +2121 y(arra)o(y)h Fv(Y)g Fw(is)g(altered)g(b)o(y)g Fs(adjust-array)p +Fw(,)d(arra)o(y)j Fv(X)g Fw(m)o(ust)f(no)o(w)g(refer)j(to)e(the)g +(adjusted)0 2173 y(con)o(ten)o(ts)f(of)e Fv(Y)p Fw(.)g(This)h(means)f +(that)h(an)g(implemen)o(tatio)o(n)d(ma)o(y)h(not)i(collapse)g(the)g(c)o +(hain)0 2225 y(to)17 b(mak)o(e)f Fv(X)i Fw(refer)g(to)f +Fv(Z)h Fw(directly)g(and)f(forget)h(that)f(the)h(c)o(hain)g(of)e +(reference)k(passes)0 2277 y(through)12 b(arra)o(y)f +Fv(Y)p Fw(.)g(\(Cac)o(hing)g(tec)o(hniques)i(are)f(of)g(course)g(p)q +(ermitted,)g(as)g(long)e(as)i(they)0 2329 y(preserv)o(e)k(the)e(seman)o +(tics)g(sp)q(eci\014ed)h(here.\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 494 518 +494 517 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(494)77 b(COMMON)13 +b(LISP)42 295 y Fw(If)i Fv(X)h Fw(is)f(displaced)i(to)e +Fv(Y)p Fw(,)h(it)f(is)h(an)f(error)i(to)f(adjust)g Fv(Y)g +Fw(in)f(suc)o(h)i(a)e(w)o(a)o(y)g(that)h(it)g(no)0 347 +y(longer)g(has)h(enough)g(elemen)o(ts)f(to)h(satisfy)f +Fv(X)p Fw(.)g(This)h(error)g(ma)o(y)e(b)q(e)i(signaled)g(at)f(the)0 +399 y(time)d(of)g(the)h(adjustmen)o(t,)f(but)h(this)g(is)g(not)f +(required.)42 450 y(Note)d(that)f(omitting)e(the)k Fs(:displaced-to)6 +b Fw(argumen)o(t)j(to)g Fs(adjust-array)f Fw(is)h(equiv-)0 +502 y(alen)o(t)16 b(to)g(sp)q(ecifying)g Fs(:displaced-to)j(nil)p +Fw(;)d(in)g(either)h(case,)g(the)g(arra)o(y)f(is)g(not)g(dis-)0 +554 y(placed)e(after)g(the)h(call)e(regardless)i(of)e(whether)i(it)f(w) +o(as)g(displaced)g(b)q(efore)h(the)f(call.)-33 566 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1778 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 495 519 +495 518 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(18)p 0 448 598 +9 v 0 531 a Fp(Strings)0 919 y Fw(A)17 b(string)g(is)g(a)g(sp)q +(ecialized)g(v)o(ector)h(\(one-dimensional)d(arra)o(y\))i(whose)g +(elemen)o(ts)g(are)0 971 y(c)o(haracters.)42 1024 y(Sp)q(eci\014cally)m +(,)22 b(the)f(t)o(yp)q(e)h Fs(string)e Fw(is)h(iden)o(tical)g(to)g(the) +h(t)o(yp)q(e)f Fs(\(vector)f(string-)-38 999 y Fk(.)-38 +1012 y(.)-38 1025 y(.)-38 1038 y(.)-38 1051 y(.)-38 1064 +y(.)-38 1077 y(.)-38 1090 y(.)-38 1103 y(.)-38 1115 y(.)-38 +1128 y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 +y(.)-38 1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 +1245 y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 +y(.)-38 1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 +1362 y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 +y(.)-38 1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 +1479 y(.)-38 1492 y(.)-38 1505 y(.)-38 1518 y(.)-38 1531 +y(.)-38 1544 y(.)-38 1557 y(.)-38 1570 y(.)-38 1582 y(.)-38 +1595 y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 +y(.)-38 1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 +1712 y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 +y(.)-38 1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 +1829 y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 +y(.)-38 1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 +1946 y(.)-38 1959 y(.)-38 1972 y(.)-38 1985 y(.)-38 1998 +y(.)-38 2011 y(.)-38 2024 y(.)-38 2037 y(.)-38 2049 y(.)-38 +2062 y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 +y(.)-38 2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 +2179 y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 +y(.)-38 2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 +2296 y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 +y(.)-38 2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 +2413 y(.)-38 2426 y(.)-38 2439 y(.)-38 2452 y(.)-38 2465 +y(.)-38 2478 y(.)-38 2491 y(.)-38 2504 y(.)-38 2516 y(.)-38 +2529 y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 +y(.)-38 2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 +2646 y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 +y(.)-38 2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 +2763 y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 +y(.)-38 2828 y(.)-38 2841 y(.)-38 2854 y(.)-38 2867 y(.)-38 +2880 y(.)-38 2893 y(.)-38 2906 y(.)-38 2919 y(.)-38 2932 +y(.)-38 2945 y(.)-38 2958 y(.)-38 2971 y(.)-38 2983 y(.)-38 +2996 y(.)-38 3009 y(.)-38 3022 y(.)-38 3035 y(.)-38 3048 +y(.)-38 3061 y(.)-38 3074 y(.)-38 3087 y(.)-38 3100 y(.)-38 +3113 y(.)-38 3126 y(.)-38 3139 y(.)-38 3152 y(.)-38 3165 +y(.)-38 3178 y(.)-38 3191 y(.)-38 3204 y(.)-38 3217 y(.)-38 +3230 y(.)-38 3243 y(.)-38 3256 y(.)-38 3269 y(.)-38 3282 +y(.)-38 3295 y(.)-38 3308 y(.)-38 3321 y(.)-38 3334 y(.)-38 +3347 y(.)-38 3360 y(.)-38 3373 y(.)-38 3386 y(.)-38 3399 +y(.)-38 3412 y(.)-38 3425 y(.)-38 3438 y(.)-38 3450 y(.)-38 +3463 y(.)-38 3476 y(.)-38 3489 y(.)-38 3502 y(.)-38 3515 +y(.)-38 3528 y(.)-38 3541 y(.)-38 3554 y(.)-38 3567 y(.)-38 +3580 y(.)0 1076 y Fs(char\))p Fw(,)12 b(whic)o(h)i(in)g(turn)g(is)g +(the)g(same)f(as)h Fs(\(array)20 b(string-char)f(\(*\)\))p +Fw(.)-33 1087 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1129 a(X3J13)d(v)o(oted)h(in)g(Marc)o(h)g(1989)f +Ft(h)p Fw(11)p Ft(i)h Fw(to)f(eliminate)f(the)j(t)o(yp)q(e)f +Fs(string-char)e Fw(and)-33 1100 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1181 a(to)e(rede\014ne)i(the)f(t)o(yp)q(e)f +Fs(string)f Fw(to)h(b)q(e)h(the)g(union)f(of)f(one)i(or)f(more)f(sp)q +(ecialized)i(v)o(ector)0 1233 y(t)o(yp)q(es,)g(the)h(t)o(yp)q(es)g(of)e +(whose)h(elemen)o(ts)g(are)g(subt)o(yp)q(es)i(of)d(the)h(t)o(yp)q(e)h +Fs(character)p Fw(.)-33 1244 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1286 a(An)o(y)c(string-sp)q(eci\014c)i(function)e +(de\014ned)i(in)e(this)g(c)o(hapter)i(whose)f(name)e(b)q(egins)i(with)0 +1338 y(the)g(pre\014x)g Fs(string)f Fw(will)f(accept)j(a)e(sym)o(b)q +(ol)f(instead)i(of)f(a)g(string)h(as)f(an)h(argumen)o(t)e +Fv(pr)n(o-)0 1390 y(vide)n(d)j Fw(that)h(the)f(op)q(eration)g(nev)o(er) +i(mo)q(di\014es)d(that)h(argumen)o(t;)f(the)i(prin)o(t)f(name)f(of)g +(the)0 1441 y(sym)o(b)q(ol)j(is)i(used.)54 b(In)17 b(this)g(resp)q(ect) +i(the)e(string-sp)q(eci\014c)h(sequence)h(op)q(erations)e(are)0 +1493 y(not)12 b(simply)e(sp)q(ecializations)i(of)g(generic)h(v)o +(ersions;)f(the)h(generic)g(sequence)h(op)q(erations)0 +1545 y(describ)q(ed)j(in)e(c)o(hapter)h(14)f(nev)o(er)i(accept)f(sym)o +(b)q(ols)e(as)i(sequences.)25 b(This)15 b(sligh)o(t)f(inel-)0 +1597 y(egance)j(is)e(p)q(ermitted)g(in)h(Commo)o(n)d(Lisp)j(in)f(the)h +(name)e(of)i(pragmatic)d(utilit)o(y)m(.)22 b(One)0 1649 +y(ma)o(y)16 b(get)j(the)g(e\013ect)h(of)e(ha)o(ving)f(a)h(generic)h +(sequence)h(function)f(op)q(erate)g(on)f(either)0 1701 +y(sym)o(b)q(ols)11 b(or)h(strings)h(b)o(y)f(applying)e(the)j(co)q +(ercion)g(function)f Fs(string)f Fw(to)h(an)o(y)g(argumen)o(t)0 +1753 y(whose)i(data)g(t)o(yp)q(e)g(is)g(in)g(doubt.)42 +1806 y(Note)j(that)g(this)f(remark,)h(predating)f(the)i(design)f(of)f +(the)h(Common)d(Lisp)i(Ob)r(ject)-33 1778 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1858 a(System,)d(uses)i(the)f(term)g(\\generic")g(in)f +(a)h(generic)h(sense)g(and)f(not)g(necessarily)h(in)e(the)0 +1910 y(tec)o(hnical)h(sense)i(used)e(b)o(y)g(CLOS)g(\(see)h(c)o(hapter) +g(2\).)-33 1921 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1963 a(Also,)21 b(there)h(is)e(a)g(sligh)o(t)g +(non-parallelism)d(in)j(the)h(names)f(of)g(string)g(functions.)0 +2015 y(Where)e(the)f(su\016xes)g Fs(equalp)f Fw(and)g +Fs(eql)g Fw(w)o(ould)g(b)q(e)h(more)f(appropriate,)h(for)f(histori-)0 +2067 y(cal)f(compatibilit)o(y)d(the)k(su\016xes)h Fs(equal)d +Fw(and)747 2063 y Fs(U)747 2071 y(U)784 2067 y Fw(are)i(used)g(instead) +g(to)g(indicate)f(case-)0 2119 y(insensitiv)o(e)f(and)g(case-sensitiv)o +(e)h(c)o(haracter)g(comparison,)d(resp)q(ectiv)o(ely)m(.)42 +2172 y(An)o(y)g(Lisp)g(ob)r(ject)h(ma)o(y)d(b)q(e)j(tested)g(for)f(b)q +(eing)g(a)g(string)h(b)o(y)f(the)g(predicate)i Fs(stringp)p +Fw(.)42 2225 y(Note)c(that)g(strings,)h(lik)o(e)e(all)g(v)o(ectors,)i +(ma)o(y)d(ha)o(v)o(e)i(\014ll)f(p)q(oin)o(ters)i(\(though)f(suc)o(h)g +(strings)0 2277 y(are)16 b(not)g(necessarily)h Fv(simple)p +Fw(\).)24 b(String)16 b(op)q(erations)g(generally)g(op)q(erate)h(only)e +(on)h(the)0 2329 y(activ)o(e)h(p)q(ortion)f(of)g(the)h(string)g(\(b)q +(elo)o(w)f(the)h(\014ll)f(p)q(oin)o(ter\).)26 b(See)18 +b Fs(fill-pointer)c Fw(and)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1337 2428 a Fy(495)p eop +%%Page: 496 520 +496 519 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(496)77 b(COMMON)13 +b(LISP)0 295 y Fw(related)h(functions.)0 420 y Fo(18.1.)20 +b(String)15 b(Access)0 498 y Fw(The)f(follo)o(wing)e(functions)i +(access)h(a)f(single)f(c)o(haracter)j(elemen)o(t)d(of)g(a)h(string.) +1209 605 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(char)20 +b Fv(string)25 b(index)1209 656 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(schar)20 b Fv(simple)p Fs(-)p Fv(string)k(index)0 +733 y Fw(The)13 b(giv)o(en)f Fv(index)h Fw(m)o(ust)e(b)q(e)j(a)e +(non-negativ)o(e)g(in)o(teger)h(less)g(than)f(the)h(length)g(of)f +Fv(string)p Fw(,)0 785 y(whic)o(h)20 b(m)o(ust)g(b)q(e)h(a)f(string.)38 +b(The)21 b(c)o(haracter)g(at)g(p)q(osition)e Fv(index)i +Fw(of)f(the)h(string)g(is)0 837 y(returned)16 b(as)e(a)f(c)o(haracter)i +(ob)r(ject.)42 889 y(\(This)e(c)o(haracter)j(will)c(necessarily)j +(satisfy)f(the)g(predicate)h Fs(string-char-p)p Fw(.\))-38 +864 y Fk(.)-38 877 y(.)-38 890 y(.)-38 903 y(.)-38 916 +y(.)-38 929 y(.)-38 942 y(.)-38 955 y(.)-38 968 y(.)-38 +981 y(.)-38 994 y(.)-38 1007 y(.)-38 1020 y(.)-38 1033 +y(.)-38 1046 y(.)-38 1059 y(.)-38 1071 y(.)-38 1084 y(.)-38 +1097 y(.)-38 1110 y(.)-38 1123 y(.)-38 1136 y(.)-38 1149 +y(.)-38 1162 y(.)-38 1175 y(.)-38 1188 y(.)-38 1201 y(.)-38 +1214 y(.)-38 1227 y(.)-38 1240 y(.)-38 1253 y(.)-38 1266 +y(.)-38 1279 y(.)-38 1292 y(.)-38 1305 y(.)-38 1318 y(.)-38 +1331 y(.)-38 1344 y(.)-38 1357 y(.)-38 1370 y(.)-38 1383 +y(.)-38 1396 y(.)-38 1409 y(.)-38 1422 y(.)-38 1435 y(.)-38 +1448 y(.)-38 1461 y(.)-38 1474 y(.)-38 1487 y(.)-38 1500 +y(.)-38 1513 y(.)-38 1526 y(.)-38 1538 y(.)-38 1551 y(.)-38 +1564 y(.)-38 1577 y(.)-38 1590 y(.)-38 1603 y(.)-38 1616 +y(.)-38 1629 y(.)-38 1642 y(.)-38 1655 y(.)-38 1668 y(.)-38 +1681 y(.)-38 1694 y(.)-38 1707 y(.)-38 1720 y(.)-38 1733 +y(.)-38 1746 y(.)-38 1759 y(.)-38 1772 y(.)-38 1785 y(.)-38 +1798 y(.)-38 1811 y(.)-38 1824 y(.)-38 1837 y(.)-38 1850 +y(.)-38 1863 y(.)-38 1876 y(.)-38 1889 y(.)-38 1902 y(.)-38 +1915 y(.)-38 1928 y(.)-38 1941 y(.)-38 1954 y(.)-38 1967 +y(.)-38 1980 y(.)-38 1993 y(.)-38 2005 y(.)-38 2018 y(.)-38 +2031 y(.)-38 2044 y(.)-38 2057 y(.)-38 2070 y(.)-38 2083 +y(.)-38 2096 y(.)-38 2109 y(.)-38 2122 y(.)-38 2135 y(.)-38 +2148 y(.)-38 2161 y(.)-38 2174 y(.)-38 2187 y(.)-38 2200 +y(.)-38 2213 y(.)-38 2226 y(.)-38 2239 y(.)-38 2252 y(.)-38 +2265 y(.)-38 2278 y(.)-38 2291 y(.)-38 2304 y(.)-38 2317 +y(.)-38 2330 y(.)-38 2343 y(.)-38 2356 y(.)-38 2369 y(.)-38 +2382 y(.)-38 2395 y(.)-38 2408 y(.)-38 2421 y(.)-38 2434 +y(.)-38 2447 y(.)-38 2460 y(.)-38 2472 y(.)-38 2485 y(.)-38 +2498 y(.)-38 2511 y(.)-38 2524 y(.)-38 2537 y(.)-38 2550 +y(.)-38 2563 y(.)-38 2576 y(.)-38 2589 y(.)-38 2602 y(.)-38 +2615 y(.)-38 2628 y(.)-38 2641 y(.)-38 2654 y(.)-38 2667 +y(.)-38 2680 y(.)-38 2693 y(.)-38 2706 y(.)-38 2719 y(.)-38 +2732 y(.)-38 2745 y(.)-38 2758 y(.)-38 2771 y(.)-38 2784 +y(.)-38 2797 y(.)-38 2810 y(.)-38 2823 y(.)-38 2836 y(.)-38 +2849 y(.)-38 2862 y(.)-38 2875 y(.)-38 2888 y(.)-38 2901 +y(.)-38 2914 y(.)-38 2927 y(.)-38 2939 y(.)-38 2952 y(.)-38 +2965 y(.)-38 2978 y(.)-38 2991 y(.)-38 3004 y(.)-38 3017 +y(.)-38 3030 y(.)-38 3043 y(.)-38 3056 y(.)-38 3069 y(.)-38 +3082 y(.)-38 3095 y(.)-38 3108 y(.)-38 3121 y(.)-38 3134 +y(.)-38 3147 y(.)-38 3160 y(.)-38 3173 y(.)-38 3186 y(.)-38 +3199 y(.)-38 3212 y(.)-38 3225 y(.)-38 3238 y(.)-38 3251 +y(.)-38 3264 y(.)-38 3277 y(.)-38 3290 y(.)-38 3303 y(.)-38 +3316 y(.)-38 3329 y(.)-38 3342 y(.)-38 3355 y(.)-38 3368 +y(.)-38 3381 y(.)-38 3394 y(.)-38 3406 y(.)-38 3419 y(.)-38 +3432 y(.)-38 3445 y(.)-33 905 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 941 a Fw(X3J13)e(v)o(oted)h(in)g(Marc)o(h)g(1989)f +Ft(h)p Fw(11)p Ft(i)g Fw(to)h(eliminate)e Fs(string-char-p)p +Fw(.)-33 912 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 993 a(As)e(with)f(all)g(sequences)j(in)d(Common)d +(Lisp,)k(indexing)f(is)h(zero-origin.)16 b(F)m(or)9 b(example:)0 +1074 y Fs(\(char)20 b("Floob-Boober-Bab-)o(Boobe)o(r-Bub)o(s")e(0\))j +Ft(\))g Fs(#)933 1070 y(-)933 1078 y(-)954 1074 y(\\F)0 +1126 y(\(char)f("Floob-Boober-Bab-)o(Boobe)o(r-Bub)o(s")e(1\))j +Ft(\))g Fs(#)933 1122 y(-)933 1130 y(-)954 1126 y(\\l)0 +1208 y Fw(See)15 b Fs(aref)e Fw(and)h Fs(elt)p Fw(.)j(In)d(e\013ect,)0 +1290 y Fs(\(char)20 b(s)h(j\))g Ft(\021)g Fs(\(aref)f(\(the)h(string)f +(s\))g(j\))0 1371 y(setf)d Fw(ma)o(y)g(b)q(e)i(used)g(with)f +Fs(char)g Fw(to)g(destructiv)o(ely)h(replace)h(a)e(c)o(haracter)h +(within)f(a)0 1423 y(string.)42 1475 y(F)m(or)g Fs(char)p +Fw(,)h(the)g(string)g(ma)o(y)e(b)q(e)i(an)o(y)f(string;)j(for)e +Fs(schar)p Fw(,)f(it)h(m)o(ust)e(b)q(e)j(a)e(simple)0 +1527 y(string.)26 b(In)16 b(some)g(implemen)o(tatio)o(ns)e(of)i(Common) +d(Lisp,)k(the)g(function)f Fs(schar)g Fw(ma)o(y)0 1579 +y(b)q(e)f(faster)f(than)g Fs(char)f Fw(when)h(it)g(is)g(applicable.)0 +1704 y Fo(18.2.)20 b(String)15 b(Comparison)0 1783 y +Fw(The)f(naming)d(con)o(v)o(en)o(tions)i(for)g(these)h(functions)g(and) +f(for)g(their)g(k)o(eyw)o(ord)g(argumen)o(ts)0 1835 y(generally)c +(follo)o(w)f(the)i(con)o(v)o(en)o(tions)g(for)f(the)i(generic)f +(sequence)i(functions)e(\(see)h(c)o(hapter)0 1886 y(14\).)42 +1938 y(Note)17 b(that)g(this)f(remark,)h(predating)f(the)i(design)f(of) +f(the)h(Common)d(Lisp)i(Ob)r(ject)-33 1910 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1990 a(System,)d(uses)i(the)f(term)g(\\generic")g(in)f +(a)h(generic)h(sense)g(and)f(not)g(necessarily)h(in)e(the)0 +2042 y(tec)o(hnical)h(sense)i(used)e(b)o(y)g(CLOS)g(\(see)h(c)o(hapter) +g(2\).)-33 2054 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 2148 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(string)132 2144 y(U)132 2152 y(U)174 2148 y Fv(string1)26 +b(string2)h Fs(&key)20 b(:start1)g(:end1)g(:start2)g(:end2)0 +2225 y(string)132 2221 y(U)132 2229 y(U)165 2225 y Fw(compares)11 +b(t)o(w)o(o)h(strings)g(and)g(is)g(true)h(if)e(they)h(are)h(the)g(same) +e(\(corresp)q(onding)0 2277 y(c)o(haracters)k(are)f(iden)o(tical\))f +(but)g(is)g(false)g(if)g(they)h(are)f(not.)18 b(The)c(function)f +Fs(equal)f Fw(calls)0 2329 y Fs(string)132 2325 y(U)132 +2333 y(U)166 2329 y Fw(if)h(applied)h(to)f(t)o(w)o(o)h(strings.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 497 521 +497 520 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(STRINGS)1180 b(497)42 +295 y Fw(The)12 b(k)o(eyw)o(ord)h(argumen)o(ts)f Fs(:start1)f +Fw(and)h Fs(:start2)f Fw(are)i(the)g(places)g(in)f(the)h(strings)0 +347 y(to)19 b(start)i(the)f(comparison.)34 b(The)20 b(argumen)o(ts)e +Fs(:end1)h Fw(and)g Fs(:end2)g Fw(are)h(the)g(places)0 +399 y(in)d(the)h(strings)g(to)g(stop)g(comparing;)f(comparison)f(stops) +i(just)g Fv(b)n(efor)n(e)f Fw(the)h(p)q(osition)0 450 +y(sp)q(eci\014ed)j(b)o(y)e(a)h(limit.)32 b(The)20 b(\\start")g(argumen) +o(ts)e(default)h(to)h(zero)g(\(b)q(eginning)f(of)0 502 +y(string\),)g(and)f(the)h(\\end")g(argumen)o(ts)e(\(if)h(either)h +(omitted)e(or)h Fs(nil)p Fw(\))g(default)g(to)g(the)0 +554 y(lengths)e(of)e(the)i(strings)g(\(end)g(of)f(string\),)h(so)f +(that)g(b)o(y)h(default)f(the)g(en)o(tiret)o(y)h(of)f(eac)o(h)0 +606 y(string)g(is)g(examined.)20 b(These)c(argumen)o(ts)f(are)g(pro)o +(vided)g(so)g(that)g(substrings)h(can)f(b)q(e)0 658 y(compared)e +(e\016cien)o(tly)m(.)42 713 y Fs(string)174 709 y(U)174 +717 y(U)210 713 y Fw(is)k(necessarily)g(false)g(if)e(the)i +(\(sub\)strings)h(b)q(eing)e(compared)g(are)h(of)f(un-)0 +765 y(equal)e(length;)f(that)h(is,)f(if)0 879 y Fs(\(not)20 +b(\()130 875 y(U)130 883 y(U)173 879 y(\(-)h(end1)f(start1\))g(\(-)h +(end2)f(start2\)\)\))0 991 y Fw(is)14 b(true,)g(then)h +Fs(string)368 987 y(U)368 995 y(U)402 991 y Fw(is)f(false.)0 +1105 y Fs(\(string)154 1101 y(U)154 1109 y(U)196 1105 +y("foo")20 b("foo"\))g Fw(is)13 b(true)0 1157 y Fs(\(string)154 +1153 y(U)154 1161 y(U)196 1157 y("foo")20 b("Foo"\))g +Fw(is)13 b(false)0 1209 y Fs(\(string)154 1205 y(U)154 +1213 y(U)196 1209 y("foo")20 b("bar"\))g Fw(is)13 b(false)0 +1261 y Fs(\(string)154 1257 y(U)154 1265 y(U)196 1261 +y("together")19 b("frog")h(:start1)f(1)i(:end1)f(3)h(:start2)f(2\))64 +1313 y Fw(is)13 b(true)42 1424 y(X3J13)g(v)o(oted)h(in)g(June)g(1989)f +Ft(h)p Fw(169)p Ft(i)h Fw(to)f(clarify)g(string)h(co)q(ercion)h(\(see)g +Fs(string)p Fw(\).)-33 1396 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1484 V 0 1547 a Fm(Compatibilit)o(y)d(note:)17 +b Fj(string)515 1544 y(U)515 1550 y(U)545 1547 y FA(is)d(called)h +Fj(strequal)10 b FA(in)j(In)o(terlisp.)p 0 1617 V 1209 +1867 a Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(string-equal)19 +b Fv(string1)26 b(string2)h Fs(&key)20 b(:start1)g(:end1)283 +1919 y(:start2)f(:end2)0 1999 y(string-equal)10 b Fw(is)h(just)i(lik)o +(e)e Fs(string)600 1995 y(U)600 2003 y(U)632 1999 y Fw(except)j(that)e +(di\013erences)i(in)e(case)h(are)f(ignored;)0 2051 y(t)o(w)o(o)i(c)o +(haracters)j(are)e(considered)i(to)d(b)q(e)i(the)f(same)f(if)g +Fs(char-equal)f Fw(is)i(true)h(of)e(them.)0 2103 y(F)m(or)f(example:)0 +2217 y Fs(\(string-equal)18 b("foo")j("Foo"\))f Fw(is)13 +b(true)42 2329 y(X3J13)g(v)o(oted)h(in)g(June)g(1989)f +Ft(h)p Fw(169)p Ft(i)h Fw(to)f(clarify)g(string)h(co)q(ercion)h(\(see)g +Fs(string)p Fw(\).)-33 2300 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 498 522 +498 521 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(498)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(string<)20 b Fv(string1)26 b(string2)h Fs(&key)20 +b(:start1)g(:end1)g(:start2)g(:end2)1209 347 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(string>)20 b Fv(string1)26 +b(string2)h Fs(&key)20 b(:start1)g(:end1)g(:start2)g(:end2)1209 +399 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(string<)154 +395 y(U)154 403 y(U)196 399 y Fv(string1)26 b(string2)g +Fs(&key)21 b(:start1)e(:end1)196 450 y(:start2)g(:end2)1209 +502 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(string>)154 +498 y(U)154 506 y(U)196 502 y Fv(string1)26 b(string2)g +Fs(&key)21 b(:start1)e(:end1)196 554 y(:start2)g(:end2)1209 +606 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(string/)154 +602 y(U)154 610 y(U)196 606 y Fv(string1)26 b(string2)g +Fs(&key)21 b(:start1)e(:end1)196 658 y(:start2)g(:end2)0 +887 y Fw(These)c(functions)e(compare)g(the)h(t)o(w)o(o)f(string)h +(argumen)o(ts)f(lexicographically)m(,)e(and)i(the)0 939 +y(result)g(is)g Fs(nil)f Fw(unless)h Fv(string1)g Fw(is)f(resp)q(ectiv) +o(ely)i(less)f(than,)g(greater)g(than,)g(less)g(than)g(or)0 +991 y(equal)h(to,)f(greater)i(than)f(or)f(equal)h(to,)f(or)h(not)g +(equal)f(to)h Fv(string2)p Fw(.)k(If)13 b(the)i(condition)e(is)0 +1042 y(satis\014ed,)j(ho)o(w)o(ev)o(er,)g(then)g(the)g(result)g(is)f +(the)h(index)g(within)e(the)i(strings)g(of)f(the)h(\014rst)0 +1094 y(c)o(haracter)j(p)q(osition)d(at)h(whic)o(h)h(the)f(strings)h +(fail)e(to)h(matc)o(h;)g(put)h(another)g(w)o(a)o(y)m(,)e(the)0 +1146 y(result)f(is)e(the)i(length)f(of)f(the)h(longest)g(common)d +(pre\014x)k(of)e(the)i(strings.)42 1350 y(A)e(string)h +Fv(a)g Fw(is)g(less)g(than)g(a)g(string)g Fv(b)f Fw(if)g(in)h(the)g +(\014rst)h(p)q(osition)e(in)g(whic)o(h)h(they)g(di\013er)0 +1402 y(the)i(c)o(haracter)h(of)e Fv(a)h Fw(is)f(less)h(than)g(the)g +(corresp)q(onding)g(c)o(haracter)h(of)e Fv(b)g Fw(according)h(to)0 +1454 y(the)j(function)f Fs(char<)p Fw(,)g(or)h(if)e(string)i +Fv(a)g Fw(is)f(a)g(prop)q(er)h(pre\014x)h(of)d(string)i +Fv(b)f Fw(\(of)g(shorter)0 1506 y(length)c(and)g(matc)o(hing)e(in)h +(all)g(the)h(c)o(haracters)i(of)d Fv(a)p Fw(\).)42 1710 +y(The)f(k)o(eyw)o(ord)h(argumen)o(ts)f Fs(:start1)f Fw(and)h +Fs(:start2)f Fw(are)i(the)g(places)g(in)f(the)h(strings)0 +1762 y(to)j(start)h(the)g(comparison.)24 b(The)17 b(k)o(eyw)o(ord)g +(argumen)o(ts)e Fs(:end1)h Fw(and)g Fs(:end2)f Fw(are)i(the)0 +1814 y(places)k(in)g(the)g(strings)g(to)g(stop)g(comparing;)g +(comparison)f(stops)h(just)g Fv(b)n(efor)n(e)f Fw(the)0 +1865 y(p)q(osition)10 b(sp)q(eci\014ed)h(b)o(y)f(a)g(limit.)k(The)d +(\\start")g(argumen)o(ts)e(default)h(to)g(zero)h(\(b)q(eginning)0 +1917 y(of)j(string\),)g(and)g(the)h(\\end")g(argumen)o(ts)e(\(if)h +(either)h(omitted)f(or)g Fs(nil)p Fw(\))g(default)g(to)g(the)0 +1969 y(lengths)i(of)e(the)i(strings)g(\(end)g(of)f(string\),)h(so)f +(that)g(b)o(y)h(default)f(the)g(en)o(tiret)o(y)h(of)f(eac)o(h)0 +2021 y(string)g(is)g(examined.)20 b(These)c(argumen)o(ts)f(are)g(pro)o +(vided)g(so)g(that)g(substrings)h(can)f(b)q(e)0 2073 +y(compared)h(e\016cien)o(tly)m(.)25 b(The)17 b(index)g(returned)h(in)e +(case)h(of)f(a)g(mismatc)o(h)e(is)i(an)h(index)0 2125 +y(in)o(to)c Fv(string1)p Fw(.)42 2329 y(X3J13)g(v)o(oted)h(in)g(June)g +(1989)f Ft(h)p Fw(169)p Ft(i)h Fw(to)f(clarify)g(string)h(co)q(ercion)h +(\(see)g Fs(string)p Fw(\).)-33 2300 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 499 523 +499 522 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(STRINGS)1180 b(499)1209 +295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(string-lessp)19 +b Fv(string1)26 b(string2)h Fs(&key)20 b(:start1)g(:end1)283 +347 y(:start2)f(:end2)1209 399 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(string-greaterp)18 b Fv(string1)27 b(string2)f +Fs(&key)20 b(:start1)g(:end1)348 450 y(:start2)g(:end2)1209 +502 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(string-not-greate)o(rp)18 +b Fv(string1)27 b(string2)f Fs(&key)20 b(:start1)g(:end1)42 +554 y(:start2)g(:end2)1209 606 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(string-not-lessp)18 b Fv(string1)26 b(string2)h +Fs(&key)20 b(:start1)g(:end1)370 658 y(:start2)g(:end2)1209 +710 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(string-not-equal)18 +b Fv(string1)26 b(string2)h Fs(&key)20 b(:start1)g(:end1)370 +762 y(:start2)g(:end2)0 839 y Fw(These)11 b(are)f(exactly)f(lik)o(e)g +Fs(string<)p Fw(,)g Fs(string>)p Fw(,)f Fs(string<)894 +835 y(U)894 843 y(U)914 839 y Fw(,)i Fs(string>)1090 +835 y(U)1090 843 y(U)1111 839 y Fw(,)g(and)f Fs(string/)1363 +835 y(U)1363 843 y(U)1383 839 y Fw(,)0 891 y(resp)q(ectiv)o(ely)m(,)k +(except)h(that)f(distinctions)f(b)q(et)o(w)o(een)i(upp)q(ercase)g(and)e +(lo)o(w)o(ercase)h(letters)0 943 y(are)h(ignored.)k(It)c(is)f(as)h(if)f +Fs(char-lessp)e Fw(w)o(ere)k(used)g(instead)f(of)f Fs(char<)f +Fw(for)i(comparing)0 994 y(c)o(haracters.)42 1047 y(X3J13)f(v)o(oted)h +(in)g(June)g(1989)f Ft(h)p Fw(169)p Ft(i)h Fw(to)f(clarify)g(string)h +(co)q(ercion)h(\(see)g Fs(string)p Fw(\).)-33 1018 y +@beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1209 a Fo(18.3.)20 b(String)15 b(Construction)g(and)g +(Manipulation)0 1298 y Fw(Most)21 b(of)f(the)h(in)o(teresting)h(op)q +(erations)f(on)f(strings)h(ma)o(y)e(b)q(e)i(p)q(erformed)g(with)f(the)0 +1350 y(generic)d(sequence)h(functions)f(describ)q(ed)g(in)f(c)o(hapter) +h(14.)25 b(The)16 b(follo)o(wing)e(functions)0 1402 y(p)q(erform)f +(additional)f(op)q(erations)i(that)g(are)g(sp)q(eci\014c)i(to)e +(strings.)42 1454 y(Note)j(that)g(this)f(remark,)h(predating)f(the)i +(design)f(of)f(the)h(Common)d(Lisp)i(Ob)r(ject)-33 1425 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1506 a(System,)d(uses)i(the)f(term)g(\\generic")g(in)f +(a)h(generic)h(sense)g(and)f(not)g(necessarily)h(in)e(the)0 +1557 y(tec)o(hnical)h(sense)i(used)e(b)o(y)g(CLOS)g(\(see)h(c)o(hapter) +g(2\).)-33 1569 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1699 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(make-string)19 b Fv(size)24 b Fs(&key)c(:initial-element)-38 +1674 y Fk(.)-38 1687 y(.)-38 1700 y(.)-38 1713 y(.)-38 +1726 y(.)-38 1739 y(.)-38 1752 y(.)-38 1765 y(.)-38 1778 +y(.)-38 1791 y(.)-38 1804 y(.)-38 1817 y(.)-38 1830 y(.)-38 +1843 y(.)-38 1856 y(.)-38 1869 y(.)-38 1882 y(.)-38 1895 +y(.)-38 1908 y(.)-38 1921 y(.)-38 1934 y(.)-38 1946 y(.)-38 +1959 y(.)-38 1972 y(.)-38 1985 y(.)-38 1998 y(.)-38 2011 +y(.)-38 2024 y(.)-38 2037 y(.)-38 2050 y(.)-38 2063 y(.)-38 +2076 y(.)-38 2089 y(.)-38 2102 y(.)-38 2115 y(.)-38 2128 +y(.)-38 2141 y(.)-38 2154 y(.)-38 2167 y(.)-38 2180 y(.)-38 +2193 y(.)-38 2206 y(.)-38 2219 y(.)-38 2232 y(.)-38 2245 +y(.)-38 2258 y(.)-38 2271 y(.)-38 2284 y(.)-38 2297 y(.)-38 +2310 y(.)-38 2323 y(.)-38 2336 y(.)-38 2349 y(.)-38 2362 +y(.)-38 2375 y(.)-38 2388 y(.)-38 2401 y(.)-38 2413 y(.)-38 +2426 y(.)-38 2439 y(.)-38 2452 y(.)-38 2465 y(.)-38 2478 +y(.)-38 2491 y(.)-38 2504 y(.)-38 2517 y(.)-38 2530 y(.)-38 +2543 y(.)-38 2556 y(.)-38 2569 y(.)-38 2582 y(.)-38 2595 +y(.)-38 2608 y(.)-38 2621 y(.)-38 2634 y(.)-38 2647 y(.)-38 +2660 y(.)-38 2673 y(.)-38 2686 y(.)-38 2699 y(.)-38 2712 +y(.)-38 2725 y(.)-38 2738 y(.)-38 2751 y(.)-38 2764 y(.)-38 +2777 y(.)-38 2790 y(.)-38 2803 y(.)-38 2816 y(.)-38 2829 +y(.)-38 2842 y(.)-38 2855 y(.)-38 2868 y(.)-38 2880 y(.)-38 +2893 y(.)-38 2906 y(.)-38 2919 y(.)-38 2932 y(.)-38 2945 +y(.)-38 2958 y(.)-38 2971 y(.)-38 2984 y(.)-38 2997 y(.)-38 +3010 y(.)-38 3023 y(.)-38 3036 y(.)-38 3049 y(.)-38 3062 +y(.)-38 3075 y(.)-38 3088 y(.)-38 3101 y(.)-38 3114 y(.)-38 +3127 y(.)-38 3140 y(.)-38 3153 y(.)-38 3166 y(.)-38 3179 +y(.)-38 3192 y(.)-38 3205 y(.)-38 3218 y(.)-38 3231 y(.)-38 +3244 y(.)-38 3257 y(.)-38 3270 y(.)-38 3283 y(.)-38 3296 +y(.)-38 3309 y(.)-38 3322 y(.)-38 3335 y(.)-38 3347 y(.)-38 +3360 y(.)-38 3373 y(.)-38 3386 y(.)-38 3399 y(.)-38 3412 +y(.)-38 3425 y(.)-38 3438 y(.)-38 3451 y(.)-38 3464 y(.)-38 +3477 y(.)-38 3490 y(.)-38 3503 y(.)-38 3516 y(.)-38 3529 +y(.)-38 3542 y(.)-38 3555 y(.)-38 3568 y(.)-38 3581 y(.)-38 +3594 y(.)-38 3607 y(.)-38 3620 y(.)-38 3633 y(.)-38 3646 +y(.)-38 3659 y(.)-38 3672 y(.)-38 3685 y(.)-38 3698 y(.)-38 +3711 y(.)-38 3724 y(.)-38 3737 y(.)-38 3750 y(.)-38 3763 +y(.)-38 3776 y(.)-38 3789 y(.)-38 3801 y(.)-38 3814 y(.)-38 +3827 y(.)-38 3840 y(.)-38 3853 y(.)-38 3866 y(.)-38 3879 +y(.)-38 3892 y(.)-38 3905 y(.)-38 3918 y(.)-38 3931 y(.)-38 +3944 y(.)-38 3957 y(.)-38 3970 y(.)-38 3983 y(.)-38 3996 +y(.)-38 4009 y(.)-38 4022 y(.)-38 4035 y(.)-38 4048 y(.)-38 +4061 y(.)-38 4074 y(.)-38 4087 y(.)-38 4100 y(.)-38 4113 +y(.)-38 4126 y(.)-38 4139 y(.)-38 4152 y(.)-38 4165 y(.)-38 +4178 y(.)-38 4191 y(.)-38 4204 y(.)-38 4217 y(.)-38 4230 +y(.)-38 4243 y(.)-38 4256 y(.)0 1776 y Fw(This)d(returns)i(a)d(string)h +(\(in)g(fact)g(a)g(simple)e(string\))j(of)e(length)h +Fv(size)p Fw(,)g(eac)o(h)h(of)e(whose)0 1828 y(c)o(haracters)21 +b(has)f(b)q(een)h(initialized)d(to)h(the)h Fs(:initial-element)c +Fw(argumen)o(t.)34 b(If)19 b(an)0 1880 y Fs(:initial-element)6 +b Fw(argumen)o(t)i(is)h(not)h(sp)q(eci\014ed,)h(then)f(the)g(string)f +(will)f(b)q(e)i(initialized)0 1932 y(in)j(an)h(implemen)o(tation-)o +(dep)q(enden)o(t)f(w)o(a)o(y)m(.)p 0 1992 V 0 2052 a +Fm(Implemen)o(tation)g(note:)19 b FA(It)14 b(ma)o(y)f(b)q(e)h(con)o(v)o +(enien)o(t)i(to)d(initial)q(ize)k(the)d(string)g(to)g(n)o(ull)h(c)o +(har-)0 2098 y(acters,)e(or)g(to)g(spaces,)g(or)g(to)g(garbage)h +(\(\\whatev)o(er)g(w)o(as)f(there"\).)p 0 2137 V 42 2225 +a Fw(A)h(string)h(is)f(really)g(just)h(a)f(one-dimensional)f(arra)o(y)h +(of)g(\\string)g(c)o(haracters")j(\(that)0 2277 y(is,)e(those)h(c)o +(haracters)h(that)f(are)f(mem)o(b)q(ers)f(of)h(t)o(yp)q(e)h +Fs(string-char)p Fw(\).)k(More)c(complex)0 2329 y(c)o(haracter)f(arra)o +(ys)f(ma)o(y)e(b)q(e)j(constructed)h(using)d(the)i(function)e +Fs(make-array)p Fw(.)-33 2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 500 524 +500 523 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(500)77 b(COMMON)13 +b(LISP)42 295 y Fw(X3J13)f(v)o(oted)g(in)g(Marc)o(h)h(1989)e +Ft(h)p Fw(11)p Ft(i)i Fw(to)f(eliminate)e(the)j(t)o(yp)q(e)g +Fs(string-char)e Fw(and)h(to)-33 266 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(add)h(a)g(k)o(eyw)o(ord)g(argumen)o(t)e +Fs(:element-type)g Fw(to)i Fs(make-string)p Fw(.)i(The)f(new)f +(function)0 399 y(description)i(is)e(as)h(follo)o(ws.)1209 +548 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(make-string)19 +b Fv(size)24 b Fs(&key)c(:initial-element)e(:element-type)0 +625 y Fw(This)j(returns)i(a)d(simple)g(string)h(of)g(length)g +Fv(size)p Fw(,)h(eac)o(h)g(of)e(whose)i(c)o(haracters)h(has)0 +677 y(b)q(een)k(initialized)e(to)h(the)h Fs(:initial-element)c +Fw(argumen)o(t.)54 b(If)26 b(an)g Fs(:initial-)0 729 +y(element)16 b Fw(argumen)o(t)h(is)g(not)h(sp)q(eci\014ed,)h(then)f +(the)h(string)e(will)f(b)q(e)j(initialized)d(in)h(an)0 +781 y(implemen)o(tatio)o(n-dep)q(enden)o(t)c(w)o(a)o(y)m(.)42 +833 y(The)e Fs(:element-type)e Fw(argumen)o(t)h(names)g(the)i(t)o(yp)q +(e)f(of)g(the)h(elemen)o(ts)f(of)f(the)i(string;)0 885 +y(a)17 b(string)h(is)g(constructed)i(of)d(the)h(most)f(sp)q(ecialized)h +(t)o(yp)q(e)g(that)g(can)g(accommo)q(date)0 937 y(elemen)o(ts)12 +b(of)f(the)i(giv)o(en)e(t)o(yp)q(e.)18 b(If)12 b Fs(:element-type)d +Fw(is)j(omitted,)f(the)h(t)o(yp)q(e)h Fs(character)0 +989 y Fw(is)h(the)g(default.)42 1041 y(X3J13)e(v)o(oted)h(in)g(Jan)o +(uary)g(1989)f Ft(h)p Fw(7)p Ft(i)h Fw(to)g(clarify)f(that)i(the)f +Fv(size)g Fw(argumen)o(t)f(m)o(ust)g(b)q(e)0 1093 y(a)i(non-negativ)o +(e)f(in)o(teger)h(less)h(than)f(the)g(v)n(alue)g(of)f +Fs(array-dimension-)o(limit)o Fw(.)-33 1104 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1242 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(string-trim)19 b Fv(char)n(acter)p Fs(-)p Fv(b)n(ag)24 +b(string)1209 1294 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(string-left-trim)18 b Fv(char)n(acter)p Fs(-)p Fv(b)n(ag)24 +b(string)1209 1346 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(string-right-trim)18 b Fv(char)n(acter)p Fs(-)p +Fv(b)n(ag)24 b(string)0 1423 y Fs(string-trim)14 b Fw(returns)k(a)e +(substring)h(of)f Fv(string)p Fw(,)g(with)g(all)f(c)o(haracters)j(in)e +Fv(char)n(acter-)0 1475 y(b)n(ag)g Fw(stripp)q(ed)h(o\013)f(the)h(b)q +(eginning)f(and)g(end.)25 b(The)16 b(function)g Fs(string-left-trim)d +Fw(is)0 1527 y(similar)7 b(but)j(strips)h(c)o(haracters)g(o\013)f(only) +f(the)h(b)q(eginning;)g Fs(string-right-trim)c Fw(strips)0 +1579 y(o\013)11 b(only)f(the)h(end.)18 b(The)11 b(argumen)o(t)f +Fv(char)n(acter-b)n(ag)h Fw(ma)o(y)e(b)q(e)i(an)o(y)g(sequence)i(con)o +(taining)0 1630 y(c)o(haracters.)20 b(F)m(or)13 b(example:)0 +1720 y Fs(\(string-trim)280 1724 y Fn(')304 1720 y Fs(\(#)326 +1716 y(-)326 1724 y(-)347 1720 y(\\Space)20 b(#)499 1716 +y(-)499 1724 y(-)521 1720 y(\\Tab)h(#)630 1716 y(-)630 +1724 y(-)651 1720 y(\\Newline\))f(")h(garbanzo)e(beans)169 +1772 y("\))i Ft(\))g Fs("garbanzo)e(beans")0 1824 y(\(string-trim)g(")i +(\(*\)")f(")h(\()g(*three)f(\(silly\))g(words*)g(\))g("\))64 +1876 y Ft(\))g Fs("three)g(\(silly\))g(words")0 1928 +y(\(string-left-trim)e(")j(\(*\)")f(")h(\()g(*three)f(\(silly\))g +(words*)f(\))i("\))64 1980 y Ft(\))f Fs("three)g(\(silly\))g(words*)g +(\))h(")0 2032 y(\(string-right-tri)o(m)d(")j(\(*\)")g(")g(\()g(*three) +f(\(silly\))f(words*)h(\))h("\))64 2083 y Ft(\))f Fs(")h(\()g(*three)f +(\(silly\))g(words")0 2173 y Fw(If)d(no)g(c)o(haracters)j(need)e(to)g +(b)q(e)g(trimmed)d(from)h(the)i Fv(string)p Fw(,)f(then)i(either)f(the) +g(argu-)0 2225 y(men)o(t)f Fv(string)g Fw(itself)g(or)h(a)f(cop)o(y)h +(of)f(it)g(ma)o(y)f(b)q(e)i(returned,)i(at)e(the)g(discretion)g(of)f +(the)0 2276 y(implemen)o(tatio)o(n.)42 2329 y(X3J13)c(v)o(oted)h(in)g +(June)g(1989)f Ft(h)p Fw(169)p Ft(i)h Fw(to)f(clarify)g(string)h(co)q +(ercion)h(\(see)g Fs(string)p Fw(\).)-33 2300 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 501 525 +501 524 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(STRINGS)1180 b(501)1209 +295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(string-upcase)18 +b Fv(string)25 b Fs(&key)20 b(:start)g(:end)1209 347 +y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(string-downcase)18 +b Fv(string)24 b Fs(&key)d(:start)f(:end)1209 399 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(string-capitalize)18 +b Fv(string)24 b Fs(&key)c(:start)g(:end)0 475 y(string-upcase)12 +b Fw(returns)k(a)e(string)h(just)g(lik)o(e)f Fv(string)g +Fw(with)g(all)g(lo)o(w)o(ercase)h(c)o(haracters)0 527 +y(replaced)21 b(b)o(y)f(the)h(corresp)q(onding)g(upp)q(ercase)h(c)o +(haracters.)38 b(More)21 b(precisely)m(,)g(eac)o(h)0 +579 y(c)o(haracter)g(of)f(the)h(result)f(string)h(is)e(pro)q(duced)j(b) +o(y)e(applying)e(the)j(function)f Fs(char-)0 631 y(upcase)13 +b Fw(to)g(the)i(corresp)q(onding)g(c)o(haracter)g(of)e +Fv(string)p Fw(.)42 683 y Fs(string-downcase)6 b Fw(is)k(similar,)e +(except)j(that)f(upp)q(ercase)i(c)o(haracters)f(are)g(con)o(v)o(erted)0 +735 y(to)j(lo)o(w)o(ercase)g(c)o(haracters)i(\(using)e +Fs(char-downcase)p Fw(\).)42 787 y(The)f(k)o(eyw)o(ord)h(argumen)o(ts)e +Fs(:start)g Fw(and)h Fs(:end)g Fw(delimit)e(the)j(p)q(ortion)f(of)g +(the)h(string)0 839 y(to)g(b)q(e)g(a\013ected.)20 b(The)14 +b(result)h(is)e(alw)o(a)o(ys)g(of)h(the)g(same)f(length)h(as)g +Fv(string)p Fw(,)f(ho)o(w)o(ev)o(er.)42 890 y(The)h(argumen)o(t)f(is)g +(not)h(destro)o(y)o(ed.)20 b(Ho)o(w)o(ev)o(er,)13 b(if)g(no)h(c)o +(haracters)i(in)d(the)i(argumen)o(t)0 942 y(require)h(con)o(v)o +(ersion,)e(the)i(result)f(ma)o(y)e(b)q(e)j(either)f(the)h(argumen)o(t)d +(or)i(a)g(cop)o(y)f(of)h(it,)f(at)0 994 y(the)g(implemen)o(tation's)d +(discretion.)18 b(F)m(or)c(example:)0 1077 y Fs(\(string-upcase)k("Dr.) +j(Livingstone,)d(I)j(presume?"\))64 1129 y Ft(\))f Fs("DR.)h +(LIVINGSTONE,)d(I)j(PRESUME?")0 1181 y(\(string-downcase)d("Dr.)i +(Livingstone,)f(I)i(presume?"\))64 1233 y Ft(\))f Fs("dr.)h +(livingstone,)d(i)j(presume?")0 1285 y(\(string-upcase)d("Dr.)j +(Livingstone,)d(I)j(presume?")f(:start)g(6)g(:end)h(10\))64 +1337 y Ft(\))f Fs("Dr.)h(LiVINGstone,)d(I)j(presume?")42 +1420 y(string-capitali)o(ze)15 b Fw(pro)q(duces)k(a)f(cop)o(y)g(of)f +Fv(string)g Fw(suc)o(h)i(that,)g(for)e(ev)o(ery)i(w)o(ord)0 +1472 y(in)d(the)i(cop)o(y)m(,)f(the)g(\014rst)h(c)o(haracter)g(of)e +(the)i(w)o(ord,)f(if)f(case-mo)q(di\014able,)g(is)h(upp)q(ercase)0 +1524 y(and)e(an)o(y)g(other)h(case-mo)q(di\014able)e(c)o(haracters)i +(in)f(the)h(w)o(ord)f(are)h(lo)o(w)o(ercase.)22 b(F)m(or)15 +b(the)0 1576 y(purp)q(oses)i(of)e Fs(string-capitalize)p +Fw(,)d(a)k(w)o(ord)f(is)h(de\014ned)g(to)g(b)q(e)g(a)f(consecutiv)o(e)i +(sub-)0 1627 y(sequence)j(consisting)f(of)e(alphan)o(umeric)g(c)o +(haracters)j(or)e(digits,)h(delimited)d(at)i(eac)o(h)0 +1679 y(end)e(either)h(b)o(y)f(a)f(non-alphan)o(umeric)f(c)o(haracter)j +(or)f(b)o(y)g(an)f(end)i(of)e(the)h(string.)24 b(F)m(or)0 +1731 y(example:)0 1814 y Fs(\(string-capitaliz)o(e)18 +b(")j(hello)g("\))f Ft(\))h Fs(")g(Hello)f(")0 1866 y +(\(string-capitaliz)o(e)85 1918 y("occlUDeD)f(cASEmenTs)g(FOreSTAll)h +(iNADVertent)f(DEFenestraTION")o(\))0 1970 y Ft(\))43 +b Fs("Occluded)19 b(Casements)g(Forestall)h(Inadvertent)f +(Defenestration")0 2022 y(\(string-capitaliz)o(e)411 +2026 y Fn(')435 2022 y Fs(kludgy-hash-sear)o(ch\))f Ft(\))j +Fs("Kludgy-Hash-Se)o(arch")0 2074 y(\(string-capitaliz)o(e)d("DON)499 +2078 y Fn(')522 2074 y Fs(T!"\))i Ft(\))h Fs("Don)779 +2078 y Fn(')801 2074 y Fs(T!")105 b(;)p Fv(not)22 b Fs("Don)1160 +2078 y Fn(')1182 2074 y Fs(t!")0 2126 y(\(string-capitaliz)o(e)c("pipe) +j(13a,)f(foo16c"\))f Ft(\))i Fs("Pipe)f(13a,)h(Foo16c")42 +2209 y Fw(X3J13)13 b(v)o(oted)h(in)g(June)g(1989)f Ft(h)p +Fw(169)p Ft(i)h Fw(to)f(clarify)g(string)h(co)q(ercion)h(\(see)g +Fs(string)p Fw(\).)-33 2180 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2269 V 0 2329 a Fm(Compatibilit)o(y)k(note:)30 +b FA(Some)20 b(v)o(ery)f(appro)o(ximate)i(In)o(terlisp)g(equiv)n(alen)o +(ts)h(to)d Fj(string-)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 502 526 +502 525 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(502)77 b(COMMON)13 +b(LISP)0 295 y Fj(upcase)p FA(,)8 b Fj(string-dow)o(nc)o(ase)o +FA(,)g(and)j Fj(string-ca)o(pi)o(tal)o(ize)6 b FA(are)11 +b Fj(u-case)p FA(,)d Fj(l-case)g FA(with)j(second)0 340 +y(argumen)o(t)j Fj(nil)p FA(,)d(and)j Fj(l-case)c FA(with)k(second)g +(argumen)o(t)g Fj(t)p FA(.)p 0 373 V 1209 471 a Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(nstring-upcase)18 b +Fv(string)25 b Fs(&key)20 b(:start)g(:end)1209 523 y +Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(nstring-downcase)18 +b Fv(string)24 b Fs(&key)c(:start)g(:end)1209 575 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(nstring-capitaliz)o(e)18 +b Fv(string)25 b Fs(&key)20 b(:start)g(:end)0 652 y Fw(These)f(three)g +(functions)f(are)h(just)f(lik)o(e)f Fs(string-upcase)p +Fw(,)f Fs(string-downcase)p Fw(,)f(and)0 703 y Fs(string-capitalize)8 +b Fw(but)j(destructiv)o(ely)h(mo)q(dify)d(the)j(argumen)o(t)e +Fv(string)g Fw(b)o(y)h(altering)0 755 y(case-mo)q(di\014able)i(c)o +(haracters)i(as)f(necessary)m(.)42 807 y(The)f(k)o(eyw)o(ord)h(argumen) +o(ts)e Fs(:start)g Fw(and)h Fs(:end)g Fw(delimit)e(the)j(p)q(ortion)f +(of)g(the)h(string)0 859 y(to)g(b)q(e)g(a\013ected.)20 +b(The)14 b(argumen)o(t)f Fv(string)g Fw(is)h(returned)h(as)f(the)h +(result.)1209 978 y([)p Fv(F)m(unction)s Fw(])-1395 b +Fs(string)20 b Fv(x)0 1055 y Fw(Most)d(of)f(the)i(string)f(functions)g +(e\013ectiv)o(ely)g(apply)g Fs(string)e Fw(to)i(suc)o(h)h(of)e(their)h +(argu-)0 1107 y(men)o(ts)e(as)g(are)h(supp)q(osed)g(to)f(b)q(e)h +(strings.)23 b(If)15 b Fv(x)g Fw(is)g(a)g(string,)h(it)f(is)g +(returned.)24 b(If)14 b Fv(x)i Fw(is)f(a)0 1159 y(sym)o(b)q(ol,)d(its)h +(prin)o(t)h(name)f(is)h(returned.)42 1210 y(If)g Fv(x)i +Fw(is)e(a)h(string)g(c)o(haracter)i(\(a)e(c)o(haracter)h(of)f(t)o(yp)q +(e)g Fs(string-char)p Fw(\),)e(then)j(a)f(string)-38 +1185 y Fk(.)-38 1198 y(.)-38 1211 y(.)-38 1224 y(.)-38 +1237 y(.)-38 1250 y(.)-38 1263 y(.)-38 1276 y(.)-38 1289 +y(.)-38 1302 y(.)-38 1315 y(.)-38 1328 y(.)-38 1341 y(.)-38 +1354 y(.)-38 1367 y(.)-38 1380 y(.)-38 1393 y(.)-38 1406 +y(.)-38 1419 y(.)-38 1432 y(.)-38 1445 y(.)-38 1458 y(.)-38 +1471 y(.)-38 1484 y(.)-38 1497 y(.)-38 1510 y(.)-38 1523 +y(.)-38 1536 y(.)-38 1549 y(.)-38 1562 y(.)-38 1575 y(.)-38 +1588 y(.)-38 1601 y(.)-38 1613 y(.)-38 1626 y(.)-38 1639 +y(.)-38 1652 y(.)-38 1665 y(.)-38 1678 y(.)-38 1691 y(.)-38 +1704 y(.)-38 1717 y(.)-38 1730 y(.)-38 1743 y(.)-38 1756 +y(.)-38 1769 y(.)-38 1782 y(.)-38 1795 y(.)-38 1808 y(.)-38 +1821 y(.)-38 1834 y(.)-38 1847 y(.)-38 1860 y(.)-38 1873 +y(.)-38 1886 y(.)-38 1899 y(.)-38 1912 y(.)-38 1925 y(.)-38 +1938 y(.)-38 1951 y(.)-38 1964 y(.)-38 1977 y(.)-38 1990 +y(.)-38 2003 y(.)-38 2016 y(.)-38 2029 y(.)-38 2042 y(.)-38 +2055 y(.)-38 2068 y(.)-38 2080 y(.)-38 2093 y(.)-38 2106 +y(.)-38 2119 y(.)-38 2132 y(.)-38 2145 y(.)-38 2158 y(.)-38 +2171 y(.)-38 2184 y(.)-38 2197 y(.)-38 2210 y(.)-38 2223 +y(.)-38 2236 y(.)-38 2249 y(.)-38 2262 y(.)-38 2275 y(.)-38 +2288 y(.)-38 2301 y(.)-38 2314 y(.)-38 2327 y(.)-38 2340 +y(.)-38 2353 y(.)-38 2366 y(.)-38 2379 y(.)-38 2392 y(.)-38 +2405 y(.)-38 2418 y(.)-38 2431 y(.)-38 2444 y(.)-38 2457 +y(.)-38 2470 y(.)-38 2483 y(.)-38 2496 y(.)-38 2509 y(.)-38 +2522 y(.)-38 2535 y(.)-38 2547 y(.)-38 2560 y(.)-38 2573 +y(.)-38 2586 y(.)-38 2599 y(.)-38 2612 y(.)-38 2625 y(.)-38 +2638 y(.)-38 2651 y(.)-38 2664 y(.)-38 2677 y(.)-38 2690 +y(.)-38 2703 y(.)-38 2716 y(.)-38 2729 y(.)-38 2742 y(.)-38 +2755 y(.)-38 2768 y(.)-38 2781 y(.)-38 2794 y(.)-38 2807 +y(.)-38 2820 y(.)-38 2833 y(.)-38 2846 y(.)-38 2859 y(.)-38 +2872 y(.)-38 2885 y(.)-38 2898 y(.)-38 2911 y(.)-38 2924 +y(.)-38 2937 y(.)-38 2950 y(.)-38 2963 y(.)-38 2976 y(.)-38 +2989 y(.)-38 3002 y(.)-38 3014 y(.)-38 3027 y(.)-38 3040 +y(.)-38 3053 y(.)-38 3066 y(.)-38 3079 y(.)-38 3092 y(.)-38 +3105 y(.)-38 3118 y(.)-38 3131 y(.)-38 3144 y(.)-38 3157 +y(.)-38 3170 y(.)-38 3183 y(.)-38 3196 y(.)-38 3209 y(.)-38 +3222 y(.)-38 3235 y(.)-38 3248 y(.)-38 3261 y(.)-38 3274 +y(.)-38 3287 y(.)-38 3300 y(.)-38 3313 y(.)-38 3326 y(.)-38 +3339 y(.)-38 3352 y(.)-38 3365 y(.)-38 3378 y(.)-38 3391 +y(.)-38 3404 y(.)-38 3417 y(.)-38 3430 y(.)-38 3443 y(.)-38 +3456 y(.)-38 3469 y(.)-38 3481 y(.)-38 3494 y(.)-38 3507 +y(.)-38 3520 y(.)-38 3533 y(.)-38 3546 y(.)-38 3559 y(.)-38 +3572 y(.)-38 3585 y(.)-38 3598 y(.)-38 3611 y(.)-38 3624 +y(.)-38 3637 y(.)-38 3650 y(.)-38 3663 y(.)-38 3676 y(.)-38 +3689 y(.)-38 3702 y(.)-38 3715 y(.)-38 3728 y(.)-38 3741 +y(.)-38 3754 y(.)-38 3767 y(.)0 1262 y Fw(con)o(taining)e(that)h(one)g +(c)o(haracter)h(is)f(returned.)-33 1274 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1314 a(X3J13)i(v)o(oted)h(in)g(Marc)o(h)g(1989)f +Ft(h)p Fw(11)p Ft(i)h Fw(to)f(eliminate)f(the)j(t)o(yp)q(e)f +Fs(string-char)e Fw(and)-33 1286 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1366 a(to)h(rede\014ne)i(the)e(t)o(yp)q(e)h +Fs(string)d Fw(to)i(b)q(e)h(the)g(union)e(of)g(one)i(or)f(more)f(sp)q +(ecialized)h(v)o(ec-)0 1418 y(tor)g(t)o(yp)q(es,)h(the)f(t)o(yp)q(es)h +(of)e(whose)i(elemen)o(ts)e(are)i(subt)o(yp)q(es)g(of)e(the)i(t)o(yp)q +(e)f Fs(character)p Fw(.)0 1470 y(Presumably)c(con)o(v)o(erting)h(a)g +(c)o(haracter)h(to)f(a)g(string)g(alw)o(a)o(ys)f(w)o(orks)h(according)g +(to)g(this)0 1522 y(v)o(ote.)-33 1533 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1574 a(In)g(an)o(y)h(other)g(situation,)f(an)h(error)h +(is)e(signaled.)42 1626 y(T)m(o)j(con)o(v)o(ert)j(a)e(sequence)j(of)d +(c)o(haracters)j(to)d(a)g(string,)i(use)f Fs(coerce)p +Fw(.)28 b(\(Note)19 b(that)0 1677 y Fs(\(coerce)h(x)214 +1681 y Fn(')238 1677 y Fs(string\))15 b Fw(will)g(not)h(succeed)j(if)c +Fs(x)h Fw(is)h(a)f(sym)o(b)q(ol.)24 b(Con)o(v)o(ersely)m(,)16 +b Fs(string)0 1729 y Fw(will)c(not)i(con)o(v)o(ert)h(a)e(list)h(or)g +(other)g(sequence)i(to)e(b)q(e)g(a)g(string.\))42 1781 +y(T)m(o)f(get)i(the)g(string)f(represen)o(tation)i(of)d(a)h(n)o(um)o(b) +q(er)g(or)g(an)o(y)g(other)h(Lisp)f(ob)r(ject,)h(use)0 +1833 y Fs(prin1-to-string)p Fw(,)10 b Fs(princ-to-string)p +Fw(,)h(or)i Fs(format)p Fw(.)42 1885 y(X3J13)19 b(v)o(oted)h(in)g(June) +h(1989)e Ft(h)p Fw(169)p Ft(i)h Fw(to)g(sp)q(ecify)g(that)g(the)h +(follo)o(wing)d(functions)-33 1857 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1937 a(p)q(erform)11 b(co)q(ercion)i(on)e(their)h +Fv(string)f Fw(argumen)o(ts)h(iden)o(tical)f(to)g(that)h(p)q(erformed)g +(b)o(y)f(the)0 1989 y(function)j Fs(string)p Fw(.)0 2070 +y Fs(string)132 2066 y(U)132 2074 y(U)367 2070 y(string-equal)393 +b(string-trim)0 2122 y(string<)213 b(string-lessp)393 +b(string-left-trim)0 2174 y(string>)213 b(string-greaterp)327 +b(string-right-trim)0 2226 y(string<)154 2222 y(U)154 +2230 y(U)367 2226 y(string-not-greaterp)239 b(string-upcase)0 +2278 y(string>)154 2274 y(U)154 2282 y(U)367 2278 y(string-not-lessp) +305 b(string-downcase)0 2330 y(string/)154 2326 y(U)154 +2334 y(U)367 2330 y(string-not-equal)g(string-capitalize)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 503 527 +503 526 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(STRINGS)1180 b(503)0 +295 y Fw(Note)19 b(that)g Fs(nstring-upcase)p Fw(,)e +Fs(nstring-downcase)o Fw(,)g(and)h Fs(nstring-capitalize)0 +347 y Fw(are)h(absen)o(t)g(from)e(this)i(list;)h(b)q(ecause)g(they)f +(mo)q(dify)e(destructiv)o(ely)m(,)j(the)f(argumen)o(t)0 +399 y(m)o(ust)13 b(b)q(e)h(a)g(string.)42 450 y(As)h(part)h(of)f(the)h +(same)f(v)o(ote)g(X3J13)g(sp)q(eci\014ed)j(that)d Fs(string)f +Fw(ma)o(y)g(p)q(erform)h(addi-)0 502 y(tional)i(implem)o(en)o +(tation-dep)q(enden)o(t)g(co)q(ercions)i(but)f(the)g(returned)i(v)n +(alue)d(m)o(ust)g(b)q(e)0 554 y(of)k(t)o(yp)q(e)g Fs(string)p +Fw(.)39 b(Only)21 b(when)g(no)g(co)q(ercion)h(is)f(de\014ned,)j +(whether)e(standard)g(or)0 606 y(implemen)o(tatio)o(n-dep)q(enden)o(t,) +c(is)h Fs(string)e Fw(required)i(to)g(signal)e(an)i(error,)h(in)e(whic) +o(h)0 658 y(case)d(the)f(error)h(condition)e(m)o(ust)g(b)q(e)i(of)e(t)o +(yp)q(e)h Fs(type-error)p Fw(.)-33 670 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1674 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 504 528 +504 527 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(19)p 0 448 598 +9 v 0 531 a Fp(Structures)0 889 y Fw(Common)14 b(Lisp)j(pro)o(vides)g +(a)g(facilit)o(y)e(for)i(creating)g(named)f(record)i(structures)i(with) +0 941 y(named)11 b(comp)q(onen)o(ts.)17 b(In)12 b(e\013ect,)i(the)e +(user)h(can)g(de\014ne)g(a)e(new)i(data)f(t)o(yp)q(e;)g(ev)o(ery)h +(data)0 993 y(structure)21 b(of)c(that)i(t)o(yp)q(e)g(has)f(comp)q +(onen)o(ts)g(with)g(sp)q(eci\014ed)i(names.)31 b(Constructor,)0 +1045 y(access,)20 b(and)d(assignmen)o(t)f(constructs)k(are)d +(automatically)e(de\014ned)j(when)g(the)g(data)0 1097 +y(t)o(yp)q(e)c(is)g(de\014ned.)42 1149 y(This)h(c)o(hapter)h(is)g +(divided)f(in)o(to)g(t)o(w)o(o)g(parts.)23 b(The)16 b(\014rst)h(part)f +(discusses)h(the)f(basics)0 1201 y(of)j(the)i(structure)h(facilit)o(y)m +(,)d(whic)o(h)h(is)g(v)o(ery)g(simple)f(and)g(allo)o(ws)g(the)i(user)g +(to)f(tak)o(e)0 1253 y(adv)n(an)o(tage)15 b(of)g(the)h(t)o(yp)q(e-c)o +(hec)o(king,)g(mo)q(dularit)o(y)m(,)d(and)i(con)o(v)o(enience)i(of)e +(user-de\014ned)0 1304 y(record)h(data)e(t)o(yp)q(es.)21 +b(The)15 b(second)h(part,)e(b)q(eginning)g(with)g(section)h(19.5,)e +(discusses)k(a)0 1356 y(n)o(um)o(b)q(er)11 b(of)h(sp)q(ecialized)h +(features)g(of)f(the)g(facilit)o(y)f(that)h(ha)o(v)o(e)g(adv)n(anced)g +(applications.)0 1408 y(These)h(features)g(are)g(completely)e +(optional,)f(and)i(y)o(ou)g(needn't)h(ev)o(en)f(kno)o(w)g(they)g(exist) +0 1460 y(in)h(order)i(to)f(tak)o(e)g(adv)n(an)o(tage)f(of)g(the)i +(basics.)0 1618 y Fo(19.1.)20 b(In)n(tro)r(duction)15 +b(to)f(Structures)0 1706 y Fw(The)g(structure)i(facilit)o(y)c(is)i(em)o +(b)q(o)q(died)f(in)g(the)h Fs(defstruct)e Fw(macro,)g(whic)o(h)i(allo)o +(ws)e(the)0 1758 y(user)j(to)f(create)h(and)f(use)h(aggregate)f(data)f +(t)o(yp)q(es)i(with)e(named)g(elemen)o(ts.)18 b(These)d(are)0 +1809 y(lik)o(e)e(\\structures")j(in)d(PL/I,)h(or)g(\\records")h(in)e(P) +o(ascal.)42 1862 y(As)d(an)f(example,)g(assume)h(y)o(ou)f(are)i +(writing)e(a)g(Lisp)h(program)e(that)i(deals)g(with)g(space)0 +1913 y(ships)16 b(in)f(a)g(t)o(w)o(o-dimensional)e(plane.)23 +b(In)15 b(y)o(our)g(program,)f(y)o(ou)h(need)i(to)e(represen)o(t)j(a)0 +1965 y(space)i(ship)e(b)o(y)h(a)f(Lisp)h(ob)r(ject)g(of)g(some)e(kind.) +32 b(The)20 b(in)o(teresting)f(things)f(ab)q(out)h(a)0 +2017 y(space)c(ship,)f(as)g(far)g(as)g(y)o(our)g(program)e(is)i +(concerned,)i(are)e(its)g(p)q(osition)g(\(represen)o(ted)0 +2069 y(as)g Fv(x)f Fw(and)h Fv(y)f Fw(co)q(ordinates\),)h(v)o(elo)q +(cit)o(y)f(\(represen)o(ted)k(as)c(comp)q(onen)o(ts)h(along)e(the)i +Fv(x)g Fw(and)0 2121 y Fv(y)g Fw(axes\),)g(and)g(mass.)42 +2173 y(A)c(ship)g(migh)o(t)e(therefore)k(b)q(e)f(represen)o(ted)i(as)d +(a)g(record)h(structure)i(with)d(\014v)o(e)g(comp)q(o-)0 +2225 y(nen)o(ts:)21 b Fv(x)p Fw(-p)q(osition,)15 b Fv(y)p +Fw(-p)q(osition,)f Fv(x)p Fw(-v)o(elo)q(cit)o(y)m(,)g +Fv(y)p Fw(-v)o(elo)q(cit)o(y)m(,)g(and)h(mass.)21 b(This)15 +b(structure)0 2277 y(could)10 b(in)g(turn)g(b)q(e)h(implemen)o(ted)d +(as)i(a)g(Lisp)g(ob)r(ject)h(in)f(a)f(n)o(um)o(b)q(er)h(of)f(w)o(a)o +(ys.)17 b(It)10 b(could)g(b)q(e)0 2329 y(a)i(list)g(of)g(\014v)o(e)g +(elemen)o(ts;)h(the)g Fv(x)p Fw(-p)q(osition)f(could)g(b)q(e)h(the)g +Fv(c)n(ar)p Fw(,)f(the)h Fv(y)p Fw(-p)q(osition)e(the)i +Fv(c)n(adr)p Fw(,)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2428 a Fy(504)p eop +%%Page: 505 529 +505 528 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(STRUCTURES)1093 +b(505)0 295 y Fw(and)15 b(so)h(on.)22 b(Equally)15 b(w)o(ell)f(it)h +(could)h(b)q(e)g(a)f(v)o(ector)h(of)f(\014v)o(e)g(elemen)o(ts:)21 +b(the)16 b Fv(x)p Fw(-p)q(osition)0 347 y(could)g(b)q(e)g(elemen)o(t)g +(0,)f(the)i Fv(y)p Fw(-p)q(osition)e(elemen)o(t)h(1,)f(and)h(so)g(on.) +24 b(The)16 b(problem)f(with)0 399 y(either)j(of)f(these)h(represen)o +(tations)h(is)e(that)g(the)h(comp)q(onen)o(ts)f(o)q(ccup)o(y)h(places)f +(in)g(the)0 450 y(ob)r(ject)g(that)g(are)g(quite)f(arbitrary)h(and)f +(hard)h(to)f(remem)o(b)q(er.)25 b(Someone)16 b(lo)q(oking)f(at)0 +502 y Fs(\(cadddr)20 b(ship1\))12 b Fw(or)i Fs(\(aref)20 +b(ship1)g(3\))13 b Fw(in)g(a)g(piece)i(of)e(co)q(de)h(migh)o(t)e +(\014nd)h(it)g(di\016cult)0 554 y(to)g(determine)h(that)f(this)h(is)f +(accessing)h(the)g Fv(y)p Fw(-v)o(elo)q(cit)o(y)f(comp)q(onen)o(t)g(of) +g Fs(ship1)p Fw(.)j(More-)0 606 y(o)o(v)o(er,)g(if)f(the)i(represen)o +(tation)h(of)d(a)h(ship)g(should)g(ha)o(v)o(e)g(to)g(b)q(e)h(c)o +(hanged,)f(it)g(w)o(ould)f(b)q(e)0 658 y(v)o(ery)h(di\016cult)f(to)h +(\014nd)g(all)f(the)h(places)h(in)e(the)i(co)q(de)g(to)e(b)q(e)i(c)o +(hanged)f(to)g(matc)o(h)f(\(not)0 710 y(all)d(o)q(ccurrences)17 +b(of)c Fs(cadddr)g Fw(are)h(in)o(tended)g(to)g(extract)g(the)h +Fv(y)p Fw(-v)o(elo)q(cit)o(y)e(from)f(a)h(ship\).)42 +762 y(Ideally)18 b(comp)q(onen)o(ts)g(of)g(record)i(structures)i +(should)c(ha)o(v)o(e)h(names.)32 b(One)20 b(w)o(ould)0 +814 y(lik)o(e)d(to)g(write)h(something)e(lik)o(e)h Fs +(\(ship-y-velocity)h(ship1\))e Fw(instead)i(of)f Fs(\(cadddr)0 +866 y(ship1\))p Fw(.)f(One)d(w)o(ould)e(also)g(lik)o(e)g(a)h(more)f +(mnemonic)e(w)o(a)o(y)j(to)f(create)j(a)d(ship)h(than)g(this:)0 +952 y Fs(\(list)20 b(0)h(0)g(0)g(0)g(0\))0 1038 y Fw(Indeed,)15 +b(one)g(w)o(ould)f(lik)o(e)f Fs(ship)h Fw(to)g(b)q(e)h(a)f(new)h(data)g +(t)o(yp)q(e,)f(just)h(lik)o(e)f(other)h(Lisp)f(data)0 +1090 y(t)o(yp)q(es,)j(that)f(one)g(could)f(test)i(with)f +Fs(typep)p Fw(,)e(for)i(example.)22 b(The)16 b Fs(defstruct)e +Fw(facilit)o(y)0 1142 y(pro)o(vides)g(all)f(of)g(this.)42 +1194 y Fs(defstruct)i Fw(itself)j(is)g(a)f(macro)g(that)h(de\014nes)h +(a)f(structure.)32 b(F)m(or)17 b(the)i(space)g(ship)0 +1246 y(example,)12 b(one)i(migh)o(t)e(de\014ne)j(the)f(structure)i(b)o +(y)e(sa)o(ying:)0 1333 y Fs(\(defstruct)19 b(ship)42 +1384 y(x-position)42 1436 y(y-position)42 1488 y(x-velocity)42 +1540 y(y-velocity)42 1592 y(mass\))0 1678 y Fw(This)13 +b(declares)i(that)f(ev)o(ery)g Fs(ship)f Fw(is)g(an)h(ob)r(ject)g(with) +f(\014v)o(e)h(named)f(comp)q(onen)o(ts.)k(The)0 1730 +y(ev)n(aluation)12 b(of)i(this)g(form)e(do)q(es)i(sev)o(eral)h(things:) +0 1791 y Fu(.)42 1800 y Fw(It)e(de\014nes)i Fs(ship-x-position)10 +b Fw(to)k(b)q(e)g(a)f(function)h(of)e(one)i(argumen)o(t,)e(a)i(ship,)f +(that)42 1852 y(returns)h(the)g Fv(x)p Fw(-p)q(osition)f(of)g(the)h +(ship;)f Fs(ship-y-position)d Fw(and)j(the)h(other)g(comp)q(o-)42 +1904 y(nen)o(ts)h(are)g(giv)o(en)f(similar)d(function)k(de\014nitions.) +k(These)d(functions)e(are)h(called)f(the)42 1956 y Fv(ac)n(c)n(ess)h +(functions)p Fw(,)e(as)h(they)h(are)f(used)h(to)f(access)h(elemen)o(ts) +f(of)f(the)i(structure.)0 2030 y Fu(.)42 2039 y Fw(The)h(sym)o(b)q(ol)f +Fs(ship)g Fw(b)q(ecomes)h(the)h(name)e(of)h(a)g(data)g(t)o(yp)q(e)g(of) +g(whic)o(h)g(instances)h(of)42 2091 y(ships)e(are)g(elemen)o(ts.)21 +b(This)14 b(name)g(b)q(ecomes)h(acceptable)h(to)f Fs(typep)p +Fw(,)e(for)h(example;)42 2142 y Fs(\(typep)19 b(x)234 +2146 y Fn(')258 2142 y Fs(ship\))10 b Fw(is)h(true)i(if)d +Fs(x)i Fw(is)f(a)g(ship)h(and)f(false)g(if)g Fs(x)g Fw(is)g(an)o(y)g +(ob)r(ject)i(other)f(than)42 2194 y(a)h(ship.)0 2268 +y Fu(.)42 2277 y Fw(A)g(function)f(named)g Fs(ship-p)g +Fw(of)g(one)h(argumen)o(t)f(is)h(de\014ned;)h(it)e(is)h(a)g(predicate)h +(that)42 2329 y(is)f(true)i(if)e(its)h(argumen)o(t)f(is)g(a)h(ship)g +(and)g(is)f(false)h(otherwise.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 506 530 +506 529 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(506)77 b(COMMON)13 +b(LISP)0 286 y Fu(.)42 295 y Fw(A)k(function)g(called)g +Fs(make-ship)e Fw(is)j(de\014ned)g(that,)g(when)g(in)o(v)o(ok)o(ed,)e +(will)g(create)j(a)42 347 y(data)13 b(structure)j(with)e(\014v)o(e)g +(comp)q(onen)o(ts,)f(suitable)h(for)f(use)i(with)e(the)i(access)h +(func-)42 399 y(tions.)h(Th)o(us)e(executing)42 479 y +Fs(\(setq)20 b(ship2)g(\(make-ship\)\))42 560 y Fw(sets)g +Fs(ship2)f Fw(to)g(a)g(newly)h(created)g Fs(ship)f Fw(ob)r(ject.)36 +b(One)20 b(can)g(sp)q(ecify)g(the)g(initial)42 612 y(v)n(alues)11 +b(of)h(an)o(y)f(desired)i(comp)q(onen)o(t)f(in)f(the)i(call)e(to)h +Fs(make-ship)e Fw(b)o(y)i(using)g(k)o(eyw)o(ord)42 664 +y(argumen)o(ts)h(in)g(this)h(w)o(a)o(y:)42 745 y Fs(\(setq)20 +b(ship2)g(\(make-ship)f(:mass)h(*default-ship-mass)o(*)528 +797 y(:x-position)f(0)528 849 y(:y-position)g(0\)\))42 +930 y Fw(This)e(constructs)j(a)d(new)h(ship)g(and)f(initializes)g +(three)i(of)e(its)h(comp)q(onen)o(ts.)29 b(This)42 982 +y(function)10 b(is)g(called)g(the)h Fv(c)n(onstructor)g(function)g +Fw(b)q(ecause)h(it)e(constructs)i(a)e(new)h(struc-)42 +1034 y(ture.)0 1106 y Fu(.)42 1115 y Fw(The)19 b Fs(#)132 +1111 y(-)132 1119 y(-)154 1115 y(S)g Fw(syn)o(tax)h(can)f(b)q(e)h(used) +h(to)e(read)h(instances)h(of)d Fs(ship)h Fw(structures,)k(and)c(a)42 +1166 y(prin)o(ter)c(function)g(is)f(pro)o(vided)h(for)g(prin)o(ting)f +(out)h(ship)f(structures.)24 b(F)m(or)14 b(example,)42 +1218 y(the)g(v)n(alue)f(of)h(the)g(v)n(ariable)f Fs(ship2)g +Fw(sho)o(wn)h(ab)q(o)o(v)o(e)f(migh)o(t)f(b)q(e)i(prin)o(ted)h(as)42 +1299 y Fs(#)42 1295 y(-)42 1303 y(-)63 1299 y(S\(ship)20 +b(x-position)f(0)i(y-position)e(0)i(x-velocity)e(nil)232 +1351 y(y-velocity)g(nil)i(mass)f(170000.0\))0 1423 y +Fu(.)42 1432 y Fw(A)12 b(function)h(called)f Fs(copy-ship)f +Fw(of)h(one)h(argumen)o(t)e(is)i(de\014ned)g(that,)g(when)g(giv)o(en)f +(a)42 1484 y Fs(ship)h Fw(ob)r(ject,)h(will)f(create)i(a)f(new)h +Fs(ship)e Fw(ob)r(ject)i(that)f(is)g(a)g(cop)o(y)g(of)g(the)g(giv)o(en) +g(one.)42 1536 y(This)f(function)h(is)g(called)f(the)i +Fv(c)n(opier)f(function)p Fw(.)0 1608 y Fu(.)42 1617 +y Fw(One)g(ma)o(y)e(use)j Fs(setf)e Fw(to)h(alter)g(the)g(comp)q(onen)o +(ts)g(of)f(a)g Fs(ship)p Fw(:)42 1698 y Fs(\(setf)20 +b(\(ship-x-position)e(ship2\))h(100\))42 1779 y Fw(This)10 +b(alters)h(the)g Fv(x)p Fw(-p)q(osition)f(of)g Fv(ship2)h +Fw(to)g(b)q(e)g Fs(100)p Fw(.)16 b(This)11 b(w)o(orks)f(b)q(ecause)j +Fs(defstruct)42 1831 y Fw(b)q(eha)o(v)o(es)21 b(as)g(if)e(it)i +(generates)h(an)e(appropriate)h Fs(defsetf)e Fw(form)g(for)h(eac)o(h)h +(access)42 1883 y(function.)42 1951 y(This)11 b(simple)f(example)h +(illustrates)h(the)g(p)q(o)o(w)o(er)g(of)f Fs(defstruct)f +Fw(to)h(pro)o(vide)h(abstract)0 2003 y(record)g(structures)h(in)e(a)f +(con)o(v)o(enien)o(t)h(manner.)16 b Fs(defstruct)9 b +Fw(has)i(man)o(y)e(other)j(features)0 2055 y(as)i(w)o(ell)f(for)h(sp)q +(ecialized)g(purp)q(oses.)0 2195 y Fo(19.2.)20 b(Ho)n(w)c(to)f(Use)g +(Defstruct)0 2277 y Fw(All)23 b(structures)k(are)e(de\014ned)g(through) +g(the)g Fs(defstruct)d Fw(construct.)51 b(A)24 b(call)g(to)0 +2329 y Fs(defstruct)12 b Fw(de\014nes)j(a)f(new)g(data)g(t)o(yp)q(e)g +(whose)h(instances)g(ha)o(v)o(e)e(named)g(slots.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 507 531 +507 530 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(STRUCTURES)1093 +b(507)1255 295 y Fw([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(defstruct)33 +b Fv(name-and-options)23 b Fw([)p Fv(do)n(c-string)p +Fw(])28 b Ft(f)p Fv(slot-description)p Ft(g)1125 280 +y Fk(+)0 374 y Fw(X3J13)17 b(v)o(oted)g(in)g(June)h(1988)e +Ft(h)p Fw(58)p Ft(i)h Fw(to)g(allo)o(w)f(a)h Fs(defstruct)e +Fw(de\014nition)i(to)g(ha)o(v)o(e)g(no)-33 345 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 426 a Fv(slot-description)d Fw(at)h(all;)e(in)i(other)g +(w)o(ords,)g(the)h(o)q(ccurrence)h(of)k Ft(f)p Fv(slot-description)s +Ft(g)1361 411 y Fk(+)0 478 y Fw(in)13 b(the)i(preceding)g(header)g +(line)e(w)o(ould)g(b)q(e)i(replaced)g(b)o(y)20 b Ft(f)p +Fv(slot-description)s Ft(g)1247 462 y Fl(\003)1272 478 +y Fw(.)42 531 y(Suc)o(h)f(structure)i(de\014nitions)f(are)f +(particularly)g(useful)g(if)f(the)i Fs(:include)d Fw(option)0 +582 y(is)i(used,)h(p)q(erhaps)g(with)e(other)h(options;)i(for)d +(example,)g(one)h(can)g(ha)o(v)o(e)f(t)o(w)o(o)h(struc-)0 +634 y(tures)13 b(that)f(are)g(exactly)g(alik)o(e)f(except)i(that)f +(they)h(prin)o(t)f(di\013eren)o(tly)g(\(ha)o(ving)f(di\013eren)o(t)0 +686 y Fs(:print-function)g Fw(options\).)42 739 y(Implemen)o(tors)16 +b(are)i(encouraged)h(to)f(p)q(ermit)g(this)g(simple)e(extension)j(as)f +(so)q(on)h(as)0 791 y(con)o(v)o(enien)o(t.)24 b(Users,)17 +b(ho)o(w)o(ev)o(er,)f(ma)o(y)e(wish)h(to)h(maxim)o(ize)d(p)q(ortabilit) +o(y)i(of)g(their)h(co)q(de)0 843 y(b)o(y)e(a)o(v)o(oiding)d(the)k(use)f +(of)g(this)g(extension)g(unless)h(and)e(un)o(til)g(it)h(is)f(adopted)h +(as)g(part)g(of)0 895 y(the)g(ANSI)h(standard.)-33 907 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 948 a(This)k(de\014nes)i(a)e(record-structure)k(data)c +(t)o(yp)q(e.)35 b(A)20 b(general)g(call)e(to)i Fs(defstruct)0 +1000 y Fw(lo)q(oks)13 b(lik)o(e)g(the)i(follo)o(wing)c(example.)0 +1096 y Fs(\(defstruct)19 b(\()p Fv(name)j(option-1)f(option-2)h +Fs(...)f Fv(option-m)p Fs(\))233 1148 y Fv(do)n(c-string)233 +1200 y(slot-description-1)233 1252 y(slot-description-2)233 +1304 y Fs(...)233 1356 y Fv(slot-description-n)p Fs(\))0 +1503 y Fw(The)12 b Fv(name)h Fw(m)o(ust)d(b)q(e)j(a)e(sym)o(b)q(ol;)g +(it)g(b)q(ecomes)h(the)h(name)d(of)i(a)f(new)h(data)g(t)o(yp)q(e)g +(consist-)0 1555 y(ing)i(of)g(all)g(instances)i(of)e(the)h(structure.) +23 b(The)15 b(function)f Fs(typep)g Fw(will)f(accept)j(and)f(use)0 +1606 y(this)f(name)f(as)h(appropriate.)k(The)c Fv(name)g +Fw(is)g(returned)i(as)e(the)g(v)n(alue)g(of)f(the)h Fv(defstruct)0 +1658 y Fw(form.)42 1711 y(Usually)g(no)h(options)f(are)i(needed)g(at)f +(all.)21 b(If)14 b(no)h(options)g(are)g(sp)q(eci\014ed,)i(then)f(one)0 +1763 y(ma)o(y)f(write)i(simply)e Fv(name)i Fw(instead)h(of)e +Fs(\()p Fv(name)p Fs(\))h Fw(after)g(the)g(w)o(ord)g +Fs(defstruct)p Fw(.)25 b(The)0 1815 y(syn)o(tax)14 b(of)f(options)h +(and)f(the)i(options)e(pro)o(vided)h(are)g(discussed)i(in)d(section)i +(19.5.)42 1868 y(If)j(the)i(optional)e(do)q(cumen)o(tation)g(string)h +Fv(do)n(c-string)g Fw(is)g(presen)o(t,)i(then)f(it)f(is)g(at-)0 +1920 y(tac)o(hed)26 b(to)e(the)i Fv(name)f Fw(as)g(a)f(do)q(cumen)o +(tation)g(string)h(of)f(t)o(yp)q(e)i Fs(structure)p Fw(;)h(see)0 +1972 y Fs(documentation)p Fw(.)42 2025 y(Eac)o(h)14 b +Fv(slot-description-j)e Fw(is)i(of)f(the)i(form)0 2121 +y Fs(\()p Fv(slot-name)21 b(default-init)106 2173 y(slot-option-name-1) +g(slot-option-value-1)106 2225 y(slot-option-name-2)g +(slot-option-value-2)106 2277 y Fs(...)106 2329 y Fv +(slot-option-name-k)443 2335 y Fi(j)477 2329 y Fv(slot-option-value-k) +809 2335 y Fi(j)822 2329 y Fs(\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 508 532 +508 531 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(508)77 b(COMMON)13 +b(LISP)0 295 y Fw(Eac)o(h)h Fv(slot-name)f Fw(m)o(ust)g(b)q(e)h(a)f +(sym)o(b)q(ol;)e(an)i(access)i(function)f(is)f(de\014ned)h(for)f(eac)o +(h)h(slot.)0 347 y(If)19 b(no)g(options)g(and)g(no)g +Fv(default-init)f Fw(are)i(sp)q(eci\014ed,)i(then)d(one)h(ma)o(y)d +(write)j(simply)0 399 y Fv(slot-name)14 b Fw(instead)g(of)f +Fs(\()p Fv(slot)p Fs(-)p Fv(name)p Fs(\))h Fw(as)g(the)g(slot)g +(description.)42 451 y(The)i Fv(default-init)f Fw(is)h(a)g(form)e(that) +i(is)g(ev)n(aluated)g Fv(e)n(ach)h(time)f Fw(a)f(structure)j(is)e(to)g +(b)q(e)-38 426 y Fk(.)-38 439 y(.)-38 451 y(.)-38 464 +y(.)-38 477 y(.)-38 490 y(.)-38 503 y(.)-38 516 y(.)-38 +529 y(.)-38 542 y(.)-38 555 y(.)-38 568 y(.)-38 581 y(.)-38 +594 y(.)-38 607 y(.)-38 620 y(.)-38 633 y(.)-38 646 y(.)-38 +659 y(.)-38 672 y(.)-38 685 y(.)-38 698 y(.)-38 711 y(.)-38 +724 y(.)-38 737 y(.)-38 750 y(.)-38 763 y(.)-38 776 y(.)-38 +789 y(.)-38 802 y(.)-38 815 y(.)-38 828 y(.)-38 841 y(.)-38 +854 y(.)-38 867 y(.)-38 880 y(.)-38 893 y(.)-38 906 y(.)-38 +918 y(.)-38 931 y(.)-38 944 y(.)-38 957 y(.)-38 970 y(.)-38 +983 y(.)-38 996 y(.)-38 1009 y(.)-38 1022 y(.)-38 1035 +y(.)-38 1048 y(.)-38 1061 y(.)-38 1074 y(.)-38 1087 y(.)-38 +1100 y(.)-38 1113 y(.)-38 1126 y(.)-38 1139 y(.)-38 1152 +y(.)-38 1165 y(.)-38 1178 y(.)-38 1191 y(.)-38 1204 y(.)-38 +1217 y(.)-38 1230 y(.)-38 1243 y(.)-38 1256 y(.)-38 1269 +y(.)-38 1282 y(.)-38 1295 y(.)-38 1308 y(.)-38 1321 y(.)-38 +1334 y(.)-38 1347 y(.)-38 1360 y(.)-38 1373 y(.)-38 1385 +y(.)-38 1398 y(.)-38 1411 y(.)-38 1424 y(.)-38 1437 y(.)-38 +1450 y(.)-38 1463 y(.)-38 1476 y(.)-38 1489 y(.)-38 1502 +y(.)-38 1515 y(.)-38 1528 y(.)-38 1541 y(.)-38 1554 y(.)-38 +1567 y(.)-38 1580 y(.)-38 1593 y(.)-38 1606 y(.)-38 1619 +y(.)-38 1632 y(.)-38 1645 y(.)-38 1658 y(.)-38 1671 y(.)-38 +1684 y(.)-38 1697 y(.)-38 1710 y(.)-38 1723 y(.)-38 1736 +y(.)-38 1749 y(.)-38 1762 y(.)-38 1775 y(.)-38 1788 y(.)-38 +1801 y(.)-38 1814 y(.)-38 1827 y(.)-38 1840 y(.)-38 1852 +y(.)-38 1865 y(.)-38 1878 y(.)-38 1891 y(.)-38 1904 y(.)-38 +1917 y(.)-38 1930 y(.)-38 1943 y(.)-38 1956 y(.)-38 1969 +y(.)-38 1982 y(.)-38 1995 y(.)-38 2008 y(.)-38 2021 y(.)-38 +2034 y(.)-38 2047 y(.)-38 2060 y(.)-38 2073 y(.)-38 2086 +y(.)-38 2099 y(.)-38 2112 y(.)-38 2125 y(.)-38 2138 y(.)-38 +2151 y(.)-38 2164 y(.)-38 2177 y(.)-38 2190 y(.)-38 2203 +y(.)-38 2216 y(.)-38 2229 y(.)-38 2242 y(.)-38 2255 y(.)-38 +2268 y(.)-38 2281 y(.)-38 2294 y(.)-38 2307 y(.)-38 2319 +y(.)-38 2332 y(.)-38 2345 y(.)-38 2358 y(.)-38 2371 y(.)-38 +2384 y(.)-38 2397 y(.)-38 2410 y(.)-38 2423 y(.)-38 2436 +y(.)-38 2449 y(.)-38 2462 y(.)-38 2475 y(.)-38 2488 y(.)-38 +2501 y(.)-38 2514 y(.)-38 2527 y(.)-38 2540 y(.)-38 2553 +y(.)-38 2566 y(.)-38 2579 y(.)-38 2592 y(.)-38 2605 y(.)-38 +2618 y(.)-38 2631 y(.)-38 2644 y(.)-38 2657 y(.)-38 2670 +y(.)-38 2683 y(.)-38 2696 y(.)-38 2709 y(.)-38 2722 y(.)-38 +2735 y(.)-38 2748 y(.)-38 2761 y(.)-38 2774 y(.)-38 2786 +y(.)-38 2799 y(.)-38 2812 y(.)-38 2825 y(.)-38 2838 y(.)-38 +2851 y(.)-38 2864 y(.)-38 2877 y(.)-38 2890 y(.)-38 2903 +y(.)-38 2916 y(.)-38 2929 y(.)-38 2942 y(.)-38 2955 y(.)-38 +2968 y(.)-38 2981 y(.)-38 2994 y(.)-38 3007 y(.)0 502 +y Fw(constructed;)g(the)e(v)n(alue)f(is)h(used)h(as)f(the)g(initial)e +(v)n(alue)h(of)h(the)g(slot.)-33 514 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 555 a(X3J13)e(v)o(oted)g(in)g(Octob)q(er)i(1988)d +Ft(h)p Fw(54)p Ft(i)h Fw(to)g(clarify)g(that)g(a)g Fv(default-init)g +Fw(form)e(is)j(ev)n(al-)-33 526 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 606 a(uated)j(only)f(if)g(the)h(corresp)q(onding)g +(argumen)o(t)f(is)g(not)h(supplied)f(to)h(the)g(constructor)0 +658 y(function.)i(The)c(preceding)h(sen)o(tence)h(should)e(therefore)h +(read)f(as)g(follo)o(ws:)42 710 y(The)f Fv(default-init)f +Fw(is)g(a)h(form)e(that)h(is)h(ev)n(aluated)f Fv(e)n(ach)j(time)d +Fw(its)g(v)n(alue)g(is)h(to)g(b)q(e)g(used)0 762 y(as)h(the)g(initial)e +(v)n(alue)i(of)f(the)h(slot.)-33 774 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 814 a(If)f(no)h Fv(default-init)g Fw(is)g(sp)q +(eci\014ed,)h(then)g(the)f(initial)e(con)o(ten)o(ts)k(of)d(the)i(slot)f +(are)g(unde-)0 866 y(\014ned)d(and)g(implemen)o(tatio)o(n-dep)q(enden)o +(t.)16 b(The)11 b(a)o(v)n(ailable)e(slot-options)h(are)h(describ)q(ed)0 +918 y(in)i(section)i(19.4.)p 0 978 V 0 1038 a Fm(Compatibilit)o(y)8 +b(note:)16 b FA(Slot-options)c(are)d(not)h(curren)o(tly)h(pro)o(vided)h +(in)e(Lisp)h(Mac)o(hine)g(Lisp,)0 1084 y(but)i(this)h(is)g(an)f(up)o(w) +o(ard-compatible)j(extension.)p 0 1120 V 42 1206 a Fw(X3J13)i(v)o(oted) +h(in)g(Jan)o(uary)f(1989)g Ft(h)p Fw(57)p Ft(i)h Fw(to)g(sp)q(ecify)g +(that)g(it)f(is)h(an)g(error)h(for)e(t)o(w)o(o)-33 1178 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1258 a(slots)13 b(to)f(ha)o(v)o(e)g(the)h(same)f(name;)f +(more)g(precisely)m(,)i(no)f(t)o(w)o(o)g(slots)h(ma)o(y)d(ha)o(v)o(e)i +(names)g(for)0 1310 y(whose)i(prin)o(t)g(names)f Fs(string)484 +1306 y(U)484 1314 y(U)519 1310 y Fw(w)o(ould)g(b)q(e)h(true.)19 +b(Under)c(this)f(in)o(terpretation)0 1396 y Fs(\(defstruct)19 +b(lotsa-slots)g(slot)h(slot\))0 1483 y Fw(ob)o(viously)9 +b(is)i(incorrect)h(but)f(the)g(follo)o(wing)d(one)j(is)g(also)f(in)g +(error,)i(ev)o(en)f(assuming)f(that)0 1535 y(the)j(sym)o(b)q(ols)d +Fs(coin:slot)g Fw(and)i Fs(blot:slot)e Fw(really)h(are)h(distinct)g +(\(non-)p Fs(eql)p Fw(\))g(sym)o(b)q(ols:)0 1622 y Fs(\(defstruct)19 +b(no-dice)h(coin:slot)f(blot:slot\))0 1708 y Fw(T)m(o)13 +b(illustrate)g(another)h(case,)h(the)f(\014rst)h Fs(defstruct)c +Fw(form)h(b)q(elo)o(w)i(is)f(correct,)i(but)f(the)0 1760 +y(second)h(one)f(is)g(in)f(error.)0 1847 y Fs(\(defstruct)19 +b(one-slot)h(slot\))0 1899 y(\(defstruct)f(\(two-slots)g(\(:include)h +(one-slot\)\))f(slot\))p 0 1959 V 0 2019 a Fm(Rationale:)c +FA(Prin)o(t)c(names)f(are)g(the)f(criterion)j(for)d(slot-names)i(b)q +(eing)g(the)f(same,)g(rather)g(than)0 2065 y(the)j(sym)o(b)q(ols)i +(themselv)o(es,)f(b)q(ecause)h Fj(defstruct)9 b FA(constructs)14 +b(names)g(of)f(accessor)h(functions)0 2110 y(from)f(the)g(prin)o(t)h +(names)f(and)h(in)o(terns)g(the)g(resulting)h(new)e(names)g(in)h(the)f +(curren)o(t)h(pac)o(k)n(age.)p 0 2146 V 42 2225 a Fw(X3J13)i +(recommended)g(that)h(expanding)g(a)g Fs(defstruct)e +Fw(form)g(violating)g(this)i(re-)0 2277 y(striction)e(should)g(signal)f +(an)g(error)i(and)f(noted,)g(with)g(an)f(ey)o(e)i(to)f(the)g(Common)d +(Lisp)0 2329 y(Ob)r(ject)k(System)e Ft(h)p Fw(12)p Ft(i)p +Fw(,)h(that)g(the)g(restriction)h(applies)e(only)g(to)h(the)g(op)q +(eration)g(of)f(the)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 509 533 +509 532 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(STRUCTURES)1093 +b(509)0 295 y Fs(defstruct)12 b Fw(macro)g(as)i(suc)o(h)g(and)g(not)f +(to)h(the)g Fs(structure-class)d Fw(or)i(structures)j(de-)0 +347 y(\014ned)e(with)g Fs(defclass)p Fw(.)-33 358 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2225 a(X3J13)g(v)o(oted)i(in)f(Marc)o(h)g(1989)f +Ft(h)p Fw(50)p Ft(i)h Fw(to)h(clarify)e(that,)h(while)g(de\014ning)g +(forms)f(nor-)-33 2197 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2277 a(mally)j(app)q(ear)j(at)f(top)h(lev)o(el,)g(it)f +(is)h(meaningful)d(to)i(place)h(them)e(in)i(non-top-lev)o(el)0 +2329 y(con)o(texts;)c Fs(defstruct)e Fw(m)o(ust)g(treat)i(slot)f +Fv(default-init)f Fw(forms)g(and)h(an)o(y)f(initialization)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 510 534 +510 533 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(510)77 b(COMMON)13 +b(LISP)0 295 y Fw(forms)g(within)g(the)h(sp)q(eci\014cation)h(of)e(a)h +(b)o(y-p)q(osition)f(constructor)i(function)f(as)g(o)q(ccur-)0 +347 y(ring)g(within)g(the)h(enclosing)g(lexical)f(en)o(vironmen)o(t,)f +(not)i(within)f(the)h(global)e(en)o(viron-)0 399 y(men)o(t.)-33 +410 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 450 a Fs(defstruct)i Fw(not)i(only)g(de\014nes)h(an)f +(access)j(function)d(for)f(eac)o(h)i(slot,)g(but)f(also)g(ar-)0 +502 y(ranges)c(for)f Fs(setf)f Fw(to)h(w)o(ork)g(prop)q(erly)h(on)f +(suc)o(h)h(access)h(functions,)e(de\014nes)i(a)e(predicate)0 +554 y(named)e Fv(name)p Fs(-p)p Fw(,)h(de\014nes)h(a)e(constructor)i +(function)f(named)e Fs(make-)p Fv(name)p Fw(,)i(and)f(de\014nes)0 +606 y(a)g(copier)g(function)g(named)f Fs(copy-)p Fv(name)p +Fw(.)16 b(All)9 b(names)h(of)f(automatically)e(created)12 +b(func-)0 658 y(tions)j(are)g(in)o(terned)g(in)f(whatev)o(er)i(pac)o(k) +n(age)e(is)h(curren)o(t)h(at)f(the)g(time)e(the)j Fs(defstruct)0 +710 y Fw(form)d(is)i(pro)q(cessed)i(\(see)f Fs(*package*)p +Fw(\).)j(Also,)14 b(all)f(suc)o(h)j(functions)f(ma)o(y)d(b)q(e)k +(declared)0 762 y Fs(inline)e Fw(at)i(the)g(discretion)h(of)e(the)h +(implemen)o(tation)d(to)i(impro)o(v)o(e)f(e\016ciency;)j(if)e(y)o(ou)0 +814 y(do)e(not)h(w)o(an)o(t)f(some)f(function)h(declared)i +Fs(inline)p Fw(,)c(follo)o(w)h(the)i Fs(defstruct)d Fw(form)h(with)0 +866 y(a)i Fs(notinline)e Fw(declaration)h(to)h(o)o(v)o(erride)g(an)o(y) +g(automatic)e Fs(inline)g Fw(declaration.)42 917 y(X3J13)f(v)o(oted)i +(in)e(Jan)o(uary)h(1989)g Ft(h)p Fw(56)p Ft(i)g Fw(to)g(sp)q(ecify)g +(that)h(the)f(results)i(of)d(rede\014ning)i(a)-33 889 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 969 a Fs(defstruct)f Fw(structure)j(\(that)f(is,)f(ev)n +(aluating)f(more)h(than)g(one)h Fs(defstruct)e Fw(structure)0 +1021 y(for)i(the)g(same)f(name\))g(are)h(unde\014ned.)42 +1073 y(The)f(problem)f(is)h(that)g(if)f(instances)i(ha)o(v)o(e)f(b)q +(een)h(created)h(under)f(the)g(old)e(de\014nition)0 1125 +y(and)k(then)h(remain)e(accessible)j(after)e(the)h(new)g(de\014nition)f +(has)g(b)q(een)i(ev)n(aluated,)e(the)0 1177 y(accessors)e(and)d(other)h +(functions)f(for)g(the)h(new)g(de\014nition)f(ma)o(y)e(b)q(e)j +(incompatible)d(with)0 1229 y(the)i(old)f(instances.)18 +b(Con)o(v)o(ersely)m(,)11 b(functions)f(asso)q(ciated)h(with)g(the)g +(old)f(de\014nition)g(ma)o(y)0 1281 y(ha)o(v)o(e)18 b(b)q(een)g +(declared)h Fs(inline)e Fw(and)g(compiled)f(in)o(to)h(co)q(de)i(that)f +(remains)e(accessible)0 1333 y(after)g(the)g(new)f(de\014nition)g(has)h +(b)q(een)h(ev)n(aluated;)e(suc)o(h)h(co)q(de)g(ma)o(y)e(b)q(e)i +(incompatible)0 1384 y(with)e(the)g(new)g(instances.)42 +1436 y(In)h(practice)h(this)g(restriction)g(a\013ects)h(the)f(dev)o +(elopmen)o(t)f(and)g(debugging)g(pro)q(cess)0 1488 y(rather)c(than)f +(pro)q(duction)g(runs)h(of)e(fully)g(dev)o(elop)q(ed)i(co)q(de.)17 +b(The)11 b Fs(defstruct)d Fw(feature)j(is)0 1540 y(in)o(tended)h(to)g +(pro)o(vide)g(\\the)g(most)f(e\016cien)o(t")h(structure)i(class.)j +(CLOS)c(classes)g(de\014ned)0 1592 y(b)o(y)f Fs(defclass)f +Fw(allo)o(w)g(m)o(uc)o(h)g(more)h(\015exible)g(structures)j(to)d(b)q(e) +h(de\014ned)h(and)e(rede\014ned.)42 1644 y(Programmi)o(ng)32 +b(en)o(vironmen)o(ts)j(are)h(allo)o(w)o(ed)e(and)h(encouraged)h(to)g(p) +q(ermit)0 1696 y Fs(defstruct)12 b Fw(rede\014nition,)h(p)q(erhaps)h +(with)g(w)o(arning)e(messages)i(ab)q(out)f(p)q(ossible)h(in)o(ter-)0 +1748 y(actions)i(with)f(other)i(parts)f(of)g(the)g(programming)c(en)o +(vironmen)o(t)j(or)h(memory)d(state.)0 1800 y(It)g(is)f(b)q(ey)o(ond)h +(the)g(scop)q(e)g(of)f(the)h(Common)c(Lisp)k(language)e(standard)i(to)f +(de\014ne)i(those)0 1851 y(in)o(teractions)g(except)h(to)f(note)g(that) +g(they)h(are)f(not)g(p)q(ortable.)-33 1863 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1983 a Fo(19.3.)20 b(Using)15 b(the)f(Automatically)e +(De\014ned)i(Constructor)h(F)-5 b(unc-)136 2041 y(tion)0 +2121 y Fw(After)23 b(y)o(ou)e(ha)o(v)o(e)h(de\014ned)h(a)f(new)h +(structure)h(with)e Fs(defstruct)p Fw(,)f(y)o(ou)h(can)g(create)0 +2173 y(instances)f(of)e(this)h(structure)i(b)o(y)e(using)g(the)g +(constructor)i(function.)35 b(By)21 b(default,)0 2225 +y Fs(defstruct)15 b Fw(de\014nes)j(this)f(function)g(automatically)l(.) +24 b(F)m(or)17 b(a)f(structure)j(named)d Fs(foo)p Fw(,)0 +2277 y(the)f(constructor)h(function)e(is)g(normally)d(named)i +Fs(make-foo)p Fw(;)g(y)o(ou)g(can)i(sp)q(ecify)g(a)f(dif-)0 +2329 y(feren)o(t)20 b(name)d(b)o(y)i(giving)e(it)i(as)f(the)i(argumen)o +(t)e(to)g(the)i Fs(:constructor)c Fw(option,)j(or)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 511 535 +511 534 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(STRUCTURES)1093 +b(511)0 295 y Fw(sp)q(ecify)13 b(that)g(y)o(ou)f(don't)g(w)o(an)o(t)g +(a)g(normal)e(constructor)k(function)e(at)h(all)e(b)o(y)h(using)g +Fs(nil)0 347 y Fw(as)g(the)g(argumen)o(t)e(\(in)h(whic)o(h)g(case)i +(one)f(or)f(more)f(\\b)o(y-p)q(osition")g(constructors)k(should)0 +399 y(b)q(e)h(requested;)g(see)g(section)g(19.6\).)42 +451 y(A)e(call)h(to)f(a)h(constructor)h(function,)f(in)f(general,)h +(has)g(the)g(form)0 545 y Fs(\()p Fv(name-of-c)n(onstructor-function) +169 597 y(slot-keywor)n(d-1)21 b(form-1)169 648 y(slot-keywor)n(d-2)g +(form-2)169 700 y Fs(...\))0 793 y Fw(All)16 b(argumen)o(ts)g(are)i(k)o +(eyw)o(ord)f(argumen)o(ts.)26 b(Eac)o(h)18 b Fv(slot-keywor)n(d)e +Fw(should)h(b)q(e)g(a)g(k)o(ey-)0 845 y(w)o(ord)h(whose)g(name)f(matc)o +(hes)g(the)h(name)f(of)g(a)h(slot)f(of)g(the)i(structure)g(\()p +Fs(defstruct)0 897 y Fw(determines)d(the)h(p)q(ossible)f(k)o(eyw)o +(ords)g(simply)e(b)o(y)i(in)o(terning)g(eac)o(h)g(slot-name)f(in)g(the) +0 949 y(k)o(eyw)o(ord)j(pac)o(k)n(age\).)31 b(All)17 +b(the)i Fv(keywor)n(ds)e Fw(and)h Fv(forms)g Fw(are)g(ev)n(aluated.)31 +b(In)18 b(short,)h(it)0 1000 y(is)c(just)g(as)h(if)e(the)i(constructor) +g(function)f(to)q(ok)g(all)f(its)h(argumen)o(ts)g(as)g +Fs(&key)f Fw(parame-)0 1052 y(ters.)19 b(F)m(or)12 b(example,)f(the)i +Fs(ship)e Fw(structure)k(sho)o(wn)d(in)g(section)h(19.1)e(has)i(a)f +(constructor)0 1104 y(function)i(that)g(tak)o(es)g(argumen)o(ts)f +(roughly)g(as)h(if)f(its)h(de\014nition)g(w)o(ere)0 1198 +y Fs(\(defun)20 b(make-ship)f(\(&key)h(x-position)f(y-position)487 +1249 y(x-velocity)g(y-velocity)g(mass\))42 1301 y(...\))42 +1394 y Fw(If)d Fv(slot-keywor)n(d-j)f Fw(names)h(a)g(slot,)h(then)g +(that)g(elemen)o(t)f(of)g(the)h(created)i(structure)0 +1446 y(will)13 b(b)q(e)i(initialized)e(to)h(the)h(v)n(alue)f(of)g +Fv(form-j)p Fw(.)k(If)c(no)g(pair)g Fv(slot-keywor)n(d-j)g +Fw(and)g Fv(form-j)0 1498 y Fw(is)i(presen)o(t)h(for)e(a)h(giv)o(en)f +(slot,)g(then)i(the)f(slot)g(will)e(b)q(e)i(initialized)e(b)o(y)i(ev)n +(aluating)e(the)0 1550 y Fv(default-init)j Fw(form)e(sp)q(eci\014ed)k +(for)e(that)h(slot)f(in)g(the)h(call)f(to)g Fs(defstruct)p +Fw(.)27 b(\(In)17 b(other)0 1601 y(w)o(ords,)d(the)h(initialization)c +(sp)q(eci\014ed)16 b(in)d(the)i Fs(defstruct)d Fw(defers)k(to)e(an)o(y) +f(sp)q(eci\014ed)j(in)0 1653 y(a)f(call)g(to)g(the)h(constructor)h +(function.\))22 b(If)15 b(the)h(default)f(initialization)e(form)g(is)i +(used,)0 1705 y(it)k(is)g(ev)n(aluated)f(at)h(construction)h(time,)f +(but)g(in)g(the)h(lexical)e(en)o(vironmen)o(t)g(of)g(the)0 +1757 y Fs(defstruct)d Fw(form)g(in)i(whic)o(h)g(it)g(app)q(eared.)28 +b(If)17 b(the)h Fs(defstruct)d Fw(itself)i(also)f(did)h(not)0 +1809 y(sp)q(ecify)d(an)o(y)f(initialization,)d(the)k(elemen)o(t's)f +(initial)e(v)n(alue)i(is)g(unde\014ned.)19 b(Y)m(ou)13 +b(should)0 1861 y(alw)o(a)o(ys)g(sp)q(ecify)h(the)g(initialization,)c +(either)15 b(in)e(the)h Fs(defstruct)e Fw(or)h(in)h(the)g(call)f(to)g +(the)0 1913 y(constructor)j(function,)d(if)g(y)o(ou)g(care)i(ab)q(out)f +(the)g(initial)e(v)n(alue)h(of)h(the)g(slot.)42 1966 +y(Eac)o(h)i(initialization)d(form)i(sp)q(eci\014ed)j(for)d(a)h +Fs(defstruct)f Fw(comp)q(onen)o(t,)g(when)i(used)0 2017 +y(b)o(y)i(the)g(constructor)h(function)f(for)f(an)h(otherwise)g(unsp)q +(eci\014ed)i(comp)q(onen)o(t,)e(is)f(re-)0 2069 y(ev)n(aluated)11 +b(on)g(ev)o(ery)i(call)d(to)i(the)g(constructor)h(function.)k(It)11 +b(is)g(as)h(if)e(the)i(initialization)0 2121 y(forms)h(w)o(ere)j(used)f +(as)g Fv(init)f Fw(forms)g(for)g(the)h(k)o(eyw)o(ord)g(parameters)g(of) +f(the)h(constructor)0 2173 y(function.)28 b(F)m(or)17 +b(example,)f(if)g(the)i(form)d Fs(\(gensym\))h Fw(w)o(ere)i(used)g(as)f +(an)g(initialization)0 2225 y(form,)h(either)h(in)f(the)h +(constructor-function)h(call)e(or)g(as)h(the)g(default)f +(initialization)0 2277 y(form)9 b(in)i(the)g Fs(defstruct)e +Fw(form,)h(then)h(ev)o(ery)h(call)e(to)h(the)g(constructor)i(function)e +(w)o(ould)0 2329 y(call)i Fs(gensym)g Fw(once)h(to)g(generate)h(a)f +(new)g(sym)o(b)q(ol.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 512 536 +512 535 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(512)77 b(COMMON)13 +b(LISP)42 295 y Fw(X3J13)18 b(v)o(oted)h(in)f(Octob)q(er)i(1988)e +Ft(h)p Fw(54)p Ft(i)h Fw(to)f(clarify)g(that)h(the)g(default)g(v)n +(alue)f(in)g(a)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(defstruct)12 b(slot)f(is)g(not)f(ev)n(aluated)h +(unless)h(it)e(is)h(needed)h(in)f(the)g(creation)g(of)f(a)h(particular) +0 399 y(structure)j(instance.)k(If)11 b(it)h(is)f(nev)o(er)i(needed,)g +(there)g(can)f(b)q(e)g(no)g(t)o(yp)q(e-mismatc)o(h)d(error,)0 +450 y(ev)o(en)15 b(if)e(the)h(t)o(yp)q(e)g(of)g(the)g(slot)g(is)g(sp)q +(eci\014ed,)h(and)e(no)h(w)o(arning)f(should)h(b)q(e)g(issued.)42 +502 y(F)m(or)f(example,)f(in)i(the)g(follo)o(wing)d(sequence)16 +b(only)d(the)i(last)f(form)e(is)h(in)h(error.)0 590 y +Fs(\(defstruct)19 b(person)h(\(name)g(.007)h(:type)f(string\)\))0 +693 y(\(make-person)f(:name)h("James"\))0 797 y(\(make-person\))103 +b(;)p Fw(Error)15 b(to)e(giv)o(e)h Fs(name)f Fw(the)h(v)n(alue)f +Fs(.007)-33 813 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 955 a Fo(19.4.)20 b(Defstruct)15 b(Slot-Options)0 +1043 y Fw(Eac)o(h)21 b Fv(slot-description)f Fw(in)g(a)g +Fs(defstruct)f Fw(form)g(ma)o(y)f(sp)q(ecify)j(one)g(or)g(more)e(slot-) +0 1095 y(options.)k(A)16 b(slot-option)e(consists)j(of)e(a)h(pair)f(of) +g(a)g(k)o(eyw)o(ord)h(and)g(a)f(v)n(alue)g(\(whic)o(h)h(is)0 +1147 y(not)e(a)f(form)g(to)g(b)q(e)i(ev)n(aluated,)e(but)h(the)h(v)n +(alue)e(itself)s(\).)18 b(F)m(or)13 b(example:)0 1234 +y Fs(\(defstruct)19 b(ship)42 1286 y(\(x-position)g(0.0)i(:type)f +(short-float\))42 1337 y(\(y-position)f(0.0)i(:type)f(short-float\))42 +1389 y(\(x-velocity)f(0.0)i(:type)f(short-float\))42 +1441 y(\(y-velocity)f(0.0)i(:type)f(short-float\))42 +1493 y(\(mass)g(*default-ship-mass*)e(:type)i(short-float)f(:read-only) +g(t\)\))0 1580 y Fw(This)14 b(sp)q(eci\014es)h(that)f(eac)o(h)g(slot)g +(will)e(alw)o(a)o(ys)h(con)o(tain)g(a)h(short-format)e(\015oating-p)q +(oin)o(t)0 1632 y(n)o(um)o(b)q(er,)g(and)i(that)f(the)h(last)f(slot)g +(ma)o(y)f(not)h(b)q(e)h(altered)g(once)g(a)f(ship)h(is)f(constructed.) +42 1684 y(The)h(a)o(v)n(ailable)d(slot-options)j(are)g(as)g(follo)o +(ws.)0 1788 y Fs(:type)0 1851 y Fw(The)j(option)e Fs(:type)20 +b Fv(typ)n(e)c Fw(sp)q(eci\014es)i(that)e(the)h(con)o(ten)o(ts)g(of)f +(the)h(slot)e(will)g(alw)o(a)o(ys)g(b)q(e)0 1903 y(of)g(the)h(sp)q +(eci\014ed)g(data)f(t)o(yp)q(e.)23 b(This)16 b(is)f(en)o(tirely)g +(analogous)f(to)h(the)h(declaration)f(of)g(a)0 1955 y(v)n(ariable)10 +b(or)h(function;)h(indeed,)g(it)f(e\013ectiv)o(ely)h(declares)g(the)g +(result)g(t)o(yp)q(e)g(of)f(the)h(access)0 2006 y(function.)17 +b(An)c(implemen)o(tatio)o(n)d(ma)o(y)g(or)j(ma)o(y)e(not)h(c)o(ho)q +(ose)h(to)g(c)o(hec)o(k)g(the)g(t)o(yp)q(e)g(of)f(the)0 +2058 y(new)k(ob)r(ject)h(when)f(initializing)d(or)j(assigning)f(to)h(a) +g(slot.)23 b(Note)16 b(that)g(the)h(argumen)o(t)0 2110 +y(form)12 b Fv(typ)n(e)i Fw(is)g(not)g(ev)n(aluated;)f(it)g(m)o(ust)g +(b)q(e)i(a)e(v)n(alid)g(t)o(yp)q(e)h(sp)q(eci\014er.)0 +2214 y Fs(:read-only)0 2277 y Fw(The)f(option)e Fs(:read-only)19 +b Fv(x)p Fw(,)12 b(where)h Fv(x)g Fw(is)e(not)h Fs(nil)p +Fw(,)g(sp)q(eci\014es)i(that)e(this)g(slot)g(ma)o(y)e(not)0 +2329 y(b)q(e)h(altered;)g(it)e(will)g(alw)o(a)o(ys)g(con)o(tain)g(the)i +(v)n(alue)e(sp)q(eci\014ed)j(at)d(construction)i(time.)16 +b Fs(setf)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 513 537 +513 536 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(STRUCTURES)1093 +b(513)0 295 y Fw(will)15 b(not)h(accept)h(the)g(access)g(function)f +(for)g(this)g(slot.)24 b(If)16 b Fv(x)g Fw(is)g Fs(nil)p +Fw(,)g(this)g(slot-option)0 347 y(has)e(no)g(e\013ect.)19 +b(Note)c(that)f(the)g(argumen)o(t)f(form)f Fv(x)i Fw(is)g(not)g(ev)n +(aluated.)42 450 y(Note)h(that)g(it)g(is)g(imp)q(ossible)e(to)i(sp)q +(ecify)h(a)e(slot-option)g(unless)i(a)f(default)f(v)n(alue)h(is)0 +502 y(sp)q(eci\014ed)g(\014rst.)0 658 y Fo(19.5.)20 b(Defstruct)15 +b(Options)0 746 y Fw(The)f(preceding)g(description)g(of)f +Fs(defstruct)e Fw(is)j(all)e(that)h(the)h(a)o(v)o(erage)f(user)i(will)d +(need)0 797 y(\(or)j(w)o(an)o(t\))g(to)g(kno)o(w)f(in)h(order)g(to)g +(use)h(structures.)24 b(The)15 b(remainder)f(of)h(this)g(c)o(hapter)0 +849 y(discusses)h(more)d(complex)f(features)j(of)f(the)g +Fs(defstruct)e Fw(facilit)o(y)m(.)42 901 y(This)i(section)i(explains)e +(eac)o(h)i(of)e(the)i(options)e(that)h(can)g(b)q(e)h(giv)o(en)e(to)h +Fs(defstruct)p Fw(.)0 953 y(A)20 b Fs(defstruct)d Fw(option)i(ma)o(y)f +(b)q(e)i(either)h(a)e(k)o(eyw)o(ord)h(or)f(a)h(list)f(of)g(a)g(k)o(eyw) +o(ord)h(and)0 1005 y(argumen)o(ts)d(for)g(that)g(k)o(eyw)o(ord.)29 +b(\(Note)18 b(that)g(the)g(syn)o(tax)f(for)h Fs(defstruct)d +Fw(options)0 1057 y(di\013ers)k(from)d(the)j(pair)f(syn)o(tax)g(used)h +(for)e(slot-options.)30 b(No)18 b(part)h(of)e(an)o(y)h(of)f(these)0 +1109 y(options)d(is)f(ev)n(aluated.\))0 1212 y Fs(:conc-name)0 +1275 y Fw(This)h(pro)o(vides)g(for)g(automatic)e(pre\014xing)i(of)g +(names)f(of)g(access)j(functions.)j(It)14 b(is)g(con-)0 +1327 y(v)o(en)o(tional)f(to)h(b)q(egin)g(the)g(names)f(of)h(all)f(the)h +(access)i(functions)e(of)f(a)h(structure)i(with)e(a)0 +1379 y(sp)q(eci\014c)k(pre\014x,)f(the)f(name)f(of)h(the)h(structure)h +(follo)o(w)o(ed)d(b)o(y)h(a)g(h)o(yphen.)25 b(This)16 +b(is)g(the)0 1431 y(default)e(b)q(eha)o(vior.)42 1483 +y(The)i(argumen)o(t)e(to)i(the)h Fs(:conc-name)c Fw(option)i(sp)q +(eci\014es)j(an)e(alternativ)o(e)f(pre\014x)i(to)0 1535 +y(b)q(e)c(used.)18 b(\(If)12 b(a)g(h)o(yphen)g(is)g(to)g(b)q(e)h(used)g +(as)f(a)g(separator,)g(it)g(m)o(ust)f(b)q(e)i(sp)q(eci\014ed)g(as)g +(part)0 1587 y(of)g(the)h(pre\014x.\))k(If)13 b Fs(nil)g +Fw(is)g(sp)q(eci\014ed)i(as)f(an)f(argumen)o(t,)f(then)i +Fv(no)g Fw(pre\014x)g(is)f(used;)h(then)0 1639 y(the)f(names)f(of)g +(the)h(access)i(functions)d(are)h(the)h(same)d(as)i(the)g(slot-names,)e +(and)i(it)f(is)h(up)0 1691 y(to)h(the)g(user)h(to)f(name)f(the)h(slots) +g(reasonably)m(.)42 1743 y(Note)h(that)g(no)g(matter)g(what)g(is)g(sp)q +(eci\014ed)i(for)d Fs(:conc-name)p Fw(,)f(with)i(a)g(constructor)0 +1795 y(function)j(one)h(uses)g(slot)f(k)o(eyw)o(ords)h(that)f(matc)o(h) +f(the)i(slot-names,)f(with)g(no)g(pre\014x)0 1847 y(attac)o(hed.)j(On) +15 b(the)g(other)g(hand,)f(one)h(uses)h(the)f(access-function)h(name)e +(when)h(using)0 1898 y Fs(setf)p Fw(.)i(Here)e(is)f(an)g(example:)0 +2002 y Fs(\(defstruct)19 b(door)h(knob-color)g(width)g(material\))0 +2054 y(\(setq)g(my-door)127 2106 y(\(make-door)f(:knob-color)625 +2110 y Fn(')648 2106 y Fs(red)i(:width)f(5.0\)\))0 2158 +y(\(door-width)f(my-door\))g Ft(\))i Fs(5.0)0 2209 y(\(setf)f +(\(door-width)f(my-door\))h(43.7\))0 2261 y(\(door-width)f(my-door\))g +Ft(\))i Fs(43.7)0 2313 y(\(door-knob-color)d(my-door\))h +Ft(\))i Fs(red)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 514 538 +514 537 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(514)77 b(COMMON)13 +b(LISP)0 295 y Fs(:constructor)0 358 y Fw(This)k(option)f(tak)o(es)h +(one)g(argumen)o(t,)f(a)g(sym)o(b)q(ol,)g(whic)o(h)g(sp)q(eci\014es)j +(the)e(name)f(of)g(the)0 410 y(constructor)i(function.)25 +b(If)16 b(the)h(argumen)o(t)f(is)g(not)g(pro)o(vided)g(or)h(if)e(the)i +(option)f(itself)0 462 y(is)i(not)f(pro)o(vided,)i(the)f(name)f(of)g +(the)h(constructor)i(is)e(pro)q(duced)h(b)o(y)e(concatenating)0 +513 y(the)c(string)g Fs("MAKE-")e Fw(and)i(the)g(name)f(of)g(the)i +(structure,)g(putting)f(the)g(name)f(in)g(what-)0 565 +y(ev)o(er)21 b(pac)o(k)n(age)e(is)h(curren)o(t)i(at)d(the)i(time)e(the) +h Fs(defstruct)e Fw(form)g(is)i(pro)q(cessed)i(\(see)0 +617 y Fs(*package*)p Fw(\).)17 b(If)c(the)i(argumen)o(t)e(is)h(pro)o +(vided)g(and)g(is)g Fs(nil)p Fw(,)f(no)g(constructor)j(function)0 +669 y(is)e(de\014ned.)42 722 y(This)j(option)h(actually)f(has)h(a)g +(more)f(general)h(syn)o(tax)g(that)g(is)g(explained)g(in)g(sec-)0 +774 y(tion)13 b(19.6.)0 884 y Fs(:copier)0 947 y Fw(This)k(option)f +(tak)o(es)h(one)g(argumen)o(t,)f(a)g(sym)o(b)q(ol,)g(whic)o(h)g(sp)q +(eci\014es)j(the)e(name)f(of)g(the)0 999 y(copier)k(function.)36 +b(If)20 b(the)g(argumen)o(t)f(is)h(not)g(pro)o(vided)g(or)f(if)h(the)g +(option)f(itself)h(is)0 1051 y(not)13 b(pro)o(vided,)g(the)h(name)e(of) +h(the)h(copier)g(is)f(pro)q(duced)i(b)o(y)e(concatenating)h(the)g +(string)0 1103 y Fs("COPY-")9 b Fw(and)h(the)i(name)d(of)h(the)h +(structure,)i(putting)d(the)h(name)f(in)g(whatev)o(er)h(pac)o(k)n(age)0 +1155 y(is)16 b(curren)o(t)i(at)e(the)g(time)f(the)i Fs(defstruct)d +Fw(form)g(is)i(pro)q(cessed)j(\(see)e Fs(*package*)p +Fw(\).)23 b(If)0 1207 y(the)14 b(argumen)o(t)f(is)h(pro)o(vided)g(and)f +(is)h Fs(nil)p Fw(,)f(no)h(copier)g(function)g(is)f(de\014ned.)42 +1260 y(The)18 b(automatically)d(de\014ned)k(copier)f(function)g(simply) +e(mak)o(es)h(a)g(new)i(structure)0 1311 y(and)h(transfers)i(all)d(comp) +q(onen)o(ts)i(v)o(erbatim)e(from)f(the)k(argumen)o(t)d(in)o(to)h(the)h +(newly)0 1363 y(created)e(structure.)32 b(No)18 b(attempt)f(is)h(made)e +(to)i(mak)o(e)e(copies)j(of)e(the)i(comp)q(onen)o(ts.)0 +1415 y(Corresp)q(onding)g(comp)q(onen)o(ts)f(of)f(the)i(old)f(and)g +(new)h(structures)i(will)16 b(therefore)k(b)q(e)0 1467 +y Fs(eql)p Fw(.)0 1578 y Fs(:predicate)0 1641 y Fw(This)15 +b(option)f(tak)o(es)h(one)g(argumen)o(t,)e(whic)o(h)i(sp)q(eci\014es)i +(the)e(name)f(of)g(the)h(t)o(yp)q(e)h(predi-)0 1692 y(cate.)25 +b(If)15 b(the)i(argumen)o(t)d(is)i(not)g(pro)o(vided)g(or)g(if)f(the)h +(option)f(itself)h(is)g(not)f(pro)o(vided,)0 1744 y(the)d(name)f(of)g +(the)i(predicate)g(is)e(made)g(b)o(y)h(concatenating)g(the)g(name)f(of) +g(the)i(structure)0 1796 y(to)k(the)g(string)g Fs("-P")p +Fw(,)f(putting)g(the)h(name)f(in)g(whatev)o(er)i(pac)o(k)n(age)e(is)g +(curren)o(t)j(at)d(the)0 1848 y(time)g(the)h Fs(defstruct)e +Fw(form)h(is)g(pro)q(cessed)k(\(see)e Fs(*package*)p +Fw(\).)26 b(If)16 b(the)i(argumen)o(t)e(is)0 1900 y(pro)o(vided)d(and)h +(is)f Fs(nil)p Fw(,)f(no)h(predicate)i(is)e(de\014ned.)19 +b(A)14 b(predicate)g(can)g(b)q(e)g(de\014ned)h(only)0 +1952 y(if)g(the)h(structure)i(is)e(\\named";)e(if)h(the)i +Fs(:type)d Fw(option)h(is)h(sp)q(eci\014ed)h(and)f(the)g +Fs(:named)0 2004 y Fw(option)10 b(is)h(not)g(sp)q(eci\014ed,)h(then)g +(the)f Fs(:predicate)e Fw(option)h(m)o(ust)g(either)i(b)q(e)f(unsp)q +(eci\014ed)0 2056 y(or)j(ha)o(v)o(e)g(the)g(v)n(alue)f +Fs(nil)p Fw(.)0 2166 y Fs(:include)0 2225 y Fw(This)18 +b(option)f(is)h(used)h(for)e(building)g(a)g(new)i(structure)h +(de\014nition)d(as)h(an)g(extension)0 2277 y(of)d(an)g(old)f(structure) +k(de\014nition.)k(As)15 b(an)g(example,)f(supp)q(ose)j(y)o(ou)d(ha)o(v) +o(e)i(a)f(structure)0 2329 y(called)f Fs(person)e Fw(that)i(lo)q(oks)f +(lik)o(e)h(this:)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 515 539 +515 538 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(STRUCTURES)1093 +b(515)0 295 y Fs(\(defstruct)19 b(person)h(name)g(age)h(sex\))0 +400 y Fw(No)o(w)16 b(supp)q(ose)i(y)o(ou)f(w)o(an)o(t)f(to)h(mak)o(e)e +(a)i(new)g(structure)i(to)d(represen)o(t)j(an)e(astronaut.)0 +452 y(Since)i(astronauts)h(are)f(p)q(eople)g(to)q(o,)h(y)o(ou)e(w)o +(ould)g(lik)o(e)g(them)g(also)g(to)h(ha)o(v)o(e)g(the)g(at-)0 +504 y(tributes)13 b(of)e(name,)f(age,)h(and)h(sex,)g(and)f(y)o(ou)g(w)o +(ould)g(lik)o(e)g(Lisp)g(functions)h(that)g(op)q(erate)0 +556 y(on)k Fs(person)f Fw(structures)k(to)d(op)q(erate)h(just)g(as)f(w) +o(ell)g(on)g Fs(astronaut)e Fw(structures.)28 b(Y)m(ou)0 +608 y(can)14 b(do)g(this)g(b)o(y)f(de\014ning)h Fs(astronaut)e +Fw(with)i(the)g Fs(:include)e Fw(option,)h(as)h(follo)o(ws:)0 +714 y Fs(\(defstruct)19 b(\(astronaut)g(\(:include)h(person\))466 +766 y(\(:conc-name)f(astro-\)\))64 818 y(helmet-size)64 +870 y(\(favorite-bever)o(age)475 874 y Fn(')498 870 y +Fs(tang\)\))42 975 y Fw(The)c Fs(:include)e Fw(option)h(causes)i(the)g +(structure)h(b)q(eing)e(de\014ned)h(to)e(ha)o(v)o(e)h(the)h(same)0 +1027 y(slots)h(as)g(the)h(included)f(structure.)30 b(This)17 +b(is)f(done)i(in)e(suc)o(h)i(a)f(w)o(a)o(y)f(that)h(the)h(access)0 +1079 y(functions)i(for)g(the)h(included)f(structure)i(will)d(also)g(w)o +(ork)h(on)g(the)h(structure)h(b)q(eing)0 1131 y(de\014ned.)33 +b(In)19 b(this)g(example,)f(an)g Fs(astronaut)f Fw(will)g(therefore)j +(ha)o(v)o(e)f(\014v)o(e)f(slots:)28 b(the)0 1183 y(three)16 +b(de\014ned)g(in)e Fs(person)f Fw(and)h(the)i(t)o(w)o(o)e(de\014ned)h +(in)f Fs(astronaut)f Fw(itself.)20 b(The)15 b(access)0 +1235 y(functions)g(de\014ned)h(b)o(y)e(the)h Fs(person)f +Fw(structure)i(can)f(b)q(e)h(applied)e(to)g(instances)i(of)e(the)0 +1286 y Fs(astronaut)c Fw(structure,)15 b(and)d(they)h(will)e(w)o(ork)h +(correctly)m(.)18 b(Moreo)o(v)o(er,)13 b Fs(astronaut)d +Fw(will)0 1338 y(ha)o(v)o(e)h(its)g(o)o(wn)f(access)j(functions)e(for)g +(comp)q(onen)o(ts)g(de\014ned)h(b)o(y)f(the)g Fs(person)f +Fw(structure.)0 1390 y(The)k(follo)o(wing)e(examples)h(illustrate)g(ho) +o(w)h(y)o(ou)f(can)h(use)h Fs(astronaut)d Fw(structures:)0 +1496 y Fs(\(setq)20 b(x)h(\(make-astronaut)d(:name)649 +1500 y Fn(')672 1496 y Fs(buzz)508 1548 y(:age)i(45)508 +1600 y(:sex)g(t)508 1652 y(:helmet-size)f(17.5\)\))0 +1756 y(\(person-name)g(x\))h Ft(\))h Fs(buzz)0 1808 y(\(astro-name)e +(x\))i Ft(\))f Fs(buzz)0 1911 y(\(astro-favorite-b)o(evera)o(ge)e(x\))j +Ft(\))g Fs(tang)0 2017 y Fw(The)e(di\013erence)i(b)q(et)o(w)o(een)f +(the)f(access)h(functions)f Fs(person-name)d Fw(and)j +Fs(astro-name)0 2069 y Fw(is)e(that)g Fs(person-name)e +Fw(ma)o(y)g(b)q(e)j(correctly)g(applied)f(to)g(an)o(y)g +Fs(person)p Fw(,)f(including)g(an)0 2121 y Fs(astronaut)p +Fw(,)8 b(while)i Fs(astro-name)e Fw(ma)o(y)g(b)q(e)j(correctly)g +(applied)e(only)g(to)h(an)g Fs(astronaut)p Fw(.)0 2173 +y(\(An)17 b(implem)o(en)o(tation)c(ma)o(y)i(or)h(ma)o(y)e(not)i(c)o +(hec)o(k)h(for)f(incorrect)i(use)f(of)f(access)i(func-)0 +2225 y(tions.\))42 2277 y(A)o(t)12 b(most)f(one)h Fs(:include)f +Fw(option)g(ma)o(y)g(b)q(e)h(sp)q(eci\014ed)i(in)e(a)g(single)g +Fs(defstruct)e Fw(form.)0 2329 y(The)20 b(argumen)o(t)f(to)h(the)g +Fs(:include)e Fw(option)h(is)h(required)h(and)e(m)o(ust)g(b)q(e)h(the)h +(name)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 516 540 +516 539 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(516)77 b(COMMON)13 +b(LISP)0 295 y Fw(of)k(some)f(previously)h(de\014ned)h(structure.)31 +b(If)17 b(the)h(structure)h(b)q(eing)e(de\014ned)i(has)e(no)0 +347 y Fs(:type)10 b Fw(option,)g(then)h(the)h(included)e(structure)j(m) +o(ust)d(also)g(ha)o(v)o(e)h(had)f(no)h Fs(:type)e Fw(option)0 +399 y(sp)q(eci\014ed)18 b(for)e(it.)24 b(If)16 b(the)h(structure)i(b)q +(eing)d(de\014ned)h(has)f(a)g Fs(:type)g Fw(option,)f(then)i(the)0 +450 y(included)g(structure)i(m)o(ust)d(ha)o(v)o(e)h(b)q(een)h(declared) +g(with)e(a)h Fs(:type)f Fw(option)g(sp)q(ecifying)0 502 +y(the)e(same)f(represen)o(tation)j(t)o(yp)q(e.)42 554 +y(If)h(no)g Fs(:type)g Fw(option)g(is)g(in)o(v)o(olv)o(ed,)g(then)i +(the)f(structure)i(name)c(of)h(the)i(including)0 606 +y(structure)14 b(de\014nition)d(b)q(ecomes)i(the)f(name)f(of)g(a)g +(data)h(t)o(yp)q(e,)g(of)f(course,)j(and)d(therefore)0 +658 y(a)j(v)n(alid)f(t)o(yp)q(e)i(sp)q(eci\014er)h(recognizable)e(b)o +(y)g Fs(typep)p Fw(;)f(moreo)o(v)o(er,)g(it)h(b)q(ecomes)h(a)f(subt)o +(yp)q(e)0 710 y(of)h(the)h(included)g(structure.)26 b(In)15 +b(the)h(ab)q(o)o(v)o(e)g(example,)e Fs(astronaut)g Fw(is)h(a)h(subt)o +(yp)q(e)g(of)0 762 y Fs(person)p Fw(;)c(hence)0 859 y +Fs(\(typep)20 b(\(make-astronaut\))520 863 y Fn(')543 +859 y Fs(person\))0 955 y Fw(is)12 b(true,)h(indicating)e(that)i(all)e +(op)q(erations)h(on)g(p)q(ersons)i(will)d(also)h(w)o(ork)f(on)i +(astronauts.)42 1007 y(The)i(follo)o(wing)e(is)i(an)f(adv)n(anced)i +(feature)g(of)e(the)i Fs(:include)d Fw(option.)21 b(Sometimes,)0 +1059 y(when)e(one)g(structure)i(includes)e(another,)h(the)g(default)e +(v)n(alues)g(or)h(slot-options)f(for)0 1111 y(the)d(slots)f(that)g +(came)g(from)e(the)j(included)f(structure)i(are)f(not)f(what)g(y)o(ou)g +(w)o(an)o(t.)k(The)0 1163 y(new)c(structure)i(can)e(sp)q(ecify)g +(default)f(v)n(alues)h(or)f(slot-options)g(for)h(the)g(included)g +(slots)0 1215 y(di\013eren)o(t)i(from)d(those)i(the)h(included)f +(structure)i(sp)q(eci\014es,)f(b)o(y)f(giving)e(the)i +Fs(:include)0 1267 y Fw(option)e(as)0 1364 y Fs(\(:include)19 +b Fv(name)j(slot-description-1)f(slot-description-2)f +Fs(...\))0 1460 y Fw(Eac)o(h)12 b Fv(slot-description-j)e +Fw(m)o(ust)g(ha)o(v)o(e)i(a)f Fv(slot-name)g Fw(or)g +Fv(slot-keywor)n(d)g Fw(that)g(is)h(the)g(same)0 1512 +y(as)19 b(that)f(of)g(some)g(slot)h(in)f(the)h(included)g(structure.)34 +b(If)19 b Fv(slot-description-j)e Fw(has)i(no)0 1564 +y Fv(default-init)p Fw(,)j(then)f(in)g(the)g(new)h(structure)h(the)e +(slot)g(will)e(ha)o(v)o(e)i(no)g(initial)e(v)n(alue.)0 +1616 y(Otherwise)g(its)f(initial)e(v)n(alue)i(form)e(will)h(b)q(e)h +(replaced)h(b)o(y)f(the)g Fv(default-init)g Fw(in)f Fv(slot-)0 +1668 y(description-j)p Fw(.)26 b(A)16 b(normally)e(writable)i(slot)h +(ma)o(y)d(b)q(e)j(made)f(read-only)m(.)25 b(If)16 b(a)h(slot)f(is)0 +1720 y(read-only)f(in)g(the)h(included)g(structure,)h(then)f(it)f(m)o +(ust)f(also)h(b)q(e)h(so)g(in)f(the)h(including)0 1772 +y(structure.)j(If)12 b(a)f(t)o(yp)q(e)i(is)f(sp)q(eci\014ed)h(for)e(a)h +(slot,)f(it)h(m)o(ust)f(b)q(e)h(the)h(same)e(as,)g(or)h(a)g(subt)o(yp)q +(e)0 1824 y(of,)j(the)h(t)o(yp)q(e)h(sp)q(eci\014ed)g(in)e(the)i +(included)e(structure.)26 b(If)15 b(it)h(is)f(a)h(strict)g(subt)o(yp)q +(e,)h(the)0 1876 y(implemen)o(tatio)o(n)11 b(ma)o(y)h(or)i(ma)o(y)e +(not)i(c)o(ho)q(ose)h(to)e(error-c)o(hec)o(k)j(assignmen)o(ts.)42 +1927 y(F)m(or)c(example,)g(if)g(w)o(e)h(had)g(w)o(an)o(ted)g(to)g +(de\014ne)h Fs(astronaut)d Fw(so)i(that)g(the)h(default)f(age)0 +1979 y(for)h(an)f(astronaut)h(is)g Fs(45)p Fw(,)f(then)i(w)o(e)f(could) +f(ha)o(v)o(e)h(said:)0 2076 y Fs(\(defstruct)19 b(\(astronaut)g +(\(:include)h(person)f(\(age)i(45\)\)\))64 2128 y(helmet-size)64 +2180 y(\(favorite-bever)o(age)475 2184 y Fn(')498 2180 +y Fs(tang\)\))42 2277 y Fw(X3J13)c(v)o(oted)h(in)g(June)h(1988)e +Ft(h)p Fw(41)p Ft(i)g Fw(to)h(require)h(an)o(y)f(structure)i(t)o(yp)q +(e)e(created)i(b)o(y)-33 2249 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a Fs(defstruct)12 b Fw(\(or)i Fs(defclass)p +Fw(\))e(to)i(b)q(e)g(disjoin)o(t)f(from)f(an)o(y)h(of)g(the)h(t)o(yp)q +(es)h Fs(cons)p Fw(,)d Fs(symbol)p Fw(,)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 517 541 +517 540 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(STRUCTURES)1093 +b(517)0 295 y Fs(array)p Fw(,)21 b Fs(number)p Fw(,)h +Fs(character)p Fw(,)e Fs(hash-table)p Fw(,)g Fs(readtable)p +Fw(,)h Fs(package)p Fw(,)g Fs(pathname)p Fw(,)0 347 y +Fs(stream)p Fw(,)e(and)g Fs(random-state)p Fw(.)33 b(A)19 +b(consequence)j(of)d(this)h(requiremen)o(t)f(is)h(that)f(it)0 +399 y(is)g(an)g(error)h(to)g(sp)q(ecify)g(an)o(y)e(of)h(these)i(t)o(yp) +q(es,)g(or)e(an)o(y)g(of)g(their)g(subt)o(yp)q(es,)j(to)d(the)0 +450 y Fs(defstruct)12 b(:include)h Fw(option.)18 b(\(The)d(\014rst)g +(edition)e(said)h(nothing)g(explicitly)f(ab)q(out)0 502 +y(this.)26 b(Inasm)o(uc)o(h)15 b(as)i(using)f(suc)o(h)h(a)f(t)o(yp)q(e) +h(with)f(the)h Fs(:include)e Fw(option)h(w)o(as)g(not)g(de-)0 +554 y(\014ned)g(to)g(w)o(ork,)f(one)h(migh)o(t)d(argue)j(that)f(suc)o +(h)i(use)f(w)o(as)g(an)f(error)h(in)g(Commo)o(n)d(Lisp)0 +606 y(as)h(de\014ned)h(b)o(y)f(the)g(\014rst)h(edition.\))-33 +618 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 888 a Fs(:print-function)0 951 y Fw(This)h(option)g(ma)o +(y)f(b)q(e)i(used)g(only)f(if)g(the)h Fs(:type)e Fw(option)h(is)g(not)h +(sp)q(eci\014ed.)27 b(The)17 b(ar-)0 1003 y(gumen)o(t)e(to)g(the)i +Fs(:print-function)12 b Fw(option)j(should)h(b)q(e)g(a)f(function)h(of) +f(three)i(argu-)0 1055 y(men)o(ts,)12 b(in)g(a)g(form)f(acceptable)i +(to)g(the)g Fs(function)d Fw(sp)q(ecial)j(form,)e(to)h(b)q(e)h(used)h +(to)e(prin)o(t)0 1107 y(structures)19 b(of)d(this)h(t)o(yp)q(e.)27 +b(When)17 b(a)f(structure)j(of)d(this)g(t)o(yp)q(e)i(is)e(to)h(b)q(e)g +(prin)o(ted,)g(the)0 1159 y(function)11 b(is)g(called)h(on)f(three)i +(argumen)o(ts:)j(the)c(structure)h(to)f(b)q(e)g(prin)o(ted,)g(a)f +(stream)g(to)0 1211 y(prin)o(t)h(to,)h(and)f(an)h(in)o(teger)g +(indicating)e(the)i(curren)o(t)h(depth)g(\(to)e(b)q(e)h(compared)f +(against)0 1263 y Fs(*print-level*)p Fw(\).)31 b(The)20 +b(prin)o(ting)e(function)h(should)g(observ)o(e)h(the)g(v)n(alues)e(of)h +(suc)o(h)0 1315 y(prin)o(ter-con)o(trol)14 b(v)n(ariables)f(as)h +Fs(*print-escape*)d Fw(and)j Fs(*print-pretty*)p Fw(.)42 +1386 y(If)g(the)i Fs(:print-function)c Fw(option)i(is)h(not)g(sp)q +(eci\014ed)i(and)e(the)h Fs(:type)e Fw(option)g(also)0 +1438 y(not)j(sp)q(eci\014ed,)j(then)e(a)f(default)h(prin)o(ting)e +(function)h(is)h(pro)o(vided)f(for)g(the)i(structure)0 +1490 y(that)14 b(will)e(prin)o(t)i(out)g(all)f(its)g(slots)h(using)g +Fs(#)664 1486 y(-)664 1494 y(-)686 1490 y(S)f Fw(syn)o(tax)h(\(see)i +(section)e(22.1.4\).)42 1562 y(X3J13)k(v)o(oted)g(in)g(Jan)o(uary)g +(1989)g Ft(h)p Fw(143)p Ft(i)f Fw(to)i(sp)q(ecify)g(that)f +(user-de\014ned)j(prin)o(ting)-33 1534 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1614 a(functions)c(for)g(the)h Fs(defstruct)d +(:print-function)f Fw(option)i(ma)o(y)g(prin)o(t)h(ob)r(jects)h(to)0 +1666 y(the)f(supplied)f(stream)f(using)h Fs(write)p Fw(,)f +Fs(print1)p Fw(,)g Fs(princ)p Fw(,)g Fs(format)p Fw(,)f(or)i +Fs(print-object)0 1718 y Fw(and)g(exp)q(ect)i(circularities)e(to)g(b)q +(e)h(detected)h(and)e(prin)o(ted)g(using)g Fs(#)1063 +1714 y(-)1063 1722 y(-)1085 1718 y Fv(n)s Fs(#)1111 1714 +y(-)1111 1722 y(-)1149 1718 y Fw(syn)o(tax)g(\(when)0 +1770 y Fs(*print-circle*)11 b Fw(is)j(non-)p Fs(nil)p +Fw(,)e(of)h(course\).)20 b(See)15 b Fs(*print-circle*)p +Fw(.)-33 1781 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1842 a(X3J13)f(v)o(oted)i(in)f(Jan)o(uary)g(1989)f +Ft(h)p Fw(55)p Ft(i)h Fw(to)g(clarify)f(that)i(if)e(the)i +Fs(:print-function)-33 1813 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1894 a Fw(option)g(is)h(not)h(sp)q(eci\014ed)g(but)g +(the)f Fs(:include)f Fw(option)g Fv(is)h Fw(sp)q(eci\014ed,)i(then)f +(the)g(prin)o(t)0 1945 y(function)g(is)g(inherited)g(from)f(the)h +(included)h(structure)h(t)o(yp)q(e.)31 b(Th)o(us,)19 +b(for)e(example,)0 1997 y(an)e Fs(astronaut)e Fw(will)h(b)q(e)i(prin)o +(ted)g(b)o(y)f(the)h(same)e(prin)o(ting)g(function)h(that)h(is)f(used)h +(for)0 2049 y Fs(person)p Fw(.)42 2121 y(X3J13)g(in)g(the)i(same)e(v)o +(ote)h(extended)h(the)g Fs(print-function)c Fw(option)i(as)h(follo)o +(ws:)0 2173 y(If)h(the)g Fs(print-function)d Fw(option)j(is)g(sp)q +(eci\014ed)h(but)f(with)g(no)g(argumen)o(t,)f(then)i(the)0 +2225 y(standard)e(default)f(prin)o(ting)g(function)g(\(that)h(uses)g +Fs(#)843 2221 y(-)843 2229 y(-)865 2225 y(S)f Fw(syn)o(tax\))h(will)e +(b)q(e)i(used.)27 b(This)0 2277 y(pro)o(vides)16 b(a)f(means)g(of)g(o)o +(v)o(erriding)g(the)h(inheritance)h(rule.)23 b(F)m(or)16 +b(example,)e(if)h Fs(person)0 2329 y Fw(and)f Fs(astronaut)e +Fw(had)h(b)q(een)i(de\014ned)g(as)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 518 542 +518 541 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(518)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(defstruct)19 b(\(person)275 347 y +(\(:print-function)103 b(;)p Fw(Sp)q(ecial)13 b(prin)o(t)h(function)275 +399 y Fs(\(lambda)20 b(\(p)h(s)g(k\))318 450 y(\(format)e(s)i("<)576 +454 y Fn(~)599 450 y Fs(A,)g(age)748 454 y Fn(~)771 450 +y Fs(D>")487 502 y(\(person-name)e(p\))487 554 y(\(person-age)g +(p\)\)\)\)\))42 606 y(name)i(age)f(sex\))0 710 y(\(defstruct)f +(\(astronaut)275 762 y(\(:include)h(person\))275 814 +y(\(:conc-name)f(astro-\))275 866 y(\(:print-function\)\))102 +b(;)p Fw(Use)15 b(default)e(prin)o(t)h(function)64 917 +y Fs(helmet-size)64 969 y(\(favorite-bever)o(age)475 +973 y Fn(')498 969 y Fs(tang\)\))0 1076 y Fw(then)j(an)e(ordinary)h(p)q +(erson)g(w)o(ould)g(b)q(e)g(prin)o(ted)g(as)g(\\)p Fs()p Fw(")15 b(but)0 1128 y(an)f(astronaut)g(w)o(ould)f(b)q(e)h +(prin)o(ted)h(as,)e(for)h(example,)0 1235 y Fs(#)0 1231 +y(-)0 1239 y(-)22 1235 y(S\(ASTRONAUT)19 b(NAME)h(BUZZ)g(AGE)h(45)g +(SEX)f(T)64 1287 y(HELMET-SIZE)e(17.5)j(FAVORITE-BEVERAG)o(E)d(TANG\))0 +1394 y Fw(using)c(the)g(default)g Fs(#)320 1390 y(-)320 +1398 y(-)341 1394 y(S)g Fw(syn)o(tax)g(\(yuk\).)42 1446 +y(These)27 b(c)o(hanges)h(mak)o(e)d(the)i(b)q(eha)o(vior)g(of)f +Fs(defstruct)e Fw(with)j(resp)q(ect)i(to)d(the)0 1498 +y Fs(:include)12 b Fw(option)h(a)h(bit)f(more)g(lik)o(e)g(the)i(b)q +(eha)o(vior)f(of)f(classes)i(in)e(CLOS.)-33 1510 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1605 a Fs(:type)0 1668 y Fw(The)19 b Fs(:type)e +Fw(option)h(explicitly)g(sp)q(eci\014es)i(the)f(represen)o(tation)h(to) +e(b)q(e)i(used)f(for)f(the)0 1720 y(structure.)i(It)12 +b(tak)o(es)h(one)f(argumen)o(t,)f(whic)o(h)h(m)o(ust)g(b)q(e)g(one)h +(of)f(the)g(t)o(yp)q(es)i(en)o(umerated)0 1772 y(b)q(elo)o(w.)42 +1824 y(Sp)q(ecifying)e(this)h(option)e(has)i(the)h(e\013ect)g(of)e +(forcing)g(a)g(sp)q(eci\014c)j(represen)o(tation)f(and)0 +1876 y(of)d(forcing)f(the)i(comp)q(onen)o(ts)f(to)g(b)q(e)h(stored)g +(in)f(the)h(order)g(sp)q(eci\014ed)h(in)e(the)h Fs(defstruct)0 +1928 y Fw(form)h(in)i(corresp)q(onding)h(successiv)o(e)i(elemen)o(ts)d +(of)f(the)i(sp)q(eci\014ed)h(represen)o(tation.)24 b(It)0 +1980 y(also)14 b Fv(pr)n(events)h Fw(the)g(structure)i(name)c(from)g(b) +q(ecoming)g(a)i(v)n(alid)e(t)o(yp)q(e)i(sp)q(eci\014er)h(recog-)0 +2032 y(nizable)e(b)o(y)f Fs(typep)g Fw(\(see)i(section)g(19.7\).)42 +2084 y(Normally)d(this)j(option)f(is)h(not)g(sp)q(eci\014ed,)h(in)f +(whic)o(h)g(case)h(the)f(structure)j(is)c(repre-)0 2136 +y(sen)o(ted)h(in)f(an)f(implemen)o(tation-dep)q(enden)o(t)f(manner.)42 +2214 y Fs(vector)42 2277 y Fw(This)i(pro)q(duces)j(the)e(same)f(result) +h(as)g(sp)q(ecifying)g Fs(\(vector)20 b(t\))p Fw(.)g(The)15 +b(structure)i(is)42 2329 y(represen)o(ted)c(as)d(a)g(general)h(v)o +(ector,)g(storing)f(comp)q(onen)o(ts)g(as)h(v)o(ector)g(elemen)o(ts.)16 +b(The)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 519 543 +519 542 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(STRUCTURES)1093 +b(519)42 295 y Fw(\014rst)14 b(comp)q(onen)o(t)f(is)g(v)o(ector)h +(elemen)o(t)f(1)g(if)g(the)h(structure)i(is)d Fs(:named)p +Fw(,)f(and)h(elemen)o(t)42 347 y(0)g(otherwise.)42 448 +y Fs(\(vector)19 b Fv(element-typ)n(e)p Fs(\))42 513 +y Fw(The)12 b(structure)i(is)e(represen)o(ted)j(as)d(a)f(\(p)q(ossibly) +h(sp)q(ecialized\))h(v)o(ector,)f(storing)g(com-)42 565 +y(p)q(onen)o(ts)k(as)f(v)o(ector)h(elemen)o(ts.)22 b(Ev)o(ery)15 +b(comp)q(onen)o(t)g(m)o(ust)f(b)q(e)i(of)f(a)g(t)o(yp)q(e)g(that)h(can) +42 617 y(b)q(e)g(stored)h(in)f(a)g(v)o(ector)g(of)g(the)h(t)o(yp)q(e)f +(sp)q(eci\014ed.)26 b(The)17 b(\014rst)g(comp)q(onen)o(t)e(is)h(v)o +(ector)42 669 y(elemen)o(t)e(1)h(if)g(the)h(structure)h(is)f +Fs(:named)p Fw(,)d(and)j(elemen)o(t)e(0)i(otherwise.)23 +b(The)16 b(struc-)42 721 y(ture)g(ma)o(y)f(b)q(e)h Fs(:named)f +Fw(only)h(if)f(the)i(t)o(yp)q(e)f Fs(symbol)f Fw(is)h(a)g(subt)o(yp)q +(e)h(of)e(the)i(sp)q(eci\014ed)42 773 y Fs(element-type)p +Fw(.)42 874 y Fs(list)42 937 y Fw(The)12 b(structure)i(is)e(represen)o +(ted)i(as)e(a)g(list.)17 b(The)12 b(\014rst)h(comp)q(onen)o(t)e(is)h +(the)g Fv(c)n(adr)g Fw(if)f(the)42 989 y(structure)16 +b(is)d Fs(:named)p Fw(,)f(and)i(the)h Fv(c)n(ar)e Fw(if)g(it)h(is)f +Fs(:unnamed)p Fw(.)0 1090 y Fs(:named)0 1153 y Fw(The)i +Fs(:named)e Fw(option)g(sp)q(eci\014es)j(that)f(the)g(structure)h(is)e +(\\named";)e(this)j(option)e(tak)o(es)0 1205 y(no)18 +b(argumen)o(t.)29 b(If)18 b(no)f Fs(:type)g Fw(option)h(is)f(sp)q +(eci\014ed,)k(then)d(the)h(structure)h(is)e(alw)o(a)o(ys)0 +1257 y(named;)g(so)g(this)g(option)e(is)i(useful)g(only)f(in)g +(conjunction)h(with)f(the)h Fs(:type)f Fw(option.)0 1309 +y(See)e(section)f(19.7)f(for)h(a)f(further)i(description)f(of)g(this)g +(option.)0 1410 y Fs(:initial-offset)0 1473 y Fw(This)d(allo)o(ws)f(y)o +(ou)h(to)g(tell)f Fs(defstruct)g Fw(to)h(skip)g(o)o(v)o(er)g(a)g +(certain)h(n)o(um)o(b)q(er)e(of)h(slots)g(b)q(efore)0 +1525 y(it)16 b(starts)h(allo)q(cating)e(the)i(slots)g(describ)q(ed)h +(in)e(the)h(b)q(o)q(dy)m(.)25 b(This)17 b(option)e(requires)j(an)0 +1577 y(argumen)o(t,)j(a)f(non-negativ)o(e)g(in)o(teger,)j(whic)o(h)d +(is)h(the)g(n)o(um)o(b)q(er)f(of)g(slots)h(y)o(ou)f(w)o(an)o(t)0 +1629 y Fs(defstruct)c Fw(to)h(skip.)29 b(The)18 b Fs(:initial-offset)c +Fw(option)j(ma)o(y)f(b)q(e)i(used)h(only)d(if)h(the)0 +1681 y Fs(:type)d Fw(option)h(is)g(also)f(sp)q(eci\014ed.)24 +b(See)16 b(section)g(19.7.3)d(for)i(a)f(further)j(description)e(of)0 +1733 y(this)f(option.)0 1881 y Fo(19.6.)20 b(By-P)n(osition)14 +b(Constructor)h(F)-5 b(unctions)0 1966 y Fw(If)15 b(the)i +Fs(:constructor)c Fw(option)i(is)g(giv)o(en)h(as)g Fs(\(:constructor)i +Fv(name)k(ar)n(glist)p Fs(\))p Fw(,)14 b(then)0 2017 +y(instead)h(of)f(making)e(a)j(k)o(eyw)o(ord-driv)o(en)f(constructor)i +(function,)f Fs(defstruct)d Fw(de\014nes)0 2069 y(a)k(\\p)q(ositional") +e(constructor)j(function,)f(taking)f(argumen)o(ts)g(whose)i(meaning)d +(is)h(de-)0 2121 y(termined)d(b)o(y)h(the)g(argumen)o(t's)f(p)q +(osition)g(rather)i(than)e(b)o(y)h(a)f(k)o(eyw)o(ord.)18 +b(The)13 b Fv(ar)n(glist)f Fw(is)0 2173 y(used)k(to)f(describ)q(e)i +(what)e(the)h(argumen)o(ts)e(to)h(the)h(constructor)h(will)c(b)q(e.)23 +b(In)15 b(the)g(sim-)0 2225 y(plest)g(case)f(something)f(lik)o(e)g +Fs(\(:constructor)19 b(make-foo)g(\(a)i(b)g(c\)\))13 +b Fw(de\014nes)j Fs(make-)0 2277 y(foo)g Fw(to)g(b)q(e)h(a)f +(three-argumen)o(t)g(constructor)i(function)e(whose)h(argumen)o(ts)f +(are)h(used)0 2329 y(to)d(initialize)e(the)j(slots)f(named)e +Fs(a)p Fw(,)i Fs(b)p Fw(,)f(and)g Fs(c)p Fw(.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 520 544 +520 543 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(520)77 b(COMMON)13 +b(LISP)42 295 y Fw(In)j(addition,)g(the)h(k)o(eyw)o(ords)g +Fs(&optional)p Fw(,)e Fs(&rest)p Fw(,)h(and)g Fs(&aux)g +Fw(are)h(recognized)h(in)0 347 y(the)e(argumen)o(t)f(list.)22 +b(They)16 b(w)o(ork)f(in)g(the)h(w)o(a)o(y)f(y)o(ou)g(migh)o(t)e(exp)q +(ect,)18 b(but)d(there)i(are)f(a)0 399 y(few)e(\014ne)g(p)q(oin)o(ts)g +(w)o(orth)o(y)g(of)f(explanation.)k(Consider)d(this)g(example:)0 +482 y Fs(\(:constructor)k(create-foo)169 533 y(\(a)j(&optional)e(b)i +(\(c)557 537 y Fn(')580 533 y Fs(sea\))g(&rest)f(d)h(&aux)f(e)h(\(f) +1076 537 y Fn(')1099 533 y Fs(eff\)\)\))0 616 y Fw(This)14 +b(de\014nes)h Fs(create-foo)d Fw(to)i(b)q(e)h(a)f(constructor)i(of)d +(one)h(or)g(more)f(argumen)o(ts.)18 b(The)0 668 y(\014rst)f(argumen)o +(t)f(is)g(used)h(to)f(initialize)f(the)i Fs(a)f Fw(slot.)26 +b(The)17 b(second)g(argumen)o(t)f(is)g(used)0 720 y(to)g(initialize)e +(the)j Fs(b)f Fw(slot.)24 b(If)15 b(there)j(isn't)d(an)o(y)h(second)h +(argumen)o(t,)e(then)h(the)h(default)0 772 y(v)n(alue)11 +b(giv)o(en)h(in)g(the)g(b)q(o)q(dy)g(of)g(the)g Fs(defstruct)f +Fw(\(if)g(giv)o(en\))h(is)g(used)g(instead.)18 b(The)13 +b(third)0 824 y(argumen)o(t)c(is)h(used)h(to)f(initialize)f(the)h +Fs(c)g Fw(slot.)17 b(If)10 b(there)h(isn't)f(an)o(y)g(third)g(argumen)o +(t,)f(then)0 876 y(the)14 b(sym)o(b)q(ol)d Fs(sea)i Fw(is)g(used)h +(instead.)k(An)o(y)13 b(argumen)o(ts)f(follo)o(wing)f(the)j(third)f +(argumen)o(t)0 928 y(are)i(collected)g(in)o(to)f(a)g(list)g(and)g(used) +h(to)g(initialize)e(the)i Fs(d)f Fw(slot.)19 b(If)14 +b(there)i(are)f(three)h(or)0 980 y(few)o(er)d(argumen)o(ts,)e(then)h +Fs(nil)g Fw(is)g(placed)g(in)f(the)i Fs(d)f Fw(slot.)17 +b(The)12 b Fs(e)g Fw(slot)g Fv(is)h(not)g(initialize)n(d)p +Fw(;)0 1032 y(its)j(initial)f(v)n(alue)h(is)g(unde\014ned.)27 +b(Finally)m(,)15 b(the)i Fs(f)f Fw(slot)g(is)h(initialized)e(to)h(con)o +(tain)g(the)0 1083 y(sym)o(b)q(ol)c Fs(eff)p Fw(.)42 +1135 y(The)k(actions)f(tak)o(en)h(in)f(the)i Fs(b)e Fw(and)h +Fs(e)f Fw(cases)i(w)o(ere)g(carefully)e(c)o(hosen)i(to)e(allo)o(w)f +(the)0 1187 y(user)i(to)e(sp)q(ecify)h(all)e(p)q(ossible)i(b)q(eha)o +(viors.)k(Note)c(that)g(the)g Fs(&aux)e Fw(\\v)n(ariables")g(can)i(b)q +(e)0 1239 y(used)g(to)f(completely)e(o)o(v)o(erride)i(the)h(default)e +(initializations)f(giv)o(en)h(in)h(the)g(b)q(o)q(dy)m(.)42 +1291 y(With)f(this)h(de\014nition,)f(one)h(can)g(write)0 +1374 y Fs(\(create-foo)19 b(1)i(2\))0 1457 y Fw(instead)14 +b(of)0 1540 y Fs(\(make-foo)19 b(:a)i(1)g(:b)g(2\))0 +1623 y Fw(and)10 b(of)g(course)h Fs(create-foo)d Fw(pro)o(vides)j +(defaulting)e(di\013eren)o(t)i(from)e(that)h(of)g Fs(make-foo)p +Fw(.)42 1675 y(It)15 b(is)g(p)q(ermissible)g(to)g(use)h(the)g +Fs(:constructor)d Fw(option)i(more)f(than)h(once,)h(so)g(that)0 +1727 y(y)o(ou)i(can)g(de\014ne)h(sev)o(eral)g(di\013eren)o(t)g +(constructor)g(functions,)g(eac)o(h)g(taking)e(di\013eren)o(t)0 +1779 y(parameters.)42 1831 y(Because)h(a)d(constructor)j(of)e(this)g(t) +o(yp)q(e)g(op)q(erates)i(By)e(Order)i(of)d(Argumen)o(ts,)h(it)g(is)0 +1883 y(sometimes)c(kno)o(wn)i(as)g(a)f(BO)o(A)i(constructor.)42 +1934 y(X3J13)f(v)o(oted)h(in)f(Jan)o(uary)h(1989)f Ft(h)p +Fw(53)p Ft(i)g Fw(to)h(allo)o(w)e Fs(&key)h Fw(and)g +Fs(&allow-other-keys)-33 1906 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1986 a Fw(in)g(the)g(parameter)g(list)f(of)h(a)f(\\p)q +(ositional")g(constructor.)20 b(The)14 b(initialization)d(of)j(slots)0 +2038 y(corresp)q(onding)f(to)g(k)o(eyw)o(ord)f(parameters)g(is)h(p)q +(erformed)f(in)g(the)h(same)e(manner)h(as)g(for)0 2090 +y Fs(&optional)d Fw(parameters.)17 b(A)11 b(v)n(arian)o(t)f(of)g(the)i +(example)d(sho)o(wn)i(ab)q(o)o(v)o(e)g(illustrates)g(this:)0 +2173 y Fs(\(:constructor)18 b(create-foo)169 2225 y(\(a)j(&optional)e +(b)i(\(c)557 2229 y Fn(')580 2225 y Fs(sea\))191 2277 +y(&key)f(p)h(\(q)404 2281 y Fn(')428 2277 y Fs(cue\))f(\(\(:why)g +(y\)\))h(\(\(:you)f(u\))989 2281 y Fn(')1012 2277 y Fs(ewe\))191 +2329 y(&aux)g(e)h(\(f)404 2333 y Fn(')428 2329 y Fs(eff\)\)\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 521 545 +521 544 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(STRUCTURES)1093 +b(521)0 295 y Fw(The)13 b(treatmen)o(t)e(of)h(slots)g +Fs(a)p Fw(,)g Fs(b)p Fw(,)g Fs(c)p Fw(,)f Fs(e)p Fw(,)h(and)g +Fs(f)g Fw(is)g(the)h(same)e(as)h(in)g(the)g(original)e(example.)0 +347 y(In)16 b(addition,)g(if)f(there)j(is)e(a)g Fs(:p)g +Fw(k)o(eyw)o(ord)g(argumen)o(t,)g(it)g(is)g(used)h(to)f(initialize)f +(the)i Fs(p)0 399 y Fw(slot;)e(if)f(there)i(isn't)f(an)o(y)f +Fs(:p)h Fw(k)o(eyw)o(ord)g(argumen)o(t,)e(then)j(the)g(default)e(v)n +(alue)h(giv)o(en)f(in)0 450 y(the)i(b)q(o)q(dy)f(of)g(the)h +Fs(defstruct)d Fw(\(if)i(giv)o(en\))g(is)g(used)i(instead.)22 +b(Similarly)l(,)13 b(if)h(there)j(is)e(a)0 502 y Fs(:q)g +Fw(k)o(eyw)o(ord)g(argumen)o(t,)f(it)h(is)h(used)g(to)f(initialize)f +(the)i Fs(q)f Fw(slot;)g(if)g(there)h(isn't)f(an)o(y)g +Fs(:q)0 554 y Fw(k)o(eyw)o(ord)f(argumen)o(t,)e(then)j(the)f(sym)o(b)q +(ol)e Fs(cue)h Fw(is)h(used)h(instead.)42 619 y(In)e(order)h +(thoroughly)f(to)g(\015og)g(this)h(presumably)e(already)h(dead)h +(horse,)g(w)o(e)g(further)0 671 y(observ)o(e)g(that)f(if)f(there)i(is)e +(a)h Fs(:why)f Fw(k)o(eyw)o(ord)h(argumen)o(t,)e(it)h(is)h(used)h(to)e +(initialize)g(the)h Fs(y)0 723 y Fw(slot;)h(otherwise)i(the)f(default)g +(v)n(alue)f(for)g(slot)h Fs(y)f Fw(is)h(used)g(instead.)21 +b(Similarly)l(,)12 b(if)h(there)0 775 y(is)i(a)g Fs(:you)f +Fw(k)o(eyw)o(ord)h(argumen)o(t,)f(it)h(is)g(used)h(to)f(initialize)f +(the)i Fs(u)f Fw(slot;)g(otherwise)h(the)0 827 y(sym)o(b)q(ol)c +Fs(ewe)h Fw(is)h(used)h(instead.)42 892 y(If)e(memory)f(serv)o(es)k(me) +d(correctly)m(,)h Fs(defstruct)e Fw(w)o(as)i(included)h(in)e(the)i +(original)d(de-)0 944 y(sign)j(for)g(Common)d(Lisp)k(some)e(time)g(b)q +(efore)j(k)o(eyw)o(ord)e(argumen)o(ts)g(w)o(ere)h(appro)o(v)o(ed.)0 +996 y(The)e(failure)g(of)f(p)q(ositional)g(constructors)j(to)e(accept)h +(k)o(eyw)o(ord)f(argumen)o(ts)f(ma)o(y)f(w)o(ell)0 1048 +y(ha)o(v)o(e)g(b)q(een)h(an)e(o)o(v)o(ersigh)o(t)h(on)f(m)o(y)f(part;)j +(there)g(is)f(no)f(logical)f(reason)j(to)e(exclude)i(them.)0 +1099 y(I)h(am)e(grateful)h(to)h(X3J13)g(for)f(rectifying)h(this.)42 +1165 y(A)f(remaining)e(di\016cult)o(y)i(is)g(that)h(the)g(p)q +(ossibilit)o(y)e(of)h(k)o(eyw)o(ord)g(argumen)o(ts)g(renders)0 +1216 y(the)j(term)f(\\p)q(ositional)f(constructor")k(a)d(misnomer.)21 +b(W)m(orse)16 b(y)o(et,)g(it)f(ruins)h(the)g(term)0 1268 +y(\\BO)o(A)d(constructor.")20 b(I)13 b(suggest)g(that)h(they)f(con)o +(tin)o(ue)g(to)g(b)q(e)h(called)f(BO)o(A)g(construc-)0 +1320 y(tors,)18 b(as)f(I)g(refuse)h(to)f(abandon)g(a)g(go)q(o)q(d)g +(pun.)27 b(\(I)18 b(regret)g(app)q(earing)f(to)g(ha)o(v)o(e)g(more)0 +1372 y(compassion)c(for)g(puns)h(than)g(for)g(horses.\))42 +1437 y(As)19 b(part)f(of)h(the)g(same)f(v)o(ote)g(X3J13)h(also)f(c)o +(hanged)h Fs(defstruct)e Fw(to)h(allo)o(w)f(BO)o(A)0 +1489 y(constructors)j(to)f(ha)o(v)o(e)f(parameters)g(\(including)g +(supplied-p)g(parameters\))h(that)f(do)0 1541 y(not)i(corresp)q(ond)i +(to)e(an)o(y)g(slot.)36 b(Suc)o(h)21 b(parameters)f(ma)o(y)e(b)q(e)j +(used)g(in)f(subsequen)o(t)0 1593 y(initialization)11 +b(forms)i(in)g(the)i(parameter)e(list.)18 b(Consider)c(this)g(example:) +0 1810 y Fs(\(defstruct)19 b(\(ice-cream-factory)275 +1862 y(\(:constructor)g(fabricate-factor)o(y)318 1914 +y(\(&key)h(\(capacity)f(5\))466 1966 y(location)466 2017 +y(\(local-flavors)508 2069 y(\(case)h(location)550 2121 +y(\(\(hawaii\))766 2125 y Fn(')789 2121 y Fs(\(pineapple)f(macadamia)g +(guava\)\))550 2173 y(\(\(massachusetts\))918 2177 y +Fn(')941 2173 y Fs(\(lobster)h(baked-bean\)\))550 2225 +y(\(\(california\))853 2229 y Fn(')876 2225 y Fs(\(ginger)g(lotus)g +(avocado)889 2277 y(bean-sprout)f(garlic\)\))550 2329 +y(\(\(texas\))744 2333 y Fn(')767 2329 y Fs(\(jalapeno)g +(barbecue\)\)\)\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 522 546 +522 545 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(522)77 b(COMMON)13 +b(LISP)466 295 y Fs(\(flavors)19 b(\(subseq)h(\(append)g(local-flavors) +993 351 y Fn(')1016 347 y Fs(\(vanilla)1037 399 y(chocolate)1037 +450 y(strawberry)1037 502 y(pistachio)1037 554 y(maple-walnut)1037 +606 y(peppermint\)\))826 658 y(0)h(capacity\)\)\)\)\))42 +710 y(\(capacity)f(3\))42 762 y(\(flavors)236 766 y Fn(')259 +762 y Fs(\(vanilla)g(chocolate)f(strawberry)g(mango\)\)\))42 +847 y Fw(The)e(structure)i(t)o(yp)q(e)f Fs(ice-cream-factory)13 +b Fw(has)18 b(t)o(w)o(o)e(constructors.)30 b(The)18 b(stan-)0 +899 y(dard)g(constructor,)i Fs(make-ice-cream-f)o(actor)o(y)p +Fw(,)15 b(tak)o(es)k(t)o(w)o(o)e(k)o(eyw)o(ord)g(argumen)o(ts)0 +951 y(named)g Fs(:capacity)e Fw(and)j Fs(:flavors)p Fw(.)28 +b(F)m(or)17 b(this)h(constructor,)i(the)e(default)g(for)f(the)0 +1002 y Fs(capacity)11 b Fw(slot)h(is)h Fs(3)g Fw(and)f(the)h(default)g +(list)f(of)g Fs(flavors)f Fw(is)i(America's)f(fa)o(v)o(orite)g(three-)0 +1054 y(some)i(and)g(a)h(dark)f(horse)i(\(not)e(a)h(dead)g(one\).)20 +b(The)15 b(BO)o(A)h(constructor)g Fs(fabricate-)0 1106 +y(factory)10 b Fw(accepts)j(four)f(di\013eren)o(t)g(k)o(eyw)o(ord)g +(argumen)o(ts.)k(The)c Fs(:capacity)e Fw(argumen)o(t)0 +1158 y(defaults)15 b(to)f Fs(5)p Fw(,)g(and)h(the)g Fs(:flavors)e +Fw(argumen)o(t)h(defaults)h(in)f(a)g(complicated)g(manner)0 +1210 y(based)j(on)f(the)h(other)g(three.)27 b(The)16 +b Fs(:local-flavors)e Fw(argumen)o(t)h(ma)o(y)f(b)q(e)j(sp)q(eci\014ed) +0 1262 y(directly)m(,)c(or)g(ma)o(y)e(b)q(e)j(allo)o(w)o(ed)e(to)h +(default)g(based)h(on)f(the)h Fs(:location)d Fw(of)i(the)h(factory)m(.) +0 1314 y(Here)h(are)f(examples)f(of)h(v)n(arious)f(factories:)0 +1399 y Fs(\(setq)20 b(houston)g(\(fabricate-factor)o(y)e(:capacity)i(4) +h(:location)1193 1403 y Fn(')1216 1399 y Fs(texas\)\))0 +1451 y(\(setq)f(cambridge)f(\(fabricate-factory)f(:location)976 +1455 y Fn(')999 1451 y Fs(massachusetts\)\))0 1503 y(\(setq)i(seattle)g +(\(fabricate-factor)o(y)e(:local-flavors)1041 1507 y +Fn(')1065 1503 y Fs(\(salmon\)\)\))0 1555 y(\(setq)i(wheaton)g +(\(fabricate-factor)o(y)e(:capacity)i(4)h(:location)1193 +1559 y Fn(')1216 1555 y Fs(illinois\)\))0 1606 y(\(setq)f(pittsburgh)f +(\(fabricate-factory)f(:capacity)h(4\)\))0 1658 y(\(setq)h(cleveland)f +(\(make-factory)g(:capacity)g(4\)\))0 1762 y(\(ice-cream-factor)o +(y-fla)o(vors)f(houston\))21 1814 y Ft(\))j Fs(\(jalapeno)e(barbecue)h +(vanilla)f(chocolate\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 523 547 +523 546 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(STRUCTURES)1093 +b(523)0 295 y Fs(\(ice-cream-factor)o(y-fla)o(vors)18 +b(cambridge\))21 347 y Ft(\))j Fs(\(lobster)e(baked-bean)g(vanilla)h +(chocolate)f(strawberry\))0 450 y(\(ice-cream-factor)o(y-fla)o(vors)f +(seattle\))21 502 y Ft(\))j Fs(\(salmon)f(vanilla)f(chocolate)h +(strawberry)f(pistachio\))0 606 y(\(ice-cream-factor)o(y-fla)o(vors)f +(wheaton\))21 658 y Ft(\))j Fs(\(vanilla)e(chocolate)h(strawberry)f +(pistachio\))0 762 y(\(ice-cream-factor)o(y-fla)o(vors)f(pittsburgh\)) +21 814 y Ft(\))j Fs(\(vanilla)e(chocolate)h(strawberry)f(pistachio\))0 +917 y(\(ice-cream-factor)o(y-fla)o(vors)f(cleveland\))21 +969 y Ft(\))j Fs(\(vanilla)e(chocolate)h(strawberry)f(mango\))-33 +985 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1126 a Fo(19.7.)h(Structures)j(of)g(Explicitly)d(Sp)r +(eci\014ed)h(Represen)n(tational)136 1184 y(T)n(yp)r(e)0 +1271 y Fw(Sometimes)13 b(it)h(is)h(imp)q(ortan)o(t)e(to)h(ha)o(v)o(e)h +(explicit)f(con)o(trol)h(o)o(v)o(er)g(the)g(represen)o(tation)h(of)0 +1323 y(a)h(structure.)31 b(The)18 b Fs(:type)e Fw(option)h(allo)o(ws)f +(one)h(to)h(sp)q(ecify)g(that)f(a)g(structure)j(m)o(ust)0 +1375 y(b)q(e)c(implemen)o(ted)d(in)i(a)g(particular)g(w)o(a)o(y)m(,)f +(using)h(a)g(list)g(or)g(a)g(sp)q(eci\014c)i(kind)e(of)f(v)o(ector,)0 +1427 y(and)k(to)g(sp)q(ecify)g(the)h(exact)g(allo)q(cation)d(of)i +(structure)i(slots)e(to)g(comp)q(onen)o(ts)g(of)f(the)0 +1479 y(represen)o(tation.)26 b(A)16 b(structure)i(ma)o(y)13 +b(also)j(b)q(e)g(\\unnamed")f(or)g(\\named,")g(according)0 +1531 y(to)i(whether)h(the)f(structure)i(name)c(is)i(stored)g(in)g +(\(and)f(th)o(us)h(reco)o(v)o(erable)h(from\))d(the)0 +1583 y(structure.)0 1739 y Fo(19.7.1.)20 b(Unnamed)14 +b(Structures)0 1827 y Fw(Sometimes)h(a)j(particular)f(data)g(represen)o +(tation)i(is)e(imp)q(osed)g(b)o(y)g(external)h(require-)0 +1879 y(men)o(ts,)c(and)h(y)o(et)h(it)f(is)g(desirable)g(to)g(do)q +(cumen)o(t)g(the)h(data)e(format)g(as)h(a)g Fs(defstruct)p +Fw(-)0 1931 y(st)o(yle)k(structure.)35 b(F)m(or)18 b(example,)g +(consider)i(expressions)g(built)e(up)h(from)e(n)o(um)o(b)q(ers,)0 +1982 y(sym)o(b)q(ols,)12 b(and)h(binary)h(op)q(erations)g(suc)o(h)g(as) +g Fs(+)f Fw(and)h Fs(*)p Fw(.)k(An)c(op)q(eration)f(migh)o(t)f(b)q(e)i +(rep-)0 2034 y(resen)o(ted)i(as)e(it)g(is)f(in)h(Lisp,)f(as)h(a)g(list) +f(of)h(the)g(op)q(erator)h(and)f(the)g(t)o(w)o(o)g(op)q(erands.)19 +b(This)0 2086 y(fact)14 b(can)g(b)q(e)g(expressed)j(succinctly)d(with)g +Fs(defstruct)e Fw(in)h(this)h(manner:)0 2173 y Fs(\(defstruct)19 +b(\(binop)h(\(:type)g(list\)\))42 2225 y(\(operator)257 +2229 y Fn(')281 2225 y Fs(?)h(:type)f(symbol\))42 2277 +y(operand-1)42 2329 y(operand-2\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 524 548 +524 547 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(524)77 b(COMMON)13 +b(LISP)0 295 y Fw(This)j(will)f(de\014ne)j(a)e(constructor)i(function)e +Fs(make-binop)e Fw(and)i(three)i(selector)g(func-)0 347 +y(tions,)j(namely)d Fs(binop-operator)p Fw(,)g Fs(binop-operand-1)p +Fw(,)g(and)i Fs(binop-operand-2)p Fw(.)0 399 y(\(It)d(will)f +Fv(not)p Fw(,)h(ho)o(w)o(ev)o(er,)h(de\014ne)g(a)f(predicate)h +Fs(binop-p)p Fw(,)e(for)g(reasons)i(explained)f(b)q(e-)0 +450 y(lo)o(w.\))42 503 y(The)d(e\013ect)h(of)f Fs(make-binop)d +Fw(is)j(simply)e(to)i(construct)h(a)f(list)f(of)h(length)f(3:)0 +590 y Fs(\(make-binop)19 b(:operator)476 594 y Fn(')499 +590 y Fs(+)i(:operand-1)779 594 y Fn(')803 590 y Fs(x)g(:operand-2)e +(5\))64 642 y Ft(\))h Fs(\(+)h(x)g(5\))0 746 y(\(make-binop)e +(:operand-2)g(4)i(:operator)758 750 y Fn(')781 746 y +Fs(*\))64 798 y Ft(\))f Fs(\(*)h(nil)g(4\))0 885 y Fw(It)15 +b(is)g(just)g(lik)o(e)f(the)i(function)e Fs(list)g Fw(except)j(that)e +(it)f(tak)o(es)i(k)o(eyw)o(ord)f(argumen)o(ts)f(and)0 +937 y(p)q(erforms)e(slot)g(defaulting)f(appropriate)h(to)g(the)h +Fs(binop)e Fw(conceptual)i(data)f(t)o(yp)q(e.)18 b(Sim-)0 +989 y(ilarly)m(,)9 b(the)k(selector)f(functions)g Fs(binop-operator)p +Fw(,)c Fs(binop-operand-1)p Fw(,)h(and)i Fs(binop-)0 +1041 y(operand-2)k Fw(are)i(essen)o(tially)g(equiv)n(alen)o(t)f(to)h +Fs(car)p Fw(,)g Fs(cadr)p Fw(,)f(and)h Fs(caddr)p Fw(,)f(resp)q(ectiv)o +(ely)m(.)0 1093 y(\(They)i(migh)o(t)e(not)i(b)q(e)h(completely)e(equiv) +n(alen)o(t)g(b)q(ecause,)j(for)e(example,)f(an)h(imple-)0 +1145 y(men)o(tation)11 b(w)o(ould)g(b)q(e)j(justi\014ed)e(in)g(adding)g +(error-c)o(hec)o(king)i(co)q(de)f(to)f(ensure)j(that)d(the)0 +1197 y(argumen)o(t)h(to)g(eac)o(h)i(selector)g(function)f(is)f(a)h +(length-3)f(list.\))42 1249 y(W)m(e)18 b(sp)q(eak)h(of)f +Fs(binop)g Fw(as)h(b)q(eing)f(a)h(\\conceptual")f(data)h(t)o(yp)q(e)g +(b)q(ecause)h Fs(binop)e Fw(is)0 1301 y(not)h(made)f(a)i(part)f(of)g +(the)h(Common)c(Lisp)j(t)o(yp)q(e)h(system.)34 b(The)20 +b(predicate)h Fs(typep)0 1353 y Fw(will)16 b(not)i(recognize)h +Fs(binop)e Fw(as)h(a)g(t)o(yp)q(e)g(sp)q(eci\014er,)i(and)e +Fs(type-of)e Fw(will)h(return)i Fs(list)0 1405 y Fw(when)c(giv)o(en)g +(a)f Fs(binop)g Fw(structure.)23 b(Indeed,)15 b(there)h(is)f(no)g(w)o +(a)o(y)f(to)g(distinguish)h(a)f(data)0 1456 y(structure)f(constructed)f +(b)o(y)f Fs(make-binop)d Fw(from)h(an)o(y)h(other)h(list)f(that)h(happ) +q(ens)g(to)g(ha)o(v)o(e)0 1508 y(the)j(correct)i(structure.)42 +1561 y(There)k(is)e(not)h(ev)o(en)h(an)o(y)e(w)o(a)o(y)h(to)f(reco)o(v) +o(er)j(the)e(structure)i(name)d Fs(binop)g Fw(from)f(a)0 +1612 y(structure)d(created)g(b)o(y)e Fs(make-binop)p +Fw(.)j(This)d(can)h(b)q(e)g(done,)f(ho)o(w)o(ev)o(er,)g(if)g(the)h +(structure)0 1664 y(is)h(\\named.")0 1825 y Fo(19.7.2.)20 +b(Named)13 b(Structures)0 1913 y Fw(A)d(\\named")f(structure)j(has)f +(the)g(prop)q(ert)o(y)g(that,)g(giv)o(en)e(an)h(instance)h(of)f(the)h +(structure,)0 1965 y(the)21 b(structure)h(name)c(\(that)i(names)g(the)g +(t)o(yp)q(e\))h(can)f(b)q(e)g(reliably)f(reco)o(v)o(ered.)38 +b(F)m(or)0 2017 y(structures)14 b(de\014ned)e(with)e(no)h +Fs(:type)f Fw(option,)h(the)g(structure)i(name)d(actually)g(b)q(ecomes) +0 2069 y(part)19 b(of)e(the)i(Common)d(Lisp)i(data-t)o(yp)q(e)g +(system.)32 b(The)19 b(function)f Fs(type-of)p Fw(,)f(when)0 +2121 y(applied)c(to)g(suc)o(h)h(a)g(structure,)h(will)d(return)j(the)f +(structure)h(name)e(as)g(the)h(t)o(yp)q(e)g(of)f(the)0 +2173 y(ob)r(ject;)h(the)h(predicate)g Fs(typep)d Fw(will)h(recognize)i +(the)f(structure)i(name)d(as)g(a)h(v)n(alid)e(t)o(yp)q(e)0 +2225 y(sp)q(eci\014er.)42 2277 y(F)m(or)19 b(structures)j(de\014ned)e +(with)f(a)g Fs(:type)g Fw(option,)g Fs(type-of)f Fw(will)g(return)j(a)e +(t)o(yp)q(e)0 2329 y(sp)q(eci\014er)c(suc)o(h)g(as)f +Fs(list)e Fw(or)i Fs(\(vector)20 b(t\))p Fw(,)12 b(dep)q(ending)j(on)e +(the)h(t)o(yp)q(e)g(sp)q(eci\014ed)i(to)d(the)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 525 549 +525 548 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(STRUCTURES)1093 +b(525)0 295 y Fs(:type)17 b Fw(option.)28 b(The)19 b(structure)g(name)e +(do)q(es)h(not)g(b)q(ecome)g(a)f(v)n(alid)f(t)o(yp)q(e)i(sp)q +(eci\014er.)0 347 y(Ho)o(w)o(ev)o(er,)f(if)f(the)h Fs(:named)e +Fw(option)g(is)i(also)e(sp)q(eci\014ed,)j(then)f(the)g(\014rst)h(comp)q +(onen)o(t)d(of)0 399 y(the)j(structure)h(\(as)f(created)h(b)o(y)e(a)g +Fs(defstruct)f Fw(constructor)j(function\))e(will)f(alw)o(a)o(ys)0 +450 y(con)o(tain)f(the)g(structure)j(name.)i(This)15 +b(allo)o(ws)f(the)i(structure)h(name)d(to)h(b)q(e)h(reco)o(v)o(ered)0 +502 y(from)f(an)i(instance)h(of)e(the)i(structure)h(and)e(allo)o(ws)e +(a)i(reasonable)g(predicate)h(for)f(the)0 554 y(conceptual)h(t)o(yp)q +(e)f(to)g(b)q(e)g(de\014ned:)25 b(the)18 b(automatically)c(de\014ned)k +Fv(name)p Fs(-p)f Fw(predicate)0 606 y(for)c(the)h(structure)h(op)q +(erates)g(b)o(y)e(\014rst)h(c)o(hec)o(king)g(that)f(its)h(argumen)o(t)e +(is)h(of)g(the)h(prop)q(er)0 658 y(t)o(yp)q(e)k(\()p +Fs(list)p Fw(,)g Fs(\(vector)h(t\))p Fw(,)f(or)g(whatev)o(er\))h(and)e +(then)h(c)o(hec)o(king)h(whether)g(the)f(\014rst)0 710 +y(comp)q(onen)o(t)13 b(con)o(tains)h(the)g(appropriate)g(t)o(yp)q(e)h +(name.)42 764 y(Consider)k(the)h Fs(binop)f Fw(example)f(sho)o(wn)h(ab) +q(o)o(v)o(e,)h(mo)q(di\014ed)e(only)g(to)i(include)f(the)0 +816 y Fs(:named)13 b Fw(option:)0 922 y Fs(\(defstruct)19 +b(\(binop)h(\(:type)g(list\))g(:named\))42 973 y(\(operator)257 +977 y Fn(')281 973 y Fs(?)h(:type)f(symbol\))42 1025 +y(operand-1)42 1077 y(operand-2\))0 1181 y Fw(As)13 b(b)q(efore,)g +(this)g(will)e(de\014ne)i(a)g(constructor)h(function)e +Fs(make-binop)e Fw(and)j(three)h(selec-)0 1233 y(tor)f(functions)h +Fs(binop-operator)p Fw(,)c Fs(binop-operand-1)p Fw(,)g(and)j +Fs(binop-operand-2)p Fw(.)i(It)0 1285 y(will)d(also)i(de\014ne)h(a)e +(predicate)i Fs(binop-p)p Fw(.)42 1339 y(The)f(e\013ect)h(of)f +Fs(make-binop)d Fw(is)j(no)o(w)g(to)f(construct)j(a)e(list)f(of)g +(length)h(4:)0 1445 y Fs(\(make-binop)19 b(:operator)476 +1449 y Fn(')499 1445 y Fs(+)i(:operand-1)779 1449 y Fn(')803 +1445 y Fs(x)g(:operand-2)e(5\))64 1496 y Ft(\))h Fs(\(binop)g(+)h(x)g +(5\))0 1600 y(\(make-binop)e(:operand-2)g(4)i(:operator)758 +1604 y Fn(')781 1600 y Fs(*\))64 1652 y Ft(\))f Fs(\(binop)g(*)h(nil)g +(4\))0 1756 y Fw(The)15 b(structure)j(has)d(the)h(same)e(la)o(y)o(out)g +(as)h(b)q(efore)g(except)i(that)e(the)h(structure)h(name)0 +1808 y Fs(binop)h Fw(is)i(included)f(as)h(the)g(\014rst)g(list)f +(elemen)o(t.)34 b(The)20 b(selector)h(functions)e Fs(binop-)0 +1860 y(operator)p Fw(,)d Fs(binop-operand-1)p Fw(,)f(and)j +Fs(binop-operand-2)c Fw(are)k(essen)o(tially)g(equiv)n(a-)0 +1912 y(len)o(t)i(to)g Fs(cadr)p Fw(,)g Fs(caddr)p Fw(,)h(and)f +Fs(cadddr)p Fw(,)g(resp)q(ectiv)o(ely)m(.)37 b(The)21 +b(predicate)g Fs(binop-p)e Fw(is)0 1963 y(more)13 b(or)h(less)g(equiv)n +(alen)o(t)f(to)h(the)h(follo)o(wing)c(de\014nition.)0 +2069 y Fs(\(defun)20 b(binop-p)g(\(x\))42 2121 y(\(and)h(\(consp)f(x\)) +g(\(eq)h(\(car)f(x\))625 2125 y Fn(')648 2121 y Fs(binop\)\)\))0 +2225 y Fw(The)15 b(name)e Fs(binop)h Fw(is)g(still)f(not)i(a)f(v)n +(alid)f(t)o(yp)q(e)i(sp)q(eci\014er)h(recognizable)f(to)f +Fs(typep)p Fw(,)g(but)0 2277 y(at)f(least)g(there)h(is)f(a)f(w)o(a)o(y) +g(of)g(distinguishing)g Fs(binop)g Fw(structures)j(from)c(other)j +(similarly)0 2329 y(de\014ned)h(structures.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 526 550 +526 549 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(526)77 b(COMMON)13 +b(LISP)0 295 y Fo(19.7.3.)20 b(Other)14 b(Asp)r(ects)h(of)g(Explicitly) +d(Sp)r(eci\014ed)i(Structures)0 378 y Fw(The)19 b Fs(:initial-offset)d +Fw(option)h(allo)o(ws)h(one)h(to)f(sp)q(ecify)h(that)g(slots)g(b)q(e)g +(allo)q(cated)0 430 y(b)q(eginning)11 b(at)g(a)h(represen)o(tational)g +(elemen)o(t)f(other)i(than)e(the)h(\014rst.)19 b(F)m(or)11 +b(example,)f(the)0 482 y(form)0 566 y Fs(\(defstruct)19 +b(\(binop)h(\(:type)g(list\))g(\(:initial-offset)e(2\)\))42 +618 y(\(operator)257 622 y Fn(')281 618 y Fs(?)j(:type)f(symbol\))42 +670 y(operand-1)42 722 y(operand-2\))0 806 y Fw(w)o(ould)13 +b(result)i(in)e(the)i(follo)o(wing)c(b)q(eha)o(vior)j(for)f +Fs(make-binop)p Fw(:)0 890 y Fs(\(make-binop)19 b(:operator)476 +894 y Fn(')499 890 y Fs(+)i(:operand-1)779 894 y Fn(')803 +890 y Fs(x)g(:operand-2)e(5\))64 942 y Ft(\))h Fs(\(nil)h(nil)f(+)h(x)g +(5\))0 1046 y(\(make-binop)e(:operand-2)g(4)i(:operator)758 +1050 y Fn(')781 1046 y Fs(*\))64 1097 y Ft(\))f Fs(\(nil)h(nil)f(*)h +(nil)g(4\))0 1182 y Fw(The)j(selectors)h Fs(binop-operator)p +Fw(,)d Fs(binop-operand-1)p Fw(,)h(and)g Fs(binop-operand-2)0 +1233 y Fw(w)o(ould)c(b)q(e)h(essen)o(tially)g(equiv)n(alen)o(t)f(to)g +Fs(caddr)p Fw(,)h Fs(cadddr)p Fw(,)f(and)h Fs(car)f Fw(of)g +Fs(cddddr)p Fw(,)g(re-)0 1285 y(sp)q(ectiv)o(ely)m(.)f(Similarly)m(,)10 +b(the)k(form)0 1369 y Fs(\(defstruct)19 b(\(binop)h(\(:type)g(list\))g +(:named)g(\(:initial-offset)e(2\)\))42 1421 y(\(operator)257 +1425 y Fn(')281 1421 y Fs(?)j(:type)f(symbol\))42 1473 +y(operand-1)42 1525 y(operand-2\))0 1609 y Fw(w)o(ould)13 +b(result)i(in)e(the)i(follo)o(wing)c(b)q(eha)o(vior)j(for)f +Fs(make-binop)p Fw(:)0 1693 y Fs(\(make-binop)19 b(:operator)476 +1697 y Fn(')499 1693 y Fs(+)i(:operand-1)779 1697 y Fn(')803 +1693 y Fs(x)g(:operand-2)e(5\))64 1745 y Ft(\))h Fs(\(nil)h(nil)f +(binop)g(+)h(x)g(5\))0 1849 y(\(make-binop)e(:operand-2)g(4)i +(:operator)758 1853 y Fn(')781 1849 y Fs(*\))64 1901 +y Ft(\))f Fs(\(nil)h(nil)f(binop)g(*)h(nil)g(4\))42 1985 +y Fw(If)16 b(the)i Fs(:include)d Fw(is)i(used)h(with)f(the)h +Fs(:type)e Fw(option,)h(then)g(the)h(e\013ect)h(is)e(\014rst)h(to)0 +2037 y(skip)j(o)o(v)o(er)f(as)h(man)o(y)e(represen)o(tation)j(elemen)o +(ts)f(as)f(needed)j(to)d(represen)o(t)j(the)e(in-)0 2089 +y(cluded)c(structure,)h(then)f(to)f(skip)g(o)o(v)o(er)g(an)o(y)g +(additional)e(elemen)o(ts)i(sp)q(eci\014ed)i(b)o(y)e(the)0 +2141 y Fs(:initial-offset)10 b Fw(option,)i(and)h(then)h(to)f(b)q(egin) +h(allo)q(cation)d(of)i(elemen)o(ts)g(from)f(that)0 2193 +y(p)q(oin)o(t.)18 b(F)m(or)13 b(example:)0 2277 y Fs(\(defstruct)19 +b(\(binop)h(\(:type)g(list\))g(:named)g(\(:initial-offset)e(2\)\))42 +2329 y(\(operator)257 2333 y Fn(')281 2329 y Fs(?)j(:type)f(symbol\)) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 527 551 +527 550 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(STRUCTURES)1093 +b(527)42 295 y Fs(operand-1)42 347 y(operand-2\))0 450 +y(\(defstruct)19 b(\(annotated-binop)f(\(:type)i(list\))593 +502 y(\(:initial-offset)e(3\))593 554 y(\(:include)h(binop\)\))42 +606 y(commutative)g(associative)g(identity\))0 710 y +(\(make-annotated-b)o(inop)f(:operator)694 714 y Fn(')717 +710 y Fs(*)466 762 y(:operand-1)703 766 y Fn(')726 762 +y Fs(x)466 814 y(:operand-2)h(5)466 866 y(:commutative)f(t)466 +917 y(:associative)g(t)466 969 y(:identity)h(1\))64 1021 +y Ft(\))h Fs(\(nil)h(nil)f(binop)g(*)h(x)g(5)g(nil)g(nil)f(nil)h(t)g(t) +g(1\))0 1106 y Fw(The)12 b(\014rst)h(t)o(w)o(o)e Fs(nil)g +Fw(elemen)o(ts)g(stem)g(from)f(the)i Fs(:initial-offset)d +Fw(of)i Fs(2)g Fw(in)h(the)g(de\014ni-)0 1158 y(tion)i(of)g +Fs(binop)p Fw(.)19 b(The)14 b(next)h(four)g(elemen)o(ts)f(con)o(tain)g +(the)h(structure)i(name)c(and)h(three)0 1210 y(slots)d(for)f +Fs(binop)p Fw(.)16 b(The)11 b(next)h(three)g Fs(nil)e +Fw(elemen)o(ts)g(stem)h(from)e(the)i Fs(:initial-offset)0 +1262 y Fw(of)f Fs(3)g Fw(in)g(the)h(de\014nition)f(of)g +Fs(annotated-binop)p Fw(.)k(The)d(last)f(three)i(list)e(elemen)o(ts)g +(con)o(tain)0 1314 y(the)k(additional)f(slots)h(for)f(an)h +Fs(annotated-binop)p Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 528 552 +528 551 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(20)p 0 448 598 +9 v 0 531 a Fp(The)29 b(Evaluato)n(r)0 938 y Fw(The)18 +b(mec)o(hanism)e(that)h(executes)j(Lisp)e(programs)e(is)i(called)f(the) +i(ev)n(aluator.)28 b(More)0 990 y(precisely)m(,)11 b(the)g(ev)n +(aluator)e(accepts)j(a)e(form)f(and)h(p)q(erforms)g(the)h(computation)d +(sp)q(eci\014ed)0 1042 y(b)o(y)20 b(the)i(form.)36 b(This)21 +b(mec)o(hanism)d(is)j(made)e(a)o(v)n(ailable)g(to)h(the)i(user)f +(through)g(the)0 1094 y(function)14 b Fs(eval)p Fw(.)42 +1148 y(The)f(ev)n(aluator)g(is)g(t)o(ypically)f(implemen)o(ted)f(as)i +(an)h(in)o(terpreter)h(that)e(tra)o(v)o(erses)i(the)0 +1199 y(giv)o(en)i(form)e(recursiv)o(ely)m(,)j(p)q(erforming)e(eac)o(h)i +(step)g(of)e(the)i(computation)e(as)h(it)g(go)q(es.)0 +1251 y(An)12 b(in)o(terpretiv)o(e)h(implemen)o(tatio)o(n)c(is)j(not)g +(required,)h(ho)o(w)o(ev)o(er.)18 b(A)12 b(p)q(ermissible)f(alter-)0 +1303 y(nativ)o(e)i(approac)o(h)h(is)f(for)g(the)i(ev)n(aluator)d +(\014rst)j(to)e(completely)g(compile)e(the)k(form)c(in)o(to)0 +1355 y(mac)o(hine-executable)j(co)q(de)i(and)e(then)h(in)o(v)o(ok)o(e)f +(the)h(resulting)g(co)q(de.)20 b(This)15 b(tec)o(hnique)0 +1407 y(virtually)e(eliminates)g(incompatibiliti)o(es)g(b)q(et)o(w)o +(een)i(in)o(terpreted)i(and)d(compiled)f(co)q(de)0 1459 +y(but)j(also)g(renders)i(the)f Fs(evalhook)d Fw(mec)o(hanism)g(relativ) +o(ely)h(useless.)27 b(V)m(arious)15 b(mixed)0 1511 y(strategies)g(are)f +(also)f(p)q(ossible.)18 b(All)13 b(of)g(these)i(approac)o(hes)g(should) +e(pro)q(duce)i(the)g(same)0 1563 y(results)i(when)g(executing)g(a)f +(correct)i(program)c(but)j(ma)o(y)d(pro)q(duce)j(di\013eren)o(t)h +(results)0 1615 y(for)e(incorrect)i(programs.)24 b(F)m(or)15 +b(example,)h(the)h(approac)o(hes)g(ma)o(y)d(di\013er)j(as)f(to)g(when)0 +1666 y(macro)f(calls)h(are)g(expanded;)i(macro)d(de\014nitions)h +(should)g(not)g(dep)q(end)h(on)f(the)h(time)0 1718 y(at)f(whic)o(h)f +(they)h(are)g(expanded.)24 b(Implemen)o(tors)14 b(should)i(do)q(cumen)o +(t)f(the)h(ev)n(aluation)0 1770 y(strategy)f(for)e(eac)o(h)i(implem)o +(en)o(tation.)0 2008 y Fo(20.1.)20 b(Run-Time)13 b(Ev)m(aluation)h(of)h +(F)-5 b(orms)0 2121 y Fw(The)13 b(function)f Fs(eval)g +Fw(is)g(the)i(main)c(user)k(in)o(terface)f(to)f(the)h(ev)n(aluator.)k +(Ho)q(oks)c(are)g(pro-)0 2173 y(vided)i(for)g(user-supplied)i +(debugging)d(routines)i(to)g(obtain)e(con)o(trol)h(during)g(the)h(exe-) +0 2225 y(cution)f(of)g(an)f(in)o(terpretiv)o(e)i(ev)n(aluator.)21 +b(The)16 b(functions)f Fs(evalhook)f Fw(and)h Fs(applyhook)0 +2277 y Fw(pro)o(vide)k(alternativ)o(e)g(in)o(terfaces)h(to)f(the)h(ev)n +(aluator)e(mec)o(hanism)f(for)h(use)i(b)o(y)f(these)0 +2329 y(debugging)13 b(routines.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2428 a Fy(528)p eop +%%Page: 529 553 +529 552 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(THE)13 b(EV)m(ALUA)m(TOR)1027 +b(529)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b +Fs(eval)20 b Fv(form)0 372 y Fw(The)14 b Fv(form)g Fw(is)g(ev)n +(aluated)f(in)h(the)g(curren)o(t)i(dynamic)c(en)o(vironmen)o(t)h(and)h +(a)g(n)o(ull)f(lexical)0 424 y(en)o(vironmen)o(t.)18 +b(Whatev)o(er)d(results)h(from)d(the)i(ev)n(aluation)e(is)h(returned)i +(from)d(the)i(call)0 476 y(to)f Fs(eval)p Fw(.)42 528 +y(Note)20 b(that)f(when)i(y)o(ou)e(write)h(a)f(call)g(to)h +Fs(eval)e Fv(two)i Fw(lev)o(els)f(of)g(ev)n(aluation)g(o)q(ccur)0 +580 y(on)e(the)h(argumen)o(t)e(form)g(y)o(ou)g(write.)29 +b(First)18 b(the)f(argumen)o(t)g(form)e(is)i(ev)n(aluated,)h(as)0 +632 y(for)c(argumen)o(ts)f(to)h(an)o(y)g(function,)g(b)o(y)f(the)i +(usual)f(argumen)o(t)f(ev)n(aluation)g(mec)o(hanism)0 +684 y(\(whic)o(h)g(in)o(v)o(olv)o(es)g(an)g(implicit)e(use)j(of)f +Fs(eval)p Fw(\).)k(Then)d(the)g(argumen)o(t)e(is)h(passed)i(to)e(the)0 +735 y Fs(eval)g Fw(function,)g(where)i(another)f(ev)n(aluation)f(o)q +(ccurs.)19 b(F)m(or)14 b(example:)0 824 y Fs(\(eval)20 +b(\(list)258 828 y Fn(')281 824 y Fs(cdr)h(\(car)474 +828 y Fn(')498 824 y Fs(\(\(quote)e(\(a)i(.)g(b\)\))f(c\)\)\)\))h +Ft(\))f Fs(b)0 912 y Fw(The)i(argumen)o(t)f(form)f Fs(\(list)521 +916 y Fn(')545 912 y Fs(cdr)g(\(car)737 916 y Fn(')761 +912 y Fs(\(\(quote)f(\(a)i(.)g(b\)\))g(c\)\)\))g Fw(is)h(ev)n(alu-)0 +964 y(ated)f(in)e(the)i(usual)f(w)o(a)o(y)g(to)g(pro)q(duce)h(the)g +(argumen)o(t)e Fs(\(cdr)h(\(quote)g(\(a)h(.)g(b\)\)\))p +Fw(;)0 1016 y(this)c(is)f(then)h(giv)o(en)f(to)h Fs(eval)f +Fw(b)q(ecause)i Fs(eval)e Fw(is)g(b)q(eing)h(called)f(explicitly)m(,)f +(and)i Fs(eval)0 1068 y Fw(ev)n(aluates)d(its)g(argumen)o(t)f +Fs(\(cdr)20 b(\(quote)g(\(a)h(.)g(b\)\)\))13 b Fw(to)g(pro)q(duce)i +Fs(b)p Fw(.)42 1120 y(If)d(all)g(that)h(is)f(required)i(for)f(some)f +(application)f(is)i(to)f(obtain)h(the)g(curren)o(t)h(dynamic)0 +1172 y(v)n(alue)j(of)g(a)h(giv)o(en)f(sym)o(b)q(ol,)g(the)h(function)g +Fs(symbol-value)d Fw(ma)o(y)h(b)q(e)i(more)f(e\016cien)o(t)0 +1224 y(than)d Fs(eval)p Fw(.)42 1276 y(X3J13)k(v)o(oted)h(in)f(Jan)o +(uary)h(1989)f Ft(h)p Fw(121)p Ft(i)g Fw(to)h(restrict)h(user)g(side)f +(e\013ects;)k(see)d(sec-)-33 1248 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1328 a(tion)13 b(7.9.)-33 1340 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1219 1473 a([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(*evalhook*)1219 1524 y Fw([)p Fv(V)m(ariable)s Fw(])g +Fs(*applyhook*)0 1602 y Fw(If)10 b(the)h(v)n(alue)f(of)g +Fs(*evalhook*)e Fw(is)j(not)f Fs(nil)p Fw(,)g(then)h +Fs(eval)f Fw(b)q(eha)o(v)o(es)h(in)g(a)f(sp)q(ecial)h(w)o(a)o(y)m(.)k +(The)0 1653 y(non-)p Fs(nil)d Fw(v)n(alue)g(of)g Fs(*evalhook*)f +Fw(should)i(b)q(e)g(a)g(function)f(that)h(tak)o(es)h(t)o(w)o(o)e +(argumen)o(ts,)0 1705 y(a)18 b(form)e(and)h(an)h(en)o(vironmen)o(t;)g +(this)g(is)g(called)f(the)i Fv(eval)f(ho)n(ok)i(function)p +Fw(.)30 b(When)18 b(a)0 1757 y(form)10 b(is)i(to)f(b)q(e)h(ev)n +(aluated)g(\(an)o(y)f(form)f(at)i(all,)e(ev)o(en)j(a)e(n)o(um)o(b)q(er) +g(or)h(a)f(sym)o(b)q(ol\),)f(whether)0 1809 y(implicitly)h(or)j(via)g +(an)g(explicit)g(call)f(to)i Fs(eval)p Fw(,)e(no)h(attempt)g(is)g(made) +f(to)h(ev)n(aluate)g(the)0 1861 y(form.)31 b(Instead,)21 +b(the)e(ho)q(ok)g(function)f(is)h(in)o(v)o(ok)o(ed)f(and)h(is)g(passed) +h(the)f(form)e(to)i(b)q(e)0 1913 y(ev)n(aluated)g(as)f(its)h(\014rst)h +(argumen)o(t.)31 b(The)19 b(ho)q(ok)g(function)f(is)h(then)g(resp)q +(onsible)h(for)0 1965 y(ev)n(aluating)11 b(the)j(form;)d(whatev)o(er)i +(is)g(returned)i(b)o(y)d(the)i(ho)q(ok)e(function)h(is)f(assumed)h(to)0 +2017 y(b)q(e)i(the)f(result)h(of)e(ev)n(aluating)f(the)j(form.)42 +2069 y(The)k(v)n(ariable)f Fs(*applyhook*)e Fw(is)j(similar)e(to)i +Fs(*evalhook*)e Fw(but)i(is)g(used)h(when)f(a)0 2121 +y(function)14 b(is)f(ab)q(out)h(to)g(b)q(e)h(applied)e(to)h(argumen)o +(ts.)j(If)d(the)h(v)n(alue)e(of)g Fs(*applyhook*)f Fw(is)0 +2173 y(not)i Fs(nil)p Fw(,)f(then)h Fs(eval)f Fw(b)q(eha)o(v)o(es)i(in) +e(a)h(sp)q(ecial)g(w)o(a)o(y)m(.)42 2225 y(The)i(non-)p +Fs(nil)f Fw(v)n(alue)h(of)g Fs(*applyhook*)e Fw(should)i(b)q(e)h(a)e +(function)h(that)h(tak)o(es)f(three)-38 2200 y Fk(.)-38 +2213 y(.)-38 2226 y(.)-38 2239 y(.)-38 2252 y(.)-38 2265 +y(.)-38 2278 y(.)-38 2291 y(.)-38 2304 y(.)-38 2317 y(.)-38 +2330 y(.)-38 2343 y(.)-38 2356 y(.)-38 2369 y(.)-38 2382 +y(.)-38 2395 y(.)-38 2408 y(.)-38 2420 y(.)-38 2433 y(.)-38 +2446 y(.)-38 2459 y(.)-38 2472 y(.)-38 2485 y(.)-38 2498 +y(.)-38 2511 y(.)-38 2524 y(.)-38 2537 y(.)-38 2550 y(.)-38 +2563 y(.)-38 2576 y(.)-38 2589 y(.)-38 2602 y(.)-38 2615 +y(.)-38 2628 y(.)-38 2641 y(.)-38 2654 y(.)-38 2667 y(.)-38 +2680 y(.)-38 2693 y(.)-38 2706 y(.)-38 2719 y(.)-38 2732 +y(.)-38 2745 y(.)-38 2758 y(.)-38 2771 y(.)-38 2784 y(.)-38 +2797 y(.)-38 2810 y(.)-38 2823 y(.)-38 2836 y(.)-38 2849 +y(.)-38 2862 y(.)-38 2875 y(.)-38 2887 y(.)-38 2900 y(.)-38 +2913 y(.)-38 2926 y(.)-38 2939 y(.)-38 2952 y(.)-38 2965 +y(.)-38 2978 y(.)-38 2991 y(.)-38 3004 y(.)-38 3017 y(.)-38 +3030 y(.)-38 3043 y(.)-38 3056 y(.)-38 3069 y(.)-38 3082 +y(.)-38 3095 y(.)-38 3108 y(.)-38 3121 y(.)-38 3134 y(.)-38 +3147 y(.)-38 3160 y(.)-38 3173 y(.)-38 3186 y(.)-38 3199 +y(.)-38 3212 y(.)-38 3225 y(.)-38 3238 y(.)-38 3251 y(.)-38 +3264 y(.)-38 3277 y(.)-38 3290 y(.)-38 3303 y(.)-38 3316 +y(.)-38 3329 y(.)-38 3342 y(.)-38 3354 y(.)-38 3367 y(.)-38 +3380 y(.)-38 3393 y(.)-38 3406 y(.)-38 3419 y(.)-38 3432 +y(.)-38 3445 y(.)-38 3458 y(.)-38 3471 y(.)-38 3484 y(.)-38 +3497 y(.)-38 3510 y(.)-38 3523 y(.)-38 3536 y(.)-38 3549 +y(.)-38 3562 y(.)-38 3575 y(.)-38 3588 y(.)-38 3601 y(.)-38 +3614 y(.)-38 3627 y(.)-38 3640 y(.)-38 3653 y(.)-38 3666 +y(.)-38 3679 y(.)-38 3692 y(.)-38 3705 y(.)-38 3718 y(.)-38 +3731 y(.)-38 3744 y(.)-38 3757 y(.)-38 3770 y(.)-38 3783 +y(.)-38 3796 y(.)-38 3809 y(.)-38 3821 y(.)-38 3834 y(.)-38 +3847 y(.)-38 3860 y(.)-38 3873 y(.)-38 3886 y(.)-38 3899 +y(.)-38 3912 y(.)-38 3925 y(.)-38 3938 y(.)-38 3951 y(.)-38 +3964 y(.)-38 3977 y(.)-38 3990 y(.)-38 4003 y(.)-38 4016 +y(.)-38 4029 y(.)-38 4042 y(.)-38 4055 y(.)-38 4068 y(.)-38 +4081 y(.)-38 4094 y(.)-38 4107 y(.)-38 4120 y(.)-38 4133 +y(.)-38 4146 y(.)-38 4159 y(.)-38 4172 y(.)-38 4185 y(.)-38 +4198 y(.)-38 4211 y(.)-38 4224 y(.)-38 4237 y(.)-38 4250 +y(.)-38 4263 y(.)-38 4276 y(.)-38 4288 y(.)-38 4301 y(.)-38 +4314 y(.)-38 4327 y(.)-38 4340 y(.)-38 4353 y(.)-38 4366 +y(.)-38 4379 y(.)-38 4392 y(.)-38 4405 y(.)-38 4418 y(.)-38 +4431 y(.)-38 4444 y(.)-38 4457 y(.)-38 4470 y(.)-38 4483 +y(.)-38 4496 y(.)-38 4509 y(.)-38 4522 y(.)-38 4535 y(.)-38 +4548 y(.)-38 4561 y(.)-38 4574 y(.)-38 4587 y(.)-38 4600 +y(.)-38 4613 y(.)-38 4626 y(.)-38 4639 y(.)-38 4652 y(.)-38 +4665 y(.)-38 4678 y(.)-38 4691 y(.)-38 4704 y(.)-38 4717 +y(.)-38 4730 y(.)-38 4743 y(.)-38 4755 y(.)-38 4768 y(.)-38 +4781 y(.)0 2277 y Fw(argumen)o(ts:)h(a)12 b(function,)g(a)h(list)f(of)g +(argumen)o(ts,)g(and)h(an)f(en)o(vironmen)o(t;)g(this)g(is)h(called)0 +2329 y(the)h Fv(apply)i(ho)n(ok)f(function)p Fw(.)-33 +2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 530 554 +530 553 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(530)77 b(COMMON)13 +b(LISP)42 295 y Fw(X3J13)i(v)o(oted)g(in)g(Jan)o(uary)h(1989)e +Ft(h)p Fw(5)p Ft(i)i Fw(to)f(revise)h(the)h(de\014nition)e(of)g +Fs(*applyhook*)p Fw(.)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(Its)21 b(v)n(alue)e(should)h(b)q(e)g(a)g(function) +g(of)g Fv(two)f Fw(argumen)o(ts,)i(a)e(function)h(and)g(a)g(list)f(of)0 +399 y(argumen)o(ts;)13 b(no)g(en)o(vironmen)o(t)g(information)e(is)j +(passed)h(to)e(an)h(apply)f(ho)q(ok)h(function.)42 471 +y(This)f(w)o(as)h(simply)e(a)i(\015a)o(w)f(in)g(the)i(\014rst)g +(edition.)i(Sorry)d(ab)q(out)g(that.)-33 483 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 544 a(When)g(a)g(function)f(is)h(ab)q(out)g(to)g(b)q(e) +h(applied)f(to)g(a)f(list)h(of)g(argumen)o(ts,)f(no)g(attempt)0 +596 y(is)j(made)f(to)g(apply)h(the)g(function.)24 b(Instead,)17 +b(the)g(ho)q(ok)e(function)h(is)g(in)o(v)o(ok)o(ed)f(and)h(is)0 +648 y(passed)11 b(the)g(function)e(and)h(the)g(list)g(of)f(argumen)o +(ts)g(as)h(its)g(\014rst)h(and)f(second)h(argumen)o(ts.)0 +699 y(The)i(ho)q(ok)f(function)g(is)g(then)h(resp)q(onsible)h(for)e(ev) +n(aluating)f(the)i(form;)e(whatev)o(er)i(is)f(re-)0 751 +y(turned)20 b(b)o(y)e(the)h(ho)q(ok)f(function)g(is)h(assumed)f(to)g(b) +q(e)i(the)f(result)g(of)f(ev)n(aluating)f(the)0 803 y(form.)g(The)e +(apply)f(ho)q(ok)g(function)g(is)g(used)h(only)e(for)h(application)f +(of)h(ordinary)g(func-)0 855 y(tions)i(within)e Fs(eval)p +Fw(.)23 b(It)16 b(is)f(not)h(used)h(for)e(applications)g(via)g +Fs(apply)f Fw(or)i Fs(funcall)p Fw(,)e(for)0 907 y(applications)g(b)o +(y)g(suc)o(h)h(functions)g(as)g Fs(map)f Fw(or)h Fs(reduce)p +Fw(,)e(or)h(for)h(in)o(v)o(o)q(cation)e(of)h(macro-)0 +959 y(expansion)g(functions)g(b)o(y)f(either)i Fs(eval)e +Fw(or)h Fs(macroexpand)p Fw(.)42 1032 y(X3J13)e(v)o(oted)i(in)e(June)i +(1988)f Ft(h)p Fw(90)p Ft(i)g Fw(to)g(sp)q(ecify)g(that)h(the)f(v)n +(alue)g(of)f Fs(*macroexpand-)-33 1003 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1083 a(hook*)f Fw(is)i(\014rst)g(co)q(erced)h(to)e(a)g +(function)g(b)q(efore)i(b)q(eing)e(called)g(as)g(the)h(expansion)g(in)o +(ter-)0 1135 y(face)j(ho)q(ok.)23 b(This)15 b(v)o(ote)h(made)e(no)h +(men)o(tion)f(of)h Fs(*evalhook*)f Fw(or)h Fs(*applyhook*)p +Fw(,)f(but)0 1187 y(this)g(ma)o(y)e(ha)o(v)o(e)i(b)q(een)h(an)e(o)o(v)o +(ersigh)o(t.)42 1260 y(A)g(prop)q(osal)h(w)o(as)g(submitted)f(to)g +(X3J13)h(in)f(Septem)o(b)q(er)h(1989)f(to)h(sp)q(ecify)g(that)g(the)0 +1312 y(v)n(alue)c(of)f Fs(*evalhook*)g Fw(or)h Fs(*applyhook*)e +Fw(is)i(\014rst)h(co)q(erced)h(to)f(a)f(function)g(b)q(efore)h(b)q +(eing)0 1364 y(called.)23 b(If)15 b(this)g(prop)q(osal)g(is)h +(accepted,)h(the)f(v)n(alue)f(of)g(either)h(v)n(ariable)e(ma)o(y)g(b)q +(e)i Fs(nil)p Fw(,)0 1416 y(an)o(y)d(other)i(sym)o(b)q(ol,)d(a)h(lam)o +(b)q(da-expression,)f(or)i(an)o(y)g(ob)r(ject)g(of)g(t)o(yp)q(e)g +Fs(function)p Fw(.)-33 1427 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1488 a(The)e(last)g(argumen)o(t)f(passed)j(to)e(either) +h(kind)f(of)f(ho)q(ok)h(function)g(con)o(tains)g(informa-)0 +1540 y(tion)j(ab)q(out)h(the)h(lexical)e(en)o(vironmen)o(t)g(in)g(an)h +(implemen)o(tatio)o(n-dep)q(enden)o(t)f(format.)0 1592 +y(These)20 b(argumen)o(ts)e(are)h(suitable)g(for)f(the)i(functions)e +Fs(evalhook)p Fw(,)g Fs(applyhook)p Fw(,)g(and)0 1644 +y Fs(macroexpand)p Fw(.)42 1716 y(When)25 b(either)h(kind)f(of)g(ho)q +(ok)g(function)h(is)f(in)o(v)o(ok)o(ed,)i(b)q(oth)f(of)e(the)i(v)n +(ariables)0 1768 y Fs(*evalhook*)14 b Fw(and)i Fs(*applyhook*)e +Fw(are)j(reb)q(ound)g(to)g(the)g(v)n(alue)e Fs(nil)h +Fw(around)g(the)h(in-)0 1820 y(v)o(o)q(cation)d(of)h(the)h(ho)q(ok)f +(function.)21 b(This)15 b(is)g(so)h(that)f(the)h(ho)q(ok)e(function)h +(will)f(not)h(b)q(e)0 1872 y(in)o(v)o(ok)o(ed)g(recursiv)o(ely)h(on)g +(ev)n(aluations)e(and)h(applications)g(that)h(o)q(ccur)g(in)f(the)h +(course)0 1924 y(of)j(executing)i(the)f(co)q(de)h(of)e(the)h(ho)q(ok)f +(function.)36 b(The)20 b(functions)g Fs(evalhook)e Fw(and)0 +1976 y Fs(applyhook)e Fw(are)j(useful)f(for)g(p)q(erforming)e(recursiv) +o(e)k(ev)n(aluations)d(and)h(applications)0 2028 y(within)13 +b(the)i(ho)q(ok)e(function.)42 2100 y(The)i(ho)q(ok)g(feature)h(is)f +(pro)o(vided)g(as)g(an)g(aid)g(to)g(debugging.)21 b(The)16 +b Fs(step)e Fw(facilit)o(y)g(is)0 2152 y(implemen)o(ted)e(using)h(this) +h(ho)q(ok.)42 2225 y(If)j(a)h(non-lo)q(cal)e(exit)i(causes)h(a)f(thro)o +(w)g(bac)o(k)g(to)f(the)i(top)f(lev)o(el)f(of)g(Lisp,)i(p)q(erhaps)0 +2277 y(b)q(ecause)d(an)e(error)h(could)f(not)g(b)q(e)g(corrected,)i +(then)f Fs(*evalhook*)d Fw(and)i Fs(*applyhook*)0 2329 +y Fw(are)g(automatically)d(reset)16 b(to)d Fs(nil)h Fw(as)f(a)h(safet)o +(y)g(feature.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 531 555 +531 554 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(THE)13 b(EV)m(ALUA)m(TOR)1027 +b(531)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b +Fs(evalhook)20 b Fv(form)j(evalho)n(okfn)i(applyho)n(okfn)h +Fs(&optional)19 b Fv(env)1209 347 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(applyhook)19 b Fv(function)25 b(ar)n(gs)f(evalho)n +(okfn)h(applyho)n(okfn)h Fs(&optional)217 399 y Fv(env)0 +476 y Fw(The)20 b(functions)f Fs(evalhook)e Fw(and)i +Fs(applyhook)f Fw(are)h(pro)o(vided)g(to)g(mak)o(e)f(it)h(easier)h(to)0 +527 y(exploit)13 b(the)i(ho)q(ok)e(feature.)42 580 y(In)h(the)i(case)g +(of)e Fs(evalhook)p Fw(,)f(the)i Fv(form)f Fw(is)h(ev)n(aluated.)21 +b(In)15 b(the)g(case)h(of)e Fs(applyhook)p Fw(,)0 632 +y(the)j Fv(function)g Fw(is)f(applied)g(to)g(the)h(list)f(of)f(argumen) +o(ts)h Fv(ar)n(gs)p Fw(.)25 b(In)16 b(either)i(case,)f(for)f(the)0 +683 y(duration)i(of)g(the)g(op)q(eration)h(the)f(v)n(ariable)g +Fs(*evalhook*)e Fw(is)i(b)q(ound)g(to)h Fv(evalho)n(okfn)p +Fw(,)0 735 y(and)d Fs(*applyhook*)e Fw(is)i(b)q(ound)h(to)f +Fv(applyho)n(okfn)p Fw(.)27 b(F)m(urthermore,)16 b(the)h +Fv(env)g Fw(argumen)o(t)0 787 y(is)e(used)h(as)f(the)g(lexical)g(en)o +(vironmen)o(t)f(for)g(the)i(op)q(eration;)f Fv(env)g +Fw(defaults)g(to)g(the)h(n)o(ull)0 839 y(en)o(vironmen)o(t.)i(The)d(c)o +(hec)o(k)g(for)f(a)g(ho)q(ok)g(function)g(is)g Fv(byp)n(asse)n(d)h +Fw(for)f(the)g(ev)n(aluation)f(of)0 891 y(the)f Fv(form)e +Fw(itself)h(\(for)g Fs(evalhook)p Fw(\))f(or)h(for)g(the)h(application) +e(of)h(the)g Fv(function)h Fw(to)f(the)h Fv(ar)n(gs)0 +943 y Fw(itself)d(\(for)h Fs(applyhook)p Fw(\),)e(but)i(not)f(for)h +(subsidiary)f(ev)n(aluations)g(and)g(applications)g(suc)o(h)0 +995 y(as)16 b(ev)n(aluations)f(of)h(subforms.)24 b(It)17 +b(is)f(this)g(one-shot)h(b)o(ypass)f(that)g(mak)o(es)f +Fs(evalhook)0 1047 y Fw(and)f Fs(applyhook)e Fw(so)i(useful.)42 +1099 y(X3J13)c(v)o(oted)h(in)g(Jan)o(uary)g(1989)f Ft(h)p +Fw(5)p Ft(i)h Fw(to)g(eliminate)e(the)i(optional)f Fv(env)h +Fw(parameter)g(to)-33 1070 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1151 a Fs(applyhook)p Fw(,)e(b)q(ecause)j(it)f(is)f(not) +h(\(and)g(cannot\))g(b)q(e)g(useful.)17 b(An)o(y)11 b(function)f(that)h +(can)g(b)q(e)0 1203 y(applied)j(carries)j(its)e(o)o(wn)f(en)o(vironmen) +o(t)g(and)h(do)q(es)h(not)f(need)h(another)g(en)o(vironmen)o(t)0 +1255 y(to)e(b)q(e)g(sp)q(eci\014ed)i(separately)m(.)i(This)c(w)o(as)f +(a)h(\015a)o(w)g(in)f(the)h(\014rst)h(edition.)-33 1266 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1307 a(Here)21 b(is)g(an)g(example)e(of)h(a)h(v)o(ery)g +(simple)e(tracing)h(routine)h(that)g(uses)h(just)f(the)0 +1359 y Fs(evalhook)12 b Fw(feature.)0 1447 y Fs(\(defvar)20 +b(*hooklevel*)f(0\))0 1550 y(\(defun)h(hook)g(\(x\))42 +1602 y(\(let)h(\(\(*evalhook*)431 1606 y Fn(')455 1602 +y Fs(eval-hook-funct)o(ion\)\))85 1654 y(\(eval)f(x\)\)\))0 +1758 y(\(defun)g(eval-hook-functio)o(n)e(\(form)j(&rest)f(env\))42 +1810 y(\(let)h(\(\(*hooklevel*)d(\(+)j(*hooklevel*)e(1\)\)\))85 +1862 y(\(format)g(*trace-output*)g(")605 1866 y Fn(~)628 +1862 y Fs(\045)648 1866 y Fn(~)671 1862 y Fs(V@TForm:)885 +1866 y Fn(~)908 1862 y Fs(S")254 1914 y(\(*)i(*hooklevel*)e(2\))h +(form\))85 1966 y(\(let)g(\(\(values)g(\(multiple-value)o(-list)445 +2017 y(\(evalhook)f(form)656 2069 y(#)656 2065 y(-)656 +2073 y(-)n Fn(')699 2069 y Fs(eval-hook-function)656 +2121 y(nil)656 2173 y(env\)\)\)\))127 2225 y(\(format)h(*trace-output*) +e(")647 2229 y Fn(~)670 2225 y Fs(\045)690 2229 y Fn(~)713 +2225 y Fs(V@TValue:)909 2229 y Fn(~)930 2225 y Fs({)971 +2229 y Fn(~)994 2225 y Fs(S)1014 2229 y Fn(~)1037 2225 +y Fs(}")296 2277 y(\(*)j(*hooklevel*)e(2\))i(values\))127 +2329 y(\(values-list)e(values\)\)\)\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 532 556 +532 555 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(532)77 b(COMMON)13 +b(LISP)0 295 y Fw(Using)h(these)h(routines,)f(one)g(migh)o(t)e(see)j +(the)f(follo)o(wing)e(in)o(teraction:)0 385 y Fs(\(hook)128 +389 y Fn(')151 385 y Fs(\(cons)20 b(\(floor)g(*print-base*)f(2\))779 +389 y Fn(')802 385 y Fs(b\)\))42 437 y(Form:)h(\(CONS)h(\(FLOOR)f +(*PRINT-BASE*)e(2\))j(\(QUOTE)f(B\)\))85 489 y(Form:)g(\(FLOOR)g +(*PRINT-BASE*)e(3\))127 541 y(Form:)i(*PRINT-BASE*)127 +592 y(Value:)g(10)127 644 y(Form:)g(3)127 696 y(Value:)g(3)85 +748 y(Value:)g(3)h(1)85 800 y(Form:)f(\(QUOTE)g(B\))85 +852 y(Value:)g(B)42 904 y(Value:)g(\(3)h(.)g(B\))0 956 +y(\(3)g(.)g(B\))1209 1107 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(constantp)19 b Fv(obje)n(ct)0 1184 y Fw(If)c(the)g(predicate)h +Fs(constantp)d Fw(is)i(true)h(of)e(an)h(ob)r(ject,)g(then)h(that)f(ob)r +(ject,)g(when)h(con-)0 1236 y(sidered)f(as)f(a)g(form)f(to)h(b)q(e)g +(ev)n(aluated,)g(alw)o(a)o(ys)f(ev)n(aluates)h(to)g(the)h(same)e +(thing;)g(it)h(is)g(a)0 1288 y(constan)o(t.)25 b(This)17 +b(includes)f(self-ev)n(aluating)f(ob)r(jects)i(suc)o(h)g(as)f(n)o(um)o +(b)q(ers,)g(c)o(haracters,)0 1340 y(strings,)c(bit-v)o(ectors,)h(and)f +(k)o(eyw)o(ords,)h(as)f(w)o(ell)f(as)i(all)d(constan)o(t)j(sym)o(b)q +(ols)e(declared)i(b)o(y)0 1392 y Fs(defconstant)p Fw(,)f(suc)o(h)j(as)f +Fs(nil)p Fw(,)f Fs(t)p Fw(,)h(and)g Fs(pi)p Fw(.)19 b(In)c(addition,)d +(a)i(list)g(whose)h Fv(c)n(ar)f Fw(is)g Fs(quote)p Fw(,)0 +1444 y(suc)o(h)h(as)f Fs(\(quote)20 b(foo\))p Fw(,)12 +b(is)i(considered)h(to)f(b)q(e)g(a)g(constan)o(t.)42 +1496 y(If)g Fs(constantp)g Fw(is)h(false)g(of)f(an)h(ob)r(ject,)h(then) +g(that)f(ob)r(ject,)h(considered)h(as)e(a)g(form,)0 1548 +y(migh)o(t)d(or)i(migh)o(t)d(not)j(alw)o(a)o(ys)f(ev)n(aluate)h(to)f +(the)i(same)e(thing.)0 1718 y Fo(20.2.)20 b(The)15 b(T)-5 +b(op-Lev)n(el)13 b(Lo)r(op)0 1809 y Fw(Normally)8 b(one)i(in)o(teracts) +h(with)f(Lisp)g(through)g(a)g(\\top-lev)o(el)f Fs(read)p +Fw(-)p Fs(eval)p Fw(-)p Fs(print)e Fw(lo)q(op,")0 1861 +y(so)16 b(called)f(b)q(ecause)j(it)d(is)h(the)h(highest)f(lev)o(el)f +(of)h(con)o(trol)f(and)h(consists)h(of)e(an)g(endless)0 +1913 y(lo)q(op)h(that)g(reads)h(an)f(expression,)i(ev)n(aluates)f(it,)f +(and)g(prin)o(ts)h(the)g(results.)26 b(One)18 b(has)0 +1965 y(an)d(e\013ect)i(on)f(the)g(state)g(of)f(the)h(Lisp)f(system)g +(only)g(b)o(y)g(in)o(v)o(oking)f(actions)h(that)h(ha)o(v)o(e)0 +2017 y(side)e(e\013ects.)42 2069 y(The)g(precise)h(nature)f(of)g(the)g +(top-lev)o(el)f(lo)q(op)g(for)h(Commo)o(n)d(Lisp)j(is)f(purp)q(osely)i +(not)0 2121 y(rigorously)d(sp)q(eci\014ed)i(here)g(so)e(that)h +(implemen)o(tors)d(can)j(exp)q(erimen)o(t)g(to)f(impro)o(v)o(e)f(the)0 +2173 y(user)k(in)o(terface.)j(F)m(or)c(example,)e(an)h(implemen)o(tor)e +(ma)o(y)h(c)o(ho)q(ose)j(to)e(require)i(line-at-a-)0 +2225 y(time)e(input,)h(or)h(ma)o(y)d(pro)o(vide)j(a)f(fancy)g(editor)h +(or)g(complex)e(graphics-displa)o(y)h(in)o(ter-)0 2277 +y(face.)26 b(An)16 b(implemen)o(tor)e(ma)o(y)g(c)o(ho)q(ose)j(to)f(pro) +o(vide)g(explicit)g(prompts)g(for)g(input,)g(or)0 2329 +y(ma)o(y)11 b(c)o(ho)q(ose)j(\(as)f(MacLisp)g(do)q(es\))h(not)f(to)g +(clutter)h(up)g(the)f(transcript)h(with)f(prompts.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 533 557 +533 556 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(THE)13 b(EV)m(ALUA)m(TOR)1027 +b(533)42 295 y Fw(The)12 b(top-lev)o(el)f(lo)q(op)g(is)g(required)i(to) +e(trap)h(all)f(thro)o(ws)h(and)f(reco)o(v)o(er)i(gracefully)m(.)j(It)c +(is)0 347 y(also)i(required)i(to)f(prin)o(t)f(all)g(v)n(alues)h +(resulting)f(from)g(ev)n(aluation)f(of)h(a)h(form,)e(p)q(erhaps)0 +399 y(on)g(separate)h(lines.)k(If)13 b(a)f(form)g(returns)j(zero)e(v)n +(alues,)g(as)g(little)g(as)g(p)q(ossible)g(should)g(b)q(e)0 +450 y(prin)o(ted.)42 502 y(The)k(follo)o(wing)d(v)n(ariables)j(are)g +(main)o(tained)e(b)o(y)i(the)g(top-lev)o(el)g(lo)q(op)f(as)h(a)g +(limited)0 554 y(safet)o(y)e(net,)g(in)f(case)i(the)g(user)f(forgets)h +(to)e(sa)o(v)o(e)h(an)g(in)o(teresting)g(input)g(expression)h(or)0 +606 y(output)i(v)n(alue.)31 b(\(Note)19 b(that)f(the)h(names)e(of)h +(some)f(of)h(these)h(v)n(ariables)f(violate)f(the)0 658 +y(con)o(v)o(en)o(tion)g(that)h(names)e(of)h(global)f(v)n(ariables)h(b)q +(egin)g(and)h(end)g(with)f(an)g(asterisk.\))0 710 y(These)j(are)g(in)o +(tended)g(primarily)c(for)j(user)h(in)o(teraction,)g(whic)o(h)f(is)g +(wh)o(y)g(they)h(ha)o(v)o(e)0 762 y(short)14 b(names.)k(Use)c(of)g +(these)h(v)n(ariables)e(should)h(b)q(e)g(a)o(v)o(oided)f(in)h +(programs.)1219 879 y([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(+)1219 931 y Fw([)p Fv(V)m(ariable)s Fw(])g Fs(++)1219 +982 y Fw([)p Fv(V)m(ariable)s Fw(])g Fs(+++)0 1059 y +Fw(While)12 b(a)g(form)f(is)i(b)q(eing)f(ev)n(aluated)h(b)o(y)f(the)h +(top-lev)o(el)f(lo)q(op,)g(the)h(v)n(ariable)f Fs(+)g +Fw(is)h(b)q(ound)0 1111 y(to)k(the)h(previous)g(form)d(read)j(b)o(y)f +(the)h(lo)q(op.)27 b(The)18 b(v)n(ariable)e Fs(++)h Fw(holds)g(the)g +(previous)0 1163 y(v)n(alue)e(of)h Fs(+)f Fw(\(that)h(is,)g(the)h(form) +d(ev)n(aluated)i(t)o(w)o(o)f(in)o(teractions)i(ago\),)e(and)h +Fs(+++)f Fw(holds)0 1215 y(the)f(previous)h(v)n(alue)e(of)g +Fs(++)p Fw(.)1219 1332 y([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(-)0 1409 y Fw(While)12 b(a)g(form)f(is)i(b)q(eing)f(ev)n(aluated)h +(b)o(y)f(the)h(top-lev)o(el)f(lo)q(op,)g(the)h(v)n(ariable)f +Fs(-)g Fw(is)h(b)q(ound)0 1460 y(to)18 b(the)h(form)d(itself;)j(that)g +(is,)f(it)g(is)g(the)g(v)n(alue)g(ab)q(out)g(to)g(b)q(e)h(giv)o(en)e +(to)h Fs(+)g Fw(once)h(this)0 1512 y(in)o(teraction)14 +b(is)g(done.)42 1564 y Fv(Notic)n(e)j(of)h(c)n(orr)n(e)n(ction.)27 +b Fw(In)17 b(the)g(\014rst)h(edition,)f(the)h(name)e(of)g(the)i(v)n +(ariable)e Fs(-)h Fw(w)o(as)-33 1536 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1616 a(inadv)o(erten)o(tly)d(omitted.)-33 +1628 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1219 1733 a([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(*)1219 1785 y Fw([)p Fv(V)m(ariable)s Fw(])g Fs(**)1219 +1837 y Fw([)p Fv(V)m(ariable)s Fw(])g Fs(***)0 1914 y +Fw(While)12 b(a)g(form)f(is)i(b)q(eing)f(ev)n(aluated)h(b)o(y)f(the)h +(top-lev)o(el)f(lo)q(op,)g(the)h(v)n(ariable)f Fs(*)g +Fw(is)h(b)q(ound)0 1966 y(to)18 b(the)g(result)g(prin)o(ted)h(at)e(the) +h(end)h(of)e(the)h(last)g(time)e(through)i(the)g(lo)q(op;)h(that)e(is,) +0 2017 y(it)f(is)g(the)h(v)n(alue)f(pro)q(duced)i(b)o(y)e(ev)n +(aluating)f(the)i(form)e(in)h Fs(+)p Fw(.)26 b(If)16 +b(sev)o(eral)h(v)n(alues)f(w)o(ere)0 2069 y(pro)q(duced,)h +Fs(*)f Fw(con)o(tains)g(the)g(\014rst)h(v)n(alue)e(only;)h +Fs(*)f Fw(con)o(tains)h Fs(nil)f Fw(if)g(zero)i(v)n(alues)f(w)o(ere)0 +2121 y(pro)q(duced.)25 b(The)17 b(v)n(ariable)d Fs(**)i +Fw(holds)g(the)g(previous)g(v)n(alue)g(of)f Fs(*)h Fw(\(that)g(is,)f +(the)i(result)0 2173 y(prin)o(ted)d(t)o(w)o(o)g(in)o(teractions)g +(ago\),)f(and)g Fs(***)h Fw(holds)f(the)i(previous)f(v)n(alue)f(of)g +Fs(**)p Fw(.)42 2225 y(If)f(the)g(ev)n(aluation)f(of)h +Fs(+)g Fw(is)h(ab)q(orted)g(for)f(some)f(reason,)i(then)g(the)g(v)n +(alues)f(asso)q(ciated)0 2277 y(with)h Fs(*)p Fw(,)f +Fs(**)p Fw(,)h(and)g Fs(***)f Fw(are)i(not)f(up)q(dated;)g(they)h(are)g +(up)q(dated)g(only)e(if)g(the)i(prin)o(ting)e(of)0 2329 +y(v)n(alues)i(is)f(at)h(least)g(b)q(egun)h(\(though)e(not)h +(necessarily)h(completed\).)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 534 558 +534 557 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(534)77 b(COMMON)13 +b(LISP)1219 295 y Fw([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(/)1219 347 y Fw([)p Fv(V)m(ariable)s Fw(])g Fs(//)1219 +399 y Fw([)p Fv(V)m(ariable)s Fw(])g Fs(///)0 475 y Fw(While)12 +b(a)g(form)f(is)i(b)q(eing)f(ev)n(aluated)h(b)o(y)f(the)h(top-lev)o(el) +f(lo)q(op,)g(the)h(v)n(ariable)f Fs(/)g Fw(is)h(b)q(ound)0 +527 y(to)j(a)g(list)f(of)h(the)h(results)g(prin)o(ted)f(at)g(the)h(end) +f(of)g(the)h(last)e(time)g(through)h(the)h(lo)q(op;)0 +579 y(that)g(is,)g(it)g(is)g(a)f(list)h(of)f(all)g(v)n(alues)g(pro)q +(duced)j(b)o(y)d(ev)n(aluating)g(the)i(form)d(in)h Fs(+)p +Fw(.)27 b(The)0 631 y(v)n(alue)11 b(of)g Fs(*)g Fw(should)h(alw)o(a)o +(ys)f(b)q(e)h(the)g(same)f(as)h(the)g Fv(c)n(ar)f Fw(of)g(the)i(v)n +(alue)e(of)g Fs(/)p Fw(.)17 b(The)12 b(v)n(ariable)0 +683 y Fs(//)i Fw(holds)g(the)h(previous)f(v)n(alue)g(of)g +Fs(/)g Fw(\(that)g(is,)g(the)h(results)g(prin)o(ted)g(t)o(w)o(o)e(in)o +(teractions)0 735 y(ago\),)e(and)g Fs(///)g Fw(holds)g(the)h(previous)g +(v)n(alue)f(of)g Fs(//)p Fw(.)16 b(Therefore)d(the)f(v)n(alue)f(of)g +Fs(**)g Fw(should)0 787 y(alw)o(a)o(ys)i(b)q(e)h(the)h(same)e(as)h(the) +g Fv(c)n(ar)g Fw(of)f Fs(//)p Fw(,)g(and)h(similarly)d(for)i +Fs(***)g Fw(and)h Fs(///)p Fw(.)42 839 y(If)e(the)g(ev)n(aluation)f(of) +h Fs(+)g Fw(is)h(ab)q(orted)g(for)f(some)f(reason,)i(then)g(the)g(v)n +(alues)f(asso)q(ciated)0 890 y(with)h Fs(/)p Fw(,)f Fs(//)p +Fw(,)h(and)g Fs(///)f Fw(are)i(not)f(up)q(dated;)g(they)h(are)g(up)q +(dated)g(only)e(if)g(the)i(prin)o(ting)e(of)0 942 y(v)n(alues)i(is)f +(at)h(least)g(b)q(egun)h(\(though)e(not)h(necessarily)h(completed\).)42 +1019 y(As)h(an)f(example)g(of)g(the)h(pro)q(cessing)h(of)e(these)i(v)n +(ariables,)e(consider)i(the)f(follo)o(wing)0 1071 y(p)q(ossible)e +(transcript,)h(where)g Fs(>)e Fw(is)h(a)g(prompt)e(b)o(y)i(the)g +(top-lev)o(el)g(lo)q(op)f(for)g(user)i(input:)0 1156 +y Fs(>\(cons)20 b(-)h(-\))359 b(;)p Fw(In)o(teraction)14 +b(1)0 1208 y Fs(\(\(CONS)20 b(-)h(-\))g(CONS)f(-)h(-\))143 +b(;)p Fw(Cute,)14 b(h)o(uh?)0 1312 y Fs(>\(values\))400 +b(;)p Fw(In)o(teraction)14 b(2)677 1364 y Fs(;)p Fw(Nothing)g(to)f +(prin)o(t)0 1416 y Fs(>\(cons)150 1420 y Fn(')173 1416 +y Fs(a)214 1420 y Fn(')237 1416 y Fs(b\))317 b(;)p Fw(In)o(teraction)14 +b(3)0 1467 y Fs(\(A)21 b(.)g(B\))446 b(;)p Fw(There)15 +b(is)e(a)h(single)f(v)n(alue)0 1571 y Fs(>\(hairy-loop\))284 +1575 y Fn(^)304 1571 y Fs(G)272 b(;)p Fw(In)o(teraction)14 +b(4)0 1623 y Fs(#)0 1619 y(-)0 1627 y(-)22 1623 y(#)22 +1619 y(-)22 1627 y(-)44 1623 y(#)44 1619 y(-)44 1627 +y(-)87 1623 y(QUIT)20 b(to)h(top)f(level.)120 b(;)p Fw(\(User)15 +b(ab)q(orts)f(the)h(computation.\))0 1727 y Fs(>\(floor)20 +b(13)g(4\))316 b(;)p Fw(In)o(teraction)14 b(5)0 1779 +y Fs(3)576 b(;)p Fw(There)15 b(are)f(t)o(w)o(o)f(v)n(alues)0 +1831 y Fs(1)0 1916 y Fw(A)o(t)h(this)g(p)q(oin)o(t)f(w)o(e)h(ha)o(v)o +(e:)0 1993 y Fs(+++)21 b Ft(\))f Fs(\(cons)277 1997 y +Fn(')301 1993 y Fs(a)341 1997 y Fn(')365 1993 y Fs(b\))167 +b(***)21 b Ft(\))f Fs(NIL)281 b(///)21 b Ft(\))g Fs(\(\))0 +2045 y(++)g Ft(\))f Fs(\(hairy-loop\))185 b(**)21 b Ft(\))g +Fs(\(A)f(.)h(B\))217 b(//)21 b Ft(\))g Fs(\(\(A)f(.)h(B\)\))0 +2097 y(+)g Ft(\))g Fs(\(floor)f(13)g(4\))210 b(*)21 b +Ft(\))g Fs(3)368 b(/)21 b Ft(\))g Fs(\(3)g(1\))-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 535 559 +535 558 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(21)p 0 448 598 +9 v 0 531 a Fp(Streams)0 888 y Fw(Streams)13 b(are)g(ob)r(jects)h(that) +f(serv)o(e)i(as)e(sources)i(or)e(sinks)g(of)f(data.)18 +b(Character)c(streams)0 940 y(pro)q(duce)e(or)f(absorb)h(c)o +(haracters;)h(binary)e(streams)g(pro)q(duce)h(or)f(absorb)g(in)o +(tegers.)18 b(The)0 992 y(normal)9 b(action)h(of)g(a)h(Comm)o(on)d +(Lisp)j(system)f(is)h(to)f(read)h(c)o(haracters)i(from)c(a)h(c)o +(haracter)0 1044 y(input)16 b(stream,)g(parse)h(the)f(c)o(haracters)i +(as)f(represen)o(tations)h(of)d(Common)e(Lisp)j(data)0 +1096 y(ob)r(jects,)11 b(ev)n(aluate)f(eac)o(h)g(ob)r(ject)h(\(as)f(a)f +(form\))f(as)i(it)f(is)h(read,)h(and)e(prin)o(t)h(represen)o(tations)0 +1147 y(of)j(the)i(results)g(of)e(ev)n(aluation)g(to)g(an)h(output)g(c)o +(haracter)h(stream.)42 1199 y(T)o(ypically)21 b(streams)i(are)h +(connected)h(to)e(\014les)g(or)g(to)g(an)g(in)o(teractiv)o(e)h +(terminal.)0 1251 y(Streams,)d(b)q(eing)e(Lisp)h(ob)r(jects,)i(serv)o +(e)f(as)f(the)h(am)o(bassadors)e(of)g(external)i(devices)0 +1303 y(b)o(y)14 b(whic)o(h)f(input/output)h(is)g(accomplished.)42 +1355 y(A)i(stream,)f(whether)j(a)e(c)o(haracter)h(stream)f(or)g(a)g +(binary)f(stream,)h(ma)o(y)e(b)q(e)j(input-)0 1407 y(only)m(,)c +(output-only)m(,)h(or)g(bidirectional.)20 b(What)15 b(op)q(erations)g +(ma)o(y)e(b)q(e)i(p)q(erformed)f(on)h(a)0 1459 y(stream)e(dep)q(ends)j +(on)e(whic)o(h)f(of)h(the)g(six)g(t)o(yp)q(es)h(of)e(stream)g(it)h(is.) +0 1615 y Fo(21.1.)20 b(Standard)c(Streams)0 1702 y Fw(There)11 +b(are)f(sev)o(eral)g(v)n(ariables)f(whose)h(v)n(alues)g(are)g(streams)g +(used)g(b)o(y)g(man)o(y)d(functions)j(in)0 1754 y(the)h(Lisp)f(system.) +17 b(These)11 b(v)n(ariables)f(and)g(their)g(uses)i(are)f(listed)f +(here.)18 b(By)11 b(con)o(v)o(en)o(tion,)0 1806 y(v)n(ariables)18 +b(that)h(are)g(exp)q(ected)i(to)e(hold)f(a)h(stream)f(capable)h(of)f +(input)h(ha)o(v)o(e)g(names)0 1858 y(ending)12 b(with)f +Fs(-input)p Fw(,)g(and)g(v)n(ariables)g(that)h(are)g(exp)q(ected)i(to)e +(hold)f(a)g(stream)h(capable)0 1910 y(of)18 b(output)h(ha)o(v)o(e)f +(names)g(ending)g(with)h Fs(-output)p Fw(.)30 b(V)m(ariables)18 +b(exp)q(ected)j(to)d(hold)g(a)0 1962 y(bidirectional)13 +b(stream)g(ha)o(v)o(e)h(names)f(ending)h(with)f Fs(-io)p +Fw(.)1219 2096 y([)p Fv(V)m(ariable)s Fw(])-1396 b Fs(*standard-input*) +0 2173 y Fw(In)11 b(the)h(normal)d(Lisp)i(top-lev)o(el)g(lo)q(op,)f +(input)h(is)h(read)f(from)f Fs(*standard-input*)e Fw(\(that)0 +2225 y(is,)17 b(whatev)o(er)h(stream)f(is)g(the)h(v)n(alue)e(of)h(the)h +(global)d(v)n(ariable)h Fs(*standard-input*)p Fw(\).)0 +2277 y(Man)o(y)9 b(input)h(functions,)g(including)f Fs(read)g +Fw(and)h Fs(read-char)p Fw(,)e(tak)o(e)i(a)f(stream)h(argumen)o(t)0 +2329 y(that)k(defaults)g(to)g Fs(*standard-input)o(*)p +Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1337 2428 a Fy(535)p eop +%%Page: 536 560 +536 559 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(536)77 b(COMMON)13 +b(LISP)1219 295 y Fw([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(*standard-output*)0 372 y Fw(In)12 b(the)g(normal)e(Lisp)h +(top-lev)o(el)h(lo)q(op,)f(output)h(is)f(sen)o(t)i(to)e +Fs(*standard-output*)e Fw(\(that)0 423 y(is,)15 b(whatev)o(er)h(stream) +e(is)h(the)h(v)n(alue)e(of)h(the)g(global)f(v)n(ariable)g +Fs(*standard-output)o(*)p Fw(\).)0 475 y(Man)o(y)h(output)g(functions,) +g(including)f Fs(print)g Fw(and)h Fs(write-char)p Fw(,)e(tak)o(e)i(a)g +(stream)g(ar-)0 527 y(gumen)o(t)e(that)h(defaults)g(to)f +Fs(*standard-output*)p Fw(.)1219 654 y([)p Fv(V)m(ariable)s +Fw(])-1396 b Fs(*error-output*)0 731 y Fw(The)20 b(v)n(alue)e(of)h +Fs(*error-output*)d Fw(is)j(a)g(stream)g(to)g(whic)o(h)g(error)h +(messages)f(should)0 783 y(b)q(e)d(sen)o(t.)22 b(Normally)12 +b(this)j(is)g(the)h(same)e(as)h Fs(*standard-output*)p +Fw(,)d(but)j Fs(*standard-)0 835 y(output*)k Fw(migh)o(t)g(b)q(e)i(b)q +(ound)g(to)f(a)h(\014le)f(and)h Fs(*error-output*)d Fw(left)i(going)g +(to)g(the)0 887 y(terminal)12 b(or)i(to)g(a)f(separate)i(\014le)f(of)g +(error)g(messages.)1219 1014 y([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(*query-io*)0 1091 y Fw(The)13 b(v)n(alue)f(of)h +Fs(*query-io*)d Fw(is)j(a)g(stream)f(to)h(b)q(e)g(used)h(when)f(asking) +f(questions)i(of)e(the)0 1143 y(user.)18 b(The)12 b(question)g(should)f +(b)q(e)h(output)g(to)f(this)g(stream,)g(and)h(the)g(answ)o(er)g(read)f +(from)0 1194 y(it.)17 b(When)12 b(the)g(normal)e(input)i(to)g(a)f +(program)f(ma)o(y)g(b)q(e)j(coming)d(from)g(a)h(\014le,)h(questions)0 +1246 y(suc)o(h)g(as)e(\\Do)g(y)o(ou)h(really)f(w)o(an)o(t)g(to)h +(delete)h(all)e(of)g(the)h(\014les)g(in)g(y)o(our)f(directory?")18 +b(should)0 1298 y(nev)o(ertheless)h(b)q(e)e(sen)o(t)h(directly)f(to)g +(the)g(user;)i(and)d(the)i(answ)o(er)f(should)g(come)e(from)0 +1350 y(the)j(user,)i(not)e(from)e(the)i(data)g(\014le.)29 +b(F)m(or)18 b(suc)o(h)g(purp)q(oses)i Fs(*query-io*)15 +b Fw(should)j(b)q(e)0 1402 y(used)d(instead)g(of)f Fs(*standard-input*) +e Fw(and)i Fs(*standard-output*)o Fw(.)j Fs(*query-io*)c +Fw(is)0 1454 y(used)i(b)o(y)e(suc)o(h)i(functions)f(as)g +Fs(yes-or-no-p)p Fw(.)1219 1581 y([)p Fv(V)m(ariable)s +Fw(])-1396 b Fs(*debug-io*)0 1658 y Fw(The)19 b(v)n(alue)f(of)g +Fs(*debug-io*)e Fw(is)j(a)f(stream)g(to)h(b)q(e)g(used)g(for)f(in)o +(teractiv)o(e)h(debugging)0 1710 y(purp)q(oses.)27 b(This)16 +b(is)g(often)g(the)h(same)e(as)i(the)g(v)n(alue)e(of)h +Fs(*query-io*)p Fw(,)e(but)j(need)g(not)0 1762 y(b)q(e.)1219 +1889 y([)p Fv(V)m(ariable)s Fw(])-1396 b Fs(*terminal-io*)0 +1966 y Fw(The)19 b(v)n(alue)f(of)g Fs(*terminal-io*)d +Fw(is)k(ordinarily)e(the)i(stream)f(that)h(connects)h(to)e(the)0 +2017 y(user's)g(console.)27 b(T)o(ypically)m(,)16 b(writing)g(to)h +(this)g(stream)f(w)o(ould)g(cause)i(the)g(output)f(to)0 +2069 y(app)q(ear)e(on)f(a)h(displa)o(y)e(screen,)j(for)f(example,)e +(and)h(reading)g(from)f(the)i(stream)g(w)o(ould)0 2121 +y(accept)g(input)f(from)e(a)i(k)o(eyb)q(oard.)42 2173 +y(It)g(is)h(in)o(tended)g(that)g(standard)h(input)e(functions)h(suc)o +(h)h(as)f Fs(read)e Fw(and)i Fs(read-char)p Fw(,)0 2225 +y(when)20 b(used)h(with)f(this)g(stream,)h(w)o(ould)e(cause)i(\\ec)o +(hoing")e(of)g(the)i(input)f(in)o(to)f(the)0 2277 y(output)c(side)h(of) +f(the)g(stream.)22 b(\(The)16 b(means)e(b)o(y)h(whic)o(h)g(this)g(is)g +(accomplished)g(are)g(of)0 2329 y(course)g(highly)e(implemen)o(tatio)o +(n-dep)q(enden)o(t.\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 537 561 +537 560 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(STREAMS)1161 b(537)1219 +295 y Fw([)p Fv(V)m(ariable)s Fw(])-1396 b Fs(*trace-output*)0 +373 y Fw(The)20 b(v)n(alue)g(of)f Fs(*trace-output*)e +Fw(is)j(the)g(stream)g(on)g(whic)o(h)g(the)g Fs(trace)f +Fw(function)0 425 y(prin)o(ts)14 b(its)g(output.)42 551 +y(The)i(v)n(ariables)f Fs(*standard-input*)p Fw(,)e Fs +(*standard-output)o(*)p Fw(,)g Fs(*error-output*)p Fw(,)0 +603 y Fs(*trace-output*)p Fw(,)i Fs(*query-io*)p Fw(,)h(and)i +Fs(*debug-io*)d Fw(are)j(initially)d(b)q(ound)j(to)g(syn-)0 +655 y(on)o(ym)g(streams)h(that)h(pass)h(all)d(op)q(erations)i(on)f(to)h +(the)g(stream)g(that)f(is)h(the)g(v)n(alue)0 707 y(of)c +Fs(*terminal-io*)p Fw(.)22 b(\(See)17 b Fs(make-synonym-strea)o(m)p +Fw(.\))22 b(Th)o(us)17 b(an)o(y)f(op)q(erations)g(p)q(er-)0 +758 y(formed)d(on)g(those)i(streams)f(will)e(go)h(to)h(the)h(terminal.) +42 812 y(X3J13)e(v)o(oted)h(in)f(Jan)o(uary)h(1989)e +Ft(h)p Fw(165)p Ft(i)h Fw(to)h(replace)g(the)h(requiremen)o(ts)f(of)f +(the)h(pre-)-33 784 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 864 a(ceding)g(paragraph)g(with)f(the)i(follo)o(wing)c +(new)j(requiremen)o(ts:)42 918 y(The)25 b(sev)o(en)h(standard)f(stream) +g(v)n(ariables,)h Fs(*standard-input*)p Fw(,)e Fs(*standard-)0 +970 y(output*)p Fw(,)17 b Fs(*query-io*)p Fw(,)f Fs(*debug-io*)p +Fw(,)g Fs(*terminal-io*)p Fw(,)g Fs(*error-output*)p +Fw(,)f(and)0 1022 y Fs(*trace-output*)p Fw(,)d(are)k(initially)d(b)q +(ound)j(to)f(op)q(en)h(streams.)22 b(\(These)17 b(will)d(b)q(e)i +(called)0 1074 y Fv(the)f(standar)n(d)g(initial)f(str)n(e)n(ams)p +Fw(.\))42 1128 y(The)f(streams)f(that)h(are)g(the)h(initial)d(v)n +(alues)h(of)g Fs(*standard-input*)p Fw(,)d Fs(*query-io*)p +Fw(,)0 1179 y Fs(*debug-io*)p Fw(,)i(and)j Fs(*terminal-io*)d +Fw(m)o(ust)i(supp)q(ort)i(input.)42 1233 y(The)k(streams)f(that)h(are)g +(the)h(initial)d(v)n(alues)h(of)g Fs(*standard-output*)p +Fw(,)e Fs(*error-)0 1285 y(output*)p Fw(,)j Fs(*trace-output*)p +Fw(,)f Fs(*query-io*)p Fw(,)h Fs(*debug-io*)p Fw(,)g(and)g +Fs(*terminal-io*)0 1337 y Fw(m)o(ust)13 b(supp)q(ort)i(output.)42 +1391 y(None)9 b(of)g(the)h(standard)g(initial)d(streams)i(\(including)g +(the)h(one)f(to)h(whic)o(h)f Fs(*terminal-)0 1443 y(io*)i +Fw(is)g(initially)e(b)q(ound\))i(ma)o(y)f(b)q(e)i(a)f(synon)o(ym,)e +(either)k(directly)e(or)g(indirectly)m(,)g(for)g(an)o(y)0 +1495 y(of)f(the)h(standard)g(stream)g(v)n(ariables)e(except)k +Fs(*terminal-io*)p Fw(.)h(F)m(or)c(example,)g(the)h(ini-)0 +1547 y(tial)j(v)n(alue)g(of)g Fs(*trace-output*)e Fw(ma)o(y)h(b)q(e)i +(a)g(synon)o(ym)e(stream)h(for)g Fs(*terminal-io*)0 1598 +y Fw(but)j(not)f(a)h(synon)o(ym)e(stream)h(for)g Fs(*standard-output*)d +Fw(or)k Fs(*query-io*)p Fw(.)24 b(\(These)0 1650 y(are)c(examples)e(of) +h(direct)i(synon)o(yms.\))33 b(As)20 b(another)g(example,)f +Fs(*query-io*)f Fw(ma)o(y)0 1702 y(b)q(e)g(a)f(t)o(w)o(o-w)o(a)o(y)f +(stream)h(or)g(ec)o(ho)h(stream)f(whose)h(input)f(comp)q(onen)o(t)g(is) +g(a)g(synon)o(ym)0 1754 y(for)k Fs(*terminal-io*)p Fw(,)g(but)g(its)h +(input)f(comp)q(onen)o(t)g(ma)o(y)f(not)h(b)q(e)i(a)e(synon)o(ym)f(for) +0 1806 y Fs(*standard-input*)e Fw(or)j Fs(*debug-io*)p +Fw(.)38 b(\(These)23 b(are)f(examples)e(of)h(indirect)h(syn-)0 +1858 y(on)o(yms.\))42 1912 y(An)o(y)9 b(or)h(all)f(of)g(the)h(standard) +g(initial)e(streams)i(ma)o(y)e(b)q(e)i(direct)h(or)f(indirect)g(synon)o +(yms)0 1964 y(for)17 b(one)g(or)h(more)e(common)e(implemen)o +(tation-dep)q(enden)o(t)i(streams.)28 b(F)m(or)16 b(example,)0 +2015 y(the)j(standard)g(initial)e(streams)h(migh)o(t)e(all)i(b)q(e)h +(synon)o(ym)e(streams)h(\(or)h(t)o(w)o(o-w)o(a)o(y)e(or)0 +2067 y(ec)o(ho)h(streams)g(whose)h(comp)q(onen)o(ts)e(are)i(synon)o(ym) +d(streams\))i(to)g(a)g(pair)f(of)h(hidden)0 2119 y(terminal)12 +b(input)i(and)g(output)g(streams)f(main)o(tained)f(b)o(y)i(the)g +(implemen)o(tation.)42 2173 y(P)o(art)h(of)g(the)h(in)o(ten)o(t)g(of)f +(these)i(rules)f(is)f(to)g(ensure)j(that)d(it)g(is)h(alw)o(a)o(ys)e +(safe)i(to)f(bind)0 2225 y(an)o(y)e(standard)h(stream)f(v)n(ariable)f +(to)i(the)g(v)n(alue)f(of)g(an)o(y)g(other)h(standard)g(stream)f(v)n +(ari-)0 2277 y(able)g(\(that)f(is,)h(un)o(w)o(ork)n(able)f +(circularities)h(are)g(a)o(v)o(oided\))f(without)g(unduly)h +(restricting)0 2329 y(implemen)o(tatio)o(n)e(\015exibilit)o(y)m(.)-33 +2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 538 562 +538 561 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(538)77 b(COMMON)13 +b(LISP)42 295 y Fw(No)i(user)h(program)e(should)h(ev)o(er)h(c)o(hange)g +(the)g(v)n(alue)e(of)h Fs(*terminal-io*)p Fw(.)k(A)d(pro-)0 +347 y(gram)i(that)h(w)o(an)o(ts)h(\(for)f(example\))g(to)g(div)o(ert)h +(output)f(to)h(a)f(\014le)h(should)f(do)g(so)h(b)o(y)0 +399 y(binding)d(the)i(v)n(alue)f(of)g Fs(*standard-output*)o +Fw(;)g(that)g(w)o(a)o(y)g(error)h(messages)g(sen)o(t)g(to)0 +450 y Fs(*error-output*)13 b Fw(can)j(still)f(get)h(to)g(the)g(user)h +(b)o(y)e(going)g(through)h Fs(*terminal-io*)p Fw(,)0 +502 y(whic)o(h)e(is)g(usually)f(what)g(is)h(desired.)0 +637 y Fo(21.2.)20 b(Creating)15 b(New)g(Streams)0 718 +y Fw(P)o(erhaps)c(the)f(most)e(imp)q(ortan)o(t)g(constructs)k(for)d +(creating)h(new)g(streams)f(are)h(those)h(that)0 770 +y(op)q(en)k(\014les;)g(see)g Fs(with-open-file)d Fw(and)i +Fs(open)p Fw(.)20 b(The)15 b(follo)o(wing)c(functions)k(construct)0 +822 y(streams)f(without)f(reference)k(to)c(a)h(\014le)g(system.)1209 +936 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(make-synonym-stre)o(am)18 +b Fv(symb)n(ol)0 1013 y Fs(make-synonym-stre)o(am)d Fw(creates)20 +b(and)d(returns)j(a)d(synon)o(ym)f(stream.)30 b(An)o(y)17 +b(op)q(era-)0 1065 y(tions)h(on)g(the)h(new)f(stream)g(will)e(b)q(e)j +(p)q(erformed)f(on)g(the)h(stream)e(that)h(is)g(then)h(the)0 +1117 y(v)n(alue)14 b(of)g(the)h(dynamic)e(v)n(ariable)h(named)f(b)o(y)i +(the)g Fv(symb)n(ol)p Fw(.)20 b(If)14 b(the)i(v)n(alue)e(of)g(the)h(v)n +(ari-)0 1169 y(able)c(should)h(c)o(hange)g(or)g(b)q(e)g(b)q(ound,)g +(then)g(the)g(synon)o(ym)f(stream)g(will)f(op)q(erate)j(on)e(the)0 +1220 y(new)j(stream.)42 1272 y(X3J13)19 b(v)o(oted)i(in)f(Jan)o(uary)g +(1989)f Ft(h)p Fw(167)p Ft(i)h Fw(to)g(sp)q(ecify)h(that)f(the)h +(result)g(of)f Fs(make-)-33 1244 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1324 a(synonym-stream)11 b Fw(is)k(alw)o(a)o(ys)e(a)h +(stream)g(of)g(t)o(yp)q(e)h Fs(synonym-stream)p Fw(.)i(Note)e(that)f +(the)0 1376 y(t)o(yp)q(e)i(of)e(a)h(synon)o(ym)f(stream)g(is)i +Fv(always)e Fs(synonym-stream)p Fw(,)e(regardless)17 +b(of)d(the)i(t)o(yp)q(e)0 1428 y(of)d(the)i(stream)e(for)h(whic)o(h)f +(it)h(is)g(a)f(synon)o(ym.)-33 1440 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1542 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(make-broadcast-st)o(ream)18 b(&rest)i Fv(str)n(e)n(ams)0 +1619 y Fw(This)c(returns)i(a)d(stream)h(that)g(w)o(orks)g(only)f(in)h +(the)h(output)f(direction.)25 b(An)o(y)16 b(output)0 +1671 y(sen)o(t)10 b(to)g(this)f(stream)g(will)f(b)q(e)i(sen)o(t)g(to)g +(all)e(of)h(the)h Fv(str)n(e)n(ams)e Fw(giv)o(en.)16 +b(The)10 b(set)h(of)d(op)q(erations)0 1723 y(that)14 +b(ma)o(y)d(b)q(e)j(p)q(erformed)g(on)f(the)h(new)g(stream)f(is)h(the)g +(in)o(tersection)h(of)e(those)h(for)f(the)0 1775 y(giv)o(en)19 +b(streams.)33 b(The)19 b(results)h(returned)h(b)o(y)e(a)g(stream)f(op)q +(eration)h(are)g(the)h(v)n(alues)0 1826 y(resulting)e(from)e(p)q +(erforming)g(the)j(op)q(eration)e(on)h(the)g(last)g(stream)f(in)h +Fv(str)n(e)n(ams)p Fw(;)g(the)0 1878 y(results)c(of)f(p)q(erforming)f +(the)h(op)q(eration)g(on)g(all)f(preceding)j(streams)e(are)g +(discarded.)19 b(If)0 1930 y(no)14 b Fv(str)n(e)n(ams)f +Fw(are)i(giv)o(en)e(as)i(argumen)o(ts,)e(then)h(the)h(result)g(is)f(a)g +(\\bit)f(sink";)h(all)f(output)0 1982 y(to)h(the)g(resulting)g(stream)g +(is)f(discarded.)42 2034 y(X3J13)19 b(v)o(oted)i(in)f(Jan)o(uary)g +(1989)f Ft(h)p Fw(167)p Ft(i)h Fw(to)g(sp)q(ecify)h(that)f(the)h +(result)g(of)f Fs(make-)-33 2006 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2086 a(broadcast-stream)11 b Fw(is)i(alw)o(a)o(ys)g(a)h +(stream)f(of)g(t)o(yp)q(e)i Fs(broadcast-stream)o Fw(.)-33 +2098 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 2200 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(make-concatenated)o(-stre)o(am)18 b(&rest)i Fv(str)n(e)n(ams)0 +2277 y Fw(This)15 b(returns)h(a)e(stream)g(that)h(w)o(orks)g(only)f(in) +g(the)h(input)g(direction.)20 b(Input)15 b(is)g(tak)o(en)0 +2329 y(from)g(the)i(\014rst)g(of)f(the)h Fv(str)n(e)n(ams)f +Fw(un)o(til)f(it)h(reac)o(hes)i(end-of-\014le;)f(then)g(that)g(stream)f +(is)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 539 563 +539 562 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(STREAMS)1161 b(539)0 +295 y Fw(discarded,)16 b(and)f(input)f(is)h(tak)o(en)g(from)e(the)j +(next)g(of)e(the)h Fv(str)n(e)n(ams)p Fw(,)f(and)h(so)g(on.)21 +b(If)15 b(no)0 347 y(argumen)o(ts)10 b(are)h(giv)o(en,)f(the)h(result)g +(is)g(a)f(stream)g(with)g(no)g(con)o(ten)o(t;)i(an)o(y)e(input)g +(attempt)0 399 y(will)i(result)j(in)e(end-of-\014le.)42 +450 y(X3J13)19 b(v)o(oted)i(in)f(Jan)o(uary)g(1989)f +Ft(h)p Fw(167)p Ft(i)h Fw(to)g(sp)q(ecify)h(that)f(the)h(result)g(of)f +Fs(make-)-33 422 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 502 a(concatenated-stre)o(am)11 b Fw(is)j(alw)o(a)o(ys)e +(a)i(stream)f(of)h(t)o(yp)q(e)g Fs(concatenated-strea)o(m)p +Fw(.)-33 514 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 610 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(make-two-way-stre)o(am)18 b Fv(input)p Fs(-)p Fv(str)n(e)n(am)24 +b(output)p Fs(-)p Fv(str)n(e)n(am)0 686 y Fw(This)13 +b(returns)j(a)d(bidirectional)f(stream)h(that)h(gets)g(its)g(input)f +(from)f Fv(input-str)n(e)n(am)h Fw(and)0 738 y(sends)i(its)f(output)g +(to)g Fv(output-str)n(e)n(am)p Fw(.)42 790 y(X3J13)e(v)o(oted)h(in)g +(Jan)o(uary)g(1989)f Ft(h)p Fw(167)p Ft(i)g Fw(to)h(sp)q(ecify)h(that)f +(the)g(result)h(of)f Fs(make-two-)-33 762 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 842 a(way-stream)f Fw(is)i(alw)o(a)o(ys)e(a)i(stream)f +(of)h(t)o(yp)q(e)g Fs(two-way-stream)p Fw(.)-33 854 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 950 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(make-echo-stream)18 b Fv(input)p Fs(-)p Fv(str)n(e)n(am)24 +b(output)p Fs(-)p Fv(str)n(e)n(am)0 1026 y Fw(This)13 +b(returns)j(a)d(bidirectional)f(stream)h(that)h(gets)g(its)g(input)f +(from)f Fv(input-str)n(e)n(am)h Fw(and)0 1078 y(sends)19 +b(its)e(output)h(to)f Fv(output-str)n(e)n(am)p Fw(.)28 +b(In)17 b(addition,)g(all)f(input)h(tak)o(en)h(from)e +Fv(input-)0 1130 y(str)n(e)n(am)d Fw(is)h(ec)o(ho)q(ed)h(to)f +Fv(output-str)n(e)n(am)p Fw(.)42 1182 y(X3J13)c(v)o(oted)i(in)e(Jan)o +(uary)i(1989)e Ft(h)p Fw(167)p Ft(i)g Fw(to)h(sp)q(ecify)h(that)f(the)h +(result)g(of)f Fs(make-echo-)-33 1154 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1234 a(stream)i Fw(is)g(alw)o(a)o(ys)g(a)h(stream)f(of)g +(t)o(yp)q(e)i Fs(echo-stream)p Fw(.)-33 1246 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1286 a(X3J13)d(v)o(oted)g(in)g(Jan)o(uary)h(1989)e +Ft(h)p Fw(138)p Ft(i)i Fw(to)f(clarify)g(the)h(in)o(teraction)f(of)g +Fs(read-char)p Fw(,)-33 1257 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1338 a Fs(unread-char)p Fw(,)18 b(and)g +Fs(peek-char)g Fw(with)g(ec)o(ho)i(streams.)33 b(\(See)21 +b(the)e(descriptions)h(of)0 1390 y(those)15 b(functions)f(for)f +(details.\))42 1441 y(X3J13)k(explicitly)g(noted)h(that)g(the)g +(bidirectional)f(streams)g(that)h(are)g(the)h(initial)0 +1493 y(v)n(alues)e(of)g Fs(*query-io*)p Fw(,)f Fs(*debug-io*)p +Fw(,)h(and)g Fs(*terminal-io*)p Fw(,)e(ev)o(en)k(though)e(they)0 +1545 y(ma)o(y)c(ha)o(v)o(e)i(some)g(ec)o(hoing)g(b)q(eha)o(vior,)g +(conceptually)g(are)h(not)f(necessarily)i(the)f(pro)q(d-)0 +1597 y(ucts)g(of)f(calls)g(to)g Fs(make-echo-stream)d +Fw(and)j(therefore)i(are)f(not)f(sub)r(ject)i(to)e(the)h(new)0 +1649 y(rules)c(ab)q(out)g(ec)o(hoing)g(on)f(ec)o(ho)h(streams.)17 +b(Instead,)c(these)g(initial)d(in)o(teractiv)o(e)i(streams)0 +1701 y(ma)o(y)g(ha)o(v)o(e)i(implem)o(en)o(tation-dep)q(enden)o(t)f(ec) +o(hoing)g(b)q(eha)o(vior.)-33 1713 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1808 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(make-string-input)o(-stre)o(am)18 b Fv(string)24 +b Fs(&optional)c Fv(start)k(end)0 1885 y Fw(This)18 b(returns)h(an)f +(input)f(stream.)30 b(The)18 b(input)g(stream)f(will)g(supply)m(,)h(in) +f(order,)i(the)0 1937 y(c)o(haracters)c(in)e(the)g(substring)h(of)f +Fv(string)f Fw(delimited)g(b)o(y)h Fv(start)f Fw(and)h +Fv(end)p Fw(;)h(after)f(the)h(last)0 1989 y(c)o(haracter)h(has)f(b)q +(een)h(supplied,)f(the)g(stream)g(will)e(then)j(b)q(e)f(at)g +(end-of-\014le.)42 2041 y(X3J13)19 b(v)o(oted)i(in)f(Jan)o(uary)g(1989) +f Ft(h)p Fw(167)p Ft(i)h Fw(to)g(sp)q(ecify)h(that)f(the)h(result)g(of) +f Fs(make-)-33 2012 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2093 a(string-input-stre)o(am)11 b Fw(is)j(alw)o(a)o(ys) +e(a)i(stream)f(of)h(t)o(yp)q(e)g Fs(string-stream)p Fw(.)-33 +2104 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 2200 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(make-string-outpu)o(t-str)o(eam)-38 2175 y Fk(.)-38 +2188 y(.)-38 2201 y(.)-38 2214 y(.)-38 2227 y(.)-38 2240 +y(.)-38 2253 y(.)-38 2266 y(.)-38 2279 y(.)-38 2292 y(.)-38 +2305 y(.)-38 2318 y(.)-38 2331 y(.)-38 2344 y(.)-38 2357 +y(.)-38 2370 y(.)-38 2383 y(.)-38 2396 y(.)-38 2409 y(.)-38 +2422 y(.)-38 2435 y(.)-38 2447 y(.)-38 2460 y(.)-38 2473 +y(.)-38 2486 y(.)-38 2499 y(.)-38 2512 y(.)-38 2525 y(.)-38 +2538 y(.)-38 2551 y(.)-38 2564 y(.)-38 2577 y(.)-38 2590 +y(.)-38 2603 y(.)-38 2616 y(.)-38 2629 y(.)-38 2642 y(.)-38 +2655 y(.)-38 2668 y(.)-38 2681 y(.)-38 2694 y(.)-38 2707 +y(.)-38 2720 y(.)-38 2733 y(.)-38 2746 y(.)-38 2759 y(.)-38 +2772 y(.)-38 2785 y(.)-38 2798 y(.)-38 2811 y(.)-38 2824 +y(.)-38 2837 y(.)-38 2850 y(.)-38 2863 y(.)-38 2876 y(.)-38 +2889 y(.)-38 2902 y(.)-38 2914 y(.)-38 2927 y(.)-38 2940 +y(.)-38 2953 y(.)-38 2966 y(.)-38 2979 y(.)-38 2992 y(.)-38 +3005 y(.)-38 3018 y(.)-38 3031 y(.)-38 3044 y(.)-38 3057 +y(.)-38 3070 y(.)-38 3083 y(.)-38 3096 y(.)-38 3109 y(.)-38 +3122 y(.)-38 3135 y(.)-38 3148 y(.)-38 3161 y(.)-38 3174 +y(.)-38 3187 y(.)-38 3200 y(.)-38 3213 y(.)-38 3226 y(.)-38 +3239 y(.)-38 3252 y(.)-38 3265 y(.)-38 3278 y(.)-38 3291 +y(.)-38 3304 y(.)-38 3317 y(.)-38 3330 y(.)-38 3343 y(.)-38 +3356 y(.)-38 3369 y(.)-38 3381 y(.)-38 3394 y(.)-38 3407 +y(.)-38 3420 y(.)-38 3433 y(.)-38 3446 y(.)-38 3459 y(.)-38 +3472 y(.)-38 3485 y(.)-38 3498 y(.)-38 3511 y(.)-38 3524 +y(.)-38 3537 y(.)-38 3550 y(.)-38 3563 y(.)-38 3576 y(.)-38 +3589 y(.)-38 3602 y(.)-38 3615 y(.)-38 3628 y(.)-38 3641 +y(.)-38 3654 y(.)-38 3667 y(.)-38 3680 y(.)-38 3693 y(.)-38 +3706 y(.)-38 3719 y(.)-38 3732 y(.)-38 3745 y(.)-38 3758 +y(.)-38 3771 y(.)-38 3784 y(.)-38 3797 y(.)-38 3810 y(.)-38 +3823 y(.)-38 3836 y(.)-38 3848 y(.)-38 3861 y(.)-38 3874 +y(.)-38 3887 y(.)-38 3900 y(.)-38 3913 y(.)-38 3926 y(.)-38 +3939 y(.)-38 3952 y(.)-38 3965 y(.)-38 3978 y(.)-38 3991 +y(.)-38 4004 y(.)-38 4017 y(.)-38 4030 y(.)-38 4043 y(.)-38 +4056 y(.)-38 4069 y(.)-38 4082 y(.)-38 4095 y(.)-38 4108 +y(.)-38 4121 y(.)-38 4134 y(.)-38 4147 y(.)-38 4160 y(.)-38 +4173 y(.)-38 4186 y(.)-38 4199 y(.)-38 4212 y(.)-38 4225 +y(.)-38 4238 y(.)-38 4251 y(.)-38 4264 y(.)-38 4277 y(.)-38 +4290 y(.)-38 4302 y(.)-38 4315 y(.)-38 4328 y(.)-38 4341 +y(.)-38 4354 y(.)-38 4367 y(.)-38 4380 y(.)-38 4393 y(.)-38 +4406 y(.)-38 4419 y(.)-38 4432 y(.)-38 4445 y(.)-38 4458 +y(.)-38 4471 y(.)-38 4484 y(.)-38 4497 y(.)-38 4510 y(.)-38 +4523 y(.)-38 4536 y(.)-38 4549 y(.)-38 4562 y(.)-38 4575 +y(.)-38 4588 y(.)-38 4601 y(.)-38 4614 y(.)-38 4627 y(.)-38 +4640 y(.)-38 4653 y(.)-38 4666 y(.)-38 4679 y(.)-38 4692 +y(.)-38 4705 y(.)-38 4718 y(.)-38 4731 y(.)-38 4744 y(.)-38 +4757 y(.)0 2277 y Fw(This)12 b(returns)h(an)f(output)g(stream)g(that)g +(will)e(accum)o(ulate)h(all)g(output)h(giv)o(en)g(it)f(for)h(the)0 +2329 y(b)q(ene\014t)j(of)e(the)i(function)f Fs(get-output-stre)o(am-st) +o(ring)p Fw(.)-33 2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 540 564 +540 563 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(540)77 b(COMMON)13 +b(LISP)42 295 y Fw(X3J13)i(v)o(oted)g(in)g(June)h(1989)e +Ft(h)p Fw(122)p Ft(i)h Fw(to)g(let)h Fs(make-string-out)o(put-s)o +(tream)c Fw(tak)o(e)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(an)i Fs(:element-type)d Fw(argumen)o(t.)1209 +480 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(make-string-outpu)o(t-str)o +(eam)18 b(&key)i(:element-type)0 557 y Fw(This)12 b(returns)h(an)f +(output)g(stream)g(that)g(will)e(accum)o(ulate)h(all)g(output)h(giv)o +(en)g(it)f(for)h(the)0 609 y(b)q(ene\014t)j(of)e(the)i(function)f +Fs(get-output-stre)o(am-st)o(ring)p Fw(.)42 661 y(The)h +Fs(:element-type)d Fw(argumen)o(t)h(sp)q(eci\014es)k(what)d(c)o +(haracters)j(m)o(ust)d(b)q(e)h(accepted)0 712 y(b)o(y)10 +b(the)g(created)i(stream.)k(If)10 b(the)h Fs(:element-type)c +Fw(argumen)o(t)i(is)h(omitted,)f(the)h(created)0 764 +y(stream)j(m)o(ust)g(accept)i(all)e(c)o(haracters.)42 +816 y(X3J13)19 b(v)o(oted)i(in)f(Jan)o(uary)g(1989)f +Ft(h)p Fw(167)p Ft(i)h Fw(to)g(sp)q(ecify)h(that)f(the)h(result)g(of)f +Fs(make-)0 868 y(string-output-str)o(eam)11 b Fw(is)i(alw)o(a)o(ys)g(a) +h(stream)f(of)h(t)o(yp)q(e)g Fs(string-stream)p Fw(.)-33 +880 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1001 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(get-output-stream)o(-stri)o(ng)18 b Fv(string)p +Fs(-)p Fv(output)p Fs(-)p Fv(str)n(e)n(am)0 1078 y Fw(Giv)o(en)h(a)h +(stream)f(pro)q(duced)i(b)o(y)f Fs(make-string-outpu)o(t-str)o(eam)p +Fw(,)e(this)i(returns)h(a)0 1130 y(string)15 b(con)o(taining)f(all)g +(the)h(c)o(haracters)i(output)e(to)g(the)g(stream)g(so)g(far.)21 +b(The)15 b(stream)0 1182 y(is)20 b(then)h(reset;)j(th)o(us)c(eac)o(h)h +(call)e(to)h Fs(get-output-stream-)o(strin)o(g)d Fw(gets)k(only)e(the)0 +1234 y(c)o(haracters)f(since)f(the)g(last)f(suc)o(h)i(call)d(\(or)i +(the)g(creation)f(of)g(the)h(stream,)f(if)g(no)g(suc)o(h)0 +1286 y(previous)e(call)f(has)h(b)q(een)h(made\).)1255 +1419 y([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(with-open-stream)32 +b(\()p Fv(var)14 b(str)n(e)n(am)p Fs(\))21 b Ft(f)p Fv(de)n(clar)n +(ation)p Ft(g)879 1404 y Fl(\003)926 1419 y Ft(f)7 b +Fv(form)p Ft(g)1061 1404 y Fl(\003)0 1496 y Fw(The)16 +b(form)e Fv(str)n(e)n(am)h Fw(is)g(ev)n(aluated)h(and)f(m)o(ust)g(pro)q +(duce)h(a)g(stream.)22 b(The)16 b(v)n(ariable)f Fv(var)0 +1548 y Fw(is)i(b)q(ound)h(with)f(the)h(stream)f(as)h(its)f(v)n(alue,)g +(and)h(then)g(the)g(forms)e(of)h(the)h(b)q(o)q(dy)f(are)0 +1600 y(executed)22 b(as)e(an)f(implicit)e Fs(progn)p +Fw(;)k(the)g(results)g(of)e(ev)n(aluating)f(the)j(last)e(form)f(are)0 +1652 y(returned)h(as)e(the)h(v)n(alue)e(of)h(the)h Fs(with-open-stream) +c Fw(form.)26 b(The)17 b(stream)g(is)g(auto-)0 1703 y(matically)8 +b(closed)k(on)e(exit)h(from)e(the)j Fs(with-open-stream)7 +b Fw(form,)j(no)g(matter)g(whether)0 1755 y(the)j(exit)g(is)g(normal)e +(or)i(abnormal;)d(see)k Fs(close)p Fw(.)j(The)c(stream)g(should)f(b)q +(e)i(regarded)g(as)0 1807 y(ha)o(ving)f(dynamic)f(exten)o(t.)42 +1859 y(X3J13)j(v)o(oted)h(in)f(Jan)o(uary)h(1989)f Ft(h)p +Fw(167)p Ft(i)g Fw(to)h(sp)q(ecify)g(that)g(the)g(stream)g(created)h(b) +o(y)-33 1831 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1911 a Fs(with-open-stream)11 b Fw(is)i(alw)o(a)o(ys)g +(of)g(t)o(yp)q(e)i Fs(file-stream)p Fw(.)-33 1923 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1255 2044 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(with-input-from-s)o(tring)31 b(\()p Fv(var)15 b(string)21 +b Ft(f)p Fv(keywor)n(d)14 b(value)p Ft(g)1026 2029 y +Fl(\003)1053 2044 y Fs(\))508 2096 y Ft(f)p Fv(de)n(clar)n(ation)p +Ft(g)747 2081 y Fl(\003)794 2096 y Ft(f)6 b Fv(form)p +Ft(g)928 2081 y Fl(\003)0 2173 y Fw(The)15 b(b)q(o)q(dy)g(is)g +(executed)i(as)e(an)g(implicit)d Fs(progn)i Fw(with)g(the)i(v)n +(ariable)e Fv(var)g Fw(b)q(ound)h(to)g(a)0 2225 y(c)o(haracter)i(input) +f(stream)f(that)h(supplies)g(successiv)o(e)i(c)o(haracters)g(from)c +(the)i(v)n(alue)f(of)0 2277 y(the)h(form)e Fv(string)p +Fw(.)22 b Fs(with-input-from-)o(strin)o(g)13 b Fw(returns)k(the)f +(results)g(from)e(the)i(last)0 2329 y Fv(form)d Fw(of)h(the)g(b)q(o)q +(dy)m(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 541 565 +541 564 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(STREAMS)1161 b(541)42 +295 y Fw(The)18 b(input)h(stream)f(is)g(automatically)d(closed)20 +b(on)e(exit)g(from)f(the)i Fs(with-input-)0 347 y(from-string)13 +b Fw(form,)h(no)h(matter)f(whether)j(the)f(exit)f(is)h(normal)d(or)i +(abnormal.)20 b(The)0 399 y(stream)13 b(should)h(b)q(e)h(regarded)f(as) +g(ha)o(ving)f(dynamic)f(exten)o(t.)42 451 y(X3J13)j(v)o(oted)h(in)f +(Jan)o(uary)h(1989)f Ft(h)p Fw(167)p Ft(i)g Fw(to)h(sp)q(ecify)g(that)g +(the)g(stream)g(created)h(b)o(y)-33 422 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 503 a Fs(with-input-from-s)o(tring)10 +b Fw(is)k(alw)o(a)o(ys)f(of)g(t)o(yp)q(e)i Fs(string-stream)p +Fw(.)-33 514 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 555 a(The)f(follo)o(wing)d(k)o(eyw)o(ord)j(options)f +(ma)o(y)f(b)q(e)j(used:)42 629 y Fs(:index)42 692 y Fw(The)c(form)f +(after)h(the)h Fs(:index)e Fw(k)o(eyw)o(ord)h(should)g(b)q(e)h(a)f +Fv(plac)n(e)g Fw(acceptable)i(to)e Fs(setf)p Fw(.)16 +b(If)42 744 y(the)f Fs(with-input-from-s)o(tring)c Fw(form)i(is)i +(exited)h(normally)m(,)11 b(then)16 b(the)f Fv(plac)n(e)g +Fw(will)42 796 y(ha)o(v)o(e)h(stored)h(in)o(to)f(it)h(the)g(index)f(in) +o(to)g(the)h Fv(string)f Fw(indicating)g(the)h(\014rst)g(c)o(haracter) +42 848 y(not)d(read)g(\(the)h(length)f(of)g(the)g(string)g(if)g(all)f +(c)o(haracters)i(w)o(ere)g(used\).)20 b(The)15 b Fv(plac)n(e)f +Fw(is)42 900 y(not)f(up)q(dated)i(as)f(reading)g(progresses,)h(but)f +(only)f(at)h(the)g(end)h(of)e(the)i(op)q(eration.)42 +1004 y Fs(:start)42 1068 y Fw(The)d Fs(:start)e Fw(k)o(eyw)o(ord)i(tak) +o(es)g(an)f(argumen)o(t)g(indicating,)f(in)i(the)g(manner)f(usual)g +(for)42 1119 y(sequence)16 b(functions,)d(the)i(b)q(eginning)e(of)g(a)h +(substring)g(of)f Fv(string)h Fw(to)f(b)q(e)i(used.)42 +1224 y Fs(:end)42 1287 y Fw(The)h Fs(:end)e Fw(k)o(eyw)o(ord)i(tak)o +(es)g(an)f(argumen)o(t)g(indicating,)f(in)i(the)g(manner)f(usual)g(for) +42 1339 y(sequence)h(functions,)d(the)i(end)f(of)f(a)h(substring)g(of)g +Fv(string)f Fw(to)h(b)q(e)g(used.)42 1412 y(Here)h(is)e(an)h(example)f +(of)g(the)h(use)h(of)e Fs(with-input-from-str)o(ing)p +Fw(:)0 1500 y Fs(\(with-input-from-)o(strin)o(g)18 b(\(s)j("Animal)f +(Crackers")f(:index)h(j)h(:start)f(6\))42 1552 y(\(read)g(s\)\))h +Ft(\))g Fs(crackers)0 1640 y Fw(As)14 b(a)g(side)g(e\013ect,)h(the)g(v) +n(ariable)e Fs(j)g Fw(is)h(set)h(to)e Fs(15)p Fw(.)42 +1693 y(The)20 b Fs(:start)f Fw(and)h Fs(:index)f Fw(k)o(eyw)o(ords)i +(ma)o(y)d(b)q(oth)i(sp)q(ecify)h(the)g(same)e(v)n(ariable,)0 +1745 y(whic)o(h)e(is)f(a)h(p)q(oin)o(ter)g(within)f(the)h(string)g(to)g +(b)q(e)g(adv)n(anced,)g(p)q(erhaps)h(rep)q(eatedly)g(b)o(y)0 +1796 y(some)13 b(con)o(taining)g(lo)q(op.)42 1849 y(X3J13)g(v)o(oted)i +(in)e(Jan)o(uary)h(1989)g Ft(h)p Fw(121)p Ft(i)f Fw(to)h(restrict)i +(user)f(side)g(e\013ects;)h(see)f(section)-33 1820 y +@beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1901 a(7.9.)-33 1912 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial -38 2019 a Fk(.)-38 2032 y(.)-38 2045 y(.)-38 +2058 y(.)-38 2071 y(.)-38 2084 y(.)-38 2097 y(.)-38 2110 +y(.)-38 2122 y(.)-38 2135 y(.)-38 2148 y(.)-38 2161 y(.)-38 +2174 y(.)-38 2187 y(.)-38 2200 y(.)-38 2213 y(.)-38 2226 +y(.)-38 2239 y(.)-38 2252 y(.)-38 2265 y(.)-38 2278 y(.)-38 +2291 y(.)-38 2304 y(.)-38 2317 y(.)-38 2330 y(.)-38 2343 +y(.)-38 2356 y(.)-38 2369 y(.)-38 2382 y(.)-38 2395 y(.)-38 +2408 y(.)-38 2421 y(.)-38 2434 y(.)-38 2447 y(.)-38 2460 +y(.)-38 2473 y(.)-38 2486 y(.)-38 2499 y(.)-38 2512 y(.)-38 +2525 y(.)-38 2538 y(.)-38 2551 y(.)-38 2564 y(.)-38 2577 +y(.)-38 2589 y(.)-38 2602 y(.)-38 2615 y(.)-38 2628 y(.)-38 +2641 y(.)-38 2654 y(.)-38 2667 y(.)-38 2680 y(.)-38 2693 +y(.)-38 2706 y(.)-38 2719 y(.)-38 2732 y(.)-38 2745 y(.)-38 +2758 y(.)-38 2771 y(.)-38 2784 y(.)-38 2797 y(.)-38 2810 +y(.)-38 2823 y(.)-38 2836 y(.)-38 2849 y(.)-38 2862 y(.)-38 +2875 y(.)-38 2888 y(.)-38 2901 y(.)-38 2914 y(.)-38 2927 +y(.)-38 2940 y(.)-38 2953 y(.)-38 2966 y(.)-38 2979 y(.)-38 +2992 y(.)-38 3005 y(.)-38 3018 y(.)-38 3031 y(.)-38 3044 +y(.)-38 3056 y(.)-38 3069 y(.)-38 3082 y(.)-38 3095 y(.)-38 +3108 y(.)-38 3121 y(.)-38 3134 y(.)-38 3147 y(.)-38 3160 +y(.)-38 3173 y(.)-38 3186 y(.)-38 3199 y(.)-38 3212 y(.)-38 +3225 y(.)-38 3238 y(.)-38 3251 y(.)-38 3264 y(.)-38 3277 +y(.)-38 3290 y(.)-38 3303 y(.)-38 3316 y(.)-38 3329 y(.)-38 +3342 y(.)-38 3355 y(.)-38 3368 y(.)-38 3381 y(.)-38 3394 +y(.)-38 3407 y(.)-38 3420 y(.)-38 3433 y(.)-38 3446 y(.)-38 +3459 y(.)-38 3472 y(.)-38 3485 y(.)-38 3498 y(.)-38 3511 +y(.)-38 3523 y(.)-38 3536 y(.)-38 3549 y(.)-38 3562 y(.)-38 +3575 y(.)-38 3588 y(.)-38 3601 y(.)-38 3614 y(.)-38 3627 +y(.)-38 3640 y(.)-38 3653 y(.)-38 3666 y(.)-38 3679 y(.)-38 +3692 y(.)-38 3705 y(.)-38 3718 y(.)-38 3731 y(.)-38 3744 +y(.)-38 3757 y(.)-38 3770 y(.)-38 3783 y(.)-38 3796 y(.)-38 +3809 y(.)-38 3822 y(.)-38 3835 y(.)-38 3848 y(.)-38 3861 +y(.)-38 3874 y(.)-38 3887 y(.)-38 3900 y(.)-38 3913 y(.)-38 +3926 y(.)-38 3939 y(.)-38 3952 y(.)-38 3965 y(.)-38 3978 +y(.)-38 3990 y(.)-38 4003 y(.)-38 4016 y(.)-38 4029 y(.)-38 +4042 y(.)-38 4055 y(.)-38 4068 y(.)-38 4081 y(.)-38 4094 +y(.)-38 4107 y(.)-38 4120 y(.)-38 4133 y(.)-38 4146 y(.)-38 +4159 y(.)-38 4172 y(.)-38 4185 y(.)-38 4198 y(.)-38 4211 +y(.)-38 4224 y(.)-38 4237 y(.)-38 4250 y(.)-38 4263 y(.)-38 +4276 y(.)-38 4289 y(.)-38 4302 y(.)-38 4315 y(.)-38 4328 +y(.)-38 4341 y(.)-38 4354 y(.)-38 4367 y(.)-38 4380 y(.)-38 +4393 y(.)-38 4406 y(.)-38 4419 y(.)-38 4432 y(.)-38 4445 +y(.)-38 4457 y(.)-38 4470 y(.)-38 4483 y(.)-38 4496 y(.)-38 +4509 y(.)-38 4522 y(.)-38 4535 y(.)-38 4548 y(.)-38 4561 +y(.)-38 4574 y(.)-38 4587 y(.)-38 4600 y(.)1255 2044 +y Fw([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(with-output-to-st)o(ring)32 +b(\()p Fv(var)21 b Fw([)p Fv(string)p Fw(])7 b Fs(\))20 +b Ft(f)p Fv(de)n(clar)n(ation)p Ft(g)1010 2029 y Fl(\003)1057 +2044 y Ft(f)7 b Fv(form)p Ft(g)1192 2029 y Fl(\003)0 +2121 y Fw(The)15 b(b)q(o)q(dy)g(is)g(executed)i(as)e(an)g(implicit)d +Fs(progn)i Fw(with)g(the)i(v)n(ariable)e Fv(var)g Fw(b)q(ound)h(to)g(a) +0 2173 y(c)o(haracter)g(output)e(stream.)k(All)c(output)g(to)g(that)g +(stream)g(is)g(sa)o(v)o(ed)g(in)g(a)g(string.)18 b(This)0 +2225 y(ma)o(y)12 b(b)q(e)i(done)h(in)e(one)h(of)f(t)o(w)o(o)h(w)o(a)o +(ys.)42 2277 y(If)j(no)g Fv(string)f Fw(argumen)o(t)h(is)g(pro)o +(vided,)h(then)g(the)g(v)n(alue)f(of)f Fs(with-output-from-)0 +2329 y(string)d Fw(is)g(a)h(string)g(con)o(taining)f(all)f(the)j +(collected)f(output.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 542 566 +542 565 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(542)77 b(COMMON)13 b(LISP)42 295 y Fw(If)19 +b Fv(string)g Fw(is)g(sp)q(eci\014ed,)j(it)d(m)o(ust)f(b)q(e)j(a)e +(string)g(with)h(a)f(\014ll)f(p)q(oin)o(ter;)k(the)f(output)0 +347 y(is)16 b(incremen)o(tally)f(app)q(ended)j(to)e(the)h(string,)g(as) +g(if)f(using)g Fs(vector-push-exte)o(nd)e Fw(if)0 399 +y(the)h(string)g(is)g(adjustable,)f(and)h(otherwise)h(as)e(if)g(using)h +Fs(vector-push)p Fw(.)j(In)d(this)g(case)0 450 y Fs(with-output-to-st)o +(ring)10 b Fw(returns)16 b(the)e(results)h(from)e(the)h(last)g +Fv(form)f Fw(of)g(the)i(b)q(o)q(dy)m(.)42 502 y(In)g(either)h(case,)h +(the)f(output)f(stream)g(is)g(automatically)e(closed)j(on)f(exit)g +(from)f(the)0 554 y Fs(with-output-from-)o(strin)o(g)i +Fw(form,)h(no)i(matter)f(whether)i(the)f(exit)g(is)f(normal)f(or)0 +606 y(abnormal.)f(The)e(stream)f(should)h(b)q(e)h(regarded)g(as)f(ha)o +(ving)e(dynamic)g(exten)o(t.)-33 618 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 682 a(X3J13)17 b(v)o(oted)i(in)e(June)i(1989)e +Ft(h)p Fw(122)p Ft(i)h Fw(to)g(let)g Fs(with-output-to-str)o(ing)d +Fw(tak)o(e)j(an)-33 653 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 734 a Fs(:element-type)11 b Fw(argumen)o(t.)-33 +828 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 857 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(with-output-to-st)o(ring)32 b(\()p Fv(var)21 b Fw([)p +Fv(string)g Fw([)p Fs(:element-type)11 b Fv(typ)n(e)p +Fw(])c(])g Fs(\))486 908 y Ft(f)p Fv(de)n(clar)n(ation)p +Ft(g)725 893 y Fl(\003)772 908 y Ft(f)g Fv(form)p Ft(g)907 +893 y Fl(\003)0 985 y Fw(One)14 b(ma)o(y)e(sp)q(ecify)j +Fs(nil)e Fw(instead)h(of)f(a)g(string)h(as)g(the)g Fv(string)f +Fw(and)h(use)g(the)h Fs(:element-)0 1037 y(type)h Fw(argumen)o(t)f(to)h +(sp)q(ecify)h(what)f(c)o(haracters)i(m)o(ust)e(b)q(e)h(accepted)h(b)o +(y)e(the)h(created)0 1089 y(stream.)23 b(If)15 b(no)h +Fv(string)f Fw(argumen)o(t)g(is)g(pro)o(vided,)h(or)g(if)f(it)g(is)g +Fs(nil)h Fw(and)f(no)h Fs(:element-)0 1141 y(type)d Fw(is)h(sp)q +(eci\014ed,)h(the)f(created)i(stream)d(m)o(ust)g(accept)i(all)e(c)o +(haracters.)42 1193 y(X3J13)h(v)o(oted)h(in)g(Octob)q(er)i(1988)d +Ft(h)p Fw(185)p Ft(i)g Fw(to)h(sp)q(ecify)h(that)f(if)f +Fv(string)h Fw(is)g(sp)q(eci\014ed,)h(it)0 1245 y(m)o(ust)d(b)q(e)i(a)f +(string)h(with)f(a)g(\014ll)f(p)q(oin)o(ter;)i(the)g(output)f(is)h +(incremen)o(tally)d(app)q(ended)k(to)0 1297 y(the)e(string)g(\(as)h(if) +e(b)o(y)g(use)i(of)e Fs(vector-push-extend)p Fw(\).)42 +1348 y(In)i(this)g(w)o(a)o(y)g(output)g(cannot)h(b)q(e)g(acciden)o +(tally)f(lost.)22 b(This)15 b(c)o(hange)h(mak)o(es)e +Fs(with-)0 1400 y(output-to-string)e Fw(b)q(eha)o(v)o(e)17 +b(in)e(the)h(same)f(w)o(a)o(y)g(that)h Fs(format)e Fw(do)q(es)j(when)f +(giv)o(en)f(a)0 1452 y(string)f(as)g(its)g(\014rst)g(argumen)o(t.)42 +1504 y(X3J13)h(v)o(oted)h(in)f(Jan)o(uary)h(1989)f Ft(h)p +Fw(167)p Ft(i)g Fw(to)h(sp)q(ecify)g(that)g(the)g(stream)g(created)h(b) +o(y)0 1556 y Fs(with-output-to-st)o(ring)10 b Fw(is)k(alw)o(a)o(ys)f +(of)g(t)o(yp)q(e)i Fs(string-stream)p Fw(.)42 1608 y(X3J13)e(v)o(oted)i +(in)e(Jan)o(uary)h(1989)g Ft(h)p Fw(121)p Ft(i)f Fw(to)h(restrict)i +(user)f(side)g(e\013ects;)h(see)f(section)0 1660 y(7.9.)-33 +1671 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1805 a Fo(21.3.)20 b(Op)r(erations)14 +b(on)h(Streams)0 1889 y Fw(This)e(section)h(con)o(tains)f(discussion)h +(of)f(only)f(those)i(op)q(erations)g(that)f(are)g(common)e(to)0 +1941 y(all)d(streams.)17 b(Input)9 b(and)g(output)h(is)f(rather)h +(complicated)f(and)g(is)g(discussed)i(separately)0 1993 +y(in)i(c)o(hapter)h(22.)k(The)13 b(in)o(terface)h(b)q(et)o(w)o(een)h +(streams)e(and)g(the)h(\014le)g(system)f(is)g(discussed)0 +2045 y(in)g(c)o(hapter)i(23.)1209 2167 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(streamp)20 b Fv(obje)n(ct)0 2244 y Fs(streamp)12 +b Fw(is)i(true)h(if)e(its)h(argumen)o(t)f(is)g(a)h(stream,)f(and)h +(otherwise)g(is)g(false.)0 2329 y Fs(\(streamp)20 b(x\))g +Ft(\021)i Fs(\(typep)e(x)506 2333 y Fn(')530 2329 y Fs(stream\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 543 567 +543 566 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(STREAMS)1161 b(543)42 +295 y Fw(X3J13)12 b(v)o(oted)h(in)g(Jan)o(uary)g(1989)f +Ft(h)p Fw(15)p Ft(i)h Fw(to)f(sp)q(ecify)i(that)f Fs(streamp)e +Fw(is)i(una\013ected)i(b)o(y)-33 266 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(whether)g(its)f(argumen)o(t,)e(if)h(a)h(stream,)f +(is)h(op)q(en)g(or)g(closed.)k(In)c(either)h(case)g(it)e(returns)0 +399 y(true.)-33 410 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 521 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(open-stream-p)18 b Fv(str)n(e)n(am)-33 493 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 598 a Fw(X3J13)11 b(v)o(oted)g(in)g(Jan)o(uary)g(1989)g +Ft(h)p Fw(167)p Ft(i)g Fw(to)g(add)g(the)h(predicate)g +Fs(open-stream-p)p Fw(.)i(It)e(is)0 650 y(true)i(if)f(its)g(argumen)o +(t)f(\(whic)o(h)h(m)o(ust)g(b)q(e)h(a)e(stream\))h(is)h(op)q(en,)f(and) +g(otherwise)h(is)f(false.)42 702 y(A)19 b(stream)g(is)h(alw)o(a)o(ys)e +(created)j(op)q(en;)h(it)e(remains)e(op)q(en)i(un)o(til)f(closed)h +(with)f(the)0 753 y Fs(close)13 b Fw(function.)19 b(The)14 +b(macros)f Fs(with-open-stream)p Fw(,)e Fs(with-input-from-)o(strin)o +(g)p Fw(,)0 805 y Fs(with-output-to-st)o(ring)p Fw(,)i(and)i +Fs(with-open-file)e Fw(automatically)g(close)j(the)h(cre-)0 +857 y(ated)d(stream)g(as)g(con)o(trol)g(lea)o(v)o(es)g(their)g(b)q(o)q +(dies,)g(in)g(e\013ect)i(imp)q(osing)11 b(dynamic)i(exten)o(t)0 +909 y(on)h(the)g(op)q(enness)i(of)d(the)h(stream.)-33 +921 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1032 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(input-stream-p)18 b Fv(str)n(e)n(am)0 1108 y Fw(This)e(predicate)i +(is)e(true)h(if)e(its)i(argumen)o(t)e(\(whic)o(h)h(m)o(ust)f(b)q(e)i(a) +f(stream\))g(can)h(handle)0 1160 y(input)d(op)q(erations,)f(and)h +(otherwise)h(is)f(false.)1209 1283 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(output-stream-p)18 b Fv(str)n(e)n(am)0 +1359 y Fw(This)e(predicate)i(is)e(true)h(if)e(its)i(argumen)o(t)e +(\(whic)o(h)h(m)o(ust)f(b)q(e)i(a)f(stream\))g(can)h(handle)0 +1411 y(output)d(op)q(erations,)g(and)f(otherwise)i(is)f(false.)1209 +1534 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(stream-element-ty)o(pe)18 +b Fv(str)n(e)n(am)0 1611 y Fw(A)g(t)o(yp)q(e)h(sp)q(eci\014er)h(is)f +(returned)h(to)e(indicate)g(what)g(ob)r(jects)i(ma)o(y)c(b)q(e)j(read)g +(from)e(or)0 1663 y(written)h(to)e(the)i(argumen)o(t)e +Fv(str)n(e)n(am)p Fw(,)g(whic)o(h)h(m)o(ust)f(b)q(e)i(a)f(stream.)27 +b(Streams)16 b(created)0 1714 y(b)o(y)j Fs(open)f Fw(will)f(ha)o(v)o(e) +i(an)g(elemen)o(t)f(t)o(yp)q(e)i(restricted)h(to)d(a)h(subset)h(of)f +Fs(character)e Fw(or)0 1766 y Fs(integer)p Fw(,)c(but)h(in)g(principle) +h(a)f(stream)g(ma)o(y)e(conduct)k(transactions)f(using)f(an)o(y)g(Lisp) +0 1818 y(ob)r(jects.)1209 1941 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(close)20 b Fv(str)n(e)n(am)k Fs(&key)c(:abort)0 +2017 y Fw(The)i(argumen)o(t)e(m)o(ust)h(b)q(e)h(a)f(stream.)40 +b(The)22 b(stream)f(is)g(closed.)42 b(No)21 b(further)h(in-)0 +2069 y(put/output)e(op)q(erations)g(ma)o(y)e(b)q(e)i(p)q(erformed)g(on) +f(it.)36 b(Ho)o(w)o(ev)o(er,)21 b(certain)g(inquiry)0 +2121 y(op)q(erations)c(ma)o(y)e(still)g(b)q(e)j(p)q(erformed,)e(and)h +(it)f(is)h(p)q(ermissible)f(to)g(close)i(an)e(already)0 +2173 y(closed)e(stream.)42 2225 y(X3J13)h(v)o(oted)h(in)f(Jan)o(uary)h +(1989)f Ft(h)p Fw(15)p Ft(i)h Fw(and)f(revised)i(the)g(v)o(ote)e(in)h +(Marc)o(h)g(1989)f(to)-33 2197 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2277 a(sp)q(ecify)j(that)f(if)f Fs(close)g +Fw(is)h(called)f(on)h(an)g(op)q(en)g(stream,)g(the)h(stream)e(is)h +(closed)h(and)0 2329 y Fs(t)e Fw(is)f(returned;)k(but)d(if)f +Fs(close)g Fw(is)g(called)h(on)g(a)f(closed)i(stream,)e(it)h(succeeds)i +(without)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 544 568 +544 567 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(544)77 b(COMMON)13 +b(LISP)0 295 y Fw(error)j(and)e(returns)j(an)d(unsp)q(eci\014ed)j(v)n +(alue.)j(\(The)15 b(rationale)f(for)h(not)f(sp)q(ecifying)h(the)0 +347 y(v)n(alue)i(returned)j(for)d(a)g(closed)i(stream)e(is)h(that)g(in) +f(some)g(implem)o(en)o(tations)e(closing)0 399 y(certain)g(streams)g +(do)q(es)g(not)f(really)g(ha)o(v)o(e)h(an)f(e\013ect)i(on)e(them|for)f +(example,)g(closing)0 450 y(the)f Fs(*terminal-io*)d +Fw(stream)i(migh)o(t)f(not)i(\\really")e(close)i(it|and)f(it)g(is)h +(not)f(desirable)0 502 y(to)j(force)h(suc)o(h)g(implemen)o(tations)c +(to)k(k)o(eep)g(otherwise)g(unnecessary)h(state.)21 b(P)o(ortable)0 +554 y(programs)13 b(will)f(of)h(course)j(not)d(rely)h(on)g(suc)o(h)h(b) +q(eha)o(vior.\))42 606 y(X3J13)10 b(also)g(v)o(oted)h(in)f(Jan)o(uary)h +(1989)e(to)i(sp)q(ecify)g(exactly)g(whic)o(h)g(inquiry)f(functions)0 +658 y(ma)o(y)i(b)q(e)i(applied)g(to)f(closed)i(streams:)0 +738 y Fs(streamp)293 b(pathname-host)226 b(namestring)0 +790 y(pathname)271 b(pathname-device)182 b(file-namestring)0 +842 y(truename)271 b(pathname-directo)o(ry)117 b(directory-namestr)o +(ing)0 894 y(merge-pathnames)g(pathname-name)226 b(host-namestring)0 +946 y(open)359 b(pathname-type)226 b(enough-namestring)0 +998 y(probe-file)h(pathname-version)160 b(directory)0 +1082 y Fw(See)12 b(the)g(individual)d(descriptions)j(of)f(these)i +(functions)e(for)g(more)f(information)e(on)j(ho)o(w)0 +1134 y(they)j(op)q(erate)h(on)f(closed)g(streams.)-33 +1146 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1186 a(X3J13)j(v)o(oted)h(in)g(Jan)o(uary)f(1989)g +Ft(h)p Fw(14)p Ft(i)h Fw(to)g(clarify)f(the)h(e\013ect)i(of)d(closing)g +(v)n(arious)-33 1158 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1238 a(kinds)d(of)f(streams.)18 b(First)c(some)f +(terminology:)0 1301 y Fu(.)42 1310 y Fw(A)j Fv(c)n(omp)n(osite)f +Fw(stream)h(is)g(one)g(that)g(w)o(as)g(returned)h(b)o(y)f(a)g(call)f +(to)g Fs(make-synonym-)42 1362 y(stream)p Fw(,)31 b Fs(make-broadcast-) +o(strea)o(m)p Fw(,)e Fs(make-concatenated-st)o(ream)p +Fw(,)g Fs(make-)42 1414 y(two-way-stream)p Fw(,)10 b(or)k +Fs(make-echo-stream)p Fw(.)0 1489 y Fu(.)42 1498 y Fw(The)19 +b Fv(c)n(onstituents)g Fw(of)f(a)g(comp)q(osite)g(stream)g(are)h(the)g +(streams)g(that)g(w)o(ere)g(giv)o(en)42 1550 y(as)d(argumen)o(ts)g(to)g +(the)h(function)f(that)h(constructed)h(it)e(or,)h(in)f(the)h(case)g(of) +f Fs(make-)42 1601 y(synonym-stream)p Fw(,)10 b(the)k(stream)g(that)g +(is)f(the)i Fs(symbol-value)c Fw(of)i(the)i(sym)o(b)q(ol)d(that)42 +1653 y(w)o(as)19 b(giv)o(en)f(as)h(an)g(argumen)o(t.)33 +b(\(The)20 b(constituen)o(t)g(of)f(a)f(synon)o(ym)g(stream)h(ma)o(y)42 +1705 y(therefore)c(v)n(ary)e(o)o(v)o(er)h(time.\))0 1780 +y Fu(.)42 1789 y Fw(A)k Fv(c)n(onstructe)n(d)h Fw(stream)f(is)g(either) +h(a)g(comp)q(osite)e(stream)h(or)h(one)g(returned)h(b)o(y)e(a)42 +1841 y(call)12 b(to)i Fs(make-string-inpu)o(t-str)o(eam)p +Fw(,)c Fs(make-string-outpu)o(t-str)o(eam)p Fw(,)g Fs(with-)42 +1893 y(input-from-stri)o(ng)p Fw(,)g(or)k Fs(with-output-to-str)o(ing)p +Fw(.)42 1965 y(The)d(e\013ect)j(of)c(applying)h Fs(close)f +Fw(to)h(a)g(constructed)j(stream)d(is)g(to)h(close)g(that)f(stream)0 +2017 y(only)m(.)25 b(No)17 b(input/output)g(op)q(erations)g(are)g(p)q +(ermitted)f(on)h(the)g(constructed)i(stream)0 2069 y(once)c(it)f(has)h +(b)q(een)g(closed)g(\(though)g(certain)g(inquiry)e(functions)i(are)g +(still)e(p)q(ermitted,)0 2121 y(as)h(describ)q(ed)i(ab)q(o)o(v)o(e\).) +42 2173 y(Closing)k(a)h(comp)q(osite)f(stream)h(has)g(no)g(e\013ect)i +(on)e(its)g(constituen)o(ts;)26 b(an)o(y)21 b(con-)0 +2225 y(stituen)o(ts)15 b(that)f(are)g(op)q(en)h(remain)d(op)q(en.)42 +2277 y(If)f(a)h(stream)g(created)h(b)o(y)f Fs(make-string-output-)o +(strea)o(m)d Fw(is)j(closed,)h(the)f(result)h(of)0 2329 +y(then)i(applying)d Fs(get-output-stream-)o(strin)o(g)f +Fw(to)j(the)g(stream)g(is)f(unsp)q(eci\014ed.)-33 2340 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 545 569 +545 568 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(STREAMS)1161 b(545)42 +295 y Fw(If)19 b(the)g Fs(:abort)g Fw(parameter)g(is)g(not)g +Fs(nil)g Fw(\(it)g(defaults)g(to)h Fs(nil)p Fw(\),)f(it)g(indicates)h +(an)0 347 y(abnormal)12 b(termination)g(of)h(the)h(use)h(of)e(the)i +(stream.)i(An)d(attempt)f(is)h(made)f(to)h(clean)0 399 +y(up)c(an)o(y)g(side)g(e\013ects)j(of)c(ha)o(ving)g(created)j(the)f +(stream)e(in)h(the)h(\014rst)g(place.)17 b(F)m(or)9 b(example,)0 +450 y(if)h(the)h(stream)e(p)q(erforms)h(output)h(to)f(a)g(\014le)h +(that)f(w)o(as)g(newly)g(created)i(when)f(the)g(stream)0 +502 y(w)o(as)h(created,)i(then)f(if)f(p)q(ossible)h(the)g(\014le)f(is)g +(deleted)i(and)e(an)o(y)g(previously)h(existing)f(\014le)0 +554 y(is)i(not)g(sup)q(erseded.)42 632 y(X3J13)f(v)o(oted)g(in)g(Jan)o +(uary)h(1989)e Ft(h)p Fw(167)p Ft(i)h Fw(to)g(add)h(the)g(follo)o(wing) +c(accessor)16 b(functions)-33 603 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 683 a(for)e(obtaining)e(information)f(ab)q(out)j +(streams.)1209 811 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(broadcast-stream-)o(strea)o(ms)18 b Fv(br)n(o)n(adc)n(ast)p +Fs(-)p Fv(str)n(e)n(am)0 888 y Fw(The)d(argumen)o(t)f(m)o(ust)f(b)q(e)i +(of)f(t)o(yp)q(e)i Fs(broadcast-stream)o Fw(.)i(A)c(list)g(of)h(the)g +(constituen)o(t)0 940 y(output)f(streams)g(\(whether)h(op)q(en)g(or)e +(not\))h(is)g(returned.)1209 1068 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(concatenated-stre)o(am-st)o(reams)18 +b Fv(c)n(onc)n(atenate)n(d)p Fs(-)p Fv(str)n(e)n(am)0 +1144 y Fw(The)e(argumen)o(t)e(m)o(ust)g(b)q(e)i(of)e(t)o(yp)q(e)i +Fs(concatenated-strea)o(m)p Fw(.)j(A)c(list)g(of)g(constituen)o(t)0 +1196 y(streams)h(\(whether)i(op)q(en)f(or)f(not\))g(is)h(returned.)27 +b(This)16 b(list)g(represen)o(ts)j(the)d(ordered)0 1248 +y(set)h(of)e(input)g(streams)h(from)e(whic)o(h)h(the)h(concatenated)i +(stream)d(ma)o(y)f(y)o(et)i(read;)g(the)0 1300 y(stream)e(from)f(whic)o +(h)i(it)f(is)g(curren)o(tly)i(reading)e(is)h(\014rst)g(in)f(the)h +(list.)20 b(The)15 b(list)f(ma)o(y)f(b)q(e)0 1352 y(empt)o(y)g(if)g(no) +h(more)e(streams)i(remain)f(to)g(b)q(e)i(read.)1209 1480 +y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(echo-stream-input)o(-stre)o(am) +18 b Fv(e)n(cho)p Fs(-)p Fv(str)n(e)n(am)1209 1532 y +Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(echo-stream-outpu)o(t-str)o +(eam)18 b Fv(e)n(cho)p Fs(-)p Fv(str)n(e)n(am)0 1608 +y Fw(The)g(argumen)o(t)f(m)o(ust)g(b)q(e)i(of)e(t)o(yp)q(e)h +Fs(echo-stream)p Fw(.)28 b(The)19 b(function)e Fs(echo-stream-)0 +1660 y(input-stream)d Fw(returns)k(the)f(constituen)o(t)g(input)f +(stream;)h Fs(echo-stream-outp)o(ut-)0 1712 y(stream)c +Fw(returns)i(the)g(constituen)o(t)f(output)g(stream.)1209 +1840 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(synonym-stream-sy)o(mbol)18 +b Fv(synonym)p Fs(-)p Fv(str)n(e)n(am)0 1917 y Fw(The)f(argumen)o(t)e +(m)o(ust)g(b)q(e)i(of)f(t)o(yp)q(e)h Fs(synonym-stream)p +Fw(.)23 b(This)16 b(function)g(returns)i(the)0 1969 y(sym)o(b)q(ol)12 +b(for)i(whose)g(v)n(alue)f(the)i Fv(synonym-str)n(e)n(am)f +Fw(is)g(a)f(synon)o(ym.)1209 2096 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(two-way-stream-in)o(put-s)o(tream)18 +b Fv(two)p Fs(-)p Fv(way)p Fs(-)p Fv(str)n(e)n(am)1209 +2148 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(two-way-stream-ou)o +(tput-)o(strea)o(m)18 b Fv(two)p Fs(-)p Fv(way)p Fs(-)p +Fv(str)n(e)n(am)0 2225 y Fw(The)28 b(argumen)o(t)f(m)o(ust)g(b)q(e)h +(of)f(t)o(yp)q(e)i Fs(two-way-stream)p Fw(.)57 b(The)28 +b(function)g Fs(two-)0 2277 y(way-stream-input-)o(strea)o(m)14 +b Fw(returns)j(the)g(constituen)o(t)h(input)e(stream;)g +Fs(two-way-)0 2329 y(stream-output-str)o(eam)11 b Fw(returns)k(the)g +(constituen)o(t)f(output)h(stream.)-33 2340 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 546 570 +546 569 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(546)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(interactive-strea)o(m-p)18 b Fv(str)n(e)n(am)-33 +266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 372 a Fw(X3J13)c(v)o(oted)g(in)g(June)h(1989)e +Ft(h)p Fw(168)p Ft(i)h Fw(to)g(add)g(the)g(predicate)i +Fs(interactive-stre)o(am-)0 423 y(p)p Fw(,)f(whic)o(h)g(returns)i +Fs(t)f Fw(if)e(the)i Fv(str)n(e)n(am)i Fw(is)d(in)o(teractiv)o(e)h(and) +f(otherwise)i(returns)g Fs(nil)p Fw(.)22 b(A)0 475 y +Fs(type-error)12 b Fw(error)j(is)e(signalled)g(if)g(the)i(argumen)o(t)e +(is)g(not)h(of)f(t)o(yp)q(e)i Fs(stream)p Fw(.)42 527 +y(The)36 b(precise)h(meaning)d(of)h Fs(interactive-str)o(eam-p)d +Fw(is)j(implemen)o(tation-)0 579 y(dep)q(enden)o(t)17 +b(and)d(ma)o(y)f(dep)q(end)k(on)d(the)i(underlying)e(op)q(erating)h +(system.)21 b(The)16 b(in)o(ten)o(t)0 631 y(is)h(to)f(distinguish)g(b)q +(et)o(w)o(een)i(in)o(teractiv)o(e)f(and)g(batc)o(h)g(\(bac)o(kground,)f +(command-\014le\))0 683 y(op)q(erations.)23 b(Some)14 +b(c)o(haracteristics)j(that)e(migh)o(t)e(distinguish)i(a)g(stream)g(as) +g(in)o(terac-)0 735 y(tiv)o(e:)0 794 y Fu(.)42 803 y +Fw(The)e(stream)g(is)g(connected)i(to)e(a)f(p)q(erson)j(\(or)e(the)g +(equiv)n(alen)o(t\))g(in)g(suc)o(h)g(a)g(w)o(a)o(y)g(that)42 +855 y(the)j(program)d(can)j(prompt)e(for)h(information)e(and)i(exp)q +(ect)i(to)f(receiv)o(e)g(input)g(that)42 907 y(migh)o(t)11 +b(dep)q(end)k(on)f(the)h(prompt.)0 979 y Fu(.)42 988 +y Fw(The)c(program)f(is)i(exp)q(ected)h(to)e(prompt)g(for)g(input)g +(and)g(to)h(supp)q(ort)g(\\normal)d(input)42 1040 y(editing)k(proto)q +(col")g(for)h(that)g(op)q(erating)g(en)o(vironmen)o(t.)0 +1112 y Fu(.)42 1121 y Fw(A)k(call)f(to)i Fs(read-char)d +Fw(migh)o(t)g(hang)i(w)o(aiting)f(for)h(the)h(user)g(to)f(t)o(yp)q(e)h +(something)42 1173 y(rather)14 b(than)g(quic)o(kly)f(returning)i(a)e(c) +o(haracter)i(or)f(an)g(end-of-\014le)f(indication.)0 +1241 y(The)h(v)n(alue)g(of)f Fs(*terminal-io*)e Fw(migh)o(t)h(or)i +(migh)o(t)d(not)j(b)q(e)h(in)o(teractiv)o(e.)-33 1253 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1368 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(stream-external-f)o(ormat)18 b Fv(str)n(e)n(am)-33 +1339 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1445 a Fw(X3J13)k(v)o(oted)h(in)f(June)h(1989)e +Ft(h)p Fw(122)p Ft(i)h Fw(to)h(add)f(the)h(function)f +Fs(stream-external-)0 1496 y(format)p Fw(,)15 b(whic)o(h)h(returns)i(a) +d(sp)q(eci\014er)j(for)e(the)h(implemen)o(tatio)o(n-recognized)e(sc)o +(heme)0 1548 y(used)e(for)g(represen)o(ting)h(c)o(haracters)g(in)e(the) +h(argumen)o(t)f Fv(str)n(e)n(am)p Fw(.)k(See)e(the)f +Fs(:external-)0 1600 y(format)g Fw(argumen)o(t)f(to)i +Fs(open)p Fw(.)-33 1612 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 732 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 547 571 +547 570 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(22)p 0 448 598 +9 v 0 531 a Fp(Input)10 b(/Outpu)q(t)0 891 y Fw(Common)15 +b(Lisp)j(pro)o(vides)g(a)g(ric)o(h)h(set)g(of)f(facilities)f(for)h(p)q +(erforming)e(input/output.)0 943 y(All)d(input/output)g(op)q(erations)h +(are)g(p)q(erformed)f(on)g(streams)g(of)g(v)n(arious)g(kinds.)18 +b(This)0 995 y(c)o(hapter)d(is)f(dev)o(oted)g(to)g(stream)f(data)h +(transfer)h(op)q(erations.)j(Streams)c(are)g(discussed)0 +1046 y(in)h(c)o(hapter)i(21,)e(and)g(w)o(a)o(ys)g(of)g(manipulating)e +(\014les)j(through)g(streams)f(are)h(discussed)0 1098 +y(in)d(c)o(hapter)i(23.)42 1150 y(While)g(there)i(is)f(pro)o(vision)g +(for)f(reading)h(and)g(writing)g(binary)g(data,)g(most)f(of)g(the)0 +1202 y(I/O)h(op)q(erations)g(in)f(Common)e(Lisp)j(read)g(or)g(write)g +(c)o(haracters.)26 b(There)17 b(are)f(simple)0 1254 y(primitiv)o(es)i +(for)i(reading)f(and)h(writing)f(single)g(c)o(haracters)j(or)e(lines)f +(of)h(data.)35 b(The)0 1306 y Fs(format)12 b Fw(function)h(can)g(p)q +(erform)f(complex)g(formatting)f(of)i(output)g(data,)f(directed)j(b)o +(y)0 1358 y(a)g(con)o(trol)g(string)h(in)e(manner)h(similar)e(to)i(a)g +(F)m(ortran)g Fs(FORMAT)f Fw(statemen)o(t)h(or)h(a)f(PL/I)0 +1410 y Fs(PUT)21 b(EDIT)d Fw(statemen)o(t.)36 b(The)20 +b(most)e(useful)i(I/O)g(op)q(erations,)h(ho)o(w)o(ev)o(er,)g(read)f +(and)0 1462 y(write)14 b(prin)o(ted)g(represen)o(tations)i(of)e +(arbitrary)f(Lisp)h(ob)r(jects.)0 1618 y Fo(22.1.)20 +b(Prin)n(ted)15 b(Represen)n(tation)f(of)h(Lisp)f(Ob)s(jects)0 +1706 y Fw(Lisp)d(ob)r(jects)h(in)f(general)h(are)f(not)g(text)h +(strings)g(but)f(complex)f(data)h(structures.)19 b(They)0 +1758 y(ha)o(v)o(e)11 b(v)o(ery)g(di\013eren)o(t)h(prop)q(erties)g(from) +e(text)h(strings)h(as)f(a)f(consequence)k(of)c(their)i(in)o(ter-)0 +1810 y(nal)f(represen)o(tation.)19 b(Ho)o(w)o(ev)o(er,)12 +b(to)f(mak)o(e)f(it)h(p)q(ossible)h(to)f(get)h(at)f(and)h(talk)e(ab)q +(out)i(Lisp)0 1862 y(ob)r(jects,)i(Lisp)f(pro)o(vides)h(a)f(represen)o +(tation)i(of)e(most)f(ob)r(jects)i(in)f(the)h(form)e(of)g(prin)o(ted)0 +1913 y(text;)i(this)h(is)f(called)g(the)h Fv(printe)n(d)f(r)n(epr)n +(esentation)p Fw(,)g(whic)o(h)g(is)g(used)h(for)f(input/output)0 +1965 y(purp)q(oses)g(and)e(in)g(the)g(examples)g(throughout)g(this)g(b) +q(o)q(ok.)17 b(F)m(unctions)c(suc)o(h)g(as)f Fs(print)0 +2017 y Fw(tak)o(e)18 b(a)g(Lisp)g(ob)r(ject)h(and)f(send)h(the)g(c)o +(haracters)h(of)d(its)i(prin)o(ted)f(represen)o(tation)i(to)0 +2069 y(a)e(stream.)30 b(The)18 b(collection)g(of)f(routines)i(that)f +(do)q(es)g(this)g(is)g(kno)o(wn)g(as)g(the)h(\(Lisp\))0 +2121 y Fv(printer)p Fw(.)k(The)17 b Fs(read)e Fw(function)h(tak)o(es)g +(c)o(haracters)i(from)c(a)i(stream,)f(in)o(terprets)j(them)0 +2173 y(as)e(a)f(prin)o(ted)i(represen)o(tation)g(of)e(a)h(Lisp)f(ob)r +(ject,)i(builds)e(that)h(ob)r(ject,)h(and)e(returns)0 +2225 y(it;)e(the)i(collection)e(of)g(routines)i(that)f(do)q(es)g(this)g +(is)g(called)g(the)g(\(Lisp\))g Fv(r)n(e)n(ader)p Fw(.)42 +2277 y(Ideally)m(,)g(one)i(could)f(prin)o(t)g(a)h(Lisp)f(ob)r(ject)i +(and)e(then)h(read)g(the)h(prin)o(ted)f(represen-)0 2329 +y(tation)h(bac)o(k)g(in,)g(and)g(so)h(obtain)e(the)i(same)f(iden)o +(tical)g(ob)r(ject.)29 b(In)17 b(practice)h(this)g(is)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1337 2428 a Fy(547)p eop +%%Page: 548 572 +548 571 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(548)77 b(COMMON)13 +b(LISP)0 295 y Fw(di\016cult)g(and)g(for)f(some)h(purp)q(oses)h(not)g +(ev)o(en)g(desirable.)k(Instead,)13 b(reading)g(a)g(prin)o(ted)0 +347 y(represen)o(tation)i(pro)q(duces)g(an)e(ob)r(ject)h(that)f(is)g +(\(with)g(obscure)i(tec)o(hnical)e(exceptions\))0 399 +y Fs(equal)g Fw(to)h(the)g(originally)d(prin)o(ted)k(ob)r(ject.)42 +450 y(Most)e(Lisp)g(ob)r(jects)i(ha)o(v)o(e)e(more)f(than)h(one)h(p)q +(ossible)f(prin)o(ted)h(represen)o(tation.)19 b(F)m(or)0 +502 y(example,)12 b(the)j(in)o(teger)f(t)o(w)o(en)o(t)o(y-sev)o(en)h +(can)f(b)q(e)g(written)h(in)e(an)o(y)h(of)f(these)i(w)o(a)o(ys:)0 +588 y Fs(27)84 b(27.)g(#)278 584 y(-)278 592 y(-)300 +588 y(o33)g(#)450 584 y(-)450 592 y(-)472 588 y(x1B)g(#)622 +584 y(-)622 592 y(-)644 588 y(b11011)f(#)859 584 y(-)859 +592 y(-)881 588 y(.\(*)21 b(3)g(3)g(3\))84 b(81/3)0 674 +y Fw(A)14 b(list)f(of)h(t)o(w)o(o)f(sym)o(b)q(ols)g Fs(A)g +Fw(and)h Fs(B)f Fw(can)i(b)q(e)f(prin)o(ted)g(in)g(man)o(y)e(w)o(a)o +(ys:)85 760 y Fs(\(A)20 b(B\))85 b(\(a)20 b(b\))85 b(\()42 +b(a)g(b)21 b(\))84 b(\(\\A)21 b(|B|\))85 811 y(\(|\\A|)42 +863 y(B)0 915 y(\))0 1001 y Fw(The)e(last)g(example,)f(whic)o(h)h(is)f +(spread)i(o)o(v)o(er)f(three)h(lines,)f(ma)o(y)e(b)q(e)i(ugly)m(,)g +(but)f(it)h(is)0 1053 y(legitimate.)d(In)e(general,)g(wherev)o(er)i +(whitespace)f(is)f(p)q(ermissible)f(in)g(a)h(prin)o(ted)g(repre-)0 +1105 y(sen)o(tation,)f(an)o(y)h(n)o(um)o(b)q(er)f(of)g(spaces)j(and)d +(newlines)i(ma)o(y)d(app)q(ear.)42 1157 y(When)j Fs(print)f +Fw(pro)q(duces)i(a)f(prin)o(ted)h(represen)o(tation,)g(it)f(m)o(ust)f +(c)o(ho)q(ose)i(arbitrarily)0 1208 y(from)10 b(among)g(man)o(y)g(p)q +(ossible)i(prin)o(ted)g(represen)o(tations.)19 b(It)12 +b(attempts)f(to)h(c)o(ho)q(ose)h(one)0 1260 y(that)i(is)f(readable.)20 +b(There)c(are)f(a)f(n)o(um)o(b)q(er)g(of)f(global)g(v)n(ariables)h +(that)h(can)f(b)q(e)h(used)h(to)0 1312 y(con)o(trol)e(the)g(actions)g +(of)f Fs(print)p Fw(,)g(and)g(a)h(n)o(um)o(b)q(er)f(of)g(di\013eren)o +(t)i(prin)o(ting)e(functions.)42 1364 y(This)f(section)h(describ)q(es)i +(in)d(detail)g(what)h(is)f(the)h(standard)g(prin)o(ted)g(represen)o +(tation)0 1416 y(for)h(an)o(y)f(Lisp)h(ob)r(ject)g(and)g(also)f +(describ)q(es)j(ho)o(w)e Fs(read)f Fw(op)q(erates.)0 +1568 y Fo(22.1.1.)20 b(What)15 b(the)f(Read)h(F)-5 b(unction)15 +b(Accepts)0 1654 y Fw(The)20 b(purp)q(ose)h(of)e(the)h(Lisp)g(reader)h +(is)e(to)h(accept)h(c)o(haracters,)h(in)o(terpret)f(them)e(as)0 +1706 y(the)g(prin)o(ted)f(represen)o(tation)i(of)d(a)h(Lisp)g(ob)r +(ject,)h(and)f(construct)i(and)e(return)h(suc)o(h)0 1758 +y(an)e(ob)r(ject.)30 b(The)17 b(reader)i(cannot)f(accept)g(ev)o +(erything)g(that)g(the)g(prin)o(ter)g(pro)q(duces;)0 +1810 y(for)d(example,)f(the)i(prin)o(ted)f(represen)o(tations)j(of)c +(compiled)g(co)q(de)i(ob)r(jects)h(cannot)e(b)q(e)0 1862 +y(read)k(in.)32 b(Ho)o(w)o(ev)o(er,)20 b(the)g(reader)g(has)f(man)o(y)d +(features)k(that)f(are)g(not)g(used)h(b)o(y)e(the)0 1914 +y(output)g(of)f(the)h(prin)o(ter)g(at)f(all,)g(suc)o(h)h(as)g(commen)o +(ts,)e(alternativ)o(e)h(represen)o(tations,)0 1965 y(and)j(con)o(v)o +(enien)o(t)g(abbreviations)g(for)f(frequen)o(tly)i(used)g(but)f(un)o +(wieldy)f(constructs.)0 2017 y(The)12 b(reader)h(is)f(also)f +(parameterized)h(in)g(suc)o(h)g(a)g(w)o(a)o(y)f(that)h(it)g(can)g(b)q +(e)g(used)h(as)f(a)g(lexical)0 2069 y(analyzer)i(for)g(a)f(more)g +(general)h(user-written)i(parser.)42 2121 y(The)10 b(reader)i(is)e +(organized)g(as)h(a)f(recursiv)o(e-descen)o(t)k(parser.)k(Broadly)10 +b(sp)q(eaking,)g(the)0 2173 y(reader)h(op)q(erates)h(b)o(y)e(reading)g +(a)f(c)o(haracter)j(from)c(the)j(input)f(stream)f(and)h(treating)g(it)g +(in)0 2225 y(one)g(of)f(three)i(w)o(a)o(ys.)17 b(Whitespace)10 +b(c)o(haracters)i(serv)o(e)f(as)f(separators)h(but)f(are)g(otherwise)0 +2277 y(ignored.)17 b(Constituen)o(t)c(and)f(escap)q(e)h(c)o(haracters)h +(are)e(accum)o(ulated)g(to)f(mak)o(e)g(a)h Fv(token)p +Fw(,)0 2329 y(whic)o(h)k(is)h(then)g(in)o(terpreted)h(as)f(a)f(n)o(um)o +(b)q(er)g(or)g(sym)o(b)q(ol.)25 b(Macro)16 b(c)o(haracters)j(trigger) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 549 573 +549 572 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(549)0 295 y Fw(the)11 b(in)o(v)o(o)q(cation)e(of)g(functions)i(\(p)q +(ossibly)f(user-supplied\))h(that)f(can)h(p)q(erform)e(arbitrary)0 +347 y(parsing)14 b(actions,)f(including)g(recursiv)o(e)i(in)o(v)o(o)q +(cation)e(of)g(the)i(reader.)42 400 y(More)e(precisely)m(,)g(when)h +(the)g(reader)g(is)f(in)o(v)o(ok)o(ed,)f(it)h(reads)g(a)g(single)g(c)o +(haracter)h(from)0 452 y(the)g(input)e(stream)h(and)g(dispatc)o(hes)h +(according)f(to)g(the)g(syn)o(tactic)h(t)o(yp)q(e)f(of)g(that)g(c)o +(har-)0 503 y(acter.)18 b(Ev)o(ery)12 b(c)o(haracter)h(that)e(can)h +(app)q(ear)f(in)g(the)h(input)f(stream)g(m)o(ust)f(b)q(e)i(of)f +(exactly)0 555 y(one)j(of)f(the)h(follo)o(wing)d(kinds:)18 +b Fv(il)r(le)n(gal)p Fw(,)12 b Fv(whitesp)n(ac)n(e)p +Fw(,)h Fv(c)n(onstituent)p Fw(,)g Fv(single)i(esc)n(ap)n(e)p +Fw(,)e Fv(mul-)0 607 y(tiple)k(esc)n(ap)n(e)p Fw(,)h(or)f +Fv(macr)n(o)p Fw(.)27 b(Macro)17 b(c)o(haracters)h(are)g(further)g +(divided)e(in)o(to)g(the)i(t)o(yp)q(es)0 659 y Fv(terminating)g +Fw(and)g Fv(non-terminating)g Fw(\(of)g(tok)o(ens\).)31 +b(\(Note)19 b(that)f(macro)f(c)o(haracters)0 711 y(ha)o(v)o(e)j +(nothing)g(whatev)o(er)i(to)e(do)g(with)g(macros)g(in)g(their)h(op)q +(eration.)38 b(There)22 b(is)e(a)0 763 y(sup)q(er\014cial)e(similarit)o +(y)d(in)i(that)g(macros)g(allo)o(w)e(the)k(user)f(to)f(extend)i(the)f +(syn)o(tax)f(of)0 815 y(Common)e(Lisp)j(at)g(the)h(lev)o(el)f(of)f +(forms,)h(while)f(macro)g(c)o(haracters)j(allo)o(w)d(the)i(user)0 +867 y(to)f(extend)h(the)g(syn)o(tax)f(at)g(the)h(lev)o(el)f(of)f(c)o +(haracters.\))33 b(Constituen)o(ts)19 b(additionally)0 +919 y(ha)o(v)o(e)13 b(one)h(or)f(more)f(attributes,)i(the)g(most)e(imp) +q(ortan)o(t)f(of)i(whic)o(h)g(is)g Fv(alphab)n(etic)p +Fw(;)g(these)0 970 y(attributes)i(are)f(discussed)i(further)e(in)g +(section)g(22.1.2.)42 1024 y(The)20 b(parsing)f(of)g(Common)e(Lisp)i +(expressions)i(is)f(discussed)h(in)f(terms)f(of)g(these)0 +1075 y(syn)o(tactic)e(c)o(haracter)h(t)o(yp)q(es)f(b)q(ecause)h(the)f +(t)o(yp)q(es)g(of)f(individual)e(c)o(haracters)k(are)f(not)0 +1127 y(\014xed)f(but)f(ma)o(y)f(b)q(e)h(altered)h(b)o(y)f(the)h(user)h +(\(see)f Fs(set-syntax-from-cha)o(r)c Fw(and)k Fs(set-)0 +1179 y(macro-character)p Fw(\).)33 b(The)21 b(c)o(haracters)h(of)d(the) +i(standard)f(c)o(haracter)h(set)g(initially)0 1231 y(ha)o(v)o(e)13 +b(the)i(syn)o(tactic)f(t)o(yp)q(es)g(sho)o(wn)g(in)f(table)h(22-)o(1.)k +(Note)c(that)f(the)i(brac)o(k)o(ets,)f(braces,)0 1283 +y(question)21 b(mark,)f(and)h(exclamation)d(p)q(oin)o(t)i(\(that)h(is,) +h Fs([)p Fw(,)g Fs(])p Fw(,)f Fs({)p Fw(,)h Fs(})p Fw(,)g +Fs(?)p Fw(,)f(and)g Fs(!)p Fw(\))f(are)0 1335 y(normally)14 +b(de\014ned)k(to)f(b)q(e)g(constituen)o(ts,)h(but)f(they)g(are)h(not)e +(used)i(for)e(an)o(y)h(purp)q(ose)0 1387 y(in)e(standard)h(Commo)o(n)d +(Lisp)i(syn)o(tax)g(and)h(do)f(not)g(o)q(ccur)i(in)e(the)h(names)e(of)h +(built-in)0 1439 y(Common)10 b(Lisp)j(functions)g(or)g(v)n(ariables.)k +(These)d(c)o(haracters)h(are)f(explicitly)e(reserv)o(ed)0 +1491 y(to)g(the)h(user.)19 b(The)13 b(primary)e(in)o(ten)o(t)h(is)h +(that)f(they)h(b)q(e)g(used)h(as)e(macro)f(c)o(haracters;)k(but)0 +1542 y(a)f(user)i(migh)o(t)c(c)o(ho)q(ose,)j(for)f(example,)f(to)i(mak) +o(e)e Fs(!)h Fw(b)q(e)h(a)f Fv(single)i(esc)n(ap)n(e)f +Fw(c)o(haracter)g(\(as)0 1594 y(it)f(is)f(in)h(P)o(ortable)g(Standard)g +(Lisp\).)42 1647 y(The)e(algorithm)d(p)q(erformed)j(b)o(y)f(the)i +(Commo)o(n)c(Lisp)j(reader)h(is)f(roughly)f(as)h(follo)o(ws:)0 +1731 y(1.)29 b(If)12 b(at)g(end)h(of)e(\014le,)i(p)q(erform)e +(end-of-\014le)h(pro)q(cessing)h(\(as)g(sp)q(eci\014ed)g(b)o(y)f(the)h +(caller)f(of)62 1783 y(the)i Fs(read)e Fw(function\).)18 +b(Otherwise,)c(read)g(one)f(c)o(haracter)i(from)c(the)j(input)f +(stream,)62 1835 y(call)e(it)h Fv(x)p Fw(,)g(and)f(dispatc)o(h)h +(according)g(to)g(the)g(syn)o(tactic)h(t)o(yp)q(e)f(of)f +Fv(x)h Fw(to)g(one)g(of)f(steps)i(2)62 1887 y(to)h(7.)0 +1982 y(2.)29 b(If)14 b Fv(x)g Fw(is)g(an)f Fv(il)r(le)n(gal)g +Fw(c)o(haracter,)i(signal)e(an)g(error.)0 2078 y(3.)29 +b(If)14 b Fv(x)g Fw(is)g(a)f Fv(whitesp)n(ac)n(e)h Fw(c)o(haracter,)h +(then)f(discard)g(it)g(and)g(go)f(bac)o(k)h(to)g(step)h(1.)0 +2173 y(4.)29 b(If)11 b Fv(x)h Fw(is)g(a)f Fv(macr)n(o)g +Fw(c)o(haracter)i(\(at)e(this)h(p)q(oin)o(t)f(the)h(distinction)f(b)q +(et)o(w)o(een)i Fv(terminating)62 2225 y Fw(and)g Fv(non-terminating)g +Fw(macro)e(c)o(haracters)k(do)q(es)e(not)g(matter\),)f(then)h(execute)i +(the)62 2277 y(function)k(asso)q(ciated)g(with)f(that)h(c)o(haracter.) +33 b(The)19 b(function)f(ma)o(y)f(return)j(zero)62 2329 +y(v)n(alues)14 b(or)g(one)g(v)n(alue)f(\(see)i Fs(values)p +Fw(\).)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 550 574 +550 573 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(550)77 b(COMMON)13 +b(LISP)p 0 255 1395 2 v 0 344 a Fm(T)l(able)h(22-1:)k +FA(Standard)c(Character)g(Syn)o(tax)g(T)o(yp)q(es)0 437 +y Ff(h)p FA(tab)p Ff(i)38 b Fq(whitesp)n(ac)n(e)239 b +Ff(h)p FA(page)p Ff(i)38 b Fq(whitesp)n(ac)n(e)169 b +Ff(h)p FA(newline)p Ff(i)39 b Fq(whitesp)n(ac)n(e)0 483 +y Ff(h)p FA(space)p Ff(i)f Fq(whitesp)n(ac)n(e)205 b +Fj(@)37 b Fq(c)n(onstituent)1026 486 y Fs(`)1083 483 +y Fq(terminating)11 b(macr)n(o)0 529 y Fj(!)37 b Fq(c)n(onstituent)9 +b FA(*)267 b Fj(A)37 b Fq(c)n(onstituent)246 b Fj(a)37 +b Fq(c)n(onstituent)0 574 y Fj(")g Fq(terminating)11 +b(macr)n(o)170 b Fj(B)37 b Fq(c)n(onstituent)246 b Fj(b)37 +b Fq(c)n(onstituent)0 620 y Fj(#)0 617 y(-)0 623 y(-)57 +620 y Fq(non-terminatin)o(g)11 b(macr)n(o)93 b Fj(C)37 +b Fq(c)n(onstituent)246 b Fj(c)37 b Fq(c)n(onstituent)0 +666 y Fj($)g Fq(c)n(onstituent)295 b Fj(D)37 b Fq(c)n(onstituent)246 +b Fj(d)37 b Fq(c)n(onstituent)0 711 y Fj(\045)g Fq(c)n(onstituent)295 +b Fj(E)37 b Fq(c)n(onstituent)246 b Fj(e)37 b Fq(c)n(onstituent)0 +757 y Fj(&)g Fq(c)n(onstituent)295 b Fj(F)37 b Fq(c)n(onstituent)246 +b Fj(f)37 b Fq(c)n(onstituent)-2 806 y Fs(')56 803 y +Fq(terminating)11 b(macr)n(o)171 b Fj(G)37 b Fq(c)n(onstituent)246 +b Fj(g)37 b Fq(c)n(onstituent)0 848 y Fj(\()g Fq(terminating)11 +b(macr)n(o)170 b Fj(H)37 b Fq(c)n(onstituent)246 b Fj(h)37 +b Fq(c)n(onstituent)0 894 y Fj(\))g Fq(terminating)11 +b(macr)n(o)170 b Fj(I)37 b Fq(c)n(onstituent)246 b Fj(i)37 +b Fq(c)n(onstituent)0 940 y Fj(*)g Fq(c)n(onstituent)295 +b Fj(J)37 b Fq(c)n(onstituent)246 b Fj(j)37 b Fq(c)n(onstituent)0 +985 y Fj(+)g Fq(c)n(onstituent)295 b Fj(K)37 b Fq(c)n(onstituent)246 +b Fj(k)37 b Fq(c)n(onstituent)0 1031 y Fj(,)g Fq(terminating)11 +b(macr)n(o)170 b Fj(L)37 b Fq(c)n(onstituent)246 b Fj(l)37 +b Fq(c)n(onstituent)0 1077 y Fj(-)g Fq(c)n(onstituent)295 +b Fj(M)37 b Fq(c)n(onstituent)246 b Fj(m)37 b Fq(c)n(onstituent)0 +1122 y Fj(.)g Fq(c)n(onstituent)295 b Fj(N)37 b Fq(c)n(onstituent)246 +b Fj(n)37 b Fq(c)n(onstituent)0 1168 y Fj(/)g Fq(c)n(onstituent)295 +b Fj(O)37 b Fq(c)n(onstituent)246 b Fj(o)37 b Fq(c)n(onstituent)0 +1214 y Fj(0)g Fq(c)n(onstituent)295 b Fj(P)37 b Fq(c)n(onstituent)246 +b Fj(p)37 b Fq(c)n(onstituent)0 1259 y Fj(1)g Fq(c)n(onstituent)295 +b Fj(Q)37 b Fq(c)n(onstituent)246 b Fj(q)37 b Fq(c)n(onstituent)0 +1305 y Fj(2)g Fq(c)n(onstituent)295 b Fj(R)37 b Fq(c)n(onstituent)246 +b Fj(r)37 b Fq(c)n(onstituent)0 1351 y Fj(3)g Fq(c)n(onstituent)295 +b Fj(S)37 b Fq(c)n(onstituent)246 b Fj(s)37 b Fq(c)n(onstituent)0 +1396 y Fj(4)g Fq(c)n(onstituent)295 b Fj(T)37 b Fq(c)n(onstituent)246 +b Fj(t)37 b Fq(c)n(onstituent)0 1442 y Fj(5)g Fq(c)n(onstituent)295 +b Fj(U)37 b Fq(c)n(onstituent)246 b Fj(u)37 b Fq(c)n(onstituent)0 +1488 y Fj(6)g Fq(c)n(onstituent)295 b Fj(V)37 b Fq(c)n(onstituent)246 +b Fj(v)37 b Fq(c)n(onstituent)0 1533 y Fj(7)g Fq(c)n(onstituent)295 +b Fj(W)37 b Fq(c)n(onstituent)246 b Fj(w)37 b Fq(c)n(onstituent)0 +1579 y Fj(8)g Fq(c)n(onstituent)295 b Fj(X)37 b Fq(c)n(onstituent)246 +b Fj(x)37 b Fq(c)n(onstituent)0 1625 y Fj(9)g Fq(c)n(onstituent)295 +b Fj(Y)37 b Fq(c)n(onstituent)246 b Fj(y)37 b Fq(c)n(onstituent)0 +1670 y Fj(:)g Fq(c)n(onstituent)295 b Fj(Z)37 b Fq(c)n(onstituent)246 +b Fj(z)37 b Fq(c)n(onstituent)0 1716 y Fj(;)g Fq(terminating)11 +b(macr)n(o)170 b Fj([)37 b Fq(c)n(onstituent)9 b FA(*)218 +b Fj({)37 b Fq(c)n(onstituent)9 b FA(*)0 1762 y Fj(<)37 +b Fq(c)n(onstituent)295 b Fj(\\)37 b Fq(single)12 b(esc)n(ap)n(e)218 +b Fj(|)37 b Fq(multiple)12 b(esc)n(ap)n(e)0 1804 y Fj(U)0 +1810 y(U)57 1807 y Fq(c)n(onstituent)295 b Fj(])37 b +Fq(c)n(onstituent)9 b FA(*)218 b Fj(})37 b Fq(c)n(onstituent)9 +b FA(*)0 1853 y Fj(>)37 b Fq(c)n(onstituent)536 1856 +y Fs(^)594 1853 y Fq(c)n(onstituent)1026 1856 y Fs(~)1083 +1853 y Fq(c)n(onstituent)0 1899 y Fj(?)g Fq(c)n(onstituent)9 +b FA(*)267 b Fj(_)37 b Fq(c)n(onstituent)246 b Ff(h)p +FA(rub)q(out)p Ff(i)39 b Fq(c)n(onstituen)o(t)0 1944 +y Ff(h)p FA(bac)o(kspace)p Ff(i)g Fq(c)n(onstituen)o(t)119 +b Ff(h)p FA(return)p Ff(i)38 b Fq(whitesp)n(ac)n(e)141 +b Ff(h)p FA(linefeed)p Ff(i)39 b Fq(whitesp)n(ac)n(e)0 +2249 y FA(The)15 b(c)o(haracters)h(mark)o(ed)g(with)f(an)h(asterisk)g +(are)f(initiall)q(y)j(constituen)o(ts)f(but)f(are)f(reserv)o(ed)0 +2295 y(to)e(the)g(user)g(for)g(use)h(as)f(macro)g(c)o(haracters)h(or)f +(for)g(an)o(y)g(other)g(desired)i(purp)q(ose.)p 0 2329 +V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 551 575 +551 574 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(551)62 295 y Fw(The)10 b(macro-c)o(haracter)g(function)f(ma)o(y)f(of) +h(course)i(read)f(c)o(haracters)i(from)c(the)i(input)62 +347 y(stream;)h(if)e(it)h(do)q(es,)h(it)e(will)g(see)i(those)g(c)o +(haracters)h(follo)o(wing)7 b(the)k(macro)e(c)o(haracter.)62 +399 y(The)h(function)f(ma)o(y)f(ev)o(en)i(in)o(v)o(ok)o(e)e(the)i +(reader)h(recursiv)o(ely)m(.)17 b(This)9 b(is)g(ho)o(w)g(the)h(macro)62 +450 y(c)o(haracter)19 b Fs(\()e Fw(constructs)i(a)d(list:)24 +b(b)o(y)17 b(in)o(v)o(oking)e(the)j(reader)g(recursiv)o(ely)g(to)f +(read)62 502 y(the)e(elemen)o(ts)e(of)h(the)g(list.)62 +567 y(If)i(one)g(v)n(alue)g(is)g(returned,)i(then)e(return)i(that)e(v)n +(alue)f(as)h(the)h(result)g(of)f(the)g(read)62 619 y(op)q(eration;)c +(the)h(algorithm)d(is)i(done.)18 b(If)12 b(zero)h(v)n(alues)f(are)g +(returned,)i(then)f(go)f(bac)o(k)62 670 y(to)i(step)h(1.)0 +769 y(5.)29 b(If)13 b Fv(x)f Fw(is)h(a)f Fv(single)i(esc)n(ap)n(e)f +Fw(c)o(haracter)h(\(normally)c Fs(\\)p Fw(\),)i(then)i(read)f(the)g +(next)g(c)o(haracter)62 821 y(and)18 b(call)g(it)g Fv(y)g +Fw(\(but)h(if)e(at)i(end)f(of)g(\014le,)h(signal)e(an)i(error)g +(instead\).)32 b(Ignore)18 b(the)62 873 y(usual)e(syn)o(tax)g(of)g +Fv(y)h Fw(and)f(pretend)h(it)f(is)g(a)g Fv(c)n(onstituent)h +Fw(whose)g(only)e(attribute)i(is)62 925 y Fv(alphab)n(etic)p +Fw(.)62 989 y(\(If)h Fv(y)g Fw(is)g(a)f(lo)o(w)o(ercase)i(c)o +(haracter,)h(lea)o(v)o(e)d(it)h(alone;)h(do)e(not)h(replace)h(it)f +(with)f(the)-38 964 y Fk(.)-38 977 y(.)-38 990 y(.)-38 +1003 y(.)-38 1016 y(.)-38 1029 y(.)-38 1042 y(.)-38 1055 +y(.)-38 1068 y(.)-38 1081 y(.)-38 1094 y(.)-38 1107 y(.)-38 +1120 y(.)-38 1133 y(.)-38 1146 y(.)-38 1159 y(.)-38 1172 +y(.)-38 1185 y(.)-38 1198 y(.)-38 1211 y(.)-38 1224 y(.)-38 +1237 y(.)-38 1250 y(.)-38 1263 y(.)-38 1276 y(.)-38 1288 +y(.)-38 1301 y(.)-38 1314 y(.)-38 1327 y(.)-38 1340 y(.)-38 +1353 y(.)-38 1366 y(.)-38 1379 y(.)-38 1392 y(.)-38 1405 +y(.)-38 1418 y(.)-38 1431 y(.)-38 1444 y(.)-38 1457 y(.)-38 +1470 y(.)-38 1483 y(.)-38 1496 y(.)-38 1509 y(.)-38 1522 +y(.)-38 1535 y(.)-38 1548 y(.)-38 1561 y(.)-38 1574 y(.)-38 +1587 y(.)-38 1600 y(.)-38 1613 y(.)-38 1626 y(.)-38 1639 +y(.)-38 1652 y(.)-38 1665 y(.)-38 1678 y(.)-38 1691 y(.)-38 +1704 y(.)-38 1717 y(.)-38 1730 y(.)-38 1743 y(.)-38 1755 +y(.)-38 1768 y(.)-38 1781 y(.)-38 1794 y(.)-38 1807 y(.)-38 +1820 y(.)-38 1833 y(.)-38 1846 y(.)-38 1859 y(.)-38 1872 +y(.)-38 1885 y(.)-38 1898 y(.)-38 1911 y(.)-38 1924 y(.)-38 +1937 y(.)-38 1950 y(.)-38 1963 y(.)-38 1976 y(.)-38 1989 +y(.)-38 2002 y(.)-38 2015 y(.)-38 2028 y(.)-38 2041 y(.)-38 +2054 y(.)-38 2067 y(.)-38 2080 y(.)-38 2093 y(.)-38 2106 +y(.)-38 2119 y(.)-38 2132 y(.)-38 2145 y(.)-38 2158 y(.)-38 +2171 y(.)-38 2184 y(.)-38 2197 y(.)-38 2210 y(.)-38 2222 +y(.)-38 2235 y(.)-38 2248 y(.)-38 2261 y(.)-38 2274 y(.)-38 +2287 y(.)-38 2300 y(.)-38 2313 y(.)-38 2326 y(.)-38 2339 +y(.)-38 2352 y(.)-38 2365 y(.)-38 2378 y(.)-38 2391 y(.)-38 +2404 y(.)-38 2417 y(.)-38 2430 y(.)-38 2443 y(.)-38 2456 +y(.)-38 2469 y(.)-38 2482 y(.)-38 2495 y(.)-38 2508 y(.)-38 +2521 y(.)-38 2534 y(.)-38 2547 y(.)-38 2560 y(.)-38 2573 +y(.)-38 2586 y(.)-38 2599 y(.)-38 2612 y(.)-38 2625 y(.)-38 +2638 y(.)-38 2651 y(.)-38 2664 y(.)-38 2677 y(.)-38 2689 +y(.)-38 2702 y(.)-38 2715 y(.)-38 2728 y(.)-38 2741 y(.)-38 +2754 y(.)-38 2767 y(.)-38 2780 y(.)-38 2793 y(.)-38 2806 +y(.)-38 2819 y(.)-38 2832 y(.)-38 2845 y(.)-38 2858 y(.)-38 +2871 y(.)-38 2884 y(.)-38 2897 y(.)-38 2910 y(.)-38 2923 +y(.)-38 2936 y(.)-38 2949 y(.)-38 2962 y(.)-38 2975 y(.)-38 +2988 y(.)-38 3001 y(.)-38 3014 y(.)-38 3027 y(.)-38 3040 +y(.)-38 3053 y(.)-38 3066 y(.)-38 3079 y(.)-38 3092 y(.)-38 +3105 y(.)-38 3118 y(.)-38 3131 y(.)-38 3144 y(.)-38 3156 +y(.)-38 3169 y(.)-38 3182 y(.)-38 3195 y(.)-38 3208 y(.)-38 +3221 y(.)-38 3234 y(.)-38 3247 y(.)-38 3260 y(.)-38 3273 +y(.)-38 3286 y(.)-38 3299 y(.)-38 3312 y(.)-38 3325 y(.)-38 +3338 y(.)-38 3351 y(.)-38 3364 y(.)-38 3377 y(.)-38 3390 +y(.)-38 3403 y(.)-38 3416 y(.)-38 3429 y(.)-38 3442 y(.)-38 +3455 y(.)-38 3468 y(.)-38 3481 y(.)-38 3494 y(.)-38 3507 +y(.)-38 3520 y(.)-38 3533 y(.)-38 3546 y(.)62 1041 y +Fw(corresp)q(onding)e(upp)q(ercase)h(c)o(haracter.\))-33 +1053 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 62 1105 a(F)m(or)e(the)g(purp)q(oses)i(of)d +Fs(readtable-case)p Fw(,)d Fv(y)k Fw(is)g(not)g(replaceable.)-33 +1077 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 62 1170 a(Use)h Fv(y)f Fw(to)g(b)q(egin)g(a)f(tok)o(en,)h +(and)f(go)h(to)g(step)g(8.)0 1269 y(6.)29 b(If)10 b Fv(x)g +Fw(is)g(a)g Fv(multiple)h(esc)n(ap)n(e)f Fw(c)o(haracter)i(\(normally)7 +b Fs(|)p Fw(\),)j(then)h(b)q(egin)f(a)g(tok)o(en)g(\(initially)62 +1320 y(con)o(taining)j(no)h(c)o(haracters\))h(and)f(go)g(to)f(step)i +(9.)0 1419 y(7.)29 b(If)12 b Fv(x)h Fw(is)g(a)f Fv(c)n(onstituent)h +Fw(c)o(haracter,)g(then)h(it)e(b)q(egins)h(an)f(extended)i(tok)o(en.)k +(After)13 b(the)62 1471 y(en)o(tire)i(tok)o(en)f(is)h(read)f(in,)g(it)f +(will)g(b)q(e)i(in)o(terpreted)h(either)f(as)f(represen)o(ting)i(a)e +(Lisp)62 1523 y(ob)r(ject)h(suc)o(h)g(as)f(a)f(sym)o(b)q(ol)f(or)i(n)o +(um)o(b)q(er)f(\(in)h(whic)o(h)g(case)h(that)f(ob)r(ject)g(is)g +(returned)62 1575 y(as)f(the)h(result)f(of)g(the)g(read)h(op)q +(eration\),)e(or)h(as)g(b)q(eing)g(of)f(illegal)f(syn)o(tax)i(\(in)g +(whic)o(h)62 1627 y(case)i(an)f(error)h(is)e(signaled\).)62 +1691 y(If)i Fv(x)g Fw(is)g(a)f(lo)o(w)o(ercase)i(c)o(haracter,)g +(replace)g(it)f(with)f(the)i(corresp)q(onding)g(upp)q(ercase)-38 +1666 y Fk(.)-38 1679 y(.)-38 1692 y(.)-38 1705 y(.)-38 +1718 y(.)-38 1731 y(.)-38 1744 y(.)-38 1757 y(.)-38 1770 +y(.)-38 1783 y(.)-38 1796 y(.)-38 1809 y(.)-38 1822 y(.)-38 +1835 y(.)-38 1848 y(.)-38 1861 y(.)-38 1874 y(.)-38 1887 +y(.)-38 1900 y(.)-38 1913 y(.)-38 1926 y(.)-38 1939 y(.)-38 +1952 y(.)-38 1964 y(.)-38 1977 y(.)-38 1990 y(.)-38 2003 +y(.)-38 2016 y(.)-38 2029 y(.)-38 2042 y(.)-38 2055 y(.)-38 +2068 y(.)-38 2081 y(.)-38 2094 y(.)-38 2107 y(.)-38 2120 +y(.)-38 2133 y(.)-38 2146 y(.)-38 2159 y(.)-38 2172 y(.)-38 +2185 y(.)-38 2198 y(.)-38 2211 y(.)-38 2224 y(.)-38 2237 +y(.)-38 2250 y(.)-38 2263 y(.)-38 2276 y(.)-38 2289 y(.)-38 +2302 y(.)-38 2315 y(.)-38 2328 y(.)-38 2341 y(.)-38 2354 +y(.)-38 2367 y(.)-38 2380 y(.)-38 2393 y(.)-38 2406 y(.)-38 +2419 y(.)-38 2431 y(.)-38 2444 y(.)-38 2457 y(.)-38 2470 +y(.)-38 2483 y(.)-38 2496 y(.)-38 2509 y(.)-38 2522 y(.)-38 +2535 y(.)-38 2548 y(.)-38 2561 y(.)-38 2574 y(.)-38 2587 +y(.)-38 2600 y(.)-38 2613 y(.)-38 2626 y(.)-38 2639 y(.)-38 +2652 y(.)-38 2665 y(.)-38 2678 y(.)-38 2691 y(.)-38 2704 +y(.)-38 2717 y(.)-38 2730 y(.)-38 2743 y(.)-38 2756 y(.)-38 +2769 y(.)-38 2782 y(.)-38 2795 y(.)-38 2808 y(.)-38 2821 +y(.)-38 2834 y(.)-38 2847 y(.)-38 2860 y(.)-38 2873 y(.)-38 +2886 y(.)-38 2898 y(.)-38 2911 y(.)-38 2924 y(.)-38 2937 +y(.)-38 2950 y(.)-38 2963 y(.)-38 2976 y(.)-38 2989 y(.)-38 +3002 y(.)-38 3015 y(.)-38 3028 y(.)-38 3041 y(.)-38 3054 +y(.)-38 3067 y(.)-38 3080 y(.)-38 3093 y(.)-38 3106 y(.)-38 +3119 y(.)-38 3132 y(.)-38 3145 y(.)-38 3158 y(.)-38 3171 +y(.)-38 3184 y(.)-38 3197 y(.)-38 3210 y(.)-38 3223 y(.)-38 +3236 y(.)-38 3249 y(.)-38 3262 y(.)-38 3275 y(.)-38 3288 +y(.)-38 3301 y(.)-38 3314 y(.)-38 3327 y(.)-38 3340 y(.)-38 +3353 y(.)-38 3365 y(.)-38 3378 y(.)-38 3391 y(.)-38 3404 +y(.)-38 3417 y(.)-38 3430 y(.)-38 3443 y(.)-38 3456 y(.)-38 +3469 y(.)-38 3482 y(.)-38 3495 y(.)-38 3508 y(.)-38 3521 +y(.)-38 3534 y(.)-38 3547 y(.)-38 3560 y(.)-38 3573 y(.)-38 +3586 y(.)-38 3599 y(.)-38 3612 y(.)-38 3625 y(.)-38 3638 +y(.)-38 3651 y(.)-38 3664 y(.)-38 3677 y(.)-38 3690 y(.)-38 +3703 y(.)-38 3716 y(.)-38 3729 y(.)-38 3742 y(.)-38 3755 +y(.)-38 3768 y(.)-38 3781 y(.)-38 3794 y(.)-38 3807 y(.)-38 +3820 y(.)-38 3832 y(.)-38 3845 y(.)-38 3858 y(.)-38 3871 +y(.)-38 3884 y(.)-38 3897 y(.)-38 3910 y(.)-38 3923 y(.)-38 +3936 y(.)-38 3949 y(.)-38 3962 y(.)-38 3975 y(.)-38 3988 +y(.)-38 4001 y(.)-38 4014 y(.)-38 4027 y(.)-38 4040 y(.)-38 +4053 y(.)-38 4066 y(.)-38 4079 y(.)-38 4092 y(.)-38 4105 +y(.)-38 4118 y(.)-38 4131 y(.)-38 4144 y(.)-38 4157 y(.)-38 +4170 y(.)-38 4183 y(.)-38 4196 y(.)-38 4209 y(.)-38 4222 +y(.)-38 4235 y(.)-38 4248 y(.)62 1743 y Fw(c)o(haracter.)-33 +1755 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 62 1807 a(X3J13)i(v)o(oted)g(in)f(June)i(1989)e +Ft(h)p Fw(150)p Ft(i)h Fw(to)f(in)o(tro)q(duce)i Fs(readtable-case)p +Fw(.)27 b(Conse-)-33 1779 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 62 1859 a(quen)o(tly)m(,)15 b(the)i(preceding)f(sen)o +(tence)i(should)e(b)q(e)g(ignored.)23 b(The)16 b(case)h(of)e +Fv(x)21 b Fw(should)62 1911 y(not)14 b(b)q(e)h(altered;)f(instead,)f +Fv(x)h Fw(should)g(b)q(e)h(regarded)f(as)g(replaceable.)-33 +1923 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 62 1976 a(Use)h Fv(x)f Fw(to)g(b)q(egin)g(a)f(tok)o(en,)h +(and)g(go)f(on)h(to)f(step)i(8.)0 2074 y(8.)29 b(\(A)o(t)14 +b(this)g(p)q(oin)o(t)g(a)f(tok)o(en)h(is)g(b)q(eing)g(accum)o(ulated,)f +(and)g(an)h(ev)o(en)h(n)o(um)o(b)q(er)e(of)g Fv(mul-)62 +2126 y(tiple)19 b(esc)n(ap)n(e)g Fw(c)o(haracters)i(ha)o(v)o(e)d(b)q +(een)i(encoun)o(tered.\))35 b(If)19 b(at)f(end)i(of)e(\014le,)i(go)e +(to)62 2178 y(step)g(10.)26 b(Otherwise,)18 b(read)f(a)f(c)o(haracter)j +(\(call)d(it)g Fv(y)p Fw(\),)h(and)f(p)q(erform)g(one)h(of)f(the)62 +2230 y(follo)o(wing)c(actions)h(according)h(to)g(its)g(syn)o(tactic)g +(t)o(yp)q(e:)62 2320 y Fu(.)104 2329 y Fw(If)f Fv(y)h +Fw(is)g(a)g Fv(c)n(onstituent)g Fw(or)g Fv(non-terminating)h(macr)n(o)p +Fw(,)e(then)i(do)e(the)i(follo)o(wing.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 552 576 +552 575 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(552)77 b(COMMON)13 +b(LISP)104 295 y Fw(If)d Fv(y)i Fw(is)f(a)f(lo)o(w)o(ercase)i(c)o +(haracter,)h(replace)f(it)e(with)h(the)h(corresp)q(onding)g(upp)q +(ercase)-38 270 y Fk(.)-38 283 y(.)-38 296 y(.)-38 309 +y(.)-38 322 y(.)-38 335 y(.)-38 348 y(.)-38 361 y(.)-38 +373 y(.)-38 386 y(.)-38 399 y(.)-38 412 y(.)-38 425 y(.)-38 +438 y(.)-38 451 y(.)-38 464 y(.)-38 477 y(.)-38 490 y(.)-38 +503 y(.)-38 516 y(.)-38 529 y(.)-38 542 y(.)-38 555 y(.)-38 +568 y(.)-38 581 y(.)-38 594 y(.)-38 607 y(.)-38 620 y(.)-38 +633 y(.)-38 646 y(.)-38 659 y(.)-38 672 y(.)-38 685 y(.)-38 +698 y(.)-38 711 y(.)-38 724 y(.)-38 737 y(.)-38 750 y(.)-38 +763 y(.)-38 776 y(.)-38 789 y(.)-38 802 y(.)-38 815 y(.)-38 +828 y(.)-38 840 y(.)-38 853 y(.)-38 866 y(.)-38 879 y(.)-38 +892 y(.)-38 905 y(.)-38 918 y(.)-38 931 y(.)-38 944 y(.)-38 +957 y(.)-38 970 y(.)-38 983 y(.)-38 996 y(.)-38 1009 +y(.)-38 1022 y(.)-38 1035 y(.)-38 1048 y(.)-38 1061 y(.)-38 +1074 y(.)-38 1087 y(.)-38 1100 y(.)-38 1113 y(.)-38 1126 +y(.)-38 1139 y(.)-38 1152 y(.)-38 1165 y(.)-38 1178 y(.)-38 +1191 y(.)-38 1204 y(.)-38 1217 y(.)-38 1230 y(.)-38 1243 +y(.)-38 1256 y(.)-38 1269 y(.)-38 1282 y(.)-38 1295 y(.)-38 +1307 y(.)-38 1320 y(.)-38 1333 y(.)-38 1346 y(.)-38 1359 +y(.)-38 1372 y(.)-38 1385 y(.)-38 1398 y(.)-38 1411 y(.)-38 +1424 y(.)-38 1437 y(.)-38 1450 y(.)-38 1463 y(.)-38 1476 +y(.)-38 1489 y(.)-38 1502 y(.)-38 1515 y(.)-38 1528 y(.)-38 +1541 y(.)-38 1554 y(.)-38 1567 y(.)-38 1580 y(.)-38 1593 +y(.)-38 1606 y(.)-38 1619 y(.)-38 1632 y(.)-38 1645 y(.)-38 +1658 y(.)-38 1671 y(.)-38 1684 y(.)-38 1697 y(.)-38 1710 +y(.)-38 1723 y(.)-38 1736 y(.)-38 1749 y(.)-38 1762 y(.)-38 +1774 y(.)-38 1787 y(.)-38 1800 y(.)-38 1813 y(.)-38 1826 +y(.)-38 1839 y(.)-38 1852 y(.)-38 1865 y(.)-38 1878 y(.)-38 +1891 y(.)-38 1904 y(.)-38 1917 y(.)-38 1930 y(.)-38 1943 +y(.)-38 1956 y(.)-38 1969 y(.)-38 1982 y(.)-38 1995 y(.)-38 +2008 y(.)-38 2021 y(.)-38 2034 y(.)-38 2047 y(.)-38 2060 +y(.)-38 2073 y(.)-38 2086 y(.)-38 2099 y(.)-38 2112 y(.)-38 +2125 y(.)-38 2138 y(.)-38 2151 y(.)-38 2164 y(.)-38 2177 +y(.)-38 2190 y(.)-38 2203 y(.)-38 2216 y(.)-38 2229 y(.)-38 +2241 y(.)-38 2254 y(.)-38 2267 y(.)-38 2280 y(.)-38 2293 +y(.)-38 2306 y(.)-38 2319 y(.)-38 2332 y(.)-38 2345 y(.)-38 +2358 y(.)-38 2371 y(.)-38 2384 y(.)-38 2397 y(.)-38 2410 +y(.)-38 2423 y(.)-38 2436 y(.)-38 2449 y(.)-38 2462 y(.)-38 +2475 y(.)-38 2488 y(.)-38 2501 y(.)-38 2514 y(.)-38 2527 +y(.)-38 2540 y(.)-38 2553 y(.)-38 2566 y(.)-38 2579 y(.)-38 +2592 y(.)-38 2605 y(.)-38 2618 y(.)-38 2631 y(.)-38 2644 +y(.)-38 2657 y(.)-38 2670 y(.)-38 2683 y(.)-38 2696 y(.)-38 +2708 y(.)-38 2721 y(.)-38 2734 y(.)-38 2747 y(.)-38 2760 +y(.)-38 2773 y(.)-38 2786 y(.)-38 2799 y(.)-38 2812 y(.)-38 +2825 y(.)-38 2838 y(.)-38 2851 y(.)104 347 y Fw(c)o(haracter.)-33 +358 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 104 411 a(X3J13)i(v)o(oted)g(in)g(June)h(1989)e +Ft(h)p Fw(150)p Ft(i)g Fw(to)h(in)o(tro)q(duce)h Fs(readtable-case)p +Fw(.)h(Conse-)-33 383 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 104 463 a(quen)o(tly)m(,)11 b(the)i(preceding)g(sen)o +(tence)i(should)d(b)q(e)g(ignored.)18 b(The)12 b(case)h(of)f +Fv(y)k Fw(should)104 515 y(not)e(b)q(e)g(altered;)g(instead,)g +Fv(y)g Fw(should)g(b)q(e)g(regarded)h(as)f(replaceable.)-33 +526 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 104 579 a(App)q(end)h Fv(y)f Fw(to)f(the)i(tok)o(en)f(b)q +(eing)g(built,)e(and)i(rep)q(eat)h(step)g(8.)62 656 y +Fu(.)104 665 y Fw(If)d Fv(y)h Fw(is)g(a)f Fv(single)i(esc)n(ap)n(e)f +Fw(c)o(haracter,)h(then)g(read)f(the)h(next)f(c)o(haracter)h(and)f +(call)f(it)104 717 y Fv(z)h Fw(\(but)h(if)f(at)g(end)h(of)f(\014le,)g +(signal)g(an)g(error)h(instead\).)19 b(Ignore)13 b(the)i(usual)e(syn)o +(tax)104 769 y(of)g Fv(z)h Fw(and)g(pretend)h(it)e(is)h(a)g +Fv(c)n(onstituent)g Fw(whose)g(only)f(attribute)i(is)f +Fv(alphab)n(etic)p Fw(.)104 833 y(\(If)h Fv(z)g Fw(is)g(a)g(lo)o(w)o +(ercase)h(c)o(haracter,)h(lea)o(v)o(e)e(it)g(alone;)g(do)g(not)g +(replace)h(it)f(with)g(the)-38 808 y Fk(.)-38 821 y(.)-38 +834 y(.)-38 847 y(.)-38 860 y(.)-38 873 y(.)-38 886 y(.)-38 +899 y(.)-38 912 y(.)-38 925 y(.)-38 938 y(.)-38 951 y(.)-38 +964 y(.)-38 977 y(.)-38 990 y(.)-38 1003 y(.)-38 1016 +y(.)-38 1029 y(.)-38 1042 y(.)-38 1055 y(.)-38 1068 y(.)-38 +1081 y(.)-38 1094 y(.)-38 1107 y(.)-38 1120 y(.)-38 1133 +y(.)-38 1146 y(.)-38 1159 y(.)-38 1172 y(.)-38 1185 y(.)-38 +1197 y(.)-38 1210 y(.)-38 1223 y(.)-38 1236 y(.)-38 1249 +y(.)-38 1262 y(.)-38 1275 y(.)-38 1288 y(.)-38 1301 y(.)-38 +1314 y(.)-38 1327 y(.)-38 1340 y(.)-38 1353 y(.)-38 1366 +y(.)-38 1379 y(.)-38 1392 y(.)-38 1405 y(.)-38 1418 y(.)-38 +1431 y(.)-38 1444 y(.)-38 1457 y(.)-38 1470 y(.)-38 1483 +y(.)-38 1496 y(.)-38 1509 y(.)-38 1522 y(.)-38 1535 y(.)-38 +1548 y(.)-38 1561 y(.)-38 1574 y(.)-38 1587 y(.)-38 1600 +y(.)-38 1613 y(.)-38 1626 y(.)-38 1639 y(.)-38 1652 y(.)-38 +1664 y(.)-38 1677 y(.)-38 1690 y(.)-38 1703 y(.)-38 1716 +y(.)-38 1729 y(.)-38 1742 y(.)-38 1755 y(.)-38 1768 y(.)-38 +1781 y(.)-38 1794 y(.)-38 1807 y(.)-38 1820 y(.)-38 1833 +y(.)-38 1846 y(.)-38 1859 y(.)-38 1872 y(.)-38 1885 y(.)-38 +1898 y(.)-38 1911 y(.)-38 1924 y(.)-38 1937 y(.)-38 1950 +y(.)-38 1963 y(.)-38 1976 y(.)-38 1989 y(.)-38 2002 y(.)-38 +2015 y(.)-38 2028 y(.)-38 2041 y(.)-38 2054 y(.)-38 2067 +y(.)-38 2080 y(.)-38 2093 y(.)-38 2106 y(.)-38 2119 y(.)-38 +2131 y(.)-38 2144 y(.)-38 2157 y(.)-38 2170 y(.)-38 2183 +y(.)-38 2196 y(.)-38 2209 y(.)-38 2222 y(.)-38 2235 y(.)-38 +2248 y(.)-38 2261 y(.)-38 2274 y(.)-38 2287 y(.)-38 2300 +y(.)-38 2313 y(.)-38 2326 y(.)-38 2339 y(.)-38 2352 y(.)-38 +2365 y(.)-38 2378 y(.)-38 2391 y(.)-38 2404 y(.)-38 2417 +y(.)-38 2430 y(.)-38 2443 y(.)-38 2456 y(.)-38 2469 y(.)-38 +2482 y(.)-38 2495 y(.)-38 2508 y(.)-38 2521 y(.)-38 2534 +y(.)-38 2547 y(.)-38 2560 y(.)-38 2573 y(.)-38 2586 y(.)-38 +2598 y(.)-38 2611 y(.)-38 2624 y(.)-38 2637 y(.)-38 2650 +y(.)-38 2663 y(.)-38 2676 y(.)-38 2689 y(.)-38 2702 y(.)-38 +2715 y(.)-38 2728 y(.)-38 2741 y(.)-38 2754 y(.)-38 2767 +y(.)-38 2780 y(.)-38 2793 y(.)-38 2806 y(.)-38 2819 y(.)-38 +2832 y(.)-38 2845 y(.)-38 2858 y(.)-38 2871 y(.)-38 2884 +y(.)-38 2897 y(.)-38 2910 y(.)-38 2923 y(.)-38 2936 y(.)-38 +2949 y(.)-38 2962 y(.)-38 2975 y(.)-38 2988 y(.)-38 3001 +y(.)-38 3014 y(.)-38 3027 y(.)-38 3040 y(.)-38 3052 y(.)-38 +3065 y(.)-38 3078 y(.)-38 3091 y(.)-38 3104 y(.)-38 3117 +y(.)-38 3130 y(.)-38 3143 y(.)-38 3156 y(.)-38 3169 y(.)-38 +3182 y(.)-38 3195 y(.)-38 3208 y(.)-38 3221 y(.)-38 3234 +y(.)-38 3247 y(.)-38 3260 y(.)-38 3273 y(.)-38 3286 y(.)-38 +3299 y(.)-38 3312 y(.)-38 3325 y(.)-38 3338 y(.)-38 3351 +y(.)-38 3364 y(.)-38 3377 y(.)-38 3390 y(.)104 885 y +Fw(corresp)q(onding)g(upp)q(ercase)h(c)o(haracter.\))-33 +897 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 104 950 a(F)m(or)d(the)i(purp)q(oses)g(of)e +Fs(readtable-case)p Fw(,)e Fv(z)j Fw(is)f(not)h(replaceable.)-33 +921 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 104 1014 a(App)q(end)h Fv(z)e Fw(to)h(the)h(tok)o(en)f(b)q +(eing)f(built,)g(and)h(rep)q(eat)h(step)g(8.)62 1091 +y Fu(.)104 1100 y Fw(If)e Fv(y)h Fw(is)g(a)g Fv(multiple)g(esc)n(ap)n +(e)g Fw(c)o(haracter,)h(then)f(go)g(to)f(step)i(9.)62 +1177 y Fu(.)104 1186 y Fw(If)e Fv(y)h Fw(is)g(an)g Fv(il)r(le)n(gal)e +Fw(c)o(haracter,)j(signal)e(an)h(error.)62 1263 y Fu(.)104 +1272 y Fw(If)k Fv(y)h Fw(is)f(a)g Fv(terminating)h(macr)n(o)f +Fw(c)o(haracter,)j(it)d(terminates)g(the)h(tok)o(en.)32 +b(First)104 1324 y(\\unread")14 b(the)g(c)o(haracter)i +Fv(y)e Fw(\(see)h Fs(unread-char)p Fw(\),)c(then)k(go)e(to)h(step)h +(10.)62 1401 y Fu(.)104 1410 y Fw(If)e Fv(y)g Fw(is)h(a)f +Fv(whitesp)n(ac)n(e)g Fw(c)o(haracter,)i(it)e(terminates)g(the)h(tok)o +(en.)k(First)c(\\unread")g Fv(y)104 1462 y Fw(if)e(appropriate)i(\(see) +h Fs(read-preserving)o(-whit)o(espac)o(e)p Fw(\),)10 +b(then)k(go)f(to)g(step)i(10.)0 1548 y(9.)29 b(\(A)o(t)10 +b(this)h(p)q(oin)o(t)e(a)h(tok)o(en)g(is)g(b)q(eing)g(accum)o(ulated,)f +(and)h(an)g(o)q(dd)g(n)o(um)o(b)q(er)f(of)g Fv(multiple)62 +1600 y(esc)n(ap)n(e)k Fw(c)o(haracters)g(ha)o(v)o(e)f(b)q(een)h(encoun) +o(tered.\))20 b(If)12 b(at)g(end)g(of)g(\014le,)f(signal)g(an)h(error.) +62 1652 y(Otherwise,)18 b(read)e(a)g(c)o(haracter)i(\(call)d(it)h +Fv(y)p Fw(\),)g(and)g(p)q(erform)f(one)h(of)g(the)g(follo)o(wing)62 +1704 y(actions)e(according)g(to)g(its)g(syn)o(tactic)g(t)o(yp)q(e:)62 +1781 y Fu(.)104 1790 y Fw(If)k Fv(y)h Fw(is)g(a)f Fv(c)n(onstituent)p +Fw(,)i Fv(macr)n(o)p Fw(,)g(or)e Fv(whitesp)n(ac)n(e)h +Fw(c)o(haracter,)i(then)f(ignore)e(the)104 1842 y(usual)h(syn)o(tax)g +(of)g(that)g(c)o(haracter)i(and)e(pretend)i(it)e(is)g(a)h +Fv(c)n(onstituent)f Fw(whose)104 1894 y(only)13 b(attribute)h(is)g +Fv(alphab)n(etic)p Fw(.)104 1958 y(\(If)h Fv(y)g Fw(is)g(a)g(lo)o(w)o +(ercase)g(c)o(haracter,)i(lea)o(v)o(e)d(it)h(alone;)g(do)g(not)g +(replace)h(it)e(with)h(the)-38 1933 y Fk(.)-38 1946 y(.)-38 +1959 y(.)-38 1972 y(.)-38 1985 y(.)-38 1998 y(.)-38 2011 +y(.)-38 2024 y(.)-38 2037 y(.)-38 2050 y(.)-38 2063 y(.)-38 +2076 y(.)-38 2089 y(.)-38 2102 y(.)-38 2115 y(.)-38 2128 +y(.)-38 2141 y(.)-38 2154 y(.)-38 2167 y(.)-38 2180 y(.)-38 +2193 y(.)-38 2206 y(.)-38 2219 y(.)-38 2232 y(.)-38 2245 +y(.)-38 2258 y(.)-38 2271 y(.)-38 2284 y(.)-38 2296 y(.)-38 +2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 2361 +y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 y(.)-38 +2426 y(.)-38 2439 y(.)-38 2452 y(.)-38 2465 y(.)-38 2478 +y(.)-38 2491 y(.)-38 2504 y(.)-38 2517 y(.)-38 2530 y(.)-38 +2543 y(.)-38 2556 y(.)-38 2569 y(.)-38 2582 y(.)-38 2595 +y(.)-38 2608 y(.)-38 2621 y(.)-38 2634 y(.)-38 2647 y(.)-38 +2660 y(.)-38 2673 y(.)-38 2686 y(.)-38 2699 y(.)-38 2712 +y(.)-38 2725 y(.)-38 2738 y(.)-38 2751 y(.)-38 2763 y(.)-38 +2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 2828 +y(.)-38 2841 y(.)-38 2854 y(.)-38 2867 y(.)-38 2880 y(.)-38 +2893 y(.)-38 2906 y(.)-38 2919 y(.)-38 2932 y(.)-38 2945 +y(.)-38 2958 y(.)-38 2971 y(.)-38 2984 y(.)-38 2997 y(.)-38 +3010 y(.)-38 3023 y(.)-38 3036 y(.)-38 3049 y(.)-38 3062 +y(.)-38 3075 y(.)-38 3088 y(.)-38 3101 y(.)-38 3114 y(.)-38 +3127 y(.)-38 3140 y(.)-38 3153 y(.)-38 3166 y(.)-38 3179 +y(.)-38 3192 y(.)-38 3205 y(.)-38 3218 y(.)-38 3230 y(.)-38 +3243 y(.)-38 3256 y(.)-38 3269 y(.)-38 3282 y(.)-38 3295 +y(.)-38 3308 y(.)-38 3321 y(.)-38 3334 y(.)-38 3347 y(.)-38 +3360 y(.)-38 3373 y(.)-38 3386 y(.)-38 3399 y(.)-38 3412 +y(.)-38 3425 y(.)-38 3438 y(.)-38 3451 y(.)-38 3464 y(.)-38 +3477 y(.)-38 3490 y(.)-38 3503 y(.)-38 3516 y(.)-38 3529 +y(.)-38 3542 y(.)-38 3555 y(.)-38 3568 y(.)-38 3581 y(.)-38 +3594 y(.)-38 3607 y(.)-38 3620 y(.)-38 3633 y(.)-38 3646 +y(.)-38 3659 y(.)-38 3672 y(.)-38 3685 y(.)-38 3697 y(.)-38 +3710 y(.)-38 3723 y(.)-38 3736 y(.)-38 3749 y(.)-38 3762 +y(.)-38 3775 y(.)-38 3788 y(.)-38 3801 y(.)-38 3814 y(.)-38 +3827 y(.)-38 3840 y(.)-38 3853 y(.)-38 3866 y(.)-38 3879 +y(.)-38 3892 y(.)-38 3905 y(.)-38 3918 y(.)-38 3931 y(.)-38 +3944 y(.)-38 3957 y(.)-38 3970 y(.)-38 3983 y(.)-38 3996 +y(.)-38 4009 y(.)-38 4022 y(.)-38 4035 y(.)-38 4048 y(.)-38 +4061 y(.)-38 4074 y(.)-38 4087 y(.)-38 4100 y(.)-38 4113 +y(.)-38 4126 y(.)-38 4139 y(.)-38 4152 y(.)-38 4164 y(.)-38 +4177 y(.)-38 4190 y(.)-38 4203 y(.)-38 4216 y(.)-38 4229 +y(.)-38 4242 y(.)-38 4255 y(.)-38 4268 y(.)-38 4281 y(.)-38 +4294 y(.)-38 4307 y(.)-38 4320 y(.)-38 4333 y(.)-38 4346 +y(.)-38 4359 y(.)-38 4372 y(.)-38 4385 y(.)-38 4398 y(.)-38 +4411 y(.)-38 4424 y(.)-38 4437 y(.)-38 4450 y(.)-38 4463 +y(.)-38 4476 y(.)-38 4489 y(.)-38 4502 y(.)-38 4515 y(.)104 +2010 y Fw(corresp)q(onding)g(upp)q(ercase)h(c)o(haracter.\))-33 +2022 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 104 2075 a(F)m(or)d(the)i(purp)q(oses)g(of)e +Fs(readtable-case)p Fw(,)e Fv(y)j Fw(is)g(not)f(replaceable.)-33 +2046 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 104 2139 a(App)q(end)i Fv(y)f Fw(to)f(the)i(tok)o(en)f(b)q +(eing)g(built,)e(and)i(rep)q(eat)h(step)g(9.)62 2216 +y Fu(.)104 2225 y Fw(If)d Fv(y)h Fw(is)g(a)f Fv(single)i(esc)n(ap)n(e)f +Fw(c)o(haracter,)h(then)g(read)f(the)h(next)f(c)o(haracter)h(and)f +(call)f(it)104 2277 y Fv(z)h Fw(\(but)h(if)f(at)g(end)h(of)f(\014le,)g +(signal)g(an)g(error)h(instead\).)19 b(Ignore)13 b(the)i(usual)e(syn)o +(tax)104 2329 y(of)g Fv(z)h Fw(and)g(pretend)h(it)e(is)h(a)g +Fv(c)n(onstituent)g Fw(whose)g(only)f(attribute)i(is)f +Fv(alphab)n(etic)p Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 553 577 +553 576 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(INPUT/OUTPUT)1046 b(553)104 295 y Fw(\(If)15 +b Fv(z)g Fw(is)g(a)g(lo)o(w)o(ercase)h(c)o(haracter,)h(lea)o(v)o(e)e +(it)g(alone;)g(do)g(not)g(replace)h(it)f(with)g(the)-38 +270 y Fk(.)-38 283 y(.)-38 296 y(.)-38 309 y(.)-38 322 +y(.)-38 335 y(.)-38 348 y(.)-38 361 y(.)-38 373 y(.)-38 +386 y(.)-38 399 y(.)-38 412 y(.)-38 425 y(.)-38 438 y(.)-38 +451 y(.)-38 464 y(.)-38 477 y(.)-38 490 y(.)-38 503 y(.)-38 +516 y(.)-38 529 y(.)-38 542 y(.)-38 555 y(.)-38 568 y(.)-38 +581 y(.)-38 594 y(.)-38 607 y(.)-38 620 y(.)-38 633 y(.)-38 +646 y(.)-38 659 y(.)-38 672 y(.)-38 685 y(.)-38 698 y(.)-38 +711 y(.)-38 724 y(.)-38 737 y(.)-38 750 y(.)-38 763 y(.)-38 +776 y(.)-38 789 y(.)-38 802 y(.)-38 815 y(.)-38 828 y(.)-38 +840 y(.)-38 853 y(.)-38 866 y(.)-38 879 y(.)-38 892 y(.)-38 +905 y(.)-38 918 y(.)-38 931 y(.)-38 944 y(.)-38 957 y(.)-38 +970 y(.)-38 983 y(.)-38 996 y(.)-38 1009 y(.)-38 1022 +y(.)-38 1035 y(.)-38 1048 y(.)-38 1061 y(.)-38 1074 y(.)-38 +1087 y(.)-38 1100 y(.)-38 1113 y(.)-38 1126 y(.)-38 1139 +y(.)-38 1152 y(.)-38 1165 y(.)-38 1178 y(.)-38 1191 y(.)-38 +1204 y(.)-38 1217 y(.)-38 1230 y(.)-38 1243 y(.)-38 1256 +y(.)-38 1269 y(.)-38 1282 y(.)-38 1295 y(.)-38 1307 y(.)-38 +1320 y(.)-38 1333 y(.)-38 1346 y(.)-38 1359 y(.)-38 1372 +y(.)-38 1385 y(.)-38 1398 y(.)-38 1411 y(.)-38 1424 y(.)-38 +1437 y(.)-38 1450 y(.)-38 1463 y(.)-38 1476 y(.)-38 1489 +y(.)-38 1502 y(.)-38 1515 y(.)-38 1528 y(.)-38 1541 y(.)-38 +1554 y(.)-38 1567 y(.)-38 1580 y(.)-38 1593 y(.)-38 1606 +y(.)-38 1619 y(.)-38 1632 y(.)-38 1645 y(.)-38 1658 y(.)-38 +1671 y(.)-38 1684 y(.)-38 1697 y(.)-38 1710 y(.)-38 1723 +y(.)-38 1736 y(.)-38 1749 y(.)-38 1762 y(.)-38 1774 y(.)-38 +1787 y(.)-38 1800 y(.)-38 1813 y(.)-38 1826 y(.)-38 1839 +y(.)-38 1852 y(.)-38 1865 y(.)-38 1878 y(.)-38 1891 y(.)-38 +1904 y(.)-38 1917 y(.)-38 1930 y(.)-38 1943 y(.)-38 1956 +y(.)-38 1969 y(.)-38 1982 y(.)-38 1995 y(.)-38 2008 y(.)-38 +2021 y(.)-38 2034 y(.)-38 2047 y(.)-38 2060 y(.)-38 2073 +y(.)-38 2086 y(.)-38 2099 y(.)-38 2112 y(.)-38 2125 y(.)-38 +2138 y(.)-38 2151 y(.)-38 2164 y(.)-38 2177 y(.)-38 2190 +y(.)-38 2203 y(.)-38 2216 y(.)-38 2229 y(.)-38 2241 y(.)-38 +2254 y(.)-38 2267 y(.)-38 2280 y(.)-38 2293 y(.)-38 2306 +y(.)-38 2319 y(.)-38 2332 y(.)-38 2345 y(.)-38 2358 y(.)-38 +2371 y(.)-38 2384 y(.)-38 2397 y(.)-38 2410 y(.)-38 2423 +y(.)-38 2436 y(.)-38 2449 y(.)-38 2462 y(.)-38 2475 y(.)-38 +2488 y(.)-38 2501 y(.)-38 2514 y(.)-38 2527 y(.)-38 2540 +y(.)-38 2553 y(.)-38 2566 y(.)-38 2579 y(.)-38 2592 y(.)-38 +2605 y(.)-38 2618 y(.)-38 2631 y(.)-38 2644 y(.)-38 2657 +y(.)-38 2670 y(.)-38 2683 y(.)-38 2696 y(.)-38 2708 y(.)-38 +2721 y(.)-38 2734 y(.)-38 2747 y(.)-38 2760 y(.)-38 2773 +y(.)-38 2786 y(.)-38 2799 y(.)-38 2812 y(.)-38 2825 y(.)-38 +2838 y(.)-38 2851 y(.)104 347 y Fw(corresp)q(onding)g(upp)q(ercase)h(c) +o(haracter.\))-33 358 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 104 411 a(F)m(or)d(the)i(purp)q(oses)g(of)e +Fs(readtable-case)p Fw(,)e Fv(z)j Fw(is)f(not)h(replaceable.)-33 +383 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 104 475 a(App)q(end)h Fv(z)e Fw(to)h(the)h(tok)o(en)f(b)q +(eing)f(built,)g(and)h(rep)q(eat)h(step)g(9.)62 555 y +Fu(.)104 564 y Fw(If)e Fv(y)h Fw(is)g(a)g Fv(multiple)g(esc)n(ap)n(e)g +Fw(c)o(haracter,)h(then)f(go)g(to)f(step)i(8.)62 644 +y Fu(.)104 653 y Fw(If)e Fv(y)h Fw(is)g(an)g Fv(il)r(le)n(gal)e +Fw(c)o(haracter,)j(signal)e(an)h(error.)0 742 y(10.)8 +b(An)14 b(en)o(tire)h(tok)o(en)f(has)g(b)q(een)h(accum)o(ulated.)62 +806 y(X3J13)k(v)o(oted)h(in)f(June)i(1989)d Ft(h)p Fw(150)p +Ft(i)h Fw(to)h(in)o(tro)q(duce)g Fs(readtable-case)p +Fw(.)32 b(If)19 b(the)-33 778 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 62 858 a(accum)o(ulated)c(tok)o(en)h(is)g(to)g(b)q(e)g(in) +o(terpreted)i(as)e(a)f(sym)o(b)q(ol,)f(an)o(y)i(case)g(con)o(v)o +(ersion)62 910 y(of)g(replaceable)h(c)o(haracters)g(should)f(b)q(e)h(p) +q(erformed)f(at)g(this)g(p)q(oin)o(t)g(according)g(to)62 +962 y(the)g(v)n(alue)e(of)g(the)i Fs(readtable-case)c +Fw(slot)i(of)h(the)g(curren)o(t)h(readtable)g(\(the)f(v)n(alue)62 +1014 y(of)f Fs(*readtable*)p Fw(\).)-33 1025 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 62 1078 a(In)o(terpret)k(the)f(tok)o(en)f(as)h(represen)o +(ting)h(a)e(Lisp)g(ob)r(ject)h(and)f(return)i(that)e(ob)r(ject)62 +1130 y(as)d(the)h(result)g(of)e(the)i(read)f(op)q(eration,)g(or)g +(signal)f(an)h(error)h(if)e(the)h(tok)o(en)h(is)e(not)h(of)62 +1182 y(legal)g(syn)o(tax.)62 1246 y(X3J13)k(v)o(oted)f(in)h(Marc)o(h)g +(1989)e Ft(h)p Fw(11)p Ft(i)i Fw(to)f(sp)q(ecify)i(that)e(implemen)o +(tation-de\014ned)-33 1218 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 62 1298 a(attributes)i(ma)o(y)d(b)q(e)i(remo)o(v)o(ed)f +(from)e(the)k(c)o(haracters)g(of)e(a)h(sym)o(b)q(ol)d(tok)o(en)j(when) +62 1350 y(constructing)i(the)g(prin)o(t)e(name.)29 b(It)18 +b(is)g(implemen)o(tation-dep)q(enden)o(t)e(whic)o(h)i(at-)62 +1402 y(tributes)d(are)f(remo)o(v)o(ed.)-33 1414 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1479 a(As)f(a)f(rule,)h(a)f Fv(single)h(esc)n(ap)n(e)g +Fw(c)o(haracter)h(nev)o(er)g(stands)f(for)f(itself)h(but)g(alw)o(a)o +(ys)e(serv)o(es)0 1531 y(to)f(cause)i(the)f(follo)o(wing)d(c)o +(haracter)k(to)e(b)q(e)h(treated)h(as)e(a)g(simple)f(alphab)q(etic)i(c) +o(haracter.)0 1583 y(A)21 b Fv(single)f(esc)n(ap)n(e)h +Fw(c)o(haracter)h(can)f(b)q(e)g(included)f(in)g(a)g(tok)o(en)h(only)f +(if)f(preceded)k(b)o(y)0 1635 y(another)14 b Fv(single)h(esc)n(ap)n(e)f +Fw(c)o(haracter.)42 1687 y(A)19 b Fv(multiple)h(esc)n(ap)n(e)g +Fw(c)o(haracter)h(also)e(nev)o(er)h(stands)h(for)e(itself.)35 +b(The)20 b(c)o(haracters)0 1739 y(b)q(et)o(w)o(een)d(a)e(pair)h(of)f +Fv(multiple)g(esc)n(ap)n(e)h Fw(c)o(haracters)i(are)e(all)e(treated)j +(as)f(simple)e(alpha-)0 1791 y(b)q(etic)d(c)o(haracters,)i(except)f +(that)e Fv(single)i(esc)n(ap)n(e)e Fw(and)h Fv(multiple)g(esc)n(ap)n(e) +g Fw(c)o(haracters)h(m)o(ust)0 1843 y(nev)o(ertheless)k(b)q(e)f +(preceded)h(b)o(y)d(a)h Fv(single)h(esc)n(ap)n(e)f Fw(c)o(haracter)h +(to)f(b)q(e)g(included.)p 0 1903 V 0 1963 a Fm(Compatibilit)o(y)k +(note:)30 b FA(In)18 b(MacLisp,)k(the)d Fj(|)f FA(c)o(haracter)h(is)h +(implemen)o(ted)h(as)e(a)f(macro)0 2009 y(c)o(haracter)12 +b(that)f(reads)h(c)o(haracters)g(up)g(to)g(the)f(next)h(unescap)q(ed)h +Fj(|)e FA(and)h(then)f(mak)o(es)h(a)f(tok)o(en;)0 2055 +y(no)16 b(c)o(haracters)g(are)f(ev)o(er)g(read)h(b)q(ey)o(ond)g(the)g +(second)g Fj(|)f FA(of)g(a)g(matc)o(hing)h(pair.)25 b(In)15 +b(Common)0 2100 y(Lisp,)d(the)f(second)g Fj(|)f FA(do)q(es)i(not)f +(terminate)h(the)e(tok)o(en)i(b)q(eing)g(read)f(but)g(merely)h(rev)o +(erts)f(to)f(the)0 2146 y(ordinary)k(\(rather)e(than)g(m)o +(ultiple-escap)r(e\))i(mo)q(de)f(of)e(tok)o(en)i(accum)o(ulation.)19 +b(This)13 b(results)g(in)0 2192 y(some)c(di\013erences)i(in)f(the)f(w)o +(a)o(y)g(certain)h(c)o(haracter)g(sequences)g(are)f(in)o(terpreted.)18 +b(F)m(or)8 b(example,)0 2237 y(the)h(sequence)h Fj(|foo||bar|)5 +b FA(w)o(ould)10 b(b)q(e)g(read)f(in)h(MacLisp)g(as)f(t)o(w)o(o)g +(distinct)i(tok)o(ens,)f Fj(|foo|)d FA(and)0 2283 y Fj(|bar|)p +FA(,)j(whereas)j(in)g(Common)g(Lisp)g(it)g(w)o(ould)h(b)q(e)e(treated)h +(as)g(a)f(single)j(tok)o(en)e(equiv)n(alen)o(t)i(to)0 +2329 y Fj(|foobar|)p FA(.)e(The)e(sequence)i Fj(|foo|bar|)o(baz)o(|)8 +b FA(w)o(ould)k(b)q(e)g(read)g(in)g(MacLisp)h(as)e(three)h(distinct)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 554 578 +554 577 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(554)77 b(COMMON)13 +b(LISP)0 295 y FA(tok)o(ens,)i Fj(|foo|)p FA(,)e Fj(bar)p +FA(,)g(and)j Fj(|baz|)p FA(,)c(whereas)j(in)h(Common)f(Lisp)g(it)g(w)o +(ould)h(b)q(e)f(treated)g(as)g(a)0 340 y(single)e(tok)o(en)f(equiv)n +(alen)o(t)i(to)d Fj(|fooBARbaz)o(|)p FA(;)d(note)k(that)f(the)h(middle) +h(three)f(lo)o(w)o(ercase)g(letters)0 386 y(are)18 b(con)o(v)o(erted)g +(to)g(upp)q(ercase)h(letters)f(as)g(they)g(do)g(not)g(fall)g(within)i +(a)d(matc)o(hing)i(pair)g(of)0 432 y(v)o(ertical)c(bars.)42 +477 y(One)h(reason)g(for)g(the)g(di\013eren)o(t)i(treatmen)o(t)e(of)f +Fj(|)h FA(in)g(Common)h(Lisp)g(lies)g(in)g(the)f(syn)o(tax)0 +523 y(for)h(pac)o(k)n(age-quali\014e)q(d)j(sym)o(b)q(ol)f(names.)30 +b(A)17 b(sequence)i(suc)o(h)f(as)f Fj(|foo:bar|)d FA(ough)o(t)k(to)f(b) +q(e)0 569 y(in)o(terpreted)i(as)f(a)g(sym)o(b)q(ol)h(whose)f(name)g(is) +h Fj(foo:bar)p FA(;)e(the)h(colon)h(should)g(b)q(e)f(treated)g(as)0 +614 y(a)f(simple)j(alphab)q(etic)g(c)o(haracter)e(b)q(ecause)g(it)g +(lies)h(within)g(a)e(pair)i(of)e(v)o(ertical)i(bars.)31 +b(The)0 660 y(sym)o(b)q(ol)17 b Fj(|bar|)d FA(within)k(the)e(pac)o(k)n +(age)h Fj(|foo|)d FA(can)j(b)q(e)f(notated)h(not)f(as)h +Fj(|foo:bar)o(|)c FA(but)j(as)0 706 y Fj(|foo|:|bar)o(|)p +FA(;)c(the)j(colon)h(can)f(serv)o(e)g(as)g(a)g(pac)o(k)n(age)g(mark)o +(er)g(b)q(ecause)h(it)f(falls)h(outside)g(the)0 751 y(v)o(ertical)h +(bars,)g(and)f(y)o(et)g(the)f(notation)j(is)e(treated)g(as)f(a)h +(single)i(tok)o(en)e(thanks)g(to)g(the)g(new)0 797 y(rules)e(adopted)g +(in)g(Common)f(Lisp.)42 843 y(In)8 b(MacLisp,)j(the)e(paren)o(theses)h +(are)f(treated)h(as)f(additional)j(c)o(haracter)d(t)o(yp)q(es.)16 +b(In)9 b(Common)0 888 y(Lisp)14 b(they)f(are)g(simply)i +Fq(macr)n(o)e FA(c)o(haracters,)g(as)g(describ)q(ed)i(in)f(section)g +(22.1.3.)42 934 y(What)k(MacLisp)h(calls)h(\\single)g(c)o(haracter)e +(ob)r(jects")h(\(tok)o(ens)g(of)e(t)o(yp)q(e)i Fq(single)p +FA(\))c(are)j(not)0 980 y(pro)o(vided)f(for)e(explicitl)q(y)j(in)e +(Common)g(Lisp.)24 b(They)16 b(can)g(b)q(e)f(view)o(ed)h(as)g(simply)h +(a)e(kind)i(of)0 1025 y(macro)c(c)o(haracter.)18 b(That)13 +b(is,)g(the)g(e\013ect)h(of)0 1103 y Fj(\(setsyntax)213 +1106 y Fs(')233 1103 y Fj($)270 1106 y Fs(')290 1103 +y Fj(single)j(nil\))0 1149 y(\(setsyntax)213 1152 y Fs(')233 +1149 y Fj(\045)270 1152 y Fs(')290 1149 y Fj(single)g(nil\))0 +1226 y FA(in)d(MacLisp)g(can)g(b)q(e)f(ac)o(hiev)o(ed)i(in)e(Common)h +(Lisp)g(b)o(y)0 1304 y Fj(\(defun)i(single-mac)o(ro-)o(cha)o(ra)o(cte)o +(r)g(\(stream)g(char\))37 1350 y(\(declare)g(\(ignore)g(stream\)\))37 +1395 y(\(intern)g(\(string)g(char\)\)\))0 1441 y(\(set-macro)o(-c)o +(har)o(ac)o(ter)409 1444 y Fs(')430 1441 y Fj($)i(#)468 +1438 y(-)468 1444 y(-)n Fs(')506 1441 y Fj(single-mac)o(ro-)o(ch)o(ara) +o(ct)o(er\))0 1487 y(\(set-macro)o(-c)o(har)o(ac)o(ter)409 +1490 y Fs(')430 1487 y Fj(\045)g(#)468 1484 y(-)468 1490 +y(-)n Fs(')506 1487 y Fj(single-mac)o(ro-)o(ch)o(ara)o(ct)o(er\))p +0 1558 V 0 1675 a Fo(22.1.2.)i(P)n(arsing)c(of)f(Num)n(b)r(ers)e(and)i +(Sym)n(b)r(ols)0 1758 y Fw(When)j(an)g(extended)i(tok)o(en)e(is)g +(read,)i(it)d(is)h(in)o(terpreted)i(as)f(a)e(n)o(um)o(b)q(er)h(or)g +(sym)o(b)q(ol.)0 1810 y(In)e(general,)g(the)g(tok)o(en)g(is)f(in)o +(terpreted)i(as)f(a)f(n)o(um)o(b)q(er)g(if)g(it)h(satis\014es)g(the)g +(syn)o(tax)g(for)0 1862 y(n)o(um)o(b)q(ers)e(sp)q(eci\014ed)h(in)e +(table)h(22-2;)f(this)h(is)f(discussed)j(in)d(more)g(detail)h(b)q(elo)o +(w.)42 1914 y(The)e(c)o(haracters)j(of)c(the)i(extended)h(tok)o(en)f +(ma)o(y)d(serv)o(e)k(v)n(arious)e(syn)o(tactic)h(functions)0 +1966 y(as)d(sho)o(wn)g(in)g(table)f(22-3,)h(but)g(it)g(m)o(ust)f(b)q(e) +h(remem)o(b)q(ered)g(that)g(an)o(y)f(c)o(haracter)j(included)0 +2017 y(in)17 b(a)f(tok)o(en)h(under)h(the)g(con)o(trol)e(of)h(an)g +(escap)q(e)h(c)o(haracter)h(is)d(treated)j(as)e Fv(alphab)n(etic)0 +2069 y Fw(rather)10 b(than)g(according)g(to)f(the)h(attributes)h(sho)o +(wn)e(in)g(the)i(table.)16 b(One)10 b(consequence)i(of)0 +2121 y(this)e(rule)g(is)f(that)h(a)f(whitespace,)j(macro,)c(or)i(escap) +q(e)h(c)o(haracter)g(will)e(alw)o(a)o(ys)f(b)q(e)j(treated)0 +2173 y(as)16 b(alphab)q(etic)g(within)f(an)h(extended)i(tok)o(en)e(b)q +(ecause)i(suc)o(h)f(a)e(c)o(haracter)j(cannot)e(b)q(e)0 +2225 y(included)11 b(in)f(an)g(extended)i(tok)o(en)f(except)h(under)f +(the)g(con)o(trol)f(of)g(an)h(escap)q(e)h(c)o(haracter.)42 +2277 y(T)m(o)17 b(allo)o(w)g(for)h(extensions)h(to)f(the)h(syn)o(tax)f +(of)g(n)o(um)o(b)q(ers,)h(a)f(syn)o(tax)g(for)g Fv(p)n(otential)0 +2329 y(numb)n(ers)i Fw(is)g(de\014ned)h(in)e(Common)e(Lisp)i(that)h(is) +g(more)f(general)h(than)g(the)g(actual)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 555 579 +555 578 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(555)p 0 255 1395 2 v 0 344 a Fm(T)l(able)14 b(22-2:)k +FA(Actual)c(Syn)o(tax)g(of)e(Num)o(b)q(ers)0 479 y Fv(numb)n(er)i +Fw(::=)f Fv(inte)n(ger)h Ft(j)f Fv(r)n(atio)g Ft(j)g +Fv(\015o)n(ating-p)n(oint-numb)n(er)0 531 y(inte)n(ger)g +Fw(::=)20 b([)p Fv(sign)s Fw(])28 b Ft(f)p Fv(digit)t +Ft(g)465 516 y Fk(+)519 531 y Fw([)p Fv(de)n(cimal-p)n(oint)t +Fw(])0 583 y Fv(r)n(atio)13 b Fw(::=)20 b([)p Fv(sign)s +Fw(])27 b Ft(f)p Fv(digit)t Ft(g)426 568 y Fk(+)474 583 +y Fs(/)20 b Ft(f)p Fv(digit)t Ft(g)642 568 y Fk(+)0 635 +y Fv(\015o)n(ating-p)n(oint-numb)n(er)15 b Fw(::=)7 b([)p +Fv(sign)s Fw(])26 b Ft(f)p Fv(digit)t Ft(g)715 620 y +Fl(\003)754 635 y Fv(de)n(cimal-p)n(oint)20 b Ft(f)p +Fv(digit)t Ft(g)1141 620 y Fk(+)1195 635 y Fw([)p Fv(exp)n(onent)t +Fw(])430 687 y Ft(j)h Fw([)p Fv(sign)s Fw(])27 b Ft(f)p +Fv(digit)t Ft(g)715 672 y Fk(+)769 687 y Fw([)p Fv(de)n(cimal-p)n(oint) +21 b Ft(f)p Fv(digit)t Ft(g)1169 672 y Fl(\003)1194 687 +y Fw(])f Fv(exp)n(onent)0 738 y(sign)14 b Fw(::=)f Fs(+)h +Ft(j)f Fs(-)0 790 y Fv(de)n(cimal-p)n(oint)h Fw(::=)f +Fs(.)0 842 y Fv(digit)g Fw(::=)h Fs(0)f Ft(j)h Fs(1)f +Ft(j)h Fs(2)f Ft(j)h Fs(3)f Ft(j)h Fs(4)f Ft(j)h Fs(5)f +Ft(j)h Fs(6)f Ft(j)h Fs(7)f Ft(j)h Fs(8)f Ft(j)h Fs(9)0 +894 y Fv(exp)n(onent)h Fw(::=)e Fv(exp)n(onent-marker)21 +b Fw([)p Fv(sign)s Fw(])27 b Ft(f)p Fv(digit)t Ft(g)815 +879 y Fk(+)0 946 y Fv(exp)n(onent-marker)14 b Fw(::=)f +Fs(e)h Ft(j)f Fs(s)h Ft(j)f Fs(f)h Ft(j)f Fs(d)h Ft(j)f +Fs(l)h Ft(j)f Fs(E)h Ft(j)f Fs(S)h Ft(j)f Fs(F)h Ft(j)f +Fs(D)h Ft(j)f Fs(L)p 0 1021 V 0 1128 a Fw(syn)o(tax)i(for)f(n)o(um)o(b) +q(ers.)20 b(An)o(y)15 b(tok)o(en)f(that)h(is)g(not)f(a)h(p)q(oten)o +(tial)f(n)o(um)o(b)q(er)g(and)g(do)q(es)i(not)0 1180 +y(consist)g(en)o(tirely)f(of)g(dots)h(will)d(alw)o(a)o(ys)i(b)q(e)h +(tak)o(en)f(to)g(b)q(e)h(a)f(sym)o(b)q(ol,)e(no)o(w)i(and)g(in)g(the)0 +1232 y(future;)e(programs)f(ma)o(y)f(rely)i(on)g(this)f(fact.)18 +b(An)o(y)13 b(tok)o(en)g(that)g(is)g(a)f(p)q(oten)o(tial)g(n)o(um)o(b)q +(er)0 1284 y(but)k(do)q(es)h(not)e(\014t)h(the)h(actual)e(n)o(um)o(b)q +(er)g(syn)o(tax)h(de\014ned)h(b)q(elo)o(w)e(is)h(a)f +Fv(r)n(eserve)n(d)h(token)0 1336 y Fw(and)11 b(has)g(an)f(implemen)o +(tation-dep)q(enden)o(t)f(in)o(terpretation;)j(an)e(implemen)o(tation)e +(ma)o(y)0 1388 y(signal)i(an)i(error,)g(quietly)f(treat)h(the)g(tok)o +(en)g(as)f(a)g(sym)o(b)q(ol,)f(or)h(tak)o(e)h(some)e(other)j(action.)0 +1440 y(Programmers)e(should)i(a)o(v)o(oid)f(the)i(use)g(of)f(suc)o(h)h +(reserv)o(ed)h(tok)o(ens.)j(\(A)c(sym)o(b)q(ol)d(whose)0 +1491 y(name)17 b(lo)q(oks)h(lik)o(e)f(a)h(reserv)o(ed)i(tok)o(en)e(can) +h(alw)o(a)o(ys)e(b)q(e)i(written)f(using)g(one)h(or)f(more)0 +1543 y(escap)q(e)e(c)o(haracters.\))42 1596 y(Just)i(as)f +Fv(bignum)h Fw(is)f(the)g(standard)h(term)f(used)h(b)o(y)f(Lisp)g +(implem)o(en)o(tors)f(for)g(v)o(ery)-33 1567 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1648 a(large)c(in)o(tegers,)i(and)e Fv(\015onum)i +Fw(\(rh)o(ymes)e(with)g(\\lo)o(w)g(h)o(um"\))f(refers)j(to)e(a)g +(\015oating-p)q(oin)o(t)0 1699 y(n)o(um)o(b)q(er,)j(the)i(term)e +Fv(p)n(otnum)h Fw(has)g(b)q(een)h(used)g(widely)e(as)h(an)g +(abbreviation)f(for)g(\\p)q(o-)0 1751 y(ten)o(tial)e(n)o(um)o(b)q(er.") +k(\\P)o(otn)o(um")12 b(rh)o(ymes)i(with)f(\\hot)h(rum.")-33 +1763 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1804 a(A)f(tok)o(en)h(is)g(a)g(p)q(oten)o(tial)f(n)o +(um)o(b)q(er)g(if)g(it)h(satis\014es)h(the)f(follo)o(wing)d(requiremen) +o(ts:)0 1870 y Fu(.)42 1879 y Fw(It)g(consists)h(en)o(tirely)f(of)g +(digits,)f(signs)i(\()p Fs(+)f Fw(or)g Fs(-)p Fw(\),)g(ratio)g(mark)o +(ers)f(\()p Fs(/)p Fw(\),)h(decimal)f(p)q(oin)o(ts)42 +1931 y(\()p Fs(.)p Fw(\),)i(extension)g(c)o(haracters)i(\()511 +1935 y Fn(^)547 1931 y Fw(or)e Fs(_)p Fw(\),)g(and)g(n)o(um)o(b)q(er)f +(mark)o(ers.)17 b(\(A)12 b(n)o(um)o(b)q(er)g(mark)o(er)42 +1982 y(is)e(a)h(letter.)18 b(Whether)12 b(a)f(letter)h(ma)o(y)d(b)q(e)i +(treated)h(as)f(a)g(n)o(um)o(b)q(er)f(mark)o(er)g(dep)q(ends)j(on)42 +2034 y(con)o(text,)f(but)g(no)g(letter)h(that)f(is)f(adjacen)o(t)h(to)g +(another)g(letter)h(ma)o(y)d(ev)o(er)j(b)q(e)g(treated)42 +2086 y(as)20 b(a)g(n)o(um)o(b)q(er)f(mark)o(er.)36 b(Floating-p)q(oin)o +(t)18 b(exp)q(onen)o(t)j(mark)o(ers)e(are)i(instances)g(of)42 +2138 y(n)o(um)o(b)q(er)13 b(mark)o(ers.\))0 2216 y Fu(.)42 +2225 y Fw(It)19 b(con)o(tains)h(at)g(least)g(one)g(digit.)35 +b(\(Letters)21 b(ma)o(y)d(b)q(e)j(considered)g(to)e(b)q(e)i(digits,)42 +2277 y(dep)q(ending)15 b(on)g(the)h(v)n(alue)f(of)f Fs(*read-base*)p +Fw(,)f(but)i(only)g(in)f(tok)o(ens)i(con)o(taining)e(no)42 +2329 y(decimal)e(p)q(oin)o(ts.\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 556 580 +556 579 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(556)77 b(COMMON)13 +b(LISP)0 286 y Fu(.)42 295 y Fw(It)g(b)q(egins)i(with)e(a)h(digit,)e +(sign,)h(decimal)g(p)q(oin)o(t,)f(or)i(extension)h(c)o(haracter.)0 +374 y Fu(.)42 383 y Fw(It)e(do)q(es)i(not)f(end)g(with)g(a)f(sign.)0 +459 y(As)18 b(examples,)g(the)g(follo)o(wing)e(tok)o(ens)i(are)g(p)q +(oten)o(tial)g(n)o(um)o(b)q(ers,)g(but)g(they)g(are)g +Fv(not)0 511 y Fw(actually)g(n)o(um)o(b)q(ers)h(as)g(de\014ned)i(b)q +(elo)o(w,)f(and)f(so)g(are)h(reserv)o(ed)h(tok)o(ens.)34 +b(\(They)20 b(do)0 563 y(indicate)14 b(some)f(in)o(teresting)h(p)q +(ossibilities)g(for)f(future)i(extensions.\))0 654 y +Fs(1b5000)147 b(777777q)125 b(1.7J)191 b(-3/4+6.7J)81 +b(12/25/83)0 706 y(27)42 710 y Fn(^)65 706 y Fs(19)170 +b(3)299 710 y Fn(^)322 706 y Fs(4/5)g(6//7)191 b(3.1.2.6)1114 +710 y Fn(^)1137 706 y Fs(-43)1201 710 y Fn(^)0 758 y +Fs(3.141_592_653_589)o(_793_)o(238_4)245 b(-3.7+2.6i-6.17j+1)o(9.6k)0 +849 y Fw(The)20 b(follo)o(wing)d(tok)o(ens)j(are)g Fv(not)g +Fw(p)q(oten)o(tial)f(n)o(um)o(b)q(ers)g(but)g(are)h(alw)o(a)o(ys)f +(treated)i(as)0 900 y(sym)o(b)q(ols:)0 992 y Fs(/)257 +b(/5)235 b(+)257 b(1+)235 b(1-)0 1043 y(foo+)191 b(ab.cd)169 +b(_)835 1047 y Fn(^)253 b(^)1137 1043 y Fs(/-)0 1134 +y Fw(The)13 b(follo)o(wing)e(tok)o(ens)i(are)h(p)q(oten)o(tial)e(n)o +(um)o(b)q(ers)h(if)f(the)i(v)n(alue)e(of)h Fs(*read-base*)d +Fw(is)j Fs(16)0 1186 y Fw(\(an)h(abnormal)f(situation\),)h(but)g(they)h +(are)g(alw)o(a)o(ys)f(treated)i(as)e(sym)o(b)q(ols)f(if)h(the)h(v)n +(alue)0 1238 y(of)e Fs(*read-base*)f Fw(is)i Fs(10)f +Fw(\(the)i(usual)e(v)n(alue\):)0 1329 y Fs(bad-face)103 +b(25-dec-83)81 b(a/b)213 b(fad_cafe)103 b(f)1136 1333 +y Fn(^)0 1419 y Fw(It)17 b(is)f(p)q(ossible)h(for)g(there)g(to)g(b)q(e) +g(an)g(am)o(biguit)o(y)c(as)k(to)g(whether)h(a)e(letter)i(should)e(b)q +(e)0 1471 y(treated)f(as)f(a)g(digit)f(or)h(as)g(a)g(n)o(um)o(b)q(er)f +(mark)o(er.)k(In)d(suc)o(h)h(a)f(case,)g(the)h(letter)g(is)f(alw)o(a)o +(ys)0 1523 y(treated)h(as)f(a)g(digit)f(rather)h(than)g(as)g(a)g(n)o +(um)o(b)q(er)f(mark)o(er.)42 1576 y(Note)d(that)g(the)g(prin)o(ted)g +(represen)o(tation)h(for)f(a)f(p)q(oten)o(tial)h(n)o(um)o(b)q(er)f(ma)o +(y)e(not)j(con)o(tain)0 1628 y(an)o(y)i(escap)q(e)i(c)o(haracters.)19 +b(An)12 b(escap)q(e)i(c)o(haracter)g(robs)e(the)h(follo)o(wing)d(c)o +(haracter)j(of)f(all)0 1679 y(syn)o(tactic)f(qualities,)g(forcing)f(it) +h(to)f(b)q(e)i(strictly)f(alphab)q(etic)g(and)f(therefore)j(unsuitable) +0 1731 y(for)d(use)h(in)f(a)g(p)q(oten)o(tial)f(n)o(um)o(b)q(er.)17 +b(F)m(or)9 b(example,)h(all)f(of)g(the)i(follo)o(wing)d(represen)o +(tations)0 1783 y(are)14 b(in)o(terpreted)i(as)e(sym)o(b)q(ols,)e(not)i +(n)o(um)o(b)q(ers:)0 1874 y Fs(\\256)63 b(25\\64)f(1.0\\E6)g(|100|)h +(3\\.14159)f(|3/4|)g(3\\/4)h(5||)0 1965 y Fw(In)16 b(eac)o(h)i(case,)f +(remo)o(ving)e(the)i(escap)q(e)h(c)o(haracter\(s\))h(w)o(ould)c(allo)o +(w)g(the)i(tok)o(en)g(to)f(b)q(e)0 2017 y(treated)f(as)f(a)g(n)o(um)o +(b)q(er.)42 2069 y(If)g(a)h(p)q(oten)o(tial)f(n)o(um)o(b)q(er)g(can)h +(in)g(fact)g(b)q(e)g(in)o(terpreted)i(as)e(a)g(n)o(um)o(b)q(er)f +(according)h(to)0 2121 y(the)d(BNF)g(syn)o(tax)f(in)g(table)g(22-2,)g +(then)h(a)f(n)o(um)o(b)q(er)g(ob)r(ject)h(of)f(the)h(appropriate)f(t)o +(yp)q(e)h(is)0 2173 y(constructed)j(and)e(returned.)20 +b(It)13 b(should)g(b)q(e)h(noted)g(that)f(in)g(a)g(giv)o(en)f(implemen) +o(tation)0 2225 y(it)f(ma)o(y)f(b)q(e)i(that)g(not)f(all)f(tok)o(ens)i +(conforming)e(to)h(the)h(actual)g(syn)o(tax)f(for)g(n)o(um)o(b)q(ers)h +(can)0 2277 y(actually)h(b)q(e)h(con)o(v)o(erted)h(in)o(to)d(n)o(um)o +(b)q(er)h(ob)r(jects.)19 b(F)m(or)13 b(example,)f(sp)q(ecifying)i(to)q +(o)f(large)0 2329 y(or)i(to)q(o)f(small)f(an)i(exp)q(onen)o(t)g(for)g +(a)f(\015oating-p)q(oin)o(t)g(n)o(um)o(b)q(er)g(ma)o(y)f(mak)o(e)g(the) +i(n)o(um)o(b)q(er)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 557 581 +557 580 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(557)p 0 255 1395 2 v 0 344 a Fm(T)l(able)14 b(22-3:)k +FA(Standard)c(Constituen)o(t)h(Character)e(A)o(ttributes)0 +430 y Fj(!)22 b Fq(alphab)n(etic)230 b Ff(h)p FA(page)p +Ff(i)111 b Fq(il)r(le)n(gal)138 b Ff(h)p FA(bac)o(kspace)p +Ff(i)74 b Fq(il)r(le)n(gal)0 476 y Fj(")22 b Fq(alphab)n(etic)10 +b FA(*)201 b Ff(h)p FA(return)p Ff(i)83 b Fq(il)r(le)n(gal)11 +b FA(*)108 b Ff(h)p FA(tab)p Ff(i)184 b Fq(il)r(le)n(gal)11 +b FA(*)0 521 y Fj(#)0 518 y(-)0 524 y(-)42 521 y Fq(alphab)n(etic)f +FA(*)201 b Ff(h)p FA(space)p Ff(i)98 b Fq(il)r(le)n(gal)11 +b FA(*)108 b Ff(h)p FA(newline)p Ff(i)115 b Fq(il)r(le)n(gal)11 +b FA(*)0 567 y Fj($)22 b Fq(alphab)n(etic)230 b Ff(h)p +FA(rub)q(out)p Ff(i)74 b Fq(il)r(le)n(gal)138 b Ff(h)p +FA(linefeed)p Ff(i)114 b Fq(il)r(le)n(gal)11 b FA(*)0 +613 y Fj(\045)22 b Fq(alphab)n(etic)230 b Fj(.)197 b +Fq(alphab)n(etic)o FA(,)10 b Fq(dot)p FA(,)h Fq(de)n(cimal)h(p)n(oint)0 +658 y Fj(&)22 b Fq(alphab)n(etic)230 b Fj(+)197 b Fq(alphab)n(etic)o +FA(,)10 b Fq(plus)i(sign)-2 707 y Fs(')42 704 y Fq(alphab)n(etic)e +FA(*)201 b Fj(-)c Fq(alphab)n(etic)o FA(,)10 b Fq(minus)i(sign)0 +750 y Fj(\()22 b Fq(alphab)n(etic)10 b FA(*)201 b Fj(*)c +Fq(alphab)n(etic)0 795 y Fj(\))22 b Fq(alphab)n(etic)10 +b FA(*)201 b Fj(/)c Fq(alphab)n(etic)o FA(,)10 b Fq(r)n(atio)i(marker)0 +841 y Fj(,)22 b Fq(alphab)n(etic)10 b FA(*)201 b Fj(@)c +Fq(alphab)n(etic)0 887 y Fj(0)22 b Fq(alphadigit)232 +b Fj(A)p FA(,)12 b Fj(a)154 b Fq(alphadigit)0 932 y Fj(1)22 +b Fq(alphadigit)232 b Fj(B)p FA(,)12 b Fj(b)154 b Fq(alphadigit)0 +978 y Fj(2)22 b Fq(alphadigit)232 b Fj(C)p FA(,)12 b +Fj(c)154 b Fq(alphadigit)0 1024 y Fj(3)22 b Fq(alphadigit)232 +b Fj(D)p FA(,)12 b Fj(d)154 b Fq(alphadigit)o FA(,)10 +b Fq(double-\015o)n(a)o(t)h(exp)n(onent)g(marker)0 1069 +y Fj(4)22 b Fq(alphadigit)232 b Fj(E)p FA(,)12 b Fj(e)154 +b Fq(alphadigit)o FA(,)10 b Fq(\015o)n(at)i(exp)n(onent)f(marker)0 +1115 y Fj(5)22 b Fq(alphadigit)232 b Fj(F)p FA(,)12 b +Fj(f)154 b Fq(alphadigit)o FA(,)10 b Fq(single-\015o)n(a)o(t)h(exp)n +(onent)g(marker)0 1161 y Fj(6)22 b Fq(alphadigit)232 +b Fj(G)p FA(,)12 b Fj(g)154 b Fq(alphadigit)0 1206 y +Fj(7)22 b Fq(alphadigit)232 b Fj(H)p FA(,)12 b Fj(h)154 +b Fq(alphadigit)0 1252 y Fj(8)22 b Fq(alphadigit)232 +b Fj(I)p FA(,)12 b Fj(i)154 b Fq(alphadigit)0 1298 y +Fj(9)22 b Fq(alphadigit)232 b Fj(J)p FA(,)12 b Fj(j)154 +b Fq(alphadigit)0 1343 y Fj(:)22 b Fq(p)n(ackage)12 b(marker)136 +b Fj(K)p FA(,)12 b Fj(k)154 b Fq(alphadigit)0 1389 y +Fj(;)22 b Fq(alphab)n(etic)10 b FA(*)201 b Fj(L)p FA(,)12 +b Fj(l)154 b Fq(alphadigit)o FA(,)10 b Fq(long-\015o)n(at)g(exp)n +(onent)h(marker)0 1435 y Fj(<)22 b Fq(alphab)n(etic)230 +b Fj(M)p FA(,)12 b Fj(m)154 b Fq(alphadigit)0 1477 y +Fj(U)0 1483 y(U)42 1480 y Fq(alphab)n(etic)230 b Fj(N)p +FA(,)12 b Fj(n)154 b Fq(alphadigit)0 1526 y Fj(>)22 b +Fq(alphab)n(etic)230 b Fj(O)p FA(,)12 b Fj(o)154 b Fq(alphadigit)0 +1572 y Fj(?)22 b Fq(alphab)n(etic)230 b Fj(P)p FA(,)12 +b Fj(p)154 b Fq(alphadigit)0 1617 y Fj([)22 b Fq(alphab)n(etic)230 +b Fj(Q)p FA(,)12 b Fj(q)154 b Fq(alphadigit)0 1663 y +Fj(\\)22 b Fq(alphab)n(etic)10 b FA(*)201 b Fj(R)p FA(,)12 +b Fj(r)154 b Fq(alphadigit)0 1709 y Fj(])22 b Fq(alphab)n(etic)230 +b Fj(S)p FA(,)12 b Fj(s)154 b Fq(alphadigit)o FA(,)10 +b Fq(short-\015o)n(at)h(exp)n(onent)f(marker)-2 1757 +y Fs(^)42 1754 y Fq(alphab)n(etic)230 b Fj(T)p FA(,)12 +b Fj(t)154 b Fq(alphadigit)0 1800 y Fj(_)22 b Fq(alphab)n(etic)230 +b Fj(U)p FA(,)12 b Fj(u)154 b Fq(alphadigit)-2 1849 y +Fs(`)42 1846 y Fq(alphab)n(etic)10 b FA(*)201 b Fj(V)p +FA(,)12 b Fj(v)154 b Fq(alphadigit)0 1891 y Fj({)22 b +Fq(alphab)n(etic)230 b Fj(W)p FA(,)12 b Fj(w)154 b Fq(alphadigit)0 +1937 y Fj(|)22 b Fq(alphab)n(etic)10 b FA(*)201 b Fj(X)p +FA(,)12 b Fj(x)154 b Fq(alphadigit)0 1983 y Fj(})22 b +Fq(alphab)n(etic)230 b Fj(Y)p FA(,)12 b Fj(y)154 b Fq(alphadigit)-2 +2031 y Fs(~)42 2028 y Fq(alphab)n(etic)230 b Fj(Z)p FA(,)12 +b Fj(z)154 b Fq(alphadigit)0 2069 y Fa(These)11 b(in)o(terpretat)o +(ions)d(apply)h(only)i(to)f(c)o(haracters)f(whose)i(syn)o(tactic)d(t)o +(yp)q(e)i(is)h Fb(c)n(onstituent)p Fa(.)16 b(En)o(tries)0 +2115 y(mark)o(ed)7 b(with)i(an)g(asterisk)f(are)g(normally)f(shado)o(w) +o(ed)g(b)q(ecause)h(the)g(c)o(haracters)f(are)h(of)h(syn)o(tactic)e(t)o +(yp)q(e)0 2160 y Fb(whitesp)n(ac)n(e)p Fa(,)12 b Fb(macr)n(o)p +Fa(,)h Fb(single)g(esc)n(ap)n(e)p Fa(,)g(or)d Fb(multiple)k(esc)n(ap)n +(e)p Fa(.)i(An)c Fb(alphadigit)h Fa(c)o(haracter)8 b(is)j(in)o +(terpreted)0 2206 y(as)17 b(a)g(digit)g(if)g(it)g(is)g(a)g(v)n(alid)f +(digit)h(in)g(the)f(radix)g(sp)q(eci\014ed)f(b)o(y)i +Fj(*read-base)o(*)p Fa(;)g(otherwise)f(it)h(is)0 2252 +y(alphab)q(etic.)d(Characters)d(with)h(an)f Fb(il)r(le)n(gal)j +Fa(attribute)c(can)h(nev)o(er)g(app)q(ear)f(in)i(a)g(tok)o(en)f(except) +g(under)0 2297 y(the)g(con)o(trol)e(of)j(an)f(escap)q(e)f(c)o +(haracter.)p 0 2329 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 558 582 +558 581 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(558)77 b(COMMON)13 +b(LISP)0 295 y Fw(imp)q(ossible)d(to)i(represen)o(t)j(in)c(the)i +(implemen)o(tatio)o(n.)i(Similarly)l(,)9 b(a)j(ratio)f(with)h(denom-)0 +347 y(inator)i(zero)i(\(suc)o(h)f(as)g Fs(-35/000)p Fw(\))e(cannot)i(b) +q(e)g(represen)o(ted)i(in)d Fv(any)i Fw(implem)o(en)o(tation.)0 +399 y(In)e(an)o(y)f(suc)o(h)i(circumstance)f(where)h(a)f(tok)o(en)g +(with)f(the)i(syn)o(tax)f(of)f(a)g(n)o(um)o(b)q(er)h(cannot)0 +450 y(b)q(e)e(con)o(v)o(erted)h(to)e(an)h(in)o(ternal)f(n)o(um)o(b)q +(er)g(ob)r(ject,)h(an)f(error)i(is)e(signaled.)17 b(\(On)12 +b(the)g(other)0 502 y(hand,)j(an)g(error)i(m)o(ust)d(not)i(b)q(e)g +(signaled)e(for)i(sp)q(ecifying)f(to)q(o)g(man)o(y)f(signi\014can)o(t)h +(dig-)0 554 y(its)g(for)f(a)g(\015oating-p)q(oin)o(t)f(n)o(um)o(b)q +(er;)h(an)g(appropriately)h(truncated)h(or)e(rounded)h(v)n(alue)0 +606 y(should)f(b)q(e)g(pro)q(duced.\))42 659 y(There)f(is)f(an)f +(omission)f(in)i(the)h(syn)o(tax)f(of)f(n)o(um)o(b)q(ers)h(as)g +(describ)q(ed)i(in)d(table)h(22-2,)f(in)0 711 y(that)i(the)h(syn)o(tax) +f(do)q(es)h(not)f(accoun)o(t)h(for)f(the)g(p)q(ossible)h(use)g(of)e +(letters)j(as)e(digits.)k(The)0 763 y(radix)c(used)i(for)f(reading)g +(in)o(tegers)g(and)g(ratios)g(is)g(normally)d(decimal.)17 +b(Ho)o(w)o(ev)o(er,)d(this)0 814 y(radix)e(is)h(actually)e(determined)i +(b)o(y)f(the)h(v)n(alue)f(of)g(the)i(v)n(ariable)d Fs(*read-base*)p +Fw(,)f(whose)0 866 y(initial)15 b(v)n(alue)h(is)h Fs(10)p +Fw(.)27 b Fs(*read-base*)14 b Fw(ma)o(y)h(tak)o(e)i(on)g(an)o(y)f(in)o +(tegral)g(v)n(alue)h(b)q(et)o(w)o(een)h Fs(2)0 918 y +Fw(and)f Fs(36)p Fw(;)h(let)f(this)g(v)n(alue)g(b)q(e)g +Fv(n)p Fw(.)28 b(Then)18 b(a)f(tok)o(en)g Fv(x)g Fw(is)g(in)o +(terpreted)i(as)e(an)g(in)o(teger)h(or)0 970 y(ratio)c(in)h(base)h +Fv(n)f Fw(if)f(it)h(could)g(b)q(e)h(prop)q(erly)f(so)g(in)o(terpreted)i +(in)d(the)i(syn)o(tax)f Fs(#)1224 966 y(-)1224 974 y(-)1246 +970 y Fv(n)p Fs(R)p Fv(x)g Fw(\(see)0 1022 y(section)h(22.1.4\).)j(So,) +c(for)f(example,)g(if)g(the)h(v)n(alue)f(of)h Fs(*read-base*)d +Fw(is)j Fs(16)p Fw(,)g(then)g(the)0 1074 y(prin)o(ted)f(represen)o +(tation)0 1167 y Fs(\(a)21 b(small)f(face)g(in)h(a)g(bad)g(place\))0 +1259 y Fw(w)o(ould)c(b)q(e)i(in)o(terpreted)g(as)f(if)f(the)i(follo)o +(wing)c(represen)o(tation)20 b(had)e(b)q(een)h(read)f(with)0 +1311 y Fs(*read-base*)12 b Fw(set)i(to)g Fs(10)p Fw(:)0 +1405 y Fs(\(10)21 b(small)f(64206)g(in)h(10)f(2989)h(place\))0 +1497 y Fw(b)q(ecause)15 b(four)d(of)g(the)i(sev)o(en)g(tok)o(ens)f(in)f +(the)i(list)e(can)h(b)q(e)h(in)o(terpreted)g(as)f(hexadecimal)0 +1549 y(n)o(um)o(b)q(ers.)19 b(This)14 b(facilit)o(y)e(is)i(in)o(tended) +h(to)f(b)q(e)h(used)g(in)f(reading)g(\014les)g(of)g(data)g(that)g(for)0 +1601 y(some)i(reason)h(con)o(tain)f(n)o(um)o(b)q(ers)h(not)f(in)h +(decimal)e(radix;)i(it)f(ma)o(y)f(also)h(b)q(e)h(used)h(for)0 +1653 y(reading)f(programs)g(written)h(in)f(Lisp)g(dialects)h(\(suc)o(h) +h(as)e(MacLisp\))h(whose)g(default)0 1704 y(n)o(um)o(b)q(er)e(radix)h +(is)f(not)h(decimal.)26 b(Non-decimal)15 b(constan)o(ts)j(in)e(Common)e +(Lisp)j(pro-)0 1756 y(grams)11 b(or)h(p)q(ortable)g(Commo)o(n)d(Lisp)j +(data)g(\014les)g(should)g(b)q(e)g(written)h(using)f +Fs(#)1206 1752 y(-)1206 1760 y(-)1227 1756 y(O)p Fw(,)g +Fs(#)1273 1752 y(-)1273 1760 y(-)1294 1756 y(X)p Fw(,)g +Fs(#)1340 1752 y(-)1340 1760 y(-)1361 1756 y(B)p Fw(,)0 +1808 y(or)i Fs(#)51 1804 y(-)51 1812 y(-)73 1808 y Fv(n)p +Fs(R)g Fw(syn)o(tax.)42 1861 y(When)d Fs(*read-base*)d +Fw(has)j(a)g(v)n(alue)f(greater)i(than)f Fs(10)p Fw(,)g(an)f(am)o +(biguit)o(y)e(is)j(in)o(tro)q(duced)0 1913 y(in)o(to)e(the)h(actual)f +(syn)o(tax)h(for)f(n)o(um)o(b)q(ers)g(b)q(ecause)i(a)e(letter)i(can)e +(serv)o(e)i(as)f(either)g(a)f(digit)g(or)0 1965 y(an)j(exp)q(onen)o(t)i +(mark)o(er;)d(a)h(simple)g(example)f(is)h Fs(1E0)g Fw(when)h(the)g(v)n +(alue)f(of)g Fs(*read-base*)0 2017 y Fw(is)g Fs(16)p +Fw(.)17 b(The)c(am)o(biguit)o(y)c(is)j(resolv)o(ed)h(in)f(accordance)h +(with)f(the)h(general)g(principle)f(that)0 2069 y(in)o(terpretation)18 +b(as)f(a)h(digit)e(is)h(preferred)j(to)d(in)o(terpretation)h(as)f(a)g +(n)o(um)o(b)q(er)g(mark)o(er.)0 2120 y(The)c(consequence)i(in)d(this)h +(case)h(is)e(that)h(if)f(a)g(tok)o(en)h(can)g(b)q(e)g(in)o(terpreted)i +(as)d(either)i(an)0 2172 y(in)o(teger)g(or)g(a)g(\015oating-p)q(oin)o +(t)e(n)o(um)o(b)q(er,)h(then)h(it)g(is)g(tak)o(en)g(to)f(b)q(e)i(an)e +(in)o(teger.)42 2225 y(If)d(a)g(tok)o(en)g(consists)i(solely)e(of)g +(dots)h(\(with)f(no)g(escap)q(e)i(c)o(haracters\),)h(then)e(an)f(error) +i(is)0 2277 y(signaled,)f(except)i(in)f(one)g(circumstance:)17 +b(if)11 b(the)h(tok)o(en)g(is)g(a)f(single)h(dot)f(and)h(o)q(ccurs)h +(in)0 2329 y(a)e(situation)g(appropriate)h(to)f(\\dotted)h(list")f(syn) +o(tax,)g(then)i(it)e(is)g(accepted)j(as)d(a)h(part)f(of)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 559 583 +559 582 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(559)0 295 y Fw(suc)o(h)13 b(syn)o(tax.)18 b(Signaling)11 +b(an)h(error)i(catc)o(hes)g(not)e(only)g(misplaced)g(dots)h(in)f +(dotted)h(list)0 347 y(syn)o(tax)h(but)f(also)g(lists)h(that)g(w)o(ere) +g(truncated)h(b)o(y)f Fs(*print-length*)c Fw(cuto\013,)k(b)q(ecause)0 +399 y(suc)o(h)h(lists)e(end)i(with)e(a)h(three-dot)h(sequence)h(\()p +Fs(...)p Fw(\).)i(Examples:)0 482 y Fs(\(a)j(.)g(b\))187 +b(;)p Fw(A)13 b(dotted)i(pair)e(of)h Fs(a)f Fw(and)h +Fs(b)0 533 y(\(a.b\))229 b(;)p Fw(A)13 b(list)h(of)f(one)h(elemen)o(t,) +f(the)i(sym)o(b)q(ol)d(named)g Fs(a.b)0 585 y(\(a.)21 +b(b\))208 b(;)p Fw(A)13 b(list)h(of)f(t)o(w)o(o)h(elemen)o(ts)f +Fs(a.)h Fw(and)f Fs(b)0 637 y(\(a)21 b(.b\))208 b(;)p +Fw(A)13 b(list)h(of)f(t)o(w)o(o)h(elemen)o(ts)f Fs(a)h +Fw(and)g Fs(.b)0 689 y(\(a)21 b(\\.)g(b\))165 b(;)p Fw(A)13 +b(list)h(of)f(three)i(elemen)o(ts)f Fs(a)p Fw(,)f Fs(.)p +Fw(,)g(and)h Fs(b)0 741 y(\(a)21 b(|.|)f(b\))144 b(;)p +Fw(A)13 b(list)h(of)f(three)i(elemen)o(ts)f Fs(a)p Fw(,)f +Fs(.)p Fw(,)g(and)h Fs(b)0 793 y(\(a)21 b(\\...)f(b\))122 +b(;)p Fw(A)13 b(list)h(of)f(three)i(elemen)o(ts)f Fs(a)p +Fw(,)f Fs(...)p Fw(,)g(and)h Fs(b)0 845 y(\(a)21 b(|...|)f(b\))100 +b(;)p Fw(A)13 b(list)h(of)f(three)i(elemen)o(ts)f Fs(a)p +Fw(,)f Fs(...)p Fw(,)g(and)h Fs(b)0 897 y(\(a)21 b(b)g(.)g(c\))144 +b(;)p Fw(A)13 b(dotted)i(list)e(of)h Fs(a)f Fw(and)h +Fs(b)g Fw(with)f Fs(c)h Fw(at)g(the)g(end)0 949 y Fs(.iot)251 +b(;)p Fw(The)14 b(sym)o(b)q(ol)e(whose)i(name)f(is)h +Fs(.iot)0 1000 y(\(.)21 b(b\))230 b(;)p Fw(Illegal;)11 +b(an)j(error)h(is)f(signaled)0 1052 y Fs(\(a)21 b(.\))230 +b(;)p Fw(Illegal;)11 b(an)j(error)h(is)f(signaled)0 1104 +y Fs(\(a)21 b(..)g(b\))165 b(;)p Fw(Illegal;)11 b(an)j(error)h(is)f +(signaled)0 1156 y Fs(\(a)21 b(.)g(.)g(b\))144 b(;)p +Fw(Illegal;)11 b(an)j(error)h(is)f(signaled)0 1208 y +Fs(\(a)21 b(b)g(c)g(...\))100 b(;)p Fw(Illegal;)11 b(an)j(error)h(is)f +(signaled)42 1291 y(In)i(all)f(other)j(cases,)g(the)f(tok)o(en)g(is)f +(construed)i(to)f(b)q(e)g(the)g(name)f(of)f(a)i(sym)o(b)q(ol.)24 +b(If)0 1343 y(there)18 b(are)g(an)o(y)f(pac)o(k)n(age)g(mark)o(ers)f +(\(colons\))h(in)g(the)h(tok)o(en,)g(they)f(divide)g(the)h(tok)o(en)0 +1395 y(in)o(to)13 b(pieces)i(used)g(to)f(con)o(trol)f(the)i(lo)q(okup)e +(and)h(creation)g(of)f(the)i(sym)o(b)q(ol.)42 1447 y(If)h(there)i(is)e +(a)g(single)h(pac)o(k)n(age)f(mark)o(er,)g(and)g(it)g(o)q(ccurs)i(at)f +(the)g(b)q(eginning)f(of)g(the)-38 1422 y Fk(.)-38 1435 +y(.)-38 1448 y(.)-38 1461 y(.)-38 1474 y(.)-38 1486 y(.)-38 +1499 y(.)-38 1512 y(.)-38 1525 y(.)-38 1538 y(.)-38 1551 +y(.)-38 1564 y(.)-38 1577 y(.)-38 1590 y(.)-38 1603 y(.)-38 +1616 y(.)-38 1629 y(.)-38 1642 y(.)-38 1655 y(.)-38 1668 +y(.)-38 1681 y(.)-38 1694 y(.)-38 1707 y(.)-38 1720 y(.)-38 +1733 y(.)-38 1746 y(.)-38 1759 y(.)-38 1772 y(.)-38 1785 +y(.)-38 1798 y(.)-38 1811 y(.)-38 1824 y(.)-38 1837 y(.)-38 +1850 y(.)-38 1863 y(.)-38 1876 y(.)-38 1889 y(.)-38 1902 +y(.)-38 1915 y(.)-38 1928 y(.)-38 1941 y(.)-38 1953 y(.)-38 +1966 y(.)-38 1979 y(.)-38 1992 y(.)-38 2005 y(.)-38 2018 +y(.)-38 2031 y(.)-38 2044 y(.)-38 2057 y(.)-38 2070 y(.)-38 +2083 y(.)-38 2096 y(.)-38 2109 y(.)-38 2122 y(.)-38 2135 +y(.)-38 2148 y(.)-38 2161 y(.)-38 2174 y(.)-38 2187 y(.)-38 +2200 y(.)-38 2213 y(.)-38 2226 y(.)-38 2239 y(.)-38 2252 +y(.)-38 2265 y(.)-38 2278 y(.)-38 2291 y(.)-38 2304 y(.)-38 +2317 y(.)-38 2330 y(.)-38 2343 y(.)-38 2356 y(.)-38 2369 +y(.)-38 2382 y(.)-38 2395 y(.)-38 2408 y(.)-38 2420 y(.)-38 +2433 y(.)-38 2446 y(.)-38 2459 y(.)-38 2472 y(.)-38 2485 +y(.)-38 2498 y(.)-38 2511 y(.)-38 2524 y(.)-38 2537 y(.)-38 +2550 y(.)-38 2563 y(.)-38 2576 y(.)-38 2589 y(.)-38 2602 +y(.)-38 2615 y(.)-38 2628 y(.)-38 2641 y(.)-38 2654 y(.)-38 +2667 y(.)-38 2680 y(.)-38 2693 y(.)-38 2706 y(.)-38 2719 +y(.)-38 2732 y(.)-38 2745 y(.)-38 2758 y(.)-38 2771 y(.)-38 +2784 y(.)-38 2797 y(.)-38 2810 y(.)-38 2823 y(.)-38 2836 +y(.)-38 2849 y(.)-38 2862 y(.)-38 2875 y(.)-38 2887 y(.)-38 +2900 y(.)-38 2913 y(.)-38 2926 y(.)-38 2939 y(.)-38 2952 +y(.)-38 2965 y(.)-38 2978 y(.)-38 2991 y(.)-38 3004 y(.)-38 +3017 y(.)-38 3030 y(.)-38 3043 y(.)-38 3056 y(.)-38 3069 +y(.)-38 3082 y(.)-38 3095 y(.)-38 3108 y(.)-38 3121 y(.)-38 +3134 y(.)-38 3147 y(.)-38 3160 y(.)-38 3173 y(.)-38 3186 +y(.)-38 3199 y(.)-38 3212 y(.)-38 3225 y(.)-38 3238 y(.)-38 +3251 y(.)-38 3264 y(.)-38 3277 y(.)-38 3290 y(.)-38 3303 +y(.)-38 3316 y(.)-38 3329 y(.)-38 3342 y(.)-38 3354 y(.)-38 +3367 y(.)-38 3380 y(.)-38 3393 y(.)-38 3406 y(.)-38 3419 +y(.)-38 3432 y(.)-38 3445 y(.)-38 3458 y(.)-38 3471 y(.)-38 +3484 y(.)-38 3497 y(.)-38 3510 y(.)-38 3523 y(.)-38 3536 +y(.)-38 3549 y(.)-38 3562 y(.)-38 3575 y(.)-38 3588 y(.)-38 +3601 y(.)-38 3614 y(.)-38 3627 y(.)-38 3640 y(.)-38 3653 +y(.)-38 3666 y(.)-38 3679 y(.)-38 3692 y(.)-38 3705 y(.)-38 +3718 y(.)-38 3731 y(.)-38 3744 y(.)-38 3757 y(.)-38 3770 +y(.)-38 3783 y(.)-38 3796 y(.)-38 3809 y(.)-38 3821 y(.)-38 +3834 y(.)-38 3847 y(.)-38 3860 y(.)-38 3873 y(.)-38 3886 +y(.)-38 3899 y(.)-38 3912 y(.)-38 3925 y(.)-38 3938 y(.)-38 +3951 y(.)-38 3964 y(.)-38 3977 y(.)-38 3990 y(.)-38 4003 +y(.)0 1499 y Fw(tok)o(en,)i(then)g(the)f(tok)o(en)h(is)f(in)o +(terpreted)i(as)e(a)g(k)o(eyw)o(ord,)g(that)h(is,)f(a)g(sym)o(b)q(ol)e +(in)i(the)0 1550 y Fs(keyword)d Fw(pac)o(k)n(age.)23 +b(The)15 b(part)h(of)f(the)h(tok)o(en)g(after)g(the)g(pac)o(k)n(age)f +(mark)o(er)f(m)o(ust)h(not)0 1602 y(ha)o(v)o(e)f(the)g(syn)o(tax)g(of)f +(a)h(n)o(um)o(b)q(er.)42 1654 y(If)d(there)j(is)e(a)f(single)h(pac)o(k) +n(age)g(mark)o(er)f(not)h(at)g(the)h(b)q(eginning)e(or)h(end)h(of)e +(the)i(tok)o(en,)0 1706 y(then)k(it)f(divides)h(the)g(tok)o(en)g(in)o +(to)f(t)o(w)o(o)g(parts.)27 b(The)17 b(\014rst)g(part)g(sp)q(eci\014es) +h(a)f(pac)o(k)n(age;)0 1758 y(the)e(second)h(part)e(is)g(the)h(name)f +(of)f(an)i(external)f(sym)o(b)q(ol)f(a)o(v)n(ailable)f(in)i(that)h(pac) +o(k)n(age.)0 1810 y(Neither)g(of)e(the)i(t)o(w)o(o)e(parts)h(ma)o(y)e +(ha)o(v)o(e)i(the)h(syn)o(tax)e(of)h(a)f(n)o(um)o(b)q(er.)42 +1862 y(If)i(there)j(are)f(t)o(w)o(o)e(adjacen)o(t)i(pac)o(k)n(age)f +(mark)o(ers)f(not)i(at)f(the)h(b)q(eginning)e(or)i(end)f(of)0 +1914 y(the)f(tok)o(en,)f(then)i(they)f(divide)f(the)h(tok)o(en)g(in)o +(to)e(t)o(w)o(o)h(parts.)21 b(The)15 b(\014rst)g(part)g(sp)q(eci\014es) +0 1966 y(a)20 b(pac)o(k)n(age;)j(the)f(second)f(part)g(is)g(the)g(name) +e(of)h(a)h(sym)o(b)q(ol)e(within)g(that)i(pac)o(k)n(age)0 +2017 y(\(p)q(ossibly)14 b(an)g(in)o(ternal)g(sym)o(b)q(ol\).)j(Neither) +f(of)d(the)i(t)o(w)o(o)f(parts)h(ma)o(y)d(ha)o(v)o(e)i(the)h(syn)o(tax) +0 2069 y(of)e(a)h(n)o(um)o(b)q(er.)-33 2081 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2121 a(X3J13)e(v)o(oted)i(in)e(Marc)o(h)i(1988)e +Ft(h)p Fw(16)p Ft(i)h Fw(to)g(clarify)f(that,)h(in)f(the)i(situations)f +(describ)q(ed)-33 2093 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2173 a(in)h(the)i(preceding)g(three)g(paragraphs,)e(the) +i(restriction)g(on)e(the)i(syn)o(tax)f(of)f(the)h(parts)0 +2225 y(should)j(b)q(e)i(strengthened:)29 b(none)19 b(of)f(the)i(parts)f +(ma)o(y)d(ha)o(v)o(e)j(the)g(syn)o(tax)g(of)f(ev)o(en)h(a)0 +2277 y Fv(p)n(otential)f Fw(n)o(um)o(b)q(er.)29 b(T)m(ok)o(ens)18 +b(suc)o(h)g(as)g Fs(:3600)p Fw(,)g Fs(:1/2)p Fw(,)f(and)h +Fs(editor:3.14159)d Fw(w)o(ere)0 2329 y(already)e(ruled)g(out;)g(this)g +(clari\014cation)f(further)i(declares)g(that)f(suc)o(h)h(tok)o(ens)g +(as)f Fs(:2)1339 2333 y Fn(^)1361 2329 y Fs(3)p Fw(,)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 560 584 +560 583 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(560)77 b(COMMON)13 +b(LISP)0 295 y Fs(compiler:1.7J)p Fw(,)18 b(and)i Fs +(Christmas:12/25/83)d Fw(are)k(also)g(in)f(error)i(and)e(therefore)0 +347 y(should)12 b(not)f(b)q(e)i(used)f(in)g(p)q(ortable)g(programs.)k +(Implemen)o(tations)9 b(ma)o(y)h(di\013er)i(in)f(their)0 +399 y(treatmen)o(t)j(of)f(suc)o(h)i(pac)o(k)n(age-mark)o(ed)d(p)q(oten) +o(tial)h(n)o(um)o(b)q(ers.)-33 410 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 450 a(If)f(a)g(sym)o(b)q(ol)f(tok)o(en)h(con)o(tains)h +(no)f(pac)o(k)n(age)h(mark)o(ers,)e(then)j(the)f(en)o(tire)g(tok)o(en)g +(is)f(the)0 502 y(name)i(of)g(the)i(sym)o(b)q(ol.)j(The)d(sym)o(b)q(ol) +d(is)i(lo)q(ok)o(ed)f(up)i(in)e(the)i(default)e(pac)o(k)n(age,)h(whic)o +(h)0 554 y(is)f(the)g(v)n(alue)f(of)h(the)g(v)n(ariable)f +Fs(*package*)p Fw(.)42 606 y(All)g(other)i(patterns)g(of)f(pac)o(k)n +(age)g(mark)o(ers,)f(including)h(the)h(cases)g(where)h(there)f(are)0 +658 y(more)h(than)i(t)o(w)o(o)e(pac)o(k)n(age)h(mark)o(ers)g(or)g +(where)i(a)e(pac)o(k)n(age)g(mark)o(er)f(app)q(ears)i(at)f(the)0 +710 y(end)12 b(of)f(the)h(tok)o(en,)f(at)g(presen)o(t)i(do)e(not)g +(mean)g(an)o(ything)f(in)h(Common)d(Lisp)j(\(see)i(c)o(hap-)0 +762 y(ter)j(11\).)21 b(It)15 b(is)f(therefore)j(curren)o(tly)f(an)f +(error)g(to)g(use)h(suc)o(h)g(patterns)g(in)e(a)h(Common)0 +814 y(Lisp)f(program.)i(The)e(v)n(alid)f(patterns)i(for)e(tok)o(ens)i +(ma)o(y)d(b)q(e)i(summarized)e(as)i(follo)o(ws:)0 899 +y Fv(nnnnn)284 b Fw(a)13 b(n)o(um)o(b)q(er)0 951 y Fv(xxxxx)304 +b Fw(a)13 b(sym)o(b)q(ol)f(in)i(the)g(curren)o(t)h(pac)o(k)n(age)0 +1002 y Fs(:)p Fv(xxxxx)282 b Fw(a)13 b(sym)o(b)q(ol)f(in)i(the)g(k)o +(eyw)o(ord)g(pac)o(k)n(age)0 1054 y Fv(ppppp)p Fs(:)p +Fv(xxxxx)177 b Fw(an)13 b(external)i(sym)o(b)q(ol)d(in)h(the)i +Fv(ppppp)f Fw(pac)o(k)n(age)0 1106 y Fv(ppppp)p Fs(::)p +Fv(xxxxx)155 b Fw(a)13 b(\(p)q(ossibly)h(in)o(ternal\))f(sym)o(b)q(ol)g +(in)g(the)h Fv(ppppp)h Fw(pac)o(k)n(age)0 1191 y(where)h +Fv(nnnnn)h Fw(has)e(the)h(syn)o(tax)f(of)f(a)h(n)o(um)o(b)q(er,)f(and)h +Fv(xxxxx)h Fw(and)f Fv(ppppp)h Fw(do)f(not)g(ha)o(v)o(e)0 +1243 y(the)f(syn)o(tax)g(of)g(a)f(n)o(um)o(b)q(er.)42 +1295 y(In)h(accordance)i(with)e(the)i(X3J13)e(decision)h(noted)g(ab)q +(o)o(v)o(e)f Ft(h)p Fw(16)p Ft(i)p Fw(,)g Fv(xxxxx)i +Fw(and)f Fv(ppppp)-33 1267 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1347 a Fw(ma)o(y)d(not)i(ha)o(v)o(e)f(the)i(syn)o(tax)f +(of)f(ev)o(en)i(a)e(p)q(oten)o(tial)g(n)o(um)o(b)q(er.)-33 +1359 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1219 1474 a([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(*read-base*)0 1550 y Fw(The)18 b(v)n(alue)e(of)h +Fs(*read-base*)e Fw(con)o(trols)i(the)h(in)o(terpretation)g(of)e(tok)o +(ens)i(b)o(y)f Fs(read)g Fw(as)0 1602 y(b)q(eing)g(in)o(tegers)i(or)e +(ratios.)29 b(Its)18 b(v)n(alue)f(is)g(the)h(radix)f(in)g(whic)o(h)g +(in)o(tegers)i(and)e(ratios)0 1654 y(are)h(to)g(b)q(e)h(read;)h(the)f +(v)n(alue)e(ma)o(y)f(b)q(e)j(an)o(y)e(in)o(teger)i(from)d +Fs(2)i Fw(to)f Fs(36)h Fw(\(inclusiv)o(e\))g(and)0 1706 +y(is)d(normally)e Fs(10)h Fw(\(decimal)g(radix\).)22 +b(Its)16 b(v)n(alue)e(a\013ects)j(only)d(the)i(reading)f(of)g(in)o +(tegers)0 1758 y(and)g(ratios.)23 b(In)16 b(particular,)f(\015oating-p) +q(oin)o(t)f(n)o(um)o(b)q(ers)h(are)h(alw)o(a)o(ys)e(read)i(in)f +(decimal)0 1810 y(radix.)h(The)10 b(v)n(alue)e(of)h Fs(*read-base*)e +Fw(do)q(es)j(not)f(a\013ect)h(the)g(radix)f(for)g(rational)f(n)o(um)o +(b)q(ers)0 1862 y(whose)k(radix)e(is)i(explicitly)e(indicated)h(b)o(y)g +Fs(#)673 1858 y(-)673 1866 y(-)695 1862 y(O)p Fw(,)f +Fs(#)739 1858 y(-)739 1866 y(-)761 1862 y(X)p Fw(,)g +Fs(#)805 1858 y(-)805 1866 y(-)827 1862 y(B)p Fw(,)h(or)g +Fs(#)920 1858 y(-)920 1866 y(-)942 1862 y Fv(n)p Fs(R)g +Fw(syn)o(tax)g(or)g(b)o(y)g(a)g(trailing)0 1914 y(decimal)h(p)q(oin)o +(t.)42 1966 y(Care)19 b(should)h(b)q(e)g(tak)o(en)f(when)h(setting)g +Fs(*read-base*)d Fw(to)i(a)h(v)n(alue)e(larger)i(than)0 +2017 y Fs(10)p Fw(,)e(b)q(ecause)i(tok)o(ens)e(that)g(w)o(ould)f +(normally)e(b)q(e)k(in)o(terpreted)h(as)e(sym)o(b)q(ols)e(ma)o(y)g(b)q +(e)0 2069 y(in)o(terpreted)j(as)f(n)o(um)o(b)q(ers)g(instead.)30 +b(F)m(or)17 b(example,)g(with)g Fs(*read-base*)f Fw(set)j(to)e +Fs(16)0 2121 y Fw(\(hexadecimal)12 b(radix\),)g(v)n(ariables)g(with)h +(names)f(suc)o(h)i(as)f Fs(a)p Fw(,)g Fs(b)p Fw(,)f Fs(f)p +Fw(,)h Fs(bad)p Fw(,)f(and)h Fs(face)f Fw(will)0 2173 +y(b)q(e)17 b(treated)h(b)o(y)f(the)g(reader)h(as)f(n)o(um)o(b)q(ers)f +(\(with)h(decimal)e(v)n(alues)h(10,)g(11,)h(15,)f(2989,)0 +2225 y(and)j(64206,)h(resp)q(ectiv)o(ely\).)37 b(The)20 +b(abilit)o(y)d(to)j(alter)g(the)g(input)f(radix)g(is)h(pro)o(vided)0 +2277 y(in)f(Commo)o(n)e(Lisp)i(primarily)d(for)j(the)h(purp)q(ose)g(of) +e(reading)h(data)g(\014les)h(in)e(sp)q(ecial)0 2329 y(formats,)f +(rather)h(than)g(for)g(the)g(purp)q(ose)h(of)e(altering)g(the)i +(default)e(radix)h(in)f(whic)o(h)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 561 585 +561 584 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(561)0 295 y Fw(to)15 b(read)g(programs.)k(The)c(user)h(is)f(strongly) +f(encouraged)i(to)e(use)i Fs(#)1067 291 y(-)1067 299 +y(-)1089 295 y(O)p Fw(,)e Fs(#)1137 291 y(-)1137 299 +y(-)1158 295 y(X)p Fw(,)g Fs(#)1206 291 y(-)1206 299 +y(-)1228 295 y(B)p Fw(,)g(or)h Fs(#)1328 291 y(-)1328 +299 y(-)1350 295 y Fv(n)p Fs(R)0 347 y Fw(syn)o(tax)f(when)g(notating)f +(non-decimal)f(constan)o(ts)j(in)e(programs.)p 0 406 +V 0 467 a Fm(Compatibilit)o(y)k(note:)26 b FA(This)18 +b(v)n(ariable)h(corresp)q(onds)g(to)f(the)f(v)n(ariable)i(called)h +Fj(ibase)15 b FA(in)0 513 y(MacLisp)f(and)g(to)f(the)g(function)i +(called)f Fj(radix)d FA(in)j(In)o(terlisp.)p 0 557 V +1219 704 a Fw([)p Fv(V)m(ariable)s Fw(])-1396 b Fs(*read-suppress*)0 +781 y Fw(When)10 b(the)g(v)n(alue)e(of)h Fs(*read-suppress*)d +Fw(is)k Fs(nil)p Fw(,)f(the)h(Lisp)f(reader)i(op)q(erates)f(normally)m +(.)0 833 y(When)k(it)g(is)g(not)g Fs(nil)p Fw(,)f(then)i(most)e(of)g +(the)i(in)o(teresting)f(op)q(erations)h(of)e(the)i(reader)g(are)0 +885 y(suppressed;)25 b(input)20 b(c)o(haracters)i(are)f(parsed,)h(but)e +(m)o(uc)o(h)f(of)h(what)g(is)g(read)h(is)f(not)0 937 +y(in)o(terpreted.)42 990 y(The)10 b(primary)e(purp)q(ose)j(of)f +Fs(*read-suppress*)d Fw(is)j(to)f(supp)q(ort)i(the)g(op)q(eration)f(of) +f(the)0 1042 y(read-time)g(conditional)f(constructs)j +Fs(#)587 1038 y(-)587 1046 y(-)609 1042 y(+)f Fw(and)f +Fs(#)717 1038 y(-)717 1046 y(-)739 1042 y(-)g Fw(\(see)i(section)g +(22.1.4\).)j(It)c(is)f(imp)q(ortan)o(t)0 1094 y(for)i(these)h +(constructs)h(to)e(b)q(e)g(able)g(to)g(skip)g(o)o(v)o(er)g(the)g(prin)o +(ted)g(represen)o(tation)i(of)d(a)h(Lisp)0 1145 y(expression)18 +b(despite)h(the)e(p)q(ossibilit)o(y)f(that)i(the)f(syn)o(tax)g(of)g +(the)h(skipp)q(ed)g(expression)0 1197 y(ma)o(y)d(not)j(b)q(e)g(en)o +(tirely)f(legal)f(for)h(the)h(curren)o(t)h(implemen)o(tation;)c(this)j +(is)f(b)q(ecause)i(a)0 1249 y(primary)13 b(application)g(of)i +Fs(#)423 1245 y(-)423 1253 y(-)444 1249 y(+)g Fw(and)g +Fs(#)563 1245 y(-)563 1253 y(-)584 1249 y(-)g Fw(is)g(to)f(allo)o(w)f +(the)j(same)e(program)f(to)h(b)q(e)i(shared)0 1301 y(among)9 +b(sev)o(eral)j(Lisp)f(implemen)o(tations)e(despite)j(small)d +(incompatibiliti)o(es)g(of)i(syn)o(tax.)42 1354 y(A)k(non-)p +Fs(nil)g Fw(v)n(alue)g(of)g Fs(*read-suppress*)e Fw(has)j(the)g(follo)o +(wing)d(sp)q(eci\014c)k(e\013ects)h(on)0 1406 y(the)c(Common)d(Lisp)j +(reader:)0 1476 y Fu(.)42 1485 y Fw(All)f(extended)k(tok)o(ens)e(are)g +(completely)e(unin)o(terpreted.)23 b(It)14 b(matters)h(not)f(whether)42 +1537 y(the)i(tok)o(en)f(lo)q(oks)g(lik)o(e)g(a)g(n)o(um)o(b)q(er,)g(m)o +(uc)o(h)f(less)j(lik)o(e)d(a)i(v)n(alid)e(n)o(um)o(b)q(er;)h(the)h +(pattern)42 1589 y(of)i(pac)o(k)n(age)i(mark)o(ers)e(also)h(do)q(es)i +(not)e(matter.)34 b(An)20 b(extended)h(tok)o(en)e(is)h(simply)42 +1641 y(discarded)15 b(and)f(treated)h(as)f(if)f(it)h(w)o(ere)h +Fs(nil)p Fw(;)e(that)i(is,)e(reading)h(an)g(extended)i(tok)o(en)42 +1693 y(when)f Fs(*read-suppress*)c Fw(is)j(non-)p Fs(nil)g +Fw(simply)e(returns)17 b Fs(nil)p Fw(.)i(\(One)c(consequence)42 +1745 y(of)e(this)i(is)f(that)g(the)h(error)g(concerning)g(improp)q(er)f +(dotted-list)g(syn)o(tax)g(will)f(not)h(b)q(e)42 1796 +y(signaled.\))0 1878 y Fu(.)42 1887 y Fw(An)o(y)20 b(standard)g +Fs(#)316 1883 y(-)316 1891 y(-)358 1887 y Fw(macro-c)o(haracter)h +(construction)g(that)f(requires,)j(p)q(ermits,)e(or)42 +1939 y(disallo)o(ws)16 b(an)i(in\014x)f(n)o(umerical)f(argumen)o(t,)i +(suc)o(h)g(as)g Fs(#)928 1935 y(-)928 1943 y(-)950 1939 +y Fv(n)p Fs(R)p Fw(,)f(will)g(not)g(enforce)i(an)o(y)42 +1991 y(constrain)o(t)14 b(on)f(the)i(presence,)h(absence,)f(or)f(v)n +(alue)f(of)g(suc)o(h)i(an)e(argumen)o(t.)0 2073 y Fu(.)42 +2082 y Fw(The)j Fs(#)129 2078 y(-)129 2086 y(-)151 2082 +y(\\)g Fw(construction)h(alw)o(a)o(ys)e(pro)q(duces)j(the)f(v)n(alue)e +Fs(nil)p Fw(.)25 b(It)16 b(will)f(not)h(signal)f(an)42 +2134 y(error)f(ev)o(en)h(if)e(an)h(unkno)o(wn)f(c)o(haracter)i(name)e +(is)h(seen.)0 2216 y Fu(.)42 2225 y Fw(Eac)o(h)g(of)g(the)h +Fs(#)265 2221 y(-)265 2229 y(-)287 2225 y(B)p Fw(,)e +Fs(#)334 2221 y(-)334 2229 y(-)356 2225 y(O)p Fw(,)g +Fs(#)403 2221 y(-)403 2229 y(-)425 2225 y(X)p Fw(,)h(and)g +Fs(#)554 2221 y(-)554 2229 y(-)576 2225 y(R)g Fw(constructions)h(alw)o +(a)o(ys)f(scans)h(o)o(v)o(er)f(a)g(follo)o(wing)42 2277 +y(tok)o(en)i(and)h(pro)q(duces)h(the)g(v)n(alue)e Fs(nil)p +Fw(.)26 b(It)17 b(will)e(not)i(signal)e(an)i(error)h(ev)o(en)f(if)f +(the)42 2329 y(tok)o(en)e(do)q(es)g(not)g(ha)o(v)o(e)g(the)g(syn)o(tax) +g(of)f(a)h(rational)e(n)o(um)o(b)q(er.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 562 586 +562 585 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(562)77 b(COMMON)13 +b(LISP)0 286 y Fu(.)42 295 y Fw(The)h Fs(#)127 291 y(-)127 +299 y(-)149 295 y(*)g Fw(construction)i(alw)o(a)o(ys)d(scans)j(o)o(v)o +(er)e(a)g(follo)o(wing)e(tok)o(en)j(and)f(pro)q(duces)i(the)42 +347 y(v)n(alue)h Fs(nil)p Fw(.)30 b(It)19 b(will)d(not)i(signal)g(an)g +(error)h(ev)o(en)g(if)e(the)i(tok)o(en)f(do)q(es)h(not)f(consist)42 +399 y(solely)13 b(of)g(the)i(c)o(haracters)g Fs(0)f Fw(and)g +Fs(1)p Fw(.)0 467 y Fu(.)42 476 y Fw(Eac)o(h)d(of)g(the)h +Fs(#)256 472 y(-)256 480 y(-)277 476 y(.)f Fw(and)h Fs(#)389 +472 y(-)389 480 y(-)410 476 y(,)f Fw(constructions)i(reads)f(the)g +(follo)o(wing)d(form)g(\(in)i(suppressed)-38 451 y Fk(.)-38 +464 y(.)-38 477 y(.)-38 490 y(.)-38 503 y(.)-38 516 y(.)-38 +529 y(.)-38 542 y(.)-38 555 y(.)-38 568 y(.)-38 581 y(.)-38 +594 y(.)-38 607 y(.)-38 620 y(.)-38 633 y(.)-38 646 y(.)-38 +659 y(.)-38 672 y(.)-38 685 y(.)-38 698 y(.)-38 711 y(.)-38 +724 y(.)-38 737 y(.)-38 749 y(.)-38 762 y(.)-38 775 y(.)-38 +788 y(.)-38 801 y(.)-38 814 y(.)-38 827 y(.)-38 840 y(.)-38 +853 y(.)-38 866 y(.)-38 879 y(.)-38 892 y(.)-38 905 y(.)-38 +918 y(.)-38 931 y(.)-38 944 y(.)-38 957 y(.)-38 970 y(.)-38 +983 y(.)-38 996 y(.)-38 1009 y(.)-38 1022 y(.)-38 1035 +y(.)-38 1048 y(.)-38 1061 y(.)-38 1074 y(.)-38 1087 y(.)-38 +1100 y(.)-38 1113 y(.)-38 1126 y(.)-38 1139 y(.)-38 1152 +y(.)-38 1165 y(.)-38 1178 y(.)-38 1191 y(.)-38 1204 y(.)-38 +1216 y(.)-38 1229 y(.)-38 1242 y(.)-38 1255 y(.)-38 1268 +y(.)-38 1281 y(.)-38 1294 y(.)-38 1307 y(.)-38 1320 y(.)-38 +1333 y(.)-38 1346 y(.)-38 1359 y(.)-38 1372 y(.)-38 1385 +y(.)-38 1398 y(.)-38 1411 y(.)-38 1424 y(.)-38 1437 y(.)-38 +1450 y(.)-38 1463 y(.)-38 1476 y(.)-38 1489 y(.)-38 1502 +y(.)-38 1515 y(.)-38 1528 y(.)-38 1541 y(.)-38 1554 y(.)-38 +1567 y(.)-38 1580 y(.)-38 1593 y(.)-38 1606 y(.)-38 1619 +y(.)-38 1632 y(.)-38 1645 y(.)-38 1658 y(.)-38 1671 y(.)-38 +1683 y(.)-38 1696 y(.)-38 1709 y(.)-38 1722 y(.)-38 1735 +y(.)-38 1748 y(.)-38 1761 y(.)-38 1774 y(.)-38 1787 y(.)-38 +1800 y(.)-38 1813 y(.)-38 1826 y(.)-38 1839 y(.)-38 1852 +y(.)-38 1865 y(.)-38 1878 y(.)-38 1891 y(.)-38 1904 y(.)-38 +1917 y(.)-38 1930 y(.)-38 1943 y(.)-38 1956 y(.)-38 1969 +y(.)-38 1982 y(.)-38 1995 y(.)-38 2008 y(.)-38 2021 y(.)-38 +2034 y(.)-38 2047 y(.)-38 2060 y(.)-38 2073 y(.)-38 2086 +y(.)-38 2099 y(.)-38 2112 y(.)-38 2125 y(.)-38 2138 y(.)-38 +2150 y(.)-38 2163 y(.)-38 2176 y(.)-38 2189 y(.)-38 2202 +y(.)-38 2215 y(.)-38 2228 y(.)-38 2241 y(.)-38 2254 y(.)-38 +2267 y(.)-38 2280 y(.)-38 2293 y(.)-38 2306 y(.)-38 2319 +y(.)-38 2332 y(.)-38 2345 y(.)-38 2358 y(.)-38 2371 y(.)-38 +2384 y(.)-38 2397 y(.)-38 2410 y(.)-38 2423 y(.)-38 2436 +y(.)-38 2449 y(.)-38 2462 y(.)-38 2475 y(.)-38 2488 y(.)-38 +2501 y(.)-38 2514 y(.)-38 2527 y(.)-38 2540 y(.)-38 2553 +y(.)-38 2566 y(.)-38 2579 y(.)-38 2592 y(.)-38 2605 y(.)-38 +2617 y(.)-38 2630 y(.)-38 2643 y(.)-38 2656 y(.)-38 2669 +y(.)-38 2682 y(.)-38 2695 y(.)-38 2708 y(.)-38 2721 y(.)-38 +2734 y(.)-38 2747 y(.)-38 2760 y(.)-38 2773 y(.)-38 2786 +y(.)-38 2799 y(.)-38 2812 y(.)-38 2825 y(.)-38 2838 y(.)-38 +2851 y(.)-38 2864 y(.)-38 2877 y(.)-38 2890 y(.)-38 2903 +y(.)-38 2916 y(.)-38 2929 y(.)-38 2942 y(.)-38 2955 y(.)-38 +2968 y(.)-38 2981 y(.)-38 2994 y(.)-38 3007 y(.)-38 3020 +y(.)-38 3033 y(.)42 528 y Fw(mo)q(de,)i(of)i(course\))i(but)e(do)q(es)h +(not)f(ev)n(aluate)g(it.)21 b(The)16 b(form)d(is)i(discarded)h(and)f +Fs(nil)42 580 y Fw(is)e(pro)q(duced.)-33 592 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 658 a(X3J13)g(v)o(oted)h(in)g(Jan)o(uary)f(1989)g +Ft(h)p Fw(162)p Ft(i)h Fw(to)f(remo)o(v)o(e)g Fs(#)889 +654 y(-)889 662 y(-)911 658 y(,)h Fw(from)e(the)i(language.)-33 +630 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 728 a Fu(.)42 737 y Fw(Eac)o(h)g(of)g(the)h +Fs(#)265 733 y(-)265 741 y(-)287 737 y(A)p Fw(,)e Fs(#)334 +733 y(-)334 741 y(-)356 737 y(S)p Fw(,)h(and)g Fs(#)485 +733 y(-)485 741 y(-)507 737 y(:)g Fw(constructions)i(reads)f(the)g +(follo)o(wing)d(form)g(\(in)i(sup-)42 789 y(pressed)i(mo)q(de,)e(of)g +(course\))j(but)e(do)q(es)h(not)e(in)o(terpret)j(it)d(in)h(an)o(y)f(w)o +(a)o(y;)g(it)h(need)h(not)42 841 y(ev)o(en)e(b)q(e)h(a)f(list)g(in)g +(the)g(case)i(of)d Fs(#)554 837 y(-)554 845 y(-)576 841 +y(S)p Fw(,)g(or)i(a)f(sym)o(b)q(ol)e(in)i(the)g(case)i(of)d +Fs(#)1108 837 y(-)1108 845 y(-)1130 841 y(:)p Fw(.)19 +b(The)14 b(form)f(is)42 892 y(discarded)h(and)g Fs(nil)f +Fw(is)h(pro)q(duced.)0 974 y Fu(.)42 982 y Fw(The)i Fs(#)129 +978 y(-)129 986 y(-)150 978 y(U)150 986 y(U)188 982 y +Fw(construction)g(is)g(totally)e(ignored.)23 b(It)16 +b(do)q(es)g(not)g(read)g(a)f(follo)o(wing)e(form.)42 +1034 y(It)g(pro)q(duces)j(no)e(ob)r(ject,)g(but)g(is)g(treated)h(as)f +(whitespace.)0 1116 y Fu(.)42 1124 y Fw(The)g Fs(#)127 +1120 y(-)127 1128 y(-)149 1124 y(#)149 1120 y(-)149 1128 +y(-)184 1124 y Fw(construction)h(alw)o(a)o(ys)e(pro)q(duces)i +Fs(nil)p Fw(.)0 1203 y(Note)i(that,)g(no)f(matter)f(what)i(the)g(v)n +(alue)f(of)g Fs(*read-suppress*)o Fw(,)e(paren)o(theses)19 +b(still)0 1255 y(con)o(tin)o(ue)h(to)f(delimit)e(\(and)j(construct\))h +(lists;)g(the)f Fs(#)863 1251 y(-)863 1259 y(-)885 1255 +y(\()f Fw(construction)i(con)o(tin)o(ues)f(to)0 1307 +y(delimit)c(v)o(ectors;)21 b(and)d(commen)o(ts,)f(strings,)j(and)e(the) +h(quote)f(and)g(bac)o(kquote)h(con-)0 1359 y(structions)d(con)o(tin)o +(ue)g(to)f(b)q(e)h(in)o(terpreted)h(prop)q(erly)m(.)23 +b(F)m(urthermore,)15 b(suc)o(h)h(situations)0 1410 y(as)49 +1414 y Fn(')72 1410 y Fs(\))p Fw(,)d Fs(#)119 1406 y(-)119 +1414 y(-)141 1410 y(<)p Fw(,)g Fs(#)188 1406 y(-)188 +1414 y(-)210 1410 y(\))p Fw(,)g(and)h Fs(#)338 1406 y(-)338 +1414 y(-)360 1410 y Ft(h)p Fw(space)p Ft(i)h Fw(con)o(tin)o(ue)f(to)g +(signal)f(errors.)42 1463 y(In)18 b(some)f(cases,)k(it)d(ma)o(y)e(b)q +(e)j(appropriate)g(for)f(a)g(user-written)i(macro-c)o(haracter)0 +1515 y(de\014nition)15 b(to)g(c)o(hec)o(k)h(the)g(v)n(alue)e(of)h +Fs(*read-suppress*)d Fw(and)j(to)g(a)o(v)o(oid)e(certain)j(com-)0 +1567 y(putations)e(or)g(side)g(e\013ects)i(if)d(its)h(v)n(alue)f(is)h +(not)f Fs(nil)p Fw(.)1219 1731 y([)p Fv(V)m(ariable)s +Fw(])-1396 b Fs(*read-eval*)-33 1702 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1808 a Fw(X3J13)14 b(v)o(oted)g(in)g(June)h(1989)e +Ft(h)p Fw(40)p Ft(i)h Fw(to)g(add)g(a)g(new)h(reader)g(con)o(trol)f(v)n +(ariable,)f Fs(*read-)0 1860 y(eval*)p Fw(,)f(whose)h(default)g(v)n +(alue)f(is)h Fs(t)p Fw(.)k(If)c Fs(*read-eval*)e Fw(is)h(false,)h(the)g +Fs(#)1101 1856 y(-)1101 1864 y(-)1123 1860 y(.)g Fw(reader)h(macro)0 +1912 y(signals)f(an)h(error.)42 1965 y(Prin)o(ting)i(is)h(also)g +(a\013ected.)29 b(If)16 b Fs(*read-eval*)f Fw(is)i(false)g(and)g +Fs(*print-readably*)0 2017 y Fw(is)e(true,)g(an)o(y)g +Fs(print-object)d Fw(metho)q(d)i(that)h(w)o(ould)f(otherwise)i(output)f +(a)g Fs(#)1223 2013 y(-)1223 2021 y(-)1245 2017 y(.)g +Fw(reader)0 2069 y(macro)9 b(m)o(ust)f(either)j(output)f(something)f +(di\013eren)o(t)h(or)g(signal)f(an)h(error)g(of)g(t)o(yp)q(e)g +Fs(print-)0 2120 y(not-readable)p Fw(.)42 2173 y(Binding)g +Fs(*read-eval*)e Fw(to)j Fs(nil)f Fw(is)h(useful)g(when)g(reading)g +(data)g(that)g(came)f(from)f(an)0 2225 y(un)o(trusted)j(source,)g(suc)o +(h)f(as)f(a)g(net)o(w)o(ork)h(or)f(a)g(user-supplied)h(data)f(\014le;)h +(it)f(prev)o(en)o(ts)i(the)0 2277 y Fs(#)0 2273 y(-)0 +2281 y(-)22 2277 y(.)h Fw(reader)j(macro)c(from)g(b)q(eing)i(exploited) +g(as)g(a)g(\\T)m(ro)r(jan)f(horse")h(to)g(cause)h(arbitrary)0 +2329 y(forms)e(to)g(b)q(e)i(ev)n(aluated.)-33 2340 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 563 587 +563 586 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(563)0 295 y Fo(22.1.3.)20 b(Macro)15 b(Characters)0 +377 y Fw(If)d(the)i(reader)g(encoun)o(ters)h(a)d(macro)g(c)o(haracter,) +i(then)f(the)h(function)e(asso)q(ciated)i(with)0 429 +y(that)i(macro)e(c)o(haracter)j(is)e(in)o(v)o(ok)o(ed)g(and)h(ma)o(y)d +(pro)q(duce)k(an)e(ob)r(ject)i(to)e(b)q(e)h(returned.)0 +481 y(This)c(function)g(ma)o(y)e(read)j(follo)o(wing)c(c)o(haracters)14 +b(in)e(the)g(stream)g(in)g(whatev)o(er)h(syn)o(tax)0 +533 y(it)h(lik)o(es)g(\(it)g(ma)o(y)f(ev)o(en)i(call)f +Fs(read)f Fw(recursiv)o(ely\))j(and)e(return)i(the)f(ob)r(ject)g +(represen)o(ted)0 585 y(b)o(y)g(that)h(syn)o(tax.)23 +b(Macro)16 b(c)o(haracters)h(ma)o(y)d(or)i(ma)o(y)d(not)j(b)q(e)g +(recognized,)h(of)e(course,)0 637 y(when)f(read)h(as)f(part)g(of)f +(other)i(sp)q(ecial)f(syn)o(taxes)g(\(suc)o(h)h(as)f(for)g(strings\).) +42 689 y(The)i(reader)h(is)e(therefore)j(organized)e(in)o(to)f(t)o(w)o +(o)g(parts:)23 b(the)16 b(basic)g(dispatc)o(h)g(lo)q(op,)0 +741 y(whic)o(h)h(also)g(distinguishes)g(sym)o(b)q(ols)f(and)h(n)o(um)o +(b)q(ers,)g(and)h(the)f(collection)g(of)g(macro)0 792 +y(c)o(haracters.)i(An)o(y)13 b(c)o(haracter)h(can)f(b)q(e)h +(reprogrammed)d(as)i(a)f(macro)g(c)o(haracter;)i(this)f(is)0 +844 y(a)d(means)g(b)o(y)h(whic)o(h)g(the)g(reader)h(can)f(b)q(e)h +(extended.)18 b(The)11 b(macro)f(c)o(haracters)i(normally)0 +896 y(de\014ned)j(are)f(as)g(follo)o(ws:)0 995 y Fs(\()0 +1054 y Fw(The)k(left-paren)o(thesis)h(c)o(haracter)g(initiates)f +(reading)g(of)f(a)g(pair)h(or)g(list.)29 b(The)19 b(func-)0 +1106 y(tion)c Fs(read)f Fw(is)h(called)g(recursiv)o(ely)h(to)g(read)f +(successiv)o(e)j(ob)r(jects)e(un)o(til)f(a)g(righ)o(t)f(paren-)0 +1158 y(thesis)j(is)f(found)g(to)g(b)q(e)h(next)f(in)g(the)h(input)f +(stream.)24 b(A)17 b(list)e(of)h(the)h(ob)r(jects)g(read)g(is)0 +1210 y(returned.)j(Th)o(us)14 b(the)g(input)g(sequence)0 +1309 y Fs(\(a)21 b(b)g(c\))0 1408 y Fw(is)9 b(read)h(as)g(a)f(list)g +(of)f(three)j(ob)r(jects)g(\(the)f(sym)o(b)q(ols)e Fs(a)p +Fw(,)h Fs(b)p Fw(,)h(and)f Fs(c)p Fw(\).)17 b(The)9 b(righ)o(t)g(paren) +o(thesis)0 1460 y(need)21 b(not)f(imm)o(ediately)d(follo)o(w)h(the)i +(prin)o(ted)h(represen)o(tation)g(of)e(the)i(last)e(ob)r(ject;)0 +1512 y(whitespace)d(c)o(haracters)h(and)e(commen)o(ts)f(ma)o(y)f +(precede)18 b(it.)j(This)15 b(can)h(b)q(e)g(useful)f(for)0 +1564 y(putting)f(one)g(ob)r(ject)g(on)g(eac)o(h)g(line)g(and)g(making)d +(it)j(easy)g(to)g(add)f(new)i(ob)r(jects:)0 1663 y Fs(\(defun)20 +b(traffic-light)e(\(color\))42 1715 y(\(case)i(color)85 +1767 y(\(green\))85 1819 y(\(red)g(\(stop\)\))85 1871 +y(\(amber)g(\(accelerate\)\))103 b(;)p Fw(Insert)15 b(more)e(colors)h +(after)g(this)g(line)85 1923 y Fs(\)\))42 2022 y Fw(It)i(ma)o(y)f(b)q +(e)i(that)f Fv(no)i Fw(ob)r(jects)f(precede)i(the)e(righ)o(t)f(paren)o +(thesis,)i(as)f(in)f Fs(\(\))g Fw(or)g Fs(\()21 b(\))p +Fw(;)0 2074 y(this)14 b(reads)h(as)f(a)f(list)h(of)f(zero)i(ob)r(jects) +g(\(the)f(empt)o(y)f(list\).)42 2126 y(If)i(a)g(tok)o(en)g(that)h(is)f +(just)h(a)f(dot,)g(not)h(preceded)i(b)o(y)d(an)g(escap)q(e)i(c)o +(haracter,)g(is)e(read)0 2178 y(after)e(some)f(ob)r(ject,)h(then)h +(exactly)e(one)h(more)f(ob)r(ject)i(m)o(ust)d(follo)o(w)g(the)j(dot,)e +(p)q(ossibly)0 2230 y(follo)o(w)o(ed)g(b)o(y)i(whitespace,)h(follo)o(w) +o(ed)d(b)o(y)h(the)i(righ)o(t)e(paren)o(thesis:)0 2329 +y Fs(\(a)21 b(b)g(c)g(.)g(d\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 564 588 +564 587 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(564)77 b(COMMON)13 +b(LISP)0 295 y Fw(This)h(means)f(that)i(the)f Fv(c)n(dr)g +Fw(of)g(the)h(last)f(pair)f(in)h(the)h(list)e(is)h(not)h +Fs(nil)p Fw(,)e(but)h(rather)h(the)0 347 y(ob)r(ject)e(whose)g +(represen)o(tation)i(follo)o(w)o(ed)10 b(the)k(dot.)j(The)c(ab)q(o)o(v) +o(e)f(example)f(migh)o(t)g(ha)o(v)o(e)0 399 y(b)q(een)k(the)g(result)f +(of)f(ev)n(aluating)0 500 y Fs(\(cons)128 504 y Fn(')151 +500 y Fs(a)21 b(\(cons)322 504 y Fn(')346 500 y Fs(b)g(\(cons)516 +504 y Fn(')540 500 y Fs(c)581 504 y Fn(')604 500 y Fs(d\)\)\))f +Ft(\))h Fs(\(a)g(b)g(c)g(.)g(d\))0 602 y Fw(Similarly)l(,)11 +b(w)o(e)j(ha)o(v)o(e)0 704 y Fs(\(cons)128 708 y Fn(')151 +704 y Fs(znets)279 708 y Fn(')303 704 y Fs(wolq-zorbitan\))k +Ft(\))j Fs(\(znets)e(.)i(wolq-zorbitan\))0 805 y Fw(It)14 +b(is)g(p)q(ermissible)f(for)g(the)i(ob)r(ject)g(follo)o(wing)c(the)j +(dot)g(to)g(b)q(e)g(a)g(list:)0 907 y Fs(\(a)21 b(b)g(c)g(d)g(.)g(\(e)f +(f)h(.)g(\(g\)\)\))0 1009 y Fw(is)14 b(the)g(same)f(as)0 +1110 y Fs(\(a)21 b(b)g(c)g(d)g(e)g(f)g(g\))0 1212 y Fw(but)10 +b(a)g(list)f(follo)o(wing)f(a)h(dot)h(is)g(a)g(non-standard)g(form)e +(that)i Fs(print)f Fw(will)f(nev)o(er)j(pro)q(duce.)0 +1314 y Fs(\))0 1379 y Fw(The)i(righ)o(t-paren)o(thesis)g(c)o(haracter)h +(is)e(part)h(of)f(v)n(arious)f(constructs)k(\(suc)o(h)e(as)g(the)g +(syn-)0 1431 y(tax)j(for)g(lists\))g(using)g(the)h(left-paren)o(thesis) +g(c)o(haracter)g(and)g(is)f(in)o(v)n(alid)e(except)j(when)0 +1483 y(used)e(in)e(suc)o(h)i(a)e(construct.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 565 589 +565 588 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(565)-2 299 y Fn(')0 360 y Fw(The)12 b(single-quote)g(\(accen)o(t)h +(acute\))f(c)o(haracter)h(pro)o(vides)f(an)g(abbreviation)e(to)i(mak)o +(e)e(it)0 412 y(easier)j(to)g(put)g(constan)o(ts)g(in)f(programs.)17 +b(The)c(form)845 416 y Fn(')869 412 y Fv(fo)n(o)f Fw(reads)h(the)h +(same)d(as)i Fs(\(quote)0 464 y Fv(fo)n(o)p Fs(\))p Fw(:)18 +b(a)13 b(list)h(of)f(the)i(sym)o(b)q(ol)d Fs(quote)g +Fw(and)i Fv(fo)n(o)p Fw(.)0 583 y Fs(;)0 646 y Fw(Semicolon)e(is)i +(used)h(to)e(write)i(commen)o(ts.)53 b(The)14 b(semicolon)f(and)g(all)g +(c)o(haracters)j(up)0 698 y(to)c(and)f(including)g(the)h(next)g +(newline)g(are)g(ignored.)18 b(Th)o(us)12 b(a)f(commen)o(t)f(can)i(b)q +(e)g(put)g(at)0 749 y(the)j(end)g(of)f(an)o(y)h(line)f(without)g +(a\013ecting)h(the)g(reader.)22 b(\(A)15 b(commen)o(t)d(will)h +(terminate)0 801 y(a)h(tok)o(en,)f(but)h(a)g(newline)g(w)o(ould)f +(terminate)g(the)i(tok)o(en)f(an)o(yw)o(a)o(y)m(.\))42 +855 y(There)19 b(is)f(no)g(functional)f(di\013erence)j(b)q(et)o(w)o +(een)g(using)e(one)g(semicolon)f(and)h(using)-33 827 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 907 a(more)13 b(than)h(one,)f(but)h(the)h(con)o(v)o(en)o +(tions)f(sho)o(wn)g(here)h(are)f(in)g(common)d(use.)-33 +919 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1027 a Fs(;;;;)20 b(COMMENT-EXAMPLE)e(function.)0 +1079 y(;;;)j(This)f(function)f(is)i(useless)f(except)g(to)h +(demonstrate)d(comments.)0 1131 y(;;;)j(\(Actually,)e(this)h(example)g +(is)g(much)h(too)f(cluttered)g(with)g(them.\))0 1235 +y(\(defun)g(comment-example)e(\(x)j(y\))126 b(;X)21 b(is)g(anything;)e +(Y)i(is)g(an)g(a-list.)42 1287 y(\(cond)f(\(\(listp)g(x\))h(x\))275 +b(;If)20 b(X)h(is)g(a)g(list,)f(use)h(that.)169 1339 +y(;;)g(X)g(is)g(now)f(not)h(a)g(list.)f(There)g(are)h(two)f(other)g +(cases.)169 1391 y(\(\(symbolp)g(x\))191 1443 y(;;)g(Look)h(up)f(a)h +(symbol)f(in)h(the)g(a-list.)191 1494 y(\(cdr)f(\(assoc)g(x)h(y\)\)\)) +147 b(;Remember,)19 b(\(cdr)i(nil\))f(is)h(nil.)169 1546 +y(;;)g(Do)g(this)f(when)h(all)f(else)g(fails:)169 1598 +y(\(t)h(\(cons)f(x)339 b(;Add)20 b(x)h(to)g(a)g(default)f(list.)358 +1654 y Fn(')381 1650 y Fs(\(\(lisp)g(t\))148 b(;LISP)20 +b(is)h(okay.)402 1702 y(\(fortran)f(nil\))41 b(;FORTRAN)20 +b(is)h(not.)402 1754 y(\(pl/i)f(-500\))84 b(;Note)20 +b(that)h(you)f(can)h(put)f(comments)g(in)402 1806 y(\(ada)h(.001\))104 +b(;)21 b("data")f(as)h(well)f(as)h(in)g("programs".)402 +1858 y(;;)g(COBOL??)402 1910 y(\(teco)f(-1.0e9\)\)\)\)\)\))0 +2028 y Fw(In)14 b(this)g(example,)e(commen)o(ts)g(ma)o(y)g(b)q(egin)i +(with)f(one)i(to)e(four)h(semicolons.)0 2112 y Fu(.)42 +2121 y Fw(Single-semicolon)c(commen)o(ts)g(are)j(all)f(aligned)f(to)i +(the)g(same)e(column)g(at)i(the)g(righ)o(t;)42 2173 y(usually)j(eac)o +(h)h(commen)o(t)e(concerns)k(only)d(the)i(co)q(de)g(it)f(is)f(next)i +(to.)27 b(Occasionally)42 2225 y(a)15 b(commen)o(t)f(is)i(long)f +(enough)i(to)f(o)q(ccup)o(y)g(t)o(w)o(o)g(or)g(three)h(lines;)g(in)f +(this)g(case,)h(it)f(is)42 2277 y(con)o(v)o(en)o(tional)c(to)h(inden)o +(t)h(the)g(con)o(tin)o(ued)f(lines)g(of)g(the)h(commen)o(t)d(one)j +(space)g(\(after)42 2329 y(the)g(semicolon\).)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 566 590 +566 589 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(566)77 b(COMMON)13 +b(LISP)0 286 y Fu(.)42 295 y Fw(Double-semicolon)h(commen)o(ts)g(are)j +(aligned)f(to)g(the)h(lev)o(el)f(of)g(inden)o(tation)f(of)h(the)42 +347 y(co)q(de.)24 b(A)15 b(space)i(con)o(v)o(en)o(tionally)d(follo)o +(ws)g(the)i(t)o(w)o(o)f(semicolons.)22 b(Suc)o(h)17 b(commen)o(ts)42 +399 y(usually)c(describ)q(e)i(the)g(state)g(of)e(the)h(program)f(at)g +(that)h(p)q(oin)o(t)g(or)g(the)g(co)q(de)h(section)42 +450 y(that)e(follo)o(ws)g(the)h(commen)o(t.)0 522 y Fu(.)42 +531 y Fw(T)m(riple-semicolon)h(commen)o(ts)i(are)i(aligned)e(to)h(the)h +(left)f(margin.)29 b(They)19 b(usually)42 583 y(do)q(cumen)o(t)13 +b(whole)h(programs)e(or)i(large)g(co)q(de)g(blo)q(c)o(ks.)0 +655 y Fu(.)42 664 y Fw(Quadruple-semicolon)i(commen)o(ts)g(usually)h +(indicate)h(titles)f(of)h(whole)f(programs)42 716 y(or)c(large)h(co)q +(de)h(blo)q(c)o(ks.)p 0 776 V 0 836 a Fm(Compatibilit)o(y)e(note:)20 +b FA(These)14 b(con)o(v)o(en)o(tions)j(arose)d(among)h(users)g(of)f +(MacLisp)h(and)g(ha)o(v)o(e)0 882 y(b)q(een)h(found)h(to)e(b)q(e)h(v)o +(ery)g(useful.)26 b(The)15 b(con)o(v)o(en)o(tions)j(are)e(con)o(v)o +(enien)o(tly)i(exploited)g(b)o(y)e(cer-)0 927 y(tain)h(soft)o(w)o(are)g +(to)q(ols,)h(suc)o(h)f(as)f(the)h(EMA)o(CS)f(editor)i(and)f(the)f(A)m +(TSIGN)g(listing)j(program)0 973 y(dev)o(elop)q(ed)c(at)e(MIT.)42 +1019 y(The)j(A)m(TSIGN)g(listing)j(program,)f(alas,)g(is)f(no)g(longer) +h(in)g(use,)f(but)g(EMA)o(CS)g(is)g(widely)-33 993 y +@beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1064 a(a)o(v)n(ailable,)f(esp)q(ecially)g(the)d(GNU)f +(EMA)o(CS)h(implemen)o(tation)q(,)i(whic)o(h)f(is)g(a)o(v)n(ailable)i +(from)c(the)0 1110 y(F)m(ree)k(Soft)o(w)o(are)h(F)m(oundation,)i(675)d +(Massac)o(h)o(usetts)i(Av)o(en)o(ue,)g(Cam)o(bridge,)g(Massac)o(h)o +(usetts)0 1156 y(02139.)g(Remem)o(b)q(er,)13 b Fm(G)p +FA(NU's)f Fm(N)p FA(ot)g Fm(U)p FA(NIX.)-33 1166 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1189 V 0 1275 a Fs(")0 1338 y Fw(The)21 +b(double)g(quote)f(c)o(haracter)i(b)q(egins)f(the)h(prin)o(ted)f +(represen)o(tation)h(of)e(a)g(string.)0 1390 y(Successiv)o(e)d(c)o +(haracters)g(are)f(read)g(from)d(the)j(input)f(stream)g(and)g(accum)o +(ulated)g(un)o(til)0 1442 y(another)h(double)e(quote)i(is)f(encoun)o +(tered.)23 b(An)16 b(exception)f(to)g(this)g(o)q(ccurs)i(if)d(a)h +Fv(single)0 1494 y(esc)n(ap)n(e)e Fw(c)o(haracter)i(is)d(seen;)j(the)e +(escap)q(e)i(c)o(haracter)f(is)f(discarded,)g(the)h(next)f(c)o +(haracter)0 1546 y(is)g(accum)o(ulated,)f(and)h(accum)o(ulation)f(con)o +(tin)o(ues.)18 b(When)c(a)f(matc)o(hing)e(double)i(quote)0 +1598 y(is)h(seen,)h(all)e(the)i(accum)o(ulated)e(c)o(haracters)j(up)f +(to)f(but)g(not)g(including)g(the)h(matc)o(hing)0 1650 +y(double)f(quote)g(are)g(made)f(in)o(to)g(a)h(simple)e(string)i(and)g +(returned.)-2 1755 y Fn(`)0 1817 y Fw(The)h(bac)o(kquote)f(\(accen)o(t) +h(gra)o(v)o(e\))f(c)o(haracter)i(mak)o(es)d(it)h(easier)h(to)f(write)g +(programs)f(to)0 1869 y(construct)j(complex)c(data)i(structures)i(b)o +(y)e(using)f(a)h(template.)42 1920 y Fv(Notic)n(e)i(of)h(c)n(orr)n(e)n +(ction.)25 b Fw(In)16 b(the)h(\014rst)g(edition,)f(the)h(bac)o(kquote)g +(c)o(haracter)g Ft(h)1281 1924 y Fn(`)1305 1920 y Ft(i)f +Fw(ap-)-33 1892 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1972 a(p)q(earing)e(at)g(the)g(left)g(margin)e(ab)q(o)o +(v)o(e)h(w)o(as)h(inadv)o(erten)o(tly)g(omitted.)-33 +1984 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2024 a(As)g(an)g(example,)e(writing)-2 +2130 y Fn(`)21 2126 y Fs(\(cond)20 b(\(\(numberp)g(,x\))g(,@y\))h(\(t)f +(\(print)g(,x\))h(,@y\)\))0 2227 y Fw(is)14 b(roughly)f(equiv)n(alen)o +(t)g(to)h(writing)0 2329 y Fs(\(list)128 2333 y Fn(')151 +2329 y Fs(cond)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 567 591 +567 590 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(567)127 295 y Fs(\(cons)20 b(\(list)385 299 y Fn(')408 +295 y Fs(numberp)g(x\))h(y\))127 347 y(\(list*)277 351 +y Fn(')300 347 y Fs(t)g(\(list)471 351 y Fn(')494 347 +y Fs(print)g(x\))f(y\)\))0 449 y Fw(The)14 b(general)f(idea)g(is)g +(that)g(the)h(bac)o(kquote)g(is)f(follo)o(w)o(ed)e(b)o(y)i(a)g +(template,)f(a)h(picture)h(of)0 501 y(a)g(data)g(structure)j(to)d(b)q +(e)h(built.)k(This)14 b(template)g(is)g(copied,)g(except)i(that)e +(within)g(the)0 552 y(template)d(commas)e(can)k(app)q(ear.)k(Where)c(a) +f(comma)d(o)q(ccurs,)k(the)g(form)d(follo)o(wing)f(the)0 +604 y(comma)j(is)j(to)f(b)q(e)i(ev)n(aluated)f(to)f(pro)q(duce)i(an)f +(ob)r(ject)h(to)e(b)q(e)i(inserted)g(at)f(that)g(p)q(oin)o(t.)0 +656 y(Assume)c Fs(b)g Fw(has)g(the)h(v)n(alue)f Fs(3)p +Fw(;)g(then)h(ev)n(aluating)e(the)h(form)f(denoted)i(b)o(y)1134 +660 y Fn(`)1157 656 y Fs(\(a)21 b(b)g(,b)f(,\(+)0 708 +y(b)h(1\))g(b\))13 b Fw(pro)q(duces)j(the)e(result)h +Fs(\(a)21 b(b)f(3)h(4)g(b\))p Fw(.)42 760 y(If)16 b(a)h(comma)d(is)j +(immedia)o(tely)d(follo)o(w)o(ed)i(b)o(y)h(an)g(at-sign)f(\()p +Fs(@)p Fw(\),)h(then)h(the)g(form)d(fol-)0 812 y(lo)o(wing)d(the)i +(at-sign)f(is)g(ev)n(aluated)g(to)h(pro)q(duce)g(a)g +Fv(list)e Fw(of)h(ob)r(jects.)19 b(These)c(ob)r(jects)f(are)0 +864 y(then)h(\\spliced")f(in)o(to)f(place)i(in)e(the)i(template.)j(F)m +(or)c(example,)e(if)i Fs(x)g Fw(has)g(the)h(v)n(alue)e +Fs(\(a)0 916 y(b)21 b(c\))p Fw(,)13 b(then)-2 1022 y +Fn(`)21 1018 y Fs(\(x)21 b(,x)g(,@x)f(foo)h(,\(cadr)f(x\))g(bar)h +(,\(cdr)f(x\))h(baz)f(,@\(cdr)g(x\)\))64 1070 y Ft(\))g +Fs(\(x)h(\(a)g(b)g(c\))f(a)h(b)g(c)g(foo)g(b)g(bar)f(\(b)h(c\))g(baz)f +(b)h(c\))42 1172 y Fw(The)14 b(bac)o(kquote)h(syn)o(tax)f(can)h(b)q(e)g +(summarized)d(formally)f(as)k(follo)o(ws.)j(F)m(or)13 +b(eac)o(h)i(of)0 1223 y(sev)o(eral)i(situations)f(in)g(whic)o(h)g(bac)o +(kquote)g(can)h(b)q(e)g(used,)g(a)f(p)q(ossible)g(in)o(terpretation)0 +1275 y(of)d(that)h(situation)g(as)g(an)g(equiv)n(alen)o(t)f(form)f(is)i +(giv)o(en.)k(Note)c(that)g(the)h(form)d(is)i(equiv-)0 +1327 y(alen)o(t)h(only)f(in)h(the)h(sense)h(that)e(when)h(it)e(is)h(ev) +n(aluated)g(it)g(will)f(calculate)h(the)h(correct)0 1379 +y(result.)32 b(An)18 b(implemen)o(tati)o(on)d(is)j(quite)h(free)f(to)g +(in)o(terpret)i(bac)o(kquote)e(in)g(an)o(y)f(w)o(a)o(y)0 +1431 y(suc)o(h)d(that)g(a)f(bac)o(kquoted)h(form,)d(when)j(ev)n +(aluated,)f(will)f(pro)q(duce)i(a)f(result)i Fs(equal)d +Fw(to)0 1483 y(that)i(pro)q(duced)h(b)o(y)f(the)g(in)o(terpretation)h +(sho)o(wn)e(here.)0 1543 y Fu(.)39 1556 y Fn(`)63 1552 +y Fv(b)n(asic)f Fw(is)h(the)g(same)e(as)423 1556 y Fn(')446 +1552 y Fv(b)n(asic)p Fw(,)h(that)h(is,)f Fs(\(quote)20 +b Fv(b)n(asic)p Fs(\))p Fw(,)12 b(for)g(an)o(y)g(form)f +Fv(b)n(asic)i Fw(that)42 1604 y(is)g(not)h(a)g(list)f(or)h(a)g(general) +g(v)o(ector.)0 1676 y Fu(.)39 1689 y Fn(`)63 1685 y Fs(,)p +Fv(form)e Fw(is)h(the)g(same)f(as)h Fv(form)p Fw(,)f(for)h(an)o(y)g +Fv(form)p Fw(,)f(pro)o(vided)h(that)g(the)g(represen)o(tation)42 +1737 y(of)k Fv(form)h Fw(do)q(es)h(not)f(b)q(egin)g(with)g(\\)p +Fs(@)p Fw(")g(or)g(\\)p Fs(.)p Fw(".)30 b(\(A)19 b(similar)d(ca)o(v)o +(eat)i(holds)g(for)g(all)42 1789 y(o)q(ccurrences)f(of)c(a)g(form)g +(after)h(a)f(comma.\))0 1861 y Fu(.)39 1874 y Fn(`)63 +1870 y Fs(,@)p Fv(form)g Fw(is)g(an)h(error.)0 1943 y +Fu(.)39 1956 y Fn(`)63 1952 y Fs(\()p Fv(x1)21 b(x2)h(x3)f +Fs(...)g Fv(xn)h Fs(.)f Fv(atom)p Fs(\))13 b Fw(ma)o(y)f(b)q(e)j(in)o +(terpreted)g(to)f(mean)42 2033 y Fs(\(append)19 b Fw([)p +Fv(x1)p Fw(])i([)p Fv(x2)p Fw(])g([)p Fv(x3)p Fw(])f +Fs(...)h Fw([)p Fv(xn)p Fw(])g Fs(\(quote)f Fv(atom)p +Fs(\)\))42 2114 y Fw(where)13 b(the)f(brac)o(k)o(ets)h(are)f(used)h(to) +f(indicate)g(a)f(transformation)f(of)h(an)h Fv(xj)g Fw(as)g(follo)o +(ws:)42 2196 y({)20 b([)p Fv(form)p Fw(])10 b(is)h(in)o(terpreted)i(as) +f Fs(\(list)630 2200 y Fn(`)653 2196 y Fv(form)p Fs(\))p +Fw(,)f(whic)o(h)g(con)o(tains)h(a)f(bac)o(kquoted)g(form)83 +2247 y(that)j(m)o(ust)f(then)h(b)q(e)h(further)g(in)o(terpreted.)42 +2329 y({)20 b([)p Fs(,)p Fv(form)p Fw(])12 b(is)i(in)o(terpreted)h(as)f +Fs(\(list)21 b Fv(form)p Fs(\))p Fw(.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 568 592 +568 591 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(568)77 b(COMMON)13 +b(LISP)42 295 y Fw({)20 b([)p Fs(,@)p Fv(form)p Fw(])12 +b(is)i(in)o(terpreted)h(simply)d(as)i Fv(form)p Fw(.)0 +367 y Fu(.)39 380 y Fn(`)63 376 y Fs(\()p Fv(x1)21 b(x2)h(x3)f +Fs(...)g Fv(xn)p Fs(\))e Fw(ma)o(y)d(b)q(e)j(in)o(terpreted)h(to)e +(mean)f(the)i(same)f(as)g(the)h(bac)o(k-)42 428 y(quoted)13 +b(form)274 432 y Fn(`)297 428 y Fs(\()p Fv(x1)22 b(x2)f(x3)h +Fs(...)f Fv(xn)g Fs(.)g(nil\))p Fw(,)12 b(thereb)o(y)j(reducing)f(it)f +(to)h(the)g(previ-)42 479 y(ous)g(case.)0 551 y Fu(.)39 +564 y Fn(`)63 560 y Fs(\()p Fv(x1)21 b(x2)h(x3)f Fs(...)g +Fv(xn)h Fs(.)f(,)p Fv(form)p Fs(\))13 b Fw(ma)o(y)e(b)q(e)k(in)o +(terpreted)g(to)f(mean)42 641 y Fs(\(append)19 b Fw([)p +Fv(x1)p Fw(])i([)p Fv(x2)p Fw(])g([)p Fv(x3)p Fw(])f +Fs(...)h Fw([)p Fv(xn)p Fw(])g Fv(form)p Fs(\))42 722 +y Fw(where)15 b(the)f(brac)o(k)o(ets)h(indicate)f(a)f(transformation)f +(of)i(an)f Fv(xj)h Fw(as)g(describ)q(ed)i(ab)q(o)o(v)o(e.)0 +794 y Fu(.)39 807 y Fn(`)63 803 y Fs(\()p Fv(x1)21 b(x2)h(x3)f +Fs(...)g Fv(xn)h Fs(.)f(,@)p Fv(form)p Fs(\))12 b Fw(is)i(an)g(error.)0 +875 y Fu(.)39 888 y Fn(`)63 884 y Fs(#)63 880 y(-)63 +888 y(-)84 884 y(\()p Fv(x1)22 b(x2)g(x3)f Fs(...)g Fv(xn)p +Fs(\))14 b Fw(ma)o(y)e(b)q(e)i(in)o(terpreted)i(to)e(mean)42 +965 y Fs(\(apply)19 b(#)193 961 y(-)193 969 y(-)n Fn(')236 +965 y Fs(vector)386 969 y Fn(`)410 965 y Fs(\()p Fv(x1)i(x2)h(x3)f +Fs(...)g Fv(xn)p Fs(\)\))42 1046 y Fw(No)c(other)h(uses)h(of)e(comma)d +(are)k(p)q(ermitted;)h(in)e(particular,)h(it)f(ma)o(y)f(not)h(app)q +(ear)0 1098 y(within)c(the)i Fs(#)201 1094 y(-)201 1102 +y(-)222 1098 y(A)f Fw(or)g Fs(#)309 1094 y(-)309 1102 +y(-)331 1098 y(S)f Fw(syn)o(tax.)42 1150 y(An)o(ywhere)21 +b(\\)p Fs(,@)p Fw(")f(ma)o(y)e(b)q(e)k(used,)g(the)g(syn)o(tax)e(\\)p +Fs(,.)p Fw(")g(ma)o(y)e(b)q(e)j(used)h(instead)f(to)0 +1202 y(indicate)9 b(that)h(it)f(is)g(p)q(ermissible)g(to)g(destro)o(y)h +(the)g(list)f(pro)q(duced)i(b)o(y)e(the)h(form)d(follo)o(wing)0 +1254 y(the)13 b(\\)p Fs(,.)p Fw(";)e(this)h(ma)o(y)e(p)q(ermit)h(more)g +(e\016cien)o(t)h(co)q(de,)h(using)f Fs(nconc)f Fw(instead)h(of)f +Fs(append)p Fw(,)0 1306 y(for)j(example.)42 1357 y(If)i(the)h(bac)o +(kquote)f(syn)o(tax)h(is)f(nested,)i(the)f(innermost)f(bac)o(kquoted)g +(form)f(should)0 1409 y(b)q(e)k(expanded)f(\014rst.)31 +b(This)18 b(means)f(that)h(if)f(sev)o(eral)h(commas)e(o)q(ccur)j(in)e +(a)h(ro)o(w,)g(the)0 1461 y(leftmost)13 b(one)h(b)q(elongs)g(to)f(the)i +(innermost)e(bac)o(kquote.)42 1513 y(Once)19 b(again,)e(it)h(is)f +(emphasized)h(that)g(an)g(implemen)o(tati)o(on)d(is)j(free)h(to)f(in)o +(terpret)0 1565 y(a)e(bac)o(kquoted)h(form)e(as)i(an)o(y)f(form)f +(that,)i(when)g(ev)n(aluated,)g(will)e(pro)q(duce)j(a)e(result)0 +1617 y(that)f(is)f Fs(equal)f Fw(to)h(the)i(result)f(implied)d(b)o(y)i +(the)h(ab)q(o)o(v)o(e)f(de\014nition.)20 b(In)14 b(particular,)g(no)0 +1669 y(guaran)o(tees)h(are)f(made)e(as)i(to)g(whether)h(the)f +(constructed)i(cop)o(y)e(of)f(the)h(template)f(will)0 +1721 y(or)j(will)e(not)i(share)g(list)g(structure)i(with)d(the)i +(template)d(itself.)24 b(As)16 b(an)g(example,)e(the)0 +1773 y(ab)q(o)o(v)o(e)g(de\014nition)f(implies)f(that)-2 +1877 y Fn(`)21 1873 y Fs(\(\(,a)21 b(b\))f(,c)h(,@d\))0 +1974 y Fw(will)12 b(b)q(e)j(in)o(terpreted)g(as)f(if)f(it)h(w)o(ere)0 +2075 y Fs(\(append)20 b(\(list)g(\(append)g(\(list)g(a\))g(\(list)800 +2079 y Fn(')824 2075 y Fs(b\))886 2079 y Fn(')910 2075 +y Fs(nil\)\))g(\(list)g(c\))h(d)1275 2079 y Fn(')1299 +2075 y Fs(nil\))0 2176 y Fw(but)14 b(it)g(could)f(also)h(b)q(e)g +(legitimately)d(in)o(terpreted)16 b(to)e(mean)e(an)o(y)i(of)f(the)h +(follo)o(wing.)0 2277 y Fs(\(append)20 b(\(list)g(\(append)g(\(list)g +(a\))g(\(list)800 2281 y Fn(')824 2277 y Fs(b\)\)\))g(\(list)g(c\))h +(d\))0 2329 y(\(append)f(\(list)g(\(append)g(\(list)g(a\))670 +2333 y Fn(')694 2329 y Fs(\(b\)\)\))g(\(list)g(c\))h(d\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 569 593 +569 592 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(569)0 295 y Fs(\(append)20 b(\(list)g(\(cons)g(a)475 +299 y Fn(')498 295 y Fs(\(b\)\)\))g(\(list)g(c\))h(d\))0 +347 y(\(list*)f(\(cons)g(a)323 351 y Fn(')346 347 y Fs(\(b\)\))h(c)g +(d\))0 399 y(\(list*)f(\(cons)g(a)h(\(list)453 403 y +Fn(')476 399 y Fs(b\)\))g(c)g(d\))0 450 y(\(list*)f(\(cons)g(a)323 +454 y Fn(')346 450 y Fs(\(b\)\))h(c)g(\(copy-list)e(d\)\))0 +2277 y Fw(\(There)d(is)f(no)g(go)q(o)q(d)f(reason)h(wh)o(y)g +Fs(copy-list)e Fw(should)i(b)q(e)g(p)q(erformed,)g(but)g(it)f(is)h(not) +0 2329 y(prohibited.\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 570 594 +570 593 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(570)77 b(COMMON)13 +b(LISP)42 295 y Fw(Some)h(users)j(complain)d(that)h(bac)o(kquote)h(syn) +o(tax)g(is)g(di\016cult)f(to)g(read,)i(esp)q(ecially)-33 +266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(when)d(it)f(is)h(nested.)19 b(I)14 +b(agree)g(that)g(it)f(can)h(get)g(complicated,)e(but)i(in)f(some)g +(situations)0 399 y(\(suc)o(h)k(as)f(writing)f(macros)g(that)h(expand)g +(in)o(to)f(de\014nitions)h(for)f(other)i(macros\))e(suc)o(h)0 +450 y(complexit)o(y)d(is)i(to)f(b)q(e)i(exp)q(ected,)g(and)f(the)h +(alternativ)o(e)e(is)h(m)o(uc)o(h)f(w)o(orse.)42 503 +y(After)h(I)g(gained)g(some)f(exp)q(erience)j(in)e(writing)f(nested)j +(bac)o(kquote)e(forms,)e(I)i(found)0 554 y(that)g(I)g(w)o(as)g(not)f +(stopping)h(to)g(analyze)g(the)g(v)n(arious)f(patterns)i(of)f(nested)h +(bac)o(kquotes)0 606 y(and)h(in)o(terlea)o(v)o(ed)f(commas)f(and)h +(quotes;)i(instead,)f(I)g(w)o(as)f(recognizing)h(standard)g(id-)0 +658 y(ioms)e(wholesale,)h(in)g(the)h(same)f(manner)f(that)i(I)f +(recognize)i Fs(cadar)d Fw(as)i(the)g(primitiv)o(e)0 +710 y(for)h(\\extract)i(the)f(lam)o(b)q(da-list)d(from)h(the)i(form)e +Fs(\(\(lambda)j(...\))h(...\))p Fw(\)")d(without)0 762 +y(stopping)i(to)h(analyze)g(it)f(in)o(to)g(\\)p Fs(car)g +Fw(of)g Fs(cdr)g Fw(of)h Fs(car)p Fw(.")34 b(F)m(or)20 +b(example,)f Fs(,x)g Fw(within)0 814 y(a)d(doubly-nested)h(bac)o +(kquote)g(form)e(means)h(\\the)h(v)n(alue)e(of)h Fs(x)h +Fw(a)o(v)n(ailable)d(during)i(the)0 866 y(second)g(ev)n(aluation)d +(will)g(app)q(ear)i(here)h(once)f(the)g(form)e(has)i(b)q(een)h(t)o +(wice)f(ev)n(aluated,")0 918 y(whereas)h Fs(,)178 922 +y Fn(')200 918 y Fs(,x)e Fw(means)g(\\the)g(v)n(alue)g(of)g +Fs(x)g Fw(a)o(v)n(ailable)e(during)h(the)i(\014rst)g(ev)n(aluation)e +(will)0 970 y(app)q(ear)19 b(here)g(once)g(the)g(form)d(has)j(b)q(een)g +(t)o(wice)g(ev)n(aluated")e(and)h Fs(,,x)g Fw(means)f(\\the)0 +1021 y(v)n(alue)c(of)h(the)g(v)n(alue)f(of)h Fs(x)f Fw(will)g(app)q +(ear)h(here.")42 1074 y(See)g(app)q(endix)g(C)g(for)f(a)g(systematic)h +(set)h(of)e(examples)f(of)i(the)g(use)h(of)e(nested)i(bac)o(k-)0 +1125 y(quotes.)-33 1137 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1229 a Fs(,)0 1292 y Fw(The)i(comma)c(c)o(haracter)k(is) +f(part)h(of)e(the)i(bac)o(kquote)f(syn)o(tax)h(and)e(is)h(in)o(v)n +(alid)f(if)g(used)0 1344 y(other)g(than)e(inside)h(the)h(b)q(o)q(dy)f +(of)f(a)h(bac)o(kquote)g(construction)h(as)f(describ)q(ed)h(ab)q(o)o(v) +o(e.)0 1448 y Fs(#)0 1444 y(-)0 1452 y(-)0 1511 y Fw(This)h(is)g(a)g +Fv(disp)n(atching)h Fw(macro)e(c)o(haracter.)26 b(It)17 +b(reads)g(an)f(optional)e(digit)i(string)g(and)0 1563 +y(then)g(one)f(more)f(c)o(haracter,)i(and)e(uses)i(that)f(c)o(haracter) +i(to)d(select)i(a)f(function)g(to)f(run)0 1615 y(as)g(a)g(macro-c)o +(haracter)f(function.)42 1667 y(The)c Fs(#)122 1663 y(-)122 +1671 y(-)153 1667 y Fw(c)o(haracter)i(also)e(happ)q(ens)h(to)f(b)q(e)h +(a)f(non-terminating)f(macro)g(c)o(haracter.)18 b(This)0 +1719 y(is)12 b(completely)f(indep)q(enden)o(t)i(of)e(the)i(fact)f(that) +g(it)f(is)h(a)g(dispatc)o(hing)f(macro)g(c)o(haracter;)0 +1771 y(it)20 b(is)g(a)g(coincidence)i(that)e(the)h(only)f(standard)g +(dispatc)o(hing)g(macro)f(c)o(haracter)j(in)0 1822 y(Common)11 +b(Lisp)i(is)h(also)f(the)i(only)e(standard)h(non-terminating)e(macro)h +(c)o(haracter.)42 1875 y(See)h(the)h(next)f(section)h(for)e +(prede\014ned)j Fs(#)683 1871 y(-)683 1879 y(-)719 1875 +y Fw(macro-c)o(haracter)e(constructions.)0 2033 y Fo(22.1.4.)20 +b(Standard)c(Dispatc)n(hing)f(Macro)g(Character)g(Syn)n(tax)0 +2121 y Fw(The)k(standard)g(syn)o(tax)f(includes)h(forms)e(in)o(tro)q +(duced)i(b)o(y)f(the)h Fs(#)1038 2117 y(-)1038 2125 y(-)1078 +2121 y Fw(c)o(haracter.)32 b(These)0 2173 y(tak)o(e)17 +b(the)i(general)e(form)f(of)h(a)g Fs(#)506 2169 y(-)506 +2177 y(-)528 2173 y Fw(,)g(a)g(second)i(c)o(haracter)g(that)e(iden)o +(ti\014es)h(the)g(syn)o(tax,)0 2225 y(and)g(follo)o(wing)d(argumen)o +(ts)i(in)h(some)f(form.)28 b(If)18 b(the)g(second)h(c)o(haracter)h(is)e +(a)f(letter,)0 2277 y(then)i(case)f(is)g(not)g(imp)q(ortan)o(t;)g +Fs(#)528 2273 y(-)528 2281 y(-)550 2277 y(O)f Fw(and)h +Fs(#)674 2273 y(-)674 2281 y(-)696 2277 y(o)f Fw(are)i(considered)g(to) +f(b)q(e)g(equiv)n(alen)o(t,)g(for)0 2329 y(example.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 571 595 +571 594 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(571)42 295 y Fw(Certain)14 b Fs(#)192 291 y(-)192 299 +y(-)228 295 y Fw(forms)f(allo)o(w)g(an)h(unsigned)h(decimal)e(n)o(um)o +(b)q(er)g(to)h(app)q(ear)h(b)q(et)o(w)o(een)h(the)0 347 +y Fs(#)0 343 y(-)0 351 y(-)38 347 y Fw(and)h(the)g(second)g(c)o +(haracter;)i(some)d(other)h(forms)e(ev)o(en)i(require)g(it.)26 +b(Those)17 b(forms)0 399 y(that)d(do)g(not)f(explicitly)g(p)q(ermit)g +(suc)o(h)i(a)f(n)o(um)o(b)q(er)f(to)g(app)q(ear)i(forbid)e(it.)42 +451 y(The)g(curren)o(tly)i(de\014ned)f Fs(#)446 447 y(-)446 +455 y(-)482 451 y Fw(constructs)h(are)f(describ)q(ed)h(b)q(elo)o(w)e +(and)h(summarized)d(in)0 502 y(table)h(22-4;)g(more)f(are)i(lik)o(ely)e +(to)h(b)q(e)h(added)g(in)f(the)h(future.)18 b(Ho)o(w)o(ev)o(er,)13 +b(the)g(constructs)0 554 y Fs(#)0 550 y(-)0 558 y(-)22 +554 y(!)p Fw(,)i Fs(#)71 550 y(-)71 558 y(-)92 554 y(?)p +Fw(,)g Fs(#)141 550 y(-)141 558 y(-)163 554 y([)p Fw(,)g +Fs(#)212 550 y(-)212 558 y(-)234 554 y(])p Fw(,)f Fs(#)282 +550 y(-)282 558 y(-)304 554 y({)p Fw(,)h(and)g Fs(#)435 +550 y(-)435 558 y(-)457 554 y(})g Fw(are)h(explicitly)e(reserv)o(ed)j +(for)e(the)h(user)g(and)f(will)f(nev)o(er)0 606 y(b)q(e)h(de\014ned)f +(b)o(y)g(the)h(Commo)o(n)c(Lisp)j(standard.)0 710 y Fs(#)0 +706 y(-)0 714 y(-)22 710 y(\\)0 773 y(#)0 769 y(-)0 777 +y(-)22 773 y(\\)p Fv(x)20 b Fw(reads)h(in)f(as)g(a)g(c)o(haracter)i(ob) +r(ject)f(that)f(represen)o(ts)j(the)e(c)o(haracter)h +Fv(x)p Fw(.)37 b(Also,)0 825 y Fs(#)0 821 y(-)0 829 y(-)22 +825 y(\\)p Fv(name)13 b Fw(reads)g(in)f(as)h(the)g(c)o(haracter)h(ob)r +(ject)g(whose)f(name)f(is)g Fv(name)p Fw(.)36 b(Note)13 +b(that)g(the)0 877 y(bac)o(kslash)h Fs(\\)g Fw(allo)o(ws)e(this)i +(construct)i(to)d(b)q(e)i(parsed)g(easily)e(b)o(y)h(EMA)o(CS-lik)o(e)f +(editors.)42 929 y(In)18 b(the)h(single-c)o(haracter)g(case,)h(the)f(c) +o(haracter)h Fv(x)f Fw(m)o(ust)e(b)q(e)i(follo)o(w)o(ed)e(b)o(y)h(a)g +(non-)0 981 y(constituen)o(t)h(c)o(haracter,)g(lest)f(a)g +Fv(name)g Fw(app)q(ear)g(to)g(follo)o(w)e(the)i Fs(#)1046 +977 y(-)1046 985 y(-)1068 981 y(\\)p Fw(.)29 b(A)18 b(go)q(o)q(d)f(mo)q +(del)0 1032 y(of)d(what)h(happ)q(ens)g(is)g(that)g(after)g +Fs(#)549 1028 y(-)549 1036 y(-)570 1032 y(\\)g Fw(is)f(read,)h(the)h +(reader)g(bac)o(ks)f(up)f(o)o(v)o(er)h(the)g Fs(\\)g +Fw(and)0 1084 y(then)j(reads)g(an)f(extended)i(tok)o(en,)f(treating)f +(the)h(initial)e Fs(\\)h Fw(as)g(an)g(escap)q(e)i(c)o(haracter)0 +1136 y(\(whether)c(it)f(really)f(is)h(or)g(not)g(in)f(the)h(curren)o(t) +i(readtable\).)42 1188 y(Upp)q(ercase)e(and)d(lo)o(w)o(ercase)i +(letters)g(are)f(distinguished)g(after)g Fs(#)1038 1184 +y(-)1038 1192 y(-)1060 1188 y(\\)p Fw(;)g Fs(#)1106 1184 +y(-)1106 1192 y(-)1128 1188 y(\\A)f Fw(and)h Fs(#)1262 +1184 y(-)1262 1192 y(-)1284 1188 y(\\a)f Fw(de-)0 1240 +y(note)g(di\013eren)o(t)g(c)o(haracter)h(ob)r(jects.)18 +b(An)o(y)10 b(c)o(haracter)i(w)o(orks)f(after)f Fs(#)1056 +1236 y(-)1056 1244 y(-)1078 1240 y(\\)p Fw(,)g(ev)o(en)i(those)f(that)0 +1292 y(are)18 b(normally)c(sp)q(ecial)k(to)f Fs(read)p +Fw(,)g(suc)o(h)h(as)f(paren)o(theses.)31 b(Non-prin)o(ting)16 +b(c)o(haracters)0 1344 y(ma)o(y)c(b)q(e)i(used)h(after)f +Fs(#)339 1340 y(-)339 1348 y(-)361 1344 y(\\)p Fw(,)f(although)g(for)h +(them)f(names)g(are)h(generally)g(preferred.)42 1396 +y Fs(#)42 1392 y(-)42 1400 y(-)63 1396 y(\\)p Fv(name)e +Fw(reads)g(in)f(as)h(a)f(c)o(haracter)i(ob)r(ject)f(whose)g(name)f(is)g +Fv(name)h Fw(\(actually)m(,)e(whose)0 1448 y(name)19 +b(is)h Fs(\(string-upcase)f Fv(name)p Fs(\))p Fw(;)k(therefore)f(the)f +(syn)o(tax)f(is)g(case-insensitiv)o(e\).)0 1500 y(The)g +Fv(name)h Fw(should)e(ha)o(v)o(e)h(the)g(syn)o(tax)g(of)f(a)h(sym)o(b)q +(ol.)34 b(The)20 b(follo)o(wing)d(names)i(are)0 1552 +y(standard)14 b(across)h(all)e(implemen)o(tati)o(ons:)0 +1655 y Fs(newline)195 b Fw(The)14 b(c)o(haracter)h(that)f(represen)o +(ts)j(the)d(division)f(b)q(et)o(w)o(een)i(lines)0 1707 +y Fs(space)239 b Fw(The)14 b(space)h(or)f(blank)f(c)o(haracter)0 +1811 y(The)g(follo)o(wing)e(names)h(are)h(semi-standard;)f(if)h(an)f +(implemen)o(tation)e(supp)q(orts)k(them,)0 1862 y(they)g(should)g(b)q +(e)h(used)f(for)g(the)g(describ)q(ed)i(c)o(haracters)g(and)d(no)h +(others.)0 1966 y Fs(rubout)217 b Fw(The)14 b(rub)q(out)g(or)g(delete)h +(c)o(haracter.)0 2018 y Fs(page)261 b Fw(The)14 b(form-feed)f(or)g +(page-separator)i(c)o(haracter)0 2070 y Fs(tab)283 b +Fw(The)14 b(tabulate)g(c)o(haracter)0 2122 y Fs(backspace)151 +b Fw(The)14 b(bac)o(kspace)h(c)o(haracter)0 2174 y Fs(return)217 +b Fw(The)14 b(carriage)g(return)h(c)o(haracter)0 2225 +y Fs(linefeed)173 b Fw(The)14 b(line-feed)g(c)o(haracter)0 +2329 y(In)d(some)e(implemen)o(tations,)f(one)j(or)g(more)e(of)h(these)j +(c)o(haracters)f(migh)o(t)d(b)q(e)i(a)f(synon)o(ym)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 572 596 +572 595 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(572)77 b(COMMON)13 +b(LISP)p 0 255 1395 2 v 0 344 a Fm(T)l(able)h(22-4:)k +FA(Standard)c(#)f(Macro)h(Character)f(Syn)o(tax)0 437 +y Fj(#)0 434 y(-)0 440 y(-)20 437 y(!)72 b Fq(unde\014ne)n(d)10 +b FA(*)401 b Fj(#)703 434 y(-)703 440 y(-)722 437 y Ff(h)p +FA(bac)o(kspace)p Ff(i)124 b Fq(signals)12 b(err)n(or)0 +483 y Fj(#)0 480 y(-)0 486 y(-)20 483 y(")72 b Fq(unde\014ne)n(d)430 +b Fj(#)703 480 y(-)703 486 y(-)722 483 y Ff(h)p FA(tab)p +Ff(i)234 b Fq(signals)12 b(err)n(or)0 529 y Fj(#)0 526 +y(-)0 532 y(-)20 529 y(#)20 526 y(-)20 532 y(-)112 529 +y Fq(r)n(efer)n(enc)n(e)g(to)h Fj(#)320 526 y(-)320 532 +y(-)340 526 y(U)340 532 y(U)373 529 y Fq(lab)n(el)256 +b Fj(#)703 526 y(-)703 532 y(-)722 529 y Ff(h)p FA(newline)p +Ff(i)165 b Fq(signals)12 b(err)n(or)0 574 y Fj(#)0 571 +y(-)0 577 y(-)20 574 y($)72 b Fq(unde\014ne)n(d)430 b +Fj(#)703 571 y(-)703 577 y(-)722 574 y Ff(h)p FA(linefeed)p +Ff(i)164 b Fq(signals)12 b(err)n(or)0 620 y Fj(#)0 617 +y(-)0 623 y(-)20 620 y(\045)72 b Fq(unde\014ne)n(d)430 +b Fj(#)703 617 y(-)703 623 y(-)722 620 y Ff(h)p FA(page)p +Ff(i)213 b Fq(signals)12 b(err)n(or)0 666 y Fj(#)0 663 +y(-)0 669 y(-)20 666 y(&)72 b Fq(unde\014ne)n(d)430 b +Fj(#)703 663 y(-)703 669 y(-)722 666 y Ff(h)p FA(return)p +Ff(i)185 b Fq(signals)12 b(err)n(or)0 711 y Fj(#)0 708 +y(-)0 714 y(-)n Fs(')112 711 y Fj(function)f Fq(abbr)n(eviation)215 +b Fj(#)703 708 y(-)703 714 y(-)722 711 y Ff(h)p FA(space)p +Ff(i)200 b Fq(signals)12 b(err)n(or)0 757 y Fj(#)0 754 +y(-)0 760 y(-)20 757 y(\()72 b Fq(simple)13 b(ve)n(ctor)370 +b Fj(#)703 754 y(-)703 760 y(-)722 757 y(+)299 b Fq(r)n(e)n(ad-time)12 +b(c)n(onditional)0 803 y Fj(#)0 800 y(-)0 806 y(-)20 +803 y(\))72 b Fq(signals)12 b(err)n(or)381 b Fj(#)703 +800 y(-)703 806 y(-)722 803 y(-)299 b Fq(r)n(e)n(ad-time)12 +b(c)n(onditional)0 848 y Fj(#)0 845 y(-)0 851 y(-)20 +848 y(*)72 b Fq(bit-ve)n(ctor)433 b Fj(#)703 845 y(-)703 +851 y(-)722 848 y(.)299 b Fq(r)n(e)n(ad-time)12 b(evaluation)0 +894 y Fj(#)0 891 y(-)0 897 y(-)20 894 y(,)72 b Fq(lo)n(ad-time)12 +b(evaluation)249 b Fj(#)703 891 y(-)703 897 y(-)722 894 +y(/)299 b Fq(unde\014ne)n(d)0 940 y Fj(#)0 937 y(-)0 +943 y(-)20 940 y(0)72 b Fq(use)n(d)12 b(for)i(in\014x)e(ar)n(guments) +185 b Fj(#)703 937 y(-)703 943 y(-)722 940 y(A)p FA(,)12 +b Fj(#)765 937 y(-)765 943 y(-)785 940 y(a)236 b Fq(arr)n(ay)0 +985 y Fj(#)0 982 y(-)0 988 y(-)20 985 y(1)72 b Fq(use)n(d)12 +b(for)i(in\014x)e(ar)n(guments)185 b Fj(#)703 982 y(-)703 +988 y(-)722 985 y(B)p FA(,)12 b Fj(#)765 982 y(-)765 +988 y(-)785 985 y(b)236 b Fq(binary)13 b(r)n(ational)0 +1031 y Fj(#)0 1028 y(-)0 1034 y(-)20 1031 y(2)72 b Fq(use)n(d)12 +b(for)i(in\014x)e(ar)n(guments)185 b Fj(#)703 1028 y(-)703 +1034 y(-)722 1031 y(C)p FA(,)12 b Fj(#)765 1028 y(-)765 +1034 y(-)785 1031 y(c)236 b Fq(c)n(omplex)13 b(numb)n(er)0 +1077 y Fj(#)0 1074 y(-)0 1080 y(-)20 1077 y(3)72 b Fq(use)n(d)12 +b(for)i(in\014x)e(ar)n(guments)185 b Fj(#)703 1074 y(-)703 +1080 y(-)722 1077 y(D)p FA(,)12 b Fj(#)765 1074 y(-)765 +1080 y(-)785 1077 y(d)236 b Fq(unde\014ne)n(d)0 1122 +y Fj(#)0 1119 y(-)0 1125 y(-)20 1122 y(4)72 b Fq(use)n(d)12 +b(for)i(in\014x)e(ar)n(guments)185 b Fj(#)703 1119 y(-)703 +1125 y(-)722 1122 y(E)p FA(,)12 b Fj(#)765 1119 y(-)765 +1125 y(-)785 1122 y(e)236 b Fq(unde\014ne)n(d)0 1168 +y Fj(#)0 1165 y(-)0 1171 y(-)20 1168 y(5)72 b Fq(use)n(d)12 +b(for)i(in\014x)e(ar)n(guments)185 b Fj(#)703 1165 y(-)703 +1171 y(-)722 1168 y(F)p FA(,)12 b Fj(#)765 1165 y(-)765 +1171 y(-)785 1168 y(f)236 b Fq(unde\014ne)n(d)0 1214 +y Fj(#)0 1211 y(-)0 1217 y(-)20 1214 y(6)72 b Fq(use)n(d)12 +b(for)i(in\014x)e(ar)n(guments)185 b Fj(#)703 1211 y(-)703 +1217 y(-)722 1214 y(G)p FA(,)12 b Fj(#)765 1211 y(-)765 +1217 y(-)785 1214 y(g)236 b Fq(unde\014ne)n(d)0 1259 +y Fj(#)0 1256 y(-)0 1262 y(-)20 1259 y(7)72 b Fq(use)n(d)12 +b(for)i(in\014x)e(ar)n(guments)185 b Fj(#)703 1256 y(-)703 +1262 y(-)722 1259 y(H)p FA(,)12 b Fj(#)765 1256 y(-)765 +1262 y(-)785 1259 y(h)236 b Fq(unde\014ne)n(d)0 1305 +y Fj(#)0 1302 y(-)0 1308 y(-)20 1305 y(8)72 b Fq(use)n(d)12 +b(for)i(in\014x)e(ar)n(guments)185 b Fj(#)703 1302 y(-)703 +1308 y(-)722 1305 y(I)p FA(,)12 b Fj(#)765 1302 y(-)765 +1308 y(-)785 1305 y(i)236 b Fq(unde\014ne)n(d)0 1351 +y Fj(#)0 1348 y(-)0 1354 y(-)20 1351 y(9)72 b Fq(use)n(d)12 +b(for)i(in\014x)e(ar)n(guments)185 b Fj(#)703 1348 y(-)703 +1354 y(-)722 1351 y(J)p FA(,)12 b Fj(#)765 1348 y(-)765 +1354 y(-)785 1351 y(j)236 b Fq(unde\014ne)n(d)0 1396 +y Fj(#)0 1393 y(-)0 1399 y(-)20 1396 y(:)72 b Fq(uninterne)n(d)11 +b(symb)n(ol)286 b Fj(#)703 1393 y(-)703 1399 y(-)722 +1396 y(K)p FA(,)12 b Fj(#)765 1393 y(-)765 1399 y(-)785 +1396 y(k)236 b Fq(unde\014ne)n(d)0 1442 y Fj(#)0 1439 +y(-)0 1445 y(-)20 1442 y(;)72 b Fq(unde\014ne)n(d)430 +b Fj(#)703 1439 y(-)703 1445 y(-)722 1442 y(L)p FA(,)12 +b Fj(#)765 1439 y(-)765 1445 y(-)785 1442 y(l)236 b Fq(unde\014ne)n(d)0 +1488 y Fj(#)0 1485 y(-)0 1491 y(-)20 1488 y(<)72 b Fq(signals)12 +b(err)n(or)381 b Fj(#)703 1485 y(-)703 1491 y(-)722 1488 +y(M)p FA(,)12 b Fj(#)765 1485 y(-)765 1491 y(-)785 1488 +y(m)236 b Fq(unde\014ne)n(d)0 1533 y Fj(#)0 1530 y(-)0 +1536 y(-)20 1530 y(U)20 1536 y(U)112 1533 y Fq(lab)n(el)12 +b(fol)r(lowing)g(obje)n(ct)245 b Fj(#)703 1530 y(-)703 +1536 y(-)722 1533 y(N)p FA(,)12 b Fj(#)765 1530 y(-)765 +1536 y(-)785 1533 y(n)236 b Fq(unde\014ne)n(d)0 1579 +y Fj(#)0 1576 y(-)0 1582 y(-)20 1579 y(>)72 b Fq(unde\014ne)n(d)430 +b Fj(#)703 1576 y(-)703 1582 y(-)722 1579 y(O)p FA(,)12 +b Fj(#)765 1576 y(-)765 1582 y(-)785 1579 y(o)236 b Fq(o)n(ctal)13 +b(r)n(ational)0 1625 y Fj(#)0 1622 y(-)0 1628 y(-)20 +1625 y(?)72 b Fq(unde\014ne)n(d)10 b FA(*)401 b Fj(#)703 +1622 y(-)703 1628 y(-)722 1625 y(P)p FA(,)12 b Fj(#)765 +1622 y(-)765 1628 y(-)785 1625 y(p)236 b Fq(p)n(athname)0 +1670 y Fj(#)0 1667 y(-)0 1673 y(-)20 1670 y(@)72 b Fq(unde\014ne)n(d) +430 b Fj(#)703 1667 y(-)703 1673 y(-)722 1670 y(Q)p FA(,)12 +b Fj(#)765 1667 y(-)765 1673 y(-)785 1670 y(q)236 b Fq(unde\014ne)n(d)0 +1716 y Fj(#)0 1713 y(-)0 1719 y(-)20 1716 y([)72 b Fq(unde\014ne)n(d)10 +b FA(*)401 b Fj(#)703 1713 y(-)703 1719 y(-)722 1716 +y(R)p FA(,)12 b Fj(#)765 1713 y(-)765 1719 y(-)785 1716 +y(r)236 b Fq(r)n(adix-n)12 b(r)n(ational)0 1762 y Fj(#)0 +1759 y(-)0 1765 y(-)20 1762 y(\\)72 b Fq(char)n(acter)12 +b(obje)n(ct)325 b Fj(#)703 1759 y(-)703 1765 y(-)722 +1762 y(S)p FA(,)12 b Fj(#)765 1759 y(-)765 1765 y(-)785 +1762 y(s)236 b Fq(structur)n(e)0 1807 y Fj(#)0 1804 y(-)0 +1810 y(-)20 1807 y(])72 b Fq(unde\014ne)n(d)10 b FA(*)401 +b Fj(#)703 1804 y(-)703 1810 y(-)722 1807 y(T)p FA(,)12 +b Fj(#)765 1804 y(-)765 1810 y(-)785 1807 y(t)236 b Fq(unde\014ne)n(d)0 +1853 y Fj(#)0 1850 y(-)0 1856 y(-)n Fs(^)112 1853 y Fq(unde\014ne)n(d) +430 b Fj(#)703 1850 y(-)703 1856 y(-)722 1853 y(U)p FA(,)12 +b Fj(#)765 1850 y(-)765 1856 y(-)785 1853 y(u)236 b Fq(unde\014ne)n(d)0 +1899 y Fj(#)0 1896 y(-)0 1902 y(-)20 1899 y(_)72 b Fq(unde\014ne)n(d) +430 b Fj(#)703 1896 y(-)703 1902 y(-)722 1899 y(V)p FA(,)12 +b Fj(#)765 1896 y(-)765 1902 y(-)785 1899 y(v)236 b Fq(unde\014ne)n(d)0 +1944 y Fj(#)0 1941 y(-)0 1947 y(-)n Fs(`)112 1944 y Fq(unde\014ne)n(d) +430 b Fj(#)703 1941 y(-)703 1947 y(-)722 1944 y(W)p FA(,)12 +b Fj(#)765 1941 y(-)765 1947 y(-)785 1944 y(w)236 b Fq(unde\014ne)n(d)0 +1990 y Fj(#)0 1987 y(-)0 1993 y(-)20 1990 y({)72 b Fq(unde\014ne)n(d)10 +b FA(*)401 b Fj(#)703 1987 y(-)703 1993 y(-)722 1990 +y(X)p FA(,)12 b Fj(#)765 1987 y(-)765 1993 y(-)785 1990 +y(x)236 b Fq(hexade)n(cimal)11 b(r)n(ational)0 2035 y +Fj(#)0 2032 y(-)0 2038 y(-)20 2035 y(|)72 b Fq(b)n(alanc)n(e)n(d)11 +b(c)n(omment)289 b Fj(#)703 2032 y(-)703 2038 y(-)722 +2035 y(Y)p FA(,)12 b Fj(#)765 2032 y(-)765 2038 y(-)785 +2035 y(y)236 b Fq(unde\014ne)n(d)0 2081 y Fj(#)0 2078 +y(-)0 2084 y(-)20 2081 y(})72 b Fq(unde\014ne)n(d)10 +b FA(*)401 b Fj(#)703 2078 y(-)703 2084 y(-)722 2081 +y(Z)p FA(,)12 b Fj(#)765 2078 y(-)765 2084 y(-)785 2081 +y(z)236 b Fq(unde\014ne)n(d)0 2127 y Fj(#)0 2124 y(-)0 +2130 y(-)n Fs(~)112 2127 y Fq(unde\014ne)n(d)430 b Fj(#)703 +2124 y(-)703 2130 y(-)722 2127 y Ff(h)p FA(rub)q(out)p +Ff(i)176 b Fq(unde\014ne)n(d)0 2197 y FA(The)12 b(com)o(binations)j +(mark)o(ed)e(b)o(y)f(an)h(asterisk)g(are)g(explicitly)i(reserv)o(ed)e +(to)f(the)h(user)f(and)h(will)0 2243 y(nev)o(er)h(b)q(e)f(de\014ned)h +(b)o(y)f(Common)h(Lisp.)0 2289 y(X3J13)d(v)o(oted)h(in)g(June)g(1989)g +Ff(h)p FA(131)p Ff(i)f FA(to)h(sp)q(ecify)g Fj(#)711 +2286 y(-)711 2292 y(-)731 2289 y(P)f FA(and)h Fj(#)835 +2286 y(-)835 2292 y(-)854 2289 y(p)f FA(\()p Fq(unde\014ne)n(d)d +FA(in)k(the)f(\014rst)h(edition\).)-33 2263 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 39 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2329 V 42 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 573 597 +573 596 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(573)0 295 y Fw(for)19 b(a)f(standard)i(c)o(haracter;)i(the)e +Fs(#)564 291 y(-)564 299 y(-)585 295 y(\\Linefeed)d Fw(c)o(haracter)k +(migh)o(t)16 b(b)q(e)k(the)g(same)e(as)0 347 y Fs(#)0 +343 y(-)0 351 y(-)22 347 y(\\Newline)p Fw(,)12 b(for)h(example.)42 +399 y(When)e(the)i(Lisp)e(prin)o(ter)h(t)o(yp)q(es)h(out)f(the)g(name)e +(of)i(a)f(sp)q(ecial)h(c)o(haracter,)h(it)e(uses)i(the)0 +450 y(same)g(table)h(as)g(the)h Fs(#)331 446 y(-)331 +454 y(-)353 450 y(\\)e Fw(reader;)i(therefore)h(an)o(y)d(c)o(haracter)j +(name)c(y)o(ou)i(see)h(t)o(yp)q(ed)g(out)0 502 y(is)g(acceptable)g(as)g +(input)g(\(in)f(that)h(implemen)o(tatio)o(n\).)j(Standard)d(names)f +(are)h(alw)o(a)o(ys)0 554 y(preferred)h(o)o(v)o(er)e(non-standard)g +(names)f(for)g(prin)o(ting.)42 606 y(The)g(follo)o(wing)d(con)o(v)o(en) +o(tion)i(is)h(used)g(in)f(implemen)o(tations)e(that)j(supp)q(ort)g +(non-zero)0 658 y(bits)k(attributes)i(for)d(c)o(haracter)j(ob)r(jects.) +30 b(If)17 b(a)g(name)f(after)h Fs(#)998 654 y(-)998 +662 y(-)1020 658 y(\\)g Fw(is)g(longer)g(than)h(one)0 +710 y(c)o(haracter)i(and)f(has)g(a)f(h)o(yphen)i(in)e(it,)h(then)h(it)e +(ma)o(y)f(b)q(e)j(split)e(in)o(to)g(the)i(t)o(w)o(o)e(parts)0 +762 y(preceding)i(and)f(follo)o(wing)e(the)i(\014rst)h(h)o(yphen;)i +(the)d(\014rst)h(part)g(\(actually)m(,)e Fs(string-)0 +814 y(upcase)e Fw(of)h(the)h(\014rst)g(part\))f(ma)o(y)f(then)i(b)q(e)f +(in)o(terpreted)i(as)f(the)g(name)e(or)h(initial)e(of)0 +866 y(a)g(bit,)g(and)g(the)h(second)h(part)e(as)h(the)g(name)e(of)h +(the)h(c)o(haracter)g(\(whic)o(h)g(ma)o(y)d(in)i(turn)0 +917 y(con)o(tain)e(a)h(h)o(yphen)g(and)g(b)q(e)h(sub)r(ject)g(to)f +(further)g(splitting\).)k(F)m(or)13 b(example:)0 1019 +y Fs(#)0 1015 y(-)0 1023 y(-)22 1019 y(\\Control-Space)168 +b(#)498 1015 y(-)498 1023 y(-)520 1019 y(\\Control-Meta-Tab)0 +1071 y(#)0 1067 y(-)0 1075 y(-)22 1071 y(\\C-M-Return)234 +b(#)498 1067 y(-)498 1075 y(-)520 1071 y(\\H-S-M-C-Rubout)0 +1173 y Fw(If)18 b(the)h(c)o(haracter)g(name)e(consists)j(of)d(a)h +(single)g(c)o(haracter,)i(then)f(that)f(c)o(haracter)i(is)0 +1225 y(used.)f(Another)c Fs(\\)e Fw(ma)o(y)f(b)q(e)j(necessary)h(to)d +(quote)i(the)f(c)o(haracter.)0 1327 y Fs(#)0 1323 y(-)0 +1331 y(-)22 1327 y(\\Control-\045)256 b(#)498 1323 y(-)498 +1331 y(-)520 1327 y(\\Control-Meta-\\")0 1378 y(#)0 1374 +y(-)0 1382 y(-)22 1378 y(\\Control-\\a)234 b(#)498 1374 +y(-)498 1382 y(-)520 1378 y(\\Meta->)42 1480 y Fw(If)10 +b(an)g(unsigned)h(decimal)e(in)o(teger)j(app)q(ears)f(b)q(et)o(w)o(een) +h(the)g Fs(#)964 1476 y(-)964 1484 y(-)996 1480 y Fw(and)f +Fs(\\)p Fw(,)f(it)g(is)h(in)o(terpreted)-38 1455 y Fk(.)-38 +1468 y(.)-38 1481 y(.)-38 1494 y(.)-38 1507 y(.)-38 1520 +y(.)-38 1533 y(.)-38 1546 y(.)-38 1559 y(.)-38 1572 y(.)-38 +1585 y(.)-38 1598 y(.)-38 1611 y(.)-38 1624 y(.)-38 1637 +y(.)-38 1650 y(.)-38 1663 y(.)-38 1676 y(.)-38 1689 y(.)-38 +1702 y(.)-38 1715 y(.)-38 1728 y(.)-38 1741 y(.)-38 1754 +y(.)-38 1766 y(.)-38 1779 y(.)-38 1792 y(.)-38 1805 y(.)-38 +1818 y(.)-38 1831 y(.)-38 1844 y(.)-38 1857 y(.)-38 1870 +y(.)-38 1883 y(.)-38 1896 y(.)-38 1909 y(.)-38 1922 y(.)-38 +1935 y(.)-38 1948 y(.)-38 1961 y(.)-38 1974 y(.)-38 1987 +y(.)-38 2000 y(.)-38 2013 y(.)-38 2026 y(.)-38 2039 y(.)-38 +2052 y(.)-38 2065 y(.)-38 2078 y(.)-38 2091 y(.)-38 2104 +y(.)-38 2117 y(.)-38 2130 y(.)-38 2143 y(.)-38 2156 y(.)-38 +2169 y(.)-38 2182 y(.)-38 2195 y(.)-38 2208 y(.)-38 2221 +y(.)-38 2233 y(.)-38 2246 y(.)-38 2259 y(.)-38 2272 y(.)-38 +2285 y(.)-38 2298 y(.)-38 2311 y(.)-38 2324 y(.)-38 2337 +y(.)-38 2350 y(.)-38 2363 y(.)-38 2376 y(.)-38 2389 y(.)-38 +2402 y(.)-38 2415 y(.)-38 2428 y(.)-38 2441 y(.)-38 2454 +y(.)-38 2467 y(.)-38 2480 y(.)-38 2493 y(.)-38 2506 y(.)-38 +2519 y(.)-38 2532 y(.)-38 2545 y(.)-38 2558 y(.)-38 2571 +y(.)-38 2584 y(.)-38 2597 y(.)-38 2610 y(.)-38 2623 y(.)-38 +2636 y(.)-38 2649 y(.)-38 2662 y(.)-38 2675 y(.)-38 2688 +y(.)-38 2700 y(.)-38 2713 y(.)-38 2726 y(.)-38 2739 y(.)-38 +2752 y(.)-38 2765 y(.)-38 2778 y(.)-38 2791 y(.)-38 2804 +y(.)-38 2817 y(.)-38 2830 y(.)-38 2843 y(.)-38 2856 y(.)-38 +2869 y(.)-38 2882 y(.)-38 2895 y(.)-38 2908 y(.)-38 2921 +y(.)-38 2934 y(.)-38 2947 y(.)-38 2960 y(.)-38 2973 y(.)-38 +2986 y(.)-38 2999 y(.)-38 3012 y(.)-38 3025 y(.)-38 3038 +y(.)-38 3051 y(.)-38 3064 y(.)-38 3077 y(.)-38 3090 y(.)-38 +3103 y(.)-38 3116 y(.)-38 3129 y(.)-38 3142 y(.)-38 3155 +y(.)-38 3167 y(.)-38 3180 y(.)-38 3193 y(.)-38 3206 y(.)-38 +3219 y(.)-38 3232 y(.)-38 3245 y(.)-38 3258 y(.)-38 3271 +y(.)-38 3284 y(.)-38 3297 y(.)-38 3310 y(.)-38 3323 y(.)-38 +3336 y(.)-38 3349 y(.)-38 3362 y(.)-38 3375 y(.)-38 3388 +y(.)-38 3401 y(.)-38 3414 y(.)-38 3427 y(.)-38 3440 y(.)-38 +3453 y(.)-38 3466 y(.)-38 3479 y(.)-38 3492 y(.)-38 3505 +y(.)-38 3518 y(.)-38 3531 y(.)-38 3544 y(.)-38 3557 y(.)-38 +3570 y(.)-38 3583 y(.)-38 3596 y(.)-38 3609 y(.)-38 3622 +y(.)-38 3634 y(.)-38 3647 y(.)-38 3660 y(.)-38 3673 y(.)-38 +3686 y(.)-38 3699 y(.)-38 3712 y(.)-38 3725 y(.)-38 3738 +y(.)-38 3751 y(.)-38 3764 y(.)-38 3777 y(.)-38 3790 y(.)-38 +3803 y(.)-38 3816 y(.)-38 3829 y(.)-38 3842 y(.)-38 3855 +y(.)-38 3868 y(.)-38 3881 y(.)-38 3894 y(.)-38 3907 y(.)-38 +3920 y(.)-38 3933 y(.)-38 3946 y(.)-38 3959 y(.)-38 3972 +y(.)-38 3985 y(.)-38 3998 y(.)-38 4011 y(.)-38 4024 y(.)-38 +4037 y(.)0 1532 y Fw(as)17 b(a)f(fon)o(t)g(n)o(um)o(b)q(er,)g(to)g(b)q +(ecome)g(the)h(fon)o(t)f(attribute)h(of)f(the)h(c)o(haracter)h(ob)r +(ject)f(\(see)0 1584 y Fs(char-font)p Fw(\).)-33 1596 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1636 a(X3J13)i(v)o(oted)h(in)f(Marc)o(h)h(1989)f +Ft(h)p Fw(11)p Ft(i)h Fw(to)f(replace)i(the)g(notion)e(of)g(bits)h(and) +f(fon)o(t)-33 1607 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1688 a(attributes)f(with)f(that)g(of)f(implemen)o +(tation-de\014ned)f(attributes.)28 b(Presumably)17 b(this)0 +1740 y(eliminates)c(the)j(p)q(ortable)f(use)h(of)f(this)g(syn)o(tax)g +(for)f(fon)o(t)h(information,)d(although)i(the)0 1792 +y(v)o(ote)g(did)f(not)h(address)h(this)f(question)g(directly)m(.)-33 +1803 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1893 a Fs(#)0 1889 y(-)0 1897 y(-)22 1893 +y(')0 1956 y(#)0 1952 y(-)0 1960 y(-)n Fn(')43 1956 y +Fv(fo)n(o)d Fw(is)f(an)g(abbreviation)g(for)g Fs(\(function)19 +b Fv(fo)n(o)p Fs(\))p Fw(.)e Fv(fo)n(o)11 b Fw(ma)o(y)d(b)q(e)k(the)f +(prin)o(ted)g(represen-)0 2008 y(tation)i(of)g(an)o(y)h(Lisp)f(ob)r +(ject.)19 b(This)14 b(abbreviation)f(ma)o(y)f(b)q(e)i(remem)o(b)q(ered) +g(b)o(y)f(analogy)0 2060 y(with)h(the)165 2064 y Fn(')203 +2060 y Fw(macro)f(c)o(haracter,)i(since)g(the)g Fs(function)e +Fw(and)h Fs(quote)g Fw(sp)q(ecial)g(forms)f(are)0 2112 +y(similar)e(in)j(form.)0 2214 y Fs(#)0 2210 y(-)0 2218 +y(-)22 2214 y(\()0 2277 y Fw(A)f(series)h(of)e(represen)o(tations)j(of) +d(ob)r(jects)i(enclosed)g(b)o(y)e Fs(#)893 2273 y(-)893 +2281 y(-)915 2277 y(\()h Fw(and)f Fs(\))h Fw(is)g(read)g(as)g(a)f +(simple)0 2329 y(v)o(ector)j(of)e(those)i(ob)r(jects.)k(This)14 +b(is)f(analogous)g(to)h(the)g(notation)f(for)h(lists.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 574 598 +574 597 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(574)77 b(COMMON)13 +b(LISP)42 295 y Fw(If)k(an)h(unsigned)h(decimal)e(in)o(teger)h(app)q +(ears)i(b)q(et)o(w)o(een)f(the)g Fs(#)1024 291 y(-)1024 +299 y(-)1064 295 y Fw(and)f Fs(\()p Fw(,)h(it)f(sp)q(eci\014es)0 +347 y(explicitly)f(the)h(length)f(of)g(the)h(v)o(ector.)30 +b(In)18 b(that)f(case,)i(it)e(is)h(an)f(error)i(if)d(to)q(o)i(man)o(y)0 +399 y(ob)r(jects)c(are)f(sp)q(eci\014ed)i(b)q(efore)e(the)h(closing)e +Fs(\))p Fw(,)g(and)h(if)f(to)q(o)g(few)h(are)g(sp)q(eci\014ed,)i(the)e +(last)0 450 y(ob)r(ject)g(\(it)g(is)f(an)h(error)g(if)f(there)i(are)f +(none)g(in)f(this)h(case\))h(is)f(used)g(to)g(\014ll)e(all)h(remaining) +0 502 y(elemen)o(ts)i(of)f(the)i(v)o(ector.)j(F)m(or)c(example,)0 +610 y Fs(#)0 606 y(-)0 614 y(-)22 610 y(\(a)21 b(b)g(c)f(c)h(c)g(c\)) +106 b(#)408 606 y(-)408 614 y(-)430 610 y(6\(a)20 b(b)h(c)g(c)g(c)g +(c\))105 b(#)837 606 y(-)837 614 y(-)859 610 y(6\(a)21 +b(b)g(c\))105 b(#)1138 606 y(-)1138 614 y(-)1160 610 +y(6\(a)21 b(b)g(c)f(c\))0 717 y Fw(all)15 b(mean)h(the)h(same)f(thing:) +23 b(a)17 b(v)o(ector)g(of)f(length)h(6)f(with)h(elemen)o(ts)f +Fs(a)p Fw(,)h Fs(b)p Fw(,)f(and)h(four)0 769 y(instances)11 +b(of)e Fs(c)p Fw(.)16 b(The)11 b(notation)d Fs(#)510 +765 y(-)510 773 y(-)532 769 y(\(\))i Fw(denotes)h(an)e(empt)o(y)g(v)o +(ector,)i(as)e(do)q(es)i Fs(#)1177 765 y(-)1177 773 y(-)1199 +769 y(0\(\))e Fw(\(whic)o(h)0 820 y(is)14 b(legitimate)d(b)q(ecause)16 +b(it)e(is)f(not)h(the)h(case)f(that)g(to)q(o)g(few)g(elemen)o(ts)g(are) +g(sp)q(eci\014ed\).)0 927 y Fs(#)0 923 y(-)0 931 y(-)22 +927 y(*)0 993 y Fw(A)k(series)h(of)e(binary)g(digits)g(\()p +Fs(0)h Fw(and)g Fs(1)p Fw(\))f(preceded)j(b)o(y)e Fs(#)901 +989 y(-)901 997 y(-)922 993 y(*)g Fw(is)g(read)g(as)g(a)f(simple)f +(bit-)0 1045 y(v)o(ector)g(con)o(taining)f(those)h(bits,)g(the)g +(leftmost)e(bit)h(in)g(the)h(series)h(b)q(eing)f(bit)f(0)g(of)g(the)0 +1096 y(bit-v)o(ector.)42 1149 y(If)i(an)h(unsigned)h(decimal)e(in)o +(teger)h(app)q(ears)i(b)q(et)o(w)o(een)f(the)g Fs(#)1024 +1145 y(-)1024 1153 y(-)1064 1149 y Fw(and)f Fs(*)p Fw(,)h(it)f(sp)q +(eci\014es)0 1201 y(explicitly)12 b(the)h(length)g(of)f(the)h(v)o +(ector.)19 b(In)12 b(that)h(case,)g(it)g(is)f(an)h(error)g(if)f(to)q(o) +h(man)o(y)e(bits)0 1253 y(are)16 b(sp)q(eci\014ed,)h(and)f(if)e(to)q(o) +i(few)f(are)h(sp)q(eci\014ed)i(the)e(last)f(one)h(\(it)f(is)h(an)f +(error)i(if)d(there)0 1305 y(are)i(none)f(in)g(this)g(case\))i(is)e +(used)h(to)f(\014ll)f(all)g(remaining)f(elemen)o(ts)i(of)g(the)h(bit-v) +o(ector.)0 1356 y(F)m(or)d(example,)0 1464 y Fs(#)0 1460 +y(-)0 1468 y(-)22 1464 y(*101111)104 b(#)280 1460 y(-)280 +1468 y(-)302 1464 y(6*101111)g(#)582 1460 y(-)582 1468 +y(-)604 1464 y(6*101)h(#)819 1460 y(-)819 1468 y(-)841 +1464 y(6*1011)0 1571 y Fw(all)17 b(mean)f(the)j(same)e(thing:)25 +b(a)18 b(v)o(ector)h(of)e(length)h(6)f(with)h(elemen)o(ts)g +Fs(1)p Fw(,)g Fs(0)p Fw(,)g Fs(1)p Fw(,)g Fs(1)p Fw(,)g +Fs(1)p Fw(,)0 1623 y(and)e Fs(1)p Fw(.)24 b(The)16 b(notation)f +Fs(#)396 1619 y(-)396 1627 y(-)418 1623 y(*)h Fw(denotes)h(an)f(empt)o +(y)f(bit-v)o(ector,)h(as)g(do)q(es)h Fs(#)1149 1619 y(-)1149 +1627 y(-)1170 1623 y(0*)f Fw(\(whic)o(h)g(is)0 1675 y(legitimate)c(b)q +(ecause)j(it)f(is)g(not)f(the)i(case)g(that)f(to)q(o)f(few)h(elemen)o +(ts)g(are)g(sp)q(eci\014ed\).)42 1727 y(Compare)e(this)i(to)g +Fs(#)351 1723 y(-)351 1731 y(-)373 1727 y(B)p Fw(,)f(used)i(for)e +(expressing)i(in)o(tegers)g(in)e(binary)h(notation.)-33 +1699 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1834 a Fs(#)0 1830 y(-)0 1838 y(-)22 1834 +y(:)0 1899 y(#)0 1895 y(-)0 1903 y(-)22 1899 y(:)p Fv(fo)n(o)20 +b Fw(requires)i Fv(fo)n(o)e Fw(to)h(ha)o(v)o(e)f(the)h(syn)o(tax)g(of)f +(an)g(unquali\014ed)g(sym)o(b)q(ol)e(name)i(\(no)0 1951 +y(em)o(b)q(edded)12 b(colons\).)17 b(It)11 b(denotes)i(an)e +Fv(uninterne)n(d)h Fw(sym)o(b)q(ol)e(whose)i(name)e(is)h +Fv(fo)n(o)p Fw(.)17 b(Ev)o(ery)0 2003 y(time)d(this)i(syn)o(tax)f(is)g +(encoun)o(tered,)j(a)d(di\013eren)o(t)h(unin)o(terned)h(sym)o(b)q(ol)c +(is)j(created.)24 b(If)0 2055 y(it)14 b(is)g(necessary)i(to)e(refer)h +(to)f(the)g(same)f(unin)o(terned)i(sym)o(b)q(ol)e(more)g(than)h(once)h +(in)e(the)0 2107 y(same)g(expression,)i(the)f Fs(#)387 +2103 y(-)387 2111 y(-)409 2103 y(U)409 2111 y(U)445 2107 +y Fw(syn)o(tax)f(ma)o(y)f(b)q(e)j(useful.)0 2214 y Fs(#)0 +2210 y(-)0 2218 y(-)22 2214 y(.)0 2277 y(#)0 2273 y(-)0 +2281 y(-)22 2277 y(.)p Fv(fo)n(o)i Fw(is)f(read)i(as)f(the)h(ob)r(ject) +f(resulting)h(from)d(the)i(ev)n(aluation)f(of)g(the)i(Lisp)f(ob)r(ject) +0 2329 y(represen)o(ted)12 b(b)o(y)d Fv(fo)n(o)p Fw(,)h(whic)o(h)f(ma)o +(y)e(b)q(e)j(the)g(prin)o(ted)g(represen)o(tation)h(of)d(an)o(y)h(Lisp) +g(ob)r(ject.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 575 599 +575 598 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(575)0 295 y Fw(The)19 b(ev)n(aluation)f(is)g(done)i(during)e(the)i +Fs(read)e Fw(pro)q(cess,)j(when)e(the)h Fs(#)1117 291 +y(-)1117 299 y(-)1139 295 y(.)e Fw(construct)j(is)0 347 +y(encoun)o(tered.)42 401 y(X3J13)10 b(v)o(oted)h(in)g(June)h(1989)e +Ft(h)p Fw(40)p Ft(i)g Fw(to)h(add)g(a)g(new)g(reader)h(con)o(trol)f(v)n +(ariable,)f Fs(*read-)-33 372 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 452 a(eval*)p Fw(.)21 b(If)15 b(it)g(is)g(true,)h(the)g +Fs(#)446 448 y(-)446 456 y(-)468 452 y(.)f Fw(reader)h(macro)f(b)q(eha) +o(v)o(es)h(as)f(describ)q(ed)i(ab)q(o)o(v)o(e;)e(if)g(it)g(is)0 +504 y(false,)e(the)i Fs(#)177 500 y(-)177 508 y(-)198 +504 y(.)f Fw(reader)h(macro)e(signals)g(an)h(error.)-33 +516 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 558 a(The)9 b Fs(#)122 554 y(-)122 562 +y(-)144 558 y(.)h Fw(syn)o(tax)f(therefore)i(p)q(erforms)e(a)g +(read-time)g(ev)n(aluation)f(of)h Fv(fo)n(o)p Fw(.)17 +b(By)9 b(con)o(trast,)0 610 y Fs(#)0 606 y(-)0 614 y(-)22 +610 y(,)k Fw(\(see)j(b)q(elo)o(w\))d(p)q(erforms)h(a)f(load-time)f(ev)n +(aluation.)42 664 y(Both)g Fs(#)143 660 y(-)143 668 y(-)164 +664 y(.)g Fw(and)g Fs(#)277 660 y(-)277 668 y(-)299 664 +y(,)f Fw(allo)o(w)f(y)o(ou)i(to)f(include,)h(in)g(an)f(expression)i(b)q +(eing)f(read,)g(an)g(ob)r(ject)0 716 y(that)k(do)q(es)g(not)g(ha)o(v)o +(e)f(a)g(con)o(v)o(enien)o(t)i(prin)o(ted)f(represen)o(tation;)h +(instead)f(of)f(writing)g(a)0 768 y(represen)o(tation)i(for)f(the)g(ob) +r(ject,)g(y)o(ou)g(write)g(an)f(expression)i(that)f(will)e +Fv(c)n(ompute)i Fw(the)0 820 y(ob)r(ject.)0 940 y Fs(#)0 +936 y(-)0 944 y(-)22 940 y(,)-38 929 y Fk(.)-38 942 y(.)-38 +955 y(.)-38 968 y(.)-38 981 y(.)-38 994 y(.)-38 1007 +y(.)-38 1020 y(.)-38 1033 y(.)-38 1046 y(.)-38 1059 y(.)-38 +1072 y(.)-38 1085 y(.)-38 1098 y(.)-38 1111 y(.)-38 1124 +y(.)-38 1137 y(.)-38 1150 y(.)-38 1163 y(.)-38 1176 y(.)-38 +1189 y(.)-38 1202 y(.)-38 1215 y(.)-38 1228 y(.)-38 1241 +y(.)-38 1254 y(.)-38 1267 y(.)-38 1280 y(.)-38 1293 y(.)-38 +1306 y(.)-38 1319 y(.)-38 1332 y(.)-38 1345 y(.)-38 1358 +y(.)-38 1371 y(.)-38 1384 y(.)-38 1396 y(.)-38 1409 y(.)-38 +1422 y(.)-38 1435 y(.)-38 1448 y(.)-38 1461 y(.)-38 1474 +y(.)-38 1487 y(.)-38 1500 y(.)-38 1513 y(.)-38 1526 y(.)-38 +1539 y(.)-38 1552 y(.)-38 1565 y(.)-38 1578 y(.)-38 1591 +y(.)-38 1604 y(.)-38 1617 y(.)-38 1630 y(.)-38 1643 y(.)-38 +1656 y(.)-38 1669 y(.)-38 1682 y(.)-38 1695 y(.)-38 1708 +y(.)-38 1721 y(.)-38 1734 y(.)-38 1747 y(.)-38 1760 y(.)-38 +1773 y(.)-38 1786 y(.)-38 1799 y(.)-38 1812 y(.)-38 1825 +y(.)-38 1838 y(.)-38 1851 y(.)-38 1863 y(.)-38 1876 y(.)-38 +1889 y(.)-38 1902 y(.)-38 1915 y(.)-38 1928 y(.)-38 1941 +y(.)-38 1954 y(.)-38 1967 y(.)-38 1980 y(.)-38 1993 y(.)-38 +2006 y(.)-38 2019 y(.)-38 2032 y(.)-38 2045 y(.)-38 2058 +y(.)-38 2071 y(.)-38 2084 y(.)-38 2097 y(.)-38 2110 y(.)-38 +2123 y(.)-38 2136 y(.)-38 2149 y(.)-38 2162 y(.)-38 2175 +y(.)-38 2188 y(.)-38 2201 y(.)-38 2214 y(.)-38 2227 y(.)-38 +2240 y(.)-38 2253 y(.)-38 2266 y(.)-38 2279 y(.)-38 2292 +y(.)-38 2305 y(.)-38 2318 y(.)-38 2330 y(.)-38 2343 y(.)-38 +2356 y(.)-38 2369 y(.)-38 2382 y(.)-38 2395 y(.)-38 2408 +y(.)-38 2421 y(.)-38 2434 y(.)-38 2447 y(.)-38 2460 y(.)-38 +2473 y(.)-38 2486 y(.)-38 2499 y(.)-38 2512 y(.)-38 2525 +y(.)-38 2538 y(.)-38 2551 y(.)-38 2564 y(.)-38 2577 y(.)-38 +2590 y(.)-38 2603 y(.)-38 2616 y(.)-38 2629 y(.)-38 2642 +y(.)-38 2655 y(.)-38 2668 y(.)-38 2681 y(.)-38 2694 y(.)-38 +2707 y(.)-38 2720 y(.)-38 2733 y(.)-38 2746 y(.)-38 2759 +y(.)-38 2772 y(.)-38 2785 y(.)-38 2797 y(.)-38 2810 y(.)-38 +2823 y(.)-38 2836 y(.)-38 2849 y(.)-38 2862 y(.)-38 2875 +y(.)-38 2888 y(.)-38 2901 y(.)-38 2914 y(.)-38 2927 y(.)-38 +2940 y(.)-38 2953 y(.)-38 2966 y(.)-38 2979 y(.)-38 2992 +y(.)-38 3005 y(.)-38 3018 y(.)-38 3031 y(.)-38 3044 y(.)-38 +3057 y(.)-38 3070 y(.)-38 3083 y(.)-38 3096 y(.)-38 3109 +y(.)-38 3122 y(.)-38 3135 y(.)-38 3148 y(.)-38 3161 y(.)-38 +3174 y(.)-38 3187 y(.)-38 3200 y(.)-38 3213 y(.)-38 3226 +y(.)-38 3239 y(.)-38 3252 y(.)-38 3264 y(.)-38 3277 y(.)-38 +3290 y(.)-38 3303 y(.)-38 3316 y(.)-38 3329 y(.)-38 3342 +y(.)-38 3355 y(.)-38 3368 y(.)-38 3381 y(.)-38 3394 y(.)-38 +3407 y(.)-38 3420 y(.)-38 3433 y(.)-38 3446 y(.)-38 3459 +y(.)-38 3472 y(.)-38 3485 y(.)-38 3498 y(.)-38 3511 y(.)0 +1003 y Fs(#)0 999 y(-)0 1007 y(-)22 1003 y(,)p Fv(fo)n(o)h +Fw(is)f(read)i(as)f(the)h(ob)r(ject)f(resulting)h(from)d(the)i(ev)n +(aluation)f(of)g(the)i(Lisp)f(ob)r(ject)0 1055 y(represen)o(ted)12 +b(b)o(y)d Fv(fo)n(o)p Fw(,)h(whic)o(h)f(ma)o(y)e(b)q(e)j(the)g(prin)o +(ted)g(represen)o(tation)h(of)d(an)o(y)h(Lisp)g(ob)r(ject.)0 +1107 y(The)15 b(ev)n(aluation)e(is)h(done)g(during)g(the)h +Fs(read)f Fw(pro)q(cess,)i(unless)f(the)g(compiler)d(is)j(doing)0 +1159 y(the)g(reading,)f(in)g(whic)o(h)h(case)g(it)f(is)h(arranged)g +(that)f Fv(fo)n(o)h Fw(will)e(b)q(e)i(ev)n(aluated)f(when)h(the)0 +1211 y(\014le)e(of)g(compiled)e(co)q(de)j(is)f(loaded.)18 +b(The)13 b Fs(#)655 1207 y(-)655 1215 y(-)677 1211 y(,)g +Fw(syn)o(tax)g(therefore)i(p)q(erforms)d(a)h(load-time)0 +1263 y(ev)n(aluation)c(of)g Fv(fo)n(o)p Fw(.)17 b(By)10 +b(con)o(trast,)h Fs(#)551 1259 y(-)551 1267 y(-)573 1263 +y(.)f Fw(\(see)h(ab)q(o)o(v)o(e\))f(p)q(erforms)g(a)g(read-time)f(ev)n +(aluation.)0 1314 y(In)18 b(a)g(sense,)j Fs(#)219 1310 +y(-)219 1318 y(-)241 1314 y(,)d Fw(is)g(lik)o(e)f(sp)q(ecifying)h +Fs(\(eval)i(load\))e Fw(to)g Fs(eval-when)p Fw(,)f(whereas)i +Fs(#)1305 1310 y(-)1305 1318 y(-)1327 1314 y(.)f Fw(is)0 +1366 y(more)e(lik)o(e)g(sp)q(ecifying)h Fs(\(eval)j(compile\))p +Fw(.)26 b(It)17 b(mak)o(es)f(no)h(di\013erence)i(when)e(loading)0 +1418 y(in)o(terpreted)e(co)q(de;)f(when)f(co)q(de)h(is)f(to)g(b)q(e)h +(compiled,)e(ho)o(w)o(ev)o(er,)h Fs(#)1026 1414 y(-)1026 +1422 y(-)1048 1418 y(.)g Fw(sp)q(eci\014es)i(compile-)0 +1470 y(time)e(ev)n(aluation)f(and)i Fs(#)375 1466 y(-)375 +1474 y(-)397 1470 y(,)f Fw(sp)q(eci\014es)j(load-time)11 +b(ev)n(aluation.)-33 1482 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1590 a(X3J13)g(v)o(oted)h(in)f(Jan)o(uary)g(1989)g +Ft(h)p Fw(162)p Ft(i)g Fw(to)h(remo)o(v)o(e)e Fs(#)871 +1586 y(-)871 1594 y(-)893 1590 y(,)i Fw(from)d(the)k(language.)j(X3J13) +-33 1562 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1642 a(noted)f(that)f(the)g(\014rst)h(edition)f(failed)f +(to)h(mak)o(e)e(it)i(clear)h(that)f Fs(#)1005 1638 y(-)1005 +1646 y(-)1026 1642 y(,)g Fw(can)h(b)q(e)f(meaningful)0 +1694 y(only)d(within)g(quoted)i(forms.)j(All)11 b(sorts)h(of)g +(anomalies)e(can)i(arise,)g(including)f(inconsis-)0 1746 +y(tencies)k(b)q(et)o(w)o(een)g(the)g(in)o(terpreter)h(and)d(compiler,)f +(if)h Fs(#)873 1742 y(-)873 1750 y(-)895 1746 y(,)g Fw(is)h(not)g(prop) +q(erly)g(restricted.)0 1798 y(See)h Fs(load-time-eval)p +Fw(.)-33 1809 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1920 a Fs(#)0 1916 y(-)0 1924 y(-)22 1920 +y(B)0 1985 y(#)0 1981 y(-)0 1989 y(-)22 1985 y(b)p Fv(r)n(ational)d +Fw(reads)i Fv(r)n(ational)f Fw(in)f(binary)h(\(radix)g(2\).)k(F)m(or)c +(example,)e Fs(#)1070 1981 y(-)1070 1989 y(-)1092 1985 +y(B1101)h Ft(\021)i Fs(13)p Fw(,)e(and)0 2037 y Fs(#)0 +2033 y(-)0 2041 y(-)22 2037 y(b101/11)g Ft(\021)i Fs(5/3)p +Fw(.)42 2091 y(Compare)e(this)i(to)g Fs(#)351 2087 y(-)351 +2095 y(-)373 2091 y(*)p Fw(,)f(used)i(for)e(expressing)i(bit-v)o +(ectors)g(in)e(binary)h(notation.)-33 2063 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2211 a Fs(#)0 2207 y(-)0 2215 y(-)22 2211 +y(O)0 2277 y(#)0 2273 y(-)0 2281 y(-)22 2277 y(o)p Fv(r)n(ational)g +Fw(reads)i Fv(r)n(ational)e Fw(in)g(o)q(ctal)h(\(radix)f(8\).)21 +b(F)m(or)15 b(example,)e Fs(#)1060 2273 y(-)1060 2281 +y(-)1082 2277 y(o37/15)g Ft(\021)i Fs(31/13)p Fw(,)0 +2329 y(and)f Fs(#)81 2325 y(-)81 2333 y(-)103 2329 y(o777)f +Ft(\021)h Fs(511)p Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 576 600 +576 599 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(576)77 b(COMMON)13 +b(LISP)0 295 y Fs(#)0 291 y(-)0 299 y(-)22 295 y(X)0 +360 y(#)0 356 y(-)0 364 y(-)22 360 y(x)p Fv(r)n(ational)i +Fw(reads)j Fv(r)n(ational)e Fw(in)f(hexadecimal)g(\(radix)h(16\).)25 +b(The)17 b(digits)f(ab)q(o)o(v)o(e)g Fs(9)g Fw(are)0 +412 y(the)c(letters)i Fs(A)d Fw(through)h Fs(F)f Fw(\(the)i(lo)o(w)o +(ercase)g(letters)g Fs(a)e Fw(through)h Fs(f)g Fw(are)g(also)f +(acceptable\).)0 464 y(F)m(or)i(example,)g Fs(#)249 460 +y(-)249 468 y(-)270 464 y(xF00)g Ft(\021)i Fs(3840)p +Fw(.)0 2214 y Fs(#)0 2210 y(-)0 2218 y(-)22 2214 y Fv(n)p +Fs(R)0 2277 y(#)0 2273 y(-)0 2281 y(-)22 2277 y Fv(r)n(adix)p +Fs(r)p Fv(r)n(ational)c Fw(reads)h Fv(r)n(ational)f Fw(in)h(radix)f +Fv(r)n(adix)p Fw(.)17 b Fv(r)n(adix)12 b Fw(m)o(ust)e(consist)j(of)e +(only)g(digits,)0 2329 y(and)j(it)f(is)h(read)g(in)g(decimal;)d(its)j +(v)n(alue)g(m)o(ust)e(b)q(e)j(b)q(et)o(w)o(een)g(2)f(and)g(36)f +(\(inclusiv)o(e\).)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 577 601 +577 600 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(577)42 295 y Fw(F)m(or)14 b(example,)g Fs(#)293 291 +y(-)293 299 y(-)315 295 y(3r102)g Fw(is)h(another)h(w)o(a)o(y)e(of)h +(writing)g Fs(11)p Fw(,)f(and)h Fs(#)1067 291 y(-)1067 +299 y(-)1089 295 y(11R32)f Fw(is)h(another)0 347 y(w)o(a)o(y)d(of)g +(writing)g Fs(35)p Fw(.)17 b(F)m(or)12 b(radices)i(larger)e(than)h(10,) +f(letters)i(of)e(the)h(alphab)q(et)g(are)g(used)0 399 +y(in)g(order)i(for)f(the)g(digits)f(after)h Fs(9)p Fw(.)0 +501 y Fs(#)0 497 y(-)0 505 y(-)22 501 y Fv(n)p Fs(A)0 +565 y Fw(The)i(syn)o(tax)g Fs(#)222 561 y(-)222 569 y(-)244 +565 y Fv(n)p Fs(A)p Fv(obje)n(ct)g Fw(constructs)i(an)d +Fv(n)p Fw(-dimensional)f(arra)o(y)m(,)h(using)h Fv(obje)n(ct)f +Fw(as)h(the)0 616 y(v)n(alue)d(of)h(the)g Fs(:initial-contents)c +Fw(argumen)o(t)j(to)h Fs(make-array)p Fw(.)42 668 y(The)e(v)n(alue)g +(of)g Fv(n)h Fw(mak)o(es)e(a)i(di\013erence:)19 b Fs(#)671 +664 y(-)671 672 y(-)693 668 y(2A\(\(0)h(1)h(5\))f(\(foo)h(2)g(\(hot)f +(dog\)\)\))p Fw(,)11 b(for)0 720 y(example,)h(represen)o(ts)17 +b(a)c(2-b)o(y-3)g(matrix:)0 824 y Fs(0)148 b(1)g(5)0 +875 y(foo)105 b(2)148 b(\(hot)21 b(dog\))0 978 y Fw(In)c(con)o(trast,)h +Fs(#)231 974 y(-)231 982 y(-)253 978 y(1A\(\(0)i(1)h(5\))g(\(foo)f(2)h +(\(hot)g(dog\)\)\))16 b Fw(represen)o(ts)j(a)e(length-2)g(arra)o(y)0 +1030 y(whose)d(elemen)o(ts)g(are)g(lists:)0 1133 y Fs(\(0)21 +b(1)g(5\))84 b(\(foo)20 b(2)h(\(hot)g(dog\)\))0 1236 +y Fw(F)m(urthermore,)1025 b Fs(#)1264 1232 y(-)1264 1240 +y(-)1286 1236 y(0A\(\(0)0 1288 y(1)21 b(5\))g(\(foo)f(2)h(\(hot)f +(dog\)\)\))f Fw(represen)o(ts)k(a)d(zero-dimensional)f(arra)o(y)h +(whose)h(sole)0 1340 y(elemen)o(t)13 b(is)h(a)g(list:)0 +1443 y Fs(\(\(0)21 b(1)g(5\))f(\(foo)h(2)g(\(hot)f(dog\)\)\))0 +1546 y Fw(Similarly)l(,)10 b Fs(#)184 1542 y(-)184 1550 +y(-)205 1546 y(0Afoo)i Fw(\(or,)h(more)e(readably)m(,)h +Fs(#)684 1542 y(-)684 1550 y(-)706 1546 y(0A)20 b(foo)p +Fw(\))13 b(represen)o(ts)i(a)d(zero-dimensional)0 1598 +y(arra)o(y)17 b(whose)g(sole)h(elemen)o(t)e(is)h(the)h(sym)o(b)q(ol)d +Fs(foo)p Fw(.)27 b(The)17 b(expression)i Fs(#)1140 1594 +y(-)1140 1602 y(-)1162 1598 y(1Afoo)d Fw(w)o(ould)0 1650 +y(not)e(b)q(e)g(legal)f(b)q(ecause)j Fs(foo)d Fw(is)h(not)g(a)f +(sequence.)0 1753 y Fs(#)0 1749 y(-)0 1757 y(-)22 1753 +y(S)0 1812 y Fw(The)25 b(syn)o(tax)f Fs(#)239 1808 y(-)239 +1816 y(-)261 1812 y(s\()p Fv(name)d(slot1)g(value1)h(slot2)f(value2)g +Fs(...\))j Fw(denotes)h(a)f(structure.)0 1864 y(This)d(is)g(legal)g +(only)f(if)h Fv(name)g Fw(is)h(the)f(name)g(of)f(a)h(structure)j +(already)d(de\014ned)h(b)o(y)0 1916 y Fs(defstruct)15 +b Fw(and)h(if)g(the)i(structure)h(has)e(a)f(standard)h(constructor)i +(macro,)c(whic)o(h)i(it)0 1968 y(normally)10 b(will.)16 +b(Let)c Fv(cm)h Fw(stand)f(for)g(the)h(name)e(of)g(this)i(constructor)h +(macro;)d(then)i(this)0 2020 y(syn)o(tax)h(is)g(equiv)n(alen)o(t)f(to)0 +2123 y Fs(#)0 2119 y(-)0 2127 y(-)22 2123 y(.\()p Fv(cm)21 +b(keywor)n(d1)323 2127 y Fn(')347 2123 y Fv(value1)h(keywor)n(d2)665 +2127 y Fn(')689 2123 y Fv(value2)g Fs(...\))0 2226 y +Fw(where)15 b(eac)o(h)f Fv(keywor)n(dj)g Fw(is)f(the)i(result)g(of)e +(computing)0 2329 y Fs(\(intern)20 b(\(string)f Fv(slotj)p +Fs(\))463 2333 y Fn(')487 2329 y Fs(keyword\))-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 578 602 +578 601 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(578)77 b(COMMON)13 +b(LISP)0 295 y Fw(\(This)e(computation)f(is)h(made)f(so)h(that)g(one)h +(need)g(not)f(write)g(a)g(colon)g(in)g(fron)o(t)f(of)h(ev)o(ery)0 +347 y(slot)17 b(name.\))26 b(The)18 b(net)g(e\013ect)g(is)f(that)g(the) +h(constructor)h(macro)d(is)h(called)f(with)h(the)0 399 +y(sp)q(eci\014ed)d(slots)f(ha)o(ving)f(the)i(sp)q(eci\014ed)g(v)n +(alues)f(\(note)g(that)g(one)g(do)q(es)h(not)e(write)h(quote)0 +450 y(marks)i(in)g(the)i Fs(#)250 446 y(-)250 454 y(-)271 +450 y(S)f Fw(syn)o(tax\).)24 b(Whatev)o(er)16 b(ob)r(ject)h(the)f +(constructor)i(macro)c(returns)k(is)0 502 y(returned)e(b)o(y)d(the)i +Fs(#)298 498 y(-)298 506 y(-)320 502 y(S)e Fw(syn)o(tax.)0 +619 y Fs(#)0 615 y(-)0 623 y(-)22 619 y(P)-33 605 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 685 a Fw(X3J13)j(v)o(oted)h(in)g(June)g(1989)f +Ft(h)p Fw(131)p Ft(i)h Fw(to)f(de\014ne)i(the)f(reader)h(syn)o(tax)f +Fs(#)1129 681 y(-)1129 689 y(-)1151 685 y(p"...")e Fw(to)i(b)q(e)0 +736 y(equiv)n(alen)o(t)c(to)h Fs(#)248 732 y(-)248 740 +y(-)270 736 y(.\(parse-namestr)o(ing)k("..."\))p Fw(.)f(Presumably)c +(this)h(w)o(as)f(mean)o(t)g(to)0 788 y(b)q(e)i(tak)o(en)f(descriptiv)o +(ely)h(and)g(not)f(literally)m(.)j(I)e(w)o(ould)e(think,)h(for)g +(example,)f(that)h(the)0 840 y(committee)9 b(did)h(not)h(wish)g(to)f +(quibble)h(o)o(v)o(er)f(the)i(pac)o(k)n(age)e(in)g(whic)o(h)h(the)g +(name)f Fs(parse-)0 892 y(namestring)k Fw(w)o(as)i(to)g(b)q(e)h(read.) +25 b(Similarl)o(y)m(,)13 b(I)j(w)o(ould)f(presume)h(that)h(the)f +Fs(#)1216 888 y(-)1216 896 y(-)1238 892 y(p)g Fw(syn)o(tax)0 +944 y(op)q(erates)g(normally)c(rather)j(than)f(signaling)f(an)i(error)g +(when)g Fs(*read-eval*)d Fw(is)i(false.)0 996 y(I)g(in)o(terpret)i(the) +f(in)o(ten)o(t)f(of)g(the)g(v)o(ote)h(to)f(b)q(e)h(that)f +Fs(#)802 992 y(-)802 1000 y(-)824 996 y(p)g Fw(reads)h(a)f(follo)o +(wing)e(form,)g(whic)o(h)0 1048 y(should)i(b)q(e)g(a)g(string,)g(that)g +(is)g(then)g(con)o(v)o(erted)i(to)e(a)f(pathname)g(as)h(if)f(b)o(y)h +(application)0 1100 y(of)f(the)i(standard)f(function)g +Fs(parse-namestring)o Fw(.)-33 1111 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1217 a Fs(#)0 1213 y(-)0 1221 y(-)22 1217 +y Fv(n)45 1213 y Fs(U)45 1221 y(U)0 1280 y Fw(The)h(syn)o(tax)g +Fs(#)220 1276 y(-)220 1284 y(-)241 1280 y Fv(n)264 1276 +y Fs(U)264 1284 y(U)287 1280 y Fv(obje)n(ct)f Fw(reads)i(as)e(whatev)o +(er)i(Lisp)e(ob)r(ject)i(has)e Fv(obje)n(ct)h Fw(as)g(its)f(prin)o(ted) +0 1332 y(represen)o(tation.)33 b(Ho)o(w)o(ev)o(er,)19 +b(that)f(ob)r(ject)h(is)f(lab)q(elled)g(b)o(y)g Fv(n)p +Fw(,)h(a)f(required)h(unsigned)0 1384 y(decimal)13 b(in)o(teger,)h(for) +g(p)q(ossible)h(reference)i(b)o(y)d(the)h(syn)o(tax)g +Fs(#)962 1380 y(-)962 1388 y(-)983 1384 y Fv(n)p Fs(#)1006 +1380 y(-)1006 1388 y(-)1043 1384 y Fw(\(b)q(elo)o(w\).)20 +b(The)15 b(scop)q(e)0 1435 y(of)10 b(the)i(lab)q(el)e(is)h(the)h +(expression)g(b)q(eing)f(read)g(b)o(y)g(the)g(outermost)g(call)f(to)h +Fs(read)p Fw(.)16 b(Within)0 1487 y(this)e(expression)h(the)f(same)g +(lab)q(el)f(ma)o(y)f(not)i(app)q(ear)g(t)o(wice.)0 1604 +y Fs(#)0 1600 y(-)0 1608 y(-)22 1604 y Fv(n)p Fs(#)45 +1600 y(-)45 1608 y(-)0 1663 y Fw(The)i(syn)o(tax)f Fs(#)221 +1659 y(-)221 1667 y(-)243 1663 y Fv(n)p Fs(#)266 1659 +y(-)266 1667 y(-)288 1663 y Fw(,)h(where)g Fv(n)g Fw(is)f(a)h(required) +g(unsigned)g(decimal)e(in)o(teger,)h(serv)o(es)i(as)f(a)0 +1715 y(reference)21 b(to)c(some)h(ob)r(ject)g(lab)q(elled)g(b)o(y)g +Fs(#)691 1711 y(-)691 1719 y(-)713 1715 y Fv(n)736 1711 +y Fs(U)736 1719 y(U)758 1715 y Fw(;)h(that)g(is,)f Fs(#)942 +1711 y(-)942 1719 y(-)964 1715 y Fv(n)p Fs(#)987 1711 +y(-)987 1719 y(-)1027 1715 y Fw(represen)o(ts)j(a)d(p)q(oin)o(ter)0 +1767 y(to)i(the)g(same)g(iden)o(tical)f(\()p Fs(eq)p +Fw(\))h(ob)r(ject)h(lab)q(elled)e(b)o(y)h Fs(#)869 1763 +y(-)869 1771 y(-)891 1767 y Fv(n)914 1763 y Fs(U)914 +1771 y(U)936 1767 y Fw(.)36 b(This)20 b(p)q(ermits)g(notation)0 +1819 y(of)15 b(structures)j(with)e(shared)g(or)g(circular)g +(substructure.)26 b(F)m(or)15 b(example,)f(a)i(structure)0 +1871 y(created)f(in)f(the)g(v)n(ariable)f Fs(y)h Fw(b)o(y)f(this)h(co)q +(de:)0 1989 y Fs(\(setq)20 b(x)h(\(list)301 1993 y Fn(')324 +1989 y Fs(p)365 1993 y Fn(')389 1989 y Fs(q\)\))0 2041 +y(\(setq)f(y)h(\(list)f(\(list)431 2045 y Fn(')455 2041 +y Fs(a)495 2045 y Fn(')519 2041 y Fs(b\))g(x)624 2045 +y Fn(')648 2041 y Fs(foo)g(x\)\))0 2093 y(\(rplacd)g(\(last)g(y\))h +(\(cdr)f(y\)\))0 2210 y Fw(could)14 b(b)q(e)g(represen)o(ted)j(in)c +(this)h(w)o(a)o(y:)0 2329 y Fs(\(\(a)21 b(b\))f(.)h(#)194 +2325 y(-)194 2333 y(-)216 2329 y(1)238 2325 y(U)238 2333 +y(U)260 2329 y(\(#)282 2325 y(-)282 2333 y(-)303 2329 +y(2)325 2325 y(U)325 2333 y(U)347 2329 y(\(p)g(q\))f(foo)h(#)563 +2325 y(-)563 2333 y(-)585 2329 y(2#)607 2325 y(-)607 +2333 y(-)649 2329 y(.)g(#)692 2325 y(-)692 2333 y(-)714 +2329 y(1#)736 2325 y(-)736 2333 y(-)758 2329 y(\)\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 579 603 +579 602 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(579)0 295 y Fw(Without)19 b(this)g(notation,)h(but)g(with)f +Fs(*print-length*)e Fw(set)j(to)f Fs(10)p Fw(,)h(the)h(structure)0 +347 y(w)o(ould)13 b(prin)o(t)h(in)f(this)h(w)o(a)o(y:)0 +445 y Fs(\(\(a)21 b(b\))f(\(p)h(q\))g(foo)f(\(p)h(q\))g(\(p)g(q\))f +(foo)h(\(p)g(q\))f(\(p)h(q\))g(foo)g(\(p)f(q\))h(...\))0 +543 y Fw(A)14 b(reference)j Fs(#)220 539 y(-)220 547 +y(-)242 543 y Fv(n)p Fs(#)265 539 y(-)265 547 y(-)301 +543 y Fw(ma)o(y)12 b(o)q(ccur)j(only)f(after)g(a)g(lab)q(el)g +Fs(#)829 539 y(-)829 547 y(-)851 543 y Fv(n)874 539 y +Fs(U)874 547 y(U)896 543 y Fw(;)f(forw)o(ard)h(references)j(are)e(not)0 +594 y(p)q(ermitted.)23 b(In)16 b(addition,)f(the)h(reference)i(ma)o(y)c +(not)h(app)q(ear)i(as)e(the)i(lab)q(elled)e(ob)r(ject)0 +646 y(itself)i(\(that)h(is,)f(one)h(ma)o(y)e(not)h(write)h +Fs(#)632 642 y(-)632 650 y(-)653 646 y Fv(n)676 642 y +Fs(U)676 650 y(U)720 646 y(#)720 642 y(-)720 650 y(-)742 +646 y Fv(n)p Fs(#)765 642 y(-)765 650 y(-)787 646 y Fw(\),)g(b)q +(ecause)h(the)f(ob)r(ject)g(lab)q(elled)f(b)o(y)0 698 +y Fs(#)0 694 y(-)0 702 y(-)22 698 y Fv(n)45 694 y Fs(U)45 +702 y(U)81 698 y Fw(is)d(not)f(w)o(ell)g(de\014ned)i(in)f(this)g(case.) +0 796 y Fs(#)0 792 y(-)0 800 y(-)22 796 y(+)0 855 y Fw(The)g +Fs(#)85 851 y(-)85 859 y(-)107 855 y(+)g Fw(syn)o(tax)g(pro)o(vides)g +(a)f(read-time)g(conditionalization)f(facilit)o(y;)g(the)i(syn)o(tax)g +(is)0 953 y Fs(#)0 949 y(-)0 957 y(-)22 953 y(+)p Fv(fe)n(atur)n(e)20 +b(form)0 1051 y Fw(If)c Fv(fe)n(atur)n(e)f Fw(is)h(\\true,")h(then)g +(this)f(syn)o(tax)g(represen)o(ts)j(a)d(Lisp)g(ob)r(ject)h(whose)f +(prin)o(ted)0 1103 y(represen)o(tation)21 b(is)e Fv(form)p +Fw(.)33 b(If)19 b Fv(fe)n(atur)n(e)g Fw(is)g(\\false,")g(then)h(this)g +(syn)o(tax)f(is)g(e\013ectiv)o(ely)0 1155 y(whitespace;)c(it)e(is)h(as) +g(if)f(it)g(did)h(not)g(app)q(ear.)42 1207 y(The)19 b +Fv(fe)n(atur)n(e)f Fw(should)h(b)q(e)g(the)h(prin)o(ted)f(represen)o +(tation)h(of)e(a)h(sym)o(b)q(ol)e(or)i(list.)32 b(If)0 +1258 y Fv(fe)n(atur)n(e)12 b Fw(is)g(a)h(sym)o(b)q(ol,)d(then)j(it)f +(is)h(true)g(if)f(and)g(only)g(if)g(it)g(is)g(a)h(mem)o(b)q(er)e(of)g +(the)j(list)e(that)0 1310 y(is)i(the)g(v)n(alue)f(of)h(the)g(global)e +(v)n(ariable)h Fs(*features*)p Fw(.)p 0 1370 V 0 1430 +a Fm(Compatibilit)o(y)f(note:)17 b FA(MacLisp)e(uses)e(the)g +Fj(status)e FA(sp)q(ecial)k(form)d(for)h(this)h(purp)q(ose,)g(and)0 +1476 y(Lisp)h(Mac)o(hine)g(Lisp)f(duplicates)i Fj(status)c +FA(essen)o(tially)k(only)f(for)e(the)h(sak)o(e)g(of)f +Fj(\(status)j(fea-)0 1522 y(tures\))p FA(.)g(The)d(use)h(of)f(a)g(v)n +(ariable)j(allo)o(ws)f(one)e(to)h(bind)h(the)e(features)h(list,)g(when) +g(compiling,)0 1567 y(for)f(example.)p 0 1599 V 42 1666 +a Fw(Otherwise,)20 b Fv(fe)n(atur)n(e)d Fw(should)h(b)q(e)h(a)e(Bo)q +(olean)h(expression)i(comp)q(osed)d(of)h Fs(and)p Fw(,)g +Fs(or)p Fw(,)0 1718 y(and)c Fs(not)f Fw(op)q(erators)i(on)e(\(recursiv) +o(e\))j Fv(fe)n(atur)n(e)d Fw(expressions.)42 1770 y(F)m(or)18 +b(example,)g(supp)q(ose)j(that)e(in)f(implemen)o(tation)d(A)k(the)h +(features)g Fs(spice)e Fw(and)0 1822 y Fs(perq)h Fw(are)h(true,)h(and)f +(in)f(implemen)o(tation)d(B)k(the)g(feature)h Fs(lispm)d +Fw(is)i(true.)36 b(Then)0 1873 y(the)16 b(expressions)h(on)f(the)g +(left)g(b)q(elo)o(w)f(are)h(read)g(the)g(same)f(as)h(those)g(on)g(the)g +(righ)o(t)f(in)0 1925 y(implemen)o(tatio)o(n)c(A:)0 2023 +y Fs(\(cons)20 b(#)130 2019 y(-)130 2027 y(-)152 2023 +y(+spice)g("Spice")g(#)478 2019 y(-)478 2027 y(-)499 +2023 y(+lispm)g("Lispm")g(x\))127 b(\(cons)20 b("Spice")f(x\))0 +2075 y(\(setq)h(a)171 2079 y Fn(')194 2075 y Fs(\(1)h(2)g(#)302 +2071 y(-)302 2079 y(-)324 2075 y(+perq)f(43)h(#)519 2071 +y(-)519 2079 y(-)540 2075 y(+\(not)g(perq\))f(27\)\))105 +b(\(setq)20 b(a)1165 2079 y Fn(')1188 2075 y Fs(\(1)h(2)g(43\)\))0 +2127 y(\(let)f(\(\(a)h(3\))g(#)260 2123 y(-)260 2131 +y(-)281 2127 y(+\(or)g(spice)f(lispm\))g(\(b)h(3\)\))190 +b(\(let)20 b(\(\(a)g(3\))h(\(b)g(3\)\))42 2179 y(\(foo)g(a\)\))804 +b(\(foo)20 b(a\)\))0 2231 y(\(cons)g(a)h(#)173 2227 y(-)173 +2235 y(-)195 2231 y(+perq)f(#)325 2227 y(-)325 2235 y(-)347 +2231 y(-perq)g(b)h(c\))423 b(\(cons)20 b(a)h(c\))0 2329 +y Fw(In)14 b(implemen)o(tatio)o(n)d(B,)j(ho)o(w)o(ev)o(er,)g(they)g +(are)g(read)h(in)e(this)h(w)o(a)o(y:)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 580 604 +580 603 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(580)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(cons)20 b(#)130 291 y(-)130 299 y(-)152 +295 y(+spice)g("Spice")g(#)478 291 y(-)478 299 y(-)499 +295 y(+lispm)g("Lispm")g(x\))127 b(\(cons)20 b("Lispm")f(x\))0 +347 y(\(setq)h(a)171 351 y Fn(')194 347 y Fs(\(1)h(2)g(#)302 +343 y(-)302 351 y(-)324 347 y(+perq)f(43)h(#)519 343 +y(-)519 351 y(-)540 347 y(+\(not)g(perq\))f(27\)\))105 +b(\(setq)20 b(a)1165 351 y Fn(')1188 347 y Fs(\(1)h(2)g(27\)\))0 +399 y(\(let)f(\(\(a)h(3\))g(#)260 395 y(-)260 403 y(-)281 +399 y(+\(or)g(spice)f(lispm\))g(\(b)h(3\)\))190 b(\(let)20 +b(\(\(a)g(3\))h(\(b)g(3\)\))42 450 y(\(foo)g(a\)\))804 +b(\(foo)20 b(a\)\))0 502 y(\(cons)g(a)h(#)173 498 y(-)173 +506 y(-)195 502 y(+perq)f(#)325 498 y(-)325 506 y(-)347 +502 y(-perq)g(b)h(c\))423 b(\(cons)20 b(a)h(c\))-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 581 605 +581 604 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(581)42 295 y Fw(The)15 b Fs(#)128 291 y(-)128 299 y(-)150 +295 y(+)f Fw(construction)i(m)o(ust)e(b)q(e)i(used)f(judiciously)f(if)g +(unreadable)i(co)q(de)f(is)g(not)g(to)0 347 y(result.)k(The)13 +b(user)i(should)e(mak)o(e)f(a)h(careful)g(c)o(hoice)h(b)q(et)o(w)o(een) +h(read-time)d(conditional-)0 399 y(ization)h(and)h(run-time)f +(conditionalization.)42 450 y(The)i Fs(#)128 446 y(-)128 +454 y(-)150 450 y(+)g Fw(syn)o(tax)h(op)q(erates)g(b)o(y)g(\014rst)g +(reading)f(the)h Fv(fe)n(atur)n(e)f Fw(sp)q(eci\014cation)h(and)f(then) +-38 425 y Fk(.)-38 438 y(.)-38 451 y(.)-38 464 y(.)-38 +477 y(.)-38 490 y(.)-38 503 y(.)-38 516 y(.)-38 529 y(.)-38 +542 y(.)-38 555 y(.)-38 568 y(.)-38 581 y(.)-38 594 y(.)-38 +607 y(.)-38 620 y(.)-38 633 y(.)-38 646 y(.)-38 659 y(.)-38 +672 y(.)-38 685 y(.)-38 698 y(.)-38 711 y(.)-38 724 y(.)-38 +737 y(.)-38 750 y(.)-38 763 y(.)-38 776 y(.)-38 789 y(.)-38 +802 y(.)-38 815 y(.)-38 828 y(.)-38 840 y(.)-38 853 y(.)-38 +866 y(.)-38 879 y(.)-38 892 y(.)-38 905 y(.)-38 918 y(.)-38 +931 y(.)-38 944 y(.)-38 957 y(.)-38 970 y(.)-38 983 y(.)-38 +996 y(.)-38 1009 y(.)-38 1022 y(.)-38 1035 y(.)-38 1048 +y(.)-38 1061 y(.)-38 1074 y(.)-38 1087 y(.)-38 1100 y(.)-38 +1113 y(.)-38 1126 y(.)-38 1139 y(.)-38 1152 y(.)-38 1165 +y(.)-38 1178 y(.)-38 1191 y(.)-38 1204 y(.)-38 1217 y(.)-38 +1230 y(.)-38 1243 y(.)-38 1256 y(.)-38 1269 y(.)-38 1282 +y(.)-38 1295 y(.)-38 1307 y(.)-38 1320 y(.)-38 1333 y(.)-38 +1346 y(.)-38 1359 y(.)-38 1372 y(.)-38 1385 y(.)-38 1398 +y(.)-38 1411 y(.)-38 1424 y(.)-38 1437 y(.)-38 1450 y(.)-38 +1463 y(.)-38 1476 y(.)-38 1489 y(.)-38 1502 y(.)-38 1515 +y(.)-38 1528 y(.)-38 1541 y(.)-38 1554 y(.)-38 1567 y(.)-38 +1580 y(.)-38 1593 y(.)-38 1606 y(.)-38 1619 y(.)-38 1632 +y(.)-38 1645 y(.)-38 1658 y(.)-38 1671 y(.)-38 1684 y(.)-38 +1697 y(.)-38 1710 y(.)-38 1723 y(.)-38 1736 y(.)-38 1749 +y(.)-38 1762 y(.)-38 1774 y(.)-38 1787 y(.)-38 1800 y(.)-38 +1813 y(.)-38 1826 y(.)-38 1839 y(.)-38 1852 y(.)-38 1865 +y(.)-38 1878 y(.)-38 1891 y(.)-38 1904 y(.)-38 1917 y(.)-38 +1930 y(.)-38 1943 y(.)-38 1956 y(.)-38 1969 y(.)-38 1982 +y(.)-38 1995 y(.)-38 2008 y(.)-38 2021 y(.)-38 2034 y(.)-38 +2047 y(.)-38 2060 y(.)-38 2073 y(.)-38 2086 y(.)-38 2099 +y(.)-38 2112 y(.)-38 2125 y(.)-38 2138 y(.)-38 2151 y(.)-38 +2164 y(.)-38 2177 y(.)-38 2190 y(.)-38 2203 y(.)-38 2216 +y(.)-38 2229 y(.)-38 2241 y(.)-38 2254 y(.)-38 2267 y(.)-38 +2280 y(.)-38 2293 y(.)-38 2306 y(.)-38 2319 y(.)-38 2332 +y(.)-38 2345 y(.)-38 2358 y(.)-38 2371 y(.)-38 2384 y(.)-38 +2397 y(.)-38 2410 y(.)-38 2423 y(.)-38 2436 y(.)-38 2449 +y(.)-38 2462 y(.)-38 2475 y(.)-38 2488 y(.)-38 2501 y(.)-38 +2514 y(.)-38 2527 y(.)-38 2540 y(.)-38 2553 y(.)-38 2566 +y(.)-38 2579 y(.)-38 2592 y(.)-38 2605 y(.)-38 2618 y(.)-38 +2631 y(.)-38 2644 y(.)-38 2657 y(.)-38 2670 y(.)-38 2683 +y(.)-38 2696 y(.)-38 2708 y(.)-38 2721 y(.)-38 2734 y(.)-38 +2747 y(.)-38 2760 y(.)-38 2773 y(.)-38 2786 y(.)-38 2799 +y(.)-38 2812 y(.)-38 2825 y(.)-38 2838 y(.)-38 2851 y(.)-38 +2864 y(.)-38 2877 y(.)-38 2890 y(.)-38 2903 y(.)-38 2916 +y(.)-38 2929 y(.)-38 2942 y(.)-38 2955 y(.)-38 2968 y(.)-38 +2981 y(.)-38 2994 y(.)-38 3007 y(.)0 502 y Fw(skipping)i(o)o(v)o(er)h +(the)h Fv(form)e Fw(if)g(the)h Fv(fe)n(atur)n(e)g Fw(is)g(\\false.")29 +b(This)18 b(skipping)f(of)g(a)h(form)e(is)0 554 y(a)h(bit)g(tric)o(ky)h +(b)q(ecause)h(of)e(the)h(p)q(ossibilit)o(y)e(of)h(user-de\014ned)i +(macro)e(c)o(haracters)i(and)0 606 y(side)g(e\013ects)i(caused)g(b)o(y) +d(the)i Fs(#)498 602 y(-)498 610 y(-)520 606 y(.)f Fw(and)f +Fs(#)646 602 y(-)646 610 y(-)668 606 y(,)h Fw(constructions.)35 +b(It)19 b(is)g(accomplished)f(b)o(y)0 658 y(binding)e(the)i(v)n +(ariable)e Fs(*read-suppress*)d Fw(to)k(a)g(non-)p Fs(nil)f +Fw(v)n(alue)h(and)f(then)i(calling)0 710 y(the)c Fs(read)f +Fw(function.)18 b(See)c(the)h(description)f(of)f Fs(*read-suppress*)d +Fw(for)k(the)g(details)f(of)0 762 y(this)h(op)q(eration.)-33 +773 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 814 a(X3J13)f(v)o(oted)h(in)g(Jan)o(uary)f(1989)g +Ft(h)p Fw(162)p Ft(i)h Fw(to)f(remo)o(v)o(e)g Fs(#)889 +810 y(-)889 818 y(-)911 814 y(,)h Fw(from)e(the)i(language.)-33 +785 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 866 a(X3J13)c(v)o(oted)h(in)f(Marc)o(h)h(1988)f +Ft(h)p Fw(163)p Ft(i)g Fw(to)h(sp)q(ecify)g(that)g(the)g +Fs(keyword)e Fw(pac)o(k)n(age)i(is)f(the)-33 837 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 917 a(default)15 b(pac)o(k)n(age)g(during)g(the)h +(reading)f(of)g(a)g(feature)h(sp)q(eci\014cation.)24 +b(Th)o(us)15 b Fs(#)1242 913 y(-)1242 921 y(-)1264 917 +y(+spice)0 969 y Fw(means)9 b(the)h(same)f(thing)g(as)h +Fs(#)441 965 y(-)441 973 y(-)463 969 y(+:spice)p Fw(,)e(and)i +Fs(#)714 965 y(-)714 973 y(-)736 969 y(+\(or)20 b(spice)g(lispm\))8 +b Fw(means)h(the)i(same)0 1021 y(thing)i(as)h Fs(#)159 +1017 y(-)159 1025 y(-)181 1021 y(+\(or)20 b(:spice)g(:lispm\))p +Fw(.)d(Sym)o(b)q(ols)12 b(in)h(other)i(pac)o(k)n(ages)f(ma)o(y)d(b)q(e) +k(used)g(as)0 1073 y(feature)i(names,)d(but)i(one)g(m)o(ust)f(use)i(an) +e(explicit)h(pac)o(k)n(age)f(pre\014x)i(to)e(cite)h(one)g(after)0 +1125 y Fs(#)0 1121 y(-)0 1129 y(-)22 1125 y(+)p Fw(.)-33 +1137 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1221 a Fs(#)0 1217 y(-)0 1225 y(-)22 1221 +y(-)0 1284 y(#)0 1280 y(-)0 1288 y(-)22 1284 y(-)p Fv(fe)n(atur)n(e)k +(form)13 b Fw(is)h(equiv)n(alen)o(t)f(to)h Fs(#)575 1280 +y(-)575 1288 y(-)597 1284 y(+\(not)20 b Fv(fe)n(atur)n(e)p +Fs(\))g Fv(form)p Fw(.)0 1380 y Fs(#)0 1376 y(-)0 1384 +y(-)22 1380 y(|)0 1443 y(#)0 1439 y(-)0 1447 y(-)22 1443 +y(|...|#)132 1439 y(-)132 1447 y(-)171 1443 y Fw(is)d(treated)j(as)e(a) +g(commen)o(t)e(b)o(y)h(the)i(reader,)h(just)e(as)g(ev)o(erything)h +(from)d(a)0 1495 y(semicolon)10 b(to)i(the)h(next)f(newline)g(is)g +(treated)h(as)f(a)g(commen)o(t.)j(An)o(ything)c(ma)o(y)f(app)q(ear)0 +1547 y(in)i(the)h(commen)o(t,)d(except)k(that)f(it)f(m)o(ust)g(b)q(e)h +(balanced)f(with)g(resp)q(ect)j(to)e(other)g(o)q(ccur-)0 +1599 y(rences)k(of)d Fs(#)174 1595 y(-)174 1603 y(-)196 +1599 y(|)h Fw(and)f Fs(|#)336 1595 y(-)336 1603 y(-)358 +1599 y Fw(.)21 b(Except)16 b(for)f(this)g(nesting)g(rule,)g(the)g +(commen)o(t)e(ma)o(y)g(con)o(tain)0 1651 y(an)o(y)g(c)o(haracters)j +(whatso)q(ev)o(er.)42 1703 y(The)d(main)e(purp)q(ose)j(of)e(this)h +(construct)i(is)e(to)f(allo)o(w)g(\\commen)o(ting)e(out")i(of)h(blo)q +(c)o(ks)0 1755 y(of)20 b(co)q(de)h(or)f(data.)36 b(The)21 +b(balancing)e(rule)i(allo)o(ws)d(suc)o(h)j(blo)q(c)o(ks)g(to)f(con)o +(tain)f(pieces)0 1806 y(already)d(so)g(commen)o(ted)f(out.)25 +b(In)16 b(this)g(resp)q(ect)j(the)e Fs(#)878 1802 y(-)878 +1810 y(-)899 1806 y(|...|#)1009 1802 y(-)1009 1810 y(-)1046 +1806 y Fw(syn)o(tax)f(of)g(Common)0 1858 y(Lisp)e(di\013ers)g(from)f +(the)h Fs(/*...*/)e Fw(commen)o(t)g(syn)o(tax)i(used)h(b)o(y)e(PL/I)h +(and)g(C.)0 1954 y Fs(#)0 1950 y(-)0 1958 y(-)22 1954 +y(<)0 2017 y Fw(This)f(is)f(not)h(legal)f(reader)i(syn)o(tax.)j(It)c +(is)g(con)o(v)o(en)o(tionally)e(used)j(in)e(the)h(prin)o(ted)g(repre-)0 +2069 y(sen)o(tation)e(of)g(ob)r(jects)i(that)e(cannot)h(b)q(e)g(read)g +(bac)o(k)f(in.)17 b(A)o(ttempting)10 b(to)h(read)h(a)f +Fs(#)1275 2065 y(-)1275 2073 y(-)1297 2069 y(<)g Fw(will)0 +2121 y(cause)18 b(an)f(error.)28 b(\(More)17 b(precisely)m(,)h(it)e +Fv(is)h Fw(legal)f(syn)o(tax,)h(but)g(the)h(macro-c)o(haracter)0 +2173 y(function)c(for)f Fs(#)226 2169 y(-)226 2177 y(-)248 +2173 y(<)h Fw(signals)f(an)g(error.\))42 2225 y(The)g(usual)h(con)o(v)o +(en)o(tion)f(for)g(prin)o(ting)g(unreadable)h(data)f(ob)r(jects)i(is)e +(to)g(prin)o(t)h(some)-33 2197 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2277 a(iden)o(tifying)c(information)f(\(the)k(in)o +(ternal)e(mac)o(hine)f(address)j(of)f(the)g(ob)r(ject,)g(if)f(nothing)0 +2329 y(else\))k(preceded)h(b)o(y)e Fs(#)326 2325 y(-)326 +2333 y(-)347 2329 y(<)g Fw(and)g(follo)o(w)o(ed)e(b)o(y)i +Fs(>)p Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 582 606 +582 605 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(582)77 b(COMMON)13 +b(LISP)42 295 y Fw(X3J13)e(v)o(oted)g(in)g(June)h(1989)f +Ft(h)p Fw(40)p Ft(i)g Fw(to)g(add)g Fs(print-unreadable-ob)o(ject)o +Fw(,)e(a)i(macro)0 347 y(that)i(prin)o(ts)g(an)g(ob)r(ject)g(using)g +Fs(#)496 343 y(-)496 351 y(-)517 347 y(<...>)f Fw(syn)o(tax)h(and)g +(also)f(tak)o(es)h(care)h(of)e(c)o(hec)o(king)h(the)0 +399 y(v)n(ariable)g Fs(*print-readably*)o Fw(.)-33 410 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 495 a Fs(#)0 491 y(-)0 499 y(-)22 495 +y Ft(h)p Fw(space)p Ft(i)p Fw(,)36 b Fs(#)198 491 y(-)198 +499 y(-)220 495 y Ft(h)p Fw(tab)p Ft(i)p Fw(,)e Fs(#)358 +491 y(-)358 499 y(-)380 495 y Ft(h)p Fw(newline)p Ft(i)p +Fw(,)h Fs(#)595 491 y(-)595 499 y(-)617 495 y Ft(h)p +Fw(page)p Ft(i)p Fw(,)g Fs(#)779 491 y(-)779 499 y(-)800 +495 y Ft(h)p Fw(return)p Ft(i)0 558 y Fw(A)15 b Fs(#)46 +554 y(-)46 562 y(-)83 558 y Fw(follo)o(w)o(ed)e(b)o(y)i(a)f(whitespace) +i(c)o(haracter)h(is)d(not)h(legal)f(reader)i(syn)o(tax.)21 +b(This)15 b(pre-)0 610 y(v)o(en)o(ts)g(abbreviated)f(forms)f(pro)q +(duced)i(via)f Fs(*print-level*)d Fw(cuto\013)k(from)d(reading)i(in)0 +662 y(again,)d(as)i(a)g(safeguard)g(against)f(losing)g(information.)j +(\(More)e(precisely)m(,)g(this)g Fv(is)g Fw(legal)0 714 +y(syn)o(tax,)g(but)h(the)h(macro-c)o(haracter)f(function)f(for)h(it)g +(signals)f(an)g(error.\))0 810 y Fs(#)0 806 y(-)0 814 +y(-)22 810 y(\))0 873 y Fw(This)k(is)h(not)f(legal)f(reader)j(syn)o +(tax.)29 b(This)17 b(prev)o(en)o(ts)i(abbreviated)e(forms)f(pro)q +(duced)0 925 y(via)11 b Fs(*print-level*)e Fw(cuto\013)j(from)f +(reading)g(in)h(again,)e(as)i(a)g(safeguard)g(against)f(losing)0 +977 y(information.)27 b(\(More)19 b(precisely)m(,)g(this)f +Fv(is)g Fw(legal)e(syn)o(tax,)j(but)f(the)h(macro-c)o(haracter)0 +1029 y(function)14 b(for)f(it)h(signals)f(an)h(error.\))0 +1159 y Fo(22.1.5.)20 b(The)15 b(Readtable)0 1239 y Fw(Previous)c +(sections)h(describ)q(e)h(the)f(standard)f(syn)o(tax)g(accepted)h(b)o +(y)f(the)g Fs(read)f Fw(function.)0 1291 y(This)21 b(section)g +(discusses)i(the)e(adv)n(anced)g(topic)f(of)g(altering)g(the)i +(standard)f(syn)o(tax)0 1343 y(either)e(to)f(pro)o(vide)g(extended)h +(syn)o(tax)f(for)g(Lisp)g(ob)r(jects)h(or)f(to)g(aid)f(the)i(writing)e +(of)0 1395 y(other)e(parsers.)42 1447 y(There)j(is)g(a)f(data)g +(structure)j(called)d(the)i Fv(r)n(e)n(adtable)e Fw(that)g(is)h(used)g +(to)g(con)o(trol)f(the)0 1499 y(reader.)i(It)13 b(con)o(tains)g +(information)d(ab)q(out)i(the)i(syn)o(tax)f(of)f(eac)o(h)h(c)o +(haracter)h(equiv)n(alen)o(t)0 1550 y(to)f(that)f(in)h(table)f(22-1.)17 +b(It)c(is)f(set)i(up)f(exactly)g(as)f(in)h(table)f(22-1)g(to)h(giv)o(e) +f(the)h(standard)0 1602 y(Common)i(Lisp)i(meanings)g(to)g(all)g(the)h +(c)o(haracters,)i(but)f(the)f(user)h(can)f(c)o(hange)g(the)0 +1654 y(meanings)13 b(of)h(c)o(haracters)i(to)f(alter)f(and)h(customize) +f(the)h(syn)o(tax)g(of)f(c)o(haracters.)21 b(It)15 b(is)0 +1706 y(also)h(p)q(ossible)h(to)g(ha)o(v)o(e)f(sev)o(eral)h(readtables)h +(describing)f(di\013eren)o(t)h(syn)o(taxes)f(and)g(to)0 +1758 y(switc)o(h)d(from)e(one)i(to)g(another)h(b)o(y)e(binding)g(the)i +(v)n(ariable)d Fs(*readtable*)p Fw(.)42 1810 y(Ev)o(en)h(if)g(an)f +(implemen)o(tation)e(supp)q(orts)k(c)o(haracters)h(with)e(non-zero)h +(bits)f(and)g(fon)o(t)-38 1785 y Fk(.)-38 1798 y(.)-38 +1811 y(.)-38 1824 y(.)-38 1837 y(.)-38 1850 y(.)-38 1863 +y(.)-38 1876 y(.)-38 1889 y(.)-38 1902 y(.)-38 1915 y(.)-38 +1928 y(.)-38 1941 y(.)-38 1953 y(.)-38 1966 y(.)-38 1979 +y(.)-38 1992 y(.)-38 2005 y(.)-38 2018 y(.)-38 2031 y(.)-38 +2044 y(.)-38 2057 y(.)-38 2070 y(.)-38 2083 y(.)-38 2096 +y(.)-38 2109 y(.)-38 2122 y(.)-38 2135 y(.)-38 2148 y(.)-38 +2161 y(.)-38 2174 y(.)-38 2187 y(.)-38 2200 y(.)-38 2213 +y(.)-38 2226 y(.)-38 2239 y(.)-38 2252 y(.)-38 2265 y(.)-38 +2278 y(.)-38 2291 y(.)-38 2304 y(.)-38 2317 y(.)-38 2330 +y(.)-38 2343 y(.)-38 2356 y(.)-38 2369 y(.)-38 2382 y(.)-38 +2395 y(.)-38 2408 y(.)-38 2420 y(.)-38 2433 y(.)-38 2446 +y(.)-38 2459 y(.)-38 2472 y(.)-38 2485 y(.)-38 2498 y(.)-38 +2511 y(.)-38 2524 y(.)-38 2537 y(.)-38 2550 y(.)-38 2563 +y(.)-38 2576 y(.)-38 2589 y(.)-38 2602 y(.)-38 2615 y(.)-38 +2628 y(.)-38 2641 y(.)-38 2654 y(.)-38 2667 y(.)-38 2680 +y(.)-38 2693 y(.)-38 2706 y(.)-38 2719 y(.)-38 2732 y(.)-38 +2745 y(.)-38 2758 y(.)-38 2771 y(.)-38 2784 y(.)-38 2797 +y(.)-38 2810 y(.)-38 2823 y(.)-38 2836 y(.)-38 2849 y(.)-38 +2862 y(.)-38 2875 y(.)-38 2887 y(.)-38 2900 y(.)-38 2913 +y(.)-38 2926 y(.)-38 2939 y(.)-38 2952 y(.)-38 2965 y(.)-38 +2978 y(.)-38 2991 y(.)-38 3004 y(.)-38 3017 y(.)-38 3030 +y(.)-38 3043 y(.)-38 3056 y(.)-38 3069 y(.)-38 3082 y(.)-38 +3095 y(.)-38 3108 y(.)-38 3121 y(.)-38 3134 y(.)-38 3147 +y(.)-38 3160 y(.)-38 3173 y(.)-38 3186 y(.)-38 3199 y(.)-38 +3212 y(.)-38 3225 y(.)-38 3238 y(.)-38 3251 y(.)-38 3264 +y(.)-38 3277 y(.)-38 3290 y(.)-38 3303 y(.)-38 3316 y(.)-38 +3329 y(.)-38 3342 y(.)-38 3354 y(.)-38 3367 y(.)-38 3380 +y(.)-38 3393 y(.)-38 3406 y(.)-38 3419 y(.)-38 3432 y(.)-38 +3445 y(.)-38 3458 y(.)-38 3471 y(.)-38 3484 y(.)-38 3497 +y(.)-38 3510 y(.)-38 3523 y(.)-38 3536 y(.)-38 3549 y(.)-38 +3562 y(.)-38 3575 y(.)-38 3588 y(.)-38 3601 y(.)-38 3614 +y(.)-38 3627 y(.)-38 3640 y(.)-38 3653 y(.)-38 3666 y(.)-38 +3679 y(.)-38 3692 y(.)-38 3705 y(.)-38 3718 y(.)-38 3731 +y(.)-38 3744 y(.)-38 3757 y(.)-38 3770 y(.)-38 3783 y(.)-38 +3796 y(.)-38 3809 y(.)-38 3821 y(.)-38 3834 y(.)-38 3847 +y(.)-38 3860 y(.)-38 3873 y(.)-38 3886 y(.)-38 3899 y(.)-38 +3912 y(.)-38 3925 y(.)-38 3938 y(.)-38 3951 y(.)-38 3964 +y(.)-38 3977 y(.)-38 3990 y(.)-38 4003 y(.)-38 4016 y(.)-38 +4029 y(.)-38 4042 y(.)-38 4055 y(.)-38 4068 y(.)-38 4081 +y(.)-38 4094 y(.)-38 4107 y(.)-38 4120 y(.)-38 4133 y(.)-38 +4146 y(.)-38 4159 y(.)-38 4172 y(.)-38 4185 y(.)-38 4198 +y(.)-38 4211 y(.)-38 4224 y(.)-38 4237 y(.)-38 4250 y(.)-38 +4263 y(.)-38 4276 y(.)-38 4288 y(.)-38 4301 y(.)-38 4314 +y(.)-38 4327 y(.)-38 4340 y(.)-38 4353 y(.)-38 4366 y(.)0 +1862 y Fw(attributes,)20 b(it)e(need)h(not)f(\(but)h(ma)o(y\))d(allo)o +(w)h(for)h(suc)o(h)h(c)o(haracters)h(to)e(ha)o(v)o(e)g(syn)o(tax)0 +1914 y(descriptions)d(in)e(the)h(readtable.)k(Ho)o(w)o(ev)o(er,)c(ev)o +(ery)g(c)o(haracter)h(of)e(t)o(yp)q(e)h Fs(string-char)0 +1966 y Fw(m)o(ust)f(b)q(e)h(represen)o(ted)j(in)c(the)i(readtable.)-33 +1977 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2017 a(X3J13)20 b(v)o(oted)g(in)g(Marc)o(h)h(1989)e +Ft(h)p Fw(11)p Ft(i)h Fw(to)g(remo)o(v)o(e)g(the)h(t)o(yp)q(e)g +Fs(string-char)d Fw(and)-33 1989 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2069 a(to)h(replace)g(the)h(bits)f(and)f(fon)o(t)h +(attributes)g(with)g(the)g(notion)f(of)g(implemen)o(tation-)0 +2121 y(de\014ned)g(attributes.)30 b(If)16 b(an)o(y)h(implemen)o +(tation-de\014ned)e(attributes)j(are)g(supp)q(orted,)0 +2173 y(an)13 b(implem)o(en)o(tation)d(ma)o(y)h(\(but)i(need)h(not\))f +(allo)o(w)e(for)i(suc)o(h)g(c)o(haracters)i(to)e(ha)o(v)o(e)g(syn-)0 +2225 y(tax)h(descriptions)i(in)e(the)h(readtable.)20 +b(Characters)c(that)f(do)f(not)g(ha)o(v)o(e)h(non-standard)0 +2277 y(v)n(alues)i(for)f(an)o(y)h(implemen)o(tatio)o(n-de\014ned)e +(attribute)j(m)o(ust)e(b)q(e)i(represen)o(ted)i(in)c(the)0 +2329 y(readtable.)-33 2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 583 607 +583 606 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(583)1219 295 y Fw([)p Fv(V)m(ariable)s Fw(])-1396 b +Fs(*readtable*)0 372 y Fw(The)16 b(v)n(alue)e(of)h Fs(*readtable*)e +Fw(is)i(the)h(curren)o(t)g(readtable.)23 b(The)15 b(initial)f(v)n(alue) +g(of)h(this)0 424 y(is)h(a)g(readtable)g(set)i(up)e(for)g(standard)g +(Common)d(Lisp)j(syn)o(tax.)25 b(Y)m(ou)15 b(can)i(bind)f(this)0 +476 y(v)n(ariable)d(to)h(temp)q(orarily)e(c)o(hange)i(the)g(readtable)h +(b)q(eing)f(used.)42 560 y(T)m(o)j(program)f(the)i(reader)h(for)f(a)f +(di\013eren)o(t)i(syn)o(tax,)f(a)g(set)h(of)e(functions)h(are)g(pro-)0 +612 y(vided)e(for)g(manipulating)d(readtables.)25 b(Normally)m(,)13 +b(y)o(ou)i(should)h(b)q(egin)g(with)g(a)g(cop)o(y)0 664 +y(of)h(the)g(standard)h(Common)c(Lisp)j(readtable)g(and)g(then)h +(customize)f(the)h(individual)0 715 y(c)o(haracters)e(within)d(that)h +(cop)o(y)m(.)1209 857 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(copy-readtable)18 b(&optional)i Fv(fr)n(om)p Fs(-)p +Fv(r)n(e)n(adtable)j(to)p Fs(-)p Fv(r)n(e)n(adtable)0 +934 y Fw(A)12 b(cop)o(y)f(is)h(made)e(of)h Fv(fr)n(om-r)n(e)n(adtable)p +Fw(,)g(whic)o(h)g(defaults)h(to)f(the)i(curren)o(t)g(readtable)f(\(the) +0 985 y(v)n(alue)17 b(of)f(the)i(global)e(v)n(ariable)g +Fs(*readtable*)p Fw(\).)26 b(If)17 b Fv(fr)n(om-r)n(e)n(adtable)f +Fw(is)h Fs(nil)p Fw(,)g(then)h(a)0 1037 y(cop)o(y)c(of)f(a)h(standard)g +(Common)d(Lisp)i(readtable)i(is)e(made.)k(F)m(or)d(example,)0 +1125 y Fs(\(setq)20 b(*readtable*)f(\(copy-readtable)f(nil\)\))0 +1213 y Fw(will)d(restore)k(the)f(input)e(syn)o(tax)h(to)g(standard)h +(Commo)o(n)c(Lisp)j(syn)o(tax,)g(ev)o(en)h(if)e(the)0 +1265 y(original)d(readtable)i(has)g(b)q(een)h(clobb)q(ered)g +(\(assuming)d(it)h(is)h(not)g(so)g(badly)f(clobb)q(ered)0 +1317 y(that)g(y)o(ou)f(cannot)h(t)o(yp)q(e)h(in)e(the)i(ab)q(o)o(v)o(e) +e(expression!\).)19 b(On)14 b(the)h(other)f(hand,)0 1405 +y Fs(\(setq)20 b(*readtable*)f(\(copy-readtable\)\))0 +1493 y Fw(will)12 b(merely)h(replace)i(the)g(curren)o(t)g(readtable)f +(with)g(a)g(cop)o(y)f(of)h(itself.)42 1545 y(If)i Fv(to-r)n(e)n +(adtable)f Fw(is)i(unsupplied)g(or)f Fs(nil)p Fw(,)g(a)g(fresh)h(cop)o +(y)g(is)f(made.)25 b(Otherwise,)18 b Fv(to-)0 1597 y(r)n(e)n(adtable)13 +b Fw(m)o(ust)g(b)q(e)i(a)e(readtable,)h(whic)o(h)g(is)g(destructiv)o +(ely)h(copied)f(in)o(to.)1209 1738 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(readtablep)19 b Fv(obje)n(ct)0 1815 y +Fs(readtablep)12 b Fw(is)i(true)g(if)f(its)h(argumen)o(t)f(is)h(a)f +(readtable,)h(and)g(otherwise)h(is)e(false.)0 1903 y +Fs(\(readtablep)19 b(x\))i Ft(\021)g Fs(\(typep)f(x)572 +1907 y Fn(')595 1903 y Fs(readtable\))1209 2044 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(set-syntax-from-c)o(har)18 +b Fv(to)p Fs(-)p Fv(char)26 b(fr)n(om)p Fs(-)p Fv(char)e +Fs(&optional)42 2096 y Fv(to)p Fs(-)p Fv(r)n(e)n(adtable)g(fr)n(om)p +Fs(-)p Fv(r)n(e)n(adtable)0 2173 y Fw(This)13 b(mak)o(es)f(the)i(syn)o +(tax)f(of)f Fv(to-char)h Fw(in)g Fv(to-r)n(e)n(adtable)g +Fw(b)q(e)g(the)h(same)e(as)i(the)f(syn)o(tax)g(of)0 2225 +y Fv(fr)n(om-char)c Fw(in)h Fv(fr)n(om-r)n(e)n(adtable)p +Fw(.)16 b(The)10 b Fv(to-r)n(e)n(adtable)g Fw(defaults)g(to)h(the)g +(curren)o(t)g(readtable)0 2277 y(\(the)18 b(v)n(alue)e(of)g(the)i +(global)d(v)n(ariable)h Fs(*readtable*)p Fw(\),)f(and)i +Fv(fr)n(om-r)n(e)n(adtable)f Fw(defaults)0 2329 y(to)e +Fs(nil)p Fw(,)e(meaning)h(to)g(use)i(the)f(syn)o(taxes)h(from)d(the)j +(standard)f(Lisp)g(readtable.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 584 608 +584 607 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(584)77 b(COMMON)13 +b(LISP)42 295 y Fw(X3J13)g(v)o(oted)h(in)g(Jan)o(uary)f(1989)g +Ft(h)p Fw(7)p Ft(i)h Fw(to)g(clarify)f(that)h(the)g Fv(to-char)g +Fw(and)g Fv(fr)n(om-char)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a Fw(m)o(ust)f(eac)o(h)h(b)q(e)h(a)e(c)o(haracter.) +-33 358 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 399 a(Only)18 b(attributes)h(as)f(sho)o(wn)g(in)g +(table)g(22-1)g(are)g(copied;)j(moreo)o(v)o(er,)d(if)f(a)h +Fv(macr)n(o)0 450 y(char)n(acter)g Fw(is)g(copied,)h(the)g(macro)d +(de\014nition)i(function)g(is)g(copied)h(also.)30 b(Ho)o(w)o(ev)o(er,)0 +502 y(attributes)16 b(as)f(sho)o(wn)g(in)g(table)g(22-)o(3)g(are)h(not) +f(copied;)g(they)h(are)g(\\hard-wired")e(in)o(to)0 554 +y(the)h(extended-tok)o(en)i(parser.)k(F)m(or)14 b(example,)f(if)h(the)i +(de\014nition)e(of)g Fs(S)g Fw(is)h(copied)g(to)f Fs(*)p +Fw(,)0 606 y(then)h Fs(*)g Fw(will)e(b)q(ecome)h(a)h +Fv(c)n(onstituent)g Fw(that)f(is)h Fv(alphab)n(etic)g +Fw(but)g(cannot)f(b)q(e)i(used)f(as)g(an)0 658 y(exp)q(onen)o(t)g +(indicator)e(for)h(short-format)e(\015oating-p)q(oin)o(t)g(n)o(um)o(b)q +(er)i(syn)o(tax.)42 710 y(It)h(w)o(orks)g(to)g(cop)o(y)f(a)h(macro)f +(de\014nition)h(from)e(a)h(c)o(haracter)j(suc)o(h)f(as)f +Fs(")f Fw(to)h(another)0 762 y(c)o(haracter;)f(the)f(standard)f +(de\014nition)g(for)g Fs(")g Fw(lo)q(oks)g(for)f(another)i(c)o +(haracter)h(that)e(is)g(the)0 814 y(same)e(as)h(the)h(c)o(haracter)g +(that)f(in)o(v)o(ok)o(ed)f(it.)17 b(It)11 b(do)q(esn't)g(w)o(ork)g(to)f +(cop)o(y)h(the)h(de\014nition)e(of)0 866 y Fs(\()i Fw(to)g +Fs({)p Fw(,)g(for)g(example;)f(it)h(can)g(b)q(e)h(done,)g(but)f(it)g +(lets)h(one)f(write)h(lists)f(in)g(the)h(form)d Fs({a)21 +b(b)0 917 y(c\))p Fw(,)11 b(not)h Fs({a)21 b(b)g(c})p +Fw(,)11 b(b)q(ecause)j(the)e(de\014nition)g(alw)o(a)o(ys)e(lo)q(oks)i +(for)f(a)h(closing)f(paren)o(thesis,)0 969 y(not)k(a)f(closing)g +(brace.)22 b(See)15 b(the)h(function)e Fs(read-delimited-li)o(st)p +Fw(,)d(whic)o(h)k(is)g(useful)0 1021 y(in)e(this)h(connection.)42 +1073 y(X3J13)f(v)o(oted)h(in)f(Jan)o(uary)h(1989)f Ft(h)p +Fw(156)p Ft(i)h Fw(to)f(sp)q(ecify)i(that)f(the)g Fs(set-syntax-from-) +-33 1045 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1125 a(char)f Fw(function)h(returns)h +Fs(t)p Fw(.)-33 1137 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1236 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(set-macro-charact)o(er)18 b Fv(char)26 b(function)f +Fs(&optional)42 1287 y Fv(non)p Fs(-)p Fv(terminating)p +Fs(-)p Fv(p)f(r)n(e)n(adtable)1209 1339 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(get-macro-charact)o(er)18 b Fv(char)26 +b Fs(&optional)19 b Fv(r)n(e)n(adtable)0 1416 y Fs(set-macro-charact)o +(er)13 b Fw(causes)18 b Fv(char)e Fw(to)h(b)q(e)f(a)g(macro)g(c)o +(haracter)h(that)g(when)f(seen)0 1468 y(b)o(y)k Fs(read)e +Fw(causes)k Fv(function)e Fw(to)f(b)q(e)i(called.)35 +b(If)20 b Fv(non-terminating-p)g Fw(is)f(not)h Fs(nil)f +Fw(\(it)0 1520 y(defaults)d(to)g Fs(nil)p Fw(\),)g(then)g(it)g(will)f +(b)q(e)h(a)g(non-terminating)e(macro)h(c)o(haracter:)24 +b(it)16 b(ma)o(y)0 1572 y(b)q(e)f(em)o(b)q(edded)f(within)f(extended)i +(tok)o(ens.)k Fs(set-macro-charac)o(ter)11 b Fw(returns)k +Fs(t)p Fw(.)42 1624 y Fs(get-macro-chara)o(cter)f Fw(returns)20 +b(the)e(function)g(asso)q(ciated)h(with)e Fv(char)h Fw(and,)h(as)0 +1676 y(a)h(second)i(v)n(alue,)f(returns)h(the)f Fv(non-terminating-p)g +Fw(\015ag;)i(it)d(returns)i Fs(nil)e Fw(if)g Fv(char)0 +1727 y Fw(do)q(es)14 b(not)g(ha)o(v)o(e)f(macro-c)o(haracter)g(syn)o +(tax.)18 b(In)13 b(eac)o(h)h(case,)g Fv(r)n(e)n(adtable)f +Fw(defaults)h(to)f(the)0 1779 y(curren)o(t)i(readtable.)42 +1831 y(X3J13)23 b(v)o(oted)g(in)g(Jan)o(uary)h(1989)e +Ft(h)p Fw(95)p Ft(i)i Fw(to)f(sp)q(ecify)h(that)g(if)e +Fs(nil)h Fw(is)h(explicitly)-33 1803 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1883 a(passed)15 b(as)g(the)g(second)h(argumen)o(t)d(to) +h Fs(get-macro-characte)o(r)p Fw(,)d(then)k(the)g(standard)0 +1935 y(readtable)f(is)g(used.)19 b(This)14 b(is)f(consisten)o(t)j(with) +d(the)i(b)q(eha)o(vior)e(of)g Fs(copy-readtable)p Fw(.)-33 +1947 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1987 a(The)j Fv(function)h Fw(is)g(called)f(with)g(t)o +(w)o(o)g(argumen)o(ts,)g Fv(str)n(e)n(am)g Fw(and)g Fv(char)p +Fw(.)26 b(The)16 b Fv(str)n(e)n(am)0 2039 y Fw(is)g(the)i(input)e +(stream,)h(and)f Fv(char)h Fw(is)f(the)h(macro)f(c)o(haracter)i +(itself.)26 b(In)16 b(the)i(simplest)0 2091 y(case,)12 +b Fv(function)g Fw(ma)o(y)e(return)i(a)g(Lisp)f(ob)r(ject.)18 +b(This)11 b(ob)r(ject)h(is)g(tak)o(en)f(to)h(b)q(e)g(that)f(whose)0 +2143 y(prin)o(ted)k(represen)o(tation)h(w)o(as)e(the)h(macro)e(c)o +(haracter)i(and)f(an)o(y)g(follo)o(wing)e(c)o(haracters)0 +2194 y(read)17 b(b)o(y)e(the)i Fv(function)p Fw(.)25 +b(As)17 b(an)e(example,)g(a)h(plausible)f(de\014nition)h(of)g(the)g +(standard)0 2246 y(single)e(quote)g(c)o(haracter)h(is:)0 +2329 y Fs(\(defun)20 b(single-quote-read)o(er)e(\(stream)i(char\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 585 609 +585 608 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(585)42 295 y Fs(\(declare)20 b(\(ignore)g(char\)\))42 +347 y(\(list)170 351 y Fn(')194 347 y Fs(quote)g(\(read)g(stream)g(t)h +(nil)f(t\)\)\))0 450 y(\(set-macro-charac)o(ter)e(#)457 +446 y(-)457 454 y(-)479 450 y(\\)499 454 y Fn(')543 450 +y Fs(#)543 446 y(-)543 454 y(-)n Fn(')586 450 y Fs(single-quote-read)o +(er\))0 2173 y Fw(\(Note)24 b(that)f Fs(t)g Fw(is)g(sp)q(eci\014ed)i +(for)e(the)g Fv(r)n(e)n(cursive-p)g Fw(argumen)o(t)f(to)h +Fs(read)p Fw(;)j(see)f(sec-)0 2225 y(tion)19 b(22.2.1.\))35 +b(The)21 b(function)e(reads)i(an)f(ob)r(ject)h(follo)o(wing)c(the)k +(single-quote)f(and)0 2277 y(returns)f(a)f(list)f(of)h(the)g(sym)o(b)q +(ol)e Fs(quote)h Fw(and)g(that)h(ob)r(ject.)31 b(The)18 +b Fv(char)g Fw(argumen)o(t)f(is)0 2329 y(ignored.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 586 610 +586 609 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(586)77 b(COMMON)13 +b(LISP)42 295 y Fw(The)c(function)g(ma)o(y)f(c)o(ho)q(ose)i(instead)g +(to)f(return)h Fv(zer)n(o)f Fw(v)n(alues)g(\(for)g(example,)g(b)o(y)g +(using)0 347 y Fs(\(values\))16 b Fw(as)h(the)i(return)f(expression\).) +31 b(In)17 b(this)h(case,)h(the)f(macro)e(c)o(haracter)j(and)0 +399 y(whatev)o(er)12 b(it)g(ma)o(y)d(ha)o(v)o(e)j(read)g(con)o(tribute) +g(nothing)f(to)h(the)g(ob)r(ject)g(b)q(eing)g(read.)18 +b(As)12 b(an)0 450 y(example,)g(here)k(is)d(a)h(plausible)g +(de\014nition)f(for)h(the)h(standard)f(semicolon)f(\(commen)o(t\))0 +502 y(c)o(haracter:)0 591 y Fs(\(defun)20 b(semicolon-reader)e +(\(stream)i(char\))42 643 y(\(declare)g(\(ignore)g(char\)\))42 +695 y(;;)h(First)f(swallow)g(the)h(rest)f(of)h(the)f(current)g(input)g +(line.)42 746 y(;;)h(End-of-file)e(is)i(acceptable)e(for)h(terminating) +f(the)i(comment.)42 798 y(\(do)g(\(\))g(\(\(char)326 +794 y(U)326 802 y(U)367 798 y(\(read-char)e(stream)h(nil)h(#)845 +794 y(-)845 802 y(-)867 798 y(\\Newline)e(t\))i(#)1127 +794 y(-)1127 802 y(-)1149 798 y(\\Newline\)\)\))42 850 +y(;;)g(Return)f(zero)g(values.)42 902 y(\(values\)\))0 +1006 y(\(set-macro-charac)o(ter)e(#)457 1002 y(-)457 +1010 y(-)479 1006 y(\\;)j(#)544 1002 y(-)544 1010 y(-)m +Fn(')587 1006 y Fs(semicolon-reade)o(r\))0 1094 y Fw(\(Note)15 +b(that)g Fs(t)f Fw(is)g(sp)q(eci\014ed)i(for)e(the)h +Fv(r)n(e)n(cursive-p)f Fw(argumen)o(t)f(to)i Fs(read-char)p +Fw(;)d(see)k(sec-)0 1146 y(tion)d(22.2.1.\))42 1198 y(The)f +Fv(function)g Fw(should)f(not)h(ha)o(v)o(e)f(an)o(y)g(side)h(e\013ects) +i(other)e(than)g(on)f(the)i Fv(str)n(e)n(am)p Fw(.)j(Be-)0 +1250 y(cause)g(of)e(bac)o(ktrac)o(king)h(and)g(restarting)h(of)e(the)h +Fs(read)g Fw(op)q(eration,)f(fron)o(t)h(ends)h(\(suc)o(h)0 +1302 y(as)d(editors)g(and)f(rub)q(out)h(handlers\))h(to)e(the)h(reader) +h(ma)o(y)d(cause)i Fv(function)g Fw(to)g(b)q(e)g(called)0 +1354 y(rep)q(eatedly)h(during)f(the)g(reading)g(of)f(a)h(single)g +(expression)h(in)e(whic)o(h)h(the)h(macro)e(c)o(har-)0 +1406 y(acter)j(only)e(app)q(ears)i(once.)p 0 1465 V 0 +1526 a Fm(Compatibilit)o(y)e(note:)20 b FA(The)14 b(abilit)o(y)j(to)d +(return)g(either)h(zero)g(or)f(one)g(v)n(alue)i(is)e(the)h(closest)0 +1572 y(Common)g(Lisp)g(macro)f(c)o(haracters)h(come)g(to)f(the)g +(splicing)k(macro)c(c)o(haracters)h(of)f(MacLisp)0 1617 +y(or)f(the)h Fj(splice)c FA(macro)k(c)o(haracters)g(of)f(In)o(terlisp.) +19 b(The)13 b(Common)g(Lisp)i(de\014nition)g(do)q(es)f(not)0 +1663 y(allo)o(w)j(the)f(splicing)j(of)d(arbitrarily)i(man)o(y)f(v)n +(alues,)g(but)g(it)f(do)q(es)h(allo)o(w)g(a)f(macro-c)o(haracter)0 +1709 y(function)e(to)f(decide)i(after)d(it)i(is)f(in)o(v)o(ok)o(ed)i +(whether)f(or)f(not)g(to)g(yield)i(a)e(v)n(alue,)h(an)f(option)h(not)0 +1754 y(p)q(ossible)h(in)f(MacLisp)h(or)e(In)o(terlisp.)42 +1800 y(MacLisp)k(has)g(nothing)h(equiv)n(alen)o(t)g(to)f +(non-terminating)i(macro)d(c)o(haracters.)28 b(The)16 +b(In-)0 1846 y(terlisp)f(equiv)n(alen)o(ts)h(of)d(terminating)j(and)e +(non-terminating)i(macro)e(c)o(haracters)g(are)f(macro)0 +1892 y(c)o(haracters)e(with)g(the)g Fj(ALWAYS)d FA(or)i +Fj(FIRST)e FA(option,)k(resp)q(ectiv)o(ely)m(.)19 b(Common)10 +b(Lisp)i(has)f(nothing)0 1937 y(equiv)n(alen)o(t)k(to)e(the)g(In)o +(terlisp)i Fj(ALONE)c FA(macro-c)o(haracter)j(option.)p +0 1975 V 42 2069 a Fw(Here)g(is)g(an)f(example)f(of)h(a)g(more)f(elab)q +(orate)i(set)h(of)d(read-macro)h(c)o(haracters)i(that)f(I)-33 +2041 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2121 a(used)g(in)f(the)i(implem)o(en)o(tation)c(of)i +(the)h(original)d(sim)o(ulator)h(for)h(Connection)h(Mac)o(hine)0 +2173 y(Lisp)k([44)o(,)g(57],)g(a)g(parallel)f(dialect)h(of)f(Common)e +(Lisp.)30 b(This)18 b(sim)o(ulator)e(w)o(as)i(used)0 +2225 y(to)e(gain)g(exp)q(erience)i(with)e(the)h(language)f(b)q(efore)h +(freezing)g(its)f(design)h(for)f(full-scale)0 2277 y(implemen)o(tatio)o +(n)f(on)j(a)f(Connection)h(Mac)o(hine)g(computer)g(system.)29 +b(This)18 b(example)0 2329 y(illustrates)c(the)g(t)o(ypical)e(manner)h +(in)g(whic)o(h)g(a)g(language)g(designer)h(can)g(em)o(b)q(ed)f(a)g(new) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 587 611 +587 610 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(587)0 295 y Fw(language)18 b(within)h(the)g(syn)o(tactic)h(and)f +(seman)o(tic)g(framew)o(ork)e(of)i(Lisp,)h(sa)o(ving)e(the)0 +347 y(e\013ort)d(of)e(designing)g(an)h(implemen)o(tatio)o(n)d(from)h +(scratc)o(h.)42 399 y(Connection)20 b(Mac)o(hine)h(Lisp)f(in)o(tro)q +(duces)i(a)e(new)h(data)g(t)o(yp)q(e)g(called)f(a)g Fv(xapping)p +Fw(,)0 451 y(whic)o(h)c(is)g(simply)d(an)j(unordered)h(set)g(of)e +(ordered)j(pairs)d(of)h(Lisp)f(ob)r(jects.)26 b(The)16 +b(\014rst)0 503 y(elemen)o(t)c(of)g(eac)o(h)h(pair)g(is)f(called)h(the) +g Fv(index)g Fw(and)g(the)g(second)h(elemen)o(t)e(the)h +Fv(value)p Fw(.)18 b(W)m(e)0 555 y(sa)o(y)g(that)g(the)h(xapping)e +(maps)g(eac)o(h)i(index)f(to)g(its)h(corresp)q(onding)g(v)n(alue.)30 +b(No)18 b(t)o(w)o(o)0 606 y(pairs)c(of)f(the)h(same)f(xapping)g(ma)o(y) +f(ha)o(v)o(e)h(the)i(same)e(\(that)h(is,)f Fs(eql)p Fw(\))g(index.)18 +b(Xappings)0 658 y(ma)o(y)c(b)q(e)i(\014nite)f(or)h(in\014nite)f(sets)i +(of)d(pairs;)i(only)f(certain)h(kinds)f(of)g(in\014nite)g(xappings)0 +710 y(are)f(required,)h(and)e(sp)q(ecial)i(represen)o(tations)g(are)g +(used)f(for)g(them.)42 762 y(A)g(\014nite)g(xapping)g(is)g(notated)g(b) +o(y)g(writing)g(the)h(pairs)f(b)q(et)o(w)o(een)h(braces,)g(separated)0 +814 y(b)o(y)10 b(whitespace.)18 b(A)11 b(pair)f(is)g(notated)h(b)o(y)f +(writing)g(the)h(index)f(and)g(the)h(v)n(alue,)f(separated)0 +866 y(b)o(y)16 b(a)g(righ)o(t)g(arro)o(w)g(\(or)h(an)f(exclamation)e(p) +q(oin)o(t)i(if)g(the)h(host)f(Common)d(Lisp)j(has)h(no)0 +918 y(righ)o(t-arro)o(w)c(c)o(haracter\).)p 0 978 V 0 +1038 a Fm(Remark:)18 b FA(The)11 b(original)j(language)g(design)f(used) +f(the)f(righ)o(t)i(arro)o(w;)e(the)h(exclamation)h(p)q(oin)o(t)0 +1084 y(w)o(as)h(c)o(hosen)h(to)e(replace)j(it)e(on)g(ASCI)q(I-only)h +(terminals)h(b)q(ecause)f(it)f(is)h(one)f(of)g(the)g(six)g(c)o(har-)0 +1130 y(acters)f Fj([)19 b(])f Ff(f)h(g)g Fj(!)f(?)12 +b FA(reserv)o(ed)i(b)o(y)f(Common)h(Lisp)g(to)e(the)i(user.)42 +1176 y(While)i(preparing)g(the)f(T)419 1184 y(E)439 1176 +y(X)f(man)o(uscript)i(for)e(this)i(b)q(o)q(ok)f(I)f(made)h(a)f(mistak)o +(e)h(in)g(fon)o(t)g(se-)0 1222 y(lection)g(and)g(disco)o(v)o(ered)g +(that)f(b)o(y)g(an)g(absolutely)i(incredible)h(coincidence)f(the)e +(righ)o(t)h(arro)o(w)0 1267 y(has)i(the)f(same)h(n)o(umerical)i(co)q +(de)e(\(o)q(ctal)g(41\))f(within)i(T)840 1275 y(E)861 +1267 y(X)e(fon)o(ts)g(as)h(the)g(ASCI)q(I)e(exclama-)0 +1313 y(tion)j(p)q(oin)o(t.)29 b(The)16 b(result)i(w)o(as)e(that)h +(although)h(the)f(man)o(uscript)i(called)f(for)e(righ)o(t)i(arro)o(ws,) +0 1358 y(exclamation)d(p)q(oin)o(ts)g(came)e(out)g(in)h(the)f(prin)o +(ted)i(cop)o(y)m(.)i(Imagine)d(m)o(y)f(astonishmen)o(t!)p +0 1397 V 42 1486 a Fw(Here)i(is)e(an)h(example)f(of)g(a)g(xapping)g +(that)h(maps)f(three)i(sym)o(b)q(ols)e(to)g(strings:)0 +1574 y Ft(f)p Fs(moe)p Ft(\))p Fs("Oh,)19 b(a)i(wise)f(guy,)h(eh?")f +(larry)p Ft(\))p Fs("Hey,)f(what)971 1578 y Fn(')993 +1574 y Fs(s)i(the)f(idea?")21 1626 y(curly)p Ft(\))p +Fs("Nyuk,)f(nyuk,)h(nyuk!")p Ft(g)0 1715 y Fw(F)m(or)f(con)o(v)o +(enience)h(there)g(are)g(certain)f(abbreviated)h(notations.)33 +b(If)18 b(the)i(index)f(and)0 1767 y(v)n(alue)12 b(for)h(a)f(pair)h +(are)g(the)g(same)f(ob)r(ject)i Fv(x)p Fw(,)f(then)g(instead)g(of)g(ha) +o(ving)e(to)i(write)g(\\)p Fv(x)p Ft(\))7 b Fv(x)p Fw(")0 +1818 y(\(or,)12 b(w)o(orse)g(y)o(et,)f(\\)p Fs(#)288 +1814 y(-)288 1822 y(-)310 1818 y(43)354 1814 y(U)354 +1822 y(U)375 1818 y Fv(x)p Ft(\))p Fs(#)436 1814 y(-)436 +1822 y(-)458 1818 y(43#)502 1814 y(-)502 1822 y(-)523 +1818 y Fw("\))g(w)o(e)h(ma)o(y)d(write)j(simply)d Fv(x)j +Fw(for)f(the)h(pair.)17 b(If)11 b(all)f(pairs)0 1870 +y(of)17 b(a)g(xapping)f(are)h(of)g(this)g(form,)f(w)o(e)i(call)e(the)i +(xapping)e(a)h Fv(xet)p Fw(.)28 b(F)m(or)17 b(example,)f(the)0 +1922 y(notation)0 2011 y Ft(f)p Fs(baseball)j(chess)h(cricket)g +(curling)g(bocce)g(43-man-squamish)p Ft(g)0 2100 y Fw(is)14 +b(en)o(tirely)g(equiv)n(alen)o(t)f(in)g(meaning)f(to)0 +2188 y Ft(f)p Fs(baseball)p Ft(\))p Fs(baseba)o(ll)18 +b(curling)p Ft(\))p Fs(curling)g(cricket)p Ft(\))p Fs(cricket)21 +2240 y(chess)p Ft(\))p Fs(chess)h(bocce)p Ft(\))p Fs(bocce)f +(43-man-squamish)p Ft(\))p Fs(43)o(-man-)o(squam)o(ish)p +Ft(g)0 2329 y Fw(namely)12 b(a)i(xet)g(of)f(sym)o(b)q(ols)g(naming)e +(six)j(sp)q(orts.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 588 612 +588 611 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(588)77 b(COMMON)13 +b(LISP)42 295 y Fw(Another)e(useful)f(abbreviation)g(co)o(v)o(ers)h +(the)g(situation)e(where)j(the)f Fv(n)f Fw(pairs)h(of)e(a)i(\014nite)0 +347 y(xapping)k(are)i(in)o(tegers,)g(collectiv)o(ely)e(co)o(v)o(ering)h +(a)g(range)h(from)d(zero)j(to)f Fv(n)e Ft(\000)d Fw(1.)25 +b(This)0 399 y(kind)15 b(of)f(xapping)h(is)g(called)g(a)g +Fv(xe)n(ctor)g Fw(and)g(ma)o(y)e(b)q(e)j(notated)g(b)o(y)f(writing)f +(the)i(v)n(alues)0 450 y(b)q(et)o(w)o(een)f(brac)o(k)o(ets)g(in)f +(ascending)g(order)h(of)e(their)h(indices.)19 b(Th)o(us)0 +536 y Fs([tinker)h(evers)g(chance])0 622 y Fw(is)14 b(merely)f(an)g +(abbreviation)h(for)0 707 y Ft(f)p Fs(tinker)p Ft(\))p +Fs(0)19 b(evers)p Ft(\))p Fs(1)g(chance)p Ft(\))p Fs(2)p +Ft(g)42 793 y Fw(There)12 b(are)g(t)o(w)o(o)f(kinds)g(of)g(in\014nite)g +(xapping:)16 b(constan)o(t)c(and)f(univ)o(ersal.)17 b(A)11 +b(constan)o(t)0 845 y(xapping)h Ft(f\))p Fv(z)p Ft(g)h +Fw(maps)f(ev)o(ery)i(ob)r(ject)g(to)f(the)h(same)e(v)n(alue)h +Fv(z)p Fw(.)18 b(The)c(univ)o(ersal)f(xapping)0 897 y +Ft(f\)g)i Fw(maps)g(ev)o(ery)h(ob)r(ject)h(to)f(itself)f(and)h(is)g +(therefore)h(the)g(xet)f(of)g(all)e(Lisp)i(ob)r(jects,)0 +948 y(sometimes)j(called)i(simply)d(the)k(univ)o(erse.)39 +b(Both)22 b(kinds)e(of)g(in\014nite)h(xet)g(ma)o(y)e(b)q(e)0 +1000 y(mo)q(di\014ed)e(b)o(y)h(explicitly)f(writing)g(exceptions.)33 +b(One)18 b(kind)g(of)g(exception)h(is)f(simply)0 1052 +y(a)i(pair,)g(whic)o(h)g(sp)q(eci\014es)i(the)f(v)n(alue)e(for)h(a)g +(particular)g(index;)i(the)f(other)g(kind)e(of)0 1104 +y(exception)12 b(is)g(simply)k Fv(k)p Ft(\))j Fw(indicating)10 +b(that)i(the)g(xapping)f(do)q(es)h Fv(not)g Fw(ha)o(v)o(e)f(a)h(pair)f +(with)0 1156 y(index)j Fv(k)g Fw(after)g(all.)j(Th)o(us)d(the)g +(notation)0 1242 y Ft(f)p Fs(sky)p Ft(\))p Fs(blue)19 +b(grass)p Ft(\))p Fs(green)g(idea)p Ft(\))g Fs(glass)p +Ft(\))h(\))p Fs(red)p Ft(g)0 1327 y Fw(indicates)14 b(a)f(xapping)g +(that)g(maps)f Fs(sky)h Fw(to)h Fs(blue)p Fw(,)e Fs(grass)g +Fw(to)h Fs(green)p Fw(,)g(and)g(ev)o(ery)h(other)0 1379 +y(ob)r(ject)g(except)g Fs(idea)e Fw(and)g Fs(glass)g +Fw(to)h Fs(red)p Fw(.)k(Note)c(w)o(ell)f(that)h(the)g(presence)i(or)e +(absence)0 1431 y(of)e(whitespace)i(on)e(either)i(side)f(of)f(an)g +(arro)o(w)g(is)h(crucial)f(to)h(the)g(correct)h(in)o(terpretation)0 +1483 y(of)g(the)i(notation.)42 1535 y(Here)g(is)e(the)i(represen)o +(tation)g(of)f(a)f(xapping)g(as)h(a)g(structure:)0 1621 +y Fs(\(defstruct)42 1672 y(\(xapping)20 b(\(:print-function)e +(print-xapping\))233 1724 y(\(:constructor)g(xap)275 +1776 y(\(domain)i(range)g(&optional)296 1828 y(\(default)490 +1832 y Fn(')513 1828 y Fs(:unknown)g(defaultp\))296 1880 +y(\(infinite)g(\(and)g(defaultp)g(:constant\)\))296 1932 +y(\(exceptions)555 1936 y Fn(')578 1932 y Fs(\(\)\)\)\)\))42 +1984 y(domain)42 2036 y(range)42 2088 y(default)42 2139 +y(\(infinite)g(nil)g(:type)g(\(member)g(nil)h(:constant)e(:universal\)) +42 2191 y(exceptions\))0 2277 y Fw(The)11 b(explicit)g(pairs)f(are)i +(represen)o(ted)h(as)e(t)o(w)o(o)f(parallel)g(lists,)h(one)g(of)f +(indexes)i(\()p Fs(domain)p Fw(\))0 2329 y(and)e(one)h(of)f(v)n(alues)g +(\()p Fs(range)p Fw(\).)17 b(The)11 b Fs(default)e Fw(slot)h(is)g(the)i +(default)e(v)n(alue,)g(relev)n(an)o(t)h(only)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 589 613 +589 612 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(589)0 295 y Fw(if)16 b(the)h Fs(infinite)e Fw(slot)h(is)g +Fs(:constant)p Fw(.)24 b(The)17 b Fs(exceptions)e Fw(slot)h(is)g(a)g +(list)g(of)g(indices)0 347 y(for)d(whic)o(h)g(there)h(are)f(no)g(v)n +(alues.)18 b(\(See)c(the)f(end)h(of)e(section)i(22.3.3)d(for)i(the)g +(de\014nition)0 399 y(of)g Fs(print-xapping)p Fw(.\))42 +452 y(Here,)h(then,)g(is)g(the)g(co)q(de)h(for)f(reading)f(xectors)j +(in)d(brac)o(k)o(et)i(notation:)0 553 y Fs(\(defun)20 +b(open-bracket-macr)o(o-cha)o(r)e(\(stream)i(macro-char\))42 +605 y(\(declare)g(\(ignore)g(macro-char\)\))42 657 y(\(let)h(\(\(range) +e(\(read-delimited-lis)o(t)f(#)781 653 y(-)781 661 y(-)803 +657 y(\\])j(stream)f(t\)\)\))85 708 y(\(xap)g(\(iota-list)f(\(length)h +(range\)\))g(range\)\)\))0 812 y(\(set-macro-charac)o(ter)e(#)457 +808 y(-)457 816 y(-)479 812 y(\\[)j(#)544 808 y(-)544 +816 y(-)m Fn(')587 812 y Fs(open-bracket-ma)o(cro-c)o(har\))0 +864 y(\(set-macro-charac)o(ter)d(#)457 860 y(-)457 868 +y(-)479 864 y(\\])j(\(get-macro-char)o(acter)d(#)1001 +860 y(-)1001 868 y(-)1022 864 y(\\\))j(\)\))0 968 y(\(defun)f +(iota-list)f(\(n\))105 b(;)p Fw(Return)15 b(list)e(of)g(in)o(tegers)i +(from)d(0)i(to)f Fv(n)g Ft(\000)d Fw(1)42 1020 y Fs(\(do)21 +b(\(\(j)f(\(-)h(n)g(1\))g(\(-)g(j)g(1\)\))148 1072 y(\(z)211 +1076 y Fn(')234 1072 y Fs(\(\))g(\(cons)f(j)h(z\)\)\))127 +1124 y(\(\(<)g(j)g(0\))f(z\)\)\))0 1223 y Fw(The)d(co)q(de)h(for)e +(reading)h(xappings)f(in)g(the)h(more)f(general)h(brace)g(notation,)g +(with)f(all)0 1275 y(the)h(p)q(ossibilities)e(for)h(xets)h(\(or)g +(individual)d(xet)i(pairs\),)h(in\014nite)f(xappings,)g(and)g(ex-)0 +1327 y(ceptions,)h(is)f(a)g(bit)g(more)f(complicated;)h(it)g(is)g(sho)o +(wn)g(in)g(table)g(22-5.)25 b(That)16 b(co)q(de)h(is)0 +1378 y(used)e(in)e(conjunction)h(with)g(the)g(initializations)0 +1479 y Fs(\(set-macro-charac)o(ter)k(#)457 1475 y(-)457 +1483 y(-)479 1479 y(\\{)j(#)544 1475 y(-)544 1483 y(-)m +Fn(')587 1479 y Fs(open-brace-macr)o(o-cha)o(r\))0 1531 +y(\(set-macro-charac)o(ter)d(#)457 1527 y(-)457 1535 +y(-)479 1531 y(\\})j(\(get-macro-char)o(acter)d(#)1001 +1527 y(-)1001 1535 y(-)1022 1531 y(\\\))j(\)\))-33 1547 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1780 a Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(make-dispatch-mac)o(ro-ch)o(aract)o(er)18 b Fv(char)42 +1832 y Fs(&optional)i Fv(non)p Fs(-)p Fv(terminating)p +Fs(-)p Fv(p)k(r)n(e)n(adtable)0 1911 y Fw(This)10 b(causes)h(the)g(c)o +(haracter)g Fv(char)f Fw(to)f(b)q(e)i(a)e(dispatc)o(hing)h(macro)f(c)o +(haracter)i(in)e Fv(r)n(e)n(adtable)0 1962 y Fw(\(whic)o(h)14 +b(defaults)g(to)f(the)i(curren)o(t)g(readtable\).)k(If)13 +b Fv(non-terminating-p)h Fw(is)g(not)g Fs(nil)f Fw(\(it)0 +2014 y(defaults)j(to)g Fs(nil)p Fw(\),)g(then)g(it)g(will)f(b)q(e)h(a)g +(non-terminating)e(macro)h(c)o(haracter:)24 b(it)16 b(ma)o(y)0 +2066 y(b)q(e)e(em)o(b)q(edded)f(within)g(extended)i(tok)o(ens.)j +Fs(make-dispatch-mac)o(ro-ch)o(aract)o(er)10 b Fw(re-)0 +2118 y(turns)15 b Fs(t)p Fw(.)42 2172 y(Initially)d(ev)o(ery)k(c)o +(haracter)h(in)d(the)i(dispatc)o(h)f(table)g(has)g(a)g(c)o +(haracter-macro)g(func-)0 2223 y(tion)j(that)h(signals)f(an)h(error.)33 +b(Use)20 b Fs(set-dispatch-macro)o(-char)o(acter)15 b +Fw(to)k(de\014ne)0 2275 y(en)o(tries)c(in)e(the)i(dispatc)o(h)f(table.) +42 2329 y(X3J13)f(v)o(oted)h(in)g(Jan)o(uary)f(1989)g +Ft(h)p Fw(7)p Ft(i)h Fw(to)g(clarify)f(that)h Fv(char)g +Fw(m)o(ust)e(b)q(e)j(a)f(c)o(haracter.)-33 2300 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 590 614 +590 613 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(590)77 b(COMMON)13 +b(LISP)p 0 255 1395 2 v 0 344 a Fm(T)l(able)h(22-5:)k +FA(Macro)13 b(Character)h(De\014nition)h(for)e(Xapping)i(Syn)o(tax)0 +473 y Fj(\(defun)h(open-brace)o(-ma)o(cro)o(-c)o(har)f(\(s)j(macro-cha) +o(r\))37 519 y(\(declare)e(\(ignore)g(macro-cha)o(r\)\))37 +565 y(\(do)i(\(\(ch)f(\(peek-char)e(t)j(s)g(t)h(nil)e(t\))h +(\(peek-char)d(t)j(s)h(t)f(nil)f(t\)\))131 610 y(\(domain)285 +613 y Fs(')305 610 y Fj(\(\)\))37 b(\(range)536 613 y +Fs(')557 610 y Fj(\(\)\))f(\(exceptio)o(ns)886 613 y +Fs(')906 610 y Fj(\(\)\)\))112 656 y(\(\(char)232 653 +y(U)232 659 y(U)268 656 y(ch)18 b(#)326 653 y(-)326 659 +y(-)346 656 y(\\}\))131 702 y(\(read-cha)o(r)e(s)i(t)g(nil)g(t\))131 +747 y(\(construc)o(t-x)o(ap)o(pin)o(g)d(\(reverse)h(domain\))g +(\(reverse)g(range\)\)\))75 793 y(\(cond)g(\(\(char)311 +790 y(U)311 796 y(U)347 793 y(ch)i(#)405 790 y(-)405 +796 y(-)425 793 y(\\)p Ff(\))p Fj(\))205 839 y(\(read-char)d(s)k(t)f +(nil)f(t\))205 884 y(\(let)h(\(\(nextch)d(\(peek-char)g(nil)j(s)g(t)g +(nil)g(t\)\)\))243 930 y(\(cond)f(\(\(char)480 927 y(U)480 +933 y(U)516 930 y(nextch)f(#)652 927 y(-)652 933 y(-)672 +930 y(\\}\))374 976 y(\(read-cha)o(r)f(s)k(t)f(nil)g(t\))374 +1021 y(\(return)e(\(xap)h(\(reverse)e(domain\))616 1067 +y(\(reverse)h(range\))616 1113 y(nil)i(:universa)o(l)e(exception)o +(s\)\))o(\))355 1158 y(\(t)i(\(let)f(\(\(item)f(\(read)h(s)h(t)h(nil)e +(t\)\)\))448 1204 y(\(cond)g(\(\(char)685 1201 y(U)685 +1207 y(U)721 1204 y(\(peek-char)e(t)j(s)g(t)h(nil)e(t\))h(#)1186 +1201 y(-)1186 1207 y(-)1206 1204 y(\\}\))579 1250 y(\(read-char)d(s)j +(t)g(nil)g(t\))579 1295 y(\(return)e(\(xap)h(\(reverse)f(domain\))822 +1341 y(\(reverse)g(range\))822 1387 y(item)h(:constant)822 +1432 y(exception)o(s\)\))o(\))560 1478 y(\(t)h(\(reader-er)o(ror)d(s) +654 1524 y("Default)g Ff(\))k Fj(item)f(must)f(be)h(last"\)\)\)\))o +(\)\))o(\)\))187 1569 y(\(t)g(\(let)f(\(\(item)f(\(read-pres)o(erv)o +(in)o(g-w)o(hi)o(tes)o(pac)o(e)f(s)k(t)f(nil)g(t\)\))355 +1615 y(\(nextch)e(\(peek-cha)o(r)g(nil)h(s)i(t)f(nil)f(t\)\)\))280 +1660 y(\(cond)g(\(\(char)517 1657 y(U)517 1663 y(U)553 +1660 y(nextch)f(#)689 1657 y(-)689 1663 y(-)709 1660 +y(\\)p Ff(\))p Fj(\))411 1706 y(\(read-cha)o(r)g(s)i(t)g(nil)g(t\))411 +1752 y(\(cond)f(\(\(member)e(\(peek-char)g(nil)j(s)g(t)g(nil)g(t\))690 +1800 y Fs(')710 1797 y Fj(\(#)730 1794 y(-)730 1800 y(-)749 +1797 y(\\Space)e(#)885 1794 y(-)885 1800 y(-)905 1797 +y(\\Tab)h(#)1002 1794 y(-)1002 1800 y(-)1022 1797 y(\\Newline\))o(\)) +542 1843 y(\(push)f(item)i(exception)o(s\))o(\))523 1889 +y(\(t)g(\(push)f(item)g(domain\))579 1934 y(\(push)g(\(read)g(s)h(t)g +(nil)g(t\))g(range\)\)\)\))392 1980 y(\(\(char)512 1977 +y(U)512 1983 y(U)548 1980 y(nch)g(#)626 1977 y(-)626 +1983 y(-)645 1980 y(\\}\))411 2026 y(\(read-cha)o(r)e(s)i(t)g(nil)g +(t\))411 2071 y(\(push)f(item)g(domain\))411 2117 y(\(push)g(item)g +(range\))411 2163 y(\(return)f(\(xap)h(\(reverse)f(domain\))g +(\(reverse)f(range\)\)\)\))392 2208 y(\(t)j(\(push)f(item)g(domain\)) +448 2254 y(\(push)g(item)g(range\)\)\)\)\))o(\)\)\))-33 +2268 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2329 V 76 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 591 615 +591 614 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(591)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b +Fs(set-dispatch-macr)o(o-cha)o(racte)o(r)18 b Fv(disp)p +Fs(-)p Fv(char)26 b(sub)p Fs(-)p Fv(char)g(function)42 +347 y Fs(&optional)20 b Fv(r)n(e)n(adtable)1209 399 y +Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(get-dispatch-macr)o(o-cha)o +(racte)o(r)18 b Fv(disp)p Fs(-)p Fv(char)26 b(sub)p Fs(-)p +Fv(char)42 450 y Fs(&optional)20 b Fv(r)n(e)n(adtable)0 +530 y Fs(set-dispatch-macr)o(o-cha)o(racte)o(r)10 b Fw(causes)k +Fv(function)f Fw(to)f(b)q(e)h(called)g(when)g(the)g Fv(disp-)0 +582 y(char)22 b Fw(follo)o(w)o(ed)e(b)o(y)h Fv(sub-char)h +Fw(is)g(read.)41 b(The)23 b Fv(r)n(e)n(adtable)e Fw(defaults)g(to)h +(the)g(curren)o(t)0 634 y(readtable.)e(The)15 b(argumen)o(ts)e(and)h +(return)i(v)n(alues)e(for)g Fv(function)h Fw(are)f(the)h(same)f(as)g +(for)0 686 y(normal)i(macro)g(c)o(haracters)j(except)g(that)f +Fv(function)g Fw(gets)g Fv(sub-char)p Fw(,)h(not)e Fv(disp-char)p +Fw(,)0 738 y(as)g(its)g(second)h(argumen)o(t)e(and)h(also)g(receiv)o +(es)h(a)f(third)g(argumen)o(t)f(that)h(is)g(the)h(non-)0 +790 y(negativ)o(e)i(in)o(teger)g(whose)h(decimal)d(represen)o(tation)j +(app)q(eared)g(b)q(et)o(w)o(een)h Fv(disp-char)0 842 +y Fw(and)14 b Fv(sub-char)p Fw(,)f(or)h Fs(nil)f Fw(if)g(no)h(decimal)e +(in)o(teger)j(app)q(eared)f(there.)42 897 y(The)k Fv(sub-char)g +Fw(ma)o(y)e(not)i(b)q(e)h(one)f(of)g(the)h(ten)f(decimal)f(digits;)i +(they)f(are)h(alw)o(a)o(ys)0 949 y(reserv)o(ed)i(for)d(sp)q(ecifying)h +(an)g(in\014x)f(in)o(teger)h(argumen)o(t.)32 b(Moreo)o(v)o(er,)20 +b(if)e Fv(sub-char)h Fw(is)0 1000 y(a)f(lo)o(w)o(ercase)h(c)o(haracter) +g(\(see)h Fs(lower-case-p)p Fw(\),)c(its)i(upp)q(ercase)i(equiv)n(alen) +o(t)e(is)g(used)0 1052 y(instead.)30 b(\(This)18 b(is)f(ho)o(w)h(the)g +(rule)g(is)g(enforced)h(that)f(the)g(case)h(of)e(a)g(dispatc)o(h)h +(sub-)0 1104 y(c)o(haracter)d(do)q(esn't)g(matter.\))42 +1159 y Fs(set-dispatch-ma)o(cro-c)o(harac)o(ter)c Fw(returns)k +Fs(t)p Fw(.)42 1214 y Fs(get-dispatch-ma)o(cro-c)o(harac)o(ter)10 +b Fw(returns)k(the)g(macro-c)o(haracter)f(function)g(for)0 +1266 y Fv(sub-char)j Fw(under)g Fv(disp-char)p Fw(,)f(or)g +Fs(nil)g Fw(if)f(there)j(is)e(no)g(function)g(asso)q(ciated)i(with)e +Fv(sub-)0 1318 y(char)p Fw(.)42 1373 y(If)c(the)i Fv(sub-char)f +Fw(is)g(one)g(of)f(the)i(ten)g(decimal)d(digits)h Fs(0)21 +b(1)g(2)g(3)g(4)g(5)g(6)g(7)g(8)g(9)p Fw(,)12 b Fs(get-)0 +1425 y(dispatch-macro-ch)o(aract)o(er)i Fw(alw)o(a)o(ys)i(returns)j +Fs(nil)p Fw(.)28 b(If)17 b Fv(sub-char)g Fw(is)g(a)g(lo)o(w)o(ercase)0 +1477 y(c)o(haracter,)e(its)f(upp)q(ercase)i(equiv)n(alen)o(t)d(is)h +(used)g(instead.)42 1532 y(X3J13)23 b(v)o(oted)g(in)g(Jan)o(uary)h +(1989)e Ft(h)p Fw(95)p Ft(i)i Fw(to)f(sp)q(ecify)h(that)g(if)e +Fs(nil)h Fw(is)h(explicitly)-33 1503 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1584 a(passed)13 b(as)e(the)h(second)h(argumen)o(t)e(to) +g Fs(get-dispatch-macro)o(-char)o(acter)o Fw(,)e(then)j(the)0 +1636 y(standard)19 b(readtable)h(is)e(used.)34 b(This)19 +b(is)g(consisten)o(t)h(with)e(the)i(b)q(eha)o(vior)f(of)f +Fs(copy-)0 1687 y(readtable)p Fw(.)-33 1699 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1742 a(F)m(or)c(either)j(function,)e(an)g(error)h(is)f +(signaled)g(if)g(the)g(sp)q(eci\014ed)i Fv(disp-char)f +Fw(is)f(not)g(in)0 1794 y(fact)k(a)f(dispatc)o(h)h(c)o(haracter)h(in)e +(the)h(sp)q(eci\014ed)i(readtable.)32 b(It)19 b(is)g(necessary)h(to)f +(use)0 1846 y Fs(make-dispatch-mac)o(ro-ch)o(aract)o(er)e +Fw(to)j(set)i(up)e(the)h(dispatc)o(h)f(c)o(haracter)i(b)q(efore)0 +1898 y(sp)q(ecifying)14 b(its)g(sub-c)o(haracters.)42 +1953 y(As)21 b(an)h(example,)f(supp)q(ose)i(one)f(w)o(ould)e(lik)o(e)h +Fs(#)819 1949 y(-)819 1957 y(-)841 1953 y($)p Fv(fo)n(o)g +Fw(to)g(b)q(e)i(read)e(as)h(if)f(it)g(w)o(ere)0 2005 +y Fs(\(dollars)f Fv(fo)n(o)p Fs(\))p Fw(.)d(One)e(migh)o(t)d(sa)o(y:)0 +2121 y Fs(\(defun)20 b(|#)174 2117 y(-)174 2125 y(-)196 +2121 y($-reader|)f(\(stream)h(subchar)f(arg\))42 2173 +y(\(declare)h(\(ignore)g(subchar)f(arg\)\))42 2225 y(\(list)170 +2229 y Fn(')194 2225 y Fs(dollars)g(\(read)i(stream)e(t)i(nil)g +(t\)\)\))0 2329 y(\(set-dispatch-mac)o(ro-ch)o(aract)o(er)d(#)653 +2325 y(-)653 2333 y(-)675 2329 y(\\#)697 2325 y(-)697 +2333 y(-)740 2329 y(#)740 2325 y(-)740 2333 y(-)762 2329 +y(\\$)i(#)826 2325 y(-)826 2333 y(-)n Fn(')869 2329 y +Fs(|#)891 2325 y(-)891 2333 y(-)913 2329 y($-reader|\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 592 616 +592 615 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(592)77 b(COMMON)13 +b(LISP)p 0 295 V 0 356 a Fm(Compatibilit)o(y)h(note:)21 +b FA(This)15 b(macro-c)o(haracter)h(mec)o(hanism)g(is)g(di\013eren)o(t) +g(from)f(those)g(in)0 401 y(MacLisp,)c(In)o(terlisp,)h(and)e(Lisp)g +(Mac)o(hine)h(Lisp.)17 b(Recen)o(tly)10 b(Lisp)h(systems)e(ha)o(v)o(e)h +(implemen)o(ted)0 447 y(v)o(ery)15 b(general)i(readers,)e(ev)o(en)h +(readers)g(so)f(programmable)i(that)e(they)g(can)h(parse)f(arbitrary)0 +493 y(compiled)h(BNF)e(grammars.)20 b(Unfortunately)m(,)15 +b(these)f(readers)g(can)h(b)q(e)f(complicated)i(to)e(use.)0 +538 y(This)h(design)g(is)g(an)g(attempt)f(to)g(mak)o(e)g(the)h(reader)f +(as)g(simple)i(as)e(p)q(ossible)j(to)d(understand,)0 +584 y(use,)h(and)h(implemen)o(t.)24 b(Splicing)18 b(macros)d(ha)o(v)o +(e)g(b)q(een)h(eliminated;)i(a)c(recen)o(t)h(informal)i(p)q(oll)0 +630 y(indicates)c(that)e(no)g(one)g(uses)g(them)g(to)f(pro)q(duce)i +(other)f(than)h(zero)e(or)h(one)g(v)n(alue.)18 b(The)10 +b(abilit)o(y)0 675 y(to)g(access)g(parts)g(of)g(the)f(ob)r(ject)h +(preceding)i(the)e(macro)g(c)o(haracter)g(has)h(b)q(een)f(eliminated.) +19 b(The)0 721 y(MacLisp)g(single-c)o(haracter-ob)r(ject)h(feature)d +(has)h(b)q(een)g(eliminated)i(b)q(ecause)e(it)g(is)f(seldom)0 +767 y(used)d(and)f(trivially)j(obtainable)g(b)o(y)e(de\014ning)h(a)e +(macro.)42 813 y(The)e(user)g(is)h(encouraged)h(to)f(turn)f(o\013)h +(most)f(macro)h(c)o(haracters,)g(turn)g(others)g(in)o(to)g(single-)0 +859 y(c)o(haracter-ob)r(ject)k(macros,)g(and)g(then)f(use)h +Fj(read)d FA(purely)k(as)e(a)h(lexical)h(analyzer)g(on)e(top)h(of)0 +905 y(whic)o(h)c(to)f(build)j(a)d(parser.)17 b(It)10 +b(is)i(unnecessary)m(,)h(ho)o(w)o(ev)o(er,)f(to)f(cater)g(to)g(more)h +(complex)g(lexical)0 950 y(analysis)j(or)e(parsing)i(than)f(that)f +(needed)h(for)f(Common)g(Lisp.)p 0 994 V 1209 1145 a +Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(readtable-case)18 +b Fv(r)n(e)n(adtable)-33 1117 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1223 a Fw(X3J13)e(v)o(oted)h(in)f(June)h(1989)e +Ft(h)p Fw(150)p Ft(i)h Fw(to)g(in)o(tro)q(duce)i(the)f(function)f +Fs(readtable-case)0 1275 y Fw(to)g(con)o(trol)g(the)g(reader's)h(in)o +(terpretation)g(of)e(case.)26 b(It)16 b(pro)o(vides)g(access)i(to)e(a)f +(slot)h(in)0 1326 y(a)f(readtable,)h(and)f(ma)o(y)e(b)q(e)j(used)g +(with)f Fs(setf)g Fw(to)g(alter)g(the)h(state)g(of)f(that)g(slot.)22 +b(The)0 1378 y(p)q(ossible)11 b(v)n(alues)f(for)g(the)g(slot)g(are)h +Fs(:upcase)p Fw(,)e Fs(:downcase)p Fw(,)g Fs(:preserve)p +Fw(,)g(and)h Fs(:invert)p Fw(;)0 1430 y(the)j Fs(readtable-case)d +Fw(for)j(the)g(standard)h(readtable)f(is)f Fs(:upcase)p +Fw(.)17 b(Note)c(that)g Fs(copy-)0 1482 y(readtable)g +Fw(is)h(required)h(to)f(cop)o(y)h(the)g Fs(readtable-case)c +Fw(slot)k(along)e(with)h(all)f(other)0 1534 y(readtable)h(information.) +42 1587 y(Once)19 b(the)g(reader)g(has)f(accum)o(ulated)f(a)h(tok)o(en) +g(as)h(describ)q(ed)h(in)d(section)i(22.1.1,)0 1639 y(if)e(the)i(tok)o +(en)f(is)g(a)g(sym)o(b)q(ol,)f(\\replaceable")h(c)o(haracters)i +(\(unescap)q(ed)g(upp)q(ercase)g(or)0 1691 y(lo)o(w)o(ercase)e +(constituen)o(t)g(c)o(haracters\))h(ma)o(y)c(b)q(e)j(mo)q(di\014ed)e +(under)i(the)g(con)o(trol)f(of)f(the)0 1742 y Fs(readtable-case)11 +b Fw(of)i(the)i(curren)o(t)g(readtable:)0 1813 y Fu(.)42 +1822 y Fw(F)m(or)d Fs(:upcase)p Fw(,)g(replaceable)i(c)o(haracters)h +(are)e(con)o(v)o(erted)i(to)e(upp)q(ercase.)20 b(\(This)13 +b(w)o(as)42 1873 y(the)h(b)q(eha)o(vior)g(sp)q(eci\014ed)h(b)o(y)f(the) +g(\014rst)h(edition.\))0 1955 y Fu(.)42 1964 y Fw(F)m(or)e +Fs(:downcase)p Fw(,)f(replaceable)i(c)o(haracters)i(are)e(con)o(v)o +(erted)h(to)f(lo)o(w)o(ercase.)0 2046 y Fu(.)42 2055 +y Fw(F)m(or)f Fs(:preserve)p Fw(,)f(the)i(cases)h(of)f(all)e(c)o +(haracters)k(remain)c(unc)o(hanged.)0 2137 y Fu(.)42 +2146 y Fw(F)m(or)j Fs(:invert)p Fw(,)g(if)h(all)f(of)h(the)h +(replaceable)g(letters)g(in)f(the)h(extended)h(tok)o(en)f(are)f(of)42 +2198 y(the)h(same)f(case,)j(they)e(are)h(all)e(con)o(v)o(erted)i(to)f +(the)h(opp)q(osite)f(case;)i(otherwise)f(the)42 2250 +y(cases)d(of)e(all)g(c)o(haracters)i(in)f(that)g(tok)o(en)g(remain)e +(unc)o(hanged.)0 2329 y(As)i(an)g(illustration,)e(consider)j(the)f +(follo)o(wing)e(co)q(de.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 593 617 +593 616 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(593)0 295 y Fs(\(let)20 b(\(\(*readtable*)f(\(copy-readtable)f +(nil\)\)\))42 347 y(\(format)i(t)h("READTABLE-CASE)39 +b(Input)63 b(Symbol-name)1041 351 y Fn(~)231 403 y(~)254 +399 y Fs(\045-----------------)o(-)-14 b(-----------------)1028 +403 y Fn(~)231 454 y(~)254 450 y Fs(\045"\))42 502 y(\(dolist)20 +b(\(readtable-case)562 506 y Fn(')585 502 y Fs(\(:upcase)g(:downcase)f +(:preserve)g(:invert\)\))85 554 y(\(setf)h(\(readtable-case)e +(*readtable*\))h(readtable-case\))85 606 y(\(dolist)g(\(input)408 +610 y Fn(')432 606 y Fs(\("ZEBRA")g("Zebra")h("zebra"\)\))127 +658 y(\(format)g(t)h(":)386 662 y Fn(~)408 658 y Fs(A)428 +662 y Fn(~)451 658 y Fs(16T)515 662 y Fn(~)538 658 y +Fs(A)558 662 y Fn(~)581 658 y Fs(24T)645 662 y Fn(~)667 +658 y Fs(A)687 662 y Fn(~)710 658 y Fs(\045")339 710 +y(\(string-upcase)d(readtable-case\))339 762 y(input)339 +814 y(\(symbol-name)g(\(read-from-string)g(input\)\)\)\)\)\)\))0 +909 y Fw(The)c(output)g(from)f(this)g(test)i(co)q(de)g(should)f(b)q(e)0 +1005 y Fs(READTABLE-CASE)39 b(Input)63 b(Symbol-name)0 +1057 y(-----------------)o(-----)o(-----)o(-----)o(---)0 +1108 y(:UPCASE)189 b(ZEBRA)63 b(ZEBRA)0 1160 y(:UPCASE)189 +b(Zebra)63 b(ZEBRA)0 1212 y(:UPCASE)189 b(zebra)63 b(ZEBRA)0 +1264 y(:DOWNCASE)146 b(ZEBRA)63 b(zebra)0 1316 y(:DOWNCASE)146 +b(Zebra)63 b(zebra)0 1368 y(:DOWNCASE)146 b(zebra)63 +b(zebra)0 1420 y(:PRESERVE)146 b(ZEBRA)63 b(ZEBRA)0 1472 +y(:PRESERVE)146 b(Zebra)63 b(Zebra)0 1524 y(:PRESERVE)146 +b(zebra)63 b(zebra)0 1575 y(:INVERT)189 b(ZEBRA)63 b(zebra)0 +1627 y(:INVERT)189 b(Zebra)63 b(Zebra)0 1679 y(:INVERT)189 +b(zebra)63 b(ZEBRA)42 1774 y Fw(The)17 b Fs(readtable-case)d +Fw(of)i(the)h(curren)o(t)h(readtable)g(also)e(a\013ects)i(the)f(prin)o +(ting)f(of)-33 1746 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1826 a(sym)o(b)q(ols)c(\(see)k Fs(*print-case*)11 +b Fw(and)j Fs(*print-escape*)p Fw(\).)-33 1838 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2021 a Fo(22.1.6.)20 b(What)15 b(the)f(Prin)n(t)h(F)-5 +b(unction)16 b(Pro)r(duces)0 2120 y Fw(The)21 b(Common)c(Lisp)k(prin)o +(ter)g(is)f(con)o(trolled)h(b)o(y)f(a)g(n)o(um)o(b)q(er)g(of)g(sp)q +(ecial)h(v)n(ariables.)0 2172 y(These)15 b(are)f(referred)h(to)f(in)f +(the)h(follo)o(wing)d(discussion)j(and)g(are)g(fully)e(do)q(cumen)o +(ted)i(at)0 2224 y(the)g(end)h(of)e(this)h(section.)42 +2277 y(Ho)o(w)f(an)h(expression)g(is)g(prin)o(ted)g(dep)q(ends)i(on)d +(its)h(data)f(t)o(yp)q(e,)h(as)g(describ)q(ed)i(in)d(the)0 +2329 y(follo)o(wing)e(paragraphs.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 594 618 +594 617 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(594)77 b(COMMON)13 +b(LISP)0 295 y Fv(Inte)n(gers)0 358 y Fw(If)19 b(appropriate,)i(a)e +(radix)g(sp)q(eci\014er)i(ma)o(y)d(b)q(e)i(prin)o(ted;)i(see)f(the)f(v) +n(ariable)e Fs(*print-)0 410 y(radix*)p Fw(.)e(If)10 +b(an)g(in)o(teger)h(is)g(negativ)o(e,)f(a)g(min)o(us)f(sign)i(is)f +(prin)o(ted)h(and)f(then)h(the)h(absolute)0 462 y(v)n(alue)j(of)f(the)i +(in)o(teger)g(is)f(prin)o(ted.)22 b(In)o(tegers)17 b(are)e(prin)o(ted)h +(in)f(the)g(radix)g(sp)q(eci\014ed)i(b)o(y)0 513 y(the)f(v)n(ariable)d +Fs(*print-base*)g Fw(in)h(the)i(usual)f(p)q(ositional)e(notation,)h +(most)g(signi\014can)o(t)0 565 y(digit)i(\014rst.)30 +b(The)18 b(n)o(um)o(b)q(er)f(zero)h(is)g(represen)o(ted)i(b)o(y)d(the)i +(single)e(digit)f Fs(0)h Fw(and)h(nev)o(er)0 617 y(has)d(a)f(sign.)20 +b(A)15 b(decimal)e(p)q(oin)o(t)h(ma)o(y)f(then)i(b)q(e)h(prin)o(ted,)e +(dep)q(ending)i(on)e(the)h(v)n(alue)f(of)0 669 y Fs(*print-radix*)p +Fw(.)0 785 y Fv(R)n(atios)0 848 y Fw(If)19 b(appropriate,)i(a)e(radix)g +(sp)q(eci\014er)i(ma)o(y)d(b)q(e)i(prin)o(ted;)i(see)f(the)f(v)n +(ariable)e Fs(*print-)0 900 y(radix*)p Fw(.)k(If)15 b(the)i(ratio)e(is) +g(negativ)o(e,)h(a)f(min)o(us)f(sign)i(is)f(prin)o(ted.)24 +b(Then)16 b(the)h(absolute)0 952 y(v)n(alue)10 b(of)h(the)h(n)o +(umerator)e(is)h(prin)o(ted,)g(as)h(for)e(an)h(in)o(teger;)h(then)g(a)f +Fs(/)p Fw(;)g(then)h(the)f(denomi-)0 1004 y(nator.)17 +b(The)11 b(n)o(umerator)e(and)i(denominator)e(are)i(b)q(oth)f(prin)o +(ted)h(in)f(the)h(radix)f(sp)q(eci\014ed)0 1056 y(b)o(y)j(the)h(v)n +(ariable)f Fs(*print-base*)p Fw(;)d(they)k(are)g(obtained)f(as)h(if)e +(b)o(y)h(the)h Fs(numerator)e Fw(and)0 1108 y Fs(denominator)c +Fw(functions,)j(and)g(so)f(ratios)h(are)g(alw)o(a)o(ys)e(prin)o(ted)i +(in)f(reduced)j(form)c(\(lo)o(w-)0 1160 y(est)15 b(terms\).)0 +1276 y Fv(Flo)n(ating-p)n(oint)g(numb)n(ers)0 1341 y +Fw(If)20 b(the)g(sign)g(of)g(the)g(n)o(um)o(b)q(er)g(\(as)g(determined) +g(b)o(y)g(the)h(function)f Fs(float-sign)p Fw(\))e(is)0 +1393 y(negativ)o(e,)13 b(then)i(a)e(min)o(us)g(sign)g(is)h(prin)o(ted.) +k(Then)d(the)f(magnitude)e(is)i(prin)o(ted)g(in)g(one)0 +1445 y(of)h(t)o(w)o(o)g(w)o(a)o(ys.)22 b(If)15 b(the)g(magnitude)f(of)h +(the)h(\015oating-p)q(oin)o(t)e(n)o(um)o(b)q(er)g(is)h(either)i(zero)f +(or)0 1497 y(b)q(et)o(w)o(een)e(10)201 1482 y Fl(\000)p +Fk(3)257 1497 y Fw(\(inclusiv)o(e\))f(and)f(10)578 1482 +y Fk(7)608 1497 y Fw(\(exclusiv)o(e\),)h(it)f(ma)o(y)f(b)q(e)i(prin)o +(ted)g(as)f(the)h(in)o(teger)0 1549 y(part)e(of)e(the)i(n)o(um)o(b)q +(er,)f(then)h(a)f(decimal)f(p)q(oin)o(t,)h(follo)o(w)o(ed)f(b)o(y)h +(the)h(fractional)e(part)h(of)g(the)0 1601 y(n)o(um)o(b)q(er;)h(there)j +(is)e(alw)o(a)o(ys)e(at)i(least)g(one)h(digit)d(on)i(eac)o(h)h(side)f +(of)f(the)i(decimal)d(p)q(oin)o(t.)17 b(If)0 1653 y(the)11 +b(format)d(of)i(the)h(n)o(um)o(b)q(er)e(do)q(es)i(not)f(matc)o(h)f +(that)h(sp)q(eci\014ed)i(b)o(y)e(the)h(v)n(ariable)e +Fs(*read-)0 1704 y(default-float-for)o(mat*)p Fw(,)h(then)k(the)h(exp)q +(onen)o(t)f(mark)o(er)f(for)h(that)g(format)d(and)j(the)0 +1756 y(digit)e Fs(0)i Fw(are)g(also)f(prin)o(ted.)18 +b(F)m(or)13 b(example,)f(the)i(base)g(of)f(the)h(natural)f(logarithms)e +(as)j(a)0 1808 y(short-format)e(\015oating-p)q(oin)o(t)h(n)o(um)o(b)q +(er)g(migh)o(t)f(b)q(e)i(prin)o(ted)g(as)g Fs(2.71828S0)p +Fw(.)42 1862 y(F)m(or)f(non-zero)h(magnitudes)f(outside)h(of)f(the)h +(range)g(10)922 1847 y Fl(\000)p Fk(3)980 1862 y Fw(to)f(10)1072 +1847 y Fk(7)1091 1862 y Fw(,)g(a)g(\015oating-p)q(oin)o(t)0 +1914 y(n)o(um)o(b)q(er)i(will)f(b)q(e)i(prin)o(ted)f(in)g +(\\computerized)h(scien)o(ti\014c)g(notation.")22 b(The)16 +b(represen-)0 1966 y(tation)e(of)g(the)h(n)o(um)o(b)q(er)e(is)h(scaled) +h(to)g(b)q(e)g(b)q(et)o(w)o(een)g(1)g(\(inclusiv)o(e\))f(and)g(10)g +(\(exclusiv)o(e\))0 2017 y(and)j(then)i(prin)o(ted,)f(with)f(one)h +(digit)f(b)q(efore)h(the)g(decimal)e(p)q(oin)o(t)h(and)g(at)h(least)g +(one)0 2069 y(digit)f(after)i(the)g(decimal)d(p)q(oin)o(t.)31 +b(Next)19 b(the)f(exp)q(onen)o(t)h(mark)o(er)f(for)g(the)g(format)f(is) +0 2121 y(prin)o(ted,)h(except)h(that)e(if)g(the)h(format)d(of)i(the)h +(n)o(um)o(b)q(er)f(matc)o(hes)g(that)g(sp)q(eci\014ed)i(b)o(y)0 +2173 y(the)c(v)n(ariable)e Fs(*read-default-float)o(-form)o(at*)p +Fw(,)e(then)k(the)g(exp)q(onen)o(t)g(mark)o(er)f Fs(E)g +Fw(is)0 2225 y(used.)28 b(Finally)m(,)15 b(the)i(p)q(o)o(w)o(er)g(of)f +(10)h(b)o(y)f(whic)o(h)h(the)g(fraction)g(m)o(ust)e(b)q(e)j(m)o +(ultiplied)c(to)0 2277 y(equal)g(the)g(original)e(n)o(um)o(b)q(er)h(is) +h(prin)o(ted)g(as)g(a)g(decimal)e(in)o(teger.)19 b(F)m(or)13 +b(example,)f(Av)o(o-)0 2329 y(gadro's)i(n)o(um)o(b)q(er)g(as)h(a)f +(short-format)f(\015oating-p)q(oin)o(t)g(n)o(um)o(b)q(er)h(migh)o(t)e +(b)q(e)k(prin)o(ted)f(as)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 595 619 +595 618 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(595)0 295 y Fs(6.02S23)p Fw(.)0 392 y Fv(Complex)15 +b(numb)n(ers)0 455 y Fw(A)h(complex)e(n)o(um)o(b)q(er)h(is)h(prin)o +(ted)g(as)g Fs(#)607 451 y(-)607 459 y(-)628 455 y(C)p +Fw(,)f(an)h(op)q(en)g(paren)o(thesis,)h(the)f(prin)o(ted)g(repre-)0 +507 y(sen)o(tation)e(of)f(its)h(real)f(part,)h(a)f(space,)h(the)h(prin) +o(ted)f(represen)o(tation)h(of)e(its)h(imaginary)0 559 +y(part,)g(and)f(\014nally)g(a)h(close)g(paren)o(thesis.)0 +657 y Fv(Char)n(acters)-38 646 y Fk(.)-38 659 y(.)-38 +672 y(.)-38 685 y(.)-38 698 y(.)-38 711 y(.)-38 724 y(.)-38 +737 y(.)-38 750 y(.)-38 763 y(.)-38 776 y(.)-38 789 y(.)-38 +802 y(.)-38 815 y(.)-38 828 y(.)-38 841 y(.)-38 854 y(.)-38 +867 y(.)-38 880 y(.)-38 893 y(.)-38 906 y(.)-38 919 y(.)-38 +932 y(.)-38 945 y(.)-38 958 y(.)-38 971 y(.)-38 984 y(.)-38 +997 y(.)-38 1010 y(.)-38 1023 y(.)-38 1035 y(.)-38 1048 +y(.)-38 1061 y(.)-38 1074 y(.)-38 1087 y(.)-38 1100 y(.)-38 +1113 y(.)-38 1126 y(.)-38 1139 y(.)-38 1152 y(.)-38 1165 +y(.)-38 1178 y(.)-38 1191 y(.)-38 1204 y(.)-38 1217 y(.)-38 +1230 y(.)-38 1243 y(.)-38 1256 y(.)-38 1269 y(.)-38 1282 +y(.)-38 1295 y(.)-38 1308 y(.)-38 1321 y(.)-38 1334 y(.)-38 +1347 y(.)-38 1360 y(.)-38 1373 y(.)-38 1386 y(.)-38 1399 +y(.)-38 1412 y(.)-38 1425 y(.)-38 1438 y(.)-38 1451 y(.)-38 +1464 y(.)-38 1477 y(.)-38 1490 y(.)-38 1502 y(.)-38 1515 +y(.)-38 1528 y(.)-38 1541 y(.)-38 1554 y(.)-38 1567 y(.)-38 +1580 y(.)-38 1593 y(.)-38 1606 y(.)-38 1619 y(.)-38 1632 +y(.)-38 1645 y(.)-38 1658 y(.)-38 1671 y(.)-38 1684 y(.)-38 +1697 y(.)-38 1710 y(.)-38 1723 y(.)-38 1736 y(.)-38 1749 +y(.)-38 1762 y(.)-38 1775 y(.)-38 1788 y(.)-38 1801 y(.)-38 +1814 y(.)-38 1827 y(.)-38 1840 y(.)-38 1853 y(.)-38 1866 +y(.)-38 1879 y(.)-38 1892 y(.)-38 1905 y(.)-38 1918 y(.)-38 +1931 y(.)-38 1944 y(.)-38 1957 y(.)-38 1969 y(.)-38 1982 +y(.)-38 1995 y(.)-38 2008 y(.)-38 2021 y(.)-38 2034 y(.)-38 +2047 y(.)-38 2060 y(.)-38 2073 y(.)-38 2086 y(.)-38 2099 +y(.)-38 2112 y(.)-38 2125 y(.)-38 2138 y(.)-38 2151 y(.)-38 +2164 y(.)-38 2177 y(.)-38 2190 y(.)-38 2203 y(.)-38 2216 +y(.)-38 2229 y(.)-38 2242 y(.)-38 2255 y(.)-38 2268 y(.)-38 +2281 y(.)-38 2294 y(.)-38 2307 y(.)-38 2320 y(.)-38 2333 +y(.)-38 2346 y(.)-38 2359 y(.)-38 2372 y(.)-38 2385 y(.)-38 +2398 y(.)-38 2411 y(.)-38 2424 y(.)-38 2436 y(.)-38 2449 +y(.)-38 2462 y(.)-38 2475 y(.)-38 2488 y(.)-38 2501 y(.)-38 +2514 y(.)-38 2527 y(.)-38 2540 y(.)-38 2553 y(.)-38 2566 +y(.)-38 2579 y(.)-38 2592 y(.)-38 2605 y(.)-38 2618 y(.)-38 +2631 y(.)-38 2644 y(.)-38 2657 y(.)-38 2670 y(.)-38 2683 +y(.)-38 2696 y(.)-38 2709 y(.)-38 2722 y(.)-38 2735 y(.)-38 +2748 y(.)-38 2761 y(.)-38 2774 y(.)-38 2787 y(.)-38 2800 +y(.)-38 2813 y(.)-38 2826 y(.)-38 2839 y(.)-38 2852 y(.)-38 +2865 y(.)-38 2878 y(.)-38 2890 y(.)-38 2903 y(.)-38 2916 +y(.)-38 2929 y(.)-38 2942 y(.)-38 2955 y(.)-38 2968 y(.)-38 +2981 y(.)-38 2994 y(.)-38 3007 y(.)-38 3020 y(.)-38 3033 +y(.)-38 3046 y(.)-38 3059 y(.)-38 3072 y(.)-38 3085 y(.)-38 +3098 y(.)-38 3111 y(.)-38 3124 y(.)-38 3137 y(.)-38 3150 +y(.)-38 3163 y(.)-38 3176 y(.)-38 3189 y(.)-38 3202 y(.)-38 +3215 y(.)-38 3228 y(.)0 720 y Fw(When)d Fs(*print-escape*)e +Fw(is)i Fs(nil)p Fw(,)f(a)h(c)o(haracter)i(prin)o(ts)e(as)g(itself;)h +(it)e(is)h(sen)o(t)h(directly)g(to)0 772 y(the)g(output)f(stream.)17 +b(When)11 b Fs(*print-escape*)d Fw(is)j(not)g Fs(nil)p +Fw(,)g(then)h Fs(#)1079 768 y(-)1079 776 y(-)1100 772 +y(\\)f Fw(syn)o(tax)g(is)g(used.)0 824 y(F)m(or)h(example,)e(the)j +(prin)o(ted)f(represen)o(tation)h(of)f(the)g(c)o(haracter)h +Fs(#)1020 820 y(-)1020 828 y(-)1042 824 y(\\A)f Fw(with)f(con)o(trol)h +(and)0 876 y(meta)h(bits)h(on)g(w)o(ould)f(b)q(e)i Fs(#)421 +872 y(-)421 880 y(-)443 876 y(\\CONTROL-META-A)p Fw(,)10 +b(and)k(that)g(of)g Fs(#)1014 872 y(-)1014 880 y(-)1036 +876 y(\\a)f Fw(with)h(con)o(trol)g(and)0 927 y(meta)f(bits)h(on)f(w)o +(ould)g(b)q(e)i Fs(#)420 923 y(-)420 931 y(-)442 927 +y(\\CONTROL-META-\\a)o Fw(.)-33 939 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 979 a(X3J13)e(v)o(oted)h(in)f(June)i(1989)e +Ft(h)p Fw(40)p Ft(i)g Fw(to)h(sp)q(ecify)g(that)g(if)f +Fs(*print-readably*)d Fw(is)k(not)-33 951 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1031 a Fs(nil)e Fw(then)i(ev)o(ery)g(ob)r(ject)g(m)o +(ust)e(b)q(e)h(prin)o(ted)h(in)e(a)h(readable)g(form,)e(regardless)k +(of)d(other)0 1083 y(prin)o(ter)k(con)o(trol)g(v)n(ariables.)22 +b(F)m(or)16 b(c)o(haracters,)h(the)f(simplest)f(approac)o(h)h(is)f(alw) +o(a)o(ys)g(to)0 1135 y(use)g Fs(#)72 1131 y(-)72 1139 +y(-)94 1135 y(\\)f Fw(syn)o(tax)g(when)h Fs(*print-readably*)c +Fw(is)j(not)g Fs(nil)p Fw(,)f(regardless)i(of)f(the)h(v)n(alue)e(of)0 +1187 y Fs(*print-escape*)p Fw(.)-33 1199 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1280 a Fv(Symb)n(ols)-38 1269 y Fk(.)-38 +1282 y(.)-38 1295 y(.)-38 1308 y(.)-38 1321 y(.)-38 1334 +y(.)-38 1347 y(.)-38 1360 y(.)-38 1373 y(.)-38 1386 y(.)-38 +1399 y(.)-38 1412 y(.)-38 1425 y(.)-38 1438 y(.)-38 1451 +y(.)-38 1464 y(.)-38 1477 y(.)-38 1490 y(.)-38 1503 y(.)-38 +1516 y(.)-38 1529 y(.)-38 1542 y(.)-38 1555 y(.)-38 1568 +y(.)-38 1581 y(.)-38 1594 y(.)-38 1607 y(.)-38 1620 y(.)-38 +1633 y(.)-38 1646 y(.)-38 1658 y(.)-38 1671 y(.)-38 1684 +y(.)-38 1697 y(.)-38 1710 y(.)-38 1723 y(.)-38 1736 y(.)-38 +1749 y(.)-38 1762 y(.)-38 1775 y(.)-38 1788 y(.)-38 1801 +y(.)-38 1814 y(.)-38 1827 y(.)-38 1840 y(.)-38 1853 y(.)-38 +1866 y(.)-38 1879 y(.)-38 1892 y(.)-38 1905 y(.)-38 1918 +y(.)-38 1931 y(.)-38 1944 y(.)-38 1957 y(.)-38 1970 y(.)-38 +1983 y(.)-38 1996 y(.)-38 2009 y(.)-38 2022 y(.)-38 2035 +y(.)-38 2048 y(.)-38 2061 y(.)-38 2074 y(.)-38 2087 y(.)-38 +2100 y(.)-38 2113 y(.)-38 2125 y(.)-38 2138 y(.)-38 2151 +y(.)-38 2164 y(.)-38 2177 y(.)-38 2190 y(.)-38 2203 y(.)-38 +2216 y(.)-38 2229 y(.)-38 2242 y(.)-38 2255 y(.)-38 2268 +y(.)-38 2281 y(.)-38 2294 y(.)-38 2307 y(.)-38 2320 y(.)-38 +2333 y(.)-38 2346 y(.)-38 2359 y(.)-38 2372 y(.)-38 2385 +y(.)-38 2398 y(.)-38 2411 y(.)-38 2424 y(.)-38 2437 y(.)-38 +2450 y(.)-38 2463 y(.)-38 2476 y(.)-38 2489 y(.)-38 2502 +y(.)-38 2515 y(.)-38 2528 y(.)-38 2541 y(.)-38 2554 y(.)-38 +2567 y(.)-38 2580 y(.)-38 2592 y(.)-38 2605 y(.)-38 2618 +y(.)-38 2631 y(.)-38 2644 y(.)-38 2657 y(.)-38 2670 y(.)-38 +2683 y(.)-38 2696 y(.)-38 2709 y(.)-38 2722 y(.)-38 2735 +y(.)-38 2748 y(.)-38 2761 y(.)-38 2774 y(.)-38 2787 y(.)-38 +2800 y(.)-38 2813 y(.)-38 2826 y(.)-38 2839 y(.)-38 2852 +y(.)-38 2865 y(.)-38 2878 y(.)-38 2891 y(.)-38 2904 y(.)-38 +2917 y(.)-38 2930 y(.)-38 2943 y(.)-38 2956 y(.)-38 2969 +y(.)-38 2982 y(.)-38 2995 y(.)-38 3008 y(.)-38 3021 y(.)-38 +3034 y(.)-38 3047 y(.)-38 3059 y(.)-38 3072 y(.)-38 3085 +y(.)-38 3098 y(.)-38 3111 y(.)-38 3124 y(.)-38 3137 y(.)-38 +3150 y(.)-38 3163 y(.)-38 3176 y(.)-38 3189 y(.)-38 3202 +y(.)-38 3215 y(.)-38 3228 y(.)-38 3241 y(.)-38 3254 y(.)-38 +3267 y(.)-38 3280 y(.)-38 3293 y(.)-38 3306 y(.)-38 3319 +y(.)-38 3332 y(.)-38 3345 y(.)-38 3358 y(.)-38 3371 y(.)-38 +3384 y(.)-38 3397 y(.)-38 3410 y(.)-38 3423 y(.)-38 3436 +y(.)-38 3449 y(.)-38 3462 y(.)-38 3475 y(.)-38 3488 y(.)-38 +3501 y(.)-38 3514 y(.)-38 3526 y(.)-38 3539 y(.)-38 3552 +y(.)-38 3565 y(.)-38 3578 y(.)-38 3591 y(.)-38 3604 y(.)-38 +3617 y(.)-38 3630 y(.)-38 3643 y(.)-38 3656 y(.)-38 3669 +y(.)-38 3682 y(.)-38 3695 y(.)-38 3708 y(.)-38 3721 y(.)-38 +3734 y(.)-38 3747 y(.)-38 3760 y(.)-38 3773 y(.)-38 3786 +y(.)-38 3799 y(.)-38 3812 y(.)-38 3825 y(.)-38 3838 y(.)-38 +3851 y(.)0 1343 y Fw(When)j Fs(*print-escape*)d Fw(is)j +Fs(nil)p Fw(,)f(only)g(the)i(c)o(haracters)g(of)f(the)g(prin)o(t)g +(name)f(of)g(the)0 1395 y(sym)o(b)q(ol)f(are)i(output)f(\(but)h(the)g +(case)h(in)e(whic)o(h)h(to)f(prin)o(t)g(an)o(y)g(upp)q(ercase)j(c)o +(haracters)0 1447 y(in)13 b(the)i(prin)o(t)f(name)e(is)i(con)o(trolled) +g(b)o(y)f(the)i(v)n(ariable)e Fs(*print-case*)p Fw(\).)-33 +1458 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1499 a(X3J13)i(v)o(oted)g(in)g(June)i(1989)d +Ft(h)p Fw(150)p Ft(i)h Fw(to)h(sp)q(ecify)g(that)g(the)g(new)g +Fs(readtable-case)-33 1470 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1550 a Fw(slot)f(of)g(the)g(curren)o(t)i(readtable)f +(also)e(con)o(trols)i(the)g(case)g(in)f(whic)o(h)g(letters)h(\(whether) +0 1602 y(upp)q(ercase)g(or)d(lo)o(w)o(ercase\))i(in)e(the)i(prin)o(t)e +(name)g(of)g(a)g(sym)o(b)q(ol)f(are)i(output,)g(no)f(matter)0 +1654 y(what)h(the)g(v)n(alue)g(of)f Fs(*print-escape*)p +Fw(.)-33 1666 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1706 a(The)g(remaining)e(paragraphs)i(describing)g(the) +h(prin)o(ting)e(of)g(sym)o(b)q(ols)g(co)o(v)o(er)h(the)h(sit-)-38 +1681 y Fk(.)-38 1694 y(.)-38 1707 y(.)-38 1720 y(.)-38 +1733 y(.)-38 1746 y(.)-38 1759 y(.)-38 1772 y(.)-38 1785 +y(.)-38 1798 y(.)-38 1811 y(.)-38 1824 y(.)-38 1837 y(.)-38 +1850 y(.)-38 1863 y(.)-38 1876 y(.)-38 1889 y(.)-38 1902 +y(.)-38 1915 y(.)-38 1928 y(.)-38 1941 y(.)-38 1953 y(.)-38 +1966 y(.)-38 1979 y(.)-38 1992 y(.)-38 2005 y(.)-38 2018 +y(.)-38 2031 y(.)-38 2044 y(.)-38 2057 y(.)-38 2070 y(.)-38 +2083 y(.)-38 2096 y(.)-38 2109 y(.)-38 2122 y(.)-38 2135 +y(.)-38 2148 y(.)-38 2161 y(.)-38 2174 y(.)-38 2187 y(.)-38 +2200 y(.)-38 2213 y(.)-38 2226 y(.)-38 2239 y(.)-38 2252 +y(.)-38 2265 y(.)-38 2278 y(.)-38 2291 y(.)-38 2304 y(.)-38 +2317 y(.)-38 2330 y(.)-38 2343 y(.)-38 2356 y(.)-38 2369 +y(.)-38 2382 y(.)-38 2395 y(.)-38 2408 y(.)-38 2420 y(.)-38 +2433 y(.)-38 2446 y(.)-38 2459 y(.)-38 2472 y(.)-38 2485 +y(.)-38 2498 y(.)-38 2511 y(.)-38 2524 y(.)-38 2537 y(.)-38 +2550 y(.)-38 2563 y(.)-38 2576 y(.)-38 2589 y(.)-38 2602 +y(.)-38 2615 y(.)-38 2628 y(.)-38 2641 y(.)-38 2654 y(.)-38 +2667 y(.)-38 2680 y(.)-38 2693 y(.)-38 2706 y(.)-38 2719 +y(.)-38 2732 y(.)-38 2745 y(.)-38 2758 y(.)-38 2771 y(.)-38 +2784 y(.)-38 2797 y(.)-38 2810 y(.)-38 2823 y(.)-38 2836 +y(.)-38 2849 y(.)-38 2862 y(.)-38 2875 y(.)-38 2887 y(.)-38 +2900 y(.)-38 2913 y(.)-38 2926 y(.)-38 2939 y(.)-38 2952 +y(.)-38 2965 y(.)-38 2978 y(.)-38 2991 y(.)-38 3004 y(.)-38 +3017 y(.)-38 3030 y(.)-38 3043 y(.)-38 3056 y(.)-38 3069 +y(.)-38 3082 y(.)-38 3095 y(.)-38 3108 y(.)-38 3121 y(.)-38 +3134 y(.)-38 3147 y(.)-38 3160 y(.)-38 3173 y(.)-38 3186 +y(.)-38 3199 y(.)-38 3212 y(.)-38 3225 y(.)-38 3238 y(.)-38 +3251 y(.)-38 3264 y(.)-38 3277 y(.)-38 3290 y(.)-38 3303 +y(.)-38 3316 y(.)-38 3329 y(.)-38 3342 y(.)-38 3354 y(.)-38 +3367 y(.)-38 3380 y(.)-38 3393 y(.)-38 3406 y(.)-38 3419 +y(.)-38 3432 y(.)-38 3445 y(.)-38 3458 y(.)-38 3471 y(.)-38 +3484 y(.)-38 3497 y(.)-38 3510 y(.)-38 3523 y(.)-38 3536 +y(.)-38 3549 y(.)-38 3562 y(.)-38 3575 y(.)-38 3588 y(.)-38 +3601 y(.)-38 3614 y(.)-38 3627 y(.)-38 3640 y(.)-38 3653 +y(.)-38 3666 y(.)-38 3679 y(.)-38 3692 y(.)-38 3705 y(.)-38 +3718 y(.)-38 3731 y(.)-38 3744 y(.)-38 3757 y(.)-38 3770 +y(.)-38 3783 y(.)-38 3796 y(.)-38 3809 y(.)-38 3821 y(.)-38 +3834 y(.)-38 3847 y(.)-38 3860 y(.)-38 3873 y(.)-38 3886 +y(.)-38 3899 y(.)-38 3912 y(.)-38 3925 y(.)-38 3938 y(.)-38 +3951 y(.)-38 3964 y(.)-38 3977 y(.)-38 3990 y(.)-38 4003 +y(.)-38 4016 y(.)-38 4029 y(.)-38 4042 y(.)-38 4055 y(.)-38 +4068 y(.)-38 4081 y(.)-38 4094 y(.)-38 4107 y(.)-38 4120 +y(.)-38 4133 y(.)-38 4146 y(.)-38 4159 y(.)-38 4172 y(.)-38 +4185 y(.)-38 4198 y(.)-38 4211 y(.)-38 4224 y(.)-38 4237 +y(.)-38 4250 y(.)-38 4263 y(.)0 1758 y Fw(uation)f(when)i +Fs(*print-escape*)10 b Fw(is)k(not)g Fs(nil)p Fw(.)-33 +1770 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1810 a(X3J13)20 b(v)o(oted)g(in)g(June)i(1989)d +Ft(h)p Fw(40)p Ft(i)h Fw(to)h(sp)q(ecify)g(that)f(if)g +Fs(*print-readably*)d Fw(is)-33 1782 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1862 a(not)f Fs(nil)f Fw(then)h(ev)o(ery)g(ob)r(ject)h +(m)o(ust)e(b)q(e)h(prin)o(ted)g(in)f(a)h(readable)g(form,)d(regardless) +k(of)0 1914 y(other)c(prin)o(ter)g(con)o(trol)f(v)n(ariables.)k(F)m(or) +c(sym)o(b)q(ols,)f(the)h(simplest)g(approac)o(h)g(is)g(to)g(prin)o(t)0 +1966 y(them,)17 b(when)h Fs(*print-readably*)c Fw(is)j(not)g +Fs(nil)p Fw(,)g(as)h(if)e Fs(*print-escape*)f Fw(w)o(ere)j(not)0 +2017 y Fs(nil)p Fw(,)13 b(regardless)i(of)e(the)i(actual)e(v)n(alue)g +(of)h Fs(*print-escape*)p Fw(.)-33 2029 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2069 a(Bac)o(kslashes)j Fs(\\)f Fw(and)g(v)o(ertical)g +(bars)h Fs(|)f Fw(are)g(included)h(as)f(required.)26 +b(In)16 b(particular,)0 2121 y(bac)o(kslash)f(or)f(v)o(ertical-bar)h +(syn)o(tax)f(is)h(used)g(when)h(the)f(name)e(of)h(the)i(sym)o(b)q(ol)d +(w)o(ould)0 2173 y(b)q(e)g(otherwise)h(treated)g(b)o(y)f(the)g(reader)h +(as)f(a)f(p)q(oten)o(tial)g(n)o(um)o(b)q(er)g(\(see)j(section)e +(22.1.2\).)0 2225 y(In)i(making)d(this)i(decision,)h(it)f(is)g(assumed) +g(that)h(the)g(v)n(alue)f(of)g Fs(*print-base*)e Fw(b)q(eing)0 +2277 y(used)h(for)e(prin)o(ting)g(w)o(ould)g(b)q(e)h(used)h(as)f(the)g +(v)n(alue)f(of)g Fs(*read-base*)e Fw(used)k(for)e(reading;)0 +2329 y(the)i(v)n(alue)e(of)g Fs(*read-base*)f Fw(at)i(the)h(time)d(of)i +(prin)o(ting)f(is)h(irrelev)n(an)o(t.)17 b(F)m(or)12 +b(example,)f(if)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 596 620 +596 619 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(596)77 b(COMMON)13 +b(LISP)0 295 y Fw(the)h(v)n(alue)g(of)f Fs(*print-base*)e +Fw(w)o(ere)k Fs(16)e Fw(when)h(prin)o(ting)f(the)i(sym)o(b)q(ol)d +Fs(face)p Fw(,)g(it)i(w)o(ould)0 347 y(ha)o(v)o(e)c(to)g(b)q(e)g(prin)o +(ted)h(as)f Fs(\\FACE)f Fw(or)h Fs(\\Face)f Fw(or)h Fs(|FACE|)p +Fw(,)f(b)q(ecause)j(the)e(tok)o(en)g Fs(face)g Fw(w)o(ould)0 +399 y(b)q(e)k(read)f(as)g(a)g(hexadecimal)e(n)o(um)o(b)q(er)h +(\(decimal)g(v)n(alue)g(64206\))g(if)g Fs(*read-base*)f +Fw(w)o(ere)0 450 y Fs(16)p Fw(.)42 502 y(The)16 b(case)h(in)f(whic)o(h) +g(to)g(prin)o(t)g(an)o(y)f(upp)q(ercase)k(c)o(haracters)f(in)d(the)i +(prin)o(t)f(name)f(is)-38 477 y Fk(.)-38 490 y(.)-38 +503 y(.)-38 516 y(.)-38 529 y(.)-38 542 y(.)-38 555 y(.)-38 +568 y(.)-38 581 y(.)-38 594 y(.)-38 607 y(.)-38 620 y(.)-38 +633 y(.)-38 646 y(.)-38 659 y(.)-38 672 y(.)-38 685 y(.)-38 +698 y(.)-38 711 y(.)-38 724 y(.)-38 737 y(.)-38 750 y(.)-38 +763 y(.)-38 776 y(.)-38 789 y(.)-38 802 y(.)-38 815 y(.)-38 +828 y(.)-38 840 y(.)-38 853 y(.)-38 866 y(.)-38 879 y(.)-38 +892 y(.)-38 905 y(.)-38 918 y(.)-38 931 y(.)-38 944 y(.)-38 +957 y(.)-38 970 y(.)-38 983 y(.)-38 996 y(.)-38 1009 +y(.)-38 1022 y(.)-38 1035 y(.)-38 1048 y(.)-38 1061 y(.)-38 +1074 y(.)-38 1087 y(.)-38 1100 y(.)-38 1113 y(.)-38 1126 +y(.)-38 1139 y(.)-38 1152 y(.)-38 1165 y(.)-38 1178 y(.)-38 +1191 y(.)-38 1204 y(.)-38 1217 y(.)-38 1230 y(.)-38 1243 +y(.)-38 1256 y(.)-38 1269 y(.)-38 1282 y(.)-38 1295 y(.)-38 +1307 y(.)-38 1320 y(.)-38 1333 y(.)-38 1346 y(.)-38 1359 +y(.)-38 1372 y(.)-38 1385 y(.)-38 1398 y(.)-38 1411 y(.)-38 +1424 y(.)-38 1437 y(.)-38 1450 y(.)-38 1463 y(.)-38 1476 +y(.)-38 1489 y(.)-38 1502 y(.)-38 1515 y(.)-38 1528 y(.)-38 +1541 y(.)-38 1554 y(.)-38 1567 y(.)-38 1580 y(.)-38 1593 +y(.)-38 1606 y(.)-38 1619 y(.)-38 1632 y(.)-38 1645 y(.)-38 +1658 y(.)-38 1671 y(.)-38 1684 y(.)-38 1697 y(.)-38 1710 +y(.)-38 1723 y(.)-38 1736 y(.)-38 1749 y(.)-38 1762 y(.)-38 +1774 y(.)-38 1787 y(.)-38 1800 y(.)-38 1813 y(.)-38 1826 +y(.)-38 1839 y(.)-38 1852 y(.)-38 1865 y(.)-38 1878 y(.)-38 +1891 y(.)-38 1904 y(.)-38 1917 y(.)-38 1930 y(.)-38 1943 +y(.)-38 1956 y(.)-38 1969 y(.)-38 1982 y(.)-38 1995 y(.)-38 +2008 y(.)-38 2021 y(.)-38 2034 y(.)-38 2047 y(.)-38 2060 +y(.)-38 2073 y(.)-38 2086 y(.)-38 2099 y(.)-38 2112 y(.)-38 +2125 y(.)-38 2138 y(.)-38 2151 y(.)-38 2164 y(.)-38 2177 +y(.)-38 2190 y(.)-38 2203 y(.)-38 2216 y(.)-38 2229 y(.)-38 +2241 y(.)-38 2254 y(.)-38 2267 y(.)-38 2280 y(.)-38 2293 +y(.)-38 2306 y(.)-38 2319 y(.)-38 2332 y(.)-38 2345 y(.)-38 +2358 y(.)-38 2371 y(.)-38 2384 y(.)-38 2397 y(.)-38 2410 +y(.)-38 2423 y(.)-38 2436 y(.)-38 2449 y(.)-38 2462 y(.)-38 +2475 y(.)-38 2488 y(.)-38 2501 y(.)-38 2514 y(.)-38 2527 +y(.)-38 2540 y(.)-38 2553 y(.)-38 2566 y(.)-38 2579 y(.)-38 +2592 y(.)-38 2605 y(.)-38 2618 y(.)-38 2631 y(.)-38 2644 +y(.)-38 2657 y(.)-38 2670 y(.)-38 2683 y(.)-38 2696 y(.)-38 +2708 y(.)-38 2721 y(.)-38 2734 y(.)-38 2747 y(.)-38 2760 +y(.)-38 2773 y(.)-38 2786 y(.)-38 2799 y(.)-38 2812 y(.)-38 +2825 y(.)-38 2838 y(.)-38 2851 y(.)-38 2864 y(.)-38 2877 +y(.)-38 2890 y(.)-38 2903 y(.)-38 2916 y(.)-38 2929 y(.)-38 +2942 y(.)-38 2955 y(.)-38 2968 y(.)-38 2981 y(.)-38 2994 +y(.)-38 3007 y(.)-38 3020 y(.)-38 3033 y(.)-38 3046 y(.)-38 +3059 y(.)0 554 y Fw(con)o(trolled)f(b)o(y)f(the)i(v)n(ariable)e +Fs(*print-case*)p Fw(.)-33 566 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 606 a(X3J13)f(v)o(oted)i(in)e(June)i(1989)e +Ft(h)p Fw(141)p Ft(i)h Fw(to)g(clarify)f(the)i(in)o(teraction)f(of)f +Fs(*print-case*)-33 578 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 658 a Fw(with)i Fs(*print-escape*)p Fw(;)c(see)15 +b Fs(*print-case*)p Fw(.)-33 670 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 710 a(As)h(a)f(sp)q(ecial)h(case)h([no)e(pun)h(in)o +(tended],)f Fs(nil)g Fw(ma)o(y)f(sometimes)g(b)q(e)i(prin)o(ted)g(as)g +Fs(\(\))0 762 y Fw(instead,)e(when)g Fs(*print-escape*)d +Fw(and)j Fs(*print-pretty*)d Fw(are)j(b)q(oth)g(not)g +Fs(nil)p Fw(.)42 814 y(P)o(ac)o(k)n(age)c(pre\014xes)i(ma)o(y)c(b)q(e)j +(prin)o(ted)g(\(using)f(colon)g(syn)o(tax\))h(if)f(necessary)m(.)18 +b(The)11 b(rules)0 866 y(for)16 b(pac)o(k)n(age)g(quali\014ers)g(are)h +(as)f(follo)o(ws.)24 b(When)16 b(the)h(sym)o(b)q(ol)e(is)h(prin)o(ted,) +h(if)e(it)h(is)g(in)0 917 y(the)g(k)o(eyw)o(ord)f(pac)o(k)n(age,)f +(then)i(it)e(is)h(prin)o(ted)h(with)e(a)h(preceding)h(colon;)f +(otherwise,)h(if)0 969 y(it)d(is)h(accessible)h(in)f(the)g(curren)o(t)i +(pac)o(k)n(age,)d(it)g(is)h(prin)o(ted)g(without)f(an)o(y)h +(quali\014cation;)0 1021 y(otherwise,)g(it)g(is)g(prin)o(ted)g(with)f +(quali\014cation.)k(See)e(c)o(hapter)g(11.)42 1073 y(A)e(sym)o(b)q(ol)e +(that)j(is)f(unin)o(terned)h(\(has)g(no)f(home)f(pac)o(k)n(age\))h(is)h +(prin)o(ted)f(preceded)j(b)o(y)-38 1048 y Fk(.)-38 1061 +y(.)-38 1074 y(.)-38 1087 y(.)-38 1100 y(.)-38 1113 y(.)-38 +1126 y(.)-38 1139 y(.)-38 1152 y(.)-38 1165 y(.)-38 1178 +y(.)-38 1191 y(.)-38 1204 y(.)-38 1217 y(.)-38 1230 y(.)-38 +1243 y(.)-38 1256 y(.)-38 1269 y(.)-38 1282 y(.)-38 1295 +y(.)-38 1307 y(.)-38 1320 y(.)-38 1333 y(.)-38 1346 y(.)-38 +1359 y(.)-38 1372 y(.)-38 1385 y(.)-38 1398 y(.)-38 1411 +y(.)-38 1424 y(.)-38 1437 y(.)-38 1450 y(.)-38 1463 y(.)-38 +1476 y(.)-38 1489 y(.)-38 1502 y(.)-38 1515 y(.)-38 1528 +y(.)-38 1541 y(.)-38 1554 y(.)-38 1567 y(.)-38 1580 y(.)-38 +1593 y(.)-38 1606 y(.)-38 1619 y(.)-38 1632 y(.)-38 1645 +y(.)-38 1658 y(.)-38 1671 y(.)-38 1684 y(.)-38 1697 y(.)-38 +1710 y(.)-38 1723 y(.)-38 1736 y(.)-38 1749 y(.)-38 1762 +y(.)-38 1774 y(.)-38 1787 y(.)-38 1800 y(.)-38 1813 y(.)-38 +1826 y(.)-38 1839 y(.)-38 1852 y(.)-38 1865 y(.)-38 1878 +y(.)-38 1891 y(.)-38 1904 y(.)-38 1917 y(.)-38 1930 y(.)-38 +1943 y(.)-38 1956 y(.)-38 1969 y(.)-38 1982 y(.)-38 1995 +y(.)-38 2008 y(.)-38 2021 y(.)-38 2034 y(.)-38 2047 y(.)-38 +2060 y(.)-38 2073 y(.)-38 2086 y(.)-38 2099 y(.)-38 2112 +y(.)-38 2125 y(.)-38 2138 y(.)-38 2151 y(.)-38 2164 y(.)-38 +2177 y(.)-38 2190 y(.)-38 2203 y(.)-38 2216 y(.)-38 2229 +y(.)-38 2241 y(.)-38 2254 y(.)-38 2267 y(.)-38 2280 y(.)-38 +2293 y(.)-38 2306 y(.)-38 2319 y(.)-38 2332 y(.)-38 2345 +y(.)-38 2358 y(.)-38 2371 y(.)-38 2384 y(.)-38 2397 y(.)-38 +2410 y(.)-38 2423 y(.)-38 2436 y(.)-38 2449 y(.)-38 2462 +y(.)-38 2475 y(.)-38 2488 y(.)-38 2501 y(.)-38 2514 y(.)-38 +2527 y(.)-38 2540 y(.)-38 2553 y(.)-38 2566 y(.)-38 2579 +y(.)-38 2592 y(.)-38 2605 y(.)-38 2618 y(.)-38 2631 y(.)-38 +2644 y(.)-38 2657 y(.)-38 2670 y(.)-38 2683 y(.)-38 2696 +y(.)-38 2708 y(.)-38 2721 y(.)-38 2734 y(.)-38 2747 y(.)-38 +2760 y(.)-38 2773 y(.)-38 2786 y(.)-38 2799 y(.)-38 2812 +y(.)-38 2825 y(.)-38 2838 y(.)-38 2851 y(.)-38 2864 y(.)-38 +2877 y(.)-38 2890 y(.)-38 2903 y(.)-38 2916 y(.)-38 2929 +y(.)-38 2942 y(.)-38 2955 y(.)-38 2968 y(.)-38 2981 y(.)-38 +2994 y(.)-38 3007 y(.)-38 3020 y(.)-38 3033 y(.)-38 3046 +y(.)-38 3059 y(.)-38 3072 y(.)-38 3085 y(.)-38 3098 y(.)-38 +3111 y(.)-38 3124 y(.)-38 3137 y(.)-38 3150 y(.)-38 3163 +y(.)-38 3175 y(.)-38 3188 y(.)-38 3201 y(.)-38 3214 y(.)-38 +3227 y(.)-38 3240 y(.)-38 3253 y(.)-38 3266 y(.)-38 3279 +y(.)-38 3292 y(.)-38 3305 y(.)-38 3318 y(.)-38 3331 y(.)-38 +3344 y(.)-38 3357 y(.)-38 3370 y(.)-38 3383 y(.)-38 3396 +y(.)-38 3409 y(.)-38 3422 y(.)-38 3435 y(.)-38 3448 y(.)-38 +3461 y(.)-38 3474 y(.)-38 3487 y(.)-38 3500 y(.)-38 3513 +y(.)-38 3526 y(.)-38 3539 y(.)-38 3552 y(.)-38 3565 y(.)-38 +3578 y(.)-38 3591 y(.)-38 3604 y(.)-38 3617 y(.)-38 3630 +y(.)0 1125 y Fs(#)0 1121 y(-)0 1129 y(-)22 1125 y(:)f +Fw(if)f(the)i(v)n(ariables)f Fs(*print-gensym*)d Fw(and)j +Fs(*print-escape*)d Fw(are)k(b)q(oth)f(non-)p Fs(nil)p +Fw(;)0 1177 y(if)g(either)i(is)f Fs(nil)p Fw(,)f(then)i(the)f(sym)o(b)q +(ol)e(is)i(prin)o(ted)h(without)e(a)h(pre\014x,)h(as)f(if)f(it)g(w)o +(ere)i(in)0 1229 y(the)d(curren)o(t)i(pac)o(k)n(age.)-33 +1240 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1281 a(X3J13)d(v)o(oted)h(in)f(June)i(1989)e +Ft(h)p Fw(40)p Ft(i)g Fw(to)h(sp)q(ecify)g(that)g(if)f +Fs(*print-readably*)d Fw(is)k(not)-33 1252 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1333 a Fs(nil)e Fw(then)i(ev)o(ery)g(ob)r(ject)g(m)o +(ust)e(b)q(e)h(prin)o(ted)h(in)e(a)h(readable)g(form,)e(regardless)k +(of)d(other)0 1384 y(prin)o(ter)h(con)o(trol)f(v)n(ariables.)17 +b(F)m(or)11 b(unin)o(terned)j(sym)o(b)q(ols,)c(the)j(simplest)f +(approac)o(h)g(is)g(to)0 1436 y(prin)o(t)k(them,)f(when)i +Fs(*print-readably*)12 b Fw(is)k(not)g Fs(nil)p Fw(,)g(as)g(if)f +Fs(*print-escape*)e Fw(and)0 1488 y Fs(*print-gensym*)e +Fw(w)o(ere)k(not)f Fs(nil)p Fw(,)e(regardless)j(of)f(their)g(actual)g +(v)n(alues.)-33 1500 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1548 V 0 1608 a Fm(Implemen)o(tation)e(note:)18 +b FA(Because)13 b(the)g Fj(#)646 1605 y(-)646 1611 y(-)666 +1608 y(:)f FA(syn)o(tax)i(do)q(es)f(not)g(in)o(tern)h(the)f(follo)o +(wing)i(sym-)0 1654 y(b)q(ol,)f(it)g(is)g(necessary)g(to)f(use)h +(circular-list)i(syn)o(tax)e(if)g Fj(*print-ci)o(rc)o(le*)9 +b FA(is)14 b(not)g Fj(nil)e FA(and)h(the)0 1699 y(same)h(unin)o(terned) +j(sym)o(b)q(ol)e(app)q(ears)h(sev)o(eral)f(times)g(in)g(an)f +(expression)i(to)e(b)q(e)h(prin)o(ted.)22 b(F)m(or)0 +1745 y(example,)14 b(the)f(result)h(of)0 1837 y Fj(\(let)j(\(\(x)h +(\(make-sym)o(bo)o(l)e("FOO"\)\)\))f(\(list)i(x)h(x\)\))0 +1929 y FA(w)o(ould)c(b)q(e)f(prin)o(ted)i(as)0 2020 y +Fj(\(#)20 2017 y(-)20 2023 y(-)39 2020 y(:foo)i(#)136 +2017 y(-)136 2023 y(-)156 2020 y(:foo\))0 2112 y FA(if)c +Fj(*print-cir)o(cle)o(*)d FA(w)o(ere)i Fj(nil)p FA(,)g(but)h(as)0 +2204 y Fj(\(#)20 2201 y(-)20 2207 y(-)39 2204 y(1)59 +2201 y(U)59 2207 y(U)78 2204 y(#)78 2201 y(-)78 2207 +y(-)98 2204 y(:foo)k(#)195 2201 y(-)195 2207 y(-)215 +2204 y(1#)235 2201 y(-)235 2207 y(-)254 2204 y(\))0 2296 +y FA(if)c Fj(*print-cir)o(cle)o(*)d FA(w)o(ere)i(not)h +Fj(nil)p FA(.)p 0 2329 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 597 621 +597 620 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(INPUT/OUTPUT)1046 b(597)42 295 y Fw(The)16 b(case)h(in)f(whic) +o(h)g(sym)o(b)q(ols)e(are)j(to)f(b)q(e)g(prin)o(ted)h(is)f(con)o +(trolled)f(b)o(y)h(the)h(v)n(ariable)-38 270 y Fk(.)-38 +283 y(.)-38 296 y(.)-38 309 y(.)-38 322 y(.)-38 335 y(.)-38 +348 y(.)-38 361 y(.)-38 373 y(.)-38 386 y(.)-38 399 y(.)-38 +412 y(.)-38 425 y(.)-38 438 y(.)-38 451 y(.)-38 464 y(.)-38 +477 y(.)-38 490 y(.)-38 503 y(.)-38 516 y(.)-38 529 y(.)-38 +542 y(.)-38 555 y(.)-38 568 y(.)-38 581 y(.)-38 594 y(.)-38 +607 y(.)-38 620 y(.)-38 633 y(.)-38 646 y(.)-38 659 y(.)-38 +672 y(.)-38 685 y(.)-38 698 y(.)-38 711 y(.)-38 724 y(.)-38 +737 y(.)-38 750 y(.)-38 763 y(.)-38 776 y(.)-38 789 y(.)-38 +802 y(.)-38 815 y(.)-38 828 y(.)-38 840 y(.)-38 853 y(.)-38 +866 y(.)-38 879 y(.)-38 892 y(.)-38 905 y(.)-38 918 y(.)-38 +931 y(.)-38 944 y(.)-38 957 y(.)-38 970 y(.)-38 983 y(.)-38 +996 y(.)-38 1009 y(.)-38 1022 y(.)-38 1035 y(.)-38 1048 +y(.)-38 1061 y(.)-38 1074 y(.)-38 1087 y(.)-38 1100 y(.)-38 +1113 y(.)-38 1126 y(.)-38 1139 y(.)-38 1152 y(.)-38 1165 +y(.)-38 1178 y(.)-38 1191 y(.)-38 1204 y(.)-38 1217 y(.)-38 +1230 y(.)-38 1243 y(.)-38 1256 y(.)-38 1269 y(.)-38 1282 +y(.)-38 1295 y(.)-38 1307 y(.)-38 1320 y(.)-38 1333 y(.)-38 +1346 y(.)-38 1359 y(.)-38 1372 y(.)-38 1385 y(.)-38 1398 +y(.)-38 1411 y(.)-38 1424 y(.)-38 1437 y(.)-38 1450 y(.)-38 +1463 y(.)-38 1476 y(.)-38 1489 y(.)-38 1502 y(.)-38 1515 +y(.)-38 1528 y(.)-38 1541 y(.)-38 1554 y(.)-38 1567 y(.)-38 +1580 y(.)-38 1593 y(.)-38 1606 y(.)-38 1619 y(.)-38 1632 +y(.)-38 1645 y(.)-38 1658 y(.)-38 1671 y(.)-38 1684 y(.)-38 +1697 y(.)-38 1710 y(.)-38 1723 y(.)-38 1736 y(.)-38 1749 +y(.)-38 1762 y(.)-38 1774 y(.)-38 1787 y(.)-38 1800 y(.)-38 +1813 y(.)-38 1826 y(.)-38 1839 y(.)-38 1852 y(.)-38 1865 +y(.)-38 1878 y(.)-38 1891 y(.)-38 1904 y(.)-38 1917 y(.)-38 +1930 y(.)-38 1943 y(.)-38 1956 y(.)-38 1969 y(.)-38 1982 +y(.)-38 1995 y(.)-38 2008 y(.)-38 2021 y(.)-38 2034 y(.)-38 +2047 y(.)-38 2060 y(.)-38 2073 y(.)-38 2086 y(.)-38 2099 +y(.)-38 2112 y(.)-38 2125 y(.)-38 2138 y(.)-38 2151 y(.)-38 +2164 y(.)-38 2177 y(.)-38 2190 y(.)-38 2203 y(.)-38 2216 +y(.)-38 2229 y(.)-38 2241 y(.)-38 2254 y(.)-38 2267 y(.)-38 +2280 y(.)-38 2293 y(.)-38 2306 y(.)-38 2319 y(.)-38 2332 +y(.)-38 2345 y(.)-38 2358 y(.)-38 2371 y(.)-38 2384 y(.)-38 +2397 y(.)-38 2410 y(.)-38 2423 y(.)-38 2436 y(.)-38 2449 +y(.)-38 2462 y(.)-38 2475 y(.)-38 2488 y(.)-38 2501 y(.)-38 +2514 y(.)-38 2527 y(.)-38 2540 y(.)-38 2553 y(.)-38 2566 +y(.)-38 2579 y(.)-38 2592 y(.)-38 2605 y(.)-38 2618 y(.)-38 +2631 y(.)-38 2644 y(.)-38 2657 y(.)-38 2670 y(.)-38 2683 +y(.)-38 2696 y(.)-38 2708 y(.)-38 2721 y(.)-38 2734 y(.)-38 +2747 y(.)-38 2760 y(.)-38 2773 y(.)-38 2786 y(.)-38 2799 +y(.)-38 2812 y(.)-38 2825 y(.)-38 2838 y(.)-38 2851 y(.)0 +347 y Fs(*print-case*)p Fw(.)-33 358 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 399 a(It)g(is)f(also)h(con)o(trolled)f(b)o(y)h +Fs(*print-escape*)d Fw(and)j(the)h Fs(readtable-case)c +Fw(slot)i(of)-33 370 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 450 a(the)e(curren)o(t)i(readtable)e(\(the)h(v)n(alue)e +(of)g Fs(*readtable*)p Fw(\).)-33 462 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 552 a Fv(Strings)-38 542 y Fk(.)-38 555 +y(.)-38 568 y(.)-38 581 y(.)-38 594 y(.)-38 607 y(.)-38 +620 y(.)-38 633 y(.)-38 646 y(.)-38 659 y(.)-38 672 y(.)-38 +685 y(.)-38 697 y(.)-38 710 y(.)-38 723 y(.)-38 736 y(.)-38 +749 y(.)-38 762 y(.)-38 775 y(.)-38 788 y(.)-38 801 y(.)-38 +814 y(.)-38 827 y(.)-38 840 y(.)-38 853 y(.)-38 866 y(.)-38 +879 y(.)-38 892 y(.)-38 905 y(.)-38 918 y(.)-38 931 y(.)-38 +944 y(.)-38 957 y(.)-38 970 y(.)-38 983 y(.)-38 996 y(.)-38 +1009 y(.)-38 1022 y(.)-38 1035 y(.)-38 1048 y(.)-38 1061 +y(.)-38 1074 y(.)-38 1087 y(.)-38 1100 y(.)-38 1113 y(.)-38 +1126 y(.)-38 1139 y(.)-38 1152 y(.)-38 1164 y(.)-38 1177 +y(.)-38 1190 y(.)-38 1203 y(.)-38 1216 y(.)-38 1229 y(.)-38 +1242 y(.)-38 1255 y(.)-38 1268 y(.)-38 1281 y(.)-38 1294 +y(.)-38 1307 y(.)-38 1320 y(.)-38 1333 y(.)-38 1346 y(.)-38 +1359 y(.)-38 1372 y(.)-38 1385 y(.)-38 1398 y(.)-38 1411 +y(.)-38 1424 y(.)-38 1437 y(.)-38 1450 y(.)-38 1463 y(.)-38 +1476 y(.)-38 1489 y(.)-38 1502 y(.)-38 1515 y(.)-38 1528 +y(.)-38 1541 y(.)-38 1554 y(.)-38 1567 y(.)-38 1580 y(.)-38 +1593 y(.)-38 1606 y(.)-38 1619 y(.)-38 1631 y(.)-38 1644 +y(.)-38 1657 y(.)-38 1670 y(.)-38 1683 y(.)-38 1696 y(.)-38 +1709 y(.)-38 1722 y(.)-38 1735 y(.)-38 1748 y(.)-38 1761 +y(.)-38 1774 y(.)-38 1787 y(.)-38 1800 y(.)-38 1813 y(.)-38 +1826 y(.)-38 1839 y(.)-38 1852 y(.)-38 1865 y(.)-38 1878 +y(.)-38 1891 y(.)-38 1904 y(.)-38 1917 y(.)-38 1930 y(.)-38 +1943 y(.)-38 1956 y(.)-38 1969 y(.)-38 1982 y(.)-38 1995 +y(.)-38 2008 y(.)-38 2021 y(.)-38 2034 y(.)-38 2047 y(.)-38 +2060 y(.)-38 2073 y(.)-38 2086 y(.)-38 2098 y(.)-38 2111 +y(.)-38 2124 y(.)-38 2137 y(.)-38 2150 y(.)-38 2163 y(.)-38 +2176 y(.)-38 2189 y(.)-38 2202 y(.)-38 2215 y(.)-38 2228 +y(.)-38 2241 y(.)-38 2254 y(.)-38 2267 y(.)-38 2280 y(.)-38 +2293 y(.)-38 2306 y(.)-38 2319 y(.)-38 2332 y(.)-38 2345 +y(.)-38 2358 y(.)-38 2371 y(.)-38 2384 y(.)-38 2397 y(.)-38 +2410 y(.)-38 2423 y(.)-38 2436 y(.)-38 2449 y(.)-38 2462 +y(.)-38 2475 y(.)-38 2488 y(.)-38 2501 y(.)-38 2514 y(.)-38 +2527 y(.)-38 2540 y(.)-38 2553 y(.)-38 2565 y(.)-38 2578 +y(.)-38 2591 y(.)-38 2604 y(.)-38 2617 y(.)-38 2630 y(.)-38 +2643 y(.)-38 2656 y(.)-38 2669 y(.)-38 2682 y(.)-38 2695 +y(.)-38 2708 y(.)-38 2721 y(.)-38 2734 y(.)-38 2747 y(.)-38 +2760 y(.)-38 2773 y(.)-38 2786 y(.)-38 2799 y(.)-38 2812 +y(.)-38 2825 y(.)-38 2838 y(.)-38 2851 y(.)-38 2864 y(.)-38 +2877 y(.)-38 2890 y(.)-38 2903 y(.)-38 2916 y(.)-38 2929 +y(.)-38 2942 y(.)-38 2955 y(.)-38 2968 y(.)-38 2981 y(.)-38 +2994 y(.)-38 3007 y(.)-38 3020 y(.)-38 3032 y(.)-38 3045 +y(.)-38 3058 y(.)-38 3071 y(.)-38 3084 y(.)-38 3097 y(.)-38 +3110 y(.)-38 3123 y(.)0 615 y Fw(The)k(c)o(haracters)h(of)e(the)h +(string)f(are)h(output)f(in)g(order.)26 b(If)16 b Fs(*print-escape*)e +Fw(is)i(not)0 667 y Fs(nil)p Fw(,)i(a)g(double)g(quote)h(is)f(output)g +(b)q(efore)h(and)g(after,)g(and)f(all)f(double)h(quotes)h(and)0 +719 y(single)e(escap)q(e)i(c)o(haracters)f(are)g(preceded)h(b)o(y)e +(bac)o(kslash.)28 b(The)17 b(prin)o(ting)g(of)f(strings)0 +771 y(is)g(not)f(a\013ected)j(b)o(y)d Fs(*print-array*)p +Fw(.)21 b(If)16 b(the)g(string)g(has)g(a)f(\014ll)g(p)q(oin)o(ter,)h +(then)h(only)0 823 y(those)e(c)o(haracters)g(b)q(elo)o(w)f(the)g +(\014ll)f(p)q(oin)o(ter)h(are)h(prin)o(ted.)-33 835 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 875 a(X3J13)e(v)o(oted)h(in)f(June)i(1989)e +Ft(h)p Fw(40)p Ft(i)g Fw(to)h(sp)q(ecify)g(that)g(if)f +Fs(*print-readably*)d Fw(is)k(not)-33 846 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 927 a Fs(nil)e Fw(then)i(ev)o(ery)g(ob)r(ject)g(m)o(ust) +e(b)q(e)h(prin)o(ted)h(in)e(a)h(readable)g(form,)e(regardless)k(of)d +(other)0 979 y(prin)o(ter)i(con)o(trol)g(v)n(ariables.)j(F)m(or)c +(strings,)h(the)g(simplest)f(approac)o(h)g(is)h(to)f(prin)o(t)h(them,)0 +1031 y(when)21 b Fs(*print-readably)o(*)c Fw(is)j(not)g +Fs(nil)p Fw(,)h(as)f(if)f Fs(*print-escape*)e Fw(w)o(ere)k(not)f +Fs(nil)p Fw(,)0 1082 y(regardless)15 b(of)e(the)i(actual)e(v)n(alue)h +(of)f Fs(*print-escape*)p Fw(.)-33 1094 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1184 a Fv(Conses)0 1247 y Fw(Wherev)o(er)i(p)q(ossible,) +e(list)f(notation)h(is)g(preferred)i(o)o(v)o(er)e(dot)h(notation.)j +(Therefore)d(the)0 1299 y(follo)o(wing)d(algorithm)g(is)j(used:)0 +1368 y(1.)9 b(Prin)o(t)k(an)h(op)q(en)g(paren)o(thesis,)h +Fs(\()p Fw(.)0 1449 y(2.)9 b(Prin)o(t)k(the)i Fv(c)n(ar)e +Fw(of)h(the)g(cons.)0 1530 y(3.)9 b(If)k(the)i Fv(c)n(dr)e +Fw(is)h(a)f(cons,)h(mak)o(e)f(it)g(the)i(curren)o(t)g(cons,)f(prin)o(t) +g(a)f(space,)i(and)f(go)f(to)h(step)42 1582 y(2.)0 1664 +y(4.)9 b(If)k(the)i Fv(c)n(dr)e Fw(is)h(not)g(n)o(ull,)e(prin)o(t)i(a)f +(space,)i(a)e(dot,)h(a)f(space,)i(and)e(the)i Fv(c)n(dr)p +Fw(.)0 1745 y(5.)9 b(Prin)o(t)k(a)h(close)g(paren)o(thesis,)h +Fs(\))p Fw(.)42 1814 y(This)20 b(form)f(of)g(prin)o(ting)h(is)g +(clearer)i(than)e(sho)o(wing)g(eac)o(h)h(individual)d(cons)j(cell.)0 +1865 y(Although)11 b(the)h(t)o(w)o(o)g(expressions)h(b)q(elo)o(w)e(are) +i(equiv)n(alen)o(t,)d(and)i(the)g(reader)h(will)d(accept)0 +1917 y(either)k(one)g(and)f(pro)q(duce)h(the)g(same)f(data)g +(structure,)i(the)f(prin)o(ter)g(will)e(alw)o(a)o(ys)g(prin)o(t)0 +1969 y(suc)o(h)j(a)e(data)h(structure)i(in)d(the)i(second)g(form.)0 +2071 y Fs(\(a)21 b(.)g(\(b)f(.)h(\(\(c)g(.)g(\(d)g(.)g(nil\)\))f(.)h +(\(e)g(.)f(nil\)\)\)\))0 2175 y(\(a)h(b)g(\(c)f(d\))h(e\))42 +2277 y Fw(The)g(prin)o(ting)g(of)g(conses)h(is)g(a\013ected)h(b)o(y)e +(the)h(v)n(ariables)e Fs(*print-level*)f Fw(and)-38 2252 +y Fk(.)-38 2265 y(.)-38 2278 y(.)-38 2291 y(.)-38 2304 +y(.)-38 2317 y(.)-38 2330 y(.)-38 2343 y(.)-38 2356 y(.)-38 +2369 y(.)-38 2382 y(.)-38 2395 y(.)-38 2408 y(.)-38 2420 +y(.)-38 2433 y(.)-38 2446 y(.)-38 2459 y(.)-38 2472 y(.)-38 +2485 y(.)-38 2498 y(.)-38 2511 y(.)-38 2524 y(.)-38 2537 +y(.)-38 2550 y(.)-38 2563 y(.)-38 2576 y(.)-38 2589 y(.)-38 +2602 y(.)-38 2615 y(.)-38 2628 y(.)-38 2641 y(.)-38 2654 +y(.)-38 2667 y(.)-38 2680 y(.)-38 2693 y(.)-38 2706 y(.)-38 +2719 y(.)-38 2732 y(.)-38 2745 y(.)-38 2758 y(.)-38 2771 +y(.)-38 2784 y(.)-38 2797 y(.)-38 2810 y(.)-38 2823 y(.)-38 +2836 y(.)-38 2849 y(.)-38 2862 y(.)-38 2875 y(.)-38 2887 +y(.)-38 2900 y(.)-38 2913 y(.)-38 2926 y(.)-38 2939 y(.)-38 +2952 y(.)-38 2965 y(.)-38 2978 y(.)-38 2991 y(.)-38 3004 +y(.)-38 3017 y(.)-38 3030 y(.)-38 3043 y(.)-38 3056 y(.)-38 +3069 y(.)-38 3082 y(.)-38 3095 y(.)-38 3108 y(.)-38 3121 +y(.)-38 3134 y(.)-38 3147 y(.)-38 3160 y(.)-38 3173 y(.)-38 +3186 y(.)-38 3199 y(.)-38 3212 y(.)-38 3225 y(.)-38 3238 +y(.)-38 3251 y(.)-38 3264 y(.)-38 3277 y(.)-38 3290 y(.)-38 +3303 y(.)-38 3316 y(.)-38 3329 y(.)-38 3342 y(.)-38 3354 +y(.)-38 3367 y(.)-38 3380 y(.)-38 3393 y(.)-38 3406 y(.)-38 +3419 y(.)-38 3432 y(.)-38 3445 y(.)-38 3458 y(.)-38 3471 +y(.)-38 3484 y(.)-38 3497 y(.)-38 3510 y(.)-38 3523 y(.)-38 +3536 y(.)-38 3549 y(.)-38 3562 y(.)-38 3575 y(.)-38 3588 +y(.)-38 3601 y(.)-38 3614 y(.)-38 3627 y(.)-38 3640 y(.)-38 +3653 y(.)-38 3666 y(.)-38 3679 y(.)-38 3692 y(.)-38 3705 +y(.)-38 3718 y(.)-38 3731 y(.)-38 3744 y(.)-38 3757 y(.)-38 +3770 y(.)-38 3783 y(.)-38 3796 y(.)-38 3809 y(.)-38 3821 +y(.)-38 3834 y(.)-38 3847 y(.)-38 3860 y(.)-38 3873 y(.)-38 +3886 y(.)-38 3899 y(.)-38 3912 y(.)-38 3925 y(.)-38 3938 +y(.)-38 3951 y(.)-38 3964 y(.)-38 3977 y(.)-38 3990 y(.)-38 +4003 y(.)-38 4016 y(.)-38 4029 y(.)-38 4042 y(.)-38 4055 +y(.)-38 4068 y(.)-38 4081 y(.)-38 4094 y(.)-38 4107 y(.)-38 +4120 y(.)-38 4133 y(.)-38 4146 y(.)-38 4159 y(.)-38 4172 +y(.)-38 4185 y(.)-38 4198 y(.)-38 4211 y(.)-38 4224 y(.)-38 +4237 y(.)-38 4250 y(.)-38 4263 y(.)-38 4276 y(.)-38 4288 +y(.)-38 4301 y(.)-38 4314 y(.)-38 4327 y(.)-38 4340 y(.)-38 +4353 y(.)-38 4366 y(.)-38 4379 y(.)-38 4392 y(.)-38 4405 +y(.)-38 4418 y(.)-38 4431 y(.)-38 4444 y(.)-38 4457 y(.)-38 +4470 y(.)-38 4483 y(.)-38 4496 y(.)-38 4509 y(.)-38 4522 +y(.)-38 4535 y(.)-38 4548 y(.)-38 4561 y(.)-38 4574 y(.)-38 +4587 y(.)-38 4600 y(.)-38 4613 y(.)-38 4626 y(.)-38 4639 +y(.)-38 4652 y(.)-38 4665 y(.)-38 4678 y(.)-38 4691 y(.)-38 +4704 y(.)-38 4717 y(.)-38 4730 y(.)-38 4743 y(.)-38 4755 +y(.)-38 4768 y(.)-38 4781 y(.)-38 4794 y(.)-38 4807 y(.)-38 +4820 y(.)-38 4833 y(.)0 2329 y Fs(*print-length*)p Fw(.)-33 +2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 598 622 +598 621 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(598)77 b(COMMON)13 +b(LISP)42 295 y Fw(X3J13)20 b(v)o(oted)g(in)g(June)i(1989)d +Ft(h)p Fw(40)p Ft(i)h Fw(to)h(sp)q(ecify)g(that)f(if)g +Fs(*print-readably*)d Fw(is)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(not)f Fs(nil)f Fw(then)h(ev)o(ery)g(ob)r(ject)h(m) +o(ust)e(b)q(e)h(prin)o(ted)g(in)f(a)h(readable)g(form,)d(regardless)k +(of)0 399 y(other)f(prin)o(ter)f(con)o(trol)g(v)n(ariables.)20 +b(F)m(or)15 b(conses,)h(the)f(simplest)f(approac)o(h)h(is)g(to)g(prin)o +(t)0 450 y(them,)c(when)h Fs(*print-readably*)d Fw(is)j(not)f +Fs(nil)p Fw(,)g(as)h(if)f Fs(*print-level*)f Fw(and)h +Fs(*print-)0 502 y(length*)h Fw(w)o(ere)j Fs(nil)p Fw(,)e(regardless)i +(of)e(their)i(actual)e(v)n(alues.)-33 514 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 598 a Fv(Bit-ve)n(ctors)-38 588 y Fk(.)-38 +601 y(.)-38 614 y(.)-38 627 y(.)-38 640 y(.)-38 653 y(.)-38 +666 y(.)-38 679 y(.)-38 692 y(.)-38 705 y(.)-38 718 y(.)-38 +731 y(.)-38 744 y(.)-38 756 y(.)-38 769 y(.)-38 782 y(.)-38 +795 y(.)-38 808 y(.)-38 821 y(.)-38 834 y(.)-38 847 y(.)-38 +860 y(.)-38 873 y(.)-38 886 y(.)-38 899 y(.)-38 912 y(.)-38 +925 y(.)-38 938 y(.)-38 951 y(.)-38 964 y(.)-38 977 y(.)-38 +990 y(.)-38 1003 y(.)-38 1016 y(.)-38 1029 y(.)-38 1042 +y(.)-38 1055 y(.)-38 1068 y(.)-38 1081 y(.)-38 1094 y(.)-38 +1107 y(.)-38 1120 y(.)-38 1133 y(.)-38 1146 y(.)-38 1159 +y(.)-38 1172 y(.)-38 1185 y(.)-38 1198 y(.)-38 1211 y(.)-38 +1223 y(.)-38 1236 y(.)-38 1249 y(.)-38 1262 y(.)-38 1275 +y(.)-38 1288 y(.)-38 1301 y(.)-38 1314 y(.)-38 1327 y(.)-38 +1340 y(.)-38 1353 y(.)-38 1366 y(.)-38 1379 y(.)-38 1392 +y(.)-38 1405 y(.)-38 1418 y(.)-38 1431 y(.)-38 1444 y(.)-38 +1457 y(.)-38 1470 y(.)-38 1483 y(.)-38 1496 y(.)-38 1509 +y(.)-38 1522 y(.)-38 1535 y(.)-38 1548 y(.)-38 1561 y(.)-38 +1574 y(.)-38 1587 y(.)-38 1600 y(.)-38 1613 y(.)-38 1626 +y(.)-38 1639 y(.)-38 1652 y(.)-38 1665 y(.)-38 1678 y(.)-38 +1690 y(.)-38 1703 y(.)-38 1716 y(.)-38 1729 y(.)-38 1742 +y(.)-38 1755 y(.)-38 1768 y(.)-38 1781 y(.)-38 1794 y(.)-38 +1807 y(.)-38 1820 y(.)-38 1833 y(.)-38 1846 y(.)-38 1859 +y(.)-38 1872 y(.)-38 1885 y(.)-38 1898 y(.)-38 1911 y(.)-38 +1924 y(.)-38 1937 y(.)-38 1950 y(.)-38 1963 y(.)-38 1976 +y(.)-38 1989 y(.)-38 2002 y(.)-38 2015 y(.)-38 2028 y(.)-38 +2041 y(.)-38 2054 y(.)-38 2067 y(.)-38 2080 y(.)-38 2093 +y(.)-38 2106 y(.)-38 2119 y(.)-38 2132 y(.)-38 2145 y(.)-38 +2157 y(.)-38 2170 y(.)-38 2183 y(.)-38 2196 y(.)-38 2209 +y(.)-38 2222 y(.)-38 2235 y(.)-38 2248 y(.)-38 2261 y(.)-38 +2274 y(.)-38 2287 y(.)-38 2300 y(.)-38 2313 y(.)-38 2326 +y(.)-38 2339 y(.)-38 2352 y(.)-38 2365 y(.)-38 2378 y(.)-38 +2391 y(.)-38 2404 y(.)-38 2417 y(.)-38 2430 y(.)-38 2443 +y(.)-38 2456 y(.)-38 2469 y(.)-38 2482 y(.)-38 2495 y(.)-38 +2508 y(.)-38 2521 y(.)-38 2534 y(.)-38 2547 y(.)-38 2560 +y(.)-38 2573 y(.)-38 2586 y(.)-38 2599 y(.)-38 2612 y(.)-38 +2624 y(.)-38 2637 y(.)-38 2650 y(.)-38 2663 y(.)-38 2676 +y(.)-38 2689 y(.)-38 2702 y(.)-38 2715 y(.)-38 2728 y(.)-38 +2741 y(.)-38 2754 y(.)-38 2767 y(.)-38 2780 y(.)-38 2793 +y(.)-38 2806 y(.)-38 2819 y(.)-38 2832 y(.)-38 2845 y(.)-38 +2858 y(.)-38 2871 y(.)-38 2884 y(.)-38 2897 y(.)-38 2910 +y(.)-38 2923 y(.)-38 2936 y(.)-38 2949 y(.)-38 2962 y(.)-38 +2975 y(.)-38 2988 y(.)-38 3001 y(.)-38 3014 y(.)-38 3027 +y(.)-38 3040 y(.)-38 3053 y(.)-38 3066 y(.)-38 3079 y(.)-38 +3091 y(.)-38 3104 y(.)-38 3117 y(.)-38 3130 y(.)-38 3143 +y(.)-38 3156 y(.)-38 3169 y(.)0 661 y Fw(A)j(bit-v)o(ector)h(is)f(prin) +o(ted)h(as)f Fs(#)483 657 y(-)483 665 y(-)505 661 y(*)g +Fw(follo)o(w)o(ed)e(b)o(y)i(the)h(bits)g(of)e(the)i(bit-v)o(ector)g(in) +e(order.)0 713 y(If)f Fs(*print-array*)e Fw(is)i Fs(nil)p +Fw(,)g(ho)o(w)o(ev)o(er,)g(then)h(the)g(bit-v)o(ector)g(is)g(prin)o +(ted)f(in)g(a)h(format)0 765 y(\(using)d Fs(#)123 761 +y(-)123 769 y(-)145 765 y(<)p Fw(\))g(that)h(is)f(concise)h(but)g(not)f +(readable.)18 b(If)12 b(the)h(bit-v)o(ector)g(has)f(a)h(\014ll)e(p)q +(oin)o(ter,)0 817 y(then)k(only)e(those)h(bits)g(b)q(elo)o(w)g(the)g +(\014ll)f(p)q(oin)o(ter)h(are)h(prin)o(ted.)-33 829 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 869 a(X3J13)e(v)o(oted)h(in)f(June)i(1989)e +Ft(h)p Fw(40)p Ft(i)g Fw(to)h(sp)q(ecify)g(that)g(if)f +Fs(*print-readably*)d Fw(is)k(not)-33 841 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 921 a Fs(nil)e Fw(then)i(ev)o(ery)g(ob)r(ject)g(m)o(ust) +e(b)q(e)h(prin)o(ted)h(in)e(a)h(readable)g(form,)e(regardless)k(of)d +(other)0 973 y(prin)o(ter)18 b(con)o(trol)f(v)n(ariables.)28 +b(F)m(or)18 b(bit-v)o(ectors,)g(the)g(simplest)f(approac)o(h)g(is)h(to) +f(prin)o(t)0 1025 y(them,)j(when)f Fs(*print-readably*)d +Fw(is)k(not)f Fs(nil)p Fw(,)h(as)f(if)g Fs(*print-array*)d +Fw(w)o(ere)21 b(not)0 1077 y Fs(nil)p Fw(,)13 b(regardless)i(of)e(the)i +(actual)e(v)n(alue)g(of)h Fs(*print-array*)p Fw(.)-33 +1088 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1173 a Fv(V)m(e)n(ctors)0 1236 y Fw(An)o(y)j(v)o(ector)h +(other)f(than)g(a)g(string)g(or)g(bit-v)o(ector)h(is)f(prin)o(ted)g +(using)g(general-v)o(ector)0 1288 y(syn)o(tax;)d(this)g(means)g(that)g +(information)e(ab)q(out)i(sp)q(ecialized)h(v)o(ector)g(represen)o +(tations)0 1339 y(will)g(b)q(e)h(lost.)24 b(The)17 b(prin)o(ted)f +(represen)o(tation)i(of)d(a)h(zero-length)h(v)o(ector)g(is)e +Fs(#)1221 1335 y(-)1221 1343 y(-)1243 1339 y(\(\))p Fw(.)24 +b(The)0 1391 y(prin)o(ted)15 b(represen)o(tation)h(of)e(a)h +(non-zero-length)g(v)o(ector)g(b)q(egins)g(with)f Fs(#)1146 +1387 y(-)1146 1395 y(-)1168 1391 y(\()p Fw(.)20 b(F)m(ollo)o(wing)0 +1443 y(that,)f(the)g(\014rst)g(elemen)o(t)f(of)f(the)i(v)o(ector)g(is)f +(prin)o(ted.)32 b(If)18 b(there)h(are)g(an)o(y)f(other)h(ele-)0 +1495 y(men)o(ts,)c(they)g(are)h(prin)o(ted)g(in)f(turn,)h(with)f(a)g +(space)h(prin)o(ted)g(b)q(efore)g(eac)o(h)g(additional)0 +1547 y(elemen)o(t.)31 b(A)19 b(close)g(paren)o(thesis)h(after)f(the)g +(last)f(elemen)o(t)g(terminates)g(the)h(prin)o(ted)0 +1599 y(represen)o(tation)c(of)f(the)g(v)o(ector.)42 1651 +y(The)20 b(prin)o(ting)f(of)h(v)o(ectors)h(is)f(a\013ected)h(b)o(y)f +(the)g(v)n(ariables)g Fs(*print-level*)d Fw(and)-38 1626 +y Fk(.)-38 1639 y(.)-38 1652 y(.)-38 1665 y(.)-38 1678 +y(.)-38 1691 y(.)-38 1704 y(.)-38 1717 y(.)-38 1730 y(.)-38 +1742 y(.)-38 1755 y(.)-38 1768 y(.)-38 1781 y(.)-38 1794 +y(.)-38 1807 y(.)-38 1820 y(.)-38 1833 y(.)-38 1846 y(.)-38 +1859 y(.)-38 1872 y(.)-38 1885 y(.)-38 1898 y(.)-38 1911 +y(.)-38 1924 y(.)-38 1937 y(.)-38 1950 y(.)-38 1963 y(.)-38 +1976 y(.)-38 1989 y(.)-38 2002 y(.)-38 2015 y(.)-38 2028 +y(.)-38 2041 y(.)-38 2054 y(.)-38 2067 y(.)-38 2080 y(.)-38 +2093 y(.)-38 2106 y(.)-38 2119 y(.)-38 2132 y(.)-38 2145 +y(.)-38 2158 y(.)-38 2171 y(.)-38 2184 y(.)-38 2197 y(.)-38 +2209 y(.)-38 2222 y(.)-38 2235 y(.)-38 2248 y(.)-38 2261 +y(.)-38 2274 y(.)-38 2287 y(.)-38 2300 y(.)-38 2313 y(.)-38 +2326 y(.)-38 2339 y(.)-38 2352 y(.)-38 2365 y(.)-38 2378 +y(.)-38 2391 y(.)-38 2404 y(.)-38 2417 y(.)-38 2430 y(.)-38 +2443 y(.)-38 2456 y(.)-38 2469 y(.)-38 2482 y(.)-38 2495 +y(.)-38 2508 y(.)-38 2521 y(.)-38 2534 y(.)-38 2547 y(.)-38 +2560 y(.)-38 2573 y(.)-38 2586 y(.)-38 2599 y(.)-38 2612 +y(.)-38 2625 y(.)-38 2638 y(.)-38 2651 y(.)-38 2664 y(.)-38 +2676 y(.)-38 2689 y(.)-38 2702 y(.)-38 2715 y(.)-38 2728 +y(.)-38 2741 y(.)-38 2754 y(.)-38 2767 y(.)-38 2780 y(.)-38 +2793 y(.)-38 2806 y(.)-38 2819 y(.)-38 2832 y(.)-38 2845 +y(.)-38 2858 y(.)-38 2871 y(.)-38 2884 y(.)-38 2897 y(.)-38 +2910 y(.)-38 2923 y(.)-38 2936 y(.)-38 2949 y(.)-38 2962 +y(.)-38 2975 y(.)-38 2988 y(.)-38 3001 y(.)-38 3014 y(.)-38 +3027 y(.)-38 3040 y(.)-38 3053 y(.)-38 3066 y(.)-38 3079 +y(.)-38 3092 y(.)-38 3105 y(.)-38 3118 y(.)-38 3131 y(.)-38 +3143 y(.)-38 3156 y(.)-38 3169 y(.)-38 3182 y(.)-38 3195 +y(.)-38 3208 y(.)-38 3221 y(.)-38 3234 y(.)-38 3247 y(.)-38 +3260 y(.)-38 3273 y(.)-38 3286 y(.)-38 3299 y(.)-38 3312 +y(.)-38 3325 y(.)-38 3338 y(.)-38 3351 y(.)-38 3364 y(.)-38 +3377 y(.)-38 3390 y(.)-38 3403 y(.)-38 3416 y(.)-38 3429 +y(.)-38 3442 y(.)-38 3455 y(.)-38 3468 y(.)-38 3481 y(.)-38 +3494 y(.)-38 3507 y(.)-38 3520 y(.)-38 3533 y(.)-38 3546 +y(.)-38 3559 y(.)-38 3572 y(.)-38 3585 y(.)-38 3598 y(.)-38 +3610 y(.)-38 3623 y(.)-38 3636 y(.)-38 3649 y(.)-38 3662 +y(.)-38 3675 y(.)-38 3688 y(.)-38 3701 y(.)-38 3714 y(.)-38 +3727 y(.)-38 3740 y(.)-38 3753 y(.)-38 3766 y(.)-38 3779 +y(.)-38 3792 y(.)-38 3805 y(.)-38 3818 y(.)-38 3831 y(.)-38 +3844 y(.)-38 3857 y(.)-38 3870 y(.)-38 3883 y(.)-38 3896 +y(.)-38 3909 y(.)-38 3922 y(.)-38 3935 y(.)-38 3948 y(.)-38 +3961 y(.)-38 3974 y(.)-38 3987 y(.)-38 4000 y(.)-38 4013 +y(.)-38 4026 y(.)-38 4039 y(.)-38 4052 y(.)-38 4065 y(.)-38 +4077 y(.)-38 4090 y(.)-38 4103 y(.)-38 4116 y(.)-38 4129 +y(.)-38 4142 y(.)-38 4155 y(.)-38 4168 y(.)-38 4181 y(.)-38 +4194 y(.)-38 4207 y(.)0 1703 y Fs(*print-length*)p Fw(.)26 +b(If)17 b(the)h(v)o(ector)h(has)e(a)h(\014ll)e(p)q(oin)o(ter,)j(then)f +(only)f(those)h(elemen)o(ts)0 1755 y(b)q(elo)o(w)c(the)g(\014ll)f(p)q +(oin)o(ter)h(are)g(prin)o(ted.)42 1806 y(If)j Fs(*print-array*)f +Fw(is)i Fs(nil)p Fw(,)g(ho)o(w)o(ev)o(er,)h(then)g(the)g(v)o(ector)g +(is)f(not)g(prin)o(ted)h(as)f(de-)0 1858 y(scrib)q(ed)d(ab)q(o)o(v)o +(e,)e(but)h(in)g(a)f(format)f(\(using)i Fs(#)690 1854 +y(-)690 1862 y(-)712 1858 y(<)p Fw(\))g(that)g(is)f(concise)i(but)f +(not)g(readable.)-33 1870 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1910 a(X3J13)20 b(v)o(oted)g(in)g(June)i(1989)d +Ft(h)p Fw(40)p Ft(i)h Fw(to)h(sp)q(ecify)g(that)f(if)g +Fs(*print-readably*)d Fw(is)-33 1882 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1962 a(not)f Fs(nil)f Fw(then)h(ev)o(ery)g(ob)r(ject)h +(m)o(ust)e(b)q(e)h(prin)o(ted)g(in)f(a)h(readable)g(form,)d(regardless) +k(of)0 2014 y(other)e(prin)o(ter)f(con)o(trol)g(v)n(ariables.)j(F)m(or) +d(v)o(ectors,)g(the)h(simplest)d(approac)o(h)i(is)g(to)g(prin)o(t)0 +2066 y(them,)d(when)h Fs(*print-readably*)d Fw(is)j(not)f +Fs(nil)p Fw(,)g(as)h(if)f Fs(*print-level*)f Fw(and)h +Fs(*print-)0 2118 y(length*)e Fw(w)o(ere)j Fs(nil)e Fw(and)g +Fs(*print-array*)e Fw(w)o(ere)k(not)f Fs(nil)p Fw(,)f(regardless)i(of)e +(their)h(actual)0 2170 y(v)n(alues.)-33 2181 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2266 a Fv(A)o(rr)n(ays)0 2329 y Fw(Normally)f(an)o(y)i +(arra)o(y)g(other)h(than)f(a)g(v)o(ector)h(is)g(prin)o(ted)f(using)h +Fs(#)1014 2325 y(-)1014 2333 y(-)1035 2329 y Fv(n)p Fs(A)g +Fw(format.)j(Let)c Fv(n)h Fw(b)q(e)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 599 623 +599 622 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(599)0 295 y Fw(the)14 b(rank)g(of)g(the)g(arra)o(y)m(.)j(Then)e +Fs(#)516 291 y(-)516 299 y(-)551 295 y Fw(is)f(prin)o(ted,)g(then)g +Fv(n)g Fw(as)g(a)g(decimal)e(in)o(teger,)i(then)g Fs(A)p +Fw(,)0 347 y(then)g Fv(n)g Fw(op)q(en)h(paren)o(theses.)20 +b(Next)14 b(the)h(elemen)o(ts)e(are)h(scanned)h(in)f(ro)o(w-ma)r(jor)d +(order.)0 399 y(Imagine)17 b(the)i(arra)o(y)g(indices)g(b)q(eing)g(en)o +(umerated)g(in)f(o)q(dometer)h(fashion,)f(recalling)0 +450 y(that)c(the)g(dimensions)f(are)h(n)o(um)o(b)q(ered)g(from)e(0)i +(to)g Fv(n)e Ft(\000)e Fw(1.)18 b(Ev)o(ery)c(time)f(the)h(index)g(for)0 +502 y(dimension)e Fv(j)i Fw(is)g(incremen)o(ted,)f(the)i(follo)o(wing)c +(actions)j(are)g(tak)o(en:)0 575 y(1.)9 b(If)k Fv(j)k +Fh(<)12 b Fv(n)h Ft(\000)c Fw(1,)k(then)i(prin)o(t)f(a)f(close)i(paren) +o(thesis.)0 660 y(2.)9 b(If)16 b(incremen)o(ting)g(the)i(index)f(for)g +(dimension)e Fv(j)i Fw(caused)h(it)f(to)f(equal)h(dimension)f +Fv(j)p Fw(,)42 712 y(reset)d(that)f(index)g(to)g(zero)h(and)f(incremen) +o(t)g(dimension)f Fv(j)g Ft(\000)6 b Fw(1)12 b(\(thereb)o(y)h(p)q +(erforming)42 764 y(these)h(three)h(steps)g(recursiv)o(ely\),)f(unless) +g Fv(j)k Fw(=)11 b(0,)i(in)g(whic)o(h)h(case)g(simply)d(terminate)42 +816 y(the)19 b(en)o(tire)h(algorithm.)32 b(If)18 b(incremen)o(ting)h +(the)h(index)f(for)g(dimension)e Fv(j)i Fw(did)g(not)42 +868 y(cause)14 b(it)g(to)g(equal)f(dimension)f Fv(j)p +Fw(,)i(then)g(prin)o(t)g(a)f(space.)0 953 y(3.)c(If)k +Fv(j)k Fh(<)12 b Fv(n)h Ft(\000)c Fw(1,)k(then)i(prin)o(t)f(an)f(op)q +(en)i(paren)o(thesis.)0 1026 y(This)k(causes)h(the)f(con)o(ten)o(ts)h +(to)f(b)q(e)g(prin)o(ted)h(in)e(a)g(format)f(suitable)i(for)g(use)g(as) +g(the)0 1078 y Fs(:initial-contents)10 b Fw(argumen)o(t)j(to)h +Fs(make-array)p Fw(.)42 1130 y(The)g(lists)g(e\013ectiv)o(ely)h(prin)o +(ted)f(b)o(y)g(this)g(pro)q(cedure)i(are)e(sub)r(ject)i(to)e +(truncation)g(b)o(y)-38 1105 y Fk(.)-38 1118 y(.)-38 +1131 y(.)-38 1144 y(.)-38 1157 y(.)-38 1170 y(.)-38 1183 +y(.)-38 1196 y(.)-38 1209 y(.)-38 1222 y(.)-38 1235 y(.)-38 +1248 y(.)-38 1261 y(.)-38 1274 y(.)-38 1287 y(.)-38 1300 +y(.)-38 1312 y(.)-38 1325 y(.)-38 1338 y(.)-38 1351 y(.)-38 +1364 y(.)-38 1377 y(.)-38 1390 y(.)-38 1403 y(.)-38 1416 +y(.)-38 1429 y(.)-38 1442 y(.)-38 1455 y(.)-38 1468 y(.)-38 +1481 y(.)-38 1494 y(.)-38 1507 y(.)-38 1520 y(.)-38 1533 +y(.)-38 1546 y(.)-38 1559 y(.)-38 1572 y(.)-38 1585 y(.)-38 +1598 y(.)-38 1611 y(.)-38 1624 y(.)-38 1637 y(.)-38 1650 +y(.)-38 1663 y(.)-38 1676 y(.)-38 1689 y(.)-38 1702 y(.)-38 +1715 y(.)-38 1728 y(.)-38 1741 y(.)-38 1754 y(.)-38 1767 +y(.)-38 1779 y(.)-38 1792 y(.)-38 1805 y(.)-38 1818 y(.)-38 +1831 y(.)-38 1844 y(.)-38 1857 y(.)-38 1870 y(.)-38 1883 +y(.)-38 1896 y(.)-38 1909 y(.)-38 1922 y(.)-38 1935 y(.)-38 +1948 y(.)-38 1961 y(.)-38 1974 y(.)-38 1987 y(.)-38 2000 +y(.)-38 2013 y(.)-38 2026 y(.)-38 2039 y(.)-38 2052 y(.)-38 +2065 y(.)-38 2078 y(.)-38 2091 y(.)-38 2104 y(.)-38 2117 +y(.)-38 2130 y(.)-38 2143 y(.)-38 2156 y(.)-38 2169 y(.)-38 +2182 y(.)-38 2195 y(.)-38 2208 y(.)-38 2221 y(.)-38 2234 +y(.)-38 2246 y(.)-38 2259 y(.)-38 2272 y(.)-38 2285 y(.)-38 +2298 y(.)-38 2311 y(.)-38 2324 y(.)-38 2337 y(.)-38 2350 +y(.)-38 2363 y(.)-38 2376 y(.)-38 2389 y(.)-38 2402 y(.)-38 +2415 y(.)-38 2428 y(.)-38 2441 y(.)-38 2454 y(.)-38 2467 +y(.)-38 2480 y(.)-38 2493 y(.)-38 2506 y(.)-38 2519 y(.)-38 +2532 y(.)-38 2545 y(.)-38 2558 y(.)-38 2571 y(.)-38 2584 +y(.)-38 2597 y(.)-38 2610 y(.)-38 2623 y(.)-38 2636 y(.)-38 +2649 y(.)-38 2662 y(.)-38 2675 y(.)-38 2688 y(.)-38 2701 +y(.)-38 2713 y(.)-38 2726 y(.)-38 2739 y(.)-38 2752 y(.)-38 +2765 y(.)-38 2778 y(.)-38 2791 y(.)-38 2804 y(.)-38 2817 +y(.)-38 2830 y(.)-38 2843 y(.)-38 2856 y(.)-38 2869 y(.)-38 +2882 y(.)-38 2895 y(.)-38 2908 y(.)-38 2921 y(.)-38 2934 +y(.)-38 2947 y(.)-38 2960 y(.)-38 2973 y(.)-38 2986 y(.)-38 +2999 y(.)-38 3012 y(.)-38 3025 y(.)-38 3038 y(.)-38 3051 +y(.)-38 3064 y(.)-38 3077 y(.)-38 3090 y(.)-38 3103 y(.)-38 +3116 y(.)-38 3129 y(.)-38 3142 y(.)-38 3155 y(.)-38 3167 +y(.)-38 3180 y(.)-38 3193 y(.)-38 3206 y(.)-38 3219 y(.)-38 +3232 y(.)-38 3245 y(.)-38 3258 y(.)-38 3271 y(.)-38 3284 +y(.)-38 3297 y(.)-38 3310 y(.)-38 3323 y(.)-38 3336 y(.)-38 +3349 y(.)-38 3362 y(.)-38 3375 y(.)-38 3388 y(.)-38 3401 +y(.)-38 3414 y(.)-38 3427 y(.)-38 3440 y(.)-38 3453 y(.)-38 +3466 y(.)-38 3479 y(.)-38 3492 y(.)-38 3505 y(.)-38 3518 +y(.)-38 3531 y(.)-38 3544 y(.)-38 3557 y(.)-38 3570 y(.)-38 +3583 y(.)-38 3596 y(.)-38 3609 y(.)-38 3622 y(.)-38 3634 +y(.)-38 3647 y(.)-38 3660 y(.)-38 3673 y(.)-38 3686 y(.)0 +1182 y Fs(*print-level*)d Fw(and)j Fs(*print-length*)p +Fw(.)-33 1194 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1234 a(If)j(the)i(arra)o(y)f(is)h(of)e(a)h(sp)q +(ecialized)h(t)o(yp)q(e,)h(con)o(taining)d(bits)h(or)g(string-c)o +(haracters,)0 1286 y(then)c(the)g(innermost)f(lists)g(generated)i(b)o +(y)f(the)g(algorithm)d(giv)o(en)i(ab)q(o)o(v)o(e)g(ma)o(y)e(instead)0 +1338 y(b)q(e)18 b(prin)o(ted)g(using)f(bit-v)o(ector)h(or)f(string)g +(syn)o(tax,)h(pro)o(vided)f(that)h(these)h(innermost)0 +1390 y(lists)14 b(w)o(ould)e(not)i(b)q(e)g(sub)r(ject)h(to)f +(truncation)f(b)o(y)h Fs(*print-length*)p Fw(.)h(F)m(or)e(example,)f(a) +0 1442 y(3-b)o(y-2-b)o(y-4)g(arra)o(y)i(of)f(string-c)o(haracters)j +(that)e(w)o(ould)f(ordinarily)f(b)q(e)j(prin)o(ted)f(as)0 +1547 y Fs(#)0 1543 y(-)0 1551 y(-)22 1547 y(3A\(\(\(#)132 +1543 y(-)132 1551 y(-)153 1547 y(\\s)20 b(#)217 1543 +y(-)217 1551 y(-)239 1547 y(\\t)h(#)304 1543 y(-)304 +1551 y(-)326 1547 y(\\o)f(#)390 1543 y(-)390 1551 y(-)412 +1547 y(\\p\))h(\(#)521 1543 y(-)521 1551 y(-)542 1547 +y(\\s)g(#)607 1543 y(-)607 1551 y(-)629 1547 y(\\p)g(#)694 +1543 y(-)694 1551 y(-)715 1547 y(\\o)g(#)780 1543 y(-)780 +1551 y(-)802 1547 y(\\t\)\))85 1599 y(\(\(#)129 1595 +y(-)129 1603 y(-)150 1599 y(\\p)g(#)215 1595 y(-)215 +1603 y(-)237 1599 y(\\o)f(#)301 1595 y(-)301 1603 y(-)323 +1599 y(\\s)h(#)388 1595 y(-)388 1603 y(-)410 1599 y(\\t\))f(\(#)518 +1595 y(-)518 1603 y(-)540 1599 y(\\p)h(#)605 1595 y(-)605 +1603 y(-)626 1599 y(\\o)g(#)691 1595 y(-)691 1603 y(-)713 +1599 y(\\t)g(#)778 1595 y(-)778 1603 y(-)799 1599 y(\\s\)\))85 +1651 y(\(\(#)129 1647 y(-)129 1655 y(-)150 1651 y(\\t)g(#)215 +1647 y(-)215 1655 y(-)237 1651 y(\\o)f(#)301 1647 y(-)301 +1655 y(-)323 1651 y(\\p)h(#)388 1647 y(-)388 1655 y(-)410 +1651 y(\\s\))f(\(#)518 1647 y(-)518 1655 y(-)540 1651 +y(\\o)h(#)605 1647 y(-)605 1655 y(-)626 1651 y(\\p)g(#)691 +1647 y(-)691 1655 y(-)713 1651 y(\\t)g(#)778 1647 y(-)778 +1655 y(-)799 1651 y(\\s\)\)\))0 1755 y Fw(ma)o(y)12 b(instead)i(b)q(e)h +(prin)o(ted)f(more)f(concisely)h(as)0 1860 y Fs(#)0 1856 +y(-)0 1864 y(-)22 1860 y(3A\(\("stop")19 b("spot"\))h(\("post")f +("pots"\))h(\("tops")g("opts"\)\))42 1965 y Fw(If)14 +b Fs(*print-array*)f Fw(is)i Fs(nil)p Fw(,)g(then)h(the)g(arra)o(y)f +(is)g(prin)o(ted)h(in)e(a)h(format)f(\(using)h Fs(#)1335 +1961 y(-)1335 1969 y(-)1357 1965 y(<)p Fw(\))-38 1940 +y Fk(.)-38 1953 y(.)-38 1966 y(.)-38 1979 y(.)-38 1992 +y(.)-38 2005 y(.)-38 2018 y(.)-38 2031 y(.)-38 2044 y(.)-38 +2057 y(.)-38 2070 y(.)-38 2083 y(.)-38 2096 y(.)-38 2109 +y(.)-38 2122 y(.)-38 2135 y(.)-38 2148 y(.)-38 2161 y(.)-38 +2174 y(.)-38 2187 y(.)-38 2200 y(.)-38 2213 y(.)-38 2226 +y(.)-38 2239 y(.)-38 2252 y(.)-38 2264 y(.)-38 2277 y(.)-38 +2290 y(.)-38 2303 y(.)-38 2316 y(.)-38 2329 y(.)-38 2342 +y(.)-38 2355 y(.)-38 2368 y(.)-38 2381 y(.)-38 2394 y(.)-38 +2407 y(.)-38 2420 y(.)-38 2433 y(.)-38 2446 y(.)-38 2459 +y(.)-38 2472 y(.)-38 2485 y(.)-38 2498 y(.)-38 2511 y(.)-38 +2524 y(.)-38 2537 y(.)-38 2550 y(.)-38 2563 y(.)-38 2576 +y(.)-38 2589 y(.)-38 2602 y(.)-38 2615 y(.)-38 2628 y(.)-38 +2641 y(.)-38 2654 y(.)-38 2667 y(.)-38 2680 y(.)-38 2693 +y(.)-38 2706 y(.)-38 2719 y(.)-38 2731 y(.)-38 2744 y(.)-38 +2757 y(.)-38 2770 y(.)-38 2783 y(.)-38 2796 y(.)-38 2809 +y(.)-38 2822 y(.)-38 2835 y(.)-38 2848 y(.)-38 2861 y(.)-38 +2874 y(.)-38 2887 y(.)-38 2900 y(.)-38 2913 y(.)-38 2926 +y(.)-38 2939 y(.)-38 2952 y(.)-38 2965 y(.)-38 2978 y(.)-38 +2991 y(.)-38 3004 y(.)-38 3017 y(.)-38 3030 y(.)-38 3043 +y(.)-38 3056 y(.)-38 3069 y(.)-38 3082 y(.)-38 3095 y(.)-38 +3108 y(.)-38 3121 y(.)-38 3134 y(.)-38 3147 y(.)-38 3160 +y(.)-38 3173 y(.)-38 3186 y(.)-38 3198 y(.)-38 3211 y(.)-38 +3224 y(.)-38 3237 y(.)-38 3250 y(.)-38 3263 y(.)-38 3276 +y(.)-38 3289 y(.)-38 3302 y(.)-38 3315 y(.)-38 3328 y(.)-38 +3341 y(.)-38 3354 y(.)-38 3367 y(.)-38 3380 y(.)-38 3393 +y(.)-38 3406 y(.)-38 3419 y(.)-38 3432 y(.)-38 3445 y(.)-38 +3458 y(.)-38 3471 y(.)-38 3484 y(.)-38 3497 y(.)-38 3510 +y(.)-38 3523 y(.)-38 3536 y(.)-38 3549 y(.)-38 3562 y(.)-38 +3575 y(.)-38 3588 y(.)-38 3601 y(.)-38 3614 y(.)-38 3627 +y(.)-38 3640 y(.)-38 3653 y(.)-38 3665 y(.)-38 3678 y(.)-38 +3691 y(.)-38 3704 y(.)-38 3717 y(.)-38 3730 y(.)-38 3743 +y(.)-38 3756 y(.)-38 3769 y(.)-38 3782 y(.)-38 3795 y(.)-38 +3808 y(.)-38 3821 y(.)-38 3834 y(.)-38 3847 y(.)-38 3860 +y(.)-38 3873 y(.)-38 3886 y(.)-38 3899 y(.)-38 3912 y(.)-38 +3925 y(.)-38 3938 y(.)-38 3951 y(.)-38 3964 y(.)-38 3977 +y(.)-38 3990 y(.)-38 4003 y(.)-38 4016 y(.)-38 4029 y(.)-38 +4042 y(.)-38 4055 y(.)-38 4068 y(.)-38 4081 y(.)-38 4094 +y(.)-38 4107 y(.)-38 4120 y(.)-38 4132 y(.)-38 4145 y(.)-38 +4158 y(.)-38 4171 y(.)-38 4184 y(.)-38 4197 y(.)-38 4210 +y(.)-38 4223 y(.)-38 4236 y(.)-38 4249 y(.)-38 4262 y(.)-38 +4275 y(.)-38 4288 y(.)-38 4301 y(.)-38 4314 y(.)-38 4327 +y(.)-38 4340 y(.)-38 4353 y(.)-38 4366 y(.)-38 4379 y(.)-38 +4392 y(.)-38 4405 y(.)-38 4418 y(.)-38 4431 y(.)-38 4444 +y(.)-38 4457 y(.)-38 4470 y(.)-38 4483 y(.)-38 4496 y(.)-38 +4509 y(.)-38 4522 y(.)0 2017 y Fw(that)f(is)g(concise)h(but)f(not)f +(readable.)-33 2029 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2069 a(X3J13)20 b(v)o(oted)g(in)g(June)i(1989)d +Ft(h)p Fw(40)p Ft(i)h Fw(to)h(sp)q(ecify)g(that)f(if)g +Fs(*print-readably*)d Fw(is)-33 2041 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2121 a(not)f Fs(nil)f Fw(then)h(ev)o(ery)g(ob)r(ject)h +(m)o(ust)e(b)q(e)h(prin)o(ted)g(in)f(a)h(readable)g(form,)d(regardless) +k(of)0 2173 y(other)f(prin)o(ter)f(con)o(trol)g(v)n(ariables.)21 +b(F)m(or)15 b(arra)o(ys,)g(the)h(simplest)e(approac)o(h)h(is)g(to)g +(prin)o(t)0 2225 y(them,)c(when)h Fs(*print-readably*)d +Fw(is)j(not)f Fs(nil)p Fw(,)g(as)h(if)f Fs(*print-level*)f +Fw(and)h Fs(*print-)0 2277 y(length*)e Fw(w)o(ere)j Fs(nil)e +Fw(and)g Fs(*print-array*)e Fw(w)o(ere)k(not)f Fs(nil)p +Fw(,)f(regardless)i(of)e(their)h(actual)0 2329 y(v)n(alues.)-33 +2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 600 624 +600 623 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(600)77 b(COMMON)13 +b(LISP)0 295 y Fv(R)n(andom-states)0 358 y Fw(Common)f(Lisp)k(do)q(es)g +(not)f(sp)q(ecify)h(a)f(sp)q(eci\014c)i(syn)o(tax)f(for)f(prin)o(ting)g +(ob)r(jects)h(of)f(t)o(yp)q(e)0 410 y Fs(random-state)p +Fw(.)42 b(Ho)o(w)o(ev)o(er,)25 b(ev)o(ery)f(implem)o(en)o(tation)c(m)o +(ust)i(arrange)h(to)f(prin)o(t)h(a)0 462 y(random-state)c(ob)r(ject)j +(in)d(suc)o(h)i(a)f(w)o(a)o(y)g(that,)h(within)f(the)h(same)e(implemen) +o(tation)0 513 y(of)13 b(Common)d(Lisp,)j(the)h(function)f +Fs(read)g Fw(can)h(construct)h(from)d(the)i(prin)o(ted)g(represen-)0 +565 y(tation)j(a)g(cop)o(y)h(of)f(the)h(random-state)f(ob)r(ject)h(as)g +(if)f(the)h(cop)o(y)f(had)h(b)q(een)h(made)d(b)o(y)0 +617 y Fs(make-random-state)o Fw(.)0 715 y Fv(Pathnames)-38 +705 y Fk(.)-38 718 y(.)-38 730 y(.)-38 743 y(.)-38 756 +y(.)-38 769 y(.)-38 782 y(.)-38 795 y(.)-38 808 y(.)-38 +821 y(.)-38 834 y(.)-38 847 y(.)-38 860 y(.)-38 873 y(.)-38 +886 y(.)-38 899 y(.)-38 912 y(.)-38 925 y(.)-38 938 y(.)-38 +951 y(.)-38 964 y(.)-38 977 y(.)-38 990 y(.)-38 1003 +y(.)-38 1016 y(.)-38 1029 y(.)-38 1042 y(.)-38 1055 y(.)-38 +1068 y(.)-38 1081 y(.)-38 1094 y(.)-38 1107 y(.)-38 1120 +y(.)-38 1133 y(.)-38 1146 y(.)-38 1159 y(.)-38 1172 y(.)-38 +1185 y(.)-38 1197 y(.)-38 1210 y(.)-38 1223 y(.)-38 1236 +y(.)-38 1249 y(.)-38 1262 y(.)-38 1275 y(.)-38 1288 y(.)-38 +1301 y(.)-38 1314 y(.)-38 1327 y(.)-38 1340 y(.)-38 1353 +y(.)-38 1366 y(.)-38 1379 y(.)-38 1392 y(.)-38 1405 y(.)-38 +1418 y(.)-38 1431 y(.)-38 1444 y(.)-38 1457 y(.)-38 1470 +y(.)-38 1483 y(.)-38 1496 y(.)-38 1509 y(.)-38 1522 y(.)-38 +1535 y(.)-38 1548 y(.)-38 1561 y(.)-38 1574 y(.)-38 1587 +y(.)-38 1600 y(.)-38 1613 y(.)-38 1626 y(.)-38 1639 y(.)-38 +1652 y(.)-38 1664 y(.)-38 1677 y(.)-38 1690 y(.)-38 1703 +y(.)-38 1716 y(.)-38 1729 y(.)-38 1742 y(.)-38 1755 y(.)-38 +1768 y(.)-38 1781 y(.)-38 1794 y(.)-38 1807 y(.)-38 1820 +y(.)-38 1833 y(.)-38 1846 y(.)-38 1859 y(.)-38 1872 y(.)-38 +1885 y(.)-38 1898 y(.)-38 1911 y(.)-38 1924 y(.)-38 1937 +y(.)-38 1950 y(.)-38 1963 y(.)-38 1976 y(.)-38 1989 y(.)-38 +2002 y(.)-38 2015 y(.)-38 2028 y(.)-38 2041 y(.)-38 2054 +y(.)-38 2067 y(.)-38 2080 y(.)-38 2093 y(.)-38 2106 y(.)-38 +2119 y(.)-38 2131 y(.)-38 2144 y(.)-38 2157 y(.)-38 2170 +y(.)-38 2183 y(.)-38 2196 y(.)-38 2209 y(.)-38 2222 y(.)-38 +2235 y(.)-38 2248 y(.)-38 2261 y(.)-38 2274 y(.)-38 2287 +y(.)-38 2300 y(.)-38 2313 y(.)-38 2326 y(.)-38 2339 y(.)-38 +2352 y(.)-38 2365 y(.)-38 2378 y(.)-38 2391 y(.)-38 2404 +y(.)-38 2417 y(.)-38 2430 y(.)-38 2443 y(.)-38 2456 y(.)-38 +2469 y(.)-38 2482 y(.)-38 2495 y(.)-38 2508 y(.)-38 2521 +y(.)-38 2534 y(.)-38 2547 y(.)-38 2560 y(.)-38 2573 y(.)-38 +2586 y(.)-38 2598 y(.)-38 2611 y(.)-38 2624 y(.)-38 2637 +y(.)-38 2650 y(.)-38 2663 y(.)-38 2676 y(.)-38 2689 y(.)-38 +2702 y(.)-38 2715 y(.)-38 2728 y(.)-38 2741 y(.)-38 2754 +y(.)-38 2767 y(.)-38 2780 y(.)-38 2793 y(.)-38 2806 y(.)-38 +2819 y(.)-38 2832 y(.)-38 2845 y(.)-38 2858 y(.)-38 2871 +y(.)-38 2884 y(.)-38 2897 y(.)-38 2910 y(.)-38 2923 y(.)-38 +2936 y(.)-38 2949 y(.)-38 2962 y(.)-38 2975 y(.)-38 2988 +y(.)-38 3001 y(.)-38 3014 y(.)-38 3027 y(.)-38 3040 y(.)-38 +3052 y(.)-38 3065 y(.)-38 3078 y(.)-38 3091 y(.)-38 3104 +y(.)-38 3117 y(.)-38 3130 y(.)-38 3143 y(.)-38 3156 y(.)-38 +3169 y(.)-38 3182 y(.)-38 3195 y(.)-38 3208 y(.)-38 3221 +y(.)-38 3234 y(.)-38 3247 y(.)-38 3260 y(.)-38 3273 y(.)-38 +3286 y(.)0 778 y Fw(Common)c(Lisp)k(do)q(es)g(not)f(sp)q(ecify)h(a)f +(sp)q(eci\014c)i(syn)o(tax)f(for)f(prin)o(ting)g(ob)r(jects)h(of)f(t)o +(yp)q(e)0 830 y Fs(pathname)p Fw(.)h(Ho)o(w)o(ev)o(er,)c(ev)o(ery)h +(implemen)o(tati)o(on)c(m)o(ust)i(arrange)h(to)g(prin)o(t)g(a)g +(pathname)0 882 y(in)17 b(suc)o(h)i(a)e(w)o(a)o(y)g(that,)h(within)f +(the)h(same)f(implemen)o(tati)o(on)e(of)i(Common)d(Lisp,)k(the)0 +934 y(function)h Fs(read)f Fw(can)h(construct)i(from)c(the)j(prin)o +(ted)f(represen)o(tation)i(an)d(equiv)n(alen)o(t)0 986 +y(instance)d(of)e(the)h(pathname)f(ob)r(ject.)-33 997 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1038 a(X3J13)22 b(v)o(oted)g(in)g(June)i(1989)d +Ft(h)p Fw(131)p Ft(i)h Fw(to)h(sp)q(ecify)g(that)g(if)e +Fs(*print-escape*)f Fw(is)-33 1009 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1089 a(true,)h(a)e(pathname)f(should)h(b)q(e)h(prin)o +(ted)g(b)o(y)f Fs(write)f Fw(as)h Fs(#)941 1085 y(-)941 +1093 y(-)963 1089 y(P"...")f Fw(where)j Fs("...")d Fw(is)0 +1141 y(the)e(namestring)e(represen)o(tation)j(of)d(the)i(pathname.)21 +b(If)15 b Fs(*print-escape*)d Fw(is)j(false,)0 1193 y +Fs(write)k Fw(prin)o(ts)h(a)g(pathname)f(b)o(y)h(prin)o(ting)g(its)g +(namestring)f(\(presumably)g(without)0 1245 y(escap)q(e)d(c)o +(haracters)f(or)f(surrounding)g(double)g(quotes\).)-33 +1257 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1297 a(X3J13)f(v)o(oted)h(in)f(June)i(1989)e +Ft(h)p Fw(40)p Ft(i)g Fw(to)h(sp)q(ecify)g(that)g(if)f +Fs(*print-readably*)d Fw(is)k(not)-33 1269 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1349 a Fs(nil)e Fw(then)i(ev)o(ery)g(ob)r(ject)g(m)o +(ust)e(b)q(e)h(prin)o(ted)h(in)e(a)h(readable)g(form,)e(regardless)k +(of)d(other)0 1401 y(prin)o(ter)18 b(con)o(trol)f(v)n(ariables.)27 +b(F)m(or)16 b(pathnames,)h(the)h(simplest)e(approac)o(h)h(is)g(to)g +(prin)o(t)0 1453 y(them,)e(when)h Fs(*print-readably*)c +Fw(is)k(not)g Fs(nil)p Fw(,)f(as)h(if)e Fs(*print-escape*)f +Fw(w)o(ere)k Fs(nil)p Fw(,)0 1505 y(regardless)e(of)e(its)h(actual)g(v) +n(alue.)-33 1516 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1602 a(Structures)h(de\014ned)f(b)o(y)f +Fs(defstruct)e Fw(are)j(prin)o(ted)g(under)g(the)f(con)o(trol)g(of)g +(the)h(user-)0 1654 y(sp)q(eci\014ed)f Fs(:print-function)c +Fw(option)h(to)i Fs(defstruct)p Fw(.)j(If)c(the)h(user)h(do)q(es)f(not) +g(pro)o(vide)0 1706 y(a)g(prin)o(ting)f(function)h(explicitly)m(,)e +(then)j(a)f(default)g(prin)o(ting)f(function)h(is)g(supplied)g(that)0 +1758 y(prin)o(ts)i(the)h(structure)h(using)d Fs(#)477 +1754 y(-)477 1762 y(-)499 1758 y(S)h Fw(syn)o(tax)g(\(see)h(section)f +(22.1.4\).)42 1810 y(An)o(y)e(other)i(t)o(yp)q(es)g(are)f(prin)o(ted)g +(in)f(an)h(implemen)o(tation-)o(dep)q(enden)o(t)f(manner.)17 +b(It)c(is)-38 1785 y Fk(.)-38 1798 y(.)-38 1811 y(.)-38 +1824 y(.)-38 1837 y(.)-38 1850 y(.)-38 1863 y(.)-38 1876 +y(.)-38 1889 y(.)-38 1902 y(.)-38 1915 y(.)-38 1928 y(.)-38 +1941 y(.)-38 1953 y(.)-38 1966 y(.)-38 1979 y(.)-38 1992 +y(.)-38 2005 y(.)-38 2018 y(.)-38 2031 y(.)-38 2044 y(.)-38 +2057 y(.)-38 2070 y(.)-38 2083 y(.)-38 2096 y(.)-38 2109 +y(.)-38 2122 y(.)-38 2135 y(.)-38 2148 y(.)-38 2161 y(.)-38 +2174 y(.)-38 2187 y(.)-38 2200 y(.)-38 2213 y(.)-38 2226 +y(.)-38 2239 y(.)-38 2252 y(.)-38 2265 y(.)-38 2278 y(.)-38 +2291 y(.)-38 2304 y(.)-38 2317 y(.)-38 2330 y(.)-38 2343 +y(.)-38 2356 y(.)-38 2369 y(.)-38 2382 y(.)-38 2395 y(.)-38 +2408 y(.)-38 2420 y(.)-38 2433 y(.)-38 2446 y(.)-38 2459 +y(.)-38 2472 y(.)-38 2485 y(.)-38 2498 y(.)-38 2511 y(.)-38 +2524 y(.)-38 2537 y(.)-38 2550 y(.)-38 2563 y(.)-38 2576 +y(.)-38 2589 y(.)-38 2602 y(.)-38 2615 y(.)-38 2628 y(.)-38 +2641 y(.)-38 2654 y(.)-38 2667 y(.)-38 2680 y(.)-38 2693 +y(.)-38 2706 y(.)-38 2719 y(.)-38 2732 y(.)-38 2745 y(.)-38 +2758 y(.)-38 2771 y(.)-38 2784 y(.)-38 2797 y(.)-38 2810 +y(.)-38 2823 y(.)-38 2836 y(.)-38 2849 y(.)-38 2862 y(.)-38 +2875 y(.)-38 2887 y(.)-38 2900 y(.)-38 2913 y(.)-38 2926 +y(.)-38 2939 y(.)-38 2952 y(.)-38 2965 y(.)-38 2978 y(.)-38 +2991 y(.)-38 3004 y(.)-38 3017 y(.)-38 3030 y(.)-38 3043 +y(.)-38 3056 y(.)-38 3069 y(.)-38 3082 y(.)-38 3095 y(.)-38 +3108 y(.)-38 3121 y(.)-38 3134 y(.)-38 3147 y(.)-38 3160 +y(.)-38 3173 y(.)-38 3186 y(.)-38 3199 y(.)-38 3212 y(.)-38 +3225 y(.)-38 3238 y(.)-38 3251 y(.)-38 3264 y(.)-38 3277 +y(.)-38 3290 y(.)-38 3303 y(.)-38 3316 y(.)-38 3329 y(.)-38 +3342 y(.)-38 3354 y(.)-38 3367 y(.)-38 3380 y(.)-38 3393 +y(.)-38 3406 y(.)-38 3419 y(.)-38 3432 y(.)-38 3445 y(.)-38 +3458 y(.)-38 3471 y(.)-38 3484 y(.)-38 3497 y(.)-38 3510 +y(.)-38 3523 y(.)-38 3536 y(.)-38 3549 y(.)-38 3562 y(.)-38 +3575 y(.)-38 3588 y(.)-38 3601 y(.)-38 3614 y(.)-38 3627 +y(.)-38 3640 y(.)-38 3653 y(.)-38 3666 y(.)-38 3679 y(.)-38 +3692 y(.)-38 3705 y(.)-38 3718 y(.)-38 3731 y(.)-38 3744 +y(.)-38 3757 y(.)-38 3770 y(.)-38 3783 y(.)-38 3796 y(.)-38 +3809 y(.)-38 3821 y(.)-38 3834 y(.)-38 3847 y(.)-38 3860 +y(.)-38 3873 y(.)-38 3886 y(.)-38 3899 y(.)-38 3912 y(.)-38 +3925 y(.)-38 3938 y(.)-38 3951 y(.)-38 3964 y(.)-38 3977 +y(.)-38 3990 y(.)-38 4003 y(.)-38 4016 y(.)-38 4029 y(.)-38 +4042 y(.)-38 4055 y(.)-38 4068 y(.)-38 4081 y(.)-38 4094 +y(.)-38 4107 y(.)-38 4120 y(.)-38 4133 y(.)-38 4146 y(.)-38 +4159 y(.)-38 4172 y(.)-38 4185 y(.)-38 4198 y(.)-38 4211 +y(.)-38 4224 y(.)-38 4237 y(.)-38 4250 y(.)-38 4263 y(.)-38 +4276 y(.)-38 4288 y(.)-38 4301 y(.)-38 4314 y(.)-38 4327 +y(.)-38 4340 y(.)-38 4353 y(.)-38 4366 y(.)0 1862 y Fw(recommended)h +(that)g(prin)o(ted)h(represen)o(tations)h(of)e(all)f(suc)o(h)i(ob)r +(jects)h(b)q(egin)e(with)g(the)0 1914 y(c)o(haracters)j +Fs(#)199 1910 y(-)199 1918 y(-)221 1914 y(<)e Fw(and)g(end)h(with)f +Fs(>)g Fw(so)h(that)f(the)h(reader)g(will)e(catc)o(h)i(suc)o(h)g(ob)r +(jects)h(and)0 1966 y(not)12 b(p)q(ermit)f(them)g(to)g(b)q(e)i(read)f +(under)g(normal)e(circumstances.)18 b(It)12 b(is)g(sp)q(eci\014cally)g +(and)0 2017 y(purp)q(osely)i Fv(not)g Fw(required)h(that)e(a)h(Commo)o +(n)d(Lisp)j(implem)o(en)o(tation)d(b)q(e)j(able)f(to)h(prin)o(t)0 +2069 y(an)f(ob)r(ject)i(of)e(t)o(yp)q(e)h Fs(hash-table)p +Fw(,)d Fs(readtable)p Fw(,)h Fs(package)p Fw(,)g Fs(stream)p +Fw(,)g(or)h Fs(function)f Fw(in)0 2121 y(a)i(w)o(a)o(y)h(that)f(can)h +(b)q(e)h(read)f(bac)o(k)g(in)f(successfully)i(b)o(y)f +Fs(read)p Fw(;)f(the)h(use)h(of)e Fs(#)1175 2117 y(-)1175 +2125 y(-)1197 2121 y(<)g Fw(syn)o(tax)h(is)0 2173 y(esp)q(ecially)f +(recommended)f(for)h(the)g(prin)o(ting)f(of)g(suc)o(h)i(ob)r(jects.)-33 +2185 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2225 a(X3J13)e(v)o(oted)h(in)f(June)i(1989)e +Ft(h)p Fw(40)p Ft(i)g Fw(to)h(sp)q(ecify)g(that)g(if)f +Fs(*print-readably*)d Fw(is)k(not)-33 2197 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2277 a Fs(nil)h Fw(then)i(ev)o(ery)f(ob)r(ject)h(m)o +(ust)e(b)q(e)h(prin)o(ted)h(in)e(a)h(readable)g(form,)e(regardless)j +(of)e(the)0 2329 y(v)n(alues)c(of)g(other)h(prin)o(ter)f(con)o(trol)g +(v)n(ariables;)g(if)g(this)g(is)g(not)h(p)q(ossible,)f(then)h(an)f +(error)h(of)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 601 625 +601 624 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(601)0 295 y Fw(t)o(yp)q(e)15 b Fs(print-not-readab)o(le)c +Fw(m)o(ust)i(b)q(e)i(signaled)e(to)h(a)o(v)o(oid)f(prin)o(ting)g(an)h +(unreadable)0 347 y(syn)o(tax)g(suc)o(h)g(as)g Fs(#)277 +343 y(-)277 351 y(-)299 347 y(<...>)p Fw(.)42 400 y(X3J13)d(v)o(oted)g +(in)g(June)h(1989)f Ft(h)p Fw(40)p Ft(i)g Fw(to)g(add)g +Fs(print-unreadable-ob)o(ject)o Fw(,)e(a)i(macro)0 452 +y(that)i(prin)o(ts)g(an)g(ob)r(ject)g(using)g Fs(#)496 +448 y(-)496 456 y(-)517 452 y(<...>)f Fw(syn)o(tax)h(and)g(also)f(tak)o +(es)h(care)h(of)e(c)o(hec)o(king)h(the)0 503 y(v)n(ariable)g +Fs(*print-readably*)o Fw(.)-33 515 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 556 a(When)i(debugging)f(or)h(when)h(frequen)o(tly)f +(dealing)f(with)h(large)g(or)g(deep)h(ob)r(jects)g(at)0 +608 y(top)10 b(lev)o(el,)h(the)g(user)g(ma)o(y)e(wish)h(to)h(restrict)h +(the)f(prin)o(ter)g(from)d(prin)o(ting)i(large)g(amoun)o(ts)0 +660 y(of)i(information.)i(The)f(v)n(ariables)e Fs(*print-level*)e +Fw(and)j Fs(*print-length*)e Fw(allo)o(w)g(the)0 712 +y(user)17 b(to)e(con)o(trol)g(ho)o(w)g(deep)h(the)g(prin)o(ter)g(will)e +(prin)o(t)i(and)f(ho)o(w)g(man)o(y)e(elemen)o(ts)j(at)f(a)0 +764 y(giv)o(en)f(lev)o(el)f(the)i(prin)o(ter)g(will)e(prin)o(t.)18 +b(Th)o(us)d(the)f(user)i(can)e(see)h(enough)g(of)e(the)i(ob)r(ject)0 +816 y(to)f(iden)o(tify)f(it)g(without)h(ha)o(ving)f(to)g(w)o(ade)h +(through)g(the)h(en)o(tire)f(expression.)1219 999 y([)p +Fv(V)m(ariable)s Fw(])-1396 b Fs(*print-readably*)-33 +970 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1077 a Fw(The)13 b(default)f(v)n(alue)f(of)h +Fs(*print-readably*)d Fw(is)j Fs(nil)p Fw(.)17 b(If)11 +b Fs(*print-readably*)e Fw(is)j(true,)0 1128 y(then)18 +b(prin)o(ting)e(an)o(y)h(ob)r(ject)h(m)o(ust)e(either)i(pro)q(duce)g(a) +f(prin)o(ted)h(represen)o(tation)h(that)0 1180 y(the)d(reader)g(will)e +(accept)i(or)f(signal)f(an)h(error.)22 b(If)15 b(prin)o(ting)f(is)h +(successful,)i(the)f(reader)0 1232 y(will,)11 b(on)h(reading)g(the)h +(prin)o(ted)g(represen)o(tation,)h(pro)q(duce)f(an)g(ob)r(ject)g(that)f +(is)g(\\similar)0 1284 y(as)i(a)g(constan)o(t")g(\(see)h(section)g +(25.1.4\))d(to)h(the)i(ob)r(ject)g(that)f(w)o(as)f(prin)o(ted.)42 +1337 y(If)e Fs(*print-readably*)d Fw(is)j(true)h(and)g(prin)o(ting)e(a) +i(readable)f(prin)o(ted)h(represen)o(tation)0 1389 y(is)d(not)h(p)q +(ossible,)g(the)g(prin)o(ter)f(signals)g(an)g(error)i(of)d(t)o(yp)q(e)i +Fs(print-not-readable)c Fw(rather)0 1441 y(than)21 b(using)f(an)g +(unreadable)h(syn)o(tax)g(suc)o(h)g(as)g Fs(#)800 1437 +y(-)800 1445 y(-)822 1441 y(<)p Fw(.)38 b(The)21 b(prin)o(ted)g +(represen)o(tation)0 1493 y(pro)q(duced)14 b(when)f Fs(*print-readably) +o(*)d Fw(is)i(true)h(migh)o(t)d(or)j(migh)o(t)d(not)i(b)q(e)h(the)g +(same)f(as)0 1545 y(the)i(prin)o(ted)h(represen)o(tation)g(pro)q(duced) +g(when)g Fs(*print-readably*)10 b Fw(is)k(false.)42 1598 +y(If)19 b Fs(*print-readably*)e Fw(is)k(true)g(and)f(another)h(prin)o +(ter)g(con)o(trol)f(v)n(ariable)f(\(suc)o(h)0 1650 y(as)26 +b Fs(*print-length*)p Fw(,)g Fs(*print-level*)p Fw(,)g +Fs(*print-escape*)p Fw(,)f Fs(*print-gensym*)p Fw(,)0 +1702 y Fs(*print-array*)p Fw(,)9 b(or)i(an)g(implemen)o(tati)o +(on-de\014ned)e(prin)o(ter)j(con)o(trol)f(v)n(ariable\))g(w)o(ould)0 +1753 y(cause)19 b(the)f(preceding)h(requiremen)o(ts)f(to)g(b)q(e)g +(violated,)f(that)h(other)h(prin)o(ter)f(con)o(trol)0 +1805 y(v)n(ariable)13 b(is)h(ignored.)42 1858 y(The)g(prin)o(ting)f(of) +g(in)o(terned)i(sym)o(b)q(ols)d(is)i(not)g(a\013ected)h(b)o(y)f +Fs(*print-readably*)p Fw(.)42 1911 y(Note)20 b(that)f(the)h(\\similar)d +(as)j(a)f(constan)o(t")h(rule)g(for)f(readable)h(prin)o(ting)f(implies) +0 1963 y(that)14 b Fs(#)90 1959 y(-)90 1967 y(-)112 1963 +y(A)f Fw(or)h Fs(#)198 1959 y(-)198 1967 y(-)220 1963 +y(\()f Fw(syn)o(tax)h(cannot)g(b)q(e)g(used)h(for)e(arra)o(ys)h(of)f +(elemen)o(t-t)o(yp)q(e)g(other)i(than)e Fs(t)p Fw(.)0 +2015 y(An)k(implem)o(en)o(tation)c(will)i(ha)o(v)o(e)h(to)h(use)g +(another)g(syn)o(tax)f(or)g(signal)g(a)g Fs(print-not-)0 +2067 y(readable)10 b Fw(error.)19 b(A)12 b Fs(print-not-readable)c +Fw(error)13 b(will)e(not)h(b)q(e)h(signaled)e(for)h(strings)0 +2119 y(or)i(bit-v)o(ectors.)42 2172 y(All)i(metho)q(ds)h(for)g +Fs(print-object)e Fw(m)o(ust)h(ob)q(ey)h Fs(*print-readably*)p +Fw(.)25 b(This)17 b(rule)0 2224 y(applies)d(to)f(b)q(oth)h +(user-de\014ned)i(metho)q(ds)e(and)f(implemen)o(tation-de\014ned)f +(metho)q(ds.)42 2277 y(The)17 b(reader)h(con)o(trol)f(v)n(ariable)f +Fs(*read-eval*)e Fw(also)j(a\013ects)h(prin)o(ting.)26 +b(If)17 b Fs(*read-)0 2329 y(eval*)i Fw(is)i(false)f(and)g +Fs(*print-readably*)e Fw(is)i(true,)j(an)o(y)d Fs(print-object)e +Fw(metho)q(d)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 602 626 +602 625 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(602)77 b(COMMON)13 +b(LISP)0 295 y Fw(that)f(w)o(ould)f(otherwise)i(output)f(a)f +Fs(#)556 291 y(-)556 299 y(-)578 295 y(.)h Fw(reader)h(macro)d(m)o(ust) +h(either)i(output)f(something)0 347 y(di\013eren)o(t)j(or)f(signal)f +(an)g(error)i(of)e(t)o(yp)q(e)i Fs(print-not-readab)o(le)p +Fw(.)42 399 y(Readable)j(prin)o(ting)f(of)h(structures)j(and)d(ob)r +(jects)i(of)e(t)o(yp)q(e)h Fs(standard-object)c Fw(is)0 +451 y(con)o(trolled)20 b(b)o(y)h(their)g Fs(print-object)d +Fw(metho)q(ds,)j(not)f(b)o(y)h(their)g Fs(make-load-form)0 +503 y Fw(metho)q(ds.)16 b(\\Similarit)o(y)7 b(as)j(a)h(constan)o(t")f +(for)g(these)i(ob)r(jects)f(is)f(application-dep)q(enden)o(t)0 +555 y(and)k(hence)h(is)f(de\014ned)h(to)e(b)q(e)i(whatev)o(er)g(these)g +(metho)q(ds)e(do.)42 607 y Fs(*print-readably)o(*)i Fw(allo)o(ws)h +(errors)i(in)o(v)o(olving)d(data)i(with)h(no)f(readable)g(prin)o(ted)0 +659 y(represen)o(tation)e(to)d(b)q(e)i(detected)h(when)f(writing)e(the) +i(\014le)f(rather)g(than)g(later)g(on)g(when)0 711 y(the)h(\014le)g(is) +g(read.)42 763 y Fs(*print-readably)o(*)c Fw(is)i(more)g(rigorous)g +(than)h Fs(*print-escape*)p Fw(;)d(output)i(prin)o(ted)0 +815 y(with)i(escap)q(es)j(m)o(ust)c(b)q(e)i(merely)f(generally)g +(recognizable)h(b)o(y)g(h)o(umans,)e(with)h(a)g(go)q(o)q(d)0 +867 y(c)o(hance)h(of)f(b)q(eing)g(recognizable)g(b)o(y)g(computers,)g +(whereas)h(output)g(prin)o(ted)f(readably)0 919 y(m)o(ust)f(b)q(e)h +(reliably)f(recognizable)i(b)o(y)e(computers.)-33 930 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1219 1065 a([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(*print-escape*)0 1142 y Fw(When)19 b(this)f(\015ag)g(is)g +Fs(nil)p Fw(,)h(then)g(escap)q(e)h(c)o(haracters)g(are)f(not)f(output)h +(when)f(an)h(ex-)0 1194 y(pression)c(is)g(prin)o(ted.)20 +b(In)15 b(particular,)e(a)i(sym)o(b)q(ol)d(is)j(prin)o(ted)g(b)o(y)f +(simply)e(prin)o(ting)i(the)0 1246 y(c)o(haracters)19 +b(of)d(its)g(prin)o(t)h(name.)25 b(The)18 b(function)e +Fs(princ)g Fw(e\013ectiv)o(ely)h(binds)g Fs(*print-)0 +1297 y(escape*)12 b Fw(to)i Fs(nil)p Fw(.)42 1350 y(When)g(this)g +(\015ag)g(is)g(not)g Fs(nil)p Fw(,)g(then)h(an)f(attempt)f(is)h(made)f +(to)h(prin)o(t)h(an)f(expression)0 1402 y(in)g(suc)o(h)h(a)g(w)o(a)o(y) +f(that)g(it)g(can)h(b)q(e)g(read)h(again)d(to)h(pro)q(duce)i(an)f +Fs(equal)e Fw(structure.)22 b(The)0 1454 y(function)17 +b Fs(prin1)f Fw(e\013ectiv)o(ely)h(binds)g Fs(*print-escape*)e +Fw(to)h Fs(t)p Fw(.)28 b(The)17 b(initial)e(v)n(alue)h(of)0 +1505 y(this)e(v)n(ariable)f(is)g Fs(t)p Fw(.)p 0 1565 +V 0 1626 a Fm(Compatibilit)o(y)j(note:)24 b Fj(*print-e)o(sca)o(pe*)12 +b FA(con)o(trols)18 b(what)e(w)o(as)g(called)i Fq(slashi\014c)n(atio)o +(n)13 b FA(in)0 1671 y(MacLisp.)p 0 1710 V 1219 1835 +a Fw([)p Fv(V)m(ariable)s Fw(])-1396 b Fs(*print-pretty*)0 +1912 y Fw(When)12 b(this)g(\015ag)f(is)h Fs(nil)p Fw(,)f(then)i(only)e +(a)g(small)f(amoun)o(t)g(of)h(whitespace)i(is)f(output)g(when)0 +1964 y(prin)o(ting)h(an)h(expression.)42 2017 y(When)j(this)h(\015ag)f +(is)h(not)g Fs(nil)p Fw(,)f(then)h(the)h(prin)o(ter)f(will)e(endea)o(v) +o(or)i(to)g(insert)g(extra)0 2069 y(whitespace)f(where)f(appropriate)f +(to)h(mak)o(e)e(the)i(expression)g(more)e(readable.)23 +b(A)16 b(few)0 2120 y(other)f(simple)f(c)o(hanges)h(ma)o(y)e(b)q(e)i +(made,)e(suc)o(h)j(as)f(prin)o(ting)968 2124 y Fn(')992 +2120 y Fs(foo)f Fw(instead)h(of)f Fs(\(quote)0 2172 y(foo\))p +Fw(.)42 2225 y(The)g(initial)e(v)n(alue)h(of)g Fs(*print-pretty*)e +Fw(is)j(implemen)o(tatio)o(n-dep)q(enden)o(t.)42 2277 +y(X3J13)i(v)o(oted)g(in)g(Jan)o(uary)g(1989)g Ft(h)p +Fw(139)p Ft(i)g Fw(to)g(adopt)g(a)g(facilit)o(y)f(for)h(user-con)o +(trolled)-33 2249 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a(prett)o(y)f(prin)o(ting)e(in)g(Common)e(Lisp)i +(\(see)j(c)o(hapter)f(27\).)-33 2340 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 603 627 +603 626 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(603)1219 295 y Fw([)p Fv(V)m(ariable)s Fw(])-1396 b +Fs(*print-circle*)0 373 y Fw(When)19 b(this)f(\015ag)g(is)g +Fs(nil)g Fw(\(the)h(default\),)g(then)h(the)f(prin)o(ting)e(pro)q(cess) +k(pro)q(ceeds)f(b)o(y)0 425 y(recursiv)o(e)13 b(descen)o(t;)g(an)e +(attempt)g(to)g(prin)o(t)g(a)g(circular)g(structure)j(ma)o(y)9 +b(lead)i(to)g(lo)q(oping)0 477 y(b)q(eha)o(vior)j(and)f(failure)g(to)h +(terminate.)42 531 y(When)i(this)g(\015ag)g(is)g(not)g +Fs(nil)p Fw(,)f(then)i(the)g(prin)o(ter)g(will)d(endea)o(v)o(or)j(to)f +(detect)i(cycles)-38 506 y Fk(.)-38 519 y(.)-38 532 y(.)-38 +544 y(.)-38 557 y(.)-38 570 y(.)-38 583 y(.)-38 596 y(.)-38 +609 y(.)-38 622 y(.)-38 635 y(.)-38 648 y(.)-38 661 y(.)-38 +674 y(.)-38 687 y(.)-38 700 y(.)-38 713 y(.)-38 726 y(.)-38 +739 y(.)-38 752 y(.)-38 765 y(.)-38 778 y(.)-38 791 y(.)-38 +804 y(.)-38 817 y(.)-38 830 y(.)-38 843 y(.)-38 856 y(.)-38 +869 y(.)-38 882 y(.)-38 895 y(.)-38 908 y(.)-38 921 y(.)-38 +934 y(.)-38 947 y(.)-38 960 y(.)-38 973 y(.)-38 986 y(.)-38 +999 y(.)-38 1011 y(.)-38 1024 y(.)-38 1037 y(.)-38 1050 +y(.)-38 1063 y(.)-38 1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 +1115 y(.)-38 1128 y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 +y(.)-38 1180 y(.)-38 1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 +1232 y(.)-38 1245 y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 +y(.)-38 1297 y(.)-38 1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 +1349 y(.)-38 1362 y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 +y(.)-38 1414 y(.)-38 1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 +1466 y(.)-38 1478 y(.)-38 1491 y(.)-38 1504 y(.)-38 1517 +y(.)-38 1530 y(.)-38 1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 +1582 y(.)-38 1595 y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 +y(.)-38 1647 y(.)-38 1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 +1699 y(.)-38 1712 y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 +y(.)-38 1764 y(.)-38 1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 +1816 y(.)-38 1829 y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 +y(.)-38 1881 y(.)-38 1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 +1933 y(.)-38 1945 y(.)-38 1958 y(.)-38 1971 y(.)-38 1984 +y(.)-38 1997 y(.)-38 2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 +2049 y(.)-38 2062 y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 +y(.)-38 2114 y(.)-38 2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 +2166 y(.)-38 2179 y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 +y(.)-38 2231 y(.)-38 2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 +2283 y(.)-38 2296 y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 +y(.)-38 2348 y(.)-38 2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 +2400 y(.)-38 2412 y(.)-38 2425 y(.)-38 2438 y(.)-38 2451 +y(.)-38 2464 y(.)-38 2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 +2516 y(.)-38 2529 y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 +y(.)-38 2581 y(.)-38 2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 +2633 y(.)-38 2646 y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 +y(.)-38 2698 y(.)-38 2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 +2750 y(.)-38 2763 y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 +y(.)-38 2815 y(.)-38 2828 y(.)-38 2841 y(.)-38 2854 y(.)-38 +2867 y(.)-38 2879 y(.)-38 2892 y(.)-38 2905 y(.)-38 2918 +y(.)-38 2931 y(.)-38 2944 y(.)-38 2957 y(.)-38 2970 y(.)-38 +2983 y(.)-38 2996 y(.)-38 3009 y(.)-38 3022 y(.)-38 3035 +y(.)-38 3048 y(.)-38 3061 y(.)-38 3074 y(.)-38 3087 y(.)0 +582 y Fw(in)13 b(the)h(structure)h(to)e(b)q(e)h(prin)o(ted,)f(and)g(to) +g(use)h Fs(#)758 578 y(-)758 586 y(-)780 582 y Fv(n)803 +578 y Fs(U)803 586 y(U)839 582 y Fw(and)f Fs(#)919 578 +y(-)919 586 y(-)940 582 y Fv(n)p Fs(#)963 578 y(-)963 +586 y(-)999 582 y Fw(syn)o(tax)g(to)g(indicate)g(the)0 +634 y(circularities.)-33 646 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 688 a(X3J13)g(v)o(oted)g(in)h(June)g(1989)e +Ft(h)p Fw(142)p Ft(i)h Fw(to)h(sp)q(ecify)g(that)g(if)e +Fs(*print-circle*)f Fw(is)i(true,)-33 660 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 740 a(the)21 b(prin)o(ter)h(is)e(required)i(to)f(detect) +h(not)f(only)f(cycles)i(but)f(shared)h(substructure,)0 +792 y(indicating)c(b)q(oth)i(through)g(the)g(use)g(of)f +Fs(#)673 788 y(-)673 796 y(-)695 792 y Fv(n)721 788 y +Fs(U)721 796 y(U)762 792 y Fw(and)h Fs(#)849 788 y(-)849 +796 y(-)871 792 y Fv(n)s Fs(#)897 788 y(-)897 796 y(-)938 +792 y Fw(syn)o(tax.)35 b(As)20 b(an)f(example,)0 844 +y(under)c(the)f(sp)q(eci\014cation)h(of)e(the)i(\014rst)f(edition)0 +946 y Fs(\(print)150 950 y Fn(')173 946 y Fs(\(#)195 +942 y(-)195 950 y(-)217 946 y(1)239 942 y(U)239 950 y(U)260 +946 y(\(a)21 b(#)325 942 y(-)325 950 y(-)347 946 y(1#)369 +942 y(-)369 950 y(-)390 946 y(\))g(#)433 942 y(-)433 +950 y(-)455 946 y(1#)477 942 y(-)477 950 y(-)499 946 +y(\)\))0 1046 y Fw(migh)o(t)16 b(legitimately)g(prin)o(t)j +Fs(\(#)485 1042 y(-)485 1050 y(-)506 1046 y(1)528 1042 +y(U)528 1050 y(U)550 1046 y(\(A)h(#)614 1042 y(-)614 +1050 y(-)636 1046 y(1#)658 1042 y(-)658 1050 y(-)680 +1046 y(\))h(#)723 1042 y(-)723 1050 y(-)745 1046 y(1#)767 +1042 y(-)767 1050 y(-)788 1046 y(\))d Fw(or)h Fs(\(#)906 +1042 y(-)906 1050 y(-)927 1046 y(1)949 1042 y(U)949 1050 +y(U)971 1046 y(\(A)i(#)1036 1042 y(-)1036 1050 y(-)1058 +1046 y(1#)1080 1042 y(-)1080 1050 y(-)1101 1046 y(\))g(#)1144 +1042 y(-)1144 1050 y(-)1166 1046 y(2)1188 1042 y(U)1188 +1050 y(U)1210 1046 y(\(A)f(#)1274 1042 y(-)1274 1050 +y(-)1296 1046 y(2#)1318 1042 y(-)1318 1050 y(-)1340 1046 +y(\)\))p Fw(;)0 1098 y(the)14 b(v)o(ote)g(sp)q(eci\014es)i(that)e(the)h +(\014rst)f(form)e(is)i(required.)-33 1110 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1152 a(X3J13)k(v)o(oted)g(in)g(Jan)o(uary)g(1989)g +Ft(h)p Fw(143)p Ft(i)f Fw(to)i(sp)q(ecify)g(that)f(user-de\014ned)j +(prin)o(ting)-33 1123 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1204 a(functions)12 b(for)g(the)h Fs(defstruct)e +(:print-function)e Fw(option,)i(as)i(w)o(ell)e(as)i(user-de\014ned)0 +1256 y(metho)q(ds)h(for)g(the)h(CLOS)g(generic)g(function)f +Fs(print-object)p Fw(,)e(ma)o(y)g(prin)o(t)i(ob)r(jects)i(to)0 +1307 y(the)h(supplied)f(stream)f(using)h Fs(write)p Fw(,)f +Fs(print1)p Fw(,)g Fs(princ)p Fw(,)g Fs(format)p Fw(,)f(or)i +Fs(print-object)0 1359 y Fw(and)g(exp)q(ect)i(circularities)e(to)g(b)q +(e)h(detected)h(and)e(prin)o(ted)g(using)g Fs(#)1063 +1355 y(-)1063 1363 y(-)1085 1359 y Fv(n)s Fs(#)1111 1355 +y(-)1111 1363 y(-)1149 1359 y Fw(syn)o(tax)g(\(when)0 +1411 y Fs(*print-circle*)11 b Fw(is)j(non-)p Fs(nil)p +Fw(,)e(of)h(course\).)42 1465 y(It)h(seems)g(to)g(me)f(that)i(the)g +(same)e(ough)o(t)h(to)g(apply)f(to)h(abbreviation)g(as)g(con)o(trolled) +0 1517 y(b)o(y)f Fs(*print-level*)e Fw(and)i Fs(*print-length*)p +Fw(,)d(but)j(that)h(w)o(as)f(not)g(addressed)j(b)o(y)d(this)0 +1569 y(v)o(ote.)-33 1580 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1219 1779 a([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(*print-base*)0 1857 y Fw(The)17 b(v)n(alue)g(of)f +Fs(*print-base*)e Fw(determines)k(in)e(what)h(radix)f(the)i(prin)o(ter) +f(will)f(prin)o(t)0 1909 y(rationals.)k(This)14 b(ma)o(y)f(b)q(e)i(an)o +(y)f(in)o(teger)i(from)c Fs(2)j Fw(to)f Fs(36)p Fw(,)g(inclusiv)o(e;)h +(the)g(default)f(v)n(alue)0 1961 y(is)h Fs(10)g Fw(\(decimal)e +(radix\).)22 b(F)m(or)15 b(radices)h(ab)q(o)o(v)o(e)f +Fs(10)p Fw(,)f(letters)j(of)d(the)i(alphab)q(et)f(are)h(used)0 +2013 y(to)e(represen)o(t)i(digits)d(ab)q(o)o(v)o(e)h +Fs(9)p Fw(.)p 0 2073 V 0 2135 a Fm(Compatibilit)o(y)f(note:)19 +b FA(MacLisp)d(calls)f(this)g(v)n(ariable)h Fj(base)p +FA(,)c(and)i(its)h(default)g(v)n(alue)g(is)f Fj(8)p FA(,)0 +2180 y(not)f Fj(10)p FA(.)42 2228 y(In)i(b)q(oth)h(MacLisp)h(and)f +(Common)f(Lisp,)i(\015oating-p)q(oin)o(t)h(n)o(um)o(b)q(ers)e(are)g +(alw)o(a)o(ys)g(prin)o(ted)0 2273 y(in)e(decimal,)g(no)g(matter)f(what) +g(the)g(v)n(alue)h(of)f Fj(*print-ba)o(se)o(*)p FA(.)p +0 2329 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 604 628 +604 627 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(604)77 b(COMMON)13 +b(LISP)1219 295 y Fw([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(*print-radix*)0 372 y Fw(If)12 b(the)h(v)n(ariable)e +Fs(*print-radix*)e Fw(is)k(non-)p Fs(nil)p Fw(,)e(the)i(prin)o(ter)f +(will)f(prin)o(t)h(a)g(radix)g(sp)q(eci-)0 423 y(\014er)h(to)f +(indicate)g(the)g(radix)g(in)f(whic)o(h)h(it)g(is)g(prin)o(ting)f(a)h +(rational)f(n)o(um)o(b)q(er.)16 b(T)m(o)c(prev)o(en)o(t)0 +475 y(confusion)k(of)g(the)h(letter)g Fs(O)f Fw(with)g(the)h(digit)f +Fs(0)p Fw(,)g(and)g(of)g(the)h(letter)h Fs(B)e Fw(with)g(the)h(digit)0 +527 y Fs(8)p Fw(,)e(the)h(radix)f(sp)q(eci\014er)i(is)e(alw)o(a)o(ys)g +(prin)o(ted)g(using)h(lo)o(w)o(ercase)g(letters.)23 b(F)m(or)15 +b(example,)0 579 y(if)e(the)i(curren)o(t)g(base)g(is)f(t)o(w)o(en)o(t)o +(y-four)f(\(decimal\),)f(the)j(decimal)d(in)o(teger)i(t)o(w)o(en)o(t)o +(y-three)0 631 y(w)o(ould)f(prin)o(t)g(as)g Fs(#)273 +627 y(-)273 635 y(-)295 631 y(24rN)p Fw(.)f(If)h Fs(*print-base*)e +Fw(is)i Fs(2)p Fw(,)g Fs(8)p Fw(,)f(or)i Fs(16)p Fw(,)e(then)i(the)g +(radix)f(sp)q(eci\014er)0 683 y(used)h(is)g Fs(#)136 +679 y(-)136 687 y(-)158 683 y(b)p Fw(,)e Fs(#)204 679 +y(-)204 687 y(-)226 683 y(o)p Fw(,)h(or)g Fs(#)323 679 +y(-)323 687 y(-)345 683 y(x)p Fw(.)18 b(F)m(or)13 b(in)o(tegers,)h +(base)g(ten)g(is)f(indicated)h(b)o(y)f(a)g(trailing)f(decimal)0 +735 y(p)q(oin)o(t)17 b(instead)g(of)g(a)f(leading)h(radix)f(sp)q +(eci\014er;)k(for)d(ratios,)g(ho)o(w)o(ev)o(er,)h Fs(#)1153 +731 y(-)1153 739 y(-)1175 735 y(10r)e Fw(is)h(used.)0 +787 y(The)d(default)g(v)n(alue)f(of)g Fs(*print-radix*)f +Fw(is)h Fs(nil)p Fw(.)1219 903 y([)p Fv(V)m(ariable)s +Fw(])-1396 b Fs(*print-case*)0 980 y Fw(The)14 b Fs(read)f +Fw(function)h(normally)d(con)o(v)o(erts)k(lo)o(w)o(ercase)g(c)o +(haracters)h(app)q(earing)e(in)f(sym-)0 1032 y(b)q(ols)19 +b(to)f(corresp)q(onding)i(upp)q(ercase)g(c)o(haracters,)i(so)c(that)h +(in)o(ternally)f(prin)o(t)h(names)0 1083 y(normally)c(con)o(tain)j +(only)f(upp)q(ercase)j(c)o(haracters.)33 b(Ho)o(w)o(ev)o(er,)19 +b(users)h(ma)o(y)c(prefer)j(to)0 1135 y(see)j(output)e(using)g(lo)o(w)o +(ercase)h(letters)h(or)e(letters)i(of)d(mixed)g(case.)39 +b(This)20 b(v)n(ariable)0 1187 y(con)o(trols)e(the)g(case)g(\(upp)q +(er,)h(lo)o(w)o(er,)e(or)h(mixed\))e(in)h(whic)o(h)g(to)g(prin)o(t)h +(an)o(y)f(upp)q(ercase)0 1239 y(c)o(haracters)d(in)e(the)h(names)f(of)g +(sym)o(b)q(ols)f(when)i(v)o(ertical-bar)f(syn)o(tax)g(is)g(not)h(used.) +18 b(The)0 1291 y(v)n(alue)d(of)g Fs(*print-case*)e Fw(should)i(b)q(e)h +(one)g(of)e(the)i(k)o(eyw)o(ords)g Fs(:upcase)p Fw(,)e +Fs(:downcase)p Fw(,)0 1343 y(or)g Fs(:capitalize)p Fw(;)d(the)j +(initial)e(v)n(alue)i(is)f Fs(:upcase)p Fw(.)42 1395 +y(Lo)o(w)o(ercase)i(c)o(haracters)g(in)f(the)h(in)o(ternal)e(prin)o(t)h +(name)f(are)i(alw)o(a)o(ys)e(prin)o(ted)h(in)g(lo)o(w-)0 +1447 y(ercase,)h(and)e(are)h(preceded)i(b)o(y)e(a)f(single)g(escap)q(e) +i(c)o(haracter)g(or)f(enclosed)h(b)o(y)e(m)o(ultiple)0 +1499 y(escap)q(e)f(c)o(haracters.)18 b(Upp)q(ercase)13 +b(c)o(haracters)f(in)d(the)i(in)o(ternal)f(prin)o(t)g(name)f(are)h +(prin)o(ted)0 1550 y(in)j(upp)q(ercase,)h(in)f(lo)o(w)o(ercase,)g(or)g +(in)g(mixed)e(case)j(so)g(as)f(to)g(capitalize)f(w)o(ords,)h(accord-)0 +1602 y(ing)18 b(to)h(the)h(v)n(alue)e(of)g Fs(*print-case*)p +Fw(.)31 b(The)19 b(con)o(v)o(en)o(tion)g(for)g(what)g(constitutes)h(a)0 +1654 y(\\w)o(ord")13 b(is)h(the)g(same)f(as)h(for)g(the)g(function)g +Fs(string-capitalize)p Fw(.)42 1706 y(X3J13)e(v)o(oted)i(in)e(June)i +(1989)e Ft(h)p Fw(141)p Ft(i)h Fw(to)g(clarify)f(the)i(in)o(teraction)f +(of)f Fs(*print-case*)-33 1678 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1758 a Fw(with)j Fs(*print-escape*)p Fw(.)j(When)e +Fs(*print-escape*)c Fw(is)j Fs(nil)p Fw(,)f Fs(*print-case*)f +Fw(deter-)0 1810 y(mines)i(the)i(case)g(in)f(whic)o(h)g(to)g(prin)o(t)g +(all)e(upp)q(ercase)19 b(c)o(haracters)f(in)d(the)i(prin)o(t)f(name)0 +1862 y(of)h(the)h(sym)o(b)q(ol.)27 b(When)17 b Fs(*print-escape*)e +Fw(is)i(not)g Fs(nil)p Fw(,)h(the)g(implem)o(en)o(tation)d(has)0 +1914 y(some)i(freedom)g(as)g(to)h(whic)o(h)g(c)o(haracters)h(will)d(b)q +(e)i(prin)o(ted)h(so)e(as)h(to)g(app)q(ear)g(in)f(an)0 +1966 y(\\escap)q(e)f(con)o(text")e(\(after)h(an)f(escap)q(e)i(c)o +(haracter,)f(t)o(ypically)e Fs(\\)p Fw(,)g(or)h(b)q(et)o(w)o(een)i(m)o +(ultiple)0 2017 y(escap)q(e)i(c)o(haracters,)g(t)o(ypically)d +Fs(|)p Fw(\);)i Fs(*print-case*)d Fw(determines)j(the)g(case)g(in)f +(whic)o(h)0 2069 y(to)g(prin)o(t)h(all)e(upp)q(ercase)k(c)o(haracters)f +(that)e(will)g(not)g(app)q(ear)h(in)f(an)g(escap)q(e)i(con)o(text.)0 +2121 y(F)m(or)11 b(example,)f(when)i(the)g(v)n(alue)f(of)g +Fs(*print-case*)e Fw(is)i Fs(:upcase)p Fw(,)f(an)h(implemen)o(tation)0 +2173 y(migh)o(t)j(c)o(ho)q(ose)j(to)g(prin)o(t)f(the)h(sym)o(b)q(ol)d +(whose)j(prin)o(t)g(name)e(is)h Fs("\(S\)HE")f Fw(as)h +Fs(\\\(S\\\)HE)0 2225 y Fw(or)g(as)g Fs(|\(S\)HE|)p Fw(,)e(among)g +(other)j(p)q(ossibilities.)23 b(When)16 b(the)h(v)n(alue)e(of)g +Fs(*print-case*)0 2277 y Fw(is)h Fs(:downcase)p Fw(,)f(the)i(corresp)q +(onding)g(output)f(should)g(b)q(e)h Fs(\\\(s\\\)he)e +Fw(or)h Fs(|\(S\)HE|)p Fw(,)f(re-)0 2329 y(sp)q(ectiv)o(ely)m(.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 605 629 +605 628 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(605)42 295 y Fw(Consider)12 b(the)g(follo)o(wing)e(test)j(co)q(de.)18 +b(\(F)m(or)12 b(the)g(sak)o(e)g(of)g(this)g(example)e(assume)i(that)0 +347 y Fs(readtable-case)d Fw(is)j Fs(:upcase)e Fw(in)h(the)i(curren)o +(t)g(readtable;)g(this)f(is)f(discussed)j(further)0 399 +y(b)q(elo)o(w.\))0 487 y Fs(\(let)20 b(\(\(tabwidth)f(11\)\))42 +538 y(\(dolist)h(\(sym)322 542 y Fn(')346 538 y Fs(\(|x|)g(|FoObAr|)f +(|fOo|\)\))85 590 y(\(let)h(\(\(tabstop)f(-1\)\))127 +642 y(\(format)h(t)h(")364 646 y Fn(~)387 642 y Fs(&"\))127 +694 y(\(dolist)f(\(escape)472 698 y Fn(')496 694 y Fs(\(t)g(nil\)\))169 +746 y(\(dolist)g(\(case)471 750 y Fn(')494 746 y Fs(\(:upcase)g +(:downcase)f(:capitalize\)\))212 798 y(\(format)g(t)i(")448 +802 y Fn(~)471 798 y Fs(VT")g(\(*)g(\(incf)f(tabstop\))f(tabwidth\)\)) +212 850 y(\(write)h(sym)g(:escape)g(escape)g(:case)g(case\)\)\)\)\))42 +902 y(\(format)g(t)h(")g(\045"\)\))0 990 y Fw(An)14 b(implem)o(en)o +(tation)c(that)k(leans)f(hea)o(vily)g(on)g(m)o(ultiple-escap)q(e)g(c)o +(haracters)i(\(v)o(ertical)0 1041 y(bars\))f(migh)o(t)e(pro)q(duce)j +(the)g(follo)o(wing)c(output:)0 1129 y Fs(|x|)169 b(|x|)f(|x|)h(x)212 +b(x)f(x)0 1181 y(|FoObAr|)62 b(|FoObAr|)g(|FoObAr|)g(FoObAr)104 +b(foobar)h(Foobar)0 1233 y(|fOo|)126 b(|fOo|)g(|fOo|)g(fOo)169 +b(foo)f(foo)0 1321 y Fw(An)24 b(implemen)o(tation)c(that)k(leans)g(hea) +o(vily)f(on)h(single-escap)q(e)h(c)o(haracters)h(\(bac)o(k-)0 +1373 y(slashes\))15 b(migh)o(t)d(pro)q(duce)j(the)f(follo)o(wing)e +(output:)0 1461 y Fs(\\x)190 b(\\x)g(\\x)g(x)212 b(x)f(x)0 +1513 y(F\\oO\\bA\\r)40 b(f\\oo\\ba\\r)h(F\\oo\\ba\\r)f(FoObAr)105 +b(foobar)g(Foobar)0 1565 y(\\fO\\o)126 b(\\fo\\o)g(\\fo\\o)g(fOo)169 +b(foo)f(foo)0 1653 y Fw(These)16 b(examples)f(are)g(not)h(exhaustiv)o +(e;)f(output)h(using)f(b)q(oth)g(kinds)g(of)g(escap)q(e)i(c)o(har-)0 +1705 y(acters)e(\(for)f(example,)e Fs(|FoO|\\bA\\r)p +Fw(\))g(is)i(p)q(ermissible)f(\(though)h(ugly\).)42 1757 +y(X3J13)19 b(v)o(oted)h(in)g(June)g(1989)f Ft(h)p Fw(150)p +Ft(i)h Fw(to)f(add)h(a)g(new)g Fs(readtable-case)d Fw(slot)j(to)0 +1809 y(readtables)11 b(to)g(con)o(trol)f(automatic)e(case)k(con)o(v)o +(ersion)e(during)h(the)g(reading)f(of)g(sym)o(b)q(ols.)0 +1860 y(The)h(v)n(alue)f(of)g Fs(readtable-case)d Fw(in)j(the)h(curren)o +(t)h(readtable)f(also)f(a\013ects)h(the)h(prin)o(ting)0 +1912 y(of)e(unescap)q(ed)j(letters)f(\(letters)h(app)q(earing)e(in)f +(an)h(escap)q(e)h(con)o(text)g(are)f(alw)o(a)o(ys)f(prin)o(ted)0 +1964 y(in)j(their)i(o)o(wn)e(case\).)0 2028 y Fu(.)42 +2037 y Fw(If)h Fs(readtable-case)d Fw(is)j Fs(:upcase)p +Fw(,)f(unescap)q(ed)j(upp)q(ercase)h(letters)f(are)e(prin)o(ted)h(in)42 +2089 y(the)k(case)i(sp)q(eci\014ed)f(b)o(y)f Fs(*print-case*)e +Fw(and)i(unescap)q(ed)i(lo)o(w)o(ercase)f(letters)g(are)42 +2140 y(prin)o(ted)e(in)g(their)h(o)o(wn)f(case.)32 b(\(If)18 +b Fs(*print-escape*)e Fw(is)i(non-)p Fs(nil)p Fw(,)g(all)f(lo)o(w)o +(ercase)42 2192 y(letters)e(will)d(necessarily)j(b)q(e)g(escap)q(ed.\)) +0 2268 y Fu(.)42 2277 y Fw(If)g Fs(readtable-case)f Fw(is)i +Fs(:downcase)p Fw(,)f(unescap)q(ed)j(lo)o(w)o(ercase)f(letters)h(are)e +(prin)o(ted)42 2329 y(in)c(the)h(case)h(sp)q(eci\014ed)g(b)o(y)f +Fs(*print-case*)d Fw(and)j(unescap)q(ed)h(upp)q(ercase)h(letters)f(are) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 606 630 +606 629 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(606)77 b(COMMON)13 +b(LISP)42 295 y Fw(prin)o(ted)k(in)g(their)h(o)o(wn)f(case.)30 +b(\(If)18 b Fs(*print-escape*)c Fw(is)j(non-)p Fs(nil)p +Fw(,)g(all)g(upp)q(ercase)42 347 y(letters)e(will)d(necessarily)j(b)q +(e)g(escap)q(ed.\))0 432 y Fu(.)42 441 y Fw(If)e Fs(readtable-case)d +Fw(is)k Fs(:preserve)p Fw(,)d(all)i(unescap)q(ed)i(letters)g(are)f +(prin)o(ted)g(in)f(their)42 493 y(o)o(wn)k(case,)i(regardless)h(of)d +(the)h(v)n(alue)g(of)f Fs(*print-case*)p Fw(.)27 b(There)20 +b(is)d(no)h(need)h(to)42 545 y(escap)q(e)d(an)o(y)f(letters,)h(ev)o(en) +g(if)f Fs(*print-escape*)d Fw(is)j(non-)p Fs(nil)p Fw(,)f(though)h(the) +h(X3J13)42 597 y(v)o(ote)d(did)h(not)g(prohibit)f(escaping)h(letters)h +(in)f(this)g(situation.)0 682 y Fu(.)42 691 y Fw(If)e +Fs(readtable-case)f Fw(is)i Fs(:invert)p Fw(,)e(and)i(if)f(all)g +(unescap)q(ed)j(letters)g(are)e(of)g(the)h(same)42 743 +y(case,)j(then)g(the)g(case)h(of)d(all)h(the)h(unescap)q(ed)h(letters)g +(is)e(in)o(v)o(erted;)i(but)e(if)g(the)h(un-)42 795 y(escap)q(ed)f +(letters)f(are)g(not)g(all)e(of)h(the)h(same)e(case)j(then)f(eac)o(h)g +(is)f(prin)o(ted)h(in)f(its)g(o)o(wn)42 847 y(case.)20 +b(\(Th)o(us)15 b Fs(:invert)e Fw(do)q(es)i(not)f(alw)o(a)o(ys)g(in)o(v) +o(ert)g(the)h(case;)g(the)g(in)o(v)o(ersion)f(is)h(con-)42 +898 y(ditional.\))20 b(There)c(is)f(no)g(need)h(to)f(escap)q(e)i(an)o +(y)d(letters,)j(ev)o(en)e(if)g Fs(*print-escape*)42 950 +y Fw(is)e(non-)p Fs(nil)p Fw(,)f(though)h(the)i(X3J13)e(v)o(ote)g(did)g +(not)h(prohibit)f(escaping)h(letters)h(in)e(this)42 1002 +y(situation.)0 1085 y(Consider)h(the)h(follo)o(wing)c(co)q(de.)0 +1181 y Fs(;;;)21 b(Generate)e(a)i(table)f(illustrating)f +(READTABLE-CASE)f(and)j(*PRINT-CASE*.)0 1285 y(\(let)f(\(\(*readtable*) +f(\(copy-readtable)f(nil\)\))127 1337 y(\(*print-case*)h +(*print-case*\)\))42 1389 y(\(format)h(t)h("READTABLE-CASE)d +(*PRINT-CASE*)40 b(Symbol-name)g(Output)1323 1393 y Fn(~)231 +1445 y(~)254 1441 y Fs(\045-----------------)o(----)o(----)-19 +b(------------------)o(-----)o(--)1351 1445 y Fn(~)231 +1497 y(~)254 1493 y Fs(\045"\))42 1545 y(\(dolist)20 +b(\(readtable-case)562 1549 y Fn(')585 1545 y Fs(\(:upcase)g(:downcase) +f(:preserve)g(:invert\)\))85 1597 y(\(setf)h(\(readtable-case)e +(*readtable*\))h(readtable-case\))85 1648 y(\(dolist)g(\(print-case)517 +1652 y Fn(')540 1648 y Fs(\(:upcase)h(:downcase)f(:capitalize\)\))127 +1700 y(\(dolist)h(\(sym)407 1704 y Fn(')430 1700 y Fs(\(|ZEBRA|)g +(|Zebra|)f(|zebra|\)\))169 1752 y(\(setq)i(*print-case*)d(print-case\)) +169 1804 y(\(format)i(t)h(":)428 1808 y Fn(~)451 1804 +y Fs(A)471 1808 y Fn(~)494 1804 y Fs(15T:)580 1808 y +Fn(~)602 1804 y Fs(A)622 1808 y Fn(~)645 1804 y Fs(29T)709 +1808 y Fn(~)732 1804 y Fs(A)752 1808 y Fn(~)775 1804 +y Fs(42T)839 1808 y Fn(~)861 1804 y Fs(A)881 1808 y Fn(~)904 +1804 y Fs(\045")381 1856 y(\(string-upcase)d(readtable-case\))381 +1908 y(\(string-upcase)g(print-case\))381 1960 y(\(symbol-name)h(sym\)) +381 2012 y(\(prin1-to-string)f(sym\)\)\)\)\)\)\))0 2120 +y Fw(Note)j(that)g(the)g(call)f(to)g Fs(prin1-to-string)e +Fw(\(the)j(last)f(argumen)o(t)g(in)g(the)h(call)f(to)0 +2172 y Fs(format)15 b Fw(that)i(is)f(within)g(the)h(nested)h(lo)q +(ops\))e(e\013ectiv)o(ely)i(uses)f(a)g(non-)p Fs(nil)e +Fw(v)n(alue)h(for)0 2224 y Fs(*print-escape*)p Fw(.)42 +2277 y(Assuming)10 b(an)i(implem)o(en)o(tation)d(that)i(uses)i(v)o +(ertical)f(bars)g(around)g(a)f(sym)o(b)q(ol)f(name)0 +2329 y(if)j(an)o(y)g(c)o(haracters)j(need)f(escaping,)f(the)g(output)g +(from)e(this)i(test)h(co)q(de)g(should)f(b)q(e)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 607 631 +607 630 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(607)0 295 y Fs(READTABLE-CASE)18 b(*PRINT-CASE*)40 +b(Symbol-name)g(Output)0 347 y(-----------------)o(-----)o(-----)o +(-----)o(-----)o(-----)o(----)o(----)0 399 y(:UPCASE)168 +b(:UPCASE)147 b(ZEBRA)168 b(ZEBRA)0 450 y(:UPCASE)g(:UPCASE)147 +b(Zebra)168 b(|Zebra|)0 502 y(:UPCASE)g(:UPCASE)147 b(zebra)168 +b(|zebra|)0 554 y(:UPCASE)g(:DOWNCASE)104 b(ZEBRA)168 +b(zebra)0 606 y(:UPCASE)g(:DOWNCASE)104 b(Zebra)168 b(|Zebra|)0 +658 y(:UPCASE)g(:DOWNCASE)104 b(zebra)168 b(|zebra|)0 +710 y(:UPCASE)g(:CAPITALIZE)61 b(ZEBRA)168 b(Zebra)0 +762 y(:UPCASE)g(:CAPITALIZE)61 b(Zebra)168 b(|Zebra|)0 +814 y(:UPCASE)g(:CAPITALIZE)61 b(zebra)168 b(|zebra|)0 +866 y(:DOWNCASE)125 b(:UPCASE)147 b(ZEBRA)168 b(|ZEBRA|)0 +917 y(:DOWNCASE)125 b(:UPCASE)147 b(Zebra)168 b(|Zebra|)0 +969 y(:DOWNCASE)125 b(:UPCASE)147 b(zebra)168 b(ZEBRA)0 +1021 y(:DOWNCASE)125 b(:DOWNCASE)104 b(ZEBRA)168 b(|ZEBRA|)0 +1073 y(:DOWNCASE)125 b(:DOWNCASE)104 b(Zebra)168 b(|Zebra|)0 +1125 y(:DOWNCASE)125 b(:DOWNCASE)104 b(zebra)168 b(zebra)0 +1177 y(:DOWNCASE)125 b(:CAPITALIZE)61 b(ZEBRA)169 b(|ZEBRA|)0 +1229 y(:DOWNCASE)125 b(:CAPITALIZE)61 b(Zebra)169 b(|Zebra|)0 +1281 y(:DOWNCASE)125 b(:CAPITALIZE)61 b(zebra)169 b(Zebra)0 +1333 y(:PRESERVE)125 b(:UPCASE)147 b(ZEBRA)168 b(ZEBRA)0 +1384 y(:PRESERVE)125 b(:UPCASE)147 b(Zebra)168 b(Zebra)0 +1436 y(:PRESERVE)125 b(:UPCASE)147 b(zebra)168 b(zebra)0 +1488 y(:PRESERVE)125 b(:DOWNCASE)104 b(ZEBRA)168 b(ZEBRA)0 +1540 y(:PRESERVE)125 b(:DOWNCASE)104 b(Zebra)168 b(Zebra)0 +1592 y(:PRESERVE)125 b(:DOWNCASE)104 b(zebra)168 b(zebra)0 +1644 y(:PRESERVE)125 b(:CAPITALIZE)61 b(ZEBRA)169 b(ZEBRA)0 +1696 y(:PRESERVE)125 b(:CAPITALIZE)61 b(Zebra)169 b(Zebra)0 +1748 y(:PRESERVE)125 b(:CAPITALIZE)61 b(zebra)169 b(zebra)0 +1800 y(:INVERT)f(:UPCASE)147 b(ZEBRA)168 b(zebra)0 1851 +y(:INVERT)g(:UPCASE)147 b(Zebra)168 b(Zebra)0 1903 y(:INVERT)g(:UPCASE) +147 b(zebra)168 b(ZEBRA)0 1955 y(:INVERT)g(:DOWNCASE)104 +b(ZEBRA)168 b(zebra)0 2007 y(:INVERT)g(:DOWNCASE)104 +b(Zebra)168 b(Zebra)0 2059 y(:INVERT)g(:DOWNCASE)104 +b(zebra)168 b(ZEBRA)0 2111 y(:INVERT)g(:CAPITALIZE)61 +b(ZEBRA)168 b(zebra)0 2163 y(:INVERT)g(:CAPITALIZE)61 +b(Zebra)168 b(Zebra)0 2215 y(:INVERT)g(:CAPITALIZE)61 +b(zebra)168 b(ZEBRA)42 2329 y Fw(This)13 b(illustrates)h(all)f(com)o +(binations)f(for)h Fs(readtable-case)e Fw(and)j Fs(*print-case*)p +Fw(.)-33 2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 608 632 +608 631 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(608)77 b(COMMON)13 +b(LISP)p 0 255 1395 2 v 0 344 a Fm(T)l(able)h(22-6:)k +FA(Examples)c(of)f(Prin)o(t)h(Lev)o(el)g(and)f(Prin)o(t)h(Length)g +(Abbreviation)0 466 y Fq(v)102 b(n)149 b Fj(Output)p +0 482 V 0 525 a(0)100 b(1)151 b(#)291 522 y(-)291 528 +y(-)0 570 y(1)100 b(1)151 b(\(if)17 b(...\))0 616 y(1)100 +b(2)151 b(\(if)17 b(#)368 613 y(-)368 619 y(-)407 616 +y(...\))0 662 y(1)100 b(3)151 b(\(if)17 b(#)368 659 y(-)368 +665 y(-)407 662 y(#)407 659 y(-)407 665 y(-)445 662 y(...\))0 +707 y(1)100 b(4)151 b(\(if)17 b(#)368 704 y(-)368 710 +y(-)407 707 y(#)407 704 y(-)407 710 y(-)445 707 y(#)445 +704 y(-)445 710 y(-)465 707 y(\))0 753 y(2)100 b(1)151 +b(\(if)17 b(...\))0 799 y(2)100 b(2)151 b(\(if)17 b(\(member)f(x)j +(...\))e(...\))0 844 y(2)100 b(3)151 b(\(if)17 b(\(member)f(x)j(y\))e +(\(+)h(#)678 841 y(-)678 847 y(-)717 844 y(3\))g(...\))0 +890 y(3)100 b(2)151 b(\(if)17 b(\(member)f(x)j(...\))e(...\))0 +936 y(3)100 b(3)151 b(\(if)17 b(\(member)f(x)j(y\))e(\(+)h(\(car)g(x\)) +f(3\))h(...\))0 981 y(3)100 b(4)151 b(\(if)17 b(\(member)f(x)j(y\))e +(\(+)h(\(car)g(x\))f(3\))890 984 y Fs(')910 981 y Fj(\(foo)g(.)h(#)1045 +978 y(-)1045 984 y(-)1065 981 y(\(a)g(b)g(c)h(d)f(...\)\)\))0 +1027 y(3)100 b(5)151 b(\(if)17 b(\(member)f(x)j(y\))e(\(+)h(\(car)g +(x\))f(3\))890 1030 y Fs(')910 1027 y Fj(\(foo)g(.)h(#)1045 +1024 y(-)1045 1030 y(-)1065 1027 y(\(a)g(b)g(c)h(d)f("Baz"\)\)\))p +0 1101 V 1219 1187 a Fw([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(*print-gensym*)0 1264 y Fw(The)12 b Fs(*print-gensym*)d +Fw(v)n(ariable)h(con)o(trols)i(whether)h(the)f(pre\014x)g +Fs(#)1047 1260 y(-)1047 1268 y(-)1069 1264 y(:)g Fw(is)f(prin)o(ted)h +(b)q(efore)0 1316 y(sym)o(b)q(ols)i(that)i(ha)o(v)o(e)g(no)g(home)f +(pac)o(k)n(age.)23 b(The)17 b(pre\014x)f(is)g(prin)o(ted)g(if)g(the)g +(v)n(ariable)f(is)0 1368 y(not)f Fs(nil)p Fw(.)j(The)d(initial)e(v)n +(alue)i(of)f Fs(*print-gensym*)e Fw(is)j Fs(t)p Fw(.)1219 +1525 y([)p Fv(V)m(ariable)s Fw(])-1396 b Fs(*print-level*)1219 +1577 y Fw([)p Fv(V)m(ariable)s Fw(])g Fs(*print-length*)0 +1654 y Fw(The)19 b Fs(*print-level*)d Fw(v)n(ariable)i(con)o(trols)h +(ho)o(w)f(man)o(y)f(lev)o(els)i(deep)g(a)g(nested)h(data)0 +1706 y(ob)r(ject)11 b(will)d(prin)o(t.)16 b(If)10 b Fs(*print-level*)d +Fw(is)i Fs(nil)g Fw(\(the)i(initial)d(v)n(alue\),)h(then)i(no)e(con)o +(trol)h(is)0 1758 y(exercised.)19 b(Otherwise,)13 b(the)e(v)n(alue)g +(should)g(b)q(e)h(an)f(in)o(teger,)g(indicating)f(the)i(maxim)n(um)0 +1810 y(lev)o(el)i(to)h(b)q(e)g(prin)o(ted.)21 b(An)15 +b(ob)r(ject)g(to)g(b)q(e)g(prin)o(ted)g(is)f(at)h(lev)o(el)f +Fs(0)p Fw(;)h(its)f(comp)q(onen)o(ts)g(\(as)0 1862 y(of)i(a)h(list)f +(or)h(v)o(ector\))h(are)g(at)e(lev)o(el)h Fs(1)p Fw(;)h(and)e(so)h(on.) +27 b(If)17 b(an)g(ob)r(ject)g(to)g(b)q(e)h(recursiv)o(ely)0 +1914 y(prin)o(ted)13 b(has)g(comp)q(onen)o(ts)g(and)f(is)h(at)g(a)f +(lev)o(el)h(equal)f(to)h(or)g(greater)h(than)f(the)g(v)n(alue)f(of)0 +1965 y Fs(*print-level*)p Fw(,)f(then)j(the)h(ob)r(ject)f(is)g(prin)o +(ted)g(as)g(simply)e Fs(#)970 1961 y(-)970 1969 y(-)992 +1965 y Fw(.)42 2017 y(The)h Fs(*print-length*)d Fw(v)n(ariable)j(con)o +(trols)g(ho)o(w)g(man)o(y)e(elemen)o(ts)i(at)g(a)g(giv)o(en)g(lev)o(el) +0 2069 y(are)20 b(prin)o(ted.)36 b(A)19 b(v)n(alue)g(of)g +Fs(nil)g Fw(\(the)h(initial)e(v)n(alue\))h(indicates)h(that)g(there)h +(b)q(e)f(no)0 2121 y(limit)11 b(to)j(the)g(n)o(um)o(b)q(er)f(of)h(comp) +q(onen)o(ts)f(prin)o(ted.)18 b(Otherwise,)d(the)g(v)n(alue)e(of)g +Fs(*print-)0 2173 y(length*)c Fw(should)i(b)q(e)h(an)e(in)o(teger.)18 +b(Should)10 b(the)h(n)o(um)o(b)q(er)g(of)f(elemen)o(ts)h(of)f(a)g(data) +h(ob)r(ject)0 2225 y(exceed)18 b(the)f(v)n(alue)f Fs(*print-length*)p +Fw(,)e(the)j(prin)o(ter)g(will)d(prin)o(t)j(three)g(dots,)g +Fs(...)p Fw(,)f(in)0 2277 y(place)c(of)f(those)i(elemen)o(ts)f(b)q(ey)o +(ond)g(the)h(n)o(um)o(b)q(er)e(sp)q(eci\014ed)i(b)o(y)f +Fs(*print-length*)p Fw(.)j(\(In)0 2329 y(the)g(case)h(of)e(a)h(dotted)g +(list,)f(if)g(the)i(list)e(con)o(tains)h(exactly)g(as)g(man)o(y)e +(elemen)o(ts)h(as)h(the)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 609 633 +609 632 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(609)0 295 y Fw(v)n(alue)12 b(of)h Fs(*print-length*)p +Fw(,)c(and)k(in)f(addition)g(has)h(the)h(non-n)o(ull)d(atom)g +(terminating)0 347 y(it,)i(that)h(terminating)e(atom)g(is)i(prin)o(ted) +g(rather)h(than)f(the)g(three)h(dots.\))42 399 y Fs(*print-level*)f +Fw(and)j Fs(*print-length*)e Fw(a\013ect)j(the)g(prin)o(ting)e(not)i +(only)e(of)h(lists)0 450 y(but)11 b(also)e(of)h(v)o(ectors,)i(arra)o +(ys,)f(and)f(an)o(y)g(other)h(ob)r(ject)g(prin)o(ted)g(with)f(a)g +(list-lik)o(e)f(syn)o(tax.)0 502 y(They)14 b(do)g(not)g(a\013ect)h(the) +f(prin)o(ting)f(of)g(sym)o(b)q(ols,)f(strings,)i(and)g(bit-v)o(ectors.) +42 554 y(The)i(Lisp)f(reader)i(will)d(normally)f(signal)i(an)h(error)g +(when)h(reading)e(an)h(expression)0 606 y(that)10 b(has)g(b)q(een)h +(abbreviated)g(b)q(ecause)g(of)f(lev)o(el)f(or)h(length)g(limits.)15 +b(This)9 b(signal)g(is)h(giv)o(en)0 658 y(b)q(ecause)16 +b(the)f Fs(#)226 654 y(-)226 662 y(-)263 658 y Fw(dispatc)o(h)f(c)o +(haracter)i(normally)c(signals)i(an)g(error)i(when)f(follo)o(w)o(ed)e +(b)o(y)0 710 y(whitespace)j(or)f Fs(\))p Fw(,)f(and)h(b)q(ecause)h +Fs(...)f Fw(is)f(de\014ned)i(to)f(b)q(e)h(an)e(illegal)f(tok)o(en,)i +(as)g(are)g(all)0 762 y(tok)o(ens)j(consisting)g(en)o(tirely)g(of)f(p)q +(erio)q(ds)h(\(other)g(than)g(the)g(single)g(dot)f(used)i(in)e(dot)0 +814 y(notation\).)42 866 y(As)d(an)g(example,)e(table)h(22-6)g(sho)o +(ws)i(the)f(w)o(a)o(ys)g(the)g(ob)r(ject)0 951 y Fs(\(if)21 +b(\(member)e(x)i(y\))g(\(+)g(\(car)f(x\))h(3\))668 955 +y Fn(')692 951 y Fs(\(foo)f(.)h(#)843 947 y(-)843 955 +y(-)865 951 y(\(a)g(b)g(c)g(d)g("Baz"\)\)\))0 1036 y +Fw(w)o(ould)12 b(b)q(e)i(prin)o(ted)f(for)g(v)n(arious)f(v)n(alues)h +(of)f Fs(*print-level*)e Fw(\(in)j(the)g(column)f(lab)q(eled)0 +1088 y Fv(v)p Fw(\))i(and)g Fs(*print-length*)d Fw(\(in)i(the)i(column) +d(lab)q(eled)i Fv(n)p Fw(\).)1219 1217 y([)p Fv(V)m(ariable)s +Fw(])-1396 b Fs(*print-array*)0 1293 y Fw(If)16 b Fs(*print-array*)d +Fw(is)j Fs(nil)p Fw(,)f(then)i(the)g(con)o(ten)o(ts)g(of)e(arra)o(ys)h +(other)h(than)f(strings)g(are)0 1345 y(nev)o(er)h(prin)o(ted.)25 +b(Instead,)17 b(arra)o(ys)f(are)g(prin)o(ted)h(in)e(a)h(concise)h(form) +d(\(using)i Fs(#)1243 1341 y(-)1243 1349 y(-)1265 1345 +y(<)p Fw(\))g(that)0 1397 y(giv)o(es)c(enough)f(information)e(for)i +(the)i(user)g(to)e(b)q(e)h(able)g(to)f(iden)o(tify)g(the)i(arra)o(y)e +(but)h(do)q(es)0 1449 y(not)f(include)g(the)h(en)o(tire)g(arra)o(y)e +(con)o(ten)o(ts.)19 b(If)10 b Fs(*print-array*)f Fw(is)h(not)h +Fs(nil)p Fw(,)g(non-string)0 1501 y(arra)o(ys)j(are)g(prin)o(ted)h +(using)e Fs(#)447 1497 y(-)447 1505 y(-)469 1501 y(\()p +Fw(,)g Fs(#)516 1497 y(-)516 1505 y(-)538 1501 y(*)p +Fw(,)g(or)h Fs(#)636 1497 y(-)636 1505 y(-)658 1501 y +Fv(n)p Fs(A)g Fw(syn)o(tax.)42 1553 y Fv(Notic)n(e)c(of)h(c)n(orr)n(e)n +(ction.)16 b Fw(In)10 b(the)g(\014rst)g(edition,)g(the)g(preceding)h +(paragraph)e(men)o(tioned)-33 1524 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1605 a(the)14 b(nonexisten)o(t)h(v)n(ariable)e +Fs(print-array)e Fw(instead)k(of)e Fs(*print-array*)p +Fw(.)-33 1616 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1657 a(The)h(initial)e(v)n(alue)h(of)g +Fs(*print-array*)e Fw(is)j(implemen)o(tation-dep)q(enden)o(t.)-33 +1757 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 1785 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(with-standard-io-)o(synta)o(x)39 b Ft(f)p Fv(de)n(clar)n(ation)p +Ft(g)782 1770 y Fl(\003)829 1785 y Ft(f)7 b Fv(form)p +Ft(g)964 1770 y Fl(\003)0 1862 y Fw(X3J13)12 b(v)o(oted)g(in)f(June)i +(1989)e Ft(h)p Fw(40)p Ft(i)g Fw(to)h(add)g(the)g(macro)f +Fs(with-standard-io-)o(synta)o(x)p Fw(.)0 1914 y(Within)j(the)j +(dynamic)d(exten)o(t)i(of)f(the)h(b)q(o)q(dy)m(,)f(all)g(reader/prin)o +(ter)i(con)o(trol)e(v)n(ariables,)0 1965 y(including)j(an)o(y)g +(implemen)o(tation-de\014ned)f(ones)i(not)g(sp)q(eci\014ed)h(b)o(y)f +(Commo)o(n)d(Lisp,)0 2017 y(are)g(b)q(ound)g(to)g(v)n(alues)g(that)f +(pro)q(duce)j(standard)e(read/prin)o(t)g(b)q(eha)o(vior.)24 +b(T)m(able)15 b(22-)o(7)0 2069 y(sho)o(ws)f(the)h(v)n(alues)e(to)h +(whic)o(h)g(standard)g(Common)d(Lisp)i(v)n(ariables)h(are)g(b)q(ound.) +42 2121 y(The)k(v)n(alues)f(returned)i(b)o(y)f Fs(with-standard-io)o +(-synt)o(ax)c Fw(are)19 b(the)f(v)n(alues)f(of)g(the)0 +2173 y(last)d(b)q(o)q(dy)g Fv(form)p Fw(,)e(or)i Fs(nil)f +Fw(if)g(there)j(are)e(no)g(b)q(o)q(dy)g(forms.)42 2225 +y(The)k(in)o(ten)o(t)g(is)g(that)g(a)f(pair)h(of)f(executions,)j(as)e +(sho)o(wn)g(in)f(the)i(follo)o(wing)c(exam-)0 2277 y(ple,)f(should)g +(pro)o(vide)h(reasonable)g(reliable)f(comm)o(uni)o(cation)e(of)h(data)h +(from)f(one)i(Lisp)0 2329 y(pro)q(cess)h(to)d(another:)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 610 634 +610 633 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(610)77 b(COMMON)13 +b(LISP)p 0 255 1395 2 v 0 344 a Fm(T)l(able)h(22-7:)k +FA(Standard)c(Bindings)i(for)d(I/O)f(Con)o(trol)i(V)m(ariables)0 +473 y(V)m(ariable)442 b(V)m(alue)p 0 488 1103 2 v 0 531 +a Fj(*package*)399 b FA(the)14 b Fj(common-l)o(isp)o(-us)o(er)9 +b FA(pac)o(k)n(age)0 577 y Fj(*print-arr)o(ay)o(*)321 +b(t)0 622 y(*print-bas)o(e*)340 b(10)0 668 y(*print-cas)o(e*)g(:upcase) +0 714 y(*print-cir)o(cl)o(e*)301 b(nil)0 759 y(*print-esc)o(ap)o(e*)g +(t)0 805 y(*print-gen)o(sy)o(m*)g(t)0 851 y(*print-len)o(gt)o(h*)g(nil) +0 896 y(*print-lev)o(el)o(*)321 b(nil)0 942 y(*print-lin)o(es)o(*)g +(nil)18 b FA(*)0 988 y Fj(*print-mis)o(er)o(-wi)o(dt)o(h*)203 +b(nil)18 b FA(*)0 1033 y Fj(*print-ppr)o(in)o(t-d)o(is)o(pat)o(ch*)124 +b(nil)18 b FA(*)0 1079 y Fj(*print-pre)o(tt)o(y*)301 +b(nil)0 1125 y(*print-rad)o(ix)o(*)321 b(nil)0 1170 y(*print-rea)o(da)o +(bly)o(*)262 b(t)0 1216 y(*print-rig)o(ht)o(-ma)o(rg)o(in*)183 +b(nil)18 b FA(*)0 1262 y Fj(*read-base)o(*)360 b(10)0 +1307 y(*read-defa)o(ul)o(t-f)o(lo)o(at-)o(for)o(ma)o(t*)46 +b(single-floa)o(t)0 1353 y(*read-eval)o(*)360 b(t)0 1399 +y(*read-supp)o(re)o(ss*)281 b(nil)0 1444 y(*readtable)o(*)360 +b FA(the)14 b(standard)g(readtable)-33 1421 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1523 a(*)29 b(X3J13)h(v)o(oted)g(in)g(June)f(1989)h +Ff(h)p FA(139)p Ff(i)g FA(to)f(in)o(tro)q(duce)i(the)f(prin)o(ter)g +(con)o(trol)h(v)n(ari-)0 1569 y(ables)13 b Fj(*print-righ)o(t-)o(mar)o +(gi)o(n*)p FA(,)8 b Fj(*print-mise)o(r-)o(wid)o(th)o(*)p +FA(,)h Fj(*print-li)o(nes)o(*)p FA(,)g(and)j Fj(*print-)0 +1615 y(pprint-dis)o(pa)o(tch)o(*)e FA(\(see)j(section)h(27.2\))f(but)g +(did)h(not)f(sp)q(ecify)i(the)e(v)n(alues)h(to)f(whic)o(h)h +Fj(with-)0 1660 y(standard-i)o(o-)o(syn)o(ta)o(x)8 b +FA(should)13 b(bind)f(them.)k(I)11 b(recommend)h(that)f(all)h(four)f +(should)i(b)q(e)e(b)q(ound)0 1706 y(to)i Fj(nil)p FA(.)p +0 1733 1395 2 v 0 1827 a Fs(;;;)21 b(Write)f(DATA)g(to)h(a)g(file.)0 +1878 y(\(with-open-file)d(\(file)i(pathname)g(:direction)f(:output\))42 +1930 y(\(with-standard-io-s)o(yntax)85 1982 y(\(print)h(data)g +(file\)\)\))0 2086 y(;;;)h(...)41 b(Later,)20 b(in)h(another)f(Lisp:)0 +2138 y(\(with-open-file)e(\(file)i(pathname)g(:direction)f(:input\))42 +2190 y(\(with-standard-io-s)o(yntax)85 2242 y(\(setq)h(data)g(\(read)g +(file\)\)\)\))42 2329 y Fw(Using)15 b Fs(with-standard-io-sy)o(ntax)e +Fw(to)i(bind)h(all)f(the)h(v)n(ariables,)g(instead)g(of)f(us-)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 611 635 +611 634 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(611)0 295 y Fw(ing)14 b Fs(let)h Fw(and)g(explicit)f(bindings,)h +(ensures)i(that)e(nothing)f(is)h(o)o(v)o(erlo)q(ok)o(ed)g(and)g(a)o(v)o +(oids)0 347 y(problems)10 b(with)i(implem)o(en)o(tation-de\014ned)d +(reader/prin)o(ter)k(con)o(trol)f(v)n(ariables.)k(If)11 +b(the)0 399 y(user)j(wishes)f(to)f(use)h(a)g(non-standard)f(v)n(alue)g +(for)g(some)g(v)n(ariable,)f(suc)o(h)i(as)g Fs(*package*)0 +450 y Fw(or)g Fs(*read-eval*)p Fw(,)e(it)i(can)g(b)q(e)h(b)q(ound)g(b)o +(y)f Fs(let)f Fw(inside)i(the)g(b)q(o)q(dy)f(of)g Fs(with-standard-)0 +502 y(io-syntax)p Fw(.)j(F)m(or)e(example:)0 587 y Fs(;;;)21 +b(Write)f(DATA)g(to)h(a)g(file.)f(Forbid)g(use)g(of)h(#)866 +583 y(-)866 591 y(-)888 587 y(.)g(syntax.)0 639 y(\(with-open-file)d +(\(file)i(pathname)g(:direction)f(:output\))42 691 y(\(let)i +(\(\(*read-eval*)d(nil\)\))85 743 y(\(with-standard-i)o(o-syn)o(tax)127 +795 y(\(print)i(data)g(file\)\)\)\))0 898 y(;;;)h(Read)f(DATA)g(from)h +(a)g(file.)f(Forbid)g(use)g(of)h(#)888 894 y(-)888 902 +y(-)910 898 y(.)g(syntax.)0 950 y(\(with-open-file)d(\(file)i(pathname) +g(:direction)f(:input\))42 1002 y(\(let)i(\(\(*read-eval*)d(nil\)\))85 +1054 y(\(with-standard-i)o(o-syn)o(tax)127 1106 y(\(setq)i(data)h +(\(read)f(file\)\)\)\)\))0 1191 y Fw(Similarly)l(,)h(a)i(user)g(who)g +(dislik)o(es)f(the)h(arbitrary)g(c)o(hoice)g(of)f(v)n(alues)g(for)g +Fs(*print-)0 1243 y(circle*)12 b Fw(and)h Fs(*print-pretty*)d +Fw(can)j(bind)g(these)i(v)n(ariables)d(to)h(other)h(v)n(alues)f(inside) +0 1295 y(the)h(b)q(o)q(dy)m(.)42 1346 y(The)d(X3J13)g(v)o(ote)g(left)g +(it)g(unclear)g(whether)i Fs(with-standard-io-)o(synta)o(x)8 +b Fw(p)q(ermits)0 1398 y(declarations)15 b(to)g(app)q(ear)g(b)q(efore)h +(the)g(b)q(o)q(dy)f(of)f(the)i(macro)e(call.)20 b(I)15 +b(b)q(eliev)o(e)h(that)f(w)o(as)0 1450 y(the)i(in)o(ten)o(t,)g(and)f +(this)h(is)f(re\015ected)j(in)d(the)h(syn)o(tax)f(sho)o(wn)h(ab)q(o)o +(v)o(e;)g(but)g(this)f(is)h(only)0 1502 y(m)o(y)12 b(in)o +(terpretation.)-33 1514 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1649 a Fo(22.2.)20 b(Input)15 b(F)-5 b(unctions)0 +1734 y Fw(The)10 b(input)f(functions)g(are)h(divided)f(in)o(to)f(t)o(w) +o(o)h(groups:)16 b(those)10 b(that)f(op)q(erate)i(on)e(streams)0 +1786 y(of)k(c)o(haracters)j(and)e(those)g(that)g(op)q(erate)h(on)f +(streams)f(of)h(binary)f(data.)0 1933 y Fo(22.2.1.)20 +b(Input)15 b(from)f(Character)h(Streams)0 2017 y Fw(Man)o(y)e(c)o +(haracter)i(input)f(functions)g(tak)o(e)f(optional)f(argumen)o(ts)h +(called)h Fv(input-str)n(e)n(am)p Fw(,)0 2069 y Fv(e)n(of-err)n(or-p)p +Fw(,)19 b(and)g Fv(e)n(of-value)p Fw(.)35 b(The)20 b +Fv(input-str)n(e)n(am)f Fw(argumen)o(t)f(is)h(the)h(stream)f(from)0 +2121 y(whic)o(h)f(to)g(obtain)g(input;)i(if)d(unsupplied)i(or)f +Fs(nil)g Fw(it)f(defaults)i(to)f(the)h(v)n(alue)e(of)h(the)0 +2173 y(sp)q(ecial)i(v)n(ariable)f Fs(*standard-input*)p +Fw(.)32 b(One)21 b(ma)o(y)d(also)h(sp)q(ecify)i Fs(t)e +Fw(as)h(a)g(stream,)0 2225 y(meaning)12 b(the)j(v)n(alue)e(of)g(the)i +(sp)q(ecial)f(v)n(ariable)e Fs(*terminal-io*)p Fw(.)42 +2277 y(The)j Fv(e)n(of-err)n(or-p)e Fw(argumen)o(t)g(con)o(trols)i +(what)g(happ)q(ens)h(if)d(input)i(is)g(from)d(a)j(\014le)g(\(or)0 +2329 y(an)o(y)k(other)h(input)g(source)g(that)g(has)g(a)f(de\014nite)h +(end\))h(and)e(the)h(end)g(of)f(the)h(\014le)g(is)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 612 636 +612 635 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(612)77 b(COMMON)13 +b(LISP)0 295 y Fw(reac)o(hed.)24 b(If)16 b Fv(e)n(of-err)n(or-p)e +Fw(is)h(true)i(\(the)f(default\),)f(an)h(error)g(will)e(b)q(e)j +(signaled)e(at)g(end)0 347 y(of)d(\014le.)17 b(If)c(it)f(is)g(false,)g +(then)h(no)f(error)i(is)e(signaled,)g(and)g(instead)h(the)g(function)f +(returns)0 399 y Fv(e)n(of-value)p Fw(.)42 450 y(X3J13)f(v)o(oted)i(in) +f(Jan)o(uary)g(1989)f Ft(h)p Fw(7)p Ft(i)h Fw(to)h(clarify)e(that)h(an) +g Fv(e)n(of-value)h Fw(argumen)o(t)e(ma)o(y)-33 422 y +@beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 502 a(b)q(e)k(an)o(y)e(Lisp)h(datum)e(whatso)q(ev)o(er.) +-33 514 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 554 a(F)m(unctions)18 b(suc)o(h)h(as)g +Fs(read)f Fw(that)g(read)h(the)g(represen)o(tation)h(of)e(an)h(ob)r +(ject)g(rather)0 606 y(than)d(a)g(single)f(c)o(haracter)i(will)e(alw)o +(a)o(ys)g(signal)g(an)g(error,)i(regardless)g(of)f Fv(e)n(of-err)n +(or-p)p Fw(,)0 658 y(if)g(the)h(\014le)f(ends)i(in)e(the)h(middle)d(of) +i(an)g(ob)r(ject)i(represen)o(tation.)27 b(F)m(or)16 +b(example,)f(if)h(a)0 710 y(\014le)d(do)q(es)h(not)g(con)o(tain)e +(enough)i(righ)o(t)f(paren)o(theses)i(to)e(balance)h(the)f(left)g +(paren)o(theses)0 762 y(in)g(it,)g Fs(read)g Fw(will)f(complain.)k(If)d +(a)h(\014le)g(ends)g(in)g(a)f(sym)o(b)q(ol)f(or)i(a)f(n)o(um)o(b)q(er)g +(immediately)0 814 y(follo)o(w)o(ed)f(b)o(y)h(end-of-\014le,)g +Fs(read)g Fw(will)f(read)i(the)g(sym)o(b)q(ol)e(or)h(n)o(um)o(b)q(er)g +(successfully)i(and)0 866 y(when)g(called)f(again)g(will)f(see)j(the)f +(end-of-\014le)f(and)h(only)f(then)h(act)g(according)g(to)f +Fv(e)n(of-)0 917 y(err)n(or-p)p Fw(.)j(Similarly)l(,)11 +b(the)k(function)e Fs(read-line)f Fw(will)h(successfully)i(read)g(the)f +(last)g(line)0 969 y(of)g(a)h(\014le)f(ev)o(en)i(if)e(that)g(line)h(is) +f(terminated)g(b)o(y)h(end-of-\014le)f(rather)i(than)e(the)i(newline)0 +1021 y(c)o(haracter.)j(If)13 b(a)g(\014le)g(con)o(tains)h(ignorable)e +(text)i(at)f(the)h(end,)g(suc)o(h)g(as)f(blank)g(lines)g(and)0 +1073 y(commen)o(ts,)f Fs(read)i Fw(will)f(not)h(consider)h(it)f(to)h +(end)g(in)f(the)h(middle)d(of)i(an)g(ob)r(ject.)20 b(Th)o(us)0 +1125 y(an)e Fv(e)n(of-err)n(or-p)f Fw(argumen)o(t)g(con)o(trols)h(what) +h(happ)q(ens)g(when)g(the)f(\014le)h(ends)g Fv(b)n(etwe)n(en)0 +1177 y Fw(ob)r(jects.)42 1229 y(Man)o(y)12 b(input)h(functions)g(also)g +(tak)o(e)g(an)g(argumen)o(t)f(called)h Fv(r)n(e)n(cursive-p)p +Fw(.)j(If)d(sp)q(eci\014ed)0 1281 y(and)h(not)g Fs(nil)p +Fw(,)f(this)h(argumen)o(t)f(sp)q(eci\014es)j(that)e(this)g(call)f(is)h +(not)g(a)g(\\top-lev)o(el")f(call)g(to)0 1333 y Fs(read)e +Fw(but)i(an)f(im)o(b)q(edded)f(call,)g(t)o(ypically)g(from)g(the)h +(function)g(for)g(a)g(macro)f(c)o(haracter.)0 1384 y(It)j(is)g(imp)q +(ortan)o(t)e(to)i(distinguish)f(suc)o(h)i(recursiv)o(e)g(calls)e(for)h +(three)h(reasons.)42 1436 y(First,)e(a)f(top-lev)o(el)h(call)f +(establishes)i(the)f(con)o(text)h(within)e(whic)o(h)h(the)g +Fs(#)1168 1432 y(-)1168 1440 y(-)1190 1436 y Fv(n)1213 +1432 y Fs(U)1213 1440 y(U)1248 1436 y Fw(and)g Fs(#)1328 +1432 y(-)1328 1440 y(-)1350 1436 y Fv(n)p Fs(#)1373 1432 +y(-)1373 1440 y(-)0 1488 y Fw(syn)o(tax)h(is)g(scop)q(ed.)19 +b(Consider,)14 b(for)f(example,)f(the)j(expression)0 +1573 y Fs(\(cons)128 1577 y Fn(')151 1573 y Fs(#)151 +1569 y(-)151 1577 y(-)173 1573 y(3)195 1569 y(U)195 1577 +y(U)217 1573 y(\(p)20 b(q)h(r\))387 1577 y Fn(')410 1573 +y Fs(\(x)g(y)g(.)g(#)561 1569 y(-)561 1577 y(-)583 1573 +y(3#)605 1569 y(-)605 1577 y(-)626 1573 y(\)\))0 1658 +y Fw(If)14 b(the)g(single-quote)g(macro)e(c)o(haracter)k(w)o(ere)e +(de\014ned)h(in)f(this)g(w)o(a)o(y:)0 1743 y Fs(\(set-macro-charac)o +(ter)k(#)457 1739 y(-)457 1747 y(-)479 1743 y(\\)499 +1747 y Fn(')445 1795 y Fs(#)445 1791 y(-)445 1799 y(-)m +Fn(')488 1795 y Fs(\(lambda)h(\(stream)h(char\))529 1847 +y(\(declare)g(\(ignore)g(char\)\))529 1899 y(\(list)657 +1903 y Fn(')681 1899 y Fs(quote)g(\(read)g(stream\)\)\)\))0 +1984 y Fw(then)e(the)g(expression)g(could)f(not)g(b)q(e)h(read)f(prop)q +(erly)m(,)h(b)q(ecause)g(there)h(w)o(ould)d(b)q(e)i(no)0 +2036 y(w)o(a)o(y)13 b(to)g(kno)o(w)g(when)i Fs(read)d +Fw(is)i(called)f(recursiv)o(ely)i(b)o(y)e(the)h(\014rst)h(o)q +(ccurrence)h(of)1282 2040 y Fn(')1319 2036 y Fw(that)0 +2088 y(the)g(lab)q(el)f Fs(#)175 2084 y(-)175 2092 y(-)197 +2088 y(3)219 2084 y(U)219 2092 y(U)255 2088 y Fw(w)o(ould)g(b)q(e)h +(referred)h(to)e(later)h(in)f(the)h(con)o(taining)e(expression.)24 +b(There)0 2140 y(w)o(ould)11 b(b)q(e)h(no)f(w)o(a)o(y)g(to)h(kno)o(w)f +(b)q(ecause)i Fs(read)e Fw(could)g(not)h(determine)g(that)f(it)g(w)o +(as)h(called)0 2192 y(b)o(y)h(a)g(macro-c)o(haracter)g(function)g +(rather)i(than)e(from)e(\\top)i(lev)o(el.")18 b(The)13 +b(correct)i(w)o(a)o(y)0 2244 y(to)f(de\014ne)h(the)f(single)g(quote)g +(macro)e(c)o(haracter)k(uses)f(the)f Fv(r)n(e)n(cursive-p)f +Fw(argumen)o(t:)0 2329 y Fs(\(set-macro-charac)o(ter)18 +b(#)457 2325 y(-)457 2333 y(-)479 2329 y(\\)499 2333 +y Fn(')-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 613 637 +613 636 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(613)445 295 y Fs(#)445 291 y(-)445 299 y(-)m Fn(')488 +295 y Fs(\(lambda)19 b(\(stream)h(char\))529 347 y(\(declare)g +(\(ignore)g(char\)\))529 399 y(\(list)657 403 y Fn(')681 +399 y Fs(quote)g(\(read)g(stream)g(t)h(nil)f(t\)\)\)\))42 +482 y Fw(Second,)f(a)f(recursiv)o(e)h(call)e(do)q(es)i(not)f(alter)g +(whether)i(the)e(reading)g(pro)q(cess)i(is)e(to)0 534 +y(preserv)o(e)13 b(whitespace)f(or)f(not)g(\(as)g(determined)g(b)o(y)g +(whether)h(the)f(top-lev)o(el)g(call)f(w)o(as)h(to)0 +586 y Fs(read)f Fw(or)h Fs(read-preserving-whi)o(tesp)o(ace)p +Fw(\).)j(Supp)q(ose)e(again)e(that)h(the)h(single)e(quote)0 +638 y(had)k(the)h(\014rst,)g(incorrect,)g(macro-c)o(haracter)f +(de\014nition)g(sho)o(wn)h(ab)q(o)o(v)o(e.)k(Then)14 +b(a)h(call)0 690 y(to)9 b Fs(read-preserving-whi)o(tespa)o(ce)d +Fw(that)k(read)g(the)g(expression)1056 694 y Fn(')1079 +690 y Fs(foo)30 b Fw(w)o(ould)9 b(fail)f(to)0 742 y(preserv)o(e)k(the)e +(space)h(c)o(haracter)h(follo)o(wing)7 b(the)j(sym)o(b)q(ol)f +Fs(foo)g Fw(b)q(ecause)i(the)g(single-quote)0 794 y(macro-c)o(haracter) +17 b(function)f(calls)h Fs(read)p Fw(,)f(not)g Fs(read-preserving-whi)o +(tespa)o(ce)p Fw(,)e(to)0 846 y(read)f(the)g(follo)o(wing)d(expression) +k(\(in)e(this)g(case)i Fs(foo)p Fw(\).)j(The)c(correct)h(de\014nition,) +e(whic)o(h)0 898 y(passes)k(the)g(v)n(alue)e Fs(t)h Fw(for)f(the)i +Fv(r)n(e)n(cursive-p)e Fw(argumen)o(t)g(to)g Fs(read)p +Fw(,)g(allo)o(ws)g(the)h(top-lev)o(el)0 949 y(call)e(to)h(determine)g +(whether)h(whitespace)g(is)f(preserv)o(ed.)42 1001 y(Third,)f(when)i +(end-of-\014le)f(is)g(encoun)o(tered)i(and)e(the)h Fv(e)n(of-err)n +(or-p)e Fw(argumen)o(t)g(is)h(not)0 1053 y Fs(nil)p Fw(,)d(the)i(kind)e +(of)h(error)h(that)f(is)g(signaled)f(ma)o(y)f(dep)q(end)k(on)e(the)g(v) +n(alue)g(of)f Fv(r)n(e)n(cursive-p)p Fw(.)0 1105 y(If)f +Fv(r)n(e)n(cursive-p)g Fw(is)g(not)g Fs(nil)p Fw(,)g(then)i(the)f +(end-of-\014le)f(is)g(deemed)h(to)f(ha)o(v)o(e)g(o)q(ccurred)i(within)0 +1157 y(the)j(middle)e(of)g(a)i(prin)o(ted)f(represen)o(tation;)i(if)e +Fv(r)n(e)n(cursive-p)f Fw(is)i Fs(nil)p Fw(,)e(then)i(the)g(end-of-)0 +1209 y(\014le)f(ma)o(y)f(b)q(e)h(deemed)h(to)f(ha)o(v)o(e)g(o)q +(ccurred)i(b)q(et)o(w)o(een)g(ob)r(jects)f(rather)g(than)g(within)e +(the)0 1261 y(middle)f(of)h(one.)1209 1381 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(read)20 b(&optional)g Fv(input)p Fs(-)p +Fv(str)n(e)n(am)j(e)n(of)p Fs(-)p Fv(err)n(or)p Fs(-)p +Fv(p)g(e)n(of)p Fs(-)p Fv(value)108 1433 y(r)n(e)n(cursive)p +Fs(-)p Fv(p)0 1509 y Fs(read)14 b Fw(reads)i(in)f(the)h(prin)o(ted)g +(represen)o(tation)h(of)d(a)h(Lisp)g(ob)r(ject)h(from)e +Fv(input-str)n(e)n(am)p Fw(,)0 1561 y(builds)f(a)h(corresp)q(onding)h +(Lisp)f(ob)r(ject,)g(and)g(returns)h(the)f(ob)r(ject.)42 +1613 y(Note)f(that)g(when)g(the)h(v)n(ariable)e Fs(*read-suppress*)e +Fw(is)i(not)h Fs(nil)p Fw(,)f(then)i Fs(read)e Fw(reads)0 +1665 y(in)f(a)g(prin)o(ted)h(represen)o(tation)h(as)f(b)q(est)h(it)e +(can,)h(but)f(most)g(of)g(the)h(w)o(ork)f(of)g(in)o(terpreting)0 +1717 y(the)f(represen)o(tation)h(is)e(a)o(v)o(oided)g(\(the)h(in)o(ten) +o(t)g(b)q(eing)f(that)h(the)g(result)g(is)f(to)h(b)q(e)g(discarded)0 +1769 y(an)o(yw)o(a)o(y\).)17 b(F)m(or)c(example,)f(all)h(extended)i +(tok)o(ens)g(pro)q(duce)f(the)h(result)f Fs(nil)g Fw(regardless)0 +1821 y(of)f(their)i(syn)o(tax.)1219 1941 y([)p Fv(V)m(ariable)s +Fw(])-1396 b Fs(*read-default-flo)o(at-fo)o(rmat*)0 2017 +y Fw(The)10 b(v)n(alue)e(of)h(this)g(v)n(ariable)g(m)o(ust)f(b)q(e)i(a) +f(t)o(yp)q(e)h(sp)q(eci\014er)h(sym)o(b)q(ol)c(for)i(a)g(sp)q(eci\014c) +i(\015oating-)0 2069 y(p)q(oin)o(t)g(format;)f(these)j(include)e +Fs(short-float)p Fw(,)e Fs(single-float)p Fw(,)g Fs(double-float)p +Fw(,)g(and)0 2121 y Fs(long-float)j Fw(and)j(ma)o(y)d(include)j +(implemen)o(tatio)o(n-sp)q(eci\014c)e(t)o(yp)q(es)j(as)e(w)o(ell.)19 +b(The)c(de-)0 2173 y(fault)e(v)n(alue)g(is)h Fs(single-float)p +Fw(.)42 2225 y Fs(*read-default-f)o(loat-)o(forma)o(t*)g +Fw(indicates)j(the)h(\015oating-p)q(oin)o(t)e(format)f(to)i(b)q(e)0 +2277 y(used)12 b(for)e(reading)h(\015oating-p)q(oin)o(t)e(n)o(um)o(b)q +(ers)i(that)g(ha)o(v)o(e)g(no)f(exp)q(onen)o(t)i(mark)o(er)e(or)h(ha)o +(v)o(e)0 2329 y Fs(e)j Fw(or)g Fs(E)f Fw(for)h(an)g(exp)q(onen)o(t)g +(mark)o(er.)j(\(Other)f(exp)q(onen)o(t)e(mark)o(ers)g(explicitly)f +(prescrib)q(e)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 614 638 +614 637 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(614)77 b(COMMON)13 +b(LISP)0 295 y Fw(the)j(\015oating-p)q(oin)o(t)f(format)f(to)i(b)q(e)g +(used.\))25 b(The)16 b(prin)o(ter)h(also)e(uses)i(this)f(v)n(ariable)f +(to)0 347 y(guide)f(the)g(c)o(hoice)h(of)e(exp)q(onen)o(t)i(mark)o(ers) +e(when)h(prin)o(ting)f(\015oating-p)q(oin)o(t)g(n)o(um)o(b)q(ers.)1209 +465 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(read-preserving-w)o(hites)o +(pace)18 b(&optional)h Fv(in)p Fs(-)p Fv(str)n(e)n(am)42 +516 y(e)n(of)p Fs(-)p Fv(err)n(or)p Fs(-)p Fv(p)k(e)n(of)p +Fs(-)p Fv(value)h(r)n(e)n(cursive)p Fs(-)p Fv(p)0 593 +y Fw(Certain)15 b(prin)o(ted)g(represen)o(tations)i(giv)o(en)d(to)g +Fs(read)p Fw(,)g(notably)g(those)h(of)g(sym)o(b)q(ols)e(and)0 +645 y(n)o(um)o(b)q(ers,)e(require)h(a)f(delimiting)d(c)o(haracter)13 +b(after)e(them.)16 b(\(Lists)c(do)f(not,)g(b)q(ecause)i(the)0 +697 y(close)i(paren)o(thesis)i(marks)c(the)j(end)f(of)g(the)g(list.\)) +21 b(Normally)12 b Fs(read)i Fw(will)g(thro)o(w)h(a)o(w)o(a)o(y)0 +749 y(the)e(delimiting)d(c)o(haracter)k(if)d(it)h(is)h(a)f(whitespace)i +(c)o(haracter;)f(but)g Fs(read)f Fw(will)f(preserv)o(e)0 +801 y(the)17 b(c)o(haracter)g(\(using)f Fs(unread-char)p +Fw(\))e(if)h(it)h(is)g(syn)o(tactically)f(meaningful,)f(b)q(ecause)0 +853 y(it)g(ma)o(y)d(b)q(e)k(the)f(start)h(of)e(the)i(next)f +(expression.)42 905 y(X3J13)j(v)o(oted)g(in)h(Jan)o(uary)f(1989)g +Ft(h)p Fw(138)p Ft(i)g Fw(to)g(clarify)g(the)h(in)o(teraction)f(of)g +Fs(unread-)-33 876 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 956 a(char)12 b Fw(with)g(ec)o(ho)i(streams.)j(These)d +(c)o(hanges)g(indirectly)e(a\013ect)i(the)f(ec)o(hoing)g(b)q(eha)o +(vior)0 1008 y(of)g Fs(read-preserving-whi)o(tespa)o(ce)p +Fw(.)-33 1020 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1060 a(The)i(function)g Fs(read-preserving-wh)o(itesp)o +(ace)d Fw(is)j(pro)o(vided)g(for)g(some)g(sp)q(ecial-)0 +1112 y(ized)20 b(situations)f(where)i(it)f(is)f(desirable)h(to)g +(determine)f(precisely)i(what)e(c)o(haracter)0 1164 y(terminated)13 +b(the)i(extended)g(tok)o(en.)42 1216 y(As)f(an)g(example,)e(consider)i +(this)g(macro-c)o(haracter)g(de\014nition:)0 1300 y Fs(\(defun)20 +b(slash-reader)f(\(stream)g(char\))42 1351 y(\(declare)h(\(ignore)g +(char\)\))42 1403 y(\(do)h(\(\(path)f(\(list)g(\(read-preserving-)o +(white)o(space)e(stream\)\))275 1455 y(\(cons)i(\(progn)g(\(read-char)f +(stream)h(nil)h(nil)f(t\))550 1507 y(\(read-preserving-whi)o(tesp)o +(ace)614 1559 y(stream\)\))402 1611 y(path\)\)\))127 +1663 y(\(\(not)g(\(char)367 1659 y(U)367 1667 y(U)409 +1663 y(\(peek-char)f(nil)i(stream)f(nil)g(nil)h(t\))g(#)1125 +1659 y(-)1125 1667 y(-)1146 1663 y(\\/\)\))148 1715 y(\(cons)276 +1719 y Fn(')300 1715 y Fs(path)f(\(nreverse)f(path\)\)\)\)\))0 +1767 y(\(set-macro-charac)o(ter)f(#)457 1763 y(-)457 +1771 y(-)479 1767 y(\\/)j(#)544 1763 y(-)544 1771 y(-)m +Fn(')587 1767 y Fs(slash-reader\))0 1850 y Fw(\(This)c(is)f(actually)g +(a)h(rather)g(dangerous)h(de\014nition)e(to)g(mak)o(e)g(b)q(ecause)i +(expressions)0 1902 y(suc)o(h)g(as)f Fs(\(/)k(x)g(3\))16 +b Fw(will)g(no)h(longer)f(b)q(e)i(read)g(prop)q(erly)m(.)27 +b(The)17 b(abilit)o(y)f(to)h(reprogram)0 1954 y(the)k(reader)g(syn)o +(tax)f(is)g(v)o(ery)h(p)q(o)o(w)o(erful)e(and)h(m)o(ust)g(b)q(e)g(used) +h(with)f(caution.)37 b(This)0 2006 y(rede\014nition)14 +b(of)f Fs(/)h Fw(is)g(sho)o(wn)g(here)h(purely)f(for)f(the)i(sak)o(e)f +(of)f(example.\))42 2058 y(Consider)h(no)o(w)f(calling)g +Fs(read)g Fw(on)g(this)h(expression:)0 2141 y Fs(\(zyedh)20 +b(/usr/games/zork)e(/usr/games/boggle)o(\))0 2225 y Fw(The)36 +b Fs(/)f Fw(macro)g(reads)h(ob)r(jects)h(separated)f(b)o(y)g(more)e +Fs(/)i Fw(c)o(haracters;)47 b(th)o(us)0 2277 y Fs(/usr/games/zork)14 +b Fw(is)j(in)o(tended)h(to)g(b)q(e)g(read)g(as)f Fs(\(path)j(usr)h +(games)f(zork\))p Fw(.)27 b(The)0 2329 y(en)o(tire)15 +b(example)d(expression)j(should)f(therefore)h(b)q(e)g(read)f(as)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 615 639 +615 638 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(615)0 295 y Fs(\(zyedh)20 b(\(path)g(usr)h(games)f(zork\))g(\(path)g +(usr)h(games)f(boggle\)\))0 376 y Fw(Ho)o(w)o(ev)o(er,)f(if)e +Fs(read)h Fw(had)g(b)q(een)h(used)g(instead)f(of)g Fs(read-preserving-) +o(whit)o(espac)o(e)p Fw(,)0 428 y(then)d(after)g(the)g(reading)g(of)f +(the)h(sym)o(b)q(ol)e Fs(zork)p Fw(,)g(the)i(follo)o(wing)d(space)k(w)o +(ould)e(b)q(e)h(dis-)0 480 y(carded;)j(the)f(next)g(call)f(to)h +Fs(peek-char)d Fw(w)o(ould)i(see)i(the)f(follo)o(wing)d +Fs(/)p Fw(,)i(and)g(the)i(lo)q(op)0 532 y(w)o(ould)13 +b(con)o(tin)o(ue,)h(pro)q(ducing)g(this)g(in)o(terpretation:)0 +613 y Fs(\(zyedh)20 b(\(path)g(usr)h(games)f(zork)g(usr)h(games)f +(boggle\)\))0 695 y Fw(On)12 b(the)h(other)g(hand,)f(there)h(are)g +(times)e(when)h(whitespace)i Fv(should)e Fw(b)q(e)h(discarded.)18 +b(If)12 b(a)0 747 y(command)c(in)o(terpreter)k(tak)o(es)f(single-c)o +(haracter)g(commands,)e(but)h(o)q(ccasionally)g(reads)0 +798 y(a)j(Lisp)h(ob)r(ject,)g(then)g(if)f(the)h(whitespace)h(after)f(a) +f(sym)o(b)q(ol)f(is)h(not)h(discarded)h(it)e(migh)o(t)0 +850 y(b)q(e)g(in)o(terpreted)g(as)f(a)g(command)d(some)i(time)f(later)i +(after)g(the)h(sym)o(b)q(ol)d(had)i(b)q(een)h(read.)42 +902 y(Note)k(that)f Fs(read-preserving-wh)o(itesp)o(ace)d +Fw(b)q(eha)o(v)o(es)18 b Fv(exactly)f Fw(lik)o(e)e Fs(read)h +Fw(when)0 954 y(the)h Fv(r)n(e)n(cursive-p)f Fw(argumen)o(t)g(is)h(not) +f Fs(nil)p Fw(.)26 b(The)17 b(distinction)g(is)f(established)i(only)e +(b)o(y)0 1006 y(calls)d(with)h Fv(r)n(e)n(cursive-p)f +Fw(equal)h(to)f Fs(nil)h Fw(or)f(omitted.)1209 1110 y([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(read-delimited-li)o(st)18 +b Fv(char)26 b Fs(&optional)19 b Fv(input)p Fs(-)p Fv(str)n(e)n(am)42 +1162 y(r)n(e)n(cursive)p Fs(-)p Fv(p)0 1239 y Fw(This)10 +b(reads)i(ob)r(jects)f(from)e Fv(str)n(e)n(am)h Fw(un)o(til)f(the)i +(next)g(c)o(haracter)h(after)f(an)f(ob)r(ject's)h(repre-)0 +1291 y(sen)o(tation)k(\(ignoring)e(whitespace)j(c)o(haracters)g(and)e +(commen)o(ts\))f(is)i Fv(char)p Fw(.)20 b(\(The)15 b +Fv(char)0 1343 y Fw(should)i(not)h(ha)o(v)o(e)f(whitespace)i(syn)o(tax) +f(in)f(the)h(curren)o(t)h(readtable.\))30 b(A)18 b(list)f(of)g(the)0 +1395 y(ob)r(jects)e(read)f(is)g(returned.)42 1447 y(T)m(o)c(b)q(e)j +(more)d(precise,)k Fs(read-delimited-l)o(ist)8 b Fw(lo)q(oks)k(ahead)f +(at)h(eac)o(h)g(step)h(for)e(the)0 1499 y(next)16 b(non-whitespace)g(c) +o(haracter)h(and)e(p)q(eeks)i(at)e(it)g(as)h(if)e(with)h +Fs(peek-char)p Fw(.)21 b(If)15 b(it)g(is)0 1550 y Fv(char)p +Fw(,)i(then)h(the)f(c)o(haracter)h(is)f(consumed)f(and)h(the)g(list)g +(of)f(ob)r(jects)i(is)f(returned.)28 b(If)0 1602 y(it)16 +b(is)g(a)f(constituen)o(t)i(or)f(escap)q(e)i(c)o(haracter,)f(then)g +Fs(read)e Fw(is)h(used)h(to)f(read)h(an)e(ob)r(ject,)0 +1654 y(whic)o(h)d(is)g(added)h(to)f(the)h(end)f(of)g(the)h(list.)k(If) +12 b(it)g(is)g(a)g(macro)f(c)o(haracter,)i(the)g(asso)q(ciated)0 +1706 y(macro)h(function)h(is)g(called;)h(if)e(the)i(function)f(returns) +i(a)e(v)n(alue,)g(that)g(v)n(alue)g(is)g(added)0 1758 +y(to)f(the)g(list.)k(The)c(p)q(eek-ahead)h(pro)q(cess)h(is)d(then)i +(rep)q(eated.)42 1810 y(X3J13)e(v)o(oted)g(in)h(Jan)o(uary)f(1989)g +Ft(h)p Fw(138)p Ft(i)g Fw(to)g(clarify)g(the)h(in)o(teraction)g(of)f +Fs(peek-char)-33 1782 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1862 a Fw(with)k(ec)o(ho)h(streams.)29 +b(These)19 b(c)o(hanges)f(indirectly)f(a\013ect)i(the)f(ec)o(hoing)f(b) +q(eha)o(vior)g(of)0 1914 y(the)d(function)g Fs(read-delimited-lis)o(t)p +Fw(.)-33 1925 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1966 a(This)d(function)h(is)g(particularly)f(useful)h +(for)f(de\014ning)h(new)h(macro)d(c)o(haracters.)19 b(Usu-)0 +2017 y(ally)f(it)i(is)f(desirable)h(for)g(the)g(terminating)e(c)o +(haracter)j Fv(char)e Fw(to)h(b)q(e)g(a)f(terminating)0 +2069 y(macro)e(c)o(haracter)i(so)f(that)g(it)g(ma)o(y)e(b)q(e)j(used)g +(to)f(delimit)e(tok)o(ens;)k(ho)o(w)o(ev)o(er,)f Fs(read-)0 +2121 y(delimited-list)12 b Fw(mak)o(es)i(no)h(attempt)g(to)g(alter)g +(the)h(syn)o(tax)f(sp)q(eci\014ed)i(for)e Fv(char)g Fw(b)o(y)0 +2173 y(the)20 b(curren)o(t)h(readtable.)35 b(The)20 b(user)g(m)o(ust)f +(mak)o(e)e(an)o(y)i(necessary)j(c)o(hanges)e(to)f(the)0 +2225 y(readtable)14 b(syn)o(tax)g(explicitly)m(.)j(The)d(follo)o(wing)d +(example)i(illustrates)h(this.)42 2277 y(Supp)q(ose)g(y)o(ou)f(w)o(an)o +(ted)h Fs(#)425 2273 y(-)425 2281 y(-)447 2277 y({)p +Fv(a)21 b(b)g(c)h Fs(...)e Fv(z)p Fs(})14 b Fw(to)f(b)q(e)h(read)h(as)e +(a)h(list)f(of)g(all)f(pairs)i(of)f(the)0 2329 y(elemen)o(ts)h +Fv(a)p Fw(,)f Fv(b)p Fw(,)h Fv(c)p Fw(,)f Fs(...)p Fw(,)g +Fv(z)p Fw(;)g(for)h(example:)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 616 640 +616 639 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(616)77 b(COMMON)13 +b(LISP)0 295 y Fs(#)0 291 y(-)0 299 y(-)22 295 y({p)21 +b(q)g(z)f(a})42 b Fw(reads)15 b(as)43 b Fs(\(\(p)20 b(q\))h(\(p)g(z\))f +(\(p)h(a\))g(\(q)g(z\))f(\(q)h(a\))g(\(z)g(a\)\))0 1892 +y Fw(This)14 b(can)g(b)q(e)h(done)f(b)o(y)g(sp)q(ecifying)g(a)g +(macro-c)o(haracter)g(de\014nition)g(for)f Fs(#)1167 +1888 y(-)1167 1896 y(-)1189 1892 y({)h Fw(that)g(do)q(es)0 +1944 y(t)o(w)o(o)g(things:)k(read)c(in)g(all)f(the)i(items)e(up)h(to)g +(the)h Fs(})p Fw(,)e(and)h(construct)i(the)e(pairs.)19 +b Fs(read-)0 1996 y(delimited-list)11 b Fw(p)q(erforms)i(the)i(\014rst) +g(task.)42 2216 y(Note)f(that)g Fs(mapcon)f Fw(allo)o(ws)g(the)h(mapp)q +(ed)f(function)h(to)g(examine)f(the)i(items)e(of)g(the)-33 +2187 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2268 a(list)19 b(after)i(the)f(curren)o(t)h(one,)h(and)d +(that)h Fs(mapcon)f Fw(uses)i Fs(nconc)p Fw(,)f(whic)o(h)g(is)f(all)g +(righ)o(t)0 2320 y(b)q(ecause)d Fs(mapcar)c Fw(will)h(pro)q(duce)i +(fresh)f(lists.)-33 2331 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 13 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 617 641 +617 640 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(617)0 295 y Fs(\(defun)20 b(|#)174 291 y(-)174 299 +y(-)196 295 y({-reader|)f(\(stream)h(char)g(arg\))42 +347 y(\(declare)g(\(ignore)g(char)g(arg\)\))42 399 y(\(mapcon)g(#)216 +395 y(-)216 403 y(-)n Fn(')259 399 y Fs(\(lambda)g(\(x\))296 +450 y(\(mapcar)g(#)470 446 y(-)470 454 y(-)n Fn(')513 +450 y Fs(\(lambda)g(\(y\))g(\(list)g(\(car)h(x\))g(y\)\))f(\(cdr)g +(x\)\)\))212 502 y(\(read-delimited-)o(list)e(#)669 498 +y(-)669 506 y(-)691 502 y(\\})i(stream)g(t\)\)\))0 606 +y(\(set-dispatch-mac)o(ro-ch)o(aract)o(er)e(#)653 602 +y(-)653 610 y(-)675 606 y(\\#)697 602 y(-)697 610 y(-)740 +606 y(#)740 602 y(-)740 610 y(-)762 606 y(\\{)i(#)826 +602 y(-)826 610 y(-)n Fn(')869 606 y Fs(|#)891 602 y(-)891 +610 y(-)913 606 y({-reader|\))0 710 y(\(set-macro-charac)o(ter)e(#)457 +706 y(-)457 714 y(-)479 710 y(\\})j(\(get-macro-char)o(acter)d(#)1001 +706 y(-)1001 714 y(-)1022 710 y(\\\))j(nil\)\))0 795 +y Fw(\(Note)14 b(that)g Fs(t)g Fw(is)g(sp)q(eci\014ed)h(for)f(the)g +Fv(r)n(e)n(cursive-p)f Fw(argumen)o(t.\))42 847 y(It)f(is)g(necessary)j +(here)e(to)f(giv)o(e)g(a)g(de\014nition)g(to)h(the)g(c)o(haracter)g +Fs(})f Fw(as)h(w)o(ell)f(to)g(prev)o(en)o(t)0 899 y(it)i(from)e(b)q +(eing)h(a)h(constituen)o(t.)19 b(If)14 b(the)g(line)0 +985 y Fs(\(set-macro-charac)o(ter)k(#)457 981 y(-)457 +989 y(-)479 985 y(\\})j(\(get-macro-char)o(acter)d(#)1001 +981 y(-)1001 989 y(-)1022 985 y(\\\))j(nil\)\))0 1070 +y Fw(sho)o(wn)14 b(ab)q(o)o(v)o(e)g(w)o(ere)g(not)g(included,)g(then)g +(the)h Fs(})e Fw(in)0 1156 y Fs(#)0 1152 y(-)0 1160 y(-)22 +1156 y({p)21 b(q)g(z)f(a})0 1241 y Fw(w)o(ould)c(b)q(e)h(considered)h +(a)e(constituen)o(t)i(c)o(haracter,)g(part)f(of)f(the)h(sym)o(b)q(ol)e +(named)h Fs(a})p Fw(.)0 1293 y(One)i(could)f(correct)i(for)e(this)g(b)o +(y)g(putting)g(a)g(space)h(b)q(efore)g(the)g Fs(})p Fw(,)f(but)g(it)g +(is)g(b)q(etter)0 1345 y(simply)12 b(to)i(use)g(the)h(call)e(to)h +Fs(set-macro-charac)o(ter)p Fw(.)42 1397 y(Giving)8 b +Fs(})h Fw(the)h(same)f(de\014nition)h(as)g(the)g(standard)g +(de\014nition)f(of)h(the)g(c)o(haracter)h Fs(\))f Fw(has)0 +1449 y(the)j(t)o(win)f(b)q(ene\014t)h(of)f(making)e(it)i(terminate)f +(tok)o(ens)i(for)f(use)h(with)f Fs(read-delimited-)0 +1501 y(list)d Fw(and)h(also)f(making)e(it)j(illegal)d(for)j(use)g(in)g +(an)o(y)f(other)i(con)o(text)f(\(that)g(is,)g(attempting)0 +1552 y(to)k(read)g(a)g(stra)o(y)g Fs(})f Fw(will)g(signal)g(an)g +(error\).)42 1604 y(Note)e(that)g Fs(read-delimited-l)o(ist)d +Fw(do)q(es)j(not)g(tak)o(e)g(an)f Fv(e)n(of-err)n(or-p)g +Fw(\(or)h Fv(e)n(of-value)p Fw(\))0 1656 y(argumen)o(t.)16 +b(The)d(reason)f(is)g(that)g(it)f(is)h(alw)o(a)o(ys)f(an)h(error)h(to)e +(hit)h(end-of-\014le)g(during)f(the)0 1708 y(op)q(eration)j(of)f +Fs(read-delimited-lis)o(t)p Fw(.)1209 1837 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(read-line)19 b(&optional)h Fv(input)p +Fs(-)p Fv(str)n(e)n(am)j(e)n(of)p Fs(-)p Fv(err)n(or)p +Fs(-)p Fv(p)g(e)n(of)p Fs(-)p Fv(value)217 1889 y(r)n(e)n(cursive)p +Fs(-)p Fv(p)0 1966 y Fs(read-line)11 b Fw(reads)j(in)e(a)g(line)h(of)f +(text)h(terminated)g(b)o(y)f(a)h(newline.)k(It)c(returns)i(the)e(line)0 +2017 y(as)g(a)f(c)o(haracter)i(string)e(\()p Fv(without)g +Fw(the)h(newline)g(c)o(haracter\).)19 b(This)12 b(function)g(is)h +(usually)0 2069 y(used)f(to)e(get)h(a)g(line)f(of)h(input)f(from)f(the) +j(user.)18 b(A)11 b(second)g(returned)i(v)n(alue)d(is)h(a)f(\015ag)h +(that)0 2121 y(is)f(false)h(if)f(the)h(line)f(w)o(as)g(terminated)g +(normally)m(,)e(or)j(true)g(if)f(end-of-\014le)g(terminated)g(the)0 +2173 y(\(non-empt)o(y\))k(line.)22 b(If)15 b(end-of-\014le)h(is)f +(encoun)o(tered)i(immediately)12 b(\(that)k(is,)f(app)q(ears)0 +2225 y(to)i(terminate)f(an)h(empt)o(y)f(line\),)i(then)f(end-of-\014le) +g(pro)q(cessing)i(is)e(con)o(trolled)f(in)h(the)0 2277 +y(usual)d(w)o(a)o(y)f(b)o(y)g(the)i Fv(e)n(of-err)n(or-p)p +Fw(,)d Fv(e)n(of-value)p Fw(,)h(and)h Fv(r)n(e)n(cursive-p)f +Fw(argumen)o(ts.)42 2329 y(The)h(corresp)q(onding)h(output)f(function)f +(is)h Fs(write-line)p Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 618 642 +618 641 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(618)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(read-char)19 b(&optional)h Fv(input)p Fs(-)p Fv(str)n(e)n(am)j(e)n +(of)p Fs(-)p Fv(err)n(or)p Fs(-)p Fv(p)g(e)n(of)p Fs(-)p +Fv(value)217 347 y(r)n(e)n(cursive)p Fs(-)p Fv(p)0 423 +y Fs(read-char)14 b Fw(inputs)i(one)f(c)o(haracter)i(from)d +Fv(input-str)n(e)n(am)h Fw(and)h(returns)h(it)e(as)h(a)g(c)o(har-)0 +475 y(acter)f(ob)r(ject.)42 527 y(The)f(corresp)q(onding)h(output)f +(function)f(is)h Fs(write-char)p Fw(.)42 579 y(X3J13)f(v)o(oted)g(in)h +(Jan)o(uary)f(1989)g Ft(h)p Fw(138)p Ft(i)g Fw(to)g(clarify)g(the)h(in) +o(teraction)g(of)f Fs(read-char)-33 551 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 631 a Fw(with)g(ec)o(ho)i(streams)e(\(as)h(created)i(b)o +(y)d Fs(make-echo-stream)p Fw(\).)i(A)f(c)o(haracter)h(is)f(ec)o(ho)q +(ed)0 683 y(from)j(the)j(input)e(stream)h(to)f(the)i(asso)q(ciated)f +(output)g(stream)g(the)g(\014rst)h(time)d(it)i(is)0 735 +y(seen.)36 b(If)19 b(a)g(c)o(haracter)i(is)e(read)h(again)f(b)q(ecause) +i(of)e(an)g(in)o(terv)o(ening)g Fs(unread-char)0 787 +y Fw(op)q(eration,)12 b(the)h(c)o(haracter)h(is)e(not)g(ec)o(ho)q(ed)i +(again)d(when)i(read)g(for)f(the)h(second)h(time)d(or)0 +839 y(an)o(y)i(subsequen)o(t)j(time.)-33 850 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 966 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(unread-char)19 b Fv(char)n(acter)25 b Fs(&optional)19 +b Fv(input)p Fs(-)p Fv(str)n(e)n(am)0 1043 y Fs(unread-char)9 +b Fw(puts)i(the)h Fv(char)n(acter)e Fw(on)o(to)h(the)g(fron)o(t)g(of)f +Fv(input-str)n(e)n(am)p Fw(.)17 b(The)11 b Fv(char)n(acter)0 +1095 y Fw(m)o(ust)e(b)q(e)h(the)g(same)f(c)o(haracter)i(that)f(w)o(as)g +(most)e(recen)o(tly)j(read)f(from)e(the)j Fv(input-str)n(e)n(am)p +Fw(.)0 1147 y(The)f Fv(input-str)n(e)n(am)g Fw(\\bac)o(ks)g(up")g(o)o +(v)o(er)f(this)h(c)o(haracter;)j(when)d(a)g(c)o(haracter)h(is)f(next)g +(read)0 1199 y(from)j Fv(input-str)n(e)n(am)p Fw(,)g(it)i(will)e(b)q(e) +i(the)g(sp)q(eci\014ed)h(c)o(haracter)g(follo)o(w)o(ed)d(b)o(y)h(the)h +(previous)0 1251 y(con)o(ten)o(ts)g(of)e Fv(input-str)n(e)n(am)p +Fw(.)18 b Fs(unread-char)11 b Fw(returns)16 b Fs(nil)p +Fw(.)42 1303 y(One)c(ma)o(y)e(apply)h Fs(unread-char)f +Fw(only)h(to)h(the)g(c)o(haracter)h(most)e(recen)o(tly)i(read)f(from)0 +1355 y Fv(input-str)n(e)n(am)p Fw(.)k(Moreo)o(v)o(er,)c(one)f(ma)o(y)d +(not)j(in)o(v)o(ok)o(e)f Fs(unread-char)e Fw(t)o(wice)j(consecutiv)o +(ely)0 1406 y(without)g(an)g(in)o(terv)o(ening)g Fs(read-char)f +Fw(op)q(eration.)17 b(The)11 b(result)h(is)g(that)f(one)g(ma)o(y)f(bac) +o(k)0 1458 y(up)h(only)e(b)o(y)h(one)h(c)o(haracter,)h(and)e(one)h(ma)o +(y)d(not)j(insert)g(an)o(y)f(c)o(haracters)i(in)o(to)e(the)h(input)0 +1510 y(stream)i(that)h(w)o(ere)h(not)f(already)g(there.)42 +1562 y(X3J13)f(v)o(oted)g(in)g(Jan)o(uary)g(1989)g Ft(h)p +Fw(181)p Ft(i)f Fw(to)i(clarify)e(that)i(one)f(also)g(ma)o(y)e(not)j +(in)o(v)o(ok)o(e)-33 1534 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1614 a Fs(unread-char)k Fw(after)i(in)o(v)o(oking)e +Fs(peek-char)g Fw(without)i(an)g(in)o(terv)o(ening)g +Fs(read-char)0 1666 y Fw(op)q(eration.)i(This)15 b(is)g(consisten)o(t)i +(with)e(the)h(notion)e(that)h Fs(peek-char)f Fw(b)q(eha)o(v)o(es)i(m)o +(uc)o(h)0 1718 y(lik)o(e)d Fs(read-char)f Fw(follo)o(w)o(ed)g(b)o(y)i +Fs(unread-char)p Fw(.)-33 1730 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1778 V 0 1838 a Fm(Rationale:)j FA(This)c(is)f(not)h(in) +o(tended)h(to)e(b)q(e)g(a)g(general)i(mec)o(hanism,)f(but)g(rather)f +(an)h(e\016cien)o(t)0 1883 y(mec)o(hanism)h(for)f(allo)o(wing)i(the)e +(Lisp)h(reader)f(and)g(other)g(parsers)h(to)f(p)q(erform)g(one-c)o +(haracter)0 1929 y(lo)q(ok)n(ahead)21 b(in)e(the)f(input)i(stream.)33 +b(This)19 b(proto)q(col)h(admits)g(a)e(wide)h(v)n(ariet)o(y)h(of)e +(e\016cien)o(t)0 1975 y(implemen)o(tations,)f(suc)o(h)d(as)f(simply)j +(decremen)o(ting)f(a)f(bu\013er)g(p)q(oin)o(ter.)20 b(T)m(o)13 +b(ha)o(v)o(e)h(to)f(sp)q(ecify)0 2020 y(the)e(c)o(haracter)h(in)f(the)h +(call)g(to)f Fj(unread-ch)o(ar)c FA(is)12 b(admittedly)h(redundan)o(t,) +g(since)f(at)f(an)o(y)g(giv)o(en)0 2066 y(time)k(there)g(is)h(only)g +(one)f(c)o(haracter)g(that)g(ma)o(y)g(b)q(e)g(legally)i(sp)q +(eci\014ed.)24 b(The)15 b(redundancy)i(is)0 2112 y(in)o(ten)o(tional,)f +(again)e(to)f(giv)o(e)h(the)f(implemen)o(tation)j(latitude.)p +0 2146 V 42 2225 a Fw(X3J13)9 b(v)o(oted)h(in)f(Jan)o(uary)g(1989)g +Ft(h)p Fw(138)p Ft(i)g Fw(to)h(clarify)e(the)i(in)o(teraction)g(of)f +Fs(unread-char)-33 2197 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2277 a Fw(with)16 b(ec)o(ho)g(streams)g(\(as)g(created)h +(b)o(y)f Fs(make-echo-stream)p Fw(\).)21 b(When)16 b(a)g(c)o(haracter)h +(is)0 2329 y(\\unread")11 b(from)e(an)i(ec)o(ho)h(stream,)e(no)h +(attempt)f(is)h(made)f(to)h(\\unec)o(ho")g(the)h(c)o(haracter.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 619 643 +619 642 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(619)0 295 y Fw(Ho)o(w)o(ev)o(er,)17 b(a)f(c)o(haracter)h(placed)g +(bac)o(k)f(in)o(to)g(an)g(ec)o(ho)g(stream)g(b)o(y)g +Fs(unread-char)e Fw(will)0 347 y(not)g(b)q(e)g(re-ec)o(ho)q(ed)i(when)e +(it)g(is)g(subsequen)o(tly)h(re-read)g(b)o(y)e Fs(read-char)p +Fw(.)-33 358 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1986 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 620 644 +620 643 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(620)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(peek-char)19 b(&optional)h Fv(p)n(e)n(ek)p Fs(-)p +Fv(typ)n(e)k(input)p Fs(-)p Fv(str)n(e)n(am)g(e)n(of)p +Fs(-)p Fv(err)n(or)p Fs(-)p Fv(p)217 347 y(e)n(of)p Fs(-)p +Fv(value)h(r)n(e)n(cursive)p Fs(-)p Fv(p)0 424 y Fw(What)12 +b Fs(peek-char)e Fw(do)q(es)j(dep)q(ends)h(on)e(the)h +Fv(p)n(e)n(ek-typ)n(e)p Fw(,)g(whic)o(h)f(defaults)g(to)h +Fs(nil)p Fw(.)j(With)0 476 y(a)j Fv(p)n(e)n(ek-typ)n(e)g +Fw(of)g Fs(nil)p Fw(,)g Fs(peek-char)e Fw(returns)k(the)e(next)h(c)o +(haracter)g(to)f(b)q(e)h(read)f(from)0 528 y Fv(input-str)n(e)n(am)p +Fw(,)14 b(without)g(actually)g(remo)o(ving)f(it)i(from)e(the)i(input)g +(stream.)20 b(The)15 b(next)0 580 y(time)c(input)i(is)f(done)h(from)e +Fv(input-str)n(e)n(am)p Fw(,)h(the)h(c)o(haracter)h(will)d(still)h(b)q +(e)h(there.)19 b(It)13 b(is)g(as)0 631 y(if)g(one)h(had)g(called)f +Fs(read-char)f Fw(and)i(then)h Fs(unread-char)c Fw(in)j(succession.)42 +684 y(If)e Fv(p)n(e)n(ek-typ)n(e)h Fw(is)g Fs(t)p Fw(,)g(then)h +Fs(peek-char)d Fw(skips)i(o)o(v)o(er)g(whitespace)i(c)o(haracters)f +(\(but)g(not)0 736 y(commen)o(ts\))h(and)h(then)h(p)q(erforms)e(the)i +(p)q(eeking)g(op)q(eration)f(on)g(the)h(next)g(c)o(haracter.)0 +788 y(This)f(is)g(useful)g(for)f(\014nding)h(the)g(\(p)q(ossible\))h(b) +q(eginning)e(of)g(the)i(next)f(prin)o(ted)g(repre-)0 +839 y(sen)o(tation)f(of)f(a)h(Lisp)g(ob)r(ject.)22 b(The)15 +b(last)g(c)o(haracter)h(examined)e(\(the)i(one)f(that)g(starts)0 +891 y(an)f(ob)r(ject\))g(is)g(not)g(remo)o(v)o(ed)f(from)f(the)j(input) +e(stream.)42 944 y(If)8 b Fv(p)n(e)n(ek-typ)n(e)i Fw(is)f(a)g(c)o +(haracter)i(ob)r(ject,)g(then)f Fs(peek-char)d Fw(skips)i(o)o(v)o(er)h +(input)f(c)o(haracters)0 996 y(un)o(til)14 b(a)h(c)o(haracter)i(that)e +(is)g Fs(char)540 992 y(U)540 1000 y(U)576 996 y Fw(to)g(that)g(ob)r +(ject)h(is)f(found;)g(that)g(c)o(haracter)i(is)e(left)0 +1047 y(in)e(the)i(input)f(stream.)42 1100 y(X3J13)f(v)o(oted)g(in)h +(Jan)o(uary)f(1989)g Ft(h)p Fw(138)p Ft(i)g Fw(to)g(clarify)g(the)h(in) +o(teraction)g(of)f Fs(peek-char)-33 1071 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1152 a Fw(with)d(ec)o(ho)h(streams)f(\(as)h(created)h(b) +o(y)e Fs(make-echo-stream)p Fw(\).)k(When)d(a)f(c)o(haracter)h(from)0 +1203 y(an)h(ec)o(ho)h(stream)f(is)g(only)f(p)q(eek)o(ed)j(at,)e(it)g +(is)g(not)g(ec)o(ho)q(ed)i(at)e(that)g(time.)17 b(The)12 +b(c)o(haracter)0 1255 y(remains)h(in)h(the)h(input)f(stream)g(and)g(ma) +o(y)e(b)q(e)j(ec)o(ho)q(ed)g(when)g(read)g(b)o(y)f Fs(read-char)e +Fw(at)0 1307 y(a)i(later)h(time.)k(Note,)14 b(ho)o(w)o(ev)o(er,)h(that) +g(if)e(the)i Fv(p)n(e)n(ek-typ)n(e)g Fw(is)g(not)f Fs(nil)p +Fw(,)g(then)h(c)o(haracters)0 1359 y(skipp)q(ed)i(o)o(v)o(er)f(\(and)g +(therefore)i(consumed\))e(b)o(y)g Fs(peek-char)e Fw(are)j(treated)g(as) +g(if)e(they)0 1411 y(had)i(b)q(een)i(read)e(b)o(y)g Fs(read-char)p +Fw(,)f(and)h(will)f(b)q(e)i(ec)o(ho)q(ed)h(if)d Fs(read-char)f +Fw(w)o(ould)i(ha)o(v)o(e)0 1463 y(ec)o(ho)q(ed)e(them.)-33 +1475 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1611 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(listen)20 b(&optional)f Fv(input)p Fs(-)p Fv(str)n(e)n(am)0 +1688 y Fw(The)11 b(predicate)h Fs(listen)d Fw(is)i(true)h(if)e(there)i +(is)e(a)h(c)o(haracter)h(imm)o(ediately)c(a)o(v)n(ailable)g(from)0 +1740 y Fv(input-str)n(e)n(am)p Fw(,)14 b(and)h(is)g(false)g(if)f(not.) +21 b(This)15 b(is)g(particularly)f(useful)h(when)h(the)f(stream)0 +1792 y(obtains)h(c)o(haracters)i(from)c(an)i(in)o(teractiv)o(e)h +(device)g(suc)o(h)g(as)f(a)g(k)o(eyb)q(oard.)25 b(A)16 +b(call)g(to)0 1844 y Fs(read-char)i Fw(w)o(ould)g(simply)g(w)o(ait)g +(un)o(til)h(a)g(c)o(haracter)i(w)o(as)e(a)o(v)n(ailable,)f(but)i +Fs(listen)0 1896 y Fw(can)15 b(sense)i(whether)g(or)e(not)g(input)f(is) +h(a)o(v)n(ailable)e(and)i(allo)o(w)f(the)h(program)f(to)h(decide)0 +1948 y(whether)j(or)f(not)f(to)h(attempt)f(input.)26 +b(On)17 b(a)f(non-in)o(teractiv)o(e)h(stream,)f(the)i(general)0 +2000 y(rule)c(is)g(that)g Fs(listen)e Fw(is)i(true)h(except)g(when)g +(at)e(end-of-\014le.)1209 2148 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(read-char-no-hang)18 b(&optional)h Fv(input)p +Fs(-)p Fv(str)n(e)n(am)24 b(e)n(of)p Fs(-)p Fv(err)n(or)p +Fs(-)p Fv(p)392 2200 y(e)n(of)p Fs(-)p Fv(value)g(r)n(e)n(cursive)p +Fs(-)p Fv(p)0 2277 y Fw(This)14 b(function)h(is)f(exactly)h(lik)o(e)e +Fs(read-char)p Fw(,)g(except)j(that)e(if)g(it)g(w)o(ould)g(b)q(e)h +(necessary)0 2329 y(to)f(w)o(ait)g(in)g(order)h(to)g(get)g(a)f(c)o +(haracter)i(\(as)f(from)d(a)j(k)o(eyb)q(oard\),)f Fs(nil)g +Fw(is)g(immediately)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 621 645 +621 644 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(621)0 295 y Fw(returned)15 b(without)e(w)o(aiting.)j(This)e(allo)o +(ws)e(one)h(to)g(e\016cien)o(tly)h(c)o(hec)o(k)g(for)f(input)g(a)o(v)n +(ail-)0 347 y(abilit)o(y)h(and)h(get)h(the)g(input)f(if)g(it)g(is)g(a)o +(v)n(ailable.)20 b(This)c(is)f(di\013eren)o(t)h(from)e(the)i +Fs(listen)0 399 y Fw(op)q(eration)g(in)g(t)o(w)o(o)f(w)o(a)o(ys.)25 +b(First,)16 b Fs(read-char-no-hang)d Fw(p)q(oten)o(tially)i(reads)i(a)f +(c)o(har-)0 450 y(acter,)k(whereas)g Fs(listen)d Fw(nev)o(er)i(inputs)g +(a)f(c)o(haracter.)33 b(Second,)20 b Fs(listen)e Fw(do)q(es)h(not)0 +502 y(distinguish)d(b)q(et)o(w)o(een)h(end-of-\014le)f(and)h(no)f +(input)g(b)q(eing)g(a)o(v)n(ailable,)e(whereas)k Fs(read-)0 +554 y(char-no-hang)d Fw(do)q(es)i(mak)o(e)f(that)h(distinction,)g +(returning)h Fv(e)n(of-value)f Fw(at)g(end-of-\014le)0 +606 y(\(or)d(signaling)d(an)j(error)g(if)f(no)g Fv(e)n(of-err)n(or-p)f +Fw(is)i(true\))g(but)g(alw)o(a)o(ys)e(returning)i Fs(nil)f +Fw(if)g(no)0 658 y(input)h(is)f(a)o(v)n(ailable.)1209 +801 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(clear-input)19 +b(&optional)g Fv(input)p Fs(-)p Fv(str)n(e)n(am)0 878 +y Fw(This)d(clears)i(an)o(y)e(bu\013ered)i(input)e(asso)q(ciated)i +(with)e Fv(input-str)n(e)n(am)p Fw(.)25 b(It)17 b(is)f(primarily)0 +930 y(useful)9 b(for)g(clearing)g(t)o(yp)q(e-ahead)h(from)e(k)o(eyb)q +(oards)h(when)h(some)f(kind)f(of)h(async)o(hronous)0 +982 y(error)18 b(has)f(o)q(ccurred.)30 b(If)17 b(this)g(op)q(eration)g +(do)q(esn't)h(mak)o(e)d(sense)k(for)e(the)h(stream)e(in-)0 +1033 y(v)o(olv)o(ed,)d(then)h Fs(clear-input)e Fw(do)q(es)i(nothing.)k +Fs(clear-input)11 b Fw(returns)16 b Fs(nil)p Fw(.)1209 +1176 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(read-from-string)18 +b Fv(string)24 b Fs(&optional)19 b Fv(e)n(of)p Fs(-)p +Fv(err)n(or)p Fs(-)p Fv(p)k(e)n(of)p Fs(-)p Fv(value)370 +1228 y Fs(&key)d(:start)g(:end)g(:preserve-whitespace)0 +1305 y Fw(The)f(c)o(haracters)h(of)d Fv(string)h Fw(are)h(giv)o(en)f +(successiv)o(ely)i(to)e(the)h(Lisp)f(reader,)i(and)e(the)0 +1357 y(Lisp)d(ob)r(ject)h(built)e(b)o(y)h(the)g(reader)i(is)d +(returned.)24 b(Macro)15 b(c)o(haracters)h(and)f(so)g(on)g(will)0 +1409 y(all)e(tak)o(e)h(e\013ect.)42 1461 y(The)f(argumen)o(ts)g +Fs(:start)e Fw(and)i Fs(:end)g Fw(delimit)e(a)i(substring)g(of)g +Fv(string)f Fw(b)q(eginning)h(at)0 1513 y(the)k(c)o(haracter)g(indexed) +g(b)o(y)f Fs(:start)e Fw(and)i(up)g(to)g(but)h(not)f(including)f(the)h +(c)o(haracter)0 1565 y(indexed)h(b)o(y)g Fs(:end)p Fw(.)25 +b(By)17 b(default)g Fs(:start)e Fw(is)i Fs(0)f Fw(\(the)h(b)q(eginning) +g(of)f(the)h(string\))g(and)0 1617 y Fs(:end)c Fw(is)h +Fs(\(length)19 b Fv(string)p Fs(\))p Fw(.)f(This)13 b(is)h(the)h(same)e +(as)h(for)f(other)i(string)f(functions.)42 1669 y(The)27 +b(\015ag)g Fs(:preserve-whitespac)o(e)p Fw(,)g(if)g(pro)o(vided)g(and)g +(not)h Fs(nil)p Fw(,)h(indicates)0 1721 y(that)24 b(the)h(op)q(eration) +e(should)h(preserv)o(e)i(whitespace)f(as)f(for)g Fs(read-preserving-)0 +1773 y(whitespace)p Fw(.)16 b(It)e(defaults)g(to)g Fs(nil)p +Fw(.)42 1825 y(As)j(with)g(other)h(reading)f(functions,)h(the)g +(argumen)o(ts)f Fv(e)n(of-err)n(or-p)f Fw(and)h Fv(e)n(of-value)0 +1877 y Fw(con)o(trol)12 b(the)h(action)f(if)f(the)i(end)g(of)e(the)i +(\(sub\)string)g(is)f(reac)o(hed)i(b)q(efore)f(the)g(op)q(eration)0 +1929 y(is)g(completed;)f(reac)o(hing)i(the)f(end)h(of)e(the)i(string)f +(is)g(treated)i(as)e(an)o(y)f(other)i(end-of-\014le)0 +1981 y(ev)o(en)o(t.)42 2033 y Fs(read-from-strin)o(g)c +Fw(returns)15 b(t)o(w)o(o)d(v)n(alues:)18 b(the)13 b(\014rst)h(is)f +(the)g(ob)r(ject)h(read,)f(and)g(the)0 2085 y(second)j(is)e(the)i +(index)e(of)g(the)i(\014rst)f(c)o(haracter)h(in)f(the)g(string)g(not)f +(read.)21 b(If)15 b(the)g(en)o(tire)0 2137 y(string)d(w)o(as)g(read,)g +(the)h(second)g(result)f(will)f(b)q(e)h(either)h(the)g(length)f(of)f +(the)i(string)f(or)g(one)0 2189 y(greater)h(than)f(the)h(length)f(of)g +(the)h(string.)k(The)c(parameter)f Fs(:preserve-whitesp)o(ace)0 +2240 y Fw(ma)o(y)g(a\013ect)j(this)f(second)h(v)n(alue.)0 +2329 y Fs(\(read-from-string)j("\(a)i(b)h(c\)"\))g Ft(\))f +Fs(\(a)h(b)g(c\))g Fw(and)g Fs(7)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 622 646 +622 645 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(622)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(parse-integer)18 b Fv(string)25 b Fs(&key)20 b(:start)g(:end)g +(:radix)304 347 y(:junk-allowed)0 423 y Fw(This)13 b(function)f +(examines)g(the)i(substring)g(of)e Fv(string)g Fw(delimited)f(b)o(y)i +Fs(:start)f Fw(and)h Fs(:end)0 475 y Fw(\(whic)o(h)d(default)f(to)g +(the)h(b)q(eginning)f(and)h(end)g(of)f(the)h(string\).)17 +b(It)9 b(skips)h(o)o(v)o(er)g(whitespace)0 527 y(c)o(haracters)21 +b(and)e(then)g(attempts)g(to)g(parse)g(an)g(in)o(teger.)34 +b(The)19 b Fs(:radix)f Fw(parameter)0 579 y(defaults)c(to)g +Fs(10)f Fw(and)h(m)o(ust)f(b)q(e)h(an)g(in)o(teger)g(b)q(et)o(w)o(een)h +(2)f(and)g(36.)42 631 y(If)h Fs(:junk-allowed)e Fw(is)j(not)g +Fs(nil)p Fw(,)f(then)i(the)f(\014rst)h(v)n(alue)e(returned)j(is)e(the)g +(v)n(alue)f(of)0 683 y(the)e(n)o(um)o(b)q(er)f(parsed)i(as)f(an)f(in)o +(teger)i(or)e Fs(nil)h Fw(if)e(no)i(syn)o(tactically)f(correct)j(in)o +(teger)e(w)o(as)0 735 y(seen.)42 787 y(If)e Fs(:junk-allowed)e +Fw(is)j Fs(nil)f Fw(\(the)i(default\),)f(then)g(the)h(en)o(tire)g +(substring)f(is)g(scanned.)0 839 y(The)i(returned)h(v)n(alue)e(is)g +(the)h(v)n(alue)f(of)f(the)i(n)o(um)o(b)q(er)f(parsed)h(as)g(an)f(in)o +(teger.)18 b(An)c(error)0 890 y(is)i(signaled)f(if)h(the)g(substring)h +(do)q(es)g(not)f(consist)g(en)o(tirely)h(of)e(the)i(represen)o(tation)g +(of)0 942 y(an)d(in)o(teger,)g(p)q(ossibly)f(surrounded)i(on)f(either)h +(side)f(b)o(y)g(whitespace)h(c)o(haracters.)42 994 y(In)e(either)h +(case,)g(the)g(second)g(v)n(alue)f(is)g(the)h(index)g(in)o(to)e(the)i +(string)g(of)e(the)i(delimiter)0 1046 y(that)f(terminated)f(the)h +(parse,)g(or)g(it)f(is)h(the)g(index)f(b)q(ey)o(ond)h(the)h(substring)f +(if)f(the)h(parse)0 1098 y(terminated)i(at)g(the)h(end)g(of)e(the)i +(substring)g(\(as)f(will)f(alw)o(a)o(ys)h(b)q(e)g(the)h(case)h(if)d +Fs(:junk-)0 1150 y(allowed)e Fw(is)i(false\).)42 1202 +y(Note)i(that)g Fs(parse-integer)d Fw(do)q(es)k(not)f(recognize)h(the)g +(syn)o(tactic)g(radix-sp)q(eci\014er)0 1254 y(pre\014xes)d +Fs(#)150 1250 y(-)150 1258 y(-)172 1254 y(O)p Fw(,)e +Fs(#)218 1250 y(-)218 1258 y(-)240 1254 y(B)p Fw(,)g +Fs(#)286 1250 y(-)286 1258 y(-)308 1254 y(X)p Fw(,)g(and)h +Fs(#)434 1250 y(-)434 1258 y(-)456 1254 y Fv(n)p Fs(R)p +Fw(,)f(nor)h(do)q(es)h(it)e(recognize)i(a)f(trailing)e(decimal)g(p)q +(oin)o(t.)18 b(It)0 1306 y(p)q(ermits)e(only)f(an)h(optional)e(sign)i +(\()p Fs(+)g Fw(or)g Fs(-)p Fw(\))g(follo)o(w)o(ed)e(b)o(y)i(a)f +(non-empt)o(y)g(sequence)j(of)0 1357 y(digits)13 b(in)h(the)g(sp)q +(eci\014ed)i(radix.)0 1488 y Fo(22.2.2.)k(Input)15 b(from)f(Binary)g +(Streams)0 1568 y Fw(Common)d(Lisp)j(curren)o(tly)h(sp)q(eci\014es)h +(only)d(a)h(v)o(ery)g(simple)f(facilit)o(y)f(for)i(binary)f(input:)0 +1620 y(the)h(reading)g(of)f(a)h(single)g(b)o(yte)g(as)g(an)f(in)o +(teger.)1209 1730 y([)p Fv(F)m(unction)s Fw(])-1395 b +Fs(read-byte)19 b Fv(binary)p Fs(-)p Fv(input)p Fs(-)p +Fv(str)n(e)n(am)24 b Fs(&optional)19 b Fv(e)n(of)p Fs(-)p +Fv(err)n(or)p Fs(-)p Fv(p)217 1782 y(e)n(of)p Fs(-)p +Fv(value)0 1859 y Fs(read-byte)12 b Fw(reads)i(one)g(b)o(yte)g(from)e +(the)i Fv(binary-input-str)n(e)n(am)f Fw(and)h(returns)h(it)e(in)g(the) +0 1911 y(form)f(of)h(an)h(in)o(teger.)0 2041 y Fo(22.3.)20 +b(Output)15 b(F)-5 b(unctions)0 2121 y Fw(The)21 b(output)f(functions)g +(are)h(divided)e(in)o(to)h(t)o(w)o(o)f(groups:)31 b(those)21 +b(that)f(op)q(erate)h(on)0 2173 y(streams)14 b(of)f(c)o(haracters)i +(and)f(those)g(that)g(op)q(erate)h(on)f(streams)f(of)g(binary)h(data.)j +(The)0 2225 y(function)e Fs(format)f Fw(op)q(erates)i(on)f(streams)g +(of)g(c)o(haracters)i(but)e(is)g(describ)q(ed)i(in)e(a)g(sec-)0 +2277 y(tion)g(separate)i(from)d(the)j(other)f(c)o(haracter-output)i +(functions)e(b)q(ecause)h(of)f(its)f(great)0 2329 y(complexit)o(y)m(.) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 623 647 +623 646 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(623)0 295 y Fo(22.3.1.)20 b(Output)15 b(to)g(Character)g(Streams)0 +375 y Fw(These)h(functions)e(all)f(tak)o(e)i(an)f(optional)f(argumen)o +(t)h(called)g Fv(output-str)n(e)n(am)p Fw(,)g(whic)o(h)g(is)0 +427 y(where)g(to)e(send)i(the)f(output.)18 b(If)12 b(unsupplied)h(or)g +Fs(nil)p Fw(,)f Fv(output-str)n(e)n(am)g Fw(defaults)h(to)f(the)0 +479 y(v)n(alue)h(of)h(the)g(v)n(ariable)f Fs(*standard-output*)p +Fw(.)i(If)e(it)h(is)g Fs(t)p Fw(,)f(the)i(v)n(alue)e(of)g(the)i(v)n +(ariable)0 531 y Fs(*terminal-io*)c Fw(is)j(used.)1209 +642 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(write)20 b +Fv(obje)n(ct)25 b Fs(&key)20 b(:stream)g(:escape)g(:radix)g(:base)g +(:circle)-38 617 y Fk(.)-38 630 y(.)-38 643 y(.)-38 656 +y(.)-38 669 y(.)-38 682 y(.)-38 695 y(.)-38 708 y(.)-38 +721 y(.)-38 734 y(.)-38 747 y(.)-38 760 y(.)-38 773 y(.)-38 +786 y(.)-38 799 y(.)-38 812 y(.)-38 825 y(.)-38 838 y(.)-38 +851 y(.)-38 864 y(.)-38 877 y(.)-38 890 y(.)-38 903 y(.)-38 +916 y(.)-38 929 y(.)-38 942 y(.)-38 955 y(.)-38 968 y(.)-38 +981 y(.)-38 994 y(.)-38 1007 y(.)-38 1019 y(.)-38 1032 +y(.)-38 1045 y(.)-38 1058 y(.)-38 1071 y(.)-38 1084 y(.)-38 +1097 y(.)-38 1110 y(.)-38 1123 y(.)-38 1136 y(.)-38 1149 +y(.)-38 1162 y(.)-38 1175 y(.)-38 1188 y(.)-38 1201 y(.)-38 +1214 y(.)-38 1227 y(.)-38 1240 y(.)-38 1253 y(.)-38 1266 +y(.)-38 1279 y(.)-38 1292 y(.)-38 1305 y(.)-38 1318 y(.)-38 +1331 y(.)-38 1344 y(.)-38 1357 y(.)-38 1370 y(.)-38 1383 +y(.)-38 1396 y(.)-38 1409 y(.)-38 1422 y(.)-38 1435 y(.)-38 +1448 y(.)-38 1461 y(.)-38 1474 y(.)-38 1486 y(.)-38 1499 +y(.)-38 1512 y(.)-38 1525 y(.)-38 1538 y(.)-38 1551 y(.)-38 +1564 y(.)-38 1577 y(.)-38 1590 y(.)-38 1603 y(.)-38 1616 +y(.)-38 1629 y(.)-38 1642 y(.)-38 1655 y(.)-38 1668 y(.)-38 +1681 y(.)-38 1694 y(.)-38 1707 y(.)-38 1720 y(.)-38 1733 +y(.)-38 1746 y(.)-38 1759 y(.)-38 1772 y(.)-38 1785 y(.)-38 +1798 y(.)-38 1811 y(.)-38 1824 y(.)-38 1837 y(.)-38 1850 +y(.)-38 1863 y(.)-38 1876 y(.)-38 1889 y(.)-38 1902 y(.)-38 +1915 y(.)-38 1928 y(.)-38 1941 y(.)-38 1953 y(.)-38 1966 +y(.)-38 1979 y(.)-38 1992 y(.)-38 2005 y(.)-38 2018 y(.)-38 +2031 y(.)-38 2044 y(.)-38 2057 y(.)-38 2070 y(.)-38 2083 +y(.)-38 2096 y(.)-38 2109 y(.)-38 2122 y(.)-38 2135 y(.)-38 +2148 y(.)-38 2161 y(.)-38 2174 y(.)-38 2187 y(.)-38 2200 +y(.)-38 2213 y(.)-38 2226 y(.)-38 2239 y(.)-38 2252 y(.)-38 +2265 y(.)-38 2278 y(.)-38 2291 y(.)-38 2304 y(.)-38 2317 +y(.)-38 2330 y(.)-38 2343 y(.)-38 2356 y(.)-38 2369 y(.)-38 +2382 y(.)-38 2395 y(.)-38 2408 y(.)-38 2420 y(.)-38 2433 +y(.)-38 2446 y(.)-38 2459 y(.)-38 2472 y(.)-38 2485 y(.)-38 +2498 y(.)-38 2511 y(.)-38 2524 y(.)-38 2537 y(.)-38 2550 +y(.)-38 2563 y(.)-38 2576 y(.)-38 2589 y(.)-38 2602 y(.)-38 +2615 y(.)-38 2628 y(.)-38 2641 y(.)-38 2654 y(.)-38 2667 +y(.)-38 2680 y(.)-38 2693 y(.)-38 2706 y(.)-38 2719 y(.)-38 +2732 y(.)-38 2745 y(.)-38 2758 y(.)-38 2771 y(.)-38 2784 +y(.)-38 2797 y(.)-38 2810 y(.)-38 2823 y(.)-38 2836 y(.)-38 +2849 y(.)-38 2862 y(.)-38 2875 y(.)-38 2887 y(.)-38 2900 +y(.)-38 2913 y(.)-38 2926 y(.)-38 2939 y(.)-38 2952 y(.)-38 +2965 y(.)-38 2978 y(.)-38 2991 y(.)-38 3004 y(.)-38 3017 +y(.)-38 3030 y(.)-38 3043 y(.)-38 3056 y(.)-38 3069 y(.)-38 +3082 y(.)-38 3095 y(.)-38 3108 y(.)-38 3121 y(.)-38 3134 +y(.)-38 3147 y(.)-38 3160 y(.)-38 3173 y(.)-38 3186 y(.)-38 +3199 y(.)130 694 y Fs(:pretty)g(:level)g(:length)g(:case)g(:gensym)f +(:array)0 771 y Fw(The)14 b(prin)o(ted)g(represen)o(tation)g(of)f +Fv(obje)n(ct)g Fw(is)h(written)g(to)f(the)h(output)f(stream)g(sp)q +(eci\014ed)0 823 y(b)o(y)h Fs(:stream)p Fw(,)e(whic)o(h)h(defaults)h +(to)g(the)g(v)n(alue)g(of)f Fs(*standard-output*)o Fw(.)42 +875 y(The)24 b(other)g(k)o(eyw)o(ord)g(argumen)o(ts)f(sp)q(ecify)i(v)n +(alues)e(used)i(to)f(con)o(trol)f(the)i(gen-)0 927 y(eration)k(of)f +(the)i(prin)o(ted)f(represen)o(tation.)65 b(Eac)o(h)30 +b(defaults)f(to)f(the)i(v)n(alue)e(of)0 979 y(the)c(corresp)q(onding)h +(global)c(v)n(ariable:)37 b(see)24 b Fs(*print-escape*)p +Fw(,)f Fs(*print-radix*)p Fw(,)0 1031 y Fs(*print-base*)p +Fw(,)7 b Fs(*print-circle*)p Fw(,)g Fs(*print-pretty*)p +Fw(,)g Fs(*print-level*)p Fw(,)g Fs(*print-)0 1082 y(length*)p +Fw(,)k Fs(*print-case*)p Fw(,)f Fs(*print-array*)p Fw(,)g(and)j +Fs(*print-gensym*)p Fw(.)i(\(This)e(is)g(the)0 1134 y(means)h(b)o(y)h +(whic)o(h)g(these)h(v)n(ariables)e(a\013ect)i(prin)o(ting)e(op)q +(erations:)21 b(supplying)14 b(default)0 1186 y(v)n(alues)19 +b(for)h(the)g Fs(write)f Fw(function.\))35 b(Note)20 +b(that)g(the)g(prin)o(ting)f(of)g(sym)o(b)q(ols)g(is)g(also)0 +1238 y(a\013ected)c(b)o(y)f(the)h(v)n(alue)e(of)g(the)i(v)n(ariable)d +Fs(*package*)p Fw(.)k Fs(write)d Fw(returns)j Fv(obje)n(ct)p +Fw(.)-33 1250 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1310 a(X3J13)g(v)o(oted)h(in)f(June)h(1989)f +Ft(h)p Fw(40)p Ft(i)g Fw(to)h(add)f(the)i(k)o(eyw)o(ord)e(argumen)o(t)g +Fs(:readably)-33 1282 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1362 a Fw(to)j(the)i(function)e Fs(write)p +Fw(,)g(and)h(v)o(oted)f(in)h(June)g(1989)f Ft(h)p Fw(139)p +Ft(i)g Fw(to)g(add)h(the)g(k)o(eyw)o(ord)0 1414 y(argumen)o(ts)13 +b Fs(:right-margin)p Fw(,)e Fs(:miser-width)p Fw(,)g +Fs(:lines)p Fw(,)h(and)i Fs(:pprint-dispatc)o(h)p Fw(.)0 +1466 y(The)g(revised)h(description)g(is)e(as)h(follo)o(ws.)1209 +1577 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(write)20 +b Fv(obje)n(ct)25 b Fs(&key)20 b(:stream)g(:escape)g(:radix)g(:base)g +(:circle)130 1629 y(:pretty)g(:level)g(:length)g(:case)g(:gensym)f +(:array)h(:readably)130 1681 y(:right-margin)f(:miser-width)f(:lines)i +(:pprint-dispatch)0 1758 y Fw(The)14 b(prin)o(ted)g(represen)o(tation)g +(of)f Fv(obje)n(ct)g Fw(is)h(written)g(to)f(the)h(output)f(stream)g(sp) +q(eci\014ed)0 1810 y(b)o(y)h Fs(:stream)p Fw(,)e(whic)o(h)h(defaults)h +(to)g(the)g(v)n(alue)g(of)f Fs(*standard-output*)o Fw(.)42 +1862 y(The)24 b(other)g(k)o(eyw)o(ord)g(argumen)o(ts)f(sp)q(ecify)i(v)n +(alues)e(used)i(to)f(con)o(trol)f(the)i(gen-)0 1914 y(eration)35 +b(of)f(the)h(prin)o(ted)g(represen)o(tation.)82 b(Eac)o(h)35 +b(defaults)g(to)f(the)h(v)n(alue)0 1966 y(of)e(the)i(corresp)q(onding)g +(global)d(v)n(ariable:)57 b(see)35 b Fs(*print-escape*)p +Fw(,)g Fs(*print-)0 2017 y(radix*)p Fw(,)11 b Fs(*print-base*)p +Fw(,)f Fs(*print-circle*)p Fw(,)f Fs(*print-pretty*)p +Fw(,)h Fs(*print-level*)p Fw(,)0 2069 y Fs(*print-length*)p +Fw(,)37 b(and)e Fs(*print-case*)p Fw(,)j(in)d(addition)f(to)h +Fs(*print-array*)p Fw(,)0 2121 y Fs(*print-gensym*)p +Fw(,)h Fs(*print-readably*)p Fw(,)g Fs(*print-right-ma)o(rgin*)o +Fw(,)g Fs(*print-)0 2173 y(miser-width*)p Fw(,)19 b Fs(*print-lines*)p +Fw(,)g(and)h Fs(*print-pprint-dis)o(patch)o(*)p Fw(.)34 +b(\(This)21 b(is)0 2225 y(the)15 b(means)f(b)o(y)h(whic)o(h)f(these)j +(v)n(ariables)d(a\013ect)h(prin)o(ting)f(op)q(erations:)20 +b(supplying)14 b(de-)0 2277 y(fault)e(v)n(alues)g(for)g(the)h +Fs(write)f Fw(function.\))17 b(Note)c(that)g(the)g(prin)o(ting)f(of)g +(sym)o(b)q(ols)f(is)h(also)0 2329 y(a\013ected)j(b)o(y)f(the)h(v)n +(alue)e(of)g(the)i(v)n(ariable)d Fs(*package*)p Fw(.)k +Fs(write)d Fw(returns)j Fv(obje)n(ct)p Fw(.)-33 2340 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 624 648 +624 647 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(624)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(prin1)20 b Fv(obje)n(ct)25 b Fs(&optional)19 b Fv(output)p +Fs(-)p Fv(str)n(e)n(am)1209 347 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(print)20 b Fv(obje)n(ct)25 b Fs(&optional)19 +b Fv(output)p Fs(-)p Fv(str)n(e)n(am)1209 399 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(pprint)20 b Fv(obje)n(ct)25 +b Fs(&optional)19 b Fv(output)p Fs(-)p Fv(str)n(e)n(am)1209 +450 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(princ)20 +b Fv(obje)n(ct)25 b Fs(&optional)19 b Fv(output)p Fs(-)p +Fv(str)n(e)n(am)0 529 y Fs(prin1)14 b Fw(outputs)i(the)f(prin)o(ted)h +(represen)o(tation)h(of)d Fv(obje)n(ct)h Fw(to)g Fv(output-str)n(e)n +(am)p Fw(.)21 b(Escap)q(e)0 581 y(c)o(haracters)13 b(are)f(used)h(as)f +(appropriate.)17 b(Roughly)10 b(sp)q(eaking,)i(the)g(output)g(from)e +Fs(prin1)0 633 y Fw(is)19 b(suitable)f(for)h(input)f(to)h(the)g +(function)f Fs(read)p Fw(.)32 b Fs(prin1)18 b Fw(returns)i(the)f +Fv(obje)n(ct)g Fw(as)g(its)0 685 y(v)n(alue.)0 791 y +Fs(\(prin1)h Fv(obje)n(ct)h(output-str)n(e)n(am)p Fs(\))64 +843 y Ft(\021)g Fs(\(write)f Fv(obje)n(ct)h Fs(:stream)f +Fv(output-str)n(e)n(am)h Fs(:escape)e(t\))42 947 y(print)13 +b Fw(is)h(just)h(lik)o(e)f Fs(prin1)g Fw(except)i(that)e(the)h(prin)o +(ted)g(represen)o(tation)h(of)e Fv(obje)n(ct)h Fw(is)0 +999 y(preceded)j(b)o(y)d(a)g(newline)h(\(see)h Fs(terpri)p +Fw(\))d(and)h(follo)o(w)o(ed)f(b)o(y)i(a)f(space.)24 +b Fs(print)14 b Fw(returns)0 1051 y Fv(obje)n(ct)p Fw(.)42 +1105 y Fs(pprint)e Fw(is)i(just)h(lik)o(e)e Fs(print)g +Fw(except)j(that)e(the)h(trailing)d(space)j(is)f(omitted)f(and)h(the)0 +1157 y Fv(obje)n(ct)g Fw(is)h(prin)o(ted)g(with)f(the)i +Fs(*print-pretty*)11 b Fw(\015ag)j(non-)p Fs(nil)g Fw(to)h(pro)q(duce)g +(\\prett)o(y")0 1209 y(output.)34 b Fs(pprint)18 b Fw(returns)i(no)f(v) +n(alues)g(\(that)h(is,)f(what)g(the)h(expression)g Fs(\(values\))0 +1261 y Fw(returns:)g(zero)14 b(v)n(alues\).)42 1315 y(X3J13)i(v)o(oted) +g(in)g(Jan)o(uary)g(1989)g Ft(h)p Fw(139)p Ft(i)g Fw(to)g(adopt)g(a)g +(facilit)o(y)f(for)h(user-con)o(trolled)-33 1286 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1367 a(prett)o(y)f(prin)o(ting)e(\(see)i(c)o(hapter)g +(27\).)-33 1378 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1421 a Fs(princ)f Fw(is)i(just)g(lik)o(e)f +Fs(prin1)f Fw(except)k(that)d(the)i(output)f(has)g(no)f(escap)q(e)i(c)o +(haracters.)0 1472 y(A)h(sym)o(b)q(ol)e(is)i(prin)o(ted)g(as)g(simply)e +(the)i(c)o(haracters)i(of)d(its)h(prin)o(t)g(name;)g(a)g(string)g(is)0 +1524 y(prin)o(ted)d(without)f(surrounding)g(double)g(quotes;)h(and)f +(there)h(ma)o(y)e(b)q(e)i(di\013erences)h(for)0 1576 +y(other)21 b(data)g(t)o(yp)q(es)g(as)g(w)o(ell.)38 b(The)21 +b(general)g(rule)g(is)g(that)f(output)h(from)e Fs(princ)h +Fw(is)0 1628 y(in)o(tended)c(to)f(lo)q(ok)g(go)q(o)q(d)g(to)g(p)q +(eople,)h(while)f(output)g(from)f Fs(prin1)g Fw(is)i(in)o(tended)g(to)f +(b)q(e)0 1680 y(acceptable)g(to)f(the)g(function)g Fs(read)p +Fw(.)42 1734 y(X3J13)f(v)o(oted)h(in)f(June)i(1987)d +Ft(h)p Fw(140)p Ft(i)i Fw(to)f(clarify)g(that)h Fs(princ)f +Fw(prin)o(ts)h(a)f(c)o(haracter)i(in)-33 1706 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1786 a(exactly)f(the)h(same)f(manner)f(as)h +Fs(write-char)p Fw(:)j(the)e(c)o(haracter)h(is)e(simply)e(sen)o(t)j(to) +f(the)0 1838 y(output)h Fv(str)n(e)n(am)p Fw(.)k(This)14 +b(w)o(as)h(implied)d(b)o(y)j(the)g(sp)q(eci\014cation)g(in)f(section)h +(22.1.6)e(in)h(the)0 1890 y(\014rst)h(edition,)e(but)h(is)f(w)o(orth)h +(p)q(oin)o(ting)f(out)h(explicitly)f(here.)-33 1901 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1944 a Fs(princ)f Fw(returns)k(the)e +Fv(obje)n(ct)g Fw(as)g(its)g(v)n(alue.)0 2050 y Fs(\(princ)20 +b Fv(obje)n(ct)h(output-str)n(e)n(am)p Fs(\))64 2102 +y Ft(\021)g Fs(\(write)f Fv(obje)n(ct)h Fs(:stream)f +Fv(output-str)n(e)n(am)h Fs(:escape)e(nil\))p 0 2162 +V 0 2224 a Fm(Compatibilit)o(y)14 b(note:)21 b FA(In)14 +b(MacLisp,)j(the)d(functions)j Fj(prin1)p FA(,)12 b Fj(print)p +FA(,)h(and)i Fj(princ)e FA(return)0 2270 y Fj(t)p FA(,)f(not)h(the)g +(argumen)o(t)h Fq(obje)n(ct)p FA(.)p 0 2329 V -33 2344 +a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 625 649 +625 648 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(INPUT/OUTPUT)1046 b(625)1209 295 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(write-to-string)18 b Fv(obje)n(ct)25 +b Fs(&key)20 b(:escape)g(:radix)g(:base)-38 270 y Fk(.)-38 +283 y(.)-38 296 y(.)-38 309 y(.)-38 322 y(.)-38 335 y(.)-38 +348 y(.)-38 361 y(.)-38 373 y(.)-38 386 y(.)-38 399 y(.)-38 +412 y(.)-38 425 y(.)-38 438 y(.)-38 451 y(.)-38 464 y(.)-38 +477 y(.)-38 490 y(.)-38 503 y(.)-38 516 y(.)-38 529 y(.)-38 +542 y(.)-38 555 y(.)-38 568 y(.)-38 581 y(.)-38 594 y(.)-38 +607 y(.)-38 620 y(.)-38 633 y(.)-38 646 y(.)-38 659 y(.)-38 +672 y(.)-38 685 y(.)-38 698 y(.)-38 711 y(.)-38 724 y(.)-38 +737 y(.)-38 750 y(.)-38 763 y(.)-38 776 y(.)-38 789 y(.)-38 +802 y(.)-38 815 y(.)-38 828 y(.)-38 840 y(.)-38 853 y(.)-38 +866 y(.)-38 879 y(.)-38 892 y(.)-38 905 y(.)-38 918 y(.)-38 +931 y(.)-38 944 y(.)-38 957 y(.)-38 970 y(.)-38 983 y(.)-38 +996 y(.)-38 1009 y(.)-38 1022 y(.)-38 1035 y(.)-38 1048 +y(.)-38 1061 y(.)-38 1074 y(.)-38 1087 y(.)-38 1100 y(.)-38 +1113 y(.)-38 1126 y(.)-38 1139 y(.)-38 1152 y(.)-38 1165 +y(.)-38 1178 y(.)-38 1191 y(.)-38 1204 y(.)-38 1217 y(.)-38 +1230 y(.)-38 1243 y(.)-38 1256 y(.)-38 1269 y(.)-38 1282 +y(.)-38 1295 y(.)-38 1307 y(.)-38 1320 y(.)-38 1333 y(.)-38 +1346 y(.)-38 1359 y(.)-38 1372 y(.)-38 1385 y(.)-38 1398 +y(.)-38 1411 y(.)-38 1424 y(.)-38 1437 y(.)-38 1450 y(.)-38 +1463 y(.)-38 1476 y(.)-38 1489 y(.)-38 1502 y(.)-38 1515 +y(.)-38 1528 y(.)-38 1541 y(.)-38 1554 y(.)-38 1567 y(.)-38 +1580 y(.)-38 1593 y(.)-38 1606 y(.)-38 1619 y(.)-38 1632 +y(.)-38 1645 y(.)-38 1658 y(.)-38 1671 y(.)-38 1684 y(.)-38 +1697 y(.)-38 1710 y(.)-38 1723 y(.)-38 1736 y(.)-38 1749 +y(.)-38 1762 y(.)-38 1774 y(.)-38 1787 y(.)-38 1800 y(.)-38 +1813 y(.)-38 1826 y(.)-38 1839 y(.)-38 1852 y(.)-38 1865 +y(.)-38 1878 y(.)-38 1891 y(.)-38 1904 y(.)-38 1917 y(.)-38 +1930 y(.)-38 1943 y(.)-38 1956 y(.)-38 1969 y(.)-38 1982 +y(.)-38 1995 y(.)-38 2008 y(.)-38 2021 y(.)-38 2034 y(.)-38 +2047 y(.)-38 2060 y(.)-38 2073 y(.)-38 2086 y(.)-38 2099 +y(.)-38 2112 y(.)-38 2125 y(.)-38 2138 y(.)-38 2151 y(.)-38 +2164 y(.)-38 2177 y(.)-38 2190 y(.)-38 2203 y(.)-38 2216 +y(.)-38 2229 y(.)-38 2241 y(.)-38 2254 y(.)-38 2267 y(.)-38 +2280 y(.)-38 2293 y(.)-38 2306 y(.)-38 2319 y(.)-38 2332 +y(.)-38 2345 y(.)-38 2358 y(.)-38 2371 y(.)-38 2384 y(.)-38 +2397 y(.)-38 2410 y(.)-38 2423 y(.)-38 2436 y(.)-38 2449 +y(.)-38 2462 y(.)-38 2475 y(.)-38 2488 y(.)-38 2501 y(.)-38 +2514 y(.)-38 2527 y(.)-38 2540 y(.)-38 2553 y(.)-38 2566 +y(.)-38 2579 y(.)-38 2592 y(.)-38 2605 y(.)-38 2618 y(.)-38 +2631 y(.)-38 2644 y(.)-38 2657 y(.)-38 2670 y(.)-38 2683 +y(.)-38 2696 y(.)-38 2708 y(.)-38 2721 y(.)-38 2734 y(.)-38 +2747 y(.)-38 2760 y(.)-38 2773 y(.)-38 2786 y(.)-38 2799 +y(.)-38 2812 y(.)-38 2825 y(.)-38 2838 y(.)-38 2851 y(.)348 +347 y Fs(:circle)g(:pretty)g(:level)f(:length)h(:case)g(:gensym)348 +399 y(:array)1209 450 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(prin1-to-string)18 b Fv(obje)n(ct)1209 502 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(princ-to-string)18 b +Fv(obje)n(ct)0 580 y Fw(The)13 b(ob)r(ject)g(is)f(e\013ectiv)o(ely)h +(prin)o(ted)g(as)g(if)e(b)o(y)h Fs(write)p Fw(,)g Fs(prin1)p +Fw(,)f(or)h Fs(princ)p Fw(,)f(resp)q(ectiv)o(ely)m(,)0 +632 y(and)19 b(the)g(c)o(haracters)i(that)e(w)o(ould)f(b)q(e)h(output)h +(are)f(made)f(in)o(to)g(a)g(string,)i(whic)o(h)f(is)0 +684 y(returned.)-33 696 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 744 V 0 805 a Fm(Compatibilit)o(y)8 b(note:)16 +b FA(The)10 b(In)o(terlisp)i(function)f Fj(mkstring)c +FA(corresp)q(onds)k(to)f(the)g(Common)0 851 y(Lisp)k(function)g +Fj(princ-to-s)o(tri)o(ng)p FA(.)p 0 898 V 1209 1062 a +Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(write-to-string)18 +b Fv(obje)n(ct)25 b Fs(&key)20 b(:escape)g(:radix)g(:base)-33 +1034 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 348 1114 a(:circle)g(:pretty)g(:level)f(:length)h(:case)g +(:gensym)348 1166 y(:array)g(:readably)f(:right-margin)g(:miser-width) +348 1218 y(:lines)h(:pprint-dispatch)0 1296 y Fw(X3J13)f(v)o(oted)g(in) +g(June)h(1989)f(\()p Ft(h)p Fw(40)p Ft(i)g Fw(and)g Ft(h)p +Fw(139)p Ft(i)p Fw(\))g(to)g(add)g(k)o(eyw)o(ord)g(argumen)o(ts)g(to)0 +1348 y Fs(write)p Fw(;)12 b(presumably)h(they)i(should)e(also)h(b)q(e)g +(added)g(to)g Fs(write-to-string)p Fw(.)-33 1359 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1527 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(write-char)19 b Fv(char)n(acter)25 b Fs(&optional)20 +b Fv(output)p Fs(-)p Fv(str)n(e)n(am)0 1605 y Fs(write-char)12 +b Fw(outputs)i(the)h Fv(char)n(acter)e Fw(to)h Fv(output-str)n(e)n(am)p +Fw(,)f(and)h(returns)h Fv(char)n(acter)p Fw(.)1209 1784 +y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(write-string)19 +b Fv(string)24 b Fs(&optional)19 b Fv(output)p Fs(-)p +Fv(str)n(e)n(am)24 b Fs(&key)d(:start)283 1836 y(:end)1209 +1888 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(write-line)19 +b Fv(string)24 b Fs(&optional)c Fv(output)p Fs(-)p Fv(str)n(e)n(am)k +Fs(&key)c(:start)239 1940 y(:end)0 2017 y(write-string)10 +b Fw(writes)k(the)f(c)o(haracters)i(of)d(the)h(sp)q(eci\014ed)i +(substring)e(of)f Fv(string)g Fw(to)h(the)0 2069 y Fv(output-str)n(e)n +(am)p Fw(.)k(The)c Fs(:start)e Fw(and)h Fs(:end)f Fw(parameters)h +(delimit)e(a)i(substring)h(of)e Fv(string)0 2121 y Fw(in)k(the)h(usual) +g(manner)f(\(see)i(c)o(hapter)f(14\).)23 b Fs(write-line)14 +b Fw(do)q(es)i(the)h(same)d(thing)i(but)0 2173 y(then)21 +b(outputs)f(a)f(newline)h(afterw)o(ards.)37 b(\(See)21 +b Fs(read-line)p Fw(.\))34 b(In)20 b(either)g(case,)i(the)0 +2225 y Fv(string)12 b Fw(is)h(returned)h(\()p Fv(not)f +Fw(the)g(substring)h(delimited)d(b)o(y)h Fs(:start)f +Fw(and)i Fs(:end)p Fw(\).)k(In)c(some)0 2277 y(implemen)o(tatio)o(ns)c +(these)k(ma)o(y)d(b)q(e)i(m)o(uc)o(h)f(more)f(e\016cien)o(t)i(than)g +(an)f(explicit)g(lo)q(op)g(using)0 2329 y Fs(write-char)p +Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 626 650 +626 649 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(626)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(terpri)20 b(&optional)f Fv(output)p Fs(-)p Fv(str)n(e)n(am)1209 +347 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(fresh-line)19 +b(&optional)g Fv(output)p Fs(-)p Fv(str)n(e)n(am)0 423 +y Fw(The)f(function)f Fs(terpri)g Fw(outputs)h(a)f(newline)h(to)f +Fv(output-str)n(e)n(am)p Fw(.)29 b(It)18 b(is)f(iden)o(tical)g(in)0 +475 y(e\013ect)i(to)e Fs(\(write-char)i(#)428 471 y(-)428 +479 y(-)450 475 y(\\Newline)g Fv(output)p Fs(-)p Fv(str)n(e)n(am)p +Fs(\))p Fw(;)g(ho)o(w)o(ev)o(er,)f Fs(terpri)e Fw(alw)o(a)o(ys)0 +527 y(returns)f Fs(nil)p Fw(.)42 579 y Fs(fresh-line)d +Fw(is)j(similar)d(to)j Fs(terpri)f Fw(but)h(outputs)g(a)g(newline)g +(only)f(if)g(the)h(stream)0 631 y(is)f(not)g(already)f(at)h(the)g +(start)h(of)e(a)h(line.)j(\(If)d(for)g(some)f(reason)h(this)g(cannot)g +(b)q(e)h(deter-)0 683 y(mined,)h(then)h(a)g(newline)g(is)f(output)h(an) +o(yw)o(a)o(y)m(.\))26 b(This)16 b(guaran)o(tees)i(that)f(the)g(stream)0 +735 y(will)10 b(b)q(e)i(on)f(a)h(\\fresh)g(line")e(while)h(consuming)f +(as)i(little)f(v)o(ertical)g(distance)h(as)g(p)q(ossible.)0 +787 y Fs(fresh-line)i Fw(is)h(a)h(predicate)g(that)g(is)g(true)g(if)f +(it)g(output)h(a)g(newline,)f(and)h(otherwise)0 839 y(false.)1209 +962 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(finish-output)18 +b(&optional)i Fv(output)p Fs(-)p Fv(str)n(e)n(am)1209 +1014 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(force-output)19 +b(&optional)g Fv(output)p Fs(-)p Fv(str)n(e)n(am)1209 +1066 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(clear-output)19 +b(&optional)g Fv(output)p Fs(-)p Fv(str)n(e)n(am)0 1143 +y Fw(Some)h(streams)h(ma)o(y)e(b)q(e)j(implemen)o(ted)d(in)i(an)g +(async)o(hronous)h(or)f(bu\013ered)i(man-)0 1194 y(ner.)c(The)14 +b(function)f Fs(finish-output)e Fw(attempts)j(to)g(ensure)h(that)f(all) +e(output)i(sen)o(t)h(to)0 1246 y Fv(output-str)n(e)n(am)d +Fw(has)h(reac)o(hed)h(its)e(destination,)h(and)f(only)g(then)h(returns) +h Fs(nil)p Fw(.)j Fs(force-)0 1298 y(output)11 b Fw(initiates)h(the)h +(empt)o(ying)e(of)g(an)o(y)h(in)o(ternal)g(bu\013ers)i(but)e(returns)i +Fs(nil)e Fw(without)0 1350 y(w)o(aiting)g(for)i(completion)e(or)i(ac)o +(kno)o(wledgmen)o(t.)42 1402 y(The)20 b(function)f Fs(clear-output)p +Fw(,)g(on)g(the)i(other)f(hand,)h(attempts)f(to)f(ab)q(ort)h(an)o(y)0 +1454 y(outstanding)e(output)g(op)q(eration)g(in)g(progress)h(in)f +(order)h(to)f(allo)o(w)e(as)i(little)g(output)0 1506 +y(as)h(p)q(ossible)h(to)f(con)o(tin)o(ue)g(to)g(the)h(destination.)33 +b(This)19 b(is)g(useful,)h(for)f(example,)g(to)0 1558 +y(ab)q(ort)d(a)g(length)o(y)g(output)h(to)f(the)g(terminal)f(when)i(an) +f(async)o(hronous)h(error)g(o)q(ccurs.)0 1610 y Fs(clear-output)11 +b Fw(returns)16 b Fs(nil)p Fw(.)42 1661 y(The)k(precise)h(actions)f(of) +f(all)f(three)j(of)e(these)i(op)q(erations)f(are)g(implemen)o(tation-)0 +1713 y(dep)q(enden)o(t.)-33 1808 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 1837 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(print-unreadable-)o(objec)o(t)32 b(\()p Fv(obje)n(ct)15 +b(str)n(e)n(am)565 1889 y Fw([)-7 b([)7 b Fs(:type)13 +b Fv(typ)n(e)i Ft(j)f Fs(:identity)f Fv(id)7 b Fw(])-7 +b(])7 b Fs(\))529 1941 y Ft(f)p Fv(de)n(clar)n(ation)p +Ft(g)768 1926 y Fl(\003)815 1941 y Ft(f)g Fv(form)p Ft(g)950 +1926 y Fl(\003)0 2017 y Fw(X3J13)20 b(v)o(oted)g(in)g(June)h(1989)e +Ft(h)p Fw(40)p Ft(i)h Fw(to)g(add)f Fs(print-unreadable-obj)o(ect)p +Fw(,)f(whic)o(h)0 2069 y(will)e(output)h(a)g(prin)o(ted)g(represen)o +(tation)i(of)d Fv(obje)n(ct)h Fw(on)g Fv(str)n(e)n(am)p +Fw(,)g(b)q(eginning)f(with)h Fs(#)1351 2065 y(-)1351 +2073 y(-)1373 2069 y(<)0 2121 y Fw(and)d(ending)h(with)f +Fs(>)p Fw(.)19 b(Ev)o(erything)c(output)f(to)g(the)h +Fv(str)n(e)n(am)f Fw(during)g(execution)h(of)f(the)0 +2173 y(b)q(o)q(dy)d(forms)e(is)h(enclosed)i(in)e(the)h(angle)f(brac)o +(k)o(ets.)18 b(If)11 b Fv(typ)n(e)f Fw(is)h(true,)g(the)g(b)q(o)q(dy)g +(output)g(is)0 2225 y(preceded)i(b)o(y)d(a)g(brief)h(description)g(of)f +(the)h(ob)r(ject's)h(t)o(yp)q(e)f(and)f(a)h(space)g(c)o(haracter.)19 +b(If)10 b Fv(id)0 2277 y Fw(is)i(true,)h(the)h(b)q(o)q(dy)e(output)h +(is)f(follo)o(w)o(ed)f(b)o(y)h(a)g(space)i(c)o(haracter)g(and)e(a)g +(represen)o(tation)0 2329 y(of)h(the)i(ob)r(ject's)f(iden)o(tit)o(y)m +(,)f(t)o(ypically)f(a)i(storage)g(address.)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 627 651 +627 650 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(627)42 295 y Fw(If)15 b Fs(*print-readably*)d Fw(is)k(true,)g +Fs(print-unreadable-ob)o(ject)c Fw(signals)j(an)h(error)0 +347 y(of)d(t)o(yp)q(e)i Fs(print-not-readab)o(le)c Fw(without)i(prin)o +(ting)g(an)o(ything.)42 399 y(The)h Fv(obje)n(ct)p Fw(,)f +Fv(str)n(e)n(am)p Fw(,)f Fv(typ)n(e)p Fw(,)h(and)h Fv(id)f +Fw(argumen)o(ts)g(are)h(all)e(ev)n(aluated)h(normally)m(.)i(The)0 +450 y Fv(typ)n(e)c Fw(and)h Fv(id)f Fw(default)g(to)g(false.)17 +b(It)11 b(is)g(v)n(alid)f(to)h(pro)o(vide)g(no)g(b)q(o)q(dy)h(forms.)j +(If)c Fv(typ)n(e)h Fw(and)f Fv(id)0 502 y Fw(are)h(b)q(oth)f(true)i +(and)e(there)i(are)f(no)f(b)q(o)q(dy)g(forms,)f(only)h(one)h(space)g(c) +o(haracter)h(separates)0 554 y(the)h(prin)o(ted)h(t)o(yp)q(e)f(and)g +(the)g(prin)o(ted)h(iden)o(tit)o(y)m(.)42 606 y(The)f(v)n(alue)f +(returned)j(b)o(y)d Fs(print-unreadable-ob)o(ject)d Fw(is)k +Fs(nil)p Fw(.)0 691 y Fs(\(defmethod)19 b(print-object)g(\(\(obj)h +(airplane\))f(stream\))42 743 y(\(print-unreadable-o)o(bject)f(\(obj)i +(stream)g(:type)g(t)h(:identity)e(t\))85 795 y(\(princ)h(\(tail-number) +e(obj\))j(stream\)\)\))0 847 y(\(print)f(my-airplane\))40 +b Fw(prin)o(ts)0 899 y Fs(#)0 895 y(-)0 903 y(-)22 899 +y()103 b(;)p Fw(In)14 +b(implemen)o(tatio)o(n)d(A)445 951 y(or)i(p)q(erhaps)0 +1002 y Fs(#)0 998 y(-)0 1006 y(-)22 1002 y()232 b(;)p Fw(In)14 b(implemen)o(tation)c(B)0 +1087 y(The)17 b(big)e(adv)n(an)o(tage)h(of)f Fs(print-unreadable-o)o +(bject)e Fw(is)j(that)g(it)g(allo)o(ws)f(a)h(user)h(to)0 +1139 y(write)k Fs(print-object)d Fw(metho)q(ds)i(that)h(adhere)h(to)e +(implemen)o(tatio)o(n-sp)q(eci\014c)g(st)o(yle)0 1191 +y(without)14 b(requiring)f(the)i(user)g(to)e(write)i(implem)o(en)o +(tation-dep)q(enden)o(t)e(co)q(de.)42 1243 y(The)e(X3J13)g(v)o(ote)g +(left)g(it)g(unclear)g(whether)i Fs(print-unreadable-)o(objec)o(t)8 +b Fw(p)q(ermits)0 1295 y(declarations)15 b(to)g(app)q(ear)g(b)q(efore)h +(the)g(b)q(o)q(dy)f(of)f(the)i(macro)e(call.)20 b(I)15 +b(b)q(eliev)o(e)h(that)f(w)o(as)0 1347 y(the)i(in)o(ten)o(t,)g(and)f +(this)h(is)f(re\015ected)j(in)d(the)h(syn)o(tax)f(sho)o(wn)h(ab)q(o)o +(v)o(e;)g(but)g(this)f(is)h(only)0 1399 y(m)o(y)12 b(in)o +(terpretation.)-33 1410 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1548 a Fo(22.3.2.)20 b(Output)15 b(to)g(Binary)f +(Streams)0 1633 y Fw(Common)8 b(Lisp)k(curren)o(tly)h(sp)q(eci\014es)g +(only)e(a)h(v)o(ery)g(simple)e(facilit)o(y)g(for)i(binary)f(output:)0 +1684 y(the)j(writing)g(of)f(a)g(single)h(b)o(yte)g(as)g(an)g(in)o +(teger.)1209 1811 y([)p Fv(F)m(unction)s Fw(])-1395 b +Fs(write-byte)19 b Fv(inte)n(ger)25 b(binary)p Fs(-)p +Fv(output)p Fs(-)p Fv(str)n(e)n(am)0 1887 y Fs(write-byte)14 +b Fw(writes)i(one)h(b)o(yte,)f(the)h(v)n(alue)e(of)g +Fv(inte)n(ger)p Fw(.)24 b(It)16 b(is)g(an)f(error)i(if)e +Fv(inte)n(ger)h Fw(is)0 1939 y(not)f(of)g(the)h(t)o(yp)q(e)g(sp)q +(eci\014ed)h(as)e(the)h Fs(:element-type)d Fw(argumen)o(t)h(to)i +Fs(open)e Fw(when)i(the)0 1991 y(stream)d(w)o(as)h(created.)20 +b(The)14 b(v)n(alue)f Fv(inte)n(ger)h Fw(is)f(returned.)0 +2140 y Fo(22.3.3.)20 b(F)-5 b(ormatted)14 b(Output)h(to)f(Character)h +(Streams)0 2225 y Fw(The)g(function)f Fs(format)g Fw(is)g(v)o(ery)h +(useful)g(for)f(pro)q(ducing)h(nicely)f(formatted)g(text,)h(pro-)0 +2277 y(ducing)i(go)q(o)q(d-lo)q(oking)e(messages,)j(and)f(so)g(on.)28 +b Fs(format)16 b Fw(can)i(generate)g(a)f(string)h(or)0 +2329 y(output)c(to)g(a)f(stream.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 628 652 +628 651 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(628)77 b(COMMON)13 +b(LISP)42 295 y Fw(F)m(ormatted)g(output)i(is)f(p)q(erformed)h(not)g +(only)e(b)o(y)i(the)g Fs(format)f Fw(function)g(itself)h(but)0 +347 y(b)o(y)c(certain)h(other)f(functions)h(that)f(accept)h(a)f(con)o +(trol)g(string)g(\\the)g(w)o(a)o(y)g Fs(format)f Fw(do)q(es.")0 +399 y(F)m(or)k(example,)e(error-signaling)i(functions)g(suc)o(h)h(as)g +Fs(cerror)d Fw(accept)k Fs(format)d Fw(con)o(trol)0 450 +y(strings.)1209 590 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(format)20 b Fv(destination)25 b(c)n(ontr)n(ol)p +Fs(-)p Fv(string)e Fs(&rest)d Fv(ar)n(guments)0 667 y +Fs(format)13 b Fw(is)i(used)g(to)f(pro)q(duce)i(formatted)d(output.)21 +b Fs(format)13 b Fw(outputs)i(the)g(c)o(haracters)0 719 +y(of)d Fv(c)n(ontr)n(ol-string)p Fw(,)g(except)i(that)g(a)e(tilde)h(\() +672 723 y Fn(~)695 719 y Fw(\))h(in)o(tro)q(duces)g(a)e(directiv)o(e.) +19 b(The)13 b(c)o(haracter)0 771 y(after)f(the)g(tilde,)g(p)q(ossibly)f +(preceded)j(b)o(y)d(pre\014x)i(parameters)e(and)h(mo)q(di\014ers,)f(sp) +q(eci\014es)0 823 y(what)i(kind)h(of)f(formatting)e(is)i(desired.)19 +b(Most)14 b(directiv)o(es)h(use)f(one)g(or)f(more)g(elemen)o(ts)0 +875 y(of)c Fv(ar)n(guments)i Fw(to)f(create)h(their)g(output;)g(the)f +(t)o(ypical)g(directiv)o(e)g(puts)h(the)g(next)f(elemen)o(t)0 +926 y(of)j Fv(ar)n(guments)h Fw(in)o(to)f(the)h(output,)g(formatted)e +(in)h(some)g(sp)q(ecial)h(w)o(a)o(y)m(.)j(It)d(is)f(an)h(error)h(if)0 +978 y(no)g(argumen)o(t)g(remains)f(for)h(a)g(directiv)o(e)i(requiring)e +(an)g(argumen)o(t,)f(but)i(it)f(is)h(not)f(an)0 1030 +y(error)g(if)e(one)h(or)g(more)f(argumen)o(ts)g(remain)f(unpro)q +(cessed)17 b(b)o(y)c(a)h(directiv)o(e.)42 1082 y(The)h(output)f(is)h +(sen)o(t)g(to)f Fv(destination)p Fw(.)21 b(If)14 b Fv(destination)h +Fw(is)f Fs(nil)p Fw(,)g(a)g(string)h(is)f(created)0 1134 +y(that)k(con)o(tains)f(the)h(output;)h(this)f(string)f(is)h(returned)h +(as)e(the)h(v)n(alue)f(of)g(the)h(call)f(to)0 1186 y +Fs(format)p Fw(.)42 1238 y(X3J13)12 b(v)o(oted)g(in)g(Jan)o(uary)h +(1989)e Ft(h)p Fw(167)p Ft(i)h Fw(to)g(sp)q(ecify)h(that)g(when)g(the)g +(\014rst)g(argumen)o(t)-33 1210 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1290 a(to)d Fs(format)g Fw(is)g Fs(nil)p +Fw(,)g Fs(format)g Fw(creates)i(a)e(stream)h(of)f(t)o(yp)q(e)h +Fs(string-stream)d Fw(in)i(m)o(uc)o(h)f(the)0 1342 y(same)h(manner)g +(as)h Fs(with-output-to-st)o(ring)p Fw(.)j(\(This)c(stream)h(ma)o(y)e +(b)q(e)i(visible)f(to)h(the)0 1394 y(user)17 b(if,)e(for)g(example,)f +(the)454 1398 y Fn(~)478 1394 y Fs(S)h Fw(directiv)o(e)h(is)g(used)g +(to)g(prin)o(t)f(a)h Fs(defstruct)e Fw(structure)0 1446 +y(that)g(has)g(a)g(user-supplied)h(prin)o(t)e(function.\))-33 +1458 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1498 a(In)e(all)f(other)h(cases)i Fs(format)d +Fw(returns)j Fs(nil)p Fw(,)d(p)q(erforming)g(output)h(to)g +Fv(destination)h Fw(as)f(a)0 1550 y(side)i(e\013ect.)19 +b(If)12 b Fv(destination)h Fw(is)f(a)g(stream,)g(the)h(output)f(is)h +(sen)o(t)g(to)f(it.)17 b(If)12 b Fv(destination)h Fw(is)0 +1602 y Fs(t)p Fw(,)d(the)i(output)e(is)h(sen)o(t)g(to)f(the)h(stream)f +(that)h(is)f(the)i(v)n(alue)d(of)h(the)h(v)n(ariable)f +Fs(*standard-)0 1654 y(output*)p Fw(.)16 b(If)11 b Fv(destination)i +Fw(is)e(a)h(string)g(with)f(a)h(\014ll)f(p)q(oin)o(ter,)h(then)g(in)g +(e\013ect)h(the)g(output)0 1706 y(c)o(haracters)k(are)f(added)h(to)e +(the)h(end)g(of)g(the)g(string)g(\(as)f(if)g(b)o(y)h(use)g(of)f +Fs(vector-push-)0 1757 y(extend)p Fw(\).)42 1810 y(The)f +Fs(format)f Fw(function)h(includes)g(some)f(extremely)h(complicated)f +(and)h(sp)q(ecialized)0 1862 y(features.)21 b(It)14 b(is)g(not)g +(necessary)j(to)d(understand)i(all)d(or)h(ev)o(en)h(most)e(of)h(its)g +(features)i(to)0 1913 y(use)10 b Fs(format)f Fw(e\013ectiv)o(ely)m(.)17 +b(The)10 b(b)q(eginner)g(should)f(skip)h(o)o(v)o(er)f(an)o(ything)g(in) +g(the)h(follo)o(wing)0 1965 y(do)q(cumen)o(tation)e(that)i(is)f(not)h +(imm)o(ediately)d(useful)i(or)h(clear.)17 b(The)10 b(more)e +(sophisticated)0 2017 y(features)16 b(\(suc)o(h)g(as)f(conditionals)e +(and)i(iteration\))g(are)g(there)h(for)f(the)g(con)o(v)o(enience)h(of)0 +2069 y(programs)d(with)g(esp)q(ecially)h(complicated)f(formatting)e +(requiremen)o(ts.)42 2121 y(A)k Fs(format)g Fw(directiv)o(e)i(consists) +f(of)g(a)f(tilde)h(\()757 2125 y Fn(~)780 2121 y Fw(\),)g(optional)f +(pre\014x)h(parameters)g(sep-)0 2173 y(arated)f(b)o(y)f(commas,)e +(optional)h(colon)g(\()p Fs(:)p Fw(\))i(and)f(at-sign)g(\()p +Fs(@)p Fw(\))g(mo)q(di\014ers,)g(and)g(a)g(single)0 2225 +y(c)o(haracter)g(indicating)e(what)h(kind)f(of)g(directiv)o(e)i(this)f +(is.)k(The)c(alphab)q(etic)g(case)h(of)e(the)0 2277 y(directiv)o(e)17 +b(c)o(haracter)g(is)f(ignored.)25 b(The)17 b(pre\014x)g(parameters)f +(are)h(generally)e(in)o(tegers,)0 2329 y(notated)f(as)g(optionally)e +(signed)i(decimal)e(n)o(um)o(b)q(ers.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 629 653 +629 652 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(629)42 295 y Fw(X3J13)17 b(v)o(oted)h(in)g(June)h(1987)e +Ft(h)p Fw(80)p Ft(i)g Fw(to)h(sp)q(ecify)h(that)f(if)f(b)q(oth)h(colon) +f(and)h(at-sign)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(mo)q(di\014ers)d(are)h(presen)o(t,)i(they)e(ma)o +(y)e(app)q(ear)i(in)f(either)i(order;)g(th)o(us)1121 +351 y Fn(~)1144 347 y Fs(:@R)f Fw(and)1306 351 y Fn(~)1329 +347 y Fs(@:R)0 399 y Fw(mean)c(the)h(same)f(thing.)18 +b(Ho)o(w)o(ev)o(er,)13 b(it)f(is)h(traditional)f(to)g(put)i(the)f +(colon)g(\014rst,)g(and)g(all)0 450 y(the)h(examples)f(in)h(this)g(b)q +(o)q(ok)f(put)i(colons)e(b)q(efore)i(at-signs.)-33 462 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 516 a(Examples)d(of)i(con)o(trol)f(strings:)0 +740 y Fs(")20 744 y Fn(~)43 740 y Fs(S")232 b(;)p Fw(An)407 +744 y Fn(~)430 740 y Fs(S)14 b Fw(directiv)o(e)h(with)e(no)h +(parameters)g(or)g(mo)q(di\014ers)0 792 y Fs(")20 796 +y Fn(~)43 792 y Fs(3,-4:@s")104 b(;)p Fw(An)411 796 y +Fn(~)434 792 y Fs(S)14 b Fw(directiv)o(e)g(with)g(t)o(w)o(o)f +(parameters,)h(3)f(and)h Ft(\000)p Fw(4,)318 844 y Fs(;)21 +b Fw(and)13 b(b)q(oth)h(the)h(colon)e(and)h(at-sign)f(\015ags)0 +895 y Fs(")20 899 y Fn(~)43 895 y Fs(,+4S")168 b(;)p +Fw(First)14 b(pre\014x)h(parameter)e(is)h(omitted)f(and)g(tak)o(es)318 +947 y Fs(;)21 b Fw(on)13 b(its)h(default)g(v)n(alue;)e(the)j(second)g +(parameter)e(is)h(4)0 1157 y(Sometimes)e(a)i(pre\014x)h(parameter)e(is) +h(used)h(to)f(sp)q(ecify)h(a)f(c)o(haracter,)h(for)e(instance)i(the)0 +1209 y(padding)d(c)o(haracter)j(in)d(a)h(righ)o(t-)g(or)g +(left-justifying)e(op)q(eration.)18 b(In)13 b(this)g(case)h(a)f(single) +0 1261 y(quote)e(\()125 1265 y Fn(')149 1261 y Fw(\))g(follo)o(w)o(ed)e +(b)o(y)i(the)g(desired)h(c)o(haracter)h(ma)o(y)c(b)q(e)i(used)h(as)f(a) +g(pre\014x)h(parameter,)0 1313 y(to)h(mean)g(the)h(c)o(haracter)h(ob)r +(ject)f(that)g(is)f(the)i(c)o(haracter)g(follo)o(wing)c(the)j(single)f +(quote.)0 1365 y(F)m(or)h(example,)f(y)o(ou)h(can)h(use)476 +1369 y Fn(~)499 1365 y Fs(5,)541 1369 y Fn(')564 1365 +y Fs(0d)f Fw(to)h(prin)o(t)f(an)g(in)o(teger)h(in)g(decimal)d(radix)i +(in)h(\014v)o(e)0 1417 y(columns)e(with)g(leading)g(zeros,)i(or)563 +1421 y Fn(~)587 1417 y Fs(5,)629 1421 y Fn(')652 1417 +y Fs(*d)e Fw(to)h(get)g(leading)f(asterisks.)42 1482 +y(In)20 b(place)h(of)f(a)h(pre\014x)g(parameter)g(to)f(a)h(directiv)o +(e,)i(y)o(ou)d(can)h(put)g(the)g(letter)h Fs(V)0 1534 +y Fw(\(or)17 b Fs(v)p Fw(\),)h(whic)o(h)f(tak)o(es)g(an)g(argumen)o(t)f +(from)f Fv(ar)n(guments)i Fw(for)g(use)h(as)f(a)g(parameter)g(to)0 +1586 y(the)k(directiv)o(e.)38 b(Normally)18 b(this)i(should)g(b)q(e)h +(an)f(in)o(teger)h(or)g(c)o(haracter)g(ob)r(ject,)i(as)0 +1638 y(appropriate.)34 b(This)19 b(feature)h(allo)o(ws)e(v)n +(ariable-width)f(\014elds)j(and)f(the)g(lik)o(e.)33 b(If)19 +b(the)0 1690 y(argumen)o(t)13 b(used)i(b)o(y)f(a)h Fs(V)f +Fw(parameter)g(is)g Fs(nil)p Fw(,)f(the)i(e\013ect)h(is)e(as)g(if)g +(the)h(parameter)f(had)0 1742 y(b)q(een)j(omitted.)23 +b(Y)m(ou)15 b(ma)o(y)f(also)h(use)i(the)g(c)o(haracter)g +Fs(#)872 1738 y(-)872 1746 y(-)910 1742 y Fw(in)e(place)h(of)f(a)h +(parameter;)g(it)0 1794 y(represen)o(ts)h(the)d(n)o(um)o(b)q(er)f(of)h +(argumen)o(ts)f(remaining)e(to)j(b)q(e)h(pro)q(cessed.)42 +1859 y(It)c(is)g(an)g(error)h(to)g(giv)o(e)e(a)h(format)f(directiv)o(e) +i(more)e(parameters)h(than)h(it)f(is)g(describ)q(ed)0 +1911 y(here)17 b(as)g(accepting.)26 b(It)16 b(is)g(also)g(an)g(error)i +(to)e(giv)o(e)f(colon)h(or)h(at-sign)e(mo)q(di\014ers)h(to)g(a)0 +1963 y(directiv)o(e)c(in)f(a)g(com)o(bination)e(not)i(sp)q +(eci\014cally)h(describ)q(ed)h(here)g(as)e(b)q(eing)h(meaningful.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 630 654 +630 653 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(630)77 b(COMMON)13 +b(LISP)42 295 y Fw(X3J13)d(v)o(oted)i(in)e(Jan)o(uary)h(1989)g +Ft(h)p Fw(85)p Ft(i)f Fw(to)h(clarify)g(the)g(in)o(teraction)g(b)q(et)o +(w)o(een)i Fs(format)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a Fw(and)g(the)g(v)n(arious)g(prin)o(ter)g(con)o +(trol)g(v)n(ariables)f(\(those)i(named)e Fs(*print-)p +Fv(xxx)p Fs(*)p Fw(\).)17 b(This)c(is)0 399 y(imp)q(ortan)o(t)d(b)q +(ecause)j(man)o(y)d Fs(format)g Fw(op)q(erations)i(are)g(de\014ned,)g +(directly)g(or)g(indirectly)m(,)0 450 y(in)e(terms)h(of)e +Fs(prin1)h Fw(or)h Fs(princ)p Fw(,)e(whic)o(h)i(are)g(a\013ected)h(b)o +(y)e(the)h(prin)o(ter)h(con)o(trol)e(v)n(ariables.)0 +502 y(The)18 b(general)g(rule)g(is)g(that)g Fs(format)e +Fw(do)q(es)j(not)f(bind)f(an)o(y)g(of)h(the)g(standard)g(prin)o(ter)0 +554 y(con)o(trol)10 b(v)n(ariables)f(except)i(as)f(sp)q(eci\014ed)i(in) +d(the)i(individual)d(descriptions)j(of)e(directiv)o(es.)0 +606 y(An)17 b(implemen)o(tati)o(on)d(ma)o(y)h(not)h(bind)g(an)o(y)h +(standard)g(prin)o(ter)g(con)o(trol)f(v)n(ariable)g(not)0 +658 y(sp)q(eci\014ed)e(in)e(the)h(description)g(of)f(a)g +Fs(format)f Fw(directiv)o(e,)i(nor)g(ma)o(y)d(an)i(implemen)o(tation)0 +710 y(fail)d(to)i(bind)f(an)o(y)g(standard)h(prin)o(ter)g(con)o(trol)g +(v)n(ariables)f(that)g(is)h(sp)q(eci\014ed)h(to)e(b)q(e)i(b)q(ound)0 +762 y(b)o(y)k(suc)o(h)i(a)e(description.)28 b(\(See)17 +b(these)h(descriptions)g(for)f(sp)q(eci\014c)h(c)o(hanges)f(v)o(oted)g +(b)o(y)0 814 y(X3J13.\))42 866 y(One)g(consequence)i(of)e(this)g(c)o +(hange)g(is)f(that)h(the)h(user)g(is)e(guaran)o(teed)i(to)f(b)q(e)g +(able)0 917 y(to)f(use)h(the)g Fs(format)346 921 y Fn(~)369 +917 y Fs(A)f Fw(and)488 921 y Fn(~)511 917 y Fs(S)g Fw(directiv)o(es)h +(to)f(do)g(prett)o(y)h(prin)o(ting,)f(under)h(con)o(trol)0 +969 y(of)12 b(the)i Fs(*print-pretty*)c Fw(v)n(ariable.)16 +b(Implemen)o(tations)10 b(ha)o(v)o(e)j(di\013ered)h(on)e(this)h(p)q +(oin)o(t)0 1021 y(in)19 b(their)h(in)o(terpretations)g(of)f(the)h +(\014rst)h(edition.)34 b(The)20 b(new)1018 1025 y Fn(~)1041 +1021 y Fs(W)f Fw(directiv)o(e)i(ma)o(y)c(b)q(e)0 1073 +y(more)11 b(appropriate)g(than)h(either)531 1077 y Fn(~)554 +1073 y Fs(A)g Fw(and)664 1077 y Fn(~)687 1073 y Fs(S)g +Fw(for)f(some)g(purp)q(oses,)i(whether)g(for)e(prett)o(y)0 +1125 y(prin)o(ting)g(or)g(ordinary)h(prin)o(ting.)k(See)d(section)f +(27.4)e(for)i(a)f(discussion)h(of)1165 1129 y Fn(~)1188 +1125 y Fs(W)g Fw(and)f(other)0 1177 y(new)j Fs(format)f +Fw(directiv)o(es)i(related)f(to)g(prett)o(y)h(prin)o(ting.)-33 +1189 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1229 a(Here)h(are)g(some)e(relativ)o(ely)g(simple)g +(examples)g(to)h(giv)o(e)g(y)o(ou)g(the)g(general)h(\015a)o(v)o(or)e +(of)0 1281 y(ho)o(w)f Fs(format)g Fw(is)h(used.)0 1364 +y Fs(\(format)20 b(nil)g("foo"\))g Ft(\))h Fs("foo")0 +1467 y(\(setq)f(x)h(5\))0 1571 y(\(format)f(nil)g("The)h(answer)f(is) +583 1575 y Fn(~)606 1571 y Fs(D.")h(x\))g Ft(\))f Fs("The)h(answer)f +(is)g(5.")0 1675 y(\(format)g(nil)g("The)h(answer)f(is)583 +1679 y Fn(~)606 1675 y Fs(3D.")h(x\))g Ft(\))f Fs("The)h(answer)f(is)63 +b(5.")0 1779 y(\(format)20 b(nil)g("The)h(answer)f(is)583 +1783 y Fn(~)606 1779 y Fs(3,)648 1783 y Fn(')671 1779 +y Fs(0D.")h(x\))f Ft(\))h Fs("The)f(answer)g(is)h(005.")0 +1883 y(\(format)f(nil)g("The)h(answer)f(is)583 1887 y +Fn(~)606 1883 y Fs(:D.")h(\(expt)f(47)h(x\)\))677 1934 +y Ft(\))g Fs("The)f(answer)g(is)h(229,345,007.")0 2017 +y(\(setq)f(y)h("elephant"\))0 2121 y(\(format)f(nil)g("Look)g(at)h(the) +539 2125 y Fn(~)563 2121 y Fs(A!")f(y\))h Ft(\))g Fs("Look)f(at)h(the)f +(elephant!")0 2225 y(\(format)g(nil)g("Type)388 2229 +y Fn(~)412 2225 y Fs(:C)g(to)539 2229 y Fn(~)562 2225 +y Fs(A.")169 2277 y(\(set-char-bit)f(#)474 2273 y(-)474 +2281 y(-)496 2277 y(\\D)h(:control)g(t\))169 2329 y("delete)g(all)h +(your)f(files"\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 631 655 +631 654 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(631)64 295 y Ft(\))20 b Fs("Type)g(Control-D)g(to)g(delete)g(all)h +(your)f(files.")-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 632 656 +632 655 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(632)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(setq)20 b(n)h(3\))0 377 y(\(format)f(nil)g(")280 +381 y Fn(~)303 377 y Fs(D)h(item)432 381 y Fn(~)455 377 +y Fs(:P)f(found.")g(n\))h Ft(\))f Fs("3)h(items)f(found.")0 +458 y(\(format)g(nil)g(")280 462 y Fn(~)303 458 y Fs(R)h(dog)410 +462 y Fn(~)433 458 y Fs(:[s)f(are)583 462 y Fn(~)606 +458 y Fs(;)h(is)691 462 y Fn(~)714 458 y Fs(])g(here.")e(n)i(\()973 +454 y(U)973 462 y(U)1016 458 y(n)g(1\)\))127 510 y Ft(\))g +Fs("three)f(dogs)g(are)h(here.")0 592 y(\(format)f(nil)g(")280 +596 y Fn(~)303 592 y Fs(R)h(dog)410 596 y Fn(~)433 592 +y Fs(:*)475 596 y Fn(~)498 592 y Fs([s)f(are)626 596 +y Fn(~)649 592 y Fs(;)h(is)734 596 y Fn(~)757 592 y Fs(:;s)f(are)907 +596 y Fn(~)930 592 y Fs(])h(here.")f(n\))127 644 y Ft(\))h +Fs("three)f(dogs)g(are)h(here.")0 726 y(\(format)f(nil)g("Here)388 +730 y Fn(~)412 726 y Fs([are)498 730 y Fn(~)520 726 y +Fs(;is)584 730 y Fn(~)606 726 y Fs(:;are)714 730 y Fn(~)737 +726 y Fs(])777 730 y Fn(~)801 726 y Fs(:*)843 730 y Fn(~)865 +726 y Fs(R)h(pupp)994 730 y Fn(~)1017 726 y Fs(:@P.")f(n\))127 +778 y Ft(\))h Fs("Here)f(are)g(three)h(puppies.")42 859 +y Fw(In)d(the)h(descriptions)h(of)e(the)h(directiv)o(es)h(that)e(follo) +o(w,)g(the)h(term)f Fv(ar)n(g)g Fw(in)h(general)0 911 +y(refers)d(to)e(the)h(next)g(item)e(of)h(the)g(set)i(of)d +Fv(ar)n(guments)i Fw(to)f(b)q(e)h(pro)q(cessed.)22 b(The)15 +b(w)o(ord)f(or)0 963 y(phrase)f(at)g(the)f(b)q(eginning)g(of)g(eac)o(h) +h(description)g(is)f(a)g(mnemonic)e(\(not)i(necessarily)i(an)0 +1015 y(accurate)h(one\))f(for)g(the)g(directiv)o(e.)-2 +1114 y Fn(~)21 1110 y Fs(A)0 1175 y Fv(Ascii)p Fw(.)25 +b(An)17 b Fv(ar)n(g)p Fw(,)f(an)o(y)g(Lisp)g(ob)r(ject,)i(is)e(prin)o +(ted)h(without)f(escap)q(e)i(c)o(haracters)g(\(as)f(b)o(y)0 +1227 y Fs(princ)p Fw(\).)f(In)c(particular,)f(if)g Fv(ar)n(g)g +Fw(is)g(a)g(string,)h(its)g(c)o(haracters)h(will)d(b)q(e)i(output)g(v)o +(erbatim.)0 1279 y(If)i Fv(ar)n(g)f Fw(is)h Fs(nil)p +Fw(,)f(it)h(will)e(b)q(e)j(prin)o(ted)f(as)g Fs(nil)p +Fw(;)f(the)i(colon)f(mo)q(di\014er)e(\()1064 1283 y Fn(~)1088 +1279 y Fs(:A)p Fw(\))h(will)g(cause)i(an)0 1331 y Fv(ar)n(g)g +Fw(of)f Fs(nil)g Fw(to)h(b)q(e)g(prin)o(ted)g(as)g Fs(\(\))p +Fw(,)g(but)g(if)f Fv(ar)n(g)g Fw(is)h(a)g(comp)q(osite)f(structure,)i +(suc)o(h)g(as)f(a)0 1383 y(list)e(or)h(v)o(ector,)g(an)o(y)g(con)o +(tained)g(o)q(ccurrences)j(of)c Fs(nil)g Fw(will)g(still)g(b)q(e)h +(prin)o(ted)g(as)g Fs(nil)p Fw(.)39 1439 y Fn(~)63 1435 +y Fv(minc)n(ol)p Fs(A)c Fw(inserts)j(spaces)f(on)f(the)h(righ)o(t,)e +(if)h(necessary)m(,)h(to)f(mak)o(e)f(the)i(width)f(at)g(least)0 +1487 y Fv(minc)n(ol)k Fw(columns.)21 b(The)16 b Fs(@)f +Fw(mo)q(di\014er)f(causes)j(the)f(spaces)h(to)e(b)q(e)h(inserted)h(on)e +(the)h(left)0 1539 y(rather)f(than)f(the)g(righ)o(t.)39 +1595 y Fn(~)63 1591 y Fv(minc)n(ol)p Fs(,)p Fv(c)n(olinc)p +Fs(,)p Fv(minp)n(ad)p Fs(,)p Fv(p)n(adchar)p Fs(A)g Fw(is)h(the)g(full) +e(form)g(of)992 1595 y Fn(~)1015 1591 y Fs(A)p Fw(,)h(whic)o(h)h(allo)o +(ws)e(elab-)0 1642 y(orate)k(con)o(trol)g(of)g(the)h(padding.)27 +b(The)18 b(string)f(is)g(padded)g(on)g(the)h(righ)o(t)f(\(or)g(on)g +(the)0 1694 y(left)c(if)g(the)h Fs(@)f Fw(mo)q(di\014er)f(is)h(used\))i +(with)e(at)g(least)g Fv(minp)n(ad)h Fw(copies)g(of)f +Fv(p)n(adchar)p Fw(;)g(padding)0 1746 y(c)o(haracters)j(are)f(then)h +(inserted)f Fv(c)n(olinc)g Fw(c)o(haracters)h(at)f(a)f(time)f(un)o(til) +h(the)h(total)f(width)0 1798 y(is)e(at)h(least)f Fv(minc)n(ol)p +Fw(.)18 b(The)13 b(defaults)f(are)h Fs(0)g Fw(for)f Fv(minc)n(ol)g +Fw(and)g Fv(minp)n(ad)p Fw(,)h Fs(1)f Fw(for)h Fv(c)n(olinc)p +Fw(,)f(and)0 1850 y(the)i(space)h(c)o(haracter)h(for)d +Fv(p)n(adchar)p Fw(.)42 1902 y(X3J13)j(v)o(oted)h(in)f(Jan)o(uary)h +(1989)f Ft(h)p Fw(85)p Ft(i)h Fw(to)f(sp)q(ecify)i(that)f +Fs(format)e Fw(binds)i Fs(*print-)-33 1874 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1954 a(escape*)12 b Fw(to)i Fs(nil)f Fw(during)h(the)g +(pro)q(cessing)h(of)f(the)816 1958 y Fn(~)839 1954 y +Fs(A)g Fw(directiv)o(e.)-33 1965 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial -2 2053 a Fn(~)21 2049 y Fs(S)0 2112 y Fv(S-expr)n(ession) +p Fw(.)28 b(This)17 b(is)f(just)i(lik)o(e)568 2116 y +Fn(~)591 2112 y Fs(A)p Fw(,)e(but)h Fv(ar)n(g)g Fw(is)g(prin)o(ted)g +Fv(with)f Fw(escap)q(e)j(c)o(haracters)0 2164 y(\(as)c(b)o(y)g +Fs(prin1)f Fw(rather)i(than)g Fs(princ)p Fw(\).)k(The)c(output)f(is)g +(therefore)i(suitable)e(for)g(input)0 2216 y(to)f Fs(read)p +Fw(.)166 2220 y Fn(~)189 2216 y Fs(S)g Fw(accepts)h(all)e(the)h +(argumen)o(ts)f(and)h(mo)q(di\014ers)f(that)1049 2220 +y Fn(~)1072 2216 y Fs(A)h Fw(do)q(es.)42 2268 y(X3J13)i(v)o(oted)h(in)f +(Jan)o(uary)h(1989)f Ft(h)p Fw(85)p Ft(i)h Fw(to)f(sp)q(ecify)i(that)f +Fs(format)e Fw(binds)i Fs(*print-)-33 2239 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2320 a(escape*)12 b Fw(to)i Fs(t)g Fw(during)f(the)i +(pro)q(cessing)g(of)e(the)772 2324 y Fn(~)796 2320 y +Fs(S)g Fw(directiv)o(e.)-33 2331 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 13 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 633 657 +633 656 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(633)-2 299 y Fn(~)21 295 y Fs(D)0 358 y Fv(De)n(cimal)p +Fw(.)18 b(An)d Fv(ar)n(g)p Fw(,)e(whic)o(h)h(should)g(b)q(e)g(an)g(in)o +(teger,)g(is)g(prin)o(ted)h(in)e(decimal)g(radix.)1350 +362 y Fn(~)1373 358 y Fs(D)0 410 y Fw(will)f(nev)o(er)j(put)f(a)g +(decimal)e(p)q(oin)o(t)i(after)g(the)g(n)o(um)o(b)q(er.)39 +466 y Fn(~)63 462 y Fv(minc)n(ol)p Fs(D)h Fw(uses)h(a)f(column)f(width) +h(of)g Fv(minc)n(ol)p Fw(;)h(spaces)h(are)e(inserted)i(on)e(the)h(left) +g(if)0 513 y(the)e(n)o(um)o(b)q(er)g(requires)h(few)o(er)f(than)g +Fv(minc)n(ol)g Fw(columns)e(for)i(its)g(digits)f(and)h(sign.)k(If)13 +b(the)0 565 y(n)o(um)o(b)q(er)f(do)q(esn't)g(\014t)h(in)f +Fv(minc)n(ol)g Fw(columns,)f(additional)f(columns)h(are)i(used)g(as)g +(needed.)39 621 y Fn(~)63 617 y Fv(minc)n(ol)p Fs(,)p +Fv(p)n(adchar)p Fs(D)g Fw(uses)j Fv(p)n(adchar)e Fw(as)g(the)g(pad)g(c) +o(haracter)h(instead)g(of)e(space.)42 669 y(If)g Fv(ar)n(g)h +Fw(is)f(not)h(an)g(in)o(teger,)g(it)f(is)h(prin)o(ted)g(in)748 +673 y Fn(~)772 669 y Fs(A)f Fw(format)f(and)i(decimal)e(base.)42 +721 y(X3J13)k(v)o(oted)h(in)f(Jan)o(uary)h(1989)f Ft(h)p +Fw(85)p Ft(i)h Fw(to)f(sp)q(ecify)i(that)f Fs(format)e +Fw(binds)i Fs(*print-)-33 693 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 773 a(escape*)i Fw(to)h Fs(nil)p Fw(,)g +Fs(*print-radix*)e Fw(to)i Fs(nil)p Fw(,)h(and)f Fs(*print-base*)d +Fw(to)j Fs(10)g Fw(during)0 825 y(pro)q(cessing)15 b(of)245 +829 y Fn(~)269 825 y Fs(D)p Fw(.)-33 836 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 877 a(The)g Fs(@)g Fw(mo)q(di\014er)e(causes)k(the)e(n) +o(um)o(b)q(er's)f(sign)h(to)g(b)q(e)g(prin)o(ted)h(alw)o(a)o(ys;)e(the) +h(default)0 929 y(is)g(to)h(prin)o(t)f(it)h(only)f(if)f(the)j(n)o(um)o +(b)q(er)e(is)g(negativ)o(e.)23 b(The)16 b Fs(:)g Fw(mo)q(di\014er)e +(causes)j(commas)0 980 y(to)d(b)q(e)h(prin)o(ted)f(b)q(et)o(w)o(een)i +(groups)e(of)g(three)i(digits;)d(the)i(third)f(pre\014x)h(parameter)f +(ma)o(y)0 1032 y(b)q(e)i(used)g(to)f(c)o(hange)g(the)h(c)o(haracter)h +(used)f(as)f(the)h(comma.)i(Th)o(us)e(the)g(most)e(general)0 +1084 y(form)e(of)143 1088 y Fn(~)167 1084 y Fs(D)h Fw(is)242 +1088 y Fn(~)265 1084 y Fv(minc)n(ol)p Fs(,)p Fv(p)n(adchar)p +Fs(,)p Fv(c)n(ommachar)p Fs(D)p Fw(.)42 1136 y(X3J13)g(v)o(oted)h(in)f +(Marc)o(h)h(1988)f Ft(h)p Fw(82)p Ft(i)g Fw(to)h(add)f(a)h(fourth)f +(parameter,)g(the)i Fv(c)n(ommain-)-33 1108 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1188 a(terval)p Fw(.)24 b(This)16 b(m)o(ust)f(b)q(e)i +(an)f(in)o(teger;)i(if)d(it)h(is)g(not)g(pro)o(vided,)g(it)g(defaults)g +(to)g(3.)25 b(This)0 1240 y(parameter)13 b(con)o(trols)h(the)g(n)o(um)o +(b)q(er)e(of)h(digits)g(in)g(eac)o(h)h(group)f(separated)i(b)o(y)e(the) +h Fv(c)n(om-)0 1292 y(machar)p Fw(.)42 1344 y(By)e(extension,)g(eac)o +(h)h(of)e(the)502 1348 y Fn(~)526 1344 y Fs(B)p Fw(,)569 +1348 y Fn(~)592 1344 y Fs(O)p Fw(,)g(and)714 1348 y Fn(~)737 +1344 y Fs(X)h Fw(directiv)o(es)h(accepts)g(a)f Fv(c)n(ommainterval)0 +1396 y Fw(as)17 b(a)g(fourth)h(parameter,)f(and)g(the)593 +1400 y Fn(~)616 1396 y Fs(R)g Fw(directiv)o(e)h(accepts)h(a)e +Fv(c)n(ommainterval)g Fw(as)h(its)0 1447 y(\014fth)c(parameter.)j +(Examples:)0 1544 y Fs(\(format)j(nil)g(")280 1548 y +Fn(~)303 1544 y Fs(,,)345 1548 y Fn(')389 1544 y Fs(,4B")h(#)498 +1540 y(-)498 1548 y(-)519 1544 y(xFACE\))f Ft(\))h Fs("1111)f(1010)g +(1100)h(1110")0 1596 y(\(format)f(nil)g(")280 1600 y +Fn(~)303 1596 y Fs(,,)345 1600 y Fn(')389 1596 y Fs(,4B")h(#)498 +1592 y(-)498 1600 y(-)519 1596 y(x1CE\))f Ft(\))h Fs("1)g(1100)f(1110") +0 1648 y(\(format)g(nil)g(")280 1652 y Fn(~)303 1648 +y Fs(19,,)389 1652 y Fn(')433 1648 y Fs(,4B")g(#)541 +1644 y(-)541 1652 y(-)563 1648 y(xFACE\))g Ft(\))g Fs("1111)h(1010)f +(1100)g(1110")0 1699 y(\(format)g(nil)g(")280 1703 y +Fn(~)303 1699 y Fs(19,,)389 1703 y Fn(')433 1699 y Fs(,4B")g(#)541 +1695 y(-)541 1703 y(-)563 1699 y(x1CE\))g Ft(\))h Fs("0000)f(0001)g +(1100)h(1110")0 1796 y Fw(This)12 b(is)g(one)h(of)e(those)i(little)f +(impro)o(v)o(em)o(en)o(ts)e(that)j(probably)e(don't)h(matter)f(m)o(uc)o +(h)h(but)0 1848 y(aren't)f(hard)g(to)g(implem)o(en)o(t)e(either.)18 +b(It)11 b(w)o(as)f(prett)o(y)i(silly)e(ha)o(ving)f(the)j(n)o(um)o(b)q +(er)e(3)g(wired)0 1900 y(in)o(to)15 b(the)h(de\014nition)f(of)g(comma)e +(separation)j(when)g(it)f(is)h(just)f(as)h(easy)g(to)g(mak)o(e)e(it)h +(a)0 1951 y(parameter.)-33 1963 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial -2 2052 a Fn(~)21 2048 y Fs(B)0 2113 y Fv(Binary)p +Fw(.)29 b(This)17 b(is)g(just)h(lik)o(e)471 2117 y Fn(~)495 +2113 y Fs(D)f Fw(but)h(prin)o(ts)f(in)g(binary)g(radix)g(\(radix)g(2\)) +h(instead)f(of)0 2165 y(decimal.)f(The)f(full)d(form)g(is)i(therefore) +638 2169 y Fn(~)662 2165 y Fv(minc)n(ol)p Fs(,)p Fv(p)n(adchar)p +Fs(,)p Fv(c)n(ommachar)p Fs(B)p Fw(.)42 2217 y(X3J13)i(v)o(oted)h(in)f +(Jan)o(uary)h(1989)f Ft(h)p Fw(85)p Ft(i)h Fw(to)f(sp)q(ecify)i(that)f +Fs(format)e Fw(binds)i Fs(*print-)-33 2189 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2269 a(escape*)12 b Fw(to)i Fs(nil)p Fw(,)f +Fs(*print-radix*)e Fw(to)j Fs(nil)p Fw(,)f(and)g Fs(*print-base*)f +Fw(to)i Fs(2)f Fw(during)h(pro-)0 2321 y(cessing)h(of)184 +2325 y Fn(~)207 2321 y Fs(B)p Fw(.)-33 2332 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 12 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 634 658 +634 657 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(634)77 b(COMMON)13 +b(LISP)-2 299 y Fn(~)21 295 y Fs(O)0 360 y Fv(Octal)p +Fw(.)j(This)11 b(is)f(just)g(lik)o(e)403 364 y Fn(~)427 +360 y Fs(D)g Fw(but)g(prin)o(ts)h(in)f(o)q(ctal)g(radix)g(\(radix)f +(8\))i(instead)f(of)g(decimal.)0 412 y(The)k(full)f(form)f(is)i +(therefore)470 416 y Fn(~)493 412 y Fv(minc)n(ol)p Fs(,)p +Fv(p)n(adchar)p Fs(,)p Fv(c)n(ommachar)p Fs(O)p Fw(.)42 +465 y(X3J13)i(v)o(oted)h(in)f(Jan)o(uary)h(1989)f Ft(h)p +Fw(85)p Ft(i)h Fw(to)f(sp)q(ecify)i(that)f Fs(format)e +Fw(binds)i Fs(*print-)-33 437 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 517 a(escape*)12 b Fw(to)i Fs(nil)p Fw(,)f +Fs(*print-radix*)e Fw(to)j Fs(nil)p Fw(,)f(and)g Fs(*print-base*)f +Fw(to)i Fs(8)f Fw(during)h(pro-)0 569 y(cessing)h(of)184 +573 y Fn(~)207 569 y Fs(O)p Fw(.)-33 581 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial -2 688 a Fn(~)21 684 y Fs(X)0 750 y Fv(Hexade)n(cimal)p +Fw(.)22 b(This)15 b(is)g(just)h(lik)o(e)558 754 y Fn(~)581 +750 y Fs(D)f Fw(but)h(prin)o(ts)f(in)g(hexadecimal)f(radix)g(\(radix)h +(16\))0 802 y(instead)f(of)f(decimal.)k(The)d(full)f(form)f(is)i +(therefore)829 806 y Fn(~)852 802 y Fv(minc)n(ol)p Fs(,)p +Fv(p)n(adchar)p Fs(,)p Fv(c)n(ommachar)p Fs(X)p Fw(.)42 +855 y(X3J13)i(v)o(oted)h(in)f(Jan)o(uary)h(1989)f Ft(h)p +Fw(85)p Ft(i)h Fw(to)f(sp)q(ecify)i(that)f Fs(format)e +Fw(binds)i Fs(*print-)-33 827 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 907 a(escape*)i Fw(to)h Fs(nil)p Fw(,)g +Fs(*print-radix*)e Fw(to)i Fs(nil)p Fw(,)h(and)f Fs(*print-base*)d +Fw(to)j Fs(16)g Fw(during)0 959 y(pro)q(cessing)15 b(of)245 +963 y Fn(~)269 959 y Fs(X)p Fw(.)-33 970 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1018 V 0 1080 a Fm(Compatibilit)o(y)d(note:)17 +b FA(In)c(MacLisp)h(and)g(Lisp)g(Mac)o(hine)g(Lisp)g(the)1058 +1083 y Fs(~)1079 1080 y Fj(X)e FA(directiv)o(e)j(outputs)0 +1126 y(a)f(space,)g(and)221 1129 y Fs(~)241 1126 y Fq(n)p +Fj(X)e FA(outputs)j Fq(n)e FA(spaces,)h(in)h(a)f(manner)g(analogous)i +(to)e(F)m(ortran)g Fj(X)f FA(format.)19 b(In)0 1171 y(Common)13 +b(Lisp)h(the)f(directiv)o(e)469 1174 y Fs(~)489 1171 +y Fj(@T)f FA(is)h(used)h(for)f(that)g(purp)q(ose.)p 0 +1223 V -2 1327 a Fn(~)21 1323 y Fs(R)0 1386 y Fv(R)n(adix)p +Fw(.)150 1390 y Fn(~)173 1386 y Fv(n)p Fs(R)20 b Fw(prin)o(ts)h +Fv(ar)n(g)f Fw(in)g(radix)f Fv(n)p Fw(.)38 b(The)21 b(mo)q(di\014er)e +(\015ags)h(and)g(an)o(y)g(remaining)0 1438 y(parameters)15 +b(are)h(used)f(as)h(for)e(the)570 1442 y Fn(~)593 1438 +y Fs(D)h Fw(directiv)o(e.)22 b(Indeed,)964 1442 y Fn(~)987 +1438 y Fs(D)15 b Fw(is)g(the)g(same)g(as)1294 1442 y +Fn(~)1318 1438 y Fs(10R)p Fw(.)0 1490 y(The)f(full)f(form)f(here)j(is)f +(therefore)560 1494 y Fn(~)583 1490 y Fv(r)n(adix)p Fs(,)p +Fv(minc)n(ol)p Fs(,)p Fv(p)n(adchar)p Fs(,)p Fv(c)n(ommachar)p +Fs(R)p Fw(.)42 1543 y(X3J13)i(v)o(oted)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(85)p Ft(i)h Fw(to)f(sp)q(ecify)i(that)f Fs(format)e +Fw(binds)i Fs(*print-)-33 1515 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1595 a(escape*)e Fw(to)h Fs(nil)p Fw(,)g +Fs(*print-radix*)e Fw(to)i Fs(nil)p Fw(,)g(and)g Fs(*print-base*)e +Fw(to)j(the)g(v)n(alue)e(of)0 1647 y(the)d(\014rst)g(parameter)e +(during)h(the)h(pro)q(cessing)g(of)f(the)853 1651 y Fn(~)876 +1647 y Fs(R)g Fw(directiv)o(e)h(with)f(a)g(parameter.)-33 +1658 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1700 a(If)h(no)g(parameters)h(are)g(giv)o(en)f(to)574 +1704 y Fn(~)597 1700 y Fs(R)p Fw(,)g(then)h(an)g(en)o(tirely)f +(di\013eren)o(t)i(in)o(terpretation)f(is)0 1752 y(giv)o(en.)42 +1805 y Fv(Notic)n(e)k(of)h(c)n(orr)n(e)n(ction.)26 b +Fw(In)17 b(the)h(\014rst)g(edition,)e(this)h(sen)o(tence)j(referred)f +(to)d(\\argu-)-33 1777 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1857 a(men)o(ts")d(giv)o(en)g(to)299 1861 +y Fn(~)322 1857 y Fs(R)p Fw(.)h(The)g(correct)h(term)f(is)f +(\\parameters.")-33 1869 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1911 a(The)f(argumen)o(t)e(should)i(b)q(e)g(an)g(in)o +(teger;)g(supp)q(ose)i(it)d(is)h Fs(4)p Fw(.)17 b(Then)1084 +1915 y Fn(~)1107 1911 y Fs(R)12 b Fw(prin)o(ts)g Fv(ar)n(g)f +Fw(as)h(a)0 1963 y(cardinal)h(English)f(n)o(um)o(b)q(er:)17 +b Fs(four)p Fw(;)583 1967 y Fn(~)607 1963 y Fs(:R)12 +b Fw(prin)o(ts)i Fv(ar)n(g)f Fw(as)g(an)g(ordinal)f(English)h(n)o(um)o +(b)q(er:)0 2014 y Fs(fourth)p Fw(;)157 2018 y Fn(~)180 +2014 y Fs(@R)j Fw(prin)o(ts)g Fv(ar)n(g)g Fw(as)g(a)f(Roman)f(n)o +(umeral:)21 b Fs(IV)p Fw(;)15 b(and)1000 2018 y Fn(~)1024 +2014 y Fs(:@R)g Fw(prin)o(ts)h Fv(ar)n(g)g Fw(as)g(an)0 +2066 y(old)d(Roman)f(n)o(umeral:)k Fs(IIII)p Fw(.)42 +2120 y(X3J13)g(v)o(oted)h(in)f(Jan)o(uary)h(1989)f Ft(h)p +Fw(85)p Ft(i)h Fw(to)f(sp)q(ecify)i(that)f Fs(format)e +Fw(binds)i Fs(*print-)-33 2091 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2172 a(base*)c Fw(to)h Fs(10)f Fw(during)h(the)g(pro)q +(cessing)h(of)e(the)751 2176 y Fn(~)774 2172 y Fs(R)h +Fw(directiv)o(e)g(with)g(no)f(parameter.)-33 2183 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2225 a(The)20 b(\014rst)g(edition)g(did)f(not)h(sp)q +(ecify)g(ho)o(w)759 2229 y Fn(~)782 2225 y Fs(R)g Fw(and)f(its)h(v)n +(arian)o(ts)f(should)h(handle)-33 2197 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2277 a(argumen)o(ts)e(that)g(are)h(v)o(ery)f(large)g(or) +h(not)f(p)q(ositiv)o(e.)31 b(Actual)19 b(practice)g(v)n(aries,)g(and)0 +2329 y(X3J13)11 b(has)h(not)g(y)o(et)f(addressed)j(the)e(topic.)17 +b(Here)c(is)f(a)f(sampling)e(of)i(curren)o(t)i(practice.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 635 659 +635 658 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(635)42 295 y Fw(F)m(or)119 299 y Fn(~)142 295 y Fs(@R)19 +b Fw(and)289 299 y Fn(~)312 295 y Fs(:@R)p Fw(,)f(nearly)h(all)f +(implemen)o(tatio)o(ns)f(pro)q(duce)j(Roman)d(n)o(umerals)0 +347 y(only)h(for)g(in)o(tegers)i(in)f(the)g(range)g(1)g(to)f(3999,)h +(inclusiv)o(e.)32 b(Some)18 b(implemen)o(tatio)o(ns)0 +399 y(will)e(pro)q(duce)i(old-st)o(yle)f(Roman)e(n)o(umerals)h(for)h +(in)o(tegers)i(in)d(the)i(range)g(1)f(to)g(4999,)0 450 +y(inclusiv)o(e.)g(All)11 b(other)i(in)o(tegers)g(are)f(prin)o(ted)h(in) +e(decimal)f(notation,)i(as)g(if)1175 454 y Fn(~)1198 +450 y Fs(D)g Fw(had)g(b)q(een)0 502 y(used.)42 554 y(F)m(or)h(zero,)h +(most)f(implemen)o(tatio)o(ns)f(prin)o(t)h Fs(zero)g +Fw(for)895 558 y Fn(~)918 554 y Fs(R)h Fw(and)g Fs(zeroth)e +Fw(for)1240 558 y Fn(~)1264 554 y Fs(:R)p Fw(.)42 606 +y(F)m(or)116 610 y Fn(~)140 606 y Fs(R)k Fw(with)f(a)h(negativ)o(e)g +(argumen)o(t,)g(most)f(implemen)o(tati)o(ons)f(simply)g(prin)o(t)i(the) +0 658 y(w)o(ord)e Fs(minus)f Fw(follo)o(w)o(ed)f(b)o(y)h(its)h +(absolute)g(v)n(alue)g(as)g(a)f(cardinal)g(in)h(English.)42 +710 y(F)m(or)119 714 y Fn(~)142 710 y Fs(:R)k Fw(with)h(a)f(negativ)o +(e)h(argumen)o(t,)f(some)g(implemen)o(tatio)o(ns)e(also)j(prin)o(t)f +(the)0 762 y(w)o(ord)h Fs(minus)g Fw(follo)o(w)o(ed)f(b)o(y)h(its)g +(absolute)h(v)n(alue)f(as)g(an)g(ordinal)g(in)g(English;)i(other)0 +814 y(implemen)o(tatio)o(ns)d(prin)o(t)i(the)h(absolute)g(v)n(alue)f +(follo)o(w)o(ed)e(b)o(y)j(the)g(w)o(ord)f Fs(previous)p +Fw(.)0 866 y(Th)o(us)e(the)h(argumen)o(t)e Fs(-4)h Fw(migh)o(t)e(pro)q +(duce)k Fs(minus)g(fourth)d Fw(or)h Fs(fourth)i(previous)p +Fw(.)0 918 y(Eac)o(h)14 b(has)g(its)f(c)o(harm,)g(but)h(one)f(is)h(not) +f(alw)o(a)o(ys)g(a)g(suitable)h(substitute)h(for)e(the)i(other;)0 +970 y(users)g(should)f(b)q(e)h(careful.)42 1022 y(There)28 +b(is)f(standard)h(English)f(nomenclature)g(for)g(fairly)f(large)h(in)o +(tegers)i(\(up)0 1074 y(to)35 b(10)114 1059 y Fk(6)132 +1074 y Fw(0,)k(at)c(least\),)40 b(based)35 b(on)f(app)q(ending)h(the)h +(su\016x)e(-illion)f(to)h(Latin)0 1126 y(names)g(of)g(in)o(tegers.)81 +b(Th)o(us)35 b(w)o(e)g(ha)o(v)o(e)f(the)i(names)e Fv(tril)r(lion)p +Fw(,)k Fv(quadril)r(lion)p Fw(,)0 1178 y Fv(sextil)r(lion)p +Fw(,)e Fv(septil)r(lion)p Fw(,)g(and)c(so)g(on.)73 b(F)m(or)32 +b(extremely)g(large)g(in)o(tegers,)38 b(one)0 1230 y(ma)o(y)32 +b(express)j(p)q(o)o(w)o(ers)g(of)e(ten)i(in)e(English.)77 +b(One)35 b(implem)o(en)o(tation)c(giv)o(es)0 1281 y Fs +(16069380442589902)o(75541)o(96209)o(23411)o(62602)o(52220)o(2993)o +(78279)o(28353)o(01376)0 1333 y Fw(\(whic)o(h)14 b(is)g(2)198 +1318 y Fk(200)249 1333 y Fw(,)f(the)i(result)g(of)e Fs(\(ash)20 +b(1)h(200\))p Fw(\))13 b(in)h(this)g(manner:)0 1431 y +Fj(one)k(times)e(ten)i(to)g(the)f(sixtieth)f(power)h(six)g(hundred)f +(six)i(times)e(ten)i(to)g(the)0 1476 y(fifty-seve)o(nt)o(h)e(power)g +(nine)i(hundred)e(thirty-e)o(igh)o(t)g(septdeci)o(lli)o(on)f +(forty-four)0 1522 y(sexdecilli)o(on)g(two)j(hundred)e(fifty-ei)o(ght)f +(quindecil)o(lio)o(n)h(nine)h(hundred)f(ninety)0 1568 +y(quattuorde)o(ci)o(lli)o(on)f(two)j(hundred)e(seventy-f)o(iv)o(e)g +(tredecill)o(io)o(n)g(five)h(hundred)0 1613 y(forty-one)e(duodecilli)o +(on)g(nine)i(hundred)f(sixty-two)g(undecill)o(ion)f(ninety-two)0 +1659 y(decillion)g(three)i(hundred)f(forty-one)f(nonillion)g(one)j +(hundred)e(sixty-two)0 1705 y(octillion)f(six)j(hundred)e(two)h +(septillion)e(five)i(hundred)f(twenty-two)f(sextillio)o(n)0 +1750 y(two)j(hundred)d(two)j(quintillio)o(n)d(nine)j(hundred)e +(ninety-t)o(hre)o(e)g(quadrilli)o(on)f(seven)0 1796 y(hundred)h +(eighty-tw)o(o)g(trillion)f(seven)i(hundred)f(ninety-two)f(billion)h +(eight)0 1842 y(hundred)g(thirty-fi)o(ve)f(million)h(three)h(hundred)f +(one)i(thousand)d(three)i(hundred)0 1887 y(seventy-si)o(x)0 +1991 y Fw(Another)e(implem)o(en)o(tation)c(prin)o(ts)j(it)g(this)g(w)o +(a)o(y)f(\(note)h(the)h(use)f(of)g Fs(plus)p Fw(\):)0 +2088 y Fj(one)k(times)e(ten)i(to)g(the)f(sixtieth)f(power)h(plus)g(six) +g(hundred)f(six)i(times)e(ten)i(to)0 2134 y(the)g(fifty-se)o(ven)o(th)d +(power)i(plus)g(...)h(plus)f(two)g(hundred)f(seventy-fi)o(ve)f(times)0 +2180 y(ten)j(to)f(the)h(forty-sec)o(ond)d(power)i(plus)g(five)g +(hundred)f(forty-one)f(duodecilli)o(on)0 2225 y(nine)i(hundred)f +(sixty-two)f(undecillio)o(n)h(...)h(three)g(hundred)f(seventy-si)o(x)0 +2329 y Fw(\(I)e(ha)o(v)o(e)g(elided)g(some)f(of)g(the)h(text)h(here)g +(to)f(sa)o(v)o(e)g(space.\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 636 660 +636 659 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(636)77 b(COMMON)13 +b(LISP)42 295 y Fw(Unfortunately)m(,)f(the)h(meaning)f(of)g(this)h +(nomenclature)g(di\013ers)h(b)q(et)o(w)o(een)h(American)0 +347 y(English)f(\(in)h(whic)o(h)g Fv(k)p Fw(-illion)e(means)h(10)643 +332 y Fk(3\()p Fi(k)o Fk(+1\))745 347 y Fw(,)h(so)g(one)g(trillion)e +(is)i(10)1123 332 y Fk(12)1158 347 y Fw(\))g(and)f(British)0 +399 y(English)g(\(in)h(whic)o(h)g Fv(k)p Fw(-illion)d(means)j(10)643 +383 y Fk(6)p Fi(k)676 399 y Fw(,)g(so)g(one)g(trillion)e(is)i(10)1054 +383 y Fk(18)1089 399 y Fw(\).)21 b(T)m(o)14 b(a)o(v)o(oid)g(b)q(oth)0 +450 y(confusion)g(and)g(prolixit)o(y)m(,)e(I)i(recommend)f(using)g +(decimal)g(notation)g(for)h(all)f(n)o(um)o(b)q(ers)0 +502 y(ab)q(o)o(v)o(e)f(999,999,999;)e(this)j(is)f(similar)e(to)j(the)g +(escap)q(e)h(hatc)o(h)f(used)h(for)e(Roman)f(n)o(umer-)0 +554 y(als.)-33 566 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial -2 659 a Fn(~)21 655 y Fs(P)0 714 y Fv(Plur)n(al)p +Fw(.)26 b(If)17 b Fv(ar)n(g)f Fw(is)h(not)f Fs(eql)h +Fw(to)f(the)i(in)o(teger)f Fs(1)p Fw(,)g(a)f(lo)o(w)o(ercase)i +Fs(s)e Fw(is)h(prin)o(ted;)h(if)e Fv(ar)n(g)h Fw(is)0 +766 y Fs(eql)e Fw(to)h Fs(1)p Fw(,)g(nothing)g(is)g(prin)o(ted.)25 +b(\(Notice)16 b(that)g(if)g Fv(ar)n(g)f Fw(is)h(a)g(\015oating-p)q(oin) +o(t)f Fs(1.0)p Fw(,)g(the)0 818 y Fs(s)j Fv(is)g Fw(prin)o(ted.\))276 +822 y Fn(~)299 818 y Fs(:P)g Fw(do)q(es)h(the)g(same)f(thing,)g(after)h +(doing)e(a)1026 822 y Fn(~)1050 818 y Fs(:*)h Fw(to)g(bac)o(k)g(up)h +(one)0 870 y(argumen)o(t;)11 b(that)i(is,)f(it)h(prin)o(ts)g(a)f(lo)o +(w)o(ercase)h Fs(s)g Fw(if)e(the)j Fv(last)e Fw(argumen)o(t)f(w)o(as)i +(not)f Fs(1)p Fw(.)18 b(This)0 922 y(is)d(useful)f(after)h(prin)o(ting) +f(a)g(n)o(um)o(b)q(er)g(using)714 926 y Fn(~)738 922 +y Fs(D)p Fw(.)784 926 y Fn(~)807 922 y Fs(@P)g Fw(prin)o(ts)h +Fs(y)f Fw(if)g(the)h(argumen)o(t)f(is)g Fs(1)p Fw(,)0 +974 y(or)g Fs(ies)f Fw(if)g(it)h(is)f(not.)339 978 y +Fn(~)362 974 y Fs(:@P)h Fw(do)q(es)g(the)h(same)e(thing,)g(but)h(bac)o +(ks)g(up)g(\014rst.)0 1075 y Fs(\(format)20 b(nil)g(")280 +1079 y Fn(~)303 1075 y Fs(D)h(tr)388 1079 y Fn(~)411 +1075 y Fs(:@P/)497 1079 y Fn(~)519 1075 y Fs(D)g(win)626 +1079 y Fn(~)649 1075 y Fs(:P")f(7)h(1\))g Ft(\))g Fs("7)g(tries/1)e +(win")0 1127 y(\(format)h(nil)g(")280 1131 y Fn(~)303 +1127 y Fs(D)h(tr)388 1131 y Fn(~)411 1127 y Fs(:@P/)497 +1131 y Fn(~)519 1127 y Fs(D)g(win)626 1131 y Fn(~)649 +1127 y Fs(:P")f(1)h(0\))g Ft(\))g Fs("1)g(try/0)f(wins")0 +1179 y(\(format)g(nil)g(")280 1183 y Fn(~)303 1179 y +Fs(D)h(tr)388 1183 y Fn(~)411 1179 y Fs(:@P/)497 1183 +y Fn(~)519 1179 y Fs(D)g(win)626 1183 y Fn(~)649 1179 +y Fs(:P")f(1)h(3\))g Ft(\))g Fs("1)g(try/3)f(wins")-2 +1284 y Fn(~)21 1280 y Fs(C)0 1343 y Fv(Char)n(acter)p +Fw(.)d(The)e(next)f Fv(ar)n(g)f Fw(should)h(b)q(e)h(a)e(c)o(haracter;)i +(it)e(is)h(prin)o(ted)g(according)g(to)g(the)0 1395 y(mo)q(di\014er)f +(\015ags.)39 1451 y Fn(~)63 1447 y Fs(C)k Fw(prin)o(ts)h(the)g(c)o +(haracter)i(in)d(an)g(implemen)o(tation-dep)q(enden)o(t)f(abbreviated)i +(for-)-38 1422 y Fk(.)-38 1435 y(.)-38 1448 y(.)-38 1461 +y(.)-38 1474 y(.)-38 1486 y(.)-38 1499 y(.)-38 1512 y(.)-38 +1525 y(.)-38 1538 y(.)-38 1551 y(.)-38 1564 y(.)-38 1577 +y(.)-38 1590 y(.)-38 1603 y(.)-38 1616 y(.)-38 1629 y(.)-38 +1642 y(.)-38 1655 y(.)-38 1668 y(.)-38 1681 y(.)-38 1694 +y(.)-38 1707 y(.)-38 1720 y(.)-38 1733 y(.)-38 1746 y(.)-38 +1759 y(.)-38 1772 y(.)-38 1785 y(.)-38 1798 y(.)-38 1811 +y(.)-38 1824 y(.)-38 1837 y(.)-38 1850 y(.)-38 1863 y(.)-38 +1876 y(.)-38 1889 y(.)-38 1902 y(.)-38 1915 y(.)-38 1928 +y(.)-38 1941 y(.)-38 1953 y(.)-38 1966 y(.)-38 1979 y(.)-38 +1992 y(.)-38 2005 y(.)-38 2018 y(.)-38 2031 y(.)-38 2044 +y(.)-38 2057 y(.)-38 2070 y(.)-38 2083 y(.)-38 2096 y(.)-38 +2109 y(.)-38 2122 y(.)-38 2135 y(.)-38 2148 y(.)-38 2161 +y(.)-38 2174 y(.)-38 2187 y(.)-38 2200 y(.)-38 2213 y(.)-38 +2226 y(.)-38 2239 y(.)-38 2252 y(.)-38 2265 y(.)-38 2278 +y(.)-38 2291 y(.)-38 2304 y(.)-38 2317 y(.)-38 2330 y(.)-38 +2343 y(.)-38 2356 y(.)-38 2369 y(.)-38 2382 y(.)-38 2395 +y(.)-38 2408 y(.)-38 2420 y(.)-38 2433 y(.)-38 2446 y(.)-38 +2459 y(.)-38 2472 y(.)-38 2485 y(.)-38 2498 y(.)-38 2511 +y(.)-38 2524 y(.)-38 2537 y(.)-38 2550 y(.)-38 2563 y(.)-38 +2576 y(.)-38 2589 y(.)-38 2602 y(.)-38 2615 y(.)-38 2628 +y(.)-38 2641 y(.)-38 2654 y(.)-38 2667 y(.)-38 2680 y(.)-38 +2693 y(.)-38 2706 y(.)-38 2719 y(.)-38 2732 y(.)-38 2745 +y(.)-38 2758 y(.)-38 2771 y(.)-38 2784 y(.)-38 2797 y(.)-38 +2810 y(.)-38 2823 y(.)-38 2836 y(.)-38 2849 y(.)-38 2862 +y(.)-38 2875 y(.)-38 2887 y(.)-38 2900 y(.)-38 2913 y(.)-38 +2926 y(.)-38 2939 y(.)-38 2952 y(.)-38 2965 y(.)-38 2978 +y(.)-38 2991 y(.)-38 3004 y(.)-38 3017 y(.)-38 3030 y(.)-38 +3043 y(.)-38 3056 y(.)-38 3069 y(.)-38 3082 y(.)-38 3095 +y(.)-38 3108 y(.)-38 3121 y(.)-38 3134 y(.)-38 3147 y(.)-38 +3160 y(.)-38 3173 y(.)-38 3186 y(.)-38 3199 y(.)-38 3212 +y(.)-38 3225 y(.)-38 3238 y(.)-38 3251 y(.)-38 3264 y(.)-38 +3277 y(.)-38 3290 y(.)-38 3303 y(.)-38 3316 y(.)-38 3329 +y(.)-38 3342 y(.)-38 3354 y(.)-38 3367 y(.)-38 3380 y(.)-38 +3393 y(.)-38 3406 y(.)-38 3419 y(.)-38 3432 y(.)-38 3445 +y(.)-38 3458 y(.)-38 3471 y(.)-38 3484 y(.)-38 3497 y(.)-38 +3510 y(.)-38 3523 y(.)-38 3536 y(.)-38 3549 y(.)-38 3562 +y(.)-38 3575 y(.)-38 3588 y(.)-38 3601 y(.)-38 3614 y(.)-38 +3627 y(.)-38 3640 y(.)-38 3653 y(.)-38 3666 y(.)-38 3679 +y(.)-38 3692 y(.)-38 3705 y(.)-38 3718 y(.)-38 3731 y(.)-38 +3744 y(.)-38 3757 y(.)-38 3770 y(.)-38 3783 y(.)-38 3796 +y(.)-38 3809 y(.)-38 3821 y(.)-38 3834 y(.)-38 3847 y(.)-38 +3860 y(.)-38 3873 y(.)-38 3886 y(.)-38 3899 y(.)-38 3912 +y(.)-38 3925 y(.)-38 3938 y(.)-38 3951 y(.)-38 3964 y(.)-38 +3977 y(.)-38 3990 y(.)-38 4003 y(.)0 1499 y Fw(mat.)e(This)c(format)e +(should)i(b)q(e)g(culturally)f(compatible)g(with)g(the)i(host)f(en)o +(vironmen)o(t.)-33 1510 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1550 a(X3J13)19 b(v)o(oted)h(in)f(June)i(1987)d +Ft(h)p Fw(84)p Ft(i)i Fw(to)f(sp)q(ecify)i(that)944 1554 +y Fn(~)968 1550 y Fs(C)e Fw(p)q(erforms)g(exactly)h(the)-33 +1522 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1602 a(same)f(action)g(as)g Fs(write-char)e +Fw(if)i(the)h(c)o(haracter)h(to)e(b)q(e)h(prin)o(ted)g(has)f(zero)i +(for)e(its)0 1654 y(bits)f(attributes.)30 b(X3J13)17 +b(v)o(oted)h(in)f(Marc)o(h)h(1989)f Ft(h)p Fw(11)p Ft(i)g +Fw(to)g(eliminate)f(the)i(bits)g(and)0 1706 y(fon)o(t)i(attributes,)i +(replacing)f(them)e(with)i(the)g(notion)e(of)h(implemen)o +(tation-de\014ned)0 1758 y(attributes.)32 b(The)19 b(net)f(e\013ect)i +(is)e(that)h(c)o(haracters)g(whose)g(implemen)o(tation-de\014ned)0 +1810 y(attributes)13 b(all)f(ha)o(v)o(e)g(the)h(\\standard")g(v)n +(alues)f(should)g(b)q(e)i(prin)o(ted)f(b)o(y)1130 1814 +y Fn(~)1153 1810 y Fs(C)f Fw(in)g(the)i(same)0 1862 y(w)o(a)o(y)f(that) +h Fs(write-char)e Fw(w)o(ould)h(prin)o(t)h(them.)-33 +1873 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 39 1918 a Fn(~)63 1914 y Fs(:C)k Fw(sp)q(ells)g(out)h(the) +g(names)e(of)h(the)h(con)o(trol)f(bits)h(and)f(represen)o(ts)j +(non-prin)o(ting)0 1966 y(c)o(haracters)c(b)o(y)e(their)h(names:)21 +b Fs(Control-Meta-F)p Fw(,)12 b Fs(Control-Return)p Fw(,)g +Fs(Space)p Fw(.)22 b(This)0 2017 y(is)14 b(a)f(\\prett)o(y")h(format)f +(for)g(prin)o(ting)g(c)o(haracters.)39 2073 y Fn(~)63 +2069 y Fs(:@C)d Fw(prin)o(ts)h(what)353 2073 y Fn(~)377 +2069 y Fs(:C)f Fw(w)o(ould,)g(and)h(then)g(if)f(the)h(c)o(haracter)h +(requires)h(un)o(usual)d(shift)0 2121 y(k)o(eys)j(on)g(the)h(k)o(eyb)q +(oard)f(to)g(t)o(yp)q(e)g(it,)f(this)i(fact)f(is)f(men)o(tioned:)17 +b Fs(Control-)p Fh(@)22 b Fs(\(Top-F\))p Fw(.)0 2173 +y(This)17 b(is)f(the)h(format)e(for)h(telling)g(the)h(user)h(ab)q(out)e +(a)h(k)o(ey)f(he)i(or)e(she)i(is)e(exp)q(ected)j(to)0 +2225 y(t)o(yp)q(e,)d(in)f(prompts,)g(for)g(instance.)24 +b(The)16 b(precise)h(output)e(ma)o(y)f(dep)q(end)j(not)e(only)g(on)0 +2277 y(the)f(implemen)o(tation)d(but)j(on)g(the)g(particular)g(I/O)g +(devices)h(in)e(use.)39 2333 y Fn(~)63 2329 y Fs(@C)d +Fw(prin)o(ts)h(the)g(c)o(haracter)h(so)e(that)h(the)g(Lisp)g(reader)h +(can)e(read)h(it,)g(using)f Fs(#)1210 2325 y(-)1210 2333 +y(-)1232 2329 y(\\)g Fw(syn)o(tax.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 637 661 +637 660 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(637)42 295 y Fw(X3J13)16 b(v)o(oted)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(85)p Ft(i)h Fw(to)f(sp)q(ecify)i(that)f Fs(format)e +Fw(binds)i Fs(*print-)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(escape*)10 b Fw(to)i Fs(t)g Fw(during)f(the)i(pro) +q(cessing)g(of)e(the)756 351 y Fn(~)779 347 y Fs(@C)h +Fw(directiv)o(e.)18 b(Other)13 b(v)n(arian)o(ts)e(of)g(the)-2 +403 y Fn(~)21 399 y Fs(C)j Fw(directiv)o(e)g(do)g(not)g(bind)f(an)o(y)h +(prin)o(ter)g(con)o(trol)g(v)n(ariables.)-33 410 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 458 V 0 520 a Fm(Rationale:)k FA(In)c(some)f(implemen)o +(tation)q(s)j(the)715 523 y Fs(~)736 520 y Fj(S)c FA(directiv)o(e)k(w)o +(ould)e(do)g(what)1186 523 y Fs(~)1206 520 y Fj(C)f FA(do)q(es,)h(but) +-2 568 y Fs(~)19 565 y Fj(C)g FA(is)i(compatible)h(with)f(Lisp)g +(dialects)h(suc)o(h)e(as)h(MacLisp)g(that)f(do)h(not)f(ha)o(v)o(e)h(a)f +(c)o(haracter)0 611 y(data)e(t)o(yp)q(e.)p 0 659 V -2 +759 a Fn(~)21 755 y Fs(F)0 818 y Fv(Fixe)n(d-format)i(\015o)n(ating-p)n +(oint)p Fw(.)20 b(The)15 b(next)g Fv(ar)n(g)f Fw(is)h(prin)o(ted)g(as)f +(a)g(\015oating-p)q(oin)o(t)f(n)o(um-)0 870 y(b)q(er.)42 +923 y(The)18 b(full)e(form)g(is)352 927 y Fn(~)375 923 +y Fv(w)p Fs(,)p Fv(d)p Fs(,)p Fv(k)p Fs(,)p Fv(over\015owchar)p +Fs(,)p Fv(p)n(adchar)t Fs(F)p Fw(.)h(The)h(parameter)g +Fv(w)f Fw(is)g(the)0 975 y(width)f(of)f(the)i(\014eld)f(to)g(b)q(e)h +(prin)o(ted;)g Fv(d)f Fw(is)g(the)h(n)o(um)o(b)q(er)e(of)h(digits)f(to) +h(prin)o(t)g(after)g(the)0 1027 y(decimal)c(p)q(oin)o(t;)h +Fv(k)h Fw(is)g(a)f(scale)i(factor)f(that)g(defaults)g(to)f(zero.)42 +1080 y(Exactly)h Fv(w)g Fw(c)o(haracters)j(will)c(b)q(e)i(output.)20 +b(First,)15 b(leading)f(copies)h(of)f(the)h(c)o(haracter)0 +1132 y Fv(p)n(adchar)g Fw(\(whic)o(h)f(defaults)g(to)g(a)g(space\))h +(are)f(prin)o(ted,)h(if)e(necessary)m(,)i(to)f(pad)g(the)h(\014eld)0 +1184 y(on)j(the)h(left.)30 b(If)18 b(the)g Fv(ar)n(g)g +Fw(is)g(negativ)o(e,)g(then)h(a)f(min)o(us)e(sign)i(is)g(prin)o(ted;)i +(if)d(the)i Fv(ar)n(g)0 1236 y Fw(is)d(not)f(negativ)o(e,)h(then)h(a)e +(plus)h(sign)g(is)f(prin)o(ted)h(if)f(and)h(only)f(if)g(the)i +Fs(@)e Fw(mo)q(di\014er)g(w)o(as)0 1288 y(sp)q(eci\014ed.)29 +b(Then)17 b(a)g(sequence)i(of)d(digits,)h(con)o(taining)f(a)h(single)f +(em)o(b)q(edded)h(decimal)0 1339 y(p)q(oin)o(t,)c(is)h(prin)o(ted;)f +(this)h(represen)o(ts)j(the)d(magnitude)e(of)i(the)g(v)n(alue)f(of)g +Fv(ar)n(g)h Fw(times)f(10)1366 1324 y Fi(k)1383 1339 +y Fw(,)0 1391 y(rounded)g(to)g Fv(d)g Fw(fractional)e(digits.)17 +b(\(When)c(rounding)f(up)h(and)f(rounding)g(do)o(wn)h(w)o(ould)0 +1443 y(pro)q(duce)22 b(prin)o(ted)f(v)n(alues)f(equidistan)o(t)g(from)f +(the)i(scaled)g(v)n(alue)f(of)g Fv(ar)n(g)p Fw(,)h(then)g(the)0 +1495 y(implemen)o(tatio)o(n)11 b(is)i(free)h(to)f(use)h(either)h(one.)j +(F)m(or)13 b(example,)e(prin)o(ting)i(the)h(argumen)o(t)0 +1547 y Fs(6.375)i Fw(using)g(the)h(format)447 1551 y +Fn(~)470 1547 y Fs(4,2F)f Fw(ma)o(y)f(correctly)i(pro)q(duce)h(either)g +Fs(6.37)d Fw(or)i Fs(6.38)p Fw(.\))0 1599 y(Leading)i(zeros)h(are)g +(not)f(p)q(ermitted,)i(except)f(that)g(a)f(single)g(zero)h(digit)e(is)i +(output)0 1651 y(b)q(efore)e(the)g(decimal)e(p)q(oin)o(t)h(if)g(the)h +(prin)o(ted)g(v)n(alue)f(is)h(less)g(than)f(1,)h(and)f(this)h(single)0 +1703 y(zero)d(digit)e(is)g(not)h(output)g(after)g(all)f(if)g +Fv(w)j Fw(=)11 b Fv(d)j Fw(+)c(1.)42 1756 y(If)18 b(it)g(is)g(imp)q +(ossible)f(to)i(prin)o(t)f(the)h(v)n(alue)f(in)g(the)h(required)h +(format)c(in)i(a)h(\014eld)f(of)0 1808 y(width)e Fv(w)p +Fw(,)g(then)g(one)h(of)e(t)o(w)o(o)h(actions)g(is)g(tak)o(en.)25 +b(If)15 b(the)i(parameter)f Fv(over\015owchar)g Fw(is)0 +1859 y(sp)q(eci\014ed,)j(then)e Fv(w)g Fw(copies)g(of)g(that)g +(parameter)f(are)i(prin)o(ted)f(instead)g(of)g(the)g(scaled)0 +1911 y(v)n(alue)d(of)g Fv(ar)n(g)p Fw(.)20 b(If)14 b(the)h +Fv(over\015owchar)g Fw(parameter)f(is)h(omitted,)e(then)i(the)g(scaled) +g(v)n(alue)0 1963 y(is)f(prin)o(ted)g(using)g(more)f(than)g +Fv(w)h Fw(c)o(haracters,)h(as)f(man)o(y)e(more)h(as)h(ma)o(y)e(b)q(e)i +(needed.)42 2016 y(If)c(the)i Fv(w)f Fw(parameter)g(is)g(omitted,)f +(then)i(the)g(\014eld)g(is)f(of)g(v)n(ariable)f(width.)17 +b(In)11 b(e\013ect,)i(a)0 2068 y(v)n(alue)f(is)h(c)o(hosen)i(for)d +Fv(w)h Fw(in)g(suc)o(h)h(a)e(w)o(a)o(y)h(that)g(no)g(leading)f(pad)h(c) +o(haracters)i(need)f(to)f(b)q(e)0 2120 y(prin)o(ted)i(and)g(exactly)g +Fv(d)g Fw(c)o(haracters)i(will)c(follo)o(w)g(the)i(decimal)f(p)q(oin)o +(t.)20 b(F)m(or)14 b(example,)0 2172 y(the)g(directiv)o(e)236 +2176 y Fn(~)260 2172 y Fs(,2F)e Fw(will)g(prin)o(t)h(exactly)g(t)o(w)o +(o)g(digits)f(after)i(the)f(decimal)f(p)q(oin)o(t)h(and)g(as)0 +2224 y(man)o(y)f(as)i(necessary)i(b)q(efore)f(the)f(decimal)e(p)q(oin)o +(t.)42 2277 y(If)g(the)i(parameter)f Fv(d)g Fw(is)g(omitted,)f(then)h +(there)i(is)e(no)g(constrain)o(t)g(on)g(the)h(n)o(um)o(b)q(er)e(of)0 +2329 y(digits)g(to)g(app)q(ear)g(after)h(the)g(decimal)d(p)q(oin)o(t.) +17 b(A)c(v)n(alue)e(is)h(c)o(hosen)h(for)f Fv(d)h Fw(in)f(suc)o(h)g(a)g +(w)o(a)o(y)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 638 662 +638 661 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(638)77 b(COMMON)13 +b(LISP)0 295 y Fw(that)e(as)g(man)o(y)f(digits)g(as)h(p)q(ossible)h(ma) +o(y)d(b)q(e)j(prin)o(ted)f(sub)r(ject)i(to)e(the)h(width)e(constrain)o +(t)0 347 y(imp)q(osed)16 b(b)o(y)g(the)i(parameter)e +Fv(w)h Fw(and)f(the)i(constrain)o(t)f(that)g(no)f(trailing)g(zero)h +(digits)0 399 y(ma)o(y)c(app)q(ear)j(in)f(the)h(fraction,)f(except)i +(that)e(if)f(the)i(fraction)f(to)g(b)q(e)h(prin)o(ted)g(is)f(zero,)0 +450 y(then)f(a)f(single)g(zero)h(digit)e(should)h(app)q(ear)h(after)f +(the)h(decimal)e(p)q(oin)o(t)g(if)h(p)q(ermitted)g(b)o(y)0 +502 y(the)h(width)g(constrain)o(t.)42 554 y(If)k(b)q(oth)h +Fv(w)g Fw(and)f Fv(d)h Fw(are)h(omitted,)e(then)i(the)f(e\013ect)i(is)e +(to)f(prin)o(t)h(the)h(v)n(alue)e(using)0 606 y(ordinary)f(free-format) +f(output;)j Fs(prin1)d Fw(uses)j(this)e(format)f(for)h(an)o(y)g(n)o(um) +o(b)q(er)f(whose)0 658 y(magnitude)c(is)i(either)h(zero)f(or)g(b)q(et)o +(w)o(een)i(10)706 643 y Fl(\000)p Fk(3)764 658 y Fw(\(inclusiv)o(e\))d +(and)h(10)1087 643 y Fk(7)1119 658 y Fw(\(exclusiv)o(e\).)42 +710 y(If)k Fv(w)g Fw(is)g(omitted,)f(then)j(if)d(the)i(magnitude)e(of)h +Fv(ar)n(g)g Fw(is)g(so)h(large)f(\(or,)h(if)e Fv(d)i +Fw(is)f(also)0 762 y(omitted,)9 b(so)i(small\))d(that)j(more)f(than)g +(100)g(digits)g(w)o(ould)g(ha)o(v)o(e)g(to)g(b)q(e)i(prin)o(ted,)f +(then)g(an)0 814 y(implemen)o(tatio)o(n)d(is)i(free,)h(at)g(its)f +(discretion,)h(to)f(prin)o(t)g(the)h(n)o(um)o(b)q(er)f(using)g(exp)q +(onen)o(tial)0 866 y(notation)g(instead,)h(as)g(if)f(b)o(y)h(the)g +(directiv)o(e)684 870 y Fn(~)708 866 y Fs(E)f Fw(\(with)h(all)f +(parameters)h(to)1160 870 y Fn(~)1183 866 y Fs(E)g Fw(defaulted,)0 +918 y(not)j(taking)f(their)h(v)n(alues)g(from)e(the)592 +922 y Fn(~)615 918 y Fs(F)i Fw(directiv)o(e\).)42 970 +y(If)i Fv(ar)n(g)g Fw(is)g(a)h(rational)e(n)o(um)o(b)q(er,)h(then)h(it) +f(is)h(co)q(erced)h(to)e(b)q(e)i(a)e Fs(single-float)e +Fw(and)0 1022 y(then)20 b(prin)o(ted.)34 b(\(Alternativ)o(ely)m(,)19 +b(an)g(implemen)o(tation)d(is)j(p)q(ermitted)g(to)g(pro)q(cess)i(a)0 +1074 y(rational)13 b(n)o(um)o(b)q(er)g(b)o(y)g(an)o(y)h(other)g(metho)q +(d)f(that)h(has)g(essen)o(tially)g(the)g(same)f(b)q(eha)o(vior)0 +1125 y(but)d(a)o(v)o(oids)f(suc)o(h)i(hazards)g(as)f(loss)g(of)g +(precision)g(or)h(o)o(v)o(er\015o)o(w)e(b)q(ecause)j(of)e(the)g(co)q +(ercion.)0 1177 y(Ho)o(w)o(ev)o(er,)16 b(note)g(that)g(if)f +Fv(w)g Fw(and)g Fv(d)h Fw(are)g(unsp)q(eci\014ed)h(and)f(the)g(n)o(um)o +(b)q(er)f(has)h(no)f(exact)0 1229 y(decimal)9 b(represen)o(tation,)k +(for)d(example)g Fs(1/3)p Fw(,)g(some)g(precision)h(cuto\013)h(m)o(ust) +d(b)q(e)j(c)o(hosen)0 1281 y(b)o(y)i(the)g(implemen)o(tation:)h(only)e +(a)g(\014nite)h(n)o(um)o(b)q(er)g(of)f(digits)g(ma)o(y)f(b)q(e)j(prin)o +(ted.\))42 1333 y(If)f Fv(ar)n(g)h Fw(is)f(a)h(complex)e(n)o(um)o(b)q +(er)i(or)f(some)g(non-n)o(umeric)g(ob)r(ject,)i(then)f(it)g(is)f(prin)o +(ted)0 1385 y(using)k(the)h(format)d(directiv)o(e)499 +1389 y Fn(~)522 1385 y Fv(w)t Fs(D)p Fw(,)i(thereb)o(y)h(prin)o(ting)e +(it)h(in)g(decimal)e(radix)i(and)g(a)0 1437 y(minim)n(um)10 +b(\014eld)15 b(width)f(of)g Fv(w)p Fw(.)19 b(\(If)c(it)f(is)g(desired)i +(to)e(prin)o(t)h(eac)o(h)g(of)f(the)h(real)f(part)h(and)0 +1489 y(imaginary)d(part)j(of)f(a)h(complex)e(n)o(um)o(b)q(er)i(using)f +(a)830 1493 y Fn(~)853 1489 y Fs(F)h Fw(directiv)o(e,)g(then)g(this)g +(m)o(ust)f(b)q(e)0 1541 y(done)e(explicitly)f(with)g(t)o(w)o(o)441 +1545 y Fn(~)465 1541 y Fs(F)g Fw(directiv)o(es)i(and)f(co)q(de)g(to)g +(extract)h(the)f(t)o(w)o(o)g(parts)g(of)f(the)0 1593 +y(complex)i(n)o(um)o(b)q(er.\))42 1645 y(X3J13)j(v)o(oted)h(in)f(Jan)o +(uary)h(1989)f Ft(h)p Fw(85)p Ft(i)h Fw(to)f(sp)q(ecify)i(that)f +Fs(format)e Fw(binds)i Fs(*print-)-33 1616 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1697 a(escape*)12 b Fw(to)i Fs(nil)f Fw(during)h(the)g +(pro)q(cessing)h(of)f(the)816 1701 y Fn(~)839 1697 y +Fs(F)g Fw(directiv)o(e.)-33 1708 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1800 a Fs(\(defun)20 b(foo)g(\(x\))42 +1852 y(\(format)g(nil)h(")323 1856 y Fn(~)346 1852 y +Fs(6,2F|)454 1856 y Fn(~)476 1852 y Fs(6,2,1,)606 1856 +y Fn(')628 1852 y Fs(*F|)692 1856 y Fn(~)714 1852 y Fs(6,2,,)822 +1856 y Fn(')844 1852 y Fs(?F|)908 1856 y Fn(~)931 1852 +y Fs(6F|)995 1856 y Fn(~)1017 1852 y Fs(,2F|)1103 1856 +y Fn(~)1126 1852 y Fs(F")212 1904 y(x)g(x)g(x)g(x)g(x)g(x\)\))0 +1955 y(\(foo)f(3.14159\))41 b Ft(\))21 b Fs(")42 b(3.14|)20 +b(31.42|)41 b(3.14|3.1416|3.14|3)o(.1415)o(9")0 2007 +y(\(foo)20 b(-3.14159\))g Ft(\))g Fs(")h(-3.14|-31.42|)e +(-3.14|-3.142|-3.)o(14|-3)o(.1415)o(9")0 2059 y(\(foo)h(100.0\))84 +b Ft(\))20 b Fs("100.00|******|100.0)o(0|)e(100.0|100.00|100.0)o(")0 +2111 y(\(foo)i(1234.0\))62 b Ft(\))21 b Fs("1234.00|******|??)o(????|)o +(1234.)o(0|12)o(34.00)o(|1234)o(.0")0 2163 y(\(foo)f(0.006\))84 +b Ft(\))20 b Fs(")43 b(0.01|)e(0.06|)g(0.01|)20 b(0.006|0.01|0.006")p +0 2223 V 0 2283 a Fm(Compatibilit)o(y)c(note:)25 b FA(The)489 +2286 y Fs(~)509 2283 y Fj(F)16 b FA(directiv)o(e)j(is)e(similar)i(to)e +(the)g Fj(F)p Fq(w)p Fj(.)p Fq(d)f FA(edit)h(descriptor)i(in)0 +2329 y(F)m(ortran.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 639 663 +639 662 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(639)42 295 y FA(The)11 b(presence)h(or)g(absence)g(of)f(the)h +Fj(@)f FA(mo)q(di\014er)i(corresp)q(onds)g(to)e(the)h(e\013ect)f(of)h +(the)f(F)m(ortran)0 340 y Fj(SS)g FA(or)h Fj(SP)e FA(edit)j +(descriptor;)g(nothing)h(in)f(Common)f(Lisp)g(corresp)q(onds)i(to)e +(the)f(F)m(ortran)i Fj(S)e FA(edit)0 386 y(descriptor.)42 +433 y(The)16 b(scale)h(factor)f(sp)q(eci\014ed)i(b)o(y)e(the)g +(parameter)h Fq(k)f FA(corresp)q(onds)i(to)e(the)g(scale)h(factor)f +Fq(k)0 479 y FA(sp)q(eci\014ed)f(b)o(y)e(the)g(F)m(ortran)h +Fq(k)p Fj(P)e FA(edit)i(descriptor.)42 526 y(In)i(F)m(ortran,)i(the)e +(leading)j(zero)e(that)g(precedes)g(the)g(decimal)i(p)q(oin)o(t)e(when) +g(the)g(prin)o(ted)0 571 y(v)n(alue)d(is)g(less)f(than)h(1)f(is)g +(optional;)i(in)f(Common)f(Lisp,)h(the)f(implemen)o(tation)j(is)d +(required)i(to)0 617 y(prin)o(t)f(that)f(zero)g(digit.)42 +664 y(In)18 b(Common)h(Lisp,)i(the)e Fq(w)g FA(and)g +Fq(d)f FA(parameters)i(are)e(optional;)24 b(in)19 b(F)m(ortran,)h(they) +f(are)0 710 y(required.)42 756 y(In)14 b(Common)h(Lisp,)h(the)f(pad)g +(c)o(haracter)h(and)f(o)o(v)o(er\015o)o(w)g(c)o(haracter)h(are)f +(user-sp)q(eci\014able;)0 802 y(in)f(F)m(ortran,)f(they)g(are)g(alw)o +(a)o(ys)h(space)g(and)f(asterisk,)h(resp)q(ectiv)o(ely)m(.)42 +849 y(A)9 b(F)m(ortran)i(implemen)o(tation)i(is)e(prohibited)i(from)c +(prin)o(ting)k(a)d(represen)o(tation)i(of)e(negativ)o(e)0 +895 y(zero;)i(Common)g(Lisp)g(p)q(ermits)g(the)g(prin)o(ting)i(of)d +(suc)o(h)h(a)f(represen)o(tation)j(when)e(appropriate.)42 +942 y(In)g(MacLisp)h(and)g(Lisp)g(Mac)o(hine)h(Lisp,)e(the)710 +945 y Fs(~)730 942 y Fj(F)g FA(format)g(directiv)o(e)i(tak)o(es)e(a)g +(single)i(param-)0 987 y(eter:)i(the)c(n)o(um)o(b)q(er)g(of)f(digits)i +(to)f(use)g(in)g(the)f(prin)o(ted)i(represen)o(tation.)19 +b(This)12 b(incompatibil)q(i)q(t)o(y)0 1033 y(b)q(et)o(w)o(een)j +(Common)h(Lisp)g(and)g(MacLisp)g(w)o(as)f(in)o(tro)q(duced)j(for)d(the) +g(sak)o(e)h(of)f(cultural)i(com-)0 1079 y(patibilit)o(y)f(with)e(F)m +(ortran.)p 0 1128 V -2 1229 a Fn(~)21 1225 y Fs(E)0 1288 +y Fv(Exp)n(onential)i(\015o)n(ating-p)n(oint)p Fw(.)i(The)d(next)f +Fv(ar)n(g)g Fw(is)f(prin)o(ted)i(in)e(exp)q(onen)o(tial)h(notation.)42 +1342 y(The)j(full)f(form)f(is)350 1346 y Fn(~)373 1342 +y Fv(w)p Fs(,)p Fv(d)p Fs(,)p Fv(e)p Fs(,)p Fv(k)p Fs(,)p +Fv(over\015owchar)p Fs(,)p Fv(p)n(adchar)p Fs(,)p Fv(exp)n(onentchar)p +Fs(E)p Fw(.)j(The)f(pa-)0 1393 y(rameter)d Fv(w)f Fw(is)h(the)g(width)g +(of)f(the)h(\014eld)g(to)g(b)q(e)g(prin)o(ted;)g Fv(d)g +Fw(is)g(the)g(n)o(um)o(b)q(er)f(of)h(digits)f(to)0 1445 +y(prin)o(t)i(after)g(the)h(decimal)d(p)q(oin)o(t;)i Fv(e)g +Fw(is)g(the)h(n)o(um)o(b)q(er)e(of)h(digits)f(to)h(use)h(when)g(prin)o +(ting)0 1497 y(the)e(exp)q(onen)o(t;)h Fv(k)f Fw(is)f(a)h(scale)g +(factor)g(that)g(defaults)g(to)g(1)f(\(not)h(zero\).)42 +1550 y(Exactly)g Fv(w)g Fw(c)o(haracters)j(will)c(b)q(e)i(output.)20 +b(First,)15 b(leading)f(copies)h(of)f(the)h(c)o(haracter)0 +1602 y Fv(p)n(adchar)g Fw(\(whic)o(h)f(defaults)g(to)g(a)g(space\))h +(are)f(prin)o(ted,)h(if)e(necessary)m(,)i(to)f(pad)g(the)h(\014eld)0 +1654 y(on)c(the)i(left.)k(If)11 b(the)h Fv(ar)n(g)g Fw(is)f(negativ)o +(e,)h(then)g(a)f(min)o(us)g(sign)g(is)g(prin)o(ted;)i(if)e(the)h +Fv(ar)n(g)f Fw(is)h(not)0 1706 y(negativ)o(e,)g(then)g(a)f(plus)h(sign) +g(is)f(prin)o(ted)h(if)f(and)h(only)f(if)g(the)h Fs(@)f +Fw(mo)q(di\014er)g(w)o(as)h(sp)q(eci\014ed.)0 1758 y(Then)20 +b(a)e(sequence)k(of)c(digits,)h(con)o(taining)f(a)h(single)g(em)o(b)q +(edded)g(decimal)e(p)q(oin)o(t,)j(is)0 1810 y(prin)o(ted.)e(The)12 +b(form)e(of)h(this)h(sequence)i(of)e(digits)f(dep)q(ends)i(on)f(the)h +(scale)f(factor)g Fv(k)p Fw(.)17 b(If)12 b Fv(k)0 1862 +y Fw(is)f(zero,)g(then)h Fv(d)f Fw(digits)f(are)h(prin)o(ted)g(after)g +(the)g(decimal)e(p)q(oin)o(t,)i(and)f(a)h(single)f(zero)i(digit)0 +1914 y(app)q(ears)i(b)q(efore)h(the)f(decimal)e(p)q(oin)o(t)h(if)f(the) +i(total)f(\014eld)h(width)f(will)f(p)q(ermit)h(it.)k(If)c +Fv(k)h Fw(is)0 1966 y(p)q(ositiv)o(e,)d(then)h(it)e(m)o(ust)g(b)q(e)i +(strictly)f(less)h(than)f Fv(d)d Fw(+)t(2;)j Fv(k)g Fw(signi\014can)o +(t)g(digits)f(are)h(prin)o(ted)0 2017 y(b)q(efore)17 +b(the)f(decimal)e(p)q(oin)o(t,)h(and)h Fv(d)f Ft(\000)10 +b Fv(k)15 b Fw(+)c(1)16 b(digits)f(are)h(prin)o(ted)g(after)g(the)g +(decimal)0 2069 y(p)q(oin)o(t.)h(If)d Fv(k)f Fw(is)h(negativ)o(e,)f +(then)h(it)f(m)o(ust)g(b)q(e)h(strictly)g(greater)h(than)e +Ft(\000)p Fv(d)t Fw(;)h(a)g(single)f(zero)0 2121 y(digit)h(app)q(ears)i +(b)q(efore)g(the)g(decimal)e(p)q(oin)o(t)h(if)f(the)i(total)f(\014eld)g +(width)g(will)f(p)q(ermit)h(it,)0 2173 y(and)10 b(after)h(the)f +(decimal)f(p)q(oin)o(t)h(are)g(prin)o(ted)h(\014rst)g +Ft(\000)p Fv(k)k Fw(zeros)d(and)e(then)h Fv(d)6 b Fw(+)r +Fv(k)15 b Fw(signi\014can)o(t)0 2225 y(digits.)22 b(The)16 +b(prin)o(ted)f(fraction)g(m)o(ust)f(b)q(e)i(prop)q(erly)g(rounded.)23 +b(\(When)16 b(rounding)f(up)0 2277 y(and)e(rounding)f(do)o(wn)g(w)o +(ould)g(pro)q(duce)i(prin)o(ted)g(v)n(alues)e(equidistan)o(t)h(from)e +(the)i(scaled)0 2329 y(v)n(alue)h(of)g Fv(ar)n(g)p Fw(,)f(then)i(the)g +(implemen)o(tation)c(is)k(free)g(to)f(use)h(either)h(one.)j(F)m(or)14 +b(example,)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 640 664 +640 663 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(640)77 b(COMMON)13 +b(LISP)0 295 y Fw(prin)o(ting)d Fs(637.5)f Fw(using)h(the)h(format)576 +299 y Fn(~)599 295 y Fs(8,2E)f Fw(ma)o(y)e(correctly)k(pro)q(duce)f +(either)g Fs(6.37E+02)0 347 y Fw(or)j Fs(6.38E+02)p Fw(.\))42 +400 y(F)m(ollo)o(wing)f(the)j(digit)f(sequence,)i(the)g(exp)q(onen)o(t) +f(is)g(prin)o(ted.)24 b(First)16 b(the)g(c)o(haracter)0 +452 y(parameter)k Fv(exp)n(onentchar)i Fw(is)e(prin)o(ted;)j(if)d(this) +h(parameter)f(is)g(omitted,)g(then)h(the)0 504 y(exp)q(onen)o(t)e(mark) +o(er)e(that)h Fs(prin1)g Fw(w)o(ould)f(use)i(is)f(prin)o(ted,)h(as)f +(determined)h(from)d(the)0 555 y(t)o(yp)q(e)g(of)f(the)h(\015oating-p)q +(oin)o(t)e(n)o(um)o(b)q(er)h(and)h(the)g(curren)o(t)h(v)n(alue)e(of)g +Fs(*read-default-)0 607 y(float-format*)p Fw(.)i(Next,)d(either)h(a)f +(plus)h(sign)f(or)g(a)g(min)o(us)f(sign)h(is)g(prin)o(ted,)g(follo)o(w) +o(ed)0 659 y(b)o(y)i Fv(e)g Fw(digits)f(represen)o(ting)i(the)g(p)q(o)o +(w)o(er)f(of)g(10)f(b)o(y)h(whic)o(h)f(the)i(prin)o(ted)f(fraction)g(m) +o(ust)0 711 y(b)q(e)f(m)o(ultipli)o(ed)d(to)h(prop)q(erly)i(represen)o +(t)h(the)e(rounded)h(v)n(alue)e(of)g Fv(ar)n(g)p Fw(.)42 +764 y(If)18 b(it)g(is)g(imp)q(ossible)f(to)i(prin)o(t)f(the)h(v)n(alue) +f(in)g(the)h(required)h(format)c(in)i(a)h(\014eld)f(of)0 +816 y(width)13 b Fv(w)p Fw(,)f(p)q(ossibly)h(b)q(ecause)i +Fv(k)e Fw(is)g(to)q(o)g(large)g(or)g(to)q(o)f(small)f(or)i(b)q(ecause)i +(the)f(exp)q(onen)o(t)0 868 y(cannot)i(b)q(e)g(prin)o(ted)f(in)g +Fv(e)h Fw(c)o(haracter)g(p)q(ositions,)f(then)h(one)g(of)f(t)o(w)o(o)f +(actions)i(is)f(tak)o(en.)0 920 y(If)i(the)h(parameter)f +Fv(over\015owchar)g Fw(is)h(sp)q(eci\014ed,)h(then)f +Fv(w)f Fw(copies)h(of)f(that)g(parameter)0 972 y(are)e(prin)o(ted)h +(instead)f(of)g(the)g(scaled)h(v)n(alue)e(of)h Fv(ar)n(g)p +Fw(.)21 b(If)14 b(the)i Fv(over\015owchar)f Fw(parameter)0 +1024 y(is)f(omitted,)f(then)i(the)g(scaled)g(v)n(alue)f(is)h(prin)o +(ted)g(using)f(more)f(than)i Fv(w)f Fw(c)o(haracters,)i(as)0 +1076 y(man)o(y)f(more)h(as)h(ma)o(y)e(b)q(e)i(needed;)i(if)d(the)i +(problem)d(is)i(that)g Fv(d)g Fw(is)f(to)q(o)h(small)e(for)h(the)0 +1128 y(sp)q(eci\014ed)f Fv(k)e Fw(or)g(that)g Fv(e)g +Fw(is)g(to)q(o)g(small,)e(then)j(a)e(larger)i(v)n(alue)e(is)h(used)h +(for)f Fv(d)g Fw(or)g Fv(e)g Fw(as)h(ma)o(y)0 1179 y(b)q(e)h(needed.)42 +1233 y(If)f(the)h Fv(w)f Fw(parameter)g(is)g(omitted,)f(then)i(the)h +(\014eld)e(is)h(of)e(v)n(ariable)h(width.)20 b(In)14 +b(e\013ect)0 1285 y(a)g(v)n(alue)g(is)g(c)o(hosen)i(for)e +Fv(w)g Fw(in)g(suc)o(h)h(a)g(w)o(a)o(y)e(that)i(no)f(leading)g(pad)g(c) +o(haracters)i(need)g(to)0 1336 y(b)q(e)f(prin)o(ted.)42 +1390 y(If)d(the)i(parameter)f Fv(d)g Fw(is)g(omitted,)f(then)h(there)i +(is)e(no)g(constrain)o(t)g(on)g(the)h(n)o(um)o(b)q(er)e(of)0 +1441 y(digits)j(to)h(app)q(ear.)25 b(A)16 b(v)n(alue)f(is)h(c)o(hosen)h +(for)f Fv(d)g Fw(in)f(suc)o(h)i(a)f(w)o(a)o(y)f(that)h(as)g(man)o(y)e +(digits)0 1493 y(as)j(p)q(ossible)h(ma)o(y)d(b)q(e)j(prin)o(ted)f(sub)r +(ject)i(to)e(the)h(width)f(constrain)o(t)g(imp)q(osed)f(b)o(y)h(the)0 +1545 y(parameter)e Fv(w)p Fw(,)f(the)h(constrain)o(t)h(of)e(the)h +(scale)h(factor)f Fv(k)p Fw(,)f(and)h(the)h(constrain)o(t)f(that)g(no)0 +1597 y(trailing)f(zero)i(digits)e(ma)o(y)f(app)q(ear)j(in)e(the)i +(fraction,)f(except)h(that)f(if)f(the)i(fraction)f(to)0 +1649 y(b)q(e)j(prin)o(ted)g(is)f(zero,)i(then)f(a)f(single)g(zero)h +(digit)f(should)g(app)q(ear)h(after)f(the)h(decimal)0 +1701 y(p)q(oin)o(t)13 b(if)g(the)i(width)f(constrain)o(t)g(allo)o(ws)e +(it.)42 1754 y(If)d(the)h(parameter)f Fv(e)h Fw(is)f(omitted,)g(then)h +(the)g(exp)q(onen)o(t)g(is)g(prin)o(ted)g(using)f(the)h(smallest)0 +1806 y(n)o(um)o(b)q(er)j(of)g(digits)h(necessary)i(to)d(represen)o(t)k +(its)c(v)n(alue.)42 1859 y(If)h(all)f(of)h Fv(w)p Fw(,)g +Fv(d)p Fw(,)h(and)f Fv(e)h Fw(are)g(omitted,)e(then)i(the)h(e\013ect)g +(is)f(to)f(prin)o(t)h(the)g(v)n(alue)f(using)0 1911 y(ordinary)f +(free-format)g(exp)q(onen)o(tial-notation)g(output;)g +Fs(prin1)g Fw(uses)i(this)f(format)e(for)0 1963 y(an)o(y)k(non-zero)h +(n)o(um)o(b)q(er)e(whose)i(magnitude)e(is)h(less)h(than)f(10)1002 +1948 y Fl(\000)p Fk(3)1062 1963 y Fw(or)g(greater)i(than)e(or)0 +2015 y(equal)e(to)f(10)202 2000 y Fk(7)220 2015 y Fw(.)42 +2068 y(X3J13)19 b(v)o(oted)g(in)g(Jan)o(uary)h(1989)e +Ft(h)p Fw(83)p Ft(i)i Fw(to)f(amend)f(the)j(previous)e(paragraph)h(as) +-33 2040 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2120 a(follo)o(ws:)42 2173 y(If)14 b(all)f(of)h +Fv(w)p Fw(,)g Fv(d)p Fw(,)h(and)f Fv(e)h Fw(are)g(omitted,)e(then)i +(the)h(e\013ect)g(is)f(to)f(prin)o(t)h(the)g(v)n(alue)f(using)0 +2225 y(ordinary)c(free-format)f(exp)q(onen)o(tial-notation)g(output;)j +Fs(prin1)d Fw(uses)j(a)e(similar)e(format)0 2277 y(for)15 +b(an)o(y)g(non-zero)g(n)o(um)o(b)q(er)g(whose)h(magnitude)d(is)i(less)h +(than)f(10)1058 2262 y Fl(\000)p Fk(3)1117 2277 y Fw(or)h(greater)g +(than)0 2329 y(or)g(equal)f(to)h(10)259 2314 y Fk(7)277 +2329 y Fw(.)24 b(The)16 b(only)f(di\013erence)i(is)f(that)g(the)887 +2333 y Fn(~)910 2329 y Fs(E)g Fw(directiv)o(e)g(alw)o(a)o(ys)f(prin)o +(ts)h(a)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 641 665 +641 664 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(641)0 295 y Fw(plus)12 b(or)g(min)o(us)f(sign)h(b)q(efore)h(the)g +(exp)q(onen)o(t,)g(while)f Fs(prin1)f Fw(omits)g(the)h(plus)h(sign)f +(if)f(the)0 347 y(exp)q(onen)o(t)k(is)e(non-negativ)o(e.)42 +399 y(\(The)18 b(amendmen)o(t)f(reconciles)i(this)f(paragraph)g(with)g +(the)h(sp)q(eci\014cation)g(sev)o(eral)0 451 y(paragraphs)13 +b(ab)q(o)o(v)o(e)g(that)418 455 y Fn(~)441 451 y Fs(E)g +Fw(alw)o(a)o(ys)f(prin)o(ts)h(a)f(plus)h(or)g(min)o(us)f(sign)g(b)q +(efore)i(the)g(exp)q(o-)0 503 y(nen)o(t.\))-33 514 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 555 a(If)i Fv(ar)n(g)g Fw(is)g(a)h(rational)e(n)o(um)o +(b)q(er,)h(then)h(it)f(is)h(co)q(erced)h(to)e(b)q(e)i(a)e +Fs(single-float)e Fw(and)0 607 y(then)20 b(prin)o(ted.)34 +b(\(Alternativ)o(ely)m(,)19 b(an)g(implemen)o(tation)d(is)j(p)q +(ermitted)g(to)g(pro)q(cess)i(a)0 659 y(rational)13 b(n)o(um)o(b)q(er)g +(b)o(y)g(an)o(y)h(other)g(metho)q(d)f(that)h(has)g(essen)o(tially)g +(the)g(same)f(b)q(eha)o(vior)0 711 y(but)d(a)o(v)o(oids)f(suc)o(h)i +(hazards)g(as)f(loss)g(of)g(precision)g(or)h(o)o(v)o(er\015o)o(w)e(b)q +(ecause)j(of)e(the)g(co)q(ercion.)0 763 y(Ho)o(w)o(ev)o(er,)16 +b(note)g(that)g(if)f Fv(w)g Fw(and)g Fv(d)h Fw(are)g(unsp)q(eci\014ed)h +(and)f(the)g(n)o(um)o(b)q(er)f(has)h(no)f(exact)0 815 +y(decimal)9 b(represen)o(tation,)k(for)d(example)g Fs(1/3)p +Fw(,)g(some)g(precision)h(cuto\013)h(m)o(ust)d(b)q(e)j(c)o(hosen)0 +867 y(b)o(y)i(the)g(implemen)o(tation:)h(only)e(a)g(\014nite)h(n)o(um)o +(b)q(er)g(of)f(digits)g(ma)o(y)f(b)q(e)j(prin)o(ted.\))42 +919 y(If)f Fv(ar)n(g)h Fw(is)f(a)h(complex)e(n)o(um)o(b)q(er)i(or)f +(some)g(non-n)o(umeric)g(ob)r(ject,)i(then)f(it)g(is)f(prin)o(ted)0 +971 y(using)k(the)h(format)e(directiv)o(e)500 975 y Fn(~)523 +971 y Fv(w)p Fs(D)p Fw(,)h(thereb)o(y)i(prin)o(ting)d(it)i(in)f +(decimal)f(radix)h(and)g(a)0 1023 y(minim)n(um)10 b(\014eld)15 +b(width)f(of)g Fv(w)p Fw(.)19 b(\(If)c(it)f(is)g(desired)i(to)e(prin)o +(t)h(eac)o(h)g(of)f(the)h(real)f(part)h(and)0 1075 y(imaginary)d(part)j +(of)f(a)h(complex)e(n)o(um)o(b)q(er)i(using)f(a)830 1079 +y Fn(~)853 1075 y Fs(E)h Fw(directiv)o(e,)g(then)g(this)g(m)o(ust)f(b)q +(e)0 1126 y(done)e(explicitly)f(with)g(t)o(w)o(o)441 +1130 y Fn(~)465 1126 y Fs(E)g Fw(directiv)o(es)i(and)f(co)q(de)g(to)g +(extract)h(the)f(t)o(w)o(o)g(parts)g(of)f(the)0 1178 +y(complex)i(n)o(um)o(b)q(er.\))42 1231 y(X3J13)j(v)o(oted)h(in)f(Jan)o +(uary)h(1989)f Ft(h)p Fw(85)p Ft(i)h Fw(to)f(sp)q(ecify)i(that)f +Fs(format)e Fw(binds)i Fs(*print-)-33 1202 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1283 a(escape*)12 b Fw(to)i Fs(nil)f Fw(during)h(the)g +(pro)q(cessing)h(of)f(the)816 1287 y Fn(~)839 1283 y +Fs(E)g Fw(directiv)o(e.)-33 1294 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1389 a Fs(\(defun)20 b(foo)g(\(x\))42 +1441 y(\(format)g(nil)212 1493 y(")232 1497 y Fn(~)255 +1493 y Fs(9,2,1,,)407 1497 y Fn(')428 1493 y Fs(*E|)492 +1497 y Fn(~)515 1493 y Fs(10,3,2,2,)711 1497 y Fn(')732 +1493 y Fs(?,,)796 1497 y Fn(')819 1493 y Fs($E|)883 1497 +y Fn(~)905 1493 y Fs(9,3,2,-2,)1101 1497 y Fn(')1123 +1493 y Fs(\045@E|)1209 1497 y Fn(~)1231 1493 y Fs(9,2E")212 +1545 y(x)h(x)g(x)g(x\)\))0 1597 y(\(foo)f(3.14159\))41 +b Ft(\))21 b Fs(")42 b(3.14E+0|)19 b(31.42$-01|+.003E+03)o(|)40 +b(3.14E+0")0 1649 y(\(foo)20 b(-3.14159\))g Ft(\))g Fs(")h +(-3.14E+0|-31.42$-01)o(|-.00)o(3E+03)o(|)d(-3.14E+0")0 +1701 y(\(foo)i(1100.0\))62 b Ft(\))21 b Fs(")42 b(1.10E+3|)20 +b(11.00$+02|+.001E)o(+06|)39 b(1.10E+3")0 1753 y(\(foo)20 +b(1100.0L0\))g Ft(\))g Fs(")42 b(1.10L+3|)20 b(11.00$+02|+.001L+)o(06|) +39 b(1.10L+3")0 1804 y(\(foo)20 b(1.1E13\))62 b Ft(\))21 +b Fs("*********|)e(11.00$+12|+.001E+)o(16|)f(1.10E+13")0 +1856 y(\(foo)i(1.1L120\))41 b Ft(\))21 b Fs("*********|?????)o(?????)o +(|\045\045\045\045)o(\045\045\045\045\045)o(|1.1)o(0L+12)o(0")0 +1908 y(\(foo)f(1.1L1200\))g Ft(\))g Fs("*********|????????)o +(??|\045\045)o(\045\045\045\045\045)o(\045\045|1.)o(10L+)o(1200")0 +2014 y Fw(Here)15 b(is)f(an)g(example)e(of)h(the)i(e\013ects)h(of)d(v)n +(arying)g(the)h(scale)h(factor:)0 2121 y Fs(\(dotimes)20 +b(\(k)g(13\))42 2173 y(\(format)g(t)h(")g(\045Scale)f(factor)41 +b(2D:)21 b(|)g(13,6,2,VE|")212 2225 y(\(-)f(k)h(5\))g(3.14159\)\))530 +b(;)p Fw(Prin)o(ts)14 b(13)g(lines)0 2277 y Fs(Scale)20 +b(factor)g(-5:)h(|)g(0.000003E+06|)0 2329 y(Scale)f(factor)g(-4:)h(|)g +(0.000031E+05|)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 642 666 +642 665 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(642)77 b(COMMON)13 +b(LISP)0 295 y Fs(Scale)20 b(factor)g(-3:)h(|)g(0.000314E+04|)0 +347 y(Scale)f(factor)g(-2:)h(|)g(0.003142E+03|)0 399 +y(Scale)f(factor)g(-1:)h(|)g(0.031416E+02|)0 450 y(Scale)f(factor)41 +b(0:)21 b(|)g(0.314159E+01|)0 502 y(Scale)f(factor)41 +b(1:)21 b(|)g(3.141590E+00|)0 554 y(Scale)f(factor)41 +b(2:)21 b(|)g(31.41590E-01|)0 606 y(Scale)f(factor)41 +b(3:)21 b(|)g(314.1590E-02|)0 658 y(Scale)f(factor)41 +b(4:)21 b(|)g(3141.590E-03|)0 710 y(Scale)f(factor)41 +b(5:)21 b(|)g(31415.90E-04|)0 762 y(Scale)f(factor)41 +b(6:)21 b(|)g(314159.0E-05|)0 814 y(Scale)f(factor)41 +b(7:)21 b(|)g(3141590.E-06|)p 0 873 V 0 934 a Fm(Compatibilit)o(y)d +(note:)27 b FA(The)493 937 y Fs(~)514 934 y Fj(E)17 b +FA(directiv)o(e)j(is)e(similar)j(to)d(the)g Fj(E)p Fq(w)p +Fj(.)p Fq(d)f FA(and)h Fj(E)p Fq(w)p Fj(.)p Fq(d)p Fj(E)p +Fq(e)f FA(edit)0 979 y(descriptors)e(in)f(F)m(ortran.)42 +1025 y(The)d(presence)h(or)g(absence)g(of)f(the)h Fj(@)f +FA(mo)q(di\014er)i(corresp)q(onds)g(to)e(the)h(e\013ect)f(of)h(the)f(F) +m(ortran)0 1071 y Fj(SS)g FA(or)h Fj(SP)e FA(edit)j(descriptor;)g +(nothing)h(in)f(Common)f(Lisp)g(corresp)q(onds)i(to)e(the)f(F)m(ortran) +i Fj(S)e FA(edit)0 1116 y(descriptor.)42 1162 y(The)16 +b(scale)h(factor)f(sp)q(eci\014ed)i(b)o(y)e(the)g(parameter)h +Fq(k)f FA(corresp)q(onds)i(to)e(the)g(scale)h(factor)f +Fq(k)0 1208 y FA(sp)q(eci\014ed)i(b)o(y)f(the)g(F)m(ortran)g +Fq(k)p Fj(P)e FA(edit)i(descriptor;)j(note,)d(ho)o(w)o(ev)o(er,)h(that) +e(the)h(default)g(v)n(alue)0 1253 y(for)c Fq(k)g FA(is)g(1)h(in)g +(Common)f(Lisp,)h(as)f(opp)q(osed)i(to)e(the)h(default)g(v)n(alue)g(of) +f(zero)h(in)g(F)m(ortran.)k(\(On)0 1299 y(the)12 b(other)g(hand,)h +(note)f(that)g(a)g(scale)h(factor)f(of)g(1)g(is)g(used)h(for)e(F)m +(ortran)i(list-directed)h(output,)0 1345 y(whic)o(h)c(is)h(roughly)g +(equiv)n(alen)o(t)h(to)d(using)596 1348 y Fs(~)616 1345 +y Fj(E)g FA(with)h(the)g Fq(w)p FA(,)g Fq(d)p FA(,)f +Fq(e)p FA(,)h(and)g Fq(over\015owchar)d FA(parameters)0 +1390 y(omitted.\))42 1436 y(In)18 b(Common)h(Lisp,)i(the)e +Fq(w)g FA(and)g Fq(d)f FA(parameters)i(are)e(optional;)24 +b(in)19 b(F)m(ortran,)h(they)f(are)0 1482 y(required.)42 +1527 y(In)11 b(F)m(ortran,)g(omitting)i Fq(e)d FA(causes)i(the)f(exp)q +(onen)o(t)i(to)e(b)q(e)g(prin)o(ted)h(using)h(either)f(t)o(w)o(o)e(or)h +(three)0 1573 y(digits;)i(if)d(three)h(digits)h(are)f(required,)h(then) +f(the)g(exp)q(onen)o(t)h(mark)o(er)f(is)g(omitted.)17 +b(In)10 b(Common)0 1619 y(Lisp,)15 b(omitting)i Fq(e)d +FA(causes)h(the)f(exp)q(onen)o(t)i(to)f(b)q(e)f(prin)o(ted)i(using)g +(as)f(few)f(digits)i(as)e(p)q(ossible;)0 1664 y(the)f(exp)q(onen)o(t)h +(mark)o(er)g(is)f(nev)o(er)h(omitted.)42 1710 y(In)g(Common)h(Lisp,)h +(the)f(pad)g(c)o(haracter)h(and)f(o)o(v)o(er\015o)o(w)g(c)o(haracter)h +(are)f(user-sp)q(eci\014able;)0 1756 y(in)f(F)m(ortran)f(they)h(are)f +(alw)o(a)o(ys)h(space)f(and)h(asterisk,)g(resp)q(ectiv)o(ely)m(.)42 +1801 y(A)9 b(F)m(ortran)i(implemen)o(tation)i(is)e(prohibited)i(from)c +(prin)o(ting)k(a)d(represen)o(tation)i(of)e(negativ)o(e)0 +1847 y(zero;)i(Common)g(Lisp)g(p)q(ermits)g(the)g(prin)o(ting)i(of)d +(suc)o(h)h(a)f(represen)o(tation)j(when)e(appropriate.)42 +1892 y(In)g(MacLisp)h(and)g(Lisp)g(Mac)o(hine)h(Lisp,)e(the)710 +1895 y Fs(~)730 1892 y Fj(E)g FA(format)g(directiv)o(e)i(tak)o(es)e(a)g +(single)i(param-)0 1938 y(eter:)i(the)c(n)o(um)o(b)q(er)g(of)f(digits)i +(to)f(use)g(in)g(the)f(prin)o(ted)i(represen)o(tation.)19 +b(This)12 b(incompatibil)q(i)q(t)o(y)0 1984 y(b)q(et)o(w)o(een)j +(Common)h(Lisp)g(and)g(MacLisp)g(w)o(as)f(in)o(tro)q(duced)j(for)d(the) +g(sak)o(e)h(of)f(cultural)i(com-)0 2029 y(patibilit)o(y)f(with)e(F)m +(ortran.)p 0 2063 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 643 667 +643 666 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(643)-2 299 y Fn(~)21 295 y Fs(G)0 358 y Fv(Gener)n(al)15 +b(\015o)n(ating-p)n(oint)p Fw(.)20 b(The)15 b(next)g +Fv(ar)n(g)f Fw(is)g(prin)o(ted)h(as)g(a)f(\015oating-p)q(oin)o(t)f(n)o +(um)o(b)q(er)g(in)0 410 y(either)i(\014xed-format)d(or)i(exp)q(onen)o +(tial)f(notation)h(as)f(appropriate.)42 462 y(The)j(full)f(form)f(is) +346 466 y Fn(~)370 462 y Fv(w)p Fs(,)p Fv(d)p Fs(,)p +Fv(e)p Fs(,)p Fv(k)p Fs(,)p Fv(over\015owchar)p Fs(,)p +Fv(p)n(adchar)p Fs(,)p Fv(exp)n(onentchar)p Fs(G)p Fw(.)i(The)g(for-)0 +513 y(mat)e(in)g(whic)o(h)h(to)g(prin)o(t)g Fv(ar)n(g)g +Fw(dep)q(ends)i(on)d(the)i(magnitude)e(\(absolute)h(v)n(alue\))g(of)f +(the)0 565 y Fv(ar)n(g)p Fw(.)j(Let)d Fv(n)f Fw(b)q(e)h(an)f(in)o +(teger)h(suc)o(h)g(that)f(10)669 550 y Fi(n)p Fl(\000)p +Fk(1)744 565 y Ft(\024)e Fv(ar)n(g)h Fh(<)g Fw(10)941 +550 y Fi(n)961 565 y Fw(.)18 b(\(If)13 b Fv(ar)n(g)g +Fw(is)g(zero,)g(let)h Fv(n)f Fw(b)q(e)0 617 y(0.\))19 +b(Let)c Fv(e)n(e)g Fw(equal)f Fv(e)f Fw(+)d(2,)j(or)i(4)f(if)f +Fv(e)i Fw(is)f(omitted.)k(Let)d Fv(ww)f Fw(equal)g Fv(w)g +Ft(\000)9 b Fv(e)n(e)p Fw(,)14 b(or)h Fs(nil)f Fw(if)f +Fv(w)0 669 y Fw(is)h(omitted.)j(If)c Fv(d)i Fw(is)e(omitted,)g(\014rst) +h(let)g Fv(q)g Fw(b)q(e)h(the)g(n)o(um)o(b)q(er)e(of)g(digits)h(needed) +h(to)f(prin)o(t)0 721 y Fv(ar)n(g)f Fw(with)g(no)g(loss)g(of)f +(information)f(and)i(without)f(leading)h(or)g(trailing)f(zeros;)i(then) +g(let)0 773 y Fv(d)g Fw(equal)g Fs(\(max)20 b Fv(q)h +Fs(\(min)g Fv(n)g Fs(7\)\))p Fw(.)c(Let)e Fv(dd)f Fw(equal)g +Fv(d)f Ft(\000)d Fv(n)s Fw(.)42 825 y(If)j(0)e Ft(\024)h +Fv(dd)g Ft(\024)g Fv(d)t Fw(,)i(then)g Fv(ar)n(g)g Fw(is)g(prin)o(ted)g +(as)g(if)f(b)o(y)h(the)g(format)e(directiv)o(es)-2 923 +y Fn(~)21 919 y Fv(ww)p Fs(,)p Fv(dd)p Fs(,,)p Fv(over\015owchar)p +Fs(,)p Fv(p)n(adchar)p Fs(F)596 923 y Fn(~)619 919 y +Fv(e)n(e)p Fs(@T)0 1013 y Fw(Note)17 b(that)f(the)h(scale)g(factor)g +Fv(k)f Fw(is)h(not)f(passed)i(to)e(the)909 1017 y Fn(~)932 +1013 y Fs(F)g Fw(directiv)o(e.)27 b(F)m(or)16 b(all)f(other)0 +1065 y(v)n(alues)f(of)f Fv(dd)p Fw(,)h Fv(ar)n(g)f Fw(is)h(prin)o(ted)g +(as)g(if)f(b)o(y)h(the)g(format)e(directiv)o(e)-2 1163 +y Fn(~)21 1159 y Fv(w)p Fs(,)p Fv(d)p Fs(,)p Fv(e)p Fs(,)p +Fv(k)p Fs(,)p Fv(over\015owchar)p Fs(,)p Fv(p)n(adchar)p +Fs(,)p Fv(exp)n(onentchar)p Fs(E)42 1253 y Fw(In)f(either)i(case,)g(an) +e Fs(@)h Fw(mo)q(di\014er)f(is)g(sp)q(eci\014ed)j(to)e(the)876 +1257 y Fn(~)899 1253 y Fs(F)g Fw(or)979 1257 y Fn(~)1003 +1253 y Fs(E)f Fw(directiv)o(e)i(if)e(and)h(only)0 1305 +y(if)h(one)h(w)o(as)g(sp)q(eci\014ed)h(to)f(the)481 1309 +y Fn(~)505 1305 y Fs(G)f Fw(directiv)o(e.)42 1357 y(X3J13)j(v)o(oted)h +(in)f(Jan)o(uary)h(1989)f Ft(h)p Fw(85)p Ft(i)h Fw(to)f(sp)q(ecify)i +(that)f Fs(format)e Fw(binds)i Fs(*print-)-33 1329 y +@beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1409 a(escape*)12 b Fw(to)i Fs(nil)f Fw(during)h(the)g +(pro)q(cessing)h(of)f(the)816 1413 y Fn(~)839 1409 y +Fs(G)g Fw(directiv)o(e.)-33 1421 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1461 a(Examples:)-38 1436 y Fk(.)-38 +1449 y(.)-38 1462 y(.)-38 1475 y(.)-38 1488 y(.)-38 1501 +y(.)-38 1514 y(.)-38 1527 y(.)-38 1540 y(.)-38 1552 y(.)-38 +1565 y(.)-38 1578 y(.)-38 1591 y(.)-38 1604 y(.)-38 1617 +y(.)-38 1630 y(.)-38 1643 y(.)-38 1656 y(.)-38 1669 y(.)-38 +1682 y(.)-38 1695 y(.)-38 1708 y(.)-38 1721 y(.)-38 1734 +y(.)-38 1747 y(.)-38 1760 y(.)-38 1773 y(.)-38 1786 y(.)-38 +1799 y(.)-38 1812 y(.)-38 1825 y(.)-38 1838 y(.)-38 1851 +y(.)-38 1864 y(.)-38 1877 y(.)-38 1890 y(.)-38 1903 y(.)-38 +1916 y(.)-38 1929 y(.)-38 1942 y(.)-38 1955 y(.)-38 1968 +y(.)-38 1981 y(.)-38 1994 y(.)-38 2007 y(.)-38 2019 y(.)-38 +2032 y(.)-38 2045 y(.)-38 2058 y(.)-38 2071 y(.)-38 2084 +y(.)-38 2097 y(.)-38 2110 y(.)-38 2123 y(.)-38 2136 y(.)-38 +2149 y(.)-38 2162 y(.)-38 2175 y(.)-38 2188 y(.)-38 2201 +y(.)-38 2214 y(.)-38 2227 y(.)-38 2240 y(.)-38 2253 y(.)-38 +2266 y(.)-38 2279 y(.)-38 2292 y(.)-38 2305 y(.)-38 2318 +y(.)-38 2331 y(.)-38 2344 y(.)-38 2357 y(.)-38 2370 y(.)-38 +2383 y(.)-38 2396 y(.)-38 2409 y(.)-38 2422 y(.)-38 2435 +y(.)-38 2448 y(.)-38 2461 y(.)-38 2474 y(.)-38 2486 y(.)-38 +2499 y(.)-38 2512 y(.)-38 2525 y(.)-38 2538 y(.)-38 2551 +y(.)-38 2564 y(.)-38 2577 y(.)-38 2590 y(.)-38 2603 y(.)-38 +2616 y(.)-38 2629 y(.)-38 2642 y(.)-38 2655 y(.)-38 2668 +y(.)-38 2681 y(.)-38 2694 y(.)-38 2707 y(.)-38 2720 y(.)-38 +2733 y(.)-38 2746 y(.)-38 2759 y(.)-38 2772 y(.)-38 2785 +y(.)-38 2798 y(.)-38 2811 y(.)-38 2824 y(.)-38 2837 y(.)-38 +2850 y(.)-38 2863 y(.)-38 2876 y(.)-38 2889 y(.)-38 2902 +y(.)-38 2915 y(.)-38 2928 y(.)-38 2941 y(.)-38 2953 y(.)-38 +2966 y(.)-38 2979 y(.)-38 2992 y(.)-38 3005 y(.)-38 3018 +y(.)-38 3031 y(.)-38 3044 y(.)-38 3057 y(.)-38 3070 y(.)-38 +3083 y(.)-38 3096 y(.)-38 3109 y(.)-38 3122 y(.)-38 3135 +y(.)-38 3148 y(.)-38 3161 y(.)-38 3174 y(.)-38 3187 y(.)-38 +3200 y(.)-38 3213 y(.)-38 3226 y(.)-38 3239 y(.)-38 3252 +y(.)-38 3265 y(.)-38 3278 y(.)-38 3291 y(.)-38 3304 y(.)-38 +3317 y(.)-38 3330 y(.)-38 3343 y(.)-38 3356 y(.)-38 3369 +y(.)-38 3382 y(.)-38 3395 y(.)-38 3408 y(.)-38 3420 y(.)-38 +3433 y(.)-38 3446 y(.)-38 3459 y(.)-38 3472 y(.)-38 3485 +y(.)-38 3498 y(.)-38 3511 y(.)-38 3524 y(.)-38 3537 y(.)-38 +3550 y(.)-38 3563 y(.)-38 3576 y(.)-38 3589 y(.)-38 3602 +y(.)-38 3615 y(.)-38 3628 y(.)-38 3641 y(.)-38 3654 y(.)-38 +3667 y(.)-38 3680 y(.)-38 3693 y(.)-38 3706 y(.)-38 3719 +y(.)-38 3732 y(.)-38 3745 y(.)-38 3758 y(.)-38 3771 y(.)-38 +3784 y(.)-38 3797 y(.)-38 3810 y(.)-38 3823 y(.)-38 3836 +y(.)-38 3849 y(.)-38 3862 y(.)-38 3875 y(.)-38 3887 y(.)-38 +3900 y(.)-38 3913 y(.)-38 3926 y(.)-38 3939 y(.)-38 3952 +y(.)-38 3965 y(.)-38 3978 y(.)-38 3991 y(.)-38 4004 y(.)-38 +4017 y(.)0 1555 y Fs(\(defun)20 b(foo)g(\(x\))42 1607 +y(\(format)g(nil)212 1659 y(")232 1663 y Fn(~)255 1659 +y Fs(9,2,1,,)407 1663 y Fn(')428 1659 y Fs(*G|)492 1663 +y Fn(~)515 1659 y Fs(9,3,2,3,)689 1663 y Fn(')710 1659 +y Fs(?,,)774 1663 y Fn(')797 1659 y Fs($G|)861 1663 y +Fn(~)884 1659 y Fs(9,3,2,0,)1058 1663 y Fn(')1079 1659 +y Fs(\045G|)1143 1663 y Fn(~)1166 1659 y Fs(9,2G")212 +1711 y(x)h(x)g(x\)\))0 1804 y(\(foo)f(0.0314159\))f Ft(\))i +Fs(")42 b(3.14E-2|314.2$-04|0)o(.314E)o(-01|)d(3.14E-2")0 +1856 y(\(foo)20 b(0.314159\))41 b Ft(\))21 b Fs(")42 +b(0.31)62 b(|0.314)84 b(|0.314)f(|)21 b(0.31)84 b(")0 +1908 y(\(foo)20 b(3.14159\))62 b Ft(\))21 b Fs(")63 b(3.1)g(|)21 +b(3.14)84 b(|)21 b(3.14)84 b(|)42 b(3.1)84 b(")0 1960 +y(\(foo)20 b(31.4159\))62 b Ft(\))21 b Fs(")63 b(31.)g(|)21 +b(31.4)84 b(|)21 b(31.4)84 b(|)42 b(31.)84 b(")0 2012 +y(\(foo)20 b(314.159\))62 b Ft(\))21 b Fs(")42 b(3.14E+2|)20 +b(314.)83 b(|)21 b(314.)84 b(|)42 b(3.14E+2")0 2063 y(\(foo)20 +b(3141.59\))62 b Ft(\))21 b Fs(")42 b(3.14E+3|314.2$+01)o(|0.31)o +(4E+04)o(|)e(3.14E+3")0 2115 y(\(foo)20 b(3141.59L0\))f +Ft(\))i Fs(")42 b(3.14L+3|314.2$+01|0)o(.314L)o(+04|)d(3.14L+3")0 +2167 y(\(foo)20 b(3.14E12\))62 b Ft(\))21 b Fs("*********|314.0$)o +(+10|0)o(.314E)o(+13|)d(3.14E+12")0 2219 y(\(foo)i(3.14L120\))41 +b Ft(\))21 b Fs("*********|????)o(?????)o(|\045\045\045\045)o +(\045\045\045\045\045)o(|3.1)o(4L+12)o(0")0 2271 y(\(foo)f(3.14L1200\)) +f Ft(\))i Fs("*********|???????)o(??|\045\045)o(\045\045\045\045\045)o +(\045\045|3.)o(14L+)o(1200")-33 2287 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 57 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 644 668 +644 667 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(644)77 b(COMMON)13 +b(LISP)42 295 y Fv(Notic)n(e)f(of)h(c)n(orr)n(e)n(ction.)k +Fw(In)12 b(the)g(\014rst)h(edition,)e(the)h(example)f(for)h(the)g(v)n +(alue)f Fs(3.14E12)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a Fw(con)o(tained)j(t)o(w)o(o)f(t)o(yp)q(ographical) +g(errors:)0 463 y Fs(\(foo)20 b(3.14E12\))62 b Ft(\))21 +b Fs("*********|314.2$)o(+10|0)o(.314E)o(+13|)d(3.14L+12")736 +515 y Ft(")436 b(")736 567 y Fw(should)13 b(b)q(e)i Fs(0)247 +b Fw(should)13 b(b)q(e)i Fs(E)0 681 y Fw(These)g(ha)o(v)o(e)f(b)q(een)h +(corrected)h(ab)q(o)o(v)o(e.)-33 693 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 741 V 0 803 a Fm(Compatibilit)o(y)g(note:)25 +b FA(The)489 806 y Fs(~)509 803 y Fj(G)16 b FA(directiv)o(e)j(is)e +(similar)i(to)e(the)g Fj(G)p Fq(w)p Fj(.)p Fq(d)f FA(edit)h(descriptor) +i(in)0 848 y(F)m(ortran.)42 895 y(The)11 b(Common)g(Lisp)h(rules)h(for) +d(deciding)k(b)q(et)o(w)o(een)e(the)f(use)h(of)976 898 +y Fs(~)996 895 y Fj(F)f FA(and)1098 898 y Fs(~)1118 895 +y Fj(E)g FA(are)g(compatible)0 941 y(with)j(the)g(rules)h(used)f(b)o(y) +g(F)m(ortran)g(but)g(ha)o(v)o(e)h(b)q(een)f(extended)h(to)f(co)o(v)o +(er)g(the)f(cases)i(where)e Fq(w)0 987 y FA(or)g Fq(d)f +FA(is)i(omitted)g(or)f(where)g Fq(e)f FA(is)i(sp)q(eci\014ed.)42 +1034 y(In)20 b(MacLisp)i(and)f(Lisp)g(Mac)o(hine)h(Lisp,)h(the)770 +1037 y Fs(~)790 1034 y Fj(G)d FA(format)g(directiv)o(e)i(is)f(equiv)n +(alen)o(t)i(to)0 1080 y(the)15 b(Common)h(Lisp)319 1083 +y Fs(~)340 1080 y Fj(@*)e FA(directiv)o(e.)25 b(This)16 +b(incompatibil)q(i)q(t)o(y)i(b)q(et)o(w)o(een)d(Common)h(Lisp)g(and)0 +1125 y(MacLisp)e(w)o(as)f(in)o(tro)q(duced)i(for)e(the)g(sak)o(e)h(of)e +(cultural)j(compatibili)q(t)o(y)h(with)d(F)m(ortran.)p +0 1176 V -2 1279 a Fn(~)21 1275 y Fs($)0 1339 y Fv(Dol)r(lars)j(\015o)n +(ating-p)n(oint)p Fw(.)22 b(The)15 b(next)h Fv(ar)n(g)f +Fw(is)g(prin)o(ted)g(as)g(a)g(\015oating-p)q(oin)o(t)f(n)o(um)o(b)q(er) +g(in)0 1390 y(\014xed-format)h(notation.)27 b(This)16 +b(format)f(is)i(particularly)f(con)o(v)o(enien)o(t)h(for)g(prin)o(ting) +f(a)0 1442 y(v)n(alue)d(as)h(dollars)f(and)h(cen)o(ts.)42 +1496 y(The)e(full)e(form)g(is)328 1500 y Fn(~)351 1496 +y Fv(d)p Fs(,)p Fv(n)p Fs(,)p Fv(w)p Fs(,)p Fv(p)n(adchar)p +Fs($)p Fw(.)18 b(The)12 b(parameter)f Fv(d)h Fw(is)f(the)h(n)o(um)o(b)q +(er)f(of)g(digits)0 1548 y(to)k(prin)o(t)f(after)h(the)h(decimal)d(p)q +(oin)o(t)h(\(default)h(v)n(alue)f(2\);)h Fv(n)g Fw(is)f(the)i(minim)n +(um)10 b(n)o(um)o(b)q(er)0 1599 y(of)h(digits)g(to)h(prin)o(t)g(b)q +(efore)h(the)f(decimal)e(p)q(oin)o(t)i(\(default)f(v)n(alue)g(1\);)h +Fv(w)g Fw(is)f(the)i(minim)n(um)0 1651 y(total)g(width)h(of)f(the)i +(\014eld)e(to)h(b)q(e)h(prin)o(ted)f(\(default)g(v)n(alue)f(0\).)42 +1705 y(First)h(padding)e(and)i(the)g(sign)g(are)g(output.)k(If)13 +b(the)i Fv(ar)n(g)e Fw(is)g(negativ)o(e,)h(then)g(a)f(min)o(us)0 +1757 y(sign)j(is)h(prin)o(ted;)h(if)e(the)h Fv(ar)n(g)g +Fw(is)g(not)f(negativ)o(e,)h(then)h(a)e(plus)h(sign)f(is)h(prin)o(ted)g +(if)f(and)0 1808 y(only)11 b(if)h(the)h Fs(@)f Fw(mo)q(di\014er)f(w)o +(as)h(sp)q(eci\014ed.)19 b(If)11 b(the)i Fs(:)f Fw(mo)q(di\014er)f(is)h +(used,)h(the)g(sign)f(app)q(ears)0 1860 y(b)q(efore)h(an)o(y)f +(padding,)f(and)h(otherwise)h(after)g(the)g(padding.)j(If)c +Fv(w)g Fw(is)g(sp)q(eci\014ed)i(and)e(the)0 1912 y(n)o(um)o(b)q(er)f +(of)h(other)g(c)o(haracters)i(to)e(b)q(e)g(output)h(is)f(less)g(than)g +Fv(w)p Fw(,)g(then)g(copies)h(of)e Fv(p)n(adchar)0 1964 +y Fw(\(whic)o(h)18 b(defaults)g(to)g(a)f(space\))j(are)e(output)g(to)g +(mak)o(e)e(the)j(total)e(\014eld)h(width)g(equal)0 2016 +y Fv(w)p Fw(.)h(Then)c Fv(n)g Fw(digits)e(are)i(prin)o(ted)g(for)f(the) +h(in)o(teger)g(part)f(of)g Fv(ar)n(g)p Fw(,)f(with)h(leading)g(zeros)i +(if)0 2068 y(necessary;)f(then)g(a)f(decimal)e(p)q(oin)o(t;)h(then)h +Fv(d)g Fw(digits)g(of)f(fraction,)g(prop)q(erly)h(rounded.)42 +2121 y(If)d(the)h(magnitude)e(of)h Fv(ar)n(g)g Fw(is)g(so)h(large)f +(that)g(more)g(than)g Fv(m)h Fw(digits)f(w)o(ould)f(ha)o(v)o(e)i(to)f +(b)q(e)0 2173 y(prin)o(ted,)h(where)g Fv(m)g Fw(is)f(the)h(larger)f(of) +g Fv(w)g Fw(and)g(100,)g(then)h(an)f(implemen)o(tation)d(is)k(free,)g +(at)0 2225 y(its)g(discretion,)g(to)g(prin)o(t)f(the)h(n)o(um)o(b)q(er) +f(using)h(exp)q(onen)o(tial)f(notation)g(instead,)h(as)g(if)f(b)o(y)0 +2277 y(the)i(directiv)o(e)235 2281 y Fn(~)259 2277 y +Fv(w)p Fs(,)p Fv(q)p Fs(,,,,)p Fv(p)n(adchar)p Fs(E)p +Fw(,)e(where)j Fv(w)e Fw(and)h Fv(p)n(adchar)g Fw(are)g(presen)o(t)h +(or)f(omitted)0 2329 y(according)k(to)f(whether)j(they)e(w)o(ere)g +(presen)o(t)i(or)e(omitted)e(in)h(the)1082 2333 y Fn(~)1106 +2329 y Fs($)g Fw(directiv)o(e,)i(and)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 645 669 +645 668 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(645)0 295 y Fw(where)14 b Fv(q)h Fw(=)d Fv(d)g Fw(+)c +Fv(n)j Ft(\000)d Fw(1,)k(where)i Fv(d)g Fw(and)f Fv(n)g +Fw(are)g(the)h(\(p)q(ossibly)f(default\))g(v)n(alues)f(giv)o(en)h(to)0 +347 y(the)69 351 y Fn(~)93 347 y Fs($)g Fw(directiv)o(e.)42 +399 y(If)c Fv(ar)n(g)h Fw(is)g(a)g(rational)e(n)o(um)o(b)q(er,)i(then)h +(it)e(is)h(co)q(erced)i(to)e(b)q(e)h(a)f Fs(single-float)d +Fw(and)j(then)0 451 y(prin)o(ted.)18 b(\(Alternativ)o(ely)m(,)13 +b(an)h(implem)o(en)o(tation)d(is)j(p)q(ermitted)f(to)h(pro)q(cess)h(a)f +(rational)0 503 y(n)o(um)o(b)q(er)9 b(b)o(y)h(an)o(y)f(other)i(metho)q +(d)e(that)h(has)g(essen)o(tially)f(the)i(same)e(b)q(eha)o(vior)h(but)g +(a)o(v)o(oids)0 555 y(suc)o(h)15 b(hazards)f(as)g(loss)g(of)f +(precision)i(or)e(o)o(v)o(er\015o)o(w)h(b)q(ecause)i(of)d(the)h(co)q +(ercion.\))42 607 y(If)g Fv(ar)n(g)h Fw(is)f(a)h(complex)e(n)o(um)o(b)q +(er)i(or)f(some)g(non-n)o(umeric)g(ob)r(ject,)i(then)f(it)g(is)f(prin)o +(ted)0 659 y(using)k(the)h(format)e(directiv)o(e)500 +663 y Fn(~)523 659 y Fv(w)p Fs(D)p Fw(,)h(thereb)o(y)i(prin)o(ting)d +(it)i(in)f(decimal)f(radix)h(and)g(a)0 711 y(minim)n(um)10 +b(\014eld)15 b(width)f(of)g Fv(w)p Fw(.)19 b(\(If)c(it)f(is)g(desired)i +(to)e(prin)o(t)h(eac)o(h)g(of)f(the)h(real)f(part)h(and)0 +763 y(imaginary)d(part)j(of)f(a)h(complex)e(n)o(um)o(b)q(er)i(using)f +(a)830 767 y Fn(~)853 763 y Fs($)h Fw(directiv)o(e,)g(then)g(this)g(m)o +(ust)f(b)q(e)0 814 y(done)e(explicitly)f(with)g(t)o(w)o(o)441 +818 y Fn(~)465 814 y Fs($)g Fw(directiv)o(es)i(and)f(co)q(de)g(to)g +(extract)h(the)f(t)o(w)o(o)g(parts)g(of)f(the)0 866 y(complex)i(n)o(um) +o(b)q(er.\))42 919 y(X3J13)j(v)o(oted)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(85)p Ft(i)h Fw(to)f(sp)q(ecify)i(that)f Fs(format)e +Fw(binds)i Fs(*print-)-33 890 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 971 a(escape*)12 b Fw(to)i Fs(nil)f Fw(during)h(the)g +(pro)q(cessing)h(of)f(the)816 975 y Fn(~)839 971 y Fs($)g +Fw(directiv)o(e.)-33 982 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial -2 1080 a Fn(~)21 1076 y Fs(\045)0 1139 +y Fw(This)f(outputs)h(a)f Fs(#)280 1135 y(-)280 1143 +y(-)302 1139 y(\\Newline)f Fw(c)o(haracter,)i(thereb)o(y)h(terminating) +d(the)i(curren)o(t)h(output)0 1191 y(line)e(and)h(b)q(eginning)f(a)h +(new)g(one)g(\(see)i Fs(terpri)p Fw(\).)39 1247 y Fn(~)63 +1243 y Fv(n)p Fs(\045)e Fw(outputs)g Fv(n)g Fw(newlines.)42 +1295 y(No)f Fv(ar)n(g)g Fw(is)g(used.)19 b(Simply)12 +b(putting)h(a)g(newline)h(in)f(the)h(con)o(trol)f(string)h(w)o(ould)e +(w)o(ork,)0 1347 y(but)79 1351 y Fn(~)103 1347 y Fs(\045)18 +b Fw(is)h(often)h(used)g(b)q(ecause)h(it)d(mak)o(es)g(the)i(con)o(trol) +f(string)g(lo)q(ok)g(nicer)g(in)g(the)0 1399 y(middle)12 +b(of)h(a)h(Lisp)g(program.)-2 1509 y Fn(~)21 1505 y Fs(&)0 +1568 y Fw(Unless)d(it)f(can)g(b)q(e)h(determined)f(that)h(the)f(output) +h(stream)f(is)g(already)f(at)i(the)f(b)q(eginning)0 1620 +y(of)j(a)h(line,)f(this)h(outputs)g(a)g(newline)g(\(see)h +Fs(fresh-line)p Fw(\).)39 1676 y Fn(~)63 1672 y Fv(n)p +Fs(&)f Fw(calls)f Fs(fresh-line)f Fw(and)i(then)g(outputs)h +Fv(n)d Ft(\000)e Fw(1)j(newlines.)1066 1676 y Fn(~)1089 +1672 y Fs(0&)g Fw(do)q(es)i(nothing.)-2 1781 y Fn(~)21 +1777 y Fs(|)0 1840 y Fw(This)e(outputs)g(a)g(page)g(separator)h(c)o +(haracter,)g(if)e(p)q(ossible.)956 1844 y Fn(~)979 1840 +y Fv(n)p Fs(|)h Fw(do)q(es)h(this)f Fv(n)g Fw(times.)k +Fs(|)0 1892 y Fw(is)d(v)o(ertical)f(bar,)h(not)g(capital)f(I.)-2 +2002 y Fn(~)-5 b(~)0 2061 y Fv(Tilde)p Fw(.)17 b(This)d(outputs)h(a)e +(tilde.)514 2065 y Fn(~)537 2061 y Fv(n)558 2065 y Fn(~)595 +2061 y Fw(outputs)i Fv(n)f Fw(tildes.)-2 2170 y Fn(~)21 +2166 y Ft(h)p Fw(newline)p Ft(i)0 2225 y Fw(Tilde)c(immediately)d +(follo)o(w)o(ed)i(b)o(y)i(a)f(newline)h(ignores)g(the)g(newline)g(and)f +(an)o(y)g(follo)o(wing)0 2277 y(non-newline)i(whitespace)i(c)o +(haracters.)20 b(With)12 b(a)g Fs(:)p Fw(,)g(the)i(newline)e(is)h +(ignored,)f(but)h(an)o(y)0 2329 y(follo)o(wing)g(whitespace)j(is)g +(left)f(in)g(place.)22 b(With)15 b(an)g Fs(@)p Fw(,)g(the)h(newline)g +(is)f(left)g(in)g(place,)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 646 670 +646 669 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(646)77 b(COMMON)13 +b(LISP)0 295 y Fw(but)g(an)o(y)f(follo)o(wing)e(whitespace)j(is)g +(ignored.)k(This)12 b(directiv)o(e)h(is)g(t)o(ypically)e(used)i(when)0 +347 y(a)h(format)e(con)o(trol)h(string)h(is)g(to)q(o)g(long)f(to)g +(\014t)h(nicely)g(in)o(to)f(one)h(line)g(of)f(the)i(program:)0 +450 y Fs(\(defun)20 b(type-clash-error)e(\(fn)i(nargs)g(argnum)g +(right-type)g(wrong-type\))42 502 y(\(format)g(*error-output*)212 +554 y(")232 558 y Fn(~)255 554 y Fs(&Function)470 558 +y Fn(~)493 554 y Fs(S)h(requires)f(its)816 558 y Fn(~)839 +554 y Fs(:[)881 558 y Fn(~)904 554 y Fs(:R)946 558 y +Fn(~)969 554 y Fs(;)989 558 y Fn(~)1012 554 y Fs(*)1032 +558 y Fn(~)1055 554 y Fs(])1096 558 y Fn(~)233 606 y +Fs(argument)f(to)i(be)g(of)g(type)729 610 y Fn(~)752 +606 y Fs(S,)794 610 y Fn(~)817 606 y Fs(\045but)f(it)h(was)g(called) +1226 610 y Fn(~)233 658 y Fs(with)f(an)h(argument)e(of)i(type)772 +662 y Fn(~)796 658 y Fs(S.)838 662 y Fn(~)861 658 y Fs(\045")212 +710 y(fn)f(\(eql)h(nargs)f(1\))h(argnum)f(right-type)f(wrong-type\)\))0 +813 y(\(type-clash-error)389 817 y Fn(')413 813 y Fs(aref)h(nil)h(2)648 +817 y Fn(')672 813 y Fs(integer)843 817 y Fn(')867 813 +y Fs(vector\))e Fw(prin)o(ts)p Fs(:)0 865 y(Function)h(AREF)g(requires) +f(its)i(second)f(argument)f(to)i(be)g(of)g(type)f(INTEGER,)0 +917 y(but)h(it)f(was)h(called)f(with)g(an)h(argument)e(of)i(type)g +(VECTOR.)0 1021 y(\(type-clash-error)389 1025 y Fn(')413 +1021 y Fs(car)f(1)h(1)583 1025 y Fn(')606 1021 y Fs(list)713 +1025 y Fn(')736 1021 y Fs(short-float\))e Fw(prin)o(ts)p +Fs(:)0 1073 y(Function)h(CAR)g(requires)g(its)g(argument)g(to)g(be)h +(of)g(type)f(LIST,)0 1125 y(but)h(it)f(was)h(called)f(with)g(an)h +(argument)e(of)i(type)g(SHORT-FLOAT.)0 1228 y Fw(Note)14 +b(that)g(in)g(this)g(example)e(newlines)i(app)q(ear)h(in)e(the)i +(output)f(only)f(as)h(sp)q(eci\014ed)h(b)o(y)0 1280 y(the)71 +1284 y Fn(~)95 1280 y Fs(&)g Fw(and)213 1284 y Fn(~)236 +1280 y Fs(\045)h Fw(directiv)o(es;)h(the)g(actual)e(newline)h(c)o +(haracters)i(in)d(the)i(con)o(trol)f(string)0 1332 y(are)e(suppressed)j +(b)q(ecause)e(eac)o(h)g(is)e(preceded)j(b)o(y)e(a)g(tilde.)-2 +1439 y Fn(~)21 1435 y Fs(T)0 1498 y Fv(T)m(abulate)p +Fw(.)25 b(This)16 b(spaces)i(o)o(v)o(er)e(to)g(a)g(giv)o(en)g(column.) +876 1502 y Fn(~)900 1498 y Fv(c)n(olnum)p Fs(,)p Fv(c)n(olinc)p +Fs(T)g Fw(will)f(output)0 1550 y(su\016cien)o(t)d(spaces)h(to)f(mo)o(v) +o(e)d(the)k(cursor)f(to)g(column)e Fv(c)n(olnum)p Fw(.)17 +b(If)12 b(the)g(cursor)h(is)e(already)0 1602 y(at)20 +b(or)g(b)q(ey)o(ond)h(column)e Fv(c)n(olnum)p Fw(,)i(it)f(will)f +(output)i(spaces)g(to)g(mo)o(v)o(e)d(it)i(to)g(column)0 +1654 y Fv(c)n(olnum)p Fw(+)p Fv(k)p Fw(*)p Fv(c)n(olinc)c +Fw(for)g(the)h(smallest)d(p)q(ositiv)o(e)i(in)o(teger)h +Fv(k)f Fw(p)q(ossible,)g(unless)h Fv(c)n(olinc)f Fw(is)0 +1706 y(zero,)e(in)f(whic)o(h)h(case)g(no)g(spaces)g(are)g(output)g(if)f +(the)h(cursor)h(is)e(already)h(at)f(or)g(b)q(ey)o(ond)0 +1758 y(column)f Fv(c)n(olnum)p Fw(.)19 b Fv(c)n(olnum)14 +b Fw(and)g Fv(c)n(olinc)f Fw(default)h(to)g Fs(1)p Fw(.)42 +1810 y(Ideally)m(,)i(the)h(curren)o(t)i(column)c(p)q(osition)h(is)h +(determined)g(b)o(y)g(examination)e(of)h(the)0 1862 y(destination,)11 +b(whether)i(a)e(stream)g(or)h(string.)17 b(\(Although)11 +b(no)h(user-lev)o(el)g(op)q(eration)f(for)0 1914 y(determining)f(the)i +(column)e(p)q(osition)g(of)h(a)g(stream)f(is)i(de\014ned)g(b)o(y)f +(Common)d(Lisp,)j(suc)o(h)0 1966 y(a)e(facilit)o(y)g(ma)o(y)e(exist)j +(at)g(the)g(implemen)o(tation)d(lev)o(el.\))16 b(If)9 +b(for)h(some)f(reason)h(the)g(curren)o(t)0 2017 y(absolute)21 +b(column)d(p)q(osition)i(cannot)h(b)q(e)g(determined)f(b)o(y)g(direct)i +(inquiry)m(,)e Fs(format)0 2069 y Fw(ma)o(y)c(b)q(e)j(able)f(to)g +(deduce)h(the)g(curren)o(t)h(column)c(p)q(osition)i(b)o(y)g(noting)f +(that)h(certain)0 2121 y(directiv)o(es)11 b(\(suc)o(h)g(as)332 +2125 y Fn(~)356 2121 y Fs(\045)p Fw(,)f(or)445 2125 y +Fn(~)468 2121 y Fs(&)p Fw(,)g(or)557 2125 y Fn(~)581 +2121 y Fs(A)g Fw(with)g(the)g(argumen)o(t)f(b)q(eing)i(a)f(string)g +(con)o(taining)0 2173 y(a)17 b(newline\))g(cause)h(the)g(column)e(p)q +(osition)g(to)h(b)q(e)h(reset)h(to)e(zero,)h(and)f(coun)o(ting)g(the)0 +2225 y(n)o(um)o(b)q(er)i(of)h(c)o(haracters)h(emitted)e(since)i(that)f +(p)q(oin)o(t.)36 b(If)19 b(that)h(fails,)g Fs(format)f +Fw(ma)o(y)0 2277 y(attempt)e(a)g(similar)e(deduction)j(on)f(the)h +(riskier)g(assumption)e(that)i(the)g(destination)0 2329 +y(w)o(as)12 b(at)h(column)d(zero)k(when)e Fs(format)g +Fw(w)o(as)g(in)o(v)o(ok)o(ed.)17 b(If)12 b(ev)o(en)h(this)f(heuristic)h +(fails)f(or)g(is)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 647 671 +647 670 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(647)0 295 y Fw(implemen)o(tatio)o(nall)o(y)8 b(incon)o(v)o(enien)o +(t,)i(at)h(w)o(orst)g(the)830 299 y Fn(~)853 295 y Fs(T)f +Fw(op)q(eration)h(will)e(simply)g(output)0 347 y(t)o(w)o(o)14 +b(spaces.)21 b(\(All)14 b(this)h(implies)d(that)j(co)q(de)g(that)g +(uses)g Fs(format)f Fw(is)g(more)g(lik)o(ely)f(to)h(b)q(e)0 +399 y(p)q(ortable)k(if)g(all)e(format)h(con)o(trol)h(strings)g(that)g +(use)h(the)939 403 y Fn(~)962 399 y Fs(T)f Fw(directiv)o(e)h(either)g +(b)q(egin)0 450 y(with)96 454 y Fn(~)119 450 y Fs(\045)e +Fw(or)210 454 y Fn(~)233 450 y Fs(&)g Fw(to)g(force)h(a)f(newline)g(or) +g(are)g(designed)h(to)f(b)q(e)h(used)g(only)e(when)i(the)0 +502 y(destination)c(is)f(kno)o(wn)h(from)e(other)j(considerations)f(to) +g(b)q(e)g(at)g(column)e(zero.\))39 558 y Fn(~)63 554 +y Fs(@T)f Fw(p)q(erforms)h Fv(r)n(elative)f Fw(tabulation.)647 +558 y Fn(~)670 554 y Fv(c)n(olr)n(el)p Fs(,)p Fv(c)n(olinc)p +Fs(@T)g Fw(outputs)h Fv(c)n(olr)n(el)f Fw(spaces)j(and)0 +606 y(then)e(outputs)h(the)f(smallest)e(non-negativ)o(e)i(n)o(um)o(b)q +(er)f(of)g(additional)f(spaces)j(necessary)0 658 y(to)18 +b(mo)o(v)o(e)e(the)j(cursor)g(to)e(a)h(column)e(that)i(is)g(a)g(m)o +(ultiple)e(of)h Fv(c)n(olinc)p Fw(.)30 b(F)m(or)17 b(example,)0 +710 y(the)i(directiv)o(e)247 714 y Fn(~)271 710 y Fs(3,8@T)e +Fw(outputs)j(three)g(spaces)g(and)e(then)i(mo)o(v)o(es)d(the)j(cursor)f +(to)g(a)0 762 y(\\standard)g(m)o(ultiple-of-eig)o(h)o(t)d(tab)j(stop")f +(if)g(not)h(at)f(one)h(already)m(.)32 b(If)18 b(the)h(curren)o(t)0 +814 y(output)f(column)e(cannot)i(b)q(e)g(determined,)h(ho)o(w)o(ev)o +(er,)f(then)h Fv(c)n(olinc)e Fw(is)h(ignored,)g(and)0 +866 y(exactly)c Fv(c)n(olr)n(el)f Fw(spaces)i(are)f(output.)42 +917 y(X3J13)e(v)o(oted)i(in)e(June)i(1989)f Ft(h)p Fw(139)p +Ft(i)f Fw(to)h(de\014ne)799 921 y Fn(~)823 917 y Fs(:T)g +Fw(and)957 921 y Fn(~)981 917 y Fs(:@T)f Fw(to)h(p)q(erform)g(tabula-) +-33 889 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 969 a(tion)c(relativ)o(e)h(to)f(a)g(p)q(oin)o(t)h +(de\014ned)g(b)o(y)g(the)g(prett)o(y)h(prin)o(ting)d(pro)q(cess)k +(\(see)f(section)f(27.4\).)-33 981 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial -2 1075 a Fn(~)21 1071 y Fs(*)0 1134 y Fw(The)k(next)h +Fv(ar)n(g)e Fw(is)h(ignored.)452 1138 y Fn(~)475 1134 +y Fv(n)p Fs(*)g Fw(ignores)g(the)h(next)f Fv(n)g Fw(argumen)o(ts.)39 +1190 y Fn(~)63 1186 y Fs(:*)i Fw(\\ignores)h(bac)o(kw)o(ards";)i(that)e +(is,)g(it)g(bac)o(ks)g(up)h(in)e(the)i(list)f(of)f(argumen)o(ts)h(so)0 +1238 y(that)g(the)g(argumen)o(t)e(last)h(pro)q(cessed)j(will)c(b)q(e)i +(pro)q(cessed)i(again.)1086 1242 y Fn(~)1110 1238 y Fv(n)p +Fs(:*)d Fw(bac)o(ks)h(up)f Fv(n)0 1290 y Fw(argumen)o(ts.)42 +1342 y(When)e(within)g(a)327 1346 y Fn(~)350 1342 y Fs({)h +Fw(construct)h(\(see)g(b)q(elo)o(w\),)f(the)g(ignoring)e(\(in)i(either) +g(direction\))0 1394 y(is)f(relativ)o(e)f(to)h(the)h(list)e(of)g +(argumen)o(ts)h(b)q(eing)f(pro)q(cessed)k(b)o(y)c(the)i(iteration.)39 +1450 y Fn(~)63 1446 y Fv(n)p Fs(@*)d Fw(is)h(an)f(\\absolute)g(goto")g +(rather)i(than)e(a)h(\\relativ)o(e)f(goto":)k(it)d(go)q(es)g(to)f(the)h +Fv(n)p Fw(th)0 1497 y Fv(ar)n(g)p Fw(,)f(where)i(0)f(means)f(the)i +(\014rst)g(one;)f Fv(n)g Fw(defaults)g(to)g(0,)f(so)936 +1501 y Fn(~)960 1497 y Fs(@*)g Fw(go)q(es)i(bac)o(k)e(to)h(the)h +(\014rst)0 1549 y Fv(ar)n(g)p Fw(.)22 b(Directiv)o(es)16 +b(after)g(a)418 1553 y Fn(~)442 1549 y Fv(n)p Fs(@*)f +Fw(will)f(tak)o(e)h(argumen)o(ts)g(in)g(sequence)i(b)q(eginning)e(with) +0 1601 y(the)e(one)f(gone)g(to.)17 b(When)c(within)e(a)583 +1605 y Fn(~)606 1601 y Fs({)h Fw(construct,)i(the)f(\\goto")e(is)h +(relativ)o(e)f(to)h(the)h(list)0 1653 y(of)g(argumen)o(ts)g(b)q(eing)h +(pro)q(cessed)i(b)o(y)e(the)h(iteration.)-2 1759 y Fn(~)21 +1755 y Fs(?)0 1814 y Fv(Indir)n(e)n(ction)p Fw(.)23 b(The)16 +b(next)g Fv(ar)n(g)f Fw(m)o(ust)g(b)q(e)h(a)f(string,)h(and)f(the)h +(one)g(after)g(it)f(a)g(list;)h(b)q(oth)0 1866 y(are)c(consumed)g(b)o +(y)g(the)380 1870 y Fn(~)403 1866 y Fs(?)g Fw(directiv)o(e.)18 +b(The)13 b(string)f(is)f(pro)q(cessed)k(as)d(a)f Fs(format)g +Fw(con)o(trol)0 1918 y(string,)h(with)f(the)i(elemen)o(ts)f(of)f(the)h +(list)g(as)g(the)g(argumen)o(ts.)17 b(Once)c(the)f(recursiv)o(e)i(pro-) +0 1969 y(cessing)h(of)f(the)h(con)o(trol)f(string)g(has)g(b)q(een)i +(\014nished,)e(then)h(pro)q(cessing)g(of)f(the)h(con)o(trol)0 +2021 y(string)f(con)o(taining)f(the)389 2025 y Fn(~)412 +2021 y Fs(?)h Fw(directiv)o(e)h(is)e(resumed.)18 b(Example:)0 +2123 y Fs(\(format)i(nil)g(")280 2127 y Fn(~)303 2123 +y Fs(?)344 2127 y Fn(~)367 2123 y Fs(D")h("<)474 2127 +y Fn(~)497 2123 y Fs(A)538 2127 y Fn(~)561 2123 y Fs(D>")645 +2127 y Fn(')669 2123 y Fs(\("Foo")f(5\))g(7\))h Ft(\))g +Fs(")h(7")0 2175 y(\(format)f(nil)g(")280 2179 +y Fn(~)303 2175 y Fs(?)344 2179 y Fn(~)367 2175 y Fs(D")h("<)474 +2179 y Fn(~)497 2175 y Fs(A)538 2179 y Fn(~)561 2175 +y Fs(D>")645 2179 y Fn(')669 2175 y Fs(\("Foo")f(5)h(14\))f(7\))h +Ft(\))g Fs(")h(7")0 2277 y Fw(Note)d(that)g(in)g(the)g(second) +h(example)e(three)i(argumen)o(ts)e(are)h(supplied)g(to)g(the)h(con-)0 +2329 y(trol)c(string)h Fs("<)242 2333 y Fn(~)264 2329 +y Fs(A)305 2333 y Fn(~)329 2329 y Fs(D>")p Fw(,)e(but)i(only)f(t)o(w)o +(o)g(are)g(pro)q(cessed)j(and)d(the)h(third)g(is)f(therefore)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 648 672 +648 671 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(648)77 b(COMMON)13 +b(LISP)0 295 y Fw(ignored.)42 347 y(With)i(the)h Fs(@)f +Fw(mo)q(di\014er,)g(only)f(one)i Fv(ar)n(g)g Fw(is)f(directly)h +(consumed.)23 b(The)16 b Fv(ar)n(g)f Fw(m)o(ust)g(b)q(e)0 +399 y(a)j(string;)i(it)e(is)g(pro)q(cessed)j(as)d(part)g(of)g(the)h +(con)o(trol)f(string)g(as)g(if)g(it)g(had)g(app)q(eared)0 +450 y(in)c(place)g(of)g(the)273 454 y Fn(~)296 450 y +Fs(@?)g Fw(construct,)i(and)e(an)o(y)g(directiv)o(es)h(in)f(the)h +(recursiv)o(ely)g(pro)q(cessed)0 502 y(con)o(trol)j(string)g(ma)o(y)e +(consume)h(argumen)o(ts)h(of)f(the)i(con)o(trol)e(string)h(con)o +(taining)f(the)-2 558 y Fn(~)21 554 y Fs(@?)d Fw(directiv)o(e.)k +(Example:)0 653 y Fs(\(format)i(nil)g(")280 657 y Fn(~)303 +653 y Fs(@?)366 657 y Fn(~)389 653 y Fs(D")h("<)496 657 +y Fn(~)519 653 y Fs(A)559 657 y Fn(~)583 653 y Fs(D>")f("Foo")g(5)h +(7\))g Ft(\))g Fs(")h(7")0 705 y(\(format)f(nil)g(")280 +709 y Fn(~)303 705 y Fs(@?)366 709 y Fn(~)389 705 y Fs(D")h("<)496 +709 y Fn(~)519 705 y Fs(A)559 709 y Fn(~)583 705 y Fs(D>")f("Foo")g(5)h +(14)g(7\))g Ft(\))g Fs(")h(14")42 803 y Fw(Here)h(is)e(a)h +(rather)g(sophisticated)h(example.)37 b(The)21 b Fs(format)f +Fw(function)g(itself,)i(as)0 855 y(implemen)o(ted)11 +b(at)h(one)h(time)f(in)g(Lisp)h(Mac)o(hine)g(Lisp,)f(used)i(a)e +(routine)h(in)o(ternal)f(to)h(the)0 907 y Fs(format)d +Fw(pac)o(k)n(age)i(called)f Fs(format-error)e Fw(to)j(signal)f(error)h +(messages;)g Fs(format-error)0 959 y Fw(in)h(turn)h(used)g +Fs(error)p Fw(,)e(whic)o(h)i(used)g Fs(format)e Fw(recursiv)o(ely)m(.) +19 b(No)o(w)13 b Fs(format-error)e Fw(to)q(ok)0 1011 +y(a)k(string)g(and)g(argumen)o(ts,)f(just)h(lik)o(e)f +Fs(format)p Fw(,)g(but)h(also)g(prin)o(ted)g(the)h(con)o(trol)f(string) +0 1063 y(to)k Fs(format)g Fw(\(whic)o(h)g(at)g(this)h(p)q(oin)o(t)f(w)o +(as)g(a)o(v)n(ailable)f(in)h(the)h(global)d(v)n(ariable)i +Fs(*ctl-)0 1115 y(string*)p Fw(\))d(and)h(a)f(little)h(arro)o(w)g(sho)o +(wing)f(where)i(in)f(the)h(pro)q(cessing)g(of)e(the)i(con)o(trol)0 +1167 y(string)f(the)g(error)g(o)q(ccurred.)28 b(The)17 +b(v)n(ariable)f Fs(*ctl-index*)e Fw(p)q(oin)o(ted)j(one)f(c)o(haracter) +0 1218 y(after)e(the)h(place)f(of)f(the)h(error.)0 1317 +y Fs(\(defun)20 b(format-error)f(\(string)g(&rest)h(args\))105 +b(;)p Fw(Example)42 1369 y Fs(\(error)20 b(nil)h(")301 +1373 y Fn(~)324 1369 y Fs(?)344 1373 y Fn(~)367 1369 +y Fs(\045)387 1373 y Fn(~)410 1369 y Fs(V@T)p Ft(+)499 +1373 y Fn(~)522 1369 y Fs(\045)542 1373 y Fn(~)565 1369 +y Fs(3@T\\")673 1373 y Fn(~)695 1369 y Fs(A\\")759 1373 +y Fn(~)781 1369 y Fs(\045")191 1421 y(string)e(args)i(\(+)g +(*ctl-index*)d(3\))j(*ctl-string*\)\))0 1520 y Fw(\(The)15 +b(c)o(haracter)h(set)f(used)g(in)f(the)h(Lisp)f(Mac)o(hine)h(Lisp)f +(implemen)o(tatio)o(n)e(con)o(tains)i(a)0 1571 y(do)o(wn-arro)o(w)i(c)o +(haracter)j Ft(+)p Fw(,)e(whic)o(h)g(is)g(not)f(a)h(standard)g(Common)d +(Lisp)j(c)o(haracter.\))0 1623 y(This)e(\014rst)i(pro)q(cessed)g(the)f +(giv)o(en)f(string)h(and)f(argumen)o(ts)g(using)1068 +1627 y Fn(~)1091 1623 y Fs(?)p Fw(,)g(then)h(output)g(a)0 +1675 y(newline,)f(tabb)q(ed)g(a)g(v)n(ariable)f(amoun)o(t)f(for)h(prin) +o(ting)g(the)i(do)o(wn-arro)o(w,)e(and)g(prin)o(ted)0 +1727 y(the)e(con)o(trol)g(string)f(b)q(et)o(w)o(een)i(double)f(quotes)g +(\(note)h(the)f(use)g(of)f Fs(\\")h Fw(to)f(include)h(double)0 +1779 y(quotes)j(within)e(the)h(con)o(trol)g(string\).)k(The)c(e\013ect) +i(w)o(as)e(something)e(lik)o(e)h(this:)0 1878 y Fs(\(format)20 +b(t)h("The)f(item)g(is)h(a)539 1882 y Fn(~)562 1878 y +Fs([Foo)648 1882 y Fn(~)671 1878 y Fs(;Bar)757 1882 y +Fn(~)779 1878 y Fs(;Loser)909 1882 y Fn(~)931 1878 y +Fs(].")1015 1882 y Fn(')1039 1878 y Fs(quux\))0 1930 +y(>>ERROR:)f(The)g(argument)g(to)g(the)h(FORMAT)f(")801 +1934 y Fn(~)824 1930 y Fs([")h(command)191 1981 y(must)f(be)h(a)g +(number.)402 2033 y Ft(+)64 2085 y Fs("The)f(item)g(is)h(a)386 +2089 y Fn(~)409 2085 y Fs([Foo)495 2089 y Fn(~)517 2085 +y Fs(;Bar)603 2089 y Fn(~)626 2085 y Fs(;Loser)756 2089 +y Fn(~)778 2085 y Fs(].")p 0 2145 V 0 2205 a Fm(Implemen)o(tation)13 +b(note:)k FA(Implemen)o(tors)d(ma)o(y)f(wish)h(to)f(rep)q(ort)g(errors) +g(o)q(ccurring)i(within)0 2251 y Fj(format)8 b FA(con)o(trol)k(strings) +g(in)f(the)g(manner)g(outlined)i(here.)j(It)11 b(lo)q(oks)h(prett)o(y)e +(\015ash)o(y)i(when)f(done)0 2296 y(prop)q(erly)m(.)p +0 2329 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 649 673 +649 672 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(649)42 295 y Fw(X3J13)15 b(v)o(oted)g(in)g(June)i(1989)d +Ft(h)p Fw(139)p Ft(i)h Fw(to)h(in)o(tro)q(duce)g(certain)g +Fs(format)e Fw(directiv)o(es)j(to)-33 266 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(supp)q(ort)h(the)f(user)h(in)o(terface)f(to)g(the) +g(prett)o(y)h(prin)o(ter)f(describ)q(ed)i(in)d(detail)g(in)h(c)o(hap-)0 +399 y(ter)e(27.)-2 508 y Fn(~)21 504 y Fs(_)0 567 y Fv(Conditional)f +(new)r(line.)k Fw(Without)12 b(an)o(y)g(mo)q(di\014ers,)g(the)i +(directiv)o(e)1063 571 y Fn(~)1086 567 y Fs(_)f Fw(is)g(equiv)n(alen)o +(t)f(to)0 619 y Fs(\(pprint-newline)18 b(:linear\))p +Fw(.)32 b(The)19 b(directiv)o(e)830 623 y Fn(~)853 619 +y Fs(@_)f Fw(is)h(equiv)n(alen)o(t)g(to)f Fs(\(pprint-)0 +671 y(newline)i(:miser\))p Fw(.)46 b(The)24 b(directiv)o(e)658 +675 y Fn(~)681 671 y Fs(:_)f Fw(is)h(equiv)n(alen)o(t)f(to)h +Fs(\(pprint-newline)0 723 y(:fill\))p Fw(.)16 b(The)d(directiv)o(e)409 +727 y Fn(~)432 723 y Fs(:@_)f Fw(is)g(equiv)n(alen)o(t)g(to)g +Fs(\(pprint-newline)19 b(:mandatory\))p Fw(.)-2 832 y +Fn(~)21 828 y Fs(W)0 891 y Fv(Write.)38 b Fw(An)21 b +Fv(ar)n(g)p Fw(,)g(an)o(y)f(Lisp)h(ob)r(ject,)i(is)d(prin)o(ted)h(ob)q +(eying)f Fv(every)h Fw(prin)o(ter)g(con)o(trol)0 943 +y(v)n(ariable)13 b(\(as)h(b)o(y)g Fs(write)p Fw(\).)j(See)d(section)h +(27.4)e(for)g(details.)-2 1052 y Fn(~)21 1048 y Fs(I)0 +1111 y Fv(Indent.)19 b Fw(The)14 b(directiv)o(e)399 1115 +y Fn(~)422 1111 y Fv(n)p Fs(I)g Fw(is)g(equiv)n(alen)o(t)f(to)g +Fs(\(pprint-indent)18 b(:block)i Fv(n)p Fs(\))p Fw(.)e(The)0 +1163 y(directiv)o(e)164 1167 y Fn(~)188 1163 y Fs(:)p +Fv(n)p Fs(I)12 b Fw(is)f(equiv)n(alen)o(t)h(to)f Fs(\(pprint-indent)19 +b(:current)g Fv(n)p Fs(\))p Fw(.)f(In)12 b(b)q(oth)g(cases,)0 +1215 y Fv(n)i Fw(defaults)g(to)g(zero,)g(if)f(it)h(is)f(omitted.)-33 +1227 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1320 a(The)g(format)e(directiv)o(es)j(after)g(this)f(p) +q(oin)o(t)g(are)g(m)o(uc)o(h)f(more)g(complicated)g(than)h(the)0 +1372 y(foregoing;)d(they)h(constitute)h(con)o(trol)f(structures)i(that) +e(can)f(p)q(erform)g(case)i(con)o(v)o(ersion,)0 1424 +y(conditional)j(selection,)i(iteration,)e(justi\014cation,)h(and)g +(non-lo)q(cal)f(exits.)25 b(Used)17 b(with)0 1476 y(restrain)o(t,)k +(they)e(can)h(p)q(erform)e(p)q(o)o(w)o(erful)h(tasks.)34 +b(Used)20 b(with)f(abandon,)h(they)g(can)0 1528 y(pro)q(duce)15 +b(completely)e(unreadable)h(and)g(unmain)o(tainable)d(co)q(de.)42 +1580 y(The)h(case-con)o(v)o(ersion,)i(conditional,)d(iteration,)h(and)g +(justi\014cation)g(constructs)j(can)0 1632 y(con)o(tain)j(other)h +(formatting)e(constructs)j(b)o(y)f(brac)o(k)o(eting)f(them.)32 +b(These)20 b(constructs)0 1684 y(m)o(ust)8 b(nest)j(prop)q(erly)f(with) +f(resp)q(ect)j(to)d(eac)o(h)h(other.)17 b(F)m(or)9 b(example,)g(it)g +(is)g(not)h(legitimate)0 1736 y(to)16 b(put)h(the)g(start)g(of)f(a)g +(case-con)o(v)o(ersion)h(construct)h(in)e(eac)o(h)h(arm)e(of)h(a)g +(conditional)0 1788 y(and)e(the)g(end)h(of)e(the)h(case-con)o(v)o +(ersion)h(construct)h(outside)e(the)h(conditional:)0 +1877 y Fs(\(format)20 b(nil)g(")280 1881 y Fn(~)303 1877 +y Fs(:[abc)411 1881 y Fn(~)433 1877 y Fs(:@\(def)563 +1881 y Fn(~)585 1877 y Fs(;ghi)671 1881 y Fn(~)694 1877 +y Fs(:@\(jkl)824 1881 y Fn(~)846 1877 y Fs(]mno)932 1881 +y Fn(~)954 1877 y Fs(\)")h(x\))105 b(;)p Fw(Illegal!)0 +1965 y(One)17 b(migh)o(t)d(exp)q(ect)k(this)e(to)h(pro)q(duce)g(either) +g Fs("abcDEFMNO")d Fw(or)i Fs("ghiJKLMNO")p Fw(,)e(de-)0 +2017 y(p)q(ending)i(on)g(whether)i Fs(x)e Fw(is)g(false)g(or)h(true;)h +(but)e(in)g(fact)g(the)h(construction)h(is)e(illegal)0 +2069 y(b)q(ecause)g(the)223 2073 y Fn(~)246 2069 y Fs([...)332 +2073 y Fn(~)355 2069 y Fs(;...)441 2073 y Fn(~)463 2069 +y Fs(])e Fw(and)577 2073 y Fn(~)600 2069 y Fs(\(...)686 +2073 y Fn(~)709 2069 y Fs(\))f Fw(constructs)j(are)f(not)e(prop)q(erly) +i(nested.)42 2121 y(The)9 b(pro)q(cessing)i(indirection)e(caused)i(b)o +(y)e(the)769 2125 y Fn(~)792 2121 y Fs(?)g Fw(directiv)o(e)h(is)g(also) +e(a)i(kind)f(of)f(nesting)0 2173 y(for)14 b(the)h(purp)q(oses)i(of)d +(this)g(rule)h(of)f(prop)q(er)i(nesting.)k(It)15 b(is)f(not)h(p)q +(ermitted)f(to)h(start)g(a)0 2225 y(brac)o(k)o(eting)e(construct)i +(within)d(a)h(string)g(pro)q(cessed)j(under)e(con)o(trol)f(of)f(a)1182 +2229 y Fn(~)1205 2225 y Fs(?)h Fw(directiv)o(e)0 2277 +y(and)20 b(end)h(the)g(construct)h(at)f(some)e(p)q(oin)o(t)h(after)h +(the)903 2281 y Fn(~)926 2277 y Fs(?)f Fw(construct)j(in)d(the)h +(string)0 2329 y(con)o(taining)12 b(that)h(construct,)h(or)f(vice)g(v)o +(ersa.)18 b(F)m(or)12 b(example,)g(this)g(situation)g(is)h(illegal:)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 650 674 +650 673 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(650)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(format)20 b(nil)g(")280 299 y Fn(~)303 +295 y Fs(?ghi)389 299 y Fn(~)412 295 y Fs(\)")g("abc)562 +299 y Fn(~)585 295 y Fs(@\(def"\))104 b(;)p Fw(Illegal!)0 +378 y(One)14 b(migh)o(t)e(exp)q(ect)j(it)f(to)f(pro)q(duce)i +Fs("abcDEFGHI")p Fw(,)c(but)j(in)f(fact)h(the)g(construction)h(is)0 +430 y(illegal)d(b)q(ecause)k(the)343 434 y Fn(~)366 430 +y Fs(?)e Fw(and)480 434 y Fn(~)504 430 y Fs(\(...)590 +434 y Fn(~)612 430 y Fs(\))g Fw(constructs)i(are)e(not)g(prop)q(erly)g +(nested.)-2 533 y Fn(~)21 529 y Fs(\()p Fv(str)90 533 +y Fn(~)112 529 y Fs(\))0 588 y Fv(Case)j(c)n(onversion)p +Fw(.)24 b(The)17 b(con)o(tained)f(con)o(trol)f(string)h +Fv(str)f Fw(is)h(pro)q(cessed,)j(and)c(what)h(it)0 640 +y(pro)q(duces)e(is)f(sub)r(ject)h(to)e(case)i(con)o(v)o(ersion:)708 +644 y Fn(~)731 640 y Fs(\()f Fw(con)o(v)o(erts)g(ev)o(ery)h(upp)q +(ercase)g(c)o(haracter)0 692 y(to)i(the)h(corresp)q(onding)h(lo)o(w)o +(ercase)f(c)o(haracter;)776 696 y Fn(~)799 692 y Fs(:\()f +Fw(capitalizes)h(all)e(w)o(ords,)i(as)f(if)g(b)o(y)0 +744 y Fs(string-capitalize)o Fw(;)400 748 y Fn(~)423 +744 y Fs(@\()h Fw(capitalizes)h(just)g(the)g(\014rst)h(w)o(ord)f(and)f +(forces)i(the)g(rest)0 795 y(to)f(lo)o(w)o(ercase;)253 +799 y Fn(~)276 795 y Fs(:@\()f Fw(con)o(v)o(erts)i(ev)o(ery)g(lo)o(w)o +(ercase)f(c)o(haracter)i(to)d(the)i(corresp)q(onding)0 +847 y(upp)q(ercase)i(c)o(haracter.)35 b(In)19 b(this)h(example,)733 +851 y Fn(~)756 847 y Fs(@\()f Fw(is)g(used)h(to)f(cause)h(the)g +(\014rst)g(w)o(ord)0 899 y(pro)q(duced)15 b(b)o(y)237 +903 y Fn(~)260 899 y Fs(@R)e Fw(to)h(b)q(e)h(capitalized:)0 +998 y Fs(\(format)20 b(nil)g(")280 1002 y Fn(~)303 998 +y Fs(@R)366 1002 y Fn(~)389 998 y Fs(\()409 1002 y Fn(~)432 +998 y Fs(@R)474 1002 y Fn(~)497 998 y Fs(\)")h(14)f(14\))h +Ft(\))g Fs("XIV)f(xiv")0 1050 y(\(defun)g(f)h(\(n\))f(\(format)g(nil)h +(")562 1054 y Fn(~)585 1050 y Fs(@\()627 1054 y Fn(~)649 +1050 y Fs(R)669 1054 y Fn(~)692 1050 y Fs(\))g(error)843 +1054 y Fn(~)865 1050 y Fs(:P)g(detected.")e(n\)\))0 1102 +y(\(f)i(0\))g Ft(\))f Fs("Zero)g(errors)g(detected.")0 +1154 y(\(f)h(1\))g Ft(\))f Fs("One)h(error)f(detected.")0 +1205 y(\(f)h(23\))f Ft(\))h Fs("Twenty-three)d(errors)i(detected.")-2 +1308 y Fn(~)21 1304 y Fs([)p Fv(str0)111 1308 y Fn(~)134 +1304 y Fs(;)p Fv(str1)224 1308 y Fn(~)246 1304 y Fs(;)p +Fv(...)305 1308 y Fn(~)327 1304 y Fs(;)p Fv(strn)419 +1308 y Fn(~)442 1304 y Fs(])0 1363 y Fv(Conditional)15 +b(expr)n(ession)p Fw(.)20 b(This)14 b(is)g(a)g(set)h(of)f(con)o(trol)g +(strings,)h(called)f Fv(clauses)p Fw(,)g(one)g(of)0 1415 +y(whic)o(h)f(is)h(c)o(hosen)g(and)f(used.)19 b(The)14 +b(clauses)g(are)g(separated)g(b)o(y)1016 1419 y Fn(~)1040 +1415 y Fs(;)f Fw(and)g(the)h(construct)0 1467 y(is)g(terminated)f(b)o +(y)309 1471 y Fn(~)333 1467 y Fs(])p Fw(.)18 b(F)m(or)13 +b(example,)0 1566 y Fs(")20 1570 y Fn(~)43 1566 y Fs([Siamese)217 +1570 y Fn(~)238 1566 y Fs(;Manx)346 1570 y Fn(~)369 1566 +y Fs(;Persian)543 1570 y Fn(~)564 1566 y Fs(])21 b(Cat")0 +1664 y Fw(The)c Fv(ar)n(g)p Fw(th)g(clause)g(is)g(selected,)i(where)f +(the)g(\014rst)f(clause)h(is)e(n)o(um)o(b)q(er)g(0.)27 +b(If)16 b(a)h(pre\014x)0 1716 y(parameter)f(is)f(giv)o(en)h(\(as)422 +1720 y Fn(~)445 1716 y Fv(n)p Fs([)p Fw(\),)g(then)h(the)g(parameter)e +(is)h(used)h(instead)f(of)f(an)h(argu-)0 1768 y(men)o(t.)g(\(This)11 +b(is)g(useful)g(only)f(if)g(the)h(parameter)g(is)g(sp)q(eci\014ed)h(b)o +(y)f Fs(#)1028 1764 y(-)1028 1772 y(-)1050 1768 y Fw(,)g(to)f(dispatc)o +(h)h(on)g(the)0 1820 y(n)o(um)o(b)q(er)i(of)g(argumen)o(ts)f(remaining) +g(to)h(b)q(e)h(pro)q(cessed.\))21 b(If)13 b Fv(ar)n(g)g +Fw(is)g(out)h(of)f(range,)g(then)0 1872 y(no)h(clause)g(is)g(selected)i +(\(and)d(no)h(error)h(is)f(signaled\).)j(After)e(the)f(selected)i +(alternativ)o(e)0 1924 y(has)e(b)q(een)h(pro)q(cessed,)h(the)e(con)o +(trol)g(string)g(con)o(tin)o(ues)g(after)g(the)1049 1928 +y Fn(~)1072 1924 y Fs(])p Fw(.)39 1980 y Fn(~)63 1976 +y Fs([)p Fv(str0)153 1980 y Fn(~)175 1976 y Fs(;)p Fv(str1)265 +1980 y Fn(~)288 1976 y Fs(;)p Fv(...)347 1980 y Fn(~)369 +1976 y Fs(;)p Fv(strn)461 1980 y Fn(~)483 1976 y Fs(:;)p +Fv(default)646 1980 y Fn(~)669 1976 y Fs(])h Fw(has)g(a)f(default)h +(case.)22 b(If)14 b(the)i Fv(last)1254 1980 y Fn(~)1277 +1976 y Fs(;)f Fw(used)0 2028 y(to)d(separate)i(clauses)f(is)388 +2032 y Fn(~)411 2028 y Fs(:;)f Fw(instead,)h(then)g(the)g(last)f +(clause)h(is)g(an)f(\\else")h(clause)g(that)0 2079 y(is)h(p)q(erformed) +f(if)g(no)h(other)h(clause)f(is)g(selected.)20 b(F)m(or)13 +b(example:)0 2178 y Fs(")20 2182 y Fn(~)43 2178 y Fs([Siamese)217 +2182 y Fn(~)238 2178 y Fs(;Manx)346 2182 y Fn(~)369 2178 +y Fs(;Persian)543 2182 y Fn(~)564 2178 y Fs(:;Alley)716 +2182 y Fn(~)738 2178 y Fs(])21 b(Cat")39 2281 y Fn(~)63 +2277 y Fs(:[)p Fv(false)186 2281 y Fn(~)208 2277 y Fs(;)p +Fv(true)301 2281 y Fn(~)324 2277 y Fs(])11 b Fw(selects)j(the)e +Fv(false)f Fw(con)o(trol)h(string)f(if)g Fv(ar)n(g)h +Fw(is)f Fs(nil)p Fw(,)g(and)h(selects)h(the)0 2329 y +Fv(true)h Fw(con)o(trol)f(string)h(otherwise.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 651 675 +651 674 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(651)39 299 y Fn(~)63 295 y Fs(@[)p Fv(true)178 299 +y Fn(~)200 295 y Fs(])17 b Fw(tests)h(the)f(argumen)o(t.)26 +b(If)17 b(it)f(is)h(not)g Fs(nil)p Fw(,)f(then)i(the)f(argumen)o(t)f +(is)h(not)0 347 y(used)g(up)f(b)o(y)g(the)290 351 y Fn(~)313 +347 y Fs(@[)g Fw(command)d(but)j(remains)f(as)h(the)h(next)f(one)g(to)g +(b)q(e)h(pro)q(cessed,)0 399 y(and)e(the)g(one)h(clause)f +Fv(true)g Fw(is)g(pro)q(cessed.)23 b(If)15 b(the)g Fv(ar)n(g)g +Fw(is)g Fs(nil)p Fw(,)f(then)h(the)h(argumen)o(t)e(is)0 +450 y(used)d(up,)g(and)f(the)h(clause)g(is)g(not)f(pro)q(cessed.)19 +b(The)11 b(clause)g(therefore)h(should)e(normally)0 502 +y(use)15 b(exactly)f(one)g(argumen)o(t,)e(and)i(ma)o(y)e(exp)q(ect)j +(it)f(to)f(b)q(e)i(non-)p Fs(nil)p Fw(.)i(F)m(or)d(example:)0 +602 y Fs(\(setq)20 b(*print-level*)f(nil)h(*print-length*)e(5\))0 +654 y(\(format)i(nil)g(")280 658 y Fn(~)303 654 y Fs(@[)h(print)f +(level)628 650 y(U)628 658 y(U)f Fn(~)692 654 y Fs(D)712 +658 y Fn(~)735 654 y Fs(])755 658 y Fn(~)778 654 y Fs(@[)i(print)f +(length)1125 650 y(U)1125 658 y(U)f Fn(~)1189 654 y Fs(D)1209 +658 y Fn(~)1232 654 y Fs(]")254 706 y(*print-level*)g(*print-length*\)) +64 758 y Ft(\))h Fs(")h(print)f(length)451 754 y(U)451 +762 y(U)494 758 y(5")42 858 y Fw(The)11 b(com)o(bination)e(of)400 +862 y Fn(~)423 858 y Fs([)i Fw(and)g Fs(#)534 854 y(-)534 +862 y(-)567 858 y Fw(is)g(useful,)h(for)e(example,)g(for)h(dealing)f +(with)h(English)0 910 y(con)o(v)o(en)o(tions)j(for)f(prin)o(ting)h +(lists:)0 1010 y Fs(\(setq)20 b(foo)h("Items:)369 1014 +y Fn(~)390 1010 y Fs(#)390 1006 y(-)390 1014 y(-)412 +1010 y([)g(none)541 1014 y Fn(~)564 1010 y Fs(;)604 1014 +y Fn(~)628 1010 y Fs(S)648 1014 y Fn(~)671 1010 y Fs(;)711 +1014 y Fn(~)735 1010 y Fs(S)g(and)862 1014 y Fn(~)885 +1010 y Fs(S)905 1014 y Fn(~)231 1065 y(~)254 1061 y Fs(:;)296 +1065 y Fn(~)319 1061 y Fs(@{)361 1065 y Fn(~)384 1061 +y Fs(#)384 1057 y(-)384 1065 y(-)405 1061 y([)425 1065 +y Fn(~)448 1061 y Fs(;)g(and)555 1065 y Fn(~)578 1061 +y Fs(])619 1065 y Fn(~)642 1061 y Fs(S)662 1065 y Fn(~)-5 +b(^)706 1061 y Fs(,)726 1065 y Fn(~)749 1061 y Fs(})769 +1065 y Fn(~)792 1061 y Fs(]."\))0 1113 y(\(format)20 +b(nil)g(foo\))169 1165 y Ft(\))h Fs("Items:)f(none.")0 +1217 y(\(format)g(nil)g(foo)345 1221 y Fn(')368 1217 +y Fs(foo\))169 1269 y Ft(\))h Fs("Items:)f(FOO.")0 1321 +y(\(format)g(nil)g(foo)345 1325 y Fn(')368 1321 y Fs(foo)452 +1325 y Fn(')476 1321 y Fs(bar\))169 1373 y Ft(\))h Fs("Items:)f(FOO)g +(and)h(BAR.")0 1425 y(\(format)f(nil)g(foo)345 1429 y +Fn(')368 1425 y Fs(foo)452 1429 y Fn(')476 1425 y Fs(bar)560 +1429 y Fn(')583 1425 y Fs(baz\))169 1477 y Ft(\))h Fs("Items:)f(FOO,)g +(BAR,)g(and)h(BAZ.")0 1528 y(\(format)f(nil)g(foo)345 +1532 y Fn(')368 1528 y Fs(foo)452 1532 y Fn(')476 1528 +y Fs(bar)560 1532 y Fn(')583 1528 y Fs(baz)668 1532 y +Fn(')691 1528 y Fs(quux\))169 1580 y Ft(\))h Fs("Items:)f(FOO,)g(BAR,)g +(BAZ,)h(and)f(QUUX.")-2 1684 y Fn(~)21 1680 y Fs(;)0 +1743 y Fw(This)14 b(separates)h(clauses)g(in)460 1747 +y Fn(~)484 1743 y Fs([)e Fw(and)598 1747 y Fn(~)621 1743 +y Fs(<)h Fw(constructions.)19 b(It)14 b(is)g(an)g(error)g(elsewhere.)-2 +1847 y Fn(~)21 1843 y Fs(])0 1906 y Fw(This)g(terminates)f(a)333 +1910 y Fn(~)356 1906 y Fs([)p Fw(.)18 b(It)c(is)g(an)f(error)i +(elsewhere.)-2 2010 y Fn(~)21 2006 y Fs({)p Fv(str)90 +2010 y Fn(~)112 2006 y Fs(})0 2069 y Fv(Iter)n(ation)p +Fw(.)h(This)11 b(is)g(an)f(iteration)h(construct.)18 +b(The)11 b(argumen)o(t)f(should)h(b)q(e)g(a)f(list,)h(whic)o(h)0 +2121 y(is)g(used)h(as)g(a)f(set)h(of)f(argumen)o(ts)g(as)g(if)g(for)g +(a)g(recursiv)o(e)i(call)d(to)h Fs(format)p Fw(.)16 b(The)c(string)g +Fv(str)0 2173 y Fw(is)k(used)g(rep)q(eatedly)h(as)f(the)h(con)o(trol)e +(string.)24 b(Eac)o(h)16 b(iteration)g(can)g(absorb)g(as)g(man)o(y)0 +2225 y(elemen)o(ts)f(of)f(the)h(list)g(as)g(it)f(lik)o(es)h(as)f +(argumen)o(ts;)h(if)f Fv(str)g Fw(uses)i(up)f(t)o(w)o(o)f(argumen)o(ts) +g(b)o(y)0 2277 y(itself,)d(then)h(t)o(w)o(o)f(elemen)o(ts)g(of)f(the)i +(list)f(will)f(get)h(used)h(up)f(eac)o(h)h(time)e(around)h(the)h(lo)q +(op.)0 2329 y(If)h(b)q(efore)h(an)o(y)e(iteration)h(step)h(the)g(list)e +(is)h(empt)o(y)m(,)f(then)h(the)h(iteration)f(is)g(terminated.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 652 676 +652 675 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(652)77 b(COMMON)13 +b(LISP)0 295 y Fw(Also,)f(if)g(a)h(pre\014x)g(parameter)g +Fv(n)g Fw(is)g(giv)o(en,)f(then)h(there)i(will)c(b)q(e)i(at)g(most)f +Fv(n)h Fw(rep)q(etitions)0 347 y(of)k(pro)q(cessing)h(of)f +Fv(str)p Fw(.)27 b(Finally)m(,)16 b(the)619 351 y Fn(~)-5 +b(^)681 347 y Fw(directiv)o(e)18 b(can)f(b)q(e)h(used)g(to)g(terminate) +e(the)0 399 y(iteration)d(prematurely)m(.)42 451 y(Here)i(are)f(some)f +(simple)f(examples:)0 556 y Fs(\(format)20 b(nil)169 +608 y("The)h(winners)e(are:)537 612 y Fn(~)560 608 y +Fs({)601 612 y Fn(~)624 608 y Fs(S)644 612 y Fn(~)667 +608 y Fs(}.")167 664 y Fn(')191 660 y Fs(\(fred)h(harry)g(jill\)\))106 +712 y Ft(\))h Fs("The)f(winners)g(are:)g(FRED)g(HARRY)g(JILL.")0 +816 y(\(format)g(nil)g("Pairs:)412 820 y Fn(~)434 816 +y Fs({)h(<)497 820 y Fn(~)520 816 y Fs(S,)562 820 y Fn(~)585 +816 y Fs(S>)627 820 y Fn(~)649 816 y Fs(}.")734 820 y +Fn(')757 816 y Fs(\(a)g(1)g(b)g(2)g(c)g(3\)\))106 867 +y Ft(\))g Fs("Pairs:)e()h()h(.")39 976 +y Fn(~)63 972 y Fs(:{)p Fv(str)154 976 y Fn(~)176 972 +y Fs(})14 b Fw(is)h(similar,)e(but)i(the)g(argumen)o(t)f(should)h(b)q +(e)h(a)e(list)h(of)f(sublists.)22 b(A)o(t)15 b(eac)o(h)0 +1024 y(rep)q(etition)f(step,)h(one)f(sublist)g(is)g(used)g(as)g(the)h +(set)g(of)e(argumen)o(ts)g(for)h(pro)q(cessing)h Fv(str)p +Fw(;)0 1076 y(on)i(the)g(next)g(rep)q(etition,)h(a)e(new)i(sublist)e +(is)h(used,)h(whether)g(or)f(not)g(all)e(of)i(the)g(last)0 +1128 y(sublist)d(had)g(b)q(een)h(pro)q(cessed.)20 b(Example:)0 +1233 y Fs(\(format)g(nil)g("Pairs:)412 1237 y Fn(~)434 +1233 y Fs(:{)h(<)519 1237 y Fn(~)542 1233 y Fs(S,)584 +1237 y Fn(~)606 1233 y Fs(S>)648 1237 y Fn(~)671 1233 +y Fs(}.")252 1289 y Fn(')275 1285 y Fs(\(\(a)g(1\))g(\(b)f(2\))h(\(c)g +(3\)\)\))106 1337 y Ft(\))g Fs("Pairs:)e()h()h(.")39 +1446 y Fn(~)63 1442 y Fs(@{)p Fv(str)154 1446 y Fn(~)176 +1442 y Fs(})c Fw(is)g(similar)d(to)451 1446 y Fn(~)474 +1442 y Fs({)p Fv(str)543 1446 y Fn(~)566 1442 y Fs(})p +Fw(,)j(but)g(instead)h(of)e(using)h(one)h(argumen)o(t)e(that)h(is)0 +1494 y(a)f(list,)f(all)f(the)j(remaining)d(argumen)o(ts)h(are)h(used)h +(as)f(the)g(list)f(of)h(argumen)o(ts)f(for)g(the)0 1546 +y(iteration.)j(Example:)0 1651 y Fs(\(format)i(nil)g("Pairs:)412 +1655 y Fn(~)434 1651 y Fs(@{)h(<)519 1655 y Fn(~)542 +1651 y Fs(S,)584 1655 y Fn(~)606 1651 y Fs(S>)648 1655 +y Fn(~)671 1651 y Fs(}.")252 1707 y Fn(')275 1703 y Fs(a)g(1)359 +1707 y Fn(')382 1703 y Fs(b)g(2)466 1707 y Fn(')489 1703 +y Fs(c)g(3\))106 1755 y Ft(\))g Fs("Pairs:)e()h()h(.")0 +1860 y Fw(If)9 b(the)h(iteration)f(is)g(terminated)g(b)q(efore)h(all)f +(the)h(remaining)d(argumen)o(ts)i(are)g(consumed,)0 1912 +y(then)k(an)o(y)g(argumen)o(ts)f(not)g(pro)q(cessed)j(b)o(y)e(the)g +(iteration)g(remain)e(to)i(b)q(e)g(pro)q(cessed)i(b)o(y)0 +1964 y(an)o(y)e(directiv)o(es)i(follo)o(wing)d(the)i(iteration)f +(construct.)39 2020 y Fn(~)63 2016 y Fs(:@{)p Fv(str)176 +2020 y Fn(~)197 2016 y Fs(})g Fw(com)o(bines)g(the)g(features)i(of)681 +2020 y Fn(~)704 2016 y Fs(:{)p Fv(str)795 2020 y Fn(~)818 +2016 y Fs(})d Fw(and)930 2020 y Fn(~)954 2016 y Fs(@{)p +Fv(str)1045 2020 y Fn(~)1067 2016 y Fs(})p Fw(.)17 b(All)c(the)g +(remain-)0 2068 y(ing)h(argumen)o(ts)g(are)i(used,)g(and)e(eac)o(h)i +(one)f(m)o(ust)f(b)q(e)i(a)e(list.)21 b(On)15 b(eac)o(h)h(iteration,)e +(the)0 2120 y(next)g(argumen)o(t)f(is)h(used)h(as)f(a)f(list)h(of)f +(argumen)o(ts)g(to)h Fv(str)p Fw(.)j(Example:)0 2225 +y Fs(\(format)j(nil)g("Pairs:)412 2229 y Fn(~)434 2225 +y Fs(:@{)h(<)541 2229 y Fn(~)564 2225 y Fs(S,)606 2229 +y Fn(~)628 2225 y Fs(S>)670 2229 y Fn(~)693 2225 y Fs(}.")252 +2281 y Fn(')275 2277 y Fs(\(a)g(1\))403 2281 y Fn(')426 +2277 y Fs(\(b)g(2\))553 2281 y Fn(')577 2277 y Fs(\(c)f(3\)\))106 +2329 y Ft(\))h Fs("Pairs:)e()h()h(.")-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 653 677 +653 676 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(653)42 295 y Fw(T)m(erminating)9 b(the)k(rep)q(etition)g(construct)h +(with)806 299 y Fn(~)830 295 y Fs(:})d Fw(instead)i(of)1070 +299 y Fn(~)1094 295 y Fs(})f Fw(forces)h Fv(str)e Fw(to)h(b)q(e)0 +347 y(pro)q(cessed)17 b(at)e(least)g(once,)h(ev)o(en)g(if)e(the)h +(initial)f(list)g(of)h(argumen)o(ts)f(is)h(n)o(ull)f(\(ho)o(w)o(ev)o +(er,)0 399 y(it)g(will)e(not)i(o)o(v)o(erride)g(an)g(explicit)f +(pre\014x)i(parameter)e(of)g(zero\).)42 451 y(If)e Fv(str)f +Fw(is)h(empt)o(y)m(,)f(then)i(an)g(argumen)o(t)e(is)h(used)h(as)g +Fv(str)p Fw(.)k(It)c(m)o(ust)e(b)q(e)i(a)f(string)h(and)f(pre-)0 +503 y(cede)k(an)o(y)e(argumen)o(ts)g(pro)q(cessed)i(b)o(y)f(the)g +(iteration.)j(As)d(an)f(example,)f(the)i(follo)o(wing)0 +555 y(are)g(equiv)n(alen)o(t:)0 667 y Fs(\(apply)20 b(#)152 +663 y(-)152 671 y(-)m Fn(')195 667 y Fs(format)g(stream)g(string)g +(arguments\))0 719 y(\(format)g(stream)g(")346 723 y +Fn(~)369 719 y Fs(1{)411 723 y Fn(~)433 719 y Fs(:}")h(string)f +(arguments\))0 830 y Fw(This)12 b(will)f(use)i Fs(string)e +Fw(as)h(a)g(formatting)e(string.)18 b(The)885 834 y Fn(~)909 +830 y Fs(1{)11 b Fw(sa)o(ys)i(it)f(will)f(b)q(e)h(pro)q(cessed)0 +882 y(at)g(most)g(once,)h(and)f(the)402 886 y Fn(~)425 +882 y Fs(:})g Fw(sa)o(ys)h(it)f(will)f(b)q(e)i(pro)q(cessed)i(at)d +(least)h(once.)18 b(Therefore)c(it)0 934 y(is)g(pro)q(cessed)i(exactly) +e(once,)g(using)f Fs(arguments)f Fw(as)i(the)h(argumen)o(ts.)i(This)d +(case)h(ma)o(y)0 986 y(b)q(e)g(handled)f(more)g(clearly)g(b)o(y)g(the) +580 990 y Fn(~)603 986 y Fs(?)g Fw(directiv)o(e,)h(but)g(this)f +(general)h(feature)g(of)1307 990 y Fn(~)1331 986 y Fs({)f +Fw(is)0 1038 y(more)f(p)q(o)o(w)o(erful)g(than)367 1042 +y Fn(~)390 1038 y Fs(?)p Fw(.)-2 1152 y Fn(~)21 1148 +y Fs(})0 1212 y Fw(This)h(terminates)f(a)333 1216 y Fn(~)356 +1212 y Fs({)p Fw(.)18 b(It)c(is)g(an)f(error)i(elsewhere.)-2 +1326 y Fn(~)21 1322 y Fv(minc)n(ol)p Fs(,)p Fv(c)n(olinc)p +Fs(,)p Fv(minp)n(ad)p Fs(,)p Fv(p)n(adchar)p Fs(<)p Fv(str)650 +1326 y Fn(~)673 1322 y Fs(>)0 1386 y Fv(Justi\014c)n(ation)p +Fw(.)j(This)c(justi\014es)g(the)h(text)f(pro)q(duced)h(b)o(y)f(pro)q +(cessing)h Fv(str)e Fw(within)g(a)h(\014eld)0 1437 y(at)h(least)g +Fv(minc)n(ol)f Fw(columns)g(wide.)21 b Fv(str)14 b Fw(ma)o(y)f(b)q(e)i +(divided)g(up)g(in)o(to)f(segmen)o(ts)h(with)1338 1441 +y Fn(~)1361 1437 y Fs(;)p Fw(,)0 1489 y(in)e(whic)o(h)h(case)h(the)g +(spacing)e(is)h(ev)o(enly)g(divided)g(b)q(et)o(w)o(een)h(the)f(text)h +(segmen)o(ts.)42 1542 y(With)9 b(no)h(mo)q(di\014ers,)g(the)h(leftmost) +e(text)h(segmen)o(t)g(is)g(left-justi\014ed)h(in)e(the)i(\014eld,)g +(and)0 1594 y(the)17 b(righ)o(tmost)e(text)h(segmen)o(t)g(righ)o +(t-justi\014ed;)h(if)e(there)j(is)e(only)f(one)i(text)g(elemen)o(t,)0 +1646 y(as)h(a)g(sp)q(ecial)g(case,)i(it)e(is)g(righ)o(t-justi\014ed.)30 +b(The)19 b Fs(:)f Fw(mo)q(di\014er)f(causes)i(spacing)f(to)g(b)q(e)0 +1698 y(in)o(tro)q(duced)d(b)q(efore)h(the)f(\014rst)g(text)g(segmen)o +(t;)f(the)i Fs(@)e Fw(mo)q(di\014er)f(causes)j(spacing)f(to)f(b)q(e)0 +1750 y(added)e(after)h(the)f(last.)17 b(The)c Fv(minp)n(ad)g +Fw(parameter)e(\(default)h Fs(0)p Fw(\))g(is)g(the)h(minim)n(um)7 +b(n)o(um-)0 1802 y(b)q(er)16 b(of)e(padding)g(c)o(haracters)j(to)e(b)q +(e)g(output)g(b)q(et)o(w)o(een)i(eac)o(h)e(segmen)o(t.)21 +b(The)15 b(padding)0 1854 y(c)o(haracter)e(is)f(sp)q(eci\014ed)h(b)o(y) +f Fv(p)n(adchar)p Fw(,)g(whic)o(h)f(defaults)h(to)g(the)g(space)h(c)o +(haracter.)19 b(If)11 b(the)0 1905 y(total)f(width)h(needed)h(to)f +(satisfy)g(these)h(constrain)o(ts)g(is)f(greater)h(than)f +Fv(minc)n(ol)p Fw(,)f(then)i(the)0 1957 y(width)j(used)h(is)g +Fv(minc)n(ol)p Fw(+)p Fv(k)p Fw(*)p Fv(c)n(olinc)f Fw(for)g(the)h +(smallest)e(p)q(ossible)h(non-negativ)o(e)g(in)o(teger)0 +2009 y(v)n(alue)e Fv(k)p Fw(;)h Fv(c)n(olinc)f Fw(defaults)h(to)g +Fs(1)p Fw(,)f(and)h Fv(minc)n(ol)g Fw(defaults)g(to)f +Fs(0)p Fw(.)0 2121 y Fs(\(format)20 b(nil)g(")280 2125 +y Fn(~)303 2121 y Fs(10"\))211 b Ft(\))20 +b Fs("foo)84 b(bar")0 2173 y(\(format)20 b(nil)g(")280 +2177 y Fn(~)303 2173 y Fs(10:"\))190 +b Ft(\))21 b Fs(")42 b(foo)g(bar")0 2225 y(\(format)20 +b(nil)g(")280 2229 y Fn(~)303 2225 y Fs(10:@"\))169 b Ft(\))21 b Fs(")42 b(foo)20 b(bar)h(")0 +2277 y(\(format)f(nil)g(")280 2281 y Fn(~)303 2277 y +Fs(10"\))253 b +Ft(\))21 b Fs(")84 b(foobar")0 2329 y(\(format)20 b(nil)g(")280 +2333 y Fn(~)303 2329 y Fs(10:"\))233 b Ft(\))20 b Fs(")85 b(foobar")-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 654 678 +654 677 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(654)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(format)20 b(nil)g(")280 299 y Fn(~)303 +295 y Fs(10@"\))233 +b Ft(\))20 b Fs("foobar)84 b(")0 347 y(\(format)20 b(nil)g(")280 +351 y Fn(~)303 347 y Fs(10:@"\))211 b Ft(\))21 b Fs(")42 b(foobar)f(")42 +442 y Fw(Note)19 b(that)h Fv(str)f Fw(ma)o(y)e(include)j +Fs(format)e Fw(directiv)o(es.)36 b(All)18 b(the)i(clauses)h(in)e +Fv(str)f Fw(are)0 494 y(pro)q(cessed)e(in)e(order;)g(it)f(is)h(the)h +(resulting)f(pieces)h(of)e(text)h(that)g(are)h(justi\014ed.)42 +545 y(The)127 549 y Fn(~)l(^)188 545 y Fw(directiv)o(e)j(ma)o(y)c(b)q +(e)k(used)f(to)g(terminate)f(pro)q(cessing)h(of)f(the)i(clauses)f(pre-) +0 597 y(maturely)m(,)12 b(in)h(whic)o(h)h(case)h(only)e(the)h +(completely)f(pro)q(cessed)j(clauses)f(are)f(justi\014ed.)42 +649 y(If)c(the)h(\014rst)h(clause)f(of)g(a)424 653 y +Fn(~)447 649 y Fs(<)g Fw(is)g(terminated)f(with)817 653 +y Fn(~)841 649 y Fs(:;)g Fw(instead)h(of)1077 653 y Fn(~)1100 +649 y Fs(;)p Fw(,)g(then)h(it)e(is)h(used)0 701 y(in)k(a)h(sp)q(ecial)g +(w)o(a)o(y)m(.)23 b(All)15 b(of)g(the)h(clauses)h(are)f(pro)q(cessed)i +(\(sub)r(ject)g(to)1132 705 y Fn(~)-5 b(^)1177 701 y +Fw(,)16 b(of)f(course\),)0 753 y(but)h(the)h(\014rst)g(one)f(is)g(not)g +(used)g(in)g(p)q(erforming)f(the)h(spacing)g(and)g(padding.)24 +b(When)0 805 y(the)13 b(padded)f(result)h(has)f(b)q(een)h(determined,)f +(then)g(if)f(it)h(will)e(\014t)i(on)g(the)g(curren)o(t)i(line)d(of)0 +857 y(output,)h(it)h(is)f(output,)g(and)h(the)g(text)g(for)f(the)h +(\014rst)g(clause)g(is)f(discarded.)19 b(If,)12 b(ho)o(w)o(ev)o(er,)0 +909 y(the)i(padded)f(text)h(will)e(not)h(\014t)g(on)g(the)g(curren)o(t) +i(line,)d(then)i(the)g(text)g(segmen)o(t)e(for)h(the)0 +960 y(\014rst)f(clause)h(is)e(output)h(b)q(efore)g(the)g(padded)g +(text.)18 b(The)12 b(\014rst)g(clause)h(ough)o(t)e(to)g(con)o(tain)0 +1012 y(a)k(newline)h(\(suc)o(h)g(as)g(a)386 1016 y Fn(~)409 +1012 y Fs(\045)f Fw(directiv)o(e\).)24 b(The)16 b(\014rst)g(clause)g +(is)g(alw)o(a)o(ys)e(pro)q(cessed,)k(and)0 1064 y(so)c(an)o(y)g +(argumen)o(ts)g(it)g(refers)i(to)e(will)f(b)q(e)i(used;)g(the)g +(decision)g(is)f(whether)i(to)e(use)h(the)0 1116 y(resulting)g(segmen)o +(t)g(of)f(text,)h(not)g(whether)h(to)f(pro)q(cess)i(the)e(\014rst)h +(clause.)22 b(If)14 b(the)1328 1120 y Fn(~)1351 1116 +y Fs(:;)0 1168 y Fw(has)i(a)g(pre\014x)h(parameter)e +Fv(n)p Fw(,)i(then)f(the)h(padded)f(text)h(m)o(ust)e(\014t)h(on)g(the)h +(curren)o(t)g(line)0 1220 y(with)c Fv(n)g Fw(c)o(haracter)h(p)q +(ositions)f(to)f(spare)i(to)f(a)o(v)o(oid)e(outputting)i(the)h(\014rst) +f(clause's)h(text.)0 1272 y(F)m(or)f(example,)g(the)h(con)o(trol)g +(string)0 1367 y Fs(")20 1371 y Fn(~)43 1367 y Fs(\045;;)127 +1371 y Fn(~)151 1367 y Fs({)171 1371 y Fn(~)194 1367 +y Fs(<)214 1371 y Fn(~)237 1367 y Fs(\045;;)321 1371 +y Fn(~)344 1367 y Fs(1:;)429 1371 y Fn(~)452 1367 y Fs(S)472 +1371 y Fn(~)495 1367 y Fs(>)515 1371 y Fn(~)-5 b(^)559 +1367 y Fs(,)579 1371 y Fn(~)602 1367 y Fs(}.)644 1371 +y Fn(~)667 1367 y Fs(\045")0 1462 y Fw(can)17 b(b)q(e)g(used)h(to)f +(prin)o(t)f(a)h(list)f(of)g(items)g(separated)i(b)o(y)e(commas)f +(without)h(breaking)0 1514 y(items)9 b(o)o(v)o(er)g(line)g(b)q +(oundaries,)h(b)q(eginning)f(eac)o(h)h(line)f(with)h +Fs(;;)20 b Fw(.)d(The)10 b(pre\014x)g(parameter)0 1566 +y Fs(1)15 b Fw(in)85 1570 y Fn(~)108 1566 y Fs(1:;)g +Fw(accoun)o(ts)h(for)g(the)g(width)f(of)g(the)h(comma)c(that)k(will)e +(follo)o(w)f(the)j(justi\014ed)0 1617 y(item)i(if)g(it)h(is)g(not)g +(the)g(last)g(elemen)o(t)g(in)f(the)i(list,)g(or)f(the)g(p)q(erio)q(d)h +(if)e(it)h(is.)33 b(If)1328 1621 y Fn(~)1351 1617 y Fs(:;)0 +1669 y Fw(has)16 b(a)f(second)i(pre\014x)f(parameter,)f(then)i(it)e(is) +g(used)i(as)e(the)i(width)e(of)g(the)h(line,)f(th)o(us)0 +1721 y(o)o(v)o(erriding)10 b(the)h(natural)g(line)f(width)h(of)f(the)h +(output)g(stream.)17 b(T)m(o)10 b(mak)o(e)f(the)j(preceding)0 +1773 y(example)h(use)h(a)g(line)f(width)h(of)f(50,)g(one)h(w)o(ould)f +(write)0 1868 y Fs(")20 1872 y Fn(~)43 1868 y Fs(\045;;)127 +1872 y Fn(~)151 1868 y Fs({)171 1872 y Fn(~)194 1868 +y Fs(<)214 1872 y Fn(~)237 1868 y Fs(\045;;)321 1872 +y Fn(~)344 1868 y Fs(1,50:;)494 1872 y Fn(~)517 1868 +y Fs(S)537 1872 y Fn(~)560 1868 y Fs(>)580 1872 y Fn(~)-5 +b(^)625 1868 y Fs(,)645 1872 y Fn(~)667 1868 y Fs(}.)709 +1872 y Fn(~)732 1868 y Fs(\045")42 1963 y Fw(If)13 b(the)h(second)h +(argumen)o(t)e(is)g(not)h(sp)q(eci\014ed,)h(then)f Fs(format)e +Fw(uses)j(the)g(line)e(width)g(of)0 2015 y(the)d(output)h(stream.)16 +b(If)9 b(this)h(cannot)g(b)q(e)h(determined)f(\(for)f(example,)g(when)i +(pro)q(ducing)0 2067 y(a)j(string)g(result\),)g(then)g +Fs(format)f Fw(uses)i Fs(72)f Fw(as)g(the)g(line)f(length.)-2 +2166 y Fn(~)21 2162 y Fs(>)0 2225 y Fw(T)m(erminates)g(a)248 +2229 y Fn(~)272 2225 y Fs(<)p Fw(.)18 b(It)13 b(is)h(an)g(error)h +(elsewhere.)42 2277 y(X3J13)g(v)o(oted)g(in)g(June)i(1989)d +Ft(h)p Fw(139)p Ft(i)h Fw(to)h(in)o(tro)q(duce)g(certain)g +Fs(format)e Fw(directiv)o(es)j(to)-33 2249 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a(supp)q(ort)g(the)f(user)h(in)o(terface)g(to)e +(the)i(prett)o(y)f(prin)o(ter.)25 b(If)943 2333 y Fn(~)967 +2329 y Fs(:>)15 b Fw(is)h(used)h(to)e(terminate)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 655 679 +655 678 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(655)0 295 y Fw(a)35 299 y Fn(~)59 295 y Fs(<...)16 +b Fw(directiv)o(e,)h(the)h(directiv)o(e)f(is)g(equiv)n(alen)o(t)f(to)h +(a)f(call)g(on)h Fs(pprint-logical-)0 347 y(block)p Fw(.)g(See)e +(section)f(27.4)f(for)h(details.)-33 358 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial -2 455 a Fn(~)-5 b(^)0 510 y Fv(Up)19 b(and)g(out)p +Fw(.)31 b(This)18 b(is)g(an)f(escap)q(e)j(construct.)32 +b(If)18 b(there)h(are)g(no)e(more)g(argumen)o(ts)0 562 +y(remaining)10 b(to)i(b)q(e)h(pro)q(cessed,)i(then)e(the)g(imm)o +(ediately)c(enclosing)1064 566 y Fn(~)1088 562 y Fs({)j +Fw(or)1169 566 y Fn(~)1192 562 y Fs(<)g Fw(construct)0 +614 y(is)h(terminated.)k(If)c(there)i(is)e(no)h(suc)o(h)g(enclosing)f +(construct,)i(then)f(the)g(en)o(tire)g(format-)0 666 +y(ting)e(op)q(eration)f(is)h(terminated.)17 b(In)12 b(the)653 +670 y Fn(~)676 666 y Fs(<)g Fw(case,)h(the)f(formatting)e +Fv(is)i Fw(p)q(erformed,)g(but)0 718 y(no)h(more)e(segmen)o(ts)i(are)g +(pro)q(cessed)j(b)q(efore)d(doing)f(the)h(justi\014cation.)18 +b(The)1220 722 y Fn(~)-5 b(^)1277 718 y Fw(should)0 769 +y(app)q(ear)12 b(only)f(at)h(the)g Fv(b)n(e)n(ginning)g +Fw(of)f(a)596 773 y Fn(~)620 769 y Fs(<)g Fw(clause,)i(b)q(ecause)g(it) +e(ab)q(orts)h(the)h(en)o(tire)f(clause)0 821 y(it)i(app)q(ears)h(in)f +(\(as)h(w)o(ell)e(as)i(all)e(follo)o(wing)f(clauses\).)853 +825 y Fn(~)-5 b(^)912 821 y Fw(ma)o(y)12 b(app)q(ear)j(an)o(ywhere)g +(in)f(a)-2 877 y Fn(~)21 873 y Fs({)g Fw(construct.)0 +978 y Fs(\(setq)20 b(donestr)g("Done.)434 982 y Fn(~)-6 +b(^)16 b(~)519 978 y Fs(D)21 b(warning)714 982 y Fn(~)736 +978 y Fs(:P.)800 982 y Fn(~)-6 b(^)17 b(~)886 978 y Fs(D)k(error)1037 +982 y Fn(~)1059 978 y Fs(:P."\))0 1030 y(\(format)f(nil)g(donestr\))g +Ft(\))g Fs("Done.")0 1082 y(\(format)g(nil)g(donestr)g(3\))h +Ft(\))f Fs("Done.)g(3)h(warnings.")0 1134 y(\(format)f(nil)g(donestr)g +(1)h(5\))g Ft(\))f Fs("Done.)g(1)h(warning.)f(5)h(errors.")42 +1238 y Fw(If)14 b(a)h(pre\014x)h(parameter)f(is)g(giv)o(en,)f(then)i +(termination)d(o)q(ccurs)k(if)d(the)i(parameter)f(is)0 +1290 y(zero.)j(\(Hence)236 1294 y Fn(~)-5 b(^)290 1290 +y Fw(is)10 b(equiv)n(alen)o(t)f(to)566 1294 y Fn(~)589 +1290 y Fs(#)589 1286 y(-)589 1294 y(-)n Fn(^)632 1290 +y Fw(.\))17 b(If)10 b(t)o(w)o(o)f(parameters)h(are)h(giv)o(en,)e +(termination)0 1342 y(o)q(ccurs)16 b(if)e(they)h(are)g(equal.)k(If)c +(three)g(parameters)g(are)g(giv)o(en,)f(termination)f(o)q(ccurs)j(if)0 +1394 y(the)j(\014rst)g(is)f(less)g(than)g(or)g(equal)g(to)g(the)h +(second)g(and)f(the)h(second)g(is)f(less)h(than)f(or)0 +1446 y(equal)e(to)f(the)i(third.)24 b(Of)16 b(course,)i(this)e(is)g +(useless)h(if)e(all)g(the)i(pre\014x)f(parameters)g(are)0 +1498 y(constan)o(ts;)e(at)g(least)g(one)g(of)g(them)f(should)g(b)q(e)i +(a)e Fs(#)795 1494 y(-)795 1502 y(-)831 1498 y Fw(or)h(a)f +Fs(V)h Fw(parameter.)42 1550 y(If)81 1554 y Fn(~)-5 b(^)140 +1550 y Fw(is)14 b(used)h(within)e(a)439 1554 y Fn(~)462 +1550 y Fs(:{)h Fw(construct,)i(then)e(it)g(merely)g(terminates)f(the)i +(curren)o(t)0 1602 y(iteration)f(step)h(\(b)q(ecause)h(in)e(the)g +(standard)h(case)g(it)f(tests)i(for)d(remaining)f(argumen)o(ts)0 +1654 y(of)g(the)i(curren)o(t)g(step)g(only\);)e(the)i(next)f(iteration) +g(step)h(commences)e(imm)o(ediately)m(.)i(T)m(o)0 1705 +y(terminate)f(the)i(en)o(tire)f(iteration)g(pro)q(cess,)h(use)771 +1709 y Fn(~)795 1705 y Fs(:)815 1709 y Fn(^)838 1705 +y Fw(.)42 1758 y(X3J13)g(v)o(oted)g(in)g(Marc)o(h)h(1988)f +Ft(h)p Fw(81)p Ft(i)g Fw(to)g(clarify)g(the)h(b)q(eha)o(vior)f(of)1126 +1762 y Fn(~)1150 1758 y Fs(:)1170 1762 y Fn(^)1208 1758 +y Fw(as)h(follo)o(ws.)-33 1729 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1810 a(It)e(ma)o(y)f(b)q(e)i(used)g(only)f(if)f(the)i +(command)d(it)i(w)o(ould)f(terminate)h(is)1073 1814 y +Fn(~)1096 1810 y Fs(:{)g Fw(or)1203 1814 y Fn(~)1227 +1810 y Fs(:@{)p Fw(.)k(The)0 1861 y(en)o(tire)11 b(iteration)f(pro)q +(cess)i(is)e(terminated)g(if)f(and)i(only)e(if)h(the)h(sublist)f(that)g +(is)g(supplying)0 1913 y(the)15 b(argumen)o(ts)e(for)h(the)h(curren)o +(t)h(iteration)d(step)i(is)g(the)f(last)g(sublist)g(\(in)g(the)h(case)g +(of)0 1965 y(terminating)d(a)259 1969 y Fn(~)282 1965 +y Fs(:{)h Fw(command\))f(or)i(the)g(last)g(argumen)o(t)f(to)g(that)h +(call)g(to)f Fs(format)g Fw(\(in)0 2017 y(the)h(case)g(of)f +(terminating)e(a)462 2021 y Fn(~)485 2017 y Fs(:@{)i +Fw(command\).)i(Note)f(furthermore)f(that)h(while)1309 +2021 y Fn(~)-5 b(^)1367 2017 y Fw(is)0 2069 y(equiv)n(alen)o(t)14 +b(to)247 2073 y Fn(~)270 2069 y Fs(#)270 2065 y(-)270 +2073 y(-)n Fn(^)327 2069 y Fw(in)g(all)f(circumstances,)710 +2073 y Fn(~)734 2069 y Fs(:)754 2073 y Fn(^)791 2069 +y Fw(is)h Fv(not)h Fw(equiv)n(alen)o(t)f(to)1153 2073 +y Fn(~)1176 2069 y Fs(:#)1198 2065 y(-)1198 2073 y(-)m +Fn(^)1255 2069 y Fw(b)q(ecause)0 2121 y(the)i(latter)f(terminates)g +(the)h(en)o(tire)g(iteration)f(if)f(and)h(only)f(if)h(no)g(argumen)o +(ts)f(remain)0 2173 y(for)g Fv(the)i(curr)n(ent)f(iter)n(ation)g(step)g +Fw(\(as)g(opp)q(osed)h(to)e(no)h(argumen)o(ts)f(remaining)f(for)h(the)0 +2225 y(en)o(tire)h(iteration)e(pro)q(cess\).)42 2277 +y(Here)i(are)g(some)e(examples)g(of)h(the)h(di\013erences)h(in)e(the)h +(b)q(eha)o(viors)f(of)1168 2281 y Fn(~)-5 b(^)1212 2277 +y Fw(,)1236 2281 y Fn(~)1259 2277 y Fs(:)1279 2281 y +Fn(^)1302 2277 y Fw(,)14 b(and)-2 2333 y Fn(~)21 2329 +y Fs(:#)43 2325 y(-)43 2333 y(-)n Fn(^)86 2329 y Fw(.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 656 680 +656 679 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(656)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(format)20 b(nil)169 347 y(")189 351 +y Fn(~)212 347 y Fs(:{/)276 351 y Fn(~)299 347 y Fs(S)319 +351 y Fn(~)-5 b(^)384 347 y Fs(...)448 351 y Fn(~)471 +347 y Fs(}")167 403 y Fn(')191 399 y Fs(\(\(hot)20 b(dog\))g +(\(hamburger\))f(\(ice)h(cream\))g(\(french)g(fries\)\)\))21 +450 y Ft(\))h Fs("/HOT)f(.../HAMBURGER/ICE)e(.../FRENCH)h(...")0 +549 y Fw(F)m(or)c(eac)o(h)g(sublist,)g(\\)21 b Fs(...)p +Fw(")14 b(app)q(ears)i(after)g(the)f(\014rst)h(w)o(ord)f(unless)h +(there)h(are)e(no)g(ad-)0 601 y(ditional)d(w)o(ords.)0 +699 y Fs(\(format)20 b(nil)169 751 y(")189 755 y Fn(~)212 +751 y Fs(:{/)276 755 y Fn(~)299 751 y Fs(S)319 755 y +Fn(~)342 751 y Fs(:)362 755 y Fn(^)406 751 y Fs(...)470 +755 y Fn(~)493 751 y Fs(}")167 807 y Fn(')191 803 y Fs(\(\(hot)g(dog\)) +g(\(hamburger\))f(\(ice)h(cream\))g(\(french)g(fries\)\)\))21 +855 y Ft(\))h Fs("/HOT)f(.../HAMBURGER)e(.../ICE)i(.../FRENCH")0 +954 y Fw(F)m(or)15 b(eac)o(h)h(sublist,)g(\\)21 b Fs(...)p +Fw(")14 b(alw)o(a)o(ys)h(app)q(ears)h(after)g(the)g(\014rst)g(w)o(ord,) +f(unless)i(it)e(is)g(the)0 1006 y(last)f(sublist,)f(in)h(whic)o(h)f +(case)i(the)g(en)o(tire)f(iteration)g(is)f(terminated.)0 +1104 y Fs(\(format)20 b(nil)169 1156 y(")189 1160 y Fn(~)212 +1156 y Fs(:{/)276 1160 y Fn(~)299 1156 y Fs(S)319 1160 +y Fn(~)342 1156 y Fs(:#)364 1152 y(-)364 1160 y(-)m Fn(^)428 +1156 y Fs(...)492 1160 y Fn(~)514 1156 y Fs(}")167 1212 +y Fn(')191 1208 y Fs(\(\(hot)g(dog\))g(\(hamburger\))f(\(ice)h(cream\)) +g(\(french)g(fries\)\)\))21 1260 y Ft(\))h Fs("/HOT)f(.../HAMBURGER")0 +1358 y Fw(F)m(or)c(eac)o(h)i(sublist,)f(\\)k Fs(...)p +Fw(")16 b(app)q(ears)i(after)f(the)g(\014rst)h(w)o(ord,)f(but)g(if)f +(the)i(sublist)f(has)0 1410 y(only)c(one)h(w)o(ord)g(then)g(the)h(en)o +(tire)g(iteration)e(is)h(terminated.)-33 1422 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1462 a(If)82 1466 y Fn(~)l(^)143 1462 +y Fw(app)q(ears)i(within)f(a)g(con)o(trol)g(string)h(b)q(eing)g(pro)q +(cessed)h(under)g(the)f(con)o(trol)f(of)0 1514 y(a)32 +1518 y Fn(~)55 1514 y Fs(?)e Fw(directiv)o(e,)g(but)h(not)f(within)f +(an)o(y)621 1518 y Fn(~)645 1514 y Fs({)h Fw(or)728 1518 +y Fn(~)751 1514 y Fs(<)g Fw(construct)i(within)d(that)h(string,)g(then) +0 1566 y(the)18 b(string)f(b)q(eing)f(pro)q(cessed)k(will)15 +b(b)q(e)j(terminated,)e(thereb)o(y)i(ending)f(pro)q(cessing)h(of)0 +1618 y(the)71 1622 y Fn(~)94 1618 y Fs(?)e Fw(directiv)o(e.)24 +b(Pro)q(cessing)17 b(then)f(con)o(tin)o(ues)h(within)d(the)j(string)f +(con)o(taining)e(the)-2 1674 y Fn(~)21 1670 y Fs(?)g +Fw(directiv)o(e)g(at)g(the)g(p)q(oin)o(t)g(follo)o(wing)d(that)j +(directiv)o(e.)42 1722 y(If)85 1726 y Fn(~)-5 b(^)147 +1722 y Fw(app)q(ears)18 b(within)f(a)473 1726 y Fn(~)497 +1722 y Fs([)g Fw(or)588 1726 y Fn(~)612 1722 y Fs(\()g +Fw(construct,)j(then)e(all)f(the)h(commands)d(up)j(to)0 +1774 y(the)75 1778 y Fn(~)l(^)140 1774 y Fw(are)i(prop)q(erly)h +(selected)g(or)f(case-con)o(v)o(erted,)j(the)976 1778 +y Fn(~)999 1774 y Fs([)d Fw(or)1096 1778 y Fn(~)1119 +1774 y Fs(\()g Fw(pro)q(cessing)h(is)0 1825 y(terminated,)14 +b(and)g(the)i(out)o(w)o(ard)e(searc)o(h)i(con)o(tin)o(ues)f(for)f(a)948 +1829 y Fn(~)972 1825 y Fs({)g Fw(or)1057 1829 y Fn(~)1081 +1825 y Fs(<)g Fw(construct)j(to)d(b)q(e)0 1877 y(terminated.)j(F)m(or)d +(example:)0 1976 y Fs(\(setq)20 b(tellstr)g(")324 1980 +y Fn(~)347 1976 y Fs(@\()389 1980 y Fn(~)412 1976 y Fs(@[)454 +1980 y Fn(~)476 1976 y Fs(R)496 1980 y Fn(~)519 1976 +y Fs(])539 1980 y Fn(~)-5 b(^)16 b(~)626 1976 y Fs(A.)668 +1980 y Fn(~)691 1976 y Fs(\)"\))0 2028 y(\(format)k(nil)g(tellstr)g +(23\))h Ft(\))f Fs("Twenty-three.")0 2080 y(\(format)g(nil)g(tellstr)g +(nil)h("losers"\))e Ft(\))i Fs("Losers.")0 2132 y(\(format)f(nil)g +(tellstr)g(23)h("losers"\))e Ft(\))i Fs("Twenty-three)d(losers.")42 +2230 y Fw(Here)d(are)f(some)f(examples)g(of)g(the)i(use)f(of)727 +2234 y Fn(~)l(^)786 2230 y Fw(within)f(a)947 2234 y Fn(~)971 +2230 y Fs(<)g Fw(construct.)0 2329 y Fs(\(format)20 b(nil)g(")280 +2333 y Fn(~)303 2329 y Fs(15<)367 2333 y Fn(~)390 2329 +y Fs(S)410 2333 y Fn(~)433 2329 y Fs(;)453 2333 y Fn(~)-6 +b(^)l(~)518 2329 y Fs(S)538 2333 y Fn(~)561 2329 y Fs(;)581 +2333 y Fn(~)h(^)g(~)646 2329 y Fs(S)666 2333 y Fn(~)689 +2329 y Fs(>")752 2333 y Fn(')775 2329 y Fs(foo\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 657 681 +657 680 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(657)169 295 y Ft(\))21 b Fs(")254 b(FOO")0 347 y(\(format)20 +b(nil)g(")280 351 y Fn(~)303 347 y Fs(15<)367 351 y Fn(~)390 +347 y Fs(S)410 351 y Fn(~)433 347 y Fs(;)453 351 y Fn(~)-6 +b(^)l(~)518 347 y Fs(S)538 351 y Fn(~)561 347 y Fs(;)581 +351 y Fn(~)h(^)g(~)646 347 y Fs(S)666 351 y Fn(~)689 +347 y Fs(>")752 351 y Fn(')775 347 y Fs(foo)860 351 y +Fn(')883 347 y Fs(bar\))169 399 y Ft(\))21 b Fs("FOO)190 +b(BAR")0 450 y(\(format)20 b(nil)g(")280 454 y Fn(~)303 +450 y Fs(15<)367 454 y Fn(~)390 450 y Fs(S)410 454 y +Fn(~)433 450 y Fs(;)453 454 y Fn(~)-6 b(^)l(~)518 450 +y Fs(S)538 454 y Fn(~)561 450 y Fs(;)581 454 y Fn(~)h(^)g(~)646 +450 y Fs(S)666 454 y Fn(~)689 450 y Fs(>")752 454 y Fn(')775 +450 y Fs(foo)860 454 y Fn(')883 450 y Fs(bar)967 454 +y Fn(')991 450 y Fs(baz\))169 502 y Ft(\))21 b Fs("FOO)63 +b(BAR)g(BAZ")p 0 562 V 0 636 a Fm(Compatibilit)o(y)11 +b(note:)17 b FA(The)470 639 y Fs(~)490 636 y Fj(Q)11 +b FA(directiv)o(e)j(and)f(user-de\014ned)g(directiv)o(es)h(of)e +(Zetalisp)i(ha)o(v)o(e)-38 614 y Fk(.)-38 627 y(.)-38 +640 y(.)-38 653 y(.)-38 666 y(.)-38 679 y(.)-38 692 y(.)-38 +705 y(.)-38 718 y(.)-38 731 y(.)-38 744 y(.)-38 757 y(.)-38 +770 y(.)-38 783 y(.)-38 796 y(.)-38 809 y(.)-38 822 y(.)-38 +835 y(.)-38 848 y(.)-38 861 y(.)-38 874 y(.)-38 887 y(.)-38 +900 y(.)-38 913 y(.)-38 926 y(.)-38 938 y(.)-38 951 y(.)-38 +964 y(.)-38 977 y(.)-38 990 y(.)-38 1003 y(.)-38 1016 +y(.)-38 1029 y(.)-38 1042 y(.)-38 1055 y(.)-38 1068 y(.)-38 +1081 y(.)-38 1094 y(.)-38 1107 y(.)-38 1120 y(.)-38 1133 +y(.)-38 1146 y(.)-38 1159 y(.)-38 1172 y(.)-38 1185 y(.)-38 +1198 y(.)-38 1211 y(.)-38 1224 y(.)-38 1237 y(.)-38 1250 +y(.)-38 1263 y(.)-38 1276 y(.)-38 1289 y(.)-38 1302 y(.)-38 +1315 y(.)-38 1328 y(.)-38 1341 y(.)-38 1354 y(.)-38 1367 +y(.)-38 1380 y(.)-38 1393 y(.)-38 1405 y(.)-38 1418 y(.)-38 +1431 y(.)-38 1444 y(.)-38 1457 y(.)-38 1470 y(.)-38 1483 +y(.)-38 1496 y(.)-38 1509 y(.)-38 1522 y(.)-38 1535 y(.)-38 +1548 y(.)-38 1561 y(.)-38 1574 y(.)-38 1587 y(.)-38 1600 +y(.)-38 1613 y(.)-38 1626 y(.)-38 1639 y(.)-38 1652 y(.)-38 +1665 y(.)-38 1678 y(.)-38 1691 y(.)-38 1704 y(.)-38 1717 +y(.)-38 1730 y(.)-38 1743 y(.)-38 1756 y(.)-38 1769 y(.)-38 +1782 y(.)-38 1795 y(.)-38 1808 y(.)-38 1821 y(.)-38 1834 +y(.)-38 1847 y(.)-38 1860 y(.)-38 1872 y(.)-38 1885 y(.)-38 +1898 y(.)-38 1911 y(.)-38 1924 y(.)-38 1937 y(.)-38 1950 +y(.)-38 1963 y(.)-38 1976 y(.)-38 1989 y(.)-38 2002 y(.)-38 +2015 y(.)-38 2028 y(.)-38 2041 y(.)-38 2054 y(.)-38 2067 +y(.)-38 2080 y(.)-38 2093 y(.)-38 2106 y(.)-38 2119 y(.)-38 +2132 y(.)-38 2145 y(.)-38 2158 y(.)-38 2171 y(.)-38 2184 +y(.)-38 2197 y(.)-38 2210 y(.)-38 2223 y(.)-38 2236 y(.)-38 +2249 y(.)-38 2262 y(.)-38 2275 y(.)-38 2288 y(.)-38 2301 +y(.)-38 2314 y(.)-38 2327 y(.)-38 2339 y(.)-38 2352 y(.)-38 +2365 y(.)-38 2378 y(.)-38 2391 y(.)-38 2404 y(.)-38 2417 +y(.)-38 2430 y(.)-38 2443 y(.)-38 2456 y(.)-38 2469 y(.)-38 +2482 y(.)-38 2495 y(.)-38 2508 y(.)-38 2521 y(.)-38 2534 +y(.)-38 2547 y(.)-38 2560 y(.)-38 2573 y(.)-38 2586 y(.)-38 +2599 y(.)-38 2612 y(.)-38 2625 y(.)-38 2638 y(.)-38 2651 +y(.)-38 2664 y(.)-38 2677 y(.)-38 2690 y(.)-38 2703 y(.)-38 +2716 y(.)-38 2729 y(.)-38 2742 y(.)-38 2755 y(.)-38 2768 +y(.)-38 2781 y(.)-38 2794 y(.)-38 2806 y(.)-38 2819 y(.)-38 +2832 y(.)-38 2845 y(.)-38 2858 y(.)-38 2871 y(.)-38 2884 +y(.)-38 2897 y(.)-38 2910 y(.)-38 2923 y(.)-38 2936 y(.)-38 +2949 y(.)-38 2962 y(.)-38 2975 y(.)-38 2988 y(.)-38 3001 +y(.)-38 3014 y(.)-38 3027 y(.)-38 3040 y(.)-38 3053 y(.)-38 +3066 y(.)-38 3079 y(.)-38 3092 y(.)-38 3105 y(.)-38 3118 +y(.)-38 3131 y(.)-38 3144 y(.)-38 3157 y(.)-38 3170 y(.)-38 +3183 y(.)-38 3196 y(.)0 682 y FA(b)q(een)d(omitted)g(here,)g(as)g(w)o +(ell)g(as)g(con)o(trol)g(lists)h(\(as)e(opp)q(osed)i(to)e(strings\),)i +(whic)o(h)f(are)g(rumored)0 728 y(to)i(b)q(e)g(c)o(hanging)i(in)f +(meaning.)p 0 931 V -33 943 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1716 a Fw(X3J13)f(v)o(oted)h(in)g(June)h(1989)e +Ft(h)p Fw(139)p Ft(i)g Fw(to)h(in)o(tro)q(duce)h(user-de\014ned)h +(directiv)o(es)f(in)e(the)-33 1687 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1768 a(form)f(of)h(the)215 1772 y Fn(~)238 +1768 y Fs(/.../)g Fw(directiv)o(e.)18 b(See)d(section)g(27.4)e(for)g +(details.)-33 1779 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1834 a(The)h(hairiest)g Fs(format)f Fw(con)o(trol)g +(string)h(I)g(ha)o(v)o(e)g(ev)o(er)h(seen)g(in)f(sho)o(wn)g(in)f(table) +h(22-)o(8.)-33 1805 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1885 a(It)f(started)g(inno)q(cen)o(tly)g(enough)g(as)f +(part)h(of)f(the)h(sim)o(ulator)e(for)h(Connection)h(Mac)o(hine)0 +1937 y(Lisp)f([44)o(,)f(57];)g(the)i Fv(xapping)g Fw(data)e(t)o(yp)q +(e,)h(de\014ned)h(b)o(y)f Fs(defstruct)p Fw(,)d(needed)14 +b(a)d Fs(:print-)0 1989 y(function)k Fw(option)i(so)g(that)g(xappings)g +(w)o(ould)g(prin)o(t)g(prop)q(erly)m(.)27 b(As)18 b(this)f(data)g(t)o +(yp)q(e)0 2041 y(b)q(ecame)d(more)f(complicated,)f(step)j(b)o(y)e +(step,)i(so)f(did)f(the)i Fs(format)d Fw(con)o(trol)i(string.)42 +2107 y(See)j(the)f(description)h(of)e Fs(set-macro-character)e +Fw(for)i(a)h(discussion)h(of)e(xappings)0 2159 y(and)f(the)h +Fs(defstruct)e Fw(de\014nition.)19 b(Assume)c(that)f(the)h(predicate)h +Fs(xectorp)d Fw(is)h(true)h(of)0 2211 y(a)h(xapping)g(if)f(it)h(is)h(a) +f(xector,)h(and)f(that)h(the)g(predicate)g Fs(finite-part-is-xetp)c +Fw(is)0 2263 y(true)i(if)e(ev)o(ery)h(v)n(alue)g(in)f(the)i(range)f(is) +f(the)i(same)e(as)h(its)g(corresp)q(onding)h(index.)42 +2329 y(Here)g(is)e(a)h(blo)o(w-b)o(y-blo)o(w)e(description)i(of)f(the)i +(parts)f(of)g(this)g(format)e(string:)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 658 682 +658 681 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(658)77 b(COMMON)13 +b(LISP)p 0 255 1395 2 v 0 344 a Fm(T)l(able)h(22-8:)k +FA(Prin)o(t)c(F)m(unction)g(for)f(the)g(Xapping)i(Data)e(T)o(yp)q(e)0 +473 y Fj(\(defun)j(print-xapp)o(ing)f(\(xapping)h(stream)g(depth\))37 +518 y(\(declare)g(\(ignore)g(depth\)\))37 564 y(\(format)g(stream)187 +610 y(;;)i(Are)f(you)h(ready)e(for)i(this)f(one?)187 +655 y(")205 658 y Fs(~)225 655 y Fj(:[{)283 658 y Fs(~)303 +655 y Fj(;[)341 658 y Fs(~)361 655 y Fj(])379 658 y Fs(~)399 +655 y Fj(:{)437 658 y Fs(~)457 655 y Fj(S)475 658 y Fs(~)495 +655 y Fj(:[)p Ff(\))571 658 y Fs(~)591 655 y Fj(S)609 +658 y Fs(~)630 655 y Fj(;)648 658 y Fs(~)668 655 y Fj(*)686 +658 y Fs(~)706 655 y Fj(])724 658 y Fs(~)744 655 y Fj(:)762 +658 y Fs(^)f(~)820 655 y Fj(})838 658 y Fs(~)858 655 +y Fj(:[)896 658 y Fs(~)916 655 y Fj(;)953 658 y Fs(~)973 +655 y Fj(])991 658 y Fs(~)204 704 y(~)224 701 y Fj({)242 +704 y Fs(~)262 701 y Fj(S)p Ff(\))318 704 y Fs(~)n(^)f(~)395 +701 y Fj(})413 704 y Fs(~)433 701 y Fj(:[)471 704 y Fs(~)491 +701 y Fj(;)528 704 y Fs(~)548 701 y Fj(])566 704 y Fs(~)587 +701 y Fj([)605 704 y Fs(~)625 701 y Fj(*)643 704 y Fs(~)663 +701 y Fj(;)p Ff(\))719 704 y Fs(~)740 701 y Fj(S)758 +704 y Fs(~)778 701 y Fj(;)p Ff(\))834 704 y Fs(~)855 +701 y Fj(*)873 704 y Fs(~)893 701 y Fj(])911 704 y Fs(~)932 +701 y Fj(:[})990 704 y Fs(~)1009 701 y Fj(;])1047 704 +y Fs(~)1067 701 y Fj(]")187 747 y(;;)j(Is)g(that)f(clear?)187 +792 y(\(xectorp)e(xapping\))187 838 y(\(do)i(\(\(vp)g(\(xectorp)f +(xapping\)\))280 884 y(\(sp)i(\(finite-p)o(ar)o(t-i)o(s-x)o(et)o(p)e +(xapping\)\))280 929 y(\(d)i(\(xapping-d)o(om)o(ain)d(xapping\))h +(\(cdr)h(d\)\))280 975 y(\(r)h(\(xapping-r)o(an)o(ge)d(xapping\))h +(\(cdr)h(r\)\))280 1021 y(\(z)337 1024 y Fs(')357 1021 +y Fj(\(\))h(\(cons)e(\(list)h(\(if)h(vp)g(\(car)f(r\))h(\(car)f(d\)\)) +635 1066 y(\(or)h(vp)g(sp\))635 1112 y(\(car)f(r\)\))523 +1158 y(z\)\)\))262 1203 y(\(\(null)f(d\))i(\(reverse)d(z\)\)\))187 +1249 y(\(and)i(\(xapping-)o(dom)o(ain)e(xapping\))280 +1295 y(\(or)j(\(xapping-)o(ex)o(cep)o(tio)o(ns)d(xapping\))355 +1340 y(\(xapping-)o(inf)o(ini)o(te)g(xapping\)\)\))187 +1386 y(\(xapping-)o(exc)o(ep)o(tio)o(ns)g(xapping\))187 +1432 y(\(and)i(\(xapping-)o(exc)o(ept)o(io)o(ns)e(xapping\))280 +1477 y(\(xapping-i)o(nfi)o(ni)o(te)g(xapping\)\))187 +1523 y(\(ecase)h(\(xapping-i)o(nfi)o(ni)o(te)f(xapping\))224 +1569 y(\(\(nil\))i(0\))224 1614 y(\(:constant)e(1\))224 +1660 y(\(:universa)o(l)h(2\)\))187 1706 y(\(xapping-)o(def)o(au)o(lt)f +(xapping\))187 1751 y(\(xectorp)g(xapping\)\)\))0 1830 +y FA(See)j(section)h(22.1.5)f(for)f(the)h Fj(defstruct)c +FA(de\014nition)20 b(of)e(the)f Fj(xapping)e FA(data)j(t)o(yp)q(e,)h +(whose)0 1876 y(accessor)14 b(functions)g(are)f(used)h(in)g(this)g(co)q +(de.)p 0 1902 V -2 1976 a Fn(~)21 1972 y Fs(:[{)85 1976 +y Fn(~)108 1972 y Fs(;[)150 1976 y Fn(~)172 1972 y Fs(])354 +b Fw(Prin)o(t)14 b(\\)p Fs([)p Fw(")f(for)h(a)f(xector,)h(and)g(\\)p +Fs({)p Fw(")f(otherwise.)-2 2028 y Fn(~)21 2024 y Fs(:{)63 +2028 y Fn(~)86 2024 y Fs(S)106 2028 y Fn(~)129 2024 y +Fs(:[)p Ft(\))213 2028 y Fn(~)235 2024 y Fs(S)255 2028 +y Fn(~)278 2024 y Fs(;)298 2028 y Fn(~)321 2024 y Fs(*)341 +2028 y Fn(~)364 2024 y Fs(])384 2028 y Fn(~)407 2024 +y Fs(:)427 2028 y Fn(^)j(~)492 2024 y Fs(})34 b Fw(Giv)o(en)9 +b(a)g(list)g(of)g(lists,)h(prin)o(t)f(the)h(pairs.)17 +b(Eac)o(h)10 b(sublist)548 2076 y(has)17 b(three)h(elemen)o(ts:)24 +b(the)18 b(index)f(\(or)g(the)g(v)n(alue)g(if)548 2128 +y(w)o(e're)e(prin)o(ting)g(a)g(xector\);)h(a)f(\015ag)f(that)h(is)g +(true)h(for)548 2180 y(either)g(a)g(xector)g(or)g(xet)g(\(in)f(whic)o +(h)h(case)h(no)e(arro)o(w)548 2231 y(is)f(prin)o(ted\);)g(and)g(the)h +(v)n(alue.)j(Note)c(the)h(use)g(of)1328 2235 y Fn(~)1351 +2231 y Fs(:{)548 2283 y Fw(to)f(iterate,)g(and)f(the)i(use)f(of)1010 +2287 y Fn(~)1034 2283 y Fs(:)1054 2287 y Fn(^)1090 2283 +y Fw(to)g(a)o(v)o(oid)f(prin)o(ting)548 2335 y(a)e(separating)h(space)h +(after)f(the)g(\014nal)f(pair)g(\(or)h(at)f(all,)548 +2387 y(if)i(there)i(are)f(no)g(pairs\).)-2 2443 y Fn(~)21 +2439 y Fs(:[)63 2443 y Fn(~)86 2439 y Fs(;)127 2443 y +Fn(~)150 2439 y Fs(])376 b Fw(If)14 b(there)i(w)o(ere)g(pairs)e(and)h +(there)h(are)f(exceptions)h(or)548 2491 y(an)e(in\014nite)f(part,)h +(prin)o(t)g(a)f(separating)h(space.)-2 2547 y Fn(~)21 +2543 y Ft(h)p Fw(newline)p Ft(i)359 b Fw(Do)9 b(nothing.)17 +b(This)10 b(merely)f(allo)o(ws)g(the)h(format)f(con-)548 +2595 y(trol)k(string)h(to)g(b)q(e)h(brok)o(en)f(across)h(t)o(w)o(o)e +(lines.)-2 2651 y Fn(~)21 2647 y Fs({)41 2651 y Fn(~)64 +2647 y Fs(S)p Ft(\))126 2651 y Fn(~)-6 b(^)17 b(~)212 +2647 y Fs(})314 b Fw(Giv)o(en)18 b(a)g(list)h(of)f(exception)h +(indices,)h(prin)o(t)f(them.)548 2698 y(Note)g(the)g(use)h(of)855 +2702 y Fn(~)879 2698 y Fs({)e Fw(to)g(iterate,)i(and)f(the)g(use)g(of) +546 2754 y Fn(~)-5 b(^)610 2750 y Fw(to)20 b(a)o(v)o(oid)e(prin)o(ting) +h(a)h(separating)g(space)g(after)548 2802 y(the)g(\014nal)f(exception)i +(\(or)e(at)h(all,)f(if)g(there)i(are)f(no)548 2854 y(exceptions\).)-2 +2910 y Fn(~)21 2906 y Fs(:[)63 2910 y Fn(~)86 2906 y +Fs(;)127 2910 y Fn(~)150 2906 y Fs(])376 b Fw(If)12 b(there)i(w)o(ere)f +(exceptions)h(and)e(there)i(is)e(an)g(in\014nite)548 +2958 y(part,)i(prin)o(t)f(a)h(separating)g(space.)-2 +3014 y Fn(~)21 3010 y Fs([)41 3014 y Fn(~)64 3010 y Fs(*)84 +3014 y Fn(~)107 3010 y Fs(;)p Ft(\))169 3014 y Fn(~)192 +3010 y Fs(S)212 3014 y Fn(~)235 3010 y Fs(;)p Ft(\))297 +3014 y Fn(~)319 3010 y Fs(*)339 3014 y Fn(~)362 3010 +y Fs(])164 b Fw(Use)624 3014 y Fn(~)647 3010 y Fs([)12 +b Fw(to)h(c)o(ho)q(ose)g(one)f(of)g(three)i(cases)g(for)e(prin)o(ting) +548 3062 y(the)i(in\014nite)g(part.)-2 3118 y Fn(~)21 +3114 y Fs(:[})85 3118 y Fn(~)108 3114 y Fs(;])150 3118 +y Fn(~)172 3114 y Fs(])354 b Fw(Prin)o(t)14 b(\\)p Fs(])p +Fw(")f(for)h(a)f(xector,)h(and)g(\\)p Fs(})p Fw(")f(otherwise.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 659 683 +659 682 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(INPUT/OUTPUT)1046 +b(659)-33 881 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1028 a Fo(22.4.)20 b(Querying)14 b(the)h(User)0 +1118 y Fw(The)e(follo)o(wing)d(functions)j(pro)o(vide)g(a)f(con)o(v)o +(enien)o(t)i(and)e(consisten)o(t)i(in)o(terface)f(for)g(ask-)0 +1170 y(ing)c(questions)i(of)f(the)g(user.)18 b(Questions)11 +b(are)g(prin)o(ted)f(and)g(the)h(answ)o(ers)g(are)f(read)h(using)0 +1222 y(the)j(stream)f Fs(*query-io*)p Fw(,)e(whic)o(h)i(normally)e(is)i +(synon)o(ymous)f(with)h Fs(*terminal-io*)0 1274 y Fw(but)h(can)g(b)q(e) +h(reb)q(ound)f(to)g(another)g(stream)g(for)f(sp)q(ecial)i +(applications.)1209 1420 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(y-or-n-p)20 b(&optional)f Fv(format)p Fs(-)p Fv(string)k +Fs(&rest)d Fv(ar)n(guments)0 1497 y Fw(This)15 b(predicate)g(is)g(for)f +(asking)g(the)i(user)g(a)e(question)h(whose)g(answ)o(er)h(is)e(either)i +(\\y)o(es")0 1549 y(or)22 b(\\no.")40 b(It)22 b(t)o(yp)q(es)g(out)g(a)f +(message)g(\(if)g(supplied\),)i(reads)g(an)e(answ)o(er)h(in)g(some)0 +1601 y(implemen)o(tatio)o(n-dep)q(enden)o(t)f(manner)g(\(in)o(tended)h +(to)g(b)q(e)g(short)g(and)g(simple,)g(lik)o(e)0 1653 +y(reading)e(a)g(single)g(c)o(haracter)i(suc)o(h)f(as)g +Fs(Y)f Fw(or)g Fs(N)p Fw(\),)g(and)h(is)f(true)h(if)f(the)h(answ)o(er)g +(w)o(as)0 1705 y(\\y)o(es")14 b(or)g(false)f(if)g(the)i(answ)o(er)g(w)o +(as)e(\\no.")42 1757 y(If)g(the)i Fv(format-string)e +Fw(argumen)o(t)g(is)h(supplied)h(and)f(not)g Fs(nil)p +Fw(,)f(then)i(a)f Fs(fresh-line)0 1809 y Fw(op)q(eration)g(is)g(p)q +(erformed;)f(then)i(a)f(message)g(is)g(prin)o(ted)g(as)g(if)f(the)i +Fv(format-string)e Fw(and)0 1861 y Fv(ar)n(guments)i +Fw(w)o(ere)i(giv)o(en)e(to)g Fs(format)p Fw(.)21 b(Otherwise)c(it)e(is) +h(assumed)f(that)g(an)o(y)g(message)0 1913 y(has)j(already)f(b)q(een)i +(prin)o(ted)f(b)o(y)g(other)g(means.)29 b(If)17 b(y)o(ou)g(w)o(an)o(t)g +(a)h(question)g(mark)e(at)0 1965 y(the)j(end)f(of)g(the)h(message,)f(y) +o(ou)g(m)o(ust)f(put)h(it)g(there)h(y)o(ourself;)h Fs(y-or-n-p)c +Fw(will)h(not)0 2017 y(add)f(it.)26 b(Ho)o(w)o(ev)o(er,)18 +b(the)f(message)f(should)h(not)f(con)o(tain)g(an)h(explanatory)f(note)h +(suc)o(h)0 2069 y(as)g Fs(\(Y)k(or)g(N\))p Fw(,)16 b(b)q(ecause)j(the)e +(nature)h(of)f(the)g(in)o(terface)h(pro)o(vided)f(for)g +Fs(y-or-n-p)e Fw(b)o(y)0 2120 y(a)f(giv)o(en)h(implem)o(en)o(tation)d +(migh)o(t)g(not)j(in)o(v)o(olv)o(e)e(t)o(yping)h(a)g(c)o(haracter)i(on) +f(a)f(k)o(eyb)q(oard;)0 2172 y Fs(y-or-n-p)e Fw(will)h(pro)o(vide)g +(suc)o(h)i(a)f(note)g(if)f(appropriate.)42 2225 y(All)f(input)g(and)h +(output)g(are)h(p)q(erformed)f(using)f(the)i(stream)e(in)h(the)g +(global)f(v)n(ariable)0 2276 y Fs(*query-io*)p Fw(.)42 +2329 y(Here)j(are)f(some)f(examples)g(of)g(the)i(use)f(of)g +Fs(y-or-n-p)p Fw(:)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 660 684 +660 683 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(660)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(y-or-n-p)19 b("Produce)h(listing)g(file?"\))0 +347 y(\(y-or-n-p)f("Cannot)h(connect)g(to)h(network)e(host)909 +351 y Fn(~)933 347 y Fs(S.)i(Retry?")e(host\))42 432 +y(y-or-n-p)9 b Fw(should)j(only)f(b)q(e)h(used)h(for)e(questions)h +(that)g(the)g(user)h(kno)o(ws)f(are)g(coming)0 484 y(or)i(in)f +(situations)g(where)i(the)f(user)h(is)e(kno)o(wn)h(to)f(b)q(e)h(w)o +(aiting)e(for)i(a)f(resp)q(onse)j(of)d(some)0 535 y(kind.)k(If)d(the)g +(user)h(is)f(unlik)o(ely)e(to)i(an)o(ticipate)f(the)h(question,)g(or)g +(if)f(the)h(consequences)0 587 y(of)h(the)h(answ)o(er)g(migh)o(t)e(b)q +(e)i(gra)o(v)o(e)f(and)h(irreparable,)f(then)i Fs(y-or-n-p)c +Fw(should)j(not)f(b)q(e)0 639 y(used)g(b)q(ecause)g(the)g(user)g(migh)o +(t)d(t)o(yp)q(e)i(ahead)g(and)g(thereb)o(y)h(acciden)o(tally)e(answ)o +(er)i(the)0 691 y(question.)21 b(F)m(or)15 b(suc)o(h)h(questions)f(as)g +(\\Shall)f(I)h(delete)h(all)d(of)i(y)o(our)f(\014les?")22 +b(it)14 b(is)h(b)q(etter)0 743 y(to)f(use)g Fs(yes-or-no-p)p +Fw(.)1209 870 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(yes-or-no-p)19 +b(&optional)g Fv(format)p Fs(-)p Fv(string)24 b Fs(&rest)c +Fv(ar)n(guments)0 946 y Fw(This)13 b(predicate,)h(lik)o(e)f +Fs(y-or-n-p)p Fw(,)e(is)i(for)g(asking)g(the)h(user)g(a)g(question)f +(whose)h(answ)o(er)0 998 y(is)d(either)h(\\y)o(es")f(or)f(\\no.")17 +b(It)11 b(t)o(yp)q(es)h(out)e(a)h(message)g(\(if)f(supplied\),)h +(attracts)h(the)g(user's)0 1050 y(atten)o(tion)k(\(for)g(example,)f(b)o +(y)g(ringing)g(the)i(terminal's)d(b)q(ell\),)i(and)g(reads)h(a)f(reply) +g(in)0 1102 y(some)10 b(implemen)o(tation-dep)q(enden)o(t)g(manner.)16 +b(It)c(is)f(in)o(tended)h(that)f(the)h(reply)g(require)0 +1154 y(the)j(user)h(to)e(tak)o(e)h(more)f(action)g(than)h(just)f(a)h +(single)f(k)o(eystrok)o(e,)h(suc)o(h)h(as)e(t)o(yping)g(the)0 +1206 y(full)f(w)o(ord)g Fs(yes)h Fw(or)f Fs(no)h Fw(follo)o(w)o(ed)e(b) +o(y)i(a)f(newline.)42 1258 y(If)g(the)i Fv(format-string)e +Fw(argumen)o(t)g(is)h(supplied)h(and)f(not)g Fs(nil)p +Fw(,)f(then)i(a)f Fs(fresh-line)0 1310 y Fw(op)q(eration)g(is)g(p)q +(erformed;)f(then)i(a)f(message)g(is)g(prin)o(ted)g(as)g(if)f(the)i +Fv(format-string)e Fw(and)0 1362 y Fv(ar)n(guments)i +Fw(w)o(ere)i(giv)o(en)e(to)g Fs(format)p Fw(.)21 b(Otherwise)c(it)e(is) +h(assumed)f(that)g(an)o(y)g(message)0 1413 y(has)j(already)f(b)q(een)i +(prin)o(ted)f(b)o(y)g(other)g(means.)29 b(If)17 b(y)o(ou)g(w)o(an)o(t)g +(a)h(question)g(mark)e(at)0 1465 y(the)e(end)g(of)e(the)i(message,)f(y) +o(ou)g(m)o(ust)f(put)i(it)f(there)h(y)o(ourself;)f Fs(yes-or-no-p)e +Fw(will)h(not)0 1517 y(add)g(it.)18 b(Ho)o(w)o(ev)o(er,)12 +b(the)i(message)e(should)g(not)h(con)o(tain)f(an)g(explanatory)g(note)h +(suc)o(h)h(as)0 1569 y Fs(\(Yes)20 b(or)h(No\))16 b Fw(b)q(ecause)i +(the)g(nature)f(of)f(the)h(in)o(terface)g(pro)o(vided)g(for)f +Fs(yes-or-no-p)0 1621 y Fw(b)o(y)d(a)g(giv)o(en)f(implemen)o(tation)e +(migh)o(t)h(not)i(in)o(v)o(olv)o(e)e(t)o(yping)i(the)g(reply)g(on)g(a)g +(k)o(eyb)q(oard;)0 1673 y Fs(yes-or-no-p)f Fw(will)g(pro)o(vide)i(suc)o +(h)g(a)g(note)g(if)f(appropriate.)42 1725 y(All)f(input)g(and)h(output) +g(are)h(p)q(erformed)f(using)f(the)i(stream)e(in)h(the)g(global)f(v)n +(ariable)0 1777 y Fs(*query-io*)p Fw(.)42 1829 y(T)m(o)k(allo)o(w)f +(the)i(user)h(to)f(answ)o(er)h(a)e(y)o(es-or-no)h(question)g(with)g(a)f +(single)h(c)o(haracter,)0 1880 y(use)e Fs(y-or-n-p)p +Fw(.)h Fs(yes-or-no-p)11 b Fw(should)j(b)q(e)g(used)h(for)f(unan)o +(ticipated)f(or)h(momen)o(tous)0 1932 y(questions;)20 +b(this)f(is)f(wh)o(y)f(it)h(attracts)h(atten)o(tion)f(and)g(wh)o(y)g +(it)g(requires)h(a)f(m)o(ultiple-)0 1984 y(action)c(sequence)i(to)d +(answ)o(er)i(it.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 661 685 +661 684 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(23)p 0 448 598 +9 v 0 531 a Fp(File)30 b(System)f(Interface)0 968 y Fw(A)10 +b(frequen)o(t)h(use)g(of)f(streams)g(is)g(to)g(comm)o(unicate)e(with)i +(a)g Fv(\014le)h(system)f Fw(to)g(whic)o(h)h(groups)0 +1020 y(of)i(data)h(\(\014les\))g(can)g(b)q(e)h(written)f(and)g(from)e +(whic)o(h)i(\014les)g(can)g(b)q(e)h(retriev)o(ed.)42 +1075 y(Comm)o(on)d(Lisp)i(de\014nes)i(a)e(standard)h(in)o(terface)g +(for)f(dealing)g(with)g(suc)o(h)i(a)e(\014le)g(sys-)0 +1127 y(tem.)j(This)12 b(in)o(terface)h(is)g(designed)g(to)g(b)q(e)g +(simple)e(and)i(general)f(enough)h(to)g(accommo-)0 1179 +y(date)e(the)g(facilities)e(pro)o(vided)h(b)o(y)g(\\t)o(ypical")f(op)q +(erating)i(system)f(en)o(vironmen)o(ts)f(within)0 1231 +y(whic)o(h)15 b(Commo)o(n)d(Lisp)j(is)g(lik)o(ely)e(to)i(b)q(e)g +(implemen)o(ted.)k(The)c(goal)f(is)h(to)f(mak)o(e)g(Com-)0 +1283 y(mon)h(Lisp)h(programs)f(that)i(p)q(erform)e(only)h(simple)f(op)q +(erations)i(on)f(\014les)h(reasonably)0 1335 y(p)q(ortable.)42 +1390 y(T)m(o)11 b(this)h(end,)g(Common)d(Lisp)j(assumes)f(that)h +(\014les)h(are)f(named,)f(that)h(giv)o(en)f(a)h(name)0 +1442 y(one)18 b(can)g(construct)h(a)f(stream)f(connected)j(to)d(a)h +(\014le)g(of)f(that)h(name,)f(and)g(that)h(the)0 1494 +y(names)d(can)g(b)q(e)i(\014t)e(in)o(to)g(a)g(certain)h(canonical,)f +(implemen)o(tation-i)o(ndep)q(enden)o(t)f(form)0 1546 +y(called)g(a)f Fv(p)n(athname)p Fw(.)42 1601 y(F)m(acilities)k(are)i +(pro)o(vided)f(for)h(manipulating)c(pathnames,)k(for)f(creating)h +(streams)0 1653 y(connected)f(to)f(\014les,)g(and)g(for)f(manipulating) +d(the)18 b(\014le)e(system)h(through)g(pathnames)0 1705 +y(and)d(streams.)0 1992 y Fo(23.1.)20 b(File)14 b(Names)0 +2121 y Fw(Common)j(Lisp)k(programs)f(need)h(to)g(use)h(names)e(to)g +(designate)i(\014les.)39 b(The)21 b(main)0 2173 y(di\016cult)o(y)f(in)g +(dealing)f(with)i(names)e(of)h(\014les)h(is)g(that)f(di\013eren)o(t)i +(\014le)e(systems)h(ha)o(v)o(e)0 2225 y(di\013eren)o(t)f(naming)e +(formats)g(for)h(\014les.)35 b(F)m(or)19 b(example,)h(here)g(is)g(a)f +(table)g(of)g(sev)o(eral)0 2277 y(\014le)c(systems)f(\(actually)m(,)f +(op)q(erating)i(systems)f(that)h(pro)o(vide)f(\014le)h(systems\))f(and) +h(what)0 2329 y(equiv)n(alen)o(t)e(\014le)h(names)f(migh)o(t)f(lo)q(ok) +h(lik)o(e)g(for)g(eac)o(h)i(one:)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1337 2428 a Fy(661)p eop +%%Page: 662 686 +662 685 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(662)77 b(COMMON)13 +b(LISP)0 290 y Fw(System)170 b(File)14 b(Name)p 0 307 +803 2 v 0 356 a(TOPS-20)132 b Fs(FORMAT.FASL)o(.13)0 +408 y Fw(TOPS-10)g Fs(FORMAT.FAS[1,4])0 460 y Fw(ITS)233 +b Fs(LISPIO;FORMAT)19 b(FASL)0 512 y Fw(MUL)m(TICS)111 +b Fs(>udd>LispIO>format.)o(fasl)0 564 y Fw(TENEX)153 +b Fs(FORMAT.FASL)o(;13)0 615 y Fw(V)-5 b(AX/VMS)100 +b Fs([LISPIO]FORMAT.FAS;)o(13)0 667 y Fw(UNIX)193 b Fs +(/usr/lispio/format.)o(fasl)p 0 685 V 0 749 a Fw(It)15 +b(w)o(ould)g(b)q(e)h(imp)q(ossible)e(for)h(eac)o(h)h(program)d(that)j +(deals)f(with)g(\014le)g(names)g(to)g(kno)o(w)0 801 y(ab)q(out)e(eac)o +(h)g(di\013eren)o(t)h(\014le)f(name)f(format)f(that)i(exists;)g(a)g +(new)g(Common)d(Lisp)j(imple-)0 853 y(men)o(tation)8 +b(migh)o(t)f(use)j(a)f(format)f(di\013eren)o(t)i(from)e(an)o(y)h(of)g +(its)g(predecessors.)20 b(Therefore,)0 905 y(Common)10 +b(Lisp)k(pro)o(vides)f Fv(two)h Fw(w)o(a)o(ys)f(to)g(represen)o(t)j +(\014le)e(names:)j Fv(namestrings)p Fw(,)c(whic)o(h)0 +957 y(are)i(strings)f(in)g(the)h(implemen)o(tatio)o(n-dep)q(enden)o(t)e +(form)g(customary)g(for)h(the)h(\014le)f(sys-)0 1009 +y(tem,)i(and)g Fv(p)n(athnames)p Fw(,)i(whic)o(h)e(are)h(sp)q(ecial)g +(abstract)g(data)f(ob)r(jects)i(that)e(represen)o(t)0 +1061 y(\014le)e(names)f(in)g(an)h(implemen)o(tati)o(on-indep)q(enden)o +(t)e(w)o(a)o(y)m(.)17 b(F)m(unctions)d(are)g(pro)o(vided)g(to)0 +1113 y(con)o(v)o(ert)h(b)q(et)o(w)o(een)g(these)h(t)o(w)o(o)e(represen) +o(tations,)h(and)f(all)f(manipulations)e(of)j(\014les)h(can)0 +1165 y(b)q(e)g(expressed)h(in)d(mac)o(hine-indep)q(enden)o(t)h(terms)g +(b)o(y)f(using)h(pathnames.)42 1216 y(In)f(order)h(to)g(allo)o(w)d +(Common)g(Lisp)i(programs)f(to)i(op)q(erate)g(in)f(a)g(net)o(w)o(ork)h +(en)o(viron-)0 1268 y(men)o(t)e(that)i(ma)o(y)d(ha)o(v)o(e)i(more)f +(than)i(one)f(kind)g(of)f(\014le)i(system,)e(the)i(pathname)e(facilit)o +(y)0 1320 y(allo)o(ws)17 b(a)h(\014le)h(name)e(to)i(sp)q(ecify)g(whic)o +(h)f(\014le)h(system)f(is)g(to)h(b)q(e)g(used.)33 b(In)18 +b(this)h(con-)0 1372 y(text,)e(eac)o(h)g(\014le)f(system)h(is)f(called) +g(a)g Fv(host)p Fw(,)h(in)f(k)o(eeping)g(with)g(the)h(usual)f(net)o(w)o +(orking)0 1424 y(terminology)m(.)42 1476 y(Di\013eren)o(t)h(hosts)h(ma) +o(y)d(use)j(di\013eren)o(t)g(notations)f(for)f(\014le)h(names.)27 +b(Common)14 b(Lisp)-33 1448 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1528 a(allo)o(ws)9 b(customary)h(notation)f(to)h(b)q(e)h +(used)g(for)f(eac)o(h)h(host,)g(but)g(also)e(supp)q(orts)j(a)e(system)0 +1580 y(of)k(logical)g(pathnames)g(that)h(pro)o(vides)g(a)g(standard)h +(framew)o(ork)d(for)i(naming)e(\014les)i(in)0 1632 y(a)f(p)q(ortable)g +(manner)f(\(see)i(section)f(23.1.5\).)-33 1643 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1772 a Fo(23.1.1.)20 b(P)n(athnames)0 +1855 y Fw(All)12 b(\014le)h(systems)g(dealt)g(with)f(b)o(y)h(Common)d +(Lisp)i(are)i(forced)f(in)o(to)g(a)f(common)e(frame-)0 +1907 y(w)o(ork,)j(in)h(whic)o(h)f(\014les)i(are)f(named)f(b)o(y)g(a)h +(Lisp)g(data)f(ob)r(ject)i(of)e(t)o(yp)q(e)i Fs(pathname)p +Fw(.)42 1959 y(A)h(pathname)g(alw)o(a)o(ys)g(has)h(six)g(comp)q(onen)o +(ts,)g(describ)q(ed)h(b)q(elo)o(w.)27 b(These)18 b(comp)q(o-)0 +2011 y(nen)o(ts)e(are)g(the)f(common)e(in)o(terface)i(that)h(allo)o(ws) +e(programs)f(to)j(w)o(ork)e(the)i(same)e(w)o(a)o(y)0 +2063 y(with)e(di\013eren)o(t)g(\014le)g(systems;)h(the)f(mapping)e(of)h +(the)i(pathname)d(comp)q(onen)o(ts)i(in)o(to)f(the)0 +2115 y(concepts)19 b(p)q(eculiar)f(to)f(eac)o(h)h(\014le)f(system)h(is) +f(tak)o(en)g(care)i(of)e(b)o(y)g(the)h(Commo)o(n)d(Lisp)0 +2166 y(implemen)o(tatio)o(n.)0 2266 y Fv(host)0 2329 +y Fw(The)f(name)f(of)g(the)i(\014le)f(system)f(on)h(whic)o(h)g(the)g +(\014le)g(resides.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 663 687 +663 686 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(663)0 295 y Fv(devic)n(e)0 358 y Fw(Corresp)q(onds)22 +b(to)e(the)h(\\device")g(or)f(\\\014le)g(structure")j(concept)f(in)d +(man)o(y)g(host)i(\014le)0 410 y(systems:)d(the)d(name)d(of)i(a)f +(\(logical)g(or)g(ph)o(ysical\))h(device)h(con)o(taining)d(\014les.)0 +515 y Fv(dir)n(e)n(ctory)0 578 y Fw(Corresp)q(onds)g(to)e(the)h +(\\directory")f(concept)i(in)e(man)o(y)e(host)j(\014le)f(systems:)16 +b(the)11 b(name)e(of)0 630 y(a)k(group)h(of)f(related)h(\014les)g(\(t)o +(ypically)e(those)i(b)q(elonging)f(to)g(a)h(single)f(user)h(or)g(pro)r +(ject\).)0 735 y Fv(name)0 798 y Fw(The)g(name)f(of)g(a)h(group)g(of)f +(\014les)h(that)g(can)g(b)q(e)h(though)o(t)e(of)h(as)g(the)g(\\same")f +(\014le.)0 903 y Fv(typ)n(e)0 966 y Fw(Corresp)q(onds)18 +b(to)f(the)g(\\\014let)o(yp)q(e")g(or)f(\\extension")h(concept)h(in)e +(man)o(y)f(host)i(\014le)f(sys-)0 1018 y(tems;)c(iden)o(ti\014es)h(the) +g(t)o(yp)q(e)g(of)f(\014le.)17 b(Files)c(with)f(the)h(same)e(names)h +(but)g(di\013eren)o(t)i(t)o(yp)q(es)0 1069 y(are)h(usually)e(related)i +(in)f(some)f(sp)q(eci\014c)j(w)o(a)o(y)m(,)c(for)i(instance,)h(one)f(b) +q(eing)h(a)f(source)h(\014le,)0 1121 y(another)20 b(the)g(compiled)d +(form)h(of)g(that)i(source,)h(and)e(a)g(third)g(the)h(listing)e(of)h +(error)0 1173 y(messages)14 b(from)e(the)j(compiler.)0 +1278 y Fv(version)0 1341 y Fw(Corresp)q(onds)e(to)d(the)i(\\v)o(ersion) +f(n)o(um)o(b)q(er")f(concept)j(in)d(man)o(y)f(host)j(\014le)f(systems.) +17 b(T)o(yp-)0 1393 y(ically)c(this)g(is)h(a)g(n)o(um)o(b)q(er)f(that)h +(is)g(incremen)o(ted)g(ev)o(ery)h(time)d(the)j(\014le)e(is)h(mo)q +(di\014ed.)42 1498 y(Note)f(that)f(a)g(pathname)g(is)g(not)h +(necessarily)h(the)f(name)e(of)h(a)g(sp)q(eci\014c)i(\014le.)k(Rather,) +0 1550 y(it)10 b(is)g(a)f(sp)q(eci\014cation)i(\(p)q(ossibly)f(only)f +(a)h(partial)f(sp)q(eci\014cation\))i(of)e(ho)o(w)h(to)g(access)h(a)f +(\014le.)0 1602 y(A)17 b(pathname)e(need)j(not)e(corresp)q(ond)i(to)f +(an)o(y)f(\014le)g(that)h(actually)f(exists,)h(and)g(more)0 +1654 y(than)g(one)h(pathname)e(can)h(refer)h(to)f(the)h(same)e(\014le.) +28 b(F)m(or)17 b(example,)f(the)i(pathname)0 1706 y(with)13 +b(a)g(v)o(ersion)g(of)g(\\new)o(est")h(ma)o(y)d(refer)j(to)f(the)h +(same)f(\014le)g(as)g(a)g(pathname)f(with)h(the)0 1758 +y(same)d(comp)q(onen)o(ts)g(except)i(a)e(certain)i(n)o(um)o(b)q(er)e +(as)g(the)i(v)o(ersion.)17 b(Indeed,)12 b(a)e(pathname)0 +1810 y(with)k(v)o(ersion)g(\\new)o(est")i(ma)o(y)c(refer)j(to)f +(di\013eren)o(t)i(\014les)e(as)h(time)e(passes,)i(b)q(ecause)h(the)0 +1861 y(meaning)e(of)g(suc)o(h)i(a)f(pathname)g(dep)q(ends)i(on)e(the)h +(state)g(of)f(the)h(\014le)f(system.)22 b(In)16 b(\014le)0 +1913 y(systems)j(with)f(suc)o(h)i(facilities)d(as)i(\\links,")f(m)o +(ultiple)f(\014le)h(names,)h(logical)e(devices,)0 1965 +y(and)e(so)g(on,)g(t)o(w)o(o)f(pathnames)h(that)g(lo)q(ok)f(quite)h +(di\013eren)o(t)h(ma)o(y)d(turn)j(out)f(to)f(address)0 +2017 y(the)j(same)e(\014le.)25 b(T)m(o)16 b(access)i(a)e(\014le)g(giv)o +(en)g(a)g(pathname,)f(one)h(m)o(ust)g(do)g(a)g(\014le)g(system)0 +2069 y(op)q(eration)e(suc)o(h)g(as)g Fs(open)p Fw(.)42 +2121 y(Tw)o(o)i(imp)q(ortan)o(t)g(op)q(erations)h(in)o(v)o(olving)e +(pathnames)h(are)i Fv(p)n(arsing)f Fw(and)g Fv(mer)n(ging)p +Fw(.)0 2173 y(P)o(arsing)h(is)g(the)h(con)o(v)o(ersion)f(of)g(a)g +(namestring)f(\(whic)o(h)i(migh)o(t)d(b)q(e)j(something)d(sup-)0 +2225 y(plied)c(in)o(teractiv)o(ely)h(b)o(y)f(the)h(user)h(when)f(ask)o +(ed)g(to)g(supply)f(the)h(name)f(of)g(a)g(\014le\))h(in)o(to)f(a)0 +2277 y(pathname)j(ob)r(ject.)24 b(This)16 b(op)q(eration)f(is)h +(implemen)o(tatio)o(n-dep)q(enden)o(t,)f(b)q(ecause)i(the)0 +2329 y(format)e(of)g(namestrings)h(is)h(implem)o(en)o(tation-dep)q +(enden)o(t.)25 b(Merging)16 b(tak)o(es)h(a)f(path-)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 664 688 +664 687 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(664)77 b(COMMON)13 +b(LISP)0 295 y Fw(name)c(with)i(missing)d(comp)q(onen)o(ts)i(and)h +(supplies)g(v)n(alues)f(for)g(those)h(comp)q(onen)o(ts)f(from)0 +347 y(a)k(source)h(of)e(defaults.)42 400 y(Not)j(all)f(of)h(the)h(comp) +q(onen)o(ts)f(of)f(a)h(pathname)g(need)h(to)f(b)q(e)h(sp)q(eci\014ed.) +27 b(If)16 b(a)g(com-)0 452 y(p)q(onen)o(t)k(of)f(a)g(pathname)f(is)i +(missing,)e(its)i(v)n(alue)f(is)g Fs(nil)p Fw(.)34 b(Before)20 +b(the)g(\014le)g(system)0 504 y(in)o(terface)15 b(can)h(do)e(an)o +(ything)g(in)o(teresting)i(with)e(a)h(\014le,)f(suc)o(h)i(as)f(op)q +(ening)g(the)g(\014le,)g(all)0 555 y(the)f(missing)d(comp)q(onen)o(ts)i +(of)g(a)g(pathname)f(m)o(ust)g(b)q(e)i(\014lled)f(in)g(\(t)o(ypically)f +(from)g(a)h(set)0 607 y(of)g(defaults\).)18 b(P)o(athnames)13 +b(with)g(missing)e(comp)q(onen)o(ts)j(ma)o(y)d(b)q(e)j(used)h(in)o +(ternally)d(for)0 659 y(v)n(arious)17 b(purp)q(oses;)k(in)c +(particular,)h(parsing)f(a)h(namestring)e(that)i(do)q(es)h(not)e(sp)q +(ecify)0 711 y(certain)d(comp)q(onen)o(ts)g(will)e(result)j(in)f(a)f +(pathname)g(with)g(missing)f(comp)q(onen)o(ts.)42 764 +y(X3J13)e(v)o(oted)g(in)h(Jan)o(uary)f(1989)g Ft(h)p +Fw(136)p Ft(i)g Fw(to)g(p)q(ermit)g(an)o(y)g(comp)q(onen)o(t)g(of)g(a)g +(pathname)-33 736 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 816 a(to)i(ha)o(v)o(e)f(the)i(v)n(alue)e +Fs(:unspecific)p Fw(,)f(meaning)g(that)i(the)g(comp)q(onen)o(t)f +(simply)f(do)q(es)j(not)0 868 y(exist,)19 b(for)f(\014le)g(systems)g +(in)g(whic)o(h)g(suc)o(h)g(a)g(v)n(alue)g(mak)o(es)f(sense.)32 +b(\(F)m(or)18 b(example,)f(a)0 920 y(UNIX)g(\014le)g(system)g(usually)f +(do)q(es)i(not)f(supp)q(ort)h(v)o(ersion)f(n)o(um)o(b)q(ers,)g(so)g +(the)h(v)o(ersion)0 972 y(comp)q(onen)o(t)11 b(of)h(a)f(pathname)g(for) +h(a)g(UNIX)g(host)g(migh)o(t)e(b)q(e)j Fs(:unspecific)p +Fw(.)i(Similarly)l(,)0 1024 y(the)g(\014le)f(t)o(yp)q(e)h(is)f(usually) +g(regarded)h(in)f(a)g(UNIX)h(\014le)f(system)g(as)h(the)g(part)f(of)g +(a)g(name)0 1076 y(after)g(a)g(p)q(erio)q(d,)g(but)h(some)e(\014le)h +(names)f(con)o(tain)h(no)g(p)q(erio)q(ds)h(and)e(therefore)j(ha)o(v)o +(e)e(no)0 1128 y(\014le)g(t)o(yp)q(es.\))42 1181 y(When)24 +b(a)h(pathname)e(is)i(con)o(v)o(erted)h(to)e(a)g(namestring,)i(the)g(v) +n(alues)e Fs(nil)g Fw(and)0 1233 y Fs(:unspecific)18 +b Fw(ha)o(v)o(e)j(the)g(same)e(e\013ect:)33 b(they)21 +b(are)g(treated)h(as)f(if)e(the)i(comp)q(onen)o(t)0 1285 +y(w)o(ere)f(empt)o(y)d(\(that)i(is,)g(they)h(eac)o(h)f(cause)g(the)h +(comp)q(onen)o(t)e(not)g(to)h(app)q(ear)g(in)f(the)0 +1336 y(namestring\).)f(When)d(merging,)e(ho)o(w)o(ev)o(er,)h(only)g(a)g +Fs(nil)g Fw(v)n(alue)g(for)h(a)f(comp)q(onen)o(t)g(will)0 +1388 y(b)q(e)h(replaced)g(with)f(the)h(default)f(for)h(that)f(comp)q +(onen)o(t;)f(the)i(v)n(alue)f Fs(:unspecific)e Fw(will)0 +1440 y(b)q(e)k(left)e(alone)h(as)g(if)f(the)h(\014eld)g(w)o(ere)h +(\014lled.)42 1493 y(The)g(results)i(are)f(unde\014ned)h(if)d +Fs(:unspecific)g Fw(is)h(supplied)h(to)f(a)g(\014le)h(system)f(in)g(a)0 +1545 y(comp)q(onen)o(t)e(for)h(whic)o(h)f Fs(:unspecific)f +Fw(do)q(es)j(not)e(mak)o(e)g(sense)i(for)f(that)g(\014le)g(system.)42 +1598 y(Programmi)o(ng)h(hin)o(t:)25 b(p)q(ortable)18 +b(programs)e(should)i(b)q(e)g(prepared)h(to)f(handle)f(the)0 +1650 y(v)n(alue)c Fs(:unspecific)e Fw(in)h(the)i(device,)g(directory)m +(,)f(t)o(yp)q(e,)h(or)f(v)o(ersion)g(\014eld)h(in)e(some)h(im-)0 +1702 y(plemen)o(tations.)j(P)o(ortable)11 b(programs)g(should)g(not)g +(explicitly)f(place)i Fs(:unspecific)d Fw(in)0 1754 y(an)o(y)14 +b(\014eld)h(b)q(ecause)h(it)e(migh)o(t)f(not)h(b)q(e)i(p)q(ermitted)e +(in)g(some)g(situations,)g(but)h(p)q(ortable)0 1806 y(programs)e(ma)o +(y)g(sometimes)g(do)i(so)f(implicitly)e(\(b)o(y)i(cop)o(ying)g(suc)o(h) +i(a)e(v)n(alue)g(from)f(an-)0 1858 y(other)i(pathname,)d(for)h +(example\).)-33 1870 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1911 a(A)i(comp)q(onen)o(t)f(of)g(a)h(pathname)f(can)h +(also)f(b)q(e)i(the)g(k)o(eyw)o(ord)f Fs(:wild)p Fw(.)20 +b(This)15 b(is)g(only)-38 1886 y Fk(.)-38 1899 y(.)-38 +1912 y(.)-38 1925 y(.)-38 1938 y(.)-38 1951 y(.)-38 1964 +y(.)-38 1977 y(.)-38 1990 y(.)-38 2003 y(.)-38 2016 y(.)-38 +2029 y(.)-38 2042 y(.)-38 2055 y(.)-38 2068 y(.)-38 2081 +y(.)-38 2094 y(.)-38 2107 y(.)-38 2120 y(.)-38 2133 y(.)-38 +2145 y(.)-38 2158 y(.)-38 2171 y(.)-38 2184 y(.)-38 2197 +y(.)-38 2210 y(.)-38 2223 y(.)-38 2236 y(.)-38 2249 y(.)-38 +2262 y(.)-38 2275 y(.)-38 2288 y(.)-38 2301 y(.)-38 2314 +y(.)-38 2327 y(.)-38 2340 y(.)-38 2353 y(.)-38 2366 y(.)-38 +2379 y(.)-38 2392 y(.)-38 2405 y(.)-38 2418 y(.)-38 2431 +y(.)-38 2444 y(.)-38 2457 y(.)-38 2470 y(.)-38 2483 y(.)-38 +2496 y(.)-38 2509 y(.)-38 2522 y(.)-38 2535 y(.)-38 2548 +y(.)-38 2561 y(.)-38 2574 y(.)-38 2587 y(.)-38 2600 y(.)-38 +2612 y(.)-38 2625 y(.)-38 2638 y(.)-38 2651 y(.)-38 2664 +y(.)-38 2677 y(.)-38 2690 y(.)-38 2703 y(.)-38 2716 y(.)-38 +2729 y(.)-38 2742 y(.)-38 2755 y(.)-38 2768 y(.)-38 2781 +y(.)-38 2794 y(.)-38 2807 y(.)-38 2820 y(.)-38 2833 y(.)-38 +2846 y(.)-38 2859 y(.)-38 2872 y(.)-38 2885 y(.)-38 2898 +y(.)-38 2911 y(.)-38 2924 y(.)-38 2937 y(.)-38 2950 y(.)-38 +2963 y(.)-38 2976 y(.)-38 2989 y(.)-38 3002 y(.)-38 3015 +y(.)-38 3028 y(.)-38 3041 y(.)-38 3054 y(.)-38 3067 y(.)-38 +3079 y(.)-38 3092 y(.)-38 3105 y(.)-38 3118 y(.)-38 3131 +y(.)-38 3144 y(.)-38 3157 y(.)-38 3170 y(.)-38 3183 y(.)-38 +3196 y(.)-38 3209 y(.)-38 3222 y(.)-38 3235 y(.)-38 3248 +y(.)-38 3261 y(.)-38 3274 y(.)-38 3287 y(.)-38 3300 y(.)-38 +3313 y(.)-38 3326 y(.)-38 3339 y(.)-38 3352 y(.)-38 3365 +y(.)-38 3378 y(.)-38 3391 y(.)-38 3404 y(.)-38 3417 y(.)-38 +3430 y(.)-38 3443 y(.)-38 3456 y(.)-38 3469 y(.)-38 3482 +y(.)-38 3495 y(.)-38 3508 y(.)-38 3521 y(.)-38 3534 y(.)-38 +3546 y(.)-38 3559 y(.)-38 3572 y(.)-38 3585 y(.)-38 3598 +y(.)-38 3611 y(.)-38 3624 y(.)-38 3637 y(.)-38 3650 y(.)-38 +3663 y(.)-38 3676 y(.)-38 3689 y(.)-38 3702 y(.)-38 3715 +y(.)-38 3728 y(.)-38 3741 y(.)-38 3754 y(.)-38 3767 y(.)-38 +3780 y(.)-38 3793 y(.)-38 3806 y(.)-38 3819 y(.)-38 3832 +y(.)-38 3845 y(.)-38 3858 y(.)-38 3871 y(.)-38 3884 y(.)-38 +3897 y(.)-38 3910 y(.)-38 3923 y(.)-38 3936 y(.)-38 3949 +y(.)-38 3962 y(.)-38 3975 y(.)-38 3988 y(.)-38 4001 y(.)-38 +4013 y(.)-38 4026 y(.)-38 4039 y(.)-38 4052 y(.)-38 4065 +y(.)-38 4078 y(.)-38 4091 y(.)-38 4104 y(.)-38 4117 y(.)-38 +4130 y(.)-38 4143 y(.)-38 4156 y(.)-38 4169 y(.)-38 4182 +y(.)-38 4195 y(.)-38 4208 y(.)-38 4221 y(.)-38 4234 y(.)-38 +4247 y(.)-38 4260 y(.)-38 4273 y(.)-38 4286 y(.)-38 4299 +y(.)-38 4312 y(.)-38 4325 y(.)-38 4338 y(.)-38 4351 y(.)-38 +4364 y(.)-38 4377 y(.)-38 4390 y(.)-38 4403 y(.)-38 4416 +y(.)-38 4429 y(.)-38 4442 y(.)-38 4455 y(.)-38 4468 y(.)0 +1963 y Fw(useful)j(when)g(the)g(pathname)e(is)i(b)q(eing)f(used)i(with) +e(a)g(directory-manipulating)e(op-)0 2015 y(eration,)21 +b(where)g(it)e(means)g(that)h(the)h(pathname)d(comp)q(onen)o(t)i(matc)o +(hes)f(an)o(ything.)0 2067 y(The)e(prin)o(ted)g(represen)o(tation)h(of) +e(a)g(pathname)f(t)o(ypically)g(designates)i Fs(:wild)f +Fw(b)o(y)g(an)0 2119 y(asterisk;)e(ho)o(w)o(ev)o(er,)g(this)g(is)g +(host-dep)q(enden)o(t.)-33 2130 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2172 a(See)g(section)h(23.1.4)d(for)h(a)h(discussion)g +(of)g(new)g(wildcard)f(pathname)g(facilities.)-33 2143 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2225 a(What)d(v)n(alues)h(are)g(allo)o(w)o(ed)e(for)i +(comp)q(onen)o(ts)f(of)h(a)f(pathname)g(dep)q(ends,)j(in)d(general,)0 +2277 y(on)15 b(the)h(pathname's)f(host.)23 b(Ho)o(w)o(ev)o(er,)16 +b(in)f(order)h(for)f(pathnames)g(to)g(b)q(e)h(usable)g(in)f(a)0 +2329 y(system-indep)q(enden)o(t)k(w)o(a)o(y)m(,)f(certain)h(global)e +(con)o(v)o(en)o(tions)h(are)h(adhered)g(to.)31 b(These)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 665 689 +665 688 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(665)0 295 y Fw(con)o(v)o(en)o(tions)15 b(are)h(stronger)g +(for)f(the)h(t)o(yp)q(e)g(and)f(v)o(ersion)g(than)h(for)e(the)i(other)g +(comp)q(o-)0 347 y(nen)o(ts,)k(since)f(the)g(t)o(yp)q(e)g(and)g(v)o +(ersion)f(are)h(explicitly)f(manipulated)e(b)o(y)i(man)o(y)f(pro-)0 +399 y(grams,)11 b(while)i(the)g(other)g(comp)q(onen)o(ts)g(are)g +(usually)f(treated)i(as)f(something)f(supplied)0 450 +y(b)o(y)g(the)h(user)h(that)f(just)f(needs)i(to)f(b)q(e)g(remem)o(b)q +(ered)f(and)g(copied)h(from)e(place)i(to)f(place.)42 +504 y(The)19 b(t)o(yp)q(e)h(is)g(alw)o(a)o(ys)e(a)i(string)f(or)h +Fs(nil)e Fw(or)i Fs(:wild)p Fw(.)34 b(It)19 b(is)h(exp)q(ected)h(that)f +(most)0 556 y(programs)13 b(that)h(deal)f(with)h(\014les)g(will)e +(supply)i(a)g(default)f(t)o(yp)q(e)i(for)e(eac)o(h)i(\014le.)42 +609 y(The)f(v)o(ersion)h(is)g(either)g(a)f(p)q(ositiv)o(e)g(in)o(teger) +h(or)g(a)f(sp)q(ecial)h(sym)o(b)q(ol.)j(The)d(meanings)0 +661 y(of)d Fs(nil)g Fw(and)h Fs(:wild)e Fw(ha)o(v)o(e)i(b)q(een)h +(explained)e(ab)q(o)o(v)o(e.)18 b(The)13 b(k)o(eyw)o(ord)f +Fs(:newest)g Fw(refers)i(to)0 713 y(the)i(largest)g(v)o(ersion)g(n)o +(um)o(b)q(er)f(that)g(already)h(exists)g(in)f(the)h(\014le)g(system)f +(when)h(read-)0 765 y(ing)i(a)f(\014le,)i(or)f(to)h(a)e(v)o(ersion)i(n) +o(um)o(b)q(er)e(greater)j(than)e(an)o(y)g(already)f(existing)h(in)g +(the)0 817 y(\014le)e(system)f(when)h(writing)f(a)h(new)g(\014le.)23 +b(Some)15 b(Comm)o(on)e(Lisp)i(implemen)o(tors)f(ma)o(y)0 +868 y(c)o(ho)q(ose)j(to)g(de\014ne)g(other)h(sp)q(ecial)e(v)o(ersion)h +(sym)o(b)q(ols.)25 b(Some)15 b(semi-standard)h(names,)0 +920 y(suggested)j(but)f(not)g(required)h(to)f(b)q(e)g(supp)q(orted)h(b) +o(y)f(ev)o(ery)g(Common)d(Lisp)j(imple-)0 972 y(men)o(tation,)d(are)h +Fs(:oldest)p Fw(,)f(to)h(refer)i(to)e(the)h(smallest)e(v)o(ersion)h(n)o +(um)o(b)q(er)g(that)g(exists)0 1024 y(in)f(the)h(\014le)f(system;)g +Fs(:previous)p Fw(,)e(to)i(refer)i(to)e(the)h(v)o(ersion)f(previous)h +(to)f(the)g(new)o(est)0 1076 y(v)o(ersion;)i(and)g Fs(:installed)p +Fw(,)d(to)i(refer)i(to)e(a)g(v)o(ersion)h(that)f(is)h(o\016cially)d +(installed)i(for)0 1128 y(users)e(\(as)g(opp)q(osed)f(to)g(a)g(w)o +(orking)f(or)g(dev)o(elopmen)o(t)g(v)o(ersion\).)18 b(Some)12 +b(Common)e(Lisp)0 1180 y(implemen)o(tors)16 b(ma)o(y)g(also)h(c)o(ho)q +(ose)i(to)f(attac)o(h)g(a)f(meaning)f(to)i(non-p)q(ositiv)o(e)g(v)o +(ersion)0 1232 y(n)o(um)o(b)q(ers)c(\(a)g(t)o(ypical)f(con)o(v)o(en)o +(tion)h(is)g(that)h Fs(0)f Fw(is)g(synon)o(ymous)f(with)g +Fs(:newest)g Fw(and)h Fs(-1)0 1284 y Fw(with)g Fs(:previous)p +Fw(\),)d(but)j(suc)o(h)h(in)o(terpretations)g(are)f(implemen)o(tatio)o +(n-dep)q(enden)o(t.)42 1337 y(The)i(host)h(ma)o(y)e(b)q(e)i(a)f +(string,)h(indicating)e(a)i(\014le)f(system,)h(or)f(a)g(list)g(of)g +(strings,)h(of)0 1389 y(whic)o(h)h(the)h(\014rst)g(names)e(the)i +(\014le)f(system)g(and)g(the)g(rest)i(ma)o(y)c(b)q(e)i(used)h(for)f +(suc)o(h)h(a)0 1441 y(purp)q(ose)c(as)f(in)o(ter-net)o(w)o(ork)g +(routing.)42 1494 y(The)f(device,)g(directory)m(,)g(and)g(name)e(can)i +(eac)o(h)g(b)q(e)h(a)e(string)h(\(with)g(host-dep)q(enden)o(t)-38 +1469 y Fk(.)-38 1482 y(.)-38 1495 y(.)-38 1508 y(.)-38 +1521 y(.)-38 1534 y(.)-38 1547 y(.)-38 1560 y(.)-38 1573 +y(.)-38 1586 y(.)-38 1599 y(.)-38 1612 y(.)-38 1625 y(.)-38 +1638 y(.)-38 1651 y(.)-38 1664 y(.)-38 1677 y(.)-38 1690 +y(.)-38 1703 y(.)-38 1716 y(.)-38 1729 y(.)-38 1741 y(.)-38 +1754 y(.)-38 1767 y(.)-38 1780 y(.)-38 1793 y(.)-38 1806 +y(.)-38 1819 y(.)-38 1832 y(.)-38 1845 y(.)-38 1858 y(.)-38 +1871 y(.)-38 1884 y(.)-38 1897 y(.)-38 1910 y(.)-38 1923 +y(.)-38 1936 y(.)-38 1949 y(.)-38 1962 y(.)-38 1975 y(.)-38 +1988 y(.)-38 2001 y(.)-38 2014 y(.)-38 2027 y(.)-38 2040 +y(.)-38 2053 y(.)-38 2066 y(.)-38 2079 y(.)-38 2092 y(.)-38 +2105 y(.)-38 2118 y(.)-38 2131 y(.)-38 2144 y(.)-38 2157 +y(.)-38 2170 y(.)-38 2183 y(.)-38 2196 y(.)-38 2208 y(.)-38 +2221 y(.)-38 2234 y(.)-38 2247 y(.)-38 2260 y(.)-38 2273 +y(.)-38 2286 y(.)-38 2299 y(.)-38 2312 y(.)-38 2325 y(.)-38 +2338 y(.)-38 2351 y(.)-38 2364 y(.)-38 2377 y(.)-38 2390 +y(.)-38 2403 y(.)-38 2416 y(.)-38 2429 y(.)-38 2442 y(.)-38 +2455 y(.)-38 2468 y(.)-38 2481 y(.)-38 2494 y(.)-38 2507 +y(.)-38 2520 y(.)-38 2533 y(.)-38 2546 y(.)-38 2559 y(.)-38 +2572 y(.)-38 2585 y(.)-38 2598 y(.)-38 2611 y(.)-38 2624 +y(.)-38 2637 y(.)-38 2650 y(.)-38 2663 y(.)-38 2675 y(.)-38 +2688 y(.)-38 2701 y(.)-38 2714 y(.)-38 2727 y(.)-38 2740 +y(.)-38 2753 y(.)-38 2766 y(.)-38 2779 y(.)-38 2792 y(.)-38 +2805 y(.)-38 2818 y(.)-38 2831 y(.)-38 2844 y(.)-38 2857 +y(.)-38 2870 y(.)-38 2883 y(.)-38 2896 y(.)-38 2909 y(.)-38 +2922 y(.)-38 2935 y(.)-38 2948 y(.)-38 2961 y(.)-38 2974 +y(.)-38 2987 y(.)-38 3000 y(.)-38 3013 y(.)-38 3026 y(.)-38 +3039 y(.)-38 3052 y(.)-38 3065 y(.)-38 3078 y(.)-38 3091 +y(.)-38 3104 y(.)-38 3117 y(.)-38 3130 y(.)-38 3142 y(.)-38 +3155 y(.)-38 3168 y(.)-38 3181 y(.)-38 3194 y(.)-38 3207 +y(.)-38 3220 y(.)-38 3233 y(.)-38 3246 y(.)-38 3259 y(.)-38 +3272 y(.)-38 3285 y(.)-38 3298 y(.)-38 3311 y(.)-38 3324 +y(.)-38 3337 y(.)-38 3350 y(.)-38 3363 y(.)-38 3376 y(.)-38 +3389 y(.)-38 3402 y(.)-38 3415 y(.)-38 3428 y(.)-38 3441 +y(.)-38 3454 y(.)-38 3467 y(.)-38 3480 y(.)-38 3493 y(.)-38 +3506 y(.)-38 3519 y(.)-38 3532 y(.)-38 3545 y(.)-38 3558 +y(.)-38 3571 y(.)-38 3584 y(.)-38 3597 y(.)-38 3609 y(.)-38 +3622 y(.)-38 3635 y(.)-38 3648 y(.)-38 3661 y(.)-38 3674 +y(.)-38 3687 y(.)-38 3700 y(.)-38 3713 y(.)-38 3726 y(.)-38 +3739 y(.)-38 3752 y(.)-38 3765 y(.)-38 3778 y(.)-38 3791 +y(.)-38 3804 y(.)-38 3817 y(.)-38 3830 y(.)-38 3843 y(.)-38 +3856 y(.)-38 3869 y(.)-38 3882 y(.)-38 3895 y(.)-38 3908 +y(.)-38 3921 y(.)-38 3934 y(.)-38 3947 y(.)-38 3960 y(.)-38 +3973 y(.)-38 3986 y(.)-38 3999 y(.)-38 4012 y(.)-38 4025 +y(.)-38 4038 y(.)-38 4051 y(.)0 1546 y Fw(rules)h(on)f(allo)o(w)o(ed)e +(c)o(haracters)k(and)e(length\))g(or)g(p)q(ossibly)g(some)f(other)i +(Common)c(Lisp)0 1598 y(data)15 b(structure)i(\(in)e(whic)o(h)g(case)h +(suc)o(h)g(a)f(comp)q(onen)o(t)f(is)h(said)g(to)g(b)q(e)h +Fv(structur)n(e)n(d)e Fw(and)0 1650 y(has)j(an)g(implemen)o(tation-dep) +q(enden)o(t)f(format\).)26 b(Structured)19 b(comp)q(onen)o(ts)e(ma)o(y) +e(b)q(e)0 1702 y(used)g(to)g(handle)f(suc)o(h)h(\014le)g(system)f +(features)h(as)g(hierarc)o(hical)f(directories.)21 b(Common)0 +1754 y(Lisp)12 b(programs)f(do)h(not)h(need)g(to)f(kno)o(w)g(ab)q(out)g +(structured)j(comp)q(onen)o(ts)d(unless)h(they)0 1805 +y(do)g(host-dep)q(enden)o(t)j(op)q(erations.)i(Sp)q(ecifying)c(a)f +(string)h(as)g(a)f(pathname)f(comp)q(onen)o(t)0 1857 +y(for)j(a)g(host)g(that)h(requires)g(a)f(structured)i(comp)q(onen)o(t)e +(will)f(cause)i(con)o(v)o(ersion)f(of)g(the)0 1909 y(string)f(to)g(the) +g(appropriate)g(form.)-33 1921 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1963 a(X3J13)h(v)o(oted)h(in)f(June)i(1989)e +Ft(h)p Fw(133)p Ft(i)g Fw(to)h(de\014ne)g(a)g(sp)q(eci\014c)h(format)d +(for)i(structured)-33 1934 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2014 a(directories)f(\(see)g(section)g(23.1.3\).)-33 +2026 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2068 a(X3J13)e(v)o(oted)g(in)g(June)i(1989)d +Ft(h)p Fw(129)p Ft(i)h Fw(to)g(appro)o(v)o(e)h(the)g(follo)o(wing)d +(clari\014cations)i(and)-33 2039 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2120 a(sp)q(eci\014cations)h(of)e(precisely)i(what)f +(are)g(v)n(alid)e(v)n(alues)i(for)f(the)i(v)n(arious)e(comp)q(onen)o +(ts)g(of)0 2172 y(a)i(pathname.)42 2225 y(P)o(athname)f(comp)q(onen)o +(t)i(v)n(alue)f(strings)i(nev)o(er)g(con)o(tain)f(the)g(punctuation)g +(c)o(harac-)0 2277 y(ters)f(that)e(are)h(used)h(to)e(separate)i +(\014elds)f(in)f(a)g(namestring)g(\(for)g(example,)f(slashes)j(and)0 +2329 y(p)q(erio)q(ds)f(as)f(used)h(in)e(UNIX)i(\014le)f(systems\).)17 +b(Punctuation)c(c)o(haracters)g(app)q(ear)g(only)e(in)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 666 690 +666 689 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(666)77 b(COMMON)13 +b(LISP)0 295 y Fw(namestrings.)21 b(Characters)c(used)f(as)g +(punctuation)f(can)h(app)q(ear)f(in)g(pathname)f(com-)0 +347 y(p)q(onen)o(t)f(v)n(alues)e(with)h(a)g(non-punctuation)g(meaning)e +(if)i(the)g(\014le)g(system)g(allo)o(ws)f(it)h(\(for)0 +399 y(example,)g(UNIX)i(\014le)g(systems)g(allo)o(w)f(a)g(\014le)h +(name)f(to)g(b)q(egin)h(with)g(a)f(p)q(erio)q(d\).)42 +451 y(When)d(examining)d(pathname)i(comp)q(onen)o(ts,)h(conforming)e +(programs)h(m)o(ust)g(b)q(e)h(pre-)0 503 y(pared)k(to)g(encoun)o(ter)i +(an)o(y)d(of)g(the)i(follo)o(wing)c(siutations:)0 570 +y Fu(.)42 579 y Fw(An)o(y)19 b(comp)q(onen)o(t)g(can)i(b)q(e)f +Fs(nil)p Fw(,)g(whic)o(h)g(means)f(the)i(comp)q(onen)o(t)e(has)h(not)g +(b)q(een)42 631 y(sp)q(eci\014ed.)0 710 y Fu(.)42 719 +y Fw(An)o(y)14 b(comp)q(onen)o(t)g(can)h(b)q(e)g Fs(:unspecific)p +Fw(,)d(whic)o(h)i(means)g(the)h(comp)q(onen)o(t)f(has)h(no)42 +771 y(meaning)d(in)h(this)h(particular)g(pathname.)0 +850 y Fu(.)42 859 y Fw(The)g(device,)g(directory)m(,)g(name,)e(and)i(t) +o(yp)q(e)g(can)g(b)q(e)h(strings.)0 938 y Fu(.)42 946 +y Fw(The)f(host)g(can)g(b)q(e)h(an)o(y)e(ob)r(ject,)h(at)g(the)g +(discretion)h(of)e(the)i(implem)o(en)o(tation.)0 1025 +y Fu(.)42 1034 y Fw(The)20 b(directory)h(can)g(b)q(e)g(a)f(list)g(of)f +(strings)i(and)f(sym)o(b)q(ols)f(as)i(describ)q(ed)h(in)e(sec-)42 +1086 y(tion)13 b(23.1.3.)0 1165 y Fu(.)42 1174 y Fw(The)h(v)o(ersion)g +(can)g(b)q(e)g(an)o(y)f(sym)o(b)q(ol)f(or)i(an)o(y)f(in)o(teger.)19 +b(The)14 b(sym)o(b)q(ol)e Fs(:newest)g Fw(refers)42 1226 +y(to)k(the)i(largest)e(v)o(ersion)h(n)o(um)o(b)q(er)f(that)h(already)g +(exists)g(in)g(the)g(\014le)g(system)f(when)42 1278 y(reading,)e(o)o(v) +o(erwriting,)f(app)q(ending,)i(sup)q(erseding,)g(or)g +(directory-listing)f(an)h(exist-)42 1330 y(ing)f(\014le;)i(it)g(refers) +h(to)e(the)i(smallest)d(v)o(ersion)i(n)o(um)o(b)q(er)f(greater)h(than)g +(an)o(y)f(existing)42 1382 y(v)o(ersion)e(n)o(um)o(b)q(er)g(when)h +(creating)g(a)f(new)h(\014le.)k(Other)c(sym)o(b)q(ols)e(and)i(in)o +(tegers)g(ha)o(v)o(e)42 1433 y(implem)o(en)o(tation-de\014ned)i +(meaning.)30 b(It)18 b(is)g(suggested,)i(but)f(not)f(required,)i(that) +42 1485 y(implem)o(en)o(tations)e(use)k(p)q(ositiv)o(e)f(in)o(tegers)h +(starting)f(at)g(1)f(as)h(v)o(ersion)h(n)o(um)o(b)q(ers,)42 +1537 y(recognize)e(the)g(sym)o(b)q(ol)d Fs(:oldest)h +Fw(to)h(designate)h(the)g(smallest)e(existing)h(v)o(ersion)42 +1589 y(n)o(um)o(b)q(er,)12 b(and)i(use)h(k)o(eyw)o(ord)f(sym)o(b)q(ols) +e(for)h(other)i(sp)q(ecial)f(v)o(ersions.)42 1665 y(When)d(examining)d +(wildcard)j(comp)q(onen)o(ts)g(of)f(a)h(wildcard)g(pathname,)f +(conforming)0 1717 y(programs)f(m)o(ust)g(b)q(e)i(prepared)h(to)e +(encoun)o(ter)i(an)o(y)d(of)h(the)h(follo)o(wing)d(additional)g(v)n +(alues)0 1769 y(in)13 b(an)o(y)h(comp)q(onen)o(t)f(or)h(an)o(y)f +(elemen)o(t)h(of)f(a)g(list)h(that)g(is)g(the)g(directory)h(comp)q +(onen)o(t:)0 1836 y Fu(.)42 1845 y Fw(The)f(sym)o(b)q(ol)e +Fs(:wild)p Fw(,)g(whic)o(h)i(matc)o(hes)g(an)o(ything.)0 +1924 y Fu(.)42 1933 y Fw(A)e(string)h(con)o(taining)f(implem)o(en)o +(tation-dep)q(enden)o(t)f(sp)q(ecial)i(wildcard)f(c)o(haracters.)0 +2012 y Fu(.)42 2021 y Fw(An)o(y)h(ob)r(ject,)i(represen)o(ting)g(an)f +(implem)o(en)o(tation-dep)q(enden)o(t)f(wildcard)g(pattern.)42 +2097 y(When)20 b(constructing)g(a)g(pathname)f(from)f(comp)q(onen)o +(ts,)i(conforming)e(programs)0 2149 y(m)o(ust)13 b(follo)o(w)f(these)j +(rules:)0 2216 y Fu(.)42 2225 y Fw(An)o(y)j(comp)q(onen)o(t)g(ma)o(y)f +(b)q(e)j Fs(nil)p Fw(.)32 b(Sp)q(ecifying)18 b Fs(nil)g +Fw(for)h(the)g(host)g(ma)o(y)m(,)e(in)i(some)42 2277 +y(implem)o(en)o(tations,)13 b(result)k(in)e(using)h(a)g(default)f(host) +h(rather)h(than)f(an)g(actual)f Fs(nil)42 2329 y Fw(v)n(alue.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 667 691 +667 690 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(667)0 286 y Fu(.)42 295 y Fw(The)19 b(host,)i(device,)g +(directory)m(,)f(name,)f(and)g(t)o(yp)q(e)h(ma)o(y)d(b)q(e)j(strings.) +35 b(There)20 b(are)42 347 y(implem)o(en)o(tation-dep)q(enden)o(t)13 +b(limits)g(on)h(the)h(n)o(um)o(b)q(er)f(and)h(t)o(yp)q(e)g(of)f(c)o +(haracters)i(in)42 399 y(these)g(strings.)22 b(A)15 b(plausible)f +(assumption)g(is)h(that)g(letters)h(\(of)e(a)h(single)g(case\))h(and)42 +450 y(digits)d(are)h(acceptable)h(to)f(most)e(\014le)i(systems.)0 +669 y Fu(.)42 678 y Fw(The)19 b(directory)h(ma)o(y)e(b)q(e)h(a)g(list)g +(of)g(strings)h(and)f(sym)o(b)q(ols)e(as)j(describ)q(ed)h(in)e(sec-)42 +730 y(tion)13 b(23.1.3.)19 b(There)c(are)g(implemen)o(tation-)o(dep)q +(enden)o(t)f(limits)e(on)i(the)h(length)g(and)42 781 +y(con)o(ten)o(ts)f(of)g(the)g(list.)0 1000 y Fu(.)42 +1009 y Fw(The)g(v)o(ersion)g(ma)o(y)e(b)q(e)i Fs(:newest)p +Fw(.)0 1227 y Fu(.)42 1236 y Fw(An)o(y)j(comp)q(onen)o(t)g(ma)o(y)f(b)q +(e)j(tak)o(en)f(from)e(the)i(corresp)q(onding)h(comp)q(onen)o(t)e(of)g +(an-)42 1288 y(other)c(pathname.)j(When)d(the)g(t)o(w)o(o)f(pathnames)f +(are)i(for)f(di\013eren)o(t)i(\014le)e(systems)h(\(in)42 +1340 y(implem)o(en)o(tations)e(that)j(supp)q(ort)g(m)o(ultiple)d +(\014le)j(systems\),)f(an)h(appropriate)f(trans-)42 1392 +y(lation)f(o)q(ccurs.)20 b(If)13 b(no)h(meaningful)e(translation)h(is)h +(p)q(ossible,)f(an)h(error)h(is)f(signaled.)42 1444 y(The)21 +b(de\014nitions)h(of)f(\\appropriate")g(and)g(\\meaningful")e(are)i +(implemen)o(tation-)42 1496 y(dep)q(enden)o(t.)0 1714 +y Fu(.)42 1723 y Fw(When)15 b(constructing)i(a)e(wildcard)h(pathname,)e +(the)j(name,)d(t)o(yp)q(e,)i(or)g(v)o(ersion)g(ma)o(y)42 +1775 y(b)q(e)e Fs(:wild)p Fw(,)e(whic)o(h)i(matc)o(hes)g(an)o(ything.)0 +1993 y Fu(.)42 2002 y Fw(An)d(implemen)o(tation)e(migh)o(t)g(supp)q +(ort)k(other)g(v)n(alues)e(for)h(some)f(comp)q(onen)o(ts,)g(but)h(a)42 +2054 y(p)q(ortable)i(program)f(should)h(not)h(use)g(those)g(v)n(alues.) +20 b(A)14 b(conforming)f(program)g(can)42 2106 y(use)19 +b(implem)o(en)o(tation-dep)q(enden)o(t)e(v)n(alues)h(but)g(this)g(can)h +(mak)o(e)e(it)g(non-p)q(ortable;)42 2158 y(for)c(example,)f(it)i(migh)o +(t)d(w)o(ork)j(only)f(with)h(UNIX)g(\014le)g(systems.)-33 +2169 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 175 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 668 692 +668 691 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(668)77 b(COMMON)13 +b(LISP)42 295 y Fw(The)k(b)q(est)h(w)o(a)o(y)e(to)h(compare)f(t)o(w)o +(o)h(pathnames)f(for)g(equalit)o(y)g(is)h(with)g Fs(equal)p +Fw(,)f(not)0 347 y Fs(eql)p Fw(.)j(\(On)14 b(pathnames,)g +Fs(eql)f Fw(is)h(simply)f(the)i(same)e(as)i Fs(eq)p Fw(.\))k(Tw)o(o)13 +b(pathname)h(ob)r(jects)0 399 y(are)h Fs(equal)e Fw(if)h(and)h(only)e +(if)h(all)f(the)i(corresp)q(onding)h(comp)q(onen)o(ts)e(\(host,)h +(device,)g(and)0 450 y(so)i(on\))f(are)h(equiv)n(alen)o(t.)26 +b(\(Whether)18 b(or)e(not)h(upp)q(ercase)i(and)d(lo)o(w)o(ercase)h +(letters)h(are)0 502 y(considered)d(equiv)n(alen)o(t)e(in)h(strings)g +(app)q(earing)g(in)f(comp)q(onen)o(ts)g(dep)q(ends)j(on)d(the)i(\014le) +0 554 y(name)g(con)o(v)o(en)o(tions)i(of)f(the)h(\014le)f(system.\))26 +b(P)o(athnames)16 b(that)g(are)h Fs(equal)f Fw(should)g(b)q(e)0 +606 y(functionally)c(equiv)n(alen)o(t.)42 658 y(Some)17 +b(host)i(\014le)g(systems)g(ha)o(v)o(e)g(features)h(that)f(do)g(not)g +(\014t)g(in)o(to)f(this)h(pathname)-38 633 y Fk(.)-38 +646 y(.)-38 659 y(.)-38 672 y(.)-38 685 y(.)-38 698 y(.)-38 +711 y(.)-38 724 y(.)-38 737 y(.)-38 750 y(.)-38 763 y(.)-38 +776 y(.)-38 789 y(.)-38 802 y(.)-38 815 y(.)-38 828 y(.)-38 +840 y(.)-38 853 y(.)-38 866 y(.)-38 879 y(.)-38 892 y(.)-38 +905 y(.)-38 918 y(.)-38 931 y(.)-38 944 y(.)-38 957 y(.)-38 +970 y(.)-38 983 y(.)-38 996 y(.)-38 1009 y(.)-38 1022 +y(.)-38 1035 y(.)-38 1048 y(.)-38 1061 y(.)-38 1074 y(.)-38 +1087 y(.)-38 1100 y(.)-38 1113 y(.)-38 1126 y(.)-38 1139 +y(.)-38 1152 y(.)-38 1165 y(.)-38 1178 y(.)-38 1191 y(.)-38 +1204 y(.)-38 1217 y(.)-38 1230 y(.)-38 1243 y(.)-38 1256 +y(.)-38 1269 y(.)-38 1282 y(.)-38 1295 y(.)-38 1307 y(.)-38 +1320 y(.)-38 1333 y(.)-38 1346 y(.)-38 1359 y(.)-38 1372 +y(.)-38 1385 y(.)-38 1398 y(.)-38 1411 y(.)-38 1424 y(.)-38 +1437 y(.)-38 1450 y(.)-38 1463 y(.)-38 1476 y(.)-38 1489 +y(.)-38 1502 y(.)-38 1515 y(.)-38 1528 y(.)-38 1541 y(.)-38 +1554 y(.)-38 1567 y(.)-38 1580 y(.)-38 1593 y(.)-38 1606 +y(.)-38 1619 y(.)-38 1632 y(.)-38 1645 y(.)-38 1658 y(.)-38 +1671 y(.)-38 1684 y(.)-38 1697 y(.)-38 1710 y(.)-38 1723 +y(.)-38 1736 y(.)-38 1749 y(.)-38 1762 y(.)-38 1774 y(.)-38 +1787 y(.)-38 1800 y(.)-38 1813 y(.)-38 1826 y(.)-38 1839 +y(.)-38 1852 y(.)-38 1865 y(.)-38 1878 y(.)-38 1891 y(.)-38 +1904 y(.)-38 1917 y(.)-38 1930 y(.)-38 1943 y(.)-38 1956 +y(.)-38 1969 y(.)-38 1982 y(.)-38 1995 y(.)-38 2008 y(.)-38 +2021 y(.)-38 2034 y(.)-38 2047 y(.)-38 2060 y(.)-38 2073 +y(.)-38 2086 y(.)-38 2099 y(.)-38 2112 y(.)-38 2125 y(.)-38 +2138 y(.)-38 2151 y(.)-38 2164 y(.)-38 2177 y(.)-38 2190 +y(.)-38 2203 y(.)-38 2216 y(.)-38 2229 y(.)-38 2241 y(.)-38 +2254 y(.)-38 2267 y(.)-38 2280 y(.)-38 2293 y(.)-38 2306 +y(.)-38 2319 y(.)-38 2332 y(.)-38 2345 y(.)-38 2358 y(.)-38 +2371 y(.)-38 2384 y(.)-38 2397 y(.)-38 2410 y(.)-38 2423 +y(.)-38 2436 y(.)-38 2449 y(.)-38 2462 y(.)-38 2475 y(.)-38 +2488 y(.)-38 2501 y(.)-38 2514 y(.)-38 2527 y(.)-38 2540 +y(.)-38 2553 y(.)-38 2566 y(.)-38 2579 y(.)-38 2592 y(.)-38 +2605 y(.)-38 2618 y(.)-38 2631 y(.)-38 2644 y(.)-38 2657 +y(.)-38 2670 y(.)-38 2683 y(.)-38 2696 y(.)-38 2708 y(.)-38 +2721 y(.)-38 2734 y(.)-38 2747 y(.)-38 2760 y(.)-38 2773 +y(.)-38 2786 y(.)-38 2799 y(.)-38 2812 y(.)-38 2825 y(.)-38 +2838 y(.)-38 2851 y(.)-38 2864 y(.)-38 2877 y(.)-38 2890 +y(.)-38 2903 y(.)-38 2916 y(.)-38 2929 y(.)-38 2942 y(.)-38 +2955 y(.)-38 2968 y(.)-38 2981 y(.)-38 2994 y(.)-38 3007 +y(.)-38 3020 y(.)-38 3033 y(.)-38 3046 y(.)-38 3059 y(.)-38 +3072 y(.)-38 3085 y(.)-38 3098 y(.)-38 3111 y(.)-38 3124 +y(.)-38 3137 y(.)-38 3150 y(.)-38 3163 y(.)-38 3175 y(.)-38 +3188 y(.)-38 3201 y(.)-38 3214 y(.)0 710 y Fw(mo)q(del.)k(F)m(or)16 +b(instance,)h(directories)g(migh)o(t)d(b)q(e)j(accessible)g(as)g +(\014les;)g(there)g(migh)o(t)d(b)q(e)0 762 y(complicated)e(structure)j +(in)d(the)i(directories)g(or)f(names;)f(or)h(there)h(migh)o(t)d(b)q(e)i +(a)g(w)o(a)o(y)f(to)0 814 y(sp)q(ecify)k(a)g(directory)g(relativ)o(e)f +(to)h(a)f(\\curren)o(t")i(directory)m(,)f(suc)o(h)g(as)g(the)g +Fs(<)g Fw(syn)o(tax)f(in)0 866 y(MUL)m(TICS)9 b(or)h(the)g(sp)q(ecial)f +(\\)p Fs(..)p Fw(")g(\014le)h(name)e(of)h(UNIX.)g(Suc)o(h)h(features)h +(are)f(not)f(allo)o(w)o(ed)0 917 y(for)j(b)o(y)f(the)i(standard)f +(Common)c(Lisp)k(\014le)g(system)g(in)o(terface.)18 b(An)12 +b(implem)o(en)o(tation)d(is)0 969 y(free)i(to)g(accommo)q(date)d(suc)o +(h)k(features)f(in)f(its)h(pathname)e(represen)o(tation)j(and)f(pro)o +(vide)0 1021 y(a)18 b(parser)i(that)f(can)g(pro)q(cess)i(suc)o(h)e(sp)q +(eci\014cations)h(in)e(namestrings;)i(suc)o(h)g(features)0 +1073 y(are)g(then)f(lik)o(ely)f(to)h(w)o(ork)g(within)g(that)g(single)g +(implem)o(en)o(tation.)31 b(Ho)o(w)o(ev)o(er,)20 b(note)0 +1125 y(that)d(once)g(a)f(program)f(dep)q(ends)j(explicitly)e(on)g(an)o +(y)g(suc)o(h)h(features,)h(it)f(will)e(not)h(b)q(e)0 +1177 y(p)q(ortable.)-33 1189 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1229 a(X3J13)f(v)o(oted)h(in)f(June)i(1989)e +Ft(h)p Fw(133)p Ft(i)g Fw(to)h(de\014ne)g(a)g(sp)q(eci\014c)h(format)d +(for)i(structured)-33 1200 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1281 a(directories)11 b(\(see)h(section)f(23.1.3\),)d +(so)j(some)e(of)g(the)i(sp)q(eci\014c)h(examples)d(in)h(the)g(previous) +0 1333 y(paragraph)k(no)f(longer)h(apply)m(,)e(but)i(the)h(principle)e +(is)h(still)f(correct.)-33 1344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1469 a Fo(23.1.2.)20 b(Case)15 b(Con)n(v)n(en)n(tions) +-33 1435 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1550 a Fw(Issues)k(of)e(alphab)q(etic)g(case)h(in)f +(pathnames)g(are)g(a)g(ma)r(jor)f(source)j(of)d(problems.)28 +b(In)0 1602 y(some)10 b(\014le)h(systems,)g(the)g(customary)g(case)g +(is)g(lo)o(w)o(ercase,)h(in)e(some)g(upp)q(ercase,)j(in)e(some)0 +1654 y(mixed.)21 b(Some)14 b(\014le)h(systems)h(are)f(case-sensitiv)o +(e)i(\(that)f(is,)f(they)h(treat)g Fs(FOO)e Fw(and)h +Fs(foo)0 1706 y Fw(as)f(di\013eren)o(t)h(\014le)f(names\))f(and)h +(others)h(are)f(not.)42 1758 y(There)j(are)g(t)o(w)o(o)f(kinds)g(of)g +(pathname)f(case)i(p)q(ortabilit)o(y)e(problems:)22 b(mo)o(ving)14 +b(pro-)0 1810 y(grams)e(from)g(one)i(Common)c(Lisp)k(to)f(another,)h +(and)f(mo)o(ving)e(pathname)h(comp)q(onen)o(t)0 1862 +y(v)n(alues)f(from)e(one)i(\014le)g(system)g(to)g(another.)18 +b(The)11 b(solution)f(to)h(the)h(\014rst)g(problem)d(is)i(the)0 +1914 y(requiremen)o(t)k(that)h(all)e(Common)e(Lisp)k(implem)o(en)o +(tations)d(that)i(supp)q(ort)i(a)e(particu-)0 1966 y(lar)e(\014le)h +(system)f(m)o(ust)g(use)h(compatible)e(represen)o(tations)k(for)d +(pathname)f(comp)q(onen)o(t)0 2017 y(v)n(alues.)18 b(The)c(solution)f +(to)g(the)i(second)f(problem)f(is)g(the)i(use)f(of)f(a)h(common)d +(represen-)0 2069 y(tation)17 b(for)g(the)i(least-common-denom)o(i)o +(nator)c(pathname)h(comp)q(onen)o(t)h(v)n(alues)h(that)0 +2121 y(exist)c(on)g(all)f(in)o(teresting)h(\014le)g(systems.)42 +2173 y(Requiring)c(a)g(common)e(represen)o(tation)13 +b(directly)e(con\015icts)h(with)e(the)i(desire)g(among)0 +2225 y(programmers)f(that)h(use)h(only)f(one)h(\014le)f(system)g(to)h +(w)o(ork)f(with)g(the)h(lo)q(cal)f(con)o(v)o(en)o(tions)0 +2277 y(and)j(to)g(ignore)g(issues)h(of)e(p)q(orting)h(to)g(other)h +(\014le)f(systems.)22 b(The)15 b(common)e(represen-)0 +2329 y(tation)g(cannot)h(b)q(e)h(the)f(same)f(as)h(lo)q(cal)f(\(v)n +(arying\))g(con)o(v)o(en)o(tions.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 669 693 +669 692 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(669)42 295 y Fw(X3J13)20 b(v)o(oted)h(in)f(June)i(1989)e +Ft(h)p Fw(128)p Ft(i)g Fw(to)h(add)f(a)h(k)o(eyw)o(ord)f(argumen)o(t)g +Fs(:case)g Fw(to)0 347 y(eac)o(h)i(of)e(the)i(functions)g +Fs(make-pathname)p Fw(,)d Fs(pathname-host)p Fw(,)h Fs(pathname-device) +p Fw(,)0 399 y Fs(pathname-director)o(y)p Fw(,)e Fs(pathname-name)p +Fw(,)h(and)h Fs(pathname-type)p Fw(.)34 b(The)20 b(p)q(ossible)0 +450 y(v)n(alues)14 b(for)f(the)i(argumen)o(t)d(are)j +Fs(:common)d Fw(and)i Fs(:local)p Fw(.)j(The)d(default)f(is)h +Fs(:local)p Fw(.)42 503 y(The)g(v)n(alue)g Fs(:local)f +Fw(means)g(that)h(strings)h(giv)o(en)e(to)h Fs(make-pathname)e +Fw(or)i(returned)0 555 y(b)o(y)k(an)o(y)g(of)g(the)h(pathname)e(comp)q +(onen)o(t)h(accessors)j(follo)o(w)16 b(the)j(lo)q(cal)f(\014le)g +(system's)0 607 y(con)o(v)o(en)o(tions)13 b(for)f(alphab)q(etic)h +(case.)18 b(Strings)13 b(giv)o(en)f(to)h Fs(make-pathname)c +Fw(will)j(b)q(e)h(used)0 659 y(exactly)k(as)g(written)h(if)f(the)g +(\014le)g(system)g(supp)q(orts)i(b)q(oth)e(cases.)29 +b(If)17 b(the)h(\014le)f(system)0 711 y(supp)q(orts)e(only)e(one)h +(case,)h(the)f(strings)g(will)f(b)q(e)h(translated)h(to)f(that)f(case.) +42 764 y(The)f(v)n(alue)f Fs(:common)g Fw(means)g(that)h(strings)g(giv) +o(en)g(to)g Fs(make-pathname)d Fw(or)j(returned)0 816 +y(b)o(y)g(an)o(y)g(of)g(the)h(pathname)e(comp)q(onen)o(t)h(accessors)j +(follo)o(w)10 b(this)j(common)d(con)o(v)o(en)o(tion:)0 +890 y Fu(.)42 899 y Fw(All)j(upp)q(ercase)i(means)f(that)f(a)h(\014le)g +(system's)g(customary)f(case)i(will)d(b)q(e)i(used.)-33 +871 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 985 a Fu(.)42 994 y Fw(All)f(lo)o(w)o(ercase)h(means)f +(that)h(the)h(opp)q(osite)f(of)f(the)h(customary)g(case)g(will)f(b)q(e) +h(used.)0 1079 y Fu(.)42 1088 y Fw(Mixed)f(case)i(represen)o(ts)i +(itself.)0 1171 y(Upp)q(ercase)f(is)f(used)g(as)f(the)h(common)d(case)j +(for)f(no)g(b)q(etter)i(reason)f(than)f(consistency)0 +1223 y(with)g(Lisp)g(sym)o(b)q(ols.)k(The)d(second)h(and)e(third)g(p)q +(oin)o(ts)h(allo)o(w)d(translation)i(from)f(lo)q(cal)0 +1275 y(represen)o(tation)h(to)e(common)e(and)i(bac)o(k)h(to)f(b)q(e)h +(information-preserving.)j(\(Note)d(that)0 1327 y(translation)e(from)f +(common)f(to)j(lo)q(cal)f(represen)o(tation)i(and)f(bac)o(k)g(ma)o(y)e +(or)h(ma)o(y)f(not)i(b)q(e)0 1379 y(information-preserving,)f(dep)q +(ending)j(on)f(the)h(nature)g(of)f(the)h(lo)q(cal)e(represen)o +(tation.\))42 1432 y(Namestrings)h(alw)o(a)o(ys)g(use)h +Fs(:local)f Fw(\014le)h(system)f(case)i(con)o(v)o(en)o(tions.)42 +1485 y(Finally)m(,)d Fs(merge-pathnames)g Fw(and)j Fs +(translate-pathname)d Fw(map)h(customary)i(case)0 1537 +y(in)e(the)i(input)f(pathnames)f(in)o(to)g(customary)g(case)i(in)e(the) +i(output)f(pathname.)42 1590 y(Examples)e(of)i(p)q(ossible)g(use)g(of)g +(this)g(con)o(v)o(en)o(tion:)0 1664 y Fu(.)42 1673 y +Fw(TOPS-20)i(is)h(case-sensitiv)o(e)h(and)f(prefers)h(upp)q(ercase,)h +(translating)d(lo)o(w)o(ercase)i(to)-33 1644 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 42 1725 a(upp)q(ercase)12 b(unless)g(escap)q(ed)h(with)591 +1729 y Fn(^)615 1725 y Fs(V)p Fw(;)d(for)g(a)h(TOPS-20{based)g(\014le)g +(system,)g(a)g(Com-)42 1777 y(mon)h(Lisp)h(implemen)o(tation)e(should)i +(use)i(iden)o(tical)e(represen)o(tations)j(for)e(common)42 +1828 y(and)f(lo)q(cal.)0 1914 y Fu(.)42 1923 y Fw(UNIX)c(is)g +(case-sensitiv)o(e)i(and)e(prefers)i(lo)o(w)o(ercase;)g(for)e(a)g +(UNIX-based)h(\014le)f(system,)h(a)42 1975 y(Comm)o(on)g(Lisp)j +(implemen)o(tatio)o(n)d(should)j(translate)g(b)q(et)o(w)o(een)i(common) +10 b(and)j(lo)q(cal)42 2027 y(represen)o(tations)i(b)o(y)f(in)o(v)o +(erting)f(the)i(case)g(of)e(non-mixed-case)g(strings.)0 +2112 y Fu(.)42 2121 y Fw(V)-5 b(AX/VMS)11 b(is)f(upp)q(ercase-only)i +(\(that)f(is,)g(the)g(\014le)g(system)f(translates)i(all)d(\014le)i +(name)42 2173 y(argumen)o(ts)16 b(to)i(upp)q(ercase\);)j(for)c(a)g(V)-5 +b(AX/VMS-based)19 b(\014le)f(system,)g(a)f(Common)42 +2225 y(Lisp)g(implemen)o(tation)d(should)k(translate)g(common)d +(represen)o(tation)k(to)f(lo)q(cal)f(b)o(y)42 2277 y(con)o(v)o(erting)e +(to)g(upp)q(ercase)j(and)d(should)g(translate)h(lo)q(cal)f(represen)o +(tation)i(to)e(com-)42 2329 y(mon)d(with)h(no)h(c)o(hange.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 670 694 +670 693 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(670)77 b(COMMON)13 +b(LISP)0 286 y Fu(.)42 295 y Fw(The)j(Macin)o(tosh)g(op)q(erating)g +(system)f(is)h(case-insensitiv)o(e)h(and)f(prefers)i(lo)o(w)o(ercase,) +42 347 y(but)j(remem)o(b)q(ers)h(the)g(cases)h(of)e(letters)i(actually) +e(used)h(to)g(name)e(a)i(\014le;)j(for)c(a)42 399 y(Macin)o(tosh-based) +12 b(\014le)g(system,)f(a)h(Comm)o(on)d(Lisp)j(implem)o(en)o(tation)d +(should)i(trans-)42 450 y(late)19 b(b)q(et)o(w)o(een)i(common)16 +b(and)j(lo)q(cal)g(represen)o(tations)i(b)o(y)e(in)o(v)o(erting)g(the)h +(case)g(of)42 502 y(non-mixed-case)15 b(strings)h(and)g(should)g +(ignore)g(case)h(when)f(determining)f(whether)42 554 +y(t)o(w)o(o)e(pathnames)g(are)h Fs(equal)p Fw(.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 671 695 +671 694 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(671)42 295 y Fw(Here)20 b(are)f(some)f(examples)g(of)g(this)h +(b)q(eha)o(vior.)32 b(Assume)19 b(that)g(the)g(host)g +Fs(T)g Fw(runs)0 347 y(TOPS-20,)14 b Fs(U)g Fw(runs)i(UNIX,)e +Fs(V)g Fw(runs)i(V)-5 b(AX/VMS,)15 b(and)f Fs(M)g Fw(runs)i(the)f +(Macin)o(tosh)f(op)q(er-)0 399 y(ating)f(system.)0 489 +y Fs(;;;)21 b(Returns)e(two)i(values:)f(the)g(PATHNAME-NAME)f(from)h(a) +h(namestring)0 541 y(;;;)g(in)f(:COMMON)g(and)h(:LOCAL)f +(representations)e(\(in)i(that)g(order\).)0 592 y(\(defun)g +(pathname-example)e(\(name\))42 644 y(\(let)j(\(\(path)f +(\(parse-namestrin)o(g)e(name\)\)\)\))85 696 y(\(values)h +(\(pathname-name)g(path)h(:case)g(:common\))254 748 y(\(pathname-name)e +(path)j(:case)f(:local\)\)\)\))974 852 y(;)p Fw(Commo)o(n)29 +b(Lo)q(cal)0 904 y Fs(\(pathname-example)18 b("T:FOO.LISP")o(\))167 +b Ft(\))20 b Fs("FOO")g Fw(and)h Fs("FOO")0 956 y(\(pathname-example)d +("T:foo.LISP")o(\))167 b Ft(\))20 b Fs("FOO")g Fw(and)h +Fs("FOO")0 1008 y(\(pathname-example)d("T:)544 1012 +y Fn(^)565 1008 y Fs(Vf)607 1012 y Fn(^)630 1008 y Fs(Vo)672 +1012 y Fn(^)695 1008 y Fs(Vo.LISP"\))40 b Ft(\))21 b +Fs("foo")f Fw(and)h Fs("foo")0 1059 y(\(pathname-example)d +("T:TeX.LISP")o(\))167 b Ft(\))20 b Fs("TEX")g Fw(and)h +Fs("TEX")0 1111 y(\(pathname-example)d("T:T)566 1115 +y Fn(^)587 1111 y Fs(VeX.LISP"\))125 b Ft(\))21 b Fs("TeX")f +Fw(and)h Fs("TeX")0 1163 y(\(pathname-example)d("U:/me/FOO.lisp")o(\)) +167 b Ft(\))20 b Fs("foo")g Fw(and)h Fs("FOO")0 1215 +y(\(pathname-example)d("U:/me/foo.lisp")o(\))167 b Ft(\))20 +b Fs("FOO")g Fw(and)h Fs("foo")0 1267 y(\(pathname-example)d +("U:/me/TeX.lisp")o(\))167 b Ft(\))20 b Fs("TeX")g Fw(and)h +Fs("TeX")0 1319 y(\(pathname-example)d("V:[me]FOO.LISP")o(\))167 +b Ft(\))20 b Fs("FOO")g Fw(and)h Fs("FOO")0 1371 y(\(pathname-example)d +("V:[me]foo.LISP")o(\))167 b Ft(\))20 b Fs("FOO")g Fw(and)h +Fs("FOO")0 1423 y(\(pathname-example)d("V:[me]TeX.LISP")o(\))167 +b Ft(\))20 b Fs("TEX")g Fw(and)h Fs("TEX")0 1474 y(\(pathname-example)d +("M:FOO.LISP"\))251 b Ft(\))21 b Fs("foo")f Fw(and)h +Fs("FOO")0 1526 y(\(pathname-example)d("M:foo.LISP"\))251 +b Ft(\))21 b Fs("FOO")f Fw(and)h Fs("foo")0 1578 y(\(pathname-example)d +("M:TeX.LISP"\))251 b Ft(\))21 b Fs("TeX")f Fw(and)h +Fs("TeX")0 1668 y Fw(The)15 b(follo)o(wing)d(example)h(illustrates)i +(the)g(creation)g(of)f(new)h(pathnames.)k(The)c(name)0 +1720 y(is)c(con)o(v)o(erted)i(from)c(common)g(represen)o(tation)k(to)e +(lo)q(cal)f(b)q(ecause)j(namestrings)e(alw)o(a)o(ys)0 +1772 y(use)k(lo)q(cal)e(con)o(v)o(en)o(tions.)0 1862 +y Fs(\(defun)20 b(make-pathname-exa)o(mple)e(\(h)j(n\))42 +1914 y(\(namestring)e(\(make-pathname)g(:host)h(h)h(:name)f(n)h(:case)f +(:common\)\))0 2017 y(\(make-pathname-ex)o(ample)e("T")i("FOO"\))g +Ft(\))h Fs("T:FOO")0 2069 y(\(make-pathname-ex)o(ample)d("T")i("foo"\)) +g Ft(\))h Fs("T:)866 2073 y Fn(^)888 2069 y Fs(Vf)930 +2073 y Fn(^)953 2069 y Fs(Vo)995 2073 y Fn(^)1018 2069 +y Fs(Vo")0 2121 y(\(make-pathname-ex)o(ample)d("T")i("TeX"\))g +Ft(\))h Fs("T:T)888 2125 y Fn(^)910 2121 y Fs(VeX")0 +2173 y(\(make-pathname-ex)o(ample)d("U")i("FOO"\))g Ft(\))h +Fs("U:foo")0 2225 y(\(make-pathname-ex)o(ample)d("U")i("foo"\))g +Ft(\))h Fs("U:FOO")0 2277 y(\(make-pathname-ex)o(ample)d("U")i("TeX"\)) +g Ft(\))h Fs("U:TeX")0 2329 y(\(make-pathname-ex)o(ample)d("V")i +("FOO"\))g Ft(\))h Fs("V:FOO")-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 672 696 +672 695 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(672)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(make-pathname-ex)o(ample)18 b("V")i("foo"\))g +Ft(\))h Fs("V:FOO")0 347 y(\(make-pathname-ex)o(ample)d("V")i("TeX"\))g +Ft(\))h Fs("V:TeX")0 399 y(\(make-pathname-ex)o(ample)d("M")i("FOO"\))g +Ft(\))h Fs("M:foo")0 450 y(\(make-pathname-ex)o(ample)d("M")i("foo"\))g +Ft(\))h Fs("M:FOO")0 502 y(\(make-pathname-ex)o(ample)d("M")i("TeX"\))g +Ft(\))h Fs("M:TeX")0 590 y Fw(A)16 b(big)f(adv)n(an)o(tage)f(of)h(this) +h(set)h(of)e(con)o(v)o(en)o(tions)g(is)h(that)f(one)h(can,)g(for)f +(example,)g(call)0 642 y Fs(make-pathname)d Fw(with)i +Fs(:type)21 b("LISP")13 b Fw(and)i Fs(:case)20 b(:common)p +Fw(,)13 b(and)h(the)i(result)f(will)0 694 y(app)q(ear)f(in)g(a)f +(namestring)g(as)h Fs(.LISP)f Fw(or)h Fs(.lisp)p Fw(,)e(whic)o(hev)o +(er)j(is)f(appropriate.)-33 705 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 855 a Fo(23.1.3.)20 b(Structured)14 b(Directories)-33 +821 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 944 a Fw(X3J13)19 b(v)o(oted)g(in)g(June)h(1989)e +Ft(h)p Fw(133)p Ft(i)h Fw(to)g(de\014ne)h(a)f(sp)q(eci\014c)h(pathname) +e(comp)q(onen)o(t)0 996 y(format)12 b(for)i(structured)i(directories.) +42 1048 y(The)f(v)n(alue)f(of)g(a)h(pathname's)e(directory)j(comp)q +(onen)o(t)e(ma)o(y)f(b)q(e)i(a)f(list.)21 b(The)15 b +Fv(c)n(ar)f Fw(of)0 1100 y(the)d(list)g(should)f(b)q(e)h(a)g(k)o(eyw)o +(ord,)g(either)g Fs(:absolute)e Fw(or)i Fs(:relative)p +Fw(.)k(Eac)o(h)c(remaining)0 1152 y(elemen)o(t)16 b(of)g(the)h(list)g +(should)f(b)q(e)h(a)g(string)g(or)f(a)h(sym)o(b)q(ol)d(\(see)k(b)q(elo) +o(w\).)27 b(Eac)o(h)17 b(string)0 1204 y(names)i(a)h(single)g(lev)o(el) +g(of)g(directory)h(structure)h(and)e(should)g(consist)h(of)f(only)f +(the)0 1255 y(directory)c(name)d(without)i(an)o(y)f(punctuation)h(c)o +(haracters.)42 1308 y(A)e(list)f(whose)i Fv(c)n(ar)f +Fw(is)g(the)g(sym)o(b)q(ol)f Fs(:absolute)f Fw(represen)o(ts)15 +b(a)c(directory)i(path)f(start-)0 1359 y(ing)f(from)g(the)h(ro)q(ot)g +(directory)m(.)18 b(F)m(or)12 b(example,)e(the)j(list)f +Fs(\(:absolute\))d Fw(represen)o(ts)15 b(the)0 1411 y(ro)q(ot)c +(directory)g(itself;)g(the)h(list)e Fs(\(:absolute)19 +b("foo")h("bar")g("baz"\))10 b Fw(represen)o(ts)j(the)0 +1463 y(directory)i(that)f(in)f(a)h(UNIX)g(\014le)g(system)f(w)o(ould)g +(b)q(e)i(called)f Fs(/foo/bar/baz)p Fw(.)42 1515 y(A)e(list)f(whose)i +Fv(c)n(ar)f Fw(is)g(the)g(sym)o(b)q(ol)f Fs(:relative)f +Fw(represen)o(ts)15 b(a)c(directory)i(path)f(start-)0 +1567 y(ing)17 b(from)g(a)g(default)h(directory)m(.)31 +b(The)18 b(list)g Fs(\(:relative\))e Fw(has)i(the)g(same)g(meaning)0 +1619 y(as)d Fs(nil)f Fw(and)h(hence)i(normally)12 b(is)j(not)g(used.)22 +b(The)15 b(list)g Fs(\(:relative)k("foo")h("bar"\))0 +1671 y Fw(represen)o(ts)15 b(the)e(directory)g(named)f +Fs(bar)g Fw(in)g(the)h(directory)g(named)e Fs(foo)h Fw(in)g(the)h +(default)0 1723 y(directory)m(.)42 1775 y(In)f(place)g(of)g(a)f +(string,)i(at)f(an)o(y)f(p)q(oin)o(t)h(in)g(the)g(list,)g(a)g(sym)o(b)q +(ol)e(ma)o(y)h(o)q(ccur)i(to)f(indicate)0 1827 y(a)i(sp)q(ecial)g +(\014le)g(notation.)j(The)d(follo)o(wing)d(sym)o(b)q(ols)i(ha)o(v)o(e)h +(standard)g(meanings.)0 1899 y Fs(:wild)239 b Fw(Wildcard)13 +b(matc)o(h)g(of)g(one)h(lev)o(el)f(of)h(directory)g(structure)-33 +1871 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1984 a Fs(:wild-inferiors)19 b Fw(Wildcard)13 +b(matc)o(h)g(of)g(an)o(y)g(n)o(um)o(b)q(er)g(of)h(directory)g(lev)o +(els)0 2068 y Fs(:up)283 b Fw(Go)13 b(up)o(w)o(ard)h(in)f(directory)i +(structure)h(\(seman)o(tic\))0 2152 y Fs(:back)239 b +Fw(Go)13 b(up)o(w)o(ard)h(in)f(directory)i(structure)h(\(syn)o +(tactic\))0 2225 y(\(See)f(section)g(23.1.4)c(for)j(a)g(discussion)g +(of)f(wildcard)h(pathnames.\))42 2277 y(Implemen)o(tatio)o(ns)d(are)j +(p)q(ermitted)f(to)g(add)g(additional)f(ob)r(jects)i(of)f(an)o(y)g +(non-string)0 2329 y(t)o(yp)q(e)19 b(if)f(necessary)j(to)d(represen)o +(t)j(features)f(of)e(their)h(\014le)g(systems)g(that)f(cannot)h(b)q(e) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 673 697 +673 696 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(673)0 295 y Fw(represen)o(ted)14 b(with)c(the)i(standard)f +(strings)h(and)e(sym)o(b)q(ols.)16 b(Supplying)10 b(an)o(y)g +(non-string,)0 347 y(including)15 b(an)o(y)g(of)g(the)h(sym)o(b)q(ols)f +(listed)g(b)q(elo)o(w,)h(to)f(a)h(\014le)f(system)h(for)f(whic)o(h)h +(it)f(do)q(es)0 399 y(not)20 b(mak)o(e)f(sense)j(signals)e(an)h(error)g +(of)f(t)o(yp)q(e)h Fs(file-error)p Fw(.)35 b(F)m(or)21 +b(example,)f(most)0 450 y(implemen)o(tatio)o(ns)13 b(of)i(the)h(UNIX)f +(\014le)h(system)f(do)g(not)g(supp)q(ort)h Fs(:wild-inferiors)p +Fw(.)0 502 y(An)o(y)h(directory)g(list)g(in)f(whic)o(h)h +Fs(:absolute)e Fw(or)i Fs(:wild-inferiors)c Fw(is)k(immediately)0 +554 y(follo)o(w)o(ed)c(b)o(y)h Fs(:up)g Fw(or)g Fs(:back)f +Fw(is)h(illegal)f(and)h(when)h(pro)q(cessed)i(causes)e(an)g(error)g(to) +f(b)q(e)0 606 y(signaled.)42 659 y(The)j(k)o(eyw)o(ord)g +Fs(:back)e Fw(has)i(a)g(\\syn)o(tactic")g(meaning)e(that)i(dep)q(ends)h +(only)e(on)h(the)0 711 y(pathname)d(and)i(not)f(on)h(the)g(con)o(ten)o +(ts)g(of)f(the)i(\014le)e(system.)23 b(The)16 b(k)o(eyw)o(ord)g +Fs(:up)f Fw(has)0 762 y(a)k(\\seman)o(tic")f(meaning)f(that)i(dep)q +(ends)i(on)e(the)g(con)o(ten)o(ts)i(of)d(the)i(\014le)f(system;)i(to)0 +814 y(resolv)o(e)12 b(a)f(pathname)e(con)o(taining)i +Fs(:up)f Fw(to)h(a)g(pathname)f(whose)i(directory)f(comp)q(onen)o(t)0 +866 y(con)o(tains)g(only)g Fs(:absolute)f Fw(and)h(strings)h(requires)h +(a)e(searc)o(h)i(of)e(the)h(\014le)f(system.)17 b(Note)0 +918 y(that)f(use)g(of)g Fs(:up)f Fw(instead)h(of)f Fs(:back)g +Fw(can)h(result)g(in)g(designating)f(a)g(di\013eren)o(t)i(actual)0 +970 y(directory)k(only)e(in)h(\014le)g(systems)g(that)g(supp)q(ort)h(m) +o(ultiple)d(names)h(for)h(directories,)0 1022 y(p)q(erhaps)e(via)f(sym) +o(b)q(olic)e(links.)28 b(F)m(or)16 b(example,)h(supp)q(ose)h(that)f +(there)i(is)e(a)g(directory)0 1074 y(link)c(suc)o(h)h(that)0 +1166 y Fs(\(:absolute)19 b("X")i("Y"\))41 b Fw(is)14 +b(link)o(ed)f(to)42 b Fs(\(:absolute)19 b("A")i("B"\))0 +1257 y Fw(and)14 b(there)h(also)e(exist)h(directories)0 +1350 y Fs(\(:absolute)19 b("A")i("Q"\))41 b Fw(and)h +Fs(\(:absolute)19 b("X")i("Q"\))0 1441 y Fw(Then)0 1533 +y Fs(\(:absolute)e("X")i("Y")f(:up)h("Q"\))41 b Fw(designates)j +Fs(\(:absolute)19 b("A")h("Q"\))0 1625 y Fw(but)0 1717 +y Fs(\(:absolute)f("X")i("Y")f(:back)g("Q"\))42 b Fw(designates)h +Fs(\(:absolute)19 b("X")i("Q"\))42 1808 y Fw(If)f(a)i(string)f(is)g +(used)h(as)g(the)g(v)n(alue)e(of)h(the)h Fs(:directory)d +Fw(argumen)o(t)i(to)g Fs(make-)0 1860 y(pathname)p Fw(,)f(it)h(should)f +(b)q(e)i(the)f(name)e(of)i(a)f(top-lev)o(el)g(directory)i(and)e(should) +h(not)0 1912 y(con)o(tain)e(an)o(y)g(punctuation)g(c)o(haracters.)36 +b(Sp)q(ecifying)19 b(a)g(string)g Fv(s)g Fw(is)g(equiv)n(alen)o(t)g(to) +0 1964 y(sp)q(ecifying)g(the)h(list)f Fs(\(:absolute)h +Fv(s)s Fs(\))p Fw(.)35 b(Sp)q(ecifying)19 b(the)h(sym)o(b)q(ol)d +Fs(:wild)i Fw(is)g(equiv-)0 2016 y(alen)o(t)e(to)f(sp)q(ecifying)h(the) +h(list)e Fs(\(:absolute)j(:wild-inferiors\))14 b Fw(\(or)j +Fs(\(:absolute)0 2068 y(:wild\))c Fw(in)g(a)h(\014le)f(system)h(that)g +(do)q(es)h(not)f(supp)q(ort)g Fs(:wild-inferiors)p Fw(\).)42 +2121 y(The)f(function)g Fs(pathname-directory)d Fw(alw)o(a)o(ys)i +(returns)j Fs(nil)p Fw(,)d Fs(:unspecific)p Fw(,)f(or)i(a)0 +2172 y(list|nev)o(er)h(a)f(string,)h(nev)o(er)g Fs(:wild)p +Fw(.)j(If)d(a)f(list)g(is)h(returned,)h(it)e(is)h(not)g(guaran)o(teed)g +(to)0 2224 y(b)q(e)h(freshly)f(consed;)g(the)h(consequences)h(of)e(mo)q +(difying)c(this)k(list)g(are)g(unde\014ned.)42 2277 y(In)20 +b(non-hierarc)o(hical)g(\014le)g(systems,)i(the)f(only)e(v)n(alid)g +(list)h(v)n(alues)g(for)g(the)h(direc-)0 2329 y(tory)15 +b(comp)q(onen)o(t)f(of)h(a)f(pathname)g(are)h Fs(\(:absolute)k +Fv(s)p Fs(\))c Fw(\(where)h Fv(s)f Fw(is)g(a)g(string\))g(and)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 674 698 +674 697 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(674)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(:absolute)19 b(:wild\))p Fw(.)e(The)d(k)o(eyw)o +(ords)f Fs(:relative)p Fw(,)f Fs(:wild-inferiors)o Fw(,)e +Fs(:up)p Fw(,)j(and)0 347 y Fs(:back)g Fw(are)h(not)g(used)h(in)e +(non-hierarc)o(hical)h(\014le)f(systems.)42 399 y(P)o(athname)g +(merging)g(treats)i(a)g(relativ)o(e)f(directory)h(sp)q(ecially)m(.)k +(Let)c Fv(p)n(athname)k Fw(and)0 450 y Fv(defaults)24 +b Fw(b)q(e)e(the)g(\014rst)f(t)o(w)o(o)g(argumen)o(ts)f(to)h +Fs(merge-pathnames)p Fw(.)36 b(If)21 b Fs(\(pathname-)0 +502 y(directory)e Fv(p)n(athname)s Fs(\))j Fw(is)f(a)g(list)f(whose)i +Fv(c)n(ar)f Fw(is)g Fs(:relative)p Fw(,)f(and)h Fs(\(pathname-)0 +554 y(directory)e Fv(defaults)s Fs(\))14 b Fw(is)g(a)g(list,)f(then)h +(the)h(merged)e(directory)i(is)e(the)i(v)n(alue)e(of)0 +638 y Fs(\(append)20 b(\(pathname-direct)o(ory)e Fv(defaults)s +Fs(\))169 690 y(\(cdr)105 b(;)p Fw(Remo)o(v)o(e)12 b +Fs(:relative)g Fw(from)h(the)h(fron)o(t)212 742 y Fs(\(pathname-direct) +o(ory)k Fv(p)n(athname)s Fs(\)\)\))0 826 y Fw(except)11 +b(that)f(if)f(the)i(resulting)f(list)g(con)o(tains)f(a)h(string)g(or)g +Fs(:wild)f Fw(immedia)o(tely)e(follo)o(w)o(ed)0 878 y(b)o(y)13 +b Fs(:back)p Fw(,)f(b)q(oth)i(of)f(them)f(are)i(remo)o(v)o(ed.)j(This)c +(remo)o(v)n(al)f(of)g(redundan)o(t)j(o)q(ccurrences)0 +930 y(of)j Fs(:back)g Fw(is)h(rep)q(eated)h(as)f(man)o(y)e(times)h(as)h +(p)q(ossible.)33 b(If)19 b Fs(\(pathname-direct)o(ory)0 +982 y Fv(defaults)s Fs(\))11 b Fw(is)h(not)f(a)g(list)g(or)g +Fs(\(pathname-directory)18 b Fv(p)n(athname)s Fs(\))12 +b Fw(is)f(not)g(a)g(list)g(whose)0 1034 y Fv(c)n(ar)j +Fw(is)f Fs(:relative)p Fw(,)f(the)i(merged)g(directory)g(is)g(the)h(v)n +(alue)e(of)0 1118 y Fs(\(or)21 b(\(pathname-direc)o(tory)d +Fv(p)n(athname)s Fs(\))85 1170 y(\(pathname-direct)o(ory)g +Fv(defaults)s Fs(\)\))42 1254 y Fw(A)c(relativ)o(e)g(directory)h(in)f +(the)h(pathname)e(argumen)o(t)g(to)h(a)g(function)g(suc)o(h)h(as)g +Fs(open)0 1306 y Fw(is)j(merged)f(with)h(the)g(v)n(alue)f(of)g +Fs(*default-pathname-de)o(faul)o(ts*)e Fw(b)q(efore)j(the)h(\014le)0 +1357 y(system)14 b(is)f(accessed.)42 1409 y(Here)i(are)g(some)f +(examples)f(of)h(the)h(use)h(of)d(structured)k(directories.)k(Supp)q +(ose)16 b(that)0 1461 y(host)11 b Fs(L)f Fw(supp)q(orts)i(a)e(Sym)o(b)q +(olics)f(Lisp)h(Mac)o(hine)h(\014le)g(system,)f(host)h +Fs(U)f Fw(supp)q(orts)i(a)e(UNIX)0 1513 y(\014le)k(system,)f(and)h +(host)g Fs(V)g Fw(supp)q(orts)h(a)e(V)-5 b(AX/VMS)15 +b(\014le)f(system.)0 1597 y Fs(\(pathname-directo)o(ry)k +(\(parse-namestring)g("V:[FOO.BAR]BAZ.L)o(SP"\)\))64 +1649 y Ft(\))i Fs(\(:ABSOLUTE)f("FOO")h("BAR"\))0 1733 +y(\(pathname-directo)o(ry)e(\(parse-namestring)g("U:/foo/bar/baz.l)o +(isp"\))o(\))64 1785 y Ft(\))i Fs(\(:ABSOLUTE)f("foo")h("bar"\))0 +1869 y(\(pathname-directo)o(ry)e(\(parse-namestring)g +("U:../baz.lisp"\)\))64 1921 y Ft(\))i Fs(\(:RELATIVE)f(:UP\))0 +2005 y(\(pathname-directo)o(ry)f(\(parse-namestring)g +("U:/foo/bar/../mu)o(m/baz)o("\)\))64 2057 y Ft(\))i +Fs(\(:ABSOLUTE)f("foo")h("bar")h(:UP)f("mum"\))0 2141 +y(\(pathname-directo)o(ry)e(\(parse-namestring)g("U:bar/../../ztes)o +(ch/zi)o(p"\)\))64 2193 y Ft(\))i Fs(\(:RELATIVE)f("bar")h(:UP)h(:UP)g +("ztesch"\))0 2277 y(\(pathname-directo)o(ry)d(\(parse-namestring)g +("L:>foo>**>bar>ba)o(z.lis)o(p"\)\))64 2329 y Ft(\))i +Fs(\(:ABSOLUTE)f("FOO")h(:WILD-INFERIORS)e("BAR"\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 675 699 +675 698 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(675)0 295 y Fs(\(pathname-directo)o(ry)18 b +(\(parse-namestring)g("L:>foo>*>bar>baz)o(.lisp)o("\)\))64 +347 y Ft(\))i Fs(\(:ABSOLUTE)f("FOO")h(:WILD)h("BAR"\))-33 +362 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 507 a Fo(23.1.4.)f(Extended)14 b(Wildcar)l(ds)-33 +473 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 596 a Fw(Some)f(\014le)h(systems)h(pro)o(vide)f(more)f +(complex)g(con)o(v)o(en)o(tions)h(for)g(wildcards)g(than)g(sim-)0 +648 y(ple)22 b(comp)q(onen)o(t-wise)g(wildcards)g(represen)o(table)i(b) +o(y)e Fs(:wild)p Fw(.)42 b(F)m(or)22 b(example,)g(the)0 +700 y(namestring)i Fs("F*O")f Fw(migh)o(t)g(mean)g(a)h(normal)f +(three-c)o(haracter)k(name;)h(a)d(three-)0 752 y(c)o(haracter)12 +b(name)e(with)g(the)i(middle)d(c)o(haracter)j(wild;)e(a)h(name)e(with)i +(at)f(least)h(t)o(w)o(o)g(c)o(har-)0 804 y(acters,)i(b)q(eginning)e +(with)g Fs(F)g Fw(and)g(ending)g(with)g Fs(O)p Fw(;)g(or)g(p)q(erhaps)h +(a)g(wild)e(matc)o(h)g(spanning)0 855 y(m)o(ultiple)i(directories.)20 +b(Similarly)m(,)11 b(the)j(namestring)g Fs(">foo>**>bar>")d +Fw(migh)o(t)h(imply)0 907 y(that)g(the)h(middle)d(directory)j(is)f +(named)f Fs("**")p Fw(;)g(the)i(middle)d(directory)j(is)f +Fs(:wild)p Fw(;)f(there)0 959 y(are)g(zero)h(or)f(more)f(middle)f +(directories)j(that)f(are)g Fs(:wild)p Fw(;)f(or)h(p)q(erhaps)h(that)f +(the)h(middle)0 1011 y(directory)h(name)e(matc)o(hes)h(an)o(y)g(t)o(w)o +(o-letter)h(name.)k(Some)11 b(\014le)h(systems)h(supp)q(ort)g(ev)o(en)0 +1063 y(more)g(complex)f(wildcards,)i(suc)o(h)g(as)g(regular)g +(expressions.)42 1115 y(X3J13)g(v)o(oted)g(in)g(June)h(1989)f +Ft(h)p Fw(137)p Ft(i)f Fw(to)i(pro)o(vide)f(some)f(facilities)h(for)g +(dealing)f(with)0 1167 y(more)g(general)h(wildcard)f(pathnames)h(in)f +(a)h(fairly)e(p)q(ortable)i(manner.)1209 1307 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(wild-pathname-p)18 b Fv(p)n(athname)25 +b Fs(&optional)20 b Fv(\014eld)p Fs(-)p Fv(key)0 1384 +y Fw(T)m(ests)15 b(a)f(pathname)f(for)h(the)g(presence)j(of)c(wildcard) +h(comp)q(onen)o(ts.)19 b(If)13 b(the)i(\014rst)g(argu-)0 +1436 y(men)o(t)f(is)i(not)f(a)g(pathname,)f(string,)i(or)f(\014le)h +(stream,)f(an)g(error)h(of)f(t)o(yp)q(e)h Fs(type-error)0 +1488 y Fw(is)e(signaled.)42 1540 y(If)h(no)h Fv(\014eld-key)g +Fw(is)g(pro)o(vided,)g(or)f(the)i Fv(\014eld-key)f Fw(is)g +Fs(nil)p Fw(,)f(the)i(result)f(is)g(true)h(if)e(and)0 +1592 y(only)e(if)g Fv(p)n(athname)i Fw(has)f(an)o(y)f(wildcard)h(comp)q +(onen)o(ts.)42 1644 y(If)22 b(a)g(non-n)o(ull)f Fv(\014eld-key)i +Fw(is)f(pro)o(vided,)i(it)e(m)o(ust)f(b)q(e)i(one)g(of)f +Fs(:host)p Fw(,)h Fs(:device)p Fw(,)0 1696 y Fs(:directory)p +Fw(,)16 b Fs(:name)p Fw(,)h Fs(:type)p Fw(,)g(or)g Fs(:version)p +Fw(.)27 b(In)18 b(this)f(case,)i(the)f(result)h(is)e(true)i(if)0 +1748 y(and)14 b(only)f(if)g(the)h(indicated)g(comp)q(onen)o(t)f(of)h +Fv(p)n(athname)g Fw(is)g(a)g(wildcard.)42 1800 y(Note)g(that)h(X3J13)f +(v)o(oted)h(in)f(June)h(1989)f Ft(h)p Fw(129)p Ft(i)g +Fw(to)g(sp)q(ecify)h(that)g(an)f(implemen)o(ta-)0 1852 +y(tion)f(need)h(not)f(supp)q(ort)i(wildcards)e(in)g(all)f(\014elds;)i +(the)g(only)e(requiremen)o(t)h(is)h(that)f(the)0 1904 +y(name,)k(t)o(yp)q(e,)h(or)g(v)o(ersion)f(ma)o(y)f(b)q(e)i +Fs(:wild)p Fw(.)28 b(Ho)o(w)o(ev)o(er,)18 b(p)q(ortable)g(programs)e +(should)0 1956 y(b)q(e)k(prepared)h(to)f(encoun)o(ter)h(either)f +Fs(:wild)f Fw(or)g(implemen)o(tation-)o(dep)q(enden)o(t)g(wild-)0 +2008 y(cards)c(in)e(an)o(y)g(pathname)f(comp)q(onen)o(t.)18 +b(The)c(function)f Fs(wild-pathname-p)e Fw(pro)o(vides)0 +2060 y(a)j(p)q(ortable)g(w)o(a)o(y)f(for)g(testing)i(the)f(presence)i +(of)e(wildcards.)1209 2200 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(pathname-match-p)18 b Fv(p)n(athname)25 b(wildname)0 +2277 y Fw(This)12 b(predicate)i(is)e(true)h(if)f(and)g(only)f(if)h(the) +h Fv(p)n(athname)g Fw(matc)o(hes)f(the)h Fv(wildname)p +Fw(.)k(The)0 2329 y(matc)o(hing)12 b(rules)i(are)g(implem)o(en)o +(tation-de\014ned)d(but)j(should)f(b)q(e)h(consisten)o(t)h(with)e(the) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 676 700 +676 699 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(676)77 b(COMMON)13 +b(LISP)0 295 y Fw(b)q(eha)o(vior)e(of)g(the)i Fs(directory)c +Fw(function.)17 b(Missing)12 b(comp)q(onen)o(ts)f(of)g +Fv(wildname)g Fw(default)0 347 y(to)j Fs(:wild)p Fw(.)42 +399 y(If)d(either)h(argumen)o(t)f(is)h(not)f(a)h(pathname,)e(string,)i +(or)g(\014le)g(stream,)f(an)g(error)i(of)e(t)o(yp)q(e)0 +451 y Fs(type-error)k Fw(is)i(signaled.)27 b(It)18 b(is)f(v)n(alid)e +(for)i Fv(p)n(athname)h Fw(to)f(b)q(e)h(a)f(wild)f(pathname;)h(a)0 +503 y(wildcard)c(\014eld)g(in)g Fv(p)n(athname)h Fw(will)e(matc)o(h)g +(only)h(a)g(wildcard)g(\014eld)g(in)g Fv(wildname)p Fw(;)g(that)0 +554 y(is,)k Fs(pathname-match-)o(p)d Fw(is)i(not)g(comm)o(utativ)o(e.) +23 b(It)17 b(is)f(v)n(alid)f(for)h Fv(wildname)h Fw(to)f(b)q(e)h(a)0 +606 y(non-wild)e(pathname;)g(I)h(b)q(eliev)o(e)h(that)f(in)f(this)i +(case)g Fs(pathname-match-p)12 b Fw(will)j(ha)o(v)o(e)0 +658 y(the)f(same)f(b)q(eha)o(vior)h(as)g Fs(equal)p Fw(,)e(though)i +(the)h(X3J13)e(sp)q(eci\014cation)i(did)e(not)h(sa)o(y)g(so.)1209 +798 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(translate-pathnam)o(e)18 +b Fv(sour)n(c)n(e)25 b(fr)n(om)p Fs(-)p Fv(wildname)e(to)p +Fs(-)p Fv(wildname)42 850 y Fs(&key)0 927 y Fw(T)m(ranslates)c(the)g +(pathname)f Fv(sour)n(c)n(e)p Fw(,)h(whic)o(h)g(m)o(ust)f(matc)o(h)g +Fv(fr)n(om-wildname)p Fw(,)g(in)o(to)g(a)0 979 y(corresp)q(onding)e +(pathname)e(\(call)g(it)g Fv(r)n(esult)p Fw(\),)g(whic)o(h)h(is)g +(constructed)i(so)e(as)g(to)g(matc)o(h)0 1031 y Fv(to-wildname)p +Fw(,)e(and)h(returns)h Fv(r)n(esult)p Fw(.)42 1083 y(The)h(pathname)g +Fv(r)n(esult)f Fw(is)i(a)f(cop)o(y)g(of)g Fv(to-wildname)g +Fw(with)h(eac)o(h)g(missing)d(or)j(wild-)0 1135 y(card)12 +b(\014eld)g(replaced)h(b)o(y)e(a)h(p)q(ortion)f(of)h +Fv(sour)n(c)n(e)p Fw(;)f(for)h(this)g(purp)q(ose)h(a)e(wildcard)h +(\014eld)f(is)h(a)0 1187 y(pathname)g(comp)q(onen)o(t)h(with)g(a)f(v)n +(alue)h(of)g Fs(:wild)p Fw(,)e(a)i Fs(:wild)g Fw(elemen)o(t)f(of)h(a)g +(list-v)n(alued)0 1239 y(directory)j(comp)q(onen)o(t,)e(or)g(an)h +(implemen)o(tation-)o(de\014ned)e(p)q(ortion)i(of)f(a)h(comp)q(onen)o +(t,)0 1290 y(suc)o(h)k(as)g(the)g Fs(*)g Fw(in)f(the)h(complex)f +(wildcard)g(string)h Fs("foo*bar")d Fw(that)j(some)f(imple-)0 +1342 y(men)o(tations)d(supp)q(ort.)28 b(An)17 b(implemen)o(tation)c +(that)k(adds)g(other)h(wildcard)e(features,)0 1394 y(suc)o(h)i(as)g +(regular)f(expressions,)i(m)o(ust)d(de\014ne)j(ho)o(w)e +Fs(translate-pathna)o(me)d Fw(extends)0 1446 y(to)g(those)g(features.) +20 b(A)13 b(missing)g(\014eld)g(is)h(a)g(pathname)f(comp)q(onen)o(t)g +(that)h(is)f Fs(nil)p Fw(.)42 1498 y(The)i(p)q(ortion)g(of)f +Fv(sour)n(c)n(e)h Fw(that)h(is)f(copied)g(in)o(to)g Fv(r)n(esult)f +Fw(is)h(implemen)o(tati)o(on-de\014ned.)0 1550 y(T)o(ypically)h(it)i +(is)f(determined)h(b)o(y)g(the)g(user)h(in)o(terface)g(con)o(v)o(en)o +(tions)f(of)f(the)h(\014le)g(sys-)0 1602 y(tems)f(in)o(v)o(olv)o(ed.)28 +b(Usually)17 b(it)g(is)h(the)g(p)q(ortion)f(of)g Fv(sour)n(c)n(e)h +Fw(that)g(matc)o(hes)f(a)g(wildcard)0 1654 y(\014eld)h(of)f +Fv(fr)n(om-wildname)g Fw(that)g(is)h(in)f(the)i(same)e(p)q(osition)g +(as)h(the)g(missing)e(or)i(wild-)0 1706 y(card)f(\014eld)g(of)g +Fv(to-wildname)p Fw(.)27 b(If)16 b(there)i(is)f(no)g(wildcard)g +(\014eld)g(in)f Fv(fr)n(om-wildname)g Fw(at)0 1758 y(that)h(p)q +(osition,)g(then)h(usually)e(it)h(is)g(the)h(en)o(tire)g(corresp)q +(onding)g(pathname)e(comp)q(o-)0 1810 y(nen)o(t)f(of)e +Fv(sour)n(c)n(e)h Fw(or,)f(in)h(the)h(case)g(of)e(a)h(list-v)n(alued)f +(directory)i(comp)q(onen)o(t,)d(the)j(en)o(tire)0 1861 +y(corresp)q(onding)i(list)e(elemen)o(t.)22 b(F)m(or)15 +b(example,)g(if)f(the)j(name)d(comp)q(onen)o(ts)h(of)g +Fv(sour)n(c)n(e)p Fw(,)0 1913 y Fv(fr)n(om-wildname)p +Fw(,)20 b(and)g Fv(to-wildname)g Fw(are)g Fs("gazonk")p +Fw(,)g Fs("gaz*")p Fw(,)g(and)f Fs("h*")h Fw(resp)q(ec-)0 +1965 y(tiv)o(ely)m(,)11 b(then)j(in)e(most)g(\014le)g(systems)h(the)h +(wildcard)e(\014elds)h(of)f(the)i(name)d(comp)q(onen)o(t)h(of)0 +2017 y Fv(fr)n(om-wildname)f Fw(and)i Fv(to-wildname)f +Fw(are)h(eac)o(h)g Fs("*")p Fw(,)f(the)h(matc)o(hing)e(p)q(ortion)h(of) +g Fv(sour)n(c)n(e)0 2069 y Fw(is)g Fs("onk")p Fw(,)f(and)h(the)h(name)d +(comp)q(onen)o(t)i(of)f Fv(r)n(esult)h Fw(is)f Fs("honk")p +Fw(;)g(ho)o(w)o(ev)o(er,)i(the)g(exact)f(b)q(e-)0 2121 +y(ha)o(vior)f(of)g Fs(translate-pathname)e Fw(is)i(not)h(dictated)h(b)o +(y)f(the)g(Common)d(Lisp)j(language)0 2173 y(and)j(ma)o(y)e(v)n(ary)i +(according)g(to)g(the)h(user)h(in)o(terface)f(con)o(v)o(en)o(tions)f +(of)f(the)i(\014le)g(systems)0 2225 y(in)o(v)o(olv)o(ed.)42 +2277 y(During)32 b(the)i(cop)o(ying)e(of)h(a)g(p)q(ortion)g(of)f +Fv(sour)n(c)n(e)h Fw(in)o(to)g Fv(r)n(esult)p Fw(,)k(additional)0 +2329 y(implemen)o(tatio)o(n-de\014ned)19 b(translations)h(of)f(alphab)q +(etic)h(case)h(or)g(\014le)f(naming)e(con-)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 677 701 +677 700 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(677)0 295 y Fw(v)o(en)o(tions)15 b(ma)o(y)e(o)q(ccur,)i(esp)q +(ecially)g(when)g Fv(fr)n(om-wildname)f Fw(and)h Fv(to-wildname)f +Fw(are)h(for)0 347 y(di\013eren)o(t)g(hosts.)42 399 y(If)d(an)o(y)g(of) +g(the)h(\014rst)h(three)g(argumen)o(ts)e(is)g(not)h(a)f(pathname,)g +(string,)g(or)h(\014le)g(stream,)0 450 y(an)k(error)h(of)e(t)o(yp)q(e)h +Fs(type-error)e Fw(is)i(signaled.)26 b(It)17 b(is)g(v)n(alid)e(for)i +Fv(sour)n(c)n(e)g Fw(to)g(b)q(e)g(a)g(wild)0 502 y(pathname;)i(in)e +(general)i(this)f(will)e(pro)q(duce)k(a)d(wild)h Fv(r)n(esult)f +Fw(pathname.)29 b(It)18 b(is)g(v)n(alid)0 554 y(for)f +Fv(fr)n(om-wildname)f Fw(or)h Fv(to-wildname)g Fw(or)h(b)q(oth)f(to)g +(b)q(e)h(non-wild.)27 b(An)18 b(error)g(is)f(sig-)0 606 +y(naled)f(if)g(the)g Fv(sour)n(c)n(e)h Fw(pathname)e(do)q(es)i(not)f +(matc)o(h)f(the)i Fv(fr)n(om-wildname)p Fw(,)e(that)h(is,)h(if)0 +658 y Fs(\(pathname-match-p)h Fv(sour)n(c)n(e)j(fr)n(om)p +Fs(-)p Fv(wildname)p Fs(\))12 b Fw(w)o(ould)h(not)h(b)q(e)h(true.)42 +710 y(There)j(are)g(no)f(sp)q(eci\014ed)i(k)o(eyw)o(ord)f(argumen)o(ts) +e(for)h Fs(translate-pathname)p Fw(,)e(but)0 762 y(implemen)o(tatio)o +(ns)h(are)i(p)q(ermitted)g(to)f(extend)i(it)f(b)o(y)f(adding)g(k)o(eyw) +o(ord)h(argumen)o(ts.)0 814 y(There)f(is)e(one)h(sp)q(eci\014ed)h +(return)g(v)n(alue)e(from)f Fs(translate-pathna)o(me)p +Fw(;)f(implemen)o(ta-)0 866 y(tions)h(are)g(p)q(ermitted)g(to)f(extend) +i(it)f(b)o(y)f(returning)i(additional)d(v)n(alues.)42 +917 y(Here)18 b(is)f(an)g(implem)o(en)o(tation)d(suggestion.)28 +b(One)18 b(\014le)f(system)f(p)q(erforms)h(this)g(op-)0 +969 y(eration)g(b)o(y)h(examining)d(corresp)q(onding)j(pieces)h(of)e +(the)h(three)h(pathnames)e(in)g(turn,)0 1021 y(where)c(a)f(piece)h(is)f +(a)g(pathname)f(comp)q(onen)o(t)g(or)h(a)g(list)g(elemen)o(t)f(of)h(a)g +(structured)i(com-)0 1073 y(p)q(onen)o(t)19 b(suc)o(h)h(as)e(a)h +(hierarc)o(hical)g(directory)m(.)32 b(Hierarc)o(hical)19 +b(directory)h(elemen)o(ts)e(in)0 1125 y Fv(fr)n(om-wildname)13 +b Fw(and)g Fv(to-wildname)h Fw(are)g(matc)o(hed)g(b)o(y)f(whether)i +(they)g(are)f(wildcards,)0 1177 y(not)f(b)o(y)f(depth)h(in)f(the)i +(directory)f(hierarc)o(h)o(y)m(.)k(If)c(the)g(piece)g(in)g +Fv(to-wildname)f Fw(is)g(presen)o(t)0 1229 y(and)h(not)g(wild,)f(it)h +(is)g(copied)g(in)o(to)g(the)g(result.)19 b(If)13 b(the)g(piece)h(in)f +Fv(to-wildname)g Fw(is)g Fs(:wild)0 1281 y Fw(or)f Fs(nil)p +Fw(,)g(the)h(corresp)q(onding)h(piece)f(in)f Fv(sour)n(c)n(e)g +Fw(is)h(copied)f(in)o(to)g(the)h(result.)19 b(Otherwise,)0 +1333 y(the)g(piece)f(in)g Fv(to-wildname)f Fw(migh)o(t)f(b)q(e)j(a)e +(complex)g(wildcard)g(suc)o(h)i(as)f Fs("foo*bar")p Fw(;)0 +1384 y(the)f(p)q(ortion)g(of)f(the)i(piece)f(in)g Fv(sour)n(c)n(e)f +Fw(that)h(matc)o(hes)g(the)g(wildcard)f(p)q(ortion)h(of)f(the)0 +1436 y(corresp)q(onding)e(piece)g(in)e Fv(fr)n(om-wildname)g +Fw(\(or)h(the)h(en)o(tire)f Fv(sour)n(c)n(e)g Fw(piece,)h(if)e(the)i +Fv(fr)n(om-)0 1488 y(wildname)f Fw(piece)h(is)e(not)h(wild)f(and)h +(therefore)h(equals)f(the)h Fv(sour)n(c)n(e)f Fw(piece\))h(replaces)g +(the)0 1540 y(wildcard)g(p)q(ortion)h(of)f(the)i(piece)g(in)e +Fv(to-wildname)g Fw(and)h(the)h(v)n(alue)e(pro)q(duced)i(is)f(used)0 +1592 y(in)e(the)i(result.)42 1644 y(X3J13)h(v)o(oted)i(in)e(June)i +(1989)e Ft(h)p Fw(128)p Ft(i)h Fw(to)g(require)h Fs(translate-pathnam)o +(e)c Fw(to)j(map)0 1696 y(customary)h(case)h(in)f(argumen)o(t)f +(pathnames)h(to)g(the)h(customary)f(case)h(in)f(returned)0 +1748 y(pathnames)13 b(\(see)i(section)g(23.1.2\).)42 +1800 y(Here)e(are)h(some)d(examples)h(of)g(the)h(use)h(of)e(the)h(new)g +(wildcard)g(pathname)e(facilities.)0 1851 y(These)j(examples)d(are)i +(not)f(p)q(ortable.)18 b(They)13 b(are)g(written)f(to)h(run)f(with)h +(particular)f(\014le)0 1903 y(systems)j(and)f(particular)h(wildcard)f +(con)o(v)o(en)o(tions)h(and)f(are)i(in)o(tended)f(to)f(b)q(e)i +(illustra-)0 1955 y(tiv)o(e,)d(not)h(prescriptiv)o(e.)19 +b(Other)c(implemen)o(tations)c(ma)o(y)h(b)q(eha)o(v)o(e)i(di\013eren)o +(tly)m(.)0 2038 y Fs(\(wild-pathname-p)k(\(make-pathname)g(:name)i +(:wild\)\))g Ft(\))h Fs(t)0 2090 y(\(wild-pathname-p)d(\(make-pathname) +g(:name)i(:wild\))g(:name\))g Ft(\))h Fs(t)0 2142 y(\(wild-pathname-p)d +(\(make-pathname)g(:name)i(:wild\))g(:type\))g Ft(\))h +Fs(nil)0 2194 y(\(wild-pathname-p)d(\(pathname)h("S:>foo>**>"\)\))f +Ft(\))j Fs(t)190 b(;)p Fw(Ma)o(yb)q(e)0 2246 y Fs(\(wild-pathname-p)18 +b(\(make-pathname)g(:name)i("F*O"\)\))g Ft(\))h Fs(t)105 +b(;)p Fw(Probably)0 2329 y(One)16 b(cannot)e(rely)h(on)g +Fs(rename-file)d Fw(to)j(handle)f(wild)g(pathnames)g(in)h(a)f +(predictable)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 678 702 +678 701 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(678)77 b(COMMON)13 +b(LISP)0 295 y Fw(manner.)k(Ho)o(w)o(ev)o(er,)c(one)g(can)g(use)h +Fs(translate-pathna)o(me)c Fw(explicitly)i(to)g(con)o(trol)h(the)0 +347 y(pro)q(cess.)0 437 y Fs(\(defun)20 b(rename-files)f(\(from)h(to\)) +42 489 y("Rename)g(all)h(files)f(that)g(match)g(the)h(first)f(argument) +f(by)64 541 y(translating)f(their)j(names)f(to)g(the)h(form)f(of)h(the) +g(second)64 592 y(argument.)e(Both)h(arguments)f(may)i(be)g(wild)f +(pathnames.")42 644 y(\(dolist)g(\(file)g(\(directory)f(from\)\))85 +696 y(;;)h(DIRECTORY)g(produces)f(only)i(pathnames)e(that)h(match)g +(from-wildname.)85 748 y(\(rename-file)e(file)j(\(translate-pathn)o +(ame)d(file)i(from)h(to\)\)\)\))42 838 y Fw(Assuming)12 +b(one)h(particular)g(set)i(of)e(p)q(opular)g(wildcard)g(con)o(v)o(en)o +(tions,)g(this)g(function)0 890 y(migh)o(t)8 b(exhibit)i(the)h(follo)o +(wing)d(b)q(eha)o(vior.)16 b(Not)10 b(all)g(\014le)g(systems)g(will)f +(run)i(this)f(example)0 941 y(exactly)k(as)g(written.)0 +1032 y Fs(\(rename-files)k("/usr/me/*.lisp")g("/dev/her/*.l"\))64 +1083 y Fw(renames)42 b Fs(/usr/me/init.lis)o(p)175 1135 +y Fw(to)g Fs(/dev/her/init.l)0 1239 y(\(rename-files)18 +b("/usr/me/pcl*/*")g("/sys/pcl/*/"\))64 1291 y Fw(renames)42 +b Fs(/usr/me/pcl-5-ma)o(y/low)o(.lisp)175 1343 y Fw(to)g +Fs(/sys/pcl/pcl-5-m)o(ay/lo)o(w.lis)o(p)64 1395 y Fw(\(in)13 +b(some)g(\014le)h(systems)g(the)h(result)f(migh)o(t)e(b)q(e)22 +b Fs(/sys/pcl/5-may/l)o(ow.li)o(sp)p Fw(\))0 1499 y Fs(\(rename-files)c +("/usr/me/pcl*/*")g("/sys/library/*/"\))64 1550 y Fw(renames)42 +b Fs(/usr/me/pcl-5-ma)o(y/low)o(.lisp)175 1602 y Fw(to)g +Fs(/sys/library/pcl)o(-5-ma)o(y/low)o(.lisp)64 1654 y +Fw(\(in)13 b(some)g(\014le)h(systems)g(the)h(result)f(migh)o(t)e(b)q(e) +22 b Fs(/sys/library/5-m)o(ay/lo)o(w.lis)o(p)p Fw(\))0 +1758 y Fs(\(rename-files)c("/usr/me/foo.bar")g("/usr/me2/"\))64 +1810 y Fw(renames)42 b Fs(/usr/me/foo.bar)175 1862 y +Fw(to)g Fs(/usr/me2/foo.bar)0 1966 y(\(rename-files)18 +b("/usr/joe/*-recipes.)o(text")296 2017 y("/usr/jim/personal/)o(cookb)o +(ook/j)o(oe)973 2021 y Fn(')993 2017 y Fs(s-*-rec.text"\))64 +2069 y Fw(renames)42 b Fs(/usr/joe/lamb-re)o(cipes)o(.text)175 +2121 y Fw(to)g Fs(/usr/jim/persona)o(l/coo)o(kbook)o(/joe)908 +2125 y Fn(')929 2121 y Fs(s-lamb-rec.text)64 2173 y Fw(renames)g +Fs(/usr/joe/veg-rec)o(ipes.)o(text)175 2225 y Fw(to)g +Fs(/usr/jim/persona)o(l/coo)o(kbook)o(/joe)908 2229 y +Fn(')929 2225 y Fs(s-veg-rec.text)64 2277 y Fw(renames)g +Fs(/usr/joe/cajun-r)o(ecipe)o(s.tex)o(t)175 2329 y Fw(to)g +Fs(/usr/jim/persona)o(l/coo)o(kbook)o(/joe)908 2333 y +Fn(')929 2329 y Fs(s-cajun-rec.text)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 679 703 +679 702 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(679)64 295 y Fw(renames)42 b Fs(/usr/joe/szechua)o(n-rec)o +(ipes.)o(text)175 347 y Fw(to)g Fs(/usr/jim/persona)o(l/coo)o(kbook)o +(/joe)908 351 y Fn(')929 347 y Fs(s-szechuan-rec.t)o(ext)42 +434 y Fw(The)15 b(follo)o(wing)d(examples)i(use)h(UNIX)g(syn)o(tax)g +(and)g(the)g(wildcard)g(con)o(v)o(en)o(tions)f(of)0 486 +y(one)g(particular)g(v)o(ersion)g(of)f(UNIX.)0 574 y +Fs(\(namestring)42 626 y(\(translate-pathname)18 b("/usr/dmr/hacks)o +(/frob)o(.l")466 678 y("/usr/d*/hacks/*)o(.l")466 730 +y("/usr/d*/backup/)o(hacks)o(/back)o(up-*.)o(*"\)\))64 +781 y Ft(\))i Fs("/usr/dmr/backup/h)o(acks/)o(backu)o(p-fro)o(b.l")0 +905 y(\(namestring)42 957 y(\(translate-pathname)e("/usr/dmr/hacks)o +(/frob)o(.l")466 1008 y("/usr/d*/hacks/f)o(r*.l")466 +1060 y("/usr/d*/backup/)o(hacks)o(/back)o(up-*.)o(*"\)\))64 +1112 y Ft(\))i Fs("/usr/dmr/backup/h)o(acks/)o(backu)o(p-ob.)o(l")0 +1200 y Fw(The)f(follo)o(wing)d(examples)h(are)i(similar)d(to)i(the)h +(preceding)g(examples)e(but)i(use)g(t)o(w)o(o)0 1252 +y(di\013eren)o(t)g(hosts;)i(host)d Fs(U)g Fw(supp)q(orts)i(a)d(UNIX)i +(\014le)f(system)g(and)g(host)h Fs(V)f Fw(supp)q(orts)h(a)0 +1303 y(V)-5 b(AX/VMS)15 b(\014le)f(system.)19 b(Note)c(the)g +(translation)f(of)f(\014le)h(t)o(yp)q(e)h(\(from)e Fs(l)h +Fw(to)g Fs(LSP)p Fw(\))g(and)0 1355 y(the)g(c)o(hange)h(of)e(alphab)q +(etic)h(case)h(con)o(v)o(en)o(tions.)0 1443 y Fs(\(namestring)42 +1495 y(\(translate-pathname)j("U:/usr/dmr/hac)o(ks/fr)o(ob.l")466 +1547 y("U:/usr/d*/hacks)o(/*.l")466 1599 y("V:SYS$DISK:[D*.)o(BACKU)o +(P.HAC)o(KS]BA)o(CKUP-)o(*.*")o(\)\))64 1651 y Ft(\))i +Fs("V:SYS$DISK:[DMR.B)o(ACKUP)o(.HACK)o(S]BAC)o(KUP-F)o(ROB.L)o(SP")0 +1738 y(\(namestring)42 1790 y(\(translate-pathname)e("U:/usr/dmr/hac)o +(ks/fr)o(ob.l")466 1842 y("U:/usr/d*/hacks)o(/fr*.)o(l")466 +1894 y("V:SYS$DISK:[D*.)o(BACKU)o(P.HAC)o(KS]BA)o(CKUP-)o(*.*")o(\)\)) +64 1946 y Ft(\))i Fs("V:SYS$DISK:[DMR.B)o(ACKUP)o(.HACK)o(S]BAC)o +(KUP-O)o(B.LSP)o(")0 2033 y Fw(The)13 b(next)g(example)e(is)i(a)f(v)o +(ersion)h(of)f(the)h(function)f Fs(translate-logical-)o(pathn)o(ame)0 +2085 y Fw(\(simpli\014ed)18 b(a)h(bit\))g(for)g(a)g(logical)f(host)i +(named)e Fs(FOO)p Fw(.)h(The)g(p)q(oin)o(ts)h(of)f(in)o(terest)h(are)0 +2137 y(the)15 b(use)g(of)e Fs(pathname-match-p)e Fw(as)j(a)g +Fs(:test)f Fw(argumen)o(t)h(for)f Fs(assoc)g Fw(and)i(the)f(use)h(of)0 +2189 y Fs(translate-pathnam)o(e)c Fw(as)j(a)g(substrate)h(for)f +Fs(translate-logica)o(l-pat)o(hnam)o(e)p Fw(.)0 2277 +y Fs(\(define-condition)k(logical-translat)o(ion-e)o(rror)g +(\(file-error\)\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 680 704 +680 703 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(680)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(defun)20 b(my-translate-logi)o(cal-p)o(athna)o(me)e +(\(pathname)h(&key)i(rules\))42 347 y(\(let)g(\(\(rule)f(\(assoc)g +(pathname)f(rules)h(:test)g(#)910 343 y(-)910 351 y(-)n +Fn(')953 347 y Fs(pathname-match-p\)\)\))85 399 y(\(unless)f(rule)127 +450 y(\(error)277 454 y Fn(')300 450 y Fs(logical-translatio)o(n-err)o +(or)f(:pathname)h(pathname\)\))85 502 y(\(translate-pathn)o(ame)f +(pathname)h(\(first)h(rule\))h(\(second)e(rule\)\)\)\))0 +606 y(\(my-translate-log)o(ical-)o(pathn)o(ame)42 658 +y("FOO:CODE;BASIC.LIS)o(P")42 710 y(:rules)192 714 y +Fn(')215 710 y Fs(\(\("FOO:DOCUMENTATION)o(;")f("U:/doc/foo/"\))233 +762 y(\("FOO:CODE;")209 b("U:/lib/foo/"\))233 814 y(\("FOO:PATCHES;*;") +102 b("U:/lib/foo/patch/)o(*/"\)\))o(\))64 866 y Ft(\))20 +b Fs(#)126 862 y(-)126 870 y(-)148 866 y(P"U:/lib/foo/basi)o(c.l")-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 681 705 +681 704 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(681)0 295 y Fo(23.1.5.)20 b(Logical)14 b(P)n(athnames)0 +385 y Fw(P)o(athname)e(v)n(alues)g(are)h(not)g(p)q(ortable,)f(but)h +(sometimes)e(they)j(m)o(ust)d(b)q(e)j(men)o(tioned)d(in)0 +437 y(a)16 b(program)f(\(for)i(example,)e(the)i(names)f(of)g(\014les)h +(con)o(taining)f(the)h(program)e(and)h(the)0 489 y(data)e(used)g(b)o(y) +g(the)g(program\).)42 541 y(X3J13)c(v)o(oted)i(in)e(June)i(1989)f +Ft(h)p Fw(130)p Ft(i)f Fw(to)h(pro)o(vide)g(some)g(facilities)f(for)h +(p)q(ortable)g(path-)0 593 y(name)d(v)n(alues.)16 b(The)10 +b(idea)f(is)h(to)f(pro)o(vide)g(a)g(p)q(ortable)g(framew)o(ork)f(for)h +(pathname)f(v)n(alues;)0 645 y(these)17 b(logical)d(pathnames)h(are)h +(then)g(mapp)q(ed)f(to)h(ph)o(ysical)f(\(that)h(is,)f(actual\))h(path-) +0 697 y(names)i(b)o(y)g(a)g(set)i(of)e(implemen)o(tati)o(on-dep)q +(enden)o(t)f(or)i(site-dep)q(enden)o(t)i(rules.)32 b(The)0 +749 y(logical)12 b(pathname)g(facilit)o(y)g(therefore)j(separates)g +(the)f(concerns)i(of)d(program)f(writing)0 801 y(and)17 +b(user)h(soft)o(w)o(are)e(arc)o(hitecture)j(from)c(the)j(details)e(of)g +(ho)o(w)h(a)f(soft)o(w)o(are)h(system)g(is)0 853 y(em)o(b)q(edded)d(in) +f(a)h(particular)g(\014le)g(system)f(or)h(op)q(erating)g(en)o(vironmen) +o(t.)42 905 y(P)o(athname)c(v)n(alues)i(are)h(not)f(p)q(ortable)g(b)q +(ecause)h(not)f(all)f(Common)e(Lisp)j(implem)o(en-)0 +957 y(tations)19 b(use)h(the)g(same)f(op)q(erating)g(system)h(and)f +(\014le)g(name)g(syn)o(tax)g(v)n(aries)g(widely)0 1009 +y(among)d(op)q(erating)i(systems.)31 b(In)19 b(addition,)e(corresp)q +(onding)i(\014les)g(at)f(t)o(w)o(o)g(di\013eren)o(t)0 +1061 y(sites)e(ma)o(y)d(ha)o(v)o(e)i(di\013eren)o(t)g(names)g(ev)o(en)g +(when)h(the)f(op)q(erating)g(system)g(is)g(the)g(same;)0 +1113 y(for)i(example,)g(they)h(ma)o(y)e(b)q(e)i(on)g(di\013eren)o(t)h +(directories)f(or)g(di\013eren)o(t)h(devices.)30 b(The)0 +1164 y(Common)11 b(Lisp)k(logical)d(pathname)i(system)g(de\014nes)i(a)e +(particular)g(pathname)g(struc-)0 1216 y(ture)h(and)e(namestring)g(syn) +o(tax)h(that)g(m)o(ust)f(b)q(e)h(supp)q(orted)i(b)o(y)d(all)g(implemen) +o(tatio)o(ns.)1273 1364 y([)p Fv(Class)s Fw(])-1396 b +Fs(logical-pathname)0 1441 y Fw(This)14 b(is)g(a)f(sub)q(class)i(of)e +Fs(pathname)p Fw(.)0 1607 y Fo(23.1.5.1.)20 b(Syn)n(tax)14 +b(of)h(Logical)f(P)n(athname)h(Namestrings)0 1698 y Fw(The)f(syn)o(tax) +g(of)f(a)h(logical)e(pathname)h(namestring)g(is)g(as)h(follo)o(ws:)0 +1787 y Fv(lo)n(gic)n(al-namestring)j Fw(::=)j([)p Fv(host)e +Fs(:)p Fw(])27 b([)p Fs(;)p Fw(])g Ft(f)p Fv(dir)n(e)n(ctory)17 +b Fs(;)p Ft(g)897 1772 y Fl(\003)944 1787 y Fw([)p Fv(name)s +Fw(])27 b([)p Fs(.)14 b Fv(typ)n(e)25 b Fw([)p Fs(.)14 +b Fv(version)s Fw(])7 b(])0 1876 y(Note)14 b(that)g(a)g(logical)e +(namestring)h(has)h(no)f Fv(devic)n(e)i Fw(p)q(ortion.)0 +1966 y Fv(host)j Fw(::=)13 b Fv(wor)n(d)0 2017 y(dir)n(e)n(ctory)k +Fw(::=)c Fv(wor)n(d)k Ft(j)d Fv(wildc)n(ar)n(d-wor)n(d)i +Ft(j)d Fv(wildc)n(ar)n(d-inferiors)0 2069 y(name)18 b +Fw(::=)13 b Fv(wor)n(d)k Ft(j)d Fv(wildc)n(ar)n(d-wor)n(d)0 +2121 y(typ)n(e)j Fw(::=)c Fv(wor)n(d)18 b Ft(j)13 b Fv(wildc)n(ar)n +(d-wor)n(d)0 2173 y(version)k Fw(::=)c Fv(wor)n(d)18 +b Ft(j)13 b Fv(wildc)n(ar)n(d-wor)n(d)0 2225 y(wor)n(d)18 +b Fw(::=)i Ft(f)p Fv(letter)e Ft(j)c Fv(digit)k Ft(j)d +Fs(-)p Ft(g)508 2210 y Fk(+)0 2277 y Fv(wildc)n(ar)n(d-wor)n(d)h +Fw(::=)k([)p Fv(wor)n(d)t Fw(])g Fs(*)g Ft(f)p Fv(wor)n(d)f +Fs(*)p Ft(g)686 2262 y Fl(\003)732 2277 y Fw([)p Fv(wor)n(d)t +Fw(])0 2329 y Fv(wildc)n(ar)n(d-inferiors)c Fw(::=)e +Fs(**)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 682 706 +682 705 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(682)77 b(COMMON)13 +b(LISP)42 295 y Fw(A)g Fv(wor)n(d)h Fw(consists)h(of)e(one)h(or)g(more) +f(upp)q(ercase)j(letters,)e(digits,)f(and)h(h)o(yphens.)42 +347 y(A)f Fv(wildc)n(ar)n(d)g(wor)n(d)g Fw(consists)h(of)f(one)g(or)h +(more)e(asterisks,)i(upp)q(ercase)i(letters,)e(digits,)0 +399 y(and)h(h)o(yphens,)g(including)f(at)h(least)g(one)g(asterisk,)g +(with)g(no)g(t)o(w)o(o)f(asterisks)i(adjacen)o(t.)0 451 +y(Eac)o(h)g(asterisk)h(matc)o(hes)f(a)g(sequence)i(of)e(zero)h(or)f +(more)f(c)o(haracters.)27 b(The)16 b(wildcard)0 503 y(w)o(ord)e +Fs(*)f Fw(parses)i(as)f Fs(:wild)p Fw(;)f(all)f(others)j(parse)g(as)f +(strings.)42 555 y(Lo)o(w)o(ercase)g(letters)g(ma)o(y)e(also)g(app)q +(ear)i(in)f(a)g(w)o(ord)g(or)g(wildcard)g(w)o(ord)g(o)q(ccurring)h(in)0 +607 y(a)h(namestring.)22 b(Suc)o(h)16 b(letters)h(are)f(con)o(v)o +(erted)h(to)e(upp)q(ercase)j(when)e(the)g(namestring)0 +659 y(is)f(con)o(v)o(erted)h(to)f(a)g(pathname.)21 b(The)15 +b(consequences)j(of)d(using)g(other)g(c)o(haracters)i(are)0 +711 y(unsp)q(eci\014ed.)42 763 y(The)h Fv(host)g Fw(is)f(a)h(w)o(ord)f +(that)h(has)g(b)q(een)h(de\014ned)g(as)f(a)f(logical)f(pathname)h(host) +h(b)o(y)0 815 y(using)c Fs(setf)f Fw(with)g(the)i(function)e +Fs(logical-pathname-tr)o(ansla)o(tion)o(s)p Fw(.)42 868 +y(There)23 b(is)f(no)g(device,)j(so)e(the)g(device)g(comp)q(onen)o(t)e +(of)h(a)g(logical)f(pathname)g(is)0 920 y(alw)o(a)o(ys)f +Fs(:unspecific)p Fw(.)36 b(No)21 b(other)g(comp)q(onen)o(t)f(of)g(a)h +(logical)e(pathname)g(can)i(b)q(e)0 971 y Fs(:unspecific)p +Fw(.)42 1024 y(Eac)o(h)12 b Fv(dir)n(e)n(ctory)e Fw(is)i(a)g(w)o(ord,)f +(a)h(wildcard)f(w)o(ord,)h(or)g Fs(**)f Fw(\(whic)o(h)h(is)f(parsed)i +(as)f Fs(:wild-)0 1076 y(inferiors)p Fw(\).)k(If)c(a)h(semicolon)e +(precedes)k(the)e(directories,)h(the)f(directory)g(comp)q(onen)o(t)0 +1128 y(is)h(relativ)o(e;)f(otherwise)i(it)e(is)h(absolute.)42 +1180 y(The)g Fv(name)g Fw(is)g(a)g(w)o(ord)f(or)h(a)g(wildcard)f(w)o +(ord.)42 1233 y(The)h Fv(typ)n(e)g Fw(is)g(a)f(w)o(ord)h(or)g(a)f +(wildcard)h(w)o(ord.)42 1285 y(The)20 b Fv(version)g +Fw(is)f(a)h(p)q(ositiv)o(e)g(decimal)e(in)o(teger)i(or)g(the)h(w)o(ord) +e Fs(NEWEST)g Fw(\(whic)o(h)h(is)0 1337 y(parsed)d(as)g +Fs(:newest)p Fw(\))e(or)h Fs(*)g Fw(\(whic)o(h)g(is)h(parsed)g(as)f +Fs(:wild)p Fw(\).)25 b(The)16 b(letters)i(in)e Fs(NEWEST)0 +1389 y Fw(can)e(b)q(e)h(in)e(either)i(alphab)q(etic)f(case.)42 +1441 y(The)c(consequences)i(of)d(using)h(an)o(y)f(v)n(alue)g(not)h(sp)q +(eci\014ed)h(here)g(as)f(a)f(logical)f(pathname)0 1493 +y(comp)q(onen)o(t)17 b(are)h(unsp)q(eci\014ed.)31 b(The)18 +b(n)o(ull)e(string)i Fs("")f Fw(is)g(not)h(a)f(v)n(alid)f(v)n(alue)h +(for)g(an)o(y)0 1545 y(comp)q(onen)o(t)h(of)g(a)h(logical)e(pathname,)h +(since)h(the)h(n)o(ull)d(string)i(is)g(not)f(a)h(w)o(ord)f(or)h(a)0 +1597 y(wildcard)13 b(w)o(ord.)0 1769 y Fo(23.1.5.2.)20 +b(P)n(arsing)15 b(of)g(Logical)f(P)n(athname)h(Namestrings)0 +1861 y Fw(Logical)21 b(pathname)h(namestrings)g(are)i(recognized)g(b)o +(y)e(the)i(functions)e Fs(logical-)0 1913 y(pathname)9 +b Fw(and)h Fs(translate-logic)o(al-pa)o(thnam)o(e)p Fw(.)k(The)d(host)f +(p)q(ortion)g(of)g(the)g(logical)0 1965 y(pathname)j(namestring)g(and)h +(its)g(follo)o(wing)e(colon)i(m)o(ust)f(app)q(ear)h(in)g(the)h +(namestring)0 2017 y(argumen)o(ts)e(to)h(these)h(functions.)42 +2069 y(The)d(function)g Fs(parse-namestring)d Fw(recognizes)k(a)f +(logical)f(pathname)g(namestring)0 2121 y(when)k(the)g +Fv(host)g Fw(argumen)o(t)e(is)i(logical)e(or)h(the)h +Fv(defaults)g Fw(argumen)o(t)e(is)i(a)f(logical)f(path-)0 +2173 y(name.)20 b(In)15 b(this)g(case)h(the)g(host)f(p)q(ortion)g(of)f +(the)i(logical)d(pathname)h(namestring)g(and)0 2225 y(its)f(follo)o +(wing)d(colon)i(are)h(optional.)j(If)c(the)i(host)e(p)q(ortion)h(of)f +(the)h(namestring)f(and)g(the)0 2277 y Fv(host)j Fw(argumen)o(t)e(are)j +(b)q(oth)e(presen)o(t)j(and)d(do)h(not)f(matc)o(h,)g(an)g(error)i(is)e +(signaled.)20 b(The)0 2329 y(host)15 b(argumen)o(t)f(is)h(logical)e(if) +h(it)g(is)h(supplied)g(and)g(came)f(from)f Fs(pathname-host)f +Fw(of)i(a)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 683 707 +683 706 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(683)0 295 y Fw(logical)13 b(pathname.)21 b(Whether)16 +b(a)f(host)h(argumen)o(t)e(is)h(logical)e(if)i(it)g(is)g(a)g(string)g +Fs(equal)0 347 y Fw(to)f(a)f(logical)f(pathname)h(host)h(name)f(is)h +(implemen)o(tati)o(on-de\014ned.)42 399 y(The)h(function)g +Fs(merge-pathnames)d Fw(recognizes)17 b(a)e(logical)f(pathname)g +(namestring)0 450 y(when)c(the)g Fv(defaults)g Fw(argumen)o(t)e(is)i(a) +f(logical)f(pathname.)15 b(In)10 b(this)f(case)i(the)f(host)g(p)q +(ortion)0 502 y(of)j(the)i(logical)d(pathname)h(namestring)f(and)i(its) +g(follo)o(wing)d(colon)j(are)g(optional.)42 554 y(Whether)19 +b(the)h(other)g(functions)f(that)g(co)q(erce)h(strings)g(to)e +(pathnames)h(recognize)0 606 y(logical)12 b(pathname)g(namestrings)g +(is)h(implemen)o(tation-de\014ned.)j(These)e(functions)f(in-)0 +658 y(clude)h Fs(parse-namestring)c Fw(in)j(circumstances)h(other)h +(than)e(those)h(describ)q(ed)h(ab)q(o)o(v)o(e,)0 710 +y Fs(merge-pathnames)i Fw(in)k(circumstances)g(other)g(than)g(those)g +(describ)q(ed)i(ab)q(o)o(v)o(e,)e(the)0 762 y Fs(:defaults)12 +b Fw(argumen)o(t)h(to)g Fs(make-pathname)p Fw(,)e(and)j(the)g(follo)o +(wing)e(functions:)0 841 y Fs(compile-file)270 b(file-write-date)138 +b(pathname-name)0 893 y(compile-file-path)o(name)73 b(host-namestring) +138 b(pathname-type)0 945 y(delete-file)292 b(load)380 +b(pathname-version)0 996 y(directory)336 b(namestring)248 +b(probe-file)0 1048 y(directory-namestr)o(ing)95 b(open)380 +b(rename-file)0 1100 y(dribble)g(pathname)292 b(translate-pathname)0 +1152 y(ed)490 b(pathname-device)138 b(truename)0 1204 +y(enough-namestring)160 b(pathname-director)o(y)73 b(wild-pathname-p)0 +1256 y(file-author)292 b(pathname-host)182 b(with-open-file)0 +1308 y(file-namestring)204 b(pathname-match-p)-33 1279 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1386 a Fw(Note)11 b(that)g(man)o(y)e(of)h(these)j +(functions)d(m)o(ust)g(accept)i(logical)d(pathnames)h(ev)o(en)i(though) +0 1438 y(they)i(do)g(not)g(accept)h(logical)d(pathname)h(namestrings.)0 +1560 y Fo(23.1.5.3.)20 b(Using)14 b(Logical)g(P)n(athnames)0 +1638 y Fw(Some)e(real)i(\014le)g(systems)f(do)h(not)f(ha)o(v)o(e)h(v)o +(ersions.)k(Logical)12 b(pathname)h(translation)g(to)0 +1689 y(suc)o(h)j(a)e(\014le)h(system)g(ignores)g(the)h(v)o(ersion.)21 +b(This)15 b(implies)e(that)i(a)f(p)q(ortable)h(program)0 +1741 y(cannot)f(rely)f(on)g(b)q(eing)h(able)f(to)g(store)i(in)e(a)g +(\014le)h(system)f(more)f(than)i(one)g(v)o(ersion)f(of)g(a)0 +1793 y(\014le)h(named)f(b)o(y)g(a)h(logical)e(pathname.)42 +1845 y(The)g(t)o(yp)q(e)h(of)e(a)h(logical)e(pathname)h(for)h(a)f +(Common)e(Lisp)j(source)h(\014le)f(is)g Fs(LISP)p Fw(.)f(This)0 +1897 y(should)e(b)q(e)h(translated)g(in)o(to)f(whatev)o(er)h(implemen)o +(tati)o(on-de\014ned)e(t)o(yp)q(e)h(is)h(appropriate)0 +1949 y(in)j(a)h(ph)o(ysical)f(pathname.)42 2001 y(The)k(logical)e +(pathname)h(host)i(name)e Fs(SYS)g Fw(is)h(reserv)o(ed)i(for)e(the)h +(implem)o(en)o(tation.)0 2053 y(The)24 b(existence)i(and)e(meaning)e +(of)h(logical)f(pathnames)h(for)g(logical)g(host)h Fs(SYS)f +Fw(is)0 2105 y(implemen)o(tatio)o(n-de\014ned.)42 2156 +y(File)10 b(manipulation)f(functions)i(m)o(ust)f(op)q(erate)j(with)e +(logical)e(pathnames)i(according)0 2208 y(to)j(the)g(follo)o(wing)d +(requiremen)o(ts:)0 2268 y Fu(.)42 2277 y Fw(The)18 b(follo)o(wing)d +(accept)k(logical)d(pathnames)h(and)g(translate)h(them)f(in)o(to)g(ph)o +(ysical)-33 2249 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 42 2329 a(pathnames)c(as)h(if)f(b)o(y)g(calling)g(the)h +(function)g Fs(translate-logica)o(l-pat)o(hname)o Fw(:)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 684 708 +684 707 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(684)77 b(COMMON)13 +b(LISP)42 290 y Fs(compile-file)300 b(ed)440 b(probe-file)42 +341 y(compile-file-pa)o(thnam)o(e)104 b(file-author)242 +b(rename-file)42 393 y(delete-file)322 b(file-write-date)154 +b(truename)42 445 y(directory)366 b(load)396 b(with-open-file)42 +497 y(dribble)410 b(open)0 571 y Fu(.)42 580 y Fw(Applying)13 +b(the)i(function)f Fs(pathname)e Fw(to)j(a)f(stream)g(created)h(b)o(y)g +(the)g(function)f Fs(open)42 632 y Fw(or)f(the)h(macro)f +Fs(with-open-file)d Fw(using)k(a)f(logical)f(pathname)g(pro)q(duces)j +(a)e(logical)42 684 y(pathname.)0 761 y Fu(.)42 770 y +Fw(The)h(functions)g Fs(truename)p Fw(,)e Fs(probe-file)p +Fw(,)g(and)i Fs(directory)e Fw(nev)o(er)j(return)g(logical)42 +822 y(pathnames.)0 899 y Fu(.)42 908 y Fw(Calling)e Fs(rename-file)g +Fw(with)i(a)g(logical)e(pathname)h(as)i(the)g(second)g(argumen)o(t)e +(re-)42 960 y(turns)g(a)g(logical)e(pathname)h(as)h(the)g(\014rst)h(v)n +(alue.)0 1037 y Fu(.)42 1046 y Fs(make-pathname)9 b Fw(returns)k(a)f +(logical)e(pathname)h(if)g(and)h(only)f(if)g(the)i(host)f(is)g +(logical.)42 1098 y(If)i(the)h Fs(:host)f Fw(argumen)o(t)f(to)i +Fs(make-pathname)d Fw(is)i(supplied,)h(the)g(host)g(is)g(logical)e(if) +42 1150 y(it)g(came)g(from)g(the)i Fs(pathname-host)c +Fw(of)i(a)h(logical)e(pathname.)18 b(Whether)d(a)f Fs(:host)42 +1202 y Fw(argumen)o(t)g(is)h(logical)e(if)h(it)h(is)g(a)g(string)g +(equal)g(to)g(a)g(logical)e(pathname)h(host)i(name)42 +1254 y(is)d(implemen)o(tation-de\014ned.)1209 1402 y([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(logical-pathname)18 +b Fv(p)n(athname)0 1480 y Fw(Con)o(v)o(erts)e(the)f(argumen)o(t)f(to)h +(a)g(logical)e(pathname)h(and)h(returns)i(it.)k(The)16 +b(argumen)o(t)0 1531 y(can)f(b)q(e)g(a)f(logical)f(pathname,)g(a)i +(logical)e(pathname)g(namestring)h(con)o(taining)f(a)h(host)0 +1583 y(comp)q(onen)o(t,)k(or)h(a)f(stream)g(for)g(whic)o(h)g(the)h +Fs(pathname)e Fw(function)h(returns)i(a)e(logical)0 1635 +y(pathname.)27 b(F)m(or)16 b(an)o(y)h(other)h(argumen)o(t,)e +Fs(logical-pathname)e Fw(signals)i(an)h(error)h(of)0 +1687 y(t)o(yp)q(e)c Fs(type-error)p Fw(.)1209 1836 y([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(translate-logical)o(-path)o(name)18 +b Fv(p)n(athname)25 b Fs(&key)0 1913 y Fw(T)m(ranslates)15 +b(a)f(logical)f(pathname)g(to)i(the)g(corresp)q(onding)g(ph)o(ysical)f +(pathname.)19 b(The)0 1965 y Fv(p)n(athname)e Fw(argumen)o(t)d(is)i +(\014rst)g(co)q(erced)i(to)d(a)g(pathname.)22 b(If)16 +b(it)f(is)g(not)h(a)f(pathname,)0 2017 y(string,)e(or)h(\014le)g +(stream,)f(an)h(error)h(of)e(t)o(yp)q(e)h Fs(type-error)e +Fw(is)i(signaled.)42 2069 y(If)f(the)i(co)q(erced)g(argumen)o(t)e(is)h +(a)f(ph)o(ysical)h(pathname,)e(it)i(is)f(returned.)42 +2121 y(If)c(the)i(co)q(erced)h(argumen)o(t)d(is)i(a)e(logical)g +(pathname,)g(the)i(\014rst)g(matc)o(hing)d(translation)0 +2173 y(\(according)14 b(to)f Fs(pathname-match-p)o Fw(\))e(of)i(the)h +(logical)d(pathname)h(host)i(is)f(applied,)g(as)0 2225 +y(if)j(b)o(y)h(calling)e Fs(translate-pathnam)o(e)p Fw(.)24 +b(If)16 b(the)i(result)f(is)g(a)g(logical)e(pathname,)h(this)0 +2277 y(pro)q(cess)21 b(is)e(rep)q(eated.)37 b(When)19 +b(the)h(result)g(is)g(\014nally)e(a)h(ph)o(ysical)g(pathname,)g(it)g +(is)0 2329 y(returned.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 685 709 +685 708 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(685)42 295 y Fw(If)13 b(no)g(translation)g(matc)o(hes)g(a)g +(logical)f(pathname,)g(an)h(error)i(of)e(t)o(yp)q(e)h +Fs(file-error)0 347 y Fw(is)g(signaled.)42 400 y Fs(translate-logic)o +(al-pa)o(thnam)o(e)e Fw(ma)o(y)h(p)q(erform)i(additional)e +(translations,)h(t)o(ypi-)0 452 y(cally)h(to)h(pro)o(vide)g +(translation)g(of)g(\014le)g(t)o(yp)q(es)h(to)f(lo)q(cal)f(naming)f +(con)o(v)o(en)o(tions,)j(to)f(ac-)0 504 y(commo)q(date)i(ph)o(ysical)h +(\014le)h(systems)g(with)g(names)f(of)g(limited)f(length,)j(or)f(to)g +(deal)0 555 y(with)f(sp)q(ecial)h(c)o(haracter)h(requiremen)o(ts)f(suc) +o(h)h(as)e(translating)g(h)o(yphens)i(to)e(under-)0 607 +y(scores)c(or)e(upp)q(ercase)i(letters)g(to)e(lo)o(w)o(ercase.)18 +b(An)o(y)13 b(suc)o(h)h(additional)d(translations)i(are)0 +659 y(implemen)o(tatio)o(n-de\014ned.)i(Some)9 b(implemen)o(tations)e +(do)j(no)g(additional)e(translations.)42 712 y(There)31 +b(are)g(no)g(sp)q(eci\014ed)h(k)o(eyw)o(ord)e(argumen)o(ts)g(for)g +Fs(translate-logical-)0 764 y(pathname)11 b Fw(but)h(implemen)o +(tations)d(are)k(p)q(ermitted)f(to)h(extend)g(it)f(b)o(y)g(adding)g(k)o +(eyw)o(ord)0 816 y(argumen)o(ts.)31 b(There)20 b(is)e(one)h(sp)q +(eci\014ed)h(return)g(v)n(alue)e(from)e Fs(translate-logical-)0 +868 y(pathname)p Fw(;)9 b(implemen)o(tations)f(are)j(p)q(ermitted)f(to) +g(extend)i(it)e(b)o(y)h(returning)g(additional)0 920 +y(v)n(alues.)1209 1107 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(logical-pathname-)o(trans)o(latio)o(ns)18 b Fv(host)0 +1185 y Fw(If)h(the)g(sp)q(eci\014ed)i Fv(host)e Fw(is)g(not)g(the)g +(host)g(comp)q(onen)o(t)g(of)f(a)h(logical)e(pathname)h(and)0 +1237 y(is)h(not)f(a)h(string)g(that)g(has)f(b)q(een)i(de\014ned)g(as)f +(a)g(logical)e(pathname)g(host)i(name)f(b)o(y)0 1289 +y Fs(setf)d Fw(of)h Fs(logical-pathname)o(-tran)o(slati)o(ons)p +Fw(,)d(this)j(function)g(signals)f(an)h(error)h(of)0 +1340 y(t)o(yp)q(e)f Fs(type-error)p Fw(;)f(otherwise,)i(it)e(returns)j +(the)e(list)g(of)f(translations)h(for)f(the)i(sp)q(eci-)0 +1392 y(\014ed)f Fv(host)p Fw(.)24 b(Eac)o(h)17 b(translation)e(is)h(a)f +(list)h(of)f(at)g(least)i(t)o(w)o(o)e(elemen)o(ts,)h(from-wildnam)n(e)0 +1444 y(and)i(to-wildname.)30 b(An)o(y)18 b(additional)e(elemen)o(ts)j +(are)g(implem)o(en)o(tation-de\014ned.)30 b(A)0 1496 +y(from-wildnam)o(e)12 b(is)j(a)g(logical)f(pathname)g(whose)i(host)f +(is)g(the)h(sp)q(eci\014ed)h Fv(host)p Fw(.)22 b(A)15 +b(to-)0 1548 y(wildname)e(is)i(an)o(y)g(pathname.)20 +b(T)m(ranslations)14 b(are)i(searc)o(hed)h(in)d(the)i(order)g(listed,)f +(so)0 1600 y(more)e(sp)q(eci\014c)i(from-wildnam)o(es)d(m)o(ust)g +(precede)k(more)d(general)h(ones.)42 1653 y Fs(\(setf)20 +b(\(logical-pathnam)o(e-tra)o(nsla)o(tions)e Fv(host)t +Fs(\))j Fv(tr)n(anslations)s Fs(\))33 b Fw(sets)i(the)0 +1705 y(list)18 b(of)f(translations)h(for)g(the)g(logical)f(pathname)g +Fv(host)h Fw(to)g Fv(tr)n(anslations)p Fw(.)30 b(If)18 +b Fv(host)g Fw(is)0 1757 y(a)e(string)g(that)h(has)f(not)g(previously)g +(b)q(een)i(used)f(as)f(logical)f(pathname)g(host,)h(a)g(new)0 +1809 y(logical)11 b(pathname)h(host)h(is)f(de\014ned;)i(otherwise)g(an) +e(existing)h(host's)g(translations)f(are)0 1861 y(replaced.)19 +b(Logical)13 b(pathname)f(host)i(names)g(are)g(compared)f(with)h +Fs(string-equal)p Fw(.)42 1914 y(When)19 b(setting)h(the)g +(translations)f(list,)h(eac)o(h)f(from-wildnam)o(e)e(can)i(b)q(e)h(a)f +(logical)0 1966 y(pathname)11 b(whose)i(host)f(is)g Fv(host)h +Fw(or)f(a)g(logical)e(pathname)h(namestring)g Fv(s)h +Fw(parseable)h(b)o(y)0 2017 y Fs(\(parse-namestring)18 +b Fv(s)j(host)p Fs(-)p Fv(obje)n(ct)p Fs(\))p Fw(,)16 +b(where)h Fv(host-obje)n(ct)f Fw(is)g(an)g(appropriate)g(ob-)0 +2069 y(ject)c(for)e(represen)o(ting)j(the)e(sp)q(eci\014ed)i +Fv(host)e Fw(to)g Fs(parse-namestrin)o(g)p Fw(.)j(\(This)d(circuitous)0 +2121 y(sp)q(eci\014cation)i(do)q(dges)g(the)g(fact)g(that)f +Fs(parse-namestring)e Fw(do)q(es)j(not)f(necessarily)i(ac-)0 +2173 y(cept)i(as)f(its)g(second)i(argumen)o(t)d(an)o(y)g(old)h(string)g +(that)g(names)f(a)h(logical)e(host.\))22 b(Eac)o(h)0 +2225 y(to-wildname)14 b(can)i(b)q(e)h(an)o(ything)e(co)q(ercible)i(to)f +(a)f(pathname)g(b)o(y)h(application)f(of)g(the)0 2277 +y(function)10 b Fs(pathname)p Fw(.)15 b(If)10 b(to-wildname)d(co)q +(erces)13 b(to)d(a)f(logical)g(pathname,)g Fs(translate-)0 +2329 y(logical-pathname)i Fw(will)h(retranslate)j(the)f(result,)h(rep)q +(eatedly)g(if)e(necessary)m(.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 686 710 +686 709 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(686)77 b(COMMON)13 +b(LISP)42 295 y Fw(Implemen)o(tatio)o(ns)k(ma)o(y)g(de\014ne)j +(additional)d(functions)i(that)g(op)q(erate)h(on)e(logical)0 +347 y(pathname)e(hosts)j(\(for)e(example,)g(to)g(sp)q(ecify)i +(additional)c(translation)i(rules)i(or)e(op-)0 399 y(tions\).)1209 +524 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(load-logical-path)o(name-)o +(trans)o(latio)o(ns)18 b Fv(host)0 601 y Fw(If)12 b(a)h(logical)e +(pathname)g(host)i(named)f Fv(host)h Fw(\(a)f(string\))h(is)g(already)f +(de\014ned,)i(this)f(func-)0 653 y(tion)e(returns)j Fs(nil)p +Fw(.)i(Otherwise,)d(it)f(searc)o(hes)i(for)d(a)g(logical)f(pathname)h +(host)h(de\014nition)0 705 y(in)h(an)g(implemen)o(tatio)o(n-de\014ned)f +(manner.)17 b(If)c(none)g(is)g(found,)g(it)g(signals)f(an)h(error.)19 +b(If)0 757 y(a)14 b(de\014nition)f(is)h(found,)f(it)g(installs)g(the)i +(de\014nition)e(and)h(returns)i Fs(t)p Fw(.)42 808 y(The)24 +b(searc)o(h)h(used)g(b)o(y)f Fs(load-logical-pa)o(thnam)o(e-tra)o +(nslat)o(ions)c Fw(should)k(b)q(e)0 860 y(do)q(cumen)o(ted,)h(as)f +(logical)d(pathname)h(de\014nitions)h(will)f(b)q(e)i(created)h(b)o(y)e +(users)i(as)0 912 y(w)o(ell)18 b(as)g(b)o(y)h(Lisp)f(implemen)o(tors.) +29 b(A)19 b(t)o(ypical)f(searc)o(h)h(tec)o(hnique)h(is)e(to)g(lo)q(ok)g +(in)g(an)0 964 y(implemen)o(tatio)o(n-de\014ned)e(directory)j(for)e(a)g +(\014le)h(whose)g(name)f(is)g(deriv)o(ed)h(from)e(the)0 +1016 y(host)e(name)f(in)g(an)h(implemen)o(tatio)o(n-de\014ned)e +(fashion.)1209 1142 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(compile-file-path)o(name)18 b Fv(p)n(athname)25 +b Fs(&key)20 b(:output-file)0 1218 y Fw(Returns)i(the)h(pathname)d +(that)i Fs(compile-file)d Fw(w)o(ould)i(write)h(in)o(to,)g(if)f(giv)o +(en)g(the)0 1270 y(same)16 b(argumen)o(ts.)27 b(If)17 +b(the)h(pathname)e(argumen)o(t)g(is)h(a)g(logical)e(pathname)h(and)h +(the)0 1322 y Fs(:output-file)d Fw(argumen)o(t)i(is)h(unsp)q +(eci\014ed,)i(the)e(result)h(is)f(a)f(logical)f(pathname.)26 +b(If)0 1374 y(an)11 b(implemen)o(tation)e(supp)q(orts)k(additional)c(k) +o(eyw)o(ord)j(argumen)o(ts)f(to)h Fs(compile-file)p Fw(,)0 +1426 y Fs(compile-file-path)o(name)e Fw(m)o(ust)j(accept)i(the)g(same)e +(argumen)o(ts.)0 1574 y Fo(23.1.5.4.)20 b(Examples)12 +b(of)j(the)g(Use)f(of)h(Logical)f(P)n(athnames)0 1659 +y Fw(Here)j(is)f(a)f(v)o(ery)i(simple)d(example)h(of)g(setting)h(up)g +(a)g(logical)e(pathname)h(host)h(named)0 1711 y Fs(FOO)p +Fw(.)i(Supp)q(ose)j(that)f(no)f(translations)g(are)h(necessary)i(to)d +(get)h(around)f(\014le)h(system)0 1763 y(restrictions,)j(so)e(all)e +(that)i(is)f(necessary)j(is)d(to)h(sp)q(ecify)g(the)g(ro)q(ot)g(of)f +(the)h(ph)o(ysical)0 1815 y(directory)14 b(tree)g(that)g(con)o(tains)f +(the)h(logical)d(\014le)j(system.)j(The)d(namestring)e(syn)o(tax)h(in)0 +1866 y(the)h(to-wildname)e(is)i(implemen)o(tati)o(on-sp)q(eci\014c.)0 +1951 y Fs(\(setf)20 b(\(logical-pathname-)o(trans)o(latio)o(ns)e +("foo"\))125 2007 y Fn(')148 2003 y Fs(\(\("**;*.*.*")209 +b("MY-LISPM:>library>)o(foo>*)o(*>"\)\))o(\))0 2088 y +Fw(The)14 b(follo)o(wing)d(is)j(a)f(sample)f(use)j(of)e(that)h(logical) +e(pathname.)k(All)d(return)i(v)n(alues)e(are)0 2140 y(of)k(course)i +(implemen)o(tati)o(on-sp)q(eci\014c;)e(all)g(of)g(the)h(examples)e(in)i +(this)f(section)h(are)g(of)0 2192 y(course)d(mean)o(t)e(to)h(b)q(e)g +(illustrativ)o(e)f(and)h(not)g(prescriptiv)o(e.)0 2277 +y Fs(\(translate-logica)o(l-pat)o(hname)k("foo:bar;baz;mu)o(m.quu)o +(x.3"\))64 2329 y Ft(\))i Fs(#)126 2325 y(-)126 2333 +y(-)148 2329 y(P"MY-LISPM:>libra)o(ry>fo)o(o>bar)o(>baz>)o(mum.q)o +(uux.3)o(")-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 687 711 +687 710 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(687)42 295 y Fw(Next)17 b(w)o(e)h(ha)o(v)o(e)e(a)h(more)f +(complex)g(example,)g(dividing)g(the)i(\014les)f(among)e(t)o(w)o(o)i +(\014le)0 347 y(serv)o(ers)i(\()p Fs(U)p Fw(,)e(supp)q(orting)h(a)f +(UNIX)g(\014le)h(system,)f(and)h Fs(V)p Fw(,)e(supp)q(orting)i(a)f(V)-5 +b(AX/VMS)0 399 y(\014le)16 b(system\))g(and)f(sev)o(eral)i(di\013eren)o +(t)g(directories.)25 b(This)16 b(UNIX)g(\014le)g(system)f(do)q(esn't)0 +450 y(supp)q(ort)j Fs(:wild-inferiors)c Fw(in)j(the)h(directory)m(,)g +(so)f(eac)o(h)h(directory)g(lev)o(el)f(m)o(ust)f(b)q(e)0 +502 y(translated)j(individually)m(.)29 b(No)19 b(\014le)f(name)g(or)g +(t)o(yp)q(e)i(translations)e(are)h(required)h(ex-)0 554 +y(cept)c(for)e Fs(.MAIL)g Fw(to)h Fs(.MBX)p Fw(.)e(The)i(namestring)f +(syn)o(tax)h(used)g(for)g(the)g(to-wildnames)e(is)0 606 +y(implemen)o(tatio)o(n-sp)q(eci\014c.)0 703 y Fs(\(setf)20 +b(\(logical-pathname-)o(trans)o(latio)o(ns)e("prog"\))125 +759 y Fn(')148 755 y Fs(\(\("RELEASED;*.*.*")81 b("U:/sys/bin/my-pro)o +(g/"\))169 807 y(\("RELEASED;*;*.*.*")39 b("U:/sys/bin/my-p)o(rog/*)o +(/"\))169 859 y(\("EXPERIMENTAL;*.*.)o(*")614 911 y("U:/usr/Joe/devel)o +(opmen)o(t/pro)o(g/"\))169 963 y(\("EXPERIMENTAL;DOCU)o(MENTA)o(TION;)o +(*.*.*)o(")614 1015 y("V:SYS$DISK:[JOE.)o(DOC]")o(\))169 +1067 y(\("EXPERIMENTAL;*;*.)o(*.*")614 1118 y("U:/usr/Joe/devel)o +(opmen)o(t/pro)o(g/*/")o(\))169 1170 y(\("MAIL;**;*.MAIL")82 +b("V:SYS$DISK:[JO)o(E.MAI)o(L.PRO)o(G...])o(*.MB)o(X"\))169 +1222 y(\)\))0 1318 y Fw(Here)21 b(are)f(sample)e(uses)j(of)d(logical)g +(host)i Fs(PROG)p Fw(.)e(All)h(return)h(v)n(alues)g(are)g(of)e(course)0 +1370 y(implemen)o(tatio)o(n-sp)q(eci\014c.)0 1467 y Fs +(\(translate-logica)o(l-pat)o(hname)g("prog:mail;save)o(;idea)o(s.mai)o +(l.3"\))64 1519 y Ft(\))i Fs(#)126 1515 y(-)126 1523 +y(-)148 1519 y(P"V:SYS$DISK:[JOE)o(.MAIL)o(.PROG)o(.SAVE)o(]IDEA)o +(S.MBX)o(.3")0 1623 y(\(translate-logica)o(l-pat)o(hname)e +("prog:experimen)o(tal;s)o(pread)o(sheet)o(.c"\))64 1675 +y Ft(\))i Fs(#)126 1671 y(-)126 1679 y(-)148 1675 y(P"U:/usr/Joe/deve)o +(lopme)o(nt/pr)o(og/sp)o(reads)o(heet.)o(c")42 1771 y +Fw(Supp)q(ose)15 b(no)o(w)f(that)g(w)o(e)h(ha)o(v)o(e)f(a)g(program)f +(that)i(uses)g(three)h(\014les)f(logically)d(named)0 +1823 y Fs(MAIN.LISP)p Fw(,)c Fs(AUXILIARY.LISP)p Fw(,)e(and)k +Fs(DOCUMENTATION.LISP)p Fw(.)c(The)11 b(follo)o(wing)c(trans-)0 +1875 y(lations)13 b(migh)o(t)f(b)q(e)i(pro)o(vided)g(b)o(y)g(a)f(soft)o +(w)o(are)h(supplier)g(as)g(examples.)42 1928 y(F)m(or)f(a)h(UNIX)g +(\014le)g(system)f(with)h(long)f(\014le)h(names:)0 2025 +y Fs(\(setf)20 b(\(logical-pathname-)o(trans)o(latio)o(ns)e("prog"\)) +125 2081 y Fn(')148 2077 y Fs(\(\("CODE;*.*.*")167 b +("/lib/prog/"\)\)\))0 2181 y(\(translate-logica)o(l-pat)o(hname)18 +b("prog:code;docu)o(menta)o(tion.)o(lisp")o(\))64 2233 +y Ft(\))i Fs(#)126 2229 y(-)126 2237 y(-)148 2233 y(P"/lib/prog/docum)o +(entat)o(ion.l)o(isp")0 2329 y Fw(F)m(or)12 b(a)g(UNIX)g(\014le)g +(system)g(with)g(14-c)o(haracter)h(\014le)f(names,)f(using)h +Fs(.lisp)f Fw(as)h(the)h(t)o(yp)q(e:)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 688 712 +688 711 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(688)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(setf)20 b(\(logical-pathname-)o(trans)o(latio)o(ns) +e("prog"\))125 351 y Fn(')148 347 y Fs(\(\("CODE;DOCUMENTAT)o(ION.*)o +(.*")g("/lib/prog/docum.)o(*"\))169 399 y(\("CODE;*.*.*")273 +b("/lib/prog/"\)\)\))0 502 y(\(translate-logica)o(l-pat)o(hname)18 +b("prog:code;docu)o(menta)o(tion.)o(lisp")o(\))64 554 +y Ft(\))i Fs(#)126 550 y(-)126 558 y(-)148 554 y(P"/lib/prog/docum)o +(.lisp)o(")0 642 y Fw(F)m(or)11 b(a)g(UNIX)h(\014le)f(system)h(with)f +(14-c)o(haracter)h(\014le)g(names,)e(using)h Fs(.l)g +Fw(as)h(the)g(t)o(yp)q(e)g(\(the)0 694 y(second)j(translation)e +(shortens)j(the)e(compiled)e(\014le)i(t)o(yp)q(e)h(to)e +Fs(.b)p Fw(\):)0 782 y Fs(\(setf)20 b(\(logical-pathname-)o(trans)o +(latio)o(ns)e("prog"\))125 837 y Fn(`)148 833 y Fs(\(\("**;*.LISP.*") +124 b(,\(logical-pathname)18 b("PROG:**;*.L.*")o(\)\))169 +885 y(\(,\(compile-file-pat)o(hname)254 937 y(\(logical-pathname)g +("PROG:**;*.LISP.)o(*"\)\))593 989 y(,\(logical-pathna)o(me)g +("PROG:**;*.B.*"\)\))169 1041 y(\("CODE;DOCUMENTATIO)o(N.*.*)o(")g +("/lib/prog/document)o(atio.)o(*"\))169 1093 y(\("CODE;*.*.*")273 +b("/lib/prog/"\)\)\))0 1197 y(\(translate-logica)o(l-pat)o(hname)18 +b("prog:code;docu)o(menta)o(tion.)o(lisp")o(\))64 1249 +y Ft(\))i Fs(#)126 1245 y(-)126 1253 y(-)148 1249 y(P"/lib/prog/docum)o +(entat)o(io.l")0 1409 y Fo(23.1.5.5.)g(Discussion)14 +b(of)h(Logical)f(P)n(athnames)0 1498 y Fw(Large)d(programs)e(can)h(b)q +(e)h(mo)o(v)o(ed)e(b)q(et)o(w)o(een)j(sites)f(without)f(c)o(hanging)g +(an)o(y)g(pathnames,)0 1550 y(pro)o(vided)j(all)e(pathnames)i(used)g +(are)h(logical.)i(A)d(p)q(ortable)g(system)g(construction)g(to)q(ol)0 +1602 y(can)k(b)q(e)g(created)i(that)e(op)q(erates)h(on)e(programs)g +(de\014ned)i(as)f(sets)h(of)e(\014les)h(named)f(b)o(y)0 +1654 y(logical)c(pathnames.)42 1706 y(Logical)j(pathname)h(syn)o(tax)h +(w)o(as)g(c)o(hosen)g(to)g(b)q(e)h(easily)e(translated)i(in)o(to)e(the) +h(for-)0 1758 y(mats)9 b(of)h(most)f(p)q(opular)h(\014le)g(systems,)h +(while)e(still)h(b)q(eing)g(p)q(o)o(w)o(erful)g(enough)g(for)g(storing) +0 1810 y(large)16 b(programs.)22 b(Although)16 b(they)g(ha)o(v)o(e)g +(hierarc)o(hical)f(directories,)i(extended)h(wild-)0 +1861 y(card)f(matc)o(hing,)e(v)o(ersions,)j(and)e(no)h(limit)c(on)k +(the)g(length)g(of)f(names,)g(logical)f(path-)0 1913 +y(names)d(can)i(b)q(e)f(mapp)q(ed)g(on)o(to)f(a)h(less)h(capable)f +(real)g(\014le)g(system)g(b)o(y)g(translating)f(eac)o(h)0 +1965 y(directory)j(that)g(is)g(used)g(in)o(to)f(a)g(\015at)h(directory) +g(name,)f(pro)q(cessing)h(wildcards)g(in)f(the)0 2017 +y(Lisp)j(implemen)o(tation)d(rather)19 b(than)e(in)g(the)h(\014le)g +(system,)g(treating)f(all)g(v)o(ersions)h(as)0 2069 y +Fs(:newest)p Fw(,)12 b(and)i(using)f(translations)h(to)g(shorten)h +(long)d(names.)42 2121 y(Logical)18 b(pathname)h(w)o(ords)h(are)g +(restricted)i(to)d(non-case-sensitiv)o(e)i(letters,)i(dig-)0 +2173 y(its,)16 b(and)f(h)o(yphens)i(to)e(a)o(v)o(oid)g(creating)h +(problems)f(with)g(real)h(\014le)g(systems)g(that)f(sup-)0 +2225 y(p)q(ort)h(limited)e(c)o(haracter)j(sets)g(for)f(\014le)g +(naming.)21 b(\(If)16 b(logical)e(pathnames)h(w)o(ere)i(case-)0 +2277 y(sensitiv)o(e,)d(it)e(w)o(ould)h(b)q(e)h(v)o(ery)f(di\016cult)g +(to)g(map)e(them)i(in)o(to)f(a)h(\014le)g(system)g(that)h(is)f(not)0 +2329 y(sensitiv)o(e)i(to)e(case)i(in)f(its)f(\014le)h(names.\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 689 713 +689 712 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(689)42 295 y Fw(It)13 b(is)g(not)g(a)h(goal)e(of)g(logical)g +(pathnames)h(to)g(b)q(e)h(able)f(to)g(represen)o(t)j(all)c(p)q(ossible) +i(\014le)0 347 y(names.)22 b(Their)15 b(goal)g(is)g(rather)h(to)f +(represen)o(t)j(just)e(enough)f(\014le)h(names)e(to)i(b)q(e)g(useful)0 +399 y(for)e(storing)g(soft)o(w)o(are.)19 b(Real)13 b(pathnames,)g(in)h +(con)o(trast,)h(need)g(to)f(pro)o(vide)g(a)g(uniform)0 +450 y(in)o(terface)i(to)e(all)g(p)q(ossible)h(\014le)g(names,)f +(including)g(names)g(and)h(naming)e(con)o(v)o(en)o(tions)0 +502 y(that)h(are)g(not)g(under)h(the)f(con)o(trol)g(of)f(Common)e +(Lisp.)42 555 y(The)i(c)o(hoice)h(of)e(logical)g(pathname)g(syn)o(tax,) +g(using)h(colon,)g(semicolon,)e(and)i(p)q(erio)q(d,)0 +607 y(w)o(as)i(guided)h(b)o(y)f(the)h(goals)e(of)h(b)q(eing)g(visually) +f(distinct)i(from)e(real)h(\014le)g(systems)h(and)0 659 +y(minim)o(izing)10 b(the)15 b(use)g(of)e(sp)q(ecial)h(c)o(haracters.)42 +712 y(The)e Fs(logical-pathnam)o(e)d Fw(function)i(is)h(separate)g +(from)e(the)i Fs(pathname)e Fw(function)i(so)0 764 y(that)i(the)h(syn)o +(tax)g(of)e(logical)g(pathname)g(namestrings)h(do)q(es)h(not)f +(constrain)h(the)g(syn-)0 816 y(tax)g(of)f(ph)o(ysical)g(pathname)g +(namestrings)g(in)g(an)o(y)g(w)o(a)o(y)m(.)20 b(Logical)13 +b(pathname)h(syn)o(tax)0 868 y(m)o(ust)i(b)q(e)i(de\014ned)g(b)o(y)f +(Common)d(Lisp)j(so)g(that)h(logical)d(pathnames)h(can)i(b)q(e)g(con)o +(v)o(e-)0 920 y(nien)o(tly)f(exc)o(hanged)g(b)q(et)o(w)o(een)i +(implemen)o(tatio)o(ns,)c(but)i(ph)o(ysical)g(pathname)f(syn)o(tax)0 +972 y(is)e(dictated)g(b)o(y)g(the)g(op)q(erating)g(en)o(vironmen)o(ts.) +42 1026 y(The)f Fs(compile-file-pa)o(thnam)o(e)d Fw(function)i(and)g +(the)i(sp)q(eci\014cation)f(of)f Fs(LISP)f Fw(as)i(the)0 +1078 y(t)o(yp)q(e)18 b(of)e(a)h(logical)e(pathname)h(for)h(a)g(Commo)o +(n)d(Lisp)j(source)i(\014le)e(together)h(pro)o(vide)0 +1130 y(enough)h(information)d(ab)q(out)i(compilation)e(to)j(mak)o(e)e +(p)q(ossible)i(a)f(p)q(ortable)h(system)0 1182 y(construction)i(to)q +(ol.)34 b(Supp)q(ose)20 b(that)g(it)f(is)g(desirable)h(to)g(call)f +Fs(compile-file)e Fw(only)0 1234 y(if)j(the)h(source)h(\014le)e(is)h +(new)o(er)g(than)g(the)g(compiled)e(\014le.)38 b(F)m(or)20 +b(this)h(to)f(succeed,)k(it)0 1286 y(m)o(ust)19 b(b)q(e)i(p)q(ossible)g +(to)f(kno)o(w)g(the)h(name)f(of)f(the)i(compiled)e(\014le)i(without)f +(actually)0 1338 y(calling)15 b Fs(compile-file)p Fw(.)24 +b(In)16 b(some)g(implemen)o(tati)o(ons)e(the)j(compiler)e(pro)q(duces)k +(one)0 1389 y(of)h(sev)o(eral)h(\014le)g(t)o(yp)q(es,)i(dep)q(ending)e +(on)g(a)f(v)n(ariet)o(y)g(of)h(implem)o(en)o(tation-dep)q(enden)o(t)0 +1441 y(circumstances,)f(so)f(it)f(is)g(not)g(su\016cien)o(t)h(simply)e +(to)h(prescrib)q(e)i(a)f(standard)f(logical)0 1493 y(\014le)f(t)o(yp)q +(e)h(for)g(compiled)e(\014les;)j Fs(compile-file-pat)o(hname)14 +b Fw(pro)o(vides)j(access)j(to)d(the)0 1545 y(defaulting)e(that)h(is)g +(p)q(erformed)g(b)o(y)g Fs(compile-file)d Fw(\\in)j(a)g(manner)f +(appropriate)h(to)0 1597 y(the)e(implemen)o(tation's)d(\014le)j(system) +f(con)o(v)o(en)o(tions.")42 1652 y(The)i(use)h(of)f(the)g(logical)f +(pathname)g(host)h(name)f Fs(SYS)h Fw(for)f(the)i(implemen)o(tation)c +(is)0 1703 y(curren)o(t)j(practice.)k(Standardizing)12 +b(on)h(this)h(name)e(helps)i(users)g(c)o(ho)q(ose)g(logical)e(path-)0 +1755 y(name)h(host)h(names)f(that)h(a)o(v)o(oid)e(con\015icting)i(with) +g(implem)o(en)o(tation-de\014ned)e(names.)42 1810 y(Loading)h(of)i +(logical)e(pathname)h(translations)h(from)e(a)i(site-dep)q(enden)o(t)i +(\014le)e(allo)o(ws)0 1862 y(soft)o(w)o(are)i(to)g(b)q(e)h(distributed) +g(using)f(logical)e(pathnames.)27 b(The)18 b(assumed)f(mo)q(del)e(of)0 +1914 y(soft)o(w)o(are)c(distribution)f(is)h(a)g(division)e(of)i(lab)q +(or)f(b)q(et)o(w)o(een)i(the)g(supplier)f(of)f(the)i(soft)o(w)o(are)0 +1966 y(and)17 b(the)g(user)h(installing)d(it.)27 b(The)18 +b(supplier)f(c)o(ho)q(oses)h(logical)d(pathnames)h(to)h(name)0 +2017 y(all)c(the)i(\014les)g(used)h(or)e(created)i(b)o(y)e(the)i(soft)o +(w)o(are,)e(and)g(supplies)h(examples)f(of)f(logical)0 +2069 y(pathname)h(translations)g(for)h(a)f(few)h(p)q(opular)g(\014le)g +(systems.)21 b(Eac)o(h)15 b(example)f(uses)i(an)0 2121 +y(assumed)10 b(directory)i(and/or)e(device)h(name,)f(assumes)g(lo)q +(cal)g(\014le)h(naming)d(con)o(v)o(en)o(tions,)0 2173 +y(and)17 b(pro)o(vides)g(translations)g(that)g(will)f(translate)h(all)f +(the)i(logical)d(pathnames)i(used)0 2225 y(or)g(generated)i(b)o(y)e +(the)h(particular)f(soft)o(w)o(are)g(in)o(to)f(v)n(alid)g(ph)o(ysical)h +(pathnames.)27 b(F)m(or)0 2277 y(a)19 b(p)q(o)o(w)o(erful)f(\014le)h +(system)g(these)i(translations)d(can)i(b)q(e)f(quite)g(simple.)32 +b(F)m(or)19 b(a)g(more)0 2329 y(restricted)g(\014le)e(system,)g(it)g +(ma)o(y)e(b)q(e)i(necessary)i(to)e(list)g(an)f(explicit)h(translation)f +(for)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 690 714 +690 713 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(690)77 b(COMMON)13 +b(LISP)0 295 y Fw(ev)o(ery)j(logical)d(pathname)g(used)j(\(for)e +(example,)f(when)j(dealing)e(with)g(restrictions)i(on)0 +347 y(the)e(maxim)o(um)9 b(length)14 b(of)f(a)h(\014le)g(name\).)42 +399 y(The)i(user)i(installing)c(the)j(soft)o(w)o(are)f(decides)i(on)e +(whic)o(h)g(device)h(and)f(directory)h(to)0 450 y(store)i(the)g +(\014les)f(and)g(edits)h(the)g(example)e(logical)f(pathname)h +(translations)h(accord-)0 502 y(ingly)m(.)e(If)e(necessary)m(,)h(the)g +(user)g(also)e(adjusts)h(the)h(translations)e(for)h(lo)q(cal)f(\014le)h +(naming)0 554 y(con)o(v)o(en)o(tions)h(and)g(an)o(y)g(other)h(sp)q +(ecial)f(asp)q(ects)i(of)e(the)h(user's)g(lo)q(cal)e(\014le)h(system)g +(p)q(ol-)0 606 y(icy)k(and)f(lo)q(cal)g(Common)e(Lisp)j(implemen)o +(tati)o(on.)30 b(F)m(or)19 b(example,)f(the)i(\014les)f(migh)o(t)0 +658 y(b)q(e)d(divided)g(among)d(sev)o(eral)j(\014le)g(serv)o(er)h +(hosts)g(to)e(share)i(the)f(load.)23 b(The)16 b(pro)q(cess)h(of)0 +710 y(de\014ning)c(site-customized)f(logical)f(pathname)h(translations) +g(is)g(quite)h(easy)g(for)f(a)h(user)0 762 y(of)i(a)h(p)q(opular)f +(\014le)h(system)f(for)h(whic)o(h)f(the)i(soft)o(w)o(are)e(supplier)i +(has)e(pro)o(vided)h(an)g(ex-)0 814 y(ample.)22 b(A)15 +b(user)i(of)e(a)h(more)e(un)o(usual)i(\014le)f(system)h(migh)o(t)d(ha)o +(v)o(e)j(to)f(tak)o(e)h(more)f(time;)0 866 y(the)g(supplier)g(can)f +(help)h(b)o(y)f(pro)o(viding)f(a)h(list)g(of)f(all)g(the)i(logical)e +(pathnames)h(used)h(or)0 917 y(generated)g(b)o(y)f(the)g(soft)o(w)o +(are.)42 969 y(Once)e(the)g(user)h(has)f(created)h(and)e(executed)j(a)d +(suitable)g Fs(setf)g Fw(form)f(for)h(setting)h(the)0 +1021 y Fs(logical-pathname-)o(trans)o(latio)o(ns)i Fw(of)i(the)i(relev) +n(an)o(t)f(logical)e(host,)i(the)h(soft)o(w)o(are)0 1073 +y(can)g(b)q(e)g(loaded)f(and)g(run.)29 b(It)18 b(ma)o(y)d(b)q(e)j +(necessary)i(to)d(use)h(the)g(translations)f(again,)0 +1125 y(or)i(on)f(another)h(w)o(orkstation)f(at)g(the)i(same)d(site,)j +(so)f(it)f(is)g(b)q(est)i(to)f(sa)o(v)o(e)f(the)i Fs(setf)0 +1177 y Fw(form)c(in)i(the)g(standard)h(place)f(where)h(it)e(can)i(b)q +(e)f(found)g(later)g(b)o(y)f Fs(load-logical-)0 1229 +y(pathname-translat)o(ions)p Fw(.)23 b(Often)17 b(a)f(soft)o(w)o(are)h +(supplier)g(will)e(include)i(a)f(program)0 1281 y(for)e(restoring)i +(soft)o(w)o(are)f(from)e(the)i(distribution)g(medium)d(to)i(the)i +(\014le)f(system)f(and)h(a)0 1333 y(program)f(for)i(loading)f(the)h +(soft)o(w)o(are)g(from)f(the)h(\014le)h(system)e(in)o(to)h(a)g(Comm)o +(on)d(Lisp;)0 1384 y(these)i(programs)d(will)g(start)i(b)o(y)g(calling) +e Fs(load-logical-pat)o(hname)o(-tran)o(slati)o(ons)0 +1436 y Fw(to)i(mak)o(e)e(sure)j(that)f(the)h(logical)d(pathname)g(host) +j(is)e(de\014ned.)42 1488 y(Note)f(that)g(the)h Fs(setf)e +Fw(of)g Fs(logical-pathname-tr)o(ansla)o(tion)o(s)e Fw(form)i(isn't)g +(part)h(of)0 1540 y(the)18 b(program;)f(it)g(is)g(separate)h(and)f(is)g +(written)h(b)o(y)f(the)h(user,)h(not)e(b)o(y)g(the)h(soft)o(w)o(are)0 +1592 y(supplier.)h(That)14 b(separation)g(and)g(a)g(uniform)e(con)o(v)o +(en)o(tion)i(for)g(doing)f(the)i(separation)0 1644 y(are)g(the)h(k)o +(ey)e(asp)q(ects)j(of)d(logical)f(pathnames.)20 b(F)m(or)14 +b(small)f(programs)g(in)o(v)o(olving)g(only)0 1696 y(a)h(handful)g(of)g +(\014les,)h(it)f(do)q(esn't)h(matter)f(m)o(uc)o(h.)k(The)d(real)g(b)q +(ene\014ts)h(come)e(with)g(large)0 1748 y(programs)c(with)g(h)o +(undreds)i(or)f(thousands)g(of)g(\014les)g(and)g(more)e(complicated)h +(situations)0 1800 y(suc)o(h)17 b(as)g(program-generated)g(\014le)f +(names)g(or)h(p)q(orting)f(a)h(program)e(dev)o(elop)q(ed)i(on)g(a)0 +1851 y(system)c(with)f(long)g(\014le)g(names)g(on)o(to)h(a)f(system)h +(with)f(a)g(v)o(ery)i(restrictiv)o(e)g(limit)c(on)i(the)0 +1903 y(length)i(of)f(\014le)h(names.)-33 1915 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2040 a Fo(23.1.6.)20 b(P)n(athname)14 +b(F)-5 b(unctions)0 2121 y Fw(These)17 b(functions)e(are)h(what)f +(programs)g(use)h(to)f(parse)h(and)g(default)f(\014le)g(names)g(that)0 +2173 y(ha)o(v)o(e)f(b)q(een)h(t)o(yp)q(ed)f(in)g(or)f(otherwise)i +(supplied)f(b)o(y)g(the)g(user.)42 2225 y(An)o(y)g(argumen)o(t)g +(called)h Fv(p)n(athname)h Fw(in)e(this)h(b)q(o)q(ok)g(ma)o(y)e +(actually)h(b)q(e)i(a)e(pathname,)-38 2200 y Fk(.)-38 +2213 y(.)-38 2226 y(.)-38 2239 y(.)-38 2252 y(.)-38 2265 +y(.)-38 2278 y(.)-38 2291 y(.)-38 2304 y(.)-38 2317 y(.)-38 +2330 y(.)-38 2343 y(.)-38 2356 y(.)-38 2369 y(.)-38 2382 +y(.)-38 2395 y(.)-38 2408 y(.)-38 2420 y(.)-38 2433 y(.)-38 +2446 y(.)-38 2459 y(.)-38 2472 y(.)-38 2485 y(.)-38 2498 +y(.)-38 2511 y(.)-38 2524 y(.)-38 2537 y(.)-38 2550 y(.)-38 +2563 y(.)-38 2576 y(.)-38 2589 y(.)-38 2602 y(.)-38 2615 +y(.)-38 2628 y(.)-38 2641 y(.)-38 2654 y(.)-38 2667 y(.)-38 +2680 y(.)-38 2693 y(.)-38 2706 y(.)-38 2719 y(.)-38 2732 +y(.)-38 2745 y(.)-38 2758 y(.)-38 2771 y(.)-38 2784 y(.)-38 +2797 y(.)-38 2810 y(.)-38 2823 y(.)-38 2836 y(.)-38 2849 +y(.)-38 2862 y(.)-38 2875 y(.)-38 2887 y(.)-38 2900 y(.)-38 +2913 y(.)-38 2926 y(.)-38 2939 y(.)-38 2952 y(.)-38 2965 +y(.)-38 2978 y(.)-38 2991 y(.)-38 3004 y(.)-38 3017 y(.)-38 +3030 y(.)-38 3043 y(.)-38 3056 y(.)-38 3069 y(.)-38 3082 +y(.)-38 3095 y(.)-38 3108 y(.)-38 3121 y(.)-38 3134 y(.)-38 +3147 y(.)-38 3160 y(.)-38 3173 y(.)-38 3186 y(.)-38 3199 +y(.)-38 3212 y(.)-38 3225 y(.)-38 3238 y(.)-38 3251 y(.)-38 +3264 y(.)-38 3277 y(.)-38 3290 y(.)-38 3303 y(.)-38 3316 +y(.)-38 3329 y(.)-38 3342 y(.)-38 3354 y(.)-38 3367 y(.)-38 +3380 y(.)-38 3393 y(.)-38 3406 y(.)-38 3419 y(.)-38 3432 +y(.)-38 3445 y(.)-38 3458 y(.)-38 3471 y(.)-38 3484 y(.)-38 +3497 y(.)-38 3510 y(.)-38 3523 y(.)-38 3536 y(.)-38 3549 +y(.)-38 3562 y(.)-38 3575 y(.)-38 3588 y(.)-38 3601 y(.)-38 +3614 y(.)-38 3627 y(.)-38 3640 y(.)-38 3653 y(.)-38 3666 +y(.)-38 3679 y(.)-38 3692 y(.)-38 3705 y(.)-38 3718 y(.)-38 +3731 y(.)-38 3744 y(.)-38 3757 y(.)-38 3770 y(.)-38 3783 +y(.)-38 3796 y(.)-38 3809 y(.)-38 3821 y(.)-38 3834 y(.)-38 +3847 y(.)-38 3860 y(.)-38 3873 y(.)-38 3886 y(.)-38 3899 +y(.)-38 3912 y(.)-38 3925 y(.)-38 3938 y(.)-38 3951 y(.)-38 +3964 y(.)-38 3977 y(.)-38 3990 y(.)-38 4003 y(.)-38 4016 +y(.)-38 4029 y(.)-38 4042 y(.)-38 4055 y(.)-38 4068 y(.)-38 +4081 y(.)-38 4094 y(.)-38 4107 y(.)-38 4120 y(.)-38 4133 +y(.)-38 4146 y(.)-38 4159 y(.)-38 4172 y(.)-38 4185 y(.)-38 +4198 y(.)-38 4211 y(.)-38 4224 y(.)-38 4237 y(.)-38 4250 +y(.)-38 4263 y(.)-38 4276 y(.)-38 4288 y(.)-38 4301 y(.)-38 +4314 y(.)-38 4327 y(.)-38 4340 y(.)-38 4353 y(.)-38 4366 +y(.)-38 4379 y(.)-38 4392 y(.)-38 4405 y(.)-38 4418 y(.)-38 +4431 y(.)-38 4444 y(.)-38 4457 y(.)-38 4470 y(.)-38 4483 +y(.)-38 4496 y(.)-38 4509 y(.)-38 4522 y(.)-38 4535 y(.)-38 +4548 y(.)-38 4561 y(.)-38 4574 y(.)-38 4587 y(.)-38 4600 +y(.)-38 4613 y(.)-38 4626 y(.)-38 4639 y(.)-38 4652 y(.)-38 +4665 y(.)-38 4678 y(.)-38 4691 y(.)-38 4704 y(.)-38 4717 +y(.)-38 4730 y(.)-38 4743 y(.)-38 4755 y(.)-38 4768 y(.)-38 +4781 y(.)0 2277 y Fw(a)i(string)f(or)h(sym)o(b)q(ol,)e(or)i(a)f +(stream.)24 b(An)o(y)15 b(argumen)o(t)g(called)h Fv(defaults)f +Fw(ma)o(y)f(lik)o(ewise)0 2329 y(b)q(e)h(a)e(pathname,)f(a)i(string)g +(or)g(sym)o(b)q(ol,)d(or)j(a)g(stream.)-33 2340 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 691 715 +691 714 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(691)42 295 y Fw(X3J13)13 b(v)o(oted)g(in)g(Marc)o(h)h(1988)e +Ft(h)p Fw(134)p Ft(i)h Fw(to)g(c)o(hange)g(the)h(language)f(so)g(that)h +(a)f(sym)o(b)q(ol)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(is)18 b Fv(never)g Fw(allo)o(w)o(ed)f(as)i(a)f +(pathname)f(argumen)o(t.)30 b(More)19 b(sp)q(eci\014cally)m(,)f(the)h +(follo)o(wing)0 399 y(functions)14 b(are)g(c)o(hanged)h(to)e(disallo)o +(w)f(a)i(sym)o(b)q(ol)e(as)i(a)g Fv(p)n(athname)g Fw(argumen)o(t:)0 +529 y Fs(pathname)282 b(pathname-device)171 b(namestring)0 +581 y(truename)282 b(pathname-directo)o(ry)106 b(file-namestring)0 +633 y(parse-namestring)g(pathname-name)215 b(directory-namestr)o(ing)0 +685 y(merge-pathnames)128 b(pathname-type)215 b(host-namestring)0 +737 y(pathname-host)172 b(pathname-version)149 b(enough-namestring)0 +865 y Fw(\(The)17 b(function)f Fs(require)f Fw(w)o(as)h(also)g(c)o +(hanged)g(b)o(y)h(this)f(v)o(ote)g(but)h(w)o(as)f(deleted)h(from)0 +916 y(the)f(language)f(b)o(y)h(a)f(v)o(ote)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(154)p Ft(i)p Fw(.\))23 b(F)m(urthermore,)16 +b(the)g(v)o(ote)g(reaf-)0 968 y(\014rmed)c(that)h(the)h(follo)o(wing)c +(functions)j(do)g(not)f(accept)j(sym)o(b)q(ols)c(as)i +Fv(\014le)p Fw(,)g Fv(\014lename)p Fw(,)g(or)0 1020 y +Fv(p)n(athname)i Fw(argumen)o(ts:)0 1151 y Fs(open)362 +b(rename-file)270 b(file-write-date)0 1203 y(with-open-file)142 +b(delete-file)270 b(file-author)0 1254 y(load)362 b(probe-file)292 +b(directory)0 1306 y(compile-file)0 1432 y Fw(In)23 b(older)f(implemen) +o(tations)e(of)i(Lisp)h(that)f(did)h(not)f(ha)o(v)o(e)h(strings,)i(for) +d(example)0 1484 y(MacLisp,)16 b(sym)o(b)q(ols)f(w)o(ere)i(the)g(only)e +(means)h(for)g(sp)q(ecifying)g(pathnames.)24 b(This)16 +b(w)o(as)0 1536 y(con)o(v)o(enien)o(t)g(only)f(b)q(ecause)j(the)e +(\014le)g(systems)g(of)f(the)i(time)d(allo)o(w)o(ed)h(only)g(upp)q +(ercase)0 1588 y(letters)k(in)e(\014le)g(names.)28 b(T)o(yping)16 +b Fs(\(load)681 1592 y Fn(')704 1588 y Fs(foo\))h Fw(caused)h(the)g +(function)f Fs(load)g Fw(to)g(re-)0 1640 y(ceiv)o(e)d(the)h(sym)o(b)q +(ol)d Fs(FOO)h Fw(\(with)h(upp)q(ercase)h(letters)h(b)q(ecause)f(of)e +(the)i(w)o(a)o(y)e(sym)o(b)q(ols)f(are)0 1691 y(parsed\))h(and)e +(therefore)j(to)d(load)g(the)h(\014le)g(named)f Fs(FOO)p +Fw(.)f(No)o(w)i(that)f(man)o(y)f(\014le)i(systems,)0 +1743 y(most)i(notably)h(UNIX,)g(supp)q(ort)i(case-sensitiv)o(e)g +(\014le)e(names,)g(the)h(use)g(of)f(sym)o(b)q(ols)f(is)0 +1795 y(less)h(con)o(v)o(enien)o(t)f(and)g(more)e(error-prone.)-33 +1807 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1852 a(X3J13)f(v)o(oted)h(in)f(Marc)o(h)h(1988)f +Ft(h)p Fw(132)p Ft(i)g Fw(to)g(sp)q(ecify)h(that)g(a)g(stream)f(ma)o(y) +e(b)q(e)k(used)f(as)g(a)-33 1824 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1904 a Fs(pathname)p Fw(,)g Fs(file)p +Fw(,)g(or)i Fs(filename)e Fw(argumen)o(t)g(only)h(if)g(it)h(w)o(as)f +(created)i(b)o(y)f(use)g(of)g Fs(open)0 1956 y Fw(or)f +Fs(with-open-file)p Fw(,)d(or)j(if)g(it)f(is)h(a)g(synon)o(ym)f(stream) +h(whose)g(sym)o(b)q(ol)f(is)h(b)q(ound)g(to)g(a)0 2008 +y(stream)g(that)h(ma)o(y)e(b)q(e)j(used)g(as)f(a)f(pathname.)42 +2064 y(If)j(suc)o(h)h(a)f(stream)g(is)g(used)i(as)e(a)g(pathname,)g(it) +g(is)g(as)h(if)e(the)i Fs(pathname)e Fw(function)0 2116 +y(w)o(ere)i(applied)e(to)g(the)i(stream)e(and)g(the)i(resulting)f +(pathname)e(used)j(in)e(place)h(of)f(the)0 2168 y(stream.)20 +b(This)14 b(represen)o(ts)j(the)f(name)d(used)i(to)g(op)q(en)g(the)g +(\014le.)20 b(This)15 b(ma)o(y)d(b)q(e,)j(but)g(is)0 +2220 y(not)f(required)h(to)e(b)q(e,)h(the)h(actual)e(name)g(of)g(the)i +(\014le.)42 2277 y(It)h(is)g(an)f(error)i(to)f(attempt)g(to)g(obtain)f +(a)h(pathname)f(from)f(a)i(stream)f(created)j(b)o(y)0 +2329 y(an)o(y)13 b(of)h(the)g(follo)o(wing:)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 692 716 +692 715 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(692)77 b(COMMON)13 +b(LISP)0 290 y Fs(make-two-way-stre)o(am)433 b(make-string-input)o +(-stre)o(am)0 341 y(make-echo-stream)498 b(make-string-outpu)o(t-str)o +(eam)0 393 y(make-broadcast-st)o(ream)389 b(with-input-from-s)o(tring)0 +445 y(make-concatenated)o(-stre)o(am)324 b(with-output-to-st)o(ring)-33 +461 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 528 a Fw(In)11 b(the)h(examples,)f(it)g(is)g(assumed)h +(that)f(the)h(host)g(named)f Fs(CMUC)f Fw(runs)j(the)f(TOPS-20)0 +580 y(op)q(erating)18 b(system,)h(and)g(therefore)h(uses)f(TOPS-20)g +(\014le)f(system)h(syn)o(tax;)h(further-)0 632 y(more,)15 +b(an)i(explicit)e(host)i(name)e(is)h(indicated)h(b)o(y)f(follo)o(wing)d +(the)k(host)g(name)e(with)h(a)0 684 y(double)9 b(colon.)17 +b(Remem)o(b)q(er,)8 b(ho)o(w)o(ev)o(er,)i(that)g(namestring)e(syn)o +(tax)i(is)f(implemen)o(tation-)0 735 y(dep)q(enden)o(t,)15 +b(and)f(this)g(syn)o(tax)g(is)f(used)i(here)g(purely)f(for)g(the)g(sak) +o(e)h(of)e(examples.)1209 867 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(pathname)20 b Fv(p)n(athname)0 944 y +Fw(The)c Fs(pathname)e Fw(function)h(con)o(v)o(erts)h(its)g(argumen)o +(t)e(to)h(b)q(e)h(a)g(pathname.)21 b(The)16 b(argu-)0 +996 y(men)o(t)10 b(ma)o(y)g(b)q(e)i(a)f(pathname,)g(a)g(string)g(or)h +(sym)o(b)q(ol,)d(or)j(a)f(stream;)g(the)h(result)g(is)g(alw)o(a)o(ys)0 +1048 y(a)i(pathname.)42 1100 y(X3J13)e(v)o(oted)g(in)g(Marc)o(h)h(1988) +e(not)i(to)f(p)q(ermit)g(sym)o(b)q(ols)f(as)h(pathnames)g +Ft(h)p Fw(134)p Ft(i)g Fw(and)-33 1071 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1152 a(to)i(sp)q(ecify)g(exactly)g(whic)o(h)g(streams)g +(ma)o(y)e(b)q(e)i(used)h(as)f(pathnames)f Ft(h)p Fw(132)p +Ft(i)p Fw(.)-33 1163 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1204 a(X3J13)i(v)o(oted)i(in)e(Jan)o(uary)i(1989)e +Ft(h)p Fw(15)p Ft(i)h Fw(to)g(sp)q(ecify)g(that)h Fs(pathname)d +Fw(is)i(una\013ected)-33 1175 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1256 a(b)o(y)f(whether)h(its)f(argumen)o(t,)e(if)h(a)h +(stream,)f(is)g(op)q(en)i(or)e(closed.)22 b(X3J13)14 +b(further)i(com-)0 1307 y(men)o(ted)e(that)h(b)q(ecause)h(some)e +(implemen)o(tatio)o(ns)e(cannot)j(pro)o(vide)g(the)g(\\true)g(name")0 +1359 y(of)d(a)h(\014le)f(un)o(til)g(the)i(\014le)e(is)h(closed,)g(in)f +(suc)o(h)i(an)e(implemen)o(tation)e Fs(pathname)h Fw(migh)o(t,)f(in)0 +1411 y(principle,)i(return)h(a)f(di\013eren)o(t)h(\(p)q(erhaps)g(more)e +(sp)q(eci\014c\))j(\014le)e(name)f(after)h(the)h(stream)0 +1463 y(is)k(closed.)29 b(Ho)o(w)o(ev)o(er,)18 b(suc)o(h)g(b)q(eha)o +(vior)f(is)g(prohibited;)h Fs(pathname)e Fw(m)o(ust)g(return)i(the)0 +1515 y(same)11 b(pathname)g(after)h(a)g(stream)f(is)h(closed)g(as)g(it) +g(w)o(ould)f(ha)o(v)o(e)g(while)h(the)g(stream)g(w)o(as)0 +1567 y(op)q(en.)18 b(See)d Fs(truename)p Fw(.)-33 1579 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1699 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(truename)20 b Fv(p)n(athname)0 1775 y Fw(The)15 +b Fs(truename)e Fw(function)i(endea)o(v)o(ors)g(to)g(disco)o(v)o(er)g +(the)h(\\true)f(name")e(of)i(the)g(\014le)g(as-)0 1827 +y(so)q(ciated)d(with)g(the)g Fv(p)n(athname)h Fw(within)e(the)i(\014le) +e(system.)17 b(If)12 b(the)g Fv(p)n(athname)h Fw(is)f(an)f(op)q(en)0 +1879 y(stream)i(already)h(asso)q(ciated)h(with)e(a)h(\014le)g(in)g(the) +g(\014le)g(system,)f(that)h(\014le)g(is)g(used.)19 b(The)0 +1931 y(\\true)12 b(name")e(is)i(returned)h(as)f(a)f(pathname.)16 +b(An)c(error)h(is)e(signaled)g(if)g(an)h(appropriate)0 +1983 y(\014le)i(cannot)g(b)q(e)g(lo)q(cated)h(within)e(the)h(\014le)g +(system)g(for)f(the)i(giv)o(en)e Fv(p)n(athname)p Fw(.)42 +2035 y(The)i Fs(truename)e Fw(function)i(ma)o(y)e(b)q(e)j(used)g(to)f +(accoun)o(t)g(for)g(an)o(y)f(\014le)h(name)f(transla-)0 +2087 y(tions)g(p)q(erformed)f(b)o(y)h(the)g(\014le)g(system,)f(for)h +(example.)42 2139 y(F)m(or)g(example,)g(supp)q(ose)i(that)f +Fs(DOC:)g Fw(is)g(a)f(TOPS-20)h(logical)f(device)i(name)e(that)h(is)0 +2191 y(translated)f(b)o(y)g(the)h(TOPS-20)e(\014le)h(system)g(to)g(b)q +(e)g Fs(PS:)o Fw(.)0 2277 y Fs(\(setq)20 +b(file)g(\(open)h("CMUC::DOC:DUMPE)o(R.HL)o(P"\)\))0 +2329 y(\(namestring)e(\(pathname)g(file\)\))h Ft(\))h +Fs("CMUC::DOC:DUMPER)o(.HLP)o(")-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 693 717 +693 716 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(693)0 295 y Fs(\(namestring)19 b(\(truename)g(file\)\))64 +347 y Ft(\))h Fs("CMUC::PS:DUM)o(PER.H)o(LP.13)o +(")42 443 y Fw(X3J13)12 b(v)o(oted)g(in)g(Marc)o(h)h(1988)e(not)i(to)f +(p)q(ermit)g(sym)o(b)q(ols)f(as)h(pathnames)g Ft(h)p +Fw(134)p Ft(i)g Fw(and)-33 415 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 495 a(to)i(sp)q(ecify)g(exactly)g(whic)o(h)g(streams)g +(ma)o(y)e(b)q(e)i(used)h(as)f(pathnames)f Ft(h)p Fw(132)p +Ft(i)p Fw(.)-33 507 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 548 a(X3J13)e(v)o(oted)h(in)f(Jan)o(uary)h(1989)f +Ft(h)p Fw(15)p Ft(i)g Fw(to)h(sp)q(ecify)g(that)g Fs(truename)e +Fw(ma)o(y)g(b)q(e)i(applied)-33 520 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 600 a(to)i(a)f(stream)h(whether)h(the)f(stream)g(is)f +(op)q(en)i(or)f(closed.)k(X3J13)c(further)g(commen)o(ted)0 +652 y(that)g(b)q(ecause)i(some)e(implem)o(en)o(tations)e(cannot)i(pro)o +(vide)g(the)h(\\true)g(name")e(of)h(a)g(\014le)0 704 +y(un)o(til)f(the)h(\014le)g(is)g(closed,)g(in)f(principle)h(it)f(w)o +(ould)h(b)q(e)g(p)q(ossible)g(in)f(suc)o(h)i(an)f(implem)o(en-)0 +756 y(tation)f(for)h Fs(truename)e Fw(to)h(return)i(a)f(di\013eren)o(t) +h(\014le)f(name)e(after)i(the)h(stream)e(is)h(closed.)0 +808 y(Suc)o(h)g(b)q(eha)o(vior)g(is)g(p)q(ermitted;)f(in)g(this)h(resp) +q(ect)i Fs(truename)d Fw(di\013ers)h(from)e Fs(pathname)p +Fw(.)-33 820 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 861 a(X3J13)g(v)o(oted)h(in)f(June)h(1989)f +Ft(h)p Fw(137)p Ft(i)g Fw(to)h(clarify)e(that)i Fs(truename)e +Fw(accepts)j(only)e(non-)-33 833 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 913 a(wild)f(pathnames;)g(an)g(error)i(is)e(signaled)g +(if)g Fs(wild-pathname-p)e Fw(w)o(ould)h(b)q(e)j(true)f(of)f(the)0 +965 y Fv(p)n(athname)k Fw(argumen)o(t.)-33 976 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1018 a(X3J13)c(v)o(oted)h(in)f(June)h(1989)f +Ft(h)p Fw(130)p Ft(i)g Fw(to)h(require)g Fs(truename)e +Fw(to)i(accept)h(logical)d(path-)-33 990 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1070 a(names)k(\(see)i(section)g(23.1.5\).)j(Ho)o(w)o +(ev)o(er,)c Fs(truename)e Fw(nev)o(er)j(returns)g(a)f(logical)e(path-)0 +1122 y(name.)-33 1133 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1312 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(parse-namestring)18 b Fv(thing)25 b Fs(&optional)19 +b Fv(host)25 b(defaults)g Fs(&key)370 1363 y(:start)20 +b(:end)g(:junk-allowed)0 1443 y Fw(This)d(turns)h Fv(thing)f +Fw(in)o(to)g(a)g(pathname.)26 b(The)18 b Fv(thing)f Fw(is)g(usually)f +(a)h(string)g(\(that)h(is,)f(a)-38 1418 y Fk(.)-38 1431 +y(.)-38 1444 y(.)-38 1457 y(.)-38 1470 y(.)-38 1483 y(.)-38 +1496 y(.)-38 1509 y(.)-38 1522 y(.)-38 1535 y(.)-38 1547 +y(.)-38 1560 y(.)-38 1573 y(.)-38 1586 y(.)-38 1599 y(.)-38 +1612 y(.)-38 1625 y(.)-38 1638 y(.)-38 1651 y(.)-38 1664 +y(.)-38 1677 y(.)-38 1690 y(.)-38 1703 y(.)-38 1716 y(.)-38 +1729 y(.)-38 1742 y(.)-38 1755 y(.)-38 1768 y(.)-38 1781 +y(.)-38 1794 y(.)-38 1807 y(.)-38 1820 y(.)-38 1833 y(.)-38 +1846 y(.)-38 1859 y(.)-38 1872 y(.)-38 1885 y(.)-38 1898 +y(.)-38 1911 y(.)-38 1924 y(.)-38 1937 y(.)-38 1950 y(.)-38 +1963 y(.)-38 1976 y(.)-38 1989 y(.)-38 2002 y(.)-38 2014 +y(.)-38 2027 y(.)-38 2040 y(.)-38 2053 y(.)-38 2066 y(.)-38 +2079 y(.)-38 2092 y(.)-38 2105 y(.)-38 2118 y(.)-38 2131 +y(.)-38 2144 y(.)-38 2157 y(.)-38 2170 y(.)-38 2183 y(.)-38 +2196 y(.)-38 2209 y(.)-38 2222 y(.)-38 2235 y(.)-38 2248 +y(.)-38 2261 y(.)-38 2274 y(.)-38 2287 y(.)-38 2300 y(.)-38 +2313 y(.)-38 2326 y(.)-38 2339 y(.)-38 2352 y(.)-38 2365 +y(.)-38 2378 y(.)-38 2391 y(.)-38 2404 y(.)-38 2417 y(.)-38 +2430 y(.)-38 2443 y(.)-38 2456 y(.)-38 2469 y(.)-38 2481 +y(.)-38 2494 y(.)-38 2507 y(.)-38 2520 y(.)-38 2533 y(.)-38 +2546 y(.)-38 2559 y(.)-38 2572 y(.)-38 2585 y(.)-38 2598 +y(.)-38 2611 y(.)-38 2624 y(.)-38 2637 y(.)-38 2650 y(.)-38 +2663 y(.)-38 2676 y(.)-38 2689 y(.)-38 2702 y(.)-38 2715 +y(.)-38 2728 y(.)-38 2741 y(.)-38 2754 y(.)-38 2767 y(.)-38 +2780 y(.)-38 2793 y(.)-38 2806 y(.)-38 2819 y(.)-38 2832 +y(.)-38 2845 y(.)-38 2858 y(.)-38 2871 y(.)-38 2884 y(.)-38 +2897 y(.)-38 2910 y(.)-38 2923 y(.)-38 2936 y(.)-38 2948 +y(.)-38 2961 y(.)-38 2974 y(.)-38 2987 y(.)-38 3000 y(.)-38 +3013 y(.)-38 3026 y(.)-38 3039 y(.)-38 3052 y(.)-38 3065 +y(.)-38 3078 y(.)-38 3091 y(.)-38 3104 y(.)-38 3117 y(.)-38 +3130 y(.)-38 3143 y(.)-38 3156 y(.)-38 3169 y(.)-38 3182 +y(.)-38 3195 y(.)-38 3208 y(.)-38 3221 y(.)-38 3234 y(.)-38 +3247 y(.)-38 3260 y(.)-38 3273 y(.)-38 3286 y(.)-38 3299 +y(.)-38 3312 y(.)-38 3325 y(.)-38 3338 y(.)-38 3351 y(.)-38 +3364 y(.)-38 3377 y(.)-38 3390 y(.)-38 3403 y(.)-38 3415 +y(.)-38 3428 y(.)-38 3441 y(.)-38 3454 y(.)-38 3467 y(.)-38 +3480 y(.)-38 3493 y(.)-38 3506 y(.)-38 3519 y(.)-38 3532 +y(.)-38 3545 y(.)-38 3558 y(.)-38 3571 y(.)-38 3584 y(.)-38 +3597 y(.)-38 3610 y(.)-38 3623 y(.)-38 3636 y(.)-38 3649 +y(.)-38 3662 y(.)-38 3675 y(.)-38 3688 y(.)-38 3701 y(.)-38 +3714 y(.)-38 3727 y(.)-38 3740 y(.)-38 3753 y(.)-38 3766 +y(.)-38 3779 y(.)-38 3792 y(.)-38 3805 y(.)-38 3818 y(.)-38 +3831 y(.)-38 3844 y(.)-38 3857 y(.)-38 3870 y(.)-38 3882 +y(.)-38 3895 y(.)-38 3908 y(.)-38 3921 y(.)-38 3934 y(.)-38 +3947 y(.)-38 3960 y(.)-38 3973 y(.)-38 3986 y(.)-38 3999 +y(.)0 1495 y Fw(namestring\),)d(but)h(it)g(ma)o(y)e(b)q(e)j(a)e(sym)o +(b)q(ol)g(\(in)g(whic)o(h)h(case)h(the)g(prin)o(t)f(name)f(is)h(used\)) +0 1547 y(or)i(a)f(pathname)g(or)g(stream)h(\(in)f(whic)o(h)h(case)g(no) +g(parsing)f(is)h(needed,)h(but)f(an)g(error)0 1598 y(c)o(hec)o(k)e(ma)o +(y)d(b)q(e)i(made)f(for)h(matc)o(hing)e(hosts\).)-33 +1610 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1652 a(X3J13)g(v)o(oted)g(in)g(Marc)o(h)h(1988)e(not)i +(to)f(p)q(ermit)g(sym)o(b)q(ols)f(as)h(pathnames)g Ft(h)p +Fw(134)p Ft(i)g Fw(and)-33 1623 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1704 a(to)h(sp)q(ecify)g(exactly)g(whic)o(h)g(streams)g +(ma)o(y)e(b)q(e)j(used)g(as)f(pathnames)f Ft(h)p Fw(132)p +Ft(i)p Fw(.)17 b(The)d Fv(thing)0 1755 y Fw(argumen)o(t)f(ma)o(y)f(not) +i(b)q(e)g(a)g(sym)o(b)q(ol.)-33 1767 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1809 a(X3J13)j(v)o(oted)h(in)f(June)i(1989)e +Ft(h)p Fw(130)p Ft(i)g Fw(to)h(require)g Fs(parse-namestring)d +Fw(to)i(accept)-33 1780 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1860 a(logical)12 b(pathname)h(namestrings)g(\(see)i +(section)g(23.1.5\).)-33 1872 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1914 a(This)e(function)g(do)q(es)h Fv(not)p +Fw(,)g(in)f(general,)g(do)g(defaulting)f(of)h(pathname)g(comp)q(onen)o +(ts,)0 1966 y(ev)o(en)e(though)f(it)g(has)g(an)h(argumen)o(t)e(named)g +Fv(defaults)p Fw(;)i(it)f(only)f(do)q(es)i(parsing.)17 +b(The)11 b Fv(host)0 2017 y Fw(and)e Fv(defaults)h Fw(argumen)o(ts)f +(are)h(presen)o(t)h(b)q(ecause)h(in)d(some)g(implem)o(en)o(tations)e +(it)i(ma)o(y)f(b)q(e)0 2069 y(that)13 b(a)g(namestring)f(can)h(only)g +(b)q(e)h(parsed)g(with)e(reference)k(to)d(a)g(particular)g(\014le)g +(name)0 2121 y(syn)o(tax)c(of)g(sev)o(eral)h(a)o(v)n(ailable)e(in)h +(the)h(implem)o(en)o(tation.)k(If)9 b Fv(host)g Fw(is)h(non-)p +Fs(nil)p Fw(,)f(it)g(m)o(ust)f(b)q(e)0 2173 y(a)k(host)h(name)f(that)h +(could)f(app)q(ear)i(in)e(the)h(host)g(comp)q(onen)o(t)f(of)g(a)h +(pathname,)e(or)i Fs(nil)p Fw(;)0 2225 y(if)h Fv(host)i +Fw(is)f Fs(nil)g Fw(then)g(the)h(host)g(name)e(is)h(extracted)i(from)c +(the)j(default)f(pathname)f(in)0 2277 y Fv(defaults)e +Fw(and)g(used)i(to)e(determine)g(the)h(syn)o(tax)g(con)o(v)o(en)o +(tion.)k(The)c Fv(defaults)f Fw(argumen)o(t)0 2329 y(defaults)i(to)g +(the)g(v)n(alue)f(of)h Fs(*default-pathnam)o(e-de)o(fault)o(s*)p +Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 694 718 +694 717 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(694)77 b(COMMON)13 +b(LISP)42 295 y Fw(F)m(or)i(a)g(string)h(\(or)f(sym)o(b)q(ol\))f +(argumen)o(t,)h Fs(parse-namestring)d Fw(parses)17 b(a)e(\014le)h(name) +0 347 y(within)10 b(it)h(in)f(the)i(range)f(delimited)e(b)o(y)h(the)i +Fs(:start)e Fw(and)g Fs(:end)g Fw(argumen)o(ts)g(\(whic)o(h)h(are)0 +399 y(in)o(teger)j(indices)f(in)o(to)g Fv(string)p Fw(,)f(defaulting)g +(to)h(the)h(b)q(eginning)e(and)h(end)h(of)e(the)i(string\).)42 +450 y(See)g(c)o(hapter)h(14)f(for)f(a)h(discussion)g(of)f +Fs(:start)g Fw(and)h Fs(:end)f Fw(argumen)o(ts.)-33 422 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 502 a(If)f Fs(:junk-allowed)e Fw(is)j(not)g +Fs(nil)p Fw(,)e(then)j(the)f(\014rst)h(v)n(alue)e(returned)j(is)d(the)i +(pathname)0 554 y(parsed,)g(or)g Fs(nil)f Fw(if)g(no)h(syn)o +(tactically)f(correct)j(pathname)d(w)o(as)g(seen.)42 +606 y(If)e Fs(:junk-allowed)e Fw(is)j Fs(nil)f Fw(\(the)i(default\),)f +(then)g(the)h(en)o(tire)g(substring)f(is)g(scanned.)0 +658 y(The)k(returned)h(v)n(alue)e(is)g(the)h(pathname)e(parsed.)23 +b(An)16 b(error)g(is)f(signaled)g(if)f(the)i(sub-)0 710 +y(string)e(do)q(es)h(not)e(consist)i(en)o(tirely)f(of)f(the)i(represen) +o(tation)g(of)e(a)h(pathname,)e(p)q(ossibly)0 762 y(surrounded)17 +b(on)f(either)h(side)f(b)o(y)g(whitespace)h(c)o(haracters)h(if)d(that)h +(is)g(appropriate)g(to)0 814 y(the)e(cultural)g(con)o(v)o(en)o(tions)g +(of)f(the)i(implemen)o(tatio)o(n.)42 866 y(In)e(either)h(case,)g(the)g +(second)g(v)n(alue)f(is)g(the)h(index)g(in)o(to)e(the)i(string)g(of)e +(the)i(delimiter)0 917 y(that)19 b(terminated)g(the)h(parse,)h(or)e +(the)h(index)f(b)q(ey)o(ond)h(the)g(substring)g(if)e(the)i(parse)0 +969 y(terminated)15 b(at)g(the)h(end)g(of)e(the)i(substring)g(\(as)f +(will)f(alw)o(a)o(ys)h(b)q(e)g(the)h(case)h(if)d Fs(:junk-)0 +1021 y(allowed)e Fw(is)i(false\).)42 1073 y(If)f Fv(thing)h +Fw(is)g(not)g(a)g(string)g(or)g(sym)o(b)q(ol,)d(then)k +Fv(start)e Fw(\(whic)o(h)h(defaults)g(to)g(zero)h(in)e(an)o(y)0 +1125 y(case\))i(is)f(alw)o(a)o(ys)f(returned)i(as)f(the)h(second)g(v)n +(alue.)42 1177 y(P)o(arsing)h(an)g(empt)o(y)g(string)h(alw)o(a)o(ys)e +(succeeds,)20 b(pro)q(ducing)d(a)f(pathname)g(with)g(all)0 +1229 y(comp)q(onen)o(ts)e(\(except)h(the)f(host\))h(equal)e(to)h +Fs(nil)p Fw(.)42 1281 y(Note)j(that)h(if)f Fv(host)g +Fw(is)h(sp)q(eci\014ed)h(and)e(not)g Fs(nil)p Fw(,)h(and)f +Fv(thing)h Fw(con)o(tains)f(a)g(manifest)0 1333 y(host)d(name,)e(an)i +(error)h(is)f(signaled)f(if)g(the)i(hosts)f(do)g(not)g(matc)o(h.)42 +1384 y(If)h Fv(thing)h Fw(con)o(tains)g(an)g(explicit)g(host)g(name)f +(and)h(no)g(explicit)f(device)i(name,)e(then)0 1436 y(it)g(migh)o(t)f +(b)q(e)i(appropriate,)g(dep)q(ending)g(on)g(the)g(implemen)o(tation)c +(en)o(vironmen)o(t,)j(for)0 1488 y Fs(parse-namestring)9 +b Fw(to)k(supply)f(the)i(standard)f(default)f(device)h(for)g(that)f +(host)h(as)g(the)0 1540 y(device)i(comp)q(onen)o(t)e(of)g(the)i +(resulting)f(pathname.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 695 719 +695 718 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(695)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(merge-pathnames)18 b Fv(p)n(athname)25 b Fs(&optional)20 +b Fv(defaults)348 347 y(default)p Fs(-)p Fv(version)42 +425 y Fw(This)14 b(is)g(the)h(function)f(that)h(most)e(programs)g +(should)h(call)g(to)g(pro)q(cess)i(a)f(\014le)f(name)-38 +400 y Fk(.)-38 413 y(.)-38 426 y(.)-38 439 y(.)-38 452 +y(.)-38 465 y(.)-38 478 y(.)-38 491 y(.)-38 504 y(.)-38 +517 y(.)-38 530 y(.)-38 543 y(.)-38 556 y(.)-38 569 y(.)-38 +582 y(.)-38 595 y(.)-38 608 y(.)-38 620 y(.)-38 633 y(.)-38 +646 y(.)-38 659 y(.)-38 672 y(.)-38 685 y(.)-38 698 y(.)-38 +711 y(.)-38 724 y(.)-38 737 y(.)-38 750 y(.)-38 763 y(.)-38 +776 y(.)-38 789 y(.)-38 802 y(.)-38 815 y(.)-38 828 y(.)-38 +841 y(.)-38 854 y(.)-38 867 y(.)-38 880 y(.)-38 893 y(.)-38 +906 y(.)-38 919 y(.)-38 932 y(.)-38 945 y(.)-38 958 y(.)-38 +971 y(.)-38 984 y(.)-38 997 y(.)-38 1010 y(.)-38 1023 +y(.)-38 1036 y(.)-38 1049 y(.)-38 1062 y(.)-38 1075 y(.)-38 +1087 y(.)-38 1100 y(.)-38 1113 y(.)-38 1126 y(.)-38 1139 +y(.)-38 1152 y(.)-38 1165 y(.)-38 1178 y(.)-38 1191 y(.)-38 +1204 y(.)-38 1217 y(.)-38 1230 y(.)-38 1243 y(.)-38 1256 +y(.)-38 1269 y(.)-38 1282 y(.)-38 1295 y(.)-38 1308 y(.)-38 +1321 y(.)-38 1334 y(.)-38 1347 y(.)-38 1360 y(.)-38 1373 +y(.)-38 1386 y(.)-38 1399 y(.)-38 1412 y(.)-38 1425 y(.)-38 +1438 y(.)-38 1451 y(.)-38 1464 y(.)-38 1477 y(.)-38 1490 +y(.)-38 1503 y(.)-38 1516 y(.)-38 1529 y(.)-38 1542 y(.)-38 +1554 y(.)-38 1567 y(.)-38 1580 y(.)-38 1593 y(.)-38 1606 +y(.)-38 1619 y(.)-38 1632 y(.)-38 1645 y(.)-38 1658 y(.)-38 +1671 y(.)-38 1684 y(.)-38 1697 y(.)-38 1710 y(.)-38 1723 +y(.)-38 1736 y(.)-38 1749 y(.)-38 1762 y(.)-38 1775 y(.)-38 +1788 y(.)-38 1801 y(.)-38 1814 y(.)-38 1827 y(.)-38 1840 +y(.)-38 1853 y(.)-38 1866 y(.)-38 1879 y(.)-38 1892 y(.)-38 +1905 y(.)-38 1918 y(.)-38 1931 y(.)-38 1944 y(.)-38 1957 +y(.)-38 1970 y(.)-38 1983 y(.)-38 1996 y(.)-38 2009 y(.)-38 +2021 y(.)-38 2034 y(.)-38 2047 y(.)-38 2060 y(.)-38 2073 +y(.)-38 2086 y(.)-38 2099 y(.)-38 2112 y(.)-38 2125 y(.)-38 +2138 y(.)-38 2151 y(.)-38 2164 y(.)-38 2177 y(.)-38 2190 +y(.)-38 2203 y(.)-38 2216 y(.)-38 2229 y(.)-38 2242 y(.)-38 +2255 y(.)-38 2268 y(.)-38 2281 y(.)-38 2294 y(.)-38 2307 +y(.)-38 2320 y(.)-38 2333 y(.)-38 2346 y(.)-38 2359 y(.)-38 +2372 y(.)-38 2385 y(.)-38 2398 y(.)-38 2411 y(.)-38 2424 +y(.)-38 2437 y(.)-38 2450 y(.)-38 2463 y(.)-38 2476 y(.)-38 +2488 y(.)-38 2501 y(.)-38 2514 y(.)-38 2527 y(.)-38 2540 +y(.)-38 2553 y(.)-38 2566 y(.)-38 2579 y(.)-38 2592 y(.)-38 +2605 y(.)-38 2618 y(.)-38 2631 y(.)-38 2644 y(.)-38 2657 +y(.)-38 2670 y(.)-38 2683 y(.)-38 2696 y(.)-38 2709 y(.)-38 +2722 y(.)-38 2735 y(.)-38 2748 y(.)-38 2761 y(.)-38 2774 +y(.)-38 2787 y(.)-38 2800 y(.)-38 2813 y(.)-38 2826 y(.)-38 +2839 y(.)-38 2852 y(.)-38 2865 y(.)-38 2878 y(.)-38 2891 +y(.)-38 2904 y(.)-38 2917 y(.)-38 2930 y(.)-38 2943 y(.)-38 +2955 y(.)-38 2968 y(.)-38 2981 y(.)0 477 y Fw(supplied)g(b)o(y)f(the)h +(user.)19 b(It)14 b(\014lls)f(in)g(unsp)q(eci\014ed)i(comp)q(onen)o(ts) +e(of)g Fv(p)n(athname)h Fw(from)e(the)0 529 y Fv(defaults)p +Fw(,)g(and)g(returns)i(a)e(new)g(pathname.)17 b(The)12 +b Fv(p)n(athname)h Fw(and)f Fv(defaults)g Fw(argumen)o(ts)0 +581 y(ma)o(y)i(eac)o(h)i(b)q(e)h(a)f(pathname,)e(stream,)i(string,)g +(or)g(sym)o(b)q(ol.)22 b(The)17 b(result)f(is)g(alw)o(a)o(ys)f(a)0 +633 y(pathname.)-33 644 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 685 a(X3J13)d(v)o(oted)g(in)g(Marc)o(h)h(1988)e(not)i +(to)f(p)q(ermit)g(sym)o(b)q(ols)f(as)h(pathnames)g Ft(h)p +Fw(134)p Ft(i)g Fw(and)-33 657 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 737 a(to)i(sp)q(ecify)g(exactly)g(whic)o(h)g(streams)g +(ma)o(y)e(b)q(e)i(used)h(as)f(pathnames)f Ft(h)p Fw(132)p +Ft(i)p Fw(.)-33 749 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 790 a(X3J13)d(v)o(oted)g(in)g(June)i(1989)d +Ft(h)p Fw(130)p Ft(i)h Fw(to)h(require)g Fs(merge-namestrings)c +Fw(to)k(recognize)-33 761 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 842 a(a)i(logical)g(pathname)f(namestring)h(as)h(its)f +(\014rst)i(argumen)o(t)e(if)g(its)g(second)i(argumen)o(t)e(is)0 +894 y(a)h(logical)e(pathname)g(\(see)k(section)e(23.1.5\).)-33 +905 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 946 a(X3J13)e(v)o(oted)h(in)f(Jan)o(uary)h(1989)e +Ft(h)p Fw(15)p Ft(i)i Fw(to)f(sp)q(ecify)h(that)g Fs(merge-pathname)d +Fw(is)i(unaf-)-33 918 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 998 a(fected)h(b)o(y)e(whether)i(the)f(\014rst)g +(argumen)o(t,)e(if)h(a)g(stream,)g(is)g(op)q(en)h(or)f(closed.)18 +b(If)11 b(the)h(\014rst)0 1050 y(argumen)o(t)i(is)h(a)g(stream,)g +Fs(merge-pathname)d Fw(b)q(eha)o(v)o(es)k(as)f(if)g(the)h(function)e +Fs(pathname)0 1102 y Fw(w)o(ere)h(applied)e(to)h(the)g(stream)g(and)f +(the)i(resulting)f(pathname)f(used)h(instead.)-33 1114 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1155 a(X3J13)g(v)o(oted)h(in)g(June)h(1989)e +Ft(h)p Fw(128)p Ft(i)g Fw(to)h(require)h Fs(merge-pathnames)c +Fw(to)j(map)e(cus-)-33 1126 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1206 a(tomary)f(case)i(in)e(argumen)o(t)g(pathnames)h +(to)g(the)h(customary)e(case)i(in)f(returned)i(path-)0 +1258 y(names)e(\(see)i(section)g(23.1.2\).)-33 1270 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1311 a Fv(defaults)e Fw(defaults)h(to)g(the)g(v)n(alue) +g(of)f Fs(*default-pathname)o(-defa)o(ults*)o Fw(.)42 +1364 y Fv(default-version)g Fw(defaults)h(to)g Fs(:newest)p +Fw(.)42 1416 y(Here)h(is)e(an)h(example)f(of)g(the)h(use)h(of)e +Fs(merge-pathnames)p Fw(:)0 1509 y Fs(\(merge-pathnames)18 +b("CMUC::FORMAT")360 1561 y("CMUC::PS:.FAS)o(L"\))64 +1613 y Ft(\))i Fw(a)14 b(pathname)f(ob)r(ject)h(that)g(re-expressed)j +(as)d(a)f(namestring)g(w)o(ould)g(b)q(e)127 1665 y Fs +("CMUC::PS:)o(FORM)o(AT.FA)o(SL.0")42 1757 y +Fw(Defaulting)e(of)h(pathname)g(comp)q(onen)o(ts)h(is)f(done)i(b)o(y)e +(\014lling)g(in)g(comp)q(onen)o(ts)h(tak)o(en)0 1809 +y(from)e(another)j(pathname.)j(This)c(is)g(esp)q(ecially)g(useful)h +(for)f(cases)h(suc)o(h)g(as)f(a)g(program)0 1861 y(that)j(has)g(an)g +(input)g(\014le)g(and)g(an)f(output)h(\014le,)g(and)g(asks)h(the)f +(user)h(for)f(the)h(name)d(of)0 1913 y(b)q(oth,)f(letting)g(the)h +(unsupplied)g(comp)q(onen)o(ts)f(of)f(one)i(name)e(default)h(from)f +(the)i(other.)0 1965 y(Unsp)q(eci\014ed)20 b(comp)q(onen)o(ts)e(of)g +(the)h(output)g(pathname)e(will)g(come)g(from)g(the)i(input)0 +2017 y(pathname,)c(except)i(that)f(the)h(t)o(yp)q(e)g(should)e(default) +h(not)g(to)g(the)g(t)o(yp)q(e)h(of)e(the)i(input)0 2069 +y(but)d(to)g(the)g(appropriate)g(default)g(t)o(yp)q(e)g(for)g(output)g +(from)e(this)i(program.)42 2121 y(The)i(pathname)f(merging)f(op)q +(eration)i(tak)o(es)g(as)g(input)g(a)g(giv)o(en)f(pathname,)g(a)g(de-)0 +2173 y(faults)g(pathname,)f(and)i(a)f(default)g(v)o(ersion,)h(and)f +(returns)i(a)e(new)h(pathname.)22 b(Basi-)0 2225 y(cally)m(,)17 +b(the)h(missing)d(comp)q(onen)o(ts)i(in)g(the)h(giv)o(en)f(pathname)g +(are)g(\014lled)g(in)g(from)f(the)0 2277 y(defaults)h(pathname,)e +(except)j(that)e(if)g(no)g(v)o(ersion)h(is)f(sp)q(eci\014ed)i(the)f +(default)g(v)o(ersion)0 2329 y(is)d(used.)21 b(The)16 +b(default)e(v)o(ersion)g(is)h(usually)f Fs(:newest)p +Fw(;)f(if)g(no)i(v)o(ersion)g(is)f(sp)q(eci\014ed)i(the)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 696 720 +696 719 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(696)77 b(COMMON)13 +b(LISP)0 295 y Fw(new)o(est)k(v)o(ersion)e(in)g(existence)i(should)e(b) +q(e)h(used.)23 b(The)15 b(default)g(v)o(ersion)h(can)f(b)q(e)h +Fs(nil)p Fw(,)0 347 y(to)e(preserv)o(e)i(the)e(information)d(that)j(it) +g(w)o(as)f(missing)f(in)i(the)g(input)g(pathname.)42 +399 y(If)19 b(the)h(giv)o(en)g(pathname)e(explicitly)h(sp)q(eci\014es)j +(a)d(host)h(and)g(do)q(es)h(not)e(supply)h(a)0 450 y(device,)11 +b(then)g(if)e(the)i(host)g(comp)q(onen)o(t)e(of)h(the)g(defaults)g +(matc)o(hes)g(the)h(host)f(comp)q(onen)o(t)0 502 y(of)k(the)h(giv)o(en) +f(pathname,)f(then)i(the)g(device)h(is)e(tak)o(en)h(from)d(the)j +(defaults;)g(otherwise)0 554 y(the)20 b(device)f(will)f(b)q(e)h(the)h +(default)e(\014le)h(device)h(for)f(that)g(host.)33 b(Next,)21 +b(if)d(the)h(giv)o(en)0 606 y(pathname)12 b(do)q(es)h(not)g(sp)q(ecify) +g(a)f(host,)h(device,)g(directory)m(,)g(name,)e(or)i(t)o(yp)q(e,)g(eac) +o(h)g(suc)o(h)0 658 y(comp)q(onen)o(t)g(is)g(copied)h(from)d(the)j +(defaults.)k(The)c(merging)e(rules)i(for)f(the)h(v)o(ersion)f(are)0 +710 y(more)18 b(complicated)f(and)i(dep)q(end)h(on)f(whether)h(the)f +(pathname)f(sp)q(eci\014es)j(a)d(name.)0 762 y(If)g(the)g(pathname)f +(do)q(esn't)h(sp)q(ecify)h(a)e(name,)h(then)g(the)h(v)o(ersion,)f(if)f +(not)h(pro)o(vided,)0 814 y(will)13 b(come)i(from)e(the)i(defaults,)g +(just)g(lik)o(e)g(the)g(other)h(comp)q(onen)o(ts.)21 +b(Ho)o(w)o(ev)o(er,)15 b(if)f(the)0 866 y(pathname)9 +b(do)q(es)i(sp)q(ecify)g(a)f(name,)g(then)h(the)f(v)o(ersion)h(is)f +(not)g(a\013ected)i(b)o(y)e(the)h(defaults.)0 917 y(The)f(reason)g(is)g +(that)f(the)i(v)o(ersion)e(\\b)q(elongs)h(to")f(some)g(other)h(\014le)g +(name)e(and)h(is)h(unlik)o(ely)0 969 y(to)16 b(ha)o(v)o(e)g(an)o +(ything)f(to)g(do)h(with)g(the)g(new)h(one.)24 b(Finally)m(,)14 +b(if)h(this)h(pro)q(cess)i(lea)o(v)o(es)e(the)0 1021 +y(v)o(ersion)e(missing,)e(the)i(default)g(v)o(ersion)g(is)f(used.)42 +1073 y(The)f(net)g(e\013ect)i(is)d(that)h(if)f(the)i(user)g(supplies)f +(just)g(a)g(name,)e(then)j(the)f(host,)g(device,)0 1125 +y(directory)m(,)f(and)f(t)o(yp)q(e)h(will)e(come)h(from)f(the)i +(defaults,)f(but)h(the)g(v)o(ersion)g(will)e(come)g(from)0 +1177 y(the)17 b(default)f(v)o(ersion)g(argumen)o(t)f(to)h(the)g +(merging)f(op)q(eration.)25 b(If)15 b(the)i(user)g(supplies)0 +1229 y(nothing,)c(or)h(just)g(a)f(directory)m(,)h(the)h(name,)d(t)o(yp) +q(e,)i(and)g(v)o(ersion)g(will)e(come)i(o)o(v)o(er)f(from)0 +1281 y(the)j(defaults)e(together.)23 b(If)14 b(the)i(host's)f(\014le)g +(name)e(syn)o(tax)i(pro)o(vides)g(a)g(w)o(a)o(y)f(to)h(input)0 +1333 y(a)e(v)o(ersion)g(without)f(a)h(name)f(or)h(t)o(yp)q(e,)g(the)g +(user)h(can)g(let)f(the)g(name)f(and)h(t)o(yp)q(e)g(default)0 +1384 y(but)h(supply)g(a)g(v)o(ersion)g(di\013eren)o(t)g(from)f(the)h +(one)g(in)g(the)g(defaults.)42 1436 y(X3J13)19 b(v)o(oted)h(in)g(June)h +(1989)e Ft(h)p Fw(135)p Ft(i)g Fw(to)h(agree)h(to)f(disagree:)31 +b Fs(merge-pathname)-33 1408 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1488 a Fw(migh)o(t)13 b(or)h(migh)o(t)f(not)i(p)q +(erform)f(plausibilit)o(y)e(c)o(hec)o(king)j(on)g(its)g(argumen)o(ts)f +(to)g(ensure)0 1540 y(that)i(the)h(resulting)f(pathname)f(can)i(b)q(e)f +(con)o(v)o(erted)i(a)e(v)n(alid)e(namestring.)24 b(User)17 +b(b)q(e-)0 1592 y(w)o(are:)h(this)c(could)g(cause)h(p)q(ortabilit)o(y)d +(problems.)42 1644 y(F)m(or)19 b(example,)i(supp)q(ose)g(that)g(host)f +Fs(LOSER)g Fw(constrains)h(\014le)f(t)o(yp)q(es)h(to)f(b)q(e)h(three)0 +1696 y(c)o(haracters)13 b(or)f(few)o(er)g(but)g(host)g +Fs(CMUC)f Fw(do)q(es)h(not.)18 b(Then)12 b Fs("LOSER::FORMAT")c +Fw(is)k(a)f(v)n(alid)0 1748 y(namestring)i(and)h Fs("CMUC::PS:.F)o(ASL")c Fw(is)k(a)g(v)n(alid)e(namestring,)g(but)0 +1833 y Fs(\(merge-pathnames)18 b("LOSER::FORMAT")g("CMUC::PS:.FAS)o(L"\))0 1918 y Fw(migh)o(t)9 b(signal)g(an)i(error)g(in)f(some) +g(implemen)o(tations)e(b)q(ecause)k(the)f(h)o(yp)q(othetical)g(result)0 +1970 y(w)o(ould)k(b)q(e)i(a)f(pathname)f(equiv)n(alen)o(t)h(to)g(the)h +(namestring)e Fs("LOSER::FORMAT.FA)o(SL")0 2022 y Fw(whic)o(h)e(is)h +(illegal)d(b)q(ecause)k(the)g(\014le)e(t)o(yp)q(e)h Fs(FASL)f +Fw(has)g(more)g(than)g(three)i(c)o(haracters.)20 b(In)0 +2073 y(other)e(implemen)o(tatio)o(ns)d Fs(merge-pathname)g +Fw(migh)o(t)g(return)k(a)e(pathname)f(but)i(that)0 2125 +y(pathname)13 b(migh)o(t)e(cause)k Fs(namestring)d Fw(to)i(signal)f(an) +g(error.)-33 2137 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1219 2252 a([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(*default-pathname)o(-defa)o(ults*)0 2329 y Fw(This)16 +b(is)f(the)i(default)e(pathname-defaults)g(pathname;)g(if)g(an)o(y)g +(pathname)g(primitiv)o(e)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 697 721 +697 720 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(697)0 295 y Fw(that)17 b(needs)h(a)e(set)h(of)f(defaults)h +(is)f(not)h(giv)o(en)f(one,)h(it)f(uses)i(this)f(one.)26 +b(As)17 b(a)g(general)0 347 y(rule,)h(ho)o(w)o(ev)o(er,)g(eac)o(h)g +(program)e(should)h(ha)o(v)o(e)h(its)f(o)o(wn)g(pathname)f(defaults)i +(rather)0 399 y(than)c(using)f(this)h(one.)1209 553 y([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(make-pathname)18 b(&key)j(:host)f +(:device)g(:directory)f(:name)-38 528 y Fk(.)-38 541 +y(.)-38 554 y(.)-38 567 y(.)-38 580 y(.)-38 593 y(.)-38 +606 y(.)-38 619 y(.)-38 632 y(.)-38 645 y(.)-38 658 y(.)-38 +671 y(.)-38 684 y(.)-38 697 y(.)-38 710 y(.)-38 723 y(.)-38 +736 y(.)-38 748 y(.)-38 761 y(.)-38 774 y(.)-38 787 y(.)-38 +800 y(.)-38 813 y(.)-38 826 y(.)-38 839 y(.)-38 852 y(.)-38 +865 y(.)-38 878 y(.)-38 891 y(.)-38 904 y(.)-38 917 y(.)-38 +930 y(.)-38 943 y(.)-38 956 y(.)-38 969 y(.)-38 982 y(.)-38 +995 y(.)-38 1008 y(.)-38 1021 y(.)-38 1034 y(.)-38 1047 +y(.)-38 1060 y(.)-38 1073 y(.)-38 1086 y(.)-38 1099 y(.)-38 +1112 y(.)-38 1125 y(.)-38 1138 y(.)-38 1151 y(.)-38 1164 +y(.)-38 1177 y(.)-38 1190 y(.)-38 1203 y(.)-38 1215 y(.)-38 +1228 y(.)-38 1241 y(.)-38 1254 y(.)-38 1267 y(.)-38 1280 +y(.)-38 1293 y(.)-38 1306 y(.)-38 1319 y(.)-38 1332 y(.)-38 +1345 y(.)-38 1358 y(.)-38 1371 y(.)-38 1384 y(.)-38 1397 +y(.)-38 1410 y(.)-38 1423 y(.)-38 1436 y(.)-38 1449 y(.)-38 +1462 y(.)-38 1475 y(.)-38 1488 y(.)-38 1501 y(.)-38 1514 +y(.)-38 1527 y(.)-38 1540 y(.)-38 1553 y(.)-38 1566 y(.)-38 +1579 y(.)-38 1592 y(.)-38 1605 y(.)-38 1618 y(.)-38 1631 +y(.)-38 1644 y(.)-38 1657 y(.)-38 1670 y(.)-38 1682 y(.)-38 +1695 y(.)-38 1708 y(.)-38 1721 y(.)-38 1734 y(.)-38 1747 +y(.)-38 1760 y(.)-38 1773 y(.)-38 1786 y(.)-38 1799 y(.)-38 +1812 y(.)-38 1825 y(.)-38 1838 y(.)-38 1851 y(.)-38 1864 +y(.)-38 1877 y(.)-38 1890 y(.)-38 1903 y(.)-38 1916 y(.)-38 +1929 y(.)-38 1942 y(.)-38 1955 y(.)-38 1968 y(.)-38 1981 +y(.)-38 1994 y(.)-38 2007 y(.)-38 2020 y(.)-38 2033 y(.)-38 +2046 y(.)-38 2059 y(.)-38 2072 y(.)-38 2085 y(.)-38 2098 +y(.)-38 2111 y(.)-38 2124 y(.)-38 2137 y(.)-38 2149 y(.)-38 +2162 y(.)-38 2175 y(.)-38 2188 y(.)-38 2201 y(.)-38 2214 +y(.)-38 2227 y(.)-38 2240 y(.)-38 2253 y(.)-38 2266 y(.)-38 +2279 y(.)-38 2292 y(.)-38 2305 y(.)-38 2318 y(.)-38 2331 +y(.)-38 2344 y(.)-38 2357 y(.)-38 2370 y(.)-38 2383 y(.)-38 +2396 y(.)-38 2409 y(.)-38 2422 y(.)-38 2435 y(.)-38 2448 +y(.)-38 2461 y(.)-38 2474 y(.)-38 2487 y(.)-38 2500 y(.)-38 +2513 y(.)-38 2526 y(.)-38 2539 y(.)-38 2552 y(.)-38 2565 +y(.)-38 2578 y(.)-38 2591 y(.)-38 2604 y(.)-38 2616 y(.)-38 +2629 y(.)-38 2642 y(.)-38 2655 y(.)-38 2668 y(.)-38 2681 +y(.)-38 2694 y(.)-38 2707 y(.)-38 2720 y(.)-38 2733 y(.)-38 +2746 y(.)-38 2759 y(.)-38 2772 y(.)-38 2785 y(.)-38 2798 +y(.)-38 2811 y(.)-38 2824 y(.)-38 2837 y(.)-38 2850 y(.)-38 +2863 y(.)-38 2876 y(.)-38 2889 y(.)-38 2902 y(.)-38 2915 +y(.)-38 2928 y(.)-38 2941 y(.)-38 2954 y(.)-38 2967 y(.)-38 +2980 y(.)-38 2993 y(.)-38 3006 y(.)-38 3019 y(.)-38 3032 +y(.)-38 3045 y(.)-38 3058 y(.)-38 3071 y(.)-38 3083 y(.)-38 +3096 y(.)-38 3109 y(.)304 605 y Fs(:type)i(:version)e(:defaults)0 +682 y Fw(Giv)o(en)11 b(some)g(comp)q(onen)o(ts,)h Fs(make-pathname)d +Fw(constructs)14 b(and)d(returns)j(a)d(pathname.)0 734 +y(After)g(the)g(comp)q(onen)o(ts)e(sp)q(eci\014ed)j(explicitly)d(b)o(y) +h(the)h Fs(:host)p Fw(,)e Fs(:device)p Fw(,)g Fs(:directory)p +Fw(,)0 786 y Fs(:name)p Fw(,)g Fs(:type)p Fw(,)g(and)h +Fs(:version)f Fw(argumen)o(ts)g(are)h(\014lled)g(in,)g(the)g(merging)e +(rules)j(used)g(b)o(y)0 838 y Fs(merge-pathnames)c Fw(are)12 +b(used)f(to)g(\014ll)e(in)h(an)o(y)h(missing)d(comp)q(onen)o(ts)j(from) +d(the)k(defaults)0 890 y(sp)q(eci\014ed)19 b(b)o(y)e(the)g +Fs(:defaults)f Fw(argumen)o(t.)26 b(The)18 b(default)f(v)n(alue)f(of)h +(the)h Fs(:defaults)0 942 y Fw(argumen)o(t)13 b(is)g(a)g(pathname)g +(whose)h(host)g(comp)q(onen)o(t)f(is)g(the)i(same)d(as)i(the)g(host)g +(com-)0 994 y(p)q(onen)o(t)d(of)f(the)h(v)n(alue)f(of)g +Fs(*default-pathnam)o(e-de)o(fault)o(s*)p Fw(,)e(and)i(whose)h(other)g +(com-)0 1045 y(p)q(onen)o(ts)k(are)f(all)f Fs(nil)p Fw(.)42 +1098 y(Whenev)o(er)h(a)g(pathname)e(is)h(constructed,)j(whether)f(b)o +(y)e Fs(make-pathname)e Fw(or)j(some)0 1150 y(other)21 +b(function,)g(the)g(comp)q(onen)o(ts)f(ma)o(y)f(b)q(e)i(canonicalized)f +(if)g(appropriate.)37 b(F)m(or)0 1202 y(example,)11 b(if)g(a)h(\014le)g +(system)g(is)g(insensitiv)o(e)h(to)f(case,)h(then)g(alphab)q(etic)f(c)o +(haracters)i(ma)o(y)0 1254 y(b)q(e)h(forced)f(to)g(b)q(e)g(all)f(upp)q +(ercase)j(or)e(all)e(lo)o(w)o(ercase)j(b)o(y)e(the)i(implemen)o(tatio)o +(n.)-33 1265 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1345 a(The)f(follo)o(wing)d(example)i(assumes)h(the)g +(use)h(of)e(UNIX)h(syn)o(tax)g(and)g(con)o(v)o(en)o(tions.)-33 +1316 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1435 a Fs(\(make-pathname)k(:host)i("technodrome")318 +1487 y(:directory)554 1491 y Fn(')578 1487 y Fs(\(:absolute)f("usr")h +("krang"\))318 1539 y(:name)g("shredder"\))42 1591 y +Ft(\))h Fs(#)105 1587 y(-)105 1595 y(-)127 1591 y(P"technodrome:/us)o +(r/kr)o(ang/s)o(hredd)o(er")0 1681 y Fw(X3J13)c(v)o(oted)g(in)f(June)i +(1989)e Ft(h)p Fw(128)p Ft(i)g Fw(to)h(add)f(a)h(new)g(k)o(eyw)o(ord)g +(argumen)o(t)f Fs(:case)g Fw(to)0 1733 y Fs(make-pathname)p +Fw(.)f(The)g(new)f(argumen)o(t)f(description)h(is)g(therefore)h(as)f +(follo)o(ws:)1209 1888 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(make-pathname)18 b(&key)j(:host)f(:device)g(:directory)f(:name)304 +1940 y(:type)i(:version)e(:defaults)g(:case)0 2017 y +Fw(See)c(section)f(23.1.2)e(for)i(a)f(description)i(of)e(the)i +Fs(:case)e Fw(argumen)o(t.)42 2069 y(X3J13)d(v)o(oted)h(in)g(June)h +(1989)e Ft(h)p Fw(135)p Ft(i)h Fw(to)g(agree)g(to)g(disagree:)17 +b Fs(make-pathname)9 b Fw(migh)o(t)0 2121 y(or)16 b(migh)o(t)e(not)j(c) +o(hec)o(k)g(on)f(its)g(argumen)o(ts)g(to)g(ensure)i(that)f(the)f +(resulting)h(pathname)0 2173 y(can)d(b)q(e)g(con)o(v)o(erted)g(to)g(a)f +(v)n(alid)f(namestring.)17 b(If)c Fs(make-pathname)e +Fw(do)q(es)j(not)f(c)o(hec)o(k)i(its)0 2225 y(argumen)o(ts)f(and)g +(signal)f(an)h(error)h(in)f(problematical)e(cases,)j +Fs(namestring)d Fw(y)o(et)j(migh)o(t)0 2277 y(or)c(migh)o(t)e(not)j +(signal)e(an)h(error)h(when)g(giv)o(en)f(the)g(resulting)h(pathname.)k +(User)c(b)q(ew)o(are:)0 2329 y(this)i(could)g(cause)h(p)q(ortabilit)o +(y)d(problems.)-33 2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 698 722 +698 721 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(698)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(pathnamep)19 b Fv(obje)n(ct)0 372 y Fw(This)14 b(predicate)h(is)f +(true)g(if)f Fv(obje)n(ct)h Fw(is)g(a)f(pathname,)g(and)g(otherwise)i +(is)f(false.)0 460 y Fs(\(pathnamep)19 b(x\))i Ft(\021)g +Fs(\(typep)f(x)550 464 y Fn(')573 460 y Fs(pathname\))1209 +600 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(pathname-host)18 +b Fv(p)n(athname)-38 575 y Fk(.)-38 588 y(.)-38 601 y(.)-38 +614 y(.)-38 627 y(.)-38 640 y(.)-38 653 y(.)-38 666 y(.)-38 +679 y(.)-38 692 y(.)-38 705 y(.)-38 718 y(.)-38 731 y(.)-38 +744 y(.)-38 757 y(.)-38 770 y(.)-38 783 y(.)-38 796 y(.)-38 +809 y(.)-38 822 y(.)-38 835 y(.)-38 848 y(.)-38 861 y(.)-38 +874 y(.)-38 887 y(.)-38 900 y(.)-38 913 y(.)-38 925 y(.)-38 +938 y(.)-38 951 y(.)-38 964 y(.)-38 977 y(.)-38 990 y(.)-38 +1003 y(.)-38 1016 y(.)-38 1029 y(.)-38 1042 y(.)-38 1055 +y(.)-38 1068 y(.)-38 1081 y(.)-38 1094 y(.)-38 1107 y(.)-38 +1120 y(.)-38 1133 y(.)-38 1146 y(.)-38 1159 y(.)-38 1172 +y(.)-38 1185 y(.)-38 1198 y(.)-38 1211 y(.)-38 1224 y(.)-38 +1237 y(.)-38 1250 y(.)-38 1263 y(.)-38 1276 y(.)-38 1289 +y(.)-38 1302 y(.)-38 1315 y(.)-38 1328 y(.)-38 1341 y(.)-38 +1354 y(.)-38 1367 y(.)-38 1380 y(.)-38 1392 y(.)-38 1405 +y(.)-38 1418 y(.)-38 1431 y(.)-38 1444 y(.)-38 1457 y(.)-38 +1470 y(.)-38 1483 y(.)-38 1496 y(.)-38 1509 y(.)-38 1522 +y(.)-38 1535 y(.)-38 1548 y(.)-38 1561 y(.)-38 1574 y(.)-38 +1587 y(.)-38 1600 y(.)-38 1613 y(.)-38 1626 y(.)-38 1639 +y(.)-38 1652 y(.)-38 1665 y(.)-38 1678 y(.)-38 1691 y(.)-38 +1704 y(.)-38 1717 y(.)-38 1730 y(.)-38 1743 y(.)-38 1756 +y(.)-38 1769 y(.)-38 1782 y(.)-38 1795 y(.)-38 1808 y(.)-38 +1821 y(.)-38 1834 y(.)-38 1847 y(.)-38 1859 y(.)-38 1872 +y(.)-38 1885 y(.)-38 1898 y(.)-38 1911 y(.)-38 1924 y(.)-38 +1937 y(.)-38 1950 y(.)-38 1963 y(.)-38 1976 y(.)-38 1989 +y(.)-38 2002 y(.)-38 2015 y(.)-38 2028 y(.)-38 2041 y(.)-38 +2054 y(.)-38 2067 y(.)-38 2080 y(.)-38 2093 y(.)-38 2106 +y(.)-38 2119 y(.)-38 2132 y(.)-38 2145 y(.)-38 2158 y(.)-38 +2171 y(.)-38 2184 y(.)-38 2197 y(.)-38 2210 y(.)-38 2223 +y(.)-38 2236 y(.)-38 2249 y(.)-38 2262 y(.)-38 2275 y(.)-38 +2288 y(.)-38 2301 y(.)-38 2314 y(.)-38 2326 y(.)-38 2339 +y(.)-38 2352 y(.)-38 2365 y(.)-38 2378 y(.)-38 2391 y(.)-38 +2404 y(.)-38 2417 y(.)-38 2430 y(.)-38 2443 y(.)-38 2456 +y(.)-38 2469 y(.)-38 2482 y(.)-38 2495 y(.)-38 2508 y(.)-38 +2521 y(.)-38 2534 y(.)-38 2547 y(.)-38 2560 y(.)-38 2573 +y(.)-38 2586 y(.)-38 2599 y(.)-38 2612 y(.)-38 2625 y(.)-38 +2638 y(.)-38 2651 y(.)-38 2664 y(.)-38 2677 y(.)-38 2690 +y(.)-38 2703 y(.)-38 2716 y(.)-38 2729 y(.)-38 2742 y(.)-38 +2755 y(.)-38 2768 y(.)-38 2781 y(.)-38 2793 y(.)-38 2806 +y(.)-38 2819 y(.)-38 2832 y(.)-38 2845 y(.)-38 2858 y(.)-38 +2871 y(.)-38 2884 y(.)-38 2897 y(.)-38 2910 y(.)-38 2923 +y(.)-38 2936 y(.)-38 2949 y(.)-38 2962 y(.)-38 2975 y(.)-38 +2988 y(.)-38 3001 y(.)-38 3014 y(.)-38 3027 y(.)-38 3040 +y(.)-38 3053 y(.)-38 3066 y(.)-38 3079 y(.)-38 3092 y(.)-38 +3105 y(.)-38 3118 y(.)-38 3131 y(.)-38 3144 y(.)-38 3157 +y(.)1209 652 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(pathname-device) +18 b Fv(p)n(athname)1209 704 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(pathname-director)o(y)18 b Fv(p)n(athname)1209 +756 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(pathname-name)18 +b Fv(p)n(athname)1209 808 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(pathname-type)18 b Fv(p)n(athname)1209 860 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(pathname-version)18 +b Fv(p)n(athname)0 937 y Fw(These)i(return)h(the)e(comp)q(onen)o(ts)g +(of)g(the)g(argumen)o(t)f Fv(p)n(athname)p Fw(,)j(whic)o(h)e(ma)o(y)e +(b)q(e)j(a)0 989 y(pathname,)14 b(string)i(or)f(sym)o(b)q(ol,)f(or)h +(stream.)23 b(The)16 b(returned)h(v)n(alues)e(can)h(b)q(e)g(strings,)0 +1041 y(sp)q(ecial)g(sym)o(b)q(ols,)e(or)h(some)g(other)h(ob)r(ject)g +(in)f(the)h(case)h(of)e(structured)j(comp)q(onen)o(ts.)0 +1092 y(The)f(t)o(yp)q(e)f(will)f(alw)o(a)o(ys)g(b)q(e)h(a)g(string)g +(or)g(a)g(sym)o(b)q(ol.)23 b(The)16 b(v)o(ersion)h(will)d(alw)o(a)o(ys) +h(b)q(e)i(a)0 1144 y(n)o(um)o(b)q(er)c(or)h(a)g(sym)o(b)q(ol.)-33 +1156 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1228 a(X3J13)e(v)o(oted)g(in)g(Marc)o(h)h(1988)e(not)i +(to)f(p)q(ermit)g(sym)o(b)q(ols)f(as)h(pathnames)g Ft(h)p +Fw(134)p Ft(i)g Fw(and)-33 1200 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1280 a(to)i(sp)q(ecify)g(exactly)g(whic)o(h)g(streams)g +(ma)o(y)e(b)q(e)i(used)h(as)f(pathnames)f Ft(h)p Fw(132)p +Ft(i)p Fw(.)-33 1292 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1332 a(X3J13)g(v)o(oted)i(in)e(Jan)o(uary)h(1989)f +Ft(h)p Fw(15)p Ft(i)h Fw(to)g(sp)q(ecify)h(that)f(these)i(op)q +(erations)e(are)h(un-)-33 1304 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1384 a(a\013ected)h(b)o(y)f(whether)i(the)e(\014rst)h +(argumen)o(t,)e(if)g(a)h(stream,)f(is)h(op)q(en)g(or)g(closed.)22 +b(If)15 b(the)0 1436 y(\014rst)d(argumen)o(t)e(is)h(a)g(stream,)g(eac)o +(h)g(op)q(eration)g(b)q(eha)o(v)o(es)h(as)g(if)e(the)i(function)e +Fs(pathname)0 1488 y Fw(w)o(ere)15 b(applied)e(to)h(the)g(stream)g(and) +f(the)i(resulting)f(pathname)f(used)h(instead.)-33 1500 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1540 a(X3J13)20 b(v)o(oted)h(in)f(June)i(1989)e +Ft(h)p Fw(128)p Ft(i)g Fw(to)h(add)f(a)h(k)o(eyw)o(ord)f(argumen)o(t)g +Fs(:case)g Fw(to)-33 1512 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1592 a(all)14 b(of)i(the)g(pathname)e(accessor)k +(functions)e(except)h Fs(pathname-version)p Fw(.)j(The)c(new)0 +1644 y(argumen)o(t)d(descriptions)i(are)f(therefore)h(as)f(follo)o(ws:) +1209 1784 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(pathname-host)18 +b Fv(p)n(athname)26 b Fs(&key)20 b(:case)1209 1836 y +Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(pathname-device)18 +b Fv(p)n(athname)25 b Fs(&key)c(:case)1209 1888 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(pathname-director)o(y)18 +b Fv(p)n(athname)26 b Fs(&key)20 b(:case)1209 1940 y +Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(pathname-name)18 +b Fv(p)n(athname)26 b Fs(&key)20 b(:case)1209 1992 y +Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(pathname-type)18 +b Fv(p)n(athname)26 b Fs(&key)20 b(:case)1209 2044 y +Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(pathname-version)18 +b Fv(p)n(athname)0 2121 y Fw(See)d(section)f(23.1.2)e(for)i(a)f +(description)i(of)e(the)i Fs(:case)e Fw(argumen)o(t.)42 +2173 y(X3J13)j(v)o(oted)h(in)f(June)h(1989)f Ft(h)p Fw(133)p +Ft(i)g Fw(to)h(sp)q(ecify)g(that)g Fs(pathname-directo)o(ry)d +Fw(al-)0 2225 y(w)o(a)o(ys)i(returns)j Fs(nil)p Fw(,)d +Fs(:unspecific)p Fw(,)f(or)i(a)f(list|nev)o(er)h(a)g(string,)g(nev)o +(er)h Fs(:wild)d Fw(\(see)0 2277 y(section)f(23.1.3\).)i(If)d(a)g(list) +g(is)g(returned,)i(it)e(is)g(not)g(guaran)o(teed)h(to)g(b)q(e)g +(freshly)f(consed;)0 2329 y(the)h(consequences)j(of)c(mo)q(difying)e +(this)j(list)g(are)g(unde\014ned.)-33 2340 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 699 723 +699 722 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(699)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(namestring)19 b Fv(p)n(athname)1209 347 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(file-namestring)18 b +Fv(p)n(athname)1209 399 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(directory-namestr)o(ing)18 b Fv(p)n(athname)1209 +450 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(host-namestring)18 +b Fv(p)n(athname)1209 502 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(enough-namestring)18 b Fv(p)n(athname)25 b Fs(&optional)19 +b Fv(defaults)0 579 y Fw(The)13 b Fv(p)n(athname)h Fw(argumen)o(t)d(ma) +o(y)g(b)q(e)j(a)e(pathname,)f(a)i(string)g(or)f(sym)o(b)q(ol,)f(or)i(a) +f(stream)0 631 y(that)i(is)g(or)h(w)o(as)f(op)q(en)h(to)f(a)g(\014le.) +19 b(The)c(name)e(represen)o(ted)k(b)o(y)d Fv(p)n(athname)h +Fw(is)f(returned)0 683 y(as)g(a)g(namelist)e(in)h(canonical)g(form.)42 +735 y(If)j Fv(p)n(athname)i Fw(is)f(a)g(stream,)g(the)h(name)e +(returned)j(represen)o(ts)h(the)e(name)e(used)i(to)0 +787 y Fv(op)n(en)d Fw(the)f(\014le,)f(whic)o(h)h(ma)o(y)e(not)i(b)q(e)g +(the)h Fv(actual)f Fw(name)f(of)g(the)h(\014le)g(\(see)i +Fs(truename)p Fw(\).)42 839 y(X3J13)c(v)o(oted)g(in)g(Marc)o(h)h(1988)e +(not)i(to)f(p)q(ermit)g(sym)o(b)q(ols)f(as)h(pathnames)g +Ft(h)p Fw(134)p Ft(i)g Fw(and)-33 810 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 890 a(to)i(sp)q(ecify)g(exactly)g(whic)o(h)g(streams)g +(ma)o(y)e(b)q(e)i(used)h(as)f(pathnames)f Ft(h)p Fw(132)p +Ft(i)p Fw(.)-33 902 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 942 a(X3J13)g(v)o(oted)i(in)e(Jan)o(uary)h(1989)f +Ft(h)p Fw(15)p Ft(i)h Fw(to)g(sp)q(ecify)h(that)f(these)i(op)q +(erations)e(are)h(un-)-33 914 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 994 a(a\013ected)h(b)o(y)f(whether)i(the)e(\014rst)h +(argumen)o(t,)e(if)g(a)h(stream,)f(is)h(op)q(en)g(or)g(closed.)22 +b(If)15 b(the)0 1046 y(\014rst)d(argumen)o(t)e(is)h(a)g(stream,)g(eac)o +(h)g(op)q(eration)g(b)q(eha)o(v)o(es)h(as)g(if)e(the)i(function)e +Fs(pathname)0 1098 y Fw(w)o(ere)15 b(applied)e(to)h(the)g(stream)g(and) +f(the)i(resulting)f(pathname)f(used)h(instead.)-33 1110 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1150 a Fs(namestring)19 b Fw(returns)k(the)g(full)d +(form)g(of)h(the)h Fv(p)n(athname)h Fw(as)f(a)f(string.)42 +b Fs(file-)0 1202 y(namestring)16 b Fw(returns)k(a)e(string)h(represen) +o(ting)h(just)f(the)g Fv(name)p Fw(,)g Fv(typ)n(e)p Fw(,)h(and)e +Fv(version)0 1254 y Fw(comp)q(onen)o(ts)11 b(of)g(the)i +Fv(p)n(athname)p Fw(;)g(the)f(result)g(of)g Fs(directory-names)o(tring) +c Fw(represen)o(ts)0 1306 y(just)17 b(the)h Fv(dir)n(e)n(ctory-name)f +Fw(p)q(ortion;)h(and)f Fs(host-namestring)d Fw(returns)19 +b(a)e(string)g(for)0 1357 y(just)e(the)g Fv(host-name)h +Fw(p)q(ortion.)k(Note)15 b(that)g(a)f(v)n(alid)f(namestring)h(cannot)h +(necessarily)0 1409 y(b)q(e)h(constructed)i(simply)c(b)o(y)h +(concatenating)h(some)f(of)g(the)h(three)h(shorter)g(strings)f(in)0 +1461 y(some)d(order.)42 1513 y Fs(enough-namestri)o(ng)i +Fw(tak)o(es)j(another)h(argumen)o(t,)e Fv(defaults)p +Fw(.)30 b(It)18 b(returns)h(an)f(ab-)0 1565 y(breviated)13 +b(namestring)f(that)h(is)f(just)h(su\016cien)o(t)h(to)e(iden)o(tify)g +(the)i(\014le)e(named)g(b)o(y)h Fv(p)n(ath-)0 1617 y(name)h +Fw(when)g(considered)h(relativ)o(e)f(to)f(the)h Fv(defaults)g +Fw(\(whic)o(h)f(defaults)h(to)f(the)h(v)n(alue)f(of)0 +1669 y Fs(*default-pathname)o(-defa)o(ults*)o Fw(\).)j(That)d(is,)h(it) +f(is)h(required)h(that)0 1751 y Fs(\(merge-pathnames)j +(\(enough-namestrin)o(g)g Fv(p)n(athname)k(defaults)p +Fs(\))f Fv(defaults)p Fs(\))g Ft(\021)21 1803 y Fs(\(merge-pathnames)d +(\(parse-namestring)g Fv(p)n(athname)k Fs(nil)e Fv(defaults)p +Fs(\))h Fv(defaults)p Fs(\))0 1885 y Fw(in)16 b(all)f(cases;)j(and)e +(the)h(result)g(of)f Fs(enough-namestring)d Fw(is,)j(roughly)g(sp)q +(eaking,)g(the)0 1936 y(shortest)f(reasonable)g(string)f(that)g(will)e +(still)h(satisfy)h(this)f(criterion.)42 1988 y(X3J13)h(v)o(oted)h(in)f +(June)h(1989)f Ft(h)p Fw(135)p Ft(i)g Fw(to)g(agree)i(to)e(disagree:)20 +b Fs(make-pathname)12 b Fw(and)-33 1960 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2040 a Fs(merge-pathnames)k Fw(migh)o(t)h(or)i(migh)o(t) +e(not)i(b)q(e)h(able)f(to)g(pro)q(duce)h(pathnames)f(that)0 +2092 y(cannot)h(b)q(e)g(con)o(v)o(erted)h(to)e(v)n(alid)f(namestrings.) +35 b(User)20 b(b)q(ew)o(are:)31 b(this)19 b(could)h(cause)0 +2144 y(p)q(ortabilit)o(y)13 b(problems.)-33 2156 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 2252 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(user-homedir-path)o(name)18 b(&optional)h Fv(host)0 +2329 y Fw(Returns)c(a)e(pathname)g(for)h(the)g(user's)h(\\home)e +(directory")h(on)g Fv(host)p Fw(.)19 b(The)14 b Fv(host)g +Fw(argu-)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 700 724 +700 723 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(700)77 b(COMMON)13 +b(LISP)0 295 y Fw(men)o(t)i(defaults)i(in)f(some)f(appropriate)i +(implemen)o(tatio)o(n-dep)q(enden)o(t)e(manner.)25 b(The)0 +347 y(concept)20 b(of)f(\\home)e(directory")j(is)e(itself)h(somewhat)f +(implemen)o(tation-)o(dep)q(enden)o(t,)0 399 y(but)13 +b(from)e(the)j(p)q(oin)o(t)e(of)g(view)h(of)f(Common)e(Lisp)j(it)f(is)h +(the)g(directory)h(where)g(the)g(user)0 450 y(k)o(eeps)19 +b(p)q(ersonal)g(\014les)g(suc)o(h)g(as)g(initialization)c(\014les)k +(and)f(mail.)29 b(If)18 b(it)g(is)g(imp)q(ossible)0 502 +y(to)f(determine)f(this)h(information,)d(then)k Fs(nil)e +Fw(is)g(returned)j(instead)e(of)f(a)g(pathname;)0 554 +y(ho)o(w)o(ev)o(er,)f Fs(user-homedir-path)o(name)c Fw(nev)o(er)16 +b(returns)h Fs(nil)d Fw(if)g(the)h Fv(host)g Fw(argumen)o(t)f(is)0 +606 y(not)h(sp)q(eci\014ed.)22 b(This)14 b(function)h(returns)h(a)e +(pathname)g(without)g(an)o(y)h(name,)e(t)o(yp)q(e,)i(or)0 +658 y(v)o(ersion)f(comp)q(onen)o(t)f(\(those)i(comp)q(onen)o(ts)e(are)i +(all)d Fs(nil)p Fw(\).)0 822 y Fo(23.2.)20 b(Op)r(ening)15 +b(and)g(Closing)g(Files)0 912 y Fw(When)20 b(a)g(\014le)h(is)f +Fv(op)n(ene)n(d)p Fw(,)i(a)e(stream)g(ob)r(ject)h(is)f(constructed)j +(to)d(serv)o(e)h(as)g(the)g(\014le)0 964 y(system's)15 +b(am)o(bassador)f(to)i(the)g(Lisp)f(en)o(vironmen)o(t;)g(op)q(erations) +h(on)f(the)h(stream)f(are)0 1016 y(re\015ected)j(b)o(y)e(op)q(erations) +h(on)f(the)g(\014le)g(in)g(the)h(\014le)f(system.)24 +b(The)17 b(act)f(of)g Fv(closing)g Fw(the)0 1068 y(\014le)g(\(actually) +m(,)f(the)h(stream\))g(ends)h(the)g(asso)q(ciation;)f(the)g +(transaction)g(with)g(the)h(\014le)0 1120 y(system)e(is)g(terminated,)f +(and)h(input/output)g(ma)o(y)f(no)h(longer)g(b)q(e)g(p)q(erformed)g(on) +g(the)0 1171 y(stream.)i(The)d(stream)f(function)g Fs(close)g +Fw(ma)o(y)e(b)q(e)j(used)g(to)g(close)f(a)h(\014le;)f(the)h(functions)0 +1223 y(describ)q(ed)h(b)q(elo)o(w)d(ma)o(y)f(b)q(e)j(used)f(to)g(op)q +(en)g(them.)k(The)c(basic)g(op)q(eration)g(is)g Fs(open)p +Fw(,)f(but)0 1275 y Fs(with-open-file)f Fw(is)j(usually)f(more)g(con)o +(v)o(enien)o(t)h(for)f(most)g(applications.)1209 1420 +y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(open)20 b Fv(\014lename)25 +b Fs(&key)c(:direction)e(:element-type)f(:if-exists)108 +1471 y(:if-does-not-exist)g(:external-format)42 1549 +y Fw(X3J13)11 b(v)o(oted)h(in)f(June)i(1989)e Ft(h)p +Fw(122)p Ft(i)g Fw(to)h(add)f(to)h(the)h(function)e Fs(open)g +Fw(a)g(new)i(k)o(eyw)o(ord)-33 1521 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1601 a(argumen)o(t)d Fs(:external-format)o +Fw(.)k(This)d(argumen)o(t)f(did)g(not)h(app)q(ear)g(in)f(the)i +(preceding)0 1653 y(argumen)o(t)h(description)h(in)g(the)g(\014rst)h +(edition.)-33 1664 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1705 a(This)i(returns)i(a)e(stream)g(that)g(is)h +(connected)h(to)e(the)h(\014le)f(sp)q(eci\014ed)i(b)o(y)f +Fv(\014lename)p Fw(.)0 1757 y(The)i Fv(\014lename)h Fw(is)f(the)g(name) +f(of)h(the)g(\014le)g(to)g(b)q(e)h(op)q(ened;)i(it)d(ma)o(y)e(b)q(e)i +(a)g(string,)h(a)0 1809 y(pathname,)12 b(or)h(a)f(stream.)17 +b(\(If)c(the)h Fv(\014lename)f Fw(is)g(a)g(stream,)f(then)i(it)f(is)f +(not)h(closed)h(\014rst)0 1861 y(or)f(otherwise)i(a\013ected;)f(it)f +(is)h(used)g(merely)f(to)g(pro)o(vide)g(a)g(\014le)h(name)e(for)h(the)h +(op)q(ening)0 1913 y(of)f(a)h(new)g(stream.\))42 1965 +y(X3J13)g(v)o(oted)g(in)g(Jan)o(uary)g(1989)g Ft(h)p +Fw(167)p Ft(i)g Fw(to)g(sp)q(ecify)h(that)f(the)h(result)h(of)d +Fs(open)p Fw(,)h(if)f(it)-33 1936 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2017 a(is)h(a)f(stream,)g(is)h(alw)o(a)o(ys)f(a)g +(stream)h(of)f(t)o(yp)q(e)i Fs(file-stream)p Fw(.)-33 +2028 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2069 a(X3J13)e(v)o(oted)g(in)g(Marc)o(h)h(1988)e +Ft(h)p Fw(132)p Ft(i)h Fw(to)g(sp)q(ecify)h(exactly)f(whic)o(h)g +(streams)h(ma)o(y)d(b)q(e)-33 2041 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2121 a(used)k(as)f(pathnames.)j(See)e(section)f(23.1.6.) +-33 2133 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2173 a(X3J13)k(v)o(oted)g(in)g(Jan)o(uary)h(1989)e +Ft(h)p Fw(15)p Ft(i)h Fw(to)h(sp)q(ecify)g(that)f Fs(open)g +Fw(is)g(una\013ected)i(b)o(y)-33 2145 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2225 a(whether)12 b(the)f(\014rst)h(argumen)o(t,)d(if)h +(a)h(stream,)f(is)h(op)q(en)g(or)f(closed.)18 b(If)10 +b(the)h(\014rst)h(argumen)o(t)0 2277 y(is)18 b(a)f(stream,)i +Fs(open)e Fw(b)q(eha)o(v)o(es)h(as)g(if)g(the)g(function)g +Fs(pathname)e Fw(w)o(ere)j(applied)e(to)h(the)0 2329 +y(stream)13 b(and)h(the)h(resulting)f(pathname)e(used)j(instead.)-33 +2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 701 725 +701 724 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(701)42 295 y Fw(X3J13)13 b(v)o(oted)g(in)h(June)g(1989)f +Ft(h)p Fw(137)p Ft(i)g Fw(to)g(clarify)g(that)g Fs(open)g +Fw(accepts)i(only)e(non-wild)-33 266 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(pathnames;)d(an)g(error)h(is)f(signaled)f(if)g +Fs(wild-pathname-p)e Fw(w)o(ould)j(b)q(e)g(true)h(of)f +Fv(\014lename)p Fw(.)-33 358 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 399 a(X3J13)g(v)o(oted)h(in)f(June)h(1989)f +Ft(h)p Fw(130)p Ft(i)g Fw(to)h(require)g Fs(open)f Fw(to)h(accept)h +(logical)d(pathnames)-33 370 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 450 a(\(see)15 b(section)g(23.1.5\).)-33 +462 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 502 a(The)h(k)o(eyw)o(ord)g(argumen)o(ts)f(sp)q(ecify)h +(what)g(kind)f(of)g(stream)h(to)f(pro)q(duce)i(and)f(ho)o(w)0 +554 y(to)e(handle)f(errors:)0 653 y Fs(:direction)0 716 +y Fw(This)i(argumen)o(t)f(sp)q(eci\014es)j(whether)g(the)f(stream)e +(should)h(handle)h(input,)e(output,)i(or)0 768 y(b)q(oth.)42 +837 y Fs(:input)42 900 y Fw(The)e(result)g(will)f(b)q(e)h(an)g(input)g +(stream.)j(This)d(is)g(the)g(default.)42 999 y Fs(:output)42 +1062 y Fw(The)g(result)g(will)f(b)q(e)h(an)g(output)g(stream.)42 +1161 y Fs(:io)42 1224 y Fw(The)g(result)g(will)f(b)q(e)h(a)g +(bidirectional)f(stream.)42 1324 y Fs(:probe)42 1389 +y Fw(The)i(result)h(will)e(b)q(e)i(a)f(no-directional)f(stream)h(\(in)g +(e\013ect,)i(the)e(stream)g(is)g(created)42 1441 y(and)9 +b(then)i(closed\).)18 b(This)10 b(is)g(useful)g(for)g(determining)f +(whether)i(a)f(\014le)g(exists)h(without)42 1493 y(actually)h(setting)j +(up)f(a)f(complete)h(stream.)0 1592 y Fs(:element-type)0 +1655 y Fw(This)k(argumen)o(t)f(sp)q(eci\014es)i(the)g(t)o(yp)q(e)f(of)g +(the)g(unit)g(of)f(transaction)i(for)e(the)i(stream.)0 +1707 y(An)o(ything)d(that)h(can)f(b)q(e)i(recognized)f(as)g(b)q(eing)g +(a)f(\014nite)h(subt)o(yp)q(e)g(of)f Fs(character)f Fw(or)0 +1759 y Fs(integer)d Fw(is)i(acceptable.)19 b(In)14 b(particular,)f(the) +i(follo)o(wing)c(t)o(yp)q(es)k(are)f(recognized:)42 1827 +y Fs(string-char)-38 1817 y Fk(.)-38 1830 y(.)-38 1843 +y(.)-38 1856 y(.)-38 1869 y(.)-38 1882 y(.)-38 1895 y(.)-38 +1908 y(.)-38 1921 y(.)-38 1934 y(.)-38 1947 y(.)-38 1960 +y(.)-38 1973 y(.)-38 1986 y(.)-38 1998 y(.)-38 2011 y(.)-38 +2024 y(.)-38 2037 y(.)-38 2050 y(.)-38 2063 y(.)-38 2076 +y(.)-38 2089 y(.)-38 2102 y(.)-38 2115 y(.)-38 2128 y(.)-38 +2141 y(.)-38 2154 y(.)-38 2167 y(.)-38 2180 y(.)-38 2193 +y(.)-38 2206 y(.)-38 2219 y(.)-38 2232 y(.)-38 2245 y(.)-38 +2258 y(.)-38 2271 y(.)-38 2284 y(.)-38 2297 y(.)-38 2310 +y(.)-38 2323 y(.)-38 2336 y(.)-38 2349 y(.)-38 2362 y(.)-38 +2375 y(.)-38 2388 y(.)-38 2401 y(.)-38 2414 y(.)-38 2427 +y(.)-38 2440 y(.)-38 2453 y(.)-38 2465 y(.)-38 2478 y(.)-38 +2491 y(.)-38 2504 y(.)-38 2517 y(.)-38 2530 y(.)-38 2543 +y(.)-38 2556 y(.)-38 2569 y(.)-38 2582 y(.)-38 2595 y(.)-38 +2608 y(.)-38 2621 y(.)-38 2634 y(.)-38 2647 y(.)-38 2660 +y(.)-38 2673 y(.)-38 2686 y(.)-38 2699 y(.)-38 2712 y(.)-38 +2725 y(.)-38 2738 y(.)-38 2751 y(.)-38 2764 y(.)-38 2777 +y(.)-38 2790 y(.)-38 2803 y(.)-38 2816 y(.)-38 2829 y(.)-38 +2842 y(.)-38 2855 y(.)-38 2868 y(.)-38 2881 y(.)-38 2894 +y(.)-38 2907 y(.)-38 2920 y(.)-38 2932 y(.)-38 2945 y(.)-38 +2958 y(.)-38 2971 y(.)-38 2984 y(.)-38 2997 y(.)-38 3010 +y(.)-38 3023 y(.)-38 3036 y(.)-38 3049 y(.)-38 3062 y(.)-38 +3075 y(.)-38 3088 y(.)-38 3101 y(.)-38 3114 y(.)-38 3127 +y(.)-38 3140 y(.)-38 3153 y(.)-38 3166 y(.)-38 3179 y(.)-38 +3192 y(.)-38 3205 y(.)-38 3218 y(.)-38 3231 y(.)-38 3244 +y(.)-38 3257 y(.)-38 3270 y(.)-38 3283 y(.)-38 3296 y(.)-38 +3309 y(.)-38 3322 y(.)-38 3335 y(.)-38 3348 y(.)-38 3361 +y(.)-38 3374 y(.)-38 3387 y(.)-38 3399 y(.)-38 3412 y(.)-38 +3425 y(.)-38 3438 y(.)-38 3451 y(.)-38 3464 y(.)-38 3477 +y(.)-38 3490 y(.)-38 3503 y(.)-38 3516 y(.)-38 3529 y(.)-38 +3542 y(.)-38 3555 y(.)-38 3568 y(.)-38 3581 y(.)-38 3594 +y(.)-38 3607 y(.)-38 3620 y(.)-38 3633 y(.)-38 3646 y(.)-38 +3659 y(.)-38 3672 y(.)-38 3685 y(.)-38 3698 y(.)-38 3711 +y(.)-38 3724 y(.)-38 3737 y(.)-38 3750 y(.)-38 3763 y(.)-38 +3776 y(.)-38 3789 y(.)-38 3802 y(.)-38 3815 y(.)-38 3828 +y(.)-38 3841 y(.)-38 3854 y(.)-38 3866 y(.)-38 3879 y(.)-38 +3892 y(.)-38 3905 y(.)-38 3918 y(.)-38 3931 y(.)-38 3944 +y(.)-38 3957 y(.)-38 3970 y(.)-38 3983 y(.)-38 3996 y(.)-38 +4009 y(.)-38 4022 y(.)-38 4035 y(.)-38 4048 y(.)-38 4061 +y(.)-38 4074 y(.)-38 4087 y(.)-38 4100 y(.)-38 4113 y(.)-38 +4126 y(.)-38 4139 y(.)-38 4152 y(.)-38 4165 y(.)-38 4178 +y(.)-38 4191 y(.)-38 4204 y(.)-38 4217 y(.)-38 4230 y(.)-38 +4243 y(.)-38 4256 y(.)-38 4269 y(.)-38 4282 y(.)-38 4295 +y(.)-38 4308 y(.)-38 4321 y(.)-38 4333 y(.)-38 4346 y(.)-38 +4359 y(.)-38 4372 y(.)-38 4385 y(.)-38 4398 y(.)42 1890 +y Fw(The)20 b(unit)f(of)g(transaction)h(is)g(a)f(string-c)o(haracter.) +37 b(The)20 b(functions)g Fs(read-char)42 1942 y Fw(and/or)13 +b Fs(write-char)f Fw(ma)o(y)g(b)q(e)i(used)h(on)f(the)g(stream.)k(This) +13 b(is)h(the)h(default.)42 2042 y Fs(character)42 2105 +y Fw(The)h(unit)f(of)h(transaction)g(is)f(an)o(y)h(c)o(haracter,)h(not) +f(just)g(a)f(string-c)o(haracter.)25 b(The)42 2156 y(functions)13 +b Fs(read-char)f Fw(and/or)i Fs(write-char)e Fw(ma)o(y)g(b)q(e)i(used)h +(on)f(the)g(stream.)-33 2168 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2225 a(X3J13)i(v)o(oted)h(in)f(June)h(1989)f +Ft(h)p Fw(122)p Ft(i)g Fw(to)g(eliminate)f(the)i(t)o(yp)q(e)g +Fs(string-char)p Fw(,)e(add)-33 2197 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2277 a(the)i(t)o(yp)q(e)g Fs(base-character)p +Fw(,)d(and)i(rede\014ne)i Fs(open)e Fw(to)g(use)h(the)g(t)o(yp)q(e)g +Fs(character)e Fw(as)0 2329 y(the)f(default)g Fs(:element-type)p +Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 702 726 +702 725 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(702)77 b(COMMON)13 +b(LISP)42 295 y Fw(The)h(preceding)i(t)o(w)o(o)d(p)q(ossibilities)h +(should)g(therefore)i(b)q(e)f(replaced)g(b)o(y)f(the)h(follo)o(w-)0 +347 y(ing.)42 425 y Fs(character)42 488 y Fw(The)h(unit)f(of)h +(transaction)g(is)f(an)o(y)h(c)o(haracter,)h(not)f(just)g(a)f(string-c) +o(haracter.)25 b(The)42 540 y(functions)f Fs(read-char)f +Fw(and)h Fs(write-char)e Fw(\(dep)q(ending)j(on)f(the)i(v)n(alue)d(of)h +(the)42 592 y Fs(:direction)11 b Fw(argumen)o(t\))i(ma)o(y)f(b)q(e)j +(used)f(on)g(the)h(stream.)i(This)d(is)g(the)g(default.)42 +698 y Fs(base-character)42 761 y Fw(The)g(unit)h(of)f(transaction)h(is) +f(a)g(base)h(c)o(haracter.)22 b(The)15 b(functions)f +Fs(read-char)f Fw(and)42 813 y Fs(write-char)d Fw(\(dep)q(ending)j(on)f +(the)h(v)n(alue)f(of)f(the)i Fs(:direction)d Fw(argumen)o(t\))i(ma)o(y) +e(b)q(e)42 865 y(used)k(on)g(the)g(stream.)-33 877 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 943 a Fs(\(unsigned-byte)k Fv(n)p Fs(\))42 +1008 y Fw(The)i(unit)g(of)g(transaction)g(is)g(an)g(unsigned)g(b)o(yte) +h(\(a)f(non-negativ)o(e)g(in)o(teger\))g(of)42 1060 y(size)c +Fv(n)p Fw(.)23 b(The)16 b(functions)f Fs(read-byte)f +Fw(and/or)h Fs(write-byte)e Fw(ma)o(y)h(b)q(e)i(used)g(on)f(the)42 +1112 y(stream.)42 1219 y Fs(unsigned-byte)42 1284 y Fw(The)i(unit)f(of) +g(transaction)h(is)g(an)g(unsigned)g(b)o(yte)g(\(a)f(non-negativ)o(e)h +(in)o(teger\);)h(the)42 1336 y(size)c(of)e(the)j(b)o(yte)e(is)h +(determined)f(b)o(y)g(the)h(\014le)g(system.)j(The)d(functions)g +Fs(read-byte)42 1388 y Fw(and/or)f Fs(write-byte)f Fw(ma)o(y)g(b)q(e)i +(used)h(on)f(the)g(stream.)42 1494 y Fs(\(signed-byte)k +Fv(n)p Fs(\))42 1558 y Fw(The)12 b(unit)g(of)g(transaction)h(is)f(a)g +(signed)g(b)o(yte)h(of)f(size)h Fv(n)p Fw(.)k(The)c(functions)g +Fs(read-byte)42 1609 y Fw(and/or)g Fs(write-byte)f Fw(ma)o(y)g(b)q(e)i +(used)h(on)f(the)g(stream.)42 1716 y Fs(signed-byte)42 +1779 y Fw(The)g(unit)g(of)f(transaction)i(is)f(a)f(signed)i(b)o(yte;)f +(the)g(size)h(of)f(the)g(b)o(yte)h(is)f(determined)42 +1831 y(b)o(y)h(the)i(\014le)f(system.)25 b(The)16 b(functions)g +Fs(read-byte)e Fw(and/or)i Fs(write-byte)e Fw(ma)o(y)g(b)q(e)42 +1883 y(used)g(on)g(the)g(stream.)42 1990 y Fs(bit)42 +2055 y Fw(The)f(unit)g(of)f(transaction)i(is)f(a)g(bit)f(\(v)n(alues)h +Fs(0)g Fw(and)g Fs(1)p Fw(\).)18 b(The)13 b(functions)h +Fs(read-byte)42 2107 y Fw(and/or)f Fs(write-byte)f Fw(ma)o(y)g(b)q(e)i +(used)h(on)f(the)g(stream.)42 2214 y Fs(\(mod)20 b Fv(n)p +Fs(\))42 2277 y Fw(The)12 b(unit)g(of)g(transaction)g(is)g(a)g +(non-negativ)o(e)g(in)o(teger)g(less)h(than)f Fv(n)p +Fw(.)18 b(The)13 b(functions)42 2329 y Fs(read-byte)e +Fw(and/or)j Fs(write-byte)e Fw(ma)o(y)g(b)q(e)i(used)h(on)f(the)g +(stream.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 703 727 +703 726 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(703)42 295 y Fs(:default)42 358 y Fw(The)12 +b(unit)g(of)f(transaction)h(is)g(to)g(b)q(e)h(determined)f(b)o(y)f(the) +i(\014le)f(system,)g(based)g(on)g(the)42 410 y(\014le)17 +b(it)g(\014nds.)29 b(The)17 b(t)o(yp)q(e)h(can)g(b)q(e)g(determined)f +(b)o(y)g(using)g(the)h(function)f Fs(stream-)42 462 y(element-type)p +Fw(.)0 558 y Fs(:if-exists)0 621 y Fw(This)d(argumen)o(t)f(sp)q +(eci\014es)j(the)e(action)g(to)g(b)q(e)g(tak)o(en)h(if)e(the)h +Fs(:direction)e Fw(is)i Fs(:output)0 673 y Fw(or)c Fs(:io)g +Fw(and)g(a)g(\014le)h(of)e(the)i(sp)q(eci\014ed)h(name)e(already)g +(exists.)17 b(If)10 b(the)h(direction)g(is)f Fs(:input)0 +725 y Fw(or)k Fs(:probe)p Fw(,)e(this)i(argumen)o(t)f(is)g(ignored.)42 +793 y Fs(:error)42 856 y Fw(Signals)j(an)h(error.)30 +b(This)18 b(is)f(the)h(default)f(when)i(the)f(v)o(ersion)f(comp)q(onen) +o(t)g(of)g(the)42 908 y Fv(\014lename)d Fw(is)g(not)g +Fs(:newest)p Fw(.)42 1004 y Fs(:new-version)42 1067 y +Fw(Creates)e(a)e(new)h(\014le)g(with)f(the)i(same)d(\014le)i(name)f +(but)h(with)f(a)g(larger)h(v)o(ersion)g(n)o(um)o(b)q(er.)42 +1119 y(This)h(is)g(the)h(default)g(when)g(the)g(v)o(ersion)f(comp)q +(onen)o(t)g(of)g(the)h Fv(\014lename)g Fw(is)g Fs(:newest)p +Fw(.)42 1215 y Fs(:rename)42 1278 y Fw(Renames)h(the)j(existing)e +(\014le)h(to)g(some)f(other)h(name)e(and)i(then)g(creates)i(a)e(new)g +(\014le)42 1330 y(with)d(the)i(sp)q(eci\014ed)g(name.)42 +1426 y Fs(:rename-and-del)o(ete)42 1492 y Fw(Renames)d(the)h(existing)f +(\014le)h(to)g(some)f(other)h(name)f(and)h(then)g(deletes)h(it)f(\(but) +g(do)q(es)42 1543 y(not)e(expunge)h(it,)f(on)g(those)h(systems)f(that)h +(distinguish)f(deletion)g(from)e(expunging\).)42 1595 +y(Then)14 b(create)h(a)f(new)g(\014le)g(with)g(the)g(sp)q(eci\014ed)i +(name.)42 1691 y Fs(:overwrite)42 1754 y Fw(Uses)h(the)f(existing)g +(\014le.)23 b(Output)17 b(op)q(erations)f(on)g(the)g(stream)f(will)g +(destructiv)o(ely)42 1806 y(mo)q(dify)7 b(the)k(\014le.)17 +b(If)10 b(the)g Fs(:direction)e Fw(is)i Fs(:io)p Fw(,)g(the)h(\014le)f +(is)g(op)q(ened)h(in)f(a)g(bidirectional)42 1858 y(mo)q(de)17 +b(that)i(allo)o(ws)f(b)q(oth)h(reading)g(and)g(writing.)32 +b(The)19 b(\014le)g(p)q(oin)o(ter)g(is)g(initially)42 +1910 y(p)q(ositioned)e(at)g(the)h(b)q(eginning)e(of)h(the)h(\014le;)h +(ho)o(w)o(ev)o(er,)f(the)g(\014le)f(is)g(not)g(truncated)42 +1962 y(bac)o(k)d(to)g(length)g(zero)h(when)g(it)f(is)g(op)q(ened.)20 +b(This)14 b(mo)q(de)g(is)g(most)f(useful)h(when)h(the)42 +2014 y Fs(file-position)c Fw(function)i(can)h(b)q(e)h(used)g(on)e(the)i +(stream.)42 2110 y Fs(:append)42 2173 y Fw(Uses)i(the)f(existing)g +(\014le.)23 b(Output)17 b(op)q(erations)f(on)g(the)g(stream)f(will)g +(destructiv)o(ely)42 2225 y(mo)q(dify)10 b(the)j(\014le.)18 +b(The)13 b(\014le)g(p)q(oin)o(ter)g(is)g(initially)d(p)q(ositioned)i +(at)h(the)g(end)h(of)e(the)h(\014le.)42 2277 y(If)j(the)i +Fs(:direction)d Fw(is)i Fs(:io)p Fw(,)g(the)h(\014le)f(is)g(op)q(ened)h +(in)f(a)f(bidirectional)h(mo)q(de)f(that)42 2329 y(allo)o(ws)c(b)q(oth) +i(reading)g(and)g(writing.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 704 728 +704 727 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(704)77 b(COMMON)13 +b(LISP)42 295 y Fs(:supersede)42 358 y Fw(Sup)q(ersedes)i(the)e +(existing)f(\014le.)18 b(If)12 b(p)q(ossible,)g(the)h(implemen)o +(tation)c(should)j(arrange)42 410 y(not)j(to)g(destro)o(y)h(the)f(old)g +(\014le)g(un)o(til)f(the)i(new)g(stream)f(is)g(closed,)g(against)g(the) +h(p)q(os-)42 462 y(sibilit)o(y)e(that)i(the)g(stream)g(will)e(b)q(e)j +(closed)f(in)g(\\ab)q(ort")f(mo)q(de)g(\(see)j Fs(close)p +Fw(\).)23 b(This)42 513 y(di\013ers)15 b(from)e Fs(:new-version)f +Fw(in)i(that)h Fs(:supersede)d Fw(creates)17 b(a)d(new)h(\014le)g(with) +f(the)42 565 y(same)h(name)h(as)h(the)h(old)e(one,)h(rather)h(than)f(a) +f(\014le)h(name)f(with)g(a)h(higher)g(v)o(ersion)42 617 +y(n)o(um)o(b)q(er.)42 723 y Fs(nil)42 786 y Fw(Do)q(es)e(not)g(create)h +(a)e(\014le)h(or)g(ev)o(en)h(a)e(stream,)g(but)h(instead)g(simply)e +(returns)k Fs(nil)d Fw(to)42 838 y(indicate)f(failure.)42 +912 y(If)f(the)h Fs(:direction)d Fw(is)i Fs(:output)f +Fw(or)i Fs(:io)e Fw(and)i(the)g(v)n(alue)e(of)h Fs(:if-exists)f +Fw(is)h Fs(:new-)0 964 y(version)p Fw(,)j(then)i(the)g(v)o(ersion)g(of) +e(the)i(\(newly)g(created\))h(\014le)e(that)h(is)f(op)q(ened)h(will)e +(b)q(e)0 1016 y(a)i(v)o(ersion)h(greater)g(than)f(that)h(of)f(an)o(y)f +(other)i(\014le)g(in)f(the)h(\014le)f(system)g(whose)h(other)0 +1068 y(pathname)13 b(comp)q(onen)o(ts)g(are)i(the)f(same)f(as)h(those)h +(of)e Fv(\014lename)p Fw(.)42 1120 y(If)h(the)i Fs(:direction)d +Fw(is)i Fs(:input)f Fw(or)h Fs(:probe)f Fw(or)h(the)h(v)n(alue)e(of)h +Fs(:if-exists)e Fw(is)i(not)0 1172 y Fs(:new-version)p +Fw(,)e Fv(and)k Fw(the)f(v)o(ersion)g(comp)q(onen)o(t)f(of)g(the)i +Fv(\014lename)f Fw(is)g Fs(:newest)p Fw(,)e(then)0 1224 +y(the)e(\014le)g(op)q(ened)g(is)g(that)f(\014le)h(already)f(existing)h +(in)f(the)h(\014le)g(system)f(that)h(has)f(a)h(v)o(ersion)0 +1276 y(greater)17 b(than)f(that)h(of)e(an)o(y)h(other)h(\014le)f(in)g +(the)h(\014le)f(system)g(whose)h(other)g(pathname)0 1327 +y(comp)q(onen)o(ts)d(are)g(the)g(same)f(as)h(those)h(of)e +Fv(\014lename)p Fw(.)42 1380 y(Some)g(\014le)h(systems)g(p)q(ermit)g(y) +o(et)g(other)h(actions)g(to)f(b)q(e)h(tak)o(en)f(when)h(a)f(\014le)g +(already)-33 1351 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1432 a(exists;)f(therefore,)g(some)f(implem)o(en)o +(tations)e(pro)o(vide)i(implem)o(en)o(tation-sp)q(eci\014c)f +Fs(:if-)0 1484 y(exist)i Fw(options.)-33 1495 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1543 V 0 1604 a Fm(Implemen)o(tation)j(note:)24 +b FA(The)16 b(v)n(arious)h(\014le)g(systems)f(in)h(existence)h(to)q(da) +o(y)e(ha)o(v)o(e)h(widely)0 1650 y(di\013ering)12 b(capabiliti)q(es.)18 +b(A)9 b(giv)o(en)i(implemen)o(tation)i(ma)o(y)c(not)h(b)q(e)g(able)g +(to)g(supp)q(ort)g(all)h(of)e(these)0 1695 y(options)16 +b(in)g(exactly)g(the)e(manner)i(stated.)22 b(An)14 b(implemen)o(tation) +k(is)d(required)i(to)d(recognize)0 1741 y(all)f(of)f(these)g(option)h +(k)o(eyw)o(ords)g(and)f(to)g(try)g(to)g(do)g(something)h(\\reasonable") +h(in)f(the)f(con)o(text)0 1787 y(of)18 b(the)g(host)g(op)q(erating)i +(system.)32 b(Implemen)o(tors)19 b(are)f(encouraged)i(to)e(appro)o +(ximate)h(the)0 1832 y(seman)o(tics)14 b(sp)q(eci\014ed)h(here)f(as)f +(closely)i(as)e(p)q(ossible.)42 1878 y(As)f(an)i(example,)g(supp)q(ose) +h(that)e(a)h(\014le)g(system)f(do)q(es)h(not)f(supp)q(ort)i(distinct)g +(\014le)f(v)o(ersions)0 1924 y(and)e(do)q(es)f(not)h(distinguish)i(the) +d(notions)i(of)e(deletion)i(and)f(expunging)h(\(in)f(some)f(\014le)h +(systems)0 1970 y(\014le)19 b(deletion)g(is)g(rev)o(ersible)h(un)o(til) +f(an)f(expunge)h(op)q(eration)h(is)e(p)q(erformed\).)32 +b(Then)18 b Fj(:new-)0 2015 y(version)11 b FA(migh)o(t)k(b)q(e)g +(treated)g(the)f(same)g(as)h Fj(:rename)c FA(or)j Fj(:supersede)o +FA(,)e(and)i Fj(:rename-and)o(-)0 2061 y(delete)c FA(migh)o(t)k(b)q(e)g +(treated)f(the)g(same)g(as)g Fj(:supersede)p FA(.)42 +2107 y(If)8 b(it)i(is)g(utterly)g(imp)q(ossible)j(for)c(an)g(implemen)o +(tation)k(to)c(handle)i(some)f(option)g(in)g(a)g(manner)0 +2153 y(close)j(to)f(what)g(is)h(sp)q(eci\014ed)h(here,)e(it)h(ma)o(y)f +(simply)i(signal)g(an)f(error.)k(The)12 b(op)q(ening)i(of)e(\014les)h +(is)0 2198 y(an)e(area)g(where)g(complete)h(p)q(ortabilit)o(y)i(is)d +(to)q(o)g(m)o(uc)o(h)g(to)g(hop)q(e)h(for;)f(the)f(in)o(ten)o(t)i(here) +f(is)h(simply)0 2244 y(to)k(mak)o(e)g(things)h(as)f(p)q(ortable)h(as)f +(p)q(ossible)j(b)o(y)d(pro)o(viding)i(sp)q(eci\014c)g(names)e(for)g(a)f +(range)i(of)0 2290 y(commonly)e(supp)q(ortable)g(options.)p +0 2329 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 705 729 +705 728 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(705)0 295 y Fs(:if-does-not-exis)o(t)0 358 +y Fw(This)15 b(argumen)o(t)f(sp)q(eci\014es)i(the)g(action)f(to)f(b)q +(e)i(tak)o(en)f(if)f(a)h(\014le)g(of)f(the)h(sp)q(eci\014ed)i(name)0 +410 y(do)q(es)e(not)e(already)h(exist.)42 478 y Fs(:error)42 +541 y Fw(Signals)f(an)g(error.)20 b(This)14 b(is)g(the)h(default)e(if)h +(the)g Fs(:direction)e Fw(is)i Fs(:input)p Fw(,)f(or)h(if)f(the)42 +593 y Fs(:if-exists)e Fw(argumen)o(t)i(is)h Fs(:overwrite)e +Fw(or)h Fs(:append)p Fw(.)42 695 y Fs(:create)42 758 +y Fw(Creates)f(an)f(empt)o(y)g(\014le)g(with)g(the)h(sp)q(eci\014ed)h +(name)d(and)h(then)i(pro)q(ceeds)g(as)e(if)g(it)g(had)42 +810 y(already)16 b(existed)i(\(but)f(do)f(not)h(p)q(erform)f(an)o(y)g +(pro)q(cessing)i(directed)h(b)o(y)d(the)i Fs(:if-)42 +862 y(exists)9 b Fw(argumen)o(t\).)16 b(This)11 b(is)g(the)g(default)g +(if)f(the)h Fs(:direction)e Fw(is)i Fs(:output)e Fw(or)i +Fs(:io)p Fw(,)42 914 y(and)i(the)i Fs(:if-exists)c Fw(argumen)o(t)i(is) +h(an)o(ything)f(but)h Fs(:overwrite)e Fw(or)i Fs(:append)p +Fw(.)42 1015 y Fs(nil)42 1078 y Fw(Do)q(es)h(not)g(create)h(a)e(\014le) +h(or)g(ev)o(en)h(a)e(stream,)g(but)h(instead)g(simply)e(returns)k +Fs(nil)d Fw(to)42 1130 y(indicate)f(failure.)18 b(This)13 +b(is)h(the)h(default)e(if)g(the)i Fs(:direction)c Fw(is)j +Fs(:probe)p Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 706 730 +706 729 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(706)77 b(COMMON)13 +b(LISP)42 295 y Fw(X3J13)e(v)o(oted)h(in)f(June)i(1989)e +Ft(h)p Fw(122)p Ft(i)g Fw(to)h(add)f(to)h(the)h(function)e +Fs(open)g Fw(a)g(new)i(k)o(eyw)o(ord)-33 266 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(argumen)o(t)g Fs(:external-format)o +Fw(.)0 449 y Fs(:external-format)0 512 y Fw(This)d(argumen)o(t)e(sp)q +(eci\014es)j(an)f(implemen)o(tatio)o(n-recognized)e(sc)o(heme)i(for)f +(represen)o(ting)0 564 y(c)o(haracters)21 b(in)e(\014les.)36 +b(The)20 b(default)f(v)n(alue)g(is)h Fs(:default)e Fw(and)h(is)g +(implemen)o(tation-)0 616 y(de\014ned)h(but)g(m)o(ust)e(supp)q(ort)i +(the)g(base)g(c)o(haracters.)35 b(An)20 b(error)g(is)f(signaled)g(if)f +(the)0 668 y(implemen)o(tatio)o(n)11 b(do)q(es)k(recognize)g(the)f(sp)q +(eci\014ed)i(format.)42 720 y(This)i(argumen)o(t)g(ma)o(y)e(b)q(e)k(sp) +q(eci\014ed)g(if)e(the)h Fs(:direction)d Fw(argumen)o(t)i(is)g +Fs(:input)p Fw(,)0 772 y Fs(:output)p Fw(,)9 b(or)h Fs(:io)p +Fw(.)16 b(It)10 b(is)g(an)g(error)h(to)f(write)g(a)g(c)o(haracter)h(to) +f(the)h(resulting)f(stream)g(that)0 824 y(cannot)k(b)q(e)h(represen)o +(ted)i(b)o(y)d(the)h(sp)q(eci\014ed)h(\014le)e(format.)j(\(Ho)o(w)o(ev) +o(er,)e(the)g Fs(#)1199 820 y(-)1199 828 y(-)1220 824 +y(\\Newline)0 876 y Fw(c)o(haracter)k(cannot)e(pro)q(duce)i(suc)o(h)f +(an)f(error;)j(implemen)o(tations)14 b(m)o(ust)j(pro)o(vide)g(ap-)0 +928 y(propriate)d(line)g(division)e(b)q(eha)o(vior)i(for)f(all)g(c)o +(haracter)i(streams.\))42 980 y(See)f Fs(stream-external-for)o(mat)p +Fw(.)-33 991 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1082 a(When)e(the)h(caller)f(is)g(\014nished)h(with)f +(the)h(stream,)f(it)g(should)g(close)h(the)g(\014le)f(b)o(y)g(using)0 +1134 y(the)j Fs(close)f Fw(function.)20 b(The)15 b Fs(with-open-file)c +Fw(form)i(do)q(es)j(this)e(automatically)m(,)d(and)0 +1186 y(so)i(is)g(preferred)i(for)e(most)f(purp)q(oses.)19 +b Fs(open)13 b Fw(should)f(b)q(e)i(used)g(only)f(when)g(the)h(con)o +(trol)0 1238 y(structure)f(of)e(the)g(program)f(necessitates)j(op)q +(ening)e(and)g(closing)f(of)h(a)g(\014le)g(in)f(some)g(w)o(a)o(y)0 +1290 y(more)16 b(complex)g(than)h(pro)o(vided)g(b)o(y)g +Fs(with-open-file)p Fw(.)25 b(It)17 b(is)g(suggested)i(that)e(an)o(y)0 +1342 y(program)11 b(that)h(uses)i Fs(open)d Fw(directly)i(should)f(use) +h(the)g(sp)q(ecial)g(form)e Fs(unwind-protect)0 1394 +y Fw(to)j(close)g(the)h(\014le)f(if)f(an)g(abnormal)f(exit)i(o)q +(ccurs.)1255 1525 y([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(with-open-file)32 +b(\()p Fv(str)n(e)n(am)14 b(\014lename)22 b Ft(f)p Fv(options)p +Ft(g)839 1510 y Fl(\003)865 1525 y Fs(\))333 1577 y Ft(f)p +Fv(de)n(clar)n(ation)p Ft(g)572 1562 y Fl(\003)619 1577 +y Ft(f)7 b Fv(form)p Ft(g)754 1562 y Fl(\003)0 1654 y +Fs(with-open-file)15 b Fw(ev)n(aluates)j(the)g Fv(forms)g +Fw(of)f(the)h(b)q(o)q(dy)g(\(an)g(implicit)d Fs(progn)p +Fw(\))i(with)0 1706 y(the)d(v)n(ariable)f Fv(str)n(e)n(am)g +Fw(b)q(ound)h(to)f(a)h(stream)f(that)h(reads)g(or)g(writes)g(the)h +(\014le)e(named)g(b)o(y)0 1758 y(the)19 b(v)n(alue)e(of)g +Fv(\014lename)p Fw(.)31 b(The)19 b Fv(options)f Fw(are)h(ev)n(aluated)e +(and)h(are)h(used)g(as)f(k)o(eyw)o(ord)0 1810 y(argumen)o(ts)13 +b(to)h(the)g(function)g Fs(open)p Fw(.)42 1862 y(When)c(con)o(trol)f +(lea)o(v)o(es)h(the)g(b)q(o)q(dy)m(,)g(either)h(normally)c(or)j +(abnormally)d(\(suc)o(h)j(as)g(b)o(y)g(use)0 1913 y(of)g +Fs(throw)p Fw(\),)g(the)h(\014le)f(is)h(automatically)c(closed.)17 +b(If)11 b(a)f(new)h(output)f(\014le)h(is)f(b)q(eing)h(written,)0 +1965 y(and)16 b(con)o(trol)f(lea)o(v)o(es)h(abnormally)m(,)d(the)k +(\014le)f(is)f(ab)q(orted)i(and)f(the)g(\014le)g(system)g(is)f(left,)0 +2017 y(so)g(far)f(as)g(p)q(ossible,)h(as)g(if)e(the)i(\014le)g(had)f +(nev)o(er)i(b)q(een)f(op)q(ened.)21 b(Because)c Fs(with-open-)0 +2069 y(file)f Fw(alw)o(a)o(ys)f(closes)j(the)f(\014le,)f(ev)o(en)i +(when)f(an)f(error)h(exit)g(is)f(tak)o(en,)h(it)f(is)h(preferred)0 +2121 y(o)o(v)o(er)d Fs(open)f Fw(for)g(most)g(applications.)42 +2173 y Fv(\014lename)d Fw(is)g(the)h(name)e(of)g(the)i(\014le)f(to)g(b) +q(e)g(op)q(ened;)i(it)e(ma)o(y)e(b)q(e)i(a)g(string,)h(a)e(pathname,)0 +2225 y(or)14 b(a)f(stream.)42 2277 y(X3J13)g(v)o(oted)g(in)g(Marc)o(h)h +(1988)e Ft(h)p Fw(132)p Ft(i)h Fw(to)g(sp)q(ecify)h(exactly)f(whic)o(h) +g(streams)h(ma)o(y)d(b)q(e)-33 2249 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a(used)k(as)f(pathnames.)j(See)e(section)f(23.1.6.) +-33 2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 707 731 +707 730 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(707)42 295 y Fw(X3J13)17 b(v)o(oted)h(in)g(June)g(1989)f +Ft(h)p Fw(137)p Ft(i)h Fw(to)f(clarify)g(that)h Fs(with-open-file)d +Fw(accepts)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(only)f(non-wild)f(pathnames;)h(an)h(error)g(is)g +(signaled)f(if)g Fs(wild-pathname-p)d Fw(w)o(ould)j(b)q(e)0 +399 y(true)h(of)e(the)i Fv(\014lename)f Fw(argumen)o(t.)-33 +410 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 451 a(X3J13)9 b(v)o(oted)h(in)f(June)h(1989)f +Ft(h)p Fw(130)p Ft(i)g Fw(to)h(require)g Fs(with-open-file)d +Fw(to)j(accept)g(logical)-33 423 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 503 a(pathnames)j(\(see)i(section)g(23.1.5\).)-33 +515 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 556 a(F)m(or)e(example:)0 649 y Fs(\(with-open-file)18 +b(\(ifile)i(name)360 701 y(:direction)f(:input\))42 753 +y(\(with-open-file)f(\(ofile)i(\(merge-pathname-def)o(aults)e(ifile) +1059 804 y(nil)1059 856 y("out"\))529 908 y(:direction)h(:output)529 +960 y(:if-exists)g(:supersede\))85 1012 y(\(transduce-file)f(ifile)i +(ofile\)\)\))42 1104 y Fw(X3J13)15 b(v)o(oted)g(in)g(June)h(1989)e +Ft(h)p Fw(184)p Ft(i)h Fw(to)g(sp)q(ecify)h(that)g(the)g(v)n(ariable)e +Fv(str)n(e)n(am)h Fw(is)g(not)-33 1076 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1156 a(alw)o(a)o(ys)9 b(b)q(ound)h(to)g(a)f(stream;)i +(rather)g(it)e(is)h(b)q(ound)g(to)g(whatev)o(er)h(w)o(ould)e(b)q(e)h +(returned)i(b)o(y)0 1208 y(a)f(call)g(to)h Fs(open)p +Fw(.)k(F)m(or)11 b(example,)f(if)h(the)h(options)g(include)f +Fs(:if-does-not-exist)18 b(nil)p Fw(,)0 1260 y Fv(str)n(e)n(am)12 +b Fw(will)f(b)q(e)i(b)q(ound)g(to)f Fs(nil)g Fw(if)g(the)h(\014le)g(do) +q(es)g(not)f(exist.)18 b(In)13 b(this)g(case)g(the)g(v)n(alue)f(of)0 +1312 y Fv(str)n(e)n(am)h Fw(should)h(b)q(e)g(tested)i(within)d(the)h(b) +q(o)q(dy)g(of)f(the)i Fs(with-open-file)c Fw(form)h(b)q(efore)0 +1364 y(it)i(is)f(used)i(as)f(a)g(stream.)j(F)m(or)d(example:)0 +1457 y Fs(\(with-open-file)k(\(ifile)i(name)360 1508 +y(:direction)f(:input)360 1560 y(:if-does-not-exis)o(t)f(nil\))42 +1612 y(;;)j(Process)f(the)g(file)h(only)f(if)h(it)g(actually)e(exists.) +42 1664 y(\(when)h(\(streamp)g(name\))85 1716 y(\(compile-cobol-p)o +(rogra)o(m)e(ifile\)\)\))-33 1732 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1776 V 0 1837 a Fm(Implemen)o(tation)g(note:)26 +b FA(While)20 b Fj(with-open)o(-fi)o(le)14 b FA(tries)k(to)f +(automatically)k(close)d(the)0 1882 y(stream)11 b(on)g(exit)g(from)f +(the)h(construct,)h(for)e(robustness)i(it)f(is)g(helpful)i(if)e(the)f +(garbage)i(collector)0 1928 y(can)h(detect)h(discarded)h(streams)e(and) +h(automatically)i(close)e(them.)p 0 1971 V 0 2130 a Fo(23.3.)20 +b(Renaming,)13 b(Deleting,)g(and)i(Other)g(File)e(Op)r(erations)0 +2225 y Fw(These)j(functions)f(pro)o(vide)g(a)f(standard)h(in)o(terface) +h(to)e(op)q(erations)i(pro)o(vided)e(in)h(some)0 2277 +y(form)c(b)o(y)i(most)f(\014le)h(systems.)18 b(It)13 +b(ma)o(y)f(b)q(e)h(that)g(some)g(implem)o(en)o(tations)e(of)h(Common)0 +2329 y(Lisp)i(cannot)g(supp)q(ort)h(them)e(all)f(completely)m(.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 708 732 +708 731 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(708)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(rename-file)19 b Fv(\014le)24 b(new)p Fs(-)p Fv(name)0 +372 y Fw(The)15 b(sp)q(eci\014ed)h Fv(\014le)e Fw(is)g(renamed)g(to)h +Fv(new-name)f Fw(\(whic)o(h)h(m)o(ust)e(b)q(e)i(a)f(\014le)h(name\).)j +(The)0 423 y Fv(\014le)10 b Fw(ma)o(y)d(b)q(e)k(a)e(string,)h(a)f +(pathname,)g(or)h(a)f(stream.)16 b(If)10 b(it)f(is)g(an)h(op)q(en)g +(stream)f(asso)q(ciated)0 475 y(with)15 b(a)g(\014le,)h(then)g(the)g +(stream)f(itself)g(and)g(the)h(\014le)g(asso)q(ciated)g(with)f(it)g +(are)h(a\013ected)0 527 y(\(if)d(the)i(\014le)f(system)f(p)q(ermits\).) +42 579 y(X3J13)g(v)o(oted)g(in)g(Marc)o(h)h(1988)e Ft(h)p +Fw(132)p Ft(i)h Fw(to)g(sp)q(ecify)h(exactly)f(whic)o(h)g(streams)h(ma) +o(y)d(b)q(e)-33 551 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 631 a(used)k(as)f(pathnames.)j(See)e(section)f(23.1.6.) +-33 643 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 683 a Fs(rename-file)20 b Fw(returns)k(three)g(v)n +(alues)f(if)f(successful.)46 b(The)23 b(\014rst)g(v)n(alue)g(is)f(the)0 +735 y Fv(new-name)f Fw(with)f(an)o(y)f(missing)g(comp)q(onen)o(ts)h +(\014lled)f(in)h(b)o(y)g(p)q(erforming)f(a)h Fs(merge-)0 +787 y(pathnames)g Fw(op)q(eration)i(using)f Fv(\014le)h +Fw(as)g(the)g(defaults.)42 b(The)22 b(second)h(v)n(alue)e(is)h(the)0 +839 y Fs(truename)13 b Fw(of)g(the)i(\014le)g(b)q(efore)g(it)f(w)o(as)g +(renamed.)19 b(The)14 b(third)h(v)n(alue)e(is)i(the)f +Fs(truename)0 890 y Fw(of)f(the)i(\014le)f(after)g(it)f(w)o(as)h +(renamed.)42 942 y(If)f(the)i(renaming)d(op)q(eration)i(is)f(not)h +(successful,)h(an)f(error)h(is)f(signaled.)42 994 y(It)19 +b(is)g(an)h(error)g(to)f(sp)q(ecify)h(a)g(\014le)f(name)f(con)o +(taining)h(a)g Fs(:wild)f Fw(comp)q(onen)o(t,)i(for)-38 +969 y Fk(.)-38 982 y(.)-38 995 y(.)-38 1008 y(.)-38 1021 +y(.)-38 1034 y(.)-38 1047 y(.)-38 1060 y(.)-38 1073 y(.)-38 +1086 y(.)-38 1099 y(.)-38 1112 y(.)-38 1125 y(.)-38 1138 +y(.)-38 1151 y(.)-38 1164 y(.)-38 1177 y(.)-38 1190 y(.)-38 +1203 y(.)-38 1216 y(.)-38 1229 y(.)-38 1242 y(.)-38 1255 +y(.)-38 1268 y(.)-38 1280 y(.)-38 1293 y(.)-38 1306 y(.)-38 +1319 y(.)-38 1332 y(.)-38 1345 y(.)-38 1358 y(.)-38 1371 +y(.)-38 1384 y(.)-38 1397 y(.)-38 1410 y(.)-38 1423 y(.)-38 +1436 y(.)-38 1449 y(.)-38 1462 y(.)-38 1475 y(.)-38 1488 +y(.)-38 1501 y(.)-38 1514 y(.)-38 1527 y(.)-38 1540 y(.)-38 +1553 y(.)-38 1566 y(.)-38 1579 y(.)-38 1592 y(.)-38 1605 +y(.)-38 1618 y(.)-38 1631 y(.)-38 1644 y(.)-38 1657 y(.)-38 +1670 y(.)-38 1683 y(.)-38 1696 y(.)-38 1709 y(.)-38 1722 +y(.)-38 1735 y(.)-38 1747 y(.)-38 1760 y(.)-38 1773 y(.)-38 +1786 y(.)-38 1799 y(.)-38 1812 y(.)-38 1825 y(.)-38 1838 +y(.)-38 1851 y(.)-38 1864 y(.)-38 1877 y(.)-38 1890 y(.)-38 +1903 y(.)-38 1916 y(.)-38 1929 y(.)-38 1942 y(.)-38 1955 +y(.)-38 1968 y(.)-38 1981 y(.)-38 1994 y(.)-38 2007 y(.)-38 +2020 y(.)-38 2033 y(.)-38 2046 y(.)-38 2059 y(.)-38 2072 +y(.)-38 2085 y(.)-38 2098 y(.)-38 2111 y(.)-38 2124 y(.)-38 +2137 y(.)-38 2150 y(.)-38 2163 y(.)-38 2176 y(.)-38 2189 +y(.)-38 2202 y(.)-38 2214 y(.)-38 2227 y(.)-38 2240 y(.)-38 +2253 y(.)-38 2266 y(.)-38 2279 y(.)-38 2292 y(.)-38 2305 +y(.)-38 2318 y(.)-38 2331 y(.)-38 2344 y(.)-38 2357 y(.)-38 +2370 y(.)-38 2383 y(.)-38 2396 y(.)-38 2409 y(.)-38 2422 +y(.)-38 2435 y(.)-38 2448 y(.)-38 2461 y(.)-38 2474 y(.)-38 +2487 y(.)-38 2500 y(.)-38 2513 y(.)-38 2526 y(.)-38 2539 +y(.)-38 2552 y(.)-38 2565 y(.)-38 2578 y(.)-38 2591 y(.)-38 +2604 y(.)-38 2617 y(.)-38 2630 y(.)-38 2643 y(.)-38 2656 +y(.)-38 2669 y(.)-38 2681 y(.)-38 2694 y(.)-38 2707 y(.)-38 +2720 y(.)-38 2733 y(.)-38 2746 y(.)-38 2759 y(.)-38 2772 +y(.)-38 2785 y(.)-38 2798 y(.)-38 2811 y(.)-38 2824 y(.)-38 +2837 y(.)-38 2850 y(.)-38 2863 y(.)-38 2876 y(.)-38 2889 +y(.)-38 2902 y(.)-38 2915 y(.)-38 2928 y(.)-38 2941 y(.)-38 +2954 y(.)-38 2967 y(.)-38 2980 y(.)-38 2993 y(.)-38 3006 +y(.)-38 3019 y(.)-38 3032 y(.)-38 3045 y(.)-38 3058 y(.)-38 +3071 y(.)-38 3084 y(.)-38 3097 y(.)-38 3110 y(.)-38 3123 +y(.)-38 3136 y(.)-38 3148 y(.)-38 3161 y(.)-38 3174 y(.)-38 +3187 y(.)-38 3200 y(.)-38 3213 y(.)-38 3226 y(.)-38 3239 +y(.)-38 3252 y(.)-38 3265 y(.)-38 3278 y(.)-38 3291 y(.)-38 +3304 y(.)-38 3317 y(.)-38 3330 y(.)-38 3343 y(.)-38 3356 +y(.)-38 3369 y(.)-38 3382 y(.)-38 3395 y(.)-38 3408 y(.)-38 +3421 y(.)-38 3434 y(.)-38 3447 y(.)-38 3460 y(.)-38 3473 +y(.)-38 3486 y(.)-38 3499 y(.)-38 3512 y(.)-38 3525 y(.)-38 +3538 y(.)-38 3551 y(.)0 1046 y Fv(\014le)14 b Fw(to)h(con)o(tain)e(a)h +Fs(nil)g Fw(comp)q(onen)o(t)g(where)h(the)g(\014le)f(system)h(do)q(es)g +(not)f(p)q(ermit)f(a)h Fs(nil)0 1098 y Fw(comp)q(onen)o(t,)h(or)h(for)g +(the)g(result)h(of)e(defaulting)g(missing)f(comp)q(onen)o(ts)i(of)f +Fv(new-name)0 1150 y Fw(from)c Fv(\014le)i Fw(to)g(con)o(tain)g(a)f +Fs(nil)h Fw(comp)q(onen)o(t)f(where)i(the)g(\014le)f(system)f(do)q(es)i +(not)f(p)q(ermit)f(a)0 1202 y Fs(nil)h Fw(comp)q(onen)o(t.)-33 +1213 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1254 a(X3J13)f(v)o(oted)h(in)f(June)i(1989)e +Ft(h)p Fw(137)p Ft(i)g Fw(to)h(sp)q(ecify)g(that)g(supplying)f(a)h +(wild)f(pathname)-33 1225 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1306 a(as)18 b(the)h Fv(\014le)f Fw(argumen)o(t)f(to)h +Fs(rename-file)d Fw(has)k(implem)o(en)o(tation-dep)q(enden)o(t)e +(conse-)0 1357 y(quences;)i Fs(rename-file)14 b Fw(migh)o(t)h(signal)g +(an)i(error,)g(for)g(example,)e(or)i(migh)o(t)d(rename)0 +1409 y(all)f(\014les)h(that)g(matc)o(h)f(the)h(wild)f(pathname.)-33 +1421 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1461 a(X3J13)i(v)o(oted)h(in)f(June)h(1989)f +Ft(h)p Fw(130)p Ft(i)g Fw(to)g(require)i Fs(rename-file)c +Fw(to)j(accept)g(logical)-33 1433 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1513 a(pathnames)d(\(see)i(section)g(23.1.5\).)-33 +1525 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1573 V 0 1633 a Fm(Compatibilit)o(y)c(note:)17 +b FA(This)c(corresp)q(onds)g(to)f(the)h(function)g(called)h +Fj(renamef)9 b FA(in)k(MacLisp)0 1679 y(and)j(Lisp)g(Mac)o(hine)h +(Lisp.)25 b(The)16 b(name)f Fj(renamef)e FA(is)j(not)f(used)h(in)h +(Common)e(Lisp)h(b)q(ecause)0 1724 y(the)c(con)o(v)o(en)o(tion)h(that)f +(a)g(trailing)i Fj(f)d FA(means)h(\\\014le")h(con\015icts)h(with)e(the) +g(use)g(of)f(a)h(trailing)i Fj(f)d FA(for)0 1770 y(forms)i(related)h +(to)f Fj(setf)p FA(.)p 0 1795 V 1209 1889 a Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(delete-file)19 b Fv(\014le)0 1966 y Fw(The)11 +b(sp)q(eci\014ed)h Fv(\014le)e Fw(is)h(deleted.)18 b(The)11 +b Fv(\014le)f Fw(ma)o(y)e(b)q(e)k(a)e(string,)g(a)h(pathname,)e(or)i(a) +f(stream.)0 2017 y(If)15 b(it)h(is)f(an)h(op)q(en)g(stream)g(asso)q +(ciated)g(with)g(a)f(\014le,)h(then)g(the)h(stream)e(itself)g(and)h +(the)0 2069 y(\014le)f(asso)q(ciated)i(with)e(it)g(are)h(a\013ected)h +(\(if)e(the)h(\014le)f(system)g(p)q(ermits\),)g(in)g(whic)o(h)h(case)0 +2121 y(the)g(stream)f(ma)o(y)e(or)i(ma)o(y)e(not)i(b)q(e)h(closed)g +(immedia)o(tely)m(,)c(and)j(the)h(deletion)f(ma)o(y)e(b)q(e)0 +2173 y(immediate)f(or)k(dela)o(y)o(ed)f(un)o(til)f(the)i(stream)f(is)g +(explicitly)f(closed,)i(dep)q(ending)g(on)f(the)0 2225 +y(requiremen)o(ts)f(of)f(the)i(\014le)f(system.)42 2277 +y(X3J13)f(v)o(oted)g(in)g(Marc)o(h)h(1988)e Ft(h)p Fw(132)p +Ft(i)h Fw(to)g(sp)q(ecify)h(exactly)f(whic)o(h)g(streams)h(ma)o(y)d(b)q +(e)-33 2249 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a(used)k(as)f(pathnames.)j(See)e(section)f(23.1.6.) +-33 2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 709 733 +709 732 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(709)42 295 y Fs(delete-file)7 b Fw(returns)k(a)f(non-)p +Fs(nil)f Fw(v)n(alue)g(if)g(successful.)19 b(It)10 b(is)f(left)h(to)g +(the)g(discretion)0 347 y(of)19 b(the)i(implemen)o(tation)c(whether)k +(an)f(attempt)f(to)h(delete)h(a)f(non-existen)o(t)h(\014le)f(is)0 +399 y(considered)g(to)f(b)q(e)g(successful.)34 b(If)19 +b(the)g(deleting)g(op)q(eration)f(is)h(not)g(successful,)i(an)0 +450 y(error)15 b(is)f(signaled.)42 502 y(It)e(is)f(an)h(error)h(to)f +(sp)q(ecify)g(a)g(\014le)g(name)f(that)h(con)o(tains)g(a)f +Fs(:wild)g Fw(comp)q(onen)o(t)h(or)g(one)-38 477 y Fk(.)-38 +490 y(.)-38 503 y(.)-38 516 y(.)-38 529 y(.)-38 542 y(.)-38 +555 y(.)-38 568 y(.)-38 581 y(.)-38 594 y(.)-38 607 y(.)-38 +620 y(.)-38 633 y(.)-38 646 y(.)-38 659 y(.)-38 672 y(.)-38 +685 y(.)-38 698 y(.)-38 711 y(.)-38 724 y(.)-38 737 y(.)-38 +750 y(.)-38 763 y(.)-38 776 y(.)-38 789 y(.)-38 802 y(.)-38 +815 y(.)-38 828 y(.)-38 841 y(.)-38 854 y(.)-38 867 y(.)-38 +880 y(.)-38 893 y(.)-38 906 y(.)-38 919 y(.)-38 931 y(.)-38 +944 y(.)-38 957 y(.)-38 970 y(.)-38 983 y(.)-38 996 y(.)-38 +1009 y(.)-38 1022 y(.)-38 1035 y(.)-38 1048 y(.)-38 1061 +y(.)-38 1074 y(.)-38 1087 y(.)-38 1100 y(.)-38 1113 y(.)-38 +1126 y(.)-38 1139 y(.)-38 1152 y(.)-38 1165 y(.)-38 1178 +y(.)-38 1191 y(.)-38 1204 y(.)-38 1217 y(.)-38 1230 y(.)-38 +1243 y(.)-38 1256 y(.)-38 1269 y(.)-38 1282 y(.)-38 1295 +y(.)-38 1308 y(.)-38 1321 y(.)-38 1334 y(.)-38 1347 y(.)-38 +1360 y(.)-38 1373 y(.)-38 1386 y(.)-38 1398 y(.)-38 1411 +y(.)-38 1424 y(.)-38 1437 y(.)-38 1450 y(.)-38 1463 y(.)-38 +1476 y(.)-38 1489 y(.)-38 1502 y(.)-38 1515 y(.)-38 1528 +y(.)-38 1541 y(.)-38 1554 y(.)-38 1567 y(.)-38 1580 y(.)-38 +1593 y(.)-38 1606 y(.)-38 1619 y(.)-38 1632 y(.)-38 1645 +y(.)-38 1658 y(.)-38 1671 y(.)-38 1684 y(.)-38 1697 y(.)-38 +1710 y(.)-38 1723 y(.)-38 1736 y(.)-38 1749 y(.)-38 1762 +y(.)-38 1775 y(.)-38 1788 y(.)-38 1801 y(.)-38 1814 y(.)-38 +1827 y(.)-38 1840 y(.)-38 1853 y(.)-38 1865 y(.)-38 1878 +y(.)-38 1891 y(.)-38 1904 y(.)-38 1917 y(.)-38 1930 y(.)-38 +1943 y(.)-38 1956 y(.)-38 1969 y(.)-38 1982 y(.)-38 1995 +y(.)-38 2008 y(.)-38 2021 y(.)-38 2034 y(.)-38 2047 y(.)-38 +2060 y(.)-38 2073 y(.)-38 2086 y(.)-38 2099 y(.)-38 2112 +y(.)-38 2125 y(.)-38 2138 y(.)-38 2151 y(.)-38 2164 y(.)-38 +2177 y(.)-38 2190 y(.)-38 2203 y(.)-38 2216 y(.)-38 2229 +y(.)-38 2242 y(.)-38 2255 y(.)-38 2268 y(.)-38 2281 y(.)-38 +2294 y(.)-38 2307 y(.)-38 2320 y(.)-38 2332 y(.)-38 2345 +y(.)-38 2358 y(.)-38 2371 y(.)-38 2384 y(.)-38 2397 y(.)-38 +2410 y(.)-38 2423 y(.)-38 2436 y(.)-38 2449 y(.)-38 2462 +y(.)-38 2475 y(.)-38 2488 y(.)-38 2501 y(.)-38 2514 y(.)-38 +2527 y(.)-38 2540 y(.)-38 2553 y(.)-38 2566 y(.)-38 2579 +y(.)-38 2592 y(.)-38 2605 y(.)-38 2618 y(.)-38 2631 y(.)-38 +2644 y(.)-38 2657 y(.)-38 2670 y(.)-38 2683 y(.)-38 2696 +y(.)-38 2709 y(.)-38 2722 y(.)-38 2735 y(.)-38 2748 y(.)-38 +2761 y(.)-38 2774 y(.)-38 2787 y(.)-38 2799 y(.)-38 2812 +y(.)-38 2825 y(.)-38 2838 y(.)-38 2851 y(.)-38 2864 y(.)-38 +2877 y(.)-38 2890 y(.)-38 2903 y(.)-38 2916 y(.)-38 2929 +y(.)-38 2942 y(.)-38 2955 y(.)-38 2968 y(.)-38 2981 y(.)-38 +2994 y(.)-38 3007 y(.)-38 3020 y(.)-38 3033 y(.)-38 3046 +y(.)-38 3059 y(.)0 554 y Fw(that)j(con)o(tains)g(a)g +Fs(nil)g Fw(comp)q(onen)o(t)f(where)j(the)f(\014le)f(system)g(do)q(es)h +(not)f(p)q(ermit)f(a)h Fs(nil)0 606 y Fw(comp)q(onen)o(t.)-33 +618 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 658 a(X3J13)e(v)o(oted)h(in)f(June)i(1989)d +Ft(h)p Fw(137)p Ft(i)i Fw(to)f(clarify)g(that)h(supplying)f(a)g(wild)g +(pathname)-33 630 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 710 a(as)18 b(the)h Fv(\014le)f Fw(argumen)o(t)f(to)h +Fs(delete-file)d Fw(has)k(implem)o(en)o(tation-dep)q(enden)o(t)e +(conse-)0 762 y(quences;)e Fs(delete-file)c Fw(migh)o(t)h(signal)g(an)i +(error,)g(for)f(example,)f(or)i(migh)o(t)d(delete)k(all)0 +814 y(\014les)f(that)g(matc)o(h)f(the)h(wild)f(pathname.)-33 +826 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 866 a(X3J13)i(v)o(oted)h(in)f(June)h(1989)f +Ft(h)p Fw(130)p Ft(i)g Fw(to)g(require)i Fs(delete-file)c +Fw(to)j(accept)g(logical)-33 838 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 918 a(pathnames)d(\(see)i(section)g(23.1.5\).)-33 +930 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 978 V 0 1038 a Fm(Compatibilit)o(y)c(note:)17 +b FA(This)c(corresp)q(onds)g(to)f(the)h(function)g(called)h +Fj(deletef)9 b FA(in)k(MacLisp)0 1084 y(and)h(Lisp)g(Mac)o(hine)g +(Lisp.)p 0 1120 V 1209 1235 a Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(probe-file)19 b Fv(\014le)0 1312 y Fw(This)d(predicate) +h(is)f(false)g(if)f(there)j(is)e(no)g(\014le)g(named)f +Fv(\014le)p Fw(,)h(and)g(otherwise)h(returns)h(a)0 1364 +y(pathname)c(that)h(is)g(the)h(true)g(name)e(of)g(the)i(\014le)f +(\(whic)o(h)g(ma)o(y)f(b)q(e)h(di\013eren)o(t)h(from)e +Fv(\014le)0 1416 y Fw(b)q(ecause)19 b(of)d(\014le)h(links,)f(v)o +(ersion)h(n)o(um)o(b)q(ers,)g(or)g(other)h(artifacts)f(of)f(the)h +(\014le)g(system\).)0 1468 y(Note)12 b(that)h(if)e(the)h +Fv(\014le)g Fw(is)g(an)g(op)q(en)g(stream)g(asso)q(ciated)h(with)f(a)f +(\014le,)h(then)h Fs(probe-file)0 1520 y Fw(cannot)i(return)h +Fs(nil)d Fw(but)i(will)e(pro)q(duce)j(the)f(true)h(name)d(of)h(the)h +(asso)q(ciated)h(\014le.)k(See)0 1572 y Fs(truename)12 +b Fw(and)i(the)g Fs(:probe)f Fw(v)n(alue)g(for)h(the)g +Fs(:direction)e Fw(argumen)o(t)h(to)h Fs(open)p Fw(.)p +0 1632 V 0 1692 a Fm(Compatibilit)o(y)f(note:)19 b FA(This)c(corresp)q +(onds)h(to)e(the)g(function)h(called)h Fj(probef)11 b +FA(in)k(MacLisp)0 1738 y(and)f(Lisp)g(Mac)o(hine)g(Lisp.)p +0 1774 V 42 1861 a Fw(X3J13)f(v)o(oted)g(in)g(Marc)o(h)h(1988)e +Ft(h)p Fw(132)p Ft(i)h Fw(to)g(sp)q(ecify)h(exactly)f(whic)o(h)g +(streams)h(ma)o(y)d(b)q(e)-33 1833 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1913 a(used)k(as)f(pathnames.)j(See)e(section)f(23.1.6.) +-33 1925 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1965 a(X3J13)i(v)o(oted)i(in)e(June)i(1989)f +Ft(h)p Fw(137)p Ft(i)f Fw(to)h(clarify)f(that)i Fs(probe-file)d +Fw(accepts)k(only)-33 1937 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2017 a(non-wild)14 b(pathnames;)g(an)h(error)h(is)f +(signaled)f(if)g Fs(wild-pathname-p)e Fw(w)o(ould)i(b)q(e)i(true)0 +2069 y(of)d(the)i Fv(\014le)f Fw(argumen)o(t.)-33 2081 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2121 a(X3J13)j(v)o(oted)h(in)f(June)h(1989)f +Ft(h)p Fw(130)p Ft(i)g Fw(to)g(require)i Fs(probe-file)c +Fw(to)j(accept)g(logical)-33 2093 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2173 a(pathnames)13 b(\(see)h(section)g(23.1.5\).)i(Ho)o +(w)o(ev)o(er,)e Fs(probe-file)d Fw(nev)o(er)j(returns)h(a)e(logical)0 +2225 y(pathname.)-33 2236 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2277 a(X3J13)e(v)o(oted)i(in)f(Jan)o(uary)g(1989)f +Ft(h)p Fw(15)p Ft(i)h Fw(to)g(sp)q(ecify)h(that)f Fs(probe-file)e +Fw(is)i(una\013ected)-33 2249 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a(b)o(y)19 b(whether)h(the)g(\014rst)g(argumen)o +(t,)f(if)f(a)h(stream,)g(is)g(op)q(en)h(or)f(closed.)34 +b(If)19 b(the)h(\014rst)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 710 734 +710 733 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(710)77 b(COMMON)13 +b(LISP)0 295 y Fw(argumen)o(t)g(is)h(a)g(stream,)g Fs(probe-file)e +Fw(b)q(eha)o(v)o(es)j(as)g(if)e(the)i(function)f Fs(pathname)f +Fw(w)o(ere)0 347 y(applied)18 b(to)g(the)h(stream)f(and)g(the)i +(resulting)e(pathname)f(used)j(instead.)32 b(Ho)o(w)o(ev)o(er,)0 +399 y(X3J13)12 b(further)g(commen)o(ted)f(that)h(the)g(treatmen)o(t)g +(of)f(op)q(en)i(streams)e(ma)o(y)f(di\013er)j(con-)0 +450 y(siderably)e(from)e(one)i(implemen)o(tati)o(on)d(to)j(another;)g +(for)g(example,)f(in)g(some)g(op)q(erating)0 502 y(systems)k(op)q(en)g +(\014les)h(are)f(written)g(under)h(a)f(temp)q(orary)f(or)h(in)o +(visible)e(name)h(and)h(later)0 554 y(renamed)h(when)h(closed.)23 +b(In)16 b(general,)f(programmers)f(writing)g(co)q(de)j(in)o(tended)f +(to)f(b)q(e)0 606 y(p)q(ortable)f(should)g(b)q(e)g(v)o(ery)g(careful)g +(when)h(using)e Fs(probe-file)p Fw(.)-33 618 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 740 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(file-write-date)18 b Fv(\014le)0 817 y(\014le)12 +b Fw(can)h(b)q(e)f(a)g(\014le)g(name)f(or)i(a)e(stream)h(that)g(is)g +(op)q(en)h(to)f(a)g(\014le.)17 b(This)c(returns)g(the)g(time)0 +869 y(at)j(whic)o(h)h(the)g(\014le)f(w)o(as)h(created)h(or)e(last)g +(written)h(as)g(an)f(in)o(teger)h(in)f(univ)o(ersal)g(time)0 +921 y(format)c(\(see)j(section)g(25.4.1\),)c(or)j Fs(nil)g +Fw(if)f(this)h(cannot)g(b)q(e)g(determined.)42 973 y(X3J13)f(v)o(oted)g +(in)g(Marc)o(h)h(1988)e Ft(h)p Fw(132)p Ft(i)h Fw(to)g(sp)q(ecify)h +(exactly)f(whic)o(h)g(streams)h(ma)o(y)d(b)q(e)-33 944 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1024 a(used)k(as)f(pathnames.)j(See)e(section)f(23.1.6.) +-33 1036 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1076 a(X3J13)h(v)o(oted)h(in)f(June)i(1989)d +Ft(h)p Fw(137)p Ft(i)h Fw(to)h(clarify)f(that)h Fs(file-write-date)c +Fw(accepts)-33 1048 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1128 a(only)i(non-wild)f(pathnames;)h(an)h(error)g(is)g +(signaled)f(if)g Fs(wild-pathname-p)d Fw(w)o(ould)j(b)q(e)0 +1180 y(true)h(of)e(the)i Fv(\014le)e Fw(argumen)o(t.)-33 +1192 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1232 a(X3J13)19 b(v)o(oted)h(in)g(June)h(1989)e +Ft(h)p Fw(130)p Ft(i)g Fw(to)h(require)h Fs(file-write-date)c +Fw(to)i(accept)-33 1204 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1284 a(logical)12 b(pathnames)h(\(see)i(section)g +(23.1.5\).)-33 1296 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1418 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(file-author)19 b Fv(\014le)0 1495 y(\014le)e Fw(can)h(b)q(e)g(a)f +(\014le)g(name)f(or)h(a)g(stream)g(that)h(is)f(op)q(en)h(to)f(a)g +(\014le.)28 b(This)17 b(returns)i(the)0 1547 y(name)11 +b(of)h(the)h(author)f(of)g(the)g(\014le)h(as)f(a)g(string,)g(or)g +Fs(nil)g Fw(if)g(this)g(cannot)g(b)q(e)h(determined.)42 +1599 y(X3J13)g(v)o(oted)g(in)g(Marc)o(h)h(1988)e Ft(h)p +Fw(132)p Ft(i)h Fw(to)g(sp)q(ecify)h(exactly)f(whic)o(h)g(streams)h(ma) +o(y)d(b)q(e)-33 1570 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1651 a(used)k(as)f(pathnames.)j(See)e(section)f(23.1.6.) +-33 1662 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1703 a(X3J13)g(v)o(oted)i(in)e(June)i(1989)f +Ft(h)p Fw(137)p Ft(i)f Fw(to)h(clarify)g(that)g Fs(file-author)e +Fw(accepts)k(only)-33 1674 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1755 a(non-wild)d(pathnames;)g(an)h(error)h(is)f +(signaled)f(if)g Fs(wild-pathname-p)e Fw(w)o(ould)i(b)q(e)i(true)0 +1806 y(of)d(the)i Fv(\014le)f Fw(argumen)o(t.)-33 1818 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1859 a(X3J13)h(v)o(oted)h(in)f(June)h(1989)f +Ft(h)p Fw(130)p Ft(i)g Fw(to)g(require)i Fs(file-author)c +Fw(to)j(accept)g(logical)-33 1830 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1910 a(pathnames)d(\(see)i(section)g(23.1.5\).)-33 +1922 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 2044 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(file-position)18 b Fv(\014le)p Fs(-)p Fv(str)n(e)n(am)24 +b Fs(&optional)19 b Fv(p)n(osition)0 2121 y Fs(file-position)14 +b Fw(returns)k(or)e(sets)i(the)f(curren)o(t)h(p)q(osition)e(within)f(a) +i(random-access)0 2173 y(\014le.)42 2225 y Fs(\(file-position)h +Fv(\014le)p Fs(-)p Fv(str)n(e)n(am)p Fs(\))10 b Fw(returns)k(a)d +(non-negativ)o(e)g(in)o(teger)i(indicating)d(the)0 2277 +y(curren)o(t)17 b(p)q(osition)f(within)f(the)i Fv(\014le-str)n(e)n(am)p +Fw(,)e(or)h Fs(nil)f Fw(if)g(this)h(cannot)h(b)q(e)f(determined.)0 +2329 y(The)i(\014le)g(p)q(osition)g(at)g(the)g(start)h(of)e(a)h(\014le) +g(will)f(b)q(e)h(zero.)31 b(The)19 b(v)n(alue)e(returned)j(b)o(y)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 711 735 +711 734 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(711)0 295 y Fs(file-position)17 b Fw(increases)22 +b(monotonically)17 b(as)j(input)g(or)g(output)g(op)q(erations)g(are)0 +347 y(p)q(erformed.)32 b(F)m(or)18 b(a)g(c)o(haracter)i(\014le,)f(p)q +(erforming)e(a)i(single)f Fs(read-char)e Fw(or)j Fs(write-)0 +399 y(char)d Fw(op)q(eration)i(ma)o(y)d(cause)j(the)g(\014le)f(p)q +(osition)g(to)g(b)q(e)h(increased)g(b)o(y)g(more)e(than)h(1)0 +450 y(b)q(ecause)h(of)d(c)o(haracter-set)j(translations)e(\(suc)o(h)h +(as)f(translating)g(b)q(et)o(w)o(een)h(the)g(Com-)0 502 +y(mon)e(Lisp)i Fs(#)189 498 y(-)189 506 y(-)211 502 y(\\Newline)e +Fw(c)o(haracter)j(and)e(an)h(external)g(ASCI)q(I)g +(carriage-return/line-)0 554 y(feed)h(sequence\))j(and)c(other)i(asp)q +(ects)g(of)e(the)i(implem)o(en)o(tation.)27 b(F)m(or)17 +b(a)h(binary)f(\014le,)0 606 y(ev)o(ery)e Fs(read-byte)d +Fw(or)h Fs(write-byte)f Fw(op)q(eration)i(increases)i(the)e(\014le)g(p) +q(osition)f(b)o(y)h(1.)42 659 y Fs(\(file-position)k +Fv(\014le)p Fs(-)p Fv(str)n(e)n(am)i(p)n(osition)p Fs(\))c +Fw(sets)h(the)f(p)q(osition)f(within)h Fv(\014le-str)n(e)n(am)0 +711 y Fw(to)f(b)q(e)g Fv(p)n(osition)p Fw(.)22 b(The)15 +b Fv(p)n(osition)g Fw(ma)o(y)e(b)q(e)j(an)e(in)o(teger,)i(or)f +Fs(:start)e Fw(for)i(the)g(b)q(eginning)0 763 y(of)g(the)i(stream,)f +(or)g Fs(:end)f Fw(for)g(the)i(end)g(of)e(the)i(stream.)24 +b(If)15 b(the)i(in)o(teger)f(is)g(to)q(o)g(large)0 815 +y(or)i(otherwise)h(inappropriate,)f(an)g(error)h(is)f(signaled)f(\(the) +i Fs(file-length)d Fw(function)0 867 y(returns)e(the)e(length)g(b)q(ey) +o(ond)g(whic)o(h)g Fs(file-position)e Fw(ma)o(y)g(not)i(access\).)19 +b(An)12 b(in)o(teger)0 919 y(returned)g(b)o(y)f Fs(file-position)d +Fw(of)i(one)h(argumen)o(t)f(should,)h(in)f(general,)h(b)q(e)h +(acceptable)0 970 y(as)h(a)g(second)i(argumen)o(t)d(for)h(use)h(with)f +(the)h(same)e(\014le.)18 b(With)13 b(t)o(w)o(o)g(argumen)o(ts,)f +Fs(file-)0 1022 y(position)h Fw(returns)j Fs(t)e Fw(if)g(the)h(rep)q +(ositioning)f(w)o(as)g(p)q(erformed)g(successfully)m(,)h(or)g +Fs(nil)f Fw(if)0 1074 y(it)g(w)o(as)f(not)h(\(for)g(example,)e(b)q +(ecause)j(the)g(\014le)f(w)o(as)g(not)f(random-access\).)p +0 1134 V 0 1195 a Fm(Implemen)o(tation)h(note:)21 b FA(Implemen)o +(tations)c(that)d(ha)o(v)o(e)h(c)o(haracter)g(\014les)h(represen)o(ted) +f(as)0 1241 y(a)g(sequence)h(of)f(records)h(of)f(b)q(ounded)i(size)e +(migh)o(t)h(c)o(ho)q(ose)g(to)f(enco)q(de)h(the)f(\014le)h(p)q(osition) +i(as,)0 1287 y(for)d(example,)i Fq(r)n(e)n(c)n(or)n(d-numb)n(er)p +FA(*256+)p Fq(char)n(act)o(er-withi)o(n-r)n(e)m(c)n(or)n(d)p +FA(.)j(This)c(is)g(a)f(v)n(alid)i(enco)q(ding)0 1332 +y(b)q(ecause)d(it)g(increases)h(monotonically)h(as)e(eac)o(h)f(c)o +(haracter)h(is)g(read)f(or)h(written,)f(though)h(not)0 +1378 y(necessarily)h(b)o(y)e(1)g(at)f(eac)o(h)h(step.)18 +b(An)12 b(in)o(teger)i(migh)o(t)f(then)g(b)q(e)g(considered)i +(\\inappropria)q(te")0 1424 y(as)f(a)g(second)h(argumen)o(t)g(to)f +Fj(file-positi)o(on)c FA(if,)15 b(when)f(deco)q(ded)h(in)o(to)g(record) +g(n)o(um)o(b)q(er)g(and)0 1469 y(c)o(haracter)k(n)o(um)o(b)q(er,)i(it)d +(turned)i(out)e(that)h(the)g(sp)q(eci\014ed)h(record)f(w)o(as)g(to)q(o) +f(short)h(for)f(the)0 1515 y(sp)q(eci\014ed)d(c)o(haracter)f(n)o(um)o +(b)q(er.)p 0 1562 V 0 1562 V 0 1624 a Fm(Compatibilit)o(y)d(note:)17 +b FA(This)c(corresp)q(onds)g(to)f(the)h(function)g(called)h +Fj(filepos)9 b FA(in)k(MacLisp)0 1669 y(and)h(Lisp)g(Mac)o(hine)g +(Lisp.)p 0 1717 V 1209 1880 a Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(file-length)19 b Fv(\014le)p Fs(-)p Fv(str)n(e)n(am)0 +1958 y(\014le-str)n(e)n(am)c Fw(m)o(ust)g(b)q(e)i(a)e(stream)h(that)g +(is)g(op)q(en)g(to)g(a)g(\014le.)24 b(The)17 b(length)f(of)f(the)i +(\014le)f(is)0 2010 y(returned)d(as)f(a)f(non-negativ)o(e)h(in)o +(teger,)g(or)f Fs(nil)g Fw(if)g(the)h(length)g(cannot)g(b)q(e)g +(determined.)0 2062 y(F)m(or)f(a)h(binary)g(\014le,)f(the)i(length)f +(is)f(sp)q(eci\014cally)i(measured)e(in)h(units)g(of)f(the)i +Fs(:element-)0 2114 y(type)g Fw(sp)q(eci\014ed)i(when)g(the)f(\014le)g +(w)o(as)g(op)q(ened)h(\(see)g Fs(open)p Fw(\).)p 0 2174 +V 0 2235 a Fm(Compatibilit)o(y)c(note:)17 b FA(This)c(corresp)q(onds)g +(to)f(the)h(function)g(called)h Fj(lengthf)9 b FA(in)k(MacLisp)0 +2281 y(and)h(Lisp)g(Mac)o(hine)g(Lisp.)p 0 2329 V -33 +2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 712 736 +712 735 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(712)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(file-string-lengt)o(h)18 b Fv(\014le)p Fs(-)p Fv(str)n(e)n(am)24 +b(obje)n(ct)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 372 a Fw(X3J13)17 b(v)o(oted)g(in)f(June)i(1989)e +Ft(h)p Fw(122)p Ft(i)g Fw(to)h(add)g(the)g(function)g +Fs(file-string-lengt)o(h)p Fw(.)0 424 y(The)k Fv(obje)n(ct)g +Fw(m)o(ust)e(b)q(e)j(a)e(string)h(or)f(a)h(c)o(haracter.)40 +b(The)21 b(function)f Fs(file-string-)0 476 y(length)e +Fw(returns)i(a)f(non-negativ)o(e)g(in)o(teger)g(that)g(is)g(the)h +(di\013erence)g(b)q(et)o(w)o(een)h(what)0 528 y(the)c +Fs(file-position)c Fw(of)j(the)h Fv(\014le-str)n(e)n(am)e +Fw(w)o(ould)g(b)q(e)i(after)g(and)f(b)q(efore)h(writing)e(the)0 +580 y Fv(obje)n(ct)g Fw(to)f(the)i Fv(\014le-str)n(e)n(am)p +Fw(,)d(or)i Fs(nil)f Fw(if)g(this)h(di\013erence)h(cannot)f(b)q(e)h +(determined.)k(The)0 632 y(v)n(alue)d(returned)j(ma)o(y)c(dep)q(end)j +(on)f(the)g(curren)o(t)h(state)g(of)e(the)i Fv(\014le-str)n(e)n(am)p +Fw(;)f(that)g(is,)0 683 y(calling)g Fs(file-string-length)e +Fw(on)j(the)i(same)d(argumen)o(ts)h(t)o(wice)h(ma)o(y)e(in)h(certain)0 +735 y(circumstances)c(pro)q(duce)g(t)o(w)o(o)e(di\013eren)o(t)i(in)o +(tegers.)-33 747 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 910 a Fo(23.4.)20 b(Loading)15 b(Files)0 +1003 y Fw(T)m(o)j Fv(lo)n(ad)g Fw(a)g(\014le)h(is)f(to)g(read)h +(through)g(the)g(\014le,)g(ev)n(aluating)e(eac)o(h)i(form)d(in)i(it.)32 +b(Pro-)0 1055 y(grams)10 b(are)i(t)o(ypically)d(stored)k(in)d(\014les)i +(con)o(taining)e(calls)h(to)g(constructs)i(suc)o(h)f(as)f +Fs(defun)p Fw(,)0 1107 y Fs(defmacro)p Fw(,)j(and)i Fs(defvar)p +Fw(,)f(whic)o(h)h(de\014ne)g(the)h(functions)f(and)g(v)n(ariables)f(of) +g(the)i(pro-)0 1158 y(gram.)42 1211 y(Loading)12 b(a)i(compiled)e +(\(\\fasload"\))h(\014le)h(is)g(similar,)d(except)k(that)f(the)h +(\014le)f(do)q(es)h(not)0 1263 y(con)o(tain)e(text)g(but)h(rather)g +(pre-digested)g(expressions)h(created)f(b)o(y)f(the)h(compiler)e(that)0 +1315 y(can)i(b)q(e)h(loaded)e(more)g(quic)o(kly)m(.)1209 +1471 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(load)20 b +Fv(\014lename)25 b Fs(&key)c(:verbose)e(:print)h(:if-does-not-exist)0 +1549 y Fw(This)f(function)f(loads)g(the)i(\014le)f(named)e(b)o(y)i +Fv(\014lename)g Fw(in)o(to)f(the)i(Lisp)e(en)o(vironmen)o(t.)0 +1600 y(It)e(is)f(assumed)g(that)h(a)f(text)h(\(c)o(haracter)h(\014le\)) +f(can)f(b)q(e)h(automatically)d(distinguished)0 1652 +y(from)h(an)i(ob)r(ject)g(\(binary\))g(\014le)f(b)o(y)h(some)f +(appropriate)h(implem)o(en)o(tation-dep)q(enden)o(t)0 +1704 y(means,)c(p)q(ossibly)g(b)o(y)g(the)h(\014le)g(t)o(yp)q(e.)18 +b(The)13 b(defaults)f(for)h Fv(\014lename)g Fw(are)g(tak)o(en)f(from)f +(the)0 1756 y(v)n(ariable)j Fs(*default-pathname-)o(defau)o(lts*)p +Fw(.)k(If)d(the)h Fv(\014lename)g Fw(\(after)g(the)f(merging)0 +1808 y(in)d(of)f(the)h(defaults\))h(do)q(es)f(not)g(explicitly)f(sp)q +(ecify)i(a)e(t)o(yp)q(e,)i(and)e(b)q(oth)i(text)f(and)g(ob)r(ject)0 +1860 y(t)o(yp)q(es)j(of)e(the)i(\014le)f(are)g(a)o(v)n(ailable)e(in)h +(the)i(\014le)f(system,)f Fs(load)g Fw(should)h(try)g(to)g(select)h +(the)0 1912 y(more)e(appropriate)h(\014le)g(b)o(y)f(some)g(implemen)o +(tation-dep)q(enden)o(t)f(means.)42 1964 y(If)g(the)i(\014rst)h +(argumen)o(t)d(is)h(a)g(stream)g(rather)h(than)f(a)g(pathname,)f(then)i +Fs(load)f Fw(deter-)0 2016 y(mines)g(what)h(kind)f(of)g(stream)h(it)f +(is)h(and)g(loads)f(directly)h(from)e(the)j(stream.)42 +2069 y(The)e Fs(:verbose)f Fw(argumen)o(t)g(\(whic)o(h)h(defaults)g(to) +g(the)h(v)n(alue)e(of)h Fs(*load-verbose*)p Fw(\),)0 +2121 y(if)i(true,)i(p)q(ermits)f Fs(load)f Fw(to)h(prin)o(t)g(a)g +(message)f(in)h(the)h(form)d(of)h(a)h(commen)o(t)e(\(that)i(is,)0 +2172 y(with)11 b(a)h(leading)f(semicolon\))f(to)h Fs(*standard-output*) +d Fw(indicating)j(what)h(\014le)f(is)h(b)q(eing)0 2224 +y(loaded)h(and)h(other)h(useful)f(information.)42 2277 +y(The)j Fs(:print)e Fw(argumen)o(t)h(\(default)h Fs(nil)p +Fw(\),)f(if)g(true,)i(causes)g(the)g(v)n(alue)e(of)g(eac)o(h)i(ex-)-38 +2252 y Fk(.)-38 2265 y(.)-38 2278 y(.)-38 2291 y(.)-38 +2304 y(.)-38 2317 y(.)-38 2330 y(.)-38 2343 y(.)-38 2356 +y(.)-38 2369 y(.)-38 2382 y(.)-38 2395 y(.)-38 2408 y(.)-38 +2420 y(.)-38 2433 y(.)-38 2446 y(.)-38 2459 y(.)-38 2472 +y(.)-38 2485 y(.)-38 2498 y(.)-38 2511 y(.)-38 2524 y(.)-38 +2537 y(.)-38 2550 y(.)-38 2563 y(.)-38 2576 y(.)-38 2589 +y(.)-38 2602 y(.)-38 2615 y(.)-38 2628 y(.)-38 2641 y(.)-38 +2654 y(.)-38 2667 y(.)-38 2680 y(.)-38 2693 y(.)-38 2706 +y(.)-38 2719 y(.)-38 2732 y(.)-38 2745 y(.)-38 2758 y(.)-38 +2771 y(.)-38 2784 y(.)-38 2797 y(.)-38 2810 y(.)-38 2823 +y(.)-38 2836 y(.)-38 2849 y(.)-38 2862 y(.)-38 2875 y(.)-38 +2887 y(.)-38 2900 y(.)-38 2913 y(.)-38 2926 y(.)-38 2939 +y(.)-38 2952 y(.)-38 2965 y(.)-38 2978 y(.)-38 2991 y(.)-38 +3004 y(.)-38 3017 y(.)-38 3030 y(.)-38 3043 y(.)-38 3056 +y(.)-38 3069 y(.)-38 3082 y(.)-38 3095 y(.)-38 3108 y(.)-38 +3121 y(.)-38 3134 y(.)-38 3147 y(.)-38 3160 y(.)-38 3173 +y(.)-38 3186 y(.)-38 3199 y(.)-38 3212 y(.)-38 3225 y(.)-38 +3238 y(.)-38 3251 y(.)-38 3264 y(.)-38 3277 y(.)-38 3290 +y(.)-38 3303 y(.)-38 3316 y(.)-38 3329 y(.)-38 3342 y(.)-38 +3354 y(.)-38 3367 y(.)-38 3380 y(.)-38 3393 y(.)-38 3406 +y(.)-38 3419 y(.)-38 3432 y(.)-38 3445 y(.)-38 3458 y(.)-38 +3471 y(.)-38 3484 y(.)-38 3497 y(.)-38 3510 y(.)-38 3523 +y(.)-38 3536 y(.)-38 3549 y(.)-38 3562 y(.)-38 3575 y(.)-38 +3588 y(.)-38 3601 y(.)-38 3614 y(.)-38 3627 y(.)-38 3640 +y(.)-38 3653 y(.)-38 3666 y(.)-38 3679 y(.)-38 3692 y(.)-38 +3705 y(.)-38 3718 y(.)-38 3731 y(.)-38 3744 y(.)-38 3757 +y(.)-38 3770 y(.)-38 3783 y(.)-38 3796 y(.)-38 3809 y(.)-38 +3821 y(.)-38 3834 y(.)-38 3847 y(.)-38 3860 y(.)-38 3873 +y(.)-38 3886 y(.)-38 3899 y(.)-38 3912 y(.)-38 3925 y(.)-38 +3938 y(.)-38 3951 y(.)-38 3964 y(.)-38 3977 y(.)-38 3990 +y(.)-38 4003 y(.)-38 4016 y(.)-38 4029 y(.)-38 4042 y(.)-38 +4055 y(.)-38 4068 y(.)-38 4081 y(.)-38 4094 y(.)-38 4107 +y(.)-38 4120 y(.)-38 4133 y(.)-38 4146 y(.)-38 4159 y(.)-38 +4172 y(.)-38 4185 y(.)-38 4198 y(.)-38 4211 y(.)-38 4224 +y(.)-38 4237 y(.)-38 4250 y(.)-38 4263 y(.)-38 4276 y(.)-38 +4288 y(.)-38 4301 y(.)-38 4314 y(.)-38 4327 y(.)-38 4340 +y(.)-38 4353 y(.)-38 4366 y(.)-38 4379 y(.)-38 4392 y(.)-38 +4405 y(.)-38 4418 y(.)-38 4431 y(.)-38 4444 y(.)-38 4457 +y(.)-38 4470 y(.)-38 4483 y(.)-38 4496 y(.)-38 4509 y(.)-38 +4522 y(.)-38 4535 y(.)-38 4548 y(.)-38 4561 y(.)-38 4574 +y(.)-38 4587 y(.)-38 4600 y(.)-38 4613 y(.)-38 4626 y(.)-38 +4639 y(.)-38 4652 y(.)-38 4665 y(.)-38 4678 y(.)-38 4691 +y(.)-38 4704 y(.)-38 4717 y(.)-38 4730 y(.)-38 4743 y(.)-38 +4755 y(.)-38 4768 y(.)-38 4781 y(.)-38 4794 y(.)-38 4807 +y(.)-38 4820 y(.)-38 4833 y(.)0 2329 y Fw(pression)c(loaded)e(to)h(b)q +(e)g(prin)o(ted)g(to)g Fs(*standard-output*)o Fw(.)i(If)d(a)h(binary)f +(\014le)h(is)g(b)q(eing)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 713 737 +713 736 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(713)0 295 y Fw(loaded,)20 b(then)g(what)g(is)f(prin)o(ted)h +(ma)o(y)d(not)j(re\015ect)h(precisely)g(the)f(con)o(ten)o(ts)g(of)f +(the)0 347 y(source)c(\014le,)f(but)g(nev)o(ertheless)i(some)d +(information)e(will)h(b)q(e)j(prin)o(ted.)-33 358 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 399 a(X3J13)j(v)o(oted)h(in)g(Marc)o(h)h(1989)e +Ft(h)p Fw(26)p Ft(i)g Fw(to)h(add)g(the)h(v)n(ariable)e +Fs(*load-print*)p Fw(;)h(its)-33 370 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 450 a(v)n(alue)13 b(is)h(used)h(as)f(the)g(default)g +(for)f(the)i Fs(:print)d Fw(argumen)o(t)h(to)h Fs(load)p +Fw(.)-33 462 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 502 a(The)j(function)g Fs(load)f Fw(rebinds)i +Fs(*package*)d Fw(to)i(its)h(curren)o(t)g(v)n(alue.)27 +b(If)17 b(some)f(form)-33 474 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 554 a(in)f(the)h(\014le)f(c)o(hanges)h(the)f(v)n(alue)g +(of)g Fs(*package*)e Fw(during)i(loading,)e(the)j(old)f(v)n(alue)f +(will)0 606 y(b)q(e)k(restored)h(when)f(the)g(loading)d(is)i +(completed.)28 b(\(This)17 b(w)o(as)g(sp)q(eci\014ed)i(in)e(the)h +(\014rst)0 658 y(edition)13 b(under)h(the)f(description)h(of)f +Fs(*package*)p Fw(;)e(for)h(con)o(v)o(enience)j(I)e(no)o(w)g(men)o +(tion)e(it)0 710 y(here)k(as)f(w)o(ell.\))-33 722 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 762 a(X3J13)f(v)o(oted)g(in)g(Marc)o(h)h(1988)e +Ft(h)p Fw(132)p Ft(i)h Fw(to)g(sp)q(ecify)h(exactly)f(whic)o(h)g +(streams)h(ma)o(y)d(b)q(e)-33 733 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 814 a(used)k(as)f(pathnames.)j(See)e(section)f(23.1.6.) +-33 825 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 866 a(X3J13)9 b(v)o(oted)h(in)f(June)i(1989)e +Ft(h)p Fw(137)p Ft(i)g Fw(to)h(clarify)f(that)g(supplying)h(a)f(wild)g +(pathname)g(as)-33 837 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 917 a(the)15 b Fv(\014lename)g Fw(argumen)o(t)e(to)h +Fs(load)f Fw(has)h(implemen)o(tation-)o(dep)q(enden)o(t)f +(consequences;)0 969 y Fs(load)e Fw(migh)o(t)f(signal)h(an)h(error,)h +(for)e(example,)g(or)h(migh)o(t)e(load)h(all)g(\014les)h(that)g(matc)o +(h)f(the)0 1021 y(pathname.)-33 1033 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1073 a(X3J13)f(v)o(oted)h(in)f(June)h(1989)f +Ft(h)p Fw(130)p Ft(i)g Fw(to)h(require)g Fs(load)f Fw(to)h(accept)h +(logical)d(pathnames)-33 1045 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1125 a(\(see)15 b(section)g(23.1.5\).)-33 +1137 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1177 a(If)c(a)h(\014le)g(is)h(successfully)g(loaded,)f +Fs(load)f Fw(alw)o(a)o(ys)g(returns)j(a)e(non-)p Fs(nil)f +Fw(v)n(alue.)17 b(If)12 b Fs(:if-)0 1229 y(does-not-exist)i +Fw(is)k(sp)q(eci\014ed)h(and)e(is)g Fs(nil)p Fw(,)g Fs(load)g +Fw(just)h(returns)h Fs(nil)d Fw(rather)j(than)0 1281 +y(signaling)12 b(an)i(error)h(if)e(the)h(\014le)g(do)q(es)h(not)f +(exist.)42 1333 y(X3J13)g(v)o(oted)h(in)g(Marc)o(h)h(1989)e +Ft(h)p Fw(104)p Ft(i)g Fw(to)h(require)h(that)f Fs(load)f +Fw(bind)h Fs(*readtable*)-33 1304 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1384 a Fw(to)c(its)h(curren)o(t)h(v)n(alue)e(at)h(the)g +(time)e Fs(load)h Fw(is)h(called;)f(the)h(dynamic)e(exten)o(t)j(of)e +(the)h(bind-)0 1436 y(ing)k(should)g(encompass)g(all)f(of)h(the)h +(\014le-loading)d(activit)o(y)m(.)24 b(This)17 b(allo)o(ws)e(a)h(p)q +(ortable)0 1488 y(program)c(to)i(include)g(forms)e(suc)o(h)j(as)0 +1573 y Fs(\(in-package)k("FOO"\))0 1677 y(\(eval-when)g(\(:execute)g +(:load-toplevel)g(:compile-topleve)o(l\))42 1729 y(\(setq)h +(*readtable*)f(foo:my-readtable\)\))0 1814 y Fw(without)13 +b(p)q(erforming)e(a)i(net)g(global)f(side)h(e\013ect)i(on)e(the)g +(loading)f(en)o(vironmen)o(t.)k(Suc)o(h)0 1866 y(statemen)o(ts)e(allo)o +(w)e(the)j(remainder)e(of)h(suc)o(h)g(a)g(\014le)g(to)f(b)q(e)i(read)f +(either)h(as)f(in)o(terpreted)0 1918 y(co)q(de)f(or)f(b)o(y)g +Fs(compile-file)d Fw(in)j(a)f(syn)o(tax)h(determined)g(b)o(y)g(an)g +(alternativ)o(e)g(readtable.)-33 1929 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1970 a(X3J13)e(v)o(oted)h(in)f(June)i(1989)e +Ft(h)p Fw(112)p Ft(i)g Fw(to)h(require)h(that)e Fs(load)g +Fw(bind)h(t)o(w)o(o)f(new)h(v)n(ariables)-33 1941 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2022 a Fs(*load-pathname*)e Fw(and)i Fs(*load-truename*) +p Fw(;)e(the)k(dynamic)d(exten)o(t)j(of)e(the)h(bindings)0 +2073 y(should)i(encompass)f(all)g(of)g(the)i(\014le-loading)d(activit)o +(y)m(.)-33 2085 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1219 2200 a([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(*load-verbose*)0 2277 y Fw(This)17 b(v)n(ariable)f(pro)o(vides)i +(the)g(default)f(for)g(the)h Fs(:verbose)d Fw(argumen)o(t)i(to)g +Fs(load)p Fw(.)27 b(Its)0 2329 y(initial)12 b(v)n(alue)h(is)h(implemen) +o(tatio)o(n-dep)q(enden)o(t.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 714 738 +714 737 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(714)77 b(COMMON)13 +b(LISP)1219 295 y Fw([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(*load-print*)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 372 a Fw(X3J13)10 b(v)o(oted)h(in)f(Marc)o(h)i(1989)d +Ft(h)p Fw(26)p Ft(i)i Fw(to)f(add)h Fs(*load-print*)p +Fw(.)j(This)d(v)n(ariable)f(pro)o(vides)0 424 y(the)k(default)g(for)g +(the)g Fs(:print)f Fw(argumen)o(t)f(to)i Fs(load)p Fw(.)j(Its)e +(initial)d(v)n(alue)h(is)h Fs(nil)p Fw(.)-33 435 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1219 557 a([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(*load-pathname*)-33 529 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 634 a Fw(X3J13)13 b(v)o(oted)g(in)f(June)i(1989)e +Ft(h)p Fw(112)p Ft(i)g Fw(to)h(in)o(tro)q(duce)g Fs(*load-pathname*)p +Fw(;)d(it)i(is)h(initially)0 686 y Fs(nil)i Fw(but)h +Fs(load)f Fw(binds)h(it)f(to)h(a)g(pathname)e(that)i(represen)o(ts)j +(the)d(\014le)g(name)e(giv)o(en)i(as)0 738 y(the)e(\014rst)h(argumen)o +(t)e(to)h Fs(load)f Fw(merged)g(with)h(the)g(defaults)g(\(see)h +Fs(merge-pathname)p Fw(\).)1219 871 y([)p Fv(V)m(ariable)s +Fw(])-1396 b Fs(*load-truename*)-33 843 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 948 a Fw(X3J13)20 b(v)o(oted)g(in)f(June)i(1989)e +Ft(h)p Fw(112)p Ft(i)g Fw(to)h(in)o(tro)q(duce)g Fs(*load-truename*)p +Fw(;)g(it)f(is)h(ini-)0 1000 y(tially)13 b Fs(nil)h Fw(but)h +Fs(load)e Fw(binds)i(it)f(to)g(the)i(\\true)f(name")e(of)h(the)h +(\014le)g(b)q(eing)f(loaded.)20 b(See)0 1052 y Fs(truename)p +Fw(.)-33 1064 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1132 a(X3J13)14 b(v)o(oted)g(in)g(Marc)o(h)h(1989)f +Ft(h)p Fw(110)p Ft(i)g Fw(to)g(in)o(tro)q(duce)h(a)f(facilit)o(y)f +(based)i(on)f(the)i(Ob-)-33 1104 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1184 a(ject)i(System)f(whereb)o(y)h(a)f(user)i(can)e(sp) +q(ecify)h(ho)o(w)f Fs(compile-file)e Fw(and)i Fs(load)g +Fw(m)o(ust)0 1236 y(co)q(op)q(erate)k(to)e(reconstruct)i(compile-time) +16 b(constan)o(t)k(ob)r(jects)g(at)f(load)g(time.)32 +b(The)0 1288 y(proto)q(col)14 b(is)f(simply)f(this:)18 +b Fs(compile-file)12 b Fw(calls)h(the)i(generic)f(function)g +Fs(make-load-)0 1340 y(form)j Fw(on)h(an)o(y)g(ob)r(ject)h(that)f(is)g +(referenced)i(as)f(a)e(constan)o(t)i(or)f(as)g(a)g(self-ev)n(aluating)0 +1392 y(form,)g(if)g(the)i(ob)r(ject's)g(metaclass)e(is)h +Fs(standard-class)p Fw(,)e Fs(structure-class)p Fw(,)g(an)o(y)0 +1444 y(user-de\014ned)g(metaclass)d(\(not)h(a)g(sub)q(class)h(of)e +Fs(built-in-class)p Fw(\),)e(or)i(an)o(y)h(of)f(a)h(p)q(os-)0 +1496 y(sibly)g(empt)o(y)f(implemen)o(tati)o(on-de\014ned)f(list)i(of)g +(other)h(metaclasses;)f Fs(compile-file)0 1547 y Fw(will)9 +b(call)h Fs(make-load-form)d Fw(only)j(once)h(for)f(an)o(y)g(giv)o(en)g +(ob)r(ject)h(\(as)f(determined)h(b)o(y)f Fs(eq)p Fw(\))0 +1599 y(within)15 b(a)h(single)g(\014le.)25 b(The)16 b +(user-programmabilit)o(y)c(stems)k(from)f(the)h(p)q(ossibilit)o(y)f(of) +0 1651 y(user-de\014ned)i(metho)q(ds)d(for)g Fs(make-load-form)p +Fw(.)j(The)e(help)q(er)h(function)e Fs(make-load-)0 1703 +y(form-saving-slots)e Fw(mak)o(es)j(it)g(easy)h(to)f(write)h(commonly)c +(used)17 b(v)o(ersions)f(of)f(suc)o(h)0 1755 y(metho)q(ds.)1062 +1888 y([)p Fv(Generic)g(function)s Fw(])-1395 b Fs(make-load-form)18 +b Fv(obje)n(ct)0 1965 y Fw(The)k(argumen)o(t)e(is)i(an)f(ob)r(ject)h +(that)g(is)f(referenced)k(as)c(a)g(constan)o(t)i(or)e(as)h(a)f(self-)0 +2017 y(ev)n(aluating)d(form)f(in)i(a)g(\014le)g(b)q(eing)g(compiled)e +(b)o(y)i Fs(compile-file)p Fw(.)32 b(The)19 b(ob)r(jectiv)o(e)0 +2069 y(is)14 b(to)f(enable)i Fs(load)e Fw(to)g(construct)j(an)e(equiv)n +(alen)o(t)f(ob)r(ject.)42 2121 y(The)h(\014rst)g(v)n(alue,)f(called)g +(the)i Fv(cr)n(e)n(ation)f(form)p Fw(,)f(is)g(a)h(form)e(that,)h(when)h +(ev)n(aluated)g(at)0 2173 y(load)h(time,)g(should)h(return)h(an)f(ob)r +(ject)h(that)f(is)g(equiv)n(alen)o(t)g(to)g(the)h(argumen)o(t.)23 +b(The)0 2225 y(exact)14 b(meaning)d(of)h(\\equiv)n(alen)o(t")g(dep)q +(ends)i(on)f(the)g(t)o(yp)q(e)h(of)e(ob)r(ject)i(and)f(is)f(up)h(to)g +(the)0 2277 y(programmer)d(who)i(de\014nes)i(a)f(metho)q(d)e(for)h +Fs(make-load-form)p Fw(.)j(This)d(allo)o(ws)g(the)h(user)0 +2329 y(to)h(program)e(the)j(notion)e(of)g(\\similar)e(as)j(a)g(constan) +o(t")g(\(see)h(section)g(25.1\).)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 715 739 +715 738 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(715)42 295 y Fw(The)14 b(second)h(v)n(alue,)e(called)h(the)h +Fv(initialization)f(form)p Fw(,)f(is)h(a)g(form)e(that,)i(when)h(ev)n +(al-)0 347 y(uated)i(at)f(load)f(time,)g(should)h(p)q(erform)f(further) +i(initialization)c(of)j(the)h(ob)r(ject.)25 b(The)0 399 +y(v)n(alue)15 b(returned)j(b)o(y)e(the)h(initialization)c(form)h(is)i +(ignored.)24 b(If)16 b(the)h Fs(make-load-form)0 450 +y Fw(metho)q(d)f(returns)i(only)e(one)g(v)n(alue,)h(the)g +(initialization)c(form)i(is)i Fs(nil)p Fw(,)f(whic)o(h)g(has)h(no)0 +502 y(e\013ect.)27 b(If)15 b(the)i(ob)r(ject)g(used)g(as)g(the)f +(argumen)o(t)f(to)h Fs(make-load-form)e Fw(app)q(ears)j(as)f(a)0 +554 y(constan)o(t)j(in)g(the)g(initialization)d(form,)i(at)g(load)g +(time)g(it)g(will)f(b)q(e)j(replaced)g(b)o(y)e(the)0 +606 y(equiv)n(alen)o(t)f(ob)r(ject)h(constructed)i(b)o(y)e(the)g +(creation)g(form;)f(this)h(is)f(ho)o(w)h(the)g(further)0 +658 y(initialization)11 b(gains)i(access)j(to)e(the)g(ob)r(ject.)42 +712 y(Tw)o(o)h(v)n(alues)g(are)h(returned)h(so)f(that)f(circular)h +(structures)i(ma)o(y)c(b)q(e)i(handled.)23 b(The)0 764 +y(order)14 b(of)f(ev)n(aluation)f(rules)i(discussed)h(b)q(elo)o(w)e +(for)g(creation)h(and)f(initialization)e(forms)0 816 +y(eliminates)h(the)j(p)q(ossibilit)o(y)e(of)g(partially)g(initialized)f +(ob)r(jects)j(in)f(the)h(absence)g(of)f(cir-)0 868 y(cular)h +(structures)i(and)d(reduces)j(the)e(p)q(ossibilit)o(y)e(to)h(a)h(minim) +n(um)10 b(in)k(the)h(presence)i(of)0 920 y(circular)g(structures.)29 +b(This)16 b(allo)o(ws)f(no)q(des)j(in)e(non-circular)h(structures)i(to) +d(b)q(e)h(built)0 972 y(out)d(of)f(fully)g(initialized)f(subparts.)42 +1026 y(Both)17 b(the)g(creation)g(form)e(and)i(the)g(initialization)d +(form)h(can)j(con)o(tain)e(references)0 1078 y(to)j(ob)r(jects)i(of)e +(user-de\014ned)j(t)o(yp)q(es)e(\(de\014ned)h(precisely)g(b)q(elo)o +(w\).)34 b(Ho)o(w)o(ev)o(er,)21 b(there)0 1130 y(m)o(ust)16 +b(not)h(b)q(e)h(an)o(y)f(circular)g(dep)q(endencies)j(in)c(creation)i +(forms.)26 b(An)18 b(example)d(of)i(a)0 1182 y(circular)d(dep)q +(endency:)21 b(the)15 b(creation)g(form)d(for)i(the)h(ob)r(ject)g +Fv(X)20 b Fw(con)o(tains)14 b(a)g(reference)0 1234 y(to)g(the)g(ob)r +(ject)h Fv(Y)8 b Fw(,)14 b(and)f(the)i(creation)f(form)f(for)g(the)i +(ob)r(ject)g Fv(Y)22 b Fw(con)o(tains)14 b(a)f(reference)0 +1286 y(to)20 b(the)i(ob)r(ject)f Fv(X)7 b Fw(.)20 b(A)g(simpler)g +(example:)30 b(the)21 b(creation)g(form)e(for)h(the)h(ob)r(ject)h +Fv(X)0 1338 y Fw(con)o(tains)17 b(a)f(reference)k(to)c +Fv(X)24 b Fw(itself.)i(Initialization)15 b(forms)g(are)i(not)g(sub)r +(ject)i(to)d(an)o(y)0 1390 y(restriction)d(against)e(circular)h(dep)q +(endencies,)i(whic)o(h)e(is)f(the)i(en)o(tire)f(reason)g(for)g(ha)o +(ving)0 1441 y(initialization)f(forms.)17 b(See)e(the)f(example)f(of)g +(circular)h(data)g(structures)i(b)q(elo)o(w.)42 1496 +y(The)c(creation)g(form)e(for)i(an)g(ob)r(ject)h(is)e(alw)o(a)o(ys)g +(ev)n(aluated)h(b)q(efore)h(the)f(initialization)0 1548 +y(form)f(for)h(that)h(ob)r(ject.)18 b(When)13 b(either)g(the)g +(creation)g(form)e(or)i(the)g(initialization)c(form)0 +1600 y(refers)20 b(to)f(other)g(ob)r(jects)h(of)e(user-de\014ned)i(t)o +(yp)q(es)g(that)e(ha)o(v)o(e)h(not)f(b)q(een)i(referenced)0 +1652 y(earlier)14 b(in)f(the)i Fs(compile-file)p Fw(,)c(the)j(compiler) +e(collects)j(all)d(of)i(the)g(creation)g(and)g(ini-)0 +1704 y(tialization)j(forms.)31 b(Eac)o(h)19 b(initialization)d(form)g +(is)j(ev)n(aluated)f(as)h(so)q(on)g(as)f(p)q(ossible)0 +1755 y(after)d(its)f(creation)h(form,)d(as)j(determined)f(b)o(y)g(data) +g(\015o)o(w.)20 b(If)14 b(the)h(initialization)c(form)0 +1807 y(for)17 b(an)f(ob)r(ject)i(do)q(es)g(not)f(refer)h(to)f(an)o(y)f +(other)i(ob)r(jects)g(of)f(user-de\014ned)i(t)o(yp)q(es)f(that)0 +1859 y(ha)o(v)o(e)c(not)f(b)q(een)i(referenced)h(earlier)e(in)f(the)i +Fs(compile-file)p Fw(,)10 b(the)15 b(initialization)10 +b(form)0 1911 y(is)h(ev)n(aluated)g(immediately)d(after)k(the)g +(creation)f(form.)16 b(If)11 b(a)g(creation)g(or)g(initialization)0 +1963 y(form)e Fv(F)17 b Fw(references)d(other)e(ob)r(jects)g(of)f +(user-de\014ned)i(t)o(yp)q(es)f(that)f(ha)o(v)o(e)g(not)h(b)q(een)g +(refer-)0 2015 y(enced)j(earlier)e(in)f(the)i Fs(compile-file)p +Fw(,)c(the)k(creation)g(forms)d(for)i(those)h(other)g(ob)r(jects)0 +2067 y(are)f(ev)n(aluated)f(b)q(efore)h Fv(F)18 b Fw(and)12 +b(the)h(initialization)d(forms)h(for)h(those)h(other)g(ob)r(jects)g +(are)0 2119 y(also)i(ev)n(aluated)g(b)q(efore)h Fv(F)21 +b Fw(whenev)o(er)16 b(they)g(do)f(not)h(dep)q(end)g(on)f(the)h(ob)r +(ject)g(created)0 2171 y(or)c(initialized)e(b)o(y)i Fv(F)p +Fw(.)g(Where)g(the)h(ab)q(o)o(v)o(e)f(rules)g(do)g(not)g(uniquely)f +(determine)h(an)g(order)0 2222 y(of)17 b(ev)n(aluation,)g(it)g(is)h +(unsp)q(eci\014ed)h(whic)o(h)f(of)f(the)h(p)q(ossible)g(orders)h(of)e +(ev)n(aluation)f(is)0 2274 y(c)o(hosen.)42 2329 y(While)f(these)i +(creation)g(and)e(initialization)f(forms)g(are)j(b)q(eing)f(ev)n +(aluated,)f(the)i(ob-)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 716 740 +716 739 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(716)77 b(COMMON)13 +b(LISP)0 295 y Fw(jects)g(are)g(p)q(ossibly)f(in)g(an)g(uninitialized)f +(state,)i(analogous)f(to)g(the)h(state)g(of)f(an)g(ob)r(ject)0 +347 y(b)q(et)o(w)o(een)i(the)g(time)d(it)i(has)f(b)q(een)i(created)h(b) +o(y)d Fs(allocate-instance)e Fw(and)i(it)h(has)g(b)q(een)0 +399 y(pro)q(cessed)i(fully)d(b)o(y)h Fs(initialize-instanc)o(e)p +Fw(.)i(Programmers)c(writing)h(metho)q(ds)h(for)0 450 +y Fs(make-load-form)i Fw(m)o(ust)i(tak)o(e)g(care)i(in)e(manipulating)e +(ob)r(jects)k(not)e(to)h(dep)q(end)h(on)0 502 y(slots)14 +b(that)g(ha)o(v)o(e)g(not)f(y)o(et)i(b)q(een)g(initialized.)42 +554 y(It)f(is)h(unsp)q(eci\014ed)i(whether)f Fs(load)e +Fw(calls)g Fs(eval)g Fw(on)h(the)g(forms)f(or)h(do)q(es)g(some)f(other) +0 606 y(op)q(eration)19 b(that)g(has)g(an)g(equiv)n(alen)o(t)f +(e\013ect.)36 b(F)m(or)18 b(example,)h(the)g(forms)f(migh)o(t)f(b)q(e)0 +658 y(translated)d(in)o(to)e(di\013eren)o(t)i(but)f(equiv)n(alen)o(t)f +(forms)g(and)h(then)h(ev)n(aluated;)e(they)i(migh)o(t)0 +710 y(b)q(e)f(compiled)e(and)h(the)h(resulting)f(functions)h(called)f +(b)o(y)g Fs(load)f Fw(\(after)i(they)g(themselv)o(es)0 +762 y(ha)o(v)o(e)j(b)q(een)h(loaded\);)g(or)f(they)h(migh)o(t)d(b)q(e)j +(in)o(terpreted)h(b)o(y)e(a)g(sp)q(ecial-purp)q(ose)i(in)o(ter-)0 +814 y(preter)c(di\013eren)o(t)f(from)d Fs(eval)p Fw(.)17 +b(All)11 b(that)h(is)g(required)h(is)f(that)g(the)h(e\013ect)h(b)q(e)e +(equiv)n(alen)o(t)0 866 y(to)i(ev)n(aluating)e(the)j(forms.)42 +917 y(It)c(is)h(v)n(alid)e(for)i(user)h(programs)d(to)i(call)f +Fs(make-load-form)e Fw(in)i(circumstances)i(other)0 969 +y(than)f(compilation,)c(pro)o(viding)j(the)h(argumen)o(t's)f(metaclass) +g(is)g(not)h Fs(built-in-class)0 1021 y Fw(or)i(a)f(sub)q(class)i(of)f +Fs(built-in-class)p Fw(.)42 1073 y(Applying)8 b Fs(make-load-form)e +Fw(to)j(an)h(ob)r(ject)g(whose)g(metaclass)e(is)i Fs(standard-class)0 +1125 y Fw(or)16 b Fs(structure-class)e Fw(for)i(whic)o(h)g(no)g +(user-de\014ned)j(metho)q(d)c(is)i(applicable)e(signals)0 +1177 y(an)f(error.)21 b(It)14 b(is)g(v)n(alid)f(to)h(implemen)o(t)e +(this)i(either)i(b)o(y)e(de\014ning)g(default)g(metho)q(ds)g(for)0 +1229 y(the)h(classes)g Fs(standard-object)c Fw(and)j +Fs(structure-object)d Fw(that)j(signal)g(an)g(error)h(or)0 +1281 y(b)o(y)f(ha)o(ving)e(no)i(applicable)f(metho)q(d)g(for)h(those)g +(classes.)42 1333 y(See)g Fs(load-time-eval)p Fw(.)42 +1384 y(In)21 b(the)h(follo)o(wing)c(example,)k(an)f(equiv)n(alen)o(t)f +(instance)j(of)d Fs(my-class)g Fw(is)h(recon-)0 1436 +y(structed)16 b(b)o(y)e(using)g(the)h(v)n(alues)f(of)g(t)o(w)o(o)g(of)g +(its)g(slots.)19 b(The)c(v)n(alue)f(of)g(the)g(third)h(slot)f(is)0 +1488 y(deriv)o(ed)g(from)f(those)h(t)o(w)o(o)g(v)n(alues.)0 +1571 y Fs(\(defclass)19 b(my-class)h(\(\))63 b(\(\(a)20 +b(:initarg)g(:a)h(:reader)e(my-a\))64 1623 y(\(b)h(:initarg)g(:b)h +(:reader)e(my-b\))64 1675 y(\(c)h(:accessor)g(my-c\)\)\))0 +1779 y(\(defmethod)f(shared-initialize)f(\(\(self)i(my-class\))f(slots) +h(&rest)g(inits\))42 1831 y(\(declare)g(\(ignore)g(slots)g(inits\)\))42 +1883 y(\(unless)g(\(slot-boundp)f(self)605 1887 y Fn(')628 +1883 y Fs(c\))85 1934 y(\(setf)h(\(my-c)g(self\))212 +1986 y(\(some-computatio)o(n)e(\(my-a)i(self\))h(\(my-b)f +(self\)\)\)\)\))0 2090 y(\(defmethod)f(make-load-form)f(\(\(self)i +(my-class\)\))40 2146 y Fn(`)64 2142 y Fs(\(make-instance)388 +2146 y Fn(')411 2142 y Fs(,\(class-name)f(\(class-of)g(self\)\))381 +2194 y(:a)444 2198 y Fn(')467 2194 y Fs(,\(my-a)h(self\))g(:b)812 +2198 y Fn(')835 2194 y Fs(,\(my-b)g(self\)\)\))0 2277 +y Fw(This)g(co)q(de)h(will)e(fail)g(if)g(either)j(of)d(the)i(\014rst)g +(t)o(w)o(o)f(slots)g(of)g(some)g(instance)h(of)e Fs(my-)0 +2329 y(class)13 b Fw(con)o(tains)h(the)g(instance)h(itself.)j(Another)d +(w)o(a)o(y)e(to)h(write)g(the)h(last)e(form)g(in)g(the)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 717 741 +717 740 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(717)0 295 y Fw(preceding)15 b(example)e(is)0 +378 y Fs(\(defmethod)19 b(make-load-form)f(\(\(self)i(my-class\)\))42 +430 y(\(make-load-form-sav)o(ing-s)o(lots)e(self)780 +434 y Fn(')803 430 y Fs(\(a)j(b\)\)\))0 513 y Fw(This)14 +b(has)g(the)g(adv)n(an)o(tages)g(of)f(conciseness)j(and)e(handling)f +(circularities)h(correctly)m(.)42 565 y(In)d(the)h(next)f(example,)f +(instances)j(of)d(class)i Fs(my-frob)e Fw(are)i(\\in)o(terned")f(in)g +(some)f(w)o(a)o(y)m(.)0 616 y(An)17 b(equiv)n(alen)o(t)g(instance)g(is) +g(reconstructed)j(b)o(y)d(using)g(the)g(v)n(alue)g(of)f(the)i +Fs(name)e Fw(slot)0 668 y(as)g(a)f(k)o(ey)h(for)f(searc)o(hing)h(for)f +(existing)h(ob)r(jects.)24 b(In)16 b(this)f(case)i(the)f(programmer)e +(has)0 720 y(c)o(hosen)k(to)g(create)g(a)f(new)h(ob)r(ject)g(if)f(no)g +(existing)g(ob)r(ject)h(is)g(found;)g(an)f(alternativ)o(e)0 +772 y(p)q(ossibilit)o(y)c(w)o(ould)g(b)q(e)h(to)g(signal)f(an)g(error)i +(in)f(that)g(case.)0 855 y Fs(\(defclass)19 b(my-frob)h(\(\))42 +907 y(\(\(name)g(:initarg)g(:name)g(:reader)g(my-name\)\)\))0 +1011 y(\(defmethod)f(make-load-form)f(\(\(self)i(my-frob\)\))40 +1067 y Fn(`)64 1063 y Fs(\(find-my-frob)366 1067 y Fn(')389 +1063 y Fs(,\(my-name)f(self\))i(:if-does-not-exi)o(st)d(:create\)\))42 +1146 y Fw(In)c(the)h(follo)o(wing)d(example,)h(the)j(data)e(structure)j +(to)d(b)q(e)h(dump)q(ed)f(is)h(circular,)f(b)q(e-)0 1198 +y(cause)d(eac)o(h)g(no)q(de)g(of)f(a)g(tree)i(has)e(a)g(list)g(of)g +(its)g(c)o(hildren)h(and)f(eac)o(h)h(c)o(hild)f(has)g(a)g(reference)0 +1249 y(bac)o(k)k(to)g(its)f(paren)o(t.)0 1333 y Fs(\(defclass)19 +b(tree-with-parent)f(\(\))j(\(\(parent)e(:accessor)h(tree-parent\))656 +1384 y(\(children)g(:initarg)f(:children\)\)\))0 1467 +y(\(defmethod)g(make-load-form)f(\(\(x)j(tree-with-parent\))o(\))42 +1519 y(\(values)82 1575 y Fn(`)106 1571 y Fs(\(make-instance)430 +1575 y Fn(')453 1571 y Fs(,\(class-of)e(x\))423 1623 +y(:children)638 1627 y Fn(')662 1623 y Fs(,\(slot-value)g(x)985 +1627 y Fn(')1009 1623 y Fs(children\)\))82 1679 y Fn(`)106 +1675 y Fs(\(setf)h(\(tree-parent)516 1679 y Fn(')540 +1675 y Fs(,x\))624 1679 y Fn(')648 1675 y Fs(,\(slot-value)e(x)971 +1679 y Fn(')994 1675 y Fs(parent\)\)\)\))0 1758 y Fw(Supp)q(ose)h +Fs(make-load-form)c Fw(is)i(called)h(on)g(one)g(ob)r(ject)g(in)g(suc)o +(h)h(a)e(structure.)32 b(The)0 1810 y(creation)11 b(form)d(creates)k +(an)e(equiv)n(alen)o(t)g(ob)r(ject)h(and)f(\014lls)g(in)g(the)h +Fs(children)e Fw(slot,)h(whic)o(h)0 1862 y(forces)15 +b(creation)f(of)f(equiv)n(alen)o(t)g(ob)r(jects)i(for)e(all)g(of)g(its) +g(c)o(hildren,)h(grandc)o(hildren,)f(etc.)0 1914 y(A)o(t)j(this)g(p)q +(oin)o(t)f(none)h(of)f(the)i(paren)o(t)f(slots)g(ha)o(v)o(e)g(b)q(een)h +(\014lled)e(in.)23 b(The)16 b(initialization)0 1966 y(form)c(\014lls)g +(in)h(the)h Fs(parent)e Fw(slot,)h(whic)o(h)g(forces)i(creation)e(of)g +(an)g(equiv)n(alen)o(t)g(ob)r(ject)h(for)0 2017 y(the)i(paren)o(t)f(if) +f(it)h(w)o(as)f(not)h(already)g(created.)22 b(Th)o(us)16 +b(the)f(en)o(tire)h(tree)g(is)f(recreated)i(at)0 2069 +y(load)12 b(time.)k(A)o(t)d(compile)e(time,)g Fs(make-load-form)e +Fw(is)k(called)f(once)h(for)g(eac)o(h)g(ob)r(ject)g(in)0 +2121 y(the)i(tree.)k(All)13 b(the)i(creation)f(forms)e(are)j(ev)n +(aluated,)e(in)g(unsp)q(eci\014ed)j(order,)e(and)g(then)0 +2173 y(all)f(the)h(initialization)d(forms)i(are)h(ev)n(aluated,)f(also) +h(in)f(unsp)q(eci\014ed)j(order.)42 2225 y(In)9 b(this)g(\014nal)g +(example,)g(the)h(data)f(structure)i(to)f(b)q(e)g(dump)q(ed)f(has)g(no) +g(sp)q(ecial)h(prop)q(er-)0 2277 y(ties)h(and)f(an)g(equiv)n(alen)o(t)g +(structure)i(can)f(b)q(e)f(reconstructed)k(simply)8 b(b)o(y)i +(reconstructing)0 2329 y(the)k(slots')g(con)o(ten)o(ts.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 718 742 +718 741 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(718)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(defstruct)19 b(my-struct)g(a)i(b)g(c\))0 +355 y(\(defmethod)e(make-load-form)f(\(\(s)j(my-struct\)\))42 +407 y(\(make-load-form-sav)o(ing-s)o(lots)d(s\)\))0 495 +y Fw(This)c(is)g(easy)g(to)g(co)q(de)g(using)g Fs(make-load-form-sa)o +(ving-)o(slots)o Fw(.)1209 637 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(make-load-form-sa)o(ving-)o(slots)18 +b Fv(obje)n(ct)25 b Fs(&optional)19 b Fv(slots)0 714 +y Fw(This)c(returns)h(t)o(w)o(o)e(v)n(alues)h(suitable)f(for)h(return)h +(from)d(a)h Fs(make-load-form)e Fw(metho)q(d.)0 766 y(The)17 +b(\014rst)g(argumen)o(t)e(is)h(the)h(ob)r(ject.)27 b(The)17 +b(optional)d(second)k(argumen)o(t)d(is)h(a)g(list)g(of)0 +818 y(the)e(names)g(of)f(slots)h(to)g(preserv)o(e;)h(it)f(defaults)f +(to)h(all)f(of)g(the)i(lo)q(cal)e(slots.)42 870 y Fs(make-load-form-)o +(savin)o(g-slo)o(ts)7 b Fw(returns)12 b(forms)e(that)g(construct)i(an)e +(equiv)n(alen)o(t)0 922 y(ob)r(ject)18 b(using)e Fs(make-instance)e +Fw(and)i Fs(setf)g Fw(of)g Fs(slot-value)f Fw(for)h(slots)h(with)f(v)n +(alues,)0 974 y(or)c Fs(slot-makunbound)e Fw(for)i(slots)g(without)h(v) +n(alues,)f(or)g(other)h(functions)g(of)e(equiv)n(alen)o(t)0 +1026 y(e\013ect.)42 1078 y(Because)21 b Fs(make-load-form-savi)o(ng-sl) +o(ots)c Fw(returns)k(t)o(w)o(o)f(v)n(alues,)g(it)g(can)g(deal)0 +1130 y(with)11 b(circular)h(structures;)i(it)e(w)o(orks)f(for)g(an)o(y) +g(ob)r(ject)i(of)e(metaclass)g Fs(standard-class)0 1182 +y Fw(or)f Fs(structure-class)p Fw(.)k(Whether)d(the)f(result)h(is)f +(useful)g(dep)q(ends)i(on)e(whether)h(the)g(ob-)0 1234 +y(ject's)i(t)o(yp)q(e)g(and)f(slot)f(con)o(ten)o(ts)j(fully)d(capture)i +(an)f(application's)f(idea)h(of)f(the)i(ob)r(ject's)0 +1286 y(state.)-33 1298 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1449 a Fo(23.5.)20 b(Accessing)15 b(Directories)0 +1538 y Fw(The)k(follo)o(wing)c(function)j(is)g(a)g(v)o(ery)h(simple)e +(p)q(ortable)h(primitiv)o(e)e(for)i(examining)e(a)0 1590 +y(directory)m(.)43 b(Most)22 b(\014le)g(systems)g(can)h(supp)q(ort)g(m) +o(uc)o(h)d(more)h(p)q(o)o(w)o(erful)h(directory-)0 1642 +y(searc)o(hing)12 b(primitiv)o(es,)e(but)h(no)g(t)o(w)o(o)g(are)h(alik) +o(e.)17 b(It)11 b(is)g(exp)q(ected)j(that)d(most)g(implem)o(en-)0 +1694 y(tations)i(of)g(Common)d(Lisp)j(will)f(extend)j(the)f +Fs(directory)d Fw(function)i(or)g(pro)o(vide)h(more)0 +1746 y(p)q(o)o(w)o(erful)f(primitiv)o(es.)1209 1888 y([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(directory)19 b Fv(p)n(athname)26 +b Fs(&key)0 1965 y Fw(A)10 b(list)f(of)h(pathnames)f(is)g(returned,)j +(one)e(for)g(eac)o(h)g(\014le)g(in)f(the)i(\014le)f(system)f(that)h +(matc)o(hes)0 2017 y(the)15 b(giv)o(en)e Fv(p)n(athname)p +Fw(.)19 b(\(The)c Fv(p)n(athname)g Fw(argumen)o(t)e(ma)o(y)f(b)q(e)i(a) +g(pathname,)e(a)i(string,)0 2069 y(or)k(a)g(stream)f(asso)q(ciated)i +(with)f(a)f(\014le.\))31 b(F)m(or)18 b(a)f(\014le)h(that)h(matc)o(hes,) +f(the)g Fs(truename)0 2121 y Fw(app)q(ears)d(in)f(the)h(result)g(list.) +20 b(If)14 b(no)g(\014le)g(matc)o(hes)g(the)h Fv(p)n(athname)p +Fw(,)g(it)f(is)h(not)f(an)g(error;)0 2173 y Fs(directory)c +Fw(simply)g(returns)j Fs(nil)p Fw(,)f(the)g(list)g(of)f(no)h(results.) +18 b(Keyw)o(ords)13 b(suc)o(h)g(as)f Fs(:wild)0 2225 +y Fw(and)i Fs(:newest)e Fw(ma)o(y)g(b)q(e)j(used)f(in)g +Fv(p)n(athname)h Fw(to)e(indicate)h(the)h(searc)o(h)g(space.)42 +2277 y(X3J13)e(v)o(oted)g(in)g(Marc)o(h)h(1988)e Ft(h)p +Fw(132)p Ft(i)h Fw(to)g(sp)q(ecify)h(exactly)f(whic)o(h)g(streams)h(ma) +o(y)d(b)q(e)-33 2249 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a(used)k(as)f(pathnames.)j(See)e(section)f(23.1.6.) +-33 2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 719 743 +719 742 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(FILE)13 b(SYSTEM)f(INTERF)m(A)o +(CE)880 b(719)42 295 y Fw(X3J13)13 b(v)o(oted)i(in)e(Jan)o(uary)i(1989) +e Ft(h)p Fw(15)p Ft(i)h Fw(to)g(sp)q(ecify)h(that)f Fs(directory)e +Fw(is)i(una\013ected)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(b)o(y)19 b(whether)h(the)g(\014rst)g(argumen)o(t,) +f(if)f(a)h(stream,)g(is)g(op)q(en)h(or)f(closed.)34 b(If)19 +b(the)h(\014rst)0 399 y(argumen)o(t)15 b(is)h(a)g(stream,)g +Fs(directory)e Fw(b)q(eha)o(v)o(es)k(as)e(if)f(the)i(function)f +Fs(pathname)f Fw(w)o(ere)0 450 y(applied)j(to)g(the)h(stream)f(and)g +(the)i(resulting)e(pathname)f(used)j(instead.)32 b(Ho)o(w)o(ev)o(er,)0 +502 y(X3J13)10 b(commen)o(ted)g(that)g(the)i(treatmen)o(t)e(of)h(op)q +(en)g(streams)f(ma)o(y)f(di\013er)j(considerably)0 554 +y(from)f(one)j(implemen)o(tatio)o(n)d(to)i(another;)g(for)g(example,)e +(in)i(some)f(op)q(erating)i(systems)0 606 y(op)q(en)f(\014les)g(are)g +(written)g(under)h(a)e(temp)q(orary)g(or)h(in)o(visible)e(name)h(and)g +(later)h(renamed)0 658 y(when)j(closed.)24 b(In)16 b(general,)g +(programmers)e(writing)h(co)q(de)h(in)o(tended)h(to)e(b)q(e)i(p)q +(ortable)0 710 y(should)d(b)q(e)g(careful)g(when)h(using)e +Fs(directory)p Fw(.)-33 722 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 762 a(X3J13)19 b(v)o(oted)g(in)h(June)g(1989)f +Ft(h)p Fw(130)p Ft(i)g Fw(to)g(require)i Fs(directory)c +Fw(to)j(accept)g(logical)-33 733 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 814 a(pathnames)15 b(\(see)i(section)g(23.1.5\).)22 +b(Ho)o(w)o(ev)o(er,)16 b(the)h(result)f(returned)i(b)o(y)e +Fs(directory)0 866 y Fw(nev)o(er)f(con)o(tains)f(a)f(logical)f +(pathname.)-33 877 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 925 V 0 985 a Fm(Implemen)o(tation)19 +b(note:)29 b FA(It)18 b(is)i(an)o(ticipated)h(that)e(an)g(implemen)o +(tation)i(ma)o(y)e(need)h(to)0 1031 y(pro)o(vide)13 b(additional)j +(parameters)c(to)g(con)o(trol)h(the)f(directory)h(searc)o(h.)k +(Therefore)12 b Fj(directory)0 1077 y FA(is)20 b(sp)q(eci\014ed)h(to)e +(tak)o(e)g(additional)k(k)o(eyw)o(ord)c(argumen)o(ts)h(so)g(that)f +(implemen)o(tations)j(ma)o(y)0 1122 y(exp)q(erimen)o(t)14 +b(with)f(extensions,)i(ev)o(en)e(though)h(no)f(particular)i(k)o(eyw)o +(ords)e(are)g(sp)q(eci\014ed)i(here.)42 1168 y(As)h(a)h(simple)i +(example)f(of)f(suc)o(h)g(an)h(extension,)h(for)e(a)g(\014le)h(system)f +(that)g(supp)q(orts)h(the)0 1214 y(notion)f(of)d(cross-directory)j +(\014le)f(links,)i(a)d(k)o(eyw)o(ord)g(argumen)o(t)h +Fj(:links)d FA(migh)o(t,)j(if)g(non-)p Fj(nil)p FA(,)0 +1259 y(sp)q(ecify)e(that)f(suc)o(h)h(links)h(b)q(e)e(included)j(in)e +(the)f(result)h(list.)p 0 1293 V -33 2344 a @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 720 744 +720 743 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(24)p 0 448 598 +9 v 0 531 a Fp(Erro)n(rs)0 885 y Fw(Errors)22 b(ma)o(y)d(b)q(e)i +(signaled)f(for)g(a)h(v)n(ariet)o(y)f(of)g(reasons.)39 +b(Man)o(y)21 b(built-in)e(Common)0 936 y(Lisp)e(functions)h(ma)o(y)d +(signal)i(an)g(error)i(when)f(giv)o(en)f(incorrect)h(argumen)o(ts.)29 +b(Other)0 988 y(functions,)15 b(describ)q(ed)i(in)e(this)g(c)o(hapter,) +i(ma)o(y)c(b)q(e)j(called)f(b)o(y)g(user)h(programs)e(for)h(the)0 +1040 y(purp)q(ose)g(of)e(signaling)f(an)i(error.)42 1092 +y(When)j(an)f(error)i(is)f(signaled,)f(it)h(is)g(handled)g(in)f(an)h +(implem)o(en)o(tation-dep)q(enden)o(t)0 1144 y(w)o(a)o(y)m(.)24 +b(It)16 b(is)g(exp)q(ected)j(that)d(eac)o(h)h(implemen)o(tati)o(on)c +(of)j(Common)d(Lisp)j(will)f(pro)o(vide)0 1196 y(an)20 +b(in)o(teractiv)o(e)h(debugger)h(that)e(prin)o(ts)h(the)g(error)h +(message)e(along)g(with)g(suitable)0 1248 y(con)o(textual)c +(information)d(suc)o(h)k(as)f(whic)o(h)g(function)g(detected)i(the)f +(error.)25 b(The)17 b(user)0 1300 y(ma)o(y)9 b(in)o(teract)i(with)g +(the)g(debugger)h(to)e(examine)g(or)g(mo)q(dify)f(the)i(state)h(of)e +(the)h(program)0 1352 y(in)h(v)n(arious)g(w)o(a)o(ys,)g(including)g +(abandoning)f(the)j(curren)o(t)g(computation)d(\(\\ab)q(orting)h(to)0 +1403 y(top)g(lev)o(el"\))g(and)g(con)o(tin)o(uing)f(from)f(the)j +(error.)18 b(What)12 b(\\con)o(tin)o(uing")f(means)g(dep)q(ends)0 +1455 y(on)16 b(ho)o(w)g(the)h(error)g(is)g(signaled;)f(the)h(details)f +(of)g(this)g(are)h(sp)q(eci\014ed)h(b)q(elo)o(w)e(for)g(eac)o(h)0 +1507 y(error-signaling)d(function.)42 1559 y(An)g(implemen)o(tation)d +(ma)o(y)i(also)g(c)o(ho)q(ose)j(to)e(pro)o(vide)g(means)g(\(suc)o(h)h +(as)g(the)g Fs(errset)-38 1534 y Fk(.)-38 1547 y(.)-38 +1560 y(.)-38 1573 y(.)-38 1586 y(.)-38 1599 y(.)-38 1612 +y(.)-38 1625 y(.)-38 1638 y(.)-38 1651 y(.)-38 1664 y(.)-38 +1677 y(.)-38 1690 y(.)-38 1703 y(.)-38 1716 y(.)-38 1729 +y(.)-38 1742 y(.)-38 1755 y(.)-38 1768 y(.)-38 1781 y(.)-38 +1794 y(.)-38 1807 y(.)-38 1820 y(.)-38 1832 y(.)-38 1845 +y(.)-38 1858 y(.)-38 1871 y(.)-38 1884 y(.)-38 1897 y(.)-38 +1910 y(.)-38 1923 y(.)-38 1936 y(.)-38 1949 y(.)-38 1962 +y(.)-38 1975 y(.)-38 1988 y(.)-38 2001 y(.)-38 2014 y(.)-38 +2027 y(.)-38 2040 y(.)-38 2053 y(.)-38 2066 y(.)-38 2079 +y(.)-38 2092 y(.)-38 2105 y(.)-38 2118 y(.)-38 2131 y(.)-38 +2144 y(.)-38 2157 y(.)-38 2170 y(.)-38 2183 y(.)-38 2196 +y(.)-38 2209 y(.)-38 2222 y(.)-38 2235 y(.)-38 2248 y(.)-38 +2261 y(.)-38 2274 y(.)-38 2287 y(.)-38 2299 y(.)-38 2312 +y(.)-38 2325 y(.)-38 2338 y(.)-38 2351 y(.)-38 2364 y(.)-38 +2377 y(.)-38 2390 y(.)-38 2403 y(.)-38 2416 y(.)-38 2429 +y(.)-38 2442 y(.)-38 2455 y(.)-38 2468 y(.)-38 2481 y(.)-38 +2494 y(.)-38 2507 y(.)-38 2520 y(.)-38 2533 y(.)-38 2546 +y(.)-38 2559 y(.)-38 2572 y(.)-38 2585 y(.)-38 2598 y(.)-38 +2611 y(.)-38 2624 y(.)-38 2637 y(.)-38 2650 y(.)-38 2663 +y(.)-38 2676 y(.)-38 2689 y(.)-38 2702 y(.)-38 2715 y(.)-38 +2728 y(.)-38 2741 y(.)-38 2754 y(.)-38 2766 y(.)-38 2779 +y(.)-38 2792 y(.)-38 2805 y(.)-38 2818 y(.)-38 2831 y(.)-38 +2844 y(.)-38 2857 y(.)-38 2870 y(.)-38 2883 y(.)-38 2896 +y(.)-38 2909 y(.)-38 2922 y(.)-38 2935 y(.)-38 2948 y(.)-38 +2961 y(.)-38 2974 y(.)-38 2987 y(.)-38 3000 y(.)-38 3013 +y(.)-38 3026 y(.)-38 3039 y(.)-38 3052 y(.)-38 3065 y(.)-38 +3078 y(.)-38 3091 y(.)-38 3104 y(.)-38 3117 y(.)-38 3130 +y(.)-38 3143 y(.)-38 3156 y(.)-38 3169 y(.)-38 3182 y(.)-38 +3195 y(.)-38 3208 y(.)-38 3221 y(.)-38 3233 y(.)-38 3246 +y(.)-38 3259 y(.)-38 3272 y(.)-38 3285 y(.)-38 3298 y(.)-38 +3311 y(.)-38 3324 y(.)-38 3337 y(.)-38 3350 y(.)-38 3363 +y(.)-38 3376 y(.)-38 3389 y(.)-38 3402 y(.)-38 3415 y(.)-38 +3428 y(.)-38 3441 y(.)-38 3454 y(.)-38 3467 y(.)-38 3480 +y(.)-38 3493 y(.)-38 3506 y(.)-38 3519 y(.)-38 3532 y(.)-38 +3545 y(.)-38 3558 y(.)-38 3571 y(.)-38 3584 y(.)-38 3597 +y(.)-38 3610 y(.)-38 3623 y(.)-38 3636 y(.)-38 3649 y(.)-38 +3662 y(.)-38 3675 y(.)-38 3688 y(.)-38 3700 y(.)-38 3713 +y(.)-38 3726 y(.)-38 3739 y(.)-38 3752 y(.)-38 3765 y(.)-38 +3778 y(.)-38 3791 y(.)-38 3804 y(.)-38 3817 y(.)-38 3830 +y(.)-38 3843 y(.)-38 3856 y(.)-38 3869 y(.)-38 3882 y(.)-38 +3895 y(.)-38 3908 y(.)-38 3921 y(.)-38 3934 y(.)-38 3947 +y(.)-38 3960 y(.)-38 3973 y(.)-38 3986 y(.)-38 3999 y(.)-38 +4012 y(.)-38 4025 y(.)-38 4038 y(.)-38 4051 y(.)-38 4064 +y(.)-38 4077 y(.)-38 4090 y(.)-38 4103 y(.)-38 4116 y(.)0 +1611 y Fw(sp)q(ecial)19 b(form)e(in)h(MacLisp\))h(for)f(a)g(program)f +(to)h(trap)h(all)e(errors)j(and)f(prev)o(en)o(t)g(the)0 +1663 y(debugger)c(from)d(stepping)i(in)g(for)f(certain)i(errors.)p +0 1723 598 2 v 0 1783 a Fm(Rationale:)h FA(Error)11 b(handling)j(of)d +(adequate)i(\015exibilit)o(y)h(and)e(p)q(o)o(w)o(er)f(for)g(all)h +(systems)g(written)0 1829 y(in)e(Common)f(Lisp)g(app)q(ears)h(to)f +(require)h(a)f(complex)h(error)f(classi\014cation)j(system.)k(Exp)q +(erience)0 1874 y(with)f(sev)o(eral)g(error-handling)j(systems)c(in)h +(suc)o(h)g(dialects)i(as)d(MacLisp)i(and)f(Lisp)g(Mac)o(hine)0 +1920 y(Lisp)i(indicates)i(that)e(further)f(exp)q(erimen)o(tation)k(is)d +(needed)g(in)h(this)f(area;)h(it)f(is)g(to)q(o)g(early)0 +1966 y(to)e(de\014ne)g(a)g(standard)h(error-handling)i(mec)o(hanism.)23 +b(Therefore)15 b(Common)g(Lisp)h(pro)o(vides)0 2011 y(standard)f(w)o(a) +o(ys)e(to)g Fq(signal)e FA(errors,)i(but)h(no)f(standard)i(w)o(a)o(ys)e +(to)g Fq(hand)r(le)e FA(errors.)18 b(Of)13 b(course)h(a)0 +2057 y(complete)e(Lisp)f(system)g(requires)g(error-handling)j(mec)o +(hanisms,)e(but)f(man)o(y)g(useful)g(p)q(ortable)0 2103 +y(programs)h(do)f(not)g(require)h(them.)k(It)11 b(is)g(exp)q(ected)h +(that)f(a)g(future)g(revision)i(of)e(Common)g(Lisp)0 +2148 y(will)k(address)f(the)f(problem)h(of)f(p)q(ortable)i +(error-handling)g(mec)o(hanisms.)p 0 2182 V -33 2194 +a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2277 a Fw(X3J13)i(v)o(oted)i(in)e(June)i(1988)f +Ft(h)p Fw(30)p Ft(i)g Fw(to)g(adopt)g(a)f(prop)q(osal)h(for)g(a)g +(Common)d(Lisp)-33 2249 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a(Condition)g(System.)23 b(This)16 +b(w)o(as)g(the)h(result)f(of)g(the)g(researc)o(h)i(and)e(exp)q(erimen)o +(tation)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2428 a Fy(720)p eop +%%Page: 721 745 +721 744 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(ERRORS)1190 b(721)0 +295 y Fw(alluded)17 b(to)g(in)g(the)h(preceding)h(paragraph.)29 +b(Conditions)16 b(subsume)i(and)f(generalize)0 347 y(the)e(notion)g(of) +f(errors.)22 b(The)15 b(condition)f(system)h(also)f(pro)o(vides)h +(means)f(for)h(handling)0 399 y(conditions)10 b(\(of)g(whic)o(h)g +(errors)h(are)g(a)f(sp)q(ecial)g(case\))i(and)e(for)g(restarting)h(a)e +(computation)0 450 y(after)14 b(a)g(condition)f(has)h(b)q(een)h +(signaled.)i(See)e(c)o(hapter)g(29.)-33 462 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 510 V 0 570 a Fm(Compatibilit)o(y)g(note:)23 +b FA(What)16 b(is)g(here)g(called)i(\\con)o(tin)o(uing,")h(Lisp)d(Mac)o +(hine)h(Lisp)g(calls)0 616 y(\\pro)q(ceeding")f(from)c(an)i(error.)42 +662 y(In)e(the)h(new)g(terminology)i(in)o(tro)q(duced)g(in)f(c)o +(hapter)f(29,)g(what)g(Lisp)h(Mac)o(hine)g(Lisp)g(called)-33 +636 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 707 a(\\pro)q(ceeding")g(w)o(ould)e(b)q(e)g(called)h +(\\restarting,")g(and)f(\\con)o(tin)o(uing")i(refers)e(to)f(the)g +(particular)0 753 y(restart)i(named)h Fj(continue)p FA(.)-33 +763 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 776 V 0 873 a Fo(24.1.)20 b(General)14 +b(Error-Signaling)g(F)-5 b(unctions)0 950 y Fw(The)15 +b(functions)f(in)g(this)g(section)h(pro)o(vide)f(v)n(arious)f(mec)o +(hanisms)g(for)h(signaling)e(w)o(arn-)0 1002 y(ings,)h(breaks,)h(con)o +(tin)o(uable)g(errors,)g(and)g(fatal)f(errors.)42 1054 +y(In)j(eac)o(h)i(case,)g(the)f(caller)g(sp)q(eci\014es)i(an)d(error)i +(message)f(\(a)f(string\))h(that)g(ma)o(y)e(b)q(e)0 1106 +y(pro)q(cessed)j(\(and)e(p)q(erhaps)h(displa)o(y)o(ed)e(to)g(the)i +(user\))g(b)o(y)e(the)h(error-handling)g(mec)o(ha-)0 +1158 y(nism.)23 b(All)15 b(messages)h(are)h(constructed)h(b)o(y)e +(applying)e(the)j(function)f Fs(format)e Fw(to)i(the)0 +1210 y(quan)o(tities)e Fs(nil)p Fw(,)e Fv(format-string)p +Fw(,)g(and)i(all)f(the)h Fv(ar)n(gs)g Fw(to)g(pro)q(duce)h(a)e(string.) +42 1262 y(An)k(error)g(message)g(string)g(should)g(not)g(con)o(tain)f +(a)h(newline)g(c)o(haracter)h(at)f(either)0 1313 y(the)h(b)q(eginning)f +(or)g(end,)i(and)e(should)g(not)h(con)o(tain)f(an)o(y)g(sort)h(of)e +(herald)i(indicating)0 1365 y(that)d(it)f(is)g(an)h(error.)21 +b(The)15 b(system)f(will)g(tak)o(e)g(care)i(of)e(these)i(according)e +(to)h(whatev)o(er)0 1417 y(its)f(preferred)i(st)o(yle)e(ma)o(y)e(b)q +(e.)42 1469 y(Con)o(v)o(en)o(tionally)m(,)e(error)k(messages)f(are)g +(complete)g(English)f(sen)o(tences)k(ending)d(with)0 +1521 y(a)19 b(p)q(erio)q(d.)33 b(Newlines)20 b(in)e(the)i(middle)d(of)i +(long)f(messages)h(are)g(acceptable.)35 b(There)0 1573 +y(should)16 b(b)q(e)g(no)g(inden)o(tation)f(after)h(a)g(newline)g(in)f +(the)i(middle)d(of)h(an)h(error)g(message.)0 1625 y(The)c(error)h +(message)e(need)i(not)f(men)o(tion)e(the)i(name)e(of)i(the)g(function)f +(that)h(signals)f(the)0 1677 y(error;)j(it)g(is)g(assumed)f(that)h(the) +h(debugger)f(will)f(mak)o(e)f(this)i(information)d(a)o(v)n(ailable.)p +0 1736 V 0 1797 a Fm(Implemen)o(tation)16 b(note:)24 +b FA(If)15 b(the)h(debugger)i(in)f(a)f(particular)i(implemen)o(tation)h +(displa)o(ys)0 1842 y(error)c(messages)g(inden)o(ted)i(from)d(the)h +(prev)n(ailing)j(left)c(margin)i(\(for)f(example,)h(inden)o(ted)g(b)o +(y)0 1888 y(sev)o(en)g(spaces)h(b)q(ecause)g(they)f(are)g(pre\014xed)h +(b)o(y)f(the)g(sev)o(en-c)o(haracter)h(herald)g(\\)p +Fj(Error:)g FA("\),)0 1934 y(then)e(the)f(debugger)i(should)g(tak)o(e)e +(care)g(of)g(inserting)j(the)d(appropriate)j(inden)o(tation)f(in)o(to)g +(a)0 1979 y(m)o(ulti-line)j(error)e(message.)28 b(Similarly)m(,)20 +b(a)c(debugger)i(that)f(pre\014xes)g(error)g(messages)g(with)0 +2025 y(semicolons)k(so)e(that)g(they)g(app)q(ear)g(to)g(b)q(e)g(commen) +o(ts)g(should)i(tak)o(e)d(care)h(of)g(inserting)i(a)0 +2071 y(semicolon)c(at)e(the)g(b)q(eginning)j(of)d(eac)o(h)g(line)i(in)f +(a)f(m)o(ulti-line)j(error)d(message.)23 b(These)16 b(rules)0 +2116 y(are)10 b(suggested)i(b)q(ecause,)f(ev)o(en)g(within)h(a)e +(single)i(implemen)o(tation,)h(there)e(ma)o(y)f(b)q(e)h(more)f(than)0 +2162 y(one)15 b(program)h(that)g(presen)o(ts)f(error)h(messages)f(to)g +(the)h(user,)f(and)h(they)f(ma)o(y)h(use)f(di\013eren)o(t)0 +2208 y(st)o(yles)e(of)e(presen)o(tation.)19 b(The)11 +b(caller)i(of)f Fj(error)d FA(cannot)k(an)o(ticipate)h(all)f(suc)o(h)f +(p)q(ossible)i(st)o(yles,)0 2253 y(and)j(so)f(it)h(is)f(incum)o(b)q(en) +o(t)i(up)q(on)f(the)g(presen)o(ter)f(of)g(the)h(message)f(to)g(mak)o(e) +h(an)o(y)f(necessary)0 2299 y(adjustmen)o(ts.)p 0 2329 +V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 722 746 +722 745 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(722)77 b(COMMON)13 +b(LISP)42 295 y Fw(Comm)o(on)i(Lisp)j(do)q(es)h(not)f(sp)q(ecify)h(the) +g(manner)e(in)h(whic)o(h)g(error)h(messages)f(and)0 347 +y(other)d(messages)g(are)g(displa)o(y)o(ed.)k(F)m(or)c(the)g(purp)q +(oses)h(of)e(exp)q(osition,)g(a)g(fairly)f(simple)0 399 +y(st)o(yle)f(of)g(textual)g(presen)o(tation)h(will)d(b)q(e)j(used)g(in) +e(the)i(examples)e(in)h(this)g(c)o(hapter.)18 b(The)0 +450 y(c)o(haracter)c Fs(>)f Fw(is)g(used)g(to)g(represen)o(t)i(the)f +(command)c(prompt)h(sym)o(b)q(ol)g(for)i(a)f(debugger.)1209 +575 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(error)20 b +Fv(format)p Fs(-)p Fv(string)k Fs(&rest)c Fv(ar)n(gs)0 +652 y Fw(This)13 b(function)g(signals)f(a)h(fatal)f(error.)19 +b(It)13 b(is)g(imp)q(ossible)e(to)i(con)o(tin)o(ue)h(from)d(this)i +(kind)-38 627 y Fk(.)-38 640 y(.)-38 653 y(.)-38 666 +y(.)-38 679 y(.)-38 691 y(.)-38 704 y(.)-38 717 y(.)-38 +730 y(.)-38 743 y(.)-38 756 y(.)-38 769 y(.)-38 782 y(.)-38 +795 y(.)-38 808 y(.)-38 821 y(.)-38 834 y(.)-38 847 y(.)-38 +860 y(.)-38 873 y(.)-38 886 y(.)-38 899 y(.)-38 912 y(.)-38 +925 y(.)-38 938 y(.)-38 951 y(.)-38 964 y(.)-38 977 y(.)-38 +990 y(.)-38 1003 y(.)-38 1016 y(.)-38 1029 y(.)-38 1042 +y(.)-38 1055 y(.)-38 1068 y(.)-38 1081 y(.)-38 1094 y(.)-38 +1107 y(.)-38 1120 y(.)-38 1133 y(.)-38 1146 y(.)-38 1158 +y(.)-38 1171 y(.)-38 1184 y(.)-38 1197 y(.)-38 1210 y(.)-38 +1223 y(.)-38 1236 y(.)-38 1249 y(.)-38 1262 y(.)-38 1275 +y(.)-38 1288 y(.)-38 1301 y(.)-38 1314 y(.)-38 1327 y(.)-38 +1340 y(.)-38 1353 y(.)-38 1366 y(.)-38 1379 y(.)-38 1392 +y(.)-38 1405 y(.)-38 1418 y(.)-38 1431 y(.)-38 1444 y(.)-38 +1457 y(.)-38 1470 y(.)-38 1483 y(.)-38 1496 y(.)-38 1509 +y(.)-38 1522 y(.)-38 1535 y(.)-38 1548 y(.)-38 1561 y(.)-38 +1574 y(.)-38 1587 y(.)-38 1600 y(.)-38 1613 y(.)-38 1625 +y(.)-38 1638 y(.)-38 1651 y(.)-38 1664 y(.)-38 1677 y(.)-38 +1690 y(.)-38 1703 y(.)-38 1716 y(.)-38 1729 y(.)-38 1742 +y(.)-38 1755 y(.)-38 1768 y(.)-38 1781 y(.)-38 1794 y(.)-38 +1807 y(.)-38 1820 y(.)-38 1833 y(.)-38 1846 y(.)-38 1859 +y(.)-38 1872 y(.)-38 1885 y(.)-38 1898 y(.)-38 1911 y(.)-38 +1924 y(.)-38 1937 y(.)-38 1950 y(.)-38 1963 y(.)-38 1976 +y(.)-38 1989 y(.)-38 2002 y(.)-38 2015 y(.)-38 2028 y(.)-38 +2041 y(.)-38 2054 y(.)-38 2067 y(.)-38 2080 y(.)-38 2092 +y(.)-38 2105 y(.)-38 2118 y(.)-38 2131 y(.)-38 2144 y(.)-38 +2157 y(.)-38 2170 y(.)-38 2183 y(.)-38 2196 y(.)-38 2209 +y(.)-38 2222 y(.)-38 2235 y(.)-38 2248 y(.)-38 2261 y(.)-38 +2274 y(.)-38 2287 y(.)-38 2300 y(.)-38 2313 y(.)-38 2326 +y(.)-38 2339 y(.)-38 2352 y(.)-38 2365 y(.)-38 2378 y(.)-38 +2391 y(.)-38 2404 y(.)-38 2417 y(.)-38 2430 y(.)-38 2443 +y(.)-38 2456 y(.)-38 2469 y(.)-38 2482 y(.)-38 2495 y(.)-38 +2508 y(.)-38 2521 y(.)-38 2534 y(.)-38 2547 y(.)-38 2559 +y(.)-38 2572 y(.)-38 2585 y(.)-38 2598 y(.)-38 2611 y(.)-38 +2624 y(.)-38 2637 y(.)-38 2650 y(.)-38 2663 y(.)-38 2676 +y(.)-38 2689 y(.)-38 2702 y(.)-38 2715 y(.)-38 2728 y(.)-38 +2741 y(.)-38 2754 y(.)-38 2767 y(.)-38 2780 y(.)-38 2793 +y(.)-38 2806 y(.)-38 2819 y(.)-38 2832 y(.)-38 2845 y(.)-38 +2858 y(.)-38 2871 y(.)-38 2884 y(.)-38 2897 y(.)-38 2910 +y(.)-38 2923 y(.)-38 2936 y(.)-38 2949 y(.)-38 2962 y(.)-38 +2975 y(.)-38 2988 y(.)-38 3001 y(.)-38 3014 y(.)-38 3026 +y(.)-38 3039 y(.)-38 3052 y(.)-38 3065 y(.)-38 3078 y(.)-38 +3091 y(.)-38 3104 y(.)-38 3117 y(.)-38 3130 y(.)-38 3143 +y(.)-38 3156 y(.)-38 3169 y(.)-38 3182 y(.)-38 3195 y(.)-38 +3208 y(.)0 704 y Fw(of)g(error;)i(th)o(us)f Fs(error)f +Fw(will)f(nev)o(er)j(return)g(to)f(its)g(caller.)42 755 +y(The)d(debugger)i(prin)o(tout)e(in)g(the)h(follo)o(wing)d(example)h +(is)h(t)o(ypical)f(of)h(what)h(an)f(imple-)0 807 y(men)o(tation)j(migh) +o(t)g(prin)o(t)i(when)h Fs(error)e Fw(is)h(called.)24 +b(Supp)q(ose)17 b(that)g(the)f(\(missp)q(elled\))0 859 +y(sym)o(b)q(ol)11 b Fs(emergnecy-shutdown)f Fw(has)j(no)h(prop)q(ert)o +(y)g(named)e Fs(command)g Fw(\(all)g(to)q(o)h(lik)o(ely)m(,)0 +911 y(as)h(it)f(is)h(probably)f(a)h(t)o(yp)q(ographical)f(error)i(for)e +Fs(emergency-shutdown)p Fw(\).)0 996 y Fs(\(defun)20 +b(command-dispatch)e(\(cmd\))42 1048 y(\(let)j(\(\(fn)f(\(get)g(cmd)452 +1052 y Fn(')475 1048 y Fs(command\)\)\))85 1100 y(\(if)g(\(not)h +(\(null)f(fn\)\))169 1151 y(\(funcall)g(fn\)\))169 1203 +y(\(error)g("The)h(command)601 1207 y Fn(~)625 1203 y +Fs(S)f(is)h(unrecognized.")e(cmd\)\)\)\))0 1307 y(\(command-dispatch) +389 1311 y Fn(')413 1307 y Fs(emergnecy-shutdow)o(n\))0 +1359 y(Error:)h(The)g(command)g(EMERGNECY-SHUTDOWN)e(is)i +(unrecognized.)0 1411 y(Error)g(signaled)g(by)g(function)g +(COMMAND-DISPATCH.)0 1463 y(>)-33 1478 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1548 a Fw(X3J13)d(v)o(oted)i(in)e(June)i(1988)f +Ft(h)p Fw(30)p Ft(i)g Fw(to)g(adopt)g(a)f(prop)q(osal)h(for)g(a)g +(Common)d(Lisp)-33 1519 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1599 a(Condition)f(System.)21 b(This)15 +b(prop)q(osal)g(mo)q(di\014es)f(the)i(de\014nition)f(of)f +Fs(error)g Fw(to)h(sp)q(ecify)0 1651 y(its)f(in)o(teraction)g(with)f +(the)i(condition)e(system.)18 b(See)d(section)f(29.4.1.)-33 +1663 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1711 V 0 1771 a Fm(Compatibilit)o(y)f(note:)19 +b FA(Lisp)c(Mac)o(hine)g(Lisp)g(calls)g(this)g(function)g +Fj(ferror)p FA(.)i(MacLisp)e(has)0 1817 y(a)d(function)h(named)g +Fj(error)d FA(that)i(tak)o(es)h(di\013eren)o(t)g(argumen)o(ts)g(and)g +(can)f(signal)i(either)f(a)f(fatal)0 1863 y(or)h(a)g(con)o(tin)o(uable) +j(error.)p 0 1889 V 1209 1993 a Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(cerror)20 b Fv(c)n(ontinue)p Fs(-)p Fv(format)p +Fs(-)p Fv(string)k(err)n(or)p Fs(-)p Fv(format)p Fs(-)p +Fv(string)152 2044 y Fs(&rest)c Fv(ar)n(gs)0 2121 y Fs(cerror)9 +b Fw(is)i(used)h(to)e(signal)g(con)o(tin)o(uable)h(errors.)18 +b(Lik)o(e)10 b Fs(error)p Fw(,)g(it)g(signals)h(an)f(error)i(and)-38 +2096 y Fk(.)-38 2109 y(.)-38 2122 y(.)-38 2135 y(.)-38 +2148 y(.)-38 2161 y(.)-38 2174 y(.)-38 2187 y(.)-38 2200 +y(.)-38 2213 y(.)-38 2226 y(.)-38 2239 y(.)-38 2252 y(.)-38 +2265 y(.)-38 2278 y(.)-38 2291 y(.)-38 2304 y(.)-38 2317 +y(.)-38 2330 y(.)-38 2343 y(.)-38 2356 y(.)-38 2369 y(.)-38 +2382 y(.)-38 2395 y(.)-38 2408 y(.)-38 2420 y(.)-38 2433 +y(.)-38 2446 y(.)-38 2459 y(.)-38 2472 y(.)-38 2485 y(.)-38 +2498 y(.)-38 2511 y(.)-38 2524 y(.)-38 2537 y(.)-38 2550 +y(.)-38 2563 y(.)-38 2576 y(.)-38 2589 y(.)-38 2602 y(.)-38 +2615 y(.)-38 2628 y(.)-38 2641 y(.)-38 2654 y(.)-38 2667 +y(.)-38 2680 y(.)-38 2693 y(.)-38 2706 y(.)-38 2719 y(.)-38 +2732 y(.)-38 2745 y(.)-38 2758 y(.)-38 2771 y(.)-38 2784 +y(.)-38 2797 y(.)-38 2810 y(.)-38 2823 y(.)-38 2836 y(.)-38 +2849 y(.)-38 2862 y(.)-38 2875 y(.)-38 2887 y(.)-38 2900 +y(.)-38 2913 y(.)-38 2926 y(.)-38 2939 y(.)-38 2952 y(.)-38 +2965 y(.)-38 2978 y(.)-38 2991 y(.)-38 3004 y(.)-38 3017 +y(.)-38 3030 y(.)-38 3043 y(.)-38 3056 y(.)-38 3069 y(.)-38 +3082 y(.)-38 3095 y(.)-38 3108 y(.)-38 3121 y(.)-38 3134 +y(.)-38 3147 y(.)-38 3160 y(.)-38 3173 y(.)-38 3186 y(.)-38 +3199 y(.)-38 3212 y(.)-38 3225 y(.)-38 3238 y(.)-38 3251 +y(.)-38 3264 y(.)-38 3277 y(.)-38 3290 y(.)-38 3303 y(.)-38 +3316 y(.)-38 3329 y(.)-38 3342 y(.)-38 3354 y(.)-38 3367 +y(.)-38 3380 y(.)-38 3393 y(.)-38 3406 y(.)-38 3419 y(.)-38 +3432 y(.)-38 3445 y(.)-38 3458 y(.)-38 3471 y(.)-38 3484 +y(.)-38 3497 y(.)-38 3510 y(.)-38 3523 y(.)-38 3536 y(.)-38 +3549 y(.)-38 3562 y(.)-38 3575 y(.)-38 3588 y(.)-38 3601 +y(.)-38 3614 y(.)-38 3627 y(.)-38 3640 y(.)-38 3653 y(.)-38 +3666 y(.)-38 3679 y(.)-38 3692 y(.)-38 3705 y(.)-38 3718 +y(.)-38 3731 y(.)-38 3744 y(.)-38 3757 y(.)-38 3770 y(.)-38 +3783 y(.)-38 3796 y(.)-38 3809 y(.)-38 3821 y(.)-38 3834 +y(.)-38 3847 y(.)-38 3860 y(.)-38 3873 y(.)-38 3886 y(.)-38 +3899 y(.)-38 3912 y(.)-38 3925 y(.)-38 3938 y(.)-38 3951 +y(.)-38 3964 y(.)-38 3977 y(.)-38 3990 y(.)-38 4003 y(.)-38 +4016 y(.)-38 4029 y(.)-38 4042 y(.)-38 4055 y(.)-38 4068 +y(.)-38 4081 y(.)-38 4094 y(.)-38 4107 y(.)-38 4120 y(.)-38 +4133 y(.)-38 4146 y(.)-38 4159 y(.)-38 4172 y(.)-38 4185 +y(.)-38 4198 y(.)-38 4211 y(.)-38 4224 y(.)-38 4237 y(.)-38 +4250 y(.)-38 4263 y(.)-38 4276 y(.)-38 4288 y(.)-38 4301 +y(.)-38 4314 y(.)-38 4327 y(.)-38 4340 y(.)-38 4353 y(.)-38 +4366 y(.)-38 4379 y(.)-38 4392 y(.)-38 4405 y(.)-38 4418 +y(.)-38 4431 y(.)-38 4444 y(.)-38 4457 y(.)-38 4470 y(.)-38 +4483 y(.)-38 4496 y(.)-38 4509 y(.)-38 4522 y(.)-38 4535 +y(.)-38 4548 y(.)-38 4561 y(.)-38 4574 y(.)-38 4587 y(.)-38 +4600 y(.)-38 4613 y(.)-38 4626 y(.)-38 4639 y(.)-38 4652 +y(.)-38 4665 y(.)-38 4678 y(.)0 2173 y Fw(en)o(ters)19 +b(the)f(debugger.)28 b(Ho)o(w)o(ev)o(er,)18 b Fs(cerror)e +Fw(allo)o(ws)g(the)i(program)e(to)h(b)q(e)h(con)o(tin)o(ued)0 +2225 y(from)12 b(the)j(debugger)f(after)g(resolving)g(the)g(error.)42 +2277 y(If)j(the)h(program)f(is)g(con)o(tin)o(ued)h(after)g(encoun)o +(tering)h(the)f(error,)i Fs(cerror)c Fw(returns)0 2329 +y Fs(nil)p Fw(.)26 b(The)18 b(co)q(de)f(that)g(follo)o(ws)f(the)h(call) +f(to)h Fs(cerror)e Fw(will)h(then)h(b)q(e)h(executed.)29 +b(This)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 723 747 +723 746 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(ERRORS)1190 b(723)0 295 y Fw(co)q(de)15 b(should)f(correct)i +(the)e(problem,)f(p)q(erhaps)i(b)o(y)f(accepting)h(a)f(new)g(v)n(alue)g +(from)e(the)0 347 y(user)j(if)e(a)h(v)n(ariable)e(w)o(as)i(in)o(v)n +(alid.)42 400 y(If)f(the)h(co)q(de)h(that)e(corrects)j(the)f(problem)d +(in)o(teracts)j(with)e(the)h(program's)e(use)j(and)0 +452 y(migh)o(t)e(p)q(ossibly)i(b)q(e)i(misled,)c(it)i(should)h(mak)o(e) +e(sure)i(the)g(error)h(has)e(really)g(b)q(een)h(cor-)0 +504 y(rected)f(b)q(efore)e(con)o(tin)o(uing.)k(One)d(w)o(a)o(y)e(to)h +(do)g(this)g(is)g(to)f(put)i(the)f(call)f(to)h Fs(cerror)f +Fw(and)0 556 y(the)j(correction)g(co)q(de)g(in)f(a)g(lo)q(op,)f(c)o +(hec)o(king)i(eac)o(h)f(time)f(to)h(see)i(if)d(the)i(error)g(has)g(b)q +(een)0 608 y(corrected)h(b)q(efore)f(terminating)d(the)i(lo)q(op.)42 +662 y(The)22 b Fv(c)n(ontinue-format-string)f Fw(argumen)o(t,)h(lik)o +(e)f(the)i Fv(err)n(or-format-string)c Fw(argu-)0 714 +y(men)o(t,)11 b(is)h(giv)o(en)f(as)h(a)g(con)o(trol)g(string)g(to)g +Fs(format)f Fw(along)g(with)g(the)i Fv(ar)n(gs)e Fw(to)h(construct)i(a) +0 766 y(message)f(string.)18 b(The)c(error)g(message)f(string)g(is)g +(used)i(in)e(the)g(same)g(w)o(a)o(y)f(that)i Fs(error)0 +817 y Fw(uses)h(it.)j(The)c(con)o(tin)o(ue)g(message)f(string)h(should) +g(describ)q(e)h(the)g(e\013ect)g(of)e(con)o(tin)o(uing.)0 +869 y(The)i(in)o(ten)o(t)g(is)f(that)h(this)g(message)f(can)h(b)q(e)g +(displa)o(y)o(ed)f(as)h(an)f(aid)g(to)g(the)i(user)f(in)f(de-)0 +921 y(ciding)j(whether)h(and)f(ho)o(w)g(to)g(con)o(tin)o(ue.)29 +b(F)m(or)16 b(example,)h(it)g(migh)o(t)e(b)q(e)j(used)g(b)o(y)f(an)0 +973 y(in)o(teractiv)o(e)11 b(debugger)h(as)f(part)g(of)f(the)i(do)q +(cumen)o(tation)d(of)i(its)f(\\con)o(tin)o(ue")h(command.)42 +1027 y(The)i(con)o(ten)o(t)i(of)d(the)j(con)o(tin)o(ue)e(message)g +(should)h(adhere)g(to)f(the)h(rules)h(of)d(st)o(yle)i(for)0 +1079 y(error)k(messages.)26 b(It)17 b(should)g(not)f(include)h(an)o(y)g +(statemen)o(t)f(of)g(ho)o(w)h(the)g(\\con)o(tin)o(ue")0 +1131 y(command)11 b(is)j(giv)o(en,)f(since)i(this)f(ma)o(y)e(b)q(e)i +(di\013eren)o(t)h(for)f(eac)o(h)g(debugger.)19 b(\(It)14 +b(is)g(up)g(to)0 1183 y(the)g(debugger)h(to)f(supply)f(this)h +(information)d(according)j(to)g(its)g(o)o(wn)f(particular)h(st)o(yle)0 +1235 y(of)f(presen)o(tation)i(and)f(user)h(in)o(teraction.\))-33 +1246 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1288 a(X3J13)i(v)o(oted)i(in)e(June)i(1988)f +Ft(h)p Fw(30)p Ft(i)g Fw(to)g(adopt)g(a)f(prop)q(osal)h(for)g(a)g +(Common)d(Lisp)-33 1260 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1340 a(Condition)d(System.)17 b(This)c(prop)q(osal)g(mo) +q(di\014es)f(the)i(de\014nition)f(of)f Fs(cerror)g Fw(to)h(sp)q(ecify)0 +1392 y(its)h(in)o(teraction)g(with)f(the)i(condition)e(system.)18 +b(See)d(section)f(29.4.1.)-33 1404 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1446 a(Here)g(is)e(an)h(example)e(where)j(the)g(caller) +f(of)f Fs(cerror)p Fw(,)f(if)h(con)o(tin)o(ued,)h(\014xes)g(the)h +(prob-)0 1498 y(lem)e(without)i(an)o(y)f(further)i(user)g(in)o +(teraction:)0 1602 y Fs(\(let)20 b(\(\(nvals)g(\(list-length)f +(vals\)\)\))42 1654 y(\(unless)h(\()238 1650 y(U)238 +1658 y(U)281 1654 y(nvals)g(3\))85 1706 y(\(cond)g(\(\(<)g(nvals)h(3\)) +233 1758 y(\(cerror)f("Assume)f(missing)h(values)g(are)h(zero.")402 +1810 y("Too)g(few)f(values)g(in)812 1814 y Fn(~)835 1810 +y Fs(S;)877 1814 y Fn(~)900 1810 y Fs(\045)920 1814 y +Fn(~)423 1862 y Fs(three)h(are)f(required,)855 1866 y +Fn(~)423 1914 y Fs(but)508 1918 y Fn(~)531 1914 y Fs(R)572 +1918 y Fn(~)595 1914 y Fs(:[were)725 1918 y Fn(~)747 +1914 y Fs(;was)833 1918 y Fn(~)856 1914 y Fs(])h(supplied.")402 +1966 y(nvals)f(\()554 1962 y(U)554 1970 y(U)597 1966 +y(nvals)g(1\)\))233 2017 y(\(setq)g(vals)g(\(append)g(vals)g(\(subseq) +925 2021 y Fn(')948 2017 y Fs(\(0)h(0)g(0\))g(nvals\)\)\)\))212 +2069 y(\(t)f(\(cerror)g("Ignore)g(all)g(values)g(after)h(the)f(first)g +(three.")445 2121 y("Too)g(many)g(values)g(in)876 2125 +y Fn(~)899 2121 y Fs(S;)941 2125 y Fn(~)964 2121 y Fs(\045)984 +2125 y Fn(~)466 2173 y Fs(three)g(are)g(required,)898 +2177 y Fn(~)466 2225 y Fs(but)550 2229 y Fn(~)573 2225 +y Fs(R)h(were)g(supplied.")466 2277 y(nvals\))275 2329 +y(\(setq)f(vals)h(\(subseq)e(vals)i(0)g(3\)\)\)\)\)\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 724 748 +724 747 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(724)77 b(COMMON)13 +b(LISP)0 295 y Fw(If)h Fs(vals)f Fw(w)o(ere)h(the)h(list)e +Fs(\(-47\))p Fw(,)g(the)h(in)o(teraction)g(migh)o(t)e(lo)q(ok)h(lik)o +(e)g(this:)0 387 y Fs(Error:)20 b(Too)g(few)h(values)f(in)h(\(-47\);) +148 439 y(three)f(are)h(required,)e(but)i(one)f(was)h(supplied.)0 +491 y(Error)f(signaled)g(by)g(function)g(EXAMPLE.)0 542 +y(If)h(continued:)e(Assume)h(missing)g(values)f(are)i(zero.)0 +594 y(>)0 686 y Fw(In)11 b(this)h(example,)e(a)h(lo)q(op)f(is)h(used)h +(to)f(ensure)i(that)f(a)e(test)j(is)e(satis\014ed.)18 +b(\(This)11 b(example)0 737 y(could)j(b)q(e)h(written)f(more)f +(succinctly)i(using)f Fs(assert)f Fw(or)h Fs(check-type)p +Fw(,)d(whic)o(h)j(indeed)0 789 y(supply)g(suc)o(h)g(lo)q(ops.\))0 +881 y Fs(\(do)21 b(\(\))85 933 y(\(\(known-wordp)d(word\))i(word\))42 +985 y(\(cerror)g("You)g(will)h(be)g(prompted)e(for)i(a)g(replacement)d +(word.")212 1037 y(")232 1041 y Fn(~)255 1037 y Fs(S)j(is)f(an)h +(unknown)f(word)g(\(possibly)g(misspelled\).")212 1089 +y(word\))42 1141 y(\(format)g(*query-io*)f(")475 1145 +y Fn(~)498 1141 y Fs(&New)h(word:)h("\))42 1193 y(\(setq)f(word)h +(\(read)f(*query-io*\)\)\))42 1284 y Fw(In)15 b(complex)g(cases)i +(where)g(the)f Fv(err)n(or-format-string)d Fw(uses)k(some)e(of)g(the)i +Fv(ar)n(gs)e Fw(and)0 1336 y(the)e Fv(c)n(ontinue-format-string)e +Fw(uses)j(others,)f(it)f(ma)o(y)e(b)q(e)j(necessary)h(to)e(use)h(the)g +Fs(format)0 1388 y Fw(directiv)o(es)183 1392 y Fn(~)206 +1388 y Fs(*)h Fw(and)320 1392 y Fn(~)343 1388 y Fs(@*)g +Fw(to)f(skip)h(o)o(v)o(er)g(un)o(w)o(an)o(ted)g(argumen)o(ts)f(in)g +(one)h(or)g(b)q(oth)g(of)f(the)0 1440 y(format)f(con)o(trol)i(strings.) +p 0 1499 V 0 1560 a Fm(Compatibilit)o(y)f(note:)20 b +FA(The)14 b(Lisp)h(Mac)o(hine)h(Lisp)f(function)h Fj(fsignal)11 +b FA(is)k(similar)h(to)e(this,)0 1606 y(but)g(returns)g +Fj(:no-actio)o(n)c FA(rather)j(than)h Fj(nil)p FA(,)e(and)i(fails)g(to) +g(distinguish)i(b)q(et)o(w)o(een)e(the)f(error)0 1652 +y(message)h(and)f(the)g(con)o(tin)o(ue)i(message.)p 0 +1694 V 1209 1833 a Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(warn)20 b Fv(format)p Fs(-)p Fv(string)k Fs(&rest)c +Fv(ar)n(gs)0 1912 y Fs(warn)g Fw(prin)o(ts)h(an)f(error)i(message)e +(but)h(normally)d(do)q(esn't)j(go)f(in)o(to)g(the)h(debugger.)-38 +1887 y Fk(.)-38 1900 y(.)-38 1913 y(.)-38 1925 y(.)-38 +1938 y(.)-38 1951 y(.)-38 1964 y(.)-38 1977 y(.)-38 1990 +y(.)-38 2003 y(.)-38 2016 y(.)-38 2029 y(.)-38 2042 y(.)-38 +2055 y(.)-38 2068 y(.)-38 2081 y(.)-38 2094 y(.)-38 2107 +y(.)-38 2120 y(.)-38 2133 y(.)-38 2146 y(.)-38 2159 y(.)-38 +2172 y(.)-38 2185 y(.)-38 2198 y(.)-38 2211 y(.)-38 2224 +y(.)-38 2237 y(.)-38 2250 y(.)-38 2263 y(.)-38 2276 y(.)-38 +2289 y(.)-38 2302 y(.)-38 2315 y(.)-38 2328 y(.)-38 2341 +y(.)-38 2354 y(.)-38 2367 y(.)-38 2380 y(.)-38 2392 y(.)-38 +2405 y(.)-38 2418 y(.)-38 2431 y(.)-38 2444 y(.)-38 2457 +y(.)-38 2470 y(.)-38 2483 y(.)-38 2496 y(.)-38 2509 y(.)-38 +2522 y(.)-38 2535 y(.)-38 2548 y(.)-38 2561 y(.)-38 2574 +y(.)-38 2587 y(.)-38 2600 y(.)-38 2613 y(.)-38 2626 y(.)-38 +2639 y(.)-38 2652 y(.)-38 2665 y(.)-38 2678 y(.)-38 2691 +y(.)-38 2704 y(.)-38 2717 y(.)-38 2730 y(.)-38 2743 y(.)-38 +2756 y(.)-38 2769 y(.)-38 2782 y(.)-38 2795 y(.)-38 2808 +y(.)-38 2821 y(.)-38 2834 y(.)-38 2847 y(.)-38 2859 y(.)-38 +2872 y(.)-38 2885 y(.)-38 2898 y(.)-38 2911 y(.)-38 2924 +y(.)-38 2937 y(.)-38 2950 y(.)-38 2963 y(.)-38 2976 y(.)-38 +2989 y(.)-38 3002 y(.)-38 3015 y(.)-38 3028 y(.)-38 3041 +y(.)-38 3054 y(.)-38 3067 y(.)-38 3080 y(.)-38 3093 y(.)-38 +3106 y(.)-38 3119 y(.)-38 3132 y(.)-38 3145 y(.)-38 3158 +y(.)-38 3171 y(.)-38 3184 y(.)-38 3197 y(.)-38 3210 y(.)-38 +3223 y(.)-38 3236 y(.)-38 3249 y(.)-38 3262 y(.)-38 3275 +y(.)-38 3288 y(.)-38 3301 y(.)-38 3314 y(.)-38 3326 y(.)-38 +3339 y(.)-38 3352 y(.)-38 3365 y(.)-38 3378 y(.)-38 3391 +y(.)-38 3404 y(.)-38 3417 y(.)-38 3430 y(.)-38 3443 y(.)-38 +3456 y(.)-38 3469 y(.)-38 3482 y(.)-38 3495 y(.)-38 3508 +y(.)-38 3521 y(.)-38 3534 y(.)-38 3547 y(.)-38 3560 y(.)-38 +3573 y(.)-38 3586 y(.)-38 3599 y(.)-38 3612 y(.)-38 3625 +y(.)-38 3638 y(.)-38 3651 y(.)-38 3664 y(.)-38 3677 y(.)-38 +3690 y(.)-38 3703 y(.)-38 3716 y(.)-38 3729 y(.)-38 3742 +y(.)-38 3755 y(.)-38 3768 y(.)-38 3781 y(.)-38 3793 y(.)-38 +3806 y(.)-38 3819 y(.)-38 3832 y(.)-38 3845 y(.)-38 3858 +y(.)-38 3871 y(.)-38 3884 y(.)-38 3897 y(.)-38 3910 y(.)-38 +3923 y(.)-38 3936 y(.)-38 3949 y(.)-38 3962 y(.)-38 3975 +y(.)-38 3988 y(.)-38 4001 y(.)-38 4014 y(.)-38 4027 y(.)-38 +4040 y(.)-38 4053 y(.)-38 4066 y(.)-38 4079 y(.)-38 4092 +y(.)-38 4105 y(.)-38 4118 y(.)-38 4131 y(.)-38 4144 y(.)-38 +4157 y(.)-38 4170 y(.)-38 4183 y(.)-38 4196 y(.)-38 4209 +y(.)-38 4222 y(.)-38 4235 y(.)-38 4248 y(.)-38 4260 y(.)-38 +4273 y(.)-38 4286 y(.)-38 4299 y(.)-38 4312 y(.)-38 4325 +y(.)-38 4338 y(.)-38 4351 y(.)-38 4364 y(.)-38 4377 y(.)-38 +4390 y(.)-38 4403 y(.)-38 4416 y(.)-38 4429 y(.)-38 4442 +y(.)-38 4455 y(.)-38 4468 y(.)0 1963 y Fw(\(Ho)o(w)o(ev)o(er,)14 +b(this)g(ma)o(y)e(b)q(e)i(con)o(trolled)g(b)o(y)g(the)g(v)n(ariable)f +Fs(*break-on-warning)o(s*)p Fw(.\))-33 1975 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2016 a(X3J13)d(v)o(oted)i(in)e(Marc)o(h)i(1989)e +Ft(h)p Fw(10)p Ft(i)h Fw(to)g(remo)o(v)o(e)f Fs(*break-on-warnings*)e +Fw(from)h(the)-33 1988 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2068 a(language.)17 b(See)e Fs(*break-on-signals)o(*)p +Fw(.)-33 2080 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2121 a Fs(warn)e Fw(returns)i Fs(nil)p +Fw(.)-38 2096 y Fk(.)-38 2108 y(.)-38 2121 y(.)-38 2134 +y(.)-38 2147 y(.)-38 2160 y(.)-38 2173 y(.)-38 2186 y(.)-38 +2199 y(.)-38 2212 y(.)-38 2225 y(.)-38 2238 y(.)-38 2251 +y(.)-38 2264 y(.)-38 2277 y(.)-38 2290 y(.)-38 2303 y(.)-38 +2316 y(.)-38 2329 y(.)-38 2342 y(.)-38 2355 y(.)-38 2368 +y(.)-38 2381 y(.)-38 2394 y(.)-38 2407 y(.)-38 2420 y(.)-38 +2433 y(.)-38 2446 y(.)-38 2459 y(.)-38 2472 y(.)-38 2485 +y(.)-38 2498 y(.)-38 2511 y(.)-38 2524 y(.)-38 2537 y(.)-38 +2550 y(.)-38 2562 y(.)-38 2575 y(.)-38 2588 y(.)-38 2601 +y(.)-38 2614 y(.)-38 2627 y(.)-38 2640 y(.)-38 2653 y(.)-38 +2666 y(.)-38 2679 y(.)-38 2692 y(.)-38 2705 y(.)-38 2718 +y(.)-38 2731 y(.)-38 2744 y(.)-38 2757 y(.)-38 2770 y(.)-38 +2783 y(.)-38 2796 y(.)-38 2809 y(.)-38 2822 y(.)-38 2835 +y(.)-38 2848 y(.)-38 2861 y(.)-38 2874 y(.)-38 2887 y(.)-38 +2900 y(.)-38 2913 y(.)-38 2926 y(.)-38 2939 y(.)-38 2952 +y(.)-38 2965 y(.)-38 2978 y(.)-38 2991 y(.)-38 3004 y(.)-38 +3017 y(.)-38 3029 y(.)-38 3042 y(.)-38 3055 y(.)-38 3068 +y(.)-38 3081 y(.)-38 3094 y(.)-38 3107 y(.)-38 3120 y(.)-38 +3133 y(.)-38 3146 y(.)-38 3159 y(.)-38 3172 y(.)-38 3185 +y(.)-38 3198 y(.)-38 3211 y(.)-38 3224 y(.)-38 3237 y(.)-38 +3250 y(.)-38 3263 y(.)-38 3276 y(.)-38 3289 y(.)-38 3302 +y(.)-38 3315 y(.)-38 3328 y(.)-38 3341 y(.)-38 3354 y(.)-38 +3367 y(.)-38 3380 y(.)-38 3393 y(.)-38 3406 y(.)-38 3419 +y(.)-38 3432 y(.)-38 3445 y(.)-38 3458 y(.)-38 3471 y(.)-38 +3484 y(.)-38 3496 y(.)-38 3509 y(.)-38 3522 y(.)-38 3535 +y(.)-38 3548 y(.)-38 3561 y(.)-38 3574 y(.)-38 3587 y(.)-38 +3600 y(.)-38 3613 y(.)-38 3626 y(.)-38 3639 y(.)-38 3652 +y(.)-38 3665 y(.)-38 3678 y(.)-38 3691 y(.)-38 3704 y(.)-38 +3717 y(.)-38 3730 y(.)-38 3743 y(.)-38 3756 y(.)-38 3769 +y(.)-38 3782 y(.)-38 3795 y(.)-38 3808 y(.)-38 3821 y(.)-38 +3834 y(.)-38 3847 y(.)-38 3860 y(.)-38 3873 y(.)-38 3886 +y(.)-38 3899 y(.)-38 3912 y(.)-38 3925 y(.)-38 3938 y(.)-38 +3951 y(.)-38 3963 y(.)-38 3976 y(.)-38 3989 y(.)-38 4002 +y(.)-38 4015 y(.)-38 4028 y(.)-38 4041 y(.)-38 4054 y(.)-38 +4067 y(.)-38 4080 y(.)-38 4093 y(.)-38 4106 y(.)-38 4119 +y(.)-38 4132 y(.)-38 4145 y(.)-38 4158 y(.)-38 4171 y(.)-38 +4184 y(.)-38 4197 y(.)-38 4210 y(.)-38 4223 y(.)-38 4236 +y(.)-38 4249 y(.)-38 4262 y(.)-38 4275 y(.)-38 4288 y(.)-38 +4301 y(.)-38 4314 y(.)-38 4327 y(.)-38 4340 y(.)-38 4353 +y(.)-38 4366 y(.)-38 4379 y(.)-38 4392 y(.)-38 4405 y(.)-38 +4418 y(.)-38 4430 y(.)-38 4443 y(.)-38 4456 y(.)-38 4469 +y(.)-38 4482 y(.)-38 4495 y(.)-38 4508 y(.)-38 4521 y(.)-38 +4534 y(.)-38 4547 y(.)-38 4560 y(.)-38 4573 y(.)-38 4586 +y(.)-38 4599 y(.)-38 4612 y(.)-38 4625 y(.)-38 4638 y(.)-38 +4651 y(.)-38 4664 y(.)-38 4677 y(.)42 2173 y Fw(This)23 +b(function)g(w)o(ould)g(b)q(e)h(just)f(the)h(same)f(as)g +Fs(format)g Fw(with)g(the)h(output)f(di-)0 2225 y(rected)14 +b(to)e(the)g(stream)g(in)f Fs(error-output)p Fw(,)f(except)j(that)f +Fs(warn)f Fw(ma)o(y)f(p)q(erform)h(v)n(arious)0 2277 +y(implemen)o(tatio)o(n-dep)q(enden)o(t)f(formatting)f(and)h(other)i +(actions.)17 b(F)m(or)10 b(example,)g(an)h(im-)0 2329 +y(plemen)o(tation)g(of)i Fs(warn)f Fw(should)h(tak)o(e)g(care)h(of)e +(adv)n(ancing)g(to)h(a)g(fresh)h(line)e(b)q(efore)i(and)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 725 749 +725 748 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(ERRORS)1190 b(725)0 +295 y Fw(after)14 b(the)g(error)h(message)f(and)f(p)q(erhaps)i +(supplying)e(the)i(name)e(of)g(the)h(function)g(that)0 +347 y(called)g Fs(warn)p Fw(.)-33 358 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 406 V 0 467 a Fm(Compatibilit)o(y)i(note:)23 +b FA(The)17 b(Lisp)g(Mac)o(hine)g(Lisp)h(function)f Fj(compiler:w)o +(arn)12 b FA(is)17 b(an)f(ap-)0 512 y(pro)o(ximate)e(equiv)n(alen)o(t)i +(to)d(this.)p 0 548 V 42 633 a Fw(X3J13)k(v)o(oted)i(in)e(June)i(1988)f +Ft(h)p Fw(30)p Ft(i)g Fw(to)g(adopt)g(a)f(prop)q(osal)h(for)g(a)g +(Common)d(Lisp)-33 605 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 685 a(Condition)c(System.)17 b(This)11 +b(prop)q(osal)h(mo)q(di\014es)f(the)h(de\014nition)f(of)h +Fs(warn)f Fw(to)g(sp)q(ecify)i(its)0 737 y(in)o(teraction)h(with)f(the) +i(condition)e(system.)18 b(See)d(section)f(29.4.9.)-33 +748 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1219 871 a([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(*break-on-warning)o(s*)-38 846 y Fk(.)-38 859 y(.)-38 +872 y(.)-38 885 y(.)-38 897 y(.)-38 910 y(.)-38 923 y(.)-38 +936 y(.)-38 949 y(.)-38 962 y(.)-38 975 y(.)-38 988 y(.)-38 +1001 y(.)-38 1014 y(.)-38 1027 y(.)-38 1040 y(.)-38 1053 +y(.)-38 1066 y(.)-38 1079 y(.)-38 1092 y(.)-38 1105 y(.)-38 +1118 y(.)-38 1131 y(.)-38 1144 y(.)-38 1157 y(.)-38 1170 +y(.)-38 1183 y(.)-38 1196 y(.)-38 1209 y(.)-38 1222 y(.)-38 +1235 y(.)-38 1248 y(.)-38 1261 y(.)-38 1274 y(.)-38 1287 +y(.)-38 1300 y(.)-38 1313 y(.)-38 1326 y(.)-38 1339 y(.)-38 +1352 y(.)-38 1364 y(.)-38 1377 y(.)-38 1390 y(.)-38 1403 +y(.)-38 1416 y(.)-38 1429 y(.)-38 1442 y(.)-38 1455 y(.)-38 +1468 y(.)-38 1481 y(.)-38 1494 y(.)-38 1507 y(.)-38 1520 +y(.)-38 1533 y(.)-38 1546 y(.)-38 1559 y(.)-38 1572 y(.)-38 +1585 y(.)-38 1598 y(.)-38 1611 y(.)-38 1624 y(.)-38 1637 +y(.)-38 1650 y(.)-38 1663 y(.)-38 1676 y(.)-38 1689 y(.)-38 +1702 y(.)-38 1715 y(.)-38 1728 y(.)-38 1741 y(.)-38 1754 +y(.)-38 1767 y(.)-38 1780 y(.)-38 1793 y(.)-38 1806 y(.)-38 +1819 y(.)-38 1831 y(.)-38 1844 y(.)-38 1857 y(.)-38 1870 +y(.)-38 1883 y(.)-38 1896 y(.)-38 1909 y(.)-38 1922 y(.)-38 +1935 y(.)-38 1948 y(.)-38 1961 y(.)-38 1974 y(.)-38 1987 +y(.)-38 2000 y(.)-38 2013 y(.)-38 2026 y(.)-38 2039 y(.)-38 +2052 y(.)-38 2065 y(.)-38 2078 y(.)-38 2091 y(.)-38 2104 +y(.)-38 2117 y(.)-38 2130 y(.)-38 2143 y(.)-38 2156 y(.)-38 +2169 y(.)-38 2182 y(.)-38 2195 y(.)-38 2208 y(.)-38 2221 +y(.)-38 2234 y(.)-38 2247 y(.)-38 2260 y(.)-38 2273 y(.)-38 +2286 y(.)-38 2298 y(.)-38 2311 y(.)-38 2324 y(.)-38 2337 +y(.)-38 2350 y(.)-38 2363 y(.)-38 2376 y(.)-38 2389 y(.)-38 +2402 y(.)-38 2415 y(.)-38 2428 y(.)-38 2441 y(.)-38 2454 +y(.)-38 2467 y(.)-38 2480 y(.)-38 2493 y(.)-38 2506 y(.)-38 +2519 y(.)-38 2532 y(.)-38 2545 y(.)-38 2558 y(.)-38 2571 +y(.)-38 2584 y(.)-38 2597 y(.)-38 2610 y(.)-38 2623 y(.)-38 +2636 y(.)-38 2649 y(.)-38 2662 y(.)-38 2675 y(.)-38 2688 +y(.)-38 2701 y(.)-38 2714 y(.)-38 2727 y(.)-38 2740 y(.)-38 +2753 y(.)-38 2765 y(.)-38 2778 y(.)-38 2791 y(.)-38 2804 +y(.)-38 2817 y(.)-38 2830 y(.)-38 2843 y(.)-38 2856 y(.)-38 +2869 y(.)-38 2882 y(.)-38 2895 y(.)-38 2908 y(.)-38 2921 +y(.)-38 2934 y(.)-38 2947 y(.)-38 2960 y(.)-38 2973 y(.)-38 +2986 y(.)-38 2999 y(.)-38 3012 y(.)-38 3025 y(.)-38 3038 +y(.)-38 3051 y(.)-38 3064 y(.)-38 3077 y(.)-38 3090 y(.)-38 +3103 y(.)-38 3116 y(.)-38 3129 y(.)-38 3142 y(.)-38 3155 +y(.)-38 3168 y(.)-38 3181 y(.)-38 3194 y(.)-38 3207 y(.)-38 +3220 y(.)-38 3232 y(.)-38 3245 y(.)-38 3258 y(.)-38 3271 +y(.)-38 3284 y(.)-38 3297 y(.)-38 3310 y(.)-38 3323 y(.)-38 +3336 y(.)-38 3349 y(.)-38 3362 y(.)-38 3375 y(.)-38 3388 +y(.)-38 3401 y(.)-38 3414 y(.)-38 3427 y(.)0 948 y Fw(If)21 +b Fs(*break-on-warni)o(ngs*)d Fw(is)i(not)h Fs(nil)p +Fw(,)h(then)f(the)h(function)f Fs(warn)f Fw(b)q(eha)o(v)o(es)i(lik)o(e) +0 999 y Fs(break)p Fw(.)28 b(It)17 b(prin)o(ts)h(its)f(message)h(and)f +(then)h(go)q(es)g(to)f(the)h(debugger)h(or)e(break)h(lo)q(op.)0 +1051 y(Con)o(tin)o(uing)12 b(causes)i Fs(warn)f Fw(to)g(return)h +Fs(nil)p Fw(.)j(This)c(\015ag)g(is)g(in)o(tended)h(primarily)c(for)j +(use)0 1103 y(when)18 b(the)h(user)g(is)e(debugging)h(programs)e(that)i +(issue)h(w)o(arnings;)g(in)e(\\pro)q(duction")0 1155 +y(use,)d(the)h(v)n(alue)e(of)g Fs(*break-on-warnings*)d +Fw(should)k(b)q(e)g Fs(nil)p Fw(.)-33 1167 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1236 a(X3J13)c(v)o(oted)i(in)e(Marc)o(h)i(1989)e +Ft(h)p Fw(10)p Ft(i)h Fw(to)g(remo)o(v)o(e)f Fs(*break-on-warnings*)e +Fw(from)h(the)-33 1207 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1287 a(language.)17 b(See)e Fs(*break-on-signals)o(*)p +Fw(.)-33 1299 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1421 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(break)20 b(&optional)f Fv(format)p Fs(-)p Fv(string)24 +b Fs(&rest)c Fv(ar)n(gs)0 1498 y Fs(break)8 b Fw(prin)o(ts)i(the)g +(message)f(and)g(go)q(es)g(directly)h(in)o(to)f(the)h(debugger,)g +(without)f(allo)o(wing)-38 1473 y Fk(.)-38 1486 y(.)-38 +1499 y(.)-38 1512 y(.)-38 1525 y(.)-38 1538 y(.)-38 1551 +y(.)-38 1564 y(.)-38 1577 y(.)-38 1590 y(.)-38 1603 y(.)-38 +1616 y(.)-38 1629 y(.)-38 1642 y(.)-38 1655 y(.)-38 1668 +y(.)-38 1681 y(.)-38 1694 y(.)-38 1707 y(.)-38 1720 y(.)-38 +1733 y(.)-38 1746 y(.)-38 1759 y(.)-38 1772 y(.)-38 1785 +y(.)-38 1798 y(.)-38 1811 y(.)-38 1824 y(.)-38 1837 y(.)-38 +1850 y(.)-38 1863 y(.)-38 1876 y(.)-38 1888 y(.)-38 1901 +y(.)-38 1914 y(.)-38 1927 y(.)-38 1940 y(.)-38 1953 y(.)-38 +1966 y(.)-38 1979 y(.)-38 1992 y(.)-38 2005 y(.)-38 2018 +y(.)-38 2031 y(.)-38 2044 y(.)-38 2057 y(.)-38 2070 y(.)-38 +2083 y(.)-38 2096 y(.)-38 2109 y(.)-38 2122 y(.)-38 2135 +y(.)-38 2148 y(.)-38 2161 y(.)-38 2174 y(.)-38 2187 y(.)-38 +2200 y(.)-38 2213 y(.)-38 2226 y(.)-38 2239 y(.)-38 2252 +y(.)-38 2265 y(.)-38 2278 y(.)-38 2291 y(.)-38 2304 y(.)-38 +2317 y(.)-38 2330 y(.)-38 2343 y(.)-38 2355 y(.)-38 2368 +y(.)-38 2381 y(.)-38 2394 y(.)-38 2407 y(.)-38 2420 y(.)-38 +2433 y(.)-38 2446 y(.)-38 2459 y(.)-38 2472 y(.)-38 2485 +y(.)-38 2498 y(.)-38 2511 y(.)-38 2524 y(.)-38 2537 y(.)-38 +2550 y(.)-38 2563 y(.)-38 2576 y(.)-38 2589 y(.)-38 2602 +y(.)-38 2615 y(.)-38 2628 y(.)-38 2641 y(.)-38 2654 y(.)-38 +2667 y(.)-38 2680 y(.)-38 2693 y(.)-38 2706 y(.)-38 2719 +y(.)-38 2732 y(.)-38 2745 y(.)-38 2758 y(.)-38 2771 y(.)-38 +2784 y(.)-38 2797 y(.)-38 2810 y(.)-38 2822 y(.)-38 2835 +y(.)-38 2848 y(.)-38 2861 y(.)-38 2874 y(.)-38 2887 y(.)-38 +2900 y(.)-38 2913 y(.)-38 2926 y(.)-38 2939 y(.)-38 2952 +y(.)-38 2965 y(.)-38 2978 y(.)-38 2991 y(.)-38 3004 y(.)-38 +3017 y(.)-38 3030 y(.)-38 3043 y(.)-38 3056 y(.)-38 3069 +y(.)-38 3082 y(.)-38 3095 y(.)-38 3108 y(.)-38 3121 y(.)-38 +3134 y(.)-38 3147 y(.)-38 3160 y(.)-38 3173 y(.)-38 3186 +y(.)-38 3199 y(.)-38 3212 y(.)-38 3225 y(.)-38 3238 y(.)-38 +3251 y(.)-38 3264 y(.)-38 3277 y(.)-38 3289 y(.)-38 3302 +y(.)-38 3315 y(.)-38 3328 y(.)-38 3341 y(.)-38 3354 y(.)-38 +3367 y(.)-38 3380 y(.)-38 3393 y(.)-38 3406 y(.)-38 3419 +y(.)-38 3432 y(.)-38 3445 y(.)-38 3458 y(.)-38 3471 y(.)-38 +3484 y(.)-38 3497 y(.)-38 3510 y(.)-38 3523 y(.)-38 3536 +y(.)-38 3549 y(.)-38 3562 y(.)-38 3575 y(.)-38 3588 y(.)-38 +3601 y(.)-38 3614 y(.)-38 3627 y(.)-38 3640 y(.)-38 3653 +y(.)-38 3666 y(.)-38 3679 y(.)-38 3692 y(.)-38 3705 y(.)-38 +3718 y(.)-38 3731 y(.)-38 3744 y(.)-38 3756 y(.)-38 3769 +y(.)-38 3782 y(.)-38 3795 y(.)-38 3808 y(.)-38 3821 y(.)-38 +3834 y(.)-38 3847 y(.)-38 3860 y(.)-38 3873 y(.)-38 3886 +y(.)-38 3899 y(.)-38 3912 y(.)-38 3925 y(.)-38 3938 y(.)-38 +3951 y(.)-38 3964 y(.)-38 3977 y(.)-38 3990 y(.)-38 4003 +y(.)-38 4016 y(.)-38 4029 y(.)-38 4042 y(.)-38 4055 y(.)0 +1550 y Fw(an)o(y)h(p)q(ossibilit)o(y)f(of)g(in)o(terception)i(b)o(y)f +(programmed)e(error-handling)i(facilities.)16 b(\(Righ)o(t)0 +1602 y(no)o(w,)g(there)h(aren't)f(an)o(y)g(error-handling)g(facilities) +f(de\014ned)i(in)f(Commo)o(n)d(Lisp,)k(but)0 1654 y(there)e(migh)o(t)c +(b)q(e)j(in)f(particular)g(implemen)o(tati)o(ons,)e(and)i(there)h(will) +e(b)q(e)i(some)f(de\014ned)0 1706 y(b)o(y)j(Common)d(Lisp)j(in)f(the)i +(future.\))26 b(When)16 b(con)o(tin)o(ued,)h Fs(break)e +Fw(returns)i Fs(nil)p Fw(.)25 b(It)16 b(is)0 1758 y(p)q(ermissible)e +(to)h(call)f Fs(break)f Fw(with)i(no)f(argumen)o(ts;)g(a)h(suitable)f +(default)h(message)f(will)0 1810 y(b)q(e)h(pro)o(vided.)42 +1862 y Fs(break)f Fw(is)i(presumed)g(to)g(b)q(e)g(used)h(as)f(a)g(w)o +(a)o(y)f(of)g(inserting)h(temp)q(orary)f(debugging)0 +1914 y(\\breakp)q(oin)o(ts")9 b(in)g(a)h(program,)e(not)h(as)h(a)f(w)o +(a)o(y)g(of)g(signaling)f(errors;)k(it)d(is)g(exp)q(ected)j(that)0 +1966 y(con)o(tin)o(uing)e(from)g(a)h Fs(break)g Fw(will)e(not)j +(trigger)f(an)o(y)g(un)o(usual)g(reco)o(v)o(ery)i(action.)k(F)m(or)11 +b(this)0 2017 y(reason,)18 b Fs(break)e Fw(do)q(es)i(not)e(tak)o(e)i +(the)f(additional)e Fs(format)h Fw(con)o(trol)h(string)g(argumen)o(t)0 +2069 y(that)h Fs(cerror)f Fw(tak)o(es.)32 b(This)18 b(and)g(the)h(lac)o +(k)f(of)f(an)o(y)h(p)q(ossibilit)o(y)f(of)h(in)o(terception)h(b)o(y)0 +2121 y(programmed)12 b(error)j(handling)f(are)h(the)g(only)e +(program-visible)g(di\013erences)j(b)q(et)o(w)o(een)0 +2173 y Fs(break)i Fw(and)g Fs(cerror)p Fw(.)31 b(The)19 +b(in)o(teractiv)o(e)g(debugger)h(ma)o(y)d(c)o(ho)q(ose)i(to)g(displa)o +(y)f(them)0 2225 y(di\013eren)o(tly;)c(for)f(instance,)h(a)f +Fs(cerror)g Fw(message)g(migh)o(t)f(b)q(e)i(pre\014xed)h(with)e(the)i +(herald)0 2277 y(\\)p Fs(Error:)20 b Fw(")13 b(and)h(a)f +Fs(break)g Fw(message)h(with)f(\\)p Fs(Break:)20 b Fw(".)e(This)13 +b(dep)q(ends)j(on)d(the)i(user-)0 2329 y(in)o(terface)e(st)o(yle)f(of)g +(the)g(particular)g(implemen)o(tation.)i(A)e(particular)g(implemen)o +(tation)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 726 750 +726 749 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(726)77 b(COMMON)13 b(LISP)0 295 y Fw(ma)o(y)f(c)o(ho)q(ose,)h +(according)h(to)f(its)h(o)o(wn)f(st)o(yle)g(and)h(needs,)g(when)g +Fs(break)e Fw(is)i(called)f(to)g(go)0 347 y(in)o(to)f(a)h(debugger)h +(di\013eren)o(t)g(from)d(the)j(one)f(used)h(for)f(handling)f(errors.)19 +b(F)m(or)12 b(example,)0 399 y(it)g(migh)o(t)e(go)h(in)o(to)h(an)g +(ordinary)g(read-ev)n(al-prin)o(t)f(lo)q(op)h(iden)o(tical)f(to)h(the)h +(top-lev)o(el)f(one)0 450 y(except)h(for)e(the)h(pro)o(vision)e(of)h(a) +g(\\con)o(tin)o(ue")g(command)d(that)j(causes)i Fs(break)d +Fw(to)i(return)0 502 y Fs(nil)p Fw(.)-33 514 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 562 V 0 622 a Fm(Compatibilit)o(y)k(note:)24 +b FA(In)16 b(MacLisp,)j Fj(break)14 b FA(is)j(a)g(sp)q(ecial)h(form)e +(\(FEXPR\))h(that)f(tak)o(es)0 668 y(t)o(w)o(o)h(optional)j(argumen)o +(ts.)32 b(The)18 b(\014rst)f(is)i(a)e(sym)o(b)q(ol)i(\(it)f(w)o(ould)h +(b)q(e)f(a)g(string)g(if)g(MacLisp)0 714 y(had)e(strings\),)i(whic)o(h) +e(is)g(not)g(ev)n(aluated.)27 b(The)16 b(second)g(is)h(ev)n(aluated)g +(to)f(pro)q(duce)h(a)e(truth)0 759 y(v)n(alue)c(sp)q(ecifying)i +(whether)d Fj(break)e FA(should)k(break)f(\(true\))f(or)h(return)f +(immediately)j(\(false\).)k(In)0 805 y(Common)9 b(Lisp)i(one)e(mak)o +(es)h(a)f(call)i(to)e Fj(break)e FA(conditional)13 b(b)o(y)c(putting)i +(it)f(inside)h(a)e(conditional)0 851 y(form)k(suc)o(h)g(as)g +Fj(when)f FA(or)h Fj(unless)p FA(.)p 0 877 V 42 956 a +Fw(X3J13)k(v)o(oted)i(in)e(June)i(1988)f Ft(h)p Fw(30)p +Ft(i)g Fw(to)g(adopt)g(a)f(prop)q(osal)h(for)g(a)g(Common)d(Lisp)-33 +927 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1008 a(Condition)f(System.)21 b(This)15 +b(prop)q(osal)g(mo)q(di\014es)f(the)i(de\014nition)f(of)f +Fs(break)g Fw(to)h(sp)q(ecify)0 1059 y(its)f(in)o(teraction)g(with)f +(the)i(condition)e(system.)18 b(See)d(section)f(29.4.11.)-33 +1071 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1209 a Fo(24.2.)20 b(Sp)r(ecialized)13 +b(Error-Signaling)h(F)-5 b(orms)14 b(and)h(Macros)0 1295 +y Fw(These)f(facilities)f(are)g(designed)h(to)f(mak)o(e)f(it)g(con)o(v) +o(enien)o(t)i(for)f(the)h(user)g(to)f(insert)h(error)0 +1346 y(c)o(hec)o(ks)h(in)o(to)e(co)q(de.)1255 1474 y([)p +Fv(Macr)n(o)s Fw(])-1396 b Fs(check-type)33 b Fv(plac)n(e)15 +b(typ)n(esp)n(e)n(c)22 b Fw([)p Fv(string)p Fw(])0 1550 +y Fs(check-type)16 b Fw(signals)i(an)g(error)h(if)e(the)i(con)o(ten)o +(ts)g(of)f Fv(plac)n(e)g Fw(are)h(not)f(of)g(the)h(desired)-38 +1525 y Fk(.)-38 1538 y(.)-38 1551 y(.)-38 1564 y(.)-38 +1577 y(.)-38 1590 y(.)-38 1603 y(.)-38 1616 y(.)-38 1629 +y(.)-38 1642 y(.)-38 1655 y(.)-38 1668 y(.)-38 1681 y(.)-38 +1694 y(.)-38 1707 y(.)-38 1720 y(.)-38 1733 y(.)-38 1746 +y(.)-38 1759 y(.)-38 1772 y(.)-38 1785 y(.)-38 1798 y(.)-38 +1811 y(.)-38 1824 y(.)-38 1837 y(.)-38 1850 y(.)-38 1863 +y(.)-38 1876 y(.)-38 1889 y(.)-38 1902 y(.)-38 1915 y(.)-38 +1928 y(.)-38 1940 y(.)-38 1953 y(.)-38 1966 y(.)-38 1979 +y(.)-38 1992 y(.)-38 2005 y(.)-38 2018 y(.)-38 2031 y(.)-38 +2044 y(.)-38 2057 y(.)-38 2070 y(.)-38 2083 y(.)-38 2096 +y(.)-38 2109 y(.)-38 2122 y(.)-38 2135 y(.)-38 2148 y(.)-38 +2161 y(.)-38 2174 y(.)-38 2187 y(.)-38 2200 y(.)-38 2213 +y(.)-38 2226 y(.)-38 2239 y(.)-38 2252 y(.)-38 2265 y(.)-38 +2278 y(.)-38 2291 y(.)-38 2304 y(.)-38 2317 y(.)-38 2330 +y(.)-38 2343 y(.)-38 2356 y(.)-38 2369 y(.)-38 2382 y(.)-38 +2395 y(.)-38 2407 y(.)-38 2420 y(.)-38 2433 y(.)-38 2446 +y(.)-38 2459 y(.)-38 2472 y(.)-38 2485 y(.)-38 2498 y(.)-38 +2511 y(.)-38 2524 y(.)-38 2537 y(.)-38 2550 y(.)-38 2563 +y(.)-38 2576 y(.)-38 2589 y(.)-38 2602 y(.)-38 2615 y(.)-38 +2628 y(.)-38 2641 y(.)-38 2654 y(.)-38 2667 y(.)-38 2680 +y(.)-38 2693 y(.)-38 2706 y(.)-38 2719 y(.)-38 2732 y(.)-38 +2745 y(.)-38 2758 y(.)-38 2771 y(.)-38 2784 y(.)-38 2797 +y(.)-38 2810 y(.)-38 2823 y(.)-38 2836 y(.)-38 2849 y(.)-38 +2862 y(.)-38 2874 y(.)-38 2887 y(.)-38 2900 y(.)-38 2913 +y(.)-38 2926 y(.)-38 2939 y(.)-38 2952 y(.)-38 2965 y(.)-38 +2978 y(.)-38 2991 y(.)-38 3004 y(.)-38 3017 y(.)-38 3030 +y(.)-38 3043 y(.)-38 3056 y(.)-38 3069 y(.)-38 3082 y(.)-38 +3095 y(.)-38 3108 y(.)-38 3121 y(.)-38 3134 y(.)-38 3147 +y(.)-38 3160 y(.)-38 3173 y(.)-38 3186 y(.)-38 3199 y(.)-38 +3212 y(.)-38 3225 y(.)-38 3238 y(.)-38 3251 y(.)-38 3264 +y(.)-38 3277 y(.)-38 3290 y(.)-38 3303 y(.)-38 3316 y(.)-38 +3329 y(.)-38 3341 y(.)-38 3354 y(.)-38 3367 y(.)-38 3380 +y(.)-38 3393 y(.)-38 3406 y(.)-38 3419 y(.)-38 3432 y(.)-38 +3445 y(.)-38 3458 y(.)-38 3471 y(.)-38 3484 y(.)-38 3497 +y(.)-38 3510 y(.)-38 3523 y(.)-38 3536 y(.)-38 3549 y(.)-38 +3562 y(.)-38 3575 y(.)-38 3588 y(.)-38 3601 y(.)-38 3614 +y(.)-38 3627 y(.)-38 3640 y(.)-38 3653 y(.)-38 3666 y(.)-38 +3679 y(.)-38 3692 y(.)-38 3705 y(.)-38 3718 y(.)-38 3731 +y(.)-38 3744 y(.)-38 3757 y(.)-38 3770 y(.)-38 3783 y(.)-38 +3796 y(.)-38 3808 y(.)-38 3821 y(.)-38 3834 y(.)-38 3847 +y(.)-38 3860 y(.)-38 3873 y(.)-38 3886 y(.)-38 3899 y(.)-38 +3912 y(.)-38 3925 y(.)-38 3938 y(.)-38 3951 y(.)-38 3964 +y(.)-38 3977 y(.)-38 3990 y(.)-38 4003 y(.)-38 4016 y(.)-38 +4029 y(.)-38 4042 y(.)-38 4055 y(.)-38 4068 y(.)-38 4081 +y(.)-38 4094 y(.)-38 4107 y(.)0 1602 y Fw(t)o(yp)q(e.)f(Up)q(on)13 +b(con)o(tin)o(uing)e(from)g(this)h(error,)h(the)g(user)h(will)d(b)q(e)i +(ask)o(ed)g(for)f(a)g(new)h(v)n(alue;)0 1654 y Fs(check-type)c +Fw(will)h(store)j(the)f(new)f(v)n(alue)g(in)g Fv(plac)n(e)h +Fw(and)f(start)h(o)o(v)o(er,)f(c)o(hec)o(king)h(the)g(t)o(yp)q(e)0 +1706 y(of)e(the)h(new)g(v)n(alue)f(and)h(signaling)e(another)i(error)h +(if)d(it)i(is)f(still)g(not)h(of)f(the)h(desired)h(t)o(yp)q(e.)0 +1758 y(Subforms)d(of)g Fv(plac)n(e)h Fw(ma)o(y)e(b)q(e)j(ev)n(aluated)f +(m)o(ultiple)d(times)i(b)q(ecause)j(of)e(the)g(implicit)e(lo)q(op)0 +1810 y(generated.)19 b Fs(check-type)12 b Fw(returns)k +Fs(nil)p Fw(.)42 1862 y(The)c Fv(plac)n(e)h Fw(m)o(ust)e(b)q(e)i(a)f +(generalized)h(v)n(ariable)e(reference)k(acceptable)e(to)g +Fs(setf)p Fw(.)j(The)0 1914 y Fv(typ)n(esp)n(e)n(c)h +Fw(m)o(ust)e(b)q(e)i(a)g(t)o(yp)q(e)g(sp)q(eci\014er;)i(it)d(is)h(not)f +(ev)n(aluated.)26 b(The)17 b Fv(string)f Fw(should)g(b)q(e)0 +1966 y(an)e(English)g(description)h(of)f(the)h(t)o(yp)q(e,)g(starting)f +(with)g(an)h(inde\014nite)f(article)h(\(\\a")f(or)0 2017 +y(\\an"\);)g(it)g(is)h(ev)n(aluated.)20 b(If)14 b Fv(string)g +Fw(is)g(not)h(supplied,)f(it)g(is)h(computed)f(automatically)0 +2069 y(from)i Fv(typ)n(esp)n(e)n(c)p Fw(.)32 b(\(The)18 +b(optional)f Fv(string)h Fw(argumen)o(t)f(is)h(allo)o(w)o(ed)f(b)q +(ecause)j(some)d(ap-)0 2121 y(plications)e(of)h Fs(check-type)e +Fw(ma)o(y)g(require)j(a)f(more)f(sp)q(eci\014c)j(description)e(of)g +(what)g(is)0 2173 y(w)o(an)o(ted)e(than)g(can)g(b)q(e)g(generated)i +(automatically)10 b(from)j(the)h(t)o(yp)q(e)g(sp)q(eci\014er.\))42 +2225 y(The)g(error)h(message)e(will)g(men)o(tion)f Fs(place)p +Fw(,)g(its)i(con)o(ten)o(ts,)h(and)e(the)i(desired)g(t)o(yp)q(e.)-33 +2237 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2277 a(The)k(precise)h(format)d(and)i(con)o(ten)o(t)h +(of)e(the)h(error)h(message)f(is)f(implemen)o(tation-)-33 +2249 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a(dep)q(enden)o(t.)i(The)14 b(example)f(sho)o(wn)h +(b)q(elo)o(w)f(is)h(represen)o(tativ)o(e)i(of)d(curren)o(t)i(practice.) +-33 2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 727 751 +727 750 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(ERRORS)1190 b(727)p +0 295 V 0 355 a Fm(Implemen)o(tation)15 b(note:)21 b +FA(An)15 b(implemen)o(tation)j(ma)o(y)d(c)o(ho)q(ose)h(to)f(generate)g +(a)g(somewhat)0 401 y(di\013eren)o(tly)i(w)o(orded)f(error)e(message)i +(if)f(it)g(recognizes)i(that)d Fq(plac)n(e)f FA(is)j(of)e(a)h +(particular)i(form,)0 446 y(suc)o(h)d(as)f(one)g(of)g(the)g(argumen)o +(ts)h(to)f(the)g(function)h(that)g(called)g Fj(check-type)p +FA(.)p 0 481 V 42 559 a Fw(X3J13)j(v)o(oted)i(in)e(June)i(1988)f +Ft(h)p Fw(30)p Ft(i)g Fw(to)g(adopt)g(a)f(prop)q(osal)h(for)g(a)g +(Common)d(Lisp)-33 530 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 611 a(Condition)i(System.)29 b(This)18 +b(prop)q(osal)f(mo)q(di\014es)g(the)h(de\014nition)g(of)f +Fs(check-type)f Fw(to)0 662 y(sp)q(ecify)e(its)g(in)o(teraction)g(with) +g(the)g(condition)f(system.)18 b(See)d(section)g(29.4.2.)-33 +674 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 714 a(X3J13)i(v)o(oted)h(in)f(Marc)o(h)h(1988)f +Ft(h)p Fw(146)p Ft(i)g Fw(to)g(clarify)g(order)h(of)f(ev)n(aluation)g +(\(see)i(sec-)-33 686 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 766 a(tion)13 b(7.2\).)-33 778 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 818 a(Examples:)0 903 y Fs(\(setq)20 +b(aardvarks)345 907 y Fn(')369 903 y Fs(\(sam)g(harry)g(fred\)\))0 +955 y(\(check-type)f(aardvarks)g(\(vector)h(integer\)\))0 +1007 y(Error:)g(The)g(value)h(of)f(AARDVARKS,)f(\(SAM)i(HARRY)f +(FRED\),)148 1059 y(is)h(not)g(a)f(vector)g(of)h(integers.)0 +1163 y(\(setq)f(naards)280 1167 y Fn(')303 1163 y Fs(foo\))0 +1215 y(\(check-type)f(naards)h(\(integer)f(0)i(*\))g("a)g(positive)e +(integer"\))0 1266 y(Error:)h(The)g(value)h(of)f(NAARDS,)g(FOO,)g(is)h +(not)g(a)g(positive)e(integer.)p 0 1326 V 0 1386 a Fm(Compatibilit)o(y) +11 b(note:)17 b FA(In)12 b(Lisp)h(Mac)o(hine)g(Lisp)g(the)f(equiv)n +(alen)o(t)j(facilit)o(y)f(is)e(called)i Fj(check-)0 1432 +y(arg-type)p FA(.)p 0 1467 V 1255 1577 a Fw([)p Fv(Macr)n(o)s +Fw(])-1396 b Fs(assert)34 b Fv(test-form)20 b Fw([)p +Fs(\()7 b Ft(f)p Fv(plac)n(e)p Ft(g)523 1562 y Fl(\003)548 +1577 y Fs(\))22 b Fw([)p Fv(string)f Ft(f)p Fv(ar)n(g)p +Ft(g)827 1562 y Fl(\003)852 1577 y Fw(])7 b(])0 1654 +y Fs(assert)12 b Fw(signals)h(an)h(error)h(if)d(the)j(v)n(alue)e(of)g +Fv(test-form)g Fw(is)g Fs(nil)p Fw(.)k(Con)o(tin)o(uing)c(from)f(this) +-38 1629 y Fk(.)-38 1642 y(.)-38 1655 y(.)-38 1668 y(.)-38 +1681 y(.)-38 1694 y(.)-38 1707 y(.)-38 1720 y(.)-38 1733 +y(.)-38 1746 y(.)-38 1759 y(.)-38 1772 y(.)-38 1785 y(.)-38 +1798 y(.)-38 1811 y(.)-38 1824 y(.)-38 1837 y(.)-38 1850 +y(.)-38 1863 y(.)-38 1876 y(.)-38 1889 y(.)-38 1902 y(.)-38 +1915 y(.)-38 1928 y(.)-38 1941 y(.)-38 1953 y(.)-38 1966 +y(.)-38 1979 y(.)-38 1992 y(.)-38 2005 y(.)-38 2018 y(.)-38 +2031 y(.)-38 2044 y(.)-38 2057 y(.)-38 2070 y(.)-38 2083 +y(.)-38 2096 y(.)-38 2109 y(.)-38 2122 y(.)-38 2135 y(.)-38 +2148 y(.)-38 2161 y(.)-38 2174 y(.)-38 2187 y(.)-38 2200 +y(.)-38 2213 y(.)-38 2226 y(.)-38 2239 y(.)-38 2252 y(.)-38 +2265 y(.)-38 2278 y(.)-38 2291 y(.)-38 2304 y(.)-38 2317 +y(.)-38 2330 y(.)-38 2343 y(.)-38 2356 y(.)-38 2369 y(.)-38 +2382 y(.)-38 2395 y(.)-38 2408 y(.)-38 2420 y(.)-38 2433 +y(.)-38 2446 y(.)-38 2459 y(.)-38 2472 y(.)-38 2485 y(.)-38 +2498 y(.)-38 2511 y(.)-38 2524 y(.)-38 2537 y(.)-38 2550 +y(.)-38 2563 y(.)-38 2576 y(.)-38 2589 y(.)-38 2602 y(.)-38 +2615 y(.)-38 2628 y(.)-38 2641 y(.)-38 2654 y(.)-38 2667 +y(.)-38 2680 y(.)-38 2693 y(.)-38 2706 y(.)-38 2719 y(.)-38 +2732 y(.)-38 2745 y(.)-38 2758 y(.)-38 2771 y(.)-38 2784 +y(.)-38 2797 y(.)-38 2810 y(.)-38 2823 y(.)-38 2836 y(.)-38 +2849 y(.)-38 2862 y(.)-38 2875 y(.)-38 2887 y(.)-38 2900 +y(.)-38 2913 y(.)-38 2926 y(.)-38 2939 y(.)-38 2952 y(.)-38 +2965 y(.)-38 2978 y(.)-38 2991 y(.)-38 3004 y(.)-38 3017 +y(.)-38 3030 y(.)-38 3043 y(.)-38 3056 y(.)-38 3069 y(.)-38 +3082 y(.)-38 3095 y(.)-38 3108 y(.)-38 3121 y(.)-38 3134 +y(.)-38 3147 y(.)-38 3160 y(.)-38 3173 y(.)-38 3186 y(.)-38 +3199 y(.)-38 3212 y(.)-38 3225 y(.)-38 3238 y(.)-38 3251 +y(.)-38 3264 y(.)-38 3277 y(.)-38 3290 y(.)-38 3303 y(.)-38 +3316 y(.)-38 3329 y(.)-38 3342 y(.)-38 3354 y(.)-38 3367 +y(.)-38 3380 y(.)-38 3393 y(.)-38 3406 y(.)-38 3419 y(.)-38 +3432 y(.)-38 3445 y(.)-38 3458 y(.)-38 3471 y(.)-38 3484 +y(.)-38 3497 y(.)-38 3510 y(.)-38 3523 y(.)-38 3536 y(.)-38 +3549 y(.)-38 3562 y(.)-38 3575 y(.)-38 3588 y(.)-38 3601 +y(.)-38 3614 y(.)-38 3627 y(.)-38 3640 y(.)-38 3653 y(.)-38 +3666 y(.)-38 3679 y(.)-38 3692 y(.)-38 3705 y(.)-38 3718 +y(.)-38 3731 y(.)-38 3744 y(.)-38 3757 y(.)-38 3770 y(.)-38 +3783 y(.)-38 3796 y(.)-38 3809 y(.)-38 3821 y(.)-38 3834 +y(.)-38 3847 y(.)-38 3860 y(.)-38 3873 y(.)-38 3886 y(.)-38 +3899 y(.)-38 3912 y(.)-38 3925 y(.)-38 3938 y(.)-38 3951 +y(.)-38 3964 y(.)-38 3977 y(.)-38 3990 y(.)-38 4003 y(.)-38 +4016 y(.)-38 4029 y(.)-38 4042 y(.)-38 4055 y(.)-38 4068 +y(.)-38 4081 y(.)-38 4094 y(.)-38 4107 y(.)-38 4120 y(.)-38 +4133 y(.)-38 4146 y(.)-38 4159 y(.)-38 4172 y(.)-38 4185 +y(.)-38 4198 y(.)-38 4211 y(.)0 1706 y Fw(error)h(will)e(allo)o(w)g +(the)i(user)h(to)e(alter)h(the)g(v)n(alues)f(of)g(some)f(v)n(ariables,) +h(and)g Fs(assert)f Fw(will)0 1758 y(then)k(start)f(o)o(v)o(er,)f(ev)n +(aluating)g Fv(test-form)g Fw(again.)k Fs(assert)12 b +Fw(returns)k Fs(nil)p Fw(.)42 1810 y Fv(test-form)f Fw(is)h(an)o(y)f +(form.)23 b(Eac)o(h)17 b Fv(plac)n(e)f Fw(\(there)i(ma)o(y)c(b)q(e)j +(an)o(y)e(n)o(um)o(b)q(er)h(of)f(them,)h(or)0 1862 y(none\))k(m)o(ust)f +(b)q(e)h(a)f(generalized-v)n(ariable)h(reference)i(acceptable)e(to)g +Fs(setf)p Fw(.)34 b(These)0 1914 y(should)17 b(b)q(e)g(v)n(ariables)f +(on)h(whic)o(h)f Fv(test-form)g Fw(dep)q(ends,)j(whose)e(v)n(alues)g +(ma)o(y)d(sensibly)0 1966 y(b)q(e)h(c)o(hanged)g(b)o(y)f(the)h(user)h +(in)e(attempting)f(to)h(correct)i(the)f(error.)21 b(Subforms)13 +b(of)h(eac)o(h)0 2017 y Fv(plac)n(e)e Fw(are)h(only)f(ev)n(aluated)g +(if)f(an)h(error)i(is)e(signaled,)f(and)i(ma)o(y)d(b)q(e)j(re-ev)n +(aluated)g(if)e(the)0 2069 y(error)k(is)f(re-signaled)f(\(after)i(con)o +(tin)o(uing)e(without)g(actually)g(\014xing)g(the)i(problem\).)42 +2121 y(The)10 b Fv(string)g Fw(is)g(an)g(error)h(message)f(string,)g +(and)g(the)h Fv(ar)n(gs)f Fw(are)h(additional)d(argumen)o(ts;)0 +2173 y(they)14 b(are)f(ev)n(aluated)g(only)g(if)f(an)h(error)h(is)f +(signaled,)g(and)g(re-ev)n(aluated)g(if)g(the)h(error)g(is)0 +2225 y(signaled)e(again.)k(The)d(function)f Fs(format)f +Fw(is)h(applied)g(in)g(the)h(usual)f(w)o(a)o(y)g(to)g +Fv(string)g Fw(and)0 2277 y Fv(ar)n(gs)i Fw(to)h(pro)q(duce)h(the)g +(actual)e(error)i(message.)21 b(If)14 b Fv(string)g Fw(is)h(omitted)e +(\(and)i(therefore)0 2329 y(also)e(the)i Fv(ar)n(gs)p +Fw(\),)e(a)h(default)f(error)i(message)e(is)h(used.)-33 +2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 728 752 +728 751 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(728)77 b(COMMON)13 +b(LISP)p 0 295 V 0 355 a Fm(Implemen)o(tation)g(note:)18 +b FA(The)c(debugger)g(need)g(not)g(include)i(the)d Fq(test-form)f +FA(in)i(the)f(error)0 401 y(message,)g(and)h(the)f Fq(plac)n(es)e +FA(should)k(not)f(b)q(e)f(included)j(in)e(the)f(message,)g(but)h(they)f +(should)i(b)q(e)0 447 y(made)h(a)o(v)n(ailable)j(for)d(the)g(user's)h +(p)q(erusal.)27 b(If)16 b(the)g(user)h(giv)o(es)g(the)f(\\con)o(tin)o +(ue")i(command,)0 492 y(he)13 b(should)i(b)q(e)e(presen)o(ted)i(with)e +(the)g(opp)q(ortunit)o(y)j(to)d(alter)g(the)g(v)n(alues)i(of)e(an)o(y)g +(or)g(all)i(of)d(the)0 538 y(references.)k(The)10 b(details)h(of)f +(this)g(dep)q(end)h(on)g(the)e(implemen)o(tation)q('s)j(st)o(yle)f(of)e +(user)h(in)o(terface,)0 584 y(of)j(course.)p 0 617 V +42 720 a Fw(X3J13)k(v)o(oted)i(in)e(June)i(1988)f Ft(h)p +Fw(30)p Ft(i)g Fw(to)g(adopt)g(a)f(prop)q(osal)h(for)g(a)g(Common)d +(Lisp)-33 691 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 772 a(Condition)d(System.)17 b(This)c(prop)q(osal)g(mo)q +(di\014es)f(the)i(de\014nition)f(of)f Fs(assert)g Fw(to)h(sp)q(ecify)0 +823 y(its)h(in)o(teraction)g(with)f(the)i(condition)e(system.)18 +b(See)d(section)f(29.4.2.)-33 835 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 876 a(X3J13)j(v)o(oted)h(in)f(Marc)o(h)h(1988)f +Ft(h)p Fw(146)p Ft(i)g Fw(to)g(clarify)g(order)h(of)f(ev)n(aluation)g +(\(see)i(sec-)-33 848 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 928 a(tion)13 b(7.2\).)-33 939 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 980 a(X3J13)e(v)o(oted)h(in)g(June)h(1989)e +Ft(h)p Fw(159)p Ft(i)g Fw(to)h(extend)h(the)g(sp)q(eci\014cation)g(of)e +Fs(assert)g Fw(to)h(al-)-33 952 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1032 a(lo)o(w)e(a)h Fv(plac)n(e)g Fw(whose)h +Fs(setf)e Fw(metho)q(d)g(has)h(more)f(than)i(one)f(store)h(v)n(ariable) +e(\(see)i Fs(define-)0 1084 y(setf-method)p Fw(\).)-33 +1096 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1136 a(Examples:)0 1227 y Fs(\(assert)20 +b(\(valve-closed-p)e(v1\)\))0 1330 y(\(assert)i(\(valve-closed-p)e +(v1\))i(\(\))169 1382 y("Live)h(steam)f(is)g(escaping!"\))0 +1486 y(\(assert)g(\(valve-closed-p)e(v1\))169 1538 y +(\(\(valve-manual-cont)o(rol)g(v1\)\))169 1590 y("Live)j(steam)f(is)g +(escaping!"\))0 1694 y(;;)h(Note)f(here)g(that)h(the)f(user)h(is)f +(invited)g(to)h(change)f(BASE,)0 1746 y(;;)h(but)f(not)h(the)f(bounds)g +(MINBASE)g(and)h(MAXBASE.)0 1862 y(\(assert)f(\(<)218 +1858 y(U)218 1866 y(U)260 1862 y(minbase)g(base)g(maxbase\))169 +1914 y(\(base\))169 1966 y("Base)297 1970 y Fn(~)321 +1966 y Fs(D)h(is)f(not)h(in)g(the)f(range)794 1970 y +Fn(~)818 1966 y Fs(D,)880 1970 y Fn(~)903 1966 y Fs(D")169 +2017 y(base)h(minbase)e(maxbase\))0 2121 y(;;)i(Note)f(here)g(that)h +(it)g(is)f(probably)g(not)g(desirable)g(to)g(include)g(the)0 +2173 y(;;)h(entire)f(contents)f(of)i(the)g(two)f(matrices)g(in)g(the)h +(error)f(message.)0 2225 y(;;)h(It)g(is)f(reasonable)f(to)i(assume)f +(that)g(the)h(debugger)e(will)i(give)0 2277 y(;;)g(the)f(user)h(access) +f(to)g(the)h(values)f(of)h(the)f(places)g(A)h(and)g(B.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 729 753 +729 752 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(ERRORS)1190 b(729)0 +295 y Fs(\(assert)20 b(\()196 291 y(U)196 299 y(U)238 +295 y(\(array-dimension)e(a)j(1\))233 347 y(\(array-dimension)d(b)j +(0\)\))169 399 y(\(a)g(b\))169 450 y("Cannot)f(multiply)g(a)579 +454 y Fn(~)603 450 y Fs(D-by-)711 454 y Fn(~)733 450 +y Fs(D)h(matrix)926 454 y Fn(~)191 502 y Fs(and)f(a)318 +506 y Fn(~)341 502 y Fs(D-by-)449 506 y Fn(~)471 502 +y Fs(D)h(matrix.")169 554 y(\(array-dimension)d(a)j(0\))169 +606 y(\(array-dimension)d(a)j(1\))169 658 y(\(array-dimension)d(b)j +(0\))169 710 y(\(array-dimension)d(b)j(1\)\))0 898 y +Fo(24.3.)f(Sp)r(ecial)14 b(F)-5 b(orms)14 b(for)h(Exhaustiv)n(e)f(Case) +h(Analysis)0 995 y Fw(The)c(syn)o(tax)g(for)g Fs(etypecase)e +Fw(and)h Fs(ctypecase)f Fw(is)i(the)h(same)e(as)g(for)h +Fs(typecase)p Fw(,)e(except)0 1047 y(that)16 b(no)f Fs(otherwise)f +Fw(clause)i(is)f(p)q(ermitted.)23 b(Similarly)l(,)13 +b(the)j(syn)o(tax)f(for)g Fs(ecase)g Fw(and)0 1099 y +Fs(ccase)e Fw(is)h(the)g(same)f(as)h(for)g Fs(case)f +Fw(except)i(for)e(the)i Fs(otherwise)d Fw(clause.)42 +1152 y Fs(etypecase)g Fw(and)i Fs(ecase)f Fw(are)i(similar)d(to)i +Fs(typecase)f Fw(and)h Fs(case)p Fw(,)f(resp)q(ectiv)o(ely)m(,)j(but)0 +1204 y(signal)h(a)g(non-con)o(tin)o(uable)g(error)i(rather)g(than)e +(returning)i Fs(nil)e Fw(if)g(no)g(clause)h(is)g(se-)0 +1256 y(lected.)42 1308 y Fs(ctypecase)12 b Fw(and)i Fs(ccase)f +Fw(are)i(also)e(similar)f(to)i Fs(typecase)e Fw(and)i +Fs(case)p Fw(,)f(but)i(signal)e(a)0 1360 y(con)o(tin)o(uable)g(error)i +(if)e(no)h(clause)g(is)g(selected.)1255 1533 y([)p Fv(Macr)n(o)s +Fw(])-1396 b Fs(etypecase)33 b Fv(keyform)22 b Ft(f)p +Fs(\()p Fv(typ)n(e)f Ft(f)7 b Fv(form)p Ft(g)668 1518 +y Fl(\003)693 1533 y Fs(\))p Ft(g)736 1518 y Fl(\003)0 +1612 y Fw(This)13 b(con)o(trol)f(construct)i(is)f(similar)d(to)j +Fs(typecase)p Fw(,)e(but)i(no)f(explicit)g Fs(otherwise)f +Fw(or)i Fs(t)-38 1587 y Fk(.)-38 1600 y(.)-38 1613 y(.)-38 +1625 y(.)-38 1638 y(.)-38 1651 y(.)-38 1664 y(.)-38 1677 +y(.)-38 1690 y(.)-38 1703 y(.)-38 1716 y(.)-38 1729 y(.)-38 +1742 y(.)-38 1755 y(.)-38 1768 y(.)-38 1781 y(.)-38 1794 +y(.)-38 1807 y(.)-38 1820 y(.)-38 1833 y(.)-38 1846 y(.)-38 +1859 y(.)-38 1872 y(.)-38 1885 y(.)-38 1898 y(.)-38 1911 +y(.)-38 1924 y(.)-38 1937 y(.)-38 1950 y(.)-38 1963 y(.)-38 +1976 y(.)-38 1989 y(.)-38 2002 y(.)-38 2015 y(.)-38 2028 +y(.)-38 2041 y(.)-38 2054 y(.)-38 2067 y(.)-38 2080 y(.)-38 +2092 y(.)-38 2105 y(.)-38 2118 y(.)-38 2131 y(.)-38 2144 +y(.)-38 2157 y(.)-38 2170 y(.)-38 2183 y(.)-38 2196 y(.)-38 +2209 y(.)-38 2222 y(.)-38 2235 y(.)-38 2248 y(.)-38 2261 +y(.)-38 2274 y(.)-38 2287 y(.)-38 2300 y(.)-38 2313 y(.)-38 +2326 y(.)-38 2339 y(.)-38 2352 y(.)-38 2365 y(.)-38 2378 +y(.)-38 2391 y(.)-38 2404 y(.)-38 2417 y(.)-38 2430 y(.)-38 +2443 y(.)-38 2456 y(.)-38 2469 y(.)-38 2482 y(.)-38 2495 +y(.)-38 2508 y(.)-38 2521 y(.)-38 2534 y(.)-38 2547 y(.)-38 +2559 y(.)-38 2572 y(.)-38 2585 y(.)-38 2598 y(.)-38 2611 +y(.)-38 2624 y(.)-38 2637 y(.)-38 2650 y(.)-38 2663 y(.)-38 +2676 y(.)-38 2689 y(.)-38 2702 y(.)-38 2715 y(.)-38 2728 +y(.)-38 2741 y(.)-38 2754 y(.)-38 2767 y(.)-38 2780 y(.)-38 +2793 y(.)-38 2806 y(.)-38 2819 y(.)-38 2832 y(.)-38 2845 +y(.)-38 2858 y(.)-38 2871 y(.)-38 2884 y(.)-38 2897 y(.)-38 +2910 y(.)-38 2923 y(.)-38 2936 y(.)-38 2949 y(.)-38 2962 +y(.)-38 2975 y(.)-38 2988 y(.)-38 3001 y(.)-38 3014 y(.)-38 +3026 y(.)-38 3039 y(.)-38 3052 y(.)-38 3065 y(.)-38 3078 +y(.)-38 3091 y(.)-38 3104 y(.)-38 3117 y(.)-38 3130 y(.)-38 +3143 y(.)-38 3156 y(.)-38 3169 y(.)-38 3182 y(.)-38 3195 +y(.)-38 3208 y(.)-38 3221 y(.)-38 3234 y(.)-38 3247 y(.)-38 +3260 y(.)-38 3273 y(.)-38 3286 y(.)-38 3299 y(.)-38 3312 +y(.)-38 3325 y(.)-38 3338 y(.)-38 3351 y(.)-38 3364 y(.)-38 +3377 y(.)-38 3390 y(.)-38 3403 y(.)-38 3416 y(.)-38 3429 +y(.)-38 3442 y(.)-38 3455 y(.)-38 3468 y(.)-38 3481 y(.)-38 +3493 y(.)-38 3506 y(.)-38 3519 y(.)-38 3532 y(.)-38 3545 +y(.)-38 3558 y(.)-38 3571 y(.)-38 3584 y(.)-38 3597 y(.)-38 +3610 y(.)-38 3623 y(.)-38 3636 y(.)-38 3649 y(.)-38 3662 +y(.)-38 3675 y(.)-38 3688 y(.)-38 3701 y(.)-38 3714 y(.)-38 +3727 y(.)-38 3740 y(.)-38 3753 y(.)-38 3766 y(.)-38 3779 +y(.)-38 3792 y(.)-38 3805 y(.)-38 3818 y(.)-38 3831 y(.)-38 +3844 y(.)-38 3857 y(.)-38 3870 y(.)-38 3883 y(.)-38 3896 +y(.)-38 3909 y(.)-38 3922 y(.)-38 3935 y(.)-38 3948 y(.)-38 +3960 y(.)-38 3973 y(.)-38 3986 y(.)-38 3999 y(.)-38 4012 +y(.)-38 4025 y(.)-38 4038 y(.)-38 4051 y(.)-38 4064 y(.)-38 +4077 y(.)-38 4090 y(.)-38 4103 y(.)-38 4116 y(.)-38 4129 +y(.)-38 4142 y(.)-38 4155 y(.)-38 4168 y(.)0 1663 y Fw(clause)i(is)f(p) +q(ermitted.)k(If)c(no)g(clause)g(is)g(satis\014ed,)h +Fs(etypecase)d Fw(signals)h(an)h(error)h(with)0 1715 +y(a)c(message)h(constructed)h(from)d(the)i(clauses.)19 +b(It)11 b(is)h(not)f(p)q(ermissible)g(to)h(con)o(tin)o(ue)f(from)0 +1767 y(this)f(error.)18 b(T)m(o)10 b(supply)g(an)g(application-sp)q +(eci\014c)g(error)h(message,)g(the)f(user)i(should)e(use)0 +1819 y Fs(typecase)h Fw(with)i(an)g Fs(otherwise)e Fw(clause)j(con)o +(taining)d(a)i(call)f(to)h Fs(error)p Fw(.)k(The)c(name)f(of)0 +1871 y(this)h(function)g(stands)g(for)g(\\exhaustiv)o(e)g(t)o(yp)q(e)h +(case")f(or)g(\\error-c)o(hec)o(king)h(t)o(yp)q(e)f(case.")0 +1923 y(F)m(or)g(example:)0 2017 y Fs(\(setq)20 b(x)h(1/3\))0 +2069 y(\(etypecase)e(x)42 2121 y(\(integer)h(x\))42 2173 +y(\(symbol)g(\(symbol-value)f(x\)\)\))0 2225 y(Error:)h(The)g(value)h +(of)f(X,)h(1/3,)f(is)h(neither)148 2277 y(an)g(integer)f(nor)g(a)h +(symbol.)0 2329 y(>)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 730 754 +730 753 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(730)77 b(COMMON)13 +b(LISP)-33 310 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 378 a Fw(X3J13)k(v)o(oted)i(in)e(June)i(1988)f +Ft(h)p Fw(30)p Ft(i)g Fw(to)g(adopt)g(a)f(prop)q(osal)h(for)g(a)g +(Common)d(Lisp)-33 350 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 430 a(Condition)k(System.)35 b(This)20 +b(prop)q(osal)f(mo)q(di\014es)g(the)h(de\014nition)g(of)f +Fs(etypecase)f Fw(to)0 482 y(sp)q(ecify)c(its)g(in)o(teraction)g(with)g +(the)g(condition)f(system.)18 b(See)d(section)g(29.4.3.)-33 +493 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1255 597 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(ctypecase)33 b Fv(keyplac)n(e)22 b Ft(f)p Fs(\()p +Fv(typ)n(e)g Ft(f)7 b Fv(form)p Ft(g)672 582 y Fl(\003)697 +597 y Fs(\))p Ft(g)740 582 y Fl(\003)0 673 y Fw(This)16 +b(con)o(trol)f(construct)j(is)e(similar)d(to)j Fs(typecase)p +Fw(,)e(but)i(no)f(explicit)h Fs(otherwise)e Fw(or)-38 +648 y Fk(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 700 +y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1038 y(.)-38 1051 y(.)-38 1064 y(.)-38 +1077 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1505 y(.)-38 1518 y(.)-38 1531 y(.)-38 +1544 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1972 y(.)-38 1985 y(.)-38 1998 y(.)-38 +2011 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2439 y(.)-38 2452 y(.)-38 2465 y(.)-38 +2478 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)-38 2867 y(.)-38 2880 +y(.)-38 2893 y(.)-38 2906 y(.)-38 2919 y(.)-38 2932 y(.)-38 +2945 y(.)-38 2957 y(.)-38 2970 y(.)-38 2983 y(.)-38 2996 +y(.)-38 3009 y(.)-38 3022 y(.)-38 3035 y(.)-38 3048 y(.)-38 +3061 y(.)-38 3074 y(.)-38 3087 y(.)-38 3100 y(.)-38 3113 +y(.)-38 3126 y(.)-38 3139 y(.)-38 3152 y(.)-38 3165 y(.)-38 +3178 y(.)-38 3191 y(.)-38 3204 y(.)-38 3217 y(.)-38 3230 +y(.)0 725 y Fs(t)h Fw(clause)g(is)g(p)q(ermitted.)21 +b(The)16 b Fv(keyplac)n(e)f Fw(m)o(ust)f(b)q(e)i(a)f(generalized)g(v)n +(ariable)f(reference)0 777 y(acceptable)h(to)f Fs(setf)p +Fw(.)19 b(If)13 b(no)h(clause)h(is)f(satis\014ed,)h Fs(ctypecase)d +Fw(signals)i(an)g(error)h(with)0 829 y(a)i(message)g(constructed)j +(from)c(the)i(clauses.)30 b(Con)o(tin)o(uing)16 b(from)f(this)j(error)g +(causes)0 881 y Fs(ctypecase)d Fw(to)i(accept)h(a)f(new)g(v)n(alue)f +(from)g(the)h(user,)i(store)e(it)g(in)o(to)f Fv(keyplac)n(e)p +Fw(,)i(and)0 933 y(start)10 b(o)o(v)o(er,)g(making)d(the)i(t)o(yp)q(e)h +(tests)h(again.)k(Subforms)8 b(of)h Fv(keyplac)n(e)h +Fw(ma)o(y)d(b)q(e)j(ev)n(aluated)0 985 y(m)o(ultiple)h(times.)17 +b(The)c(name)f(of)g(this)i(function)e(stands)i(for)f(\\con)o(tin)o +(uable)f(exhaustiv)o(e)0 1037 y(t)o(yp)q(e)i(case.")-33 +1048 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1089 a(X3J13)j(v)o(oted)i(in)e(June)i(1988)f +Ft(h)p Fw(30)p Ft(i)g Fw(to)g(adopt)g(a)f(prop)q(osal)h(for)g(a)g +(Common)d(Lisp)-33 1060 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1140 a(Condition)k(System.)35 b(This)20 +b(prop)q(osal)f(mo)q(di\014es)g(the)h(de\014nition)g(of)f +Fs(ctypecase)f Fw(to)0 1192 y(sp)q(ecify)c(its)g(in)o(teraction)g(with) +g(the)g(condition)f(system.)18 b(See)d(section)g(29.4.3.)-33 +1204 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1244 a(X3J13)i(v)o(oted)h(in)f(Marc)o(h)h(1988)f +Ft(h)p Fw(146)p Ft(i)g Fw(to)g(clarify)g(order)h(of)f(ev)n(aluation)g +(\(see)i(sec-)-33 1216 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1296 a(tion)13 b(7.2\).)-33 1308 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1255 1411 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(ecase)34 b Fv(keyform)21 b Ft(f)p Fs(\()7 b Ft(f)p +Fs(\()g Ft(f)p Fv(key)p Ft(g)509 1396 y Fl(\003)534 1411 +y Fs(\))15 b Ft(j)f Fv(key)p Ft(g)g(f)7 b Fv(form)p Ft(g)825 +1396 y Fl(\003)850 1411 y Fs(\))p Ft(g)893 1396 y Fl(\003)0 +1488 y Fw(This)20 b(con)o(trol)f(construct)j(is)e(similar)d(to)j +Fs(case)p Fw(,)g(but)g(no)g(explicit)f Fs(otherwise)f +Fw(or)i Fs(t)-38 1463 y Fk(.)-38 1476 y(.)-38 1489 y(.)-38 +1502 y(.)-38 1515 y(.)-38 1528 y(.)-38 1541 y(.)-38 1554 +y(.)-38 1567 y(.)-38 1580 y(.)-38 1593 y(.)-38 1606 y(.)-38 +1619 y(.)-38 1632 y(.)-38 1644 y(.)-38 1657 y(.)-38 1670 +y(.)-38 1683 y(.)-38 1696 y(.)-38 1709 y(.)-38 1722 y(.)-38 +1735 y(.)-38 1748 y(.)-38 1761 y(.)-38 1774 y(.)-38 1787 +y(.)-38 1800 y(.)-38 1813 y(.)-38 1826 y(.)-38 1839 y(.)-38 +1852 y(.)-38 1865 y(.)-38 1878 y(.)-38 1891 y(.)-38 1904 +y(.)-38 1917 y(.)-38 1930 y(.)-38 1943 y(.)-38 1956 y(.)-38 +1969 y(.)-38 1982 y(.)-38 1995 y(.)-38 2008 y(.)-38 2021 +y(.)-38 2034 y(.)-38 2047 y(.)-38 2060 y(.)-38 2073 y(.)-38 +2086 y(.)-38 2099 y(.)-38 2111 y(.)-38 2124 y(.)-38 2137 +y(.)-38 2150 y(.)-38 2163 y(.)-38 2176 y(.)-38 2189 y(.)-38 +2202 y(.)-38 2215 y(.)-38 2228 y(.)-38 2241 y(.)-38 2254 +y(.)-38 2267 y(.)-38 2280 y(.)-38 2293 y(.)-38 2306 y(.)-38 +2319 y(.)-38 2332 y(.)-38 2345 y(.)-38 2358 y(.)-38 2371 +y(.)-38 2384 y(.)-38 2397 y(.)-38 2410 y(.)-38 2423 y(.)-38 +2436 y(.)-38 2449 y(.)-38 2462 y(.)-38 2475 y(.)-38 2488 +y(.)-38 2501 y(.)-38 2514 y(.)-38 2527 y(.)-38 2540 y(.)-38 +2553 y(.)-38 2566 y(.)-38 2578 y(.)-38 2591 y(.)-38 2604 +y(.)-38 2617 y(.)-38 2630 y(.)-38 2643 y(.)-38 2656 y(.)-38 +2669 y(.)-38 2682 y(.)-38 2695 y(.)-38 2708 y(.)-38 2721 +y(.)-38 2734 y(.)-38 2747 y(.)-38 2760 y(.)-38 2773 y(.)-38 +2786 y(.)-38 2799 y(.)-38 2812 y(.)-38 2825 y(.)-38 2838 +y(.)-38 2851 y(.)-38 2864 y(.)-38 2877 y(.)-38 2890 y(.)-38 +2903 y(.)-38 2916 y(.)-38 2929 y(.)-38 2942 y(.)-38 2955 +y(.)-38 2968 y(.)-38 2981 y(.)-38 2994 y(.)-38 3007 y(.)-38 +3020 y(.)-38 3033 y(.)-38 3045 y(.)-38 3058 y(.)-38 3071 +y(.)-38 3084 y(.)-38 3097 y(.)-38 3110 y(.)-38 3123 y(.)-38 +3136 y(.)-38 3149 y(.)-38 3162 y(.)-38 3175 y(.)-38 3188 +y(.)-38 3201 y(.)-38 3214 y(.)-38 3227 y(.)-38 3240 y(.)-38 +3253 y(.)-38 3266 y(.)-38 3279 y(.)-38 3292 y(.)-38 3305 +y(.)-38 3318 y(.)-38 3331 y(.)-38 3344 y(.)-38 3357 y(.)-38 +3370 y(.)-38 3383 y(.)-38 3396 y(.)-38 3409 y(.)-38 3422 +y(.)-38 3435 y(.)-38 3448 y(.)-38 3461 y(.)-38 3474 y(.)-38 +3487 y(.)-38 3500 y(.)-38 3512 y(.)-38 3525 y(.)-38 3538 +y(.)-38 3551 y(.)-38 3564 y(.)-38 3577 y(.)-38 3590 y(.)-38 +3603 y(.)-38 3616 y(.)-38 3629 y(.)-38 3642 y(.)-38 3655 +y(.)-38 3668 y(.)-38 3681 y(.)-38 3694 y(.)-38 3707 y(.)-38 +3720 y(.)-38 3733 y(.)-38 3746 y(.)-38 3759 y(.)-38 3772 +y(.)-38 3785 y(.)-38 3798 y(.)-38 3811 y(.)-38 3824 y(.)-38 +3837 y(.)-38 3850 y(.)-38 3863 y(.)-38 3876 y(.)-38 3889 +y(.)-38 3902 y(.)-38 3915 y(.)-38 3928 y(.)-38 3941 y(.)-38 +3954 y(.)-38 3967 y(.)-38 3979 y(.)-38 3992 y(.)-38 4005 +y(.)-38 4018 y(.)-38 4031 y(.)-38 4044 y(.)0 1540 y Fw(clause)h(is)f(p) +q(ermitted.)37 b(If)19 b(no)h(clause)h(is)f(satis\014ed,)i +Fs(ecase)d Fw(signals)h(an)g(error)h(with)0 1592 y(a)e(message)g +(constructed)j(from)c(the)i(clauses.)35 b(It)20 b(is)f(not)h(p)q +(ermissible)e(to)i(con)o(tin)o(ue)0 1644 y(from)14 b(this)i(error.)24 +b(T)m(o)15 b(supply)h(an)g(error)g(message,)g(the)g(user)h(should)f +(use)g Fs(case)f Fw(with)0 1695 y(an)h Fs(otherwise)e +Fw(clause)i(con)o(taining)f(a)h(call)f(to)h Fs(error)p +Fw(.)23 b(The)17 b(name)e(of)g(this)h(function)0 1747 +y(stands)f(for)e(\\exhaustiv)o(e)h(case")h(or)f(\\error-c)o(hec)o(king) +g(case.")19 b(F)m(or)14 b(example:)0 1830 y Fs(\(setq)20 +b(x)h(1/3\))0 1882 y(\(ecase)f(x)42 1934 y(\(alpha)g(\(foo\)\))42 +1986 y(\(omega)g(\(bar\)\))42 2038 y(\(\(zeta)g(phi\))h(\(baz\)\)\))0 +2090 y(Error:)f(The)g(value)h(of)f(X,)h(1/3,)f(is)h(not)148 +2142 y(ALPHA,)f(OMEGA,)g(ZETA,)g(or)h(PHI.)-33 2157 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2225 a Fw(X3J13)c(v)o(oted)i(in)e(June)i(1988)f +Ft(h)p Fw(30)p Ft(i)g Fw(to)g(adopt)g(a)f(prop)q(osal)h(for)g(a)g +(Common)d(Lisp)-33 2197 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2277 a(Condition)f(System.)21 b(This)15 +b(prop)q(osal)g(mo)q(di\014es)f(the)i(de\014nition)f(of)f +Fs(ecase)g Fw(to)h(sp)q(ecify)0 2329 y(its)f(in)o(teraction)g(with)f +(the)i(condition)e(system.)18 b(See)d(section)f(29.4.3.)-33 +2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 731 755 +731 754 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(ERRORS)1190 b(731)1255 295 y Fw([)p Fv(Macr)n(o)s +Fw(])-1396 b Fs(ccase)34 b Fv(keyplac)n(e)22 b Ft(f)p +Fs(\()7 b Ft(f)p Fs(\()g Ft(f)p Fv(key)p Ft(g)513 280 +y Fl(\003)538 295 y Fs(\))15 b Ft(j)f Fv(key)p Ft(g)g(f)7 +b Fv(form)p Ft(g)829 280 y Fl(\003)854 295 y Fs(\))p +Ft(g)897 280 y Fl(\003)0 372 y Fw(This)20 b(con)o(trol)f(construct)j +(is)e(similar)d(to)j Fs(case)p Fw(,)g(but)g(no)g(explicit)f +Fs(otherwise)f Fw(or)i Fs(t)-38 347 y Fk(.)-38 359 y(.)-38 +372 y(.)-38 385 y(.)-38 398 y(.)-38 411 y(.)-38 424 y(.)-38 +437 y(.)-38 450 y(.)-38 463 y(.)-38 476 y(.)-38 489 y(.)-38 +502 y(.)-38 515 y(.)-38 528 y(.)-38 541 y(.)-38 554 y(.)-38 +567 y(.)-38 580 y(.)-38 593 y(.)-38 606 y(.)-38 619 y(.)-38 +632 y(.)-38 645 y(.)-38 658 y(.)-38 671 y(.)-38 684 y(.)-38 +697 y(.)-38 710 y(.)-38 723 y(.)-38 736 y(.)-38 749 y(.)-38 +762 y(.)-38 775 y(.)-38 788 y(.)-38 801 y(.)-38 814 y(.)-38 +826 y(.)-38 839 y(.)-38 852 y(.)-38 865 y(.)-38 878 y(.)-38 +891 y(.)-38 904 y(.)-38 917 y(.)-38 930 y(.)-38 943 y(.)-38 +956 y(.)-38 969 y(.)-38 982 y(.)-38 995 y(.)-38 1008 +y(.)-38 1021 y(.)-38 1034 y(.)-38 1047 y(.)-38 1060 y(.)-38 +1073 y(.)-38 1086 y(.)-38 1099 y(.)-38 1112 y(.)-38 1125 +y(.)-38 1138 y(.)-38 1151 y(.)-38 1164 y(.)-38 1177 y(.)-38 +1190 y(.)-38 1203 y(.)-38 1216 y(.)-38 1229 y(.)-38 1242 +y(.)-38 1255 y(.)-38 1268 y(.)-38 1280 y(.)-38 1293 y(.)-38 +1306 y(.)-38 1319 y(.)-38 1332 y(.)-38 1345 y(.)-38 1358 +y(.)-38 1371 y(.)-38 1384 y(.)-38 1397 y(.)-38 1410 y(.)-38 +1423 y(.)-38 1436 y(.)-38 1449 y(.)-38 1462 y(.)-38 1475 +y(.)-38 1488 y(.)-38 1501 y(.)-38 1514 y(.)-38 1527 y(.)-38 +1540 y(.)-38 1553 y(.)-38 1566 y(.)-38 1579 y(.)-38 1592 +y(.)-38 1605 y(.)-38 1618 y(.)-38 1631 y(.)-38 1644 y(.)-38 +1657 y(.)-38 1670 y(.)-38 1683 y(.)-38 1696 y(.)-38 1709 +y(.)-38 1722 y(.)-38 1735 y(.)-38 1747 y(.)-38 1760 y(.)-38 +1773 y(.)-38 1786 y(.)-38 1799 y(.)-38 1812 y(.)-38 1825 +y(.)-38 1838 y(.)-38 1851 y(.)-38 1864 y(.)-38 1877 y(.)-38 +1890 y(.)-38 1903 y(.)-38 1916 y(.)-38 1929 y(.)-38 1942 +y(.)-38 1955 y(.)-38 1968 y(.)-38 1981 y(.)-38 1994 y(.)-38 +2007 y(.)-38 2020 y(.)-38 2033 y(.)-38 2046 y(.)-38 2059 +y(.)-38 2072 y(.)-38 2085 y(.)-38 2098 y(.)-38 2111 y(.)-38 +2124 y(.)-38 2137 y(.)-38 2150 y(.)-38 2163 y(.)-38 2176 +y(.)-38 2189 y(.)-38 2202 y(.)-38 2214 y(.)-38 2227 y(.)-38 +2240 y(.)-38 2253 y(.)-38 2266 y(.)-38 2279 y(.)-38 2292 +y(.)-38 2305 y(.)-38 2318 y(.)-38 2331 y(.)-38 2344 y(.)-38 +2357 y(.)-38 2370 y(.)-38 2383 y(.)-38 2396 y(.)-38 2409 +y(.)-38 2422 y(.)-38 2435 y(.)-38 2448 y(.)-38 2461 y(.)-38 +2474 y(.)-38 2487 y(.)-38 2500 y(.)-38 2513 y(.)-38 2526 +y(.)-38 2539 y(.)-38 2552 y(.)-38 2565 y(.)-38 2578 y(.)-38 +2591 y(.)-38 2604 y(.)-38 2617 y(.)-38 2630 y(.)-38 2643 +y(.)-38 2656 y(.)-38 2669 y(.)-38 2681 y(.)-38 2694 y(.)-38 +2707 y(.)-38 2720 y(.)-38 2733 y(.)-38 2746 y(.)-38 2759 +y(.)-38 2772 y(.)-38 2785 y(.)-38 2798 y(.)-38 2811 y(.)-38 +2824 y(.)-38 2837 y(.)-38 2850 y(.)-38 2863 y(.)-38 2876 +y(.)-38 2889 y(.)-38 2902 y(.)-38 2915 y(.)-38 2928 y(.)0 +423 y Fw(clause)f(is)f(p)q(ermitted.)30 b(The)18 b Fv(keyplac)n(e)h +Fw(m)o(ust)e(b)q(e)i(a)f(generalized)g(v)n(ariable)f(reference)0 +475 y(acceptable)k(to)g Fs(setf)p Fw(.)36 b(If)20 b(no)g(clause)h(is)f +(satis\014ed,)j Fs(ccase)c Fw(signals)h(an)g(error)h(with)0 +527 y(a)c(message)g(constructed)j(from)c(the)i(clauses.)30 +b(Con)o(tin)o(uing)16 b(from)f(this)j(error)g(causes)0 +579 y Fs(ccase)d Fw(to)h(accept)h(a)e(new)i(v)n(alue)e(from)f(the)j +(user,)g(store)f(it)g(in)o(to)f Fv(keyplac)n(e)p Fw(,)h(and)g(start)0 +631 y(o)o(v)o(er,)f(making)e(the)j(clause)g(tests)h(again.)k(Subforms) +14 b(of)h Fv(keyplac)n(e)h Fw(ma)o(y)d(b)q(e)j(ev)n(aluated)0 +683 y(m)o(ultiple)11 b(times.)17 b(The)c(name)f(of)g(this)i(function)e +(stands)i(for)f(\\con)o(tin)o(uable)f(exhaustiv)o(e)0 +735 y(case.")-33 746 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 787 a(X3J13)17 b(v)o(oted)i(in)e(June)i(1988)f +Ft(h)p Fw(30)p Ft(i)g Fw(to)g(adopt)g(a)f(prop)q(osal)h(for)g(a)g +(Common)d(Lisp)-33 758 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 839 a(Condition)f(System.)21 b(This)15 +b(prop)q(osal)g(mo)q(di\014es)f(the)i(de\014nition)f(of)f +Fs(ccase)g Fw(to)h(sp)q(ecify)0 890 y(its)f(in)o(teraction)g(with)f +(the)i(condition)e(system.)18 b(See)d(section)f(29.4.3.)-33 +902 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 942 a(X3J13)j(v)o(oted)h(in)f(Marc)o(h)h(1988)f +Ft(h)p Fw(146)p Ft(i)g Fw(to)g(clarify)g(order)h(of)f(ev)n(aluation)g +(\(see)i(sec-)-33 914 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 994 a(tion)13 b(7.2\).)-33 1006 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1054 V 0 1114 a Fm(Rationale:)26 b FA(The)18 +b(sp)q(ecial)i(forms)d Fj(etypecase)p FA(,)e Fj(ctypecase)p +FA(,)g Fj(ecase)p FA(,)h(and)j Fj(ccase)c FA(are)j(in-)0 +1160 y(cluded)h(in)f(Common)f(Lisp,)i(ev)o(en)e(though)i(a)e(user)g +(could)i(write)e(them)g(himself)i(using)f(the)0 1205 +y(other)g(standard)h(facilities)h(pro)o(vided,)h(b)q(ecause)d(it)g(is)g +(lik)o(ely)i(that)e(man)o(y)g(users)h(will)g(w)o(an)o(t)0 +1251 y(these.)e(Common)12 b(Lisp)g(therefore)g(pro)o(vides)h(a)f +(standard)h(consisten)o(t)g(set)e(rather)h(than)h(allo)o(w-)0 +1297 y(ing)h(a)f(v)n(ariet)o(y)h(of)f(incompatible)j(dialects)f(to)e +(dev)o(elop.)42 1342 y(In)i(addition,)j(exp)q(erience)f(has)f(sho)o(wn) +g(that)f(some)h(Lisp)g(programmers)g(are)g(to)q(o)f(lazy)i(to)0 +1388 y(put)e(an)g(appropriate)i Fj(otherwise)11 b FA(clause)16 +b(in)o(to)f(ev)o(ery)g Fj(case)e FA(statemen)o(t)i(to)g(c)o(hec)o(k)g +(for)f(cases)0 1434 y(they)k(didn't)h(an)o(ticipate,)h(ev)o(en)e(if)g +(they)g(w)o(ould)g(agree)g(that)g(it)g(will)h(probably)h(h)o(urt)d +(them)0 1479 y(later.)23 b(If)14 b(an)h Fj(otherwise)c +FA(clause)16 b(can)f(b)q(e)g(included)i(v)o(ery)e(easily)h(b)o(y)f +(adding)i(one)e(c)o(haracter)0 1525 y(to)f(the)g(name)g(of)g(the)g +(construct,)g(it)g(is)h(p)q(erhaps)g(more)f(lik)o(ely)i(that)e +(programmers)h(will)g(tak)o(e)0 1571 y(the)e(trouble)i(to)d(do)i(it.)42 +1616 y(The)e Fj(e)h FA(v)o(ersions)h(do)g(nothing)h(more)e(than)g +(supply)i(automatically)h(generated)e Fj(otherwise)0 +1662 y FA(clauses,)22 b(but)e(correct)f(implemen)o(tation)k(of)c(the)h +Fj(c)e FA(v)o(ersions)j(requires)g(some)f(care.)36 b(It)19 +b(is)0 1708 y(therefore)f(esp)q(ecially)j(imp)q(ortan)o(t)f(that)e(the) +g Fj(c)g FA(v)o(ersions)h(b)q(e)g(pro)o(vided)h(b)o(y)e(the)g(system)g +(so)0 1753 y(users)i(don't)f(ha)o(v)o(e)g(to)g(puzzle)i(them)e(out)g +(on)h(their)g(o)o(wn.)35 b(Individual)22 b(implemen)o(tation)q(s)0 +1799 y(ma)o(y)15 b(b)q(e)g(able)h(to)f(do)h(a)f(b)q(etter)g(job)g(of)g +(supp)q(orting)i(these)e(sp)q(ecial)i(forms,)e(using)i(their)f(o)o(wn)0 +1845 y(idiosyncratic)i(facilities,)f(than)d(can)h(b)q(e)g(done)g(using) +g(the)g(error-signaling)i(facilities)g(de\014ned)0 1890 +y(b)o(y)c(Common)h(Lisp.)p 0 1924 V -33 2344 a @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 732 756 +732 755 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(25)p 0 448 598 +9 v 0 531 a Fp(Miscellane)q(ous)32 b(F)n(eatures)0 905 +y Fw(In)13 b(this)g(c)o(hapter)g(are)g(describ)q(ed)i(v)n(arious)d +(things)h(that)f(don't)h(seem)f(to)h(\014t)g(neatly)f(an)o(y-)0 +957 y(where)g(else)f(in)f(this)h(b)q(o)q(ok:)16 b(the)11 +b(compiler,)e(the)i Fs(documentation)d Fw(function,)i(debugging)0 +1008 y(aids,)i(en)o(vironmen)o(t)g(inquiries)h(\(including)f +(facilities)g(for)h(calculating)f(and)h(measuring)0 1060 +y(time\),)f(and)i(the)g Fs(identity)f Fw(function.)0 +1244 y Fo(25.1.)20 b(The)15 b(Compiler)0 1340 y Fw(The)20 +b(compiler)e(is)i(a)f(program)f(that)i(ma)o(y)e(mak)o(e)g(co)q(de)j +(run)f(faster)g(b)o(y)f(translating)-38 1315 y Fk(.)-38 +1328 y(.)-38 1340 y(.)-38 1353 y(.)-38 1366 y(.)-38 1379 +y(.)-38 1392 y(.)-38 1405 y(.)-38 1418 y(.)-38 1431 y(.)-38 +1444 y(.)-38 1457 y(.)-38 1470 y(.)-38 1483 y(.)-38 1496 +y(.)-38 1509 y(.)-38 1522 y(.)-38 1535 y(.)-38 1548 y(.)-38 +1561 y(.)-38 1574 y(.)-38 1587 y(.)-38 1600 y(.)-38 1613 +y(.)-38 1626 y(.)-38 1639 y(.)-38 1652 y(.)-38 1665 y(.)-38 +1678 y(.)-38 1691 y(.)-38 1704 y(.)-38 1717 y(.)-38 1730 +y(.)-38 1743 y(.)-38 1756 y(.)-38 1769 y(.)-38 1782 y(.)-38 +1795 y(.)-38 1807 y(.)-38 1820 y(.)-38 1833 y(.)-38 1846 +y(.)-38 1859 y(.)-38 1872 y(.)-38 1885 y(.)-38 1898 y(.)-38 +1911 y(.)-38 1924 y(.)-38 1937 y(.)-38 1950 y(.)-38 1963 +y(.)-38 1976 y(.)-38 1989 y(.)-38 2002 y(.)-38 2015 y(.)-38 +2028 y(.)-38 2041 y(.)-38 2054 y(.)-38 2067 y(.)-38 2080 +y(.)-38 2093 y(.)-38 2106 y(.)-38 2119 y(.)-38 2132 y(.)-38 +2145 y(.)-38 2158 y(.)-38 2171 y(.)-38 2184 y(.)-38 2197 +y(.)-38 2210 y(.)-38 2223 y(.)-38 2236 y(.)-38 2249 y(.)-38 +2262 y(.)-38 2274 y(.)-38 2287 y(.)-38 2300 y(.)-38 2313 +y(.)-38 2326 y(.)-38 2339 y(.)-38 2352 y(.)-38 2365 y(.)-38 +2378 y(.)-38 2391 y(.)-38 2404 y(.)-38 2417 y(.)-38 2430 +y(.)-38 2443 y(.)-38 2456 y(.)-38 2469 y(.)-38 2482 y(.)-38 +2495 y(.)-38 2508 y(.)-38 2521 y(.)-38 2534 y(.)-38 2547 +y(.)-38 2560 y(.)-38 2573 y(.)-38 2586 y(.)-38 2599 y(.)-38 +2612 y(.)-38 2625 y(.)-38 2638 y(.)-38 2651 y(.)-38 2664 +y(.)-38 2677 y(.)-38 2690 y(.)-38 2703 y(.)-38 2716 y(.)-38 +2729 y(.)-38 2741 y(.)-38 2754 y(.)-38 2767 y(.)-38 2780 +y(.)-38 2793 y(.)-38 2806 y(.)-38 2819 y(.)-38 2832 y(.)-38 +2845 y(.)-38 2858 y(.)-38 2871 y(.)-38 2884 y(.)-38 2897 +y(.)-38 2910 y(.)-38 2923 y(.)-38 2936 y(.)-38 2949 y(.)-38 +2962 y(.)-38 2975 y(.)-38 2988 y(.)-38 3001 y(.)-38 3014 +y(.)-38 3027 y(.)-38 3040 y(.)-38 3053 y(.)-38 3066 y(.)-38 +3079 y(.)-38 3092 y(.)-38 3105 y(.)-38 3118 y(.)-38 3131 +y(.)-38 3144 y(.)-38 3157 y(.)-38 3170 y(.)-38 3183 y(.)-38 +3196 y(.)-38 3208 y(.)-38 3221 y(.)-38 3234 y(.)-38 3247 +y(.)-38 3260 y(.)-38 3273 y(.)-38 3286 y(.)-38 3299 y(.)-38 +3312 y(.)-38 3325 y(.)-38 3338 y(.)-38 3351 y(.)-38 3364 +y(.)-38 3377 y(.)-38 3390 y(.)-38 3403 y(.)-38 3416 y(.)-38 +3429 y(.)-38 3442 y(.)-38 3455 y(.)-38 3468 y(.)-38 3481 +y(.)-38 3494 y(.)-38 3507 y(.)-38 3520 y(.)-38 3533 y(.)-38 +3546 y(.)-38 3559 y(.)-38 3572 y(.)-38 3585 y(.)-38 3598 +y(.)-38 3611 y(.)-38 3624 y(.)-38 3637 y(.)-38 3650 y(.)-38 +3663 y(.)-38 3675 y(.)-38 3688 y(.)-38 3701 y(.)-38 3714 +y(.)-38 3727 y(.)-38 3740 y(.)-38 3753 y(.)-38 3766 y(.)-38 +3779 y(.)-38 3792 y(.)-38 3805 y(.)-38 3818 y(.)-38 3831 +y(.)-38 3844 y(.)-38 3857 y(.)-38 3870 y(.)-38 3883 y(.)-38 +3896 y(.)0 1391 y Fw(programs)12 b(in)o(to)g(an)g(implemen)o +(tation-dep)q(enden)o(t)f(form)g(that)i(can)g(b)q(e)h(executed)h(more)0 +1443 y(e\016cien)o(tly)g(b)o(y)h(the)g(computer.)22 b(Most)16 +b(of)f(the)h(time)e(y)o(ou)h(can)g(write)h(programs)e(with-)0 +1495 y(out)h(w)o(orrying)f(ab)q(out)g(the)i(compiler;)d(compiling)f(a)i +(\014le)h(of)f(co)q(de)i(should)e(pro)q(duce)i(an)0 1547 +y(equiv)n(alen)o(t)c(but)i(more)e(e\016cien)o(t)h(program.)k(When)c +(doing)f(more)g(esoteric)j(things,)d(y)o(ou)0 1599 y(ma)o(y)f(need)i +(to)g(think)f(carefully)g(ab)q(out)g(what)h(happ)q(ens)g(at)g +(\\compile)d(time")h(and)i(what)0 1651 y(happ)q(ens)19 +b(at)e(\\load)g(time.")28 b(Then)18 b(the)g(di\013erence)i(b)q(et)o(w)o +(een)f(the)f(syn)o(taxes)h Fs(#)1267 1647 y(-)1267 1655 +y(-)1288 1651 y(.)f Fw(and)0 1703 y Fs(#)0 1699 y(-)0 +1707 y(-)22 1703 y(,)h Fw(b)q(ecomes)g(imp)q(ortan)o(t,)f(and)h(the)h +Fs(eval-when)d Fw(construct)k(b)q(ecomes)f(particularly)0 +1755 y(useful.)-33 1766 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1807 a(X3J13)13 b(v)o(oted)h(in)g(Jan)o(uary)f(1989)g +Ft(h)p Fw(162)p Ft(i)h Fw(to)f(remo)o(v)o(e)g Fs(#)889 +1803 y(-)889 1811 y(-)911 1807 y(,)h Fw(from)e(the)i(language.)-33 +1779 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 44 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1860 a(Most)f(declarations)h(are)f(not)g(used)i(b)o(y)e +(the)h(Commo)o(n)d(Lisp)i(in)o(terpreter;)i(they)f(ma)o(y)0 +1912 y(b)q(e)i(used)g(to)f(giv)o(e)g(advice)g(to)g(the)h(compiler.)21 +b(The)16 b(compiler)e(ma)o(y)f(attempt)i(to)g(c)o(hec)o(k)0 +1964 y(y)o(our)f(advice)g(and)f(w)o(arn)h(y)o(ou)g(if)f(it)g(is)h +(inconsisten)o(t.)42 2017 y(Unlik)o(e)h(most)h(other)h(Lisp)f +(dialects,)h(Commo)o(n)d(Lisp)i(recognizes)i Fs(special)d +Fw(decla-)0 2068 y(rations)e(in)g(in)o(terpreted)i(co)q(de)f(as)g(w)o +(ell)f(as)g(compiled)f(co)q(de.)19 b(This)13 b(p)q(oten)o(tial)g +(source)h(of)0 2120 y(incompatibilit)o(y)d(b)q(et)o(w)o(een)k(in)o +(terpreted)h(and)f(compiled)d(co)q(de)j(is)g(thereb)o(y)g +Fv(eliminate)n(d)0 2172 y Fw(in)e(Common)e(Lisp.)42 2225 +y(The)f(in)o(ternal)g(w)o(orkings)g(of)f(a)h(compiler)f(will)g(of)g +(course)j(b)q(e)e(highly)f(implemen)o(tation-)0 2277 +y(dep)q(enden)o(t.)21 b(The)15 b(follo)o(wing)c(functions)k(pro)o(vide) +f(a)g(standard)g(in)o(terface)h(to)f(the)h(com-)0 2329 +y(piler,)e(ho)o(w)o(ev)o(er.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2428 a Fy(732)p eop +%%Page: 733 757 +733 756 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(MISCELLANEOUS)13 b(FEA)m(TURES)828 b(733)1209 +295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(compile)20 +b Fv(name)25 b Fs(&optional)19 b Fv(de\014nition)0 389 +y Fw(If)g Fv(de\014nition)h Fw(is)f(supplied,)h(it)f(should)g(b)q(e)h +(a)f(lam)o(b)q(da-expression,)g(the)h(in)o(terpreted)-38 +364 y Fk(.)-38 377 y(.)-38 390 y(.)-38 403 y(.)-38 416 +y(.)-38 429 y(.)-38 442 y(.)-38 455 y(.)-38 468 y(.)-38 +481 y(.)-38 494 y(.)-38 507 y(.)-38 520 y(.)-38 533 y(.)-38 +546 y(.)-38 559 y(.)-38 572 y(.)-38 585 y(.)-38 598 y(.)-38 +611 y(.)-38 624 y(.)-38 637 y(.)-38 650 y(.)-38 663 y(.)-38 +676 y(.)-38 689 y(.)-38 702 y(.)-38 715 y(.)-38 728 y(.)-38 +741 y(.)-38 754 y(.)-38 767 y(.)-38 780 y(.)-38 792 y(.)-38 +805 y(.)-38 818 y(.)-38 831 y(.)-38 844 y(.)-38 857 y(.)-38 +870 y(.)-38 883 y(.)-38 896 y(.)-38 909 y(.)-38 922 y(.)-38 +935 y(.)-38 948 y(.)-38 961 y(.)-38 974 y(.)-38 987 y(.)-38 +1000 y(.)-38 1013 y(.)-38 1026 y(.)-38 1039 y(.)-38 1052 +y(.)-38 1065 y(.)-38 1078 y(.)-38 1091 y(.)-38 1104 y(.)-38 +1117 y(.)-38 1130 y(.)-38 1143 y(.)-38 1156 y(.)-38 1169 +y(.)-38 1182 y(.)-38 1195 y(.)-38 1208 y(.)-38 1221 y(.)-38 +1234 y(.)-38 1247 y(.)-38 1259 y(.)-38 1272 y(.)-38 1285 +y(.)-38 1298 y(.)-38 1311 y(.)-38 1324 y(.)-38 1337 y(.)-38 +1350 y(.)-38 1363 y(.)-38 1376 y(.)-38 1389 y(.)-38 1402 +y(.)-38 1415 y(.)-38 1428 y(.)-38 1441 y(.)-38 1454 y(.)-38 +1467 y(.)-38 1480 y(.)-38 1493 y(.)-38 1506 y(.)-38 1519 +y(.)-38 1532 y(.)-38 1545 y(.)-38 1558 y(.)-38 1571 y(.)-38 +1584 y(.)-38 1597 y(.)-38 1610 y(.)-38 1623 y(.)-38 1636 +y(.)-38 1649 y(.)-38 1662 y(.)-38 1675 y(.)-38 1688 y(.)-38 +1701 y(.)-38 1714 y(.)-38 1726 y(.)-38 1739 y(.)-38 1752 +y(.)-38 1765 y(.)-38 1778 y(.)-38 1791 y(.)-38 1804 y(.)-38 +1817 y(.)-38 1830 y(.)-38 1843 y(.)-38 1856 y(.)-38 1869 +y(.)-38 1882 y(.)-38 1895 y(.)-38 1908 y(.)-38 1921 y(.)-38 +1934 y(.)-38 1947 y(.)-38 1960 y(.)-38 1973 y(.)-38 1986 +y(.)-38 1999 y(.)-38 2012 y(.)-38 2025 y(.)-38 2038 y(.)-38 +2051 y(.)-38 2064 y(.)-38 2077 y(.)-38 2090 y(.)-38 2103 +y(.)-38 2116 y(.)-38 2129 y(.)-38 2142 y(.)-38 2155 y(.)-38 +2168 y(.)-38 2181 y(.)-38 2193 y(.)-38 2206 y(.)-38 2219 +y(.)-38 2232 y(.)-38 2245 y(.)-38 2258 y(.)-38 2271 y(.)-38 +2284 y(.)-38 2297 y(.)-38 2310 y(.)-38 2323 y(.)-38 2336 +y(.)-38 2349 y(.)-38 2362 y(.)-38 2375 y(.)-38 2388 y(.)-38 +2401 y(.)-38 2414 y(.)-38 2427 y(.)-38 2440 y(.)-38 2453 +y(.)-38 2466 y(.)-38 2479 y(.)-38 2492 y(.)-38 2505 y(.)-38 +2518 y(.)-38 2531 y(.)-38 2544 y(.)-38 2557 y(.)-38 2570 +y(.)-38 2583 y(.)-38 2596 y(.)-38 2609 y(.)-38 2622 y(.)-38 +2635 y(.)-38 2648 y(.)-38 2660 y(.)-38 2673 y(.)-38 2686 +y(.)-38 2699 y(.)-38 2712 y(.)-38 2725 y(.)-38 2738 y(.)-38 +2751 y(.)-38 2764 y(.)-38 2777 y(.)-38 2790 y(.)-38 2803 +y(.)-38 2816 y(.)-38 2829 y(.)-38 2842 y(.)-38 2855 y(.)-38 +2868 y(.)-38 2881 y(.)-38 2894 y(.)-38 2907 y(.)-38 2920 +y(.)-38 2933 y(.)-38 2946 y(.)0 441 y Fw(function)c(to)h(b)q(e)g +(compiled.)24 b(If)17 b(it)f(is)g(not)h(supplied,)g(then)g +Fv(name)g Fw(should)g(b)q(e)g(a)f(sym-)0 493 y(b)q(ol)e(with)g(a)g +(de\014nition)h(that)f(is)h(a)f(lam)o(b)q(da-expression;)f(that)i +(de\014nition)f(is)g(compiled)0 545 y(and)i(the)h(resulting)f(compiled) +f(co)q(de)i(is)f(put)g(bac)o(k)h(in)o(to)e(the)i(sym)o(b)q(ol)d(as)j +(its)f(function)0 597 y(de\014nition.)-33 609 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 658 a(X3J13)c(v)o(oted)g(in)g(Octob)q(er)i(1988)e +Ft(h)p Fw(18)p Ft(i)g Fw(to)g(restate)i(the)f(preceding)h(paragraph)e +(more)-33 629 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 710 a(precisely)i(and)g(to)f(extend)h(the)g +(capabilities)f(of)g Fs(compile)p Fw(.)j(If)d(the)h(optional)e +Fv(de\014nition)0 762 y Fw(argumen)o(t)g(is)h(supplied,)g(it)g(ma)o(y)e +(b)q(e)j(either)g(a)f(lam)o(b)q(da-expression)f(\(whic)o(h)h(is)g(co)q +(erced)0 813 y(to)j(a)g(function\))g(or)g(a)g(function)g(to)g(b)q(e)g +(compiled;)g(if)f(no)h Fv(de\014nition)h Fw(is)f(supplied,)g(the)0 +865 y Fs(symbol-function)11 b Fw(of)j(the)h(sym)o(b)q(ol)e(is)h +(extracted)i(and)e(compiled.)19 b(It)14 b(is)g(p)q(ermissible)0 +917 y(for)i(the)g(sym)o(b)q(ol)f(to)h(ha)o(v)o(e)g(a)f(macro)g +(de\014nition)h(rather)h(than)f(a)g(function)g(de\014nition;)0 +969 y(b)q(oth)e(macros)f(and)h(functions)g(ma)o(y)e(b)q(e)i(compiled.) +42 1030 y(It)g(is)g(an)g(error)h(if)e(the)i(function)f(to)g(b)q(e)h +(compiled)d(w)o(as)i(de\014ned)i(in)o(terpretiv)o(ely)e(in)g(a)0 +1082 y(non-n)o(ull)h(lexical)h(en)o(vironmen)o(t.)26 +b(\(An)17 b(implem)o(en)o(tation)d(is)i(free)i(to)e(extend)i(the)f(b)q +(e-)0 1134 y(ha)o(vior)12 b(of)h Fs(compile)f Fw(to)h(compile)f(suc)o +(h)i(functions)f(prop)q(erly)m(,)g(but)h(p)q(ortable)f(programs)0 +1186 y(ma)o(y)f(not)i(dep)q(end)i(on)d(this)i(capabilit)o(y)m(.\))i +(The)d(consequences)j(of)d(calling)e Fs(compile)h Fw(on)0 +1238 y(a)h(function)f(that)h(is)g(already)f(compiled)g(are)h(unsp)q +(eci\014ed.)-33 1249 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1298 a(The)20 b(de\014nition)f(is)g(compiled)f(and)i(a) +f(compiled-function)e(ob)r(ject)k(pro)q(duced.)36 b(If)-38 +1273 y Fk(.)-38 1286 y(.)-38 1299 y(.)-38 1312 y(.)-38 +1325 y(.)-38 1338 y(.)-38 1351 y(.)-38 1364 y(.)-38 1377 +y(.)-38 1390 y(.)-38 1403 y(.)-38 1416 y(.)-38 1429 y(.)-38 +1442 y(.)-38 1455 y(.)-38 1468 y(.)-38 1481 y(.)-38 1494 +y(.)-38 1507 y(.)-38 1520 y(.)-38 1533 y(.)-38 1546 y(.)-38 +1559 y(.)-38 1572 y(.)-38 1585 y(.)-38 1598 y(.)-38 1611 +y(.)-38 1624 y(.)-38 1637 y(.)-38 1650 y(.)-38 1663 y(.)-38 +1676 y(.)-38 1688 y(.)-38 1701 y(.)-38 1714 y(.)-38 1727 +y(.)-38 1740 y(.)-38 1753 y(.)-38 1766 y(.)-38 1779 y(.)-38 +1792 y(.)-38 1805 y(.)-38 1818 y(.)-38 1831 y(.)-38 1844 +y(.)-38 1857 y(.)-38 1870 y(.)-38 1883 y(.)-38 1896 y(.)-38 +1909 y(.)-38 1922 y(.)-38 1935 y(.)-38 1948 y(.)-38 1961 +y(.)-38 1974 y(.)-38 1987 y(.)-38 2000 y(.)-38 2013 y(.)-38 +2026 y(.)-38 2039 y(.)-38 2052 y(.)-38 2065 y(.)-38 2078 +y(.)-38 2091 y(.)-38 2104 y(.)-38 2117 y(.)-38 2130 y(.)-38 +2143 y(.)-38 2155 y(.)-38 2168 y(.)-38 2181 y(.)-38 2194 +y(.)-38 2207 y(.)-38 2220 y(.)-38 2233 y(.)-38 2246 y(.)-38 +2259 y(.)-38 2272 y(.)-38 2285 y(.)-38 2298 y(.)-38 2311 +y(.)-38 2324 y(.)-38 2337 y(.)-38 2350 y(.)-38 2363 y(.)-38 +2376 y(.)-38 2389 y(.)-38 2402 y(.)-38 2415 y(.)-38 2428 +y(.)-38 2441 y(.)-38 2454 y(.)-38 2467 y(.)-38 2480 y(.)-38 +2493 y(.)-38 2506 y(.)-38 2519 y(.)-38 2532 y(.)-38 2545 +y(.)-38 2558 y(.)-38 2571 y(.)-38 2584 y(.)-38 2597 y(.)-38 +2609 y(.)-38 2622 y(.)-38 2635 y(.)-38 2648 y(.)-38 2661 +y(.)-38 2674 y(.)-38 2687 y(.)-38 2700 y(.)-38 2713 y(.)-38 +2726 y(.)-38 2739 y(.)-38 2752 y(.)-38 2765 y(.)-38 2778 +y(.)-38 2791 y(.)-38 2804 y(.)-38 2817 y(.)-38 2830 y(.)-38 +2843 y(.)-38 2856 y(.)-38 2869 y(.)-38 2882 y(.)-38 2895 +y(.)-38 2908 y(.)-38 2921 y(.)-38 2934 y(.)-38 2947 y(.)-38 +2960 y(.)-38 2973 y(.)-38 2986 y(.)-38 2999 y(.)-38 3012 +y(.)-38 3025 y(.)-38 3038 y(.)-38 3051 y(.)-38 3064 y(.)-38 +3076 y(.)-38 3089 y(.)-38 3102 y(.)-38 3115 y(.)-38 3128 +y(.)-38 3141 y(.)-38 3154 y(.)-38 3167 y(.)-38 3180 y(.)-38 +3193 y(.)-38 3206 y(.)-38 3219 y(.)-38 3232 y(.)-38 3245 +y(.)-38 3258 y(.)-38 3271 y(.)-38 3284 y(.)-38 3297 y(.)-38 +3310 y(.)-38 3323 y(.)-38 3336 y(.)-38 3349 y(.)-38 3362 +y(.)-38 3375 y(.)-38 3388 y(.)-38 3401 y(.)-38 3414 y(.)-38 +3427 y(.)-38 3440 y(.)-38 3453 y(.)-38 3466 y(.)-38 3479 +y(.)-38 3492 y(.)-38 3505 y(.)-38 3518 y(.)-38 3531 y(.)-38 +3543 y(.)-38 3556 y(.)-38 3569 y(.)-38 3582 y(.)-38 3595 +y(.)-38 3608 y(.)-38 3621 y(.)-38 3634 y(.)-38 3647 y(.)-38 +3660 y(.)-38 3673 y(.)-38 3686 y(.)-38 3699 y(.)-38 3712 +y(.)-38 3725 y(.)-38 3738 y(.)-38 3751 y(.)-38 3764 y(.)-38 +3777 y(.)-38 3790 y(.)-38 3803 y(.)-38 3816 y(.)-38 3829 +y(.)-38 3842 y(.)-38 3855 y(.)0 1350 y Fv(name)16 b Fw(is)g(a)f(non-)p +Fs(nil)f Fw(sym)o(b)q(ol,)g(then)i(the)g(compiled-function)e(ob)r(ject) +i(is)g(installed)f(as)0 1402 y(the)j(global)d(function)i(de\014nition)g +(of)f(the)i(sym)o(b)q(ol)d(and)i(the)h(sym)o(b)q(ol)d(is)i(returned.)29 +b(If)0 1454 y Fv(name)10 b Fw(is)g Fs(nil)p Fw(,)g(then)g(the)h +(compiled-function)d(ob)r(ject)i(itself)g(is)g(returned.)18 +b(F)m(or)9 b(example:)0 1567 y Fs(\(defun)20 b(foo)g(...\))h +Ft(\))g Fs(foo)168 b(;)p Fw(A)14 b(function)g(de\014nition)0 +1619 y Fs(\(compile)193 1623 y Fn(')217 1619 y Fs(foo\))20 +b Ft(\))h Fs(foo)190 b(;)p Fw(Compile)12 b(it)644 1671 +y Fs(;)p Fw(No)o(w)i Fs(foo)f Fw(runs)h(faster)h(\(ma)o(yb)q(e\))0 +1739 y Fs(\(compile)20 b(nil)188 1795 y Fn(')212 1791 +y Fs(\(lambda)f(\(a)i(b)g(c\))g(\(-)g(\(*)f(b)h(b\))g(\(*)g(4)g(a)g +(c\)\)\)\))64 1843 y Ft(\))f Fw(a)14 b(compiled)e(function)i(of)f +(three)i(argumen)o(ts)e(that)h(computes)g Fv(b)1151 1828 +y Fk(2)1178 1843 y Ft(\000)c Fw(4)p Fv(ac)-33 1858 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2008 a Fw(X3J13)18 b(v)o(oted)g(in)g(June)i(1989)d +Ft(h)p Fw(24)p Ft(i)h Fw(to)h(sp)q(ecify)g(that)f Fs(compile)f +Fw(returns)j(t)o(w)o(o)e(ad-)-33 1980 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2060 a(ditional)f(v)n(alues)h(indicating)g(whether)i +(the)f(compiler)e(issued)j(an)o(y)e(diagnostics)g(\(see)0 +2112 y(section)d(25.1.1\).)-33 2124 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2173 a(X3J13)10 b(v)o(oted)h(in)f(Marc)o(h)h(1989)f +Ft(h)p Fw(89)p Ft(i)g Fw(to)h(extend)h Fs(compile)d Fw(to)i(accept)h +(as)e(a)h Fv(name)g Fw(an)o(y)-33 2145 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2225 a(function-name)k(\(a)h(sym)o(b)q(ol)e(or)i(a)g +(list)g(whose)h(car)g(is)f Fs(setf)p Fw(|see)g(section)h(7.1\).)24 +b(One)0 2277 y(ma)o(y)11 b(write)i Fs(\(compile)387 2281 +y Fn(')410 2277 y Fs(\(setf)21 b(cadr\)\))11 b Fw(to)h(compile)f(the)j +Fs(setf)d Fw(expansion)i(function)0 2329 y(for)h Fs(cadr)p +Fw(.)-33 2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 734 758 +734 757 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(734)77 b(COMMON)13 b(LISP)1209 295 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(compile-file)19 b Fv(input)p +Fs(-)p Fv(p)n(athname)25 b Fs(&key)20 b(:output-file)-38 +270 y Fk(.)-38 283 y(.)-38 296 y(.)-38 309 y(.)-38 322 +y(.)-38 335 y(.)-38 348 y(.)-38 361 y(.)-38 373 y(.)-38 +386 y(.)-38 399 y(.)-38 412 y(.)-38 425 y(.)-38 438 y(.)-38 +451 y(.)-38 464 y(.)-38 477 y(.)-38 490 y(.)-38 503 y(.)-38 +516 y(.)-38 529 y(.)-38 542 y(.)-38 555 y(.)-38 568 y(.)-38 +581 y(.)-38 594 y(.)-38 607 y(.)-38 620 y(.)-38 633 y(.)-38 +646 y(.)-38 659 y(.)-38 672 y(.)-38 685 y(.)-38 698 y(.)-38 +711 y(.)-38 724 y(.)-38 737 y(.)-38 750 y(.)-38 763 y(.)-38 +776 y(.)-38 789 y(.)-38 802 y(.)-38 815 y(.)-38 828 y(.)-38 +840 y(.)-38 853 y(.)-38 866 y(.)-38 879 y(.)-38 892 y(.)-38 +905 y(.)-38 918 y(.)-38 931 y(.)-38 944 y(.)-38 957 y(.)-38 +970 y(.)-38 983 y(.)-38 996 y(.)-38 1009 y(.)-38 1022 +y(.)-38 1035 y(.)-38 1048 y(.)-38 1061 y(.)-38 1074 y(.)-38 +1087 y(.)-38 1100 y(.)-38 1113 y(.)-38 1126 y(.)-38 1139 +y(.)-38 1152 y(.)-38 1165 y(.)-38 1178 y(.)-38 1191 y(.)-38 +1204 y(.)-38 1217 y(.)-38 1230 y(.)-38 1243 y(.)-38 1256 +y(.)-38 1269 y(.)-38 1282 y(.)-38 1295 y(.)-38 1307 y(.)-38 +1320 y(.)-38 1333 y(.)-38 1346 y(.)-38 1359 y(.)-38 1372 +y(.)-38 1385 y(.)-38 1398 y(.)-38 1411 y(.)-38 1424 y(.)-38 +1437 y(.)-38 1450 y(.)-38 1463 y(.)-38 1476 y(.)-38 1489 +y(.)-38 1502 y(.)-38 1515 y(.)-38 1528 y(.)-38 1541 y(.)-38 +1554 y(.)-38 1567 y(.)-38 1580 y(.)-38 1593 y(.)-38 1606 +y(.)-38 1619 y(.)-38 1632 y(.)-38 1645 y(.)-38 1658 y(.)-38 +1671 y(.)-38 1684 y(.)-38 1697 y(.)-38 1710 y(.)-38 1723 +y(.)-38 1736 y(.)-38 1749 y(.)-38 1762 y(.)-38 1774 y(.)-38 +1787 y(.)-38 1800 y(.)-38 1813 y(.)-38 1826 y(.)-38 1839 +y(.)-38 1852 y(.)-38 1865 y(.)-38 1878 y(.)-38 1891 y(.)-38 +1904 y(.)-38 1917 y(.)-38 1930 y(.)-38 1943 y(.)-38 1956 +y(.)-38 1969 y(.)-38 1982 y(.)-38 1995 y(.)-38 2008 y(.)-38 +2021 y(.)-38 2034 y(.)-38 2047 y(.)-38 2060 y(.)-38 2073 +y(.)-38 2086 y(.)-38 2099 y(.)-38 2112 y(.)-38 2125 y(.)-38 +2138 y(.)-38 2151 y(.)-38 2164 y(.)-38 2177 y(.)-38 2190 +y(.)-38 2203 y(.)-38 2216 y(.)-38 2229 y(.)-38 2241 y(.)-38 +2254 y(.)-38 2267 y(.)-38 2280 y(.)-38 2293 y(.)-38 2306 +y(.)-38 2319 y(.)-38 2332 y(.)-38 2345 y(.)-38 2358 y(.)-38 +2371 y(.)-38 2384 y(.)-38 2397 y(.)-38 2410 y(.)-38 2423 +y(.)-38 2436 y(.)-38 2449 y(.)-38 2462 y(.)-38 2475 y(.)-38 +2488 y(.)-38 2501 y(.)-38 2514 y(.)-38 2527 y(.)-38 2540 +y(.)-38 2553 y(.)-38 2566 y(.)-38 2579 y(.)-38 2592 y(.)-38 +2605 y(.)-38 2618 y(.)-38 2631 y(.)-38 2644 y(.)-38 2657 +y(.)-38 2670 y(.)-38 2683 y(.)-38 2696 y(.)-38 2708 y(.)-38 +2721 y(.)-38 2734 y(.)-38 2747 y(.)-38 2760 y(.)-38 2773 +y(.)-38 2786 y(.)-38 2799 y(.)-38 2812 y(.)-38 2825 y(.)-38 +2838 y(.)-38 2851 y(.)0 372 y Fw(The)c Fv(input-p)n(athname)g +Fw(m)o(ust)e(b)q(e)i(a)f(v)n(alid)f(\014le)i(sp)q(eci\014er,)h(suc)o(h) +f(as)f(a)g(pathname.)21 b(The)0 423 y(defaults)14 b(for)g +Fv(input-\014lename)h Fw(are)g(tak)o(en)f(from)f(the)h(v)n(ariable)f +Fs(*default-pathname-)0 475 y(defaults*)p Fw(.)25 b(The)18 +b(\014le)f(should)g(b)q(e)g(a)g(Lisp)g(source)h(\014le;)g(its)f(con)o +(ten)o(ts)h(are)f(compiled)0 527 y(and)d(written)g(as)g(a)g(binary)f +(ob)r(ject)i(\014le.)-33 539 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 602 a(X3J13)22 b(v)o(oted)i(in)e(Marc)o(h)i(1989)e +Ft(h)p Fw(26)p Ft(i)h Fw(to)g(add)g(t)o(w)o(o)g(new)g(k)o(eyw)o(ord)g +(argumen)o(ts)-33 574 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 654 a Fs(:verbose)18 b Fw(and)j Fs(:print)d +Fw(to)i Fs(compile-file)e Fw(b)o(y)i(analogy)f(with)h +Fs(load)p Fw(.)36 b(The)20 b(new)0 706 y(function)14 +b(de\014nition)f(is)h(as)g(follo)o(ws.)1209 828 y([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(compile-file)19 b Fv(input)p +Fs(-)p Fv(p)n(athname)25 b Fs(&key)20 b(:output-file)f(:verbose)283 +880 y(:print)0 956 y Fw(The)11 b Fs(:verbose)e Fw(argumen)o(t)g(\(whic) +o(h)i(defaults)f(to)h(the)g(v)n(alue)f(of)g Fs(*compile-verbose)o(*)p +Fw(\),)0 1008 y(if)h(true,)h(p)q(ermits)f Fs(compile-file)e +Fw(to)j(prin)o(t)f(a)g(message)g(in)g(the)i(form)c(of)i(a)g(commen)o(t) +f(to)0 1060 y Fs(*standard-output*)j Fw(indicating)i(what)h(\014le)h +(is)f(b)q(eing)h(compiled)d(and)j(other)g(useful)0 1112 +y(information.)42 1164 y(The)12 b Fs(:print)e Fw(argumen)o(t)g(\(whic)o +(h)i(defaults)f(to)h(the)g(v)n(alue)f(of)g Fs(*compile-print*)p +Fw(\),)e(if)0 1216 y(true,)k(causes)g(information)8 b(ab)q(out)k +(top-lev)o(el)f(forms)g(in)g(the)h(\014le)g(b)q(eing)f(compiled)g(to)g +(b)q(e)0 1268 y(prin)o(ted)16 b(to)g Fs(*standard-output)o(*)p +Fw(.)21 b(Exactly)15 b(what)h(is)g(prin)o(ted)g(is)f(implemen)o +(tation-)0 1320 y(dep)q(enden)o(t;)g(nev)o(ertheless)h(something)d +(will)f(b)q(e)j(prin)o(ted.)-33 1331 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1395 a(X3J13)e(v)o(oted)g(in)g(Marc)o(h)h(1988)e +Ft(h)p Fw(132)p Ft(i)h Fw(to)g(sp)q(ecify)h(exactly)f(whic)o(h)g +(streams)h(ma)o(y)d(b)q(e)-33 1366 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1447 a(used)k(as)f(pathnames)f(\(see)i(section)g +(23.1.6\).)-33 1458 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1499 a(X3J13)20 b(v)o(oted)h(in)f(June)h(1989)f +Ft(h)p Fw(137)p Ft(i)g Fw(to)h(clarify)e(that)i(supplying)f(a)g(wild)g +(path-)-33 1470 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1550 a(name)11 b(as)h(the)g Fv(input-p)n(athname)h +Fw(argumen)o(t)e(to)h Fs(compile-file)d Fw(has)j(implemen)o(tation-)0 +1602 y(dep)q(enden)o(t)19 b(consequences;)h Fs(compile-file)14 +b Fw(migh)o(t)h(signal)h(an)g(error,)i(for)e(example,)0 +1654 y(or)e(migh)o(t)e(compile)g(all)g(\014les)j(that)f(matc)o(h)e(the) +j(wild)e(pathname.)-33 1666 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1706 a(X3J13)g(v)o(oted)h(in)f(June)h(1989)f +Ft(h)p Fw(130)p Ft(i)g Fw(to)g(require)i Fs(compile-file)c +Fw(to)j(accept)g(logical)-33 1678 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1758 a(pathnames)f(\(see)i(section)g(23.1.5\).)-33 +1770 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1810 a(The)e Fs(:output-file)e Fw(argumen)o(t)h(ma)o(y) +f(b)q(e)j(used)g(to)f(sp)q(ecify)g(an)g(output)g(pathname;)0 +1862 y(it)i(defaults)g(in)f(a)h(manner)f(appropriate)i(to)f(the)g +(implemen)o(tation')o(s)e(\014le)i(system)g(con-)0 1914 +y(v)o(en)o(tions.)42 1966 y(X3J13)d(v)o(oted)h(in)g(June)h(1989)d +Ft(h)p Fw(24)p Ft(i)i Fw(to)g(sp)q(ecify)g(that)g Fs(compile-file)e +Fw(returns)j(three)-33 1937 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2017 a(v)n(alues:)i(the)c Fs(truename)e +Fw(of)h(the)g(output)h(\014le)f(\(or)h Fs(nil)e Fw(if)h(the)h(\014le)f +(could)g(not)g(b)q(e)h(created\))0 2069 y(and)17 b(t)o(w)o(o)g(v)n +(alues)h(indicating)e(whether)j(the)f(compiler)e(issued)i(an)o(y)f +(diagnostics)g(\(see)0 2121 y(section)e(25.1.1\).)-33 +2133 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2173 a(X3J13)c(v)o(oted)h(in)g(Octob)q(er)h(1988)e +Ft(h)p Fw(21)p Ft(i)g Fw(to)h(sp)q(ecify)h(that)f Fs(compile-file)p +Fw(,)d(lik)o(e)i Fs(load)p Fw(,)-33 2145 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2225 a(rebinds)21 b Fs(*package*)e Fw(to)h(its)h(curren) +o(t)h(v)n(alue.)37 b(If)20 b(some)g(form)e(in)i(the)i(\014le)e(c)o +(hanges)0 2277 y(the)e(v)n(alue)f(of)f Fs(*package*)p +Fw(,)g(the)i(old)f(v)n(alue)g(will)e(b)q(e)j(restored)i(when)d +(compilation)e(is)0 2329 y(completed.)-33 2340 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 735 759 +735 758 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MISCELLANEOUS)13 +b(FEA)m(TURES)828 b(735)42 295 y Fw(X3J13)16 b(v)o(oted)g(in)g(June)i +(1989)d Ft(h)p Fw(22)p Ft(i)h Fw(to)h(sp)q(ecify)g(restrictions)g(on)g +(conforming)d(pro-)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(grams)f(to)g(ensure)j(consisten)o(t)f(handling)d +(of)i(sym)o(b)q(ols)e(and)i(pac)o(k)n(ages.)42 403 y(In)g(order)i(to)f +(guaran)o(tee)g(that)h(compiled)d(\014les)i(can)g(b)q(e)h(loaded)f +(correctly)m(,)g(the)h(user)0 455 y(m)o(ust)f(ensure)i(that)f(the)g +(pac)o(k)n(ages)g(referenced)j(in)c(the)h(\014le)g(are)g(de\014ned)h +(consisten)o(tly)0 507 y(at)e(compile)e(and)i(load)f(time.)20 +b(Conforming)13 b(Commo)o(n)f(Lisp)j(programs)f(m)o(ust)g(satisfy)0 +559 y(the)g(follo)o(wing)e(requiremen)o(ts.)0 675 y Fu(.)42 +684 y Fw(The)17 b(v)n(alue)f(of)g Fs(*package*)e Fw(when)j(a)g(top-lev) +o(el)f(form)f(in)h(the)h(\014le)g(is)f(pro)q(cessed)j(b)o(y)42 +735 y Fs(compile-file)10 b Fw(m)o(ust)j(b)q(e)h(the)g(same)e(as)i(the)g +(v)n(alue)f(of)f Fs(*package*)g Fw(when)i(the)g(co)q(de)42 +787 y(corresp)q(onding)f(to)g(that)g(top-lev)o(el)f(form)g(in)g(the)i +(compiled)d(\014le)i(is)g(executed)h(b)o(y)f(the)42 839 +y(loader.)27 b(In)17 b(particular,)g(an)o(y)f(top-lev)o(el)h(form)e(in) +h(a)h(\014le)g(that)g(alters)g(the)h(v)n(alue)e(of)42 +891 y Fs(*package*)c Fw(m)o(ust)h(c)o(hange)h(it)f(to)h(a)g(pac)o(k)n +(age)g(of)f(the)i(same)e(name)f(at)i(b)q(oth)g(compile)42 +943 y(and)f(load)f(time;)g(moreo)o(v)o(er,)g(if)g(the)i(\014rst)g +(non-atomic)d(top-lev)o(el)i(form)f(in)h(the)h(\014le)f(is)42 +995 y(not)g(a)h(call)f(to)g Fs(in-package)p Fw(,)f(then)i(the)g(v)n +(alue)f(of)h Fs(*package*)e Fw(at)h(the)i(time)d Fs(load)h +Fw(is)42 1047 y(called)g(m)o(ust)g(b)q(e)i(a)f(pac)o(k)n(age)f(with)h +(the)h(same)e(name)g(as)h(the)g(pac)o(k)n(age)g(that)g(w)o(as)g(the)42 +1099 y(v)n(alue)f(of)g Fs(*package*)f Fw(at)i(the)g(time)f +Fs(compile-file)e Fw(w)o(as)j(called.)0 1223 y Fu(.)42 +1232 y Fw(F)m(or)c(ev)o(ery)i(sym)o(b)q(ol)d(app)q(earing)h(lexically)g +(within)g(a)g(top-lev)o(el)h(form)e(that)i(w)o(as)f(acces-)42 +1284 y(sible)k(in)h(the)h(pac)o(k)n(age)e(that)h(w)o(as)g(the)h(v)n +(alue)e(of)g Fs(*package*)f Fw(during)i(pro)q(cessing)h(of)42 +1336 y(that)e(top-lev)o(el)g(form)e(at)j(compile)d(time,)h(but)i(whose) +g(home)e(pac)o(k)n(age)h(w)o(as)g(another)42 1387 y(pac)o(k)n(age,)k +(at)f(load)g(time)g(there)i(m)o(ust)e(b)q(e)h(a)g(sym)o(b)q(ol)e(with)h +(the)i(same)e(name)g(that)42 1439 y(is)d(accessible)h(in)f(b)q(oth)g +(the)h(load-time)d Fs(*package*)h Fw(and)h(in)f(the)i(pac)o(k)n(age)f +(with)g(the)42 1491 y(same)f(name)f(as)i(the)h(compile-tim)o(e)c(home)i +(pac)o(k)n(age.)0 1615 y Fu(.)42 1624 y Fw(F)m(or)j(ev)o(ery)i(sym)o(b) +q(ol)e(in)g(the)i(compiled)e(\014le)h(that)g(w)o(as)g(an)g(external)h +(sym)o(b)q(ol)d(in)i(its)42 1676 y(home)10 b(pac)o(k)n(age)h(at)g +(compile)f(time,)g(there)j(m)o(ust)e(b)q(e)h(a)f(sym)o(b)q(ol)f(with)h +(the)h(same)f(name)42 1728 y(that)h(is)f(an)h(external)h(sym)o(b)q(ol)d +(in)h(the)i(pac)o(k)n(age)f(with)f(the)i(same)e(name)g(at)g(load)h +(time.)0 1853 y(If)k(an)o(y)g(of)g(these)i(conditions)e(do)g(not)h +(hold,)f(the)h(pac)o(k)n(age)f(in)g(whic)o(h)h Fs(load)e +Fw(lo)q(oks)h(for)0 1905 y(the)f(a\013ected)h(sym)o(b)q(ols)d(is)i +(unsp)q(eci\014ed.)21 b(Implemen)o(tations)12 b(are)j(p)q(ermitted)f +(to)h(signal)0 1957 y(an)f(error)g(or)g(otherwise)h(de\014ne)g(this)f +(b)q(eha)o(vior.)42 2013 y(These)21 b(requiremen)o(ts)g(are)g(merely)f +(an)g(explicit)g(statemen)o(t)g(of)g(the)h(status)h(quo,)0 +2065 y(namely)15 b(that)h(users)i(cannot)f(dep)q(end)h(on)e(an)o(y)g +(particular)g(b)q(eha)o(vior)g(if)g(the)h(pac)o(k)n(age)0 +2117 y(en)o(vironmen)o(t)c(at)h(load)e(time)h(is)h(inconsisten)o(t)g +(with)g(what)g(existed)g(at)g(compile)e(time.)-33 2129 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2173 a(X3J13)g(v)o(oted)i(in)e(Marc)o(h)i(1989)e +Ft(h)p Fw(104)p Ft(i)g Fw(to)h(sp)q(ecify)h(that)f Fs(compile-file)e +Fw(m)o(ust)h(bind)-33 2145 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2225 a Fs(*readtable*)17 b Fw(to)i(its)g(curren)o(t)i(v) +n(alue)d(at)h(the)h(time)e Fs(compile-file)e Fw(is)j(called;)i(the)0 +2277 y(dynamic)9 b(exten)o(t)i(of)f(the)h(binding)e(should)h(encompass) +g(all)f(of)h(the)h(\014le-loading)d(activit)o(y)m(.)0 +2329 y(This)14 b(allo)o(ws)e(a)i(p)q(ortable)g(program)e(to)i(include)g +(forms)e(suc)o(h)j(as)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 736 760 +736 759 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(736)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(in-package)19 b("FOO"\))0 399 y(\(eval-when)g +(\(:execute)g(:load-toplevel)g(:compile-topleve)o(l\))42 +450 y(\(setq)h(*readtable*)f(foo:my-readtable\)\))0 535 +y Fw(without)13 b(p)q(erforming)e(a)i(net)g(global)f(side)h(e\013ect)i +(on)e(the)g(loading)f(en)o(vironmen)o(t.)k(Suc)o(h)0 +587 y(statemen)o(ts)e(allo)o(w)e(the)j(remainder)e(of)h(suc)o(h)g(a)g +(\014le)g(to)f(b)q(e)i(read)f(either)h(as)f(in)o(terpreted)0 +639 y(co)q(de)f(or)f(b)o(y)g Fs(compile-file)d Fw(in)j(a)f(syn)o(tax)h +(determined)g(b)o(y)g(an)g(alternativ)o(e)g(readtable.)-33 +651 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 691 a(X3J13)17 b(v)o(oted)h(in)f(June)i(1989)e +Ft(h)p Fw(112)p Ft(i)g Fw(to)h(require)h(that)e Fs(compile-file)f +Fw(bind)h(t)o(w)o(o)-33 663 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 743 a(new)22 b(v)n(ariables)e Fs(*compile-file-pat)o +(hnam)o(e*)e Fw(and)j Fs(*compile-file-tru)o(ename)o(*)p +Fw(;)0 795 y(the)13 b(dynamic)f(exten)o(t)h(of)g(the)g(bindings)f +(should)h(encompass)f(all)g(of)g(the)i(\014le-compiling)0 +847 y(activit)o(y)m(.)-33 858 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1219 972 a([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(*compile-verbose*)-33 943 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1048 a Fw(X3J13)15 b(v)o(oted)h(in)g(Marc)o(h)g(1989)e +Ft(h)p Fw(26)p Ft(i)i Fw(to)g(add)f Fs(*compile-verbose*)p +Fw(.)20 b(This)c(v)n(ariable)0 1100 y(pro)o(vides)e(the)h(default)e +(for)h(the)h Fs(:verbose)d Fw(argumen)o(t)h(to)g Fs(compile-file)p +Fw(.)j(Its)f(initial)0 1152 y(v)n(alue)e(is)h(implemen)o(tatio)o(n-dep) +q(enden)o(t.)42 1204 y(A)24 b(prop)q(osal)g(w)o(as)h(submitted)e(to)i +(X3J13)f(in)g(Octob)q(er)i(1989)d(to)i(rename)f(this)0 +1256 y Fs(*compile-file-ver)o(bose*)10 b Fw(for)k(consistency)m(.)-33 +1268 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1219 1381 a([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(*compile-print*)-33 1353 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1458 a Fw(X3J13)19 b(v)o(oted)h(in)e(Marc)o(h)i(1989)f +Ft(h)p Fw(26)p Ft(i)g Fw(to)g(add)g Fs(*compile-print*)p +Fw(.)32 b(This)19 b(v)n(ariable)0 1510 y(pro)o(vides)f(the)g(default)f +(for)h(the)g Fs(:print)e Fw(argumen)o(t)h(to)g Fs(compile-file)p +Fw(.)27 b(Its)18 b(initial)0 1562 y(v)n(alue)13 b(is)h(implemen)o +(tatio)o(n-dep)q(enden)o(t.)42 1614 y(A)24 b(prop)q(osal)g(w)o(as)h +(submitted)e(to)i(X3J13)f(in)g(Octob)q(er)i(1989)d(to)i(rename)f(this)0 +1666 y Fs(*compile-file-pri)o(nt*)11 b Fw(for)i(consistency)m(.)-33 +1677 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1219 1791 a([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(*compile-file-pat)o(hname)o(*)-33 1762 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1867 a Fw(X3J13)10 b(v)o(oted)h(in)f(June)i(1989)d +Ft(h)p Fw(112)p Ft(i)h Fw(to)h(in)o(tro)q(duce)g Fs(*compile-file-path) +o(name*)o Fw(;)e(it)h(is)0 1919 y(initially)f Fs(nil)h +Fw(but)i Fs(compile-file)d Fw(binds)i(it)g(to)g(a)g(pathname)f(that)i +(represen)o(ts)i(the)e(\014le)0 1971 y(name)h(giv)o(en)g(as)i(the)f +(\014rst)h(argumen)o(t)e(to)h Fs(compile-file)e Fw(merged)h(with)h(the) +h(defaults)0 2023 y(\(see)g Fs(merge-pathname)p Fw(\).)1219 +2148 y([)p Fv(V)m(ariable)s Fw(])-1396 b Fs(*compile-file-tru)o(ename)o +(*)-33 2120 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2225 a Fw(X3J13)10 b(v)o(oted)h(in)f(June)i(1989)d +Ft(h)p Fw(112)p Ft(i)h Fw(to)h(in)o(tro)q(duce)g Fs(*compile-file-true) +o(name*)o Fw(;)e(it)h(is)0 2277 y(initially)h Fs(nil)i +Fw(but)h Fs(compile-file)d Fw(binds)j(it)f(to)h(the)g(\\true)g(name")f +(of)g(the)h(pathname)0 2329 y(of)f(the)i(\014le)f(b)q(eing)f(compiled.) +k(See)e Fs(truename)p Fw(.)-33 2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 737 761 +737 760 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MISCELLANEOUS)13 +b(FEA)m(TURES)828 b(737)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1145 295 a Fw([)p Fv(Sp)n(e)n(cial)15 b(form)s +Fw(])-1396 b Fs(load-time-value)32 b Fv(form)21 b Fw([)p +Fv(r)n(e)n(ad-only-p)p Fw(])0 377 y(X3J13)12 b(v)o(oted)g(in)f(Marc)o +(h)i(1989)e Ft(h)p Fw(111)p Ft(i)g Fw(to)h(add)g(a)g(mec)o(hanism)e +(for)h(dela)o(ying)g(ev)n(aluation)0 429 y(of)i(a)h Fv(form)f +Fw(un)o(til)g(it)h(can)g(b)q(e)g(done)g(in)g(the)g(run-time)f(en)o +(vironmen)o(t.)42 486 y(If)k(a)g Fs(load-time-value)d +Fw(expression)19 b(is)e(seen)i(b)o(y)f Fs(compile-file)p +Fw(,)d(the)j(compiler)0 538 y(p)q(erforms)12 b(its)g(normal)f(seman)o +(tic)g(pro)q(cessing)j(\(suc)o(h)f(as)g(macro)e(expansion)h(and)g +(trans-)0 590 y(lation)h(in)o(to)i(mac)o(hine)e(co)q(de\))j(on)e(the)i +(form,)c(but)j(arranges)h(for)e(the)h(execution)h(of)e(the)0 +642 y Fv(form)c Fw(to)h(o)q(ccur)h(at)f(load)g(time)e(in)i(a)g(n)o(ull) +f(lexical)g(en)o(vironmen)o(t,)g(with)h(the)g(result)h(of)f(this)0 +694 y(ev)n(aluation)k(then)h(b)q(eing)g(treated)h(as)f(an)g(immedia)o +(te)e(quan)o(tit)o(y)h(\(that)h(is,)g(as)g(if)f(origi-)0 +745 y(nally)g(quoted\))i(at)f(run)h(time.)23 b(It)17 +b(is)f(guaran)o(teed)h(that)f(the)h(ev)n(aluation)e(of)g(the)i +Fv(form)0 797 y Fw(will)c(tak)o(e)i(place)g(only)f(once)i(when)f(the)h +(\014le)f(is)f(loaded,)h(but)g(the)g(order)h(of)e(ev)n(aluation)0 +849 y(with)g(resp)q(ect)i(to)d(the)i(execution)g(of)e(top-lev)o(el)g +(forms)g(in)g(the)i(\014le)f(is)f(unsp)q(eci\014ed.)42 +906 y(If)g(a)h Fs(load-time-value)c Fw(expression)16 +b(app)q(ears)e(within)f(a)h(function)g(compiled)e(with)0 +958 y Fs(compile)p Fw(,)f(the)j Fv(form)f Fw(is)g(ev)n(aluated)g(at)g +(compile)e(time)h(in)h(a)g(n)o(ull)f(lexical)g(en)o(vironmen)o(t.)0 +1010 y(The)g(result)g(of)e(this)i(compile-tim)o(e)d(ev)n(aluation)g(is) +j(treated)g(as)f(an)g(immediate)e(quan)o(tit)o(y)0 1062 +y(in)k(the)i(compiled)d(co)q(de.)42 1119 y(In)j(in)o(terpreted)j(co)q +(de,)e Fv(form)f Fw(is)h(ev)n(aluated)f(\(b)o(y)h Fs(eval)p +Fw(\))f(in)g(a)h(n)o(ull)e(lexical)h(en)o(viron-)0 1171 +y(men)o(t)e(and)h(one)g(v)n(alue)g(is)g(returned.)20 +b(Implemen)o(tations)11 b(that)j(implicitly)d(compile)i(\(or)0 +1223 y(partially)18 b(compile\))g(expressions)k(passed)e(to)g +Fs(eval)f Fw(ma)o(y)f(ev)n(aluate)h(the)h Fv(form)g Fw(only)0 +1275 y(once,)e(at)f(the)h(time)e(this)h(compilation)d(is)j(p)q +(erformed.)28 b(This)17 b(is)g(in)o(ten)o(tionally)e(simi-)0 +1327 y(lar)f(to)h(the)g(freedom)f(that)g(implemen)o(tations)e(are)j +(giv)o(en)f(for)g(the)i(time)d(of)h(expanding)0 1379 +y(macros)f(in)g(in)o(terpreted)j(co)q(de.)42 1436 y(If)e(the)i(same)e +(\(as)h(determined)g(b)o(y)g Fs(eq)p Fw(\))g(list)g Fs +(\(load-time-valu)o(e)j Fv(form)p Fs(\))d Fw(is)g(ev)n(alu-)0 +1488 y(ated)f(or)f(compiled)f(more)g(than)i(once,)f(it)g(is)h(unsp)q +(eci\014ed)h(whether)g(the)f Fv(form)e Fw(is)i(ev)n(alu-)0 +1540 y(ated)h(only)g(once)g(or)g(is)g(ev)n(aluated)g(more)f(than)h +(once.)22 b(This)15 b(can)g(happ)q(en)h(b)q(oth)f(when)0 +1592 y(an)f(expression)h(b)q(eing)f(ev)n(aluated)g(or)g(compiled)e +(shares)j(substructure)i(and)d(when)g(the)0 1644 y(same)19 +b(expression)h(is)g(passed)g(to)g Fs(eval)e Fw(or)i(to)f +Fs(compile)f Fw(m)o(ultiple)f(times.)34 b(Since)20 b(a)0 +1695 y Fs(load-time-value)12 b Fw(expression)k(ma)o(y)d(b)q(e)j +(referenced)i(in)c(more)g(than)h(one)h(place)f(and)0 +1747 y(ma)o(y)d(b)q(e)i(ev)n(aluated)g(m)o(ultiple)e(times)g(b)o(y)i +(the)g(in)o(terpreter,)i(it)d(is)h(unsp)q(eci\014ed)h(whether)0 +1799 y(eac)o(h)i(execution)h(returns)g(a)e(\\fresh")h(ob)r(ject)h(or)e +(returns)i(the)g(same)d(ob)r(ject)j(as)f(some)0 1851 +y(other)h(execution.)31 b(Users)19 b(m)o(ust)e(use)i(caution)e(when)h +(destructiv)o(ely)h(mo)q(difying)c(the)0 1903 y(resulting)f(ob)r(ject.) +42 1960 y(If)j(t)o(w)o(o)g(lists)g Fs(\(load-time-value)h +Fv(form)p Fs(\))e Fw(are)i Fs(equal)f Fw(but)g(not)h +Fs(eq)p Fw(,)f(their)h(v)n(alues)0 2012 y(alw)o(a)o(ys)d(come)g(from)f +(distinct)j(ev)n(aluations)e(of)g Fv(form)p Fw(.)24 b(Coalescing)15 +b(of)h(these)h(forms)e(is)0 2064 y(not)f(p)q(ermitted.)42 +2121 y(The)j(optional)f Fv(r)n(e)n(ad-only-p)g Fw(argumen)o(t)g +(designates)i(whether)h(the)e(result)h(ma)o(y)d(b)q(e)0 +2173 y(considered)g(a)d(read-only)h(constan)o(t.)18 b(If)13 +b Fs(nil)g Fw(\(the)h(default\),)e(the)i(result)g(m)o(ust)e(b)q(e)i +(con-)0 2225 y(sidered)g(ordinary)m(,)e(mo)q(di\014able)e(data.)18 +b(If)12 b Fs(t)p Fw(,)g(the)i(result)f(is)g(a)f(read-only)h(quan)o(tit) +o(y)f(that)0 2277 y(ma)o(y)m(,)f(as)i(appropriate,)g(b)q(e)h(copied)g +(in)o(to)e(read-only)h(space)i(and)e(ma)o(y)m(,)e(as)i(appropriate,)0 +2329 y(b)q(e)k(shared)h(with)e(other)h(programs.)24 b(The)17 +b Fv(r)n(e)n(ad-only-p)g Fw(argumen)o(t)e(is)i(not)f(ev)n(aluated)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 738 762 +738 761 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(738)77 b(COMMON)13 +b(LISP)0 295 y Fw(and)h(only)f(the)h(literal)f(sym)o(b)q(ols)g +Fs(t)g Fw(and)h Fs(nil)f Fw(are)i(p)q(ermitted.)42 347 +y(This)i(new)i(feature)f(addresses)i(the)f(same)e(set)i(of)e(needs)i +(as)f(the)h(no)o(w-defunct)f Fs(#)1351 343 y(-)1351 351 +y(-)1373 347 y(,)0 399 y Fw(reader)13 b(syn)o(tax)f(but)g(in)f(a)h +(cleaner)g(and)g(more)f(general)h(manner.)k(Note)d(that)e +Fs(#)1220 395 y(-)1220 403 y(-)1242 399 y(,)h Fw(syn)o(tax)0 +450 y(w)o(as)f(reliably)e(useful)i(only)f(inside)h(quoted)g(structure)i +(\(though)e(this)f(w)o(as)h(not)g(explicitly)0 502 y(men)o(tioned)e(in) +h(the)h(\014rst)g(edition\),)f(whereas)i(a)d Fs(load-time-value)f +Fw(form)g(m)o(ust)h(app)q(ear)0 554 y(outside)14 b(quoted)g(structure)i +(in)e(a)f(for-ev)n(aluation)g(p)q(osition.)42 606 y(See)h +Fs(make-load-form)p Fw(.)-33 618 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 733 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(disassemble)19 b Fv(name)p Fs(-)p Fv(or)p Fs(-)p +Fv(c)n(ompile)n(d)p Fs(-)p Fv(function)0 810 y Fw(The)14 +b(argumen)o(t)e(should)h(b)q(e)h(a)f(function)g(ob)r(ject,)h(a)f(lam)o +(b)q(da-expression,)e(or)j(a)f(sym)o(b)q(ol)0 862 y(with)f(a)g +(function)h(de\014nition.)k(If)12 b(the)h(relev)n(an)o(t)f(function)h +(is)f(not)g(a)h(compiled)d(function,)0 914 y(it)g(is)h(\014rst)g +(compiled.)16 b(In)10 b(an)o(y)g(case,)i(the)g(compiled)d(co)q(de)i(is) +g(then)g(\\rev)o(erse-assem)o(bled")0 965 y(and)j(prin)o(ted)h(out)f +(in)g(a)g(sym)o(b)q(olic)e(format.)17 b(This)d(is)g(primarily)e(useful) +i(for)g(debugging)0 1017 y(the)j(compiler,)f(but)h(also)g(often)f(of)h +(use)g(to)g(the)h(no)o(vice)f(who)f(wishes)i(to)e(understand)0 +1069 y(the)e(w)o(orkings)g(of)f(compiled)f(co)q(de.)p +0 1129 V 0 1189 a Fm(Implemen)o(tation)c(note:)15 b FA(Implemen)o(tors) +10 b(are)f(encouraged)i(to)d(mak)o(e)i(the)f(output)g(readable,)0 +1235 y(preferably)15 b(with)e(helpful)i(commen)o(ts.)p +0 1269 V 42 1347 a Fw(X3J13)h(v)o(oted)h(in)f(Marc)o(h)i(1988)d +Ft(h)p Fw(65)p Ft(i)i Fw(to)g(clarify)e(that)i(when)h +Fs(disassemble)c Fw(com-)-33 1318 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1399 a(piles)e(a)h(function,)f(it)g(nev)o(er)h(installs) +f(the)h(resulting)g(compiled-function)e(ob)r(ject)i(in)f(the)0 +1451 y Fs(symbol-function)f Fw(of)i(a)h(sym)o(b)q(ol.)-33 +1462 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1502 a(X3J13)9 b(v)o(oted)h(in)f(Marc)o(h)i(1989)d +Ft(h)p Fw(89)p Ft(i)i Fw(to)g(extend)g Fs(disassemble)e +Fw(to)i(accept)h(as)f(a)f Fv(name)-33 1474 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1554 a Fw(an)o(y)17 b(function-name)f(\(a)i(sym)o(b)q +(ol)e(or)i(a)f(list)h(whose)g(car)g(is)g Fs(setf)p Fw(|see)g(section)g +(7.1\).)0 1606 y(Th)o(us)d(one)g(ma)o(y)e(write)h Fs(\(disassemble)661 +1610 y Fn(')684 1606 y Fs(\(setf)20 b(cadr\)\))14 b Fw(to)g(disassem)o +(ble)g(the)i Fs(setf)0 1658 y Fw(expansion)e(function)f(for)h +Fs(cadr)p Fw(.)-33 1670 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1785 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(function-lambda-e)o(xpres)o(sion)18 b Fv(fn)-33 +1757 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1862 a Fw(X3J13)c(v)o(oted)g(in)g(Jan)o(uary)g(1989)f +Ft(h)p Fw(88)p Ft(i)h Fw(to)g(add)g(a)g(new)g(function)g(to)g(allo)o(w) +f(the)h(source)0 1914 y(co)q(de)i(for)f(a)g(de\014ned)i(function)e(to)g +(b)q(e)h(reco)o(v)o(ered.)24 b(\(The)16 b(committee)e(noted)i(that)f +(the)0 1966 y(\014rst)f(edition)f(pro)o(vided)h(no)f(p)q(ortable)h(w)o +(a)o(y)e(to)i(reco)o(v)o(er)g(a)g(lam)o(b)q(da-expression)e(once)i(it)0 +2017 y(had)g(b)q(een)h(compiled)d(or)i(ev)n(aluated)f(to)h(pro)q(duce)h +(a)f(function.\))42 2069 y(This)h(function)g(tak)o(es)h(one)g(argumen)o +(t,)e(whic)o(h)i(m)o(ust)e(b)q(e)i(a)g(function,)f(and)g(returns)0 +2121 y(three)g(v)n(alues.)42 2173 y(The)i(\014rst)g(v)n(alue)f(is)h +(the)g(de\014ning)g(lam)o(b)q(da-expression)e(for)i(the)g(function,)g +(or)f Fs(nil)0 2225 y Fw(if)g(that)h(information)d(is)j(not)g(a)o(v)n +(ailable.)25 b(The)17 b(lam)o(b)q(da-expression)f(ma)o(y)f(ha)o(v)o(e)i +(b)q(een)0 2277 y(prepro)q(cessed)e(in)c(some)g(w)o(a)o(ys)h(but)g +(should)f(nev)o(ertheless)j(b)q(e)f(of)e(a)g(form)f(suitable)i(as)g(an) +0 2329 y(argumen)o(t)h(to)g(the)i(function)f Fs(compile)e +Fw(or)i(for)f(use)i(in)f(the)g Fs(function)e Fw(sp)q(ecial)i(form.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 739 763 +739 762 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MISCELLANEOUS)13 +b(FEA)m(TURES)828 b(739)42 295 y Fw(The)15 b(second)h(v)n(alue)e(is)h +Fs(nil)f Fw(if)g(the)h(function)g(w)o(as)g(de\014nitely)g(pro)q(duced)h +(b)o(y)e(closing)0 347 y(a)f(lam)o(b)q(da-expression)f(in)g(the)i(n)o +(ull)e(lexical)g(en)o(vironmen)o(t;)g(it)h(is)g(some)f(non-)p +Fs(nil)g Fw(v)n(alue)0 399 y(if)h(the)i(function)e(migh)o(t)f(ha)o(v)o +(e)i(b)q(een)h(closed)f(in)g(some)f(non-n)o(ull)f(lexical)h(en)o +(vironmen)o(t.)42 451 y(The)f(third)g(v)n(alue)g(is)g(the)h(\\name")e +(of)g(the)i(function;)f(this)h(is)f Fs(nil)f Fw(if)h(the)h(name)e(is)h +(not)0 503 y(a)o(v)n(ailable)e(or)i(if)g(the)h(function)f(had)g(no)g +(name.)k(The)d(name)e(is)h(in)o(tended)h(for)f(debugging)0 +555 y(purp)q(oses)i(only)e(and)g(ma)o(y)f(b)q(e)i(an)o(y)f(Lisp)g(ob)r +(ject)i(\(not)e(necessarily)i(one)f(that)f(w)o(ould)g(b)q(e)0 +607 y(v)n(alid)g(for)i(use)h(as)f(a)f(name)g(in)g(a)h +Fs(defun)f Fw(or)h Fs(function)e Fw(sp)q(ecial)i(form,)d(for)j +(example\).)p 0 666 V 0 727 a Fm(Implemen)o(tation)k(note:)28 +b FA(An)18 b(implemen)o(tation)j(is)e(alw)o(a)o(ys)g(free)f(to)f +(return)i(the)f(v)n(alues)0 773 y Fj(nil)p FA(,)13 b +Fj(t)p FA(,)i Fj(nil)e FA(from)i(this)g(function)h(but)f(is)h +(encouraged)g(to)f(mak)o(e)g(more)g(useful)g(information)0 +818 y(a)o(v)n(ailable)h(as)e(appropriate.)20 b(F)m(or)13 +b(example,)i(it)f(ma)o(y)g(not)f(b)q(e)h(desirable)i(for)d(\014les)h +(of)f(compiled)0 864 y(co)q(de)i(to)f(retain)h(the)f(source)h(lam)o(b)q +(da-expressi)q(ons)i(for)d(use)h(after)f(the)g(\014le)h(is)g(loaded,)h +(but)e(it)0 910 y(is)f(probably)i(desirable)g(for)d(functions)j(pro)q +(duced)f(b)o(y)f(\\in-core")h(calls)g(to)e Fj(eval)p +FA(,)f Fj(compile)p FA(,)f(or)0 955 y Fj(defun)i FA(to)i(retain)h(the)f +(de\014ning)j(lam)o(b)q(da-expression)g(for)d(debugging)j(purp)q(oses.) +k(The)15 b(func-)0 1001 y(tion)d Fj(function-)o(lam)o(bd)o(a-e)o(xp)o +(res)o(si)o(on)7 b FA(mak)o(es)12 b(this)f(information,)i(if)e +(retained,)i(accessible)g(in)0 1047 y(a)g(standard)h(and)g(p)q(ortable) +h(manner.)p 0 1087 V -33 1099 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 112 x @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 1239 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(with-compilation-)o(unit)32 b(\()7 b Ft(f)p Fv(option-name)15 +b(option-value)p Ft(g)1024 1224 y Fl(\003)1050 1239 y +Fs(\))22 b Ft(f)7 b Fv(form)p Ft(g)1229 1224 y Fl(\003)0 +1317 y Fw(X3J13)19 b(v)o(oted)h(in)e(Marc)o(h)i(1989)f +Ft(h)p Fw(183)p Ft(i)f Fw(to)i(add)f Fs(with-compilation-)o(unit)p +Fw(,)e(whic)o(h)0 1369 y(executes)d(the)f(b)q(o)q(dy)f(forms)e(as)i(an) +g(implicit)d Fs(progn)p Fw(.)16 b(Within)11 b(the)i(dynamic)d(con)o +(text)i(of)0 1421 y(this)k(form,)e(w)o(arnings)i(deferred)h(b)o(y)f +(the)g(compiler)f(un)o(til)g(\\the)h(end)h(of)e(compilation")0 +1472 y(will)h(b)q(e)i(deferred)h(un)o(til)e(the)h(end)g(of)e(the)i +(outermost)f(call)g(to)g Fs(with-compilation-)0 1524 +y(unit)p Fw(.)26 b(The)18 b(results)g(are)f(the)h(same)e(as)h(those)g +(of)g(the)g(last)g(of)f(the)i(forms)d(\(or)i Fs(nil)g +Fw(if)0 1576 y(there)e(is)f(no)g Fv(form)p Fw(\).)42 +1629 y(Eac)o(h)j Fv(option-name)g Fw(is)g(an)f(unev)n(aluated)h(k)o +(eyw)o(ord;)g(eac)o(h)h Fv(option-value)f Fw(is)g(ev)n(alu-)0 +1680 y(ated.)g(The)12 b(set)g(of)e(k)o(eyw)o(ords)h(p)q(ermitted)g(ma)o +(y)e(b)q(e)j(extended)g(b)o(y)f(the)h(implem)o(en)o(tation,)0 +1732 y(but)g(the)h(only)e(standard)h(option)g(k)o(eyw)o(ord)f(is)h +Fs(:override)p Fw(;)f(the)h(default)g(v)n(alue)f(for)h(this)0 +1784 y(option)f(is)h Fs(nil)p Fw(.)17 b(If)11 b Fs(with-compilation-un) +o(it)e Fw(forms)h(are)j(nested)g(dynamically)m(,)c(only)0 +1836 y(the)k(outermost)g(suc)o(h)g(call)f(has)h(an)o(y)g(e\013ect)h +(unless)g(the)f Fs(:override)e Fw(v)n(alue)i(of)f(an)g(inner)0 +1888 y(call)h(is)h(true.)42 1940 y(The)g(function)f Fs(compile-file)f +Fw(should)h(pro)o(vide)h(the)h(e\013ect)g(of)0 2031 y +Fs(\(with-compilation)o(-unit)j(\(:override)h(nil\))h(...\))0 +2121 y Fw(around)14 b(its)g(co)q(de.)42 2173 y(An)o(y)19 +b(implemen)o(tatio)o(n-dep)q(enden)o(t)g(extensions)h(to)g(this)g(b)q +(eha)o(vior)f(ma)o(y)f(b)q(e)i(pro-)0 2225 y(vided)i(only)f(as)g(the)i +(result)f(of)f(an)h(explicit)f(programmer)e(request)24 +b(b)o(y)d(use)i(of)e(an)0 2277 y(implemen)o(tatio)o(n-dep)q(enden)o(t)d +(k)o(eyw)o(ord.)31 b(It)19 b(is)f(forbidden)h(for)f(an)g(implemen)o +(tation)0 2329 y(to)c(attac)o(h)g(additional)e(meaning)g(to)i(a)f +(conforming)f(use)j(of)e(this)h(macro.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 740 764 +740 763 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(740)77 b(COMMON)13 +b(LISP)42 295 y Fw(Note)e(that)h(not)f(all)f(compiler)g(w)o(arnings)h +(are)h(deferred.)19 b(In)11 b(some)f(implemen)o(tations,)0 +347 y(it)j(ma)o(y)e(b)q(e)i(that)g(none)h(are)f(deferred.)19 +b(This)13 b(macro)f(only)g(creates)j(an)e(in)o(terface)g(to)g(the)0 +399 y(capabilit)o(y)i(where)j(it)e(exists,)h(it)f(do)q(es)h(not)g +(require)g(the)g(creation)g(of)f(the)h(capabilit)o(y)m(.)0 +450 y(An)d(implemen)o(tation)d(that)j(do)q(es)g(not)g(defer)h(an)o(y)e +(compiler)g(w)o(arnings)h(ma)o(y)e(correctly)0 502 y(implemen)o(t)f +(this)j(macro)f(as)h(an)f(expansion)h(in)o(to)f(a)h(simple)e +Fs(progn)p Fw(.)-33 514 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 657 a Fo(25.1.1.)20 b(Compiler)13 b(Diagnostics)-33 +623 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 744 a Fw(X3J13)k(v)o(oted)g(in)f(June)i(1987)e +Ft(h)p Fw(27)p Ft(i)h Fw(to)f(sp)q(ecify)i(that)f Fs(compile)e +Fw(and)i Fs(compile-file)0 796 y Fw(ma)o(y)f(output)i(w)o(arning)e +(messages;)k(an)o(y)d(suc)o(h)h(messages)g(should)f(go)g(to)h(the)g +(stream)0 848 y(that)c(is)g(the)g(v)n(alue)f(of)h Fs(*error-output*)p +Fw(.)42 900 y(X3J13)j(v)o(oted)g(in)g(June)i(1989)d Ft(h)p +Fw(24)p Ft(i)h Fw(to)h(sp)q(ecify)g(the)g(use)g(of)f(conditions)g(to)h +(signal)0 952 y(v)n(arious)d(erroneous)i(situations)e(during)g +(compilation.)20 b(First,)15 b(note)h(that)g Fs(error)e +Fw(and)0 1004 y Fs(warning)g Fw(conditions)h(ma)o(y)e(b)q(e)j(signaled) +f(either)h(b)o(y)f(the)h(compiler)e(itself)h(or)h(b)o(y)f(co)q(de)0 +1056 y(b)q(eing)c(pro)q(cessed)j(b)o(y)d(the)h(compiler)e(\(for)h +(example,)f(arbitrary)h(errors)i(ma)o(y)c(o)q(ccur)k(dur-)0 +1107 y(ing)i(compile-tim)o(e)e(macro)i(expansion)g(or)h(pro)q(cessing)h +(of)e Fs(eval-when)e Fw(forms\).)22 b(Con-)0 1159 y(sidering)14 +b(only)f(those)h(conditions)f(signaled)g Fv(by)i(the)g(c)n(ompiler)e +Fw(\(as)h(opp)q(osed)g(to)g Fv(during)0 1211 y(c)n(ompilation)p +Fw(\):)0 1273 y Fu(.)42 1282 y Fw(Conditions)j(of)h(t)o(yp)q(e)h +Fs(error)f Fw(ma)o(y)f(b)q(e)i(signaled)f(b)o(y)g(the)i(compiler)d(in)h +(situations)-33 1253 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 42 1333 a(where)f(the)g(compilation)c(cannot)j(pro)q(ceed) +i(without)e(in)o(terv)o(en)o(tion.)24 b(Examples)15 b(of)42 +1385 y(suc)o(h)f(situations)g(ma)o(y)e(include)i(errors)h(when)f(op)q +(ening)g(a)f(\014le)h(or)g(syn)o(tax)g(errors.)0 1459 +y Fu(.)42 1468 y Fw(Conditions)f(of)h(t)o(yp)q(e)i Fs(warning)d +Fw(ma)o(y)f(b)q(e)k(signaled)e(b)o(y)g(the)i(compiler)d(in)h +(situations)42 1520 y(where)e(the)f(standard)h(explicitly)e(states)i +(that)f(a)g(w)o(arning)f(m)o(ust,)g(should,)h(or)g(ma)o(y)e(b)q(e)42 +1572 y(signaled.)17 b(They)c(ma)o(y)d(also)i(b)q(e)i(signaled)e(when)h +(the)g(compiler)e(can)i(determine)g(that)42 1624 y(a)d(situation)g(w)o +(ould)g(result)i(at)f(run)o(time)e(that)i(w)o(ould)f(ha)o(v)o(e)h +(unde\014ned)h(consequences)42 1675 y(or)k(w)o(ould)f(cause)i(an)f +(error)i(to)e(b)q(e)h(signaled.)24 b(Examples)15 b(of)h(suc)o(h)h +(situations)f(ma)o(y)42 1727 y(include)k(violations)f(of)h(t)o(yp)q(e)i +(declarations,)g(altering)e(or)g(rebinding)h(a)f(constan)o(t)42 +1779 y(de\014ned)15 b(with)g Fs(defconstant)p Fw(,)d(calls)j(to)f +(built-in)g(Lisp)h(functions)g(with)f(to)q(o)h(few)g(or)42 +1831 y(to)q(o)g(man)o(y)e(argumen)o(ts)h(or)i(with)f(malform)o(ed)e(k)o +(eyw)o(ord)i(argumen)o(t)f(lists,)h(referring)42 1883 +y(to)e(a)h(v)n(ariable)f(declared)h Fs(ignore)p Fw(,)f(or)g +(unrecognized)j(declaration)d(sp)q(eci\014ers.)0 1957 +y Fu(.)42 1966 y Fw(The)h(compiler)e(is)i(p)q(ermitted)f(to)h(signal)f +(diagnostics)g(ab)q(out)h(matters)f(of)g(program-)42 +2017 y(ming)j(st)o(yle)j(as)g(conditions)g(of)f(t)o(yp)q(e)i +Fs(style-warning)p Fw(,)d(a)h(subt)o(yp)q(e)i(of)f Fs(warning)p +Fw(.)42 2069 y(Although)14 b(a)g Fs(style-warning)f Fw(condition)h +Fv(may)h Fw(b)q(e)g(signaled)g(in)f(these)j(situations,)42 +2121 y(no)11 b(implemen)o(tatio)o(n)e(is)j Fv(r)n(e)n(quir)n(e)n(d)e +Fw(to)i(do)f(so.)18 b(Ho)o(w)o(ev)o(er,)12 b(if)e(an)i(implemen)o +(tatio)o(n)d(do)q(es)42 2173 y(c)o(ho)q(ose)14 b(to)f(signal)f(a)h +(condition,)f(that)i(condition)e(will)g(b)q(e)i(of)f(t)o(yp)q(e)g +Fs(style-warning)42 2225 y Fw(and)e(will)g(b)q(e)i(signaled)e(b)o(y)h +(a)g(call)g(to)g(the)g(function)g Fs(warn)p Fw(.)17 b(Examples)11 +b(of)g(suc)o(h)i(situa-)42 2277 y(tions)f(ma)o(y)e(include)i +(rede\014nition)h(of)f(a)g(function)g(with)g(an)g(incompatible)e +(argumen)o(t)42 2329 y(list,)16 b(calls)g(to)h(functions)f(\(other)i +(than)f(built-in)e(functions\))i(with)f(to)q(o)h(few)f(or)h(to)q(o)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 741 765 +741 764 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MISCELLANEOUS)13 +b(FEA)m(TURES)828 b(741)42 295 y Fw(man)o(y)13 b(argumen)o(ts)h(or)h +(with)g(malform)o(ed)d(k)o(eyw)o(ord)j(argumen)o(t)f(lists,)h +(unreferenced)42 347 y(lo)q(cal)d(v)n(ariables)h(not)h(declared)g +Fs(ignore)p Fw(,)e(or)i(standard)g(declaration)f(sp)q(eci\014ers)j +(that)42 399 y(are)e(ignored)g(b)o(y)f(the)i(particular)e(compiler)g +(in)g(question.)42 470 y(Both)d Fs(compile)e Fw(and)i +Fs(compile-file)e Fw(are)i(p)q(ermitted)g(\(but)g(not)g(required\))h +(to)f(estab-)0 522 y(lish)f(a)h(handler)g(for)g(conditions)g(of)f(t)o +(yp)q(e)i Fs(error)p Fw(.)k(Suc)o(h)c(a)e(handler)i(migh)o(t,)d(for)h +(example,)0 574 y(issue)j(a)e(w)o(arning)g(and)h(restart)h(compilation) +c(from)i(some)g(implem)o(en)o(tation-dep)q(enden)o(t)0 +626 y(p)q(oin)o(t)j(in)h(order)g(to)g(let)g(the)h(compilation)c(pro)q +(ceed)k(without)f(man)o(ual)d(in)o(terv)o(en)o(tion.)42 +678 y(The)17 b(functions)h Fs(compile)e Fw(and)h Fs(compile-file)e +Fw(eac)o(h)k(return)f(three)h(v)n(alues.)29 b(See)0 730 +y(the)16 b(de\014nitions)f(of)f(these)j(functions)e(for)g(descriptions) +h(of)e(the)i(\014rst)g(v)n(alue.)21 b(The)16 b(sec-)0 +782 y(ond)g(v)n(alue)g(is)g Fs(nil)f Fw(if)g(no)h(compiler)f +(diagnostics)h(w)o(ere)h(issued,)g(and)f(true)h(otherwise.)0 +834 y(The)g(third)g(v)n(alue)g(is)g Fs(nil)f Fw(if)g(no)h(compiler)f +(diagnostics)g(other)i(than)f(st)o(yle)g(w)o(arnings)0 +886 y(w)o(ere)e(issued;)g(a)e(non-)p Fs(nil)h Fw(v)n(alue)f(indicates)i +(that)f(there)h(w)o(ere)g(\\serious")g(compiler)d(di-)0 +938 y(agnostics)j(issued)h(or)f(that)g(other)h(conditions)e(of)h(t)o +(yp)q(e)g Fs(error)f Fw(or)h Fs(warning)e Fw(\(but)j(not)0 +989 y Fs(style-warning)p Fw(\))11 b(w)o(ere)k(signaled)e(during)h +(compilation.)-33 1001 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1149 a Fo(25.1.2.)20 b(Compiled)13 b(F)-5 +b(unctions)-33 1115 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1238 a Fw(X3J13)9 b(v)o(oted)h(in)g(June)g(1989)f +Ft(h)p Fw(23)p Ft(i)g Fw(to)h(imp)q(ose)e(certain)j(requiremen)o(ts)f +(on)f(the)i(functions)0 1289 y(pro)q(duced)k(b)o(y)f(the)g(compilation) +d(pro)q(cess.)42 1342 y(If)16 b(a)g(function)g(is)g(of)g(t)o(yp)q(e)h +Fs(compiled-function)p Fw(,)d(then)j(all)e(macro)g(calls)h(app)q(ear-)0 +1394 y(ing)d(lexically)g(within)g(the)h(function)g(ha)o(v)o(e)f +(already)h(b)q(een)h(expanded)f(and)g(will)e(not)i(b)q(e)0 +1445 y(expanded)f(again)e(when)i(the)g(function)f(is)g(called.)17 +b(The)c(pro)q(cess)h(of)e(compilation)d(e\013ec-)0 1497 +y(tiv)o(ely)14 b(turns)h(ev)o(ery)g Fs(macrolet)e Fw(or)h +Fs(symbol-macrolet)d Fw(construct)16 b(in)o(to)e(a)g +Fs(progn)g Fw(\(or)0 1549 y(a)f Fs(locally)p Fw(\))e(with)i(all)e +(instances)j(of)f(the)g(lo)q(cal)f(macros)g(in)g(the)i(b)q(o)q(dy)f +(fully)e(expanded.)42 1601 y(If)19 b(a)h(function)g(is)g(of)f(t)o(yp)q +(e)i Fs(compiled-functio)o(n)p Fw(,)d(then)j(all)e Fs(load-time-value)0 +1653 y Fw(forms)10 b(app)q(earing)i(lexically)e(within)h(the)h +(function)f(ha)o(v)o(e)g(already)h(b)q(een)g(pre-ev)n(aluated)0 +1705 y(and)i(will)e(not)i(b)q(e)g(ev)n(aluated)g(again)f(when)h(the)h +(function)e(is)h(called.)42 1757 y(Implemen)o(tatio)o(ns)8 +b(are)i(free)h(to)f(classify)g(ev)o(ery)h(function)e(as)i(a)e +Fs(compiled-function)0 1809 y Fw(pro)o(vided)14 b(that)g(all)e +(functions)i(satisfy)g(the)g(preceding)h(requiremen)o(ts.)k(Con)o(v)o +(ersely)m(,)13 b(it)0 1861 y(is)i(p)q(ermissible)f(for)h(a)g(function)f +(that)h(is)g(not)g(a)g Fs(compiled-function)c Fw(to)k(satisfy)g(the)0 +1913 y(preceding)g(requiremen)o(ts.)42 1965 y(If)10 b(one)i(or)f(more)g +(functions)g(are)h(de\014ned)g(in)f(a)g(\014le)g(that)h(is)f(compiled)e +(with)i Fs(compile-)0 2017 y(file)j Fw(and)i(the)g(compiled)d(\014le)j +(is)f(subsequen)o(tly)i(loaded)e(b)o(y)g(the)h(function)f +Fs(load)p Fw(,)f(the)0 2069 y(resulting)g(loaded)f(function)h +(de\014nitions)g(m)o(ust)f(b)q(e)h(of)g(t)o(yp)q(e)g +Fs(compiled-function)o Fw(.)42 2121 y(The)e(function)g +Fs(compile)e Fw(m)o(ust)h(pro)q(duce)j(an)d(ob)r(ject)i(of)f(t)o(yp)q +(e)g Fs(compiled-function)0 2173 y Fw(as)i(the)i(v)n(alue)d(that)i(is)f +(either)h(returned)h(or)f(stored)g(in)o(to)f(the)h Fs(symbol-function)c +Fw(of)j(a)0 2225 y(sym)o(b)q(ol)e(argumen)o(t.)42 2277 +y(Note)i(that)g(none)g(of)f(these)i(restrictions)g(addresses)h +(questions)f(of)e(the)i(compilation)0 2329 y(tec)o(hnology)g(or)h +(target)g(instruction)g(set.)24 b(F)m(or)16 b(example,)e(a)i(compiled)e +(function)h(do)q(es)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 742 766 +742 765 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(742)77 b(COMMON)13 +b(LISP)0 295 y Fw(not)18 b(necessarily)i(consist)f(of)f(nativ)o(e)h +(mac)o(hine)e(instructions.)33 b(These)19 b(requiremen)o(ts)0 +347 y(merely)11 b(sp)q(ecify)i(the)g(b)q(eha)o(vior)e(of)h(the)h(t)o +(yp)q(e)f(system)g(with)g(resp)q(ect)i(to)e(certain)h(actions)0 +399 y(tak)o(en)h(b)o(y)g Fs(compile)p Fw(,)e Fs(compile-file)p +Fw(,)e(and)k Fs(load)p Fw(.)-33 410 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 532 a Fo(25.1.3.)20 b(Compilation)13 b(En)n(vironmen)n +(t)-33 498 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 612 a Fw(X3J13)g(v)o(oted)f(in)h(June)h(1989)d +Ft(h)p Fw(19)p Ft(i)i Fw(to)g(sp)q(ecify)g(what)g(information)d(m)o +(ust)h(b)q(e)j(a)o(v)n(ailable)0 664 y(at)g(compile)e(time)h(for)h +(correct)i(compilation)11 b(and)j(what)g(need)h(not)f(b)q(e)h(a)o(v)n +(ailable)d(un)o(til)0 716 y(run)i(time.)42 768 y(The)d(follo)o(wing)d +(information)g(m)o(ust)i(b)q(e)h(presen)o(t)h(in)f(the)g(compile-time)d +(en)o(vironmen)o(t)0 820 y(for)17 b(a)g(program)e(to)j(b)q(e)f +(compiled)f(correctly)m(.)29 b(This)17 b(information)d(need)k(not)g +(also)e(b)q(e)0 872 y(presen)o(t)f(in)f(the)g(run-time)f(en)o(vironmen) +o(t.)0 931 y Fu(.)42 940 y Fw(In)c(conforming)e(co)q(de,)k(macros)e +(referenced)j(in)d(the)h(co)q(de)g(b)q(eing)g(compiled)d(m)o(ust)i(ha)o +(v)o(e)-33 912 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 42 992 a(b)q(een)20 b(previously)f(de\014ned)h(in)e(the)i +(compile-time)c(en)o(vironmen)o(t.)33 b(The)19 b(compiler)42 +1044 y(m)o(ust)13 b(treat)j(as)f(a)f(function)h(call)f(an)o(y)h(form)e +(that)i(is)f(a)h(list)f(whose)i Fv(c)n(ar)e Fw(is)h(a)g(sym)o(b)q(ol)42 +1096 y(that)20 b(do)q(es)i(not)f(name)e(a)i(macro)e(or)i(sp)q(ecial)g +(form.)37 b(\(This)21 b(implies)e(that)i Fs(setf)42 1148 +y Fw(metho)q(ds)13 b(m)o(ust)g(also)g(b)q(e)i(a)o(v)n(ailable)c(at)j +(compile)e(time.\))0 1220 y Fu(.)42 1229 y Fw(In)i(conforming)e(co)q +(de,)i(pro)q(clamations)e(for)i Fs(special)f Fw(v)n(ariables)g(m)o(ust) +g(b)q(e)i(made)e(in)42 1281 y(the)19 b(compile-tim)o(e)d(en)o(vironmen) +o(t)i(b)q(efore)h(an)o(y)g(bindings)f(of)g(those)h(v)n(ariables)f(are) +42 1333 y(pro)q(cessed)k(b)o(y)d(the)h(compiler.)34 b(The)21 +b(compiler)d(m)o(ust)h(treat)h(an)o(y)f(binding)g(of)g(an)42 +1384 y(undeclared)14 b(v)n(ariable)f(as)h(a)g(lexical)f(binding.)42 +1453 y(The)j(compiler)e(ma)o(y)g(incorp)q(orate)i(the)g(follo)o(wing)e +(kinds)h(of)g(information)e(in)o(to)i(the)0 1505 y(co)q(de)c(it)f(pro)q +(duces,)i(if)d(the)i(information)c(is)j(presen)o(t)h(in)f(the)h +(compile-tim)o(e)d(en)o(vironmen)o(t)0 1557 y(and)17 +b(is)g(referenced)j(within)d(the)h(co)q(de)g(b)q(eing)g(compiled;)f(ho) +o(w)o(ev)o(er,)h(the)g(compiler)e(is)0 1609 y(not)j(required)g(to)g(do) +f(so.)33 b(When)18 b(compile-time)e(and)j(run-time)e(de\014nitions)i +(di\013er,)0 1660 y(it)g(is)h(unsp)q(eci\014ed)i(whic)o(h)d(will)g +(prev)n(ail)g(within)g(the)h(compiled)e(co)q(de)j(\(unless)g(some)0 +1712 y(other)g(b)q(eha)o(vior)f(is)g(explicitly)g(sp)q(eci\014ed)i(b)q +(elo)o(w\).)37 b(It)20 b(is)h(also)e(p)q(ermissible)h(for)g(an)0 +1764 y(implemen)o(tatio)o(n)8 b(to)j(signal)f(an)g(error)i(at)f(run)g +(time)f(on)g(detecting)i(suc)o(h)g(a)e(discrepancy)m(.)0 +1816 y(In)16 b(all)f(cases,)j(the)e(absence)i(of)d(the)i(information)c +(at)j(compile)f(time)f(is)i(not)g(an)g(error,)0 1868 +y(but)e(its)g(presence)i(ma)o(y)c(enable)i(the)h(compiler)d(to)i +(generate)h(more)e(e\016cien)o(t)i(co)q(de.)0 1928 y +Fu(.)42 1936 y Fw(The)20 b(compiler)f(ma)o(y)g(assume)g(that)i +(functions)f(that)g(are)h(de\014ned)h(and)e(declared)-33 +1908 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 42 1988 a Fs(inline)11 b Fw(in)i(the)g(compile-time)d(en)o +(vironmen)o(t)i(will)g(retain)h(the)h(same)e(de\014nitions)h(at)42 +2040 y(run)h(time.)0 2112 y Fu(.)42 2121 y Fw(The)i(compiler)e(ma)o(y)g +(assume)i(that,)g(within)f(a)g(named)g(function,)h(a)f(recursiv)o(e)j +(call)42 2173 y(to)g(a)g(function)g(of)g(the)h(same)f(name)f(refers)j +(to)e(the)h(same)f(function,)g(unless)i(that)42 2225 +y(function)12 b(has)h(b)q(een)i(declared)f Fs(notinline)p +Fw(.)i(\(This)d(p)q(ermits)f(tail-recursiv)o(e)i(calls)e(of)42 +2277 y(a)i(function)h(to)g(itself)g(to)g(b)q(e)g(compiled)f(as)h +(jumps,)e(for)i(example,)f(thereb)o(y)i(turning)42 2329 +y(certain)e(recursiv)o(e)h(sc)o(hemas)f(in)o(to)f(e\016cien)o(t)i(lo)q +(ops.\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 743 767 +743 766 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MISCELLANEOUS)13 +b(FEA)m(TURES)828 b(743)0 286 y Fu(.)42 295 y Fw(In)17 +b(the)h(absence)g(of)f Fs(notinline)e Fw(declarations)j(to)f(the)h(con) +o(trary)m(,)f Fs(compile-file)42 347 y Fw(ma)o(y)11 b(assume)i(that)h +(a)f(call)g(within)g(the)h(\014le)g(b)q(eing)g(compiled)e(to)h(a)h +(named)e(function)42 399 y(that)i(is)g(de\014ned)i(in)e(that)h(\014le)f +(refers)i(to)e(that)h(function.)k(\(This)c(rule)g(p)q(ermits)f +Fv(blo)n(ck)42 450 y(c)n(ompilation)c Fw(of)h(\014les.\))17 +b(The)12 b(b)q(eha)o(vior)e(of)g(the)i(program)d(is)i(unsp)q(eci\014ed) +i(if)d(functions)42 502 y(are)k(rede\014ned)i(individually)11 +b(at)j(run)g(time.)0 583 y Fu(.)42 592 y Fw(The)e(compiler)e(ma)o(y)g +(assume)i(that)f(the)i(signature)f(\(or)g(\\in)o(terface)g(con)o +(tract"\))h(of)e(all)42 644 y(built-in)h(Common)f(Lisp)i(functions)h +(will)f(not)g(c)o(hange.)19 b(In)13 b(addition,)g(the)h(compiler)42 +696 y(ma)o(y)7 b(treat)j(all)f(built-in)f(Common)e(Lisp)k(functions)g +(as)f(if)g(they)h(had)f(b)q(een)i(pro)q(claimed)42 748 +y Fs(inline)p Fw(.)0 829 y Fu(.)42 838 y Fw(The)17 b(compiler)f(ma)o(y) +g(assume)h(that)g(the)h(signature)g(\(or)f(\\in)o(terface)h(con)o +(tract"\))g(of)42 890 y(functions)13 b(with)h Fs(ftype)f +Fw(information)e(a)o(v)n(ailable)g(will)i(not)h(c)o(hange.)0 +971 y Fu(.)42 980 y Fw(The)d(compiler)f(ma)o(y)f(\\wire)i(in")g(\(that) +g(is,)g(op)q(en-co)q(de)h(or)f(inline\))g(the)h(v)n(alues)f(of)f(sym-) +42 1032 y(b)q(olic)15 b(constan)o(ts)i(that)f(ha)o(v)o(e)g(b)q(een)h +(de\014ned)h(with)d Fs(defconstant)f Fw(in)i(the)h(compile-)42 +1084 y(time)12 b(en)o(vironmen)o(t.)0 1165 y Fu(.)42 +1174 y Fw(The)k(compiler)e(ma)o(y)g(assume)h(that)h(an)o(y)f(t)o(yp)q +(e)h(de\014nition)g(made)e(with)i Fs(defstruct)42 1226 +y Fw(or)c Fs(deftype)f Fw(in)h(the)h(compile-time)c(en)o(vironmen)o(t)j +(will)f(retain)h(the)i(same)d(de\014nition)42 1278 y(in)16 +b(the)h(run-time)e(en)o(vironmen)o(t.)25 b(It)17 b(ma)o(y)d(also)i +(assume)g(that)h(a)f(class)h(de\014ned)h(b)o(y)42 1329 +y Fs(defclass)12 b Fw(in)i(the)h(compile-time)c(en)o(vironmen)o(t)j +(will)e(b)q(e)j(de\014ned)h(in)e(the)h(run-time)42 1381 +y(en)o(vironmen)o(t)c(in)h(suc)o(h)i(a)e(w)o(a)o(y)g(as)g(to)h(ha)o(v)o +(e)f(the)h(same)f(sup)q(erclasses)j(and)e(metaclass.)42 +1433 y(This)d(implies)f(that)j(subt)o(yp)q(e/sup)q(ert)o(yp)q(e)h +(relationships)e(of)g(t)o(yp)q(e)g(sp)q(eci\014ers)i(will)d(not)42 +1485 y(c)o(hange)16 b(b)q(et)o(w)o(een)h(compile)e(time)f(and)i(run)h +(time.)23 b(\(Note)16 b(that)g(it)g(is)g(not)g(an)g(error)42 +1537 y(for)e(an)g(unkno)o(wn)g(t)o(yp)q(e)h(to)f(app)q(ear)h(in)f(a)h +(declaration)f(at)g(compile)f(time,)g(although)42 1589 +y(it)g(is)h(reasonable)g(for)g(the)g(compiler)f(to)g(emit)g(a)g(w)o +(arning)h(in)f(suc)o(h)i(a)e(case.\))0 1670 y Fu(.)42 +1679 y Fw(The)22 b(compiler)f(ma)o(y)g(assume)h(that)g(if)g(t)o(yp)q(e) +h(declarations)f(are)h(presen)o(t)h(in)e(the)42 1731 +y(compile-tim)o(e)27 b(en)o(vironmen)o(t,)33 b(the)d(corresp)q(onding)h +(v)n(ariables)e(and)h(functions)42 1783 y(presen)o(t)15 +b(in)e(the)h(run-time)e(en)o(vironmen)o(t)h(will)f(actually)g(b)q(e)j +(of)d(those)j(t)o(yp)q(es.)k(If)13 b(this)42 1835 y(assumption)f(is)h +(violated,)f(the)j(run-time)d(b)q(eha)o(vior)h(of)g(the)i(program)d(is) +h(unde\014ned.)42 1913 y(The)f(compiler)e(m)o(ust)h(not)g(mak)o(e)g(an) +o(y)g(additional)f(assumptions)h(ab)q(out)g(consistency)0 +1965 y(b)q(et)o(w)o(een)i(the)f(compile-tim)o(e)d(and)i(run-time)f(en)o +(vironmen)o(ts.)17 b(In)11 b(particular,)g(the)h(com-)0 +2017 y(piler)i(ma)o(y)e(not)h(assume)h(that)g(functions)g(that)g(are)g +(de\014ned)h(in)e(the)i(compile-tim)o(e)c(en-)0 2069 +y(vironmen)o(t)h(will)h(retain)h(either)h(the)f(same)f(de\014nition)h +(or)g(the)g(same)f(signature)i(at)e(run)0 2120 y(time,)j(except)i(as)f +(describ)q(ed)i(ab)q(o)o(v)o(e.)26 b(Similarly)m(,)14 +b(the)j(compiler)e(ma)o(y)g(not)i(signal)f(an)0 2172 +y(error)g(if)f(it)g(sees)i(a)e(call)g(to)g(a)h(function)f(that)g(is)h +(not)f(de\014ned)i(at)e(compile)f(time,)g(since)0 2224 +y(that)g(function)g(ma)o(y)d(b)q(e)k(pro)o(vided)f(at)f(run)i(time.)42 +2277 y(X3J13)g(v)o(oted)g(in)g(Jan)o(uary)h(1989)e Ft(h)p +Fw(20)p Ft(i)h Fw(to)g(sp)q(ecify)i(the)f(compile-tim)o(e)d(side)j +(e\013ects)0 2329 y(of)d(pro)q(cessing)i(v)n(arious)f(macro)e(forms.) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 744 768 +744 767 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(744)77 b(COMMON)13 +b(LISP)42 295 y Fw(Calls)i(to)i(de\014ning)f(macros)g(suc)o(h)h(as)g +Fs(defmacro)e Fw(or)h Fs(defvar)g Fw(app)q(earing)g(within)g(a)0 +347 y(\014le)k(b)q(eing)f(pro)q(cessed)j(b)o(y)e Fs(compile-file)d +Fw(normally)g(ha)o(v)o(e)i(compile-time)e(side)j(ef-)0 +399 y(fects)i(that)f(a\013ect)h(ho)o(w)f(subsequen)o(t)i(forms)d(in)g +(the)i(same)e(\014le)h(are)h(compiled.)38 b(A)0 450 y(con)o(v)o(enien)o +(t)18 b(mo)q(del)f(for)g(explaining)f(ho)o(w)i(these)h(side)f +(e\013ects)i(happ)q(en)f(is)e(that)h(eac)o(h)0 502 y(de\014ning)13 +b(macro)f(expands)h(in)o(to)g(one)g(or)g(more)f Fs(eval-when)f +Fw(forms)h(and)g(that)i(compile-)0 554 y(time)f(side)i(e\013ects)h(are) +f(caused)g(b)o(y)g(calls)f(o)q(ccurring)h(in)f(the)h(b)q(o)q(dy)f(of)g +(an)g Fs(\(eval-when)0 606 y(\(:compile-topleve)o(l\))k(...\))13 +b Fw(form.)42 659 y(The)j(a\013ected)i(de\014ning)f(macros)f(and)g +(their)h(sp)q(eci\014c)h(side)f(e\013ects)h(are)f(as)g(follo)o(ws.)0 +711 y(In)g(eac)o(h)g(case,)h(it)e(is)g(iden)o(ti\014ed)h(what)g(a)f +(user)i(m)o(ust)d(do)i(to)f(ensure)i(that)f(a)f(program)0 +762 y(is)g(conforming,)f(and)h(what)g(a)g(compiler)f(m)o(ust)g(do)h(in) +g(order)h(to)f(correctly)i(pro)q(cess)g(a)0 814 y(conforming)12 +b(program.)0 923 y Fs(deftype)-33 909 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 986 a Fw(The)g(user)g(m)o(ust)f(ensure)i(that)e(the)h(b) +q(o)q(dy)f(of)g(a)g Fs(deftype)f Fw(form)f(is)j(ev)n(aluable)e(at)h +(compile)0 1038 y(time)j(if)g(the)i(t)o(yp)q(e)g(is)f(referenced)i(in)e +(subsequen)o(t)i(t)o(yp)q(e)f(declarations.)22 b(The)15 +b(compiler)0 1090 y(m)o(ust)f(ensure)i(that)f(a)g(t)o(yp)q(e)g(sp)q +(eci\014er)i(de\014ned)f(b)o(y)f Fs(deftype)e Fw(is)i(recognized)h(in)f +(subse-)0 1142 y(quen)o(t)c(t)o(yp)q(e)g(declarations.)17 +b(If)10 b(the)h(expansion)f(of)g(a)h(t)o(yp)q(e)g(sp)q(eci\014er)h(is)e +(not)g(de\014ned)i(fully)0 1193 y(at)j(compile)e(time)g(\(p)q(erhaps)j +(b)q(ecause)h(it)d(expands)i(in)o(to)e(an)g(unkno)o(wn)h(t)o(yp)q(e)g +(sp)q(eci\014er)0 1245 y(or)i(a)h Fs(satisfies)d Fw(of)i(a)g(named)f +(function)i(that)f(isn't)g(de\014ned)i(in)e(the)h(compile-tim)o(e)0 +1297 y(en)o(vironmen)o(t\),)e(an)h(implemen)o(tatio)o(n)d(ma)o(y)h +(ignore)i(an)o(y)f(references)k(to)d(this)g(t)o(yp)q(e)g(in)0 +1349 y(declarations)d(and)g(ma)o(y)e(signal)g(a)i(w)o(arning.)0 +1457 y Fs(defmacro)e Fw(and)i Fs(define-modify-mac)o(ro)0 +1520 y Fw(The)19 b(compiler)d(m)o(ust)i(store)h(macro)e(de\014nitions)h +(at)g(compile)f(time,)g(so)i(that)f(o)q(ccur-)0 1572 +y(rences)f(of)e(the)h(macro)e(later)h(on)g(in)g(the)h(\014le)f(can)h(b) +q(e)g(expanded)g(correctly)m(.)23 b(The)16 b(user)0 1624 +y(m)o(ust)f(ensure)i(that)e(the)h(b)q(o)q(dy)g(of)f(the)h(macro)e(is)i +(ev)n(aluable)f(at)g(compile)f(time)g(if)h(it)g(is)0 +1676 y(referenced)h(within)e(the)g(\014le)g(b)q(eing)g(compiled.)0 +1783 y Fs(defun)0 1847 y Fw(No)19 b(required)g(compile-time)d(side)j +(e\013ects)h(are)f(asso)q(ciated)h(with)e Fs(defun)g +Fw(forms.)31 b(In)0 1898 y(particular,)15 b Fs(defun)f +Fw(do)q(es)i(not)f(mak)o(e)f(the)i(function)f(de\014nition)g(a)o(v)n +(ailable)e(at)i(compile)0 1950 y(time.)h(An)c(implemen)o(tation)c(ma)o +(y)i(c)o(ho)q(ose)j(to)f(store)h(information)c(ab)q(out)j(the)g +(function)0 2002 y(for)g(the)i(purp)q(oses)g(of)e(compile-time)e(error) +j(c)o(hec)o(king)h(\(suc)o(h)f(as)g(c)o(hec)o(king)g(the)g(n)o(um)o(b)q +(er)0 2054 y(of)g(argumen)o(ts)g(on)h(calls\))g(or)g(to)f(p)q(ermit)g +(later)h Fs(inline)f Fw(expansion)h(of)f(the)h(function.)0 +2162 y Fs(defvar)f Fw(and)g Fs(defparameter)0 2225 y +Fw(The)k(compiler)e(m)o(ust)h(recognize)i(that)e(the)i(v)n(ariables)e +(named)f(b)o(y)i(these)h(forms)d(ha)o(v)o(e)0 2277 y(b)q(een)20 +b(pro)q(claimed)d Fs(special)p Fw(.)32 b(Ho)o(w)o(ev)o(er,)20 +b(it)e(m)o(ust)g(not)h(ev)n(aluate)f(the)h Fv(initial-value)0 +2329 y Fw(form)12 b(or)i Fs(set)f Fw(the)i(v)n(ariable)d(at)i(compile)e +(time.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 745 769 +745 768 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MISCELLANEOUS)13 +b(FEA)m(TURES)828 b(745)0 295 y Fs(defconstant)0 358 +y Fw(The)17 b(compiler)d(m)o(ust)h(recognize)i(that)f(the)h(sym)o(b)q +(ol)d(names)i(a)f(constan)o(t.)26 b(An)16 b(imple-)0 +410 y(men)o(tation)c(ma)o(y)f(c)o(ho)q(ose)j(to)f(ev)n(aluate)g(the)h +Fv(value-form)f Fw(at)g(compile)f(time,)f(load)i(time,)0 +462 y(or)i(b)q(oth.)23 b(Therefore)17 b(the)f(user)h(m)o(ust)d(ensure)j +(that)f(the)g Fv(value-form)f Fw(is)g(ev)n(aluable)g(at)0 +513 y(compile)e(time)g(\(regardless)i(of)f(whether)i(or)e(not)g +(references)j(to)d(the)h(constan)o(t)g(app)q(ear)0 565 +y(in)g(the)h(\014le\))f(and)h(that)f(it)g(alw)o(a)o(ys)f(ev)n(aluates)i +(to)f(the)h(same)f(v)n(alue.)21 b(\(There)c(has)f(b)q(een)0 +617 y(considerable)c(v)n(ariance)f(among)f(implemen)o(tatio)o(ns)f(on)i +(this)h(p)q(oin)o(t.)17 b(The)12 b(e\013ect)h(of)e(this)0 +669 y(sp)q(eci\014cation)17 b(is)g(to)g(legitimize)d(all)i(of)g(the)h +(implemen)o(tation)c(v)n(arian)o(ts)j(b)o(y)h(requiring)0 +721 y(care)e(of)e(the)i(user.\))0 826 y Fs(defsetf)d +Fw(and)i Fs(define-setf-method)0 889 y Fw(The)f(compiler)d(m)o(ust)i +(mak)o(e)e Fs(setf)i Fw(metho)q(ds)f(a)o(v)n(ailable)f(so)j(that)f +(they)h(ma)o(y)d(b)q(e)j(used)g(to)0 941 y(expand)h(calls)g(to)g +Fs(setf)f Fw(later)i(on)e(in)h(the)h(\014le.)k(Users)c(m)o(ust)e +(ensure)j(that)e(the)h(b)q(o)q(dy)f(of)0 993 y(a)i(call)f(to)g +Fs(define-setf-method)d Fw(or)k(the)h(complex)d(form)g(of)i +Fs(defsetf)e Fw(is)i(ev)n(aluable)0 1045 y(at)d(compile)e(time)g(if)h +(the)i(corresp)q(onding)f(place)g(is)g(referred)i(to)d(in)h(a)f +(subsequen)o(t)j Fs(setf)0 1097 y Fw(in)h(the)i(same)e(\014le.)26 +b(The)18 b(compiler)d(m)o(ust)h(mak)o(e)f(these)j Fs(setf)e +Fw(metho)q(ds)g(a)o(v)n(ailable)f(to)0 1149 y(compile-tim)o(e)e(calls)i +(to)g Fs(get-setf-method)c Fw(when)16 b(its)f(en)o(vironmen)o(t)f +(argumen)o(t)g(is)h(a)0 1201 y(v)n(alue)e(receiv)o(ed)i(as)f(the)h +Fs(&environment)c Fw(parameter)j(of)f(a)h(macro.)0 1306 +y Fs(defstruct)0 1369 y Fw(The)h(compiler)e(m)o(ust)h(mak)o(e)f(the)i +(structure)h(t)o(yp)q(e)f(name)f(recognized)h(as)g(a)f(v)n(alid)f(t)o +(yp)q(e)0 1421 y(name)g(in)h(subsequen)o(t)h(declarations)g(\(as)f +(describ)q(ed)i(ab)q(o)o(v)o(e)e(for)g Fs(deftype)p Fw(\))e(and)i(mak)o +(e)0 1473 y(the)j(structure)i(slot)d(accessors)j(kno)o(wn)d(to)g +Fs(setf)p Fw(.)25 b(In)17 b(addition,)f(the)h(compiler)e(m)o(ust)0 +1525 y(sa)o(v)o(e)k(enough)f(information)e(so)i(that)h(further)g +Fs(defstruct)e Fw(de\014nitions)h(can)h(include)0 1577 +y(\(with)c(the)h Fs(:include)e Fw(option\))h(a)g(structure)i(t)o(yp)q +(e)f(de\014ned)h(earlier)e(in)g(the)h(\014le)g(b)q(eing)0 +1629 y(compiled.)33 b(The)19 b(functions)h(that)f Fs(defstruct)e +Fw(generates)k(are)f(not)f(de\014ned)h(in)f(the)0 1681 +y(compile-tim)o(e)13 b(en)o(vironmen)o(t,)h(although)g(the)h(compiler)f +(ma)o(y)f(sa)o(v)o(e)i(enough)g(informa-)0 1732 y(tion)j(ab)q(out)h +(the)h(functions)f(to)g(allo)o(w)e Fs(inline)g Fw(expansion)i(of)g +(subsequen)o(t)h(calls)f(to)0 1784 y(these)e(functions.)22 +b(The)15 b Fs(#)393 1780 y(-)393 1788 y(-)415 1784 y(S)g +Fw(reader)h(syn)o(tax)f(ma)o(y)f(or)h(ma)o(y)e(not)i(b)q(e)h(a)o(v)n +(ailable)d(for)i(that)0 1836 y(structure)h(t)o(yp)q(e)e(at)g(compile)e +(time.)0 1942 y Fs(define-condition)0 2005 y Fw(The)g(rules)g(are)g +(essen)o(tially)g(the)g(same)f(as)h(those)g(for)f Fs(defstruct)p +Fw(.)k(The)e(compiler)d(m)o(ust)0 2057 y(mak)o(e)15 b(the)i(condition)f +(t)o(yp)q(e)h(recognizable)g(as)f(a)h(v)n(alid)e(t)o(yp)q(e)i(name,)e +(and)i(it)f(m)o(ust)f(b)q(e)0 2108 y(p)q(ossible)c(to)f(reference)j +(the)e(condition)f(t)o(yp)q(e)h(as)g(the)g Fv(p)n(ar)n(ent-typ)n(e)f +Fw(of)g(another)h(condition)0 2160 y(t)o(yp)q(e)j(in)g(a)f(subsequen)o +(t)j Fs(define-condition)11 b Fw(form)h(in)h(the)i(\014le)f(b)q(eing)f +(compiled.)0 2266 y Fs(defpackage)0 2329 y Fw(All)f(of)g(the)i(actions) +e(normally)f(p)q(erformed)h(b)o(y)h(the)g Fs(defpackage)e +Fw(macro)g(at)i(load)f(time)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 746 770 +746 769 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(746)77 b(COMMON)13 +b(LISP)0 295 y Fw(m)o(ust)g(also)g(b)q(e)i(p)q(erformed)e(at)h(compile) +e(time.)42 403 y(Compile-tim)o(e)i(side)j(e\013ects)i(ma)o(y)14 +b(cause)k(information)c(ab)q(out)j(a)f(de\014nition)g(to)h(b)q(e)0 +455 y(stored)e(in)e(a)h(di\013eren)o(t)h(manner)e(from)f(information)f +(ab)q(out)j(de\014nitions)g(pro)q(cessed)i(ei-)0 507 +y(ther)11 b(in)o(terpretiv)o(ely)g(or)g(b)o(y)f(loading)f(a)h(compiled) +f(\014le.)17 b(In)11 b(particular,)f(the)i(information)0 +559 y(stored)17 b(b)o(y)f(a)g(de\014ning)g(macro)e(at)i(compile)f(time) +f(ma)o(y)g(or)i(ma)o(y)e(not)i(b)q(e)h(a)o(v)n(ailable)d(to)0 +610 y(the)f(in)o(terpreter)h(\(either)g(during)e(or)h(after)f +(compilation\))e(or)j(during)f(subsequen)o(t)i(calls)0 +662 y(to)e Fs(compile)e Fw(or)h Fs(compile-file)p Fw(.)k(F)m(or)c +(example,)g(the)h(follo)o(wing)d(co)q(de)j(is)g(not)g(p)q(ortable)0 +714 y(b)q(ecause)i(it)e(assumes)g(that)g(the)g(compiler)f(stores)i(the) +g(macro)e(de\014nition)h(of)f Fs(foo)h Fw(where)0 766 +y(it)i(is)f(a)o(v)n(ailable)f(to)i(the)g(in)o(terpreter.)0 +858 y Fs(\(defmacro)19 b(foo)i(\(x\))388 862 y Fn(`)412 +858 y Fs(\(car)f(,x\)\))0 962 y(\(eval-when)f(\(:execute)g +(:compile-toplevel)f(:load-toplevel\))42 1014 y(\(print)i(\(foo)300 +1018 y Fn(')324 1014 y Fs(\(a)h(b)g(c\)\)\)\))104 b(;)p +Fw(W)m(rong)0 1106 y(The)19 b(goal)f(ma)o(y)f(b)q(e)i(accomplished)f(p) +q(ortably)g(b)o(y)g(including)g(the)i(macro)d(de\014nition)0 +1158 y(within)c(the)i Fs(eval-when)d Fw(form:)0 1250 +y Fs(\(eval-when)19 b(\(eval)h(compile)g(load\))42 1302 +y(\(defmacro)g(foo)g(\(x\))431 1306 y Fn(`)454 1302 y +Fs(\(car)g(,x\)\))42 1354 y(\(print)g(\(foo)300 1358 +y Fn(')324 1354 y Fs(\(a)h(b)g(c\)\)\)\))104 b(;)p Fw(Righ)o(t)0 +1463 y Fs(declaim)-33 1449 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1528 a Fw(X3J13)18 b(v)o(oted)h(in)f(June)i(1989)d +Ft(h)p Fw(144)p Ft(i)h Fw(to)h(add)f(a)g(new)h(macro)f +Fs(declaim)f Fw(for)h(making)0 1580 y(pro)q(clamations)h(recognizable)h +(at)h(compile)d(time.)37 b(The)21 b(declaration)f(sp)q(eci\014ers)i(in) +0 1632 y(the)17 b Fs(declaim)f Fw(form)f(are)i(e\013ectiv)o(ely)g(pro)q +(claimed)f(at)g(compile)f(time)h(so)g(as)h(to)g(a\013ect)0 +1684 y(compilation)f(of)i(subsequen)o(t)j(forms.)31 b(\(Note)20 +b(that)e(compiler)g(pro)q(cessing)i(of)e(a)h(call)0 1736 +y(to)d Fs(proclaim)f Fw(do)q(es)j(not)e(ha)o(v)o(e)g(an)o(y)g +(compile-time)e(side)j(e\013ects,)i(for)d Fs(proclaim)f +Fw(is)h(a)0 1788 y(function.\))0 1896 y Fs(in-package)-33 +1882 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1961 a Fw(X3J13)f(v)o(oted)g(in)f(Marc)o(h)i(1989)e +Ft(h)p Fw(103)p Ft(i)g Fw(to)h(sp)q(ecify)h(that)f(all)e(of)i(the)g +(actions)g(normally)0 2013 y(p)q(erformed)e(b)o(y)h(the)g +Fs(in-package)e Fw(macro)g(at)i(load)e(time)h(m)o(ust)f(also)h(b)q(e)i +(p)q(erformed)e(at)0 2065 y(compile)f(time.)42 2173 y(X3J13)d(v)o(oted) +g(in)g(June)h(1989)f Ft(h)p Fw(13)p Ft(i)g Fw(to)g(sp)q(ecify)h(the)g +(compile-time)d(side)j(e\013ects)h(of)e(pro-)0 2225 y(cessing)j(v)n +(arious)f(CLOS-related)h(macro)d(forms.)16 b(T)m(op-lev)o(el)10 +b(calls)h(to)g(the)h(CLOS)f(de\014n-)0 2277 y(ing)17 +b(macros)f(ha)o(v)o(e)h(the)h(follo)o(wing)d(compile-tim)o(e)g(side)i +(e\013ects;)k(an)o(y)c(other)h(compile-)0 2329 y(time)13 +b(b)q(eha)o(vior)g(is)h(explicitly)f(left)g(unsp)q(eci\014ed.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 747 771 +747 770 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MISCELLANEOUS)13 +b(FEA)m(TURES)828 b(747)0 295 y Fs(defclass)-33 281 y +@beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 358 a Fw(The)10 b(class)g(name)e(ma)o(y)g(app)q(ear)i +(in)f(subsequen)o(t)i(t)o(yp)q(e)f(declarations)g(and)f(can)h(b)q(e)g +(used)h(as)0 410 y(a)g(sp)q(ecializer)h(in)f(subsequen)o(t)j +Fs(defmethod)9 b Fw(forms.)16 b(Th)o(us)c(the)g(compile-tim)o(e)d(b)q +(eha)o(vior)0 462 y(of)k Fs(defclass)f Fw(is)i(similar)e(to)h(that)h +(of)g Fs(deftype)e Fw(or)i Fs(defstruct)p Fw(.)0 568 +y Fs(defgeneric)0 632 y Fw(The)i(generic)g(function)g(can)f(b)q(e)h +(referenced)j(in)c(subsequen)o(t)i Fs(defmethod)c Fw(forms,)i(but)0 +683 y(the)c(compiler)e(do)q(es)i(not)f(arrange)g(for)g(the)h(generic)g +(function)f(to)g(b)q(e)h(callable)e(at)h(compile)0 735 +y(time.)0 842 y Fs(defmethod)0 905 y Fw(The)j(compiler)e(do)q(es)j(not) +f(arrange)g(for)f(the)h(metho)q(d)f(to)h(b)q(e)g(callable)f(at)g +(compile)g(time.)0 957 y(If)17 b(there)i(is)f(a)f(generic)h(function)g +(with)f(the)h(same)f(name)f(de\014ned)j(at)f(compile)e(time,)0 +1009 y(compiling)7 b(a)i Fs(defmethod)f Fw(form)g(do)q(es)j(not)e(add)h +(the)g(metho)q(d)f(to)h(that)g(generic)g(function;)0 +1061 y(the)16 b(metho)q(d)e(is)i(added)f(to)h(the)f(generic)i(function) +e(only)f(when)i(the)g Fs(defmethod)d Fw(form)0 1113 y(is)h(actually)f +(executed.)42 1165 y(The)g(error-signaling)f(b)q(eha)o(vior)h(describ)q +(ed)h(in)f(the)g(sp)q(eci\014cation)h(of)e Fs(defmethod)f +Fw(in)0 1217 y(c)o(hapter)j(28)f(\(if)g(the)h(function)f(isn't)g(a)g +(generic)h(function)f(or)h(if)e(the)i(lam)o(b)q(da-list)d(is)i(not)0 +1269 y(congruen)o(t\))19 b(o)q(ccurs)g(only)e(when)h(the)h(de\014ning)e +(form)f(is)i(executed,)i(not)e(at)f(compile)0 1321 y(time.)42 +1373 y(The)12 b(forms)e(in)i Fs(eql)f Fw(parameter)h(sp)q(ecializers)h +(are)f(ev)n(aluated)g(when)g(the)h Fs(defmethod)0 1425 +y Fw(form)c(is)i(executed.)18 b(The)12 b(compiler)d(is)h(p)q(ermitted)h +(to)g(build)e(in)i(kno)o(wledge)f(ab)q(out)h(what)0 1477 +y(the)18 b(form)f(in)g(an)h Fs(eql)f Fw(sp)q(ecializer)i(will)d(ev)n +(aluate)i(to)f(in)h(cases)h(where)g(the)g(ultimate)0 +1529 y(result)c(can)f(b)q(e)g(syn)o(tactically)f(inferred)i(without)f +(actually)f(ev)n(aluating)f(it.)0 1636 y Fs(define-method-com)o(binat)o +(ion)0 1699 y Fw(The)i(metho)q(d)f(com)o(bination)f(can)i(b)q(e)g(used) +h(in)f(subsequen)o(t)h Fs(defgeneric)d Fw(forms.)42 1752 +y(The)17 b(b)q(o)q(dy)g(of)f(a)g Fs(define-method-comb)o(inati)o(on)e +Fw(form)h(is)h(ev)n(aluated)h(no)g(earlier)0 1804 y(than)j(when)g(the)h +(de\014ning)f(macro)f(is)h(executed)h(and)f(p)q(ossibly)g(as)g(late)g +(as)g(generic)0 1855 y(function)13 b(in)o(v)o(o)q(cation)g(time.)j(The) +e(compiler)f(ma)o(y)e(attempt)i(to)h(ev)n(aluate)f(these)i(forms)0 +1907 y(at)f(compile)e(time)g(but)j(m)o(ust)d(not)i(dep)q(end)h(on)f(b)q +(eing)g(able)g(to)f(do)h(so.)-33 1919 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2080 a Fo(25.1.4.)20 b(Similarit)n(y)12 +b(of)j(Constan)n(ts)-33 2046 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2173 a Fw(X3J13)g(v)o(oted)g(in)f(Marc)o(h)i(1989)e +Ft(h)p Fw(34)p Ft(i)g Fw(to)h(sp)q(ecify)h(what)f(ob)r(jects)h(can)f(b) +q(e)h(in)e(compiled)0 2225 y(constan)o(ts)h(and)f(what)g(relationship)g +(there)h(m)o(ust)f(b)q(e)g(b)q(et)o(w)o(een)i(a)e(constan)o(t)h(passed) +g(to)0 2277 y(the)f(compiler)d(and)i(the)g(one)g(that)g(is)g +(established)h(b)o(y)e(compiling)e(it)j(and)g(then)g(loading)0 +2329 y(its)h(\014le.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 748 772 +748 771 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(748)77 b(COMMON)13 +b(LISP)42 295 y Fw(The)j(k)o(ey)g(is)f(a)h(de\014nition)f(of)h(an)f +(equiv)n(alence)h(relationship)g(called)f(\\similarit)o(y)e(as)0 +347 y(constan)o(ts")i(b)q(et)o(w)o(een)i(Lisp)d(ob)r(jects.)22 +b(Co)q(de)16 b(passed)f(through)g(the)h(\014le)e(compiler)g(and)0 +399 y(then)h(loaded)f(m)o(ust)f(b)q(eha)o(v)o(e)h(as)h(though)f(quoted) +g(constan)o(ts)h(in)f(it)g(are)g(similar)e(in)i(this)0 +450 y(sense)j(to)e(quoted)h(constan)o(ts)h(in)e(the)h(corresp)q(onding) +g(source)h(co)q(de.)24 b(An)15 b(ob)r(ject)i(ma)o(y)0 +502 y(b)q(e)g(used)g(as)f(a)g(quoted)g(constan)o(t)h(pro)q(cessed)h(b)o +(y)e Fs(compile-file)d Fw(if)j(and)g(only)f(if)g(the)0 +554 y(compiler)c(can)i(guaran)o(tee)g(that)g(the)g(resulting)f(constan) +o(t)i(established)f(b)o(y)f(loading)f(the)0 606 y(compiled)i(\014le)h +(is)h(\\similar)c(as)k(a)f(constan)o(t")h(to)f(the)h(original.)j(Sp)q +(eci\014c)d(requiremen)o(ts)0 658 y(are)f(sp)q(elled)h(out)f(b)q(elo)o +(w.)42 713 y(Some)k(t)o(yp)q(es)j(of)e(ob)r(jects,)i(suc)o(h)g(as)e +(streams,)i(are)f(not)g(supp)q(orted)h(in)e(constan)o(ts)0 +765 y(pro)q(cessed)c(b)o(y)e(the)g(\014le)g(compiler.)k(Suc)o(h)c(ob)r +(jects)h(ma)o(y)d(not)i(p)q(ortably)f(app)q(ear)i(as)f(con-)0 +817 y(stan)o(ts)18 b(in)f(co)q(de)h(pro)q(cessed)i(with)c +Fs(compile-file)p Fw(.)26 b(Conforming)15 b(implemen)o(tatio)o(ns)0 +869 y(are)i(required)g(to)g(handle)f(suc)o(h)h(ob)r(jects)h(either)g(b) +o(y)e(ha)o(ving)f(the)i(compiler)e(or)i(loader)0 921 +y(reconstruct)f(an)e(equiv)n(alen)o(t)g(cop)o(y)g(of)f(the)i(ob)r(ject) +g(in)f(some)f(implemen)o(tatio)o(n-sp)q(eci\014c)0 973 +y(manner)g(or)h(b)o(y)g(ha)o(ving)e(the)j(compiler)d(signal)h(an)h +(error.)42 1028 y(Of)d(the)i(t)o(yp)q(es)g(supp)q(orted)g(in)f(constan) +o(ts,)h(some)e(are)i(treated)g(as)f(aggregate)g(ob)r(jects.)0 +1080 y(F)m(or)g(these)i(t)o(yp)q(es,)g(b)q(eing)e(similar)e(as)j +(constan)o(ts)h(is)e(de\014ned)i(recursiv)o(ely)m(.)k(W)m(e)12 +b(sa)o(y)h(that)0 1132 y(an)18 b(ob)r(ject)h(of)f(suc)o(h)h(a)g(t)o(yp) +q(e)f(has)h(certain)g(\\basic)f(attributes";)j(to)e(b)q(e)g(similar)d +(as)i(a)0 1184 y(constan)o(t)d(to)g(another)g(ob)r(ject,)g(the)h(v)n +(alues)e(of)g(the)i(corresp)q(onding)f(attributes)h(of)e(the)0 +1236 y(t)o(w)o(o)f(ob)r(jects)i(m)o(ust)e(also)h(b)q(e)g(similar)d(as)j +(constan)o(ts.)42 1291 y(A)k(de\014nition)f(of)h(this)g(recursiv)o(e)h +(form)e(has)h(problems)f(with)h(an)o(y)f(circular)h(or)g(in-)0 +1343 y(\014nitely)g(recursiv)o(e)i(ob)r(ject)f(suc)o(h)g(as)g(a)f(list) +g(that)g(is)g(an)g(elemen)o(t)g(of)g(itself.)31 b(W)m(e)18 +b(use)0 1395 y(the)d(idea)f(of)g(depth-limited)e(comparison)h(and)h(sa) +o(y)g(that)h(t)o(w)o(o)f(ob)r(jects)h(are)g(similar)d(as)0 +1447 y(constan)o(ts)18 b(if)e(they)i(are)f(similar)e(at)h(all)g +(\014nite)h(lev)o(els.)28 b(This)17 b(idea)f(is)h(implicit)e(in)h(the)0 +1499 y(de\014nitions)f(b)q(elo)o(w,)f(and)g(it)g(applies)g(in)g(all)g +(the)h(places)g(where)h(attributes)f(of)f(t)o(w)o(o)g(ob-)0 +1551 y(jects)e(are)f(required)h(to)f(b)q(e)h(similar)c(as)k(constan)o +(ts.)18 b(The)11 b(question)g(of)g(handling)e(circular)0 +1603 y(constan)o(ts)15 b(is)f(the)g(sub)r(ject)h(of)f(a)f(separate)i(v) +o(ote)f(b)o(y)g(X3J13)g(\(see)h(b)q(elo)o(w\).)42 1658 +y(The)h(follo)o(wing)d(terms)j(are)g(used)h(throughout)f(this)g +(section.)25 b(The)17 b(term)e Fv(c)n(onstant)0 1710 +y Fw(refers)d(to)e(a)h(quoted)g(or)f(self-ev)n(aluating)f(constan)o(t,) +j(not)e(a)h(named)e(constan)o(t)i(de\014ned)h(b)o(y)0 +1762 y Fs(defconstant)p Fw(.)j(The)c(term)f Fv(sour)n(c)n(e)i(c)n(o)n +(de)f Fw(is)g(used)h(to)f(refer)g(to)g(the)h(ob)r(jects)g(constructed)0 +1814 y(when)j Fs(compile-file)e Fw(calls)h Fs(read)g +Fw(\(or)h(the)h(equiv)n(alen)o(t\))e(and)h(to)g(additional)e(ob)r +(jects)0 1866 y(constructed)k(b)o(y)f(macro)e(expansion)h(during)g +(\014le)g(compilation.)k(The)d(term)f Fv(c)n(ompile)n(d)0 +1917 y(c)n(o)n(de)f Fw(is)g(used)h(to)e(refer)i(to)f(ob)r(jects)h +(constructed)h(b)o(y)e Fs(load)p Fw(.)42 1973 y(Tw)o(o)e(ob)r(jects)j +(are)e Fv(similar)g(as)h(a)h(c)n(onstant)f Fw(if)e(and)h(only)f(if)h +(they)g(are)h(b)q(oth)f(of)g(one)g(of)0 2025 y(the)i(t)o(yp)q(es)h +(listed)f(b)q(elo)o(w)f(and)h(satisfy)f(the)i(additional)c(requiremen)o +(ts)k(listed)e(for)h(that)0 2077 y(t)o(yp)q(e.)0 2214 +y Fs(number)-33 2200 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2277 a Fw(Tw)o(o)e(n)o(um)o(b)q(ers)f(are)i(similar)d +(as)i(constan)o(ts)h(if)e(they)i(are)f(of)g(the)h(same)e(t)o(yp)q(e)h +(and)g(repre-)0 2329 y(sen)o(t)i(the)f(same)f(mathematical)e(v)n(alue.) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 749 773 +749 772 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MISCELLANEOUS)13 +b(FEA)m(TURES)828 b(749)0 295 y Fs(character)0 358 y +Fw(Tw)o(o)12 b(c)o(haracters)j(are)e(similar)e(as)i(constan)o(ts)g(if)g +(they)g(b)q(oth)g(represen)o(t)i(the)f(same)e(c)o(har-)0 +410 y(acter.)36 b(\(The)20 b(in)o(ten)o(t)f(is)g(that)h(this)f(b)q(e)i +(compatible)c(with)i(ho)o(w)g Fs(eql)g Fw(is)g(de\014ned)i(on)0 +462 y(c)o(haracters.\))0 579 y Fs(symbol)0 644 y Fw(X3J13)14 +b(v)o(oted)g(in)f(June)i(1989)d Ft(h)p Fw(22)p Ft(i)i +Fw(to)g(de\014ne)h(similarit)o(y)10 b(as)k(a)g(constan)o(t)g(for)g(in)o +(terned)0 696 y(sym)o(b)q(ols.)i(A)d(sym)o(b)q(ol)e Fv(S)19 +b Fw(app)q(earing)12 b(in)h(the)g(source)i(co)q(de)e(is)g(similar)e(as) +i(a)f(constan)o(t)i(to)0 748 y(a)e(sym)o(b)q(ol)f Fv(S)202 +733 y Fl(0)226 748 y Fw(in)h(the)h(compiled)e(co)q(de)i(if)f(their)h +(prin)o(t)f(names)f(are)i(similar)d(as)j(constan)o(ts)0 +800 y(and)h(either)g(of)g(the)g(follo)o(wing)d(conditions)j(holds:)0 +882 y Fu(.)42 891 y Fv(S)29 b Fw(is)c(accessible)h(in)e +Fs(*package*)e Fw(at)j(compile)e(time)g(and)h Fv(S)1073 +875 y Fl(0)1110 891 y Fw(is)g(accessible)i(in)42 942 +y Fs(*package*)11 b Fw(at)j(load)f(time.)0 1035 y Fu(.)42 +1044 y Fv(S)70 1029 y Fl(0)99 1044 y Fw(is)18 b(accessible)h(in)f(the)g +(pac)o(k)n(age)g(that)g(is)f(similar)f(as)i(a)f(constan)o(t)i(to)e(the) +i(home)42 1096 y(pac)o(k)n(age)13 b(of)g(sym)o(b)q(ol)f +Fv(S)p Fw(.)0 1187 y(The)17 b(\\similar)c(as)j(constan)o(ts")h +(relationship)f(for)f(in)o(terned)i(sym)o(b)q(ols)e(has)h(nothing)g(to) +0 1238 y(do)c(with)g Fs(*readtable*)f Fw(or)h(ho)o(w)g(the)h(function)f +Fs(read)g Fw(w)o(ould)g(parse)h(the)g(c)o(haracters)h(in)0 +1290 y(the)g(prin)o(t)g(name)f(of)g(the)i(sym)o(b)q(ol.)42 +1344 y(An)k(unin)o(terned)g(sym)o(b)q(ol)f(in)g(the)i(source)g(co)q(de) +g(is)e(similar)f(as)i(a)g(constan)o(t)g(to)g(an)0 1396 +y(unin)o(terned)f(sym)o(b)q(ol)e(in)h(the)h(compiled)e(co)q(de)i(if)f +(their)h(prin)o(t)f(names)g(are)h(similar)d(as)0 1448 +y(constan)o(ts.)0 1565 y Fs(package)0 1628 y Fw(A)k(pac)o(k)n(age)g(in) +f(the)i(source)g(co)q(de)f(is)g(similar)e(as)i(a)f(constan)o(t)i(to)e +(a)h(pac)o(k)n(age)g(in)f(the)0 1680 y(compiled)c(co)q(de)j(if)f(their) +g(names)f(are)i(similar)c(as)j(constan)o(ts.)26 b(Note)16 +b(that)g(the)h(loader)0 1732 y(\014nds)i(the)f(corresp)q(onding)i(pac)o +(k)n(age)d(ob)r(ject)i(as)f(if)g(b)o(y)g(calling)e Fs(find-package)g +Fw(with)0 1784 y(the)f(pac)o(k)n(age)e(name)g(as)h(an)g(argumen)o(t.)k +(An)c(error)h(is)f(signaled)f(if)h(no)g(pac)o(k)n(age)f(of)h(that)0 +1836 y(name)f(exists)h(at)g(load)f(time.)0 1953 y Fs(random-state)0 +2016 y Fw(W)m(e)f(sa)o(y)g(that)g(t)o(w)o(o)g Fs(random-state)d +Fw(ob)r(jects)k(are)g Fv(functional)r(ly)g(e)n(quivalent)g +Fw(if)e(applying)0 2068 y Fs(random)d Fw(to)i(them)f(rep)q(eatedly)i +(alw)o(a)o(ys)e(pro)q(duces)i(the)f(same)f(pseudo-random)g(n)o(um)o(b)q +(ers)0 2119 y(in)k(the)i(same)e(order.)42 2173 y(Tw)o(o)j +(random-states)h(are)g(similar)e(as)i(constan)o(ts)h(if)f(and)g(only)f +(if)g(copies)i(of)f(them)0 2225 y(made)c(via)g Fs(make-random-state)e +Fw(are)k(functionally)d(equiv)n(alen)o(t.)19 b(\(Note)14 +b(that)h(a)f(con-)0 2277 y(stan)o(t)f Fs(random-state)c +Fw(ob)r(ject)k(cannot)g(b)q(e)g(used)g(as)f(the)h Fv(state)f +Fw(argumen)o(t)g(to)g(the)h(func-)0 2329 y(tion)g Fs(random)g +Fw(b)q(ecause)j Fs(random)c Fw(p)q(erforms)i(a)f(side)h(e\013ect)i(on)e +(that)g(argumen)o(t.\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 750 774 +750 773 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(750)77 b(COMMON)13 +b(LISP)0 295 y Fs(cons)0 358 y Fw(Tw)o(o)i(conses)i(are)g(similar)c(as) +j(constan)o(ts)h(if)d(the)j(v)n(alues)e(of)h(their)g(resp)q(ectiv)o(e)h +Fv(c)n(ar)f Fw(and)0 410 y Fv(c)n(dr)e Fw(attributes)g(are)h(similar)c +(as)j(constan)o(ts.)0 512 y Fs(array)0 575 y Fw(Tw)o(o)19 +b(arra)o(ys)g(are)g(similar)e(as)i(constan)o(ts)h(if)e(the)i(corresp)q +(onding)g(v)n(alues)e(of)h(eac)o(h)g(of)0 627 y(the)13 +b(follo)o(wing)d(attributes)j(are)g(similar)d(as)j(constan)o(ts:)18 +b(for)12 b(v)o(ectors)i(\(one-dimensional)0 679 y(arra)o(ys\),)21 +b(the)f Fs(length)e Fw(and)h Fs(element-type)e Fw(and)i(the)h(result)g +(of)f Fs(elt)g Fw(for)g(all)f(v)n(alid)0 731 y(indices;)c(for)g(all)f +(other)i(arra)o(ys,)f(the)h Fs(array-rank)p Fw(,)d(the)j(result)g(of)f +Fs(array-dimension)0 783 y Fw(for)h(all)f(v)n(alid)g(axis)h(n)o(um)o(b) +q(ers,)g(the)h Fs(array-element-type)p Fw(,)c(and)j(the)h(result)h(of)e +Fs(aref)0 835 y Fw(for)i(all)f(v)n(alid)g(indices.)28 +b(\(The)18 b(p)q(oin)o(t)e(of)h(distinguishing)f(v)o(ectors)i(is)g(to)f +(tak)o(e)g(an)o(y)g(\014ll)0 886 y(p)q(oin)o(ters)d(in)o(to)g(accoun)o +(t.\))42 938 y(If)g(the)h(arra)o(y)f(in)g(the)h(source)g(co)q(de)h(is)e +(a)g Fs(simple-array)p Fw(,)e(then)j(the)g(corresp)q(onding)0 +990 y(arra)o(y)i(in)h(the)g(compiled)e(co)q(de)j(m)o(ust)d(also)h(b)q +(e)i(a)e Fs(simple-array)p Fw(,)f(but)i(if)f(the)h(arra)o(y)0 +1042 y(in)d(the)g(source)h(co)q(de)g(is)f(displaced,)g(has)g(a)g +(\014ll)f(p)q(oin)o(ter,)h(or)g(is)g(adjustable,)f(the)i(corre-)0 +1094 y(sp)q(onding)f(arra)o(y)g(in)g(the)h(compiled)e(co)q(de)i(is)g(p) +q(ermitted)f(to)g(lac)o(k)g(an)o(y)g(or)g(all)f(of)h(these)0 +1146 y(qualities.)0 1248 y Fs(hash-table)0 1311 y Fw(Tw)o(o)k(hash)g +(tables)h(are)g(similar)c(as)k(constan)o(ts)g(if)f(they)g(meet)g(three) +i(requiremen)o(ts.)0 1363 y(First,)c(they)f(m)o(ust)f(ha)o(v)o(e)h(the) +h(same)e(test)i(\(for)f(example,)f(b)q(oth)h(are)h Fs(eql)e +Fw(hash)h(tables)0 1415 y(or)c(b)q(oth)h(are)g Fs(equal)e +Fw(hash)i(tables\).)18 b(Second,)13 b(there)h(m)o(ust)d(b)q(e)i(a)f +(unique)h(bijectiv)o(e)f(cor-)0 1467 y(resp)q(ondence)k(b)q(et)o(w)o +(een)g(the)e(k)o(eys)h(of)e(the)h(t)o(w)o(o)g(tables,)g(suc)o(h)g(that) +g(the)h(corresp)q(onding)0 1519 y(k)o(eys)h(are)f(similar)e(as)j +(constan)o(ts.)23 b(Third,)15 b(for)g(all)f(k)o(eys,)h(the)h(v)n(alues) +f(asso)q(ciated)h(with)0 1571 y(t)o(w)o(o)d(corresp)q(onding)i(k)o(eys) +g(m)o(ust)d(b)q(e)j(similar)c(as)j(constan)o(ts.)42 1623 +y(If)h(there)i(is)f(more)f(than)h(one)g(p)q(ossible)g(one-to-one)g +(corresp)q(ondence)j(b)q(et)o(w)o(een)e(the)0 1675 y(k)o(eys)e(of)e +(the)i(t)o(w)o(o)f(tables,)g(it)g(is)g(unsp)q(eci\014ed)i(whether)g +(the)f(t)o(w)o(o)f(tables)g(are)h(similar)d(as)0 1727 +y(constan)o(ts.)19 b(A)14 b(conforming)e(program)g(cannot)i(use)h(suc)o +(h)f(a)g(table)g(as)g(a)f(constan)o(t.)0 1829 y Fs(pathname)0 +1892 y Fw(Tw)o(o)h(pathnames)g(are)h(similar)d(as)j(constan)o(ts)g(if)f +(all)f(corresp)q(onding)j(pathname)d(com-)0 1944 y(p)q(onen)o(ts)i(are) +f(similar)d(as)j(constan)o(ts.)0 2046 y Fs(stream)p Fw(,)e +Fs(readtable)p Fw(,)g(and)h Fs(method)0 2109 y Fw(Ob)r(jects)j(of)d +(these)i(t)o(yp)q(es)g(are)f(not)g(supp)q(orted)h(in)f(compiled)e +(constan)o(ts.)0 2211 y Fs(function)0 2277 y Fw(X3J13)j(v)o(oted)g(in)g +(June)h(1989)e Ft(h)p Fw(35)p Ft(i)h Fw(to)g(sp)q(ecify)g(that)g(ob)r +(jects)i(of)d(t)o(yp)q(e)i Fs(function)d Fw(are)0 2329 +y(not)h(supp)q(orted)h(in)e(compiled)g(constan)o(ts.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 751 775 +751 774 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MISCELLANEOUS)13 +b(FEA)m(TURES)828 b(751)0 295 y Fs(structure)12 b Fw(and)i +Fs(standard-object)0 360 y Fw(X3J13)c(v)o(oted)h(in)f(Marc)o(h)g(1989)g +Ft(h)p Fw(110)p Ft(i)g Fw(to)g(in)o(tro)q(duce)h(a)f(facilit)o(y)f +(based)i(on)f(the)h(Common)0 412 y(Lisp)i(Ob)r(ject)i(System)d(whereb)o +(y)j(a)d(user)j(can)e(sp)q(ecify)h(ho)o(w)f Fs(compile-file)e +Fw(and)i Fs(load)0 464 y Fw(m)o(ust)d(co)q(op)q(erate)j(to)e +(reconstruct)j(compile-tim)o(e)9 b(constan)o(t)j(ob)r(jects)g(at)f +(load)f(time)g(\(see)0 516 y Fs(make-load-form)p Fw(\).)42 +618 y(X3J13)j(v)o(oted)h(in)g(Marc)o(h)g(1989)f Ft(h)p +Fw(33)p Ft(i)h Fw(to)g(sp)q(ecify)g(the)h(circumstances)g(under)g(whic) +o(h)0 670 y(constan)o(ts)g(ma)o(y)d(b)q(e)i(coalesced)h(in)f(compiled)e +(co)q(de.)42 722 y(Supp)q(ose)k Fv(A)g Fw(and)g Fv(B)21 +b Fw(are)16 b(t)o(w)o(o)g(ob)r(jects)h(used)g(as)f(quoted)g(constan)o +(ts)h(in)f(the)g(source)0 774 y(co)q(de,)d(and)g(that)f +Fv(A)305 758 y Fl(0)329 774 y Fw(and)g Fv(B)441 758 y +Fl(0)466 774 y Fw(are)h(the)g(corresp)q(onding)h(ob)r(jects)f(in)f(the) +h(compiled)e(co)q(de.)0 825 y(If)k Fv(A)74 810 y Fl(0)100 +825 y Fw(and)g Fv(B)215 810 y Fl(0)242 825 y Fw(are)h +Fs(eql)e Fw(but)i Fv(A)f Fw(and)f Fv(B)20 b Fw(w)o(ere)c(not)f +Fs(eql)p Fw(,)f(then)i(w)o(e)f(sa)o(y)g(that)g Fv(A)g +Fw(and)g Fv(B)0 877 y Fw(ha)o(v)o(e)f(b)q(een)h Fv(c)n(o)n(alesc)n(e)n +(d)f Fw(b)o(y)f(the)i(compiler.)42 929 y(An)d(implemen)o(tation)e(is)i +(p)q(ermitted)h(to)g(coalesce)h(constan)o(ts)f(app)q(earing)g(in)f(co)q +(de)i(to)0 981 y(b)q(e)f(compiled)d(if)h(and)h(only)f(if)g(they)i(are)f +(similar)e(as)i(constan)o(ts,)h(except)g(that)f(ob)r(jects)h(of)0 +1033 y(t)o(yp)q(e)f Fs(symbol)p Fw(,)f Fs(package)p Fw(,)f +Fs(structure)p Fw(,)g(or)i Fs(standard-object)d Fw(ob)q(ey)j(their)h(o) +o(wn)e(rules)0 1085 y(and)j(ma)o(y)e(not)h(b)q(e)i(coalesced)g(b)o(y)f +(a)f(separate)i(mec)o(hanism.)p 0 1145 V 0 1205 a Fm(Rationale:)k +FA(Ob)r(jects)14 b(of)g(t)o(yp)q(e)h Fj(symbol)c FA(and)k +Fj(package)c FA(cannot)k(b)q(e)g(coalesced)g(b)q(ecause)g(the)0 +1251 y(fact)c(that)h(they)g(are)f(named,)h(in)o(terned)h(ob)r(jects)f +(means)g(they)g(are)g(already)h(as)e(coalesced)j(as)d(it)0 +1296 y(is)j(useful)h(for)f(them)f(to)h(b)q(e.)19 b(Unin)o(terned)d(sym) +o(b)q(ols)f(could)g(p)q(erhaps)g(b)q(e)f(coalesced,)h(but)f(that)0 +1342 y(w)o(as)i(though)o(t)i(to)f(b)q(e)g(more)f(dangerous)j(than)e +(useful.)29 b(Structures)18 b(and)f(ob)r(jects)g(could)h(b)q(e)0 +1388 y(coalesced)c(if)e(a)g(\\similar)i(as)e(a)g(constan)o(t")h +(predicate)h(w)o(ere)e(de\014ned)h(for)f(them;)g(it)g(w)o(ould)h(b)q(e) +g(a)0 1433 y(generic)j(function.)22 b(Ho)o(w)o(ev)o(er,)14 +b(at)h(presen)o(t)g(there)g(is)g(no)f(suc)o(h)h(predicate.)23 +b(Curren)o(tly)16 b Fj(make-)0 1479 y(load-form)11 b +FA(pro)o(vides)16 b(a)e(proto)q(col)i(b)o(y)e(whic)o(h)i +Fj(compile-)o(fil)o(e)11 b FA(and)k Fj(load)e FA(w)o(ork)h(together)h +(to)0 1525 y(construct)j(an)g(ob)r(ject)g(in)g(the)g(compiled)i(co)q +(de)e(that)f(is)h(equiv)n(alen)o(t)i(to)e(the)f(ob)r(ject)h(in)g(the)0 +1570 y(source)c(co)q(de;)f(a)g(di\013eren)o(t)h(mec)o(hanism)h(w)o +(ould)f(ha)o(v)o(e)f(to)g(b)q(e)h(added)g(to)f(p)q(ermit)h(coalescing.) +p 0 1605 V 42 1677 a Fw(Note)e(that)f(coalescing)h(is)f(p)q(ossible)h +(only)f(b)q(ecause)i(it)e(is)h(forbidden)f(to)h(destructiv)o(ely)0 +1729 y(mo)q(dify)g(constan)o(ts)i Ft(h)p Fw(36)p Ft(i)g +Fw(\(see)h Fs(quote)p Fw(\).)42 1781 y(X3J13)d(v)o(oted)h(in)g(Marc)o +(h)h(1989)e Ft(h)p Fw(32)p Ft(i)g Fw(to)h(sp)q(ecify)h(that)f(ob)r +(jects)h(con)o(taining)e(circular)0 1833 y(or)k(in\014nitely)g +(recursiv)o(e)h(references)i(ma)o(y)c(legitimately)e(app)q(ear)k(as)f +(constan)o(ts)h(to)f(b)q(e)0 1884 y(compiled.)37 b(The)21 +b(compiler)e(is)i(required)g(to)g(preserv)o(e)i Fs(eql)p +Fw(-ness)e(of)f(substructures)0 1936 y(within)13 b(a)h(\014le)g +(compiled)e(b)o(y)i Fs(compile-file)p Fw(.)-33 1948 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2087 a Fo(25.2.)20 b(Do)r(cumen)n(tation)-38 +2057 y Fk(.)-38 2070 y(.)-38 2083 y(.)-38 2096 y(.)-38 +2109 y(.)-38 2122 y(.)-38 2134 y(.)-38 2147 y(.)-38 2160 +y(.)-38 2173 y(.)-38 2186 y(.)-38 2199 y(.)-38 2212 y(.)-38 +2225 y(.)-38 2238 y(.)-38 2251 y(.)-38 2264 y(.)-38 2277 +y(.)-38 2290 y(.)-38 2303 y(.)-38 2316 y(.)-38 2329 y(.)-38 +2342 y(.)-38 2355 y(.)-38 2368 y(.)-38 2381 y(.)-38 2394 +y(.)-38 2407 y(.)-38 2420 y(.)-38 2433 y(.)-38 2446 y(.)-38 +2459 y(.)-38 2472 y(.)-38 2485 y(.)-38 2498 y(.)-38 2511 +y(.)-38 2524 y(.)-38 2537 y(.)-38 2550 y(.)-38 2563 y(.)-38 +2576 y(.)-38 2589 y(.)-38 2601 y(.)-38 2614 y(.)-38 2627 +y(.)-38 2640 y(.)-38 2653 y(.)-38 2666 y(.)-38 2679 y(.)-38 +2692 y(.)-38 2705 y(.)-38 2718 y(.)-38 2731 y(.)-38 2744 +y(.)-38 2757 y(.)-38 2770 y(.)-38 2783 y(.)-38 2796 y(.)-38 +2809 y(.)-38 2822 y(.)-38 2835 y(.)-38 2848 y(.)-38 2861 +y(.)-38 2874 y(.)-38 2887 y(.)-38 2900 y(.)-38 2913 y(.)-38 +2926 y(.)-38 2939 y(.)-38 2952 y(.)-38 2965 y(.)-38 2978 +y(.)-38 2991 y(.)-38 3004 y(.)-38 3017 y(.)-38 3030 y(.)-38 +3043 y(.)-38 3055 y(.)-38 3068 y(.)-38 3081 y(.)-38 3094 +y(.)-38 3107 y(.)-38 3120 y(.)-38 3133 y(.)-38 3146 y(.)-38 +3159 y(.)-38 3172 y(.)-38 3185 y(.)-38 3198 y(.)-38 3211 +y(.)-38 3224 y(.)-38 3237 y(.)-38 3250 y(.)-38 3263 y(.)-38 +3276 y(.)-38 3289 y(.)-38 3302 y(.)-38 3315 y(.)-38 3328 +y(.)-38 3341 y(.)-38 3354 y(.)-38 3367 y(.)-38 3380 y(.)-38 +3393 y(.)-38 3406 y(.)-38 3419 y(.)-38 3432 y(.)-38 3445 +y(.)-38 3458 y(.)-38 3471 y(.)-38 3484 y(.)-38 3497 y(.)-38 +3510 y(.)-38 3522 y(.)-38 3535 y(.)-38 3548 y(.)-38 3561 +y(.)-38 3574 y(.)-38 3587 y(.)-38 3600 y(.)-38 3613 y(.)-38 +3626 y(.)-38 3639 y(.)-38 3652 y(.)-38 3665 y(.)-38 3678 +y(.)-38 3691 y(.)-38 3704 y(.)-38 3717 y(.)-38 3730 y(.)-38 +3743 y(.)-38 3756 y(.)-38 3769 y(.)-38 3782 y(.)-38 3795 +y(.)-38 3808 y(.)-38 3821 y(.)-38 3834 y(.)-38 3847 y(.)-38 +3860 y(.)-38 3873 y(.)-38 3886 y(.)-38 3899 y(.)-38 3912 +y(.)-38 3925 y(.)-38 3938 y(.)-38 3951 y(.)-38 3964 y(.)-38 +3977 y(.)-38 3989 y(.)-38 4002 y(.)-38 4015 y(.)-38 4028 +y(.)-38 4041 y(.)-38 4054 y(.)-38 4067 y(.)-38 4080 y(.)-38 +4093 y(.)-38 4106 y(.)-38 4119 y(.)-38 4132 y(.)-38 4145 +y(.)-38 4158 y(.)-38 4171 y(.)-38 4184 y(.)-38 4197 y(.)-38 +4210 y(.)-38 4223 y(.)-38 4236 y(.)-38 4249 y(.)-38 4262 +y(.)-38 4275 y(.)-38 4288 y(.)-38 4301 y(.)-38 4314 y(.)-38 +4327 y(.)-38 4340 y(.)-38 4353 y(.)-38 4366 y(.)-38 4379 +y(.)-38 4392 y(.)-38 4405 y(.)-38 4418 y(.)-38 4431 y(.)-38 +4444 y(.)-38 4456 y(.)-38 4469 y(.)-38 4482 y(.)-38 4495 +y(.)-38 4508 y(.)-38 4521 y(.)-38 4534 y(.)-38 4547 y(.)-38 +4560 y(.)-38 4573 y(.)-38 4586 y(.)-38 4599 y(.)-38 4612 +y(.)-38 4625 y(.)-38 4638 y(.)0 2173 y Fw(A)14 b(simple)f(facilit)o(y)f +(is)i(pro)o(vided)g(for)g(attac)o(hing)g(strings)g(to)g(sym)o(b)q(ols)f +(for)h(the)h(purp)q(ose)0 2225 y(of)e(on-line)g(do)q(cumen)o(tation.)k +(Rather)d(than)f(using)h(the)g(prop)q(ert)o(y)g(list)g(of)f(the)h(sym)o +(b)q(ol,)0 2277 y(a)g(separate)i(function)f Fs(documentation)d +Fw(is)j(pro)o(vided)f(so)h(that)g(implemen)o(tatio)o(ns)e(can)0 +2329 y(optimize)f(the)j(storage)f(of)f(do)q(cumen)o(tation)g(strings.) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 752 776 +752 775 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(752)77 b(COMMON)13 b(LISP)1209 295 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(documentation)18 b Fv(symb)n(ol)26 +b(do)n(c)p Fs(-)p Fv(typ)n(e)0 373 y Fw(This)10 b(function)f(returns)i +(the)f(do)q(cumen)o(tation)f(string)h(of)f(t)o(yp)q(e)h +Fv(do)n(c-typ)n(e)g Fw(for)f(the)h Fv(symb)n(ol)p Fw(,)0 +425 y(or)j Fs(nil)f Fw(if)g(none)i(exists.)k(Both)13 +b(argumen)o(ts)g(m)o(ust)f(b)q(e)h(sym)o(b)q(ols.)j(Some)c(kinds)h(of)f +(do)q(cu-)0 477 y(men)o(tation)h(are)i(pro)o(vided)g(automatically)d(b) +o(y)i(certain)i(Commo)o(n)c(Lisp)j(constructs)i(if)0 +529 y(the)d(user)h(writes)g(an)f(optional)e(do)q(cumen)o(tation)h +(string)h(within)f(them:)0 627 y(Construct)182 b(Do)q(cumen)o(tation)12 +b(T)o(yp)q(e)p 0 645 747 2 v 0 694 a Fs(defvar)229 b(variable)0 +746 y(defparameter)97 b(variable)0 798 y(defconstant)119 +b(variable)0 849 y(defun)251 b(function)0 901 y(defmacro)185 +b(function)0 953 y(defstruct)163 b(structure)0 1005 y(deftype)207 +b(type)0 1057 y(defsetf)g(setf)p 0 1074 V -38 1034 a +Fk(.)-38 1047 y(.)-38 1060 y(.)-38 1073 y(.)-38 1086 +y(.)-38 1098 y(.)-38 1111 y(.)-38 1124 y(.)-38 1137 y(.)-38 +1150 y(.)-38 1163 y(.)-38 1176 y(.)-38 1189 y(.)-38 1202 +y(.)-38 1215 y(.)-38 1228 y(.)-38 1241 y(.)-38 1254 y(.)-38 +1267 y(.)-38 1280 y(.)-38 1293 y(.)-38 1306 y(.)-38 1319 +y(.)-38 1332 y(.)-38 1345 y(.)-38 1358 y(.)-38 1371 y(.)-38 +1384 y(.)-38 1397 y(.)-38 1410 y(.)-38 1423 y(.)-38 1436 +y(.)-38 1449 y(.)-38 1462 y(.)-38 1475 y(.)-38 1488 y(.)-38 +1501 y(.)-38 1514 y(.)-38 1527 y(.)-38 1540 y(.)-38 1553 +y(.)-38 1565 y(.)-38 1578 y(.)-38 1591 y(.)-38 1604 y(.)-38 +1617 y(.)-38 1630 y(.)-38 1643 y(.)-38 1656 y(.)-38 1669 +y(.)-38 1682 y(.)-38 1695 y(.)-38 1708 y(.)-38 1721 y(.)-38 +1734 y(.)-38 1747 y(.)-38 1760 y(.)-38 1773 y(.)-38 1786 +y(.)-38 1799 y(.)-38 1812 y(.)-38 1825 y(.)-38 1838 y(.)-38 +1851 y(.)-38 1864 y(.)-38 1877 y(.)-38 1890 y(.)-38 1903 +y(.)-38 1916 y(.)-38 1929 y(.)-38 1942 y(.)-38 1955 y(.)-38 +1968 y(.)-38 1981 y(.)-38 1994 y(.)-38 2007 y(.)-38 2020 +y(.)-38 2032 y(.)-38 2045 y(.)-38 2058 y(.)-38 2071 y(.)-38 +2084 y(.)-38 2097 y(.)-38 2110 y(.)-38 2123 y(.)-38 2136 +y(.)-38 2149 y(.)-38 2162 y(.)-38 2175 y(.)-38 2188 y(.)-38 +2201 y(.)-38 2214 y(.)-38 2227 y(.)-38 2240 y(.)-38 2253 +y(.)-38 2266 y(.)-38 2279 y(.)-38 2292 y(.)-38 2305 y(.)-38 +2318 y(.)-38 2331 y(.)-38 2344 y(.)-38 2357 y(.)-38 2370 +y(.)-38 2383 y(.)-38 2396 y(.)-38 2409 y(.)-38 2422 y(.)-38 +2435 y(.)-38 2448 y(.)-38 2461 y(.)-38 2474 y(.)-38 2487 +y(.)-38 2499 y(.)-38 2512 y(.)-38 2525 y(.)-38 2538 y(.)-38 +2551 y(.)-38 2564 y(.)-38 2577 y(.)-38 2590 y(.)-38 2603 +y(.)-38 2616 y(.)-38 2629 y(.)-38 2642 y(.)-38 2655 y(.)-38 +2668 y(.)-38 2681 y(.)-38 2694 y(.)-38 2707 y(.)-38 2720 +y(.)-38 2733 y(.)-38 2746 y(.)-38 2759 y(.)-38 2772 y(.)-38 +2785 y(.)-38 2798 y(.)-38 2811 y(.)-38 2824 y(.)-38 2837 +y(.)-38 2850 y(.)-38 2863 y(.)-38 2876 y(.)-38 2889 y(.)-38 +2902 y(.)-38 2915 y(.)-38 2928 y(.)-38 2941 y(.)-38 2954 +y(.)-38 2966 y(.)-38 2979 y(.)-38 2992 y(.)-38 3005 y(.)-38 +3018 y(.)-38 3031 y(.)-38 3044 y(.)-38 3057 y(.)-38 3070 +y(.)-38 3083 y(.)-38 3096 y(.)-38 3109 y(.)-38 3122 y(.)-38 +3135 y(.)-38 3148 y(.)-38 3161 y(.)-38 3174 y(.)-38 3187 +y(.)-38 3200 y(.)-38 3213 y(.)-38 3226 y(.)-38 3239 y(.)-38 +3252 y(.)-38 3265 y(.)-38 3278 y(.)-38 3291 y(.)-38 3304 +y(.)-38 3317 y(.)-38 3330 y(.)-38 3343 y(.)-38 3356 y(.)-38 +3369 y(.)-38 3382 y(.)-38 3395 y(.)-38 3408 y(.)-38 3421 +y(.)-38 3433 y(.)-38 3446 y(.)-38 3459 y(.)-38 3472 y(.)-38 +3485 y(.)-38 3498 y(.)-38 3511 y(.)-38 3524 y(.)-38 3537 +y(.)-38 3550 y(.)-38 3563 y(.)-38 3576 y(.)-38 3589 y(.)-38 +3602 y(.)-38 3615 y(.)0 1155 y Fw(In)14 b(addition,)f(names)h(of)g(sp)q +(ecial)g(forms)f(ma)o(y)g(also)h(ha)o(v)o(e)g Fs(function)e +Fw(do)q(cumen)o(tation.)0 1207 y(\(Macros)i(and)g(sp)q(ecial)g(forms)e +(are)i(not)f(really)g(functions,)h(of)f(course,)h(but)g(it)f(is)h(con)o +(v)o(e-)0 1259 y(nien)o(t)g(to)g(group)f(them)g(with)h(functions)g(for) +g(do)q(cumen)o(tation)e(purp)q(oses.\))42 1313 y Fs(setf)g +Fw(ma)o(y)f(b)q(e)i(used)h(with)f Fs(documentation)d +Fw(to)j(up)q(date)h(do)q(cumen)o(tation)d(informa-)0 +1365 y(tion.)-33 1376 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1483 a(X3J13)16 b(v)o(oted)i(in)e(June)i(1988)f +Ft(h)p Fw(12)p Ft(i)f Fw(to)h(mak)o(e)f Fs(documentation)f +Fw(a)h(CLOS)i(generic)-33 1455 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1535 a(function)c(\(see)h(c)o(hapter)g(28\).)-33 +1547 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1589 a(X3J13)23 b(v)o(oted)h(in)g(Marc)o(h)g(1989)f +Ft(h)p Fw(89)p Ft(i)h Fw(to)f(extend)i Fs(documentation)d +Fw(to)h(accept)-33 1560 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1641 a(an)o(y)17 b(function-name)f(\(a)i(sym)o(b)q(ol)e +(or)i(a)f(list)h(whose)g Fv(c)n(ar)f Fw(is)h Fs(setf)p +Fw(|see)g(section)g(7.1\).)0 1693 y(Th)o(us)g(one)f(ma)o(y)f(write)i +Fs(\(documentation)716 1697 y Fn(')739 1693 y Fs(\(setf)i(cadr\))997 +1697 y Fn(')1021 1693 y Fs(function\))15 b Fw(to)j(deter-)0 +1744 y(mine)c(whether)j(there)g(is)f(an)o(y)f(do)q(cumen)o(tation)g +(for)g(a)g Fs(setf)g Fw(expansion)h(function)f(for)0 +1796 y Fs(cadr)p Fw(.)-33 1808 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2014 a Fo(25.3.)20 b(Debugging)15 b(T)-5 +b(o)r(ols)0 2121 y Fw(The)14 b(utilities)e(describ)q(ed)j(in)e(this)g +(section)h(are)g(su\016cien)o(tly)f(complex)f(and)h(su\016cien)o(tly)0 +2173 y(dep)q(enden)o(t)k(on)e(the)h(host)g(en)o(vironmen)o(t)e(that)i +(their)f(complete)g(de\014nition)g(is)g(b)q(ey)o(ond)0 +2225 y(the)h(scop)q(e)h(of)d(this)i(b)q(o)q(ok.)22 b(Ho)o(w)o(ev)o(er,) +16 b(they)f(are)h(also)f(su\016cien)o(tly)g(useful)h(to)f(w)o(arran)o +(t)0 2277 y(men)o(tion)i(here.)33 b(It)19 b(is)f(exp)q(ected)j(that)e +(ev)o(ery)g(implemen)o(tatio)o(n)d(will)h(pro)o(vide)i(some)0 +2329 y(v)o(ersion)14 b(of)f(these)j(utilities,)c(ho)o(w)o(ev)o(er)j +(clev)o(er)f(or)g(ho)o(w)o(ev)o(er)g(simple.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 753 777 +753 776 bop -38 272 a Fk(.)-38 285 y(.)-38 298 y(.)-38 +311 y(.)-38 324 y(.)-38 337 y(.)-38 350 y(.)-38 363 y(.)-38 +376 y(.)-38 389 y(.)-38 402 y(.)-38 415 y(.)-38 428 y(.)-38 +441 y(.)-38 454 y(.)-38 467 y(.)-38 480 y(.)-38 493 y(.)-38 +506 y(.)-38 519 y(.)-38 532 y(.)-38 545 y(.)-38 558 y(.)-38 +570 y(.)-38 583 y(.)-38 596 y(.)-38 609 y(.)-38 622 y(.)-38 +635 y(.)-38 648 y(.)-38 661 y(.)-38 674 y(.)-38 687 y(.)-38 +700 y(.)-38 713 y(.)-38 726 y(.)-38 739 y(.)-38 752 y(.)-38 +765 y(.)-38 778 y(.)-38 791 y(.)-38 804 y(.)-38 817 y(.)-38 +830 y(.)-38 843 y(.)-38 856 y(.)-38 869 y(.)-38 882 y(.)-38 +895 y(.)-38 908 y(.)-38 921 y(.)-38 934 y(.)-38 947 y(.)-38 +960 y(.)-38 973 y(.)-38 986 y(.)-38 999 y(.)-38 1012 +y(.)-38 1025 y(.)-38 1037 y(.)-38 1050 y(.)-38 1063 y(.)-38 +1076 y(.)-38 1089 y(.)-38 1102 y(.)-38 1115 y(.)-38 1128 +y(.)-38 1141 y(.)-38 1154 y(.)-38 1167 y(.)-38 1180 y(.)-38 +1193 y(.)-38 1206 y(.)-38 1219 y(.)-38 1232 y(.)-38 1245 +y(.)-38 1258 y(.)-38 1271 y(.)-38 1284 y(.)-38 1297 y(.)-38 +1310 y(.)-38 1323 y(.)-38 1336 y(.)-38 1349 y(.)-38 1362 +y(.)-38 1375 y(.)-38 1388 y(.)-38 1401 y(.)-38 1414 y(.)-38 +1427 y(.)-38 1440 y(.)-38 1453 y(.)-38 1466 y(.)-38 1479 +y(.)-38 1492 y(.)-38 1504 y(.)-38 1517 y(.)-38 1530 y(.)-38 +1543 y(.)-38 1556 y(.)-38 1569 y(.)-38 1582 y(.)-38 1595 +y(.)-38 1608 y(.)-38 1621 y(.)-38 1634 y(.)-38 1647 y(.)-38 +1660 y(.)-38 1673 y(.)-38 1686 y(.)-38 1699 y(.)-38 1712 +y(.)-38 1725 y(.)-38 1738 y(.)-38 1751 y(.)-38 1764 y(.)-38 +1777 y(.)-38 1790 y(.)-38 1803 y(.)-38 1816 y(.)-38 1829 +y(.)-38 1842 y(.)-38 1855 y(.)-38 1868 y(.)-38 1881 y(.)-38 +1894 y(.)-38 1907 y(.)-38 1920 y(.)-38 1933 y(.)-38 1946 +y(.)-38 1959 y(.)-38 1971 y(.)-38 1984 y(.)-38 1997 y(.)-38 +2010 y(.)-38 2023 y(.)-38 2036 y(.)-38 2049 y(.)-38 2062 +y(.)-38 2075 y(.)-38 2088 y(.)-38 2101 y(.)-38 2114 y(.)-38 +2127 y(.)-38 2140 y(.)-38 2153 y(.)-38 2166 y(.)-38 2179 +y(.)-38 2192 y(.)-38 2205 y(.)-38 2218 y(.)-38 2231 y(.)-38 +2244 y(.)-38 2257 y(.)-38 2270 y(.)-38 2283 y(.)-38 2296 +y(.)-38 2309 y(.)-38 2322 y(.)-38 2335 y(.)-38 2348 y(.)-38 +2361 y(.)-38 2374 y(.)-38 2387 y(.)-38 2400 y(.)-38 2413 +y(.)-38 2426 y(.)-38 2438 y(.)-38 2451 y(.)-38 2464 y(.)-38 +2477 y(.)-38 2490 y(.)-38 2503 y(.)-38 2516 y(.)-38 2529 +y(.)-38 2542 y(.)-38 2555 y(.)-38 2568 y(.)-38 2581 y(.)-38 +2594 y(.)-38 2607 y(.)-38 2620 y(.)-38 2633 y(.)-38 2646 +y(.)-38 2659 y(.)-38 2672 y(.)-38 2685 y(.)-38 2698 y(.)-38 +2711 y(.)-38 2724 y(.)-38 2737 y(.)-38 2750 y(.)-38 2763 +y(.)-38 2776 y(.)-38 2789 y(.)-38 2802 y(.)-38 2815 y(.)-38 +2828 y(.)-38 2841 y(.)-38 2854 y(.)p 0 114 598 2 v 0 +166 a Fy(MISCELLANEOUS)13 b(FEA)m(TURES)828 b(753)1255 +295 y Fw([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(trace)41 b +Ft(f)7 b Fv(function-name)p Ft(g)460 280 y Fl(\003)1255 +347 y Fw([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(untrace)40 +b Ft(f)7 b Fv(function-name)p Ft(g)503 332 y Fl(\003)0 +424 y Fw(In)o(v)o(oking)13 b Fs(trace)h Fw(with)g(one)h(or)f(more)g +(function-names)f(\(sym)o(b)q(ols\))h(causes)i(the)f(func-)-38 +399 y Fk(.)-38 412 y(.)-38 425 y(.)-38 438 y(.)-38 451 +y(.)-38 464 y(.)-38 477 y(.)-38 490 y(.)-38 503 y(.)-38 +516 y(.)-38 529 y(.)-38 542 y(.)-38 555 y(.)-38 568 y(.)-38 +581 y(.)-38 594 y(.)-38 607 y(.)-38 620 y(.)-38 633 y(.)-38 +646 y(.)-38 659 y(.)-38 671 y(.)-38 684 y(.)-38 697 y(.)-38 +710 y(.)-38 723 y(.)-38 736 y(.)-38 749 y(.)-38 762 y(.)-38 +775 y(.)-38 788 y(.)-38 801 y(.)-38 814 y(.)-38 827 y(.)-38 +840 y(.)-38 853 y(.)-38 866 y(.)-38 879 y(.)-38 892 y(.)-38 +905 y(.)-38 918 y(.)-38 931 y(.)-38 944 y(.)-38 957 y(.)-38 +970 y(.)-38 983 y(.)-38 996 y(.)-38 1009 y(.)-38 1022 +y(.)-38 1035 y(.)-38 1048 y(.)-38 1061 y(.)-38 1074 y(.)-38 +1087 y(.)-38 1100 y(.)-38 1113 y(.)-38 1126 y(.)-38 1138 +y(.)-38 1151 y(.)-38 1164 y(.)-38 1177 y(.)-38 1190 y(.)-38 +1203 y(.)-38 1216 y(.)-38 1229 y(.)-38 1242 y(.)-38 1255 +y(.)-38 1268 y(.)-38 1281 y(.)-38 1294 y(.)-38 1307 y(.)-38 +1320 y(.)-38 1333 y(.)-38 1346 y(.)-38 1359 y(.)-38 1372 +y(.)-38 1385 y(.)-38 1398 y(.)-38 1411 y(.)-38 1424 y(.)-38 +1437 y(.)-38 1450 y(.)-38 1463 y(.)-38 1476 y(.)-38 1489 +y(.)-38 1502 y(.)-38 1515 y(.)-38 1528 y(.)-38 1541 y(.)-38 +1554 y(.)-38 1567 y(.)-38 1580 y(.)-38 1593 y(.)-38 1605 +y(.)-38 1618 y(.)-38 1631 y(.)-38 1644 y(.)-38 1657 y(.)-38 +1670 y(.)-38 1683 y(.)-38 1696 y(.)-38 1709 y(.)-38 1722 +y(.)-38 1735 y(.)-38 1748 y(.)-38 1761 y(.)-38 1774 y(.)-38 +1787 y(.)-38 1800 y(.)-38 1813 y(.)-38 1826 y(.)-38 1839 +y(.)-38 1852 y(.)-38 1865 y(.)-38 1878 y(.)-38 1891 y(.)-38 +1904 y(.)-38 1917 y(.)-38 1930 y(.)-38 1943 y(.)-38 1956 +y(.)-38 1969 y(.)-38 1982 y(.)-38 1995 y(.)-38 2008 y(.)-38 +2021 y(.)-38 2034 y(.)-38 2047 y(.)-38 2060 y(.)-38 2072 +y(.)-38 2085 y(.)-38 2098 y(.)-38 2111 y(.)-38 2124 y(.)-38 +2137 y(.)-38 2150 y(.)-38 2163 y(.)-38 2176 y(.)-38 2189 +y(.)-38 2202 y(.)-38 2215 y(.)-38 2228 y(.)-38 2241 y(.)-38 +2254 y(.)-38 2267 y(.)-38 2280 y(.)-38 2293 y(.)-38 2306 +y(.)-38 2319 y(.)-38 2332 y(.)-38 2345 y(.)-38 2358 y(.)-38 +2371 y(.)-38 2384 y(.)-38 2397 y(.)-38 2410 y(.)-38 2423 +y(.)-38 2436 y(.)-38 2449 y(.)-38 2462 y(.)-38 2475 y(.)-38 +2488 y(.)-38 2501 y(.)-38 2514 y(.)-38 2527 y(.)-38 2539 +y(.)-38 2552 y(.)-38 2565 y(.)-38 2578 y(.)-38 2591 y(.)-38 +2604 y(.)-38 2617 y(.)-38 2630 y(.)-38 2643 y(.)-38 2656 +y(.)-38 2669 y(.)-38 2682 y(.)-38 2695 y(.)-38 2708 y(.)-38 +2721 y(.)-38 2734 y(.)-38 2747 y(.)-38 2760 y(.)-38 2773 +y(.)-38 2786 y(.)-38 2799 y(.)-38 2812 y(.)-38 2825 y(.)-38 +2838 y(.)-38 2851 y(.)-38 2864 y(.)-38 2877 y(.)-38 2890 +y(.)-38 2903 y(.)-38 2916 y(.)-38 2929 y(.)-38 2942 y(.)-38 +2955 y(.)-38 2968 y(.)-38 2981 y(.)0 476 y Fw(tions)g(named)g(to)g(b)q +(e)h(traced.)24 b(Henceforth,)17 b(whenev)o(er)g(suc)o(h)f(a)f +(function)h(is)f(in)o(v)o(ok)o(ed,)0 528 y(information)8 +b(ab)q(out)i(the)i(call,)e(the)h(argumen)o(ts)f(passed,)i(and)f(the)g +(ev)o(en)o(tually)f(returned)0 580 y(v)n(alues,)21 b(if)e(an)o(y)m(,)h +(will)e(b)q(e)j(prin)o(ted)f(to)g(the)g(stream)g(that)f(is)h(the)h(v)n +(alue)e(of)g Fs(*trace-)0 632 y(output*)p Fw(.)e(F)m(or)c(example:)-33 +643 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 720 a Fs(\(trace)20 b(fft)g(gcd)h(string-upcase\))0 +808 y Fw(If)11 b(a)g(function)f(call)h(is)g(op)q(en-co)q(ded)h(\(p)q +(ossibly)f(as)g(a)g(result)h(of)f(an)f Fs(inline)g Fw(declaration\),)0 +860 y(then)15 b(suc)o(h)f(a)g(call)f(ma)o(y)f(not)i(pro)q(duce)h(trace) +g(output.)42 913 y(In)o(v)o(oking)e Fs(untrace)h Fw(with)h(one)g(or)g +(more)f(function)h(names)f(will)g(cause)i(those)g(func-)0 +964 y(tions)e(not)f(to)h(b)q(e)h(traced)g(an)o(y)e(more.)42 +1017 y(T)m(racing)i(an)h(already)g(traced)i(function,)e(or)g(un)o +(tracing)g(a)g(function)h(not)f(curren)o(tly)0 1069 y(b)q(eing)f +(traced,)h(should)f(pro)q(duce)h(no)f(harmful)d(e\013ects)17 +b(but)f(ma)o(y)d(pro)q(duce)j(a)f(w)o(arning)0 1120 y(message.)42 +1173 y(Calling)f Fs(trace)h Fw(with)h(no)g(argumen)o(t)f(forms)g(will)f +(return)k(a)e(list)f(of)h(functions)g(cur-)0 1225 y(ren)o(tly)e(b)q +(eing)g(traced.)42 1277 y(Calling)j Fs(untrace)h Fw(with)g(no)h +(argumen)o(t)g(forms)e(will)h(cause)i(all)e(curren)o(tly)j(traced)0 +1329 y(functions)14 b(to)g(b)q(e)g(no)g(longer)f(traced.)42 +1381 y(X3J13)c(v)o(oted)h(in)g(Marc)o(h)g(1989)f Ft(h)p +Fw(89)p Ft(i)h Fw(to)g(extend)h Fs(trace)e Fw(and)h Fs(untrace)e +Fw(to)i(accept)h(an)o(y)-33 1353 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1433 a(function-name)i(\(a)i(sym)o(b)q(ol)e(or)i(a)g +(list)f(whose)i Fv(c)n(ar)f Fw(is)f Fs(setf)p Fw(|see)h(section)h +(7.1\).)k(Th)o(us)0 1485 y(one)d(ma)o(y)e(write)i Fs(\(trace)j(\(setf)g +(cadr\)\))c Fw(to)h(trace)h(the)f Fs(setf)f Fw(expansion)h(function)0 +1537 y(for)d Fs(cadr)p Fw(.)-33 1548 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1589 a(X3J13)19 b(v)o(oted)i(in)f(Jan)o(uary)g(1989)f +Ft(h)p Fw(156)p Ft(i)h Fw(to)g(sp)q(ecify)h(that)f(the)h(v)n(alues)f +(returned)-33 1560 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1641 a(b)o(y)j Fs(trace)f Fw(and)h Fs(untrace)f +Fw(when)i(giv)o(en)f(argumen)o(t)f(forms)g(are)h(implemen)o(tation-)0 +1693 y(dep)q(enden)o(t.)-33 1704 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1745 a Fs(trace)13 b Fw(and)h Fs(untrace)e +Fw(ma)o(y)g(also)i(accept)h(additional)e(implem)o(en)o(tation-dep)q +(enden)o(t)0 1797 y(argumen)o(t)24 b(formats.)51 b(The)25 +b(format)e(of)i(the)h(trace)g(output)f(is)g(implemen)o(tation-)0 +1849 y(dep)q(enden)o(t.)1255 1992 y([)p Fv(Macr)n(o)s +Fw(])-1396 b Fs(step)34 b Fv(form)0 2069 y Fw(This)19 +b(ev)n(aluates)g Fv(form)g Fw(and)f(returns)j(what)e +Fv(form)g Fw(returns.)35 b(Ho)o(w)o(ev)o(er,)20 b(the)g(user)g(is)0 +2121 y(allo)o(w)o(ed)12 b(to)h(in)o(teractiv)o(ely)g(\\single-step")g +(through)h(the)g(ev)n(aluation)d(of)i Fv(form)p Fw(,)f(at)i(least)0 +2173 y(through)f(those)i(ev)n(aluation)d(steps)i(that)g(are)f(p)q +(erformed)g(in)o(terpretiv)o(ely)m(.)18 b(The)c(nature)0 +2225 y(of)j(the)i(in)o(teraction)f(is)g(implemen)o(tation-)o(dep)q +(enden)o(t.)30 b(Ho)o(w)o(ev)o(er,)19 b(implemen)o(tatio)o(ns)0 +2277 y(are)13 b(encouraged)h(to)e(resp)q(ond)i(to)f(the)g(t)o(yping)f +(of)g(the)i(c)o(haracter)g Fs(?)e Fw(b)o(y)h(pro)o(viding)e(help,)0 +2329 y(including)i(a)g(list)h(of)f(commands.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 754 778 +754 777 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(754)77 b(COMMON)13 +b(LISP)42 295 y Fw(X3J13)g(v)o(oted)h(in)f(Jan)o(uary)h(1989)e +Ft(h)p Fw(166)p Ft(i)i Fw(to)f(clarify)g(that)h Fs(step)f +Fw(ev)n(aluates)g(its)h(argu-)-33 266 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(men)o(t)c Fv(form)g Fw(in)h(the)g(curren)o(t)i +(lexical)d(en)o(vironmen)o(t)g(\(not)h(simply)e(a)h(n)o(ull)g(en)o +(vironmen)o(t\),)0 399 y(and)h(that)g(calls)f(to)h Fs(step)f +Fw(ma)o(y)f(b)q(e)i(compiled,)f(in)g(whic)o(h)h(case)h(an)e(implemen)o +(tation)e(ma)o(y)0 450 y(step)13 b(through)e(only)g(those)h(parts)g(of) +f(the)i(ev)n(aluation)d(that)h(are)h(in)o(terpreted.)19 +b(\(In)12 b(other)0 502 y(w)o(ords,)h(the)g Fv(form)f +Fw(itself)g(is)g(unlik)o(ely)g(to)g(b)q(e)h(stepp)q(ed,)h(but)f(if)f +(executing)h(it)f(happ)q(ens)i(to)0 554 y(in)o(v)o(ok)o(e)f(in)o +(terpreted)j(co)q(de,)e(then)g(that)g(co)q(de)h(ma)o(y)d(b)q(e)i(stepp) +q(ed.\))-33 566 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1255 703 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(time)34 b Fv(form)0 780 y Fw(This)12 b(ev)n(aluates)g +Fv(form)g Fw(and)g(returns)h(what)f Fv(form)g Fw(returns.)19 +b(Ho)o(w)o(ev)o(er,)12 b(as)g(a)g(side)h(e\013ect,)0 +832 y(v)n(arious)c(timing)f(data)i(and)g(other)h(information)c(are)j +(prin)o(ted)h(to)f(the)g(stream)g(that)g(is)g(the)0 884 +y(v)n(alue)j(of)g Fs(*trace-output*)p Fw(.)i(The)f(nature)h(and)e +(format)f(of)h(the)i(prin)o(ted)f(information)0 936 y(is)j(implemen)o +(tati)o(on-dep)q(enden)o(t.)26 b(Ho)o(w)o(ev)o(er,)18 +b(implemen)o(tati)o(ons)d(are)i(encouraged)h(to)0 988 +y(pro)o(vide)i(suc)o(h)i(information)c(as)i(elapsed)h(real)g(time,)g +(mac)o(hine)e(run)i(time,)f(storage)0 1040 y(managemen)o(t)11 +b(statistics,)j(and)g(so)g(on.)p 0 1100 V 0 1160 a Fm(Compatibilit)o(y) +f(note:)19 b FA(This)14 b(facilit)o(y)i(is)e(inspired)i(b)o(y)e(the)g +(In)o(terlisp)h(facilit)o(y)h(of)d(the)h(same)0 1206 +y(name.)j(Note)11 b(that)g(the)g(MacLisp/Lisp)j(Mac)o(hine)f(Lisp)f +(function)g Fj(time)d FA(do)q(es)j(something)h(else)0 +1252 y(en)o(tirely)m(,)h(namely)h(return)e(a)g(quan)o(tit)o(y)i +(indicating)h(relativ)o(e)f(elapsed)f(real)g(time.)p +0 1291 V 42 1391 a Fw(X3J13)f(v)o(oted)h(in)f(Jan)o(uary)h(1989)e +Ft(h)p Fw(166)p Ft(i)i Fw(to)f(clarify)g(that)h Fs(time)f +Fw(ev)n(aluates)g(its)h(argu-)-33 1363 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1443 a(men)o(t)c Fv(form)g Fw(in)h(the)g(curren)o(t)i +(lexical)d(en)o(vironmen)o(t)g(\(not)h(simply)e(a)h(n)o(ull)g(en)o +(vironmen)o(t\),)0 1495 y(and)k(that)g(calls)f(to)h Fs(time)f +Fw(ma)o(y)f(b)q(e)i(compiled.)-33 1507 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1644 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(describe)20 b Fv(obje)n(ct)-38 1619 y Fk(.)-38 1632 +y(.)-38 1645 y(.)-38 1658 y(.)-38 1671 y(.)-38 1684 y(.)-38 +1697 y(.)-38 1710 y(.)-38 1723 y(.)-38 1736 y(.)-38 1749 +y(.)-38 1762 y(.)-38 1775 y(.)-38 1788 y(.)-38 1801 y(.)-38 +1814 y(.)-38 1826 y(.)-38 1839 y(.)-38 1852 y(.)-38 1865 +y(.)-38 1878 y(.)-38 1891 y(.)-38 1904 y(.)-38 1917 y(.)-38 +1930 y(.)-38 1943 y(.)-38 1956 y(.)-38 1969 y(.)-38 1982 +y(.)-38 1995 y(.)-38 2008 y(.)-38 2021 y(.)-38 2034 y(.)-38 +2047 y(.)-38 2060 y(.)-38 2073 y(.)-38 2086 y(.)-38 2099 +y(.)-38 2112 y(.)-38 2125 y(.)-38 2138 y(.)-38 2151 y(.)-38 +2164 y(.)-38 2177 y(.)-38 2190 y(.)-38 2203 y(.)-38 2216 +y(.)-38 2229 y(.)-38 2242 y(.)-38 2255 y(.)-38 2268 y(.)-38 +2281 y(.)-38 2293 y(.)-38 2306 y(.)-38 2319 y(.)-38 2332 +y(.)-38 2345 y(.)-38 2358 y(.)-38 2371 y(.)-38 2384 y(.)-38 +2397 y(.)-38 2410 y(.)-38 2423 y(.)-38 2436 y(.)-38 2449 +y(.)-38 2462 y(.)-38 2475 y(.)-38 2488 y(.)-38 2501 y(.)-38 +2514 y(.)-38 2527 y(.)-38 2540 y(.)-38 2553 y(.)-38 2566 +y(.)-38 2579 y(.)-38 2592 y(.)-38 2605 y(.)-38 2618 y(.)-38 +2631 y(.)-38 2644 y(.)-38 2657 y(.)-38 2670 y(.)-38 2683 +y(.)-38 2696 y(.)-38 2709 y(.)-38 2722 y(.)-38 2735 y(.)-38 +2748 y(.)-38 2760 y(.)-38 2773 y(.)-38 2786 y(.)-38 2799 +y(.)-38 2812 y(.)-38 2825 y(.)-38 2838 y(.)-38 2851 y(.)-38 +2864 y(.)-38 2877 y(.)-38 2890 y(.)-38 2903 y(.)-38 2916 +y(.)-38 2929 y(.)-38 2942 y(.)-38 2955 y(.)-38 2968 y(.)-38 +2981 y(.)-38 2994 y(.)-38 3007 y(.)-38 3020 y(.)-38 3033 +y(.)-38 3046 y(.)-38 3059 y(.)-38 3072 y(.)-38 3085 y(.)-38 +3098 y(.)-38 3111 y(.)-38 3124 y(.)-38 3137 y(.)-38 3150 +y(.)-38 3163 y(.)-38 3176 y(.)-38 3189 y(.)-38 3202 y(.)-38 +3215 y(.)-38 3227 y(.)-38 3240 y(.)-38 3253 y(.)-38 3266 +y(.)-38 3279 y(.)-38 3292 y(.)-38 3305 y(.)-38 3318 y(.)-38 +3331 y(.)-38 3344 y(.)-38 3357 y(.)-38 3370 y(.)-38 3383 +y(.)-38 3396 y(.)-38 3409 y(.)-38 3422 y(.)-38 3435 y(.)-38 +3448 y(.)-38 3461 y(.)-38 3474 y(.)-38 3487 y(.)-38 3500 +y(.)-38 3513 y(.)-38 3526 y(.)-38 3539 y(.)-38 3552 y(.)-38 +3565 y(.)-38 3578 y(.)-38 3591 y(.)-38 3604 y(.)-38 3617 +y(.)-38 3630 y(.)-38 3643 y(.)-38 3656 y(.)-38 3669 y(.)-38 +3682 y(.)-38 3694 y(.)-38 3707 y(.)-38 3720 y(.)-38 3733 +y(.)-38 3746 y(.)-38 3759 y(.)-38 3772 y(.)-38 3785 y(.)-38 +3798 y(.)-38 3811 y(.)-38 3824 y(.)-38 3837 y(.)-38 3850 +y(.)-38 3863 y(.)-38 3876 y(.)-38 3889 y(.)-38 3902 y(.)-38 +3915 y(.)-38 3928 y(.)-38 3941 y(.)-38 3954 y(.)-38 3967 +y(.)-38 3980 y(.)-38 3993 y(.)-38 4006 y(.)-38 4019 y(.)-38 +4032 y(.)-38 4045 y(.)-38 4058 y(.)-38 4071 y(.)-38 4084 +y(.)-38 4097 y(.)-38 4110 y(.)-38 4123 y(.)-38 4136 y(.)-38 +4149 y(.)-38 4161 y(.)-38 4174 y(.)-38 4187 y(.)-38 4200 +y(.)0 1721 y Fs(describe)11 b Fw(prin)o(ts,)i(to)g(the)h(stream)e(in)h +(the)g(v)n(ariable)f Fs(*standard-output*)p Fw(,)d(informa-)0 +1773 y(tion)h(ab)q(out)h(the)g Fv(obje)n(ct)p Fw(.)17 +b(Sometimes)9 b(it)h(will)f(describ)q(e)k(something)c(that)i(it)f +(\014nds)i(inside)0 1825 y(something)e(else;)i(suc)o(h)g(recursiv)o(e)h +(descriptions)f(are)g(inden)o(ted)f(appropriately)m(.)17 +b(F)m(or)10 b(in-)0 1877 y(stance,)17 b Fs(describe)e +Fw(of)g(a)h(sym)o(b)q(ol)f(will)f(exhibit)i(the)h(sym)o(b)q(ol's)d(v)n +(alue,)h(its)i(de\014nition,)0 1929 y(and)e(eac)o(h)h(of)f(its)h(prop)q +(erties.)24 b Fs(describe)13 b Fw(of)i(a)h(\015oating-p)q(oin)o(t)d(n)o +(um)o(b)q(er)i(will)f(exhibit)0 1981 y(its)f(in)o(ternal)g(represen)o +(tation)i(in)e(a)h(w)o(a)o(y)e(that)i(is)f(useful)h(for)f(trac)o(king)g +(do)o(wn)g(round-o\013)0 2033 y(errors)j(and)e(the)h(lik)o(e.)j(The)d +(nature)g(and)f(format)f(of)h(the)h(output)f(is)g(implemen)o(tation-)0 +2084 y(dep)q(enden)o(t.)42 2137 y Fs(describe)25 b Fw(returns)j(no)f(v) +n(alues)g(\(that)g(is,)j(it)c(returns)j(what)e(the)h(expression)0 +2189 y Fs(\(values\))12 b Fw(returns:)20 b(zero)15 b(v)n(alues\).)-33 +2200 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 2277 a(X3J13)g(v)o(oted)h(in)f(Marc)o(h)h(1989)f +Ft(h)p Fw(63)p Ft(i)g Fw(to)h(let)f Fs(describe)f Fw(tak)o(e)i(an)f +(optional)g(second)-33 2249 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a(argumen)o(t:)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 755 779 +755 778 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MISCELLANEOUS)13 +b(FEA)m(TURES)828 b(755)1209 295 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(describe)20 b Fv(obje)n(ct)25 b Fs(&optional)19 +b Fv(str)n(e)n(am)0 372 y Fw(The)24 b(output)g(is)g(sen)o(t)g(to)g(the) +g(sp)q(eci\014ed)i Fv(str)n(e)n(am)p Fw(,)f(whic)o(h)f(defaults)f(to)h +(the)g(v)n(alue)0 424 y(of)17 b Fs(*standard-output*)p +Fw(;)f(the)j Fv(str)n(e)n(am)e Fw(ma)o(y)f(also)i(b)q(e)g +Fs(nil)g Fw(\(meaning)e Fs(*standard-)0 476 y(output*)p +Fw(\))d(or)g Fs(t)h Fw(\(meaning)e Fs(*terminal-io*)p +Fw(\).)42 529 y(The)22 b(b)q(eha)o(vior)g(of)f Fs(describe)g +Fw(dep)q(ends)i(on)f(the)h(generic)g(function)f Fs(describe-)0 +581 y(object)13 b Fw(\(see)i(b)q(elo)o(w\).)-33 592 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 675 a(X3J13)i(v)o(oted)g(in)g(Jan)o(uary)h(1989)e +Ft(h)p Fw(62)p Ft(i)h Fw(to)g(sp)q(ecify)h(that)g Fs(describe)e +Fw(is)h(forbidden)-33 647 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 727 a(to)j(prompt)g(for)g(or)g(require)i(user)f(input)g +(when)g(giv)o(en)f(exactly)g(one)h(argumen)o(t;)h(it)0 +779 y(also)13 b(v)o(oted)h(to)f(p)q(ermit)g(implem)o(en)o(tations)e(to) +i(extend)i Fs(describe)d Fw(to)h(accept)i(k)o(eyw)o(ord)0 +831 y(argumen)o(ts)e(that)h(ma)o(y)e(cause)j(it)e(to)h(prompt)f(for)g +(or)h(to)g(require)h(user)g(input.)-33 842 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1062 992 a([)p Fv(Generic)g(function)s Fw(])-1395 +b Fs(describe-object)18 b Fv(obje)n(ct)25 b(str)n(e)n(am)-33 +964 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1073 1044 a Fw([)p Fv(Primary)14 b(metho)n(d)t +Fw(])-1395 b Fs(describe-object)18 b(\()p Fv(obje)n(ct)25 +b Fs(standard-object\))18 b Fv(str)n(e)n(am)0 1122 y +Fw(X3J13)k(v)o(oted)g(in)f(Marc)o(h)h(1989)f Ft(h)p Fw(63)p +Ft(i)h Fw(to)g(add)g(the)g(generic)h(function)f Fs(describe-)0 +1174 y(object)p Fw(,)16 b(whic)o(h)h(writes)h(a)f(description)h(of)f +(an)g(ob)r(ject)h(to)f(a)g(stream.)27 b(The)18 b(function)0 +1226 y Fs(describe-object)10 b Fw(is)k(called)f(b)o(y)g(the)h +Fs(describe)e Fw(function;)h(it)g(should)g(not)h(b)q(e)g(called)0 +1277 y(b)o(y)g(the)g(user.)42 1330 y(Eac)o(h)c(implem)o(en)o(tation)d +(m)o(ust)i(pro)o(vide)h(a)f(metho)q(d)g(on)h(the)h(class)f +Fs(standard-object)0 1382 y Fw(and)17 b(metho)q(ds)f(on)h(enough)g +(other)g(classes)h(to)f(ensure)i(that)e(there)h(is)f(alw)o(a)o(ys)e(an) +i(ap-)0 1434 y(plicable)d(metho)q(d.)20 b(Implemen)o(tatio)o(ns)13 +b(are)i(free)g(to)g(add)f(metho)q(ds)g(for)h(other)g(classes.)0 +1486 y(Users)j(can)f(write)g(metho)q(ds)f(for)g Fs(describe-object)d +Fw(for)k(their)g(o)o(wn)f(classes)h(if)f(they)0 1538 +y(do)e(not)f(wish)h(to)g(inherit)g(an)f(implemen)o(tation-suppli)o(ed)f +(metho)q(d.)42 1590 y(The)19 b(\014rst)h(argumen)o(t)e(ma)o(y)f(b)q(e)i +(an)o(y)g(Lisp)g(ob)r(ject.)34 b(The)19 b(second)h(argumen)o(t)e(is)h +(a)0 1642 y(stream;)13 b(it)g(cannot)h(b)q(e)h Fs(t)e +Fw(or)h Fs(nil)p Fw(.)k(The)c(v)n(alues)f(returned)j(b)o(y)e +Fs(describe-object)c Fw(are)0 1694 y(unsp)q(eci\014ed.)42 +1747 y(Metho)q(ds)i(on)f Fs(describe-object)e Fw(ma)o(y)g(recursiv)o +(ely)k(call)e Fs(describe)p Fw(.)k(Inden)o(tation,)0 +1798 y(depth)20 b(limits,)f(and)g(circularit)o(y)h(detection)h(are)f +(all)e(tak)o(en)i(care)h(of)e(automatically)l(,)0 1850 +y(pro)o(vided)f(that)f(eac)o(h)h(metho)q(d)f(handles)h(exactly)g(one)g +(lev)o(el)f(of)g(structure)j(and)d(calls)0 1902 y Fs(describe)f +Fw(recursiv)o(ely)j(if)e(there)i(are)g(more)e(structural)h(lev)o(els.) +30 b(If)18 b(this)g(rule)g(is)g(not)0 1954 y(ob)q(ey)o(ed,)c(the)h +(results)g(are)f(unde\014ned.)42 2007 y(In)22 b(some)h(implem)o(en)o +(tations)d(the)k Fv(str)n(e)n(am)e Fw(argumen)o(t)g(passed)i(to)f(a)g +Fs(describe-)0 2059 y(object)12 b Fw(metho)q(d)h(is)h(not)f(the)h +(original)e(stream)h(but)h(is)f(an)h(in)o(termediate)f(stream)g(that)0 +2111 y(implemen)o(ts)f(parts)j(of)f Fs(describe)p Fw(.)k(Metho)q(ds)d +(should)f(therefore)i(not)e(dep)q(end)i(on)e(the)0 2162 +y(iden)o(tit)o(y)f(of)h(this)g(stream.)p 0 2222 V 0 2283 +a Fm(Rationale:)j FA(This)c(prop)q(osal)i(w)o(as)d(closely)j(mo)q +(deled)f(on)f(the)f(CLOS)h(description)i(of)d Fj(print-)0 +2329 y(object)p FA(,)f(whic)o(h)k(w)o(as)f(w)o(ell)g(though)o(t)h(out)f +(and)h(pro)o(vides)h(a)d(great)h(deal)h(of)f(functionalit)o(y)j(and)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 756 780 +756 779 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(756)77 b(COMMON)13 +b(LISP)0 295 y FA(implemen)o(tation)i(freedom.)h(Implemen)o(tation)e +(tec)o(hniques)g(for)d Fj(print-obje)o(ct)d FA(are)k(applica-)0 +340 y(ble)i(to)f Fj(describe-)o(obj)o(ec)o(t)p FA(.)42 +386 y(The)i(reason)h(for)f(making)i(the)f(return)f(v)n(alues)i(for)e +Fj(describe-o)o(bje)o(ct)d FA(unsp)q(eci\014ed)18 b(is)e(to)0 +432 y(a)o(v)o(oid)10 b(forcing)h(users)e(to)g(write)g +Fj(\(values\))d FA(explicitl)q(y)12 b(in)e(all)g(their)g(metho)q(ds;)h +Fj(describe)6 b FA(should)0 478 y(tak)o(e)13 b(care)g(of)g(that.)p +0 506 V -33 517 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 638 a Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(inspect)20 b Fv(obje)n(ct)0 715 y Fs(inspect)13 +b Fw(is)g(an)h(in)o(teractiv)o(e)g(v)o(ersion)h(of)e +Fs(describe)p Fw(.)k(The)d(nature)h(of)e(the)i(in)o(teraction)0 +767 y(is)f(implemen)o(tation-dep)q(enden)o(t,)f(but)h(the)i(purp)q(ose) +f(of)f Fs(inspect)f Fw(is)i(to)f(mak)o(e)f(it)h(easy)0 +819 y(to)19 b(w)o(ander)g(through)g(a)f(data)h(structure,)j(examining) +16 b(and)j(mo)q(difying)d(parts)j(of)g(it.)0 871 y(Implemen)o(tations) +12 b(are)k(encouraged)g(to)f(resp)q(ond)h(to)f(the)g(t)o(yping)g(of)f +(the)i(c)o(haracter)g Fs(?)0 923 y Fw(b)o(y)e(pro)o(viding)e(help,)i +(including)f(a)g(list)h(of)f(commands.)42 975 y(X3J13)h(v)o(oted)h(in)g +(Jan)o(uary)g(1989)e Ft(h)p Fw(156)p Ft(i)i Fw(to)g(sp)q(ecify)g(that)g +(the)h(v)n(alues)e(returned)j(b)o(y)-33 946 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1027 a Fs(inspect)12 b Fw(are)j(implem)o(en)o +(tation-dep)q(enden)o(t.)-33 1038 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1160 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(room)20 b(&optional)g Fv(x)0 1236 y Fs(room)15 b +Fw(prin)o(ts,)i(to)f(the)h(stream)e(in)h(the)h(v)n(ariable)e +Fs(*standard-output*)o Fw(,)f(information)0 1288 y(ab)q(out)h(the)h +(state)g(of)f(in)o(ternal)g(storage)g(and)g(its)h(managemen)o(t.)j +(This)c(migh)o(t)f(include)0 1340 y(descriptions)g(of)f(the)h(amoun)o +(t)d(of)i(memory)d(in)j(use)h(and)f(the)h(degree)h(of)d(memory)f(com-)0 +1392 y(paction,)f(p)q(ossibly)f(brok)o(en)g(do)o(wn)g(b)o(y)h(in)o +(ternal)e(data)i(t)o(yp)q(e)f(if)g(that)g(is)h(appropriate.)16 +b(The)0 1444 y(nature)h(and)g(format)e(of)h(the)h(prin)o(ted)h +(information)13 b(is)k(implemen)o(tation-)o(dep)q(enden)o(t.)0 +1496 y(The)d(in)o(ten)o(t)g(is)g(to)g(pro)o(vide)f(information)e(that)j +(ma)o(y)e(help)i(a)g(user)h(to)e(tune)i(a)e(program)0 +1548 y(to)h(a)f(particular)h(implemen)o(tatio)o(n.)42 +1600 y Fs(\(room)20 b(nil\))13 b Fw(prin)o(ts)h(out)g(a)f(minimal)d +(amoun)o(t)i(of)h(information.)j Fs(\(room)k(t\))13 b +Fw(prin)o(ts)0 1652 y(out)g(a)g(maxim)o(al)c(amoun)o(t)j(of)g +(information.)j(Simply)c Fs(\(room\))g Fw(prin)o(ts)j(out)f(an)g(in)o +(terme-)0 1704 y(diate)h(amoun)o(t)e(of)h(information)e(that)j(is)g +(lik)o(ely)e(to)i(b)q(e)h(useful.)42 1756 y(X3J13)c(v)o(oted)h(in)f +(Jan)o(uary)g(1989)g Ft(h)p Fw(157)p Ft(i)g Fw(to)g(sp)q(ecify)i(that)e +(the)h(argumen)o(t)f Fv(x)h Fw(ma)o(y)d(also)-33 1727 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1807 a(b)q(e)14 b(the)h(k)o(eyw)o(ord)f +Fs(:default)p Fw(,)d(whic)o(h)j(has)g(the)g(same)f(e\013ect)j(as)e +(passing)f(no)h(argumen)o(t)0 1859 y(at)g(all.)-33 1871 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1992 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(ed)21 b(&optional)e Fv(x)0 2069 y Fw(If)14 b(the)i(implemen)o +(tatio)o(n)c(pro)o(vides)j(a)g(residen)o(t)h(editor,)f(this)f(function) +h(should)g(in)o(v)o(ok)o(e)0 2121 y(it.)42 2173 y Fs(\(ed\))g +Fw(or)h Fs(\(ed)k(nil\))15 b Fw(simply)f(en)o(ters)k(the)e(editor,)g +(lea)o(ving)f(y)o(ou)h(in)f(the)i(same)e(state)0 2225 +y(as)f(the)g(last)g(time)f(y)o(ou)g(w)o(ere)i(in)e(the)i(editor.)42 +2277 y Fs(\(ed)20 b Fv(p)n(athname)p Fs(\))e Fw(edits)f(the)h(con)o +(ten)o(ts)g(of)f(the)g(\014le)g(sp)q(eci\014ed)i(b)o(y)e +Fv(p)n(athname)p Fw(.)28 b(The)0 2329 y Fv(p)n(athname)15 +b Fw(ma)o(y)d(b)q(e)i(an)g(actual)f(pathname)g(or)h(a)g(string.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 757 781 +757 780 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MISCELLANEOUS)13 +b(FEA)m(TURES)828 b(757)42 295 y Fw(X3J13)14 b(v)o(oted)g(in)g(June)h +(1989)e Ft(h)p Fw(130)p Ft(i)h Fw(to)g(require)h Fs(ed)f +Fw(to)g(accept)i(logical)d(pathnames)-33 266 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 347 a(\(see)i(section)g(23.1.5\).)-33 +358 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 400 a Fs(\(ed)20 b Fv(symb)n(ol)p Fs(\))f +Fw(tries)i(to)f(let)g(y)o(ou)f(edit)h(the)g(text)h(for)e(the)i +(function)e(named)g Fv(sym-)0 452 y(b)n(ol)p Fw(.)31 +b(The)18 b(means)g(b)o(y)g(whic)o(h)g(the)h(function)f(text)g(is)g +(obtained)g(is)g(implemen)o(tation-)0 503 y(dep)q(enden)o(t;)e(it)d +(migh)o(t)g(in)o(v)o(olv)o(e)f(searc)o(hing)j(the)g(\014le)f(system,)g +(or)g(prett)o(y)h(prin)o(ting)e(resi-)0 555 y(den)o(t)h(in)o(terpreted) +i(co)q(de,)e(for)g(example.)42 608 y(X3J13)i(v)o(oted)g(in)g(Marc)o(h)h +(1989)f Ft(h)p Fw(89)p Ft(i)g Fw(to)h(extend)g Fs(compile)e +Fw(to)i(accept)g(as)g(a)f Fv(name)-33 580 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 660 a Fw(an)o(y)h(function-name)f(\(a)i(sym)o(b)q(ol)e +(or)i(a)f(list)h(whose)g Fv(c)n(ar)f Fw(is)h Fs(setf)p +Fw(|see)g(section)g(7.1\).)0 712 y(Th)o(us)13 b(one)g(ma)o(y)d(write)j +Fs(\(ed)457 716 y Fn(')480 712 y Fs(\(setf)20 b(cadr\)\))11 +b Fw(to)i(edit)g(the)g Fs(setf)f Fw(expansion)g(function)0 +764 y(for)i Fs(cadr)p Fw(.)-33 776 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 947 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(dribble)20 b(&optional)f Fv(p)n(athname)0 1025 y +Fs(\(dribble)h Fv(p)n(athname)p Fs(\))36 b Fw(ma)o(y)e(rebind)i +Fs(*standard-input*)d Fw(and)j Fs(*standard-)0 1077 y(output*)p +Fw(,)10 b(and)i(ma)o(y)e(tak)o(e)i(other)h(appropriate)f(action,)f(so)h +(as)g(to)g(send)h(a)f(record)h(of)e(the)0 1128 y(input/output)j(in)o +(teraction)g(to)f(a)h(\014le)g(named)e(b)o(y)i Fv(p)n(athname)p +Fw(.)19 b(The)14 b(primary)f(purp)q(ose)0 1180 y(of)g(this)h(is)g(to)g +(create)h(a)f(readable)g(record)h(of)e(an)h(in)o(teractiv)o(e)g +(session.)42 1233 y Fs(\(dribble\))j Fw(terminates)i(the)h(recording)g +(of)f(input)g(and)g(output)h(and)f(closes)h(the)0 1285 +y(dribble)14 b(\014le.)42 1338 y(X3J13)f(v)o(oted)g(in)g(June)i(1989)d +Ft(h)p Fw(130)p Ft(i)h Fw(to)h(require)g Fs(dribble)e +Fw(to)h(accept)i(logical)d(path-)-33 1310 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1390 a(names)h(\(see)i(section)g(23.1.5\).)-33 +1402 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1443 a(X3J13)h(v)o(oted)i(in)e(Marc)o(h)i(1988)e +Ft(h)p Fw(68)p Ft(i)h Fw(to)g(clarify)f(that)i Fs(dribble)d +Fw(is)i(in)o(tended)h(pri-)-33 1415 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1495 a(marily)11 b(for)j(in)o(teractiv)o(e)g(debugging)f +(and)h(that)g(its)g(e\013ect)h(cannot)g(b)q(e)f(relied)g(up)q(on)g(for) +0 1547 y(use)h(in)e(p)q(ortable)h(programs.)42 1600 y(Di\013eren)o(t)19 +b(implemen)o(tations)d(of)j(Common)d(Lisp)j(ha)o(v)o(e)g(used)h +(radically)e(di\013eren)o(t)0 1652 y(tec)o(hniques)g(for)f(implemen)o +(ting)d Fs(dribble)p Fw(.)26 b(All)16 b(are)h(reasonable)h(in)o +(terpretations)f(of)0 1704 y(the)h(original)e(sp)q(eci\014cation,)j +(and)e(all)g(b)q(eha)o(v)o(e)h(in)f(appro)o(ximately)f(the)i(same)f(w)o +(a)o(y)g(if)0 1756 y Fs(dribble)10 b Fw(is)i(called)f(only)g(from)f +(the)i(in)o(teractiv)o(e)g(top)g(lev)o(el.)17 b(Ho)o(w)o(ev)o(er,)12 +b(they)g(ma)o(y)e(ha)o(v)o(e)0 1808 y(quite)k(di\013eren)o(t)h(b)q(eha) +o(viors)f(if)f Fs(dribble)f Fw(is)i(called)g(from)e(within)h(comp)q +(ound)g(forms.)42 1861 y(Consider)20 b(t)o(w)o(o)f(mo)q(dels)f(of)h +(the)h(op)q(eration)g(of)f Fs(dribble)p Fw(.)33 b(In)20 +b(the)g(\\redirecting")0 1913 y(mo)q(del,)f(a)g(call)g(to)g +Fs(dribble)f Fw(with)h(a)h(pathname)e(argumen)o(t)g(alters)i(certain)g +(global)0 1964 y(v)n(ariables)c(suc)o(h)h(as)f Fs(*standard-output*)p +Fw(,)d(p)q(erhaps)18 b(b)o(y)e(constructing)h(a)f(broadcast)0 +2016 y(stream)d(directed)j(to)e(b)q(oth)g(the)g(original)e(v)n(alue)i +(of)f Fs(*standard-output*)d Fw(and)k(to)g(the)0 2068 +y(dribble)f(\014le;)f(other)i(streams)f(ma)o(y)e(b)q(e)i(a\013ected)h +(as)f(w)o(ell.)k(A)c(call)f(to)h Fs(dribble)e Fw(with)i(no)0 +2120 y(argumen)o(ts)g(undo)q(es)i(these)g(side)f(e\013ects.)42 +2173 y(In)g(the)i(\\recursiv)o(e")g(mo)q(del,)d(b)o(y)i(con)o(trast,)h +(a)e(call)g(to)h Fs(dribble)f Fw(with)g(a)h(pathname)0 +2225 y(argumen)o(t)j(creates)j(a)d(new)h(in)o(teractiv)o(e)h(command)c +(lo)q(op)i(and)h(calls)f(it)h(recursiv)o(ely)m(.)0 2277 +y(This)d(new)g(command)d(lo)q(op)j(is)f(just)h(lik)o(e)g(an)f(ordinary) +h(read-ev)n(al-prin)o(t)f(lo)q(op)g(except)0 2329 y(that)f(it)g(also)g +(ec)o(ho)q(es)h(the)g(in)o(teraction)f(to)h(the)f(dribble)g(\014le.)20 +b(A)14 b(call)f(to)h Fs(dribble)f Fw(with)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 758 782 +758 781 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(758)77 b(COMMON)13 +b(LISP)0 295 y Fw(no)d(argumen)o(ts)g(do)q(es)i(a)e Fs(throw)f +Fw(that)i(exits)g(the)g(recursiv)o(e)h(command)c(lo)q(op)i(and)g +(returns)0 347 y(to)k(the)g(original)e(caller)i(of)f +Fs(dribble)g Fw(with)g(an)h(argumen)o(t.)42 400 y(The)g(t)o(w)o(o)f(mo) +q(dels)g(ma)o(y)f(b)q(e)i(distinguished)g(b)o(y)g(this)g(test)h(case:)0 +495 y Fs(\(progn)20 b(\(dribble)f("basketball"\))148 +546 y(\(print)h("Larry"\))148 598 y(\(dribble\))148 650 +y(\(princ)g("Bird"\)\))0 744 y Fw(If)12 b(this)h(form)e(is)h(input)h +(to)f(the)i(Lisp)e(top)h(lev)o(el,)f(in)g(either)i(mo)q(del)d(a)h +(newline)h(\(pro)o(vided)0 796 y(b)o(y)20 b(the)g(function)g +Fs(print)p Fw(\))f(and)h(the)h(w)o(ords)f Fs(Larry)g(Bird)g +Fw(will)e(b)q(e)j(prin)o(ted)f(to)g(the)0 848 y(standard)12 +b(output.)18 b(The)12 b(redirecting)h(dribble)f(mo)q(del)e(will)h +(additionally)e(prin)o(t)j(all)f(but)0 900 y(the)j(w)o(ord)g +Fs(Bird)f Fw(to)h(a)g(\014le)f(named)g Fs(basketball)p +Fw(.)42 953 y(By)18 b(con)o(trast,)h(the)f(recursiv)o(e)h(dribble)f(mo) +q(del)e(will)h(en)o(ter)i(a)e(recursiv)o(e)j(command)0 +1005 y(lo)q(op)12 b(and)g(not)g(prin)o(t)g(an)o(ything)g(un)o(til)f +Fs(\(dribble\))g Fw(is)h(executed)i(from)d(within)g(the)i(new)0 +1057 y(in)o(teractiv)o(e)j(command)d(lo)q(op.)23 b(A)o(t)16 +b(that)g(time)e(the)j(\014le)e(named)g Fs(basketball)f +Fw(will)g(b)q(e)0 1109 y(closed,)f(and)f(then)h(execution)h(of)e(the)h +Fs(progn)e Fw(form)g(will)g(b)q(e)i(resumed.)18 b(A)12 +b(newline)h(and)0 1160 y(\\)p Fs(Larry)20 b Fw(")e(\(note)h(the)g +(trailing)d(space\))k(will)d(b)q(e)i(prin)o(ted)f(to)g(the)h(standard)g +(output,)0 1212 y(and)12 b(then)g(the)h(call)e Fs(\(dribble\))f +Fw(ma)o(y)g(complain)f(that)j(there)h(is)f(no)g(activ)o(e)f(dribble)h +(\014le.)0 1264 y(Once)19 b(this)e(error)h(is)f(resolv)o(ed,)i(the)f(w) +o(ord)f Fs(Bird)f Fw(ma)o(y)g(b)q(e)i(prin)o(ted)f(to)g(the)h(standard) +0 1316 y(output.)42 1369 y(Here)d(is)e(a)h(sligh)o(tly)e(di\013eren)o +(t)j(test)g(case:)0 1464 y Fs(\(dribble)20 b("baby-food"\))0 +1558 y(\(progn)g(\(print)g("Mashed)g(banana"\))148 1610 +y(\(dribble\))148 1662 y(\(princ)g("and)g(cream)h(of)f(rice"\)\))0 +1756 y Fw(If)14 b(this)g(form)f(is)h(input)g(to)h(the)g(Lisp)f(top)g +(lev)o(el,)g(in)g(the)h(redirecting)g(mo)q(del)e(a)h(newline)0 +1808 y(and)20 b(the)h(w)o(ords)f Fs(Mashed)g(banana)g(and)g(cream)g(of) +h(rice)e Fw(will)g(b)q(e)i(prin)o(ted)f(to)g(the)0 1860 +y(standard)15 b(output)f(and)g(all)f(but)i(the)g(w)o(ords)f +Fs(and)21 b(cream)f(of)h(rice)13 b Fw(will)g(b)q(e)i(sen)o(t)g(to)f(a)0 +1912 y(\014le)g(named)f Fs(baby-food)p Fw(.)42 1965 y(The)i(recursiv)o +(e)h(mo)q(del)d(will)h(direct)i(exactly)e(the)i(same)e(output)h(to)g +(the)g(\014le)g(named)0 2016 y Fs(baby-food)8 b Fw(but)i(will)f(nev)o +(er)i(prin)o(t)f(the)h(w)o(ords)f Fs(and)21 b(cream)f(of)g(rice)10 +b Fw(to)g(the)g(standard)0 2068 y(output)k(b)q(ecause)i(the)e(call)f +Fs(\(dribble\))f Fw(do)q(es)j(not)f(return)h(normally;)10 +b(it)k(thro)o(ws.)42 2121 y(The)19 b(redirecting)g(mo)q(del)e(ma)o(y)g +(b)q(e)j(in)o(tuitiv)o(ely)d(more)g(app)q(ealing)h(to)h(some.)31 +b(The)0 2173 y(recursiv)o(e)17 b(mo)q(del,)c(ho)o(w)o(ev)o(er,)i(ma)o +(y)e(b)q(e)j(more)e(robust;)i(it)f(carefully)f(limits)f(the)j(exten)o +(t)0 2225 y(of)d(the)i(dribble)e(op)q(eration)h(and)g(disables)g +(dribbling)e(if)h(a)h(thro)o(w)g(of)f(an)o(y)g(kind)h(o)q(ccurs.)0 +2277 y(The)f(v)o(ote)f(b)o(y)g(X3J13)g(w)o(as)h(an)f(explicit)g +(decision)g(not)h(to)f(decide)h(whic)o(h)f(mo)q(del)f(to)h(use.)0 +2329 y(Users)j(are)g(advised)f(to)f(call)h Fs(dribble)e +Fw(only)h(in)o(teractiv)o(ely)m(,)g(at)g(top)h(lev)o(el.)-33 +2340 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 4 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 759 783 +759 782 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MISCELLANEOUS)13 +b(FEA)m(TURES)828 b(759)1209 295 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(apropos)20 b Fv(string)k Fs(&optional)19 +b Fv(p)n(ackage)1209 347 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(apropos-list)19 b Fv(string)24 b Fs(&optional)19 +b Fv(p)n(ackage)0 424 y Fs(\(apropos)h Fv(string)p Fs(\))9 +b Fw(tries)i(to)f(\014nd)g(all)f(a)o(v)n(ailable)f(sym)o(b)q(ols)g +(whose)j(prin)o(t)f(names)f(con)o(tain)0 475 y Fv(string)i +Fw(as)i(a)f(substring.)18 b(\(A)12 b(sym)o(b)q(ol)e(ma)o(y)g(b)q(e)j +(supplied)f(for)g(the)h Fv(string)p Fw(,)e(in)h(whic)o(h)g(case)0 +527 y(the)18 b(prin)o(t)f(name)f(of)g(the)i(sym)o(b)q(ol)d(is)i +(used.\))29 b(Whenev)o(er)18 b Fs(apropos)e Fw(\014nds)h(a)g(sym)o(b)q +(ol,)0 579 y(it)d(prin)o(ts)h(out)g(the)g(sym)o(b)q(ol's)e(name;)g(in)h +(addition,)f(information)f(ab)q(out)j(the)g(function)0 +631 y(de\014nition)k(and)g(dynamic)e(v)n(alue)i(of)f(the)i(sym)o(b)q +(ol,)e(if)h(an)o(y)m(,)g(is)g(prin)o(ted.)34 b(If)19 +b Fv(p)n(ackage)0 683 y Fw(is)h(sp)q(eci\014ed)i(and)e(not)g +Fs(nil)p Fw(,)h(then)f(only)g(sym)o(b)q(ols)f(a)o(v)n(ailable)f(in)h +(that)h(pac)o(k)n(age)g(are)0 735 y(examined;)d(otherwise)h(\\all")d +(pac)o(k)n(ages)i(are)h(searc)o(hed,)h(as)e(if)f(b)o(y)h +Fs(do-all-symbols)p Fw(.)0 787 y(Because)c(a)e(sym)o(b)q(ol)f(ma)o(y)f +(b)q(e)j(a)o(v)n(ailable)d(b)o(y)i(w)o(a)o(y)g(of)g(more)f(than)i(one)f +(inheritance)h(path,)0 839 y Fs(apropos)g Fw(ma)o(y)f(prin)o(t)i +(information)d(ab)q(out)j(the)g(same)g(sym)o(b)q(ol)e(more)h(than)h +(once.)18 b(The)0 891 y(information)10 b(is)i(prin)o(ted)h(to)f(the)i +(stream)e(that)g(is)h(the)g(v)n(alue)f(of)g Fs(*standard-output)o(*)p +Fw(.)0 942 y Fs(apropos)h Fw(returns)k(no)d(v)n(alues)h(\(that)f(is,)h +(it)f(returns)j(what)d(the)i(expression)f Fs(\(values\))0 +994 y Fw(returns:)20 b(zero)14 b(v)n(alues\).)42 1046 +y Fs(apropos-list)7 b Fw(p)q(erforms)i(the)i(same)e(searc)o(h)i(that)f +Fs(apropos)f Fw(do)q(es)i(but)f(prin)o(ts)g(noth-)0 1098 +y(ing.)27 b(It)17 b(returns)i(a)e(list)g(of)f(the)i(sym)o(b)q(ols)e +(whose)h(prin)o(t)g(names)g(con)o(tain)f Fv(string)h +Fw(as)g(a)0 1150 y(substring.)0 1306 y Fo(25.4.)j(En)n(vironmen)n(t)13 +b(Inquiries)0 1393 y Fw(En)o(vironmen)o(t)e(inquiry)h(functions)g(pro)o +(vide)g(information)e(ab)q(out)i(the)h(en)o(vironmen)o(t)e(in)0 +1445 y(whic)o(h)16 b(a)g(Commo)o(n)e(Lisp)i(program)e(is)i(b)q(eing)g +(executed.)27 b(They)16 b(are)h(describ)q(ed)h(here)0 +1497 y(in)11 b(t)o(w)o(o)h(categories:)18 b(\014rst,)13 +b(those)f(dealing)f(with)h(determination)f(and)g(measuremen)o(t)g(of)0 +1548 y(time,)h(and)h(second,)h(all)e(the)h(others,)h(most)e(of)h(whic)o +(h)g(deal)g(with)g(iden)o(ti\014cation)f(of)h(the)0 1600 +y(computer)h(hardw)o(are)g(and)g(soft)o(w)o(are.)0 1756 +y Fo(25.4.1.)20 b(Time)13 b(F)-5 b(unctions)0 1843 y +Fw(Time)12 b(is)i(represen)o(ted)i(in)d(three)i(di\013eren)o(t)g(w)o(a) +o(ys)e(in)g(Common)d(Lisp:)18 b(Deco)q(ded)d(Time,)0 +1895 y(Univ)o(ersal)i(Time,)f(and)h(In)o(ternal)h(Time.)26 +b(The)18 b(\014rst)g(t)o(w)o(o)f(represen)o(tations)i(are)f(used)0 +1947 y(primarily)8 b(to)j(represen)o(t)i(calendar)f(time)d(and)i(are)g +(precise)i(only)d(to)h(one)g(second.)18 b(In)o(ter-)0 +1999 y(nal)11 b(Time)g(is)g(used)i(primarily)c(to)j(represen)o(t)i +(measuremen)o(ts)d(of)h(computer)f(time)g(\(suc)o(h)0 +2051 y(as)16 b(run)h(time\))e(and)h(is)g(precise)h(to)f(some)g(implem)o +(en)o(tation-dep)q(enden)o(t)f(fraction)g(of)h(a)0 2102 +y(second,)i(as)g(sp)q(eci\014ed)g(b)o(y)f Fs(internal-time-uni)o(ts-pe) +o(r-sec)o(ond)p Fw(.)24 b(Deco)q(ded)18 b(Time)0 2154 +y(format)9 b(is)i(used)g(only)f(for)h(absolute)g(time)e(indications.)16 +b(Univ)o(ersal)11 b(Time)e(and)i(In)o(ternal)0 2206 y(Time)h(formats)h +(are)h(used)h(for)e(b)q(oth)h(absolute)g(and)g(relativ)o(e)g(times.)42 +2258 y(Deco)q(ded)e(Time)e(format)f(represen)o(ts)14 +b(calendar)e(time)e(as)h(a)g(n)o(um)o(b)q(er)g(of)g(comp)q(onen)o(ts:)0 +2320 y Fu(.)42 2329 y Fv(Se)n(c)n(ond)p Fw(:)19 b(an)13 +b(in)o(teger)i(b)q(et)o(w)o(een)g(0)e(and)h(59,)f(inclusiv)o(e.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 760 784 +760 783 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(760)77 b(COMMON)13 +b(LISP)0 286 y Fu(.)42 295 y Fv(Minute)p Fw(:)18 b(an)c(in)o(teger)g(b) +q(et)o(w)o(een)h(0)f(and)g(59,)e(inclusiv)o(e.)0 367 +y Fu(.)42 376 y Fv(Hour)p Fw(:)17 b(an)d(in)o(teger)g(b)q(et)o(w)o(een) +i(0)d(and)h(23,)f(inclusiv)o(e.)0 448 y Fu(.)42 457 y +Fv(Date)p Fw(:)31 b(an)21 b(in)o(teger)g(b)q(et)o(w)o(een)h(1)e(and)g +(31,)i(inclusiv)o(e)e(\(the)h(upp)q(er)h(limit)c(actually)42 +509 y(dep)q(ends)d(on)f(the)g(mon)o(th)e(and)i(y)o(ear,)g(of)f +(course\).)0 581 y Fu(.)42 589 y Fv(Month)p Fw(:)18 b(an)13 +b(in)o(teger)g(b)q(et)o(w)o(een)i(1)d(and)h(12,)f(inclusiv)o(e;)h(1)g +(means)f(Jan)o(uary)m(,)g(12)h(means)42 641 y(Decem)o(b)q(er.)0 +713 y Fu(.)42 722 y Fv(Y)m(e)n(ar)p Fw(:)i(an)c(in)o(teger)g +(indicating)f(the)i(y)o(ear)f(A.D.)f(Ho)o(w)o(ev)o(er,)h(if)f(this)h +(in)o(teger)h(is)e(b)q(et)o(w)o(een)42 774 y(0)k(and)h(99,)f(the)h +(\\ob)o(vious")f(y)o(ear)h(is)g(used;)g(more)f(precisely)m(,)h(that)g +(y)o(ear)g(is)g(assumed)42 826 y(that)d(is)g(equal)f(to)h(the)h(in)o +(teger)g(mo)q(dulo)d(100)h(and)h(within)g(\014ft)o(y)f(y)o(ears)i(of)e +(the)i(curren)o(t)42 878 y(y)o(ear)g(\(inclusiv)o(e)h(bac)o(kw)o(ards)g +(and)g(exclusiv)o(e)g(forw)o(ards\).)k(Th)o(us,)c(in)f(the)h(y)o(ear)g +(1978,)42 930 y(y)o(ear)j(28)g(is)h(1928)e(but)i(y)o(ear)g(27)f(is)h +(2027.)28 b(\(F)m(unctions)18 b(that)f(return)i(time)d(in)i(this)42 +982 y(format)12 b(alw)o(a)o(ys)g(return)j(a)f(full)f(y)o(ear)h(n)o(um)o +(b)q(er.\))p 0 1042 V 0 1102 a Fm(Compatibilit)o(y)f(note:)20 +b FA(This)14 b(is)h(incompatibl)q(e)h(with)f(the)f(Lisp)h(Mac)o(hine)h +(Lisp)f(de\014nition)0 1147 y(in)f(t)o(w)o(o)f(w)o(a)o(ys.)19 +b(First,)14 b(in)g(Lisp)h(Mac)o(hine)g(Lisp)f(a)g(y)o(ear)f(b)q(et)o(w) +o(een)h(0)g(and)g(99)g(alw)o(a)o(ys)g(has)g(1900)0 1193 +y(added)d(to)e(it.)16 b(Second,)11 b(in)f(Lisp)h(Mac)o(hine)g(Lisp)f +(time)g(functions)h(return)f(the)g(abbreviated)h(y)o(ear)0 +1239 y(n)o(um)o(b)q(er)17 b(b)q(et)o(w)o(een)f(0)g(and)g(99)g(rather)g +(than)h(the)f(full)h(y)o(ear)f(n)o(um)o(b)q(er.)26 b(The)16 +b(incompatibil)q(i)q(t)o(y)0 1284 y(is)h(prompted)h(b)o(y)f(the)g +(imminen)o(t)h(arriv)n(al)g(of)e(the)h(t)o(w)o(en)o(t)o(y-\014rst)g +(cen)o(tury)m(.)28 b(Note)17 b(that)f Fj(\(mod)0 1330 +y Fq(ye)n(ar)i Fj(100\))c FA(alw)o(a)o(ys)j(reliably)i(con)o(v)o(erts)e +(a)f(y)o(ear)h(n)o(um)o(b)q(er)g(to)f(the)g(abbreviated)j(form,)d +(while)0 1376 y(the)d(in)o(v)o(erse)h(con)o(v)o(ersion)h(can)f(b)q(e)f +(v)o(ery)g(di\016cult.)p 0 1407 V 0 1463 a Fu(.)42 1472 +y Fv(Day-of-we)n(ek)p Fw(:)26 b(an)18 b(in)o(teger)h(b)q(et)o(w)o(een)h +(0)e(and)g(6,)g(inclusiv)o(e;)i(0)e(means)f(Monda)o(y)m(,)h(1)42 +1524 y(means)13 b(T)m(uesda)o(y)m(,)f(and)i(so)g(on;)f(6)h(means)f +(Sunda)o(y)m(.)0 1596 y Fu(.)42 1605 y Fv(Daylight-saving-time-p)p +Fw(:)i(a)10 b(\015ag)f(that,)h(if)f(not)g Fs(nil)p Fw(,)h(indicates)g +(that)f(da)o(yligh)o(t)g(sa)o(ving)42 1657 y(time)j(is)i(in)f +(e\013ect.)0 1729 y Fu(.)42 1738 y Fv(Time-zone)p Fw(:)33 +b(an)22 b(in)o(teger)g(sp)q(eci\014ed)h(as)f(the)g(n)o(um)o(b)q(er)f +(of)g(hours)i(w)o(est)f(of)f(GMT)42 1790 y(\(Green)o(wic)o(h)f(Mean)f +(Time\).)34 b(F)m(or)19 b(example,)g(in)g(Massac)o(h)o(usetts)j(the)e +(time)e(zone)42 1841 y(is)d(5,)h(and)f(in)g(California)f(it)h(is)h(8.) +23 b(An)o(y)16 b(adjustmen)o(t)f(for)g(da)o(yligh)o(t)f(sa)o(ving)h +(time)g(is)42 1893 y(separate)g(from)d(this.)42 1962 +y(X3J13)18 b(v)o(oted)h(in)g(Marc)o(h)g(1989)f Ft(h)p +Fw(178)p Ft(i)h Fw(to)g(sp)q(ecify)g(that)g(the)h(time)d(zone)j(part)f +(of)-33 1933 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2014 a(Deco)q(ded)12 b(Time)d(need)i(not)g(b)q(e)g(an)f +(in)o(teger,)h(but)g(ma)o(y)d(b)q(e)k(an)o(y)e(rational)f(n)o(um)o(b)q +(er)h(\(either)0 2066 y(an)15 b(in)o(teger)h(or)f(a)g(ratio\))g(in)f +(the)i(range)g(-24)e(to)h(24)g(\(inclusiv)o(e)g(on)g(b)q(oth)g(ends\))i +(that)e(is)0 2117 y(an)f(in)o(tegral)f(m)o(ultiple)e(of)j +Fs(1/3600)p Fw(.)p 0 2177 V 0 2237 a Fm(Rationale:)j +FA(F)m(or)c(all)i(p)q(ossible)g(time)f(designations)i(to)d(b)q(e)g +(accommo)q(dated,)h(it)g(is)f(necessary)0 2283 y(to)i(allo)o(w)i(the)e +(time)h(zone)g(to)f(b)q(e)h(non-in)o(tegral,)i(for)d(some)g(places)i +(in)f(the)f(w)o(orld)h(ha)o(v)o(e)g(time)0 2329 y(standards)e(o\013set) +g(from)f(Green)o(wic)o(h)h(Mean)f(Time)h(b)o(y)f(a)g(non-in)o(tegral)j +(n)o(um)o(b)q(er)d(of)g(hours.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 761 785 +761 784 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MISCELLANEOUS)13 +b(FEA)m(TURES)828 b(761)42 295 y FA(There)16 b(app)q(ears)h(to)f(b)q(e) +h(no)f(user)h(demand)g(for)f(\015oating-p)q(oin)o(t)j(time)d(zones.)28 +b(Since)17 b(suc)o(h)0 340 y(zones)e(w)o(ould)h(in)o(tro)q(duce)g +(inexact)g(arithmetic,)h(X3J13)d(did)i(not)f(consider)h(adding)h(them)e +(at)0 386 y(this)f(time.)42 433 y(This)f(sp)q(eci\014cation)j(do)q(es)d +(require)h(time)f(zones)h(to)e(b)q(e)i(represen)o(ted)f(as)g(in)o +(tegral)i(m)o(ultiples)0 478 y(of)10 b(1)h(second)h(\(rather)f(than)g +(1)g(hour\).)16 b(This)c(prev)o(en)o(ts)f(problems)h(that)f(could)h +(otherwise)g(o)q(ccur)0 524 y(in)i(con)o(v)o(erting)h(Deco)q(ded)f +(Time)f(to)g(Univ)o(ersal)i(Time.)p 0 571 V -33 583 a +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 719 a Fw(Univ)o(ersal)9 b(Time)g(represen)o(ts)j(time)d +(as)h(a)g(single)g(non-negativ)o(e)f(in)o(teger.)17 b(F)m(or)10 +b(relativ)o(e)0 771 y(time)17 b(purp)q(oses,)k(this)d(is)g(a)g(n)o(um)o +(b)q(er)g(of)g(seconds.)32 b(F)m(or)18 b(absolute)h(time,)f(this)g(is)g +(the)0 823 y(n)o(um)o(b)q(er)h(of)h(seconds)h(since)g(midnigh)o(t,)d +(Jan)o(uary)i(1,)h(1900)e(GMT.)g(Th)o(us)h(the)h(time)0 +875 y(1)d(is)g(00:00:01)e(\(that)j(is,)g(12:00:01)d(A.M.\))i(on)g(Jan)o +(uary)g(1,)h(1900)e(GMT.)h(Similarly)l(,)0 927 y(the)d(time)d +(2398291201)f(corresp)q(onds)16 b(to)e(time)f(00:00:01)e(on)j(Jan)o +(uary)g(1,)f(1976)g(GMT.)0 979 y(Recall)i(that)h(the)g(y)o(ear)g(1900)f +(w)o(as)g Fv(not)i Fw(a)e(leap)g(y)o(ear;)i(for)e(the)i(purp)q(oses)g +(of)e(Common)0 1031 y(Lisp,)c(a)f(y)o(ear)h(is)f(a)g(leap)h(y)o(ear)g +(if)e(and)i(only)f(if)f(its)i(n)o(um)o(b)q(er)f(is)g(divisible)g(b)o(y) +g(4,)h(except)h(that)0 1083 y(y)o(ears)g(divisible)e(b)o(y)h(100)g(are) +h Fv(not)g Fw(leap)f(y)o(ears,)h(except)h(that)e(y)o(ears)h(divisible)e +(b)o(y)h(400)g Fv(ar)n(e)0 1134 y Fw(leap)j(y)o(ears.)19 +b(Therefore)c(the)g(y)o(ear)f(2000)f(will)f(b)q(e)j(a)f(leap)f(y)o +(ear.)19 b(\(Note)c(that)f(the)g(\\leap)0 1186 y(seconds")i(that)f(are) +g(sp)q(oradically)f(inserted)i(b)o(y)e(the)i(w)o(orld's)e(o\016cial)f +(timek)o(eep)q(ers)j(as)0 1238 y(an)g(additional)f(correction)i(are)g +(ignored;)g(Common)c(Lisp)j(assumes)h(that)f(ev)o(ery)h(da)o(y)0 +1290 y(is)e(exactly)f(86400)g(seconds)i(long.\))k(Univ)o(ersal)14 +b(Time)f(format)g(is)i(used)g(as)g(a)f(standard)0 1342 +y(time)i(represen)o(tation)k(within)d(the)h(ARP)m(ANET;)g(see)h +(reference)h([22)o(].)29 b(Because)20 b(the)0 1394 y(Common)9 +b(Lisp)j(Univ)o(ersal)g(Time)f(represen)o(tation)j(uses)g(only)d +(non-negativ)o(e)h(in)o(tegers,)0 1446 y(times)18 b(b)q(efore)j(the)f +(base)g(time)e(of)h(midnigh)o(t,)f(Jan)o(uary)h(1,)h(1900)e(GMT)h +(cannot)h(b)q(e)0 1498 y(pro)q(cessed)c(b)o(y)e(Common)c(Lisp.)42 +1551 y(In)o(ternal)16 b(Time)f(also)h(represen)o(ts)j(time)c(as)h(a)g +(single)g(in)o(teger,)h(but)g(in)f(terms)g(of)g(an)0 +1603 y(implemen)o(tatio)o(n-dep)q(enden)o(t)h(unit.)29 +b(Relativ)o(e)16 b(time)h(is)g(measured)h(as)f(a)g(n)o(um)o(b)q(er)g +(of)0 1654 y(these)e(units.)j(Absolute)d(time)d(is)i(relativ)o(e)f(to)h +(an)g(arbitrary)f(time)g(base,)h(t)o(ypically)e(the)0 +1706 y(time)h(at)g(whic)o(h)h(the)h(system)e(b)q(egan)h(running.)1209 +1887 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(get-decoded-time)0 +1965 y Fw(The)17 b(curren)o(t)i(time)d(is)h(returned)h(in)f(Deco)q(ded) +h(Time)d(format.)26 b(Nine)17 b(v)n(alues)g(are)g(re-)0 +2017 y(turned:)h Fv(se)n(c)n(ond)p Fw(,)12 b Fv(minute)p +Fw(,)g Fv(hour)p Fw(,)g Fv(date)p Fw(,)g Fv(month)p Fw(,)g +Fv(ye)n(ar)p Fw(,)g Fv(day-of-we)n(ek)p Fw(,)g Fv(daylight-saving-)0 +2069 y(time-p)p Fw(,)h(and)h Fv(time-zone)p Fw(.)p 0 +2129 V 0 2190 a Fm(Compatibilit)o(y)h(note:)23 b FA(In)16 +b(Lisp)g(Mac)o(hine)i(Lisp)e Fq(time-zone)d FA(is)k(not)f(curren)o(tly) +h(returned.)0 2236 y(Consider,)f(ho)o(w)o(ev)o(er,)g(the)f(use)g(of)g +(Common)g(Lisp)h(in)f(some)h(mobile)g(v)o(ehicle.)25 +b(It)14 b(is)i(en)o(tirely)0 2282 y(plausible)g(that)d(the)h(time)f +(zone)h(migh)o(t)f(c)o(hange)h(from)f(time)h(to)e(time.)p +0 2329 V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 762 786 +762 785 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(762)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(get-universal-tim)o(e)0 372 y Fw(The)20 b(curren)o(t)g(time)e(of)h +(da)o(y)g(is)g(returned)i(as)e(a)g(single)g(in)o(teger)g(in)g(Univ)o +(ersal)g(Time)0 423 y(format.)1209 549 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(decode-universal-)o(time)18 b Fv(universal)p +Fs(-)p Fv(time)23 b Fs(&optional)d Fv(time)p Fs(-)p Fv(zone)0 +626 y Fw(The)12 b(time)f(sp)q(eci\014ed)i(b)o(y)e Fv(universal-time)g +Fw(in)h(Univ)o(ersal)f(Time)f(format)g(is)i(con)o(v)o(erted)h(to)0 +678 y(Deco)q(ded)i(Time)e(format.)k(Nine)d(v)n(alues)g(are)h(returned:) +20 b Fv(se)n(c)n(ond)p Fw(,)14 b Fv(minute)p Fw(,)g Fv(hour)p +Fw(,)g Fv(date)p Fw(,)0 730 y Fv(month)p Fw(,)g Fv(ye)n(ar)p +Fw(,)f Fv(day-of-we)n(ek)p Fw(,)g Fv(daylight-saving-time-p)p +Fw(,)h(and)f Fv(time-zone)p Fw(.)p 0 789 V 0 849 a Fm(Compatibilit)o(y) +i(note:)23 b FA(In)16 b(Lisp)g(Mac)o(hine)i(Lisp)e Fq(time-zone)d +FA(is)k(not)f(curren)o(tly)h(returned.)0 895 y(Consider,)f(ho)o(w)o(ev) +o(er,)g(the)f(use)g(of)g(Common)g(Lisp)h(in)f(some)h(mobile)g(v)o +(ehicle.)25 b(It)14 b(is)i(en)o(tirely)0 941 y(plausible)g(that)d(the)h +(time)f(zone)h(migh)o(t)f(c)o(hange)h(from)f(time)h(to)e(time.)p +0 974 V 42 1044 a Fw(The)i Fv(time-zone)g Fw(argumen)o(t)e(defaults)i +(to)g(the)h(curren)o(t)g(time)e(zone.)42 1096 y(X3J13)d(v)o(oted)h(in)f +(Jan)o(uary)h(1989)e Ft(h)p Fw(47)p Ft(i)i Fw(to)f(sp)q(ecify)i(that)f +Fs(decode-universa)o(l-tim)o(e)p Fw(,)-33 1068 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1148 a(lik)o(e)17 b Fs(encode-universal)o(-tim)o(e)p +Fw(,)e(ignores)j(da)o(yligh)o(t)d(sa)o(ving)i(time)f(information)e(if)j +(a)0 1200 y Fv(time-zone)11 b Fw(is)f(explicitly)g(sp)q(eci\014ed;)i +(in)e(this)h(case)h(the)f(returned)h Fv(daylight-saving-time-)0 +1252 y(p)j Fw(v)n(alue)f(will)f(necessarily)j(b)q(e)g +Fs(nil)e Fw(ev)o(en)h(if)f(da)o(yligh)o(t)f(sa)o(ving)h(time)g(happ)q +(ens)h(to)g(b)q(e)g(in)0 1304 y(e\013ect)h(in)d(that)h(time)e(zone)j +(at)f(the)g(sp)q(eci\014ed)i(time.)-33 1316 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1209 1429 a([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(encode-universal-)o(time)18 b Fv(se)n(c)n(ond)26 +b(minute)e(hour)i(date)f(month)42 1481 y(ye)n(ar)h Fs(&optional)19 +b Fv(time)p Fs(-)p Fv(zone)0 1558 y Fw(The)d(time)f(sp)q(eci\014ed)i(b) +o(y)f(the)h(giv)o(en)e(comp)q(onen)o(ts)h(of)f(Deco)q(ded)i(Time)e +(format)f(is)h(en-)0 1610 y(co)q(ded)h(in)o(to)e(Univ)o(ersal)h(Time)f +(format)f(and)i(returned.)23 b(If)14 b(y)o(ou)h(do)g(not)g(sp)q(ecify)g +Fv(time-)0 1662 y(zone)p Fw(,)i(it)e(defaults)h(to)g(the)g(curren)o(t)i +(time)c(zone)j(adjusted)f(for)g(da)o(yligh)o(t)e(sa)o(ving)i(time.)0 +1714 y(If)e(y)o(ou)f(pro)o(vide)h Fv(time-zone)g Fw(explicitly)m(,)f +(no)g(adjustmen)o(t)h(for)f(da)o(yligh)o(t)g(sa)o(ving)g(time)g(is)0 +1766 y(p)q(erformed.)1204 1891 y([)p Fv(Constant)t Fw(])-1395 +b Fs(internal-time-uni)o(ts-pe)o(r-sec)o(ond)0 1968 y +Fw(This)18 b(v)n(alue)f(is)h(an)g(in)o(teger,)h(the)f(implemen)o +(tation-dep)q(enden)o(t)e(n)o(um)o(b)q(er)i(of)f(in)o(ternal)0 +2020 y(time)d(units)i(in)g(a)f(second.)25 b(\(The)16 +b(in)o(ternal)g(time)e(unit)i(m)o(ust)f(b)q(e)h(c)o(hosen)h(so)f(that)g +(one)0 2072 y(second)f(is)f(an)f(in)o(tegral)h(m)o(ultiple)d(of)i +(it.\))p 0 2132 V 0 2192 a Fm(Rationale:)18 b FA(The)c(reason)g(for)g +(allo)o(wing)i(the)e(in)o(ternal)h(time)f(units)h(to)f(b)q(e)g +(implemen)o(tation-)0 2237 y(dep)q(enden)o(t)20 b(is)f(so)g(that)g +Fj(get-inter)o(nal)o(-r)o(un-)o(ti)o(me)c FA(and)k Fj(get-intern)o(al-) +o(rea)o(l-)o(tim)o(e)c FA(can)0 2283 y(execute)h(with)g(minim)o(um)h(o) +o(v)o(erhead.)26 b(The)15 b(idea)i(is)f(that)f(it)h(should)i(b)q(e)d(v) +o(ery)h(lik)o(ely)i(that)e(a)0 2329 y(\014xn)o(um)e(will)g(su\016ce)g +(as)f(the)g(returned)h(v)n(alue)g(from)f(these)g(functions.)18 +b(This)c(probabilit)o(y)i(can)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 763 787 +763 786 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MISCELLANEOUS)13 +b(FEA)m(TURES)828 b(763)0 295 y FA(b)q(e)12 b(tuned)h(to)f(the)g +(implemen)o(tation)j(b)o(y)e(trading)g(o\013)g(the)f(sp)q(eed)h(of)e +(the)i(mac)o(hine)g(against)g(the)0 340 y(w)o(ord)i(size.)24 +b(An)o(y)15 b(particular)j(unit)e(will)g(b)q(e)g(inappropriate)i(for)d +(some)g(implemen)o(tation)q(s:)24 b(a)0 386 y(microsecond)17 +b(is)f(to)q(o)f(long)h(for)f(a)g(v)o(ery)h(fast)f(mac)o(hine,)i(while)f +(a)f(m)o(uc)o(h)h(smaller)g(unit)h(w)o(ould)0 432 y(force)9 +b(man)o(y)h(implemen)o(tations)i(to)d(return)h(bign)o(ums)h(for)e(most) +g(calls)i(to)e Fj(get-inter)o(na)o(l-t)o(im)o(e)p FA(,)0 +477 y(rendering)15 b(that)e(function)h(less)g(useful)g(for)f(accurate)h +(timing)g(measuremen)o(ts.)p 0 515 V 1209 638 a Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(get-internal-run-)o(time)0 +716 y Fw(The)14 b(curren)o(t)i(run)e(time)e(is)i(returned)h(as)f(a)g +(single)f(in)o(teger)i(in)e(In)o(ternal)h(Time)e(format.)0 +767 y(The)19 b(precise)h(meaning)d(of)h(this)h(quan)o(tit)o(y)e(is)i +(implemen)o(tatio)o(n-dep)q(enden)o(t;)g(it)g(ma)o(y)0 +819 y(measure)13 b(real)h(time,)e(run)i(time,)e(CPU)h(cycles,)i(or)e +(some)g(other)h(quan)o(tit)o(y)m(.)j(The)d(in)o(ten)o(t)0 +871 y(is)h(that)h(the)g(di\013erence)i(b)q(et)o(w)o(een)f(the)f(v)n +(alues)f(of)g(t)o(w)o(o)g(calls)h(to)f(this)h(function)f(b)q(e)h(the)0 +923 y(amoun)o(t)c(of)h(time)g(b)q(et)o(w)o(een)i(the)f(t)o(w)o(o)f +(calls)h(during)f(whic)o(h)h(computational)d(e\013ort)k(w)o(as)0 +975 y(exp)q(ended)g(on)f(b)q(ehalf)g(of)f(the)h(executing)h(program.) +1209 1119 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(get-internal-real)o +(-time)0 1196 y Fw(The)12 b(curren)o(t)i(time)c(is)i(returned)i(as)e(a) +f(single)h(in)o(teger)g(in)g(In)o(ternal)g(Time)e(format.)16 +b(This)0 1248 y(time)9 b(is)h(relativ)o(e)g(to)g(an)g(arbitrary)g(time) +f(base,)i(but)f(the)h(di\013erence)h(b)q(et)o(w)o(een)f(the)g(v)n +(alues)0 1300 y(of)j(t)o(w)o(o)g(calls)g(to)h(this)g(function)f(will)f +(b)q(e)i(the)g(amoun)o(t)e(of)h(elapsed)h(real)g(time)e(b)q(et)o(w)o +(een)0 1352 y(the)i(t)o(w)o(o)g(calls,)f(measured)h(in)f(the)h(units)g +(de\014ned)h(b)o(y)f Fs(internal-time-un)o(its-p)o(er-)0 +1403 y(second)p Fw(.)1209 1547 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(sleep)20 b Fv(se)n(c)n(onds)0 1624 y +Fs(\(sleep)g Fv(n)p Fs(\))13 b Fw(causes)i(execution)f(to)f(cease)i +(and)e(b)q(ecome)g(dorman)o(t)e(for)i(appro)o(ximately)0 +1676 y Fv(n)i Fw(seconds)h(of)d(real)i(time,)e(whereup)q(on)i +(execution)g(is)g(resumed.)20 b(The)14 b(argumen)o(t)g(ma)o(y)0 +1728 y(b)q(e)h(an)o(y)e(non-negativ)o(e)g(non-complex)g(n)o(um)o(b)q +(er.)k Fs(sleep)c Fw(returns)i Fs(nil)p Fw(.)0 1892 y +Fo(25.4.2.)20 b(Other)14 b(En)n(vironmen)n(t)f(Inquiries)0 +1982 y Fw(F)m(or)i(an)o(y)h(of)f(the)h(follo)o(wing)d(functions,)j(if)f +(no)g(appropriate)h(and)f(relev)n(an)o(t)h(result)h(can)0 +2033 y(b)q(e)e(pro)q(duced,)f Fs(nil)f Fw(is)h(returned)i(instead)e(of) +f(a)h(string.)p 0 2093 V 0 2154 a Fm(Rationale:)k FA(These)c(inquiry)i +(facilities)g(are)e(functions)h(rather)f(than)g(v)n(ariables)i(against) +f(the)0 2199 y(p)q(ossibili)q(t)o(y)j(that)e(a)g(Common)f(Lisp)i(pro)q +(cess)f(migh)o(t)g(migrate)h(from)e(mac)o(hine)i(to)e(mac)o(hine.)0 +2245 y(This)d(need)g(not)f(happ)q(en)i(in)f(a)f(distributed)j(en)o +(vironmen)o(t;)f(consider,)g(for)e(example,)i(dumping)0 +2291 y(a)g(core)g(image)h(\014le)g(con)o(taining)i(a)d(compiler)h(and)g +(then)g(shipping)h(it)f(to)f(another)h(site.)p 0 2329 +V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 764 788 +764 787 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(764)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(lisp-implementati)o(on-ty)o(pe)0 372 y Fw(A)11 b(string)f(is)h +(returned)h(that)f(iden)o(ti\014es)g(the)g(generic)g(name)f(of)g(the)h +(particular)f(Common)0 424 y(Lisp)k(implemen)o(tati)o(on.)h(Examples:)i +Fs("Spice)j(LISP")p Fw(,)12 b Fs("Zetalisp")p Fw(.)1209 +578 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(lisp-implementati)o(on-ve)o +(rsion)0 655 y Fw(A)12 b(string)h(is)f(returned)i(that)e(iden)o +(ti\014es)g(the)h(v)o(ersion)g(of)e(the)i(particular)f(Common)d(Lisp)0 +707 y(implemen)o(tatio)o(n;)g(this)i(information)c(should)k(b)q(e)g(of) +f(use)i(to)e(main)o(tainers)f(of)h(the)i(imple-)0 759 +y(men)o(tation.)21 b(Examples:)f Fs("1192")p Fw(,)15 +b Fs("53.7)20 b(with)g(complex)g(numbers")p Fw(,)14 b +Fs("1746.9A,)0 811 y(NEWIO)20 b(53,)h(ETHER)f(5.3")p +Fw(.)1209 964 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(machine-type)0 +1042 y Fw(A)11 b(string)g(is)g(returned)h(that)f(iden)o(ti\014es)g(the) +h(generic)f(name)f(of)g(the)i(computer)e(hardw)o(are)0 +1093 y(on)h(whic)o(h)g(Common)d(Lisp)k(is)f(running.)17 +b(Examples:)e Fs("IMLAC")p Fw(,)10 b Fs("DEC)21 b(PDP-10")p +Fw(,)10 b Fs("DEC)0 1145 y(VAX-11/780")p Fw(.)1209 1299 +y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(machine-version)0 +1376 y Fw(A)15 b(string)h(is)f(returned)i(that)e(iden)o(ti\014es)h(the) +g(v)o(ersion)f(of)g(the)g(computer)g(hardw)o(are)h(on)0 +1428 y(whic)o(h)e(Commo)o(n)d(Lisp)j(is)g(running.)k(Example:)e +Fs("KL10,)k(microcode)f(9")p Fw(.)1209 1582 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(machine-instance)0 1659 y Fw(A)18 b(string)g(is)f +(returned)j(that)e(iden)o(ti\014es)g(the)g(particular)g(instance)g(of)g +(the)g(computer)0 1711 y(hardw)o(are)13 b(on)g(whic)o(h)g(Common)d +(Lisp)j(is)g(running;)f(this)h(migh)o(t)e(b)q(e)j(a)e(lo)q(cal)h(nic)o +(kname,)0 1763 y(for)h(example,)e(or)i(a)f(serial)h(n)o(um)o(b)q(er.)j +(Examples:)g Fs("MIT-MC")p Fw(,)12 b Fs("CMU)20 b(GP-VAX")p +Fw(.)1209 1917 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(software-type)0 +1994 y Fw(A)10 b(string)h(is)f(returned)i(that)e(iden)o(ti\014es)h(the) +g(generic)g(name)e(of)g(an)o(y)h(relev)n(an)o(t)h(supp)q(orting)0 +2046 y(soft)o(w)o(are.)18 b(Examples:)f Fs("Spice")p +Fw(,)12 b Fs("TOPS-20")p Fw(,)f Fs("ITS")p Fw(.)1209 +2200 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(software-version)0 +2277 y Fw(A)12 b(string)f(is)h(returned)h(that)f(iden)o(ti\014es)g(the) +g(v)o(ersion)g(of)f(an)o(y)g(relev)n(an)o(t)h(supp)q(orting)g(soft-)0 +2329 y(w)o(are;)h(this)f(information)d(should)k(b)q(e)f(of)g(use)h(to)f +(main)o(tainers)f(of)h(the)h(implem)o(en)o(tation.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 765 789 +765 788 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(MISCELLANEOUS)13 +b(FEA)m(TURES)828 b(765)1209 295 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(short-site-name)1209 347 y Fw([)p Fv(F)m(unction)s +Fw(])g Fs(long-site-name)0 423 y Fw(A)11 b(string)h(is)f(returned)i +(that)e(iden)o(ti\014es)h(the)f(ph)o(ysical)g(lo)q(cation)f(of)h(the)h +(computer)f(hard-)0 475 y(w)o(are.)17 b(Examples)8 b(of)i(short)g +(names:)15 b Fs("MIT)20 b(AI)h(Lab")p Fw(,)9 b Fs("CMU-CSD")p +Fw(.)15 b(Examples)9 b(of)g(long)0 527 y(names:)0 613 +y Fs("MIT)20 b(Artificial)f(Intelligence)g(Laboratory")0 +664 y("Massachusetts)f(Institute)i(of)g(Technology)0 +716 y(Artificial)f(Intelligence)g(Laboratory")0 768 y("Carnegie-Mellon) +f(University)h(Computer)g(Science)h(Department")0 854 +y Fw(See)15 b(also)e Fs(user-homedir-pathn)o(ame)p Fw(.)1219 +981 y([)p Fv(V)m(ariable)s Fw(])-1396 b Fs(*features*)0 +1058 y Fw(The)24 b(v)n(alue)g(of)f(the)i(v)n(ariable)e +Fs(*features*)f Fw(should)i(b)q(e)g(a)g(list)g(of)f(sym)o(b)q(ols)g +(that)0 1110 y(name)15 b(\\features")i(pro)o(vided)f(b)o(y)g(the)g +(implemen)o(tation.)22 b(Most)16 b(suc)o(h)h(names)e(will)g(b)q(e)0 +1162 y(implemen)o(tatio)o(n-sp)q(eci\014c;)f(t)o(ypically)g(a)h(name)f +(for)h(the)h(implemen)o(tatio)o(n)d(will)g(b)q(e)j(in-)0 +1214 y(cluded.)42 1266 y(One)22 b(standard)h(feature)g(name)e(is)h +Fs(ieee-floating-p)o(oint)p Fw(,)e(whic)o(h)i(should)g(b)q(e)-38 +1241 y Fk(.)-38 1254 y(.)-38 1267 y(.)-38 1280 y(.)-38 +1293 y(.)-38 1306 y(.)-38 1318 y(.)-38 1331 y(.)-38 1344 +y(.)-38 1357 y(.)-38 1370 y(.)-38 1383 y(.)-38 1396 y(.)-38 +1409 y(.)-38 1422 y(.)-38 1435 y(.)-38 1448 y(.)-38 1461 +y(.)-38 1474 y(.)-38 1487 y(.)-38 1500 y(.)-38 1513 y(.)-38 +1526 y(.)-38 1539 y(.)-38 1552 y(.)-38 1565 y(.)-38 1578 +y(.)-38 1591 y(.)-38 1604 y(.)-38 1617 y(.)-38 1630 y(.)-38 +1643 y(.)-38 1656 y(.)-38 1669 y(.)-38 1682 y(.)-38 1695 +y(.)-38 1708 y(.)-38 1721 y(.)-38 1734 y(.)-38 1747 y(.)-38 +1760 y(.)-38 1773 y(.)-38 1785 y(.)-38 1798 y(.)-38 1811 +y(.)-38 1824 y(.)-38 1837 y(.)-38 1850 y(.)-38 1863 y(.)-38 +1876 y(.)-38 1889 y(.)-38 1902 y(.)-38 1915 y(.)-38 1928 +y(.)-38 1941 y(.)-38 1954 y(.)-38 1967 y(.)-38 1980 y(.)-38 +1993 y(.)-38 2006 y(.)-38 2019 y(.)-38 2032 y(.)-38 2045 +y(.)-38 2058 y(.)-38 2071 y(.)-38 2084 y(.)-38 2097 y(.)-38 +2110 y(.)-38 2123 y(.)-38 2136 y(.)-38 2149 y(.)-38 2162 +y(.)-38 2175 y(.)-38 2188 y(.)-38 2201 y(.)-38 2214 y(.)-38 +2227 y(.)-38 2240 y(.)-38 2252 y(.)-38 2265 y(.)-38 2278 +y(.)-38 2291 y(.)-38 2304 y(.)-38 2317 y(.)-38 2330 y(.)-38 +2343 y(.)-38 2356 y(.)-38 2369 y(.)-38 2382 y(.)-38 2395 +y(.)-38 2408 y(.)-38 2421 y(.)-38 2434 y(.)-38 2447 y(.)-38 +2460 y(.)-38 2473 y(.)-38 2486 y(.)-38 2499 y(.)-38 2512 +y(.)-38 2525 y(.)-38 2538 y(.)-38 2551 y(.)-38 2564 y(.)-38 +2577 y(.)-38 2590 y(.)-38 2603 y(.)-38 2616 y(.)-38 2629 +y(.)-38 2642 y(.)-38 2655 y(.)-38 2668 y(.)-38 2681 y(.)-38 +2694 y(.)-38 2707 y(.)-38 2719 y(.)-38 2732 y(.)-38 2745 +y(.)-38 2758 y(.)-38 2771 y(.)-38 2784 y(.)-38 2797 y(.)-38 +2810 y(.)-38 2823 y(.)-38 2836 y(.)-38 2849 y(.)-38 2862 +y(.)-38 2875 y(.)-38 2888 y(.)-38 2901 y(.)-38 2914 y(.)-38 +2927 y(.)-38 2940 y(.)-38 2953 y(.)-38 2966 y(.)-38 2979 +y(.)-38 2992 y(.)-38 3005 y(.)-38 3018 y(.)-38 3031 y(.)-38 +3044 y(.)-38 3057 y(.)-38 3070 y(.)-38 3083 y(.)-38 3096 +y(.)-38 3109 y(.)-38 3122 y(.)-38 3135 y(.)-38 3148 y(.)-38 +3161 y(.)-38 3173 y(.)-38 3186 y(.)-38 3199 y(.)-38 3212 +y(.)-38 3225 y(.)-38 3238 y(.)-38 3251 y(.)-38 3264 y(.)-38 +3277 y(.)-38 3290 y(.)-38 3303 y(.)-38 3316 y(.)-38 3329 +y(.)-38 3342 y(.)-38 3355 y(.)-38 3368 y(.)-38 3381 y(.)-38 +3394 y(.)-38 3407 y(.)-38 3420 y(.)-38 3433 y(.)-38 3446 +y(.)-38 3459 y(.)-38 3472 y(.)-38 3485 y(.)-38 3498 y(.)-38 +3511 y(.)-38 3524 y(.)-38 3537 y(.)-38 3550 y(.)-38 3563 +y(.)-38 3576 y(.)-38 3589 y(.)-38 3602 y(.)-38 3615 y(.)-38 +3628 y(.)-38 3640 y(.)-38 3653 y(.)-38 3666 y(.)-38 3679 +y(.)-38 3692 y(.)-38 3705 y(.)-38 3718 y(.)-38 3731 y(.)-38 +3744 y(.)-38 3757 y(.)-38 3770 y(.)-38 3783 y(.)-38 3796 +y(.)-38 3809 y(.)-38 3822 y(.)0 1318 y Fw(presen)o(t)g(if)e(and)g(only) +g(if)g(full)f(IEEE)j(prop)q(osed)f(\015oating-p)q(oin)o(t)e(arithmetic) +h([23)o(])g(is)0 1369 y(supp)q(orted.)-33 1381 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 42 1421 a(The)14 b(v)n(alue)f(of)g(this)h(v)n(ariable)f +(is)h(used)h(b)o(y)e(the)i Fs(#)784 1417 y(-)784 1425 +y(-)806 1421 y(+)e Fw(and)h Fs(#)922 1417 y(-)922 1425 +y(-)944 1421 y(-)f Fw(reader)i(syn)o(tax.)42 1473 y(X3J13)9 +b(v)o(oted)i(in)e(Marc)o(h)i(1988)e Ft(h)p Fw(163)p Ft(i)g +Fw(to)h(sp)q(ecify)h(that)f(feature)h(names)e(used)i(with)f +Fs(#)1351 1469 y(-)1351 1477 y(-)1373 1473 y(+)-33 1445 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1525 a Fw(and)k Fs(#)81 1521 y(-)81 1529 +y(-)103 1525 y(-)g Fw(are)h(read)g(in)e(the)i Fs(keyword)e +Fw(pac)o(k)n(age)h(unless)h(an)f(explicit)g(pre\014x)h(designating)0 +1577 y(some)i(other)i(pac)o(k)n(age)f(app)q(ears.)32 +b(The)19 b(standard)g(feature)g(name)e Fs(ieee-floating-)0 +1629 y(point)c Fw(is)g(therefore)i(actually)e(the)h(k)o(eyw)o(ord)g +Fs(:ieee-floating-po)o(int)p Fw(,)c(though)k(one)0 1681 +y(need)e(not)g(write)f(the)h(colon)f(when)h(using)f(it)g(with)g +Fs(#)787 1677 y(-)787 1685 y(-)809 1681 y(+)g Fw(or)g +Fs(#)890 1677 y(-)890 1685 y(-)912 1681 y(-)p Fw(;)g(th)o(us)h +Fs(#)1046 1677 y(-)1046 1685 y(-)1068 1681 y(+ieee-floating-)0 +1733 y(point)h Fw(and)h Fs(#)204 1729 y(-)204 1737 y(-)225 +1733 y(+:ieee-floating-poi)o(nt)d Fw(mean)h(the)j(same)e(thing.)-33 +1744 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 1883 a Fo(25.5.)20 b(Iden)n(tit)n(y)15 +b(F)-5 b(unction)0 1969 y Fw(This)17 b(function)g(is)g(o)q(ccasionally) +f(useful)i(as)f(an)g(argumen)o(t)f(to)h(other)h(functions)g(that)0 +2020 y(require)d(functions)f(as)g(argumen)o(ts.)j(\(Got)c(that?\))1209 +2148 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(identity)20 +b Fv(obje)n(ct)0 2225 y Fw(The)14 b Fv(obje)n(ct)g Fw(is)g(returned)h +(as)f(the)h(v)n(alue)e(of)g Fs(identity)p Fw(.)42 2277 +y(The)g Fs(identity)e Fw(function)h(is)h(the)g(default)f(v)n(alue)g +(for)g(the)i Fs(:key)e Fw(argumen)o(t)f(to)i(man)o(y)-33 +2249 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 2329 a(sequence)j(functions)e(\(see)h(c)o(hapter)g +(14\).)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 766 790 +766 789 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(766)77 b(COMMON)13 +b(LISP)42 295 y Fw(T)m(able)i(12-1)h(illustrates)h(the)g(b)q(eha)o +(vior)f(in)g(the)i(complex)d(plane)h(of)g(the)h Fs(identity)0 +347 y Fw(function)d(regarded)g(as)g(a)g(function)g(of)f(a)g(complex)g +(n)o(umerical)f(argumen)o(t.)42 399 y(Man)o(y)18 b(other)i(constructs)i +(in)c(Common)e(Lisp)k(ha)o(v)o(e)f(the)h(b)q(eha)o(vior)f(of)f +Fs(identity)0 450 y Fw(when)g(giv)o(en)e(a)h(single)g(argumen)o(t.)27 +b(F)m(or)17 b(example,)f(one)i(migh)o(t)d(w)o(ell)h(use)i +Fs(values)e Fw(in)0 502 y(place)c(of)f Fs(identity)p +Fw(.)16 b(Ho)o(w)o(ev)o(er,)c(writing)e Fs(values)h Fw(of)g(a)g(single) +h(argumen)o(t)e(con)o(v)o(en)o(tion-)0 554 y(ally)j(indicates)h(that)g +(the)h(argumen)o(t)d(form)h(migh)o(t)f(deliv)o(er)h(m)o(ultiple)f(v)n +(alues)i(and)g(that)0 606 y(the)g(in)o(ten)o(t)g(is)g(to)g(pass)g(on)g +(only)f(the)i(\014rst)f(of)f(those)i(v)n(alues.)p 0 666 +V 0 726 a Fm(Compatibilit)o(y)8 b(note:)15 b FA(In)10 +b(Maclisp,)h Fj(progn)c FA(w)o(as)j(a)f(function)i(of)e(an)o(y)g(n)o +(um)o(b)q(er)i(of)e(argumen)o(ts)0 772 y(that)k(returned)i(its)e(last)h +(argumen)o(t,)g(so)f Fj(progn)f FA(could)i(b)q(e)g(used)g(as)f(an)g +(iden)o(tit)o(y)j(function.)j(In)0 817 y(Common)10 b(Lisp,)h +Fj(progn)c FA(is)j(a)g(sp)q(ecial)i(form)d(and)h(therefore)g(cannot)g +(b)q(e)g(used)g(for)g(that)g(purp)q(ose.)p 0 852 V -33 +864 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1480 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 767 791 +767 790 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(26)p 0 448 598 +9 v 0 531 a Fp(Lo)r(op)0 683 y Fx(BY)13 b(JON)h(L)g(WHITE)0 +943 y Fr(p)t(r)t(e)t(f)t(a)t(c)t(e)t(:)27 b Fw(X3J13)17 +b(v)o(oted)h(in)f(Jan)o(uary)g(1989)g Ft(h)p Fw(115)p +Ft(i)f Fw(to)i(adopt)f(an)g(extended)i(def-)-33 915 y +@beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 995 a(inition)c(of)h(the)h Fs(loop)f Fw(macro)f(as)i(a)f +(part)h(of)f(the)h(forthcoming)e(draft)i(Comm)o(on)d(Lisp)0 +1047 y(standard.)42 1099 y(This)d(c)o(hapter)i(presen)o(ts)h(the)e +(bulk)g(of)f(the)i(Commo)o(n)c(Lisp)j(Lo)q(op)f(F)m(acilit)o(y)g(prop)q +(osal,)0 1151 y(written)19 b(b)o(y)g(Jon)g(L)g(White.)33 +b(I)19 b(ha)o(v)o(e)g(edited)g(it)g(only)f(v)o(ery)h(ligh)o(tly)f(to)g +(conform)g(to)0 1203 y(the)e(o)o(v)o(erall)d(st)o(yle)i(of)g(this)g(b)q +(o)q(ok)f(and)h(ha)o(v)o(e)g(inserted)h(a)e(small)f(n)o(um)o(b)q(er)h +(of)h(brac)o(k)o(eted)0 1255 y(remarks,)20 b(iden)o(ti\014ed)f(b)o(y)g +(the)h(initials)d(GLS.)h(\(See)j(the)e(Ac)o(kno)o(wledgmen)o(ts)g(to)g +(this)0 1307 y(second)f(edition)f(for)f(ac)o(kno)o(wledgmen)o(ts)g(to)h +(others)h(who)f(con)o(tributed)h(to)e(the)i(Lo)q(op)0 +1358 y(F)m(acilit)o(y)12 b(prop)q(osal.\))1042 1410 y(|Guy)g(L.)i +(Steele)h(Jr.)0 1500 y Fo(26.1.)20 b(In)n(tro)r(duction)0 +1583 y Fw(A)11 b Fv(lo)n(op)j Fw(is)d(a)g(series)i(of)d(expressions)j +(that)e(are)h(executed)h(one)e(or)h(more)e(times,)g(a)h(pro)q(cess)0 +1635 y(kno)o(wn)17 b(as)h Fv(iter)n(ation)p Fw(.)30 b(The)18 +b Fv(L)n(o)n(op)h(F)m(acility)i Fw(de\014nes)e(a)f(v)n(ariet)o(y)f(of)h +(useful)g(metho)q(ds,)0 1687 y(indicated)c(b)o(y)g Fv(lo)n(op)h(keywor) +n(ds)p Fw(,)e(to)g(iterate)i(and)f(to)f(accum)o(ulate)g(v)n(alues)h(in) +f(a)h(lo)q(op.)42 1739 y(Lo)q(op)20 b(k)o(eyw)o(ords)g(are)h(not)g +(true)g(Common)c(Lisp)k(k)o(eyw)o(ords;)i(they)e(are)g(sym)o(b)q(ols)0 +1791 y(that)c(are)h(recognized)g(b)o(y)e(the)i(Lo)q(op)f(F)m(acilit)o +(y)e(and)i(that)g(pro)o(vide)g(suc)o(h)h(capabilities)0 +1843 y(as)d(con)o(trolling)e(the)i(direction)g(of)f(iteration,)f(accum) +o(ulating)g(v)n(alues)h(inside)h(the)g(b)q(o)q(dy)0 1895 +y(of)e(a)g(lo)q(op,)f(and)i(ev)n(aluating)e(expressions)j(that)e +(precede)j(or)d(follo)o(w)f(the)i(lo)q(op)f(b)q(o)q(dy)m(.)k(If)0 +1946 y(y)o(ou)12 b(do)g(not)g(use)h(an)o(y)f(lo)q(op)g(k)o(eyw)o(ords,) +g(the)h(Lo)q(op)f(F)m(acilit)o(y)f(simply)f(executes)15 +b(the)e(lo)q(op)0 1998 y(b)q(o)q(dy)h(rep)q(eatedly)m(.)0 +2142 y Fo(26.2.)20 b(Ho)n(w)c(the)f(Lo)r(op)f(F)-5 b(acilit)n(y)14 +b(W)-5 b(orks)0 2225 y Fw(The)21 b(driving)e(elemen)o(t)h(of)f(the)i +(Lo)q(op)f(F)m(acilit)o(y)e(is)i(the)h Fs(loop)f Fw(macro.)35 +b(When)21 b(Lisp)0 2277 y(encoun)o(ters)15 b(a)d Fs(loop)h +Fw(macro)e(call)h(form,)f(it)i(in)o(v)o(ok)o(es)f(the)i(Lo)q(op)f(F)m +(acilit)o(y)e(and)i(passes)h(to)0 2329 y(it)d(the)h(lo)q(op)f(clauses)h +(as)f(a)g(list)g(of)g(unev)n(aluated)g(forms,)f(as)i(with)f(an)o(y)g +(macro.)16 b(The)c(lo)q(op)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1337 2428 a Fy(767)p eop +%%Page: 768 792 +768 791 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(768)77 b(COMMON)13 +b(LISP)0 295 y Fw(clauses)j(con)o(tain)f(Common)d(Lisp)j(forms)f(and)h +(lo)q(op)f(k)o(eyw)o(ords.)22 b(The)16 b(lo)q(op)e(k)o(eyw)o(ords)0 +347 y(are)g(recognized)h(b)o(y)e(their)h(sym)o(b)q(ol)e(name,)g +(regardless)j(of)e(the)h(pac)o(k)n(ages)g(that)f(con)o(tain)0 +399 y(them.)k(The)12 b Fs(loop)f Fw(macro)g(translates)i(the)f(giv)o +(en)g(form)e(in)o(to)h(Common)e(Lisp)j(co)q(de)h(and)0 +450 y(returns)i(the)g(expanded)g(form.)42 505 y(The)i(expanded)h(lo)q +(op)f(form)e(is)i(one)h(or)f(more)f(lam)o(b)q(da-expressions)h(for)g +(the)h(lo)q(cal)0 557 y(binding)d(of)h(lo)q(op)f(v)n(ariables)h(and)g +(a)f(blo)q(c)o(k)h(and)g(a)g(tagb)q(o)q(dy)g(that)g(express)i(a)e(lo)q +(oping)0 608 y(con)o(trol)f(structure.)23 b(The)16 b(v)n(ariables)e +(established)i(in)f(the)g(lo)q(op)f(construct)j(are)f(b)q(ound)0 +660 y(as)g(if)f(b)o(y)h(using)f Fs(let)h Fw(or)f Fs(lambda)p +Fw(.)23 b(Implemen)o(tations)13 b(can)k(in)o(terlea)o(v)o(e)f(the)g +(setting)g(of)0 712 y(initial)11 b(v)n(alues)i(with)f(the)i(bindings.)j +(Ho)o(w)o(ev)o(er,)c(the)g(assignmen)o(t)f(of)h(the)g(initial)e(v)n +(alues)0 764 y(is)19 b(alw)o(a)o(ys)f(calculated)h(in)f(the)i(order)f +(sp)q(eci\014ed)i(b)o(y)d(the)i(user.)34 b(A)19 b(v)n(ariable)f(is)g +(th)o(us)0 816 y(sometimes)11 b(b)q(ound)i(to)g(a)f(harmless)g(v)n +(alue)h(of)f(the)h(correct)i(data)d(t)o(yp)q(e,)h(and)g(then)h(later)0 +868 y(in)f(the)i(prologue)e(it)h(is)g(set)g(to)g(the)h(true)f(initial)e +(v)n(alue)i(b)o(y)f(using)h Fs(setq)p Fw(.)42 922 y(The)g(expanded)g +(form)f(consists)i(of)e(three)i(basic)f(parts)g(in)g(the)g(tagb)q(o)q +(dy:)0 1013 y Fu(.)42 1022 y Fw(The)f Fv(lo)n(op)h(pr)n(olo)n(gue)h +Fw(con)o(tains)e(forms)e(that)i(are)g(executed)i(b)q(efore)f(iteration) +e(b)q(egins,)42 1074 y(suc)o(h)i(as)f(initial)f(settings)i(of)f(lo)q +(op)g(v)n(ariables)f(and)i(p)q(ossibly)f(an)g(initial)e(termination)42 +1125 y(test.)0 1226 y Fu(.)42 1235 y Fw(The)21 b Fv(lo)n(op)h(b)n(o)n +(dy)j Fw(con)o(tains)c(those)h(forms)d(that)i(are)h(executed)h(during)e +(iteration,)42 1287 y(including)15 b(application-sp)q(eci\014c)i +(calculations,)g(termination)e(tests,)j(and)f(v)n(ariable)42 +1339 y(stepping.)h Fv(Stepping)g Fw(is)13 b(the)i(pro)q(cess)g(of)e +(assigning)g(a)g(v)n(ariable)g(the)h(next)g(item)f(in)g(a)42 +1391 y(series)i(of)e(items.)0 1491 y Fu(.)42 1500 y Fw(The)18 +b Fv(lo)n(op)g(epilo)n(gue)g Fw(con)o(tains)g(forms)e(that)i(are)g +(executed)i(after)e(iteration)f(termi-)42 1552 y(nates,)d(suc)o(h)g(as) +g(co)q(de)h(to)f(return)h(v)n(alues)e(from)g(the)h(lo)q(op.)42 +1652 y(Expansion)20 b(of)g(the)i Fs(loop)e Fw(macro)f(pro)q(duces)k(an) +d(implicit)e(blo)q(c)o(k)j(\(named)f Fs(nil)p Fw(\).)0 +1704 y(Th)o(us,)f(the)g(Commo)o(n)d(Lisp)i(macro)f Fs(return)f +Fw(and)i(the)h(sp)q(ecial)g(form)d Fs(return-from)0 1755 +y Fw(can)e(b)q(e)h(used)f(to)g(return)h(v)n(alues)f(from)e(a)i(lo)q(op) +f(or)g(to)h(exit)g(a)g(lo)q(op.)42 1810 y(Within)9 b(the)h(executable)i +(parts)f(of)e(lo)q(op)h(clauses)h(and)f(around)g(the)h(en)o(tire)g(lo)q +(op)e(form,)0 1862 y(y)o(ou)k(can)i(still)d(bind)i(v)n(ariables)f(b)o +(y)h(using)f(the)i(Common)c(Lisp)i(sp)q(ecial)h(form)f +Fs(let)p Fw(.)0 2109 y Fo(26.3.)20 b(P)n(arsing)c(Lo)r(op)e(Clauses)0 +2225 y Fw(The)i(syn)o(tactic)g(parts)g(of)f(a)h(lo)q(op)e(construct)k +(are)e(called)f Fv(clauses)p Fw(;)h(the)g(scop)q(e)h(of)e(eac)o(h)0 +2277 y(clause)i(is)f(determined)g(b)o(y)g(the)h(top-lev)o(el)f(parsing) +g(of)g(that)g(clause's)h(k)o(eyw)o(ord.)25 b(The)0 2329 +y(follo)o(wing)11 b(example)i(sho)o(ws)h(a)g(lo)q(op)f(construct)i +(with)f(six)g(clauses:)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 769 793 +769 792 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LOOP)1235 b(769)0 +295 y Fs(\(loop)20 b(for)h(i)g(from)f(1)h(to)g(\(compute-top-val)o +(ue\))187 b(;)p Fw(First)14 b(clause)127 347 y Fs(while)20 +b(\(not)h(\(unacceptable)d(i\)\))338 b(;)p Fw(Second)15 +b(clause)127 399 y Fs(collect)20 b(\(square)f(i\))550 +b(;)p Fw(Third)14 b(clause)127 450 y Fs(do)21 b(\(format)f(t)g +("Working)g(on)667 454 y Fn(~)690 450 y Fs(D)h(now")f(i\))190 +b(;)p Fw(F)m(ourth)14 b(clause)127 502 y Fs(when)20 b(\(evenp)g(i\))635 +b(;)p Fw(Fifth)13 b(clause)169 554 y Fs(do)21 b(\(format)f(t)h(")471 +558 y Fn(~)494 554 y Fs(D)g(is)f(a)h(non-odd)f(number")g(i\))127 +606 y(finally)g(\(format)f(t)i("About)f(to)h(exit!"\)\))168 +b(;)p Fw(Sixth)13 b(clause)42 699 y(Eac)o(h)j(lo)q(op)f(k)o(eyw)o(ord)i +(in)o(tro)q(duces)g(either)g(a)f(comp)q(ound)f(lo)q(op)g(clause)i(or)f +(a)g(simple)0 750 y(lo)q(op)c(clause)i(that)f(can)g(consist)h(of)e(a)h +(lo)q(op)f(k)o(eyw)o(ord)h(follo)o(w)o(ed)e(b)o(y)i(a)f(single)h(Lisp)g +(form.)0 802 y(The)20 b(n)o(um)o(b)q(er)f(of)f(forms)g(in)h(a)h(clause) +g(is)f(determined)g(b)o(y)h(the)g(lo)q(op)e(k)o(eyw)o(ord)i(that)0 +854 y(b)q(egins)14 b(the)h(clause)f(and)g(b)o(y)f(the)i(auxiliary)d(k)o +(eyw)o(ords)i(in)f(the)i(clause.)j(The)c(k)o(eyw)o(ords)0 +906 y Fs(do)p Fw(,)i Fs(initially)p Fw(,)f(and)i Fs(finally)e +Fw(are)i(the)g(only)f(lo)q(op)f(k)o(eyw)o(ords)i(that)g(can)g(tak)o(e)f +(an)o(y)0 958 y(n)o(um)o(b)q(er)d(of)g(Lisp)h(forms)f(and)g(group)h +(them)f(as)h(if)f(in)h(a)f(single)h Fs(progn)f Fw(form.)42 +1011 y(Lo)q(op)j(clauses)i(can)f(con)o(tain)g(auxiliary)e(k)o(eyw)o +(ords,)j(whic)o(h)e(are)i(sometimes)d(called)0 1063 y +Fv(pr)n(ep)n(ositions)p Fw(.)j(F)m(or)c(example,)f(the)h(\014rst)h +(clause)g(in)f(the)g(preceding)i(co)q(de)f(includes)f(the)0 +1114 y(prep)q(ositions)h Fs(from)f Fw(and)h Fs(to)p Fw(,)f(whic)o(h)g +(mark)f(the)j(v)n(alue)e(from)f(whic)o(h)h(stepping)h(b)q(egins)0 +1166 y(and)f(the)g(v)n(alue)f(at)h(whic)o(h)g(stepping)g(ends.)0 +1350 y Fo(26.3.1.)20 b(Order)14 b(of)i(Execution)0 1445 +y Fw(With)h(the)h(exceptions)g(listed)g(b)q(elo)o(w,)f(clauses)i(are)f +(executed)h(in)e(the)h(lo)q(op)f(b)q(o)q(dy)g(in)0 1497 +y(the)i(order)g(in)f(whic)o(h)g(they)h(app)q(ear)g(in)f(the)h(source.) +32 b(Execution)19 b(is)g(rep)q(eated)h(un)o(til)0 1549 +y(a)c(clause)h(terminates)f(the)h(lo)q(op)e(or)i(un)o(til)e(a)h(Common) +d(Lisp)j Fs(return)p Fw(,)g Fs(go)p Fw(,)g(or)g Fs(throw)0 +1601 y Fw(form)c(is)i(encoun)o(tered.)21 b(The)14 b(follo)o(wing)d +(actions)j(are)h(exceptions)g(to)f(the)g(linear)g(order)0 +1653 y(of)f(execution:)0 1723 y Fu(.)42 1732 y Fw(All)d(v)n(ariables)g +(are)i(initialized)d(\014rst,)j(regardless)h(of)d(where)i(the)g +(establishing)f(clauses)42 1784 y(app)q(ear)k(in)f(the)i(source.)22 +b(The)15 b(order)h(of)e(initialization)e(follo)o(ws)h(the)j(order)f(of) +f(these)42 1836 y(clauses.)0 1918 y Fu(.)42 1927 y Fw(The)e(co)q(de)g +(for)f(an)o(y)h Fs(initially)d Fw(clauses)k(is)f(collected)g(in)o(to)f +(one)h Fs(progn)e Fw(in)i(the)g(order)42 1979 y(in)j(whic)o(h)g(the)h +(clauses)h(app)q(ear)f(in)f(the)h(source.)25 b(The)16 +b(collected)g(co)q(de)g(is)g(executed)42 2030 y(once)e(in)f(the)i(lo)q +(op)e(prologue)h(after)g(an)o(y)f(implicit)e(v)n(ariable)i +(initializations.)0 2112 y Fu(.)42 2121 y Fw(The)i(co)q(de)h(for)f(an)o +(y)f Fs(finally)g Fw(clauses)i(is)e(collected)i(in)o(to)f(one)g +Fs(progn)f Fw(in)g(the)i(order)42 2173 y(in)f(whic)o(h)g(the)h(clauses) +h(app)q(ear)f(in)f(the)h(source.)25 b(The)16 b(collected)g(co)q(de)g +(is)g(executed)42 2225 y(once)e(in)f(the)h(lo)q(op)f(epilogue)g(b)q +(efore)h(an)o(y)g(implicit)c(v)n(alues)k(from)e(the)i(accum)o(ulation) +42 2277 y(clauses)e(are)h(returned.)19 b(Explicit)11 +b(returns)i(an)o(ywhere)g(in)e(the)i(source,)g(ho)o(w)o(ev)o(er,)f +(will)42 2329 y(exit)h(the)i(lo)q(op)e(without)g(executing)i(the)g +(epilogue)e(co)q(de.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 770 794 +770 793 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(770)77 b(COMMON)13 +b(LISP)0 286 y Fu(.)42 295 y Fw(A)i Fs(with)g Fw(clause)h(in)o(tro)q +(duces)h(a)e(v)n(ariable)g(binding)f(and)i(an)f(optional)f(initial)g(v) +n(alue.)42 347 y(The)19 b(initial)f(v)n(alues)h(are)h(calculated)f(in)g +(the)h(order)g(in)f(whic)o(h)g(the)h Fs(with)f Fw(clauses)42 +399 y(o)q(ccur.)0 474 y Fu(.)42 483 y Fw(Iteration)13 +b(con)o(trol)h(clauses)h(implicitly)c(p)q(erform)i(the)h(follo)o(wing)d +(actions:)42 568 y({)20 b(initializing)11 b(v)n(ariables)42 +653 y({)20 b(stepping)14 b(v)n(ariables,)f(generally)h(b)q(et)o(w)o +(een)h(eac)o(h)f(execution)h(of)e(the)i(lo)q(op)e(b)q(o)q(dy)42 +737 y({)20 b(p)q(erforming)14 b(termination)h(tests,)i(generally)f +(just)g(b)q(efore)h(the)f(execution)h(of)e(the)83 789 +y(lo)q(op)e(b)q(o)q(dy)0 951 y Fo(26.3.2.)20 b(Kinds)15 +b(of)g(Lo)r(op)f(Clauses)0 1041 y Fw(Lo)q(op)g(clauses)g(fall)f(in)o +(to)g(one)h(of)f(the)i(follo)o(wing)c(categories:)0 1104 +y Fu(.)42 1113 y Fw(v)n(ariable)h(initialization)f(and)j(stepping)42 +1198 y({)20 b(The)11 b Fs(for)f Fw(and)h Fs(as)f Fw(constructs)j(pro)o +(vide)d(iteration)h(con)o(trol)f(clauses)i(that)e(establish)83 +1250 y(a)i(v)n(ariable)e(to)i(b)q(e)g(initialized.)k(Y)m(ou)11 +b(can)h(com)o(bine)f Fs(for)g Fw(and)h Fs(as)f Fw(clauses)i(with)e(the) +83 1302 y(lo)q(op)i(k)o(eyw)o(ord)h Fs(and)f Fw(to)h(get)g(parallel)f +(initialization)e(and)j(stepping.)42 1386 y({)20 b(The)d +Fs(with)e Fw(construct)k(is)d(similar)e(to)i(a)g(single)g +Fs(let)g Fw(clause.)26 b(Y)m(ou)16 b(can)h(com)o(bine)83 +1438 y Fs(with)c Fw(clauses)i(using)e Fs(and)h Fw(to)f(get)i(parallel)d +(initialization.)42 1523 y({)20 b(The)11 b Fs(repeat)f +Fw(construct)i(causes)h(iteration)d(to)h(terminate)f(after)h(a)g(sp)q +(eci\014ed)h(n)o(um-)83 1575 y(b)q(er)j(of)f(times.)19 +b(It)c(uses)g(an)g(in)o(ternal)f(v)n(ariable)f(to)i(k)o(eep)g(trac)o(k) +g(of)e(the)j(n)o(um)o(b)q(er)d(of)83 1627 y(iterations.)42 +1711 y(Y)m(ou)k(can)h(sp)q(ecify)g(data)g(t)o(yp)q(es)h(for)e(lo)q(op)g +(v)n(ariables)g(\(see)i(section)g(26.12.1\).)28 b(It)18 +b(is)42 1763 y(an)d(error)i(to)e(bind)g(the)i(same)e(v)n(ariable)f(t)o +(wice)i(in)f(an)o(y)h(v)n(ariable-binding)d(clause)j(of)42 +1815 y(a)h(single)g(lo)q(op)g(expression.)31 b(Suc)o(h)19 +b(v)n(ariables)e(include)h(lo)q(cal)f(v)n(ariables,)g(iteration)42 +1867 y(con)o(trol)c(v)n(ariables,)g(and)h(v)n(ariables)f(found)g(b)o(y) +h(destructuring.)0 1943 y Fu(.)42 1952 y Fw(v)n(alue)f(accum)o(ulation) +42 2037 y({)20 b(The)c Fs(collect)f Fw(construct)j(tak)o(es)e(one)g +(form)f(in)g(its)h(clause)h(and)f(adds)g(the)g(v)n(alue)83 +2088 y(of)c(that)h(form)e(to)i(the)g(end)g(of)f(a)h(list)f(of)g(v)n +(alues.)18 b(By)13 b(default,)f(the)h(list)f(of)g(v)n(alues)h(is)83 +2140 y(returned)j(when)e(the)g(lo)q(op)g(\014nishes.)42 +2225 y({)20 b(The)13 b Fs(append)e Fw(construct)j(tak)o(es)f(one)f +(form)f(in)h(its)g(clause)h(and)f(app)q(ends)h(the)g(v)n(alue)83 +2277 y(of)f(that)h(form)e(to)i(the)g(end)g(of)f(a)h(list)f(of)g(v)n +(alues.)18 b(By)13 b(default,)f(the)h(list)f(of)g(v)n(alues)h(is)83 +2329 y(returned)j(when)e(the)g(lo)q(op)g(\014nishes.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 771 795 +771 794 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LOOP)1235 b(771)42 +295 y Fw({)20 b(The)13 b Fs(nconc)f Fw(construct)j(is)e(similar)e(to)h +Fs(append)p Fw(,)g(but)h(its)g(list)g(v)n(alues)f(are)i(concate-)83 +347 y(nated)i(as)f(if)f(b)o(y)h(the)g(Common)d(Lisp)j(function)g +Fs(nconc)p Fw(.)20 b(By)c(default,)e(the)i(list)e(of)83 +399 y(v)n(alues)g(is)f(returned)j(when)e(the)h(lo)q(op)e(\014nishes.)42 +494 y({)20 b(The)g Fs(sum)e Fw(construct)j(tak)o(es)e(one)h(form)d(in)i +(its)g(clause)h(that)f(m)o(ust)f(ev)n(aluate)h(to)83 +546 y(a)e(n)o(um)o(b)q(er)f(and)h(adds)g(that)g(n)o(um)o(b)q(er)f(in)o +(to)h(a)f(running)h(total.)27 b(By)17 b(default,)g(the)83 +598 y(cum)o(ulativ)o(e)12 b(sum)h(is)h(returned)h(when)g(the)f(lo)q(op) +f(\014nishes.)42 693 y({)20 b(The)14 b Fs(count)e Fw(construct)j(tak)o +(es)e(one)h(form)d(in)i(its)g(clause)h(and)f(coun)o(ts)h(the)f(n)o(um)o +(b)q(er)83 745 y(of)18 b(times)g(that)h(the)h(form)d(ev)n(aluates)i(to) +g(a)g(non-)p Fs(nil)f Fw(v)n(alue.)32 b(By)20 b(default,)f(the)83 +797 y(coun)o(t)14 b(is)g(returned)i(when)e(the)g(lo)q(op)f(\014nishes.) +42 892 y({)20 b(The)h Fs(minimize)e Fw(construct)k(tak)o(es)e(one)g +(form)e(in)i(its)f(clause)i(and)e(determines)83 944 y(the)e(minim)n(um) +13 b(v)n(alue)k(obtained)g(b)o(y)g(ev)n(aluating)f(that)h(form.)26 +b(By)18 b(default,)f(the)83 996 y(minim)n(um)10 b(v)n(alue)j(is)h +(returned)h(when)g(the)f(lo)q(op)f(\014nishes.)42 1091 +y({)20 b(The)h Fs(maximize)e Fw(construct)k(tak)o(es)e(one)g(form)e(in) +i(its)f(clause)i(and)e(determines)83 1143 y(the)d(maxim)n(um)c(v)n +(alue)j(obtained)g(b)o(y)g(ev)n(aluating)g(that)g(form.)25 +b(By)17 b(default,)f(the)83 1195 y(maxim)n(um)10 b(v)n(alue)j(is)h +(returned)h(when)g(the)f(lo)q(op)f(\014nishes.)0 1281 +y Fu(.)42 1290 y Fw(termination)f(conditions)42 1385 +y({)20 b(The)13 b Fs(loop-finish)d Fw(Lisp)i(macro)f(terminates)h +(iteration)g(and)g(returns)i(an)o(y)e(accu-)83 1437 y(m)o(ulated)g +(result.)19 b(If)14 b(sp)q(eci\014ed,)h(an)o(y)e Fs(finally)f +Fw(clauses)j(are)f(ev)n(aluated.)42 1533 y({)20 b(The)13 +b Fs(for)f Fw(and)g Fs(as)h Fw(constructs)h(pro)o(vide)f(a)f +(termination)f(test)j(that)e(is)h(determined)83 1584 +y(b)o(y)h(the)g(iteration)g(con)o(trol)f(clause.)42 1680 +y({)20 b(The)h Fs(repeat)f Fw(construct)i(causes)g(termination)d(after) +i(a)f(sp)q(eci\014ed)i(n)o(um)o(b)q(er)e(of)83 1732 y(iterations.)42 +1827 y({)g(The)g Fs(while)e Fw(construct)j(tak)o(es)f(one)f(form,)g(a)g +(condition,)g(and)g(terminates)g(the)83 1879 y(iteration)14 +b(if)g(the)i(condition)e(ev)n(aluates)g(to)h Fs(nil)p +Fw(.)20 b(A)15 b Fs(while)f Fw(clause)h(is)f(equiv)n(alen)o(t)83 +1931 y(to)g(the)g(expression)h Fs(\(if)21 b(\(not)f Fv(c)n(ondition)p +Fs(\))i(\(loop-finish\)\))p Fw(.)42 2026 y({)e(The)c +Fs(until)e Fw(construct)j(is)e(the)h(in)o(v)o(erse)g(of)e +Fs(while)p Fw(;)h(it)f(terminates)h(the)h(iteration)83 +2078 y(if)k(the)h(condition)f(ev)n(aluates)h(to)f(an)o(y)g(non-)p +Fs(nil)g Fw(v)n(alue.)37 b(An)21 b Fs(until)f Fw(clause)h(is)83 +2130 y(equiv)n(alen)o(t)13 b(to)h(the)g(expression)h +Fs(\(if)21 b Fv(c)n(ondition)h Fs(\(loop-finish\)\))p +Fw(.)42 2225 y({)e(The)12 b Fs(always)f Fw(construct)i(tak)o(es)g(one)f +(form)e(and)i(terminates)f(the)i(lo)q(op)e(if)g(the)h(form)83 +2277 y(ev)o(er)i(ev)n(aluates)g(to)f Fs(nil)p Fw(;)f(in)h(this)h(case,) +g(it)f(returns)i Fs(nil)p Fw(.)i(Otherwise,)e(it)e(pro)o(vides)83 +2329 y(a)h(default)f(return)i(v)n(alue)e(of)h Fs(t)p +Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 772 796 +772 795 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(772)77 b(COMMON)13 +b(LISP)42 295 y Fw({)20 b(The)14 b Fs(never)f Fw(construct)i(tak)o(es)f +(one)g(form)e(and)i(terminates)f(the)h(lo)q(op)f(if)g(the)h(form)83 +347 y(ev)o(er)20 b(ev)n(aluates)g(to)f(non-)p Fs(nil)p +Fw(;)i(in)e(this)h(case,)h(it)e(returns)i Fs(nil)p Fw(.)34 +b(Otherwise,)22 b(it)83 399 y(pro)o(vides)14 b(a)g(default)f(return)i +(v)n(alue)f(of)f Fs(t)p Fw(.)42 488 y({)20 b(The)f Fs(thereis)e +Fw(construct)k(tak)o(es)e(one)f(form)f(and)i(terminates)f(the)h(lo)q +(op)f(if)g(the)83 539 y(form)12 b(ev)o(er)j(ev)n(aluates)f(to)g(non-)p +Fs(nil)p Fw(;)e(in)h(this)h(case,)h(it)e(returns)j(that)e(v)n(alue.)0 +620 y Fu(.)42 628 y Fw(unconditional)e(execution)42 717 +y({)20 b(The)14 b Fs(do)g Fw(construct)h(simply)d(ev)n(aluates)i(all)f +(forms)f(in)i(its)g(clause.)42 807 y({)20 b(The)14 b +Fs(return)e Fw(construct)k(tak)o(es)e(one)g(form)e(and)h(returns)i(its) +f(v)n(alue.)j(It)d(is)g(equiv)n(a-)83 858 y(len)o(t)g(to)g(the)g +(clause)h Fs(do)20 b(\(return)g Fv(value)p Fs(\))p Fw(.)0 +939 y Fu(.)42 947 y Fw(conditional)12 b(execution)42 +1036 y({)20 b(The)h Fs(if)f Fw(construct)i(tak)o(es)f(one)f(form)f(as)h +(a)h(predicate)g(and)f(a)g(clause)h(that)g(is)83 1088 +y(executed)16 b(when)e(the)h(predicate)g(is)f(true.)19 +b(The)14 b(clause)h(can)f(b)q(e)h(a)e(v)n(alue)h(accum)o(u-)83 +1140 y(lation,)i(unconditional,)h(or)g(another)h(conditional)d(clause;) +k(it)e(can)h(also)e(b)q(e)i(an)o(y)83 1192 y(com)o(bination)11 +b(of)j(suc)o(h)g(clauses)h(connected)h(b)o(y)e(the)g(lo)q(op)f(k)o(eyw) +o(ord)h Fs(and)p Fw(.)42 1281 y({)20 b(The)14 b Fs(when)f +Fw(construct)j(is)e(a)f(synon)o(ym)g(for)g Fs(if)p Fw(.)42 +1370 y({)20 b(The)15 b Fs(unless)d Fw(construct)k(is)e(similar)d(to)j +Fs(when)g Fw(except)h(that)f(it)g(complemen)o(ts)e(the)83 +1422 y(predicate;)j(it)e(executes)j(the)f(follo)o(wing)c(clause)j(if)f +(the)i(predicate)g(is)f(false.)42 1511 y({)20 b(The)f +Fs(else)f Fw(construct)j(pro)o(vides)e(an)f(optional)g(comp)q(onen)o(t) +g(of)g Fs(if)p Fw(,)h Fs(when)p Fw(,)g(and)83 1563 y +Fs(unless)12 b Fw(clauses)j(that)e(is)g(executed)j(when)e(the)g +(predicate)g(is)g(false.)j(The)d(comp)q(o-)83 1615 y(nen)o(t)g(is)g +(one)g(of)g(the)g(clauses)h(describ)q(ed)h(under)e Fs(if)p +Fw(.)42 1704 y({)20 b(The)14 b Fs(end)e Fw(construct)j(pro)o(vides)f +(an)f(optional)f(comp)q(onen)o(t)h(to)g(mark)f(the)h(end)h(of)f(a)83 +1756 y(conditional)f(clause.)0 1836 y Fu(.)42 1845 y +Fw(miscellaneous)g(op)q(erations)42 1934 y({)20 b(The)14 +b Fs(named)f Fw(construct)j(assigns)e(a)f(name)g(to)h(a)f(lo)q(op)g +(construct.)42 2023 y({)20 b(The)e Fs(initially)e Fw(construct)k +(causes)f(its)f(forms)f(to)g(b)q(e)i(ev)n(aluated)f(in)f(the)i(lo)q(op) +83 2075 y(prologue,)12 b(whic)o(h)g(precedes)i(all)d(lo)q(op)g(co)q(de) +i(except)h(for)d(initial)f(settings)j(sp)q(eci\014ed)83 +2127 y(b)o(y)h(the)g(constructs)i Fs(with)p Fw(,)d Fs(for)p +Fw(,)f(or)i Fs(as)p Fw(.)42 2216 y({)20 b(The)15 b Fs(finally)e +Fw(construct)j(causes)g(its)e(forms)f(to)i(b)q(e)g(ev)n(aluated)f(in)g +(the)h(lo)q(op)f(epi-)83 2268 y(logue)d(after)g(normal)e(iteration)i +(terminates.)17 b(An)11 b(unconditional)f(clause)i(can)f(also)83 +2320 y(follo)o(w)h(the)i(lo)q(op)g(k)o(eyw)o(ord)f Fs(finally)p +Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 773 797 +773 796 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LOOP)1235 b(773)0 +295 y Fo(26.3.3.)20 b(Lo)r(op)14 b(Syn)n(tax)0 382 y +Fw(The)h(follo)o(wing)c(syn)o(tax)k(description)f(pro)o(vides)h(an)f(o) +o(v)o(erview)g(of)g(the)g(syn)o(tax)h(for)f(lo)q(op)0 +434 y(clauses.)40 b(Detailed)21 b(syn)o(tax)g(descriptions)h(of)f +(individual)e(clauses)j(app)q(ear)f(in)g(sec-)0 486 y(tions)14 +b(26.6)e(through)i(26.12.)j(A)d(lo)q(op)f(consists)i(of)e(the)i(follo)o +(wing)c(t)o(yp)q(es)k(of)e(clauses:)0 573 y Fv(initial-\014nal)18 +b Fw(::=)13 b Fv(initial)r(ly)j Ft(j)e Fv(\014nal)r(ly)0 +625 y(variables)j Fw(::=)c Fv(with)j Ft(j)e Fv(initial-\014nal)j +Ft(j)d Fv(for-as)i Ft(j)e Fv(r)n(ep)n(e)n(at)0 677 y(main)j +Fw(::=)c Fv(unc)n(onditional)20 b Ft(j)13 b Fv(ac)n(cumulation)18 +b Ft(j)13 b Fv(c)n(onditional)19 b Ft(j)13 b Fv(termination)k +Ft(j)c Fv(initial-\014nal)0 729 y(lo)n(op)k Fw(::=)c +Fs(\(loop)27 b Fw([)p Fs(named)20 b Fv(name)s Fw(])35 +b Ft(f)p Fv(variables)s Ft(g)787 714 y Fl(\003)840 729 +y Ft(f)p Fv(main)s Ft(g)976 714 y Fl(\003)1002 729 y +Fs(\))42 816 y Fw(Note)20 b(that)f(a)h(lo)q(op)f(m)o(ust)g(ha)o(v)o(e)g +(at)h(least)g(one)g(clause;)i(ho)o(w)o(ev)o(er,)f(for)f(bac)o(kw)o(ard) +0 868 y(compatibilit)o(y)l(,)11 b(the)j(follo)o(wing)e(format)g(is)h +(also)h(supp)q(orted:)0 955 y Fs(\(loop)27 b Ft(f)p Fv(tag)15 +b Ft(j)f Fv(expr)t Ft(g)355 940 y Fl(\003)381 955 y Fs(\))0 +1042 y Fw(where)k Fv(expr)g Fw(is)f(an)o(y)f(Common)e(Lisp)j +(expression)i(that)e(can)g(b)q(e)h(ev)n(aluated,)g(and)f +Fv(tag)0 1093 y Fw(is)f(an)o(y)g(sym)o(b)q(ol)f(not)i(iden)o +(ti\014able)f(as)g(a)g(lo)q(op)g(k)o(eyw)o(ord.)26 b(Suc)o(h)17 +b(a)f(format)f(is)h(roughly)0 1145 y(equiv)n(alen)o(t)d(to)h(the)g +(follo)o(wing)e(one:)0 1232 y Fs(\(loop)20 b(do)28 b +Ft(f)p Fv(tag)15 b Ft(j)f Fv(expr)t Ft(g)420 1217 y Fl(\003)446 +1232 y Fs(\))42 1319 y Fw(A)d(lo)q(op)f(prologue)g(consists)i(of)f(an)o +(y)f(automatic)f(v)n(ariable)h(initializations)f(prescrib)q(ed)0 +1371 y(b)o(y)19 b(the)i Fv(variable)h Fw(clauses,)f(along)e(with)g(an)o +(y)g Fv(initial)r(ly)j Fw(clauses)f(in)e(the)h(order)g(they)0 +1423 y(app)q(ear)14 b(in)g(the)g(source.)42 1475 y(A)i(lo)q(op)f +(epilogue)h(consists)h(of)f Fv(\014nal)r(ly)k Fw(clauses,)e(if)d(an)o +(y)m(,)h(along)f(with)h(an)o(y)f(implicit)0 1527 y(return)g(v)n(alue)e +(from)f(an)i Fv(ac)n(cumulation)k Fw(clause)c(or)g(an)g +Fv(end-test)k Fw(clause.)0 1685 y Fo(26.4.)i(User)15 +b(Extensibilit)n(y)0 1772 y Fw(There)e(is)f(curren)o(tly)h(no)f(sp)q +(eci\014ed)h(p)q(ortable)g(metho)q(d)e(for)h(users)h(to)f(add)g +(extensions)h(to)0 1824 y(the)j(Lo)q(op)e(F)m(acilit)o(y)m(.)19 +b(The)c(names)g Fs(defloop)e Fw(and)i Fs(define-loop-meth)o(od)d +Fw(ha)o(v)o(e)j(b)q(een)0 1876 y(suggested)g(as)f(candidates)h(for)e +(suc)o(h)i(a)e(metho)q(d.)0 2034 y Fo(26.5.)20 b(Lo)r(op)15 +b(Constructs)0 2121 y Fw(The)f(remaining)e(sections)j(of)e(this)h(c)o +(hapter)h(describ)q(e)g(the)g(constructs)h(that)e(the)g(Lo)q(op)0 +2173 y(F)m(acilit)o(y)g(pro)o(vides.)25 b(The)17 b(descriptions)g(are)f +(organized)g(according)h(to)e(the)i(function-)0 2225 +y(alit)o(y)g(of)h(the)h(constructs.)33 b(Eac)o(h)18 b(section)h(b)q +(egins)g(with)f(a)g(general)h(discussion)f(of)g(a)0 2277 +y(particular)c(op)q(eration;)g(it)g(then)h(presen)o(ts)i(the)e +(constructs)h(that)f(p)q(erform)e(the)i(op)q(era-)0 2329 +y(tion.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 774 798 +774 797 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(774)77 b(COMMON)13 +b(LISP)0 286 y Fu(.)42 295 y Fw(Section)18 b(26.6,)f(\\Iteration)g(Con) +o(trol,")g(describ)q(es)j(iteration)e(con)o(trol)f(clauses)i(that)42 +347 y(allo)o(w)12 b(directed)j(lo)q(op)e(iteration.)0 +425 y Fu(.)42 434 y Fw(Section)j(26.7,)e(\\End-T)m(est)i(Con)o(trol,")f +(describ)q(es)i(clauses)g(that)f(stop)g(iteration)f(b)o(y)42 +486 y(pro)o(viding)e(a)i(conditional)f(expression)i(that)f(can)g(b)q(e) +h(tested)g(after)f(eac)o(h)h(execution)42 538 y(of)d(the)h(lo)q(op)f(b) +q(o)q(dy)m(.)0 616 y Fu(.)42 625 y Fw(Section)i(26.8,)e(\\V)m(alue)g +(Accum)o(ulation,")g(describ)q(es)j(constructs)h(that)e(accum)o(ulate) +42 677 y(v)n(alues)k(during)g(iteration)g(and)g(return)i(them)e(from)e +(a)j(lo)q(op.)34 b(This)19 b(section)h(also)42 729 y(discusses)d(w)o(a) +o(ys)e(in)f(whic)o(h)h(accum)o(ulation)e(clauses)k(can)e(b)q(e)h(com)o +(bined)e(within)g(the)42 781 y(Lo)q(op)f(F)m(acilit)o(y)m(.)0 +859 y Fu(.)42 868 y Fw(Section)e(26.9,)f(\\V)m(ariable)h +(Initializations,")e(describ)q(es)k(the)f Fs(with)f Fw(construct,)i +(whic)o(h)42 920 y(pro)o(vides)h(lo)q(cal)f(v)n(ariables)h(for)g(use)h +(within)f(the)h(lo)q(op)e(b)q(o)q(dy)m(,)h(and)g(other)h(constructs)42 +972 y(that)e(pro)o(vide)h(lo)q(cal)f(v)n(ariables.)0 +1050 y Fu(.)42 1059 y Fw(Section)22 b(26.10,)h(\\Conditional)e +(Execution,")j(describ)q(es)h(ho)o(w)d(to)g(execute)j(lo)q(op)42 +1111 y(clauses)14 b(conditionally)m(.)0 1190 y Fu(.)42 +1199 y Fw(Section)20 b(26.11,)g(\\Unconditional)f(Execution,")i +(describ)q(es)h(the)f Fs(do)f Fw(and)g Fs(return)42 1250 +y Fw(constructs.)j(It)15 b(also)f(describ)q(es)j(constructs)g(that)e +(are)h(used)g(in)e(the)i(lo)q(op)e(prologue)42 1302 y(and)f(lo)q(op)g +(epilogue.)0 1381 y Fu(.)42 1390 y Fw(Section)h(26.12,)e +(\\Miscellaneous)i(F)m(eatures,")g(discusses)i(lo)q(op)d(data)h(t)o(yp) +q(es)h(and)e(de-)42 1442 y(structuring.)18 b(It)11 b(also)g(presen)o +(ts)i(constructs)h(for)d(naming)e(a)i(lo)q(op)g(and)g(for)g(sp)q +(ecifying)42 1493 y(initial)g(and)j(\014nal)f(actions.)0 +1665 y Fo(26.6.)20 b(Iteration)14 b(Con)n(trol)0 1757 +y Fw(Iteration)d(con)o(trol)g(clauses)h(allo)o(w)e(y)o(ou)g(to)h +(direct)h(lo)q(op)f(iteration.)16 b(The)c(lo)q(op)e(k)o(eyw)o(ords)0 +1809 y Fs(as)p Fw(,)j Fs(for)p Fw(,)g(and)g Fs(repeat)g +Fw(designate)h(iteration)g(con)o(trol)g(clauses.)42 1861 +y(Iteration)f(con)o(trol)h(clauses)g(di\013er)g(with)g(resp)q(ect)i(to) +d(the)i(sp)q(eci\014cation)f(of)f(termina-)0 1913 y(tion)f(conditions)g +(and)g(the)h(initialization)c(and)j(stepping)h(of)e(lo)q(op)h(v)n +(ariables.)17 b(Iteration)0 1965 y(clauses)i(b)o(y)e(themselv)o(es)h +(do)g(not)f(cause)i(the)g(Lo)q(op)e(F)m(acilit)o(y)f(to)i(return)h(v)n +(alues,)f(but)0 2017 y(they)h(can)f(b)q(e)g(used)h(in)f(conjunction)g +(with)g(v)n(alue-accum)o(ulation)d(clauses)k(to)f(return)0 +2069 y(v)n(alues)c(\(see)h(section)f(26.8\).)42 2121 +y(All)j(v)n(ariables)g(are)i(initialized)d(in)i(the)g(lo)q(op)g +(prologue.)30 b(The)18 b(scop)q(e)i(of)d(the)i(v)n(ari-)0 +2173 y(able)d(binding)g(is)g Fv(lexic)n(al)g Fw(unless)h(it)f(is)h(pro) +q(claimed)e(sp)q(ecial;)i(th)o(us,)g(the)g(v)n(ariable)f(can)0 +2225 y(b)q(e)g(accessed)i(only)d(b)o(y)g(expressions)i(that)f(lie)f +(textually)g(within)f(the)i(lo)q(op.)23 b(Stepping)0 +2277 y(assignmen)o(ts)12 b(are)h(made)f(in)g(the)i(lo)q(op)e(b)q(o)q +(dy)h(b)q(efore)g(an)o(y)g(other)g(expressions)h(are)g(ev)n(al-)0 +2329 y(uated)g(in)g(the)g(b)q(o)q(dy)m(.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 775 799 +775 798 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LOOP)1235 b(775)42 +295 y Fw(The)16 b(v)n(ariable)g(argumen)o(t)f(in)h(iteration)g(con)o +(trol)g(clauses)h(can)g(b)q(e)g(a)f Fv(destructuring)0 +347 y(list)p Fw(.)h(A)c(destructuring)i(list)e(is)g(a)g(tree)i(whose)f +(non-n)o(ull)e(atoms)g(are)h(sym)o(b)q(ols)f(that)i(can)0 +399 y(b)q(e)h(assigned)f(a)f(v)n(alue)h(\(see)h(section)f(26.12.2\).)42 +453 y(The)h(iteration)f(con)o(trol)h(clauses)g Fs(for)p +Fw(,)f Fs(as)p Fw(,)g(and)h Fs(repeat)e Fw(m)o(ust)h(precede)j(an)o(y)d +(other)0 504 y(lo)q(op)d(clauses)h(except)h Fs(initially)p +Fw(,)d Fs(with)p Fw(,)g(and)h Fs(named)p Fw(,)g(since)h(they)g +(establish)g(v)n(ariable)0 556 y(bindings.)17 b(When)c(iteration)f(con) +o(trol)g(clauses)h(are)g(used)g(in)f(a)g(lo)q(op,)g(termination)e +(tests)0 608 y(in)j(the)i(lo)q(op)e(b)q(o)q(dy)h(are)g(ev)n(aluated)g +(b)q(efore)h(an)o(y)e(other)h(lo)q(op)g(b)q(o)q(dy)f(co)q(de)i(is)f +(executed.)42 662 y(If)f(y)o(ou)f(use)j(m)o(ultiple)c(iteration)i +(clauses)h(to)f(con)o(trol)g(iteration,)g(v)n(ariable)f(initializa-)0 +714 y(tion)e(and)f(stepping)i(o)q(ccur)g(sequen)o(tially)f(b)o(y)g +(default.)16 b(Y)m(ou)10 b(can)g(use)h(the)g Fs(and)e +Fw(construct)0 766 y(to)i(connect)h(t)o(w)o(o)e(or)h(more)f(iteration)g +(clauses)i(when)f(sequen)o(tial)g(binding)f(and)g(stepping)0 +818 y(are)h(not)g(necessary)m(.)19 b(The)11 b(iteration)f(b)q(eha)o +(vior)h(of)f(clauses)i(joined)e(b)o(y)h Fs(and)f Fw(is)h(analogous)0 +870 y(to)j(the)g(b)q(eha)o(vior)g(of)f(the)i(Commo)o(n)c(Lisp)j(macro)f +Fs(do)g Fw(relativ)o(e)h(to)f Fs(do*)p Fw(.)42 924 y([X3J13)h(v)o(oted) +h(in)g(Marc)o(h)g(1989)f Ft(h)p Fw(114)p Ft(i)h Fw(to)g(correct)h(a)f +(minor)e(inconsistency)k(in)d(the)0 976 y(original)9 +b(syn)o(tactic)j(sp)q(eci\014cation)g(for)f Fs(loop)p +Fw(.)16 b(Only)11 b Fs(for)g Fw(and)g Fs(as)g Fw(clauses)h(\(not)f +Fs(repeat)0 1028 y Fw(clauses\))i(ma)o(y)e(b)q(e)i(joined)f(b)o(y)g +(the)h Fs(and)f Fw(construct.)19 b(The)13 b(precise)h(syn)o(tax)e(is)g +(as)h(follo)o(ws.)0 1134 y Fv(for-as)k Fw(::=)j Ft(f)p +Fs(for)14 b Ft(j)g Fs(as)p Ft(g)20 b Fv(for-as-sub)n(clause)k +Ft(f)p Fs(and)14 b Fv(for-as-sub)n(clause)s Ft(g)1129 +1119 y Fl(\003)0 1186 y Fv(for-as-sub)n(clause)j Fw(::=)c +Fv(for-as-arithmetic)i Ft(j)e Fv(for-as-in-list)346 1238 +y Ft(j)g Fv(for-as-on-list)k Ft(j)c Fv(for-as-e)n(quals-then)346 +1290 y Ft(j)g Fv(for-as-acr)n(oss)j Ft(j)e Fv(for-as-hash)j +Ft(j)c Fv(for-as-p)n(ackage)0 1342 y(for-as-arithmetic)i +Fw(::=)e Fv(var)25 b Fw([)p Fv(typ)n(e-sp)n(e)n(c)r Fw(])i([)7 +b Ft(f)p Fs(from)13 b Ft(j)i Fs(downfrom)e Ft(j)h Fs(upfrom)p +Ft(g)21 b Fv(expr1)6 b Fw(])397 1394 y([)h Ft(f)p Fs(to)13 +b Ft(j)i Fs(downto)e Ft(j)i Fs(upto)f Ft(j)g Fs(below)g +Ft(j)g Fs(above)p Ft(g)21 b Fv(expr2)6 b Fw(])397 1446 +y([)p Fs(by)14 b Fv(expr3)6 b Fw(])0 1498 y Fv(for-as-in-list)16 +b Fw(::=)d Fv(var)25 b Fw([)p Fv(typ)n(e-sp)n(e)n(c)r +Fw(])c Fs(in)13 b Fv(expr1)27 b Fw([)p Fs(by)14 b Fv(step-fun)s +Fw(])0 1550 y Fv(for-as-on-list)j Fw(::=)c Fv(var)25 +b Fw([)p Fv(typ)n(e-sp)n(e)n(c)r Fw(])20 b Fs(on)14 b +Fv(expr1)26 b Fw([)p Fs(by)14 b Fv(step-fun)s Fw(])0 +1601 y Fv(for-as-e)n(quals-then)j Fw(::=)c Fv(var)25 +b Fw([)p Fv(typ)n(e-sp)n(e)n(c)r Fw(])693 1597 y Fs(U)693 +1605 y(U)729 1601 y Fv(expr1)i Fw([)p Fs(then)13 b Fv(step-fun)s +Fw(])0 1653 y Fv(for-as-acr)n(oss)j Fw(::=)e Fv(var)25 +b Fw([)p Fv(typ)n(e-sp)n(e)n(c)r Fw(])20 b Fs(across)13 +b Fv(ve)n(ctor)0 1705 y(for-as-hash)k Fw(::=)c Fv(var)25 +b Fw([)p Fv(typ)n(e-sp)n(e)n(c)r Fw(])20 b Fs(being)g +Ft(f)p Fs(each)14 b Ft(j)g Fs(the)p Ft(g)293 1757 y(f)p +Fs(hash-key)f Ft(j)h Fs(hash-keys)f Ft(j)i Fs(hash-value)e +Ft(j)h Fs(hash-values)p Ft(g)293 1809 y(f)p Fs(in)g Ft(j)h +Fs(of)p Ft(g)20 b Fv(hash-table)293 1861 y Fw([)p Fs(using)13 +b(\()7 b Ft(f)p Fs(hash-value)13 b Ft(j)h Fs(hash-key)p +Ft(g)20 b Fv(other-var)t Fs(\))p Fw(])0 1913 y Fv(for-as-p)n(ackage)d +Fw(::=)c Fv(var)25 b Fw([)p Fv(typ)n(e-sp)n(e)n(c)r Fw(])c +Fs(being)e Ft(f)p Fs(each)14 b Ft(j)h Fs(the)p Ft(g)343 +1965 y Fv(for-as-p)n(ackage-keywor)n(d)350 2017 y Ft(f)p +Fs(in)g Ft(j)f Fs(of)p Ft(g)20 b Fv(p)n(ackage)0 2068 +y(for-as-p)n(ackage-keywor)n(d)e Fw(::=)13 b Fs(symbol)g +Ft(j)g Fs(present-symbol)e Ft(j)i Fs(external-symbol)478 +2120 y Ft(j)g Fs(symbols)g Ft(j)g Fs(present-symbols)e +Ft(j)i Fs(external-symbols)0 2225 y Fw(This)e(correction)i(made)d +Fs(for)h Fw(and)g Fs(as)g Fw(clauses)i(syn)o(tactically)d(similar)f(to) +j Fs(with)e Fw(clauses.)0 2277 y(I)j(ha)o(v)o(e)h(c)o(hanged)g(all)e +(examples)h(in)g(this)h(c)o(hapter)g(to)f(re\015ect)j(the)e(corrected)i +(syn)o(tax.|)0 2329 y(GLS])-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 776 800 +776 799 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(776)77 b(COMMON)13 +b(LISP)42 295 y Fw(In)e(the)g(follo)o(wing)e(example,)h(the)i(v)n +(ariable)e Fs(x)h Fw(is)g(stepp)q(ed)i(b)q(efore)f Fs(y)e +Fw(is)h(stepp)q(ed;)j(th)o(us,)0 347 y(the)g(v)n(alue)g(of)f +Fs(y)h Fw(re\015ects)i(the)e(up)q(dated)h(v)n(alue)e(of)g +Fs(x)p Fw(:)0 442 y Fs(\(loop)20 b(for)h(x)g(from)f(1)h(to)g(9)127 +494 y(for)g(y)257 490 y(U)257 498 y(U)300 494 y(nil)f(then)g(x)127 +545 y(collect)g(\(list)g(x)h(y\)\))64 597 y Ft(\))f Fs(\(\(1)h(NIL\))f +(\(2)h(2\))g(\(3)f(3\))h(\(4)g(4\))g(\(5)f(5\))h(\(6)g(6\))g(\(7)f(7\)) +h(\(8)g(8\))g(\(9)f(9\)\))42 691 y Fw(In)13 b(the)i(follo)o(wing)c +(example,)h Fs(x)i Fw(and)g Fs(y)f Fw(are)i(stepp)q(ed)g(in)f +(parallel:)0 786 y Fs(\(loop)20 b(for)h(x)g(from)f(1)h(to)g(9)127 +838 y(and)g(y)257 834 y(U)257 842 y(U)300 838 y(nil)f(then)g(x)127 +890 y(collect)g(\(list)g(x)h(y\)\))64 942 y Ft(\))f Fs(\(\(1)h(NIL\))f +(\(2)h(1\))g(\(3)f(2\))h(\(4)g(3\))g(\(5)f(4\))h(\(6)g(5\))g(\(7)f(6\)) +h(\(8)g(7\))g(\(9)f(8\)\))42 1036 y Fw(The)10 b Fs(for)f +Fw(and)h Fs(as)g Fw(clauses)h(iterate)f(b)o(y)g(using)g(one)g(or)g +(more)f(lo)q(cal)g(lo)q(op)g(v)n(ariables)h(that)0 1088 +y(are)16 b(initialized)d(to)i(some)g(v)n(alue)f(and)h(that)h(can)f(b)q +(e)h(mo)q(di\014ed)e(or)h(stepp)q(ed)i(after)e(eac)o(h)0 +1140 y(iteration.)i(F)m(or)11 b(these)i(clauses,)f(iteration)f +(terminates)g(when)h(a)f(lo)q(cal)g(v)n(ariable)f(reac)o(hes)0 +1192 y(some)i(sp)q(eci\014ed)j(v)n(alue)e(or)g(when)h(some)f(other)h +(lo)q(op)e(clause)i(terminates)f(iteration.)18 b(A)o(t)0 +1244 y(eac)o(h)f(iteration,)f(v)n(ariables)g(can)h(b)q(e)g(stepp)q(ed)i +(b)o(y)d(an)g(incremen)o(t)h(or)f(a)g(decremen)o(t)i(or)0 +1295 y(can)11 b(b)q(e)h(assigned)g(a)f(new)g(v)n(alue)g(b)o(y)g(the)h +(ev)n(aluation)e(of)g(an)h(expression.)19 b(Destructuring)0 +1347 y(can)14 b(b)q(e)h(used)f(to)g(assign)g(initial)e(v)n(alues)h(to)h +(v)n(ariables)f(during)h(iteration.)42 1400 y(The)20 +b Fs(for)f Fw(and)h Fs(as)g Fw(k)o(eyw)o(ords)g(are)g(synon)o(yms)f +(and)h(ma)o(y)e(b)q(e)i(used)h(in)o(terc)o(hange-)0 1452 +y(ably)m(.)e(There)d(are)f(sev)o(en)h(syn)o(tactic)f(represen)o +(tations)i(for)d(these)i(constructs.)23 b(In)14 b(eac)o(h)0 +1504 y(syn)o(tactic)j(description,)h(the)f(data)g(t)o(yp)q(e)g(of)f +Fv(var)21 b Fw(can)c(b)q(e)h(sp)q(eci\014ed)g(b)o(y)f(the)g(optional)0 +1556 y Fv(typ)n(e-sp)n(e)n(c)g Fw(argumen)o(t.)k(If)14 +b Fv(var)19 b Fw(is)c(a)g(destructuring)h(list,)f(the)g(data)g(t)o(yp)q +(e)g(sp)q(eci\014ed)i(b)o(y)0 1608 y(the)12 b Fv(typ)n(e-sp)n(e)n(c)j +Fw(argumen)o(t)10 b(m)o(ust)h(appropriately)h(matc)o(h)e(the)j(elemen)o +(ts)e(of)h(the)g(list)f(\(see)0 1660 y(sections)k(26.12.1)d(and)h +(26.12.2\).)-33 1807 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1159 1835 a([)p Fv(L)n(o)n(op)i(clause)s +Fw(])-1395 b Fs(for)34 b Fv(var)22 b Fw([)p Fv(typ)n(e-sp)n(e)n(c)p +Fw(])28 b([)7 b Ft(f)p Fs(from)13 b Ft(j)h Fs(downfrom)g +Ft(j)g Fs(upfrom)p Ft(g)7 b Fv(expr1)p Fw(])93 1887 y([)g +Ft(f)p Fs(to)14 b Ft(j)g Fs(downto)g Ft(j)g Fs(upto)h +Ft(j)f Fs(below)g Ft(j)g Fs(above)p Ft(g)7 b Fv(expr2)p +Fw(])93 1939 y([)p Fs(by)14 b Fv(expr3)p Fw(])1159 1991 +y([)p Fv(L)n(o)n(op)h(clause)s Fw(])-1395 b Fs(as)35 +b Fv(var)21 b Fw([)p Fv(typ)n(e-sp)n(e)n(c)p Fw(])28 +b([)7 b Ft(f)p Fs(from)13 b Ft(j)i Fs(downfrom)e Ft(j)h +Fs(upfrom)p Ft(g)7 b Fv(expr1)p Fw(])72 2042 y([)g Ft(f)p +Fs(to)13 b Ft(j)i Fs(downto)e Ft(j)i Fs(upto)f Ft(j)g +Fs(below)g Ft(j)g Fs(above)p Ft(g)7 b Fv(expr2)p Fw(])72 +2094 y([)p Fs(by)14 b Fv(expr3)p Fw(])0 2172 y([This)f(is)h(the)h +(\014rst)f(of)f(sev)o(en)i Fs(for)p Fw(/)p Fs(as)e Fw(syn)o +(taxes.|GLS])42 2225 y(The)j Fs(for)e Fw(or)i Fs(as)f +Fw(construct)i(iterates)g(from)d(the)i(v)n(alue)f(sp)q(eci\014ed)i(b)o +(y)e Fv(expr1)22 b Fw(to)15 b(the)0 2277 y(v)n(alue)d(sp)q(eci\014ed)i +(b)o(y)f Fv(expr2)19 b Fw(in)12 b(incremen)o(ts)h(or)f(decremen)o(ts)i +(denoted)g(b)o(y)f Fv(expr3)p Fw(.)k(Eac)o(h)0 2329 y(expression)e(is)f +(ev)n(aluated)f(only)h(once)g(and)g(m)o(ust)f(ev)n(aluate)g(to)h(a)g(n) +o(um)o(b)q(er.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 777 801 +777 800 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LOOP)1235 b(777)42 +295 y Fw(The)13 b(v)n(ariable)f Fv(var)18 b Fw(is)13 +b(b)q(ound)g(to)g(the)h(v)n(alue)e(of)h Fv(expr1)19 b +Fw(in)12 b(the)i(\014rst)g(iteration)f(and)g(is)0 347 +y(stepp)q(ed)i(b)o(y)d(the)i(v)n(alue)e(of)g Fv(expr3)19 +b Fw(in)13 b(eac)o(h)g(succeeding)i(iteration,)d(or)h(b)o(y)f(1)h(if)f +Fv(expr3)19 b Fw(is)0 399 y(not)14 b(pro)o(vided.)42 +450 y(The)f(follo)o(wing)e(lo)q(op)h(k)o(eyw)o(ords)i(serv)o(e)g(as)f +(v)n(alid)f(prep)q(ositions)i(within)e(this)h(syn)o(tax.)0 +546 y Fs(from)0 609 y Fw(The)g(lo)q(op)f(k)o(eyw)o(ord)h +Fs(from)e Fw(marks)h(the)h(v)n(alue)f(from)f(whic)o(h)i(stepping)g(b)q +(egins,)g(as)f(sp)q(ec-)0 661 y(i\014ed)h(b)o(y)h Fv(expr1)p +Fw(.)k(Stepping)13 b(is)g(incremen)o(tal)g(b)o(y)g(default.)k(F)m(or)c +(decremen)o(tal)h(stepping,)0 713 y(use)h Fs(above)f +Fw(or)g Fs(downto)f Fw(with)h Fv(expr2)p Fw(.)20 b(F)m(or)14 +b(incremen)o(tal)f(stepping,)i(the)g(default)f Fs(from)0 +765 y Fw(v)n(alue)f(is)h Fs(0)p Fw(.)0 860 y Fs(downfrom)p +Fw(,)e Fs(upfrom)0 924 y Fw(The)18 b(lo)q(op)e(k)o(eyw)o(ord)h +Fs(downfrom)f Fw(indicates)h(that)g(the)h(v)n(ariable)e +Fv(var)22 b Fw(is)17 b(decreased)i(in)0 975 y(decremen)o(ts)14 +b(sp)q(eci\014ed)h(b)o(y)e Fv(expr3)p Fw(;)g(the)h(lo)q(op)e(k)o(eyw)o +(ord)h Fs(upfrom)f Fw(indicates)h(that)h Fv(var)j Fw(is)0 +1027 y(increased)e(in)f(incremen)o(ts)g(sp)q(eci\014ed)h(b)o(y)f +Fv(expr3)p Fw(.)0 1123 y Fs(to)0 1186 y Fw(The)19 b(lo)q(op)g(k)o(eyw)o +(ord)f Fs(to)h Fw(marks)f(the)h(end)h(v)n(alue)e(for)h(stepping)g(sp)q +(eci\014ed)h(in)f Fv(expr2)p Fw(.)0 1238 y(Stepping)f(is)f(incremen)o +(tal)g(b)o(y)h(default.)29 b(F)m(or)17 b(decremen)o(tal)h(stepping,)h +(use)f Fs(downto)p Fw(,)0 1290 y Fs(downfrom)p Fw(,)12 +b(or)i Fs(above)e Fw(with)i Fv(expr2)p Fw(.)0 1386 y +Fs(downto)p Fw(,)e Fs(upto)0 1449 y Fw(The)17 b(lo)q(op)e(k)o(eyw)o +(ord)h Fs(downto)f Fw(allo)o(ws)g(iteration)h(to)g(pro)q(ceed)i(from)c +(a)i(larger)g(n)o(um)o(b)q(er)0 1500 y(to)e(a)g(smaller)f(n)o(um)o(b)q +(er)h(b)o(y)g(the)h(decremen)o(t)g Fv(expr3)p Fw(.)20 +b(The)15 b(lo)q(op)e(k)o(eyw)o(ord)h Fs(upto)g Fw(allo)o(ws)0 +1552 y(iteration)g(to)h(pro)q(ceed)h(from)d(a)h(smaller)f(n)o(um)o(b)q +(er)h(to)h(a)f(larger)h(n)o(um)o(b)q(er)f(b)o(y)g(the)h(incre-)0 +1604 y(men)o(t)e Fv(expr3)p Fw(.)19 b(Since)c(there)h(is)e(no)f +(default)h(for)g Fv(expr1)20 b Fw(in)14 b(decremen)o(tal)g(stepping,)g +(y)o(ou)0 1656 y(m)o(ust)f(supply)h(a)f(v)n(alue)h(with)f +Fs(downto)p Fw(.)0 1752 y Fs(below)p Fw(,)f Fs(above)0 +1815 y Fw(The)j(lo)q(op)g(k)o(eyw)o(ords)g Fs(below)f +Fw(and)h Fs(above)f Fw(are)h(analogous)f(to)h Fs(upto)f +Fw(and)h Fs(downto)p Fw(,)e(re-)0 1867 y(sp)q(ectiv)o(ely)m(.)18 +b(These)c(k)o(eyw)o(ords)e(stop)h(iteration)f(just)h(b)q(efore)g(the)g +(v)n(alue)f(of)g(the)h(v)n(ariable)0 1919 y Fv(var)18 +b Fw(reac)o(hes)h(the)g(v)n(alue)e(sp)q(eci\014ed)j(b)o(y)e +Fv(expr2)6 b Fw(;)19 b(the)g(end)f(v)n(alue)f(of)h Fv(expr2)24 +b Fw(is)17 b(not)h(in-)0 1971 y(cluded.)g(Since)13 b(there)h(is)f(no)f +(default)h(for)f Fv(expr1)19 b Fw(in)12 b(decremen)o(tal)h(stepping,)g +(y)o(ou)f(m)o(ust)0 2022 y(supply)i(a)f(v)n(alue)h(with)f +Fs(above)p Fw(.)0 2118 y Fs(by)0 2181 y Fw(The)j(lo)q(op)g(k)o(eyw)o +(ord)g Fs(by)f Fw(marks)g(the)i(incremen)o(t)f(or)g(decremen)o(t)h(sp)q +(eci\014ed)g(b)o(y)f Fv(expr3)p Fw(.)0 2233 y(The)e(v)n(alue)g(of)f +Fv(expr3)20 b Fw(can)14 b(b)q(e)g(an)o(y)g(p)q(ositiv)o(e)f(n)o(um)o(b) +q(er.)18 b(The)c(default)f(v)n(alue)h(is)f Fs(1)p Fw(.)42 +2329 y(A)o(t)g(least)i(one)f(of)f(these)i(prep)q(ositions)g(m)o(ust)d +(b)q(e)j(used)g(with)e(this)h(syn)o(tax.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 778 802 +778 801 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(778)77 b(COMMON)13 +b(LISP)42 295 y Fw(In)i(an)h(iteration)f(con)o(trol)g(clause,)i(the)f +Fs(for)f Fw(or)h Fs(as)f Fw(construct)i(causes)g(termination)0 +347 y(when)12 b(the)f(sp)q(eci\014ed)i(limit)8 b(is)j(reac)o(hed.)18 +b(That)11 b(is,)g(iteration)g(con)o(tin)o(ues)h(un)o(til)e(the)h(v)n +(alue)0 399 y Fv(var)k Fw(is)c(stepp)q(ed)i(to)e(the)g(exclusiv)o(e)h +(or)f(inclusiv)o(e)f(limit)f(sp)q(eci\014ed)j(b)o(y)f +Fv(expr2)6 b Fw(.)17 b(The)11 b(range)0 450 y(is)j Fv(exclusive)k +Fw(if)13 b Fv(expr3)21 b Fw(increases)16 b(or)e(decreases)j +Fv(var)h Fw(to)d(the)f(v)n(alue)g(of)g Fv(expr2)20 b +Fw(without)0 502 y(reac)o(hing)e(that)g(v)n(alue;)h(the)g(lo)q(op)e(k)o +(eyw)o(ords)i Fs(below)e Fw(and)g Fs(above)g Fw(pro)o(vide)h(exclusiv)o +(e)0 554 y(limits.)d(An)f Fv(inclusive)i Fw(limit)10 +b(allo)o(ws)h Fv(var)18 b Fw(to)13 b(attain)f(the)h(v)n(alue)g(of)f +Fv(expr2)p Fw(;)h Fs(to)p Fw(,)f Fs(downto)p Fw(,)0 606 +y(and)i Fs(upto)f Fw(pro)o(vide)g(inclusiv)o(e)h(limits.)42 +671 y(A)g(common)e(con)o(v)o(en)o(tion)j(is)f(to)h(use)g +Fs(for)f Fw(to)h(in)o(tro)q(duce)g(new)g(iterations)g(and)g +Fs(as)f Fw(to)0 723 y(in)o(tro)q(duce)h(iterations)g(that)f(dep)q(end)i +(on)e(a)g(previous)h(iteration)f(sp)q(eci\014cation.)21 +b([Ho)o(w-)0 775 y(ev)o(er,)14 b Fs(loop)f Fw(do)q(es)i(not)e(enforce)i +(this)f(con)o(v)o(en)o(tion,)f(and)h(some)f(of)g(the)h(examples)f(b)q +(elo)o(w)0 826 y(violate)g(it.)18 b Fv(De)d(gustibus)g(non)h +(disputandum)g(est.)p Fw(|GLS])42 891 y(Examples:)0 1105 +y Fs(;;;)21 b(Print)f(some)g(numbers.)0 1169 y(\(loop)g(as)h(i)g(from)f +(1)h(to)g(5)127 1221 y(do)g(\(print)f(i\)\))723 b(;)p +Fw(Prin)o(ts)14 b(5)g(lines)0 1273 y Fs(1)0 1325 y(2)0 +1377 y(3)0 1429 y(4)0 1480 y(5)64 1532 y Ft(\))20 b Fs(NIL)0 +1636 y(;;;)h(Print)f(every)g(third)g(number.)0 1700 y(\(loop)g(for)h(i) +g(from)f(10)h(downto)f(1)h(by)f(3)127 1752 y(do)h(\(print)f(i\)\))723 +b(;)p Fw(Prin)o(ts)14 b(4)g(lines)0 1804 y Fs(10)0 1856 +y(7)0 1908 y(4)0 1960 y(1)64 2012 y Ft(\))20 b Fs(NIL)0 +2213 y(;;;)h(Step)f(incrementally)e(from)j(the)f(default)g(starting)g +(value.)0 2277 y(\(loop)g(as)h(i)g(below)f(5)127 2329 +y(do)h(\(print)f(i\)\))723 b(;)p Fw(Prin)o(ts)14 b(5)g(lines)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 779 803 +779 802 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LOOP)1235 b(779)0 +295 y Fs(0)0 347 y(1)0 399 y(2)0 450 y(3)0 502 y(4)64 +554 y Ft(\))20 b Fs(NIL)-33 768 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1159 796 a Fw([)p Fv(L)n(o)n(op)15 b(clause)s +Fw(])-1395 b Fs(for)34 b Fv(var)22 b Fw([)p Fv(typ)n(e-sp)n(e)n(c)p +Fw(])f Fs(in)14 b Fv(expr1)22 b Fw([)p Fs(by)14 b Fv(step-fun)p +Fw(])1159 848 y([)p Fv(L)n(o)n(op)h(clause)s Fw(])-1395 +b Fs(as)35 b Fv(var)21 b Fw([)p Fv(typ)n(e-sp)n(e)n(c)p +Fw(])g Fs(in)15 b Fv(expr1)22 b Fw([)p Fs(by)14 b Fv(step-fun)p +Fw(])0 927 y([This)f(is)h(the)h(second)g(of)e(sev)o(en)i +Fs(for)p Fw(/)p Fs(as)d Fw(syn)o(taxes.|GLS])42 981 y(This)i(construct) +j(iterates)f(o)o(v)o(er)f(the)g(con)o(ten)o(ts)h(of)e(a)h(list.)21 +b(It)15 b(c)o(hec)o(ks)h(for)e(the)i(end)f(of)0 1033 +y(the)d(list)e(as)i(if)e(using)h(the)h(Commo)o(n)c(Lisp)j(function)g +Fs(endp)p Fw(.)17 b(The)11 b(v)n(ariable)f Fv(var)16 +b Fw(is)11 b(b)q(ound)0 1085 y(to)j(the)h(successiv)o(e)i(elemen)o(ts)d +(of)f(the)i(list)f Fv(expr1)20 b Fw(b)q(efore)15 b(eac)o(h)g +(iteration.)k(A)o(t)14 b(the)h(end)0 1137 y(of)d(eac)o(h)i(iteration,)e +(the)i(function)f Fv(step-fun)j Fw(is)d(called)g(on)g(the)g(list)g(and) +g(is)g(exp)q(ected)i(to)0 1189 y(pro)q(duce)g(a)f(successor)i(list;)d +(the)i(default)e(v)n(alue)g(for)h Fv(step-fun)j Fw(is)d(the)g +Fs(cdr)g Fw(function.)42 1243 y(The)19 b Fs(for)g Fw(or)g +Fs(as)g Fw(construct)i(causes)g(termination)c(when)j(the)g(end)g(of)e +(the)i(list)f(is)0 1295 y(reac)o(hed.)35 b(The)19 b(lo)q(op)f(k)o(eyw)o +(ords)i Fs(in)e Fw(and)h Fs(by)g Fw(serv)o(e)h(as)f(v)n(alid)f(prep)q +(ositions)h(in)g(this)0 1347 y(syn)o(tax.)42 1401 y(Examples:)0 +1510 y Fs(;;;)i(Print)f(every)g(item)g(in)h(a)g(list.)0 +1574 y(\(loop)f(for)h(item)f(in)388 1578 y Fn(')411 1574 +y Fs(\(1)h(2)g(3)g(4)g(5\))f(do)h(\(print)f(item\)\))115 +b(;)p Fw(Prin)o(ts)14 b(5)g(lines)0 1626 y Fs(1)0 1678 +y(2)0 1730 y(3)0 1782 y(4)0 1834 y(5)64 1886 y Ft(\))20 +b Fs(NIL)0 1989 y(;;;)h(Print)f(every)g(other)g(item)g(in)h(a)g(list.)0 +2054 y(\(loop)f(for)h(item)f(in)388 2058 y Fn(')411 2054 +y Fs(\(1)h(2)g(3)g(4)g(5\))f(by)h(#)734 2050 y(-)734 +2058 y(-)n Fn(')777 2054 y Fs(cddr)127 2106 y(do)g(\(print)f(item\)\)) +657 b(;)p Fw(Prin)o(ts)14 b(3)g(lines)0 2158 y Fs(1)0 +2209 y(3)0 2261 y(5)64 2313 y Ft(\))20 b Fs(NIL)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 780 804 +780 803 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(780)77 b(COMMON)13 +b(LISP)0 295 y Fs(;;;)21 b(Destructure)d(items)j(of)f(a)h(list,)f(and)h +(sum)g(the)f(x)h(values)0 347 y(;;;)g(using)f(fixnum)g(arithmetic.)0 +399 y(\(loop)g(for)h(\(item)f(.)h(x\))g(\(t)f(.)h(fixnum\))212 +450 y(in)274 454 y Fn(')298 450 y Fs(\(\(A)f(.)h(1\))g(\(B)g(.)g(2\))f +(\(C)h(.)g(3\)\))127 502 y(unless)f(\(eq)h(item)472 506 +y Fn(')495 502 y Fs(B\))g(sum)f(x\))64 554 y Ft(\))g +Fs(4)-33 678 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1159 707 a Fw([)p Fv(L)n(o)n(op)15 b(clause)s +Fw(])-1395 b Fs(for)34 b Fv(var)22 b Fw([)p Fv(typ)n(e-sp)n(e)n(c)p +Fw(])f Fs(on)14 b Fv(expr1)22 b Fw([)p Fs(by)14 b Fv(step-fun)p +Fw(])1159 758 y([)p Fv(L)n(o)n(op)h(clause)s Fw(])-1395 +b Fs(as)35 b Fv(var)21 b Fw([)p Fv(typ)n(e-sp)n(e)n(c)p +Fw(])g Fs(on)15 b Fv(expr1)22 b Fw([)p Fs(by)14 b Fv(step-fun)p +Fw(])0 836 y([This)f(is)h(the)h(third)e(of)h(sev)o(en)h +Fs(for)p Fw(/)p Fs(as)d Fw(syn)o(taxes.|GLS])42 888 y(This)18 +b(construct)h(iterates)g(o)o(v)o(er)g(the)f(con)o(ten)o(ts)h(of)f(a)g +(list.)30 b(It)18 b(c)o(hec)o(ks)i(for)d(the)i(end)0 +940 y(of)d(the)h(list)f(as)h(if)f(using)g(the)i(Commo)o(n)c(Lisp)j +(function)f Fs(endp)p Fw(.)25 b(The)17 b(v)n(ariable)f +Fv(var)21 b Fw(is)0 992 y(b)q(ound)11 b(to)g(the)g(successiv)o(e)i +(tails)e(of)f(the)h(list)g Fv(expr1)p Fw(.)17 b(A)o(t)11 +b(the)g(end)h(of)e(eac)o(h)i(iteration,)e(the)0 1044 +y(function)k Fv(step-fun)k Fw(is)d(called)f(on)h(the)g(list)f(and)g(is) +h(exp)q(ected)i(to)d(pro)q(duce)i(a)e(successor)0 1096 +y(list;)f(the)h(default)g(v)n(alue)f(for)h Fv(step-fun)j +Fw(is)d(the)g Fs(cdr)f Fw(function.)42 1148 y(The)e(lo)q(op)f(k)o(eyw)o +(ords)h Fs(on)g Fw(and)f Fs(by)h Fw(serv)o(e)h(as)f(v)n(alid)e(prep)q +(ositions)j(in)e(this)h(syn)o(tax.)17 b(The)0 1200 y +Fs(for)c Fw(or)h Fs(as)f Fw(construct)j(causes)f(termination)d(when)j +(the)f(end)h(of)e(the)i(list)e(is)h(reac)o(hed.)42 1253 +y(Examples:)0 1343 y Fs(;;;)21 b(Collect)e(successive)g(tails)i(of)f(a) +h(list.)0 1395 y(\(loop)f(for)h(sublist)e(on)453 1399 +y Fn(')476 1395 y Fs(\(a)i(b)g(c)g(d\))127 1447 y(collect)f(sublist\)) +64 1499 y Ft(\))g Fs(\(\(A)h(B)g(C)g(D\))f(\(B)h(C)g(D\))g(\(C)g(D\))f +(\(D\)\))0 1602 y(;;;)h(Print)f(a)h(list)f(by)h(using)f(destructuring)e +(with)j(the)f(loop)h(keyword)e(ON.)0 1654 y(\(loop)h(for)h(\(item\))f +(on)431 1658 y Fn(')455 1654 y Fs(\(1)g(2)h(3\))127 1706 +y(do)g(\(print)f(item\)\))657 b(;)p Fw(Prin)o(ts)14 b(3)g(lines)0 +1758 y Fs(1)0 1810 y(2)0 1862 y(3)64 1914 y Ft(\))20 +b Fs(NIL)0 2017 y(;;;)h(Print)f(items)g(in)h(a)g(list)f(without)g +(using)g(destructuring.)0 2069 y(\(loop)g(for)h(item)f(in)388 +2073 y Fn(')411 2069 y Fs(\(1)h(2)g(3\))127 2121 y(do)g(\(print)f +(item\)\))657 b(;)p Fw(Prin)o(ts)14 b(3)g(lines)0 2173 +y Fs(1)0 2225 y(2)0 2277 y(3)64 2329 y Ft(\))20 b Fs(NIL)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 781 805 +781 804 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LOOP)1235 b(781)-33 +266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1159 295 a Fw([)p Fv(L)n(o)n(op)15 b(clause)s +Fw(])-1395 b Fs(for)34 b Fv(var)22 b Fw([)p Fv(typ)n(e-sp)n(e)n(c)p +Fw(])384 291 y Fs(U)384 299 y(U)421 295 y Fv(expr1)g +Fw([)p Fs(then)13 b Fv(expr2)p Fw(])1159 347 y([)p Fv(L)n(o)n(op)i +(clause)s Fw(])-1395 b Fs(as)35 b Fv(var)21 b Fw([)p +Fv(typ)n(e-sp)n(e)n(c)p Fw(])362 343 y Fs(U)362 351 y(U)399 +347 y Fv(expr1)h Fw([)p Fs(then)13 b Fv(expr2)p Fw(])0 +424 y([This)g(is)h(the)h(fourth)e(of)h(sev)o(en)h Fs(for)p +Fw(/)p Fs(as)d Fw(syn)o(taxes.|GLS])42 476 y(This)g(construct)i +(initializes)e(the)h(v)n(ariable)e Fv(var)17 b Fw(b)o(y)12 +b(setting)h(it)g(to)f(the)h(result)h(of)e(ev)n(al-)0 +528 y(uating)i Fv(expr1)20 b Fw(on)15 b(the)g(\014rst)g(iteration,)f +(then)i(setting)f(it)f(to)g(the)i(result)f(of)f(ev)n(aluating)0 +580 y Fv(expr2)20 b Fw(on)14 b(the)h(second)g(and)f(subsequen)o(t)i +(iterations.)j(If)14 b Fv(expr2)20 b Fw(is)14 b(omitted,)f(the)i(con-)0 +632 y(struct)k(uses)f Fv(expr1)23 b Fw(on)17 b(the)h(second)h(and)e +(subsequen)o(t)i(iterations.)28 b(When)18 b Fv(expr2)23 +b Fw(is)0 683 y(omitted,)12 b(the)j(expanded)f(co)q(de)h(sho)o(ws)f +(the)h(follo)o(wing)c(optimization:)0 772 y Fs(;;;)21 +b(Sample)e(original)h(code:)0 824 y(\(loop)g(for)h(x)260 +820 y(U)260 828 y(U)303 824 y Fv(expr1)27 b Fs(then)20 +b Fv(expr2)27 b Fs(do)21 b(\(print)f(x\)\))0 911 y(;;;)h(The)f(usual)g +(expansion:)0 963 y(\(tagbody)127 1015 y(\(setq)g(x)h +Fv(expr1)6 b Fs(\))42 1067 y(tag)21 b(\(print)f(x\))127 +1119 y(\(setq)g(x)h Fv(expr2)6 b Fs(\))127 1171 y(\(go)21 +b(tag\)\))0 1259 y(;;;)g(The)f(optimized)f(expansion:)0 +1311 y(\(tagbody)42 1363 y(tag)i(\(setq)f(x)h Fv(expr1)6 +b Fs(\))127 1414 y(\(print)20 b(x\))127 1466 y(\(go)h(tag\)\))42 +1554 y Fw(The)16 b(lo)q(op)g(k)o(eyw)o(ords)406 1550 +y Fs(U)406 1558 y(U)444 1554 y Fw(and)h Fs(then)e Fw(serv)o(e)j(as)f(v) +n(alid)e(prep)q(ositions)i(in)f(this)g(syn)o(tax.)0 1606 +y(This)e(construct)h(do)q(es)g(not)f(pro)o(vide)f(an)o(y)h(termination) +e(conditions.)42 1658 y(Example:)0 1746 y Fs(;;;)21 b(Collect)e(some)i +(numbers.)0 1798 y(\(loop)f(for)h(item)325 1794 y(U)325 +1802 y(U)368 1798 y(1)g(then)f(\(+)h(item)f(10\))127 +1850 y(repeat)g(5)127 1902 y(collect)g(item\))64 1954 +y Ft(\))g Fs(\(1)h(11)g(21)f(31)h(41\))-33 2067 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1159 2096 a Fw([)p Fv(L)n(o)n(op)15 b(clause)s +Fw(])-1395 b Fs(for)34 b Fv(var)22 b Fw([)p Fv(typ)n(e-sp)n(e)n(c)p +Fw(])f Fs(across)14 b Fv(ve)n(ctor)1159 2148 y Fw([)p +Fv(L)n(o)n(op)h(clause)s Fw(])-1395 b Fs(as)35 b Fv(var)21 +b Fw([)p Fv(typ)n(e-sp)n(e)n(c)p Fw(])g Fs(across)14 +b Fv(ve)n(ctor)0 2225 y Fw([This)f(is)h(the)h(\014fth)e(of)h(sev)o(en)h +Fs(for)p Fw(/)p Fs(as)d Fw(syn)o(taxes.|GLS])42 2277 +y(This)k(construct)i(binds)e(the)h(v)n(ariable)e Fv(var)21 +b Fw(to)16 b(the)h(v)n(alue)f(of)g(eac)o(h)g(elemen)o(t)g(in)g(the)0 +2329 y(arra)o(y)e Fv(ve)n(ctor)p Fw(.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 782 806 +782 805 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(782)77 b(COMMON)13 +b(LISP)42 295 y Fw(The)20 b(lo)q(op)g(k)o(eyw)o(ord)g +Fs(across)f Fw(marks)g(the)h(arra)o(y)g Fv(ve)n(ctor)p +Fw(;)j Fs(across)c Fw(is)h(used)h(as)f(a)0 347 y(prep)q(osition)c(in)f +(this)g(syn)o(tax.)23 b(Iteration)15 b(stops)h(when)g(there)h(are)f(no) +f(more)g(elemen)o(ts)0 399 y(in)e(the)i(sp)q(eci\014ed)g(arra)o(y)f +(that)g(can)g(b)q(e)h(referenced.)42 450 y(Some)e(implemen)o(tations)f +(migh)o(t)h(use)i(a)g([user-supplied|GLS])f Fs(the)g +Fw(sp)q(ecial)h(form)0 502 y(in)e(the)i Fv(ve)n(ctor)e +Fw(form)g(to)g(pro)q(duce)i(more)e(e\016cien)o(t)i(co)q(de.)42 +554 y(Example:)0 639 y Fs(\(loop)20 b(for)h(char)f(across)g(\(the)g +(simple-string)f(\(find-message)f(port\)\))127 691 y(do)j(\(write-char) +e(char)h(stream\)\))-33 788 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1159 816 a Fw([)p Fv(L)n(o)n(op)15 b(clause)s +Fw(])-1395 b Fs(for)34 b Fv(var)22 b Fw([)p Fv(typ)n(e-sp)n(e)n(c)p +Fw(])f Fs(being)g Ft(f)p Fs(each)13 b Ft(j)i Fs(the)p +Ft(g)93 868 y(f)p Fs(hash-key)e Ft(j)i Fs(hash-keys)e +Ft(j)h Fs(hash-value)f Ft(j)h Fs(hash-values)p Ft(g)93 +920 y(f)p Fs(in)h Ft(j)f Fs(of)p Ft(g)7 b Fv(hash-table)21 +b Fw([)p Fs(using)14 b(\()7 b Ft(f)p Fs(hash-value)12 +b Ft(j)i Fs(hash-key)p Ft(g)7 b Fv(other-var)p Fs(\))p +Fw(])1159 972 y([)p Fv(L)n(o)n(op)15 b(clause)s Fw(])-1395 +b Fs(as)35 b Fv(var)21 b Fw([)p Fv(typ)n(e-sp)n(e)n(c)p +Fw(])g Fs(being)g Ft(f)p Fs(each)14 b Ft(j)g Fs(the)p +Ft(g)72 1024 y(f)p Fs(hash-key)f Ft(j)h Fs(hash-keys)f +Ft(j)h Fs(hash-value)f Ft(j)i Fs(hash-values)p Ft(g)72 +1076 y(f)p Fs(in)f Ft(j)g Fs(of)p Ft(g)7 b Fv(hash-table)22 +b Fw([)p Fs(using)13 b(\()7 b Ft(f)p Fs(hash-value)12 +b Ft(j)j Fs(hash-key)p Ft(g)7 b Fv(other-var)p Fs(\))p +Fw(])0 1152 y([This)13 b(is)h(the)h(sixth)e(of)h(sev)o(en)h +Fs(for)p Fw(/)p Fs(as)d Fw(syn)o(taxes.|GLS])42 1204 +y(This)h(construct)j(iterates)e(o)o(v)o(er)g(the)h(elemen)o(ts,)e(k)o +(eys,)h(and)f(v)n(alues)h(of)f(a)g(hash)h(table.)0 1256 +y(The)k(v)n(ariable)f Fv(var)22 b Fw(tak)o(es)d(on)e(the)i(v)n(alue)e +(of)h(eac)o(h)g(hash)g(k)o(ey)g(or)g(hash)g(v)n(alue)g(in)f(the)0 +1308 y(sp)q(eci\014ed)e(hash)g(table.)42 1360 y(The)e(follo)o(wing)e +(lo)q(op)h(k)o(eyw)o(ords)i(serv)o(e)g(as)f(v)n(alid)f(prep)q(ositions) +i(within)e(this)h(syn)o(tax.)0 1461 y Fs(being)0 1524 +y Fw(The)k(k)o(eyw)o(ord)f Fs(being)f Fw(marks)g(the)i(lo)q(op)e(metho) +q(d)h(to)g(b)q(e)h(used,)g(either)g Fs(hash-key)e Fw(or)0 +1576 y Fs(hash-value)p Fw(.)0 1678 y Fs(each)p Fw(,)e +Fs(the)0 1741 y Fw(F)m(or)19 b(purp)q(oses)h(of)e(readabilit)o(y)m(,)g +(the)i(lo)q(op)e(k)o(eyw)o(ord)h Fs(each)f Fw(should)h(follo)o(w)e(the) +j(lo)q(op)0 1793 y(k)o(eyw)o(ord)e Fs(being)f Fw(when)h +Fs(hash-key)f Fw(or)h Fs(hash-value)e Fw(is)i(used.)31 +b(The)19 b(lo)q(op)e(k)o(eyw)o(ord)0 1844 y Fs(the)c +Fw(is)h(used)h(with)e Fs(hash-keys)f Fw(and)i Fs(hash-values)p +Fw(.)0 1946 y Fs(hash-key)p Fw(,)e Fs(hash-keys)0 2009 +y Fw(These)19 b(lo)q(op)e(k)o(eyw)o(ords)h(access)i(eac)o(h)e(k)o(ey)g +(en)o(try)g(of)f(the)i(hash)f(table.)29 b(If)18 b(the)g(name)0 +2061 y Fs(hash-value)11 b Fw(is)h(sp)q(eci\014ed)i(in)e(a)h +Fs(using)e Fw(construct)k(with)d(one)h(of)f(these)i(lo)q(op)e(metho)q +(ds,)0 2113 y(the)17 b(iteration)f(can)g(optionally)e(access)k(the)f(k) +o(ey)o(ed)g(v)n(alue.)24 b(The)16 b(order)h(in)f(whic)o(h)g(the)0 +2164 y(k)o(eys)e(are)h(accessed)h(is)e(unde\014ned;)g(empt)o(y)f(slots) +h(in)f(the)i(hash)f(table)g(are)g(ignored.)0 2266 y Fs(hash-value)p +Fw(,)d Fs(hash-values)0 2329 y Fw(These)19 b(lo)q(op)f(k)o(eyw)o(ords)g +(access)i(eac)o(h)e(v)n(alue)g(en)o(try)h(of)e(a)h(hash)g(table.)31 +b(If)17 b(the)i(name)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 783 807 +783 806 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LOOP)1235 b(783)0 +295 y Fs(hash-key)15 b Fw(is)h(sp)q(eci\014ed)i(in)d(a)h +Fs(using)f Fw(construct)j(with)e(one)h(of)e(these)j(lo)q(op)e(metho)q +(ds,)0 347 y(the)d(iteration)e(can)i(optionally)d(access)k(the)e(k)o +(ey)h(that)f(corresp)q(onds)i(to)e(the)g(v)n(alue.)17 +b(The)0 399 y(order)i(in)e(whic)o(h)h(the)h(k)o(eys)f(are)g(accessed)j +(is)d(unde\014ned;)i(empt)o(y)d(slots)h(in)g(the)h(hash)0 +450 y(table)14 b(are)g(ignored.)0 555 y Fs(using)0 618 +y Fw(The)19 b(lo)q(op)f(k)o(eyw)o(ord)h Fs(using)e Fw(marks)h(the)h +(optional)e(k)o(ey)i(or)f(the)i(k)o(ey)o(ed)f(v)n(alue)f(to)g(b)q(e)0 +670 y(accessed.)40 b(It)21 b(allo)o(ws)e(y)o(ou)h(to)h(access)h(the)f +(hash)g(k)o(ey)g(if)f(iterating)g(o)o(v)o(er)g(the)i(hash)0 +722 y(v)n(alues,)13 b(and)h(the)g(hash)g(v)n(alue)g(if)f(iterating)g(o) +o(v)o(er)h(the)h(hash)f(k)o(eys.)0 827 y Fs(in)p Fw(,)f +Fs(of)0 890 y Fw(These)i(lo)q(op)e(prep)q(ositions)i(mark)d(the)i(hash) +h(table)e Fv(hash-table)p Fw(.)42 994 y(Iteration)19 +b(stops)i(when)f(there)h(are)f(no)g(more)e(hash)i(k)o(eys)g(or)g(hash)g +(v)n(alues)g(to)f(b)q(e)0 1046 y(referenced)d(in)e(the)g(sp)q +(eci\014ed)i(hash)e(table.)-33 1160 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1159 1189 a([)p Fv(L)n(o)n(op)h(clause)s +Fw(])-1395 b Fs(for)34 b Fv(var)22 b Fw([)p Fv(typ)n(e-sp)n(e)n(c)p +Fw(])f Fs(being)g Ft(f)p Fs(each)13 b Ft(j)i Fs(the)p +Ft(g)93 1241 y(f)p Fs(symbol)f Ft(j)g Fs(present-symbol)e +Ft(j)j Fs(external-symbol)c Ft(j)114 1293 y Fs(symbols)j +Ft(j)g Fs(present-symbols)e Ft(j)i Fs(external-symbols)p +Ft(g)93 1344 y(f)p Fs(in)h Ft(j)f Fs(of)p Ft(g)7 b Fv(p)n(ackage)1159 +1396 y Fw([)p Fv(L)n(o)n(op)15 b(clause)s Fw(])-1395 +b Fs(as)35 b Fv(var)21 b Fw([)p Fv(typ)n(e-sp)n(e)n(c)p +Fw(])g Fs(being)g Ft(f)p Fs(each)14 b Ft(j)g Fs(the)p +Ft(g)72 1448 y(f)p Fs(symbol)f Ft(j)h Fs(present-symbol)e +Ft(j)j Fs(external-symbol)d Ft(j)92 1500 y Fs(symbols)i +Ft(j)g Fs(present-symbols)e Ft(j)i Fs(external-symbols)p +Ft(g)72 1552 y(f)p Fs(in)g Ft(j)g Fs(of)p Ft(g)7 b Fv(p)n(ackage)0 +1629 y Fw([This)13 b(is)h(the)h(last)e(of)g(sev)o(en)i +Fs(for)p Fw(/)p Fs(as)e Fw(syn)o(taxes.|GLS])42 1681 +y(This)18 b(construct)i(iterates)f(o)o(v)o(er)f(the)h(sym)o(b)q(ols)e +(in)g(a)h(pac)o(k)n(age.)31 b(The)19 b(v)n(ariable)e +Fv(var)0 1733 y Fw(tak)o(es)d(on)g(the)g(v)n(alue)g(of)f(eac)o(h)h(sym) +o(b)q(ol)e(in)i(the)g(sp)q(eci\014ed)i(pac)o(k)n(age.)42 +1785 y(The)d(follo)o(wing)e(lo)q(op)h(k)o(eyw)o(ords)i(serv)o(e)g(as)f +(v)n(alid)f(prep)q(ositions)i(within)e(this)h(syn)o(tax.)0 +1890 y Fs(being)0 1953 y Fw(The)k(k)o(eyw)o(ord)g Fs(being)f +Fw(marks)g(the)h(lo)q(op)f(metho)q(d)g(to)h(b)q(e)h(used:)25 +b Fs(symbol)p Fw(,)15 b Fs(present-)0 2005 y(symbol)p +Fw(,)d(or)i Fs(external-symbol)p Fw(.)0 2110 y Fs(each)p +Fw(,)f Fs(the)0 2173 y Fw(F)m(or)19 b(purp)q(oses)h(of)e(readabilit)o +(y)m(,)g(the)i(lo)q(op)e(k)o(eyw)o(ord)h Fs(each)f Fw(should)h(follo)o +(w)e(the)j(lo)q(op)0 2225 y(k)o(eyw)o(ord)26 b Fs(being)g +Fw(when)h Fs(symbol)p Fw(,)g Fs(present-symbol)p Fw(,)f(or)h +Fs(external-symbol)c Fw(is)0 2277 y(used.)28 b(The)17 +b(lo)q(op)f(k)o(eyw)o(ord)h Fs(the)f Fw(is)g(used)i(with)e +Fs(symbols)p Fw(,)g Fs(present-symbols)p Fw(,)e(and)0 +2329 y Fs(external-symbols)p Fw(.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 784 808 +784 807 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(784)77 b(COMMON)13 +b(LISP)0 295 y Fs(present-symbol)p Fw(,)d Fs(present-symbols)0 +358 y Fw(These)i(lo)q(op)e(metho)q(ds)h(iterate)h(o)o(v)o(er)f(the)g +(sym)o(b)q(ols)f(that)h(are)g(presen)o(t)i(but)e(not)g(external)0 +410 y(in)f(a)h(pac)o(k)n(age.)17 b(The)11 b(pac)o(k)n(age)g(to)f(b)q(e) +i(iterated)f(o)o(v)o(er)g(is)g(sp)q(eci\014ed)i(in)d(the)h(same)f(w)o +(a)o(y)h(that)0 462 y(pac)o(k)n(age)g(argumen)o(ts)f(to)h(the)h(Common) +c(Lisp)j(function)g Fs(find-package)d Fw(are)k(sp)q(eci\014ed.)0 +513 y(If)f(y)o(ou)f(do)h(not)g(sp)q(ecify)g(the)h(pac)o(k)n(age)f(for)f +(the)i(iteration,)f(the)g(curren)o(t)i(pac)o(k)n(age)d(is)h(used.)0 +565 y(If)j(y)o(ou)f(sp)q(ecify)h(a)g(pac)o(k)n(age)f(that)h(do)q(es)h +(not)f(exist,)g(an)f(error)i(is)f(signaled.)0 686 y Fs(symbol)p +Fw(,)e Fs(symbols)0 749 y Fw(These)21 b(lo)q(op)e(metho)q(ds)g(iterate) +h(o)o(v)o(er)g(sym)o(b)q(ols)e(that)i(are)g(accessible)h(from)d(a)h +(giv)o(en)0 800 y(pac)o(k)n(age.)26 b(The)17 b(pac)o(k)n(age)f(to)g(b)q +(e)h(iterated)h(o)o(v)o(er)e(is)h(sp)q(eci\014ed)h(in)e(the)h(same)f(w) +o(a)o(y)g(that)0 852 y(pac)o(k)n(age)11 b(argumen)o(ts)f(to)h(the)h +(Common)c(Lisp)j(function)g Fs(find-package)d Fw(are)k(sp)q(eci\014ed.) +0 904 y(If)f(y)o(ou)f(do)h(not)g(sp)q(ecify)g(the)h(pac)o(k)n(age)f +(for)f(the)i(iteration,)f(the)g(curren)o(t)i(pac)o(k)n(age)d(is)h +(used.)0 956 y(If)j(y)o(ou)f(sp)q(ecify)h(a)g(pac)o(k)n(age)f(that)h +(do)q(es)h(not)f(exist,)g(an)f(error)i(is)f(signaled.)0 +1076 y Fs(external-symbol)p Fw(,)c Fs(external-symbols)0 +1139 y Fw(These)j(lo)q(op)d(metho)q(ds)h(iterate)h(o)o(v)o(er)f(the)h +(external)g(sym)o(b)q(ols)e(of)g(a)h(pac)o(k)n(age.)17 +b(The)12 b(pac)o(k-)0 1191 y(age)g(to)f(b)q(e)h(iterated)h(o)o(v)o(er)f +(is)f(sp)q(eci\014ed)i(in)f(the)g(same)f(w)o(a)o(y)g(that)h(pac)o(k)n +(age)f(argumen)o(ts)g(to)0 1243 y(the)i(Common)d(Lisp)j(function)f +Fs(find-package)f Fw(are)i(sp)q(eci\014ed.)19 b(If)12 +b(y)o(ou)h(do)f(not)h(sp)q(ecify)0 1295 y(the)18 b(pac)o(k)n(age)f(for) +g(the)h(iteration,)f(the)h(curren)o(t)h(pac)o(k)n(age)e(is)g(used.)29 +b(If)17 b(y)o(ou)g(sp)q(ecify)h(a)0 1347 y(pac)o(k)n(age)c(that)f(do)q +(es)i(not)f(exist,)g(an)f(error)i(is)f(signaled.)0 1467 +y Fs(in)p Fw(,)f Fs(of)0 1530 y Fw(These)i(lo)q(op)e(prep)q(ositions)i +(mark)d(the)i(pac)o(k)n(age)g Fv(p)n(ackage)p Fw(.)42 +1650 y(Iteration)k(stops)i(when)f(there)i(are)e(no)g(more)f(sym)o(b)q +(ols)f(to)i(b)q(e)g(referenced)j(in)c(the)0 1702 y(sp)q(eci\014ed)d +(pac)o(k)n(age.)42 1756 y(Example:)0 1862 y Fs(\(loop)20 +b(for)h(x)g(being)f(each)g(present-symbol)e(of)j("COMMON-LISP-USER")127 +1914 y(do)g(\(print)f(x\)\))431 b(;)p Fw(Prin)o(ts)14 +b(7)g(lines)g(in)f(this)h(example)0 1966 y Fs(COMMON-LISP-USER:)o(:IN)0 +2017 y(COMMON-LISP-USER:)o(:X)0 2069 y(COMMON-LISP-USER:)o(:ALWA)o(YS)0 +2121 y(COMMON-LISP-USER:)o(:FOO)0 2173 y(COMMON-LISP-USER:)o(:Y)0 +2225 y(COMMON-LISP-USER:)o(:FOR)0 2277 y(COMMON-LISP-USER:)o(:LUCI)o(D) +64 2329 y Ft(\))20 b Fs(NIL)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 785 809 +785 808 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LOOP)1235 b(785)-33 +266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1159 295 a Fw([)p Fv(L)n(o)n(op)15 b(clause)s +Fw(])-1395 b Fs(repeat)34 b Fv(expr)0 373 y Fw(The)15 +b Fs(repeat)f Fw(construct)i(causes)g(iteration)f(to)f(terminate)h +(after)g(a)f(sp)q(eci\014ed)i(n)o(um)o(b)q(er)0 425 y(of)i(times.)32 +b(The)19 b(lo)q(op)f(b)q(o)q(dy)g(is)h(executed)i Fv(n)e +Fw(times,)f(where)i Fv(n)f Fw(is)g(the)g(v)n(alue)f(of)g(the)0 +477 y(expression)11 b Fv(expr)p Fw(.)16 b(The)10 b Fv(expr)g +Fw(argumen)o(t)e(is)i(ev)n(aluated)f(one)h(time)e(in)h(the)h(lo)q(op)f +(prologue.)0 529 y(If)14 b(the)h(expression)g(ev)n(aluates)g(to)f(zero) +h(or)f(to)h(a)f(negativ)o(e)g(n)o(um)o(b)q(er,)f(the)i(lo)q(op)e(b)q(o) +q(dy)i(is)0 580 y(not)f(ev)n(aluated.)42 634 y(The)g(clause)g +Fs(repeat)f Fv(n)h Fw(is)g(roughly)f(equiv)n(alen)o(t)g(to)h(a)f +(clause)i(suc)o(h)g(as)0 732 y Fs(for)21 b Fv(internal-variable)f +Fs(downfrom)f(\(-)i Fv(n)h Fs(1\))e(to)h(0)0 829 y Fw(but,)14 +b(in)f(some)g(implemen)o(tations,)d(the)15 b Fs(repeat)d +Fw(construct)k(migh)o(t)c(b)q(e)i(more)f(e\016cien)o(t.)42 +882 y(Examples:)0 981 y Fs(\(loop)20 b(repeat)g(3)829 +b(;)p Fw(Prin)o(ts)14 b(3)g(lines)127 1033 y Fs(do)21 +b(\(format)f(t)g("What)h(I)g(say)f(three)g(times)g(is)h(true)1079 +1037 y Fn(~)1101 1033 y Fs(\045"\)\))0 1084 y(What)f(I)h(say)g(three)f +(times)g(is)h(true)0 1136 y(What)f(I)h(say)g(three)f(times)g(is)h(true) +0 1188 y(What)f(I)h(say)g(three)f(times)g(is)h(true)64 +1240 y Ft(\))f Fs(NIL)0 1344 y(\(loop)g(repeat)g(-15)762 +b(;)p Fw(Prin)o(ts)14 b(nothing)127 1396 y Fs(do)21 b(\(format)f(t)g +("What)h(you)f(see)h(is)f(what)h(you)f(expect)1101 1400 +y Fn(~)1123 1396 y Fs(\045"\)\))64 1448 y Ft(\))g Fs(NIL)0 +1652 y Fo(26.7.)g(End-T)-5 b(est)15 b(Con)n(trol)0 1754 +y Fw(The)21 b(lo)q(op)e(k)o(eyw)o(ords)i Fs(always)p +Fw(,)f Fs(never)p Fw(,)g Fs(thereis)p Fw(,)g Fs(until)p +Fw(,)g(and)g Fs(while)f Fw(designate)0 1806 y(constructs)f(that)e(use)h +(a)e(single)h(test)h(condition)e(to)h(determine)g(when)g(lo)q(op)f +(iteration)0 1858 y(should)f(terminate.)42 1911 y(The)i(constructs)i +Fs(always)p Fw(,)d Fs(never)p Fw(,)g(and)h Fs(thereis)e +Fw(pro)o(vide)i(sp)q(eci\014c)h(v)n(alues)f(to)g(b)q(e)0 +1963 y(returned)21 b(when)e(a)g(lo)q(op)g(terminates.)33 +b(Using)19 b Fs(always)p Fw(,)g Fs(never)p Fw(,)f(or)h +Fs(thereis)f Fw(with)0 2015 y(v)n(alue-returning)f(accum)o(ulation)e +(clauses)j(can)g(pro)q(duce)g(unpredictable)g(results.)30 +b(In)0 2067 y(all)9 b(other)h(resp)q(ects)j(these)e(constructs)h(b)q +(eha)o(v)o(e)e(lik)o(e)f(the)i Fs(while)e Fw(and)g Fs(until)g +Fw(constructs.)42 2120 y(The)j(macro)f Fs(loop-finish)f +Fw(can)j(b)q(e)g(used)g(at)f(an)o(y)g(time)f(to)h(cause)i(normal)c +(termina-)0 2172 y(tion.)17 b(In)12 b(normal)e(termination,)g +Fs(finally)h Fw(clauses)i(are)f(executed)i(and)e(default)g(return)0 +2224 y(v)n(alues)i(are)g(returned.)42 2277 y(End-test)19 +b(con)o(trol)f(constructs)i(can)e(b)q(e)h(used)g(an)o(ywhere)g(within)e +(the)i(lo)q(op)f(b)q(o)q(dy)m(.)0 2329 y(The)c(termination)e +(conditions)i(are)g(tested)i(in)d(the)i(order)f(in)g(whic)o(h)g(they)g +(app)q(ear.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 786 810 +786 809 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(786)77 b(COMMON)13 +b(LISP)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1159 295 a Fw([)p Fv(L)n(o)n(op)i(clause)s +Fw(])-1395 b Fs(while)34 b Fv(expr)1159 347 y Fw([)p +Fv(L)n(o)n(op)15 b(clause)s Fw(])-1395 b Fs(until)34 +b Fv(expr)0 424 y Fw(The)12 b Fs(while)e Fw(construct)i(allo)o(ws)e +(iteration)h(to)g(con)o(tin)o(ue)g(un)o(til)f(the)i(sp)q(eci\014ed)h +(expression)0 476 y Fv(expr)j Fw(ev)n(aluates)g(to)h +Fs(nil)p Fw(.)24 b(The)16 b(expression)i(is)e(re-ev)n(aluated)g(at)g +(the)h(lo)q(cation)f(of)f(the)0 528 y Fs(while)e Fw(clause.)42 +581 y(The)h Fs(until)f Fw(construct)j(is)f(equiv)n(alen)o(t)e(to)h +Fs(while)g Fw(\()p Fs(not)f Fv(expr)p Fw(\).)20 b(If)14 +b(the)h(v)n(alue)e(of)h(the)0 633 y(sp)q(eci\014ed)h(expression)g(is)f +(non-)p Fs(nil)p Fw(,)f(iteration)g(terminates.)42 686 +y(Y)m(ou)g(can)i(use)g Fs(while)e Fw(and)h Fs(until)f +Fw(at)i(an)o(y)e(p)q(oin)o(t)h(in)g(a)g(lo)q(op.)k(If)c(a)g +Fs(while)g Fw(or)g Fs(until)0 738 y Fw(clause)j(causes)g(termination,)d +(an)o(y)i(clauses)g(that)g(precede)i(it)e(in)g(the)g(source)h(are)g +(still)0 789 y(ev)n(aluated.)42 842 y(Examples:)0 937 +y Fs(;;;)k(A)g(classic)e("while-loop".)0 989 y(\(loop)h(while)g +(\(hungry-p\))f(do)i(\(eat\)\))0 1092 y(;;;)g(UNTIL)f(NOT)g(is)h +(equivalent)e(to)i(WHILE.)0 1144 y(\(loop)f(until)g(\(not)h +(\(hungry-p\)\))e(do)h(\(eat\)\))0 1248 y(;;;)h(Collect)e(the)i(length) +f(and)g(the)h(items)f(of)h(STACK.)0 1300 y(\(let)f(\(\(stack)280 +1304 y Fn(')303 1300 y Fs(\(a)h(b)g(c)g(d)g(e)g(f\)\)\))42 +1352 y(\(loop)f(while)h(stack)169 1404 y(for)g(item)364 +1400 y(U)364 1408 y(U)407 1404 y(\(length)f(stack\))g(then)g(\(pop)h +(stack\))169 1456 y(collect)f(item\)\))64 1508 y Ft(\))g +Fs(\(6)h(A)g(B)g(C)g(D)g(E)g(F\))0 1611 y(;;;)g(Use)f(WHILE)g(to)h +(terminate)e(a)i(loop)g(that)f(otherwise)f(wouldn)1192 +1615 y Fn(')1214 1611 y Fs(t)0 1663 y(;;;)i(terminate.)e(Note)h(that)g +(WHILE)g(occurs)g(after)h(the)f(WHEN.)0 1715 y(\(loop)g(for)h(i)g +(fixnum)f(from)g(3)127 1767 y(when)g(\(oddp)h(i\))f(collect)g(i)127 +1819 y(while)g(\(<)h(i)g(5\)\))64 1871 y Ft(\))f Fs(\(3)h(5\))-33 +2015 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1159 2043 a Fw([)p Fv(L)n(o)n(op)15 b(clause)s +Fw(])-1395 b Fs(always)34 b Fv(expr)1159 2095 y Fw([)p +Fv(L)n(o)n(op)15 b(clause)s Fw(])-1395 b Fs(never)34 +b Fv(expr)1159 2147 y Fw([)p Fv(L)n(o)n(op)15 b(clause)s +Fw(])-1395 b Fs(thereis)34 b Fv(expr)0 2225 y Fw(The)12 +b Fs(always)f Fw(construct)i(tak)o(es)f(one)g(form)e(and)h(terminates)h +(the)g(lo)q(op)f(if)g(the)h(form)e(ev)o(er)0 2277 y(ev)n(aluates)j(to)g +Fs(nil)p Fw(;)f(in)h(this)g(case,)h(it)f(returns)i Fs(nil)p +Fw(.)i(Otherwise,)d(it)f(pro)o(vides)g(a)g(default)0 +2329 y(return)i(v)n(alue)e(of)h Fs(t)p Fw(.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 787 811 +787 810 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LOOP)1235 b(787)42 +295 y Fw(The)17 b Fs(never)f Fw(construct)j(tak)o(es)f(one)f(form)e +(and)i(terminates)g(the)h(lo)q(op)e(if)h(the)g(form)0 +347 y(ev)o(er)d(ev)n(aluates)g(to)g(non-)p Fs(nil)p Fw(;)e(in)h(this)h +(case,)g(it)f(returns)i Fs(nil)p Fw(.)j(Otherwise,)c(it)g(pro)o(vides)0 +399 y(a)g(default)f(return)i(v)n(alue)e(of)h Fs(t)p Fw(.)42 +450 y(The)f Fs(thereis)g Fw(construct)i(tak)o(es)f(one)f(form)f(and)i +(terminates)f(the)h(lo)q(op)f(if)f(the)i(form)0 502 y(ev)o(er)h(ev)n +(aluates)f(to)f(non-)p Fs(nil)p Fw(;)g(in)g(this)h(case,)h(it)e +(returns)j(that)e(v)n(alue.)42 554 y(If)j(the)i Fs(while)e +Fw(or)h Fs(until)e Fw(construct)k(causes)g(termination,)c(con)o(trol)i +(is)g(passed)h(to)0 606 y(the)13 b(lo)q(op)e(epilogue,)h(where)h(an)o +(y)e Fs(finally)g Fw(clauses)i(will)e(b)q(e)i(executed.)19 +b(Since)12 b Fs(always)p Fw(,)0 658 y Fs(never)p Fw(,)g(and)h +Fs(thereis)f Fw(use)j(the)f(Commo)o(n)d(Lisp)i(macro)f +Fs(return)h Fw(to)g(terminate)g(itera-)0 710 y(tion,)g(an)o(y)g +Fs(finally)g Fw(clause)h(that)g(is)g(sp)q(eci\014ed)h(is)f(not)g(ev)n +(aluated.)42 762 y(Examples:)0 848 y Fs(;;;)21 b(Make)f(sure)g(I)h(is)g +(always)f(less)g(than)h(11)f(\(two)h(ways\).)0 900 y(;;;)g(The)f(FOR)h +(construct)e(terminates)g(these)h(loops.)0 986 y(\(loop)g(for)h(i)g +(from)f(0)h(to)g(10)127 1038 y(always)f(\(<)h(i)g(11\)\))64 +1089 y Ft(\))f Fs(T)0 1175 y(\(loop)g(for)h(i)g(from)f(0)h(to)g(10)127 +1227 y(never)f(\(>)h(i)g(11\)\))64 1279 y Ft(\))f Fs(T)0 +1365 y(;;;)h(If)f(I)h(exceeds)f(10,)h(return)e(I;)i(otherwise,)e +(return)h(NIL.)0 1417 y(;;;)h(The)f(THEREIS)g(construct)f(terminates)g +(this)i(loop.)0 1503 y(\(loop)f(for)h(i)g(from)f(0)127 +1555 y(thereis)g(\(when)g(\(>)h(i)g(10\))f(i\))h(\))64 +1607 y Ft(\))f Fs(11)0 1692 y(;;;)h(The)f(FINALLY)g(clause)g(is)h(not)f +(evaluated)f(in)i(these)f(examples.)0 1778 y(\(loop)g(for)h(i)g(from)f +(0)h(to)g(10)127 1830 y(always)f(\(<)h(i)g(9\))127 1882 +y(finally)f(\(print)g("you)g(won)625 1886 y Fn(')648 +1882 y Fs(t)h(see)f(this"\)\))64 1934 y Ft(\))g Fs(NIL)0 +2020 y(\(loop)g(never)g(t)127 2072 y(finally)g(\(print)g("you)g(won)625 +2076 y Fn(')648 2072 y Fs(t)h(see)f(this"\)\))64 2124 +y Ft(\))g Fs(NIL)0 2209 y(\(loop)g(thereis)g("Here)g(is)h(my)g(value") +127 2261 y(finally)f(\(print)g("you)g(won)625 2265 y +Fn(')648 2261 y Fs(t)h(see)f(this"\)\))64 2313 y Ft(\))g +Fs("Here)g(is)h(my)g(value")-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 788 812 +788 811 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(788)77 b(COMMON)13 +b(LISP)0 295 y Fs(;;;)21 b(The)f(FOR)h(construct)e(terminates)g(this)h +(loop,)0 347 y(;;;)h(so)f(the)h(FINALLY)f(clause)g(is)g(evaluated.)0 +434 y(\(loop)g(for)h(i)g(from)f(1)h(to)g(10)127 486 y(thereis)f(\(>)h +(i)f(11\))127 538 y(finally)g(\(print)g(i\)\))631 b(;)p +Fw(Prin)o(ts)14 b(1)f(line)0 590 y Fs(11)64 641 y Ft(\))20 +b Fs(NIL)0 764 y(\(defstruct)f(mountain)h(height)g(difficulty)f(\(why)h +("because)g(it)g(is)h(there"\)\))0 816 y(\(setq)f(everest)g +(\(make-mountain)e(:height)802 820 y Fn(')825 816 y Fs(\(2.86e-13)h +(parsecs\)\)\))0 868 y(\(setq)h(chocorua)g(\(make-mountain)e(:height) +823 872 y Fn(')847 868 y Fs(\(1059180001)h(microns\)\)\))0 +920 y(\(defstruct)g(desert)h(area)g(\(humidity)g(0\)\))0 +972 y(\(setq)g(sahara)g(\(make-desert)f(:area)693 976 +y Fn(')716 972 y Fs(\(212480000)g(square)h(furlongs\)\)\))104 +1024 y(;)p Fw(First)14 b(there)h(is)f(a)f(moun)o(tain,)f(then)i(there)h +(is)f(no)g(moun)o(tain,)d(then)j(there)i(is)d Fh(:)7 +b(:)g(:)0 1075 y Fs(\(loop)20 b(for)h(x)g(in)f(\(list)h(everest)e +(sahara)h(chocorua\))251 b(;)21 b Fw(|GLS)127 1127 y +Fs(thereis)f(\(and)g(\(mountain-p)f(x\))i(\(mountain-height)d(x\)\)\)) +64 1179 y Ft(\))i Fs(\(2.86E-13)g(PARSECS\))0 1283 y(;;;)h(If)f(you)h +(could)f(use)h(this)f(code)g(to)h(find)f(a)h(counterexample)e(to)0 +1335 y(;;;)i(Fermat)217 1339 y Fn(')238 1335 y Fs(s)g(last)g(theorem,)e +(it)i(would)f(still)g(not)h(return)f(the)g(value)0 1387 +y(;;;)h(of)f(the)h(counterexample)d(because)i(all)g(of)h(the)g(THEREIS) +e(clauses)0 1439 y(;;;)i(in)f(this)h(example)e(return)h(only)h(T.)63 +b(Of)20 b(course,)g(this)h(code)f(has)0 1491 y(;;;)h(never)f(been)g +(observed)g(to)g(terminate.)0 1594 y(\(loop)g(for)h(z)g(upfrom)f(2)127 +1646 y(thereis)169 1698 y(\(loop)h(for)f(n)h(upfrom)f(3)h(below)f +(\(log)g(z)h(2\))296 1750 y(thereis)339 1802 y(\(loop)f(for)g(x)h +(below)g(z)466 1854 y(thereis)508 1906 y(\(loop)f(for)h(y)g(below)f(z) +635 1958 y(thereis)g(\()831 1954 y(U)831 1962 y(U)874 +1958 y(\(+)g(\(expt)g(x)h(n\))932 2009 y(\(expt)f(y)h(n\)\))868 +2061 y(\(expt)f(z)h(n\)\)\)\)\)\))-33 2171 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 2200 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(loop-finish)0 2277 y Fw(The)13 b(macro)e Fs(loop-finish)f +Fw(terminates)i(iteration)g(normally)d(and)k(returns)g(an)o(y)f(accu-)0 +2329 y(m)o(ulated)g(result.)19 b(If)14 b(sp)q(eci\014ed,)h(a)e +Fs(finally)g Fw(clause)h(is)g(ev)n(aluated.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 789 813 +789 812 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LOOP)1235 b(789)42 +295 y Fw(In)17 b(most)f(cases)i(it)f(is)g(not)g(necessary)i(to)e(use)h +Fs(loop-finish)d Fw(b)q(ecause)k(other)f(lo)q(op)0 347 +y(con)o(trol)11 b(clauses)h(terminate)f(the)h(lo)q(op.)k(Use)c +Fs(loop-finish)d Fw(to)i(pro)o(vide)h(a)f(normal)e(exit)0 +399 y(from)j(a)i(nested)h(condition)e(inside)h(a)g(lo)q(op.)42 +450 y(Y)m(ou)e(can)h(use)h Fs(loop-finish)d Fw(inside)i(nested)i(Lisp)e +(co)q(de)h(to)f(pro)o(vide)g(a)g(normal)e(exit)0 502 +y(from)h(a)i(lo)q(op.)k(Since)c Fs(loop-finish)e Fw(transfers)j(con)o +(trol)f(to)g(the)h(lo)q(op)e(epilogue,)g(using)0 554 +y Fs(loop-finish)f Fw(within)h(a)g Fs(finally)g Fw(expression)i(can)f +(cause)h(in\014nite)e(lo)q(oping.)42 606 y(Implemen)o(tatio)o(ns)f(are) +j(allo)o(w)o(ed)e(to)i(pro)o(vide)f(this)g(construct)i(as)f(a)f(lo)q +(cal)g(macro)f(b)o(y)0 658 y(using)h Fs(macrolet)p Fw(.)42 +710 y(Examples:)0 795 y Fs(;;;)21 b(Print)f(a)h(date)f(in)h(February,)e +(but)i(exclude)e(leap)i(day.)0 847 y(;;;)g(LOOP-FINISH)d(exits)j(from)f +(the)g(nested)g(condition.)0 899 y(\(loop)g(for)h(date)f(in)h +(date-list)127 951 y(do)g(\(case)f(date)233 1003 y(\(29)g(\(when)h +(\(eq)f(month)664 1007 y Fn(')687 1003 y Fs(february\))445 +1055 y(\(loop-finish\)\))275 1107 y(\(format)g(t)h(")512 +1111 y Fn(~)535 1107 y Fs(:@\()599 1111 y Fn(~)621 1107 +y Fs(A)641 1111 y Fn(~)664 1107 y Fs(\))705 1111 y Fn(~)729 +1107 y Fs(A")f(month)g(date\)\)\)\))0 1210 y(;;;)h(Terminate)e(the)h +(loop,)h(but)f(return)g(the)h(accumulated)d(count.)0 +1262 y(\(loop)i(for)h(i)g(in)322 1266 y Fn(')346 1262 +y Fs(\(1)f(2)h(3)g(stop-here)f(4)h(5)f(6\))127 1314 y(when)g(\(symbolp) +g(i\))h(do)f(\(loop-finish\))127 1366 y(count)g(i\))64 +1418 y Ft(\))g Fs(3)0 1522 y(;;;)h(This)f(loop)g(works)g(just)h(as)f +(well)h(as)g(the)f(previous)g(example.)0 1574 y(\(loop)g(for)h(i)g(in) +322 1578 y Fn(')346 1574 y Fs(\(1)f(2)h(3)g(stop-here)f(4)h(5)f(6\))127 +1626 y(until)g(\(symbolp)g(i\))127 1677 y(count)g(i\))64 +1729 y Ft(\))g Fs(3)0 1880 y Fo(26.8.)g(V)-5 b(alue)15 +b(Accum)n(ulation)0 1965 y Fw(Accum)o(ulating)10 b(v)n(alues)i(during)g +(iteration)g(and)g(returning)g(them)f(from)g(a)g(lo)q(op)h(is)g(often)0 +2017 y(useful.)34 b(Some)18 b(of)g(these)j(accum)o(ulations)c(o)q(ccur) +j(so)g(frequen)o(tly)f(that)g(sp)q(ecial)h(lo)q(op)0 +2069 y(clauses)15 b(ha)o(v)o(e)f(b)q(een)h(dev)o(elop)q(ed)f(to)g +(handle)g(them.)42 2121 y(The)f(lo)q(op)g(k)o(eyw)o(ords)h +Fs(append)p Fw(,)d Fs(appending)p Fw(,)h Fs(collect)p +Fw(,)f Fs(collecting)p Fw(,)g Fs(nconc)p Fw(,)h(and)0 +2173 y Fs(nconcing)g Fw(designate)j(clauses)f(that)g(accum)o(ulate)f(v) +n(alues)h(in)f(lists)h(and)g(return)h(them.)42 2225 y(The)j(lo)q(op)f +(k)o(eyw)o(ords)i Fs(count)p Fw(,)e Fs(counting)p Fw(,)g +Fs(maximize)p Fw(,)g Fs(maximizing)p Fw(,)g Fs(minimize)p +Fw(,)0 2277 y Fs(minimizing)p Fw(,)10 b Fs(sum)p Fw(,)i(and)h +Fs(summing)e Fw(designate)j(clauses)f(that)g(accum)o(ulate)f(and)h +(return)0 2329 y(n)o(umerical)c(v)n(alues.)16 b([There)11 +b(is)g(no)f(seman)o(tic)f(di\013erence)k(b)q(et)o(w)o(een)e(the)g +(\\ing")e(k)o(eyw)o(ords)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 790 814 +790 813 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(790)77 b(COMMON)13 +b(LISP)0 295 y Fw(and)j(their)h(non-\\ing")e(coun)o(terparts.)27 +b(They)16 b(are)h(pro)o(vided)f(purely)h(for)f(the)h(sak)o(e)f(of)0 +347 y(st)o(ylistic)11 b(div)o(ersit)o(y)g(among)e(users.)19 +b(I)11 b(happ)q(en)g(to)g(prefer)i(the)e(non-\\ing")f(forms|when)0 +399 y(I)k(use)h Fs(loop)e Fw(at)g(all.|GLS])42 452 y(The)i(lo)q(op)g +(prep)q(osition)g Fs(into)g Fw(can)h(b)q(e)g(used)g(to)f(name)f(the)i +(v)n(ariable)f(used)h(to)f(hold)0 504 y(partial)c(accum)o(ulations.)16 +b(The)d(v)n(ariable)f(is)g(b)q(ound)g(as)h(if)f(b)o(y)g(the)h(lo)q(op)e +(construct)k Fs(with)0 556 y Fw(\(see)i(section)g(26.9\).)24 +b(If)15 b Fs(into)g Fw(is)h(used,)h(the)g(construct)h(do)q(es)e(not)g +(pro)o(vide)g(a)g(default)0 608 y(return)e(v)n(alue;)e(ho)o(w)o(ev)o +(er,)h(the)h(v)n(ariable)e(is)h(a)o(v)n(ailable)e(for)h(use)i(in)f(an)o +(y)f Fs(finally)g Fw(clause.)42 662 y(Y)m(ou)j(can)g(com)o(bine)g(v)n +(alue-returning)g(accum)o(ulation)e(clauses)k(in)e(a)g(lo)q(op)g(if)g +(all)f(the)0 714 y(clauses)d(accum)o(ulate)e(the)i(same)e(t)o(yp)q(e)i +(of)e(data)h(ob)r(ject.)18 b(By)10 b(default,)g(the)h(Lo)q(op)e(F)m +(acilit)o(y)0 766 y(returns)14 b(only)d(one)h(v)n(alue;)f(th)o(us,)i +(the)f(data)g(ob)r(jects)h(collected)g(b)o(y)f(m)o(ultiple)d(accum)o +(ula-)0 818 y(tion)k(clauses)h(as)g(return)h(v)n(alues)e(m)o(ust)f(ha)o +(v)o(e)h(compatible)f(t)o(yp)q(es.)19 b(F)m(or)13 b(example,)f(since)0 +870 y(b)q(oth)j(the)g Fs(collect)f Fw(and)g Fs(append)g +Fw(constructs)j(accum)o(ulate)d(ob)r(jects)i(in)o(to)e(a)g(list)h(that) +0 922 y(is)f(returned)h(from)d(a)i(lo)q(op,)f(y)o(ou)g(can)h(com)o +(bine)f(them)g(safely)m(.)0 1027 y Fs(;;;)21 b(Collect)e(every)h(name)h +(and)f(the)h(kids)f(in)h(one)g(list)f(by)h(using)0 1079 +y(;;;)g(COLLECT)e(and)i(APPEND.)0 1131 y(\(loop)f(for)h(name)f(in)388 +1135 y Fn(')411 1131 y Fs(\(fred)g(sue)h(alice)f(joe)g(june\))127 +1183 y(for)h(kids)f(in)384 1187 y Fn(')408 1183 y Fs(\(\(bob)g(ken\))g +(\(\))h(\(\))g(\(kris)f(sunshine\))f(\(\)\))127 1235 +y(collect)h(name)127 1287 y(append)g(kids\))64 1339 y +Ft(\))g Fs(\(FRED)g(BOB)h(KEN)f(SUE)h(ALICE)f(JOE)h(KRIS)f(SUNSHINE)g +(JUNE\))0 1443 y Fw([In)14 b(the)i(preceding)g(example,)d(note)j(that)f +(the)g(items)f(accum)o(ulated)g(b)o(y)h(the)g Fs(collect)0 +1494 y Fw(and)d Fs(append)g Fw(clauses)h(are)g(in)o(terlea)o(v)o(ed)g +(in)f(the)h(result)g(list,)f(according)g(to)h(the)g(order)g(in)0 +1546 y(whic)o(h)h(the)g(clauses)h(w)o(ere)g(executed.|GLS])42 +1600 y(Multiple)e(clauses)j(that)f(do)f(not)h(accum)o(ulate)e(the)j +(same)e(t)o(yp)q(e)h(of)f(data)g(ob)r(ject)i(can)0 1652 +y(co)q(exist)j(in)e(a)h(lo)q(op)f(only)g(if)g(eac)o(h)i(clause)f(accum) +o(ulates)f(its)h(v)n(alues)g(in)o(to)f(a)h(di\013eren)o(t)0 +1704 y(user-sp)q(eci\014ed)f(v)n(ariable.)h(An)o(y)d(n)o(um)o(b)q(er)e +(of)h(v)n(alues)g(can)h(b)q(e)g(returned)h(from)d(a)h(lo)q(op)g(if)0 +1756 y(y)o(ou)f(use)i(the)g(Commo)o(n)c(Lisp)j(function)g +Fs(values)p Fw(,)e(as)i(the)g(next)h(example)d(sho)o(ws:)0 +1862 y Fs(;;;)21 b(Count)f(and)g(collect)g(names)g(and)h(ages.)0 +1914 y(\(loop)f(for)h(name)f(in)388 1918 y Fn(')411 1914 +y Fs(\(fred)g(sue)h(alice)f(joe)g(june\))127 1966 y(as)h(age)f(in)341 +1970 y Fn(')364 1966 y Fs(\(22)h(26)g(19)f(20)h(10\))127 +2017 y(append)f(\(list)g(name)g(age\))h(into)f(name-and-age-list)127 +2069 y(count)g(name)h(into)f(name-count)127 2121 y(sum)h(age)f(into)g +(total-age)127 2173 y(finally)169 2225 y(\(return)g(\(values)g(\(round) +g(total-age)f(name-count\))508 2277 y(name-and-age-list\))o(\)\))64 +2329 y Ft(\))h Fs(19)h Fw(and)g Fs(\(FRED)f(22)h(SUE)f(26)h(ALICE)f(19) +h(JOE)g(20)f(JUNE)h(10\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 791 815 +791 814 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LOOP)1235 b(791)-33 +266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1159 295 a Fw([)p Fv(L)n(o)n(op)15 b(clause)s +Fw(])-1395 b Fs(collect)34 b Fv(expr)21 b Fw([)p Fs(into)14 +b Fv(var)p Fw(])1159 347 y([)p Fv(L)n(o)n(op)h(clause)s +Fw(])-1395 b Fs(collecting)33 b Fv(expr)22 b Fw([)p Fs(into)13 +b Fv(var)p Fw(])0 424 y(During)j(eac)o(h)h(iteration,)f(these)h +(constructs)i(collect)d(the)h(v)n(alue)f(of)g(the)h(sp)q(eci\014ed)h +(ex-)0 475 y(pression)d(in)o(to)e(a)g(list.)18 b(When)c(iteration)g +(terminates,)f(the)h(list)g(is)f(returned.)42 527 y(The)j(argumen)o(t)g +Fv(var)21 b Fw(is)16 b(set)h(to)g(the)g(list)f(of)g(collected)h(v)n +(alues;)g(if)f Fv(var)g Fw(is)h(sp)q(eci\014ed,)0 579 +y(the)g(lo)q(op)e(do)q(es)i(not)g(return)g(the)g(\014nal)f(list)g +(automatically)l(.)22 b(If)16 b Fv(var)g Fw(is)g(not)h(sp)q(eci\014ed,) +0 631 y(it)c(is)h(equiv)n(alen)o(t)f(to)h(sp)q(ecifying)g(an)f(in)o +(ternal)h(name)e(for)i Fv(var)f Fw(and)h(returning)h(its)e(v)n(alue)0 +683 y(in)g(a)g Fs(finally)e Fw(clause.)19 b(The)13 b +Fv(var)18 b Fw(argumen)o(t)12 b(is)h(b)q(ound)g(as)g(if)g(b)o(y)f(the)i +(construct)h Fs(with)p Fw(.)0 735 y(Y)m(ou)e(cannot)h(sp)q(ecify)h(a)e +(data)h(t)o(yp)q(e)g(for)g Fv(var)t Fw(;)g(it)f(m)o(ust)g(b)q(e)h(of)g +(t)o(yp)q(e)g Fs(list)p Fw(.)42 787 y(Examples:)0 873 +y Fs(;;;)21 b(Collect)e(all)i(the)f(symbols)g(in)h(a)g(list.)0 +925 y(\(loop)f(for)h(i)g(in)322 929 y Fn(')346 925 y +Fs(\(bird)f(3)h(4)g(turtle)f(\(1)g(.)h(4\))g(horse)f(cat\))127 +977 y(when)g(\(symbolp)g(i\))h(collect)e(i\))64 1029 +y Ft(\))h Fs(\(BIRD)g(TURTLE)g(HORSE)g(CAT\))0 1133 y(;;;)h(Collect)e +(and)i(return)f(odd)g(numbers.)0 1185 y(\(loop)g(for)h(i)g(from)f(1)h +(to)g(10)127 1237 y(if)g(\(oddp)f(i\))h(collect)e(i\))64 +1289 y Ft(\))h Fs(\(1)h(3)g(5)g(7)g(9\))0 1392 y(;;;)g(Collect)e(items) +h(into)h(local)f(variable,)f(but)i(don)997 1396 y Fn(')1019 +1392 y Fs(t)g(return)f(them.)0 1444 y(\(loop)g(for)h(i)g(in)322 +1448 y Fn(')346 1444 y Fs(\(a)f(b)h(c)g(d\))g(by)g(#)626 +1440 y(-)626 1448 y(-)m Fn(')669 1444 y Fs(cddr)127 1496 +y(collect)f(i)h(into)f(my-list)127 1548 y(finally)g(\(print)g +(my-list\)\))499 b(;)p Fw(Prin)o(ts)14 b(1)f(line)0 1600 +y Fs(\(A)21 b(C\))64 1652 y Ft(\))f Fs(NIL)-33 1756 y +@beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1159 1785 a Fw([)p Fv(L)n(o)n(op)15 b(clause)s +Fw(])-1395 b Fs(append)34 b Fv(expr)22 b Fw([)p Fs(into)13 +b Fv(var)p Fw(])1159 1836 y([)p Fv(L)n(o)n(op)i(clause)s +Fw(])-1395 b Fs(appending)33 b Fv(expr)22 b Fw([)p Fs(into)14 +b Fv(var)p Fw(])1159 1888 y([)p Fv(L)n(o)n(op)h(clause)s +Fw(])-1395 b Fs(nconc)34 b Fv(expr)22 b Fw([)p Fs(into)13 +b Fv(var)p Fw(])1159 1940 y([)p Fv(L)n(o)n(op)i(clause)s +Fw(])-1395 b Fs(nconcing)33 b Fv(expr)22 b Fw([)p Fs(into)14 +b Fv(var)p Fw(])0 2017 y(These)e(constructs)h(are)f(similar)c(to)j +Fs(collect)e Fw(except)k(that)e(the)h(v)n(alues)e(of)h(the)g(sp)q +(eci\014ed)0 2069 y(expression)k(m)o(ust)e(b)q(e)h(lists.)42 +2121 y(The)g Fs(append)f Fw(k)o(eyw)o(ord)h(causes)h(its)f(list)g(v)n +(alues)g(to)g(b)q(e)g(concatenated)i(in)o(to)d(a)h(single)0 +2173 y(list,)f(as)h(if)f(they)h(w)o(ere)h(argumen)o(ts)e(to)h(the)h +(Comm)o(on)c(Lisp)j(function)f Fs(append)p Fw(.)42 2225 +y(The)j Fs(nconc)f Fw(k)o(eyw)o(ord)g(causes)j(its)e(list)f(v)n(alues)h +(to)f(b)q(e)i(concatenated)g(in)o(to)e(a)h(single)0 2277 +y(list,)i(as)g(if)e(they)j(w)o(ere)f(argumen)o(ts)f(to)h(the)g(Common)d +(Lisp)i(function)h Fs(nconc)p Fw(.)28 b(Note)0 2329 y(that)14 +b(the)g Fs(nconc)f Fw(k)o(eyw)o(ord)h(destructiv)o(ely)h(mo)q(di\014es) +e(its)h(argumen)o(t)f(lists.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 792 816 +792 815 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(792)77 b(COMMON)13 +b(LISP)42 295 y Fw(The)j(argumen)o(t)g Fv(var)k Fw(is)d(set)g(to)f(the) +h(list)f(of)g(concatenated)i(v)n(alues;)f(if)e(y)o(ou)h(sp)q(ecify)0 +347 y Fv(var)p Fw(,)e(the)i(lo)q(op)e(do)q(es)h(not)g(return)h(the)g +(\014nal)e(list)g(automatically)m(.)j(The)f Fv(var)j +Fw(argumen)o(t)0 399 y(is)13 b(b)q(ound)g(as)g(if)g(b)o(y)f(the)i +(construct)h Fs(with)p Fw(.)i(Y)m(ou)12 b(cannot)h(sp)q(ecify)h(a)f +(data)g(t)o(yp)q(e)g(for)g Fv(var)t Fw(;)0 450 y(it)h(m)o(ust)e(b)q(e)j +(of)e(t)o(yp)q(e)i Fs(list)p Fw(.)42 502 y(Examples:)0 +585 y Fs(;;;)21 b(Use)f(APPEND)g(to)h(concatenate)e(some)h(sublists.)0 +637 y(\(loop)g(for)h(x)g(in)322 641 y Fn(')346 637 y +Fs(\(\(a\))f(\(b\))g(\(\(c\)\)\))127 689 y(append)g(x\))64 +741 y Ft(\))g Fs(\(A)h(B)g(\(C\)\))0 824 y(;;;)g(NCONC)f(some)g +(sublists)g(together.)f(Note)h(that)h(only)f(lists)0 +876 y(;;;)h(made)f(by)h(the)f(call)h(to)f(LIST)h(are)f(modified.)0 +928 y(\(loop)g(for)h(i)g(upfrom)f(0)127 980 y(as)h(x)g(in)297 +984 y Fn(')321 980 y Fs(\(a)f(b)h(\(c\)\))127 1032 y(nconc)f(\(if)h +(\(evenp)f(i\))g(\(list)h(x\))753 1036 y Fn(')776 1032 +y Fs(\(\)\)\))64 1084 y Ft(\))f Fs(\(A)h(\(C\)\))-33 +1170 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1159 1199 a Fw([)p Fv(L)n(o)n(op)15 b(clause)s +Fw(])-1395 b Fs(count)34 b Fv(expr)22 b Fw([)p Fs(into)13 +b Fv(var)p Fw(])28 b([)p Fv(typ)n(e-sp)n(e)n(c)p Fw(])1159 +1251 y([)p Fv(L)n(o)n(op)15 b(clause)s Fw(])-1395 b Fs(counting)33 +b Fv(expr)22 b Fw([)p Fs(into)14 b Fv(var)p Fw(])28 b([)p +Fv(typ)n(e-sp)n(e)n(c)p Fw(])0 1327 y(The)12 b Fs(count)f +Fw(construct)j(coun)o(ts)e(the)h(n)o(um)o(b)q(er)e(of)g(times)g(that)h +(the)g(sp)q(eci\014ed)i(expression)0 1379 y(has)g(a)g(non-)p +Fs(nil)f Fw(v)n(alue.)42 1431 y(The)i(argumen)o(t)f Fv(var)19 +b Fw(accum)o(ulates)c(the)g(n)o(um)o(b)q(er)f(of)h(o)q(ccurrences;)j +(if)c Fv(var)h Fw(is)g(sp)q(eci-)0 1483 y(\014ed,)c(the)g(lo)q(op)f(do) +q(es)h(not)g(return)g(the)g(\014nal)f(coun)o(t)h(automatically)l(.)j +(The)d Fv(var)k Fw(argumen)o(t)0 1535 y(is)f(b)q(ound)g(as)g(if)f(b)o +(y)g(the)i(construct)g Fs(with)p Fw(.)42 1587 y(If)g +Fs(into)g Fv(var)20 b Fw(is)15 b(used,)i(the)f(optional)f +Fv(typ)n(e-sp)n(e)n(c)j Fw(argumen)o(t)d(sp)q(eci\014es)i(a)f(data)f(t) +o(yp)q(e)0 1639 y(for)f Fv(var)t Fw(.)19 b(If)14 b(there)i(is)e(no)g +Fs(into)f Fw(v)n(ariable,)g(the)h(optional)f Fv(typ)n(e-sp)n(e)n(c)k +Fw(argumen)o(t)c(applies)0 1691 y(to)g(the)h(in)o(ternal)f(v)n(ariable) +g(that)g(is)g(k)o(eeping)h(the)g(coun)o(t.)k(In)c(either)g(case)g(it)f +(is)h(an)f(error)0 1742 y(to)20 b(sp)q(ecify)g(a)g(non-n)o(umeric)f +(data)g(t)o(yp)q(e.)37 b(The)21 b(default)e(t)o(yp)q(e)i(is)e(implemen) +o(tation-)0 1794 y(dep)q(enden)o(t,)c(but)f(it)g(m)o(ust)f(b)q(e)h(a)g +(subt)o(yp)q(e)h(of)e Fs(\(or)20 b(integer)g(float\))p +Fw(.)42 1846 y(Example:)0 1929 y Fs(\(loop)g(for)h(i)g(in)322 +1933 y Fn(')346 1929 y Fs(\(a)f(b)h(nil)g(c)g(nil)f(d)h(e\))127 +1981 y(count)f(i\))64 2033 y Ft(\))g Fs(5)-33 2120 y +@beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1159 2148 a Fw([)p Fv(L)n(o)n(op)15 b(clause)s +Fw(])-1395 b Fs(sum)34 b Fv(expr)22 b Fw([)p Fs(into)14 +b Fv(var)p Fw(])28 b([)p Fv(typ)n(e-sp)n(e)n(c)p Fw(])1159 +2200 y([)p Fv(L)n(o)n(op)15 b(clause)s Fw(])-1395 b Fs(summing)34 +b Fv(expr)21 b Fw([)p Fs(into)14 b Fv(var)p Fw(])28 b([)p +Fv(typ)n(e-sp)n(e)n(c)p Fw(])0 2277 y(The)16 b Fs(sum)e +Fw(construct)j(forms)d(a)h(cum)o(ulativ)o(e)e(sum)h(of)h(the)h(v)n +(alues)e(of)h(the)h(sp)q(eci\014ed)h(ex-)0 2329 y(pression)e(at)e(eac)o +(h)i(iteration.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 793 817 +793 816 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LOOP)1235 b(793)42 +295 y Fw(The)17 b(argumen)o(t)f Fv(var)21 b Fw(is)c(used)g(to)g(accum)o +(ulate)f(the)i(sum;)f(if)f Fv(var)h Fw(is)f(sp)q(eci\014ed,)j(the)0 +347 y(lo)q(op)11 b(do)q(es)i(not)f(return)i(the)e(\014nal)g(sum)f +(automatically)l(.)k(The)d Fv(var)17 b Fw(argumen)o(t)11 +b(is)h(b)q(ound)0 399 y(as)i(if)f(b)o(y)h(the)g(construct)i +Fs(with)p Fw(.)42 451 y(If)10 b Fs(into)g Fv(var)15 b +Fw(is)10 b(used,)i(the)f(optional)f Fv(typ)n(e-sp)n(e)n(c)j +Fw(argumen)o(t)c(sp)q(eci\014es)k(a)d(data)h(t)o(yp)q(e)g(for)0 +503 y Fv(var)t Fw(.)17 b(If)9 b(there)i(is)e(no)g Fs(into)g +Fw(v)n(ariable,)f(the)i(optional)e Fv(typ)n(e-sp)n(e)n(c)k +Fw(argumen)o(t)d(applies)g(to)g(the)0 555 y(in)o(ternal)h(v)n(ariable)g +(that)h(is)f(k)o(eeping)h(the)g(sum.)16 b(In)11 b(either)g(case)h(it)e +(is)h(an)f(error)i(to)e(sp)q(ecify)0 607 y(a)i(non-n)o(umeric)f(data)h +(t)o(yp)q(e.)18 b(The)13 b(default)e(t)o(yp)q(e)i(is)f(implemen)o +(tation-dep)q(enden)o(t,)f(but)0 658 y(it)j(m)o(ust)e(b)q(e)j(a)e(subt) +o(yp)q(e)i(of)f Fs(number)p Fw(.)42 711 y(Examples:)0 +801 y Fs(;;;)21 b(Sum)f(the)h(elements)e(of)i(a)g(list.)0 +905 y(\(loop)f(for)h(i)g(fixnum)f(in)474 909 y Fn(')498 +905 y Fs(\(1)g(2)h(3)g(4)g(5\))127 957 y(sum)g(i\))64 +1009 y Ft(\))f Fs(15)0 1112 y(;;;)h(Sum)f(a)h(function)f(of)g(elements) +g(of)h(a)g(list.)0 1216 y(\(setq)f(series)125 1272 y +Fn(')148 1268 y Fs(\(1.2)h(4.3)f(5.7\)\))64 1320 y Ft(\))g +Fs(\(1.2)h(4.3)f(5.7\))0 1424 y(\(loop)g(for)h(v)g(in)f(series)127 +1476 y(sum)h(\(*)f(2.0)h(v\)\))64 1528 y Ft(\))f Fs(22.4)-33 +1651 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1159 1680 a Fw([)p Fv(L)n(o)n(op)15 b(clause)s +Fw(])-1395 b Fs(maximize)33 b Fv(expr)22 b Fw([)p Fs(into)14 +b Fv(var)p Fw(])28 b([)p Fv(typ)n(e-sp)n(e)n(c)p Fw(])1159 +1732 y([)p Fv(L)n(o)n(op)15 b(clause)s Fw(])-1395 b Fs(maximizing)33 +b Fv(expr)22 b Fw([)p Fs(into)13 b Fv(var)p Fw(])28 b([)p +Fv(typ)n(e-sp)n(e)n(c)p Fw(])1159 1783 y([)p Fv(L)n(o)n(op)15 +b(clause)s Fw(])-1395 b Fs(minimize)33 b Fv(expr)22 b +Fw([)p Fs(into)14 b Fv(var)p Fw(])28 b([)p Fv(typ)n(e-sp)n(e)n(c)p +Fw(])1159 1835 y([)p Fv(L)n(o)n(op)15 b(clause)s Fw(])-1395 +b Fs(minimizing)33 b Fv(expr)22 b Fw([)p Fs(into)13 b +Fv(var)p Fw(])28 b([)p Fv(typ)n(e-sp)n(e)n(c)p Fw(])0 +1913 y(The)18 b Fs(maximize)d Fw(construct)k(compares)e(the)h(v)n(alue) +e(of)h(the)h(sp)q(eci\014ed)h(expression)f(ob-)0 1965 +y(tained)c(during)f(the)i(\014rst)f(iteration)f(with)h(v)n(alues)f +(obtained)h(in)f(successiv)o(e)j(iterations.)0 2016 y(The)k(maxim)n(um) +14 b(v)n(alue)19 b(encoun)o(tered)i(is)e(determined)g(and)g(returned.) +35 b(If)19 b(the)h(lo)q(op)0 2068 y(nev)o(er)15 b(executes)h(the)e(b)q +(o)q(dy)m(,)f(the)i(returned)g(v)n(alue)f(is)f(not)h(meaningful.)42 +2121 y(The)g Fs(minimize)f Fw(construct)j(is)f(similar)d(to)i +Fs(maximize)p Fw(;)f(it)h(determines)h(and)f(returns)0 +2173 y(the)g(minim)o(um)9 b(v)n(alue.)42 2225 y(The)15 +b(argumen)o(t)f Fv(var)19 b Fw(accum)o(ulates)c(the)g(maxim)o(um)10 +b(or)15 b(minim)o(um)10 b(v)n(alue;)15 b(if)f Fv(var)h +Fw(is)0 2277 y(sp)q(eci\014ed,)g(the)g(lo)q(op)e(do)q(es)i(not)f +(return)h(the)f(maxim)n(um)c(or)k(minim)n(um)c(automatically)l(.)0 +2329 y(The)k Fv(var)k Fw(argumen)o(t)13 b(is)h(b)q(ound)g(as)g(if)f(b)o +(y)h(the)g(construct)i Fs(with)p Fw(.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 794 818 +794 817 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(794)77 b(COMMON)13 +b(LISP)42 295 y Fw(If)i Fs(into)g Fv(var)20 b Fw(is)15 +b(used,)i(the)f(optional)f Fv(typ)n(e-sp)n(e)n(c)j Fw(argumen)o(t)d(sp) +q(eci\014es)i(a)f(data)f(t)o(yp)q(e)0 347 y(for)f Fv(var)t +Fw(.)19 b(If)14 b(there)i(is)e(no)g Fs(into)f Fw(v)n(ariable,)g(the)h +(optional)f Fv(typ)n(e-sp)n(e)n(c)k Fw(argumen)o(t)c(applies)0 +399 y(to)20 b(the)h(in)o(ternal)f(v)n(ariable)f(that)h(is)g(k)o(eeping) +g(the)h(in)o(termediate)e(result.)38 b(In)20 b(either)0 +450 y(case)e(it)f(is)g(an)g(error)h(to)f(sp)q(ecify)h(a)f(non-n)o +(umeric)f(data)g(t)o(yp)q(e.)29 b(The)17 b(default)g(t)o(yp)q(e)h(is)0 +502 y(implemen)o(tatio)o(n-dep)q(enden)o(t,)9 b(but)h(it)g(m)o(ust)f(b) +q(e)h(a)g(subt)o(yp)q(e)h(of)e Fs(\(or)21 b(integer)e(float\))p +Fw(.)42 635 y(Examples:)0 1529 y Fs(\(loop)h(for)h(i)g(in)322 +1533 y Fn(')346 1529 y Fs(\(2)f(1)h(5)g(3)g(4\))127 1581 +y(maximize)f(i\))64 1633 y Ft(\))g Fs(5)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 795 819 +795 818 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LOOP)1235 b(795)0 +295 y Fs(\(loop)20 b(for)h(i)g(in)322 299 y Fn(')346 +295 y Fs(\(2)f(1)h(5)g(3)g(4\))127 347 y(minimize)f(i\))64 +399 y Ft(\))g Fs(1)0 502 y(;;;)h(In)f(this)h(example,)e(FIXNUM)h +(applies)g(to)h(the)f(internal)0 554 y(;;;)h(variable)e(that)h(holds)h +(the)f(maximum)g(value.)0 658 y(\(setq)g(series)280 662 +y Fn(')303 658 y Fs(\(1.2)h(4.3)f(5.7\)\))64 710 y Ft(\))g +Fs(\(1.2)h(4.3)f(5.7\))0 814 y(\(loop)g(for)h(v)g(in)f(series)127 +866 y(maximize)g(\(round)f(v\))i(fixnum\))64 917 y Ft(\))f +Fs(6)0 1021 y(;;;)h(In)f(this)h(example,)e(FIXNUM)h(applies)g(to)h(the) +f(variable)g(RESULT.)0 1125 y(\(loop)g(for)h(v)g(float)f(in)h(series) +127 1177 y(minimize)f(\(round)f(v\))i(into)g(result)e(fixnum)127 +1229 y(finally)h(\(return)f(result\)\))64 1281 y Ft(\))h +Fs(1)0 1417 y Fo(26.9.)g(V)-5 b(ariable)15 b(Initializations)0 +1499 y Fw(A)d(lo)q(cal)e(lo)q(op)h(v)n(ariable)g(is)g(one)h(that)f +(exists)i(only)d(when)i(the)h(Lo)q(op)e(F)m(acilit)o(y)f(is)h(in)o(v)o +(ok)o(ed.)0 1550 y(A)o(t)19 b(that)g(time,)f(the)i(v)n(ariables)e(are)h +(declared)h(and)f(are)g(initialized)e(to)i(some)f(v)n(alue.)0 +1602 y(These)13 b(lo)q(cal)d(v)n(ariables)h(exist)h(un)o(til)f(lo)q(op) +f(iteration)h(terminates,)h(at)f(whic)o(h)g(p)q(oin)o(t)g(they)0 +1654 y(cease)19 b(to)f(exist.)29 b(Implicitly)15 b(v)n(ariables)i(are)h +(also)f(established)h(b)o(y)g(iteration)f(con)o(trol)0 +1706 y(clauses)e(and)f(the)g Fs(into)f Fw(prep)q(osition)h(of)f(accum)o +(ulation)f(clauses.)42 1758 y(The)h(lo)q(op)g(k)o(eyw)o(ord)h +Fs(with)e Fw(designates)j(a)e(lo)q(op)g(clause)h(that)f(allo)o(ws)f(y)o +(ou)h(to)h(declare)0 1810 y(and)h(initialize)f(v)n(ariables)g(that)i +(are)f(lo)q(cal)g(to)g(a)g(lo)q(op.)21 b(The)16 b(v)n(ariables)f(are)g +(initialized)0 1862 y(one)f(time)f(only;)f(they)j(can)f(b)q(e)g +(initialized)f(sequen)o(tially)g(or)h(in)f(parallel.)42 +1914 y(By)f(default,)f(the)h Fs(with)f Fw(construct)j(initializes)c(v)n +(ariables)h(sequen)o(tially;)h(that)g(is,)g(one)0 1966 +y(v)n(ariable)g(is)h(assigned)h(a)f(v)n(alue)f(b)q(efore)i(the)g(next)g +(expression)g(is)f(ev)n(aluated.)18 b(Ho)o(w)o(ev)o(er,)0 +2017 y(b)o(y)g(using)h(the)g(lo)q(op)e(k)o(eyw)o(ord)i +Fs(and)f Fw(to)g(join)g(sev)o(eral)h Fs(with)e Fw(clauses,)j(y)o(ou)e +(can)h(force)0 2069 y(initializations)12 b(to)i(o)q(ccur)i(in)e +(parallel;)f(that)h(is,)g(all)g(of)f(the)i(sp)q(eci\014ed)h +(expressions)g(are)0 2121 y(ev)n(aluated,)i(and)g(the)g(results)h(are)g +(b)q(ound)e(to)h(the)h(resp)q(ectiv)o(e)g(v)n(ariables)f(sim)o(ultane-) +0 2173 y(ously)m(.)42 2225 y(Use)f(sequen)o(tial)g(binding)e(for)i +(making)d(the)j(initialization)d(of)i(some)g(v)n(ariables)f(de-)0 +2277 y(p)q(end)g(on)f(the)i(v)n(alues)e(of)g(previously)g(b)q(ound)g(v) +n(ariables.)20 b(F)m(or)14 b(example,)e(supp)q(ose)k(y)o(ou)0 +2329 y(w)o(an)o(t)d(to)h(bind)g(the)g(v)n(ariables)f +Fs(a)p Fw(,)h Fs(b)p Fw(,)f(and)g Fs(c)h Fw(in)g(sequence:)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 796 820 +796 819 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(796)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(loop)20 b(with)g(a)281 291 y(U)281 +299 y(U)324 295 y(1)127 347 y(with)g(b)278 343 y(U)278 +351 y(U)321 347 y(\(+)h(a)g(2\))127 399 y(with)f(c)278 +395 y(U)278 403 y(U)321 399 y(\(+)h(b)g(3\))127 450 y(with)f(d)278 +446 y(U)278 454 y(U)321 450 y(\(+)h(c)g(4\))127 502 y(return)f(\(list)g +(a)h(b)g(c)g(d\)\))64 554 y Ft(\))f Fs(\(1)h(3)g(6)g(10\))42 +642 y Fw(The)c(execution)g(of)f(the)i(preceding)f(lo)q(op)f(is)h(equiv) +n(alen)o(t)f(to)g(the)i(execution)f(of)f(the)0 694 y(follo)o(wing)11 +b(co)q(de:)0 782 y Fs(\(let*)20 b(\(\(a)h(1\))148 834 +y(\(b)g(\(+)g(a)g(2\)\))148 886 y(\(c)g(\(+)g(b)g(3\)\))148 +938 y(\(d)g(\(+)g(c)g(4\)\)\))42 990 y(\(block)f(nil)85 +1042 y(\(tagbody)127 1094 y(next-loop)f(\(return)h(\(list)g(a)h(b)g(c)g +(d\)\))339 1146 y(\(go)f(next-loop\))127 1198 y(end-loop\)\)\))42 +1286 y Fw(If)12 b(y)o(ou)g(are)i(not)f(dep)q(ending)g(on)g(the)g(v)n +(alue)f(of)h(previously)f(b)q(ound)h(v)n(ariables)g(for)f(the)0 +1338 y(initialization)e(of)j(other)g(lo)q(cal)f(v)n(ariables,)g(y)o(ou) +h(can)g(use)h(parallel)d(bindings)i(as)g(follo)o(ws:)0 +1426 y Fs(\(loop)20 b(with)g(a)281 1422 y(U)281 1430 +y(U)324 1426 y(1)148 1478 y(and)h(b)278 1474 y(U)278 +1482 y(U)321 1478 y(2)148 1530 y(and)g(c)278 1526 y(U)278 +1534 y(U)321 1530 y(3)148 1582 y(and)g(d)278 1578 y(U)278 +1586 y(U)321 1582 y(4)127 1633 y(return)f(\(list)g(a)h(b)g(c)g(d\)\))64 +1685 y Ft(\))f Fs(\(1)h(2)g(3)g(4\))42 1773 y Fw(The)c(execution)g(of)f +(the)i(preceding)f(lo)q(op)f(is)h(equiv)n(alen)o(t)f(to)g(the)i +(execution)f(of)f(the)0 1825 y(follo)o(wing)11 b(co)q(de:)0 +1914 y Fs(\(let)20 b(\(\(a)h(1\))127 1966 y(\(b)g(2\))127 +2017 y(\(c)g(3\))127 2069 y(\(d)g(4\)\))42 2121 y(\(block)f(nil)85 +2173 y(\(tagbody)127 2225 y(next-loop)f(\(return)h(\(list)g(a)h(b)g +(c\)\))339 2277 y(\(go)f(next-loop\))127 2329 y(end-loop\)\)\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 797 821 +797 820 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LOOP)1235 b(797)-33 +266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1159 295 a Fw([)p Fv(L)n(o)n(op)15 b(clause)s +Fw(])-1395 b Fs(with)34 b Fv(var)22 b Fw([)p Fv(typ)n(e-sp)n(e)n(c)p +Fw(])28 b([)425 291 y Fs(U)425 299 y(U)461 295 y Fv(expr)p +Fw(])g Ft(f)p Fs(and)14 b Fv(var)22 b Fw([)p Fv(typ)n(e-sp)n(e)n(c)p +Fw(])28 b([)982 291 y Fs(U)982 299 y(U)1018 295 y Fv(expr)p +Fw(])7 b Ft(g)1135 280 y Fl(\003)0 372 y Fw(The)12 b +Fs(with)f Fw(construct)i(initializes)e(v)n(ariables)g(that)h(are)g(lo)q +(cal)f(to)g(a)h(lo)q(op.)k(The)c(v)n(ariables)0 424 y(are)i +(initialized)f(one)h(time)e(only)m(.)42 476 y(If)18 b(the)i(optional)e +Fv(typ)n(e-sp)n(e)n(c)k Fw(argumen)o(t)c(is)h(sp)q(eci\014ed)i(for)e +(an)o(y)g(v)n(ariable)f Fv(var)t Fw(,)j(but)0 528 y(there)e(is)f(no)f +(related)i(expression)g Fv(expr)e Fw(to)h(b)q(e)g(ev)n(aluated,)g +Fv(var)k Fw(is)c(initialized)e(to)i(an)0 580 y(appropriate)e(default)f +(v)n(alue)g(for)g(its)h(data)f(t)o(yp)q(e.)24 b(F)m(or)15 +b(example,)f(for)h(the)i(data)e(t)o(yp)q(es)0 632 y Fs(t)p +Fw(,)e Fs(number)p Fw(,)e(and)i Fs(float)p Fw(,)f(the)i(default)f(v)n +(alues)g(are)h Fs(nil)p Fw(,)e Fs(0)p Fw(,)g(and)i Fs(0.0)p +Fw(,)e(resp)q(ectiv)o(ely)m(.)19 b(It)0 683 y(is)d(an)h(error)g(to)g +(sp)q(ecify)g(a)g Fv(typ)n(e-sp)n(e)n(c)i Fw(argumen)o(t)c(for)h +Fv(var)21 b Fw(if)16 b(the)h(related)h(expression)0 735 +y(returns)12 b(a)f(v)n(alue)f(that)g(is)h(not)f(of)g(the)i(sp)q +(eci\014ed)g(t)o(yp)q(e.)17 b(The)11 b(optional)f Fs(and)g +Fw(clause)h(forces)0 787 y(parallel)i(rather)h(than)g(sequen)o(tial)g +(initializations.)42 839 y(Examples:)0 928 y Fs(;;;)21 +b(These)f(bindings)f(occur)h(in)h(sequence.)0 980 y(\(loop)f(with)g(a) +281 976 y(U)281 984 y(U)324 980 y(1)127 1032 y(with)g(b)278 +1028 y(U)278 1036 y(U)321 1032 y(\(+)h(a)g(2\))127 1083 +y(with)f(c)278 1079 y(U)278 1087 y(U)321 1083 y(\(+)h(b)g(3\))127 +1135 y(with)f(d)278 1131 y(U)278 1139 y(U)321 1135 y(\(+)h(c)g(4\))127 +1187 y(return)f(\(list)g(a)h(b)g(c)g(d\)\))64 1239 y +Ft(\))f Fs(\(1)h(3)g(6)g(10\))0 1343 y(;;;)g(These)f(bindings)f(occur)h +(in)h(parallel.)0 1395 y(\(setq)f(a)h(5)g(b)g(10)g(c)g(1729\))0 +1447 y(\(loop)f(with)g(a)281 1443 y(U)281 1451 y(U)324 +1447 y(1)148 1499 y(and)h(b)278 1495 y(U)278 1503 y(U)321 +1499 y(\(+)f(a)h(2\))148 1550 y(and)g(c)278 1546 y(U)278 +1554 y(U)321 1550 y(\(+)f(b)h(3\))148 1602 y(and)g(d)278 +1598 y(U)278 1606 y(U)321 1602 y(\(+)f(c)h(4\))127 1654 +y(return)f(\(list)g(a)h(b)g(c)g(d\)\))64 1706 y Ft(\))f +Fs(\(1)h(7)g(13)g(1733\))0 1810 y(;;;)g(This)f(example)g(shows)g(a)h +(shorthand)e(way)i(to)f(declare)0 1862 y(;;;)h(local)f(variables)f +(that)h(are)h(of)g(different)e(types.)0 1914 y(\(loop)h(with)g(\(a)h(b) +g(c\))g(\(float)f(integer)g(float\))127 1966 y(return)g(\(format)g(nil) +g(")559 1970 y Fn(~)582 1966 y Fs(A)623 1970 y Fn(~)646 +1966 y Fs(A)687 1970 y Fn(~)710 1966 y Fs(A")h(a)g(b)g(c\)\))64 +2017 y Ft(\))f Fs("0.0)h(0)g(0.0")0 2121 y(;;;)g(This)f(example)g +(shows)g(a)h(shorthand)e(way)i(to)f(declare)0 2173 y(;;;)h(local)f +(variables)f(that)h(are)h(of)g(the)f(same)h(type.)0 2225 +y(\(loop)f(with)g(\(a)h(b)g(c\))g(float)127 2277 y(return)f(\(format)g +(nil)g(")559 2281 y Fn(~)582 2277 y Fs(A)623 2281 y Fn(~)646 +2277 y Fs(A)687 2281 y Fn(~)710 2277 y Fs(A")h(a)g(b)g(c\)\))64 +2329 y Ft(\))f Fs("0.0)h(0.0)f(0.0")-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 798 822 +798 821 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(798)77 b(COMMON)13 +b(LISP)0 295 y Fo(26.10.)20 b(Conditional)15 b(Execution)0 +375 y Fw(The)e(lo)q(op)f(k)o(eyw)o(ords)h Fs(if)p Fw(,)e +Fs(when)p Fw(,)h(and)g Fs(unless)f Fw(designate)j(constructs)g(that)f +(are)g(useful)0 427 y(when)h(y)o(ou)g(w)o(an)o(t)f(some)g(lo)q(op)g +(clauses)i(to)f(op)q(erate)h(under)g(a)e(sp)q(eci\014ed)j(condition.)42 +479 y(If)h(the)i(sp)q(eci\014ed)h(condition)d(is)h(true,)i(the)e +(succeeding)i(lo)q(op)e(clause)g(is)g(executed.)0 531 +y(If)f(the)h(sp)q(eci\014ed)h(condition)e(is)g(not)h(true,)h(the)f +(succeeding)h(clause)f(is)f(skipp)q(ed,)i(and)0 583 y(program)14 +b(con)o(trol)h(mo)o(v)o(es)f(to)i(the)g(clause)g(that)g(follo)o(ws)e +(the)i(lo)q(op)f(k)o(eyw)o(ord)g Fs(else)p Fw(.)22 b(If)0 +635 y(the)16 b(sp)q(eci\014ed)g(condition)e(is)h(not)g(true)h(and)e(no) +h Fs(else)f Fw(clause)i(is)e(sp)q(eci\014ed,)j(the)e(en)o(tire)0 +686 y(conditional)g(construct)j(is)f(skipp)q(ed.)27 b(Sev)o(eral)17 +b(clauses)g(can)g(b)q(e)g(connected)i(in)o(to)d(one)0 +738 y(comp)q(ound)i(clause)i(with)f(the)h(lo)q(op)f(k)o(eyw)o(ord)g +Fs(and)p Fw(.)34 b(The)20 b(end)f(of)g(the)h(conditional)0 +790 y(clause)14 b(can)h(b)q(e)f(mark)o(ed)f(with)g(the)i(k)o(eyw)o(ord) +f Fs(end)p Fw(.)-33 874 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1159 903 a([)p Fv(L)n(o)n(op)h(clause)s +Fw(])-1395 b Fs(if)35 b Fv(expr)15 b(clause)22 b Ft(f)p +Fs(and)14 b Fv(clause)p Ft(g)533 888 y Fl(\003)72 955 +y Fw([)p Fs(else)f Fv(clause)22 b Ft(f)p Fs(and)14 b +Fv(clause)p Ft(g)547 940 y Fl(\003)573 955 y Fw(])28 +b([)p Fs(end)p Fw(])1159 1007 y([)p Fv(L)n(o)n(op)15 +b(clause)s Fw(])-1395 b Fs(when)34 b Fv(expr)15 b(clause)22 +b Ft(f)p Fs(and)14 b Fv(clause)p Ft(g)576 992 y Fl(\003)115 +1059 y Fw([)p Fs(else)g Fv(clause)22 b Ft(f)p Fs(and)14 +b Fv(clause)p Ft(g)591 1043 y Fl(\003)617 1059 y Fw(])28 +b([)p Fs(end)p Fw(])1159 1110 y([)p Fv(L)n(o)n(op)15 +b(clause)s Fw(])-1395 b Fs(unless)34 b Fv(expr)15 b(clause)22 +b Ft(f)p Fs(and)14 b Fv(clause)p Ft(g)620 1095 y Fl(\003)159 +1162 y Fw([)p Fs(else)f Fv(clause)22 b Ft(f)p Fs(and)14 +b Fv(clause)p Ft(g)634 1147 y Fl(\003)660 1162 y Fw(])29 +b([)p Fs(end)p Fw(])0 1239 y(The)11 b(constructs)h Fs(when)e +Fw(and)g Fs(if)g Fw(allo)o(w)f(conditional)g(execution)i(of)f(lo)q(op)g +(clauses.)17 b(These)0 1291 y(constructs)g(are)e(synon)o(yms)e(and)i +(can)g(b)q(e)g(used)g(in)o(terc)o(hangeably)m(.)20 b([Compare)13 +b(this)i(to)0 1343 y(the)f Fv(macr)n(o)g Fs(when)p Fw(,)f(whic)o(h)g +(do)q(es)i(not)f(allo)o(w)e(an)i(\\else")g(part.|GLS])42 +1395 y(If)h(the)h(v)n(alue)f(of)g(the)i(test)g(expression)f +Fv(expr)21 b Fw(is)15 b(non-)p Fs(nil)p Fw(,)g(the)h(expression)h +Fv(clause1)0 1447 y Fw(is)g(ev)n(aluated.)26 b(If)16 +b(the)i(test)g(expression)g(ev)n(aluates)e(to)h Fs(nil)f +Fw(and)h(an)f Fs(else)g Fw(construct)0 1499 y(is)k(sp)q(eci\014ed,)i +(the)e(statemen)o(ts)g(that)g(follo)o(w)d(the)k Fs(else)d +Fw(are)i(ev)n(aluated;)i(otherwise,)0 1550 y(con)o(trol)14 +b(passes)h(to)f(the)g(next)g(clause.)42 1602 y(The)c +Fs(unless)f Fw(construct)j(is)e(equiv)n(alen)o(t)f(to)h +Fs(when)g Fw(\()p Fs(not)f Fv(expr)t Fw(\))i(and)f Fs(if)g +Fw(\()p Fs(not)g Fv(expr)t Fw(\).)17 b(If)0 1654 y(the)10 +b(v)n(alue)f(of)f(the)i(test)h(expression)f Fv(expr)k +Fw(is)9 b Fs(nil)p Fw(,)g(the)h(expression)h Fv(clause1)k +Fw(is)9 b(ev)n(aluated.)0 1706 y(If)j(the)h(test)h(expression)f(ev)n +(aluates)g(to)f(non-)p Fs(nil)f Fw(and)i(an)f Fs(else)f +Fw(construct)j(is)f(sp)q(eci\014ed,)0 1758 y(the)j(statemen)o(ts)g +(that)g(follo)o(w)d(the)j Fs(else)f Fw(are)h(ev)n(aluated;)g +(otherwise,)g(con)o(trol)f(passes)0 1810 y(to)e(the)g(next)h(clause.)k +([Compare)11 b(this)i(to)g(the)g Fv(macr)n(o)g Fs(unless)p +Fw(,)e(whic)o(h)i(do)q(es)h(not)e(allo)o(w)0 1862 y(an)j(\\else")h +(part|or)g(do)f(I)g(mean)g(a)g(\\then")h(part?!)23 b(Ugh.)g(T)m(o)15 +b(prev)o(en)o(t)i(confusion,)e(I)0 1914 y(strongly)f(recommend)f(as)h +(a)g(matter)g(of)g(st)o(yle)g(that)g Fs(else)g Fw(not)g(b)q(e)h(used)g +(with)f Fs(unless)0 1966 y Fw(lo)q(op)f(clauses.|GLS])42 +2017 y(The)g Fv(clause)k Fw(argumen)o(ts)c(m)o(ust)g(b)q(e)h(either)g +(accum)o(ulation,)d(unconditional,)h(or)i(con-)0 2069 +y(ditional)h(clauses)i(\(see)h(section)f(26.3.2\).)24 +b(Clauses)17 b(that)f(follo)o(w)f(the)i(test)h(expression)0 +2121 y(can)11 b(b)q(e)h(group)q(ed)g(b)o(y)f(using)g(the)g(lo)q(op)g(k) +o(eyw)o(ord)g Fs(and)f Fw(to)h(pro)q(duce)i(a)e(comp)q(ound)f(clause.) +42 2173 y(The)h(lo)q(op)f(k)o(eyw)o(ord)h Fs(it)g Fw(can)g(b)q(e)h +(used)g(to)f(refer)h(to)f(the)g(result)h(of)f(the)g(test)i(expression)0 +2225 y(in)f(a)g(clause.)18 b(If)12 b(m)o(ultiple)e(clauses)j(are)g +(connected)h(with)e Fs(and)p Fw(,)g(the)h Fs(it)f Fw(construct)i(m)o +(ust)0 2277 y(b)q(e)i(used)g(in)f(the)h(\014rst)g(clause)g(in)f(the)h +(blo)q(c)o(k.)23 b(Since)16 b Fs(it)e Fw(is)i(a)f(lo)q(op)f(k)o(eyw)o +(ord,)i Fs(it)f Fw(ma)o(y)0 2329 y(not)f(b)q(e)g(used)h(as)f(a)g(lo)q +(cal)f(v)n(ariable)f(within)i(a)f(lo)q(op.)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 799 823 +799 822 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LOOP)1235 b(799)42 +295 y Fw(If)14 b Fs(when)h Fw(or)g Fs(if)g Fw(clauses)h(are)g(nested,)h +(eac)o(h)f Fs(else)e Fw(is)h(paired)h(with)f(the)h(closest)g(pre-)0 +347 y(ceding)e Fs(when)f Fw(or)h Fs(if)f Fw(construct)j(that)e(has)g +(no)g(asso)q(ciated)g Fs(else)p Fw(.)42 399 y(The)d(optional)f(lo)q(op) +h(k)o(eyw)o(ord)g Fs(end)g Fw(marks)f(the)i(end)g(of)f(the)h(clause.)17 +b(If)11 b(this)h(k)o(eyw)o(ord)0 450 y(is)k(not)h(sp)q(eci\014ed,)h +(the)f(next)g(lo)q(op)e(k)o(eyw)o(ord)i(marks)e(the)i(end.)26 +b(Y)m(ou)16 b(can)h(use)g Fs(end)f Fw(to)0 502 y(distinguish)d(the)i +(scoping)f(of)f(comp)q(ound)g(clauses.)0 587 y Fs(;;;)21 +b(Group)f(conditional)f(clauses)g(into)i(a)g(block.)0 +639 y(\(loop)f(for)h(i)g(in)f(numbers-list)127 691 y(when)g(\(oddp)h +(i\))169 743 y(do)g(\(print)f(i\))169 795 y(and)h(collect)f(i)h(into)f +(odd-numbers)169 847 y(and)h(do)g(\(terpri\))127 899 +y(else)105 b(;I)13 b Fw(is)h(ev)o(en)169 951 y Fs(collect)20 +b(i)h(into)f(even-numbers)127 1002 y(finally)169 1054 +y(\(return)g(\(values)g(odd-numbers)f(even-numbers\)\)\))0 +1139 y(;;;)i(Collect)e(numbers)h(larger)g(than)g(3.)0 +1191 y(\(loop)g(for)h(i)g(in)322 1195 y Fn(')346 1191 +y Fs(\(1)f(2)h(3)g(4)g(5)g(6\))127 1243 y(when)f(\(and)h(\(>)f(i)h(3\)) +g(i\))127 1295 y(collect)f(it\))105 b(;it)13 b Fw(refers)j(to)d +Fs(\(and)21 b(\(>)f(i)h(3\))g(i\))64 1347 y Ft(\))f Fs(\(4)h(5)g(6\))0 +1432 y(;;;)g(Find)f(a)h(number)f(in)h(a)g(list.)0 1484 +y(\(loop)f(for)h(i)g(in)322 1488 y Fn(')346 1484 y Fs(\(1)f(2)h(3)g(4)g +(5)g(6\))127 1536 y(when)f(\(and)h(\(>)f(i)h(3\))g(i\))127 +1588 y(return)f(it\))64 1640 y Ft(\))g Fs(4)0 1725 y(;;;)h(The)f +(preceding)f(example)h(is)h(similar)f(to)g(the)h(following)e(one.)0 +1777 y(\(loop)h(for)h(i)g(in)322 1781 y Fn(')346 1777 +y Fs(\(1)f(2)h(3)g(4)g(5)g(6\))127 1829 y(thereis)f(\(and)g(\(>)h(i)g +(3\))g(i\)\))64 1880 y Ft(\))f Fs(4)0 1966 y(;;;)h(An)f(example)g(of)h +(using)f(UNLESS)g(with)g(ELSE)h(\(yuk\).)251 b Fw(|GLS)0 +2017 y Fs(\(loop)20 b(for)h(turtle)f(in)g(teenage-mutant-ninj)o(a-tur)o +(tles)e(do)42 2069 y(\(loop)i(for)h(x)g(in)365 2073 y +Fn(')388 2069 y Fs(\(joker)f(brainiac)f(shredder)h(krazy-kat\))169 +2121 y(unless)g(\(evil)g(x\))212 2173 y(do)g(\(eat)h(\(make-pizza)e +(:anchovies)g(t\)\))169 2225 y(else)i(unless)f(\(and)g(\(eq)h(x)665 +2229 y Fn(')689 2225 y Fs(shredder\))e(\(attacking-p)g(x\)\))318 +2277 y(do)h(\(cut)h(turtle)f(slack\))t(;)p Fw(When)12 +b(the)i(evil)f(Shredder)j(attac)o(ks,)275 2329 y Fs(else)21 +b(\(fight)e(turtle)h(x\)\)\))t(;)t Fw(those)13 b(turtle)h(b)q(o)o(ys)g +(don't)g(cut)g(no)g(slac)o(k)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 800 824 +800 823 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(800)77 b(COMMON)13 +b(LISP)0 295 y Fs(;;;)21 b(Nest)f(conditional)f(clauses.)0 +347 y(\(loop)h(for)h(i)g(in)f(list)127 399 y(when)g(\(numberp)g(i\))169 +450 y(when)h(\(bignump)e(i\))212 502 y(collect)g(i)i(into)g +(big-numbers)169 554 y(else)105 b(;)p Fw(Not)14 b Fs(\(bignump)20 +b(i\))212 606 y(collect)f(i)i(into)g(other-numbers)127 +658 y(else)105 b(;)p Fw(Not)14 b Fs(\(numberp)19 b(i\))169 +710 y(when)i(\(symbolp)e(i\))212 762 y(collect)g(i)i(into)g +(symbol-list)169 814 y(else)105 b(;)p Fw(Not)14 b Fs(\(symbolp)20 +b(i\))212 866 y(\(error)g("found)g(a)h(funny)f(value)g(in)h(list)990 +870 y Fn(~)1013 866 y Fs(S,)g(value)1206 870 y Fn(~)1229 +866 y Fs(S)1249 870 y Fn(~)1272 866 y Fs(\045")339 917 +y("list)f(i\)\))0 1021 y(;;;)h(Without)e(the)i(END)f(marker,)g(the)h +(last)f(AND)h(would)f(apply)g(to)h(the)0 1073 y(;;;)g(inner)f(IF)g +(rather)g(than)h(the)f(outer)g(one.)0 1125 y(\(loop)g(for)h(x)g(from)f +(0)h(to)g(3)127 1177 y(do)g(\(print)f(x\))127 1229 y(if)h(\(zerop)f +(\(mod)g(x)h(2\)\))169 1281 y(do)g(\(princ)f(")h(a"\))212 +1333 y(and)f(if)h(\(zerop)f(\(floor)g(x)h(2\)\))339 1384 +y(do)f(\(princ)g(")h(b"\))296 1436 y(end)212 1488 y(and)f(do)h(\(princ) +f(")h(c"\)\))0 1653 y Fo(26.11.)f(Unconditional)15 b(Execution)0 +1743 y Fw(The)h(lo)q(op)f(construct)i Fs(do)e Fw(\(or)g +Fs(doing)p Fw(\))g(tak)o(es)h(one)f(or)h(more)e(expressions)j(and)f +(simply)0 1795 y(ev)n(aluates)e(them)f(in)g(order.)42 +1847 y(The)g(lo)q(op)f(construct)j Fs(return)c Fw(tak)o(es)i(one)h +(expression)g(and)e(returns)j(its)e(v)n(alue.)k(It)c(is)0 +1899 y(equiv)n(alen)o(t)g(to)h(the)g(clause)h Fs(do)21 +b(\(return)e Fv(value)s Fs(\))p Fw(.)-33 2015 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1159 2044 a([)p Fv(L)n(o)n(op)c(clause)s +Fw(])-1395 b Fs(do)42 b Ft(f)p Fv(expr)p Ft(g)205 2029 +y Fl(\003)1159 2096 y Fw([)p Fv(L)n(o)n(op)15 b(clause)s +Fw(])-1395 b Fs(doing)41 b Ft(f)p Fv(expr)p Ft(g)270 +2080 y Fl(\003)0 2173 y Fw(The)20 b Fs(do)e Fw(construct)j(simply)c(ev) +n(aluates)i(the)h(sp)q(eci\014ed)h(expressions)f(wherev)o(er)h(they)0 +2225 y(o)q(ccur)15 b(in)e(the)i(expanded)g(form)d(of)h +Fs(loop)p Fw(.)42 2277 y(The)g Fv(expr)18 b Fw(argumen)o(t)13 +b(can)h(b)q(e)g(an)o(y)f(non-atomic)e(Common)f(Lisp)k(form.)i(Eac)o(h)e +Fv(expr)0 2329 y Fw(is)g(ev)n(aluated)f(in)h(ev)o(ery)g(iteration.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 801 825 +801 824 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LOOP)1235 b(801)42 +295 y Fw(The)18 b(constructs)i Fs(do)p Fw(,)e Fs(initially)p +Fw(,)e(and)i Fs(finally)e Fw(are)j(the)f(only)f(lo)q(op)g(k)o(eyw)o +(ords)0 347 y(that)12 b(tak)o(e)f(an)h(arbitrary)g(n)o(um)o(b)q(er)f +(of)g(forms)f(and)h(group)h(them)f(as)h(if)f(using)g(an)g(implicit)0 +399 y Fs(progn)p Fw(.)16 b(Because)e(ev)o(ery)f(lo)q(op)e(clause)h(m)o +(ust)f(b)q(egin)h(with)g(a)f(lo)q(op)g(k)o(eyw)o(ord,)h(y)o(ou)g(w)o +(ould)0 450 y(use)j(the)f(k)o(eyw)o(ord)g Fs(do)f Fw(when)i(no)f(con)o +(trol)f(action)h(other)g(than)g(execution)h(is)e(required.)42 +503 y(Examples:)0 593 y Fs(;;;)21 b(Print)f(some)g(numbers.)0 +645 y(\(loop)g(for)h(i)g(from)f(1)h(to)g(5)127 697 y(do)g(\(print)f +(i\)\))723 b(;)p Fw(Prin)o(ts)14 b(5)g(lines)0 749 y +Fs(1)0 801 y(2)0 853 y(3)0 905 y(4)0 956 y(5)64 1008 +y Ft(\))20 b Fs(NIL)0 1112 y(;;;)h(Print)f(numbers)f(and)i(their)f +(squares.)0 1164 y(;;;)h(The)f(DO)h(construct)e(applies)h(to)h +(multiple)e(forms.)0 1216 y(\(loop)h(for)h(i)g(from)f(1)h(to)g(4)127 +1268 y(do)g(\(print)f(i\))191 1320 y(\(print)f(\(*)i(i)g(i\)\)\))595 +b(;)p Fw(Prin)o(ts)14 b(8)g(lines)0 1372 y Fs(1)0 1423 +y(1)0 1475 y(2)0 1527 y(4)0 1579 y(3)0 1631 y(9)0 1683 +y(4)0 1735 y(16)64 1787 y Ft(\))20 b Fs(NIL)-33 1911 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1159 1939 a Fw([)p Fv(L)n(o)n(op)15 b(clause)s +Fw(])-1395 b Fs(return)34 b Fv(expr)0 2016 y Fw(The)12 +b Fs(return)f Fw(construct)i(terminates)f(a)g(lo)q(op)f(and)g(returns)j +(the)e(v)n(alue)f(of)h(the)g(sp)q(eci\014ed)0 2068 y(expression)j(as)f +(the)g(v)n(alue)f(of)g(the)h(lo)q(op.)k(This)13 b(construct)i(is)f +(similar)d(to)j(the)g(Common)0 2120 y(Lisp)g(sp)q(ecial)g(form)e +Fs(return-from)g Fw(and)h(the)i(Commo)o(n)c(Lisp)j(macro)f +Fs(return)p Fw(.)42 2173 y(The)g(Lo)q(op)f(F)m(acilit)o(y)g(supp)q +(orts)i(the)f Fs(return)f Fw(construct)i(for)f(bac)o(kw)o(ard)g +(compatibil-)0 2224 y(it)o(y)g(with)h(older)g Fs(loop)f +Fw(implemen)o(tatio)o(ns.)j(The)e Fs(return)f Fw(construct)j(returns)f +(immedi-)0 2276 y(ately)f(and)f(do)q(es)i(not)f(execute)i(an)o(y)d +Fs(finally)f Fw(clause)j(that)f(is)f(giv)o(en.)42 2329 +y(Examples:)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 802 826 +802 825 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(802)77 b(COMMON)13 +b(LISP)0 295 y Fs(;;;)21 b(Signal)e(an)i(exceptional)e(condition.)0 +347 y(\(loop)h(for)h(item)f(in)388 351 y Fn(')411 347 +y Fs(\(1)h(2)g(3)g(a)g(4)g(5\))127 399 y(when)f(\(not)h(\(numberp)e +(item\)\))127 450 y(return)h(\(cerror)g("enter)g(new)g(value")445 +502 y("non-numeric)e(value:)877 506 y Fn(~)900 502 y +Fs(s")445 554 y(item\)\))509 b(;)p Fw(Signals)13 b(an)h(error)0 +606 y Fs(>>Error:)20 b(non-numeric)e(value:)i(A)0 710 +y(;;;)h(The)f(previous)g(example)f(is)i(equivalent)e(to)i(the)g +(following)e(one.)0 762 y(\(loop)h(for)h(item)f(in)388 +766 y Fn(')411 762 y Fs(\(1)h(2)g(3)g(a)g(4)g(5\))106 +814 y(when)f(\(not)h(\(numberp)e(item\)\))127 866 y(do)i(\(return)233 +917 y(\(cerror)f("enter)g(new)g(value")402 969 y("non-numeric)f(value:) +835 973 y Fn(~)858 969 y Fs(s")402 1021 y(item\)\)\))530 +b(;)p Fw(Signals)13 b(an)h(error)0 1073 y Fs(>>Error:)20 +b(non-numeric)e(value:)i(A)0 1226 y Fo(26.12.)g(Miscellaneous)14 +b(F)-5 b(eatures)0 1312 y Fw(The)17 b(Lo)q(op)e(F)m(acilit)o(y)g(pro)o +(vides)h(the)h Fs(named)e Fw(construct)j(to)e(name)f(a)g(lo)q(op)h(so)g +(that)g(the)0 1364 y(Common)11 b(Lisp)i(sp)q(ecial)h(form)f +Fs(return-from)e Fw(can)j(b)q(e)h(used.)42 1415 y(The)e(lo)q(op)f(k)o +(eyw)o(ords)h Fs(initially)e Fw(and)i Fs(finally)e Fw(designate)j(lo)q +(op)e(constructs)j(that)0 1467 y(cause)e(expressions)g(to)e(b)q(e)h(ev) +n(aluated)g(b)q(efore)g(and)f(after)h(the)g(lo)q(op)f(b)q(o)q(dy)m(,)g +(resp)q(ectiv)o(ely)m(.)42 1519 y(The)h(co)q(de)g(for)f(an)o(y)h +Fs(initially)d Fw(clauses)k(is)f(collected)g(in)o(to)f(one)h +Fs(progn)e Fw(in)i(the)g(order)0 1571 y(in)f(whic)o(h)g(the)g(clauses)h +(app)q(eared)g(in)f(the)h(lo)q(op.)k(The)11 b(collected)h(co)q(de)g(is) +f(executed)i(once)0 1623 y(in)g(the)i(lo)q(op)e(prologue)g(after)i(an)o +(y)e(implicit)e(v)n(ariable)i(initializations.)42 1675 +y(The)i(co)q(de)h(for)f(an)o(y)f Fs(finally)g Fw(clauses)i(is)e +(collected)i(in)o(to)f(one)g Fs(progn)f Fw(in)g(the)i(order)0 +1727 y(in)i(whic)o(h)g(the)h(clauses)g(app)q(eared)g(in)e(the)i(lo)q +(op.)30 b(The)19 b(collected)g(co)q(de)g(is)f(executed)0 +1779 y(once)h(in)f(the)h(lo)q(op)f(epilogue)g(b)q(efore)h(an)o(y)f +(implicit)e(v)n(alues)i(are)h(returned)h(from)d(the)0 +1831 y(accum)o(ulation)e(clauses.)30 b(Explicit)17 b(returns)i(in)e +(the)h(lo)q(op)e(b)q(o)q(dy)m(,)i(ho)o(w)o(ev)o(er,)g(will)e(exit)0 +1883 y(the)e(lo)q(op)g(without)f(executing)i(the)f(epilogue)g(co)q(de.) +0 2035 y Fo(26.12.1.)20 b(Data)15 b(T)n(yp)r(es)0 2121 +y Fw(Man)o(y)i(lo)q(op)f(constructs)j(tak)o(e)f(a)f Fv(typ)n(e-sp)n(e)n +(c)i Fw(argumen)o(t)d(that)h(allo)o(ws)f(y)o(ou)h(to)g(sp)q(ecify)0 +2173 y(certain)g(data)f(t)o(yp)q(es)h(for)f(lo)q(op)g(v)n(ariables.)25 +b(While)16 b(it)g(is)g(not)g(necessary)j(to)d(sp)q(ecify)h(a)0 +2225 y(data)g(t)o(yp)q(e)i(for)e(an)o(y)h(v)n(ariable,)f(b)o(y)g(doing) +g(so)h(y)o(ou)g(ensure)h(that)f(the)g(v)n(ariable)f(has)h(a)0 +2277 y(correctly)g(t)o(yp)q(ed)f(initial)e(v)n(alue.)26 +b(The)18 b(t)o(yp)q(e)f(declaration)g(is)f(made)g(a)o(v)n(ailable)e(to) +j(the)0 2329 y(compiler)11 b(for)i(more)f(e\016cien)o(t)h +Fs(loop)f Fw(expansion.)17 b(In)c(some)f(implemen)o(tatio)o(ns,)e +(\014xn)o(um)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 803 827 +803 826 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LOOP)1235 b(803)0 +295 y Fw(and)18 b(\015oat)h(declarations)g(are)g(esp)q(ecially)f +(useful;)j(the)e(compiler)f(notices)h(them)f(and)0 347 +y(emits)13 b(more)g(e\016cien)o(t)h(co)q(de.)42 399 y(The)g +Fv(typ)n(e-sp)n(e)n(c)i Fw(argumen)o(t)d(has)h(the)g(follo)o(wing)e +(syn)o(tax:)0 484 y Fv(typ)n(e-sp)n(e)n(c)k Fw(::=)d +Fs(of-type)g Fv(d-typ)n(e-sp)n(e)n(c)0 536 y(d-typ)n(e-sp)n(e)n(c)j +Fw(::=)e Fv(typ)n(e-sp)n(e)n(ci\014er)k Ft(j)13 b Fs(\()p +Fv(d)p Fs(-)p Fv(typ)n(e)p Fs(-)p Fv(sp)n(e)n(c)21 b +Fs(.)g Fv(d)p Fs(-)p Fv(typ)n(e)p Fs(-)p Fv(sp)n(e)n(c)p +Fs(\))0 622 y Fw(A)12 b Fv(typ)n(e-sp)n(e)n(ci\014er)f +Fw(in)g(this)h(syn)o(tax)f(can)h(b)q(e)g(an)o(y)f(Common)d(Lisp)k(t)o +(yp)q(e)g(sp)q(eci\014er.)19 b(The)12 b Fv(d-)0 674 y(typ)n(e-sp)n(e)n +(c)e Fw(argumen)o(t)f(is)h(used)h(for)f(destructuring,)i(as)e(describ)q +(ed)i(in)e(section)h(26.12.2.)j(If)0 726 y(the)e Fv(d-typ)n(e-sp)n(e)n +(c)f Fw(argumen)o(t)f(consists)i(solely)e(of)h(the)g(t)o(yp)q(es)h +Fs(fixnum)p Fw(,)e Fs(float)p Fw(,)g Fs(t)p Fw(,)h(or)g +Fs(nil)p Fw(,)0 778 y(the)j Fs(of-type)e Fw(k)o(eyw)o(ord)h(is)h +(optional.)i(The)e Fs(of-type)e Fw(construct)j(is)e(optional)f(in)h +(these)0 829 y(cases)18 b(to)e(pro)o(vide)g(bac)o(kw)o(ard)g +(compatibilit)o(y;)d(th)o(us)k(the)g(follo)o(wing)c(t)o(w)o(o)j +(expressions)0 881 y(are)e(the)h(same:)0 967 y Fs(;;;)21 +b(This)f(expression)f(uses)h(the)h(old)f(syntax)g(for)h(type)f +(specifiers.)0 1019 y(\(loop)g(for)h(i)g(fixnum)f(upfrom)g(3)g(...\))0 +1123 y(;;;)h(This)f(expression)f(uses)h(the)h(new)f(syntax)g(for)h +(type)f(specifiers.)0 1175 y(\(loop)g(for)h(i)g(of-type)e(fixnum)h +(upfrom)g(3)h(...\))0 1327 y Fo(26.12.2.)f(Destructuring)0 +1413 y Fw(Destructuring)g(allo)o(ws)e(y)o(ou)g(to)h(bind)g(a)f(set)i +(of)e(v)n(ariables)h(to)f(a)h(corresp)q(onding)h(set)0 +1465 y(of)c(v)n(alues)f(an)o(ywhere)i(that)g(y)o(ou)e(can)i(normally)c +(bind)j(a)g(v)n(alue)g(to)g(a)f(single)h(v)n(ariable.)0 +1517 y(During)d Fs(loop)f Fw(expansion,)h(eac)o(h)h(v)n(ariable)e(in)h +(the)h(v)n(ariable)e(list)h(is)g(matc)o(hed)g(with)g(the)0 +1568 y(v)n(alues)i(in)g(the)g(v)n(alues)g(list.)22 b(If)15 +b(there)h(are)g(more)e(v)n(ariables)g(in)h(the)h(v)n(ariable)e(list)h +(than)0 1620 y(there)i(are)g(v)n(alues)e(in)h(the)h(v)n(alues)e(list,)h +(the)h(remaining)c(v)n(ariables)j(are)g(giv)o(en)g(a)f(v)n(alue)0 +1672 y(of)i Fs(nil)p Fw(.)29 b(If)17 b(there)i(are)f(more)f(v)n(alues)h +(than)f(v)n(ariables)g(listed,)h(the)h(extra)f(v)n(alues)f(are)0 +1724 y(discarded.)42 1776 y(Supp)q(ose)e(y)o(ou)f(w)o(an)o(t)g(to)g +(assign)g(v)n(alues)h(from)d(a)i(list)g(to)h(the)g(v)n(ariables)e +Fs(a)p Fw(,)h Fs(b)p Fw(,)g(and)g Fs(c)p Fw(.)0 1828 +y(Y)m(ou)g(could)h(use)g(one)g Fs(for)g Fw(clause)g(to)g(bind)f(the)h +(v)n(ariable)f Fs(numlist)f Fw(to)i(the)g Fv(c)n(ar)g +Fw(of)f(the)0 1880 y(sp)q(eci\014ed)j(expression,)g(and)f(then)g(y)o +(ou)f(could)h(use)h(another)f Fs(for)f Fw(clause)h(to)g(bind)f(the)0 +1932 y(v)n(ariables)e Fs(a)p Fw(,)g Fs(b)p Fw(,)g(and)h +Fs(c)g Fw(sequen)o(tially)m(.)0 2017 y Fs(;;;)21 b(Collect)e(values)h +(by)h(using)f(FOR)h(constructs.)0 2069 y(\(loop)f(for)h(numlist)e(in) +453 2073 y Fn(')476 2069 y Fs(\(\(1)i(2)g(4.0\))f(\(5)h(6)g(8.3\))f +(\(8)h(9)g(10.4\)\))127 2121 y(for)g(a)g(integer)430 +2117 y(U)430 2125 y(U)473 2121 y(\(first)f(numlist\))127 +2173 y(and)h(for)f(b)h(integer)517 2169 y(U)517 2177 +y(U)560 2173 y(\(second)e(numlist\))127 2225 y(and)i(for)f(c)h(float) +473 2221 y(U)473 2229 y(U)516 2225 y(\(third)f(numlist\))127 +2277 y(collect)g(\(list)g(c)h(b)g(a\)\))64 2329 y Ft(\))f +Fs(\(\(4.0)g(2)h(1\))g(\(8.3)f(6)h(5\))g(\(10.4)f(9)h(8\)\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 804 828 +804 827 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(804)77 b(COMMON)13 +b(LISP)0 295 y Fw(Destructuring)g(mak)o(es)e(this)h(pro)q(cess)i +(easier)e(b)o(y)g(allo)o(wing)e(the)i(v)n(ariables)f(to)h(b)q(e)h(b)q +(ound)0 347 y(in)i(parallel)e(in)i(eac)o(h)g(lo)q(op)g(iteration.)21 +b(Y)m(ou)14 b(can)h(declare)h(data)f(t)o(yp)q(es)h(b)o(y)f(using)f(a)h +(list)0 399 y(of)c Fv(typ)n(e-sp)n(e)n(c)k Fw(argumen)o(ts.)h(If)c(all) +e(the)j(t)o(yp)q(es)g(are)f(the)g(same,)f(y)o(ou)h(can)g(use)h(a)e +(shorthand)0 450 y(destructuring)k(syn)o(tax,)f(as)g(the)g(second)h +(example)e(follo)o(wing)e(illustrates.)0 545 y Fs(;;;)21 +b(Destructuring)d(simplifies)h(the)i(process.)0 597 y(\(loop)f(for)h +(\(a)f(b)h(c\))g(\(integer)f(integer)f(float\))h(in)125 +653 y Fn(')148 649 y Fs(\(\(1)h(2)g(4.0\))f(\(5)h(6)g(8.3\))f(\(8)h(9)g +(10.4\)\))127 701 y(collect)f(\(list)g(c)h(b)g(a\)\)\))64 +752 y Ft(\))f Fs(\(\(4.0)g(2)h(1\))g(\(8.3)f(6)h(5\))g(\(10.4)f(9)h +(8\)\))0 856 y(;;;)g(If)f(all)h(the)f(types)h(are)f(the)h(same,)f(this) +g(way)h(is)f(even)h(simpler.)0 908 y(\(loop)f(for)h(\(a)f(b)h(c\))g +(float)f(in)125 964 y Fn(')148 960 y Fs(\(\(1.0)g(2.0)h(4.0\))f(\(5.0)h +(6.0)f(8.3\))g(\(8.0)h(9.0)f(10.4\)\))127 1012 y(collect)g(\(list)g(c)h +(b)g(a\)\))64 1064 y Ft(\))f Fs(\(\(4.0)g(2.0)h(1.0\))f(\(8.3)h(6.0)f +(5.0\))g(\(10.4)h(9.0)f(8.0\)\))42 1157 y Fw(If)13 b(y)o(ou)g(use)i +(destructuring)g(to)f(declare)g(or)g(initialize)e(a)i(n)o(um)o(b)q(er)f +(of)g(groups)h(of)f(v)n(ari-)0 1209 y(ables)k(in)o(to)g(t)o(yp)q(es,)h +(y)o(ou)f(can)g(use)h(the)g(lo)q(op)e(k)o(eyw)o(ord)h +Fs(and)g Fw(to)g(simplify)d(the)k(pro)q(cess)0 1261 y(further.)0 +1356 y Fs(;;;)j(Initialize)e(and)h(declare)g(variables)f(in)i(parallel) +0 1407 y(;;;)g(by)f(using)g(the)h(AND)g(construct.)0 +1459 y(\(loop)f(with)g(\(a)h(b\))g(float)498 1455 y(U)498 +1463 y(U)e Fn(')562 1459 y Fs(\(1.0)i(2.0\))127 1511 +y(and)g(\(c)f(d\))h(integer)517 1507 y(U)517 1515 y(U)e +Fn(')581 1511 y Fs(\(3)i(4\))127 1563 y(and)g(\(e)f(f\))127 +1615 y(return)g(\(list)g(a)h(b)g(c)g(d)g(e)g(f\)\))64 +1667 y Ft(\))f Fs(\(1.0)h(2.0)f(3)h(4)g(NIL)g(NIL\))42 +1760 y Fw(A)13 b(data)g(t)o(yp)q(e)h(sp)q(eci\014er)h(for)e(a)g +(destructuring)i(pattern)g(is)e(a)g(tree)i(of)e(t)o(yp)q(e)h(sp)q +(eci\014ers)0 1812 y(with)g(the)g(same)f(shap)q(e)i(as)f(the)g(tree)h +(of)f(v)n(ariables,)e(with)i(the)g(follo)o(wing)e(exceptions:)0 +1884 y Fu(.)42 1893 y Fw(When)i(aligning)e(the)i(trees,)h(an)f(atom)e +(in)i(the)g(t)o(yp)q(e)h(sp)q(eci\014er)g(tree)g(that)f(matc)o(hes)g(a) +42 1945 y(cons)g(in)f(the)i(v)n(ariable)e(tree)i(declares)g(the)f(same) +f(t)o(yp)q(e)i(for)e(eac)o(h)i(v)n(ariable.)0 2028 y +Fu(.)42 2037 y Fw(A)e(cons)i(in)e(the)i(t)o(yp)q(e)f(sp)q(eci\014er)i +(tree)f(that)f(matc)o(hes)f(an)h(atom)e(in)h(the)i(v)n(ariable)d(tree) +42 2089 y(is)h(a)h(non-atomic)e(t)o(yp)q(e)i(sp)q(ecifer.)0 +2183 y Fs(;;;)21 b(Declare)e(X)i(and)g(Y)g(to)g(be)f(of)h(type)f +(VECTOR)g(and)h(FIXNUM,)f(respectively.)0 2235 y(\(loop)g(for)h(\(x)f +(y\))h(of-type)f(\(vector)g(fixnum\))f(in)i(my-list)f(do)h(...\))42 +2329 y Fw(If)13 b Fs(nil)g Fw(is)h(used)h(in)e(a)h(destructuring)h +(list,)e(no)h(v)n(ariable)f(is)g(pro)o(vided)h(for)g(its)g(place.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 805 829 +805 828 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LOOP)1235 b(805)0 +295 y Fs(\(loop)20 b(for)h(\(a)f(nil)h(b\))433 291 y(U)433 +299 y(U)d Fn(')497 295 y Fs(\(1)j(2)g(3\))127 347 y(do)g(\(return)f +(\(list)g(a)h(b\)\)\))64 399 y Ft(\))f Fs(\(1)h(3\))42 +486 y Fw(Note)14 b(that)g(nonstandard)g(lists)g(can)g(sp)q(ecify)g +(destructuring.)0 573 y Fs(\(loop)20 b(for)h(\(x)f(.)h(y\))389 +569 y(U)389 577 y(U)e Fn(')453 573 y Fs(\(1)i(.)g(2\))127 +625 y(do)g(\(return)f(y\)\))64 677 y Ft(\))g Fs(2)0 781 +y(\(loop)g(for)h(\(\(a)f(.)h(b\))g(\(c)g(.)g(d\)\))212 +832 y(of-type)e(\(\(float)h(.)h(float\))f(\(integer)g(.)h(integer\)\)) +212 884 y(in)274 888 y Fn(')298 884 y Fs(\(\(\(1.2)f(.)h(2.4\))f(\(3)h +(.)g(4\)\))f(\(\(3.4)g(.)h(4.6\))g(\(5)f(.)h(6\)\)\))127 +936 y(collect)f(\(list)g(a)h(b)g(c)g(d\)\))64 988 y Ft(\))f +Fs(\(\(1.2)g(2.4)h(3)g(4\))g(\(3.4)f(4.6)g(5)h(6\)\))42 +1075 y Fw([It)d(is)h(w)o(orth)g(noting)g(that)g(the)h(destructuring)g +(facilit)o(y)e(of)g Fs(loop)g Fw(predates,)k(and)0 1127 +y(di\013ers)15 b(in)f(some)g(details)g(from,)e(that)i(of)g +Fs(destructuring-bind)p Fw(,)c(an)15 b(extension)g(that)0 +1179 y(has)f(b)q(een)h(pro)o(vided)f(b)o(y)f(man)o(y)f(implemen)o(tors) +g(of)h(Common)e(Lisp.|GLS])-33 1288 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1159 1317 a([)p Fv(L)n(o)n(op)k(clause)s +Fw(])-1395 b Fs(initially)40 b Ft(f)p Fv(expr)p Ft(g)357 +1302 y Fl(\003)1159 1369 y Fw([)p Fv(L)n(o)n(op)15 b(clause)s +Fw(])-1395 b Fs(finally)40 b Fw([)p Fs(do)14 b Ft(j)h +Fs(doing)p Fw(])27 b Ft(f)p Fv(expr)p Ft(g)559 1354 y +Fl(\003)1159 1421 y Fw([)p Fv(L)n(o)n(op)15 b(clause)s +Fw(])-1395 b Fs(finally)34 b(return)13 b Fv(expr)0 1498 +y Fw(The)k Fs(initially)d Fw(construct)k(causes)f(the)g(sp)q(eci\014ed) +h(expression)f(to)f(b)q(e)h(ev)n(aluated)f(in)0 1550 +y(the)21 b(lo)q(op)e(prologue,)i(whic)o(h)f(precedes)i(all)d(lo)q(op)h +(co)q(de)h(except)g(for)f(initial)e(settings)0 1601 y(sp)q(eci\014ed)f +(b)o(y)f(constructs)h Fs(with)p Fw(,)e Fs(for)p Fw(,)g(or)h +Fs(as)p Fw(.)22 b(The)17 b Fs(finally)d Fw(construct)j(causes)g(the)0 +1653 y(sp)q(eci\014ed)c(expression)f(to)f(b)q(e)g(ev)n(aluated)g(in)g +(the)g(lo)q(op)f(epilogue)h(after)g(normal)e(iteration)0 +1705 y(terminates.)42 1757 y(The)14 b Fv(expr)k Fw(argumen)o(t)13 +b(can)h(b)q(e)h(an)o(y)e(non-atomic)f(Commo)o(n)f(Lisp)j(form.)42 +1809 y(Clauses)23 b(suc)o(h)g(as)g Fs(return)p Fw(,)h +Fs(always)p Fw(,)f Fs(never)p Fw(,)h(and)e Fs(thereis)g +Fw(can)h(b)o(ypass)g(the)0 1861 y Fs(finally)12 b Fw(clause.)42 +1913 y(The)17 b(Common)d(Lisp)k(macro)e Fs(return)g Fw(\(or)i(the)g +Fs(return)e Fw(lo)q(op)g(construct\))j(can)f(b)q(e)0 +1965 y(used)12 b(after)e Fs(finally)g Fw(to)g(return)i(v)n(alues)e +(from)f(a)h(lo)q(op.)16 b(The)c(ev)n(aluation)d(of)h(the)h +Fs(return)0 2017 y Fw(form)i(inside)i(the)g Fs(finally)e +Fw(clause)i(tak)o(es)h(precedence)h(o)o(v)o(er)e(returning)g(the)h +(accum)o(u-)0 2069 y(lation)g(from)g(clauses)i(sp)q(eci\014ed)h(b)o(y)e +(suc)o(h)h(k)o(eyw)o(ords)f(as)h Fs(collect)p Fw(,)e +Fs(nconc)p Fw(,)g Fs(append)p Fw(,)0 2121 y Fs(sum)p +Fw(,)d Fs(count)p Fw(,)f Fs(maximize)p Fw(,)f(and)j Fs(minimize)p +Fw(;)d(the)k(accum)o(ulation)c(v)n(alues)j(for)f(these)i(pre-)0 +2173 y(empted)f(clauses)g(are)h(not)f(returned)h(b)o(y)f(the)g(lo)q(op) +f(if)g Fs(return)g Fw(is)h(used.)42 2225 y(The)k(constructs)i +Fs(do)p Fw(,)e Fs(initially)p Fw(,)e(and)i Fs(finally)e +Fw(are)j(the)f(only)f(lo)q(op)g(k)o(eyw)o(ords)0 2277 +y(that)12 b(tak)o(e)h(an)f(arbitrary)g(n)o(um)o(b)q(er)g(of)g +(\(non-atomic\))f(forms)g(and)h(group)g(them)g(as)g(if)g(b)o(y)0 +2329 y(using)i(an)f(implicit)e Fs(progn)p Fw(.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 806 830 +806 829 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(806)77 b(COMMON)13 +b(LISP)42 295 y Fw(Examples:)0 377 y Fs(;;;)21 b(This)f(example)g +(parses)g(a)h(simple)e(printed)h(string)g(representation)0 +429 y(;;;)h(from)f(BUFFER)g(\(which)g(is)h(itself)e(a)i(string\))f(and) +h(returns)e(the)0 481 y(;;;)i(index)f(of)g(the)h(closing)f +(double-quote)e(character.)0 585 y(\(loop)i(initially)f(\(unless)h +(\(char)631 581 y(U)631 589 y(U)673 585 y(\(char)g(buffer)g(0\))h(#) +1020 581 y(-)1020 589 y(-)1042 585 y(\\"\))381 637 y(\(loop-finish\)\)) +127 688 y(for)g(i)g(fixnum)e(from)i(1)g(below)f(\(string-length)e +(buffer\))127 740 y(when)i(\(char)345 736 y(U)345 744 +y(U)387 740 y(\(char)g(buffer)g(i\))h(#)734 736 y(-)734 +744 y(-)756 740 y(\\"\))169 792 y(return)f(i\))0 896 +y(;;;)h(The)f(FINALLY)g(clause)g(prints)g(the)g(last)h(value)f(of)g(I.) +0 948 y(;;;)h(The)f(collected)f(value)i(is)f(returned.)0 +1052 y(\(loop)g(for)h(i)g(from)f(1)h(to)g(10)127 1104 +y(when)f(\(>)h(i)g(5\))169 1155 y(collect)f(i)127 1207 +y(finally)g(\(print)g(i\)\))631 b(;)p Fw(Prin)o(ts)14 +b(1)f(line)0 1259 y Fs(11)64 1311 y Ft(\))20 b Fs(\(6)h(7)g(8)g(9)g +(10\))0 1415 y(;;;)g(Return)e(both)i(the)f(count)h(of)f(collected)g +(numbers)0 1467 y(;;;)h(as)f(well)h(as)f(the)h(numbers)f(themselves.)0 +1571 y(\(loop)g(for)h(i)g(from)f(1)h(to)g(10)127 1622 +y(when)f(\(>)h(i)g(5\))169 1674 y(collect)f(i)h(into)f(number-list)169 +1726 y(and)h(count)f(i)h(into)f(number-count)127 1778 +y(finally)g(\(return)f(\(values)h(number-count)f(number-list\)\)\))64 +1830 y Ft(\))h Fs(5)h Fw(and)g Fs(\(6)g(7)g(8)g(9)g(10\))-33 +1912 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1159 1941 a Fw([)p Fv(L)n(o)n(op)15 b(clause)s +Fw(])-1395 b Fs(named)34 b Fv(name)0 2017 y Fw(The)13 +b Fs(named)f Fw(construct)j(allo)o(ws)d(y)o(ou)g(to)h(assign)g(a)g +(name)e(to)i(a)g Fs(loop)f Fw(construct)j(so)e(that)0 +2069 y(y)o(ou)i(can)g(use)i(the)f(Commo)o(n)d(Lisp)i(sp)q(ecial)h(form) +d Fs(return-from)g Fw(to)j(exit)f(the)h(named)0 2121 +y(lo)q(op.)42 2173 y(Only)e(one)g(name)f(ma)o(y)g(b)q(e)i(assigned)f(p) +q(er)h(lo)q(op;)f(the)h(sp)q(eci\014ed)g(name)f(b)q(ecomes)g(the)0 +2225 y(name)f(of)g(the)h(implicit)e(blo)q(c)o(k)h(for)h(the)g(lo)q(op.) +42 2277 y(If)e(used,)h(the)g Fs(named)e Fw(construct)j(m)o(ust)d(b)q(e) +i(the)g(\014rst)h(clause)e(in)g(the)h(lo)q(op)f(expression,)0 +2329 y(coming)g(righ)o(t)h(after)i(the)f(w)o(ord)g Fs(loop)p +Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 807 831 +807 830 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(LOOP)1235 b(807)42 +295 y Fw(Example:)0 380 y Fs(;;;)21 b(Just)f(name)g(and)h(return.)0 +432 y(\(loop)f(named)g(max)127 484 y(for)h(i)g(from)f(1)h(to)g(10)127 +535 y(do)g(\(print)f(i\))127 587 y(do)h(\(return-from)d(max)559 +591 y Fn(')582 587 y Fs(done\)\))436 b(;)p Fw(Prin)o(ts)14 +b(1)f(line)0 639 y Fs(1)64 691 y Ft(\))20 b Fs(DONE)-33 +707 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1637 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 808 832 +808 831 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(27)p 0 448 598 +9 v 0 531 a Fp(Prett)n(y)29 b(Printing)0 683 y Fx(BY)13 +b(RICHARD)g(C.)g(W)m(A)m(TERS)0 975 y Fr(p)t(r)t(e)t(f)t(a)t(c)t(e)t(:) +24 b Fw(X3J13)15 b(v)o(oted)g(in)g(Jan)o(uary)h(1989)e +Ft(h)p Fw(139)p Ft(i)h Fw(to)h(adopt)f(a)g(facilit)o(y)f(for)h(user-) +-33 946 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1026 a(con)o(trolled)i(prett)o(y)h(prin)o(ting)e(as)h(a) +g(part)h(of)e(the)i(forthcoming)d(draft)i(Common)d(Lisp)0 +1078 y(standard.)19 b(This)14 b(facilit)o(y)e(is)i(the)g(culmination)e +(of)h(thirteen)i(y)o(ears)g(of)e(design,)h(testing,)0 +1130 y(revision,)f(and)h(use)h(of)e(this)h(approac)o(h.)42 +1183 y(This)g(c)o(hapter)i(presen)o(ts)h(the)f(bulk)e(of)g(the)i(Commo) +o(n)c(Lisp)j(prett)o(y)h(prin)o(ting)e(sp)q(eci-)0 1235 +y(\014cation,)h(written)h(b)o(y)f(Ric)o(hard)g(C.)g(W)m(aters.)23 +b(I)16 b(ha)o(v)o(e)f(edited)h(it)g(only)e(v)o(ery)i(ligh)o(tly)e(to)0 +1287 y(conform)e(to)i(the)h(o)o(v)o(erall)d(st)o(yle)i(of)g(this)g(b)q +(o)q(ok.)1042 1340 y(|Guy)e(L.)i(Steele)h(Jr.)0 1448 +y Fo(27.1.)20 b(In)n(tro)r(duction)0 1549 y Fw(Prett)o(y)12 +b(prin)o(ting)e(has)g(traditionally)f(b)q(een)j(a)e(blac)o(k)g(b)q(o)o +(x)h(pro)q(cess,)h(displa)o(ying)d(program)0 1601 y(co)q(de)16 +b(using)f(a)f(set)i(of)f(\014xed)g(la)o(y)o(out)f(rules.)22 +b(Its)15 b(utilit)o(y)f(can)h(b)q(e)h(greatly)f(enhanced)h(b)o(y)0 +1653 y(op)q(ening)e(it)f(up)h(to)g(user)g(con)o(trol.)k(The)d +(facilities)d(describ)q(ed)k(in)d(this)h(c)o(hapter)h(pro)o(vide)0 +1705 y(general)f(and)g(p)q(o)o(w)o(erful)f(means)g(for)h(sp)q(ecifying) +g(prett)o(y-prin)o(ting)f(b)q(eha)o(vior.)42 1758 y(By)e(pro)o(viding)f +(direct)i(access)i(to)d(the)h(mec)o(hanisms)d(within)i(the)h(prett)o(y) +g(prin)o(ter)g(that)0 1810 y(mak)o(e)19 b(dynamic)h(decisions)h(ab)q +(out)g(la)o(y)o(out,)g(the)g(macros)f(and)h(functions)g +Fs(pprint-)0 1862 y(logical-block)p Fw(,)16 b Fs(pprint-newline)p +Fw(,)h(and)h Fs(pprint-indent)e Fw(mak)o(e)h(it)h(p)q(ossible)h(to)0 +1914 y(sp)q(ecify)e(prett)o(y)h(prin)o(ting)e(la)o(y)o(out)g(rules)h +(as)g(a)f(part)h(of)f(an)o(y)h(function)f(that)h(pro)q(duces)0 +1966 y(output.)i(They)c(also)e(mak)o(e)g(it)h(v)o(ery)g(easy)h(for)f +(the)g(function)g(to)g(supp)q(ort)h(detection)g(of)0 +2017 y(circularit)o(y)f(and)h(sharing)g(and)f(abbreviation)g(based)i +(on)e(length)h(and)f(nesting)h(depth.)0 2069 y(Using)i(the)h(function)e +Fs(set-pprint-dispatch)o Fw(,)f(one)i(can)g(asso)q(ciate)h(a)f +(user-de\014ned)0 2121 y(prett)o(y)e(prin)o(ting)f(function)h(with)f +(an)o(y)g(t)o(yp)q(e)i(of)e(ob)r(ject.)21 b(A)15 b(small)d(set)k(of)e +(new)h Fs(format)0 2173 y Fw(directiv)o(es)f(allo)o(ws)f(concise)h +(implemen)o(tation)c(of)j(user-de\014ned)i(prett)o(y-prin)o(ting)f +(func-)0 2225 y(tions.)23 b(T)m(ogether,)16 b(these)h(facilities)e +(enable)h(users)h(to)e(rede\014ne)j(the)e(w)o(a)o(y)f(co)q(de)h(is)g +(dis-)0 2277 y(pla)o(y)o(ed)g(and)g(allo)o(w)e(the)j(full)e(p)q(o)o(w)o +(er)h(of)g(prett)o(y)g(prin)o(ting)g(to)g(b)q(e)h(applied)e(to)h +(complex)0 2329 y(com)o(binations)c(of)h(data)h(structures.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2428 a Fy(808)p eop +%%Page: 809 833 +809 832 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PRETTY)12 b(PRINTING)996 +b(809)p 0 295 V 0 355 a Fm(Implemen)o(tation)20 b(note:)30 +b FA(This)20 b(c)o(hapter)g(describ)q(es)h(the)e(in)o(terface)h(of)f +(the)g(XP)g(prett)o(y)0 401 y(prin)o(ter.)g(XP)14 b(is)g(describ)q(ed)h +(fully)g(in)f([54],)f(whic)o(h)h(also)h(explains)h(ho)o(w)d(to)h +(obtain)g(a)g(p)q(ortable)0 446 y(implemen)o(tation.)27 +b(XP)15 b(uses)h(a)f(highly)i(e\016cien)o(t)f(linear-time)i(algorithm.) +26 b(When)16 b(prop)q(erly)0 492 y(in)o(tegrated)d(in)o(to)f(a)g +(Common)f(Lisp,)i(this)f(algorithm)h(supp)q(orts)g(prett)o(y)f(prin)o +(ting)i(that)d(is)h(only)0 538 y(fractionally)k(slo)o(w)o(er)d(than)h +(ordinary)h(prin)o(ting.)p 0 570 V 0 683 a Fo(27.2.)20 +b(Prett)n(y)15 b(Prin)n(ting)f(Con)n(trol)i(V)-5 b(ariables)0 +765 y Fw(The)17 b(function)f Fs(write)g Fw(accepts)i(k)o(eyw)o(ord)e +(argumen)o(ts)g(named)g Fs(:pprint-dispatc)o(h)p Fw(,)0 +817 y Fs(:miser-width)p Fw(,)k Fs(:right-margin)p Fw(,)g(and)h +Fs(:lines)p Fw(,)g(corresp)q(onding)h(to)f(these)i(v)n(ari-)0 +868 y(ables.)1219 984 y([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(*print-pprint-dis)o(patch)o(*)0 1061 y Fw(When)16 +b Fs(*print-pretty*)d Fw(is)j(not)g Fs(nil)p Fw(,)g(prin)o(ting)f(is)h +(con)o(trolled)g(b)o(y)g(the)g(`pprin)o(t)g(dis-)0 1113 +y(patc)o(h)i(table')g(stored)h(in)f(the)g(v)n(ariable)f +Fs(*print-pprint-dispa)o(tch*)p Fw(.)27 b(The)19 b(initial)0 +1165 y(v)n(alue)12 b(of)g Fs(*print-pprint-dis)o(patch)o(*)e +Fw(is)i(implemen)o(tation-dep)q(enden)o(t)f(and)h(causes)0 +1217 y(traditional)i(prett)o(y)i(prin)o(ting)f(of)g(Lisp)g(co)q(de.)24 +b(The)16 b(last)f(section)i(of)d(this)i(c)o(hapter)h(ex-)0 +1269 y(plains)c(ho)o(w)h(the)g(con)o(ten)o(ts)h(of)e(this)h(table)g +(can)g(b)q(e)h(c)o(hanged.)1219 1385 y([)p Fv(V)m(ariable)s +Fw(])-1396 b Fs(*print-right-marg)o(in*)0 1461 y Fw(A)19 +b(primary)e(goal)g(of)h(prett)o(y)h(prin)o(ting)f(is)g(to)h(k)o(eep)g +(the)g(output)g(b)q(et)o(w)o(een)h(a)e(pair)g(of)0 1513 +y(margins.)25 b(The)17 b(left)g(margin)d(is)j(set)h(at)e(the)i(column)d +(where)j(the)f(output)g(b)q(egins.)27 b(If)0 1565 y(this)14 +b(cannot)g(b)q(e)h(determined,)e(the)h(left)g(margin)e(is)i(set)g(to)g +(zero.)42 1617 y(When)i Fs(*print-right-marg)o(in*)d +Fw(is)j(not)g Fs(nil)p Fw(,)g(it)g(sp)q(eci\014es)i(the)f(righ)o(t)f +(margin)e(to)0 1669 y(use)f(when)g(making)d(la)o(y)o(out)h(decisions.) +18 b(When)13 b Fs(*print-right-marg)o(in*)c Fw(is)j Fs(nil)g +Fw(\(the)0 1721 y(initial)j(v)n(alue\),)j(the)g(righ)o(t)f(margin)e(is) +j(set)g(at)f(the)h(maxim)o(um)13 b(line)k(length)g(that)h(can)0 +1773 y(b)q(e)c(displa)o(y)o(ed)e(b)o(y)h(the)h(output)f(stream)f +(without)h(wraparound)g(or)g(truncation.)18 b(If)13 b(this)0 +1825 y(cannot)d(b)q(e)h(determined,)f(the)h(righ)o(t)f(margin)e(is)i +(set)h(to)f(an)g(implem)o(en)o(tation-dep)q(enden)o(t)0 +1877 y(v)n(alue.)42 1928 y(T)m(o)g(allo)o(w)g(for)i(the)g(p)q +(ossibilit)o(y)e(of)h(v)n(ariable-width)f(fon)o(ts,)i +Fs(*print-right-marg)o(in*)0 1980 y Fw(is)18 b(in)g(units)h(of)f +(ems|the)g(width)g(of)g(an)g(\\m")f(in)h(the)h(fon)o(t)f(b)q(eing)g +(used)h(to)g(displa)o(y)0 2032 y(c)o(haracters)e(on)f(the)g(relev)n(an) +o(t)f(output)h(stream)f(at)g(the)h(momen)o(t)d(when)j(the)g(v)n +(ariables)0 2084 y(are)e(consulted.)1219 2200 y([)p Fv(V)m(ariable)s +Fw(])-1396 b Fs(*print-miser-widt)o(h*)0 2277 y Fw(If)12 +b Fs(*print-miser-width)o(*)e Fw(is)i(not)g Fs(nil)p +Fw(,)g(the)h(prett)o(y)g(prin)o(ter)g(switc)o(hes)h(to)e(a)h(compact)0 +2329 y(st)o(yle)f(of)f(output)g(\(called)h(miser)f(st)o(yle\))g(whenev) +o(er)i(the)f(width)g(a)o(v)n(ailable)d(for)i(prin)o(ting)g(a)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 810 834 +810 833 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(810)77 b(COMMON)13 +b(LISP)0 295 y Fw(substructure)k(is)e(less)g(than)g(or)f(equal)h(to)f +Fs(*print-miser-width)o(*)e Fw(ems.)20 b(The)15 b(initial)0 +347 y(v)n(alue)e(of)h Fs(*print-miser-wi)o(dth*)c Fw(is)k(implemen)o +(tation-dep)q(enden)o(t.)1219 464 y([)p Fv(V)m(ariable)s +Fw(])-1396 b Fs(*print-lines*)0 540 y Fw(When)14 b(giv)o(en)f(a)g(v)n +(alue)g(other)h(than)g(its)f(initial)f(v)n(alue)h(of)g +Fs(nil)p Fw(,)f Fs(*print-lines*)f Fw(limits)0 592 y(the)j(n)o(um)o(b)q +(er)f(of)f(output)i(lines)f(pro)q(duced)i(when)e(something)f(is)i +(prett)o(y)g(prin)o(ted.)k(If)13 b(an)0 644 y(attempt)g(is)h(made)f(to) +h(go)g(b)q(ey)o(ond)g Fs(*print-lines*)d Fw(lines,)j(\\)21 +b Fs(..)p Fw(")13 b(\(a)h(space)h(and)f(t)o(w)o(o)0 696 +y(p)q(erio)q(ds\))k(is)f(prin)o(ted)g(at)g(the)g(end)h(of)e(the)h(last) +g(line)g(follo)o(w)o(ed)e(b)o(y)i(all)e(of)h(the)i(su\016xes)0 +748 y(\(closing)13 b(delimiters\))g(that)h(are)h(p)q(ending)f(to)f(b)q +(e)i(prin)o(ted.)0 832 y Fs(\(let)20 b(\(\(*print-right-marg)o(in*)e +(25\))j(\(*print-lines*)d(3\)\))42 883 y(\(pprint)214 +887 y Fn(')237 883 y Fs(\(progn)i(\(setq)g(a)h(1)g(b)g(2)g(c)g(3)g(d)g +(4\)\)\)\))0 987 y(\(PROGN)f(\(SETQ)g(A)h(1)275 1039 +y(B)g(2)275 1091 y(C)g(3)g(..\)\))42 1175 y Fw(\(The)14 +b(sym)o(b)q(ol)e(\\)p Fs(..)p Fw(")i(is)g(prin)o(ted)g(out)g(to)g +(ensure)i(that)e(a)g(reader)h(error)g(will)d(o)q(ccur)k(if)0 +1226 y(the)h(output)g(is)f(later)h(read.)26 b(A)17 b(sym)o(b)q(ol)e +(di\013eren)o(t)i(from)e(\\)p Fs(...)p Fw(")h(is)g(used)h(to)g +(indicate)0 1278 y(that)d(a)g(di\013eren)o(t)g(kind)g(of)f +(abbreviation)g(has)h(o)q(ccurred.\))0 1417 y Fo(27.3.)20 +b(Dynamic)13 b(Con)n(trol)j(of)f(the)f(Arrangemen)n(t)g(of)h(Output)0 +1499 y Fw(The)d(follo)o(wing)e(functions)i(and)f(macros)g(supp)q(ort)i +(precise)h(con)o(trol)d(of)h(what)f(should)h(b)q(e)0 +1550 y(done)j(when)h(a)f(piece)h(of)f(output)g(is)g(to)q(o)g(large)g +(to)g(\014t)g(in)g(the)h(space)g(a)o(v)n(ailable.)k(Three)0 +1602 y(concepts)f(underlie)e(the)h(w)o(a)o(y)e(these)j(op)q(erations)e +(w)o(ork:)24 b Fv(lo)n(gic)n(al)17 b(blo)n(cks)p Fw(,)g +Fv(c)n(onditional)0 1654 y(new)r(lines)p Fw(,)g(and)g +Fv(se)n(ctions)p Fw(.)26 b(Before)18 b(pro)q(ceeding)g(further,)g(it)e +(is)h(imp)q(ortan)o(t)e(to)i(de\014ne)0 1706 y(these)e(terms.)42 +1758 y(The)e(\014rst)h(line)e(of)g(\014gure)i(27-)o(1)f(sho)o(ws)g(a)g +(sc)o(hematic)f(piece)i(of)e(output.)18 b(The)13 b(c)o(harac-)0 +1810 y(ters)k(in)e(the)i(output)f(are)g(represen)o(ted)i(b)o(y)e(h)o +(yphens.)24 b(The)17 b(p)q(ositions)e(of)g(conditional)0 +1862 y(newlines)i(are)g(indicated)g(b)o(y)f(digits.)26 +b(The)17 b(b)q(eginnings)g(and)f(ends)i(of)e(logical)f(blo)q(c)o(ks)0 +1914 y(are)f(indicated)g(in)g(the)g(\014gure)h(b)o(y)e(\\)p +Fs(<)p Fw(")g(and)h(\\)p Fs(>)p Fw(")f(resp)q(ectiv)o(ely)m(.)42 +1966 y(The)j(output)g(as)g(a)f(whole)h(is)g(a)f(logical)f(blo)q(c)o(k)i +(and)f(the)i(outermost)e(section.)25 b(This)0 2017 y(section)13 +b(is)f(indicated)g(b)o(y)g(the)g Fs(0)p Fw('s)g(on)g(the)h(second)g +(line)e(of)h(\014gure)g(27-1.)17 b(Logical)11 b(blo)q(c)o(ks)0 +2069 y(nested)j(within)e(the)i(output)f(are)g(sp)q(eci\014ed)i(b)o(y)d +(the)i(macro)d Fs(pprint-logical-bloc)o(k)p Fw(.)0 2121 +y(Conditional)e(newline)i(p)q(ositions)g(are)g(sp)q(eci\014ed)h(b)o(y)f +(calls)g(on)f Fs(pprint-newline)p Fw(.)k(Eac)o(h)0 2173 +y(conditional)g(newline)i(de\014nes)h(t)o(w)o(o)f(sections)h(\(one)f(b) +q(efore)g(it)g(and)f(one)h(after)g(it\))g(and)0 2225 +y(is)e(asso)q(ciated)g(with)g(a)g(third)f(\(the)i(section)g(imm)o +(ediately)c(con)o(taining)i(it\).)42 2277 y(The)f(section)i(after)e(a)h +(conditional)e(newline)h(consists)i(of)e(all)f(the)i(output)g(up)f(to,) +h(but)0 2329 y(not)h(including,)f(\(a\))h(the)h(next)g(conditional)d +(newline)i(immediately)d(con)o(tained)j(in)g(the)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 811 835 +811 834 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PRETTY)12 b(PRINTING)996 +b(811)p 0 255 1395 2 v 0 344 a Fm(Figure)14 b(27-1:)j +FA(Example)e(of)e(Logical)h(Blo)q(c)o(ks,)g(Conditional)i(Newlines,)e +(and)g(Sections)318 473 y Fj(<-1---<-)o(-<-)o(-2-)o(--)o(3->)o(--)o +(4--)o(>->)318 535 y(00000000)o(000)o(000)o(00)o(000)o(00)o(000)o(000) +318 581 y(11)j(11111111111)o(11)o(111)o(111)o(11)o(111)504 +626 y(22)h(222)560 672 y(333)g(3333)448 718 y(4444444444)o(444)o(4)e +(44444)p 0 791 V 0 877 a Fw(same)11 b(logical)g(blo)q(c)o(k;)h(or)g(if) +f(\(a\))i(is)f(not)g(applicable,)f(\(b\))i(the)g(next)f(newline)h(that) +f(is)g(at)g(a)0 929 y(lesser)j(lev)o(el)f(of)f(nesting)i(in)e(logical)g +(blo)q(c)o(ks;)g(or)h(if)f(\(b\))i(is)e(not)h(applicable,)f(\(c\))i +(the)f(end)0 981 y(of)f(the)i(output.)42 1033 y(The)k(section)h(b)q +(efore)g(a)f(conditional)e(newline)i(consists)h(of)f(all)f(the)h +(output)h(bac)o(k)0 1085 y(to,)e(but)g(not)g(including,)f(\(a\))g(the)i +(previous)f(conditional)e(newline)i(that)g(is)f(immedi-)0 +1136 y(ately)e(con)o(tained)h(in)f(the)h(same)f(logical)f(blo)q(c)o(k;) +h(or)h(if)e(\(a\))i(is)f(not)h(applicable,)e(\(b\))i(the)0 +1188 y(b)q(eginning)e(of)h(the)g(immedia)o(tely)d(con)o(taining)i +(logical)f(blo)q(c)o(k.)21 b(The)15 b(last)g(four)f(lines)h(in)0 +1240 y(\014gure)c(27-1)f(indicate)h(the)g(sections)h(b)q(efore)g(and)e +(after)h(the)h(four)e(conditional)g(newlines.)42 1292 +y(The)18 b(section)g(immediately)d(con)o(taining)h(a)i(conditional)e +(newline)i(is)g(the)g(shortest)0 1344 y(section)d(that)g(con)o(tains)g +(the)g(conditional)f(newline)g(in)h(question.)21 b(In)14 +b(\014gure)i(27-)o(1,)e(the)0 1396 y(\014rst)g(conditional)d(newline)j +(is)e(immediately)e(con)o(tained)j(in)g(the)g(section)h(mark)o(ed)e +(with)0 1448 y Fs(0)p Fw('s,)k(the)g(second)h(and)f(third)g +(conditional)e(newlines)j(are)f(immedia)o(tely)d(con)o(tained)j(in)0 +1500 y(the)f(section)h(b)q(efore)f(the)g(fourth)g(conditional)e +(newline,)i(and)f(the)i(fourth)e(conditional)0 1552 y(newline)20 +b(is)h(imm)o(ediately)c(con)o(tained)k(in)f(the)h(section)g(after)f +(the)h(\014rst)g(conditional)0 1604 y(newline.)42 1655 +y(Whenev)o(er)14 b(p)q(ossible,)g(the)g(prett)o(y)h(prin)o(ter)f +(displa)o(ys)f(the)i(en)o(tire)f(con)o(ten)o(ts)h(of)e(a)h(sec-)0 +1707 y(tion)i(on)h(a)g(single)f(line.)27 b(Ho)o(w)o(ev)o(er,)17 +b(if)f(the)i(section)g(is)e(to)q(o)h(long)f(to)h(\014t)g(in)f(the)i +(space)0 1759 y(a)o(v)n(ailable,)11 b(line)j(breaks)g(are)h(inserted)g +(at)f(conditional)e(newline)i(p)q(ositions)g(within)f(the)0 +1811 y(section.)1209 1941 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(pprint-newline)18 b Fv(kind)26 b Fs(&optional)19 +b Fv(str)n(e)n(am)0 2017 y Fw(The)12 b Fv(str)n(e)n(am)f +Fw(\(whic)o(h)g(defaults)h(to)f Fs(*standard-output*)o +Fw(\))e(follo)o(ws)h(the)i(standard)g(con-)0 2069 y(v)o(en)o(tions)k +(for)g(stream)f(argumen)o(ts)h(to)f(prin)o(ting)h(functions)g(\(that)g +(is,)g Fs(nil)f Fw(stands)i(for)0 2121 y Fs(*standard-output*)c +Fw(and)j Fs(t)g Fw(stands)h(for)f Fs(*terminal-io*)p +Fw(\).)22 b(The)17 b Fv(kind)g Fw(argumen)o(t)0 2173 +y(sp)q(eci\014es)g(the)e(st)o(yle)g(of)f(conditional)f(newline.)21 +b(It)14 b(m)o(ust)g(b)q(e)h(one)g(of)f Fs(:linear)p Fw(,)f +Fs(:fill)p Fw(,)0 2225 y Fs(:miser)p Fw(,)i(or)h Fs(:mandatory)p +Fw(.)23 b(An)17 b(error)g(is)f(signaled)f(if)h(an)o(y)g(other)g(v)n +(alue)g(is)g(supplied.)0 2277 y(If)h Fv(str)n(e)n(am)h +Fw(is)f(a)h(prett)o(y)g(prin)o(ting)f(stream)h(created)h(b)o(y)f +Fs(pprint-logical-bl)o(ock)p Fw(,)d(a)0 2329 y(line)g(break)g(is)g +(inserted)i(in)e(the)g(output)h(when)f(the)h(appropriate)f(condition)g +(b)q(elo)o(w)g(is)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 812 836 +812 835 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(812)77 b(COMMON)13 +b(LISP)0 295 y Fw(satis\014ed.)19 b(Otherwise,)c Fs(pprint-newline)c +Fw(has)k(no)e(e\013ect.)21 b(The)14 b(v)n(alue)f Fs(nil)h +Fw(is)g(alw)o(a)o(ys)0 347 y(returned.)42 400 y(If)i +Fv(kind)h Fw(is)g Fs(:linear)p Fw(,)f(it)g(sp)q(eci\014es)j(a)d +(`linear-st)o(yle')g(conditional)f(newline.)27 b(A)17 +b(line)0 452 y(break)e(is)f(inserted)i(if)d(and)i(only)e(if)h(the)h +(immediately)c(con)o(taining)i(section)i(cannot)g(b)q(e)0 +504 y(prin)o(ted)h(on)f(one)h(line.)23 b(The)16 b(e\013ect)h(of)e(this) +h(is)g(that)f(line)h(breaks)g(are)g(either)g(inserted)0 +556 y(at)d(ev)o(ery)g(linear-st)o(yle)f(conditional)f(newline)i(in)f(a) +h(logical)e(blo)q(c)o(k)h(or)h(at)f(none)h(of)f(them.)42 +610 y(If)18 b Fv(kind)h Fw(is)g Fs(:miser)p Fw(,)f(it)h(sp)q(eci\014es) +h(a)f(`miser-st)o(yle')e(conditional)g(newline.)33 b(A)19 +b(line)0 661 y(break)c(is)f(inserted)i(if)d(and)i(only)e(if)h(the)h +(immediately)c(con)o(taining)i(section)i(cannot)g(b)q(e)0 +713 y(prin)o(ted)g(on)f(one)g(line)g(and)g(miser)g(st)o(yle)g(is)g(in)g +(e\013ect)i(in)e(the)h(immediately)c(con)o(taining)0 +765 y(logical)k(blo)q(c)o(k.)27 b(The)18 b(e\013ect)h(of)d(this)h(is)g +(that)g(miser-st)o(yle)f(conditional)g(newlines)h(act)0 +817 y(lik)o(e)f(linear-st)o(yle)g(conditional)g(newlines,)h(but)g(only) +f(when)i(miser)e(st)o(yle)h(is)f(in)h(e\013ect.)0 869 +y(Miser)f(st)o(yle)g(is)g(in)f(e\013ect)j(for)d(a)h(logical)e(blo)q(c)o +(k)h(if)g(and)g(only)g(if)g(the)i(starting)e(p)q(osition)0 +921 y(of)h(the)g(logical)f(blo)q(c)o(k)h(is)g(less)g(than)h(or)f(equal) +g(to)g Fs(*print-miser-wi)o(dth*)d Fw(from)h(the)0 973 +y(righ)o(t)f(margin.)42 1026 y(If)i Fv(kind)h Fw(is)f +Fs(:fill)p Fw(,)g(it)g(sp)q(eci\014es)i(a)e(`\014ll-st)o(yle')f +(conditional)g(newline.)24 b(A)15 b(line)g(break)0 1078 +y(is)j(inserted)h(if)f(and)g(only)f(if)g(either)i(\(a\))f(the)h(follo)o +(wing)c(section)k(cannot)g(b)q(e)f(prin)o(ted)0 1130 +y(on)d(the)i(end)f(of)f(the)i(curren)o(t)g(line,)e(\(b\))h(the)g +(preceding)h(section)g(w)o(as)e(not)h(prin)o(ted)g(on)0 +1182 y(a)k(single)f(line,)i(or)f(\(c\))g(the)h(imm)o(ediately)c(con)o +(taining)i(section)i(cannot)f(b)q(e)g(prin)o(ted)0 1234 +y(on)15 b(one)h(line)f(and)g(miser)g(st)o(yle)h(is)f(in)g(e\013ect)i +(in)e(the)h(immediately)c(con)o(taining)i(logical)0 1286 +y(blo)q(c)o(k.)j(If)12 b(a)g(logical)f(blo)q(c)o(k)h(is)h(brok)o(en)f +(up)h(in)o(to)f(a)g(n)o(um)o(b)q(er)f(of)h(subsections)i(b)o(y)f +(\014ll-st)o(yle)0 1338 y(conditional)g(newlines,)i(the)g(basic)g +(e\013ect)h(is)f(that)f(the)h(logical)e(blo)q(c)o(k)i(is)f(prin)o(ted)h +(with)0 1390 y(as)j(man)o(y)e(subsections)j(as)f(p)q(ossible)g(on)g +(eac)o(h)g(line.)29 b(Ho)o(w)o(ev)o(er,)19 b(if)e(miser)g(st)o(yle)h +(is)f(in)0 1441 y(e\013ect,)e(\014ll-st)o(yle)e(conditional)f(newlines) +j(act)f(lik)o(e)f(linear-st)o(yle)g(conditional)g(newlines.)42 +1495 y(If)h Fv(kind)h Fw(is)f Fs(:mandatory)p Fw(,)e(it)i(sp)q +(eci\014es)j(a)d(`mandatory-st)o(yle')e(conditional)h(newline.)0 +1547 y(A)20 b(line)e(break)i(is)g(alw)o(a)o(ys)e(inserted.)36 +b(This)19 b(implies)f(that)h(none)h(of)f(the)h(con)o(taining)0 +1599 y(sections)13 b(can)g(b)q(e)g(prin)o(ted)g(on)f(a)g(single)g(line) +g(and)g(will)f(therefore)j(trigger)f(the)g(insertion)0 +1651 y(of)g(line)h(breaks)g(at)g(linear-st)o(yle)g(conditional)e +(newlines)i(in)g(these)h(sections.)42 1704 y(When)10 +b(a)h(line)f(break)h(is)f(inserted)i(b)o(y)f(an)o(y)f(t)o(yp)q(e)h(of)f +(conditional)f(newline,)i(an)o(y)f(blanks)0 1756 y(that)h(imm)o +(ediately)d(precede)k(the)g(conditional)d(newline)h(are)h(omitted)f +(from)e(the)k(output)0 1808 y(and)j(inden)o(tation)g(is)h(in)o(tro)q +(duced)g(at)f(the)h(b)q(eginning)f(of)g(the)h(next)g(line.)23 +b(By)16 b(default,)0 1860 y(the)f(inden)o(tation)f(causes)j(the)e +(follo)o(wing)d(line)i(to)h(b)q(egin)g(in)f(the)h(same)f(horizon)o(tal) +g(p)q(o-)0 1912 y(sition)e(as)i(the)f(\014rst)h(c)o(haracter)h(in)d +(the)i(immedia)o(tely)c(con)o(taining)i(logical)g(blo)q(c)o(k.)17 +b(\(The)0 1964 y(inden)o(tation)c(can)h(b)q(e)h(c)o(hanged)f(via)f +Fs(pprint-indent)p Fw(.\))42 2017 y(There)i(are)g(a)f(v)n(ariet)o(y)f +(of)h(w)o(a)o(ys)g Fv(un)s Fw(conditional)f(newlines)i(can)g(b)q(e)f +(in)o(tro)q(duced)h(in)o(to)0 2069 y(the)21 b(output)f(\(for)h +(example,)f(via)f Fs(terpri)g Fw(or)i(b)o(y)f(prin)o(ting)f(a)h(string) +h(con)o(taining)e(a)0 2121 y(newline)f(c)o(haracter\).)31 +b(As)18 b(with)g(mandatory)e(conditional)g(newlines,)j(this)e(prev)o +(en)o(ts)0 2173 y(an)o(y)10 b(of)g(the)h(con)o(taining)e(sections)i +(from)e(b)q(eing)h(prin)o(ted)h(on)f(one)h(line.)16 b(In)10 +b(general,)h(when)0 2225 y(an)g(unconditional)g(newline)g(is)h(encoun)o +(tered,)h(it)e(is)h(prin)o(ted)g(out)f(without)g(suppression)0 +2277 y(of)h(the)i(preceding)f(blanks)g(and)f(without)h(an)o(y)f(inden)o +(tation)g(follo)o(wing)e(it.)18 b(Ho)o(w)o(ev)o(er,)13 +b(if)0 2329 y(a)h(p)q(er-line)g(pre\014x)g(has)g(b)q(een)h(sp)q +(eci\014ed)h(\(see)f Fs(pprint-logical-b)o(lock)p Fw(\),)10 +b(that)k(pre\014x)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 813 837 +813 836 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PRETTY)12 b(PRINTING)996 +b(813)0 295 y Fw(will)12 b(alw)o(a)o(ys)h(b)q(e)i(prin)o(ted)f(no)g +(matter)f(ho)o(w)g(a)h(newline)g(originates.)-33 406 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 434 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(pprint-logical-bl)o(ock)32 b(\()p Fv(str)n(e)n(am-symb)n(ol)14 +b(list)500 486 y Fw([)-7 b([)13 b Ft(f)p Fs(:prefix)g +Ft(j)h Fs(:per-line-prefix)p Ft(g)6 b Fv(p)13 b Ft(j)h +Fs(:suffix)f Fv(s)7 b Fw(])-7 b(])7 b Fs(\))464 538 y +Ft(f)g Fv(form)p Ft(g)599 523 y Fl(\003)0 615 y Fw(This)12 +b(macro)g(causes)i(prin)o(ting)d(to)i(b)q(e)g(group)q(ed)g(in)o(to)f(a) +g(logical)f(blo)q(c)o(k.)17 b(It)c(returns)h Fs(nil)p +Fw(.)42 667 y(The)f Fv(str)n(e)n(am-symb)n(ol)g Fw(m)o(ust)f(b)q(e)i(a) +g(sym)o(b)q(ol.)i(If)d(it)g(is)g Fs(nil)p Fw(,)g(it)g(is)g(treated)i +(the)f(same)f(as)0 719 y(if)i(it)g(w)o(ere)i Fs(*standard-output)o(*)p +Fw(.)k(If)15 b(it)g(is)h Fs(t)p Fw(,)f(it)g(is)h(treated)h(the)f(same)f +(as)h(if)e(it)i(w)o(ere)0 771 y Fs(*terminal-io*)p Fw(.)k(The)c +(run-time)f(v)n(alue)g(of)g Fv(str)n(e)n(am-symb)n(ol)f +Fw(m)o(ust)h(b)q(e)h(a)f(stream)h(\(or)0 823 y Fs(nil)11 +b Fw(standing)g(for)g Fs(*standard-output*)d Fw(or)j +Fs(t)g Fw(standing)h(for)f Fs(*terminal-io*)p Fw(\).)j(The)0 +875 y(logical)e(blo)q(c)o(k)i(is)f(prin)o(ted)i(in)o(to)e(this)h +(destination)g(stream.)42 927 y(The)20 b(b)q(o)q(dy)g(\(whic)o(h)g +(consists)h(of)e(the)i Fv(form)s Fw(s\))f(can)g(con)o(tain)g(an)o(y)f +(arbitrary)h(Lisp)0 979 y(forms.)31 b(Within)17 b(the)j(b)q(o)q(dy)m(,) +f Fv(str)n(e)n(am-symb)n(ol)e Fw(\(or)i Fs(*standard-output)o(*)d +Fw(if)i Fv(str)n(e)n(am-)0 1031 y(symb)n(ol)13 b Fw(is)h +Fs(nil)p Fw(,)e(or)i Fs(*terminal-io*)d Fw(if)h Fv(str)n(e)n(am-symb)n +(ol)h Fw(is)g Fs(t)p Fw(\))h(is)f(b)q(ound)h(to)f(a)g(\\prett)o(y)0 +1083 y(prin)o(ting")18 b(stream)g(that)h(supp)q(orts)h(decisions)g(ab)q +(out)f(the)g(arrangemen)o(t)f(of)h(output)0 1135 y(and)f(then)h(forw)o +(ards)f(the)g(output)h(to)f(the)g(destination)g(stream.)30 +b(All)18 b(the)g(standard)0 1186 y(prin)o(ting)c(functions)i(\(for)f +(example,)e Fs(write)p Fw(,)h Fs(princ)p Fw(,)g Fs(terpri)p +Fw(\))g(can)i(b)q(e)g(used)g(to)f(send)0 1238 y(output)e(to)g(the)h +(prett)o(y)g(prin)o(ting)f(stream)f(created)j(b)o(y)e +Fs(pprint-logical-bl)o(ock)p Fw(.)i(All)0 1290 y(and)e(only)g(the)h +(output)g(sen)o(t)h(to)e(this)h(prett)o(y)g(prin)o(ting)f(stream)g(is)g +(treated)i(as)f(b)q(eing)f(in)0 1342 y(the)h(logical)f(blo)q(c)o(k.)42 +1394 y Fs(pprint-logical-)o(block)d Fw(and)j(the)i(prett)o(y)f(prin)o +(ting)f(stream)g(it)g(creates)j(ha)o(v)o(e)d(dy-)0 1446 +y(namic)i(exten)o(t.)29 b(It)17 b(is)g(unde\014ned)h(what)f(happ)q(ens) +h(if)e(output)i(is)f(attempted)f(outside)0 1498 y(of)h(this)g(exten)o +(t)h(to)f(the)h(prett)o(y)g(prin)o(ting)e(stream)h(created.)30 +b(It)17 b(is)g(unsp)q(eci\014ed)i(what)0 1550 y(happ)q(ens)e(if,)e +(within)g(this)h(exten)o(t,)h(an)o(y)e(output)h(is)g(sen)o(t)h +(directly)f(to)g(the)g(underlying)0 1602 y(destination)e(stream)f(\(b)o +(y)h(calling)e Fs(write-char)p Fw(,)g(for)h(example\).)42 +1654 y(The)g Fs(:suffix)p Fw(,)f Fs(:prefix)p Fw(,)f(and)j +Fs(:per-line-prefi)o(x)d Fw(argumen)o(ts)h(m)o(ust)g(all)h(b)q(e)h(ex-) +0 1706 y(pressions)19 b(that)g(\(at)f(run)h(time\))e(ev)n(aluate)h(to)g +(strings.)31 b(The)19 b Fs(:suffix)e Fw(argumen)o(t)g +Fv(s)0 1758 y Fw(\(whic)o(h)10 b(defaults)g(to)g(the)h(n)o(ull)e +(string\))h(sp)q(eci\014es)i(a)e(su\016x)g(that)g(is)g(prin)o(ted)g +(just)h(after)f(the)0 1810 y(logical)j(blo)q(c)o(k.)22 +b(The)15 b Fs(:prefix)f Fw(and)h Fs(:per-line-prefix)c +Fw(argumen)o(ts)k(are)g(m)o(utually)0 1862 y(exclusiv)o(e.)22 +b(If)14 b(neither)i Fs(:prefix)d Fw(nor)i Fs(:per-line-prefix)d +Fw(is)i(sp)q(eci\014ed,)j(a)d Fs(:prefix)0 1913 y Fw(of)f(the)g(n)o +(ull)g(string)g(is)g(assumed.)k(The)d Fs(:prefix)d Fw(argumen)o(t)i(sp) +q(eci\014es)i(a)d(pre\014x)i Fv(p)g Fw(that)0 1965 y(is)h(prin)o(ted)g +(b)q(efore)h(the)g(b)q(eginning)f(of)f(the)i(logical)d(blo)q(c)o(k.)22 +b(The)15 b Fs(:per-line-prefix)0 2017 y Fw(sp)q(eci\014es)k(a)d +(pre\014x)h Fv(p)g Fw(that)g(is)g(prin)o(ted)g(b)q(efore)g(the)g(blo)q +(c)o(k)g(and)f(at)h(the)g(b)q(eginning)f(of)0 2069 y(eac)o(h)e +(subsequen)o(t)i(line)d(in)h(the)g(blo)q(c)o(k.)k(An)c(error)h(is)e +(signaled)h(if)f Fs(:prefix)f Fw(and)i Fs(:per-)0 2121 +y(line-prefix)e Fw(are)i(b)q(oth)g(used)h(or)f(if)f(a)g +Fs(:suffix)p Fw(,)f Fs(:prefix)p Fw(,)g(or)i Fs(:pre-line-prefix)0 +2173 y Fw(argumen)o(t)f(do)q(es)h(not)g(ev)n(aluate)g(to)g(a)f(string.) +42 2225 y(The)c Fv(list)g Fw(is)g(in)o(terpreted)i(as)e(b)q(eing)h(a)f +(list)g(that)g(the)h(b)q(o)q(dy)f(is)h(resp)q(onsible)g(for)f(prin)o +(ting.)0 2277 y(\(See)k Fs(pprint-exit-if-l)o(ist-e)o(xhaus)o(ted)8 +b Fw(and)k Fs(pprint-pop)p Fw(.\))j(If)d Fv(list)f Fw(do)q(es)h(not)g +(\(at)0 2329 y(run)g(time\))f(ev)n(aluate)h(to)g(a)g(list,)f(it)h(is)g +(prin)o(ted)g(using)g Fs(write)p Fw(.)k(\(This)c(mak)o(es)f(it)h +(easier)h(to)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 814 838 +814 837 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(814)77 b(COMMON)13 +b(LISP)0 295 y Fw(write)g(prin)o(ting)f(functions)h(that)g(are)g +(robust)h(in)e(the)i(face)f(of)f(malform)o(ed)f(argumen)o(ts.\))0 +347 y(If)h Fs(*print-circle*)e Fw(\(and)j(p)q(ossibly)g(also)f +Fs(*print-shared*)p Fw(\))e(is)i(not)h Fs(nil)f Fw(and)h +Fv(list)f Fw(is)0 399 y(a)i(circular)h(\(or)f(shared\))i(reference)g +(to)f(a)f(cons,)g(then)h(an)g(appropriate)f(\\)p Fs(#)1166 +395 y(-)1166 403 y(-)1187 399 y Fv(n)p Fs(#)1210 395 +y(-)1210 403 y(-)1233 399 y Fw(")g(mark)o(er)0 450 y(is)i(prin)o(ted.) +26 b(\(This)16 b(mak)o(es)f(it)h(easy)h(to)f(write)h(prin)o(ting)e +(functions)i(that)f(pro)o(vide)g(full)0 502 y(supp)q(ort)10 +b(for)g(circularit)o(y)f(and)g(sharing)h(abbreviation.\))15 +b(If)10 b Fs(*print-level*)c Fw(is)k(not)f Fs(nil)0 554 +y Fw(and)15 b(the)g(logical)e(blo)q(c)o(k)h(is)h(at)g(a)f(dynamic)f +(nesting)i(depth)h(of)e(greater)h(than)g Fs(*print-)0 +606 y(level*)c Fw(in)i(logical)e(blo)q(c)o(ks,)h(\\)p +Fs(#)476 602 y(-)476 610 y(-)498 606 y Fw(")g(is)h(prin)o(ted.)18 +b(\(This)13 b(mak)o(es)e(it)i(easy)g(to)f(write)i(prin)o(ting)0 +658 y(functions)g(that)g(pro)o(vide)g(full)e(supp)q(ort)j(for)e(depth)i +(abbreviation.\))42 710 y(If)k(an)o(y)g(of)h(the)g(three)h(preceding)g +(conditions)f(o)q(ccurs,)i(the)f(indicated)f(output)g(is)0 +762 y(prin)o(ted)c(on)f Fv(str)n(e)n(am-symb)n(ol)g Fw(and)g(the)h +Fv(b)n(o)n(dy)g Fw(is)g(skipp)q(ed)g(along)e(with)h(the)i(prin)o(ting)d +(of)0 814 y(the)d(pre\014x)g(and)f(su\016x.)16 b(\(If)10 +b(the)h(b)q(o)q(dy)f(is)g(not)g(resp)q(onsible)h(for)f(prin)o(ting)f(a) +h(list,)g(then)h(the)0 866 y(\014rst)h(t)o(w)o(o)f(tests)h(ab)q(o)o(v)o +(e)f(can)h(b)q(e)g(turned)g(o\013)f(b)o(y)g(supplying)g +Fs(nil)f Fw(for)h(the)h Fv(list)e Fw(argumen)o(t.\))42 +917 y(In)j(addition)f(to)h(the)g Fv(list)g Fw(argumen)o(t)f(of)g +Fs(pprint-logical-blo)o(ck)p Fw(,)e(the)j(argumen)o(ts)0 +969 y(of)e(the)h(standard)f(prin)o(ting)g(functions)g(suc)o(h)h(as)f +Fs(write)p Fw(,)g Fs(print)p Fw(,)f Fs(pprint)p Fw(,)g +Fs(print1)p Fw(,)g(and)0 1021 y Fs(pprint)p Fw(,)15 b(as)h(w)o(ell)f +(as)h(the)h(argumen)o(ts)e(of)h(the)h(standard)f Fs(format)f +Fw(directiv)o(es)i(suc)o(h)g(as)-2 1077 y Fn(~)21 1073 +y Fs(A)p Fw(,)70 1077 y Fn(~)94 1073 y Fs(S)p Fw(,)g(\(and)244 +1077 y Fn(~)268 1073 y Fs(W)p Fw(\))h(are)g(all)f(c)o(hec)o(k)o(ed)j +(\(when)e(necessary\))j(for)d(circularit)o(y)f(and)h(shar-)0 +1125 y(ing.)f(Ho)o(w)o(ev)o(er,)d(suc)o(h)h(c)o(hec)o(king)f(is)g(not)g +(applied)f(to)h(the)h(argumen)o(ts)e(of)g(the)i(functions)0 +1177 y Fs(write-line)p Fw(,)c Fs(write-string)p Fw(,)f(and)j +Fs(write-char)e Fw(or)i(to)g(the)h(literal)e(text)i(output)f(b)o(y)0 +1229 y Fs(format)p Fw(.)j(A)c(consequence)i(of)c(this)i(is)f(that)h(y)o +(ou)f(m)o(ust)g(use)h(one)g(of)f(the)h(latter)g(functions)0 +1281 y(if)g(y)o(ou)g(w)o(an)o(t)g(to)g(prin)o(t)h(some)e(literal)h +(text)h(in)f(the)i(output)e(that)h(is)f(not)h(supp)q(osed)h(to)e(b)q(e) +0 1333 y(c)o(hec)o(k)o(ed)j(for)f(circularit)o(y)f(or)h(sharing.)k +(\(See)d(the)f(examples)f(b)q(elo)o(w.\))p 0 1392 V 0 +1452 a Fm(Implemen)o(tation)i(note:)22 b FA(Detection)16 +b(of)f(circularit)o(y)j(and)e(sharing)h(is)e(supp)q(orted)i(b)o(y)e +(the)0 1498 y(prett)o(y)i(prin)o(ter)h(b)o(y)f(in)g(essence)g(p)q +(erforming)h(the)f(requested)h(output)f(t)o(wice.)28 +b(On)17 b(the)f(\014rst)0 1544 y(pass,)e(circularities)i(and)f(sharing) +g(are)e(detected)h(and)g(the)g(actual)g(outputting)i(of)d(c)o +(haracters)0 1589 y(is)j(suppressed.)25 b(On)15 b(the)h(second)g(pass,) +g(the)f(appropriate)j(\\)p Fj(#)910 1586 y(-)910 1592 +y(-)929 1589 y Fq(n)951 1586 y Fj(U)951 1592 y(U)971 +1589 y FA(")d(and)h(\\)p Fj(#)1101 1586 y(-)1101 1592 +y(-)1120 1589 y Fq(n)p Fj(#)1142 1586 y(-)1142 1592 y(-)1162 +1589 y FA(")f(mark)o(ers)g(are)0 1635 y(inserted)f(and)g(c)o(haracters) +g(are)f(output.)42 1681 y(A)8 b(consequence)j(of)d(this)i(t)o(w)o +(o-pass)f(approac)o(h)i(to)e(the)g(detection)h(of)f(circularit)o(y)i +(and)f(sharing)0 1726 y(is)15 b(that)f(the)g(b)q(o)q(dy)i(of)d(a)i +Fj(pprint-lo)o(gi)o(cal)o(-b)o(loc)o(k)c FA(m)o(ust)j(not)h(p)q(erform) +f(an)o(y)h(side-e\013ects)g(on)0 1772 y(the)h(surrounding)i(en)o +(vironmen)o(t.)26 b(This)16 b(includes)i(not)e(mo)q(difying)h(an)o(y)f +(v)n(ariables)i(that)d(are)0 1818 y(b)q(ound)g(outside)g(of)e(its)h +(scop)q(e.)19 b(Ob)q(eying)c(this)f(restriction)h(is)f(facilitated)i(b) +o(y)e(using)g Fj(pprint-)0 1863 y(pop)p FA(,)d(instead)j(of)f(an)g +(ordinary)i Fj(pop)c FA(when)i(tra)o(v)o(ersing)i(a)d(list)i(b)q(eing)h +(prin)o(ted)f(b)o(y)f(the)g(b)q(o)q(dy)h(of)0 1909 y(a)f +Fj(pprint-log)o(ic)o(al-)o(bl)o(ock)o FA(.\))p 0 1943 +V -33 2016 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 2044 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(pprint-exit-if-li)o(st-ex)o(haust)o(ed)0 2121 y(pprint-exit-if-li) +o(st-ex)o(haust)o(ed)12 b Fw(tests)k(whether)h(or)e(not)g(the)g +Fv(list)f Fw(argumen)o(t)g(of)0 2173 y Fs(pprint-logical-bl)o(ock)8 +b Fw(has)k(b)q(een)g(exhausted)h(\(see)f Fs(pprint-pop)p +Fw(\).)j(If)c(this)h(list)f(has)0 2225 y(b)q(een)16 b(reduced)g(to)e +Fs(nil)p Fw(,)g Fs(pprint-exit-if-lis)o(t-exh)o(auste)o(d)e +Fw(terminates)i(the)h(exe-)0 2277 y(cution)g(of)g(the)g(immediately)d +(con)o(taining)i Fs(pprint-logical-bl)o(ock)e Fw(except)k(for)f(the)0 +2329 y(prin)o(ting)h(of)f(the)i(su\016x.)26 b(Otherwise)18 +b Fs(pprint-exit-if-l)o(ist-e)o(xhaus)o(ted)13 b Fw(returns)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 815 839 +815 838 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PRETTY)12 b(PRINTING)996 +b(815)0 295 y Fs(nil)p Fw(.)17 b(An)d(error)h(message)e(is)h(issued)h +(if)d Fs(pprint-exit-if-list-)o(exhau)o(sted)e Fw(is)k(used)0 +347 y(an)o(ywhere)i(other)f(than)g(syn)o(tactically)g(nested)h(within)e +(a)h(call)f(on)h Fs(pprint-logical-)0 399 y(block)p Fw(.)h(It)d(is)f +(unde\014ned)h(what)g(happ)q(ens)g(if)e Fs(pprint-pop)f +Fw(is)j(executed)h(outside)e(of)g(the)0 450 y(dynamic)g(exten)o(t)j(of) +e(this)h Fs(pprint-logical-bloc)o(k)p Fw(.)-33 582 y +@beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 611 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(pprint-pop)0 688 y(pprint-pop)16 b Fw(p)q(ops)j(elemen)o(ts)g(one) +f(at)h(a)f(time)f(o\013)h(the)h Fv(list)f Fw(argumen)o(t)f(of)h +Fs(pprint-)0 740 y(logical-block)p Fw(,)10 b(taking)i(care)h(to)g(ob)q +(ey)g Fs(*print-length*)p Fw(,)c Fs(*print-circle*)p +Fw(,)h(and)0 792 y Fs(*print-shared*)p Fw(.)k(An)e(error)g(message)g +(is)f(issued)i(if)d(it)h(is)h(used)g(an)o(ywhere)h(other)f(than)0 +844 y(syn)o(tactically)h(nested)i(within)e(a)h(call)f(on)g +Fs(pprint-logical-bloc)o(k)p Fw(.)i(It)f(is)g(unde\014ned)0 +896 y(what)e(happ)q(ens)g(if)f Fs(pprint-pop)f Fw(is)h(executed)j +(outside)e(of)f(the)i(dynamic)d(exten)o(t)j(of)e(this)0 +947 y(call)i(on)h Fs(pprint-logical-b)o(lock)p Fw(.)42 +1000 y(Eac)o(h)j(time)g Fs(pprint-pop)e Fw(is)i(called,)h(it)f(p)q(ops) +h(the)g(next)g(v)n(alue)f(o\013)g(the)i Fv(list)d Fw(argu-)0 +1052 y(men)o(t)e(of)h Fs(pprint-logical-blo)o(ck)d Fw(and)j(returns)i +(it.)22 b(Ho)o(w)o(ev)o(er,)16 b(b)q(efore)g(doing)e(this,)0 +1104 y(it)h(p)q(erforms)f(three)j(tests.)23 b(If)14 b(the)i(remaining)d +(list)i(is)g(not)g(a)f(list)h(\(neither)h(a)f(cons)h(nor)0 +1156 y Fs(nil)p Fw(\),)i(\\)p Fs(.)i Fw(")e(is)g(prin)o(ted)g(follo)o +(w)o(ed)e(b)o(y)i(the)g(remaining)e(list.)29 b(\(This)18 +b(mak)o(es)f(it)g(easier)0 1208 y(to)i(write)g(prin)o(ting)f(functions) +h(that)g(are)g(robust)g(in)g(the)g(face)g(of)g(malform)o(ed)d(argu-)0 +1260 y(men)o(ts.\))24 b(If)15 b Fs(*print-length*)e Fw(is)j +Fs(nil)g Fw(and)f Fs(pprint-pop)f Fw(has)i(already)g(b)q(een)h(called)0 +1311 y Fs(*print-length*)7 b Fw(times)i(within)g(the)i(imm)o(ediately)c +(con)o(taining)i(logical)f(blo)q(c)o(k,)i(\\)p Fs(...)p +Fw(")0 1363 y(is)g(prin)o(ted.)17 b(\(This)10 b(mak)o(es)e(it)i(easy)g +(to)g(write)g(prin)o(ting)f(functions)h(that)g(prop)q(erly)g(handle)0 +1415 y Fs(*print-length*)p Fw(.\))24 b(If)16 b Fs(*print-circle*)e +Fw(\(and)i(p)q(ossibly)h(also)f Fs(*print-shared*)p Fw(\))0 +1467 y(is)11 b(not)h Fs(nil)p Fw(,)e(and)i(the)g(remaining)d(list)i(is) +g(a)h(circular)f(\(or)h(shared\))g(reference,)i(then)e(\\)p +Fs(.)21 b Fw(")0 1519 y(is)15 b(prin)o(ted)g(follo)o(w)o(ed)e(b)o(y)h +(an)h(appropriate)g(\\)p Fs(#)712 1515 y(-)712 1523 y(-)733 +1519 y Fv(n)p Fs(#)756 1515 y(-)756 1523 y(-)778 1519 +y Fw(")g(mark)o(er.)20 b(\(This)14 b(catc)o(hes)j(instances)0 +1571 y(of)c(cdr)i(circularit)o(y)e(and)h(sharing)g(in)f(lists.\))42 +1623 y(If)19 b(an)o(y)g(of)h(the)g(three)h(preceding)g(conditions)f(o)q +(ccurs,)i(the)f(indicated)f(output)g(is)0 1675 y(prin)o(ted)f(on)f(the) +h(prett)o(y)g(prin)o(ting)f(stream)f(created)j(b)o(y)e(the)h +(immediately)c(con)o(tain-)0 1727 y(ing)e Fs(pprint-logical-)o(block)d +Fw(and)j(the)h(execution)g(of)e(the)i(immediately)c(con)o(taining)0 +1779 y Fs(pprint-logical-bl)o(ock)h Fw(is)i(terminated)h(except)h(for)f +(the)g(prin)o(ting)f(of)g(the)i(su\016x.)42 1832 y(If)c +Fs(pprint-logical-)o(block)d Fw(is)j(giv)o(en)g(a)g Fv(list)f +Fw(argumen)o(t)h(of)g Fs(nil)p Fw(|b)q(ecause)h(it)f(is)g(not)0 +1884 y(pro)q(cessing)i(a)e(list|)p Fs(pprint-pop)d Fw(can)k(still)e(b)q +(e)i(used)h(to)e(obtain)g(supp)q(ort)h(for)f Fs(*print-)0 +1935 y(length*)h Fw(\(see)j(the)f(example)f(function)g +Fs(pprint-vector)e Fw(b)q(elo)o(w\).)18 b(In)13 b(this)h(situation,)0 +1987 y(the)j(\014rst)h(and)f(third)f(tests)j(ab)q(o)o(v)o(e)d(are)h +(disabled)g(and)g Fs(pprint-pop)d Fw(alw)o(a)o(ys)i(returns)0 +2039 y Fs(nil)p Fw(.)1209 2199 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(pprint-indent)18 b Fv(r)n(elative)p Fs(-)p +Fv(to)23 b(n)i Fs(&optional)19 b Fv(str)n(e)n(am)0 2277 +y Fs(pprint-indent)d Fw(sp)q(eci\014es)21 b(the)e(inden)o(tation)g(to)f +(use)i(in)f(a)f(logical)f(blo)q(c)o(k.)33 b Fv(Str)n(e)n(am)0 +2329 y Fw(\(whic)o(h)14 b(defaults)f(to)h Fs(*standard-output)o(*)p +Fw(\))d(follo)o(ws)h(the)i(standard)g(con)o(v)o(en)o(tions)g(for)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 816 840 +816 839 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(816)77 b(COMMON)13 +b(LISP)0 295 y Fw(stream)g(argumen)o(ts)g(to)h(prin)o(ting)f +(functions.)18 b(The)c(argumen)o(t)f Fv(n)h Fw(sp)q(eci\014es)h(the)g +(inden-)0 347 y(tation)g(in)g(ems.)21 b(If)15 b Fv(r)n(elative-to)g +Fw(is)g Fs(:block)p Fw(,)f(the)i(inden)o(tation)e(is)i(set)g(to)f(the)h +(horizon-)0 399 y(tal)i(p)q(osition)f(of)h(the)h(\014rst)g(c)o +(haracter)h(in)d(the)i(blo)q(c)o(k)f(plus)h Fv(n)f Fw(ems.)31 +b(If)18 b Fv(r)n(elative-to)f Fw(is)0 450 y Fs(:current)p +Fw(,)12 b(the)i(inden)o(tation)f(is)h(set)h(to)f(the)g(curren)o(t)i +(output)e(p)q(osition)f(plus)h Fv(n)g Fw(ems.)42 502 +y(The)g(argumen)o(t)e Fv(n)i Fw(can)g(b)q(e)g(negativ)o(e;)f(ho)o(w)o +(ev)o(er,)g(the)i(total)d(inden)o(tation)h(cannot)h(b)q(e)0 +554 y(mo)o(v)o(ed)j(left)i(of)f(the)h(b)q(eginning)f(of)g(the)h(line)f +(or)h(left)f(of)h(the)g(end)g(of)f(the)h(righ)o(tmost)0 +606 y(p)q(er-line)12 b(pre\014x.)18 b(Changes)12 b(in)f(inden)o(tation) +g(caused)i(b)o(y)f Fs(pprint-indent)d Fw(do)i(not)h(tak)o(e)0 +658 y(e\013ect)21 b(un)o(til)d(after)i(the)f(next)h(line)f(break.)34 +b(In)19 b(addition,)g(in)g(miser)f(mo)q(de)g(all)g(calls)0 +710 y(on)c Fs(pprint-indent)d Fw(are)k(ignored,)f(forcing)f(the)i +(lines)f(corresp)q(onding)i(to)e(the)g(logical)0 762 +y(blo)q(c)o(k)g(to)f(line)h(up)g(under)g(the)h(\014rst)g(c)o(haracter)g +(in)e(the)i(blo)q(c)o(k.)42 814 y(An)c(error)g(is)g(signaled)f(if)h(a)f +(v)n(alue)g(other)i(than)f Fs(:block)e Fw(or)i Fs(:current)e +Fw(is)i(supplied)g(for)0 866 y Fv(r)n(elative-to)p Fw(.)16 +b(If)c Fv(str)n(e)n(am)g Fw(is)g(a)g(prett)o(y)h(prin)o(ting)e(stream)h +(created)i(b)o(y)e Fs(pprint-logical-)0 918 y(block)p +Fw(,)f Fs(pprint-indent)f Fw(sets)k(the)f(inden)o(tation)f(in)g(the)h +(innermost)f(dynamically)d(en-)0 970 y(closing)i(logical)f(blo)q(c)o +(k.)18 b(Otherwise,)13 b Fs(pprint-indent)c Fw(has)j(no)g(e\013ect.)19 +b(The)12 b(v)n(alue)f Fs(nil)0 1022 y Fw(is)j(alw)o(a)o(ys)f(returned.) +1209 1157 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(pprint-tab)19 +b Fv(kind)26 b(c)n(olnum)f(c)n(olinc)e Fs(&optional)c +Fv(str)n(e)n(am)0 1234 y Fs(pprint-tab)12 b Fw(sp)q(eci\014es)j +(tabbing)e(as)h(p)q(erformed)g(b)o(y)f(the)h(standard)h +Fs(format)d Fw(directiv)o(e)-2 1290 y Fn(~)21 1286 y +Fs(T)p Fw(.)g Fv(Str)n(e)n(am)g Fw(\(whic)o(h)h(defaults)g(to)f +Fs(*standard-output*)p Fw(\))d(follo)o(ws)i(the)j(standard)f(con-)0 +1338 y(v)o(en)o(tions)i(for)f(stream)h(argumen)o(ts)f(to)g(prin)o(ting) +g(functions.)21 b(The)15 b(argumen)o(ts)f Fv(c)n(olnum)0 +1390 y Fw(and)h Fv(c)n(olinc)g Fw(corresp)q(ond)i(to)e(the)h(t)o(w)o(o) +f(parameters)g(to)885 1394 y Fn(~)909 1390 y Fs(T)g Fw(and)g(are)g(in)g +(terms)g(of)g(ems.)0 1442 y(The)c Fv(kind)h Fw(argumen)o(t)e(sp)q +(eci\014es)j(the)e(st)o(yle)g(of)g(tabbing.)16 b(It)11 +b(m)o(ust)f(b)q(e)i(one)f(of)g Fs(:line)f Fw(\(tab)0 +1494 y(as)17 b(b)o(y)112 1498 y Fn(~)135 1494 y Fs(T)p +Fw(\))g Fs(:section)e Fw(\(tab)h(as)h(b)o(y)585 1498 +y Fn(~)609 1494 y Fs(T)p Fw(,)f(but)g(measuring)g(horizon)o(tal)g(p)q +(ositions)g(rela-)0 1545 y(tiv)o(e)e(to)g(the)g(start)h(of)e(the)i +(dynamically)c(enclosing)j(section\),)h Fs(:line-relative)c +Fw(\(tab)0 1597 y(as)j(b)o(y)106 1601 y Fn(~)130 1597 +y Fs(@T)p Fw(\),)f(or)h Fs(:section-relativ)o(e)d Fw(\(tab)j(as)g(b)o +(y)846 1601 y Fn(~)870 1597 y Fs(@T)p Fw(,)f(but)h(measuring)f(horizon) +o(tal)0 1649 y(p)q(ositions)g(relativ)o(e)g(to)g(the)h(start)g(of)f +(the)h(dynamically)c(enclosing)k(section\).)k(An)c(error)0 +1701 y(is)d(signaled)g(if)g(an)o(y)g(other)i(v)n(alue)d(is)i(supplied)g +(for)f Fv(kind)p Fw(.)17 b(If)12 b Fv(str)n(e)n(am)e +Fw(is)i(a)f(prett)o(y)i(prin)o(ting)0 1753 y(stream)f(created)i(b)o(y)e +Fs(pprint-logical-bloc)o(k)p Fw(,)d(tabbing)j(is)g(p)q(erformed.)18 +b(Otherwise,)0 1805 y Fs(pprint-tab)12 b Fw(has)i(no)f(e\013ect.)20 +b(The)14 b(v)n(alue)g Fs(nil)f Fw(is)h(alw)o(a)o(ys)e(returned.)1209 +1940 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(pprint-fill)19 +b Fv(str)n(e)n(am)24 b(list)g Fs(&optional)19 b Fv(c)n(olon?)27 +b(atsign?)1209 1992 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(pprint-linear)18 b Fv(str)n(e)n(am)24 b(list)g Fs(&optional)c +Fv(c)n(olon?)26 b(atsign?)1209 2044 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(pprint-tabular)18 b Fv(str)n(e)n(am)24 +b(list)g Fs(&optional)19 b Fv(c)n(olon?)27 b(atsign?)326 +2096 y(tabsize)0 2173 y Fw(These)15 b(three)h(functions)e(sp)q(ecify)h +(particular)f(w)o(a)o(ys)g(of)f(prett)o(y)i(prin)o(ting)e(lists.)19 +b Fv(Str)n(e)n(am)0 2225 y Fw(follo)o(ws)13 b(the)h(standard)h(con)o(v) +o(en)o(tions)f(for)g(stream)f(argumen)o(ts)h(to)g(prin)o(ting)f +(functions.)0 2277 y(Eac)o(h)g(function)f(prin)o(ts)h(paren)o(theses)i +(around)e(the)g(output)g(if)f(and)g(only)g(if)g Fv(c)n(olon?)18 +b Fw(\(de-)0 2329 y(fault)d Fs(t)p Fw(\))g(is)g(not)h +Fs(nil)p Fw(.)22 b(Eac)o(h)16 b(function)f(ignores)h(its)g +Fv(atsign?)23 b Fw(argumen)o(t)15 b(and)g(returns)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 817 841 +817 840 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PRETTY)12 b(PRINTING)996 +b(817)0 295 y Fs(nil)p Fw(.)22 b(\(These)17 b(t)o(w)o(o)e(argumen)o(ts) +f(are)i(included)g(in)f(this)g(w)o(a)o(y)g(so)g(that)h(these)h +(functions)0 347 y(can)h(b)q(e)h(used)g(via)309 351 y +Fn(~)333 347 y Fs(/.../)e Fw(and)g(as)h Fs(set-pprint-dispatch)c +Fw(functions)k(as)g(w)o(ell)g(as)0 399 y(directly)m(.\))26 +b(Eac)o(h)16 b(function)h(handles)f(abbreviation)g(and)g(the)h +(detection)h(of)e(circular-)0 450 y(it)o(y)g(and)g(sharing)g(correctly) +i(and)e(uses)i Fs(write)d Fw(to)i(prin)o(t)f Fv(list)f +Fw(when)i(giv)o(en)f(a)g(non-list)0 502 y(argumen)o(t.)42 +555 y(The)c(function)f Fs(pprint-linear)e Fw(prin)o(ts)j(a)g(list)f +(either)i(all)d(on)i(one)g(line)f(or)h(with)f(eac)o(h)0 +607 y(elemen)o(t)16 b(on)g(a)g(separate)h(line.)25 b(The)17 +b(function)f Fs(pprint-fill)e Fw(prin)o(ts)j(a)f(list)g(with)g(as)0 +659 y(man)o(y)11 b(elemen)o(ts)i(as)h(p)q(ossible)f(on)g(eac)o(h)h +(line.)j(The)d(function)f Fs(pprint-tabular)d Fw(is)j(the)0 +711 y(same)g(as)i Fs(pprint-fill)d Fw(except)j(that)g(it)f(prin)o(ts)g +(the)h(elemen)o(ts)f(so)h(that)f(they)h(line)f(up)0 763 +y(in)e(columns.)k(This)c(function)g(tak)o(es)h(an)f(additional)f +(argumen)o(t)g Fs(tabsize)g Fw(\(default)h(16\))0 815 +y(that)i(sp)q(eci\014es)i(the)e(column)e(spacing)i(in)g(ems.)42 +915 y(As)d(an)g(example)f(of)g(the)i(in)o(teraction)f(of)g(logical)e +(blo)q(c)o(ks,)j(conditional)d(newlines,)j(and)0 967 +y(inden)o(tation,)g(consider)h(the)g(function)f Fs(pprint-defun)e +Fw(b)q(elo)o(w.)17 b(This)c(function)f(prett)o(y)0 1019 +y(prin)o(ts)h(a)f(list)g(whose)i Fv(c)n(ar)e Fw(is)h +Fs(defun)e Fw(in)h(the)i(standard)f(w)o(a)o(y)f(assuming)f(that)h(the)i +(length)0 1071 y(of)f(the)i(list)e(is)h(exactly)g(4.)0 +1165 y Fs(;;;)21 b(Pretty)e(printer)h(function)g(for)g(DEFUN)g(forms.)0 +1269 y(\(defun)g(pprint-defun)f(\(list\))42 1321 y +(\(pprint-logical-blo)o(ck)f(\(nil)j(list)f(:prefix)g("\(")g(:suffix)g +("\)"\))85 1373 y(\(write)g(\(first)g(list\)\))85 1424 +y(\(write-char)f(#)346 1420 y(-)346 1428 y(-)367 1424 +y(\\space\))85 1476 y(\(pprint-newline)f(:miser\))85 +1528 y(\(pprint-indent)g(:current)h(0\))85 1580 y(\(write)h(\(second)f +(list\)\))85 1632 y(\(write-char)g(#)346 1628 y(-)346 +1636 y(-)367 1632 y(\\space\))85 1684 y(\(pprint-newline)f(:fill\))85 +1736 y(\(write)i(\(third)g(list\)\))85 1788 y(\(pprint-indent)e(:block) +i(1\))85 1840 y(\(write-char)f(#)346 1836 y(-)346 1844 +y(-)367 1840 y(\\space\))85 1891 y(\(pprint-newline)f(:linear\))85 +1943 y(\(write)i(\(fourth)f(list\)\)\)\))42 2037 y Fw(Supp)q(ose)14 +b(that)g(one)g(ev)n(aluates)g(the)h(follo)o(wing:)0 2131 +y Fs(\(pprint-defun)302 2135 y Fn(')326 2131 y Fs(\(defun)20 +b(prod)g(\(x)h(y\))f(\(*)h(x)g(y\)\)\))42 2225 y Fw(If)14 +b(the)i(line)e(width)h(a)o(v)n(ailable)e(is)i(greater)h(than)f(or)g +(equal)g(to)f(26,)h(all)e(of)i(the)h(output)0 2277 y(app)q(ears)i(on)f +(one)g(line.)27 b(If)17 b(the)h(width)f(is)g(reduced)i(to)e(25,)f(a)h +(line)g(break)g(is)g(inserted)0 2329 y(at)d(the)h(linear-st)o(yle)g +(conditional)e(newline)h(b)q(efore)i Fs(\(*)k(X)h(Y\))p +Fw(,)14 b(pro)q(ducing)g(the)i(output)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 818 842 +818 841 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(818)77 b(COMMON)13 +b(LISP)0 295 y Fw(sho)o(wn)f(b)q(elo)o(w.)17 b(The)12 +b Fs(\(pprint-indent)18 b(:block)i(1\))11 b Fw(causes)j +Fs(\(*)20 b(X)h(Y\))11 b Fw(to)h(b)q(e)g(prin)o(ted)0 +347 y(at)i(a)f(relativ)o(e)h(inden)o(tation)f(of)h(1)f(in)h(the)g +(logical)e(blo)q(c)o(k.)0 428 y Fs(\(DEFUN)20 b(PROD)g(\(X)h(Y\))42 +480 y(\(*)g(X)g(Y\)\))42 561 y Fw(If)15 b(the)h(width)f(is)h(15,)f(a)g +(line)g(break)h(is)g(also)f(inserted)i(at)e(the)h(\014ll-st)o(yle)f +(conditional)0 613 y(newline)f(b)q(efore)h(the)f(argumen)o(t)f(list.)18 +b(The)d(argumen)o(t)e(list)g(lines)h(up)g(under)h(the)g(func-)0 +665 y(tion)i(name)f(b)q(ecause)j(of)e(the)h(call)e(on)h +Fs(\(pprint-indent)i(:current)g(0\))e Fw(b)q(efore)h(the)0 +716 y(prin)o(ting)13 b(of)g(the)i(function)e(name.)0 +798 y Fs(\(DEFUN)20 b(PROD)148 849 y(\(X)h(Y\))42 901 +y(\(*)g(X)g(Y\)\))42 982 y Fw(If)9 b Fs(*print-miser-width)o(*)e +Fw(w)o(ere)k(greater)g(than)f(or)g(equal)f(to)h(14,)g(the)g(output)h(w) +o(ould)0 1034 y(ha)o(v)o(e)f(b)q(een)h(en)o(tirely)g(in)f(miser)f(mo)q +(de.)16 b(All)9 b(inden)o(tation)h(c)o(hanges)h(are)g(ignored)f(in)g +(miser)0 1086 y(mo)q(de)16 b(and)h(line)g(breaks)h(are)f(inserted)i(at) +e(miser-st)o(yle)f(conditional)g(newlines.)28 b(The)0 +1138 y(result)15 b(w)o(ould)e(ha)o(v)o(e)g(b)q(een)i(as)f(follo)o(ws:)0 +1219 y Fs(\(DEFUN)21 1271 y(PROD)21 1323 y(\(X)21 b(Y\))21 +1375 y(\(*)g(X)g(Y\)\))42 1456 y Fw(As)15 b(an)f(example)g(of)g(the)h +(use)h(of)e(a)g(p)q(er-line)h(pre\014x,)g(consider)h(that)f(ev)n +(aluating)e(the)0 1508 y(expression)0 1589 y Fs(\(pprint-logical-b)o +(lock)18 b(\(nil)i(nil)h(:per-line-prefix)d(";;;)i("\))42 +1641 y(\(pprint-defun)345 1645 y Fn(')368 1641 y Fs(\(defun)g(prod)g +(\(x)h(y\))g(\(*)g(x)f(y\)\)\)\))0 1722 y Fw(pro)q(duces)15 +b(the)g(output)0 1803 y Fs(;;;)21 b(\(DEFUN)e(PROD)0 +1855 y(;;;)169 b(\(X)21 b(Y\))0 1907 y(;;;)63 b(\(*)21 +b(X)g(Y\)\))0 1988 y Fw(with)16 b(a)g(line)g(width)h(of)f(20)g(and)g +Fs(nil)g Fw(as)g(the)i(v)n(alue)d(of)h(the)h(prin)o(ter)h(con)o(trol)e +(v)n(ariable)0 2040 y Fs(*print-miser-widt)o(h*)p Fw(.)42 +2092 y(\(If)d Fs(*print-miser-width)o(*)e Fw(w)o(ere)k(not)f +Fs(nil)f Fw(the)h(output)0 2173 y Fs(;;;)21 b(\(DEFUN)0 +2225 y(;;;)42 b(PROD)0 2277 y(;;;)g(\(X)20 b(Y\))0 2329 +y(;;;)42 b(\(*)20 b(X)h(Y\)\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 819 843 +819 842 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PRETTY)12 b(PRINTING)996 +b(819)0 295 y Fw(migh)o(t)12 b(app)q(ear)i(instead.\))42 +1550 y(As)g(a)g(more)e(complex)h(\(and)h(realistic\))g(example,)e +(consider)j(the)g(function)e Fs(pprint-)0 1602 y(let)h +Fw(b)q(elo)o(w.)19 b(This)c(sp)q(eci\014es)h(ho)o(w)e(to)g(prett)o(y)h +(prin)o(t)g(a)f Fs(let)g Fw(in)g(the)h(standard)g(st)o(yle.)20 +b(It)0 1654 y(is)12 b(more)f(complex)g(than)h Fs(pprint-defun)e +Fw(b)q(ecause)j(it)f(has)g(to)g(deal)g(with)g(nested)i(struc-)0 +1706 y(ture.)19 b(Also,)12 b(unlik)o(e)g Fs(pprint-defun)p +Fw(,)f(it)h(con)o(tains)h(complete)f(co)q(de)i(to)f(prin)o(t)g +(readably)0 1758 y(an)o(y)j(p)q(ossible)h(list)f(that)h(b)q(egins)g +(with)f(the)h(sym)o(b)q(ol)e Fs(let)p Fw(.)25 b(The)17 +b(outermost)f Fs(pprint-)0 1810 y(logical-block)e Fw(handles)j(the)g +(prin)o(ting)f(of)g(the)h(input)f(list)g(as)h(a)f(whole)h(and)f(sp)q +(eci-)0 1862 y(\014es)h(that)g(paren)o(theses)i(should)d(b)q(e)h(prin)o +(ted)g(in)f(the)h(output.)26 b(The)17 b(second)g Fs(pprint-)0 +1914 y(logical-block)10 b Fw(handles)j(the)g(list)f(of)g(binding)g +(pairs.)18 b(Eac)o(h)13 b(pair)f(in)g(the)h(list)g(is)f(itself)0 +1966 y(prin)o(ted)h(b)o(y)f(the)h(innermost)f Fs(pprint-logical-)o +(block)o Fw(.)j(\(A)e Fs(loop)e Fw(is)h(used)i(instead)e(of)0 +2017 y(merely)j(decomp)q(osing)f(the)i(pair)f(in)o(to)g(t)o(w)o(o)g +(elemen)o(ts)g(so)g(that)h(readable)g(output)f(will)0 +2069 y(b)q(e)k(pro)q(duced)g(no)f(matter)g(whether)i(the)e(list)g +(corresp)q(onding)h(to)f(the)h(pair)f(has)h(one)0 2121 +y(elemen)o(t,)e(t)o(w)o(o)f(elemen)o(ts,)h(or)g(\(b)q(eing)g(malform)o +(ed\))e(has)i(more)f(than)h(t)o(w)o(o)f(elemen)o(ts.\))0 +2173 y(A)f(space)h(and)e(a)h(\014ll-st)o(yle)f(conditional)f(newline)i +(are)g(placed)g(after)g(eac)o(h)g(pair)f(except)0 2225 +y(the)i(last.)21 b(The)16 b(lo)q(op)e(at)h(the)h(end)f(of)g(the)h +(topmost)e Fs(pprint-logical-)o(block)d Fw(prin)o(ts)0 +2277 y(out)18 b(the)i(forms)d(in)h(the)h(b)q(o)q(dy)g(of)f(the)h +Fs(let)f Fw(separated)h(b)o(y)g(spaces)h(and)e(linear-st)o(yle)0 +2329 y(conditional)12 b(newlines.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 820 844 +820 843 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(820)77 b(COMMON)13 +b(LISP)0 295 y Fs(;;;)21 b(Pretty)e(printer)h(function)g(for)g(LET)h +(forms,)0 347 y(;;;)g(carefully)e(coded)h(to)h(handle)f(malformed)f +(binding)h(pairs.)0 450 y(\(defun)g(pprint-let)f(\(list\))42 +502 y(\(pprint-logical-blo)o(ck)f(\(nil)j(list)f(:prefix)g("\(")g +(:suffix)g("\)"\))85 554 y(\(write)g(\(pprint-pop\)\))85 +606 y(\(pprint-exit-if-)o(list-)o(exhau)o(sted)o(\))85 +658 y(\(write-char)f(#)346 654 y(-)346 662 y(-)367 658 +y(\\space\))85 710 y(\(pprint-logical-)o(block)169 762 +y(\(nil)i(\(pprint-pop\))d(:prefix)i("\(")h(:suffix)e("\)"\))127 +814 y(\(pprint-exit-if-li)o(st-e)o(xhaus)o(ted\))127 +866 y(\(loop)h(\(pprint-logical-bl)o(ock)339 917 y(\(nil)g +(\(pprint-pop\))f(:prefix)g("\(")i(:suffix)f("\)"\))296 +969 y(\(pprint-exit-if-lis)o(t-exh)o(auste)o(d\))296 +1021 y(\(loop)h(\(write)e(\(pprint-pop\)\))423 1073 y +(\(pprint-exit-if-lis)o(t-exh)o(auste)o(d\))423 1125 +y(\(write-char)g(#)684 1121 y(-)684 1129 y(-)706 1125 +y(\\space\))423 1177 y(\(pprint-newline)f(:linear\)\)\))254 +1229 y(\(pprint-exit-if-li)o(st-e)o(xhaus)o(ted\))254 +1281 y(\(write-char)h(#)515 1277 y(-)515 1285 y(-)537 +1281 y(\\space\))254 1333 y(\(pprint-newline)f(:fill\)\)\))85 +1384 y(\(pprint-indent)g(:block)i(1\))85 1436 y(\(loop)g +(\(pprint-exit-if-l)o(ist-)o(exhau)o(sted\))212 1488 +y(\(write-char)f(#)473 1484 y(-)473 1492 y(-)494 1488 +y(\\space\))212 1540 y(\(pprint-newline)f(:linear\))212 +1592 y(\(write)i(\(pprint-pop\)\)\)\)\))42 1682 y Fw(Supp)q(ose)f(that) +g(the)g(follo)o(wing)d(is)j(ev)n(aluated)f(with)h Fs(*print-level*)d +Fw(ha)o(ving)h(the)0 1734 y(v)n(alue)c Fs(4)h Fw(and)g +Fs(*print-circle*)d Fw(ha)o(ving)h(the)j(v)n(alue)e Fs(t)p +Fw(.)0 1824 y Fs(\(pprint-let)259 1828 y Fn(')282 1824 +y Fs(#)282 1820 y(-)282 1828 y(-)304 1824 y(1)326 1820 +y(U)326 1828 y(U)347 1824 y(\(let)21 b(\(x)g(\(*print-length*)d(\(f)i +(\(g)h(3\)\)\))466 1876 y(\(z)g(.)f(2\))h(\(k)g(\(car)f(y\)\)\))381 +1928 y(\(setq)g(x)h(\(sqrt)f(z\)\))h(#)771 1924 y(-)771 +1932 y(-)793 1928 y(1#)815 1924 y(-)815 1932 y(-)836 +1928 y(\)\))42 2017 y Fw(If)9 b(the)i(line)f(length)g(is)g(greater)h +(than)f(or)h(equal)e(to)h(77,)g(the)h(output)f(pro)q(duced)i(app)q +(ears)0 2069 y(on)j(one)g(line.)21 b(Ho)o(w)o(ev)o(er,)15 +b(if)g(the)g(line)g(length)g(is)g(76,)f(line)h(breaks)g(are)h(inserted) +g(at)f(the)0 2121 y(linear-st)o(yle)k(conditional)e(newlines)j +(separating)f(the)g(forms)f(in)h(the)g(b)q(o)q(dy)g(and)g(the)0 +2173 y(output)13 b(b)q(elo)o(w)g(is)g(pro)q(duced.)19 +b(Note)13 b(that)g(the)h(degenerate)g(binding)e(pair)h +Fs(X)g Fw(is)f(prin)o(ted)0 2225 y(readably)19 b(ev)o(en)i(though)e(it) +g(fails)g(to)g(b)q(e)h(a)f(list;)j(a)d(depth)h(abbreviation)f(mark)o +(er)g(is)0 2277 y(prin)o(ted)c(in)f(place)g(of)g Fs(\(G)21 +b(3\))p Fw(;)14 b(the)h(binding)e(pair)h Fs(\(Z)21 b(.)g(2\))14 +b Fw(is)g(prin)o(ted)h(readably)f(ev)o(en)0 2329 y(though)e(it)f(is)h +(not)g(a)f(prop)q(er)i(list;)f(and)g(appropriate)g(circularit)o(y)f +(mark)o(ers)h(are)g(prin)o(ted.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 821 845 +821 844 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PRETTY)12 b(PRINTING)996 +b(821)0 295 y Fs(#)0 291 y(-)0 299 y(-)22 295 y(1)44 +291 y(U)44 299 y(U)65 295 y(\(LET)21 b(\(X)f(\(*PRINT-LENGTH*)f(\(F)h +(#)651 291 y(-)651 299 y(-)673 295 y(\)\))h(\(Z)g(.)g(2\))f(\(K)h +(\(CAR)f(Y\)\)\))106 347 y(\(SETQ)g(X)h(\(SQRT)f(Z\)\))106 +399 y(#)106 395 y(-)106 403 y(-)128 399 y(1#)150 395 +y(-)150 403 y(-)171 399 y(\))42 496 y Fw(If)d(the)h(line)g(length)f(is) +h(reduced)h(to)f(35,)g(a)f(line)h(break)g(is)f(inserted)i(at)f(one)g +(of)f(the)0 548 y(\014ll-st)o(yle)c(conditional)g(newlines)h +(separating)g(the)g(binding)f(pairs.)0 646 y Fs(#)0 642 +y(-)0 650 y(-)22 646 y(1)44 642 y(U)44 650 y(U)65 646 +y(\(LET)21 b(\(X)f(\(*PRINT-PRETTY*)f(\(F)h(#)651 642 +y(-)651 650 y(-)673 646 y(\)\))191 698 y(\(Z)g(.)h(2\))g(\(K)g(\(CAR)f +(Y\)\)\))106 750 y(\(SETQ)g(X)h(\(SQRT)f(Z\)\))106 802 +y(#)106 798 y(-)106 806 y(-)128 802 y(1#)150 798 y(-)150 +806 y(-)171 802 y(\))42 899 y Fw(Supp)q(ose)14 b(that)f(the)i(line)e +(length)g(is)g(further)i(reduced)g(to)e(22)g(and)h Fs(*print-length*)0 +951 y Fw(is)h(set)g(to)g(3.)20 b(In)14 b(this)h(situation,)f(line)g +(breaks)h(are)h(inserted)f(after)g(b)q(oth)g(the)g(\014rst)h(and)0 +1003 y(second)k(binding)d(pairs.)32 b(In)18 b(addition,)g(the)h(second) +h(binding)d(pair)h(is)g(itself)g(brok)o(en)0 1055 y(across)13 +b(t)o(w)o(o)e(lines.)17 b(Clause)12 b(\(b\))g(of)f(the)h(description)g +(of)f(\014ll-st)o(yle)g(conditional)f(newlines)0 1107 +y(prev)o(en)o(ts)15 b(the)f(binding)e(pair)h Fs(\(Z)21 +b(.)g(2\))13 b Fw(from)f(b)q(eing)h(prin)o(ted)h(at)f(the)h(end)g(of)f +(the)h(third)0 1159 y(line.)25 b(Note)17 b(that)g(the)g(length)f +(abbreviation)g(hides)h(the)g(circularit)o(y)f(from)f(view)h(and)0 +1211 y(therefore)f(the)g(prin)o(ting)e(of)g(circularit)o(y)h(mark)o +(ers)f(disapp)q(ears.)0 1309 y Fs(\(LET)20 b(\(X)127 +1361 y(\(*PRINT-LENGTH*)148 1413 y(\(F)h(#)213 1409 y(-)213 +1417 y(-)235 1413 y(\)\))127 1465 y(\(Z)g(.)g(2\))g(...\))42 +1517 y(\(SETQ)f(X)h(\(SQRT)g(Z\)\))42 1569 y(...\))42 +1666 y Fw(The)14 b(function)f Fs(pprint-tabular)e Fw(could)j(b)q(e)h +(de\014ned)g(as)f(follo)o(ws:)0 1765 y Fs(\(defun)20 +b(pprint-tabular)e(\(s)j(list)f(&optional)g(\(c?)g(t\))h(a?)g(\(size)f +(16\)\))42 1816 y(\(declare)g(\(ignore)g(a?\)\))42 1868 +y(\(pprint-logical-blo)o(ck)127 1920 y(\(s)h(list)f(:prefix)g(\(if)g +(c?)h("\(")g(""\))f(:suffix)g(\(if)h(c?)f("\)")h(""\)\))85 +1972 y(\(pprint-exit-if-)o(list-)o(exhau)o(sted)o(\))85 +2024 y(\(loop)f(\(write)g(\(pprint-pop\))e(:stream)i(s\))212 +2076 y(\(pprint-exit-if-)o(list-)o(exhau)o(sted)o(\))212 +2128 y(\(write-char)f(#)473 2124 y(-)473 2132 y(-)494 +2128 y(\\space)h(s\))212 2180 y(\(pprint-tab)f(:section-relati)o(ve)f +(0)j(size)g(s\))212 2231 y(\(pprint-newline)d(:fill)i(s\)\)\)\))42 +2329 y Fw(Ev)n(aluating)8 b(the)j(follo)o(wing)c(with)j(a)g(line)f +(length)h(of)g(25)g(pro)q(duces)h(the)g(output)f(sho)o(wn.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 822 846 +822 845 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(822)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(princ)20 b("Roads)g("\))0 347 y(\(pprint-tabular)e +(nil)432 351 y Fn(')456 347 y Fs(\(elm)i(main)g(maple)h(center\))e(nil) +i(nil)f(8\))0 450 y(Roads)g(ELM)105 b(MAIN)127 502 y(MAPLE)63 +b(CENTER)42 592 y Fw(The)14 b(function)f(b)q(elo)o(w)h(prin)o(ts)g(a)g +(v)o(ector)g(using)g Fs(#)794 588 y(-)794 596 y(-)816 +592 y(\(...\))f Fw(notation.)0 682 y Fs(\(defun)20 b(pprint-vector)e +(\(v\))42 733 y(\(pprint-logical-blo)o(ck)g(\(nil)j(nil)f(:prefix)g("#) +912 729 y(-)912 737 y(-)933 733 y(\(")h(:suffix)f("\)"\))85 +785 y(\(let)g(\(\(end)g(\(length)g(v\)\))g(\(i)h(0\)\))127 +837 y(\(when)f(\(plusp)g(end\))169 889 y(\(loop)h(\(pprint-pop\))296 +941 y(\(write)f(\(aref)g(v)h(i\)\))296 993 y(\(if)g(\()405 +989 y(U)405 997 y(U)448 993 y(\(incf)f(i\))h(end\))f(\(return)g +(nil\)\))296 1045 y(\(write-char)f(#)557 1041 y(-)557 +1049 y(-)579 1045 y(\\space\))296 1097 y(\(pprint-newline)f +(:fill\)\)\)\)\)\))42 1186 y Fw(Ev)n(aluating)8 b(the)j(follo)o(wing)c +(with)j(a)g(line)f(length)h(of)g(15)g(pro)q(duces)h(the)g(output)f(sho) +o(wn.)0 1276 y Fs(\(pprint-vector)324 1280 y Fn(')347 +1276 y Fs(#)347 1272 y(-)347 1280 y(-)369 1276 y(\(12)21 +b(34)g(567)f(8)h(9012)f(34)h(567)g(89)f(0)h(1)g(23\)\))0 +1380 y(#)0 1376 y(-)0 1384 y(-)22 1380 y(\(12)f(34)h(567)g(8)42 +1432 y(9012)g(34)f(567)42 1484 y(89)h(0)g(1)g(23\))0 +1653 y Fo(27.4.)f(F)-5 b(ormat)15 b(Directiv)n(e)d(In)n(terface)0 +1744 y Fw(The)g(primary)e(in)o(terface)j(to)e(op)q(erations)h(for)g +(dynamically)d(determining)h(the)j(arrange-)0 1796 y(men)o(t)i(of)g +(output)h(is)f(pro)o(vided)h(through)g(the)g(functions)g(ab)q(o)o(v)o +(e.)23 b(Ho)o(w)o(ev)o(er,)16 b(an)g(addi-)0 1848 y(tional)f(in)o +(terface)j(is)e(pro)o(vided)h(via)e(a)i(set)g(of)f(format)f(directiv)o +(es)i(b)q(ecause,)i(as)e(sho)o(wn)0 1900 y(b)o(y)e(the)i(examples)d(in) +h(this)h(section)h(and)e(the)h(next,)g Fs(format)f Fw(strings)h(are)g +(t)o(ypically)e(a)0 1952 y(m)o(uc)o(h)d(more)g(compact)g(w)o(a)o(y)g +(to)h(sp)q(ecify)h(prett)o(y)g(prin)o(ting.)j(In)c(addition,)f(without) +h(suc)o(h)0 2004 y(an)i(in)o(terface,)h(one)g(w)o(ould)e(ha)o(v)o(e)h +(to)h(abandon)f(the)h(use)g(of)f Fs(format)f Fw(when)i(in)o(teracting)0 +2055 y(with)f(the)g(prett)o(y)h(prin)o(ter.)-2 2166 y +Fn(~)21 2162 y Fs(W)0 2225 y Fv(Write.)j Fw(An)13 b Fv(ar)n(g)p +Fw(,)g(an)o(y)g(Lisp)g(ob)r(ject,)h(is)f(prin)o(ted)h(ob)q(eying)f +Fv(every)h Fw(prin)o(ter)g(con)o(trol)f(v)n(ari-)0 2277 +y(able)d(\(as)g(b)o(y)g Fs(write)p Fw(\).)16 b(In)10 +b(addition,)573 2281 y Fn(~)597 2277 y Fs(W)f Fw(in)o(teracts)j +(correctly)f(with)f(depth)g(abbreviation)0 2329 y(b)o(y)j(not)f +(resetting)i(the)g(depth)f(coun)o(ter)h(to)f(zero.)785 +2333 y Fn(~)808 2329 y Fs(W)g Fw(do)q(es)h(not)e(accept)i(parameters.)k +(If)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 823 847 +823 846 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PRETTY)12 b(PRINTING)996 +b(823)0 295 y Fw(giv)o(en)14 b(the)i(colon)e(mo)q(di\014er,)464 +299 y Fn(~)488 295 y Fs(W)g Fw(binds)h Fs(*print-pretty*)d +Fw(to)i Fs(t)p Fw(.)21 b(If)14 b(giv)o(en)h(the)g(atsign)0 +347 y(mo)q(di\014er,)172 351 y Fn(~)195 347 y Fs(W)f +Fw(binds)g Fs(*print-level*)d Fw(and)j Fs(*print-length*)d +Fw(to)i Fs(nil)p Fw(.)39 405 y Fn(~)63 401 y Fs(W)d Fw(pro)o(vides)h +(automatic)e(supp)q(ort)j(for)f(circularit)o(y)f(detection.)18 +b(If)11 b Fs(*print-circle*)0 452 y Fw(\(and)j(p)q(ossibly)f(also)g +Fs(*print-shared*)p Fw(\))e(is)j(not)f Fs(nil)g Fw(and)947 +456 y Fn(~)970 452 y Fs(W)g Fw(is)h(applied)f(to)h(an)f(argu-)0 +504 y(men)o(t)g(that)h(is)g(a)f(circular)h(\(or)g(shared\))h +(reference,)h(an)e(appropriate)g(\\)p Fs(#)1125 500 y(-)1125 +508 y(-)1146 504 y Fv(n)p Fs(#)1169 500 y(-)1169 508 +y(-)1191 504 y Fw(")g(mark)o(er)f(is)0 556 y(inserted)i(in)f(the)g +(output)g(instead)g(of)g(prin)o(ting)f(the)h(argumen)o(t.)-2 +680 y Fn(~)21 676 y Fs(_)0 739 y Fv(Conditional)k(new)r(line.)30 +b Fw(Without)17 b(an)o(y)g(mo)q(di\014ers,)856 743 y +Fn(~)880 739 y Fs(_)g Fw(is)h(equiv)n(alen)o(t)f(to)g +Fs(\(pprint-)0 791 y(newline)j(:linear\))p Fw(.)39 b(The)22 +b(directiv)o(e)667 795 y Fn(~)691 791 y Fs(@_)f Fw(is)g(equiv)n(alen)o +(t)g(to)g Fs(\(pprint-newline)0 843 y(:miser\))p Fw(.)e(The)c(directiv) +o(e)438 847 y Fn(~)462 843 y Fs(:_)f Fw(is)g(equiv)n(alen)o(t)g(to)h +Fs(\(pprint-newline)j(:fill\))p Fw(.)h(The)0 895 y(directiv)o(e)166 +899 y Fn(~)190 895 y Fs(:@_)13 b Fw(is)h(equiv)n(alen)o(t)f(to)h +Fs(\(pprint-newline)k(:mandatory\))p Fw(.)-2 1018 y Fn(~)21 +1014 y Fs(<)p Fv(str)90 1018 y Fn(~)112 1014 y Fs(:>)0 +1077 y Fv(L)n(o)n(gic)n(al)i(blo)n(ck.)34 b Fw(If)323 +1081 y Fn(~)347 1077 y Fs(:>)19 b Fw(is)g(used)h(to)g(terminate)e(a)846 +1081 y Fn(~)870 1077 y Fs(<...)g Fw(directiv)o(e,)j(the)f(directiv)o(e) +0 1129 y(is)g(equiv)n(alen)o(t)f(to)h(a)g(call)g(on)g +Fs(pprint-logical-b)o(lock)p Fw(.)33 b(The)21 b Fs(format)e +Fw(argumen)o(t)0 1181 y(corresp)q(onding)13 b(to)g(the)382 +1185 y Fn(~)406 1181 y Fs(<...)492 1185 y Fn(~)514 1181 +y Fs(:>)f Fw(directiv)o(e)h(is)f(treated)i(in)e(the)h(same)e(w)o(a)o(y) +h(as)h(the)g Fv(list)0 1233 y Fw(argumen)o(t)k(to)h Fs +(pprint-logical-bl)o(ock)p Fw(,)e(thereb)o(y)j(pro)o(viding)e +(automatic)f(supp)q(ort)0 1285 y(for)i(non-list)g(argumen)o(ts)g(and)h +(the)g(detection)h(of)e(circularit)o(y)m(,)h(sharing,)g(and)g(depth)0 +1337 y(abbreviation.)34 b(The)20 b(p)q(ortion)g(of)f(the)h +Fs(format)e Fw(con)o(trol)i(string)f(nested)i(within)e(the)-2 +1393 y Fn(~)21 1389 y Fs(<...)107 1393 y Fn(~)130 1389 +y Fs(:>)13 b Fw(sp)q(eci\014es)j(the)f Fs(:prefix)e Fw(\(or)h +Fs(:per-line-prefix)p Fw(\),)c Fs(:suffix)p Fw(,)j(and)h(b)q(o)q(dy)0 +1441 y(of)f(the)i Fs(pprint-logical-b)o(lock)p Fw(.)42 +1495 y(The)g Fs(format)g Fw(string)g(p)q(ortion)g(enclosed)i(b)o(y)765 +1499 y Fn(~)788 1495 y Fs(<...)874 1499 y Fn(~)897 1495 +y Fs(:>)e Fw(can)g(b)q(e)i(divided)e(in)o(to)f(seg-)0 +1546 y(men)o(ts)121 1550 y Fn(~)144 1546 y Fs(<)p Fv(pr)n(e\014x)267 +1550 y Fn(~)291 1546 y Fs(;)p Fv(b)n(o)n(dy)391 1550 +y Fn(~)415 1546 y Fs(;)p Fv(su\016x)535 1550 y Fn(~)558 +1546 y Fs(:>)h Fw(b)o(y)674 1550 y Fn(~)698 1546 y Fs(;)g +Fw(directiv)o(es.)25 b(If)15 b(the)h(\014rst)h(section)f(is)g(ter-)0 +1598 y(minated)c(b)o(y)215 1602 y Fn(~)239 1598 y Fs(@;)p +Fw(,)g(it)h(sp)q(eci\014es)i(a)e(p)q(er-line)g(pre\014x)h(rather)g +(than)f(a)g(simple)f(pre\014x.)18 b(The)0 1650 y(pre\014x)d(and)f +(su\016x)h(cannot)f(con)o(tain)g Fs(format)f Fw(directiv)o(es.)21 +b(An)14 b(error)h(is)g(signaled)e(if)h(ei-)0 1702 y(ther)g(the)g +(pre\014x)f(or)g(su\016x)g(fails)f(to)h(b)q(e)h(a)e(constan)o(t)i +(string)f(or)g(if)f(the)i(enclosed)g(p)q(ortion)0 1754 +y(is)g(divided)f(in)o(to)g(more)g(than)h(three)h(segmen)o(ts.)42 +1808 y(If)c(the)h(enclosed)h(p)q(ortion)f(is)g(divided)f(in)o(to)g +(only)g(t)o(w)o(o)h(segmen)o(ts,)f(the)i(su\016x)f(defaults)0 +1860 y(to)k(the)h(n)o(ull)e(string.)25 b(If)15 b(the)i(enclosed)g(p)q +(ortion)f(consists)h(of)f(only)f(a)h(single)g(segmen)o(t,)0 +1912 y(b)q(oth)e(the)g(pre\014x)h(and)e(the)i(su\016x)e(default)h(to)g +(the)g(n)o(ull)f(string.)18 b(If)13 b(the)i(colon)e(mo)q(di\014er)0 +1964 y(is)18 b(used)h(\(that)f(is,)312 1968 y Fn(~)335 +1964 y Fs(:<...)443 1968 y Fn(~)465 1964 y Fs(:>)p Fw(\),)g(the)h +(pre\014x)g(and)f(su\016x)g(default)g(to)g Fs("\(")f +Fw(and)h Fs("\)")p Fw(,)0 2015 y(resp)q(ectiv)o(ely)m(,)c(instead)h(of) +e(the)h(n)o(ull)f(string.)42 2069 y(The)e(b)q(o)q(dy)g(segmen)o(t)g +(can)g(b)q(e)h(an)o(y)e(arbitrary)h Fs(format)f Fw(con)o(trol)h +(string.)17 b(This)11 b Fs(format)0 2121 y Fw(con)o(trol)22 +b(string)f(is)h(applied)f(to)h(the)g(elemen)o(ts)g(of)f(the)h(list)g +(corresp)q(onding)g(to)g(the)-2 2177 y Fn(~)21 2173 y +Fs(<...)107 2177 y Fn(~)130 2173 y Fs(:>)16 b Fw(directiv)o(e)i(as)g(a) +f(whole.)28 b(Elemen)o(ts)17 b(are)g(extracted)i(from)d(this)h(list)g +(using)0 2225 y Fs(pprint-pop)p Fw(,)9 b(thereb)o(y)j(pro)o(viding)d +(automatic)g(supp)q(ort)j(for)e(malform)o(ed)f(lists)h(and)h(the)0 +2277 y(detection)18 b(of)e(circularit)o(y)m(,)h(sharing,)f(and)h +(length)g(abbreviation.)26 b(Within)16 b(the)i(b)q(o)q(dy)0 +2329 y(segmen)o(t,)170 2333 y Fn(~)-5 b(^)228 2329 y +Fw(acts)15 b(lik)o(e)e Fs(pprint-exit-if-li)o(st-ex)o(haust)o(ed)p +Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 824 848 +824 847 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(824)77 b(COMMON)13 +b(LISP)39 299 y Fn(~)63 295 y Fs(<...)149 299 y Fn(~)171 +295 y Fs(:>)20 b Fw(supp)q(orts)i(a)f(feature)g(not)g(supp)q(orted)h(b) +o(y)e Fs(pprint-logical-bloc)o(k)p Fw(.)0 347 y(If)43 +351 y Fn(~)67 347 y Fs(:@>)d Fw(is)g(used)i(to)e(terminate)g(the)i +(directiv)o(e)f(\(that)g(is,)955 351 y Fn(~)978 347 y +Fs(<...)1064 351 y Fn(~)1086 347 y Fs(:@>)p Fw(\),)g(then)g(a)g +(\014ll-)0 399 y(st)o(yle)c(conditional)e(newline)i(is)g(automatically) +d(inserted)k(after)f(eac)o(h)g(group)g(of)f(blanks)0 +450 y(immediately)j(con)o(tained)j(in)g(the)h(b)q(o)q(dy)g(\(except)h +(for)e(blanks)g(after)g(a)1175 454 y Fn(~)1199 450 y +Fs()0 502 y Fw(directiv)o(e\).)g(This)14 b(mak)o(es)e(it)i +(easy)g(to)g(ac)o(hiev)o(e)g(the)g(equiv)n(alen)o(t)g(of)f(paragraph)h +(\014lling.)42 554 y(If)j(the)i(atsign)f(mo)q(di\014er)f(is)h(used)h +(with)699 558 y Fn(~)722 554 y Fs(<...)808 558 y Fn(~)831 +554 y Fs(:>)p Fw(,)f(the)h(en)o(tire)g(remaining)d(argu-)0 +606 y(men)o(t)i(list)h(is)g(passed)h(to)f(the)h(directiv)o(e)f(as)h +(its)f(argumen)o(t.)32 b(All)19 b(of)f(the)i(remaining)0 +658 y(argumen)o(ts)14 b(are)i(alw)o(a)o(ys)e(consumed)g(b)o(y)657 +662 y Fn(~)680 658 y Fs(@<...)788 662 y Fn(~)810 658 +y Fs(:>)p Fw(,)h(ev)o(en)g(if)f(they)i(are)f(not)g(all)f(used)0 +710 y(b)o(y)g(the)g Fs(format)f Fw(string)h(nested)i(in)e(the)g +(directiv)o(e.)19 b(Other)d(than)e(the)g(di\013erence)i(in)e(its)0 +762 y(argumen)o(t,)193 766 y Fn(~)216 762 y Fs(@<...)324 +766 y Fn(~)346 762 y Fs(:>)d Fw(is)g(exactly)h(the)f(same)g(as)797 +766 y Fn(~)820 762 y Fs(<...)906 766 y Fn(~)928 762 y +Fs(:>)p Fw(,)g(except)i(that)e(circularit)o(y)0 814 y(\(and)17 +b(sharing\))g(detection)i(is)e(not)g(applied)g(if)f(the)834 +818 y Fn(~)857 814 y Fs(@<...)965 818 y Fn(~)987 814 +y Fs(:>)h Fw(is)g(at)g(top)g(lev)o(el)g(in)g(a)0 866 +y Fs(format)12 b Fw(string.)18 b(This)c(ensures)i(that)d(circularit)o +(y)h(detection)g(is)g(applied)f(only)g(to)g(data)0 917 +y(lists)h(and)g(not)f(to)h Fs(format)f Fw(argumen)o(t)f(lists.)42 +969 y(T)m(o)g(a)h(considerable)h(exten)o(t,)g(the)g(basic)g(form)d(of)i +(the)h(directiv)o(e)1065 973 y Fn(~)1088 969 y Fs(<...)1174 +973 y Fn(~)1196 969 y Fs(>)f Fw(is)h(incom-)0 1021 y(patible)k(with)h +(the)g(dynamic)f(con)o(trol)g(of)g(the)i(arrangemen)o(t)e(of)g(output)h +(b)o(y)1265 1025 y Fn(~)1288 1021 y Fs(W)p Fw(,)1338 +1025 y Fn(~)1361 1021 y Fs(_)p Fw(,)-2 1077 y Fn(~)21 +1073 y Fs(<...)107 1077 y Fn(~)130 1073 y Fs(:>)p Fw(,)196 +1077 y Fn(~)220 1073 y Fs(I)p Fw(,)13 b(and)346 1077 +y Fn(~)369 1073 y Fs(:T)p Fw(.)g(As)i(a)e(result,)i(an)e(error)i(is)f +(signaled)g(if)f(an)o(y)g(of)h(these)h(direc-)0 1125 +y(tiv)o(es)h(is)g(nested)i(within)404 1129 y Fn(~)428 +1125 y Fs(<...)514 1129 y Fn(~)536 1125 y Fs(>)p Fw(.)25 +b(Bey)o(ond)16 b(this,)h(an)e(error)j(is)e(also)f(signaled)h(if)f(the) +-2 1181 y Fn(~)21 1177 y Fs(<...)107 1181 y Fn(~)130 +1177 y Fs(:;...)238 1181 y Fn(~)260 1177 y Fs(>)g Fw(form)e(of)443 +1181 y Fn(~)466 1177 y Fs(<...)552 1181 y Fn(~)574 1177 +y Fs(>)i Fw(is)h(used)g(in)f(the)h(same)e Fs(format)g +Fw(string)h(with)1338 1181 y Fn(~)1361 1177 y Fs(W)p +Fw(,)-2 1233 y Fn(~)21 1229 y Fs(_)p Fw(,)66 1233 y Fn(~)90 +1229 y Fs(<...)176 1233 y Fn(~)198 1229 y Fs(:>)p Fw(,)265 +1233 y Fn(~)288 1229 y Fs(I)p Fw(,)e(or)384 1233 y Fn(~)407 +1229 y Fs(:T)p Fw(.)-2 1329 y Fn(~)21 1325 y Fs(I)0 1388 +y Fv(Indent.)146 1392 y Fn(~)169 1388 y Fv(n)p Fs(I)g +Fw(is)h(equiv)n(alen)o(t)e(to)i Fs(\(pprint-indent)k(:block)i +Fv(n)p Fs(\))p Fw(.)1067 1392 y Fn(~)1090 1388 y Fs(:)p +Fv(n)p Fs(I)13 b Fw(is)g(equiv)n(alen)o(t)0 1440 y(to)k +Fs(\(pprint-indent)h(:current)i Fv(n)p Fs(\))p Fw(.)27 +b(In)18 b(b)q(oth)f(cases,)i Fv(n)e Fw(defaults)g(to)g(zero)h(if)e(it)h +(is)0 1492 y(omitted.)-2 1592 y Fn(~)21 1588 y Fs(:T)0 +1651 y Fv(T)m(abulate.)34 b Fw(If)19 b(the)h(colon)f(mo)q(di\014er)f +(is)h(used)h(with)f(the)928 1655 y Fn(~)952 1651 y Fs(T)g +Fw(directiv)o(e,)i(the)e(tabbing)0 1703 y(computation)e(is)h(done)g +(relativ)o(e)g(to)g(the)h(column)e(where)i(the)g(section)g(immediately) +0 1755 y(con)o(taining)h(the)i(directiv)o(e)f(b)q(egins,)i(rather)f +(than)f(with)g(resp)q(ect)i(to)e(column)e(zero.)-2 1810 +y Fn(~)21 1806 y Fv(n)p Fs(,)p Fv(m)p Fs(:T)c Fw(is)g(equiv)n(alen)o(t) +f(to)h Fs(\(pprint-tab)k(:section)g Fv(n)j(m)p Fs(\))p +Fw(.)1040 1810 y Fn(~)1063 1806 y Fv(n)p Fs(,)p Fv(m)p +Fs(:@T)15 b Fw(is)g(equiv)n(a-)0 1858 y(len)o(t)f(to)g +Fs(\(pprint-tab)19 b(:section-relative)f Fv(n)j(m)p Fs(\))p +Fw(.)e(The)c(n)o(umerical)e(parameters)0 1910 y(are)h(b)q(oth)g(in)o +(terpreted)i(as)e(b)q(eing)g(in)f(units)h(of)f(ems)h(and)f(b)q(oth)h +(default)g(to)g(1.)-2 2010 y Fn(~)21 2006 y Fs(/)p Fv(name)p +Fs(/)0 2069 y Fv(Cal)r(l)19 b(function.)35 b Fw(User-de\014ned)22 +b(functions)d(can)h(b)q(e)g(called)f(from)e(within)i(a)g +Fs(format)0 2121 y Fw(string)10 b(b)o(y)f(using)g(the)h(directiv)o(e) +500 2125 y Fn(~)524 2121 y Fs(/)p Fv(name)p Fs(/)p Fw(.)16 +b(The)10 b(colon)f(mo)q(di\014er,)g(the)h(atsign)f(mo)q(di\014er,)0 +2173 y(and)j(arbitrarily)e(man)o(y)g(parameters)i(can)g(b)q(e)g(sp)q +(eci\014ed)h(with)e(the)1052 2177 y Fn(~)1076 2173 y +Fs(/)p Fv(name)p Fs(/)h Fw(directiv)o(e.)0 2225 y(The)i +Fv(name)h Fw(can)f(b)q(e)h(an)o(y)e(string)h(that)g(do)q(es)h(not)f +(con)o(tain)f(\\)p Fs(/)p Fw(".)18 b(All)13 b(of)g(the)i(c)o(haracters) +0 2277 y(in)i Fv(name)h Fw(are)f(treated)i(as)e(if)f(they)i(w)o(ere)g +(upp)q(er)g(case.)30 b(If)16 b Fv(name)i Fw(con)o(tains)f(a)g(\\)p +Fs(:)p Fw(")g(or)0 2329 y(\\)p Fs(::)p Fw(",)d(then)i(ev)o(erything)g +(up)f(to)g(but)h(not)f(including)f(the)i(\014rst)g(\\)p +Fs(:)p Fw(")f(or)g(\\)p Fs(::)p Fw(")f(is)i(tak)o(en)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 825 849 +825 848 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PRETTY)12 b(PRINTING)996 +b(825)0 295 y Fw(to)12 b(b)q(e)h(a)f(string)g(that)g(names)g(a)g(pac)o +(k)n(age.)17 b(Ev)o(erything)12 b(after)h(the)f(\014rst)h(\\)p +Fs(:)p Fw(")f(or)g(\\)p Fs(::)p Fw(")f(\(if)0 347 y(an)o(y\))h(is)f +(tak)o(en)h(to)g(b)q(e)g(a)g(string)g(that)g(names)f(a)g(sym)o(b)q(ol.) +16 b(The)c(function)g(corresp)q(onding)0 399 y(to)18 +b(a)91 403 y Fn(~)115 399 y Fs(/)p Fv(name)p Fs(/)g Fw(directiv)o(e)h +(is)f(obtained)f(b)o(y)h(lo)q(oking)f(up)h(the)h(sym)o(b)q(ol)d(that)i +(has)g(the)0 450 y(indicated)d(name)f(in)h(the)g(indicated)g(pac)o(k)n +(age.)22 b(If)14 b Fv(name)i Fw(do)q(es)g(not)f(con)o(tain)g(a)f(\\)p +Fs(:)p Fw(")h(or)0 502 y(\\)p Fs(::)p Fw(",)d(then)j(the)g(whole)e +(name)g(string)h(is)g(lo)q(ok)o(ed)f(up)h(in)f(the)i +Fs(user)e Fw(pac)o(k)n(age.)42 556 y(When)h(a)197 560 +y Fn(~)220 556 y Fs(/)p Fv(name)p Fs(/)h Fw(directiv)o(e)g(is)g(encoun) +o(tered,)h(the)f(indicated)g(function)f(is)h(called)0 +607 y(with)c(four)g(or)g(more)f(argumen)o(ts.)17 b(The)11 +b(\014rst)h(four)f(argumen)o(ts)g(are)g(the)h(output)g(stream,)0 +659 y(the)j Fs(format)e Fw(argumen)o(t)g(corresp)q(onding)i(to)g(the)g +(directiv)o(e,)f(the)h(v)n(alue)f Fs(t)g Fw(if)f(the)i(colon)0 +711 y(mo)q(di\014er)d(w)o(as)i(used)g(\()p Fs(nil)f Fw(otherwise\),)h +(and)f(the)h(v)n(alue)f Fs(t)g Fw(if)g(the)h(atsign)f(mo)q(di\014er)f +(w)o(as)0 763 y(used)19 b(\()p Fs(nil)e Fw(otherwise\).)31 +b(The)18 b(remaining)e(argumen)o(ts)h(consist)h(of)f(an)o(y)h +(parameters)0 815 y(sp)q(eci\014ed)f(with)e(the)h(directiv)o(e.)24 +b(The)16 b(function)f(should)g(prin)o(t)h(the)g(argumen)o(t)e(appro-)0 +867 y(priately)m(.)j(An)o(y)d(v)n(alues)g(returned)h(b)o(y)f(the)g +(function)g(are)g(ignored.)42 920 y(The)j(three)i(functions)f +Fs(pprint-linear)p Fw(,)d Fs(pprint-fill)p Fw(,)g(and)j +Fs(pprint-tabular)0 972 y Fw(are)10 b(designed)h(so)f(that)f(they)i +(can)f(b)q(e)g(called)g(b)o(y)741 976 y Fn(~)764 972 +y Fs(/.../)f Fw(\(that)h(is,)1033 976 y Fn(~)1056 972 +y Fs(/pprint-linear/)p Fw(,)-2 1028 y Fn(~)21 1024 y +Fs(/pprint-fill/)p Fw(,)f(and)404 1028 y Fn(~)427 1024 +y Fs(/pprint-tabular/)p Fw(.)14 b(In)d(particular)h(they)g(tak)o(e)f +(colon)g(and)0 1076 y(atsign)i(argumen)o(ts.)42 1191 +y(As)j(examples)f(of)g(the)h(con)o(v)o(enience)h(of)e(sp)q(ecifying)h +(prett)o(y)h(prin)o(ting)e(with)g Fs(format)0 1242 y +Fw(strings,)20 b(consider)h(the)e(functions)h Fs(pprint-defun)c +Fw(and)j Fs(pprint-let)e Fw(used)j(as)g(ex-)0 1294 y(amples)15 +b(in)h(the)g(last)g(section.)26 b(They)16 b(can)h(b)q(e)f(more)g +(compactly)e(de\014ned)k(as)e(follo)o(ws.)0 1346 y(The)i(function)g +Fs(pprint-vector)d Fw(cannot)k(b)q(e)f(de\014ned)h(using)f +Fs(format)p Fw(,)f(b)q(ecause)j(the)0 1398 y(data)15 +b(structure)i(it)d(tra)o(v)o(erses)j(is)e(not)g(a)f(list.)21 +b(The)16 b(function)e Fs(pprint-tabular)e Fw(is)j(in-)0 +1450 y(con)o(v)o(enien)o(t)i(to)f(de\014ne)i(using)e +Fs(format)p Fw(,)g(b)q(ecause)i(of)e(the)h(need)h(to)e(pass)i(its)e +Fs(tabsize)0 1502 y Fw(argumen)o(t)d(through)h(to)f(a)426 +1506 y Fn(~)449 1502 y Fs(:T)h Fw(directiv)o(e)g(nested)h(within)f(an)f +(iteration)h(o)o(v)o(er)g(a)f(list.)0 1601 y Fs(\(defun)20 +b(pprint-defun)f(\(list\))42 1653 y(\(format)h(t)h(")279 +1657 y Fn(~)302 1653 y Fs(:<)344 1657 y Fn(~)367 1653 +y Fs(W)407 1657 y Fn(~)431 1653 y Fs(@_)473 1657 y Fn(~)496 +1653 y Fs(:I)538 1657 y Fn(~)560 1653 y Fs(W)601 1657 +y Fn(~)625 1653 y Fs(:_)667 1657 y Fn(~)689 1653 y Fs(W)709 +1657 y Fn(~)732 1653 y Fs(1I)795 1657 y Fn(~)818 1653 +y Fs(_)838 1657 y Fn(~)861 1653 y Fs(W)881 1657 y Fn(~)904 +1653 y Fs(:>")g(list\)\))0 1757 y(\(defun)f(pprint-let)f(\(list\))42 +1809 y(\(format)h(t)h(")279 1813 y Fn(~)302 1809 y Fs(:<)344 +1813 y Fn(~)367 1809 y Fs(W)387 1813 y Fn(~)-6 b(^)17 +b(~)473 1809 y Fs(:<)515 1813 y Fn(~)538 1809 y Fs(@)p +Ft(f)579 1813 y Fn(~)602 1809 y Fs(:<)644 1813 y Fn(~)666 +1809 y Fs(@)p Ft(f)707 1813 y Fn(~)730 1809 y Fs(W)750 +1813 y Fn(~)-5 b(^)16 b(~)837 1809 y Fs(_)857 1813 y +Fn(~)880 1809 y Ft(g)899 1813 y Fn(~)922 1809 y Fs(:>)964 +1813 y Fn(~)-6 b(^)16 b(~)1050 1809 y Fs(:_)1092 1813 +y Fn(~)1115 1809 y Ft(g)1134 1813 y Fn(~)1156 1809 y +Fs(:>)1198 1813 y Fn(~)1221 1809 y Fs(1I)1263 1813 y +Fn(~)336 1865 y(~)360 1861 y Fs(@)p Ft(f)401 1865 y Fn(~)-6 +b(^)17 b(~)487 1861 y Fs(_)507 1865 y Fn(~)530 1861 y +Fs(W)550 1865 y Fn(~)573 1861 y Ft(g)592 1865 y Fn(~)615 +1861 y Fs(:>")212 1913 y(list\)\))0 2121 y Fo(27.5.)j(Compiling)13 +b(F)-5 b(ormat)15 b(Con)n(trol)g(Strings)0 2225 y Fw(The)20 +b(con)o(trol)f(strings)h(used)g(b)o(y)f Fs(format)f Fw(are)i(essen)o +(tially)f(programs)f(that)i(p)q(erform)0 2277 y(prin)o(ting.)26 +b(The)17 b(macro)f Fs(formatter)e Fw(pro)o(vides)j(the)h(e\016ciency)f +(of)f(using)h(a)f(compiled)0 2329 y(function)c(for)g(prin)o(ting)f +(without)h(losing)f(the)i(visual)f(compactness)g(of)g +Fs(format)f Fw(strings.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 826 850 +826 849 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(826)77 b(COMMON)13 +b(LISP)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 295 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(formatter)33 b Fv(c)n(ontr)n(ol-string)0 372 y Fw(The)19 +b Fv(c)n(ontr)n(ol-string)e Fw(m)o(ust)g(b)q(e)i(a)e(literal)h(string.) +31 b(An)18 b(error)h(is)f(signaled)g(if)f Fv(c)n(ontr)n(ol-)0 +423 y(string)10 b Fw(is)g(not)g(a)g(v)n(alid)e Fs(format)h +Fw(con)o(trol)h(string.)17 b(The)10 b(macro)f Fs(formatter)g +Fw(expands)h(in)o(to)0 475 y(an)h(expression)h(of)f(the)g(form)f +Fs(\(function)19 b(\(lambda)h(\(stream)g(&rest)g(args\))g(...\)\))0 +527 y Fw(that)12 b(do)q(es)g(the)g(prin)o(ting)f(sp)q(eci\014ed)i(b)o +(y)f Fv(c)n(ontr)n(ol-string)p Fw(.)k(The)c Fs(lambda)e +Fw(created)j(accepts)0 579 y(an)k(output)h(stream)e(as)i(its)f(\014rst) +h(argumen)o(t)e(and)i(zero)g(or)f(more)f(data)h(v)n(alues)g(as)h(its)0 +631 y(remaining)c(argumen)o(ts.)22 b(The)17 b(v)n(alue)e(returned)i(b)o +(y)f(the)g Fs(lambda)e Fw(is)i(the)g(tail)f(\(if)g(an)o(y\))0 +683 y(of)d(the)i(data)f(v)n(alues)f(that)h(are)h(not)f(prin)o(ted)g +(out)g(b)o(y)g Fv(c)n(ontr)n(ol-string)p Fw(.)j(\(F)m(or)d(example,)f +(if)0 735 y(the)i Fv(c)n(ontr)n(ol-string)e Fw(is)g Fs(")385 +739 y Fn(~)408 735 y Fs(A)428 739 y Fn(~)451 735 y Fs(A")p +Fw(,)h(the)g Fs(cddr)g Fw(\(if)f(an)o(y\))h(of)f(the)i(data)f(v)n +(alues)f(is)h(returned.\))0 787 y(The)h(form)e Fs(\(formatter)20 +b(")443 791 y Fn(~)466 787 y Fs(\045)486 791 y Fn(~)508 +787 y Fs(2@)p Ft(f)571 791 y Fn(~)594 787 y Fs(S,)657 +791 y Fn(~)680 787 y Ft(g)p Fs("\))13 b Fw(is)h(equiv)n(alen)o(t)f(to)h +(the)g(follo)o(wing:)0 871 y Fs(#)0 867 y(-)0 875 y(-)n +Fn(')43 871 y Fs(\(lambda)20 b(\(stream)f(&rest)i(args\))85 +923 y(\(terpri)e(stream\))85 975 y(\(dotimes)g(\(n)i(2\))127 +1027 y(\(if)g(\(null)f(args\))g(\(return)g(nil\)\))127 +1079 y(\(prin1)g(\(pop)g(args\))g(stream\))127 1131 y(\(write-string)f +(",)h(")h(stream\)\))85 1183 y(args\))42 1267 y Fw(In)14 +b(supp)q(ort)i(of)e(the)h(ab)q(o)o(v)o(e)f(mec)o(hanism,)e +Fs(format)i Fw(is)g(extended)i(so)f(that)g(it)f(accepts)0 +1319 y(functions)h(as)g(its)g(second)h(argumen)o(t)e(as)h(w)o(ell)g(as) +g(strings.)21 b(When)16 b(a)e(function)h(is)g(pro-)0 +1371 y(vided,)e(it)g(m)o(ust)f(b)q(e)i(a)f(function)g(of)g(the)h(form)d +(created)k(b)o(y)e Fs(formatter)p Fw(.)j(The)e(function)0 +1423 y(is)k(called)g(with)g(the)i(appropriate)e(output)h(stream)e(as)i +(its)f(\014rst)i(argumen)o(t)d(and)h(the)0 1475 y(data)d(argumen)o(ts)f +(to)h Fs(format)f Fw(as)i(its)f(remaining)e(argumen)o(ts.)21 +b(The)16 b(function)f(should)0 1527 y(p)q(erform)d(whatev)o(er)i +(output)g(is)f(necessary)i(and)e(return)i(the)e(un)o(used)i(tail)d(of)g +(the)i(argu-)0 1579 y(men)o(ts)h(\(if)h(an)o(y\).)24 +b(The)16 b(directiv)o(es)569 1583 y Fn(~)592 1579 y Fs(?)g +Fw(and)710 1583 y Fn(~)734 1579 y Ft(f)753 1583 y Fn(~)776 +1579 y Ft(g)f Fw(with)h(no)g(b)q(o)q(dy)g(are)g(also)f(extended)0 +1631 y(so)j(that)g(they)h(accept)g(functions)f(as)g(w)o(ell)g(as)g(con) +o(trol)f(strings.)31 b(Ev)o(ery)19 b(other)g(stan-)0 +1683 y(dard)13 b(function)f(that)h(tak)o(es)g(a)f Fs(format)f +Fw(string)i(as)g(an)f(argumen)o(t)f(\(for)i(example,)e +Fs(error)0 1734 y Fw(and)j Fs(warn)p Fw(\))g(is)g(also)g(extended)i(so) +f(that)f(it)g(can)h(accept)h(functions)e(of)g(the)h(form)e(ab)q(o)o(v)o +(e)0 1786 y(instead.)0 1933 y Fo(27.6.)20 b(Prett)n(y)15 +b(Prin)n(ting)f(Dispatc)n(h)i(T)-5 b(ables)0 2017 y Fw(When)16 +b Fs(*print-pretty*)d Fw(is)i(not)h Fs(nil)p Fw(,)f(the)h(pprin)o(t)g +(dispatc)o(h)g(table)f(in)h(the)g(v)n(ariable)0 2069 +y Fs(*print-pprint-dis)o(patch)o(*)e Fw(con)o(trols)j(ho)o(w)f(ob)r +(jects)i(are)g(prin)o(ted.)27 b(The)17 b(informa-)0 2121 +y(tion)f(in)h(this)g(table)f(tak)o(es)i(precedence)i(o)o(v)o(er)c(all)g +(other)h(mec)o(hanisms)e(for)i(sp)q(ecifying)0 2173 y(ho)o(w)f(to)h +(prin)o(t)g(ob)r(jects.)28 b(In)17 b(particular,)f(it)h(o)o(v)o +(errides)g(user-de\014ned)i Fs(print-object)0 2225 y +Fw(metho)q(ds)e(and)g(prin)o(t)f(functions)i(for)e(structures.)31 +b(Ho)o(w)o(ev)o(er,)17 b(if)g(there)h(is)f(no)g(sp)q(eci\014-)0 +2277 y(cation)f(for)f(ho)o(w)h(to)g(prett)o(y)g(prin)o(t)g(a)g +(particular)g(kind)f(of)g(ob)r(ject,)i(it)f(is)g(then)g(prin)o(ted)0 +2329 y(using)e(the)g(standard)g(mec)o(hanisms)e(as)i(if)f +Fs(*print-pretty*)e Fw(w)o(ere)k Fs(nil)p Fw(.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 827 851 +827 850 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PRETTY)12 b(PRINTING)996 +b(827)42 295 y Fw(A)12 b(pprin)o(t)f(dispatc)o(h)i(table)f(is)f(a)h +(mapping)e(from)g(k)o(eys)j(to)e(pairs)h(of)g(v)n(alues.)17 +b(The)12 b(k)o(eys)0 347 y(are)k(t)o(yp)q(e)g(sp)q(eci\014ers.)25 +b(The)16 b(v)n(alues)f(are)h(functions)f(and)h(n)o(umerical)e +(priorities.)22 b(Basic)0 399 y(insertion)c(and)g(retriev)n(al)g(is)g +(done)g(based)h(on)f(the)h(k)o(eys)f(with)g(the)h(equalit)o(y)e(of)g(k) +o(eys)0 450 y(b)q(eing)c(tested)i(b)o(y)e Fs(equal)p +Fw(.)k(The)c(function)g(to)g(use)h(when)g(prett)o(y)g(prin)o(ting)e(an) +h(ob)r(ject)h(is)0 502 y(c)o(hosen)f(b)o(y)g(\014nding)f(the)h(highest) +g(priorit)o(y)e(function)h(in)h Fs(*print-pprint-d)o(ispat)o(ch*)0 +554 y Fw(that)h(is)g(asso)q(ciated)g(with)g(a)f(t)o(yp)q(e)i(sp)q +(eci\014er)g(that)f(matc)o(hes)g(the)g(ob)r(ject.)1209 +688 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(copy-pprint-dispa)o(tch)18 +b(&optional)h Fv(table)0 765 y Fw(A)c(cop)o(y)f(is)h(made)e(of)h +Fv(table)p Fw(,)h(whic)o(h)f(defaults)h(to)f(the)i(curren)o(t)g(pprin)o +(t)e(dispatc)o(h)h(table.)0 817 y(If)20 b Fv(table)g +Fw(is)g Fs(nil)p Fw(,)g(a)g(cop)o(y)g(is)g(returned)i(of)e(the)g +(initial)f(v)n(alue)g(of)h Fs(*print-pprint-)0 869 y(dispatch*)p +Fw(.)1209 1003 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(pprint-dispatch) +18 b Fv(obje)n(ct)25 b Fs(&optional)19 b Fv(table)0 1080 +y Fw(This)d(retriev)o(es)h(the)g(highest)f(priorit)o(y)f(function)h +(from)e(a)h(pprin)o(t)h(table)g(that)g(is)g(asso-)0 1131 +y(ciated)f(with)f(a)g(t)o(yp)q(e)h(sp)q(eci\014er)h(in)d(the)i(table)g +(that)f(matc)o(hes)g Fv(obje)n(ct)p Fw(.)19 b(The)c(function)f(is)0 +1183 y(c)o(hosen)k(b)o(y)f(\014nding)f(all)g(the)i(t)o(yp)q(e)f(sp)q +(eci\014ers)i(in)e Fv(table)g Fw(that)g(matc)o(h)e(the)j(ob)r(ject)g +(and)0 1235 y(selecting)c(the)f(highest)h(priorit)o(y)e(function)g +(asso)q(ciated)i(with)f(an)o(y)f(of)h(these)h(t)o(yp)q(e)f(sp)q(ec-)0 +1287 y(i\014ers.)19 b(If)14 b(there)h(is)f(more)f(than)h(one)g(highest) +g(priorit)o(y)f(function,)h(an)f(arbitrary)h(c)o(hoice)0 +1339 y(is)i(made.)25 b(If)16 b(no)g(t)o(yp)q(e)h(sp)q(eci\014ers)h +(matc)o(h)e(the)h(ob)r(ject,)g(a)f(function)g(is)h(returned)h(that)0 +1391 y(prin)o(ts)c(ob)r(ject)h(with)e Fs(*print-pretty*)e +Fw(b)q(ound)j(to)g Fs(nil)p Fw(.)42 1443 y(As)k(a)g(second)h(return)g +(v)n(alue,)f Fs(pprint-dispatch)d Fw(returns)k(a)f(\015ag)f(that)h(is)g +Fs(t)g Fw(if)f(a)0 1495 y(matc)o(hing)12 b(t)o(yp)q(e)i(sp)q(eci\014er) +i(w)o(as)e(found)f(in)h Fv(table)f Fw(and)h Fs(nil)f +Fw(if)g(not.)42 1547 y Fv(T)m(able)e Fw(\(whic)o(h)i(defaults)f(to)g +Fs(*print-pprint-dis)o(patch)o(*)p Fw(\))e(m)o(ust)h(b)q(e)i(a)f(pprin) +o(t)g(dis-)0 1599 y(patc)o(h)17 b(table.)25 b Fv(T)m(able)16 +b Fw(can)h(b)q(e)g Fs(nil)p Fw(,)f(in)g(whic)o(h)h(case)g(retriev)n(al) +f(is)h(done)g(in)f(the)h(initial)0 1651 y(v)n(alue)c(of)h +Fs(*print-pprint-d)o(ispat)o(ch*)p Fw(.)42 1703 y(When)h +Fs(*print-pretty*)e Fw(is)j Fs(t)p Fw(,)f Fs(\(write)20 +b(object)g(:stream)g(s\))15 b Fw(is)h(equiv)n(alen)o(t)f(to)0 +1755 y Fs(\(funcall)20 b(\(pprint-dispatc)o(h)e(object\))i(s)h +(object\))p Fw(.)1209 1888 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(set-pprint-dispat)o(ch)18 b Fv(typ)n(e)25 b(function)g +Fs(&optional)19 b Fv(priority)24 b(table)0 1965 y Fw(This)17 +b(puts)h(an)f(en)o(try)h(in)o(to)f(a)g(pprin)o(t)g(dispatc)o(h)g(table) +g(and)h(returns)g Fs(nil)p Fw(.)28 b(The)18 b Fv(typ)n(e)0 +2017 y Fw(m)o(ust)e(b)q(e)i(a)f(v)n(alid)e(t)o(yp)q(e)j(sp)q(eci\014er) +h(and)e(is)g(the)h(k)o(ey)f(of)g(the)g(en)o(try)m(.)28 +b(The)18 b(\014rst)g(action)0 2069 y(of)13 b Fs(set-pprint-dispa)o(tch) +d Fw(is)j(to)g(remo)o(v)o(e)g(an)o(y)f(pre-existing)i(en)o(try)g(asso)q +(ciated)g(with)0 2121 y Fv(typ)n(e)p Fw(.)k(This)12 b(guaran)o(tees)i +(that)f(there)h(will)e(nev)o(er)h(b)q(e)h(t)o(w)o(o)e(en)o(tries)i +(asso)q(ciated)g(with)e(the)0 2173 y(same)e(t)o(yp)q(e)h(sp)q +(eci\014er)h(in)e(a)h(giv)o(en)f(pprin)o(t)g(dispatc)o(h)h(table.)17 +b(Equalit)o(y)9 b(of)h(t)o(yp)q(e)i(sp)q(eci\014ers)0 +2225 y(is)i(tested)h(b)o(y)f Fs(equal)p Fw(.)42 2277 +y(Tw)o(o)19 b(v)n(alues)h(are)g(asso)q(ciated)h(with)f(eac)o(h)g(t)o +(yp)q(e)h(sp)q(eci\014er)g(in)f(a)g(pprin)o(t)f(dispatc)o(h)0 +2329 y(table:)24 b(a)16 b(function)h(and)g(a)f(priorit)o(y)m(.)26 +b(The)17 b Fv(function)h Fw(m)o(ust)d(accept)k(t)o(w)o(o)d(argumen)o +(ts:)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 828 852 +828 851 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(828)77 b(COMMON)13 +b(LISP)0 295 y Fw(the)20 b(stream)e(to)h(send)g(output)h(to)e(and)h +(the)h(ob)r(ject)f(to)g(b)q(e)g(prin)o(ted.)34 b(The)19 +b Fv(function)0 347 y Fw(should)c(prett)o(y)g(prin)o(t)g(the)g(ob)r +(ject)h(on)f(the)g(stream.)21 b(The)15 b Fv(function)g +Fw(can)g(assume)g(that)0 399 y(ob)r(ject)22 b(satis\014es)f +Fv(typ)n(e)p Fw(.)39 b(The)21 b Fv(function)g Fw(should)g(ob)q(ey)g +Fs(*print-readably*)o Fw(.)36 b(An)o(y)0 450 y(v)n(alues)14 +b(returned)h(b)o(y)f(the)g Fv(function)h Fw(are)f(ignored.)42 +506 y(The)j Fv(priority)f Fw(\(whic)o(h)h(defaults)f(to)h(0\))g(m)o +(ust)f(b)q(e)h(a)g(non-complex)e(n)o(um)o(b)q(er.)27 +b(This)0 558 y(n)o(um)o(b)q(er)12 b(is)g(used)h(as)g(a)f(priorit)o(y)f +(to)i(resolv)o(e)f(con\015icts)i(when)e(an)h(ob)r(ject)g(matc)o(hes)f +(more)0 610 y(than)19 b(one)h(en)o(try)m(.)35 b(An)20 +b(error)g(is)f(signaled)g(if)g(priorit)o(y)g(fails)f(to)h(b)q(e)h(a)f +(non-complex)0 662 y(n)o(um)o(b)q(er.)42 718 y(The)12 +b Fv(table)g Fw(\(whic)o(h)g(defaults)g(to)f(the)i(v)n(alue)e(of)g +Fs(*print-pprint-dispat)o(ch*)p Fw(\))e(m)o(ust)0 770 +y(b)q(e)15 b(a)e(pprin)o(t)h(dispatc)o(h)g(table.)k(The)c(sp)q +(eci\014ed)i(en)o(try)e(is)g(placed)g(in)g(this)f(table.)42 +826 y(It)i(is)g(p)q(ermissible)f(for)h Fv(function)g +Fw(to)g(b)q(e)h Fs(nil)p Fw(.)21 b(In)15 b(this)g(situation,)f(there)j +(will)c(b)q(e)j(no)0 877 y Fv(typ)n(e)e Fw(en)o(try)g(in)g +Fv(table)g Fw(after)g Fs(set-pprint-dispa)o(tch)d Fw(is)i(ev)n +(aluated.)42 933 y(T)m(o)19 b(facilitate)g(the)h(use)h(of)e(pprin)o(t)h +(dispatc)o(h)g(tables)g(for)g(con)o(trolling)e(the)j(prett)o(y)0 +985 y(prin)o(ting)10 b(of)g(Lisp)g(co)q(de,)i(the)f Fv(typ)n(e-sp)n(e)n +(ci\014er)f Fw(argumen)o(t)g(of)g(the)h(function)f Fs(set-pprint-)0 +1037 y(dispatch)i Fw(is)h(allo)o(w)o(ed)g(to)g(con)o(tain)g(the)h(form) +e Fs(\(cons)g Fv(c)n(ar-typ)n(e)j(c)n(dr-typ)n(e)p Fs(\))p +Fw(.)i(This)c(form)0 1089 y(indicates)f(that)h(the)f(corresp)q(onding)h +(ob)r(ject)g(m)o(ust)e(b)q(e)i(a)f(cons)h(whose)f Fv(c)n(ar)g +Fw(satis\014es)h(the)0 1141 y(t)o(yp)q(e)g(sp)q(eci\014er)i +Fv(c)n(ar-typ)n(e)d Fw(and)h(whose)g Fv(c)n(dr)g Fw(satis\014es)h(the)f +(t)o(yp)q(e)g(sp)q(eci\014er)i Fv(c)n(dr-typ)n(e)p Fw(.)i(The)0 +1193 y Fv(c)n(dr-typ)n(e)d Fw(can)g(b)q(e)g(omitted,)e(in)i(whic)o(h)f +(case)i(it)f(defaults)g(to)f Fs(t)p Fw(.)42 1369 y(The)37 +b(initial)f(v)n(alue)g(of)h Fs(*print-pprint-dis)o(patc)o(h*)d +Fw(is)j(implemen)o(tation-)0 1421 y(dep)q(enden)o(t.)e(Ho)o(w)o(ev)o +(er,)21 b(the)f(initial)d(en)o(tries)j(all)e(use)i(a)e(sp)q(ecial)i +(class)f(of)g(priorities)0 1473 y(that)h(are)g(less)g(than)g(ev)o(ery)g +(priorit)o(y)f(that)h(can)g(b)q(e)g(sp)q(eci\014ed)i(using)d +Fs(set-pprint-)0 1525 y(dispatch)p Fw(.)j(This)16 b(guaran)o(tees)h +(that)f(prett)o(y)g(prin)o(ting)f(functions)h(sp)q(eci\014ed)i(b)o(y)d +(users)0 1577 y(will)d(o)o(v)o(erride)j(ev)o(erything)f(in)f(the)i +(initial)d(v)n(alue)h(of)g Fs(*print-pprint-disp)o(atch*)o +Fw(.)42 1633 y(Consider)i(the)h(follo)o(wing)c(examples.)20 +b(The)c(\014rst)f(form)f(restores)j Fs(*print-pprint-)0 +1685 y(dispatch*)11 b Fw(to)i(its)g(initial)e(v)n(alue.)17 +b(The)d(next)f(t)o(w)o(o)g(forms)e(then)j(sp)q(ecify)f(a)g(sp)q(ecial)g +(w)o(a)o(y)0 1737 y(of)g(prett)o(y)i(prin)o(ting)e(ratios.)18 +b(Note)d(that)f(the)g(more)f(sp)q(eci\014c)j(t)o(yp)q(e)e(sp)q +(eci\014er)i(has)e(to)g(b)q(e)0 1789 y(asso)q(ciated)h(with)e(a)h +(higher)g(priorit)o(y)m(.)0 1914 y Fs(\(setq)20 b(*print-pprint-disp)o +(atch*)127 1966 y(\(copy-pprint-dispa)o(tch)e(nil\)\))0 +2069 y(\(defun)i(div-print)f(\(s)i(r)g(colon?)f(atsign?\))42 +2121 y(\(declare)g(\(ignore)g(colon?)g(atsign?\)\))42 +2173 y(\(format)g(s)h("\(/)343 2177 y Fn(~)367 2173 y +Fs(D)407 2177 y Fn(~)431 2173 y Fs(D\)")f(\(numerator)g(\(abs)g(r\)\))g +(\(denominator)f(r\)\)\))0 2277 y(\(set-pprint-dispa)o(tch)455 +2281 y Fn(')478 2277 y Fs(ratio)h(\(formatter)f("#)869 +2273 y(-)869 2281 y(-)891 2277 y(.)911 2281 y Fn(~)934 +2277 y Fs(/div-print/"\)\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 829 853 +829 852 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(PRETTY)12 b(PRINTING)996 +b(829)0 295 y Fs(\(set-pprint-dispa)o(tch)455 299 y Fn(')478 +295 y Fs(\(and)21 b(ratio)f(\(satisfies)f(minusp\)\))42 +347 y(\(formatter)g("#)303 343 y(-)303 351 y(-)325 347 +y(.\(-)409 351 y Fn(~)433 347 y Fs(/div-print/\)"\))42 +399 y(5\))0 502 y(\(pprint)171 506 y Fn(')195 502 y Fs(\(1/3)h +(-2/3\)\))g Fw(prin)o(ts:)h Fs(\(#)615 498 y(-)615 506 +y(-)637 502 y(.\(/)f(1)h(3\))g(#)831 498 y(-)831 506 +y(-)853 502 y(.\(-)f(\(/)h(2)g(3\)\)\))42 585 y Fw(The)13 +b(follo)o(wing)e(t)o(w)o(o)i(forms)f(illustrate)h(the)h(sp)q +(eci\014cation)g(of)f(prett)o(y)h(prin)o(ting)f(func-)0 +637 y(tions)d(for)g(particular)g(t)o(yp)q(es)h(of)f(Lisp)g(co)q(de.)18 +b(The)11 b(\014rst)g(form)e(illustrates)h(ho)o(w)g(to)g(sp)q(ecify)0 +689 y(the)i(traditional)e(metho)q(d)g(for)h(prin)o(ting)g(quoted)h(ob)r +(jects)g(using)f(\\)1036 693 y Fn(')1059 689 y Fw(")g(syn)o(tax.)17 +b(Note)12 b(the)0 741 y(care)j(tak)o(en)g(to)f(ensure)i(that)e(data)g +(lists)g(that)h(happ)q(en)g(to)f(b)q(egin)g(with)g Fs(quote)f +Fw(will)g(b)q(e)0 793 y(prin)o(ted)20 b(readably)m(.)35 +b(The)21 b(second)g(form)d(sp)q(eci\014es)k(that)e(lists)f(b)q +(eginning)h(with)f(the)0 845 y(sym)o(b)q(ol)11 b Fs(my-let)g +Fw(should)i(prin)o(t)f(the)h(same)f(w)o(a)o(y)g(that)h(lists)f(b)q +(eginning)h(with)f Fs(let)g Fw(prin)o(t)0 897 y(when)i(the)h(initial)d +(pprin)o(t)i(dispatc)o(h)g(table)g(is)f(in)h(e\013ect.)0 +980 y Fs(\(set-pprint-dispa)o(tch)455 984 y Fn(')478 +980 y Fs(\(cons)20 b(\(member)g(quote\)\))42 1032 y(#)42 +1028 y(-)42 1036 y(-)n Fn(')85 1032 y Fs(\(lambda)g(\(s)h(list\))127 +1083 y(\(if)g(\(and)f(\(consp)g(\(cdr)g(list\)\))g(\(null)g(\(cddr)g +(list\)\)\))212 1135 y(\(funcall)f(\(formatter)g(")666 +1139 y Fn(')-5 b(~)710 1135 y Fs(W"\))21 b(s)g(\(cadr)f(list\)\))212 +1187 y(\(pprint-fill)e(s)j(list\)\)\)\)\))0 1291 y(\(set-pprint-dispa)o +(tch)455 1295 y Fn(')478 1291 y Fs(\(cons)f(\(member)g(my-let\)\))42 +1343 y(\(pprint-dispatch)410 1347 y Fn(')433 1343 y Fs(\(let\))h +(nil\)\))42 1478 y Fw(The)15 b(next)g(example)f(sp)q(eci\014es)i(a)f +(default)f(metho)q(d)g(for)h(prin)o(ting)f(lists)g(that)h(do)g(not)0 +1530 y(corresp)q(ond)f(to)d(function)h(calls.)17 b(Note)12 +b(that,)g(as)g(sho)o(wn)g(in)g(the)g(de\014nition)g(of)f +Fs(pprint-)0 1582 y(tabular)i Fw(ab)q(o)o(v)o(e,)g Fs(pprint-linear)p +Fw(,)e Fs(pprint-fill)p Fw(,)g(and)j Fs(pprint-tabular)d +Fw(are)j(de-)0 1633 y(\014ned)i(with)g(optional)e(colon)h(and)h(atsign) +f(argumen)o(ts)h(so)f(that)h(they)h(can)f(b)q(e)g(used)h(as)0 +1685 y(pprin)o(t)d(dispatc)o(h)g(functions)g(as)g(w)o(ell)f(as)654 +1689 y Fn(~)677 1685 y Fs(/.../)g Fw(functions.)0 1768 +y Fs(\(set-pprint-dispa)o(tch)40 1824 y Fn(')64 1820 +y Fs(\(cons)20 b(\(not)g(\(and)g(symbol)g(\(satisfies)f +(fboundp\)\)\)\))42 1872 y(#)42 1868 y(-)42 1876 y(-)n +Fn(')85 1872 y Fs(pprint-fill)42 1924 y(-5\))0 2007 y +Fw(With)13 b(a)h(line)f(length)h(of)f(9,)g Fs(\(pprint)612 +2011 y Fn(')635 2007 y Fs(\(0)21 b(b)g(c)g(d)g(e)g(f)g(g)g(h)g(i)g(j)g +(k\)\))13 b Fw(prin)o(ts:)0 2090 y Fs(\(0)21 b(b)g(c)g(d)21 +2142 y(e)g(f)g(g)g(h)21 2194 y(i)g(j)g(k\))42 2277 y +Fw(This)11 b(\014nal)h(example)e(sho)o(ws)j(ho)o(w)e(to)h(de\014ne)h(a) +f(prett)o(y)g(prin)o(ting)g(function)f(for)h(a)g(user)0 +2329 y(de\014ned)j(data)f(structure.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 830 854 +830 853 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(830)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(defstruct)19 b(family)h(mom)h(kids\))0 +399 y(\(set-pprint-dispa)o(tch)455 403 y Fn(')478 399 +y Fs(family)42 450 y(#)42 446 y(-)42 454 y(-)n Fn(')85 +450 y Fs(\(lambda)f(\(s)h(f\))127 502 y(\(format)f(s)h(")364 +506 y Fn(~)387 502 y Fs(@<#)431 498 y(-)431 506 y(-)452 +502 y(<)472 506 y Fn(~)495 502 y Fs(;)515 506 y Fn(~)538 +502 y Fs(W)g(and)665 506 y Fn(~)689 502 y Fs(2I)731 506 +y Fn(~)753 502 y Fs(_)773 506 y Fn(~)796 502 y Fs(/pprint-fill/)1080 +506 y Fn(~)1101 502 y Fs(;>)1143 506 y Fn(~)1166 502 +y Fs(:>")296 554 y(\(family-mom)e(f\))i(\(family-kids)e(f\)\)\)\))42 +639 y Fw(The)10 b(prett)o(y)g(prin)o(ting)f(function)h(for)f(the)i +(structure)h Fs(family)c Fw(sp)q(eci\014es)k(ho)o(w)d(to)h(adjust)0 +691 y(the)16 b(la)o(y)o(out)e(of)h(the)h(output)g(so)g(that)f(it)g(can) +h(\014t)g(aesthetically)f(in)o(to)g(a)g(v)n(ariet)o(y)g(of)g(line)0 +743 y(widths.)30 b(In)18 b(addition,)f(it)h(ob)q(eys)g(the)h(prin)o +(ter)f(con)o(trol)g(v)n(ariables)f Fs(*print-level*)p +Fw(,)0 795 y Fs(*print-length*)p Fw(,)g Fs(*print-lines*)p +Fw(,)h Fs(*print-circle*)p Fw(,)f Fs(*print-shared*)p +Fw(,)h(and)0 847 y Fs(*print-escape*)p Fw(,)9 b(and)i(can)h(tolerate)g +(sev)o(eral)g(di\013eren)o(t)h(kinds)f(of)f(malform)o(i)o(t)o(y)e(in)i +(the)0 899 y(data)18 b(structure.)35 b(The)20 b(output)e(b)q(elo)o(w)h +(sho)o(ws)g(what)g(is)f(prin)o(ted)i(out)e(with)h(a)f(righ)o(t)0 +951 y(margin)g(of)h(25,)h Fs(*print-pretty*)c(t)p Fw(,)21 +b Fs(*print-escape*)16 b(nil)p Fw(,)k(and)g(a)f(malform)o(ed)0 +1002 y Fs(kids)13 b Fw(list.)0 1088 y Fs(\(write)20 b(\(list)280 +1092 y Fn(')303 1088 y Fs(principal-family)275 1139 y(\(make-family)f +(:mom)h("Lucy")550 1191 y(:kids)678 1195 y Fn(')702 1191 +y Fs(\("Mark")f("Bob")i(.)g("Dan"\)\)\))148 1243 y(:right-margin)e(25)h +(:pretty)g(T)h(:escape)f(nil)g(:miser-width)f(nil\))0 +1347 y(\(PRINCIPAL-FAMILY)21 1399 y(#)21 1395 y(-)21 +1403 y(-)43 1399 y(\))42 +1536 y Fw(Note)d(that)f(a)h(prett)o(y)g(prin)o(ting)f(function)g(for)h +(a)f(structure)j(is)e(di\013eren)o(t)g(from)e(the)0 1588 +y(structure's)h(prin)o(t)e(function.)21 b(While)14 b(prin)o(t)g +(functions)h(are)h(p)q(ermanen)o(tly)e(asso)q(ciated)0 +1640 y(with)d(a)g(structure,)j(prett)o(y)e(prin)o(ting)f(functions)h +(are)g(stored)g(in)f(pprin)o(t)h(dispatc)o(h)f(tables)0 +1692 y(and)k(can)g(b)q(e)h(rapidly)e(c)o(hanged)i(to)f(re\015ect)i +(di\013eren)o(t)f(prin)o(ting)e(needs.)24 b(If)14 b(there)j(is)e(no)0 +1743 y(prett)o(y)j(prin)o(ting)f(function)g(for)g(a)g(structure)j(in)d +(the)h(curren)o(t)h(prin)o(t)f(dispatc)o(h)f(table,)0 +1795 y(the)d(prin)o(t)g(function)g(\(if)f(an)o(y\))h(is)f(used)i +(instead.)-33 1807 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 537 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 831 855 +831 854 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(28)p 0 448 598 +9 v 0 531 a Fp(Common)30 b(Lisp)f(Object)i(System)0 683 +y Fx(BY)13 b(D)o(ANIEL)h(G.)f(BOBRO)o(W,)e(LIND)o(A)j(G.)f(DEMICHIEL,)g +(RICHARD)g(P)m(.)f(GABRIEL,)0 735 y(SONY)m(A)h(E.)g(KEENE,)g(GREGOR)f +(KICZALES,)h(AND)h(D)o(A)-5 b(VID)12 b(A.)i(MOON)0 951 +y Fr(p)t(r)t(e)t(f)t(a)t(c)t(e)t(:)26 b Fw(X3J13)17 b(v)o(oted)g(in)f +(June)i(1988)d Ft(h)p Fw(12)p Ft(i)i Fw(to)g(adopt)f(the)h(\014rst)h(t) +o(w)o(o)e(c)o(hapters)-33 922 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1002 a(\(of)f(three\))i(of)e(the)i(Commo)o(n)c(Lisp)j +(Ob)r(ject)h(System)e(sp)q(eci\014cation)h(as)g(a)f(part)h(of)f(the)0 +1054 y(forthcoming)d(draft)i(Commo)o(n)d(Lisp)j(standard.)42 +1106 y(This)k(c)o(hapter)h(presen)o(ts)h(the)f(bulk)f(of)g(the)h +(\014rst)g(t)o(w)o(o)f(c)o(hapters)h(of)f(the)h(Common)0 +1158 y(Lisp)g(Ob)r(ject)i(System)e(sp)q(eci\014cation;)j(it)d(is)g +(substan)o(tially)g(iden)o(tical)f(to)h(these)i(t)o(w)o(o)0 +1210 y(sp)q(eci\014cation)12 b(c)o(hapters)g(as)f(previously)f +(published)h(elsewhere)i([5,)e(6)o(,)g(7].)17 b(I)10 +b(ha)o(v)o(e)h(edited)0 1262 y(the)j(material)c(only)j(v)o(ery)g(ligh)o +(tly)e(to)i(conform)e(to)i(the)h(o)o(v)o(erall)e(st)o(yle)h(of)f(this)h +(b)q(o)q(ok)g(and)0 1314 y(to)i(sa)o(v)o(e)h(a)f(substan)o(tial)g(n)o +(um)o(b)q(er)f(of)h(pages)h(b)o(y)f(using)g(a)g(t)o(yp)q(ographically)f +(condensed)0 1366 y(presen)o(tation.)19 b(I)13 b(ha)o(v)o(e)g(inserted) +h(a)f(small)e(n)o(um)o(b)q(er)h(of)h(brac)o(k)o(eted)h(remarks,)f(iden) +o(ti\014ed)0 1418 y(b)o(y)j(the)i(initials)d(GLS.)h(The)h(c)o(hapter)g +(divisions)f(of)g(the)i(original)c(sp)q(eci\014cation)k(ha)o(v)o(e)0 +1470 y(b)q(ecome)10 b(section)h(divisions)f(in)f(this)i(c)o(hapter;)h +(references)h(to)d(the)h(three)h(c)o(hapters)f(of)f(the)0 +1522 y(original)i(sp)q(eci\014cation)j(no)o(w)f(refer)h(to)e(the)i +(three)g(\\parts")f(of)g(the)h(sp)q(eci\014cation.)k(\(See)0 +1573 y(the)f(Ac)o(kno)o(wledgmen)o(ts)e(to)h(this)g(second)h(edition)e +(for)h(ac)o(kno)o(wledgmen)o(ts)f(to)h(others)0 1625 +y(who)i(con)o(tributed)i(to)e(the)h(Common)d(Lisp)i(Ob)r(ject)i(System) +e(sp)q(eci\014cation.\))36 b(This)0 1677 y(is)16 b(not)h(the)g(last)f +(w)o(ord)g(on)h(CLOS;)f(X3J13)g(ma)o(y)f(w)o(ell)h(re\014ne)h(this)g +(material)d(further.)0 1729 y(Keene)i(has)e(written)g(a)g(go)q(o)q(d)f +(tutorial)g(in)o(tro)q(duction)h(to)f(CLOS)i([26)o(].)1042 +1781 y(|Guy)d(L.)i(Steele)h(Jr.)0 1876 y Fo(28.1.)20 +b(Programmer)13 b(In)n(terface)h(Concepts)0 1965 y Fw(The)g(Common)c +(Lisp)k(Ob)r(ject)g(System)f(\(CLOS\))h(is)g(an)f(ob)r(ject-orien)o +(ted)i(extension)f(to)0 2017 y(Common)d(Lisp.)20 b(It)15 +b(is)f(based)h(on)g(generic)g(functions,)f(m)o(ultiple)f(inheritance,)h +(declar-)0 2069 y(ativ)o(e)f(metho)q(d)h(com)o(bination,)c(and)k(a)g +(meta-ob)r(ject)f(proto)q(col.)42 2121 y(The)h(\014rst)h(t)o(w)o(o)e +(parts)h(of)g(this)g(sp)q(eci\014cation)g(describ)q(e)i(the)f(standard) +f(Programmer)0 2173 y(In)o(terface)j(for)e(the)h(Common)d(Lisp)i(Ob)r +(ject)i(System.)23 b(The)16 b(\014rst)h(part,)f(Programmer)0 +2225 y(In)o(terface)11 b(Concepts,)h(con)o(tains)e(a)g(description)h +(of)f(the)g(concepts)i(of)e(the)h(Common)c(Lisp)0 2277 +y(Ob)r(ject)15 b(System,)d(and)h(the)h(second)g(part,)f(F)m(unctions)g +(in)g(the)h(Programmer)d(In)o(terface,)0 2329 y(con)o(tains)f(a)g +(description)g(of)g(the)g(functions)h(and)e(macros)h(in)f(the)i(Commo)o +(n)c(Lisp)j(Ob)r(ject)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1337 2428 a Fy(831)p eop +%%Page: 832 856 +832 855 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(832)77 b(COMMON)13 +b(LISP)0 295 y Fw(System)18 b(Programmer)f(In)o(terface.)33 +b(The)19 b(third)g(part,)g(The)h(Comm)o(on)c(Lisp)i(Ob)r(ject)0 +347 y(System)10 b(Meta-Ob)r(ject)i(Proto)q(col,)f(explains)g(ho)o(w)f +(the)h(Common)d(Lisp)i(Ob)r(ject)i(System)0 399 y(can)j(b)q(e)g +(customized.)20 b([The)15 b(third)f(part)h(has)g(not)f(y)o(et)h(b)q +(een)h(appro)o(v)o(ed)e(b)o(y)h(X3J13)f(for)0 450 y(inclusion)i(in)g +(the)i(forthcoming)c(Common)g(Lisp)i(standard)i(and)e(is)h(not)f +(included)h(in)0 502 y(this)d(b)q(o)q(ok.|GLS])42 555 +y(The)i(fundamen)o(tal)d(ob)r(jects)k(of)e(the)i(Commo)o(n)c(Lisp)j(Ob) +r(ject)h(System)e(are)h(classes,)0 607 y(instances,)f(generic)f +(functions,)g(and)g(metho)q(ds.)42 659 y(A)20 b Fv(class)k +Fw(ob)r(ject)e(determines)f(the)g(structure)i(and)d(b)q(eha)o(vior)h +(of)f(a)g(set)i(of)e(other)0 711 y(ob)r(jects,)j(whic)o(h)d(are)g +(called)g(its)h Fv(instanc)n(es)p Fw(.)37 b(Ev)o(ery)21 +b(Commo)o(n)d(Lisp)i(ob)r(ject)h(is)f(an)0 763 y Fv(instanc)n(e)g +Fw(of)c(a)g(class.)27 b(The)17 b(class)g(of)e(an)i(ob)r(ject)g +(determines)g(the)g(set)h(of)d(op)q(erations)0 815 y(that)f(can)g(b)q +(e)h(p)q(erformed)e(on)h(the)g(ob)r(ject.)42 867 y(A)g +Fv(generic)i(function)i Fw(is)c(a)h(function)f(whose)h(b)q(eha)o(vior)f +(dep)q(ends)i(on)f(the)g(classes)h(or)0 919 y(iden)o(tities)e(of)f(the) +i(argumen)o(ts)e(supplied)h(to)f(it.)18 b(A)c(generic)h(function)e(ob)r +(ject)i(con)o(tains)0 971 y(a)i(set)h(of)e(metho)q(ds,)h(a)g(lam)o(b)q +(da-list,)e(a)i(metho)q(d)f(com)o(bination)f(t)o(yp)q(e,)j(and)f(other) +g(in-)0 1023 y(formation.)22 b(The)17 b Fv(metho)n(ds)f +Fw(de\014ne)h(the)g(class-sp)q(eci\014c)h(b)q(eha)o(vior)e(and)g(op)q +(erations)g(of)0 1075 y(the)f(generic)f(function;)g(a)f(metho)q(d)g(is) +h(said)g(to)g Fv(sp)n(e)n(cialize)i Fw(a)e(generic)h(function.)j(When)0 +1127 y(in)o(v)o(ok)o(ed,)h(a)g(generic)h(function)f(executes)i(a)e +(subset)h(of)f(its)g(metho)q(ds)g(based)g(on)g(the)0 +1179 y(classes)c(of)e(its)h(argumen)o(ts.)42 1231 y(A)e(generic)h +(function)g(can)f(b)q(e)h(used)h(in)e(the)h(same)e(w)o(a)o(ys)h(as)h +(an)f(ordinary)g(function)g(in)0 1283 y(Common)g(Lisp;)j(in)g +(particular,)g(a)g(generic)h(function)f(can)g(b)q(e)h(used)g(as)g(an)f +(argumen)o(t)0 1335 y(to)f Fs(funcall)e Fw(and)i Fs(apply)f +Fw(and)g(can)h(b)q(e)h(giv)o(en)e(a)h(global)e(or)i(a)g(lo)q(cal)f +(name.)42 1387 y(A)20 b Fv(metho)n(d)26 b Fw(is)20 b(an)h(ob)r(ject)g +(that)g(con)o(tains)g(a)f(metho)q(d)g(function,)i(a)e(sequence)j(of)0 +1439 y Fv(p)n(ar)n(ameter)14 b(sp)n(e)n(cializers)i Fw(that)e(sp)q +(ecify)h(when)f(the)g(giv)o(en)g(metho)q(d)f(is)g(applicable,)g(and)0 +1491 y(a)18 b(sequence)i(of)e Fv(quali\014ers)j Fw(that)d(is)g(used)i +(b)o(y)d(the)i Fv(metho)n(d)g(c)n(ombination)j Fw(facilit)o(y)17 +b(to)0 1543 y(distinguish)c(among)e(metho)q(ds.)17 b(Eac)o(h)d +(required)g(formal)c(parameter)j(of)g(eac)o(h)h(metho)q(d)0 +1595 y(has)f(an)g(asso)q(ciated)g(parameter)g(sp)q(ecializer,)g(and)g +(the)h(metho)q(d)e(will)f(b)q(e)i(in)o(v)o(ok)o(ed)g(only)0 +1647 y(on)h(argumen)o(ts)f(that)h(satisfy)f(its)h(parameter)g(sp)q +(ecializers.)42 1699 y(The)g(metho)q(d)f(com)o(bination)e(facilit)o(y)h +(con)o(trols)i(the)g(selection)h(of)e(metho)q(ds,)g(the)h(or-)0 +1751 y(der)d(in)e(whic)o(h)h(they)g(are)h(run,)f(and)g(the)g(v)n(alues) +g(that)g(are)g(returned)i(b)o(y)d(the)i(generic)g(func-)0 +1803 y(tion.)18 b(The)c(Common)d(Lisp)i(Ob)r(ject)j(System)d(o\013ers)i +(a)f(default)f(metho)q(d)g(com)o(bination)0 1855 y(t)o(yp)q(e)h(and)g +(pro)o(vides)g(a)g(facilit)o(y)e(for)i(declaring)f(new)i(t)o(yp)q(es)f +(of)g(metho)q(d)f(com)o(bination.)0 2028 y Fo(28.1.1.)20 +b(Error)14 b(T)-5 b(erminology)0 2121 y Fw(The)20 b(terminology)d(used) +k(in)e(this)h(c)o(hapter)g(to)g(describ)q(e)h(erroneous)g(situations)f +(dif-)0 2173 y(fers)h(from)d(the)i(terminology)d(used)k(in)e(the)i +(\014rst)f(edition.)36 b(The)20 b(new)g(terminology)0 +2225 y(in)o(v)o(olv)o(es)12 b Fv(situations)p Fw(;)h(a)f(situation)g +(is)h(the)g(ev)n(aluation)f(of)g(an)h(expression)h(in)e(some)g(sp)q(e-) +0 2277 y(ci\014c)j(con)o(text.)21 b(F)m(or)15 b(example,)e(a)h +(situation)g(migh)o(t)f(b)q(e)i(the)g(in)o(v)o(o)q(cation)f(of)g(a)g +(function)0 2329 y(on)g(argumen)o(ts)f(that)h(fail)e(to)i(satisfy)f +(some)g(sp)q(eci\014ed)j(constrain)o(ts.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 833 857 +833 856 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(833)42 295 y Fw(In)17 b(the)h(sp)q(eci\014cation)g(of)e +(the)i(Common)c(Lisp)k(Ob)r(ject)g(System,)f(the)h(b)q(eha)o(vior)f(of) +0 347 y(programs)e(in)h(all)f(situations)h(is)g(describ)q(ed,)i(and)e +(the)h(options)f(a)o(v)n(ailable)e(to)i(the)h(im-)0 399 +y(plemen)o(tor)g(are)h(de\014ned.)30 b(No)17 b(implemen)o(tatio)o(n)e +(is)i(allo)o(w)o(ed)g(to)g(extend)i(the)f(syn)o(tax)0 +450 y(or)c(seman)o(tics)h(of)e(the)j(Ob)r(ject)f(System)f(except)i(as)f +(explicitly)f(de\014ned)h(in)f(the)h(Ob)r(ject)0 502 +y(System)h(sp)q(eci\014cation.)26 b(In)16 b(particular,)g(no)h(implem)o +(en)o(tation)c(is)j(allo)o(w)o(ed)g(to)g(extend)0 554 +y(the)h(syn)o(tax)e(of)h(the)g(Ob)r(ject)i(System)d(in)g(suc)o(h)i(a)f +(w)o(a)o(y)f(that)h(am)o(biguit)o(y)d(b)q(et)o(w)o(een)k(the)0 +606 y(sp)q(eci\014ed)e(syn)o(tax)f(of)g(the)g(Ob)r(ject)h(System)f(and) +f(those)i(extensions)g(is)f(p)q(ossible.)0 713 y(\\When)g(situation)f +Fv(S)h Fw(o)q(ccurs,)h(an)f(error)h(is)e(signaled.")0 +776 y(This)h(terminology)d(has)j(the)h(follo)o(wing)c(meaning:)0 +842 y Fu(.)42 851 y Fw(If)k(this)g(situation)g(o)q(ccurs,)i(an)e(error) +i(will)d(b)q(e)i(signaled)f(in)g(the)h(in)o(terpreter)i(and)d(in)42 +903 y(co)q(de)f(compiled)e(under)j(all)e(compiler)f(safet)o(y)i +(optimization)d(lev)o(els.)0 981 y Fu(.)42 990 y Fw(V)m(alid)j +(programs)h(ma)o(y)f(rely)i(on)g(the)g(fact)g(that)g(an)g(error)h(will) +e(b)q(e)h(signaled)g(in)f(the)42 1042 y(in)o(terpreter)21 +b(and)f(in)g(co)q(de)h(compiled)d(under)j(all)e(compiler)f(safet)o(y)i +(optimization)42 1094 y(lev)o(els.)0 1172 y Fu(.)42 1181 +y Fw(Ev)o(ery)13 b(implemen)o(tation)d(is)j(required)h(to)f(detect)i +(suc)o(h)e(an)g(error)h(in)f(the)h(in)o(terpreter)42 +1233 y(and)f(in)h(co)q(de)g(compiled)f(under)h(all)f(compiler)f(safet)o +(y)i(optimization)e(lev)o(els.)0 1339 y(\\When)i(situation)f +Fv(S)h Fw(o)q(ccurs,)h(an)f(error)h(should)e(b)q(e)i(signaled.")0 +1402 y(This)f(terminology)d(has)j(the)h(follo)o(wing)c(meaning:)0 +1468 y Fu(.)42 1477 y Fw(If)i(this)h(situation)g(o)q(ccurs,)h(an)f +(error)h(will)e(b)q(e)h(signaled)g(at)g(least)g(in)g(the)h(in)o +(terpreter)42 1529 y(and)e(in)h(co)q(de)g(compiled)f(under)h(the)h +(safest)f(compiler)f(safet)o(y)h(optimization)d(lev)o(el.)0 +1607 y Fu(.)42 1616 y Fw(V)m(alid)h(programs)h(ma)o(y)e(not)j(rely)g +(on)g(the)g(fact)g(that)g(an)g(error)h(will)d(b)q(e)j(signaled.)0 +1694 y Fu(.)42 1703 y Fw(Ev)o(ery)e(implemen)o(tation)d(is)i(required)i +(to)f(detect)i(suc)o(h)e(an)g(error)h(at)f(least)g(in)g(the)g(in-)42 +1755 y(terpreter)f(and)e(in)f(co)q(de)i(compiled)d(under)j(the)f +(safest)h(compiler)d(safet)o(y)i(optimization)42 1807 +y(lev)o(el.)0 1885 y Fu(.)42 1894 y Fw(When)k(an)f(error)i(is)f(not)g +(signaled,)e(the)j(results)g(are)f(unde\014ned)h(\(see)h(b)q(elo)o +(w\).)0 2000 y(\\When)e(situation)f Fv(S)h Fw(o)q(ccurs,)h(the)g +(results)g(are)f(unde\014ned.")0 2063 y(This)g(terminology)d(has)j(the) +h(follo)o(wing)c(meaning:)0 2129 y Fu(.)42 2138 y Fw(If)e(this)h +(situation)g(o)q(ccurs,)i(the)e(results)i(are)e(unpredictable.)18 +b(The)10 b(results)h(ma)o(y)d(range)42 2190 y(from)k(harmless)h(to)h +(fatal.)0 2268 y Fu(.)42 2277 y Fw(Implemen)o(tatio)o(ns)h(are)j(allo)o +(w)o(ed)e(to)h(detect)i(this)f(situation)f(and)g(signal)f(an)h(error,) +42 2329 y(but)d(no)f(implemen)o(tation)e(is)i(required)i(to)f(detect)h +(the)g(situation.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 834 858 +834 857 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(834)77 b(COMMON)13 +b(LISP)0 286 y Fu(.)42 295 y Fw(No)g(v)n(alid)f(program)f(ma)o(y)h(dep) +q(end)j(on)e(the)h(e\013ects)h(of)e(this)h(situation,)e(and)h(all)f(v)n +(alid)42 347 y(programs)e(are)i(required)h(to)f(treat)h(the)f +(e\013ects)i(of)d(this)h(situation)f(as)h(unpredictable.)0 +461 y(\\When)i(situation)f Fv(S)h Fw(o)q(ccurs,)h(the)g(results)g(are)f +(unsp)q(eci\014ed.")0 524 y(This)g(terminology)d(has)j(the)h(follo)o +(wing)c(meaning:)0 602 y Fu(.)42 610 y Fw(The)i(e\013ects)h(of)e(this)h +(situation)f(are)h(not)f(sp)q(eci\014ed)i(in)e(the)i(Ob)r(ject)f +(System,)f(but)h(the)42 662 y(e\013ects)i(are)g(harmless.)0 +751 y Fu(.)42 760 y Fw(Implemen)o(tatio)o(ns)d(are)i(allo)o(w)o(ed)f +(to)g(sp)q(ecify)i(the)f(e\013ects)i(of)d(this)h(situation.)0 +849 y Fu(.)42 858 y Fw(No)j(p)q(ortable)g(program)f(can)i(dep)q(end)h +(on)e(the)h(e\013ects)h(of)e(this)h(situation,)f(and)g(all)42 +910 y(p)q(ortable)d(programs)f(are)h(required)h(to)f(treat)h(the)g +(situation)e(as)i(unpredictable)g(but)42 961 y(harmless.)0 +1076 y(\\The)f(Common)d(Lisp)i(Ob)r(ject)j(System)d(ma)o(y)f(b)q(e)i +(extended)i(to)e(co)o(v)o(er)g(situation)f Fv(S)p Fw(.")0 +1139 y(The)18 b(meaning)d(of)i(this)g(terminology)e(is)i(that)g(an)g +(implemen)o(tation)d(is)j(free)h(to)f(treat)0 1191 y(situation)c +Fv(S)h Fw(in)g(one)g(of)f(three)i(w)o(a)o(ys:)0 1268 +y Fu(.)42 1277 y Fw(When)d(situation)g Fv(S)g Fw(o)q(ccurs,)i(an)e +(error)h(is)f(signaled)g(at)g(least)h(in)f(the)h(in)o(terpreter)h(and) +42 1329 y(in)f(co)q(de)i(compiled)d(under)j(the)f(safest)h(compiler)d +(safet)o(y)i(optimization)d(lev)o(el.)0 1418 y Fu(.)42 +1427 y Fw(When)j(situation)f Fv(S)h Fw(o)q(ccurs,)h(the)f(results)h +(are)g(unde\014ned.)0 1515 y Fu(.)42 1524 y Fw(When)f(situation)f +Fv(S)h Fw(o)q(ccurs,)h(the)f(results)h(are)g(de\014ned)g(and)e(sp)q +(eci\014ed.)0 1611 y(In)h(addition,)e(this)i(terminology)e(has)i(the)g +(follo)o(wing)d(meaning:)0 1688 y Fu(.)42 1697 y Fw(No)17 +b(p)q(ortable)g(program)f(can)i(dep)q(end)h(on)e(the)h(e\013ects)h(of)e +(this)h(situation,)f(and)g(all)42 1749 y(p)q(ortable)d(programs)e(are)i +(required)h(to)f(treat)h(the)f(situation)f(as)h(unde\014ned.)0 +1864 y(\\Implemen)o(tations)d(are)j(free)h(to)f(extend)h(the)f(syn)o +(tax)g Fv(S)p Fw(.")0 1927 y(This)g(terminology)d(has)j(the)h(follo)o +(wing)c(meaning:)0 2004 y Fu(.)42 2013 y Fw(Implemen)o(tatio)o(ns)e +(are)j(allo)o(w)o(ed)e(to)i(de\014ne)g(unam)o(biguous)e(extensions)i +(to)f(syn)o(tax)h Fv(S)p Fw(.)0 2102 y Fu(.)42 2111 y +Fw(No)j(p)q(ortable)i(program)d(can)j(dep)q(end)g(on)f(this)g +(extension,)h(and)f(all)f(p)q(ortable)h(pro-)42 2163 +y(grams)c(are)i(required)h(to)f(treat)h(the)f(syn)o(tax)g(as)g +(meaningless.)42 2277 y(The)e(Common)d(Lisp)i(Ob)r(ject)j(System)d(sp)q +(eci\014cation)i(ma)o(y)d(disallo)o(w)g(certain)j(exten-)0 +2329 y(sions)h(while)f(allo)o(wing)f(others.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 835 859 +835 858 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(835)0 295 y Fo(28.1.2.)20 b(Classes)0 400 +y Fw(A)d Fv(class)j Fw(is)d(an)g(ob)r(ject)g(that)g(determines)h(the)f +(structure)i(and)e(b)q(eha)o(vior)g(of)f(a)g(set)i(of)0 +452 y(other)d(ob)r(jects,)f(whic)o(h)g(are)g(called)g(its)g +Fv(instanc)n(es)p Fw(.)42 505 y(A)d(class)g(can)g(inherit)g(structure)i +(and)e(b)q(eha)o(vior)g(from)e(other)i(classes.)19 b(A)11 +b(class)g(whose)0 557 y(de\014nition)g(refers)h(to)f(other)g(classes)h +(for)f(the)g(purp)q(ose)h(of)f(inheriting)f(from)f(them)h(is)h(said)0 +609 y(to)k(b)q(e)g(a)g Fv(sub)n(class)k Fw(of)14 b(eac)o(h)i(of)e +(those)i(classes.)22 b(The)16 b(classes)g(that)f(are)g(designated)h +(for)0 661 y(purp)q(oses)f(of)f(inheritance)g(are)h(said)e(to)h(b)q(e)g +Fv(sup)n(er)n(classes)j Fw(of)d(the)g(inheriting)f(class.)42 +714 y(A)k(class)h(can)f(ha)o(v)o(e)g(a)g Fv(name)p Fw(.)29 +b(The)17 b(function)g Fs(class-name)f Fw(tak)o(es)h(a)g(class)h(ob)r +(ject)0 766 y(and)f(returns)i(its)f(name.)27 b(The)18 +b(name)e(of)h(an)g(anon)o(ymous)f(class)i(is)f Fs(nil)p +Fw(.)28 b(A)18 b(sym)o(b)q(ol)0 818 y(can)d Fv(name)j +Fw(a)d(class.)21 b(The)15 b(function)f Fs(find-class)f +Fw(tak)o(es)i(a)f(sym)o(b)q(ol)f(and)i(returns)h(the)0 +870 y(class)j(that)f(the)h(sym)o(b)q(ol)d(names.)31 b(A)18 +b(class)h(has)f(a)g Fv(pr)n(op)n(er)h(name)i Fw(if)d(the)h(name)e(is)h +(a)0 922 y(sym)o(b)q(ol)13 b(and)h(if)g(the)h(name)e(of)h(the)i(class)f +(names)e(that)i(class.)20 b(That)15 b(is,)f(a)g(class)h +Fv(C)g Fw(has)0 974 y(the)e Fv(pr)n(op)n(er)f(name)k(S)c +Fw(if)f Fv(S)i Fw(=)f Fs(\(class-name)19 b Fv(C)p Fs(\))11 +b Fw(and)h Fv(C)g Fw(=)g Fs(\(find-class)19 b Fv(S)p +Fs(\))p Fw(.)11 b(Notice)0 1025 y(that)i(it)g(is)g(p)q(ossible)h(for)f +Fs(\(find-class)19 b Fv(S)674 1031 y Fk(1)693 1025 y +Fs(\))13 b Fw(=)g Fs(\(find-class)19 b Fv(S)1057 1031 +y Fk(2)1076 1025 y Fs(\))13 b Fw(and)g Fv(S)1214 1031 +y Fk(1)1245 1025 y Ft(6)7 b Fw(=)k Fv(S)1318 1031 y Fk(2)1337 +1025 y Fw(.)18 b(If)0 1077 y Fv(C)c Fw(=)g Fs(\(find-class)19 +b Fv(S)p Fs(\))p Fw(,)13 b(w)o(e)h(sa)o(y)g(that)g Fv(C)f +Fw(is)h(the)h Fv(class)f(name)n(d)h(S)p Fw(.)42 1131 +y(A)j(class)g Fv(C)222 1137 y Fk(1)258 1131 y Fw(is)g(a)g +Fv(dir)n(e)n(ct)g(sup)n(er)n(class)j Fw(of)c(a)h(class)g +Fv(C)881 1137 y Fk(2)917 1131 y Fw(if)g Fv(C)990 1137 +y Fk(2)1026 1131 y Fw(explicitly)f(designates)0 1183 +y Fv(C)30 1189 y Fk(1)66 1183 y Fw(as)h(a)g(sup)q(erclass)h(in)f(its)f +(de\014nition.)30 b(In)18 b(this)g(case,)h Fv(C)961 1189 +y Fk(2)997 1183 y Fw(is)f(a)f Fv(dir)n(e)n(ct)h(sub)n(class)j +Fw(of)0 1235 y Fv(C)30 1241 y Fk(1)48 1235 y Fw(.)h(A)16 +b(class)g Fv(C)258 1241 y Fi(n)294 1235 y Fw(is)f(a)g +Fv(sup)n(er)n(class)j Fw(of)d(a)g(class)h Fv(C)783 1241 +y Fk(1)816 1235 y Fw(if)f(there)h(exists)g(a)f(series)i(of)d(classes)0 +1286 y Fv(C)30 1292 y Fk(2)48 1286 y Fh(;)7 b(:)g(:)g(:)e(;)i(C)171 +1292 y Fi(n)o Fl(\000)p Fk(1)247 1286 y Fw(suc)o(h)13 +b(that)g Fv(C)458 1292 y Fi(i)o Fk(+1)525 1286 y Fw(is)f(a)g(direct)i +(sup)q(erclass)g(of)e Fv(C)985 1292 y Fi(i)1010 1286 +y Fw(for)h(1)e Ft(\024)h Fv(i)j Fh(<)d Fv(n)s Fw(.)18 +b(In)13 b(this)0 1338 y(case,)j Fv(C)131 1344 y Fk(1)164 +1338 y Fw(is)f(a)f Fv(sub)n(class)k Fw(of)d Fv(C)480 +1344 y Fi(n)501 1338 y Fw(.)21 b(A)15 b(class)g(is)g(considered)h +(neither)g(a)e(sup)q(erclass)j(nor)e(a)0 1390 y(sub)q(class)g(of)e +(itself.)18 b(That)c(is,)f(if)g Fv(C)550 1396 y Fk(1)582 +1390 y Fw(is)h(a)f(sup)q(erclass)j(of)d Fv(C)931 1396 +y Fk(2)950 1390 y Fw(,)g(then)i Fv(C)1100 1396 y Fk(1)1129 +1390 y Ft(6)7 b Fw(=)12 b Fh(C)1210 1396 y Fk(2)1229 +1390 y Fw(.)17 b(The)e(set)0 1442 y(of)e(classes)i(consisting)f(of)f +(some)f(giv)o(en)h(class)i Fv(C)e Fw(along)f(with)i(all)e(of)h(its)h +(sup)q(erclasses)i(is)0 1494 y(called)e(\\)p Fv(C)f Fw(and)h(its)g(sup) +q(erclasses.")42 1547 y(Eac)o(h)e(class)h(has)f(a)g Fv(class)i(pr)n(e)n +(c)n(e)n(denc)n(e)f(list)p Fw(,)f(whic)o(h)g(is)g(a)g(total)g(ordering) +g(on)g(the)h(set)g(of)0 1599 y(the)i(giv)o(en)g(class)g(and)g(its)g +(sup)q(erclasses.)23 b(The)16 b(total)e(ordering)h(is)f(expressed)k(as) +d(a)f(list)0 1651 y(ordered)i(from)c(most)i(sp)q(eci\014c)h(to)g(least) +f(sp)q(eci\014c.)21 b(The)15 b(class)g(precedence)j(list)c(is)g(used)0 +1703 y(in)19 b(sev)o(eral)g(w)o(a)o(ys.)33 b(In)19 b(general,)h(more)e +(sp)q(eci\014c)i(classes)h(can)e Fv(shadow)p Fw(,)h(or)f(o)o(v)o +(erride,)0 1755 y(features)i(that)f(w)o(ould)f(otherwise)i(b)q(e)f +(inherited)h(from)d(less)j(sp)q(eci\014c)g(classes.)37 +b(The)0 1807 y(metho)q(d)17 b(selection)i(and)e(com)o(bination)f(pro)q +(cess)k(uses)f(the)f(class)g(precedence)j(list)d(to)0 +1859 y(order)d(metho)q(ds)e(from)f(most)h(sp)q(eci\014c)i(to)f(least)g +(sp)q(eci\014c.)42 1912 y(When)f(a)g(class)g(is)h(de\014ned,)g(the)f +(order)h(in)f(whic)o(h)g(its)g(direct)h(sup)q(erclasses)i(are)e(men-)0 +1964 y(tioned)j(in)g(the)h(de\014ning)g(form)d(is)j(imp)q(ortan)o(t.)27 +b(Eac)o(h)17 b(class)h(has)g(a)f Fv(lo)n(c)n(al)h(pr)n(e)n(c)n(e)n +(denc)n(e)0 2016 y(or)n(der)t Fw(,)12 b(whic)o(h)h(is)g(a)g(list)f +(consisting)h(of)f(the)i(class)f(follo)o(w)o(ed)f(b)o(y)g(its)h(direct) +h(sup)q(erclasses)0 2068 y(in)f(the)i(order)g(men)o(tioned)d(in)i(the)g +(de\014ning)g(form.)42 2121 y(A)9 b(class)h(precedence)j(list)c(is)g +(alw)o(a)o(ys)g(consisten)o(t)h(with)g(the)g(lo)q(cal)e(precedence)13 +b(order)d(of)0 2173 y(eac)o(h)i(class)g(in)f(the)h(list.)17 +b(The)12 b(classes)g(in)f(eac)o(h)h(lo)q(cal)f(precedence)j(order)f +(app)q(ear)e(within)0 2225 y(the)j(class)g(precedence)j(list)c(in)g +(the)h(same)f(order.)19 b(If)13 b(the)h(lo)q(cal)f(precedence)k(orders) +d(are)0 2277 y(inconsisten)o(t)g(with)e(eac)o(h)i(other,)f(no)g(class)g +(precedence)j(list)c(can)i(b)q(e)f(constructed,)i(and)0 +2329 y(an)c(error)h(is)e(signaled.)17 b(The)11 b(class)h(precedence)i +(list)c(and)h(its)g(computation)e(is)i(discussed)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 836 860 +836 859 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(836)77 b(COMMON)13 +b(LISP)0 295 y Fw(in)g(section)i(28.1.5.)42 347 y(Classes)i(are)g +(organized)f(in)o(to)g(a)g Fv(dir)n(e)n(cte)n(d)h(acyclic)g(gr)n(aph)p +Fw(.)27 b(There)17 b(are)g(t)o(w)o(o)f(distin-)0 399 +y(guished)g(classes,)h(named)d Fs(t)i Fw(and)f Fs(standard-object)p +Fw(.)21 b(The)16 b(class)g(named)f Fs(t)g Fw(has)h(no)0 +451 y(sup)q(erclasses.)26 b(It)15 b(is)h(a)f(sup)q(erclass)j(of)d(ev)o +(ery)h(class)g(except)h(itself.)23 b(The)16 b(class)g(named)0 +503 y Fs(standard-object)10 b Fw(is)i(an)h(instance)h(of)e(the)h(class) +h Fs(standard-class)c Fw(and)i(is)h(a)g(sup)q(er-)0 555 +y(class)h(of)g(ev)o(ery)g(class)h(that)f(is)f(an)h(instance)h(of)e +Fs(standard-class)e Fw(except)k(itself.)42 608 y(There)f(is)e(a)h +(mapping)e(from)g(the)i(Common)d(Lisp)j(Ob)r(ject)h(System)e(class)h +(space)h(in)o(to)0 660 y(the)d(Common)d(Lisp)j(t)o(yp)q(e)g(space.)18 +b(Man)o(y)11 b(of)f(the)i(standard)f(Commo)o(n)d(Lisp)j(t)o(yp)q(es)h +(ha)o(v)o(e)0 711 y(a)k(corresp)q(onding)i(class)f(that)g(has)g(the)g +(same)f(name)f(as)i(the)h(t)o(yp)q(e.)27 b(Some)15 b(Common)0 +763 y(Lisp)d(t)o(yp)q(es)h(do)f(not)f(ha)o(v)o(e)h(a)g(corresp)q +(onding)h(class.)18 b(The)12 b(in)o(tegration)f(of)h(the)g(t)o(yp)q(e)h +(and)0 815 y(class)h(systems)g(is)g(discussed)i(in)d(section)i(28.1.4.) +42 868 y(Classes)f(are)g(represen)o(ted)i(b)o(y)e(ob)r(jects)h(that)e +(are)h(themselv)o(es)g(instances)h(of)e(classes.)0 920 +y(The)d(class)g(of)e(the)i(class)g(of)f(an)g(ob)r(ject)h(is)f(termed)h +(the)f Fv(metaclass)k Fw(of)c(that)g(ob)r(ject.)18 b(When)0 +972 y(no)13 b(misin)o(terpretation)f(is)h(p)q(ossible,)h(the)f(term)g +Fv(metaclass)k Fw(will)11 b(b)q(e)j(used)g(to)g(refer)g(to)f(a)0 +1024 y(class)e(that)g(has)g(instances)h(that)f(are)g(themselv)o(es)g +(classes.)18 b(The)11 b(metaclass)f(determines)0 1076 +y(the)20 b(form)e(of)h(inheritance)h(used)h(b)o(y)e(the)h(classes)h +(that)f(are)f(its)h(instances)h(and)e(the)0 1127 y(represen)o(tation)g +(of)e(the)i(instances)f(of)f(those)i(classes.)30 b(The)19 +b(Comm)o(on)c(Lisp)i(Ob)r(ject)0 1179 y(System)11 b(pro)o(vides)g(a)g +(default)g(metaclass,)g Fs(standard-class)p Fw(,)d(that)k(is)f +(appropriate)g(for)0 1231 y(most)j(programs.)22 b(The)16 +b(meta-ob)r(ject)f(proto)q(col)g(pro)o(vides)h(mec)o(hanisms)e(for)h +(de\014ning)0 1283 y(and)f(using)f(new)i(metaclasses.)42 +1336 y(Except)g(where)g(otherwise)h(sp)q(eci\014ed,)f(all)e(classes)j +(men)o(tioned)d(in)h(this)g(c)o(hapter)h(are)0 1388 y(instances)h(of)f +(the)g(class)h Fs(standard-class)p Fw(,)c(all)i(generic)i(functions)f +(are)g(instances)h(of)0 1440 y(the)e(class)g Fs(standard-generic-fu)o +(nctio)o(n)p Fw(,)c(and)k(all)e(metho)q(ds)h(are)h(instances)h(of)e +(the)0 1491 y(class)h Fs(standard-method)p Fw(.)0 1674 +y Fo(28.1.2.1.)20 b(De\014ning)14 b(Classes)0 1770 y +Fw(The)i(macro)e Fs(defclass)f Fw(is)i(used)h(to)f(de\014ne)h(a)f(new)h +(named)e(class.)22 b(The)16 b(de\014nition)e(of)0 1822 +y(a)g(class)g(includes)g(the)h(follo)o(wing:)0 1892 y +Fu(.)42 1901 y Fw(The)d(name)e(of)i(the)g(new)g(class.)18 +b(F)m(or)12 b(newly)f(de\014ned)i(classes)g(this)f(is)g(a)g(prop)q(er)g +(name.)0 1983 y Fu(.)42 1992 y Fw(The)i(list)f(of)h(the)g(direct)h(sup) +q(erclasses)h(of)e(the)g(new)g(class.)0 2073 y Fu(.)42 +2082 y Fw(A)e(set)h(of)f Fv(slot)h(sp)n(e)n(ci\014ers)p +Fw(.)k(Eac)o(h)c(slot)f(sp)q(eci\014er)i(includes)e(the)h(name)e(of)h +(the)h(slot)f(and)42 2134 y(zero)j(or)f(more)g Fv(slot)h(options)p +Fw(.)20 b(A)14 b(slot)g(option)g(p)q(ertains)h(only)f(to)g(a)g(single)h +(slot.)k(If)14 b(a)42 2186 y(class)f(de\014nition)g(con)o(tains)h(t)o +(w)o(o)f(slot)g(sp)q(eci\014ers)j(with)d(the)h(same)e(name,)g(an)h +(error)i(is)42 2238 y(signaled.)0 2320 y Fu(.)42 2329 +y Fw(A)e(set)i(of)f Fv(class)g(options)p Fw(.)19 b(Eac)o(h)14 +b(class)g(option)f(p)q(ertains)i(to)f(the)g(class)h(as)f(a)f(whole.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 837 861 +837 860 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(837)0 295 y Fw(The)14 b(slot)f(options)g(and)g(class)g +(options)g(of)g(the)h Fs(defclass)d Fw(form)h(pro)o(vide)h(mec)o +(hanisms)0 347 y(for)h(the)g(follo)o(wing:)0 408 y Fu(.)42 +417 y Fw(Supplying)e(a)i(default)f(initial)f(v)n(alue)i(form)e(for)h(a) +h(giv)o(en)f(slot.)0 490 y Fu(.)42 499 y Fw(Requesting)h(that)h(metho)q +(ds)f(for)g(generic)h(functions)g(b)q(e)g(automatically)c(generated)42 +551 y(for)i(reading)h(or)g(writing)f(slots.)0 625 y Fu(.)42 +634 y Fw(Con)o(trolling)19 b(whether)k(a)e(giv)o(en)g(slot)h(is)f +(shared)i(b)o(y)e(instances)i(of)e(the)h(class)g(or)42 +685 y(whether)15 b(eac)o(h)f(instance)h(of)e(the)i(class)f(has)g(its)g +(o)o(wn)f(slot.)0 759 y Fu(.)42 768 y Fw(Supplying)g(a)h(set)h(of)f +(initialization)d(argumen)o(ts)j(and)g(initialization)d(argumen)o(t)i +(de-)42 820 y(faults)g(to)h(b)q(e)g(used)h(in)e(instance)i(creation.)0 +893 y Fu(.)42 902 y Fw(Indicating)e(that)h(the)g(metaclass)f(is)h(to)g +(b)q(e)g(other)h(than)f(the)g(default.)0 976 y Fu(.)42 +985 y Fw(Indicating)f(the)h(exp)q(ected)i(t)o(yp)q(e)f(for)e(the)i(v)n +(alue)e(stored)i(in)e(the)i(slot.)0 1058 y Fu(.)42 1067 +y Fw(Indicating)e(the)h(do)q(cumen)o(tation)f(string)h(for)f(the)i +(slot.)0 1222 y Fo(28.1.2.2.)20 b(Creating)14 b(Instances)h(of)g +(Classes)0 1309 y Fw(The)i(generic)h(function)f Fs(make-instance)d +Fw(creates)19 b(and)e(returns)h(a)f(new)h(instance)f(of)0 +1361 y(a)e(class.)24 b(The)16 b(Ob)r(ject)h(System)e(pro)o(vides)h(sev) +o(eral)g(mec)o(hanisms)d(for)j(sp)q(ecifying)f(ho)o(w)0 +1412 y(a)g(new)h(instance)g(is)f(to)g(b)q(e)h(initialized.)21 +b(F)m(or)15 b(example,)f(it)g(is)i(p)q(ossible)f(to)g(sp)q(ecify)h(the) +0 1464 y(initial)d(v)n(alues)i(for)g(slots)h(in)e(newly)h(created)i +(instances)g(either)f(b)o(y)f(giving)e(argumen)o(ts)0 +1516 y(to)h Fs(make-instance)d Fw(or)j(b)o(y)f(pro)o(viding)g(default)h +(initial)d(v)n(alues.)42 1568 y(F)m(urther)18 b(initialization)d +(activities)i(can)h(b)q(e)g(p)q(erformed)f(b)o(y)g(metho)q(ds)g +(written)h(for)0 1620 y(generic)g(functions)f(that)g(are)h(part)f(of)g +(the)h(initialization)c(proto)q(col.)28 b(The)17 b(complete)0 +1672 y(initialization)11 b(proto)q(col)j(is)g(describ)q(ed)h(in)f +(section)g(28.1.9.)0 1827 y Fo(28.1.2.3.)20 b(Slots)0 +1913 y Fw(An)13 b(ob)r(ject)g(that)g(has)g Fs(standard-class)d +Fw(as)i(its)h(metaclass)f(has)h(zero)h(or)e(more)g(named)0 +1965 y(slots.)20 b(The)15 b(slots)f(of)g(an)g(ob)r(ject)i(are)e +(determined)h(b)o(y)f(the)h(class)g(of)f(the)h(ob)r(ject.)20 +b(Eac)o(h)0 2017 y(slot)14 b(can)h(hold)g(one)f(v)n(alue.)20 +b(The)c(name)d(of)h(a)h(slot)f(is)h(a)f(sym)o(b)q(ol)f(that)i(is)f(syn) +o(tactically)0 2069 y(v)n(alid)e(for)i(use)h(as)f(a)f(v)n(ariable)g +(name.)42 2121 y(When)i(a)h(slot)f(do)q(es)h(not)g(ha)o(v)o(e)f(a)h(v)n +(alue,)f(the)h(slot)f(is)h(said)f(to)g(b)q(e)i Fv(unb)n(ound)p +Fw(.)25 b(When)0 2173 y(an)14 b(un)o(b)q(ound)h(slot)f(is)h(read,)g +(the)g(generic)g(function)g Fs(slot-unbound)d Fw(is)i(in)o(v)o(ok)o +(ed.)19 b(The)0 2225 y(system-supplied)14 b(primary)e(metho)q(d)h(for)g +Fs(slot-unbound)f Fw(signals)h(an)h(error.)42 2277 y(The)i(default)f +(initial)f(v)n(alue)h(form)f(for)h(a)h(slot)f(is)h(de\014ned)h(b)o(y)e +(the)30 b Fs(:initform)14 b Fw(slot)0 2329 y(option.)21 +b(When)16 b(the)g Fs(:initform)d Fw(form)g(is)i(used)h(to)g(supply)f(a) +g(v)n(alue,)f(it)h(is)g(ev)n(aluated)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 838 862 +838 861 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(838)77 b(COMMON)13 +b(LISP)0 295 y Fw(in)j(the)h(lexical)e(en)o(vironmen)o(t)g(in)h(whic)o +(h)g(the)h Fs(defclass)d Fw(form)g(w)o(as)j(ev)n(aluated.)24 +b(The)0 347 y Fs(:initform)15 b Fw(along)h(with)g(the)i(lexical)e(en)o +(vironmen)o(t)g(in)g(whic)o(h)h(the)g Fs(defclass)e Fw(form)0 +399 y(w)o(as)f(ev)n(aluated)f(is)h(called)g(a)f Fv(c)n(aptur)n(e)n(d)19 +b Fs(:initform)p Fw(.)d(See)e(section)h(28.1.9.)42 751 +y(A)h Fv(lo)n(c)n(al)h(slot)j Fw(is)d(de\014ned)g(to)g(b)q(e)g(a)f +(slot)g(that)h(is)g(visible)e(to)i(exactly)g(one)f(instance,)0 +803 y(namely)h(the)i(one)g(in)f(whic)o(h)h(the)g(slot)g(is)f(allo)q +(cated.)32 b(A)19 b Fv(shar)n(e)n(d)g(slot)k Fw(is)18 +b(de\014ned)i(to)0 855 y(b)q(e)e(a)g(slot)g(that)g(is)f(visible)g(to)h +(more)f(than)h(one)g(instance)h(of)e(a)g(giv)o(en)h(class)g(and)g(its)0 +907 y(sub)q(classes.)42 1260 y(A)13 b(class)h(is)g(said)f(to)h +Fv(de\014ne)j Fw(a)d(slot)f(with)g(a)h(giv)o(en)f(name)f(when)i(the)h +Fs(defclass)c Fw(form)0 1312 y(for)16 b(that)g(class)g(con)o(tains)g(a) +g(slot)g(sp)q(eci\014er)i(with)e(that)g(name.)23 b(De\014ning)16 +b(a)g(lo)q(cal)f(slot)0 1364 y(do)q(es)e(not)f(immediately)d(create)14 +b(a)e(slot;)g(it)g(causes)i(a)e(slot)g(to)g(b)q(e)h(created)h(eac)o(h)f +(time)e(an)0 1416 y(instance)k(of)f(the)h(class)g(is)f(created.)21 +b(De\014ning)14 b(a)g(shared)i(slot)e(immedia)o(tely)e(creates)k(a)0 +1467 y(slot.)42 1820 y(The)e Fs(:allocation)e Fw(slot)i(option)f(to)h +Fs(defclass)f Fw(con)o(trols)h(the)h(kind)e(of)h(slot)g(that)g(is)0 +1872 y(de\014ned.)k(If)12 b(the)g(v)n(alue)f(of)h(the)g +Fs(:allocation)d Fw(slot)j(option)f(is)h Fs(:instance)p +Fw(,)e(a)h(lo)q(cal)g(slot)0 1924 y(is)j(created.)19 +b(If)14 b(the)g(v)n(alue)g(of)f Fs(:allocation)e Fw(is)j +Fs(:class)p Fw(,)e(a)i(shared)h(slot)e(is)h(created.)42 +2277 y(A)g(slot)f(is)h(said)g(to)g(b)q(e)h Fv(ac)n(c)n(essible)h +Fw(in)e(an)g(instance)h(of)e(a)h(class)g(if)f(the)i(slot)f(is)g +(de\014ned)0 2329 y(b)o(y)k(the)h(class)f(of)g(the)g(instance)h(or)f +(is)g(inherited)h(from)d(a)i(sup)q(erclass)i(of)e(that)g(class.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 839 863 +839 862 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(839)0 295 y Fw(A)o(t)15 b(most)e(one)i(slot)f(of)g(a)g +(giv)o(en)g(name)f(can)i(b)q(e)g(accessible)h(in)e(an)h(instance.)20 +b(A)15 b(shared)0 347 y(slot)h(de\014ned)h(b)o(y)e(a)h(class)g(is)g +(accessible)h(in)f(all)e(instances)j(of)e(that)h(class.)25 +b(A)16 b(detailed)0 399 y(explanation)d(of)g(the)i(inheritance)f(of)f +(slots)h(is)g(giv)o(en)g(in)f(section)i(28.1.3.2.)0 572 +y Fo(28.1.2.4.)20 b(Accessing)14 b(Slots)0 664 y Fw(Slots)9 +b(can)h(b)q(e)g(accessed)i(in)d(t)o(w)o(o)h(w)o(a)o(ys:)15 +b(b)o(y)10 b(use)g(of)f(the)h(primitiv)o(e)e(function)h +Fs(slot-value)0 716 y Fw(and)14 b(b)o(y)f(use)i(of)e(generic)i +(functions)f(generated)h(b)o(y)f(the)g Fs(defclass)f +Fw(form.)42 769 y(The)i(function)f Fs(slot-value)f Fw(can)i(b)q(e)g +(used)h(with)e(an)o(y)g(slot)h(name)f(sp)q(eci\014ed)i(in)e(the)0 +821 y Fs(defclass)f Fw(form)g(to)h(access)j(a)d(sp)q(eci\014c)i(slot)e +(accessible)i(in)e(an)h(instance)g(of)f(the)h(giv)o(en)0 +872 y(class.)42 925 y(The)g(macro)f Fs(defclass)g Fw(pro)o(vides)h(syn) +o(tax)h(for)f(generating)g(metho)q(ds)g(to)g(read)h(and)0 +977 y(write)f(slots.)k(If)13 b(a)h Fv(r)n(e)n(ader)k +Fw(is)c(requested,)i(a)e(metho)q(d)f(is)h(automatically)e(generated)j +(for)0 1029 y(reading)k(the)g(v)n(alue)g(of)f(the)h(slot,)h(but)f(no)g +(metho)q(d)f(for)g(storing)h(a)g(v)n(alue)f(in)o(to)g(it)h(is)0 +1081 y(generated.)24 b(If)15 b(a)g Fv(writer)j Fw(is)d(requested,)i(a)e +(metho)q(d)g(is)g(automatically)d(generated)17 b(for)0 +1132 y(storing)12 b(a)g(v)n(alue)g(in)o(to)g(the)g(slot,)g(but)h(no)f +(metho)q(d)g(for)f(reading)i(its)f(v)n(alue)g(is)g(generated.)0 +1184 y(If)j(an)f Fv(ac)n(c)n(essor)20 b Fw(is)14 b(requested,)j(a)e +(metho)q(d)f(for)h(reading)g(the)g(v)n(alue)g(of)f(the)h(slot)g(and)g +(a)0 1236 y(metho)q(d)e(for)h(storing)g(a)f(v)n(alue)h(in)o(to)f(the)i +(slot)e(are)i(automatically)c(generated.)19 b(Reader)0 +1288 y(and)14 b(writer)g(metho)q(ds)g(are)g(implemen)o(ted)e(using)h +Fs(slot-value)p Fw(.)42 1341 y(When)19 b(a)f(reader)i(or)f(writer)h(is) +f(sp)q(eci\014ed)h(for)f(a)f(slot,)i(the)f(name)f(of)g(the)i(generic)0 +1392 y(function)c(to)f(whic)o(h)h(the)h(generated)g(metho)q(d)e(b)q +(elongs)h(is)g(directly)g(sp)q(eci\014ed.)26 b(If)15 +b(the)0 1444 y(name)j(sp)q(eci\014ed)i(for)e(the)i(writer)f(option)f +(is)h(the)g(sym)o(b)q(ol)e Fv(name)p Fw(,)j(the)f(name)f(of)g(the)0 +1496 y(generic)j(function)f(for)g(writing)f(the)i(slot)f(is)g(the)h +(sym)o(b)q(ol)d Fv(name)p Fw(,)k(and)e(the)h(generic)0 +1548 y(function)13 b(tak)o(es)h(t)o(w)o(o)f(argumen)o(ts:)k(the)d(new)g +(v)n(alue)f(and)g(the)h(instance,)g(in)f(that)g(order.)0 +1600 y(If)f(the)i(name)e(sp)q(eci\014ed)i(for)f(the)g(accessor)i +(option)d(is)h(the)g(sym)o(b)q(ol)e Fv(name)p Fw(,)i(the)h(name)d(of)0 +1652 y(the)i(generic)h(function)e(for)g(reading)g(the)h(slot)g(is)f +(the)h(sym)o(b)q(ol)e Fv(name)s Fw(,)i(and)f(the)h(name)e(of)0 +1704 y(the)j(generic)h(function)f(for)f(writing)h(the)g(slot)g(is)f +(the)i(list)e Fs(\(setf)20 b Fv(name)s Fs(\))p Fw(.)42 +1756 y(A)15 b(generic)h(function)f(created)i(or)e(mo)q(di\014ed)f(b)o +(y)i(supplying)e(reader,)j(writer,)e(or)h(ac-)0 1808 +y(cessor)f(slot)f(options)g(can)g(b)q(e)g(treated)h(exactly)f(as)g(an)g +(ordinary)f(generic)i(function.)42 1861 y(Note)k(that)h +Fs(slot-value)d Fw(can)j(b)q(e)g(used)g(to)g(read)g(or)f(write)h(the)g +(v)n(alue)f(of)g(a)g(slot)0 1913 y(whether)h(or)f(not)f(reader)i(or)f +(writer)g(metho)q(ds)f(exist)h(for)f(that)h(slot.)32 +b(When)19 b Fs(slot-)0 1964 y(value)13 b Fw(is)h(used,)g(no)g(reader)h +(or)e(writer)i(metho)q(ds)e(are)i(in)o(v)o(ok)o(ed.)42 +2017 y(The)h(macro)f Fs(with-slots)f Fw(can)j(b)q(e)g(used)g(to)f +(establish)h(a)f(lexical)f(en)o(vironmen)o(t)g(in)0 2069 +y(whic)o(h)k(sp)q(eci\014ed)j(slots)d(are)h(lexically)e(a)o(v)n +(ailable)g(as)h(if)g(they)h(w)o(ere)h(v)n(ariables.)34 +b(The)0 2121 y(macro)16 b Fs(with-slots)f Fw(in)o(v)o(ok)o(es)i(the)g +(function)g Fs(slot-value)e Fw(to)i(access)i(the)f(sp)q(eci\014ed)0 +2173 y(slots.)42 2225 y(The)13 b(macro)e Fs(with-accessors)f +Fw(can)j(b)q(e)g(used)g(to)g(establish)g(a)f(lexical)g(en)o(vironmen)o +(t)0 2277 y(in)e(whic)o(h)h(sp)q(eci\014ed)h(slots)f(are)g(lexically)f +(a)o(v)n(ailable)e(through)j(their)g(accessors)i(as)e(if)f(they)0 +2329 y(w)o(ere)i(v)n(ariables.)k(The)c(macro)e Fs(with-accessors)e +Fw(in)o(v)o(ok)o(es)j(the)g(appropriate)h(accessors)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 840 864 +840 863 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(840)77 b(COMMON)13 +b(LISP)0 295 y Fw(to)e(access)i(the)e(sp)q(eci\014ed)i(slots.)k(An)o(y) +11 b(accessors)i(sp)q(eci\014ed)g(b)o(y)e Fs(with-accessors)d +Fw(m)o(ust)0 347 y(already)14 b(ha)o(v)o(e)f(b)q(een)i(de\014ned)g(b)q +(efore)g(they)f(are)h(used.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 841 865 +841 864 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(841)0 295 y Fo(28.1.3.)20 b(Inheritance)0 +386 y Fw(A)c(class)h(can)f(inherit)h(metho)q(ds,)f(slots,)g(and)g(some) +f Fs(defclass)g Fw(options)h(from)e(its)i(su-)0 438 y(p)q(erclasses.)31 +b(The)18 b(follo)o(wing)d(sections)k(describ)q(e)g(the)f(inheritance)h +(of)e(metho)q(ds,)g(the)0 489 y(inheritance)e(of)e(slots)h(and)g(slot)f +(options,)g(and)h(the)g(inheritance)h(of)e(class)i(options.)0 +657 y Fo(28.1.3.1.)20 b(Inheritance)13 b(of)i(Metho)r(ds)0 +748 y Fw(A)i(sub)q(class)h(inherits)f(metho)q(ds)f(in)h(the)g(sense)h +(that)f(an)o(y)f(metho)q(d)g(applicable)g(to)h(all)0 +800 y(instances)f(of)f(a)g(class)h(is)f(also)g(applicable)f(to)h(all)g +(instances)h(of)f(an)o(y)g(sub)q(class)h(of)f(that)0 +852 y(class.)42 904 y(The)i(inheritance)h(of)f(metho)q(ds)g(acts)h(the) +f(same)g(w)o(a)o(y)f(regardless)j(of)d(whether)j(the)0 +956 y(metho)q(d)10 b(w)o(as)g(created)i(b)o(y)e(using)g(one)h(of)f(the) +h(metho)q(d-de\014ning)f(forms)f(or)h(b)o(y)g(using)h(one)0 +1008 y(of)i(the)i Fs(defclass)d Fw(options)h(that)h(causes)i(metho)q +(ds)d(to)h(b)q(e)g(generated)i(automatically)l(.)42 1061 +y(The)e(inheritance)g(of)g(metho)q(ds)f(is)h(describ)q(ed)i(in)d +(detail)g(in)h(section)g(28.1.7.)0 1229 y Fo(28.1.3.2.)20 +b(Inheritance)13 b(of)i(Slots)g(and)g(Slot)g(Options)0 +1320 y Fw(The)e(set)h(of)e(names)f(of)h(all)g(slots)g(accessible)i(in)e +(an)h(instance)g(of)f(a)g(class)h Fv(C)g Fw(is)f(the)h(union)0 +1371 y(of)g(the)i(sets)h(of)d(names)g(of)h(slots)g(de\014ned)h(b)o(y)f +Fv(C)g Fw(and)g(its)g(sup)q(erclasses.)21 b(The)15 b +Fv(structur)n(e)0 1423 y Fw(of)e(an)h(instance)h(is)e(the)i(set)g(of)e +(names)g(of)g(lo)q(cal)g(slots)h(in)g(that)g(instance.)42 +1476 y(In)f(the)i(simplest)e(case,)h(only)g(one)g(class)g(among)e +Fv(C)h Fw(and)h(its)g(sup)q(erclasses)j(de\014nes)e(a)0 +1528 y(slot)f(with)g(a)g(giv)o(en)g(slot)g(name.)k(If)c(a)f(slot)h(is)h +(de\014ned)g(b)o(y)f(a)g(sup)q(erclass)i(of)e Fv(C)p +Fw(,)f(the)i(slot)0 1579 y(is)g(said)f(to)h(b)q(e)h Fv(inherite)n(d)p +Fw(.)k(The)c(c)o(haracteristics)h(of)d(the)h(slot)g(are)g(determined)g +(b)o(y)g(the)0 1631 y(slot)g(sp)q(eci\014er)h(of)e(the)i(de\014ning)e +(class.)21 b(Consider)16 b(the)f(de\014ning)g(class)g(for)f(a)h(slot)f +Fv(S)p Fw(.)h(If)0 1683 y(the)g(v)n(alue)e(of)g(the)i +Fs(:allocation)d Fw(slot)h(option)h(is)g Fs(:instance)p +Fw(,)d(then)k Fv(S)f Fw(is)g(a)g(lo)q(cal)f(slot)0 1735 +y(and)g(eac)o(h)i(instance)f(of)f Fv(C)h Fw(has)f(its)h(o)o(wn)f(slot)h +(named)e Fv(S)i Fw(that)g(stores)h(its)f(o)o(wn)f(v)n(alue.)k(If)0 +1787 y(the)f(v)n(alue)f(of)g(the)h Fs(:allocation)d Fw(slot)i(option)g +(is)g Fs(:class)p Fw(,)f(then)i Fv(S)g Fw(is)f(a)g(shared)h(slot,)0 +1839 y(the)c(class)g(that)g(de\014ned)g Fv(S)g Fw(stores)h(the)f(v)n +(alue,)f(and)g(all)g(instances)h(of)f Fv(C)h Fw(can)f(access)j(that)0 +1891 y(single)g(slot.)j(If)d(the)g Fs(:allocation)e Fw(slot)i(option)f +(is)g(omitted,)f Fs(:instance)g Fw(is)i(used.)42 1943 +y(In)j(general,)h(more)f(than)g(one)h(class)g(among)d +Fv(C)i Fw(and)g(its)h(sup)q(erclasses)i(can)e(de\014ne)0 +1995 y(a)e(slot)g(with)g(a)f(giv)o(en)h(name.)24 b(In)16 +b(suc)o(h)h(cases,)g(only)f(one)g(slot)g(with)g(the)g(giv)o(en)g(name)0 +2047 y(is)i(accessible)i(in)f(an)f(instance)h(of)f Fv(C)p +Fw(,)g(and)g(the)i(c)o(haracteristics)g(of)e(that)h(slot)f(are)h(a)0 +2099 y(com)o(bination)11 b(of)j(the)g(sev)o(eral)h(slot)e(sp)q +(eci\014ers,)j(computed)d(as)h(follo)o(ws:)0 2164 y Fu(.)42 +2173 y Fw(All)g(the)h(slot)g(sp)q(eci\014ers)i(for)d(a)h(giv)o(en)f +(slot)g(name)g(are)h(ordered)h(from)e(most)f(sp)q(eci\014c)42 +2225 y(to)i(least)h(sp)q(eci\014c,)h(according)f(to)f(the)i(order)f(in) +g Fv(C)6 b Fw('s)15 b(class)h(precedence)j(list)c(of)g(the)42 +2277 y(classes)i(that)f(de\014ne)h(them.)23 b(All)15 +b(references)k(to)c(the)i(sp)q(eci\014cit)o(y)g(of)e(slot)h(sp)q +(eci\014ers)42 2329 y(imm)o(ediately)11 b(follo)o(wing)g(refer)k(to)f +(this)g(ordering.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 842 866 +842 865 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(842)77 b(COMMON)13 +b(LISP)0 286 y Fu(.)42 295 y Fw(The)i(allo)q(cation)f(of)h(a)g(slot)h +(is)f(con)o(trolled)g(b)o(y)h(the)g(most)e(sp)q(eci\014c)j(slot)e(sp)q +(eci\014er.)25 b(If)42 347 y(the)11 b(most)e(sp)q(eci\014c)k(slot)d(sp) +q(eci\014er)j(do)q(es)e(not)g(con)o(tain)f(an)h Fs(:allocation)d +Fw(slot)j(option,)42 399 y Fs(:instance)g Fw(is)j(used.)k(Less)d(sp)q +(eci\014c)g(slot)f(sp)q(eci\014ers)h(do)f(not)f(a\013ect)i(the)f(allo)q +(cation.)0 477 y Fu(.)42 486 y Fw(The)h(default)f(initial)f(v)n(alue)h +(form)f(for)h(a)h(slot)f(is)h(the)g(v)n(alue)g(of)f(the)h +Fs(:initform)e Fw(slot)42 538 y(option)c(in)g(the)h(most)f(sp)q +(eci\014c)i(slot)f(sp)q(eci\014er)h(that)f(con)o(tains)g(one.)17 +b(If)9 b(no)g(slot)h(sp)q(eci\014er)42 589 y(con)o(tains)g(an)g +Fs(:initform)f Fw(slot)h(option,)g(the)h(slot)f(has)g(no)h(default)f +(initial)e(v)n(alue)i(form.)0 668 y Fu(.)42 677 y Fw(The)22 +b(con)o(ten)o(ts)i(of)e(a)g(slot)g(will)f(alw)o(a)o(ys)h(b)q(e)h(of)f +(t)o(yp)q(e)h Fs(\(and)d Fv(T)1084 683 y Fk(1)1124 677 +y Fh(:)7 b(:)g(:)19 b Fv(T)1223 683 y Fi(n)1244 677 y +Fs(\))k Fw(where)42 729 y Fv(T)72 735 y Fk(1)90 729 y +Fh(;)7 b(:)g(:)g(:)e(;)i(T)207 735 y Fi(n)243 729 y Fw(are)17 +b(the)f(v)n(alues)f(of)g(the)i Fs(:type)d Fw(slot)i(options)f(con)o +(tained)h(in)f(all)g(of)g(the)42 780 y(slot)f(sp)q(eci\014ers.)25 +b(If)14 b(no)h(slot)g(sp)q(eci\014er)i(con)o(tains)f(the)f +Fs(:type)g Fw(slot)f(option,)h(the)h(con-)42 832 y(ten)o(ts)e(of)e(the) +i(slot)f(will)f(alw)o(a)o(ys)g(b)q(e)i(of)f(t)o(yp)q(e)h +Fs(t)p Fw(.)j(The)d(result)g(of)f(attempting)f(to)h(store)42 +884 y(in)g(a)h(slot)f(a)h(v)n(alue)f(that)h(do)q(es)h(not)e(satisfy)h +(the)g(t)o(yp)q(e)h(of)e(the)i(slot)e(is)h(unde\014ned.)0 +962 y Fu(.)42 971 y Fw(The)h(set)h(of)f(initialization)e(argumen)o(ts)h +(that)i(initialize)d(a)i(giv)o(en)g(slot)g(is)g(the)h(union)42 +1023 y(of)d(the)i(initialization)c(argumen)o(ts)i(declared)i(in)f(the)h +Fs(:initarg)d Fw(slot)i(options)f(in)h(all)42 1075 y(the)g(slot)g(sp)q +(eci\014ers.)0 1153 y Fu(.)42 1162 y Fw(The)d(do)q(cumen)o(tation)f +(string)h(for)g(a)g(slot)g(is)f(the)i(v)n(alue)f(of)f(the)i +Fs(:documentation)c Fw(slot)42 1214 y(option)k(in)h(the)h(most)e(sp)q +(eci\014c)j(slot)e(sp)q(eci\014er)i(that)e(con)o(tains)h(one.)k(If)13 +b(no)g(slot)g(sp)q(eci-)42 1266 y(\014er)h(con)o(tains)f(a)g +Fs(:documentation)d Fw(slot)j(option,)f(the)i(slot)f(has)h(no)f(do)q +(cumen)o(tation)42 1318 y(string.)42 1393 y(A)19 b(consequence)j(of)d +(the)i(allo)q(cation)d(rule)i(is)f(that)h(a)f(shared)i(slot)e(can)h(b)q +(e)h(shad-)0 1445 y(o)o(w)o(ed.)h(F)m(or)15 b(example,)e(if)i(a)g +(class)g Fv(C)579 1451 y Fk(1)613 1445 y Fw(de\014nes)h(a)f(slot)g +(named)f Fv(S)i Fw(whose)g(v)n(alue)e(for)h(the)0 1497 +y Fs(:allocation)e Fw(slot)i(option)f(is)h Fs(:class)p +Fw(,)f(that)h(slot)g(is)g(accessible)i(in)e(instances)h(of)e +Fv(C)1376 1503 y Fk(1)0 1549 y Fw(and)h(all)g(of)f(its)i(sub)q +(classes.)24 b(Ho)o(w)o(ev)o(er,)16 b(if)f Fv(C)717 1555 +y Fk(2)751 1549 y Fw(is)g(a)g(sub)q(class)i(of)d Fv(C)1071 +1555 y Fk(1)1105 1549 y Fw(and)h(also)g(de\014nes)0 1601 +y(a)f(slot)g(named)f Fv(S)p Fw(,)h Fv(C)327 1607 y Fk(1)346 +1601 y Fw('s)g(slot)g(is)g(not)g(shared)h(b)o(y)f(instances)i(of)d +Fv(C)1029 1607 y Fk(2)1062 1601 y Fw(and)h(its)g(sub)q(classes.)0 +1653 y(When)h(a)g(class)h Fv(C)287 1659 y Fk(1)321 1653 +y Fw(de\014nes)h(a)e(shared)h(slot,)f(an)o(y)f(sub)q(class)j +Fv(C)992 1659 y Fk(2)1025 1653 y Fw(of)e Fv(C)1104 1659 +y Fk(1)1138 1653 y Fw(will)f(share)i(this)0 1705 y(single)e(slot)f +(unless)i(the)g Fs(defclass)d Fw(form)g(for)i Fv(C)769 +1711 y Fk(2)801 1705 y Fw(sp)q(eci\014es)i(a)d(slot)h(of)f(the)i(same)e +(name)0 1756 y(or)h(there)i(is)e(a)g(sup)q(erclass)j(of)c +Fv(C)509 1762 y Fk(2)542 1756 y Fw(that)i(precedes)h +Fv(C)829 1762 y Fk(1)862 1756 y Fw(in)e(the)h(class)g(precedence)i +(list)d(of)0 1808 y Fv(C)30 1814 y Fk(2)62 1808 y Fw(that)g(de\014nes)h +(a)f(slot)g(of)f(the)h(same)f(name.)42 1861 y(A)h(consequence)i(of)e +(the)h(t)o(yp)q(e)f(rule)h(is)f(that)g(the)h(v)n(alue)e(of)h(a)f(slot)h +(satis\014es)h(the)g(t)o(yp)q(e)0 1913 y(constrain)o(t)k(of)f(eac)o(h)h +(slot)g(sp)q(eci\014er)h(that)f(con)o(tributes)g(to)g(that)g(slot.)32 +b(Because)20 b(the)0 1965 y(result)c(of)f(attempting)f(to)h(store)i(in) +e(a)g(slot)g(a)g(v)n(alue)g(that)g(do)q(es)i(not)e(satisfy)g(the)h(t)o +(yp)q(e)0 2016 y(constrain)o(t)e(for)e(the)i(slot)f(is)g(unde\014ned,)h +(the)g(v)n(alue)f(in)f(a)h(slot)g(migh)o(t)e(fail)h(to)h(satisfy)g(its) +0 2068 y(t)o(yp)q(e)h(constrain)o(t.)42 2121 y(The)f +Fs(:reader)p Fw(,)f Fs(:writer)p Fw(,)g(and)h Fs(:accessor)f +Fw(slot)h(options)g(create)i(metho)q(ds)e(rather)0 2173 +y(than)j(de\014ne)h(the)f(c)o(haracteristics)i(of)d(a)h(slot.)24 +b(Reader)16 b(and)g(writer)h(metho)q(ds)e(are)h(in-)0 +2224 y(herited)f(in)e(the)i(sense)g(describ)q(ed)h(in)d(section)i +(28.1.3.1.)42 2277 y(Metho)q(ds)e(that)g(access)h(slots)f(use)h(only)e +(the)h(name)e(of)h(the)i(slot)e(and)h(the)g(t)o(yp)q(e)g(of)f(the)0 +2329 y(slot's)h(v)n(alue.)k(Supp)q(ose)d(a)e(sup)q(erclass)j(pro)o +(vides)e(a)g(metho)q(d)f(that)h(exp)q(ects)i(to)e(access)i(a)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 843 867 +843 866 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(843)0 295 y Fw(shared)14 b(slot)f(of)g(a)g(giv)o(en)g +(name,)f(and)h(a)g(sub)q(class)h(de\014nes)h(a)e(lo)q(cal)g(slot)g +(with)g(the)h(same)0 347 y(name.)j(If)12 b(the)i(metho)q(d)e(pro)o +(vided)h(b)o(y)g(the)h(sup)q(erclass)h(is)e(used)h(on)f(an)g(instance)h +(of)e(the)0 399 y(sub)q(class,)j(the)f(metho)q(d)f(accesses)k(the)d(lo) +q(cal)f(slot.)0 522 y Fo(28.1.3.3.)20 b(Inheritance)13 +b(of)i(Class)h(Options)0 600 y Fw(The)11 b Fs(:default-initarg)o(s)d +Fw(class)i(option)g(is)g(inherited.)18 b(The)10 b(set)i(of)d(defaulted) +i(initial-)0 652 y(ization)f(argumen)o(ts)f(for)h(a)g(class)h(is)g(the) +g(union)e(of)h(the)h(sets)h(of)e(initialization)d(argumen)o(ts)0 +703 y(sp)q(eci\014ed)17 b(in)d(the)i Fs(:default-initargs)c +Fw(class)j(options)g(of)f(the)i(class)g(and)e(its)i(sup)q(er-)0 +755 y(classes.)j(When)13 b(more)e(than)i(one)g(default)f(initial)f(v)n +(alue)h(form)f(is)i(supplied)f(for)h(a)f(giv)o(en)0 807 +y(initialization)h(argumen)o(t,)h(the)h(default)g(initial)f(v)n(alue)g +(form)g(that)h(is)g(used)h(is)g(the)g(one)0 859 y(supplied)g(b)o(y)g +(the)g(class)g(that)g(is)g(most)f(sp)q(eci\014c)i(according)f(to)g(the) +g(class)h(precedence)0 911 y(list.)42 963 y(If)c(a)h(giv)o(en)g +Fs(:default-initargs)d Fw(class)j(option)g(sp)q(eci\014es)i(an)e +(initialization)d(argu-)0 1015 y(men)o(t)i(of)g(the)i(same)e(name)f +(more)h(than)h(once,)g(an)g(error)h(is)e(signaled.)0 +1138 y Fo(28.1.3.4.)20 b(Examples)0 1216 y Fs(\(defclass)f(C1)i(\(\))42 +1268 y(\(\(S1)g(:initform)e(5.4)i(:type)f(number\))64 +1320 y(\(S2)g(:allocation)f(:class\)\)\))0 1424 y(\(defclass)g(C2)i +(\(C1\))42 1475 y(\(\(S1)g(:initform)e(5)i(:type)f(integer\))64 +1527 y(\(S2)g(:allocation)f(:instance\))64 1579 y(\(S3)h(:accessor)f +(C2-S3\)\)\))42 1661 y Fw(Instances)e(of)d(the)i(class)g +Fs(C1)f Fw(ha)o(v)o(e)h(a)f(lo)q(cal)f(slot)h(named)g +Fs(S1)p Fw(,)g(whose)h(default)f(initial)0 1712 y(v)n(alue)g(is)h(5.4)g +(and)g(whose)g(v)n(alue)g(should)g(alw)o(a)o(ys)f(b)q(e)i(a)e(n)o(um)o +(b)q(er.)25 b(The)16 b(class)h Fs(C1)e Fw(also)0 1764 +y(has)f(a)g(shared)g(slot)g(named)f Fs(S2)p Fw(.)42 1816 +y(There)i(is)f(a)g(lo)q(cal)f(slot)h(named)f Fs(S1)g +Fw(in)h(instances)h(of)f Fs(C2)p Fw(.)k(The)c(default)g(initial)e(v)n +(alue)0 1868 y(of)k Fs(S1)h Fw(is)g(5.)27 b(The)18 b(v)n(alue)e(of)h +Fs(S1)f Fw(will)g(b)q(e)h(of)g(t)o(yp)q(e)g Fs(\(and)k(integer)f +(number\))p Fw(.)26 b(There)0 1920 y(are)16 b(also)g(lo)q(cal)f(slots)h +(named)f Fs(S2)g Fw(and)h Fs(S3)g Fw(in)f(instances)i(of)f +Fs(C2)p Fw(.)24 b(The)16 b(class)g Fs(C2)g Fw(has)g(a)0 +1972 y(metho)q(d)d(for)h Fs(C2-S3)g Fw(for)f(reading)i(the)f(v)n(alue)g +(of)g(slot)g Fs(S3)p Fw(;)f(there)j(is)e(also)g(a)g(metho)q(d)f(for)0 +2024 y Fs(\(setf)20 b(C2-S3\))13 b Fw(that)h(writes)g(the)h(v)n(alue)e +(of)g Fs(S3)p Fw(.)0 2147 y Fo(28.1.4.)20 b(In)n(tegrating)14 +b(T)n(yp)r(es)h(and)g(Classes)0 2225 y Fw(The)d(Commo)o(n)d(Lisp)i(Ob)r +(ject)i(System)e(maps)f(the)i(space)g(of)f(classes)h(in)o(to)f(the)h +(Common)0 2277 y(Lisp)f(t)o(yp)q(e)h(space.)18 b(Ev)o(ery)12 +b(class)g(that)g(has)f(a)h(prop)q(er)g(name)e(has)i(a)f(corresp)q +(onding)h(t)o(yp)q(e)0 2329 y(with)i(the)g(same)f(name.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 844 868 +844 867 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(844)77 b(COMMON)13 +b(LISP)42 295 y Fw(The)h(prop)q(er)h(name)d(of)i(ev)o(ery)g(class)h(is) +f(a)f(v)n(alid)f(t)o(yp)q(e)j(sp)q(eci\014er.)20 b(In)14 +b(addition,)e(ev)o(ery)0 347 y(class)f(ob)r(ject)h(is)f(a)f(v)n(alid)f +(t)o(yp)q(e)j(sp)q(eci\014er.)18 b(Th)o(us)11 b(the)h(expression)g +Fs(\(typep)20 b Fv(obje)n(ct)12 b(class)s Fs(\))0 399 +y Fw(ev)n(aluates)18 b(to)h(true)g(if)f(the)h(class)g(of)e +Fv(obje)n(ct)23 b Fw(is)18 b Fv(class)j Fw(itself)e(or)f(a)g(sub)q +(class)i(of)d Fv(class)p Fw(.)0 450 y(The)12 b(ev)n(aluation)f(of)g +(the)h(expression)h Fs(\(subtypep)19 b Fv(class1)13 b(class2)6 +b Fs(\))11 b Fw(returns)j(the)e(v)n(alues)0 502 y Fs(t)f +Fw(and)h Fs(t)f Fw(if)g Fv(class1)17 b Fw(is)12 b(a)f(sub)q(class)i(of) +e Fv(class2)17 b Fw(or)12 b(if)e(they)i(are)g(the)h(same)d(class;)j +(otherwise)0 554 y(it)k(returns)h(the)g(v)n(alues)f Fs(nil)g +Fw(and)g Fs(t)p Fw(.)27 b(If)17 b Fv(I)g Fw(is)g(an)g(instance)h(of)e +(some)g(class)i Fv(C)f Fw(named)0 606 y Fv(S)f Fw(and)f +Fv(C)g Fw(is)g(an)g(instance)i(of)d Fs(standard-class)p +Fw(,)f(the)j(ev)n(aluation)e(of)h(the)h(expression)0 +658 y Fs(\(type-of)k Fv(I)7 b Fs(\))k Fw(will)g(return)j +Fv(S)f Fw(if)f Fv(S)g Fw(is)h(the)g(prop)q(er)g(name)f(of)g +Fv(C)6 b Fw(;)11 b(if)h Fv(S)h Fw(is)f(not)h(the)g(prop)q(er)0 +710 y(name)g(of)g Fv(C)p Fw(,)g(the)i(expression)g Fs(\(type-of)k +Fv(I)7 b Fs(\))13 b Fw(will)g(return)i Fv(C)p Fw(.)42 +763 y(Because)e(the)g(names)e(of)g(classes)i(and)f(class)g(ob)r(jects)h +(are)f(t)o(yp)q(e)g(sp)q(eci\014ers,)i(they)f(ma)o(y)0 +815 y(b)q(e)i(used)f(in)g(the)g(sp)q(ecial)g(form)e Fs(the)i +Fw(and)f(in)h(t)o(yp)q(e)g(declarations.)42 868 y(Man)o(y)k(but)g(not)h +(all)e(of)h(the)h(prede\014ned)h(Common)15 b(Lisp)j(t)o(yp)q(e)h(sp)q +(eci\014ers)i(ha)o(v)o(e)d(a)0 920 y(corresp)q(onding)13 +b(class)g(with)e(the)i(same)e(prop)q(er)j(name)c(as)j(the)f(t)o(yp)q +(e.)18 b(These)c(t)o(yp)q(e)e(sp)q(ec-)0 972 y(i\014ers)f(are)g(listed) +g(in)f(table)g(28-)o(1.)17 b(F)m(or)10 b(example,)f(the)j(t)o(yp)q(e)f +Fs(array)e Fw(has)i(a)f(corresp)q(onding)0 1024 y(class)j(named)f +Fs(array)p Fw(.)k(No)d(t)o(yp)q(e)g(sp)q(eci\014er)i(that)d(is)h(a)f +(list,)g(suc)o(h)i(as)e Fs(\(vector)20 b(double-)0 1076 +y(float)g(100\))p Fw(,)c(has)i(a)e(corresp)q(onding)i(class.)28 +b(The)17 b(form)e Fs(deftype)h Fw(do)q(es)h(not)g(create)0 +1128 y(an)o(y)c(classes.)42 1181 y(Eac)o(h)d(class)i(that)e(corresp)q +(onds)j(to)d(a)h(prede\014ned)h(Common)7 b(Lisp)k(t)o(yp)q(e)g(sp)q +(eci\014er)i(can)0 1233 y(b)q(e)e(implemen)o(ted)d(in)h(one)i(of)e +(three)j(w)o(a)o(ys,)e(at)g(the)h(discretion)f(of)g(eac)o(h)h(implem)o +(en)o(tation.)0 1285 y(It)h(can)g(b)q(e)g(a)g Fv(standar)n(d)h(class)i +Fw(\(of)d(the)g(kind)f(de\014ned)i(b)o(y)f Fs(defclass)p +Fw(\),)e(a)i Fv(structur)n(e)g(class)0 1337 y Fw(\(de\014ned)18 +b(b)o(y)f Fs(defstruct)p Fw(\),)f(or)h(a)g Fv(built-in)g(class)j +Fw(\(implemen)o(ted)15 b(in)i(a)f(sp)q(ecial,)i(non-)0 +1389 y(extensible)d(w)o(a)o(y\).)42 1442 y(A)c(built-in)g(class)h(is)f +(one)h(whose)g(instances)h(ha)o(v)o(e)e(restricted)j(capabilities)d(or) +g(sp)q(ecial)0 1494 y(represen)o(tations.)22 b(A)o(ttempting)14 +b(to)g(use)i Fs(defclass)d Fw(to)h(de\014ne)i(sub)q(classes)g(of)e(a)h +(built-)0 1546 y(in)h(class)h(signals)f(an)h(error.)27 +b(Calling)15 b Fs(make-instance)f Fw(to)i(create)i(an)f(instance)g(of)f +(a)0 1598 y(built-in)10 b(class)i(signals)f(an)g(error.)18 +b(Calling)10 b Fs(slot-value)f Fw(on)i(an)h(instance)g(of)f(a)g +(built-in)0 1650 y(class)17 b(signals)e(an)h(error.)26 +b(Rede\014ning)16 b(a)g(built-in)f(class)i(or)f(using)g +Fs(change-class)e Fw(to)0 1702 y(c)o(hange)k(the)g(class)g(of)f(an)g +(instance)i(to)e(or)h(from)d(a)j(built-in)e(class)i(signals)f(an)g +(error.)0 1754 y(Ho)o(w)o(ev)o(er,)d(built-in)e(classes)k(can)e(b)q(e)g +(used)h(as)f(parameter)f(sp)q(ecializers)j(in)d(metho)q(ds.)42 +1807 y(It)k(is)g(p)q(ossible)g(to)g(determine)g(whether)i(a)e(class)g +(is)g(a)g(built-in)f(class)h(b)o(y)g(c)o(hec)o(king)0 +1859 y(the)d(metaclass.)k(A)13 b(standard)h(class)g(is)g(an)f(instance) +h(of)f Fs(standard-class)p Fw(,)e(a)i(built-in)0 1911 +y(class)j(is)f(an)h(instance)g(of)f Fs(built-in-class)p +Fw(,)e(and)i(a)g(structure)j(class)e(is)g(an)f(instance)0 +1963 y(of)e Fs(structure-class)p Fw(.)42 2016 y(Eac)o(h)g(structure)i +(t)o(yp)q(e)f(created)h(b)o(y)e Fs(defstruct)e Fw(without)i(using)g +(the)g Fs(:type)f Fw(option)0 2068 y(has)20 b(a)f(corresp)q(onding)h +(class.)35 b(This)20 b(class)g(is)f(an)g(instance)h(of)f +Fs(structure-class)p Fw(.)0 2120 y(The)14 b Fs(:include)d +Fw(option)h(of)h Fs(defstruct)e Fw(creates)k(a)e(direct)h(sub)q(class)g +(of)e(the)i(class)g(that)0 2172 y(corresp)q(onds)i(to)e(the)g(included) +g(structure.)42 2225 y(The)i(purp)q(ose)i(of)e(sp)q(ecifying)g(that)h +(man)o(y)e(of)h(the)h(standard)g(Commo)o(n)d(Lisp)i(t)o(yp)q(e)0 +2277 y(sp)q(eci\014ers)g(ha)o(v)o(e)d(a)h(corresp)q(onding)g(class)g +(is)g(to)f(enable)h(users)h(to)f(write)f(metho)q(ds)h(that)0 +2329 y(discriminate)c(on)g(these)j(t)o(yp)q(es.)k(Metho)q(d)12 +b(selection)g(requires)g(that)f(a)f(class)i(precedence)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 845 869 +845 868 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(845)0 295 y Fw(list)13 b(can)i(b)q(e)f(determined)g(for)f +(eac)o(h)i(class.)42 347 y(The)f(hierarc)o(hical)g(relationships)g +(among)e(the)j(Common)c(Lisp)j(t)o(yp)q(e)h(sp)q(eci\014ers)h(are)0 +399 y(mirrored)9 b(b)o(y)h(relationships)f(among)f(the)i(classes)i +(corresp)q(onding)e(to)g(those)h(t)o(yp)q(es.)17 b(The)0 +450 y(existing)g(t)o(yp)q(e)h(hierarc)o(h)o(y)g(is)f(used)h(for)f +(determining)f(the)i(class)g(precedence)i(list)d(for)0 +502 y(eac)o(h)11 b(class)g(that)g(corresp)q(onds)i(to)e(a)f +(prede\014ned)j(Commo)o(n)8 b(Lisp)j(t)o(yp)q(e.)17 b(In)11 +b(some)f(cases,)0 554 y(the)17 b(\014rst)g(edition)f(did)g(not)g(sp)q +(ecify)h(a)f(lo)q(cal)f(precedence)20 b(order)d(for)f(t)o(w)o(o)f(sup)q +(ert)o(yp)q(es)0 606 y(of)e(a)g(giv)o(en)g(t)o(yp)q(e)h(sp)q +(eci\014er.)20 b(F)m(or)13 b(example,)f Fs(null)h Fw(is)g(a)g(subt)o +(yp)q(e)i(of)e(b)q(oth)h Fs(symbol)e Fw(and)0 658 y Fs(list)p +Fw(,)g(but)i(the)g(\014rst)h(edition)e(did)g(not)h(sp)q(ecify)g +(whether)h Fs(symbol)d Fw(is)i(more)f(sp)q(eci\014c)i(or)0 +710 y(less)j(sp)q(eci\014c)h(than)e Fs(list)p Fw(.)28 +b(The)18 b(CLOS)g(sp)q(eci\014cation)g(de\014nes)h(those)f +(relationships)0 762 y(for)c(all)e(suc)o(h)j(classes.)42 +814 y(T)m(able)f(28-)o(1)h(lists)g(the)g(set)h(of)f(classes)h(required) +g(b)o(y)f(the)h(Ob)r(ject)g(System)e(that)h(cor-)0 866 +y(resp)q(ond)f(to)f(prede\014ned)h(Common)c(Lisp)i(t)o(yp)q(e)i(sp)q +(eci\014ers.)19 b(The)14 b(sup)q(erclasses)h(of)d(eac)o(h)0 +917 y(suc)o(h)j(class)g(are)f(presen)o(ted)j(in)c(order)i(from)e(most)g +(sp)q(eci\014c)i(to)g(most)e(general,)h(thereb)o(y)0 +969 y(de\014ning)f(the)g(class)h(precedence)i(list)c(for)h(the)h +(class.)k(The)13 b(lo)q(cal)f(precedence)k(order)e(for)0 +1021 y(eac)o(h)i(class)f(that)g(corresp)q(onds)i(to)e(a)g(Common)d +(Lisp)j(t)o(yp)q(e)g(sp)q(eci\014er)i(can)f(b)q(e)f(deriv)o(ed)0 +1073 y(from)d(this)i(table.)42 1125 y(Individual)c(implemen)o(tatio)o +(ns)g(ma)o(y)g(b)q(e)j(extended)g(to)f(de\014ne)h(other)g(t)o(yp)q(e)g +(sp)q(eci\014ers)0 1177 y(to)j(ha)o(v)o(e)g(a)g(corresp)q(onding)i +(class.)26 b(Individual)14 b(implemen)o(tations)g(can)i(b)q(e)h +(extended)0 1229 y(to)h(add)h(other)g(sub)q(class)g(relationships)g +(and)f(to)g(add)g(other)i(elemen)o(ts)e(to)g(the)h(class)0 +1281 y(precedence)d(lists)e(in)f(the)h(ab)q(o)o(v)o(e)f(table)g(as)h +(long)e(as)i(they)f(do)h(not)f(violate)f(the)i(t)o(yp)q(e)g(re-)0 +1333 y(lationships)c(and)h(disjoin)o(tness)f(requiremen)o(ts)i(sp)q +(eci\014ed)g(in)e(section)i(2.15.)j(A)c(standard)0 1384 +y(class)j(de\014ned)i(with)d(no)h(direct)h(sup)q(erclasses)i(is)d +(guaran)o(teed)g(to)g(b)q(e)h(disjoin)o(t)e(from)f(all)0 +1436 y(of)h(the)i(classes)g(in)e(the)i(table,)e(except)i(for)f(the)g +(class)h(named)e Fs(t)p Fw(.)42 1488 y([A)o(t)d(this)h(p)q(oin)o(t)g +(the)h(original)d(CLOS)i(rep)q(ort)h(sp)q(eci\014ed)h(that)e(certain)h +(Common)c(Lisp)0 1540 y(t)o(yp)q(es)16 b(w)o(ere)g(to)f(app)q(ear)g(in) +g(table)g(28-)o(1)g(if)g(and)f(only)h(if)f(X3J13)h(v)o(oted)g(to)g(mak) +o(e)f(them)0 1592 y(disjoin)o(t)f(from)g Fs(cons)p Fw(,)g +Fs(symbol)p Fw(,)f Fs(array)p Fw(,)h Fs(number)p Fw(,)f(and)i +Fs(character)p Fw(.)k(X3J13)c(v)o(oted)g(to)0 1644 y(do)g(so)g(in)f +(June)i(1988)e Ft(h)p Fw(41)p Ft(i)p Fw(.)18 b(I)c(ha)o(v)o(e)g(added)g +(these)h(t)o(yp)q(es)g(and)f(their)g(class)h(precedence)0 +1696 y(lists)f(to)g(the)g(table;)f(the)i(new)f(t)o(yp)q(es)h(are)f +(indicated)g(b)o(y)g(asterisks.|GLS])0 1816 y Fo(28.1.5.)20 +b(Determining)12 b(the)i(Class)i(Precedence)d(List)0 +1893 y Fw(The)h Fs(defclass)e Fw(form)g(for)h(a)g(class)h(pro)o(vides)g +(a)g(total)e(ordering)i(on)g(that)f(class)h(and)g(its)0 +1945 y(direct)g(sup)q(erclasses.)20 b(This)13 b(ordering)g(is)g(called) +g(the)g Fv(lo)n(c)n(al)h(pr)n(e)n(c)n(e)n(denc)n(e)g(or)n(der)p +Fw(.)j(It)c(is)g(an)0 1997 y(ordered)j(list)f(of)f(the)i(class)f(and)g +(its)g(direct)h(sup)q(erclasses.)23 b(The)16 b Fv(class)g(pr)n(e)n(c)n +(e)n(denc)n(e)g(list)0 2049 y Fw(for)g(a)g(class)g Fv(C)g +Fw(is)g(a)g(total)g(ordering)g(on)g Fv(C)g Fw(and)g(its)g(sup)q +(erclasses)j(that)d(is)h(consisten)o(t)0 2100 y(with)d(the)g(lo)q(cal)f +(precedence)k(orders)e(for)f Fv(C)f Fw(and)h(its)g(sup)q(erclasses.)42 +2152 y(A)e(class)i(precedes)h(its)e(direct)g(sup)q(erclasses,)i(and)e +(a)f(direct)i(sup)q(erclass)h(precedes)g(all)0 2204 y(other)j(direct)f +(sup)q(erclasses)j(sp)q(eci\014ed)e(to)f(its)g(righ)o(t)g(in)f(the)i +(sup)q(erclasses)h(list)e(of)f(the)0 2256 y Fs(defclass)c +Fw(form.)k(F)m(or)e(ev)o(ery)h(class)f Fv(C)p Fw(,)f(de\014ne)324 +2329 y Fv(R)354 2335 y Fi(C)397 2329 y Fw(=)f Ft(f)p +Fw(\()p Fv(C)6 b Fh(;)h Fv(C)563 2335 y Fk(1)580 2329 +y Fw(\))p Fh(;)g Fw(\()p Fv(C)661 2335 y Fk(1)679 2329 +y Fh(;)g Fv(C)728 2335 y Fk(2)746 2329 y Fw(\))p Fh(;)g(:)g(:)g(:)e(;)i +Fw(\()p Fv(C)901 2335 y Fi(n)o Fl(\000)p Fk(1)964 2329 +y Fh(;)g Fv(C)1013 2335 y Fi(n)1033 2329 y Fw(\))p Ft(g)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 846 870 +846 869 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(846)77 b(COMMON)13 +b(LISP)p 0 255 1395 2 v 0 344 a Fm(T)l(able)h(28-1:)k +FA(Class)c(Precedence)g(Lists)f(for)g(Prede\014ned)i(T)o(yp)q(es)0 +471 y(Prede\014ned)g(Common)e(Lisp)h(T)o(yp)q(e)50 b(Class)14 +b(Precedence)g(List)f(for)g(Corresp)q(onding)i(Class)p +0 486 1357 2 v 0 529 a Fj(array)475 b(\(array)16 b(t\))0 +575 y(bit-vector)375 b(\(bit-vect)o(or)15 b(vector)i(array)f(sequence)g +(t\))0 620 y(character)395 b(\(characte)o(r)16 b(t\))0 +666 y(complex)435 b(\(complex)16 b(number)g(t\))0 712 +y(cons)495 b(\(cons)17 b(list)g(sequence)e(t\))0 757 +y(float)475 b(\(float)16 b(number)h(t\))0 803 y(function)f +FA(*)380 b Fj(\(function)15 b(t\))0 849 y(hash-table)g +FA(*)341 b Fj(\(hash-tab)o(le)15 b(t\))0 894 y(integer)435 +b(\(integer)16 b(rational)f(number)h(t\))0 940 y(list)495 +b(\(list)17 b(sequence)e(t\))0 986 y(null)495 b(\(null)17 +b(symbol)f(list)h(sequence)f(t\))0 1031 y(number)455 +b(\(number)16 b(t\))0 1077 y(package)g FA(*)400 b Fj(\(package)16 +b(t\))0 1123 y(pathname)g FA(*)380 b Fj(\(pathname)15 +b(t\))0 1168 y(random-sta)o(te)g FA(*)302 b Fj(\(random-s)o(tat)o(e)16 +b(t\))0 1214 y(ratio)475 b(\(ratio)16 b(rational)g(number)g(t\))0 +1260 y(rational)415 b(\(rational)15 b(number)h(t\))0 +1305 y(readtable)f FA(*)361 b Fj(\(readtabl)o(e)16 b(t\))0 +1351 y(sequence)415 b(\(sequence)15 b(t\))0 1397 y(stream)h +FA(*)420 b Fj(\(stream)16 b(t\))0 1442 y(string)455 b(\(string)16 +b(vector)g(array)h(sequence)f(t\))0 1488 y(symbol)455 +b(\(symbol)16 b(t\))0 1534 y(t)555 b(\(t\))0 1579 y(vector)455 +b(\(vector)16 b(array)h(sequence)e(t\))0 1658 y FA([An)c(asterisk)h +(indicates)h(a)e(t)o(yp)q(e)g(added)h(to)f(this)h(table)g(as)f(a)g +(consequence)i(of)d(a)h(p)q(ortion)i(of)d(the)0 1704 +y(CLOS)h(sp)q(eci\014cation)i(that)e(w)o(as)g(conditional)j(on)e(X3J13) +e(v)o(oting)j(to)d(mak)o(e)h(that)h(t)o(yp)q(e)f(disjoin)o(t)0 +1750 y(from)i(certain)h(other)f(built-in)j(t)o(yp)q(es)d +Ff(h)p FA(41)p Ff(i)p FA(.|GLS])p 0 1786 1395 2 v 0 1880 +a Fw(where)j Fv(C)151 1886 y Fk(1)169 1880 y Fh(;)7 b(:)g(:)g(:)e(;)i +Fv(C)292 1886 y Fi(n)328 1880 y Fw(are)15 b(the)h(direct)f(sup)q +(erclasses)j(of)c Fv(C)h Fw(in)g(the)g(order)h(in)e(whic)o(h)h(they)0 +1932 y(are)g(men)o(tioned)e(in)h(the)h Fs(defclass)e +Fw(form.)k(These)f(ordered)g(pairs)e(generate)h(the)g(total)0 +1984 y(ordering)f(on)g(the)g(class)g Fv(C)g Fw(and)g(its)g(direct)g +(sup)q(erclasses.)42 2036 y(Let)g Fv(S)139 2042 y Fi(C)184 +2036 y Fw(b)q(e)g(the)h(set)f(of)g Fv(C)f Fw(and)h(its)g(sup)q +(erclasses.)20 b(Let)15 b Fv(R)f Fw(b)q(e)565 2132 y +Fv(R)g Fw(=)690 2092 y Fe([)652 2190 y Fv(c)g Ft(2)e +Fv(S)748 2196 y Fi(C)781 2132 y Fv(R)811 2138 y Fi(c)42 +2277 y Fw(The)d(set)i Fv(R)e Fw(ma)o(y)f(or)h(ma)o(y)e(not)i(generate)i +(a)e(partial)f(ordering,)i(dep)q(ending)g(on)f(whether)0 +2329 y(the)k Fv(R)100 2335 y Fi(c)118 2329 y Fw(,)f Fv(c)i +Ft(2)d Fv(S)237 2335 y Fi(C)264 2329 y Fw(,)g(are)i(consisten)o(t;)g +(it)f(is)f(assumed)h(that)g(they)g(are)h(consisten)o(t)g(and)f(that)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 847 871 +847 870 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(847)0 295 y Fv(R)12 b Fw(generates)h(a)f(partial)f +(ordering.)17 b(When)12 b(the)g Fv(R)784 301 y Fi(c)814 +295 y Fw(are)h(not)e(consisten)o(t,)i(it)f(is)f(said)h(that)0 +347 y Fv(R)i Fw(is)g(inconsisten)o(t.)42 2121 y(T)m(o)9 +b(compute)g(the)i(class)g(precedence)i(list)c(for)h Fv(C)p +Fw(,)f(top)q(ologically)f(sort)j(the)f(elemen)o(ts)g(of)0 +2173 y Fv(S)23 2179 y Fi(C)62 2173 y Fw(with)i(resp)q(ect)j(to)d(the)h +(partial)e(ordering)i(generated)h(b)o(y)e Fv(R)p Fw(.)g(When)h(the)g +(top)q(ological)0 2225 y(sort)20 b(m)o(ust)f(select)i(a)f(class)g(from) +e(a)i(set)g(of)g(t)o(w)o(o)f(or)h(more)e(classes,)23 +b(none)d(of)f(whic)o(h)0 2277 y(are)d(preceded)i(b)o(y)e(other)h +(classes)g(with)f(resp)q(ect)i(to)e Fv(R)p Fw(,)f(the)i(class)f +(selected)i(is)e(c)o(hosen)0 2329 y(deterministically)m(,)9 +b(as)j(describ)q(ed)i(b)q(elo)o(w.)j(If)11 b Fv(R)h Fw(is)g +(inconsisten)o(t,)g(an)g(error)g(is)g(signaled.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 848 872 +848 871 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(848)77 b(COMMON)13 +b(LISP)0 295 y Fo(28.1.5.1.)20 b(T)-5 b(op)r(ological)13 +b(Sorting)0 383 y Fw(T)m(op)q(ological)i(sorting)i(pro)q(ceeds)i(b)o(y) +f(\014nding)e(a)i(class)f Fv(C)g Fw(in)g Fv(S)1004 389 +y Fi(C)1048 383 y Fw(suc)o(h)i(that)e(no)g(other)0 435 +y(class)h(precedes)j(that)c(elemen)o(t)h(according)f(to)h(the)g(elemen) +o(ts)g(in)f Fv(R)p Fw(.)h(The)g(class)g Fv(C)g Fw(is)0 +487 y(placed)g(\014rst)h(in)f(the)h(result.)31 b(Remo)o(v)o(e)16 +b Fv(C)i Fw(from)e Fv(S)829 493 y Fi(C)856 487 y Fw(,)j(and)f(remo)o(v) +o(e)f(all)g(pairs)h(of)f(the)0 539 y(form)f(\()p Fv(C)6 +b Fh(;)h Fv(D)t Fw(\),)18 b Fv(D)k Ft(2)c Fv(S)376 545 +y Fi(C)402 539 y Fw(,)h(from)d Fv(R)p Fw(.)h(Rep)q(eat)h(the)h(pro)q +(cess,)h(adding)d(classes)i(with)e(no)0 591 y(predecessors)k(to)c(the)i +(end)f(of)f(the)h(result.)30 b(Stop)17 b(when)i(no)e(elemen)o(t)g(can)h +(b)q(e)g(found)0 643 y(that)c(has)g(no)g(predecessor.)42 +695 y(If)d Fv(S)104 701 y Fi(C)143 695 y Fw(is)h(not)g(empt)o(y)f(and)h +(the)g(pro)q(cess)i(has)e(stopp)q(ed,)h(the)g(set)g Fv(R)f +Fw(is)g(inconsisten)o(t.)18 b(If)0 747 y(ev)o(ery)c(class)g(in)f(the)h +(\014nite)g(set)g(of)f(classes)h(is)g(preceded)h(b)o(y)f(another,)f +(then)h Fv(R)g Fw(con)o(tains)0 799 y(a)h(lo)q(op.)22 +b(That)16 b(is,)f(there)i(is)e(a)h(c)o(hain)f(of)g(classes)h +Fv(C)820 805 y Fk(1)839 799 y Fh(;)7 b(:)g(:)g(:)e(;)i(C)962 +805 y Fi(n)997 799 y Fw(suc)o(h)17 b(that)e Fv(C)1214 +805 y Fi(i)1242 799 y Fw(precedes)0 850 y Fv(C)30 856 +y Fi(i)o Fk(+1)85 850 y Fw(,)e(1)e Ft(\024)h Fv(i)j Fh(<)d +Fv(n)s Fw(,)i(and)g Fv(C)421 856 y Fi(n)456 850 y Fw(precedes)i +Fv(C)652 856 y Fk(1)670 850 y Fw(.)42 903 y(Sometimes)d(there)j(are)g +(sev)o(eral)f(classes)i(from)c Fv(S)822 909 y Fi(C)864 +903 y Fw(with)i(no)f(predecessors)q(.)25 b(In)15 b(this)0 +954 y(case)d(select)h(the)f(one)g(that)f(has)g(a)h(direct)g(sub)q +(class)g(righ)o(tmost)e(in)h(the)h(class)g(precedence)0 +1006 y(list)h(computed)h(so)g(far.)k(If)13 b(there)j(is)d(no)h(suc)o(h) +h(candidate)f(class,)g Fv(R)g Fw(do)q(es)h(not)e(generate)0 +1058 y(a)h(partial)e(ordering|the)j Fv(R)462 1064 y Fi(c)480 +1058 y Fw(,)e Fv(c)h Ft(2)d Fv(S)600 1064 y Fi(C)627 +1058 y Fw(,)i(are)i(inconsisten)o(t.)42 1110 y(In)i(more)g(precise)i +(terms,)f(let)g Ft(f)p Fv(N)593 1116 y Fk(1)611 1110 +y Fh(;)7 b(:)g(:)g(:)e(;)i Fv(N)735 1116 y Fi(m)764 1110 +y Ft(g)p Fw(,)18 b Fv(m)j Ft(\025)d Fw(2,)g(b)q(e)h(the)f(classes)h +(from)d Fv(S)1368 1116 y Fi(C)0 1162 y Fw(with)i(no)h(predecessors.)36 +b(Let)19 b(\()p Fv(C)554 1168 y Fk(1)580 1162 y Fh(:)7 +b(:)g(:)e Fv(C)665 1168 y Fi(n)686 1162 y Fw(\),)20 b +Fv(n)j Ft(\025)d Fw(1,)f(b)q(e)h(the)f(class)g(precedence)j(list)0 +1214 y(constructed)17 b(so)d(far.)20 b Fv(C)388 1220 +y Fk(1)420 1214 y Fw(is)15 b(the)g(most)e(sp)q(eci\014c)j(class,)e(and) +h Fv(C)1003 1220 y Fi(n)1041 1214 y Fw(is)f(the)h(least)g(sp)q +(eci\014c.)0 1266 y(Let)21 b(1)h Ft(\024)h Fv(j)28 b +Ft(\024)23 b Fv(n)g Fw(b)q(e)e(the)g(largest)g(n)o(um)o(b)q(er)f(suc)o +(h)h(that)f(there)i(exists)f(an)f Fv(i)h Fw(where)0 1318 +y(1)11 b Ft(\024)h Fv(i)k Ft(\024)11 b Fv(m)17 b Fw(and)d +Fv(N)311 1324 y Fi(i)338 1318 y Fw(is)f(a)h(direct)h(sup)q(erclass)g +(of)f Fv(C)805 1324 y Fi(j)817 1318 y Fw(;)f Fv(N)873 +1324 y Fi(i)900 1318 y Fw(is)h(placed)g(next.)42 1370 +y(The)d(e\013ect)i(of)e(this)g(rule)h(for)f(selecting)h(from)d(a)i(set) +h(of)f(classes)h(with)f(no)g(predecessors)0 1422 y(is)g(that)g(classes) +i(in)d(a)h(simple)f(sup)q(erclass)j(c)o(hain)e(are)g(adjacen)o(t)h(in)e +(the)i(class)g(precedence)0 1474 y(list)h(and)g(that)g(classes)h(in)f +(eac)o(h)g(relativ)o(ely)g(separated)h(subgraph)g(are)f(adjacen)o(t)g +(in)g(the)0 1526 y(class)k(precedence)i(list.)25 b(F)m(or)16 +b(example,)g(let)g Fv(T)752 1532 y Fk(1)787 1526 y Fw(and)g +Fv(T)900 1532 y Fk(2)934 1526 y Fw(b)q(e)h(subgraphs)h(whose)f(only)0 +1578 y(elemen)o(t)c(in)g(common)d(is)j(the)h(class)g +Fv(J)p Fw(.)f(Supp)q(ose)h(that)f(no)g(sup)q(erclass)i(of)e +Fv(J)g Fw(app)q(ears)h(in)0 1630 y(either)f Fv(T)146 +1636 y Fk(1)176 1630 y Fw(or)f Fv(T)255 1636 y Fk(2)274 +1630 y Fw(.)17 b(Let)c Fv(C)406 1636 y Fk(1)436 1630 +y Fw(b)q(e)g(the)f(b)q(ottom)f(of)g Fv(T)780 1636 y Fk(1)799 +1630 y Fw(;)h(and)g(let)g Fv(C)990 1636 y Fk(2)1020 1630 +y Fw(b)q(e)h(the)g(b)q(ottom)d(of)i Fv(T)1365 1636 y +Fk(2)1383 1630 y Fw(.)0 1681 y(Supp)q(ose)17 b Fv(C)e +Fw(is)g(a)h(class)g(whose)g(direct)h(sup)q(erclasses)h(are)e +Fv(C)966 1687 y Fk(1)1000 1681 y Fw(and)g Fv(C)1113 1687 +y Fk(2)1147 1681 y Fw(in)f(that)g(order;)0 1733 y(then)g(the)g(class)g +(precedence)j(list)c(for)g Fv(C)g Fw(will)f(start)i(with)f +Fv(C)h Fw(and)f(will)f(b)q(e)i(follo)o(w)o(ed)e(b)o(y)0 +1785 y(all)g(classes)i(in)f Fv(T)269 1791 y Fk(1)302 +1785 y Fw(except)h Fv(J)p Fw(.)f(All)f(the)i(classes)g(of)f +Fv(T)830 1791 y Fk(2)863 1785 y Fw(will)e(b)q(e)j(next.)20 +b(The)14 b(class)h Fv(J)f Fw(and)0 1837 y(its)g(sup)q(erclasses)i(will) +d(app)q(ear)h(last.)0 1997 y Fo(28.1.5.2.)20 b(Examples)0 +2085 y Fw(This)12 b(example)f(determines)i(a)f(class)h(precedence)i +(list)d(for)g(the)h(class)g Fs(pie)p Fw(.)k(The)c(follo)o(w-)0 +2137 y(ing)g(classes)i(are)g(de\014ned:)0 2225 y Fs(\(defclass)k(pie)i +(\(apple)f(cinnamon\))f(\(\)\))0 2277 y(\(defclass)g(apple)h(\(fruit\)) +g(\(\)\))0 2329 y(\(defclass)f(cinnamon)h(\(spice\))g(\(\)\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 849 873 +849 872 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(849)0 295 y Fs(\(defclass)19 b(fruit)h(\(food\))g(\(\)\)) +0 347 y(\(defclass)f(spice)h(\(food\))g(\(\)\))0 399 +y(\(defclass)f(food)i(\(\))f(\(\)\))p 1399 2538 2 2076 +v 0 504 a Fw(The)14 b(set)0 556 y Fv(S)j Fw(=)12 b Ft(f)p +Fs(pie)p Fh(;)7 b Fs(apple)p Fh(;)g Fs(c)o(innam)o(on)p +Fh(;)f Fs(fruit)o Fh(;)h Fs(sp)o(ice)p Fh(;)f Fs(food)o +Fh(;)h Fs(st)o(andar)o(d-)m(object)p Fh(;)g Fs(t)p Ft(g)p +Fw(.)16 b(The)0 607 y(set)f Fv(R)e Fw(=)f Ft(f)p Fw(\()p +Fs(pie)p Fh(;)7 b Fs(apple)p Fw(\))p Fh(;)g Fw(\()p Fs(apple)o +Fh(;)g Fs(ci)o(nnamo)o(n)p Fw(\))p Fh(;)g Fw(\()p Fs(cin)o(namon)o +Fh(;)g Fs(st)o(andar)o(d-)m(object)p Fw(\))p Fh(;)0 659 +y Fw(\()p Fs(apple)p Fh(;)g Fs(fruit)p Fw(\))p Fh(;)g +Fw(\()p Fs(frui)o(t)p Fh(;)g Fs(s)o(tanda)o(rd-)m(object)p +Fw(\))p Fh(;)g Fw(\()p Fs(cinnamon)p Fh(;)f Fs(spi)o(ce)p +Fw(\))p Fh(;)h Fw(\()p Fs(sp)o(ice)p Fh(;)0 711 y Fs(standard-)n +(object)p Fw(\))p Fh(;)g Fw(\()p Fs(fruit)p Fh(;)g Fs(foo)o(d)p +Fw(\))p Fh(;)g Fw(\()p Fs(foo)o(d)p Fh(;)g Fs(s)o(tanda)o(rd-)m(object) +p Fw(\))p Fh(;)g Fw(\()p Fs(spice)p Fh(;)g Fs(f)o(ood)p +Fw(\))p Fh(;)0 763 y Fw(\()p Fs(standard-)n(object)p +Fh(;)g Fs(t)p Fw(\))p Ft(g)p Fw(.)42 817 y([The)13 b(original)f(CLOS)i +(sp)q(eci\014cation)h([5)o(,)f(6])f(con)o(tained)h(a)f(minor)f(error)j +(in)f(this)0 869 y(example:)j(the)d(pairs)g(\()p Fs(cinnamon)p +Fh(;)7 b Fs(standard)o(-)m(object)p Fw(\),)0 921 y(\()p +Fs(fruit)p Fh(;)g Fs(standard-)m(object)p Fw(\),)12 b(and)i(\()p +Fs(spice)p Fh(;)7 b Fs(standard-)l(object)p Fw(\))13 +b(w)o(ere)0 973 y(inadv)o(erten)o(tly)h(omitted)e(from)g +Fv(R)j Fw(in)e(the)h(preceding)h(paragraph.)j(It)c(is)g(imp)q(ortan)o +(t)e(to)0 1025 y(understand)j(that)f Fs(defclass)e Fw(implicitly)f(app) +q(ends)k(the)f(class)h Fs(standard-object)10 b Fw(to)0 +1077 y(the)k(list)g(of)f(sup)q(erclasses)k(when)d(the)h(metaclass)e(is) +h Fs(standard-class)d Fw(\(the)j(normal)0 1129 y(situation\),)f(in)g +(order)i(to)f(insure)g(that)g Fs(standard-object)d Fw(will)h(b)q(e)j(a) +e(sup)q(erclass)j(of)0 1181 y(ev)o(ery)f(instance)f(of)g +Fs(standard-class)d Fw(except)k Fs(standard-object)c +Fw(itself)i(\(see)0 1232 y(section)i(28.1.2\).)h Fv(R)321 +1238 y Fi(c)353 1232 y Fw(is)e(then)g(generated)h(from)d(this)i(augmen) +o(ted)f(list)h(of)0 1284 y(sup)q(erclasses;)i(this)e(is)g(where)h(the)f +(extra)h(pairs)e(come)h(from.)i(I)e(ha)o(v)o(e)f(corrected)j(the)0 +1336 y(example)d(b)o(y)g(adding)g(these)j(pairs)d(as)h(appropriate)g +(throughout)g(the)h(example.)h(The)0 1388 y(\014nal)d(result,)h(the)h +(class)f(precedence)j(list)d(for)f Fs(pie)p Fw(,)g(is)h(unc)o +(hanged.|GLS])42 1442 y(The)g(class)g Fs(pie)f Fw(is)h(not)g(preceded)i +(b)o(y)e(an)o(ything,)e(so)i(it)g(comes)f(\014rst;)h(the)h(result)f(so) +0 1494 y(far)g(is)f Fs(\(pie\))p Fw(.)k(Remo)o(v)o(e)12 +b Fs(pie)i Fw(from)e Fv(S)i Fw(and)g(pairs)g(men)o(tioning)d +Fs(pie)i Fw(from)f Fv(R)j Fw(to)e(get)0 1546 y Fv(S)k +Fw(=)12 b Ft(f)p Fs(apple)p Fh(;)7 b Fs(cinnamo)o(n)p +Fh(;)g Fs(f)o(ruit)p Fh(;)f Fs(spi)o(ce)p Fh(;)g Fs(food)p +Fh(;)g Fs(sta)o(ndard)o(-)m(object)p Fh(;)h Fs(t)p Ft(g)12 +b Fw(and)0 1598 y Fv(R)h Fw(=)f Ft(f)p Fw(\()p Fs(apple)p +Fh(;)7 b Fs(cinnamon)p Fw(\))p Fh(;)f Fw(\()p Fs(cinnam)o(on)p +Fh(;)g Fs(stand)o(ard-)m(object)p Fw(\))p Fh(;)h Fw(\()p +Fs(apple)p Fh(;)f Fs(fruit)o Fw(\))p Fh(;)0 1650 y Fw(\()p +Fs(fruit)p Fh(;)h Fs(standard-)m(object)p Fw(\))p Fh(;)g +Fw(\()p Fs(cinnamon)p Fh(;)f Fs(spi)o(ce)p Fw(\))p Fh(;)h +Fw(\()p Fs(s)o(pice)p Fh(;)f Fs(sta)o(ndard)o(-)m(object)p +Fw(\))p Fh(;)0 1702 y Fw(\()p Fs(fruit)p Fh(;)h Fs(food)p +Fw(\))p Fh(;)g Fw(\()p Fs(food)p Fh(;)f Fs(sta)o(ndard)o(-)m(object)p +Fw(\))p Fh(;)h Fw(\()p Fs(spice)p Fh(;)g Fs(food)o Fw(\))p +Fh(;)g Fw(\()p Fs(sta)o(ndard)o(-)m(object)p Fh(;)0 1754 +y Fs(t)p Fw(\))p Ft(g)p Fw(.)42 1808 y(The)14 b(class)g +Fs(apple)f Fw(is)h(not)g(preceded)i(b)o(y)d(an)o(ything,)g(so)h(it)f +(is)h(next;)g(the)g(result)h(is)0 1860 y Fs(\(pie)20 +b(apple\))p Fw(.)d(Remo)o(ving)11 b Fs(apple)i Fw(and)h(the)g(relev)n +(an)o(t)g(pairs)g(results)h(in)0 1911 y Fv(S)i Fw(=)12 +b Ft(f)p Fs(cinnamon)p Fh(;)7 b Fs(frui)o(t)p Fh(;)g +Fs(s)o(pice)p Fh(;)f Fs(foo)o(d)p Fh(;)h Fs(s)o(tanda)o(rd-)m(object)p +Fh(;)g Fs(t)p Ft(g)k Fw(and)0 1963 y Fv(R)i Fw(=)f Ft(f)p +Fw(\()p Fs(cinnamon)p Fh(;)7 b Fs(standar)o(d-)m(object)p +Fw(\))p Fh(;)g Fw(\()p Fs(fruit)p Fh(;)g Fs(sta)o(ndard)o(-)m(object)p +Fw(\))p Fh(;)g Fw(\()p Fs(cinnamon)p Fh(;)0 2015 y Fs(spice)p +Fw(\))p Fh(;)g Fw(\()p Fs(spice)p Fh(;)g Fs(sta)o(ndard)o(-)m(object)p +Fw(\))p Fh(;)g Fw(\()p Fs(fruit)p Fh(;)g Fs(food)o Fw(\))p +Fh(;)g Fw(\()p Fs(foo)o(d)p Fh(;)g Fs(s)o(tanda)o(rd-)m(object)p +Fw(\))p Fh(;)0 2067 y Fw(\()p Fs(spice)p Fh(;)g Fs(food)p +Fw(\))p Fh(;)g Fw(\()p Fs(stand)o(ard-)m(object)p Fh(;)g +Fs(t)p Fw(\))p Ft(g)p Fw(.)42 2121 y(The)14 b(classes)h +Fs(cinnamon)d Fw(and)i Fs(fruit)f Fw(are)h(not)g(preceded)i(b)o(y)e(an) +o(ything,)e(so)i(the)g(one)0 2173 y(with)g(a)f(direct)i(sub)q(class)g +(righ)o(tmost)d(in)i(the)g(class)g(precedence)j(list)d(computed)f(so)h +(far)0 2225 y(go)q(es)g(next.)k(The)c(class)g Fs(apple)f +Fw(is)g(a)g(direct)i(sub)q(class)f(of)f Fs(fruit)p Fw(,)f(and)i(the)g +(class)g Fs(pie)f Fw(is)0 2277 y(a)h(direct)g(sub)q(class)h(of)f +Fs(cinnamon)p Fw(.)i(Because)g Fs(apple)c Fw(app)q(ears)j(to)f(the)g +(righ)o(t)g(of)f Fs(pie)g Fw(in)0 2329 y(the)h(precedence)j(list,)c +Fs(fruit)g Fw(go)q(es)i(next,)e(and)h(the)h(result)f(so)g(far)g(is)g +Fs(\(pie)20 b(apple)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 850 874 +850 873 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(850)77 b(COMMON)13 +b(LISP)0 295 y Fs(fruit\))p Fw(.)k Fv(S)g Fw(=)11 b Ft(f)p +Fs(cinnamon)p Fh(;)c Fs(spice)p Fh(;)f Fs(food)p Fh(;)g +Fs(sta)o(ndard)o(-)m(object)p Fh(;)h Fs(t)p Ft(g)p Fw(;)0 +347 y Fv(R)13 b Fw(=)f Ft(f)p Fw(\()p Fs(cinnamon)p Fh(;)7 +b Fs(standar)o(d-)m(object)p Fw(\))p Fh(;)g Fw(\()p Fs(cinnamon)p +Fh(;)f Fs(spice)o Fw(\))p Fh(;)h Fw(\()p Fs(spi)o(ce)p +Fh(;)f Fs(stand)o(ard-)0 399 y(object)p Fw(\))p Fh(;)h +Fw(\()p Fs(food)p Fh(;)g Fs(sta)o(ndard)o(-)m(object)p +Fw(\))p Fh(;)g Fw(\()p Fs(spice)p Fh(;)g Fs(food)o Fw(\))p +Fh(;)g Fw(\()p Fs(sta)o(ndard)o(-)m(object)p Fh(;)g Fs(t)p +Fw(\))p Ft(g)p Fw(.)42 452 y(The)14 b(class)g Fs(cinnamon)e +Fw(is)i(next,)g(giving)e(the)j(result)g(so)f(far)f(as)h +Fs(\(pie)20 b(apple)g(fruit)0 504 y(cinnamon\))p Fw(.)c(A)o(t)e(this)g +(p)q(oin)o(t)f Fv(S)k Fw(=)12 b Ft(f)p Fs(spice)p Fh(;)7 +b Fs(food)p Fh(;)g Fs(st)o(andar)o(d-)m(object)p Fh(;)g +Fs(t)p Ft(g)p Fw(;)0 556 y Fv(R)13 b Fw(=)f Ft(f)p Fw(\()p +Fs(spice)p Fh(;)7 b Fs(standard-)m(object)p Fw(\))p Fh(;)g +Fw(\()p Fs(food)p Fh(;)g Fs(st)o(andar)o(d-)m(object)p +Fw(\))p Fh(;)g Fw(\()p Fs(spice)p Fh(;)g Fs(fo)o(od)p +Fw(\))p Fh(;)0 608 y Fw(\()p Fs(standard-)n(object)p +Fh(;)g Fs(t)p Fw(\))p Ft(g)p Fw(.)42 707 y(The)15 b(classes)h +Fs(spice)p Fw(,)d Fs(food)p Fw(,)h Fs(standard-object)o +Fw(,)e(and)i Fs(t)h Fw(are)g(then)g(added)g(in)g(that)0 +759 y(order,)f(and)g(the)g(\014nal)g(class)g(precedence)j(list)c(for)h +Fs(pie)f Fw(is)0 859 y Fs(\(pie)20 b(apple)g(fruit)h(cinnamon)e(spice)h +(food)h(standard-object)d(t\))42 958 y Fw(It)13 b(is)h(p)q(ossible)g +(to)g(write)g(a)g(set)g(of)f(class)i(de\014nitions)f(that)f(cannot)h(b) +q(e)h(ordered.)k(F)m(or)0 1010 y(example:)0 1111 y Fs(\(defclass)g +(new-class)h(\(fruit)g(apple\))f(\(\)\))0 1162 y(\(defclass)g(apple)h +(\(fruit\))g(\(\)\))42 1261 y Fw(The)c(class)h Fs(fruit)e +Fw(m)o(ust)g(precede)j Fs(apple)e Fw(b)q(ecause)i(the)e(lo)q(cal)g +(ordering)g(of)g(sup)q(er-)0 1313 y(classes)j(m)o(ust)d(b)q(e)i +(preserv)o(ed.)31 b(The)18 b(class)g Fs(apple)e Fw(m)o(ust)h(precede)i +Fs(fruit)e Fw(b)q(ecause)i(a)0 1365 y(class)f(alw)o(a)o(ys)f(precedes)j +(its)e(o)o(wn)g(sup)q(erclasses.)32 b(When)18 b(this)g(situation)f(o)q +(ccurs,)j(an)0 1417 y(error)15 b(is)f(signaled)f(when)h(the)h(system)e +(tries)i(to)f(compute)f(the)i(class)f(precedence)j(list.)42 +1471 y(The)d(follo)o(wing)d(migh)o(t)h(app)q(ear)i(to)g(b)q(e)g(a)g +(con\015icting)g(set)g(of)g(de\014nitions:)0 1571 y Fs(\(defclass)19 +b(pie)i(\(apple)f(cinnamon\))f(\(\)\))0 1623 y(\(defclass)g(pastry)h +(\(cinnamon)g(apple\))f(\(\)\))0 1675 y(\(defclass)g(apple)h(\(\))h +(\(\)\))0 1727 y(\(defclass)e(cinnamon)h(\(\))h(\(\)\))42 +1826 y Fw(The)14 b(class)g(precedence)j(list)d(for)f +Fs(pie)g Fw(is)0 1926 y Fs(\(pie)20 b(apple)g(cinnamon)g +(standard-object)e(t\))42 2025 y Fw(The)c(class)g(precedence)j(list)d +(for)f Fs(pastry)g Fw(is)0 2126 y Fs(\(pastry)20 b(cinnamon)f(apple)h +(standard-object)e(t\))42 2225 y Fw(It)e(is)g(not)g(a)g(problem)f(for)h +Fs(apple)f Fw(to)h(precede)i Fs(cinnamon)d Fw(in)g(the)i(ordering)g(of) +e(the)0 2277 y(sup)q(erclasses)20 b(of)d Fs(pie)g Fw(but)h(not)g(in)f +(the)h(ordering)g(for)f Fs(pastry)p Fw(.)28 b(Ho)o(w)o(ev)o(er,)19 +b(it)e(is)h(not)0 2329 y(p)q(ossible)c(to)g(build)f(a)h(new)g(class)g +(that)g(has)g(b)q(oth)g Fs(pie)f Fw(and)h Fs(pastry)f +Fw(as)h(sup)q(erclasses.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 851 875 +851 874 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(851)0 295 y Fo(28.1.6.)20 b(Generic)14 +b(F)-5 b(unctions)15 b(and)g(Metho)r(ds)0 380 y Fw(A)j +Fv(generic)h(function)i Fw(is)d(a)g(function)g(whose)h(b)q(eha)o(vior)e +(dep)q(ends)j(on)e(the)g(classes)i(or)0 432 y(iden)o(tities)h(of)f(the) +h(argumen)o(ts)f(supplied)h(to)g(it.)38 b(The)21 b Fv(metho)n(ds)g +Fw(de\014ne)h(the)f(class-)0 484 y(sp)q(eci\014c)11 b(b)q(eha)o(vior)e +(and)g(op)q(erations)h(of)f(the)h(generic)g(function.)16 +b(The)10 b(follo)o(wing)d(sections)0 536 y(describ)q(e)16 +b(generic)e(functions)g(and)g(metho)q(ds.)0 686 y Fo(28.1.6.1.)20 +b(In)n(tro)r(duction)14 b(to)h(Generic)e(F)-5 b(unctions)0 +772 y Fw(A)14 b(generic)g(function)g(ob)r(ject)g(con)o(tains)g(a)f(set) +i(of)e(metho)q(ds,)f(a)i(lam)o(b)q(da-li)o(st,)d(a)j(metho)q(d)0 +824 y(com)o(bination)d(t)o(yp)q(e,)j(and)g(other)h(information.)42 +876 y(Lik)o(e)i(an)h(ordinary)f(Lisp)h(function,)g(a)g(generic)g +(function)g(tak)o(es)g(argumen)o(ts,)g(p)q(er-)0 928 +y(forms)13 b(a)i(series)h(of)f(op)q(erations,)f(and)h(p)q(erhaps)h +(returns)h(useful)d(v)n(alues.)21 b(An)15 b(ordinary)0 +980 y(function)e(has)h(a)f(single)g(b)q(o)q(dy)h(of)f(co)q(de)h(that)g +(is)f(alw)o(a)o(ys)f(executed)k(when)e(the)g(function)0 +1031 y(is)h(called.)21 b(A)16 b(generic)g(function)e(has)i(a)e(set)j +(of)d(b)q(o)q(dies)i(of)e(co)q(de)i(of)f(whic)o(h)g(a)f(subset)j(is)0 +1083 y(selected)h(for)d(execution.)25 b(The)16 b(selected)i(b)q(o)q +(dies)e(of)f(co)q(de)i(and)f(the)g(manner)f(of)g(their)0 +1135 y(com)o(bination)c(are)j(determined)g(b)o(y)g(the)g(classes)h(or)f +(iden)o(tities)f(of)h(one)g(or)f(more)g(of)g(the)0 1187 +y(argumen)o(ts)g(to)h(the)g(generic)h(function)f(and)f(b)o(y)h(its)g +(metho)q(d)f(com)o(bination)e(t)o(yp)q(e.)42 1239 y(Ordinary)h +(functions)g(and)g(generic)h(functions)f(are)g(called)g(with)g(iden)o +(tical)f(function-)0 1291 y(call)i(syn)o(tax.)42 1343 +y(Generic)j(functions)f(are)h(true)h(functions)e(that)h(can)f(b)q(e)h +(passed)h(as)f(argumen)o(ts,)e(re-)0 1395 y(turned)h(as)f(v)n(alues,)f +(used)i(as)f(the)g(\014rst)h(argumen)o(t)d(to)i Fs(funcall)e +Fw(and)i Fs(apply)p Fw(,)e(and)i(oth-)0 1447 y(erwise)h(used)g(in)e +(all)g(the)h(w)o(a)o(ys)g(an)f(ordinary)h(function)f(ma)o(y)f(b)q(e)j +(used.)42 1498 y(A)g(name)e(can)i(b)q(e)h(giv)o(en)e(to)h(an)g +(ordinary)f(function)h(in)g(one)g(of)f(t)o(w)o(o)h(w)o(a)o(ys:)k(a)c +Fv(glob)n(al)0 1550 y Fw(name)d(can)i(b)q(e)g(giv)o(en)f(to)g(a)g +(function)h(using)f(the)h Fs(defun)e Fw(construct;)j(a)e +Fv(lo)n(c)n(al)k Fw(name)c(can)0 1602 y(b)q(e)j(giv)o(en)f(using)g(the) +g Fs(flet)g Fw(or)g Fs(labels)f Fw(sp)q(ecial)h(forms.)21 +b(A)16 b(generic)g(function)f(can)g(b)q(e)0 1654 y(giv)o(en)c(a)g +(global)f(name)g(using)i(the)g Fs(defmethod)d Fw(or)j +Fs(defgeneric)d Fw(construct.)19 b(A)12 b(generic)0 1706 +y(function)e(can)g(b)q(e)h(giv)o(en)f(a)g(lo)q(cal)f(name)g(using)h +(the)h Fs(generic-flet)p Fw(,)d Fs(generic-labels)p Fw(,)0 +1758 y(or)15 b Fs(with-added-methods)d Fw(sp)q(ecial)j(forms.)21 +b(The)16 b(name)e(of)h(a)f(generic)j(function,)e(lik)o(e)0 +1810 y(the)i(name)f(of)g(an)g(ordinary)g(function,)h(can)f(b)q(e)i +(either)f(a)f(sym)o(b)q(ol)f(or)i(a)f(t)o(w)o(o-elemen)o(t)0 +1862 y(list)e(whose)i(\014rst)g(elemen)o(t)e(is)h Fs(setf)f +Fw(and)g(whose)i(second)g(elemen)o(t)e(is)h(a)g(sym)o(b)q(ol.)k(This)0 +1914 y(is)14 b(true)g(for)g(b)q(oth)g(lo)q(cal)f(and)h(global)e(names.) +42 1966 y(The)k Fs(generic-flet)e Fw(sp)q(ecial)j(form)e(creates)j(new) +f(lo)q(cal)e(generic)j(functions)e(using)0 2017 y(the)g(set)g(of)e +(metho)q(ds)h(sp)q(eci\014ed)i(b)o(y)e(the)g(metho)q(d)g(de\014nitions) +g(in)g(the)g Fs(generic-flet)0 2069 y Fw(form.)i(The)e(scoping)f(of)g +(generic)h(function)f(names)f(within)h(a)g Fs(generic-flet)d +Fw(form)i(is)0 2121 y(the)h(same)f(as)h(for)g Fs(flet)p +Fw(.)42 2173 y(The)h Fs(generic-labels)d Fw(sp)q(ecial)j(form)e +(creates)k(a)d(set)i(of)f(new)g(m)o(utually)d(recursiv)o(e)0 +2225 y(lo)q(cal)g(generic)i(functions)g(using)e(the)i(set)g(of)f(metho) +q(ds)g(sp)q(eci\014ed)h(b)o(y)f(the)h(metho)q(d)e(de\014-)0 +2277 y(nitions)i(in)g(the)h Fs(generic-labels)d Fw(form.)18 +b(The)d(scoping)g(of)f(generic)h(function)g(names)0 2329 +y(within)e(a)h Fs(generic-labels)d Fw(form)h(is)i(the)g(same)f(as)h +(for)g Fs(labels)p Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 852 876 +852 875 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(852)77 b(COMMON)13 +b(LISP)42 295 y Fw(The)h Fs(with-added-method)o(s)d Fw(sp)q(ecial)j +(form)f(creates)i(new)g(lo)q(cal)e(generic)i(functions)0 +347 y(b)o(y)d(adding)f(the)i(set)g(of)f(metho)q(ds)f(sp)q(eci\014ed)j +(b)o(y)e(the)h(metho)q(d)e(de\014nitions)h(with)g(a)g(giv)o(en)0 +399 y(name)h(in)h(the)h Fs(with-added-metho)o(ds)c Fw(form)i(to)h +(copies)h(of)e(the)i(metho)q(ds)f(of)g(the)h(lexi-)0 +450 y(cally)f(visible)g(generic)i(function)f(of)f(the)i(same)e(name.)20 +b(If)14 b(there)i(is)f(a)g(lexically)e(visible)0 502 +y(ordinary)g(function)h(of)f(the)i(same)e(name)g(as)h(one)g(of)f(the)i +(sp)q(eci\014ed)g(generic)g(functions,)0 554 y(that)d(function)g(b)q +(ecomes)g(the)g(metho)q(d)f(function)h(of)f(the)i(default)e(metho)q(d)g +(for)h(the)g(new)0 606 y(generic)j(function)e(of)h(that)g(name.)42 +658 y(The)e Fs(generic-function)c Fw(macro)j(creates)i(an)f(anon)o +(ymous)e(generic)j(function)e(with)0 710 y(the)20 b(set)g(of)e(metho)q +(ds)h(sp)q(eci\014ed)h(b)o(y)f(the)h(metho)q(d)e(de\014nitions)h(that)g +(app)q(ear)h(in)e(the)0 762 y Fs(generic-function)11 +b Fw(form.)42 815 y(When)j(a)f Fs(defgeneric)f Fw(form)g(is)i(ev)n +(aluated,)f(one)h(of)f(three)j(actions)d(is)h(tak)o(en:)0 +880 y Fu(.)42 889 y Fw(If)g(a)g(generic)i(function)f(of)f(the)h(giv)o +(en)g(name)e(already)i(exists,)g(the)g(existing)g(generic)42 +941 y(function)f(ob)r(ject)h(is)g(mo)q(di\014ed.)j(Metho)q(ds)e(sp)q +(eci\014ed)g(b)o(y)f(the)g(curren)o(t)h Fs(defgeneric)42 +993 y Fw(form)10 b(are)i(added,)g(and)g(an)o(y)f(metho)q(ds)h(in)f(the) +i(existing)e(generic)i(function)f(that)g(w)o(ere)42 1044 +y(de\014ned)17 b(b)o(y)g(a)g(previous)g Fs(defgeneric)e +Fw(form)g(are)i(remo)o(v)o(ed.)26 b(Metho)q(ds)18 b(added)f(b)o(y)42 +1096 y(the)12 b(curren)o(t)i Fs(defgeneric)c Fw(form)g(migh)o(t)g +(replace)j(metho)q(ds)f(de\014ned)h(b)o(y)f Fs(defmethod)42 +1148 y Fw(or)19 b Fs(defclass)p Fw(.)33 b(No)20 b(other)g(metho)q(ds)f +(in)g(the)h(generic)h(function)e(are)h(a\013ected)h(or)42 +1200 y(replaced.)0 1277 y Fu(.)42 1286 y Fw(If)11 b(the)i(giv)o(en)e +(name)g(names)g(a)h(non-generic)h(function,)e(a)h(macro,)f(or)h(a)g(sp) +q(ecial)g(form,)42 1338 y(an)h(error)i(is)f(signaled.)0 +1416 y Fu(.)42 1425 y Fw(Otherwise)i(a)f(generic)i(function)e(is)g +(created)h(with)f(the)h(metho)q(ds)f(sp)q(eci\014ed)i(b)o(y)e(the)42 +1477 y(metho)q(d)e(de\014nitions)g(in)h(the)g Fs(defgeneric)e +Fw(form.)42 1551 y(Some)j(forms)g(sp)q(ecify)i(the)g(options)f(of)g(a)g +(generic)h(function,)g(suc)o(h)g(as)f(the)h(t)o(yp)q(e)g(of)0 +1603 y(metho)q(d)e(com)o(bination)e(it)i(uses)h(or)g(its)f(argumen)o(t) +f(precedence)19 b(order.)k(They)16 b(will)e(b)q(e)0 1655 +y(referred)22 b(to)d(as)h(\\forms)e(that)i(sp)q(ecify)g(generic)h +(function)e(options.")35 b(These)21 b(forms)0 1706 y(are)d +Fs(defgeneric)p Fw(,)f Fs(generic-functio)o(n)p Fw(,)f +Fs(generic-flet)p Fw(,)f Fs(generic-labels)p Fw(,)h(and)0 +1758 y Fs(with-added-method)o(s)p Fw(.)42 1811 y(Some)f(forms)h +(de\014ne)i(metho)q(ds)f(for)f(a)h(generic)h(function.)27 +b(They)18 b(will)d(b)q(e)j(referred)0 1863 y(to)h(as)h(\\metho)q +(d-de\014ning)e(forms.")34 b(These)21 b(forms)d(are)i +Fs(defgeneric)p Fw(,)e Fs(defmethod)p Fw(,)0 1914 y Fs +(generic-function)p Fw(,)10 b Fs(generic-flet)p Fw(,)h +Fs(generic-labels)p Fw(,)f Fs(with-added-method)o(s)p +Fw(,)0 1966 y(and)i Fs(defclass)p Fw(.)k(Note)c(that)g(all)f(the)h +(metho)q(d-de\014ning)g(forms)e(except)k Fs(defclass)c +Fw(and)0 2018 y Fs(defmethod)i Fw(are)i(also)g(forms)e(that)i(sp)q +(ecify)g(generic)h(function)f(options.)0 2186 y Fo(28.1.6.2.)20 +b(In)n(tro)r(duction)14 b(to)h(Metho)r(ds)0 2277 y Fw(A)i(metho)q(d)f +(ob)r(ject)h(con)o(tains)g(a)f(metho)q(d)g(function,)h(a)f(sequence)j +(of)d Fv(p)n(ar)n(ameter)h(sp)n(e-)0 2329 y(cializers)e +Fw(that)d(sp)q(ecify)h(when)g(the)g(giv)o(en)f(metho)q(d)g(is)g +(applicable,)f(a)i(lam)o(b)q(da-li)o(st,)d(and)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 853 877 +853 876 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(853)0 295 y Fw(a)15 b(sequence)i(of)e Fv(quali\014ers)j +Fw(that)e(are)f(used)h(b)o(y)f(the)h(metho)q(d)f(com)o(bination)d +(facilit)o(y)i(to)0 347 y(distinguish)f(among)f(metho)q(ds.)42 +399 y(A)17 b(metho)q(d)g(ob)r(ject)h(is)g(not)f(a)h(function)f(and)h +(cannot)f(b)q(e)i(in)o(v)o(ok)o(ed)d(as)i(a)f(function.)0 +451 y(V)m(arious)e(mec)o(hanisms)e(in)i(the)h(Ob)r(ject)h(System)e(tak) +o(e)g(a)h(metho)q(d)e(ob)r(ject)i(and)g(in)o(v)o(ok)o(e)0 +503 y(its)e(metho)q(d)e(function,)h(as)h(is)g(the)g(case)h(when)f(a)f +(generic)i(function)e(is)g(in)o(v)o(ok)o(ed.)18 b(When)0 +555 y(this)c(o)q(ccurs)h(it)f(is)g(said)f(that)h(the)h(metho)q(d)e(is)g +(in)o(v)o(ok)o(ed)g(or)h(called.)42 607 y(A)e(metho)q(d-de\014ning)g +(form)e(con)o(tains)j(the)g(co)q(de)g(that)g(is)f(to)h(b)q(e)g(run)g +(when)g(the)g(argu-)0 659 y(men)o(ts)g(to)g(the)g(generic)h(function)f +(cause)i(the)e(metho)q(d)g(that)g(it)g(de\014nes)h(to)f(b)q(e)h(in)o(v) +o(ok)o(ed.)0 711 y(When)j(a)f(metho)q(d-de\014ning)f(form)g(is)h(ev)n +(aluated,)h(a)f(metho)q(d)f(ob)r(ject)j(is)e(created)i(and)0 +762 y(one)c(of)f(four)h(actions)g(is)g(tak)o(en:)0 827 +y Fu(.)42 836 y Fw(If)c(a)h(generic)h(function)e(of)g(the)i(giv)o(en)e +(name)g(already)h(exists)g(and)g(if)f(a)h(metho)q(d)f(ob)r(ject)42 +888 y(already)k(exists)i(that)e(agrees)i(with)f(the)g(new)h(one)f(on)f +(parameter)h(sp)q(ecializers)h(and)42 940 y(quali\014ers,)e(the)i(new)f +(metho)q(d)f(ob)r(ject)i(replaces)g(the)f(old)f(one.)22 +b(F)m(or)14 b(a)h(de\014nition)f(of)42 991 y(one)e(metho)q(d)g +(agreeing)g(with)h(another)g(on)f(parameter)g(sp)q(ecializers)i(and)e +(quali\014ers,)42 1043 y(see)j(section)f(28.1.6.3.)0 +1120 y Fu(.)42 1129 y Fw(If)k(a)g(generic)h(function)f(of)g(the)h(giv)o +(en)f(name)g(already)g(exists)h(and)f(if)g(there)i(is)e(no)42 +1181 y(metho)q(d)12 b(ob)r(ject)i(that)g(agrees)g(with)f(the)h(new)g +(one)g(on)f(parameter)g(sp)q(ecializers)i(and)42 1233 +y(quali\014ers,)j(the)h(existing)f(generic)h(function)f(ob)r(ject)h(is) +f(mo)q(di\014ed)f(to)h(con)o(tain)g(the)42 1284 y(new)c(metho)q(d)f(ob) +r(ject.)0 1361 y Fu(.)42 1370 y Fw(If)e(the)i(giv)o(en)e(name)g(names)g +(a)h(non-generic)h(function,)e(a)h(macro,)f(or)h(a)g(sp)q(ecial)g +(form,)42 1422 y(an)h(error)i(is)f(signaled.)0 1498 y +Fu(.)42 1507 y Fw(Otherwise)i(a)f(generic)i(function)e(is)g(created)h +(with)f(the)h(metho)q(ds)f(sp)q(eci\014ed)i(b)o(y)e(the)42 +1559 y(metho)q(d-de\014ning)d(form.)42 1632 y(If)20 b(the)h(lam)o(b)q +(da-list)d(of)j(a)f(new)h(metho)q(d)f(is)h(not)g(congruen)o(t)g(with)g +(the)g(lam)o(b)q(da-)0 1684 y(list)c(of)f(the)i(generic)g(function,)f +(an)g(error)h(is)f(signaled.)28 b(If)16 b(a)h(metho)q(d-de\014ning)f +(form)0 1736 y(that)g(cannot)h(sp)q(ecify)f(generic)h(function)f +(options)g(creates)i(a)e(new)g(generic)h(function,)0 +1788 y(a)c(lam)o(b)q(da-list)d(for)j(that)g(generic)h(function)f(is)g +(deriv)o(ed)h(from)d(the)j(lam)o(b)q(da-lists)d(of)h(the)0 +1840 y(metho)q(ds)i(in)g(the)h(metho)q(d-de\014ning)f(form)f(in)h(suc)o +(h)h(a)g(w)o(a)o(y)e(as)i(to)f(b)q(e)i(congruen)o(t)f(with)0 +1892 y(them.)i(F)m(or)d(a)f(discussion)i(of)e Fv(c)n(ongruenc)n(e)p +Fw(,)h(see)h(section)g(28.1.6.4.)42 1944 y(Eac)o(h)20 +b(metho)q(d)f(has)i(a)f Fv(sp)n(e)n(cialize)n(d)g(lamb)n(da-list)p +Fw(,)g(whic)o(h)g(determines)h(when)g(that)0 1996 y(metho)q(d)12 +b(can)h(b)q(e)h(applied.)j(A)c(sp)q(ecialized)h(lam)o(b)q(da-li)o(st)d +(is)i(lik)o(e)f(an)h(ordinary)f(lam)o(b)q(da-)0 2048 +y(list)19 b(except)i(that)e(a)g Fv(sp)n(e)n(cialize)n(d)g(p)n(ar)n +(ameter)k Fw(ma)o(y)18 b(o)q(ccur)i(instead)g(of)e(the)i(name)e(of)0 +2100 y(a)23 b(required)i(parameter.)46 b(A)23 b(sp)q(ecialized)i +(parameter)e(is)g(a)g(list)g Fs(\()p Fv(variable)p Fs(-)p +Fv(name)0 2152 y(p)n(ar)n(ameter)p Fs(-)p Fv(sp)n(e)n(cializer)p +Fs(-)p Fv(name)s Fs(\))p Fw(,)c(where)j Fv(p)n(ar)n(ameter-sp)n(e)n +(cializer-name)f Fw(is)f(either)h(a)0 2204 y(name)12 +b(that)h(names)f(a)h(class)h(or)f(a)g(list)f Fs(\(eql)21 +b Fv(form)s Fs(\))p Fw(.)c(A)c(parameter)g(sp)q(ecializer)h(name)0 +2255 y(denotes)h(a)f(parameter)f(sp)q(ecializer)i(as)f(follo)o(ws:)0 +2320 y Fu(.)42 2329 y Fw(A)f(name)g(that)h(names)f(a)h(class)g(denotes) +h(that)f(class.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 854 878 +854 877 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(854)77 b(COMMON)13 +b(LISP)0 286 y Fu(.)42 295 y Fw(The)h(list)g Fs(\(eql)21 +b Fv(form)s Fs(\))13 b Fw(denotes)j(the)f(t)o(yp)q(e)g(sp)q(eci\014er)h +Fs(\(eql)21 b Fv(obje)n(ct)t Fs(\))p Fw(,)13 b(where)j +Fv(obje)n(ct)42 347 y Fw(is)e(the)h(result)h(of)e(ev)n(aluating)f +Fv(form)s Fw(.)20 b(The)15 b(form)e Fv(form)k Fw(is)e(ev)n(aluated)f +(in)g(the)i(lexical)42 399 y(en)o(vironmen)o(t)h(in)h(whic)o(h)g(the)h +(metho)q(d-de\014ning)f(form)e(is)i(ev)n(aluated.)32 +b(Note)19 b(that)42 450 y Fv(form)g Fw(is)d(ev)n(aluated)h(only)e +(once,)j(at)f(the)g(time)e(the)i(metho)q(d)f(is)h(de\014ned,)h(not)e +(eac)o(h)42 502 y(time)c(the)j(generic)f(function)g(is)g(called.)42 +604 y(P)o(arameter)g(sp)q(ecializer)i(names)e(are)h(used)h(in)e(macros) +g(in)o(tended)i(as)f(the)g(user-lev)o(el)0 656 y(in)o(terface)e(\()p +Fs(defmethod)p Fw(\),)d(while)i(parameter)f(sp)q(ecializers)j(are)e +(used)h(in)f(the)h(functional)0 708 y(in)o(terface.)42 +762 y([It)20 b(is)g(v)o(ery)h(imp)q(ortan)o(t)e(to)h(understand)i +(clearly)e(the)i(distinction)e(made)f(in)h(the)0 814 +y(preceding)e(paragraph.)25 b(A)17 b(parameter)f(sp)q(ecializer)h(name) +f(has)g(the)h(form)e(of)h(a)g(t)o(yp)q(e)0 866 y(sp)q(eci\014er)e(but)f +(is)g(seman)o(tically)d(quite)j(di\013eren)o(t)h(from)d(a)h(t)o(yp)q(e) +h(sp)q(eci\014er:)20 b(a)12 b(parameter)0 918 y(sp)q(ecializer)g(name)e +(of)h(the)g(form)f Fs(\(eql)20 b Fv(form)s Fs(\))11 b +Fw(is)g(not)g(a)g(t)o(yp)q(e)g(sp)q(eci\014er,)i(for)e(it)g(con)o +(tains)0 970 y(a)j Fv(form)i Fw(to)e(b)q(e)h(ev)n(aluated.)j(T)o(yp)q +(e)d(sp)q(eci\014ers)h(nev)o(er)f(con)o(tain)e(forms)g(to)h(b)q(e)g(ev) +n(aluated.)0 1021 y(All)j(parameter)h(sp)q(ecializers)h(\(as)f(opp)q +(osed)h(to)f(parameter)f(sp)q(ecializer)i(names\))e(are)0 +1073 y(v)n(alid)8 b(t)o(yp)q(e)i(sp)q(eci\014ers,)i(but)e(not)f(all)f +(t)o(yp)q(e)i(sp)q(eci\014ers)i(are)e(v)n(alid)e(parameter)h(sp)q +(ecializers.)0 1125 y(Macros)h(suc)o(h)h(as)f Fs(defmethod)e +Fw(tak)o(e)h(parameter)h(sp)q(ecializer)h(names)e(and)g(treat)i(them)e +(as)0 1177 y(sp)q(eci\014cations)15 b(for)e(constructing)i(certain)f(t) +o(yp)q(e)g(sp)q(eci\014ers)i(\(parameter)d(sp)q(ecializers\))0 +1229 y(that)h(ma)o(y)e(then)i(b)q(e)h(used)g(with)e(suc)o(h)i +(functions)f(as)g Fs(find-method)p Fw(.|G)o(LS])42 1283 +y(Only)d(required)i(parameters)f(ma)o(y)e(b)q(e)j(sp)q(ecialized,)g +(and)e(there)j(m)o(ust)d(b)q(e)h(a)g(parame-)0 1335 y(ter)i(sp)q +(ecializer)h(for)e(eac)o(h)h(required)h(parameter.)i(F)m(or)d +(notational)e(simplicit)o(y)m(,)e(if)j(some)0 1387 y(required)j +(parameter)e(in)h(a)f(sp)q(ecialized)i(lam)o(b)q(da-list)c(in)i(a)h +(metho)q(d-de\014ning)f(form)f(is)0 1439 y(simply)f(a)h(v)n(ariable)g +(name,)f(its)h(parameter)h(sp)q(ecializer)g(defaults)g(to)f(the)i +(class)f(named)0 1491 y Fs(t)p Fw(.)42 1545 y(Giv)o(en)h(a)i(generic)g +(function)g(and)f(a)g(set)i(of)e(argumen)o(ts,)g(an)g +Fv(applic)n(able)i(metho)n(d)j Fw(is)0 1597 y(a)14 b(metho)q(d)f(for)g +(that)h(generic)h(function)e(whose)i(parameter)f(sp)q(ecializers)h(are) +f(satis\014ed)0 1649 y(b)o(y)19 b(their)h(corresp)q(onding)h(argumen)o +(ts.)34 b(The)20 b(follo)o(wing)d(de\014nition)i(sp)q(eci\014es)j(what) +0 1701 y(it)e(means)f(for)g(a)h(metho)q(d)f(to)h(b)q(e)g(applicable)g +(and)f(for)h(an)g(argumen)o(t)f(to)g(satisfy)h(a)0 1753 +y(parameter)14 b(sp)q(ecializer.)42 1807 y(Let)g Ft(h)p +Fv(A)163 1813 y Fk(1)182 1807 y Fh(;)7 b(:)g(:)g(:)e(;)i +Fv(A)306 1813 y Fi(n)326 1807 y Ft(i)14 b Fw(b)q(e)h(the)g(required)g +(argumen)o(ts)e(to)h(a)g(generic)h(function)f(in)f(order.)0 +1859 y(Let)i Ft(h)p Fv(P)119 1865 y Fk(1)138 1859 y Fh(;)7 +b(:)g(:)g(:)e(;)i Fv(P)259 1865 y Fi(n)280 1859 y Ft(i)14 +b Fw(b)q(e)h(the)g(parameter)f(sp)q(ecializers)i(corresp)q(onding)f(to) +g(the)g(required)0 1911 y(parameters)d(of)g(the)g(metho)q(d)g +Fv(M)g Fw(in)f(order.)19 b(The)12 b(metho)q(d)f Fv(M)i +Fw(is)f Fv(applic)n(able)j Fw(when)d(eac)o(h)0 1963 y +Fv(A)31 1969 y Fi(i)57 1963 y Fv(satis\014es)17 b(P)243 +1969 y Fi(i)256 1963 y Fw(.)h(If)13 b Fv(P)355 1969 y +Fi(i)381 1963 y Fw(is)g(a)g(class,)h(and)f(if)g Fv(A)714 +1969 y Fi(i)740 1963 y Fw(is)g(an)g(instance)h(of)f(a)g(class)h +Fv(C)p Fw(,)f(then)h(it)f(is)0 2015 y(said)f(that)g Fv(A)203 +2021 y Fi(i)227 2015 y Fv(satis\014es)k(P)412 2021 y +Fi(i)437 2015 y Fw(when)c Fh(C)i Fw(=)e Fv(P)659 2021 +y Fi(i)684 2015 y Fw(or)g(when)h Fv(C)e Fw(is)h(a)g(sub)q(class)h(of)f +Fv(P)1187 2021 y Fi(i)1200 2015 y Fw(.)17 b(If)12 b Fv(P)1297 +2021 y Fi(i)1321 2015 y Fw(is)g(of)0 2067 y(the)k(form)d +Fs(\(eql)20 b Fv(obje)n(ct)t Fs(\))p Fw(,)15 b(then)h(it)e(is)h(said)g +(that)g Fv(A)826 2073 y Fi(i)854 2067 y Fw(satis\014es)h +Fv(P)1036 2073 y Fi(i)1064 2067 y Fw(when)f(the)h(function)0 +2119 y Fs(eql)d Fw(applied)h(to)f Fv(A)306 2125 y Fi(i)333 +2119 y Fw(and)g Fv(obje)n(ct)h Fw(is)g(true.)42 2173 +y(Because)h(a)f(parameter)g(sp)q(ecializer)g(is)g(a)g(t)o(yp)q(e)g(sp)q +(eci\014er,)i(the)e(function)g Fs(typep)f Fw(can)0 2225 +y(b)q(e)i(used)g(during)g(metho)q(d)e(selection)i(to)g(determine)f +(whether)i(an)e(argumen)o(t)g(satis\014es)0 2277 y(a)g(parameter)h(sp)q +(ecializer.)21 b(In)15 b(general)g(a)f(parameter)h(sp)q(ecializer)h +(cannot)e(b)q(e)i(a)e(t)o(yp)q(e)0 2329 y(sp)q(eci\014er)j(list,)d(suc) +o(h)i(as)f Fs(\(vector)20 b(single-float\))p Fw(.)e(The)e(only)e +(parameter)h(sp)q(ecial-)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 855 879 +855 878 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(855)0 295 y Fw(izer)12 b(that)f(can)g(b)q(e)h(a)f(list)f +(is)h Fs(\(eql)21 b Fv(obje)n(ct)t Fs(\))p Fw(.)16 b(This)11 +b(requires)i(that)e(Common)d(Lisp)j(de\014ne)0 347 y(the)j(t)o(yp)q(e)h +(sp)q(eci\014er)h Fs(eql)d Fw(as)h(if)f(the)h(follo)o(wing)e(w)o(ere)i +(ev)n(aluated:)0 430 y Fs(\(deftype)20 b(eql)g(\()p Fv(obje)n(ct)t +Fs(\))451 434 y Fn(`)475 430 y Fs(\(member)g(,)p Fv(obje)n(ct)t +Fs(\)\))0 514 y Fw([See)14 b(section)h(4.3.|GLS])42 566 +y(A)20 b(metho)q(d)g(all)f(of)h(whose)h(parameter)f(sp)q(ecializers)i +(are)f(the)g(class)g(named)f Fs(t)g Fw(is)0 617 y(called)e(a)f +Fv(default)i(metho)n(d)p Fw(;)g(it)f(is)f(alw)o(a)o(ys)g(applicable)g +(but)h(ma)o(y)e(b)q(e)i(shado)o(w)o(ed)g(b)o(y)g(a)0 +669 y(more)13 b(sp)q(eci\014c)i(metho)q(d.)42 721 y(Metho)q(ds)d(can)g +(ha)o(v)o(e)g Fv(quali\014ers)p Fw(,)f(whic)o(h)g(giv)o(e)h(the)g +(metho)q(d)f(com)o(bination)e(pro)q(cedure)0 773 y(a)15 +b(w)o(a)o(y)f(to)h(distinguish)f(among)f(metho)q(ds.)21 +b(A)15 b(metho)q(d)f(that)h(has)g(one)g(or)g(more)f(qual-)0 +825 y(i\014ers)j(is)g(called)f(a)g Fv(quali\014e)n(d)21 +b Fw(metho)q(d.)26 b(A)16 b(metho)q(d)g(with)g(no)h(quali\014ers)f(is)h +(called)f(an)0 877 y Fv(unquali\014e)n(d)j(metho)n(d)p +Fw(.)28 b(A)17 b(quali\014er)f(is)h(an)o(y)g(ob)r(ject)h(other)f(than)g +(a)g(list,)g(that)g(is,)g(an)o(y)0 929 y(non-)p Fs(nil)e +Fw(atom.)22 b(The)17 b(quali\014ers)e(de\014ned)i(b)o(y)f(standard)g +(metho)q(d)f(com)o(bination)f(and)0 981 y(b)o(y)g(the)g(built-in)f +(metho)q(d)g(com)o(bination)e(t)o(yp)q(es)k(are)f(sym)o(b)q(ols.)42 +1033 y(In)i(this)g(sp)q(eci\014cation,)h(the)g(terms)f +Fv(primary)h(metho)n(d)k Fw(and)16 b Fv(auxiliary)g(metho)n(d)21 +b Fw(are)0 1084 y(used)e(to)f(partition)f(metho)q(ds)g(within)g(a)h +(metho)q(d)f(com)o(bination)e(t)o(yp)q(e)k(according)f(to)0 +1136 y(their)f(in)o(tended)h(use.)27 b(In)17 b(standard)g(metho)q(d)f +(com)o(bination,)f(primary)g(metho)q(ds)h(are)0 1188 +y(unquali\014ed)d(metho)q(ds,)g(and)g(auxiliary)f(metho)q(ds)h(are)h +(metho)q(ds)f(with)h(a)f(single)g(quali-)0 1240 y(\014er)f(that)f(is)g +(one)h(of)f Fs(:around)p Fw(,)e Fs(:before)p Fw(,)h(or)h +Fs(:after)p Fw(.)16 b(When)c(a)f(metho)q(d)f(com)o(bination)0 +1292 y(t)o(yp)q(e)h(is)f(de\014ned)i(using)e(the)h(short)g(form)e(of)h +Fs(define-method-com)o(binat)o(ion)p Fw(,)d(primary)0 +1344 y(metho)q(ds)15 b(are)g(metho)q(ds)g(quali\014ed)f(with)h(the)h +(name)e(of)g(the)i(t)o(yp)q(e)g(of)e(metho)q(d)h(com)o(bi-)0 +1396 y(nation,)i(and)h(auxiliary)d(metho)q(ds)i(ha)o(v)o(e)h(the)g +(quali\014er)f Fs(:around)p Fw(.)27 b(Th)o(us)18 b(the)g(terms)0 +1448 y Fv(primary)13 b(metho)n(d)k Fw(and)c Fv(auxiliary)g(metho)n(d)k +Fw(ha)o(v)o(e)12 b(only)g(a)h(relativ)o(e)f(de\014nition)g(within)g(a)0 +1500 y(giv)o(en)h(metho)q(d)g(com)o(bination)f(t)o(yp)q(e.)0 +1638 y Fo(28.1.6.3.)20 b(Agreemen)n(t)13 b(on)k(P)n(arameter)d(Sp)r +(ecializers)g(and)i(Qual-)224 1696 y(i\014ers)0 1778 +y Fw(Tw)o(o)c(metho)q(ds)g(are)h(said)f(to)h(agree)g(with)f(eac)o(h)h +(other)g(on)g(parameter)f(sp)q(ecializers)i(and)0 1830 +y(quali\014ers)g(if)f(the)h(follo)o(wing)e(conditions)h(hold:)0 +1889 y Fu(.)42 1898 y Fw(Both)h(metho)q(ds)f(ha)o(v)o(e)g(the)i(same)e +(n)o(um)o(b)q(er)g(of)g(required)h(parameters.)k(Supp)q(ose)d(the)42 +1950 y(parameter)c(sp)q(ecializers)i(of)e(the)h(t)o(w)o(o)f(metho)q(ds) +g(are)h Fv(P)902 1956 y Fk(1)p Fg(;)p Fk(1)954 1950 y +Fh(:)7 b(:)g(:)e(P)1036 1956 y Fk(1)p Fg(;)p Fi(n)1095 +1950 y Fw(and)11 b Fv(P)1201 1956 y Fk(2)p Fg(;)p Fk(1)1254 +1950 y Fh(:)c(:)g(:)e(P)1336 1956 y Fk(2)p Fg(;)p Fi(n)1383 +1950 y Fw(.)0 2022 y Fu(.)42 2031 y Fw(F)m(or)15 b(eac)o(h)h(1)f +Ft(\024)g Fv(i)j Ft(\024)d Fv(n)s Fw(,)i Fv(P)457 2037 +y Fk(1)p Fg(;)p Fi(i)512 2031 y Fw(agrees)f(with)g Fv(P)763 +2037 y Fk(2)p Fg(;)p Fi(i)802 2031 y Fw(.)24 b(The)16 +b(parameter)g(sp)q(ecializer)g Fv(P)1355 2037 y Fk(1)p +Fg(;)p Fi(i)42 2083 y Fw(agrees)11 b(with)f Fv(P)282 +2089 y Fk(2)p Fg(;)p Fi(i)332 2083 y Fw(if)f Fv(P)394 +2089 y Fk(1)p Fg(;)p Fi(i)444 2083 y Fw(and)h Fv(P)549 +2089 y Fk(2)p Fg(;)p Fi(i)599 2083 y Fw(are)h(the)g(same)e(class)i(or)f +(if)g Fv(P)1037 2089 y Fk(1)p Fg(;)p Fi(i)1088 2083 y +Fw(=)i Fs(\(eql)20 b Fv(obje)n(ct)1343 2093 y Fk(1)1361 +2083 y Fs(\))p Fw(,)42 2135 y Fv(P)70 2141 y Fk(2)p Fg(;)p +Fi(i)124 2135 y Fw(=)15 b Fs(\(eql)20 b Fv(obje)n(ct)382 +2145 y Fk(2)401 2135 y Fs(\))o Fw(,)c(and)g Fs(\(eql)k +Fv(obje)n(ct)744 2145 y Fk(1)784 2135 y Fv(obje)n(ct)887 +2145 y Fk(2)906 2135 y Fs(\))p Fw(.)j(Otherwise)18 b +Fv(P)1190 2141 y Fk(1)p Fg(;)p Fi(i)1245 2135 y Fw(and)d +Fv(P)1355 2141 y Fk(2)p Fg(;)p Fi(i)42 2187 y Fw(do)e(not)h(agree.)0 +2259 y Fu(.)42 2268 y Fw(The)g(lists)h(of)f(quali\014ers)g(of)g(b)q +(oth)g(metho)q(ds)g(con)o(tain)g(the)h(same)f(non-)p +Fs(nil)f Fw(atoms)g(in)42 2320 y(the)h(same)f(order.)19 +b(That)14 b(is,)f(the)h(lists)g(are)g Fs(equal)p Fw(.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 856 880 +856 879 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(856)77 b(COMMON)13 +b(LISP)0 295 y Fo(28.1.6.4.)20 b(Congruen)n(t)15 b(Lam)n(b)r(da-Lists)e +(for)i(All)f(Metho)r(ds)h(of)g(a)224 353 y(Generic)e(F)-5 +b(unction)0 444 y Fw(These)23 b(rules)g(de\014ne)g(the)g(congruence)h +(of)d(a)h(set)h(of)f(lam)o(b)q(da-li)o(sts,)g(including)f(the)0 +496 y(lam)o(b)q(da-list)13 b(of)i(eac)o(h)h(metho)q(d)f(for)h(a)f(giv)o +(en)g(generic)i(function)f(and)f(the)i(lam)o(b)q(da-li)o(st)0 +548 y(sp)q(eci\014ed)e(for)f(the)g(generic)h(function)f(itself,)f(if)g +(giv)o(en.)0 613 y Fu(.)42 622 y Fw(Eac)o(h)h(lam)o(b)q(da-li)o(st)e(m) +o(ust)h(ha)o(v)o(e)g(the)i(same)e(n)o(um)o(b)q(er)g(of)g(required)i +(parameters.)0 700 y Fu(.)42 709 y Fw(Eac)o(h)c(lam)o(b)q(da-list)e(m)o +(ust)i(ha)o(v)o(e)g(the)h(same)f(n)o(um)o(b)q(er)g(of)g(optional)f +(parameters.)17 b(Eac)o(h)42 761 y(metho)q(d)c(can)h(supply)g(its)f(o)o +(wn)h(default)f(for)h(an)g(optional)e(parameter.)0 838 +y Fu(.)42 847 y Fw(If)g(an)o(y)h(lam)o(b)q(da-list)e(men)o(tions)h +Fs(&rest)g Fw(or)h Fs(&key)p Fw(,)f(eac)o(h)i(lam)o(b)q(da-li)o(st)d(m) +o(ust)h(men)o(tion)42 899 y(one)i(or)f(b)q(oth)h(of)g(them.)0 +976 y Fu(.)42 985 y Fw(If)c(the)h(generic)h(function)e(lam)o(b)q +(da-list)e(men)o(tions)h Fs(&key)p Fw(,)h(eac)o(h)h(metho)q(d)f(m)o +(ust)f(accept)42 1037 y(all)14 b(of)h(the)i(k)o(eyw)o(ord)e(names)g +(men)o(tioned)g(after)h Fs(&key)p Fw(,)f(either)i(b)o(y)e(accepting)i +(them)42 1089 y(explicitly)m(,)f(b)o(y)i(sp)q(ecifying)f +Fs(&allow-other-keys)p Fw(,)e(or)j(b)o(y)f(sp)q(ecifying)h +Fs(&rest)f Fw(but)42 1141 y(not)g Fs(&key)p Fw(.)30 b(Eac)o(h)18 +b(metho)q(d)f(can)i(accept)g(additional)d(k)o(eyw)o(ord)i(argumen)o(ts) +f(of)h(its)42 1193 y(o)o(wn.)g(The)d(c)o(hec)o(king)f(of)g(the)h(v)n +(alidit)o(y)d(of)h(k)o(eyw)o(ord)h(names)g(is)g(done)g(in)g(the)h +(generic)42 1245 y(function,)21 b(not)g(in)f(eac)o(h)h(metho)q(d.)38 +b(A)21 b(metho)q(d)e(is)i(in)o(v)o(ok)o(ed)f(as)h(if)e(the)j(k)o(eyw)o +(ord)42 1297 y(argumen)o(t)12 b(pair)h(whose)h(k)o(eyw)o(ord)f(is)h +Fs(:allow-other-key)o(s)d Fw(and)i(whose)h(v)n(alue)f(is)g +Fs(t)42 1349 y Fw(w)o(ere)h(supplied,)g(though)g(no)f(suc)o(h)i +(argumen)o(t)e(pair)g(will)f(b)q(e)j(passed.)0 1426 y +Fu(.)42 1435 y Fw(The)e(use)g(of)g Fs(&allow-other-key)o(s)d +Fw(need)k(not)f(b)q(e)g(consisten)o(t)h(across)g(lam)o(b)q(da-li)o +(sts.)42 1487 y(If)j Fs(&allow-other-keys)e Fw(is)j(men)o(tioned)f(in)h +(the)h(lam)o(b)q(da-list)c(of)j(an)o(y)g(applicable)42 +1539 y(metho)q(d)e(or)h(of)g(the)g(generic)h(function,)g(an)o(y)e(k)o +(eyw)o(ord)h(argumen)o(ts)g(ma)o(y)e(b)q(e)j(men-)42 +1591 y(tioned)13 b(in)h(the)g(call)f(to)h(the)h(generic)f(function.)0 +1668 y Fu(.)42 1677 y Fw(The)g(use)h(of)e Fs(&aux)g Fw(need)i(not)f(b)q +(e)g(consisten)o(t)h(across)g(metho)q(ds.)42 1752 y(If)d(a)h(metho)q +(d-de\014ning)f(form)f(that)i(cannot)h(sp)q(ecify)f(generic)h(function) +f(options)g(cre-)0 1804 y(ates)j(a)f(generic)h(function,)e(and)h(if)f +(the)i(lam)o(b)q(da-list)c(for)j(the)h(metho)q(d)e(men)o(tions)g(k)o +(ey-)0 1856 y(w)o(ord)k(argumen)o(ts,)g(the)g(lam)o(b)q(da-list)d(of)j +(the)g(generic)h(function)f(will)e(men)o(tion)h Fs(&key)0 +1907 y Fw(\(but)d(no)g(k)o(eyw)o(ord)g(argumen)o(ts\).)0 +2076 y Fo(28.1.6.5.)20 b(Keyw)n(ord)j(Argumen)n(ts)g(in)h(Generic)e(F) +-5 b(unctions)24 b(and)224 2134 y(Metho)r(ds)0 2225 y +Fw(When)11 b(a)f(generic)i(function)e(or)h(an)o(y)f(of)g(its)h(metho)q +(ds)f(men)o(tions)g Fs(&key)f Fw(in)i(a)f(lam)o(b)q(da-list,)0 +2277 y(the)k(sp)q(eci\014c)h(set)f(of)f(k)o(eyw)o(ord)g(argumen)o(ts)g +(accepted)i(b)o(y)e(the)h(generic)h(function)e(v)n(aries)0 +2329 y(according)f(to)h(the)g(applicable)e(metho)q(ds.)17 +b(The)c(set)g(of)f(k)o(eyw)o(ord)g(argumen)o(ts)g(accepted)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 857 881 +857 880 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(857)0 295 y Fw(b)o(y)13 b(the)h(generic)g(function)f(for) +g(a)g(particular)g(call)f(is)h(the)h(union)f(of)f(the)i(k)o(eyw)o(ord)f +(argu-)0 347 y(men)o(ts)i(accepted)i(b)o(y)e(all)g(applicable)f(metho)q +(ds)h(and)h(the)g(k)o(eyw)o(ord)f(argumen)o(ts)g(men-)0 +399 y(tioned)i(after)h Fs(&key)e Fw(in)h(the)h(generic)g(function)f +(de\014nition,)g(if)g(an)o(y)m(.)27 b(A)17 b(metho)q(d)g(that)0 +450 y(has)f Fs(&rest)e Fw(but)i(not)g Fs(&key)e Fw(do)q(es)j(not)e +(a\013ect)i(the)f(set)h(of)e(acceptable)i(k)o(eyw)o(ord)e(argu-)0 +502 y(men)o(ts.)i(If)c(the)h(lam)o(b)q(da-list)d(of)i(an)o(y)g +(applicable)g(metho)q(d)f(or)i(of)f(the)h(generic)g(function)0 +554 y(de\014nition)g(con)o(tains)g Fs(&allow-other-keys)o +Fw(,)d(all)i(k)o(eyw)o(ord)h(argumen)o(ts)f(are)i(accepted)0 +606 y(b)o(y)f(the)g(generic)h(function.)42 2069 y(The)c(lam)o(b)q +(da-list)e(congruence)k(rules)e(require)h(that)g(eac)o(h)g(metho)q(d)e +(accept)i(all)e(of)h(the)0 2121 y(k)o(eyw)o(ord)f(argumen)o(ts)g(men)o +(tioned)f(after)i Fs(&key)e Fw(in)h(the)h(generic)g(function)f +(de\014nition,)g(b)o(y)0 2173 y(accepting)i(them)f(explicitly)m(,)f(b)o +(y)h(sp)q(ecifying)h Fs(&allow-other-keys)o Fw(,)d(or)i(b)o(y)h(sp)q +(ecifying)0 2225 y Fs(&rest)h Fw(but)g(not)h Fs(&key)p +Fw(.)j(Eac)o(h)d(metho)q(d)f(can)g(accept)i(additional)d(k)o(eyw)o(ord) +h(argumen)o(ts)0 2277 y(of)k(its)g(o)o(wn,)g(in)g(addition)g(to)g(the)h +(k)o(eyw)o(ord)f(argumen)o(ts)g(men)o(tioned)f(in)h(the)h(generic)0 +2329 y(function)c(de\014nition.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 858 882 +858 881 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(858)77 b(COMMON)13 +b(LISP)42 295 y Fw(If)21 b(a)g(generic)i(function)e(is)h(passed)h(a)e +(k)o(eyw)o(ord)h(argumen)o(t)e(that)i(no)g(applicable)0 +347 y(metho)q(d)13 b(accepts,)i(an)f(error)h(is)e(signaled.)42 +399 y(F)m(or)g(example,)f(supp)q(ose)j(there)g(are)g(t)o(w)o(o)e(metho) +q(ds)h(de\014ned)h(for)e Fs(width)g Fw(as)h(follo)o(ws:)0 +481 y Fs(\(defmethod)19 b(width)h(\(\(c)h(character-class\))d(&key)i +(font\))g(...\))0 585 y(\(defmethod)f(width)h(\(\(p)h(picture-class\))d +(&key)i(pixel-size\))f(...\))0 667 y Fw(Assume)11 b(that)g(there)h(are) +g(no)f(other)g(metho)q(ds)g(and)g(no)g(generic)h(function)e +(de\014nition)h(for)0 719 y Fs(width)p Fw(.)19 b(The)d(ev)n(aluation)d +(of)h(the)h(follo)o(wing)e(form)g(will)g(signal)h(an)g(error)i(b)q +(ecause)g(the)0 771 y(k)o(eyw)o(ord)e(argumen)o(t)f Fs(:pixel-size)e +Fw(is)j(not)g(accepted)h(b)o(y)f(the)h(applicable)e(metho)q(d.)0 +853 y Fs(\(width)20 b(\(make-instance)476 857 y Fn(')499 +853 y Fs(character-class)e(:char)j(#)978 849 y(-)978 +857 y(-)999 853 y(\\Q\))148 905 y(:font)276 909 y Fn(')300 +905 y Fs(baskerville)d(:pixel-size)h(10\))42 987 y Fw(The)14 +b(ev)n(aluation)e(of)i(the)g(follo)o(wing)d(form)h(will)h(signal)g(an)g +(error.)0 1070 y Fs(\(width)20 b(\(make-instance)476 +1074 y Fn(')499 1070 y Fs(picture-class)f(:glyph)h(\(glyph)g(#)1108 +1066 y(-)1108 1074 y(-)1130 1070 y(\\Q\)\))148 1122 y(:font)276 +1126 y Fn(')300 1122 y Fs(baskerville)e(:pixel-size)h(10\))42 +1204 y Fw(The)f(ev)n(aluation)f(of)g(the)i(follo)o(wing)c(form)h(will)h +(not)h(signal)f(an)h(error)g(if)g(the)g(class)0 1256 +y(named)13 b Fs(character-pictur)o(e-cla)o(ss)e Fw(is)i(a)h(sub)q +(class)h(of)e(b)q(oth)h Fs(picture-class)d Fw(and)0 1308 +y Fs(character-class)p Fw(.)0 1390 y Fs(\(width)20 b(\(make-instance) +476 1394 y Fn(')499 1390 y Fs(character-picture-c)o(lass)e(:char)i(#) +1152 1386 y(-)1152 1394 y(-)1174 1390 y(\\Q\))148 1442 +y(:font)276 1446 y Fn(')300 1442 y Fs(baskerville)e(:pixel-size)h(10\)) +0 1572 y Fo(28.1.7.)h(Metho)r(d)14 b(Selection)f(and)j(Com)n(bination)0 +1652 y Fw(When)g(a)g(generic)h(function)f(is)g(called)g(with)g +(particular)g(argumen)o(ts,)g(it)f(m)o(ust)h(deter-)0 +1704 y(mine)e(the)i(co)q(de)h(to)e(execute.)25 b(This)15 +b(co)q(de)h(is)g(called)f(the)h Fv(e\013e)n(ctive)h(metho)n(d)j +Fw(for)15 b(those)0 1756 y(argumen)o(ts.)i(The)d(e\013ectiv)o(e)i +(metho)q(d)c(is)i(a)f Fv(c)n(ombination)18 b Fw(of)13 +b(the)h(applicable)f(metho)q(ds)0 1808 y(in)i(the)g(generic)h +(function.)21 b(A)15 b(com)o(bination)e(of)h(metho)q(ds)h(is)g(a)g +(Lisp)f(expression)j(that)0 1859 y(con)o(tains)12 b(calls)f(to)g(some)g +(or)h(all)e(of)h(the)i(metho)q(ds.)j(If)c(a)f(generic)i(function)e(is)g +(called)h(and)0 1911 y(no)i(metho)q(ds)f(apply)m(,)f(the)j(generic)g +(function)e Fs(no-applicable-meth)o(od)e Fw(is)j(in)o(v)o(ok)o(ed.)42 +1963 y(When)19 b(the)h(e\013ectiv)o(e)h(metho)q(d)e(has)g(b)q(een)i +(determined,)f(it)f(is)g(in)o(v)o(ok)o(ed)g(with)g(the)0 +2015 y(same)12 b(argumen)o(ts)g(that)g(w)o(ere)i(passed)g(to)e(the)i +(generic)f(function.)18 b(Whatev)o(er)13 b(v)n(alues)f(it)0 +2067 y(returns)j(are)g(returned)g(as)f(the)h(v)n(alues)e(of)h(the)g +(generic)h(function.)0 2197 y Fo(28.1.7.1.)20 b(Determini)o(ng)12 +b(the)j(E\013ectiv)n(e)e(Metho)r(d)0 2277 y Fw(The)k(e\013ectiv)o(e)i +(metho)q(d)d(for)g(a)h(set)h(of)e(argumen)o(ts)g(is)h(determined)g(b)o +(y)g(the)g(follo)o(wing)0 2329 y(three-step)f(pro)q(cedure:)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 859 883 +859 882 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(859)0 295 y Fw(1.)9 b(Select)14 b(the)h(applicable)e +(metho)q(ds.)0 387 y(2.)c(Sort)j(the)i(applicable)e(metho)q(ds)g(b)o(y) +h(precedence)j(order,)d(putting)f(the)i(most)d(sp)q(eci\014c)42 +439 y(metho)q(d)i(\014rst.)0 531 y(3.)c(Apply)16 b(metho)q(d)g(com)o +(bination)e(to)i(the)i(sorted)f(list)g(of)f(applicable)f(metho)q(ds,)i +(pro-)42 582 y(ducing)c(the)i(e\013ectiv)o(e)g(metho)q(d.)42 +663 y Fz(Selecting)22 b(the)i(Applicable)e(Metho)q(ds.)41 +b Fw(This)22 b(step)h(is)f(describ)q(ed)h(in)f(sec-)0 +715 y(tion)13 b(28.1.6.2.)42 768 y Fz(Sorting)d(the)i(Applicable)e +(Metho)q(ds)i(b)o(y)g(Precedence)f(Order.)17 b Fw(T)m(o)10 +b(compare)0 819 y(the)15 b(precedence)i(of)d(t)o(w)o(o)g(metho)q(ds,)g +(their)g(parameter)h(sp)q(ecializers)g(are)g(examined)e(in)0 +871 y(order.)29 b(The)18 b(default)f(examination)e(order)j(is)g(from)d +(left)i(to)h(righ)o(t,)f(but)h(an)f(alterna-)0 923 y(tiv)o(e)e(order)i +(ma)o(y)d(b)q(e)i(sp)q(eci\014ed)h(b)o(y)e(the)i Fs(:argument-preced)o +(ence-)o(order)12 b Fw(option)j(to)0 975 y Fs(defgeneric)9 +b Fw(or)i(to)g(an)o(y)g(of)f(the)i(other)g(forms)e(that)h(sp)q(ecify)h +(generic)g(function)f(options.)42 1028 y(The)h(corresp)q(onding)i +(parameter)e(sp)q(ecializers)h(from)e(eac)o(h)i(metho)q(d)e(are)i +(compared.)0 1080 y(When)i(a)f(pair)g(of)f(parameter)h(sp)q(ecializers) +i(are)f(equal,)f(the)h(next)g(pair)f(are)g(compared)0 +1132 y(for)k(equalit)o(y)m(.)30 b(If)17 b(all)h(corresp)q(onding)h +(parameter)f(sp)q(ecializers)h(are)g(equal,)f(the)h(t)o(w)o(o)0 +1184 y(metho)q(ds)g(m)o(ust)f(ha)o(v)o(e)g(di\013eren)o(t)i +(quali\014ers;)h(in)e(this)g(case,)i(either)f(metho)q(d)e(can)h(b)q(e)0 +1235 y(selected)d(to)d(precede)j(the)f(other.)42 1288 +y(If)d(some)f(corresp)q(onding)j(parameter)e(sp)q(ecializers)i(are)f +(not)g(equal,)f(the)h(\014rst)g(pair)f(of)0 1340 y(parameter)i(sp)q +(ecializers)h(that)g(are)f(not)g(equal)g(determines)h(the)g +(precedence.)22 b(If)14 b(b)q(oth)0 1392 y(parameter)e(sp)q(ecializers) +i(are)f(classes,)g(the)g(more)f(sp)q(eci\014c)i(of)e(the)h(t)o(w)o(o)f +(metho)q(ds)g(is)g(the)0 1444 y(metho)q(d)k(whose)i(parameter)f(sp)q +(ecializer)h(app)q(ears)g(earlier)f(in)f(the)i(class)g(precedence)0 +1496 y(list)e(of)g(the)h(corresp)q(onding)g(argumen)o(t.)25 +b(Because)19 b(of)c(the)j(w)o(a)o(y)d(in)h(whic)o(h)h(the)g(set)g(of)0 +1548 y(applicable)11 b(metho)q(ds)h(is)g(c)o(hosen,)h(the)g(parameter)e +(sp)q(ecializers)j(are)e(guaran)o(teed)h(to)f(b)q(e)0 +1600 y(presen)o(t)j(in)f(the)g(class)h(precedence)i(list)c(of)g(the)i +(class)f(of)f(the)i(argumen)o(t.)42 1652 y(If)d(just)h(one)f(parameter) +h(sp)q(ecializer)g(is)g Fs(\(eql)20 b Fv(obje)n(ct)t +Fs(\))p Fw(,)12 b(the)h(metho)q(d)f(with)g(that)h(pa-)0 +1704 y(rameter)f(sp)q(ecializer)h(precedes)i(the)e(other)g(metho)q(d.)j +(If)c(b)q(oth)h(parameter)e(sp)q(ecializers)0 1756 y(are)j +Fs(eql)e Fw(forms,)g(the)i(sp)q(ecializers)g(m)o(ust)f(b)q(e)h(the)g +(same)e(\(otherwise)i(the)g(t)o(w)o(o)f(metho)q(ds)0 +1808 y(w)o(ould)g(not)h(b)q(oth)g(ha)o(v)o(e)g(b)q(een)h(applicable)e +(to)g(this)h(argumen)o(t\).)42 1861 y(The)g(resulting)g(list)g(of)f +(applicable)h(metho)q(ds)f(has)h(the)h(most)e(sp)q(eci\014c)j(metho)q +(d)d(\014rst)0 1913 y(and)h(the)g(least)g(sp)q(eci\014c)i(metho)q(d)d +(last.)42 1966 y Fz(Applying)i(Metho)q(d)i(Com)o(bination)d(to)j(the)g +(Sorted)f(List)h(of)g(Applicable)0 2017 y(Metho)q(ds.)j +Fw(In)15 b(the)g(simple)e(case|if)i(standard)g(metho)q(d)f(com)o +(bination)e(is)i(used)i(and)0 2069 y(all)9 b(applicable)h(metho)q(ds)g +(are)h(primary)e(metho)q(ds|the)h(e\013ectiv)o(e)i(metho)q(d)e(is)h +(the)g(most)0 2121 y(sp)q(eci\014c)h(metho)q(d.)k(That)10 +b(metho)q(d)g(can)h(call)f(the)h(next)g(most)e(sp)q(eci\014c)j(metho)q +(d)e(b)o(y)g(using)0 2173 y(the)18 b(function)e Fs(call-next-method)p +Fw(.)25 b(The)17 b(metho)q(d)f(that)h Fs(call-next-method)d +Fw(will)0 2225 y(call)j(is)h(referred)i(to)e(as)h(the)f +Fv(next)i(metho)n(d)p Fw(.)31 b(The)19 b(predicate)g +Fs(next-method-p)c Fw(tests)0 2277 y(whether)f(a)f(next)h(metho)q(d)e +(exists.)18 b(If)13 b Fs(call-next-method)c Fw(is)k(called)g(and)g +(there)h(is)f(no)0 2329 y(next)h(most)f(sp)q(eci\014c)i(metho)q(d,)e +(the)i(generic)f(function)g Fs(no-next-method)d Fw(is)j(in)o(v)o(ok)o +(ed.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 860 884 +860 883 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(860)77 b(COMMON)13 +b(LISP)42 295 y Fw(In)d(general,)h(the)f(e\013ectiv)o(e)i(metho)q(d)d +(is)i(some)e(com)o(bination)f(of)h(the)i(applicable)f(meth-)0 +347 y(o)q(ds.)18 b(It)11 b(is)h(de\014ned)g(b)o(y)f(a)h(Lisp)f(form)f +(that)h(con)o(tains)h(calls)f(to)g(some)g(or)h(all)e(of)h(the)h(appli-) +0 399 y(cable)i(metho)q(ds,)g(returns)h(the)g(v)n(alue)f(or)g(v)n +(alues)g(that)g(will)f(b)q(e)h(returned)i(as)f(the)f(v)n(alue)0 +450 y(or)h(v)n(alues)f(of)g(the)h(generic)h(function,)e(and)h +(optionally)d(mak)o(es)i(some)g(of)g(the)h(metho)q(ds)0 +502 y(accessible)f(b)o(y)f(means)f(of)h Fs(call-next-method)o +Fw(.)i(This)e(Lisp)g(form)e(is)i(the)h(b)q(o)q(dy)f(of)f(the)0 +554 y(e\013ectiv)o(e)j(metho)q(d;)e(it)g(is)g(augmen)o(ted)g(with)g(an) +h(appropriate)g(lam)o(b)q(da-li)o(st)d(to)j(mak)o(e)e(it)0 +606 y(a)i(function.)42 661 y(The)c(role)g(of)g(eac)o(h)h(metho)q(d)e +(in)h(the)h(e\013ectiv)o(e)h(metho)q(d)d(is)h(determined)g(b)o(y)g(its) +h(metho)q(d)0 713 y(quali\014ers)20 b(and)f(the)i(sp)q(eci\014cit)o(y)f +(of)f(the)i(metho)q(d.)35 b(A)20 b(quali\014er)f(serv)o(es)i(to)f(mark) +e(a)0 765 y(metho)q(d,)c(and)h(the)h(meaning)d(of)i(a)g(quali\014er)g +(is)g(determined)g(b)o(y)g(the)h(w)o(a)o(y)e(that)h(these)0 +817 y(marks)h(are)h(used)h(b)o(y)f(this)g(step)h(of)e(the)i(pro)q +(cedure.)29 b(If)17 b(an)f(applicable)g(metho)q(d)h(has)0 +868 y(an)12 b(unrecognized)j(quali\014er,)d(this)g(step)i(signals)e(an) +h(error)g(and)g(do)q(es)g(not)g(include)g(that)0 920 +y(metho)q(d)g(in)g(the)i(e\013ectiv)o(e)g(metho)q(d.)42 +975 y(When)f(standard)h(metho)q(d)e(com)o(bination)f(is)i(used)h +(together)g(with)f(quali\014ed)g(meth-)0 1027 y(o)q(ds,)g(the)g +(e\013ectiv)o(e)h(metho)q(d)f(is)f(pro)q(duced)i(as)f(describ)q(ed)i +(in)e(section)g(28.1.7.2.)42 1082 y(Another)c(t)o(yp)q(e)g(of)e(metho)q +(d)h(com)o(bination)e(can)i(b)q(e)h(sp)q(eci\014ed)h(b)o(y)e(using)g +(the)h Fs(:method-)0 1134 y(combination)i Fw(option)h(of)g +Fs(defgeneric)f Fw(or)i(of)f(an)o(y)h(of)f(the)i(other)g(forms)d(that)i +(sp)q(ecify)0 1186 y(generic)j(function)e(options.)23 +b(In)16 b(this)g(w)o(a)o(y)f(this)h(step)h(of)e(the)h(pro)q(cedure)i +(can)e(b)q(e)g(cus-)0 1237 y(tomized.)42 1292 y(New)i(t)o(yp)q(es)i(of) +d(metho)q(d)h(com)o(bination)e(can)i(b)q(e)h(de\014ned)h(b)o(y)e(using) +g(the)h Fs(define-)0 1344 y(method-combinatio)o(n)11 +b Fw(macro.)42 1399 y(The)19 b(meta-ob)r(ject)f(lev)o(el)h(also)f +(o\013ers)h(a)g(mec)o(hanism)d(for)j(de\014ning)f(new)i(t)o(yp)q(es)f +(of)0 1451 y(metho)q(d)c(com)o(bination.)22 b(The)17 +b(generic)g(function)e Fs(compute-effective-)o(metho)o(d)e +Fw(re-)0 1503 y(ceiv)o(es)21 b(as)f(argumen)o(ts)f(the)h(generic)h +(function,)g(the)f(metho)q(d)f(com)o(bination)e(ob)r(ject,)0 +1555 y(and)f(the)g(sorted)h(list)e(of)g(applicable)g(metho)q(ds.)23 +b(It)16 b(returns)h(the)f(Lisp)g(form)e(that)h(de-)0 +1606 y(\014nes)e(the)g(e\013ectiv)o(e)g(metho)q(d.)k(A)12 +b(metho)q(d)g(for)g Fs(compute-effecti)o(ve-me)o(thod)d +Fw(can)j(b)q(e)0 1658 y(de\014ned)17 b(directly)f(b)o(y)f(using)h +Fs(defmethod)d Fw(or)j(indirectly)g(b)o(y)f(using)h Fs(define-method-)0 +1710 y(combination)p Fw(.)f(A)c Fv(metho)n(d)h(c)n(ombination)h(obje)n +(ct)e Fw(is)f(an)h(ob)r(ject)h(that)f(encapsulates)h(the)0 +1762 y(metho)q(d)e(com)o(bination)f(t)o(yp)q(e)i(and)g(options)g(sp)q +(eci\014ed)h(b)o(y)f(the)h Fs(:method-combinat)o(ion)0 +1814 y Fw(option)h(to)h(forms)e(that)i(sp)q(ecify)h(generic)g(function) +e(options.)p 0 1874 V 0 1937 a Fm(Implemen)o(tation)8 +b(note:)15 b FA(In)9 b(the)h(simplest)g(implemen)o(tation)q(,)i(the)d +(generic)h(function)h(w)o(ould)0 1982 y(compute)k(the)f(e\013ectiv)o(e) +h(metho)q(d)g(eac)o(h)g(time)f(it)h(w)o(as)e(called.)22 +b(In)14 b(practice,)i(this)e(will)i(b)q(e)e(to)q(o)0 +2028 y(ine\016cien)o(t)h(for)d(some)h(implemen)o(tation)q(s.)19 +b(Instead,)13 b(these)h(implemen)o(tations)i(migh)o(t)d(emplo)o(y)0 +2074 y(a)i(v)n(ariet)o(y)h(of)e(optimization)q(s)j(of)e(the)g +(three-step)h(pro)q(cedure.)24 b(Some)15 b(illustrativ)o(e)j(examples)0 +2119 y(of)13 b(suc)o(h)g(optimization)q(s)i(are)f(the)f(follo)o(wing:)0 +2211 y Fu(.)42 2219 y FA(Use)c(a)h(hash)h(table)g(k)o(ey)o(ed)g(b)o(y)f +(the)h(class)g(of)e(the)h(argumen)o(ts)h(to)f(store)h(the)f(e\013ectiv) +o(e)h(metho)q(d.)0 2321 y Fu(.)42 2329 y FA(Compile)i(the)e(e\013ectiv) +o(e)i(metho)q(d)g(and)f(sa)o(v)o(e)g(the)f(resulting)j(compiled)g +(function)f(in)f(a)g(table.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 861 885 +861 884 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(861)0 287 y Fu(.)42 295 y FA(Recognize)20 +b(the)e(Lisp)i(form)e(as)h(an)f(instance)i(of)e(a)h(pattern)g(of)f(con) +o(trol)i(structure)f(and)42 340 y(substitute)14 b(a)f(closure)h(that)g +(implemen)o(ts)h(that)e(structure.)0 413 y Fu(.)42 421 +y FA(Examine)j(the)g(parameter)g(sp)q(ecializers)i(of)d(all)h(metho)q +(ds)g(for)f(the)h(generic)g(function)h(and)42 467 y(en)o(umerate)10 +b(all)g(p)q(ossible)i(e\013ectiv)o(e)f(metho)q(ds.)17 +b(Com)o(bine)10 b(the)g(e\013ectiv)o(e)g(metho)q(ds,)h(together)42 +512 y(with)17 b(co)q(de)g(to)g(select)g(from)g(among)g(them,)g(in)o(to) +h(a)f(single)h(function)g(and)g(compile)g(that)42 558 +y(function.)g(Call)c(that)f(function)h(whenev)o(er)g(the)f(generic)i +(function)f(is)g(called.)p 0 620 V 0 766 a Fo(28.1.7.2.)20 +b(Standard)15 b(Metho)r(d)f(Com)n(bination)0 857 y Fw(Standard)f(metho) +q(d)f(com)o(bination)f(is)i(supp)q(orted)h(b)o(y)f(the)h(class)f +Fs(standard-generic-)0 909 y(function)p Fw(.)j(It)e(is)f(used)h(if)e +(no)h(other)h(t)o(yp)q(e)g(of)f(metho)q(d)f(com)o(bination)f(is)i(sp)q +(eci\014ed)i(or)f(if)0 961 y(the)g(built-in)f(metho)q(d)g(com)o +(bination)f(t)o(yp)q(e)i Fs(standard)e Fw(is)i(sp)q(eci\014ed.)42 +1013 y Fv(Primary)20 b(metho)n(ds)k Fw(de\014ne)e(the)f(main)e(action)h +(of)g(the)h(e\013ectiv)o(e)h(metho)q(d,)f(while)0 1065 +y Fv(auxiliary)12 b(metho)n(ds)j Fw(mo)q(dify)9 b(that)i(action)g(in)g +(one)h(of)e(three)j(w)o(a)o(ys.)k(A)11 b(primary)f(metho)q(d)0 +1117 y(has)k(no)g(metho)q(d)f(quali\014ers.)42 1170 y(An)23 +b(auxiliary)e(metho)q(d)i(is)g(a)g(metho)q(d)f(whose)i(metho)q(d)f +(quali\014er)g(is)g Fs(:before)p Fw(,)0 1221 y Fs(:after)p +Fw(,)12 b(or)h Fs(:around)p Fw(.)j(Standard)d(metho)q(d)g(com)o +(bination)d(allo)o(ws)i(no)h(more)f(than)i(one)0 1273 +y(quali\014er)g(p)q(er)h(metho)q(d;)f(if)f(a)i(metho)q(d)e +(de\014nition)h(sp)q(eci\014es)j(more)c(than)i(one)f(quali\014er)0 +1325 y(p)q(er)h(metho)q(d,)d(an)i(error)h(is)f(signaled.)0 +1391 y Fu(.)42 1400 y Fw(A)22 b Fs(:before)e Fw(metho)q(d)i(has)g(the)h +(k)o(eyw)o(ord)f Fs(:before)f Fw(as)h(its)g(only)f(quali\014er.)43 +b(A)42 1452 y Fs(:before)8 b Fw(metho)q(d)h(sp)q(eci\014es)j(co)q(de)f +(that)f(is)g(to)g(b)q(e)h(run)f(b)q(efore)h(an)o(y)f(primary)e(metho)q +(d.)0 1530 y Fu(.)42 1539 y Fw(An)i Fs(:after)f Fw(metho)q(d)h(has)g +(the)h(k)o(eyw)o(ord)g Fs(:after)e Fw(as)h(its)h(only)e(quali\014er.)16 +b(An)11 b Fs(:after)42 1591 y Fw(metho)q(d)i(sp)q(eci\014es)i(co)q(de)g +(that)f(is)g(to)f(b)q(e)i(run)f(after)g(primary)e(metho)q(ds.)0 +1668 y Fu(.)42 1677 y Fw(An)18 b Fs(:around)f Fw(metho)q(d)h(has)h(the) +g(k)o(eyw)o(ord)g Fs(:around)e Fw(as)h(its)h(only)f(quali\014er.)32 +b(An)42 1729 y Fs(:around)10 b Fw(metho)q(d)i(sp)q(eci\014es)i(co)q(de) +g(that)e(is)h(to)f(b)q(e)h(run)g(instead)g(of)e(other)j(applicable)42 +1781 y(metho)q(ds)f(but)h(that)g(is)g(able)f(to)h(cause)h(some)e(of)g +(them)g(to)h(b)q(e)h(run.)0 1856 y(The)f(seman)o(tics)g(of)f(standard)h +(metho)q(d)f(com)o(bination)f(are)i(as)g(follo)o(ws:)0 +1922 y Fu(.)42 1931 y Fw(If)j(there)j(are)f(an)o(y)f +Fs(:around)e Fw(metho)q(ds,)j(the)g(most)e(sp)q(eci\014c)j +Fs(:around)c Fw(metho)q(d)i(is)42 1983 y(called.)f(It)d(supplies)h(the) +f(v)n(alue)f(or)h(v)n(alues)g(of)f(the)h(generic)h(function.)0 +2060 y Fu(.)42 2069 y Fw(Inside)e(the)h(b)q(o)q(dy)g(of)f(an)g +Fs(:around)f Fw(metho)q(d,)g Fs(call-next-method)e Fw(can)k(b)q(e)g +(used)g(to)42 2121 y(call)c(the)j(next)f(metho)q(d.)k(When)c(the)h +(next)f(metho)q(d)f(returns,)i(the)f Fs(:around)f Fw(metho)q(d)42 +2173 y(can)h(execute)i(more)d(co)q(de,)h(p)q(erhaps)h(based)g(on)f(the) +g(returned)i(v)n(alue)d(or)h(v)n(alues.)17 b(The)42 2225 +y(generic)f(function)g Fs(no-next-method)c Fw(is)k(in)o(v)o(ok)o(ed)f +(if)g Fs(call-next-method)d Fw(is)k(used)42 2277 y(and)h(there)i(is)f +(no)f(applicable)g(metho)q(d)g(to)g(call.)29 b(The)18 +b(function)f Fs(next-method-p)42 2329 y Fw(ma)o(y)11 +b(b)q(e)k(used)g(to)e(determine)h(whether)i(a)d(next)i(metho)q(d)e +(exists.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 862 886 +862 885 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(862)77 b(COMMON)13 +b(LISP)0 286 y Fu(.)42 295 y Fw(If)i(an)h Fs(:around)f +Fw(metho)q(d)g(in)o(v)o(ok)o(es)h Fs(call-next-method)p +Fw(,)d(the)k(next)f(most)f(sp)q(eci\014c)42 347 y Fs(:around)i +Fw(metho)q(d)h(is)g(called,)i(if)e(one)h(is)f(applicable.)32 +b(If)18 b(there)i(are)g(no)e Fs(:around)42 399 y Fw(metho)q(ds)g(or)h +(if)f Fs(call-next-method)e Fw(is)j(called)g(b)o(y)g(the)g(least)h(sp)q +(eci\014c)g Fs(:around)42 450 y Fw(metho)q(d,)12 b(the)j(other)f(metho) +q(ds)g(are)g(called)f(as)h(follo)o(ws:)42 548 y({)20 +b(All)c(the)i Fs(:before)d Fw(metho)q(ds)i(are)h(called,)f(in)f +(most-sp)q(eci\014c-\014rst)i(order.)28 b(Their)83 599 +y(v)n(alues)15 b(are)g(ignored.)21 b(An)15 b(error)g(is)g(signaled)f +(if)g Fs(call-next-method)e Fw(is)i(used)i(in)83 651 +y(a)e Fs(:before)e Fw(metho)q(d.)42 748 y({)20 b(The)e(most)e(sp)q +(eci\014c)j(primary)d(metho)q(d)h(is)g(called.)29 b(Inside)18 +b(the)g(b)q(o)q(dy)g(of)f(a)g(pri-)83 800 y(mary)h(metho)q(d,)i +Fs(call-next-method)c Fw(ma)o(y)i(b)q(e)i(used)g(to)g(call)f(the)h +(next)g(most)83 852 y(sp)q(eci\014c)d(primary)e(metho)q(d.)23 +b(When)16 b(that)g(metho)q(d)g(returns,)h(the)g(previous)f(pri-)83 +904 y(mary)i(metho)q(d)i(can)g(execute)h(more)e(co)q(de,)j(p)q(erhaps)f +(based)g(on)e(the)i(returned)83 956 y(v)n(alue)10 b(or)g(v)n(alues.)16 +b(The)11 b(generic)g(function)f Fs(no-next-method)e Fw(is)i(in)o(v)o +(ok)o(ed)f(if)h Fs(call-)83 1008 y(next-method)g Fw(is)i(used)h(and)g +(there)g(are)g(no)f(more)g(applicable)f(primary)g(metho)q(ds.)83 +1060 y(The)k(function)f Fs(next-method-p)e Fw(ma)o(y)h(b)q(e)i(used)h +(to)e(determine)h(whether)h(a)e(next)83 1112 y(metho)q(d)g(exists.)21 +b(If)14 b Fs(call-next-method)d Fw(is)k(not)f(used,)i(only)e(the)h +(most)e(sp)q(eci\014c)83 1164 y(primary)f(metho)q(d)h(is)h(called.)42 +1261 y({)20 b(All)g(the)h Fs(:after)f Fw(metho)q(ds)g(are)h(called)g +(in)f(most-sp)q(eci\014c-last)h(order.)39 b(Their)83 +1313 y(v)n(alues)15 b(are)g(ignored.)21 b(An)15 b(error)g(is)g +(signaled)f(if)g Fs(call-next-method)e Fw(is)i(used)i(in)83 +1365 y(an)e Fs(:after)e Fw(metho)q(d.)0 1453 y Fu(.)42 +1462 y Fw(If)18 b(no)g Fs(:around)f Fw(metho)q(ds)i(w)o(ere)g(in)o(v)o +(ok)o(ed,)g(the)g(most)e(sp)q(eci\014c)k(primary)c(metho)q(d)42 +1514 y(supplies)c(the)i(v)n(alue)d(or)i(v)n(alues)f(returned)i(b)o(y)f +(the)g(generic)g(function.)k(The)c(v)n(alue)f(or)42 1565 +y(v)n(alues)e(returned)h(b)o(y)g(the)f(in)o(v)o(o)q(cation)f(of)h +Fs(call-next-method)d Fw(in)j(the)h(least)f(sp)q(eci\014c)42 +1617 y Fs(:around)h Fw(metho)q(d)h(are)h(those)h(returned)g(b)o(y)f +(the)h(most)d(sp)q(eci\014c)k(primary)c(metho)q(d.)42 +1703 y(In)j(standard)h(metho)q(d)f(com)o(bination,)e(if)h(there)j(is)f +(an)f(applicable)g(metho)q(d)f(but)i(no)0 1755 y(applicable)d(primary)f +(metho)q(d,)h(an)g(error)i(is)f(signaled.)42 1809 y(The)i +Fs(:before)e Fw(metho)q(ds)h(are)h(run)g(in)f(most-sp)q +(eci\014c-\014rst)h(order)g(and)g(the)g Fs(:after)0 1860 +y Fw(metho)q(ds)j(are)h(run)f(in)g(least-sp)q(eci\014c-\014rst)j +(order.)35 b(The)20 b(design)f(rationale)g(for)g(this)0 +1912 y(di\013erence)j(can)e(b)q(e)h(illustrated)f(with)g(an)g(example.) +36 b(Supp)q(ose)21 b(class)f Fv(C)1207 1918 y Fk(1)1246 +1912 y Fw(mo)q(di\014es)0 1964 y(the)c(b)q(eha)o(vior)f(of)g(its)g(sup) +q(erclass,)i Fv(C)591 1970 y Fk(2)610 1964 y Fw(,)e(b)o(y)g(adding)f +Fs(:before)g Fw(and)i Fs(:after)e Fw(metho)q(ds.)0 2016 +y(Whether)d(the)g(b)q(eha)o(vior)f(of)f(the)i(class)g +Fv(C)637 2022 y Fk(2)665 2016 y Fw(is)f(de\014ned)h(directly)g(b)o(y)f +(metho)q(ds)f(on)h Fv(C)1291 2022 y Fk(2)1320 2016 y +Fw(or)g(is)0 2068 y(inherited)k(from)d(its)i(sup)q(erclasses)j(do)q(es) +e(not)f(a\013ect)h(the)g(relativ)o(e)f(order)g(of)g(in)o(v)o(o)q +(cation)0 2120 y(of)k(metho)q(ds)h(on)f(instances)i(of)e(the)i(class)f +Fv(C)724 2126 y Fk(1)742 2120 y Fw(.)30 b(Class)18 b +Fv(C)927 2126 y Fk(1)945 2120 y Fw('s)g Fs(:before)e +Fw(metho)q(d)h(runs)0 2172 y(b)q(efore)f(all)e(of)g(class)i +Fv(C)362 2178 y Fk(2)380 2172 y Fw('s)f(metho)q(ds.)21 +b(Class)15 b Fv(C)750 2178 y Fk(1)768 2172 y Fw('s)g +Fs(:after)f Fw(metho)q(d)g(runs)i(after)f(all)f(of)0 +2224 y(class)g Fv(C)127 2230 y Fk(2)146 2224 y Fw('s)f(metho)q(ds.)42 +2277 y(By)f(con)o(trast,)h(all)e Fs(:around)g Fw(metho)q(ds)h(run)h(b)q +(efore)g(an)o(y)f(other)i(metho)q(ds)e(run.)17 b(Th)o(us)0 +2329 y(a)d(less)g(sp)q(eci\014c)i Fs(:around)c Fw(metho)q(d)h(runs)i(b) +q(efore)f(a)g(more)f(sp)q(eci\014c)i(primary)d(metho)q(d.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 863 887 +863 886 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(863)42 295 y Fw(If)9 b(only)g(primary)f(metho)q(ds)h(are) +h(used)h(and)e(if)g Fs(call-next-method)d Fw(is)k(not)g(used,)h(only)0 +347 y(the)17 b(most)e(sp)q(eci\014c)j(metho)q(d)e(is)g(in)o(v)o(ok)o +(ed;)h(that)f(is,)h(more)e(sp)q(eci\014c)j(metho)q(ds)e(shado)o(w)0 +399 y(more)d(general)h(ones.)0 580 y Fo(28.1.7.3.)20 +b(Declarativ)n(e)13 b(Metho)r(d)h(Com)n(bination)0 675 +y Fw(The)h(macro)e Fs(define-method-com)o(binat)o(ion)e +Fw(de\014nes)16 b(new)f(forms)e(of)h(metho)q(d)f(com-)0 +727 y(bination.)36 b(It)21 b(pro)o(vides)f(a)h(mec)o(hanism)d(for)i +(customizing)f(the)i(pro)q(duction)f(of)g(the)0 778 y(e\013ectiv)o(e)f +(metho)q(d.)27 b(The)17 b(default)g(pro)q(cedure)i(for)e(pro)q(ducing)g +(an)g(e\013ectiv)o(e)i(metho)q(d)0 830 y(is)h(describ)q(ed)j(in)d +(section)h(28.1.7.1.)35 b(There)22 b(are)f(t)o(w)o(o)f(forms)f(of)h +Fs(define-method-)0 882 y(combination)p Fw(.)34 b(The)21 +b(short)f(form)f(is)g(a)h(simple)f(facilit)o(y;)i(the)f(long)g(form)e +(is)i(more)0 934 y(p)q(o)o(w)o(erful)c(and)g(more)g(v)o(erb)q(ose.)26 +b(The)17 b(long)f(form)e(resem)o(bles)j Fs(defmacro)e +Fw(in)h(that)g(the)0 986 y(b)q(o)q(dy)e(is)f(an)g(expression)i(that)e +(computes)h(a)f(Lisp)g(form;)f(it)h(pro)o(vides)h(mec)o(hanisms)d(for)0 +1038 y(implemen)o(ting)d(arbitrary)j(con)o(trol)f(structures)k(within)c +(metho)q(d)h(com)o(bination)d(and)j(for)0 1090 y(arbitrary)k(pro)q +(cessing)g(of)f(metho)q(d)g(quali\014ers.)21 b(The)15 +b(syn)o(tax)f(and)h(use)g(of)f(b)q(oth)h(forms)0 1142 +y(of)e Fs(define-method-combi)o(natio)o(n)e Fw(are)j(explained)g(in)f +(section)i(28.2.)0 1323 y Fo(28.1.7.4.)20 b(Built-in)13 +b(Metho)r(d)h(Com)n(bination)g(T)n(yp)r(es)0 1418 y Fw(The)f(Common)c +(Lisp)k(Ob)r(ject)h(System)e(pro)o(vides)g(a)h(set)g(of)f(built-in)f +(metho)q(d)h(com)o(bina-)0 1470 y(tion)j(t)o(yp)q(es.)24 +b(T)m(o)14 b(sp)q(ecify)j(that)e(a)g(generic)i(function)e(is)g(to)h +(use)g(one)g(of)f(these)i(metho)q(d)0 1522 y(com)o(bination)g(t)o(yp)q +(es,)22 b(the)f(name)e(of)g(the)h(metho)q(d)g(com)o(bination)d(t)o(yp)q +(e)j(is)g(giv)o(en)g(as)0 1573 y(the)c(argumen)o(t)f(to)g(the)h +Fs(:method-combinatio)o(n)d Fw(option)h(to)i Fs(defgeneric)d +Fw(or)j(to)f(the)0 1625 y Fs(:method-combinati)o(on)d +Fw(option)j(to)g(an)o(y)f(of)h(the)g(other)h(forms)e(that)h(sp)q(ecify) +h(generic)0 1677 y(function)e(options.)42 1730 y(The)i(names)g(of)f +(the)i(built-in)e(metho)q(d)h(com)o(bination)e(t)o(yp)q(es)j(are)g +Fs(+)p Fw(,)f Fs(and)p Fw(,)f Fs(append)p Fw(,)0 1782 +y Fs(list)p Fw(,)e Fs(max)p Fw(,)f Fs(min)p Fw(,)h Fs(nconc)p +Fw(,)f Fs(or)p Fw(,)h Fs(progn)p Fw(,)g(and)g Fs(standard)p +Fw(.)42 1834 y(The)21 b(seman)o(tics)f(of)g(the)i Fs(standard)d +Fw(built-in)g(metho)q(d)h(com)o(bination)e(t)o(yp)q(e)k(w)o(ere)0 +1886 y(describ)q(ed)c(in)f(section)g(28.1.7.2.)24 b(The)17 +b(other)g(built-in)f(metho)q(d)g(com)o(bination)e(t)o(yp)q(es)0 +1938 y(are)g(called)g Fv(simple)g(built-in)h(metho)n(d)g(c)n +(ombination)g(typ)n(es.)42 1991 y Fw(The)20 b(simple)e(built-in)g +(metho)q(d)h(com)o(bination)e(t)o(yp)q(es)k(act)e(as)h(though)g(they)g +(w)o(ere)0 2043 y(de\014ned)d(b)o(y)f(the)h(short)g(form)d(of)i +Fs(define-method-c)o(ombin)o(ation)o Fw(.)22 b(They)17 +b(recognize)0 2095 y(t)o(w)o(o)c(roles)i(for)e(metho)q(ds:)0 +2164 y Fu(.)42 2173 y Fw(An)h Fs(:around)e Fw(metho)q(d)i(has)g(the)g +(k)o(eyw)o(ord)g(sym)o(b)q(ol)f Fs(:around)f Fw(as)i(its)h(sole)f +(quali\014er.)42 2225 y(The)f(meaning)f(of)g Fs(:around)g +Fw(metho)q(ds)h(is)g(the)h(same)e(as)h(in)g(standard)h(metho)q(d)e +(com-)42 2277 y(bination.)25 b(Use)17 b(of)f(the)h(functions)g +Fs(call-next-method)c Fw(and)k Fs(next-method-p)d Fw(is)42 +2329 y(supp)q(orted)h(in)e Fs(:around)g Fw(metho)q(ds.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 864 888 +864 887 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(864)77 b(COMMON)13 +b(LISP)0 286 y Fu(.)42 295 y Fw(A)e(primary)f(metho)q(d)g(has)i(the)g +(name)e(of)h(the)h(metho)q(d)e(com)o(bination)f(t)o(yp)q(e)j(as)f(its)h +(sole)42 347 y(quali\014er.)k(F)m(or)9 b(example,)g(the)h(built-in)f +(metho)q(d)g(com)o(bination)e(t)o(yp)q(e)j Fs(and)f Fw(recognizes)42 +399 y(metho)q(ds)17 b(whose)i(sole)f(quali\014er)g(is)g +Fs(and)p Fw(;)i(these)f(are)g(primary)e(metho)q(ds.)30 +b(Use)19 b(of)42 450 y(the)d(functions)g Fs(call-next-method)d +Fw(and)j Fs(next-method-p)d Fw(is)j(not)g(supp)q(orted)h(in)42 +502 y(primary)12 b(metho)q(ds.)0 575 y(The)g(seman)o(tics)f(of)g(the)h +(simple)e(built-in)g(metho)q(d)h(com)o(bination)e(t)o(yp)q(es)j(are)g +(as)g(follo)o(ws:)0 638 y Fu(.)42 647 y Fw(If)17 b(there)j(are)f(an)o +(y)f Fs(:around)e Fw(metho)q(ds,)j(the)g(most)e(sp)q(eci\014c)j +Fs(:around)c Fw(metho)q(d)i(is)42 699 y(called.)f(It)d(supplies)h(the)f +(v)n(alue)f(or)h(v)n(alues)g(of)f(the)h(generic)h(function.)0 +775 y Fu(.)42 783 y Fw(Inside)10 b(the)h(b)q(o)q(dy)f(of)f(an)h +Fs(:around)f Fw(metho)q(d,)g(the)i(function)f Fs(call-next-method)d +Fw(can)42 835 y(b)q(e)15 b(used)g(to)f(call)g(the)h(next)g(metho)q(d.)k +(The)c(generic)g(function)f Fs(no-next-method)e Fw(is)42 +887 y(in)o(v)o(ok)o(ed)g(if)h Fs(call-next-method)d Fw(is)j(used)h(and) +g(there)g(is)g(no)f(applicable)f(metho)q(d)h(to)42 939 +y(call.)29 b(The)19 b(function)f Fs(next-method-p)d Fw(ma)o(y)h(b)q(e)j +(used)g(to)f(determine)g(whether)h(a)42 991 y(next)c(metho)q(d)f +(exists.)21 b(When)15 b(the)h(next)f(metho)q(d)f(returns,)i(the)f +Fs(:around)f Fw(metho)q(d)42 1043 y(can)g(execute)h(more)e(co)q(de,)h +(p)q(erhaps)i(based)e(on)g(the)g(returned)i(v)n(alue)d(or)h(v)n(alues.) +0 1119 y Fu(.)42 1127 y Fw(If)h(an)h Fs(:around)f Fw(metho)q(d)g(in)o +(v)o(ok)o(es)h Fs(call-next-method)p Fw(,)d(the)k(next)f(most)f(sp)q +(eci\014c)42 1179 y Fs(:around)i Fw(metho)q(d)h(is)g(called,)i(if)e +(one)h(is)f(applicable.)32 b(If)18 b(there)i(are)g(no)e +Fs(:around)42 1231 y Fw(metho)q(ds)g(or)h(if)f Fs(call-next-method)e +Fw(is)j(called)g(b)o(y)g(the)g(least)h(sp)q(eci\014c)g +Fs(:around)42 1283 y Fw(metho)q(d,)12 b(a)i(Lisp)g(form)f(deriv)o(ed)h +(from)f(the)h(name)f(of)h(the)h(built-in)d(metho)q(d)i(com)o(bi-)42 +1335 y(nation)d(t)o(yp)q(e)h(and)g(from)e(the)j(list)f(of)f(applicable) +g(primary)g(metho)q(ds)g(is)h(ev)n(aluated)g(to)42 1387 +y(pro)q(duce)h(the)f(v)n(alue)f(of)h(the)g(generic)h(function.)k(Supp)q +(ose)c(the)f(name)f(of)g(the)i(metho)q(d)42 1439 y(com)o(bination)f(t)o +(yp)q(e)j(is)g Fv(op)n(er)n(ator)k Fw(and)c(the)h(call)e(to)h(the)g +(generic)h(function)f(is)g(of)f(the)42 1491 y(form)42 +1575 y Fs(\()p Fv(generic-function)24 b(a)402 1581 y +Fk(1)442 1575 y Fs(...)d Fv(a)550 1581 y Fi(n)571 1575 +y Fs(\))42 1660 y Fw(Let)16 b Fv(M)155 1666 y Fk(1)174 +1660 y Fh(;)7 b(:)g(:)g(:)t(;)g Fv(M)303 1666 y Fi(k)337 +1660 y Fw(b)q(e)16 b(the)h(applicable)e(primary)f(metho)q(ds)h(in)g +(order;)j(then)e(the)g(de-)42 1712 y(riv)o(ed)d(Lisp)h(form)e(is)42 +1796 y Fs(\()p Fv(op)n(er)n(ator)24 b Ft(h)p Fv(M)290 +1802 y Fk(1)321 1796 y Fv(a)342 1802 y Fk(1)368 1796 +y Fh(:)7 b(:)g(:)e Fv(a)444 1802 y Fi(n)466 1796 y Ft(i)21 +b Fs(...)f Ft(h)p Fv(M)642 1802 y Fg(k)675 1796 y Fv(a)696 +1802 y Fk(1)722 1796 y Fh(:)7 b(:)g(:)e Fv(a)798 1802 +y Fi(n)819 1796 y Ft(i)p Fs(\))42 1881 y Fw(If)13 b(the)h(expression)g +Ft(h)p Fv(M)406 1887 y Fi(i)431 1881 y Fv(a)452 1887 +y Fk(1)478 1881 y Fh(:)7 b(:)g(:)e Fv(a)554 1887 y Fi(n)576 +1881 y Ft(i)13 b Fw(is)g(ev)n(aluated,)g(the)h(metho)q(d)f +Fv(M)1102 1887 y Fg(i)1129 1881 y Fw(will)f(b)q(e)i(applied)42 +1933 y(to)i(the)h(argumen)o(ts)e Fv(a)394 1939 y Fk(1)420 +1933 y Fh(:)7 b(:)g(:)e Fv(a)496 1939 y Fi(n)518 1933 +y Fw(.)25 b(F)m(or)16 b(example,)f(if)g Fv(op)n(er)n(ator)21 +b Fw(is)16 b Fs(or)p Fw(,)g(the)h(expression)42 1984 +y Ft(h)p Fv(M)95 1990 y Fi(i)121 1984 y Fv(a)142 1990 +y Fk(1)168 1984 y Fh(:)7 b(:)g(:)f Fv(a)245 1990 y Fi(n)266 +1984 y Ft(i)14 b Fw(is)g(ev)n(aluated)f(only)h(if)f Ft(h)p +Fv(M)706 1990 y Fi(j)733 1984 y Fv(a)754 1990 y Fk(1)779 +1984 y Fh(:)7 b(:)g(:)f Fv(a)856 1990 y Fi(n)877 1984 +y Ft(i)p Fw(,)14 b(1)d Ft(\024)h Fv(j)17 b Fh(<)12 b +Fv(i)t Fw(,)h(returned)j Fs(nil)p Fw(.)42 2049 y(The)23 +b(default)f(order)h(for)g(the)g(primary)e(metho)q(ds)h(is)g +Fs(:most-specific-firs)o(t)p Fw(.)42 2101 y(Ho)o(w)o(ev)o(er,)d(the)h +(order)f(can)g(b)q(e)g(rev)o(ersed)i(b)o(y)e(supplying)f +Fs(:most-specific-l)o(ast)42 2153 y Fw(as)13 b(the)i(second)g(argumen)o +(t)e(to)g(the)i Fs(:method-combinati)o(on)c Fw(option.)42 +2225 y(The)i(simple)e(built-in)g(metho)q(d)h(com)o(bination)e(t)o(yp)q +(es)j(require)h(exactly)e(one)h(quali\014er)0 2277 y(p)q(er)20 +b(metho)q(d.)32 b(An)18 b(error)i(is)f(signaled)f(if)g(there)i(are)f +(applicable)f(metho)q(ds)h(with)f(no)0 2329 y(quali\014ers)11 +b(or)f(with)h(quali\014ers)f(that)h(are)g(not)g(supp)q(orted)h(b)o(y)e +(the)h(metho)q(d)f(com)o(bination)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 865 889 +865 888 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(865)0 295 y Fw(t)o(yp)q(e.)28 b(An)18 b(error)g(is)f +(signaled)g(if)f(there)j(are)e(applicable)f Fs(:around)g +Fw(metho)q(ds)h(and)g(no)0 347 y(applicable)c(primary)f(metho)q(ds.)0 +1587 y Fo(28.1.8.)20 b(Meta-ob)s(jects)0 2017 y Fw(The)13 +b(implemen)o(tation)c(of)j(the)i(Ob)r(ject)g(System)e(manipulates)f +(classes,)j(metho)q(ds,)e(and)0 2069 y(generic)f(functions.)17 +b(The)11 b(meta-ob)r(ject)f(proto)q(col)h(sp)q(eci\014es)h(a)e(set)h +(of)f(generic)i(functions)0 2121 y(de\014ned)i(b)o(y)e(metho)q(ds)g(on) +h(classes;)g(the)h(b)q(eha)o(vior)e(of)g(those)h(generic)h(functions)e +(de\014nes)0 2173 y(the)19 b(b)q(eha)o(vior)f(of)f(the)i(Ob)r(ject)h +(System.)30 b(The)19 b(instances)g(of)f(the)g(classes)i(on)e(whic)o(h)0 +2225 y(those)12 b(metho)q(ds)g(are)g(de\014ned)g(are)h(called)e +Fv(meta-obje)n(cts)p Fw(.)17 b(Programming)8 b(at)k(the)g(meta-)0 +2277 y(ob)r(ject)i(proto)q(col)g(lev)o(el)f(in)o(v)o(olv)o(es)g +(de\014ning)g(new)h(classes)h(of)e(meta-ob)r(jects)h(along)e(with)0 +2329 y(metho)q(ds)h(sp)q(ecialized)i(on)f(these)h(classes.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 866 890 +866 889 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(866)77 b(COMMON)13 +b(LISP)0 295 y Fo(28.1.8.1.)20 b(Metaclasses)0 383 y +Fw(The)14 b Fv(metaclass)i Fw(of)c(an)h(ob)r(ject)h(is)f(the)h(class)g +(of)e(its)h(class.)18 b(The)c(metaclass)e(determines)0 +435 y(the)17 b(represen)o(tation)h(of)e(instances)i(of)e(its)g +(instances)i(and)e(the)h(forms)e(of)h(inheritance)0 487 +y(used)d(b)o(y)f(its)h(instances)g(for)f(slot)g(descriptions)h(and)g +(metho)q(d)e(inheritance.)18 b(The)13 b(meta-)0 538 y(class)f(mec)o +(hanism)e(can)i(b)q(e)g(used)h(to)e(pro)o(vide)h(particular)g(forms)e +(of)h(optimization)e(or)j(to)0 590 y(tailor)h(the)i(Common)c(Lisp)j(Ob) +r(ject)i(System)e(for)g(particular)g(uses.)20 b(The)15 +b(proto)q(col)f(for)0 642 y(de\014ning)g(metaclasses)g(is)g(discussed)i +(in)d(the)i(third)f(part)g(of)g(the)g(CLOS)g(sp)q(eci\014cation,)0 +694 y(The)e(Common)d(Lisp)i(Ob)r(ject)i(System)f(Meta-Ob)r(ject)h +(Proto)q(col.)k([The)12 b(third)g(part)g(has)0 746 y(not)17 +b(y)o(et)h(b)q(een)g(appro)o(v)o(ed)f(b)o(y)g(X3J13)g(for)g(inclusion)f +(in)h(the)h(forthcoming)d(Common)0 798 y(Lisp)f(standard)g(and)g(is)g +(not)f(included)h(in)g(this)g(b)q(o)q(ok.|GLS])0 957 +y Fo(28.1.8.2.)20 b(Standard)15 b(Metaclasses)0 1045 +y Fw(The)20 b(Common)c(Lisp)k(Ob)r(ject)h(System)e(pro)o(vides)h(a)f(n) +o(um)o(b)q(er)g(of)g(prede\014ned)j(meta-)0 1097 y(classes.)36 +b(These)20 b(include)g(the)g(classes)g Fs(standard-class)p +Fw(,)e Fs(built-in-class)p Fw(,)f(and)0 1149 y Fs(structure-class)p +Fw(:)0 1211 y Fu(.)42 1220 y Fw(The)27 b(class)h Fs(standard-class)d +Fw(is)i(the)h(default)f(class)h(of)f(classes)h(de\014ned)h(b)o(y)42 +1272 y Fs(defclass)p Fw(.)0 1347 y Fu(.)42 1356 y Fw(The)11 +b(class)g Fs(built-in-class)d Fw(is)j(the)h(class)f(whose)g(instances)h +(are)g(classes)g(that)f(ha)o(v)o(e)42 1408 y(sp)q(ecial)k(implemen)o +(tatio)o(ns)e(with)i(restricted)i(capabilities.)k(An)o(y)15 +b(class)h(that)f(corre-)42 1460 y(sp)q(onds)h(to)g(a)f(standard)h +(Common)d(Lisp)i(t)o(yp)q(e)i(migh)o(t)c(b)q(e)k(an)e(instance)i(of)e +Fs(built-)42 1511 y(in-class)p Fw(.)20 b(The)c(prede\014ned)h(Common)12 +b(Lisp)j(t)o(yp)q(e)h(sp)q(eci\014ers)i(that)d(are)h(required)42 +1563 y(to)c(ha)o(v)o(e)g(corresp)q(onding)i(classes)g(are)f(listed)f +(in)g(table)h(28-)o(1.)k(It)c(is)f(implemen)o(tation-)42 +1615 y(dep)q(enden)o(t)j(whether)g(eac)o(h)f(of)g(these)h(classes)g(is) +e(implemen)o(ted)f(as)i(a)f(built-in)g(class.)0 1690 +y Fu(.)42 1699 y Fw(All)18 b(classes)j(de\014ned)f(b)o(y)g(means)e(of)h +Fs(defstruct)f Fw(are)h(instances)i(of)e Fs(structure-)42 +1751 y(class)p Fw(.)0 1910 y Fo(28.1.8.3.)h(Standard)15 +b(Meta-ob)s(jects)0 1998 y Fw(The)h(Ob)r(ject)i(System)d(supplies)h(a)g +(standard)h(set)f(of)g(meta-ob)r(jects,)g(called)f Fv(standar)n(d)0 +2050 y(meta-obje)n(cts)p Fw(.)41 b(These)23 b(include)e(the)i(class)f +Fs(standard-object)c Fw(and)k(instances)g(of)0 2102 y(the)f(classes)h +Fs(standard-method)o Fw(,)d Fs(standard-generic-)o(func)o(tion)p +Fw(,)f(and)i Fs(method-)0 2153 y(combination)p Fw(.)0 +2216 y Fu(.)42 2225 y Fw(The)12 b(class)g Fs(standard-method)d +Fw(is)i(the)i(default)e(class)h(of)f(metho)q(ds)h(that)f(are)i +(de\014ned)42 2277 y(b)o(y)g(the)h(forms)e Fs(defmethod)p +Fw(,)f Fs(defgeneric)p Fw(,)g Fs(generic-function)p Fw(,)f +Fs(generic-flet)p Fw(,)42 2329 y Fs(generic-labels)p +Fw(,)g(and)k Fs(with-added-metho)o(ds)p Fw(.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 867 891 +867 890 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(867)0 286 y Fu(.)42 295 y Fw(The)12 b(class)g +Fs(standard-generic-fu)o(nctio)o(n)d Fw(is)j(the)g(default)g(class)g +(of)g(generic)h(func-)42 347 y(tions)19 b(de\014ned)h(b)o(y)f(the)h +(forms)d Fs(defmethod)p Fw(,)i Fs(defgeneric)p Fw(,)f +Fs(generic-functio)o(n)p Fw(,)42 399 y Fs(generic-flet)p +Fw(,)10 b Fs(generic-labels)p Fw(,)h Fs(with-added-method)o(s)p +Fw(,)g(and)i Fs(defclass)p Fw(.)0 471 y Fu(.)42 479 y +Fw(The)j(class)h(named)e Fs(standard-object)e Fw(is)j(an)g(instance)h +(of)e(the)i(class)g Fs(standard-)42 531 y(class)e Fw(and)h(is)f(a)h +(sup)q(erclass)i(of)e(ev)o(ery)h(class)f(that)g(is)g(an)g(instance)h +(of)f Fs(standard-)42 583 y(class)c Fw(except)k(itself.)0 +655 y Fu(.)42 664 y Fw(Ev)o(ery)f(metho)q(d)f(com)o(bination)f(ob)r +(ject)j(is)f(an)g(instance)h(of)e(a)h(sub)q(class)h(of)f(the)g(class)42 +716 y Fs(method-combinat)o(ion)p Fw(.)0 853 y Fo(28.1.9.)20 +b(Ob)s(ject)15 b(Creation)f(and)i(Initialization)0 934 +y Fw(The)e(generic)g(function)g Fs(make-instance)d Fw(creates)k(and)e +(returns)i(a)f(new)g(instance)g(of)f(a)0 986 y(class.)18 +b(The)c(\014rst)h(argumen)o(t)d(is)h(a)h(class)g(or)f(the)h(name)f(of)f +(a)i(class,)f(and)h(the)g(remaining)0 1038 y(argumen)o(ts)f(form)f(an)i +Fv(initialization)g(ar)n(gument)k Fw(list.)42 1090 y(The)11 +b(initialization)d(of)j(a)g(new)g(instance)h(consists)g(of)f(sev)o +(eral)g(distinct)h(steps,)g(includ-)0 1142 y(ing)j(the)i(follo)o(wing:) +i(com)o(bining)13 b(the)k(explicitly)d(supplied)i(initialization)d +(argumen)o(ts)0 1193 y(with)i(default)g(v)n(alues)f(for)h(the)h +(unsupplied)f(initialization)e(argumen)o(ts,)h(c)o(hec)o(king)h(the)0 +1245 y(v)n(alidit)o(y)h(of)i(the)i(initialization)15 +b(argumen)o(ts,)k(allo)q(cating)e(storage)i(for)f(the)h(instance,)0 +1297 y(\014lling)d(slots)i(with)g(v)n(alues,)f(and)h(executing)h +(user-supplied)f(metho)q(ds)g(that)g(p)q(erform)0 1349 +y(additional)e(initialization.)26 b(Eac)o(h)17 b(step)i(of)e +Fs(make-instance)d Fw(is)k(implem)o(en)o(ted)e(b)o(y)h(a)0 +1401 y(generic)i(function)e(to)g(pro)o(vide)h(a)f(mec)o(hanism)f(for)h +(customizing)f(that)i(step.)30 b(In)18 b(ad-)0 1453 y(dition,)d +Fs(make-instance)e Fw(is)j(itself)g(a)g(generic)h(function)e(and)h(th)o +(us)h(also)e(can)h(b)q(e)h(cus-)0 1505 y(tomized.)42 +1557 y(The)10 b(Ob)r(ject)i(System)e(sp)q(eci\014es)i(system-supplied)e +(primary)e(metho)q(ds)i(for)g(eac)o(h)h(step)0 1609 y(and)g(th)o(us)i +(sp)q(eci\014es)g(a)e(w)o(ell-de\014ned)h(standard)g(b)q(eha)o(vior)g +(for)f(the)h(en)o(tire)g(initialization)0 1660 y(pro)q(cess.)20 +b(The)13 b(standard)g(b)q(eha)o(vior)g(pro)o(vides)g(four)g(simple)e +(mec)o(hanisms)g(for)i(con)o(trol-)0 1712 y(ling)g(initialization:)0 +1772 y Fu(.)42 1781 y Fw(Declaring)d(a)g(sym)o(b)q(ol)f(to)i(b)q(e)h +(an)e(initialization)e(argumen)o(t)i(for)h(a)f(slot.)17 +b(An)11 b(initializa-)42 1833 y(tion)i(argumen)o(t)h(is)g(declared)h(b) +o(y)g(using)f(the)h Fs(:initarg)e Fw(slot)h(option)g(to)g +Fs(defclass)p Fw(.)42 1885 y(This)19 b(pro)o(vides)h(a)f(mec)o(hanism)e +(for)j(supplying)e(a)i(v)n(alue)f(for)g(a)g(slot)h(in)f(a)g(call)g(to) +42 1936 y Fs(make-instance)p Fw(.)0 2008 y Fu(.)42 2017 +y Fw(Supplying)h(a)g(default)h(v)n(alue)g(form)e(for)i(an)g +(initialization)d(argumen)o(t.)38 b(Default)42 2069 y(v)n(alue)10 +b(forms)h(for)g(initialization)e(argumen)o(ts)i(are)h(de\014ned)h(b)o +(y)e(using)g(the)i Fs(:default-)42 2121 y(initargs)j +Fw(class)j(option)f(to)g Fs(defclass)p Fw(.)30 b(If)18 +b(an)g(initialization)e(argumen)o(t)i(is)g(not)42 2173 +y(explicitly)f(pro)o(vided)i(as)g(an)f(argumen)o(t)g(to)g +Fs(make-instance)p Fw(,)f(the)i(default)f(v)n(alue)42 +2225 y(form)f(is)i(ev)n(aluated)g(in)g(the)h(lexical)f(en)o(vironmen)o +(t)f(of)h(the)g Fs(defclass)f Fw(form)g(that)42 2277 +y(de\014ned)e(it,)e(and)h(the)g(resulting)g(v)n(alue)f(is)h(used)h(as)f +(the)g(v)n(alue)g(of)f(the)h(initialization)42 2329 y(argumen)o(t.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 868 892 +868 891 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(868)77 b(COMMON)13 +b(LISP)0 286 y Fu(.)42 295 y Fw(Supplying)d(a)h(default)g(initial)f(v)n +(alue)h(form)e(for)i(a)h(slot.)17 b(A)11 b(default)g(initial)f(v)n +(alue)g(form)42 347 y(for)j(a)g(slot)g(is)h(de\014ned)g(b)o(y)g(using)f +(the)h Fs(:initform)e Fw(slot)h(option)g(to)h Fs(defclass)p +Fw(.)i(If)d(no)42 399 y(initialization)c(argumen)o(t)i(asso)q(ciated)i +(with)f(that)h(slot)f(is)g(giv)o(en)g(as)h(an)f(argumen)o(t)f(to)42 +450 y Fs(make-instance)g Fw(or)j(is)g(defaulted)g(b)o(y)g +Fs(:default-initargs)p Fw(,)d(this)j(default)g(initial)42 +502 y(v)n(alue)j(form)f(is)h(ev)n(aluated)h(in)f(the)h(lexical)f(en)o +(vironmen)o(t)g(of)g(the)h Fs(defclass)e Fw(form)42 554 +y(that)11 b(de\014ned)i(it,)e(and)h(the)g(resulting)g(v)n(alue)f(is)h +(stored)h(in)e(the)h(slot.)17 b(The)c Fs(:initform)42 +606 y Fw(form)c(for)i(a)h(lo)q(cal)e(slot)i(ma)o(y)d(b)q(e)j(used)h +(when)f(creating)g(an)f(instance,)h(when)g(up)q(dating)42 +658 y(an)i(instance)h(to)g(conform)e(to)i(a)f(rede\014ned)j(class,)d +(or)h(when)g(up)q(dating)f(an)h(instance)42 710 y(to)e(conform)f(to)i +(the)g(de\014nition)g(of)f(a)g(di\013eren)o(t)i(class.)k(The)14 +b Fs(:initform)e Fw(form)g(for)h(a)42 762 y(shared)h(slot)g(ma)o(y)e(b) +q(e)i(used)h(when)g(de\014ning)e(or)h(re-de\014ning)h(the)f(class.)0 +835 y Fu(.)42 844 y Fw(De\014ning)26 b(metho)q(ds)h(for)g +Fs(initialize-insta)o(nce)d Fw(and)j Fs(shared-initializ)o(e)p +Fw(.)42 896 y(The)c(slot-\014lling)f(b)q(eha)o(vior)h(describ)q(ed)i +(ab)q(o)o(v)o(e)e(is)h(implem)o(en)o(ted)e(b)o(y)h(a)g(system-)42 +948 y(supplied)10 b(primary)e(metho)q(d)h(for)h Fs(initialize-insta)o +(nce)d Fw(whic)o(h)j(in)o(v)o(ok)o(es)f Fs(shared-)42 +999 y(initialize)p Fw(.)36 b(The)21 b(generic)g(function)g +Fs(shared-initializ)o(e)d Fw(implemen)o(ts)g(the)42 1051 +y(parts)i(of)g(initialization)e(shared)j(b)o(y)f(these)i(four)e +(situations:)30 b(when)21 b(making)d(an)42 1103 y(instance,)i(when)f +(re-initializing)e(an)h(instance,)i(when)g(up)q(dating)e(an)g(instance) +i(to)42 1155 y(conform)11 b(to)i(a)f(rede\014ned)j(class,)e(and)g(when) +g(up)q(dating)f(an)h(instance)h(to)e(conform)g(to)42 +1207 y(the)h(de\014nition)g(of)f(a)h(di\013eren)o(t)h(class.)k(The)c +(system-supplied)e(primary)g(metho)q(d)g(for)42 1259 +y Fs(shared-initiali)o(ze)e Fw(directly)i(implemen)o(ts)f(the)i +(slot-\014lling)e(b)q(eha)o(vior)h(describ)q(ed)42 1311 +y(ab)q(o)o(v)o(e,)h(and)g Fs(initialize-instance)d Fw(simply)i(in)o(v)o +(ok)o(es)h Fs(shared-initialize)p Fw(.)0 1464 y Fo(28.1.9.1.)20 +b(Initialization)12 b(Argumen)n(ts)0 1550 y Fw(An)18 +b(initialization)e(argumen)o(t)g(con)o(trols)j(ob)r(ject)g(creation)f +(and)g(initialization.)28 b(It)18 b(is)0 1602 y(often)g(con)o(v)o +(enien)o(t)g(to)g(use)h(k)o(eyw)o(ord)f(sym)o(b)q(ols)e(to)i(name)f +(initialization)e(argumen)o(ts,)0 1654 y(but)e(the)g(name)e(of)h(an)g +(initialization)d(argumen)o(t)j(can)g(b)q(e)h(an)o(y)f(sym)o(b)q(ol,)e +(including)i Fs(nil)p Fw(.)0 1706 y(An)h(initialization)d(argumen)o(t)h +(can)i(b)q(e)g(used)h(in)e(t)o(w)o(o)g(w)o(a)o(ys:)17 +b(to)12 b(\014ll)g(a)g(slot)h(with)f(a)g(v)n(alue)0 1758 +y(or)g(to)g(pro)o(vide)g(an)g(argumen)o(t)f(for)h(an)g(initialization)e +(metho)q(d.)16 b(A)d(single)e(initialization)0 1810 y(argumen)o(t)i +(can)h(b)q(e)g(used)h(for)f(b)q(oth)g(purp)q(oses.)42 +1862 y(An)c Fv(initialization)h(ar)n(gument)h(list)i +Fw(is)c(a)g(list)g(of)g(alternating)g(initialization)e(argumen)o(t)0 +1914 y(names)13 b(and)h(v)n(alues.)k(Its)d(structure)h(is)e(iden)o +(tical)f(to)h(a)g(prop)q(ert)o(y)g(list)g(and)g(also)f(to)h(the)0 +1966 y(p)q(ortion)g(of)f(an)h(argumen)o(t)g(list)f(pro)q(cessed)k(for)d +Fs(&key)f Fw(parameters.)19 b(As)c(in)e(those)i(lists,)0 +2017 y(if)c(an)h(initialization)d(argumen)o(t)h(name)h(app)q(ears)i +(more)d(than)i(once)h(in)e(an)g(initialization)0 2069 +y(argumen)o(t)k(list,)g(the)i(leftmost)e(o)q(ccurrence)j(supplies)f +(the)f(v)n(alue)f(and)h(the)h(remaining)0 2121 y(o)q(ccurrences)k(are)e +(ignored.)30 b(The)18 b(argumen)o(ts)g(to)g Fs(make-instance)d +Fw(\(after)j(the)h(\014rst)0 2173 y(argumen)o(t\))9 b(form)g(an)h +(initialization)d(argumen)o(t)i(list.)16 b(Error)11 b(c)o(hec)o(king)g +(of)e(initialization)0 2225 y(argumen)o(t)15 b(names)f(is)i(disabled)f +(if)g(the)i(k)o(eyw)o(ord)e(argumen)o(t)g(pair)g(whose)h(k)o(eyw)o(ord) +g(is)0 2277 y Fs(:allow-other-keys)10 b Fw(and)j(whose)h(v)n(alue)f(is) +g(non-)p Fs(nil)g Fw(app)q(ears)h(in)f(the)h(initialization)0 +2329 y(argumen)o(t)f(list.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 869 893 +869 892 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(869)42 295 y Fw(An)10 b(initialization)d(argumen)o(t)i +(can)i(b)q(e)g(asso)q(ciated)g(with)e(a)h(slot.)17 b(If)10 +b(the)g(initialization)0 347 y(argumen)o(t)15 b(has)i(a)f(v)n(alue)g +(in)g(the)i(initialization)13 b(argumen)o(t)j(list,)g(the)h(v)n(alue)f +(is)h(stored)0 399 y(in)o(to)j(the)h(slot)f(of)f(the)i(newly)g(created) +g(ob)r(ject,)i(o)o(v)o(erriding)c(an)o(y)h Fs(:initform)e +Fw(form)0 450 y(asso)q(ciated)e(with)e(the)i(slot.)21 +b(A)15 b(single)g(initialization)d(argumen)o(t)i(can)h(initialize)f +(more)0 502 y(than)g(one)h(slot.)k(An)c(initialization)d(argumen)o(t)h +(that)h(initializes)g(a)g(shared)h(slot)f(stores)0 554 +y(its)g(v)n(alue)f(in)o(to)g(the)i(shared)g(slot,)e(replacing)g(an)o(y) +h(previous)g(v)n(alue.)42 606 y(An)25 b(initialization)d(argumen)o(t)i +(can)h(b)q(e)h(asso)q(ciated)g(with)f(a)g(metho)q(d.)51 +b(When)0 658 y(an)31 b(ob)r(ject)h(is)e(created)j(and)e(a)g(particular) +f(initialization)f(argumen)o(t)h(is)g(sup-)0 710 y(plied,)11 +b(the)i(generic)f(functions)g Fs(initialize-instanc)o(e)p +Fw(,)d Fs(shared-initializ)o(e)p Fw(,)g(and)0 762 y Fs +(allocate-instance)i Fw(are)k(called)f(with)h(that)f(initialization)e +(argumen)o(t's)h(name)h(and)0 814 y(v)n(alue)h(as)g(a)g(k)o(eyw)o(ord)g +(argumen)o(t)f(pair.)21 b(If)15 b(a)g(v)n(alue)g(for)g(the)g +(initialization)e(argumen)o(t)0 866 y(is)k(not)g(supplied)g(in)g(the)g +(initialization)e(argumen)o(t)h(list,)h(the)g(metho)q(d's)g(lam)o(b)q +(da-li)o(st)0 917 y(supplies)d(a)g(default)f(v)n(alue.)42 +969 y(Initialization)i(argumen)o(ts)h(are)i(used)h(in)e(four)g +(situations:)25 b(when)18 b(making)d(an)i(in-)0 1021 +y(stance,)h(when)g(re-initializing)d(an)h(instance,)i(when)g(up)q +(dating)e(an)h(instance)h(to)f(con-)0 1073 y(form)d(to)h(a)g +(rede\014ned)i(class,)f(and)f(when)h(up)q(dating)f(an)g(instance)i(to)e +(conform)f(to)h(the)0 1125 y(de\014nition)e(of)h(a)f(di\013eren)o(t)i +(class.)42 1177 y(Because)j(initialization)13 b(argumen)o(ts)j(are)h +(used)g(to)f(con)o(trol)g(the)h(creation)g(and)f(ini-)0 +1229 y(tialization)10 b(of)g(an)i(instance)g(of)f(some)f(particular)i +(class,)g(w)o(e)f(sa)o(y)h(that)f(an)g(initialization)0 +1281 y(argumen)o(t)i(is)h(\\an)f(initialization)e(argumen)o(t)i(for")g +(that)h(class.)0 1417 y Fo(28.1.9.2.)20 b(Declaring)32 +b(the)g(V)-5 b(alidit)n(y)33 b(of)h(Initialization)d(Argu-)224 +1475 y(men)n(ts)0 1557 y Fw(Initialization)17 b(argumen)o(ts)i(are)i(c) +o(hec)o(k)o(ed)g(for)e(v)n(alidit)o(y)f(in)h(eac)o(h)h(of)f(the)i(four) +e(situa-)0 1609 y(tions)e(that)f(use)i(them.)26 b(An)17 +b(initialization)d(argumen)o(t)h(ma)o(y)g(b)q(e)j(v)n(alid)d(in)h(one)h +(situa-)0 1660 y(tion)d(and)g(not)g(another.)20 b(F)m(or)14 +b(example,)f(the)i(system-supplied)f(primary)f(metho)q(d)g(for)0 +1712 y Fs(make-instance)h Fw(de\014ned)j(for)f(the)h(class)f +Fs(standard-class)e Fw(c)o(hec)o(ks)j(the)g(v)n(alidit)o(y)d(of)0 +1764 y(its)h(initialization)d(argumen)o(ts)i(and)g(signals)g(an)h +(error)g(if)f(an)h(initialization)d(argumen)o(t)0 1816 +y(is)i(supplied)g(that)g(is)f(not)h(declared)h(v)n(alid)d(in)i(that)g +(situation.)42 1868 y(There)h(are)f(t)o(w)o(o)f(means)g(of)h(declaring) +f(initialization)e(argumen)o(ts)j(v)n(alid.)0 1928 y +Fu(.)42 1936 y Fw(Initialization)f(argumen)o(ts)j(that)g(\014ll)g +(slots)g(are)h(declared)g(v)n(alid)e(b)o(y)h(the)g Fs(:initarg)42 +1988 y Fw(slot)g(option)h(to)f Fs(defclass)p Fw(.)26 +b(The)18 b Fs(:initarg)d Fw(slot)i(option)f(is)h(inherited)g(from)e +(su-)42 2040 y(p)q(erclasses.)24 b(Th)o(us)15 b(the)h(set)h(of)d(v)n +(alid)g(initialization)e(argumen)o(ts)j(that)g(\014ll)g(slots)g(for)42 +2092 y(a)h(class)h(is)g(the)g(union)f(of)h(the)g(initialization)d +(argumen)o(ts)i(that)h(\014ll)f(slots)h(declared)42 2144 +y(v)n(alid)e(b)o(y)i(that)g(class)h(and)f(its)g(sup)q(erclasses.)30 +b(Initialization)15 b(argumen)o(ts)h(that)i(\014ll)42 +2196 y(slots)c(are)g(v)n(alid)e(in)i(all)e(four)i(con)o(texts.)0 +2268 y Fu(.)42 2277 y Fw(Initialization)j(argumen)o(ts)h(that)h(supply) +h(argumen)o(ts)e(to)h(metho)q(ds)g(are)h(declared)42 +2329 y(v)n(alid)14 b(b)o(y)h(de\014ning)h(those)g(metho)q(ds.)24 +b(The)16 b(k)o(eyw)o(ord)f(name)g(of)g(eac)o(h)h(k)o(eyw)o(ord)g(pa-) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 870 894 +870 893 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(870)77 b(COMMON)13 +b(LISP)42 295 y Fw(rameter)g(sp)q(eci\014ed)j(in)d(the)h(metho)q(d's)f +(lam)o(b)q(da-list)e(b)q(ecomes)j(an)g(initialization)d(ar-)42 +347 y(gumen)o(t)16 b(for)h(all)g(classes)i(for)e(whic)o(h)h(the)g +(metho)q(d)f(is)h(applicable.)29 b(Th)o(us)18 b(metho)q(d)42 +399 y(inheritance)h(con)o(trols)g(the)h(set)g(of)e(v)n(alid)f +(initialization)g(argumen)o(ts)h(that)h(supply)42 450 +y(argumen)o(ts)12 b(to)g(metho)q(ds.)18 b(The)13 b(generic)h(functions) +e(for)h(whic)o(h)g(metho)q(d)f(de\014nitions)42 502 y(serv)o(e)j(to)e +(declare)i(initialization)c(argumen)o(ts)i(v)n(alid)g(are)h(as)g(follo) +o(ws:)42 588 y({)20 b(Making)26 b(an)i(instance)g(of)f(a)g(class:)45 +b Fs(allocate-instance)p Fw(,)27 b Fs(initialize-)83 +640 y(instance)p Fw(,)17 b(and)i Fs(shared-initializ)o(e)p +Fw(.)29 b(Initialization)16 b(argumen)o(ts)i(declared)83 +692 y(v)n(alid)12 b(b)o(y)i(these)h(metho)q(ds)f(are)g(v)n(alid)e(when) +j(making)c(an)j(instance)h(of)e(a)g(class.)42 777 y({)20 +b(Re-initializing)14 b(an)i(instance:)25 b(the)17 b(functions)g +Fs(reinitialize-ins)o(tanc)o(e)d Fw(and)83 829 y Fs(shared-initialize)p +Fw(.)33 b(Initialization)18 b(argumen)o(ts)h(declared)i(v)n(alid)d(b)o +(y)i(these)83 881 y(metho)q(ds)13 b(are)i(v)n(alid)d(when)i +(re-initializing)e(an)i(instance.)42 967 y({)20 b(Up)q(dating)10 +b(an)g(instance)i(to)e(conform)f(to)i(a)f(rede\014ned)i(class:)17 +b Fs(update-instance-)83 1019 y(for-redefined-clas)o(s)k +Fw(and)j Fs(shared-initialize)p Fw(.)46 b(Initialization)22 +b(argu-)83 1071 y(men)o(ts)16 b(declared)i(v)n(alid)e(b)o(y)h(these)h +(metho)q(ds)f(are)g(v)n(alid)f(when)h(up)q(dating)g(an)f(in-)83 +1123 y(stance)f(to)f(conform)e(to)i(a)g(rede\014ned)h(class.)42 +1208 y({)20 b(Up)q(dating)e(an)g(instance)h(to)g(conform)d(to)j(the)g +(de\014nition)f(of)f(a)h(di\013eren)o(t)i(class:)83 1260 +y Fs(update-instance-fo)o(r-di)o(ffere)o(nt-cl)o(ass)7 +b Fw(and)i Fs(shared-initialize)p Fw(.)k(Ini-)83 1312 +y(tialization)18 b(argumen)o(ts)h(declared)i(v)n(alid)d(b)o(y)i(these)h +(metho)q(ds)f(are)g(v)n(alid)e(when)83 1364 y(up)q(dating)13 +b(an)h(instance)h(to)e(conform)g(to)h(the)g(de\014nition)g(of)f(a)g +(di\013eren)o(t)i(class.)42 1450 y(The)d(set)g(of)g(v)n(alid)e +(initialization)f(argumen)o(ts)i(for)g(a)h(class)g(is)f(the)i(set)g(of) +e(v)n(alid)f(initial-)0 1502 y(ization)h(argumen)o(ts)h(that)g(either)h +(\014ll)e(slots)i(or)f(supply)g(argumen)o(ts)f(to)h(metho)q(ds,)g +(along)0 1554 y(with)g(the)g(prede\014ned)i(initialization)c(argumen)o +(t)h Fs(:allow-other-key)o(s)p Fw(.)k(The)d(default)0 +1605 y(v)n(alue)g(for)h Fs(:allow-other-key)o(s)d Fw(is)j +Fs(nil)p Fw(.)k(The)c(meaning)e(of)i Fs(:allow-other-ke)o(ys)d +Fw(is)0 1657 y(the)k(same)f(here)j(as)e(when)g(it)f(is)h(passed)h(to)f +(an)f(ordinary)h(function.)0 1823 y Fo(28.1.9.3.)20 b(Defaulting)14 +b(of)h(Initialization)e(Argumen)n(ts)0 1913 y Fw(A)i +Fv(default)g(value)g(form)i Fw(can)e(b)q(e)g(supplied)g(for)f(an)g +(initialization)d(argumen)o(t)j(b)o(y)g(using)0 1965 +y(the)e Fs(:default-initarg)o(s)c Fw(class)k(option.)k(If)11 +b(an)g(initialization)e(argumen)o(t)h(is)h(declared)0 +2017 y(v)n(alid)i(b)o(y)h(some)g(particular)g(class,)h(its)f(default)g +(v)n(alue)g(form)f(migh)o(t)g(b)q(e)i(sp)q(eci\014ed)h(b)o(y)e(a)0 +2069 y(di\013eren)o(t)j(class.)26 b(In)17 b(this)f(case)h +Fs(:default-initargs)c Fw(is)j(used)i(to)e(supply)g(a)g(default)0 +2121 y(v)n(alue)d(for)h(an)f(inherited)i(initialization)c(argumen)o(t.) +42 2173 y(The)k Fs(:default-initargs)d Fw(option)j(is)g(used)i(only)d +(to)i(pro)o(vide)f(default)g(v)n(alues)g(for)0 2225 y(initialization)c +(argumen)o(ts;)i(it)g(do)q(es)h(not)g(declare)h(a)e(sym)o(b)q(ol)f(as)i +(a)f(v)n(alid)f(initialization)0 2277 y(argumen)o(t)e(name.)16 +b(F)m(urthermore,)c(the)g Fs(:default-initargs)c Fw(option)i(is)i(used) +g(only)f(to)0 2329 y(pro)o(vide)j(default)f(v)n(alues)h(for)f +(initialization)f(argumen)o(ts)h(when)h(making)d(an)j(instance.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 871 895 +871 894 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(871)42 295 y Fw(The)10 b(argumen)o(t)f(to)h(the)g +Fs(:default-initargs)d Fw(class)j(option)g(is)g(a)f(list)h(of)f +(alternating)0 347 y(initialization)18 b(argumen)o(t)h(names)h(and)h +(forms.)37 b(Eac)o(h)21 b(form)d(is)j(the)g(default)f(v)n(alue)0 +399 y(form)15 b(for)i(the)h(corresp)q(onding)f(initialization)e +(argumen)o(t.)26 b(The)17 b(default)g(v)n(alue)f(form)0 +450 y(of)e(an)h(initialization)d(argumen)o(t)i(is)h(used)h(and)e(ev)n +(aluated)h(only)f(if)g(that)h(initialization)0 502 y(argumen)o(t)i(do)q +(es)j(not)e(app)q(ear)h(in)g(the)g(argumen)o(ts)f(to)g +Fs(make-instance)e Fw(and)i(is)h(not)0 554 y(defaulted)14 +b(b)o(y)f(a)g(more)g(sp)q(eci\014c)i(class.)j(The)c(default)g(v)n(alue) +e(form)g(is)i(ev)n(aluated)f(in)g(the)0 606 y(lexical)g(en)o(vironmen)o +(t)h(of)g(the)h Fs(defclass)d Fw(form)h(that)h(supplied)h(it;)e(the)i +(result)h(is)e(used)0 658 y(as)g(the)g(initialization)e(argumen)o(t's)g +(v)n(alue.)42 710 y(The)f(initialization)d(argumen)o(ts)i(supplied)h +(to)g Fs(make-instance)d Fw(are)j(com)o(bined)f(with)0 +762 y(defaulted)21 b(initialization)d(argumen)o(ts)i(to)h(pro)q(duce)h +(a)e Fv(defaulte)n(d)i(initialization)e(ar-)0 814 y(gument)f(list)p +Fw(.)28 b(A)18 b(defaulted)g(initialization)d(argumen)o(t)i(list)g(is)h +(a)f(list)g(of)g(alternating)0 866 y(initialization)e(argumen)o(t)h +(names)h(and)h(v)n(alues)f(in)g(whic)o(h)h(unsupplied)f(initialization) +0 917 y(argumen)o(ts)12 b(are)h(defaulted)f(and)h(in)f(whic)o(h)g(the)h +(explicitly)f(supplied)g(initialization)e(ar-)0 969 y(gumen)o(ts)i(app) +q(ear)g(earlier)h(in)f(the)h(list)f(than)g(the)h(defaulted)f +(initialization)e(argumen)o(ts.)0 1021 y(Defaulted)15 +b(initialization)e(argumen)o(ts)i(are)h(ordered)h(according)f(to)f(the) +i(order)f(in)f(the)0 1073 y(class)f(precedence)j(list)d(of)f(the)h +(classes)i(that)e(supplied)g(the)g(default)g(v)n(alues.)42 +1125 y(There)21 b(is)f(a)g(distinction)g(b)q(et)o(w)o(een)i(the)f(purp) +q(oses)h(of)d(the)i Fs(:default-initargs)0 1177 y Fw(and)d(the)h +Fs(:initform)d Fw(options)i(with)g(resp)q(ect)i(to)e(the)h +(initialization)d(of)h(slots.)31 b(The)0 1229 y Fs(:default-initargs)13 +b Fw(class)k(option)f(pro)o(vides)g(a)h(mec)o(hanism)d(for)i(the)h +(user)h(to)e(giv)o(e)0 1281 y(a)e(default)g(v)n(alue)f(form)f(for)i(an) +g(initialization)e(argumen)o(t)h(without)g(kno)o(wing)g(whether)0 +1333 y(the)i(initialization)c(argumen)o(t)i(initializes)g(a)h(slot)f +(or)h(is)g(passed)i(to)d(a)h(metho)q(d.)k(If)c(that)0 +1384 y(initialization)d(argumen)o(t)i(is)h(not)h(explicitly)e(supplied) +h(in)g(a)g(call)f(to)h Fs(make-instance)p Fw(,)0 1436 +y(the)i(default)f(v)n(alue)f(form)g(is)h(used,)h(just)f(as)h(if)e(it)h +(had)g(b)q(een)h(supplied)g(in)f(the)g(call.)22 b(In)0 +1488 y(con)o(trast,)13 b(the)f Fs(:initform)e Fw(slot)i(option)f(pro)o +(vides)h(a)f(mec)o(hanism)f(for)h(the)i(user)g(to)e(giv)o(e)0 +1540 y(a)h(default)h(initial)e(v)n(alue)h(form)f(for)h(a)g(slot.)18 +b(An)13 b Fs(:initform)e Fw(form)f(is)j(used)h(to)e(initialize)0 +1592 y(a)j(slot)g(only)g(if)f(no)h(initialization)e(argumen)o(t)h(asso) +q(ciated)i(with)f(that)h(slot)f(is)g(giv)o(en)g(as)0 +1644 y(an)f(argumen)o(t)e(to)i Fs(make-instance)d Fw(or)j(is)g +(defaulted)g(b)o(y)g Fs(:default-initar)o(gs)p Fw(.)42 +1696 y(The)h(order)g(of)g(ev)n(aluation)e(of)i(default)f(v)n(alue)g +(forms)g(for)g(initialization)e(argumen)o(ts)0 1748 y(and)19 +b(the)h(order)g(of)f(ev)n(aluation)f(of)h Fs(:initform)e +Fw(forms)h(are)i(unde\014ned.)36 b(If)19 b(the)h(or-)0 +1800 y(der)13 b(of)f(ev)n(aluation)g(matters,)g(use)h +Fs(initialize-instanc)o(e)d Fw(or)i Fs(shared-initialize)0 +1851 y Fw(metho)q(ds.)0 1975 y Fo(28.1.9.4.)20 b(Rules)14 +b(for)h(Initialization)e(Argumen)n(ts)0 2053 y Fw(The)j +Fs(:initarg)e Fw(slot)h(option)g(ma)o(y)e(b)q(e)k(sp)q(eci\014ed)g +(more)d(than)i(once)g(for)f(a)g(giv)o(en)g(slot.)0 2105 +y(The)k(follo)o(wing)e(rules)i(sp)q(ecify)h(when)f(initialization)e +(argumen)o(ts)h(ma)o(y)f(b)q(e)j(m)o(ultiply)0 2156 y(de\014ned:)0 +2216 y Fu(.)42 2225 y Fw(A)f(giv)o(en)g(initialization)e(argumen)o(t)i +(can)g(b)q(e)h(used)h(to)e(initialize)f(more)h(than)h(one)42 +2277 y(slot)e(if)h(the)g(same)g(initialization)d(argumen)o(t)i(name)g +(app)q(ears)i(in)e(more)g(than)i(one)42 2329 y Fs(:initarg)12 +b Fw(slot)h(option.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 872 896 +872 895 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(872)77 b(COMMON)13 +b(LISP)0 286 y Fu(.)42 295 y Fw(A)e(giv)o(en)g(initialization)e +(argumen)o(t)h(name)g(can)i(app)q(ear)g(in)f(the)h(lam)o(b)q(da-list)d +(of)i(more)42 347 y(than)i(one)h(initialization)e(metho)q(d.)0 +441 y Fu(.)42 450 y Fw(A)h(giv)o(en)f(initialization)f(argumen)o(t)g +(name)h(can)i(app)q(ear)f(b)q(oth)g(in)g(an)g Fs(:initarg)e +Fw(slot)42 501 y(option)i(and)g(in)h(the)g(lam)o(b)q(da-list)d(of)j(an) +f(initialization)e(metho)q(d.)42 594 y(If)19 b(t)o(w)o(o)h(or)f(more)g +(initialization)f(argumen)o(ts)h(that)h(initialize)e(the)j(same)e(slot) +g(are)0 646 y(giv)o(en)12 b(in)h(the)h(argumen)o(ts)e(to)h +Fs(make-instance)p Fw(,)d(the)j(leftmost)f(of)g(these)i(initialization) +0 698 y(argumen)o(ts)i(in)h(the)h(initialization)d(argumen)o(t)h(list)g +(supplies)i(the)g(v)n(alue,)f(ev)o(en)h(if)e(the)0 750 +y(initialization)11 b(argumen)o(ts)i(ha)o(v)o(e)h(di\013eren)o(t)h +(names.)42 803 y(If)10 b(t)o(w)o(o)h(or)h(more)e(di\013eren)o(t)i +(initialization)d(argumen)o(ts)h(that)i(initialize)e(the)i(same)e(slot) +0 855 y(ha)o(v)o(e)17 b(default)h(v)n(alues)f(and)g(none)h(is)g(giv)o +(en)f(explicitly)f(in)h(the)i(argumen)o(ts)d(to)i Fs(make-)0 +907 y(instance)p Fw(,)12 b(the)i(initialization)d(argumen)o(t)h(that)i +(app)q(ears)h(in)e(a)g Fs(:default-initargs)0 959 y Fw(class)j(option)e +(in)h(the)h(most)e(sp)q(eci\014c)i(of)f(the)h(classes)g(supplies)g(the) +g(v)n(alue.)21 b(If)15 b(a)g(single)0 1011 y Fs(:default-initargs)i +Fw(class)k(option)f(sp)q(eci\014es)i(t)o(w)o(o)e(or)h(more)e +(initialization)f(argu-)0 1063 y(men)o(ts)e(that)h(initialize)e(the)i +(same)f(slot)h(and)f(none)h(is)g(giv)o(en)f(explicitly)g(in)g(the)h +(argu-)0 1115 y(men)o(ts)d(to)g Fs(make-instance)p Fw(,)e(the)j +(leftmost)e(argumen)o(t)h(in)g(the)h Fs(:default-initargs)0 +1166 y Fw(class)f(option)f(supplies)i(the)f(v)n(alue,)f(and)g(the)i(v)n +(alues)e(of)h(the)g(remaining)e(default)h(v)n(alue)0 +1218 y(forms)g(are)h(ignored.)42 1272 y(Initialization)28 +b(argumen)o(ts)i(giv)o(en)g(explicitly)g(in)h(the)g(argumen)o(ts)f(to)h +Fs(make-)0 1324 y(instance)16 b Fw(app)q(ear)h(to)g(the)h(left)f(of)g +(defaulted)g(initialization)e(argumen)o(ts.)27 b(Supp)q(ose)0 +1376 y(that)14 b(the)h(classes)g Fv(C)324 1382 y Fk(1)357 +1376 y Fw(and)f Fv(C)468 1382 y Fk(2)500 1376 y Fw(supply)g(the)h(v)n +(alues)f(of)f(defaulted)i(initialization)c(argu-)0 1428 +y(men)o(ts)j(for)g(di\013eren)o(t)i(slots,)e(and)h(supp)q(ose)g(that)g +Fv(C)817 1434 y Fk(1)850 1428 y Fw(is)f(more)g(sp)q(eci\014c)i(than)e +Fv(C)1269 1434 y Fk(2)1288 1428 y Fw(;)g(then)0 1480 +y(the)h(defaulted)g(initialization)d(argumen)o(t)h(whose)j(v)n(alue)e +(is)g(supplied)h(b)o(y)f Fv(C)1210 1486 y Fk(1)1243 1480 +y Fw(is)h(to)f(the)0 1532 y(left)g(of)g(the)h(defaulted)f +(initialization)e(argumen)o(t)h(whose)h(v)n(alue)g(is)g(supplied)h(b)o +(y)f Fv(C)1328 1538 y Fk(2)1360 1532 y Fw(in)0 1583 y(the)d(defaulted)f +(initialization)e(argumen)o(t)h(list.)16 b(If)10 b(a)g(single)g +Fs(:default-initarg)o(s)d Fw(class)0 1635 y(option)15 +b(supplies)i(the)g(v)n(alues)f(of)f(initialization)f(argumen)o(ts)h +(for)h(t)o(w)o(o)g(di\013eren)o(t)h(slots,)0 1687 y(the)f +(initialization)d(argumen)o(t)h(whose)i(v)n(alue)f(is)g(sp)q(eci\014ed) +i(farther)f(to)f(the)h(left)f(in)g(the)0 1739 y Fs(default-initargs)f +Fw(class)j(option)g(app)q(ears)h(farther)f(to)g(the)h(left)f(in)g(the)h +(defaulted)0 1791 y(initialization)11 b(argumen)o(t)i(list.)42 +1845 y(If)k(a)g(slot)g(has)h(b)q(oth)f(an)h Fs(:initform)d +Fw(form)h(and)h(an)h Fs(:initarg)d Fw(slot)j(option,)f(and)0 +1897 y(the)f(initialization)c(argumen)o(t)i(is)h(defaulted)g(using)g +Fs(:default-initargs)c Fw(or)16 b(is)e(sup-)0 1948 y(plied)k(to)g +Fs(make-instance)p Fw(,)e(the)j(captured)g Fs(:initform)d +Fw(form)h(is)h(neither)h(used)g(nor)0 2000 y(ev)n(aluated.)42 +2054 y(The)14 b(follo)o(wing)d(is)j(an)g(example)e(of)h(the)i +(preceding)g(rules:)0 2158 y Fs(\(defclass)k(q)i(\(\))g(\(\(x)g +(:initarg)e(a\)\)\))0 2261 y(\(defclass)g(r)i(\(q\))g(\(\(x)f(:initarg) +g(b\)\))42 2313 y(\(:default-initargs)e(a)j(1)g(b)g(2\)\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 873 897 +873 896 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(873)684 290 y Fw(Defaulted)13 b(Initialization)126 +b(Con)o(ten)o(ts)0 341 y(F)m(orm)587 b(Argumen)o(t)13 +b(List)283 b(of)13 b(Slot)p 0 359 1395 2 v 0 408 a Fs(\(make-instance) +324 412 y Fn(')347 408 y Fs(r\))293 b(\(a)20 b(1)h(b)g(2\))355 +b(1)0 460 y(\(make-instance)324 464 y Fn(')347 460 y +Fs(r)388 464 y Fn(')412 460 y Fs(a)21 b(3\))185 b(\(a)20 +b(3)h(b)g(2\))355 b(3)0 512 y(\(make-instance)324 516 +y Fn(')347 512 y Fs(r)388 516 y Fn(')412 512 y Fs(b)21 +b(4\))185 b(\(b)20 b(4)h(a)g(1\))355 b(4)0 564 y(\(make-instance)324 +568 y Fn(')347 564 y Fs(r)388 568 y Fn(')412 564 y Fs(a)21 +b(1)495 568 y Fn(')519 564 y Fs(a)g(2\))78 b(\(a)20 b(1)h(a)g(2)g(b)g +(2\))269 b(1)p 0 581 V 0 707 a Fo(28.1.9.5.)20 b(Shared-Initialize)0 +791 y Fw(The)f(generic)g(function)f Fs(shared-initialize)d +Fw(is)k(used)g(to)f(\014ll)g(the)h(slots)f(of)g(an)g(in-)0 +843 y(stance)d(using)e(initialization)d(argumen)o(ts)j(and)g +Fs(:initform)f Fw(forms)g(when)i(an)f(instance)0 895 +y(is)h(created,)i(when)f(an)f(instance)h(is)f(re-initialized,)f(when)i +(an)f(instance)i(is)e(up)q(dated)h(to)0 946 y(conform)e(to)g(a)h +(rede\014ned)i(class,)e(and)g(when)g(an)g(instance)h(is)f(up)q(dated)g +(to)g(conform)f(to)0 998 y(a)f(di\013eren)o(t)i(class.)k(It)13 +b(uses)h(standard)f(metho)q(d)f(com)o(bination.)j(It)e(tak)o(es)g(the)g +(follo)o(wing)0 1050 y(argumen)o(ts:)18 b(the)d(instance)h(to)e(b)q(e)h +(initialized,)d(a)j(sp)q(eci\014cation)g(of)e(a)i(set)g(of)f(names)f +(of)0 1102 y(slots)h(accessible)i(in)d(that)h(instance,)h(and)e(an)o(y) +h(n)o(um)o(b)q(er)f(of)h(initialization)d(argumen)o(ts.)0 +1154 y(The)j(argumen)o(ts)f(after)i(the)f(\014rst)h(t)o(w)o(o)e(m)o +(ust)g(form)f(an)i(initialization)d(argumen)o(t)i(list.)42 +1206 y(The)h(second)h(argumen)o(t)d(to)i Fs(shared-initialize)c +Fw(ma)o(y)i(b)q(e)i(one)g(of)f(the)i(follo)o(wing:)0 +1265 y Fu(.)42 1274 y Fw(It)e(can)i(b)q(e)f(a)g(list)f(of)g(slot)h +(names,)f(whic)o(h)g(sp)q(eci\014es)j(the)f(set)f(of)g(those)g(slot)g +(names.)0 1346 y Fu(.)42 1355 y Fw(It)f(can)i(b)q(e)f +Fs(nil)p Fw(,)f(whic)o(h)h(sp)q(eci\014es)h(the)g(empt)o(y)e(set)h(of)g +(slot)f(names.)0 1427 y Fu(.)42 1436 y Fw(It)g(can)i(b)q(e)f(the)h(sym) +o(b)q(ol)d Fs(t)p Fw(,)h(whic)o(h)h(sp)q(eci\014es)h(the)g(set)g(of)e +(all)g(of)g(the)h(slots.)42 1505 y(There)f(is)g(a)f(system-supplied)g +(primary)f(metho)q(d)h(for)g Fs(shared-initialize)d Fw(whose)0 +1557 y(\014rst)18 b(parameter)g(sp)q(ecializer)g(is)g(the)g(class)g +Fs(standard-object)p Fw(.)26 b(This)17 b(metho)q(d)g(b)q(e-)0 +1609 y(ha)o(v)o(es)d(as)g(follo)o(ws)e(on)i(eac)o(h)g(slot,)g(whether)h +(shared)g(or)e(lo)q(cal:)0 1668 y Fu(.)42 1677 y Fw(If)j(an)g +(initialization)e(argumen)o(t)i(in)g(the)h(initialization)d(argumen)o +(t)h(list)i(sp)q(eci\014es)h(a)42 1729 y(v)n(alue)e(for)i(that)f(slot,) +h(that)g(v)n(alue)f(is)g(stored)i(in)o(to)e(the)h(slot,)g(ev)o(en)g(if) +f(a)h(v)n(alue)f(has)42 1781 y(already)12 b(b)q(een)h(stored)h(in)e +(the)h(slot)g(b)q(efore)g(the)g(metho)q(d)f(is)h(run.)k(The)d +(a\013ected)g(slots)42 1833 y(are)19 b(indep)q(enden)o(t)h(of)e(whic)o +(h)g(slots)h(are)g(indicated)g(b)o(y)f(the)i(second)f(argumen)o(t)f(to) +42 1885 y Fs(shared-initiali)o(ze)p Fw(.)0 1957 y Fu(.)42 +1966 y Fw(An)o(y)c(slots)h(indicated)g(b)o(y)f(the)h(second)h(argumen)o +(t)e(that)g(are)i(still)d(un)o(b)q(ound)i(at)g(this)42 +2017 y(p)q(oin)o(t)k(are)i(initialized)d(according)i(to)g(their)h +Fs(:initform)d Fw(forms.)35 b(F)m(or)19 b(an)o(y)h(suc)o(h)42 +2069 y(slot)g(that)h(has)g(an)f Fs(:initform)f Fw(form,)h(that)h(form)e +(is)i(ev)n(aluated)f(in)g(the)i(lexical)42 2121 y(en)o(vironmen)o(t)c +(of)h(its)g(de\014ning)h Fs(defclass)d Fw(form)h(and)h(the)h(result)h +(is)e(stored)h(in)o(to)42 2173 y(the)15 b(slot.)22 b(F)m(or)14 +b(example,)g(if)g(a)h Fs(:before)f Fw(metho)q(d)g(stores)j(a)d(v)n +(alue)h(in)g(the)g(slot,)g(the)42 2225 y Fs(:initform)8 +b Fw(form)h(will)g(not)i(b)q(e)g(used)h(to)e(supply)h(a)f(v)n(alue)g +(for)g(the)h(slot.)17 b(If)10 b(the)i(second)42 2277 +y(argumen)o(t)g(sp)q(eci\014es)j(a)e(name)f(that)i(do)q(es)g(not)g +(corresp)q(ond)h(to)e(an)o(y)g(slots)g(accessible)42 +2329 y(in)g(the)h(instance,)h(the)f(results)h(are)f(unsp)q(eci\014ed.) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 874 898 +874 897 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(874)77 b(COMMON)13 +b(LISP)0 286 y Fu(.)42 295 y Fw(The)h(rules)g(men)o(tioned)f(in)h +(section)g(28.1.9.4)d(are)k(ob)q(ey)o(ed.)42 619 y(The)33 +b(generic)h(function)f Fs(shared-initialize)d Fw(is)j(called)f(b)o(y)h +(the)h(system-)0 670 y(supplied)18 b(primary)d(metho)q(ds)i(for)g(the)h +(generic)h(functions)e Fs(initialize-instanc)o(e)p Fw(,)0 +722 y Fs(reinitialize-inst)o(ance)p Fw(,)38 b Fs(update-instance-for)o +(-diff)o(erent)o(-clas)o(s)p Fw(,)h(and)0 774 y Fs(update-instance-f)o +(or-re)o(defin)o(ed-cl)o(ass)p Fw(.)15 b(Th)o(us)g(metho)q(ds)e(can)i +(b)q(e)f(written)h(for)0 826 y Fs(shared-initialize)f +Fw(to)k(sp)q(ecify)h(actions)f(that)g(should)f(b)q(e)i(tak)o(en)f(in)f +(all)g(of)g(these)0 878 y(con)o(texts.)0 1833 y Fo(28.1.9.6.)j +(Initialize-Instance)0 2173 y Fw(The)e(generic)g(function)f +Fs(initialize-instan)o(ce)d Fw(is)j(called)g(b)o(y)g +Fs(make-instance)e Fw(to)0 2225 y(initialize)j(a)h(newly)g(created)h +(instance.)35 b(It)19 b(uses)i(standard)e(metho)q(d)g(com)o(bination.)0 +2277 y(Metho)q(ds)f(for)e Fs(initialize-instan)o(ce)e +Fw(can)i(b)q(e)i(de\014ned)f(in)g(order)g(to)f(p)q(erform)g(an)o(y)0 +2329 y(initialization)10 b(that)i(cannot)g(b)q(e)h(ac)o(hiev)o(ed)g +(with)f(the)h(simple)e(slot-\014lling)f(mec)o(hanisms.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 875 899 +875 898 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(875)42 295 y Fw(During)14 b(initialization,)e +Fs(initialize-insta)o(nce)g Fw(is)j(in)o(v)o(ok)o(ed)f(after)h(the)g +(follo)o(wing)0 347 y(actions)f(ha)o(v)o(e)g(b)q(een)h(tak)o(en:)0 +475 y Fu(.)42 484 y Fw(The)i(defaulted)f(initialization)e(argumen)o(t)i +(list)g(has)g(b)q(een)i(computed)e(b)o(y)h(com)o(bin-)42 +536 y(ing)d(the)i(supplied)f(initialization)d(argumen)o(t)i(list)g +(with)h(an)o(y)g(default)f(initialization)42 588 y(argumen)o(ts)f(for)g +(the)i(class.)0 724 y Fu(.)42 733 y Fw(The)f(v)n(alidit)o(y)e(of)h(the) +h(defaulted)g(initialization)e(argumen)o(t)g(list)i(has)g(b)q(een)h(c)o +(hec)o(k)o(ed.)42 785 y(If)e(an)o(y)h(of)f(the)i(initialization)d +(argumen)o(ts)h(has)h(not)g(b)q(een)i(declared)f(v)n(alid,)d(an)i +(error)42 837 y(is)f(signaled.)0 973 y Fu(.)42 982 y +Fw(A)g(new)i(instance)f(whose)h(slots)f(are)g(un)o(b)q(ound)g(has)g(b)q +(een)h(created.)42 1119 y(The)c(generic)i(function)e +Fs(initialize-instan)o(ce)d Fw(is)k(called)f(with)g(the)h(new)g +(instance)0 1171 y(and)17 b(the)h(defaulted)g(initialization)c(argumen) +o(ts.)28 b(There)19 b(is)e(a)g(system-supplied)g(pri-)0 +1223 y(mary)e(metho)q(d)i(for)f Fs(initialize-instanc)o(e)e +Fw(whose)k(parameter)e(sp)q(ecializer)i(is)f(the)0 1275 +y(class)22 b Fs(standard-object)p Fw(.)37 b(This)21 b(metho)q(d)g +(calls)g(the)h(generic)g(function)f Fs(shared-)0 1327 +y(initialize)13 b Fw(to)j(\014ll)e(in)h(the)h(slots)g(according)f(to)g +(the)i(initialization)12 b(argumen)o(ts)j(and)0 1379 +y(the)h Fs(:initform)d Fw(forms)h(for)h(the)g(slots;)h(the)f(generic)h +(function)f Fs(shared-initialize)0 1431 y Fw(is)k(called)g(with)f(the)i +(follo)o(wing)c(argumen)o(ts:)28 b(the)20 b(instance,)g +Fs(t)p Fw(,)g(and)f(the)h(defaulted)0 1483 y(initialization)11 +b(argumen)o(ts.)42 1540 y(Note)g(that)h Fs(initialize-inst)o(ance)c +Fw(pro)o(vides)j(the)h(defaulted)g(initialization)c(argu-)0 +1592 y(men)o(t)j(list)h(in)g(its)h(call)f(to)g Fs(shared-initialize)o +Fw(,)e(so)i(the)h(\014rst)g(step)h(p)q(erformed)e(b)o(y)g(the)0 +1644 y(system-supplied)j(primary)e(metho)q(d)g(for)i +Fs(shared-initialize)c Fw(tak)o(es)k(in)o(to)f(accoun)o(t)0 +1695 y(b)q(oth)g(the)g(initialization)d(argumen)o(ts)j(pro)o(vided)f +(in)h(the)g(call)f(to)h Fs(make-instance)d Fw(and)0 1747 +y(the)j(defaulted)h(initialization)c(argumen)o(t)h(list.)42 +1805 y(Metho)q(ds)i(for)f Fs(initialize-inst)o(ance)d +Fw(can)j(b)q(e)h(de\014ned)g(to)f(sp)q(ecify)h(actions)f(to)g(b)q(e)0 +1856 y(tak)o(en)d(when)g(an)g(instance)g(is)g(initialized.)15 +b(If)9 b(only)g Fs(:after)f Fw(metho)q(ds)i(for)f Fs(initialize-)0 +1908 y(instance)18 b Fw(are)j(de\014ned,)h(they)e(will)f(b)q(e)h(run)h +(after)f(the)h(system-supplied)e(primary)0 1960 y(metho)q(d)11 +b(for)h(initialization)e(and)i(therefore)h(they)g(will)e(not)h(in)o +(terfere)h(with)f(the)h(default)0 2012 y(b)q(eha)o(vior)h(of)f +Fs(initialize-instan)o(ce)p Fw(.)42 2069 y(The)18 b(Ob)r(ject)i(System) +e(pro)o(vides)h(t)o(w)o(o)f(functions)h(that)f(are)h(useful)g(in)f(the) +h(b)q(o)q(dies)0 2121 y(of)i Fs(initialize-instanc)o(e)e +Fw(metho)q(ds.)41 b(The)22 b(function)f Fs(slot-boundp)f +Fw(returns)j(a)0 2173 y(b)q(o)q(olean)17 b(v)n(alue)g(that)h(indicates) +g(whether)h(a)f(sp)q(eci\014ed)h(slot)e(has)h(a)g(v)n(alue;)g(this)g +(pro-)0 2225 y(vides)i(a)f(mec)o(hanism)e(for)i(writing)g +Fs(:after)f Fw(metho)q(ds)i(for)f Fs(initialize-insta)o(nce)0 +2277 y Fw(that)c(initialize)f(slots)i(only)e(if)h(they)h(ha)o(v)o(e)f +(not)g(already)g(b)q(een)i(initialized.)k(The)16 b(func-)0 +2329 y(tion)d Fs(slot-makunbound)e Fw(causes)k(the)g(slot)e(to)h(ha)o +(v)o(e)g(no)g(v)n(alue.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 876 900 +876 899 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(876)77 b(COMMON)13 +b(LISP)0 295 y Fo(28.1.9.7.)20 b(De\014nitions)44 b(of)i(Mak)n +(e-Instance)e(and)i(Initialize-)224 353 y(Instance)0 +2277 y Fw(The)14 b(generic)h(function)f Fs(make-instance)d +Fw(b)q(eha)o(v)o(es)k(as)f(if)f(it)g(w)o(ere)i(de\014ned)g(as)f(follo)o +(ws,)0 2329 y(except)h(that)f(certain)h(optimizations)c(are)k(p)q +(ermitted:)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 877 901 +877 900 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(877)0 295 y Fs(\(defmethod)19 b(make-instance)g +(\(\(class)g(standard-class\))f(&rest)j(initargs\))42 +347 y(\(setq)f(initargs)g(\(default-initargs)e(class)i(initargs\)\))42 +399 y(...)42 450 y(\(let)h(\(\(instance)e(\(apply)h(#)542 +446 y(-)542 454 y(-)m Fn(')585 450 y Fs(allocate-instanc)o(e)e(class)i +(initargs\)\)\))85 502 y(\(apply)g(#)237 498 y(-)237 +506 y(-)m Fn(')280 502 y Fs(initialize-inst)o(ance)e(instance)h +(initargs\))85 554 y(instance\)\))0 658 y(\(defmethod)g(make-instance)g +(\(\(class-name)f(symbol\))i(&rest)g(initargs\))42 710 +y(\(apply)g(#)194 706 y(-)194 714 y(-)n Fn(')237 710 +y Fs(make-instance)f(\(find-class)g(class-name\))g(initargs\)\))42 +815 y Fw(The)27 b(elided)f(co)q(de)i(in)e(the)h(de\014nition)f(of)g +Fs(make-instance)e Fw(c)o(hec)o(ks)k(the)f(sup-)0 867 +y(plied)e(initialization)e(argumen)o(ts)i(to)h(determine)f(whether)i +(an)f(initialization)d(ar-)0 919 y(gumen)o(t)28 b(w)o(as)h(supplied)g +(that)g(neither)h(\014lled)f(a)f(slot)h(nor)g(supplied)g(an)g(argu-)0 +971 y(men)o(t)c(to)h(an)g(applicable)f(metho)q(d.)53 +b(This)26 b(c)o(hec)o(k)h(could)f(b)q(e)h(implemen)o(ted)c(us-)0 +1022 y(ing)14 b(the)h(generic)h(functions)e Fs(class-prototype)p +Fw(,)e Fs(compute-applicab)o(le-m)o(ethod)o(s)p Fw(,)0 +1074 y Fs(function-keywords)o Fw(,)j(and)h Fs(class-slot-initarg)o(s)p +Fw(.)24 b(See)18 b(the)f(third)g(part)g(of)f(the)0 1126 +y(Common)10 b(Lisp)k(Ob)r(ject)h(System)e(sp)q(eci\014cation)i(for)e(a) +h(description)g(of)f(this)h(initializa-)0 1178 y(tion)i(argumen)o(t)g +(c)o(hec)o(k.)27 b([The)16 b(third)h(part)g(has)g(not)f(y)o(et)h(b)q +(een)h(appro)o(v)o(ed)f(b)o(y)f(X3J13)0 1230 y(for)f(inclusion)g(in)g +(the)h(forthcoming)d(Common)f(Lisp)j(standard)h(and)f(is)g(not)h +(included)0 1282 y(in)d(this)h(b)q(o)q(ok.|GLS])42 1336 +y(The)j(generic)g(function)g Fs(initialize-instanc)o(e)d +Fw(b)q(eha)o(v)o(es)k(as)e(if)g(it)h(w)o(ere)h(de\014ned)0 +1388 y(as)c(follo)o(ws,)e(except)j(that)f(certain)h(optimizations)c +(are)j(p)q(ermitted:)0 1495 y Fs(\(defmethod)19 b(initialize-instanc)o +(e)233 1547 y(\(\(instance)g(standard-object\))f(&rest)i(initargs\))42 +1599 y(\(apply)g(#)194 1595 y(-)194 1603 y(-)n Fn(')237 +1599 y Fs(shared-initialize)e(instance)h(t)i(initargs\)\)\))42 +1704 y Fw(These)e(pro)q(cedures)h(can)f(b)q(e)f(customized)g(at)g +(either)h(the)g(Programmer)d(In)o(terface)0 1756 y(lev)o(el,)d(the)i +(meta-ob)r(ject)e(lev)o(el,)g(or)h(b)q(oth.)42 1810 y(Customizing)31 +b(at)j(the)g(Programmer)e(In)o(terface)i(lev)o(el)g(includes)g(using)f +(the)0 1862 y Fs(:initform)p Fw(,)j Fs(:initarg)p Fw(,)g(and)d +Fs(:default-initargs)d Fw(options)j(to)g Fs(defclass)p +Fw(,)0 1914 y(as)39 b(w)o(ell)g(as)g(de\014ning)h(metho)q(ds)e(for)h +Fs(make-instance)e Fw(and)i Fs(initialize-)0 1966 y(instance)p +Fw(.)f(It)22 b(is)f(also)f(p)q(ossible)i(to)f(de\014ne)h(metho)q(ds)f +(for)g Fs(shared-initializ)o(e)p Fw(,)0 2017 y(whic)o(h)41 +b(w)o(ould)f(b)q(e)h(in)o(v)o(ok)o(ed)f(b)o(y)h(the)g(generic)h +(functions)e Fs(reinitialize-)0 2069 y(instance)p Fw(,)h +Fs(update-instance-f)o(or-r)o(edefi)o(ned-c)o(lass)p +Fw(,)e Fs(update-instance-)0 2121 y(for-different-cla)o(ss)p +Fw(,)16 b(and)j Fs(initialize-instanc)o(e)p Fw(.)30 b(The)19 +b(meta-ob)r(ject)f(lev)o(el)0 2173 y(supp)q(orts)11 b(additional)d +(customization)g(b)o(y)i(allo)o(wing)d(metho)q(ds)i(to)h(b)q(e)g +(de\014ned)h(on)f Fs(make-)0 2225 y(instance)p Fw(,)f +Fs(default-initargs)p Fw(,)f(and)i Fs(allocate-instance)p +Fw(.)k(P)o(arts)d(2)f(and)h(3)f(of)g(the)0 2277 y(Common)15 +b(Lisp)k(Ob)r(ject)h(System)e(sp)q(eci\014cation)h(do)q(cumen)o(t)g +(eac)o(h)g(of)f(these)i(generic)0 2329 y(functions)13 +b(and)h(the)g(system-supplied)f(primary)f(metho)q(ds.)17 +b([The)c(third)h(part)f(has)h(not)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 878 902 +878 901 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(878)77 b(COMMON)13 +b(LISP)0 295 y Fw(y)o(et)j(b)q(een)h(appro)o(v)o(ed)e(b)o(y)h(X3J13)f +(for)g(inclusion)g(in)h(the)g(forthcoming)e(Comm)o(on)f(Lisp)0 +347 y(standard)h(and)g(is)g(not)g(included)g(in)f(this)h(b)q(o)q +(ok.|GLS])42 399 y(Implemen)o(tatio)o(ns)38 b(are)i(p)q(ermitted)g(to)f +(mak)o(e)g(certain)h(optimizations)e(to)0 451 y Fs(initialize-instan)o +(ce)9 b Fw(and)i Fs(shared-initialize)p Fw(.)j(The)e(description)g(of)f +Fs(shared-)0 503 y(initialize)h Fw(in)h(section)i(28.2)d(men)o(tions)h +(the)i(p)q(ossible)f(optimizations.)42 555 y(Because)h(of)e +(optimization,)d(the)k(c)o(hec)o(k)h(for)e(v)n(alid)f(initialization)f +(argumen)o(ts)i(migh)o(t)0 607 y(not)g(b)q(e)g(implemen)o(ted)e(using)i +(the)g(generic)h(functions)f Fs(class-prototype)p Fw(,)c +Fs(compute-)0 659 y(applicable-method)o(s)p Fw(,)14 b +Fs(function-keywords)p Fw(,)g(and)i Fs(class-slot-initarg)o(s)p +Fw(.)24 b(In)0 711 y(addition,)9 b(metho)q(ds)g(for)g(the)h(generic)g +(function)g Fs(default-initarg)o(s)d Fw(and)i(the)h(system-)0 +763 y(supplied)18 b(primary)e(metho)q(ds)h(for)h Fs(allocate-instan)o +(ce)p Fw(,)d Fs(initialize-instanc)o(e)p Fw(,)0 815 y(and)d +Fs(shared-initialize)d Fw(migh)o(t)h(not)j(b)q(e)g(called)f(on)g(ev)o +(ery)i(call)d(to)h Fs(make-instance)0 867 y Fw(or)i(migh)o(t)e(not)h +(receiv)o(e)j(exactly)e(the)g(argumen)o(ts)f(that)h(w)o(ould)f(b)q(e)i +(exp)q(ected.)0 1041 y Fo(28.1.10.)20 b(Rede\014ning)14 +b(Classes)0 1134 y Fw(A)c(class)h(that)f(is)g(an)g(instance)g(of)g +Fs(standard-class)d Fw(can)j(b)q(e)h(rede\014ned)h(if)d(the)i(new)f +(class)0 1185 y(will)k(also)g(b)q(e)i(an)f(instance)h(of)e +Fs(standard-class)p Fw(.)19 b(Rede\014ning)d(a)e(class)i(mo)q(di\014es) +e(the)0 1237 y(existing)c(class)h(ob)r(ject)h(to)e(re\015ect)j(the)e +(new)g(class)g(de\014nition;)g(it)f(do)q(es)h(not)g(create)h(a)e(new)0 +1289 y(class)i(ob)r(ject)h(for)f(the)g(class.)18 b(An)o(y)12 +b(metho)q(d)f(ob)r(ject)i(created)g(b)o(y)f(a)f Fs(:reader)p +Fw(,)g Fs(:writer)p Fw(,)0 1341 y(or)i Fs(:accessor)e +Fw(option)i(sp)q(eci\014ed)h(b)o(y)f(the)h(old)e Fs(defclass)f +Fw(form)h(is)h(remo)o(v)o(ed)f(from)f(the)0 1393 y(corresp)q(onding)i +(generic)g(function.)k(Metho)q(ds)12 b(sp)q(eci\014ed)i(b)o(y)e(the)g +(new)g Fs(defclass)e Fw(form)0 1445 y(are)k(added.)42 +1497 y(When)f(the)h(class)g Fv(C)f Fw(is)h(rede\014ned,)h(c)o(hanges)f +(are)g(propagated)f(to)h(its)f(instances)i(and)0 1549 +y(to)f(instances)h(of)f(an)o(y)f(of)h(its)g(sub)q(classes.)20 +b(Up)q(dating)14 b(suc)o(h)h(an)f(instance)g(o)q(ccurs)i(at)e(an)0 +1601 y(implemen)o(tatio)o(n-dep)q(enden)o(t)c(time,)g(but)i(no)f(later) +g(than)g(the)h(next)f(time)f(a)h(slot)g(of)g(that)0 1653 +y(instance)i(is)f(read)h(or)f(written.)18 b(Up)q(dating)12 +b(an)g(instance)h(do)q(es)f(not)h(c)o(hange)f(its)g(iden)o(tit)o(y)0 +1705 y(as)17 b(de\014ned)i(b)o(y)e(the)h Fs(eq)f Fw(function.)28 +b(The)18 b(up)q(dating)f(pro)q(cess)i(ma)o(y)d(c)o(hange)i(the)g(slots) +0 1757 y(of)d(that)h(particular)g(instance,)h(but)f(it)g(do)q(es)g(not) +g(create)i(a)d(new)i(instance.)25 b(Whether)0 1809 y(up)q(dating)13 +b(an)h(instance)h(consumes)f(storage)g(is)g(implemen)o(tati)o(on-dep)q +(enden)o(t.)42 1861 y(Note)19 b(that)g(rede\014ning)h(a)e(class)i(ma)o +(y)d(cause)j(slots)f(to)g(b)q(e)g(added)h(or)f(deleted.)34 +b(If)0 1913 y(a)19 b(class)i(is)e(rede\014ned)j(in)d(a)h(w)o(a)o(y)f +(that)h(c)o(hanges)g(the)h(set)f(of)g(lo)q(cal)e(slots)i(accessible)0 +1965 y(in)c(instances,)h(the)f(instances)h(will)e(b)q(e)i(up)q(dated.) +25 b(It)16 b(is)g(implem)o(en)o(tation-dep)q(enden)o(t)0 +2017 y(whether)h(instances)g(are)f(up)q(dated)g(if)f(a)h(class)g(is)f +(rede\014ned)j(in)d(a)h(w)o(a)o(y)f(that)g(do)q(es)i(not)0 +2069 y(c)o(hange)d(the)h(set)g(of)e(lo)q(cal)g(slots)h(accessible)h(in) +f(instances.)42 2121 y(The)h(v)n(alue)f(of)h(a)g(slot)f(that)h(is)g(sp) +q(eci\014ed)i(as)e(shared)h(b)q(oth)f(in)g(the)g(old)g(class)g(and)g +(in)0 2173 y(the)g(new)f(class)h(is)f(retained.)19 b(If)14 +b(suc)o(h)h(a)f(shared)h(slot)f(w)o(as)g(un)o(b)q(ound)g(in)g(the)g +(old)g(class,)0 2225 y(it)f(will)e(b)q(e)j(un)o(b)q(ound)f(in)g(the)h +(new)f(class.)18 b(Slots)13 b(that)g(w)o(ere)h(lo)q(cal)f(in)f(the)i +(old)e(class)i(and)0 2277 y(that)f(are)h(shared)g(in)f(the)h(new)g +(class)g(are)f(initialized.)k(Newly)c(added)h(shared)g(slots)f(are)0 +2329 y(initialized.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 879 903 +879 902 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(879)42 295 y Fw(Eac)o(h)12 b(newly)g(added)g(shared)h +(slot)f(is)g(set)h(to)f(the)h(result)g(of)e(ev)n(aluating)g(the)i +(captured)0 347 y Fs(:initform)g Fw(form)f(for)j(the)g(slot)f(that)h(w) +o(as)f(sp)q(eci\014ed)i(in)e(the)h Fs(defclass)e Fw(form)g(for)h(the)0 +399 y(new)g(class.)19 b(If)13 b(there)j(is)d(no)h Fs(:initform)e +Fw(form,)g(the)i(slot)g(is)f(un)o(b)q(ound.)42 450 y(If)d(a)h(class)h +(is)f(rede\014ned)i(in)d(suc)o(h)i(a)f(w)o(a)o(y)g(that)g(the)h(set)g +(of)e(lo)q(cal)g(slots)i(accessible)g(in)f(an)0 502 y(instance)k(of)e +(the)h(class)g(is)g(c)o(hanged,)g(a)f(t)o(w)o(o-step)h(pro)q(cess)i(of) +d(up)q(dating)g(the)i(instances)0 554 y(of)h(the)i(class)f(tak)o(es)h +(place.)27 b(The)17 b(pro)q(cess)i(ma)o(y)c(b)q(e)j(explicitly)e +(started)i(b)o(y)f(in)o(v)o(oking)0 606 y(the)g(generic)g(function)f +Fs(make-instances-o)o(bsole)o(te)p Fw(.)22 b(This)16 +b(t)o(w)o(o-step)g(pro)q(cess)j(can)0 658 y(happ)q(en)h(in)f(other)h +(circumstances)g(in)f(some)f(implemen)o(tations.)31 b(F)m(or)19 +b(example,)g(in)0 710 y(some)c(implemen)o(tations)e(this)j(t)o(w)o +(o-step)h(pro)q(cess)h(will)c(b)q(e)j(triggered)g(if)e(the)i(order)f +(of)0 762 y(slots)e(in)f(storage)i(is)f(c)o(hanged.)42 +814 y(The)j(\014rst)h(step)g(mo)q(di\014es)e(the)i(structure)h(of)d +(the)i(instance)g(b)o(y)f(adding)f(new)i(lo)q(cal)0 866 +y(slots)c(and)g(discarding)f(lo)q(cal)g(slots)h(that)g(are)h(not)f +(de\014ned)h(in)e(the)h(new)h(v)o(ersion)f(of)f(the)0 +918 y(class.)29 b(The)17 b(second)i(step)f(initializes)e(the)i(newly)f +(added)g(lo)q(cal)g(slots)g(and)g(p)q(erforms)0 969 y(an)o(y)e(other)h +(user-de\014ned)h(actions.)23 b(These)17 b(steps)f(are)g(further)g(sp)q +(eci\014ed)h(in)e(the)h(next)0 1021 y(t)o(w)o(o)d(sections.)0 +1174 y Fo(28.1.10.1.)20 b(Mo)r(difying)13 b(the)i(Structure)f(of)h +(Instances)0 1260 y Fw(The)e(\014rst)g(step)g(mo)q(di\014es)e(the)i +(structure)h(of)d(instances)j(of)d(the)i(rede\014ned)h(class)f(to)f +(con-)0 1312 y(form)g(to)j(its)f(new)g(class)h(de\014nition.)k(Lo)q +(cal)14 b(slots)g(sp)q(eci\014ed)i(b)o(y)e(the)g(new)h(class)g +(de\014ni-)0 1364 y(tion)d(that)g(are)h(not)f(sp)q(eci\014ed)h(as)g +(either)g(lo)q(cal)e(or)h(shared)h(b)o(y)f(the)h(old)f(class)g(are)h +(added,)0 1415 y(and)k(slots)h(not)f(sp)q(eci\014ed)i(as)f(either)g(lo) +q(cal)e(or)i(shared)g(b)o(y)f(the)h(new)g(class)g(de\014nition)0 +1467 y(that)c(are)g(sp)q(eci\014ed)i(as)e(lo)q(cal)f(b)o(y)h(the)g(old) +f(class)i(are)f(discarded.)19 b(The)c(names)e(of)g(these)0 +1519 y(added)e(and)g(discarded)g(slots)g(are)g(passed)h(as)e(argumen)o +(ts)g(to)h Fs(update-instance-f)o(or-)0 1571 y(redefined-class)g +Fw(as)j(describ)q(ed)h(in)f(the)g(next)h(section.)42 +1623 y(The)21 b(v)n(alues)f(of)g(lo)q(cal)f(slots)i(sp)q(eci\014ed)h(b) +o(y)e(b)q(oth)h(the)g(new)g(and)g(old)f(classes)h(are)0 +1675 y(retained.)e(If)13 b(suc)o(h)i(a)e(lo)q(cal)g(slot)h(w)o(as)g(un) +o(b)q(ound,)f(it)h(remains)f(un)o(b)q(ound.)42 1727 y(The)i(v)n(alue)f +(of)g(a)h(slot)g(that)g(is)f(sp)q(eci\014ed)j(as)e(shared)g(in)g(the)g +(old)g(class)g(and)g(as)g(lo)q(cal)0 1779 y(in)e(the)h(new)g(class)g +(is)f(retained.)19 b(If)13 b(suc)o(h)h(a)f(shared)i(slot)e(w)o(as)g(un) +o(b)q(ound,)g(the)h(lo)q(cal)f(slot)0 1831 y(will)f(b)q(e)j(un)o(b)q +(ound.)0 1983 y Fo(28.1.10.2.)20 b(Initializing)12 b(Newly)i(Added)i +(Lo)r(cal)e(Slots)0 2069 y Fw(The)21 b(second)i(step)f(initializes)e +(the)h(newly)g(added)g(lo)q(cal)g(slots)g(and)g(p)q(erforms)f(an)o(y)0 +2121 y(other)15 b(user-de\014ned)i(actions.)k(This)14 +b(step)i(is)e(implemen)o(ted)f(b)o(y)h(the)h(generic)h(function)0 +2173 y Fs(update-instance-f)o(or-re)o(defin)o(ed-cl)o(ass)p +Fw(,)8 b(whic)o(h)j(is)g(called)g(after)h(completion)d(of)0 +2225 y(the)14 b(\014rst)h(step)g(of)e(mo)q(difying)e(the)k(structure)h +(of)d(the)h(instance.)42 2277 y(The)i(generic)g(function)g +Fs(update-instance)o(-for-)o(redef)o(ined-)o(class)c +Fw(tak)o(es)k(four)0 2329 y(required)i(argumen)o(ts:)23 +b(the)18 b(instance)g(b)q(eing)f(up)q(dated)g(after)h(it)e(has)h +(undergone)h(the)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 880 904 +880 903 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(880)77 b(COMMON)13 +b(LISP)0 295 y Fw(\014rst)20 b(step,)h(a)f(list)f(of)f(the)i(names)f +(of)g(lo)q(cal)f(slots)i(that)f(w)o(ere)i(added,)f(a)f(list)g(of)g(the) +0 347 y(names)d(of)f(lo)q(cal)h(slots)h(that)f(w)o(ere)h(discarded,)h +(and)e(a)g(prop)q(ert)o(y)i(list)e(con)o(taining)f(the)0 +399 y(slot)g(names)f(and)h(v)n(alues)f(of)h(slots)g(that)g(w)o(ere)h +(discarded)g(and)e(had)h(v)n(alues.)21 b(Included)0 450 +y(among)13 b(the)j(discarded)g(slots)f(are)h(slots)f(that)h(w)o(ere)g +(lo)q(cal)e(in)h(the)h(old)e(class)i(and)f(that)0 502 +y(are)f(shared)h(in)f(the)g(new)g(class.)42 555 y(The)i(generic)i +(function)e Fs(update-instance)o(-for-)o(redef)o(ined-)o(class)d +Fw(also)i(tak)o(es)0 607 y(an)o(y)h(n)o(um)o(b)q(er)f(of)h +(initialization)d(argumen)o(ts.)24 b(When)17 b(it)e(is)h(called)g(b)o +(y)g(the)h(system)f(to)0 659 y(up)q(date)11 b(an)f(instance)i(whose)f +(class)g(has)f(b)q(een)i(rede\014ned,)g(no)f(initialization)c(argumen)o +(ts)0 711 y(are)14 b(pro)o(vided.)42 763 y(There)c(is)f(a)g +(system-supplied)h(primary)d(metho)q(d)i(for)g(the)h(generic)g +(function)f Fs(update-)0 815 y(instance-for-rede)o(fined)o(-clas)o(s)f +Fw(whose)j(parameter)f(sp)q(ecializer)i(for)e(its)h(instance)0 +867 y(argumen)o(t)f(is)h(the)h(class)f Fs(standard-object)p +Fw(.)j(First)d(this)h(metho)q(d)e(c)o(hec)o(ks)i(the)g(v)n(alidit)o(y)0 +919 y(of)j(initialization)e(argumen)o(ts)i(and)h(signals)f(an)h(error)g +(if)f(an)h(initialization)d(argumen)o(t)0 971 y(is)20 +b(supplied)g(that)g(is)g(not)f(declared)i(v)n(alid)e(\(see)i(section)g +(28.1.9.2.)o(\))34 b(Then)21 b(it)e(calls)0 1023 y(the)e(generic)f +(function)g Fs(shared-initialize)c Fw(with)k(the)g(follo)o(wing)e +(argumen)o(ts:)21 b(the)0 1075 y(instance,)f(the)f(list)g(of)f(names)f +(of)h(the)i(newly)e(added)h(slots,)h(and)e(the)h(initialization)0 +1126 y(argumen)o(ts)13 b(it)h(receiv)o(ed.)0 1307 y Fo(28.1.10.3.)20 +b(Customizing)13 b(Class)i(Rede\014nition)0 1403 y Fw(Metho)q(ds)24 +b(for)g Fs(update-instance)o(-for-)o(redef)o(ined-)o(class)c +Fw(ma)o(y)h(b)q(e)j(de\014ned)h(to)0 1454 y(sp)q(ecify)12 +b(actions)f(to)g(b)q(e)g(tak)o(en)g(when)h(an)f(instance)g(is)g(up)q +(dated.)18 b(If)11 b(only)f Fs(:after)g Fw(meth-)0 1506 +y(o)q(ds)g(for)f Fs(update-instance-)o(for-r)o(edefi)o(ned-c)o(lass)d +Fw(are)k(de\014ned,)h(they)e(will)f(b)q(e)i(run)0 1558 +y(after)j(the)g(system-supplied)g(primary)e(metho)q(d)g(for)i +(initialization)d(and)i(therefore)i(will)0 1610 y(not)d(in)o(terfere)h +(with)f(the)h(default)f(b)q(eha)o(vior)f(of)h Fs(update-instance-f)o +(or-re)o(defin)o(ed-)0 1662 y(class)p Fw(.)17 b(Because)e(no)e +(initialization)d(argumen)o(ts)i(are)i(passed)g(to)f +Fs(update-instance-)0 1714 y(for-redefined-cla)o(ss)e +Fw(when)j(it)f(is)g(called)h(b)o(y)f(the)h(system,)f(the)h +Fs(:initform)e Fw(forms)0 1766 y(for)23 b(slots)g(that)h(are)f +(\014lled)g(b)o(y)g Fs(:before)f Fw(metho)q(ds)h(for)g +Fs(update-instance-f)o(or-)0 1818 y(redefined-class)11 +b Fw(will)h(not)i(b)q(e)g(ev)n(aluated)g(b)o(y)g Fs(shared-initializ)o +(e)p Fw(.)42 1870 y(Metho)q(ds)h(for)f Fs(shared-initiali)o(ze)d +Fw(ma)o(y)h(b)q(e)j(de\014ned)g(to)f(customize)g(class)h(redef-)0 +1922 y(inition)d(\(see)k(section)e(28.1.9.5\).)0 2103 +y Fo(28.1.10.4.)20 b(Extensions)0 2198 y Fw(There)15 +b(are)f(t)o(w)o(o)g(allo)o(w)o(ed)e(extensions)j(to)f(class)g +(rede\014nition:)0 2268 y Fu(.)42 2277 y Fw(The)19 b(Ob)r(ject)i +(System)e(ma)o(y)f(b)q(e)i(extended)h(to)e(p)q(ermit)g(the)h(new)g +(class)g(to)f(b)q(e)h(an)42 2329 y(instance)14 b(of)f(a)h(metaclass)f +(other)i(than)f(the)g(metaclass)f(of)h(the)g(old)f(class.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 881 905 +881 904 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(881)0 286 y Fu(.)42 295 y Fw(The)13 b(Ob)r(ject)g(System) +g(ma)o(y)d(b)q(e)j(extended)h(to)f(supp)q(ort)g(an)g(up)q(dating)f(pro) +q(cess)i(when)42 347 y(either)d(the)g(old)f(or)g(the)h(new)g(class)g +(is)f(an)g(instance)h(of)f(a)g(class)h(other)g(than)g +Fs(standard-)42 399 y(class)h Fw(that)i(is)g(not)g(a)f(built-in)g +(class.)0 543 y Fo(28.1.11.)20 b(Changing)c(the)e(Class)i(of)f(an)g +(Instance)0 627 y Fw(The)i(function)g Fs(change-class)d +Fw(can)j(b)q(e)g(used)h(to)f(c)o(hange)g(the)g(class)g(of)f(an)h +(instance)0 679 y(from)10 b(its)j(curren)o(t)g(class,)g +Fv(C)433 687 y Fa(from)506 679 y Fw(,)f(to)g(a)g(di\013eren)o(t)h +(class,)g Fv(C)912 685 y Fa(to)945 679 y Fw(;)f(it)g(c)o(hanges)h(the)g +(structure)0 731 y(of)g(the)i(instance)f(to)g(conform)f(to)g(the)i +(de\014nition)e(of)h(the)g(class)g Fv(C)1044 737 y Fa(to)1078 +731 y Fw(.)42 782 y(Note)f(that)h(c)o(hanging)e(the)i(class)g(of)e(an)h +(instance)h(ma)o(y)e(cause)i(slots)f(to)g(b)q(e)h(added)g(or)0 +834 y(deleted.)42 886 y(When)c Fs(change-class)e Fw(is)j(in)o(v)o(ok)o +(ed)e(on)i(an)f(instance,)i(a)e(t)o(w)o(o-step)h(up)q(dating)f(pro)q +(cess)0 938 y(tak)o(es)17 b(place.)25 b(The)17 b(\014rst)g(step)h(mo)q +(di\014es)d(the)i(structure)i(of)c(the)i(instance)g(b)o(y)g(adding)0 +990 y(new)h(lo)q(cal)f(slots)h(and)g(discarding)g(lo)q(cal)f(slots)h +(that)g(are)g(not)g(sp)q(eci\014ed)h(in)f(the)g(new)0 +1042 y(v)o(ersion)h(of)g(the)h(instance.)34 b(The)20 +b(second)g(step)g(initializes)e(the)i(newly)f(added)h(lo)q(cal)0 +1094 y(slots)e(and)g(p)q(erforms)g(an)o(y)g(other)g(user-de\014ned)j +(actions.)30 b(These)20 b(steps)f(are)g(further)0 1146 +y(describ)q(ed)d(in)d(the)i(follo)o(wing)c(t)o(w)o(o)i(sections.)0 +1290 y Fo(28.1.11.1.)20 b(Mo)r(difying)13 b(the)i(Structure)f(of)h(an)g +(Instance)0 1374 y Fw(In)e(order)g(to)g(mak)o(e)e(an)i(instance)g +(conform)e(to)i(the)g(class)h Fv(C)938 1380 y Fb(to)969 +1374 y Fw(,)f(lo)q(cal)f(slots)h(sp)q(eci\014ed)h(b)o(y)0 +1426 y(the)j(class)g Fv(C)204 1432 y Fb(to)253 1426 y +Fw(that)f(are)h(not)g(sp)q(eci\014ed)h(b)o(y)e(the)h(class)g +Fv(C)928 1435 y Fb(fr)n(om)1018 1426 y Fw(are)g(added,)g(and)g(lo)q +(cal)0 1478 y(slots)f(not)g(sp)q(eci\014ed)i(b)o(y)e(the)g(class)h +Fv(C)606 1484 y Fb(to)654 1478 y Fw(that)f(are)g(sp)q(eci\014ed)i(b)o +(y)e(the)g(class)h Fv(C)1250 1487 y Fb(fr)n(om)1339 1478 +y Fw(are)0 1530 y(discarded.)42 1582 y(The)c(v)n(alues)f(of)g(lo)q(cal) +g(slots)h(sp)q(eci\014ed)h(b)o(y)f(b)q(oth)f(the)i(class)f +Fv(C)1001 1588 y Fb(to)1045 1582 y Fw(and)g(the)g(class)g +Fv(C)1321 1590 y Fb(fr)n(om)0 1633 y Fw(are)h(retained.)19 +b(If)14 b(suc)o(h)g(a)g(lo)q(cal)f(slot)g(w)o(as)h(un)o(b)q(ound,)g(it) +f(remains)g(un)o(b)q(ound.)42 1685 y(The)g(v)n(alues)f(of)g(slots)h(sp) +q(eci\014ed)h(as)f(shared)g(in)g(the)g(class)g Fv(C)978 +1694 y Fb(fr)n(om)1064 1685 y Fw(and)f(as)h(lo)q(cal)f(in)g(the)0 +1737 y(class)i Fv(C)127 1743 y Fb(to)173 1737 y Fw(are)g(retained.)42 +1789 y(This)f(\014rst)i(step)g(of)e(the)i(up)q(date)f(do)q(es)h(not)f +(a\013ect)g(the)h(v)n(alues)f(of)f(an)o(y)g(shared)i(slots.)0 +1934 y Fo(28.1.11.2.)20 b(Initializing)12 b(Newly)i(Added)i(Lo)r(cal)e +(Slots)0 2017 y Fw(The)21 b(second)h(step)g(of)e(the)i(up)q(date)f +(initializes)f(the)h(newly)g(added)g(slots)g(and)g(p)q(er-)0 +2069 y(forms)i(an)o(y)g(other)h(user-de\014ned)i(actions.)48 +b(This)24 b(step)h(is)f(implemen)o(ted)d(b)o(y)j(the)0 +2121 y(generic)11 b(function)e Fs(update-instance-f)o(or-d)o(iffer)o +(ent-c)o(lass)p Fw(.)k(The)d(generic)h(func-)0 2173 y(tion)18 +b Fs(update-instance)o(-for-)o(diffe)o(rent-)o(clas)o(s)d +Fw(is)j(in)o(v)o(ok)o(ed)f(b)o(y)h Fs(change-class)0 +2225 y Fw(after)c(the)h(\014rst)f(step)h(of)e(the)i(up)q(date)f(has)g +(b)q(een)h(completed.)42 2277 y(The)h(generic)g(function)g +Fs(update-instance-)o(for-)o(diffe)o(rent-)o(class)c +Fw(is)k(in)o(v)o(ok)o(ed)0 2329 y(on)e(t)o(w)o(o)f(argumen)o(ts)g +(computed)g(b)o(y)h Fs(change-class)p Fw(.)h(The)g(\014rst)f(argumen)o +(t)f(passed)i(is)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 882 906 +882 905 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(882)77 b(COMMON)13 +b(LISP)0 295 y Fw(a)j(cop)o(y)h(of)e(the)i(instance)h(b)q(eing)e(up)q +(dated)h(and)f(is)h(an)f(instance)h(of)f(the)h(class)g +Fv(C)1310 303 y Fb(fr)n(om)1383 295 y Fw(;)0 347 y(this)12 +b(cop)o(y)g(has)g(dynamic)e(exten)o(t)j(within)e(the)i(generic)g +(function)e Fs(change-class)p Fw(.)k(The)0 399 y(second)j(argumen)o(t)d +(is)h(the)h(instance)g(as)g(up)q(dated)g(so)f(far)h(b)o(y)f +Fs(change-class)e Fw(and)i(is)0 450 y(an)e(instance)g(of)g(the)g(class) +g Fv(C)465 456 y Fb(to)497 450 y Fw(.)42 503 y(The)i(generic)i +(function)e Fs(update-instance)o(-for-)o(diffe)o(rent-)o(class)d +Fw(also)i(tak)o(es)0 555 y(an)o(y)f(n)o(um)o(b)q(er)f(of)h +(initialization)e(argumen)o(ts.)18 b(When)d(it)f(is)g(called)g(b)o(y)g +Fs(change-class)p Fw(,)0 607 y(no)g(initialization)d(argumen)o(ts)i +(are)h(pro)o(vided.)42 659 y(There)c(is)f(a)g(system-supplied)h +(primary)d(metho)q(d)i(for)g(the)h(generic)g(function)f +Fs(update-)0 711 y(instance-for-diff)o(erent)o(-clas)o(s)e +Fw(that)k(has)f(t)o(w)o(o)g(parameter)g(sp)q(ecializers,)i(eac)o(h)e +(of)0 763 y(whic)o(h)17 b(is)g(the)h(class)g Fs(standard-object)p +Fw(.)25 b(First)18 b(this)f(metho)q(d)f(c)o(hec)o(ks)j(the)f(v)n +(alidit)o(y)0 815 y(of)d(initialization)e(argumen)o(ts)i(and)h(signals) +f(an)h(error)g(if)f(an)h(initialization)d(argumen)o(t)0 +867 y(is)20 b(supplied)g(that)g(is)g(not)f(declared)i(v)n(alid)e(\(see) +i(section)g(28.1.9.2\).)33 b(Then)21 b(it)e(calls)0 918 +y(the)e(generic)f(function)g Fs(shared-initialize)c Fw(with)k(the)g +(follo)o(wing)e(argumen)o(ts:)21 b(the)0 970 y(instance,)13 +b(a)g(list)g(of)f(names)g(of)g(the)i(newly)f(added)g(slots,)g(and)f +(the)i(initialization)c(argu-)0 1022 y(men)o(ts)j(it)h(receiv)o(ed.)0 +1194 y Fo(28.1.11.3.)20 b(Customizing)12 b(the)h(Change)h(of)f(Class)h +(of)g(an)g(Instance)0 1286 y Fw(Metho)q(ds)24 b(for)g +Fs(update-instance)o(-for-)o(diffe)o(rent-)o(class)c +Fw(ma)o(y)h(b)q(e)j(de\014ned)h(to)0 1337 y(sp)q(ecify)20 +b(actions)g(to)g(b)q(e)h(tak)o(en)f(when)g(an)g(instance)h(is)e(up)q +(dated.)37 b(If)20 b(only)f Fs(:after)0 1389 y Fw(metho)q(ds)14 +b(for)h Fs(update-instance-)o(for-d)o(iffer)o(ent-)o(class)c +Fw(are)k(de\014ned,)h(they)f(will)0 1441 y(b)q(e)j(run)f(after)g(the)h +(system-supplied)e(primary)g(metho)q(d)g(for)g(initialization)e(and)j +(will)0 1493 y(not)11 b(in)o(terfere)h(with)f(the)h(default)f(b)q(eha)o +(vior)f(of)h Fs(update-instance-f)o(or-di)o(ffere)o(nt-)0 +1545 y(class)p Fw(.)17 b(Because)e(no)e(initialization)d(argumen)o(ts)i +(are)i(passed)g(to)f Fs(update-instance-)0 1597 y(for-different-cla)o +(ss)j Fw(when)k(it)f(is)h(called)f(b)o(y)g Fs(change-class)p +Fw(,)f(the)i Fs(:initform)0 1649 y Fw(forms)e(for)h(slots)h(that)g(are) +g(\014lled)f(b)o(y)h Fs(:before)e Fw(metho)q(ds)h(for)g +Fs(update-instance-)0 1701 y(for-different-cla)o(ss)11 +b Fw(will)h(not)i(b)q(e)h(ev)n(aluated)e(b)o(y)h Fs(shared-initialize)o +Fw(.)42 1753 y(Metho)q(ds)h(for)f Fs(shared-initiali)o(ze)d +Fw(ma)o(y)h(b)q(e)j(de\014ned)g(to)f(customize)g(class)h(redef-)0 +1805 y(inition)d(\(see)k(section)e(28.1.9.5\).)0 1976 +y Fo(28.1.12.)20 b(Reinitializing)12 b(an)j(Instance)0 +2068 y Fw(The)20 b(generic)g(function)f Fs(reinitialize-ins)o(tanc)o(e) +d Fw(ma)o(y)i(b)q(e)h(used)i(to)e(c)o(hange)g(the)0 2120 +y(v)n(alues)14 b(of)f(slots)h(according)g(to)g(initialization)d +(argumen)o(ts.)42 2173 y(The)g(pro)q(cess)h(of)e(reinitialization)f(c)o +(hanges)i(the)g(v)n(alues)f(of)g(some)g(slots)h(and)f(p)q(erforms)0 +2224 y(an)o(y)j(user-de\014ned)j(actions.)42 2277 y(Reinitialization)7 +b(do)q(es)j(not)g(mo)q(dify)d(the)k(structure)g(of)f(an)f(instance)i +(to)e(add)h(or)g(delete)0 2329 y(slots,)k(and)f(it)h(do)q(es)g(not)g +(use)h(an)o(y)e Fs(:initform)f Fw(forms)h(to)h(initialize)e(slots.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 883 907 +883 906 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(883)42 295 y Fw(The)17 b(generic)h(function)f +Fs(reinitialize-instan)o(ce)d Fw(ma)o(y)i(b)q(e)i(called)f(directly)m +(.)28 b(It)0 347 y(tak)o(es)12 b(one)f(required)i(argumen)o(t,)d(the)i +(instance.)18 b(It)11 b(also)g(tak)o(es)h(an)o(y)e(n)o(um)o(b)q(er)h +(of)g(initial-)0 399 y(ization)h(argumen)o(ts)h(to)g(b)q(e)h(used)g(b)o +(y)f(metho)q(ds)g(for)g Fs(reinitialize-inst)o(ance)d +Fw(or)j(for)0 450 y Fs(shared-initialize)o Fw(.)23 b(The)17 +b(argumen)o(ts)f(after)g(the)h(required)h(instance)f(m)o(ust)e(form)0 +502 y(an)f(initialization)d(argumen)o(t)i(list.)42 2069 +y(There)18 b(is)f(a)h(system-supplied)f(primary)e(metho)q(d)i(for)g +Fs(reinitialize-insta)o(nce)0 2121 y Fw(whose)c(parameter)f(sp)q +(ecializer)h(is)f(the)h(class)g Fs(standard-object)p +Fw(.)h(First)f(this)g(metho)q(d)0 2173 y(c)o(hec)o(ks)f(the)g(v)n +(alidit)o(y)d(of)h(initialization)e(argumen)o(ts)i(and)h(signals)f(an)h +(error)h(if)e(an)h(initial-)0 2225 y(ization)j(argumen)o(t)g(is)g +(supplied)h(that)g(is)g(not)f(declared)i(v)n(alid)d(\(see)j(section)g +(28.1.9.2\).)0 2277 y(Then)e(it)g(calls)g(the)g(generic)h(function)f +Fs(shared-initialize)c Fw(with)k(the)h(follo)o(wing)c(ar-)0 +2329 y(gumen)o(ts:)17 b(the)e(instance,)f Fs(nil)p Fw(,)f(and)g(the)i +(initialization)c(argumen)o(ts)i(it)h(receiv)o(ed.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 884 908 +884 907 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(884)77 b(COMMON)13 +b(LISP)0 295 y Fo(28.1.12.1.)20 b(Customizing)13 b(Reinitialization)0 +386 y Fw(Metho)q(ds)20 b(for)e(the)h(generic)h(function)e +Fs(reinitialize-instan)o(ce)e Fw(ma)o(y)g(b)q(e)k(de\014ned)0 +438 y(to)c(sp)q(ecify)h(actions)f(to)g(b)q(e)h(tak)o(en)f(when)h(an)e +(instance)i(is)f(up)q(dated.)26 b(If)16 b(only)f Fs(:after)0 +490 y Fw(metho)q(ds)f(for)h Fs(reinitialize-in)o(stanc)o(e)d +Fw(are)j(de\014ned,)g(they)h(will)d(b)q(e)i(run)g(after)g(the)0 +542 y(system-supplied)h(primary)f(metho)q(d)g(for)h(initialization)e +(and)i(therefore)i(will)d(not)h(in-)0 594 y(terfere)g(with)d(the)i +(default)e(b)q(eha)o(vior)h(of)f Fs(reinitialize-inst)o(ance)p +Fw(.)42 646 y(Metho)q(ds)i(for)f Fs(shared-initiali)o(ze)d +Fw(ma)o(y)h(b)q(e)j(de\014ned)g(to)f(customize)g(class)h(redef-)0 +698 y(inition)d(\(see)k(section)e(28.1.9.5\).)0 867 y +Fo(28.2.)20 b(F)-5 b(unctions)16 b(in)e(the)h(Programmer)d(In)n +(terface)0 958 y Fw(This)h(section)i(describ)q(es)g(the)f(functions,)f +(macros,)g(sp)q(ecial)g(forms,)f(and)h(generic)i(func-)0 +1010 y(tions)i(pro)o(vided)h(b)o(y)f(the)h(Common)c(Lisp)k(Ob)r(ject)h +(System)e(Programmer)e(In)o(terface.)0 1062 y(The)g(Programmer)e(In)o +(terface)j(comprises)f(the)g(functions)g(and)g(macros)f(that)h(are)g +(suf-)0 1113 y(\014cien)o(t)f(for)g(writing)f(most)g(ob)r(ject-orien)o +(ted)i(programs.)42 1166 y(This)9 b(section)i(is)e(reference)k +(material)7 b(that)j(requires)h(an)f(understanding)g(of)f(the)i(basic)0 +1218 y(concepts)16 b(of)d(the)h(Common)d(Lisp)j(Ob)r(ject)h(System.)i +(The)e(functions)f(are)g(arranged)g(in)0 1270 y(alphab)q(etical)f +(order)i(for)e(con)o(v)o(enien)o(t)h(reference.)42 1322 +y(The)f(description)g(of)f(eac)o(h)i(function,)e(macro,)f(sp)q(ecial)i +(form,)e(and)h(generic)i(function)0 1374 y(includes)h(its)f(purp)q +(ose,)h(its)g(syn)o(tax,)e(the)i(seman)o(tics)f(of)g(its)g(argumen)o +(ts)g(and)g(returned)0 1426 y(v)n(alues,)f(and)h(often)g(an)f(example)g +(and)h(cross-references)k(to)13 b(related)i(functions.)42 +1478 y(The)g(syn)o(tax)f(description)i(for)e(a)g(function,)g(macro,)f +(or)i(sp)q(ecial)g(form)e(describ)q(es)k(its)0 1530 y(parameters.)34 +b(The)20 b(description)g(of)e(a)h(generic)h(function)f(includes)h +(descriptions)g(of)0 1582 y(the)c(metho)q(ds)f(that)h(are)g(de\014ned)g +(on)f(that)h(generic)g(function)f(b)o(y)h(the)g(Commo)o(n)d(Lisp)0 +1634 y(Ob)r(ject)k(System.)24 b(A)16 b Fv(metho)n(d)h(signatur)n(e)i +Fw(is)d(used)h(to)f(describ)q(e)h(the)g(parameters)f(and)0 +1686 y(parameter)e(sp)q(ecializers)h(for)e(eac)o(h)i(metho)q(d.)42 +1738 y(The)h(follo)o(wing)d(is)j(an)g(example)f(of)h(the)g(format)e +(for)i(the)h(syn)o(tax)f(description)h(of)e(a)0 1790 +y(generic)g(function)e(with)h(the)g(metho)q(d)f(signature)i(for)e(one)h +(primary)f(metho)q(d:)1062 1940 y([)p Fv(Generic)i(function)s +Fw(])-1395 b Fs(f)21 b Fv(x)26 b(y)f Fs(&optional)20 +b Fv(z)26 b Fs(&key)20 b(:k)1073 1992 y Fw([)p Fv(Primary)14 +b(metho)n(d)t Fw(])-1395 b Fs(f)21 b(\()p Fv(x)26 b Fs(class\))20 +b(\()p Fv(y)25 b Fs(t\))c(&optional)e Fv(z)26 b Fs(&key)21 +b(:k)0 2069 y Fw(This)11 b(description)h(indicates)f(that)g(the)h +(generic)g(function)f Fs(f)g Fw(has)g(t)o(w)o(o)f(required)j(param-)0 +2121 y(eters,)k Fv(x)j Fw(and)15 b Fv(y)p Fw(.)22 b(In)15 +b(addition,)f(there)i(is)f(an)g(optional)f(parameter)h +Fv(z)20 b Fw(and)15 b(a)g(k)o(eyw)o(ord)0 2173 y(parameter)f +Fs(:k)p Fw(.)42 2225 y(The)f(metho)q(d)f(signature)h(indicates)g(that)f +(this)h(metho)q(d)f(on)h(the)g(generic)h(function)e Fs(f)0 +2277 y Fw(has)g(t)o(w)o(o)f(required)i(parameters,)f +Fv(x)p Fw(,)g(whic)o(h)g(m)o(ust)f(b)q(e)h(an)g(instance)g(of)g(the)g +(class)g Fs(class)p Fw(,)0 2329 y(and)h Fv(y)p Fw(,)f(whic)o(h)h(can)g +(b)q(e)h(an)o(y)e(ob)r(ject.)19 b(In)13 b(addition,)e(there)j(is)f(an)g +(optional)e(parameter)i Fv(z)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 885 909 +885 908 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(885)0 295 y Fw(and)15 b(a)f(k)o(eyw)o(ord)h(parameter)g +Fs(:k)p Fw(.)20 b(The)c(signature)f(also)f(indicates)i(that)f(this)g +(metho)q(d)0 347 y(on)f Fs(f)f Fw(is)h(a)g(primary)e(metho)q(d)h(and)h +(has)g(no)f(quali\014ers.)42 399 y(The)j(syn)o(tax)g(description)h(for) +f(a)f(generic)i(function)f(describ)q(es)i(the)f(lam)o(b)q(da-list)c(of) +0 451 y(the)i(generic)f(function)g(itself,)f(while)h(the)g(metho)q(d)f +(signatures)i(describ)q(e)h(the)e(lam)o(b)q(da-)0 503 +y(lists)g(of)f(the)i(de\014ned)g(metho)q(ds.)42 555 y(The)f(generic)h +(functions)f(describ)q(ed)h(in)f(this)g(b)q(o)q(ok)f(are)i(all)e +(standard)h(generic)h(func-)0 607 y(tions.)j(They)c(all)f(use)h +(standard)h(metho)q(d)e(com)o(bination.)42 659 y(An)o(y)f(implemen)o +(tatio)o(n)e(of)i(the)h(Common)c(Lisp)k(Ob)r(ject)h(System)e(is)g(allo) +o(w)o(ed)f(to)i(pro-)0 711 y(vide)h(additional)e(metho)q(ds)h(on)h(the) +g(generic)h(functions)f(describ)q(ed)i(here.)42 764 y(It)g(is)g(useful) +g(to)g(categorize)h(the)g(functions)f(and)g(macros)f(according)h(to)g +(their)h(role)0 815 y(in)c(this)h(standard:)0 894 y Fu(.)42 +903 y Fv(T)m(o)n(ols)g(use)n(d)h(for)f(simple)h(obje)n(ct-oriente)n(d)f +(pr)n(o)n(gr)n(amming)42 967 y Fw(These)i(to)q(ols)e(allo)o(w)f(for)i +(de\014ning)g(new)g(classes,)h(metho)q(ds,)e(and)h(generic)h(functions) +42 1019 y(and)e(for)h(making)d(instances.)23 b(Some)14 +b(to)q(ols)g(used)i(within)e(metho)q(d)h(b)q(o)q(dies)g(are)g(also)42 +1071 y(listed)g(here.)23 b(Some)15 b(of)f(the)i(macros)f(listed)g(here) +i(ha)o(v)o(e)e(a)g(corresp)q(onding)h(function)42 1123 +y(that)d(p)q(erforms)h(the)g(same)f(task)h(at)g(a)g(lo)o(w)o(er)f(lev)o +(el)h(of)f(abstraction.)42 1206 y Fs(call-next-metho)o(d)259 +b(initialize-insta)o(nce)42 1258 y(change-class)346 b(make-instance)42 +1310 y(defclass)434 b(next-method-p)42 1362 y(defgeneric)390 +b(slot-boundp)42 1413 y(defmethod)412 b(slot-value)42 +1465 y(generic-flet)346 b(with-accessors)42 1517 y(generic-functio)o(n) +259 b(with-added-metho)o(ds)42 1569 y(generic-labels)302 +b(with-slots)0 1643 y Fu(.)42 1652 y Fv(F)m(unctions)15 +b(underlying)g(the)g(c)n(ommonly)g(use)n(d)h(macr)n(os)42 +1779 y Fs(add-method)396 b(reinitialize-inst)o(ance)42 +1831 y(class-name)g(remove-method)42 1883 y(compute-applica)o(ble-m)o +(ethod)o(s)47 b(shared-initialize)42 1934 y(ensure-generic-)o(funct)o +(ion)112 b(slot-exists-p)42 1986 y(find-class)396 b(slot-makunbound)42 +2038 y(find-method)374 b(slot-missing)42 2090 y(function-keywor)o(ds) +243 b(slot-unbound)42 2142 y(make-instances-)o(obsol)o(ete)112 +b(update-instance-f)o(or-di)o(ffere)o(nt-cl)o(ass)42 +2194 y(no-applicable-m)o(ethod)177 b(update-instance-f)o(or-re)o(defin) +o(ed-cl)o(ass)42 2246 y(no-next-method)0 2320 y Fu(.)42 +2329 y Fv(T)m(o)n(ols)14 b(for)g(de)n(clar)n(ative)g(metho)n(d)i(c)n +(ombination)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 886 910 +886 909 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(886)77 b(COMMON)13 +b(LISP)42 290 y Fs(call-method)373 b(method-combination-)o(error)42 +341 y(define-method-c)o(ombin)o(ation)67 b(method-qualifiers)42 +393 y(invalid-method-)o(error)0 462 y Fu(.)42 471 y Fv(Gener)n(al)14 +b(Common)h(Lisp)g(supp)n(ort)g(to)n(ols)42 549 y Fs(class-of)432 +b(print-object)42 600 y(documentation)322 b(symbol-macrolet)42 +680 y Fw([Note)12 b(that)g Fs(describe)e Fw(app)q(eared)j(in)f(this)g +(list)g(in)g(the)g(original)f(CLOS)h(prop)q(osal)g([5)o(,)42 +732 y(7)o(],)k(but)h(X3J13)f(v)o(oted)g(in)g(Marc)o(h)h(1989)e +Ft(h)p Fw(63)p Ft(i)i Fw(not)f(to)g(mak)o(e)f Fs(describe)g +Fw(a)h(generic)42 784 y(function)d(after)h(all)f(\(see)i +Fs(describe-object)p Fw(\).|)o(GLS])0 894 y([A)o(t)h(this)h(p)q(oin)o +(t)e(the)i(original)e(CLOS)i(rep)q(ort)g(con)o(tained)g(a)f +(description)h(of)f(the)24 b([)-7 b([)30 b(])-7 b(])0 +946 y(and)13 b Ft(#)f Fw(notation;)g(that)h(description)h(is)f(omitted) +e(here.)19 b(I)13 b(ha)o(v)o(e)g(adopted)g(the)h(notation)0 +998 y(for)g(use)g(throughout)g(this)g(b)q(o)q(ok.)k(It)c(is)g(describ)q +(ed)h(in)f(section)g(1.2.5.|GLS])1062 1120 y([)p Fv(Generic)h(function) +s Fw(])-1395 b Fs(add-method)19 b Fv(generic)p Fs(-)p +Fv(function)25 b(metho)n(d)1073 1171 y Fw([)p Fv(Primary)14 +b(metho)n(d)t Fw(])-1395 b Fs(add-method)42 1223 y(\()p +Fv(generic)p Fs(-)p Fv(function)25 b Fs(standard-generic)o(-func)o +(tion\))18 b(\()p Fv(metho)n(d)25 b Fs(method\))0 1300 +y Fw(The)19 b(generic)g(function)f Fs(add-method)e Fw(adds)i(a)g(metho) +q(d)f(to)h(a)g(generic)h(function.)31 b(It)0 1352 y(destructiv)o(ely)17 +b(mo)q(di\014es)e(the)i(generic)g(function)e(and)h(returns)i(the)e(mo)q +(di\014ed)f(generic)0 1404 y(function)f(as)g(its)f(result.)42 +1456 y(The)h Fv(generic-function)j Fw(argumen)o(t)c(is)h(a)f(generic)i +(function)f(ob)r(ject.)42 1508 y(The)g Fv(metho)n(d)20 +b Fw(argumen)o(t)13 b(is)h(a)h(metho)q(d)e(ob)r(ject.)21 +b(The)15 b(lam)o(b)q(da-list)d(of)h(the)j(metho)q(d)0 +1560 y(function)g(m)o(ust)f(b)q(e)i(congruen)o(t)g(with)f(the)h(lam)o +(b)q(da-li)o(st)d(of)i(the)h(generic)g(function,)f(or)0 +1611 y(an)e(error)g(is)g(signaled.)42 1663 y(The)g(mo)q(di\014ed)f +(generic)i(function)f(is)g(returned.)20 b(The)15 b(result)g(of)e +Fs(add-method)f Fw(is)i Fs(eq)0 1715 y Fw(to)g(the)g +Fv(generic-function)k Fw(argumen)o(t.)42 1767 y(If)12 +b(the)i(giv)o(en)f(metho)q(d)f(agrees)i(with)f(an)g(existing)f(metho)q +(d)h(of)f(the)i(generic)g(function)0 1819 y(on)f(parameter)g(sp)q +(ecializers)i(and)e(quali\014ers,)g(the)h(existing)f(metho)q(d)g(is)g +(replaced.)19 b(See)0 1871 y(section)c(28.1.6.3)c(for)i(a)h +(de\014nition)f(of)h(agreemen)o(t)f(in)h(this)g(con)o(text.)42 +1923 y(If)j(the)i(metho)q(d)e(ob)r(ject)i(is)f(a)g(metho)q(d)f(ob)r +(ject)i(of)f(another)g(generic)i(function,)e(an)0 1975 +y(error)d(is)f(signaled.)42 2027 y(See)h(section)g(28.1.6.3)d(as)i(w)o +(ell)g(as)h Fs(defmethod)p Fw(,)d Fs(defgeneric)p Fw(,)g +Fs(find-method)p Fw(,)g(and)0 2078 y Fs(remove-method)p +Fw(.)-33 2172 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 2200 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(call-method)33 b Fv(metho)n(d)15 b(next-metho)n(d-list)0 +2277 y Fw(The)10 b(macro)f Fs(call-method)f Fw(is)i(used)g(in)g(metho)q +(d)f(com)o(bination.)14 b(This)c(macro)f(hides)h(the)0 +2329 y(implemen)o(tatio)o(n-dep)q(enden)o(t)j(details)h(of)g(ho)o(w)g +(metho)q(ds)f(are)i(called.)j(It)d(can)f(b)q(e)h(used)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 887 911 +887 910 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(887)0 295 y Fw(only)15 b(within)h(an)g(e\013ectiv)o(e)h +(metho)q(d)f(form,)e(for)i(the)h(name)e Fs(call-method)f +Fw(is)i(de\014ned)0 347 y(only)d(within)g(the)i(lexical)e(scop)q(e)i +(of)e(suc)o(h)i(a)e(form.)42 399 y(The)e(macro)e Fs(call-method)f +Fw(in)o(v)o(ok)o(es)j(the)g(sp)q(eci\014ed)h(metho)q(d,)e(supplying)g +(it)h(with)f(ar-)0 451 y(gumen)o(ts)i(and)g(with)g(de\014nitions)g(for) +h Fs(call-next-metho)o(d)d Fw(and)i(for)g Fs(next-method-p)p +Fw(.)0 503 y(The)i(argumen)o(ts)f(are)g(the)h(argumen)o(ts)f(that)h(w)o +(ere)g(supplied)f(to)h(the)g(e\013ectiv)o(e)h(metho)q(d)0 +555 y(form)j(con)o(taining)g(the)j(in)o(v)o(o)q(cation)d(of)h +Fs(call-method)p Fw(.)33 b(The)20 b(de\014nitions)g(of)f +Fs(call-)0 607 y(next-method)11 b Fw(and)j Fs(next-method-p)d +Fw(rely)i(on)h(the)g(list)f(of)g(metho)q(d)g(ob)r(jects)i(giv)o(en)e +(as)0 659 y(the)h(second)h(argumen)o(t)e(to)h Fs(call-method)p +Fw(.)42 711 y(The)i Fs(call-next-method)d Fw(function)j(a)o(v)n +(ailable)e(to)i(the)h(metho)q(d)f(that)g(is)g(the)h(\014rst)0 +763 y(subform)12 b(will)h(call)f(the)j(\014rst)f(metho)q(d)f(in)g(the)h +(list)f(that)h(is)g(the)g(second)h(subform.)h(The)0 815 +y Fs(call-next-method)e Fw(function)j(a)o(v)n(ailable)d(in)j(that)g +(metho)q(d,)g(in)f(turn,)i(will)e(call)g(the)0 867 y(second)e(metho)q +(d)e(in)g(the)i(list)e(that)h(is)g(the)g(second)h(subform,)e(and)g(so)h +(on,)g(un)o(til)f(the)h(list)0 919 y(of)g(next)i(metho)q(ds)e(is)h +(exhausted.)42 971 y(The)i Fv(metho)n(d)21 b Fw(argumen)o(t)15 +b(is)h(a)g(metho)q(d)g(ob)r(ject;)h(the)g Fv(next-metho)n(d-list)j +Fw(argumen)o(t)0 1023 y(is)14 b(a)f(list)h(of)f(metho)q(d)g(ob)r +(jects.)42 1076 y(A)18 b(list)f(whose)i(\014rst)f(elemen)o(t)g(is)g +(the)g(sym)o(b)q(ol)f Fs(make-method)e Fw(and)j(whose)h(second)0 +1128 y(elemen)o(t)e(is)g(a)g(Lisp)g(form)f(can)i(b)q(e)g(used)g +(instead)g(of)f(a)g(metho)q(d)f(ob)r(ject)i(as)g(the)g(\014rst)0 +1180 y(subform)f(of)g Fs(call-method)f Fw(or)i(as)g(an)g(elemen)o(t)g +(of)f(the)i(second)g(subform)e(of)h Fs(call-)0 1231 y(method)p +Fw(.)k(Suc)o(h)17 b(a)e(list)h(sp)q(eci\014es)h(a)f(metho)q(d)f(ob)r +(ject)h(whose)h(metho)q(d)e(function)g(has)h(a)0 1283 +y(b)q(o)q(dy)e(that)g(is)g(the)g(giv)o(en)f(form.)42 +1336 y(The)j(result)g(of)f Fs(call-method)f Fw(is)h(the)h(v)n(alue)f +(or)h(v)n(alues)f(returned)j(b)o(y)d(the)i(metho)q(d)0 +1388 y(in)o(v)o(o)q(cation.)42 1440 y(See)12 b Fs(call-next-method)p +Fw(,)d Fs(define-method-com)o(binat)o(ion)p Fw(,)f(and)k +Fs(next-method-)0 1492 y(p)p Fw(.)1209 1653 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(call-next-method)18 b(&rest)i Fv(ar)n(gs)0 +1730 y Fw(The)d(function)g Fs(call-next-method)c Fw(can)k(b)q(e)h(used) +f(within)g(the)g(b)q(o)q(dy)g(of)f(a)h(metho)q(d)0 1782 +y(de\014ned)e(b)o(y)f(a)f(metho)q(d-de\014ning)g(form)f(to)i(call)f +(the)i(next)f(metho)q(d.)42 1835 y(The)k(function)f Fs +(call-next-method)d Fw(returns)19 b(the)g(v)n(alue)e(or)g(v)n(alues)h +(returned)h(b)o(y)0 1887 y(the)h(metho)q(d)e(it)h(calls.)33 +b(If)18 b(there)j(is)e(no)f(next)i(metho)q(d,)f(the)h(generic)g +(function)e Fs(no-)0 1939 y(next-method)12 b Fw(is)h(called.)42 +1991 y(The)d(t)o(yp)q(e)g(of)f(metho)q(d)g(com)o(bination)e(used)k +(determines)f(whic)o(h)f(metho)q(ds)h(can)g(in)o(v)o(ok)o(e)0 +2043 y Fs(call-next-method)p Fw(.)29 b(The)20 b(standard)f(metho)q(d)f +(com)o(bination)e(t)o(yp)q(e)j(allo)o(ws)f Fs(call-)0 +2095 y(next-method)12 b Fw(to)h(b)q(e)i(used)g(within)e(primary)f +(metho)q(ds)h(and)h Fs(:around)e Fw(metho)q(ds.)42 2148 +y(The)h(standard)g(metho)q(d)e(com)o(bination)f(t)o(yp)q(e)k(de\014nes) +g(the)f(next)g(metho)q(d)f(according)0 2199 y(to)i(the)g(follo)o(wing)d +(rules:)0 2268 y Fu(.)42 2277 y Fw(If)16 b Fs(call-next-method)e +Fw(is)i(used)i(in)f(an)f Fs(:around)g Fw(metho)q(d,)g(the)h(next)h +(metho)q(d)e(is)42 2329 y(the)e(next)g(most)f(sp)q(eci\014c)i +Fs(:around)e Fw(metho)q(d,)f(if)h(one)i(is)e(applicable.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 888 912 +888 911 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(888)77 b(COMMON)13 +b(LISP)0 286 y Fu(.)42 295 y Fw(If)f(there)h(are)g(no)g +Fs(:around)e Fw(metho)q(ds)h(at)g(all)f(or)i(if)e Fs(call-next-method)e +Fw(is)k(called)f(b)o(y)42 347 y(the)i(least)g(sp)q(eci\014c)h +Fs(:around)e Fw(metho)q(d,)f(other)j(metho)q(ds)e(are)i(called)e(as)h +(follo)o(ws:)42 450 y({)20 b(All)f(the)h Fs(:before)e +Fw(metho)q(ds)h(are)h(called,)g(in)f(most-sp)q(eci\014c-\014rst)i +(order.)35 b(The)83 502 y(function)14 b Fs(call-next-method)c +Fw(cannot)k(b)q(e)h(used)f(in)g Fs(:before)e Fw(metho)q(ds.)42 +605 y({)20 b(The)12 b(most)e(sp)q(eci\014c)j(primary)d(metho)q(d)g(is)h +(called.)17 b(Inside)12 b(the)g(b)q(o)q(dy)g(of)e(a)h(primary)83 +657 y(metho)q(d,)f Fs(call-next-method)d Fw(ma)o(y)h(b)q(e)j(used)g(to) +f(pass)h(con)o(trol)f(to)g(the)h(next)g(most)83 709 y(sp)q(eci\014c)j +(primary)d(metho)q(d.)16 b(The)d(generic)g(function)f +Fs(no-next-method)e Fw(is)i(called)83 760 y(if)h Fs(call-next-method)e +Fw(is)i(used)i(and)f(there)h(are)f(no)g(more)f(primary)f(metho)q(ds.)42 +864 y({)20 b(All)13 b(the)h Fs(:after)f Fw(metho)q(ds)g(are)h(called)g +(in)f(most-sp)q(eci\014c-last)h(order.)k(The)d(func-)83 +915 y(tion)e Fs(call-next-method)e Fw(cannot)j(b)q(e)g(used)h(in)f +Fs(:after)e Fw(metho)q(ds.)42 1019 y(F)m(or)e(further)i(discussion)g +(of)e(the)i(use)g(of)e Fs(call-next-method)p Fw(,)e(see)k(sections)g +(28.1.7.2)0 1070 y(and)i(28.1.7.4.)42 1124 y(When)j Fs +(call-next-method)d Fw(is)j(called)g(with)g(no)g(argumen)o(ts,)g(it)g +(passes)h(the)g(cur-)0 1176 y(ren)o(t)j(metho)q(d's)f(original)f +(argumen)o(ts)g(to)i(the)g(next)g(metho)q(d.)37 b(Neither)22 +b(argumen)o(t)0 1228 y(defaulting,)15 b(nor)i(using)f +Fs(setq)p Fw(,)g(nor)g(rebinding)g(v)n(ariables)g(with)g(the)h(same)e +(names)h(as)0 1280 y(parameters)d(of)f(the)i(metho)q(d)e(a\013ects)i +(the)g(v)n(alues)e Fs(call-next-method)e Fw(passes)k(to)f(the)0 +1332 y(metho)q(d)g(it)h(calls.)42 1386 y(When)20 b Fs(call-next-method) +d Fw(is)j(called)g(with)f(argumen)o(ts,)i(the)g(next)g(metho)q(d)e(is)0 +1437 y(called)j(with)f(those)i(argumen)o(ts.)41 b(When)22 +b(pro)o(viding)e(argumen)o(ts)h(to)h Fs(call-next-)0 +1489 y(method)p Fw(,)f(the)g(follo)o(wing)d(rule)j(m)o(ust)f(b)q(e)h +(satis\014ed)h(or)e(an)h(error)g(is)g(signaled:)31 b(The)0 +1541 y(ordered)17 b(set)g(of)e(metho)q(ds)h(applicable)f(for)g(a)h(c)o +(hanged)g(set)h(of)e(argumen)o(ts)g(for)h Fs(call-)0 +1593 y(next-method)c Fw(m)o(ust)i(b)q(e)h(the)g(same)f(as)h(the)g +(ordered)h(set)f(of)f(applicable)g(metho)q(ds)g(for)0 +1645 y(the)19 b(original)d(argumen)o(ts)i(to)g(the)h(generic)g +(function.)31 b(Optimizations)16 b(of)i(the)h(error)0 +1697 y(c)o(hec)o(king)13 b(are)f(p)q(ossible,)h(but)f(they)h(m)o(ust)e +(not)h(c)o(hange)h(the)f(seman)o(tics)g(of)g Fs(call-next-)0 +1749 y(method)p Fw(.)42 1802 y(If)18 b Fs(call-next-method)e +Fw(is)j(called)g(with)g(argumen)o(ts)f(but)i(omits)d(optional)h(argu-)0 +1854 y(men)o(ts,)13 b(the)h(next)h(metho)q(d)e(called)g(defaults)h +(those)h(argumen)o(ts.)42 1908 y(The)j(function)f Fs(call-next-method)d +Fw(returns)19 b(the)g(v)n(alue)e(or)g(v)n(alues)h(returned)h(b)o(y)0 +1960 y(the)14 b(metho)q(d)g(it)f(calls.)42 2014 y(F)m(urther)h +(computation)e(is)i(p)q(ossible)g(after)g Fs(call-next-method)d +Fw(returns.)42 2067 y(The)h(de\014nition)f(of)g(the)i(function)e +Fs(call-next-method)d Fw(has)k(lexical)f(scop)q(e)i(\(for)f(it)f(is)0 +2119 y(de\014ned)i(only)f(within)f(the)i(b)q(o)q(dy)f(of)f(a)h(metho)q +(d)f(de\014ned)j(b)o(y)d(a)h(metho)q(d-de\014ning)f(form\))0 +2171 y(and)j(inde\014nite)g(exten)o(t.)42 2225 y(F)m(or)i(generic)h +(functions)g(using)f(a)g(t)o(yp)q(e)h(of)f(metho)q(d)g(com)o(bination)e +(de\014ned)k(b)o(y)e(the)0 2277 y(short)e(form)e(of)g +Fs(define-method-combi)o(natio)o(n)p Fw(,)e Fs(call-next-method)g +Fw(can)k(b)q(e)g(used)0 2329 y(in)f Fs(:around)g Fw(metho)q(ds)g(only)m +(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 889 913 +889 912 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(889)42 295 y Fw(The)14 b(function)f Fs(next-method-p)e +Fw(can)j(b)q(e)g(used)g(to)g(test)h(whether)f(or)g(not)g(there)h(is)e +(a)0 347 y(next)h(metho)q(d.)42 401 y(If)h Fs(call-next-method)d +Fw(is)k(used)h(in)e(metho)q(ds)g(that)h(do)g(not)f(supp)q(ort)i(it,)e +(an)h(error)0 452 y(is)e(signaled.)42 506 y(See)h(sections)h(28.1.7,)c +(28.1.7.2,)f(and)k(28.1.7.4)d(as)i(w)o(ell)g(as)h(the)g(functions)f +Fs(define-)0 558 y(method-combinatio)o(n)p Fw(,)d Fs(next-method-p)p +Fw(,)f(and)k Fs(no-next-method)p Fw(.)1062 784 y([)p +Fv(Generic)h(function)s Fw(])-1395 b Fs(change-class)19 +b Fv(instanc)n(e)24 b(new)p Fs(-)p Fv(class)1073 835 +y Fw([)p Fv(Primary)14 b(metho)n(d)t Fw(])-1395 b Fs(change-class)19 +b(\()p Fv(instanc)n(e)24 b Fs(standard-object\))283 887 +y(\()p Fv(new)p Fs(-)p Fv(class)g Fs(standard-class\))1073 +939 y Fw([)p Fv(Primary)14 b(metho)n(d)t Fw(])-1395 b +Fs(change-class)19 b(\()p Fv(instanc)n(e)24 b Fs(t\))d(\()p +Fv(new)p Fs(-)p Fv(class)j Fs(symbol\))0 1018 y Fw(The)13 +b(generic)h(function)e Fs(change-class)e Fw(c)o(hanges)j(the)h(class)f +(of)f(an)g(instance)h(to)g(a)f(new)0 1070 y(class.)18 +b(It)c(destructiv)o(ely)h(mo)q(di\014es)e(and)h(returns)h(the)g +(instance.)42 1124 y(If)f(in)h(the)g(old)f(class)i(there)g(is)f(an)o(y) +f(slot)h(of)f(the)i(same)e(name)f(as)i(a)g(lo)q(cal)f(slot)h(in)f(the)0 +1176 y(new)i(class,)g(the)g(v)n(alue)e(of)h(that)h(slot)f(is)g +(retained.)23 b(This)16 b(means)e(that)i(if)e(the)i(slot)g(has)0 +1228 y(a)f(v)n(alue,)e(the)j(v)n(alue)e(returned)j(b)o(y)d +Fs(slot-value)f Fw(after)i Fs(change-class)d Fw(is)j(in)o(v)o(ok)o(ed)f +(is)0 1279 y Fs(eql)j Fw(to)g(the)i(v)n(alue)e(returned)i(b)o(y)e +Fs(slot-value)f Fw(b)q(efore)i Fs(change-class)e Fw(is)h(in)o(v)o(ok)o +(ed.)0 1331 y(Similarly)l(,)c(if)i(the)h(slot)g(w)o(as)g(un)o(b)q +(ound,)g(it)f(remains)g(un)o(b)q(ound.)24 b(The)16 b(other)g(slots)g +(are)0 1383 y(initialized)c(as)i(describ)q(ed)i(in)d(section)i +(28.1.11.)42 1437 y(The)f Fv(instanc)n(e)j Fw(argumen)o(t)c(is)h(a)f +(Lisp)h(ob)r(ject.)42 1491 y(The)g Fv(new-class)j Fw(argumen)o(t)c(is)g +(a)h(class)g(ob)r(ject)h(or)f(a)f(sym)o(b)q(ol)f(that)i(names)f(a)h +(class.)42 1545 y(If)k(the)h(second)h(of)e(the)h(preceding)h(metho)q +(ds)e(is)g(selected,)k(that)c(metho)q(d)g(in)o(v)o(ok)o(es)0 +1597 y Fs(change-class)11 b Fw(on)j Fv(instanc)n(e)j +Fw(and)d Fs(\(find-class)19 b Fv(new)p Fs(-)p Fv(class)s +Fs(\))p Fw(.)42 1651 y(The)12 b(mo)q(di\014ed)f(instance)h(is)g +(returned.)19 b(The)13 b(result)g(of)e Fs(change-class)f +Fw(is)i Fs(eq)f Fw(to)h(the)0 1703 y Fv(instanc)n(e)i +Fw(argumen)o(t.)42 1757 y(Examples:)0 1862 y Fs(\(defclass)19 +b(position)h(\(\))h(\(\)\))0 1966 y(\(defclass)e(x-y-position)g +(\(position\))42 2017 y(\(\(x)i(:initform)e(0)i(:initarg)f(:x\))64 +2069 y(\(y)g(:initform)g(0)h(:initarg)e(:y\)\)\))0 2173 +y(\(defclass)g(rho-theta-position)f(\(position\))42 2225 +y(\(\(rho)i(:initform)g(0\))64 2277 y(\(theta)f(:initform)h(0\)\)\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 890 914 +890 913 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(890)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(defmethod)19 b(update-instance-fo)o(r-dif)o(feren)o +(t-cl)o(ass)f(:before)233 347 y(\(\(old)i(x-y-position\))254 +399 y(\(new)g(rho-theta-position\))254 450 y(&key\))42 +502 y(;;)h(Copy)f(the)h(position)f(information)e(from)j(old)f(to)h(new) +g(to)f(make)h(new)42 554 y(;;)g(be)g(a)g(rho-theta-positio)o(n)d(at)j +(the)g(same)f(position)f(as)i(old.)42 606 y(\(let)g(\(\(x)f +(\(slot-value)f(old)582 610 y Fn(')606 606 y Fs(x\)\))169 +658 y(\(y)i(\(slot-value)e(old)579 662 y Fn(')603 658 +y Fs(y\)\)\))85 710 y(\(setf)h(\(slot-value)f(new)560 +714 y Fn(')583 710 y Fs(rho\))i(\(sqrt)f(\(+)h(\(*)f(x)h(x\))g(\(*)g(y) +g(y\)\)\))212 762 y(\(slot-value)e(new)557 766 y Fn(')580 +762 y Fs(theta\))h(\(atan)g(y)h(x\)\)\)\))0 845 y(;;;)g(At)f(this)h +(point)f(an)h(instance)e(of)i(the)f(class)h(x-y-position)d(can)j(be)0 +897 y(;;;)g(changed)e(to)i(be)g(an)g(instance)e(of)i(the)f(class)h +(rho-theta-posit)o(ion)0 949 y(;;;)g(using)f(change-class:)0 +1052 y(\(setq)g(p1)h(\(make-instance)519 1056 y Fn(')542 +1052 y Fs(x-y-position)e(:x)i(2)g(:y)g(0\)\))0 1156 y(\(change-class)d +(p1)367 1160 y Fn(')390 1156 y Fs(rho-theta-position\))0 +1260 y(;;;)j(The)f(result)g(is)h(that)f(the)h(instance)e(bound)h(to)h +(p1)g(is)g(now)0 1312 y(;;;)g(an)f(instance)g(of)h(the)f(class)g +(rho-theta-position.)0 1364 y(;;;)h(The)f(update-instance-fo)o(r-dif)o +(feren)o(t-cl)o(ass)e(method)0 1416 y(;;;)j(performed)e(the)h +(initialization)f(of)h(the)h(rho)g(and)f(theta)0 1467 +y(;;;)h(slots)f(based)g(on)h(the)f(values)g(of)h(the)f(x)h(and)g(y)g +(slots,)0 1519 y(;;;)g(which)f(were)g(maintained)f(by)i(the)f(old)h +(instance.)42 1602 y Fw(After)26 b(completing)d(all)i(other)h(actions,) +i Fs(change-class)23 b Fw(in)o(v)o(ok)o(es)i(the)h(generic)0 +1654 y(function)e Fs(update-instance-for)o(-diff)o(erent)o(-clas)o(s)p +Fw(.)47 b(The)25 b(generic)h(function)0 1706 y Fs(update-instance-f)o +(or-di)o(ffere)o(nt-cl)o(ass)19 b Fw(can)j(b)q(e)h(used)f(to)g(assign)g +(v)n(alues)g(to)0 1758 y(slots)14 b(in)f(the)i(transformed)e(instance.) +42 1810 y(The)g(generic)h(function)e Fs(change-class)f +Fw(has)i(sev)o(eral)g(seman)o(tic)f(di\016culties.)18 +b(First,)0 1862 y(it)d(p)q(erforms)f(a)h(destructiv)o(e)i(op)q(eration) +e(that)g(can)g(b)q(e)h(in)o(v)o(ok)o(ed)e(within)h(a)g(metho)q(d)f(on)0 +1914 y(an)k(instance)g(that)g(w)o(as)g(used)h(to)f(select)h(that)f +(metho)q(d.)29 b(When)19 b(m)o(ultiple)c(metho)q(ds)0 +1966 y(are)21 b(in)o(v)o(olv)o(ed)e(b)q(ecause)j(metho)q(ds)e(are)h(b)q +(eing)f(com)o(bined,)h(the)g(metho)q(ds)f(curren)o(tly)0 +2017 y(executing)13 b(or)e(ab)q(out)h(to)g(b)q(e)g(executed)i(ma)o(y)c +(no)i(longer)f(b)q(e)i(applicable.)j(Second,)d(some)0 +2069 y(implemen)o(tatio)o(ns)i(migh)o(t)g(use)j(compiler)d +(optimizations)g(of)h(slot)h(access,)i(and)e(when)0 2121 +y(the)d(class)g(of)f(an)g(instance)h(is)f(c)o(hanged)h(the)g +(assumptions)f(the)h(compiler)e(made)g(migh)o(t)0 2173 +y(b)q(e)19 b(violated.)32 b(This)19 b(implies)e(that)h(a)h(programmer)d +(m)o(ust)i(not)h(use)g Fs(change-class)0 2225 y Fw(inside)14 +b(a)g(metho)q(d)g(if)f(an)o(y)h(metho)q(ds)g(for)g(that)g(generic)i +(function)e(access)i(an)o(y)e(slots,)g(or)0 2277 y(the)g(results)i(are) +e(unde\014ned.)42 2329 y(See)g(section)h(28.1.11)d(as)i(w)o(ell)f(as)h +Fs(update-instance-)o(for-d)o(iffer)o(ent-)o(class)o +Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 891 915 +891 914 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(891)1062 295 y Fw([)p Fv(Generic)15 b(function)s +Fw(])-1395 b Fs(class-name)19 b Fv(class)1073 347 y Fw([)p +Fv(Primary)14 b(metho)n(d)t Fw(])-1395 b Fs(class-name)19 +b(\()p Fv(class)24 b Fs(class\))0 424 y Fw(The)16 b(generic)h(function) +e Fs(class-name)f Fw(tak)o(es)i(a)f(class)h(ob)r(ject)h(and)e(returns)j +(its)d(name.)0 476 y(The)f Fv(class)j Fw(argumen)o(t)12 +b(is)i(a)f(class)h(ob)r(ject.)19 b(The)14 b Fv(new-value)j +Fw(argumen)o(t)c(is)g(an)o(y)g(ob)r(ject.)0 528 y(The)h(name)f(of)g +(the)i(giv)o(en)e(class)i(is)e(returned.)42 580 y(The)h(name)f(of)g(an) +g(anon)o(ymous)f(class)j(is)f Fs(nil)p Fw(.)42 632 y(If)e +Fv(S)h Fw(is)g(a)g(sym)o(b)q(ol)e(suc)o(h)j(that)f Fv(S)g +Fw(=)p Fs(\(class-name)19 b Fv(C)p Fs(\))13 b Fw(and)f +Fv(C)h Fw(=)g Fs(\(find-class)19 b Fv(S)p Fs(\))p Fw(,)0 +684 y(then)c Fv(S)f Fw(is)f(the)i(prop)q(er)g(name)d(of)i +Fv(C)f Fw(\(see)j(section)e(28.1.2\).)42 736 y(See)g(also)g(section)g +(28.1.2)e(and)i Fs(find-class)p Fw(.)1062 885 y([)p Fv(Generic)h +(function)s Fw(])-1395 b Fs(\(setf)20 b(class-name\))f +Fv(new)p Fs(-)p Fv(value)24 b(class)1073 936 y Fw([)p +Fv(Primary)14 b(metho)n(d)t Fw(])-1395 b Fs(\(setf)20 +b(class-name\))f Fv(new)p Fs(-)p Fv(value)24 b Fs(\()p +Fv(class)h Fs(class\))0 1014 y Fw(The)20 b(generic)g(function)e +Fs(\(setf)j(class-name\))16 b Fw(tak)o(es)k(a)f(class)g(ob)r(ject)h +(and)f(sets)i(its)0 1066 y(name.)d(The)d Fv(class)j Fw(argumen)o(t)13 +b(is)h(a)g(class)h(ob)r(ject.)20 b(The)15 b Fv(new-value)j +Fw(argumen)o(t)13 b(is)h(an)o(y)0 1117 y(ob)r(ject.)1209 +1266 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(class-of)20 +b Fv(obje)n(ct)0 1343 y Fw(The)c(function)g Fs(class-of)e +Fw(returns)k(the)e(class)h(of)e(whic)o(h)h(the)h(giv)o(en)e(ob)r(ject)i +(is)f(an)f(in-)0 1395 y(stance.)26 b(The)17 b(argumen)o(t)e(to)h +Fs(class-of)f Fw(ma)o(y)f(b)q(e)j(an)o(y)e(Common)e(Lisp)j(ob)r(ject.) +26 b(The)0 1447 y(function)14 b Fs(class-of)e Fw(returns)j(the)g(class) +f(of)f(whic)o(h)h(the)h(argumen)o(t)d(is)i(an)g(instance.)1209 +1595 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(compute-applicabl)o(e-met)o +(hods)18 b Fv(generic)p Fs(-)p Fv(function)42 1647 y(function)p +Fs(-)p Fv(ar)n(guments)0 1724 y Fw(Giv)o(en)j(a)g(generic)i(function)e +(and)h(a)f(set)h(of)g(argumen)o(ts,)g(the)g(function)f +Fs(compute-)0 1776 y(applicable-method)o(s)9 b Fw(returns)14 +b(the)e(set)h(of)e(metho)q(ds)h(that)g(are)g(applicable)f(for)h(those)0 +1828 y(argumen)o(ts.)42 1880 y(The)i(metho)q(ds)f(are)i(sorted)f +(according)g(to)g(precedence)j(order.)i(See)c(section)f(28.1.7.)42 +1932 y(The)19 b Fv(generic-function)k Fw(argumen)o(t)c(m)o(ust)f(b)q(e) +i(a)f(generic)i(function)e(ob)r(ject.)35 b(The)0 1984 +y Fv(function-ar)n(guments)18 b Fw(argumen)o(t)13 b(is)h(a)g(list)g(of) +g(the)h(argumen)o(ts)e(to)h(that)h(generic)g(func-)0 +2036 y(tion.)i(The)12 b(result)h(is)e(a)h(list)f(of)g(the)i(applicable) +e(metho)q(ds)g(in)h(order)g(of)f(precedence)q(.)20 b(See)0 +2088 y(section)15 b(28.1.7.)-33 2208 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 2236 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(defclass)33 b Fv(class-name)16 b Fs(\()7 b Ft(f)p +Fv(sup)n(er)n(class-name)p Ft(g)783 2221 y Fl(\003)808 +2236 y Fs(\))196 2288 y(\()g Ft(f)p Fv(slot-sp)n(e)n(ci\014er)p +Ft(g)490 2273 y Fl(\003)514 2288 y Fs(\))22 b Fw([)-7 +b([)7 b Ft(#)p Fv(class-option)g Fw(])-7 b(])-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 892 916 +892 915 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(892)77 b(COMMON)13 +b(LISP)0 295 y Fv(class-name)k Fw(::=)c Fv(symb)n(ol)0 +347 y(sup)n(er)n(class-name)k Fw(::=)c Fv(symb)n(ol)0 +399 y(slot-sp)n(e)n(ci\014er)18 b Fw(::=)13 b Fv(slot-name)k +Ft(j)c Fw(\()p Fv(slot-name)k Fw([)-7 b([)p Ft(#)5 b +Fv(slot-option)h Fw(])-7 b(]\))0 450 y Fv(slot-name)17 +b Fw(::=)c Fv(symb)n(ol)0 502 y(slot-option)k Fw(::=)j +Ft(f)p Fs(:reader)13 b Fv(r)n(e)n(ader-function-name)s +Ft(g)883 487 y Fl(\003)252 554 y Ft(j)20 b(f)p Fs(:writer)13 +b Fv(writer-function-name)s Ft(g)881 539 y Fl(\003)252 +606 y Ft(j)20 b(f)p Fs(:accessor)13 b Fv(r)n(e)n(ader-function-name)s +Ft(g)927 591 y Fl(\003)252 658 y Ft(j)20 b(f)p Fs(:allocation)12 +b Fv(al)r(lo)n(c)n(ation-typ)n(e)s Ft(g)252 710 y(j)20 +b(f)p Fs(:initarg)13 b Fv(initar)n(g-name)s Ft(g)749 +695 y Fl(\003)252 762 y Ft(j)20 b(f)p Fs(:initform)13 +b Fv(form)s Ft(g)252 814 y(j)20 b(f)p Fs(:type)14 b Fv(typ)n(e-sp)n(e)n +(ci\014er)t Ft(g)252 866 y(j)20 b(f)p Fs(:documentation)12 +b Fv(string)t Ft(g)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 893 917 +893 916 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(893)0 295 y Fv(r)n(e)n(ader-function-name)17 +b Fw(::=)c Fv(symb)n(ol)0 347 y(writer-function-name)j +Fw(::=)d Fv(function-name/)0 399 y(function-name)18 b +Fw(::=)i Ft(f)p Fv(symb)n(ol)f Ft(j)14 b Fs(\(setf)20 +b Fv(symb)n(ol)t Fs(\))p Ft(g)0 450 y Fv(initar)n(g-name)d +Fw(::=)c Fv(symb)n(ol)0 502 y(al)r(lo)n(c)n(ation-typ)n(e)k +Fw(::=)c Fs(:instance)19 b Ft(j)i Fs(:class)0 554 y Fv(class-option)c +Fw(::=)c Fs(\(:default-initargs)18 b Fv(initar)n(g)p +Fs(-)p Fv(list)t Fs(\))274 606 y Ft(j)13 b Fs(\(:documentation)19 +b Fv(string)t Fs(\))274 658 y Ft(j)13 b Fs(\(:metaclass)19 +b Fv(class)p Fs(-)p Fv(name)s Fs(\))0 710 y Fv(initar)n(g-list)d +Fw(::=)k Ft(f)p Fv(initar)n(g-name)14 b(default-initial-value-form)s +Ft(g)1023 695 y Fl(\003)0 799 y Fw(The)19 b(macro)e Fs(defclass)g +Fw(de\014nes)j(a)e(new)h(named)e(class.)33 b(It)18 b(returns)i(the)f +(new)g(class)0 851 y(ob)r(ject)c(as)f(its)g(result.)42 +903 y(The)k(syn)o(tax)h(of)f Fs(defclass)e Fw(pro)o(vides)j(options)f +(for)g(sp)q(ecifying)g(initialization)e(ar-)0 955 y(gumen)o(ts)d(for)g +(slots,)h(for)f(sp)q(ecifying)g(default)h(initialization)d(v)n(alues)i +(for)g(slots,)h(and)f(for)0 1007 y(requesting)e(that)f(metho)q(ds)f(on) +h(sp)q(eci\014ed)h(generic)g(functions)f(b)q(e)g(automatically)d +(gener-)0 1059 y(ated)13 b(for)f(reading)g(and)h(writing)e(the)i(v)n +(alues)g(of)e(slots.)18 b(No)12 b(reader)i(or)f(writer)g(functions)0 +1111 y(are)h(de\014ned)h(b)o(y)f(default;)f(their)h(generation)g(m)o +(ust)f(b)q(e)i(explicitly)e(requested.)42 1163 y(De\014ning)k(a)g(new)h +(class)g(also)f(causes)h(a)g(t)o(yp)q(e)g(of)f(the)h(same)e(name)h(to)g +(b)q(e)h(de\014ned.)0 1215 y(The)11 b(predicate)h Fs(\(typep)20 +b Fv(obje)n(ct)12 b(class)p Fs(-)p Fv(name)s Fs(\))f +Fw(returns)h(true)f(if)f(the)i(class)f(of)f(the)h(giv)o(en)0 +1267 y(ob)r(ject)h(is)f Fv(class-name)k Fw(itself)c(or)g(a)g(sub)q +(class)i(of)e(the)h(class)f Fv(class-name)p Fw(.)18 b(A)11 +b(class)h(ob)r(ject)0 1319 y(can)h(b)q(e)g(used)h(as)f(a)f(t)o(yp)q(e)h +(sp)q(eci\014er.)20 b(Th)o(us)13 b Fs(\(typep)20 b Fv(obje)n(ct)14 +b(class)s Fs(\))e Fw(returns)j(true)e(if)f(the)0 1371 +y(class)i(of)g(the)g Fv(obje)n(ct)k Fw(is)c Fv(class)j +Fw(itself)c(or)h(a)g(sub)q(class)h(of)e Fv(class)p Fw(.)42 +1423 y(The)20 b Fv(class-name)j Fw(argumen)o(t)c(is)h(a)g(non-)p +Fs(nil)f Fw(sym)o(b)q(ol.)34 b(It)20 b(b)q(ecomes)g(the)h(prop)q(er)0 +1475 y(name)15 b(of)g(the)h(new)h(class.)24 b(If)16 b(a)f(class)i(with) +e(the)i(same)e(prop)q(er)i(name)d(already)i(exists)0 +1527 y(and)g(that)g(class)g(is)g(an)g(instance)g(of)g +Fs(standard-class)p Fw(,)d(and)j(if)f(the)h Fs(defclass)e +Fw(form)0 1579 y(for)h(the)h(de\014nition)g(of)e(the)j(new)f(class)g +(sp)q(eci\014es)h(a)e(class)h(of)f(class)h Fs(standard-class)p +Fw(,)0 1630 y(the)e(de\014nition)g(of)f(the)i(existing)e(class)i(is)e +(replaced.)42 1683 y(Eac)o(h)g Fv(sup)n(er)n(class-name)j +Fw(argumen)o(t)11 b(is)i(a)g(non-)p Fs(nil)f Fw(sym)o(b)q(ol)f(that)i +(sp)q(eci\014es)h(a)f(direct)0 1735 y(sup)q(erclass)h(of)d(the)h(new)g +(class.)18 b(The)12 b(new)g(class)h(will)d(inherit)i(slots)g(and)f +(metho)q(ds)g(from)0 1787 y(eac)o(h)k(of)g(its)f(direct)i(sup)q +(erclasses,)h(from)c(their)j(direct)f(sup)q(erclasses,)j(and)c(so)h +(on.)21 b(See)0 1838 y(section)15 b(28.1.3)d(for)h(a)h(discussion)g(of) +f(ho)o(w)h(slots)g(and)g(metho)q(ds)f(are)h(inherited.)42 +1891 y(Eac)o(h)h Fv(slot-sp)n(e)n(ci\014er)20 b Fw(argumen)o(t)14 +b(is)i(the)g(name)e(of)h(the)h(slot)g(or)f(a)h(list)f(consisting)g(of)0 +1943 y(the)e(slot)f(name)g(follo)o(w)o(ed)e(b)o(y)j(zero)g(or)f(more)g +(slot)g(options.)17 b(The)c Fv(slot-name)j Fw(argumen)o(t)0 +1995 y(is)e(a)f(sym)o(b)q(ol)f(that)h(is)h(syn)o(tactically)f(v)n(alid) +f(for)h(use)i(as)e(a)h(v)n(ariable)e(name.)17 b(If)c(there)i(are)0 +2046 y(an)o(y)e(duplicate)h(slot)g(names,)f(an)g(error)i(is)f +(signaled.)42 2099 y(The)g(follo)o(wing)d(slot)j(options)f(are)i(a)o(v) +n(ailable:)0 2164 y Fu(.)42 2173 y Fw(The)g Fs(:reader)f +Fw(slot)h(option)g(sp)q(eci\014es)i(that)e(an)g(unquali\014ed)g(metho)q +(d)f(is)h(to)h(b)q(e)f(de-)42 2225 y(\014ned)c(on)g(the)h(generic)g +(function)f(named)f Fv(r)n(e)n(ader-function-name)15 +b Fw(to)c(read)h(the)f(v)n(alue)42 2277 y(of)g(the)h(giv)o(en)f(slot.) +17 b(The)c Fv(r)n(e)n(ader-function-name)i Fw(argumen)o(t)10 +b(is)i(a)f(non-)p Fs(nil)g Fw(sym)o(b)q(ol.)42 2329 y(The)j +Fs(:reader)e Fw(slot)i(option)f(ma)o(y)f(b)q(e)i(sp)q(eci\014ed)i(more) +d(than)h(once)g(for)g(a)f(giv)o(en)h(slot.)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 894 918 +894 917 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(894)77 b(COMMON)13 +b(LISP)0 286 y Fu(.)42 295 y Fw(The)i Fs(:writer)f Fw(slot)h(option)g +(sp)q(eci\014es)i(that)e(an)g(unquali\014ed)g(metho)q(d)f(is)h(to)h(b)q +(e)f(de-)42 347 y(\014ned)10 b(on)g(the)h(generic)g(function)f(named)f +Fv(writer-function-name)j Fw(to)e(write)h(the)f(v)n(alue)42 +399 y(of)15 b(the)i(slot.)25 b(The)16 b Fv(writer-function-name)j +Fw(argumen)o(t)c(is)h(a)g(function-name.)23 b(The)42 +450 y Fs(:writer)12 b Fw(slot)i(option)f(ma)o(y)f(b)q(e)i(sp)q +(eci\014ed)i(more)c(than)i(once)h(for)e(a)h(giv)o(en)f(slot.)0 +537 y Fu(.)42 546 y Fw(The)18 b Fs(:accessor)e Fw(slot)h(option)g(sp)q +(eci\014es)j(that)d(an)h(unquali\014ed)f(metho)q(d)g(is)h(to)f(b)q(e)42 +598 y(de\014ned)i(on)f(the)h(generic)g(function)f(named)f +Fv(r)n(e)n(ader-function-name)k Fw(to)d(read)h(the)42 +650 y(v)n(alue)14 b(of)g(the)h(giv)o(en)f(slot)h(and)f(that)h(an)g +(unquali\014ed)f(metho)q(d)g(is)g(to)h(b)q(e)g(de\014ned)h(on)42 +702 y(the)d(generic)h(function)e(named)g Fs(\(setf)20 +b Fv(r)n(e)n(ader)p Fs(-)p Fv(function)p Fs(-)p Fv(name)s +Fs(\))13 b Fw(to)g(b)q(e)g(used)h(with)42 753 y Fs(setf)f +Fw(to)i(mo)q(dify)d(the)j(v)n(alue)f(of)g(the)h(slot.)20 +b(The)15 b Fv(r)n(e)n(ader-function-name)j Fw(argumen)o(t)42 +805 y(is)f(a)h(non-)p Fs(nil)f Fw(sym)o(b)q(ol.)28 b(The)18 +b Fs(:accessor)e Fw(slot)i(option)f(ma)o(y)f(b)q(e)i(sp)q(eci\014ed)i +(more)42 857 y(than)13 b(once)i(for)e(a)h(giv)o(en)f(slot.)0 +944 y Fu(.)42 953 y Fw(The)g Fs(:allocation)e Fw(slot)i(option)f(is)i +(used)g(to)f(sp)q(ecify)g(where)i(storage)e(is)g(to)h(b)q(e)f(allo-)42 +1005 y(cated)h(for)f(the)i(giv)o(en)e(slot.)18 b(Storage)13 +b(for)h(a)f(slot)h(ma)o(y)d(b)q(e)k(lo)q(cated)f(in)f(eac)o(h)h +(instance)42 1056 y(or)i(in)g(the)g(class)h(ob)r(ject)g(itself,)f(for)g +(example.)24 b(The)17 b(v)n(alue)e(of)h(the)h Fv(al)r(lo)n(c)n +(ation-typ)n(e)42 1108 y Fw(argumen)o(t)g(can)h(b)q(e)h(either)g(the)g +(k)o(eyw)o(ord)f Fs(:instance)e Fw(or)i(the)h(k)o(eyw)o(ord)f +Fs(:class)p Fw(.)42 1160 y(The)g Fs(:allocation)e Fw(slot)i(option)g +(ma)o(y)e(b)q(e)j(sp)q(eci\014ed)h(at)e(most)f(once)i(for)f(a)g(giv)o +(en)42 1212 y(slot.)g(If)c(the)h Fs(:allocation)d Fw(slot)i(option)f +(is)h(not)h(sp)q(eci\014ed,)g(the)g(e\013ect)h(is)e(the)h(same)42 +1264 y(as)e(sp)q(ecifying)h Fs(:allocation)19 b(:instance)p +Fw(.)42 1359 y({)h(If)12 b Fv(al)r(lo)n(c)n(ation-typ)n(e)i +Fw(is)e Fs(:instance)p Fw(,)e(a)i(lo)q(cal)f(slot)g(of)h(the)g(giv)o +(en)g(name)e(is)i(allo)q(cated)83 1411 y(in)h(eac)o(h)i(instance)g(of)e +(the)h(class.)42 1507 y({)20 b(If)13 b Fv(al)r(lo)n(c)n(ation-typ)n(e)k +Fw(is)c Fs(:class)p Fw(,)f(a)i(shared)g(slot)f(of)g(the)i(giv)o(en)e +(name)f(is)i(allo)q(cated.)83 1559 y(The)g(v)n(alue)g(of)f(the)i(slot)e +(is)h(shared)h(b)o(y)f(all)e(instances)j(of)f(the)g(class.)19 +b(If)13 b(a)h(class)g Fv(C)1376 1565 y Fk(1)83 1611 y +Fw(de\014nes)19 b(suc)o(h)f(a)f(shared)h(slot,)f(an)o(y)g(sub)q(class)h +Fv(C)863 1617 y Fk(2)899 1611 y Fw(of)e Fv(C)979 1617 +y Fk(1)1015 1611 y Fw(will)g(share)i(this)f(single)83 +1663 y(slot)12 b(unless)i(the)f Fs(defclass)e Fw(form)g(for)h +Fv(C)728 1669 y Fk(2)759 1663 y Fw(sp)q(eci\014es)j(a)d(slot)g(of)g +(the)i(same)d(name)h(or)83 1714 y(there)17 b(is)e(a)h(sup)q(erclass)h +(of)e Fv(C)547 1720 y Fk(2)581 1714 y Fw(that)h(precedes)i +Fv(C)871 1720 y Fk(1)905 1714 y Fw(in)d(the)h(class)g(precedence)j +(list)83 1766 y(of)13 b Fv(C)160 1772 y Fk(2)192 1766 +y Fw(and)h(that)g(de\014nes)h(a)f(slot)g(of)f(the)h(same)f(name.)0 +1853 y Fu(.)42 1862 y Fw(The)f Fs(:initform)f Fw(slot)h(option)f(is)h +(used)h(to)f(pro)o(vide)h(a)f(default)f(initial)g(v)n(alue)g(form)g(to) +42 1914 y(b)q(e)i(used)h(in)f(the)h(initialization)c(of)j(the)g(slot.) +18 b(The)13 b Fs(:initform)f Fw(slot)h(option)f(ma)o(y)f(b)q(e)42 +1966 y(sp)q(eci\014ed)17 b(at)e(most)g(once)h(for)f(a)h(giv)o(en)f +(slot.)23 b(This)16 b(form)e(is)h(ev)n(aluated)h(ev)o(ery)g(time)42 +2017 y(it)d(is)h(used)i(to)e(initialize)e(the)j(slot.)k(The)c(lexical)e +(en)o(vironmen)o(t)g(in)h(whic)o(h)g(this)g(form)42 2069 +y(is)k(ev)n(aluated)h(is)g(the)g(lexical)f(en)o(vironmen)o(t)g(in)g +(whic)o(h)h(the)h Fs(defclass)d Fw(form)g(w)o(as)42 2121 +y(ev)n(aluated.)23 b(Note)16 b(that)g(the)g(lexical)f(en)o(vironmen)o +(t)g(refers)i(b)q(oth)f(to)g(v)n(ariables)f(and)42 2173 +y(to)d(functions.)17 b(F)m(or)12 b(lo)q(cal)f(slots,)h(the)h(dynamic)e +(en)o(vironmen)o(t)g(is)h(the)h(dynamic)d(en)o(vi-)42 +2225 y(ronmen)o(t)h(in)h(whic)o(h)h Fs(make-instance)d +Fw(w)o(as)i(called;)h(for)f(shared)i(slots,)e(the)h(dynamic)42 +2277 y(en)o(vironmen)o(t)g(is)h(the)h(dynamic)d(en)o(vironmen)o(t)i(in) +g(whic)o(h)g(the)h Fs(defclass)d Fw(form)h(w)o(as)42 +2329 y(ev)n(aluated.)k(See)e(section)g(28.1.9.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 895 919 +895 918 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(895)42 295 y Fw(No)12 b(implemen)o(tation)d(is)k(p)q +(ermitted)f(to)h(extend)h(the)f(syn)o(tax)g(of)f Fs(defclass)f +Fw(to)h(allo)o(w)42 347 y Fs(\()p Fv(slot)p Fs(-)p Fv(name)i(form)s +Fs(\))f Fw(as)h(an)g(abbreviation)f(for)h Fs(\()p Fv(slot)p +Fs(-)p Fv(name)24 b Fs(:initform)19 b Fv(form)s Fs(\))p +Fw(.)0 421 y Fu(.)42 430 y Fw(The)10 b Fs(:initarg)e +Fw(slot)h(option)g(declares)i(an)f(initialization)c(argumen)o(t)j +(named)g Fv(initar)n(g-)42 482 y(name)22 b Fw(and)d(sp)q(eci\014es)i +(that)f(this)f(initialization)d(argumen)o(t)i(initializes)g(the)i(giv)o +(en)42 534 y(slot.)h(If)14 b(the)i(initialization)c(argumen)o(t)i(has)h +(a)g(v)n(alue)f(in)g(the)i(call)e(to)h Fs(initialize-)42 +586 y(instance)p Fw(,)23 b(the)h(v)n(alue)e(will)g(b)q(e)i(stored)g(in) +o(to)e(the)i(giv)o(en)f(slot,)h(and)f(the)h(slot's)42 +638 y Fs(:initform)15 b Fw(slot)i(option,)g(if)g(an)o(y)m(,)g(is)g(not) +h(ev)n(aluated.)28 b(If)17 b(none)h(of)f(the)h(initializa-)42 +690 y(tion)c(argumen)o(ts)g(sp)q(eci\014ed)j(for)e(a)g(giv)o(en)f(slot) +h(has)g(a)g(v)n(alue,)g(the)g(slot)g(is)g(initialized)42 +742 y(according)j(to)g(the)h Fs(:initform)e Fw(slot)h(option,)g(if)f +(sp)q(eci\014ed.)33 b(The)19 b Fs(:initarg)e Fw(slot)42 +793 y(option)c(can)i(b)q(e)h(sp)q(eci\014ed)g(more)e(than)g(once)i(for) +e(a)g(giv)o(en)h(slot.)20 b(The)15 b Fv(initar)n(g-name)42 +845 y Fw(argumen)o(t)d(can)i(b)q(e)h(an)o(y)e(sym)o(b)q(ol.)0 +920 y Fu(.)42 929 y Fw(The)19 b Fs(:type)e Fw(slot)h(option)g(sp)q +(eci\014es)j(that)d(the)h(con)o(ten)o(ts)h(of)e(the)h(slot)g(will)e +(alw)o(a)o(ys)42 981 y(b)q(e)f(of)f(the)h(sp)q(eci\014ed)h(data)e(t)o +(yp)q(e.)24 b(It)15 b(e\013ectiv)o(ely)i(declares)g(the)f(result)g(t)o +(yp)q(e)g(of)f(the)42 1033 y(reader)g(generic)g(function)f(when)h +(applied)f(to)g(an)g(ob)r(ject)h(of)f(this)g(class.)20 +b(The)15 b(result)42 1085 y(of)c(attempting)h(to)g(store)h(in)g(a)f +(slot)g(a)g(v)n(alue)g(that)h(do)q(es)g(not)g(satisfy)f(the)h(t)o(yp)q +(e)g(of)f(the)42 1137 y(slot)h(is)h(unde\014ned.)20 b(The)14 +b Fs(:type)f Fw(slot)h(option)f(ma)o(y)f(b)q(e)i(sp)q(eci\014ed)i(at)e +(most)e(once)j(for)42 1188 y(a)e(giv)o(en)g(slot.)18 +b(The)d Fs(:type)d Fw(slot)i(option)f(is)h(further)h(discussed)g(in)f +(section)g(28.1.3.2.)0 1263 y Fu(.)42 1272 y Fw(The)i +Fs(:documentation)d Fw(slot)j(option)f(pro)o(vides)i(a)e(do)q(cumen)o +(tation)g(string)h(for)g(the)42 1324 y(slot.)42 1395 +y(Eac)o(h)f(class)h(option)f(is)g(an)g(option)g(that)g(refers)i(to)f +(the)g(class)f(as)h(a)f(whole)g(or)h(to)f(all)0 1447 +y(class)f(slots.)k(The)d(follo)o(wing)c(class)j(options)g(are)g(a)o(v)n +(ailable:)0 1510 y Fu(.)42 1519 y Fw(The)19 b Fs(:default-initarg)o(s)d +Fw(class)j(option)f(is)g(follo)o(w)o(ed)f(b)o(y)i(a)f(list)g(of)g +(alternating)42 1571 y(initialization)7 b(argumen)o(t)i(names)g(and)h +(default)g(initial)e(v)n(alue)h(forms.)16 b(If)9 b(an)o(y)h(of)f(these) +42 1622 y(initialization)i(argumen)o(ts)i(do)q(es)i(not)f(app)q(ear)g +(in)g(the)g(initialization)d(argumen)o(t)i(list)42 1674 +y(supplied)g(to)h Fs(make-instance)p Fw(,)d(the)j(corresp)q(onding)h +(default)e(initial)f(v)n(alue)h(form)f(is)42 1726 y(ev)n(aluated,)k +(and)g(the)h(initialization)c(argumen)o(t)i(name)g(and)h(the)h(form's)e +(v)n(alue)g(are)42 1778 y(added)h(to)g(the)h(end)g(of)f(the)g +(initialization)e(argumen)o(t)h(list)h(b)q(efore)h(the)g(instance)g(is) +42 1830 y(created)c(\(see)g(section)f(28.1.9\).)j(The)e(default)e +(initial)e(v)n(alue)i(form)f(is)i(ev)n(aluated)f(eac)o(h)42 +1882 y(time)i(it)h(is)g(used.)22 b(The)15 b(lexical)e(en)o(vironmen)o +(t)h(in)g(whic)o(h)h(this)f(form)f(is)h(ev)n(aluated)h(is)42 +1934 y(the)i(lexical)f(en)o(vironmen)o(t)g(in)h(whic)o(h)f(the)i +Fs(defclass)d Fw(form)g(w)o(as)i(ev)n(aluated.)27 b(The)42 +1986 y(dynamic)9 b(en)o(vironmen)o(t)h(is)h(the)h(dynamic)d(en)o +(vironmen)o(t)h(in)h(whic)o(h)f Fs(make-instance)42 2038 +y Fw(w)o(as)15 b(called.)22 b(If)15 b(an)g(initialization)d(argumen)o +(t)i(name)h(app)q(ears)h(more)e(than)h(once)h(in)42 2089 +y(a)g Fs(:default-initargs)e Fw(class)k(option,)f(an)g(error)h(is)f +(signaled.)28 b(The)18 b Fs(:default-)42 2141 y(initargs)12 +b Fw(class)i(option)f(ma)o(y)f(b)q(e)j(sp)q(eci\014ed)g(at)f(most)e +(once.)0 2216 y Fu(.)42 2225 y Fw(The)i Fs(:documentation)d +Fw(class)j(option)g(causes)h(a)f(do)q(cumen)o(tation)f(string)h(to)f(b) +q(e)i(at-)42 2277 y(tac)o(hed)g(to)f(the)h(class)g(name.)k(The)c(do)q +(cumen)o(tation)e(t)o(yp)q(e)i(for)f(this)h(string)g(is)f +Fs(type)p Fw(.)42 2329 y(The)c(form)f Fs(\(documentation)18 +b Fv(class)p Fs(-)p Fv(name)770 2333 y Fn(')794 2329 +y Fs(type\))9 b Fw(ma)o(y)f(b)q(e)j(used)g(to)g(retriev)o(e)g(the)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 896 920 +896 919 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(896)77 b(COMMON)13 +b(LISP)42 295 y Fw(do)q(cumen)o(tation)g(string.)19 b(The)c +Fs(:documentation)c Fw(class)k(option)f(ma)o(y)e(b)q(e)j(sp)q +(eci\014ed)42 347 y(at)e(most)g(once.)0 430 y Fu(.)42 +439 y Fw(The)i Fs(:metaclass)e Fw(class)j(option)e(is)h(used)h(to)f(sp) +q(ecify)h(that)f(instances)h(of)f(the)g(class)42 491 +y(b)q(eing)h(de\014ned)i(are)f(to)g(ha)o(v)o(e)g(a)f(di\013eren)o(t)i +(metaclass)e(than)h(the)g(default)g(pro)o(vided)42 543 +y(b)o(y)g(the)h(system)f(\(the)i(class)f Fs(standard-class)p +Fw(\).)26 b(The)18 b Fv(class-name)f Fw(argumen)o(t)g(is)42 +595 y(the)f(name)g(of)f(the)i(desired)h(metaclass.)24 +b(The)17 b Fs(:metaclass)d Fw(class)j(option)f(ma)o(y)e(b)q(e)42 +647 y(sp)q(eci\014ed)h(at)f(most)e(once.)42 728 y(The)i(new)g(class)g +(ob)r(ject)h(is)f(returned)h(as)f(the)h(result.)42 781 +y(If)i(a)g(class)h(with)f(the)h(same)f(prop)q(er)i(name)d(already)h +(exists)i(and)e(that)h(class)g(is)f(an)0 833 y(instance)g(of)f +Fs(standard-class)p Fw(,)d(and)j(if)f(the)i Fs(defclass)d +Fw(form)h(for)h(the)h(de\014nition)e(of)0 885 y(the)h(new)h(class)f(sp) +q(eci\014es)h(a)f(class)g(of)f(class)h Fs(standard-class)p +Fw(,)d(the)j(existing)g(class)g(is)0 937 y(rede\014ned,)22 +b(and)d(instances)h(of)f(it)g(\(and)g(its)g(sub)q(classes\))j(are)d(up) +q(dated)h(to)f(the)h(new)0 989 y(de\014nition)13 b(at)h(the)h(time)d +(that)i(they)h(are)f(next)g(accessed)j(\(see)e(section)f(28.1.10\).)42 +1042 y(Note)g(the)g(follo)o(wing)e(rules)i(of)f Fs(defclass)g +Fw(for)g(standard)h(classes:)0 1114 y Fu(.)42 1123 y +Fw(It)19 b(is)h(not)g(required)h(that)e(the)i(sup)q(erclasses)h(of)d(a) +h(class)g(b)q(e)h(de\014ned)g(b)q(efore)f(the)42 1175 +y Fs(defclass)12 b Fw(form)g(for)h(that)h(class)h(is)e(ev)n(aluated.)0 +1259 y Fu(.)42 1268 y Fw(All)k(the)h(sup)q(erclasses)j(of)c(a)h(class)g +(m)o(ust)f(b)q(e)i(de\014ned)g(b)q(efore)f(an)g(instance)h(of)e(the)42 +1319 y(class)d(can)g(b)q(e)g(made.)0 1403 y Fu(.)42 1412 +y Fw(A)f(class)h(m)o(ust)f(b)q(e)h(de\014ned)h(b)q(efore)f(it)g(can)f +(b)q(e)i(used)f(as)g(a)f(parameter)h(sp)q(ecializer)g(in)42 +1464 y(a)f Fs(defmethod)f Fw(form.)42 1546 y(The)i(Ob)r(ject)i(System)d +(ma)o(y)g(b)q(e)i(extended)g(to)f(co)o(v)o(er)h(situations)f(where)h +(these)h(rules)0 1597 y(are)e(not)g(ob)q(ey)o(ed.)42 +1650 y(Some)f(slot)i(options)g(are)h(inherited)f(b)o(y)g(a)g(class)h +(from)d(its)i(sup)q(erclasses,)j(and)d(some)0 1702 y(can)j(b)q(e)g +(shado)o(w)o(ed)g(or)g(altered)g(b)o(y)g(pro)o(viding)e(a)i(lo)q(cal)f +(slot)g(description.)31 b(No)17 b(class)0 1754 y(options)d(except)j +Fs(:default-initarg)o(s)12 b Fw(are)j(inherited.)21 b(F)m(or)15 +b(a)f(detailed)h(description)0 1806 y(of)e(ho)o(w)h(slots)g(and)f(slot) +h(options)g(are)g(inherited,)g(see)h(section)g(28.1.3.2.)42 +1859 y(The)d(options)h(to)f Fs(defclass)f Fw(can)h(b)q(e)i(extended.)19 +b(An)12 b(implemen)o(tation)d(m)o(ust)j(signal)0 1911 +y(an)i(error)g(if)f(it)h(observ)o(es)h(a)f(class)g(option)f(or)h(a)g +(slot)f(option)h(that)f(is)h(not)g(implemen)o(ted)0 1963 +y(lo)q(cally)m(.)42 2015 y(It)e(is)f(v)n(alid)g(to)h(sp)q(ecify)g(more) +f(than)h(one)g(reader,)h(writer,)g(accessor,)h(or)d(initialization)0 +2067 y(argumen)o(t)k(for)i(a)f(slot.)26 b(No)16 b(other)h(slot)f +(option)g(ma)o(y)f(app)q(ear)i(more)e(than)i(once)g(in)f(a)0 +2119 y(single)e(slot)f(description,)h(or)g(an)g(error)h(is)e(signaled.) +42 2172 y(If)c(no)g(reader,)j(writer,)e(or)g(accessor)i(is)d(sp)q +(eci\014ed)j(for)d(a)g(slot,)h(the)h(slot)e(can)h(b)q(e)g(accessed)0 +2224 y(only)j(b)o(y)h(the)g(function)g Fs(slot-value)p +Fw(.)42 2277 y(See)k(sections)h(28.1.2,)d(28.1.3,)h(28.1.10,)f(28.1.5,) +g(28.1.9)g(as)h(w)o(ell)g(as)h Fs(slot-value)p Fw(,)0 +2329 y Fs(make-instance)p Fw(,)11 b(and)i Fs(initialize-instance)o +Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 897 921 +897 920 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(897)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 295 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(defgeneric)33 b Fv(function-name)16 b(lamb)n(da-list)246 +347 y Fw([)-7 b([)7 b Ft(#)p Fv(option)14 b Ft(j)21 b(f)p +Fv(metho)n(d-description)p Ft(g)835 332 y Fl(\003)868 +347 y Fw(])-7 b(])0 469 y Fv(function-name)18 b Fw(::=)i +Ft(f)p Fv(symb)n(ol)f Ft(j)14 b Fs(\(setf)20 b Fv(symb)n(ol)t +Fs(\))p Ft(g)0 521 y Fv(lamb)n(da-list)d Fw(::=)c Fs(\()7 +b Ft(f)p Fv(var)t Ft(g)414 506 y Fl(\003)310 573 y Fw([)p +Fs(&optional)19 b Ft(f)p Fv(var)c Ft(j)f Fs(\()p Fv(var)t +Fs(\))p Ft(g)786 558 y Fl(\003)812 573 y Fw(])310 625 +y([)p Fs(&rest)f Fv(var)t Fw(])310 677 y([)p Fs(&key)20 +b Ft(f)p Fv(keywor)n(d-p)n(ar)n(ameter)t Ft(g)816 662 +y Fl(\003)863 677 y Fw([)p Fs(&allow-other-ke)o(ys)p +Fw(])6 b(])h Fs(\))0 772 y Fv(keywor)n(d-p)n(ar)n(ameter)17 +b Fw(::=)c Fv(var)h Ft(j)f Fs(\()7 b Ft(f)p Fv(var)15 +b Ft(j)f Fs(\()p Fv(keywor)n(d)25 b(var)t Fs(\))p Ft(g)7 +b Fs(\))0 832 y Fv(option)18 b Fw(::=)13 b Fs(\(:argument-prece)o +(dence)o(-orde)o(r)25 b Ft(f)p Fv(p)n(ar)n(ameter)p Fs(-)p +Fv(name)s Ft(g)1161 817 y Fk(+)1195 832 y Fs(\))174 892 +y Ft(j)14 b Fs(\(declare)26 b Ft(f)p Fv(de)n(clar)n(ation)s +Ft(g)644 877 y Fk(+)678 892 y Fs(\))174 944 y Ft(j)14 +b Fs(\(:documentation)k Fv(string)t Fs(\))174 996 y Ft(j)c +Fs(\(:method-combina)o(tion)k Fv(symb)n(ol)32 b Ft(f)p +Fv(ar)n(g)t Ft(g)911 981 y Fl(\003)936 996 y Fs(\))174 +1048 y Ft(j)14 b Fs(\(:generic-functi)o(on-cl)o(ass)k +Fv(class)p Fs(-)p Fv(name)s Fs(\))174 1100 y Ft(j)c Fs(\(:method-class) +k Fv(class)p Fs(-)p Fv(name)s Fs(\))0 1160 y Fv(metho)n(d-description)f +Fw(::=)c Fs(\(:method)27 b Ft(f)p Fv(metho)n(d-quali\014er)t +Ft(g)966 1145 y Fl(\003)624 1212 y Fv(sp)n(e)n(cialize)n(d-lamb)n +(da-list)631 1264 y Fw([)-7 b([)13 b Ft(f)p Fv(de)n(clar)n(ation)s +Ft(g)903 1249 y Fl(\003)943 1264 y Ft(j)h Fv(do)n(cumentation)e +Fw(])-7 b(])631 1316 y Ft(f)7 b Fv(form)s Ft(g)769 1301 +y Fl(\003)794 1316 y Fs(\))0 1376 y Fv(metho)n(d-quali\014er)18 +b Fw(::=)c Fv(non-nil-atom)0 1436 y(sp)n(e)n(cialize)n(d-lamb)n +(da-list)i Fw(::=)100 1488 y Fs(\()7 b Ft(f)p Fv(var)14 +b Ft(j)g Fs(\()p Fv(var)h(p)n(ar)n(ameter-sp)n(e)n(cializer-name)s +Fs(\))p Ft(g)881 1473 y Fl(\003)128 1540 y Fw([)p Fs(&optional)20 +b Ft(f)p Fv(var)14 b Ft(j)h Fs(\()p Fv(var)21 b Fw([)p +Fv(initform)f Fw([)p Fv(supplie)n(d-p-p)n(ar)n(ameter)t +Fw(])7 b(])g Fs(\))p Ft(g)1232 1525 y Fl(\003)1256 1540 +y Fw(])128 1592 y([)p Fs(&rest)20 b Fv(var)t Fw(])128 +1644 y([)p Fs(&key)h Ft(f)p Fv(sp)n(e)n(cialize)n(d-keywor)n(d-p)n(ar)n +(ameter)t Ft(g)835 1629 y Fl(\003)881 1644 y Fw([)p Fs(&allow-other-ke) +o(ys)p Fw(])6 b(])128 1696 y([)p Fs(&aux)21 b Ft(f)p +Fv(var)14 b Ft(j)h Fs(\()p Fv(var)32 b Fw([)p Fv(initform)s +Fw(])7 b Fs(\))p Ft(g)707 1681 y Fl(\003)730 1696 y Fw(])g +Fs(\))0 1756 y Fv(sp)n(e)n(cialize)n(d-keywor)n(d-p)n(ar)n(ameter)17 +b Fw(::=)100 1808 y Fv(var)c Ft(j)h Fs(\()7 b Ft(f)p +Fv(var)14 b Ft(j)g Fs(\()p Fv(keywor)n(d)25 b(var)t Fs(\))p +Ft(g)j Fw([)p Fv(initform)20 b Fw([)p Fv(supplie)n(d-p-p)n(ar)n(ameter) +t Fw(])7 b(])g Fs(\))0 1868 y Fv(p)n(ar)n(ameter-sp)n(e)n +(cializer-name)16 b Fw(::=)d Fv(symb)n(ol)g Ft(j)h Fs(\(eql)20 +b Fv(e)n(ql)p Fs(-)p Fv(sp)n(e)n(cializer)p Fs(-)p Fv(form)s +Fs(\))0 1963 y Fw(The)h(macro)f Fs(defgeneric)e Fw(is)j(used)h(to)e +(de\014ne)i(a)f(generic)g(function)g(or)g(to)f(sp)q(ecify)0 +2015 y(options)14 b(and)f(declarations)h(that)g(p)q(ertain)g(to)g(a)g +(generic)h(function)e(as)h(a)g(whole.)42 2068 y(If)h +Fs(\(fboundp)k Fv(function)p Fs(-)p Fv(name)s Fs(\))e +Fw(is)f Fs(nil)p Fw(,)f(a)g(new)h(generic)h(function)e(is)h(created.)25 +b(If)0 2120 y Fs(\(fdefinition)19 b Fv(function)p Fs(-)p +Fv(sp)n(e)n(ci\014er)t Fs(\))12 b Fw(is)g(a)f(generic)i(function,)e +(that)h(generic)h(function)0 2172 y(is)j(mo)q(di\014ed.)23 +b(If)16 b Fv(function-name/)h Fw(names)f(a)f(non-generic)i(function,)f +(a)g(macro,)f(or)h(a)0 2224 y(sp)q(ecial)e(form,)e(an)h(error)i(is)f +(signaled.)42 2277 y([X3J13)21 b(v)o(oted)h(in)g(Marc)o(h)g(1989)f +Ft(h)p Fw(89)p Ft(i)h Fw(to)g(use)h Fs(fdefinition)d +Fw(in)i(the)g(previous)0 2329 y(paragraph,)c(as)g(sho)o(wn,)h(rather)g +(than)f Fs(symbol-function)p Fw(,)e(as)i(it)f(app)q(eared)j(in)d(the) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 898 922 +898 921 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(898)77 b(COMMON)13 +b(LISP)0 295 y Fw(original)18 b(rep)q(ort)j(on)e(CLOS)h([5)o(,)h(7].)35 +b(The)20 b(v)o(ote)g(also)f(c)o(hanged)h(all)e(o)q(ccurrences)23 +b(of)0 347 y Fv(function-sp)n(e)n(ci\014er)17 b Fw(in)f(the)i(original) +d(rep)q(ort)j(to)f Fv(function-name)p Fw(;)h(this)f(c)o(hange)g(is)g +(re-)0 399 y(\015ected)e(here.|GLS])42 973 y(Eac)o(h)j +Fv(metho)n(d-description)k Fw(de\014nes)d(a)f(metho)q(d)g(on)g(the)h +(generic)g(function.)31 b(The)0 1025 y(lam)o(b)q(da-list)11 +b(of)i(eac)o(h)h(metho)q(d)f(m)o(ust)f(b)q(e)j(congruen)o(t)f(with)f +(the)h(lam)o(b)q(da-list)d(sp)q(eci\014ed)0 1077 y(b)o(y)h(the)g +Fv(lamb)n(da-list)j Fw(option.)h(If)c(this)g(condition)f(do)q(es)h(not) +g(hold,)f(an)g(error)i(is)f(signaled.)0 1128 y(See)j(section)f +(28.1.6.4)e(for)h(a)h(de\014nition)f(of)h(congruence)h(in)f(this)f(con) +o(text.)42 1703 y(The)h(macro)e Fs(defgeneric)g Fw(returns)k(the)e +(generic)h(function)f(ob)r(ject)g(as)g(its)g(result.)42 +2277 y(The)c Fv(function-name)h Fw(argumen)o(t)d(is)i(a)g(non-)p +Fs(nil)f Fw(sym)o(b)q(ol)f(or)i(a)f(list)h(of)f(the)i(form)d +Fs(\(setf)0 2329 y Fv(symb)n(ol)t Fs(\))p Fw(.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 899 923 +899 922 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(899)42 295 y Fw(The)14 b Fv(lamb)n(da-list)j +Fw(argumen)o(t)12 b(is)i(an)f(ordinary)h(function)f(lam)o(b)q(da-list)e +(with)j(the)g(fol-)0 347 y(lo)o(wing)e(exceptions:)0 +409 y Fu(.)42 418 y Fw(The)i(use)h(of)e Fs(&aux)g Fw(is)h(not)f(allo)o +(w)o(ed.)0 493 y Fu(.)42 502 y Fw(Optional)g(and)i(k)o(eyw)o(ord)f +(argumen)o(ts)g(ma)o(y)f(not)h(ha)o(v)o(e)g(default)h(initial)d(v)n +(alue)i(forms)42 554 y(nor)g(use)h(supplied-p)f(parameters.)k(The)d +(generic)g(function)f(passes)h(to)f(the)h(metho)q(d)42 +606 y(all)d(the)i(argumen)o(t)e(v)n(alues)h(passed)i(to)e(it,)g(and)g +(only)g(those;)h(default)f(v)n(alues)g(are)h(not)42 657 +y(supp)q(orted.)27 b(Note)17 b(that)g(optional)e(and)i(k)o(eyw)o(ord)g +(argumen)o(ts)f(in)g(metho)q(d)g(de\014ni-)42 709 y(tions,)d(ho)o(w)o +(ev)o(er,)h(can)g(ha)o(v)o(e)g(default)f(initial)f(v)n(alue)h(forms)g +(and)h(can)g(use)h(supplied-p)42 761 y(parameters.)42 +833 y(The)h(follo)o(wing)d(options)i(are)h(pro)o(vided.)23 +b(A)16 b(giv)o(en)f(option)g(ma)o(y)f(o)q(ccur)j(only)e(once,)0 +885 y(or)f(an)g(error)g(is)g(signaled.)0 947 y Fu(.)42 +956 y Fw(The)i Fs(:argument-precede)o(nce-o)o(rder)c +Fw(option)k(is)g(used)g(to)g(sp)q(ecify)h(the)f(order)h(in)42 +1008 y(whic)o(h)f(the)i(required)f(argumen)o(ts)g(in)f(a)g(call)g(to)h +(the)h(generic)f(function)g(are)g(tested)42 1060 y(for)10 +b(sp)q(eci\014cit)o(y)i(when)g(selecting)g(a)f(particular)g(metho)q(d.) +16 b(Eac)o(h)11 b(required)h(argumen)o(t,)42 1112 y(as)i(sp)q +(eci\014ed)i(in)e(the)h Fv(lamb)n(da-list)i Fw(argumen)o(t,)c(m)o(ust)h +(b)q(e)h(included)f(exactly)h(once)g(as)42 1164 y(a)j +Fv(p)n(ar)n(ameter-name)g Fw(so)h(that)f(the)i(full)d(and)h(unam)o +(biguous)f(precedence)22 b(order)d(is)42 1216 y(supplied.)f(If)13 +b(this)h(condition)f(is)h(not)g(met,)e(an)i(error)h(is)f(signaled.)0 +1290 y Fu(.)42 1299 y Fw(The)21 b Fs(declare)e Fw(option)h(is)g(used)i +(to)e(sp)q(ecify)h(declarations)g(that)g(p)q(ertain)g(to)f(the)42 +1351 y(generic)d(function.)26 b(The)17 b(follo)o(wing)c(standard)k +(Common)d(Lisp)i(declaration)g(is)h(al-)42 1403 y(lo)o(w)o(ed:)42 +1487 y({)j(An)d Fs(optimize)f Fw(declaration)h(sp)q(eci\014es)i +(whether)g(metho)q(d)d(selection)i(should)f(b)q(e)83 +1539 y(optimized)11 b(for)h(sp)q(eed)i(or)e(space,)i(but)e(it)g(has)h +(no)f(e\013ect)i(on)e(metho)q(ds.)17 b(T)m(o)12 b(con)o(trol)83 +1591 y(ho)o(w)19 b(a)h(metho)q(d)f(is)g(optimized,)g(an)h +Fs(optimize)e Fw(declaration)h(m)o(ust)g(b)q(e)h(placed)83 +1642 y(directly)13 b(in)f(the)h Fs(defmethod)d Fw(form)h(or)i(metho)q +(d)e(description.)19 b(The)12 b(optimization)83 1694 +y(qualities)j Fs(speed)f Fw(and)h Fs(space)g Fw(are)g(the)h(only)f +(qualities)g(this)g(standard)h(requires,)83 1746 y(but)f(an)g(implemen) +o(tation)d(can)j(extend)h(the)g(Common)c(Lisp)j(Ob)r(ject)h(System)f +(to)83 1798 y(recognize)20 b(other)f(qualities.)32 b(A)19 +b(simple)e(implemen)o(tation)f(that)j(has)g(only)f(one)83 +1850 y(metho)q(d)10 b(selection)h(tec)o(hnique)g(and)g(ignores)f(the)h +Fs(optimize)e Fw(declaration)h(is)h(v)n(alid.)42 1934 +y(The)f Fs(special)p Fw(,)e Fs(ftype)p Fw(,)h Fs(function)p +Fw(,)f Fs(inline)p Fw(,)h Fs(notinline)p Fw(,)f(and)i +Fs(declaration)d Fw(dec-)42 1986 y(larations)18 b(are)h(not)g(p)q +(ermitted.)33 b(Individual)17 b(implemen)o(tations)f(can)j(extend)h +(the)42 2037 y Fs(declare)15 b Fw(option)h(to)g(supp)q(ort)i +(additional)d(declarations.)26 b(If)17 b(an)f(implemen)o(tation)42 +2089 y(notices)g(a)f(declaration)g(that)h(it)f(do)q(es)i(not)e(supp)q +(ort)i(and)e(that)h(has)g(not)f(b)q(een)i(pro-)42 2141 +y(claimed)d(as)i(a)f(non-standard)i(declaration)e(name)g(in)g(a)h +Fs(declaration)e Fw(pro)q(clama-)42 2193 y(tion,)e(it)i(should)g(issue) +g(a)g(w)o(arning.)0 2268 y Fu(.)42 2277 y Fw(The)e Fs(:documentation)d +Fw(argumen)o(t)h(asso)q(ciates)j(a)f(do)q(cumen)o(tation)f(string)h +(with)f(the)42 2329 y(generic)22 b(function.)40 b(The)21 +b(do)q(cumen)o(tation)f(t)o(yp)q(e)i(for)f(this)g(string)h(is)f +Fs(function)p Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 900 924 +900 923 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(900)77 b(COMMON)13 +b(LISP)42 295 y Fw(The)18 b(form)e Fs(\(documentation)i +Fv(function)p Fs(-)p Fv(name/)867 299 y Fn(')891 295 +y Fs(function\))e Fw(ma)o(y)g(b)q(e)i(used)h(to)42 347 +y(retriev)o(e)c(this)f(string.)0 433 y Fu(.)42 442 y +Fw(The)19 b Fs(:generic-function-)o(clas)o(s)d Fw(option)j(ma)o(y)e(b)q +(e)i(used)h(to)f(sp)q(ecify)h(that)f(the)42 494 y(generic)f(function)f +(is)g(to)h(ha)o(v)o(e)f(a)g(di\013eren)o(t)i(class)f(than)f(the)h +(default)g(pro)o(vided)f(b)o(y)42 545 y(the)f(system)g(\(the)g(class)h +Fs(standard-generi)o(c-fun)o(ction)o Fw(\).)k(The)c Fv(class-name)i +Fw(ar-)42 597 y(gumen)o(t)14 b(is)i(the)g(name)e(of)h(a)h(class)g(that) +g(can)g(b)q(e)g(the)g(class)g(of)f(a)h(generic)g(function.)42 +649 y(If)e Fv(function-name)19 b Fw(sp)q(eci\014es)e(an)d(existing)h +(generic)h(function)e(that)h(has)g(a)g(di\013eren)o(t)42 +701 y(v)n(alue)j(for)i(the)g Fs(:generic-function)o(-clas)o(s)d +Fw(argumen)o(t)h(and)i(the)g(new)g(generic)42 753 y(function)12 +b(class)g(is)h(compatible)d(with)i(the)h(old,)f Fs(change-class)e +Fw(is)i(called)g(to)g(c)o(hange)42 805 y(the)i(class)g(of)g(the)g +(generic)h(function;)e(otherwise)i(an)e(error)i(is)f(signaled.)0 +891 y Fu(.)42 900 y Fw(The)21 b Fs(:method-class)d Fw(option)i(is)h +(used)h(to)e(sp)q(ecify)i(that)f(all)f(metho)q(ds)g(on)h(this)42 +952 y(generic)g(function)f(are)h(to)f(ha)o(v)o(e)g(a)h(di\013eren)o(t)g +(class)g(from)e(the)i(default)f(pro)o(vided)42 1004 y(b)o(y)15 +b(the)g(system)g(\(the)h(class)g Fs(standard-method)p +Fw(\).)j(The)d Fv(class-name)j Fw(argumen)o(t)14 b(is)42 +1056 y(the)g(name)f(of)g(a)h(class)g(that)g(is)g(capable)f(of)h(b)q +(eing)g(the)g(class)g(of)g(a)f(metho)q(d.)0 1142 y Fu(.)42 +1151 y Fw(The)18 b Fs(:method-combina)o(tion)c Fw(option)j(is)g(follo)o +(w)o(ed)f(b)o(y)i(a)f(sym)o(b)q(ol)f(that)h(names)g(a)42 +1203 y(t)o(yp)q(e)k(of)g(metho)q(d)f(com)o(bination.)37 +b(The)22 b(argumen)o(ts)e(\(if)h(an)o(y\))f(that)i(follo)o(w)d(that)42 +1254 y(sym)o(b)q(ol)c(dep)q(end)j(on)f(the)h(t)o(yp)q(e)f(of)g(metho)q +(d)f(com)o(bination.)25 b(Note)18 b(that)f(the)h(stan-)42 +1306 y(dard)13 b(metho)q(d)f(com)o(bination)e(t)o(yp)q(e)k(do)q(es)g +(not)e(supp)q(ort)i(an)o(y)f(argumen)o(ts.)k(Ho)o(w)o(ev)o(er,)42 +1358 y(all)i(t)o(yp)q(es)j(of)e(metho)q(d)f(com)o(bination)g(de\014ned) +i(b)o(y)g(the)g(short)g(form)e(of)h Fs(define-)42 1410 +y(method-combinat)o(ion)13 b Fw(accept)k(an)f(optional)e(argumen)o(t)h +(named)g Fv(or)n(der)t Fw(,)h(default-)42 1462 y(ing)j(to)i +Fs(:most-specific-fi)o(rst)p Fw(,)e(where)i(a)g(v)n(alue)f(of)g +Fs(:most-specific-l)o(ast)42 1514 y Fw(rev)o(erses)f(the)f(order)g(of)f +(the)h(primary)e(metho)q(ds)h(without)g(a\013ecting)g(the)h(order)g(of) +42 1566 y(the)c(auxiliary)e(metho)q(ds.)42 1650 y(The)j +Fv(metho)n(d-description)k Fw(argumen)o(ts)14 b(de\014ne)i(metho)q(ds)f +(that)g(will)f(b)q(e)i(asso)q(ciated)0 1701 y(with)j(the)g(generic)h +(function.)34 b(The)19 b Fv(metho)n(d-quali\014er)g Fw(and)g +Fv(sp)n(e)n(cialize)n(d-lamb)n(da-list)0 1753 y Fw(argumen)o(ts)13 +b(in)h(a)f(metho)q(d)g(description)i(are)f(the)h(same)e(as)g(for)h +Fs(defmethod)p Fw(.)42 1806 y(The)g Fv(form)i Fw(argumen)o(ts)d(sp)q +(ecify)h(the)g(metho)q(d)f(b)q(o)q(dy)m(.)18 b(The)c(b)q(o)q(dy)g(of)f +(the)h(metho)q(d)f(is)0 1858 y(enclosed)j(in)e(an)g(implicit)e(blo)q(c) +o(k.)20 b(If)15 b Fv(function-name)j Fw(is)d(a)f(sym)o(b)q(ol,)f(this)h +(blo)q(c)o(k)h(b)q(ears)0 1910 y(the)f(same)f(name)g(as)h(the)g +(generic)h(function.)i(If)d Fv(function-name)k Fw(is)13 +b(a)h(list)f(of)g(the)h(form)0 1962 y Fs(\(setf)20 b +Fv(symb)n(ol)t Fs(\))p Fw(,)13 b(the)i(name)e(of)g(the)h(blo)q(c)o(k)g +(is)g Fv(symb)n(ol)p Fw(.)42 2015 y(The)g(generic)h(function)e(ob)r +(ject)i(is)f(returned)h(as)f(the)h(result.)42 2068 y(The)g(e\013ect)h +(of)f(the)g Fs(defgeneric)e Fw(macro)h(is)g(as)h(if)g(the)g(follo)o +(wing)d(three)17 b(steps)f(w)o(ere)0 2120 y(p)q(erformed:)g(\014rst,)11 +b(metho)q(ds)f(de\014ned)i(b)o(y)e(previous)h Fs(defgeneric)d +Fw(forms)h(are)i(remo)o(v)o(ed;)0 2172 y(second,)g Fs +(ensure-generic-func)o(tion)6 b Fw(is)k(called;)g(and)g(\014nally)m(,)e +(metho)q(ds)i(sp)q(eci\014ed)h(b)o(y)0 2224 y(the)j(curren)o(t)i +Fs(defgeneric)c Fw(form)g(are)i(added)g(to)g(the)h(generic)f(function.) +42 2277 y(If)g(no)g(metho)q(d)g(descriptions)i(are)f(sp)q(eci\014ed)h +(and)f(a)f(generic)i(function)e(of)g(the)i(same)0 2329 +y(name)d(do)q(es)h(not)g(already)g(exist,)f(a)h(generic)h(function)e +(with)h(no)g(metho)q(ds)f(is)h(created.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 901 925 +901 924 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(901)42 295 y Fw(The)19 b Fv(lamb)n(da-list)j +Fw(argumen)o(t)c(of)h Fs(defgeneric)e Fw(sp)q(eci\014es)k(the)f(shap)q +(e)g(of)e(lam)o(b)q(da-)0 347 y(lists)e(for)f(the)i(metho)q(ds)e(on)g +(this)h(generic)h(function.)23 b(All)15 b(metho)q(ds)h(on)f(the)i +(resulting)0 399 y(generic)12 b(function)f(m)o(ust)f(ha)o(v)o(e)h(lam)o +(b)q(da-lists)e(that)i(are)g(congruen)o(t)h(with)f(this)g(shap)q(e.)18 +b(If)0 450 y(a)c Fs(defgeneric)f Fw(form)g(is)h(ev)n(aluated)g(and)h +(some)f(metho)q(ds)g(for)g(that)h(generic)g(function)0 +502 y(ha)o(v)o(e)g(lam)o(b)q(da-li)o(sts)e(that)i(are)g(not)f(congruen) +o(t)i(with)e(that)h(giv)o(en)f(in)h(the)g Fs(defgeneric)0 +554 y Fw(form,)k(an)g(error)h(is)f(signaled.)34 b(F)m(or)19 +b(further)i(details)e(on)g(metho)q(d)f(congruence,)k(see)0 +606 y(section)15 b(28.1.6.4.)42 658 y(Implemen)o(tatio)o(ns)i(can)i +(extend)h Fs(defgeneric)d Fw(to)i(include)h(other)f(options.)34 +b(It)19 b(is)0 710 y(required)c(that)f(an)g(implemen)o(tation)d(signal) +i(an)h(error)h(if)f(it)g(observ)o(es)h(an)f(option)g(that)0 +762 y(is)g(not)g(implem)o(en)o(ted)e(lo)q(cally)m(.)42 +814 y(See)h(section)g(28.1.6.4)c(as)k(w)o(ell)e(as)h +Fs(defmethod)p Fw(,)f Fs(ensure-generic-)o(funct)o(ion)p +Fw(,)e(and)0 866 y Fs(generic-function)p Fw(.)-33 964 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 992 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(define-method-com)o(binat)o(ion)32 b Fv(name)22 +b Fw([)-7 b([)7 b Ft(#)p Fv(short-form-option)g Fw(])-7 +b(])1255 1044 y([)p Fv(Macr)n(o)s Fw(])-1396 b Fs(define-method-com)o +(binat)o(ion)32 b Fv(name)15 b(lamb)n(da-list)566 1096 +y Fs(\()7 b Ft(f)p Fv(metho)n(d-gr)n(oup-sp)n(e)n(ci\014er)p +Ft(g)1039 1081 y Fl(\003)1064 1096 y Fs(\))573 1148 y +Fw([)p Fs(\(:arguments)12 b(.)j Fv(lamb)n(da-list)p Fs(\))p +Fw(])573 1200 y([)p Fs(\(:generic-funct)o(ion)d Fv(generic-fn-symb)n +(ol)p Fs(\))p Fw(])573 1252 y([)-7 b([)13 b Ft(f)p Fv(de)n(clar)n +(ation)p Ft(g)842 1236 y Fl(\003)882 1252 y Ft(j)h Fv(do)n(c-string)7 +b Fw(])-7 b(])573 1303 y Ft(f)7 b Fv(form)p Ft(g)708 +1288 y Fl(\003)0 1413 y Fv(short-form-option)16 b Fw(::=)e +Fs(:documentation)k Fv(string)380 1465 y Ft(j)c Fs(:identity-with-)o +(one-a)o(rgume)o(nt)k Fv(b)n(o)n(ole)n(an)380 1517 y +Ft(j)c Fs(:operator)19 b Fv(op)n(er)n(ator)0 1569 y(metho)n(d-gr)n +(oup-sp)n(e)n(ci\014er)f Fw(::=)c Fs(\()p Fv(variable)23 +b Ft(f)7 b(f)p Fv(quali\014er-p)n(attern)s Ft(g)1038 +1554 y Fk(+)1086 1569 y Ft(j)14 b Fv(pr)n(e)n(dic)n(ate)s +Ft(g)518 1621 y Fw([)-7 b([)7 b Ft(#)p Fv(long-form-option)i +Fw(])-7 b(])7 b Fs(\))0 1673 y Fv(long-form-option)17 +b Fw(::=)c Fs(:description)19 b Fv(format)p Fs(-)p Fv(string)364 +1725 y Ft(j)13 b Fs(:order)20 b Fv(or)n(der)364 1777 +y Ft(j)13 b Fs(:required)19 b Fv(b)n(o)n(ole)n(an)0 1862 +y Fw(The)24 b(macro)f Fs(define-method-comb)o(inati)o(on)e +Fw(is)j(used)g(to)g(de\014ne)h(new)g(t)o(yp)q(es)f(of)0 +1914 y(metho)q(d)13 b(com)o(bination.)42 1966 y(There)h(are)g(t)o(w)o +(o)f(forms)f(of)h Fs(define-method-comb)o(inati)o(on)p +Fw(.)i(The)f(short)g(form)e(is)h(a)0 2017 y(simple)g(facilit)o(y)h(for) +g(the)i(cases)g(that)f(are)g(exp)q(ected)i(to)e(b)q(e)g(most)f +(commonly)e(needed.)0 2069 y(The)j(long)e(form)g(is)h(more)g(p)q(o)o(w) +o(erful)g(but)h(more)e(v)o(erb)q(ose.)21 b(It)15 b(resem)o(bles)f +Fs(defmacro)f Fw(in)0 2121 y(that)f(the)g(b)q(o)q(dy)f(is)g(an)h +(expression,)g(usually)f(using)g(bac)o(kquote,)h(that)f(computes)h(a)f +(Lisp)0 2173 y(form.)19 b(Th)o(us)14 b(arbitrary)h(con)o(trol)f +(structures)k(can)c(b)q(e)i(implem)o(en)o(ted.)j(The)c(long)e(form)0 +2225 y(also)g(allo)o(ws)g(arbitrary)h(pro)q(cessing)h(of)e(metho)q(d)g +(quali\014ers.)42 2277 y(In)h(b)q(oth)h(the)h(short)f(and)g(long)f +(forms,)f Fv(name)18 b Fw(is)d(a)g(sym)o(b)q(ol.)k(By)c(con)o(v)o(en)o +(tion,)f(non-)0 2329 y(k)o(eyw)o(ord,)f(non-)p Fs(nil)g +Fw(sym)o(b)q(ols)g(are)h(usually)f(used.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 902 926 +902 925 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(902)77 b(COMMON)13 +b(LISP)42 295 y Fw(The)f(short-form)e(syn)o(tax)i(of)f +Fs(define-method-comb)o(inati)o(on)e Fw(is)i(recognized)i(when)0 +347 y(the)k(second)h(subform)d(is)h(a)g(non-)p Fs(nil)g +Fw(sym)o(b)q(ol)e(or)j(is)f(not)g(presen)o(t.)28 b(When)16 +b(the)h(short)0 399 y(form)11 b(is)i(used,)g Fv(name)j +Fw(is)d(de\014ned)h(as)e(a)h(t)o(yp)q(e)g(of)f(metho)q(d)g(com)o +(bination)e(that)j(pro)q(duces)0 450 y(a)d(Lisp)g(form)f +Fs(\()p Fv(op)n(er)n(ator)i(metho)n(d)p Fs(-)p Fv(c)n(al)r(l)g(metho)n +(d)p Fs(-)p Fv(c)n(al)r(l)g Fh(:)c(:)g(:)k Fs(\))p Fw(.)16 +b(The)11 b Fv(op)n(er)n(ator)j Fw(is)c(a)h(sym)o(b)q(ol)0 +502 y(that)i(can)f(b)q(e)i(the)f(name)e(of)h(a)h(function,)f(macro,)f +(or)h(sp)q(ecial)h(form.)j(The)d Fv(op)n(er)n(ator)k +Fw(can)0 554 y(b)q(e)e(sp)q(eci\014ed)g(b)o(y)f(a)f(k)o(eyw)o(ord)h +(option;)f(it)g(defaults)h(to)g Fv(name)p Fw(.)42 606 +y(Keyw)o(ord)g(options)f(for)h(the)g(short)h(form)d(are)i(the)h(follo)o +(wing:)0 671 y Fu(.)42 680 y Fw(The)e Fs(:documentation)e +Fw(option)h(is)i(used)g(to)f(do)q(cumen)o(t)g(the)h(metho)q(d-com)o +(bination)42 732 y(t)o(yp)q(e.)0 809 y Fu(.)42 818 y +Fw(The)f Fs(:identity-with-one-)o(argum)o(ent)d Fw(option)j(enables)h +(an)f(optimization)d(when)42 870 y Fv(b)n(o)n(ole)n(an)24 +b Fw(is)c(true)h(\(the)g(default)f(is)h(false\).)37 b(If)20 +b(there)i(is)e(exactly)h(one)g(applicable)42 922 y(metho)q(d)c(and)h +(it)g(is)g(a)g(primary)e(metho)q(d,)i(that)g(metho)q(d)g(serv)o(es)h +(as)g(the)f(e\013ectiv)o(e)42 974 y(metho)q(d)d(and)i +Fv(op)n(er)n(ator)k Fw(is)16 b(not)h(called.)26 b(This)17 +b(optimization)d(a)o(v)o(oids)i(the)h(need)h(to)42 1026 +y(create)f(a)f(new)h(e\013ectiv)o(e)h(metho)q(d)d(and)h(a)o(v)o(oids)g +(the)h(o)o(v)o(erhead)f(of)g(a)g(function)g(call.)42 +1078 y(This)g(option)g(is)g(designed)h(to)g(b)q(e)g(used)g(with)f(op)q +(erators)i(suc)o(h)f(as)g Fs(progn)p Fw(,)e Fs(and)p +Fw(,)h Fs(+)p Fw(,)42 1130 y(and)d Fs(max)p Fw(.)0 1207 +y Fu(.)42 1215 y Fw(The)18 b Fs(:operator)e Fw(option)h(sp)q(eci\014es) +j(the)f(name)e(of)g(the)i(op)q(erator.)31 b(The)18 b +Fv(op)n(er)n(ator)42 1267 y Fw(argumen)o(t)11 b(is)h(a)g(sym)o(b)q(ol)f +(that)h(can)h(b)q(e)g(the)g(name)e(of)h(a)g(function,)g(macro,)f(or)h +(sp)q(ecial)42 1319 y(form.)17 b(By)d(con)o(v)o(en)o(tion,)f +Fv(name)18 b Fw(and)c Fv(op)n(er)n(ator)k Fw(are)d(often)f(the)h(same)e +(sym)o(b)q(ol.)k(This)42 1371 y(is)c(the)i(default,)e(but)h(it)f(is)h +(not)g(required.)42 1445 y(None)g(of)f(the)i(subforms)e(is)g(ev)n +(aluated.)42 1497 y(These)27 b(t)o(yp)q(es)g(of)f(metho)q(d)f(com)o +(bination)f(require)j(exactly)f(one)g(quali\014er)g(p)q(er)0 +1549 y(metho)q(d.)16 b(An)11 b(error)h(is)e(signaled)h(if)e(there)k +(are)e(applicable)f(metho)q(ds)g(with)g(no)h(quali\014ers)0 +1601 y(or)j(with)f(quali\014ers)h(that)g(are)g(not)g(supp)q(orted)h(b)o +(y)f(the)h(metho)q(d)e(com)o(bination)e(t)o(yp)q(e.)42 +1653 y(A)k(metho)q(d)f(com)o(bination)f(pro)q(cedure)k(de\014ned)f(in)f +(this)g(w)o(a)o(y)g(recognizes)i(t)o(w)o(o)d(roles)0 +1705 y(for)e(metho)q(ds.)17 b(A)c(metho)q(d)e(whose)i(one)g +(quali\014er)f(is)g(the)h(sym)o(b)q(ol)e(naming)f(this)i(t)o(yp)q(e)h +(of)0 1757 y(metho)q(d)e(com)o(bination)f(is)h(de\014ned)i(to)f(b)q(e)h +(a)e(primary)g(metho)q(d.)16 b(A)o(t)c(least)g(one)g(primary)0 +1809 y(metho)q(d)e(m)o(ust)h(b)q(e)g(applicable)g(or)g(an)g(error)h(is) +f(signaled.)16 b(A)c(metho)q(d)e(with)h Fs(:around)f +Fw(as)0 1861 y(its)k(one)f(quali\014er)g(is)h(an)f(auxiliary)f(metho)q +(d)g(that)i(b)q(eha)o(v)o(es)g(the)h(same)d(as)i(an)f +Fs(:around)0 1913 y Fw(metho)q(d)i(in)h(standard)h(metho)q(d)f(com)o +(bination.)22 b(The)17 b(function)f Fs(call-next-method)0 +1965 y Fw(can)e(b)q(e)g(used)g(only)e(in)h Fs(:around)f +Fw(metho)q(ds;)h(it)g(cannot)g(b)q(e)h(used)h(in)d(primary)g(metho)q +(ds)0 2017 y(de\014ned)j(b)o(y)f(the)g(short)h(form)d(of)h(the)h +Fs(define-method-combin)o(atio)o(n)d Fw(macro.)42 2069 +y(A)16 b(metho)q(d)f(com)o(bination)e(pro)q(cedure)18 +b(de\014ned)f(in)f(this)g(w)o(a)o(y)f(accepts)i(an)f(optional)0 +2121 y(argumen)o(t)f(named)h Fv(or)n(der)p Fw(,)g(whic)o(h)g(defaults)g +(to)g Fs(:most-specific-first)o Fw(.)23 b(A)16 b(v)n(alue)0 +2173 y(of)d Fs(:most-specific-las)o(t)e Fw(rev)o(erses)16 +b(the)f(order)f(of)f(the)i(primary)d(metho)q(ds)h(without)0 +2225 y(a\013ecting)h(the)h(order)f(of)g(the)g(auxiliary)e(metho)q(ds.) +42 2277 y(The)24 b(short)g(form)e(automatically)f(includes)j(error)h(c) +o(hec)o(king)f(and)f(supp)q(ort)i(for)0 2329 y Fs(:around)12 +b Fw(metho)q(ds.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 903 927 +903 926 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(903)42 295 y Fw(F)m(or)12 b(a)h(discussion)g(of)f +(built-in)g(metho)q(d)g(com)o(bination)f(t)o(yp)q(es,)i(see)h(section)g +(28.1.7.4.)42 394 y(The)g(long-form)d(syn)o(tax)j(of)g +Fs(define-method-com)o(binat)o(ion)d Fw(is)j(recognized)h(when)0 +446 y(the)f(second)h(subform)e(is)h(a)f(list.)42 500 +y(The)k Fv(lamb)n(da-list)k Fw(argumen)o(t)16 b(is)i(an)f(ordinary)g +(lam)o(b)q(da-list.)26 b(It)18 b(receiv)o(es)h(an)o(y)e(ar-)0 +552 y(gumen)o(ts)j(pro)o(vided)g(after)h(the)g(name)e(of)h(the)h(metho) +q(d)f(com)o(bination)e(t)o(yp)q(e)j(in)f(the)0 604 y +Fs(:method-combinati)o(on)11 b Fw(option)i(to)h Fs(defgeneric)p +Fw(.)42 658 y(A)j(list)h(of)f(metho)q(d)g(group)h(sp)q(eci\014ers)i +(follo)o(ws.)28 b(Eac)o(h)19 b(sp)q(eci\014er)g(selects)h(a)d(subset)0 +710 y(of)d(the)i(applicable)e(metho)q(ds)g(to)h(pla)o(y)e(a)i +(particular)g(role,)f(either)i(b)o(y)e(matc)o(hing)f(their)0 +762 y(quali\014ers)f(against)f(some)g(patterns)i(or)f(b)o(y)g(testing)h +(their)f(quali\014ers)g(with)f(a)h(predicate.)0 814 y(These)17 +b(metho)q(d)e(group)g(sp)q(eci\014ers)j(de\014ne)f(all)d(metho)q(d)h +(quali\014ers)h(that)g(can)g(b)q(e)g(used)0 866 y(with)e(this)g(t)o(yp) +q(e)h(of)f(metho)q(d)f(com)o(bination.)k(If)c(an)h(applicable)g(metho)q +(d)f(do)q(es)i(not)f(fall)0 918 y(in)o(to)c(an)o(y)g(metho)q(d)h +(group,)f(the)i(system)e(signals)h(the)g(error)h(that)f(the)g(metho)q +(d)f(is)h(in)o(v)n(alid)0 970 y(for)j(the)g(kind)f(of)h(metho)q(d)f +(com)o(bination)e(in)j(use.)42 1024 y(Eac)o(h)e(metho)q(d)g(group)g(sp) +q(eci\014er)i(names)e(a)g(v)n(ariable.)k(During)c(the)h(execution)g(of) +f(the)0 1076 y(forms)g(in)h(the)h(b)q(o)q(dy)f(of)g Fs +(define-method-com)o(binat)o(ion)p Fw(,)d(this)j(v)n(ariable)f(is)h(b)q +(ound)h(to)0 1128 y(a)g(list)f(of)h(the)g(metho)q(ds)g(in)f(the)i +(metho)q(d)e(group.)18 b(The)d(metho)q(ds)e(in)h(this)g(list)f(o)q +(ccur)i(in)0 1180 y(most-sp)q(eci\014c-\014rst)g(order.)42 +1234 y(A)h(quali\014er)g(pattern)i(is)e(a)h(list)f(or)h(the)g(sym)o(b)q +(ol)e Fs(*)p Fw(.)26 b(A)17 b(metho)q(d)e(matc)o(hes)i(a)f(quali-)0 +1286 y(\014er)g(pattern)f(if)f(the)i(metho)q(d's)e(list)g(of)g +(quali\014ers)h(is)g Fs(equal)e Fw(to)i(the)h(quali\014er)e(pattern)0 +1338 y(\(except)j(that)f(the)h(sym)o(b)q(ol)c Fs(*)j +Fw(in)f(a)h(quali\014er)f(pattern)i(matc)o(hes)e(an)o(ything\).)23 +b(Th)o(us)16 b(a)0 1390 y(quali\014er)11 b(pattern)h(can)f(b)q(e)h(one) +f(of)f(the)i(follo)o(wing:)i(the)e(empt)o(y)e(list)g +Fs(\(\))p Fw(,)h(whic)o(h)g(matc)o(hes)0 1442 y(unquali\014ed)16 +b(metho)q(ds;)i(the)f(sym)o(b)q(ol)e Fs(*)p Fw(,)i(whic)o(h)g(matc)o +(hes)f(all)g(metho)q(ds;)h(a)g(true)h(list,)0 1494 y(whic)o(h)d(matc)o +(hes)h(metho)q(ds)f(with)g(the)h(same)f(n)o(um)o(b)q(er)g(of)g +(quali\014ers)g(as)h(the)g(length)f(of)0 1545 y(the)f(list)g(when)g +(eac)o(h)g(quali\014er)g(matc)o(hes)f(the)i(corresp)q(onding)f(list)g +(elemen)o(t;)f(or)g(a)h(dot-)0 1597 y(ted)j(list)e(that)h(ends)h(in)e +(the)i(sym)o(b)q(ol)d Fs(*)i Fw(\(the)g Fs(*)g Fw(matc)o(hes)g(an)o(y)f +(n)o(um)o(b)q(er)g(of)h(additional)0 1649 y(quali\014ers\).)42 +1704 y(Eac)o(h)f(applicable)f(metho)q(d)h(is)g(tested)h(against)f(the)h +(quali\014er)e(patterns)j(and)e(predi-)0 1756 y(cates)f(in)f +(left-to-righ)o(t)f(order.)18 b(As)c(so)q(on)f(as)g(a)g(quali\014er)g +(pattern)h(matc)o(hes)f(or)g(a)g(predi-)0 1807 y(cate)e(returns)h +(true,)f(the)g(metho)q(d)e(b)q(ecomes)i(a)e(mem)o(b)q(er)g(of)h(the)g +(corresp)q(onding)i(metho)q(d)0 1859 y(group)g(and)h(no)f(further)i +(tests)g(are)f(made.)j(Th)o(us)d(if)f(a)g(metho)q(d)g(could)h(b)q(e)g +(a)f(mem)o(b)q(er)f(of)0 1911 y(more)i(than)i(one)f(metho)q(d)g(group,) +g(it)g(joins)g(only)f(the)i(\014rst)h(suc)o(h)f(group.)k(If)14 +b(a)h(metho)q(d)0 1963 y(group)e(has)h(more)e(than)i(one)f(quali\014er) +g(pattern,)h(a)f(metho)q(d)g(need)h(only)f(satisfy)g(one)g(of)0 +2015 y(the)h(quali\014er)g(patterns)h(to)f(b)q(e)g(a)g(mem)o(b)q(er)e +(of)h(the)i(group.)42 2069 y(The)g(name)g(of)g(a)g(predicate)i +(function)e(can)h(app)q(ear)g(instead)g(of)e(quali\014er)i(patterns)0 +2121 y(in)c(a)g(metho)q(d)g(group)g(sp)q(eci\014er.)20 +b(The)13 b(predicate)g(is)g(called)f(for)g(eac)o(h)h(metho)q(d)f(that)h +(has)0 2173 y(not)g(b)q(een)h(assigned)f(to)g(an)g(earlier)g(metho)q(d) +f(group;)h(it)f(is)h(called)g(with)f(one)h(argumen)o(t,)0 +2225 y(the)h(metho)q(d's)f(quali\014er)g(list.)18 b(The)c(predicate)h +(should)e(return)i(true)g(if)e(the)h(metho)q(d)f(is)0 +2277 y(to)g(b)q(e)i(a)e(mem)o(b)q(er)f(of)h(the)h(metho)q(d)f(group.)18 +b(A)13 b(predicate)i(can)f(b)q(e)g(distinguished)f(from)0 +2329 y(a)h(quali\014er)f(pattern)i(b)q(ecause)g(it)f(is)g(a)f(sym)o(b)q +(ol)f(other)j(than)f Fs(nil)f Fw(or)h Fs(*)p Fw(.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 904 928 +904 927 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(904)77 b(COMMON)13 +b(LISP)42 295 y Fw(If)c(there)i(is)e(an)g(applicable)g(metho)q(d)g +(whose)h(quali\014ers)g(are)g(not)f(v)n(alid)f(for)h(the)i(metho)q(d)0 +347 y(com)o(bination)g(t)o(yp)q(e,)j(the)h(function)e +Fs(invalid-method-erro)o(r)e Fw(is)j(called.)42 400 y(Metho)q(d)j +(group)g(sp)q(eci\014ers)j(can)d(ha)o(v)o(e)g(k)o(eyw)o(ord)g(options)g +(follo)o(wing)d(the)k(quali\014er)0 452 y(patterns)d(or)e(predicate.)20 +b(Keyw)o(ord)14 b(options)f(can)h(b)q(e)g(distinguished)g(from)e +(additional)0 504 y(quali\014er)d(patterns)i(b)q(ecause)h(they)e(are)g +(neither)h(lists)e(nor)h(the)g(sym)o(b)q(ol)e Fs(*)p +Fw(.)17 b(The)10 b(k)o(eyw)o(ord)0 555 y(options)k(are:)0 +640 y Fu(.)42 649 y Fw(The)k Fs(:description)d Fw(option)i(is)h(used)h +(to)f(pro)o(vide)f(a)h(description)h(of)e(the)h(role)g(of)42 +701 y(metho)q(ds)10 b(in)h(the)h(metho)q(d)e(group.)17 +b(Programming)8 b(en)o(vironmen)o(t)i(to)q(ols)h(use)h +Fs(\(apply)42 753 y(#)42 749 y(-)42 757 y(-)m Fn(')84 +753 y Fs(format)20 b(stream)g Fv(format)p Fs(-)p Fv(string)k +Fs(\(method-qualifie)o(rs)18 b Fv(metho)n(d)t Fs(\)\))11 +b Fw(to)f(prin)o(t)42 804 y(this)15 b(description,)g(whic)o(h)g(is)g +(exp)q(ected)j(to)d(b)q(e)g(concise.)23 b(This)15 b(k)o(eyw)o(ord)g +(option)g(al-)42 856 y(lo)o(ws)c(the)i(description)g(of)e(a)h(metho)q +(d)g(quali\014er)f(to)h(b)q(e)h(de\014ned)g(in)f(the)h(same)e(mo)q +(dule)42 908 y(that)16 b(de\014nes)j(the)e(meaning)e(of)h(the)h(metho)q +(d)f(quali\014er.)27 b(In)17 b(most)e(cases,)k Fv(format-)42 +960 y(string)i Fw(will)d(not)g(con)o(tain)h(an)o(y)f +Fs(format)g Fw(directiv)o(es,)i(but)f(they)g(are)h(a)o(v)n(ailable)c +(for)42 1012 y(generalit)o(y)m(.)h(If)c Fs(:description)e +Fw(is)j(not)f(sp)q(eci\014ed,)i(a)f(default)f(description)h(is)g +(gener-)42 1064 y(ated)f(based)h(on)e(the)i(v)n(ariable)e(name)g(and)g +(the)i(quali\014er)f(patterns)h(and)f(on)f(whether)42 +1116 y(this)e(metho)q(d)f(group)h(includes)h(the)g(unquali\014ed)e +(metho)q(ds.)17 b(The)10 b(argumen)o(t)g Fv(format-)42 +1168 y(string)16 b Fw(is)e(not)g(ev)n(aluated.)0 1255 +y Fu(.)42 1264 y Fw(The)e Fs(:order)e Fw(option)h(sp)q(eci\014es)j(the) +e(order)h(of)e(metho)q(ds.)17 b(The)12 b Fv(or)n(der)k +Fw(argumen)o(t)10 b(is)i(a)42 1316 y(form)h(that)j(ev)n(aluates)f(to)h +Fs(:most-specific-)o(first)c Fw(or)j Fs(:most-specific-las)o(t)p +Fw(.)42 1368 y(If)d(it)g(ev)n(aluates)h(to)f(an)o(y)g(other)h(v)n +(alue,)f(an)g(error)i(is)e(signaled.)17 b(This)c(k)o(eyw)o(ord)f +(option)42 1420 y(is)j(a)g(con)o(v)o(enience)h(and)g(do)q(es)g(not)f +(add)g(an)o(y)g(expressiv)o(e)i(p)q(o)o(w)o(er.)23 b(If)15 +b Fs(:order)f Fw(is)h(not)42 1472 y(sp)q(eci\014ed,)f(it)g(defaults)g +(to)g Fs(:most-specific-f)o(irst)o Fw(.)0 1560 y Fu(.)42 +1569 y Fw(The)d Fs(:required)e Fw(option)h(sp)q(eci\014es)j(whether)f +(at)f(least)g(one)g(metho)q(d)f(in)h(this)g(metho)q(d)42 +1621 y(group)19 b(is)h(required.)37 b(If)20 b(the)g Fv(b)n(o)n(ole)n +(an)k Fw(argumen)o(t)19 b(is)g(non-)p Fs(nil)g Fw(and)h(the)h(metho)q +(d)42 1672 y(group)11 b(is)h(empt)o(y)f(\(that)h(is,)g(no)f(applicable) +g(metho)q(ds)h(matc)o(h)f(the)h(quali\014er)g(patterns)42 +1724 y(or)18 b(satisfy)g(the)h(predicate\),)i(an)d(error)i(is)e +(signaled.)32 b(This)18 b(k)o(eyw)o(ord)h(option)f(is)g(a)42 +1776 y(con)o(v)o(enience)f(and)f(do)q(es)i(not)e(add)g(an)o(y)g +(expressiv)o(e)i(p)q(o)o(w)o(er.)26 b(If)16 b Fs(:required)f +Fw(is)h(not)42 1828 y(sp)q(eci\014ed,)e(it)g(defaults)g(to)g +Fs(nil)p Fw(.)j(The)d Fv(b)n(o)n(ole)n(an)k Fw(argumen)o(t)13 +b(is)g(not)h(ev)n(aluated.)42 1914 y(The)h(use)i(of)d(metho)q(d)h +(group)g(sp)q(eci\014ers)i(pro)o(vides)f(a)f(con)o(v)o(enien)o(t)h(syn) +o(tax)f(to)g(select)0 1966 y(metho)q(ds,)h(to)g(divide)g(them)g(among)e +(the)j(p)q(ossible)g(roles,)g(and)f(to)g(p)q(erform)g(the)h(nec-)0 +2017 y(essary)h(error)g(c)o(hec)o(king.)27 b(It)17 b(is)g(p)q(ossible)g +(to)g(p)q(erform)f(further)i(\014ltering)f(of)f(metho)q(ds)0 +2069 y(in)g(the)i(b)q(o)q(dy)f(forms)f(b)o(y)g(using)h(normal)e +(list-pro)q(cessing)i(op)q(erations)g(and)g(the)h(func-)0 +2121 y(tions)e Fs(method-qualifiers)d Fw(and)j Fs(invalid-method-err)o +(or)p Fw(.)22 b(It)17 b(is)f(p)q(ermissible)g(to)0 2173 +y(use)f Fs(setq)f Fw(on)g(the)i(v)n(ariables)e(named)f(in)h(the)h +(metho)q(d)f(group)h(sp)q(eci\014ers)h(and)f(to)f(bind)0 +2225 y(additional)i(v)n(ariables.)31 b(It)18 b(is)g(also)g(p)q(ossible) +g(to)g(b)o(ypass)h(the)f(metho)q(d)g(group)g(sp)q(eci-)0 +2277 y(\014er)13 b(mec)o(hanism)c(and)j(do)g(ev)o(erything)g(in)f(the)i +(b)q(o)q(dy)f(forms.)k(This)11 b(is)h(accomplished)f(b)o(y)0 +2329 y(writing)g(a)g(single)g(metho)q(d)g(group)g(with)g +Fs(*)g Fw(as)h(its)f(only)g(quali\014er)g(pattern;)i(the)f(v)n(ariable) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 905 929 +905 928 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(905)0 295 y Fw(is)15 b(then)g(b)q(ound)g(to)f(a)h(list)f +(of)g(all)f(of)i(the)g(applicable)f(metho)q(ds,)g(in)g(most-sp)q +(eci\014c-\014rst)0 347 y(order.)42 400 y(The)h(b)q(o)q(dy)g +Fv(forms)i Fw(compute)e(and)f(return)j(the)e(Lisp)g(form)e(that)i(sp)q +(eci\014es)i(ho)o(w)d(the)0 452 y(metho)q(ds)i(are)h(com)o(bined,)f +(that)h(is,)g(the)g(e\013ectiv)o(e)h(metho)q(d.)26 b(The)17 +b(e\013ectiv)o(e)i(metho)q(d)0 504 y(uses)d(the)g(macro)e +Fs(call-method)p Fw(.)20 b(The)c(de\014nition)f(of)f(this)i(macro)e +(has)h(lexical)g(scop)q(e)0 556 y(and)g(is)f(a)o(v)n(ailable)f(only)h +(in)g(an)g(e\013ectiv)o(e)j(metho)q(d)c(form.)19 b(Giv)o(en)14 +b(a)h(metho)q(d)f(ob)r(ject)h(in)0 608 y(one)i(of)g(the)h(lists)f(pro)q +(duced)h(b)o(y)f(the)h(metho)q(d)f(group)g(sp)q(eci\014ers)i(and)e(a)g +(list)g(of)f(next)0 660 y(metho)q(ds,)11 b(the)h(macro)f +Fs(call-method)e Fw(will)h(in)o(v)o(ok)o(e)h(the)i(metho)q(d)d(so)i +(that)g Fs(call-next-)0 712 y(method)h Fw(will)f(ha)o(v)o(e)i(a)o(v)n +(ailable)d(the)k(next)f(metho)q(ds.)42 765 y(When)f(an)g(e\013ectiv)o +(e)h(metho)q(d)f(has)g(no)g(e\013ect)i(other)f(than)f(to)g(call)f(a)h +(single)g(metho)q(d,)0 817 y(some)d(implemen)o(tations)e(emplo)o(y)h +(an)i(optimization)d(that)j(uses)h(the)g(single)e(metho)q(d)g(di-)0 +869 y(rectly)i(as)g(the)g(e\013ectiv)o(e)h(metho)q(d,)d(th)o(us)i(a)o +(v)o(oiding)e(the)i(need)g(to)f(create)i(a)e(new)h(e\013ectiv)o(e)0 +921 y(metho)q(d.)17 b(This)d(optimization)d(is)j(activ)o(e)g(when)h +(the)f(e\013ectiv)o(e)h(metho)q(d)f(form)e(consists)0 +973 y(en)o(tirely)18 b(of)g(an)f(in)o(v)o(o)q(cation)g(of)h(the)g +Fs(call-method)e Fw(macro)h(whose)h(\014rst)h(subform)e(is)0 +1025 y(a)g(metho)q(d)f(ob)r(ject)i(and)f(whose)h(second)h(subform)d(is) +h Fs(nil)p Fw(.)27 b(Eac)o(h)18 b Fs(define-method-)0 +1077 y(combination)d Fw(b)q(o)q(dy)j(is)f(resp)q(onsible)i(for)e +(stripping)g(o\013)g(redundan)o(t)i(in)o(v)o(o)q(cations)d(of)0 +1128 y Fs(progn)p Fw(,)e Fs(and)p Fw(,)f Fs(multiple-value-prog1)o +Fw(,)f(and)j(the)g(lik)o(e,)f(if)g(this)h(optimization)d(is)i(de-)0 +1180 y(sired.)42 1234 y(The)e(list)g Fs(\(:arguments)19 +b(.)i Fv(lamb)n(da)p Fs(-)p Fv(list)t Fs(\))10 b Fw(can)j(app)q(ear)f +(b)q(efore)h(an)o(y)f(declaration)g(or)0 1286 y(do)q(cumen)o(tation)e +(string.)17 b(This)12 b(form)d(is)i(useful)h(when)g(the)g(metho)q(d)e +(com)o(bination)f(t)o(yp)q(e)0 1338 y(p)q(erforms)j(some)f(sp)q +(eci\014c)j(b)q(eha)o(vior)e(as)g(part)g(of)g(the)h(com)o(bined)e +(metho)q(d)g(and)h(that)g(b)q(e-)0 1390 y(ha)o(vior)f(needs)i(access)g +(to)f(the)g(argumen)o(ts)f(to)h(the)g(generic)h(function.)k(Eac)o(h)12 +b(parameter)0 1441 y(v)n(ariable)d(de\014ned)j(b)o(y)e +Fv(lamb)n(da-list)k Fw(is)c(b)q(ound)g(to)h(a)f(form)e(that)j(can)g(b)q +(e)g(inserted)g(in)o(to)f(the)0 1493 y(e\013ectiv)o(e)16 +b(metho)q(d.)k(When)15 b(this)f(form)f(is)i(ev)n(aluated)f(during)h +(execution)g(of)f(the)h(e\013ec-)0 1545 y(tiv)o(e)e(metho)q(d,)g(its)g +(v)n(alue)g(is)h(the)g(corresp)q(onding)h(argumen)o(t)d(to)i(the)g +(generic)g(function.)0 1597 y(If)c Fv(lamb)n(da-list)k +Fw(is)d(not)f(congruen)o(t)i(to)e(the)i(generic)f(function's)g(lam)o(b) +q(da-li)o(st,)e(additional)0 1649 y(ignored)j(parameters)g(are)g +(automatically)d(inserted)k(un)o(til)e(it)g(is)h(congruen)o(t.)18 +b(Th)o(us)12 b(it)g(is)0 1701 y(p)q(ermissible)i(for)h +Fv(lamb)n(da-list)j Fw(to)c(receiv)o(e)j(few)o(er)e(argumen)o(ts)f +(than)h(the)h(n)o(um)o(b)q(er)e(that)0 1753 y(the)g(generic)h(function) +f(exp)q(ects.)42 1806 y(Erroneous)c(conditions)f(detected)j(b)o(y)d +(the)h(b)q(o)q(dy)f(should)g(b)q(e)h(rep)q(orted)h(with)e +Fs(method-)0 1858 y(combination-error)e Fw(or)k Fs(invalid-method-err)o +(or)p Fw(;)d(these)13 b(functions)e(add)g(an)o(y)f(nec-)0 +1910 y(essary)k(con)o(textual)g(information)c(to)j(the)h(error)g +(message)f(and)g(will)f(signal)g(the)i(appro-)0 1962 +y(priate)g(error.)42 2016 y(The)h(b)q(o)q(dy)g Fv(forms)i +Fw(are)f(ev)n(aluated)e(inside)h(the)g(bindings)g(created)h(b)o(y)f +(the)g(lam)o(b)q(da-)0 2068 y(list)h(and)h(metho)q(d)f(group)h(sp)q +(eci\014ers.)29 b(Declarations)17 b(at)g(the)g(head)g(of)g(the)g(b)q(o) +q(dy)g(are)0 2119 y(p)q(ositioned)12 b(directly)h(inside)g(bindings)f +(created)i(b)o(y)e(the)h(lam)o(b)q(da-list)d(and)i(outside)h(the)0 +2171 y(bindings)f(of)f(the)i(metho)q(d)e(group)h(v)n(ariables.)17 +b(Th)o(us)c(metho)q(d)e(group)h(v)n(ariables)g(cannot)0 +2223 y(b)q(e)j(declared.)42 2277 y(Within)i(the)i(b)q(o)q(dy)g +Fv(forms)s Fw(,)g Fv(generic-function-symb)n(ol)f Fw(is)h(b)q(ound)f +(to)h(the)g(generic)0 2329 y(function)14 b(ob)r(ject.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 906 930 +906 929 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(906)77 b(COMMON)13 +b(LISP)42 295 y Fw(If)h(a)i Fv(do)n(c-string)i Fw(argumen)o(t)c(is)i +(presen)o(t,)g(it)f(pro)o(vides)h(the)g(do)q(cumen)o(tation)e(for)h +(the)0 347 y(metho)q(d)e(com)o(bination)e(t)o(yp)q(e.)42 +1052 y(The)23 b(functions)g Fs(method-combinat)o(ion-e)o(rror)c +Fw(and)k Fs(invalid-method-er)o(ror)0 1104 y Fw(can)11 +b(b)q(e)g(called)f(from)f(the)i(b)q(o)q(dy)g Fv(forms)i +Fw(or)e(from)d(functions)j(called)f(b)o(y)h(the)g(b)q(o)q(dy)f +Fv(forms)s Fw(.)0 1156 y(The)k(actions)f(of)g(these)i(t)o(w)o(o)e +(functions)h(can)g(dep)q(end)g(on)g(implem)o(en)o(tation-dep)q(enden)o +(t)0 1208 y(dynamic)d(v)n(ariables)h(automatically)e(b)q(ound)j(b)q +(efore)h(the)f(generic)h(function)e Fs(compute-)0 1260 +y(effective-method)f Fw(is)i(called.)42 1966 y(Note)h(that)g(t)o(w)o(o) +g(metho)q(ds)f(with)h(iden)o(tical)g(sp)q(ecializers,)h(but)f(with)g +(di\013eren)o(t)h(qual-)0 2017 y(i\014ers,)20 b(are)f(not)f(ordered)i +(b)o(y)e(the)h(algorithm)d(describ)q(ed)21 b(in)d(step)h(2)f(of)g(the)i +(metho)q(d)0 2069 y(selection)c(and)g(com)o(bination)c(pro)q(cess)18 +b(describ)q(ed)f(in)e(section)h(28.1.7.)21 b(Normally)13 +b(the)0 2121 y(t)o(w)o(o)k(metho)q(ds)g(pla)o(y)f(di\013eren)o(t)i +(roles)g(in)f(the)h(e\013ectiv)o(e)h(metho)q(d)d(b)q(ecause)j(they)f +(ha)o(v)o(e)0 2173 y(di\013eren)o(t)13 b(quali\014ers,)f(and)g(no)g +(matter)g(ho)o(w)g(they)g(are)h(ordered)h(in)d(the)i(result)g(of)f +(step)h(2)0 2225 y(the)i(e\013ectiv)o(e)h(metho)q(d)d(is)h(the)h(same.) +j(If)c(the)h(t)o(w)o(o)f(metho)q(ds)g(pla)o(y)f(the)i(same)f(role)g +(and)0 2277 y(their)f(order)g(matters,)f(an)g(error)h(is)g(signaled.)k +(This)12 b(happ)q(ens)h(as)g(part)f(of)g(the)h(quali\014er)0 +2329 y(pattern)i(matc)o(hing)d(in)h Fs(define-method-comb)o(inati)o(on) +p Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 907 931 +907 930 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(907)42 295 y Fw(The)13 b(v)n(alue)g(returned)i(b)o(y)e +(the)h Fs(define-method-com)o(binat)o(ion)c Fw(macro)i(is)h(the)h(new)0 +347 y(metho)q(d)f(com)o(bination)e(ob)r(ject.)42 400 +y(Most)18 b(examples)f(of)g(the)h(long)f(form)g(of)g +Fs(define-method-com)o(binat)o(ion)e Fw(also)i(il-)0 +452 y(lustrate)k(the)g(use)h(of)e(the)h(related)g(functions)g(that)f +(are)h(pro)o(vided)g(as)f(part)h(of)f(the)0 504 y(declarativ)o(e)14 +b(metho)q(d)f(com)o(bination)e(facilit)o(y)m(.)0 616 +y Fs(;;;)21 b(Examples)e(of)i(the)f(short)h(form)f(of)h +(define-method-co)o(mbin)o(ation)0 720 y(\(define-method-co)o(mbina)o +(tion)d(and)i(:identity-with-one-)o(argum)o(ent)e(t\))0 +824 y(\(defmethod)h(func)h(and)h(\(\(x)g(class1\))e(y\))42 +876 y(...\))0 980 y(;;;)i(The)f(equivalent)f(of)i(this)f(example)g(in)h +(the)f(long)h(form)f(is:)0 1083 y(\(define-method-co)o(mbina)o(tion)e +(and)169 1135 y(\(&optional)h(\(order)558 1139 y Fn(')582 +1135 y Fs(:most-specific-)o(first)o(\)\))169 1187 y(\(\(around)h +(\(:around\)\))191 1239 y(\(primary)f(\(and\))h(:order)g(order)g +(:required)g(t\)\))42 1291 y(\(let)h(\(\(form)f(\(if)g(\(rest)g +(primary\))379 1347 y Fn(`)402 1343 y Fs(\(and)h(,@\(mapcar)e(#)728 +1339 y(-)728 1347 y(-)m Fn(')771 1343 y Fs(\(lambda)h(\(method\))802 +1399 y Fn(`)826 1395 y Fs(\(call-method)e(,method)i(\(\)\)\))720 +1447 y(primary\)\))379 1503 y Fn(`)402 1499 y Fs(\(call-method)f +(,\(first)h(primary\))f(\(\)\)\)\)\))85 1550 y(\(if)h(around)167 +1606 y Fn(`)191 1602 y Fs(\(call-method)e(,\(first)i(around\))466 +1654 y(\(,@\(rest)f(around\))487 1706 y(\(make-method)g(,form\)\)\))169 +1758 y(form\)\)\))0 1914 y(;;;)i(Examples)e(of)i(the)f(long)h(form)f +(of)h(define-method-com)o(bina)o(tion)0 2017 y(;;;)g(The)f(default)g +(method-combinatio)o(n)e(technique)0 2121 y(\(define-method-co)o(mbina) +o(tion)g(standard)h(\(\))169 2173 y(\(\(around)h(\(:around\)\))191 +2225 y(\(before)f(\(:before\)\))191 2277 y(\(primary)g(\(\))i +(:required)e(t\))191 2329 y(\(after)g(\(:after\)\)\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 908 932 +908 931 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(908)77 b(COMMON)13 +b(LISP)42 295 y Fs(\(flet)20 b(\(\(call-methods)f(\(methods\))233 +347 y(\(mapcar)h(#)407 343 y(-)407 351 y(-)m Fn(')450 +347 y Fs(\(lambda)f(\(method\))485 403 y Fn(`)508 399 +y Fs(\(call-method)g(,method)h(\(\)\)\))402 450 y(methods\)\)\))85 +502 y(\(let)g(\(\(form)g(\(if)h(\(or)f(before)g(after)g(\(rest)g +(primary\)\))421 558 y Fn(`)445 554 y Fs(\(multiple-value)o(-prog)o(1) +487 606 y(\(progn)g(,@\(call-methods)e(before\))635 658 +y(\(call-method)h(,\(first)h(primary\))910 710 y(,\(rest)g +(primary\)\)\))487 762 y(,@\(call-methods)e(\(reverse)i(after\)\)\))421 +818 y Fn(`)445 814 y Fs(\(call-method)e(,\(first)i(primary\))g +(\(\)\)\)\)\))127 866 y(\(if)h(around)209 921 y Fn(`)233 +917 y Fs(\(call-method)e(,\(first)g(around\))508 969 +y(\(,@\(rest)h(around\))529 1021 y(\(make-method)f(,form\)\)\))212 +1073 y(form\)\)\)\))0 1187 y(;;;)i(A)g(simple)e(way)i(to)g(try)f +(several)g(methods)g(until)g(one)g(returns)g(non-nil)0 +1291 y(\(define-method-co)o(mbina)o(tion)e(or)j(\(\))169 +1343 y(\(\(methods)f(\(or\)\)\))40 1399 y Fn(`)64 1395 +y Fs(\(or)g(,@\(mapcar)f(#)367 1391 y(-)367 1399 y(-)n +Fn(')410 1395 y Fs(\(lambda)h(\(method\))442 1451 y Fn(`)466 +1447 y Fs(\(call-method)e(,method)i(\(\)\)\))360 1499 +y(methods\)\)\))0 1602 y(;;;)h(A)g(more)f(complete)f(version)h(of)h +(the)f(preceding)0 1706 y(\(define-method-co)o(mbina)o(tion)e(or)169 +1758 y(\(&optional)h(\(order)558 1762 y Fn(')582 1758 +y Fs(:most-specific-)o(first)o(\)\))169 1810 y(\(\(around)h +(\(:around\)\))191 1862 y(\(primary)f(\(or\)\)\))42 1914 +y(;;)i(Process)f(the)g(order)h(argument)42 1966 y(\(case)f(order)85 +2017 y(\(:most-specific-)o(first)o(\))85 2069 y(\(:most-specific-)o +(last)e(\(setq)i(primary)g(\(reverse)f(primary\)\)\))85 +2121 y(\(otherwise)g(\(method-combinat)o(ion-e)o(rror)360 +2173 y(")380 2177 y Fn(~)403 2173 y Fs(S)i(is)g(an)f(invalid)g(order.) +879 2177 y Fn(~)901 2173 y Fs(@)381 2225 y(:most-specific-fir)o(st)e +(and)j(:most-specific-l)o(ast)1358 2229 y Fn(~)423 2277 +y Fs(are)g(the)g(possible)e(values.")868 2329 y(order\)\)\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 909 933 +909 932 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(909)42 295 y Fs(;;)21 b(Must)f(have)h(a)g(primary)e +(method)42 347 y(\(unless)h(primary)85 399 y(\(method-combinat)o(ion-e) +o(rror)e("A)i(primary)g(method)g(is)h(required."\)\))42 +450 y(;;)g(Construct)e(the)i(form)f(that)h(calls)f(the)g(primary)g +(methods)42 502 y(\(let)h(\(\(form)f(\(if)g(\(rest)g(primary\))379 +558 y Fn(`)402 554 y Fs(\(or)h(,@\(mapcar)e(#)706 550 +y(-)706 558 y(-)n Fn(')749 554 y Fs(\(lambda)h(\(method\))781 +610 y Fn(`)804 606 y Fs(\(call-method)f(,method)h(\(\)\)\))699 +658 y(primary\)\))379 714 y Fn(`)402 710 y Fs(\(call-method)f(,\(first) +h(primary\))f(\(\)\)\)\)\))85 762 y(;;)h(Wrap)h(the)f(around)g(methods) +g(around)g(that)g(form)85 814 y(\(if)g(around)167 870 +y Fn(`)191 866 y Fs(\(call-method)e(,\(first)i(around\))466 +917 y(\(,@\(rest)f(around\))487 969 y(\(make-method)g(,form\)\)\))169 +1021 y(form\)\)\))0 1135 y(;;;)i(The)f(same)g(thing,)g(using)h(the)f +(:order)g(and)h(:required)e(keyword)h(options)0 1187 +y(\(define-method-co)o(mbina)o(tion)e(or)169 1239 y(\(&optional)h +(\(order)558 1243 y Fn(')582 1239 y Fs(:most-specific-)o(first)o(\)\)) +169 1291 y(\(\(around)h(\(:around\)\))191 1343 y(\(primary)f(\(or\))h +(:order)g(order)g(:required)g(t\)\))42 1395 y(\(let)h(\(\(form)f(\(if)g +(\(rest)g(primary\))379 1451 y Fn(`)402 1447 y Fs(\(or)h(,@\(mapcar)e +(#)706 1443 y(-)706 1451 y(-)n Fn(')749 1447 y Fs(\(lambda)h +(\(method\))781 1503 y Fn(`)804 1499 y Fs(\(call-method)f(,method)h +(\(\)\)\))699 1550 y(primary\)\))379 1606 y Fn(`)402 +1602 y Fs(\(call-method)f(,\(first)h(primary\))f(\(\)\)\)\)\))85 +1654 y(\(if)h(around)167 1710 y Fn(`)191 1706 y Fs(\(call-method)e +(,\(first)i(around\))466 1758 y(\(,@\(rest)f(around\))487 +1810 y(\(make-method)g(,form\)\)\))169 1862 y(form\)\)\))0 +1966 y(;;;)i(This)f(short-form)f(call)h(is)h(behaviorally)e(identical)g +(to)i(the)f(preceding.)0 2017 y(\(define-method-co)o(mbina)o(tion)e(or) +j(:identity-with-)o(one-a)o(rgume)o(nt)d(t\))0 2121 y(;;;)j(Order)f +(methods)f(by)i(positive)f(integer)f(qualifiers;)g(note)i(that)f +(:around)0 2173 y(;;;)h(methods)e(are)i(disallowed)e(here)h(in)h(order) +f(to)h(keep)f(the)h(example)f(small.)0 2277 y(\(define-method-co)o +(mbina)o(tion)e(example-method-c)o(ombin)o(ation)g(\(\))169 +2329 y(\(\(methods)i(positive-integer)o(-qual)o(ifier)o(-p\)\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 910 934 +910 933 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(910)77 b(COMMON)13 +b(LISP)40 299 y Fn(`)64 295 y Fs(\(progn)19 b(,@\(mapcar)h(#)433 +291 y(-)433 299 y(-)m Fn(')476 295 y Fs(\(lambda)f(\(method\))506 +351 y Fn(`)529 347 y Fs(\(call-method)g(,method)h(\(\)\)\))423 +399 y(\(stable-sort)f(methods)h(#)880 395 y(-)880 403 +y(-)m Fn(')923 399 y Fs(<)466 450 y(:key)g(#)574 446 +y(-)574 454 y(-)n Fn(')617 450 y Fs(\(lambda)g(\(method\))656 +502 y(\(first)g(\(method-qualifiers)847 554 y(method\)\)\)\)\)\)\))0 +658 y(\(defun)g(positive-integer-)o(quali)o(fier-)o(p)e +(\(method-qualifiers\))42 710 y(\(and)j(\()173 706 y(U)173 +714 y(U)215 710 y(\(length)f(method-qualifiers\))e(1\))148 +762 y(\(typep)i(\(first)g(method-qualifiers\))863 766 +y Fn(')887 762 y Fs(\(integer)f(0)i(*\)\)\)\))0 866 y(;;;)g(Example)e +(of)i(the)g(use)f(of)h(:arguments)0 917 y(\(define-method-co)o(mbina)o +(tion)d(progn-with-lock)g(\(\))169 969 y(\(\(methods)i(\(\)\)\))169 +1021 y(\(:arguments)f(object\))40 1077 y Fn(`)64 1073 +y Fs(\(unwind-protect)148 1125 y(\(progn)h(\(lock)g(\(object-lock)f +(,object\)\))296 1177 y(,@\(mapcar)h(#)514 1173 y(-)514 +1181 y(-)m Fn(')557 1177 y Fs(\(lambda)f(\(method\))591 +1233 y Fn(`)614 1229 y Fs(\(call-method)g(,method)g(\(\)\)\))508 +1281 y(methods\)\))106 1333 y(\(unlock)h(\(object-lock)e +(,object\)\)\)\))42 1426 y Fw(The)f Fs(:method-combination)d +Fw(option)i(of)h Fs(defgeneric)e Fw(is)i(used)i(to)e(sp)q(ecify)h(that) +0 1478 y(a)g(generic)i(function)f(should)f(use)i(a)e(particular)h +(metho)q(d)f(com)o(bination)e(t)o(yp)q(e.)33 b(The)0 +1529 y(argumen)o(t)11 b(to)i(the)g Fs(:method-combinati)o(on)d +Fw(option)h(is)i(the)g(name)e(of)h(a)g(metho)q(d)g(com-)0 +1581 y(bination)h(t)o(yp)q(e.)42 1634 y(See)32 b(sections)i(28.1.7)c +(and)i(28.1.7.4)d(as)j(w)o(ell)f(as)h Fs(call-method)p +Fw(,)i Fs(method-)0 1686 y(qualifiers)p Fw(,)i Fs(method-combination-)o +(error)o Fw(,)g Fs(invalid-method-e)o(rror)p Fw(,)f(and)0 +1738 y Fs(defgeneric)p Fw(.)-33 1880 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 1908 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(defmethod)33 b Fv(function-name)23 b Ft(f)p Fv(metho)n +(d-quali\014er)p Ft(g)845 1893 y Fl(\003)217 1960 y Fv(sp)n(e)n +(cialize)n(d-lamb)n(da-list)224 2012 y Fw([)-7 b([)13 +b Ft(f)p Fv(de)n(clar)n(ation)p Ft(g)493 1997 y Fl(\003)533 +2012 y Ft(j)i Fv(do)n(c-string)7 b Fw(])-7 b(])27 b Ft(f)7 +b Fv(form)p Ft(g)924 1997 y Fl(\003)0 2132 y Fv(function-name)18 +b Fw(::=)i Ft(f)p Fv(symb)n(ol)f Ft(j)14 b Fs(\(setf)20 +b Fv(symb)n(ol)t Fs(\))p Ft(g)0 2184 y Fv(metho)n(d-quali\014er)e +Fw(::=)c Fv(non-nil-atom)0 2236 y(p)n(ar)n(ameter-sp)n(e)n +(cializer-name)i Fw(::=)d Fv(symb)n(ol)g Ft(j)h Fs(\(eql)20 +b Fv(e)n(ql)p Fs(-)p Fv(sp)n(e)n(cializer)p Fs(-)p Fv(form)s +Fs(\))0 2329 y Fw(The)14 b(macro)f Fs(defmethod)f Fw(de\014nes)j(a)f +(metho)q(d)f(on)h(a)f(generic)i(function.)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 911 935 +911 934 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(911)42 295 y Fw(If)13 b Fs(\(fboundp)20 +b Fv(function)p Fs(-)p Fv(name)s Fs(\))15 b Fw(is)f Fs(nil)p +Fw(,)f(a)g(generic)i(function)f(is)g(created)i(with)d(de-)0 +347 y(fault)d(v)n(alues)g(for)g(the)h(argumen)o(t)e(precedence)14 +b(order)d(\(eac)o(h)g(argumen)o(t)e(is)i(more)e(sp)q(eci\014c)0 +399 y(than)17 b(the)h(argumen)o(ts)f(to)g(its)g(righ)o(t)g(in)g(the)h +(argumen)o(t)e(list\),)i(for)f(the)g(generic)i(func-)0 +450 y(tion)11 b(class)i(\(the)g(class)f Fs(standard-generic-f)o(uncti)o +(on)p Fw(\),)d(for)j(the)g(metho)q(d)g(class)g(\(the)0 +502 y(class)h Fs(standard-method)p Fw(\),)c(and)j(for)g(the)g(metho)q +(d)g(com)o(bination)e(t)o(yp)q(e)i(\(the)h(standard)0 +554 y(metho)q(d)j(com)o(bination)f(t)o(yp)q(e\).)29 b(The)17 +b(lam)o(b)q(da-list)d(of)j(the)h(generic)g(function)f(is)g(con-)0 +606 y(gruen)o(t)h(with)f(the)h(lam)o(b)q(da-li)o(st)d(of)i(the)h(metho) +q(d)e(b)q(eing)i(de\014ned;)h(if)e(the)h Fs(defmethod)0 +658 y Fw(form)f(men)o(tions)h(k)o(eyw)o(ord)g(argumen)o(ts,)h(the)h +(lam)o(b)q(da-li)o(st)d(of)h(the)h(generic)h(function)0 +710 y(will)c(men)o(tion)f Fs(&key)i Fw(\(but)g(no)g(k)o(eyw)o(ord)g +(argumen)o(ts\).)28 b(If)16 b Fv(function-name)22 b Fw(names)16 +b(a)0 762 y(non-generic)f(function,)e(a)g(macro,)f(or)i(a)g(sp)q(ecial) +g(form,)e(an)h(error)i(is)f(signaled.)42 815 y(If)e(a)h(generic)g +(function)g(is)g(curren)o(tly)g(named)f(b)o(y)h Fv(function-name)s +Fw(,)g(where)h Fv(function-)0 867 y(name)j Fw(is)d(a)f(sym)o(b)q(ol)f +(or)h(a)g(list)g(of)g(the)h(form)e Fs(\(setf)20 b Fv(symb)n(ol)t +Fs(\))p Fw(,)13 b(the)i(lam)o(b)q(da-li)o(st)c(of)i(the)0 +919 y(metho)q(d)j(m)o(ust)g(b)q(e)i(congruen)o(t)g(with)f(the)h(lam)o +(b)q(da-li)o(st)d(of)i(the)g(generic)i(function.)27 b(If)0 +971 y(this)16 b(condition)g(do)q(es)h(not)f(hold,)f(an)h(error)h(is)f +(signaled.)25 b(See)17 b(section)g(28.1.6.4)c(for)j(a)0 +1023 y(de\014nition)d(of)h(congruence)h(in)f(this)g(con)o(text.)42 +1076 y(The)c Fv(function-name)j Fw(argumen)o(t)c(is)g(a)h(non-)p +Fs(nil)e Fw(sym)o(b)q(ol)g(or)i(a)f(list)h(of)f(the)h(form)e +Fs(\(setf)0 1128 y Fv(symb)n(ol)t Fs(\))p Fw(.)18 b(It)c(names)f(the)h +(generic)h(function)f(on)f(whic)o(h)h(the)h(metho)q(d)e(is)h +(de\014ned.)42 1181 y(Eac)o(h)h Fv(metho)n(d-quali\014er)k +Fw(argumen)o(t)13 b(is)i(an)f(ob)r(ject)i(that)f(is)f(used)i(b)o(y)e +(metho)q(d)g(com-)0 1233 y(bination)d(to)i(iden)o(tify)f(the)h(giv)o +(en)f(metho)q(d.)17 b(A)c(metho)q(d)e(quali\014er)i(is)f(a)g(non-)p +Fs(nil)g Fw(atom.)0 1285 y(The)k(metho)q(d)f(com)o(bination)f(t)o(yp)q +(e)i(ma)o(y)e(further)j(restrict)g(what)f(a)f(metho)q(d)g(quali\014er)0 +1337 y(ma)o(y)10 b(b)q(e.)19 b(The)12 b(standard)h(metho)q(d)f(com)o +(bination)e(t)o(yp)q(e)j(allo)o(ws)e(for)h(unquali\014ed)g(meth-)0 +1389 y(o)q(ds)20 b(or)f(metho)q(ds)g(whose)h(sole)f(quali\014er)g(is)g +(the)h(k)o(eyw)o(ord)f Fs(:before)p Fw(,)g(the)h(k)o(eyw)o(ord)0 +1441 y Fs(:after)p Fw(,)12 b(or)i(the)g(k)o(eyw)o(ord)g +Fs(:around)p Fw(.)42 1494 y(A)c Fv(sp)n(e)n(cialize)n(d-lamb)n(da-list) +j Fw(is)d(lik)o(e)f(an)i(ordinary)e(function)h(lam)o(b)q(da-list)e +(except)k(that)0 1546 y(the)e(name)e(of)h(a)g(required)i(parameter)e +(can)g(b)q(e)i(replaced)f(b)o(y)f(a)g(sp)q(ecialized)h(parameter,)g(a)0 +1598 y(list)k(of)f(the)h(form)f Fs(\()p Fv(variable)p +Fs(-)p Fv(name)h(p)n(ar)n(ameter)p Fs(-)p Fv(sp)n(e)n(cializer)p +Fs(-)p Fv(name)s Fs(\))p Fw(.)j(Only)d(required)0 1650 +y(parameters)c(ma)o(y)f(b)q(e)h(sp)q(ecialized.)18 b(A)10 +b(parameter)g(sp)q(ecializer)h(name)e(is)h(a)g(sym)o(b)q(ol)f(that)0 +1702 y(names)i(a)g(class)h(or)f Fs(\(eql)21 b Fv(e)n(ql)p +Fs(-)p Fv(sp)n(e)n(cializer)p Fs(-)p Fv(form)s Fs(\))p +Fw(.)14 b(The)e(parameter)f(sp)q(ecializer)i(name)0 1754 +y Fs(\(eql)20 b Fv(e)n(ql)p Fs(-)p Fv(sp)n(e)n(cializer)p +Fs(-)p Fv(form)s Fs(\))14 b Fw(indicates)i(that)g(the)h(corresp)q +(onding)g(argumen)o(t)e(m)o(ust)0 1805 y(b)q(e)h Fs(eql)f +Fw(to)g(the)h(ob)r(ject)g(that)g(is)f(the)h(v)n(alue)e(of)h +Fv(e)n(ql-sp)n(e)n(cializer-form)i Fw(for)e(the)h(metho)q(d)0 +1857 y(to)i(b)q(e)i(applicable.)31 b(If)18 b(no)g(parameter)g(sp)q +(ecializer)i(name)d(is)i(sp)q(eci\014ed)h(for)e(a)g(giv)o(en)0 +1909 y(required)e(parameter,)e(the)h(parameter)g(sp)q(ecializer)h +(defaults)e(to)h(the)h(class)f(named)e Fs(t)p Fw(.)0 +1961 y(See)i(section)f(28.1.6.2.)42 2014 y(The)g Fv(form)i +Fw(argumen)o(ts)d(sp)q(ecify)h(the)g(metho)q(d)f(b)q(o)q(dy)m(.)18 +b(The)c(b)q(o)q(dy)g(of)f(the)h(metho)q(d)f(is)0 2066 +y(enclosed)j(in)e(an)g(implicit)e(blo)q(c)o(k.)20 b(If)15 +b Fv(function-name)j Fw(is)d(a)f(sym)o(b)q(ol,)f(this)h(blo)q(c)o(k)h +(b)q(ears)0 2118 y(the)f(same)f(name)g(as)h(the)g(generic)h(function.)i +(If)d Fv(function-name)k Fw(is)13 b(a)h(list)f(of)g(the)h(form)0 +2170 y Fs(\(setf)20 b Fv(symb)n(ol)t Fs(\))p Fw(,)13 +b(the)i(name)e(of)g(the)h(blo)q(c)o(k)g(is)g Fv(symb)n(ol)p +Fw(.)42 2224 y(The)g(result)g(of)g Fs(defmethod)e Fw(is)h(the)i(metho)q +(d)e(ob)r(ject.)42 2277 y(The)g(class)h(of)f(the)h(metho)q(d)e(ob)r +(ject)i(that)f(is)h(created)g(is)f(that)h(giv)o(en)f(b)o(y)g(the)h +(metho)q(d)0 2329 y(class)g(option)f(of)h(the)g(generic)h(function)f +(on)f(whic)o(h)h(the)h(metho)q(d)e(is)g(de\014ned.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 912 936 +912 935 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(912)77 b(COMMON)13 +b(LISP)42 295 y Fw(If)h(the)i(generic)f(function)g(already)g(has)g(a)f +(metho)q(d)g(that)h(agrees)h(with)f(the)h(metho)q(d)0 +347 y(b)q(eing)11 b(de\014ned)h(on)f(parameter)f(sp)q(ecializers)i(and) +f(quali\014ers,)g Fs(defmethod)e Fw(replaces)j(the)0 +399 y(existing)17 b(metho)q(d)f(with)g(the)i(one)f(no)o(w)f(b)q(eing)h +(de\014ned.)28 b(See)18 b(section)f(28.1.6.3)e(for)h(a)0 +450 y(de\014nition)d(of)h(agreemen)o(t)f(in)h(this)g(con)o(text.)42 +503 y(The)24 b(parameter)g(sp)q(ecializers)i(are)f(deriv)o(ed)g(from)e +(the)i(parameter)f(sp)q(ecializer)0 555 y(names)13 b(as)h(describ)q(ed) +i(in)d(section)i(28.1.6.2.)42 607 y(The)g(expansion)g(of)f(the)i +Fs(defmethod)d Fw(macro)h(refers)i(to)f(eac)o(h)g(sp)q(ecialized)h +(parame-)0 659 y(ter)f(\(see)h(the)e Fs(ignore)f Fw(declaration)h(sp)q +(eci\014er\),)i(including)d(parameters)i(that)f(ha)o(v)o(e)g(an)0 +711 y(explicit)e(parameter)f(sp)q(ecializer)i(name)e(of)h +Fs(t)p Fw(.)17 b(This)12 b(means)f(that)h(a)g(compiler)f(w)o(arning)0 +763 y(do)q(es)16 b(not)f(o)q(ccur)h(if)e(the)i(b)q(o)q(dy)f(of)g(the)g +(metho)q(d)g(do)q(es)g(not)g(refer)i(to)d(a)h(sp)q(ecialized)h(pa-)0 +815 y(rameter.)h(Note)d(that)e(a)h(parameter)f(that)h(sp)q(ecializes)h +(on)e Fs(t)h Fw(is)f(not)h(synon)o(ymous)e(with)0 867 +y(an)j(unsp)q(ecialized)g(parameter)g(in)f(this)h(con)o(text.)42 +919 y(See)g(sections)h(28.1.6.2,)c(28.1.6.4,)g(and)i(28.1.6.3.)42 +1009 y([A)o(t)h(this)g(p)q(oin)o(t)g(the)h(original)e(CLOS)i(rep)q(ort) +g([5)o(,)f(7])g(con)o(tained)h(a)f(sp)q(eci\014cation)h(for)0 +1061 y Fs(describe)h Fw(as)h(a)h(generic)g(function.)29 +b(This)17 b(sp)q(eci\014cation)i(is)e(omitted)f(here)j(b)q(ecause)0 +1113 y(X3J13)e(v)o(oted)h(in)f(Marc)o(h)i(1989)d Ft(h)p +Fw(63)p Ft(i)i Fw(not)f(to)h(mak)o(e)e Fs(describe)g +Fw(a)h(generic)i(function)0 1165 y(after)14 b(all)f(\(see)i +Fs(describe-object)p Fw(\).|)o(GLS])1062 1317 y([)p Fv(Generic)g +(function)s Fw(])-1395 b Fs(documentation)18 b Fv(x)27 +b Fs(&optional)19 b Fv(do)n(c)p Fs(-)p Fv(typ)n(e)1073 +1369 y Fw([)p Fv(Primary)14 b(metho)n(d)t Fw(])-1395 +b Fs(documentation)304 1421 y(\()p Fv(metho)n(d)26 b +Fs(standard-method\))18 b(&optional)h Fv(do)n(c)p Fs(-)p +Fv(typ)n(e)1073 1473 y Fw([)p Fv(Primary)14 b(metho)n(d)t +Fw(])-1395 b Fs(documentation)304 1525 y(\()p Fv(generic)p +Fs(-)p Fv(function)25 b Fs(standard-generic-)o(funct)o(ion\))304 +1577 y(&optional)20 b Fv(do)n(c)p Fs(-)p Fv(typ)n(e)1073 +1629 y Fw([)p Fv(Primary)14 b(metho)n(d)t Fw(])-1395 +b Fs(documentation)18 b(\()p Fv(class)25 b Fs(standard-class\))18 +b(&optional)304 1681 y Fv(do)n(c)p Fs(-)p Fv(typ)n(e)1073 +1733 y Fw([)p Fv(Primary)c(metho)n(d)t Fw(])-1395 b Fs(documentation) +304 1784 y(\()p Fv(metho)n(d)p Fs(-)p Fv(c)n(ombination)25 +b Fs(method-combination\))18 b(&optional)304 1836 y Fv(do)n(c)p +Fs(-)p Fv(typ)n(e)1073 1888 y Fw([)p Fv(Primary)c(metho)n(d)t +Fw(])-1395 b Fs(documentation)304 1940 y(\()p Fv(slot)p +Fs(-)p Fv(description)24 b Fs(standard-slot-des)o(cript)o(ion\))304 +1992 y(&optional)c Fv(do)n(c)p Fs(-)p Fv(typ)n(e)1073 +2044 y Fw([)p Fv(Primary)14 b(metho)n(d)t Fw(])-1395 +b Fs(documentation)18 b(\()p Fv(symb)n(ol)26 b Fs(symbol\))19 +b(&optional)h Fv(do)n(c)p Fs(-)p Fv(typ)n(e)1073 2096 +y Fw([)p Fv(Primary)14 b(metho)n(d)t Fw(])-1395 b Fs(documentation)18 +b(\()p Fv(list)24 b Fs(list\))d(&optional)e Fv(do)n(c)p +Fs(-)p Fv(typ)n(e)0 2173 y Fw(The)j(ordinary)e(function)h +Fs(documentation)e Fw(\(see)j(section)g(25.2\))e(is)h(replaced)h(b)o(y) +f(a)0 2225 y(generic)h(function.)40 b(The)22 b(generic)g(function)f +Fs(documentation)e Fw(returns)k(the)e(do)q(cu-)0 2277 +y(men)o(tation)13 b(string)h(asso)q(ciated)i(with)e(the)h(giv)o(en)f +(ob)r(ject)h(if)f(it)g(is)h(a)o(v)n(ailable;)d(otherwise)0 +2329 y Fs(documentation)f Fw(returns)16 b Fs(nil)p Fw(.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 913 937 +913 936 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(913)42 295 y Fw(The)15 b(\014rst)h(argumen)o(t)d(of)i +Fs(documentation)d Fw(is)j(a)f(sym)o(b)q(ol,)f(a)i(function-name)e +(list)h(of)0 347 y(the)h(form)e Fs(\(setf)20 b Fv(symb)n(ol)t +Fs(\))p Fw(,)14 b(a)g(metho)q(d)g(ob)r(ject,)h(a)f(class)h(ob)r(ject,)g +(a)g(generic)g(function)0 399 y(ob)r(ject,)e(a)f(metho)q(d)g(com)o +(bination)e(ob)r(ject,)k(or)e(a)g(slot)h(description)g(ob)r(ject.)18 +b(Whether)c(a)0 450 y(second)d(argumen)o(t)e(should)g(b)q(e)i(supplied) +f(dep)q(ends)h(on)f(the)h(t)o(yp)q(e)f(of)f(the)i(\014rst)f(argumen)o +(t.)0 515 y Fu(.)42 524 y Fw(If)18 b(the)i(\014rst)f(argumen)o(t)f(is)h +(a)g(metho)q(d)f(ob)r(ject,)i(a)f(class)h(ob)r(ject,)g(a)f(generic)h +(func-)42 576 y(tion)13 b(ob)r(ject,)h(a)g(metho)q(d)f(com)o(bination)e +(ob)r(ject,)j(or)g(a)g(slot)f(description)i(ob)r(ject,)f(the)42 +628 y(second)g(argumen)o(t)f(m)o(ust)g(not)h(b)q(e)g(supplied,)g(or)g +(an)f(error)i(is)f(signaled.)0 704 y Fu(.)42 713 y Fw(If)g(the)i +(\014rst)g(argumen)o(t)e(is)i(a)f(sym)o(b)q(ol)e(or)i(a)g(list)g(of)g +(the)g(form)f Fs(\(setf)20 b Fv(symb)n(ol)t Fs(\))p Fw(,)15 +b(the)42 765 y(second)f(argumen)o(t)f(m)o(ust)g(b)q(e)i(supplied.)42 +851 y({)20 b(The)14 b(forms)83 936 y Fs(\(documentation)k +Fv(symb)n(ol)552 940 y Fn(')576 936 y Fs(function\))83 +1022 y Fw(and)83 1107 y Fs(\(documentation)407 1111 y +Fn(')430 1107 y Fs(\(setf)j Fv(symb)n(ol)t Fs(\))725 +1111 y Fn(')749 1107 y Fs(function\))83 1193 y Fw(return)13 +b(the)g(do)q(cumen)o(tation)d(string)i(of)f(the)i(function,)e(generic)i +(function,)e(sp)q(ecial)83 1245 y(form,)h(or)i(macro)e(named)h(b)o(y)h +(the)g(sym)o(b)q(ol)e(or)i(list.)42 1330 y({)20 b(The)14 +b(form)e Fs(\(documentation)18 b Fv(symb)n(ol)735 1334 +y Fn(')759 1330 y Fs(variable\))11 b Fw(returns)k(the)g(do)q(cumen)o +(ta-)83 1382 y(tion)e(string)h(of)g(the)g(sp)q(ecial)g(v)n(ariable)f +(or)h(constan)o(t)g(named)f(b)o(y)h(the)g(sym)o(b)q(ol.)42 +1468 y({)20 b(The)d(form)d Fs(\(documentation)19 b Fv(symb)n(ol)741 +1472 y Fn(')764 1468 y Fs(structure\))14 b Fw(returns)k(the)f(do)q +(cumen-)83 1520 y(tation)c(string)h(of)f(the)i Fs(defstruct)d +Fw(structure)k(named)d(b)o(y)g(the)i(sym)o(b)q(ol.)42 +1605 y({)20 b(The)g(form)e Fs(\(documentation)g Fv(symb)n(ol)747 +1609 y Fn(')770 1605 y Fs(type\))h Fw(returns)i(the)f(do)q(cumen)o +(tation)83 1657 y(string)c(of)f(the)h(class)g(ob)r(ject)h(named)e(b)o +(y)g(the)h(sym)o(b)q(ol,)e(if)h(there)i(is)f(suc)o(h)g(a)g(class.)83 +1709 y(If)e(there)i(is)e(no)g(suc)o(h)h(class,)f(it)g(returns)i(the)f +(do)q(cumen)o(tation)e(string)i(of)e(the)i(t)o(yp)q(e)83 +1761 y(sp)q(eci\014er)h(named)c(b)o(y)i(the)h(sym)o(b)q(ol.)42 +1846 y({)20 b(The)g(form)e Fs(\(documentation)g Fv(symb)n(ol)747 +1850 y Fn(')770 1846 y Fs(setf\))h Fw(returns)i(the)f(do)q(cumen)o +(tation)83 1898 y(string)13 b(of)e(the)j Fs(defsetf)d +Fw(or)h Fs(define-setf-metho)o(d)e Fw(de\014nition)i(asso)q(ciated)h +(with)83 1950 y(the)i(sym)o(b)q(ol.)42 2036 y({)20 b(The)c(form)e +Fs(\(documentation)k Fv(symb)n(ol)739 2040 y Fn(')763 +2036 y Fs(method-combinat)o(ion\))12 b Fw(returns)17 +b(the)83 2088 y(do)q(cumen)o(tation)j(string)g(of)g(the)i(metho)q(d)e +(com)o(bination)e(t)o(yp)q(e)j(named)f(b)o(y)g(the)83 +2139 y(sym)o(b)q(ol.)42 2225 y(An)c(implem)o(en)o(tation)d(ma)o(y)h +(extend)j(the)g(set)f(of)g(sym)o(b)q(ols)e(that)i(are)h(acceptable)g +(as)0 2277 y(the)12 b(second)g(argumen)o(t.)k(If)10 b(a)h(sym)o(b)q(ol) +e(is)i(not)g(recognized)h(as)f(an)g(acceptable)h(argumen)o(t)0 +2329 y(b)o(y)i(the)g(implemen)o(tation,)c(an)k(error)g(m)o(ust)f(b)q(e) +i(signaled.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 914 938 +914 937 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(914)77 b(COMMON)13 +b(LISP)42 295 y Fw(The)h(do)q(cumen)o(tation)e(string)i(asso)q(ciated)g +(with)g(the)g(giv)o(en)f(ob)r(ject)i(is)e(returned)j(un-)0 +347 y(less)f(none)f(is)f(a)o(v)n(ailable,)f(in)h(whic)o(h)h(case)h +Fs(documentation)c Fw(returns)k Fs(nil)p Fw(.)1062 496 +y([)p Fv(Generic)g(function)s Fw(])-1395 b Fs(\(setf)20 +b(documentation\))e Fv(new)p Fs(-)p Fv(value)25 b(x)h +Fs(&optional)42 548 y Fv(do)n(c)p Fs(-)p Fv(typ)n(e)1073 +600 y Fw([)p Fv(Primary)14 b(metho)n(d)t Fw(])-1395 b +Fs(\(setf)20 b(documentation\))e Fv(new)p Fs(-)p Fv(value)42 +652 y Fs(\()p Fv(metho)n(d)26 b Fs(standard-method\))18 +b(&optional)h Fv(do)n(c)p Fs(-)p Fv(typ)n(e)1073 703 +y Fw([)p Fv(Primary)14 b(metho)n(d)t Fw(])-1395 b Fs(\(setf)20 +b(documentation\))e Fv(new)p Fs(-)p Fv(value)42 755 y +Fs(\()p Fv(generic)p Fs(-)p Fv(function)25 b Fs(standard-generic)o +(-func)o(tion\))18 b(&optional)h Fv(do)n(c)p Fs(-)p Fv(typ)n(e)1073 +807 y Fw([)p Fv(Primary)14 b(metho)n(d)t Fw(])-1395 b +Fs(\(setf)20 b(documentation\))e Fv(new)p Fs(-)p Fv(value)42 +859 y Fs(\()p Fv(class)25 b Fs(standard-class\))18 b(&optional)h +Fv(do)n(c)p Fs(-)p Fv(typ)n(e)1073 911 y Fw([)p Fv(Primary)14 +b(metho)n(d)t Fw(])-1395 b Fs(\(setf)20 b(documentation\))e +Fv(new)p Fs(-)p Fv(value)42 963 y Fs(\()p Fv(metho)n(d)p +Fs(-)p Fv(c)n(ombination)25 b Fs(method-combination\))17 +b(&optional)j Fv(do)n(c)p Fs(-)p Fv(typ)n(e)1073 1015 +y Fw([)p Fv(Primary)14 b(metho)n(d)t Fw(])-1395 b Fs(\(setf)20 +b(documentation\))e Fv(new)p Fs(-)p Fv(value)42 1067 +y Fs(\()p Fv(slot)p Fs(-)p Fv(description)24 b Fs(standard-slot-de)o +(scrip)o(tion\))18 b(&optional)h Fv(do)n(c)p Fs(-)p Fv(typ)n(e)1073 +1119 y Fw([)p Fv(Primary)14 b(metho)n(d)t Fw(])-1395 +b Fs(\(setf)20 b(documentation\))e Fv(new)p Fs(-)p Fv(value)42 +1170 y Fs(\()p Fv(symb)n(ol)25 b Fs(symbol\))20 b(&optional)f +Fv(do)n(c)p Fs(-)p Fv(typ)n(e)1073 1222 y Fw([)p Fv(Primary)14 +b(metho)n(d)t Fw(])-1395 b Fs(\(setf)20 b(documentation\))e +Fv(new)p Fs(-)p Fv(value)42 1274 y Fs(\()p Fv(list)24 +b Fs(list\))c(&optional)g Fv(do)n(c)p Fs(-)p Fv(typ)n(e)0 +1352 y Fw(The)12 b(generic)h(function)f Fs(\(setf)20 +b(documentation\))9 b Fw(is)j(used)h(to)e(up)q(date)i(the)f(do)q +(cumen-)0 1403 y(tation.)42 1456 y(The)i(\014rst)h(argumen)o(t)d(of)i +Fs(\(setf)20 b(documentation\))11 b Fw(is)i(the)i(new)f(do)q(cumen)o +(tation.)42 1508 y(The)c(second)i(argumen)o(t)d(of)h +Fs(documentation)e Fw(is)i(a)g(sym)o(b)q(ol,)f(a)h(function-name)f +(list)h(of)0 1560 y(the)15 b(form)e Fs(\(setf)20 b Fv(symb)n(ol)t +Fs(\))p Fw(,)14 b(a)g(metho)q(d)g(ob)r(ject,)h(a)f(class)h(ob)r(ject,)g +(a)g(generic)g(function)0 1612 y(ob)r(ject,)h(a)g(metho)q(d)f(com)o +(bination)e(ob)r(ject,)j(or)g(a)f(slot)g(description)i(ob)r(ject.)24 +b(Whether)0 1664 y(a)13 b(third)g(argumen)o(t)e(should)i(b)q(e)h +(supplied)f(dep)q(ends)h(on)f(the)h(t)o(yp)q(e)f(of)f(the)i(second)g +(argu-)0 1716 y(men)o(t.)j(See)e Fs(documentation)p Fw(.)1209 +1865 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(ensure-generic-fu)o(nctio)o +(n)18 b Fv(function)p Fs(-)p Fv(name)26 b Fs(&key)42 +1917 y(:lambda-list)19 b(:argument-preceden)o(ce-o)o(rder)f(:declare)42 +1969 y(:documentation)h(:generic-functio)o(n-cl)o(ass)f +(:method-combinatio)o(n)42 2021 y(:method-class)h(:environment)0 +2136 y Fv(function-name)f Fw(::=)i Ft(f)p Fv(symb)n(ol)f +Ft(j)14 b Fs(\(setf)20 b Fv(symb)n(ol)t Fs(\))p Ft(g)0 +2225 y Fw(The)c(function)f Fs(ensure-generic-fun)o(ction)d +Fw(is)j(used)i(to)e(de\014ne)h(a)g(globally)d(named)0 +2277 y(generic)j(function)e(with)g(no)h(metho)q(ds)f(or)h(to)f(sp)q +(ecify)i(or)e(mo)q(dify)f(options)h(and)h(decla-)0 2329 +y(rations)f(that)g(p)q(ertain)g(to)g(a)f(globally)f(named)h(generic)h +(function)g(as)g(a)g(whole.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 915 939 +915 938 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(915)42 295 y Fw(If)15 b Fs(\(fboundp)k +Fv(function)p Fs(-)p Fv(name)s Fs(\))e Fw(is)f Fs(nil)p +Fw(,)f(a)g(new)h(generic)h(function)e(is)h(created.)25 +b(If)0 347 y Fs(\(fdefinition)19 b Fv(function)p Fs(-)p +Fv(name)s Fs(\))c Fw(is)f(a)g(non-generic)h(function,)f(a)g(macro,)f +(or)h(a)g(sp)q(e-)0 399 y(cial)f(form,)f(an)h(error)i(is)f(signaled.)42 +452 y([X3J13)21 b(v)o(oted)h(in)g(Marc)o(h)g(1989)f Ft(h)p +Fw(89)p Ft(i)h Fw(to)g(use)h Fs(fdefinition)d Fw(in)i(the)g(previous)0 +504 y(paragraph,)c(as)g(sho)o(wn,)h(rather)g(than)f Fs(symbol-function) +p Fw(,)e(as)i(it)f(app)q(eared)j(in)d(the)0 556 y(original)h(rep)q(ort) +j(on)e(CLOS)h([5)o(,)h(7].)35 b(The)20 b(v)o(ote)g(also)f(c)o(hanged)h +(all)e(o)q(ccurrences)23 b(of)0 608 y Fv(function-sp)n(e)n(ci\014er)17 +b Fw(in)f(the)i(original)d(rep)q(ort)j(to)f Fv(function-name)p +Fw(;)h(this)f(c)o(hange)g(is)g(re-)0 660 y(\015ected)e(here.|GLS])42 +714 y(If)21 b Fv(function-name)26 b Fw(sp)q(eci\014es)d(a)f(generic)h +(function)e(that)h(has)g(a)g(di\013eren)o(t)g(v)n(alue)0 +766 y(for)16 b(an)o(y)f(of)h(the)g(follo)o(wing)e(argumen)o(ts,)h(the)i +(generic)g(function)e(is)h(mo)q(di\014ed)f(to)h(ha)o(v)o(e)0 +817 y(the)f(new)h(v)n(alue:)j Fs(:argument-preceden)o(ce-o)o(rder)p +Fw(,)11 b Fs(:declare)p Fw(,)i Fs(:documentation)p Fw(,)0 +869 y Fs(:method-combinati)o(on)p Fw(.)42 923 y(If)h +Fv(function-name)20 b Fw(sp)q(eci\014es)d(a)e(generic)h(function)f +(that)h(has)f(a)g(di\013eren)o(t)h(v)n(alue)f(for)0 975 +y(the)c Fs(:lambda-list)c Fw(argumen)o(t,)i(and)h(the)h(new)f(v)n(alue) +f(is)h(congruen)o(t)h(with)f(the)g(lam)o(b)q(da-)0 1027 +y(lists)17 b(of)f(all)g(existing)h(metho)q(ds)f(or)h(there)i(are)e(no)g +(metho)q(ds,)g(the)h(v)n(alue)e(is)h(c)o(hanged;)0 1079 +y(otherwise)e(an)e(error)i(is)f(signaled.)42 1133 y(If)g +Fv(function-name)20 b Fw(sp)q(eci\014es)d(a)e(generic)h(function)f +(that)h(has)f(a)g(di\013eren)o(t)h(v)n(alue)f(for)0 1185 +y(the)10 b Fs(:generic-function-)o(clas)o(s)d Fw(argumen)o(t)h(and)h +(if)g(the)h(new)g(generic)g(function)f(class)0 1236 y(is)14 +b(compatible)e(with)h(the)h(old,)f Fs(change-class)e +Fw(is)j(called)f(to)h(c)o(hange)g(the)g(class)g(of)f(the)0 +1288 y(generic)i(function;)e(otherwise)i(an)e(error)i(is)f(signaled.)42 +1342 y(If)f Fv(function-name)18 b Fw(sp)q(eci\014es)d(a)f(generic)g +(function)g(that)f(has)h(a)g(di\013eren)o(t)g Fs(:method-)0 +1394 y(class)e Fw(v)n(alue,)h(the)h(v)n(alue)f(is)g(c)o(hanged)h(but)g +(an)o(y)f(existing)g(metho)q(ds)g(are)h(not)g(c)o(hanged.)42 +1448 y(The)g Fv(function-name)j Fw(argumen)o(t)c(is)h(a)f(sym)o(b)q(ol) +f(or)i(a)f(list)g(of)g(the)i(form)d Fs(\(setf)20 b Fv(sym-)0 +1500 y(b)n(ol)t Fs(\))p Fw(.)42 1554 y(The)9 b(k)o(eyw)o(ord)h(argumen) +o(ts)e(corresp)q(ond)j(to)e(the)h Fv(option)j Fw(argumen)o(ts)c(of)f +Fs(defgeneric)p Fw(,)0 1606 y(except)19 b(that)f(the)g +Fs(:method-class)c Fw(and)k Fs(:generic-functio)o(n-cla)o(ss)c +Fw(argumen)o(ts)0 1657 y(can)g(b)q(e)h(class)f(ob)r(jects)h(as)f(w)o +(ell)f(as)h(names.)42 1711 y(The)i Fs(:environment)e +Fw(argumen)o(t)h(is)h(the)g(same)f(as)i(the)f Fs(&environment)e +Fw(argumen)o(t)0 1763 y(to)20 b(macro)f(expansion)g(functions.)37 +b(It)20 b(is)g(t)o(ypically)e(used)j(to)f(distinguish)f(b)q(et)o(w)o +(een)0 1815 y(compile-tim)o(e)12 b(and)h(run-time)g(en)o(vironmen)o +(ts.)42 1869 y(The)h Fs(:method-combinati)o(on)d Fw(argumen)o(t)i(is)g +(a)h(metho)q(d)f(com)o(bination)e(ob)r(ject.)42 1923 +y(The)j(generic)h(function)e(ob)r(ject)i(is)f(returned.)19 +b(See)c Fs(defgeneric)p Fw(.)1209 2144 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(find-class)19 b Fv(symb)n(ol)25 b Fs(&optional)20 +b Fv(err)n(orp)i(envir)n(onment)0 2223 y Fw(The)12 b(function)g +Fs(find-class)e Fw(returns)j(the)f(class)h(ob)r(ject)f(named)f(b)o(y)h +(the)g(giv)o(en)g(sym)o(b)q(ol)0 2275 y(in)h(the)i(giv)o(en)e(en)o +(vironmen)o(t.)42 2329 y(The)h(\014rst)h(argumen)o(t)d(to)i +Fs(find-class)e Fw(is)i(a)f(sym)o(b)q(ol.)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 916 940 +916 939 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(916)77 b(COMMON)13 +b(LISP)42 295 y Fw(If)g(there)i(is)e(no)h(suc)o(h)g(class)g(and)f(the)i +Fv(err)n(orp)g Fw(argumen)o(t)d(is)i(not)f(supplied)h(or)g(is)f(non-)0 +347 y Fs(nil)p Fw(,)18 b Fs(find-class)d Fw(signals)j(an)f(error.)31 +b(If)17 b(there)j(is)d(no)h(suc)o(h)g(class)h(and)e(the)i +Fv(err)n(orp)0 399 y Fw(argumen)o(t)13 b(is)h Fs(nil)p +Fw(,)e Fs(find-class)g Fw(returns)j Fs(nil)p Fw(.)j(The)c(default)g(v)n +(alue)f(of)g Fv(err)n(orp)j Fw(is)d Fs(t)p Fw(.)42 453 +y(The)e(optional)e Fv(envir)n(onment)15 b Fw(argumen)o(t)10 +b(is)g(the)i(same)e(as)g(the)i Fs(&environment)c Fw(argu-)0 +505 y(men)o(t)i(to)g(macro)g(expansion)h(functions.)17 +b(It)11 b(is)f(t)o(ypically)g(used)h(to)g(distinguish)f(b)q(et)o(w)o +(een)0 557 y(compile-tim)o(e)i(and)h(run-time)g(en)o(vironmen)o(ts.)42 +612 y(The)h(result)g(of)g Fs(find-class)e Fw(is)h(the)i(class)f(ob)r +(ject)h(named)e(b)o(y)g(the)i(giv)o(en)e(sym)o(b)q(ol.)42 +667 y(The)e(class)g(asso)q(ciated)h(with)e(a)h(particular)f(sym)o(b)q +(ol)g(can)h(b)q(e)g(c)o(hanged)g(b)o(y)g(using)g Fs(setf)0 +718 y Fw(with)f Fs(find-class)p Fw(.)15 b(The)10 b(results)h(are)g +(unde\014ned)g(if)f(the)h(user)g(attempts)f(to)g(c)o(hange)g(the)0 +770 y(class)j(asso)q(ciated)h(with)e(a)h(sym)o(b)q(ol)e(that)i(is)f +(de\014ned)i(as)f(a)g(t)o(yp)q(e)g(sp)q(eci\014er)h(in)f(c)o(hapter)g +(4.)0 822 y(See)i(section)f(28.1.4.)1062 1090 y([)p Fv(Generic)h +(function)s Fw(])-1395 b Fs(find-method)19 b Fv(generic)p +Fs(-)p Fv(function)25 b(metho)n(d)p Fs(-)p Fv(quali\014ers)261 +1142 y(sp)n(e)n(cializers)e Fs(&optional)d Fv(err)n(orp)1073 +1194 y Fw([)p Fv(Primary)14 b(metho)n(d)t Fw(])-1395 +b Fs(find-method)42 1246 y(\()p Fv(generic)p Fs(-)p Fv(function)25 +b Fs(standard-generic)o(-func)o(tion\))18 b Fv(metho)n(d)p +Fs(-)p Fv(quali\014ers)42 1298 y(sp)n(e)n(cializers)24 +b Fs(&optional)19 b Fv(err)n(orp)0 1377 y Fw(The)e(generic)g(function)g +Fs(find-method)d Fw(tak)o(es)j(a)f(generic)h(function)g(and)f(returns)i +(the)0 1429 y(metho)q(d)f(ob)r(ject)i(that)f(agrees)h(on)e(metho)q(d)g +(quali\014ers)h(and)g(parameter)f(sp)q(ecializers)0 1481 +y(with)f(the)i Fv(metho)n(d-quali\014ers)i Fw(and)c Fv(sp)n(e)n +(cializers)j Fw(argumen)o(ts)d(of)h Fs(find-method)p +Fw(.)24 b(See)0 1533 y(section)15 b(28.1.6.3)c(for)i(a)h(de\014nition)f +(of)h(agreemen)o(t)f(in)h(this)g(con)o(text.)42 1588 +y(The)g Fv(generic-function)j Fw(argumen)o(t)c(is)h(a)f(generic)i +(function.)42 1643 y(The)j Fv(metho)n(d-quali\014ers)j +Fw(argumen)o(t)c(is)h(a)g(list)f(of)h(the)g(metho)q(d)g(quali\014ers)f +(for)h(the)0 1695 y(metho)q(d.)f(The)e(order)f(of)f(the)i(metho)q(d)e +(quali\014ers)h(is)f(signi\014can)o(t.)42 1749 y(The)20 +b Fv(sp)n(e)n(cializers)i Fw(argumen)o(t)c(is)i(a)f(list)h(of)f(the)h +(parameter)g(sp)q(ecializers)h(for)e(the)0 1801 y(metho)q(d.)j(It)16 +b(m)o(ust)e(corresp)q(ond)j(in)e(length)h(to)f(the)h(n)o(um)o(b)q(er)f +(of)g(required)h(argumen)o(ts)0 1853 y(of)h(the)h(generic)h(function,)e +(or)h(an)f(error)h(is)g(signaled.)28 b(This)18 b(means)e(that)i(to)f +(obtain)0 1905 y(the)d(default)f(metho)q(d)g(on)g(a)g(giv)o(en)g +(generic)h(function,)f(a)g(list)g(whose)h(elemen)o(ts)f(are)h(the)0 +1957 y(class)g(named)f Fs(t)h Fw(m)o(ust)f(b)q(e)h(giv)o(en.)42 +2012 y(If)i(there)h(is)g(no)f(suc)o(h)h(metho)q(d)f(and)g(the)i +Fv(err)n(orp)g Fw(argumen)o(t)d(is)h(not)h(supplied)f(or)h(is)0 +2064 y(non-)p Fs(nil)p Fw(,)e Fs(find-method)f Fw(signals)h(an)h +(error.)25 b(If)16 b(there)h(is)f(no)f(suc)o(h)i(metho)q(d)e(and)h(the) +0 2115 y Fv(err)n(orp)c Fw(argumen)o(t)d(is)h Fs(nil)p +Fw(,)g Fs(find-method)e Fw(returns)k Fs(nil)p Fw(.)17 +b(The)10 b(default)g(v)n(alue)g(of)g Fv(err)n(orp)0 2167 +y Fw(is)k Fs(t)p Fw(.)42 2222 y(The)k(result)i(of)d Fs(find-method)f +Fw(is)j(the)g(metho)q(d)e(ob)r(ject)j(with)e(the)h(giv)o(en)f(metho)q +(d)0 2274 y(quali\014ers)c(and)f(parameter)h(sp)q(ecializers.)42 +2329 y(See)g(section)h(28.1.6.3.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 917 941 +917 940 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(917)1062 295 y Fw([)p Fv(Generic)15 b(function)s +Fw(])-1395 b Fs(function-keywords)18 b Fv(metho)n(d)1073 +347 y Fw([)p Fv(Primary)c(metho)n(d)t Fw(])-1395 b Fs +(function-keywords)18 b(\()p Fv(metho)n(d)25 b Fs(standard-method\))0 +424 y Fw(The)16 b(generic)g(function)f Fs(function-keywords)d +Fw(is)j(used)h(to)f(return)i(the)f(k)o(eyw)o(ord)f(pa-)0 +476 y(rameter)f(sp)q(eci\014ers)i(for)d(a)h(giv)o(en)f(metho)q(d.)42 +529 y(The)h Fv(metho)n(d)k Fw(argumen)o(t)13 b(is)h(a)f(metho)q(d)g(ob) +r(ject.)42 581 y(The)i(generic)g(function)g Fs(function-keywords)c +Fw(returns)16 b(t)o(w)o(o)f(v)n(alues:)k(a)c(list)f(of)g(the)0 +633 y(explicitly)d(named)f(k)o(eyw)o(ords)i(and)g(a)f(b)q(o)q(olean)h +(that)f(states)i(whether)g Fs(&allow-other-)0 685 y(keys)g +Fw(had)h(b)q(een)h(sp)q(eci\014ed)g(in)f(the)g(metho)q(d)f +(de\014nition.)-33 818 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1145 847 a([)p Fv(Sp)n(e)n(cial)i(form)s +Fw(])-1396 b Fs(generic-flet)33 b(\()7 b Ft(f)p Fs(\()p +Fv(function-name)15 b(lamb)n(da-list)375 899 y Fw([)-7 +b([)7 b Ft(#)p Fv(option)14 b Ft(j)21 b(f)p Fv(metho)n(d-description)p +Ft(g)964 884 y Fl(\003)997 899 y Fw(])-7 b(])7 b Fs(\))p +Ft(g)1064 884 y Fl(\003)1088 899 y Fs(\))290 950 y Ft(f)f +Fv(form)p Ft(g)424 935 y Fl(\003)0 1028 y Fw(The)19 b +Fs(generic-flet)d Fw(sp)q(ecial)k(form)d(is)h(analogous)g(to)g(the)i +Fs(flet)e Fw(sp)q(ecial)h(form.)31 b(It)0 1080 y(pro)q(duces)13 +b(new)g(generic)g(functions)f(and)f(establishes)i(new)g(lexical)e +(function)g(de\014nition)0 1132 y(bindings.)22 b(Eac)o(h)16 +b(generic)g(function)f(is)g(created)i(with)e(the)h(set)g(of)f(metho)q +(ds)g(sp)q(eci\014ed)0 1184 y(b)o(y)f(its)g(metho)q(d)f(descriptions.) +42 1236 y(The)j(sp)q(ecial)h(form)d Fs(generic-flet)g +Fw(is)i(used)h(to)f(de\014ne)i(generic)f(functions)f(whose)0 +1288 y(names)c(are)h(meaningful)e(only)h(lo)q(cally)f(and)i(to)g +(execute)i(a)d(series)j(of)d(forms)g(with)g(these)0 1340 +y(function)h(de\014nition)f(bindings.)17 b(An)o(y)c(n)o(um)o(b)q(er)f +(of)g(suc)o(h)i(lo)q(cal)e(generic)i(functions)f(ma)o(y)0 +1392 y(b)q(e)i(de\014ned.)42 1445 y(The)g(names)f(of)h(functions)g +(de\014ned)h(b)o(y)f Fs(generic-flet)d Fw(ha)o(v)o(e)j(lexical)f(scop)q +(e;)i(they)0 1496 y(retain)e(their)f(lo)q(cal)g(de\014nitions)g(only)g +(within)f(the)i(b)q(o)q(dy)g(of)f(the)g Fs(generic-flet)p +Fw(.)j(An)o(y)0 1548 y(references)21 b(within)c(the)h(b)q(o)q(dy)g(of)f +(the)h Fs(generic-flet)e Fw(to)h(functions)h(whose)h(names)0 +1600 y(are)13 b(the)g(same)f(as)g(those)h(de\014ned)h(within)e(the)h +Fs(generic-flet)d Fw(are)j(th)o(us)g(references)i(to)0 +1652 y(the)f(lo)q(cal)e(functions)h(instead)g(of)f(to)h(an)o(y)f +(global)g(functions)h(of)f(the)h(same)f(names.)17 b(The)0 +1704 y(scop)q(e)c(of)f(these)i(generic)f(function)f(de\014nition)g +(bindings,)f(ho)o(w)o(ev)o(er,)i(includes)g(only)e(the)0 +1756 y(b)q(o)q(dy)17 b(of)f Fs(generic-flet)p Fw(,)f(not)i(the)h +(de\014nitions)f(themselv)o(es.)27 b(Within)16 b(the)i(metho)q(d)0 +1808 y(b)q(o)q(dies,)f(lo)q(cal)f(function)h(names)f(that)g(matc)o(h)g +(those)h(b)q(eing)g(de\014ned)h(refer)g(to)e(global)0 +1860 y(functions)e(de\014ned)h(outside)g(the)f Fs(generic-flet)p +Fw(.)i(It)e(is)g(th)o(us)h(not)f(p)q(ossible)g(to)g(de\014ne)0 +1912 y(recursiv)o(e)h(functions)f(with)g Fs(generic-flet)p +Fw(.)42 1964 y(The)j Fv(function-name)s Fw(,)h Fv(lamb)n(da-list)t +Fw(,)f Fv(option)p Fw(,)g Fv(metho)n(d-quali\014er)p +Fw(,)h(and)e Fv(sp)n(e)n(cialize)n(d-)0 2016 y(lamb)n(da-list)h +Fw(argumen)o(ts)c(are)h(the)h(same)e(as)h(for)f Fs(defgeneric)p +Fw(.)42 2069 y(A)f Fs(generic-flet)e Fw(lo)q(cal)i(metho)q(d)f +(de\014nition)h(is)h(iden)o(tical)e(in)h(form)f(to)h(the)i(metho)q(d)0 +2120 y(de\014nition)f(part)i(of)e(a)g Fs(defmethod)p +Fw(.)42 2173 y(The)19 b(b)q(o)q(dy)h(of)e(eac)o(h)i(metho)q(d)f(is)g +(enclosed)i(in)d(an)i(implicit)c(blo)q(c)o(k.)34 b(If)19 +b Fv(function-)0 2225 y(name)e Fw(is)c(a)h(sym)o(b)q(ol,)d(this)i(blo)q +(c)o(k)g(b)q(ears)i(the)f(same)e(name)h(as)g(the)h(generic)h(function.) +i(If)0 2277 y Fv(function-name)i Fw(is)c(a)g(list)f(of)g(the)i(form)d +Fs(\(setf)20 b Fv(symb)n(ol)t Fs(\))p Fw(,)15 b(the)h(name)d(of)i(the)g +(blo)q(c)o(k)g(is)0 2329 y Fv(symb)n(ol)p Fw(.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 918 942 +918 941 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(918)77 b(COMMON)13 +b(LISP)42 295 y Fw(The)e(result)i(returned)g(b)o(y)e +Fs(generic-flet)e Fw(is)j(the)g(v)n(alue)f(or)g(v)n(alues)h(returned)h +(b)o(y)e(the)0 347 y(last)j(form)e(executed.)20 b(If)13 +b(no)h(forms)e(are)j(sp)q(eci\014ed,)g Fs(generic-flet)c +Fw(returns)k Fs(nil)p Fw(.)42 399 y(See)f Fs(generic-labels)p +Fw(,)d Fs(defmethod)p Fw(,)g Fs(defgeneric)p Fw(,)h(and)h +Fs(generic-function)p Fw(.)-33 519 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 548 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(generic-function)32 b Fv(lamb)n(da-list)21 b Fw([)-7 +b([)7 b Ft(#)p Fv(option)14 b Ft(j)21 b(f)p Fv(metho)n(d-description)p +Ft(g)1189 532 y Fl(\003)1222 548 y Fw(])-7 b(])0 662 +y Fv(option)18 b Fw(::=)13 b Fs(\(:argument-prece)o(dence)o(-orde)o(r) +25 b Ft(f)p Fv(p)n(ar)n(ameter)p Fs(-)p Fv(name)s Ft(g)1161 +647 y Fk(+)1195 662 y Fs(\))174 714 y Ft(j)14 b Fs(\(declare)26 +b Ft(f)p Fv(de)n(clar)n(ation)s Ft(g)644 699 y Fk(+)678 +714 y Fs(\))174 766 y Ft(j)14 b Fs(\(:documentation)k +Fv(string)t Fs(\))174 818 y Ft(j)c Fs(\(:method-combina)o(tion)k +Fv(symb)n(ol)32 b Ft(f)p Fv(ar)n(g)t Ft(g)911 803 y Fl(\003)936 +818 y Fs(\))174 870 y Ft(j)14 b Fs(\(:generic-functi)o(on-cl)o(ass)k +Fv(class)p Fs(-)p Fv(name)s Fs(\))174 922 y Ft(j)c Fs(\(:method-class)k +Fv(class)p Fs(-)p Fv(name)s Fs(\))0 974 y Fv(metho)n(d-description)f +Fw(::=)c Fs(\(:method)27 b Ft(f)p Fv(metho)n(d-quali\014er)t +Ft(g)966 959 y Fl(\003)624 1026 y Fv(sp)n(e)n(cialize)n(d-lamb)n +(da-list)631 1078 y Ft(f)p Fv(de)n(clar)n(ation)17 b +Ft(j)e Fv(do)n(cumentation)s Ft(g)1180 1063 y Fl(\003)631 +1129 y Ft(f)7 b Fv(form)s Ft(g)769 1114 y Fl(\003)794 +1129 y Fs(\))0 1219 y Fw(The)16 b Fs(generic-function)c +Fw(macro)j(creates)i(an)f(anon)o(ymous)e(generic)i(function.)23 +b(The)0 1270 y(generic)18 b(function)f(is)g(created)h(with)f(the)h(set) +g(of)e(metho)q(ds)h(sp)q(eci\014ed)i(b)o(y)d(its)i(metho)q(d)0 +1322 y(descriptions.)42 1375 y(The)13 b Fv(option)p Fw(,)g +Fv(metho)n(d-quali\014er)p Fw(,)g(and)f Fv(sp)n(e)n(cialize)n(d-lamb)n +(da-list)k Fw(argumen)o(ts)c(are)h(the)0 1427 y(same)g(as)h(for)g +Fs(defgeneric)p Fw(.)42 1479 y(The)g(generic)h(function)e(ob)r(ject)i +(is)f(returned)h(as)f(the)h(result.)42 1531 y(If)10 b(no)g(metho)q(d)g +(descriptions)h(are)g(sp)q(eci\014ed,)h(an)f(anon)o(ymous)d(generic)k +(function)e(with)0 1583 y(no)k(metho)q(ds)f(is)h(created.)42 +1636 y(See)g Fs(defgeneric)p Fw(,)e Fs(generic-flet)p +Fw(,)e Fs(generic-labels)p Fw(,)h(and)j Fs(defmethod)p +Fw(.)-33 1756 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1145 1784 a([)p Fv(Sp)n(e)n(cial)h(form)s +Fw(])-1396 b Fs(generic-labels)32 b(\()7 b Ft(f)p Fs(\()p +Fv(function-name)15 b(lamb)n(da-list)418 1836 y Fw([)-7 +b([)7 b Ft(#)p Fv(option)14 b Ft(j)22 b(f)p Fv(metho)n(d-description)p +Ft(g)1008 1821 y Fl(\003)1040 1836 y Fw(])-7 b(])7 b +Fs(\))p Ft(g)1107 1821 y Fl(\003)1132 1836 y Fs(\))333 +1888 y Ft(f)g Fv(form)p Ft(g)468 1873 y Fl(\003)0 1965 +y Fw(The)12 b Fs(generic-labels)d Fw(sp)q(ecial)j(form)d(is)j +(analogous)e(to)i(the)g Fs(labels)e Fw(sp)q(ecial)i(form.)k(It)0 +2017 y(pro)q(duces)d(new)g(generic)g(functions)f(and)f(establishes)i +(new)g(lexical)e(function)g(de\014nition)0 2069 y(bindings.)22 +b(Eac)o(h)16 b(generic)g(function)f(is)g(created)i(with)e(the)h(set)g +(of)f(metho)q(ds)g(sp)q(eci\014ed)0 2121 y(b)o(y)f(its)g(metho)q(d)f +(descriptions.)42 2173 y(The)f(sp)q(ecial)g(form)e Fs(generic-labels)f +Fw(is)j(used)h(to)e(de\014ne)i(generic)g(functions)f(whose)0 +2225 y(names)g(are)h(meaningful)e(only)h(lo)q(cally)f(and)i(to)g +(execute)i(a)d(series)j(of)d(forms)g(with)g(these)0 2277 +y(function)h(de\014nition)f(bindings.)17 b(An)o(y)c(n)o(um)o(b)q(er)f +(of)g(suc)o(h)i(lo)q(cal)e(generic)i(functions)f(ma)o(y)0 +2329 y(b)q(e)i(de\014ned.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 919 943 +919 942 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(919)42 295 y Fw(The)11 b(names)e(of)h(functions)h +(de\014ned)h(b)o(y)e Fs(generic-labels)e Fw(ha)o(v)o(e)i(lexical)g +(scop)q(e;)i(they)0 347 y(retain)20 b(their)g(lo)q(cal)e(de\014nitions) +i(only)e(within)h(the)h(b)q(o)q(dy)g(of)f(the)h Fs(generic-labels)0 +399 y Fw(construct.)h(An)o(y)14 b(references)j(within)d(the)h(b)q(o)q +(dy)f(of)g(the)h Fs(generic-labels)c Fw(construct)0 450 +y(to)i(functions)h(whose)f(names)g(are)h(the)g(same)e(as)h(those)i +(de\014ned)f(within)f(the)g Fs(generic-)0 502 y(labels)e +Fw(form)f(are)i(th)o(us)g(references)j(to)d(the)g(lo)q(cal)f(functions) +h(instead)g(of)f(to)h(an)o(y)f(global)0 554 y(functions)16 +b(of)f(the)h(same)f(names.)23 b(The)17 b(scop)q(e)g(of)e(these)i +(generic)g(function)e(de\014nition)0 606 y(bindings)i(includes)h(the)g +(metho)q(d)e(b)q(o)q(dies)i(themselv)o(es)f(as)h(w)o(ell)f(as)g(the)h +(b)q(o)q(dy)f(of)g(the)0 658 y Fs(generic-labels)11 b +Fw(construct.)42 710 y(The)17 b Fv(function-name)s Fw(,)h +Fv(lamb)n(da-list)t Fw(,)f Fv(option)p Fw(,)g Fv(metho)n(d-quali\014er) +p Fw(,)h(and)e Fv(sp)n(e)n(cialize)n(d-)0 762 y(lamb)n(da-list)h +Fw(argumen)o(ts)c(are)h(the)h(same)e(as)h(for)f Fs(defgeneric)p +Fw(.)42 814 y(A)23 b Fs(generic-labels)d Fw(lo)q(cal)i(metho)q(d)g +(de\014nition)h(is)g(iden)o(tical)f(in)h(form)e(to)i(the)0 +866 y(metho)q(d)13 b(de\014nition)h(part)g(of)f(a)g Fs(defmethod)p +Fw(.)42 918 y(The)19 b(b)q(o)q(dy)h(of)e(eac)o(h)i(metho)q(d)f(is)g +(enclosed)i(in)d(an)i(implicit)c(blo)q(c)o(k.)34 b(If)19 +b Fv(function-)0 970 y(name)e Fw(is)c(a)h(sym)o(b)q(ol,)d(this)i(blo)q +(c)o(k)g(b)q(ears)i(the)f(same)e(name)h(as)g(the)h(generic)h(function.) +i(If)0 1022 y Fv(function-name)i Fw(is)c(a)g(list)f(of)g(the)i(form)d +Fs(\(setf)20 b Fv(symb)n(ol)t Fs(\))p Fw(,)15 b(the)h(name)d(of)i(the)g +(blo)q(c)o(k)g(is)0 1074 y Fv(symb)n(ol)p Fw(.)42 1126 +y(The)f(result)g(returned)i(b)o(y)e Fs(generic-labels)d +Fw(is)i(the)i(v)n(alue)e(or)h(v)n(alues)f(returned)j(b)o(y)0 +1178 y(the)i(last)g(form)e(executed.)32 b(If)17 b(no)h(forms)e(are)i +(sp)q(eci\014ed,)i Fs(generic-labels)15 b Fw(returns)0 +1230 y Fs(nil)p Fw(.)42 1282 y(See)f Fs(generic-flet)p +Fw(,)d Fs(defmethod)p Fw(,)h Fs(defgeneric)p Fw(,)f Fs +(generic-function)p Fw(.)1062 1421 y([)p Fv(Generic)k(function)s +Fw(])-1395 b Fs(initialize-instan)o(ce)18 b Fv(instanc)n(e)25 +b Fs(&rest)20 b Fv(initar)n(gs)1073 1472 y Fw([)p Fv(Primary)14 +b(metho)n(d)t Fw(])-1395 b Fs(initialize-instan)o(ce)18 +b(\()p Fv(instanc)n(e)25 b Fs(standard-object\))42 1524 +y(&rest)20 b Fv(initar)n(gs)0 1601 y Fw(The)25 b(generic)h(function)f +Fs(initialize-instanc)o(e)d Fw(is)j(called)g(b)o(y)f +Fs(make-instance)0 1653 y Fw(to)c(initialize)f(a)h(newly)g(created)i +(instance.)38 b(The)21 b(generic)g(function)f Fs(initialize-)0 +1705 y(instance)13 b Fw(is)h(called)h(with)f(the)h(new)g(instance)h +(and)e(the)h(defaulted)g(initialization)d(ar-)0 1757 +y(gumen)o(ts.)42 1809 y(The)i(system-supplied)g(primary)e(metho)q(d)h +(on)h Fs(initialize-instan)o(ce)d Fw(initializes)0 1861 +y(the)j(slots)f(of)f(the)i(instance)f(with)g(v)n(alues)g(according)g +(to)g(the)g(initialization)d(argumen)o(ts)0 1913 y(and)19 +b(the)h Fs(:initform)d Fw(forms)h(of)h(the)h(slots.)34 +b(It)20 b(do)q(es)g(this)f(b)o(y)g(calling)f(the)i(generic)0 +1965 y(function)c Fs(shared-initialize)d Fw(with)j(the)g(follo)o(wing)e +(argumen)o(ts:)22 b(the)17 b(instance,)g Fs(t)0 2017 +y Fw(\(this)11 b(indicates)h(that)f(all)f(slots)i(for)f(whic)o(h)g(no)g +(initialization)e(argumen)o(ts)h(are)i(pro)o(vided)0 +2069 y(should)k(b)q(e)g(initialized)e(according)i(to)f(their)h +Fs(:initform)e Fw(forms\))h(and)g(the)i(defaulted)0 2120 +y(initialization)11 b(argumen)o(ts.)42 2173 y(The)j Fv(instanc)n(e)j +Fw(argumen)o(t)c(is)h(the)g(ob)r(ject)h(to)f(b)q(e)g(initialized.)42 +2225 y(The)d Fv(initar)n(gs)i Fw(argumen)o(t)d(consists)i(of)e +(alternating)h(initialization)d(argumen)o(t)i(names)0 +2277 y(and)k(v)n(alues.)42 2329 y(The)g(mo)q(di\014ed)e(instance)j(is)f +(returned)h(as)f(the)h(result.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 920 944 +920 943 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(920)77 b(COMMON)13 +b(LISP)42 295 y Fw(Programmers)f(can)i(de\014ne)h(metho)q(ds)e(for)h +Fs(initialize-insta)o(nce)d Fw(to)i(sp)q(ecify)i(ac-)0 +347 y(tions)j(to)h(b)q(e)g(tak)o(en)g(when)g(an)f(instance)h(is)g +(initialized.)30 b(If)18 b(only)g Fs(:after)f Fw(metho)q(ds)0 +399 y(are)h(de\014ned,)g(they)g(will)d(b)q(e)j(run)f(after)h(the)g +(system-supplied)e(primary)g(metho)q(d)g(for)0 450 y(initialization)i +(and)j(therefore)i(will)d(not)h(in)o(terfere)h(with)f(the)h(default)e +(b)q(eha)o(vior)h(of)0 502 y Fs(initialize-instan)o(ce)p +Fw(.)42 555 y(See)c(sections)h(28.1.9,)d(28.1.9.4,)g(and)i(28.1.9.2)d +(as)j(w)o(ell)f(as)h Fs(shared-initializ)o(e)p Fw(,)0 +607 y Fs(make-instance)p Fw(,)11 b Fs(slot-boundp)p Fw(,)g(and)i +Fs(slot-makunbound)p Fw(.)1209 765 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(invalid-method-er)o(ror)18 b Fv(metho)n(d)26 +b(format)p Fs(-)p Fv(string)d Fs(&rest)d Fv(ar)n(gs)0 +843 y Fw(The)e(function)e Fs(invalid-method-erro)o(r)e +Fw(is)j(used)h(to)f(signal)f(an)h(error)h(when)f(there)0 +895 y(is)d(an)f(applicable)g(metho)q(d)g(whose)h(quali\014ers)g(are)g +(not)g(v)n(alid)e(for)h(the)i(metho)q(d)e(com)o(bi-)0 +947 y(nation)h(t)o(yp)q(e.)21 b(The)16 b(error)g(message)e(is)h +(constructed)i(b)o(y)d(using)h(a)f Fs(format)g Fw(string)h(and)0 +998 y(an)o(y)e(argumen)o(ts)f(to)h(it.)18 b(Because)d(an)e(implem)o(en) +o(tation)d(ma)o(y)h(need)k(to)e(add)g(additional)0 1050 +y(con)o(textual)i(information)c(to)j(the)h(error)h(message,)e +Fs(invalid-method-e)o(rror)d Fw(should)0 1102 y(b)q(e)k(called)e(only)g +(within)g(the)i(dynamic)d(exten)o(t)j(of)e(a)h(metho)q(d)f(com)o +(bination)e(function.)42 1155 y(The)29 b(function)g Fs(invalid-method-) +o(error)c Fw(is)k(called)g(automatically)d(when)j(a)0 +1207 y(metho)q(d)19 b(fails)f(to)i(satisfy)f(ev)o(ery)h(quali\014er)f +(pattern)i(and)e(predicate)i(in)e(a)g Fs(define-)0 1259 +y(method-combinatio)o(n)d Fw(form.)32 b(A)20 b(metho)q(d)e(com)o +(bination)e(function)j(that)g(imp)q(oses)0 1310 y(additional)13 +b(restrictions)k(should)e(call)g Fs(invalid-method-e)o(rror)d +Fw(explicitly)i(if)g(it)h(en-)0 1362 y(coun)o(ters)g(a)f(metho)q(d)f +(it)g(cannot)h(accept.)42 1415 y(The)g Fv(metho)n(d)k +Fw(argumen)o(t)13 b(is)h(the)g(in)o(v)n(alid)e(metho)q(d)h(ob)r(ject.) +42 1467 y(The)e Fv(format-string)j Fw(argumen)o(t)c(is)h(a)g(con)o +(trol)g(string)g(that)g(can)h(b)q(e)g(giv)o(en)e(to)h +Fs(format)p Fw(,)0 1519 y(and)j Fv(ar)n(gs)j Fw(are)d(an)o(y)f(argumen) +o(ts)g(required)i(b)o(y)f(that)g(string.)42 1572 y(Whether)h +Fs(invalid-method-)o(error)10 b Fw(returns)16 b(to)e(its)g(caller)g(or) +g(exits)g(via)f Fs(throw)g Fw(is)0 1624 y(implemen)o(tatio)o(n-dep)q +(enden)o(t.)42 1676 y(See)h Fs(define-method-combi)o(natio)o(n)p +Fw(.)1062 1835 y([)p Fv(Generic)h(function)s Fw(])-1395 +b Fs(make-instance)18 b Fv(class)25 b Fs(&rest)20 b Fv(initar)n(gs)1073 +1887 y Fw([)p Fv(Primary)14 b(metho)n(d)t Fw(])-1395 +b Fs(make-instance)18 b(\()p Fv(class)25 b Fs(standard-class\))304 +1939 y(&rest)c Fv(initar)n(gs)1073 1991 y Fw([)p Fv(Primary)14 +b(metho)n(d)t Fw(])-1395 b Fs(make-instance)18 b(\()p +Fv(class)25 b Fs(symbol\))19 b(&rest)i Fv(initar)n(gs)0 +2068 y Fw(The)11 b(generic)h(function)f Fs(make-instance)d +Fw(creates)k(a)f(new)g(instance)h(of)e(the)h(giv)o(en)g(class.)42 +2121 y(The)21 b(generic)i(function)e Fs(make-instance)e +Fw(ma)o(y)g(b)q(e)j(used)h(as)e(describ)q(ed)j(in)d(sec-)0 +2172 y(tion)13 b(28.1.9.)42 2225 y(The)i Fv(class)j Fw(argumen)o(t)c +(is)h(a)f(class)i(ob)r(ject)f(or)g(a)g(sym)o(b)q(ol)e(that)i(names)f(a) +h(class.)21 b(The)0 2277 y(remaining)11 b(argumen)o(ts)i(form)f(a)h +(list)g(of)g(alternating)g(initialization)d(argumen)o(t)j(names)0 +2329 y(and)h(v)n(alues.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 921 945 +921 944 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(921)42 295 y Fw(If)18 b(the)h(second)h(of)e(the)h +(preceding)h(metho)q(ds)e(is)g(selected,)k(that)c(metho)q(d)g(in)o(v)o +(ok)o(es)0 347 y Fs(make-instance)11 b Fw(on)j(the)g(argumen)o(ts)f +Fs(\(find-class)19 b Fv(class)s Fs(\))14 b Fw(and)g Fv(initar)n(gs)p +Fw(.)42 399 y(The)j(initialization)d(argumen)o(ts)j(are)g(c)o(hec)o(k)o +(ed)i(within)d Fs(make-instance)e Fw(\(see)19 b(sec-)0 +451 y(tion)13 b(28.1.9\).)42 504 y(The)h(new)g(instance)h(is)f +(returned.)42 556 y(The)19 b(meta-ob)r(ject)g(proto)q(col)g(can)g(b)q +(e)h(used)g(to)f(de\014ne)h(new)g(metho)q(ds)f(on)g Fs(make-)0 +608 y(instance)12 b Fw(to)i(replace)h(the)f(ob)r(ject-creation)h(proto) +q(col.)42 661 y(See)d(section)h(28.1.9)d(as)i(w)o(ell)g(as)g +Fs(defclass)p Fw(,)e Fs(initialize-instanc)o(e)p Fw(,)f(and)j +Fs(class-)0 712 y(of)p Fw(.)1062 870 y([)p Fv(Generic)j(function)s +Fw(])-1395 b Fs(make-instances-ob)o(solet)o(e)18 b Fv(class)1073 +922 y Fw([)p Fv(Primary)c(metho)n(d)t Fw(])-1395 b Fs +(make-instances-ob)o(solet)o(e)18 b(\()p Fv(class)25 +b Fs(standard-class\))1073 974 y Fw([)p Fv(Primary)14 +b(metho)n(d)t Fw(])-1395 b Fs(make-instances-ob)o(solet)o(e)18 +b(\()p Fv(class)25 b Fs(symbol\))0 1052 y Fw(The)13 b(generic)h +(function)f Fs(make-instances-)o(obsol)o(ete)d Fw(is)i(in)o(v)o(ok)o +(ed)g(automatically)e(b)o(y)0 1104 y(the)19 b(system)f(when)g +Fs(defclass)f Fw(has)h(b)q(een)h(used)g(to)f(rede\014ne)i(an)e +(existing)f(standard)0 1155 y(class)12 b(and)g(the)g(set)g(of)f(lo)q +(cal)g(slots)h(accessible)h(in)e(an)g(instance)i(is)e(c)o(hanged)h(or)g +(the)g(order)0 1207 y(of)h(slots)h(in)g(storage)g(is)g(c)o(hanged.)k +(It)c(can)g(also)g(b)q(e)g(explicitly)f(in)o(v)o(ok)o(ed)g(b)o(y)h(the) +g(user.)42 1260 y(The)20 b(function)g Fs(make-instances-obs)o(olet)o(e) +d Fw(has)k(the)g(e\013ect)g(of)f(initiating)e(the)0 1312 +y(pro)q(cess)f(of)e(up)q(dating)f(the)i(instances)h(of)d(the)i(class.) +23 b(During)14 b(up)q(dating,)h(the)h(generic)0 1364 +y(function)e Fs(update-instance)o(-for-)o(redef)o(ined-)o(class)c +Fw(will)j(b)q(e)h(in)o(v)o(ok)o(ed.)42 1416 y(The)k Fv(class)i +Fw(argumen)o(t)d(is)g(a)g(class)h(ob)r(ject)h(sym)o(b)q(ol)d(that)h +(names)g(the)h(class)g(whose)0 1468 y(instances)d(are)f(to)g(b)q(e)h +(made)d(obsolete.)42 1521 y(If)18 b(the)h(second)h(of)e(the)h +(preceding)h(metho)q(ds)e(is)g(selected,)k(that)c(metho)q(d)g(in)o(v)o +(ok)o(es)0 1572 y Fs(make-instances-ob)o(solet)o(e)11 +b Fw(on)j Fs(\(find-class)19 b Fv(class)s Fs(\))p Fw(.)42 +1625 y(The)d(mo)q(di\014ed)f(class)i(is)f(returned.)28 +b(The)17 b(result)g(of)f Fs(make-instances-)o(obsol)o(ete)0 +1677 y Fw(is)e Fs(eq)f Fw(to)h(the)g Fv(class)g Fw(argumen)o(t)f +(supplied)h(to)g(the)g(\014rst)h(of)e(the)h(preceding)h(metho)q(ds.)42 +1729 y(See)f(section)h(28.1.10)d(as)i(w)o(ell)f(as)h +Fs(update-instance-)o(for-r)o(edefi)o(ned-)o(class)o +Fw(.)1209 1887 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs +(method-combinatio)o(n-err)o(or)18 b Fv(format)p Fs(-)p +Fv(string)24 b Fs(&rest)c Fv(ar)n(gs)0 1965 y Fw(The)10 +b(function)g Fs(method-combinatio)o(n-err)o(or)d Fw(is)i(used)i(to)f +(signal)f(an)g(error)i(in)f(metho)q(d)0 2017 y(com)o(bination.)16 +b(The)e(error)h(message)e(is)h(constructed)i(b)o(y)d(using)h(a)f +Fs(format)g Fw(string)h(and)0 2069 y(an)o(y)f(argumen)o(ts)f(to)h(it.) +18 b(Because)d(an)e(implem)o(en)o(tation)d(ma)o(y)h(need)k(to)e(add)g +(additional)0 2121 y(con)o(textual)22 b(information)c(to)k(the)g(error) +h(message,)g Fs(method-combinati)o(on-er)o(ror)0 2172 +y Fw(should)18 b(b)q(e)h(called)f(only)f(within)h(the)h(dynamic)d +(exten)o(t)j(of)f(a)g(metho)q(d)f(com)o(bination)0 2224 +y(function.)42 2277 y(The)11 b Fv(format-string)j Fw(argumen)o(t)c(is)h +(a)g(con)o(trol)g(string)g(that)g(can)h(b)q(e)g(giv)o(en)e(to)h +Fs(format)p Fw(,)0 2329 y(and)j Fv(ar)n(gs)j Fw(are)d(an)o(y)f(argumen) +o(ts)g(required)i(b)o(y)f(that)g(string.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 922 946 +922 945 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(922)77 b(COMMON)13 +b(LISP)42 295 y Fw(Whether)24 b Fs(method-combination)o(-erro)o(r)d +Fw(returns)k(to)f(its)f(caller)h(or)g(exits)g(via)0 347 +y Fs(throw)13 b Fw(is)h(implem)o(en)o(tation-dep)q(enden)o(t.)42 +399 y(See)g Fs(define-method-combi)o(natio)o(n)p Fw(.)1062 +542 y([)p Fv(Generic)h(function)s Fw(])-1395 b Fs(method-qualifiers)18 +b Fv(metho)n(d)1073 594 y Fw([)p Fv(Primary)c(metho)n(d)t +Fw(])-1395 b Fs(method-qualifiers)18 b(\()p Fv(metho)n(d)25 +b Fs(standard-method\))0 671 y Fw(The)12 b(generic)g(function)g +Fs(method-qualifie)o(rs)d Fw(returns)k(a)e(list)g(of)g(the)h +(quali\014ers)f(of)g(the)0 723 y(giv)o(en)i(metho)q(d.)42 +775 y(The)h Fv(metho)n(d)k Fw(argumen)o(t)13 b(is)h(a)f(metho)q(d)g(ob) +r(ject.)42 827 y(A)g(list)h(of)f(the)i(quali\014ers)e(of)h(the)g(giv)o +(en)g(metho)q(d)f(is)g(returned.)42 880 y(Example:)0 +968 y Fs(\(setq)20 b(methods)g(\(remove-duplicate)o(s)e(methods)699 +1020 y(:from-end)h(t)699 1072 y(:key)h(#)807 1068 y(-)807 +1076 y(-)n Fn(')850 1072 y Fs(method-qualifiers)699 1124 +y(:test)g(#)829 1120 y(-)829 1128 y(-)m Fn(')872 1124 +y Fs(equal\)\))42 1212 y Fw(See)14 b Fs(define-method-combi)o(natio)o +(n)p Fw(.)1209 1355 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(next-method-p)0 1432 y Fw(The)15 b(lo)q(cally)e(de\014ned)j +(function)f Fs(next-method-p)d Fw(can)i(b)q(e)i(used)f(within)f(the)i +(b)q(o)q(dy)e(of)0 1484 y(a)k(metho)q(d)g(de\014ned)h(b)o(y)f(a)h +(metho)q(d-de\014ning)e(form)g(to)h(determine)g(whether)i(a)e(next)0 +1536 y(metho)q(d)13 b(exists.)42 1588 y(The)h(function)f +Fs(next-method-p)f Fw(tak)o(es)i(no)g(argumen)o(ts.)42 +1641 y(The)g(function)f Fs(next-method-p)f Fw(returns)j(true)g(or)f +(false.)42 1693 y(Lik)o(e)c Fs(call-next-method)p Fw(,)e(the)k +(function)e Fs(next-method-p)e Fw(has)k(lexical)e(scop)q(e)i(\(for)0 +1745 y(it)i(is)h(de\014ned)g(only)f(within)g(the)h(b)q(o)q(dy)g(of)f(a) +g(metho)q(d)g(de\014ned)i(b)o(y)e(a)h(metho)q(d-de\014ning)0 +1797 y(form\))d(and)i(inde\014nite)g(exten)o(t.)42 1849 +y(See)g Fs(call-next-method)p Fw(.)1062 1992 y([)p Fv(Generic)h +(function)s Fw(])-1395 b Fs(no-applicable-met)o(hod)18 +b Fv(generic)p Fs(-)p Fv(function)42 2044 y Fs(&rest)i +Fv(function)p Fs(-)p Fv(ar)n(guments)1073 2096 y Fw([)p +Fv(Primary)14 b(metho)n(d)t Fw(])-1395 b Fs(no-applicable-met)o(hod)18 +b(\()p Fv(generic)p Fs(-)p Fv(function)24 b Fs(t\))42 +2148 y(&rest)c Fv(function)p Fs(-)p Fv(ar)n(guments)0 +2225 y Fw(The)10 b(generic)h(function)f Fs(no-applicable-met)o(hod)d +Fw(is)i(called)h(when)h(a)e(generic)i(function)0 2277 +y(of)j(the)h(class)f Fs(standard-generic-fu)o(nctio)o(n)d +Fw(is)k(in)o(v)o(ok)o(ed)e(and)h(no)g(metho)q(d)g(on)g(that)0 +2329 y(generic)h(function)e(is)h(applicable.)j(The)e(default)e(metho)q +(d)g(signals)g(an)h(error.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 923 947 +923 946 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(923)42 295 y Fw(The)16 b(generic)h(function)e +Fs(no-applicable-method)d Fw(is)k(not)g(in)o(tended)h(to)e(b)q(e)i +(called)0 347 y(b)o(y)d(programmers.)i(Programmers)c(ma)o(y)g(write)i +(metho)q(ds)f(for)h(it.)42 404 y(The)19 b Fv(generic-function)j +Fw(argumen)o(t)c(of)g Fs(no-applicable-meth)o(od)e Fw(is)i(the)i +(generic)0 455 y(function)14 b(ob)r(ject)g(on)g(whic)o(h)g(no)f +(applicable)g(metho)q(d)g(w)o(as)h(found.)42 512 y(The)f +Fv(function-ar)n(guments)g Fw(argumen)o(t)e(is)h(a)h(list)f(of)g(the)h +(argumen)o(ts)f(to)g(that)h(generic)0 564 y(function.)1062 +937 y([)p Fv(Generic)i(function)s Fw(])-1395 b Fs(no-next-method)18 +b Fv(generic)p Fs(-)p Fv(function)25 b(metho)n(d)h Fs(&rest)20 +b Fv(ar)n(gs)1073 989 y Fw([)p Fv(Primary)14 b(metho)n(d)t +Fw(])-1395 b Fs(no-next-method)42 1041 y(\()p Fv(generic)p +Fs(-)p Fv(function)25 b Fs(standard-generic)o(-func)o(tion\))42 +1093 y(\()p Fv(metho)n(d)h Fs(standard-method\))18 b(&rest)i +Fv(ar)n(gs)0 1174 y Fw(The)c(generic)g(function)g Fs(no-next-method)c +Fw(is)k(called)f(b)o(y)g Fs(call-next-method)d Fw(when)0 +1226 y(there)18 b(is)e(no)g(next)h(metho)q(d.)25 b(The)17 +b(system-supplied)f(metho)q(d)f(on)i Fs(no-next-method)0 +1278 y Fw(signals)c(an)h(error.)42 1335 y(The)g(generic)h(function)f +Fs(no-next-method)e Fw(is)i(not)g(in)o(tended)h(to)f(b)q(e)h(called)f +(b)o(y)g(pro-)0 1387 y(grammers.)i(Programmers)c(ma)o(y)g(write)i +(metho)q(ds)g(for)f(it.)42 1444 y(The)h Fv(generic-function)k +Fw(argumen)o(t)13 b(is)h(the)g(generic)h(function)f(ob)r(ject)h(to)f +(whic)o(h)g(the)0 1496 y(metho)q(d)f(that)h(is)g(the)g(second)h +(argumen)o(t)e(b)q(elongs.)42 1553 y(The)h Fv(metho)n(d)19 +b Fw(argumen)o(t)13 b(is)h(the)g(metho)q(d)g(that)g(con)o(tains)g(the)h +(call)e(to)h Fs(call-next-)0 1605 y(method)f Fw(for)g(whic)o(h)h(there) +h(is)f(no)f(next)i(metho)q(d.)42 1662 y(The)f Fv(ar)n(gs)j +Fw(argumen)o(t)c(is)g(a)h(list)f(of)h(the)g(argumen)o(ts)f(to)h +Fs(call-next-method)p Fw(.)42 1718 y(See)g Fs(call-next-method)p +Fw(.)1062 2091 y([)p Fv(Generic)h(function)s Fw(])-1395 +b Fs(print-object)19 b Fv(obje)n(ct)25 b(str)n(e)n(am)1073 +2143 y Fw([)p Fv(Primary)14 b(metho)n(d)t Fw(])-1395 +b Fs(print-object)19 b(\()p Fv(obje)n(ct)24 b Fs(standard-object\))18 +b Fv(str)n(e)n(am)0 2225 y Fw(The)g(generic)g(function)f +Fs(print-object)d Fw(writes)k(the)g(prin)o(ted)g(represen)o(tation)g +(of)f(an)0 2277 y(ob)r(ject)c(to)f(a)g(stream.)17 b(The)c(function)f +Fs(print-object)d Fw(is)j(called)g(b)o(y)g(the)h(prin)o(t)f(system;)0 +2329 y(it)i(should)f(not)h(b)q(e)g(called)g(b)o(y)g(the)g(user.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 924 948 +924 947 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(924)77 b(COMMON)13 +b(LISP)42 295 y Fw(Eac)o(h)d(implem)o(en)o(tation)d(m)o(ust)i(pro)o +(vide)h(a)f(metho)q(d)g(on)h(the)h(class)f Fs(standard-object)0 +347 y Fw(and)k(metho)q(ds)g(on)h(enough)f(other)h(classes)h(so)f(as)f +(to)h(ensure)h(that)e(there)i(is)e(alw)o(a)o(ys)g(an)0 +399 y(applicable)9 b(metho)q(d.)16 b(Implemen)o(tations)8 +b(are)i(free)h(to)f(add)h(metho)q(ds)e(for)h(other)h(classes.)0 +450 y(Users)19 b(can)e(write)g(metho)q(ds)f(for)h Fs(print-object)e +Fw(for)h(their)i(o)o(wn)e(classes)i(if)e(they)i(do)0 +502 y(not)c(wish)g(to)f(inherit)h(an)g(implemen)o(tatio)o(n-supplied)d +(metho)q(d.)42 555 y(The)i(\014rst)g(argumen)o(t)f(is)h(an)o(y)f(Lisp)h +(ob)r(ject.)18 b(The)13 b(second)h(argumen)o(t)e(is)g(a)h(stream;)f(it) +0 607 y(cannot)i(b)q(e)h Fs(t)e Fw(or)h Fs(nil)p Fw(.)42 +660 y(The)g(function)f Fs(print-object)f Fw(returns)j(its)f(\014rst)h +(argumen)o(t,)d(the)j(ob)r(ject.)42 713 y(Metho)q(ds)k(on)f +Fs(print-object)e Fw(m)o(ust)h(ob)q(ey)i(the)g(prin)o(t)f(con)o(trol)g +(sp)q(ecial)g(v)n(ariables)0 765 y(named)13 b Fs(*print-)p +Fv(xxx)p Fs(*)g Fw(for)g(v)n(arious)g Fv(xxx)p Fw(.)19 +b(The)14 b(sp)q(eci\014c)i(details)e(are)g(the)g(follo)o(wing:)0 +839 y Fu(.)42 848 y Fw(Eac)o(h)g(metho)q(d)f(m)o(ust)g(implem)o(en)o(t) +f Fs(*print-escape*)p Fw(.)0 934 y Fu(.)42 943 y Fw(The)21 +b Fs(*print-pretty*)c Fw(con)o(trol)k(v)n(ariable)e(can)i(b)q(e)g +(ignored)f(b)o(y)h(most)e(metho)q(ds)42 995 y(other)14 +b(than)g(the)g(one)g(for)g(lists.)0 1080 y Fu(.)42 1089 +y Fw(The)f Fs(*print-circle*)d Fw(con)o(trol)i(v)n(ariable)g(is)h +(handled)g(b)o(y)f(the)i(prin)o(ter)f(and)g(can)g(b)q(e)42 +1141 y(ignored)g(b)o(y)h(metho)q(ds.)0 1227 y Fu(.)42 +1236 y Fw(The)e(prin)o(ter)g(tak)o(es)g(care)h(of)e Fs(*print-level*)e +Fw(automatically)m(,)g(pro)o(vided)i(that)h(eac)o(h)42 +1287 y(metho)q(d)f(handles)i(exactly)f(one)h(lev)o(el)f(of)g(structure) +i(and)e(calls)g Fs(write)f Fw(\(or)i(an)f(equiv-)42 1339 +y(alen)o(t)g(function\))h(recursiv)o(ely)h(if)e(there)j(are)e(more)f +(structural)i(lev)o(els.)k(The)13 b(prin)o(ter's)42 1391 +y(decision)18 b(of)f(whether)i(an)f(ob)r(ject)h(has)f(comp)q(onen)o(ts) +g(\(and)g(therefore)h(should)f(not)42 1443 y(b)q(e)i(prin)o(ted)g(when) +h(the)f(prin)o(ting)g(depth)g(is)g(not)g(less)h(than)f +Fs(*print-level*)p Fw(\))d(is)42 1495 y(implem)o(en)o(tation-dep)q +(enden)o(t.)39 b(In)21 b(some)g(implemen)o(tati)o(ons)e(its)i +Fs(print-object)42 1547 y Fw(metho)q(d)11 b(is)i(not)f(called;)g(in)g +(others)i(the)f(metho)q(d)f(is)g(called,)g(and)h(the)g(determination)42 +1599 y(that)k(the)g(ob)r(ject)h(has)g(comp)q(onen)o(ts)e(is)h(based)h +(on)f(what)g(it)g(tries)h(to)f(write)g(to)g(the)42 1651 +y(stream.)0 1736 y Fu(.)42 1745 y Fw(Metho)q(ds)24 b(that)g(pro)q(duce) +h(output)e(of)g(inde\014nite)h(length)g(m)o(ust)e(ob)q(ey)i +Fs(*print-)42 1797 y(length*)p Fw(,)11 b(but)k(most)d(metho)q(ds)i +(other)g(than)g(the)h(one)f(for)f(lists)h(can)g(ignore)g(it.)0 +1883 y Fu(.)42 1892 y Fw(The)d Fs(*print-base*)p Fw(,)e +Fs(*print-radix*)p Fw(,)f Fs(*print-case*)p Fw(,)h Fs(*print-gensym*)p +Fw(,)f(and)42 1944 y Fs(*print-array*)j Fw(con)o(trol)i(v)n(ariables)g +(apply)h(to)f(sp)q(eci\014c)j(t)o(yp)q(es)e(of)g(ob)r(jects)h(and)e +(are)42 1995 y(handled)g(b)o(y)h(the)g(metho)q(ds)g(for)f(those)i(ob)r +(jects.)0 2081 y Fu(.)42 2090 y Fw(X3J13)d(v)o(oted)i(in)e(June)i(1989) +f Ft(h)p Fw(40)p Ft(i)f Fw(to)h(add)g(the)h(follo)o(wing)d(p)q(oin)o +(t.)17 b(All)12 b(metho)q(ds)h(for)42 2142 y Fs(print-object)d +Fw(m)o(ust)h(ob)q(ey)i Fs(*print-readably*)p Fw(,)c(whic)o(h)k(tak)o +(es)g(precedence)j(o)o(v)o(er)42 2194 y(all)10 b(other)j(prin)o(ter)g +(con)o(trol)f(v)n(ariables.)k(This)c(includes)h(b)q(oth)f +(user-de\014ned)i(metho)q(ds)42 2246 y(and)f(implemen)o +(tation-de\014ned)f(metho)q(ds.)42 2329 y(If)h(these)i(rules)g(are)f +(not)g(ob)q(ey)o(ed,)g(the)g(results)i(are)e(unde\014ned.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 925 949 +925 948 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(925)42 295 y Fw(In)16 b(general,)g(the)g(prin)o(ter)h +(and)f(the)h Fs(print-object)c Fw(metho)q(ds)j(should)f(not)h(rebind)0 +347 y(the)f(prin)o(t)f(con)o(trol)g(v)n(ariables)g(as)g(they)h(op)q +(erate)g(recursiv)o(ely)h(through)e(the)h(structure,)0 +399 y(but)f(this)g(is)g(implemen)o(tati)o(on-dep)q(enden)o(t.)42 +451 y(In)h(some)f(implemen)o(tations)e(the)k(stream)f(argumen)o(t)f +(passed)i(to)f(a)g Fs(print-object)0 503 y Fw(metho)q(d)k(is)g(not)g +(the)i(original)c(stream)i(but)h(is)f(an)h(in)o(termediate)e(stream)h +(that)h(im-)0 554 y(plemen)o(ts)d(part)h(of)f(the)h(prin)o(ter.)30 +b(Metho)q(ds)18 b(should)f(therefore)i(not)f(dep)q(end)h(on)e(the)0 +606 y(iden)o(tit)o(y)c(of)h(this)g(stream.)42 658 y(All)c(of)h(the)i +(existing)e(prin)o(ting)g(functions)h(\()p Fs(write)p +Fw(,)f Fs(prin1)p Fw(,)f Fs(print)p Fw(,)h Fs(princ)p +Fw(,)f Fs(pprint)p Fw(,)0 710 y Fs(write-to-string)p +Fw(,)26 b Fs(prin1-to-string)p Fw(,)g Fs(princ-to-string)p +Fw(,)h(the)1187 714 y Fn(~)1210 710 y Fs(S)f Fw(and)1350 +714 y Fn(~)1373 710 y Fs(A)0 762 y(format)17 b Fw(op)q(erations,)j(and) +f(the)529 766 y Fn(~)552 762 y Fs(B)p Fw(,)602 766 y +Fn(~)625 762 y Fs(D)p Fw(,)675 766 y Fn(~)698 762 y Fs(E)p +Fw(,)748 766 y Fn(~)771 762 y Fs(F)p Fw(,)821 766 y Fn(~)844 +762 y Fs(G)p Fw(,)894 766 y Fn(~)918 762 y Fs($)p Fw(,)968 +766 y Fn(~)992 762 y Fs(O)p Fw(,)1042 766 y Fn(~)1065 +762 y Fs(R)p Fw(,)f(and)1200 766 y Fn(~)1224 762 y Fs(X)g(format)0 +814 y Fw(op)q(erations)k(when)g(they)g(encoun)o(ter)i(a)d(non-n)o +(umeric)g(v)n(alue\))g(are)h(required)h(to)e(b)q(e)0 +866 y(c)o(hanged)15 b(to)g(go)g(through)g(the)h Fs(print-object)c +Fw(generic)k(function.)21 b(Eac)o(h)16 b(implem)o(en-)0 +918 y(tation)11 b(is)h(required)h(to)f(replace)g(its)g(former)f +(implemen)o(tation)e(of)i(prin)o(ting)g(with)h(one)g(or)0 +970 y(more)d Fs(print-object)f Fw(metho)q(ds.)17 b(Exactly)10 +b(whic)o(h)g(classes)i(ha)o(v)o(e)e(metho)q(ds)g(for)g +Fs(print-)0 1022 y(object)j Fw(is)i(not)f(sp)q(eci\014ed;)i(it)f(w)o +(ould)f(b)q(e)h(v)n(alid)e(for)h(an)g(implemen)o(tation)e(to)i(ha)o(v)o +(e)h(one)0 1074 y(default)f(metho)q(d)f(that)h(is)f(inherited)i(b)o(y)e +(all)g(system-de\014ned)i(classes.)1062 1213 y([)p Fv(Generic)g +(function)s Fw(])-1395 b Fs(reinitialize-inst)o(ance)18 +b Fv(instanc)n(e)25 b Fs(&rest)20 b Fv(initar)n(gs)1073 +1265 y Fw([)p Fv(Primary)14 b(metho)n(d)t Fw(])-1395 +b Fs(reinitialize-inst)o(ance)18 b(\()p Fv(instanc)n(e)24 +b Fs(standard-object\))42 1316 y(&rest)c Fv(initar)n(gs)0 +1393 y Fw(The)13 b(generic)g(function)e Fs(reinitialize-instan)o(ce)e +Fw(can)j(b)q(e)h(used)g(to)f(c)o(hange)g(the)h(v)n(al-)0 +1445 y(ues)i(of)e(lo)q(cal)g(slots)h(according)g(to)g(initialization)d +(argumen)o(ts.)17 b(This)d(generic)h(function)0 1497 +y(is)f(called)f(b)o(y)h(the)h(Meta-Ob)r(ject)g(Proto)q(col.)j(It)c(can) +g(also)f(b)q(e)i(called)e(b)o(y)h(users.)42 1549 y(The)h +(system-supplied)g(primary)e(metho)q(d)i(for)g Fs(reinitialize-ins)o +(tanc)o(e)d Fw(c)o(hec)o(ks)0 1601 y(the)18 b(v)n(alidit)o(y)e(of)h +(initialization)e(argumen)o(ts)i(and)h(signals)f(an)g(error)i(if)e(an)g +(initializa-)0 1653 y(tion)e(argumen)o(t)f(is)i(supplied)f(that)h(is)f +(not)h(declared)g(v)n(alid.)21 b(The)16 b(metho)q(d)f(then)h(calls)0 +1705 y(the)h(generic)f(function)g Fs(shared-initialize)c +Fw(with)k(the)g(follo)o(wing)e(argumen)o(ts:)21 b(the)0 +1757 y(instance,)c Fs(nil)e Fw(\(whic)o(h)i(means)e(no)h(slots)g +(should)g(b)q(e)h(initialized)d(according)i(to)g(their)0 +1809 y Fs(:initform)c Fw(forms\))h(and)g(the)i(initialization)c +(argumen)o(ts)i(it)h(receiv)o(ed.)42 1861 y(The)g Fv(instanc)n(e)j +Fw(argumen)o(t)c(is)h(the)g(ob)r(ject)h(to)f(b)q(e)g(initialized.)42 +1913 y(The)d Fv(initar)n(gs)i Fw(argumen)o(t)d(consists)i(of)e +(alternating)h(initialization)d(argumen)o(t)i(names)0 +1965 y(and)k(v)n(alues.)42 2017 y(The)g(mo)q(di\014ed)e(instance)j(is)f +(returned)h(as)f(the)h(result.)42 2069 y(Initialization)9 +b(argumen)o(ts)i(are)i(declared)f(v)n(alid)f(b)o(y)g(using)h(the)h +Fs(:initarg)d Fw(option)h(to)0 2121 y Fs(defclass)p Fw(,)k(or)i(b)o(y)g +(de\014ning)f(metho)q(ds)h(for)f Fs(reinitialize-insta)o(nce)d +Fw(or)k Fs(shared-)0 2173 y(initialize)p Fw(.)j(The)c(k)o(eyw)o(ord)f +(name)f(of)h(eac)o(h)h(k)o(eyw)o(ord)f(parameter)g(sp)q(eci\014er)i(in) +e(the)0 2225 y(lam)o(b)q(da-list)f(of)j(an)o(y)f(metho)q(d)g(de\014ned) +j(on)e Fs(reinitialize-in)o(stanc)o(e)d Fw(or)j Fs(shared-)0 +2277 y(initialize)10 b Fw(is)i(declared)h(a)f(v)n(alid)f +(initialization)e(argumen)o(t)i(name)g(for)h(all)f(classes)i(for)0 +2329 y(whic)o(h)h(that)g(metho)q(d)f(is)h(applicable.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 926 950 +926 949 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(926)77 b(COMMON)13 +b(LISP)42 295 y Fw(See)20 b(sections)g(28.1.12,)e(28.1.9.4,)f(28.1.9.2) +f(as)k(w)o(ell)e(as)h Fs(initialize-instanc)o(e)p Fw(,)0 +347 y Fs(slot-boundp)p Fw(,)8 b Fs(update-instance)o(-for-)o(redef)o +(ined-)o(clas)o(s)p Fw(,)f Fs(update-instance-)0 399 +y(for-different-cla)o(ss)p Fw(,)j Fs(slot-makunbound)p +Fw(,)h(and)i Fs(shared-initialize)p Fw(.)1062 509 y([)p +Fv(Generic)i(function)s Fw(])-1395 b Fs(remove-method)18 +b Fv(generic)p Fs(-)p Fv(function)25 b(metho)n(d)1073 +560 y Fw([)p Fv(Primary)14 b(metho)n(d)t Fw(])-1395 b +Fs(remove-method)42 612 y(\()p Fv(generic)p Fs(-)p Fv(function)25 +b Fs(standard-generic)o(-func)o(tion\))18 b Fv(metho)n(d)0 +689 y Fw(The)c(generic)h(function)f Fs(remove-method)d +Fw(remo)o(v)o(es)i(a)h(metho)q(d)f(from)f(a)i(generic)h(func-)0 +741 y(tion.)21 b(It)16 b(destructiv)o(ely)g(mo)q(di\014es)e(the)i(sp)q +(eci\014ed)g(generic)h(function)d(and)h(returns)i(the)0 +793 y(mo)q(di\014ed)c(generic)h(function)g(as)g(its)g(result.)42 +845 y(The)g Fv(generic-function)j Fw(argumen)o(t)c(is)h(a)f(generic)i +(function)f(ob)r(ject.)42 897 y(The)j Fv(metho)n(d)22 +b Fw(argumen)o(t)16 b(is)h(a)f(metho)q(d)h(ob)r(ject.)28 +b(The)18 b(function)e Fs(remove-method)0 949 y Fw(do)q(es)c(not)f +(signal)f(an)h(error)h(if)e(the)i(metho)q(d)e(is)h(not)g(one)g(of)g +(the)h(metho)q(ds)e(on)h(the)h(generic)0 1000 y(function.)42 +1052 y(The)h(mo)q(di\014ed)f(generic)j(function)e(is)g(returned.)19 +b(The)14 b(result)g(of)f Fs(remove-method)e Fw(is)0 1104 +y Fs(eq)i Fw(to)h(the)h Fv(generic-function)i Fw(argumen)o(t.)42 +1156 y(See)d Fs(find-method)p Fw(.)1062 1266 y([)p Fv(Generic)h +(function)s Fw(])-1395 b Fs(shared-initialize)18 b Fv(instanc)n(e)24 +b(slot)p Fs(-)p Fv(names)392 1318 y Fs(&rest)c Fv(initar)n(gs)1073 +1370 y Fw([)p Fv(Primary)14 b(metho)n(d)t Fw(])-1395 +b Fs(shared-initialize)18 b(\()p Fv(instanc)n(e)24 b +Fs(standard-object\))392 1422 y Fv(slot)p Fs(-)p Fv(names)g +Fs(&rest)c Fv(initar)n(gs)0 1499 y Fw(The)f(generic)g(function)f +Fs(shared-initialize)d Fw(is)k(used)g(to)f(\014ll)g(the)h(slots)f(of)g +(an)g(in-)0 1550 y(stance)24 b(using)f(initialization)e(argumen)o(ts)h +(and)h Fs(:initform)f Fw(forms.)45 b(It)23 b(is)g(called)0 +1602 y(when)g(an)f(instance)h(is)f(created,)j(when)e(an)e(instance)i +(is)f(re-initialized,)h(when)g(an)0 1654 y(instance)k(is)f(up)q(dated)h +(to)f(conform)f(to)h(a)f(rede\014ned)j(class,)i(and)c(when)g(an)g(in-)0 +1706 y(stance)e(is)e(up)q(dated)i(to)e(conform)g(to)g(a)h(di\013eren)o +(t)g(class.)45 b(The)23 b(generic)h(function)0 1758 y +Fs(shared-initialize)18 b Fw(is)j(called)h(b)o(y)f(the)h +(system-supplied)f(primary)f(metho)q(d)h(for)0 1810 y +Fs(initialize-instan)o(ce)p Fw(,)29 b Fs(reinitialize-ins)o(tance)o +Fw(,)g Fs(update-instance-f)o(or-)0 1862 y(redefined-class)p +Fw(,)10 b(and)k Fs(update-instance-f)o(or-di)o(ffere)o(nt-cl)o(ass)p +Fw(.)42 1914 y(The)k(generic)g(function)g Fs(shared-initialize)c +Fw(tak)o(es)k(the)h(follo)o(wing)c(argumen)o(ts:)0 1966 +y(the)k(instance)g(to)f(b)q(e)h(initialized,)f(a)g(sp)q(eci\014cation)h +(of)f(a)g(set)h(of)f(names)f(of)h(slots)h(ac-)0 2017 +y(cessible)g(in)e(that)h(instance,)g(and)g(an)o(y)f(n)o(um)o(b)q(er)g +(of)g(initialization)e(argumen)o(ts.)28 b(The)0 2069 +y(argumen)o(ts)14 b(after)i(the)f(\014rst)h(t)o(w)o(o)f(m)o(ust)f(form) +f(an)i(initialization)d(argumen)o(t)i(list.)21 b(The)0 +2121 y(system-supplied)14 b(primary)f(metho)q(d)h(on)g +Fs(shared-initialize)d Fw(initializes)i(the)j(slots)0 +2173 y(with)11 b(v)n(alues)g(according)h(to)f(the)i(initialization)8 +b(argumen)o(ts)j(and)h(sp)q(eci\014ed)h Fs(:initform)0 +2225 y Fw(forms.)27 b(The)17 b(second)h(argumen)o(t)e(indicates)i(whic) +o(h)f(slots)g(should)g(b)q(e)h(initialized)e(ac-)0 2277 +y(cording)e(to)h(their)g Fs(:initform)d Fw(forms)h(if)h(no)g +(initialization)e(argumen)o(ts)i(are)h(pro)o(vided)0 +2329 y(for)f(those)g(slots.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 927 951 +927 950 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(927)42 295 y Fw(The)23 b(system-supplied)g(primary)f +(metho)q(d)h(b)q(eha)o(v)o(es)h(as)f(follo)o(ws,)h(regardless)g(of)0 +347 y(whether)15 b(the)g(slots)f(are)g(lo)q(cal)f(or)h(shared:)0 +411 y Fu(.)42 419 y Fw(If)i(an)g(initialization)e(argumen)o(t)i(in)g +(the)h(initialization)d(argumen)o(t)h(list)i(sp)q(eci\014es)h(a)42 +471 y(v)n(alue)e(for)i(that)f(slot,)h(that)g(v)n(alue)f(is)g(stored)i +(in)o(to)e(the)h(slot,)g(ev)o(en)g(if)f(a)h(v)n(alue)f(has)42 +523 y(already)c(b)q(een)i(stored)g(in)e(the)i(slot)f(b)q(efore)g(the)h +(metho)q(d)e(is)g(run.)0 599 y Fu(.)42 608 y Fw(An)o(y)h(slots)h +(indicated)g(b)o(y)f(the)h(second)h(argumen)o(t)e(that)g(are)i(still)d +(un)o(b)q(ound)i(at)g(this)42 660 y(p)q(oin)o(t)k(are)i(initialized)d +(according)i(to)g(their)h Fs(:initform)d Fw(forms.)35 +b(F)m(or)19 b(an)o(y)h(suc)o(h)42 712 y(slot)g(that)h(has)g(an)f +Fs(:initform)f Fw(form,)h(that)h(form)e(is)i(ev)n(aluated)f(in)g(the)i +(lexical)42 764 y(en)o(vironmen)o(t)c(of)h(its)g(de\014ning)h +Fs(defclass)d Fw(form)h(and)h(the)h(result)h(is)e(stored)h(in)o(to)42 +816 y(the)15 b(slot.)22 b(F)m(or)14 b(example,)g(if)g(a)h +Fs(:before)f Fw(metho)q(d)g(stores)j(a)d(v)n(alue)h(in)g(the)g(slot,)g +(the)42 868 y Fs(:initform)c Fw(form)i(will)f(not)i(b)q(e)g(used)h(to)f +(supply)g(a)f(v)n(alue)h(for)f(the)i(slot.)0 944 y Fu(.)42 +953 y Fw(The)f(rules)g(men)o(tioned)f(in)h(section)g(28.1.9.4)d(are)k +(ob)q(ey)o(ed.)42 1026 y(The)f Fv(instanc)n(e)j Fw(argumen)o(t)c(is)h +(the)g(ob)r(ject)h(to)f(b)q(e)g(initialized.)42 1078 +y(The)j Fv(slot-names)j Fw(argumen)o(t)c(sp)q(eci\014es)j(the)f(slots)f +(that)g(are)h(to)e(b)q(e)i(initialized)e(ac-)0 1130 y(cording)g(to)h +(their)f Fs(:initform)f Fw(forms)g(if)g(no)i(initialization)c(argumen)o +(ts)j(apply)m(.)24 b(It)17 b(is)0 1182 y(supplied)d(in)f(one)i(of)e +(three)i(forms)d(as)i(follo)o(ws:)0 1245 y Fu(.)42 1254 +y Fw(It)f(can)i(b)q(e)f(a)g(list)f(of)g(slot)h(names,)f(whic)o(h)g(sp)q +(eci\014es)j(the)f(set)f(of)g(those)g(slot)g(names.)0 +1330 y Fu(.)42 1339 y Fw(It)f(can)i(b)q(e)f Fs(nil)p +Fw(,)f(whic)o(h)h(sp)q(eci\014es)h(the)g(empt)o(y)e(set)h(of)g(slot)f +(names.)0 1415 y Fu(.)42 1424 y Fw(It)g(can)i(b)q(e)f(the)h(sym)o(b)q +(ol)d Fs(t)p Fw(,)h(whic)o(h)h(sp)q(eci\014es)h(the)g(set)g(of)e(all)g +(of)g(the)h(slots.)42 1497 y(The)d Fv(initar)n(gs)i Fw(argumen)o(t)d +(consists)i(of)e(alternating)h(initialization)d(argumen)o(t)i(names)0 +1549 y(and)k(v)n(alues.)42 1601 y(The)g(mo)q(di\014ed)e(instance)j(is)f +(returned)h(as)f(the)h(result.)42 1654 y(Initialization)g(argumen)o(ts) +h(are)i(declared)g(v)n(alid)e(b)o(y)h(using)g(the)h Fs(:initarg)d +Fw(option)0 1705 y(to)g Fs(defclass)p Fw(,)e(or)i(b)o(y)g(de\014ning)f +(metho)q(ds)h(for)g Fs(shared-initializ)o(e)p Fw(.)j(The)e(k)o(eyw)o +(ord)0 1757 y(name)f(of)g(eac)o(h)h(k)o(eyw)o(ord)g(parameter)f(sp)q +(eci\014er)j(in)d(the)h(lam)o(b)q(da-list)d(of)i(an)o(y)h(metho)q(d)0 +1809 y(de\014ned)22 b(on)e Fs(shared-initialize)e Fw(is)i(declared)i(a) +f(v)n(alid)e(initialization)f(argumen)o(t)0 1861 y(name)13 +b(for)g(all)g(classes)i(for)f(whic)o(h)f(that)h(metho)q(d)f(is)h +(applicable.)42 1913 y(Implemen)o(tatio)o(ns)g(are)i(p)q(ermitted)f(to) +h(optimize)e Fs(:initform)g Fw(forms)g(that)i(neither)0 +1965 y(pro)q(duce)c(nor)f(dep)q(end)h(on)e(side)h(e\013ects)i(b)o(y)e +(ev)n(aluating)e(these)j(forms)d(and)i(storing)g(them)0 +2017 y(in)o(to)h(slots)g(b)q(efore)h(running)f(an)o(y)g +Fs(initialize-insta)o(nce)d Fw(metho)q(ds,)j(rather)h(than)f(b)o(y)0 +2069 y(handling)18 b(them)f(in)i(the)g(primary)e Fs(initialize-instanc) +o(e)f Fw(metho)q(d.)32 b(\(This)18 b(opti-)0 2121 y(mization)c(migh)o +(t)g(b)q(e)j(implemen)o(ted)d(b)o(y)i(ha)o(ving)f(the)i +Fs(allocate-instance)c Fw(metho)q(d)0 2173 y(cop)o(y)h(a)f(protot)o(yp) +q(e)i(instance.\))42 2225 y(Implemen)o(tatio)o(ns)f(are)k(p)q(ermitted) +e(to)h(optimize)e(default)h(initial)f(v)n(alue)h(forms)f(for)0 +2277 y(initialization)i(argumen)o(ts)j(asso)q(ciated)h(with)f(slots)g +(b)o(y)g(not)g(actually)g(creating)g(the)0 2329 y(complete)10 +b(initialization)e(argumen)o(t)h(list)h(when)h(the)h(only)d(metho)q(d)h +(that)h(w)o(ould)e(receiv)o(e)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 928 952 +928 951 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(928)77 b(COMMON)13 +b(LISP)0 295 y Fw(the)18 b(complete)e(list)h(is)g(the)g(metho)q(d)f(on) +h Fs(standard-object)p Fw(.)25 b(In)17 b(this)g(case,)h(default)0 +347 y(initial)d(v)n(alue)h(forms)g(can)h(b)q(e)h(treated)g(lik)o(e)e +Fs(:initform)g Fw(forms.)26 b(This)16 b(optimization)0 +399 y(has)e(no)g(visible)f(e\013ects)j(other)e(than)g(a)g(p)q +(erformance)g(impro)o(v)o(em)o(en)o(t.)42 451 y(See)44 +b(sections)g(28.1.9,)49 b(28.1.9.4,)e(28.1.9.2)41 b(as)j(w)o(ell)f(as)g +Fs(initialize-)0 503 y(instance)p Fw(,)e Fs(reinitialize-inst)o(ance)o +Fw(,)f Fs(update-instance-f)o(or-re)o(defin)o(ed-)0 555 +y(class)p Fw(,)17 b Fs(update-instance-f)o(or-di)o(ffere)o(nt-cl)o(ass) +p Fw(,)e Fs(slot-boundp)p Fw(,)g(and)j Fs(slot-)0 606 +y(makunbound)p Fw(.)1209 750 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(slot-boundp)19 b Fv(instanc)n(e)25 b(slot)p Fs(-)p +Fv(name)0 827 y Fw(The)d(function)f Fs(slot-boundp)e +Fw(tests)k(whether)g(a)e(sp)q(eci\014c)i(slot)e(in)g(an)h(instance)g +(is)0 879 y(b)q(ound.)42 931 y(The)14 b(argumen)o(ts)f(are)h(the)h +(instance)f(and)g(the)h(name)d(of)i(the)g(slot.)42 983 +y(The)g(function)f Fs(slot-boundp)f Fw(returns)j(true)g(or)f(false.)42 +1035 y(This)d(function)g(allo)o(ws)g(for)g(writing)g +Fs(:after)f Fw(metho)q(ds)h(on)h Fs(initialize-insta)o(nce)0 +1087 y Fw(in)h(order)i(to)f(initialize)e(only)h(those)i(slots)f(that)g +(ha)o(v)o(e)g(not)f(already)h(b)q(een)h(b)q(ound.)42 +1140 y(If)f(no)g(slot)g(of)g(the)h(giv)o(en)g(name)e(exists)i(in)f(the) +h(instance,)h Fs(slot-missing)c Fw(is)i(called)0 1191 +y(as)g(follo)o(ws:)0 1280 y Fs(\(slot-missing)k(\(class-of)i +Fv(instanc)n(e)s Fs(\))296 1332 y Fv(instanc)n(e)296 +1384 y(slot-name)294 1440 y Fn(')318 1436 y Fs(slot-boundp\))42 +1524 y Fw(The)k(function)h Fs(slot-boundp)d Fw(is)i(implemen)o(ted)e +(using)i Fs(slot-boundp-using-)0 1576 y(class)p Fw(.)17 +b(See)e Fs(slot-missing)p Fw(.)1209 1719 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(slot-exists-p)18 b Fv(obje)n(ct)25 b(slot)p +Fs(-)p Fv(name)0 1796 y Fw(The)15 b(function)f Fs(slot-exists-p)e +Fw(tests)k(whether)g(the)f(sp)q(eci\014ed)i(ob)r(ject)e(has)g(a)f(slot) +g(of)0 1848 y(the)g(giv)o(en)g(name.)42 1900 y(The)g +Fv(obje)n(ct)k Fw(argumen)o(t)12 b(is)i(an)o(y)f(ob)r(ject.)19 +b(The)c Fv(slot-name)i Fw(argumen)o(t)12 b(is)i(a)g(sym)o(b)q(ol.)42 +1952 y(The)g(function)f Fs(slot-exists-p)f Fw(returns)j(true)g(or)f +(false.)42 2005 y(The)c(function)g Fs(slot-exists-p)d +Fw(is)j(implem)o(en)o(ted)e(using)i Fs(slot-exists-p-usi)o(ng-)0 +2056 y(class)p Fw(.)1209 2200 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(slot-makunbound)18 b Fv(instanc)n(e)25 +b(slot)p Fs(-)p Fv(name)0 2277 y Fw(The)14 b(function)e +Fs(slot-makunbound)e Fw(restores)15 b(a)e(slot)g(in)f(an)h(instance)h +(to)f(the)h(un)o(b)q(ound)0 2329 y(state.)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 929 953 +929 952 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(929)42 295 y Fw(The)14 b(argumen)o(ts)g(to)g +Fs(slot-makunbound)d Fw(are)k(the)f(instance)h(and)g(the)f(name)f(of)h +(the)0 347 y(slot.)42 401 y(The)g(instance)h(is)e(returned)j(as)e(the)g +(result.)42 454 y(If)g(no)g(slot)g(of)g(the)h(giv)o(en)g(name)e(exists) +i(in)f(the)h(instance,)h Fs(slot-missing)c Fw(is)i(called)0 +506 y(as)g(follo)o(ws:)0 612 y Fs(\(slot-missing)k(\(class-of)i +Fv(instanc)n(e)s Fs(\))296 664 y Fv(instanc)n(e)296 716 +y(slot-name)294 772 y Fn(')318 768 y Fs(slot-makunbound)o(\))42 +871 y Fw(The)d(function)g Fs(slot-makunbound)d Fw(is)j(implemen)o(ted)e +(using)i Fs(slot-makunbound-)0 923 y(using-class)p Fw(.)f(See)f +Fs(slot-missing)p Fw(.)1062 1150 y([)p Fv(Generic)g(function)s +Fw(])-1395 b Fs(slot-missing)19 b Fv(class)24 b(obje)n(ct)h(slot)p +Fs(-)p Fv(name)f(op)n(er)n(ation)283 1202 y Fs(&optional)19 +b Fv(new)p Fs(-)p Fv(value)1073 1254 y Fw([)p Fv(Primary)14 +b(metho)n(d)t Fw(])-1395 b Fs(slot-missing)19 b(\()p +Fv(class)24 b Fs(t\))d Fv(obje)n(ct)k(slot)p Fs(-)p Fv(name)f(op)n(er)n +(ation)283 1306 y Fs(&optional)19 b Fv(new)p Fs(-)p Fv(value)0 +1385 y Fw(The)d(generic)h(function)f Fs(slot-missing)e +Fw(is)h(in)o(v)o(ok)o(ed)h(when)g(an)g(attempt)f(is)h(made)f(to)0 +1436 y(access)h(a)f(slot)f(in)g(an)g(ob)r(ject)h(whose)h(metaclass)d +(is)i Fs(standard-class)c Fw(and)k(the)g(name)0 1488 +y(of)e(the)h(slot)f(pro)o(vided)g(is)g(not)g(a)g(name)f(of)h(a)g(slot)g +(in)g(that)h(class.)k(The)c(default)f(metho)q(d)0 1540 +y(signals)g(an)h(error.)42 1594 y(The)k(generic)h(function)f +Fs(slot-missing)e Fw(is)i(not)g(in)o(tended)h(to)f(b)q(e)h(called)f(b)o +(y)g(pro-)0 1646 y(grammers.)e(Programmers)c(ma)o(y)g(write)i(metho)q +(ds)g(for)f(it.)42 1700 y(The)i(required)i(argumen)o(ts)e(to)g +Fs(slot-missing)e Fw(are)j(the)g(class)g(of)f(the)h(ob)r(ject)h(that)0 +1752 y(is)d(b)q(eing)g(accessed,)j(the)e(ob)r(ject,)g(the)f(slot)h +(name,)d(and)j(a)f(sym)o(b)q(ol)e(that)i(indicates)h(the)0 +1804 y(op)q(eration)g(that)h(caused)g Fs(slot-missing)d +Fw(to)i(b)q(e)h(in)o(v)o(ok)o(ed.)22 b(The)16 b(optional)e(argumen)o(t) +0 1856 y(to)e Fs(slot-missing)e Fw(is)j(used)g(when)g(the)g(op)q +(eration)g(is)f(attempting)f(to)i(set)g(the)g(v)n(alue)f(of)0 +1908 y(the)i(slot.)42 1961 y(If)g(a)h(metho)q(d)g(written)h(for)f +Fs(slot-missing)d Fw(returns)17 b(v)n(alues,)e(these)i(v)n(alues)e(get) +g(re-)0 2013 y(turned)g(as)f(the)g(v)n(alues)g(of)f(the)i(original)d +(function)h(in)o(v)o(o)q(cation.)42 2067 y(The)21 b(generic)g(function) +f Fs(slot-missing)f Fw(ma)o(y)f(b)q(e)j(called)g(during)f(ev)n +(aluation)f(of)0 2119 y Fs(slot-value)p Fw(,)10 b Fs(\(setf)20 +b(slot-value\))p Fw(,)9 b Fs(slot-boundp)p Fw(,)h(and)i +Fs(slot-makunbound)p Fw(.)i(F)m(or)0 2171 y(eac)o(h)e(of)f(these)h(op)q +(erations)g(the)g(corresp)q(onding)g(sym)o(b)q(ol)d(for)i(the)h +Fv(op)n(er)n(ation)j Fw(argumen)o(t)0 2223 y(is)f Fs(slot-value)p +Fw(,)d Fs(setf)p Fw(,)i Fs(slot-boundp)p Fw(,)e(and)i +Fs(slot-makunbound)p Fw(,)e(resp)q(ectiv)o(ely)m(.)42 +2277 y(The)f(set)i(of)d(argumen)o(ts)h(\(including)f(the)i(class)g(of)f +(the)h(instance\))g(facilitates)f(de\014ning)0 2329 y(metho)q(ds)j(on)h +(the)h(metaclass)e(for)g Fs(slot-missing)p Fw(.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 930 954 +930 953 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(930)77 b(COMMON)13 +b(LISP)1062 295 y Fw([)p Fv(Generic)i(function)s Fw(])-1395 +b Fs(slot-unbound)19 b Fv(class)24 b(instanc)n(e)h(slot)p +Fs(-)p Fv(name)1073 347 y Fw([)p Fv(Primary)14 b(metho)n(d)t +Fw(])-1395 b Fs(slot-unbound)19 b(\()p Fv(class)24 b +Fs(t\))d Fv(instanc)n(e)j(slot)p Fs(-)p Fv(name)0 423 +y Fw(The)13 b(generic)h(function)e Fs(slot-unbound)e +Fw(is)j(called)f(when)h(an)f(un)o(b)q(ound)h(slot)g(is)f(read)h(in)0 +475 y(an)g(instance)h(whose)f(metaclass)f(is)h Fs(standard-class)p +Fw(.)i(The)f(default)e(metho)q(d)g(signals)0 527 y(an)i(error.)42 +579 y(The)c(generic)h(function)e Fs(slot-unbound)e Fw(is)j(not)g(in)o +(tended)g(to)g(b)q(e)g(called)g(b)o(y)f(program-)0 631 +y(mers.)24 b(Programmers)14 b(ma)o(y)g(write)j(metho)q(ds)e(for)h(it.) +24 b(The)17 b(function)e Fs(slot-unbound)0 683 y Fw(is)g(called)h(only) +f(b)o(y)g(the)h(function)f Fs(slot-value-using-cl)o(ass)d +Fw(and)k(th)o(us)g(indirectly)0 735 y(b)o(y)e Fs(slot-value)p +Fw(.)42 787 y(The)j(argumen)o(ts)f(to)h Fs(slot-unbound)d +Fw(are)k(the)f(class)h(of)e(the)i(instance)f(whose)h(slot)0 +839 y(w)o(as)c(accessed,)i(the)e(instance)h(itself,)e(and)g(the)i(name) +e(of)g(the)h(slot.)42 890 y(If)g(a)h(metho)q(d)g(written)h(for)f +Fs(slot-unbound)d Fw(returns)17 b(v)n(alues,)e(these)i(v)n(alues)e(get) +g(re-)0 942 y(turned)g(as)f(the)g(v)n(alues)g(of)f(the)i(original)d +(function)h(in)o(v)o(o)q(cation.)42 994 y(An)f(un)o(b)q(ound)h(slot)f +(ma)o(y)e(o)q(ccur)k(if)d(no)h Fs(:initform)f Fw(form)g(w)o(as)h(sp)q +(eci\014ed)i(for)e(the)h(slot)0 1046 y(and)j(the)h(slot)e(v)n(alue)h +(has)g(not)g(b)q(een)h(set,)g(or)f(if)g Fs(slot-makunbound)d +Fw(has)j(b)q(een)h(called)0 1098 y(on)d(the)g(slot.)42 +1150 y(See)g Fs(slot-makunbound)p Fw(.)1209 1272 y([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(slot-value)19 b Fv(obje)n(ct)25 +b(slot)p Fs(-)p Fv(name)0 1349 y Fw(The)13 b(function)e +Fs(slot-value)f Fw(returns)k(the)f(v)n(alue)e(con)o(tained)i(in)e(the)i +(slot)f Fv(slot-name)j Fw(of)0 1401 y(the)g(giv)o(en)f(ob)r(ject.)20 +b(If)14 b(there)i(is)e(no)h(slot)f(with)g(that)g(name,)f +Fs(slot-missing)f Fw(is)i(called.)0 1453 y(If)g(the)g(slot)g(is)f(un)o +(b)q(ound,)h Fs(slot-unbound)d Fw(is)j(called.)42 1505 +y(The)d(macro)f Fs(setf)h Fw(can)g(b)q(e)h(used)g(with)f +Fs(slot-value)e Fw(to)j(c)o(hange)f(the)h(v)n(alue)f(of)f(a)h(slot.)42 +1557 y(The)j(argumen)o(ts)f(are)h(the)h(ob)r(ject)f(and)g(the)h(name)d +(of)i(the)g(giv)o(en)g(slot.)42 1609 y(The)g(result)g(is)g(the)h(v)n +(alue)e(con)o(tained)h(in)f(the)i(giv)o(en)e(slot.)42 +1660 y(If)f(an)h(attempt)f(is)g(made)g(to)h(read)g(a)g(slot)f(and)h(no) +f(slot)h(of)f(the)i(giv)o(en)e(name)g(exists)h(in)0 1712 +y(the)h(instance,)h Fs(slot-missing)c Fw(is)j(called)f(as)h(follo)o +(ws:)0 1797 y Fs(\(slot-missing)k(\(class-of)i Fv(instanc)n(e)s +Fs(\))296 1849 y Fv(instanc)n(e)296 1901 y(slot-name)294 +1956 y Fn(')318 1952 y Fs(slot-value\))42 2037 y Fw(If)14 +b(an)h(attempt)f(is)h(made)e(to)i(write)g(a)g(slot)g(and)g(no)f(slot)h +(of)f(the)i(giv)o(en)e(name)g(exists)0 2089 y(in)f(the)i(instance,)f +Fs(slot-missing)d Fw(is)j(called)g(as)g(follo)o(ws:)0 +2173 y Fs(\(slot-missing)k(\(class-of)i Fv(instanc)n(e)s +Fs(\))296 2225 y Fv(instanc)n(e)296 2277 y(slot-name)294 +2333 y Fn(')318 2329 y Fs(setf)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 931 955 +931 954 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(931)296 295 y Fv(new-value)s Fs(\))42 381 +y Fw(The)12 b(function)f Fs(slot-value)f Fw(is)h(implemen)o(ted)e +(using)j Fs(slot-value-using)o(-clas)o(s)p Fw(.)42 433 +y(Implemen)o(tatio)o(ns)g(ma)o(y)g(optimize)g Fs(slot-value)g +Fw(b)o(y)h(compiling)f(it)h(in-line.)42 485 y(See)h Fs(slot-missing)e +Fw(and)h Fs(slot-unbound)p Fw(.)42 564 y([A)o(t)h(this)g(p)q(oin)o(t)g +(the)h(original)e(CLOS)i(rep)q(ort)g([5)o(,)f(7])g(con)o(tained)h(a)f +(sp)q(eci\014cation)h(for)0 616 y Fs(symbol-macrolet)p +Fw(.)j(This)d(sp)q(eci\014cation)g(is)g(omitted)f(here.)22 +b(Instead,)15 b(a)g(description)0 668 y(of)e Fs(symbol-macrolet)d +Fw(app)q(ears)k(with)f(those)h(of)f(related)h(constructs)h(in)e(c)o +(hapter)h(7.|)0 719 y(GLS])1062 851 y([)p Fv(Generic)h(function)s +Fw(])-1395 b Fs(update-instance-f)o(or-di)o(ffere)o(nt-cl)o(ass)42 +902 y Fv(pr)n(evious)25 b(curr)n(ent)f Fs(&rest)d Fv(initar)n(gs)1073 +954 y Fw([)p Fv(Primary)14 b(metho)n(d)t Fw(])-1395 b +Fs(update-instance-f)o(or-di)o(ffere)o(nt-cl)o(ass)42 +1006 y(\()p Fv(pr)n(evious)25 b Fs(standard-object\))18 +b(\()p Fv(curr)n(ent)24 b Fs(standard-object\))42 1058 +y(&rest)c Fv(initar)n(gs)0 1135 y Fw(The)25 b(generic)h(function)e +Fs(update-instance-for-)o(diff)o(erent)o(-clas)o(s)e +Fw(is)j(not)f(in-)0 1187 y(tended)14 b(to)e(b)q(e)h(called)f(b)o(y)g +(programmers.)k(Programmers)10 b(ma)o(y)h(write)i(metho)q(ds)f(for)g +(it.)0 1239 y(This)i(function)f(is)h(called)g(only)f(b)o(y)g(the)i +(function)f Fs(change-class)p Fw(.)42 1291 y(The)425 +b(system-supplied)f(primary)0 1343 y(metho)q(d)18 b(on)g +Fs(update-instance-f)o(or-di)o(ffere)o(nt-c)o(lass)d +Fw(c)o(hec)o(ks)20 b(the)f(v)n(alidit)o(y)d(of)0 1395 +y(initialization)e(argumen)o(ts)h(and)h(signals)g(an)g(error)h(if)f(an) +g(initialization)e(argumen)o(t)h(is)0 1446 y(supplied)c(that)g(is)f +(not)h(declared)h(v)n(alid.)j(This)c(metho)q(d)f(then)h(initializes)f +(slots)h(with)f(v)n(al-)0 1498 y(ues)15 b(according)g(to)f(the)h +(initialization)d(argumen)o(ts)h(and)i(initializes)e(the)i(newly)f +(added)0 1550 y(slots)h(with)f(v)n(alues)g(according)h(to)f(their)h +Fs(:initform)e Fw(forms.)18 b(It)d(do)q(es)g(this)g(b)o(y)f(calling)0 +1602 y(the)j(generic)f(function)g Fs(shared-initialize)c +Fw(with)k(the)g(follo)o(wing)e(argumen)o(ts:)21 b(the)0 +1654 y(instance,)13 b(a)g(list)g(of)f(names)g(of)g(the)i(newly)f(added) +g(slots,)g(and)f(the)i(initialization)c(argu-)0 1706 +y(men)o(ts)j(it)f(receiv)o(ed.)19 b(Newly)13 b(added)h(slots)f(are)h +(those)f(lo)q(cal)g(slots)g(for)g(whic)o(h)g(no)f(slot)h(of)0 +1758 y(the)h(same)f(name)g(exists)i(in)e(the)i(previous)f(class.)42 +1810 y(Metho)q(ds)19 b(for)g Fs(update-instance-f)o(or-di)o(ffer)o +(ent-c)o(lass)c Fw(can)k(b)q(e)h(de\014ned)g(to)0 1862 +y(sp)q(ecify)g(actions)g(to)g(b)q(e)h(tak)o(en)f(when)g(an)g(instance)h +(is)e(up)q(dated.)37 b(If)20 b(only)f Fs(:after)0 1914 +y Fw(metho)q(ds)14 b(for)h Fs(update-instance-)o(for-d)o(iffer)o(ent-)o +(class)c Fw(are)k(de\014ned,)h(they)f(will)0 1965 y(b)q(e)e(run)h +(after)f(the)g(system-supplied)f(primary)g(metho)q(d)f(for)i +(initialization)d(and)j(there-)0 2017 y(fore)18 b(will)f(not)h(in)o +(terfere)h(with)f(the)h(default)f(b)q(eha)o(vior)f(of)h +Fs(update-instance-f)o(or-)0 2069 y(different-class)p +Fw(.)42 2121 y(The)12 b(argumen)o(ts)g(to)g Fs(update-instance-)o +(for-d)o(iffe)o(rent-)o(class)d Fw(are)j(computed)0 2173 +y(b)o(y)18 b Fs(change-class)p Fw(.)28 b(When)18 b Fs(change-class)d +Fw(is)j(in)o(v)o(ok)o(ed)f(on)h(an)g(instance,)h(a)f(cop)o(y)0 +2225 y(of)13 b(that)g(instance)h(is)g(made;)d Fs(change-class)g +Fw(then)j(destructiv)o(ely)h(alters)f(the)g(original)0 +2277 y(instance.)34 b(The)19 b(\014rst)h(argumen)o(t)e(to)g +Fs(update-instance-for-)o(diffe)o(rent)o(-clas)o(s)p +Fw(,)0 2329 y Fv(pr)n(evious)s Fw(,)12 b(is)g(that)g(cop)o(y;)g(it)g +(holds)f(the)i(old)e(slot)h(v)n(alues)g(temp)q(orarily)m(.)j(This)d +(argumen)o(t)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 932 956 +932 955 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(932)77 b(COMMON)13 +b(LISP)0 295 y Fw(has)h(dynamic)e(exten)o(t)j(within)e +Fs(change-class)p Fw(;)e(if)i(it)h(is)g(referenced)i(in)d(an)o(y)h(w)o +(a)o(y)f(once)0 347 y Fs(update-instance-f)o(or-di)o(ffere)o(nt-cl)o +(ass)e Fw(returns,)16 b(the)f(results)h(are)f(unde\014ned.)0 +399 y(The)h(second)h(argumen)o(t)d(to)i Fs(update-instance)o(-for-)o +(diffe)o(rent-)o(clas)o(s)p Fw(,)d Fv(curr)n(ent)p Fw(,)0 +450 y(is)h(the)g(altered)h(original)d(instance.)42 530 +y(The)k(in)o(tended)h(use)h(of)e Fv(pr)n(evious)j Fw(is)e(to)f(extract) +h(old)f(slot)g(v)n(alues)g(b)o(y)h(using)f Fs(slot-)0 +582 y(value)10 b Fw(or)h Fs(with-slots)e Fw(or)j(b)o(y)f(in)o(v)o +(oking)e(a)i(reader)h(generic)g(function,)f(or)g(to)h(run)f(other)0 +634 y(metho)q(ds)i(that)h(w)o(ere)h(applicable)e(to)h(instances)h(of)e +(the)i(original)d(class.)42 714 y(The)f Fv(initar)n(gs)i +Fw(argumen)o(t)d(consists)i(of)e(alternating)h(initialization)d +(argumen)o(t)i(names)0 766 y(and)k(v)n(alues.)42 846 +y(The)d(v)n(alue)f(returned)j(b)o(y)d Fs(update-instance-for-)o(diffe)o +(rent)o(-clas)o(s)e Fw(is)j(ignored)0 898 y(b)o(y)j Fs(change-class)p +Fw(.)42 977 y(See)g(the)h(example)d(for)i(the)g(function)g +Fs(change-class)p Fw(.)42 1057 y(Initialization)h(argumen)o(ts)h(are)i +(declared)g(v)n(alid)e(b)o(y)h(using)g(the)h Fs(:initarg)d +Fw(option)0 1109 y(to)e Fs(defclass)p Fw(,)e(or)i(b)o(y)g(de\014ning)g +(metho)q(ds)f(for)h Fs(update-instance-f)o(or-di)o(ffere)o(nt-)0 +1161 y(class)c Fw(or)i Fs(shared-initialize)o Fw(.)j(The)d(k)o(eyw)o +(ord)f(name)g(of)g(eac)o(h)h(k)o(eyw)o(ord)f(parameter)0 +1213 y(sp)q(eci\014er)k(in)d(the)i(lam)o(b)q(da-list)c(of)j(an)o(y)g +(metho)q(d)f(de\014ned)i(on)f Fs(update-instance-f)o(or-)0 +1265 y(different-class)d Fw(or)j Fs(shared-initialize)c +Fw(is)k(declared)h(a)f(v)n(alid)f(initialization)e(ar-)0 +1317 y(gumen)o(t)k(name)f(for)i(all)f(classes)i(for)e(whic)o(h)h(that)g +(metho)q(d)f(is)h(applicable.)42 1397 y(Metho)q(ds)20 +b(on)g Fs(update-instance-f)o(or-di)o(ffere)o(nt-cl)o(ass)c +Fw(can)21 b(b)q(e)f(de\014ned)h(to)0 1449 y(initialize)j(slots)i +(di\013eren)o(tly)g(from)d Fs(change-class)p Fw(.)51 +b(The)26 b(default)f(b)q(eha)o(vior)g(of)0 1500 y Fs(change-class)11 +b Fw(is)j(describ)q(ed)i(in)d(section)i(28.1.11.)42 1580 +y(See)k(sections)g(28.1.11,)e(28.1.9.4,)f(and)j(28.1.9.2)c(as)k(w)o +(ell)f(as)g Fs(change-class)e Fw(and)0 1632 y Fs(shared-initialize)o +Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 933 957 +933 956 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(933)1062 295 y Fw([)p Fv(Generic)15 b(function)s +Fw(])-1395 b Fs(update-instance-f)o(or-re)o(defin)o(ed-cl)o(ass)42 +347 y Fv(instanc)n(e)25 b(adde)n(d)p Fs(-)p Fv(slots)g(disc)n(ar)n(de)n +(d)p Fs(-)p Fv(slots)f(pr)n(op)n(erty)p Fs(-)p Fv(list)f +Fs(&rest)d Fv(initar)n(gs)1073 399 y Fw([)p Fv(Primary)14 +b(metho)n(d)t Fw(])-1395 b Fs(update-instance-f)o(or-re)o(defin)o +(ed-cl)o(ass)42 450 y(\()p Fv(instanc)n(e)25 b Fs(standard-object\))18 +b Fv(adde)n(d)p Fs(-)p Fv(slots)25 b(disc)n(ar)n(de)n(d)p +Fs(-)p Fv(slots)e(pr)n(op)n(erty)p Fs(-)p Fv(list)42 +502 y Fs(&rest)d Fv(initar)n(gs)0 612 y Fw(The)25 b(generic)h(function) +e Fs(update-instance-for-)o(rede)o(fined)o(-clas)o(s)e +Fw(is)j(not)f(in-)0 664 y(tended)18 b(to)f(b)q(e)h(called)e(b)o(y)h +(programmers.)26 b(Programmers)15 b(ma)o(y)g(write)j(metho)q(ds)e(for)0 +716 y(it.)28 b(The)17 b(generic)h(function)f Fs(update-instance-fo)o +(r-red)o(efin)o(ed-cl)o(ass)d Fw(is)j(called)0 768 y(b)o(y)d(the)g(mec) +o(hanism)e(activ)n(ated)h(b)o(y)h Fs(make-instances-obs)o(olete)o +Fw(.)42 821 y(The)425 b(system-supplied)f(primary)0 873 +y(metho)q(d)18 b(on)g Fs(update-instance-f)o(or-di)o(ffere)o(nt-c)o +(lass)d Fw(c)o(hec)o(ks)20 b(the)f(v)n(alidit)o(y)d(of)0 +925 y(initialization)e(argumen)o(ts)h(and)h(signals)g(an)g(error)h(if)f +(an)g(initialization)e(argumen)o(t)h(is)0 976 y(supplied)c(that)g(is)f +(not)h(declared)h(v)n(alid.)j(This)c(metho)q(d)f(then)h(initializes)f +(slots)h(with)f(v)n(al-)0 1028 y(ues)15 b(according)g(to)f(the)h +(initialization)d(argumen)o(ts)h(and)i(initializes)e(the)i(newly)f +(added)0 1080 y(slots)h(with)f(v)n(alues)g(according)h(to)f(their)h +Fs(:initform)e Fw(forms.)18 b(It)d(do)q(es)g(this)g(b)o(y)f(calling)0 +1132 y(the)j(generic)f(function)g Fs(shared-initialize)c +Fw(with)k(the)g(follo)o(wing)e(argumen)o(ts:)21 b(the)0 +1184 y(instance,)13 b(a)g(list)g(of)f(names)g(of)g(the)i(newly)f(added) +g(slots,)g(and)f(the)i(initialization)c(argu-)0 1236 +y(men)o(ts)j(it)f(receiv)o(ed.)19 b(Newly)13 b(added)h(slots)f(are)h +(those)f(lo)q(cal)g(slots)g(for)g(whic)o(h)g(no)f(slot)h(of)0 +1288 y(the)h(same)f(name)g(exists)i(in)e(the)i(old)e(v)o(ersion)h(of)f +(the)i(class.)42 1340 y(When)c Fs(make-instances-o)o(bsole)o(te)d +Fw(is)j(in)o(v)o(ok)o(ed)f(or)h(when)g(a)g(class)g(has)h(b)q(een)g +(rede-)0 1392 y(\014ned)g(and)e(an)h(instance)h(is)e(b)q(eing)h(up)q +(dated,)h(a)f(prop)q(ert)o(y)h(list)e(is)h(created)h(that)f(captures)0 +1444 y(the)i(slot)g(names)e(and)i(v)n(alues)f(of)g(all)g(the)h +(discarded)h(slots)e(with)h(v)n(alues)f(in)g(the)i(original)0 +1496 y(instance.)31 b(The)19 b(structure)h(of)d(the)i(instance)g(is)f +(transformed)f(so)h(that)g(it)g(conforms)0 1548 y(to)h(the)h(curren)o +(t)h(class)f(de\014nition.)35 b(The)20 b(argumen)o(ts)f(to)g +Fs(update-instance-f)o(or-)0 1600 y(redefined-class)c +Fw(are)j(this)g(transformed)f(instance,)i(a)e(list)h(of)f(the)h(names)f +(of)g(the)0 1652 y(new)d(slots)f(added)h(to)f(the)h(instance,)g(a)f +(list)g(of)g(the)h(names)f(of)g(the)h(old)e(slots)i(discarded)0 +1704 y(from)d(the)j(instance,)g(and)f(the)g(prop)q(ert)o(y)h(list)f +(con)o(taining)f(the)i(slot)f(names)f(and)h(v)n(alues)0 +1756 y(for)f(slots)g(that)g(w)o(ere)h(discarded)g(and)f(had)g(v)n +(alues.)17 b(Included)c(in)f(this)g(list)f(of)h(discarded)0 +1807 y(slots)h(are)g(slots)g(that)g(w)o(ere)h(lo)q(cal)e(in)g(the)i +(old)e(class)h(and)g(are)g(shared)h(in)e(the)h(new)h(class.)42 +1860 y(The)d Fv(initar)n(gs)i Fw(argumen)o(t)d(consists)i(of)e +(alternating)h(initialization)d(argumen)o(t)i(names)0 +1912 y(and)k(v)n(alues.)42 1965 y(The)26 b(v)n(alue)e(returned)k(b)o(y) +d Fs(update-instance-f)o(or-re)o(defin)o(ed-cl)o(ass)d +Fw(is)k(ig-)0 2017 y(nored.)42 2069 y(Initialization)15 +b(argumen)o(ts)h(are)i(declared)g(v)n(alid)e(b)o(y)h(using)g(the)h +Fs(:initarg)d Fw(option)0 2121 y(to)g Fs(defclass)e Fw(or)h(b)o(y)h +(de\014ning)f(metho)q(ds)h(for)f Fs(update-instance-f)o(or-re)o(defin)o +(ed-)0 2173 y(class)9 b Fw(or)i Fs(shared-initialize)o +Fw(.)j(The)d(k)o(eyw)o(ord)f(name)g(of)g(eac)o(h)h(k)o(eyw)o(ord)f +(parameter)0 2225 y(sp)q(eci\014er)k(in)d(the)i(lam)o(b)q(da-list)c(of) +j(an)o(y)g(metho)q(d)f(de\014ned)i(on)f Fs(update-instance-f)o(or-)0 +2277 y(redefined-class)d Fw(or)j Fs(shared-initialize)c +Fw(is)k(declared)h(a)f(v)n(alid)f(initialization)e(ar-)0 +2329 y(gumen)o(t)k(name)f(for)i(all)f(classes)i(for)e(whic)o(h)h(that)g +(metho)q(d)f(is)h(applicable.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 934 958 +934 957 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(934)77 b(COMMON)13 +b(LISP)42 295 y Fw(See)j(sections)h(28.1.10,)d(28.1.9.4,)f(and)j +(28.1.9.2)d(as)j(w)o(ell)f(as)h Fs(shared-initialize)0 +347 y Fw(and)e Fs(make-instances-o)o(bsole)o(te)p Fw(.)0 +434 y Fs(\(defclass)19 b(position)h(\(\))h(\(\)\))0 537 +y(\(defclass)e(x-y-position)g(\(position\))42 589 y(\(\(x)i(:initform)e +(0)i(:accessor)e(position-x\))64 641 y(\(y)h(:initform)g(0)h(:accessor) +e(position-y\)\)\))0 745 y(;;;)i(It)f(turns)g(out)h(polar)f +(coordinates)f(are)i(used)f(more)g(than)h(Cartesian)0 +797 y(;;;)g(coordinates,)d(so)j(the)g(representation)d(is)j(altered)e +(and)i(some)f(new)0 849 y(;;;)h(accessor)e(methods)h(are)g(added.)0 +952 y(\(defmethod)f(update-instance-fo)o(r-red)o(efine)o(d-cl)o(ass)f +(:before)233 1004 y(\(\(pos)i(x-y-position\))e(added)j(deleted)e(plist) +h(&key\))42 1056 y(;;)h(Transform)e(the)i(x-y)g(coordinates)d(to)j +(polar)f(coordinates)42 1108 y(;;)h(and)g(store)f(into)g(the)h(new)f +(slots.)42 1160 y(\(let)h(\(\(x)f(\(getf)g(plist)495 +1164 y Fn(')519 1160 y Fs(x\)\))169 1212 y(\(y)h(\(getf)f(plist)492 +1216 y Fn(')516 1212 y Fs(y\)\)\))85 1264 y(\(setf)g(\(position-rho)e +(pos\))j(\(sqrt)f(\(+)h(\(*)f(x)h(x\))g(\(*)g(y)g(y\)\)\))212 +1316 y(\(position-theta)d(pos\))i(\(atan)g(y)h(x\)\)\)\))0 +1419 y(\(defclass)e(x-y-position)g(\(position\))85 1471 +y(\(\(rho)h(:initform)f(0)i(:accessor)e(position-rho\))106 +1523 y(\(theta)h(:initform)f(0)i(:accessor)e(position-theta\)\)\))0 +1654 y(;;;)i(All)f(instances)f(of)i(the)g(old)f(x-y-position)f(class)h +(will)g(be)h(updated)0 1706 y(;;;)g(automatically.)0 +1810 y(;;;)g(The)f(new)h(representation)d(has)i(the)h(look)f(and)h +(feel)f(of)h(the)g(old)f(one.)0 1914 y(\(defmethod)f(position-x)g +(\(\(pos)h(x-y-position\)\))64 1966 y(\(with-slots)e(\(rho)j(theta\))f +(pos)g(\(*)h(rho)g(\(cos)f(theta\)\)\)\))0 2069 y(\(defmethod)f(\(setf) +h(position-x\))f(\(new-x)h(\(pos)g(x-y-position\)\))64 +2121 y(\(with-slots)e(\(rho)j(theta\))f(pos)106 2173 +y(\(let)g(\(\(y)h(\(position-y)e(pos\)\)\))148 2225 y(\(setq)h(rho)h +(\(sqrt)f(\(+)h(\(*)g(new-x)f(new-x\))g(\(*)g(y)h(y\)\)\))275 +2277 y(theta)f(\(atan)g(y)h(new-x\)\))148 2329 y(new-x\)\)\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 935 959 +935 958 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(935)0 347 y Fs(\(defmethod)19 b(position-y)g(\(\(pos)h +(x-y-position\)\))64 399 y(\(with-slots)e(\(rho)j(theta\))f(pos)g(\(*)h +(rho)g(\(sin)f(theta\)\)\)\))0 483 y(\(defmethod)f(\(setf)h +(position-y\))f(\(new-y)h(\(pos)g(x-y-position\)\))64 +535 y(\(with-slots)e(\(rho)j(theta\))f(pos)106 587 y(\(let)g(\(\(x)h +(\(position-x)e(pos\)\)\))148 638 y(\(setq)h(rho)h(\(sqrt)f(\(+)h(\(*)g +(x)f(x\))h(\(*)g(new-y)f(new-y\)\)\))275 690 y(theta)g(\(atan)g(new-y)h +(x\)\))148 742 y(new-y\)\)\))-33 836 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 864 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(with-accessors)32 b(\()7 b Ft(f)p Fv(slot-entry)p +Ft(g)583 849 y Fl(\003)608 864 y Fs(\))14 b Fv(instanc)n(e-form)333 +916 y Ft(f)p Fv(de)n(clar)n(ation)p Ft(g)572 901 y Fl(\003)619 +916 y Ft(f)7 b Fv(form)p Ft(g)754 901 y Fl(\003)0 993 +y Fw(The)15 b(macro)e Fs(with-accessors)f Fw(creates)k(a)e(lexical)g +(en)o(vironmen)o(t)f(in)h(whic)o(h)g(sp)q(eci\014ed)0 +1045 y(slots)i(are)g(lexically)e(a)o(v)n(ailable)f(through)j(their)f +(accessors)j(as)e(if)e(they)i(w)o(ere)h(v)n(ariables.)0 +1097 y(The)f(macro)f Fs(with-accessors)e Fw(in)o(v)o(ok)o(es)j(the)g +(appropriate)g(accessors)i(to)e(access)i(the)0 1148 y(sp)q(eci\014ed)d +(slots.)k(Both)14 b Fs(setf)f Fw(and)h Fs(setq)f Fw(can)h(b)q(e)g(used) +h(to)f(set)g(the)h(v)n(alue)e(of)g(the)i(slot.)42 1200 +y(The)j(result)g(returned)h(is)f(that)f(obtained)h(b)o(y)f(executing)h +(the)h(forms)d(sp)q(eci\014ed)j(b)o(y)0 1252 y(the)14 +b Fv(b)n(o)n(dy)k Fw(argumen)o(t.)42 1304 y(Example:)0 +1388 y Fs(\(with-accessors)g(\(\(x)j(position-x\))e(\(y)h +(position-y\)\))f(p1)42 1440 y(\(setq)h(x)h(y\)\))42 +1525 y Fw(A)13 b Fs(with-accessors)e Fw(expression)k(of)f(the)g(form)0 +1609 y Fs(\(with-accessors)k(\()p Fv(slot)t(-)o(entry)549 +1619 y Fk(1)589 1609 y Fs(...)i Fv(slot)t(-entry)854 +1619 y Fi(n)875 1609 y Fs(\))h Fv(instanc)n(e)42 1661 +y(de)n(clar)n(ation)242 1667 y Fk(1)282 1661 y Fs(...)g +Fv(de)n(clar)n(ation)569 1667 y Fi(m)598 1661 y Fs(\))42 +1713 y Fv(form)131 1723 y Fk(1)171 1713 y Fs(...)f Fv(form)346 +1723 y Fi(k)364 1713 y Fs(\))0 1797 y Fw(expands)15 b(in)o(to)e(the)h +(equiv)n(alen)o(t)f(of)0 1881 y Fs(\(let)20 b(\(\()p +Fv(in)k(instanc)n(e)s Fs(\)\))42 1933 y(\(symbol-macrolet)18 +b(\(\()p Fv(variable)s(-)o(name)715 1939 y Fk(1)755 1933 +y Fs(\()p Fv(ac)n(c)n(essor)t(-name)1044 1939 y Fk(1)1083 +1933 y Fv(in)s Fs(\)\))423 1985 y(...)423 2037 y(\()p +Fv(variable)s(-name)704 2043 y Fi(n)747 2037 y Fs(\()p +Fv(ac)n(c)n(essor)t(-name)1036 2043 y Fi(n)1078 2037 +y Fv(in)s Fs(\)\)\))85 2089 y Fv(de)n(clar)n(ation)285 +2095 y Fk(1)324 2089 y Fs(...)j Fv(de)n(clar)n(ation)611 +2095 y Fi(m)641 2089 y Fs(\))85 2141 y Fv(form)173 2151 +y Fk(1)213 2141 y Fs(...)g Fv(form)388 2151 y Fi(k)406 +2141 y Fs(\))42 2225 y Fw([X3J13)e(v)o(oted)i(in)e(Marc)o(h)i(1989)f +Ft(h)p Fw(173)p Ft(i)f Fw(to)i(mo)q(dify)d(the)j(de\014nition)e(of)h +Fs(symbol-)0 2277 y(macrolet)13 b Fw(substan)o(tially)g(and)h(also)g(v) +o(oted)h Ft(h)p Fw(172)p Ft(i)f Fw(to)g(allo)o(w)e(declarations)j(b)q +(efore)g(the)0 2329 y(b)q(o)q(dy)g(of)e Fs(symbol-macrolet)f +Fw(but)j(with)f(p)q(eculiar)h(treatmen)o(t)f(of)g Fs(special)f +Fw(and)h(t)o(yp)q(e)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 936 960 +936 959 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(936)77 b(COMMON)13 +b(LISP)0 295 y Fw(declarations.)25 b(The)17 b(syn)o(tactic)f(c)o +(hanges)h(are)g(re\015ected)h(in)e(this)g(de\014nition)g(of)g +Fs(with-)0 347 y(accessors)p Fw(.|GLS])42 399 y(See)e +Fs(with-slots)e Fw(and)i Fs(symbol-macrolet)p Fw(.)-33 +542 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1145 570 a([)p Fv(Sp)n(e)n(cial)h(form)s +Fw(])-1396 b Fs(with-added-method)o(s)32 b(\()p Fv(function-name)16 +b(lamb)n(da-list)456 622 y Fw([)-7 b([)7 b Ft(#)p Fv(option)14 +b Ft(j)21 b(f)p Fv(metho)n(d-description)p Ft(g)1045 +607 y Fl(\003)1078 622 y Fw(])-7 b(])7 b Fs(\))420 674 +y Ft(f)g Fv(form)p Ft(g)555 659 y Fl(\003)0 767 y Fw(The)17 +b Fs(with-added-methods)c Fw(sp)q(ecial)k(form)f(pro)q(duces)i(new)f +(generic)h(functions)f(and)0 819 y(establishes)j(new)g(lexical)e +(function)h(de\014nition)g(bindings.)33 b(Eac)o(h)20 +b(generic)g(function)0 870 y(is)d(created)i(b)o(y)e(adding)g(the)h(set) +g(of)f(metho)q(ds)g(sp)q(eci\014ed)i(b)o(y)e(its)g(metho)q(d)g +(de\014nitions)0 922 y(to)g(a)f(cop)o(y)h(of)g(the)g(lexically)f +(visible)g(generic)i(function)e(of)h(the)g(same)f(name)g(and)h(its)0 +974 y(metho)q(ds.)32 b(If)18 b(suc)o(h)h(a)g(generic)g(function)g(do)q +(es)g(not)f(already)h(exist,)g(a)g(new)g(generic)0 1026 +y(function)14 b(is)f(created;)i(this)f(generic)h(function)f(has)g +(lexical)f(scop)q(e.)42 1079 y(The)18 b(sp)q(ecial)f(form)f +Fs(with-added-methods)e Fw(is)k(used)g(to)g(de\014ne)g(functions)g +(whose)0 1131 y(names)12 b(are)h(meaningful)e(only)h(lo)q(cally)f(and)i +(to)g(execute)i(a)d(series)j(of)d(forms)g(with)g(these)0 +1183 y(function)i(de\014nition)f(bindings.)42 1236 y(The)e(names)f(of)h +(functions)g(de\014ned)h(b)o(y)f Fs(with-added-metho)o(ds)d +Fw(ha)o(v)o(e)j(lexical)f(scop)q(e;)0 1287 y(they)17 +b(retain)g(their)f(lo)q(cal)g(de\014nitions)g(only)g(within)g(the)h(b)q +(o)q(dy)f(of)g(the)h Fs(with-added-)0 1339 y(methods)j +Fw(construct.)43 b(An)o(y)22 b(references)j(within)c(the)h(b)q(o)q(dy)g +(of)f(the)h Fs(with-added-)0 1391 y(methods)15 b Fw(construct)k(to)e +(functions)g(whose)g(names)f(are)i(the)f(same)f(as)h(those)h(de\014ned) +0 1443 y(within)e(the)h Fs(with-added-methods)c Fw(form)i(are)i(th)o +(us)g(references)i(to)e(the)g(lo)q(cal)f(func-)0 1495 +y(tions)11 b(instead)h(of)f(to)h(an)o(y)f(global)f(functions)h(of)g +(the)h(same)f(names.)17 b(The)12 b(scop)q(e)g(of)f(these)0 +1547 y(generic)i(function)f(de\014nition)g(bindings)f(includes)i(the)f +(metho)q(d)g(b)q(o)q(dies)g(themselv)o(es)h(as)0 1599 +y(w)o(ell)g(as)h(the)h(b)q(o)q(dy)f(of)f(the)h Fs(with-added-methods)c +Fw(construct.)42 1652 y(The)h Fv(function-name)p Fw(,)h +Fv(option)p Fw(,)g Fv(metho)n(d-quali\014er)p Fw(,)f(and)g +Fv(sp)n(e)n(cialize)n(d-lamb)n(da-list)j Fw(ar-)0 1703 +y(gumen)o(ts)f(are)h(the)h(same)e(as)h(for)f Fs(defgeneric)p +Fw(.)42 1756 y(The)19 b(b)q(o)q(dy)h(of)e(eac)o(h)i(metho)q(d)f(is)g +(enclosed)i(in)d(an)i(implicit)c(blo)q(c)o(k.)34 b(If)19 +b Fv(function-)0 1808 y(name)e Fw(is)c(a)h(sym)o(b)q(ol,)d(this)i(blo)q +(c)o(k)g(b)q(ears)i(the)f(same)e(name)h(as)g(the)h(generic)h(function.) +i(If)0 1860 y Fv(function-name)i Fw(is)c(a)g(list)f(of)g(the)i(form)d +Fs(\(setf)20 b Fv(symb)n(ol)t Fs(\))p Fw(,)15 b(the)h(name)d(of)i(the)g +(blo)q(c)o(k)g(is)0 1912 y Fv(symb)n(ol)p Fw(.)42 1965 +y(The)h(result)g(returned)i(b)o(y)d Fs(with-added-methods)d +Fw(is)k(the)g(v)n(alue)f(or)h(v)n(alues)f(of)g(the)0 +2017 y(last)i(form)e(executed.)28 b(If)17 b(no)f(forms)f(are)j(sp)q +(eci\014ed,)g Fs(with-added-methods)13 b Fw(returns)0 +2068 y Fs(nil)p Fw(.)42 2121 y(If)22 b(a)g(generic)h(function)f(with)h +(the)g(giv)o(en)f(name)f(already)h(exists,)j(the)e(lam)o(b)q(da-)0 +2173 y(list)16 b(sp)q(eci\014ed)j(in)d(the)i Fs(with-added-meth)o(ods)c +Fw(form)h(m)o(ust)h(b)q(e)h(congruen)o(t)h(with)e(the)0 +2225 y(lam)o(b)q(da-lists)j(of)h(all)g(existing)h(metho)q(ds)g(on)f +(that)i(function)e(as)i(w)o(ell)e(as)h(with)g(the)0 2277 +y(lam)o(b)q(da-lists)11 b(of)h(all)g(metho)q(ds)g(de\014ned)i(b)o(y)f +(the)h Fs(with-added-method)o(s)c Fw(form;)h(other-)0 +2329 y(wise)j(an)g(error)h(is)e(signaled.)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 937 961 +937 960 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(COMMON)12 b(LISP)h(OBJECT)f +(SYSTEM)749 b(937)42 295 y Fw(If)23 b Fv(function-name)28 +b Fw(sp)q(eci\014es)d(an)f(existing)f(generic)i(function)e(that)h(has)g +(a)g(dif-)0 347 y(feren)o(t)f(v)n(alue)e(for)g(an)o(y)h(of)f(the)i +(follo)o(wing)c Fv(option)25 b Fw(argumen)o(ts,)e(the)g(cop)o(y)e(of)h +(that)0 399 y(generic)14 b(function)f(is)h(mo)q(di\014ed)e(to)h(ha)o(v) +o(e)g(the)h(new)g(v)n(alue:)j Fs(:argument-preceden)o(ce-)0 +450 y(order)p Fw(,)25 b Fs(declare)p Fw(,)g Fs(:documentation)p +Fw(,)e Fs(:generic-function-)o(clas)o(s)p Fw(,)g Fs(:method-)0 +502 y(combination)p Fw(.)42 554 y(If)18 b Fv(function-name)23 +b Fw(sp)q(eci\014es)e(an)e(existing)g(generic)h(function)f(that)g(has)h +(a)e(di\013er-)0 606 y(en)o(t)e(v)n(alue)g(for)f(the)i +Fs(:method-class)c Fv(option)20 b Fw(argumen)o(t,)15 +b(that)h(v)n(alue)f(is)h(c)o(hanged)g(in)0 658 y(the)g(cop)o(y)f(of)f +(that)h(generic)h(function,)f(but)g(an)o(y)f(metho)q(ds)h(copied)g +(from)e(the)j(existing)0 710 y(generic)f(function)e(are)i(not)e(c)o +(hanged.)42 762 y(If)h(a)g(function)h(of)f(the)h(giv)o(en)f(name)f +(already)i(exists,)g(that)g(function)f(is)h(copied)f(in)o(to)0 +814 y(the)i(default)f(metho)q(d)f(for)h(a)g(generic)h(function)f(of)f +(the)i(giv)o(en)f(name.)21 b(Note)15 b(that)h(this)0 +866 y(b)q(eha)o(vior)e(di\013ers)g(from)e(that)i(of)g +Fs(defgeneric)p Fw(.)42 918 y(If)k(a)h(macro)e(or)i(sp)q(ecial)g(form)e +(of)h(the)i(giv)o(en)e(name)g(already)g(exists,)j(an)d(error)i(is)0 +970 y(signaled.)42 1022 y(If)11 b(there)i(is)f(no)g(existing)f(generic) +i(function,)e(the)i Fv(option)i Fw(argumen)o(ts)c(ha)o(v)o(e)h(the)h +(same)0 1074 y(default)h(v)n(alues)f(as)h(the)h Fv(option)i +Fw(argumen)o(ts)c(to)h Fs(defgeneric)p Fw(.)42 1126 y(See)36 +b Fs(generic-labels)p Fw(,)i Fs(generic-flet)p Fw(,)g +Fs(defmethod)p Fw(,)g Fs(defgeneric)p Fw(,)h(and)0 1178 +y Fs(ensure-generic-fu)o(nctio)o(n)p Fw(.)-33 1287 y +@beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 1315 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(with-slots)33 b(\()7 b Ft(f)p Fv(slot-entry)p Ft(g)496 +1300 y Fl(\003)520 1315 y Fs(\))15 b Fv(instanc)n(e-form)22 +b Ft(f)p Fv(de)n(clar)n(ation)p Ft(g)1066 1300 y Fl(\003)1113 +1315 y Ft(f)6 b Fv(form)p Ft(g)1247 1300 y Fl(\003)0 +1427 y Fv(slot-entry)17 b Fw(::=)c Fv(slot-name)k Ft(j)c +Fs(\()p Fv(variable)p Fs(-)p Fv(name)24 b(slot)p Fs(-)p +Fv(name)s Fs(\))0 1514 y Fw(The)12 b(macro)e Fs(with-slots)g +Fw(creates)j(a)e(lexical)g(con)o(text)h(for)f(referring)h(to)g(sp)q +(eci\014ed)h(slots)0 1566 y(as)f(though)f(they)h(w)o(ere)h(v)n +(ariables.)j(Within)11 b(suc)o(h)h(a)f(con)o(text)i(the)f(v)n(alue)f +(of)g(the)h(slot)g(can)0 1618 y(b)q(e)17 b(sp)q(eci\014ed)i(b)o(y)d +(using)h(its)g(slot)f(name,)g(as)h(if)f(it)h(w)o(ere)g(a)g(lexically)e +(b)q(ound)i(v)n(ariable.)0 1670 y(Both)d Fs(setf)f Fw(and)h +Fs(setq)f Fw(can)h(b)q(e)h(used)f(to)g(set)h(the)f(v)n(alue)g(of)f(the) +h(slot.)42 1722 y(The)20 b(macro)f Fs(with-slots)e Fw(translates)k(an)f +(app)q(earance)h(of)e(the)i(slot)e(name)g(as)h(a)0 1774 +y(v)n(ariable)13 b(in)o(to)g(a)h(call)f(to)g Fs(slot-value)p +Fw(.)42 1826 y(The)18 b(result)g(returned)h(is)f(that)f(obtained)h(b)o +(y)f(executing)h(the)h(forms)d(sp)q(eci\014ed)j(b)o(y)0 +1878 y(the)14 b Fv(b)n(o)n(dy)k Fw(argumen)o(t.)42 1930 +y(Example:)0 2017 y Fs(\(with-slots)h(\(x)i(y\))f(position-1)42 +2069 y(\(sqrt)g(\(+)h(\(*)g(x)g(x\))g(\(*)f(y)h(y\)\)\)\))0 +2173 y(\(with-slots)e(\(\(x1)h(x\))h(\(y1)g(y\)\))f(position-1)42 +2225 y(\(with-slots)f(\(\(x2)i(x\))f(\(y2)h(y\)\))f(position-2)85 +2277 y(\(psetf)g(x1)g(x2)233 2329 y(y1)h(y2\)\)\)\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 938 962 +938 961 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(938)77 b(COMMON)13 +b(LISP)0 347 y Fs(\(with-slots)19 b(\(x)i(y\))f(position)42 +399 y(\(setq)g(x)h(\(1+)g(x\))169 450 y(y)g(\(1+)g(y\)\)\))42 +535 y Fw(A)13 b Fs(with-slots)f Fw(expression)j(of)f(the)g(form:)0 +621 y Fs(\(with-slots)19 b(\()p Fv(slot)t(-)o(entry)462 +631 y Fk(1)501 621 y Fs(...)i Fv(slot)t(-)o(entry)767 +631 y Fi(n)788 621 y Fs(\))g Fv(instanc)n(e)42 672 y(de)n(clar)n(ation) +242 678 y Fk(1)282 672 y Fs(...)g Fv(de)n(clar)n(ation)569 +678 y Fi(m)598 672 y Fs(\))42 724 y Fv(form)131 735 y +Fk(1)171 724 y Fs(...)f Fv(form)346 735 y Fi(k)364 724 +y Fs(\))0 809 y Fw(expands)15 b(in)o(to)e(the)h(equiv)n(alen)o(t)f(of)0 +895 y Fs(\(let)20 b(\(\()p Fv(in)k(instanc)n(e)s Fs(\)\))42 +946 y(\(symbol-macrolet)18 b(\()p Fv(Q)466 952 y Fk(1)506 +946 y Fs(...)i Fv(Q)624 952 y Fi(n)645 946 y Fs(\))85 +998 y Fv(de)n(clar)n(ation)285 1004 y Fk(1)324 998 y +Fs(...)h Fv(de)n(clar)n(ation)611 1004 y Fi(m)641 998 +y Fs(\))85 1050 y Fv(form)173 1060 y Fk(1)213 1050 y +Fs(...)g Fv(form)388 1060 y Fi(k)406 1050 y Fs(\))0 1135 +y Fw(where)15 b Fv(Q)152 1145 y Fi(j)178 1135 y Fw(is)0 +1221 y Fs(\()p Fv(slot)t(-)o(entry)201 1231 y Fi(j)235 +1221 y Fs(\(slot-value)k Fv(in)554 1225 y Fn(')577 1221 +y Fv(slot)t(-entry)756 1231 y Fi(j)769 1221 y Fs(\)\))0 +1306 y Fw(if)13 b Fv(slot-entry)209 1316 y Fi(j)236 1306 +y Fw(is)h(a)f(sym)o(b)q(ol)f(and)i(is)0 1391 y Fs(\()p +Fv(variable)s(-)o(name)281 1397 y Fi(j)315 1391 y Fs(\(slot-value)19 +b Fv(in)634 1395 y Fn(')657 1391 y Fv(slot)t(-name)840 +1397 y Fi(j)852 1391 y Fs(\)\))0 1476 y Fw(if)13 b Fv(slot-entry)209 +1486 y Fi(j)236 1476 y Fw(is)h(of)f(the)h(form)f Fs(\()p +Fv(variable)s(-)o(name)776 1482 y Fi(j)810 1476 y Fv(slot)t(-)o(name) +992 1482 y Fi(j)1004 1476 y Fs(\))p Fw(.)42 1528 y([X3J13)19 +b(v)o(oted)i(in)e(Marc)o(h)i(1989)f Ft(h)p Fw(173)p Ft(i)f +Fw(to)i(mo)q(dify)d(the)j(de\014nition)e(of)h Fs(symbol-)0 +1580 y(macrolet)13 b Fw(substan)o(tially)g(and)h(also)g(v)o(oted)h +Ft(h)p Fw(172)p Ft(i)f Fw(to)g(allo)o(w)e(declarations)j(b)q(efore)g +(the)0 1632 y(b)q(o)q(dy)g(of)e Fs(symbol-macrolet)f +Fw(but)j(with)f(p)q(eculiar)h(treatmen)o(t)f(of)g Fs(special)f +Fw(and)h(t)o(yp)q(e)0 1684 y(declarations.)25 b(The)17 +b(syn)o(tactic)f(c)o(hanges)h(are)g(re\015ected)h(in)e(this)g +(de\014nition)g(of)g Fs(with-)0 1736 y(slots)p Fw(.|GLS])42 +1788 y(See)e Fs(with-accessors)d Fw(and)j Fs(symbol-macrolet)p +Fw(.)-33 1799 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 545 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 939 963 +939 962 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(29)p 0 448 598 +9 v 0 531 a Fp(Conditions)0 683 y Fx(BY)13 b(KENT)h(M.)g(PITMAN)0 +975 y Fr(p)t(r)t(e)t(f)t(a)t(c)t(e)t(:)20 b Fw(The)14 +b(language)e(de\014ned)i(b)o(y)g(the)f(\014rst)h(edition)f(con)o +(tained)g(an)g(enormous)-33 946 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1026 a(lacuna:)23 b(although)16 b(facilities)f(w)o(ere)j +(sp)q(eci\014ed)g(for)e(signaling)f(errors,)k(no)d(means)g(w)o(as)0 +1078 y(de\014ned)11 b(for)e(handling)g(errors.)18 b(This)10 +b(o)q(ccurred)i(not)d(through)h(neglect)h(of)e(the)i(issue,)g(but)0 +1130 y(b)q(ecause)k(this)f(part)g(of)e(the)j(Lisp)e(language)g +(generally)g(w)o(as)g(in)g(a)g(state)i(of)e(\015ux.)18 +b(There)0 1182 y(w)o(ere)d(sev)o(eral)g(prop)q(osals)f(at)g(the)h +(time.)j(The)d(committee,)d(\014nding)i(that)g(it)g(could)g(not)0 +1234 y(agree)i(on)f(an)o(y)g(one)h(prop)q(osal,)f(agreed)h(to)f +(disagree)h(and)g(omit)d(error)j(handling)e(from)0 1286 +y(Common)d(Lisp)i(for)h(the)g(time)f(b)q(eing.)18 b(This)c(defect)h +(has)f(no)o(w)f(b)q(een)i(addressed.)42 1339 y(X3J13)9 +b(v)o(oted)g(in)g(June)h(1988)f Ft(h)p Fw(30)p Ft(i)g +Fw(to)g(adopt)h(the)g(Comm)o(on)d(Lisp)i(Condition)f(System)0 +1391 y(as)16 b(a)g(part)g(of)g(the)h(forthcoming)d(draft)i(Common)d +(Lisp)j(standard.)25 b(X3J13)16 b(v)o(oted)g(in)0 1443 +y(Marc)o(h)f(1989)e Ft(h)p Fw(186)p Ft(i)h Fw(to)g(amend)f(the)i(sp)q +(eci\014cation)g(of)f(conditions)g(to)g(in)o(tegrate)h(them)0 +1495 y(with)20 b(the)h(Commo)o(n)d(Lisp)i(Ob)r(ject)h(System)f(\(see)i +(c)o(hapter)f(28\).)37 b(X3J13)20 b(v)o(oted)g(in)0 1547 +y(June)15 b(1989)f Ft(h)p Fw(31)p Ft(i)g Fw(to)h(amend)e(the)j(sp)q +(eci\014cation)f(of)f(restarts)i(in)e(certain)i(w)o(a)o(ys.)j(These)0 +1598 y(amendmen)o(ts)12 b(ha)o(v)o(e)i(b)q(een)h(incorp)q(orated)f +(here)i(with)d(little)g(further)i(commen)o(t.)42 1652 +y(This)d(c)o(hapter)h(presen)o(ts)i(the)e(bulk)f(of)g(the)h(Common)c +(Lisp)k(Condition)e(System)h(pro-)0 1704 y(p)q(osal,)j(written)h(b)o(y) +f(Ken)o(t)h(M.)f(Pitman)f(and)h(amended)g(b)o(y)g(X3J13.)22 +b(I)16 b(ha)o(v)o(e)f(edited)h(it)0 1755 y(only)11 b(v)o(ery)h(ligh)o +(tly)e(to)h(conform)g(to)g(the)i(o)o(v)o(erall)d(st)o(yle)i(of)f(this)h +(b)q(o)q(ok)f(and)h(ha)o(v)o(e)f(inserted)0 1807 y(a)g(small)f(n)o(um)o +(b)q(er)g(of)h(brac)o(k)o(eted)i(remarks)e(iden)o(ti\014ed)h(b)o(y)f +(the)i(initials)d(GLS.)g(Please)i(see)0 1859 y(the)f(Ac)o(kno)o +(wledgmen)o(ts)f(to)g(this)h(second)h(edition)e(for)g(the)h(author's)g +(ac)o(kno)o(wledgmen)o(ts)0 1911 y(to)j(others)h(who)e(con)o(tributed)i +(to)f(the)g(Condition)f(System)g(prop)q(osal.)1042 1964 +y(|Guy)f(L.)i(Steele)h(Jr.)0 2072 y Fo(29.1.)20 b(In)n(tro)r(duction)0 +2173 y Fw(Often)h(w)o(e)g(\014nd)f(it)g(useful)h(to)f(describ)q(e)i(a)e +(function)h(in)f(terms)g(of)g(its)g(b)q(eha)o(vior)g(in)0 +2225 y(\\normal)11 b(situations.")17 b(F)m(or)12 b(example,)g(w)o(e)h +(ma)o(y)e(sa)o(y)i(informally)d(that)j(the)g(function)g +Fs(+)0 2277 y Fw(returns)i(the)g(sum)d(of)i(its)f(argumen)o(ts)g(or)h +(that)g(the)g(function)g Fs(read-char)e Fw(returns)j(the)0 +2329 y(next)f(a)o(v)n(ailable)e(c)o(haracter)j(on)f(a)g(giv)o(en)f +(input)h(stream.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1337 2428 a Fy(939)p eop +%%Page: 940 964 +940 963 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(940)77 b(COMMON)13 +b(LISP)42 295 y Fw(Sometimes,)e(ho)o(w)o(ev)o(er,)j(an)f(\\exceptional) +h(situation")f(will)g(arise)h(that)g(do)q(es)h(not)f(\014t)0 +347 y(neatly)e(in)o(to)g(suc)o(h)i(descriptions.)k(F)m(or)13 +b(example,)e Fs(+)h Fw(migh)o(t)f(receiv)o(e)j(an)e(argumen)o(t)g(that) +0 399 y(is)j(not)h(a)f(n)o(um)o(b)q(er,)g(or)g Fs(read-char)f +Fw(migh)o(t)g(receiv)o(e)i(as)g(a)f(single)h(argumen)o(t)e(a)h(stream)0 +450 y(that)g(has)h(no)f(more)f(a)o(v)n(ailable)f(c)o(haracters.)24 +b(This)15 b(distinction)g(b)q(et)o(w)o(een)i(normal)c(and)0 +502 y(exceptional)k(situations)h(is)f(in)g(some)f(sense)j(arbitrary)f +(but)f(is)g(often)h(v)o(ery)g(useful)f(in)0 554 y(practice.)42 +609 y(F)m(or)f(example,)g(supp)q(ose)j(a)e(function)f +Fs(f)h Fw(w)o(ere)h(de\014ned)h(to)e(allo)o(w)e(only)h(in)o(teger)i +(ar-)0 661 y(gumen)o(ts)g(but)h(also)g(guaran)o(teed)g(to)g(detect)i +(and)d(signal)g(an)h(error)h(for)f(non-in)o(teger)0 712 +y(argumen)o(ts.)e(Suc)o(h)c(a)g(description)g(is)g(in)f(fact)h(in)o +(ternally)e(inconsisten)o(t)j(\(that)f(is,)f(para-)0 +764 y(do)o(xical\))i(b)q(ecause)i(the)f(function's)f(b)q(eha)o(vior)g +(is)h(w)o(ell-de\014ned)g(for)f(non-in)o(tegers.)21 b(Y)m(et)0 +816 y(w)o(e)14 b(w)o(ould)f(not)g(w)o(an)o(t)g(this)h(anno)o(ying)e +(parado)o(x)h(to)h(force)g(description)g(of)f Fs(f)h +Fw(as)f(a)h(func-)0 868 y(tion)f(that)h(accepts)i(an)o(y)d(kind)g(of)h +(argumen)o(t)e(\(just)j(in)e(case)i Fs(f)e Fw(is)h(b)q(eing)g(called)g +(only)f(as)0 920 y(a)j(quic)o(k)f(w)o(a)o(y)h(to)g(signal)f(an)g +(error,)i(for)f(example\).)23 b(Using)16 b(the)h(normal/exceptional)0 +972 y(distinction,)12 b(w)o(e)i(can)f(sa)o(y)g(clearly)g(that)g +Fs(f)g Fw(accepts)i(in)o(tegers)f(in)f(the)g(normal)e(situation)0 +1024 y(and)f(signals)g(an)g(error)h(in)f(exceptional)h(situations.)16 +b(Moreo)o(v)o(er,)11 b(w)o(e)g(can)g(sa)o(y)f(that)g(when)0 +1076 y(w)o(e)17 b(refer)h(to)f(the)h(de\014nition)e(of)h(a)g(function)f +(informally)l(,)f(it)h(is)h(acceptable)h(to)f(sp)q(eak)0 +1128 y(only)11 b(of)h(its)g(normal)f(b)q(eha)o(vior.)17 +b(F)m(or)12 b(example,)f(w)o(e)h(can)h(sp)q(eak)g(informall)o(y)c(ab)q +(out)k Fs(f)f Fw(as)0 1179 y(a)i(function)g(that)g(accepts)i(only)e(in) +o(tegers)h(without)f(feeling)g(that)g(w)o(e)g(are)h(committing)0 +1231 y(some)e(a)o(wful)g(fraud.)42 1286 y(Not)j(all)f(exceptional)i +(situations)f(are)h(errors.)27 b(F)m(or)17 b(example,)e(a)h(program)f +(that)i(is)0 1338 y(directing)f(the)h(t)o(yping)f(of)f(a)h(long)f(line) +h(of)g(text)h(ma)o(y)d(come)h(to)h(an)g(end-of-line.)25 +b(It)16 b(is)0 1390 y(p)q(ossible)f(that)h(no)f(real)g(harm)e(will)h +(result)i(from)d(failing)g(to)i(signal)f(end-of-line)h(to)g(its)0 +1441 y(caller)e(b)q(ecause)i(the)e(op)q(erating)g(system)g(will)f +(simply)f(force)i(a)g(carriage)g(return)h(on)f(the)0 +1493 y(output)i(device,)h(whic)o(h)f(will)e(con)o(tin)o(ue)i(t)o(yping) +f(on)h(the)h(next)f(line.)21 b(Ho)o(w)o(ev)o(er,)15 b(it)g(ma)o(y)0 +1545 y(still)f(b)q(e)i(in)o(teresting)f(to)g(establish)g(a)g(proto)q +(col)g(whereb)o(y)g(the)h(prin)o(ting)e(program)g(can)0 +1597 y(inform)f(its)j(caller)g(of)f(end-of-line)f(exceptions.)25 +b(The)16 b(caller)f(could)h(then)g(opt)g(to)f(deal)0 +1649 y(with)9 b(these)j(situations)d(in)g(in)o(teresting)i(w)o(a)o(ys)e +(at)h(certain)g(times.)16 b(F)m(or)9 b(example,)g(a)h(caller)0 +1701 y(migh)o(t)h(c)o(ho)q(ose)k(to)e(terminate)g(prin)o(ting,)g +(obtaining)f(an)h(end-of-line)g(truncation.)18 b(The)0 +1753 y(imp)q(ortan)o(t)d(thing,)h(ho)o(w)o(ev)o(er,)h(is)g(that)g(the)g +(failure)f(of)g(the)h(caller)g(to)f(pro)o(vide)h(advice)0 +1805 y(ab)q(out)j(the)i(situation)d(need)j(not)e(prev)o(en)o(t)i(the)f +(prin)o(ter)g(program)e(from)g(op)q(erating)0 1857 y(correctly)m(.)42 +1911 y(Mec)o(hanisms)h(for)g(dealing)g(with)g(exceptional)h(situations) +g(v)n(ary)f(widely)m(.)38 b(When)0 1963 y(an)18 b(exceptional)f +(situation)h(is)f(encoun)o(tered,)k(a)c(program)f(ma)o(y)g(attempt)h +(to)h(handle)0 2015 y(it)e(b)o(y)h(returning)g(a)g(distinguished)g(v)n +(alue,)f(returning)h(an)g(additional)e(v)n(alue,)h(setting)0 +2067 y(a)21 b(v)n(ariable,)f(calling)g(a)g(function,)i(p)q(erforming)d +(a)i(sp)q(ecial)g(transfer)h(of)e(con)o(trol,)i(or)0 +2119 y(stopping)14 b(the)g(program)e(altogether)i(and)g(en)o(tering)h +(the)f(debugger.)42 2173 y(F)m(or)f(the)i(most)f(part,)g(the)h +(facilities)e(describ)q(ed)j(in)e(this)g(c)o(hapter)i(do)e(not)g(in)o +(tro)q(duce)0 2225 y(an)o(y)i(fundamen)o(tally)e(new)j(w)o(a)o(y)f(of)f +(dealing)h(with)g(exceptional)h(situations.)25 b(Rather,)0 +2277 y(they)15 b(encapsulate)h(and)f(formalize)e(useful)h(patterns)i +(of)f(data)f(and)h(con)o(trol)f(\015o)o(w)h(that)0 2329 +y(ha)o(v)o(e)f(b)q(een)h(seen)g(to)f(b)q(e)g(useful)g(in)g(dealing)f +(with)g(exceptional)h(situations.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 941 965 +941 964 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(941)42 295 y Fw(A)19 b(prop)q(er)g(conceptual)h(approac)o(h)f(to)g +(errors)h(should)f(p)q(erhaps)h(b)q(egin)f(from)e(\014rst)0 +347 y(principles,)10 b(with)f(a)g(discussion)h(of)f Fv(c)n(onditions)h +Fw(in)e(general,)i(and)g(ev)o(en)o(tually)e(w)o(ork)h(up)h(to)0 +399 y(the)j(concept)h(of)e(an)h Fv(err)n(or)e Fw(as)i(just)g(one)g(of)f +(the)h(man)o(y)e(kinds)h(of)g(conditions.)18 b(Ho)o(w)o(ev)o(er,)0 +450 y(giv)o(en)c(the)h(primitiv)o(e)d(state)j(of)f(error-handling)g +(tec)o(hnology)m(,)f(a)h(prop)q(er)h(buildup)f(ma)o(y)0 +502 y(b)q(e)h(as)f(inappropriate)g(as)h(requiring)f(that)g(a)h(b)q +(eggar)f(learn)g(to)h(co)q(ok)f(a)g(gourmet)f(meal)0 +554 y(b)q(efore)19 b(b)q(eing)g(allo)o(w)o(ed)e(to)h(eat.)32 +b(Th)o(us,)19 b(w)o(e)g(deal)f(\014rst)h(with)f(the)h(essen)o +(tials|error)0 606 y(handling|and)12 b(then)j(go)e(bac)o(k)h(later)g +(to)g(\014ll)e(in)i(the)g(missing)e(details.)0 789 y +Fo(29.2.)20 b(Changes)c(in)f(T)-5 b(erminology)0 885 +y Fw(In)23 b(this)g(section,)i(w)o(e)f(in)o(tro)q(duce)f(c)o(hanges)h +(to)f(the)g(terminology)e(de\014ned)j(in)f(sec-)0 937 +y(tion)13 b(1.2.4.)42 990 y(A)f Fv(c)n(ondition)i Fw(is)e(an)h(in)o +(teresting)g(situation)g(in)f(a)h(program)e(that)i(has)g(b)q(een)h +(detected)0 1042 y(and)c(announced.)17 b(Later)10 b(w)o(e)g(allo)o(w)e +(this)i(term)f(also)g(to)h(refer)h(to)e(ob)r(jects)i(that)f(programs)0 +1094 y(use)15 b(to)e(represen)o(t)k(suc)o(h)d(situations.)42 +1146 y(An)9 b Fv(err)n(or)f Fw(is)h(a)h(condition)e(in)h(whic)o(h)g +(normal)f(program)g(execution)i(ma)o(y)d(not)j(con)o(tin)o(ue)0 +1198 y(without)15 b(some)g(form)e(of)i(in)o(terv)o(en)o(tion)g +(\(either)i(in)o(teractiv)o(ely)e(b)o(y)g(the)h(user)h(or)e(under)0 +1250 y(some)e(sort)h(of)g(program)e(con)o(trol,)h(as)h(describ)q(ed)i +(b)q(elo)o(w\).)42 1303 y(The)g(pro)q(cess)j(b)o(y)d(whic)o(h)g(a)g +(condition)g(is)g(formally)e(announced)j(b)o(y)f(a)g(program)f(is)0 +1355 y(called)h Fv(signaling)p Fw(.)25 b(The)17 b(function)f +Fs(signal)f Fw(is)h(the)h(primitiv)o(e)d(mec)o(hanism)g(b)o(y)i(whic)o +(h)0 1407 y(suc)o(h)g(announcemen)o(t)e(is)h(done.)22 +b(Other)16 b(abstractions,)f(suc)o(h)h(as)f Fs(error)f +Fw(and)g Fs(cerror)p Fw(,)0 1458 y(are)g(built)f(using)h +Fs(signal)p Fw(.)42 1511 y(The)h(\014rst)g(edition)f(is)h(am)o(biguous) +e(ab)q(out)h(the)i(reason)f(wh)o(y)f(a)h(particular)f(program)0 +1563 y(action)h(\\is)g(an)g(error.")23 b(There)17 b(are)f(t)o(w)o(o)e +(principal)h(reasons)h(wh)o(y)g(an)f(action)g(ma)o(y)e(b)q(e)0 +1615 y(an)h(error)g(without)g(b)q(eing)g(required)h(to)e(signal)g(an)h +(error:)0 1685 y Fu(.)42 1694 y Fw(Detecting)g(the)h(error)f(migh)o(t)e +(b)q(e)j(prohibitiv)o(ely)d(exp)q(ensiv)o(e.)42 1758 +y(F)m(or)h(example,)f Fs(\(+)20 b(nil)h(3\))13 b Fw(is)g(an)h(error.)19 +b(It)13 b(is)h(lik)o(ely)e(that)i(the)g(designers)h(of)e(Com-)42 +1810 y(mon)f(Lisp)h(b)q(eliev)o(ed)h(this)g(w)o(ould)f(b)q(e)h(an)f +(error)i(in)e(all)f(implemen)o(tations)f(but)j(felt)f(it)42 +1862 y(migh)o(t)f(b)q(e)k(excessiv)o(ely)g(exp)q(ensiv)o(e)g(to)f +(detect)h(the)g(problem)d(in)i(compiled)e(co)q(de)j(on)42 +1914 y(sto)q(c)o(k)e(hardw)o(are,)g(so)g(they)g(did)g(not)f(require)i +(that)f(it)g(signal)e(an)i(error.)0 1996 y Fu(.)42 2005 +y Fw(Some)e(implemen)o(tations)f(migh)o(t)h(implem)o(en)o(t)g(the)i(b)q +(eha)o(vior)g(as)g(an)g(extension.)42 2069 y(F)m(or)k(example,)h +Fs(\(loop)h(for)g(x)h(from)g(1)g(to)f(3)h(do)g(\(print)f(x\)\))f +Fw(is)f(an)h(error)h(b)q(e-)42 2121 y(cause)14 b Fs(loop)e +Fw(is)h(not)g(de\014ned)h(to)f(tak)o(e)g(atoms)f(in)g(its)h(b)q(o)q(dy) +m(.)18 b(In)13 b(fact,)f(ho)o(w)o(ev)o(er,)i(some)42 +2173 y(implem)o(en)o(tations)f(o\013er)j(an)g(extension)g(that)g(mak)o +(es)f(this)g(w)o(ell-de\014ned.)24 b(In)16 b(order)42 +2225 y(to)g(lea)o(v)o(e)g(ro)q(om)f(for)h(suc)o(h)h(extensions,)h(the)f +(\014rst)g(edition)f(used)h(the)g(\\is)f(an)g(error")42 +2277 y(terminology)d(to)j(k)o(eep)h(implemen)o(tors)d(from)g(b)q(eing)i +(forced)h(to)f(signal)f(an)h(error)h(in)42 2329 y(the)d(extended)h +(implemen)o(tations.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 942 966 +942 965 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(942)77 b(COMMON)13 +b(LISP)42 295 y Fw([This)h(example)f(w)o(as)i(written)g(w)o(ell)g(b)q +(efore)g(the)h(v)o(ote)e(b)o(y)h(X3J13)g(in)f(Jan)o(uary)h(1989)42 +347 y(to)f(add)f(exactly)i(this)f(extension)h(to)f(the)h(forthcoming)d +(draft)i(standard)g(\(see)i(c)o(hap-)42 399 y(ter)e(26\).|GLS])42 +467 y(In)k(this)g(c)o(hapter,)i(w)o(e)f(use)g(the)g(follo)o(wing)d +(terminology)m(.)29 b([Compare)16 b(this)j(to)f(the)0 +519 y(terminology)12 b(presen)o(ted)k(in)d(section)i(28.1.1.|G)o(LS])0 +578 y Fu(.)42 587 y Fw(If)d(the)i(signaling)e(of)h(a)g(condition)f(or)i +(error)g(is)f(part)g(of)g(a)g(function's)g(con)o(tract)h(in)f(all)42 +639 y(situations,)e(w)o(e)h(sa)o(y)g(that)g(it)f(\\signals")g(or)h(\\m) +o(ust)f(signal")f(that)i(condition)f(or)h(error.)0 711 +y Fu(.)42 720 y Fw(If)i(the)i(signaling)d(of)h(a)h(condition)f(or)h +(error)h(is)f(optional)f(for)g(some)g(imp)q(ortan)o(t)f(rea-)42 +772 y(son)k(\(suc)o(h)h(as)f(p)q(erformance\),)h(w)o(e)g(sa)o(y)f(that) +g(the)h(program)e(\\migh)o(t)f(signal")h(that)42 824 +y(condition)d(or)i(error.)22 b(In)14 b(this)h(case,)g(w)o(e)g(are)g +(de\014ning)g(the)g(op)q(eration)g(to)f(b)q(e)i(illegal)42 +876 y(in)11 b(all)h(implem)o(en)o(tations,)e(but)i(allo)o(wing)e(some)i +(implem)o(en)o(tations)e(to)i(fail)f(to)h(detect)42 928 +y(the)i(error.)0 1000 y Fu(.)42 1009 y Fw(If)f(an)h(action)g(is)g(left) +g(unde\014ned)h(for)f(the)g(sak)o(e)h(of)e(implemen)o(tation-dep)q +(enden)o(t)g(ex-)42 1061 y(tension,)e(w)o(e)h(sa)o(y)f(that)h(it)f +(\\is)g(unde\014ned")h(or)g(\\has)f(unde\014ned)i(e\013ect.")18 +b(This)12 b(means)42 1112 y(that)g(it)f(is)h(not)g(p)q(ossible)g(to)g +(dep)q(end)i(p)q(ortably)d(up)q(on)h(the)h(e\013ects)h(of)d(that)i +(action.)k(A)42 1164 y(program)9 b(that)j(has)g(unde\014ned)h(e\013ect) +g(ma)o(y)d(en)o(ter)i(the)h(debugger,)f(transfer)g(con)o(trol,)42 +1216 y(or)h(mo)q(dify)f(data)h(in)h(unpredictable)h(w)o(a)o(ys.)0 +1288 y Fu(.)42 1297 y Fw(In)f(the)i(sp)q(ecial)f(case)h(where)g(only)e +(the)h(return)h(v)n(alue)e(of)h(an)f(op)q(eration)h(is)g(not)f(w)o(ell) +42 1349 y(de\014ned)h(but)g(an)o(y)f(side)g(e\013ect)i(and)f +(transfer-of-con)o(trol)f(b)q(eha)o(vior)g(is)g(w)o(ell)g(de\014ned,)42 +1401 y(w)o(e)g(sa)o(y)g(that)h(it)f(has)g(\\unde\014ned)i(v)n(alue.")i +(In)d(this)f(case,)h(the)g(n)o(um)o(b)q(er)f(and)g(nature)42 +1453 y(of)19 b(the)i(return)g(v)n(alues)f(is)h(not)f(de\014ned,)i(but)f +(the)g(function)f(can)g(reasonably)g(b)q(e)42 1505 y(exp)q(ected)13 +b(to)f(return.)19 b(It)12 b(is)f(w)o(orth)h(noting)f(that)h(under)h +(this)f(description,)g(there)h(are)42 1557 y(some)f(\(though)g(not)h +(man)o(y\))e(legitimate)g(w)o(a)o(ys)i(in)f(whic)o(h)h(suc)o(h)h +(return)g(v)n(alue\(s\))f(can)42 1609 y(b)q(e)g(used.)19 +b(F)m(or)12 b(example,)g(if)g(the)h(function)g Fs(foo)f +Fw(has)i(no)e(side)i(e\013ects)h(and)e(unde\014ned)42 +1660 y(v)n(alue,)k(the)i(expression)g Fs(\(length)h(\(list)g +(\(foo\)\)\))c Fw(is)i(completely)e(w)o(ell)i(de\014ned)42 +1712 y(ev)o(en)f(for)g(p)q(ortable)g(co)q(de.)28 b(Ho)o(w)o(ev)o(er,)18 +b(the)f(e\013ect)i(of)d Fs(\(print)k(\(list)g(\(foo\)\)\))c +Fw(is)42 1764 y(not)d(w)o(ell)g(de\014ned.)0 1890 y Fo(29.3.)20 +b(Surv)n(ey)15 b(of)g(Concepts)0 1969 y Fw(This)f(section)h(discusses)h +(v)n(arious)d(asp)q(ects)j(of)d(the)i(condition)e(system)h(b)o(y)f +(topic,)h(illus-)0 2021 y(trating)h(them)f(with)h(extensiv)o(e)h +(examples.)21 b(The)16 b(next)g(section)g(con)o(tains)f(de\014nitions)0 +2072 y(of)e(sp)q(eci\014c)j(functions,)d(macros,)g(and)g(other)i +(facilities.)0 2198 y Fo(29.3.1.)20 b(Signaling)14 b(Errors)0 +2277 y Fw(Conceptually)m(,)c(signaling)f(an)h(error)i(in)e(a)g(program) +f(is)h(an)h(admission)d(b)o(y)j(that)f(program)0 2329 +y(that)f(it)g(do)q(es)h(not)f(kno)o(w)g(ho)o(w)g(to)g(con)o(tin)o(ue)h +(and)f(requires)h(external)g(in)o(terv)o(en)o(tion.)17 +b(Once)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 943 967 +943 966 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(943)0 295 y Fw(an)14 b(error)h(is)e(signaled,)g(an)o(y)h(decision)g +(ab)q(out)g(ho)o(w)f(to)h(con)o(tin)o(ue)g(m)o(ust)f(come)g(from)f(the) +0 347 y(\\outside.")42 399 y(The)21 b(simplest)f(w)o(a)o(y)g(to)h +(signal)f(an)h(error)h(is)e(to)h(use)h(the)g Fs(error)d +Fw(function)i(with)0 451 y Fs(format)p Fw(-st)o(yle)11 +b(argumen)o(ts)h(describing)h(the)g(error)g(for)f(the)h(sak)o(e)f(of)g +(the)h(user)h(in)o(terface.)0 503 y(If)d Fs(error)e Fw(is)i(called)g +(and)g(there)h(are)f(no)g(activ)o(e)g(handlers)g(\(describ)q(ed)i(in)e +(sections)h(29.3.2)0 555 y(and)h(29.3.3\),)d(the)j(debugger)h(will)d(b) +q(e)i(en)o(tered)i(and)d(the)i(error)f(message)g(will)e(b)q(e)i(t)o(yp) +q(ed)0 606 y(out.)18 b(F)m(or)13 b(example:)0 696 y Fs(Lisp>)20 +b(\(defun)g(factorial)f(\(x\))169 748 y(\(cond)i(\(\(or)f(\(not)g +(\(typep)g(x)709 752 y Fn(')732 748 y Fs(integer\)\))g(\(minusp)f +(x\)\))318 800 y(\(error)g(")489 804 y Fn(~)512 800 y +Fs(S)i(is)g(not)g(a)g(valid)f(argument)f(to)i(FACTORIAL.")466 +851 y(x\)\))296 903 y(\(\(zerop)f(x\))h(1\))296 955 y(\(t)g(\(*)g(x)g +(\(factorial)e(\(-)i(x)g(1\)\)\)\)\)\))21 1007 y Ft(\))g +Fs(FACTORIAL)0 1059 y(Lisp>)f(\(factorial)f(20\))21 1111 +y Ft(\))i Fs(24329020081766400)o(00)0 1163 y(Lisp>)f(\(factorial)f +(-1\))0 1215 y(Error:)h(-1)h(is)f(not)h(a)g(valid)f(argument)g(to)g +(FACTORIAL.)0 1267 y(To)h(continue,)e(type)h(:CONTINUE)g(followed)f(by) +i(an)g(option)f(number:)21 1318 y(1:)h(Return)f(to)h(Lisp)f(Toplevel.)0 +1370 y(Debug>)0 1459 y Fw(In)d(general,)h(a)f(call)f(to)h +Fs(error)f Fw(cannot)h(directly)h(return.)28 b(Unless)18 +b(sp)q(ecial)g(w)o(ork)f(has)0 1511 y(b)q(een)g(done)f(to)g(o)o(v)o +(erride)g(this)f(b)q(eha)o(vior,)h(the)g(debugger)h(will)d(b)q(e)i(en)o +(tered)i(and)d(there)0 1563 y(will)d(b)q(e)j(no)f(option)f(to)g(simply) +f(con)o(tin)o(ue.)42 1615 y(The)g(only)f(exception)h(ma)o(y)e(b)q(e)i +(that)g(some)f(implem)o(en)o(tations)e(ma)o(y)h(pro)o(vide)i(debug-)0 +1667 y(ger)k(commands)c(for)j(in)o(teractiv)o(ely)g(returning)h(from)d +(individual)g(stac)o(k)j(frames;)e(ev)o(en)0 1719 y(then,)g(ho)o(w)o +(ev)o(er,)f(suc)o(h)i(commands)c(should)i(nev)o(er)i(b)q(e)f(used)h +(except)g(b)o(y)e(someone)g(who)0 1771 y(has)e(read)h(the)g(erring)f +(co)q(de)h(and)f(understands)i(the)f(consequences)i(of)c(con)o(tin)o +(uing)g(from)0 1823 y(that)i(p)q(oin)o(t.)17 b(In)12 +b(particular,)g(the)h(programmer)d(should)i(feel)g(con\014den)o(t)h(ab) +q(out)g(writing)0 1875 y(co)q(de)i(lik)o(e)e(this:)0 +1964 y Fs(\(defun)20 b(wargames:no-win-s)o(cenar)o(io)e(\(\))42 +2016 y(\(when)i(\(true\))g(\(error)g("Pushing)g(the)g(button)g(would)g +(be)h(stupid."\)\))42 2068 y(\(push-the-button\)\))0 +2156 y Fw(In)11 b(this)g(scenario,)h(there)h(should)e(b)q(e)h(no)f(c)o +(hance)h(that)f(the)h(function)f Fs(error)f Fw(will)g(return)0 +2208 y(and)k(the)g(button)g(will)f(b)q(e)h(pushed.)p +0 2268 V 0 2329 a Fm(Remark:)k FA(It)11 b(should)h(b)q(e)g(noted)g +(that)f(the)g(notion)i(of)e(\\no)h(c)o(hance")g(that)f(the)h(button)g +(will)g(b)q(e)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 944 968 +944 967 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(944)77 b(COMMON)13 +b(LISP)0 295 y FA(pushed)g(is)g(relativ)o(e)g(only)h(to)d(the)i +(language)g(mo)q(del;)h(it)e(assumes)h(that)f(the)g(language)i(is)e +(accu-)0 340 y(rately)h(implemen)o(ted.)19 b(In)13 b(practice,)g +(compilers)h(ha)o(v)o(e)f(bugs,)g(computers)g(ha)o(v)o(e)g(glitc)o +(hes,)h(and)0 386 y(users)g(ha)o(v)o(e)f(b)q(een)h(kno)o(wn)g(to)f(in)o +(terrupt)h(at)f(inopp)q(ortune)j(momen)o(ts)e(and)f(use)h(the)f +(debugger)0 432 y(to)j(return)g(from)f(arbitrary)i(stac)o(k)f(frames.) +25 b(Suc)o(h)17 b(violations)i(of)c(the)h(language)i(mo)q(del)e(are)0 +477 y(b)q(ey)o(ond)11 b(the)f(scop)q(e)g(of)g(the)g(condition)i(system) +e(but)g(not)g(necessarily)i(b)q(ey)o(ond)g(the)d(scop)q(e)i(of)e(p)q +(o-)0 523 y(ten)o(tial)k(failures)g(that)e(the)h(programmer)g(should)h +(consider)g(and)f(defend)g(against.)18 b(The)11 b(p)q(ossi-)0 +569 y(bilit)o(y)g(of)e(suc)o(h)h(un)o(usual)h(failures)f(ma)o(y)g(of)e +(course)i(also)g(in\015uence)h(the)e(design)i(of)e(co)q(de)g(mean)o(t)h +(to)0 614 y(handle)15 b(less)g(drastic)f(situations,)i(suc)o(h)e(as)g +(main)o(taining)i(a)e(database)h(uncorrupted.|KMP)0 660 +y(and)f(GLS)p 0 687 V 42 760 a Fw(In)j(some)g(cases,)i(the)f +(programmer)d(ma)o(y)g(ha)o(v)o(e)j(a)f(single,)g(w)o(ell-de\014ned)h +(idea)f(of)g(a)0 812 y(reasonable)c(reco)o(v)o(ery)g(strategy)g(for)f +(this)g(particular)g(error.)19 b(In)12 b(that)h(case,)g(he)f(can)h(use) +0 864 y(the)g(function)f Fs(cerror)p Fw(,)f(whic)o(h)h(sp)q(eci\014es)j +(information)9 b(ab)q(out)k(what)f(w)o(ould)g(happ)q(en)h(if)0 +916 y(the)h(user)h(did)f(simply)e(con)o(tin)o(ue)i(from)e(the)i(call)g +(to)f Fs(cerror)p Fw(.)k(F)m(or)d(example:)0 1002 y Fs(Lisp>)20 +b(\(defun)g(factorial)f(\(x\))169 1053 y(\(cond)i(\(\(not)f(\(typep)g +(x)622 1057 y Fn(')646 1053 y Fs(integer\)\))318 1105 +y(\(error)f(")489 1109 y Fn(~)512 1105 y Fs(S)i(is)g(not)g(a)g(valid)f +(argument)f(to)i(FACTORIAL.")466 1157 y(x\)\))296 1209 +y(\(\(minusp)f(x\))318 1261 y(\(let)g(\(\(x-magnitude)e(\(-)j(x\)\)\)) +360 1313 y(\(cerror)f("Compute)f(-\()771 1317 y Fn(~)794 +1313 y Fs(D!\))h(instead.")529 1365 y("\(-)593 1369 y +Fn(~)616 1365 y Fs(D\)!)g(is)h(not)g(defined.")e(x-magnitude\))360 +1417 y(\(-)i(\(factorial)e(x-magnitude\)\)\)\))296 1469 +y(\(\(zerop)h(x\))h(1\))296 1520 y(\(t)g(\(*)g(x)g(\(factorial)e(\(-)i +(x)g(1\)\)\)\)\)\))21 1572 y Ft(\))g Fs(FACTORIAL)0 1624 +y(Lisp>)f(\(factorial)f(-3\))0 1676 y(Error:)h(\(-3\)!)g(is)h(not)f +(defined.)0 1728 y(To)h(continue,)e(type)h(:CONTINUE)g(followed)f(by)i +(an)g(option)f(number:)21 1780 y(1:)h(Compute)f(-\(3!\))g(instead.)21 +1832 y(2:)h(Return)f(to)h(Lisp)f(Toplevel.)0 1884 y(Debug>)g(:continue) +f(1)21 1936 y Ft(\))i Fs(-6)0 2087 y Fo(29.3.2.)f(T)-5 +b(rapping)15 b(Errors)0 2173 y Fw(By)g(default,)e(a)h(call)g(to)g +Fs(error)f Fw(will)g(force)i(en)o(try)g(in)o(to)e(the)i(debugger.)21 +b(Y)m(ou)13 b(can)i(o)o(v)o(er-)0 2225 y(ride)h(that)g(b)q(eha)o(vior)f +(in)g(a)g(v)n(ariet)o(y)g(of)g(w)o(a)o(ys.)23 b(The)16 +b(simplest)f(\(and)h(most)e(blun)o(t\))h(to)q(ol)0 2277 +y(for)j(inhibiting)f(en)o(try)j(to)e(the)h(debugger)h(on)e(an)h(error)g +(is)g(to)f(use)i Fs(ignore-errors)p Fw(.)0 2329 y(In)c(the)g(normal)e +(situation,)h(forms)f(in)h(the)i(b)q(o)q(dy)f(of)f Fs(ignore-errors)e +Fw(are)j(ev)n(aluated)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 945 969 +945 968 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(945)0 295 y Fw(sequen)o(tially)12 b(and)g(the)g(last)g(v)n(alue)g(is) +g(returned.)19 b(If)12 b(a)g(condition)f(of)h(t)o(yp)q(e)g +Fs(error)f Fw(is)h(sig-)0 347 y(naled,)k Fs(ignore-errors)d +Fw(immediately)g(returns)k(t)o(w)o(o)f(v)n(alues,)g(namely)e +Fs(nil)h Fw(and)h(the)0 399 y(condition)11 b(that)h(w)o(as)f(signaled;) +h(the)g(debugger)h(is)e(not)h(en)o(tered)h(and)f(no)f(error)i(message)0 +450 y(is)h(prin)o(ted.)k(F)m(or)c(example:)0 535 y Fs(Lisp>)20 +b(\(setq)g(filename)g("nosuchfile"\))21 587 y Ft(\))h +Fs("nosuchfile")0 639 y(Lisp>)f(\(ignore-errors)e(\(open)j(filename)e +(:direction)g(:input\)\))21 691 y Ft(\))i Fs(NIL)f Fw(and)h +Fs(#)258 687 y(-)258 695 y(-)280 691 y()0 +776 y Fw(The)d(second)g(return)g(v)n(alue)f(is)g(an)g(ob)r(ject)h(that) +f(represen)o(ts)j(the)e(kind)e(of)h(error.)23 b(This)0 +828 y(is)14 b(explained)f(in)h(greater)h(detail)e(in)g(section)i +(29.3.4.)42 880 y(In)h(man)o(y)f(cases,)k(ho)o(w)o(ev)o(er,)e +Fs(ignore-errors)d Fw(is)j(not)f(desirable)i(b)q(ecause)g(it)f(deals)0 +932 y(with)h(to)q(o)f(man)o(y)g(kinds)g(of)h(errors.)31 +b(Con)o(trary)18 b(to)g(the)h(b)q(elief)f(of)f(some,)h(a)f(program)0 +984 y(that)c(do)q(es)g(not)f(en)o(ter)i(the)f(debugger)h(is)e(not)h +(necessarily)g(b)q(etter)h(than)f(one)g(that)f(do)q(es.)0 +1036 y(Excessiv)o(e)k(use)f(of)e Fs(ignore-errors)f Fw(ma)o(y)g(k)o +(eep)j(the)g(program)e(out)h(of)g(the)g(debugger,)0 1088 +y(but)j(it)f(ma)o(y)e(not)i(increase)i(the)f(program's)e(reliabilit)o +(y)m(,)f(b)q(ecause)k(the)f(program)e(ma)o(y)0 1139 y(con)o(tin)o(ue)e +(to)f(run)h(after)g(encoun)o(tering)g(errors)h(other)f(than)f(those)h +(y)o(ou)f(mean)o(t)g(to)g(w)o(ork)0 1191 y(past.)36 b(In)20 +b(general,)i(it)d(is)h(b)q(etter)h(to)f(attempt)f(to)h(deal)g(only)f +(with)g(the)i(particular)0 1243 y(kinds)16 b(of)g(errors)i(that)e(y)o +(ou)g(b)q(eliev)o(e)h(could)f(legitimately)e(happ)q(en.)26 +b(That)16 b(w)o(a)o(y)m(,)f(if)h(an)0 1295 y(unexp)q(ected)g(error)f +(comes)e(along,)g(y)o(ou)g(will)f(still)h(\014nd)h(out)g(ab)q(out)g +(it.)42 1347 y Fs(ignore-errors)f Fw(is)j(a)g(useful)h(sp)q(ecial)g +(case)g(built)f(from)e(a)i(more)g(general)g(facilit)o(y)m(,)0 +1399 y Fs(handler-case)p Fw(,)d(that)j(allo)o(ws)f(the)h(programmer)d +(to)j(deal)g(with)f(particular)h(kinds)f(of)0 1451 y(conditions)j +(\(including)f(non-error)h(conditions\))g(without)g(a\013ecting)g(what) +g(happ)q(ens)0 1503 y(when)12 b(other)h(kinds)e(of)g(conditions)h(are)g +(signaled.)17 b(F)m(or)11 b(example,)g(an)g(e\013ect)i(equiv)n(alen)o +(t)0 1555 y(to)h(that)g(of)f Fs(ignore-errors)e Fw(ab)q(o)o(v)o(e)j(is) +f(ac)o(hiev)o(ed)i(in)e(the)i(follo)o(wing)c(example:)0 +1640 y Fs(Lisp>)20 b(\(setq)g(filename)g("nosuchfile"\))21 +1692 y Ft(\))h Fs("nosuchfile")0 1743 y(Lisp>)f(\(handler-case)f +(\(open)h(filename)f(:direction)g(:input\))169 1795 y(\(error)h +(\(condition\))212 1847 y(\(values)f(nil)i(condition\)\)\))21 +1899 y Ft(\))g Fs(NIL)f Fw(and)h Fs(#)258 1895 y(-)258 +1903 y(-)280 1899 y()0 1984 y Fw(Ho)o(w)o(ev)o +(er,)11 b(using)f Fs(handler-case)p Fw(,)e(one)j(can)g(indicate)f(a)g +(more)g(sp)q(eci\014c)h(condition)f(t)o(yp)q(e)0 2036 +y(than)g(just)h(\\error.")17 b(Condition)9 b(t)o(yp)q(es)i(are)g +(explained)f(in)f(detail)h(later,)h(but)f(the)h(syn)o(tax)0 +2088 y(lo)q(oks)i(roughly)g(lik)o(e)h(the)g(follo)o(wing:)0 +2173 y Fs(Lisp>)20 b(\(makunbound)389 2177 y Fn(')412 +2173 y Fs(filename\))21 2225 y Ft(\))h Fs(FILENAME)0 +2277 y(Lisp>)f(\(handler-case)f(\(open)h(filename)f(:direction)g +(:input\))169 2329 y(\(file-error)g(\(condition\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 946 970 +946 969 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(946)77 b(COMMON)13 +b(LISP)212 295 y Fs(\(values)19 b(nil)i(condition\)\)\))0 +347 y(Error:)f(The)g(variable)g(FILENAME)g(is)g(unbound.)0 +399 y(To)h(continue,)e(type)h(:CONTINUE)g(followed)f(by)i(an)g(option)f +(number:)21 450 y(1:)h(Retry)f(getting)g(the)g(value)g(of)h(FILENAME.) +21 502 y(2:)g(Specify)f(a)h(value)f(of)h(FILENAME)e(to)i(use)f(this)h +(time.)21 554 y(3:)g(Specify)f(a)h(value)f(of)h(FILENAME)e(to)i(store)f +(and)g(use.)21 606 y(4:)h(Return)f(to)h(Lisp)f(Toplevel.)0 +658 y(Debug>)0 788 y Fo(29.3.3.)g(Handling)15 b(Conditions)0 +867 y Fw(Blind)g(transfer)i(of)f(con)o(trol)f(to)h(a)g +Fs(handler-case)d Fw(is)j(only)f(one)h(p)q(ossible)g(kind)g(of)f(re-)0 +919 y(co)o(v)o(ery)h(action)f(that)g(can)h(b)q(e)g(tak)o(en)g(when)g(a) +f(condition)g(is)g(signaled.)22 b(The)16 b(lo)o(w-lev)o(el)0 +971 y(mec)o(hanism)8 b(o\013ers)k(great)f(\015exibilit)o(y)e(in)h(ho)o +(w)g(to)h(con)o(tin)o(ue)f(once)i(a)e(condition)g(has)h(b)q(een)0 +1023 y(signaled.)42 1075 y(The)j(basic)g(idea)f(b)q(ehind)h(condition)f +(handling)g(is)g(that)h(a)f(piece)i(of)e(co)q(de)i(called)e(the)0 +1126 y Fv(signaler)k Fw(recognizes)i(and)e(announces)i(the)f(existence) +h(of)e(an)g(exceptional)g(situation)0 1178 y(using)d +Fs(signal)e Fw(or)i(some)f(function)h(built)f(on)g Fs(signal)g +Fw(\(suc)o(h)i(as)f Fs(error)p Fw(\).)42 1230 y(The)e(pro)q(cess)h(of)f +(signaling)e(in)o(v)o(olv)o(es)g(the)j(searc)o(h)g(for)e(and)h(in)o(v)o +(o)q(cation)e(of)h(a)h Fv(hand)r(ler)p Fw(,)0 1282 y(a)i(piece)g(of)g +(co)q(de)g(that)g(will)f(attempt)g(to)h(deal)f(appropriately)h(with)f +(the)i(situation.)42 1334 y(If)10 b(a)g(handler)h(is)f(found,)h(it)f +(ma)o(y)f(either)i Fv(hand)r(le)h Fw(the)f(situation,)f(b)o(y)g(p)q +(erforming)g(some)0 1386 y(non-lo)q(cal)15 b(transfer)h(of)g(con)o +(trol,)f(or)h Fv(de)n(cline)g Fw(to)g(handle)f(it,)h(b)o(y)g(failing)d +(to)j(p)q(erform)f(a)0 1438 y(non-lo)q(cal)e(transfer)i(of)e(con)o +(trol.)18 b(If)13 b(it)h(declines,)g(other)g(handlers)h(are)f(sough)o +(t.)42 1490 y(Since)f(the)g(lexical)e(en)o(vironmen)o(t)h(of)g(the)h +(signaler)f(migh)o(t)f(not)h(b)q(e)h(a)o(v)n(ailable)e(to)h(han-)0 +1542 y(dlers,)h(a)g(data)g(structure)i(called)e(a)f Fv(c)n(ondition)i +Fw(is)f(created)h(to)f(represen)o(t)i(explicitly)d(the)0 +1593 y(relev)n(an)o(t)k(state)g(of)f(the)h(situation.)22 +b(A)16 b(condition)f(either)h(is)f(created)i(explicitly)e(using)0 +1645 y Fs(make-condition)c Fw(and)i(then)h(passed)h(to)e(a)g(function)h +(suc)o(h)g(as)f Fs(signal)p Fw(,)f(or)i(is)f(created)0 +1697 y(implicitly)8 b(b)o(y)j(a)g(function)h(suc)o(h)g(as)f +Fs(signal)f Fw(when)i(giv)o(en)f(appropriate)h(non-condition)0 +1749 y(argumen)o(ts.)42 1801 y(In)k(order)i(to)f(handle)f(the)i(error,) +g(a)e(handler)h(is)g(p)q(ermitted)f(to)h(use)h(an)o(y)e(non-lo)q(cal)0 +1853 y(transfer)h(of)f(con)o(trol)g(suc)o(h)h(as)f Fs(go)g +Fw(to)g(a)g(tag)g(in)g(a)g Fs(tagbody)p Fw(,)f Fs(return)g +Fw(from)f(a)i Fs(block)p Fw(,)0 1905 y(or)e Fs(throw)f +Fw(to)h(a)f Fs(catch)p Fw(.)18 b(In)c(addition,)e(structured)k +(abstractions)f(of)e(these)j(primitiv)o(es)0 1957 y(are)e(pro)o(vided)g +(for)g(con)o(v)o(enience)h(in)e(exception)i(handling.)42 +2009 y(A)20 b(handler)h(can)g(b)q(e)g(made)e(dynamically)f(accessible)k +(to)e(a)h(program)e(b)o(y)h(use)h(of)0 2060 y Fs(handler-bind)p +Fw(.)36 b(F)m(or)20 b(example,)h(to)f(create)i(a)f(handler)f(for)h(a)f +(condition)g(of)g(t)o(yp)q(e)0 2112 y Fs(arithmetic-error)p +Fw(,)10 b(one)k(migh)o(t)e(write:)0 2195 y Fs(\(handler-bind)18 +b(\(\(arithmetic-error)g Fv(hand)r(ler)p Fs(\)\))p Fv(b)n(o)n(dy)p +Fs(\))0 2277 y Fw(The)f(handler)f(is)h(a)f(function)g(of)g(one)g +(argumen)o(t,)g(the)h(condition.)25 b(If)16 b(a)g(condition)f(of)0 +2329 y(the)g(designated)g(t)o(yp)q(e)g(is)g(signaled)f(while)g(the)h +Fv(b)n(o)n(dy)g Fw(is)f(executing)i(\(and)e(there)i(are)f(no)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 947 971 +947 970 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(947)0 295 y Fw(in)o(terv)o(ening)15 b(handlers\),)i(the)f(handler)g +(w)o(ould)e(b)q(e)j(in)o(v)o(ok)o(ed)d(on)i(the)g(giv)o(en)f +(condition,)0 347 y(allo)o(wing)f(it)h(the)h(option)f(of)h +(transferring)g(con)o(trol.)24 b(F)m(or)15 b(example,)g(one)h(migh)o(t) +d(write)0 399 y(a)h(macro)g(that)g(executes)j(a)d(b)q(o)q(dy)m(,)g +(returning)h(either)g(its)g(v)n(alue\(s\))f(or)h(the)g(t)o(w)o(o)f(v)n +(alues)0 450 y Fs(nil)f Fw(and)h(the)g(condition:)0 536 +y Fs(\(defmacro)19 b(without-arithmetic-)o(error)o(s)f(\(&body)i +(forms\))42 588 y(\(let)h(\(\(tag)f(\(gensym\)\)\))85 +640 y(`\(block)f(,tag)148 692 y(\(handler-bind)g(\(\(arithmetic-err)o +(or)529 744 y(#)529 740 y(-)529 748 y(-)n Fn(')572 744 +y Fs(\(lambda)h(\(c\))105 b(;)p Fw(Argumen)o(t)13 b Fs(c)h +Fw(is)f(a)h(condition)614 796 y Fs(\(return-from)19 b(,tag)h(\(values)g +(nil)g(c\)\)\)\)\))191 847 y(,@body\)\)\)\))42 985 y +Fw(The)12 b(handler)h(is)f(executed)i(in)e(the)g(dynamic)f(con)o(text)i +(of)e(the)i(signaler,)f(except)i(that)0 1037 y(the)d(set)g(of)e(a)o(v)n +(ailable)f(condition)i(handlers)g(will)f(ha)o(v)o(e)h(b)q(een)h(reb)q +(ound)g(to)f(the)h(v)n(alue)f(that)0 1089 y(w)o(as)16 +b(activ)o(e)g(at)h(the)f(time)f(the)i(condition)f(handler)g(w)o(as)g +(made)g(activ)o(e.)25 b(If)16 b(a)g(handler)0 1141 y(declines)c(\(that) +g(is,)g(it)f(do)q(es)h(not)f(transfer)i(con)o(trol\),)e(other)i +(handlers)f(are)g(sough)o(t.)17 b(If)11 b(no)0 1193 y(handler)h(is)h +(found)f(and)g(the)h(condition)e(w)o(as)i(signaled)e(b)o(y)i +Fs(error)e Fw(or)h Fs(cerror)f Fw(\(or)i(some)0 1245 +y(function)j(suc)o(h)i(as)f Fs(assert)e Fw(that)i(b)q(eha)o(v)o(es)h +(lik)o(e)e(these)i(functions\),)f(the)g(debugger)h(is)0 +1296 y(en)o(tered,)d(still)e(in)g(the)i(dynamic)d(con)o(text)j(of)e +(the)i(signaler.)0 1449 y Fo(29.3.4.)20 b(Ob)s(ject-Orien)n(ted)13 +b(Basis)i(of)g(Condition)g(Handling)0 1535 y Fw(Of)10 +b(course,)i(the)f(abilit)o(y)d(of)i(the)g(handler)h(to)f(usefully)f +(handle)h(an)g(exceptional)g(situation)0 1586 y(is)k(related)h(to)g +(the)g(qualit)o(y)e(of)g(the)i(information)d(it)i(is)g(pro)o(vided.)20 +b(F)m(or)14 b(example,)e(if)i(all)0 1638 y(errors)h(w)o(ere)g(signaled) +e(b)o(y)0 1724 y Fs(\(error)20 b(")p Fv(some)15 b(format)f(string)p +Fs("\))0 1810 y Fw(then)19 b(the)f(only)f(piece)i(of)e(information)e +(that)j(w)o(ould)f(b)q(e)i(accessible)g(to)f(the)h(handler)0 +1862 y(w)o(ould)g(b)q(e)i(an)f(ob)r(ject)h(of)e(t)o(yp)q(e)i +Fs(simple-error)c Fw(that)k(had)e(a)h(slot)g(con)o(taining)f(the)0 +1914 y(format)12 b(string.)42 1966 y(If)d(this)i(w)o(ere)g(done,)f +Fs(string-equal)e Fw(w)o(ould)h(b)q(e)i(the)g(preferred)h(w)o(a)o(y)e +(to)g(tell)f(one)i(error)0 2017 y(from)e(another,)i(and)g(it)g(w)o +(ould)f(b)q(e)h(v)o(ery)g(hard)g(to)g(allo)o(w)e(\015exibilit)o(y)g(in) +h(the)i(presen)o(tation)0 2069 y(of)h(error)i(messages)f(b)q(ecause)h +(existing)f(handlers)g(w)o(ould)f(tend)h(to)g(b)q(e)g(brok)o(en)h(b)o +(y)e(ev)o(en)0 2121 y(tin)o(y)18 b(v)n(ariations)f(in)h(the)i(w)o +(ording)d(of)h(an)h(error)g(message.)32 b(This)19 b(phenomenon)f(has)0 +2173 y(b)q(een)e(the)g(ma)r(jor)d(failing)g(of)i(most)f(error)i +(systems)f(previously)g(a)o(v)n(ailable)e(in)i(Lisp.)22 +b(It)0 2225 y(is)14 b(fundamen)o(tally)d(imp)q(ortan)o(t)h(to)i +(decouple)h(the)f(error)h(message)f(string)g(\(the)g(h)o(uman)0 +2277 y(in)o(terface\))c(from)e(the)i(ob)r(jects)g(that)g(formally)c +(represen)o(t)12 b(the)e(error)g(state)g(\(the)g(program)0 +2329 y(in)o(terface\).)26 b(W)m(e)16 b(therefore)i(ha)o(v)o(e)e(the)h +(notion)f(of)g(t)o(yp)q(ed)h(conditions,)f(and)g(of)g(formal)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 948 972 +948 971 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(948)77 b(COMMON)13 +b(LISP)0 295 y Fw(op)q(erations)18 b(on)f(those)i(conditions)e(that)h +(mak)o(e)e(them)g(insp)q(ectable)j(in)e(a)h(structured)0 +347 y(w)o(a)o(y)m(.)42 399 y(This)c(ob)r(ject-orien)o(ted)i(approac)o +(h)f(to)g(condition)f(handling)g(has)h(the)h(follo)o(wing)c(im-)0 +451 y(p)q(ortan)o(t)i(adv)n(an)o(tages)f(o)o(v)o(er)h(a)g(text-based)h +(approac)o(h:)0 512 y Fu(.)42 521 y Fw(Conditions)c(are)i(classi\014ed) +g(according)f(to)h(subt)o(yp)q(e)g(relationships,)f(making)e(it)i(easy) +42 572 y(to)h(test)i(for)f(categories)g(of)g(conditions.)0 +646 y Fu(.)42 655 y Fw(Conditions)d(ha)o(v)o(e)i(named)e(slot)i(v)n +(alues)f(through)h(whic)o(h)f(parameters)h(are)g(con)o(v)o(ey)o(ed)42 +707 y(from)h(the)j(program)d(that)i(signals)g(the)h(condition)e(to)h +(the)h(program)d(that)i(handles)42 758 y(it.)0 832 y +Fu(.)42 841 y Fw(Inheritance)10 b(of)f(metho)q(ds)h(and)f(slots)h +(reduces)i(the)e(amoun)o(t)e(of)h(explicit)g(sp)q(eci\014cation)42 +893 y(necessary)15 b(to)f(ac)o(hiev)o(e)g(v)n(arious)f(in)o(teresting)i +(e\013ects.)42 963 y(Some)10 b(condition)g(t)o(yp)q(es)i(are)g +(de\014ned)g(b)o(y)f(this)h(do)q(cumen)o(t,)e(but)i(the)g(set)g(of)e +(condition)0 1015 y(t)o(yp)q(es)16 b(is)g(extensible)g(using)g +Fs(define-condition)o Fw(.)k(Common)13 b(Lisp)i(condition)g(t)o(yp)q +(es)0 1066 y(are)h(in)f(fact)h(CLOS)g(classes,)h(and)e(condition)g(ob)r +(jects)i(are)f(ordinary)f(CLOS)h(ob)r(jects;)0 1118 y +Fs(define-condition)d Fw(merely)i(pro)o(vides)i(an)f(abstract)h(in)o +(terface)g(that)g(is)f(a)g(bit)g(more)0 1170 y(con)o(v)o(enien)o(t)e +(than)g Fs(defclass)e Fw(for)i(de\014ning)g(conditions.)42 +1222 y(Here,)f(as)f(an)g(example,)e(w)o(e)i(de\014ne)h(a)f(t)o(w)o +(o-argumen)o(t)e(function)i(called)g Fs(divide)f Fw(that)0 +1274 y(is)j(patterned)h(after)f(the)h Fs(/)e Fw(function)h(but)g(do)q +(es)h(some)e(st)o(ylized)h(error)g(c)o(hec)o(king:)0 +1360 y Fs(\(defun)20 b(divide)g(\(numerator)f(denominator\))42 +1412 y(\(cond)h(\(\(or)h(\(not)f(\(numberp)g(numerator\)\))275 +1464 y(\(not)h(\(numberp)e(denominator\)\)\))191 1516 +y(\(error)g("\(DIVIDE)536 1520 y Fn(')-5 b(~)580 1516 +y Fs(S)621 1520 y Fn(')g(~)666 1516 y Fs(S\))20 b(-)h(Bad)g +(arguments.")339 1568 y(numerator)e(denominator\)\))169 +1620 y(\(\(zerop)h(denominator\))191 1672 y(\(error)340 +1676 y Fn(')364 1672 y Fs(division-by-zero)339 1724 y(:operator)554 +1728 y Fn(')577 1724 y Fs(divide)339 1776 y(:operands)f(\(list)h +(numerator)f(denominator\)\)\))169 1827 y(\(t)i(...\)\)\))0 +1914 y Fw(Note)14 b(that)h(in)e(the)i(\014rst)g(clause)f(w)o(e)h(ha)o +(v)o(e)e(used)i Fs(error)e Fw(with)h(a)g(string)g(argumen)o(t)f(and)0 +1965 y(in)i(the)h(second)h(clause)f(w)o(e)g(ha)o(v)o(e)f(named)f(a)i +(particular)f(condition)g(t)o(yp)q(e,)h Fs(division-)0 +2017 y(by-zero)p Fw(.)26 b(In)16 b(the)i(case)g(of)e(a)h(string)g +(argumen)o(t,)f(the)h(condition)f(t)o(yp)q(e)i(that)f(will)e(b)q(e)0 +2069 y(signaled)e(is)h Fs(simple-error)p Fw(.)42 2121 +y(The)9 b(particular)g(kind)g(of)g(error)h(that)g(is)f(signaled)g(ma)o +(y)e(b)q(e)j(imp)q(ortan)o(t)e(in)h(cases)i(where)0 2173 +y(handlers)18 b(are)f(activ)o(e.)28 b(F)m(or)17 b(example,)f +Fs(simple-error)f Fw(inherits)i(from)f(t)o(yp)q(e)h Fs(error)p +Fw(,)0 2225 y(whic)o(h)d(in)g(turn)h(inherits)g(from)d(t)o(yp)q(e)j +Fs(condition)p Fw(.)j(On)d(the)g(other)g(hand,)f Fs(division-)0 +2277 y(by-zero)e Fw(inherits)j(from)d Fs(arithmetic-erro)o(r)p +Fw(,)f(whic)o(h)i(inherits)h(from)f Fs(error)p Fw(,)f(whic)o(h)0 +2329 y(inherits)g(from)e Fs(condition)p Fw(.)15 b(So)d(if)f(a)g +(handler)h(existed)h(for)e Fs(arithmetic-error)d Fw(while)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 949 973 +949 972 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(949)0 295 y Fw(a)19 b Fs(division-by-zero)d Fw(condition)j(w)o(as)g +(signaled,)h(that)f(handler)g(w)o(ould)g(b)q(e)h(tried;)0 +347 y(ho)o(w)o(ev)o(er,)14 b(if)e(a)i Fs(simple-error)d +Fw(condition)i(w)o(ere)i(signaled)e(in)g(the)h(same)f(con)o(text,)h +(the)0 399 y(handler)g(for)g(t)o(yp)q(e)g Fs(arithmetic-error)c +Fw(w)o(ould)k(not)f(b)q(e)i(tried.)0 528 y Fo(29.3.5.)20 +b(Restarts)0 607 y Fw(In)c(older)g(Lisp)g(dialects)g(\(suc)o(h)h(as)f +(MacLisp\),)g(an)f(attempt)h(to)f(signal)g(an)h(error)h(of)e(a)0 +659 y(giv)o(en)f(t)o(yp)q(e)i(often)f(carried)h(with)e(it)h(an)g +(implicit)d(promise)i(to)h(supp)q(ort)h(the)f(standard)0 +711 y(reco)o(v)o(ery)f(strategy)f(for)g(that)g(t)o(yp)q(e)g(of)f +(error.)19 b(If)12 b(the)h(signaler)g(knew)g(the)g(t)o(yp)q(e)h(of)e +(error)0 763 y(but)e(for)f(whatev)o(er)h(reason)g(w)o(as)f(unable)g(to) +h(deal)f(with)g(the)h(standard)g(reco)o(v)o(ery)g(strategy)0 +814 y(for)k(that)h(kind)f(of)f(error,)i(it)g(w)o(as)f(necessary)i(to)f +(signal)e(an)h(un)o(t)o(yp)q(ed)h(error)h(\(for)e(whic)o(h)0 +866 y(there)21 b(w)o(as)e(no)h(de\014ned)g(reco)o(v)o(ery)h +(strategy\).)36 b(This)19 b(sometimes)f(led)i(to)f(confusion)0 +918 y(when)e(p)q(eople)h(signaled)e(t)o(yp)q(ed)i(errors)g(without)f +(realizing)f(the)h(full)f(implications)e(of)0 970 y(ha)o(ving)g(done)h +(so,)f(but)h(more)f(often)h(than)g(not)g(it)f(mean)o(t)g(that)h(users)h +(simply)d(a)o(v)o(oided)0 1022 y(t)o(yp)q(ed)h(errors)i(altogether.)42 +1074 y(The)f(Common)d(Lisp)j(Condition)e(System,)i(whic)o(h)g(is)g(mo)q +(deled)f(after)h(the)h(Zetalisp)0 1126 y(condition)10 +b(system,)h(corrects)h(this)f(troublesome)f(asp)q(ect)i(of)e(previous)h +(Lisp)g(dialects)g(b)o(y)0 1178 y(creating)g(a)g(clear)g(separation)g +(b)q(et)o(w)o(een)h(the)f(act)h(of)e(signaling)f(an)h(error)i(of)e(a)h +(particular)0 1230 y(t)o(yp)q(e)17 b(and)f(the)h(act)f(of)g(sa)o(ying)f +(that)i(a)f(particular)g(w)o(a)o(y)f(of)h(reco)o(v)o(ery)h(is)f +(appropriate.)0 1281 y(In)j(the)h Fs(divide)e Fw(example)g(ab)q(o)o(v)o +(e,)i(simply)d(signaling)g(an)i(error)h(do)q(es)g(not)f(imply)e(a)0 +1333 y(willingness)e(on)g(the)h(part)f(of)g(the)h(signaler)f(to)g(co)q +(op)q(erate)i(in)e(an)o(y)g(correctiv)o(e)i(action.)0 +1385 y(F)m(or)9 b(example,)g(the)h(follo)o(wing)d(sample)h(in)o +(teraction)i(illustrates)f(that)h(the)g(only)f(reco)o(v)o(ery)0 +1437 y(action)14 b(o\013ered)h(for)e(this)h(error)h(is)f(\\Return)g(to) +f(Lisp)h(T)m(oplev)o(el":)0 1519 y Fs(Lisp>)20 b(\(+)h(\(divide)f(3)h +(0\))f(7\))0 1571 y(Error:)g(Attempt)g(to)g(divide)g(3)h(by)g(0.)0 +1623 y(To)g(continue,)e(type)h(:CONTINUE)g(followed)f(by)i(an)g(option) +f(number:)21 1675 y(1:)h(Return)f(to)h(Lisp)f(Toplevel.)0 +1727 y(Debug>)g(:continue)f(1)0 1779 y(Returned)h(to)g(Lisp)h +(Toplevel.)0 1831 y(Lisp>)0 1913 y Fw(When)13 b(an)g(error)h(is)f +(detected)i(and)e(the)h(function)e Fs(error)g Fw(is)h(called,)g +(execution)h(cannot)0 1965 y(con)o(tin)o(ue)19 b(normally)e(b)q(ecause) +j Fs(error)e Fw(will)g(not)h(directly)g(return.)35 b(Con)o(trol)18 +b(can)h(b)q(e)0 2017 y(transferred)g(to)f(other)g(p)q(oin)o(ts)g(in)f +(the)h(program,)f(ho)o(w)o(ev)o(er,)i(b)o(y)e(means)g(of)g(sp)q +(ecially)0 2068 y(established)e(\\restarts.")0 2198 y +Fo(29.3.6.)20 b(Anon)n(ymous)14 b(Restarts)0 2277 y Fw(The)k(simplest)g +(kind)f(of)g(restart)j(in)o(v)o(olv)o(es)d(structured)j(transfer)f(of)e +(con)o(trol)h(using)g(a)0 2329 y(macro)d(called)h Fs(restart-case)p +Fw(.)22 b(The)17 b Fs(restart-case)c Fw(form)i(allo)o(ws)g(execution)h +(of)g(a)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 950 974 +950 973 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(950)77 b(COMMON)13 +b(LISP)0 295 y Fw(piece)j(of)e(co)q(de)i(in)f(a)g(con)o(text)g(where)i +(zero)e(or)g(more)g(restarts)h(are)g(activ)o(e,)f(and)g(where)0 +347 y(if)f(one)i(of)e(those)i(restarts)h(is)e(\\in)o(v)o(ok)o(ed,")e +(con)o(trol)i(will)f(b)q(e)h(transferred)i(to)e(the)h(corre-)0 +399 y(sp)q(onding)h(clause)g(in)g(the)h Fs(restart-case)c +Fw(form.)26 b(F)m(or)17 b(example,)f(w)o(e)h(could)g(rewrite)0 +450 y(the)d(previous)h Fs(divide)d Fw(example)h(as)h(follo)o(ws.)0 +588 y Fs(\(defun)20 b(divide)g(\(numerator)f(denominator\))42 +640 y(\(loop)85 692 y(\(restart-case)169 743 y(\(return)212 +795 y(\(cond)h(\(\(or)g(\(not)h(\(numberp)e(numerator\)\))445 +847 y(\(not)h(\(numberp)f(denominator\)\)\))360 899 y(\(error)h +("\(DIVIDE)705 903 y Fn(')-5 b(~)750 899 y Fs(S)790 903 +y Fn(')l(~)835 899 y Fs(S\))21 b(-)g(Bad)f(arguments.")529 +951 y(numerator)g(denominator\)\))339 1003 y(\(\(zerop)f(denominator\)) +360 1055 y(\(error)510 1059 y Fn(')533 1055 y Fs(division-by-zero)508 +1107 y(:operator)723 1111 y Fn(')747 1107 y Fs(divide)508 +1159 y(:operands)g(\(list)i(numerator)e(denominator\)\)\))339 +1210 y(\(t)h(...\)\)\))127 1262 y(\(nil)g(\(arg1)h(arg2\))212 +1314 y(:report)e("Provide)h(new)g(arguments)g(for)g(use)h(by)g +(DIVIDE.")212 1366 y(:interactive)254 1418 y(\(lambda)f(\(\))318 +1470 y(\(list)g(\(prompt-for)706 1474 y Fn(')730 1470 +y Fs(number)g("Numerator:)f("\))445 1522 y(\(prompt-for)703 +1526 y Fn(')727 1522 y Fs(number)h("Denominator:)e("\)\)\))169 +1574 y(\(setq)j(numerator)e(arg1)h(denominator)f(arg2\)\))127 +1626 y(\(nil)h(\(result\))212 1677 y(:report)f("Provide)h(a)h(value)f +(to)h(return)f(from)g(DIVIDE.")212 1729 y(:interactive)254 +1781 y(\(lambda)g(\(\))h(\(list)f(\(prompt-for)881 1785 +y Fn(')905 1781 y Fs(number)g("Result:)f("\)\)\))169 +1833 y(\(return)h(result\)\)\)\)\))p 0 1893 V 0 1958 +a Fm(Remark:)j FA(The)15 b(function)h Fj(prompt-for)11 +b FA(used)16 b(in)g(this)g(c)o(hapter)g(in)g(a)f(n)o(um)o(b)q(er)h(of)f +(places)h(is)0 2004 y(not)d(a)g(part)g(of)f(Common)i(Lisp.)j(It)c(is)g +(used)h(in)f(the)g(examples)i(in)e(this)h(c)o(hapter)f(only)h(to)f(k)o +(eep)0 2050 y(the)i(presen)o(tation)j(simple.)25 b(It)15 +b(is)g(assumed)i(to)e(accept)h(a)f(t)o(yp)q(e)g(sp)q(eci\014er)i(and)f +(optionally)j(a)0 2095 y(format)c(string)i(and)f(asso)q(ciated)i +(argumen)o(ts.)25 b(It)16 b(uses)g(the)f(format)h(string)h(and)f(asso)q +(ciated)0 2141 y(argumen)o(ts)g(as)g(part)g(of)f(an)g(in)o(teractiv)o +(e)j(prompt,)e(and)g(uses)g Fj(read)e FA(to)h(read)h(a)f(Lisp)i(ob)r +(ject;)0 2187 y(ho)o(w)o(ev)o(er,)c(only)h(an)g(ob)r(ject)f(of)g(the)g +(t)o(yp)q(e)g(indicated)j(b)o(y)d(the)g(t)o(yp)q(e)g(sp)q(eci\014er)i +(is)f(accepted.)42 2237 y(The)j(question)h(of)f(whether)h(or)f(not)g +Fj(prompt-for)c FA(\(or)k(something)i(lik)o(e)g(it\))e(w)o(ould)h(b)q +(e)g(a)0 2283 y(useful)12 b(addition)i(to)d(Common)g(Lisp)h(is)g(under) +g(consideration)i(b)o(y)e(X3J13,)f(but)h(as)f(of)g(Jan)o(uary)0 +2329 y(1989)i(no)g(action)g(has)g(b)q(een)g(tak)o(en.)k(In)c(spite)g +(of)f(its)h(use)f(in)i(a)e(n)o(um)o(b)q(er)h(of)f(examples,)i(nothing) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 951 975 +951 974 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(951)0 295 y FA(in)14 b(the)f(Common)g(Lisp)h(Condition)h(System)f +(dep)q(ends)g(on)g(this)g(function.)p 0 327 V 42 394 +a Fw(In)k(the)i(example,)e(the)i Fs(nil)e Fw(at)h(the)g(head)g(of)g +(eac)o(h)g(clause)h(means)e(that)h(it)f(is)h(an)0 446 +y(\\anon)o(ymous")d(restart.)32 b(Anon)o(ymous)17 b(restarts)i(are)g(t) +o(ypically)e(in)o(v)o(ok)o(ed)g(only)g(from)0 498 y(within)h(the)i +(debugger.)34 b(As)20 b(w)o(e)f(shall)f(see)j(later,)e(it)g(is)g(p)q +(ossible)g(to)g(ha)o(v)o(e)g(\\named)0 550 y(restarts")d(that)f(ma)o(y) +d(b)q(e)j(in)o(v)o(ok)o(ed)f(from)f(co)q(de)i(without)f(the)h(need)h +(for)e(user)h(in)o(terv)o(en-)0 602 y(tion.)42 654 y(If)c(the)h +(argumen)o(ts)f(to)g(anon)o(ymous)f(restarts)k(are)e(not)f(optional,)f +(then)j(sp)q(ecial)f(infor-)0 705 y(mation)f(m)o(ust)i(b)q(e)h(pro)o +(vided)g(ab)q(out)g(what)f(the)i(debugger)f(should)g(use)g(as)g +(argumen)o(ts.)0 757 y(Here)h(the)g Fs(:interactive)c +Fw(k)o(eyw)o(ord)j(is)g(used)g(to)g(sp)q(ecify)h(that)e(information.)42 +809 y(The)j Fs(:report)e Fw(k)o(eyw)o(ord)h(in)o(tro)q(duces)i +(information)c(to)i(b)q(e)h(used)h(when)f(presen)o(ting)0 +861 y(the)e(restart)i(option)d(to)h(the)g(user)h(\(b)o(y)f(the)g +(debugger,)h(for)e(example\).)42 913 y(Here)j(is)f(a)f(sample)g(in)o +(teraction)h(that)g(tak)o(es)h(adv)n(an)o(tage)e(of)g(the)i(restarts)h +(pro)o(vided)0 965 y(b)o(y)d(the)g(revised)h(de\014nition)f(of)f +Fs(divide)p Fw(:)0 1048 y Fs(Lisp>)20 b(\(+)h(\(divide)f(3)h(0\))f(7\)) +0 1100 y(Error:)g(Attempt)g(to)g(divide)g(3)h(by)g(0.)0 +1152 y(To)g(continue,)e(type)h(:CONTINUE)g(followed)f(by)i(an)g(option) +f(number:)21 1204 y(1:)h(Provide)f(new)g(arguments)g(for)g(use)h(by)f +(the)h(DIVIDE)f(function.)21 1256 y(2:)h(Provide)f(a)h(value)f(to)h +(return)e(from)i(the)f(DIVIDE)g(function.)21 1308 y(3:)h(Return)f(to)h +(Lisp)f(Toplevel.)0 1360 y(Debug>)g(:continue)f(1)0 1412 +y(1)0 1463 y(Numerator:)g(4)0 1515 y(Denominator:)g(2)21 +1567 y Ft(\))i Fs(9)0 1705 y Fo(29.3.7.)f(Named)13 b(Restarts)0 +1787 y Fw(In)j(addition)f(to)h(anon)o(ymous)e(restarts,)k(one)e(can)g +(ha)o(v)o(e)g(named)f(restarts,)j(whic)o(h)e(can)0 1839 +y(b)q(e)f(in)o(v)o(ok)o(ed)e(b)o(y)g(name)g(from)f(within)h(co)q(de.)19 +b(As)14 b(a)g(trivial)e(example,)h(one)h(could)f(write)0 +1923 y Fs(\(restart-case)18 b(\(invoke-restart)650 1927 +y Fn(')674 1923 y Fs(foo)i(3\))42 1975 y(\(foo)h(\(x\))f(\(+)h(x)g +(1\)\)\))0 2058 y Fw(to)14 b(add)g Fs(3)g Fw(to)g Fs(1)p +Fw(,)f(returning)i Fs(4)p Fw(.)j(This)c(trivial)f(example)g(is)h +(conceptually)g(analogous)f(to)0 2110 y(writing:)0 2193 +y Fs(\(+)21 b(\(catch)214 2197 y Fn(')238 2193 y Fs(something)e +(\(throw)605 2197 y Fn(')628 2193 y Fs(something)h(3\)\))g(1\))42 +2277 y Fw(F)m(or)10 b(a)g(more)g(realistic)h(example,)e(the)j(co)q(de)f +(for)g(the)g(function)g Fs(symbol-value)d Fw(migh)o(t)0 +2329 y(signal)13 b(an)g(un)o(b)q(ound)h(v)n(ariable)f(error)i(as)f +(follo)o(ws:)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 952 976 +952 975 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(952)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(restart-case)18 b(\(error)i("The)h(variable)758 +299 y Fn(~)781 295 y Fs(S)g(is)g(unbound.")e(variable\))42 +347 y(\(continue)h(\(\))127 399 y(:report)169 450 y(\(lambda)g(\(s\)) +105 b(;)p Fw(Argumen)o(t)13 b Fs(s)h Fw(is)g(a)f(stream)212 +502 y Fs(\(format)19 b(s)i("Retry)f(getting)g(the)h(value)f(of)1033 +506 y Fn(~)1057 502 y Fs(S.")g(variable\)\))85 554 y(\(symbol-value)e +(variable\)\))42 606 y(\(use-value)h(\(value\))127 658 +y(:report)169 710 y(\(lambda)h(\(s\))105 b(;)p Fw(Argumen)o(t)13 +b Fs(s)h Fw(is)g(a)f(stream)212 762 y Fs(\(format)19 +b(s)i("Specify)f(a)h(value)f(of)860 766 y Fn(~)883 762 +y Fs(S)h(to)g(use)f(this)h(time.")381 814 y(variable\)\))85 +866 y(value\))42 917 y(\(store-value)e(\(value\))127 +969 y(:report)169 1021 y(\(lambda)h(\(s\))105 b(;)p Fw(Argumen)o(t)13 +b Fs(s)h Fw(is)g(a)f(stream)212 1073 y Fs(\(format)19 +b(s)i("Specify)f(a)h(value)f(of)860 1077 y Fn(~)883 1073 +y Fs(S)h(to)g(store)f(and)g(use.")381 1125 y(variable\)\))85 +1177 y(\(setf)g(\(symbol-value)e(variable\))i(value\))85 +1229 y(value\)\))0 1311 y Fw(If)d(this)g(w)o(ere)g(part)h(of)e(the)h +(implemen)o(tation)d(of)i Fs(symbol-value)p Fw(,)f(then)i(it)g(w)o +(ould)f(b)q(e)0 1363 y(p)q(ossible)10 b(for)g(users)h(to)f(write)h(a)e +(v)n(ariet)o(y)h(of)f(automatic)f(handlers)j(for)f(un)o(b)q(ound)g(v)n +(ariable)0 1415 y(errors.)22 b(F)m(or)15 b(example,)e(to)i(mak)o(e)e +(un)o(b)q(ound)i(v)n(ariables)f(ev)n(aluate)h(to)g(themselv)o(es,)g +(one)0 1467 y(migh)o(t)d(write)0 1549 y Fs(\(handler-bind)18 +b(\(\(unbound-variable)360 1601 y(#)360 1597 y(-)360 +1605 y(-)m Fn(')403 1601 y Fs(\(lambda)i(\(c\))105 b(;)p +Fw(Argumen)o(t)13 b Fs(c)g Fw(is)h(a)g(condition)445 +1653 y Fs(\(when)20 b(\(find-restart)877 1657 y Fn(')900 +1653 y Fs(use-value\))487 1705 y(\(invoke-restart)833 +1709 y Fn(')856 1705 y Fs(use-value)826 1756 y(\(cell-error-name)e +(c\)\)\)\)\)\))42 1808 y Fv(b)n(o)n(dy)p Fs(\))0 1938 +y Fo(29.3.8.)i(Restart)14 b(F)-5 b(unctions)0 2017 y +Fw(F)m(or)15 b(commonly)d(used)k(restarts,)g(it)f(is)g(con)o(v)o(en)o +(tional)f(to)h(de\014ne)i(a)e(program)e(in)o(terface)0 +2069 y(that)k(hides)g(the)g(use)h(of)e Fs(invoke-restart)p +Fw(.)24 b(Suc)o(h)17 b(program)e(in)o(terfaces)i(to)g(restarts)0 +2121 y(are)d(called)g Fv(r)n(estart)g(functions)p Fw(.)42 +2173 y(The)f(normal)e(con)o(v)o(en)o(tion)h(is)h(for)g(the)g(function)g +(to)g(share)h(the)f(name)f(of)g(the)i(restart.)0 2225 +y(The)g(pre-de\014ned)i(functions)e Fs(abort)p Fw(,)e +Fs(continue)p Fw(,)g Fs(muffle-warning)p Fw(,)f Fs(store-value)p +Fw(,)0 2277 y(and)j Fs(use-value)e Fw(are)j(restart)g(functions.)k +(With)14 b Fs(use-value)e Fw(the)j(ab)q(o)o(v)o(e)e(example)g(of)0 +2329 y Fs(handler-bind)e Fw(could)j(ha)o(v)o(e)g(b)q(een)h(written)f +(more)f(concisely)h(as)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 953 977 +953 976 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(953)0 295 y Fs(\(handler-bind)18 b(\(\(unbound-variable)402 +347 y(#)402 343 y(-)402 351 y(-)n Fn(')445 347 y Fs(\(lambda)i(\(c\)) +105 b(;)p Fw(Argumen)o(t)13 b Fs(c)h Fw(is)f(a)h(condition)487 +399 y Fs(\(use-value)19 b(\(cell-error-name)f(c\)\)\)\)\))42 +450 y Fv(b)n(o)n(dy)p Fs(\))0 593 y Fo(29.3.9.)i(Comparison)14 +b(of)h(Restarts)g(and)g(Catc)n(h/Thro)n(w)0 677 y Fw(One)22 +b(imp)q(ortan)o(t)e(feature)j(that)e Fs(restart-case)e +Fw(\(or)j Fs(restart-bind)p Fw(\))d(o\013ers)k(that)0 +728 y Fs(catch)16 b Fw(do)q(es)i(not)f(is)f(the)i(abilit)o(y)d(to)i +(reason)h(ab)q(out)f(the)g(a)o(v)n(ailable)e(p)q(oin)o(ts)i(to)g(whic)o +(h)0 780 y(con)o(trol)f(migh)o(t)e(b)q(e)j(transferred)h(without)e +(actually)f(attempting)g(the)i(transfer.)26 b(One)0 832 +y(could,)13 b(for)h(example,)e(write)0 916 y Fs(\(ignore-errors)18 +b(\(throw)i(...\)\))0 1001 y Fw(whic)o(h)14 b(is)g(a)f(sort)h(of)g(p)q +(o)q(or)g(man's)e(v)n(ariation)g(of)0 1085 y Fs(\(when)20 +b(\(find-restart)432 1089 y Fn(')456 1085 y Fs(something\))42 +1137 y(\(invoke-restart)388 1141 y Fn(')412 1137 y Fs(something\)\))0 +1221 y Fw(but)15 b(there)g(is)f(no)g(w)o(a)o(y)g(to)g(use)h +Fs(ignore-errors)d Fw(and)i Fs(throw)f Fw(to)h(sim)o(ulate)f(something) +0 1273 y(lik)o(e)0 1357 y Fs(\(when)20 b(\(and)g(\(find-restart)541 +1361 y Fn(')564 1357 y Fs(something\))233 1409 y(\(find-restart)535 +1413 y Fn(')559 1409 y Fs(something-else\))o(\))42 1461 +y(\(invoke-restart)388 1465 y Fn(')412 1461 y Fs(something\)\))0 +1545 y Fw(or)14 b(ev)o(en)g(just)0 1629 y Fs(\(when)20 +b(\(and)g(\(find-restart)541 1633 y Fn(')564 1629 y Fs(something\))233 +1681 y(\(yes-or-no-p)f("Do)h(something?)f("\)\))42 1733 +y(\(invoke-restart)388 1737 y Fn(')412 1733 y Fs(something\)\))0 +1817 y Fw(b)q(ecause)d(the)e(degree)h(of)f(insp)q(ectabilit)o(y)f(that) +h(comes)f(with)h(simply)e(writing)0 1901 y Fs(\(ignore-errors)18 +b(\(throw)i(...\)\))0 1985 y Fw(is)10 b(to)q(o)f(primitiv)o(e|getting)e +(the)j(desired)h(information)c(also)i(forces)i(transfer)f(of)f(con)o +(trol,)0 2037 y(p)q(erhaps)15 b(at)f(a)f(time)g(when)h(it)g(is)g(not)f +(desirable.)42 2089 y(Man)o(y)f(programmers)f(ha)o(v)o(e)i(previously)f +(ev)o(olv)o(ed)h(strategies)h(lik)o(e)e(the)i(follo)o(wing)c(on)0 +2141 y(a)k(case-b)o(y-case)h(basis:)0 2225 y Fs(\(defvar)20 +b(*foo-tag-is-avai)o(lable)o(*)e(nil\))0 2329 y(\(defun)i(fn-1)g(\(\)) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 954 978 +954 977 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(954)77 b(COMMON)13 +b(LISP)42 295 y Fs(\(catch)192 299 y Fn(')215 295 y Fs(foo)85 +347 y(\(let)20 b(\(\(*foo-tag-is-avai)o(labl)o(e*)e(t\)\))127 +399 y(...)j(\(fn-2\))f(...\)\)\))0 502 y(\(defun)g(fn-2)g(\(\))42 +554 y(...)42 606 y(\(if)h(*foo-tag-is-avail)o(able*)d(\(throw)779 +610 y Fn(')803 606 y Fs(foo)i(t\)\))42 658 y(...\))0 +1750 y Fw(The)12 b(facilit)o(y)e(pro)o(vided)h(b)o(y)h +Fs(restart-case)d Fw(and)i Fs(find-restart)e Fw(is)i(in)o(tended)h(to)g +(pro-)0 1802 y(vide)h(a)g(standardized)i(proto)q(col)e(for)g(this)h +(sort)f(of)g(information)e(to)i(b)q(e)h(comm)o(unicated)0 +1854 y(b)q(et)o(w)o(een)g(programs)d(that)i(w)o(ere)g(dev)o(elop)q(ed)g +(indep)q(enden)o(tly)g(so)g(that)f(individual)f(v)n(ari-)0 +1906 y(ations)17 b(from)f(program)g(to)i(program)e(do)h(not)g(th)o(w)o +(art)h(the)g(o)o(v)o(erall)f(mo)q(dularit)o(y)e(and)0 +1957 y(debuggabilit)o(y)d(of)i(programs.)42 2121 y(Another)d +(di\013erence)i(b)q(et)o(w)o(een)f(the)g(restart)g(facilit)o(y)d(and)i +(the)h Fs(catch)p Fw(/)p Fs(throw)c Fw(facilit)o(y)0 +2173 y(is)18 b(that)g(a)g Fs(catch)f Fw(with)g(an)o(y)h(giv)o(en)g(tag) +f(completely)g(shado)o(ws)h(an)o(y)g(outer)h(p)q(ending)0 +2225 y Fs(catch)11 b Fw(that)h(uses)h(the)f(same)f(tag.)17 +b(Because)d(of)d(the)i(presence)h(of)e Fs(compute-restart)o(s)p +Fw(,)0 2277 y(ho)o(w)o(ev)o(er,)i(it)h(is)f(p)q(ossible)h(to)f(see)i +(shado)o(w)o(ed)e(restarts,)i(whic)o(h)e(ma)o(y)f(b)q(e)i(v)o(ery)g +(useful)f(in)0 2329 y(some)f(situations)h(\(particularly)f(in)g(an)h +(in)o(teractiv)o(e)g(debugger\).)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 955 979 +955 978 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(955)0 295 y Fo(29.3.10.)20 b(Generalized)13 b(Restarts)0 +384 y Fs(restart-case)e Fw(is)h(a)h(mec)o(hanism)e(that)i(allo)o(ws)f +(only)g(imp)q(erativ)o(e)g(transfer)i(of)e(con)o(trol)0 +436 y(for)h(its)h(asso)q(ciated)g(restarts.)20 b Fs(restart-case)11 +b Fw(is)j(built)e(on)i(a)f(lo)o(w)o(er-lev)o(el)g(mec)o(hanism)0 +487 y(called)h Fs(restart-bind)p Fw(,)c(whic)o(h)k(do)q(es)h(not)f +(force)g(transfer)h(of)e(con)o(trol.)42 540 y Fs(restart-bind)g +Fw(is)j(to)g Fs(restart-case)e Fw(as)i Fs(handler-bind)e +Fw(is)i(to)g Fs(handler-case)p Fw(.)0 591 y(The)e(syn)o(tax)g(is)0 +679 y Fs(\(restart-bind)k(\(\()p Fv(name)k(function)g +Fs(.)e Fv(options)p Fs(\)\))i(.)f Fv(b)n(o)n(dy)p Fs(\))0 +767 y Fw(The)e Fv(b)n(o)n(dy)h Fw(is)e(executed)j(in)e(a)f(dynamic)g +(con)o(text)h(within)f(whic)o(h)h(the)h Fv(function)f +Fw(will)0 819 y(b)q(e)e(called)e(whenev)o(er)j Fs(\(invoke-restart)709 +823 y Fn(')732 819 y Fv(name)p Fs(\))e Fw(is)g(executed.)26 +b(The)17 b Fv(options)f Fw(are)0 871 y(k)o(eyw)o(ord-st)o(yle)h(and)g +(are)h(used)g(to)f(pass)h(information)c(suc)o(h)k(as)g(that)f(pro)o +(vided)g(with)0 923 y(the)d Fs(:report)f Fw(k)o(eyw)o(ord)h(in)f +Fs(restart-case)p Fw(.)42 975 y(A)i Fs(restart-case)d +Fw(expands)k(in)o(to)e(a)h(call)f(to)h Fs(restart-bind)d +Fw(where)k(the)g(function)0 1027 y(simply)11 b(do)q(es)i(an)g +(unconditional)e(transfer)j(of)e(con)o(trol)h(to)f(a)h(particular)f(b)q +(o)q(dy)h(of)f(co)q(de,)0 1079 y(passing)i(along)e(\\argumen)o(t")h +(information)e(in)i(a)h(structured)i(w)o(a)o(y)m(.)42 +1131 y(It)10 b(is)f(also)h(p)q(ossible)g(to)g(write)g(restarts)i(that)e +(do)f(not)h(transfer)h(con)o(trol.)17 b(Suc)o(h)10 b(restarts)0 +1183 y(ma)o(y)d(b)q(e)j(useful)g(in)f(implem)o(en)o(ting)e(v)n(arious)h +(sp)q(ecial)i(commands)d(for)i(the)h(debugger)g(that)0 +1235 y(are)16 b(of)f(in)o(terest)i(only)e(in)h(certain)g(situations.)23 +b(F)m(or)16 b(example,)e(one)i(migh)o(t)e(imagine)f(a)0 +1287 y(situation)k(where)j(\014le)e(space)h(w)o(as)f(exhausted)h(and)f +(the)h(follo)o(wing)c(w)o(as)j(done)g(in)g(an)0 1339 +y(attempt)13 b(to)h(free)h(space)f(in)g(directory)h Fs(dir)p +Fw(:)0 1427 y Fs(\(restart-bind)j(\(\(nil)j(#)435 1423 +y(-)435 1431 y(-)m Fn(')478 1427 y Fs(\(lambda)e(\(\))i +(\(expunge-directory)d(dir\)\))423 1478 y(:report-function)466 +1530 y(#)466 1526 y(-)466 1534 y(-)m Fn(')509 1530 y +Fs(\(lambda)h(\(stream\))550 1582 y(\(format)h(stream)g("Expunge)1069 +1586 y Fn(~)1093 1582 y Fs(A.")720 1634 y(\(directory-names)o(tring)e +(dir\)\)\)\)\))42 1686 y(\(cerror)i("Try)g(this)h(file)f(operation)f +(again.")209 1742 y Fn(')233 1738 y Fs(directory-full)f(:directory)h +(dir\)\))0 1826 y Fw(In)c(this)g(case,)g(the)g(debugger)h(migh)o(t)d(b) +q(e)i(en)o(tered)i(and)d(the)i(user)f(could)g(\014rst)h(p)q(erform)0 +1878 y(the)j(expunge)f(\(whic)o(h)g(w)o(ould)f(not)h(transfer)h(con)o +(trol)e(from)g(the)h(debugger)h(con)o(text\))0 1929 y(and)14 +b(then)g(retry)h(the)g(\014le)e(op)q(eration:)0 2017 +y Fs(Lisp>)20 b(\(open)g("FOO")g(:direction)g(:output\))0 +2069 y(Error:)g(The)g(directory)g(PS:)f(is)i(full.)0 +2121 y(To)g(continue,)e(type)h(:CONTINUE)g(followed)f(by)i(an)g(option) +f(number:)21 2173 y(1:)h(Try)f(this)h(file)f(operation)f(again.)21 +2225 y(2:)i(Expunge)f(PS:.)21 2277 y(3:)h(Return)f(to)h(Lisp)f +(Toplevel.)0 2329 y(Debug>)g(:continue)f(2)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 956 980 +956 979 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(956)77 b(COMMON)13 +b(LISP)0 295 y Fs(Expunging)19 b(PS:)h(...)g(3)h(records)f +(freed.)0 347 y(Debug>)g(:continue)f(1)21 399 y Ft(\))i +Fs(#)84 395 y(-)84 403 y(-)106 399 y(FOO.LSP)o(")g(2323473>)0 551 y Fo(29.3.11.)i(In)n(teractiv)n +(e)14 b(Condition)g(Handling)0 637 y Fw(When)k(a)f(program)e(do)q(es)j +(not)g(kno)o(w)f(ho)o(w)g(to)g(con)o(tin)o(ue,)h(and)f(no)g(activ)o(e)g +(handler)h(is)0 689 y(able)d(to)g(advise)g(it,)g(the)h(\\in)o(teractiv) +o(e)f(condition)g(handler,")g(or)g(\\debugger,")h(can)f(b)q(e)0 +741 y(en)o(tered.)22 b(This)14 b(happ)q(ens)i(implicitly)11 +b(through)k(the)g(use)g(of)f(functions)h(suc)o(h)g(as)g +Fs(error)0 793 y Fw(and)f Fs(cerror)p Fw(,)e(or)i(explicitly)f(through) +h(the)g(use)h(of)e(the)h(function)g Fs(invoke-debugger)p +Fw(.)42 845 y(The)19 b(in)o(teractiv)o(e)h(condition)f(handler)g(nev)o +(er)i(returns)g(directly;)h(it)d(returns)i(only)0 897 +y(through)d(structured)i(non-lo)q(cal)c(transfer)j(of)e(con)o(trol)h +(to)f(sp)q(ecially)h(de\014ned)g(restart)0 948 y(p)q(oin)o(ts)e(that)g +(can)g(b)q(e)h(set)g(up)f(either)h(b)o(y)f(the)h(system)f(or)g(b)o(y)f +(user)j(co)q(de.)25 b(The)17 b(mec)o(h-)0 1000 y(anisms)f(that)h(supp)q +(ort)g(the)h(establishmen)o(t)e(of)g(suc)o(h)i(structured)h(restart)f +(p)q(oin)o(ts)f(for)0 1052 y(p)q(ortable)d(co)q(de)h(are)f(outlined)f +(in)h(sections)h(29.3.5)d(through)i(29.3.10.)42 1104 +y(Actually)m(,)h(implemen)o(tations)f(ma)o(y)g(also)i(pro)o(vide)h +(extended)h(debugging)e(facilities)0 1156 y(that)k(allo)o(w)f(return)j +(from)c(arbitrary)j(stac)o(k)g(frames.)36 b(Although)20 +b(suc)o(h)h(commands)0 1208 y(are)16 b(frequen)o(tly)g(useful)g(in)g +(practice,)g(their)h(e\013ects)g(are)g(implem)o(en)o(tation-dep)q +(enden)o(t)0 1260 y(b)q(ecause)i(they)g(violate)d(the)i(Common)d(Lisp)i +(program)f(abstraction.)30 b(The)18 b(e\013ect)h(of)0 +1312 y(using)14 b(suc)o(h)g(commands)e(is)h(unde\014ned)j(with)d(resp)q +(ect)j(to)e(Common)d(Lisp.)0 1464 y Fo(29.3.12.)20 b(Serious)14 +b(Conditions)0 1550 y Fw(The)19 b Fs(ignore-errors)c +Fw(macro)j(will)f(trap)h(conditions)g(of)g(t)o(yp)q(e)h +Fs(error)p Fw(.)30 b(There)20 b(are,)0 1602 y(ho)o(w)o(ev)o(er,)14 +b(conditions)f(that)h(are)h(not)e(of)h(t)o(yp)q(e)g Fs(error)p +Fw(.)42 1654 y(Some)19 b(conditions)h(are)h(not)g(considered)h(errors)g +(but)f(are)g(still)f(v)o(ery)h(serious,)i(so)0 1706 y(w)o(e)15 +b(call)g(them)f Fv(serious)i(c)n(onditions)f Fw(and)g(w)o(e)g(use)h +(the)g(t)o(yp)q(e)f Fs(serious-condition)d Fw(to)0 1758 +y(represen)o(t)18 b(them.)24 b(Conditions)16 b(suc)o(h)g(as)h(those)f +(that)h(migh)o(t)d(b)q(e)i(signaled)g(for)g(\\stac)o(k)0 +1810 y(o)o(v)o(er\015o)o(w")d(or)h(\\storage)g(exhausted")h(are)f(in)g +(this)g(category)m(.)42 1862 y(The)k(t)o(yp)q(e)g Fs(error)f +Fw(is)h(a)f(subt)o(yp)q(e)i(of)e Fs(serious-condition)p +Fw(,)e(and)j(it)f(w)o(ould)g(tec)o(h-)0 1914 y(nically)e(b)q(e)j +(correct)g(to)e(use)i(the)f(term)f(\\serious)h(condition")f(to)g(refer) +i(to)f(all)e(serious)0 1965 y(conditions)g(whether)i(errors)g(or)f +(not.)24 b(Ho)o(w)o(ev)o(er,)16 b(normally)d(w)o(e)j(use)g(the)g(term)g +(\\seri-)0 2017 y(ous)e(condition")e(to)h(refer)i(to)e(things)g(of)g(t) +o(yp)q(e)h Fs(serious-conditio)o(n)d Fw(but)i(not)g(of)g(t)o(yp)q(e)0 +2069 y Fs(error)p Fw(.)42 2121 y(The)h(p)q(oin)o(t)g(of)g(the)h +(distinction)f(b)q(et)o(w)o(een)h(errors)h(and)e(other)h(serious)g +(conditions)f(is)0 2173 y(that)d(some)e(conditions)h(are)h(kno)o(wn)f +(to)h(o)q(ccur)g(for)g(reasons)g(that)g(are)g(b)q(ey)o(ond)f(the)i +(scop)q(e)0 2225 y(of)j(Common)e(Lisp)j(to)g(sp)q(ecify)g(clearly)m(.) +24 b(F)m(or)16 b(example,)e(w)o(e)j(kno)o(w)e(that)h(a)g(stac)o(k)g +(will)0 2277 y(generally)10 b(b)q(e)i(used)f(to)g(implemen)o(t)d +(function)i(calling,)g(and)g(w)o(e)h(kno)o(w)g(that)g(stac)o(ks)g(tend) +0 2329 y(to)16 b(b)q(e)h(of)f(\014nite)h(size)g(and)f(are)h(prone)g(to) +f(o)o(v)o(er\015o)o(w.)25 b(Since)17 b(the)g(a)o(v)n(ailable)d(stac)o +(k)j(size)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 957 981 +957 980 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(957)0 295 y Fw(ma)o(y)11 b(v)n(ary)h(from)f(implemen)o(tatio)o(n)f +(to)j(implem)o(en)o(tation,)c(from)i(session)j(to)e(session,)i(or)0 +347 y(from)f(function)h(call)f(to)h(function)g(call,)f(it)h(w)o(ould)g +(b)q(e)h(confusing)f(to)g(ha)o(v)o(e)g(expressions)0 +399 y(suc)o(h)d(as)g Fs(\(ignore-errors)18 b(\(+)j(a)g(b\)\))9 +b Fw(return)j(a)e(n)o(um)o(b)q(er)g(sometimes)e(and)i +Fs(nil)g Fw(other)0 450 y(times)j(if)h Fs(a)f Fw(and)i +Fs(b)e Fw(w)o(ere)j(alw)o(a)o(ys)d(b)q(ound)h(to)g(n)o(um)o(b)q(ers)g +(and)g(the)h(stac)o(k)f(just)h(happ)q(ened)0 502 y(to)c(o)o(v)o +(er\015o)o(w)g(on)h(a)f(particular)g(call.)16 b(F)m(or)c(this)f +(reason,)h(only)f(conditions)g(of)g(t)o(yp)q(e)h Fs(error)0 +554 y Fw(and)k(not)g(all)f(conditions)h(of)g(t)o(yp)q(e)h +Fs(serious-conditio)o(n)c Fw(are)k(trapp)q(ed)g(b)o(y)f +Fs(ignore-)0 606 y(errors)p Fw(.)g(T)m(o)c(trap)h(other)h(conditions,)e +(a)h(lo)o(w)o(er-lev)o(el)f(facilit)o(y)f(m)o(ust)h(b)q(e)h(used)h +(\(suc)o(h)g(as)0 658 y Fs(handler-bind)d Fw(or)j Fs(handler-case)p +Fw(\).)42 710 y(By)h(con)o(v)o(en)o(tion,)g(the)h(function)f +Fs(error)f Fw(is)h(preferred)i(o)o(v)o(er)e Fs(signal)f +Fw(to)h(signal)g(con-)0 762 y(ditions)d(of)g(t)o(yp)q(e)i +Fs(serious-conditio)o(n)c Fw(\(including)i(those)h(of)g(t)o(yp)q(e)g +Fs(error)p Fw(\).)k(It)12 b(is)h(the)0 814 y(use)j(of)f(the)h(function) +f Fs(error)p Fw(,)f(and)h(not)g(the)h(t)o(yp)q(e)f(of)g(the)h +(condition)f(b)q(eing)g(signaled,)0 866 y(that)f(actually)f(causes)i +(the)g(debugger)f(to)g(b)q(e)h(en)o(tered.)p 0 925 V +0 985 a Fm(Compatibilit)o(y)h(note:)25 b FA(The)16 b(Common)h(Lisp)h +(Condition)g(System)g(di\013ers)g(from)e(that)h(of)0 +1031 y(Zetalisp)d(in)f(this)g(resp)q(ect.)18 b(In)12 +b(Zetalisp)i(the)e(debugger)i(is)f(en)o(tered)f(for)g(an)h(unhandled)i +(signal)0 1077 y(if)e(the)g Fj(error)e FA(function)k(is)e(used)h +Fq(or)e FA(if)i(the)f(condition)i(is)f(of)f(t)o(yp)q(e)g +Fj(error)p FA(.)p 0 1108 V 0 1212 a Fo(29.3.13.)20 b(Non-Serious)14 +b(Conditions)0 1291 y Fw(Some)g(conditions)g(are)h(neither)h(errors)g +(nor)e(serious)i(conditions.)k(They)15 b(are)g(signaled)0 +1343 y(to)f(giv)o(e)g(other)h(programs)e(a)h(c)o(hance)h(to)g(in)o +(terv)o(ene,)g(but)f(if)g(no)g(action)g(is)g(tak)o(en,)g(com-)0 +1395 y(putation)f(simply)f(con)o(tin)o(ues)j(normally)m(.)42 +1447 y(F)m(or)23 b(example,)i(an)f(implem)o(en)o(tation)d(migh)o(t)h(c) +o(ho)q(ose)j(to)f(signal)f(a)g(non-serious)0 1499 y(\(and)14 +b(implemen)o(tatio)o(n-dep)q(enden)o(t\))f(condition)h(called)f +Fs(end-of-line)f Fw(when)j(output)0 1551 y(reac)o(hes)i(the)f(last)f(c) +o(haracter)h(p)q(osition)f(on)g(a)g(line)f(of)h(c)o(haracter)i(output.) +22 b(In)15 b(suc)o(h)h(an)0 1603 y(implemen)o(tatio)o(n,)11 +b(the)j(signaling)d(of)i(this)h(condition)e(migh)o(t)g(allo)o(w)f(a)j +(con)o(v)o(enien)o(t)f(w)o(a)o(y)0 1655 y(for)k(other)h(programs)e(to)h +(in)o(terv)o(ene,)i(pro)q(ducing)e(output)h(that)f(is)g(truncated)i(at) +e(the)0 1706 y(end)d(of)g(a)f(line.)42 1758 y(By)e(con)o(v)o(en)o +(tion,)g(the)h(function)e Fs(signal)g Fw(is)h(used)h(to)f(signal)f +(conditions)h(that)g(are)h(not)0 1810 y(serious.)25 b(It)16 +b(w)o(ould)f(b)q(e)i(p)q(ossible)f(to)g(signal)f(serious)i(conditions)e +(using)h Fs(signal)p Fw(,)f(and)0 1862 y(the)d(debugger)g(w)o(ould)e +(not)h(b)q(e)h(en)o(tered)h(if)e(the)g(condition)g(w)o(en)o(t)h +(unhandled.)17 b(Ho)o(w)o(ev)o(er,)0 1914 y(b)o(y)c(con)o(v)o(en)o +(tion,)g(handlers)h(will)e(generally)h(tend)i(to)e(assume)g(that)h +(serious)g(conditions)0 1966 y(and)19 b(errors)i(w)o(ere)f(signaled)f +(b)o(y)g(calling)e(the)j Fs(error)e Fw(function)h(\(and)g(will)f +(therefore)0 2018 y(force)f(en)o(try)g(to)f(the)h(in)o(teractiv)o(e)g +(condition)f(handler\))g(and)g(that)h(they)g(should)f(w)o(ork)0 +2070 y(to)e(a)o(v)o(oid)e(this.)0 2198 y Fo(29.3.14.)20 +b(Condition)15 b(T)n(yp)r(es)0 2277 y Fw(Some)10 b(t)o(yp)q(es)h(of)g +(conditions)f(are)h(prede\014ned)i(b)o(y)e(the)g(system.)17 +b(All)10 b(t)o(yp)q(es)i(of)e(conditions)0 2329 y(are)18 +b(subt)o(yp)q(es)h(of)d Fs(condition)p Fw(.)27 b(That)17 +b(is,)h Fs(\(typep)i Fv(x)891 2333 y Fn(')915 2329 y +Fs(condition\))15 b Fw(is)i(true)h(if)f(and)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 958 982 +958 981 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(958)77 b(COMMON)13 +b(LISP)0 295 y Fw(only)g(if)g(the)i(v)n(alue)e(of)g Fv(x)h +Fw(is)g(a)g(condition.)42 347 y(Implemen)o(tatio)o(ns)9 +b(supp)q(orting)j(m)o(ultiple)d(\(or)i(non-hierarc)o(hical\))g(t)o(yp)q +(e)h(inheritance)0 399 y(are)g(expressly)g(p)q(ermitted)f(to)g(exploit) +g(m)o(ultiple)e(inheritance)j(in)e(the)i(tree)h(of)d(condition)0 +451 y(t)o(yp)q(es)j(as)f(implemen)o(tation-dep)q(enden)o(t)e +(extensions,)k(as)e(long)f(as)h(suc)o(h)h(extensions)g(are)0 +503 y(compatible)8 b(with)h(the)h(sp)q(eci\014cations)h(in)e(this)h(c)o +(hapter.)17 b([X3J13)9 b(v)o(oted)h(in)f(Marc)o(h)h(1989)0 +555 y Ft(h)p Fw(186)p Ft(i)k Fw(to)g(in)o(tegrate)h(the)g(Condition)f +(System)g(and)g(the)h(Ob)r(ject)h(System,)d(so)i(m)o(ultiple)0 +607 y(inheritance)g(is)e(alw)o(a)o(ys)g(a)o(v)n(ailable)f(for)h +(condition)h(t)o(yp)q(es.|GLS])42 659 y(In)e(order)h(to)g(a)o(v)o(oid)e +(problems)g(in)h(p)q(ortable)h(co)q(de)g(that)g(runs)g(b)q(oth)f(in)g +(systems)h(with)0 711 y(m)o(ultiple)e(t)o(yp)q(e)j(inheritance)g(and)f +(in)f(systems)i(without)f(it,)f(programmers)f(are)j(explic-)0 +763 y(itly)g(w)o(arned)g(that)h(while)f(all)f(correct)j(Common)11 +b(Lisp)k(implemen)o(tatio)o(ns)d(will)h(ensure)0 815 +y(that)g Fs(\(typep)20 b Fv(c)279 819 y Fn(')302 815 +y Fs(condition\))11 b Fw(is)h(true)i(for)e(all)f(conditions)i +Fv(c)f Fw(\(and)h(all)e(subt)o(yp)q(e)j(rela-)0 867 y(tionships)e +(indicated)f(in)h(this)f(c)o(hapter)i(will)e(also)g(b)q(e)h(true\),)h +(it)e(should)h Fv(not)g Fw(b)q(e)g(assumed)0 919 y(that)j(t)o(w)o(o)f +(condition)g(t)o(yp)q(es)i(sp)q(eci\014ed)g(to)f(b)q(e)g(subt)o(yp)q +(es)i(of)d(the)h(same)f(third)h(t)o(yp)q(e)g(are)0 970 +y(disjoin)o(t.)24 b(\(In)16 b(some)f(cases,)j(disjoin)o(t)d(subt)o(yp)q +(es)j(are)e(iden)o(ti\014ed)h(explicitly)m(,)e(but)h(suc)o(h)0 +1022 y(disjoin)o(tness)h(is)g(not)g(to)f(b)q(e)i(assumed)f(b)o(y)f +(default.\))27 b(F)m(or)17 b(example,)f(it)g(follo)o(ws)f(from)0 +1074 y(the)20 b(subt)o(yp)q(e)g(descriptions)g(con)o(tained)f(in)f +(this)h(c)o(hapter)h(that)g(in)e(all)g(implemen)o(ta-)0 +1126 y(tions)d Fs(\(typep)20 b Fv(c)293 1130 y Fn(')316 +1126 y Fs(control-error\))12 b Fw(implies)h Fs(\(typep)20 +b Fv(c)968 1130 y Fn(')991 1126 y Fs(error\))p Fw(,)13 +b(but)i(note)h(that)0 1178 y Fs(\(typep)k Fv(c)190 1182 +y Fn(')213 1178 y Fs(control-error\))8 b Fw(do)q(es)j +Fv(not)f Fw(imply)e Fs(\(not)20 b(\(typep)g Fv(c)1098 +1182 y Fn(')1122 1178 y Fs(cell-error\)\))p Fw(.)0 1352 +y Fo(29.3.15.)g(Signaling)14 b(Conditions)0 1444 y Fw(When)f(a)g +(condition)f(is)g(signaled,)g(the)i(system)e(tries)i(to)f(lo)q(cate)g +(the)g(most)f(appropriate)0 1496 y(handler)i(for)g(the)g(condition)f +(and)h(to)g(in)o(v)o(ok)o(e)f(that)h(handler.)42 1549 +y(Handlers)h(are)h(established)g(dynamically)c(using)j +Fs(handler-bind)e Fw(or)i(abstractions)0 1601 y(built)e(on)h +Fs(handler-bind)p Fw(.)42 1653 y(If)19 b(an)g(appropriate)g(handler)h +(is)f(found,)h(it)f(is)h(called.)34 b(In)20 b(some)e(circumstances,)0 +1705 y(the)d(handler)g(ma)o(y)e Fv(de)n(cline)h Fw(simply)f(b)o(y)h +(returning)h(without)f(p)q(erforming)g(a)g(non-lo)q(cal)0 +1757 y(transfer)19 b(of)e(con)o(trol.)30 b(In)17 b(suc)o(h)i(cases,)h +(the)e(searc)o(h)h(for)e(an)h(appropriate)g(handler)g(is)0 +1809 y(pic)o(k)o(ed)c(up)g(where)h(it)e(left)h(o\013,)f(as)h(if)g(the)g +(called)g(handler)g(had)f(nev)o(er)i(b)q(een)g(presen)o(t.)42 +1861 y(If)h(no)g(handler)h(is)g(found,)f(or)h(if)f(all)g(handlers)h +(that)g(w)o(ere)g(found)g(decline,)g Fs(signal)0 1913 +y Fw(returns)e Fs(nil)p Fw(.)42 1966 y(Although)f(it)g(follo)o(ws)f +(from)f(the)k(description)f(ab)q(o)o(v)o(e,)f(it)g(is)g(p)q(erhaps)i(w) +o(orth)e(noting)0 2017 y(explicitly)g(that)h(the)h(lo)q(okup)e(pro)q +(cedure)j(describ)q(ed)g(here)f(will)e(prefer)i(a)f(general)h(but)0 +2069 y(more)e(\(dynamically\))e(lo)q(cal)h(handler)i(o)o(v)o(er)g(a)f +(sp)q(eci\014c)i(but)f(less)h(\(dynamically\))c(lo)q(cal)0 +2121 y(handler.)27 b(Exp)q(erience)19 b(with)e(existing)f(condition)g +(systems)h(suggests)h(that)f(this)g(is)g(a)0 2173 y(reasonable)j +(approac)o(h)g(and)f(w)o(orks)h(adequately)g(in)f(most)f(situations.)35 +b(Some)19 b(care)0 2225 y(should)c(b)q(e)h(tak)o(en)g(when)g(binding)f +(handlers)h(for)f(v)o(ery)h(general)f(kinds)h(of)f(conditions,)0 +2277 y(suc)o(h)c(as)e(is)h(done)g(in)g Fs(ignore-errors)p +Fw(.)k(Often,)c(binding)f(for)h(a)f(more)g(sp)q(eci\014c)i(condition)0 +2329 y(t)o(yp)q(e)j(than)g Fs(error)f Fw(is)h(more)f(appropriate.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 959 983 +959 982 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(959)0 295 y Fo(29.3.16.)20 b(Resignaling)14 b(Conditions)0 +377 y Fw([The)g(con)o(ten)o(ts)g(of)g(this)f(section)i(are)f(still)f(a) +g(sub)r(ject)i(of)e(some)g(debate)i(within)e(X3J13.)0 +429 y(The)h(reader)h(ma)o(y)d(wish)i(to)g(tak)o(e)g(this)g(section)g +(with)g(a)f(grain)h(of)f(salt.|GLS])42 481 y(Note)k(that)g(signaling)f +(a)h(condition)f(has)i(no)e(side)i(e\013ect)h(on)e(that)g(condition,)g +(and)0 533 y(that)g(there)h(is)e(no)g(dynamic)f(state)j(con)o(tained)e +(in)g(a)h(condition)f(ob)r(ject.)27 b(As)17 b(suc)o(h,)g(it)0 +585 y(ma)o(y)10 b(at)i(times)f(b)q(e)h(reasonable)g(and)g(appropriate)g +(to)g(consider)g(cac)o(hing)g(condition)f(ob-)0 637 y(jects)j(for)f +(rep)q(eated)i(use,)f(re-signaling)e(conditions)g(from)g(within)g +(handlers,)h(or)h(sa)o(ving)0 689 y(conditions)g(a)o(w)o(a)o(y)e +(somewhere)j(and)e(re-signaling)g(them)g(later.)42 740 +y(F)m(or)i(example,)f(it)h(ma)o(y)e(b)q(e)j(desirable)g(for)f(the)i +(system)e(to)g(pre-allo)q(cate)h(ob)r(jects)g(of)0 792 +y(t)o(yp)q(e)f Fs(storage-conditio)o(n)c Fw(so)k(that)f(they)h(can)f(b) +q(e)h(signaled)f(when)g(needed)i(without)0 844 y(attempting)c(to)i +(allo)q(cate)g(more)e(storage.)0 984 y Fo(29.3.17.)20 +b(Condition)15 b(Handlers)0 1067 y Fw(A)h Fv(hand)r(ler)h +Fw(is)f(a)g(function)f(of)h(one)g(argumen)o(t,)f(the)i(condition)f(to)g +(b)q(e)g(handled.)25 b(The)0 1119 y(handler)16 b(ma)o(y)e(insp)q(ect)k +(the)e(ob)r(ject)h(to)f(b)q(e)h(sure)g(it)e(is)h(\\in)o(terested")i(in) +d(handling)g(the)0 1171 y(condition.)42 1222 y(A)g(handler)h(is)f +(executed)j(in)d(the)h(dynamic)e(con)o(text)i(of)f(the)h(signaler,)g +(except)h(that)0 1274 y(the)h(set)g(of)f(a)o(v)n(ailable)e(condition)i +(handlers)h(will)d(ha)o(v)o(e)j(b)q(een)g(reb)q(ound)g(to)f(the)h(v)n +(alue)0 1326 y(that)11 b(w)o(as)g(activ)o(e)h(at)f(the)g(time)f(the)i +(condition)e(handler)i(w)o(as)f(made)f(activ)o(e.)17 +b(The)12 b(in)o(ten)o(t)0 1378 y(of)f(this)h(is)g(to)g(prev)o(en)o(t)h +(in\014nite)e(recursion)j(b)q(ecause)f(of)f(errors)h(in)e(a)h +(condition)f(handler.)42 1430 y(After)h(insp)q(ecting)h(the)g +(condition,)f(the)g(handler)h(should)f(tak)o(e)g(one)h(of)e(the)i +(follo)o(wing)0 1482 y(actions:)0 1541 y Fu(.)42 1550 +y Fw(It)h(migh)o(t)e Fv(de)n(cline)i Fw(to)g(handle)h(the)f(condition)g +(\(b)o(y)g(simply)e(returning\).)20 b(When)15 b(this)42 +1602 y(happ)q(ens,)d(the)h(returned)g(v)n(alues)f(are)g(ignored)g(and)g +(the)g(e\013ect)i(is)e(the)g(same)f(as)h(if)f(the)42 +1654 y(handler)g(had)h(b)q(een)h(in)o(visible)e(to)g(the)i(mec)o +(hanism)c(seeking)k(to)e(\014nd)h(a)g(handler.)17 b(The)42 +1706 y(next)c(handler)f(in)g(line)g(will)f(b)q(e)i(tried,)g(or)f(if)g +(no)g(suc)o(h)i(handler)e(exists,)h(the)g(condition)42 +1758 y(will)f(go)h(unhandled.)0 1830 y Fu(.)42 1839 y +Fw(It)18 b(migh)o(t)f Fv(hand)r(le)i Fw(the)g(condition)f(\(b)o(y)h(p)q +(erforming)e(some)g(non-lo)q(cal)h(transfer)h(of)42 1891 +y(con)o(trol\).)g(This)14 b(ma)o(y)f(b)q(e)i(done)f(either)i(primitiv)o +(ely)11 b(using)k Fs(go)p Fw(,)e Fs(return)p Fw(,)g(or)h +Fs(throw)p Fw(,)42 1943 y(or)f(more)g(abstractly)h(using)g(a)g +(function)f(suc)o(h)i(as)f Fs(abort)f Fw(or)h Fs(invoke-restart)p +Fw(.)0 2015 y Fu(.)42 2024 y Fw(It)f(migh)o(t)f(signal)h(another)h +(condition.)0 2096 y Fu(.)42 2105 y Fw(It)f(migh)o(t)f(in)o(v)o(ok)o(e) +h(the)i(in)o(teractiv)o(e)f(debugger.)0 2173 y(In)19 +b(fact,)g(the)g(latter)g(t)o(w)o(o)f(actions)h(\(signaling)e(another)i +(condition)e(or)i(en)o(tering)g(the)0 2225 y(debugger\))d(are)f(really) +f(just)i(w)o(a)o(ys)e(of)g(putting)h(o\013)g(the)g(decision)g(to)g +(either)h(handle)f(or)0 2277 y(decline,)e(or)g(trying)f(to)g(get)h +(someone)f(else)i(to)e(mak)o(e)g(suc)o(h)h(a)f(decision.)18 +b(Ultimately)m(,)10 b(all)0 2329 y(a)k(handler)g(can)g(do)f(is)h(to)g +(handle)g(or)f(decline)i(to)f(handle.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 960 984 +960 983 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(960)77 b(COMMON)13 +b(LISP)0 295 y Fo(29.3.18.)20 b(Prin)n(ting)15 b(Conditions)0 +382 y Fw(When)g Fs(*print-escape*)c Fw(is)j Fs(nil)g +Fw(\(for)g(example,)f(when)i(the)g Fs(princ)f Fw(function)g(or)g(the)-2 +438 y Fn(~)21 434 y Fs(A)j Fw(directiv)o(e)g(is)g(used)h(with)e +Fs(format)p Fw(\),)g(the)h(rep)q(ort)h(metho)q(d)e(for)h(the)g +(condition)f(will)0 486 y(b)q(e)i(in)o(v)o(ok)o(ed.)28 +b(This)17 b(will)f(b)q(e)j(done)e(automatically)e(b)o(y)i(functions)g +(suc)o(h)i(as)e Fs(invoke-)0 538 y(debugger)p Fw(,)e +Fs(break)p Fw(,)g(and)h Fs(warn)p Fw(,)f(but)i(there)g(ma)o(y)d(still)i +(b)q(e)g(situations)g(in)g(whic)o(h)g(it)g(is)0 590 y(desirable)d(to)g +(ha)o(v)o(e)g(a)f(condition)h(rep)q(ort)g(under)h(explicit)f(user)h +(con)o(trol.)j(F)m(or)12 b(example,)0 677 y Fs(\(let)20 +b(\(\(form)258 681 y Fn(')281 677 y Fs(\(open)h("nosuchfile"\)\)\))42 +729 y(\(handler-case)e(\(eval)h(form\))85 781 y(\(serious-conditi)o(on) +e(\(c\))127 833 y(\(format)i(t)h(")364 837 y Fn(~)387 +833 y Fs(&Evaluation)e(of)710 837 y Fn(~)733 833 y Fs(S)i(failed:)928 +837 y Fn(~)950 833 y Fs(\045)970 837 y Fn(~)993 833 y +Fs(A")g(form)f(c\)\)\)\))0 920 y Fw(migh)o(t)12 b(prin)o(t)i(something) +e(lik)o(e)0 1007 y Fs(Evaluation)19 b(of)i(\(OPEN)f("nosuchfile"\))e +(failed:)0 1059 y(The)j(file)f("nosuchfile")f(was)h(not)h(found.)0 +1146 y Fw(Some)13 b(suggestions)h(ab)q(out)g(the)g(form)f(of)g(text)h +(t)o(yp)q(ed)h(b)o(y)e(rep)q(ort)i(metho)q(ds:)0 1208 +y Fu(.)42 1217 y Fw(The)k(message)f(should)h(generally)g(b)q(e)g(a)g +(complete)f(sen)o(tence,)k(b)q(eginning)c(with)h(a)42 +1269 y(capital)13 b(letter)h(and)g(ending)g(with)f(appropriate)h +(punctuation)g(\(usually)f(a)h(p)q(erio)q(d\).)0 1343 +y Fu(.)42 1352 y Fw(The)f(message)f(should)h Fv(not)g +Fw(include)g(an)o(y)f(in)o(tro)q(ductory)h(text)g(suc)o(h)h(as)f(\\)p +Fs(Error:)p Fw(")e(or)42 1404 y(\\)p Fs(Warning:)p Fw(")k(and)i(should) +g(not)g(b)q(e)h(follo)o(w)o(ed)d(b)o(y)i(a)g(trailing)f(newline.)28 +b(Suc)o(h)18 b(text)42 1456 y(will)10 b(b)q(e)j(added)g(as)g(ma)o(y)d +(b)q(e)j(appropriate)f(to)h(con)o(text)g(b)o(y)f(the)h(routine)g(in)o +(v)o(oking)d(the)42 1508 y(rep)q(ort)k(metho)q(d.)0 1582 +y Fu(.)42 1591 y Fw(Except)h(where)g(una)o(v)o(oidable,)e(the)i(tab)f +(c)o(haracter)i(\(whic)o(h)e(is)g(only)g(semi-standard)42 +1643 y(an)o(yw)o(a)o(y\))i(should)h(not)h(b)q(e)g(used)h(in)e(error)h +(messages.)29 b(Its)19 b(e\013ect)g(ma)o(y)c(v)n(ary)i(from)42 +1695 y(one)i(implem)o(en)o(tation)d(to)j(another)g(and)g(ma)o(y)e +(cause)j(problems)e(ev)o(en)i(within)e(an)42 1747 y(implem)o(en)o +(tation)7 b(b)q(ecause)13 b(it)d(ma)o(y)e(do)i(di\013eren)o(t)i(things) +e(dep)q(ending)h(on)f(the)h(column)42 1799 y(at)i(whic)o(h)h(the)h +(error)f(rep)q(ort)h(b)q(egins.)0 1873 y Fu(.)42 1882 +y Fw(Single-line)d(messages)i(are)g(preferred,)i(but)e(newlines)g(in)g +(the)g(middle)e(of)i(long)f(mes-)42 1934 y(sages)h(are)g(acceptable.)0 +2008 y Fu(.)42 2017 y Fw(If)19 b(an)o(y)h(program)f(\(for)h(example,)g +(the)h(debugger\))g(displa)o(ys)f(messages)g(inden)o(ted)42 +2069 y(from)9 b(the)k(prev)n(ailing)d(left)h(margin)f(\(for)h(example,) +g(inden)o(ted)h(sev)o(en)h(spaces)g(b)q(ecause)42 2121 +y(they)g(are)g(pre\014xed)h(b)o(y)f(the)h(sev)o(en-c)o(haracter)h +(herald)e(\\)p Fs(Error:)20 b Fw("\),)12 b(then)i(that)f(pro-)42 +2173 y(gram)f(will)i(tak)o(e)g(care)i(of)e(inserting)g(the)i +(appropriate)e(inden)o(tation)g(in)o(to)g(the)h(extra)42 +2225 y(lines)e(of)g(a)g(m)o(ulti-line)e(error)j(message.)k(Similarly)l +(,)10 b(a)j(program)f(that)i(pre\014xes)h(error)42 2277 +y(messages)e(with)g(semicolons)f(so)i(that)f(they)h(app)q(ear)g(to)g(b) +q(e)g(commen)o(ts)d(should)j(tak)o(e)42 2329 y(care)j(of)f(inserting)h +(a)f(semicolon)f(at)h(the)h(b)q(eginning)f(of)g(eac)o(h)h(line)f(in)g +(a)h(m)o(ulti-li)o(ne)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 961 985 +961 984 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(961)42 295 y Fw(error)18 b(message.)30 b(\(These)19 +b(rules)g(are)f(imp)q(ortan)o(t)f(b)q(ecause,)j(ev)o(en)e(within)f(a)h +(single)42 347 y(implem)o(en)o(tation,)12 b(there)k(ma)o(y)d(b)q(e)j +(more)d(than)i(one)h(program)d(that)i(presen)o(ts)i(error)42 +399 y(messages)i(to)g(the)h(user,)h(and)e(they)h(ma)o(y)d(use)k +(di\013eren)o(t)f(st)o(yles)g(of)e(presen)o(tation.)42 +450 y(The)e(caller)f(of)h Fs(error)e Fw(cannot)i(an)o(ticipate)g(all)e +(suc)o(h)j(p)q(ossible)f(st)o(yles,)g(and)g(so)f(it)h(is)42 +502 y(incum)o(b)q(en)o(t)g(up)q(on)h(the)h(presen)o(ter)h(of)e(the)h +(message)f(to)g(mak)o(e)e(an)o(y)i(necessary)i(ad-)42 +554 y(justmen)o(ts.\))0 630 y([Note:)f(These)d(recommendations)d +(expand)i(up)q(on)g(those)h(in)e(section)i(24.1.|GLS])42 +683 y(When)g Fs(*print-escape*)e Fw(is)i(not)g Fs(nil)p +Fw(,)g(the)h(ob)r(ject)g(should)g(prin)o(t)f(in)g(some)g(useful)0 +734 y(\(but)i(usually)e(fairly)h(abbreviated\))h(fashion)e(according)i +(to)f(the)h(st)o(yle)g(of)f(the)h(imple-)0 786 y(men)o(tation.)35 +b(It)21 b(is)f(not)g(exp)q(ected)i(that)e(a)g(condition)g(will)e(b)q(e) +j(prin)o(ted)g(in)f(a)f(form)0 838 y(suitable)14 b(for)f +Fs(read)p Fw(.)k(Something)c(lik)o(e)g Fs(#)617 834 y(-)617 +842 y(-)639 838 y()13 +b Fw(is)h(\014ne.)42 891 y(X3J13)i(v)o(oted)g(in)g(Marc)o(h)h(1989)e +Ft(h)p Fw(186)p Ft(i)h Fw(to)g(in)o(tegrate)h(the)g(Condition)e(System) +h(and)0 943 y(the)h(Ob)r(ject)g(System.)25 b(In)16 b(the)h(original)d +(Condition)h(System)h(prop)q(osal,)g(no)g(function)0 +994 y(w)o(as)c(pro)o(vided)h(for)f(directly)h(accessing)h(or)e(setting) +h(the)g(prin)o(ter)g(for)g(a)f(condition)g(t)o(yp)q(e,)0 +1046 y(or)k(for)g(in)o(v)o(oking)f(it;)i(the)g(tec)o(hniques)h(describ) +q(ed)g(ab)q(o)o(v)o(e)e(w)o(ere)h(the)g(sole)g(in)o(terface)g(to)0 +1098 y(rep)q(orting.)33 b(The)19 b(v)o(ote)g(sp)q(eci\014ed)h(that,)g +(in)e(CLOS)h(terms,)h(condition)e(rep)q(orting)h(is)0 +1150 y(mediated)13 b(through)i(the)f Fs(print-object)e +Fw(metho)q(d)i(for)g(the)g(condition)g(t)o(yp)q(e)h(\(that)f(is,)0 +1202 y(class\))g(in)f(question,)g(with)g Fs(*print-escape*)d +Fw(b)q(ound)j(to)g Fs(nil)p Fw(.)18 b(Sp)q(ecifying)12 +b Fs(\(:report)0 1254 y Fv(fn)p Fs(\))j Fw(to)g Fs(define-condition)d +Fw(when)k(de\014ning)f(condition)g(t)o(yp)q(e)g Fv(C)g +Fw(is)g(equiv)n(alen)o(t)g(to)g(a)0 1306 y(separate)g(metho)q(d)e +(de\014nition:)0 1397 y Fs(\(defmethod)19 b(print-object)g(\(\(x)h +Fv(C)p Fs(\))h(stream\))42 1448 y(\(if)g(*print-escape*)127 +1500 y(\(call-next-method\))127 1552 y(\(funcall)f(#)323 +1548 y(-)323 1556 y(-)m Fn(')366 1552 y Fv(fn)h Fs(x)g(stream\)\)\))0 +1642 y Fw(Note)g(that)g(the)h(metho)q(d)e(uses)i Fv(fn)f +Fw(to)g(prin)o(t)g(the)g(condition)g(only)f(when)h Fs(*print-)0 +1694 y(escape*)12 b Fw(has)i(the)h(v)n(alue)e Fs(nil)p +Fw(.)0 1867 y Fo(29.4.)20 b(Program)14 b(In)n(terface)h(to)g(the)f +(Condition)h(System)0 1960 y Fw(This)e(section)i(describ)q(es)g +(functions,)e(macros,)g(v)n(ariables,)f(and)h(condition)g(t)o(yp)q(es)i +(asso-)0 2012 y(ciated)f(with)g(the)g(Common)d(Lisp)j(Condition)e +(System.)0 2184 y Fo(29.4.1.)20 b(Signaling)14 b(Conditions)0 +2277 y Fw(The)h(functions)f(in)g(this)g(section)h(pro)o(vide)f(v)n +(arious)f(mec)o(hanisms)g(for)h(signaling)e(w)o(arn-)0 +2329 y(ings,)h(breaks,)h(con)o(tin)o(uable)g(errors,)g(and)g(fatal)f +(errors.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 962 986 +962 985 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(962)77 b(COMMON)13 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(error)20 b Fv(datum)25 b Fs(&rest)20 b Fv(ar)n(guments)0 +372 y Fw([This)13 b(sup)q(ersedes)k(the)e(description)f(of)f +Fs(error)g Fw(giv)o(en)h(in)f(section)i(24.1.|GLS])42 +424 y(In)o(v)o(ok)o(es)20 b(the)i(signal)d(facilit)o(y)h(on)g(a)h +(condition.)38 b(If)20 b(the)i(condition)e(is)g(not)h(han-)0 +476 y(dled,)13 b Fs(\(invoke-debugger)18 b Fv(c)n(ondition)p +Fs(\))c Fw(is)f(executed.)20 b(As)13 b(a)h(consequence)h(of)e(calling)0 +528 y Fs(invoke-debugger)p Fw(,)j Fs(error)i Fw(nev)o(er)i(directly)f +(returns)h(to)f(its)g(caller;)h(the)g(only)e(exit)0 580 +y(from)c(this)i(function)f(can)h(come)f(b)o(y)g(non-lo)q(cal)g +(transfer)i(of)e(con)o(trol)g(in)g(a)h(handler)g(or)0 +632 y(b)o(y)e(use)g(of)g(an)f(in)o(teractiv)o(e)i(debugging)e(command.) +42 684 y(If)i Fv(datum)h Fw(is)g(a)f(condition,)h(then)g(that)g +(condition)f(is)h(used)h(directly)m(.)23 b(In)16 b(this)g(case,)0 +736 y(it)f(is)g(an)g(error)h(for)f(the)g(list)g(of)g +Fv(ar)n(guments)g Fw(to)g(b)q(e)h(non-empt)o(y;)e(that)h(is,)g +Fs(error)f Fw(m)o(ust)0 788 y(ha)o(v)o(e)g(b)q(een)h(called)e(with)h +(exactly)g(one)g(argumen)o(t,)e(the)j(condition.)42 841 +y(If)c Fv(datum)h Fw(is)f(a)h(condition)f(t)o(yp)q(e)h(\(a)g(class)g +(or)f(class)i(name\),)d(then)j(the)f(condition)f(used)0 +892 y(is)j(e\013ectiv)o(ely)g(the)h(result)g(of)e Fs(\(apply)20 +b(#)622 888 y(-)622 896 y(-)m Fn(')665 892 y Fs(make-condition)e +Fv(datum)k(ar)n(guments)p Fs(\))p Fw(.)42 945 y(If)13 +b Fv(datum)h Fw(is)g(a)g(string,)f(then)i(the)f(condition)f(used)i(is)f +(e\013ectiv)o(ely)h(the)f(result)h(of)0 1035 y Fs(\(make-condition)346 +1039 y Fn(')369 1035 y Fs(simple-error)339 1087 y(:format-string)j +Fv(datum)339 1139 y Fs(:format-argument)o(s)g Fv(ar)n(guments)p +Fs(\))1209 1291 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(cerror)20 b Fv(c)n(ontinue)p Fs(-)p Fv(format)p +Fs(-)p Fv(string)k(datum)h Fs(&rest)20 b Fv(ar)n(guments)0 +1368 y Fw([This)13 b(sup)q(ersedes)k(the)e(description)f(of)f +Fs(cerror)g Fw(giv)o(en)g(in)h(section)h(24.1.|GLS])42 +1421 y(The)h(function)f Fs(cerror)g Fw(in)o(v)o(ok)o(es)g(the)h(error)h +(facilit)o(y)d(on)i(a)f(condition.)23 b(If)15 b(the)i(con-)0 +1473 y(dition)c(is)i(not)f(handled,)g Fs(\(invoke-debugger)k +Fv(c)n(ondition)p Fs(\))d Fw(is)f(executed.)22 b(While)13 +b(sig-)0 1524 y(naling)i(is)h(going)f(on,)h(and)g(while)g(con)o(trol)g +(is)g(in)g(the)h(debugger)g(\(if)e(it)h(is)g(reac)o(hed\),)i(it)0 +1576 y(is)13 b(p)q(ossible)h(to)g(con)o(tin)o(ue)g(program)e(execution) +i(\(thereb)o(y)h(returning)f(from)e(the)i(call)f(to)0 +1628 y Fs(cerror)p Fw(\))g(using)g(the)i Fs(continue)d +Fw(restart.)42 1681 y(If)e Fv(datum)h Fw(is)f(a)h(condition,)f(then)h +(that)g(condition)f(is)h(used)g(directly)m(.)17 b(In)11 +b(this)f(case,)i(the)0 1733 y(list)g(of)h Fv(ar)n(guments)g +Fw(need)h(not)e(b)q(e)i(empt)o(y)m(,)d(but)i(will)f(b)q(e)h(used)h +(only)e(with)h(the)g Fv(c)n(ontinue-)0 1784 y(format-string)g +Fw(and)g(will)g(not)g(b)q(e)i(used)g(to)e(initialize)g +Fv(datum)p Fw(.)42 1837 y(If)e Fv(datum)h Fw(is)f(a)h(condition)f(t)o +(yp)q(e)h(\(a)g(class)g(or)f(class)i(name\),)d(then)j(the)f(condition)f +(used)0 1889 y(is)j(e\013ectiv)o(ely)g(the)h(result)g(of)e +Fs(\(apply)20 b(#)622 1885 y(-)622 1893 y(-)m Fn(')665 +1889 y Fs(make-condition)e Fv(datum)k(ar)n(guments)p +Fs(\))p Fw(.)42 1941 y(If)13 b Fv(datum)h Fw(is)g(a)g(string,)f(then)i +(the)f(condition)f(used)i(is)f(e\013ectiv)o(ely)h(the)f(result)h(of)0 +2031 y Fs(\(make-condition)346 2035 y Fn(')369 2031 y +Fs(simple-error)339 2083 y(:format-string)j Fv(datum)339 +2135 y Fs(:format-argument)o(s)g Fv(ar)n(guments)p Fs(\))42 +2225 y Fw(The)e Fv(c)n(ontinue-format-string)f Fw(m)o(ust)g(b)q(e)i(a)e +(string.)25 b(Note)16 b(that)g(if)f Fv(datum)h Fw(is)g(not)g(a)0 +2277 y(string,)11 b(then)h(the)g(format)d(argumen)o(ts)h(used)i(b)o(y)f +(the)h Fv(c)n(ontinue-format-string)e Fw(will)g(still)0 +2329 y(b)q(e)16 b(the)g(list)e(of)h Fv(ar)n(guments)g +Fw(\(whic)o(h)g(is)g(in)g(k)o(eyw)o(ord)g(format)f(if)g +Fv(datum)h Fw(is)h(a)e(condition)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 963 987 +963 986 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(963)0 295 y Fw(t)o(yp)q(e\).)18 b(In)11 b(this)g(case,)h(some)e(care) +i(ma)o(y)d(b)q(e)i(necessary)i(to)e(set)h(up)f(the)h +Fv(c)n(ontinue-format-)0 347 y(string)e Fw(correctly)m(.)17 +b(The)11 b Fs(format)e Fw(directiv)o(e)682 351 y Fn(~)706 +347 y Fs(*)p Fw(,)h(whic)o(h)g(ignores)g(and)g(skips)h(o)o(v)o(er)f +Fs(format)0 399 y Fw(argumen)o(ts,)j(ma)o(y)f(b)q(e)i(particularly)f +(useful)h(in)g(this)g(situation.)42 451 y(The)g(v)n(alue)f(returned)j +(b)o(y)d Fs(cerror)g Fw(is)h Fs(nil)p Fw(.)1209 599 y([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(signal)20 b Fv(datum)25 +b Fs(&rest)20 b Fv(ar)n(guments)0 677 y Fw(In)o(v)o(ok)o(es)e(the)i +(signal)d(facilit)o(y)g(on)h(a)g(condition.)31 b(If)19 +b(the)g(condition)e(is)i(not)f(handled,)0 729 y Fs(signal)13 +b Fw(returns)i Fs(nil)p Fw(.)42 781 y(If)g Fv(datum)h +Fw(is)g(a)f(condition,)h(then)g(that)g(condition)f(is)h(used)h +(directly)m(.)23 b(In)16 b(this)g(case,)0 833 y(it)f(is)g(an)g(error)h +(for)f(the)g(list)g(of)g Fv(ar)n(guments)g Fw(to)g(b)q(e)h(non-empt)o +(y;)e(that)h(is,)g Fs(error)f Fw(m)o(ust)0 885 y(ha)o(v)o(e)g(b)q(een)h +(called)e(with)h(exactly)g(one)g(argumen)o(t,)e(the)j(condition.)42 +937 y(If)c Fv(datum)h Fw(is)f(a)h(condition)f(t)o(yp)q(e)h(\(a)g(class) +g(or)f(class)i(name\),)d(then)j(the)f(condition)f(used)0 +989 y(is)j(e\013ectiv)o(ely)g(the)h(result)g(of)e Fs(\(apply)20 +b(#)622 985 y(-)622 993 y(-)m Fn(')665 989 y Fs(make-condition)e +Fv(datum)k(ar)n(guments)p Fs(\))p Fw(.)42 1041 y(If)13 +b Fv(datum)h Fw(is)g(a)g(string,)f(then)i(the)f(condition)f(used)i(is)f +(e\013ectiv)o(ely)h(the)f(result)h(of)0 1131 y Fs(\(make-condition)346 +1135 y Fn(')369 1131 y Fs(simple-error)339 1183 y(:format-string)j +Fv(datum)339 1235 y Fs(:format-argument)o(s)g Fv(ar)n(guments)p +Fs(\))42 1324 y Fw(Note)13 b(that)g(if)g Fs(\(typep)20 +b Fv(c)n(ondition)i Fs(*break-on-signa)o(ls*\))10 b Fw(is)j(true,)h +(then)g(the)f(de-)0 1376 y(bugger)23 b(will)e(b)q(e)i(en)o(tered)h +(prior)e(to)g(b)q(eginning)g(the)h(pro)q(cess)h(of)e(signaling.)41 +b(The)0 1427 y Fs(continue)16 b Fw(restart)i(function)g(ma)o(y)d(b)q(e) +j(used)g(to)g(con)o(tin)o(ue)f(with)g(the)h(signaling)e(pro-)0 +1479 y(cess;)e(the)e(restart)h(is)f(asso)q(ciated)h(with)e(the)i +(signaled)e(condition)g(as)h(if)f(b)o(y)h(use)h(of)e +Fs(with-)0 1531 y(condition-restart)o(s)p Fw(.)j(This)c(is)f(true)i +(also)e(for)h(all)f(other)h(functions)g(and)g(macros)f(that)0 +1583 y(signal)k(conditions,)g(suc)o(h)i(as)f Fs(warn)p +Fw(,)e Fs(error)p Fw(,)g Fs(cerror)p Fw(,)h Fs(assert)p +Fw(,)f(and)h Fs(check-type)p Fw(.)42 1636 y(During)f(the)i(dynamic)e +(exten)o(t)i(of)f(a)g(call)f(to)i Fs(signal)e Fw(with)h(a)g(particular) +g(condition,)0 1687 y(the)j(e\013ect)h(of)e(calling)e +Fs(signal)h Fw(again)h(on)g(that)g(condition)g(ob)r(ject)h(for)f(a)g +(distinct)g(ab-)0 1739 y(stract)i(ev)o(en)o(t)f(is)f(not)h(de\014ned.) +24 b(F)m(or)15 b(example,)f(although)h(a)g(handler)h +Fv(may)g Fw(resignal)f(a)0 1791 y(condition)c(in)g(order)i(to)e(allo)o +(w)f(outer)j(handlers)f(\014rst)g(shot)g(at)g(handling)f(the)h +(condition,)0 1843 y(t)o(w)o(o)h(distinct)i(async)o(hronous)f(k)o(eyb)q +(oard)g(ev)o(en)o(ts)h(m)o(ust)e(not)h(signal)f(an)g(the)i(same)e(\()p +Fs(eq)p Fw(\))0 1895 y(condition)g(ob)r(ject)i(at)f(the)g(same)f(time.) +42 1947 y(F)m(or)g(further)h(details)f(ab)q(out)h(signaling)e(and)h +(handling,)f(see)j(the)f(discussion)g(of)f(con-)0 1999 +y(dition)g(handlers)h(in)g(section)g(29.3.17.)1219 2148 +y([)p Fv(V)m(ariable)s Fw(])-1396 b Fs(*break-on-signals)o(*)0 +2225 y Fw(This)17 b(v)n(ariable)e(is)i(in)o(tended)g(primarily)d(for)j +(use)h(when)f(the)g(user)h(is)f(debugging)f(pro-)0 2277 +y(grams)8 b(that)i(do)f(signaling.)15 b(The)10 b(v)n(alue)f(of)g +Fs(*break-on-signals*)d Fw(should)k(b)q(e)g(suitable)0 +2329 y(as)k(a)g(second)h(argumen)o(t)d(to)i Fs(typep)p +Fw(,)e(that)i(is,)g(a)f(t)o(yp)q(e)i(or)e(t)o(yp)q(e)i(sp)q(eci\014er.) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 964 988 +964 987 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(964)77 b(COMMON)13 +b(LISP)42 295 y Fw(When)30 b Fs(\(typep)19 b Fv(c)n(ondition)j +Fs(*break-on-signals*)o(\))27 b Fw(is)j(true,)k(then)c(calls)g(to)0 +347 y Fs(signal)21 b Fw(\(and)i(to)f(other)i(adv)o(ertised)f(functions) +g(suc)o(h)g(as)g Fs(error)e Fw(that)i(implicitly)0 399 +y(call)16 b Fs(signal)p Fw(\))g(will)g(en)o(ter)i(the)g(debugger)g +(prior)f(to)g(signaling)e(that)i Fv(c)n(ondition)p Fw(.)28 +b(The)0 450 y Fs(continue)11 b Fw(restart)k(ma)o(y)c(b)q(e)j(used)g(to) +f(con)o(tin)o(ue)g(with)g(the)h(normal)d(signaling)g(pro)q(cess;)0 +502 y(the)20 b(restart)g(is)f(asso)q(ciated)h(with)f(the)g(signaled)g +(condition)f(as)h(if)g(b)o(y)f(use)i(of)f Fs(with-)0 +554 y(condition-restart)o(s)p Fw(.)42 606 y(Note)12 b(that)g +Fs(nil)f Fw(is)h(a)f(v)n(alid)g(t)o(yp)q(e)h(sp)q(eci\014er.)19 +b(If)12 b(the)g(v)n(alue)f(of)g Fs(*break-on-signals*)0 +658 y Fw(is)j Fs(nil)p Fw(,)e(then)j Fs(signal)e Fw(will)f(nev)o(er)j +(en)o(ter)g(the)f(debugger)h(in)f(this)f(implicit)f(manner.)42 +710 y(When)k(setting)g(this)g(v)n(ariable,)f(the)i(user)g(is)e +(encouraged)i(to)f(c)o(ho)q(ose)h(the)f(most)f(re-)0 +762 y(strictiv)o(e)k(sp)q(eci\014cation)g(that)f(su\016ces.)32 +b(Setting)18 b(this)g(\015ag)g(e\013ectiv)o(ely)h(violates)e(the)0 +814 y(mo)q(dular)c(handling)h(of)g(condition)h(signaling)e(that)i(this) +g(c)o(hapter)h(seeks)h(to)e(establish.)0 866 y(Its)i(complete)f +(e\013ect)j(ma)o(y)c(b)q(e)i(unpredictable)h(in)e(some)g(cases,)j +(since)e(the)h(user)g(ma)o(y)0 917 y(not)g(b)q(e)h(a)o(w)o(are)f(of)g +(the)g(v)n(ariet)o(y)g(or)g(n)o(um)o(b)q(er)g(of)f(calls)h(to)g +Fs(signal)f Fw(that)h(are)h(used)g(in)0 969 y(programs)13 +b(called)g(only)g(inciden)o(tally)m(.)42 1021 y(By)h(default|and)f +(certainly)h(in)f(an)o(y)h(\\pro)q(duction")f(use|the)i(v)n(alue)e(of)h +(this)g(v)n(ari-)0 1073 y(able)g(should)g(b)q(e)h Fs(nil)p +Fw(,)e(b)q(oth)i(for)e(reasons)j(of)d(p)q(erformance)h(and)h(for)e +(reasons)j(of)d(mo)q(d-)0 1125 y(ularit)o(y)g(and)h(abstraction.)42 +1177 y(X3J13)c(v)o(oted)i(in)e(Marc)o(h)i(1989)e Ft(h)p +Fw(10)p Ft(i)h Fw(to)g(remo)o(v)o(e)f Fs(*break-on-warnings*)e +Fw(from)h(the)-33 1148 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1229 a(language;)i Fs(*break-on-signal)o(s*)d +Fw(o\013ers)13 b(all)d(the)h(p)q(o)o(w)o(er)h(of)f Fs(*break-on-warnin) +o(gs*)0 1281 y Fw(and)j(more.)-33 1292 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1340 V 0 1401 a Fm(Compatibilit)o(y)20 +b(note:)33 b FA(This)21 b(v)n(ariable)h(is)f(similar)i(to)d(the)h +(Zetalisp)i(v)n(ariable)f Fj(trace-)0 1446 y(conditions)14 +b FA(except)k(for)g(the)g(ob)o(vious)h(di\013erence)h(that)e +Fj(zl:trace-c)o(on)o(dit)o(ion)o(s)c FA(tak)o(es)19 b(a)0 +1492 y(t)o(yp)q(e)13 b(or)g(list)i(of)d(t)o(yp)q(es)i(while)g +Fj(*break-on-)o(sig)o(na)o(ls*)9 b FA(tak)o(es)k(a)g(single)i(t)o(yp)q +(e)f(sp)q(eci\014er.)42 1538 y([There)d(is)i(no)f(loss)h(of)f +(generalit)o(y)i(in)f(Common)g(Lisp)g(b)q(ecause)g(the)f +Fj(or)f FA(t)o(yp)q(e)i(sp)q(eci\014er)g(ma)o(y)0 1583 +y(b)q(e)e(used)h(to)f(indicate)i(that)e(an)o(y)h(of)e(a)h(set)g(of)g +(conditions)j(should)f(en)o(ter)e(the)g(debugger.|GLS])p +0 1618 V 0 1737 a Fo(29.4.2.)20 b(Assertions)0 1820 y +Fw(These)14 b(facilities)f(are)g(designed)h(to)f(mak)o(e)f(it)g(con)o +(v)o(enien)o(t)i(for)f(the)h(user)g(to)f(insert)h(error)0 +1872 y(c)o(hec)o(ks)h(in)o(to)e(co)q(de.)-33 1964 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 1993 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(check-type)33 b Fv(plac)n(e)15 b(typ)n(esp)n(e)n(c)22 +b Fw([)p Fv(string)p Fw(])0 2069 y([This)13 b(sup)q(ersedes)k(the)e +(description)f(of)f Fs(check-type)f Fw(giv)o(en)i(in)f(section)i +(24.2.|GLS])42 2121 y(A)f Fs(check-type)e Fw(form)h(signals)g(an)h +(error)i(of)d(t)o(yp)q(e)i Fs(type-error)d Fw(if)i(the)h(con)o(ten)o +(ts)g(of)0 2173 y Fv(plac)n(e)f Fw(are)g(not)g(of)f(the)i(desired)g(t)o +(yp)q(e.)42 2225 y(If)g(a)g(condition)g(is)g(signaled,)g(handlers)i(of) +e(this)g(condition)g(can)h(use)g(the)h(functions)0 2277 +y Fs(type-error-datum)d Fw(and)j Fs(type-error-expec)o(ted-t)o(ype)d +Fw(to)j(access)i(the)f(con)o(ten)o(ts)0 2329 y(of)13 +b Fv(plac)n(e)h Fw(and)g(the)g Fv(typ)n(esp)n(e)n(c)p +Fw(,)g(resp)q(ectiv)o(ely)m(.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 965 989 +965 988 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(965)42 295 y Fw(This)13 b(function)g(can)h(return)h(only)d(if)h(the)h +Fs(store-value)d Fw(restart)k(is)f(in)o(v)o(ok)o(ed,)e(either)0 +347 y(explicitly)17 b(from)f(a)i(handler)g(or)g(implicitly)d(as)j(one)g +(of)g(the)g(options)g(o\013ered)h(b)o(y)f(the)0 399 y(debugger.)g(The) +13 b(restart)h(is)e(asso)q(ciated)i(with)e(the)h(signaled)f(condition)g +(as)g(if)g(b)o(y)g(use)h(of)0 450 y Fs(with-condition-re)o(start)o(s)p +Fw(.)42 502 y(If)i Fs(store-value)e Fw(is)j(called,)f +Fs(check-type)f Fw(will)g(store)i(the)h(new)f(v)n(alue)f(that)h(is)f +(the)0 554 y(argumen)o(t)10 b(to)g Fs(store-value)e Fw(\(or)j(that)g +(is)f(prompted)g(for)g(in)o(teractiv)o(ely)h(b)o(y)f(the)i(debug-)0 +606 y(ger\))i(in)f Fv(plac)n(e)g Fw(and)h(start)g(o)o(v)o(er,)f(c)o +(hec)o(king)h(the)g(t)o(yp)q(e)g(of)e(the)i(new)g(v)n(alue)f(and)g +(signaling)0 658 y(another)19 b(error)h(if)d(it)i(is)f(still)g(not)g +(the)i(desired)f(t)o(yp)q(e.)33 b(Subforms)18 b(of)g +Fv(plac)n(e)g Fw(ma)o(y)f(b)q(e)0 710 y(ev)n(aluated)c(m)o(ultiple)e +(times)i(b)q(ecause)i(of)e(the)h(implicit)d(lo)q(op)i(generated.)19 +b Fs(check-type)0 762 y Fw(returns)c Fs(nil)p Fw(.)42 +814 y(The)d Fv(plac)n(e)h Fw(m)o(ust)e(b)q(e)i(a)f(generalized)h(v)n +(ariable)e(reference)k(acceptable)e(to)g Fs(setf)p Fw(.)j(The)0 +866 y Fv(typ)n(esp)n(e)n(c)f Fw(m)o(ust)f(b)q(e)h(a)g(t)o(yp)q(e)g(sp)q +(eci\014er;)i(it)d(is)h(not)f(ev)n(aluated.)21 b(The)15 +b Fs(string)f Fw(should)g(b)q(e)0 917 y(an)g(English)g(description)h +(of)f(the)h(t)o(yp)q(e,)g(starting)f(with)g(an)h(inde\014nite)f +(article)h(\(\\a")f(or)0 969 y(\\an"\);)h(it)g(is)g(ev)n(aluated.)21 +b(If)15 b(the)h Fv(string)f Fw(is)g(not)g(supplied,)g(it)g(is)g +(computed)g(automat-)0 1021 y(ically)h(from)g(the)j Fv(typ)n(esp)n(e)n +(c)p Fw(.)30 b(\(The)18 b(optional)e Fv(string)h Fw(argumen)o(t)g(is)h +(allo)o(w)o(ed)e(b)q(ecause)0 1073 y(some)f(applications)g(of)h +Fs(check-type)e Fw(ma)o(y)g(require)j(a)f(more)f(sp)q(eci\014c)j +(description)e(of)0 1125 y(what)d(is)f(w)o(an)o(ted)h(than)g(can)g(b)q +(e)h(generated)g(automatically)9 b(from)j(the)h(t)o(yp)q(e)g(sp)q +(eci\014er.\))42 1177 y(The)e(error)g(message)g(will)e(men)o(tion)g +(the)j Fv(plac)n(e)p Fw(,)f(its)g(con)o(ten)o(ts,)h(and)e(the)i +(desired)g(t)o(yp)q(e.)p 0 1237 V 0 1297 a Fm(Implemen)o(tation)j +(note:)21 b FA(An)15 b(implemen)o(tation)j(ma)o(y)d(c)o(ho)q(ose)h(to)f +(generate)g(a)g(somewhat)0 1342 y(di\013eren)o(tly)i(w)o(orded)f(error) +e(message)i(if)f(it)g(recognizes)i(that)d Fq(plac)n(e)f +FA(is)j(of)e(a)h(particular)i(form,)0 1388 y(suc)o(h)d(as)f(one)g(of)g +(the)g(argumen)o(ts)h(to)f(the)g(function)h(that)g(called)g +Fj(check-type)p FA(.)p 0 1422 V 0 1499 a Fs(Lisp>)20 +b(\(setq)g(aardvarks)475 1503 y Fn(')499 1499 y Fs(\(sam)g(harry)g +(fred\)\))21 1550 y Ft(\))h Fs(\(SAM)f(HARRY)g(FRED\))0 +1602 y(Lisp>)g(\(check-type)f(aardvarks)g(\(array)h(*)h(\(3\)\)\))0 +1654 y(Error:)f(The)g(value)h(of)f(AARDVARKS,)f(\(SAM)i(HARRY)f +(FRED\),)148 1706 y(is)h(not)g(a)f(3-long)g(array.)0 +1758 y(To)h(continue,)e(type)h(:CONTINUE)g(followed)f(by)i(an)g(option) +f(number:)21 1810 y(1:)h(Specify)f(a)h(value)f(to)h(use)f(instead.)21 +1862 y(2:)h(Return)f(to)h(Lisp)f(Toplevel.)0 1914 y(Debug>)g(:continue) +f(1)0 1966 y(Use)i(Value:)e(#)238 1962 y(-)238 1970 y(-)260 +1966 y(\(sam)i(fred)f(harry\))21 2017 y Ft(\))h Fs(NIL)0 +2069 y(Lisp>)f(aardvarks)21 2121 y Ft(\))h Fs(#)84 2117 +y(-)84 2125 y(-)106 2121 y()0 2173 y(Lisp>)h(\(map)236 +2177 y Fn(')260 2173 y Fs(list)g(#)368 2169 y(-)368 2177 +y(-)n Fn(')411 2173 y Fs(identity)f(aardvarks\))21 2225 +y Ft(\))i Fs(\(SAM)f(FRED)h(HARRY\))0 2277 y(Lisp>)f(\(setq)g(aacount) +432 2281 y Fn(')455 2277 y Fs(foo\))21 2329 y Ft(\))h +Fs(FOO)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 966 990 +966 989 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(966)77 b(COMMON)13 +b(LISP)0 295 y Fs(Lisp>)20 b(\(check-type)f(aacount)h(\(integer)f(0)i +(*\))g("a)g(non-negative)d(integer"\))0 347 y(Error:)i(The)g(value)h +(of)f(AACOUNT,)g(FOO,)g(is)h(not)g(a)g(non-negative)d(integer.)0 +399 y(To)j(continue,)e(type)h(:CONTINUE)g(followed)f(by)i(an)g(option)f +(number:)21 450 y(1:)h(Specify)f(a)h(value)f(to)h(use)f(instead.)21 +502 y(2:)h(Return)f(to)h(Lisp)f(Toplevel.)0 554 y(Debug>)g(:continue)f +(2)0 606 y(Lisp>)p 0 666 V 0 727 a Fm(Compatibilit)o(y)10 +b(note:)17 b FA(In)11 b(Zetalisp,)j(the)e(equiv)n(alen)o(t)i(facilit)o +(y)f(is)f(called)i Fj(check-ar)o(g-t)o(yp)o(e)p FA(.)p +0 771 V -33 892 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 920 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(assert)34 b Fv(test-form)20 b Fw([)p Fs(\()7 b Ft(f)p +Fv(plac)n(e)p Ft(g)523 905 y Fl(\003)548 920 y Fs(\))22 +b Fw([)p Fv(datum)g Ft(f)p Fv(ar)n(gument)p Ft(g)948 +905 y Fl(\003)973 920 y Fw(])7 b(])0 998 y([This)13 b(sup)q(ersedes)k +(the)e(description)f(of)f Fs(assert)g Fw(giv)o(en)g(in)h(section)h +(24.2.|GLS])42 1050 y(An)f Fs(assert)f Fw(form)g(signals)h(an)h(error)g +(if)f(the)h(v)n(alue)f(of)g(the)h Fv(test-form)e Fw(is)i +Fs(nil)p Fw(.)k(Con-)0 1102 y(tin)o(uing)12 b(from)g(this)h(error)h +(using)f(the)g Fs(continue)f Fw(restart)i(will)e(allo)o(w)g(the)h(user) +i(to)e(alter)0 1154 y(the)i(v)n(alues)g(of)f(some)f(v)n(ariables,)h +(and)g Fs(assert)g Fw(will)f(then)i(start)h(o)o(v)o(er,)e(ev)n +(aluating)f(the)0 1206 y Fv(test-form)i Fw(again.)25 +b(\(The)16 b(restart)i(is)e(asso)q(ciated)i(with)e(the)h(signaled)e +(condition)h(as)h(if)0 1258 y(b)o(y)d(use)g(of)g Fs(with-condition-r)o +(estar)o(ts)p Fw(.)o(\))i Fs(assert)d Fw(returns)i Fs(nil)p +Fw(.)42 1311 y(The)g Fv(test-form)e Fw(ma)o(y)g(b)q(e)j(an)o(y)e(form.) +19 b(Eac)o(h)c Fv(plac)n(e)g Fw(\(there)h(ma)o(y)d(b)q(e)i(an)o(y)f(n)o +(um)o(b)q(er)g(of)0 1362 y(them,)h(or)g(none\))i(m)o(ust)d(b)q(e)i(a)g +(generalized)g(v)n(ariable)f(reference)j(acceptable)f(to)e +Fs(setf)p Fw(.)0 1414 y(These)22 b(should)e(b)q(e)h(v)n(ariables)e(on)h +(whic)o(h)g Fv(test-form)g Fw(dep)q(ends,)j(whose)e(v)n(alues)f(ma)o(y) +0 1466 y(sensibly)10 b(b)q(e)g(c)o(hanged)g(b)o(y)f(the)h(user)h(in)e +(attempting)f(to)h(correct)i(the)g(error.)17 b(Subforms)8 +b(of)0 1518 y(eac)o(h)j Fv(plac)n(e)g Fw(are)g(ev)n(aluated)g(only)f +(if)g(an)g(error)i(is)e(signaled,)h(and)f(ma)o(y)f(b)q(e)j(re-ev)n +(aluated)f(if)0 1570 y(the)i(error)g(is)e(re-signaled)h(\(after)h(con)o +(tin)o(uing)e(without)g(actually)h(\014xing)f(the)h(problem\).)42 +1623 y(The)j Fv(datum)g Fw(and)f Fv(ar)n(gument)t Fw(s)h(are)g(ev)n +(aluated)f(only)g(if)g(an)g(error)i(is)e(to)h(b)q(e)g(signaled,)0 +1675 y(and)f(re-ev)n(aluated)g(if)f(the)h(error)h(is)f(to)g(b)q(e)g +(signaled)g(again.)42 1727 y(If)e Fv(datum)i Fw(is)e(a)h(condition,)f +(then)i(that)f(condition)f(is)h(used)h(directly)m(.)j(In)c(this)g +(case,)h(it)0 1779 y(is)g(an)f(error)i(to)f(sp)q(ecify)g(an)o(y)g +Fv(ar)n(gument)t Fw(s.)42 1832 y(If)22 b Fv(datum)i Fw(is)f(a)g +(condition)f(t)o(yp)q(e)i(\(a)f(class)g(or)g(class)h(name\),)g(then)f +(the)h(condi-)0 1884 y(tion)11 b(used)h(is)f(e\013ectiv)o(ely)h(the)g +(result)f(of)g Fs(\(apply)20 b(#)783 1880 y(-)783 1888 +y(-)n Fn(')826 1884 y Fs(make-condition)e Fv(datum)k +Fs(\(list)0 1935 y Ft(f)p Fv(ar)n(gument)t Ft(g)214 1920 +y Fl(\003)240 1935 y Fs(\)\))p Fw(.)42 1988 y(If)13 b +Fv(datum)h Fw(is)g(a)g(string,)f(then)i(the)f(condition)f(used)i(is)f +(e\013ectiv)o(ely)h(the)f(result)h(of)0 2081 y Fs(\(make-condition)346 +2085 y Fn(')369 2081 y Fs(simple-error)339 2133 y(:format-string)j +Fv(datum)339 2185 y Fs(:format-argument)o(s)g(\(list)27 +b Ft(f)p Fv(ar)n(gument)t Ft(g)1081 2170 y Fl(\003)1107 +2185 y Fs(\)\))42 2277 y Fw(If)13 b Fv(datum)h Fw(is)g(omitted,)e(then) +i(a)f(condition)g(of)h(t)o(yp)q(e)g Fs(simple-error)d +Fw(is)j(constructed)0 2329 y(using)g(the)g Fv(test-form)f +Fw(as)h(data.)k(F)m(or)13 b(example,)f(the)j(follo)o(wing)c(migh)o(t)h +(b)q(e)i(used:)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 967 991 +967 990 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(967)0 295 y Fs(\(make-condition)346 299 y Fn(')369 +295 y Fs(simple-error)42 347 y(:format-string)19 b("The)h(assertion)692 +351 y Fn(~)715 347 y Fs(S)h(failed.")42 399 y(:format-arguments)432 +403 y Fn(')455 399 y Fs(\()p Fv(test-form)p Fs(\)\))0 +488 y Fw(Note)16 b(that)f(the)i Fv(test-form)d Fw(itself,)h(and)g(not)h +(its)f(v)n(alue,)g(is)g(used)i(as)e(the)h(format)e(argu-)0 +540 y(men)o(t.)p 0 600 V 0 660 a Fm(Implemen)o(tation)f(note:)18 +b FA(The)c(debugger)g(need)g(not)g(include)i(the)d Fq(test-form)f +FA(in)i(the)f(error)0 706 y(message,)g(and)g(an)o(y)h +Fq(plac)n(es)c FA(should)k(not)f(b)q(e)g(included)i(in)f(the)f +(message,)g(but)g(they)g(should)h(b)q(e)0 752 y(made)f(a)o(v)n(ailable) +i(for)c(the)i(user's)f(p)q(erusal.)18 b(If)12 b(the)g(user)h(giv)o(es)g +(the)f(\\con)o(tin)o(ue")i(command,)f(an)0 797 y(opp)q(ortunit)o(y)k +(should)f(b)q(e)e(presen)o(ted)i(to)e(alter)h(the)f(v)n(alues)i(of)e +(an)o(y)h(or)f(all)i(of)e(the)g(references.)0 843 y(The)e(details)h(of) +e(this)i(dep)q(end)g(on)f(the)f(implemen)o(tation)q('s)j(st)o(yle)e(of) +g(user)g(in)o(terface,)g(of)f(course.)p 0 883 V 42 978 +a Fw(Here)k(is)e(an)h(example)f(of)g(the)h(use)h(of)e +Fs(assert)p Fw(:)0 1068 y Fs(\(setq)20 b(x)h(\(make-array)432 +1072 y Fn(')455 1068 y Fs(\(3)g(5\))g(:initial-element)d(3\)\))0 +1120 y(\(setq)i(y)h(\(make-array)432 1124 y Fn(')455 +1120 y Fs(\(3)g(5\))g(:initial-element)d(7\)\))0 1224 +y(\(defun)i(matrix-multiply)e(\(a)j(b\))42 1275 y(\(let)g +(\(\(*print-array*)d(nil\)\))85 1327 y(\(assert)h(\(and)i(\()389 +1323 y(U)389 1331 y(U)432 1327 y(\(array-rank)d(a\))j(\(array-rank)e +(b\))i(2\))360 1379 y(\()382 1375 y(U)382 1383 y(U)425 +1379 y(\(array-dimension)d(a)i(1\))423 1431 y(\(array-dimension)e(b)j +(0\)\)\))254 1483 y(\(a)g(b\))254 1535 y("Cannot)f(multiply)621 +1539 y Fn(~)644 1535 y Fs(S)h(by)750 1539 y Fn(~)773 +1535 y Fs(S.")g(a)g(b\))85 1587 y(\(really-matrix-m)o(ultip)o(ly)d(a)j +(b\)\)\))0 1691 y(\(matrix-multiply)d(x)j(y\))0 1742 +y(Error:)f(Cannot)g(multiply)f(#)499 1738 y(-)499 1746 +y(-)521 1742 y()h(by)h(#)977 1738 +y(-)977 1746 y(-)999 1742 y(.)0 1794 +y(To)i(continue,)e(type)h(:CONTINUE)g(followed)f(by)i(an)g(option)f +(number:)21 1846 y(1:)h(Specify)f(new)g(values.)21 1898 +y(2:)h(Return)f(to)h(Lisp)f(Toplevel.)0 1950 y(Debug>)g(:continue)f(1)0 +2002 y(Value)h(for)h(A:)f(x)0 2054 y(Value)g(for)h(B:)f(\(make-array) +540 2058 y Fn(')564 2054 y Fs(\(5)g(3\))h(:initial-element)d(6\))21 +2106 y Ft(\))p Fs(#)63 2102 y(-)63 2110 y(-)84 2106 y(2A\(\(54)i(54)h +(54)g(54)g(54\))150 2158 y(\(54)f(54)h(54)g(54)g(54\))150 +2209 y(\(54)f(54)h(54)g(54)g(54\))150 2261 y(\(54)f(54)h(54)g(54)g +(54\))150 2313 y(\(54)f(54)h(54)g(54)g(54\)\))-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 968 992 +968 991 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(968)77 b(COMMON)13 +b(LISP)0 295 y Fo(29.4.3.)20 b(Exhaustiv)n(e)14 b(Case)h(Analysis)0 +380 y Fw(The)c(syn)o(tax)g(for)g Fs(etypecase)e Fw(and)h +Fs(ctypecase)f Fw(is)i(the)h(same)e(as)g(for)h Fs(typecase)p +Fw(,)e(except)0 432 y(that)16 b(no)f Fs(otherwise)f Fw(clause)i(is)f(p) +q(ermitted.)23 b(Similarly)l(,)13 b(the)j(syn)o(tax)f(for)g +Fs(ecase)g Fw(and)0 484 y Fs(ccase)e Fw(is)h(the)g(same)f(as)h(for)g +Fs(case)f Fw(except)i(for)e(the)i Fs(otherwise)d Fw(clause.)42 +536 y Fs(etypecase)g Fw(and)i Fs(ecase)f Fw(are)i(similar)d(to)i +Fs(typecase)f Fw(and)h Fs(case)p Fw(,)f(resp)q(ectiv)o(ely)m(,)j(but)0 +588 y(signal)h(a)g(non-con)o(tin)o(uable)g(error)i(rather)g(than)e +(returning)i Fs(nil)e Fw(if)g(no)g(clause)h(is)g(se-)0 +640 y(lected.)42 692 y Fs(ctypecase)11 b Fw(and)j Fs(ccase)e +Fw(are)j(also)e(similar)e(to)i Fs(typecase)f Fw(and)i +Fs(case)p Fw(,)e(resp)q(ectiv)o(ely)m(,)0 744 y(but)i(signal)f(a)h(con) +o(tin)o(uable)f(error)i(if)e(no)g(clause)i(is)f(selected.)-33 +843 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 872 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(etypecase)33 b Fv(keyform)22 b Ft(f)p Fs(\()p Fv(typ)n(e)f +Ft(f)7 b Fv(form)p Ft(g)668 857 y Fl(\003)693 872 y Fs(\))p +Ft(g)736 857 y Fl(\003)0 949 y Fw([This)13 b(sup)q(ersedes)k(the)e +(description)f(of)f Fs(etypecase)f Fw(giv)o(en)i(in)f(section)i +(24.3.|GLS])42 1000 y(This)h(con)o(trol)h(construct)i(is)d(similar)f +(to)i Fs(typecase)p Fw(,)e(but)i(no)g(explicit)g Fs(otherwise)0 +1052 y Fw(or)e Fs(t)f Fw(clause)h(is)g(p)q(ermitted.)20 +b(If)14 b(no)g(clause)h(is)g(satis\014ed,)g Fs(etypecase)d +Fw(signals)i(an)h(error)0 1104 y(\(of)f(t)o(yp)q(e)h +Fs(type-error)p Fw(\))d(with)i(a)g(message)g(constructed)j(from)12 +b(the)j(clauses.)20 b(It)15 b(is)f(not)0 1156 y(p)q(ermissible)f(to)g +(con)o(tin)o(ue)h(from)d(this)j(error.)k(T)m(o)13 b(supply)g(an)h +(error)g(message,)f(the)h(user)0 1208 y(should)j(use)h +Fs(typecase)d Fw(with)i(an)g Fs(otherwise)e Fw(clause)i(con)o(taining)f +(a)h(call)f(to)h Fs(error)p Fw(.)0 1260 y(The)11 b(name)e(of)h(this)g +(function)g(stands)h(for)f(\\exhaustiv)o(e)h(t)o(yp)q(e)f(case")i(or)e +(\\error-c)o(hec)o(king)0 1312 y(t)o(yp)q(e)k(case.")42 +1364 y(Example:)0 1449 y Fs(Lisp>)20 b(\(setq)g(x)h(1/3\))21 +1501 y Ft(\))g Fs(1/3)0 1553 y(Lisp>)f(\(etypecase)f(x)169 +1605 y(\(integer)h(\(*)h(x)g(4\)\))169 1657 y(\(symbol)f +(\(symbol-value)f(x\)\)\))0 1709 y(Error:)h(The)g(value)h(of)f(X,)h +(1/3,)f(is)h(neither)f(an)h(integer)e(nor)i(a)g(symbol.)0 +1760 y(To)g(continue,)e(type)h(:CONTINUE)g(followed)f(by)i(an)g(option) +f(number:)21 1812 y(1:)h(Return)f(to)h(Lisp)f(Toplevel.)0 +1864 y(Debug>)-33 1964 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 1992 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(ctypecase)33 b Fv(keyplac)n(e)22 b Ft(f)p Fs(\()p +Fv(typ)n(e)g Ft(f)7 b Fv(form)p Ft(g)672 1977 y Fl(\003)697 +1992 y Fs(\))p Ft(g)740 1977 y Fl(\003)0 2069 y Fw([This)13 +b(sup)q(ersedes)k(the)e(description)f(of)f Fs(ctypecase)f +Fw(giv)o(en)i(in)f(section)i(24.3.|GLS])42 2121 y(This)c(con)o(trol)h +(construct)i(is)e(similar)e(to)i Fs(typecase)p Fw(,)e(but)i(no)g +(explicit)g Fs(otherwise)e Fw(or)0 2173 y Fs(t)k Fw(clause)g(is)g(p)q +(ermitted.)42 2225 y(The)h Fv(keyplac)n(e)h Fw(m)o(ust)f(b)q(e)h(a)f +(generalized)h(v)n(ariable)e(reference)k(acceptable)f(to)e +Fs(setf)p Fw(.)0 2277 y(If)c(no)g(clause)h(is)g(satis\014ed,)g +Fs(ctypecase)d Fw(signals)i(an)g(error)i(\(of)e(t)o(yp)q(e)h +Fs(type-error)p Fw(\))d(with)0 2329 y(a)16 b(message)f(constructed)j +(from)c(the)i(clauses.)25 b(This)16 b(error)h(ma)o(y)d(b)q(e)i(con)o +(tin)o(ued)g(using)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 969 993 +969 992 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(969)0 295 y Fw(the)13 b Fs(store-value)c Fw(restart.)19 +b(The)12 b(argumen)o(t)f(to)h Fs(store-value)d Fw(is)j(stored)h(in)e +Fv(keyplac)n(e)0 347 y Fw(and)17 b(then)g Fs(ctypecase)e +Fw(starts)j(o)o(v)o(er,)g(making)c(the)k(t)o(yp)q(e)f(tests)i(again.)26 +b(Subforms)15 b(of)0 399 y Fv(keyplac)n(e)21 b Fw(ma)o(y)e(b)q(e)i(ev)n +(aluated)g(m)o(ultiple)e(times.)37 b(If)21 b(the)g Fs(store-value)e +Fw(restart)j(is)0 450 y(in)o(v)o(ok)o(ed)13 b(in)o(teractiv)o(ely)m(,)g +(the)h(user)h(will)e(b)q(e)h(prompted)f(for)h(the)g(v)n(alue)g(to)f(b)q +(e)i(used.)42 503 y(The)f(name)f(of)h(this)h(function)f(is)g(mnemonic)e +(for)i(\\con)o(tin)o(uable)f(\(exhaustiv)o(e\))i(t)o(yp)q(e)0 +555 y(case.")42 607 y(Example:)0 700 y Fs(Lisp>)20 b(\(setq)g(x)h +(1/3\))21 751 y Ft(\))g Fs(1/3)0 803 y(Lisp>)f(\(ctypecase)f(x)169 +855 y(\(integer)h(\(*)h(x)g(4\)\))169 907 y(\(symbol)f(\(symbol-value)f +(x\)\)\))0 959 y(Error:)h(The)g(value)h(of)f(X,)h(1/3,)f(is)h(neither)f +(an)h(integer)e(nor)i(a)g(symbol.)0 1011 y(To)g(continue,)e(type)h +(:CONTINUE)g(followed)f(by)i(an)g(option)f(number:)21 +1063 y(1:)h(Specify)f(a)h(value)f(to)h(use)f(instead.)21 +1115 y(2:)h(Return)f(to)h(Lisp)f(Toplevel.)0 1167 y(Debug>)g(:continue) +f(1)0 1218 y(Use)i(value:)e(3.7)0 1270 y(Error:)h(The)g(value)h(of)f +(X,)h(3.7,)f(is)h(neither)f(an)h(integer)e(nor)i(a)g(symbol.)0 +1322 y(To)g(continue,)e(type)h(:CONTINUE)g(followed)f(by)i(an)g(option) +f(number:)21 1374 y(1:)h(Specify)f(a)h(value)f(to)h(use)f(instead.)21 +1426 y(2:)h(Return)f(to)h(Lisp)f(Toplevel.)0 1478 y(Debug>)g(:continue) +f(1)0 1530 y(Use)i(value:)e(12)21 1582 y Ft(\))i Fs(48)-33 +1714 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 1743 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(ecase)34 b Fv(keyform)21 b Ft(f)p Fs(\()7 b Ft(f)p +Fs(\()g Ft(f)p Fv(key)p Ft(g)509 1728 y Fl(\003)534 1743 +y Fs(\))15 b Ft(j)f Fv(key)p Ft(g)g(f)7 b Fv(form)p Ft(g)825 +1728 y Fl(\003)850 1743 y Fs(\))p Ft(g)893 1728 y Fl(\003)0 +1820 y Fw([This)13 b(sup)q(ersedes)k(the)e(description)f(of)f +Fs(ecase)g Fw(giv)o(en)h(in)f(section)i(24.3.|GLS])42 +1873 y(This)k(con)o(trol)h(construct)i(is)d(similar)f(to)h +Fs(case)p Fw(,)i(but)f(no)f(explicit)h Fs(otherwise)e +Fw(or)0 1925 y Fs(t)h Fw(clause)h(is)g(p)q(ermitted.)34 +b(If)19 b(no)h(clause)g(is)f(satis\014ed,)i Fs(ecase)e +Fw(signals)f(an)i(error)g(\(of)0 1977 y(t)o(yp)q(e)g +Fs(type-error)p Fw(\))d(with)i(a)g(message)g(constructed)i(from)d(the)h +(clauses.)35 b(It)20 b(is)f(not)0 2028 y(p)q(ermissible)13 +b(to)g(con)o(tin)o(ue)h(from)d(this)j(error.)k(T)m(o)13 +b(supply)g(an)h(error)g(message,)f(the)h(user)0 2080 +y(should)i(use)h Fs(case)e Fw(with)h(an)g Fs(otherwise)e +Fw(clause)j(con)o(taining)e(a)h(call)f(to)h Fs(error)p +Fw(.)24 b(The)0 2132 y(name)13 b(of)g(this)h(function)g(stands)g(for)g +(\\exhaustiv)o(e)g(case")g(or)g(\\error-c)o(hec)o(king)h(case.")42 +2185 y(Example:)0 2277 y Fs(Lisp>)20 b(\(setq)g(x)h(1/3\))21 +2329 y Ft(\))g Fs(1/3)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 970 994 +970 993 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(970)77 b(COMMON)13 +b(LISP)0 295 y Fs(Lisp>)20 b(\(ecase)g(x)169 347 y(\(alpha)g(\(foo\)\)) +169 399 y(\(omega)g(\(bar\)\))169 450 y(\(\(zeta)g(phi\))h(\(baz\)\)\)) +0 502 y(Error:)f(The)g(value)h(of)f(X,)h(1/3,)f(is)h(not)g(ALPHA,)f +(OMEGA,)g(ZETA,)g(or)h(PHI.)0 554 y(To)g(continue,)e(type)h(:CONTINUE)g +(followed)f(by)i(an)g(option)f(number:)21 606 y(1:)h(Return)f(to)h +(Lisp)f(Toplevel.)0 658 y(Debug>)-33 753 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 782 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(ccase)34 b Fv(keyplac)n(e)22 b Ft(f)p Fs(\()7 b +Ft(f)p Fs(\()g Ft(f)p Fv(key)p Ft(g)513 767 y Fl(\003)538 +782 y Fs(\))15 b Ft(j)f Fv(key)p Ft(g)g(f)7 b Fv(form)p +Ft(g)829 767 y Fl(\003)854 782 y Fs(\))p Ft(g)897 767 +y Fl(\003)0 859 y Fw([This)13 b(sup)q(ersedes)k(the)e(description)f(of) +f Fs(ccase)g Fw(giv)o(en)h(in)f(section)i(24.3.|GLS])42 +911 y(This)h(con)o(trol)g(construct)i(is)f(similar)d(to)i +Fs(case)p Fw(,)g(but)h(no)f(explicit)g Fs(otherwise)f +Fw(or)h Fs(t)0 962 y Fw(clause)e(is)g(p)q(ermitted.)42 +1014 y(The)h Fv(keyplac)n(e)h Fw(m)o(ust)f(b)q(e)h(a)f(generalized)h(v) +n(ariable)e(reference)k(acceptable)f(to)e Fs(setf)p Fw(.)0 +1066 y(If)g(no)h(clause)g(is)g(satis\014ed,)g Fs(ccase)e +Fw(signals)i(an)f(error)i(\(of)e(t)o(yp)q(e)h Fs(type-error)p +Fw(\))e(with)h(a)0 1118 y(message)d(constructed)j(from)c(the)j +(clauses.)k(This)13 b(error)h(ma)o(y)c(b)q(e)k(con)o(tin)o(ued)f(using) +f(the)0 1170 y Fs(store-value)k Fw(restart.)34 b(The)19 +b(argumen)o(t)f(to)g Fs(store-value)f Fw(is)h(stored)i(in)e +Fv(keyplac)n(e)0 1222 y Fw(and)f(then)g Fs(ccase)f Fw(starts)h(o)o(v)o +(er,)g(making)e(the)i(t)o(yp)q(e)g(tests)h(again.)26 +b(Subforms)15 b(of)i Fv(key-)0 1274 y(plac)n(e)c Fw(ma)o(y)e(b)q(e)j +(ev)n(aluated)e(m)o(ultiple)f(times.)17 b(If)12 b(the)i +Fs(store-value)c Fw(restart)15 b(is)e(in)o(v)o(ok)o(ed)0 +1326 y(in)o(teractiv)o(ely)m(,)g(the)h(user)h(will)e(b)q(e)h(prompted)f +(for)h(the)g(v)n(alue)g(to)f(b)q(e)i(used.)42 1378 y(The)d(name)e(of)h +(this)h(function)f(is)h(mnemonic)d(for)i(\\con)o(tin)o(uable)g +(\(exhaustiv)o(e\))h(case.")p 0 1437 V 0 1498 a Fm(Implemen)o(tation)j +(note:)23 b FA(The)15 b Fj(type-error)c FA(signaled)18 +b(b)o(y)e Fj(ccase)d FA(and)j Fj(ecase)e FA(is)i(free)f(to)0 +1543 y(c)o(ho)q(ose)e(an)o(y)h(represen)o(tation)g(of)f(the)f +(acceptable)j(argumen)o(t)e(t)o(yp)q(e)g(that)g(it)g(wishes)g(for)g +(place-)0 1589 y(men)o(t)i(in)h(the)f(exp)q(ected-t)o(yp)q(e)h(slot.)24 +b(It)15 b(will)h(alw)o(a)o(ys)g(w)o(ork)f(to)g(use)g(t)o(yp)q(e)h +Fj(\(member)g(.)i Fq(keys)p Fj(\))p FA(,)0 1634 y(but)11 +b(in)g(some)g(cases)g(it)g(ma)o(y)g(b)q(e)f(more)h(e\016cien)o(t,)h +(for)e(example,)i(to)f(use)f(a)h(t)o(yp)q(e)g(that)g(represen)o(ts)0 +1680 y(an)i(in)o(teger)h(subrange)h(or)e(a)g(t)o(yp)q(e)g(comp)q(osed)h +(using)h(the)e Fj(or)f FA(t)o(yp)q(e)h(sp)q(eci\014er.)p +0 1714 V 0 1836 a Fo(29.4.4.)20 b(Handling)15 b(Conditions)0 +1921 y Fw(These)g(macros)e(allo)o(w)f(a)i(program)e(to)i(gain)f(con)o +(trol)h(when)g(a)g(condition)f(is)h(signaled.)-33 2016 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 2044 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(handler-case)33 b Fv(expr)n(ession)22 b Ft(f)p Fs(\()p +Fv(typ)n(esp)n(e)n(c)14 b Fs(\()7 b Fw([)p Fv(var)p Fw(])g +Fs(\))20 b Ft(f)7 b Fv(form)p Ft(g)1000 2029 y Fl(\003)1025 +2044 y Fs(\))p Ft(g)1068 2029 y Fl(\003)0 2121 y Fw(Executes)19 +b(the)e(giv)o(en)f Fv(expr)n(ession)h Fw(in)f(a)h(con)o(text)g(where)h +(v)n(arious)e(sp)q(eci\014ed)i(handlers)0 2173 y(are)c(activ)o(e.)42 +2225 y(Eac)o(h)k Fv(typ)n(esp)n(e)n(c)h Fw(ma)o(y)d(b)q(e)j(an)o(y)f(t) +o(yp)q(e)h(sp)q(eci\014er.)33 b(If)17 b(during)h(the)h(execution)g(of)f +(the)0 2277 y Fs(expression)10 b Fw(a)i(condition)g(is)g(signaled)g +(for)g(whic)o(h)g(there)i(is)e(an)g(appropriate)h(clause|)0 +2329 y(that)g(is,)f(one)g(for)g(whic)o(h)h Fs(\(typep)20 +b Fv(c)n(ondition)732 2333 y Fn(')756 2329 y Fv(typ)n(esp)n(e)n(c)p +Fs(\))12 b Fw(is)g(true|and)h(if)f(there)i(is)e(no)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 971 995 +971 994 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(971)0 295 y Fw(in)o(terv)o(ening)14 b(handler)g(for)f(conditions)h +(of)f(that)h(t)o(yp)q(e,)g(then)h(con)o(trol)e(is)h(transferred)i(to)0 +347 y(the)g(b)q(o)q(dy)g(of)f(the)i(relev)n(an)o(t)e(clause)i(\(un)o +(winding)d(the)j(dynamic)d(state)i(appropriately)0 399 +y(in)j(the)g(pro)q(cess\))j(and)c(the)i(giv)o(en)f(v)n(ariable)f +Fs(var)g Fw(is)h(b)q(ound)h(to)f(the)g(condition)g(that)0 +450 y(w)o(as)e(signaled.)26 b(If)16 b(no)g(suc)o(h)i(condition)e(is)g +(signaled)h(and)f(the)h(computation)e(runs)j(to)0 502 +y(completion,)d(then)i(the)g(v)n(alues)g(resulting)f(from)f(the)i +Fs(expression)e Fw(are)i(returned)h(b)o(y)0 554 y(the)c +Fs(handler-case)e Fw(form.)42 663 y(If)d(more)g(than)h(one)g(case)h(is) +f(pro)o(vided,)g(those)g(cases)i(are)e(made)f(accessible)i(in)e +(parallel.)0 715 y(That)14 b(is,)f(in)0 1366 y Fs(\(handler-case)18 +b Fv(expr)n(ession)42 1418 y Fs(\()p Fv(typ)n(e)136 1424 +y Fk(1)176 1418 y Fs(\()p Fv(var)256 1424 y Fk(1)274 +1418 y Fs(\))j Fv(form)403 1424 y Fk(1)421 1418 y Fs(\))42 +1470 y(\()p Fv(typ)n(e)136 1476 y Fk(2)176 1470 y Fs(\()p +Fv(var)256 1476 y Fk(2)274 1470 y Fs(\))g Fv(form)403 +1476 y Fk(2)421 1470 y Fs(\)\))0 2065 y Fw(if)c(the)h(\014rst)g(clause) +g(\(con)o(taining)f Fv(form)640 2071 y Fk(1)658 2065 +y Fw(\))g(has)h(b)q(een)g(selected,)i(the)e(handler)g(for)f(the)0 +2116 y(second)e(is)f(no)f(longer)h(visible)f(\(and)h(vice)g(v)o +(ersa\).)42 2225 y(The)d(cases)h(are)g(searc)o(hed)h(sequen)o(tially)d +(from)g(top)h(to)f(b)q(ottom.)16 b(If)11 b(a)g(signaled)f(condi-)0 +2277 y(tion)i(matc)o(hes)h(more)f(than)h(one)g(case)h(\(p)q(ossible)f +(if)f(there)i(is)f(t)o(yp)q(e)h(o)o(v)o(erlap\))e(the)i(earlier)0 +2329 y(of)f(the)i(t)o(w)o(o)e(cases)i(will)e(b)q(e)h(selected.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 972 996 +972 995 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(972)77 b(COMMON)13 +b(LISP)42 295 y Fw(If)g(the)h(v)n(ariable)e Fv(var)h +Fw(is)h(not)f(needed,)i(it)e(ma)o(y)f(b)q(e)i(omitted.)i(That)e(is,)f +(a)g(clause)h(suc)o(h)0 347 y(as)0 439 y Fs(\()p Fv(typ)n(e)21 +b Fs(\()p Fv(var)p Fs(\))g(\(declare)e(\(ignore)h Fv(var)p +Fs(\)\))g Fv(form)p Fs(\))0 531 y Fw(ma)o(y)12 b(b)q(e)i(written)h +(using)e(the)i(follo)o(wing)c(shorthand)k(notation:)0 +623 y Fs(\()p Fv(typ)n(e)21 b Fs(\(\))g Fv(form)p Fs(\))42 +715 y Fw(If)13 b(there)i(are)g(no)e(forms)g(in)g(a)h(selected)h(case,)g +(the)f(case)h(returns)h Fs(nil)p Fw(.)h(Note)d(that)0 +807 y Fs(\(handler-case)k Fv(expr)n(ession)42 859 y Fs(\()p +Fv(typ)n(e)136 865 y Fk(1)176 859 y Fs(\()p Fv(var)256 +865 y Fk(1)274 859 y Fs(\))j(.)g Fv(b)n(o)n(dy)437 865 +y Fk(1)456 859 y Fs(\))42 911 y(\()p Fv(typ)n(e)136 917 +y Fk(2)176 911 y Fs(\()p Fv(var)256 917 y Fk(2)274 911 +y Fs(\))g(.)g Fv(b)n(o)n(dy)437 917 y Fk(2)456 911 y +Fs(\))42 963 y(...\))0 1054 y Fw(is)14 b(appro)o(ximately)d(equiv)n +(alen)o(t)i(to)0 1147 y Fs(\(block)20 b(#)152 1143 y(-)152 +1151 y(-)174 1147 y(1)196 1143 y(U)196 1151 y(U)217 1147 +y(#)217 1143 y(-)217 1151 y(-)239 1147 y(:block-1)42 +1199 y(\(let)h(\(#)173 1195 y(-)173 1203 y(-)194 1199 +y(2)216 1195 y(U)216 1203 y(U)238 1199 y(#)238 1195 y(-)238 +1203 y(-)260 1199 y(:var-2\))85 1251 y(\(tagbody)127 +1302 y(\(handler-bind)e(\(\()p Fv(typ)n(e)548 1308 y +Fk(1)587 1302 y Fs(#)587 1298 y(-)587 1306 y(-)n Fn(')630 +1302 y Fs(\(lambda)h(\(temp\))672 1354 y(\(setq)g(#)802 +1350 y(-)802 1358 y(-)824 1354 y(2#)846 1350 y(-)846 +1358 y(-)888 1354 y(temp\))672 1406 y(\(go)g(#)758 1402 +y(-)758 1410 y(-)780 1406 y(3)802 1402 y(U)802 1410 y(U)824 +1406 y(#)824 1402 y(-)824 1410 y(-)845 1406 y(:tag-3\)\)\))445 +1458 y(\()p Fv(typ)n(e)539 1464 y Fk(2)578 1458 y Fs(#)578 +1454 y(-)578 1462 y(-)n Fn(')621 1458 y Fs(\(lambda)g(\(temp\))663 +1510 y(\(setq)g(#)793 1506 y(-)793 1514 y(-)815 1510 +y(2#)837 1506 y(-)837 1514 y(-)880 1510 y(temp\))663 +1562 y(\(go)h(#)750 1558 y(-)750 1566 y(-)771 1562 y(4)793 +1558 y(U)793 1566 y(U)815 1562 y(#)815 1558 y(-)815 1566 +y(-)837 1562 y(:tag-4\)\)\))445 1614 y(...\))169 1666 +y(\(return-from)e(#)452 1662 y(-)452 1670 y(-)474 1666 +y(1#)496 1662 y(-)496 1670 y(-)539 1666 y Fv(expr)n(ession)p +Fs(\)\))127 1718 y(#)127 1714 y(-)127 1722 y(-)149 1718 +y(3#)171 1714 y(-)171 1722 y(-)214 1718 y(\(return-from)f(#)496 +1714 y(-)496 1722 y(-)518 1718 y(1#)540 1714 y(-)540 +1722 y(-)583 1718 y(\(let)i(\(\()p Fv(var)793 1724 y +Fk(1)832 1718 y Fs(#)832 1714 y(-)832 1722 y(-)854 1718 +y(2#)876 1714 y(-)876 1722 y(-)898 1718 y(\)\))g(.)h +Fv(b)n(o)n(dy)1082 1724 y Fk(1)1102 1718 y Fs(\)\))127 +1769 y(#)127 1765 y(-)127 1773 y(-)149 1769 y(4#)171 +1765 y(-)171 1773 y(-)214 1769 y(\(return-from)d(#)496 +1765 y(-)496 1773 y(-)518 1769 y(1#)540 1765 y(-)540 +1773 y(-)583 1769 y(\(let)i(\(\()p Fv(var)793 1775 y +Fk(2)832 1769 y Fs(#)832 1765 y(-)832 1773 y(-)854 1769 +y(2#)876 1765 y(-)876 1773 y(-)898 1769 y(\)\))g(.)h +Fv(b)n(o)n(dy)1082 1775 y Fk(2)1102 1769 y Fs(\)\))127 +1821 y(...\)\)\))0 1913 y Fw([Note)12 b(the)h(use)g(of)f(\\gensyms")f +(suc)o(h)i(as)g Fs(#)643 1909 y(-)643 1917 y(-)664 1913 +y(:block-1)e Fw(as)h(blo)q(c)o(k)g(names,)f(v)n(ariables,)h(and)0 +1965 y Fs(tagbody)f Fw(tags)i(in)g(this)g(example,)e(and)i(the)g(use)h +(of)e Fs(#)820 1961 y(-)820 1969 y(-)842 1965 y Fv(n)865 +1961 y Fs(U)865 1969 y(U)900 1965 y Fw(and)h Fs(#)980 +1961 y(-)980 1969 y(-)1002 1965 y Fv(n)p Fs(#)1025 1961 +y(-)1025 1969 y(-)1060 1965 y Fw(read-macro)f(syn)o(tax)0 +2017 y(to)i(indicate)g(that)f(the)i(v)o(ery)f(same)f(gensym)g(app)q +(ears)i(in)e(m)o(ultiple)f(places.|GLS])42 2069 y(As)g(a)f(sp)q(ecial)h +(case,)g(the)h Fv(typ)n(esp)n(e)n(c)f Fw(can)f(also)g(b)q(e)i(the)f +(sym)o(b)q(ol)e Fs(:no-error)g Fw(in)h(the)h(last)0 2121 +y(clause.)24 b(If)15 b(it)h(is,)f(it)h(designates)g(a)g(clause)g(that)g +(will)e(tak)o(e)i(con)o(trol)f(if)g(the)h Fv(expr)n(ession)0 +2173 y Fw(returns)h(normally)m(.)k(In)16 b(that)g(case,)h(a)e +(completely)g(general)h(lam)o(b)q(da-list)d(ma)o(y)h(follo)o(w)0 +2225 y(the)g(sym)o(b)q(ol)e Fs(:no-error)p Fw(,)g(and)i(the)g(argumen)o +(ts)f(to)h(whic)o(h)g(the)g(lam)o(b)q(da-list)d(parame-)0 +2277 y(ters)17 b(are)f(b)q(ound)g(are)g(lik)o(e)f(those)i(for)e +Fs(multiple-value-call)d Fw(on)k(the)g(return)h(v)n(alue)0 +2329 y(of)c(the)i Fv(expr)n(ession)p Fw(.)j(F)m(or)c(example,)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 973 997 +973 996 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(973)0 295 y Fs(\(handler-case)18 b Fv(expr)n(ession)42 +347 y Fs(\()p Fv(typ)n(e)136 353 y Fk(1)176 347 y Fs(\()p +Fv(var)256 353 y Fk(1)274 347 y Fs(\))j(.)g Fv(b)n(o)n(dy)437 +353 y Fk(1)456 347 y Fs(\))42 399 y(\()p Fv(typ)n(e)136 +405 y Fk(2)176 399 y Fs(\()p Fv(var)256 405 y Fk(2)274 +399 y Fs(\))g(.)g Fv(b)n(o)n(dy)437 405 y Fk(2)456 399 +y Fs(\))42 450 y(...)42 502 y(\()p Fv(typ)n(e)136 508 +y Fi(n)179 502 y Fs(\()p Fv(var)259 508 y Fi(n)280 502 +y Fs(\))g(.)g Fv(b)n(o)n(dy)443 508 y Fi(n)464 502 y +Fs(\))42 554 y(\(:no-error)e(\()p Fv(nvar)384 560 y Fk(1)424 +554 y Fv(nvar)505 560 y Fk(2)545 554 y Fs(...)i Fv(nvar)713 +560 y Fi(m)743 554 y Fs(\))g(.)g Fv(nb)n(o)n(dy)p Fs(\)\))0 +638 y Fw(is)14 b(appro)o(ximately)d(equiv)n(alen)o(t)i(to)0 +721 y Fs(\(block)20 b(#)152 717 y(-)152 725 y(-)174 721 +y(1)196 717 y(U)196 725 y(U)217 721 y(#)217 717 y(-)217 +725 y(-)239 721 y(:error-return)42 773 y(\(multiple-value-cal)o(l)e(#) +499 769 y(-)499 777 y(-)n Fn(')542 773 y Fs(\(lambda)i(\()p +Fv(nvar)819 779 y Fk(1)859 773 y Fv(nvar)940 779 y Fk(2)980 +773 y Fs(...)g Fv(nvar)1147 779 y Fi(m)1177 773 y Fs(\))h(.)g +Fv(nb)n(o)n(dy)p Fs(\))85 825 y(\(block)f(#)237 821 y(-)237 +829 y(-)258 825 y(2)280 821 y(U)280 829 y(U)302 825 y(#)302 +821 y(-)302 829 y(-)324 825 y(:normal-return)127 877 +y(\(return-from)f(#)410 873 y(-)410 881 y(-)432 877 y(1#)454 +873 y(-)454 881 y(-)169 929 y(\(handler-case)g(\(return-from)g(#)757 +925 y(-)757 933 y(-)778 929 y(2#)800 925 y(-)800 933 +y(-)843 929 y Fv(expr)n(ession)p Fs(\))212 981 y(\()p +Fv(typ)n(e)306 987 y Fk(1)345 981 y Fs(\()p Fv(var)425 +987 y Fk(1)444 981 y Fs(\))i(.)g Fv(b)n(o)n(dy)607 987 +y Fk(1)626 981 y Fs(\))212 1033 y(\()p Fv(typ)n(e)306 +1039 y Fk(2)345 1033 y Fs(\()p Fv(var)425 1039 y Fk(2)444 +1033 y Fs(\))g(.)g Fv(b)n(o)n(dy)607 1039 y Fk(2)626 +1033 y Fs(\))212 1085 y(...)212 1137 y(\()p Fv(typ)n(e)306 +1143 y Fi(n)348 1137 y Fs(\()p Fv(var)428 1143 y Fi(n)449 +1137 y Fs(\))g(.)g Fv(b)n(o)n(dy)612 1143 y Fi(n)634 +1137 y Fs(\)\)\)\)\)\))42 1220 y Fw(Examples)12 b(of)i(the)g(use)h(of)e +Fs(handler-case)p Fw(:)0 1304 y Fs(\(handler-case)18 +b(\(/)j(x)g(y\))42 1356 y(\(division-by-zero)d(\(\))j(nil\)\))0 +1460 y(\(handler-case)d(\(open)j(*the-file*)e(:direction)g(:input\))42 +1511 y(\(file-error)g(\(condition\))g(\(format)h(t)h(")801 +1515 y Fn(~)824 1511 y Fs(&Fooey:)995 1515 y Fn(~)1019 +1511 y Fs(A)1039 1515 y Fn(~)1062 1511 y Fs(\045")f(condition\)\)\))0 +1615 y(\(handler-case)e(\(some-user-function\))42 1667 +y(\(file-error)h(\(condition\))g(condition\))42 1719 +y(\(division-by-zero)f(\(\))j(0\))42 1771 y(\(\(or)g(unbound-variable)d +(undefined-funct)o(ion\))g(\(\))1018 1775 y Fn(')1042 +1771 y Fs(unbound\)\))0 1875 y(\(handler-case)g(\(intern)i(x)h(y\))42 +1927 y(\(error)f(\(condition\))f(condition\))42 1978 +y(\(:no-error)g(\(symbol)h(status\))85 2030 y(\(declare)f(\(ignore)h +(symbol\)\))85 2082 y(status\)\))-33 2172 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 2200 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(ignore-errors)39 b Ft(f)7 b Fv(form)p Ft(g)460 2185 +y Fl(\003)0 2277 y Fw(Executes)23 b(its)d(b)q(o)q(dy)h(in)f(a)g(con)o +(text)i(that)e(handles)h(conditions)f(of)g(t)o(yp)q(e)h +Fs(error)f Fw(b)o(y)0 2329 y(returning)e(con)o(trol)f(to)h(this)f +(form.)27 b(If)17 b(no)g(suc)o(h)i(condition)d(is)i(signaled,)f(an)o(y) +g(v)n(alues)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 974 998 +974 997 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(974)77 b(COMMON)13 +b(LISP)0 295 y Fw(returned)19 b(b)o(y)e(the)g(last)g(form)e(are)j +(returned)h(b)o(y)d Fs(ignore-errors)p Fw(.)25 b(Otherwise,)19 +b(t)o(w)o(o)0 347 y(v)n(alues)14 b(are)g(returned:)20 +b Fs(nil)13 b Fw(and)h(the)g Fs(error)f Fw(condition)g(that)h(w)o(as)g +(signaled.)42 399 y Fs(ignore-errors)d Fw(could)i(b)q(e)i(de\014ned)g +(b)o(y)0 483 y Fs(\(defmacro)k(ignore-errors)g(\(&body)h(forms\))40 +539 y Fn(`)64 535 y Fs(\(handler-case)e(\(progn)i(,@forms\))106 +587 y(\(error)g(\(c\))g(\(values)g(nil)h(c\)\)\))-33 +684 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 713 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(handler-bind)33 b(\()7 b Ft(f)p Fs(\()p Fv(typ)n(esp)n(e)n(c)14 +b(hand)r(ler)p Fs(\))p Ft(g)706 698 y Fl(\003)732 713 +y Fs(\))21 b Ft(f)7 b Fv(form)p Ft(g)910 698 y Fl(\003)0 +790 y Fw(Executes)16 b(b)q(o)q(dy)d(in)h(a)f(dynamic)f(con)o(text)i +(where)h(the)f(giv)o(en)f(handler)h(bindings)f(are)h(in)0 +841 y(e\013ect.)28 b(Eac)o(h)17 b Fv(typ)n(esp)n(e)n(c)g +Fw(ma)o(y)e(b)q(e)j(an)o(y)e(t)o(yp)q(e)h(sp)q(eci\014er.)29 +b(Eac)o(h)17 b Fv(hand)r(ler)g Fw(form)e(should)0 893 +y(ev)n(aluate)i(to)g(a)g(function)g(to)g(b)q(e)h(used)g(to)f(handle)g +(conditions)g(of)g(the)h(giv)o(en)f(t)o(yp)q(e\(s\))0 +945 y(during)d(execution)i(of)e(the)h Fv(form)s Fw(s.)21 +b(This)15 b(function)f(should)h(tak)o(e)f(a)h(single)f(argumen)o(t,)0 +997 y(the)g(condition)g(b)q(eing)g(signaled.)42 1049 +y(If)d(more)f(than)i(one)g(binding)f(is)g(sp)q(eci\014ed,)i(the)g +(bindings)e(are)h(searc)o(hed)h(sequen)o(tially)0 1101 +y(from)f(top)i(to)g(b)q(ottom)e(in)i(searc)o(h)h(of)e(a)h(matc)o(h)f +(\(b)o(y)h(visual)f(analogy)f(with)i Fs(typecase)p Fw(\).)0 +1153 y(If)f(an)g(appropriate)g Fv(typ)n(esp)n(e)n(c)g +Fw(is)g(found,)f(the)i(asso)q(ciated)g(handler)f(is)g(run)h(in)e(a)h +(con)o(text)0 1205 y(where)g(none)g(of)f(the)h(handler)f(bindings)g +(are)g(visible)g(\(to)g(a)o(v)o(oid)f(recursiv)o(e)j(errors\).)19 +b(F)m(or)0 1257 y(example,)12 b(in)i(the)g(case)h(of)0 +1341 y Fs(\(handler-bind)j(\(\(unbound-variable)g(#)718 +1337 y(-)718 1345 y(-)m Fn(')761 1341 y Fs(\(lambda)i(...\)\))318 +1393 y(\(error)f(#)469 1389 y(-)469 1397 y(-)n Fn(')512 +1393 y Fs(\(lambda)h(...\)\)\))42 1445 y(...\))0 1530 +y Fw(if)14 b(an)h(un)o(b)q(ound)g(v)n(ariable)e(error)j(is)f(signaled)f +(in)h(the)g(b)q(o)q(dy)g(\(and)g(not)g(handled)f(b)o(y)h(an)0 +1582 y(in)o(terv)o(ening)j(handler\),)h(the)f(\014rst)h(function)e +(will)g(b)q(e)h(called.)30 b(If)18 b(an)o(y)f(other)i(kind)e(of)0 +1634 y(error)h(is)f(signaled,)g(the)h(second)g(function)f(will)f(b)q(e) +i(called.)27 b(In)17 b(either)h(case,)h(neither)0 1686 +y(handler)14 b(will)e(b)q(e)j(activ)o(e)f(while)f(executing)i(the)f(co) +q(de)h(in)f(the)g(asso)q(ciated)h(function.)0 1834 y +Fo(29.4.5.)20 b(De\014ning)14 b(Conditions)0 1919 y Fw([The)g(con)o +(ten)o(ts)g(of)g(this)f(section)i(are)f(still)f(a)g(sub)r(ject)i(of)e +(some)g(debate)i(within)e(X3J13.)0 1971 y(The)19 b(reader)g(ma)o(y)e +(wish)h(to)g(tak)o(e)h(this)f(section)h(with)f(a)g(grain)g(of)g(salt,)g +(t)o(w)o(o)g(aspirin)0 2023 y(tablets,)c(and)g(call)f(a)g(hac)o(k)o(er) +i(in)e(the)i(morning.|G)o(LS])-33 2120 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 2148 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(define-condition)32 b Fv(name)15 b Fs(\()7 b Ft(f)p +Fv(p)n(ar)n(ent-typ)n(e)p Ft(g)766 2133 y Fl(\003)791 +2148 y Fs(\))377 2200 y Fw([)p Fs(\()g Ft(f)p Fv(slot-sp)n(e)n +(ci\014er)p Ft(g)683 2185 y Fl(\003)707 2200 y Fs(\))21 +b Ft(f)p Fv(option)p Ft(g)905 2185 y Fl(\003)931 2200 +y Fw(])0 2277 y(De\014nes)c(a)f(new)g(condition)f(t)o(yp)q(e)i(called)f +Fv(name)p Fw(,)g(whic)o(h)g(is)g(a)f(subt)o(yp)q(e)i(of)f(eac)o(h)g +(giv)o(en)0 2329 y Fv(p)n(ar)n(ent-typ)n(e)p Fw(.)i(Except)d(as)f +(otherwise)h(noted,)f(the)g(argumen)o(ts)f(are)i(not)e(ev)n(aluated.) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 975 999 +975 998 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(975)42 295 y Fw(Ob)r(jects)15 b(of)f(this)g(condition)g(t)o(yp)q(e)h +(will)d(ha)o(v)o(e)j(all)e(of)g(the)i(indicated)f Fv(slot)t +Fw(s,)g(plus)g(an)o(y)0 347 y(additional)d(slots)h(inherited)h(from)e +(the)i(paren)o(t)g(t)o(yp)q(es)h(\(its)e(sup)q(erclasses\).)21 +b(If)12 b(the)h Fv(slot)t Fw(s)0 399 y(list)g(is)h(omitted,)e(the)j +(empt)o(y)e(list)g(is)h(assumed.)42 451 y(A)f Fv(slot)h +Fw(m)o(ust)f(ha)o(v)o(e)g(the)i(form)0 541 y Fv(slot-sp)n(e)n(ci\014er) +j Fw(::=)13 b Fv(slot-name)k Ft(j)c Fw(\()p Fv(slot-name)k +Fw([)-7 b([)p Ft(#)5 b Fv(slot-option)h Fw(])-7 b(]\))0 +631 y(F)m(or)13 b(the)g(syn)o(tax)g(of)g(a)g Fv(slot-option)p +Fw(,)f(see)j Fs(defclass)p Fw(.)h(The)d(slots)g(of)g(a)g(condition)f +(ob)r(ject)0 683 y(are)e(normal)d(CLOS)j(slots.)16 b(Note)10 +b(that)g Fs(with-slots)d Fw(ma)o(y)g(b)q(e)j(used)g(instead)g(of)f +(accessor)0 735 y(functions)14 b(to)g(access)h(slots)f(of)g(a)f +(condition)g(ob)r(ject.)42 787 y Fs(make-condition)g +Fw(will)i(accept)j(k)o(eyw)o(ords)f(\(in)f(the)h(k)o(eyw)o(ord)g(pac)o +(k)n(age\))f(with)g(the)0 839 y(prin)o(t)11 b(name)g(of)g(an)o(y)g(of)g +(the)h(designated)g(slots,)g(and)f(will)g(initialize)f(the)i(corresp)q +(onding)0 891 y(slots)i(in)f(conditions)h(it)g(creates.)42 +944 y(Accessors)i(are)e(created)i(according)e(to)f(the)i(same)e(rules)h +(as)g(used)h(b)o(y)f Fs(defclass)p Fw(.)42 996 y(The)g(v)n(alid)e +Fv(options)i Fw(are)h(as)f(follo)o(ws:)0 1103 y Fs(\(:documentation)k +Fv(do)n(c-string)p Fs(\))0 1166 y Fw(The)g Fv(do)n(c-string)g +Fw(should)g(b)q(e)g(either)h Fs(nil)e Fw(or)h(a)g(string)g(that)g +(describ)q(es)i(the)f(purp)q(ose)0 1218 y(of)g(the)h(condition)f(t)o +(yp)q(e.)36 b(If)19 b(this)g(option)g(is)h(omitted,)f +Fs(nil)g Fw(is)g(assumed.)35 b(Calling)0 1270 y Fs(\(documentation)324 +1274 y Fn(')347 1270 y Fv(name)464 1274 y Fn(')487 1270 +y Fs(type\))13 b Fw(will)g(retriev)o(e)i(this)f(information.)0 +1377 y Fs(\(:report)20 b Fv(exp)p Fs(\))0 1440 y Fw(If)14 +b Fv(exp)h Fw(is)f(not)g(a)h(literal)e(string,)h(it)g(m)o(ust)g(b)q(e)h +(a)f(suitable)g(argumen)o(t)f(to)h(the)h Fs(function)0 +1491 y Fw(sp)q(ecial)i(form.)25 b(The)17 b(expression)h +Fs(\(function)i Fv(exp)p Fs(\))d Fw(will)e(b)q(e)j(ev)n(aluated)e(in)h +(the)g(cur-)0 1543 y(ren)o(t)j(lexical)f(en)o(vironmen)o(t.)34 +b(It)19 b(should)h(pro)q(duce)g(a)g(function)f(of)g(t)o(w)o(o)g +(argumen)o(ts,)0 1595 y(a)h(condition)g(and)g(a)h(stream,)g(that)g +(prin)o(ts)f(on)h(the)g(stream)f(a)g(description)h(of)f(the)0 +1647 y(condition.)33 b(This)19 b(function)g(is)g(called)g(whenev)o(er)h +(the)g(condition)f(is)g(prin)o(ted)g(while)0 1699 y Fs(*print-escape*) +11 b Fw(is)j Fs(nil)p Fw(.)42 1751 y(If)f Fv(exp)h Fw(is)g(a)g(literal) +f(string,)g(it)h(is)g(shorthand)g(for)0 1858 y Fs(\(lambda)20 +b(\(c)g(s\))42 1910 y(\(declare)g(\(ignore)g(c\)\))42 +1962 y(\(write-string)f Fv(exp)j Fs(s\)\))0 2069 y Fw([That)11 +b(is,)h(a)f(function)g(is)h(pro)o(vided)f(that)h(will)e(simply)g(write) +i(the)g(giv)o(en)f(string)h(literally)0 2121 y(to)i(the)g(stream,)f +(regardless)i(of)f(the)g(particular)g(condition)f(ob)r(ject)i +(supplied.|GLS])42 2173 y(The)k Fs(:report)e Fw(option)i(is)f(pro)q +(cessed)k Fv(after)c Fw(the)h(new)h(condition)e(t)o(yp)q(e)i(has)f(b)q +(een)0 2225 y(de\014ned,)e(so)f(use)g(of)f(the)i(slot)e(accessors)j +(within)d(the)i(rep)q(ort)f(function)g(is)f(p)q(ermitted.)0 +2277 y(If)h(this)h(option)e(is)i(not)f(sp)q(eci\014ed,)i(information)c +(ab)q(out)i(ho)o(w)g(to)g(rep)q(ort)i(this)e(t)o(yp)q(e)h(of)0 +2329 y(condition)c(will)g(b)q(e)h(inherited)g(from)f(the)h +Fv(p)n(ar)n(ent-typ)n(e)p Fw(.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 976 1000 +976 999 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(976)77 b(COMMON)13 +b(LISP)42 295 y Fw([X3J13)h(v)o(oted)h(in)g(Marc)o(h)h(1989)e +Ft(h)p Fw(186)p Ft(i)h Fw(to)g(in)o(tegrate)h(the)g(Condition)e(System) +h(and)0 347 y(the)22 b(Ob)r(ject)g(System.)40 b(In)21 +b(the)h(original)d(Condition)h(System)h(prop)q(osal,)h +Fs(define-)0 399 y(condition)11 b Fw(allo)o(w)o(ed)g(only)h(one)g +Fv(p)n(ar)n(ent-typ)n(e)h Fw(\(the)g(inheritance)g(structure)i(w)o(as)d +(a)g(sim-)0 450 y(ple)i(hierarc)o(h)o(y\).)20 b(Slot)14 +b(descriptions)h(w)o(ere)g(m)o(uc)o(h)e(simpler,)g(ev)o(en)i(simpler)e +(than)h(those)0 502 y(for)g Fs(defstruct)p Fw(:)0 584 +y Fv(slot)f Fw(::=)h Fv(slot-name)f Ft(j)h Fw(\()p Fv(slot-name)p +Fw(\))g Ft(j)f Fw(\()p Fv(slot-name)h(default-value)p +Fw(\))0 667 y(Similarly)l(,)c Fs(define-condition)g Fw(allo)o(w)o(ed)i +(a)h Fs(:conc-name)e Fw(option)h(similar)f(to)i(that)g(of)0 +719 y Fs(defstruct)p Fw(:)0 814 y Fs(\(:conc-name)19 +b Fv(symb)n(ol-or-string)p Fs(\))0 878 y Fz(Not)h(no)o(w)h(part)e(of)h +(Common)g(Lisp.)29 b Fw(As)19 b(with)e Fs(defstruct)p +Fw(,)g(this)h(sets)h(up)f(au-)0 929 y(tomatic)d(pre\014xing)h(of)g(the) +h(names)e(of)h(slot)g(accessors.)27 b(Also)16 b(as)h(in)f +Fs(defstruct)p Fw(,)e(the)0 981 y(default)k(b)q(eha)o(vior)h(is)f(to)h +(use)g(the)g(name)f(of)g(the)h(new)g(t)o(yp)q(e,)h Fv(name)p +Fw(,)g(follo)o(w)o(ed)d(b)o(y)h(a)0 1033 y(h)o(yphen.)g(\(Generated)d +(names)e(are)h(in)o(terned)h(in)e(the)i(pac)o(k)n(age)e(that)h(is)f +(curren)o(t)j(at)d(the)0 1085 y(time)g(that)g(the)i Fs +(define-condition)c Fw(is)i(pro)q(cessed\).)0 1181 y(One)f(consequence) +h(of)d(the)h(v)o(ote)g(w)o(as)g(to)f(mak)o(e)g Fs(define-condition)d +Fw(slot)k(descriptions)0 1233 y(lik)o(e)i(those)i(of)e +Fs(defclass)p Fw(.|GLS])42 1285 y(Here)i(are)f(some)f(examples)g(of)g +(the)i(use)f(of)g Fs(define-condition)o Fw(.)42 1356 +y(The)k(follo)o(wing)e(form)h(de\014nes)i(a)g(condition)e(of)h(t)o(yp)q +(e)h Fs(peg/hole-mismatch)c Fw(that)0 1408 y(inherits)f(from)e(a)i +(condition)f(t)o(yp)q(e)i(called)e Fs(blocks-world-error)o +Fw(:)0 1490 y Fs(\(define-condition)18 b(peg/hole-mismatc)o(h)g +(\(blocks-world-error)o(\))381 1542 y(\(peg-shape)h(hole-shape\))42 +1594 y(\(:report)85 1645 y(\(lambda)g(\(condition)h(stream\))127 +1697 y(\(with-slots)f(\(peg-shape)g(hole-shape\))g(condition)169 +1749 y(\(format)h(stream)g("A)558 1753 y Fn(~)581 1749 +y Fs(A)h(peg)f(cannot)g(go)h(in)g(a)1033 1753 y Fn(~)1056 +1749 y Fs(A)g(hole.")339 1801 y(peg-shape)e(hole-shape\)\)\)\))0 +1883 y Fw(The)14 b(new)f(t)o(yp)q(e)h(has)f(slots)h Fs(peg-shape)d +Fw(and)i Fs(hole-shape)p Fw(,)e(so)i Fs(make-condition)d +Fw(will)0 1935 y(accept)j Fs(:peg-shape)d Fw(and)i Fs(:hole-shape)d +Fw(k)o(eyw)o(ords.)18 b(The)12 b Fs(with-slots)e Fw(macro)h(ma)o(y)0 +1987 y(b)q(e)16 b(used)g(to)e(access)j(the)f Fs(peg-shape)d +Fw(and)i Fs(hole-shape)e Fw(slots,)i(as)g(illustrated)g(in)f(the)0 +2039 y Fs(:report)e Fw(information.)42 2091 y(Here)18 +b(is)e(another)i(example.)26 b(This)17 b(de\014nes)h(a)f(condition)f +(called)g Fs(machine-error)0 2143 y Fw(that)e(inherits)g(from)e +Fs(error)p Fw(:)0 2225 y Fs(\(define-condition)18 b(machine-error)g +(\(error\))381 2277 y(\(\(machine-name)423 2329 y(:reader)i +(machine-error-mach)o(ine-n)o(ame\)\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 977 1001 +977 1000 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(977)42 295 y Fs(\(:report)20 b(\(lambda)g(\(condition)f(stream\))275 +347 y(\(format)h(stream)g("There)g(is)h(a)g(problem)e(with)1140 +351 y Fn(~)1164 347 y Fs(A.")445 399 y(\(machine-error-)o(machi)o +(ne-na)o(me)f(condition\)\)\)\)\))0 494 y Fw(Building)h(on)g(this)h +(de\014nition,)h(w)o(e)f(can)g(de\014ne)h(a)e(new)i(error)f(condition)f +(that)h(is)g(a)0 546 y(subt)o(yp)q(e)15 b(of)e Fs(machine-error)e +Fw(for)j(use)h(when)f(mac)o(hines)f(are)h(not)g(a)o(v)n(ailable:)0 +643 y Fs(\(define-condition)k(machine-not-avai)o(lable)o(-err)o(or)g +(\(machine-error\))g(\(\))42 695 y(\(:report)i(\(lambda)g(\(condition)f +(stream\))275 746 y(\(format)h(stream)g("The)g(machine)881 +750 y Fn(~)904 746 y Fs(A)h(is)g(not)f(available.")445 +798 y(\(machine-error-)o(machi)o(ne-na)o(me)e(condition\)\)\)\)\))0 +894 y Fw(W)m(e)c(ma)o(y)e(no)o(w)i(de\014ne)h(a)f(still)f(more)h(sp)q +(eci\014c)h(condition,)e(built)h(up)q(on)g Fs(machine-not-)0 +946 y(available-error)p Fw(,)i(that)j(pro)o(vides)g(a)g(default)f(for)h +Fs(machine-name)d Fw(but)j(do)q(es)h(not)0 998 y(pro)o(vide)14 +b(an)o(y)g(new)h(slots)g(or)g(rep)q(ort)g(information.)i(It)e(just)g +(giv)o(es)f(the)h Fs(machine-name)0 1049 y Fw(slot)f(a)f(default)h +(initialization:)0 1146 y Fs(\(define-condition)k(my-favorite-mach)o +(ine-n)o(ot-a)o(vaila)o(ble-e)o(rror)381 1198 y(\(machine-not-avail)o +(able-)o(erro)o(r\))381 1250 y(\(\(machine-name)g(:initform)i +("MC.LCS.MIT.EDU")o(\)\)\))0 1345 y Fw(Note)14 b(that)g(since)h(no)f +Fs(:report)e Fw(clause)j(w)o(as)f(giv)o(en,)f(the)h(information)d +(inherited)j(from)0 1397 y Fs(machine-not-avail)o(able-)o(error)9 +b Fw(will)h(b)q(e)j(used)g(to)f(rep)q(ort)h(this)g(t)o(yp)q(e)f(of)g +(condition.)0 1594 y Fo(29.4.6.)20 b(Creating)15 b(Conditions)0 +1695 y Fw(The)h(function)g Fs(make-condition)d Fw(is)j(the)h(basic)f +(means)f(for)g(creating)i(condition)e(ob-)0 1746 y(jects.)1209 +1930 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(make-condition)18 +b Fv(typ)n(e)25 b Fs(&rest)20 b Fv(slot)p Fs(-)p Fv(initializations)0 +2008 y Fw(Constructs)c(a)f(condition)f(ob)r(ject)i(of)e(the)i(giv)o(en) +e Fv(typ)n(e)h Fw(using)g Fv(slot-initializations)e Fw(as)i(a)0 +2060 y(sp)q(eci\014cation)h(of)f(the)h(initial)e(v)n(alue)h(of)g(the)h +(slots.)23 b(The)16 b(newly)f(created)i(condition)e(is)0 +2112 y(returned.)42 2165 y(The)f Fv(slot-initializations)e +Fw(are)j(alternating)e(k)o(eyw)o(ord/v)n(alue)g(pairs.)18 +b(F)m(or)13 b(example:)0 2261 y Fs(\(make-condition)346 +2265 y Fn(')369 2261 y Fs(peg/hole-mismatch)339 2313 +y(:peg-shape)576 2317 y Fn(')599 2313 y Fs(square)20 +b(:hole-shape)1010 2317 y Fn(')1033 2313 y Fs(round\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 978 1002 +978 1001 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(978)77 b(COMMON)13 +b(LISP)0 295 y Fo(29.4.7.)20 b(Establishing)14 b(Restarts)0 +2225 y Fw(The)e(lo)o(w)o(est-lev)o(el)g(form)e(that)i(creates)i +(restart)f(p)q(oin)o(ts)f(is)g(called)f Fs(restart-bind)p +Fw(.)k(The)0 2277 y Fs(restart-case)8 b Fw(macro)h(is)h(an)g +(abstraction)g(that)g(addresses)j(man)o(y)8 b(common)g(needs)j(for)0 +2329 y Fs(restart-bind)e Fw(while)h(o\013ering)h(a)g(more)f(palatable)g +(syn)o(tax.)17 b(See)12 b(also)e Fs(with-simple-)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 979 1003 +979 1002 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(979)0 295 y Fs(restart)p Fw(.)16 b(The)c(function)g(that)g(transfers) +h(con)o(trol)f(to)g(a)f(restart)j(p)q(oin)o(t)d(established)i(b)o(y)0 +347 y(one)h(of)f(these)j(macros)d(is)g(called)h Fs(invoke-restart)p +Fw(.)42 399 y(All)i(restarts)i(ha)o(v)o(e)f(dynamic)f(exten)o(t;)j(a)d +(restart)j(do)q(es)e(not)g(surviv)o(e)h(execution)f(of)0 +451 y(the)d(form)f(that)h(establishes)h(it.)-33 560 y +@beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 588 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(with-simple-resta)o(rt)32 b(\()p Fv(name)15 b(format-string)21 +b Ft(f)7 b Fv(format-ar)n(gument)p Ft(g)1197 573 y Fl(\003)1222 +588 y Fs(\))442 640 y Ft(f)g Fv(form)p Ft(g)577 625 y +Fl(\003)0 717 y Fw(This)14 b(is)g(shorthand)g(for)f(one)i(of)e(the)h +(most)f(common)e(uses)k(of)e Fs(restart-case)p Fw(.)42 +769 y(If)f(the)h(restart)g(designated)g(b)o(y)g Fv(name)g +Fw(is)f(not)g(in)o(v)o(ok)o(ed)g(while)g(executing)h(the)g +Fv(form)s Fw(s,)0 821 y(all)i(v)n(alues)g(returned)i(b)o(y)f(the)g +(last)g Fv(form)f Fw(are)h(returned.)25 b(If)16 b(that)f(restart)i(is)f +(in)o(v)o(ok)o(ed,)0 873 y(con)o(trol)e(is)g(transferred)h(to)f(the)h +Fs(with-simple-rest)o(art)c Fw(form,)g(whic)o(h)j(immediately)0 +925 y(returns)h(the)g(t)o(w)o(o)e(v)n(alues)h Fs(nil)f +Fw(and)h Fs(t)p Fw(.)42 977 y(The)g Fv(name)g Fw(ma)o(y)e(b)q(e)j +Fs(nil)p Fw(,)d(in)i(whic)o(h)g(case)h(an)e(anon)o(ymous)f(restart)j +(is)f(established.)42 1029 y Fs(with-simple-res)o(tart)c +Fw(could)k(b)q(e)h(de\014ned)g(b)o(y)0 1117 y Fs(\(defmacro)k +(with-simple-restart)f(\(\(restart-name)g(format-string)677 +1168 y(&rest)j(format-argument)o(s\))656 1220 y(&body)f(forms\))40 +1276 y Fn(`)64 1272 y Fs(\(restart-case)e(\(progn)i(,@forms\))106 +1324 y(\(,restart-name)e(\(\))148 1376 y(:report)191 +1428 y(\(lambda)h(\(stream\))233 1480 y(\(format)h(stream)g +(,format-string)e(,@format-argumen)o(ts\)\))148 1532 +y(\(values)i(nil)g(t\)\)\)\))42 1619 y Fw(Here)15 b(is)e(an)h(example)f +(of)g(the)h(use)h(of)e Fs(with-simple-restart)o Fw(.)0 +1706 y Fs(Lisp>)20 b(\(defun)g(read-eval-print-lo)o(op)e(\(level\))169 +1758 y(\(with-simple-restar)o(t)254 1810 y(\(abort)i("Exit)g(command)g +(level)838 1814 y Fn(~)861 1810 y Fs(D.")h(level\))212 +1862 y(\(loop)254 1914 y(\(with-simple-resta)o(rt)339 +1966 y(\(abort)f("Return)f(to)i(command)f(level)1031 +1970 y Fn(~)1054 1966 y Fs(D.")h(level\))296 2017 y(\(let)g(\(\(form)f +(\(prog2)g(\(fresh-line\))699 2069 y(\(read\))699 2121 +y(\(fresh-line\)\)\)\))339 2173 y(\(prin1)g(\(eval)g +(form\)\)\)\)\)\)\))21 2225 y Ft(\))h Fs(READ-EVAL-PRINT-L)o(OOP)0 +2277 y(Lisp>)f(\(read-eval-print-l)o(oop)e(1\))0 2329 +y(\(+)63 2333 y Fn(')86 2329 y Fs(a)j(3\))-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 980 1004 +980 1003 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(980)77 b(COMMON)13 +b(LISP)0 295 y Fs(Error:)20 b(The)g(argument,)g(A,)h(to)f(the)h +(function)e(+)i(was)g(of)g(the)f(wrong)g(type.)148 347 +y(The)h(function)e(expected)h(a)h(number.)0 399 y(To)g(continue,)e +(type)h(:CONTINUE)g(followed)f(by)i(an)g(option)f(number:)21 +450 y(1:)h(Specify)f(a)h(value)f(to)h(use)f(this)g(time.)21 +502 y(2:)h(Return)f(to)h(command)e(level)h(1.)21 554 +y(3:)h(Exit)f(command)g(level)g(1.)21 606 y(4:)h(Return)f(to)h(Lisp)f +(Toplevel.)0 658 y(Debug>)p 0 718 V 0 793 a Fm(Compatibilit)o(y)9 +b(note:)16 b FA(In)11 b(con)o(trast)g(to)g(the)f(w)o(a)o(y)h(that)g +(Zetalisp)i(has)e(traditionall)q(y)i(de\014ned)0 838 +y Fj(abort)h FA(as)i(a)f(kind)j(of)d(condition)j(to)e(b)q(e)g(handled,) +i(the)e(Common)g(Lisp)h(Condition)h(System)0 884 y(de\014nes)c +Fj(abort)d FA(as)i(a)g(w)o(a)o(y)g(to)g(restart)g(\(\\pro)q(ceed")h(in) +g(Zetalisp)h(terms\).)p 0 931 V 0 931 V 0 1006 a Fm(Remark:)25 +b FA(Some)17 b(readers)g(ma)o(y)g(w)o(onder)g(what)f(ough)o(t)h(to)g(b) +q(e)f(done)i(b)o(y)e(the)h(\\ab)q(ort")g(k)o(ey)0 1052 +y(\(or)g(whatev)o(er)h(the)f(implemen)o(tation)q('s)j(in)o(terrupt)e(k) +o(ey)g(is|Con)o(trol-C)h(or)e(Con)o(trol-G,)h(for)0 1098 +y(example\).)32 b(Suc)o(h)19 b(in)o(terrupts,)h(whether)e(sync)o +(hronous)i(or)e(async)o(hronous)i(in)e(nature,)h(are)0 +1143 y(b)q(ey)o(ond)11 b(the)g(scop)q(e)f(of)g(this)h(c)o(hapter)g(and) +g(indeed)g(are)g(not)f(curren)o(tly)h(addressed)h(b)o(y)e(Common)0 +1189 y(Lisp)k(at)f(all.)19 b(This)14 b(ma)o(y)f(b)q(e)h(a)f(topic)h(w)o +(orth)g(standardizing)i(under)e(separate)g(co)o(v)o(er.)k(Here)13 +b(is)0 1235 y(some)g(sp)q(eculation)j(ab)q(out)e(some)f(p)q(ossible)j +(things)e(that)f(migh)o(t)h(happ)q(en.)42 1295 y(An)g(implemen)o +(tation)j(migh)o(t)f(simply)g(call)g Fj(abort)c FA(or)j +Fj(break)d FA(directly)k(without)f(signalin)q(g)0 1341 +y(an)o(y)f(condition.)42 1401 y(Another)19 b(implemen)o(tation)j(migh)o +(t)d(signal)i(some)e(condition)i(related)f(to)f(the)g(fact)f(that)0 +1447 y(a)f(k)o(ey)h(had)f(b)q(een)h(pressed)g(rather)g(than)f(to)g(the) +h(action)g(that)f(should)i(b)q(e)e(tak)o(en.)30 b(This)18 +b(is)0 1493 y(one)d(w)o(a)o(y)g(to)f(allo)o(w)i(user)f(customization.) +25 b(P)o(erhaps)15 b(there)g(w)o(ould)h(b)q(e)f(an)g(implemen)o +(tation-)0 1538 y(dep)q(enden)o(t)g Fj(keyboard-i)o(nt)o(err)o(up)o(t) +10 b FA(condition)16 b(t)o(yp)q(e)e(with)g(a)f(slot)h(con)o(taining)i +(the)e(k)o(ey)f(that)0 1584 y(w)o(as)18 b(pressed|or)h(p)q(erhaps)g +(there)f(w)o(ould)h(b)q(e)f(suc)o(h)h(a)f(condition)i(t)o(yp)q(e,)f +(but)g(rather)f(than)0 1630 y(its)f(ha)o(ving)g(slots,)h(di\013eren)o +(t)f(subt)o(yp)q(es)h(of)d(that)i(t)o(yp)q(e)f(with)h(names)f(lik)o(e)i +Fj(keyboard)o(-ab)o(or)o(t)p FA(,)0 1675 y Fj(keyboard-b)o(re)o(ak)p +FA(,)13 b(and)k(so)g(on)f(migh)o(t)h(b)q(e)g(signaled.)29 +b(That)16 b(implemen)o(tation)k(w)o(ould)d(then)0 1721 +y(do)q(cumen)o(t)e(the)f(action)h(it)f(w)o(ould)h(tak)o(e)f(if)g(user)g +(programs)h(failed)g(to)f(handle)h(the)f(condition,)0 +1767 y(and)g(p)q(erhaps)g(w)o(a)o(ys)f(for)g(user)g(programs)h(to)f +(usefully)i(dismiss)g(the)e(in)o(terrupt.)p 0 1814 V +0 1814 V 0 1889 a Fm(Implemen)o(tation)i(note:)20 b FA(Implemen)o(tors) +c(are)f(encouraged)i(to)d(mak)o(e)h(sure)g(that)g(there)g(is)0 +1935 y(alw)o(a)o(ys)d(a)f(restart)g(named)h Fj(abort)c +FA(around)13 b(an)o(y)e(user)g(co)q(de)h(so)f(that)g(user)g(co)q(de)h +(can)f(call)i Fj(abort)0 1980 y FA(at)h(an)o(y)g(time)h(and)g(exp)q +(ect)f(something)i(reasonable)g(to)e(happ)q(en;)i(exactly)f(what)f(the) +g(reason-)0 2026 y(able)j(thing)h(is)e(ma)o(y)h(v)n(ary)f(somewhat.)27 +b(T)o(ypically)m(,)19 b(in)e(an)g(in)o(teractiv)o(e)h(program,)f(in)o +(v)o(oking)0 2072 y Fj(abort)10 b FA(should)k(return)e(the)g(user)g(to) +g(top)g(lev)o(el,)i(though)f(in)g(some)f(batc)o(h)g(or)g(m)o(ulti-pro)q +(cessin)q(g)0 2117 y(situations)j(killin)q(g)h(the)d(running)i(pro)q +(cess)f(migh)o(t)f(b)q(e)h(more)f(appropriate.)p 0 2329 +V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 981 1005 +981 1004 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(981)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 295 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(restart-case)33 b Fv(expr)n(ession)22 b Ft(f)p Fs(\()p +Fv(c)n(ase-name)15 b(ar)n(glist)553 347 y Ft(f)p Fv(keywor)n(d)f(value) +p Ft(g)845 332 y Fl(\003)553 399 y Ft(f)7 b Fv(form)p +Ft(g)688 383 y Fl(\003)713 399 y Fs(\))p Ft(g)756 383 +y Fl(\003)0 475 y Fw(The)13 b Fv(expr)n(ession)g Fw(is)g(ev)n(aluated)f +(in)h(a)f(dynamic)f(con)o(text)i(where)h(the)g(clauses)f(ha)o(v)o(e)g +(sp)q(e-)0 527 y(cial)e(meanings)g(as)h(p)q(oin)o(ts)g(to)g(whic)o(h)g +(con)o(trol)f(ma)o(y)f(b)q(e)j(transferred.)19 b(If)12 +b(the)g Fv(expr)n(ession)0 579 y Fw(\014nishes)i(executing)g(and)f +(returns)i(an)o(y)e(v)n(alues,)g(all)f(suc)o(h)i(v)n(alues)f(are)h +(simply)d(returned)0 631 y(b)o(y)16 b(the)g Fs(restart-case)d +Fw(form.)23 b(While)15 b(the)h Fv(expr)n(ession)g Fw(is)g(running,)g +(an)o(y)f(co)q(de)i(ma)o(y)0 683 y(transfer)j(con)o(trol)f(to)f(one)i +(of)e(the)i(clauses)g(\(see)g Fs(invoke-restart)p Fw(\).)30 +b(If)19 b(a)g(transfer)0 735 y(o)q(ccurs,)14 b(the)g +Fv(form)s Fw(s)f(in)g(the)h(b)q(o)q(dy)f(of)g(that)g(clause)h(will)d(b) +q(e)j(ev)n(aluated)f(and)g(an)o(y)g(v)n(alues)0 787 y(returned)j(b)o(y) +d(the)i(last)e(suc)o(h)i Fv(form)e Fw(will)g(b)q(e)h(returned)i(b)o(y)d +(the)i Fs(restart-case)c Fw(form.)42 839 y(As)18 b(a)f(sp)q(ecial)i +(case,)g(if)e(the)i Fv(expr)n(ession)f Fw(is)f(a)h(list)f(whose)i +Fv(c)n(ar)e Fw(is)h Fs(signal)p Fw(,)f Fs(error)p Fw(,)0 +891 y Fs(cerror)p Fw(,)c(or)h Fs(warn)p Fw(,)f(then)i +Fs(with-condition-rest)o(arts)c Fw(is)j(implicitly)d(used)k(to)g(asso-) +0 943 y(ciate)f(the)h(restarts)g(with)f(the)g(condition)f(to)h(b)q(e)h +(signaled.)i(F)m(or)d(example,)0 1030 y Fs(\(restart-case)k(\(signal)i +(weird-error\))42 1082 y(\(become-confused)e(...\))42 +1133 y(\(rewind-line-printe)o(r)g(...\))42 1185 y(\(halt-and-catch-fir) +o(e)g(...\)\))0 1272 y Fw(is)c(equiv)n(alen)o(t)f(to)0 +1359 y Fs(\(restart-case)18 b(\(with-condition-rest)o(arts)339 +1411 y(weird-error)339 1463 y(\(list)i(\(find-restart)771 +1467 y Fn(')795 1463 y Fs(become-confused)o(\))466 1515 +y(\(find-restart)768 1519 y Fn(')791 1515 y Fs(rewind-line-printer)o +(\))466 1567 y(\(find-restart)768 1571 y Fn(')791 1567 +y Fs(halt-and-catch-fire)o(\)\))339 1619 y(\(signal)f(weird-error\)\)) +42 1671 y(\(become-confused)f(...\))42 1722 y(\(rewind-line-printe)o(r) +g(...\))42 1774 y(\(halt-and-catch-fir)o(e)g(...\)\))42 +1861 y Fw(If)13 b(there)i(are)g(no)e Fv(form)s Fw(s)h(in)f(a)h +(selected)i(clause,)e Fs(restart-case)d Fw(returns)16 +b Fs(nil)p Fw(.)42 1913 y(The)e Fv(c)n(ase-name)g Fw(ma)o(y)e(b)q(e)j +Fs(nil)e Fw(or)h(a)f(sym)o(b)q(ol)g(naming)e(this)j(restart.)42 +1965 y(It)k(is)g(p)q(ossible)g(to)g(ha)o(v)o(e)g(more)f(than)h(one)g +(clause)h(use)g(the)f(same)f Fv(c)n(ase-name)p Fw(.)32 +b(In)0 2017 y(this)19 b(case,)h(the)f(\014rst)g(clause)h(with)e(that)h +(name)e(will)g(b)q(e)i(found)f(b)o(y)h Fs(find-restart)p +Fw(.)0 2069 y(The)e(other)h(clauses)g(are)f(accessible)i(using)d +Fs(compute-restarts)p Fw(.)24 b([In)17 b(this)g(resp)q(ect,)0 +2121 y Fs(restart-case)11 b Fw(is)j(rather)h(di\013eren)o(t)g(from)d +Fs(case)p Fw(!|GLS])42 2173 y(Eac)o(h)19 b Fv(ar)n(glist)f +Fw(is)h(a)g(normal)f(lam)o(b)q(da-li)o(st)f(con)o(taining)h(parameters) +i(to)f(b)q(e)h(b)q(ound)0 2225 y(during)15 b(the)g(execution)h(of)f +(its)g(corresp)q(onding)h Fv(form)s Fw(s.)21 b(These)16 +b(parameters)f(are)h(used)0 2277 y(to)g(pass)g(an)o(y)f(necessary)j +(data)d(from)f(a)h(call)g(to)h Fs(invoke-restart)d Fw(to)i(the)h +Fs(restart-)0 2329 y(case)d Fw(clause.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 982 1006 +982 1005 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(982)77 b(COMMON)13 +b(LISP)42 295 y Fw(By)j(default,)g Fs(invoke-restart-int)o(eract)o +(ively)d Fw(will)h(pass)j(no)f(argumen)o(ts)g(and)0 347 +y(all)c(parameters)h(m)o(ust)f(b)q(e)i(optional)e(in)h(order)h(to)f +(accommo)q(date)e(in)o(teractiv)o(e)j(restart-)0 399 +y(ing.)j(Ho)o(w)o(ev)o(er,)d(the)g(parameters)f(need)i(not)e(b)q(e)h +(optional)e(if)h(the)h Fs(:interactive)d Fw(k)o(ey-)0 +450 y(w)o(ord)17 b(has)g(b)q(een)i(used)f(to)f(inform)e +Fs(invoke-restart-i)o(ntera)o(ctive)o(ly)f Fw(ab)q(out)j(ho)o(w)0 +502 y(to)d(compute)f(a)h(prop)q(er)h(argumen)o(t)d(list.)42 +555 y(The)i(v)n(alid)e Fv(keywor)n(d)j(value)f Fw(pairs)g(are)g(the)g +(follo)o(wing:)0 664 y Fs(:test)20 b Fv(fn)0 723 y Fw(The)15 +b Fv(fn)g Fw(m)o(ust)f(b)q(e)h(a)f(suitable)h(argumen)o(t)f(for)g(the)h +Fs(function)f Fw(sp)q(ecial)h(form.)j(The)e(ex-)0 775 +y(pression)e Fs(\(function)20 b Fv(fn)p Fs(\))13 b Fw(will)f(b)q(e)i +(ev)n(aluated)f(in)h(the)g(curren)o(t)h(lexical)d(en)o(vironmen)o(t.)0 +827 y(It)17 b(should)f(pro)q(duce)i(a)e(function)g(of)g(one)h(argumen)o +(t,)f(a)g(condition.)25 b(If)16 b(this)h(function)0 879 +y(returns)22 b Fs(nil)e Fw(when)h(giv)o(en)f(some)f(condition,)i +(functions)g(suc)o(h)g(as)g Fs(find-restart)p Fw(,)0 +931 y Fs(compute-restart)p Fw(,)13 b(and)j Fs(invoke-restart)d +Fw(will)i(not)h(consider)h(this)g(restart)g(when)0 983 +y(searc)o(hing)f(for)f(restarts)i(asso)q(ciated)f(with)e(that)i +(condition.)21 b(If)15 b(this)g(pair)g(is)g(not)g(sup-)0 +1034 y(plied,)e(it)h(is)f(as)h(if)0 1144 y Fs(\(lambda)20 +b(\(c\))g(\(declare)g(\(ignore)g(c\)\))g(t\))0 1252 y +Fw(w)o(ere)15 b(used)g(for)e(the)i Fv(fn)p Fw(.)0 1361 +y Fs(:interactive)k Fv(fn)0 1424 y Fw(The)c Fv(fn)g Fw(m)o(ust)f(b)q(e) +h(a)f(suitable)h(argumen)o(t)f(for)g(the)h Fs(function)f +Fw(sp)q(ecial)h(form.)j(The)e(ex-)0 1476 y(pression)e +Fs(\(function)20 b Fv(fn)p Fs(\))13 b Fw(will)f(b)q(e)i(ev)n(aluated)f +(in)h(the)g(curren)o(t)h(lexical)d(en)o(vironmen)o(t.)0 +1528 y(It)k(should)g(pro)q(duce)h(a)f(function)g(of)g(no)g(argumen)o +(ts)f(that)h(returns)i(argumen)o(ts)d(to)h(b)q(e)0 1579 +y(used)f(b)o(y)f Fs(invoke-restart-int)o(eract)o(ively)d +Fw(when)j(in)o(v)o(oking)f(this)h(function.)19 b(This)0 +1631 y(function)h(will)e(b)q(e)j(called)e(in)h(the)g(dynamic)e(en)o +(vironmen)o(t)h(a)o(v)n(ailable)f(prior)h(to)h(an)o(y)0 +1683 y(restart)15 b(attempt.)i(It)d(ma)o(y)e(in)o(teract)j(with)e(the)i +(user)g(on)e(the)i(stream)e(in)g Fs(*query-io*)p Fw(.)42 +1736 y(If)i(a)g(restart)i(is)e(in)o(v)o(ok)o(ed)g(in)o(teractiv)o(ely)g +(but)h(no)f Fs(:interactive)e Fw(option)i(w)o(as)g(sup-)0 +1788 y(plied,)e(the)h(argumen)o(t)f(list)h(used)g(in)g(the)g(in)o(v)o +(o)q(cation)f(is)h(the)g(empt)o(y)f(list.)0 1896 y Fs(:report)20 +b Fv(exp)0 1959 y Fw(If)14 b Fv(exp)h Fw(is)f(not)g(a)h(literal)e +(string,)h(it)g(m)o(ust)g(b)q(e)h(a)f(suitable)g(argumen)o(t)f(to)h +(the)h Fs(function)0 2011 y Fw(sp)q(ecial)d(form.)j(The)d(expression)g +Fs(\(function)20 b Fv(exp)p Fs(\))11 b Fw(will)f(b)q(e)i(ev)n(aluated)f +(in)g(the)h(curren)o(t)0 2063 y(lexical)g(en)o(vironmen)o(t.)17 +b(It)c(should)f(pro)q(duce)j(a)d(function)h(of)f(one)h(argumen)o(t,)f +(a)h(stream,)0 2115 y(that)h(prin)o(ts)g(on)g(the)g(stream)g(a)g +(description)g(of)g(the)g(restart.)20 b(This)14 b(function)f(is)h +(called)0 2167 y(whenev)o(er)h(the)g(restart)g(is)f(prin)o(ted)g(while) +f Fs(*print-escape*)e Fw(is)j Fs(nil)p Fw(.)42 2220 y(If)f +Fv(exp)h Fw(is)g(a)g(literal)f(string,)g(it)h(is)g(shorthand)g(for)0 +2329 y Fs(\(lambda)20 b(\(s\))g(\(write-string)f Fv(exp)i +Fs(s\)\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 983 1007 +983 1006 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(983)0 295 y Fw([That)11 b(is,)h(a)f(function)g(is)h(pro)o(vided)f +(that)h(will)e(simply)g(write)i(the)g(giv)o(en)f(string)h(literally)0 +347 y(to)i(the)g(stream.|GLS])42 402 y(If)i(a)g(named)f(restart)j(is)f +(ask)o(ed)g(to)f(rep)q(ort)i(but)e(no)h(rep)q(ort)g(information)d(has)j +(b)q(een)0 454 y(supplied,)c(the)i(name)e(of)g(the)h(restart)i(is)d +(used)i(in)f(generating)g(default)f(rep)q(ort)i(text.)42 +509 y(When)g Fs(*print-escape*)d Fw(is)j Fs(nil)p Fw(,)f(the)i(prin)o +(ter)g(will)e(use)i(the)f(rep)q(ort)i(information)0 561 +y(for)e(a)g(restart.)25 b(F)m(or)15 b(example,)f(a)h(debugger)i(migh)o +(t)c(announce)j(the)g(action)g(of)e(t)o(yping)0 613 y(\\)p +Fs(:continue)p Fw(")d(b)o(y)j(executing)h(the)f(equiv)n(alen)o(t)f(of)0 +748 y Fs(\(format)20 b(*debug-io*)f(")433 752 y Fn(~)456 +748 y Fs(&)476 752 y Fn(~)499 748 y Fs(S)i(--)604 752 +y Fn(~)628 748 y Fs(A)648 752 y Fn(~)671 748 y Fs(\045")733 +752 y Fn(')757 748 y Fs(:continue)e(some-restart\))0 +880 y Fw(whic)o(h)14 b(migh)o(t)e(then)i(displa)o(y)f(as)h(something)f +(lik)o(e)0 1015 y Fs(:CONTINUE)19 b(--)i(Return)f(to)h(command)e +(level.)42 1147 y Fw(It)e(is)f(an)h(error)h(if)e(an)h(unnamed)f +(restart)i(is)f(used)h(and)f(no)g(rep)q(ort)h(information)c(is)0 +1199 y(pro)o(vided.)p 0 1259 V 0 1322 a Fm(Rationale:)33 +b FA(Unnamed)22 b(restarts)f(are)g(required)h(to)f(ha)o(v)o(e)g(rep)q +(ort)g(information)i(on)e(the)0 1368 y(grounds)15 b(that)f(they)g(are)g +(generally)i(only)e(useful)h(in)o(teractiv)o(ely)m(,)h(and)f(an)f(in)o +(teractiv)o(e)h(option)0 1414 y(that)e(has)h(no)f(description)j(is)d +(of)g(little)i(v)n(alue.)p 0 1461 V 0 1461 V 0 1525 a +Fm(Implemen)o(tation)d(note:)17 b FA(Implemen)o(tations)e(are)e +(encouraged)h(to)e(w)o(arn)h(ab)q(out)g(this)g(error)0 +1570 y(at)g(compilation)j(time.)42 1619 y(A)o(t)i(run)h(time,)h(this)g +(error)f(migh)o(t)g(b)q(e)g(noticed)i(when)e(en)o(tering)h(the)f +(debugger.)35 b(Since)0 1665 y(signaling)17 b(an)c(error)h(w)o(ould)g +(probably)h(cause)f(recursiv)o(e)h(en)o(try)f(in)o(to)g(the)f(debugger) +i(\(causing)0 1711 y(y)o(et)d(another)g(recursiv)o(e)h(error,)f(and)g +(so)g(on\),)g(it)g(is)g(suggested)h(that)f(the)g(debugger)h(prin)o(t)f +(some)0 1756 y(indication)k(of)d(suc)o(h)h(problems)g(when)f(they)h(o)q +(ccur,)f(but)g(not)h(actually)h(signal)g(errors.)p 0 +1830 V 42 1939 a Fw(Note)f(that)0 2058 y Fs(\(restart-case)k +Fv(expr)n(ession)42 2110 y Fs(\()p Fv(name)161 2116 y +Fk(1)202 2110 y Fv(ar)n(glist)313 2116 y Fk(1)351 2110 +y Fv(options)481 2116 y Fk(1)521 2110 y Fs(.)j Fv(b)n(o)n(dy)641 +2116 y Fk(1)660 2110 y Fs(\))42 2162 y(\()p Fv(name)161 +2168 y Fk(2)202 2162 y Fv(ar)n(glist)313 2168 y Fk(2)351 +2162 y Fv(options)481 2168 y Fk(2)521 2162 y Fs(.)g Fv(b)n(o)n(dy)641 +2168 y Fk(2)660 2162 y Fs(\))42 2213 y(...\))0 2329 y +Fw(is)14 b(essen)o(tially)g(equiv)n(alen)o(t)f(to)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 984 1008 +984 1007 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(984)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(block)20 b(#)152 291 y(-)152 299 +y(-)174 295 y(1)196 291 y(U)196 299 y(U)217 295 y(#)217 +291 y(-)217 299 y(-)239 295 y(:block-1)42 347 y(\(let)h(\(\(#)195 +343 y(-)195 351 y(-)216 347 y(2)238 343 y(U)238 351 y(U)260 +347 y(#)260 343 y(-)260 351 y(-)281 347 y(:var-2)f(nil\)\))85 +399 y(\(tagbody)127 450 y(\(restart-bind)f(\(\()p Fv(name)573 +456 y Fk(1)612 450 y Fs(#)612 446 y(-)612 454 y(-)n Fn(')655 +450 y Fs(\(lambda)h(\(&rest)g(temp\))697 502 y(\(setq)g(#)827 +498 y(-)827 506 y(-)849 502 y(2#)871 498 y(-)871 506 +y(-)914 502 y(temp\))697 554 y(\(go)h(#)784 550 y(-)784 +558 y(-)806 554 y(3)828 550 y(U)828 558 y(U)849 554 y(#)849 +550 y(-)849 558 y(-)871 554 y(:tag-3\)\))612 606 y Ft(h)p +Fw(sligh)o(tly)13 b(transformed)g Fv(options)1136 612 +y Fk(1)1155 606 y Ft(i)p Fs(\))445 658 y(\()p Fv(name)564 +664 y Fk(2)604 658 y Fs(#)604 654 y(-)604 662 y(-)m Fn(')647 +658 y Fs(\(lambda)19 b(\(&rest)h(temp\))688 710 y(\(setq)h(#)819 +706 y(-)819 714 y(-)840 710 y(2#)862 706 y(-)862 714 +y(-)905 710 y(temp\))688 762 y(\(go)g(#)775 758 y(-)775 +766 y(-)797 762 y(4)819 758 y(U)819 766 y(U)840 762 y(#)840 +758 y(-)840 766 y(-)862 762 y(:tag-4\)\))604 814 y Ft(h)p +Fw(sligh)o(tly)12 b(transformed)i Fv(options)1128 820 +y Fk(2)1147 814 y Ft(i)p Fs(\))445 866 y(...\))169 917 +y(\(return-from)19 b(#)452 913 y(-)452 921 y(-)474 917 +y(1#)496 913 y(-)496 921 y(-)539 917 y(expression\)\))127 +969 y(#)127 965 y(-)127 973 y(-)149 969 y(3#)171 965 +y(-)171 973 y(-)214 969 y(\(return-from)f(#)496 965 y(-)496 +973 y(-)518 969 y(1#)540 965 y(-)540 973 y(-)339 1021 +y(\(apply)i(#)491 1017 y(-)491 1025 y(-)m Fn(')534 1021 +y Fs(\(lambda)f Fv(ar)n(glist)818 1027 y Fk(1)857 1021 +y Fs(.)i Fv(b)n(o)n(dy)977 1027 y Fk(1)996 1021 y Fs(\))g(#)1039 +1017 y(-)1039 1025 y(-)1061 1021 y(2#)1083 1017 y(-)1083 +1025 y(-)1104 1021 y(\)\))127 1073 y(#)127 1069 y(-)127 +1077 y(-)149 1073 y(4#)171 1069 y(-)171 1077 y(-)214 +1073 y(\(return-from)d(#)496 1069 y(-)496 1077 y(-)518 +1073 y(1#)540 1069 y(-)540 1077 y(-)339 1125 y(\(apply)i(#)491 +1121 y(-)491 1129 y(-)m Fn(')534 1125 y Fs(\(lambda)f +Fv(ar)n(glist)818 1131 y Fk(2)857 1125 y Fs(.)i Fv(b)n(o)n(dy)977 +1131 y Fk(2)996 1125 y Fs(\))g(#)1039 1121 y(-)1039 1129 +y(-)1061 1125 y(2#)1083 1121 y(-)1083 1129 y(-)1104 1125 +y(\)\))127 1177 y(...\)\)\))0 1260 y Fw([Note)12 b(the)h(use)g(of)f +(\\gensyms")f(suc)o(h)i(as)g Fs(#)643 1256 y(-)643 1264 +y(-)664 1260 y(:block-1)e Fw(as)h(blo)q(c)o(k)g(names,)f(v)n(ariables,) +h(and)0 1312 y Fs(tagbody)f Fw(tags)i(in)g(this)g(example,)e(and)i(the) +g(use)h(of)e Fs(#)820 1308 y(-)820 1316 y(-)842 1312 +y Fv(n)865 1308 y Fs(U)865 1316 y(U)900 1312 y Fw(and)h +Fs(#)980 1308 y(-)980 1316 y(-)1002 1312 y Fv(n)p Fs(#)1025 +1308 y(-)1025 1316 y(-)1060 1312 y Fw(read-macro)f(syn)o(tax)0 +1364 y(to)i(indicate)g(that)f(the)i(v)o(ery)f(same)f(gensym)g(app)q +(ears)i(in)e(m)o(ultiple)f(places.|GLS])42 1416 y(Here)j(are)f(some)f +(examples)g(of)g(the)i(use)f(of)g Fs(restart-case)p Fw(.)0 +1499 y Fs(\(loop)42 1550 y(\(restart-case)19 b(\(return)h(\(apply)f +(function)h(some-args\)\))85 1602 y(\(new-function)e(\(new-function\)) +169 1654 y(:report)i("Use)g(a)h(different)f(function.")169 +1706 y(:interactive)212 1758 y(\(lambda)f(\(\))254 1810 +y(\(list)h(\(prompt-for)643 1814 y Fn(')666 1810 y Fs(function)g +("Function:)f("\)\)\))127 1862 y(\(setq)h(function)g +(new-function\)\)\)\))0 1966 y(\(loop)42 2017 y(\(restart-case)f +(\(return)h(\(apply)f(function)h(some-args\)\))85 2069 +y(\(nil)g(\(new-function\))169 2121 y(:report)g("Use)g(a)h(different)f +(function.")169 2173 y(:interactive)212 2225 y(\(lambda)f(\(\))254 +2277 y(\(list)h(\(prompt-for)643 2281 y Fn(')666 2277 +y Fs(function)g("Function:)f("\)\)\))127 2329 y(\(setq)h(function)g +(new-function\)\)\)\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 985 1009 +985 1008 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(985)0 347 y Fs(\(restart-case)18 b(\(a-command-loop\))42 +399 y(\(return-from-comman)o(d-lev)o(el)g(\(\))127 450 +y(:report)169 502 y(\(lambda)i(\(s\))105 b(;)p Fw(Argumen)o(t)13 +b Fs(s)h Fw(is)g(a)f(stream)212 554 y Fs(\(format)19 +b(s)i("Return)f(from)g(command)g(level)1012 558 y Fn(~)1035 +554 y Fs(D.")h(level\)\))85 606 y(nil\)\))0 710 y(\(loop)42 +762 y(\(restart-case)e(\(another-random-c)o(ompu)o(tatio)o(n\))85 +814 y(\(continue)g(\(\))i(nil\)\)\))0 895 y Fw(The)10 +b(\014rst)g(and)g(second)g(examples)f(are)h(equiv)n(alen)o(t)e(from)g +(the)i(p)q(oin)o(t)f(of)g(view)g(of)g(someone)0 947 y(using)g(the)i(in) +o(teractiv)o(e)f(debugger,)h(but)f(they)g(di\013er)g(in)g(one)g(imp)q +(ortan)o(t)e(asp)q(ect)j(for)e(non-)0 999 y(in)o(teractiv)o(e)17 +b(handling.)25 b(If)16 b(a)g(handler)h(\\kno)o(ws)f(ab)q(out")g(named)g +(restarts,)i(as)f(in,)f(for)0 1051 y(example,)0 1132 +y Fs(\(when)k(\(find-restart)432 1136 y Fn(')456 1132 +y Fs(new-function\))42 1184 y(\(invoke-restart)388 1188 +y Fn(')412 1184 y Fs(new-function)e(the-replacement\)\))0 +1266 y Fw(then)c(only)f(the)h(\014rst)g(example,)e(and)h(not)g(the)h +(second,)h(will)d(ha)o(v)o(e)h(con)o(trol)g(transferred)0 +1318 y(to)19 b(its)h(correction)g(clause,)h(since)g(only)d(the)j +(\014rst)f(example)e(uses)j(a)e(restart)i(named)0 1370 +y Fs(new-function)p Fw(.)42 1439 y(Here)15 b(is)e(a)h(more)f(complete)g +(example:)0 1521 y Fs(\(let)20 b(\(\(my-food)323 1525 +y Fn(')347 1521 y Fs(milk\))127 1573 y(\(my-color)342 +1577 y Fn(')366 1573 y Fs(greenish-blue\)\))42 1625 y(\(do)h(\(\))127 +1676 y(\(\(not)f(\(bad-food-color-p)e(my-food)i(my-color\)\)\))85 +1728 y(\(restart-case)e(\(error)539 1732 y Fn(')562 1728 +y Fs(bad-food-color)529 1780 y(:food)i(my-food)g(:color)g(my-color\)) +127 1832 y(\(use-food)f(\(new-food\))212 1884 y(:report)g("Use)i +(another)e(food.")169 1936 y(\(setq)i(my-food)e(new-food\)\))127 +1988 y(\(use-color)g(\(new-color\))212 2040 y(:report)g("Use)i(another) +e(color.")169 2092 y(\(setq)i(my-color)e(new-color\)\)\)\))42 +2143 y(;;)i(We)g(won)236 2147 y Fn(')258 2143 y Fs(t)g(get)g(to)g(here) +f(until)g(MY-FOOD)42 2195 y(;;)h(and)g(MY-COLOR)e(are)i(compatible.)42 +2247 y(\(list)f(my-food)g(my-color\)\))0 2329 y Fw(Assuming)13 +b(that)h Fs(use-food)e Fw(and)i Fs(use-color)e Fw(ha)o(v)o(e)h(b)q(een) +i(de\014ned)g(as)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 986 1010 +986 1009 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(986)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(defun)20 b(use-food)f(\(new-food\))42 +347 y(\(invoke-restart)388 351 y Fn(')412 347 y Fs(use-food)g +(new-food\)\))0 450 y(\(defun)h(use-color)f(\(new-color\))42 +502 y(\(invoke-restart)388 506 y Fn(')412 502 y Fs(use-color)g +(new-color\)\))0 584 y Fw(a)11 b(handler)h(can)g(then)g(restart)g(from) +e(the)i(error)h(in)e(either)h(of)f(t)o(w)o(o)g(w)o(a)o(ys.)17 +b(It)11 b(ma)o(y)f(correct)0 636 y(the)k(color)g(or)g(correct)i(the)e +(fo)q(o)q(d.)k(F)m(or)13 b(example:)0 718 y Fs(#)0 714 +y(-)0 722 y(-)n Fn(')43 718 y Fs(\(lambda)20 b(\(c\))g(...)h +(\(use-color)627 722 y Fn(')650 718 y Fs(white\))f(...\))63 +b(;)p Fw(Corrects)15 b Fs(color)0 822 y(#)0 818 y(-)0 +826 y(-)n Fn(')43 822 y Fs(\(lambda)20 b(\(c\))g(...)h(\(use-food)605 +826 y Fn(')628 822 y Fs(cheese\))f(...\))63 b(;)p Fw(Corrects)15 +b Fs(food)42 904 y Fw(Here)h(is)f(an)g(example)f(using)h +Fs(handler-bind)e Fw(and)i Fs(restart-case)e Fw(that)i(refers)i(to)0 +956 y(a)d(condition)f(t)o(yp)q(e)h Fs(foo-error)p Fw(,)e(presumably)h +(de\014ned)i(elsewhere:)0 1038 y Fs(\(handler-bind)j(\(\(foo-error)h(#) +565 1034 y(-)565 1042 y(-)n Fn(')608 1038 y Fs(\(lambda)h(\(ignore\))g +(\(use-value)f(7\)\)\)\))42 1089 y(\(restart-case)g(\(error)497 +1093 y Fn(')520 1089 y Fs(foo-error\))85 1141 y(\(use-value)g(\(x\))h +(\(*)h(x)g(x\)\)\)\))21 1193 y Ft(\))g Fs(49)-33 1272 +y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 1301 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(restart-bind)33 b(\()7 b Ft(f)p Fs(\()p Fv(name)14 +b(function)23 b Ft(f)p Fv(keywor)n(d)14 b(value)p Ft(g)943 +1286 y Fl(\003)969 1301 y Fs(\))p Ft(g)1012 1286 y Fl(\003)1037 +1301 y Fs(\))22 b Ft(f)7 b Fv(form)p Ft(g)1216 1286 y +Fl(\003)0 1378 y Fw(Executes)15 b(a)e(b)q(o)q(dy)h(of)e(forms)g(in)h(a) +g(dynamic)f(con)o(text)i(where)g(the)g(giv)o(en)f(restart)h(bind-)0 +1429 y(ings)g(are)g(in)f(e\013ect.)42 1481 y(Eac)o(h)k +Fv(name)g Fw(ma)o(y)e(b)q(e)i Fs(nil)f Fw(to)h(indicate)g(an)f(anon)o +(ymous)f(restart,)j(or)f(some)f(other)0 1533 y(sym)o(b)q(ol)c(to)i +(indicate)g(a)f(named)g(restart.)42 1585 y(Eac)o(h)k +Fv(function)g Fw(is)g(a)f(form)g(that)h(should)f(ev)n(aluate)h(to)g(a)f +(function)h(to)g(b)q(e)g(used)h(to)0 1637 y(p)q(erform)i(the)h +(restart.)39 b(If)20 b(in)o(v)o(ok)o(ed,)h(this)g(function)f(ma)o(y)f +(either)i(p)q(erform)f(a)g(non-)0 1689 y(lo)q(cal)c(transfer)i(of)f +(con)o(trol)g(or)g(it)g(ma)o(y)e(return)j(normally)m(.)25 +b(The)18 b(function)e(ma)o(y)g(tak)o(e)0 1741 y(whatev)o(er)e(argumen)o +(ts)f(the)i(programmer)c(feels)j(are)g(appropriate;)g(it)f(will)f(b)q +(e)j(in)o(v)o(ok)o(ed)0 1793 y(only)j(if)h Fs(invoke-restart)d +Fw(is)j(used)h(from)d(a)i(program,)f(or)i(if)e(a)h(user)h(in)o +(teractiv)o(ely)0 1845 y(asks)g(the)h(debugger)g(to)f(in)o(v)o(ok)o(e)f +(it.)36 b(In)20 b(the)h(case)g(of)e(in)o(teractiv)o(e)h(in)o(v)o(o)q +(cation,)g(the)0 1896 y Fs(:interactive-func)o(tion)10 +b Fw(option)k(is)f(used.)42 1967 y(The)h(v)n(alid)e Fv(keywor)n(d)j +(value)f Fw(pairs)g(are)g(as)g(follo)o(ws:)0 2062 y Fs(:test-function)k +Fv(form)0 2121 y Fw(The)c Fv(form)f Fw(will)f(b)q(e)j(ev)n(aluated)e +(in)g(the)i(curren)o(t)g(lexical)e(en)o(vironmen)o(t)f(and)i(should)f +(re-)0 2173 y(turn)d(a)g(function)f(of)g(one)h(argumen)o(t,)f(a)g +(condition.)16 b(If)10 b(this)f(function)h(returns)h +Fs(nil)e Fw(when)0 2225 y(giv)o(en)19 b(some)f(condition,)h(functions)h +(suc)o(h)g(as)f Fs(find-restart)p Fw(,)e Fs(compute-restart)p +Fw(,)0 2277 y(and)11 b Fs(invoke-restart)e Fw(will)h(not)h(consider)i +(this)e(restart)i(when)f(searc)o(hing)g(for)f(restarts)0 +2329 y(asso)q(ciated)k(with)e(that)h(condition.)j(If)d(this)g(pair)f +(is)h(not)g(supplied,)f(it)h(is)g(as)g(if)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 987 1011 +987 1010 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(987)0 295 y Fs(#)0 291 y(-)0 299 y(-)n Fn(')43 295 +y Fs(\(lambda)20 b(\(c\))g(\(declare)g(\(ignore)f(c\)\))i(t\))0 +395 y Fw(w)o(ere)15 b(used)g(for)e(the)i Fv(form)p Fw(.)0 +495 y Fs(:interactive-func)o(tion)j Fv(form)0 558 y Fw(The)i +Fv(form)e Fw(will)g(b)q(e)i(ev)n(aluated)f(in)g(the)h(curren)o(t)h +(lexical)d(en)o(vironmen)o(t)h(and)g(should)0 609 y(return)e(a)f +(function)g(of)f(no)h(argumen)o(ts)f(that)h(constructs)i(a)e(list)g(of) +f(argumen)o(ts)g(to)h(b)q(e)0 661 y(used)j(b)o(y)g Fs(invoke-restart-)o +(inter)o(activ)o(ely)c Fw(when)k(in)o(v)o(oking)e(this)h(restart.)33 +b(The)0 713 y(function)14 b(ma)o(y)e(prompt)g(in)o(teractiv)o(ely)i +(using)g Fs(*query-io*)d Fw(if)i(necessary)m(.)0 813 +y Fs(:report-function)18 b Fv(form)0 876 y Fw(The)i Fv(form)e +Fw(will)g(b)q(e)i(ev)n(aluated)f(in)g(the)h(curren)o(t)h(lexical)d(en)o +(vironmen)o(t)h(and)g(should)0 928 y(return)h(a)f(function)g(of)g(one)g +(argumen)o(t,)g(a)g(stream,)h(that)f(prin)o(ts)g(on)g(the)h(stream)f(a) +0 980 y(summary)10 b(of)i(the)h(action)f(this)h(restart)h(will)d(tak)o +(e.)18 b(This)12 b(function)h(is)f(called)g(whenev)o(er)0 +1032 y(the)i(restart)i(is)d(prin)o(ted)i(while)e Fs(*print-escape*)e +Fw(is)j Fs(nil)p Fw(.)-33 1125 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 1153 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(with-condition-re)o(start)o(s)32 b Fv(c)n(ondition-form)15 +b(r)n(estarts-form)529 1205 y Ft(f)p Fv(de)n(clar)n(ation)p +Ft(g)768 1190 y Fl(\003)815 1205 y Ft(f)7 b Fv(form)p +Ft(g)950 1190 y Fl(\003)0 1282 y Fw(The)12 b(v)n(alue)f(of)g +Fv(c)n(ondition-form)g Fw(should)g(b)q(e)i(a)e(condition)g +Fv(C)g Fw(and)g(the)h(v)n(alue)f(of)g Fv(r)n(estarts-)0 +1334 y(form)16 b Fw(should)g(b)q(e)h(a)f(list)g(of)g(restarts)i +Fs(\()p Fv(R1)j(R2)h Fs(...\))p Fw(.)j(The)17 b Fv(form)s +Fw(s)f(of)g(the)h(b)q(o)q(dy)f(are)0 1386 y(ev)n(aluated)g(as)h(an)f +(implicit)e Fs(progn)p Fw(.)24 b(While)16 b(in)g(the)h(dynamic)e(con)o +(text)i(of)f(the)h(b)q(o)q(dy)m(,)0 1437 y(an)h(attempt)f(to)h(\014nd)g +(a)g(restart)h(asso)q(ciated)g(with)e(a)h(particular)g(condition)f +Fv(C)1301 1422 y Fl(0)1330 1437 y Fw(will)0 1489 y(consider)e(the)f +(restarts)i Fv(R1)p Fw(,)e Fv(R2)p Fw(,)g Fh(:)7 b(:)g(:)12 +b Fw(if)h Fv(C)674 1474 y Fl(0)699 1489 y Fw(is)h Fs(eq)f +Fw(to)h Fv(C)p Fw(.)42 1541 y(Usually)i(this)i(macro)e(is)h(not)h(used) +g(explicitly)e(in)h(co)q(de,)i(b)q(ecause)g Fs(restart-case)0 +1593 y Fw(handles)13 b(most)f(of)g(the)i(common)c(uses)k(in)e(a)h(w)o +(a)o(y)f(that)h(is)g(syn)o(tactically)f(more)g(concise.)42 +1645 y([The)17 b(X3J13)g(v)o(ote)h Ft(h)p Fw(31)p Ft(i)g +Fw(left)f(it)g(unclear)i(whether)g Fs(with-condition-)o(resta)o(rts)0 +1697 y Fw(p)q(ermits)d(declarations)h(to)f(app)q(ear)i(at)e(the)h +(heads)h(of)e(its)g(b)q(o)q(dy)m(.)26 b(I)17 b(b)q(eliev)o(e)g(that)g +(w)o(as)0 1749 y(the)d(in)o(ten)o(t,)g(but)g(this)g(is)g(only)f(m)o(y)f +(in)o(terpretation.|GLS])0 1892 y Fo(29.4.8.)20 b(Finding)15 +b(and)g(Manipulating)g(Restarts)0 1975 y Fw(The)10 b(follo)o(wing)e +(functions)i(determine)g(what)g(restarts)h(are)g(activ)o(e)f(and)f(in)o +(v)o(ok)o(e)g(restarts.)1209 2096 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(compute-restarts)18 b(&optional)h Fv(c)n(ondition)0 +2173 y Fw(Uses)c(the)g(dynamic)e(state)i(of)e(the)i(program)e(to)h +(compute)g(a)g(list)f(of)h(the)h(restarts)h(that)0 2225 +y(are)e(curren)o(tly)h(activ)o(e.)j(See)d Fs(restart-bind)p +Fw(.)42 2277 y(If)d Fv(c)n(ondition)i Fw(is)f Fs(nil)f +Fw(or)i(not)f(supplied,)f(all)g(outstanding)h(restarts)i(are)f +(returned.)19 b(If)0 2329 y Fv(c)n(ondition)11 b Fw(is)g(not)g +Fs(nil)p Fw(,)f(only)g(restarts)i(asso)q(ciated)g(with)e(that)h +(condition)f(are)h(returned.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 988 1012 +988 1011 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(988)77 b(COMMON)13 +b(LISP)42 295 y Fw(Eac)o(h)g(restart)h(represen)o(ts)h(a)e(function)f +(that)h(can)g(b)q(e)g(called)g(to)g(p)q(erform)f(some)f(form)0 +347 y(of)e(reco)o(v)o(ery)i(action,)f(usually)f(a)h(transfer)g(of)g +(con)o(trol)f(to)h(an)f(outer)i(p)q(oin)o(t)e(in)h(the)g(running)0 +399 y(program.)25 b(Implemen)o(tations)14 b(are)j(free)h(to)e(implemen) +o(t)e(these)19 b(ob)r(jects)f(in)e(whatev)o(er)0 450 +y(manner)d(is)g(most)f(con)o(v)o(enien)o(t;)i(the)g(ob)r(jects)h(need)f +(ha)o(v)o(e)g(only)e(dynamic)g(exten)o(t)j(\(rela-)0 +502 y(tiv)o(e)f(to)f(the)i(scop)q(e)g(of)e(the)i(binding)e(form)f(that) +i(instan)o(tiates)g(them\).)42 554 y(The)j(list)f(that)h(results)h +(from)d(a)i(call)f(to)g Fs(compute-restarts)e Fw(is)j(ordered)h(so)f +(that)0 606 y(the)f(inner)f(\(that)h(is,)f(more)f(recen)o(tly)j +(established\))f(restarts)h(are)e(nearer)i(the)f(head)f(of)0 +658 y(the)f(list.)42 710 y(Note,)24 b(to)q(o,)g(that)f +Fs(compute-restart)o(s)d Fw(returns)k(all)d(v)n(alid)g(restarts,)26 +b(including)0 762 y(anon)o(ymous)16 b(ones,)k(ev)o(en)f(if)f(some)f(of) +h(them)f(ha)o(v)o(e)i(the)f(same)g(name)f(as)i(others)g(and)0 +814 y(w)o(ould)d(therefore)i(not)f(b)q(e)g(found)f(b)o(y)h +Fs(find-restart)d Fw(when)j(giv)o(en)g(a)f(sym)o(b)q(ol)f(argu-)0 +866 y(men)o(t.)42 917 y(Implemen)o(tatio)o(ns)d(are)j(p)q(ermitted,)f +(but)h(not)f(required,)h(to)f(return)i(di\013eren)o(t)g(\(that)0 +969 y(is,)e(non-)p Fs(eq)p Fw(\))g(lists)h(from)e(rep)q(eated)k(calls)d +(to)g Fs(compute-restarts)e Fw(while)i(in)g(the)i(same)0 +1021 y(dynamic)g(en)o(vironmen)o(t.)27 b(It)17 b(is)g(an)g(error)i(to)e +(mo)q(dify)e(the)j(list)e(that)i(is)f(returned)i(b)o(y)0 +1073 y Fs(compute-restarts)p Fw(.)1209 1190 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(restart-name)19 b Fv(r)n(estart)0 1267 +y Fw(Returns)c(the)f(name)f(of)g(the)i(giv)o(en)e Fv(r)n(estart)p +Fw(,)f(or)i Fs(nil)f Fw(if)g(it)h(is)g(not)f(named.)1209 +1384 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(find-restart)19 +b Fv(r)n(estart)p Fs(-)p Fv(identi\014er)24 b Fs(&optional)19 +b Fv(c)n(ondition)0 1460 y Fw(Searc)o(hes)d(for)d(a)h(particular)f +(restart)j(in)d(the)h(curren)o(t)i(dynamic)c(en)o(vironmen)o(t.)42 +1512 y(If)h Fv(c)n(ondition)i Fw(is)f Fs(nil)f Fw(or)i(not)f(supplied,) +g(all)f(outstanding)g(restarts)j(are)f(considered.)0 +1564 y(If)g Fv(c)n(ondition)g Fw(is)g(not)g Fs(nil)p +Fw(,)g(only)f(restarts)j(asso)q(ciated)f(with)f(that)g(condition)f(are) +i(con-)0 1616 y(sidered.)42 1668 y(If)g(the)i Fv(r)n +(estart-identi\014er)d Fw(is)i(a)g(non-)p Fs(nil)f Fw(sym)o(b)q(ol,)g +(then)h(the)h(innermost)e(\(that)h(is,)0 1720 y(most)11 +b(recen)o(tly)i(established\))g(restart)g(with)f(that)g(name)f(is)h +(returned;)i Fs(nil)d Fw(is)h(returned)0 1772 y(if)h(no)h(suc)o(h)g +(restart)i(is)d(found.)42 1824 y(If)h Fv(r)n(estart-identi\014er)f +Fw(is)i(a)g(restart)h(ob)r(ject,)g(then)g(it)e(is)h(simply)e(returned,) +j(unless)g(it)0 1876 y(is)e(not)g(curren)o(tly)g(activ)o(e,)g(in)f +(whic)o(h)h(case)h Fs(nil)e Fw(is)h(returned.)42 1927 +y(Although)j(anon)o(ymous)g(restarts)j(ha)o(v)o(e)e(a)g(name)f(of)h +Fs(nil)p Fw(,)g(it)g(is)h(an)f(error)h(for)f(the)0 1979 +y(sym)o(b)q(ol)g Fs(nil)h Fw(to)h(b)q(e)g(giv)o(en)g(as)g(the)g +Fv(r)n(estart-identi\014er)p Fw(.)34 b(Applications)20 +b(that)g(w)o(ould)0 2031 y(seem)12 b(to)g(require)g(this)g(should)g(b)q +(e)h(rewritten)g(to)f(mak)o(e)e(appropriate)i(use)h(of)e +Fs(compute-)0 2083 y(restarts)h Fw(instead.)1209 2200 +y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(invoke-restart)18 +b Fv(r)n(estart)p Fs(-)p Fv(identi\014er)24 b Fs(&rest)c +Fv(ar)n(guments)0 2277 y Fw(Calls)f(the)h(function)f(asso)q(ciated)i +(with)e(the)h(giv)o(en)g Fv(r)n(estart-identi\014er)p +Fw(,)f(passing)g(an)o(y)0 2329 y(giv)o(en)10 b Fv(ar)n(guments)p +Fw(.)17 b(The)11 b Fv(r)n(estart-identi\014er)e Fw(m)o(ust)h(b)q(e)h(a) +g(restart)h(or)e(the)i(non-n)o(ull)d(name)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 989 1013 +989 1012 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(989)0 295 y Fw(of)15 b(a)g(restart)i(that)e(is)h(v)n(alid)d(in)i(the) +h(curren)o(t)h(dynamic)d(con)o(text.)23 b(If)16 b(the)g(argumen)o(t)e +(is)0 347 y(not)g(v)n(alid,)e(an)h(error)i(of)e(t)o(yp)q(e)i +Fs(control-error)c Fw(will)h(b)q(e)j(signaled.)p 0 406 +V 0 467 a Fm(Implemen)o(tation)e(note:)k FA(Restart)d(functions)g(call) +g(this)g(function,)g(not)g(vice)g(v)o(ersa.)p 0 499 V +1209 594 a Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(invoke-restart-in)o +(terac)o(tivel)o(y)18 b Fv(r)n(estart)p Fs(-)p Fv(identi\014er)0 +671 y Fw(Calls)c(the)i(function)f(asso)q(ciated)h(with)e(the)i(giv)o +(en)f Fv(r)n(estart-identi\014er)p Fw(,)e(prompting)g(for)0 +723 y(an)o(y)f(necessary)j(argumen)o(ts.)i(The)c Fv(r)n +(estart-identi\014er)e Fw(m)o(ust)h(b)q(e)h(a)g(restart)h(or)f(the)g +(non-)0 775 y(n)o(ull)k(name)f(of)h(a)g(restart)i(that)f(is)f(v)n(alid) +g(in)g(the)h(curren)o(t)h(dynamic)d(con)o(text.)30 b(If)17 +b(the)0 827 y(argumen)o(t)c(is)h(not)f(v)n(alid,)f(an)i(error)h(of)e(t) +o(yp)q(e)h Fs(control-error)d Fw(will)i(b)q(e)h(signaled.)42 +879 y(The)g(function)h Fs(invoke-restart-)o(inter)o(activ)o(ely)c +Fw(will)i(prompt)g(for)h(argumen)o(ts)0 931 y(b)o(y)j(executing)g(the)h +(co)q(de)f(pro)o(vided)g(in)f(the)i Fs(:interactive)c +Fw(k)o(eyw)o(ord)j(to)f Fs(restart-)0 982 y(case)d Fw(or)h +Fs(:interactive-func)o(tion)c Fw(k)o(eyw)o(ord)k(to)g +Fs(restart-bind)p Fw(.)42 1034 y(If)g(no)g Fs(:interactive)e +Fw(or)i Fs(:interactive-functi)o(on)e Fw(option)h(has)i(b)q(een)h +(supplied)0 1086 y(in)g(the)i(corresp)q(onding)g Fs(restart-case)c +Fw(or)j Fs(restart-bind)p Fw(,)d(then)k(it)e(is)h(an)g(error)h(if)0 +1138 y(the)12 b(restart)g(tak)o(es)g(required)g(argumen)o(ts.)17 +b(If)11 b(the)h(argumen)o(ts)e(are)i(optional,)e(an)h(empt)o(y)0 +1190 y(argumen)o(t)i(list)g(will)g(b)q(e)h(used)h(in)e(this)h(case.)42 +1242 y(Once)21 b Fs(invoke-restart-int)o(erac)o(tivel)o(y)d +Fw(has)i(calculated)g(the)h(argumen)o(ts,)g(it)0 1294 +y(simply)12 b(p)q(erforms)h Fs(\(apply)20 b(#)458 1290 +y(-)458 1298 y(-)n Fn(')501 1294 y Fs(invoke-restart)e +Fv(r)n(estart)p Fs(-)p Fv(identi\014er)i(ar)n(guments)p +Fs(\))p Fw(.)42 1346 y Fs(invoke-restart-)o(inter)o(activ)o(ely)15 +b Fw(is)j(used)i(in)o(ternally)d(b)o(y)i(the)g(debugger)g(and)0 +1398 y(ma)o(y)g(also)h(b)q(e)i(useful)f(in)f(implemen)o(ting)d(other)22 +b(p)q(ortable,)g(in)o(teractiv)o(e)f(debugging)0 1449 +y(to)q(ols.)0 1587 y Fo(29.4.9.)f(W)-5 b(arnings)0 1669 +y Fw(W)m(arnings)12 b(are)i(a)e(sub)q(class)j(of)d(errors)j(that)e(are) +g(con)o(v)o(en)o(tionally)f(regarded)i(as)f(\\mild.")1209 +1785 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(warn)20 b +Fv(datum)25 b Fs(&rest)20 b Fv(ar)n(guments)0 1862 y +Fw([This)13 b(sup)q(ersedes)k(the)e(description)f(of)f +Fs(warn)h Fw(giv)o(en)f(in)g(section)i(24.1.|GLS])42 +1914 y(W)m(arns)e(ab)q(out)h(a)f(situation,)g(b)o(y)h(signaling)e(a)i +(condition)f(of)g(t)o(yp)q(e)h Fs(warning)p Fw(.)42 1966 +y(If)h Fv(datum)h Fw(is)g(a)f(condition,)h(then)g(that)g(condition)f +(is)h(used)h(directly)m(.)23 b(In)16 b(this)g(case,)0 +2017 y(if)f(the)h(condition)e(is)h(not)h(of)f(t)o(yp)q(e)g +Fs(warning)f Fw(or)i(argumen)o(ts)e(is)i(non-)p Fs(nil)p +Fw(,)e(an)h(error)h(of)0 2069 y(t)o(yp)q(e)e Fs(type-error)e +Fw(is)i(signaled.)42 2121 y(If)22 b Fv(datum)i Fw(is)f(a)g(condition)f +(t)o(yp)q(e)i(\(a)f(class)g(or)g(class)h(name\),)g(then)f(the)h(condi-) +0 2173 y(tion)13 b(used)h(is)g(e\013ectiv)o(ely)g(the)g(result)g(of)f +Fs(\(apply)20 b(#)799 2169 y(-)799 2177 y(-)n Fn(')842 +2173 y Fs(make-condition)e Fv(datum)k(ar)n(gu-)0 2225 +y(ments)p Fs(\))p Fw(.)c(This)13 b(result)g(m)o(ust)g(b)q(e)g(of)g(t)o +(yp)q(e)g Fs(warning)f Fw(or)h(an)g(error)h(of)e(t)o(yp)q(e)i +Fs(type-error)0 2277 y Fw(is)g(signaled.)42 2329 y(If)f +Fv(datum)h Fw(is)g(a)g(string,)f(then)i(the)f(condition)f(used)i(is)f +(e\013ectiv)o(ely)h(the)f(result)h(of)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 990 1014 +990 1013 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(990)77 b(COMMON)13 +b(LISP)0 295 y Fs(\(make-condition)346 299 y Fn(')369 +295 y Fs(simple-error)339 347 y(:format-string)18 b Fv(datum)339 +399 y Fs(:format-argument)o(s)g Fv(ar)n(guments)p Fs(\))42 +484 y Fw(The)c(precise)h(mec)o(hanism)d(for)h(w)o(arning)g(is)h(as)g +(follo)o(ws.)0 554 y(1.)9 b(The)14 b(w)o(arning)f(condition)g(is)h +(signaled.)42 618 y(While)c(the)i Fs(warning)e Fw(condition)g(is)h(b)q +(eing)g(signaled,)g(the)h Fs(muffle-warning)c Fw(restart)42 +670 y(is)15 b(established)h(for)f(use)i(b)o(y)e(a)g(handler)h(to)f(b)o +(ypass)h(further)g(action)g(b)o(y)f Fs(warn)g Fw(\(that)42 +722 y(is,)e(to)h(cause)g Fs(warn)f Fw(to)h(immediately)d(return)k +Fs(nil)p Fw(\).)42 786 y(As)36 b(part)g(of)f(the)h(signaling)e(pro)q +(cess,)42 b(if)35 b Fs(\(typep)20 b Fv(c)n(ondition)i +Fs(*break-on-)42 838 y(signals*\))10 b Fw(is)j(true,)g(then)h(a)e +Fs(break)g Fw(will)f(o)q(ccur)j(prior)e(to)h(b)q(eginning)f(the)h +(signaling)42 890 y(pro)q(cess.)0 972 y(2.)c(If)15 b(no)g(handlers)h +(for)f(the)i(w)o(arning)d(condition)h(are)h(found,)f(or)h(if)f(all)f +(suc)o(h)i(handlers)42 1024 y(decline,)11 b(then)g(the)h(condition)e +(will)f(b)q(e)j(rep)q(orted)g(to)f Fs(*error-output*)d +Fw(b)o(y)i(the)i Fs(warn)42 1076 y Fw(function)d(\(with)h(p)q(ossible)g +(implemen)o(tatio)o(n-sp)q(eci\014c)f(extra)h(output)g(suc)o(h)h(as)f +(motion)42 1127 y(to)i(a)h(fresh)g(line)g(b)q(efore)g(or)g(after)g(the) +g(displa)o(y)f(of)h(the)g(w)o(arning,)f(or)g(supplying)h(some)42 +1179 y(in)o(tro)q(ductory)h(text)g(men)o(tioning)e(the)j(name)d(of)i +(the)g(function)g(that)g(called)g Fs(warn)f Fw(or)42 +1231 y(the)h(fact)g(that)g(this)g(is)g(a)f(w)o(arning\).)0 +1313 y(3.)c(The)14 b(v)n(alue)f(returned)j(b)o(y)d Fs(warn)g +Fw(\(if)h(it)f(returns\))j(is)d Fs(nil)p Fw(.)0 1465 +y Fo(29.4.10.)20 b(Restart)14 b(F)-5 b(unctions)0 1551 +y Fw(Common)11 b(Lisp)i(has)h(the)h(follo)o(wing)c(restart)k(functions) +f(built)f(in.)1209 1682 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(abort)20 b(&optional)f Fv(c)n(ondition)0 1758 y +Fw(This)12 b(function)h(transfers)h(con)o(trol)e(to)g(the)i(restart)g +(named)d Fs(abort)p Fw(.)16 b(If)d(no)f(suc)o(h)h(restart)0 +1810 y(exists,)h Fs(abort)f Fw(signals)g(an)h(error)h(of)e(t)o(yp)q(e)h +Fs(control-error)p Fw(.)42 1862 y(If)f Fv(c)n(ondition)i +Fw(is)f Fs(nil)f Fw(or)i(not)f(supplied,)g(all)f(outstanding)g +(restarts)j(are)f(considered.)0 1914 y(If)g Fv(c)n(ondition)g +Fw(is)g(not)g Fs(nil)p Fw(,)g(only)f(restarts)j(asso)q(ciated)f(with)f +(that)g(condition)f(are)i(con-)0 1966 y(sidered.)42 2018 +y(The)e(purp)q(ose)i(of)d(the)i Fs(abort)f Fw(restart)h(is)f(generally) +g(to)g(allo)o(w)f(con)o(trol)h(to)g(return)i(to)0 2070 +y(the)e(innermost)g(\\comma)o(nd)d(lev)o(el.")1209 2200 +y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(continue)20 b(&optional)f +Fv(c)n(ondition)0 2277 y Fw(This)f(function)g(transfers)h(con)o(trol)f +(to)g(the)g(restart)i(named)d Fs(continue)p Fw(.)28 b(If)18 +b(no)g(suc)o(h)0 2329 y(restart)d(exists,)f Fs(continue)f +Fw(returns)i Fs(nil)p Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 991 1015 +991 1014 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(991)42 295 y Fw(If)13 b Fv(c)n(ondition)i Fw(is)f Fs(nil)f +Fw(or)i(not)f(supplied,)g(all)f(outstanding)g(restarts)j(are)f +(considered.)0 347 y(If)g Fv(c)n(ondition)g Fw(is)g(not)g +Fs(nil)p Fw(,)g(only)f(restarts)j(asso)q(ciated)f(with)f(that)g +(condition)f(are)i(con-)0 399 y(sidered.)42 450 y(The)21 +b Fs(continue)e Fw(restart)j(is)f(generally)f(part)h(of)f(simple)f +(proto)q(cols)i(where)h(there)0 502 y(is)e(a)g(single)g(\\ob)o(vious")f +(w)o(a)o(y)h(to)g(con)o(tin)o(ue,)i(as)e(with)g Fs(break)g +Fw(and)g Fs(cerror)p Fw(.)36 b(Some)0 554 y(user-de\014ned)16 +b(proto)q(cols)f(ma)o(y)d(also)h(wish)i(to)f(incorp)q(orate)g(it)g(for) +g(similar)e(reasons.)20 b(In)0 606 y(general,)c(ho)o(w)o(ev)o(er,)f(it) +g(is)h(more)e(reliable)h(to)h(design)f(a)g(sp)q(ecial-purp)q(ose)i +(restart)g(with)0 658 y(a)d(name)e(that)i(b)q(etter)i(suits)e(the)h +(particular)e(application.)1209 772 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(muffle-warning)18 b(&optional)i Fv(c)n(ondition)0 +849 y Fw(This)15 b(function)g(transfers)i(con)o(trol)e(to)g(the)h +(restart)h(named)d Fs(muffle-warning)p Fw(.)19 b(If)c(no)0 +901 y(suc)o(h)f(restart)g(exists,)g Fs(muffle-warning)c +Fw(signals)i(an)h(error)h(of)e(t)o(yp)q(e)i Fs(control-error)p +Fw(.)42 953 y(If)f Fv(c)n(ondition)i Fw(is)f Fs(nil)f +Fw(or)i(not)f(supplied,)g(all)f(outstanding)g(restarts)j(are)f +(considered.)0 1005 y(If)g Fv(c)n(ondition)g Fw(is)g(not)g +Fs(nil)p Fw(,)g(only)f(restarts)j(asso)q(ciated)f(with)f(that)g +(condition)f(are)i(con-)0 1057 y(sidered.)42 1108 y Fs(warn)11 +b Fw(sets)i(up)f(this)g(restart)i(so)e(that)g(handlers)g(of)g +Fs(warning)e Fw(conditions)i(ha)o(v)o(e)g(a)f(w)o(a)o(y)0 +1160 y(to)j(tell)h Fs(warn)e Fw(that)i(a)f Fs(warning)f +Fw(has)i(already)f(b)q(een)i(dealt)e(with)h(and)f(that)h(no)f(further)0 +1212 y(action)g(is)f(w)o(arran)o(ted.)1209 1326 y([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(store-value)19 b Fv(value)24 +b Fs(&optional)c Fv(c)n(ondition)0 1403 y Fw(This)15 +b(function)f(transfers)i(con)o(trol)f(\(and)g(one)g(v)n(alue\))f(to)h +(the)g(restart)h(named)e Fs(store-)0 1455 y(value)p Fw(.)j(If)c(no)h +(suc)o(h)h(restart)g(exists,)f Fs(store-value)e Fw(returns)j +Fs(nil)p Fw(.)42 1507 y(If)e Fv(c)n(ondition)i Fw(is)f +Fs(nil)f Fw(or)i(not)f(supplied,)g(all)f(outstanding)g(restarts)j(are)f +(considered.)0 1559 y(If)g Fv(c)n(ondition)g Fw(is)g(not)g +Fs(nil)p Fw(,)g(only)f(restarts)j(asso)q(ciated)f(with)f(that)g +(condition)f(are)i(con-)0 1611 y(sidered.)42 1663 y(The)i +Fs(store-value)e Fw(restart)j(is)f(generally)f(used)i(b)o(y)f(handlers) +g(trying)g(to)g(reco)o(v)o(er)0 1715 y(from)c(errors)j(of)f(t)o(yp)q +(es)h(suc)o(h)f(as)g Fs(cell-error)e Fw(or)i Fs(type-error)p +Fw(,)e(where)j(the)g(handler)0 1766 y(ma)o(y)12 b(wish)i(to)f(supply)h +(a)g(replacemen)o(t)g(datum)e(to)i(b)q(e)g(stored)h(p)q(ermanen)o(tly)m +(.)1209 1881 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(use-value)19 +b Fv(value)25 b Fs(&optional)19 b Fv(c)n(ondition)0 1957 +y Fw(This)g(function)f(transfers)i(con)o(trol)f(\(and)g(one)g(v)n +(alue\))f(to)g(the)i(restart)g(named)e Fs(use-)0 2009 +y(value)p Fw(.)f(If)c(no)h(suc)o(h)h(restart)g(exists,)f +Fs(use-value)e Fw(returns)k Fs(nil)p Fw(.)42 2061 y(If)d +Fv(c)n(ondition)i Fw(is)f Fs(nil)f Fw(or)i(not)f(supplied,)g(all)f +(outstanding)g(restarts)j(are)f(considered.)0 2113 y(If)g +Fv(c)n(ondition)g Fw(is)g(not)g Fs(nil)p Fw(,)g(only)f(restarts)j(asso) +q(ciated)f(with)f(that)g(condition)f(are)i(con-)0 2165 +y(sidered.)42 2217 y(The)d Fs(use-value)d Fw(restart)k(is)f(generally)f +(used)h(b)o(y)g(handlers)g(trying)f(to)h(reco)o(v)o(er)g(from)0 +2269 y(errors)i(of)f(t)o(yp)q(es)g(suc)o(h)h(as)f Fs(cell-error)p +Fw(,)e(where)j(the)f(handler)g(ma)o(y)e(wish)i(to)g(supply)g(a)0 +2321 y(replacemen)o(t)g(datum)e(for)i(one-time)f(use.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 992 1016 +992 1015 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(992)77 b(COMMON)13 +b(LISP)0 295 y Fo(29.4.11.)20 b(Debugging)14 b(Utilities)0 +373 y Fw(Common)8 b(Lisp)k(do)q(es)g(not)f(sp)q(ecify)h(exactly)g(what) +f(a)h(debugger)g(is)f(or)h(do)q(es,)g(but)g(it)f(do)q(es)0 +425 y(pro)o(vide)g(certain)g(means)f(for)h(indicating)f(in)o(ten)o(t)h +(to)g(transfer)h(con)o(trol)e(to)h(a)g(sup)q(ervisory)0 +477 y(or)j(debugging)f(facilit)o(y)m(.)1209 585 y([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(break)20 b(&optional)f +Fv(format)p Fs(-)p Fv(string)24 b Fs(&rest)c Fv(format)p +Fs(-)p Fv(ar)n(guments)0 662 y Fw([This)13 b(sup)q(ersedes)k(the)e +(description)f(of)f Fs(break)g Fw(giv)o(en)h(in)f(section)i(24.1.|GLS]) +42 713 y(The)f(function)f Fs(break)g Fw(prin)o(ts)h(the)h(message)e +(describ)q(ed)j(b)o(y)e(the)g Fv(format-string)f Fw(and)0 +765 y Fv(format-ar)n(guments)h Fw(and)g(then)i(go)q(es)f(directly)f(in) +o(to)g(the)h(debugger)h(without)e(allo)o(wing)0 817 y(an)o(y)f(p)q +(ossibilit)o(y)g(of)g(in)o(terception)i(b)o(y)f(programmed)d +(error-handling)i(facilities.)42 869 y(If)g(no)h Fv(format-string)e +Fw(is)i(supplied,)f(a)h(suitable)g(default)f(will)g(b)q(e)h(generated.) +42 921 y(If)f(con)o(tin)o(ued,)h Fs(break)e Fw(returns)k +Fs(nil)p Fw(.)42 973 y(Note)g(that)h Fs(break)e Fw(is)h(presumed)h(to)f +(b)q(e)h(used)g(as)g(a)f(w)o(a)o(y)f(of)h(inserting)g(temp)q(orary)0 +1025 y(debugging)h(\\breakp)q(oin)o(ts")g(in)h(a)f(program,)f(not)i(as) +g(a)f(w)o(a)o(y)g(of)g(signaling)f(errors;)k(it)0 1077 +y(is)f(exp)q(ected)j(that)d(con)o(tin)o(uing)f(from)g(a)h +Fs(break)f Fw(will)g(not)h(trigger)g(an)o(y)g(un)o(usual)g(re-)0 +1129 y(co)o(v)o(ery)g(action.)31 b(F)m(or)18 b(this)g(reason,)i +Fs(break)d Fw(do)q(es)i(not)g(tak)o(e)f(the)h(additional)e(format)0 +1180 y(con)o(trol)f(string)g(that)g Fs(cerror)f Fw(tak)o(es)i(as)f(its) +g(\014rst)h(argumen)o(t.)24 b(This)16 b(and)g(the)h(lac)o(k)e(of)0 +1232 y(an)o(y)k(p)q(ossibilit)o(y)e(of)i(in)o(terception)g(b)o(y)g +(programmed)e(error)j(handling)d(are)j(the)g(only)0 1284 +y(program-visible)c(di\013erences)21 b(b)q(et)o(w)o(een)f +Fs(break)d Fw(and)h Fs(cerror)p Fw(.)31 b(The)19 b(user)g(in)o(terface) +0 1336 y(asp)q(ects)d(of)d(these)j(functions)e(are)g(p)q(ermitted)g(to) +g(v)n(ary)f(more)g(widely;)g(for)h(example,)e(it)0 1388 +y(is)k(p)q(ermissible)f(for)h(a)g(read-ev)n(al-prin)o(t)f(lo)q(op)h(to) +g(b)q(e)g(en)o(tered)i(b)o(y)e Fs(break)f Fw(rather)i(than)0 +1440 y(b)o(y)d(the)g(con)o(v)o(en)o(tional)f(debugger.)42 +1492 y Fs(break)f Fw(could)i(b)q(e)h(de\014ned)f(b)o(y)0 +1574 y Fs(\(defun)20 b(break)g(\(&optional)f(\(format-string)f +("Break"\))296 1626 y(&rest)j(format-argument)o(s\))42 +1677 y(\(with-simple-restar)o(t)d(\(continue)i("Return)f(from)i +(BREAK."\))85 1729 y(\(invoke-debugger)127 1781 y(\(make-condition)473 +1785 y Fn(')496 1781 y Fs(simple-condition)466 1833 y(:format-string)d +(format-string)466 1885 y(:format-argument)o(s)g +(format-arguments\)\)\))42 1937 y(nil\))1209 2044 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(invoke-debugger)18 b +Fv(c)n(ondition)0 2121 y Fw(A)o(ttempts)c(in)o(teractiv)o(e)g(handling) +f(of)g(its)h(argumen)o(t,)e(whic)o(h)i(m)o(ust)f(b)q(e)h(a)g +(condition.)42 2173 y(If)g(the)h(v)n(ariable)e Fs(*debugger-hook*)f +Fw(is)i(not)h Fs(nil)p Fw(,)e(it)h(will)g(b)q(e)h(called)f(as)h(a)f +(function)0 2225 y(on)f(t)o(w)o(o)g(argumen)o(ts:)k(the)d +Fv(c)n(ondition)g Fw(b)q(eing)g(handled)f(and)g(the)h(v)n(alue)f(of)g +Fs(*debugger-)0 2277 y(hook*)p Fw(.)27 b(If)17 b(a)h(ho)q(ok)f +(function)g(returns)i(normally)l(,)c(the)j(standard)g(debugger)g(will)e +(b)q(e)0 2329 y(tried.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 993 1017 +993 1016 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(993)42 295 y Fw(The)16 b(standard)h(debugger)f(will)f(nev)o(er)i +(directly)g(return.)25 b(Return)17 b(can)f(o)q(ccur)i(only)0 +347 y(b)o(y)c(a)f(sp)q(ecial)h(transfer)h(of)e(con)o(trol,)h(suc)o(h)g +(as)g(the)h(use)f(of)g(a)f(restart.)p 0 406 V 0 467 a +Fm(Remark:)18 b FA(The)13 b(exact)g(w)o(a)o(y)f(in)i(whic)o(h)f(the)g +(debugger)h(in)o(teracts)g(with)f(users)g(is)g(exp)q(ected)h(to)0 +513 y(v)n(ary)i(considerably)k(from)15 b(system)i(to)f(system.)26 +b(F)m(or)16 b(example,)i(some)e(systems)h(ma)o(y)f(use)h(a)0 +558 y(k)o(eyb)q(oard)d(in)o(terface,)f(while)g(others)g(ma)o(y)f(use)h +(a)f(mouse)h(in)o(terface.)k(Of)12 b(those)g(systems)h(using)0 +604 y(k)o(eyb)q(oard)g(commands,)g(some)g(ma)o(y)f(use)g(single-c)o +(haracter)j(commands)e(and)f(others)h(ma)o(y)f(use)0 +650 y(parsed)h(line-at-a-time)h(commands.)k(The)12 b(exact)g(set)h(of)e +(commands)j(will)f(v)n(ary)g(as)f(w)o(ell.)18 b(The)0 +695 y(imp)q(ortan)o(t)f(prop)q(erties)f(of)f(a)g(debugger)i(are)e(that) +h(it)f(mak)o(es)h(information)h(ab)q(out)f(the)f(error)0 +741 y(accessible)g(and)f(that)f(it)g(mak)o(es)h(the)f(set)g(of)g +(apparen)o(t)h(restarts)f(easily)i(accessible.)42 787 +y(It)e(is)h(desirable)i(to)e(ha)o(v)o(e)g(a)g(mo)q(de)g(where)f(the)h +(debugger)h(allo)o(ws)g(other)f(features,)g(suc)o(h)g(as)0 +833 y(the)c(abilit)o(y)j(to)d(insp)q(ect)h(data,)g(stac)o(ks,)g(etc.)k +(Ho)o(w)o(ev)o(er,)10 b(it)h(ma)o(y)f(sometimes)h(b)q(e)g(appropriate)h +(to)0 879 y(ha)o(v)o(e)i(this)h(kind)g(of)e(information)j(hidden)f +(from)f(users.)19 b(Exp)q(erience)d(on)d(the)h(Lisp)h(Mac)o(hines)0 +924 y(has)g(sho)o(wn)h(that)f(some)g(users)h(who)f(are)g(not)g +(programmers)h(dev)o(elop)h(a)d(terrible)j(phobia)g(of)0 +970 y(debuggers.)g(The)10 b(reason)h(for)f(this)g(usually)j(ma)o(y)d(b) +q(e)g(traced)g(to)g(the)g(fact)g(that)g(the)g(debugger)h(is)0 +1016 y(v)o(ery)f(foreign)g(to)f(them)h(and)g(pro)o(vides)h(an)f(o)o(v)o +(erwhelming)h(amoun)o(t)f(of)f(information)j(of)d(in)o(terest)0 +1061 y(only)16 b(to)f(programmers.)23 b(With)16 b(the)f(adv)o(en)o(t)h +(of)e(restarts,)i(there)f(is)g(a)g(clear)g(mec)o(hanism)i(for)0 +1107 y(the)e(construction)j(of)d(\\friendly")i(debuggers.)26 +b(Programmers)16 b(can)g(b)q(e)f(taugh)o(t)h(ho)o(w)f(to)h(get)0 +1153 y(to)e(the)g(information)i(they)f(need)g(for)e(debugging,)k(but)d +(it)h(should)h(b)q(e)e(p)q(ossible)j(to)d(construct)0 +1198 y(user)d(in)o(terfaces)g(to)f(the)h(debugger)g(that)g(are)f +(natural,)i(con)o(v)o(enien)o(t,)h(in)o(telligib)q(le,)h(and)d +(friendly)0 1244 y(ev)o(en)i(to)g(non-programmers.)p +0 1284 V 1219 1416 a Fw([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(*debugger-hook*)0 1494 y Fw(This)16 b(v)n(ariable)e(should)i(hold) +f(either)i Fs(nil)e Fw(or)h(a)f(function)h(of)f(t)o(w)o(o)g(argumen)o +(ts,)g(a)h(con-)0 1546 y(dition)f(and)h(the)h(v)n(alue)e(of)h +Fs(*debugger-hook*)o Fw(.)22 b(This)16 b(function)g(ma)o(y)e(either)j +(handle)0 1598 y(the)j(condition)g(\(transfer)g(con)o(trol\))g(or)g +(return)h(normally)c(\(allo)o(wing)h(the)i(standard)0 +1649 y(debugger)15 b(to)e(run\).)42 1702 y(Note)f(that,)g(to)g(minim)o +(ize)e(recursiv)o(e)j(errors)h(while)d(debugging,)h Fs(*debugger-hook*) +0 1754 y Fw(is)f(b)q(ound)h(to)f Fs(nil)g Fw(when)h(calling)e(this)i +(function.)17 b(When)11 b(ev)n(aluating)g(co)q(de)h(t)o(yp)q(ed)g(in)f +(b)o(y)0 1806 y(the)j(user)g(in)o(teractiv)o(ely)m(,)d(the)j(ho)q(ok)e +(function)h(ma)o(y)e(w)o(an)o(t)i(to)f(bind)h Fs(*debugger-hook*)0 +1858 y Fw(to)i(the)g(function)f(that)h(w)o(as)g(its)g(second)h(argumen) +o(t)d(so)i(that)g(recursiv)o(e)h(errors)g(can)f(b)q(e)0 +1909 y(handled)f(using)f(the)i(same)e(in)o(teractiv)o(e)h(facilit)o(y)m +(.)0 2081 y Fo(29.5.)20 b(Prede\014ned)15 b(Condition)g(T)n(yp)r(es)0 +2173 y Fw([The)f(prop)q(osal)g(for)g(the)h(Commo)o(n)d(Lisp)i +(Condition)f(System)h(in)o(tro)q(duced)h(a)e(new)i(no-)0 +2225 y(tation)i(for)h(do)q(cumen)o(ting)f(t)o(yp)q(es,)i(treating)f +(them)g(in)f(the)i(same)e(syn)o(tactic)i(manner)0 2277 +y(as)e(functions)h(and)f(v)n(ariables.)28 b(This)17 b(notation)g(is)g +(used)h(in)f(this)h(section)g(but)g(is)f(not)0 2329 y(re\015ected)f +(throughout)e(the)h(en)o(tire)f(b)q(o)q(ok.|GLS])-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 994 1018 +994 1017 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(994)77 b(COMMON)13 +b(LISP)42 295 y Fw(X3J13)j(v)o(oted)g(in)g(Marc)o(h)h(1989)e +Ft(h)p Fw(186)p Ft(i)h Fw(to)g(in)o(tegrate)h(the)g(Condition)e(System) +h(and)0 347 y(the)h(Ob)r(ject)h(System.)25 b(All)15 b(condition)h(t)o +(yp)q(es)h(are)g(CLOS)f(classes)i(and)e(all)f(condition)0 +399 y(ob)r(jects)g(are)f(ordinary)g(CLOS)g(ob)r(jects.)1284 +526 y([)p Fv(T)m(yp)n(e)s Fw(])-1396 b Fs(restart)0 602 +y Fw(This)14 b(is)g(the)g(data)g(t)o(yp)q(e)g(used)h(to)e(represen)o(t) +k(a)c(restart.)42 679 y(The)h(Common)c(Lisp)k(condition)f(t)o(yp)q(e)i +(hierarc)o(h)o(y)f(is)g(illustrated)f(in)h(table)g(29-)o(1.)42 +731 y(The)c(t)o(yp)q(es)i(that)e(are)h(not)f(lea)o(v)o(es)h(in)f(the)h +(hierarc)o(h)o(y)g(\(that)f(is,)h Fs(condition)p Fw(,)e +Fs(warning)p Fw(,)0 783 y Fs(storage-condition)o Fw(,)g +Fs(error)p Fw(,)i Fs(arithmetic-error)p Fw(,)e Fs(control-error)p +Fw(,)g(and)j(so)g(on\))0 835 y(are)i(pro)o(vided)g(primarily)d(for)i(t) +o(yp)q(e)h(inclusion)f(purp)q(oses.)20 b(Normally)11 +b(they)j(w)o(ould)f(not)0 887 y(b)q(e)i(directly)f(instan)o(tiated.)42 +939 y(Implemen)o(tatio)o(ns)9 b(are)j(p)q(ermitted)e(to)i(supp)q(ort)f +(non-p)q(ortable)g(synon)o(yms)f(for)h(these)0 991 y(t)o(yp)q(es,)16 +b(as)f(w)o(ell)g(as)g(to)g(in)o(tro)q(duce)h(other)g(t)o(yp)q(es)g +(that)g(are)f(ab)q(o)o(v)o(e,)g(b)q(elo)o(w,)g(or)g(b)q(et)o(w)o(een)0 +1043 y(the)e(t)o(yp)q(es)g(sho)o(wn)f(in)g(this)g(tree)h(as)g(long)e +(as)h(the)h(indicated)f(subt)o(yp)q(e)h(relationships)f(are)0 +1095 y(not)i(violated.)42 1146 y(The)e(t)o(yp)q(es)g +Fs(simple-condition)p Fw(,)d Fs(serious-condition)o Fw(,)g(and)j +Fs(warning)e Fw(are)i(pair-)0 1198 y(wise)j(disjoin)o(t.)k(The)d(t)o +(yp)q(e)f Fs(error)e Fw(is)i(also)f(disjoin)o(t)g(from)e(t)o(yp)q(es)k +Fs(simple-condition)0 1250 y Fw(and)e Fs(warning)p Fw(.)1284 +1377 y([)p Fv(T)m(yp)n(e)s Fw(])-1396 b Fs(condition)0 +1454 y Fw(All)18 b(t)o(yp)q(es)h(of)f(conditions,)g(whether)i(error)f +(or)g(non-error,)g(m)o(ust)f(inherit)g(from)f(this)0 +1506 y(t)o(yp)q(e.)1284 1633 y([)p Fv(T)m(yp)n(e)s Fw(])-1396 +b Fs(warning)0 1710 y Fw(All)18 b(t)o(yp)q(es)j(of)d(w)o(arnings)h +(should)g(inherit)g(from)f(this)h(t)o(yp)q(e.)35 b(This)19 +b(is)g(a)g(subt)o(yp)q(e)h(of)0 1762 y Fs(condition)p +Fw(.)1284 1889 y([)p Fv(T)m(yp)n(e)s Fw(])-1396 b Fs(serious-condition) +0 1966 y Fw(All)14 b(serious)h(conditions)f(\(conditions)g(serious)h +(enough)f(to)h(require)g(in)o(teractiv)o(e)g(in)o(ter-)0 +2017 y(v)o(en)o(tion)i(if)f(not)h(handled\))g(should)g(inherit)g(from)f +(this)h(t)o(yp)q(e.)28 b(This)17 b(is)g(a)g(subt)o(yp)q(e)h(of)0 +2069 y Fs(condition)p Fw(.)42 2121 y(This)f(condition)g(t)o(yp)q(e)h +(is)g(pro)o(vided)g(primarily)d(for)i(terminological)e(con)o(v)o +(enience.)0 2173 y(In)d(fact,)g(signaling)f(a)h(condition)f(that)h +(inherits)h(from)d Fs(serious-condition)f Fw(do)q(es)k(not)0 +2225 y(force)19 b(en)o(try)g(in)o(to)f(the)h(debugger.)32 +b(Rather,)19 b(it)f(is)g(con)o(v)o(en)o(tional)g(to)g(use)h +Fs(error)f Fw(\(or)0 2277 y(something)c(built)h(on)h +Fs(error)p Fw(\))e(to)i(signal)e(conditions)i(that)f(are)i(of)e(this)g +(t)o(yp)q(e,)h(and)g(to)0 2329 y(use)f Fs(signal)d Fw(to)i(signal)f +(conditions)g(that)h(are)h(not)e(of)h(this)g(t)o(yp)q(e.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 995 1019 +995 1018 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(995)p 0 255 1395 2 v 0 344 a Fm(T)l(able)14 b(29-1:)k +FA(Condition)d(T)o(yp)q(e)e(Hierarc)o(h)o(y)0 473 y Fj(condition)75 +518 y(simple-co)o(nd)o(iti)o(on)75 564 y(serious-c)o(on)o(dit)o(ion)149 +610 y(error)224 655 y(simple-err)o(or)224 701 y(arithmetic)o(-er)o(ro)o +(r)299 747 y(division-)o(by-)o(ze)o(ro)299 792 y(floating-)o(poi)o(nt)o +(-ov)o(erf)o(lo)o(w)299 838 y(floating-)o(poi)o(nt)o(-un)o(der)o(fl)o +(ow)299 884 y(...)224 929 y(cell-error)299 975 y(unbound-v)o(ari)o(ab)o +(le)299 1021 y(undefined)o(-fu)o(nc)o(tio)o(n)299 1066 +y(...)224 1112 y(control-er)o(ror)224 1158 y(file-error)224 +1203 y(package-er)o(ror)224 1249 y(program-er)o(ror)224 +1295 y(stream-err)o(or)299 1340 y(end-of-fi)o(le)299 +1386 y(...)224 1432 y(type-error)299 1477 y(simple-ty)o(pe-)o(er)o(ror) +299 1523 y(...)224 1569 y(...)149 1614 y(storage-con)o(di)o(tio)o(n)149 +1660 y(...)75 1706 y(warning)149 1751 y(simple-warn)o(in)o(g)149 +1797 y(...)75 1843 y(...)p 0 1916 V 1284 2046 a Fw([)p +Fv(T)m(yp)n(e)s Fw(])-1396 b Fs(error)0 2124 y Fw(All)13 +b(t)o(yp)q(es)h(of)f(error)i(conditions)e(inherit)h(from)e(this)i +(condition.)j(This)d(is)f(a)h(subt)o(yp)q(e)g(of)0 2176 +y Fs(serious-condition)o Fw(.)42 2277 y(The)d(default)f(condition)g(t)o +(yp)q(e)i(for)e Fs(signal)f Fw(and)i Fs(warn)f Fw(is)h +Fs(simple-condition)o Fw(.)j(The)0 2329 y(default)g(condition)f(t)o(yp) +q(e)h(for)g Fs(error)e Fw(and)i Fs(cerror)f Fw(is)h Fs(simple-error)p +Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 996 1020 +996 1019 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(996)77 b(COMMON)13 +b(LISP)1284 295 y Fw([)p Fv(T)m(yp)n(e)s Fw(])-1396 b +Fs(simple-condition)0 372 y Fw(Conditions)11 b(signaled)g(b)o(y)h +Fs(signal)f Fw(when)h(giv)o(en)f(a)h(format)e(string)i(as)g(a)f +(\014rst)i(argumen)o(t)0 423 y(are)20 b(of)e(this)h(t)o(yp)q(e.)35 +b(This)19 b(is)g(a)g(subt)o(yp)q(e)h(of)f Fs(condition)p +Fw(.)32 b(The)19 b(initialization)e(k)o(ey-)0 475 y(w)o(ords)g +Fs(:format-string)d Fw(and)j Fs(:format-arguments)d Fw(are)j(supp)q +(orted)h(to)f(initialize)0 527 y(the)j(slots,)g(whic)o(h)f(can)h(b)q(e) +f(accessed)j(using)d Fs(simple-condition-)o(forma)o(t-str)o(ing)0 +579 y Fw(and)g Fs(simple-condition-f)o(ormat)o(-arg)o(ument)o(s)p +Fw(.)31 b(If)19 b Fs(:format-arguments)d Fw(is)j(not)0 +631 y(supplied)14 b(to)g Fs(make-condition)p Fw(,)c(the)15 +b(format-argum)o(en)o(ts)d(slot)h(defaults)h(to)g Fs(nil)p +Fw(.)1284 745 y([)p Fv(T)m(yp)n(e)s Fw(])-1396 b Fs(simple-warning)0 +822 y Fw(Conditions)15 b(signaled)g(b)o(y)g Fs(warn)f +Fw(when)i(giv)o(en)f(a)h(format)d(string)j(as)f(a)h(\014rst)g(argumen)o +(t)0 874 y(are)22 b(of)g(this)g(t)o(yp)q(e.)42 b(This)22 +b(is)g(a)f(subt)o(yp)q(e)i(of)f Fs(warning)p Fw(.)40 +b(The)23 b(initialization)c(k)o(ey-)0 926 y(w)o(ords)e +Fs(:format-string)d Fw(and)j Fs(:format-arguments)d Fw(are)j(supp)q +(orted)h(to)f(initialize)0 978 y(the)j(slots,)g(whic)o(h)f(can)h(b)q(e) +f(accessed)j(using)d Fs(simple-condition-)o(forma)o(t-str)o(ing)0 +1029 y Fw(and)g Fs(simple-condition-f)o(ormat)o(-arg)o(ument)o(s)p +Fw(.)31 b(If)19 b Fs(:format-arguments)d Fw(is)j(not)0 +1081 y(supplied)14 b(to)g Fs(make-condition)p Fw(,)c(the)15 +b(format-argum)o(en)o(ts)d(slot)h(defaults)h(to)g Fs(nil)p +Fw(.)42 1133 y(In)h(implem)o(en)o(tations)e(supp)q(orting)i(m)o +(ultiple)e(inheritance,)j(this)f(t)o(yp)q(e)h(will)e(also)g(b)q(e)0 +1185 y(a)g(subt)o(yp)q(e)g(of)g Fs(simple-condition)o +Fw(.)1284 1299 y([)p Fv(T)m(yp)n(e)s Fw(])-1396 b Fs(simple-error)0 +1376 y Fw(Conditions)10 b(signaled)g(b)o(y)g Fs(error)g +Fw(and)g Fs(cerror)g Fw(when)h(giv)o(en)f(a)g(format)f(string)i(as)g(a) +f(\014rst)0 1428 y(argumen)o(t)i(are)h(of)f(this)h(t)o(yp)q(e.)18 +b(This)12 b(is)h(a)f(subt)o(yp)q(e)i(of)e Fs(error)p +Fw(.)17 b(The)c(initialization)d(k)o(ey-)0 1480 y(w)o(ords)17 +b Fs(:format-string)d Fw(and)j Fs(:format-arguments)d +Fw(are)j(supp)q(orted)h(to)f(initialize)0 1532 y(the)j(slots,)g(whic)o +(h)f(can)h(b)q(e)f(accessed)j(using)d Fs(simple-condition-)o(forma)o +(t-str)o(ing)0 1584 y Fw(and)g Fs(simple-condition-f)o(ormat)o(-arg)o +(ument)o(s)p Fw(.)31 b(If)19 b Fs(:format-arguments)d +Fw(is)j(not)0 1636 y(supplied)14 b(to)g Fs(make-condition)p +Fw(,)c(the)15 b(format-argum)o(en)o(ts)d(slot)h(defaults)h(to)g +Fs(nil)p Fw(.)42 1687 y(In)h(implem)o(en)o(tations)e(supp)q(orting)i(m) +o(ultiple)e(inheritance,)j(this)f(t)o(yp)q(e)h(will)e(also)g(b)q(e)0 +1739 y(a)g(subt)o(yp)q(e)g(of)g Fs(simple-condition)o +Fw(.)1209 1853 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs +(simple-condition-)o(forma)o(t-str)o(ing)18 b Fv(c)n(ondition)0 +1930 y Fw(Accesses)28 b(the)e(format-string)e(slot)h(of)g(a)g(giv)o(en) +g Fv(c)n(ondition)p Fw(,)k(whic)o(h)c(m)o(ust)f(b)q(e)i(of)0 +1982 y(t)o(yp)q(e)14 b Fs(simple-condition)p Fw(,)9 b +Fs(simple-warning)p Fw(,)i Fs(simple-error)p Fw(,)f(or)j +Fs(simple-type-)0 2034 y(error)p Fw(.)1209 2148 y([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(simple-condition-)o(forma)o(t-arg)o +(ument)o(s)18 b Fv(c)n(ondition)0 2225 y Fw(Accesses)j(the)e +(format-argum)o(en)o(ts)d(slot)h(of)h(a)g(giv)o(en)f +Fv(c)n(ondition)p Fw(,)i(whic)o(h)f(m)o(ust)f(b)q(e)h(of)0 +2277 y(t)o(yp)q(e)c Fs(simple-condition)p Fw(,)9 b Fs(simple-warning)p +Fw(,)i Fs(simple-error)p Fw(,)f(or)j Fs(simple-type-)0 +2329 y(error)p Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 997 1021 +997 1020 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(997)1284 295 y Fw([)p Fv(T)m(yp)n(e)s Fw(])-1396 b +Fs(storage-condition)0 372 y Fw(Conditions)12 b(that)h(relate)g(to)g +(storage)g(o)o(v)o(er\015o)o(w)f(should)h(inherit)g(from)e(this)i(t)o +(yp)q(e.)18 b(This)0 423 y(is)c(a)f(subt)o(yp)q(e)i(of)f +Fs(serious-conditi)o(on)p Fw(.)1284 551 y([)p Fv(T)m(yp)n(e)s +Fw(])-1396 b Fs(type-error)0 628 y Fw(Errors)20 b(in)f(the)g(transfer)h +(of)e(data)h(in)g(a)f(program)g(should)g(inherit)h(from)f(this)h(t)o +(yp)q(e.)0 680 y(This)12 b(is)g(a)g(subt)o(yp)q(e)h(of)f +Fs(error)p Fw(.)k(F)m(or)c(example,)f(conditions)h(to)g(b)q(e)g +(signaled)g(b)o(y)g Fs(check-)0 732 y(type)j Fw(should)g(inherit)h +(from)d(this)j(t)o(yp)q(e.)24 b(The)16 b(initialization)d(k)o(eyw)o +(ords)j Fs(:datum)e Fw(and)0 784 y Fs(:expected-type)e +Fw(are)k(supp)q(orted)g(to)f(initialize)f(the)h(slots,)g(whic)o(h)g +(can)h(b)q(e)f(accessed)0 836 y(using)f Fs(type-error-datum)c +Fw(and)k Fs(type-error-expect)o(ed-ty)o(pe)p Fw(.)1209 +963 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(type-error-datum)18 +b Fv(c)n(ondition)0 1040 y Fw(Accesses)i(the)d(datum)e(slot)h(of)g(a)g +(giv)o(en)g Fv(c)n(ondition)p Fw(,)i(whic)o(h)e(m)o(ust)g(b)q(e)h(of)f +(t)o(yp)q(e)h Fs(type-)0 1092 y(error)p Fw(.)1209 1220 +y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(type-error-expect)o(ed-ty)o(pe) +18 b Fv(c)n(ondition)0 1297 y Fw(Accesses)h(the)d(exp)q(ected-t)o(yp)q +(e)i(slot)e(of)f(a)h(giv)o(en)f Fv(c)n(ondition)p Fw(,)h(whic)o(h)g(m)o +(ust)f(b)q(e)h(of)f(t)o(yp)q(e)0 1349 y Fs(type-error)p +Fw(.)30 b(Users)21 b(of)d Fs(type-error)e Fw(conditions)j(are)g(exp)q +(ected)i(to)d(\014ll)g(this)h(slot)0 1401 y(with)14 b(an)f(ob)r(ject)i +(that)f(is)g(a)f(v)n(alid)f(Common)f(Lisp)j(t)o(yp)q(e)g(sp)q +(eci\014er.)1284 1528 y([)p Fv(T)m(yp)n(e)s Fw(])-1396 +b Fs(simple-type-error)0 1605 y Fw(Conditions)22 b(signaled)g(b)o(y)g +(facilities)f(similar)f(to)j Fs(check-type)d Fw(ma)o(y)g(w)o(an)o(t)j +(to)f(use)0 1657 y(this)28 b(t)o(yp)q(e.)59 b(The)28 +b(initialization)d(k)o(eyw)o(ords)j Fs(:format-string)c +Fw(and)j Fs(:format-)0 1709 y(arguments)d Fw(are)i(supp)q(orted)h(to)f +(initialize)e(the)i(slots,)i(whic)o(h)e(can)g(b)q(e)g(accessed)0 +1761 y(using)19 b Fs(simple-conditio)o(n-for)o(mat-s)o(tring)c +Fw(and)k Fs(simple-condition)o(-form)o(at-)0 1813 y(arguments)p +Fw(.)k(If)16 b Fs(:format-arguments)d Fw(is)j(not)g(supplied)h(to)f +Fs(make-condition)p Fw(,)d(the)0 1865 y(format-argum)o(en)o(ts)f(slot)i +(defaults)g(to)f Fs(nil)p Fw(.)42 1917 y(In)i(implem)o(en)o(tations)e +(supp)q(orting)i(m)o(ultiple)e(inheritance,)j(this)f(t)o(yp)q(e)h(will) +e(also)g(b)q(e)0 1968 y(a)g(subt)o(yp)q(e)g(of)g Fs(simple-condition)o +Fw(.)1284 2096 y([)p Fv(T)m(yp)n(e)s Fw(])-1396 b Fs(program-error)0 +2173 y Fw(Errors)23 b(relating)e(to)g(incorrect)i(program)d(syn)o(tax)h +(that)h(are)g(statically)e(detectable)0 2225 y(should)12 +b(inherit)h(from)e(this)h(t)o(yp)q(e)h(\(regardless)h(of)e(whether)i +(they)f(are)g(in)f(fact)h(statically)0 2277 y(detected\).)31 +b(This)18 b(is)f(a)g(subt)o(yp)q(e)i(of)e Fs(error)p +Fw(.)28 b(This)17 b(is)h Fv(not)g Fw(a)f(subt)o(yp)q(e)h(of)f +Fs(control-)0 2329 y(error)p Fw(.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 998 1022 +998 1021 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(998)77 b(COMMON)13 +b(LISP)1284 295 y Fw([)p Fv(T)m(yp)n(e)s Fw(])-1396 b +Fs(control-error)0 372 y Fw(Errors)12 b(in)e(the)h(dynamic)e(transfer)j +(of)e(con)o(trol)h(in)f(a)g(program)f(should)i(inherit)g(from)e(this)0 +424 y(t)o(yp)q(e.)19 b(This)13 b(is)h(a)g(subt)o(yp)q(e)h(of)e +Fs(error)p Fw(.)k(This)d(is)f Fv(not)h Fw(a)g(subt)o(yp)q(e)h(of)e +Fs(program-error)p Fw(.)42 477 y(The)j(errors)i(that)e(result)h(from)e +(giving)f Fs(throw)i Fw(a)g(tag)f(that)i(is)f(not)g(activ)o(e)g(or)g +(from)0 528 y(giving)f Fs(go)h Fw(or)g Fs(return-from)e +Fw(a)i(tag)h(that)f(is)g(no)g(longer)h(dynamically)c(a)o(v)n(ailable)h +(are)0 580 y(con)o(trol)g(errors.)42 633 y(On)e(the)h(other)h(hand,)e +(the)h(errors)h(that)e(result)h(from)e(naming)f(a)j Fs(go)f +Fw(tag)g(or)g Fs(return-)0 685 y(from)i Fw(tag)g(that)h(is)g(not)g +(lexically)e(apparen)o(t)i(are)g(not)g(con)o(trol)f(errors.)23 +b(They)15 b(are)g(pro-)0 737 y(gram)d(errors.)20 b(See)14 +b Fs(program-error)p Fw(.)1284 895 y([)p Fv(T)m(yp)n(e)s +Fw(])-1396 b Fs(package-error)0 972 y Fw(Errors)12 b(that)f(o)q(ccur)h +(during)e(op)q(erations)i(on)e(pac)o(k)n(ages)h(should)g(inherit)g +(from)e(this)i(t)o(yp)q(e.)0 1024 y(This)h(is)f(a)h(subt)o(yp)q(e)h(of) +e Fs(error)p Fw(.)16 b(The)d(initialization)c(k)o(eyw)o(ord)j +Fs(:package)e Fw(is)h(supp)q(orted)0 1076 y(to)j(initialize)e(the)j +(slot,)e(whic)o(h)h(can)g(b)q(e)g(accessed)i(using)e +Fs(package-error-pac)o(kage)p Fw(.)1209 1234 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(package-error-pac)o(kage)18 b Fv(c)n(ondition)0 +1311 y Fw(Accesses)f(the)e(pac)o(k)n(age)e(\(or)h(pac)o(k)n(age)g +(name\))f(that)h(w)o(as)f(b)q(eing)h(mo)q(di\014ed)f(or)h(manipu-)0 +1363 y(lated)g(in)f(a)h Fv(c)n(ondition)g Fw(of)f(t)o(yp)q(e)i +Fs(package-error)p Fw(.)1284 1521 y([)p Fv(T)m(yp)n(e)s +Fw(])-1396 b Fs(stream-error)0 1599 y Fw(Errors)18 b(that)f(o)q(ccur)h +(during)f(input)g(from,)e(output)i(to,)g(or)g(closing)g(a)f(stream)h +(should)0 1650 y(inherit)g(from)f(this)i(t)o(yp)q(e.)29 +b(This)17 b(is)g(a)g(subt)o(yp)q(e)i(of)e Fs(error)p +Fw(.)27 b(The)18 b(initialization)d(k)o(ey-)0 1702 y(w)o(ord)f +Fs(:stream)e Fw(is)h(supp)q(orted)i(to)f(initialize)e(the)i(slot,)f +(whic)o(h)h(can)g(b)q(e)g(accessed)i(using)0 1754 y Fs +(stream-error-stre)o(am)p Fw(.)1209 1912 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(stream-error-stre)o(am)18 b Fv(c)n(ondition)0 +1990 y Fw(Accesses)f(the)d(o\013ending)g(stream)g(of)f(a)g +Fv(c)n(ondition)i Fw(of)e(t)o(yp)q(e)h Fs(stream-error)p +Fw(.)1284 2148 y([)p Fv(T)m(yp)n(e)s Fw(])-1396 b Fs(end-of-file)0 +2225 y Fw(The)13 b(error)h(that)g(results)g(when)f(a)g(read)g(op)q +(eration)g(is)g(done)h(on)e(a)h(stream)g(that)g(has)g(no)0 +2277 y(more)g(tok)o(ens)h(or)g(c)o(haracters)h(should)f(inherit)g(from) +e(this)h(t)o(yp)q(e.)19 b(This)13 b(is)h(a)g(subt)o(yp)q(e)g(of)0 +2329 y Fs(stream-error)p Fw(.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 999 1023 +999 1022 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(CONDITIONS)1105 +b(999)1284 295 y Fw([)p Fv(T)m(yp)n(e)s Fw(])-1396 b +Fs(file-error)0 372 y Fw(Errors)16 b(that)e(o)q(ccur)i(during)f(an)f +(attempt)g(to)g(op)q(en)i(a)e(\014le,)g(or)h(during)f(some)g(lo)o +(w-lev)o(el)0 423 y(transaction)d(with)g(a)g(\014le)g(system,)g(should) +f(inherit)h(from)f(this)h(t)o(yp)q(e.)17 b(This)11 b(is)g(a)g(subt)o +(yp)q(e)0 475 y(of)i Fs(error)p Fw(.)j(The)e(initialization)c(k)o(eyw)o +(ord)k Fs(:pathname)d Fw(is)i(supp)q(orted)h(to)f(initialize)f(the)0 +527 y(slot,)h(whic)o(h)h(can)g(b)q(e)h(accessed)h(using)d +Fs(file-error-pathname)o Fw(.)1209 649 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(file-error-pathna)o(me)18 b Fv(c)n(ondition)0 +726 y Fw(Accesses)f(the)d(o\013ending)g(pathname)f(of)g(a)h +Fv(c)n(ondition)g Fw(of)f(t)o(yp)q(e)i Fs(file-error)p +Fw(.)1284 847 y([)p Fv(T)m(yp)n(e)s Fw(])-1396 b Fs(cell-error)0 +924 y Fw(Errors)20 b(that)e(o)q(ccur)i(while)e(accessing)h(a)f(lo)q +(cation)g(should)g(inherit)g(from)f(this)i(t)o(yp)q(e.)0 +976 y(This)13 b(is)g(a)g(subt)o(yp)q(e)i(of)d Fs(error)p +Fw(.)17 b(The)d(initialization)d(k)o(eyw)o(ord)i Fs(:name)f +Fw(is)h(supp)q(orted)i(to)0 1028 y(initialize)d(the)j(slot,)e(whic)o(h) +h(can)g(b)q(e)g(accessed)j(using)c Fs(cell-error-name)p +Fw(.)1209 1149 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(cell-error-name) +18 b Fv(c)n(ondition)0 1226 y Fw(Accesses)f(the)d(o\013ending)g(cell)g +(name)f(of)g(a)g Fv(c)n(ondition)i Fw(of)e(t)o(yp)q(e)i +Fs(cell-error)p Fw(.)1284 1348 y([)p Fv(T)m(yp)n(e)s +Fw(])-1396 b Fs(unbound-variable)0 1424 y Fw(The)14 b(error)g(that)f +(results)i(from)c(trying)i(to)g(access)i(the)f(v)n(alue)f(of)f(an)h(un) +o(b)q(ound)h(v)n(ariable)0 1476 y(should)g(inherit)g(from)e(this)i(t)o +(yp)q(e.)k(This)c(is)g(a)f(subt)o(yp)q(e)i(of)e Fs(cell-error)p +Fw(.)1284 1598 y([)p Fv(T)m(yp)n(e)s Fw(])-1396 b Fs(undefined-functio) +o(n)0 1675 y Fw(The)12 b(error)g(that)g(results)h(from)c(trying)i(to)h +(access)h(the)f(v)n(alue)f(of)g(an)g(unde\014ned)i(function)0 +1726 y(should)h(inherit)g(from)e(this)i(t)o(yp)q(e.)k(This)c(is)g(a)f +(subt)o(yp)q(e)i(of)e Fs(cell-error)p Fw(.)p 0 1786 V +0 1846 a Fm(Remark:)22 b FA([Note:)e(This)c(remark)f(w)o(as)g(written)g +(w)o(ell)h(b)q(efore)f(the)g(v)o(ote)g(b)o(y)g(X3J13)g(in)g(June)0 +1892 y(1988)10 b Ff(h)p FA(12)p Ff(i)g FA(to)g(add)g(the)g(Common)g +(Lisp)h(Ob)r(ject)e(System)i(to)e(the)h(forthcoming)i(draft)d(standard) +0 1938 y(\(see)17 b(c)o(hapter)g(28\))g(and)g(the)g(v)o(ote)g(to)g(in)o +(tegrate)g(the)g(Condition)i(System)e(and)h(the)f(Ob)r(ject)0 +1983 y(System.)g(I)c(ha)o(v)o(e)h(retained)g(the)f(remark)h(here)f(for) +g(reasons)h(of)e(historical)k(in)o(terest.|GLS])42 2029 +y(Some)10 b(readers)h(ma)o(y)f(w)o(onder)g(wh)o(y)g Fj(undefined-)o +(fun)o(ct)o(ion)c FA(is)11 b(not)f(de\014ned)h(to)f(inherit)i(from)0 +2075 y(some)i(condition)j(suc)o(h)e(as)f Fj(control-err)o(or)o +FA(.)k(The)c(answ)o(er)h(is)f(that)h(an)o(y)g(suc)o(h)f(arrangemen)o(t) +0 2120 y(w)o(ould)j(require)g(the)f(presence)h(of)e(m)o(ultiple)k +(inheritance|a)g(luxury)e(w)o(e)f(do)g(not)g(curren)o(tly)0 +2166 y(ha)o(v)o(e)g(\(without)h(resorting)g(to)f Fj(deftype)p +FA(,)d(whic)o(h)k(w)o(e)e(are)h(curren)o(tly)i(a)o(v)o(oiding\).)28 +b(When)16 b(the)0 2212 y(Common)g(Lisp)g(Ob)r(ject)f(System)h(comes)g +(in)o(to)g(b)q(eing,)h(w)o(e)e(migh)o(t)i(w)o(an)o(t)e(to)g(consider)i +(issues)0 2257 y(lik)o(e)h(this.)29 b(Multiple)19 b(inheritance)g(mak)o +(es)e(a)g(lot)g(of)g(things)h(in)f(a)g(condition)i(system)e(m)o(uc)o(h) +0 2303 y(more)c(\015exible)i(to)e(deal)h(with.)p 0 2329 +V -33 2344 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1000 1024 +1000 1023 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1000)78 b(COMMON)12 +b(LISP)1284 295 y Fw([)p Fv(T)m(yp)n(e)s Fw(])-1396 b +Fs(arithmetic-error)0 372 y Fw(Errors)15 b(that)e(o)q(ccur)i(while)e +(doing)g(arithmetic)f(t)o(yp)q(e)j(op)q(erations)e(should)h(inherit)f +(from)0 423 y(this)d(t)o(yp)q(e.)18 b(This)10 b(is)g(a)g(subt)o(yp)q(e) +h(of)f Fs(error)p Fw(.)16 b(The)11 b(initialization)c(k)o(eyw)o(ords)k +Fs(:operation)0 475 y Fw(and)17 b Fs(:operands)f Fw(are)i(supp)q(orted) +h(to)e(initialize)f(the)i(slots,)g(whic)o(h)g(can)f(b)q(e)h(accessed)0 +527 y(using)c Fs(arithmetic-error)o(-ope)o(ratio)o(n)d +Fw(and)j Fs(arithmetic-error)o(-oper)o(ands)p Fw(.)1209 +654 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(arithmetic-error-)o(opera)o +(tion)18 b Fv(c)n(ondition)0 731 y Fw(Accesses)f(the)d(o\013ending)g +(op)q(eration)g(of)f(a)h(condition)f(of)g(t)o(yp)q(e)i +Fs(arithmetic-error)o Fw(.)1209 857 y([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(arithmetic-error-)o(opera)o(nds)18 b +Fv(c)n(ondition)0 934 y Fw(Accesses)f(a)d(list)g(of)f(the)i +(o\013ending)f(op)q(erands)h(in)f(a)f(condition)h(of)f(t)o(yp)q(e)i +Fs(arithmetic-)0 986 y(error)p Fw(.)1284 1112 y([)p Fv(T)m(yp)n(e)s +Fw(])-1396 b Fs(division-by-zero)0 1189 y Fw(Errors)17 +b(that)g(o)q(ccur)g(b)q(ecause)h(of)e(division)f(b)o(y)h(zero)h(should) +f(inherit)h(from)d(this)j(t)o(yp)q(e.)0 1241 y(This)d(is)g(a)f(subt)o +(yp)q(e)i(of)e Fs(arithmetic-error)p Fw(.)1284 1368 y([)p +Fv(T)m(yp)n(e)s Fw(])-1396 b Fs(floating-point-ov)o(erflo)o(w)0 +1445 y Fw(Errors)16 b(that)g(o)q(ccur)g(b)q(ecause)h(of)d(\015oating-p) +q(oin)o(t)g(o)o(v)o(er\015o)o(w)h(should)g(inherit)g(from)f(this)0 +1496 y(t)o(yp)q(e.)19 b(This)13 b(is)h(a)g(subt)o(yp)q(e)h(of)e +Fs(arithmetic-error)p Fw(.)1284 1623 y([)p Fv(T)m(yp)n(e)s +Fw(])-1396 b Fs(floating-point-un)o(derfl)o(ow)0 1700 +y Fw(Errors)13 b(that)g(o)q(ccur)g(b)q(ecause)h(of)e(\015oating-p)q +(oin)o(t)f(under\015o)o(w)i(should)f(inherit)g(from)f(this)0 +1752 y(t)o(yp)q(e.)19 b(This)13 b(is)h(a)g(subt)o(yp)q(e)h(of)e +Fs(arithmetic-error)p Fw(.)-33 1763 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 581 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1001 1025 +1001 1024 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(App)r(endix)21 +b(A)p 0 448 598 9 v 0 531 a Fp(Series)0 683 y Fx(BY)13 +b(RICHARD)g(C.)g(W)m(A)m(TERS)0 957 y Fr(p)t(r)t(e)t(f)t(a)t(c)t(e)t(:) +27 b Fw(A)16 b(series)j(is)e(a)f(data)h(structure)i(m)o(uc)o(h)d(lik)o +(e)g(a)g(sequence,)k(with)c(similar)-33 928 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1009 a(kinds)e(of)g(op)q(erations.)20 +b(The)15 b(di\013erence)i(is)d(that)h(in)f(man)o(y)e(situations,)i(op)q +(erations)h(on)0 1060 y(series)g(ma)o(y)e(b)q(e)h(comp)q(osed)g +(functionally)f(and)g(y)o(et)i(execute)h(iterativ)o(ely)m(,)c(without)i +(the)0 1112 y(need)h(to)f(construct)i(in)o(termediate)e(series)h(v)n +(alues)f(explicitly)m(.)k(In)c(this)g(manner,)f(series)0 +1164 y(pro)o(vide)h(b)q(oth)g(the)h(clarit)o(y)e(of)g(a)h(functional)f +(programming)d(st)o(yle)k(and)g(the)h(e\016ciency)0 1216 +y(of)e(an)h(iterativ)o(e)g(programmi)o(ng)d(st)o(yle.)42 +1269 y(The)f(remainder)f(of)g(this)h(c)o(hapter)h(consists)f(of)g(a)f +(description)i(b)o(y)e(Ric)o(hard)g(C.)h(W)m(aters)0 +1320 y(of)15 b(his)g(w)o(ork)g(on)g(an)g(existing)g(implem)o(en)o +(tation)d(of)j(series.)23 b(This)15 b(is)g(the)h(culmination)0 +1372 y(of)d(man)o(y)e(y)o(ears)j(of)f(design)g(and)g(use)h(of)f(this)g +(approac)o(h,)g(during)g(whic)o(h)g(some)g(100,000)0 +1424 y(lines)19 b(of)f(application)g(co)q(de)h(ha)o(v)o(e)g(b)q(een)h +(written)g(\(b)o(y)e(ab)q(out)h(half)f(a)h(dozen)g(p)q(eople)0 +1476 y(o)o(v)o(er)c(the)g(course)h(of)e(sev)o(en)i(y)o(ears\))g(using)e +(the)h(series)i(facilit)o(y)c(in)h(nearly)h(all)e(iteration)0 +1528 y(situations.)24 b(This)16 b(includes)g(one)h(large)e(system)h(\() +p Fs(KBEmacs)p Fw(\))f(of)g(o)o(v)o(er)h(40,000)e(lines)i(of)0 +1580 y(co)q(de.)42 1632 y(I)f(ha)o(v)o(e)h(edited)g(the)g(c)o(hapter)h +(only)e(v)o(ery)h(ligh)o(tly)e(to)h(conform)f(to)i(the)g(o)o(v)o(erall) +f(st)o(yle)0 1684 y(of)e(this)i(b)q(o)q(ok.)j(Please)d(see)g(the)g +(Preface)g(to)f(this)g(b)q(o)q(ok)g(for)g(more)f(information)e(ab)q +(out)0 1736 y(the)j(genesis)h(of)f(the)g(series)h(approac)o(h)f(and)g +(its)g(relationship)f(to)h(the)g(w)o(ork)g(of)f(X3J13.)1042 +1789 y(|Guy)f(L.)i(Steele)h(Jr.)0 1887 y Fo(A.1.)21 b(In)n(tro)r +(duction)0 1979 y Fw(Series)11 b(com)o(bine)e(asp)q(ects)i(of)f +(sequences,)j(streams,)d(and)g(lo)q(ops.)16 b(Lik)o(e)10 +b(sequences,)i(series)0 2031 y(represen)o(t)21 b(totally)d(ordered)i(m) +o(ulti-sets.)31 b(In)19 b(addition,)f(the)i(series)g(functions)f(ha)o +(v)o(e)0 2083 y(the)g(same)f(\015a)o(v)o(or)g(as)g(the)i(sequence)g +(functions|namely)m(,)d(they)i(op)q(erate)h(on)e(whole)0 +2135 y(series,)j(rather)e(than)f(extracting)h(elemen)o(ts)g(to)f(b)q(e) +h(pro)q(cessed)i(b)o(y)d(other)h(functions.)0 2186 y(F)m(or)e +(instance,)i(the)g(series)g(expression)g(b)q(elo)o(w)f(computes)f(the)i +(sum)d(of)i(the)g(p)q(ositiv)o(e)0 2238 y(elemen)o(ts)c(in)f(a)h(list.) +0 2329 y Fs(\(collect-sum)19 b(\(choose-if)g(#)522 2325 +y(-)522 2333 y(-)m Fn(')565 2329 y Fs(plusp)h(\(scan)823 +2333 y Fn(')846 2329 y Fs(\(1)h(-2)g(3)g(-4\)\)\)\))f +Ft(\))g Fs(4)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1318 2428 a Fy(1001)p eop +%%Page: 1002 1026 +1002 1025 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1002)78 b(COMMON)12 +b(LISP)42 295 y Fw(Lik)o(e)g(streams,)h(series)i(can)e(represen)o(t)j +(un)o(b)q(ounded)e(sets)g(of)f(elemen)o(ts)g(and)g(are)g(sup-)0 +347 y(p)q(orted)h(b)o(y)f(lazy)f(ev)n(aluation:)k(eac)o(h)e(elemen)o(t) +e(of)h(a)f(series)j(is)e(not)g(computed)f(un)o(til)g(it)h(is)0 +399 y(needed.)19 b(F)m(or)12 b(instance,)g(the)h(series)g(expression)h +(b)q(elo)o(w)e(returns)h(a)f(list)g(of)f(the)i(\014rst)g(\014v)o(e)0 +450 y(ev)o(en)g(natural)e(n)o(um)o(b)q(ers)g(and)h(their)g(sum.)17 +b(The)12 b(call)f(on)h Fs(scan-range)d Fw(returns)14 +b(a)d(series)0 502 y(of)i(all)g(the)h(ev)o(en)h(natural)e(n)o(um)o(b)q +(ers.)18 b(Ho)o(w)o(ev)o(er,)c(since)g(no)g(elemen)o(ts)f(b)q(ey)o(ond) +i(the)f(\014rst)0 554 y(\014v)o(e)g(are)g(ev)o(er)h(used,)f(no)g +(elemen)o(ts)g(b)q(ey)o(ond)g(the)g(\014rst)h(\014v)o(e)f(are)h(ev)o +(er)f(computed.)0 647 y Fs(\(let)20 b(\(\(x)h(\(subseries)e +(\(scan-range)g(:from)h(0)h(:by)g(2\))f(0)h(5\)\)\))42 +699 y(\(values)f(\(collect)g(x\))g(\(collect-sum)f(x\)\)\))42 +751 y Ft(\))i Fs(\(0)g(2)g(4)g(6)g(8\))f Fw(and)h Fs(20)42 +844 y Fw(Lik)o(e)12 b(sequences)j(and)d(unlik)o(e)g(streams,)h(a)f +(series)i(is)e(not)h(altered)g(when)g(its)g(elemen)o(ts)0 +895 y(are)h(accessed.)21 b(F)m(or)13 b(instance,)h(b)q(oth)g(users)i +(of)d Fs(x)h Fw(ab)q(o)o(v)o(e)f(receiv)o(e)i(the)g(same)e(elemen)o +(ts.)42 948 y(A)g(totally)f(ordered)i(m)o(ulti-set)e(of)h(elemen)o(ts)g +(can)g(b)q(e)h(represen)o(ted)i(in)d(a)g(lo)q(op)f(b)o(y)h(the)0 +1000 y(successiv)o(e)18 b(v)n(alues)e(of)f(a)g(v)n(ariable.)23 +b(This)15 b(is)h(extremely)g(e\016cien)o(t,)g(b)q(ecause)h(it)f(a)o(v)o +(oids)0 1052 y(the)h(need)f(to)g(store)h(the)g(elemen)o(ts)e(as)i(a)e +(group)h(in)f(an)o(y)h(kind)f(of)h(data)f(structure.)27 +b(In)0 1104 y(most)15 b(situations,)i(series)h(expressions)g(ac)o(hiev) +o(e)f(this)g(same)e(high)h(lev)o(el)h(of)f(e\016ciency)m(,)0 +1156 y(b)q(ecause)e(they)f(are)f(automatically)d(transformed)j(in)o(to) +f(lo)q(ops)h(b)q(efore)h(b)q(eing)f(ev)n(aluated)0 1208 +y(or)18 b(compiled.)28 b(F)m(or)17 b(instance,)i(the)f(\014rst)h +(expression)g(ab)q(o)o(v)o(e)e(is)h(transformed)f(in)o(to)g(a)0 +1259 y(lo)q(op)c(lik)o(e)g(the)i(follo)o(wing.)0 1353 +y Fs(\(let)20 b(\(\(sum)g(0\)\))42 1405 y(\(dolist)g(\(i)279 +1409 y Fn(')302 1405 y Fs(\(1)h(-2)g(3)f(-4\))h(sum\))85 +1456 y(\(when)f(\(plusp)g(i\))h(\(setq)f(sum)g(\(+)h(sum)f(i\)\)\)\)\)) +g Ft(\))h Fs(4)42 1549 y Fw(A)15 b(wide)g(v)n(ariet)o(y)g(of)g +(algorithms)e(can)i(b)q(e)h(expressed)i(clearly)d(and)g(succinctly)h +(with)0 1601 y(series)d(expressions.)19 b(In)12 b(particular,)g(at)g +(least)g(90)f(p)q(ercen)o(t)j(of)e(the)g(lo)q(ops)g(programmers)0 +1653 y(t)o(ypically)i(write)h(can)g(b)q(e)h(replaced)g(b)o(y)f(series)i +(expressions)f(that)g(are)f(m)o(uc)o(h)f(easier)i(to)0 +1704 y(understand)g(and)f(mo)q(dify)m(,)d(and)j(just)g(as)g(e\016cien)o +(t.)22 b(F)m(rom)13 b(this)i(p)q(ersp)q(ectiv)o(e,)i(the)f(k)o(ey)0 +1756 y(feature)g(of)e(series)j(is)e(that)g(they)g(are)h(supp)q(orted)g +(b)o(y)f(a)g(ric)o(h)g(set)h(of)f(functions.)21 b(These)0 +1808 y(functions)14 b(more)f(or)h(less)g(corresp)q(ond)i(to)d(the)i +(union)e(of)h(the)g(op)q(erations)g(pro)o(vided)g(b)o(y)0 +1860 y(the)g(sequence)j(functions,)c(the)i Fs(loop)e +Fw(clauses,)h(and)g(the)g(v)o(ector)h(op)q(erations)f(of)f(APL.)42 +1913 y(Some)f(series)j(expressions)g(cannot)f(b)q(e)g(transformed)f(in) +o(to)g(lo)q(ops.)k(This)c(is)h(unfortu-)0 1965 y(nate,)i(b)q(ecause)h +(while)d(transformable)g(series)j(expressions)g(are)f(m)o(uc)o(h)e +(more)g(e\016cien)o(t)0 2017 y(than)c(equiv)n(alen)o(t)f(expressions)i +(in)o(v)o(olving)c(sequences)13 b(or)c(streams,)h(non-transformable)0 +2069 y(series)k(expressions)h(are)e(m)o(uc)o(h)f(less)i(e\016cien)o(t.) +k(Whenev)o(er)c(a)f(problem)f(comes)h(up)g(that)0 2120 +y(blo)q(c)o(ks)g(the)i(transformation)c(of)i(a)g(series)i(expression,)f +(a)f(w)o(arning)g(message)g(is)g(issued.)0 2172 y(On)j(the)h(basis)f +(of)f(information)e(in)j(the)g(message,)g(it)g(is)g(usually)f(easy)h +(to)g(pro)o(vide)g(an)0 2224 y(e\016cien)o(t)e(\014x)g(for)g(the)g +(problem)f(\(see)i(section)g(A.3\).)42 2277 y(F)m(ortunately)m(,)c +(most)h(series)j(expressions)f(can)f(b)q(e)h(transformed)e(in)o(to)h +(lo)q(ops.)k(In)c(par-)0 2329 y(ticular,)e(pure)h(expressions)g(\(ones) +g(that)f(do)g(not)f(store)i(series)h(in)d(v)n(ariables\))h(can)g(alw)o +(a)o(ys)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1003 1027 +1003 1026 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SERIES)1194 b(1003)0 +295 y Fw(b)q(e)18 b(transformed.)26 b(As)17 b(a)g(result,)h(the)g(b)q +(est)g(approac)o(h)f(for)f(programmers)f(to)i(tak)o(e)g(is)0 +347 y(simply)f(to)h(write)h(series)h(expressions)h(without)d(w)o +(orrying)g(ab)q(out)h(transformabilit)o(y)l(.)0 399 y(When)c(problems)f +(come)g(up,)h(they)g(can)h(b)q(e)f(ignored)g(\(since)h(they)f(cannot)h +(lead)e(to)h(the)0 450 y(computation)e(of)h(incorrect)j(results\))f(or) +f(dealt)f(with)h(on)g(an)f(individual)f(basis.)p 0 510 +V 0 572 a Fm(Implemen)o(tation)i(note:)19 b FA(The)14 +b(series)h(functions)h(and)e(the)h(theory)f(underlying)j(them)d(are)0 +617 y(describ)q(ed)19 b(in)f(greater)f(detail)i(in)f([52,)f(53].)29 +b(These)17 b(rep)q(orts)h(also)g(discuss)g(the)f(algorithms)0 +663 y(required)j(to)f(transform)g(series)g(expressions)i(in)o(to)e(lo)q +(ops)h(and)g(explain)g(ho)o(w)f(to)g(obtain)h(a)0 709 +y(p)q(ortable)15 b(implemen)o(tation.)p 0 756 V 0 931 +a Fo(A.2.)21 b(Series)13 b(F)-5 b(unctions)0 1031 y Fw(Throughout)14 +b(this)f(c)o(hapter)i(the)f(notation)f Fs(S)719 1037 +y Fi(j)745 1031 y Fw(is)h(used)g(to)g(denote)g(the)h +Fv(j)6 b Fw(th)13 b(elemen)o(t)g(of)0 1083 y(the)f(series)g +Fs(S)p Fw(.)e(As)h(in)g(a)g(list)f(or)h(v)o(ector,)h(the)f(\014rst)h +(elemen)o(t)f(of)f(a)g(series)j(has)e(the)g(subscript)0 +1135 y(zero.)42 1188 y(The)21 b Fs(#)134 1184 y(-)134 +1192 y(-)176 1188 y Fw(macro)f(c)o(haracter)i(syn)o(tax)f +Fs(#)636 1184 y(-)636 1192 y(-)657 1188 y(Z)p Fv(list)f +Fw(denotes)i(a)e(series)j(that)d(con)o(tains)h(the)0 +1240 y(elemen)o(ts)14 b(of)f Fv(list)p Fw(.)k(This)d(syn)o(tax)g(is)f +(also)h(used)g(when)h(series)g(are)f(prin)o(ted.)0 1337 +y Fs(\(choose-if)19 b(#)239 1333 y(-)239 1341 y(-)n Fn(')282 +1337 y Fs(symbolp)h(#)456 1333 y(-)456 1341 y(-)478 1337 +y(Z\(a)g(2)h(b\)\))g Ft(\))f Fs(#)756 1333 y(-)756 1341 +y(-)778 1337 y(Z\(a)h(b\))0 1432 y Fw(Series)16 b(are)f(self-ev)n +(aluating)e(ob)r(jects)j(and)f(the)g(series)h(data)e(t)o(yp)q(e)i(is)e +(disjoin)o(t)g(from)f(all)0 1484 y(other)i(t)o(yp)q(es.)1123 +1669 y([)p Fv(T)m(yp)n(e)f(sp)n(e)n(ci\014er)t Fw(])-1395 +b Fs(series)20 b Fv(element)p Fs(-)p Fv(typ)n(e)0 1747 +y Fw(The)h(t)o(yp)q(e)g(sp)q(eci\014er)h Fs(\(series)e +Fv(element)p Fs(-)p Fv(typ)n(e)p Fs(\))g Fw(denotes)i(the)f(set)g(of)f +(series)i(whose)0 1798 y(elemen)o(ts)14 b(are)g(all)f(mem)o(b)q(ers)f +(of)i(the)g(t)o(yp)q(e)g Fv(element-typ)n(e)p Fw(.)1209 +1983 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(series)20 +b Fv(ar)n(g)k Fs(&rest)d Fv(ar)n(gs)0 2061 y Fw(The)15 +b(function)g Fs(series)e Fw(returns)j(an)f(un)o(b)q(ounded)g(series)h +(that)f(endlessly)h(rep)q(eats)g(the)0 2113 y(v)n(alues)k(of)g(the)i +(argumen)o(ts.)37 b(The)21 b(second)h(example)d(b)q(elo)o(w)i(sho)o(ws) +g(the)g(preferred)0 2164 y(metho)q(d)13 b(for)h(constructing)g(a)g(b)q +(ounded)h(series.)0 2261 y Fs(\(series)171 2265 y Fn(')195 +2261 y Fs(b)236 2265 y Fn(')259 2261 y Fs(c\))21 b Ft(\))f +Fs(#)386 2257 y(-)386 2265 y(-)408 2261 y(Z\(b)h(c)g(b)g(c)g(b)g(c)g +(...\))0 2313 y(\(scan)f(\(list)258 2317 y Fn(')281 2313 +y Fs(a)322 2317 y Fn(')346 2313 y Fs(b)386 2317 y Fn(')410 +2313 y Fs(c\)\))g Ft(\))h Fs(#)559 2309 y(-)559 2317 +y(-)581 2313 y(Z\(a)f(b)h(c\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1004 1028 +1004 1027 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1004)78 b(COMMON)12 +b(LISP)0 295 y Fo(A.2.1.)20 b(Scanners)0 380 y Fw(Scanners)12 +b(create)g(series)h(outputs)e(based)g(on)g(non-series)h(inputs.)17 +b(Either)11 b(they)h(op)q(erate)0 432 y(based)18 b(on)g(some)e(form)o +(ula)f(\(for)j(example,)e(scanning)i(a)f(range)h(of)f(in)o(tegers\))i +(or)e(they)0 484 y(en)o(umerate)11 b(the)h(elemen)o(ts)g(in)e(an)i +(aggregate)f(data)g(structure)i(\(for)f(example,)e(scanning)0 +536 y(the)k(elemen)o(ts)g(in)g(a)f(list)h(or)g(arra)o(y\).)1209 +664 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(scan-range)19 +b(&key)h(\(:start)g(0\))h(\(:by)f(1\))h(\(:type)909 668 +y Fn(')932 664 y Fs(number\))239 716 y(:upto)f(:below)g(:downto)g +(:above)g(:length)0 793 y Fw(The)11 b(function)f Fs(scan-range)e +Fw(returns)j(a)f(series)i(of)d(n)o(um)o(b)q(ers)h(starting)g(with)g +(the)h Fs(:start)0 845 y Fw(argumen)o(t)j(\(default)i(in)o(teger)g +Fs(0)p Fw(\))f(and)g(coun)o(ting)h(up)f(b)o(y)h(the)g +Fs(:by)f Fw(argumen)o(t)f(\(default)0 897 y(in)o(teger)d +Fs(1)p Fw(\).)17 b(The)12 b Fs(:type)d Fw(argumen)o(t)h(\(default)h +Fs(number)p Fw(\))f(is)g(a)h(t)o(yp)q(e)g(sp)q(eci\014er)i(indicating)0 +949 y(the)i(t)o(yp)q(e)h(of)e(n)o(um)o(b)q(ers)g(in)g(the)i(series)g +(pro)q(duced.)22 b(The)15 b Fs(:type)e Fw(argumen)o(t)h(m)o(ust)g(b)q +(e)h(a)0 1000 y(\(not)g(necessarily)g(prop)q(er\))h(subt)o(yp)q(e)f(of) +f Fs(number)p Fw(.)k(The)d Fs(:start)e Fw(and)i Fs(:by)e +Fw(argumen)o(ts)0 1052 y(m)o(ust)g(b)q(e)h(of)g(that)g(t)o(yp)q(e.)42 +1104 y(One)g(of)g(the)g(last)g(\014v)o(e)h(argumen)o(ts)e(ma)o(y)f(b)q +(e)j(used)g(to)f(sp)q(ecify)g(the)h(kind)f(of)f(end)i(test)0 +1156 y(to)k(b)q(e)h(used;)j(these)e(are)f(called)f Fv(termination)g(ar) +n(guments)p Fw(.)35 b(If)19 b Fs(:upto)f Fw(is)i(sp)q(eci\014ed,)0 +1208 y(coun)o(ting)e(con)o(tin)o(ues)h(only)e(so)h(long)g(as)g(the)h(n) +o(um)o(b)q(ers)f(generated)h(are)g(less)g(than)f(or)0 +1260 y(equal)13 b(to)h Fs(:upto)p Fw(.)i(If)e Fs(:below)e +Fw(is)h(sp)q(eci\014ed,)i(coun)o(ting)e(con)o(tin)o(ues)h(only)f(so)h +(long)e(as)i(the)0 1312 y(n)o(um)o(b)q(ers)k(generated)h(are)f(less)h +(than)f Fs(:below)p Fw(.)29 b(If)18 b Fs(:downto)e Fw(is)i(sp)q +(eci\014ed,)i(coun)o(ting)0 1364 y(con)o(tin)o(ues)e(only)f(so)h(long)f +(as)h(the)h(n)o(um)o(b)q(ers)e(generated)i(are)g(greater)f(than)g(or)g +(equal)0 1416 y(to)g Fs(:downto)p Fw(.)30 b(If)18 b Fs(:above)f +Fw(is)h(sp)q(eci\014ed,)i(coun)o(ting)e(con)o(tin)o(ues)h(only)e(so)h +(long)g(as)g(the)0 1467 y(n)o(um)o(b)q(ers)c(generated)i(are)g(greater) +f(than)g Fs(:above)p Fw(.)k(If)c Fs(:length)e Fw(is)h(sp)q(eci\014ed,)i +(it)f(m)o(ust)0 1519 y(b)q(e)g(a)e(non-negativ)o(e)h(in)o(teger)g(and)g +(the)g(output)g(series)h(has)f(this)g(length.)42 1571 +y(If)20 b(none)h(of)f(the)h(termination)e(argumen)o(ts)h(are)h(sp)q +(eci\014ed,)i(the)e(output)g(has)g(un-)0 1623 y(b)q(ounded)15 +b(length.)k(If)13 b(more)h(than)g(one)g(termination)f(argumen)o(t)g(is) +h(sp)q(eci\014ed,)h(it)f(is)g(an)0 1675 y(error.)0 1760 +y Fs(\(scan-range)19 b(:upto)h(4\))h Ft(\))f Fs(#)518 +1756 y(-)518 1764 y(-)540 1760 y(Z\(0)h(1)g(2)g(3)g(4\))0 +1812 y(\(scan-range)e(:from)h(1)h(:by)g(-1)f(:above)g(-4\))h +Ft(\))f Fs(#)886 1808 y(-)886 1816 y(-)908 1812 y(Z\(1)h(0)g(-1)g(-2)f +(-3\))0 1864 y(\(scan-range)f(:from)h(.5)h(:by)f(.1)h(:type)735 +1868 y Fn(')758 1864 y Fs(float\))f Ft(\))h Fs(#)973 +1860 y(-)973 1868 y(-)995 1864 y(Z\(.5)f(.6)h(.7)g(...\))0 +1916 y(\(scan-range\))e Ft(\))h Fs(#)345 1912 y(-)345 +1920 y(-)367 1916 y(Z\(0)h(1)g(2)g(3)g(4)g(5)g(6)f(...\))1209 +2044 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(scan)20 +b Fv(se)n(quenc)n(e)1209 2096 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(scan)20 b Fv(typ)n(e)25 b(se)n(quenc)n(e)0 +2173 y Fs(scan)14 b Fw(returns)j(a)d(series)j(con)o(taining)d(the)h +(elemen)o(ts)g(of)g Fv(se)n(quenc)n(e)g Fw(in)g(order.)22 +b(The)16 b Fv(typ)n(e)0 2225 y Fw(argumen)o(t)d(is)g(a)g(t)o(yp)q(e)i +(sp)q(eci\014er)g(indicating)e(the)h(t)o(yp)q(e)g(of)f(sequence)j(to)d +(b)q(e)i(scanned;)f(it)0 2277 y(m)o(ust)e(b)q(e)h(a)f(\(not)h +(necessarily)g(prop)q(er\))h(subt)o(yp)q(e)g(of)e Fs(sequence)p +Fw(.)k(If)c Fv(typ)n(e)h Fw(is)f(omitted,)f(it)0 2329 +y(defaults)h(to)g Fs(list)p Fw(.)k(\(This)c(function)f(exhibits)h(an)g +(argumen)o(t)f(pattern)h(that)g(is)g(un)o(usual)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1005 1029 +1005 1028 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SERIES)1194 b(1005)0 +295 y Fw(for)17 b(Commo)o(n)e(Lisp:)24 b(an)17 b(\\optional")e(argumen) +o(t)h(preceding)i(a)f(required)h(argumen)o(t.)0 347 y(This)c(pattern)h +(cannot)f(b)q(e)g(expressed)j(in)c(the)i(usual)f(manner)f(with)g +Fs(&optional)p Fw(.)k(It)d(is)0 399 y(indicated)j(ab)q(o)o(v)o(e)g(b)o +(y)g(t)o(w)o(o)g(de\014nition)g(lines,)g(sho)o(wing)g(the)h(t)o(w)o(o)e +(p)q(ossible)i(argumen)o(t)0 450 y(patterns.\))42 504 +y(If)d(the)i Fv(se)n(quenc)n(e)f Fw(is)g(a)g(list,)g(it)f(m)o(ust)g(b)q +(e)i(a)e(prop)q(er)i(list)f(ending)g(in)f Fs(nil)p Fw(.)24 +b(Scanning)0 555 y(is)13 b(signi\014can)o(tly)f(more)h(e\016cien)o(t)g +(if)g(it)g(can)g(b)q(e)h(determined)g(at)f(compile)e(time)h(whether)0 +607 y Fv(typ)n(e)17 b Fw(is)f(a)g(subt)o(yp)q(e)i(of)e +Fs(list)g Fw(or)g Fs(vector)g Fw(and)g(for)g(v)o(ectors)i(what)e(the)i +(length)e(of)g(the)0 659 y(v)o(ector)f(is.)0 757 y Fs(\(scan)128 +761 y Fn(')151 757 y Fs(\(a)21 b(b)g(c\)\))g Ft(\))f +Fs(#)408 753 y(-)408 761 y(-)430 757 y(Z\(a)h(b)g(c\))0 +809 y(\(scan)128 813 y Fn(')151 809 y Fs(string)f("BAR"\))g +Ft(\))h Fs(#)518 805 y(-)518 813 y(-)540 809 y(Z\(#)584 +805 y(-)584 813 y(-)605 809 y(\\B)g(#)670 805 y(-)670 +813 y(-)692 809 y(\\A)f(#)756 805 y(-)756 813 y(-)778 +809 y(\\R\))1209 1000 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(scan-sublists)18 b Fv(list)0 1078 y Fs(scan-sublists)10 +b Fw(returns)15 b(a)e(series)h(con)o(taining)e(the)h(successiv)o(e)j +(sublists)d(of)f Fv(list)p Fw(.)17 b(The)0 1129 y Fv(list)c +Fw(m)o(ust)g(b)q(e)h(a)g(prop)q(er)h(list)e(ending)h(in)f +Fs(nil)p Fw(.)0 1228 y Fs(\(scan-sublists)324 1232 y +Fn(')347 1228 y Fs(\(a)21 b(b)g(c\)\))g Ft(\))f Fs(#)604 +1224 y(-)604 1232 y(-)626 1228 y(Z\(\(a)h(b)f(c\))h(\(b)g(c\))g +(\(c\)\))1209 1418 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(scan-multiple)18 b Fv(typ)n(e)25 b(\014rst)p Fs(-)p +Fv(se)n(quenc)n(e)f Fs(&rest)d Fv(mor)n(e)p Fs(-)p Fv(se)n(quenc)n(es)0 +1496 y Fw(Sev)o(eral)f(sequences)j(can)e(b)q(e)g(scanned)g(at)f(once)h +(b)o(y)f(using)g(sev)o(eral)h(calls)f(on)g Fs(scan)p +Fw(.)0 1548 y(Eac)o(h)14 b(call)e(on)h Fs(scan)g Fw(will)e(test)k(to)e +(see)h(when)g(its)f(sequence)j(runs)e(out)f(of)g(elemen)o(ts)g(and)0 +1600 y(execution)i(will)e(stop)i(as)f(so)q(on)h(as)f(an)o(y)g(of)g(the) +h(sequences)i(are)e(exhausted.)20 b(Although)0 1652 y(v)o(ery)14 +b(robust,)g(this)f(approac)o(h)h(to)f(scanning)h(can)g(b)q(e)g +(ine\016cien)o(t.)k(In)13 b(situations)h(where)0 1704 +y(it)e(is)h(kno)o(wn)f(in)g(adv)n(ance)h(whic)o(h)f(sequence)j(is)d +(the)i(shortest,)f Fs(scan-multiple)d Fw(can)j(b)q(e)0 +1755 y(used)i(to)f(obtain)f(the)h(same)f(results)i(more)e(rapidly)m(.) +42 1809 y Fs(scan-multiple)k Fw(is)j(similar)e(to)h Fs(scan)h +Fw(except)h(that)f(sev)o(eral)h(sequences)i(can)d(b)q(e)0 +1860 y(scanned)f(at)e(once.)29 b(If)18 b(there)g(are)g +Fv(n)g Fw(sequence)i(inputs,)e Fs(scan-multiple)c Fw(returns)19 +b Fv(n)0 1912 y Fw(series)f(con)o(taining)e(the)i(elemen)o(ts)e(of)h +(these)h(sequences.)30 b(It)17 b(m)o(ust)f(b)q(e)h(the)h(case)g(that)0 +1964 y(none)10 b(of)f(the)h(sequence)i(inputs)e(is)f(shorter)i(than)f +(the)g(\014rst)h(sequence.)18 b(All)9 b(of)g(the)i(output)0 +2016 y(series)16 b(are)f(the)g(same)f(length)h(as)g(the)g(\014rst)g +(input)g(sequence.)22 b(Extra)15 b(elemen)o(ts)g(in)f(the)0 +2068 y(other)20 b(input)e(sequences)k(are)d(ignored.)33 +b(Using)18 b Fs(scan-multiple)f Fw(is)h(more)g(e\016cien)o(t)0 +2120 y(than)f(using)h(m)o(ultiple)d(instances)j(of)f +Fs(scan)p Fw(,)g(b)q(ecause)i Fs(scan-multiple)c Fw(only)h(has)i(to)0 +2172 y(c)o(hec)o(k)d(for)e(the)i(\014rst)g(input)e(running)h(out)g(of)f +(elemen)o(ts.)42 2225 y(If)e Fv(typ)n(e)i Fw(is)f(of)g(the)g(form)f +Fs(\(values)20 b Fv(t)606 2231 y Fk(1)645 2225 y Fh(:)7 +b(:)g(:)20 b Fv(t)t Fh(x)757 2231 y Fg(m)788 2225 y Fs(\))p +Fw(,)12 b(then)h(there)g(m)o(ust)e(b)q(e)i Fv(m)j Fw(sequence)0 +2277 y(inputs)g(and)f(the)h Fv(i)t Fw(th)g(sequence)i(m)o(ust)c(ha)o(v) +o(e)i(t)o(yp)q(e)g Fv(t)841 2283 y Fi(i)853 2277 y Fw(.)23 +b(Otherwise)17 b(there)g(can)f(b)q(e)g(an)o(y)0 2329 +y(n)o(um)o(b)q(er)d(of)g(sequence)j(inputs,)e(eac)o(h)g(of)g(whic)o(h)g +(m)o(ust)e(ha)o(v)o(e)i(t)o(yp)q(e)g Fv(typ)n(e)p Fw(.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1006 1030 +1006 1029 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1006)78 b(COMMON)12 +b(LISP)0 295 y Fs(\(multiple-value-b)o(ind)18 b(\(data)i(weights\))85 +347 y(\(scan-multiple)409 351 y Fn(')432 347 y Fs(list)538 +351 y Fn(')562 347 y Fs(\(1)g(6)h(3)g(2)g(8\))818 351 +y Fn(')841 347 y Fs(\(2)g(3)g(3)g(3)g(2\)\))42 399 y(\(collect)f +(\(map-fn)g(t)h(#)455 395 y(-)455 403 y(-)m Fn(')498 +399 y Fs(*)f(data)h(weights\)\)\))42 450 y Ft(\))g Fs(\(2)g(18)g(9)g(6) +f(16\))1209 570 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(scan-lists-of-lis)o(ts)18 b Fv(lists)p Fs(-)p Fv(of)p +Fs(-)p Fv(lists)23 b Fs(&optional)c Fv(le)n(af)p Fs(-)p +Fv(test)1209 622 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(scan-lists-of-lis)o(ts-fr)o(inge)18 b Fv(lists)p +Fs(-)p Fv(of)p Fs(-)p Fv(lists)k Fs(&optional)42 674 +y Fv(le)n(af)p Fs(-)p Fv(test)0 751 y Fw(The)16 b(argumen)o(t)f +Fv(lists-of-lists)f Fw(is)i(view)o(ed)g(as)g(a)g(tree)h(where)h(eac)o +(h)e(in)o(ternal)g(no)q(de)g(is)g(a)0 803 y(non-empt)o(y)10 +b(list)h(and)g(the)h(elemen)o(ts)f(of)f(the)i(list)f(are)h(the)f(c)o +(hildren)h(of)e(the)i(no)q(de.)18 b Fs(scan-)0 855 y(lists-of-lists)7 +b Fw(and)i Fs(scan-lists-of-list)o(s-fri)o(nge)d Fw(eac)o(h)11 +b(scan)f Fv(lists-of-lists)d Fw(in)0 907 y(preorder)12 +b(and)f(return)g(a)g(series)h(of)e(its)g(no)q(des.)18 +b Fs(scan-lists-of-list)o(s)8 b Fw(returns)k(ev)o(ery)0 +958 y(no)q(de)i(in)f(the)h(tree.)19 b Fs(scan-lists-of-lists)o(-frin)o +(ge)10 b Fw(returns)16 b(only)c(the)i(leaf)f(no)q(des.)42 +1010 y(The)j(scan)g(pro)q(ceeds)i(as)d(follo)o(ws.)22 +b(The)16 b(argumen)o(t)f Fv(lists-of-lists)e Fw(can)j(b)q(e)h(an)o(y)e +(Lisp)0 1062 y(ob)r(ject.)j(If)10 b Fv(lists-of-lists)f +Fw(is)h(an)h(atom)e(or)i(satis\014es)g(the)h(predicate)g +Fv(le)n(af-test)d Fw(\(if)h(presen)o(t\),)0 1114 y(it)k(is)h(a)f(leaf)h +(no)q(de.)21 b(\(The)15 b(predicate)h(can)f(coun)o(t)g(on)f(b)q(eing)h +(applied)f(only)g(to)h(conses.\))0 1166 y(Otherwise,)g +Fv(lists-of-lists)d Fw(is)i(a)f(\(not)h(necessarily)i(prop)q(er\))f +(list.)j(The)c(\014rst)h(elemen)o(t)e(of)0 1218 y Fv(lists-of-lists)i +Fw(is)i(recursiv)o(ely)h(scanned)g(in)e(full,)g(follo)o(w)o(ed)g(b)o(y) +g(the)i(second)g(and)f(so)g(on)0 1270 y(un)o(til)12 b(a)h(non-cons)g +Fv(c)n(dr)g Fw(is)g(encoun)o(tered.)20 b(Whether)14 b(or)f(not)g(this)g +(\014nal)f Fv(c)n(dr)h Fw(is)g Fs(nil)p Fw(,)f(it)h(is)0 +1322 y(ignored.)0 1406 y Fs(\(scan-lists-of-li)o(sts)455 +1410 y Fn(')478 1406 y Fs(\(\(2\))21 b(\(nil\)\)\))42 +1458 y Ft(\))g Fs(#)105 1454 y(-)105 1462 y(-)127 1458 +y(Z\(\(\(2\))f(\(nil\)\))g(\(2\))g(2)h(\(nil\))f(nil\))0 +1509 y(\(scan-lists-of-li)o(sts-f)o(ringe)607 1513 y +Fn(')631 1509 y Fs(\(\(2\))g(\(nil\)\)\))g Ft(\))h Fs(#)976 +1505 y(-)976 1513 y(-)997 1509 y(Z\(2)g(nil\))0 1561 +y(\(scan-lists-of-li)o(sts-f)o(ringe)607 1565 y Fn(')631 +1561 y Fs(\(\(2\))f(\(nil\)\))593 1613 y(#)593 1609 y(-)593 +1617 y(-)m Fn(')636 1613 y Fs(\(lambda)f(\(e\))i(\(numberp)f(\(car)g +(e\)\)\)\))42 1665 y Ft(\))h Fs(#)105 1661 y(-)105 1669 +y(-)127 1665 y(Z\(\(2\))f(nil\))1209 1785 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(scan-alist)19 b Fv(a)p Fs(-)p Fv(list)24 +b Fs(&optional)c(\()p Fv(test)k Fs(#)689 1781 y(-)689 +1789 y(-)n Fn(')732 1785 y Fs(eql\))1209 1837 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(scan-plist)19 b Fv(plist)1209 +1889 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(scan-hash)19 +b Fv(table)0 1966 y Fw(When)13 b(giv)o(en)f(an)h(asso)q(ciation)f +(list,)g(a)h(prop)q(ert)o(y)g(list,)g(or)f(a)h(hash)g(table)f(\(resp)q +(ectiv)o(ely\),)0 2017 y(eac)o(h)f(of)g(these)h(functions)f(pro)q +(duces)i(t)o(w)o(o)d(outputs:)17 b(a)11 b(series)h(of)e(k)o(eys)i +Fv(K)f Fw(and)f(a)h(series)h(of)0 2069 y(the)g(corresp)q(onding)h(v)n +(alues)e Fv(V)p Fw(.)g(Eac)o(h)h(k)o(ey)g(in)f(the)h(input)g(app)q +(ears)g(exactly)g(once)g(in)f(the)0 2121 y(output,)16 +b(ev)o(en)g(if)f(it)g(app)q(ears)i(more)d(than)i(once)g(in)f(the)h +(input.)23 b(\(The)17 b Fv(test)e Fw(argumen)o(t)0 2173 +y(of)i Fs(scan-alist)e Fw(sp)q(eci\014es)k(the)f(equalit)o(y)f(test)h +(b)q(et)o(w)o(een)h(k)o(eys;)g(it)e(defaults)g(to)h Fs(eql)p +Fw(.\))0 2225 y(The)c(t)o(w)o(o)g(outputs)g(ha)o(v)o(e)g(the)g(same)f +(length.)18 b(Eac)o(h)c Fv(V)864 2231 y Fi(j)891 2225 +y Fw(is)f(the)i(v)n(alue)e(returned)j(b)o(y)d(the)0 2277 +y(appropriate)f(accessing)h(function)f(\()p Fs(cdr)f +Fw(of)g Fs(assoc)p Fw(,)g Fs(getf)p Fw(,)g(or)h Fs(gethash)p +Fw(,)e(resp)q(ectiv)o(ely\))0 2329 y(when)20 b(giv)o(en)e +Fv(K)259 2335 y Fi(j)272 2329 y Fw(.)33 b Fs(scan-alist)17 +b Fw(and)i Fs(scan-plist)e Fw(scan)j(k)o(eys)f(in)g(the)g(order)h(they) +-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1007 1031 +1007 1030 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SERIES)1194 b(1007)0 +295 y Fw(app)q(ear)18 b(in)f(the)h(underlying)f(structure.)31 +b Fs(scan-hash)15 b Fw(scans)k(k)o(eys)f(in)f(no)g(particular)0 +347 y(order.)0 435 y Fs(\(scan-plist)259 439 y Fn(')282 +435 y Fs(\(a)k(1)g(b)g(3\)\))f Ft(\))h Fs(#)582 431 y(-)582 +439 y(-)604 435 y(Z\(a)f(b\))h Fw(and)g Fs(#)843 431 +y(-)843 439 y(-)865 435 y(Z\(1)f(3\))0 487 y(\(scan-alist)259 +491 y Fn(')282 487 y Fs(\(\(a)h(.)g(1\))f(nil)h(\(a)g(.)g(3\))f(\(b)h +(.)g(2\)\)\))42 539 y Ft(\))g Fs(#)105 535 y(-)105 543 +y(-)127 539 y(Z\(a)f(b\))h Fw(and)g Fs(#)366 535 y(-)366 +543 y(-)388 539 y(Z\(1)g(2\))1209 683 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(scan-symbols)19 b(&optional)g(\()p Fv(p)n(ackage)25 +b Fs(*package*\))0 760 y(scan-symbols)8 b Fw(returns)13 +b(a)e(series,)h(in)f(no)g(particular)f(order,)i(and)f(p)q(ossibly)g +(con)o(taining)0 812 y(duplicates,)h(of)g(the)g(sym)o(b)q(ols)f +(accessible)i(in)e Fv(p)n(ackage)i Fw(\(whic)o(h)f(defaults)g(to)g(the) +g(curren)o(t)0 863 y(pac)o(k)n(age\).)1209 1007 y([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(scan-file)19 b Fv(\014le)p +Fs(-)p Fv(name)25 b Fs(&optional)19 b(\()p Fv(r)n(e)n(ader)25 +b Fs(#)790 1003 y(-)790 1011 y(-)n Fn(')833 1007 y Fs(read\))0 +1084 y(scan-file)11 b Fw(op)q(ens)j(the)f(\014le)g(named)f(b)o(y)g(the) +i(string)f Fv(\014le-name)g Fw(and)g(applies)f(the)i(func-)0 +1136 y(tion)c Fv(r)n(e)n(ader)g Fw(to)g(it)h(rep)q(eatedly)g(un)o(til)f +(the)h(end)g(of)f(the)h(\014le)g(is)f(reac)o(hed.)19 +b Fv(R)n(e)n(ader)10 b Fw(m)o(ust)g(ac-)0 1188 y(cept)h(the)g(standard) +g(input)f(function)g(argumen)o(ts)f Fv(input-str)n(e)n(am)p +Fw(,)h Fv(e)n(of-err)n(or-p)p Fw(,)f(and)h Fv(e)n(of-)0 +1240 y(value)i Fw(as)f(its)h(argumen)o(ts.)k(\(F)m(or)c(instance,)g +Fv(r)n(e)n(ader)f Fw(can)g(b)q(e)h Fs(read)p Fw(,)f Fs +(read-preserving-)0 1292 y(white-space)p Fw(,)e Fs(read-line)p +Fw(,)g(or)i Fs(read-char)p Fw(.\))k(If)10 b(omitted,)g +Fv(r)n(e)n(ader)g Fw(defaults)h(to)g Fs(read)p Fw(.)0 +1344 y Fs(scan-file)k Fw(returns)k(a)e(series)h(of)f(the)h(v)n(alues)f +(returned)h(b)o(y)f Fv(r)n(e)n(ader)p Fw(,)g(up)g(to)g(but)h(not)0 +1395 y(including)d(the)i(v)n(alue)e(returned)j(when)e(the)h(end)g(of)e +(the)i(\014le)f(is)g(reac)o(hed.)25 b(The)17 b(\014le)f(is)0 +1447 y(correctly)f(closed,)f(ev)o(en)h(if)e(an)g(ab)q(ort)h(o)q(ccurs.) +1209 1591 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(scan-fn)20 +b Fv(typ)n(e)k(init)h(step)f Fs(&optional)19 b Fv(test)0 +1668 y Fw(The)13 b(higher-order)h(function)f Fs(scan-fn)e +Fw(supp)q(orts)k(the)e(general)g(concept)i(of)d(scanning.)0 +1720 y(The)k Fv(typ)n(e)g Fw(argumen)o(t)f(is)h(a)f(t)o(yp)q(e)h(sp)q +(eci\014er)i(indicating)d(the)h(t)o(yp)q(e)g(of)f(v)n(alues)h(returned) +0 1772 y(b)o(y)h Fv(init)g Fw(and)g Fv(step)p Fw(.)28 +b(The)18 b Fs(values)e Fw(t)o(yp)q(e)i(sp)q(eci\014er)h(can)e(b)q(e)h +(used)h(for)d(this)i(argumen)o(t)0 1824 y(to)d(indicate)f(m)o(ultiple)f +(t)o(yp)q(es;)j(ho)o(w)o(ev)o(er,)e Fv(typ)n(e)h Fw(cannot)g(indicate)g +(zero)h(v)n(alues.)k(If)15 b Fv(typ)n(e)0 1876 y Fw(indicates)k +Fv(m)k Fw(t)o(yp)q(es)d Fv(t)364 1882 y Fk(1)382 1876 +y Fh(;)7 b(:)g(:)g(:)12 b(;)7 b Fv(t)496 1882 y Fi(m)525 +1876 y Fw(,)20 b(then)g Fs(scan-fn)d Fw(returns)k Fv(m)h +Fw(series)f Fv(T1)p Fw(,)e Fh(:)7 b(:)g(:)f Fw(,)20 b +Fv(Tm)p Fw(,)0 1927 y(where)e Fv(Ti)e Fw(has)h(the)g(t)o(yp)q(e)h +Fs(\(series)h Fv(t)617 1933 y Fi(i)630 1927 y Fs(\))p +Fw(.)26 b(The)18 b(argumen)o(ts)e Fv(init)p Fw(,)g Fv(step)p +Fw(,)h(and)g Fv(test)f Fw(are)0 1979 y(functions.)42 +2032 y(The)e Fv(init)f Fw(m)o(ust)g(b)q(e)i(of)e(t)o(yp)q(e)h +Fs(\(function)20 b(\(\))g(\(values)g Fv(t)973 2038 y +Fk(1)1013 2032 y Fs(...)g Fv(t)1113 2038 y Fi(m)1143 +2032 y Fs(\)\))p Fw(.)42 2084 y(The)14 b Fv(step)g Fw(m)o(ust)f(b)q(e)h +(of)f(t)o(yp)q(e)i Fs(\(function)k(\()p Fv(t)765 2090 +y Fk(1)804 2084 y Fs(...)i Fv(t)905 2090 y Fi(m)935 2084 +y Fs(\))g(\(values)e Fv(t)1165 2090 y Fk(1)1205 2084 +y Fs(...)h Fv(t)1305 2090 y Fi(m)1335 2084 y Fs(\)\))p +Fw(.)42 2136 y(The)14 b Fv(test)f Fw(\(if)h(presen)o(t\))h(m)o(ust)e(b) +q(e)i(of)e(t)o(yp)q(e)h Fs(\(function)19 b(\()p Fv(t)972 +2142 y Fk(1)1012 2136 y Fs(...)h Fv(t)1112 2142 y Fi(m)1142 +2136 y Fs(\))h(t\))p Fw(.)42 2188 y(The)14 b(elemen)o(ts)g(of)f(the)h +Fv(Ti)g Fw(are)g(computed)f(as)h(follo)o(ws:)0 2277 y +Fs(\(values)20 b Fv(T1)225 2283 y Fk(0)264 2277 y Fs(...)h +Fv(Tm)415 2283 y Fk(0)433 2277 y Fs(\))476 2273 y(U)476 +2281 y(U)519 2277 y(\(funcall)f Fv(init)p Fs(\))0 2329 +y(\(values)g Fv(T1)225 2335 y Fi(j)259 2329 y Fs(...)g +Fv(Tm)409 2335 y Fi(j)422 2329 y Fs(\))465 2325 y(U)465 +2333 y(U)507 2329 y(\(funcall)g Fv(step)h(T1)846 2336 +y Fk(\()p Fi(j)p Fl(\000)p Fk(1\))949 2329 y Fs(...)f +Fv(Tm)1099 2336 y Fk(\()p Fi(j)o Fl(\000)p Fk(1\))1180 +2329 y Fs(\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1008 1032 +1008 1031 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1008)78 b(COMMON)12 +b(LISP)42 295 y Fw(The)i(outputs)g(all)f(ha)o(v)o(e)h(the)h(same)e +(length.)18 b(If)c(there)h(is)f(no)g Fv(test)p Fw(,)f(the)h(outputs)h +(ha)o(v)o(e)0 347 y(un)o(b)q(ounded)d(length.)17 b(If)11 +b(there)i(is)e(a)g Fv(test)p Fw(,)g(the)h(outputs)g(consist)g(of)f(the) +h(elemen)o(ts)f(up)g(to,)0 399 y(but)g(not)g(including,)f(the)i +(\014rst)f(elemen)o(ts)g(\(with)g(index)g Fv(j)p Fw(,)f(sa)o(y\))h(for) +g(whic)o(h)g(the)g(follo)o(wing)0 450 y(termination)h(test)j(is)f(not)g +Fs(nil)p Fw(.)0 535 y Fs(\(funcall)20 b Fv(test)g(T1)331 +541 y Fi(j)365 535 y Fs(...)h Fv(Tm)516 541 y Fi(j)528 +535 y Fs(\))0 620 y Fw(It)16 b(is)f(guaran)o(teed)i(that)f +Fv(step)f Fw(will)g(not)g(b)q(e)i(applied)e(to)h(the)g(elemen)o(ts)g +(that)f(pass)i(this)0 672 y(termination)12 b(test.)42 +723 y(If)17 b Fv(init)p Fw(,)h Fv(step)p Fw(,)g(or)g +Fv(test)f Fw(has)h(side)g(e\013ects)i(when)e(in)o(v)o(ok)o(ed,)g(it)f +(can)h(coun)o(t)g(on)g(b)q(eing)0 775 y(called)h(in)g(the)h(order)g +(indicated)f(b)o(y)g(the)h(equations)g(ab)q(o)o(v)o(e,)g(with)f +Fv(test)f Fw(called)i(just)0 827 y(b)q(efore)13 b Fv(step)f +Fw(on)h(eac)o(h)f(cycle.)19 b(Ho)o(w)o(ev)o(er,)12 b(giv)o(en)g(the)h +(lazy)f(ev)n(aluation)f(nature)i(of)f(series,)0 879 y(these)21 +b(functions)f(will)e(not)i(b)q(e)h(called)e(un)o(til)g(their)h(outputs) +h(are)f(actually)f(used)h(\(if)0 931 y(ev)o(er\).)25 +b(In)17 b(addition,)d(no)i(assumptions)f(can)i(b)q(e)f(made)f(ab)q(out) +h(the)h(relativ)o(e)f(order)g(of)0 983 y(ev)n(aluation)g(of)h(these)i +(calls)f(with)f(regard)h(to)g(execution)g(in)f(other)i(parts)f(of)f(a)g +(giv)o(en)0 1035 y(series)j(expression.)34 b(The)19 b(\014rst)g +(example)f(b)q(elo)o(w)g(scans)i(do)o(wn)e(a)h(list)f(stepping)h(t)o(w) +o(o)0 1087 y(elemen)o(ts)12 b(at)h(a)f(time.)k(The)d(second)h(example)d +(generates)j(t)o(w)o(o)e(un)o(b)q(ounded)h(series:)19 +b(the)0 1139 y(in)o(tegers)f(coun)o(ting)g(up)f(from)f(1)h(and)h(the)g +(sequence)i(of)d(partial)f(sums)h(of)g(the)i(\014rst)f +Fv(i)0 1190 y Fw(in)o(tegers.)0 1275 y Fs(\(scan-fn)i(t)g(#)238 +1271 y(-)238 1279 y(-)n Fn(')281 1275 y Fs(\(lambda)g(\(\))518 +1279 y Fn(')541 1275 y Fs(\(a)h(b)g(c)g(d\)\))f(#)778 +1271 y(-)778 1279 y(-)n Fn(')821 1275 y Fs(cddr)h(#)930 +1271 y(-)930 1279 y(-)m Fn(')973 1275 y Fs(null\))42 +1327 y Ft(\))g Fs(#)105 1323 y(-)105 1331 y(-)127 1327 +y(Z\(\(a)f(b)h(c)g(d\))g(\(c)g(d\)\))0 1431 y(\(scan-fn)193 +1435 y Fn(')217 1431 y Fs(\(values)e(integer)h(integer\))191 +1483 y(#)191 1479 y(-)191 1487 y(-)m Fn(')233 1483 y +Fs(\(lambda)g(\(\))h(\(values)f(1)h(0\)\))191 1535 y(#)191 +1531 y(-)191 1539 y(-)m Fn(')233 1535 y Fs(\(lambda)f(\(i)h(sum\))f +(\(values)g(\(+)h(i)g(1\))g(\(+)f(sum)h(i\)\)\)\))42 +1586 y Ft(\))g Fs(#)105 1582 y(-)105 1590 y(-)127 1586 +y(Z\(1)f(2)h(3)g(4)g(...\))g Fw(and)g Fs(#)539 1582 y(-)539 +1590 y(-)560 1586 y(Z\(0)g(1)g(3)g(6)g(...\))1209 1710 +y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(scan-fn-inclusive)18 +b Fv(typ)n(e)24 b(init)h(step)f(test)0 1787 y Fw(The)12 +b(higher-order)g(function)e Fs(scan-fn-inclusive)e Fw(is)j(the)h(same)e +(as)i Fs(scan-fn)d Fw(except)0 1839 y(that)i(the)h(\014rst)g(set)h(of)d +(elemen)o(ts)i(for)f(whic)o(h)g Fv(test)g Fw(returns)i(a)e(non-n)o(ull) +f(v)n(alue)g(is)i(included)0 1891 y(in)g(the)g(output.)18 +b(As)13 b(with)e Fs(scan-fn)p Fw(,)g(it)h(is)g(guaran)o(teed)g(that)h +Fv(step)f Fw(will)f(not)h(b)q(e)g(applied)0 1943 y(to)i(the)g(elemen)o +(ts)g(for)f(whic)o(h)h Fv(test)g Fw(is)f(non-n)o(ull.)0 +2089 y Fo(A.2.2.)20 b(Mapping)0 2173 y Fw(By)15 b(far)g(the)g(most)f +(common)e(kind)j(of)f(series)i(op)q(eration)f(is)g(mapping.)k(In)c +(cognizance)0 2225 y(of)d(this)h(fact,)g(four)g(di\013eren)o(t)h(w)o(a) +o(ys)f(are)g(pro)o(vided)g(for)g(sp)q(ecifying)g(mapping:)i(one)e(fun-) +0 2277 y(damen)o(tal)e(form)f(\()p Fs(map-fn)p Fw(\))i(and)g(three)i +(shorthand)f(forms)e(that)i(are)g(more)e(con)o(v)o(enien)o(t)0 +2329 y(in)i(particular)h(common)d(situations.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1009 1033 +1009 1032 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SERIES)1194 b(1009)1209 +295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(map-fn)20 +b Fv(typ)n(e)k(function)h Fs(&rest)20 b Fv(series)p Fs(-)p +Fv(inputs)0 374 y Fw(The)c(higher-order)g(function)f +Fs(map-fn)f Fw(supp)q(orts)j(the)f(general)g(concept)h(of)d(mapping.)0 +426 y(The)i Fv(typ)n(e)g Fw(argumen)o(t)f(is)h(a)f(t)o(yp)q(e)h(sp)q +(eci\014er)i(indicating)d(the)h(t)o(yp)q(e)g(of)f(v)n(alues)h(returned) +0 478 y(b)o(y)h Fv(function)p Fw(.)28 b(The)17 b Fs(values)f +Fw(construct)j(can)e(b)q(e)h(used)g(to)f(indicate)g(m)o(ultiple)d(t)o +(yp)q(es;)0 530 y(ho)o(w)o(ev)o(er,)d Fv(typ)n(e)g Fw(cannot)g +(indicate)g(zero)h(v)n(alues.)17 b(If)10 b Fv(typ)n(e)h +Fw(indicates)g Fv(m)j Fw(t)o(yp)q(es)e Fv(t)1222 536 +y Fk(1)1240 530 y Fh(;)7 b(:)g(:)g(:)12 b(;)7 b Fv(t)1354 +536 y Fi(m)1383 530 y Fw(,)0 582 y(then)k Fs(map-fn)e +Fw(returns)j Fv(m)i Fw(series)d Fv(T1)p Fw(,)f Fh(:)d(:)g(:)e +Fw(,)10 b Fv(Tm)p Fw(,)g(where)i Fv(Ti)e Fw(has)g(the)h(t)o(yp)q(e)g +Fs(\(series)20 b Fv(t)1349 588 y Fi(i)1361 582 y Fs(\))p +Fw(.)0 633 y(The)c(argumen)o(t)e Fv(function)i Fw(is)g(a)f(function.)22 +b(The)16 b(remaining)e(argumen)o(ts)g(\(if)h(an)o(y\))g(are)0 +685 y(all)g(series.)28 b(Let)18 b(these)g(series)g(b)q(e)f +Fv(S1)p Fw(,)g Fh(:)7 b(:)g(:)e Fw(,)17 b Fv(Sn)g Fw(and)g(supp)q(ose)g +(that)g Fv(Si)g Fw(has)g(the)g(t)o(yp)q(e)0 737 y Fs(\(series)j +Fv(s)191 743 y Fi(i)203 737 y Fs(\))p Fw(.)42 792 y(The)14 +b Fv(function)g Fw(m)o(ust)f(b)q(e)i(of)e(t)o(yp)q(e)0 +901 y Fs(\(function)19 b(\()p Fv(s)256 907 y Fk(1)296 +901 y Fs(...)h Fv(s)399 907 y Fi(n)421 901 y Fs(\))h(\(values)e +Fv(t)651 907 y Fk(1)691 901 y Fs(...)i Fv(t)792 907 y +Fi(m)821 901 y Fs(\)\))42 1008 y Fw(The)12 b(length)f(of)g(eac)o(h)h +(output)g(is)f(the)i(same)d(as)i(the)g(length)g(of)f(the)h(shortest)h +(input.)k(If)0 1060 y(there)c(are)f(no)f(b)q(ounded)i(series)g(inputs,) +e(the)i(outputs)f(are)g(un)o(b)q(ounded.)18 b(The)12 +b(elemen)o(ts)0 1112 y(of)j(the)i Fv(Ti)e Fw(are)h(the)g(results)h(of)e +(applying)g Fv(function)h Fw(to)g(the)g(corresp)q(onding)h(elemen)o(ts) +0 1164 y(of)c(the)i(series)g(inputs.)0 1273 y Fs(\(values)20 +b Fv(T1)225 1279 y Fi(j)259 1273 y Fs(...)g Fv(Tm)409 +1279 y Fi(j)422 1273 y Fs(\))h Ft(\021)g Fs(\(funcall)f +Fv(function)h(S1)927 1279 y Fi(j)962 1273 y Fs(...)f +Fv(Sn)1094 1279 y Fi(j)1108 1273 y Fs(\))42 1380 y Fw(If)10 +b Fv(function)i Fw(has)f(side)h(e\013ects,)h(it)e(can)g(coun)o(t)h(on)f +(b)q(eing)g(called)g(\014rst)g(on)g(the)h Fv(Si)1272 +1386 y Fk(0)1291 1380 y Fw(,)f(then)0 1432 y(on)17 b(the)g +Fv(Si)171 1438 y Fk(1)190 1432 y Fw(,)g(and)g(so)g(on.)27 +b(Ho)o(w)o(ev)o(er,)18 b(giv)o(en)e(the)i(lazy)e(ev)n(aluation)g +(nature)h(of)g(series,)0 1484 y Fv(function)e Fw(will)e(not)i(b)q(e)g +(called)g(on)f(an)o(y)h(group)f(of)g(input)h(elemen)o(ts)f(un)o(til)g +(the)h(result)h(is)0 1536 y(actually)f(used)i(\(if)e(ev)o(er\).)24 +b(In)16 b(addition,)f(no)h(assumptions)e(can)i(b)q(e)h(made)d(ab)q(out) +i(the)0 1588 y(relativ)o(e)f(order)h(of)e(ev)n(aluation)g(of)g(the)i +(calls)e(on)h Fv(function)h Fw(with)f(regard)g(to)g(execution)0 +1640 y(in)e(other)i(parts)f(of)g(a)f(giv)o(en)h(series)h(expression.)0 +1749 y Fs(\(map-fn)171 1753 y Fn(')195 1749 y Fs(integer)20 +b(#)369 1745 y(-)369 1753 y(-)m Fn(')412 1749 y Fs(+)h(#)455 +1745 y(-)455 1753 y(-)476 1749 y(Z\(1)g(2)g(3\))g(#)671 +1745 y(-)671 1753 y(-)692 1749 y(Z\(4)g(5\)\))f Ft(\))h +Fs(#)928 1745 y(-)928 1753 y(-)950 1749 y(Z\(5)g(7\))0 +1801 y(\(map-fn)f(t)h(#)217 1797 y(-)217 1805 y(-)m Fn(')260 +1801 y Fs(gensym\))e Ft(\))i Fs(#)496 1797 y(-)496 1805 +y(-)518 1801 y(Z\(#)562 1797 y(-)562 1805 y(-)583 1801 +y(:G3)g(#)670 1797 y(-)670 1805 y(-)692 1801 y(:G4)f(#)778 +1797 y(-)778 1805 y(-)800 1801 y(:G5)g(...\))0 1853 y(\(map-fn)171 +1857 y Fn(')195 1853 y Fs(\(values)g(integer)f(rational\))h(#)760 +1849 y(-)760 1857 y(-)m Fn(')803 1853 y Fs(floor)g(#)933 +1849 y(-)933 1857 y(-)955 1853 y(Z\(1/4)g(9/5)g(12/3\)\))42 +1905 y Ft(\))h Fs(#)105 1901 y(-)105 1909 y(-)127 1905 +y(Z\(0)f(1)h(4\))g Fw(and)g Fs(#)409 1901 y(-)409 1909 +y(-)431 1905 y(Z\(1/4)f(4/5)h(0\))42 2012 y Fw(The)e +Fs(#)132 2008 y(-)132 2016 y(-)173 2012 y Fw(macro)f(c)o(haracter)i +(syn)o(tax)f Fs(#)627 2008 y(-)627 2016 y(-)649 2012 +y(M)g Fw(mak)o(es)f(it)h(easy)g(to)g(sp)q(ecify)h(uses)g(of)f +Fs(map-)0 2064 y(fn)i Fw(where)i Fv(typ)n(e)e Fw(is)g +Fs(t)g Fw(and)h(the)g Fv(function)g Fw(is)f(a)g(named)f(function.)41 +b(The)22 b(notation)0 2116 y Fs(\(#)22 2112 y(-)22 2120 +y(-)44 2116 y(M)p Fv(function)f Fs(...\))d Fw(is)g(an)g(abbreviation)g +(for)g Fs(\(map-fn)i(t)h(#)980 2112 y(-)980 2120 y(-)m +Fn(')1023 2116 y Fv(function)g Fs(...\))p Fw(.)31 b(The)0 +2167 y(form)13 b Fv(function)i Fw(can)g(b)q(e)h(the)f(prin)o(ted)h +(represen)o(tation)g(of)e(an)o(y)g(Lisp)h(ob)r(ject.)22 +b(The)15 b(no-)0 2219 y(tation)e Fs(#)122 2215 y(-)122 +2223 y(-)144 2219 y(M)p Fv(function)h Fw(can)g(app)q(ear)h(only)e(in)g +(the)i(function)e(p)q(osition)g(of)h(a)f(list.)0 2329 +y Fs(\(collect)20 b(\(#)218 2325 y(-)218 2333 y(-)239 +2329 y(M1+)h(\(scan)454 2333 y Fn(')477 2329 y Fs(\(1)g(2)g(3\)\)\)\))f +Ft(\))g Fs(\(2)h(3)g(4\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1010 1034 +1010 1033 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1010)78 b(COMMON)12 +b(LISP)-33 266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 295 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(mapping)34 b(\()7 b Ft(f)p Fs(\()g Ft(f)p Fv(var)13 +b Ft(j)i Fs(\()7 b Ft(f)p Fv(var)p Ft(g)515 280 y Fl(\003)540 +295 y Fs(\))p Ft(g)g Fv(value)p Fs(\))p Ft(g)725 280 +y Fl(\003)750 295 y Fs(\))21 b Ft(f)p Fv(de)n(clar)n(ation)p +Ft(g)1032 280 y Fl(\003)1080 295 y Ft(f)6 b Fv(form)p +Ft(g)1214 280 y Fl(\003)0 372 y Fw(The)16 b(macro)e Fs(mapping)g +Fw(mak)o(es)h(it)g(easy)h(to)f(sp)q(ecify)h(uses)h(of)e +Fs(map-fn)f Fw(where)j Fv(typ)n(e)f Fw(is)f Fs(t)0 424 +y Fw(and)g(the)h Fv(function)g Fw(is)f(a)g(literal)f +Fs(lambda)p Fw(.)21 b(The)16 b(syn)o(tax)f(of)g Fs(mapping)f +Fw(is)h(analogous)f(to)0 476 y(that)h(of)e Fs(let)p Fw(.)19 +b(The)c(binding)f(list)g(sp)q(eci\014es)i(zero)g(or)e(more)f(v)n +(ariables)h(that)h(are)g(b)q(ound)0 528 y(in)i(parallel)g(to)h +(successiv)o(e)i(v)n(alues)e(of)f(series.)31 b(The)19 +b Fv(value)f Fw(part)g(of)f(eac)o(h)i(pair)e(is)h(an)0 +579 y(expression)12 b(that)g(m)o(ust)e(pro)q(duce)j(a)e(series.)18 +b(The)12 b Fv(de)n(clar)n(ations)f Fw(and)g Fv(forms)g +Fw(are)h(treated)0 631 y(as)j(the)g(b)q(o)q(dy)f(of)g(a)g +Fs(lambda)f Fw(expression)j(that)e(is)g(mapp)q(ed)g(o)o(v)o(er)g(the)h +(series)h(v)n(alues.)k(A)0 683 y(series)14 b(of)e(the)i(\014rst)f(v)n +(alues)f(returned)j(b)o(y)d(this)h Fs(lambda)e Fw(expression)j(is)f +(returned)h(as)f(the)0 735 y(result)i(of)e Fs(mapping)p +Fw(.)0 823 y Fs(\(mapping)20 b(\(\(x)g(r\))h(\(y)g(s\)\))f(...\))g +Ft(\021)42 875 y Fs(\(map-fn)g(t)h(#)259 871 y(-)259 +879 y(-)n Fn(')302 875 y Fs(\(lambda)f(\(x)g(y\))h(...\))g(r)g(s\))0 +979 y(\(mapping)f(\(\(x)g(\(scan)410 983 y Fn(')433 979 +y Fs(\(2)h(-2)g(3\)\)\)\))42 1031 y(\(expt)f(\(abs)h(x\))g(3\)\))42 +1083 y Ft(\))g Fs(#)105 1079 y(-)105 1087 y(-)127 1083 +y(Z\(8)f(8)h(27\))42 1171 y Fw(The)11 b(form)e Fs(mapping)h +Fw(supp)q(orts)i(a)e(sp)q(ecial)i(syn)o(tax)e(that)h(facilitates)g(the) +g(use)h(of)e(series)0 1223 y(functions)18 b(returning)h(m)o(ultiple)c +(v)n(alues.)30 b(Instead)19 b(of)e(b)q(eing)h(a)g(single)g(v)n +(ariable,)f(the)0 1274 y(v)n(ariable)12 b(part)i(of)f(a)g +Fv(var-value)h Fw(pair)f(can)h(b)q(e)g(a)f(list)g(of)g(v)n(ariables.)18 +b(This)13 b(list)g(is)h(treated)0 1326 y(the)e(same)e(w)o(a)o(y)h(as)g +(the)h(\014rst)g(argumen)o(t)e(to)h Fs(multiple-value-bin)o(d)d +Fw(and)k(can)f(b)q(e)h(used)0 1378 y(to)i(access)h(the)g(elemen)o(ts)f +(of)f(m)o(ultiple)f(series)j(returned)g(b)o(y)f(a)g(series)h(function.) +0 1466 y Fs(\(mapping)20 b(\(\(\(i)g(v\))h(\(scan-plist)627 +1470 y Fn(')651 1466 y Fs(\(a)f(1)h(b)g(2\)\)\)\))42 +1518 y(\(list)f(i)h(v\)\))42 1570 y Ft(\))g Fs(#)105 +1566 y(-)105 1574 y(-)127 1570 y(Z\(\(a)f(1\))h(\(b)g(2\)\))-33 +1684 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 1712 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(iterate)34 b(\()7 b Ft(f)p Fs(\()g Ft(f)p Fv(var)13 +b Ft(j)i Fs(\()7 b Ft(f)p Fv(var)p Ft(g)515 1697 y Fl(\003)540 +1712 y Fs(\))p Ft(g)g Fv(value)p Fs(\))p Ft(g)725 1697 +y Fl(\003)750 1712 y Fs(\))21 b Ft(f)p Fv(de)n(clar)n(ation)p +Ft(g)1032 1697 y Fl(\003)1080 1712 y Ft(f)6 b Fv(form)p +Ft(g)1214 1697 y Fl(\003)0 1789 y Fw(The)19 b(form)d +Fs(iterate)h Fw(is)h(the)g(same)g(as)g Fs(mapping)p Fw(,)f(except)j +(that)e(after)g(mapping)e(the)0 1841 y Fv(forms)d Fw(o)o(v)o(er)h(the)h +Fv(values)p Fw(,)e(the)i(results)g(are)f(discarded)h(and)f +Fs(nil)f Fw(is)h(returned.)0 1930 y Fs(\(let)20 b(\(\(item)g(\(scan)388 +1934 y Fn(')412 1930 y Fs(\(\(1\))g(\(-2\))g(\(3\)\)\)\)\))42 +1981 y(\(iterate)g(\(\(x)g(\(#)346 1977 y(-)346 1985 +y(-)368 1981 y(Mcar)g(item\)\)\))85 2033 y(\(if)g(\(plusp)g(x\))h +(\(prin1)f(x\)\)\)\))42 2085 y Ft(\))h Fs(nil)g Fw(\(after)14 +b(prin)o(ting)f(\\)p Fs(13)p Fw("\))42 2173 y(T)m(o)19 +b(a)g(\014rst)i(appro)o(ximation,)d Fs(iterate)h Fw(and)g +Fs(mapping)g Fw(di\013er)h(in)g(the)g(same)f(w)o(a)o(y)0 +2225 y(as)h Fs(mapc)f Fw(and)h Fs(mapcar)p Fw(.)34 b(In)20 +b(particular,)h(lik)o(e)e Fs(mapc)p Fw(,)h Fs(iterate)e +Fw(is)i(in)o(tended)g(to)g(b)q(e)0 2277 y(used)15 b(in)f(situations)g +(where)h(the)g Fv(forms)e Fw(are)i(b)q(eing)f(ev)n(aluated)g(for)g +(side)h(e\013ects)h(rather)0 2329 y(than)e(for)f(their)h(results.)19 +b(Ho)o(w)o(ev)o(er,)14 b(giv)o(en)f(the)h(lazy)f(ev)n(aluation)g(seman) +o(tics)g(of)g(series,)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1011 1035 +1011 1034 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SERIES)1194 b(1011)0 +295 y Fw(the)15 b(di\013erence)h(b)q(et)o(w)o(een)g Fs(iterate)d +Fw(and)h Fs(mapping)f Fw(is)h(more)g(than)g(just)h(a)f(question)g(of)0 +347 y(e\016ciency)m(.)42 399 y(If)d Fs(mapcar)f Fw(is)h(used)i(in)e(a)g +(situation)g(where)i(the)f(output)f(is)h(not)f(used,)i(time)d(is)h(w)o +(asted)0 450 y(unnecessarily)17 b(creating)f(the)h(output)f(list.)24 +b(Ho)o(w)o(ev)o(er,)16 b(if)f Fs(mapping)f Fw(is)i(used)h(in)e(a)h +(sit-)0 502 y(uation)f(where)i(the)g(output)f(is)g(not)g(used,)h(no)f +(computation)e(is)i(p)q(erformed,)g(b)q(ecause)0 554 +y(series)h(elemen)o(ts)d(are)i(not)f(computed)g(un)o(til)f(they)i(are)f +(used.)23 b(Th)o(us)15 b Fs(iterate)f Fw(can)h(b)q(e)0 +606 y(though)o(t)d(of)f(as)h(a)f(declaration)g(that)h(the)h(indicated)e +(computation)f(is)i(to)g(b)q(e)g(p)q(erformed)0 658 y(ev)o(en)j(though) +e(the)i(output)f(is)g(not)f(used)i(for)f(an)o(ything.)0 +794 y Fo(A.2.3.)20 b(T)-5 b(runcation)15 b(and)h(Other)e(Simple)f(T)-5 +b(ransducers)0 876 y Fw(T)m(ransducers)22 b(compute)d(series)j(from)c +(series)j(and)f(form)f(the)h(heart)h(of)e(most)g(series)0 +927 y(expressions.)29 b(Mapping)16 b(is)h(b)o(y)g(far)g(the)h(most)d +(common)g(transducer.)29 b(This)17 b(section)0 979 y(presen)o(ts)f(a)d +(n)o(um)o(b)q(er)h(of)f(additional)f(simple)g(transducers.)1209 +1095 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(cotruncate)19 +b(&rest)h Fv(series)p Fs(-)p Fv(inputs)1209 1146 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(until)20 b Fv(b)n(o)n(ols)25 +b Fs(&rest)20 b Fv(series)p Fs(-)p Fv(inputs)1209 1198 +y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(until-if)20 +b Fv(pr)n(e)n(d)25 b Fs(&rest)20 b Fv(series)p Fs(-)p +Fv(inputs)0 1275 y Fw(Eac)o(h)d(of)f(these)i(functions)f(accepts)h(one) +f(or)f(more)g(series)i(inputs)f Fv(S1)p Fw(,)f Fh(:)7 +b(:)g(:)f Fw(,)16 b Fv(Sn)h Fw(as)g(its)0 1327 y Fs(&rest)f +Fw(argumen)o(t)g(and)h(returns)i Fv(n)i Fw(series)d(outputs)g +Fv(T1)p Fw(,)f Fh(:)7 b(:)g(:)e Fw(,)17 b Fv(Tn)g Fw(that)g(con)o(tain) +g(the)0 1379 y(same)f(elemen)o(ts)i(in)e(the)i(same)f(order|that)g(is,) +h Fv(Ti)845 1385 y Fi(j)857 1379 y Fv(=Si)925 1385 y +Fi(j)938 1379 y Fw(.)28 b(Let)18 b Fv(k)j Fw(b)q(e)d(the)g(length)f(of) +0 1431 y(the)g(shortest)h(input)f Fv(Si)p Fw(.)26 b Fs(cotruncate)15 +b Fw(truncates)j(the)f(series)h(so)f(that)f(eac)o(h)i(output)0 +1483 y(has)c(length)g Fv(k)t Fw(.)19 b(Let)14 b Fv(k)352 +1468 y Fl(0)378 1483 y Fw(b)q(e)h(the)f(p)q(osition)g(of)f(the)i +(\014rst)f(elemen)o(t)g(in)f(the)i(b)q(o)q(olean)e(series)0 +1535 y Fv(b)n(o)n(ols)j Fw(that)h(is)f(not)h Fs(nil)f +Fw(or,)g(if)g(ev)o(ery)h(elemen)o(t)f(is)h Fs(nil)p Fw(,)f(the)h +(length)f(of)g Fv(b)n(o)n(ols)p Fw(.)26 b Fs(until)0 +1586 y Fw(truncates)16 b(the)f(series)h(so)f(that)f(eac)o(h)h(output)g +(has)g(length)f Fs(\(min)21 b Fv(k)g(k)1112 1590 y Fn(')1136 +1586 y Fs(\))p Fw(.)e(Let)c Fh(itk)1316 1568 y Fl(00)1352 +1586 y Fw(b)q(e)0 1638 y(the)h(p)q(osition)e(of)g(the)i(\014rst)g +(elemen)o(t)e(in)h Fv(S1)g Fw(suc)o(h)h(that)f Fs(\()p +Fv(pr)n(e)n(d)21 b(S1)1051 1651 y Fi(k)1065 1655 y Fn(')-5 +b(')1111 1638 y Fs(\))15 b Fw(is)g(not)g Fs(nil)f Fw(or,)0 +1690 y(if)e(there)h(is)g(no)f(suc)o(h)h(elemen)o(t,)f(the)h(length)g +(of)f Fv(S1)p Fw(.)18 b Fs(until-if)10 b Fw(truncates)15 +b(the)e(series)h(so)0 1742 y(that)g(eac)o(h)g(output)g(has)g(length)g +Fs(\(min)21 b Fv(k)g(k)690 1746 y Fn(')-5 b(')735 1742 +y Fs(\))p Fw(.)0 1825 y Fs(\(cotruncate)19 b(#)261 1821 +y(-)261 1829 y(-)283 1825 y(Z\(1)h(2)h(-3)g(4\))g(#)542 +1821 y(-)542 1829 y(-)564 1825 y(Z\(a)f(b)h(c\)\))42 +1877 y Ft(\))g Fs(#)105 1873 y(-)105 1881 y(-)127 1877 +y(Z\(1)f(2)h(-3\))g Fw(and)g Fs(#)431 1873 y(-)431 1881 +y(-)453 1877 y(Z\(a)f(b)h(c\))0 1929 y(\(until)f(#)152 +1925 y(-)152 1933 y(-)174 1929 y(Z\(nil)g(nil)g(t)h(nil\))g(#)542 +1925 y(-)542 1933 y(-)564 1929 y(Z\(1)f(2)h(-3)g(4\))g(#)823 +1925 y(-)823 1933 y(-)844 1929 y(Z\(a)g(b)g(c\)\))42 +1981 y Ft(\))g Fs(#)105 1977 y(-)105 1985 y(-)127 1981 +y(Z\(1)f(2\))h Fw(and)g Fs(#)366 1977 y(-)366 1985 y(-)388 +1981 y(Z\(a)g(b\))0 2033 y(\(until-if)e(#)217 2029 y(-)217 +2037 y(-)n Fn(')260 2033 y Fs(minusp)h(#)412 2029 y(-)412 +2037 y(-)434 2033 y(Z\(1)h(2)g(-3)f(4\))h(#)693 2029 +y(-)693 2037 y(-)715 2033 y(Z\(a)f(b)h(c\)\))42 2085 +y Ft(\))g Fs(#)105 2081 y(-)105 2089 y(-)127 2085 y(Z\(1)f(2\))h +Fw(and)g Fs(#)366 2081 y(-)366 2089 y(-)388 2085 y(Z\(a)g(b\))1209 +2200 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(previous)20 +b Fv(items)k Fs(&optional)19 b(\()p Fv(default)25 b Fs(nil\))20 +b(\()p Fv(amount)26 b Fs(1\))0 2277 y Fw(The)14 b(series)h(returned)g +(b)o(y)e Fs(previous)f Fw(is)i(the)g(same)e(as)i(the)g(input)f(series)i +Fv(items)e Fw(except)0 2329 y(that)i(it)f(is)h(shifted)g(to)g(the)g +(righ)o(t)g(b)o(y)g(the)g(p)q(ositiv)o(e)g(in)o(teger)g +Fv(amount)p Fw(.)22 b(The)15 b(shifting)f(is)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1012 1036 +1012 1035 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1012)78 b(COMMON)12 +b(LISP)0 295 y Fw(done)f(b)o(y)f(inserting)h Fv(amount)g +Fw(copies)g(of)f Fv(default)g Fw(b)q(efore)h Fv(items)f +Fw(and)h(discarding)f Fv(amount)0 347 y Fw(elemen)o(ts)k(from)e(the)i +(end)h(of)e Fv(items)p Fw(.)0 431 y Fs(\(previous)19 +b(#)217 427 y(-)217 435 y(-)239 431 y(Z\(10)h(11)h(12\))g(0\))g +Ft(\))f Fs(#)626 427 y(-)626 435 y(-)648 431 y(Z\(0)h(10)f(11\))1209 +554 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(latch)20 +b Fv(items)k Fs(&key)d(:after)f(:before)f(:pre)i(:post)0 +631 y Fw(The)e(series)h(returned)g(b)o(y)e Fs(latch)g +Fw(is)g(the)i(same)d(as)i(the)g(input)f(series)i Fv(items)e +Fw(except)0 682 y(that)g(some)g(of)g(the)h(elemen)o(ts)f(are)h +(replaced)g(b)o(y)g(other)g(v)n(alues.)31 b Fs(latch)17 +b Fw(acts)i(lik)o(e)f(a)0 734 y Fv(latch)13 b Fw(electronic)h(circuit)f +(comp)q(onen)o(t.)k(Eac)o(h)d(input)e(elemen)o(t)h(causes)h(the)g +(creation)f(of)0 786 y(a)i(corresp)q(onding)i(output)e(elemen)o(t.)23 +b(After)16 b(a)f(sp)q(eci\014ed)i(n)o(um)o(b)q(er)e(of)g(non-n)o(ull)f +(input)0 838 y(elemen)o(ts)h(ha)o(v)o(e)f(b)q(een)i(encoun)o(tered,)h +(the)e(latc)o(h)g(is)f(triggered)i(and)e(the)i(output)f(mo)q(de)0 +890 y(is)f(p)q(ermanen)o(tly)f(c)o(hanged.)42 942 y(The)19 +b Fs(:after)f Fw(and)h Fs(:before)f Fw(argumen)o(ts)g(sp)q(ecify)i(the) +g(latc)o(h)f(p)q(oin)o(t.)33 b(The)20 b(latc)o(h)0 994 +y(p)q(oin)o(t)14 b(is)g(just)g(after)h(the)g Fs(:after)p +Fw(-th)e(non-n)o(ull)g(elemen)o(t)h(in)g Fv(items)f Fw(or)i(just)f(b)q +(efore)h(the)0 1046 y Fs(:before)p Fw(-th)e(non-n)o(ull)h(elemen)o(t.) +20 b(If)15 b(neither)g Fs(:after)f Fw(nor)h Fs(:before)e +Fw(is)i(sp)q(eci\014ed,)h(an)0 1098 y Fs(:after)d Fw(of)g +Fs(1)h Fw(is)f(assumed.)18 b(If)13 b(b)q(oth)h(are)h(sp)q(eci\014ed,)g +(it)e(is)h(an)g(error.)42 1149 y(If)k(a)h Fs(:pre)f Fw(is)g(sp)q +(eci\014ed,)j(ev)o(ery)f(elemen)o(t)e(prior)h(to)g(the)g(latc)o(h)g(p)q +(oin)o(t)f(is)h(replaced)0 1201 y(b)o(y)d(this)h(v)n(alue.)25 +b(If)16 b(a)g Fs(:post)f Fw(is)i(sp)q(eci\014ed,)h(ev)o(ery)f(elemen)o +(t)f(after)h(the)g(latc)o(h)f(p)q(oin)o(t)g(is)0 1253 +y(replaced)f(b)o(y)f(this)f(v)n(alue.)18 b(If)13 b(neither)i(is)f(sp)q +(eci\014ed,)h(a)e Fs(:post)g Fw(of)h Fs(nil)f Fw(is)g(assumed.)0 +1338 y Fs(\(latch)20 b(#)152 1334 y(-)152 1342 y(-)174 +1338 y(Z\(nil)g(c)h(nil)f(d)h(e\)\))g Ft(\))g Fs(#)626 +1334 y(-)626 1342 y(-)647 1338 y(Z\(nil)f(c)h(nil)g(nil)g(nil\))0 +1390 y(\(latch)f(#)152 1386 y(-)152 1394 y(-)174 1390 +y(Z\(nil)g(c)h(nil)f(d)h(e\))g(:before)f(2)h(:post)f(t\))h +Ft(\))f Fs(#)1015 1386 y(-)1015 1394 y(-)1037 1390 y(Z\(nil)g(c)h(nil)g +(t)g(t\))1209 1512 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(collecting-fn)18 b Fv(typ)n(e)25 b(init)g(function)f +Fs(&rest)d Fv(series)p Fs(-)p Fv(inputs)0 1589 y Fw(The)15 +b(higher-order)h(function)f Fs(collecting-fn)d Fw(supp)q(orts)k(the)f +(general)g(concept)i(of)d(a)0 1641 y(simple)g(transducer)j(with)e(in)o +(ternal)g(state.)24 b(The)16 b Fv(typ)n(e)f Fw(argumen)o(t)g(is)g(a)g +(t)o(yp)q(e)h(sp)q(eci\014er)0 1693 y(indicating)11 b(the)i(t)o(yp)q(e) +g(of)f(v)n(alues)h(returned)h(b)o(y)e Fv(function)p Fw(.)18 +b(The)13 b Fs(values)e Fw(construct)k(can)0 1745 y(b)q(e)f(used)g(to)f +(indicate)g(m)o(ultiple)e(t)o(yp)q(es;)j(ho)o(w)o(ev)o(er,)f +Fv(typ)n(e)h Fw(cannot)f(indicate)g(zero)h(v)n(alues.)0 +1797 y(If)k Fv(typ)n(e)h Fw(indicates)g Fv(m)j Fw(t)o(yp)q(es)d +Fv(t)499 1803 y Fk(1)518 1797 y Fh(;)7 b(:)g(:)g(:)12 +b(;)7 b Fv(t)632 1803 y Fi(m)661 1797 y Fw(,)19 b(then)g +Fs(collecting-fn)d Fw(returns)21 b Fv(m)g Fw(series)0 +1849 y Fv(T1)p Fw(,)c Fh(:)7 b(:)g(:)e Fw(,)17 b Fv(Tm)p +Fw(,)h(where)g Fv(Ti)f Fw(has)h(the)g(t)o(yp)q(e)g Fs(\(series)h +Fv(t)878 1855 y Fi(i)891 1849 y Fs(\))p Fw(.)28 b(The)18 +b(argumen)o(ts)f Fv(init)g Fw(and)0 1900 y Fv(function)f +Fw(are)g(functions.)22 b(The)16 b(remaining)e(argumen)o(ts)g(\(if)h(an) +o(y\))g(are)h(all)e(series.)24 b(Let)0 1952 y(these)15 +b(series)h(b)q(e)e Fv(S1)p Fw(,)g Fh(:)7 b(:)g(:)e Fw(,)14 +b Fv(Sn)g Fw(and)g(supp)q(ose)h(that)f Fv(Si)g Fw(has)g(the)g(t)o(yp)q +(e)h Fs(\(series)20 b Fv(s)1292 1958 y Fi(i)1304 1952 +y Fs(\))p Fw(.)42 2004 y(The)14 b Fv(init)f Fw(m)o(ust)g(b)q(e)i(of)e +(t)o(yp)q(e)h Fs(\(function)20 b(\(\))g(\(values)g Fv(t)973 +2010 y Fk(1)1013 2004 y Fs(...)g Fv(t)1113 2010 y Fi(m)1143 +2004 y Fs(\)\))p Fw(.)42 2056 y(The)14 b Fv(function)g +Fw(m)o(ust)f(b)q(e)i(of)e(t)o(yp)q(e)0 2141 y Fs(\(function)19 +b(\()p Fv(t)253 2147 y Fk(1)293 2141 y Fs(...)h Fv(t)393 +2147 y Fi(m)444 2141 y Fv(s)461 2147 y Fk(1)501 2141 +y Fs(...)g Fv(s)604 2147 y Fi(n)626 2141 y Fs(\))h(\(values)e +Fv(t)856 2147 y Fk(1)896 2141 y Fs(...)h Fv(t)996 2147 +y Fi(m)1026 2141 y Fs(\)\))42 2225 y Fw(The)12 b(length)f(of)g(eac)o(h) +h(output)g(is)f(the)i(same)d(as)i(the)g(length)g(of)f(the)h(shortest)h +(input.)k(If)0 2277 y(there)c(are)f(no)f(b)q(ounded)i(series)g(inputs,) +e(the)i(outputs)f(are)g(un)o(b)q(ounded.)18 b(The)12 +b(elemen)o(ts)0 2329 y(of)h(the)i Fv(Ti)e Fw(are)h(computed)g(as)g +(follo)o(ws:)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1013 1037 +1013 1036 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SERIES)1194 b(1013)0 +295 y Fs(\(values)20 b Fv(T1)225 301 y Fk(0)264 295 y +Fs(...)h Fv(Tm)415 301 y Fk(0)433 295 y Fs(\))g Ft(\021)42 +347 y Fs(\(multiple-value-cal)o(l)d Fv(function)k Fs(\(funcall)e +Fv(init)p Fs(\))g Fv(S1)1014 353 y Fk(0)1054 347 y Fs(...)h +Fv(Sn)1187 353 y Fk(0)1206 347 y Fs(\))0 450 y(\(values)f +Fv(T1)225 456 y Fi(j)259 450 y Fs(...)g Fv(Tm)409 456 +y Fi(j)422 450 y Fs(\))h Ft(\021)42 502 y Fs(\(funcall)f +Fv(function)i(T1)459 509 y Fk(\()p Fi(j)o Fl(\000)p Fk(1\))561 +502 y Fs(...)e Fv(Tm)711 509 y Fk(\()p Fi(j)p Fl(\000)p +Fk(1\))813 502 y Fv(S1)857 508 y Fi(j)892 502 y Fs(...)g +Fv(Sn)1024 508 y Fi(j)1038 502 y Fs(\))42 597 y Fw(If)13 +b Fv(init)g Fw(or)g Fv(function)h Fw(has)g(side)f(e\013ects,)j(it)d +(can)g(coun)o(t)h(on)f(b)q(eing)h(called)f(in)g(the)h(order)0 +649 y(indicated)g(b)o(y)g(the)h(equations)f(ab)q(o)o(v)o(e.)19 +b(Ho)o(w)o(ev)o(er,)14 b(giv)o(en)g(the)g(lazy)g(ev)n(aluation)f +(nature)0 701 y(of)k(series,)j(these)g(functions)e(will)e(not)i(b)q(e)h +(called)e(un)o(til)g(their)i(outputs)f(are)h(actually)0 +753 y(used)e(\(if)f(ev)o(er\).)27 b(In)17 b(addition,)e(no)i +(assumptions)e(can)i(b)q(e)g(made)e(ab)q(out)i(the)g(relativ)o(e)0 +805 y(order)g(of)f(ev)n(aluation)g(of)g(these)i(calls)e(with)g(regard)i +(to)e(execution)i(in)e(other)h(parts)g(of)0 857 y(a)h(giv)o(en)g +(series)i(expression.)34 b(The)19 b(second)g(example)e(b)q(elo)o(w)i +(computes)f(a)g(series)i(of)0 909 y(partial)13 b(sums)h(of)f(the)i(n)o +(um)o(b)q(ers)f(in)f(an)h(input)g(series.)20 b(The)15 +b(third)f(example)f(computes)0 961 y(t)o(w)o(o)g(output)h(series:)19 +b(the)c(partial)d(sums)h(of)g(its)h(\014rst)h(input)e(and)h(the)g +(partial)e(pro)q(ducts)0 1013 y(of)h(its)h(second)h(input.)0 +1109 y Fs(\(defun)20 b(running-averages)e(\(float-list\))42 +1161 y(\(multiple-value-cal)o(l)g(#)499 1157 y(-)499 +1165 y(-)n Fn(')542 1161 y Fs(map-fn)82 1217 y Fn(')106 +1213 y Fs(float)i(#)236 1209 y(-)236 1217 y(-)n Fn(')279 +1213 y Fs(/)85 1264 y(\(collecting-fn)409 1268 y Fn(')432 +1264 y Fs(\(values)g(float)g(integer\))402 1316 y(#)402 +1312 y(-)402 1320 y(-)n Fn(')445 1316 y Fs(\(lambda)g(\(\))h(\(values)e +(0.0)i(0\))402 1368 y(#)402 1364 y(-)402 1372 y(-)n Fn(')445 +1368 y Fs(\(lambda)f(\(s)h(n)g(x\))f(\(values)g(\(+)h(s)g(x\))g(\(+)f +(n)h(1\)\)\)\))402 1420 y(float-list\)\)\))0 1515 y(\(collecting-fn)324 +1519 y Fn(')347 1515 y Fs(integer)f(#)521 1511 y(-)521 +1519 y(-)n Fn(')564 1515 y Fs(\(lambda)g(\(\))h(0\))f(#)867 +1511 y(-)867 1519 y(-)n Fn(')910 1515 y Fs(+)h(#)953 +1511 y(-)953 1519 y(-)975 1515 y(Z\(1)g(2)g(3\)\))42 +1567 y Ft(\))g Fs(#)105 1563 y(-)105 1571 y(-)127 1567 +y(Z\(1)f(3)h(6\))0 1671 y(\(collecting-fn)324 1675 y +Fn(')347 1671 y Fs(\(values)f(integer)g(integer\))318 +1723 y(#)318 1719 y(-)318 1727 y(-)m Fn(')361 1723 y +Fs(\(lambda)f(\(\))i(\(values)f(0)h(1\)\))318 1775 y(#)318 +1771 y(-)318 1779 y(-)m Fn(')361 1775 y Fs(\(lambda)e(\(sum)i(prod)f(x) +h(y\))402 1827 y(\(values)f(\(+)h(sum)f(x\))h(\(*)g(prod)f(y\)\)\))318 +1878 y(#)318 1874 y(-)318 1882 y(-)339 1878 y(Z\(4)h(6)g(8\))318 +1930 y(#)318 1926 y(-)318 1934 y(-)339 1930 y(Z\(1)g(2)g(3\)\))42 +1982 y Ft(\))g Fs(#)105 1978 y(-)105 1986 y(-)127 1982 +y(Z\(4)f(10)h(18\))g Fw(and)g Fs(#)453 1978 y(-)453 1986 +y(-)475 1982 y(Z\(1)f(2)h(6\))0 2177 y Fo(A.2.4.)f(Conditional)15 +b(and)g(Other)g(Complex)e(T)-5 b(ransducers)0 2277 y +Fw(This)16 b(section)h(presen)o(ts)h(a)e(n)o(um)o(b)q(er)f(of)h +(complex)e(transducers,)19 b(including)c(ones)i(that)0 +2329 y(supp)q(ort)e(conditional)d(computation.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1014 1038 +1014 1037 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1014)78 b(COMMON)12 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(choose)20 b Fv(b)n(o)n(ols)k Fs(&optional)c(\()p +Fv(items)k(b)n(o)n(ols)p Fs(\))1209 347 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(choose-if)19 b Fv(pr)n(e)n(d)26 b(items)0 +424 y Fw(Eac)o(h)18 b(of)g(these)h(functions)f(tak)o(es)h(in)e(a)h +(series)h(of)f(elemen)o(ts)g(\()p Fv(items)p Fw(\))g(and)f(returns)j(a) +0 476 y(series)12 b(con)o(taining)e(the)h(same)f(elemen)o(ts)g(in)g +(the)i(same)d(order,)j(but)f(with)f(some)g(elemen)o(ts)0 +528 y(remo)o(v)o(ed.)16 b Fs(choose)9 b Fw(remo)o(v)o(es)i +Fv(items)574 534 y Fi(j)597 528 y Fw(if)e Fv(b)n(o)n(ols)716 +534 y Fi(j)740 528 y Fw(is)h Fs(nil)g Fw(or)h Fv(j)16 +b Fw(is)11 b(b)q(ey)o(ond)g(the)g(end)g(of)f Fv(b)n(o)n(ols)p +Fw(.)0 580 y(If)i Fv(items)g Fw(is)g(omitted,)f Fs(choose)g +Fw(returns)j(the)f(non-n)o(ull)e(elemen)o(ts)h(of)g Fv(b)n(o)n(ols)p +Fw(.)18 b Fs(choose-if)0 632 y Fw(remo)o(v)o(es)13 b +Fv(items)255 638 y Fi(j)281 632 y Fw(if)h Fs(\()p Fv(pr)n(e)n(d)20 +b(items)534 638 y Fi(j)547 632 y Fs(\))13 b Fw(is)h Fs(nil)p +Fw(.)0 724 y Fs(\(choose)20 b(#)174 720 y(-)174 728 y(-)196 +724 y(Z\(t)g(nil)h(t)g(nil\))f(#)520 720 y(-)520 728 +y(-)542 724 y(Z\(a)g(b)h(c)g(d\)\))g Ft(\))f Fs(#)863 +720 y(-)863 728 y(-)885 724 y(Z\(a)h(c\))0 776 y(\(collect-sum)e +(\(choose-if)g(#)522 772 y(-)522 780 y(-)m Fn(')565 776 +y Fs(plusp)h(#)695 772 y(-)695 780 y(-)717 776 y(Z\(-1)g(2)h(-3)g +(4\)\)\))f Ft(\))h Fs(6)1209 936 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(expand)20 b Fv(b)n(o)n(ols)k(items)g +Fs(&optional)c(\()p Fv(default)25 b Fs(nil\))0 1013 y(expand)17 +b Fw(is)i(a)f(quasi-in)o(v)o(erse)h(of)f Fs(choose)p +Fw(.)31 b(The)19 b(output)g(con)o(tains)g(the)g(elemen)o(ts)f(of)0 +1065 y(the)d(input)g(series)h Fv(items)e Fw(spread)i(out)e(in)o(to)g +(the)i(p)q(ositions)e(sp)q(eci\014ed)i(b)o(y)f(the)g(non-n)o(ull)0 +1117 y(elemen)o(ts)g(in)f Fv(b)n(o)n(ols)p Fw(|that)g(is,)g +Fv(items)588 1123 y Fi(j)615 1117 y Fw(is)h(in)f(the)h(p)q(osition)f(o) +q(ccupied)i(b)o(y)e(the)h Fv(j)6 b Fw(th)15 b(non-)0 +1169 y(n)o(ull)k(elemen)o(t)h(in)f Fv(b)n(o)n(ols)p Fw(.)37 +b(The)20 b(other)h(p)q(ositions)f(in)f(the)i(output)f(are)h(o)q +(ccupied)g(b)o(y)0 1221 y Fv(default)p Fw(.)d(The)d(output)f(stops)h +(as)f(so)q(on)g(as)g Fv(b)n(o)n(ols)g Fw(runs)g(out)g(of)g(elemen)o(ts) +f(or)h(a)g(non-n)o(ull)0 1273 y(elemen)o(t)i(in)g Fv(b)n(o)n(ols)g +Fw(is)g(encoun)o(tered)i(for)e(whic)o(h)g(there)i(is)e(no)g(corresp)q +(onding)h(elemen)o(t)0 1325 y(in)c Fv(items)p Fw(.)0 +1417 y Fs(\(expand)20 b(#)174 1413 y(-)174 1421 y(-)196 +1417 y(Z\(nil)g(t)h(nil)f(t)h(t\))g(#)563 1413 y(-)563 +1421 y(-)585 1417 y(Z\(a)f(b)h(c\)\))g Ft(\))f Fs(#)863 +1413 y(-)863 1421 y(-)885 1417 y(Z\(nil)g(a)h(nil)g(b)g(c\))0 +1468 y(\(expand)f(#)174 1464 y(-)174 1472 y(-)196 1468 +y(Z\(nil)g(t)h(nil)f(t)h(t\))g(#)563 1464 y(-)563 1472 +y(-)585 1468 y(Z\(a\)\))f Ft(\))g Fs(#)777 1464 y(-)777 +1472 y(-)799 1468 y(Z\(nil)g(a)h(nil\))1209 1629 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(split)20 b Fv(items)k +Fs(&rest)c Fv(test)p Fs(-)p Fv(series)p Fs(-)p Fv(inputs)1209 +1681 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(split-if)20 +b Fv(items)k Fs(&rest)c Fv(test)p Fs(-)p Fv(pr)n(e)n(dic)n(ates)0 +1758 y Fw(These)e(functions)f(are)g(lik)o(e)f Fs(choose)f +Fw(and)h Fs(choose-if)f Fw(except)j(that)f(instead)g(of)f(pro-)0 +1810 y(ducing)h(one)h(restricted)h(output,)f(they)g(partition)f(the)h +(input)f(series)h Fv(items)f Fw(b)q(et)o(w)o(een)0 1862 +y(sev)o(eral)i(outputs.)34 b(If)18 b(there)j(are)e Fv(n)j +Fw(test)e(inputs)f(follo)o(wing)d Fv(items)p Fw(,)k(then)f(there)h(are) +0 1914 y Fv(n)c Fw(+)c(1)18 b(outputs.)32 b(Eac)o(h)19 +b(input)f(elemen)o(t)g(is)g(placed)g(in)g(exactly)h(one)f(output)h +(series,)0 1966 y(dep)q(ending)d(on)f(the)h(outcome)f(of)g(a)g +(sequence)i(of)e(tests.)24 b(If)15 b(the)h(elemen)o(t)f +Fv(items)1294 1972 y Fi(j)1322 1966 y Fw(fails)0 2017 +y(the)j(\014rst)g Fv(k)e Ft(\000)c Fw(1)k(tests)j(and)e(passes)i(the)f +Fv(k)t Fw(h)f(test,)i(it)e(is)g(put)g(in)g(the)h Fv(k)t +Fw(th)g(output.)28 b(If)0 2069 y Fv(items)97 2075 y Fi(j)124 +2069 y Fw(fails)13 b(ev)o(ery)j(test,)f(it)g(is)f(placed)h(in)f(the)h +(last)g(output.)20 b(In)15 b(addition,)e(all)h(output)0 +2121 y(stops)k(as)g(so)q(on)g(as)f(an)o(y)h(series)h(input)e(runs)h +(out)g(of)f(elemen)o(ts.)29 b(The)18 b(test)h(inputs)f(to)0 +2173 y Fs(split)12 b Fw(are)i(series)h(of)d(v)n(alues;)h +Fv(items)580 2179 y Fi(j)606 2173 y Fw(passes)i(the)e +Fv(k)t Fw(th)i(test)f(if)e(the)i Fv(j)6 b Fw(th)14 b(elemen)o(t)e(of)h +(the)0 2225 y Fv(k)t Fw(th)h(test)h(series)g(is)e(not)h +Fs(nil)p Fw(.)j(The)d(test)h(inputs)e(to)h Fs(split-if)e +Fw(are)i(predicates;)g Fv(items)1382 2231 y Fi(j)0 2277 +y Fw(passes)h(the)f Fv(k)t Fw(th)h(test)f(if)f(the)h +Fv(k)t Fw(th)h(test)f(predicate)h(returns)g(non-n)o(ull)e(when)h +(applied)f(to)0 2329 y Fv(items)97 2335 y Fi(j)109 2329 +y Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1015 1039 +1015 1038 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SERIES)1194 b(1015)0 +295 y Fs(\(split)20 b(#)152 291 y(-)152 299 y(-)174 295 +y(Z\(-1)g(2)h(3)g(-4\))g(#)455 291 y(-)455 299 y(-)476 +295 y(Z\(t)g(nil)f(nil)h(t\)\))42 347 y Ft(\))g Fs(#)105 +343 y(-)105 351 y(-)127 347 y(Z\(-1)f(-4\))h Fw(and)g +Fs(#)410 343 y(-)410 351 y(-)432 347 y(Z\(2)f(3\))0 399 +y(\(multiple-value-b)o(ind)e(\(+x)j(-x\))f(\(split-if)f(#)847 +395 y(-)847 403 y(-)869 399 y(Z\(-1)i(2)g(3)g(-4\))f(#)1150 +395 y(-)1150 403 y(-)n Fn(')1193 399 y Fs(plusp\))42 +450 y(\(values)g(\(collect-sum)f(+x\))h(\(collect-sum)f(-x\)\)\))42 +502 y Ft(\))i Fs(5)g Fw(and)g Fs(-5)1209 639 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(catenate)20 b(&rest)g +Fv(series)p Fs(-)p Fv(inputs)0 716 y Fs(catenate)10 b +Fw(com)o(bines)g(t)o(w)o(o)h(or)g(more)g(series)i(in)o(to)d(one)i(long) +e(series)j(b)o(y)e(app)q(ending)h(them)0 768 y(end)i(to)g(end.)k(The)c +(length)g(of)f(the)i(output)e(is)h(the)g(sum)f(of)g(the)i(lengths)f(of) +f(the)h(inputs.)0 855 y Fs(\(catenate)19 b(#)217 851 +y(-)217 859 y(-)239 855 y(Z\(b)i(c\))f(#)390 851 y(-)390 +859 y(-)412 855 y(Z\(\))h(#)499 851 y(-)499 859 y(-)521 +855 y(Z\(d\)\))f Ft(\))g Fs(#)713 851 y(-)713 859 y(-)735 +855 y(Z\(b)h(c)g(d\))1209 992 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(subseries)19 b Fv(items)24 b(start)h +Fs(&optional)19 b Fv(b)n(elow)0 1069 y Fs(subseries)13 +b Fw(returns)k(a)e(series)i(con)o(taining)d(the)i(elemen)o(ts)f(of)g +(the)h(input)f(series)h Fv(items)0 1121 y Fw(indexed)21 +b(b)o(y)e(the)i(non-negativ)o(e)f(in)o(tegers)g(from)f +Fv(start)g Fw(up)h(to,)h(but)f(not)g(including,)0 1173 +y Fv(b)n(elow)p Fw(.)d(If)12 b Fv(b)n(elow)g Fw(is)g(omitted)f(or)i +(greater)g(than)g(the)g(length)f(of)g Fv(items)p Fw(,)g(the)h(output)f +(go)q(es)0 1225 y(all)h(the)h(w)o(a)o(y)f(to)h(the)h(end)f(of)f +Fv(items)p Fw(.)0 1312 y Fs(\(subseries)19 b(#)239 1308 +y(-)239 1316 y(-)261 1312 y(Z\(a)h(b)h(c)g(d\))g(1\))g +Ft(\))g Fs(#)626 1308 y(-)626 1316 y(-)647 1312 y(Z\(b)g(c)g(d\))0 +1364 y(\(subseries)e(#)239 1360 y(-)239 1368 y(-)261 +1364 y(Z\(a)h(b)h(c)g(d\))g(1)g(3\))g Ft(\))g Fs(#)669 +1360 y(-)669 1368 y(-)690 1364 y(Z\(b)g(c\))1209 1500 +y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(positions)19 +b Fv(b)n(o)n(ols)0 1577 y Fs(positions)10 b Fw(returns)j(a)f(series)h +(of)e(the)h(indices)g(of)f(the)i(non-n)o(ull)d(elemen)o(ts)i(in)f(the)h +(series)0 1629 y(input)i Fv(b)n(o)n(ols)p Fw(.)0 1716 +y Fs(\(positions)19 b(#)239 1712 y(-)239 1720 y(-)261 +1716 y(Z\(t)h(nil)h(t)g(44\)\))f Ft(\))h Fs(#)648 1712 +y(-)648 1720 y(-)670 1716 y(Z\(0)f(2)h(3\))1209 1853 +y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(mask)20 b Fv(monotonic)p +Fs(-)p Fv(indic)n(es)0 1930 y Fs(mask)9 b Fw(is)g(a)h(quasi-in)o(v)o +(erse)g(of)f Fs(positions)p Fw(.)15 b(The)10 b(series)h(input)e +Fv(monotonic-indic)n(es)i Fw(m)o(ust)0 1982 y(b)q(e)16 +b(a)e(strictly)i(increasing)f(series)h(of)f(non-negativ)o(e)f(in)o +(tegers.)22 b(The)16 b(output,)f(whic)o(h)g(is)0 2034 +y(alw)o(a)o(ys)d(un)o(b)q(ounded,)h(con)o(tains)g Fs(t)f +Fw(in)g(the)i(p)q(ositions)e(sp)q(eci\014ed)i(b)o(y)f +Fv(monotonic-indic)n(es)0 2086 y Fw(and)h Fs(nil)f Fw(ev)o(erywhere)j +(else.)0 2173 y Fs(\(mask)k(#)130 2169 y(-)130 2177 y(-)152 +2173 y(Z\(0)g(2)h(3\)\))g Ft(\))g Fs(#)431 2169 y(-)431 +2177 y(-)452 2173 y(Z\(t)g(nil)g(t)g(t)f(nil)h(nil)g(...\))0 +2225 y(\(mask)f(#)130 2221 y(-)130 2229 y(-)152 2225 +y(Z\(\)\))g Ft(\))h Fs(#)323 2221 y(-)323 2229 y(-)345 +2225 y(Z\(nil)f(nil)g(...\))0 2277 y(\(mask)g(\(positions)f(#)369 +2273 y(-)369 2281 y(-)391 2277 y(Z\(nil)h(a)h(nil)g(b)g(nil\)\)\))42 +2329 y Ft(\))g Fs(#)105 2325 y(-)105 2333 y(-)127 2329 +y(Z\(nil)f(t)h(nil)f(t)h(nil)g(...\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1016 1040 +1016 1039 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1016)78 b(COMMON)12 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(mingle)20 b Fv(items1)26 b(items2)h(c)n(omp)n(ar)n(ator)0 +373 y Fw(The)15 b(series)h(returned)h(b)o(y)d Fs(mingle)f +Fw(con)o(tains)i(all)f(and)g(only)g(the)h(elemen)o(ts)g(of)f(the)h(t)o +(w)o(o)0 425 y(input)e(series.)20 b(The)14 b(length)f(of)g(the)h +(output)g(is)f(the)h(sum)f(of)g(the)h(lengths)g(of)e(the)j(inputs)0 +477 y(and)i(is)h(un)o(b)q(ounded)g(if)e(either)j(input)e(is)g(un)o(b)q +(ounded.)30 b(The)18 b(order)g(of)f(the)h(elemen)o(ts)0 +529 y(remains)g(unc)o(hanged;)k(ho)o(w)o(ev)o(er,)e(the)g(elemen)o(ts)f +(from)e(the)j(t)o(w)o(o)e(inputs)i(are)f(stably)0 581 +y(in)o(termixed)13 b(under)h(the)h(con)o(trol)f(of)f(the)h +Fv(c)n(omp)n(ar)n(ator)p Fw(.)42 634 y(The)20 b Fv(c)n(omp)n(ar)n(ator) +g Fw(m)o(ust)f(accept)j(t)o(w)o(o)e(argumen)o(ts)g(and)g(return)h +(non-n)o(ull)e(if)h(and)0 686 y(only)d(if)f(its)i(\014rst)g(argumen)o +(t)e(is)i(strictly)f(less)i(than)e(its)h(second)g(argumen)o(t)e(\(in)i +(some)0 738 y(appropriate)i(sense\).)38 b(A)o(t)20 b(eac)o(h)h(step,)h +(the)f Fv(c)n(omp)n(ar)n(ator)e Fw(is)h(used)h(to)f(compare)f(the)0 +790 y(curren)o(t)j(elemen)o(ts)d(in)h(the)h(t)o(w)o(o)e(series.)38 +b(If)20 b(the)h(curren)o(t)g(elemen)o(t)f(from)e Fv(items2)i +Fw(is)0 842 y(strictly)h(less)f(than)h(the)g(curren)o(t)g(elemen)o(t)f +(from)e Fv(items1)p Fw(,)k(the)e(curren)o(t)i(elemen)o(t)e(is)0 +894 y(remo)o(v)o(ed)f(from)f Fv(items2)i Fw(and)g(transferred)h(to)f +(the)h(output.)36 b(Otherwise,)23 b(the)d(next)0 946 +y(output)14 b(elemen)o(t)f(comes)h(from)e Fv(items1)p +Fw(.)0 1048 y Fs(\(mingle)20 b(#)174 1044 y(-)174 1052 +y(-)196 1048 y(Z\(1)g(3)h(7)g(9\))g(#)433 1044 y(-)433 +1052 y(-)455 1048 y(Z\(4)f(5)h(8\))g(#)649 1044 y(-)649 +1052 y(-)m Fn(')692 1048 y Fs(<\))g Ft(\))f Fs(#)819 +1044 y(-)819 1052 y(-)841 1048 y(Z\(1)h(3)g(4)f(5)h(7)g(8)g(9\))0 +1100 y(\(mingle)f(#)174 1096 y(-)174 1104 y(-)196 1100 +y(Z\(1)g(7)h(3)g(9\))g(#)433 1096 y(-)433 1104 y(-)455 +1100 y(Z\(4)f(5)h(8\))g(#)649 1096 y(-)649 1104 y(-)m +Fn(')692 1100 y Fs(<\))g Ft(\))f Fs(#)819 1096 y(-)819 +1104 y(-)841 1100 y(Z\(1)h(4)g(5)f(7)h(3)g(8)g(9\))1209 +1312 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(chunk)20 +b Fv(m)k(n)h(items)0 1391 y Fw(This)10 b(function)h(has)f(the)h +(e\013ect)h(of)e(breaking)g(up)h(the)g(input)f(series)i +Fv(items)e Fw(in)o(to)g(\(p)q(ossibly)0 1443 y(o)o(v)o(erlapping\))j(c) +o(h)o(unks)i(of)e(length)h Fv(m)p Fw(.)19 b(The)14 b(starting)h(p)q +(ositions)e(of)h(successiv)o(e)i(c)o(h)o(unks)0 1495 +y(di\013er)e(b)o(y)g Fv(n)p Fw(.)k(The)d(inputs)f Fv(m)g +Fw(and)f Fv(n)h Fw(m)o(ust)f(b)q(oth)h(b)q(e)h(p)q(ositiv)o(e)e(in)o +(tegers.)42 1548 y Fs(chunk)h Fw(pro)q(duces)j Fv(m)f +Fw(output)g(series.)25 b(The)16 b Fv(i)t Fw(th)f(c)o(h)o(unk)h(pro)o +(vides)g(the)g Fv(i)t Fw(th)g(elemen)o(t)0 1600 y(for)e(eac)o(h)h(of)f +(the)i Fv(m)e Fw(outputs.)21 b(Supp)q(ose)15 b(that)g(the)g(length)g +(of)f Fv(items)g Fw(is)g Fv(l)p Fw(.)20 b(The)15 b(length)0 +1652 y(of)f(eac)o(h)h(output)g(is)g Ft(b)p Fw(1)10 b(+)g(\()p +Fv(l)k Ft(\000)c Fv(m)s Fw(\))p Fh(=)p Fv(n)s Ft(c)p +Fw(.)22 b(The)15 b Fv(i)t Fw(th)g(elemen)o(t)f(of)h(the)g +Fv(k)t Fw(th)g(output)g(is)g(the)0 1704 y(\()p Fv(i)e +Ft(\003)c Fv(n)k Fw(+)d Fv(k)t Fw(\)th)k(elemen)o(t)g(of)f +Fv(items)g Fw(\()p Fv(i)h Fw(and)g Fv(k)k Fw(coun)o(ting)c(from)e +(zero\).)42 1757 y(Note)k(that)g(if)f Fv(l)k Fh(<)c Fv(m)s +Fw(,)h(there)h(will)e(b)q(e)h(no)g(output)g(elemen)o(ts,)g(and)g(if)f +Fv(l)f Ft(\000)d Fv(m)19 b Fw(is)d(not)0 1809 y(a)e(m)o(ultiple)e(of)i +Fv(n)p Fw(,)g(the)h(last)f(few)g(input)g(elemen)o(ts)g(will)f(not)h +(app)q(ear)h(in)f(the)h(output.)k(If)0 1861 y Fv(m)c +Ft(\025)c Fv(n)s Fw(,)i(one)g(can)g(guaran)o(tee)g(that)g(the)h(last)e +(c)o(h)o(unk)h(will)e(con)o(tain)h(the)i(last)e(elemen)o(t)g(of)0 +1913 y Fv(items)i Fw(b)o(y)g(catenating)h Fv(n)e Ft(\000)d +Fw(1)k(copies)h(of)f(an)g(appropriate)g(padding)g(v)n(alue)g(to)g(the)h +(end)0 1965 y(of)e Fv(items)p Fw(.)42 2019 y(The)20 b(\014rst)h +(example)e(b)q(elo)o(w)h(sho)o(ws)g Fs(chunk)f Fw(b)q(eing)h(used)h(to) +f(compute)g(a)f(mo)o(ving)0 2071 y(a)o(v)o(erage.)i(The)15 +b(second)h(example)d(sho)o(ws)i Fs(chunk)f Fw(b)q(eing)h(used)g(to)g +(con)o(v)o(ert)g(a)g(prop)q(ert)o(y)0 2122 y(list)e(in)o(to)h(an)f +(asso)q(ciation)h(list.)0 2225 y Fs(\(mapping)20 b(\(\(\(xi)g(xi+1)g +(xi+2\))g(\(chunk)g(3)h(1)g(#)802 2221 y(-)802 2229 y(-)824 +2225 y(Z\(1)f(5)h(3)g(4)g(5)g(6\)\)\)\))42 2277 y(\(/)g(\(+)g(xi)g +(xi+1)f(xi+2\))g(3\)\))42 2329 y Ft(\))h Fs(#)105 2325 +y(-)105 2333 y(-)127 2329 y(Z\(3)f(4)h(4)g(5\))-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1017 1041 +1017 1040 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SERIES)1194 b(1017)0 +295 y Fs(\(collect)42 347 y(\(mapping)20 b(\(\(\(prop)g(val\))g +(\(chunk)g(2)h(2)g(\(scan)886 351 y Fn(')909 347 y Fs(\(a)g(2)g(b)g(5)g +(c)g(8\)\)\)\)\))85 399 y(\(cons)f(prop)g(val\)\)\))42 +450 y Ft(\))h Fs(\(\(a)g(.)g(2\))f(\(b)h(.)g(5\))g(\(c)g(.)f(8\)\))0 +618 y Fo(A.2.5.)g(Collectors)0 709 y Fw(Collectors)f(pro)q(duce)i +(non-series)f(outputs)g(based)g(on)f(series)i(inputs.)34 +b(They)20 b(either)0 761 y(create)g(a)e(summary)d(v)n(alue)j(based)h +(on)f(some)f(form)o(ula)f(\(the)j(sum,)f(for)g(example\))f(or)0 +813 y(collect)c(the)h(elemen)o(ts)f(of)f(a)h(series)h(in)e(an)h +(aggregate)g(data)g(structure)i(\(suc)o(h)f(as)f(a)g(list\).)1209 +961 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(collect-first)18 +b Fv(items)25 b Fs(&optional)19 b(\()p Fv(default)25 +b Fs(nil\))1209 1013 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(collect-last)19 b Fv(items)24 b Fs(&optional)19 +b(\()p Fv(default)25 b Fs(nil\))1209 1065 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(collect-nth)19 b Fv(n)25 b(items)f Fs(&optional)19 +b(\()p Fv(default)25 b Fs(nil\))0 1142 y Fw(Giv)o(en)18 +b(a)g(series)i Fv(items)p Fw(,)f(these)h(functions)f(return)h(the)f +(\014rst)h(elemen)o(t,)f(the)g(last)g(ele-)0 1194 y(men)o(t,)12 +b(and)i(the)g Fv(n)s Fw(th)h(elemen)o(t,)e(resp)q(ectiv)o(ely)m(.)19 +b(If)13 b Fv(items)g Fw(has)h(no)g(elemen)o(ts)g(\(or)f(no)h +Fv(n)s Fw(th)0 1246 y(elemen)o(t\),)h Fv(default)g Fw(is)g(returned.)24 +b(If)15 b Fv(default)g Fw(is)g(not)g(sp)q(eci\014ed,)i(then)f +Fs(nil)f Fw(is)g(used)h(for)0 1298 y Fv(default)p Fw(.)0 +1387 y Fs(\(collect-first)i(#)326 1383 y(-)326 1391 y(-)348 +1387 y(Z\(\))432 1391 y Fn(')456 1387 y Fs(z\))j Ft(\))f +Fs(z)0 1439 y(\(collect-last)e(#)304 1435 y(-)304 1443 +y(-)326 1439 y(Z\(a)j(b)g(c\)\))f Ft(\))h Fs(c)0 1491 +y(\(collect-nth)e(1)i(#)326 1487 y(-)326 1495 y(-)347 +1491 y(Z\(a)g(b)g(c\)\))g Ft(\))f Fs(b)1209 1639 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(collect-length)18 b +Fv(items)0 1717 y Fs(collect-length)11 b Fw(returns)k(the)g(n)o(um)o(b) +q(er)e(of)g(elemen)o(ts)h(in)f(a)h(series.)0 1806 y Fs +(\(collect-length)k(#)348 1802 y(-)348 1810 y(-)370 1806 +y(Z\(a)i(b)h(c\)\))g Ft(\))g Fs(3)1209 1954 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(collect-sum)19 b Fv(numb)n(ers)25 +b Fs(&optional)19 b(\()p Fv(typ)n(e)769 1958 y Fn(')792 +1954 y Fs(number\))0 2032 y(collect-sum)c Fw(returns)20 +b(the)e(sum)f(of)g(the)h(elemen)o(ts)f(in)h(a)f(series)i(of)e(n)o(um)o +(b)q(ers.)29 b(The)0 2084 y Fv(typ)n(e)16 b Fw(is)g(a)f(t)o(yp)q(e)h +(sp)q(eci\014er)i(that)e(indicates)g(the)g(t)o(yp)q(e)h(of)e(sum)g(to)g +(b)q(e)i(created.)25 b(If)16 b Fv(typ)n(e)0 2135 y Fw(is)e(not)h(sp)q +(eci\014ed,)g(then)g Fs(number)e Fw(is)h(used)i(for)e(the)h +Fv(typ)n(e)p Fw(.)k(If)14 b(there)i(are)f(no)f(elemen)o(ts)g(in)0 +2187 y(the)g(input,)g(a)f(zero)i(\(of)e(the)i(appropriate)f(t)o(yp)q +(e\))g(is)g(returned.)0 2277 y Fs(\(collect-sum)19 b(#)283 +2273 y(-)283 2281 y(-)304 2277 y(Z\(1.1)i(1.2)f(1.3\)\))g +Ft(\))h Fs(3.6)0 2329 y(\(collect-sum)e(#)283 2325 y(-)283 +2333 y(-)304 2329 y(Z\(\))389 2333 y Fn(')412 2329 y +Fs(complex\))h Ft(\))g Fs(#)670 2325 y(-)670 2333 y(-)692 +2329 y(C\(0)h(0\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1018 1042 +1018 1041 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1018)78 b(COMMON)12 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(collect-max)19 b Fv(numb)n(ers)1209 347 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(collect-min)19 b Fv(numb)n(ers)0 +424 y Fw(Giv)o(en)d(a)h(series)h(of)f(non-complex)e(n)o(um)o(b)q(ers,)i +(these)h(functions)f(compute)g(the)g(maxi-)0 476 y(m)o(um)7 +b(elemen)o(t)j(and)g(the)h(minim)n(um)6 b(elemen)o(t,)11 +b(resp)q(ectiv)o(ely)m(.)17 b(If)10 b(there)i(are)f(no)f(elemen)o(ts)0 +527 y(in)j(the)i(input,)e Fs(nil)g Fw(is)h(returned.)0 +616 y Fs(\(collect-max)19 b(#)283 612 y(-)283 620 y(-)304 +616 y(Z\(2)i(1)g(4)g(3\)\))g Ft(\))f Fs(4)0 667 y(\(collect-min)f(#)283 +663 y(-)283 671 y(-)304 667 y(Z\(1.2)i(1.1)f(1.4)h(1.3\)\))f +Ft(\))h Fs(1.1)0 719 y(\(collect-min)e(#)283 715 y(-)283 +723 y(-)304 719 y(Z\(\)\))i Ft(\))g Fs(nil)1209 861 y +Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(collect-and)19 +b Fv(b)n(o)n(ols)0 938 y Fs(collect-and)12 b Fw(returns)k(the)f +Fs(and)f Fw(of)g(the)h(elemen)o(ts)g(in)f(a)g(series.)22 +b(As)15 b(with)f(the)h(macro)0 990 y Fs(and)p Fw(,)c +Fs(nil)f Fw(is)h(returned)i(if)d(an)o(y)h(elemen)o(t)f(of)h +Fv(b)n(o)n(ols)g Fw(is)g Fs(nil)p Fw(.)16 b(Otherwise,)d(the)e(last)g +(elemen)o(t)0 1041 y(of)i Fv(b)n(o)n(ols)h Fw(is)f(returned.)20 +b(The)14 b(v)n(alue)f Fs(t)h Fw(is)f(returned)j(if)d(there)i(are)f(no)f +(elemen)o(ts)h(in)f Fv(b)n(o)n(ols)p Fw(.)0 1130 y Fs(\(collect-and)19 +b(#)283 1126 y(-)283 1134 y(-)304 1130 y(Z\(a)i(b)g(c\)\))g +Ft(\))f Fs(c)0 1181 y(\(collect-and)f(#)283 1177 y(-)283 +1185 y(-)304 1181 y(Z\(a)i(nil)g(c\)\))f Ft(\))h Fs(nil)1209 +1323 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(collect-or)19 +b Fv(b)n(o)n(ols)0 1400 y Fs(collect-or)11 b Fw(returns)j(the)f +Fs(or)f Fw(of)h(the)g(elemen)o(ts)g(in)f(a)g(series.)19 +b(As)13 b(with)g(the)g(macro)f Fs(or)p Fw(,)0 1452 y +Fs(nil)i Fw(is)g(returned)i(if)d(ev)o(ery)j(elemen)o(t)d(of)h +Fv(b)n(o)n(ols)g Fw(is)h Fs(nil)p Fw(.)j(Otherwise,)e(the)f(\014rst)g +(non-n)o(ull)0 1503 y(elemen)o(t)10 b(of)h Fv(b)n(o)n(ols)f +Fw(is)h(returned.)19 b(The)11 b(v)n(alue)f Fs(nil)g Fw(is)h(returned)i +(if)d(there)i(are)f(no)g(elemen)o(ts)0 1555 y(in)i Fv(b)n(o)n(ols)p +Fw(.)0 1643 y Fs(\(collect-or)19 b(#)261 1639 y(-)261 +1647 y(-)283 1643 y(Z\(nil)h(b)h(c\)\))f Ft(\))h Fs(b)0 +1695 y(\(collect-or)e(#)261 1691 y(-)261 1699 y(-)283 +1695 y(Z\(\)\))h Ft(\))h Fs(nil)1209 1837 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(collect)20 b Fv(items)1209 1888 y Fw([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(collect)20 b Fv(typ)n(e)k(items)0 +1966 y Fs(collect)13 b Fw(returns)j(a)e(sequence)j(con)o(taining)c(the) +i(elemen)o(ts)f(of)g(the)h(series)h Fv(items)p Fw(.)j(The)0 +2017 y Fv(typ)n(e)10 b Fw(is)g(a)f(t)o(yp)q(e)h(sp)q(eci\014er)i +(indicating)c(the)j(t)o(yp)q(e)f(of)f(sequence)j(to)e(b)q(e)g(created.) +18 b(It)10 b(m)o(ust)f(b)q(e)0 2069 y(either)14 b(a)g(prop)q(er)g(subt) +o(yp)q(e)h(of)e Fs(sequence)e Fw(or)j(the)g(sym)o(b)q(ol)e +Fs(bag)p Fw(.)17 b(If)c Fv(typ)n(e)h Fw(is)f(omitted,)f(it)0 +2121 y(defaults)g(to)g Fs(list)p Fw(.)k(\(This)c(function)f(exhibits)h +(an)g(argumen)o(t)f(pattern)h(that)g(is)g(un)o(usual)0 +2173 y(for)17 b(Commo)o(n)e(Lisp:)24 b(an)17 b(\\optional")e(argumen)o +(t)h(preceding)i(a)f(required)h(argumen)o(t.)0 2225 y(This)c(pattern)h +(cannot)f(b)q(e)g(expressed)j(in)c(the)i(usual)f(manner)f(with)g +Fs(&optional)p Fw(.)k(It)d(is)0 2277 y(indicated)j(ab)q(o)o(v)o(e)g(b)o +(y)g(t)o(w)o(o)g(de\014nition)g(lines,)g(sho)o(wing)g(the)h(t)o(w)o(o)e +(p)q(ossible)i(argumen)o(t)0 2329 y(patterns.\))-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1019 1043 +1019 1042 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SERIES)1194 b(1019)42 +295 y Fw(If)18 b(the)i Fv(typ)n(e)f Fw(is)g Fs(bag)p +Fw(,)g(a)g(list)g(is)g(created)h(with)f(the)h(elemen)o(ts)e(in)h +(whatev)o(er)h(order)0 347 y(can)14 b(b)q(e)h(most)e(e\016cien)o(tly)h +(obtained.)19 b(Otherwise,)c(the)g(order)g(of)f(the)g(elemen)o(ts)g(in) +g(the)0 399 y(sequence)i(is)e(the)h(same)e(as)i(the)f(order)h(in)f +Fv(items)p Fw(.)k(If)c Fv(typ)n(e)g Fw(sp)q(eci\014es)i(a)e(length)g +(\(that)g(is,)0 450 y(of)f(a)h(v)o(ector\))h(this)f(length)f(m)o(ust)g +(b)q(e)i(greater)g(than)f(or)f(equal)h(to)g(the)g(length)g(of)f +Fv(items)p Fw(.)42 504 y(The)e Fv(n)s Fw(th)h(elemen)o(t)e(of)g +Fv(items)h Fw(is)f(placed)i(in)e(the)i Fv(n)s Fw(th)f(slot)g(of)f(the)i +(sequence)h(pro)q(duced.)0 555 y(An)o(y)k(unneeded)i(slots)f(are)f +(left)g(in)g(their)h(initial)d(state.)29 b(Collecting)17 +b(is)g(signi\014can)o(tly)0 607 y(more)9 b(e\016cien)o(t)i(if)e(it)h +(can)g(b)q(e)h(determined)f(at)g(compile)e(time)h(whether)j +Fv(typ)n(e)e Fw(is)g(a)g(subt)o(yp)q(e)0 659 y(of)j Fs(list)g +Fw(or)h Fs(vector)f Fw(and)g(for)h(v)o(ectors)h(what)f(the)g(length)g +(of)f(the)i(v)o(ector)g(is.)0 757 y Fs(\(collect)20 b(#)196 +753 y(-)196 761 y(-)217 757 y(Z\(a)h(b)g(c\)\))f Ft(\))h +Fs(\(a)g(b)g(c\))0 809 y(\(collect)193 813 y Fn(')217 +809 y Fs(bag)f(#)303 805 y(-)303 813 y(-)325 809 y(Z\(a)h(b)g(c\)\))f +Ft(\))h Fs(\(c)g(a)f(b\))h Fw(or)g Fs(\(b)g(a)g(c\))g +Fw(or)14 b Fh(:)7 b(:)g(:)0 861 y Fs(\(collect)193 865 +y Fn(')217 861 y Fs(\(vector)19 b(integer)h(3\))h(#)629 +857 y(-)629 865 y(-)651 861 y(Z\(1)f(2)h(3\)\))g Ft(\))f +Fs(#)929 857 y(-)929 865 y(-)951 861 y(\(1)h(2)g(3\))1209 +1052 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(collect-append)18 +b Fv(se)n(quenc)n(es)1209 1104 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(collect-append)18 b Fv(typ)n(e)25 b(se)n(quenc)n(es)0 +1182 y Fw(Giv)o(en)13 b(a)g(series)h(of)f(sequences,)i +Fs(collect-append)c Fw(returns)k(a)d(new)i(sequence)i(b)o(y)d(con-)0 +1234 y(catenating)19 b(these)i(sequences)h(together)f(in)e(order.)35 +b(The)20 b Fv(typ)n(e)g Fw(is)f(a)g(t)o(yp)q(e)h(sp)q(eci\014er)0 +1286 y(indicating)f(the)i(t)o(yp)q(e)f(of)g(sequence)i(created)g(and)e +(m)o(ust)f(b)q(e)h(a)g(prop)q(er)h(subt)o(yp)q(e)g(of)0 +1338 y Fs(sequence)p Fw(.)e(If)c Fv(typ)n(e)g Fw(is)g(omitted,)e(it)i +(defaults)f(to)h Fs(list)p Fw(.)20 b(\(This)15 b(function)g(exhibits)g +(an)0 1390 y(argumen)o(t)d(pattern)j(that)e(is)g(un)o(usual)g(for)g +(Common)e(Lisp:)17 b(an)c(\\optional")f(argumen)o(t)0 +1441 y(preceding)g(a)f(required)h(argumen)o(t.)k(This)c(pattern)g +(cannot)f(b)q(e)h(expressed)h(in)e(the)h(usual)0 1493 +y(manner)e(with)g Fs(&optional)p Fw(.)15 b(It)c(is)g(indicated)g(ab)q +(o)o(v)o(e)f(b)o(y)h(t)o(w)o(o)f(de\014nition)h(lines,)f(sho)o(wing)0 +1545 y(the)k(t)o(w)o(o)g(p)q(ossible)g(argumen)o(t)f(patterns.\))42 +1598 y(It)h(m)o(ust)g(b)q(e)h(p)q(ossible)g(for)f(ev)o(ery)h(elemen)o +(t)f(of)g(ev)o(ery)i(sequence)h(in)d(the)h(input)f(series)0 +1650 y(to)i(b)q(e)h(an)f(elemen)o(t)f(of)h(a)g(sequence)i(of)d(t)o(yp)q +(e)i Fv(typ)n(e)p Fw(.)25 b(The)16 b(result)h(do)q(es)g(not)f(share)h +(an)o(y)0 1702 y(structure)f(with)e(the)g(sequences)i(in)e(the)g +(input.)0 1800 y Fs(\(collect-append)k(#)348 1796 y(-)348 +1804 y(-)370 1800 y(Z\(\(a)i(b\))h(nil)g(\(c)f(d\)\)\))h +Ft(\))f Fs(\(a)h(b)g(c)g(d\))0 1852 y(\(collect-append)346 +1856 y Fn(')369 1852 y Fs(string)f(#)521 1848 y(-)521 +1856 y(-)543 1852 y(Z\("a)g(")h("big)g(")g("cat"\)\))e +Ft(\))i Fs("a)g(big)f(cat")1209 2043 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(collect-nconc)18 b Fv(lists)0 2121 y +Fs(collect-nconc)12 b(nconc)p Fw(s)j(the)h(elemen)o(ts)f(of)f(the)i +(series)h Fv(lists)d Fw(together)i(in)f(order)h(and)0 +2173 y(returns)d(the)g(result.)18 b(This)12 b(is)g(the)g(same)f(as)h +Fs(collect-append)d Fw(except)k(that)f(the)h(input)0 +2225 y(m)o(ust)19 b(b)q(e)h(a)f(series)i(of)e(lists,)h(the)h(output)e +(is)h(alw)o(a)o(ys)e(a)i(list,)g(the)g(concatenation)g(is)0 +2277 y(done)12 b(rapidly)f(b)o(y)g(destructiv)o(ely)i(mo)q(difying)c +(the)j(input)g(elemen)o(ts,)f(and)h(therefore)h(the)0 +2329 y(output)h(shares)h(all)e(of)g(its)h(structure)i(with)e(the)g +(input)g(elemen)o(ts.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1020 1044 +1020 1043 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1020)78 b(COMMON)12 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(collect-alist)18 b Fv(keys)25 b(values)1209 347 +y Fw([)p Fv(F)m(unction)s Fw(])-1395 b Fs(collect-plist)18 +b Fv(keys)25 b(values)1209 399 y Fw([)p Fv(F)m(unction)s +Fw(])-1395 b Fs(collect-hash)19 b Fv(keys)25 b(values)f +Fs(&key)d(:test)f(:size)g(:rehash-size)283 450 y(:rehash-threshol)o(d)0 +527 y Fw(Giv)o(en)d(a)g(series)i(of)d(k)o(eys)i(and)f(a)g(series)i(of)e +(corresp)q(onding)h(v)n(alues,)g(these)h(functions)0 +579 y(return)c(an)e(asso)q(ciation)g(list,)g(a)g(prop)q(ert)o(y)h +(list,)f(and)g(a)g(hash)h(table,)f(resp)q(ectiv)o(ely)m(.)19 +b(F)m(ol-)0 631 y(lo)o(wing)9 b(the)j(order)f(of)f(the)i(input,)f(eac)o +(h)g Fv(keys)699 637 y Fi(j)712 631 y Fw(-)p Fv(values)835 +637 y Fi(j)859 631 y Fw(pair)f(is)h(en)o(tered)h(in)o(to)e(the)i +(output)0 683 y(so)i(that)g(it)f(o)o(v)o(errides)h(all)f(earlier)h +(asso)q(ciations.)k(If)13 b(one)h(of)f(the)i(input)e(series)i(is)f +(longer)0 735 y(than)j(the)g(other,)h(the)g(extra)f(elemen)o(ts)g(are)g +(ignored.)27 b(The)17 b(k)o(eyw)o(ord)g(argumen)o(ts)f(of)0 +787 y Fs(collect-hash)h Fw(sp)q(ecify)j(attributes)g(of)f(the)h(hash)g +(table)f(pro)q(duced)i(and)e(ha)o(v)o(e)g(the)0 839 y(same)13 +b(meanings)f(as)i(the)h(argumen)o(ts)e(to)h Fs(make-hash-table)p +Fw(.)0 924 y Fs(\(collect-alist)k(#)326 920 y(-)326 928 +y(-)348 924 y(Z\(a)j(b)g(c\))f(#)542 920 y(-)542 928 +y(-)564 924 y(Z\(1)h(2\)\))f Ft(\))h Fs(\(\(b)f(.)h(2\))g(\(a)g(.)g +(1\)\))0 976 y(\(collect-plist)d(#)326 972 y(-)326 980 +y(-)348 976 y(Z\(a)j(b)g(c\))f(#)542 972 y(-)542 980 +y(-)564 976 y(Z\(1)h(2\)\))f Ft(\))h Fs(\(b)g(2)g(a)g(1\))0 +1028 y(\(collect-hash)d(#)304 1024 y(-)304 1032 y(-)326 +1028 y(Z\(\))j(#)413 1024 y(-)413 1032 y(-)435 1028 y(Z\(1)f(2\))h +(:test)f(#)716 1024 y(-)716 1032 y(-)n Fn(')759 1028 +y Fs(eq\))h Ft(\))f(h)p Fw(an)14 b(empt)o(y)f(hash)h(table)p +Ft(i)1209 1155 y Fw([)p Fv(F)m(unction)s Fw(])-1395 b +Fs(collect-file)19 b Fv(\014le)p Fs(-)p Fv(name)24 b(items)h +Fs(&optional)19 b(\()p Fv(printer)24 b Fs(#)990 1151 +y(-)990 1159 y(-)n Fn(')1033 1155 y Fs(print\))0 1232 +y Fw(This)12 b(creates)i(a)d(\014le)h(named)f Fv(\014le-name)i +Fw(and)f(writes)g(the)h(elemen)o(ts)f(of)f(the)i(series)g +Fv(items)0 1284 y Fw(in)o(to)g(it)h(using)g(the)g(function)g +Fv(printer)p Fw(.)k Fv(Printer)13 b Fw(m)o(ust)g(accept)i(t)o(w)o(o)f +(inputs:)k(an)c(ob)r(ject)0 1336 y(and)j(an)g(output)g(stream.)27 +b(\(F)m(or)17 b(instance,)h Fv(printer)e Fw(can)h(b)q(e)h +Fs(print)p Fw(,)e Fs(prin1)p Fw(,)g Fs(princ)p Fw(,)0 +1388 y Fs(pprint)p Fw(,)k Fs(write-char)p Fw(,)f Fs(write-string)p +Fw(,)f(or)i Fs(write-line)p Fw(.\))34 b(If)20 b(omitted,)g +Fv(printer)0 1440 y Fw(defaults)15 b(to)f Fs(print)p +Fw(.)20 b(The)15 b(v)n(alue)f Fs(t)g Fw(is)h(returned.)22 +b(The)15 b(\014le)g(is)f(correctly)i(closed,)f(ev)o(en)0 +1492 y(if)e(an)h(ab)q(ort)g(o)q(ccurs.)1209 1619 y([)p +Fv(F)m(unction)s Fw(])-1395 b Fs(collect-fn)19 b Fv(typ)n(e)25 +b(init)f(function)h Fs(&rest)20 b Fv(series)p Fs(-)p +Fv(inputs)0 1696 y Fw(The)e(higher-order)g(function)f +Fs(collect-fn)e Fw(supp)q(orts)j(the)g(general)g(concept)g(of)f(col-)0 +1748 y(lecting.)j(It)15 b(is)f(iden)o(tical)g(to)h Fs(collecting-fn)d +Fw(except)k(that)e(it)h(returns)h(only)e(the)h(last)0 +1800 y(elemen)o(t)f(of)f(eac)o(h)h(series)i(computed.)i(If)c(there)h +(are)f(no)g(elemen)o(ts)g(in)g(these)h(series,)g(the)0 +1852 y(v)n(alues)f(returned)h(b)o(y)f Fv(init)f Fw(are)i(passed)f(on)g +(directly)g(as)g(the)h(output)f(of)f Fs(collect-fn)p +Fw(.)0 1937 y Fs(\(collect-fn)259 1941 y Fn(')282 1937 +y Fs(integer)20 b(#)456 1933 y(-)456 1941 y(-)m Fn(')499 +1937 y Fs(\(lambda)f(\(\))i(0\))g(#)802 1933 y(-)802 +1941 y(-)n Fn(')845 1937 y Fs(+)g(#)888 1933 y(-)888 +1941 y(-)910 1937 y(Z\(1)f(2)h(3\)\))g Ft(\))f Fs(6)0 +1989 y(\(collect-fn)259 1993 y Fn(')282 1989 y Fs(integer)g(#)456 +1985 y(-)456 1993 y(-)m Fn(')499 1989 y Fs(\(lambda)f(\(\))i(0\))g(#) +802 1985 y(-)802 1993 y(-)n Fn(')845 1989 y Fs(+)g(#)888 +1985 y(-)888 1993 y(-)910 1989 y(Z\(\)\))f Ft(\))h Fs(0)0 +2041 y(\(collect-fn)259 2045 y Fn(')282 2041 y Fs(integer)f(#)456 +2037 y(-)456 2045 y(-)m Fn(')499 2041 y Fs(\(lambda)f(\(\))i(1\))g(#) +802 2037 y(-)802 2045 y(-)n Fn(')845 2041 y Fs(*)g(#)888 +2037 y(-)888 2045 y(-)910 2041 y(Z\(1)f(2)h(3)g(4)g(5\)\))g +Ft(\))f Fs(120)0 2191 y Fo(A.2.6.)g(Alteration)14 b(of)h(Series)0 +2277 y Fw(Series)h(that)f(come)g(from)e(scanning)i(data)g(structures)j +(suc)o(h)e(as)f(lists)g(and)g(v)o(ectors)h(are)0 2329 +y(closely)e(link)o(ed)f(to)g(these)i(structures.)21 b(The)14 +b(function)f Fs(alter)g Fw(can)h(b)q(e)g(used)h(to)e(mo)q(dify)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1021 1045 +1021 1044 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SERIES)1194 b(1021)0 +295 y Fw(the)20 b(underlying)f(data)g(structure)i(with)e(reference)j +(to)d(the)h(series)g(deriv)o(ed)g(from)e(it.)0 347 y(\(Con)o(v)o +(ersely)m(,)f(it)f(is)g(p)q(ossible)h(to)f(mo)q(dify)e(a)i(series)i(b)o +(y)e(destructiv)o(ely)i(mo)q(difying)13 b(the)0 399 y(data)i(structure) +i(it)e(is)g(deriv)o(ed)h(from.)k(Ho)o(w)o(ev)o(er,)15 +b(giv)o(en)g(the)h(lazy)e(ev)n(aluation)g(nature)0 450 +y(of)h(series,)h(the)g(e\013ects)h(of)d(suc)o(h)i(mo)q(di\014cations)e +(can)h(b)q(e)h(v)o(ery)f(hard)h(to)f(predict.)22 b(As)16 +b(a)0 502 y(result,)e(this)g(kind)g(of)f(mo)q(di\014cation)e(is)j +(inadvisable.\))1209 652 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(alter)20 b Fv(destinations)25 b(items)0 729 y Fs(alter)14 +b Fw(c)o(hanges)i(the)f(series)h Fv(destinations)g Fw(so)f(that)g(it)f +(con)o(tains)h(the)h(elemen)o(ts)f(in)f(the)0 781 y(series)19 +b Fv(items)p Fw(.)29 b(More)18 b(imp)q(ortan)o(tly)m(,)e(in)h(the)h +(manner)f(of)g Fs(setf)p Fw(,)h(the)g(data)g(structure)0 +833 y(that)e(underlies)h Fv(destinations)f Fw(is)g(c)o(hanged)g(so)g +(that)g(if)g(the)g(series)h Fv(destinations)g Fw(w)o(ere)0 +885 y(to)d(b)q(e)h(regenerated,)g(the)g(new)f(v)n(alues)g(w)o(ould)f(b) +q(e)i(obtained.)j(The)d(alteration)e(pro)q(cess)0 937 +y(stops)j(as)g(so)q(on)g(as)g(either)g(input)g(runs)g(out)g(of)f +(elemen)o(ts.)24 b(The)16 b(v)n(alue)f Fs(nil)g Fw(is)h(alw)o(a)o(ys)0 +988 y(returned.)31 b(In)17 b(the)i(example)d(b)q(elo)o(w)h(eac)o(h)h +(negativ)o(e)g(elemen)o(t)f(in)g(a)g(list)g(is)h(replaced)0 +1040 y(with)c(its)f(square.)0 1130 y Fs(\(let*)20 b(\(\(data)g(\(list)g +(1)h(-2)g(3)g(4)g(-5)g(6\)\))148 1182 y(\(x)g(\(choose-if)e(#)452 +1178 y(-)452 1186 y(-)n Fn(')495 1182 y Fs(minusp)h(\(scan)g +(data\)\)\)\))42 1234 y(\(alter)g(x)h(\(#)259 1230 y(-)259 +1238 y(-)281 1234 y(M*)g(x)g(x\)\))42 1286 y(data\))42 +1338 y Ft(\))g Fs(\(1)g(4)g(3)g(4)g(25)f(6\))42 1427 +y(alter)14 b Fw(can)h(b)q(e)h(applied)f(only)f(to)h(series)i(that)e +(are)h Fv(alter)n(able)p Fw(.)21 b Fs(scan)p Fw(,)14 +b Fs(scan-alist)p Fw(,)0 1479 y Fs(scan-multiple)p Fw(,)21 +b Fs(scan-plist)p Fw(,)h(and)g Fs(scan-lists-of-li)o(sts-f)o(ringe)d +Fw(pro)q(duce)0 1531 y(alterable)d(series.)27 b(Ho)o(w)o(ev)o(er,)17 +b(the)f(alterabilit)o(y)f(of)h(the)h(output)f(of)g Fs(scan-lists-of-)0 +1583 y(lists-fringe)c Fw(is)i(incomplete.)19 b(If)14 +b Fs(scan-lists-of-lists-)o(frin)o(ge)e Fw(is)i(applied)g(to)0 +1635 y(an)f(ob)r(ject)g(that)g(is)g(a)f(leaf,)g(altering)h(the)g +(output)g(series)h(do)q(es)g(not)f(c)o(hange)g(the)g(ob)r(ject.)42 +1687 y(In)e(general,)h(the)h(output)f(of)f(a)h(transducer)i(is)d +(alterable)h(as)g(long)f(as)h(the)h(elemen)o(ts)e(of)0 +1739 y(the)16 b(output)f(come)f(directly)i(from)d(the)j(elemen)o(ts)f +(of)f(an)h(input)g(that)g(is)g(alterable.)22 b(In)0 1791 +y(particular,)11 b(the)g(outputs)h(of)e Fs(choose)p Fw(,)g +Fs(choose-if)p Fw(,)f Fs(split)p Fw(,)h Fs(split-if)p +Fw(,)f Fs(cotruncate)p Fw(,)0 1843 y Fs(until)p Fw(,)14 +b Fs(until-if)p Fw(,)f(and)i Fs(subseries)f Fw(are)h(alterable)g(as)g +(long)g(as)g(the)h(corresp)q(onding)0 1894 y(inputs)e(are)g(alterable.) +1209 2044 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(to-alter)20 +b Fv(items)k(alter)p Fs(-)p Fv(fn)f Fs(&rest)d Fv(ar)n(gs)0 +2121 y Fw(Giv)o(en)c(a)g(series)i Fv(items)p Fw(,)f Fs(to-alter)e +Fw(returns)j(an)e(alterable)h(series)h Fv(A)f Fw(con)o(taining)e(the)0 +2173 y(same)9 b(elemen)o(ts.)16 b(The)11 b(argumen)o(t)d +Fv(alter-fn)h Fw(is)h(a)f(function.)17 b(The)10 b(remaining)d(argumen)o +(ts)0 2225 y(are)21 b(all)e(series.)39 b(Let)21 b(these)h(series)g(b)q +(e)f Fv(S1)p Fw(,)g Fh(:)7 b(:)g(:)e Fw(,)20 b Fv(Sn)p +Fw(.)39 b(If)20 b(there)i(are)f Fv(n)i Fw(argumen)o(ts)0 +2277 y(after)c Fv(alter-fn)p Fw(,)g Fv(alter-fn)f Fw(m)o(ust)g(accept)i +Fv(n)c Fw(+)d(1)19 b(inputs.)33 b(If)19 b Fs(\(alter)h +Fv(A)h(B)p Fs(\))e Fw(is)g(later)0 2329 y(encoun)o(tered,)d(the)f +(expression)h Fs(\(map-fn)k(t)h Fv(alter)p Fs(-)p Fv(fn)f(B)h(S1)h +Fs(...)f Fv(Sn)p Fs(\))15 b Fw(is)f(implicitly)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1022 1046 +1022 1045 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1022)78 b(COMMON)12 +b(LISP)0 295 y Fw(ev)n(aluated.)22 b(F)m(or)15 b(eac)o(h)h(elemen)o(t)f +(in)g Fv(B)p Fw(,)g Fv(alter-fn)g Fw(should)g(mak)o(e)f(appropriate)h +(c)o(hanges)0 347 y(in)e(the)i(data)e(structure)k(underlying)c +Fv(A)p Fw(.)42 401 y(As)k(an)g(example,)f(consider)i(the)f(follo)o +(wing)e(de\014nition)h(of)h(a)g(series)h(function)f(that)0 +453 y(scans)d(the)f(elemen)o(ts)g(of)g(a)f(list.)17 b(Alteration)c(is)g +(p)q(erformed)g(b)o(y)f(c)o(hanging)g(cons)i(cells)f(in)0 +505 y(the)h(list)g(b)q(eing)g(scanned.)0 613 y Fs(\(defun)20 +b(scan-list)f(\(list\))42 665 y(\(declare)h(\(optimizable-seri)o(es-fu) +o(ncti)o(on\)\))42 717 y(\(let)h(\(\(sublists)e(\(scan-sublists)f +(list\)\)\))85 769 y(\(to-alter)h(\(#)324 765 y(-)324 +773 y(-)346 769 y(Mcar)h(sublists\))296 821 y(#)296 817 +y(-)296 825 y(-)n Fn(')339 821 y Fs(\(lambda)g(\(new)g(parent\))g +(\(setf)g(\(car)h(parent\))e(new\)\))296 873 y(sublists\)\)\))0 +1119 y Fo(A.3.)i(Optimization)0 1234 y Fw(Series)d(expressions)g(are)f +(transformed)f(in)o(to)f(lo)q(ops)i(b)o(y)f(pip)q(elining)f(them|the)h +(com-)0 1286 y(putation)d(is)h(con)o(v)o(erted)g(from)e(a)i(form)d +(where)k(en)o(tire)f(series)h(are)g(computed)e(one)g(after)0 +1338 y(the)j(other)g(to)f(a)g(form)e(where)j(the)g(series)h(are)e +(incremen)o(tally)f(computed)h(in)f(parallel.)0 1390 +y(In)k(the)g(resulting)f(lo)q(op,)h(eac)o(h)g(individual)d(elemen)o(t)i +(is)h(computed)f(just)h(once,)g(used,)0 1442 y(and)c(then)i(discarded)f +(b)q(efore)g(the)g(next)g(elemen)o(t)f(is)h(computed.)k(F)m(or)14 +b(this)h(pip)q(elining)0 1494 y(to)k(b)q(e)g(p)q(ossible,)h(a)f(n)o(um) +o(b)q(er)f(of)g(restrictions)i(ha)o(v)o(e)f(to)f(b)q(e)i(satis\014ed.) +33 b(Before)20 b(these)0 1546 y(restrictions)15 b(are)f(explained,)g +(it)f(will)g(b)q(e)h(useful)g(to)g(consider)h(a)e(related)i(issue.)42 +1600 y(The)d(comp)q(osition)f(of)g(t)o(w)o(o)h(series)i(functions)e +(cannot)h(b)q(e)g(pip)q(elined)f(unless)h(the)g(des-)0 +1652 y(tination)g(function)h(consumes)g(series)h(elemen)o(ts)f(in)g +(the)h(same)e(order)i(that)f(the)g(source)0 1704 y(function)g(pro)q +(duces)j(them.)i(T)m(ak)o(en)14 b(together,)i(the)f(series)h(functions) +f(guaran)o(tee)g(that)0 1756 y(this)f(will)e(alw)o(a)o(ys)g(b)q(e)i +(true,)g(b)q(ecause)i(they)e(all)e(follo)o(w)f(the)k(same)d(\014xed)i +(pro)q(cessing)h(or-)0 1808 y(der.)k(In)13 b(particular,)f(they)i(are)f +(all)f Fv(pr)n(e)n(or)n(der)17 b Fw(functions|they)c(pro)q(cess)i(the)f +(elemen)o(ts)0 1859 y(of)i(their)i(series)g(inputs)f(and)g(outputs)h +(in)e(ascending)i(order)g(starting)f(with)f(the)i(\014rst)0 +1911 y(elemen)o(t.)f(F)m(urther,)c(while)g(it)f(is)h(easy)g(for)f +(users)i(to)f(de\014ne)h(new)f(series)h(functions,)f(it)f(is)0 +1963 y(imp)q(ossible)g(to)i(de\014ne)h(one)f(that)g(is)g(not)f(a)h +(preorder)h(function.)42 2017 y(It)j(turns)i(out)f(that)g(most)e +(series)j(op)q(erations)f(can)g(easily)g(b)q(e)g(implemen)o(ted)e(in)h +(a)0 2069 y(preorder)e(fashion,)d(the)i(most)e(notable)h(exceptions)h +(b)q(eing)f(rev)o(ersal)h(and)f(sorting.)19 b(As)0 2121 +y(a)12 b(result,)h(little)f(is)h(lost)f(b)o(y)h(outla)o(wing)e +(non-preorder)i(series)h(functions.)k(If)12 b(some)g(non-)0 +2173 y(preorder)g(op)q(eration)e(has)h(to)f(b)q(e)h(applied)f(to)g(a)g +(series,)i(the)f(series)h(can)e(b)q(e)h(collected)g(in)o(to)0 +2225 y(a)i(list)f(or)h(v)o(ector)h(and)f(the)g(op)q(eration)g(applied)f +(to)h(this)g(new)g(data)g(structure.)20 b(\(This)13 b(is)0 +2277 y(ine\016cien)o(t,)j(but)f(no)h(less)g(e\016cien)o(t)g(than)g +(what)f(w)o(ould)g(b)q(e)h(required)h(if)e(non-preorder)0 +2329 y(series)g(functions)f(w)o(ere)h(supp)q(orted.\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1023 1047 +1023 1046 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SERIES)1194 b(1023)0 +295 y Fo(A.3.1.)20 b(Basic)15 b(Restrictions)0 381 y +Fw(The)10 b(transformation)e(of)h(series)j(expressions)f(in)o(to)e(lo)q +(ops)h(is)f(required)i(to)f(o)q(ccur)h(at)f(some)0 433 +y(time)j(b)q(efore)j(compiled)d(co)q(de)j(is)e(actually)g(run.)21 +b(Optimization)12 b(ma)o(y)h(or)i(ma)o(y)d(not)j(b)q(e)0 +485 y(applied)j(to)h(in)o(terpreted)h(co)q(de.)33 b(If)19 +b(an)o(y)f(of)g(the)h(restrictions)h(describ)q(ed)h(b)q(elo)o(w)d(are)0 +537 y(violated,)12 b(optimization)f(is)j(not)f(p)q(ossible.)18 +b(In)c(this)g(situation,)e(a)i(w)o(arning)f(message)g(is)0 +589 y(issued)f(at)g(the)g(time)f(optimization)d(is)k(attempted)f(and)h +(the)g(co)q(de)h(is)e(left)h(unoptimized.)0 640 y(This)j(is)g(not)g(a)g +(fatal)f(error)i(and)f(do)q(es)h(not)f(prev)o(en)o(t)h(the)f(correct)i +(results)f(from)e(b)q(eing)0 692 y(computed.)j(Ho)o(w)o(ev)o(er,)d(giv) +o(en)f(the)i(large)e(impro)o(v)o(emen)o(ts)e(in)i(e\016ciency)i(to)e(b) +q(e)i(gained,)0 744 y(it)f(is)f(w)o(ell)g(w)o(orth)h(\014xing)f(an)o(y) +h(violations)e(that)i(o)q(ccur.)19 b(This)14 b(is)g(usually)f(easy)h +(to)g(do.)1219 875 y([)p Fv(V)m(ariable)s Fw(])-1396 +b Fs(*suppress-series-)o(warni)o(ngs*)0 952 y Fw(If)10 +b(this)g(v)n(ariable)e(is)i(set)h(\(or)f(b)q(ound\))g(to)g(an)o(ything) +f(other)i(than)f(its)g(default)f(v)n(alue)h(of)f Fs(nil)p +Fw(,)0 1004 y(w)o(arnings)17 b(ab)q(out)g(conditions)f(that)h(blo)q(c)o +(k)g(the)h(optimization)c(of)j(series)h(expressions)0 +1056 y(are)c(suppressed.)42 1135 y(Before)h(the)g(restrictions)h(on)f +(series)h(expressions)g(are)f(discussed,)h(it)e(will)f(b)q(e)j(useful)0 +1187 y(to)h(de\014ne)h(precisely)g(what)e(is)h(mean)o(t)f(b)o(y)g(the)i +(term)e Fv(series)h(expr)n(ession)p Fw(.)28 b(This)16 +b(term)0 1239 y(is)i(seman)o(tic)g(rather)h(than)g(syn)o(tactic)g(in)f +(nature.)32 b(Imagine)17 b(a)h(program)f(con)o(v)o(erted)0 +1291 y(from)e(Lisp)h(co)q(de)i(in)o(to)e(a)g(data)h(\015o)o(w)f(graph.) +26 b(In)17 b(a)f(data)h(\015o)o(w)f(graph,)h(functions)f(are)0 +1343 y(represen)o(ted)h(as)d(b)q(o)o(xes,)h(and)e(b)q(oth)i(con)o(trol) +f(\015o)o(w)f(and)h(data)g(\015o)o(w)g(are)h(represen)o(ted)i(as)0 +1395 y(arro)o(ws)g(b)q(et)o(w)o(een)h(the)g(b)q(o)o(xes.)28 +b(Constructs)18 b(suc)o(h)g(as)f Fs(let)f Fw(and)h Fs(setq)f +Fw(are)i(con)o(v)o(erted)0 1446 y(in)o(to)d(patterns)i(of)e(data)g +(\015o)o(w)h(arcs.)24 b(Con)o(trol)15 b(constructs)j(suc)o(h)e(as)g +Fs(if)f Fw(and)g Fs(loop)g Fw(are)0 1498 y(con)o(v)o(erted)j(in)o(to)e +(patterns)i(of)f(con)o(trol)f(\015o)o(w)h(arcs.)28 b(Supp)q(ose)18 +b(further)f(that)g(all)f(lo)q(ops)0 1550 y(ha)o(v)o(e)e(b)q(een)h(con)o +(v)o(erted)g(in)o(to)e(tail)g(recursions)i(so)f(that)g(the)h(graph)e +(is)h(acyclic.)42 1602 y(A)e(series)i(expression)g(is)f(a)f(subgraph)h +(of)f(the)h(data)f(\015o)o(w)h(graph)f(for)g(a)h(program)e(that)0 +1654 y(con)o(tains)19 b(a)g(group)f(of)h(in)o(teracting)g(series)h +(functions.)34 b(More)19 b(sp)q(eci\014cally)m(,)h(giv)o(en)e(a)0 +1706 y(call)d Fv(f)g Fw(on)g(a)h(series)h(function,)e(the)h(series)h +(expression)g Fv(E)f Fw(con)o(taining)e(it)h(is)h(de\014ned)h(as)0 +1758 y(follo)o(ws.)k Fv(E)15 b Fw(con)o(tains)g Fv(f)p +Fw(.)22 b(Ev)o(ery)16 b(function)f(using)g(a)g(series)h(created)h(b)o +(y)e(a)g(function)g(in)0 1810 y Fv(E)f Fw(is)g(in)g Fv(E)p +Fw(.)g(Ev)o(ery)h(function)f(computing)e(a)i(series)i(used)f(b)o(y)f(a) +g(function)g(in)g Fv(E)g Fw(is)g(in)g Fv(E)p Fw(.)0 1862 +y(Finally)m(,)d(supp)q(ose)k(that)f(t)o(w)o(o)g(functions)g +Fv(g)g Fw(and)f Fv(h)h Fw(are)h(in)e Fv(E)h Fw(and)g(that)g(there)h(is) +e(a)h(data)0 1914 y(\015o)o(w)j(path)h(consisting)g(of)f(series)i +(and/or)e(non-series)i(data)e(\015o)o(w)g(arcs)i(from)d +Fv(g)h Fw(to)h Fv(h)p Fw(.)0 1965 y(Ev)o(ery)c(function)g(touc)o(hed)h +(b)o(y)e(this)h(path)g(\(b)q(e)h(it)e(a)h(series)h(function)f(or)g +(not\))g(is)f(in)h Fv(E)p Fw(.)42 2017 y Fz(F)l(or)23 +b(optimizati)o(on)e(to)i(b)q(e)g(p)q(ossible,)h(series)e(expressions)f +(ha)o(v)o(e)i(to)g(b)q(e)0 2069 y(statically)15 b(analyzable)p +Fw(.)k(As)c(with)g(most)f(other)h(optimization)d(pro)q(cesses,)18 +b(a)c(series)0 2121 y(expression)j(cannot)f(b)q(e)h(transformed)e(in)o +(to)g(a)h(lo)q(op)f(at)g(compile)g(time,)f(unless)j(it)f(can)0 +2173 y(b)q(e)d(determined)f(at)h(compile)d(time)h(exactly)i(what)f +(computation)f(is)h(b)q(eing)h(p)q(erformed.)0 2225 y(This)i(places)g +(a)f(n)o(um)o(b)q(er)g(of)g(relativ)o(ely)g(minor)f(limits)f(on)j(what) +f(can)h(b)q(e)g(written.)21 b(F)m(or)0 2277 y(example,)14 +b(for)g(optimization)f(to)i(b)q(e)g(p)q(ossible)h(the)f(t)o(yp)q(e)h +(argumen)o(ts)e(to)h(higher-order)0 2329 y(functions)i(suc)o(h)g(as)g +Fs(map-fn)e Fw(and)h Fs(collecting-fn)e Fw(ha)o(v)o(e)j(to)f(b)q(e)h +(quoted)g(constan)o(ts.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1024 1048 +1024 1047 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1024)78 b(COMMON)12 +b(LISP)0 295 y Fw(Similarly)l(,)e(the)j(n)o(umeric)f(argumen)o(ts)g(to) +h Fs(chunk)e Fw(ha)o(v)o(e)i(to)g(b)q(e)g(constan)o(ts.)19 +b(In)12 b(addition,)0 347 y(if)k Fs(funcall)f Fw(is)h(used)i(to)e(call) +g(a)g(series)i(function,)e(the)i(function)e(called)g(has)h(to)f(b)q(e)h +(of)0 399 y(the)d(form)f Fs(\(function)19 b(...\))p Fw(.)42 +451 y Fz(F)l(or)k(optimizati)o(on)e(to)i(b)q(e)g(p)q(ossible,)h(ev)o +(ery)f(series)f(created)h(within)f(a)0 503 y(series)11 +b(expression)f(m)o(ust)h(b)q(e)i(used)e(solely)g(inside)f(the)h +(expression)p Fw(.)k(If)c(a)f(series)0 555 y(is)i(transmitted)g +(outside)h(of)f(the)h(expression)g(that)g(creates)h(it,)e(it)g(has)h +(to)f(b)q(e)h(ph)o(ysically)0 607 y(represen)o(ted)f(as)d(a)g(whole.)17 +b(This)9 b(is)g(incompatible)e(with)i(the)h(transformations)e(required) +0 659 y(to)i(pip)q(eline)f(the)i(creating)f(expression.)18 +b(T)m(o)9 b(a)o(v)o(oid)g(this)h(problem,)f(a)g(series)i(m)o(ust)e(not) +h(b)q(e)0 711 y(returned)h(as)f(a)f(result)h(of)f(a)g(series)i +(expression)g(as)e(a)g(whole,)h(assigned)g(to)f(a)g(free)h(v)n +(ariable,)0 763 y(assigned)17 b(to)g(a)f(sp)q(ecial)h(v)n(ariable,)f +(or)h(stored)h(in)e(a)h(data)f(structure.)29 b(A)17 b(corollary)f(of)0 +814 y(the)h(last)g(p)q(oin)o(t)f(is)g(that)h(when)g(de\014ning)g(new)g +(optimizable)d(series)k(functions,)f(series)0 866 y(cannot)f(b)q(e)h +(passed)g(in)o(to)e Fs(&rest)g Fw(argumen)o(ts.)23 b(F)m(urther,)17 +b(optimization)c(is)j(blo)q(c)o(k)o(ed)g(if)0 918 y(a)e(series)h(is)e +(passed)i(as)f(an)g(argumen)o(t)e(to)i(an)g(ordinary)f(Lisp)h +(function.)j(Series)e(can)f(b)q(e)0 970 y(passed)h(only)e(to)h(the)h +(series)g(functions)f(in)g(section)h(A.2)e(and)h(to)g(new)g(series)i +(functions)0 1022 y(de\014ned)f(using)f(the)g(declaration)g +Fs(optimizable-seri)o(es-fu)o(nctio)o(n)p Fw(.)42 1075 +y Fz(F)l(or)21 b(optimization)d(to)k(b)q(e)f(p)q(ossible,)g(series)g +(expressions)e(m)o(ust)i(corre-)0 1127 y(sp)q(ond)13 +b(to)h(straigh)o(t-l)o(i)o(ne)d(computations)p Fw(.)j(That)f(is)f(to)h +(sa)o(y)m(,)e(the)j(data)e(\015o)o(w)g(graph)0 1178 y(corresp)q(onding) +h(to)f(a)h(series)g(expression)h(cannot)e(con)o(tain)g(an)o(y)g +(conditional)f(branc)o(hes.)0 1230 y(\(Complex)h(con)o(trol)i(\015o)o +(w)f(is)h(incompatible)e(with)h(pip)q(elining.\))k(Optimization)12 +b(is)i(p)q(os-)0 1282 y(sible)g(in)g(the)h(presence)h(of)e(standard)h +(straigh)o(t-line)e(forms)g(suc)o(h)i(as)f Fs(progn)p +Fw(,)f Fs(funcall)p Fw(,)0 1334 y Fs(setq)p Fw(,)h Fs(lambda)p +Fw(,)g Fs(let)p Fw(,)h Fs(let*)p Fw(,)g(and)g Fs(multiple-value-b)o +(ind)d Fw(as)k(long)e(as)i(none)f(of)g(the)0 1386 y(v)n(ariables)e(b)q +(ound)h(are)g(sp)q(ecial.)k(There)c(is)g(also)f(no)g(problem)f(with)i +(macros)e(as)i(long)f(as)0 1438 y(they)g(expand)g(in)o(to)f(series)i +(functions)f(and)f(straigh)o(t-line)g(forms.)k(Ho)o(w)o(ev)o(er,)d +(optimiza-)0 1490 y(tion)i(is)g(blo)q(c)o(k)o(ed)h(b)o(y)f(forms)f +(that)i(sp)q(ecify)g(complex)e(con)o(trol)h(\015o)o(w)g(\(i.e.,)g +(conditionals)0 1542 y Fs(if)p Fw(,)21 b Fs(cond)p Fw(,)g(etc.,)i(lo)q +(oping)c(constructs)k Fs(loop)p Fw(,)e Fs(do)p Fw(,)g(etc.,)i(or)d +(branc)o(hing)h(constructs)0 1594 y Fs(tagbody)p Fw(,)12 +b Fs(go)p Fw(,)h Fs(catch)p Fw(,)f(etc.\).)42 1646 y(In)h(the)i +(\014rst)f(example)f(b)q(elo)o(w,)g(optimization)e(is)i(blo)q(c)o(k)o +(ed,)h(b)q(ecause)h(the)g Fs(if)e Fw(form)f(is)0 1698 +y(inside)i(the)h(series)h(expression.)21 b(In)14 b(the)h(second)g +(example,)e(ho)o(w)o(ev)o(er,)h(optimization)e(is)0 1750 +y(p)q(ossible,)h(b)q(ecause)h(although)e(the)h Fs(if)g +Fw(feeds)h(data)e(to)h(the)g(series)h(expression,)g(it)e(is)h(not)0 +1802 y(inside)18 b(the)g(corresp)q(onding)h(subgraph.)29 +b(Both)18 b(of)g(the)g(expressions)h(b)q(elo)o(w)f(pro)q(duce)0 +1854 y(the)c(same)f(v)n(alue,)g(but)h(the)h(second)g(one)f(is)g(m)o(uc) +o(h)e(more)h(e\016cien)o(t.)0 1947 y Fs(\(collect)20 +b(\(if)g(flag)g(\(scan)h(x\))f(\(scan)g(y\)\)\))42 b(;)p +Fw(W)m(arning)12 b(message)i(issued)0 1999 y Fs(\(collect)20 +b(\(scan)g(\(if)g(flag)h(x)g(y\)\)\))0 2181 y Fo(A.3.2.)f(Constrain)n +(t)c(Cycles)0 2277 y Fw(Ev)o(en)h(if)f(a)g(series)i(expression)f +(satis\014es)h(all)d(of)h(the)h(restrictions)h(ab)q(o)o(v)o(e,)e(it)g +(still)g(ma)o(y)0 2329 y(not)f(b)q(e)i(p)q(ossible)e(to)h(transform)e +(the)i(expression)h(in)o(to)e(a)g(lo)q(op.)22 b(The)16 +b(sole)g(remaining)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1025 1049 +1025 1048 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SERIES)1194 b(1025)p +0 255 1395 2 v 0 344 a Fm(Figure)14 b(A-1:)k FA(A)12 +b(Constrain)o(t)i(Cycle)g(in)g(a)f(Series)h(Expression)0 +650 y @beginspecial @setspecial +%%BeginDocument: series-plot.ps + +50 dict begin + +/arrowHeight 8 def +/arrowWidth 4 def +/none null def +/numGraphicParameters 17 def +/stringLimit 65535 def + +/Begin { +save +numGraphicParameters dict begin +} def + +/End { +end +restore +} def + +/SetB { +dup type /nulltype eq { +pop +false /brushRightArrow idef +false /brushLeftArrow idef +true /brushNone idef +} { +/brushDashOffset idef +/brushDashArray idef +0 ne /brushRightArrow idef +0 ne /brushLeftArrow idef +/brushWidth idef +false /brushNone idef +} ifelse +} def + +/SetCFg { +/fgblue idef +/fggreen idef +/fgred idef +} def + +/SetCBg { +/bgblue idef +/bggreen idef +/bgred idef +} def + +/SetF { +/printSize idef +/printFont idef +} def + +/SetP { +dup type /nulltype eq { +pop true /patternNone idef +} { +/patternGrayLevel idef +patternGrayLevel -1 eq { +/patternString idef +} if +false /patternNone idef +} ifelse +} def + +/BSpl { +0 begin +storexyn +newpath +n 1 gt { +0 0 0 0 0 0 1 1 true subspline +n 2 gt { +0 0 0 0 1 1 2 2 false subspline +1 1 n 3 sub { +/i exch def +i 1 sub dup i dup i 1 add dup i 2 add dup false subspline +} for +n 3 sub dup n 2 sub dup n 1 sub dup 2 copy false subspline +} if +n 2 sub dup n 1 sub dup 2 copy 2 copy false subspline +patternNone not brushLeftArrow not brushRightArrow not and and { ifill } if +brushNone not { istroke } if +0 0 1 1 leftarrow +n 2 sub dup n 1 sub dup rightarrow +} if +end +} dup 0 4 dict put def + +/Circ { +newpath +0 360 arc +patternNone not { ifill } if +brushNone not { istroke } if +} def + +/CBSpl { +0 begin +dup 2 gt { +storexyn +newpath +n 1 sub dup 0 0 1 1 2 2 true subspline +1 1 n 3 sub { +/i exch def +i 1 sub dup i dup i 1 add dup i 2 add dup false subspline +} for +n 3 sub dup n 2 sub dup n 1 sub dup 0 0 false subspline +n 2 sub dup n 1 sub dup 0 0 1 1 false subspline +patternNone not { ifill } if +brushNone not { istroke } if +} { +Poly +} ifelse +end +} dup 0 4 dict put def + +/Elli { +0 begin +newpath +4 2 roll +translate +scale +0 0 1 0 360 arc +patternNone not { ifill } if +brushNone not { istroke } if +end +} dup 0 1 dict put def + +/Line { +0 begin +2 storexyn +newpath +x 0 get y 0 get moveto +x 1 get y 1 get lineto +brushNone not { istroke } if +0 0 1 1 leftarrow +0 0 1 1 rightarrow +end +} dup 0 4 dict put def + +/MLine { +0 begin +storexyn +newpath +n 1 gt { +x 0 get y 0 get moveto +1 1 n 1 sub { +/i exch def +x i get y i get lineto +} for +patternNone not brushLeftArrow not brushRightArrow not and and { ifill } if +brushNone not { istroke } if +0 0 1 1 leftarrow +n 2 sub dup n 1 sub dup rightarrow +} if +end +} dup 0 4 dict put def + +/Poly { +3 1 roll +newpath +moveto +-1 add +{ lineto } repeat +closepath +patternNone not { ifill } if +brushNone not { istroke } if +} def + +/Rect { +0 begin +/t exch def +/r exch def +/b exch def +/l exch def +newpath +l b moveto +l t lineto +r t lineto +r b lineto +closepath +patternNone not { ifill } if +brushNone not { istroke } if +end +} dup 0 4 dict put def + +/Text { +ishow +} def + +/idef { +dup where { pop pop pop } { exch def } ifelse +} def + +/ifill { +0 begin +gsave +patternGrayLevel -1 ne { +fgred bgred fgred sub patternGrayLevel mul add +fggreen bggreen fggreen sub patternGrayLevel mul add +fgblue bgblue fgblue sub patternGrayLevel mul add setrgbcolor +eofill +} { +eoclip +originalCTM setmatrix +pathbbox /t exch def /r exch def /b exch def /l exch def +/w r l sub ceiling cvi def +/h t b sub ceiling cvi def +/imageByteWidth w 8 div ceiling cvi def +/imageHeight h def +bgred bggreen bgblue setrgbcolor +eofill +fgred fggreen fgblue setrgbcolor +w 0 gt h 0 gt and { +l b translate w h scale +w h true [w 0 0 h neg 0 h] { patternproc } imagemask +} if +} ifelse +grestore +end +} dup 0 8 dict put def + +/istroke { +gsave +brushDashOffset -1 eq { +[] 0 setdash +1 setgray +} { +brushDashArray brushDashOffset setdash +fgred fggreen fgblue setrgbcolor +} ifelse +brushWidth setlinewidth +originalCTM setmatrix +stroke +grestore +} def + +/ishow { +0 begin +gsave +fgred fggreen fgblue setrgbcolor +/fontDict printFont findfont printSize scalefont dup setfont def +/descender fontDict begin 0 [FontBBox] 1 get FontMatrix end +transform exch pop def +/vertoffset 0 descender sub printSize sub printFont /Courier ne +printFont /Courier-Bold ne and { 1 add } if def { +0 vertoffset moveto show +/vertoffset vertoffset printSize sub def +} forall +grestore +end +} dup 0 3 dict put def + +/patternproc { +0 begin +/patternByteLength patternString length def +/patternHeight patternByteLength 8 mul sqrt cvi def +/patternWidth patternHeight def +/patternByteWidth patternWidth 8 idiv def +/imageByteMaxLength imageByteWidth imageHeight mul +stringLimit patternByteWidth sub min def +/imageMaxHeight imageByteMaxLength imageByteWidth idiv patternHeight idiv +patternHeight mul patternHeight max def +/imageHeight imageHeight imageMaxHeight sub store +/imageString imageByteWidth imageMaxHeight mul patternByteWidth add string def +0 1 imageMaxHeight 1 sub { +/y exch def +/patternRow y patternByteWidth mul patternByteLength mod def +/patternRowString patternString patternRow patternByteWidth getinterval def +/imageRow y imageByteWidth mul def +0 patternByteWidth imageByteWidth 1 sub { +/x exch def +imageString imageRow x add patternRowString putinterval +} for +} for +imageString +end +} dup 0 12 dict put def + +/min { +dup 3 2 roll dup 4 3 roll lt { exch } if pop +} def + +/max { +dup 3 2 roll dup 4 3 roll gt { exch } if pop +} def + +/arrowhead { +0 begin +transform originalCTM itransform +/taily exch def +/tailx exch def +transform originalCTM itransform +/tipy exch def +/tipx exch def +/dy tipy taily sub def +/dx tipx tailx sub def +/angle dx 0 ne dy 0 ne or { dy dx atan } { 90 } ifelse def +gsave +originalCTM setmatrix +tipx tipy translate +angle rotate +newpath +0 0 moveto +arrowHeight neg arrowWidth 2 div lineto +arrowHeight neg arrowWidth 2 div neg lineto +closepath +patternNone not { +originalCTM setmatrix +/padtip arrowHeight 2 exp 0.25 arrowWidth 2 exp mul add sqrt brushWidth mul +arrowWidth div def +/padtail brushWidth 2 div def +tipx tipy translate +angle rotate +padtip 0 translate +arrowHeight padtip add padtail add arrowHeight div dup scale +arrowheadpath +ifill +} if +brushNone not { +originalCTM setmatrix +tipx tipy translate +angle rotate +arrowheadpath +istroke +} if +grestore +end +} dup 0 9 dict put def + +/arrowheadpath { +newpath +0 0 moveto +arrowHeight neg arrowWidth 2 div lineto +arrowHeight neg arrowWidth 2 div neg lineto +closepath +} def + +/leftarrow { +0 begin +y exch get /taily exch def +x exch get /tailx exch def +y exch get /tipy exch def +x exch get /tipx exch def +brushLeftArrow { tipx tipy tailx taily arrowhead } if +end +} dup 0 4 dict put def + +/rightarrow { +0 begin +y exch get /tipy exch def +x exch get /tipx exch def +y exch get /taily exch def +x exch get /tailx exch def +brushRightArrow { tipx tipy tailx taily arrowhead } if +end +} dup 0 4 dict put def + +/midpoint { +0 begin +/y1 exch def +/x1 exch def +/y0 exch def +/x0 exch def +x0 x1 add 2 div +y0 y1 add 2 div +end +} dup 0 4 dict put def + +/thirdpoint { +0 begin +/y1 exch def +/x1 exch def +/y0 exch def +/x0 exch def +x0 2 mul x1 add 3 div +y0 2 mul y1 add 3 div +end +} dup 0 4 dict put def + +/subspline { +0 begin +/movetoNeeded exch def +y exch get /y3 exch def +x exch get /x3 exch def +y exch get /y2 exch def +x exch get /x2 exch def +y exch get /y1 exch def +x exch get /x1 exch def +y exch get /y0 exch def +x exch get /x0 exch def +x1 y1 x2 y2 thirdpoint +/p1y exch def +/p1x exch def +x2 y2 x1 y1 thirdpoint +/p2y exch def +/p2x exch def +x1 y1 x0 y0 thirdpoint +p1x p1y midpoint +/p0y exch def +/p0x exch def +x2 y2 x3 y3 thirdpoint +p2x p2y midpoint +/p3y exch def +/p3x exch def +movetoNeeded { p0x p0y moveto } if +p1x p1y p2x p2y p3x p3y curveto +end +} dup 0 17 dict put def + +/storexyn { +/n exch def +/y n array def +/x n array def +n 1 sub -1 0 { +/i exch def +y i 3 2 roll put +x i 3 2 roll put +} for +} def + + +%I Idraw 7 Grid 6.424 + + +Begin +%I b u +%I cfg u +%I cbg u +%I f u +%I p u +%I t +[ 0.8 0 0 0.8 0 0 ] concat +/originalCTM matrix currentmatrix def + +Begin %I Pict +%I b u +%I cfg u +%I cbg u +%I f u +%I p u +%I t u + +Begin %I Text +%I cfg Black +0 0 0 SetCFg +%I f *-helvetica-medium-r-*-120-* +/Helvetica 12 SetF +%I t +[ 0.9 0 0 0.9 185.25 696.7 ] concat +%I +[ +(scan) +] Text +End + +Begin %I Rect +%I b 65535 +1 0 0 [] 0 SetB +%I cfg Black +0 0 0 SetCFg +%I cbg White +1 1 1 SetCBg +none SetP %I p n +%I t +[ 0.9 0 0 0.9 132.6 262 ] concat +%I +49 455 97 503 Rect +End + +Begin %I Text +%I cfg Black +0 0 0 SetCFg +%I f *-helvetica-medium-r-*-120-* +/Helvetica 12 SetF +%I t +[ 0.9 0 0 0.9 519.6 696.7 ] concat +%I +[ +(max) +] Text +End + +Begin %I Rect +%I b 65535 +1 0 0 [] 0 SetB +%I cfg Black +0 0 0 SetCFg +%I cbg White +1 1 1 SetCBg +none SetP %I p n +%I t +[ 0.9 0 0 0.9 465.6 262 ] concat +%I +49 455 97 503 Rect +End + +Begin %I Text +%I cfg Black +0 0 0 SetCFg +%I f *-helvetica-medium-r-*-120-* +/Helvetica 12 SetF +%I t +[ 0.9 0 0 0.9 437.7 696.7 ] concat +%I +[ +(#M/) +] Text +End + +Begin %I Rect +%I b 65535 +1 0 0 [] 0 SetB +%I cfg Black +0 0 0 SetCFg +%I cbg White +1 1 1 SetCBg +none SetP %I p n +%I t +[ 0.9 0 0 0.9 382.8 262 ] concat +%I +49 455 97 503 Rect +End + +Begin %I Text +%I cfg Black +0 0 0 SetCFg +%I f *-helvetica-medium-r-*-120-* +/Helvetica 12 SetF +%I t +[ 0.9 0 0 0.9 272.1 680.5 ] concat +%I +[ +(sum) +] Text +End + +Begin %I Rect +%I b 65535 +1 0 0 [] 0 SetB +%I cfg Black +0 0 0 SetCFg +%I cbg White +1 1 1 SetCBg +none SetP %I p n +%I t +[ 0.9 0 0 0.9 217.2 245.8 ] concat +%I +49 455 97 503 Rect +End + +Begin %I Text +%I cfg Black +0 0 0 SetCFg +%I f *-helvetica-medium-r-*-120-* +/Helvetica 12 SetF +%I t +[ 0.9 0 0 0.9 349.95 680.5 ] concat +%I +[ +(series) +] Text +End + +Begin %I Rect +%I b 65535 +1 0 0 [] 0 SetB +%I cfg Black +0 0 0 SetCFg +%I cbg White +1 1 1 SetCBg +none SetP %I p n +%I t +[ 0.9 0 0 0.9 300 245.8 ] concat +%I +49 455 97 503 Rect +End + +Begin %I Line +%I b 65535 +1 0 1 [] 0 SetB +%I cfg Black +0 0 0 SetCFg +%I cbg White +1 1 1 SetCBg +%I p +0 SetP +%I t +[ 0.9 0 0 0.9 156.9 245.8 ] concat +%I +440 497 458 497 Line +End + +Begin %I Line +%I b 65535 +1 0 1 [] 0 SetB +%I cfg Black +0 0 0 SetCFg +%I cbg White +1 1 1 SetCBg +%I p +0 SetP +%I t +[ 0.9 0 0 0.9 160.5 245.8 ] concat +%I +344 497 384 497 Line +End + +Begin %I Line +%I b 65535 +1 0 1 [] 0 SetB +%I cfg Black +0 0 0 SetCFg +%I cbg White +1 1 1 SetCBg +%I p +0 SetP +%I t +[ 0.9 0 0 0.9 164.1 245.8 ] concat +%I +248 479 288 479 Line +End + +Begin %I Line +%I b 65535 +1 0 1 [] 0 SetB +%I cfg Black +0 0 0 SetCFg +%I cbg White +1 1 1 SetCBg +%I p +0 SetP +%I t +[ 0.9 0 0 0.9 167.7 245.8 ] concat +%I +152 479 192 479 Line +End + +Begin %I Line +%I b 65535 +1 0 1 [] 0 SetB +%I cfg Black +0 0 0 SetCFg +%I cbg White +1 1 1 SetCBg +%I p +0 SetP +%I t +[ 0.9 0 0 0.9 169.5 251.2 ] concat +%I +79 473 98 473 Line +End + +Begin %I Line +%I b 65535 +1 0 1 [] 0 SetB +%I cfg Black +0 0 0 SetCFg +%I cbg White +1 1 1 SetCBg +%I p +0 SetP +%I t +[ 0.9 0 0 0.9 169.5 245.8 ] concat +%I +79 515 282 515 Line +End + +Begin %I Line +%I b 65535 +1 0 0 [] 0 SetB +%I cfg Black +0 0 0 SetCFg +%I cbg White +1 1 1 SetCBg +%I p +0 SetP +%I t +[ 0.9 0 0 0.9 169.5 245.8 ] concat +%I +79 515 67 497 Line +End + +Begin %I Line +%I b 65535 +1 0 0 [] 0 SetB +%I cfg Black +0 0 0 SetCFg +%I cbg White +1 1 1 SetCBg +%I p +0 SetP +%I t +[ 0.9 0 0 0.9 169.5 245.8 ] concat +%I +67 497 79 479 Line +End + +Begin %I Line +%I b 65535 +1 0 0 [] 0 SetB +%I cfg Black +0 0 0 SetCFg +%I cbg White +1 1 1 SetCBg +%I p +0 SetP +%I t +[ 0.9 0 0 0.9 169.5 245.8 ] concat +%I +56 497 67 497 Line +End + +Begin %I Line +%I b 65535 +1 0 1 [] 0 SetB +%I cfg Black +0 0 0 SetCFg +%I cbg White +1 1 1 SetCBg +%I p +0 SetP +%I t +[ 0.9 0 0 0.9 117.3 310.6 ] concat +%I +44 425 62 425 Line +End + +Begin %I Line +%I b 65535 +1 0 0 [] 0 SetB +%I cfg Black +0 0 0 SetCFg +%I cbg White +1 1 1 SetCBg +%I p +0 SetP +%I t +[ 1 0 0 1 117 276 ] concat +%I +194 405 194 397 Line +End + +Begin %I Line +%I b 65535 +1 0 0 [] 0 SetB +%I cfg Black +0 0 0 SetCFg +%I cbg White +1 1 1 SetCBg +%I p +0 SetP +%I t +[ 1 0 0 1 121 276 ] concat +%I +194 405 194 397 Line +End + +Begin %I Line +%I b 65535 +1 0 0 [] 0 SetB +%I cfg Black +0 0 0 SetCFg +%I cbg White +1 1 1 SetCBg +%I p +0 SetP +%I t +[ 1 0 0 1 125 276 ] concat +%I +194 405 194 397 Line +End + +Begin %I Line +%I b 65535 +1 0 0 [] 0 SetB +%I cfg Black +0 0 0 SetCFg +%I cbg White +1 1 1 SetCBg +%I p +0 SetP +%I t +[ 1 0 0 1 129 276 ] concat +%I +194 405 194 397 Line +End + +Begin %I Line +%I b 65535 +1 0 0 [] 0 SetB +%I cfg Black +0 0 0 SetCFg +%I cbg White +1 1 1 SetCBg +%I p +0 SetP +%I t +[ 1 0 0 1 133 276 ] concat +%I +194 405 194 397 Line +End + +End %I eop + +End %I eop + +showpage + + +end +%%EndDocument + @endspecial 86 535 a Fj(scan)394 585 y(sum)639 588 y(series)942 +538 y(#M/)1216 535 y(max)p 0 715 V 0 806 a Fw(problem)c(is)i(that)f(if) +g(a)g(series)i(is)f(used)g(in)g(t)o(w)o(o)f(places,)h(the)g(t)o(w)o(o)f +(uses)i(ma)o(y)d(place)i(incom-)0 858 y(patible)g(constrain)o(ts)i(on)e +(the)h(times)f(at)h(whic)o(h)f(series)i(elemen)o(ts)f(should)g(b)q(e)g +(pro)q(duced.)42 910 y(The)18 b(series)h(expression)g(b)q(elo)o(w)e +(sho)o(ws)h(a)g(situation)f(where)h(this)g(problem)e(arises.)0 +962 y(The)g(expression)h(creates)h(a)d(series)j Fs(x)d +Fw(of)h(the)g(elemen)o(ts)g(in)f(a)h(list.)23 b(It)16 +b(then)g(creates)i(a)0 1014 y(normalized)11 b(series)j(b)o(y)f +(dividing)e(eac)o(h)i(elemen)o(t)f(of)g Fs(x)h Fw(b)o(y)f(the)i(sum)d +(of)h(the)i(elemen)o(ts)e(in)0 1066 y Fs(x)p Fw(.)18 +b(Finally)m(,)11 b(the)k(expression)g(returns)g(the)g(maxim)n(um)9 +b(of)14 b(the)g(normalized)e(elemen)o(ts.)0 1152 y Fs(\(let)20 +b(\(\(x)h(\(scan)323 1156 y Fn(')346 1152 y Fs(\(1)g(2)g(5)g(2\)\)\)\)) +232 b(;)p Fw(W)m(arning)12 b(message)i(issued)42 1204 +y Fs(\(collect-max)19 b(\(#)347 1200 y(-)347 1208 y(-)369 +1204 y(M/)h(x)h(\(series)f(\(collect-sum)f(x\)\)\)\)\))h +Ft(\))g Fs(1/2)42 1291 y Fw(The)15 b(t)o(w)o(o)f(uses)i(of)e +Fs(x)g Fw(in)g(the)i(expression)f(place)g(con)o(tradictory)g(constrain) +o(ts)h(on)e(the)0 1343 y(w)o(a)o(y)f(pip)q(elined)h(ev)n(aluation)f(m)o +(ust)g(pro)q(ceed;)i Fs(collect-sum)d Fw(requires)k(that)e(all)f(of)g +(the)0 1394 y(elemen)o(ts)j(of)g Fs(x)g Fw(b)q(e)h(pro)q(duced)h(b)q +(efore)f(the)g(sum)f(can)g(b)q(e)h(returned,)i(and)d +Fs(series)f Fw(re-)0 1446 y(quires)j(that)f(its)h(input)f(b)q(e)h(a)o +(v)n(ailable)d(b)q(efore)j(it)f(can)h(start)g(to)f(pro)q(duce)i(its)e +(output.)0 1498 y(Ho)o(w)o(ev)o(er,)12 b Fs(#)177 1494 +y(-)177 1502 y(-)198 1498 y(M/)f Fw(requires)i(that)e(the)h(\014rst)g +(elemen)o(t)e(of)h Fs(x)g Fw(b)q(e)h(a)o(v)n(ailable)d(at)i(the)h(same) +e(time)0 1550 y(as)k(the)g(\014rst)g(elemen)o(t)f(of)g(the)i(output)e +(of)g Fs(series)p Fw(.)k(F)m(or)c(pip)q(elining)f(to)i(w)o(ork,)f(the)h +(\014rst)0 1602 y(elemen)o(t)h(of)f(the)i(output)f(of)f +Fs(series)g Fw(\(and)h(therefore)i(the)e(output)g(of)g +Fs(collect-sum)p Fw(\))0 1654 y(m)o(ust)d(b)q(e)j(a)o(v)n(ailable)c(b)q +(efore)j(the)g(second)h(elemen)o(t)e(of)g Fs(x)g Fw(is)h(pro)q(duced.) +19 b(Unfortunately)m(,)0 1706 y(this)14 b(is)g(imp)q(ossible.)42 +1758 y(The)d(essence)i(of)d(the)i(inconsistency)f(ab)q(o)o(v)o(e)g(is)g +(the)g(cycle)g(of)g(constrain)o(ts)g(used)h(in)e(the)0 +1810 y(argumen)o(t.)17 b(This)c(in)g(turn)h(stems)f(from)f(a)h(cycle)i +(in)e(the)h(data)f(\015o)o(w)g(graph)g(underlying)0 1862 +y(the)g(expression.)19 b(In)12 b(\014gure)h(A-1)f(function)g(calls)f +(are)i(represen)o(ted)i(b)o(y)d(b)q(o)o(xes)h(and)f(data)0 +1913 y(\015o)o(w)g(is)h(represen)o(ted)i(b)o(y)e(arro)o(ws.)18 +b(Simple)11 b(arro)o(ws)i(indicate)f(the)h(\015o)o(w)g(of)f(series)i(v) +n(alues)0 1965 y(and)g(cross-hatc)o(hed)h(arro)o(ws)f(indicate)g(the)h +(\015o)o(w)e(of)h(non-series)h(v)n(alues.)42 2017 y(Giv)o(en)f(a)g +(data)h(\015o)o(w)f(graph)h(corresp)q(onding)h(to)f(a)f(series)j +(expression,)e(a)g Fv(c)n(onstr)n(aint)0 2069 y(cycle)d +Fw(is)g(a)g(closed)h(orien)o(ted)g(lo)q(op)e(of)h(data)g(\015o)o(w)g +(arcs)h(suc)o(h)g(that)f(eac)o(h)h(arc)f(is)g(tra)o(v)o(ersed)0 +2121 y(exactly)17 b(once)g(and)f(no)g(non-series)i(arc)f(is)f(tra)o(v)o +(ersed)i(bac)o(kw)o(ard.)25 b(\(Series)18 b(data)e(\015o)o(w)0 +2173 y(arcs)h(can)f(b)q(e)g(tra)o(v)o(ersed)i(in)d(either)i +(direction.\))24 b(A)16 b(constrain)o(t)h(cycle)f(is)g(said)g(to)g +Fv(p)n(ass)0 2225 y(thr)n(ough)i Fw(an)g(input)g(or)g(output)h(p)q(ort) +f(when)h(exactly)f(one)g(of)g(the)h(arcs)g(in)e(the)i(cycle)0 +2277 y(touc)o(hes)12 b(the)g(p)q(ort.)17 b(In)11 b(\014gure)h(A-1)f +(the)h(data)e(\015o)o(w)h(arcs)h(touc)o(hing)f Fs(scan)p +Fw(,)f Fs(sum)p Fw(,)g Fs(series)p Fw(,)0 2329 y(and)17 +b Fs(#)84 2325 y(-)84 2333 y(-)106 2329 y(M/)f Fw(form)f(a)i(constrain) +o(t)g(cycle.)28 b(Note)17 b(that)g(if)f(the)i(output)f(of)f +Fs(scan)g Fw(w)o(ere)i(not)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1026 1050 +1026 1049 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1026)78 b(COMMON)12 +b(LISP)0 295 y Fw(a)17 b(series,)i(this)f(lo)q(op)e(w)o(ould)h(not)g(b) +q(e)h(a)f(constrain)o(t)g(cycle,)i(b)q(ecause)g(there)g(w)o(ould)d(b)q +(e)0 347 y(no)f(v)n(alid)f(w)o(a)o(y)h(to)g(tra)o(v)o(erse)i(it.)22 +b(Also)15 b(note)h(that)f(while)g(the)h(constrain)o(t)g(cycle)g(passes) +0 399 y(through)d(all)g(the)h(other)g(p)q(orts)g(it)f(touc)o(hes,)h(it) +f(do)q(es)h(not)f(pass)h(through)g(the)g(output)f(of)0 +450 y Fs(scan)p Fw(.)42 503 y(Whenev)o(er)j(a)f(constrain)o(t)h(cycle)h +(passes)g(through)e(a)g(non-series)i(output,)f(an)f(argu-)0 +555 y(men)o(t)d(analogous)g(to)h(the)h(one)f(ab)q(o)o(v)o(e)g(can)g(b)q +(e)h(constructed)h(and)e(therefore)i(pip)q(elining)0 +607 y(will)g(b)q(e)j(imp)q(ossible.)25 b(When)17 b(this)g(situation)f +(arises,)h(a)g(w)o(arning)f(message)g(is)h(issued)0 659 +y(iden)o(tifying)d(the)j(problematical)d(p)q(ort)i(and)g(the)g(cycle)h +(passing)f(through)g(it.)24 b(F)m(or)15 b(in-)0 711 y(stance,)e(the)g +(w)o(arning)e(triggered)i(b)o(y)f(the)h(example)d(ab)q(o)o(v)o(e)i +(states)i(that)e(the)g(constrain)o(t)0 763 y(cycle)19 +b(asso)q(ciated)f(with)f Fs(scan)p Fw(,)h Fs(collect-sum)p +Fw(,)e Fs(series)p Fw(,)h(and)g Fs(#)1039 759 y(-)1039 +767 y(-)1061 763 y(M/)h Fw(passes)h(through)0 814 y(the)14 +b(non-series)h(output)g(of)e Fs(collect-sum)p Fw(.)42 +867 y(Giv)o(en)f(this)i(kind)f(of)g(detailed)h(information,)c(it)k(is)f +(easy)h(to)g(alleviate)e(the)j(problem.)0 919 y(T)m(o)i(start)h(with,)g +(ev)o(ery)h(cycle)f(m)o(ust)f(con)o(tain)g(at)h(least)g(one)g(function) +f(that)h(has)g(t)o(w)o(o)0 971 y(series)d(data)f(\015o)o(ws)g(lea)o +(ving)f(it.)k(A)o(t)d(w)o(orst,)g(the)h(cycle)f(can)g(b)q(e)h(brok)o +(en)f(b)o(y)g(duplicating)0 1023 y(this)i(function)f(\(and)g(an)o(y)g +(functions)h(computing)d(series)k(used)g(b)o(y)e(it\).)22 +b(F)m(or)15 b(instance,)0 1075 y(the)f(example)f(ab)q(o)o(v)o(e)h(can)g +(b)q(e)g(rewritten)h(as)f(sho)o(wn)g(b)q(elo)o(w.)0 1168 +y Fs(\(let)20 b(\(\(x)h(\(scan)323 1172 y Fn(')346 1168 +y Fs(\(1)g(2)g(5)g(2\)\)\))127 1220 y(\(sum)f(\(collect-sum)f(\(scan) +646 1224 y Fn(')669 1220 y Fs(\(1)i(2)g(5)g(2\)\)\)\)\))42 +1272 y(\(collect-max)e(\(#)347 1268 y(-)347 1276 y(-)369 +1272 y(M/)h(x)h(\(series)f(sum\)\)\)\))42 1324 y Ft(\))h +Fs(1/2)42 1416 y Fw(It)10 b(w)o(ould)g(b)q(e)h(easy)g(enough)g(to)f +(automatically)d(apply)j(co)q(de)i(cop)o(ying)d(to)i(break)g(prob-)0 +1468 y(lematical)h(constrain)o(t)j(cycles.)21 b(Ho)o(w)o(ev)o(er,)15 +b(this)f(is)h(not)f(done)h(for)f(t)o(w)o(o)g(reasons.)21 +b(First,)0 1520 y(there)14 b(is)f(considerable)h(virtue)f(in)g(main)o +(taining)c(the)14 b(prop)q(ert)o(y)g(that)f(eac)o(h)g(function)g(in)0 +1572 y(a)g(series)i(expression)g(turns)g(in)o(to)d(one)i(piece)h(of)e +(computation)f(in)h(the)h(lo)q(op)f(pro)q(duced.)0 1624 +y(Users)18 b(can)e(b)q(e)h(con\014den)o(t)f(that)h(series)g +(expressions)h(that)e(lo)q(ok)f(simple)f(and)i(e\016cien)o(t)0 +1676 y(actually)g(are)g(simple)f(and)i(e\016cien)o(t.)26 +b(Second,)17 b(with)f(a)h(little)e(creativit)o(y)m(,)h(constrain)o(t)0 +1728 y(problems)i(can)h(often)g(b)q(e)h(resolv)o(ed)f(in)g(w)o(a)o(ys)f +(that)h(are)h(m)o(uc)o(h)d(more)h(e\016cien)o(t)i(than)0 +1780 y(cop)o(ying)12 b(co)q(de.)19 b(In)13 b(the)g(example)f(ab)q(o)o +(v)o(e,)g(the)i(con\015ict)f(can)g(b)q(e)h(eliminated)d(e\016cien)o +(tly)0 1831 y(b)o(y)f(in)o(terc)o(hanging)g(the)h(op)q(eration)g(of)e +(computing)g(the)i(maxim)o(um)6 b(with)k(the)h(op)q(eration)0 +1883 y(of)i(normalizing)e(an)j(elemen)o(t.)0 1977 y Fs(\(let)20 +b(\(\(x)h(\(scan)323 1981 y Fn(')346 1977 y Fs(\(1)g(2)g(5)g(2\)\)\)\)) +42 2029 y(\(/)g(\(collect-max)e(x\))i(\(collect-sum)d(x\)\)\))j +Ft(\))f Fs(1/2)42 2121 y Fw(The)9 b(restriction)i(that)e(optimizable)e +(series)k(expressions)g(cannot)e(con)o(tain)g(constrain)o(t)0 +2173 y(cycles)15 b(that)e(pass)h(through)f(non-series)i(outputs)f +(places)g(limitatio)o(ns)d(on)i(the)h(qualita-)0 2225 +y(tiv)o(e)i(c)o(haracter)h(of)e(optimizable)e(series)18 +b(expressions.)25 b(In)15 b(particular,)h(they)g(all)f(m)o(ust)0 +2277 y(ha)o(v)o(e)e(the)h(general)f(form)f(of)g(creating)i(some)e(n)o +(um)o(b)q(er)g(of)h(series)i(using)e(scanners,)h(com-)0 +2329 y(puting)e(v)n(arious)f(in)o(termediate)g(series)j(using)d +(transducers,)k(and)c(then)i(computing)e(one)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1027 1051 +1027 1050 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SERIES)1194 b(1027)0 +295 y Fw(or)16 b(more)f(summary)f(results)j(using)e(collectors.)25 +b(The)17 b(output)f(of)g(a)f(collector)i(cannot)0 347 +y(b)q(e)d(used)g(in)f(the)i(in)o(termediate)d(computation)g(unless)i +(it)f(is)h(the)g(output)f(of)g(a)h(separate)0 399 y(sub)q(expression.) +42 450 y(It)20 b(is)h(w)o(orth)o(y)g(of)f(note)h(that)g(the)g(last)g +(expression)h(ab)q(o)o(v)o(e)e(\014xes)i(the)f(constrain)o(t)0 +502 y(con\015ict)f(b)o(y)g(mo)o(ving)e(the)i(non-series)h(output)f(out) +g(of)g(the)g(cycle,)i(rather)f(than)f(b)o(y)0 554 y(breaking)e(the)h +(cycle.)32 b(This)18 b(illustrates)g(the)h(fact)f(that)h(constrain)o(t) +f(cycles)i(that)e(do)0 606 y(not)13 b(pass)h(through)f(non-series)h +(outputs)f(do)g(not)g(necessarily)h(cause)h(problems.)h(They)0 +658 y(cause)f(problems)e(only)g(if)g(they)h(pass)h(through)f +Fv(o\013-line)g Fw(p)q(orts.)42 710 y(A)d(series)i(input)e(p)q(ort)h +(or)g(series)h(output)e(p)q(ort)h(of)f(a)g(series)i(function)e(is)h +Fv(on-line)f Fw(if)g(and)0 762 y(only)k(if)g(it)g(is)h(pro)q(cessed)i +(in)d(lo)q(c)o(kstep)i(with)e(all)g(the)h(other)h(on-line)d(p)q(orts)j +(as)f(follo)o(ws:)0 814 y(the)i(initial)d(elemen)o(t)i(of)f(eac)o(h)i +(on-line)f(input)g(is)g(read,)h(then)g(the)f(initial)f(elemen)o(t)g(of) +0 866 y(eac)o(h)f(on-line)e(output)h(is)g(written,)h(then)g(the)f +(second)i(elemen)o(t)d(of)h(eac)o(h)h(on-line)e(input)0 +917 y(is)h(read,)f(then)i(the)f(second)h(elemen)o(t)e(of)g(eac)o(h)h +(on-line)f(output)h(is)f(written,)h(and)g(so)f(on.)0 +969 y(P)o(orts)j(that)f(are)h(not)f(on-line)g(are)h(o\013-line.)22 +b(If)15 b(all)f(of)g(the)i(series)h(p)q(orts)f(of)f(a)g(function)0 +1021 y(are)i(on-line,)f(the)h(function)f(is)g(said)g(to)h(b)q(e)g +(on-line;)f(otherwise,)i(it)e(is)g(o\013-line.)25 b(\(The)0 +1073 y(ab)q(o)o(v)o(e)12 b(extends)i(the)f(standard)g(de\014nition)f +(of)g(the)h(term)f Fv(on-line)h Fw(so)f(that)h(it)f(applies)g(to)0 +1125 y(individual)g(p)q(orts)i(as)g(w)o(ell)g(as)g(whole)f +(functions.\))42 1177 y(If)e(all)f(of)i(the)g(p)q(orts)h(a)e(cycle)i +(passes)g(through)f(are)g(on-line,)f(the)h(lo)q(c)o(kstep)h(pro)q +(cessing)0 1229 y(of)f(these)j(p)q(orts)f(guaran)o(tees)g(that)f(there) +h(cannot)f(b)q(e)h(an)o(y)f(con\015icts)h(b)q(et)o(w)o(een)g(the)g +(con-)0 1281 y(strain)o(ts)h(asso)q(ciated)g(with)g(the)g(cycle.)21 +b(Ho)o(w)o(ev)o(er,)15 b(passing)f(through)h(an)f(o\013-line)g(p)q(ort) +0 1333 y(leads)g(to)g(the)g(same)f(kinds)h(of)f(problems)g(as)h +(passing)g(through)g(a)f(non-series)i(output.)42 1384 +y(Most)i(of)h(the)g(series)h(functions)f(are)g(on-line.)29 +b(In)17 b(particular,)h(scanners)i(and)d(col-)0 1436 +y(lectors)f(are)g(all)f(on-line)f(as)i(are)g(man)o(y)d(transducers.)25 +b(Ho)o(w)o(ev)o(er,)16 b(the)g(transducers)i(in)0 1488 +y(section)11 b(A.2.4)d(are)i(o\013-line.)16 b(In)10 b(particular,)g +(the)g(series)i(inputs)e(of)f Fs(catenate)p Fw(,)f Fs(choose-)0 +1540 y(if)p Fw(,)k Fs(chunk)p Fw(,)g Fs(expand)p Fw(,)f +Fs(mask)p Fw(,)h Fs(mingle)p Fw(,)f Fs(positions)p Fw(,)g(and)i +Fs(subseries)e Fw(along)h(with)g(the)0 1592 y(series)j(outputs)g(of)e +Fs(choose)p Fw(,)f Fs(split)p Fw(,)g(and)i Fs(split-if)e +Fw(are)j(o\013-line.)42 1644 y(In)9 b(summary)m(,)f(the)i(fourth)g(and) +g(\014nal)f(restriction)i(is)f(that)g Fz(for)g(optimizatio)o(n)e(to)j +(b)q(e)0 1696 y(p)q(ossible,)j(a)j(series)e(expression)f(cannot)i(con)o +(tain)e(a)j(constrain)o(t)d(cycle)i(that)0 1748 y(passes)d(through)f(a) +j(non-series)c(output)h(or)i(an)g(o\013-line)e(p)q(ort)p +Fw(.)k(Whenev)o(er)e(this)0 1800 y(restriction)k(is)g(violated)e(a)i(w) +o(arning)e(message)h(is)h(issued.)29 b(Violations)16 +b(can)i(b)q(e)g(\014xed)0 1851 y(either)i(b)o(y)g(breaking)f(the)h +(cycle)h(or)e(restructuring)j(the)e(computation)e(so)h(that)h(the)0 +1903 y(o\013ending)14 b(p)q(ort)g(is)g(remo)o(v)o(ed)f(from)f(the)i +(cycle.)0 2040 y Fo(A.3.3.)20 b(De\014ning)15 b(New)f(Series)g(F)-5 +b(unctions)0 2121 y Fw(New)10 b(functions)g(op)q(erating)f(on)g(series) +i(can)f(b)q(e)g(de\014ned)h(just)e(as)h(easily)f(as)h(new)g(functions)0 +2173 y(op)q(erating)i(on)g(an)o(y)g(other)h(data)f(t)o(yp)q(e.)18 +b(Ho)o(w)o(ev)o(er,)13 b(expressions)g(con)o(taining)f(these)h(new)0 +2225 y(functions)h(cannot)h(b)q(e)g(transformed)f(in)o(to)g(lo)q(ops)g +(unless)h(a)f(complete)g(analysis)f(of)h(the)0 2277 y(functions)g(is)f +(a)o(v)n(ailable.)j(Among)c(other)i(things,)f(this)h(implies)d(that)j +(the)g(de\014nition)f(of)0 2329 y(a)h(new)g(series)h(function)f(m)o +(ust)f(app)q(ear)h(b)q(efore)h(its)e(\014rst)i(use.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1028 1052 +1028 1051 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1028)78 b(COMMON)12 +b(LISP)1001 295 y Fw([)p Fv(De)n(clar)n(ation)i(sp)n(e)n(ci\014er)t +Fw(])-1395 b Fs(optimizable-serie)o(s-fun)o(ction)0 372 +y Fw(The)11 b(declaration)f(sp)q(eci\014er)i Fs(\(optimizable-se)o +(ries-)o(funct)o(ion)18 b Fv(inte)n(ger)p Fs(\))9 b Fw(indicates)0 +423 y(that)h(the)h(function)f(b)q(eing)g(de\014ned)h(is)f(a)f(series)j +(function)e(that)g(needs)h(to)f(b)q(e)h(analyzed)f(so)0 +475 y(that)k(it)f(can)h(b)q(e)g(optimized)e(when)i(it)f(app)q(ears)i +(in)e(series)i(expressions.)k(\(A)14 b(w)o(arning)f(is)0 +527 y(issued)e(if)f(the)h(function)f(b)q(eing)h(de\014ned)g(neither)h +(tak)o(es)f(a)f(series)i(as)e(input)h(nor)f(pro)q(duces)0 +579 y(a)h(series)i(as)f(output.\))18 b Fv(Inte)n(ger)11 +b Fw(\(default)g(1\))h(sp)q(eci\014es)h(the)g(n)o(um)o(b)q(er)e(of)g(v) +n(alues)g(returned)0 631 y(b)o(y)19 b(the)g(function)g(b)q(eing)g +(de\014ned.)34 b(\(This)19 b(cannot)g(necessarily)h(b)q(e)g(determined) +f(b)o(y)0 683 y(lo)q(cal)13 b(analysis.\))k(The)d(only)f(place)g +Fs(optimizable-series-)o(funct)o(ion)d Fw(is)k(allo)o(w)o(ed)e(to)0 +735 y(app)q(ear)17 b(is)g(in)f(a)g(declaration)h(imm)o(ediately)d +(inside)i(a)h Fs(defun)p Fw(.)25 b(As)17 b(an)g(example,)e(the)0 +787 y(follo)o(wing)c(sho)o(ws)j(ho)o(w)g(a)g(simpli\014ed)e(v)o(ersion) +i(of)f Fs(collect-sum)e Fw(could)j(b)q(e)h(de\014ned.)0 +871 y Fs(\(defun)20 b(simple-collect-su)o(m)e(\(numbers\))42 +922 y(\(declare)i(\(optimizable-seri)o(es-fu)o(ncti)o(on)e(1\)\))42 +974 y(\(collect-fn)301 978 y Fn(')324 974 y Fs(number)i(#)476 +970 y(-)476 978 y(-)n Fn(')519 974 y Fs(\(lambda)g(\(\))h(0\))g(#)823 +970 y(-)823 978 y(-)m Fn(')865 974 y Fs(+)g(numbers\)\))1001 +1094 y Fw([)p Fv(De)n(clar)n(ation)14 b(sp)n(e)n(ci\014er)t +Fw(])-1395 b Fs(off-line-port)0 1171 y Fw(The)14 b(declaration)g(sp)q +(eci\014er)h Fs(\(off-line-port)k Fv(p)n(ort)p Fs(-)p +Fv(sp)n(e)n(c1)i(p)n(ort)p Fs(-)p Fv(sp)n(e)n(c2)f Fs(...\))13 +b Fw(sp)q(ec-)0 1223 y(i\014es)g(that)g(the)g(indicated)f(inputs)h(and) +g(outputs)g(are)g(o\013-line.)k(This)12 b(declaration)g(sp)q(ec-)0 +1275 y(i\014er)k(is)g(only)g(allo)o(w)o(ed)f(in)g(a)h +Fs(defun)f Fw(that)i(con)o(tains)f(the)g(declaration)g +Fs(optimizable-)0 1326 y(series-function)p Fw(.)f(Eac)o(h)f +Fv(p)n(ort-sp)n(e)n(c)f Fw(m)o(ust)f(either)i(b)q(e)h(a)e(sym)o(b)q(ol) +f(that)h(is)g(one)h(of)f(the)0 1378 y(inputs)f(of)f(the)h(function)f +(or)h(an)g(in)o(teger)g Fv(j)f Fw(indicating)f(the)j +Fv(j)6 b Fw(th)11 b(output)h(\(coun)o(ting)f(from)0 1430 +y(zero\).)18 b(F)m(or)12 b(example,)e Fs(\(off-line-port)18 +b(x)j(1\))11 b Fw(indicates)i(that)e(the)i(input)e Fs(x)h +Fw(and)f(the)0 1482 y(second)i(output)g(are)g(o\013-line.)j(Ev)o(ery)d +(p)q(ort)g(that)f(is)g(not)h(men)o(tioned)e(in)h(an)g +Fs(off-line-)0 1534 y(port)k Fw(declaration)g(is)h(assumed)g(to)f(b)q +(e)i(on-line.)26 b(A)16 b(w)o(arning)h(is)f(issued)i(whenev)o(er)g(a)0 +1586 y(p)q(ort's)g(actual)f(on-line/o\013-line)f(status)i(do)q(es)g +(not)f(agree)h(with)g(its)f(declared)h(status.)0 1638 +y(This)e(mak)o(es)f(it)h(easier)h(to)f(k)o(eep)g(trac)o(k)h(of)e(whic)o +(h)h(p)q(orts)h(are)g(o\013-line)e(and)h(whic)o(h)g(are)0 +1690 y(not.)24 b(Note)16 b(that)g(o\013-line)f(p)q(orts)h(virtually)f +(nev)o(er)h(arise)g(when)h(de\014ning)e(scanners)j(or)0 +1742 y(reducers.)0 1883 y Fo(A.3.4.)i(Declarations)0 +1966 y Fw(A)14 b(k)o(ey)h(feature)f(of)g(Lisp)g(is)g(that)g(v)n +(ariable)g(declarations)g(are)g(strictly)h(optional.)i(Nev-)0 +2017 y(ertheless,)f(it)e(is)g(often)g(the)h(case)g(that)g(they)g(are)f +(necessary)j(in)c(situations)h(where)i(e\016-)0 2069 +y(ciency)d(matters.)k(Therefore,)c(it)f(is)g(imp)q(ortan)o(t)e(that)j +(it)e(b)q(e)i Fv(p)n(ossible)f Fw(for)g(programmers)0 +2121 y(to)f(pro)o(vide)f(declarations)h(for)g(ev)o(ery)h(v)n(ariable)e +(in)g(a)h(program.)k(The)c(transformation)e(of)0 2173 +y(series)14 b(expressions)g(in)o(to)e(lo)q(ops)h(presen)o(ts)h(certain) +f(problems)f(in)g(this)h(regard,)g(b)q(ecause)0 2225 +y(the)19 b(lo)q(ops)f(created)h(con)o(tain)f(v)n(ariables)g(not)g +(eviden)o(t)g(in)g(the)h(original)d(co)q(de.)32 b(Ho)o(w-)0 +2277 y(ev)o(er,)16 b(if)e(the)i(information)c(describ)q(ed)17 +b(b)q(elo)o(w)e(is)g(supplied)h(b)o(y)f(the)h(user,)g(appropriate)0 +2329 y(declarations)e(can)g(b)q(e)h(generated)g(for)e(all)g(of)g(the)i +(lo)q(op)e(v)n(ariables)g(created.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1029 1053 +1029 1052 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SERIES)1194 b(1029)42 +295 y Fw(All)15 b(the)h(explicit)g(v)n(ariables)f(that)h(are)g(b)q +(ound)g(in)g(a)f(series)i(expression)h(\(for)d(exam-)0 +347 y(ple,)21 b(b)o(y)g(a)f Fs(let)f Fw(that)i(is)f(part)g(of)g(the)h +(expression\))g(should)g(b)q(e)f(giv)o(en)g(informativ)o(e)0 +399 y(declarations)d(making)e(use)i(of)g(the)g(t)o(yp)q(e)h(sp)q +(eci\014er)g Fs(\(series)i Fv(element)p Fs(-)p Fv(typ)n(e)p +Fs(\))d Fw(where)0 450 y(appropriate.)42 503 y(Informativ)o(e)11 +b(t)o(yp)q(es)k(should)e(b)q(e)i(supplied)e(to)h(series)h(functions)f +(\(suc)o(h)g(as)g Fs(scan)f Fw(and)0 555 y Fs(map-fn)p +Fw(\))20 b(that)g(ha)o(v)o(e)h(t)o(yp)q(e)g(argumen)o(ts.)38 +b(When)21 b(using)g Fs(scan)f Fw(it)g(is)h(imp)q(ortan)o(t)e(to)0 +607 y(sp)q(ecify)c(the)f(t)o(yp)q(e)h(of)f(elemen)o(t)f(in)h(the)h +(sequence)h(as)e(w)o(ell)g(as)g(the)h(sequence)h(itself)e(\(for)0 +659 y(example,)f(b)o(y)h(using)g Fs(\(vector)19 b(*)i(integer\))13 +b Fw(as)h(opp)q(osed)h(to)f(merely)f Fs(vector)p Fw(\).)18 +b(The)0 711 y(form)d Fs(\(list)20 b Fv(element)p Fs(-)p +Fv(typ)n(e)p Fs(\))c Fw(can)h(b)q(e)g(used)g(to)g(sp)q(ecify)g(the)g(t) +o(yp)q(e)g(of)f(elemen)o(ts)g(in)g(a)0 762 y(list.)42 +815 y(If)11 b(it)g(is)g(appropriate)g(to)g(ha)o(v)o(e)h(a)f(t)o(yp)q(e) +h(more)e(sp)q(eci\014c)j(than)e Fs(\(series)20 b(t\))11 +b Fw(asso)q(ciated)0 867 y(with)g(the)i(output)e(of)h +Fs(#)341 863 y(-)341 871 y(-)362 867 y(M)p Fw(,)f Fs(#)407 +863 y(-)407 871 y(-)429 867 y(Z)p Fw(,)g Fs(scan-alist)p +Fw(,)f Fs(scan-file)p Fw(,)f Fs(scan-hash)p Fw(,)h Fs(scan-lists-)0 +919 y(of-lists-fringe)p Fw(,)17 b Fs(scan-lists-of-li)o(sts)p +Fw(,)g Fs(scan-plist)p Fw(,)g Fs(series)p Fw(,)i Fs(latch)p +Fw(,)g(or)0 971 y Fs(catenate)p Fw(,)12 b(then)i(the)h(form)d +Fs(the)h Fw(m)o(ust)g(b)q(e)h(used)h(to)f(sp)q(ecify)g(this)g(t)o(yp)q +(e.)42 1023 y(Finally)m(,)d(if)i(the)h(expression)h(computing)d(a)h +(non-series)i(argumen)o(t)e(to)g(a)h(series)h(v)n(ari-)0 +1075 y(able)d(is)g(neither)h(a)f(v)n(ariable)f(nor)h(a)g(constan)o(t,)g +Fs(the)g Fw(m)o(ust)f(b)q(e)i(used)g(to)f(sp)q(ecify)g(the)h(t)o(yp)q +(e)0 1127 y(of)g(its)h(result.)42 1180 y(F)m(or)g(example,)f(the)i +(declarations)g(in)f(the)h(series)h(expressions)g(b)q(elo)o(w)e(are)h +(su\016cien)o(t)0 1232 y(to)f(ensure)h(that)f(ev)o(ery)h(lo)q(op)e(v)n +(ariable)g(will)f(ha)o(v)o(e)i(an)f(accurate)j(declaration.)0 +1324 y Fs(\(collect-last)i(\(choose-if)i(#)544 1320 y(-)544 +1328 y(-)m Fn(')587 1324 y Fs(plusp)g(\(scan)845 1328 +y Fn(')868 1324 y Fs(\(list)g(integer\))g(data\)\)\))0 +1428 y(\(collect)193 1432 y Fn(')217 1428 y Fs(\(vector)f(*)i(float\)) +191 1479 y(\(map-fn)362 1483 y Fn(')385 1479 y Fs(float)g(#)516 +1475 y(-)516 1483 y(-)m Fn(')559 1479 y Fs(/)360 1531 +y(\(series)f(\(the)g(integer)g(\(car)g(data\)\)\))360 +1583 y(\(the)g(\(series)g(integer\))f(\(scan-file)h(f\)\)\)\))42 +1675 y Fw(The)15 b(amoun)o(t)f(of)h(information)d(the)k(user)g(has)g +(to)f(pro)o(vide)g(is)h(reduced)h(b)o(y)e(the)h(fact)0 +1727 y(that)h(this)g(information)d(can)j(b)q(e)g(propagated)g(from)e +(place)i(to)g(place.)27 b(F)m(or)16 b(instance,)0 1778 +y(the)f(v)n(ariable)f(holding)f(the)j(output)f(of)f Fs(choose-if)e +Fw(holds)j(a)f(subset)i(of)f(the)g(elemen)o(ts)0 1830 +y(held)i(b)o(y)g(the)g(input)g(v)n(ariable.)26 b(As)18 +b(a)f(result,)h(it)e(is)h(appropriate)g(for)g(it)f(to)h(ha)o(v)o(e)g +(the)0 1882 y(same)e(t)o(yp)q(e.)23 b(When)15 b(de\014ning)g(a)h(new)f +(series)i(function,)e(the)h(t)o(yp)q(e)g(sp)q(eci\014er)h +Fs(series-)0 1934 y(element-type)11 b Fw(can)j(b)q(e)h(used)f(to)g +(indicate)g(where)h(t)o(yp)q(e)f(propagation)f(should)g(o)q(ccur.)1123 +2096 y([)p Fv(T)m(yp)n(e)h(sp)n(e)n(ci\014er)t Fw(])-1395 +b Fs(series-element-ty)o(pe)0 2173 y Fw(The)16 b(t)o(yp)q(e)h(sp)q +(eci\014er)g Fs(\(series-element-typ)o(e)h Fv(variable)p +Fs(\))e Fw(denotes)h(the)f(t)o(yp)q(e)h(of)e(el-)0 2225 +y(emen)o(ts)g(in)g(the)g(series)i(held)e(in)g Fv(variable)p +Fw(.)21 b Fv(V)m(ariable)14 b Fw(m)o(ust)g(b)q(e)i(a)f(v)n(ariable)f +(carrying)h(a)0 2277 y(series)k(v)n(alue)e(\(for)h(example,)e(a)i +(series)h(argumen)o(t)d(of)i(a)f(series)i(function\).)29 +b Fs(series-)0 2329 y(element-type)15 b Fw(can)j(b)q(e)g(used)g(only)f +(in)g(three)i(places:)25 b(in)17 b(a)g(declaration)h(in)f(a)g +Fs(let)p Fw(,)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1030 1054 +1030 1053 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1030)78 b(COMMON)12 +b(LISP)0 295 y Fs(mapping)p Fw(,)f Fs(producing)p Fw(,)g(or)j(other)g +(binding)e(form)f(in)i(a)g(series)i(expression;)f(in)f(a)g(decla-)0 +347 y(ration)e(in)h(a)f Fs(defun)g Fw(b)q(eing)h(used)h(to)e(de\014ne)i +(a)f(series)h(function;)f(or)g(in)f(a)g(t)o(yp)q(e)i(argumen)o(t)0 +399 y(to)h(a)g(series)i(function.)j(As)c(an)f(example,)f(consider)i +(that)g Fs(collect-last)d Fw(could)i(ha)o(v)o(e)0 450 +y(b)q(een)j(de\014ned)g(as)f(follo)o(ws.)23 b(The)16 +b(use)h(of)e Fs(series-element-type)d Fw(ensures)18 b(that)e(the)0 +502 y(in)o(ternal)d(v)n(ariable)g(k)o(eeping)h(trac)o(k)g(of)g(the)g +(most)f(recen)o(t)i(item)e(has)h(the)g(correct)i(t)o(yp)q(e.)0 +603 y Fs(\(defun)k(collect-last)f(\(items)h(&optional)f(\(default)g +(nil\)\))42 655 y(\(declare)h(\(optimizable-seri)o(es-fu)o(ncti)o +(on\)\))42 706 y(\(collect-fn)301 710 y Fn(')324 706 +y Fs(\(series-element-typ)o(e)e(items\))296 758 y(#)296 +754 y(-)296 762 y(-)n Fn(')339 758 y Fs(\(lambda)i(\(\))h(default\))296 +810 y(#)296 806 y(-)296 814 y(-)n Fn(')339 810 y Fs(\(lambda)f(\(old)g +(new\))h(new\))296 862 y(items\)\))0 1075 y Fo(A.4.)g(Primitiv)n(es)0 +1180 y Fw(A)e(large)f(n)o(um)o(b)q(er)g(of)f(series)j(functions)f(are)g +(pro)o(vided,)g(b)q(ecause)h(there)g(are)f(a)f(large)0 +1231 y(n)o(um)o(b)q(er)d(of)g(useful)h(op)q(erations)g(that)f(can)h(b)q +(e)g(p)q(erformed)g(on)f(series.)25 b(Ho)o(w)o(ev)o(er,)16 +b(this)0 1283 y(functionalit)o(y)c(can)i(b)q(e)h(b)q(oiled)e(do)o(wn)h +(to)g(a)f(small)f(n)o(um)o(b)q(er)h(of)g(primitiv)o(e)f(constructs.)42 +1337 y Fs(collecting-fn)c Fw(em)o(b)q(o)q(dies)k(the)g(fundamen)o(tal)e +(idea)h(of)g(series)i(computations)e(that)0 1389 y(utilize)19 +b(in)o(ternal)g(state.)35 b(It)19 b(can)h(b)q(e)g(used)g(as)f(the)h +(basis)g(for)e(de\014ning)i(an)o(y)f(on-line)0 1441 y(transducer.)42 +1494 y Fs(until)13 b Fw(em)o(b)q(o)q(dies)g(the)i(fundamen)o(tal)d +(idea)i(of)g(pro)q(ducing)g(a)g(series)h(that)f(is)g(shorter)0 +1546 y(than)g(the)g(shortest)h(input)e(series.)20 b(In)13 +b(particular,)g(it)g(em)o(b)q(o)q(dies)g(the)i(idea)e(of)g(comput-)0 +1598 y(ing)h(a)h(b)q(ounded)h(series)g(from)e(non-series)i(inputs.)22 +b(T)m(ogether)15 b(with)g Fs(collecting-fn)p Fw(,)0 1650 +y Fs(until)j Fw(can)i(b)q(e)f(used)h(to)g(de\014ne)g +Fs(scan-fn)p Fw(,)e(whic)o(h)h(can)h(b)q(e)g(used)g(as)f(the)h(basis)f +(for)0 1701 y(de\014ning)14 b(all)e(the)j(other)f(scanners.)42 +1755 y Fs(collect-last)i Fw(em)o(b)q(o)q(dies)j(the)h(fundamen)o(tal)d +(idea)i(of)f(pro)q(ducing)i(a)f(non-series)0 1807 y(v)n(alue)c(from)f +(a)h(series.)25 b(T)m(ogether)15 b(with)h Fs(collecting-fn)p +Fw(,)d(it)i(can)h(b)q(e)g(used)g(to)g(de\014ne)0 1859 +y Fs(collect-fn)p Fw(,)c(whic)o(h)j(\(with)g(the)g(o)q(ccasional)f +(assistance)i(of)f Fs(until)p Fw(\))f(can)h(b)q(e)g(used)h(as)0 +1911 y(the)e(basis)g(for)g(de\014ning)g(all)e(the)j(other)f +(collectors.)42 1964 y Fs(producing)c Fw(em)o(b)q(o)q(dies)h(the)h +(fundamen)o(tal)e(idea)i(of)f(preorder)j(computation.)h(It)e(can)0 +2016 y(b)q(e)j(used)h(as)e(the)h(basis)g(for)f(de\014ning)h(all)e(the)i +(other)g(series)h(functions,)f(including)e(the)0 2068 +y(o\013-line)f(transducers.)42 2121 y(In)e(addition)e(to)i(the)h(ab)q +(o)o(v)o(e,)f(four)g(primitiv)o(es)e(supp)q(ort)j(v)n(arious)e(sp)q +(ecialized)i(asp)q(ects)0 2173 y(of)k(series)i(functions.)27 +b(Alterabilit)o(y)16 b(is)g(supp)q(orted)i(b)o(y)f(the)g(function)g +Fs(to-alter)e Fw(and)0 2225 y(the)k(declaration)g Fs(propagate-alterab) +o(ility)o Fw(.)30 b(The)19 b(propagation)f(of)g(t)o(yp)q(e)i(infor-)0 +2277 y(mation)14 b(is)j(supp)q(orted)h(b)o(y)e(the)h(t)o(yp)q(e)g(sp)q +(eci\014er)i Fs(series-element-)o(type)p Fw(.)k(The)17 +b(b)q(est)0 2329 y(implemen)o(tatio)o(n)11 b(of)j(certain)g(series)h +(functions)f(requires)h(the)g(form)d Fs(encapsulated)p +Fw(.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1031 1055 +1031 1054 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SERIES)1194 b(1031)-33 +266 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 295 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(producing)33 b Fv(output-list)15 b(input-list)21 +b Ft(f)p Fv(de)n(clar)n(ation)p Ft(g)853 280 y Fl(\003)900 +295 y Ft(f)6 b Fv(form)p Ft(g)1034 280 y Fl(\003)0 379 +y Fs(producing)17 b Fw(computes)i(and)h(returns)g(a)f(group)g(of)g +(series)i(and)e(non-series)h(outputs)0 431 y(giv)o(en)11 +b(a)h(group)g(of)f(series)i(and)f(non-series)h(inputs.)k(The)12 +b(k)o(ey)g(feature)h(of)e Fs(producing)f Fw(is)0 483 +y(that)h(some)f(or)h(all)e(of)h(the)i(series)g(inputs)f(and)g(outputs)g +(can)g(b)q(e)g(pro)q(cessed)i(in)e(an)f(o\013-line)0 +535 y(w)o(a)o(y)m(.)18 b(T)m(o)c(supp)q(ort)h(this,)f(the)h(pro)q +(cessing)h(in)d(the)i(b)q(o)q(dy)g(\(consisting)f(of)g(the)h +Fv(forms)p Fw(\))f(is)0 587 y(p)q(erformed)e(from)e(the)i(p)q(ersp)q +(ectiv)o(e)i(of)d(generators)j(and)d(gatherers)j(\(see)f(app)q(endix)f +(B\).)0 638 y(Eac)o(h)k(series)g(input)g(is)f(con)o(v)o(erted)h(to)g(a) +f(generator)h(b)q(efore)g(b)q(eing)f(used)i(in)e(the)h(b)q(o)q(dy)m(.)0 +690 y(Eac)o(h)e(series)h(output)g(is)e(asso)q(ciated)i(with)e(a)h +(gatherer)h(in)e(the)i(b)q(o)q(dy)m(.)42 750 y(The)d +Fv(output-list)f Fw(has)h(the)g(same)f(syn)o(tax)g(as)h(the)g(binding)f +(list)g(of)g(a)h Fs(let)p Fw(.)k(The)d(names)0 802 y(of)20 +b(the)h(v)n(ariables)e(m)o(ust)g(b)q(e)i(distinct)g(from)d(eac)o(h)j +(other)g(and)f(from)f(the)i(names)e(of)0 853 y(the)e(v)n(ariables)g(in) +f(the)i Fs(input-list)p Fw(.)24 b(If)17 b(there)h(are)f +Fv(n)h Fw(v)n(ariables)e(in)g(the)i Fv(output-list)p +Fw(,)0 905 y Fs(producing)12 b Fw(computes)i Fv(n)g Fw(outputs.)19 +b(There)c(m)o(ust)e(b)q(e)i(at)f(least)g(one)g(output)g(v)n(ariable.)0 +957 y(The)d(v)n(ariables)f(act)g(as)h(the)g(names)f(for)g(the)h +(outputs)g(and)f(can)h(b)q(e)g(used)g(in)f(either)h(of)f(t)o(w)o(o)0 +1009 y(w)o(a)o(ys.)17 b(First,)c(if)e(an)h(output)h(v)n(ariable)e(has)h +(a)g(v)n(alue)g(asso)q(ciated)h(with)f(it)g(in)f(the)i +Fv(output-)0 1061 y(list)p Fw(,)f(then)i(the)f(v)n(ariable)g(is)g +(treated)h(as)f(holding)f(a)h(non-series)h(v)n(alue.)j(The)d(v)n +(ariable)e(is)0 1113 y(initialized)i(to)i(the)h(indicated)e(v)n(alue)h +(and)f(can)h(b)q(e)h(used)g(in)e(an)o(y)h(w)o(a)o(y)f(desired)i(in)e +(the)0 1165 y(b)q(o)q(dy)m(.)i(The)12 b(ev)o(en)o(tual)g(output)g(v)n +(alue)f(is)g(whatev)o(er)i(v)n(alue)e(is)h(in)f(the)h(v)n(ariable)f +(when)h(the)0 1217 y(execution)g(of)f(the)i(b)q(o)q(dy)e(terminates.)17 +b(Second,)c(if)d(an)i(output)g(v)n(ariable)e(do)q(es)i(not)g(ha)o(v)o +(e)0 1269 y(a)i(v)n(alue)g(asso)q(ciated)i(with)e(it)g(in)g(the)i +Fv(output-list)p Fw(,)e(the)h(v)n(ariable)e(is)i(giv)o(en)f(as)h(its)f +(v)n(alue)0 1320 y(a)i(gatherer)h(that)e(collects)i(elemen)o(ts.)24 +b(The)16 b(only)f(v)n(alid)f(w)o(a)o(y)i(to)f(use)i(the)f(v)n(ariable)f +(in)0 1372 y(the)f(b)q(o)q(dy)f(is)g(in)g(a)f(call)h(on)g +Fs(next-out)p Fw(.)j(The)d(output)h(returned)g(is)f(a)g(series)i(con)o +(taining)0 1424 y(these)g(elemen)o(ts.)j(If)c(the)g(b)q(o)q(dy)g(nev)o +(er)h(terminates,)e(this)h(series)h(is)f(un)o(b)q(ounded.)42 +1484 y(The)i Fv(input-list)f Fw(also)h(has)g(the)h(same)e(syn)o(tax)h +(as)g(the)h(binding)e(list)h(of)f(a)h Fs(let)p Fw(.)24 +b(The)0 1535 y(names)12 b(of)g(the)h(v)n(ariables)f(m)o(ust)g(b)q(e)h +(distinct)g(from)e(eac)o(h)i(other)g(and)g(the)g(names)f(of)g(the)0 +1587 y(v)n(ariables)f(in)g(the)h Fv(output-list)p Fw(.)k(The)c(v)n +(alues)f(can)h(b)q(e)g(series)h(or)e(non-series.)18 b(If)11 +b(the)h(v)n(alue)0 1639 y(is)i(not)g(explicitly)f(sp)q(eci\014ed,)i(it) +f(defaults)g(to)g Fs(nil)p Fw(.)k(The)d(v)n(ariables)e(act)i(logically) +d(b)q(oth)0 1691 y(as)h(inputs)h(and)f(state)h(v)n(ariables)f(and)g +(can)h(b)q(e)g(used)g(in)f(one)h(of)f(t)o(w)o(o)f(w)o(a)o(ys.)18 +b(First,)13 b(if)g(an)0 1743 y(input)g(v)n(ariable)f(is)h(asso)q +(ciated)g(with)g(a)g(non-series)h(v)n(alue,)e(then)h(it)g(is)g(giv)o +(en)f(this)h(v)n(alue)0 1795 y(b)q(efore)i(the)f(ev)n(aluation)f(of)g +(the)i(b)q(o)q(dy)f(b)q(egins)g(and)g(can)g(b)q(e)h(used)f(in)g(an)o(y) +f(w)o(a)o(y)h(desired)0 1847 y(in)f(the)i(b)q(o)q(dy)m(.)i(Second,)e +(if)e(an)g(input)h(v)n(ariable)f(is)g(asso)q(ciated)i(with)e(a)h +(series,)h(then)f(the)0 1899 y(v)n(ariable)h(is)h(giv)o(en)f(a)h +(generator)h(corresp)q(onding)g(to)f(this)g(series)i(as)e(its)g +(initial)e(v)n(alue.)0 1951 y(The)g(only)f(v)n(alid)g(w)o(a)o(y)g(to)h +(use)g(the)h(v)n(ariable)e(in)g(the)i(b)q(o)q(dy)e(is)h(in)g(a)f(call)g +(on)h Fs(next-in)p Fw(.)42 2010 y(There)g(can)g(b)q(e)g(declarations)g +(at)f(the)i(start)f(of)f(the)h(b)q(o)q(dy)m(.)j(Ho)o(w)o(ev)o(er,)d +(the)g(only)f(dec-)0 2062 y(larations)e(allo)o(w)o(ed)g(are)h +Fs(ignore)f Fw(declarations,)h(t)o(yp)q(e)g(declarations,)g(and)g +Fs(propagate-)0 2114 y(alterability)i Fw(declarations)i(\(see)h(b)q +(elo)o(w\).)25 b(In)16 b(particular,)g(it)g(is)g(an)f(error)i(for)f(an) +o(y)0 2166 y(of)d(the)i(input)e(or)h(output)g(v)n(ariables)g(to)f(b)q +(e)i(sp)q(ecial.)42 2225 y(In)g(conception,)h(the)g(b)q(o)q(dy)f(can)g +(con)o(tain)g(arbitrary)g(Lisp)g(expressions.)24 b(After)16 +b(the)0 2277 y(appropriate)e(generators)h(and)f(gatherers)i(ha)o(v)o(e) +e(b)q(een)h(set)g(up,)f(the)h(b)q(o)q(dy)f(is)g(executed)0 +2329 y(un)o(til)9 b(it)g(terminates.)16 b(If)10 b(the)g(b)q(o)q(dy)f +(nev)o(er)i(terminates,)f(the)g(series)h(outputs)f(\(if)f(an)o(y\))g +(are)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1032 1056 +1032 1055 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1032)78 b(COMMON)12 +b(LISP)0 295 y Fw(un)o(b)q(ounded)i(in)g(length)g(and)f(the)i +(non-series)g(outputs)f(\(if)g(an)o(y\))f(are)h(nev)o(er)h(pro)q +(duced.)42 347 y(Although)h(easy)h(to)g(understand,)i(this)e(view)g(of) +f(what)h(can)g(happ)q(en)h(in)e(the)i(b)q(o)q(dy)0 399 +y(presen)o(ts)c(sev)o(ere)g(di\016culties)e(when)h(optimizing)d(\(and)i +(ev)o(en)h(when)g(ev)n(aluating\))e(series)0 451 y(expressions)16 +b(that)f(con)o(tain)g(calls)f(on)h Fs(producing)p Fw(.)k(As)c(a)g +(result,)g(sev)o(eral)h(limitatio)o(ns)0 503 y(are)e(imp)q(osed)f(on)h +(the)g(form)e(of)i(the)g(b)q(o)q(dy)g(to)g(simplify)d(the)j(pro)q +(cessing)h(required.)42 556 y(The)i(\014rst)h(limitation)c(is)j(that,)h +(exclusiv)o(e)g(of)f(an)o(y)g(declarations,)g(the)h(b)q(o)q(dy)g(m)o +(ust)0 608 y(ha)o(v)o(e)h(the)g(form)e Fs(\(loop)j(\(tagbody)g(...\)\)) +p Fw(.)32 b(The)19 b(follo)o(wing)d(example)i(sho)o(ws)h(ho)o(w)0 +660 y Fs(producing)g Fw(could)h(b)q(e)h(used)g(to)f(implemen)o(t)e(a)i +(scanner)i(creating)f(an)f(un)o(b)q(ounded)0 711 y(series)15 +b(of)f(in)o(tegers.)0 805 y Fs(\(producing)19 b(\(nums\))h(\(\(num)g +(0\)\))42 857 y(\(declare)g(\(integer)f(num\))i(\(type)f(\(series)g +(integer\))f(nums\)\))42 908 y(\(loop)85 960 y(\(tagbody)127 +1012 y(\(setq)h(num)h(\(1+)f(num\)\))127 1064 y(\(next-out)f(nums)i +(num\)\)\)\))42 1116 y Ft(\))g Fs(#)105 1112 y(-)105 +1120 y(-)127 1116 y(Z\(1)f(2)h(3)g(4)g(...\))42 1208 +y Fw(The)11 b(second)h(limitation)c(is)j(that)g(the)h(form)e +Fs(terminate-produc)o(ing)e Fw(m)o(ust)i(b)q(e)i(used)0 +1260 y(to)g(terminate)g(the)h(execution)g(of)e(the)i(b)q(o)q(dy)m(.)k +(An)o(y)c(other)f(metho)q(d)g(of)g(terminating)e(the)0 +1312 y(b)q(o)q(dy)17 b(\(with)f Fs(return)p Fw(,)f(for)h(example\))g +(is)g(an)g(error.)27 b(The)17 b(follo)o(wing)d(example)h(sho)o(ws)0 +1364 y(ho)o(w)10 b Fs(producing)e Fw(could)i(b)q(e)h(used)g(to)f +(implemen)o(t)d(the)k(op)q(eration)f(of)g(summing)d(a)j(series.)0 +1416 y(The)18 b(function)f Fs(terminate-producing)d Fw(is)j(used)i(to)e +(stop)h(the)g(computation)e(when)0 1468 y Fs(numbers)c +Fw(runs)j(out)f(of)f(elemen)o(ts.)0 1561 y Fs(\(producing)19 +b(\(\(sum)h(0\)\))h(\(\(numbers)e(#)673 1557 y(-)673 +1565 y(-)695 1561 y(Z\(1)h(2)h(3\)\))g(num\))42 1613 +y(\(loop)85 1665 y(\(tagbody)127 1717 y(\(setq)f(num)h(\(next-in)e +(numbers)h(\(terminate-produc)o(ing\)\))o(\))127 1769 +y(\(setq)g(sum)h(\(+)f(sum)h(num\)\)\)\)\))42 1820 y +Ft(\))g Fs(6)42 1913 y Fw(The)13 b(third)g(limitation)d(is)j(that)g +(calls)g(on)g Fs(next-out)f Fw(asso)q(ciated)i(with)e(output)i(v)n +(ari-)0 1965 y(ables)h(m)o(ust)g(app)q(ear)g(at)g(top)h(lev)o(el)e(in)h +(the)h Fs(tagbody)e Fw(in)h(the)g(b)q(o)q(dy)m(.)22 b(They)16 +b(cannot)f(b)q(e)0 2017 y(nested)g(in)e(other)h(forms.)j(In)c +(addition,)f(an)i(output)f(v)n(ariable)g(can)h(b)q(e)g(the)g +(destination)0 2069 y(of)f(at)h(most)f(one)h(call)f(on)g +Fs(next-out)g Fw(and)g(if)g(it)h(is)f(the)i(destination)f(of)f(a)g +Fs(next-out)p Fw(,)f(it)0 2120 y(cannot)i(b)q(e)h(used)f(in)g(an)o(y)f +(other)i(w)o(a)o(y)m(.)42 2173 y(If)f(the)h(call)g(on)f +Fs(next-out)f Fw(for)i(a)g(giv)o(en)f(output)h(app)q(ears)h(in)e(the)i +(\014nal)e(part)h(of)f(the)0 2225 y Fs(tagbody)i Fw(in)i(the)g(b)q(o)q +(dy)m(,)g(after)g(ev)o(erything)g(other)g(than)g(other)g(calls)f(on)h +Fs(next-out)p Fw(,)0 2277 y(then)e(the)h(output)e(is)h(an)f(on-line)g +(output|a)g(new)h(v)n(alue)f(is)h(written)g(on)g(ev)o(ery)g(cycle)0 +2329 y(of)d(the)i(b)q(o)q(dy)m(.)i(Otherwise)f(the)e(output)g(is)g +(o\013-line.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1033 1057 +1033 1056 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SERIES)1194 b(1033)42 +295 y Fw(The)12 b(follo)o(wing)d(example)i(sho)o(ws)h(ho)o(w)g +Fs(producing)e Fw(could)i(b)q(e)g(used)h(to)f(split)g(a)f(series)0 +347 y(in)o(to)16 b(t)o(w)o(o)h(parts.)28 b(Items)17 b(are)g(read)h(in)f +(one)g(at)g(a)g(time)e(and)i(tested.)30 b(Dep)q(ending)17 +b(on)0 399 y(the)f(test,)h(they)e(are)h(written)g(to)g(one)f(of)g(t)o +(w)o(o)g(outputs.)24 b(Note)15 b(the)h(use)h(of)e(lab)q(els)g(and)0 +450 y(branc)o(hes)e(to)e(k)o(eep)i(the)f(calls)f(on)h +Fs(next-out)e Fw(at)h(top)h(lev)o(el.)17 b(Both)12 b(outputs)g(are)g +(o\013-line.)0 502 y(The)i(\014rst)h(example)e(ab)q(o)o(v)o(e)g(sho)o +(ws)h(an)g(on-line)f(output.)0 808 y Fs(\(producing)19 +b(\(items-1)h(items-2\))f(\(\(items)h(#)804 804 y(-)804 +812 y(-)826 808 y(Z\(1)g(-2)h(3)g(-4\)\))f(item\))42 +860 y(\(loop)85 912 y(\(tagbody)f(\(setq)h(item)h(\(next-in)e(items)h +(\(terminate-producin)o(g\)\)\))275 963 y(\(if)h(\(not)f(\(plusp)g +(item\)\))g(\(go)h(D\)\))275 1015 y(\(next-out)f(items-1)f(item\))275 +1067 y(\(go)i(F\))127 1119 y(D)127 b(\(next-out)19 b(items-2)h(item\)) +127 1171 y(F)127 b(\)\)\))42 1223 y Ft(\))21 b Fs(#)105 +1219 y(-)105 1227 y(-)127 1223 y(Z\(1)f(3\))h Fw(and)g +Fs(#)366 1219 y(-)366 1227 y(-)388 1223 y(Z\(-2)f(-4\))42 +1506 y Fw(The)d(fourth)f(limitation)d(is)k(that)f(the)i(calls)e(on)g +Fs(next-in)f Fw(asso)q(ciated)j(with)e(an)g(in-)0 1558 +y(put)g(v)n(ariable)g Fs(v)g Fw(m)o(ust)f(app)q(ear)h(at)g(top)h(lev)o +(el)e(in)h(the)h Fs(tagbody)e Fw(in)g(the)i(b)q(o)q(dy)m(,)f(nested)0 +1610 y(in)g(assignmen)o(ts)g(of)g(the)h(form)e Fs(\(setq)20 +b Fv(var)h Fs(\(next-in)f(v)g(...\)\))p Fw(.)25 b(They)17 +b(cannot)g(b)q(e)0 1662 y(nested)e(in)e(other)h(forms.)j(In)c +(addition,)f(an)h(input)h(v)n(ariable)e(can)i(b)q(e)g(the)g(source)h +(for)e(at)0 1714 y(most)h(one)h(call)g(on)f Fs(next-in)g +Fw(and)h(if)f(it)h(is)g(the)h(source)g(for)f(a)g Fs(next-in)p +Fw(,)e(it)i(cannot)g(b)q(e)0 1766 y(used)g(in)e(an)o(y)h(other)g(w)o(a) +o(y)m(.)42 1840 y(If)h(the)h(call)e(on)i Fs(next-in)e +Fw(for)h(a)g(giv)o(en)g(input)g(has)h(as)f(its)h(sole)f(termination)f +(action)0 1892 y Fs(\(terminate-produc)o(ing\))g Fw(and)k(app)q(ears)h +(in)e(the)h(initial)e(part)i(of)f(the)i Fs(tagbody)d +Fw(in)0 1944 y(the)d(b)q(o)q(dy)m(,)e(b)q(efore)i(an)o(ything)f(other)g +(than)g(similar)e(calls)i(on)g Fs(next-in)p Fw(,)e(then)j(the)g(input)0 +1995 y(is)f(an)f(on-line)g(input|a)g(new)h(v)n(alue)f(is)g(read)i(on)e +(ev)o(ery)i(cycle)f(of)f(the)h(b)q(o)q(dy)m(.)17 b(Otherwise)0 +2047 y(the)d(input)g(is)g(o\013-line.)42 2121 y(The)d(example)e(b)q +(elo)o(w)i(sho)o(ws)g(ho)o(w)f Fs(producing)f Fw(could)i(b)q(e)h(used)f +(to)g(concatenate)h(t)o(w)o(o)0 2173 y(series.)19 b(T)m(o)12 +b(start)i(with,)e(elemen)o(ts)g(are)i(read)f(from)e(the)i(\014rst)h +(input)f(series.)19 b(When)13 b(this)0 2225 y(runs)h(out,)f(a)g(\015ag) +g(is)g(set)i(and)e(reading)g(b)q(egins)h(from)e(the)i(second)g(input.)k +(Both)c(inputs)0 2277 y(are)19 b(o\013-line.)32 b(\(Compare)18 +b(this)h(to)g(the)g(example)f(ab)q(o)o(v)o(e,)h(whic)o(h)g(sho)o(ws)g +(an)g(on-line)0 2329 y(input.\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1034 1058 +1034 1057 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1034)78 b(COMMON)12 +b(LISP)0 295 y Fs(\(producing)19 b(\(items\))h(\(\(item-1)f(#)608 +291 y(-)608 299 y(-)630 295 y(Z\(1)i(2\)\))423 347 y(\(item-2)f(#)597 +343 y(-)597 351 y(-)619 347 y(Z\(3)g(4\)\))423 399 y(\(in-2)h(nil\))423 +450 y(item\))42 502 y(\(loop)85 554 y(\(tagbody)e(\(if)i(in-2)f(\(go)h +(D\)\))275 606 y(\(setq)f(item)h(\(next-in)e(item-1)h(\(setq)g(in-2)h +(t\))f(\(go)h(D\)\)\))275 658 y(\(go)g(F\))127 710 y(D)127 +b(\(setq)20 b(item)g(\(next-in)g(item-2)g(\(terminate-produ)o(cing\))o +(\)\))127 762 y(F)127 b(\(next-out)19 b(items)h(item\)\)\)\))42 +814 y Ft(\))h Fs(#)105 810 y(-)105 818 y(-)127 814 y(Z\(1)f(2)h(3)g +(4\))-33 1143 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 1171 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(terminate-produci)o(ng)0 1253 y Fw(This)14 b(form)e(\(whic)o(h)i +(tak)o(es)h(no)e(argumen)o(ts\))h(is)g(used)h(to)e(terminate)h +(execution)h(of)e(\(the)0 1305 y(expansion)h(of)s(\))f(the)i +Fs(producing)d Fw(macro.)42 1361 y(As)17 b(with)h(the)g(form)d +Fs(go)p Fw(,)j Fs(terminate-produc)o(ing)c Fw(do)q(es)k(not)g(return)g +(an)o(y)f(v)n(alues;)0 1413 y(rather,)d(con)o(trol)g(immedia)o(tely)d +(lea)o(v)o(es)j(the)h(curren)o(t)g(con)o(text.)42 1470 +y(The)e(form)f Fs(terminate-produci)o(ng)e Fw(is)j(allo)o(w)o(ed)f(to)h +(app)q(ear)h(only)f(in)g(a)g Fs(producing)0 1522 y Fw(b)q(o)q(dy)h(and) +g(causes)h(the)f(termination)f(of)g(the)h(enclosing)g(call)f(on)h +Fs(producing)p Fw(.)1001 1879 y([)p Fv(De)n(clar)n(ation)g(sp)n(e)n +(ci\014er)t Fw(])-1395 b Fs(propagate-alterab)o(ility)0 +1961 y Fw(The)11 b(declaration)g(sp)q(eci\014er)h Fs +(\(propagate-alterabi)o(lity)18 b Fv(input)j(output)p +Fs(\))11 b Fw(indicates)0 2013 y(that)h(attempts)g(to)g(alter)h(an)f +(elemen)o(t)g(of)f Fv(output)i Fw(should)f(b)q(e)h(satis\014ed)g(b)o(y) +f(altering)g(the)0 2065 y(corresp)q(onding)17 b(elemen)o(t)f(of)g +Fv(input)p Fw(.)25 b(\(The)17 b(corresp)q(onding)g(elemen)o(t)f(of)f +Fv(input)i Fw(is)f(the)0 2116 y(one)e(most)f(recen)o(tly)i(read)f(at)g +(the)g(momen)o(t)e(when)i(the)g(output)h(elemen)o(t)e(is)h(written.\)) +42 2173 y(This)21 b(declaration)h(ma)o(y)e(app)q(ear)i(only)f(in)h(a)f +(call)g(on)h Fs(producing)p Fw(.)40 b(The)22 b Fv(input)0 +2225 y Fw(and)16 b Fv(output)h Fw(argumen)o(ts)f(m)o(ust)f(b)q(e)i(an)f +(input)g(and)g(an)g(output,)h(resp)q(ectiv)o(ely)m(,)g(of)f(the)0 +2277 y Fs(producing)e Fw(macro.)24 b(The)16 b(example)f(b)q(elo)o(w)h +(sho)o(ws)g(ho)o(w)g(the)g(propagation)f(of)h(alter-)0 +2329 y(abilit)o(y)c(could)i(b)q(e)g(supp)q(orted)i(in)d(a)h +(simpli\014ed)e(v)o(ersion)i(of)f Fs(until)p Fw(.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1035 1059 +1035 1058 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(SERIES)1194 b(1035)0 +295 y Fs(\(defun)20 b(simple-until)f(\(bools)h(items\))42 +347 y(\(declare)g(\(optimizable-seri)o(es-fu)o(ncti)o(on\)\))42 +399 y(\(producing)f(\(z\))i(\(\(x)g(bools\))e(\(y)i(items\))f(bool)h +(item\))85 450 y(\(declare)e(\(propagate-alterab)o(ility)f(y)j(z\)\))85 +502 y(\(loop)127 554 y(\(tagbody)169 606 y(\(setq)g(bool)f(\(next-in)f +(x)i(\(terminate-producin)o(g\)\)\))169 658 y(\(setq)g(item)f +(\(next-in)f(y)i(\(terminate-producin)o(g\)\)\))169 710 +y(\(if)g(bool)f(\(terminate-producin)o(g\)\))169 762 +y(\(next-out)g(z)h(item\)\)\)\)\))-33 848 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 877 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(encapsulated)33 b Fv(enc)n(apsulating-fn)15 b(sc)n(anner-or-c)n +(ol)r(le)n(ctor)0 953 y Fw(Some)9 b(of)h(the)h(features)h(pro)o(vided)e +(b)o(y)g(Common)d(Lisp)j(are)h(supp)q(orted)h(solely)e(b)o(y)g(encap-)0 +1005 y(sulating)k(forms.)k(F)m(or)c(example,)f(there)j(is)e(no)h(w)o(a) +o(y)e(to)i(sp)q(ecify)g(a)f(clean)o(up)h(expression)0 +1057 y(that)h(will)e(alw)o(a)o(ys)g(b)q(e)i(run,)g(ev)o(en)h(when)f(an) +f(ab)q(ort)h(o)q(ccurs,)h(without)e(using)g Fs(unwind-)0 +1109 y(protect)p Fw(.)h Fs(encapsulated)10 b Fw(mak)o(es)h(it)h(p)q +(ossible)h(to)f(tak)o(e)h(adv)n(an)o(tage)f(of)f(forms)g(suc)o(h)j(as)0 +1161 y Fs(unwind-protect)d Fw(when)j(de\014ning)g(a)g(series)h +(function.)42 1213 y Fs(encapsulated)7 b Fw(sp)q(eci\014es)12 +b(a)d(function)h(that)g(places)g(an)g(encapsulating)g(form)e(around)0 +1265 y(the)13 b(computation)e(p)q(erformed)g(b)o(y)i(its)f(second)h +(argumen)o(t.)k(The)12 b(\014rst)i(argumen)o(t)d(m)o(ust)0 +1317 y(b)q(e)j(a)g(quoted)g(function)g(that)g(tak)o(es)g(a)g(Lisp)f +(expression)i(and)f(wraps)g(the)h(appropriate)0 1369 +y(encapsulating)e(form)e(around)h(it,)g(returning)h(the)h(resulting)f +(co)q(de.)18 b(The)13 b(second)h(input)0 1420 y(m)o(ust)f(b)q(e)i(a)f +(literal)f(call)g(on)h Fs(scan-fn)p Fw(,)e Fs(scan-fn-inclusive)p +Fw(,)f(or)j Fs(collect-fn)p Fw(.)i(The)0 1472 y(second)h(argumen)o(t)d +(can)i(coun)o(t)g(on)g(b)q(eing)f(ev)n(aluated)h(in)f(the)h(scop)q(e)h +(of)e(the)i(encapsu-)0 1524 y(lating)12 b(form.)k(The)d(v)n(alues)g +(returned)i(b)o(y)d(the)i(second)g(argumen)o(t)e(are)h(returned)i(as)e +(the)0 1576 y(v)n(alues)k(of)g Fs(encapsulated)p Fw(.)25 +b(The)18 b(follo)o(wing)d(sho)o(ws)i(ho)o(w)g Fs(encapsulated)e +Fw(could)i(b)q(e)0 1628 y(used)e(to)f(de\014ne)g(a)g(simpli\014ed)e(v)o +(ersion)i(of)f Fs(collect-file)p Fw(.)0 1711 y Fs(\(defun)20 +b(collect-file-wrap)e(\(file)i(name)g(body\))42 1763 +y(`\(with-open-file)e(\(,file)i(,name)g(:direction)f(:output\))h +(,body\)\))0 1867 y(\(defmacro)f(simple-collect-file)f(\(name)i +(items\))42 1919 y(\(let)h(\(\(file)f(\(gensym\)\)\))82 +1975 y Fn(`)106 1971 y Fs(\(encapsulated)e(#)410 1967 +y(-)410 1975 y(-)n Fn(')453 1971 y Fs(\(lambda)i(\(body\))487 +2022 y(\(collect-file-wra)o(p)898 2026 y Fn(')922 2022 +y Fs(,file)1049 2026 y Fn(')1073 2022 y Fs(,name)g(body\)\))402 +2074 y(\(collect-fn)f(t)i(#)706 2070 y(-)706 2078 y(-)n +Fn(')749 2074 y Fs(\(lambda)f(\(\))h(t\))656 2126 y(#)656 +2122 y(-)656 2130 y(-)n Fn(')699 2126 y Fs(\(lambda)f(\(state)g(item\)) +741 2178 y(\(print)g(item)g(,file\))741 2230 y(state\))656 +2282 y(,items\)\)\)\))-33 2298 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 46 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1036 1060 +1036 1059 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(App)r(endix)21 +b(B)p 0 448 598 9 v 0 531 a Fp(Generato)n(rs)31 b(and)f(Gatherers)0 +683 y Fx(BY)13 b(CRISPIN)f(PERDUE)h(AND)h(RICHARD)e(C.)h(W)m(A)m(TERS)0 +950 y Fr(p)t(r)t(e)t(f)t(a)t(c)t(e)t(:)26 b Fw(Generators)18 +b(and)f(gatherers)h(are)g(y)o(et)f(another)g(approac)o(h,)g(closely)g +(re-)-33 922 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 1002 a(lated)d(to)g(series,)g(to)g(pro)o(viding)f +(iteration)g(in)h(a)f(functional)g(st)o(yle.)42 1054 +y(The)i(remainder)g(of)g(this)h(c)o(hapter)g(consists)h(of)e(a)g +(description)h(b)o(y)f(Crispin)g(P)o(erdue)0 1106 y(and)h(Ric)o(hard)f +(C.)h(W)m(aters)g(of)f(their)h(w)o(ork)g(on)g(an)f(existing)h(implemen) +o(tatio)o(n)d(of)j(gen-)0 1158 y(erators)f(and)f(gatherers.)19 +b(I)14 b(ha)o(v)o(e)g(edited)g(the)h(c)o(hapter)g(only)e(v)o(ery)h +(ligh)o(tly)e(to)i(conform)0 1210 y(to)f(the)h(o)o(v)o(erall)f(st)o +(yle)g(of)g(this)h(b)q(o)q(ok.)k(Please)c(see)h(the)f(Preface)g(to)g +(this)f(b)q(o)q(ok)h(for)f(more)0 1262 y(information)h(ab)q(out)j(the)h +(genesis)g(of)f(the)h(generators/gatherers)i(approac)o(h)d(and)g(its)0 +1314 y(relationship)c(to)h(the)h(w)o(ork)e(of)g(X3J13.)1042 +1366 y(|Guy)f(L.)i(Steele)h(Jr.)0 1461 y Fo(B.1.)20 b(In)n(tro)r +(duction)0 1550 y Fw(Generators)11 b(are)g(generalized)g(input)f +(streams)g(in)g(the)h(sense)h(of)e(Smalltalk)d([20)o(].)16 +b(A)11 b(gen-)0 1601 y(erator)j(can)g(pro)q(duce)g(a)g(p)q(oten)o +(tially)e(un)o(b)q(ounded)i(n)o(um)o(b)q(er)f(of)g(elemen)o(ts)g(of)g +(an)o(y)g(t)o(yp)q(e.)0 1653 y(Individual)g(elemen)o(ts)h(are)g(not)g +(computed)g(un)o(til)f(requested)j(b)o(y)e Fs(next-in)p +Fw(.)k(When)c(an)0 1705 y(elemen)o(t)i(is)g(tak)o(en)h(from)e(a)h +(generator,)h(it)g(is)f(remo)o(v)o(ed)g(b)o(y)g(side)h(e\013ect.)27 +b(Subsequen)o(t)0 1757 y(uses)15 b(of)e Fs(next-in)g +Fw(obtain)g(later)h(elemen)o(ts.)42 1809 y(There)d(is)f(a)f(close)i +(relationship)f(b)q(et)o(w)o(een)h(a)f(generator)h(and)f(a)f(series)j +(of)d(the)i(elemen)o(ts)0 1861 y(it)i(pro)q(duces.)20 +b(In)13 b(particular,)g(an)o(y)g(series)i(can)f(b)q(e)g(con)o(v)o +(erted)g(in)o(to)f(a)g(generator.)19 b(As)14 b(a)0 1913 +y(result,)g(all)e(the)i(scanner)h(functions)e(used)h(for)f(creating)h +(series)h(\(see)g(app)q(endix)e(A\))h(can)0 1965 y(b)q(e)h(used)g(to)f +(create)i(generators)f(as)f(w)o(ell.)19 b(There)c(is)f(no)g(need)h(to)f +(ha)o(v)o(e)g(a)g(separate)i(set)0 2017 y(of)d(functions)h(for)g +(creating)g(generators.)42 2069 y(Gatherers)19 b(are)g(generalized)g +(output)g(streams.)32 b(Elemen)o(ts)18 b(of)f(an)o(y)h(t)o(yp)q(e)h +(can)g(b)q(e)0 2121 y(en)o(tered)c(in)o(to)e(a)g(gatherer)i(using)e +Fs(next-out)p Fw(.)j(The)e(gatherer)h(com)o(bines)e(the)h(elemen)o(ts)0 +2173 y(together)f(in)f(time-sequence)h(order)g(in)o(to)f(a)g(net)h +(result.)18 b(This)13 b(result)g(can)f(b)q(e)h(retriev)o(ed)0 +2225 y(using)h Fs(result-of)p Fw(.)42 2277 y(There)d(is)e(a)h(close)g +(relationship)g(b)q(et)o(w)o(een)h(a)f(gatherer)h(and)e(a)h(collector)g +(function)g(that)0 2329 y(com)o(bines)k(elemen)o(ts)g(in)g(the)h(same)e +(w)o(a)o(y)m(.)19 b(In)14 b(particular,)g(an)o(y)g(one-input)g +(one-output)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2428 a Fy(1036)p eop +%%Page: 1037 1061 +1037 1060 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(GENERA)m(TORS)13 +b(AND)f(GA)m(THERERS)746 b(1037)0 295 y Fw(collector)14 +b(can)f(b)q(e)h(con)o(v)o(erted)h(in)o(to)d(a)h(gatherer.)19 +b(As)14 b(a)f(result,)h(all)e(the)i(collectors)g(used)0 +347 y(for)i(computing)e(summary)g(results)j(from)e(series)i(can)f(b)q +(e)h(used)g(to)f(create)i(gatherers.)0 399 y(There)d(is)f(no)f(need)i +(to)f(ha)o(v)o(e)g(a)f(separate)i(set)g(of)e(functions)h(for)g +(creating)g(gatherers.)0 562 y Fo(B.2.)20 b(Generators)0 +651 y Fw(These)15 b(functions)f(create)h(and)f(pro)q(cess)i +(generators.)1209 795 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(generator)19 b Fv(series)0 872 y Fw(Giv)o(en)13 +b(a)h(series,)h Fs(generator)c Fw(returns)16 b(a)d(generator)i(con)o +(taining)e(the)h(same)f(elemen)o(ts.)-33 987 y @beginspecial +@setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 1015 a([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(next-in)34 b Fv(gener)n(ator)21 b Ft(f)p Fv(action)p +Ft(g)532 1000 y Fl(\003)0 1092 y Fs(next-in)10 b Fw(returns)j(the)e +(next)h(elemen)o(t)f(in)g(the)g(generator)h Fv(gener)n(ator)p +Fw(.)17 b(The)12 b Fv(actions)g Fw(can)0 1144 y(b)q(e)j(an)o(y)f(Lisp)g +(expressions.)22 b(They)15 b(are)g(ev)n(aluated)f(if)f(and)i(only)e(if) +h(no)g(more)g(elemen)o(ts)0 1196 y(can)d(b)q(e)h(retriev)o(ed)g(from)e +Fv(gener)n(ator)p Fw(.)17 b(If)10 b(there)j(are)e(no)g(more)f(elemen)o +(ts)h(and)g(no)g(actions,)0 1248 y(it)16 b(is)h(an)f(error.)28 +b(It)16 b(is)h(also)f(an)g(error)i(to)f(apply)f Fs(next-in)f +Fw(to)h(a)h(generator)g(a)g(second)0 1300 y(time)9 b(after)i(the)h +(generator)f(has)g(run)g(out)g(of)f(elemen)o(ts.)17 b(As)11 +b(an)f(example)g(of)g(generators,)0 1352 y(consider)15 +b(the)f(follo)o(wing.)0 1440 y Fs(\(let)20 b(\(\(x)h(\(generator)e +(\(scan)562 1444 y Fn(')585 1440 y Fs(\(1)i(2)g(3)g(4\)\)\)\)\))42 +1492 y(\(with-output-to-str)o(ing)d(\(s\))85 1544 y(\(loop)i(\(prin1)g +(\(next-in)f(x)i(\(return\)\))f(s\))212 1596 y(\(prin1)g(\(next-in)f(x) +i(\(return\)\))e(s\))212 1648 y(\(princ)h(",")g(s\)\)\)\))21 +1700 y Ft(\))h Fs("12,34,")0 1863 y Fo(B.3.)f(Gatherers)0 +1953 y Fw(These)15 b(functions)f(create)h(and)f(pro)q(cess)i +(gatherers.)1209 2096 y([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(gatherer)20 b Fv(c)n(ol)r(le)n(ctor)0 2173 y Fw(The)j +Fv(c)n(ol)r(le)n(ctor)f Fw(m)o(ust)f(b)q(e)j(a)e(function)g(of)g(t)o +(yp)q(e)i Fs(\(function)19 b(\(\(series)g Fh(t)1244 2179 +y Fk(1)1263 2173 y Fs(\)\))i Fh(t)1343 2179 y Fk(2)1361 +2173 y Fs(\))p Fw(.)0 2225 y(Giv)o(en)d(this)h(function,)g +Fs(gatherer)e Fw(returns)k(a)d(gatherer)i(that)f(accepts)i(elemen)o(ts) +d(of)0 2277 y(t)o(yp)q(e)e Fh(t)110 2283 y Fk(1)144 2277 +y Fw(and)f(returns)h(a)f(\014nal)g(result)h(of)e(t)o(yp)q(e)i +Fh(t)775 2283 y Fk(2)794 2277 y Fw(.)22 b(The)15 b(metho)q(d)g(for)g +(com)o(bining)e(ele-)0 2329 y(men)o(ts)g(used)i(b)o(y)f(the)g(gatherer) +h(is)f(the)g(same)f(as)h(the)h(one)f(used)h(b)o(y)e(the)i +Fv(c)n(ol)r(le)n(ctor)p Fw(.)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1038 1062 +1038 1061 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1038)78 b(COMMON)12 +b(LISP)1209 295 y Fw([)p Fv(F)m(unction)s Fw(])-1395 +b Fs(next-out)20 b Fv(gather)n(er)25 b(item)0 372 y Fw(Giv)o(en)13 +b(a)h(gatherer)h(and)e(a)h(v)n(alue,)f Fs(next-out)f +Fw(en)o(ters)j(the)g(v)n(alue)e(in)o(to)g(the)i(gatherer.)1209 +537 y([)p Fv(F)m(unction)s Fw(])-1395 b Fs(result-of)19 +b Fv(gather)n(er)0 615 y Fs(result-of)9 b Fw(retriev)o(es)k(the)f(net)g +(result)g(from)d(a)i(gatherer.)19 b Fs(result-of)9 b +Fw(can)i(b)q(e)h(applied)0 667 y(at)k(an)o(y)g(time.)24 +b(Ho)o(w)o(ev)o(er,)17 b(it)f(is)g(an)g(error)h(to)f(apply)g +Fs(result-of)e Fw(t)o(wice)j(to)f(the)h(same)0 719 y(gatherer)11 +b(or)g(to)f(apply)g Fs(next-out)e Fw(to)j(a)f(gatherer)h(once)g +Fs(result-of)e Fw(has)h(b)q(een)i(applied.)0 812 y Fs(\(let)20 +b(\(\(g)h(\(gatherer)e(#)412 808 y(-)412 816 y(-)n Fn(')455 +812 y Fs(collect-sum\)\)\))42 863 y(\(dolist)h(\(i)279 +867 y Fn(')302 863 y Fs(\(1)h(2)g(3)g(4\)\))85 915 y(\(next-out)e(g)i +(i\))85 967 y(\(if)f(\(evenp)g(i\))h(\(next-out)e(g)i(\(*)g(10)g +(i\)\)\)\))42 1019 y(\(result-of)e(g\)\))21 1071 y Ft(\))i +Fs(70)-33 1208 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 1255 1236 a Fw([)p Fv(Macr)n(o)s Fw(])-1396 +b Fs(gathering)33 b(\()7 b Ft(f)p Fs(\()p Fv(var)14 b(fn)p +Fs(\))p Ft(g)454 1221 y Fl(\003)480 1236 y Fs(\))21 b +Ft(f)7 b Fv(form)p Ft(g)658 1221 y Fl(\003)0 1313 y Fw(The)15 +b(\014rst)f(subform)f(m)o(ust)g(b)q(e)i(a)f(list)f(of)h(pairs.)k(The)d +(\014rst)g(elemen)o(t)e(of)h(eac)o(h)g(pair,)f Fv(var)p +Fw(,)0 1365 y(m)o(ust)k(b)q(e)h(a)g(v)n(ariable)f(name.)29 +b(The)18 b(second)h(elemen)o(t)e(of)h(eac)o(h)g(pair,)g +Fv(fn)p Fw(,)h(m)o(ust)d(b)q(e)j(a)0 1417 y(form)d(that)h(when)h(wrapp) +q(ed)h(in)e Fs(\(function)i(...\))e Fw(is)g(acceptable)i(as)f(an)f +(argumen)o(t)0 1469 y(to)e Fs(gatherer)p Fw(.)k(Eac)o(h)c(sym)o(b)q(ol) +e(is)h(b)q(ound)h(to)g(a)f(gatherer)i(constructed)h(from)c(the)i(cor-)0 +1521 y(resp)q(onding)h(collector.)22 b(The)16 b(b)q(o)q(dy)f +(\(consisting)h(of)e(the)i Fv(forms)p Fw(\))f(is)g(ev)n(aluated)g(in)g +(the)0 1573 y(scop)q(e)20 b(of)e(these)i(bindings.)32 +b(When)18 b(this)h(ev)n(aluation)e(is)i(complete,)g Fs(gathering)d +Fw(re-)0 1625 y(turns)h(the)g Fs(result-of)e Fw(eac)o(h)h(gatherer.)27 +b(If)16 b(there)h(are)g Fh(n)f Fw(pairs)h(in)e(the)i(binding)f(list,)0 +1677 y Fs(gathering)c Fw(returns)j Fh(n)f Fw(v)n(alues.)k(F)m(or)13 +b(example:)0 1770 y Fs(\(defun)20 b(examp)g(\(data\))42 +1822 y(\(gathering)f(\(\(x)i(collect\))f(\(y)g(collect-sum\)\))85 +1873 y(\(iterate)f(\(\(i)i(\(scan)f(data\)\)\))127 1925 +y(\(case)g(\(first)g(i\))169 1977 y(\(:slot)g(\(next-out)g(x)h +(\(second)e(i\)\)\))169 2029 y(\(:part)h(\(dolist)g(\(j)h(\(second)e +(i\)\))i(\(next-out)e(x)i(j\)\)\)\))127 2081 y(\(next-out)e(y)i +(\(third)f(i\)\)\)\)\))0 2185 y(\(examp)150 2189 y Fn(')173 +2185 y Fs(\(\(:slot)g(a)h(10\))f(\(:part)g(\(c)h(d\))g(40\)\)\))f +Ft(\))h Fs(\(a)f(c)h(d\))g Fw(and)g Fs(50)42 2277 y Fw(As)13 +b(a)f(further)i(illustration)d(of)i(gatherers,)h(consider)f(the)h +(follo)o(wing)c(de\014nition)j(for)f(a)0 2329 y(simpli\014ed)g(v)o +(ersion)i(of)f Fs(gathering)f Fw(that)i(handles)g(only)f(one)i(binding) +d(pair.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1039 1063 +1039 1062 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(GENERA)m(TORS)13 +b(AND)f(GA)m(THERERS)746 b(1039)0 295 y Fs(\(defmacro)19 +b(simple-gathering)f(\(\(\(var)i(collector\)\))f(&body)h(body\))40 +351 y Fn(`)64 347 y Fs(\(let)g(\(\(,var)g(\(gatherer)f(\(function)g +(,collector\)\)\)\))106 399 y(,@body)106 450 y(\(result-of)g +(,var\)\)\))0 535 y Fw(The)14 b(full)f(capabilities)g(of)g +Fs(gathering)f Fw(can)i(b)q(e)h(supp)q(orted)g(in)e(m)o(uc)o(h)g(the)i +(same)e(w)o(a)o(y)m(.)0 685 y Fo(B.4.)20 b(Discussion)0 +770 y Fw(The)c(idea)g(of)f(generators)i(and)f(gatherers)h(w)o(as)f +(\014rst)g(prop)q(osed)h(b)o(y)e(P)o(a)o(v)o(el)h(Curtis.)24 +b(A)0 822 y(k)o(ey)16 b(asp)q(ect)h(of)e(his)g(prop)q(osal)h(w)o(as)f +(the)h(realization)f(that)h(generators)h(and)e(gatherers)0 +874 y(can)f(b)q(e)h(implemen)o(ted)d(simply)g(and)i(elegan)o(tly)g(as)g +(closures)i(and)e(that)g(these)i(closures)0 926 y(can)e(b)q(e)h +(compiled)d(v)o(ery)i(e\016cien)o(tly)g(if)f(certain)h(conditions)g +(are)g(met.)42 978 y(First,)c(the)g(compiler)e(m)o(ust)h(supp)q(ort)h +(an)g(optimization)d(Curtis)i(calls)h(\\)p Fs(let)e Fw(ev)o(ersion")0 +1029 y(in)19 b(addition)f(to)i(the)g(optimization)d(metho)q(ds)i +(presen)o(ted)j(in)d([45)o(].)34 b(If)19 b(a)g(closure)i(is)0 +1081 y(created)f(and)e(used)i(en)o(tirely)e(within)g(a)g(limited)e +(lexical)i(scop)q(e,)i(the)f(scop)q(es)h(of)e(an)o(y)0 +1133 y(b)q(ound)c(v)n(ariables)e(nested)j(in)e(the)h(closure)h(can)e(b) +q(e)h(enlarged)g(\(ev)o(erted\))h(to)e(enclose)i(all)0 +1185 y(the)f(uses)h(of)e(the)h(closure.)k(This)c(allo)o(ws)e(the)i(v)n +(ariables)f(to)g(b)q(e)h(allo)q(cated)f(on)g(the)h(stac)o(k)0 +1237 y(rather)h(than)f(the)g(heap.)42 1289 y(Second,)g(for)f(a)h +(generator/gatherer)i(closure)f(to)e(b)q(e)i(compiled)d(e\016cien)o +(tly)m(,)h(it)h(m)o(ust)0 1341 y(b)q(e)f(p)q(ossible)g(to)f(determine)h +(at)f(compile)f(time)g(exactly)i(what)f(closure)h(is)g(in)o(v)o(olv)o +(ed)e(and)0 1393 y(exactly)k(what)h(the)g(scop)q(e)g(of)f(use)h(of)f +(the)h(closure)g(is.)22 b(There)16 b(are)g(sev)o(eral)g(asp)q(ects)h +(to)0 1445 y(this.)29 b(The)18 b(expression)g(creating)g(the)g +(generator/gatherer)h(cannot)f(refer)g(to)g(a)f(free)0 +1496 y(series)j(v)n(ariable.)29 b(The)19 b(generator/gatherer)h(m)o +(ust)d(b)q(e)i(stored)g(in)f(a)g(lo)q(cal)f(v)n(ariable.)0 +1548 y(This)d(v)n(ariable)f(m)o(ust)f(b)q(e)j(used)g(only)e(in)g(calls) +h(of)f Fs(next-in)p Fw(,)f Fs(next-out)p Fw(,)g(and)h +Fs(result-)0 1600 y(of)p Fw(,)h(and)h(not)g(inside)g(a)g(closure.)22 +b(In)15 b(particular)g(the)g(generator/gatherer)i(cannot)e(b)q(e)0 +1652 y(stored)f(in)e(a)h(data)f(structure,)j(stored)f(in)e(a)h(sp)q +(ecial)g(v)n(ariable,)e(or)i(returned)i(as)d(a)h(result)0 +1704 y(v)n(alue.)42 1756 y(All)g(of)g(the)i(examples)e(ab)q(o)o(v)o(e)h +(satisfy)g(these)h(restrictions.)20 b(F)m(or)14 b(instance,)g(once)h +(the)0 1808 y(uses)f(of)d Fs(gathering)g Fw(and)h Fs(iterate)f +Fw(ha)o(v)o(e)h(b)q(een)h(optimized,)e(the)i(b)q(o)q(dy)f(of)g +Fs(examp)f Fw(is)i(as)0 1860 y(e\016cien)o(t)h(as)g(an)o(y)g(lo)q(op)f +(p)q(erforming)f(the)j(same)e(computation.)42 1912 y(The)19 +b(implemen)o(tation)d(discussed)22 b(in)d([52)o(])g(includes)h(a)f(p)q +(ortable)h(Commo)o(n)d(Lisp)0 1963 y(implemen)o(tatio)o(n)e(of)j +(generators)h(and)e(gatherers.)32 b(Although)17 b(the)h(implemen)o +(tation)0 2015 y(do)q(es)13 b(not)f(supp)q(ort)g(optimizations)e(of)h +(the)i(kind)e(discussed)j(in)d([45)o(],)h(it)f(fully)g(optimizes)0 +2067 y(uses)k(of)e Fs(gathering)p Fw(.)-33 2079 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 265 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1040 1064 +1040 1063 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 191 a FB(App)r(endix)21 +b(C)p 0 448 598 9 v 0 531 a Fp(Backquote)42 910 y Fw(Here)j(is)f(the)g +(co)q(de)h(for)f(an)g(implemen)o(tatio)o(n)d(of)j(bac)o(kquote)g(syn)o +(tax)g(\(see)i(sec-)-33 882 y @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 962 a(tion)18 b(22.1.3\))f(that)i(I)g(ha)o(v)o(e)f +(found)h(quite)g(useful)f(in)h(explaining)e(to)i(m)o(yself)e(the)i(b)q +(e-)0 1014 y(ha)o(vior)e(of)g(nested)j(bac)o(kquotes.)30 +b(It)18 b(implemen)o(ts)e(the)i(formal)d(rules)k(for)e(bac)o(kquote)0 +1066 y(pro)q(cessing)h(and)f(optionally)e(applies)h(a)h(co)q(de)h +(simpli\014er)d(to)i(the)g(result.)28 b(One)18 b(m)o(ust)0 +1118 y(b)q(e)13 b(v)o(ery)h(careful)f(in)f(c)o(ho)q(osing)g(the)i +(simpli\014cation)c(rules;)j(the)h(rules)f(giv)o(en)g(here)g(w)o(ork,)0 +1170 y(but)f(some)f(Common)e(Lisp)i(implemen)o(tations)e(ha)o(v)o(e)j +(run)g(in)o(to)f(trouble)h(at)g(one)g(time)f(or)0 1222 +y(another)16 b(b)o(y)f(using)g(a)g(simpli\014cation)e(rule)j(that)f(do) +q(es)i(not)e(w)o(ork)g(in)g(all)f(cases.)24 b(Co)q(de)0 +1273 y(transformations)15 b(that)i(are)g(plausible)f(when)h(single)f +(forms)g(are)h(in)o(v)o(olv)o(ed)e(are)i(lik)o(ely)0 +1325 y(to)d(fail)e(in)i(the)g(presence)i(of)e(splicing.)42 +1378 y(A)o(t)h(the)g(end)h(of)e(this)i(app)q(endix)f(are)g(some)f +(samples)g(of)h(nested)h(bac)o(kquote)g(syn)o(tax)0 1430 +y(with)e(commen)o(tary)m(.)0 1482 y Fs(;;;)21 b(Common)e(Lisp)i +(backquote)e(implementation,)f(written)i(in)h(Common)f(Lisp.)0 +1534 y(;;;)h(Author:)e(Guy)i(L.)g(Steele)f(Jr.)105 b(Date:)20 +b(27)h(December)e(1985)0 1586 y(;;;)i(Tested)e(under)i(Symbolics)e +(Common)h(Lisp)g(and)h(Lucid)f(Common)g(Lisp.)0 1638 +y(;;;)h(This)f(software)f(is)i(in)g(the)f(public)g(domain.)0 +1730 y(;;;)h($)g(is)f(pseudo-backquote)e(and)j(\045)g(is)f +(pseudo-comma.)40 b(This)20 b(makes)h(it)0 1782 y(;;;)g(possible)e(to)i +(test)f(this)h(code)f(without)g(interfering)e(with)j(normal)0 +1834 y(;;;)g(Common)e(Lisp)i(syntax.)0 1926 y(;;;)g(The)f(following)f +(are)i(unique)f(tokens)g(used)g(during)g(processing.)0 +1977 y(;;;)h(They)f(need)g(not)h(be)g(symbols;)e(they)h(need)h(not)f +(even)h(be)f(atoms.)0 2069 y(\(defvar)g(*comma*)f(\(make-symbol)g +("COMMA"\)\))0 2121 y(\(defvar)h(*comma-atsign*)e(\(make-symbol)h +("COMMA-ATSIGN"\)\))0 2173 y(\(defvar)h(*comma-dot*)f(\(make-symbol)f +("COMMA-DOT"\)\))0 2225 y(\(defvar)i(*bq-list*)f(\(make-symbol)g +("BQ-LIST"\)\))0 2277 y(\(defvar)h(*bq-append*)f(\(make-symbol)f +("BQ-APPEND"\)\))0 2329 y(\(defvar)i(*bq-list**)f(\(make-symbol)g +("BQ-LIST*"\)\))-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2428 a Fy(1040)p eop +%%Page: 1041 1065 +1041 1064 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(BA)o(CK)o(QUOTE)1085 +b(1041)0 295 y Fs(\(defvar)20 b(*bq-nconc*)f(\(make-symbol)g +("BQ-NCONC"\)\))0 347 y(\(defvar)h(*bq-clobberable*)e(\(make-symbol)g +("BQ-CLOBBERABLE"\)\))0 399 y(\(defvar)i(*bq-quote*)f(\(make-symbol)g +("BQ-QUOTE"\)\))0 450 y(\(defvar)h(*bq-quote-nil*)e(\(list)i +(*bq-quote*)f(nil\)\))0 545 y(;;;)i(Reader)e(macro)i(characters:)0 +597 y(;;;)84 b($foo)20 b(is)h(read)g(in)f(as)h(\(BACKQUOTE)e(foo\))0 +648 y(;;;)84 b(\045foo)20 b(is)h(read)g(in)f(as)h(\(#)583 +644 y(-)583 652 y(-)605 648 y(:COMMA)f(foo\))0 700 y(;;;)84 +b(\045@foo)20 b(is)h(read)f(in)h(as)g(\(#)605 696 y(-)605 +704 y(-)626 700 y(:COMMA-ATSIGN)e(foo\))0 752 y(;;;)84 +b(\045.foo)20 b(is)h(read)f(in)h(as)g(\(#)605 748 y(-)605 +756 y(-)626 752 y(:COMMA-DOT)e(foo\))0 804 y(;;;)i(where)f(#)217 +800 y(-)217 808 y(-)238 804 y(:COMMA)g(is)h(the)g(value)f(of)h(the)f +(variable)g(*COMMA*,)f(etc.)0 898 y(;;;)i(BACKQUOTE)e(is)i(an)f +(ordinary)g(macro)g(\(not)g(a)h(read-macro\))e(that)0 +950 y(;;;)i(processes)e(the)h(expression)g(foo,)g(looking)g(for)g +(occurrences)f(of)0 1002 y(;;;)i(#)87 998 y(-)87 1006 +y(-)108 1002 y(:COMMA,)f(#)282 998 y(-)282 1006 y(-)304 +1002 y(:COMMA-ATSIGN,)e(and)j(#)717 998 y(-)717 1006 +y(-)738 1002 y(:COMMA-DOT.)41 b(It)20 b(constructs)f(code)0 +1054 y(;;;)i(in)f(strict)g(accordance)f(with)i(the)f(rules)g(on)h +(pages)f(349-350)g(of)0 1106 y(;;;)h(the)f(first)g(edition)g(\(pages)g +(528-529)g(of)g(this)h(second)f(edition\).)0 1158 y(;;;)h(It)f(then)h +(optionally)e(applies)g(a)i(code)g(simplifier.)0 1252 +y(\(set-macro-charac)o(ter)d(#)457 1248 y(-)457 1256 +y(-)479 1252 y(\\$)42 1304 y(#)42 1300 y(-)42 1308 y(-)n +Fn(')85 1304 y Fs(\(lambda)i(\(stream)g(char\))127 1356 +y(\(declare)g(\(ignore)f(char\)\))127 1408 y(\(list)255 +1412 y Fn(')278 1408 y Fs(backquote)h(\(read)g(stream)g(t)h(nil)f +(t\)\)\)\))0 1502 y(\(set-macro-charac)o(ter)e(#)457 +1498 y(-)457 1506 y(-)479 1502 y(\\\045)42 1554 y(#)42 +1550 y(-)42 1558 y(-)n Fn(')85 1554 y Fs(\(lambda)i(\(stream)g(char\)) +127 1606 y(\(declare)g(\(ignore)f(char\)\))169 1658 y(\(case)i +(\(peek-char)e(nil)h(stream)g(t)h(nil)g(t\))212 1710 +y(\(#)234 1706 y(-)234 1714 y(-)255 1710 y(\\@)g(\(read-char)e(stream)h +(t)h(nil)g(t\))318 1761 y(\(list)f(*comma-atsign*)e(\(read)i(stream)g +(t)h(nil)g(t\)\)\))212 1813 y(\(#)234 1809 y(-)234 1817 +y(-)255 1813 y(\\.)g(\(read-char)e(stream)h(t)h(nil)g(t\))318 +1865 y(\(list)f(*comma-dot*)f(\(read)h(stream)g(t)h(nil)f(t\)\)\))212 +1917 y(\(otherwise)f(\(list)h(*comma*)g(\(read)g(stream)g(t)h(nil)f +(t\)\)\)\)\)\))0 2063 y(;;;)h(If)f(the)h(value)f(of)h(*BQ-SIMPLIFY*)d +(is)j(non-NIL,)f(then)g(BACKQUOTE)0 2115 y(;;;)h(processing)e(applies)g +(the)i(code)f(simplifier.)40 b(If)21 b(the)g(value)f(is)h(NIL,)0 +2167 y(;;;)g(then)f(the)g(code)h(resulting)e(from)h(BACKQUOTE)g(is)h +(exactly)e(that)0 2219 y(;;;)i(specified)e(by)i(the)f(official)g +(rules.)0 2313 y(\(defparameter)e(*bq-simplify*)h(t\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1042 1066 +1042 1065 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1042)78 b(COMMON)12 +b(LISP)0 295 y Fs(\(defmacro)19 b(backquote)h(\(x\))42 +347 y(\(bq-completely-proc)o(ess)e(x\)\))0 437 y(;;;)j(Backquote)e +(processing)g(proceeds)g(in)i(three)f(stages:)0 488 y(;;;)0 +540 y(;;;)h(\(1\))f(BQ-PROCESS)f(applies)h(the)g(rules)h(to)f(remove)g +(occurrences)f(of)0 592 y(;;;)i(#)87 588 y(-)87 596 y(-)108 +592 y(:COMMA,)f(#)282 588 y(-)282 596 y(-)304 592 y(:COMMA-ATSIGN,)e +(and)j(#)717 588 y(-)717 596 y(-)738 592 y(:COMMA-DOT)f(corresponding)e +(to)0 644 y(;;;)j(this)f(level)g(of)h(BACKQUOTE.)40 b(\(It)21 +b(also)f(causes)g(embedded)f(calls)i(to)0 696 y(;;;)g(BACKQUOTE)e(to)i +(be)f(expanded)g(so)h(that)f(nesting)g(is)g(properly)g(handled.\))0 +748 y(;;;)h(Code)f(is)h(produced)e(that)i(is)f(expressed)g(in)g(terms)g +(of)h(functions)0 800 y(;;;)g(#)87 796 y(-)87 804 y(-)108 +800 y(:BQ-LIST,)f(#)326 796 y(-)326 804 y(-)347 800 y(:BQ-APPEND,)f +(and)i(#)695 796 y(-)695 804 y(-)717 800 y(:BQ-CLOBBERABLE.)39 +b(This)20 b(is)h(done)0 852 y(;;;)g(so)f(that)h(the)f(simplifier)f +(will)i(simplify)e(only)i(list)f(construction)0 904 y(;;;)h(functions)e +(actually)g(generated)h(by)g(BACKQUOTE)g(and)g(will)h(not)f(involve)0 +955 y(;;;)h(any)f(user)g(code)h(in)g(the)f(simplification.)39 +b(#)910 951 y(-)910 959 y(-)932 955 y(:BQ-LIST)20 b(means)g(LIST,)0 +1007 y(;;;)h(#)87 1003 y(-)87 1011 y(-)108 1007 y(:BQ-APPEND)e(means)i +(APPEND,)e(and)i(#)738 1003 y(-)738 1011 y(-)760 1007 +y(:BQ-CLOBBERABLE)d(means)i(IDENTITY)0 1059 y(;;;)h(but)f(indicates)f +(places)h(where)g("\045.")h(was)f(used)h(and)f(where)g(NCONC)h(may)0 +1111 y(;;;)g(therefore)e(be)i(introduced)e(by)h(the)h(simplifier)e(for) +i(efficiency.)0 1163 y(;;;)0 1215 y(;;;)g(\(2\))f(BQ-SIMPLIFY,)f(if)i +(used,)f(rewrites)f(the)i(code)f(produced)g(by)0 1267 +y(;;;)h(BQ-PROCESS)e(to)h(produce)g(equivalent)f(but)i(faster)f(code.) +41 b(The)0 1319 y(;;;)21 b(additional)e(functions)g(#)543 +1315 y(-)543 1323 y(-)565 1319 y(:BQ-LIST*)g(and)i(#)869 +1315 y(-)869 1323 y(-)890 1319 y(:BQ-NCONC)f(may)g(be)0 +1371 y(;;;)h(introduced)e(into)h(the)h(code.)0 1422 y(;;;)0 +1474 y(;;;)g(\(3\))f(BQ-REMOVE-TOKENS)e(goes)i(through)g(the)h(code)f +(and)g(replaces)0 1526 y(;;;)h(#)87 1522 y(-)87 1530 +y(-)108 1526 y(:BQ-LIST)f(with)g(LIST,)g(#)542 1522 y(-)542 +1530 y(-)564 1526 y(:BQ-APPEND)f(with)i(APPEND,)e(and)i(so)g(on.)0 +1578 y(;;;)g(#)87 1574 y(-)87 1582 y(-)108 1578 y(:BQ-CLOBBERABLE)d(is) +j(simply)f(eliminated)f(\(a)i(call)f(to)h(it)g(being)0 +1630 y(;;;)g(replaced)e(by)i(its)f(argument\).)41 b(#)694 +1626 y(-)694 1634 y(-)715 1630 y(:BQ-LIST*)20 b(is)h(replaced)e(by)i +(either)0 1682 y(;;;)g(LIST*)f(or)g(CONS)h(\(the)f(latter)g(is)h(used)f +(in)h(the)f(two-argument)f(case,)0 1734 y(;;;)i(purely)e(to)i(make)g +(the)f(resulting)f(code)i(a)g(tad)f(more)h(readable\).)0 +1824 y(\(defun)f(bq-completely-pro)o(cess)e(\(x\))42 +1876 y(\(let)j(\(\(raw-result)d(\(bq-process)h(x\)\)\))85 +1927 y(\(bq-remove-token)o(s)f(\(if)j(*bq-simplify*)550 +1979 y(\(bq-simplify)e(raw-result\))550 2031 y(raw-result\)\)\)\))0 +2121 y(\(defun)h(bq-process)f(\(x\))42 2173 y(\(cond)h(\(\(atom)g(x\)) +191 2225 y(\(list)g(*bq-quote*)f(x\)\))169 2277 y(\(\(eq)i(\(car)f(x\)) +449 2281 y Fn(')472 2277 y Fs(backquote\))191 2329 y(\(bq-process)e +(\(bq-completely-proc)o(ess)g(\(cadr)i(x\)\)\)\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1043 1067 +1043 1066 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(BA)o(CK)o(QUOTE)1085 +b(1043)169 295 y Fs(\(\(eq)21 b(\(car)f(x\))h(*comma*\))e(\(cadr)h +(x\)\))169 347 y(\(\(eq)h(\(car)f(x\))h(*comma-atsign*\))191 +399 y(\(error)e(",@)406 403 y Fn(~)429 399 y Fs(S)i(after)600 +403 y Fn(`)623 399 y Fs(")g(\(cadr)f(x\)\)\))169 450 +y(\(\(eq)h(\(car)f(x\))h(*comma-dot*\))191 502 y(\(error)e(",.)406 +506 y Fn(~)429 502 y Fs(S)i(after)600 506 y Fn(`)623 +502 y Fs(")g(\(cadr)f(x\)\)\))169 554 y(\(t)h(\(do)g(\(\(p)f(x)h(\(cdr) +g(p\)\))339 606 y(\(q)401 610 y Fn(')425 606 y Fs(\(\))f(\(cons)h +(\(bracket)e(\(car)h(p\)\))h(q\)\)\))318 658 y(\(\(atom)e(p\))339 +710 y(\(cons)h(*bq-append*)466 762 y(\(nreconc)f(q)i(\(list)f(\(list)h +(*bq-quote*)e(p\)\)\)\)\))275 814 y(\(when)h(\(eq)h(\(car)f(p\))h +(*comma*\))318 866 y(\(unless)e(\(null)h(\(cddr)h(p\)\))f(\(error)g +("Malformed)f(,)1249 870 y Fn(~)1272 866 y Fs(S")i(p\)\))318 +917 y(\(return)e(\(cons)h(*bq-append*)614 969 y(\(nreconc)f(q)i(\(list) +g(\(cadr)f(p\)\)\)\)\)\))275 1021 y(\(when)g(\(eq)h(\(car)f(p\))h +(*comma-atsign*\))318 1073 y(\(error)e("Dotted)h(,@)685 +1077 y Fn(~)708 1073 y Fs(S")h(p\)\))275 1125 y(\(when)f(\(eq)h(\(car)f +(p\))h(*comma-dot*\))318 1177 y(\(error)e("Dotted)h(,.)685 +1181 y Fn(~)708 1177 y Fs(S")h(p\)\)\)\)\)\))0 1270 y(;;;)g(This)f +(implements)f(the)i(bracket)e(operator)h(of)h(the)f(formal)g(rules.)0 +1364 y(\(defun)g(bracket)g(\(x\))42 1416 y(\(cond)g(\(\(atom)g(x\))191 +1467 y(\(list)g(*bq-list*)f(\(bq-process)g(x\)\)\))169 +1519 y(\(\(eq)i(\(car)f(x\))h(*comma*\))191 1571 y(\(list)f(*bq-list*)f +(\(cadr)h(x\)\)\))169 1623 y(\(\(eq)h(\(car)f(x\))h(*comma-atsign*\)) +191 1675 y(\(cadr)f(x\)\))169 1727 y(\(\(eq)h(\(car)f(x\))h +(*comma-dot*\))191 1779 y(\(list)f(*bq-clobberable*)e(\(cadr)i(x\)\)\)) +169 1831 y(\(t)h(\(list)f(*bq-list*)g(\(bq-process)e(x\)\)\)\)\))0 +1924 y(;;;)j(This)f(auxiliary)f(function)h(is)g(like)h(MAPCAR)f(but)g +(has)h(two)f(extra)0 1976 y(;;;)h(purposes:)e(\(1\))h(it)h(handles)f +(dotted)g(lists;)g(\(2\))g(it)h(tries)f(to)h(make)0 2028 +y(;;;)g(the)f(result)g(share)g(with)h(the)f(argument)g(x)h(as)f(much)h +(as)f(possible.)0 2121 y(\(defun)g(maptree)g(\(fn)g(x\))42 +2173 y(\(if)h(\(atom)f(x\))127 2225 y(\(funcall)g(fn)g(x\))127 +2277 y(\(let)g(\(\(a)h(\(funcall)e(fn)i(\(car)g(x\)\)\))254 +2329 y(\(d)g(\(maptree)e(fn)i(\(cdr)f(x\)\)\)\))-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1044 1068 +1044 1067 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1044)78 b(COMMON)12 +b(LISP)169 295 y Fs(\(if)21 b(\(and)f(\(eql)h(a)g(\(car)f(x\)\))g +(\(eql)h(d)g(\(cdr)f(x\)\)\))254 347 y(x)254 399 y(\(cons)g(a)h +(d\)\)\)\)\))0 495 y(;;;)g(This)f(predicate)f(is)i(true)f(of)h(a)g +(form)f(that)h(when)f(read)g(looked)0 547 y(;;;)h(like)f(\045@foo)g(or) +h(\045.foo.)0 644 y(\(defun)f(bq-splicing-frob)e(\(x\))42 +696 y(\(and)j(\(consp)f(x\))148 748 y(\(or)h(\(eq)f(\(car)h(x\))f +(*comma-atsign*\))233 800 y(\(eq)g(\(car)h(x\))g(*comma-dot*\)\)\)\))0 +949 y(;;;)g(This)f(predicate)f(is)i(true)f(of)h(a)g(form)f(that)h(when) +f(read)0 1000 y(;;;)h(looked)e(like)i(\045@foo)f(or)h(\045.foo)f(or)h +(just)f(plain)g(\045foo.)0 1097 y(\(defun)g(bq-frob)g(\(x\))42 +1149 y(\(and)h(\(consp)f(x\))148 1201 y(\(or)h(\(eq)f(\(car)h(x\))f +(*comma*\))233 1253 y(\(eq)g(\(car)h(x\))g(*comma-atsign*\))233 +1305 y(\(eq)f(\(car)h(x\))g(*comma-dot*\)\)\)\))0 1402 +y(;;;)g(The)f(simplifier)f(essentially)g(looks)h(for)h(calls)f(to)h(#) +1085 1398 y(-)1085 1406 y(-)1106 1402 y(:BQ-APPEND)f(and)0 +1454 y(;;;)h(tries)f(to)g(simplify)g(them.)41 b(The)21 +b(arguments)e(to)i(#)997 1450 y(-)997 1458 y(-)1019 1454 +y(:BQ-APPEND)e(are)0 1505 y(;;;)i(processed)e(from)h(right)g(to)h +(left,)f(building)g(up)h(a)f(replacement)f(form.)0 1557 +y(;;;)i(At)f(each)h(step)f(a)h(number)f(of)h(special)e(cases)i(are)f +(handled)g(that,)0 1609 y(;;;)h(loosely)e(speaking,)h(look)g(like)g +(this:)0 1661 y(;;;)0 1713 y(;;;)42 b(\(APPEND)19 b(\(LIST)i(a)g(b)g +(c\))f(foo\))671 1709 y(U)671 1717 y(U)692 1713 y(>)h(\(LIST*)f(a)h(b)g +(c)g(foo\))0 1765 y(;;;)148 b(provided)19 b(a,)i(b,)g(c)g(are)f(not)h +(splicing)e(frobs)0 1817 y(;;;)42 b(\(APPEND)19 b(\(LIST*)h(a)h(b)g +(c\))g(foo\))692 1813 y(U)692 1821 y(U)714 1817 y(>)g(\(LIST*)f(a)h(b)g +(\(APPEND)f(c)h(foo\)\))0 1869 y(;;;)148 b(provided)19 +b(a,)i(b,)g(c)g(are)f(not)h(splicing)e(frobs)0 1921 y(;;;)42 +b(\(APPEND)19 b(\(QUOTE)h(\(x\)\))h(foo\))650 1917 y(U)650 +1925 y(U)672 1921 y(>)g(\(LIST*)f(\(QUOTE)g(x\))g(foo\))0 +1972 y(;;;)42 b(\(APPEND)19 b(\(CLOBBERABLE)g(x\))i(foo\))737 +1968 y(U)737 1976 y(U)759 1972 y(>)g(\(NCONC)f(x)h(foo\))0 +2069 y(\(defun)f(bq-simplify)f(\(x\))42 2121 y(\(if)i(\(atom)f(x\))127 +2173 y(x)127 2225 y(\(let)g(\(\(x)h(\(if)f(\(eq)h(\(car)f(x\))h +(*bq-quote*\))402 2277 y(x)402 2329 y(\(maptree)f(#)598 +2325 y(-)598 2333 y(-)m Fn(')641 2329 y Fs(bq-simplify)f(x\)\)\)\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1045 1069 +1045 1068 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(BA)o(CK)o(QUOTE)1085 +b(1045)169 295 y Fs(\(if)21 b(\(not)f(\(eq)h(\(car)f(x\))h +(*bq-append*\)\))254 347 y(x)254 399 y(\(bq-simplify-args)d +(x\)\)\)\)\))0 488 y(\(defun)i(bq-simplify-args)e(\(x\))42 +540 y(\(do)j(\(\(args)f(\(reverse)f(\(cdr)i(x\)\))f(\(cdr)h(args\)\)) +148 592 y(\(result)191 644 y(nil)191 696 y(\(cond)f(\(\(atom)g(\(car)g +(args\)\))339 748 y(\(bq-attach-appen)o(d)e(*bq-append*)h(\(car)i +(args\))f(result\)\))318 800 y(\(\(and)g(\(eq)g(\(caar)g(args\))h +(*bq-list*\))445 852 y(\(notany)e(#)618 848 y(-)618 856 +y(-)n Fn(')661 852 y Fs(bq-splicing-frob)f(\(cdar)i(args\)\)\))339 +904 y(\(bq-attach-conse)o(s)e(\(cdar)j(args\))f(result\)\))318 +955 y(\(\(and)g(\(eq)g(\(caar)g(args\))h(*bq-list**\))445 +1007 y(\(notany)e(#)618 1003 y(-)618 1011 y(-)n Fn(')661 +1007 y Fs(bq-splicing-frob)f(\(cdar)i(args\)\)\))339 +1059 y(\(bq-attach-conse)o(s)381 1111 y(\(reverse)g(\(cdr)g(\(reverse)f +(\(cdar)i(args\)\)\)\))381 1163 y(\(bq-attach-append)d(*bq-append*)762 +1215 y(\(car)i(\(last)h(\(car)f(args\)\)\))762 1267 y(result\)\)\))318 +1319 y(\(\(and)g(\(eq)g(\(caar)g(args\))h(*bq-quote*\))445 +1371 y(\(consp)f(\(cadar)f(args\)\))445 1422 y(\(not)h(\(bq-frob)f +(\(cadar)h(args\)\)\))445 1474 y(\(null)g(\(cddar)g(args\)\)\))339 +1526 y(\(bq-attach-conse)o(s)e(\(list)j(\(list)f(*bq-quote*)974 +1578 y(\(caadar)g(args\)\)\))720 1630 y(result\)\))318 +1682 y(\(\(eq)g(\(caar)g(args\))g(*bq-clobberable*\))339 +1734 y(\(bq-attach-appen)o(d)e(*bq-nconc*)h(\(cadar)h(args\))h +(result\)\))318 1786 y(\(t)f(\(bq-attach-append)e(*bq-append*)762 +1838 y(\(car)i(args\))762 1889 y(result\)\)\)\)\))127 +1941 y(\(\(null)g(args\))g(result\)\)\))0 2031 y(\(defun)g +(null-or-quoted)e(\(x\))42 2083 y(\(or)j(\(null)f(x\))h(\(and)f +(\(consp)g(x\))h(\(eq)f(\(car)h(x\))f(*bq-quote*\)\)\)\))0 +2173 y(;;;)h(When)f(BQ-ATTACH-APPEND)e(is)j(called,)e(the)i(OP)g +(should)e(be)i(#)1171 2169 y(-)1171 2177 y(-)1193 2173 +y(:BQ-APPEND)0 2225 y(;;;)g(or)f(#)151 2221 y(-)151 2229 +y(-)173 2225 y(:BQ-NCONC.)40 b(This)21 b(produces)e(a)i(form)g(\(op)f +(item)g(result\))g(but)0 2277 y(;;;)h(some)f(simplifications)e(are)j +(done)f(on)h(the)f(fly:)0 2329 y(;;;)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1046 1070 +1046 1069 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1046)78 b(COMMON)12 +b(LISP)0 295 y Fs(;;;)42 b(\(op)192 299 y Fn(')215 295 +y Fs(\(a)21 b(b)g(c\))386 299 y Fn(')409 295 y Fs(\(d)g(e)g(f)g(g\)\)) +646 291 y(U)646 299 y(U)668 295 y(>)709 299 y Fn(')732 +295 y Fs(\(a)g(b)g(c)g(d)g(e)g(f)g(g\))0 347 y(;;;)42 +b(\(op)20 b(item)300 351 y Fn(')324 347 y Fs(nil\))432 +343 y(U)432 351 y(U)454 347 y(>)h(item,)f(provided)g(item)g(is)h(not)f +(a)h(splicable)e(frob)0 399 y(;;;)42 b(\(op)20 b(item)300 +403 y Fn(')324 399 y Fs(nil\))432 395 y(U)432 403 y(U)454 +399 y(>)h(\(op)f(item\),)g(if)h(item)f(is)h(a)g(splicable)e(frob)0 +450 y(;;;)42 b(\(op)20 b(item)h(\(op)f(a)h(b)g(c\)\))562 +446 y(U)562 454 y(U)583 450 y(>)g(\(op)g(item)f(a)h(b)g(c\))0 +535 y(\(defun)f(bq-attach-append)e(\(op)i(item)h(result\))42 +587 y(\(cond)f(\(\(and)h(\(null-or-quoted)d(item\))i(\(null-or-quoted)e +(result\)\))191 639 y(\(list)i(*bq-quote*)f(\(append)g(\(cadr)i(item\)) +f(\(cadr)g(result\)\)\)\))169 691 y(\(\(or)h(\(null)f(result\))g +(\(equal)f(result)h(*bq-quote-nil*\)\))191 743 y(\(if)g +(\(bq-splicing-frob)e(item\))i(\(list)g(op)h(item\))f(item\)\))169 +795 y(\(\(and)h(\(consp)e(result\))h(\(eq)h(\(car)f(result\))g(op\)\)) +191 847 y(\(list*)f(\(car)i(result\))f(item)g(\(cdr)g(result\)\)\))169 +899 y(\(t)h(\(list)f(op)h(item)f(result\)\)\)\))0 984 +y(;;;)h(The)f(effect)g(of)h(BQ-ATTACH-CONSES)d(is)i(to)h(produce)f(a)h +(form)f(as)h(if)g(by)0 1036 y(;;;)84 1040 y Fn(`)108 +1036 y Fs(\(LIST*)f(,@items)f(,result\))h(but)g(some)h(simplifications) +d(are)i(done)0 1088 y(;;;)h(on)f(the)h(fly.)0 1139 y(;;;)0 +1191 y(;;;)42 b(\(LIST*)257 1195 y Fn(')281 1191 y Fs(a)322 +1195 y Fn(')345 1191 y Fs(b)386 1195 y Fn(')409 1191 +y Fs(c)450 1195 y Fn(')473 1191 y Fs(d\))538 1187 y(U)538 +1195 y(U)560 1191 y(>)601 1195 y Fn(')624 1191 y Fs(\(a)21 +b(b)g(c)g(.)g(d\))0 1243 y(;;;)42 b(\(LIST*)20 b(a)h(b)g(c)386 +1247 y Fn(')410 1243 y Fs(nil\))518 1239 y(U)518 1247 +y(U)540 1243 y(>)g(\(LIST)f(a)h(b)g(c\))0 1295 y(;;;)42 +b(\(LIST*)20 b(a)h(b)g(c)g(\(LIST*)e(d)i(e)g(f)g(g\)\))756 +1291 y(U)756 1299 y(U)778 1295 y(>)g(\(LIST*)f(a)h(b)g(c)f(d)h(e)g(f)g +(g\))0 1347 y(;;;)42 b(\(LIST*)20 b(a)h(b)g(c)g(\(LIST)f(d)h(e)g(f)g +(g\)\))734 1343 y(U)734 1351 y(U)756 1347 y(>)g(\(LIST)f(a)h(b)g(c)g(d) +g(e)g(f)g(g\))0 1432 y(\(defun)f(bq-attach-conses)e(\(items)i(result\)) +42 1484 y(\(cond)g(\(\(and)h(\(every)f(#)455 1480 y(-)455 +1488 y(-)m Fn(')498 1484 y Fs(null-or-quoted)e(items\))296 +1536 y(\(null-or-quoted)g(result\)\))191 1588 y(\(list)i(*bq-quote*)318 +1640 y(\(append)f(\(mapcar)h(#)665 1636 y(-)665 1644 +y(-)n Fn(')708 1640 y Fs(cadr)g(items\))g(\(cadr)g(result\)\)\)\))169 +1692 y(\(\(or)h(\(null)f(result\))g(\(equal)f(result)h +(*bq-quote-nil*\)\))191 1743 y(\(cons)g(*bq-list*)f(items\)\))169 +1795 y(\(\(and)i(\(consp)e(result\))296 1847 y(\(or)i(\(eq)f(\(car)h +(result\))f(*bq-list*\))381 1899 y(\(eq)h(\(car)f(result\))g +(*bq-list**\)\)\))191 1951 y(\(cons)g(\(car)g(result\))g(\(append)f +(items)i(\(cdr)f(result\)\)\)\))169 2003 y(\(t)h(\(cons)f(*bq-list**)f +(\(append)h(items)g(\(list)g(result\)\)\)\)\)\))0 2088 +y(;;;)h(Removes)e(funny)h(tokens)g(and)h(changes)f(\(#)825 +2084 y(-)825 2092 y(-)846 2088 y(:BQ-LIST*)g(a)g(b\))h(into)0 +2140 y(;;;)g(\(CONS)f(a)h(b\))f(instead)g(of)h(\(LIST*)f(a)h(b\),)f +(purely)g(for)h(readability.)0 2225 y(\(defun)f(bq-remove-tokens)e +(\(x\))42 2277 y(\(cond)i(\(\(eq)h(x)g(*bq-list*\))561 +2281 y Fn(')584 2277 y Fs(list\))169 2329 y(\(\(eq)g(x)g(*bq-append*\)) +601 2333 y Fn(')625 2329 y Fs(append\))-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1047 1071 +1047 1070 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(BA)o(CK)o(QUOTE)1085 +b(1047)169 295 y Fs(\(\(eq)21 b(x)g(*bq-nconc*\))579 +299 y Fn(')603 295 y Fs(nconc\))169 347 y(\(\(eq)g(x)g(*bq-list**\))579 +351 y Fn(')603 347 y Fs(list*\))169 399 y(\(\(eq)g(x)g(*bq-quote*\))579 +403 y Fn(')603 399 y Fs(quote\))169 450 y(\(\(atom)f(x\))h(x\))169 +502 y(\(\(eq)g(\(car)f(x\))h(*bq-clobberable*)o(\))191 +554 y(\(bq-remove-toke)o(ns)d(\(cadr)i(x\)\)\))169 606 +y(\(\(and)h(\(eq)f(\(car)g(x\))h(*bq-list**\))296 658 +y(\(consp)f(\(cddr)g(x\)\))296 710 y(\(null)h(\(cdddr)e(x\)\)\))191 +762 y(\(cons)318 766 y Fn(')342 762 y Fs(cons)h(\(maptree)g(#)646 +758 y(-)646 766 y(-)m Fn(')689 762 y Fs(bq-remove-tokens)e(\(cdr)i +(x\)\)\)\))169 814 y(\(t)h(\(maptree)f(#)430 810 y(-)430 +818 y(-)m Fn(')473 814 y Fs(bq-remove-token)o(s)e(x\)\)\)\))42 +904 y Fw(Supp)q(ose)c(that)g(w)o(e)g(\014rst)h(mak)o(e)d(the)j(follo)o +(wing)c(de\014nitions:)0 995 y Fs(\(setq)20 b(q)171 999 +y Fn(')194 995 y Fs(\(r)h(s\)\))0 1047 y(\(defun)f(r)h(\(x\))f +(\(reduce)g(#)455 1043 y(-)455 1051 y(-)n Fn(')498 1047 +y Fs(*)h(x\)\))0 1098 y(\(setq)f(r)171 1102 y Fn(')194 +1098 y Fs(\(3)h(5\)\))0 1150 y(\(setq)f(s)171 1154 y +Fn(')194 1150 y Fs(\(4)h(6\)\))42 1241 y Fw(Without)15 +b(simpli\014cation,)f(the)i(notation)g Fs($$\(\045\045q\))e +Fw(\(whic)o(h)j(stands)f(for)1225 1245 y Fn(`)-5 b(`)1270 +1241 y Fs(\(,,q\))p Fw(\))0 1293 y(is)14 b(read)g(as)g(the)h +(expression)0 1383 y Fs(\(APPEND)20 b(\(LIST)302 1387 +y Fn(')325 1383 y Fs(APPEND\))g(\(LIST)g(\(APPEND)g(\(LIST)931 +1387 y Fn(')954 1383 y Fs(LIST\))g(\(LIST)g(Q\)\)\)\))0 +1474 y Fw(The)14 b(v)n(alue)g(of)f(this)h(expression)h(is)0 +1564 y Fs(\(APPEND)20 b(\(LIST)g(\(R)h(S\)\)\))0 1655 +y Fw(and)14 b(the)g(v)n(alue)g(of)f(this)h(v)n(alue)g(is)f +Fs(\(24\))p Fw(.)18 b(W)m(e)13 b(conclude)i(that)f(the)h(net)f +(e\013ect)i(of)e(t)o(wice-)0 1707 y(ev)n(aluating)199 +1711 y Fn(`)-5 b(`)243 1707 y Fs(\(,,q\))14 b Fw(is)i(to)f(tak)o(e)g +(the)h(v)n(alue)f Fs(24)g Fw(of)f(the)i(v)n(alue)f Fs(\(r)21 +b(s\))14 b Fw(of)h Fs(q)g Fw(and)g(plug)0 1758 y(it)f(in)o(to)f(the)h +(template)f Fs(\()21 b(\))14 b Fw(to)f(pro)q(duce)j Fs(\(24\))p +Fw(.)42 1811 y(With)d(simpli\014cation,)d(the)15 b(notation)e +Fs($$\(\045\045q\))f Fw(is)i(read)h(as)e(the)i(expression)0 +1902 y Fs(\(LIST)128 1906 y Fn(')151 1902 y Fs(LIST)21 +b(Q\))0 1992 y Fw(The)14 b(v)n(alue)g(of)f(this)h(expression)h(is)0 +2083 y Fs(\(LIST)20 b(\(R)h(S\)\))0 2173 y Fw(and)16 +b(the)h(v)n(alue)f(of)f(this)h(v)n(alue)g(is)g Fs(\(24\))p +Fw(.)24 b(Th)o(us)17 b(the)g(t)o(w)o(o)f(w)o(a)o(ys)g(of)f(reading)h +Fs($$\(\045\045q\))0 2225 y Fw(do)c(not)g(pro)q(duce)i(the)f(same)e +(expression|this)j(w)o(e)e(exp)q(ected|but)i(the)f(v)n(alues)f(of)g +(the)0 2277 y(t)o(w)o(o)h(w)o(a)o(ys)g(are)h(di\013eren)o(t)g(as)f(w)o +(ell.)k(Only)c(the)h(v)n(alues)f(of)g(the)h(v)n(alues)f(are)h(the)g +(same.)j(In)0 2329 y(general,)12 b(Common)c(Lisp)k(guaran)o(tees)g(the) +h(result)f(of)f(an)h(expression)h(with)e(bac)o(kquotes)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1048 1072 +1048 1071 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1048)78 b(COMMON)12 +b(LISP)0 295 y Fw(nested)h(to)e(depth)i Fv(k)e Fw(only)g(after)h +Fv(k)f Fw(successiv)o(e)j(ev)n(aluations)d(ha)o(v)o(e)g(b)q(een)i(p)q +(erformed;)e(the)0 347 y(results)k(after)f(few)o(er)h(than)f +Fv(k)f Fw(ev)n(aluations)g(are)i(implem)o(en)o(tation-dep)q(enden)o(t.) +42 399 y(\(Note)22 b(that)h(in)e(the)i(expression)g Fs(`\(foo)e +(,\(process)e(`\(bar)h(,x\)\)\))h Fw(the)i(bac)o(k-)0 +450 y(quotes)13 b(are)g Fv(not)f Fw(doubly)g(nested.)19 +b(The)12 b(inner)h(bac)o(kquoted)f(expression)i(o)q(ccurs)f(within)0 +502 y(the)i(textual)f(scop)q(e)h(of)e(a)h(comma)d(b)q(elonging)i(to)h +(the)h(outer)g(bac)o(kquote.)k(The)14 b(correct)0 554 +y(w)o(a)o(y)f(to)g(determine)g(the)h(bac)o(kquote)f(nesting)h(lev)o(el) +f(of)f(an)o(y)h(sub)q(expression)i(is)e(to)g(start)0 +606 y(a)18 b(coun)o(t)g(at)g(zero)h(and)f(pro)q(ceed)h(up)f(the)h +(S-expression)g(tree,)h(adding)d(one)i(for)e(eac)o(h)0 +658 y(bac)o(kquote)12 b(and)g(subtracting)h(one)f(for)g(eac)o(h)g +(comma.)j(This)d(is)g(similar)d(to)j(the)h(rule)f(for)0 +710 y(determining)f(nesting)i(lev)o(el)f(with)g(resp)q(ect)j(to)d +(paren)o(theses)j(b)o(y)d(scanning)g(a)g(c)o(haracter)0 +762 y(string)i(linearly)m(,)e(adding)h(or)h(subtracting)g(one)g(as)g +(paren)o(theses)i(are)f(passed.\))42 814 y(It)f(is)g(con)o(v)o(enien)o +(t)h(to)f(extend)i(the)f(\\)p Ft(\021)p Fw(")f(notation)g(to)g(handle)g +(m)o(ultiple)f(ev)n(aluation:)0 866 y Fv(x)18 b Ft(\021\021)g +Fv(y)g Fw(means)f(that)g(the)i(expressions)g Fv(x)f Fw(and)f +Fv(y)h Fw(ma)o(y)e(ha)o(v)o(e)h(di\013eren)o(t)i(results)g(but)0 +917 y(they)c(ha)o(v)o(e)f(the)h(same)e(results)i(when)g(t)o(wice)g(ev)n +(aluated.)k(Similarl)o(y)m(,)11 b Fv(x)j Ft(\021\021)q(\021)g +Fv(y)h Fw(means)0 969 y(that)e(the)h(v)n(alues)f(of)f(the)i(v)n(alues)f +(of)f(the)i(v)n(alues)f(of)g Fv(x)g Fw(and)g Fv(y)g Fw(are)h(the)f +(same,)f(and)h(so)g(on.)42 1021 y(W)m(e)k(can)h(illustrate)g(the)h +(di\013erences)h(b)q(et)o(w)o(een)g(non-splicing)d(and)h(splicing)f +(bac)o(k-)0 1073 y(quote)d(inclusions)g(quite)g(concisely:)0 +1158 y Fs($$\(\045\045q\))41 b Ft(\021)42 1210 y Fs(\(APPEND)20 +b(\(LIST)344 1214 y Fn(')367 1210 y Fs(APPEND\))g(\(LIST)g(\(APPEND)g +(\(LIST)973 1214 y Fn(')996 1210 y Fs(LIST\))g(\(LIST)h(Q\)\)\)\))42 +1262 y Ft(\021)q(\021)g Fs(\(LIST)256 1266 y Fn(')279 +1262 y Fs(LIST)g(Q\))f Ft(\))h Fs(\(LIST)f(\(R)h(S\)\))g +Ft(\))f Fs(\(24\))0 1347 y($$\(\045@\045q\))g Ft(\021)42 +1399 y Fs(\(APPEND)g(\(LIST)344 1403 y Fn(')367 1399 +y Fs(APPEND\))g(\(LIST)g(Q\)\))42 1451 y Ft(\021)q(\021)h +Fs(Q)g Ft(\))g Fs(\(R)f(S\))h Ft(\))g Fs(24)0 1536 y($$\(\045\045@q\))f +Ft(\021)42 1588 y Fs(\(APPEND)g(\(LIST)344 1592 y Fn(')367 +1588 y Fs(APPEND\))g(\(LIST)g(\(APPEND)g(\(LIST)973 1592 +y Fn(')996 1588 y Fs(LIST\))g(Q\)\)\))42 1640 y Ft(\021)q(\021)h +Fs(\(CONS)256 1644 y Fn(')279 1640 y Fs(LIST)g(Q\))f +Ft(\))h Fs(\(LIST)f(R)h(S\))g Ft(\))g Fs(\(\(3)f(5\))h(\(4)g(6\)\))0 +1725 y($$\(\045@\045@q\))e Ft(\021)42 1777 y Fs(\(APPEND)h(\(LIST)344 +1781 y Fn(')367 1777 y Fs(APPEND\))g(Q\))42 1829 y Ft(\021)q(\021)h +Fs(\(CONS)256 1833 y Fn(')279 1829 y Fs(APPEND)f(Q\))h +Ft(\))g Fs(\(APPEND)e(R)i(S\))g Ft(\))g Fs(\(3)g(5)g(4)g(6\))0 +1914 y Fw(In)11 b(eac)o(h)h(case)g(I)f(ha)o(v)o(e)g(sho)o(wn)g(b)q(oth) +h(the)f(unsimpli\014ed)f(and)h(simpli\014ed)e(forms)h(and)h(then)0 +1966 y(traced)21 b(the)g(in)o(termediate)e(ev)n(aluations)g(of)g(the)i +(simpli\014ed)d(form.)35 b(\(Actually)m(,)20 b(the)0 +2017 y(unsimpli\014ed)c(forms)h(do)h(con)o(tain)f(one)h +(simpli\014cation)e(without)h(whic)o(h)h(they)h(w)o(ould)0 +2069 y(b)q(e)i(unreadable:)32 b(the)21 b Fs(nil)e Fw(that)i(terminates) +f(eac)o(h)h(list)f(has)h(b)q(een)g(systematically)0 2121 +y(suppressed,)15 b(so)e(that)g(one)g(sees)h Fs(\(append)20 +b Fv(x)h(y)p Fs(\))13 b Fw(rather)h(than)e Fs(\(append)20 +b Fv(x)h(y)1257 2125 y Fn(')1280 2121 y Fs(nil\))p Fw(.\))42 +2173 y(The)d(follo)o(wing)d(driv)o(er)i(function)h(is)f(useful)h(for)f +(tracing)h(the)g(b)q(eha)o(vior)f(of)g(nested)0 2225 +y(bac)o(kquote)e(syn)o(tax)f(through)g(m)o(ultiple)e(ev)n(aluations.)19 +b(The)14 b(argumen)o(t)f Fs(ls)h Fw(is)g(a)g(list)g(of)0 +2277 y(strings;)e(eac)o(h)g(string)g(will)e(b)q(e)i(pro)q(cessed)h(b)o +(y)f(the)g(reader)g(\()p Fs(read-from-string)p Fw(\).)i(The)0 +2329 y(argumen)o(t)f Fs(n)g Fw(is)h(the)h(n)o(um)o(b)q(er)e(of)g(ev)n +(aluations)g(desired.)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1049 1073 +1049 1072 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(BA)o(CK)o(QUOTE)1085 +b(1049)0 295 y Fs(\(defun)20 b(try)g(\(ls)h(&optional)e(\(n)i(0\)\))42 +347 y(\(dolist)f(\(x)h(ls\))85 399 y(\(format)e(t)i(")321 +403 y Fn(~)344 399 y Fs(&)364 403 y Fn(~)387 399 y Fs(A")254 +450 y(\(substitute)e(#)515 446 y(-)515 454 y(-)537 450 +y(\\)557 454 y Fn(`)601 450 y Fs(#)601 446 y(-)601 454 +y(-)623 450 y(\\$)h(\(substitute)f(#)948 446 y(-)948 +454 y(-)970 450 y(\\,)i(#)1035 446 y(-)1035 454 y(-)1057 +450 y(\\\045)f(x\)\)\))85 502 y(\(do)g(\(\(form)g(\(macroexpand)f +(\(read-from-string)f(x\)\))i(\(eval)g(form\)\))191 554 +y(\(str)g(")342 550 y(U)342 558 y(U)385 554 y(")h(")448 +558 y Fn(~)471 554 y Fs(\045)514 550 y(U)514 558 y(U)535 +554 y(>)g("\))191 606 y(\(j)f(0)h(\(+)g(j)g(1\)\)\))169 +658 y(\(\(>)235 654 y(U)235 662 y(U)278 658 y(j)g(n\))191 +710 y(\(format)e(t)i(str\))191 762 y(\(write)e(form)i(:pretty)f(t\)\)) +127 814 y(\(format)g(t)h(str\))127 866 y(\(write)f(form)g(:pretty)g +(t\)\)\))42 917 y(\(format)g(t)h(")279 921 y Fn(~)302 +917 y Fs(&"\)\))0 1032 y Fw(This)d(driv)o(er)g(routine)g(mak)o(es)f(it) +h(easdy)g(to)g(explore)h(a)e(large)h(n)o(um)o(b)q(er)f(of)h(cases)h +(sys-)0 1084 y(tematically)m(.)e(Here)e(is)f(a)g(list)g(of)g(examples)f +(that)i(illustrate)f(not)g(only)g(the)g(di\013erences)0 +1136 y(b)q(et)o(w)o(een)h Fs(,)f Fw(and)g Fs(,@)f Fw(but)h(also)f +(their)i(in)o(teraction)f(with)894 1140 y Fn(')917 1136 +y Fw(.)0 1254 y Fs(\(setq)20 b(fools2)280 1258 y Fn(')303 +1254 y Fs(\()0 1306 y("$$\(foo)g(\045\045p\)")0 1358 +y("$$\(foo)g(\045\045@q\)")0 1410 y("$$\(foo)g(\045)194 +1414 y Fn(')217 1410 y Fs(\045r\)")0 1462 y("$$\(foo)g(\045)194 +1466 y Fn(')217 1462 y Fs(\045@s\)")0 1514 y("$$\(foo)g(\045@\045p\)")0 +1566 y("$$\(foo)g(\045@\045@q\)")0 1618 y("$$\(foo)g(\045@)216 +1622 y Fn(')238 1618 y Fs(\045r\)")0 1669 y("$$\(foo)g(\045@)216 +1673 y Fn(')238 1669 y Fs(\045@s\)")0 1721 y(\)\))42 +1836 y Fw(Consider)14 b(this)g(set)h(of)e(sample)f(v)n(alues:)0 +1954 y Fs(\(setq)20 b(p)171 1958 y Fn(')194 1954 y Fs(\(union)g(x)h +(y\)\))0 2006 y(\(setq)f(q)171 2010 y Fn(')194 2006 y +Fs(\(\(union)g(x)h(y\))g(\(list)604 2010 y Fn(')627 2006 +y Fs(sqrt)f(9\)\)\))0 2058 y(\(setq)g(r)171 2062 y Fn(')194 +2058 y Fs(\(union)g(x)h(y\)\))0 2110 y(\(setq)f(s)171 +2114 y Fn(')194 2110 y Fs(\(\(union)g(x)h(y\)\)\))42 +2225 y Fw(Here)c(is)e(what)h(happ)q(ened)h(when)f(I)g(executed)i +Fs(\(try)i(fools2)g(2\))c Fw(with)f(a)h(non-)p Fs(nil)0 +2277 y Fw(v)n(alue)e(for)g(the)h(v)n(ariable)f Fs(*bq-simplify*)e +Fw(\(to)i(see)i(simpli\014ed)d(forms\).)19 b(I)14 b(ha)o(v)o(e)h(in)o +(ter-)0 2329 y(p)q(olated)f(some)f(remarks.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1050 1074 +1050 1073 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1050)78 b(COMMON)12 +b(LISP)-2 299 y Fn(`)-5 b(`)42 295 y Fs(\(foo)21 b(,,p\))259 +291 y(U)259 299 y(U)302 295 y(\(LIST)430 299 y Fn(')453 +295 y Fs(LIST)559 299 y Fn(')l(')604 295 y Fs(FOO)g(P\))0 +343 y(U)0 351 y(U)22 347 y(>)g(\(LIST)193 351 y Fn(')216 +347 y Fs(FOO)g(\(UNION)f(X)h(Y\)\))0 395 y(U)0 403 y(U)22 +399 y(>)g(\(FOO)f(\(A)h(B)g(C\)\))0 483 y Fw(So)14 b +Fs(,,p)f Fw(means)g(\\the)h(v)n(alue)f(of)h Fs(p)f Fw(is)h(a)g(form;)d +(use)k(the)g(v)n(alue)e(of)g(the)i(v)n(alue)e(of)g Fs(p)p +Fw(.")-2 571 y Fn(`)-5 b(`)42 567 y Fs(\(foo)21 b(,,@q\))281 +563 y(U)281 571 y(U)324 567 y(\(LIST*)473 571 y Fn(')497 +567 y Fs(LIST)603 571 y Fn(')-5 b(')648 567 y Fs(FOO)20 +b(Q\))0 615 y(U)0 623 y(U)22 619 y(>)h(\(LIST)193 623 +y Fn(')216 619 y Fs(FOO)g(\(UNION)f(X)h(Y\))f(\(LIST)690 +623 y Fn(')714 619 y Fs(SQRT)g(9\)\))0 666 y(U)0 674 +y(U)22 670 y(>)h(\(FOO)f(\(A)h(B)g(C\))g(\(SQRT)f(9\)\))0 +754 y Fw(So)12 b Fs(,,@q)g Fw(means)g(\\the)h(v)n(alue)f(of)g +Fs(q)g Fw(is)h(a)f(list)g(of)g(forms;)f(splice)i(the)h(list)e(of)g(v)n +(alues)g(of)g(the)0 806 y(elemen)o(ts)i(of)f(the)i(v)n(alue)e(of)g +Fs(q)p Fw(.")-2 894 y Fn(`)-5 b(`)42 890 y Fs(\(foo)21 +b(,)171 894 y Fn(')194 890 y Fs(,r\))280 886 y(U)280 +894 y(U)323 890 y(\(LIST)451 894 y Fn(')474 890 y Fs(LIST)581 +894 y Fn(')-5 b(')625 890 y Fs(FOO)21 b(\(LIST)840 894 +y Fn(')863 890 y Fs(QUOTE)f(R\)\))0 938 y(U)0 946 y(U)22 +942 y(>)h(\(LIST)193 946 y Fn(')216 942 y Fs(FOO)300 +946 y Fn(')324 942 y Fs(\(UNION)f(X)h(Y\)\))0 990 y(U)0 +998 y(U)22 994 y(>)g(\(FOO)f(\(UNION)g(X)h(Y\)\))0 1078 +y Fw(So)c Fs(,)81 1082 y Fn(')104 1078 y Fs(,r)g Fw(means)f(\\the)i(v)n +(alue)e(of)h Fs(r)g Fw(ma)o(y)e(b)q(e)j(an)o(y)f(ob)r(ject;)i(use)g +(the)e(v)n(alue)g(of)g Fs(r)g Fw(that)0 1130 y(is)d(a)o(v)n(ailable)e +(at)j(the)g(time)e(of)g(\014rst)j(ev)n(aluation,)c(that)j(is,)f(when)g +(the)h(outer)g(bac)o(kquote)0 1182 y(is)h(ev)n(aluated.")23 +b(\(T)m(o)15 b(use)i(the)f(v)n(alue)g(of)f Fs(r)h Fw(that)f(is)h(a)o(v) +n(ailable)e(at)h(the)i(time)d(of)i(second)0 1234 y(ev)n(aluation,)c +(that)i(is,)f(when)i(the)f(inner)g(bac)o(kquote)g(is)g(ev)n(aluated,)f +(just)i(use)f Fs(,r)p Fw(.\))-2 1322 y Fn(`)-5 b(`)42 +1318 y Fs(\(foo)21 b(,)171 1322 y Fn(')194 1318 y Fs(,@s\))302 +1314 y(U)302 1322 y(U)345 1318 y(\(LIST)473 1322 y Fn(')496 +1318 y Fs(LIST)602 1322 y Fn(')l(')647 1318 y Fs(FOO)f(\(CONS)861 +1322 y Fn(')885 1318 y Fs(QUOTE)g(S\)\))0 1366 y(U)0 +1374 y(U)22 1370 y(>)h(\(LIST)193 1374 y Fn(')216 1370 +y Fs(FOO)300 1374 y Fn(')324 1370 y Fs(\(UNION)f(X)h(Y\)\))0 +1418 y(U)0 1426 y(U)22 1422 y(>)g(\(FOO)f(\(UNION)g(X)h(Y\)\))0 +1506 y Fw(So)12 b Fs(,)76 1510 y Fn(')99 1506 y Fs(,@s)g +Fw(means)f(\\the)i(v)n(alue)e(of)h Fs(s)g Fw(m)o(ust)f(b)q(e)i(a)f +(singleton)g(list)f(of)h(an)o(y)g(ob)r(ject;)h(use)g(the)0 +1558 y(elemen)o(t)g(of)g(the)h(v)n(alue)f(of)f Fs(s)i +Fw(that)f(is)g(a)o(v)n(ailable)f(at)h(the)h(time)e(of)h(\014rst)h(ev)n +(aluation,)e(that)0 1610 y(is,)i(when)h(the)g(outer)g(bac)o(kquote)g +(is)g(ev)n(aluated.")k(Note)c(that)g Fs(s)f Fw(m)o(ust)g(b)q(e)h(a)f +(singleton)0 1661 y(list)c(b)q(ecause)i(it)d(will)g(b)q(e)i(spliced)f +(in)o(to)g(a)g(form)e Fs(\(quote)20 b(\))p Fw(,)10 b(and)g(the)h +Fs(quote)e Fw(sp)q(ecial)h(form)0 1713 y(requires)15 +b(exactly)e(one)h(subform)e(to)i(app)q(ear;)f(this)h(is)f(generally)g +(true)i(of)d(the)j(sequence)-2 1769 y Fn(')21 1765 y +Fs(,@)p Fw(.)j(\(T)m(o)12 b(use)i(the)g(v)n(alue)f(of)g +Fs(s)g Fw(that)g(is)g(a)o(v)n(ailable)e(at)j(the)f(time)f(of)h(second)i +(ev)n(aluation,)0 1817 y(that)e(is,)f(when)h(the)h(inner)f(bac)o +(kquote)g(is)g(ev)n(aluated,)f(just)h(use)g Fs(,@s)p +Fw(,in)f(whic)o(h)g(case)i(the)0 1869 y(list)f Fs(s)h +Fw(is)g(not)g(restricted)i(to)d(b)q(e)i(singleton,)e(or)h +Fs(,\(car)20 b(s\))p Fw(.\))-2 1957 y Fn(`)-5 b(`)42 +1953 y Fs(\(foo)21 b(,@,p\))281 1949 y(U)281 1957 y(U)324 +1953 y(\(LIST)452 1957 y Fn(')475 1953 y Fs(CONS)581 +1957 y Fn(')-5 b(')626 1953 y Fs(FOO)20 b(P\))0 2001 +y(U)0 2009 y(U)22 2005 y(>)h(\(CONS)193 2009 y Fn(')216 +2005 y Fs(FOO)g(\(UNION)f(X)h(Y\)\))0 2053 y(U)0 2061 +y(U)22 2057 y(>)g(\(FOO)f(A)h(B)g(C\))0 2141 y Fw(So)12 +b Fs(,@,p)g Fw(means)f(\\the)i(v)n(alue)f(of)f Fs(p)h +Fw(is)h(a)f(form;)e(splice)j(in)f(the)h(v)n(alue)f(of)f(the)i(v)n(alue) +f(of)g Fs(p)p Fw(.")-2 2229 y Fn(`)-5 b(`)42 2225 y Fs(\(foo)21 +b(,@,@q\))303 2221 y(U)303 2229 y(U)346 2225 y(\(LIST)473 +2229 y Fn(')497 2225 y Fs(CONS)603 2229 y Fn(')-5 b(')648 +2225 y Fs(FOO)20 b(\(CONS)862 2229 y Fn(')885 2225 y +Fs(APPEND)g(Q\)\))0 2273 y(U)0 2281 y(U)22 2277 y(>)h(\(CONS)193 +2281 y Fn(')216 2277 y Fs(FOO)g(\(APPEND)e(\(UNION)h(X)h(Y\))g(\(LIST) +864 2281 y Fn(')887 2277 y Fs(SQRT)g(9\)\)\))0 2325 y(U)0 +2333 y(U)22 2329 y(>)g(\(FOO)f(A)h(B)g(C)g(SQRT)f(9\))-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1051 1075 +1051 1074 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(BA)o(CK)o(QUOTE)1085 +b(1051)0 295 y Fw(So)14 b Fs(,@,@q)f Fw(means)g(\\the)i(v)n(alue)e(of)g +Fs(q)h Fw(is)g(a)g(list)g(of)f(forms;)f(splice)j(eac)o(h)f(of)g(the)h +(v)n(alues)e(of)0 347 y(the)h(elemen)o(ts)g(of)g(the)g(v)n(alue)f(of)h +Fs(q)p Fw(,)f(so)h(that)g(man)o(y)e(splicings)h(o)q(ccur.")-2 +457 y Fn(`)-5 b(`)42 453 y Fs(\(foo)21 b(,@)193 457 y +Fn(')215 453 y Fs(,r\))302 449 y(U)302 457 y(U)345 453 +y(\(LIST)473 457 y Fn(')496 453 y Fs(CONS)602 457 y Fn(')l(')647 +453 y Fs(FOO)f(\(LIST)861 457 y Fn(')885 453 y Fs(QUOTE)g(R\)\))0 +501 y(U)0 509 y(U)22 505 y(>)h(\(CONS)193 509 y Fn(')216 +505 y Fs(FOO)300 509 y Fn(')324 505 y Fs(\(UNION)f(X)h(Y\)\))0 +553 y(U)0 561 y(U)22 557 y(>)g(\(FOO)f(UNION)g(X)h(Y\))0 +661 y Fw(So)15 b Fs(,@)101 665 y Fn(')124 661 y Fs(,r)g +Fw(means)g(\\the)h(v)n(alue)f(of)g Fs(r)h Fw(m)o(ust)e(b)q(e)j(a)e +(list;)h(splice)g(in)f(the)h(v)n(alue)f(of)g Fs(r)h Fw(that)0 +713 y(is)e(a)o(v)n(ailable)e(at)j(the)g(time)e(of)g(\014rst)j(ev)n +(aluation,)c(that)j(is,)f(when)g(the)h(outer)g(bac)o(kquote)0 +765 y(is)e(ev)n(aluated.")18 b(\(T)m(o)12 b(splice)i(the)g(v)n(alue)e +(of)h Fs(r)g Fw(that)h(is)f(a)o(v)n(ailable)e(at)i(the)h(time)e(of)h +(second)0 816 y(ev)n(aluation,)f(that)i(is,)f(when)i(the)f(inner)g(bac) +o(kquote)g(is)g(ev)n(aluated,)f(just)i(use)f Fs(,@r)p +Fw(.\))-2 927 y Fn(`)-5 b(`)42 923 y Fs(\(foo)21 b(,@)193 +927 y Fn(')215 923 y Fs(,@s\))324 919 y(U)324 927 y(U)367 +923 y(\(LIST)495 927 y Fn(')518 923 y Fs(CONS)624 927 +y Fn(')-5 b(')669 923 y Fs(FOO)20 b(\(CONS)883 927 y +Fn(')907 923 y Fs(QUOTE)g(S\)\))0 971 y(U)0 979 y(U)22 +975 y(>)h(\(CONS)193 979 y Fn(')216 975 y Fs(FOO)300 +979 y Fn(')324 975 y Fs(\(UNION)f(X)h(Y\)\))0 1023 y(U)0 +1031 y(U)22 1027 y(>)g(\(FOO)f(UNION)g(X)h(Y\))0 1131 +y Fw(So)c Fs(,@)103 1135 y Fn(')125 1131 y Fs(,@s)f Fw(means)h(\\the)g +(v)n(alue)f(of)g Fs(s)h Fw(m)o(ust)e(b)q(e)j(a)e(singleton)h(list)f +(whose)i(elemen)o(t)e(is)0 1183 y(a)f(list;)g(splice)g(in)g(the)h(list) +f(that)g(is)g(the)h(elemen)o(t)e(of)h(the)h(v)n(alue)e(of)h +Fs(s)g Fw(that)g(is)g(a)o(v)n(ailable)0 1234 y(at)j(the)h(time)d(of)i +(\014rst)h(ev)n(aluation,)e(that)h(is,)g(when)h(the)g(outer)f(bac)o +(kquote)h(is)f(ev)n(alu-)0 1286 y(ated.")25 b(\(T)m(o)15 +b(splice)h(the)h(elemen)o(t)e(of)h(the)g(v)n(alue)g(of)f +Fs(s)h Fw(that)g(is)g(a)o(v)n(ailable)e(at)h(the)i(time)0 +1338 y(of)c(second)i(ev)n(aluation,)d(that)h(is,)g(when)h(the)h(inner)f +(bac)o(kquote)g(is)f(ev)n(aluated,)g(just)h(use)0 1390 +y Fs(,@\(car)20 b(s\))p Fw(.\))42 1444 y(I)d(lea)o(v)o(e)h(it)g(to)g +(the)g(reader)h(to)f(explore)h(the)f(p)q(ossibilities)g(of)f(triply)g +(nested)j(bac)o(k-)0 1496 y(quotes.)0 1602 y Fs(\(setq)g(fools3)280 +1606 y Fn(')303 1602 y Fs(\()0 1654 y("$$$\(foo)g(\045\045\045p\)")104 +b("$$$\(foo)20 b(\045\045\045@q\)")0 1706 y("$$$\(foo)g(\045\045)238 +1710 y Fn(')260 1706 y Fs(\045r\)")84 b("$$$\(foo)20 +b(\045\045)670 1710 y Fn(')692 1706 y Fs(\045@s\)")0 +1758 y("$$$\(foo)g(\045\045@\045p\)")83 b("$$$\(foo)19 +b(\045\045@\045@q\)")0 1810 y("$$$\(foo)h(\045\045@)260 +1814 y Fn(')282 1810 y Fs(\045r\)")63 b("$$$\(foo)19 +b(\045\045@)692 1814 y Fn(')715 1810 y Fs(\045@s\)")0 +1862 y("$$$\(foo)h(\045)216 1866 y Fn(')238 1862 y Fs(\045\045p\)")84 +b("$$$\(foo)20 b(\045)648 1866 y Fn(')671 1862 y Fs(\045\045@q\)")0 +1914 y("$$$\(foo)g(\045)216 1918 y Fn(')238 1914 y Fs(\045)258 +1918 y Fn(')281 1914 y Fs(\045r\)")63 b("$$$\(foo)20 +b(\045)648 1918 y Fn(')671 1914 y Fs(\045)691 1918 y +Fn(')714 1914 y Fs(\045@s\)")0 1966 y("$$$\(foo)g(\045)216 +1970 y Fn(')238 1966 y Fs(\045@\045p\)")63 b("$$$\(foo)19 +b(\045)648 1970 y Fn(')671 1966 y Fs(\045@\045@q\)")0 +2017 y("$$$\(foo)h(\045)216 2021 y Fn(')238 2017 y Fs(\045@)280 +2021 y Fn(')303 2017 y Fs(\045r\)")42 b("$$$\(foo)19 +b(\045)648 2021 y Fn(')671 2017 y Fs(\045@)713 2021 y +Fn(')736 2017 y Fs(\045@s\)")0 2069 y("$$$\(foo)h(\045@\045\045p\)")83 +b("$$$\(foo)19 b(\045@\045\045@q\)")0 2121 y("$$$\(foo)h(\045@\045)260 +2125 y Fn(')282 2121 y Fs(\045r\)")63 b("$$$\(foo)19 +b(\045@\045)692 2125 y Fn(')715 2121 y Fs(\045@s\)")0 +2173 y("$$$\(foo)h(\045@\045@\045p\)")61 b("$$$\(foo)20 +b(\045@\045@\045@q\)")0 2225 y("$$$\(foo)g(\045@\045@)282 +2229 y Fn(')304 2225 y Fs(\045r\)")41 b("$$$\(foo)20 +b(\045@\045@)715 2229 y Fn(')737 2225 y Fs(\045@s\)")0 +2277 y("$$$\(foo)g(\045@)238 2281 y Fn(')260 2277 y Fs(\045\045p\)")63 +b("$$$\(foo)19 b(\045@)670 2281 y Fn(')693 2277 y Fs(\045\045@q\)")0 +2329 y("$$$\(foo)h(\045@)238 2333 y Fn(')260 2329 y Fs(\045)280 +2333 y Fn(')303 2329 y Fs(\045r\)")42 b("$$$\(foo)19 +b(\045@)670 2333 y Fn(')693 2329 y Fs(\045)713 2333 y +Fn(')736 2329 y Fs(\045@s\)")-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1052 1076 +1052 1075 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: BlackBars.ps + 0 setlinecap + 0.5 setlinewidth + 0 0 moveto + 0 -720 lineto + 0 setgray + stroke +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1052)78 b(COMMON)12 +b(LISP)0 295 y Fs("$$$\(foo)20 b(\045@)238 299 y Fn(')260 +295 y Fs(\045@\045p\)")41 b("$$$\(foo)20 b(\045@)671 +299 y Fn(')694 295 y Fs(\045@\045@q\)")0 347 y("$$$\(foo)g(\045@)238 +351 y Fn(')260 347 y Fs(\045@)302 351 y Fn(')325 347 +y Fs(\045r\)")g("$$$\(foo)g(\045@)671 351 y Fn(')694 +347 y Fs(\045@)736 351 y Fn(')758 347 y Fs(\045@s\)")0 +399 y(\)\))0 484 y Fw(It)15 b(is)g(a)f(pleasan)o(t)h(exercise)i(to)e +(construct)h(v)n(alues)f(for)f Fs(p)p Fw(,)h Fs(q)p Fw(,)f +Fs(r)p Fw(,)h(and)f Fs(s)h Fw(that)g(will)e(allo)o(w)0 +535 y(execution)i(of)e Fs(\(try)20 b(fools3)g(3\))14 +b Fw(without)f(error.)-33 547 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1797 x @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1053 1077 +1053 1076 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 448 598 9 v 0 531 a FB(References)32 +921 y FA([1])41 b(Adob)q(e)27 b(Systems)f(Incorp)q(orated.)57 +b Fq(PostScript)23 b(L)n(anguage)g(R)n(efer)n(enc)n(e)h(Manual)p +FA(.)114 966 y(Addison-W)m(esley)16 b(\(Reading,)e(Massac)o(h)o +(usetts,)h(1985\).)32 1024 y([2])41 b(Alb)q(erga,)21 +b(Cyril)e(N.,)g(Bosman-Clark,)h(Chris,)g(Mik)o(elsons,)i(Martin,)f(V)m +(an)d(Deusen,)114 1070 y(Mary)j(S.,)h(and)f(P)o(adget,)i(Julian.)41 +b(Exp)q(erience)22 b(with)f(an)g(uncommon)h(Lisp.)41 +b(In)114 1115 y Fq(Pr)n(o)n(c.)17 b(1986)e(A)o(CM)j(Confer)n(enc)n(e)d +(on)h(Lisp)h(and)f(F)m(unctional)e(Pr)n(o)n(gr)n(amming)p +FA(.)27 b(A)o(CM)114 1161 y(SIGPLAN/SIGA)o(CT/SIGAR)m(T)22 +b(\(Cam)o(bridge,)k(Massac)o(h)o(usetts,)f(August)e(1986\),)114 +1207 y(39{53.)32 1264 y([3])41 b Fq(A)o(meric)n(an)24 +b(National)f(Standar)n(d)g(Pr)n(o)n(gr)n(amming)i(L)n(anguage)e(F)o(OR) +m(TRAN)p FA(,)i(ANSI)114 1310 y(X3.9-1978)14 b(edition.)20 +b(American)14 b(National)i(Standards)f(Institute,)f(Inc.)k(\(New)13 +b(Y)m(ork,)114 1356 y(1978\).)32 1413 y([4])41 b(Bates,)17 +b(Ra)o(ymond)h(L.,)f(Dy)o(er,)g(Da)o(vid,)i(and)e(F)m(eb)q(er,)g(Mark.) +28 b(Recen)o(t)17 b(dev)o(elopmen)o(ts)114 1459 y(in)j(ISI-In)o +(terlisp.)37 b(In)19 b Fq(Pr)n(o)n(c.)g(1984)e(A)o(CM)j(Symp)n(osium)e +(on)g(Lisp)h(and)f(F)m(unctional)114 1505 y(Pr)n(o)n(gr)n(amming)p +FA(.)k(A)o(CM)15 b(SIGPLAN/SIGA)o(CT/SIGAR)m(T)f(\(Austin,)j(T)m(exas,) +e(August)114 1550 y(1984\),)e(129{139.)32 1608 y([5])41 +b(Bobro)o(w,)28 b(Daniel)e(G.,)h(DiMic)o(hiel)q(,)j(Linda)c(G.,)h +(Gabriel,)i(Ric)o(hard)d(P)m(.,)h(Keene,)114 1654 y(Son)o(y)o(a)14 +b(E.,)f(Kiczales,)i(Gregor,)f(and)g(Mo)q(on,)g(Da)o(vid)h(A.)e(Common)g +(Lisp)i(Ob)r(ject)e(Sys-)114 1699 y(tem)c(Sp)q(eci\014cation)q(:)18 +b(X3J13)9 b(Do)q(cumen)o(t)i(88-002R.)f Fq(SIGPLAN)f(Notic)n(es)e(23)h +FA(\(Septem-)114 1745 y(b)q(er)13 b(1988\).)32 1802 y([6])41 +b(Bobro)o(w,)28 b(Daniel)e(G.,)h(DiMic)o(hiel)q(,)j(Linda)c(G.,)h +(Gabriel,)i(Ric)o(hard)d(P)m(.,)h(Keene,)114 1848 y(Son)o(y)o(a)14 +b(E.,)f(Kiczales,)i(Gregor,)f(and)g(Mo)q(on,)g(Da)o(vid)h(A.)e(Common)g +(Lisp)i(Ob)r(ject)e(Sys-)114 1894 y(tem)20 b(sp)q(eci\014cation:)33 +b(1.)19 b(Programmer)i(in)o(terface)f(concepts.)38 b +Fq(Lisp)19 b(and)g(Symb)n(olic)114 1939 y(Computation)10 +b(1)p FA(,)j(3/4)g(\(Jan)o(uary)h(1989\),)f(245{298.)32 +1997 y([7])41 b(Bobro)o(w,)28 b(Daniel)e(G.,)h(DiMic)o(hiel)q(,)j +(Linda)c(G.,)h(Gabriel,)i(Ric)o(hard)d(P)m(.,)h(Keene,)114 +2043 y(Son)o(y)o(a)14 b(E.,)f(Kiczales,)i(Gregor,)f(and)g(Mo)q(on,)g +(Da)o(vid)h(A.)e(Common)g(Lisp)i(Ob)r(ject)e(Sys-)114 +2088 y(tem)g(sp)q(eci\014cation)q(:)20 b(2.)14 b(F)m(unctions)h(in)f +(the)g(programmer)h(in)o(terface.)k Fq(Lisp)13 b(and)g(Sym-)114 +2134 y(b)n(olic)f(Computation)f(1)p FA(,)h(3/4)h(\(Jan)o(uary)h +(1989\),)f(299{394.)32 2192 y([8])41 b(Bobro)o(w,)17 +b(Daniel)h(G.,)f(and)g(Kiczales,)h(Gregor.)27 b(The)16 +b(Common)h(Lisp)g(Ob)r(ject)f(Sys-)114 2237 y(tem)i(metaob)r(ject)g(k)o +(ernel:)28 b(A)17 b(status)h(rep)q(ort.)32 b(In)18 b +Fq(Pr)n(o)n(c.)f(1988)g(A)o(CM)h(Confer)n(enc)n(e)114 +2283 y(on)d(Lisp)f(and)h(F)m(unctional)d(Pr)n(o)n(gr)n(amming)p +FA(.)22 b(A)o(CM)14 b(SIGPLAN/SIGA)o(CT/SIGAR)m(T)114 +2329 y(\(Sno)o(wbird,)g(Utah,)f(July)h(1988\),)f(309{315.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1318 2428 a Fy(1053)p eop +%%Page: 1054 1078 +1054 1077 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1054)78 b(REFERENCES)32 +295 y FA([9])41 b(Bro)q(oks,)14 b(Ro)q(dney)g(A.,)e(and)h(Gabriel,)i +(Ric)o(hard)f(P)m(.)f(A)f(critique)j(of)e(Common)g(Lisp.)18 +b(In)114 340 y Fq(Pr)n(o)n(c.)e(1984)g(A)o(CM)h(Symp)n(osium)e(on)h +(Lisp)g(and)g(F)m(unctional)e(Pr)n(o)n(gr)n(amming)p +FA(.)26 b(A)o(CM)114 386 y(SIGPLAN/SIGA)o(CT/SIGAR)m(T)13 +b(\(Austin,)g(T)m(exas,)g(August)g(1984\),)h(1{8.)13 +440 y([10])41 b(Bro)q(oks,)11 b(Ro)q(dney)g(A.,)f(Gabriel,)i(Ric)o +(hard)f(P)m(.,)e(and)i(Steele,)g(Guy)f(L.,)g(Jr.)15 b(S-1)10 +b(Common)114 486 y(Lisp)h(implemen)o(tation.)19 b(In)9 +b Fq(Pr)n(o)n(c.)h(1982)f(A)o(CM)i(Symp)n(osium)e(on)h(Lisp)f(and)h(F)m +(unctional)114 531 y(Pr)n(o)n(gr)n(amming)p FA(.)19 b(A)o(CM)14 +b(SIGPLAN/SIGA)o(CT/SIGAR)m(T)g(\(Pittsburgh,)i(P)o(ennsylv)n(a-)114 +577 y(nia,)e(August)f(1982\),)g(108{113.)13 631 y([11])41 +b(Bro)q(oks,)12 b(Ro)q(dney)h(A.,)e(Gabriel,)i(Ric)o(hard)g(P)m(.,)e +(and)h(Steele,)g(Guy)g(L.,)f(Jr.)16 b(An)11 b(optimiz-)114 +677 y(ing)i(compiler)h(for)e(lexically)j(scop)q(ed)e(lisp.)19 +b(In)12 b Fq(Pr)n(o)n(c.)g(1982)f(Symp)n(osium)g(on)h(Compiler)114 +722 y(Construction)p FA(.)19 b(A)o(CM)c(SIGPLAN)f(\(Boston,)i(June)f +(1982\),)h(261{275.)23 b(Pro)q(ceedings)114 768 y(published)16 +b(as)d Fq(A)o(CM)h(SIGPLAN)e(Notic)n(es)f(17)p FA(,)g(6)i(\(June)g +(1982\).)13 822 y([12])41 b(Clinger,)16 b(Willia)q(m)h(\(ed.\))22 +b Fq(The)15 b(R)n(evise)n(d)e(R)n(evise)n(d)h(R)n(ep)n(ort)g(on)g +(Scheme;)g(or,)i(A)o(n)e(Un-)114 868 y(c)n(ommon)g(Lisp)p +FA(.)k(AI)13 b(Memo)h(848.)20 b(MIT)14 b(Arti\014cial)i(In)o +(telligence)g(Lab)q(oratory)f(\(Cam-)114 913 y(bridge,)f(Massac)o(h)o +(usetts,)g(August)g(1985\).)13 967 y([13])41 b(Clinger,)16 +b(Willia)q(m)h(\(ed.\))22 b Fq(The)15 b(R)n(evise)n(d)e(R)n(evise)n(d)h +(R)n(ep)n(ort)g(on)g(Scheme;)g(or,)i(A)o(n)e(Un-)114 +1013 y(c)n(ommon)d(Lisp)p FA(.)k(Computer)d(Science)g(Departmen)o(t)g +(T)m(ec)o(hnical)h(Rep)q(ort)e(174.)17 b(Indiana)114 +1059 y(Univ)o(ersit)o(y)e(\(Blo)q(omington,)g(Indiana,)g(June)e +(1985\).)13 1112 y([14])41 b(Co)q(dy)m(,)12 b(William)i(J.,)d(Jr.,)g +(and)h(W)m(aite,)g(Willia)q(m.)19 b Fq(Softwar)n(e)11 +b(Manual)g(for)h(the)f(Elemen-)114 1158 y(tary)i(F)m(unctions)p +FA(.)h(Pren)o(tice-Hall)h(\(Englew)o(o)q(o)q(d)g(Cli\013s,)f(New)e +(Jersey)m(,)h(1980\).)13 1212 y([15])41 b(Committee,)15 +b(ANSI)g(X3J3.)22 b(Draft)15 b(prop)q(osed)h(American)g(National)h +(Standard)f(F)m(or-)114 1258 y(tran.)h Fq(A)o(CM)d(SIGPLAN)e(Notic)n +(es)f(11)p FA(,)g(3)i(\(Marc)o(h)h(1976\).)13 1312 y([16])41 +b(Co)q(onen,)12 b(Jerome)f(T.)g(Errata)g(for)g(\\An)g(implemen)o +(tation)k(guide)d(to)f(a)h(prop)q(osed)g(stan-)114 1357 +y(dard)g(for)f(\015oating-p)q(oint)j(arithmetic.")k Fq(Computer)10 +b(14)p FA(,)h(3)g(\(Marc)o(h)h(1981\),)g(62.)k(These)114 +1403 y(are)d(errata)g(for)g([17].)13 1457 y([17])41 b(Co)q(onen,)21 +b(Jerome)d(T.)g(An)h(implemen)o(tation)i(guide)f(to)f(a)g(prop)q(osed)h +(standard)g(for)114 1503 y(\015oating-p)q(oin)o(t)c(arithmetic.)i +Fq(Computer)12 b(13)p FA(,)g(1)g(\(Jan)o(uary)i(1980\),)f(68{79.)18 +b(Errata)13 b(for)114 1548 y(this)h(pap)q(er)g(app)q(eared)g(as)f +([16].)13 1602 y([18])41 b(DiMic)o(hiel)q(,)15 b(Linda)f(G.)f(Ov)o +(erview:)18 b(The)13 b(Common)g(Lisp)h(Ob)r(ject)f(System.)k +Fq(Lisp)c(and)114 1648 y(Symb)n(olic)f(Computation)e(1)p +FA(,)i(3/4)i(\(Jan)o(uary)f(1989\),)h(227{244.)13 1702 +y([19])41 b(F)m(ateman,)10 b(Ric)o(hard)h(J.)d(Reply)i(to)f(an)g +(editorial.)19 b Fq(A)o(CM)10 b(SIGSAM)e(Bul)r(letin)f(25)h +FA(\(Marc)o(h)114 1748 y(1973\),)13 b(9{11.)13 1802 y([20])41 +b(Goldb)q(erg,)18 b(Adele,)e(and)g(Robson,)i(Da)o(vid.)26 +b Fq(Smal)r(ltalk-80)o(:)20 b(The)15 b(L)n(anguage)f(and)h(Its)114 +1847 y(Implementation)p FA(.)f(Addison-W)m(esley)h(\(Reading,)g(Massac) +o(h)o(usetts,)f(1983\).)13 1901 y([21])41 b(Griss,)15 +b(Martin)h(L.,)e(Benson,)h(Eric,)g(and)g(Hearn,)f(An)o(thon)o(y)i(C.)d +(Curren)o(t)i(status)g(of)f(a)114 1947 y(p)q(ortable)c(LISP)f +(compiler.)18 b(In)8 b Fq(Pr)n(o)n(c.)i(1982)e(Symp)n(osium)g(on)h +(Compiler)g(Construction)p FA(.)114 1993 y(A)o(CM)17 +b(SIGPLAN)g(\(Boston,)i(June)f(1982\),)g(276{283.)32 +b(Pro)q(ceedings)19 b(published)h(as)114 2038 y Fq(A)o(CM)14 +b(SIGPLAN)e(Notic)n(es)e(17)p FA(,)i(6)h(\(June)g(1982\).)13 +2092 y([22])41 b(Harrenstien,)19 b(Kenneth)f(L.)e Fq(Time)i(Server)p +FA(.)28 b(Request)18 b(for)e(Commen)o(ts)h(\(RF)o(C\))g(738)114 +2138 y(\(NIC)8 b(42218\).)16 b(ARP)m(ANET)9 b(Net)o(w)o(ork)f(W)m +(orking)j(Group)f(\(Octob)q(er)f(1977\).)16 b(Av)n(ailable)114 +2183 y(from)d(the)g(ARP)m(ANET)f(Net)o(w)o(ork)h(Information)h(Cen)o +(ter.)13 2237 y([23])41 b(IEEE)33 b(Computer)h(So)q(ciet)o(y)g +(Standard)h(Committee,)j(Floating-P)o(oin)o(t)e(W)m(ork-)114 +2283 y(ing)16 b(Group,)g(Micropro)q(cessor)h(Standards)g(Sub)q +(committee.)25 b(A)15 b(prop)q(osed)h(standard)114 2329 +y(for)d(binary)h(\015oating-p)q(oint)h(arithmetic.)k +Fq(Computer)12 b(14)p FA(,)g(3)h(\(Marc)o(h)g(1981\),)g(51{62.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1055 1079 +1055 1078 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(REFERENCES)1081 +b(1055)13 295 y FA([24])41 b(ISO.)17 b Fq(Information)f(Pr)n(o)n(c)n +(essing|Co)n(de)n(d)f(Char)n(acter)i(Sets)g(for)g(T)m(ext)h(Communic)n +(a-)114 340 y(tion,)13 b(Part)h(2:)19 b(L)n(atin)14 b(A)o(lphab)n(etic) +d(and)i(Non-alphab)n(e)o(tic)e(Gr)n(aphic)i(Char)n(acters)p +FA(.)18 b(ISO)114 386 y(\(1983\).)13 433 y([25])41 b(Kahan,)21 +b(W.)d(Branc)o(h)i(cuts)f(for)g(complex)h(elemen)o(tary)g(functions;)j +(or,)d(Muc)o(h)f(ado)114 479 y(ab)q(out)c(nothing's)h(sign)g(bit.)22 +b(In)14 b(Iserles,)h(A.,)f(and)h(P)o(o)o(w)o(ell,)g(M.)f(\(eds.\),)g +Fq(The)h(State)e(of)114 525 y(the)g(A)o(rt)g(in)g(Numeric)n(al)f(A)o +(nalysis)p FA(.)i(Clarendon)g(Press)g(\(1987\),)f(165{211.)13 +572 y([26])41 b(Keene,)20 b(Son)o(y)o(a)f(E.)f Fq(Obje)n(ct-Oriente)n +(d)e(Pr)n(o)n(gr)n(amming)h(in)h(Common)h(Lisp:)26 b(A)18 +b(Pr)n(o-)114 617 y(gr)n(ammer's)11 b(Guide)f(to)h(CLOS)p +FA(.)g(Addison-W)m(esley)j(\(Reading,)f(Massac)o(h)o(usetts,)f(1989\).) +13 664 y([27])41 b(Kn)o(uth,)13 b(Donald)h(E.)f Fq(Seminumeric)n(al)d +(A)o(lgorithms)p FA(.)15 b(V)m(olume)e(2)g(of)f Fq(The)h(A)o(rt)g(of)g +(Com-)114 710 y(puter)g(Pr)n(o)n(gr)n(amming)p FA(.)i(Addison-W)m +(esley)h(\(Reading,)f(Massac)o(h)o(usetts,)f(1969\).)13 +757 y([28])41 b(Kn)o(uth,)15 b(Donald)h(E.)e Fq(The)g(TEXb)n(o)n(ok)p +FA(.)20 b(V)m(olume)15 b(A)e(of)h Fq(Computers)g(and)g(T)m(yp)n +(esetting)p FA(.)114 803 y(Addison-W)m(esley)i(\(Reading,)e(Massac)o(h) +o(usetts,)h(1986\).)13 850 y([29])41 b(Kn)o(uth,)16 b(Donald)h(E.)e +Fq(TEX:)g(The)h(Pr)n(o)n(gr)n(am)p FA(.)23 b(V)m(olume)15 +b(B)h(of)f Fq(Computers)f(and)h(T)m(yp)n(e-)114 896 y(setting)p +FA(.)g(Addison-W)m(esley)g(\(Reading,)g(Massac)o(h)o(usetts,)f(1986\).) +13 943 y([30])41 b(Lamp)q(ort,)11 b(Leslie.)18 b Fq(LA)m(TEX:)10 +b(A)h(Do)n(cument)e(Pr)n(ep)n(ar)n(ation)g(System)p FA(.)15 +b(Addison-W)m(esley)114 988 y(\(Reading,)g(Massac)o(h)o(usetts,)f +(1986\).)13 1036 y([31])41 b(Marti,)17 b(J.,)f(Hearn,)g(A.)f(C.,)h +(Griss,)h(M.)f(L.,)f(and)i(Griss,)g(C.)e(Standard)j(Lisp)e(rep)q(ort.) +114 1081 y Fq(A)o(CM)e(SIGPLAN)e(Notic)n(es)e(14)p FA(,)i(10)h(\(Octob) +q(er)h(1979\),)f(48{68.)13 1128 y([32])41 b(McDonnell,)18 +b(E.)c(E.)h(The)g(story)g(of)g Ff(\016)p FA(.)23 b Fq(APL)15 +b(Quote)f(Quad)g(8)p FA(,)h(2)g(\(Decem)o(b)q(er)g(1977\),)114 +1174 y(48{54.)13 1221 y([33])41 b(Mo)q(on,)15 b(Da)o(vid.)23 +b Fq(MacLISP)14 b(R)n(efer)n(enc)n(e)f(Manual,)g(R)n(evision)g(0)p +FA(.)21 b(MIT)14 b(Pro)r(ject)g(MA)o(C)114 1267 y(\(Cam)o(bridge,)g +(Massac)o(h)o(usetts,)g(April)g(1974\).)13 1314 y([34])41 +b(Mo)q(on,)13 b(Da)o(vid;)g(Stallman,)h(Ric)o(hard;)f(and)g(W)m +(einreb,)g(Daniel.)19 b Fq(LISP)12 b(Machine)e(Man-)114 +1360 y(ual,)j(Fifth)g(Edition)p FA(.)i(MIT)e(Arti\014cial)i(In)o +(telligence)h(Lab)q(oratory)e(\(Cam)o(bridge,)g(Mas-)114 +1405 y(sac)o(h)o(usetts,)g(Jan)o(uary)f(1983\).)13 1452 +y([35])41 b(P)o(adget,)22 b(Julian,)h(et)d(al.)83 b(Desiderata)22 +b(for)e(the)g(standardisation)j(of)d(Lisp.)39 b(In)114 +1498 y Fq(Pr)n(o)n(c.)17 b(1986)e(A)o(CM)j(Confer)n(enc)n(e)d(on)h +(Lisp)h(and)f(F)m(unctional)e(Pr)n(o)n(gr)n(amming)p +FA(.)27 b(A)o(CM)114 1544 y(SIGPLAN/SIGA)o(CT/SIGAR)m(T)22 +b(\(Cam)o(bridge,)k(Massac)o(h)o(usetts,)f(August)e(1986\),)114 +1589 y(54{66.)13 1637 y([36])41 b(P)o(en\014eld,)13 b(P)o(aul,)e(Jr.)16 +b(Principal)e(v)n(alues)e(and)f(branc)o(h)h(cuts)f(in)g(complex)h(APL.) +f(In)f Fq(APL)114 1682 y(81)h(Confer)n(enc)n(e)f(Pr)n(o)n(c)n(e)n(e)n +(dings)p FA(.)k(A)o(CM)c(SIGAPL)i(\(San)f(F)m(rancisco,)i(Septem)o(b)q +(er)f(1981\),)114 1728 y(248{256.)17 b(Pro)q(ceedings)c(published)g(as) +d Fq(APL)h(Quote)f(Quad)f(12)p FA(,)h(1)g(\(Septem)o(b)q(er)h(1981\).) +13 1775 y([37])41 b(Pitman,)16 b(Ken)o(t)e(M.)g Fq(The)h(R)n(evise)n(d) +e(MacLISP)h(Manual)p FA(.)20 b(MIT/LCS/TR)14 b(295.)22 +b(MIT)114 1821 y(Lab)q(oratory)14 b(for)f(Computer)g(Science)i(\(Cam)o +(bridge,)f(Massac)o(h)o(usetts,)g(Ma)o(y)f(1983\).)13 +1868 y([38])41 b(Pitman,)16 b(Ken)o(t)e(M.)g Fq(Exc)n(eptional)e +(Situations)g(in)i(Lisp.)21 b FA(W)m(orking)16 b(pap)q(er)f(268.)22 +b(MIT)114 1913 y(Arti\014cial)15 b(In)o(telligence)h(Lab)q(oratory)e +(\(Cam)o(bridge,)g(Massac)o(h)o(usetts\).)13 1961 y([39])41 +b(Queinnec,)13 b(Christian,)h(and)f(Coin)o(te,)f(Pierre.)18 +b(An)11 b(op)q(en-ended)j(data)e(represen)o(tation)114 +2006 y(mo)q(del)i(for)e(EU)p 343 2006 12 2 v 14 w(LISP.)g(In)h +Fq(Pr)n(o)n(c.)g(1988)f(A)o(CM)h(Confer)n(enc)n(e)f(on)g(Lisp)h(and)f +(F)m(unctional)114 2052 y(Pr)n(o)n(gr)n(amming)p FA(.)29 +b(A)o(CM)16 b(SIGPLAN/SIGA)o(CT/SIGAR)m(T)h(\(Sno)o(wbird,)j(Utah,)e +(July)114 2098 y(1988\),)13 b(298{308.)13 2145 y([40])41 +b(Rees,)14 b(Jonathan,)h(Clinger,)g(William,)i(et)c(al.)20 +b(Revised)934 2129 y Fc(3)967 2145 y FA(rep)q(ort)14 +b(on)g(the)g(algorithmic)114 2190 y(language)h(Sc)o(heme.)j +Fq(A)o(CM)c(SIGPLAN)d(Notic)n(es)g(21)p FA(,)h(12)h(\(Decem)o(b)q(er)g +(1986\),)h(37{79.)13 2237 y([41])41 b(Reiser,)13 b(John)g(F.)f +Fq(A)o(nalysis)f(of)h(A)n(dditive)f(R)n(andom)h(Numb)n(er)g(Gener)n +(ators)p FA(.)i(T)m(ec)o(hnical)114 2283 y(Rep)q(ort)c(ST)m +(AN-CS-77-601.)15 b(Stanford)9 b(Univ)o(ersit)o(y)i(Computer)e(Science) +i(Departmen)o(t)114 2329 y(\(P)o(alo)j(Alto,)f(California,)i(Marc)o(h)e +(1977\).)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1056 1080 +1056 1079 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1056)78 b(REFERENCES)13 +295 y FA([42])41 b(Ro)o(ylance,)17 b(Gerald.)35 b(Expressing)17 +b(mathematical)g(subroutines)g(constructiv)o(ely)m(.)25 +b(In)114 340 y Fq(Pr)n(o)n(c.)17 b(1988)e(A)o(CM)j(Confer)n(enc)n(e)d +(on)h(Lisp)h(and)f(F)m(unctional)e(Pr)n(o)n(gr)n(amming)p +FA(.)27 b(A)o(CM)114 386 y(SIGPLAN/SIGA)o(CT/SIGAR)m(T)13 +b(\(Sno)o(wbird,)h(Utah,)f(July)g(1988\),)h(8{13.)13 +433 y([43])41 b(Steele,)13 b(Guy)h(L.,)e(Jr.)k(An)d(o)o(v)o(erview)g +(of)g(Common)g(Lisp.)k(In)c Fq(Pr)n(o)n(c.)g(1982)f(A)o(CM)h(Sym-)114 +479 y(p)n(osium)j(on)g(Lisp)g(and)g(F)m(unctional)e(Pr)n(o)n(gr)n +(amming)p FA(.)27 b(A)o(CM)16 b(SIGPLAN/SIGA)o(CT/)114 +525 y(SIGAR)m(T)d(\(Pittsburgh,)h(P)o(ennsylv)n(ania)q(,)h(August)f +(1982\),)f(98{107.)13 572 y([44])41 b(Steele,)15 b(Guy)g(L.,)f(Jr.,)g +(and)h(Hillis,)i(W.)e(Daniel.)23 b(Connection)16 b(Mac)o(hine)g(Lisp:) +21 b(Fine-)114 618 y(grained)12 b(parallel)i(sym)o(b)q(olic)f(pro)q +(cessing.)18 b(In)11 b Fq(Pr)n(o)n(c.)f(1986)g(A)o(CM)i(Confer)n(enc)n +(e)e(on)h(Lisp)114 664 y(and)17 b(F)m(unctional)f(Pr)n(o)n(gr)n(amming) +p FA(.)31 b(A)o(CM)17 b(SIGPLAN/SIGA)o(CT/SIGAR)m(T)h(\(Cam-)114 +709 y(bridge,)c(Massac)o(h)o(usetts,)g(August)g(1986\),)f(279{297.)13 +757 y([45])41 b(Steele,)20 b(Guy)f(Lewis,)h(Jr.)33 b +Fq(RABBIT:)18 b(A)g(Compiler)g(for)g(SCHEME)h(\(A)f(Study)e(in)114 +802 y(Compiler)f(Optimization\))p FA(.)22 b(T)m(ec)o(hnical)17 +b(Rep)q(ort)f(474.)24 b(MIT)15 b(Arti\014cial)j(In)o(telligence)114 +848 y(Lab)q(oratory)c(\(Cam)o(bridge,)g(Massac)o(h)o(usetts,)g(Ma)o(y)g +(1978\).)13 895 y([46])41 b(Steele,)19 b(Guy)e(Lewis,)h(Jr.,)f(and)h +(Sussman,)g(Gerald)h(Ja)o(y)m(.)28 b Fq(The)17 b(R)n(evise)n(d)e(R)n +(ep)n(ort)i(on)114 941 y(SCHEME:)i(A)f(Diale)n(ct)f(of)i(LISP)p +FA(.)e(AI)h(Memo)h(452.)35 b(MIT)18 b(Arti\014cial)j(In)o(telligence) +114 987 y(Lab)q(oratory)14 b(\(Cam)o(bridge,)g(Massac)o(h)o(usetts,)g +(Jan)o(uary)g(1978\).)13 1034 y([47])41 b(Suzuki,)20 +b(Norihisa.)34 b(Analysis)19 b(of)f(p)q(oin)o(ter)h(\\rotation".)33 +b Fq(Communic)n(ations)15 b(of)j(the)114 1080 y(A)o(CM)13 +b(25)p FA(,)f(5)h(\(Ma)o(y)g(1982\),)g(330{335.)13 1127 +y([48])41 b(Sw)o(anson,)15 b(Mark,)f(Kessler,)h(Rob)q(ert,)g(and)f +(Lindstrom,)h(Gary)m(.)21 b(An)13 b(implemen)o(tation)114 +1173 y(of)h(P)o(ortable)h(Standard)g(Lisp)g(on)f(the)g(BBN)g +(Butter\015y)m(.)21 b(In)14 b Fq(Pr)n(o)n(c.)g(1988)f(A)o(CM)h(Con-)114 +1219 y(fer)n(enc)n(e)h(on)i(Lisp)f(and)g(F)m(unctional)e(Pr)n(o)n(gr)n +(amming)p FA(.)27 b(A)o(CM)16 b(SIGPLAN/SIGA)o(CT/)114 +1264 y(SIGAR)m(T)d(\(Sno)o(wbird,)h(Utah,)f(July)h(1988\),)f(132{142.) +13 1312 y([49])41 b(Sym)o(b)q(olics,)24 b(Inc.)37 b Fq(Signal)r(ling)17 +b(and)i(Hand)r(ling)e(Conditions.)35 b FA(\(Cam)o(bridge,)22 +b(Mas-)114 1357 y(sac)o(h)o(usetts,)14 b(1983\).)13 1405 +y([50])41 b(T)m(eitelman,)19 b(W)m(arren,)g(et)e(al.)31 +b Fq(InterLISP)16 b(R)n(efer)n(enc)n(e)f(Manual)p FA(.)29 +b(Xero)o(x)17 b(P)o(alo)h(Alto)114 1451 y(Researc)o(h)c(Cen)o(ter)f +(\(P)o(alo)h(Alto,)f(California,)i(1978\).)i(Third)d(revision.)13 +1498 y([51])41 b(The)11 b(Utah)g(Sym)o(b)q(olic)i(Computation)f(Group.) +17 b Fq(The)12 b(Portable)e(Standar)n(d)f(LISP)i(Users)114 +1544 y(Manual)p FA(.)24 b(T)m(ec)o(hnical)17 b(Rep)q(ort)g(TR-10.)25 +b(Departmen)o(t)17 b(of)e(Computer)i(Science,)g(Uni-)114 +1589 y(v)o(ersit)o(y)d(of)f(Utah)g(\(Salt)h(Lak)o(e)f(Cit)o(y)m(,)g +(Utah,)g(Jan)o(uary)g(1982\).)13 1637 y([52])41 b(W)m(aters,)13 +b(Ric)o(hard)h(C.)e Fq(Optimization)e(of)j(Series)f(Expr)n(essions,)e +(Part)j(I:)g(User's)e(Man-)114 1682 y(ual)g(for)g(the)f(Series)g(Macr)n +(o)h(Package)p FA(.)j(AI)c(Memo)h(1082.)17 b(MIT)10 b(Arti\014cial)j +(In)o(telligence)114 1728 y(Lab)q(oratory)h(\(Cam)o(bridge,)g(Massac)o +(h)o(usetts,)g(Jan)o(uary)g(1989\).)13 1775 y([53])41 +b(W)m(aters,)12 b(Ric)o(hard)i(C.)d Fq(Optimization)f(of)j(Series)e +(Expr)n(essions,)f(Part)i(II:)g(Overview)g(of)114 1821 +y(the)h(The)n(ory)g(and)g(Implementation)p FA(.)i(AI)e(Memo)h(1083.)k +(MIT)13 b(Arti\014cial)j(In)o(telligence)114 1867 y(Lab)q(oratory)e +(\(Cam)o(bridge,)g(Massac)o(h)o(usetts,)g(Jan)o(uary)g(1989\).)13 +1914 y([54])41 b(W)m(aters,)25 b(Ric)o(hard)g(C.)d Fq(XP:)g(A)g(Common) +h(Lisp)f(Pr)n(etty)f(Printing)g(System)p FA(.)45 b(AI)114 +1960 y(Memo)24 b(1102.)51 b(MIT)24 b(Arti\014cial)i(In)o(telligence)g +(Lab)q(oratory)g(\(Cam)o(bridge,)h(Mas-)114 2006 y(sac)o(h)o(usetts,)14 +b(Marc)o(h)f(1989\).)13 2053 y([55])41 b(W)m(einreb,)21 +b(Daniel,)g(and)e(Mo)q(on,)i(Da)o(vid.)34 b Fq(LISP)18 +b(Machine)f(Manual,)h(F)m(ourth)g(Edi-)114 2099 y(tion)p +FA(.)c(MIT)9 b(Arti\014cial)i(In)o(telligence)h(Lab)q(oratory)f(\(Cam)o +(bridge,)g(Massac)o(h)o(usetts,)g(July)114 2144 y(1981\).)13 +2192 y([56])41 b(Wholey)m(,)11 b(Sk)o(ef,)e(and)h(F)m(ahlman,)g(Scott)g +(E.)e(The)h(design)h(of)e(an)i(instruction)h(set)e(for)f(Com-)114 +2237 y(mon)k(Lisp.)18 b(In)12 b Fq(Pr)n(o)n(c.)g(1984)g(A)o(CM)h(Symp)n +(osium)e(on)h(Lisp)g(and)g(F)m(unctional)d(Pr)n(o)n(gr)n(am-)114 +2283 y(ming)p FA(.)31 b(A)o(CM)17 b(SIGPLAN/SIGA)o(CT/SIGAR)m(T)h +(\(Austin,)h(T)m(exas,)g(August)f(1984\),)114 2329 y(150{158.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1057 1081 +1057 1080 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(REFERENCES)1081 +b(1057)13 295 y FA([57])41 b(Wholey)m(,)17 b(Sk)o(ef,)e(and)h(Steele,)g +(Guy)g(L.,)e(Jr.)23 b(Connection)17 b(Mac)o(hine)f(Lisp:)22 +b(A)15 b(dialect)114 340 y(of)j(Common)h(Lisp)h(for)f(data)g(parallel)i +(programming.)36 b(In)19 b(Kartashev,)h(Lana)g(P)m(.,)114 +386 y(and)d(Kartashev,)h(Stev)o(en)f(I.)f(\(eds.\),)g +Fq(Pr)n(o)n(c.)h(Se)n(c)n(ond)d(Internationa)o(l)g(Confer)n(enc)n(e)h +(on)114 432 y(Sup)n(er)n(c)n(omputing)o FA(.)f(V)m(olume)g(I)q(I)q(I.)e +(In)o(ternational)k(Sup)q(ercomputing)g(Institute)e(\(San)o(ta)114 +477 y(Clara,)f(California,)i(Ma)o(y)f(1987\),)f(45{54.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1058 1082 +1058 1081 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 448 598 9 v 0 531 a FB(Index)21 +b(of)h(X3J13)f(V)n(otes)0 885 y Fw(This)e(is)g(an)f(index)h(of)f +(issues)i(v)o(oted)f(up)q(on)g(b)o(y)g(X3J13.)33 b(F)m(or)18 +b(the)i(b)q(ene\014t)g(of)e(those)0 937 y(readers)i(who)f(ma)o(y)e +(wish)i(to)g(cross-reference)j(to)d(the)g(X3J13)g(w)o(orking)f(do)q +(cumen)o(ts)0 989 y(or)h(to)g(the)g(min)o(utes)f(of)g(the)i(X3J13)e +(meetings,)h(eac)o(h)h(v)o(ote)f(is)f(iden)o(ti\014ed)h(b)q(elo)o(w)g +(b)o(y)0 1041 y(the)c(\(sometimes)d(whimsical\))g(descriptiv)o(e)j(lab) +q(el)f(used)h(in)e(X3J13)h(discussions.)19 b(Eac)o(h)0 +1093 y(lab)q(el)14 b(consists)i(of)e(the)h(name)f(of)g(an)h(issue)g +(and)g(the)g(name)f(of)g(the)h(solution)f(that)h(w)o(as)0 +1145 y(appro)o(v)o(ed)f(\(man)o(y)e(issues)i(had)g(more)f(than)g(one)h +(prop)q(osed)h(solution\))e(separated)i(b)o(y)e(a)0 1197 +y(colon.)24 b(A)17 b(few)f(solutions)f(had)h(no)g(explicit)g(name.)24 +b(P)o(age)16 b(n)o(um)o(b)q(ers)f(indicate)i(where)0 +1248 y(eac)o(h)h(issue)h(is)e(cited)i(in)e(the)i(text;)g(a)f(follo)o +(wing)d(n)o(um)o(b)q(er)i(in)g(paren)o(theses)j(indicates)0 +1300 y(that)14 b(the)g(issue)h(is)f(cited)g(that)g(man)o(y)e(times)h +(on)h(the)g(page.)38 1363 y Ff(h)p FA(1)p Ff(i)42 b Fj(ADJUST-AR)o(RAY) +o(-DI)o(SP)o(LAC)o(EM)o(ENT)o(:RU)o(LE)o(S)28 b Fa(458)38 +1409 y Ff(h)p FA(2)p Ff(i)42 b Fj(ADJUST-AR)o(RAY)o(-FI)o(LL)o(-PO)o +(IN)o(TER)o(:MI)o(NI)o(MAL)28 b Fa(456)38 1455 y Ff(h)p +FA(3)p Ff(i)42 b Fj(ADJUST-AR)o(RAY)o(-NO)o(T-)o(ADJ)o(US)o(TAB)o(LE:)o +(IM)o(PLI)o(CI)o(T-C)o(OPY)28 b Fa(32,)10 b(444,)h(445,)f(452,)h(455,)f +(457)38 1502 y Ff(h)p FA(4)p Ff(i)42 b Fj(ALLOW-LOC)o(AL-)o(INL)o(IN)o +(E:I)o(NL)o(INE)o(-NO)o(TI)o(NLI)o(NE)28 b Fa(230)38 +1548 y Ff(h)p FA(5)p Ff(i)42 b Fj(APPLYHOOK)o(-EN)o(VIR)o(OM)o(ENT)o +(:R)o(EMO)o(VE-)o(EN)o(V)28 b Fa(491,)11 b(493)38 1594 +y Ff(h)p FA(6)p Ff(i)42 b Fj(AREF-1D:R)o(OW-)o(MAJ)o(OR)o(-AR)o(EF)28 +b Fa(125,)10 b(450)38 1640 y Ff(h)p FA(7)p Ff(i)42 b +Fj(ARGUMENTS)o(-UN)o(DER)o(SP)o(ECI)o(FI)o(ED:)o(SPE)o(CI)o(FY)28 +b Fa(122,)11 b(360,)f(394,)h(416,)f(437,)h(464,)f(541,)h(546,)129 +1685 y(567)38 1731 y Ff(h)p FA(8)p Ff(i)42 b Fj(ARRAY-TYP)o(E-E)o(LEM)o +(EN)o(T-T)o(YP)o(E-S)o(EMA)o(NT)o(ICS)o(:U)o(NIF)o(Y-U)o(PG)o(RAD)o(IN) +o(G)29 b Fa(53,)10 b(54,)h(57,)g(67,)g(96,)129 1777 y(98,)g(443)38 +1823 y Ff(h)p FA(9)p Ff(i)42 b Fj(ASSOC-RAS)o(SOC)o(-IF)o(-K)o(EY:)o +(YE)o(S)29 b Fa(432,)10 b(433)19 1869 y Ff(h)p FA(10)p +Ff(i)42 b Fj(BREAK-ON-)o(WAR)o(NIN)o(GS)o(-OB)o(SO)o(LET)o(E:R)o(EM)o +(OVE)28 b Fa(668,)10 b(669,)h(889)19 1915 y Ff(h)p FA(11)p +Ff(i)42 b Fj(CHARACTER)o(-PR)o(OPO)o(SA)o(L)16 b Fa(23,)11 +b(26\(2\),)e(33,)i(39,)g(40\(2\),)f(49,)h(50\(2\),)f(56,)h(61,)g +(64\(2\),)f(126\(2\),)129 1961 y(134,)g(238,)h(243,)f(266,)h(371,)f +(374,)h(375\(2\),)e(376,)i(379,)f(381,)h(382\(3\),)f(383,)g(384\(2\),)g +(385,)g(386,)129 2007 y(387\(2\),)g(394,)g(442,)h(460,)f(461,)h(464,)f +(466,)g(515,)h(533,)f(540,)h(588)19 2053 y Ff(h)p FA(12)p +Ff(i)42 b Fj(CLOS)17 b Fa(15,)11 b(51,)g(73,)g(140,)f(155,)h(216,)f +(472,)h(695,)f(770,)h(921)19 2099 y Ff(h)p FA(13)p Ff(i)42 +b Fj(CLOS-MACR)o(O-C)o(OMP)o(IL)o(ATI)o(ON)o(:MI)o(NIM)o(AL)28 +b Fa(690)19 2145 y Ff(h)p FA(14)p Ff(i)42 b Fj(CLOSE-CON)o(STR)o(UCT)o +(ED)o(-ST)o(RE)o(AM:)o(ARG)o(UM)o(ENT)o(-S)o(TRE)o(AM-)o(ON)o(LY)28 +b Fa(506)19 2191 y Ff(h)p FA(15)p Ff(i)42 b Fj(CLOSED-ST)o(REA)o(M-O)o +(PE)o(RAT)o(IO)o(NS:)o(ALL)o(OW)o(-IN)o(QU)o(IRY)28 b +Fa(504,)10 b(505,)h(638,)f(639,)h(641,)f(644,)129 2237 +y(645,)g(646,)h(654,)f(663)19 2283 y Ff(h)p FA(16)p Ff(i)42 +b Fj(COLON-NUM)o(BER)o(:UN)o(DE)o(FIN)o(ED)28 b Fa(521,)10 +b(522)19 2329 y Ff(h)p FA(17)p Ff(i)42 b Fj(COMMON-TY)o(PE:)o(REM)o(OV) +o(E)28 b Fa(12,)11 b(41,)g(49,)g(50,)g(51,)g(103)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2428 a Fy(1058)p eop +%%Page: 1059 1083 +1059 1082 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(REFERENCES)1081 +b(1059)19 295 y Ff(h)p FA(18)p Ff(i)42 b Fj(COMPILE-A)o(RGU)o(MEN)o(T-) +o(PRO)o(BL)o(EMS)o(:CL)o(AR)o(IFY)28 b Fa(677)19 341 +y Ff(h)p FA(19)p Ff(i)42 b Fj(COMPILE-E)o(NVI)o(RON)o(ME)o(NT-)o(CO)o +(NSI)o(STE)o(NC)o(Y:C)o(LA)o(RIF)o(Y)28 b Fa(685)19 387 +y Ff(h)p FA(20)p Ff(i)42 b Fj(COMPILE-F)o(ILE)o(-HA)o(ND)o(LIN)o(G-)o +(OF-)o(TOP)o(-L)o(EVE)o(L-)o(FOR)o(MS:)o(CL)o(ARI)o(FY)28 +b Fa(687)19 433 y Ff(h)p FA(21)p Ff(i)42 b Fj(COMPILE-F)o(ILE)o(-PA)o +(CK)o(AGE)o(:R)o(EBI)o(ND)28 b Fa(262,)11 b(678)19 480 +y Ff(h)p FA(22)p Ff(i)42 b Fj(COMPILE-F)o(ILE)o(-SY)o(MB)o(OL-)o(HA)o +(NDL)o(ING)o(:N)o(EW-)o(RE)o(QUI)o(RE-)o(CO)o(NSI)o(ST)o(ENC)o(Y)28 +b Fa(678,)11 b(692)19 526 y Ff(h)p FA(23)p Ff(i)42 b +Fj(COMPILED-)o(FUN)o(CTI)o(ON)o(-RE)o(QU)o(IRE)o(MEN)o(TS)o(:TI)o(GH)o +(TEN)28 b Fa(685)19 572 y Ff(h)p FA(24)p Ff(i)42 b Fj(COMPILER-)o(DIA)o +(GNO)o(ST)o(ICS)o(:U)o(SE-)o(HAN)o(DL)o(ER)28 b Fa(677,)11 +b(678,)f(683)19 619 y Ff(h)p FA(25)p Ff(i)42 b Fj(COMPILER-)o(LET)o +(-CO)o(NF)o(USI)o(ON)o(:EL)o(IMI)o(NA)o(TE)28 b Fa(73,)11 +b(151)19 665 y Ff(h)p FA(26)p Ff(i)42 b Fj(COMPILER-)o(VER)o(BOS)o(IT)o +(Y:L)o(IK)o(E-L)o(OAD)28 b Fa(657,)10 b(658,)h(678,)f(680\(2\))19 +711 y Ff(h)p FA(27)p Ff(i)42 b Fj(COMPILER-)o(WAR)o(NIN)o(G-)o(STR)o +(EA)o(M:E)o(RRO)o(R-)o(OUT)o(PU)o(T)29 b Fa(683)19 757 +y Ff(h)p FA(28)p Ff(i)42 b Fj(COMPLEX-A)o(TAN)o(-BR)o(AN)o(CH-)o(CU)o +(T:T)o(WEA)o(K)28 b Fa(307,)11 b(309,)f(312)19 804 y +Ff(h)p FA(29)p Ff(i)42 b Fj(COMPLEX-R)o(ATI)o(ONA)o(L-)o(RES)o(UL)o +(T:E)o(XTE)o(ND)28 b Fa(299,)10 b(300)19 850 y Ff(h)p +FA(30)p Ff(i)42 b Fj(CONDITION)o(-SY)o(STE)o(M)15 b Fa(14,)c(664,)g +(666,)f(667,)h(669,)f(670,)h(671,)f(672,)h(673,)f(674\(3\),)g(865)19 +896 y Ff(h)p FA(31)p Ff(i)42 b Fj(CONDITION)o(-RE)o(STA)o(RT)o(S:P)o +(ER)o(MIT)o(-AS)o(SO)o(CIA)o(TI)o(ON)28 b Fa(216,)11 +b(865,)f(910)19 942 y Ff(h)p FA(32)p Ff(i)42 b Fj(CONSTANT-)o(CIR)o +(CUL)o(AR)o(-CO)o(MP)o(ILA)o(TIO)o(N:)o(YES)28 b Fa(115,)10 +b(694)19 989 y Ff(h)p FA(33)p Ff(i)42 b Fj(CONSTANT-)o(COL)o(LAP)o(SI)o +(NG:)o(GE)o(NER)o(ALI)o(ZE)28 b Fa(694)19 1035 y Ff(h)p +FA(34)p Ff(i)42 b Fj(CONSTANT-)o(COM)o(PIL)o(AB)o(LE-)o(TY)o(PES)o(:SP) +o(EC)o(IFY)28 b Fa(115,)10 b(691)19 1081 y Ff(h)p FA(35)p +Ff(i)42 b Fj(CONSTANT-)o(FUN)o(CTI)o(ON)o(-CO)o(MP)o(ILA)o(TIO)o(N:)o +(NO)28 b Fa(693)19 1127 y Ff(h)p FA(36)p Ff(i)42 b Fj(CONSTANT-)o(MOD)o +(IFI)o(CA)o(TIO)o(N:)o(DIS)o(ALL)o(OW)28 b Fa(70,)11 +b(115,)f(694)19 1174 y Ff(h)p FA(37)p Ff(i)42 b Fj(CONTAGION)o(-ON)o +(-NU)o(ME)o(RIC)o(AL)o(-CO)o(MPA)o(RI)o(SON)o(S:)o(TRA)o(NSI)o(TI)o(VE) +28 b Fa(109,)11 b(290,)f(437)19 1220 y Ff(h)p FA(38)p +Ff(i)42 b Fj(COPY-SYMB)o(OL-)o(COP)o(Y-)o(PLI)o(ST)o(:CO)o(PY-)o(LI)o +(ST)28 b Fa(244)19 1266 y Ff(h)p FA(39)p Ff(i)42 b Fj(COPY-SYMB)o(OL-)o +(PRI)o(NT)o(-NA)o(ME)o(:EQ)o(UAL)28 b Fa(244)19 1312 +y Ff(h)p FA(40)p Ff(i)42 b Fj(DATA-IO:A)o(DD-)o(SUP)o(PO)o(RT)28 +b Fa(216,)11 b(524,)f(534,)h(539,)f(551,)h(552,)f(553\(2\),)g +(554\(2\),)f(555,)129 1358 y(556\(2\),)h(557\(2\),)f(565,)i(577,)f +(579,)h(580,)f(851)19 1404 y Ff(h)p FA(41)p Ff(i)42 b +Fj(DATA-TYPE)o(S-H)o(IER)o(AR)o(CHY)o(-U)o(NDE)o(RSP)o(EC)o(IFI)o(ED)o +(:DI)o(SJO)o(IN)o(T)28 b Fa(38,)11 b(41,)g(479,)g(782,)f(783)19 +1451 y Ff(h)p FA(42)p Ff(i)42 b Fj(DECLARATI)o(ON-)o(SCO)o(PE)o(:NO)o +(-H)o(OIS)o(TIN)o(G)28 b Fa(219)19 1497 y Ff(h)p FA(43)p +Ff(i)42 b Fj(DECLARE-A)o(RRA)o(Y-T)o(YP)o(E-E)o(LE)o(MEN)o(T-R)o(EF)o +(ERE)o(NC)o(ES:)o(RES)o(TR)o(ICT)o(IV)o(E)29 b Fa(55)19 +1543 y Ff(h)p FA(44)p Ff(i)42 b Fj(DECLARE-F)o(UNC)o(TIO)o(N-)o(AMB)o +(IG)o(UIT)o(Y:D)o(EL)o(ETE)o(-F)o(TYP)o(E-A)o(BB)o(REV)o(IA)o(TIO)o(N) +28 b Fa(228)19 1589 y Ff(h)p FA(45)p Ff(i)42 b Fj(DECLARE-M)o(ACR)o +(OS:)o(FL)o(USH)28 b Fa(217)19 1636 y Ff(h)p FA(46)p +Ff(i)42 b Fj(DECLARE-T)o(YPE)o(-FR)o(EE)o(:LE)o(XI)o(CAL)28 +b Fa(219,)10 b(222,)h(224)19 1682 y Ff(h)p FA(47)p Ff(i)42 +b Fj(DECODE-UN)o(IVE)o(RSA)o(L-)o(TIM)o(E-)o(DAY)o(LIG)o(HT)o(:LI)o(KE) +o(-EN)o(COD)o(E)28 b Fa(704)19 1728 y Ff(h)p FA(48)p +Ff(i)42 b Fj(DEFCONSTA)o(NT-)o(SPE)o(CI)o(AL:)o(DO)o(ESN)o(T-M)o(AT)o +(TER)28 b Fa(87)19 1774 y Ff(h)p FA(49)p Ff(i)42 b Fj(DEFINE-CO)o(MPI)o +(LER)o(-M)o(ACR)o(O:)o(NEW)o(-FA)o(CI)o(LIT)o(Y)28 b +Fa(125,)11 b(205,)f(260)19 1821 y Ff(h)p FA(50)p Ff(i)42 +b Fj(DEFINING-)o(MAC)o(ROS)o(-N)o(ON-)o(TO)o(P-L)o(EVE)o(L:)o(ALL)o(OW) +28 b Fa(63,)11 b(84\(2\),)f(139,)g(143,)h(153,)f(195,)h(207,)129 +1866 y(472)19 1912 y Ff(h)p FA(51)p Ff(i)42 b Fj(DEFMACRO-)o(LAM)o(BDA) +o(-L)o(IST)o(:T)o(IGH)o(TEN)o(-D)o(ESC)o(RI)o(PTI)o(ON)28 +b Fa(197)19 1959 y Ff(h)p FA(52)p Ff(i)42 b Fj(DEFPACKAG)o(E:A)o(DDI)o +(TI)o(ON)28 b Fa(269,)11 b(280)19 2005 y Ff(h)p FA(53)p +Ff(i)42 b Fj(DEFSTRUCT)o(-CO)o(NST)o(RU)o(CTO)o(R-)o(KEY)o(-MI)o(XT)o +(URE)o(:A)o(LLO)o(W-K)o(EY)28 b Fa(483)19 2051 y Ff(h)p +FA(54)p Ff(i)42 b Fj(DEFSTRUCT)o(-DE)o(FAU)o(LT)o(-VA)o(LU)o(E-E)o(VAL) +o(UA)o(TIO)o(N:)o(IFF)o(-NE)o(ED)o(ED)28 b Fa(472,)11 +b(474)19 2097 y Ff(h)p FA(55)p Ff(i)42 b Fj(DEFSTRUCT)o(-PR)o(INT)o(-F) +o(UNC)o(TI)o(ON-)o(INH)o(ER)o(ITA)o(NC)o(E:Y)o(ES)28 +b Fa(480)19 2144 y Ff(h)p FA(56)p Ff(i)42 b Fj(DEFSTRUCT)o(-RE)o(DEF)o +(IN)o(ITI)o(ON)o(:ER)o(ROR)28 b Fa(473)19 2190 y Ff(h)p +FA(57)p Ff(i)42 b Fj(DEFSTRUCT)o(-SL)o(OTS)o(-C)o(ONS)o(TR)o(AIN)o(TS-) +o(NA)o(ME:)o(DU)o(PLI)o(CAT)o(ES)o(-ER)o(RO)o(R)29 b +Fa(472)19 2236 y Ff(h)p FA(58)p Ff(i)42 b Fj(DEFSTRUCT)o(-SL)o(OTS)o +(-C)o(ONS)o(TR)o(AIN)o(TS-)o(NU)o(MBE)o(R:)o(ALL)o(OW-)o(ZE)o(RO)28 +b Fa(471)19 2283 y Ff(h)p FA(59)p Ff(i)42 b Fj(DEFVAR-DO)o(CUM)o(ENT)o +(AT)o(ION)o(:U)o(NEV)o(ALU)o(AT)o(ED)28 b Fa(87)19 2329 +y Ff(h)p FA(60)p Ff(i)42 b Fj(DEFVAR-IN)o(IT-)o(TIM)o(E:)o(NOT)o(-D)o +(ELA)o(YED)28 b Fa(86)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1060 1084 +1060 1083 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1060)78 b(REFERENCES)19 +295 y Ff(h)p FA(61)p Ff(i)42 b Fj(DEFVAR-IN)o(ITI)o(ALI)o(ZA)o(TIO)o +(N:)o(CON)o(SER)o(VA)o(TIV)o(E)28 b Fa(86)19 341 y Ff(h)p +FA(62)p Ff(i)42 b Fj(DESCRIBE-)o(INT)o(ERA)o(CT)o(IVE)o(:E)o(XPL)o(ICI) +o(TL)o(Y-V)o(AG)o(UE)28 b Fa(697)19 387 y Ff(h)p FA(63)p +Ff(i)42 b Fj(DESCRIBE-)o(UND)o(ERS)o(PE)o(CIF)o(IE)o(D:D)o(ESC)o(RI)o +(BE-)o(OB)o(JEC)o(T)28 b Fa(697,)11 b(698,)f(817,)h(840)19 +433 y Ff(h)p FA(64)p Ff(i)42 b Fj(DESTRUCTU)o(RIN)o(G-B)o(IN)o(D:N)o +(EW)o(-MA)o(CRO)28 b Fa(204,)10 b(207)19 480 y Ff(h)p +FA(65)p Ff(i)42 b Fj(DISASSEMB)o(LE-)o(SID)o(E-)o(EFF)o(EC)o(T:D)o(O-N) +o(OT)o(-IN)o(ST)o(ALL)28 b Fa(682)19 526 y Ff(h)p FA(66)p +Ff(i)42 b Fj(DO-SYMBOL)o(S-D)o(UPL)o(IC)o(ATE)o(S:)o(ALL)o(OWE)o(D)28 +b Fa(274)19 572 y Ff(h)p FA(67)p Ff(i)42 b Fj(DOTTED-MA)o(CRO)o(-FO)o +(RM)o(S:A)o(LL)o(OW)28 b Fa(74)19 619 y Ff(h)p FA(68)p +Ff(i)42 b Fj(DRIBBLE-T)o(ECH)o(NIQ)o(UE)o(:MA)o(KE)o(-EX)o(PLI)o(CI)o +(TLY)o(-V)o(AGU)o(E)28 b Fa(700)19 665 y Ff(h)p FA(69)p +Ff(i)42 b Fj(DYNAMIC-E)o(XTE)o(NT:)o(NE)o(W-D)o(EC)o(LAR)o(ATI)o(ON)28 +b Fa(232)19 711 y Ff(h)p FA(70)p Ff(i)42 b Fj(DYNAMIC-E)o(XTE)o(NT-)o +(FU)o(NCT)o(IO)o(N:E)o(XTE)o(ND)28 b Fa(232)19 757 y +Ff(h)p FA(71)p Ff(i)42 b Fj(EQUAL-STR)o(UCT)o(URE)o(:M)o(AYB)o(E-)o +(STA)o(TUS)o(-Q)o(UO)28 b Fa(107,)11 b(108)19 804 y Ff(h)p +FA(72)p Ff(i)42 b Fj(EVAL-OTHE)o(R:S)o(ELF)o(-E)o(VAL)o(UA)o(TE)28 +b Fa(70)19 850 y Ff(h)p FA(73)p Ff(i)42 b Fj(EVAL-WHEN)o(-NO)o(N-T)o +(OP)o(-LE)o(VE)o(L:G)o(ENE)o(RA)o(LIZ)o(E-)o(EVA)o(L-N)o(EW)o(-KE)o(YW) +o(ORD)o(S)28 b Fa(89,)11 b(207)19 896 y Ff(h)p FA(74)p +Ff(i)42 b Fj(EXIT-EXTE)o(NT:)o(MIN)o(IM)o(AL)28 b Fa(189)19 +942 y Ff(h)p FA(75)p Ff(i)42 b Fj(EXPT-RATI)o(O:P)o(.21)o(1)28 +b Fa(301)19 989 y Ff(h)p FA(76)p Ff(i)42 b Fj(FIXNUM-NO)o(N-P)o(ORT)o +(AB)o(LE:)o(TI)o(GHT)o(EN-)o(DE)o(FIN)o(IT)o(ION)28 b +Fa(16,)11 b(39,)f(368,)h(446)19 1035 y Ff(h)p FA(77)p +Ff(i)42 b Fj(FLET-DECL)o(ARA)o(TIO)o(NS)o(:AL)o(LO)o(W)29 +b Fa(154)19 1081 y Ff(h)p FA(78)p Ff(i)42 b Fj(FLET-IMPL)o(ICI)o(T-B)o +(LO)o(CK:)o(YE)o(S)29 b Fa(63,)10 b(139,)h(143,)f(154,)h(196,)f(206)19 +1127 y Ff(h)p FA(79)p Ff(i)42 b Fj(FLOAT-UND)o(ERF)o(LOW)o(:A)o(DD-)o +(CO)o(NTR)o(OLS)28 b Fa(289,)10 b(369\(2\))19 1174 y +Ff(h)p FA(80)p Ff(i)42 b Fj(FORMAT-AT)o(SIG)o(N-C)o(OL)o(ON:)o(OK)28 +b Fa(582)19 1220 y Ff(h)p FA(81)p Ff(i)42 b Fj(FORMAT-CO)o(LON)o(-UP)o +(AR)o(ROW)o(-S)o(COP)o(E:T)o(ES)o(T-F)o(OR)o(-RE)o(MAI)o(NI)o(NG-)o(SU) +o(BLI)o(ST)o(S)29 b Fa(606)19 1266 y Ff(h)p FA(82)p Ff(i)42 +b Fj(FORMAT-CO)o(MMA)o(-IN)o(TE)o(RVA)o(L:)o(YES)28 b +Fa(585)19 1312 y Ff(h)p FA(83)p Ff(i)42 b Fj(FORMAT-E-)o(EXP)o(ONE)o +(NT)o(-SI)o(GN)o(:FO)o(RCE)o(-S)o(IGN)28 b Fa(592)19 +1359 y Ff(h)p FA(84)p Ff(i)42 b Fj(FORMAT-OP)o(-C:)o(WRI)o(TE)o(-CH)o +(AR)28 b Fa(588)19 1405 y Ff(h)p FA(85)p Ff(i)42 b Fj(FORMAT-PR)o(ETT)o +(Y-P)o(RI)o(NT:)o(YE)o(S)28 b Fa(583,)11 b(584\(2\),)e(585\(2\),)h +(586\(4\),)f(588,)i(590,)f(592,)g(594,)h(596)19 1451 +y Ff(h)p FA(86)p Ff(i)42 b Fj(FUNCTION-)o(CAL)o(L-E)o(VA)o(LUA)o(TI)o +(ON-)o(ORD)o(ER)o(:UN)o(SP)o(ECI)o(FIE)o(D)28 b Fa(75)19 +1497 y Ff(h)p FA(87)p Ff(i)42 b Fj(FUNCTION-)o(COM)o(POS)o(IT)o(ION)o +(:J)o(AN8)o(9-X)o(3J)o(13)28 b Fa(391)19 1544 y Ff(h)p +FA(88)p Ff(i)42 b Fj(FUNCTION-)o(DEF)o(INI)o(TI)o(ON:)o(JA)o(N89)o(-X3) +o(J1)o(3)28 b Fa(682)19 1590 y Ff(h)p FA(89)p Ff(i)42 +b Fj(FUNCTION-)o(NAM)o(E:S)o(MA)o(LL)28 b Fa(84,)11 b(114,)f(116,)h +(120\(2\),)f(123,)g(125\(2\),)g(126\(2\),)f(127,)i(128\(3\),)129 +1636 y(154,)f(227,)h(230\(2\),)f(677,)g(682,)h(695,)f(696,)g(699,)h +(827,)f(842)19 1682 y Ff(h)p FA(90)p Ff(i)42 b Fj(FUNCTION-)o(TYP)o +(E:X)o(3J)o(13-)o(MA)o(RCH)o(-88)28 b Fa(14,)10 b(36,)h(38,)g(53,)g +(65,)g(102,)f(116,)h(119,)f(120,)h(145,)129 1727 y(146,)f(173,)h(203,)f +(389,)h(391,)f(492,)h(503,)f(504)19 1774 y Ff(h)p FA(91)p +Ff(i)42 b Fj(FUNCTION-)o(TYP)o(E-A)o(RG)o(UME)o(NT)o(-TY)o(PE-)o(SE)o +(MAN)o(TI)o(CS:)o(RES)o(TR)o(ICT)o(IV)o(E)29 b Fa(58,)10 +b(227,)h(228)19 1820 y Ff(h)p FA(92)p Ff(i)42 b Fj(FUNCTION-)o(TYP)o +(E-K)o(EY)o(-NA)o(ME)o(:SP)o(ECI)o(FY)o(-KE)o(YW)o(ORD)28 +b Fa(57)19 1866 y Ff(h)p FA(93)p Ff(i)42 b Fj(FUNCTION-)o(TYP)o(E-R)o +(ES)o(T-L)o(IS)o(T-E)o(LEM)o(EN)o(T:U)o(SE)o(-AC)o(TUA)o(L-)o(ARG)o(UM) +o(ENT)o(-T)o(YPE)28 b Fa(57)19 1912 y Ff(h)p FA(94)p +Ff(i)42 b Fj(GENSYM-NA)o(ME-)o(STI)o(CK)o(INE)o(SS)o(:LI)o(KE-)o(TE)o +(FLO)o(N)28 b Fa(245,)11 b(246)19 1959 y Ff(h)p FA(95)p +Ff(i)42 b Fj(GET-MACRO)o(-CH)o(ARA)o(CT)o(ER-)o(RE)o(ADT)o(ABL)o(E:)o +(NIL)o(-S)o(TAN)o(DAR)o(D)28 b Fa(542,)11 b(548)19 2005 +y Ff(h)p FA(96)p Ff(i)42 b Fj(GET-SETF-)o(MET)o(HOD)o(-E)o(NVI)o(RO)o +(NME)o(NT:)o(AD)o(D-A)o(RG)28 b Fa(137,)10 b(142,)h(144,)f(145\(2\))19 +2051 y Ff(h)p FA(97)p Ff(i)42 b Fj(HASH-TABL)o(E-A)o(CCE)o(SS)o(:X3)o +(J1)o(3-M)o(AR-)o(89)28 b Fa(440)19 2097 y Ff(h)p FA(98)p +Ff(i)42 b Fj(HASH-TABL)o(E-P)o(ACK)o(AG)o(E-G)o(EN)o(ERA)o(TOR)o(S:)o +(ADD)o(-W)o(ITH)o(-WR)o(AP)o(PER)28 b Fa(275,)10 b(439)19 +2144 y Ff(h)p FA(99)p Ff(i)42 b Fj(HASH-TABL)o(E-S)o(IZE)o(:I)o(NTE)o +(ND)o(ED-)o(ENT)o(RI)o(ES)28 b Fa(436,)11 b(437\(2\))0 +2190 y Ff(h)p FA(100)p Ff(i)42 b Fj(HASH-TABL)o(E-T)o(EST)o(S:)o(ADD)o +(-E)o(QUA)o(LP)28 b Fa(437)0 2236 y Ff(h)p FA(101)p Ff(i)42 +b Fj(IEEE-ATAN)o(-BR)o(ANC)o(H-)o(CUT)o(:S)o(PLI)o(T)28 +b Fa(302\(2\),)10 b(303,)g(306,)h(309,)f(310\(2\),)g(311)0 +2283 y Ff(h)p FA(102)p Ff(i)42 b Fj(IMPORT-SE)o(TF-)o(SYM)o(BO)o(L-P)o +(AC)o(KAG)o(E:Y)o(ES)28 b Fa(268)0 2329 y Ff(h)p FA(103)p +Ff(i)42 b Fj(IN-PACKAG)o(E-F)o(UNC)o(TI)o(ONA)o(LI)o(TY:)o(MAR)o(89)o +(-X3)o(J1)o(3)29 b Fa(261,)10 b(263,)h(690)-33 2344 y +@beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1061 1085 +1061 1084 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(REFERENCES)1081 +b(1061)0 295 y Ff(h)p FA(104)p Ff(i)42 b Fj(IN-SYNTAX)o(:MI)o(NIM)o(AL) +28 b Fa(658,)10 b(679)0 342 y Ff(h)p FA(105)p Ff(i)42 +b Fj(KEYWORD-A)o(RGU)o(MEN)o(T-)o(NAM)o(E-)o(PAC)o(KAG)o(E:)o(ANY)28 +b Fa(76,)11 b(79)0 390 y Ff(h)p FA(106)p Ff(i)42 b Fj(LAST-N:AL)o(LOW)o +(-OP)o(TI)o(ONA)o(L-)o(ARG)o(UME)o(NT)28 b Fa(416)0 438 +y Ff(h)p FA(107)p Ff(i)42 b Fj(LCM-NO-AR)o(GUM)o(ENT)o(S:)o(1)28 +b Fa(299)0 485 y Ff(h)p FA(108)p Ff(i)42 b Fj(LISP-PACK)o(AGE)o(-NA)o +(ME)o(:CO)o(MM)o(ON-)o(LIS)o(P)28 b Fa(258,)11 b(262,)f(263\(2\),)g +(278,)g(280)0 533 y Ff(h)p FA(109)p Ff(i)42 b Fj(LISP-SYMB)o(OL-)o(RED) +o(EF)o(INI)o(TI)o(ON:)o(MAR)o(89)o(-X3)o(J1)o(3)29 b +Fa(260)0 580 y Ff(h)p FA(110)p Ff(i)42 b Fj(LOAD-OBJE)o(CTS)o(:MA)o(KE) +o(-LO)o(AD)o(-FO)o(RM)28 b Fa(659,)11 b(694)0 628 y Ff(h)p +FA(111)p Ff(i)42 b Fj(LOAD-TIME)o(-EV)o(AL:)o(R*)o(*3-)o(NE)o(W-S)o +(PEC)o(IA)o(L-F)o(OR)o(M)29 b Fa(73,)10 b(680)0 676 y +Ff(h)p FA(112)p Ff(i)42 b Fj(LOAD-TRUE)o(NAM)o(E:N)o(EW)o(-PA)o(TH)o +(NAM)o(E-V)o(AR)o(IAB)o(LE)o(S)29 b Fa(658\(2\),)9 b(659,)i(680\(3\))0 +723 y Ff(h)p FA(113)p Ff(i)42 b Fj(LOCALLY-T)o(OP-)o(LEV)o(EL)o(:SP)o +(EC)o(IAL)o(-FO)o(RM)28 b Fa(73,)11 b(90,)g(221)0 771 +y Ff(h)p FA(114)p Ff(i)42 b Fj(LOOP-AND-)o(DIS)o(CRE)o(PA)o(NCY)o(:N)o +(O-R)o(EIT)o(ER)o(ATI)o(ON)28 b Fa(716)0 819 y Ff(h)p +FA(115)p Ff(i)42 b Fj(LOOP-FACI)o(LIT)o(Y)16 b Fa(163,)10 +b(709)0 866 y Ff(h)p FA(116)p Ff(i)42 b Fj(MACRO-CAC)o(HIN)o(G:D)o(IS)o +(ALL)o(OW)28 b Fa(203)0 914 y Ff(h)p FA(117)p Ff(i)42 +b Fj(MACRO-ENV)o(IRO)o(NME)o(NT)o(-EX)o(TE)o(NT:)o(DYN)o(AM)o(IC)28 +b Fa(197,)11 b(203,)f(204)0 961 y Ff(h)p FA(118)p Ff(i)42 +b Fj(MACRO-FUN)o(CTI)o(ON-)o(EN)o(VIR)o(ON)o(MEN)o(T:Y)o(ES)28 +b Fa(194)0 1009 y Ff(h)p FA(119)p Ff(i)42 b Fj(MAKE-PACK)o(AGE)o(-US)o +(E-)o(DEF)o(AU)o(LT:)o(IMP)o(LE)o(MEN)o(TA)o(TIO)o(N-D)o(EP)o(END)o(EN) +o(T)29 b Fa(263,)10 b(271)0 1057 y Ff(h)p FA(120)p Ff(i)42 +b Fj(MAP-INTO:)o(ADD)o(-FU)o(NC)o(TIO)o(N)28 b Fa(395)0 +1104 y Ff(h)p FA(121)p Ff(i)42 b Fj(MAPPING-D)o(EST)o(RUC)o(TI)o(VE-)o +(IN)o(TER)o(ACT)o(IO)o(N:E)o(XP)o(LIC)o(ITL)o(Y-)o(VAG)o(UE)28 +b Fa(169,)10 b(173,)h(178,)129 1150 y(275\(3\),)f(277,)g(395,)h(397,)f +(398,)h(400,)f(401,)g(402,)h(403,)f(404\(2\),)g(405,)h(407\(3\),)e +(409,)i(410,)f(413,)129 1196 y(425\(2\),)g(426\(3\),)f(427,)i +(429\(2\),)e(430,)i(431\(2\),)e(433,)i(434,)f(439\(2\),)g(491)0 +1243 y Ff(h)p FA(122)p Ff(i)42 b Fj(MORE-CHAR)o(ACT)o(ER-)o(PR)o(OPO)o +(SA)o(L)16 b Fa(373\(2\),)9 b(374,)i(502,)f(504,)h(508,)f(646,)h(647,)f +(651,)h(656)0 1291 y Ff(h)p FA(123)p Ff(i)42 b Fj(NTH-VALUE)o(:AD)o(D) +28 b Fa(184)0 1338 y Ff(h)p FA(124)p Ff(i)42 b Fj(OPTIMIZE-)o(DEB)o +(UG-)o(IN)o(FO:)o(NE)o(W-Q)o(UAL)o(IT)o(Y)28 b Fa(231)0 +1386 y Ff(h)p FA(125)p Ff(i)42 b Fj(PACKAGE-C)o(LUT)o(TER)o(:R)o(EDU)o +(CE)28 b Fa(259)0 1434 y Ff(h)p FA(126)p Ff(i)42 b Fj(PACKAGE-D)o(ELE)o +(TIO)o(N:)o(NEW)o(-F)o(UNC)o(TIO)o(N)28 b Fa(264,)11 +b(265)0 1481 y Ff(h)p FA(127)p Ff(i)42 b Fj(PACKAGE-F)o(UNC)o(TIO)o(N-) +o(CON)o(SI)o(STE)o(NCY)o(:M)o(ORE)o(-P)o(ERM)o(ISS)o(IV)o(E)28 +b Fa(250,)11 b(264\(3\),)f(265\(4\),)129 1527 y(267\(3\),)g(268\(4\),)f +(269\(3\),)h(274,)g(275\(2\))0 1575 y Ff(h)p FA(128)p +Ff(i)42 b Fj(PATHNAME-)o(COM)o(PON)o(EN)o(T-C)o(AS)o(E:K)o(EYW)o(OR)o +(D-A)o(RG)o(UME)o(NT)28 b Fa(617,)10 b(625,)h(641,)f(643,)h(644)0 +1622 y Ff(h)p FA(129)p Ff(i)42 b Fj(PATHNAME-)o(COM)o(PON)o(EN)o(T-V)o +(AL)o(UE:)o(SPE)o(CI)o(FY)28 b Fa(615,)11 b(623)0 1670 +y Ff(h)p FA(130)p Ff(i)42 b Fj(PATHNAME-)o(LOG)o(ICA)o(L:)o(ADD)28 +b Fa(628,)10 b(639,)h(640,)f(641,)h(646,)f(652,)h(653,)f(654\(2\),)g +(655\(2\),)f(658,)129 1716 y(663,)h(678,)h(699\(2\))0 +1763 y Ff(h)p FA(131)p Ff(i)42 b Fj(PATHNAME-)o(PRI)o(NT-)o(RE)o(AD:)o +(SH)o(ARP)o(SIG)o(N-)o(P)28 b Fa(531,)11 b(537,)f(556)0 +1811 y Ff(h)p FA(132)p Ff(i)42 b Fj(PATHNAME-)o(STR)o(EAM)o(:F)o(ILE)o +(S-)o(OR-)o(SYN)o(ON)o(YM)28 b Fa(278,)11 b(638\(2\),)e(639,)i(640,)f +(641,)h(644,)f(645,)129 1856 y(646,)g(651,)h(653\(2\),)f(654,)g +(655\(2\),)g(658,)g(663,)h(678)0 1904 y Ff(h)p FA(133)p +Ff(i)42 b Fj(PATHNAME-)o(SUB)o(DIR)o(EC)o(TOR)o(Y-)o(LIS)o(T:N)o(EW)o +(-RE)o(PR)o(ESE)o(NTA)o(TI)o(ON)28 b Fa(615,)11 b(617,)f(620,)h(644)0 +1952 y Ff(h)p FA(134)p Ff(i)42 b Fj(PATHNAME-)o(SYM)o(BOL)o(:N)o(O)28 +b Fa(278,)11 b(637,)f(638,)h(639,)f(640,)h(641,)f(644,)h(645)0 +1999 y Ff(h)p FA(135)p Ff(i)42 b Fj(PATHNAME-)o(SYN)o(TAX)o(-E)o(RRO)o +(R-)o(TIM)o(E:P)o(AT)o(HNA)o(ME)o(-CR)o(EAT)o(IO)o(N)28 +b Fa(642,)11 b(643,)f(645)0 2047 y Ff(h)p FA(136)p Ff(i)42 +b Fj(PATHNAME-)o(UNS)o(PEC)o(IF)o(IC-)o(CO)o(MPO)o(NEN)o(T:)o(NEW)o(-T) +o(OKE)o(N)28 b Fa(613)0 2095 y Ff(h)p FA(137)p Ff(i)42 +b Fj(PATHNAME-)o(WIL)o(D:N)o(EW)o(-FU)o(NC)o(TIO)o(NS)28 +b Fa(623,)11 b(639,)f(646,)g(652,)h(653,)f(654\(2\),)g(655\(2\),)g +(658,)129 2140 y(678)0 2188 y Ff(h)p FA(138)p Ff(i)42 +b Fj(PEEK-CHAR)o(-RE)o(AD-)o(CH)o(AR-)o(EC)o(HO:)o(FIR)o(ST)o(-RE)o(AD) +o(-CH)o(AR)28 b Fa(501,)10 b(570,)h(571,)f(573\(2\),)g(574)0 +2235 y Ff(h)p FA(139)p Ff(i)42 b Fj(PRETTY-PR)o(INT)o(-IN)o(TE)o(RFA)o +(CE)o(:XP)28 b Fa(24,)11 b(556,)f(559,)h(577,)f(578,)h(579,)f(598,)h +(599,)f(605,)h(607,)129 2281 y(748)0 2329 y Ff(h)p FA(140)p +Ff(i)42 b Fj(PRINC-CHA)o(RAC)o(TER)o(:W)o(RIT)o(E-)o(CHA)o(R)28 +b Fa(578)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1062 1086 +1062 1085 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(1062)78 b(REFERENCES)0 +295 y Ff(h)p FA(141)p Ff(i)42 b Fj(PRINT-CAS)o(E-P)o(RIN)o(T-)o(ESC)o +(AP)o(E-I)o(NTE)o(RA)o(CTI)o(ON)o(:VE)o(RTI)o(CA)o(L-B)o(AR)o(-RU)o(LE) +o(-NO)o(-)129 340 y(UPCASE)29 b Fa(552,)129 386 y(560)0 +432 y Ff(h)p FA(142)p Ff(i)42 b Fj(PRINT-CIR)o(CLE)o(-SH)o(AR)o(ED:)o +(RE)o(SPE)o(CT-)o(PR)o(INT)o(-C)o(IRC)o(LE)28 b Fa(559)0 +479 y Ff(h)p FA(143)p Ff(i)42 b Fj(PRINT-CIR)o(CLE)o(-ST)o(RU)o(CTU)o +(RE)o(:US)o(ER-)o(FU)o(NCT)o(IO)o(NS-)o(WOR)o(K)28 b +Fa(480,)11 b(559)0 525 y Ff(h)p FA(144)p Ff(i)42 b Fj(PROCLAIM-)o(ETC)o +(-IN)o(-C)o(OMP)o(IL)o(E-F)o(ILE)o(:N)o(EW-)o(MA)o(CRO)28 +b Fa(215,)10 b(223,)h(232,)f(689)0 571 y Ff(h)p FA(145)p +Ff(i)42 b Fj(PROCLAIM-)o(INL)o(INE)o(-W)o(HER)o(E:)o(BEF)o(ORE)28 +b Fa(229)0 618 y Ff(h)p FA(146)p Ff(i)42 b Fj(PUSH-EVAL)o(UAT)o(ION)o +(-O)o(RDE)o(R:)o(ITE)o(M-F)o(IR)o(ST)28 b Fa(132,)11 +b(242\(2\),)e(297,)i(420,)f(421,)h(422,)f(671,)129 663 +y(672,)g(674\(2\))0 710 y Ff(h)p FA(147)p Ff(i)42 b Fj(QUOTE-SEM)o(ANT) +o(ICS)o(:N)o(O-C)o(OP)o(YIN)o(G)28 b Fa(105,)11 b(115)0 +756 y Ff(h)p FA(148)p Ff(i)42 b Fj(RANGE-OF-)o(COU)o(NT-)o(KE)o(YWO)o +(RD)o(:NI)o(L-O)o(R-)o(INT)o(EG)o(ER)28 b Fa(400\(2\),)10 +b(403)0 802 y Ff(h)p FA(149)p Ff(i)42 b Fj(RANGE-OF-)o(STA)o(RT-)o(AN)o +(D-E)o(ND)o(-PA)o(RAM)o(ET)o(ERS)o(:I)o(NTE)o(GER)o(-A)o(ND-)o(IN)o +(TEG)o(ER)o(-NI)o(L)28 b Fa(390)0 849 y Ff(h)p FA(150)p +Ff(i)42 b Fj(READ-CASE)o(-SE)o(NSI)o(TI)o(VIT)o(Y:)o(REA)o(DTA)o(BL)o +(E-K)o(EY)o(WOR)o(DS)28 b Fa(11,)11 b(28,)g(513\(2\),)e(515,)i(549,)f +(552,)129 894 y(561)0 941 y Ff(h)p FA(151)p Ff(i)42 b +Fj(REAL-NUMB)o(ER-)o(TYP)o(E:)o(X3J)o(13)o(-MA)o(R-8)o(9)28 +b Fa(15,)11 b(38,)g(49,)g(50,)g(61,)f(101)0 987 y Ff(h)p +FA(152)p Ff(i)42 b Fj(REDUCE-AR)o(GUM)o(ENT)o(-E)o(XTR)o(AC)o(TIO)o +(N:K)o(EY)28 b Fa(398)0 1033 y Ff(h)p FA(153)p Ff(i)42 +b Fj(REMF-DEST)o(RUC)o(TIO)o(N-)o(UNS)o(PE)o(CIF)o(IED)o(:X)o(3J1)o(3-) +o(MAR)o(-89)28 b Fa(241\(2\),)9 b(242\(2\),)h(393,)g(401,)129 +1079 y(402,)g(404,)h(419,)f(420,)h(429\(2\),)f(431)0 +1125 y Ff(h)p FA(154)p Ff(i)42 b Fj(REQUIRE-P)o(ATH)o(NAM)o(E-)o(DEF)o +(AU)o(LTS)o(:EL)o(IM)o(INA)o(TE)28 b Fa(277,)10 b(280,)h(637)0 +1172 y Ff(h)p FA(155)p Ff(i)42 b Fj(REST-LIST)o(-AL)o(LOC)o(AT)o(ION)o +(:M)o(AY-)o(SHA)o(RE)28 b Fa(77)0 1218 y Ff(h)p FA(156)p +Ff(i)42 b Fj(RETURN-VA)o(LUE)o(S-U)o(NS)o(PEC)o(IF)o(IED)o(:SP)o(EC)o +(IFY)28 b Fa(221,)10 b(263,)h(265,)f(278,)h(542,)f(696,)h(698)0 +1264 y Ff(h)p FA(157)p Ff(i)42 b Fj(ROOM-DEFA)o(ULT)o(-AR)o(GU)o(MEN)o +(T:)o(NEW)o(-VA)o(LU)o(E)28 b Fa(699)0 1311 y Ff(h)p +FA(158)p Ff(i)42 b Fj(SEQUENCE-)o(TYP)o(E-L)o(EN)o(GTH)o(:M)o(UST)o +(-MA)o(TC)o(H)28 b Fa(64,)11 b(394,)g(395\(2\),)e(410)0 +1357 y Ff(h)p FA(159)p Ff(i)42 b Fj(SETF-MULT)o(IPL)o(E-S)o(TO)o(RE-)o +(VA)o(RIA)o(BLE)o(S:)o(ALL)o(OW)28 b Fa(129\(2\),)10 +b(131\(2\),)f(672)0 1403 y Ff(h)p FA(160)p Ff(i)42 b +Fj(SETF-SUB-)o(MET)o(HOD)o(S:)o(DEL)o(AY)o(ED-)o(ACC)o(ES)o(S-S)o(TO)o +(RES)28 b Fa(134)0 1450 y Ff(h)p FA(161)p Ff(i)42 b Fj(SHADOW-AL)o(REA) +o(DY-)o(PR)o(ESE)o(NT)o(:WO)o(RKS)28 b Fa(269)0 1496 +y Ff(h)p FA(162)p Ff(i)42 b Fj(SHARP-COM)o(MA-)o(CON)o(FU)o(SIO)o(N:)o +(REM)o(OVE)28 b Fa(523,)10 b(535,)h(539,)f(676)0 1542 +y Ff(h)p FA(163)p Ff(i)42 b Fj(SHARPSIGN)o(-PL)o(US-)o(MI)o(NUS)o(-P)o +(ACK)o(AGE)o(:K)o(EYW)o(OR)o(D)29 b Fa(539,)10 b(707)0 +1589 y Ff(h)p FA(164)p Ff(i)42 b Fj(SPECIAL-T)o(YPE)o(-SH)o(AD)o(OWI)o +(NG)o(:CL)o(ARI)o(FY)28 b Fa(222)0 1635 y Ff(h)p FA(165)p +Ff(i)42 b Fj(STANDARD-)o(INP)o(UT-)o(IN)o(ITI)o(AL)o(-BI)o(NDI)o(NG)o +(:DE)o(FI)o(NED)o(-CO)o(NT)o(RAC)o(TS)28 b Fa(499)0 1681 +y Ff(h)p FA(166)p Ff(i)42 b Fj(STEP-ENVI)o(RON)o(MEN)o(T:)o(CUR)o(RE)o +(NT)28 b Fa(696,)11 b(697)0 1728 y Ff(h)p FA(167)p Ff(i)42 +b Fj(STREAM-AC)o(CES)o(S:A)o(DD)o(-TY)o(PE)o(S-A)o(CCE)o(SS)o(ORS)28 +b Fa(35,)11 b(41,)f(500\(2\),)g(501\(4\),)g(502\(2\),)f(503,)129 +1773 y(504,)h(505,)h(507,)f(581,)h(646)0 1820 y Ff(h)p +FA(168)p Ff(i)42 b Fj(STREAM-CA)o(PAB)o(ILI)o(TI)o(ES:)o(IN)o(TER)o +(ACT)o(IV)o(E-S)o(TR)o(EAM)o(-P)28 b Fa(507)0 1866 y +Ff(h)p FA(169)p Ff(i)42 b Fj(STRING-CO)o(ERC)o(ION)o(:M)o(AKE)o(-C)o +(ONS)o(IST)o(EN)o(T)28 b Fa(462\(2\),)10 b(463\(2\),)g(465,)g(466,)h +(467)0 1912 y Ff(h)p FA(170)p Ff(i)42 b Fj(SUBSEQ-OU)o(T-O)o(F-B)o(OU)o +(NDS)o(:I)o(S-A)o(N-E)o(RR)o(OR)28 b Fa(390)0 1959 y +Ff(h)p FA(171)p Ff(i)42 b Fj(SUBTYPEP-)o(TOO)o(-VA)o(GU)o(E:C)o(LA)o +(RIF)o(Y-M)o(OR)o(E)28 b Fa(97)0 2005 y Ff(h)p FA(172)p +Ff(i)42 b Fj(SYMBOL-MA)o(CRO)o(LET)o(-D)o(ECL)o(AR)o(E:A)o(LLO)o(W)28 +b Fa(155,)11 b(216,)f(861,)h(864)0 2051 y Ff(h)p FA(173)p +Ff(i)42 b Fj(SYMBOL-MA)o(CRO)o(LET)o(-S)o(EMA)o(NT)o(ICS)o(:SP)o(EC)o +(IAL)o(-F)o(ORM)28 b Fa(121,)10 b(122,)h(128,)f(155,)h(156,)f(184,)129 +2097 y(204,)g(861,)h(864)0 2143 y Ff(h)p FA(174)p Ff(i)42 +b Fj(SYNTACTIC)o(-EN)o(VIR)o(ON)o(MEN)o(T-)o(ACC)o(ESS)o(:S)o(MAL)o(L) +28 b Fa(207)0 2190 y Ff(h)p FA(175)p Ff(i)42 b Fj(TAILP-NIL)o(:T)28 +b Fa(427)0 2236 y Ff(h)p FA(176)p Ff(i)42 b Fj(TEST-NOT-)o(IF-)o(NOT)o +(:F)o(LUS)o(H-)o(ALL)28 b Fa(391)0 2282 y Ff(h)p FA(177)p +Ff(i)42 b Fj(THE-AMBIG)o(UIT)o(Y:F)o(OR)o(-DE)o(CL)o(ARA)o(TIO)o(N)28 +b Fa(237)0 2329 y Ff(h)p FA(178)p Ff(i)42 b Fj(TIME-ZONE)o(-NO)o(N-I)o +(NT)o(EGE)o(R:)o(ALL)o(OW)28 b Fa(703)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1063 1087 +1063 1086 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 114 598 2 v 0 166 a Fy(REFERENCES)1081 +b(1063)0 295 y Ff(h)p FA(179)p Ff(i)42 b Fj(TYPE-OF-U)o(NDE)o(RCO)o(NS) +o(TRA)o(IN)o(ED:)o(ADD)o(-C)o(ONS)o(TR)o(AIN)o(TS)28 +b Fa(66)0 340 y Ff(h)p FA(180)p Ff(i)42 b Fj(UNDEFINED)o(-VA)o(RIA)o +(BL)o(ES-)o(AN)o(D-F)o(UNC)o(TI)o(ONS)o(:C)o(OMP)o(ROM)o(IS)o(E)28 +b Fa(71)0 386 y Ff(h)p FA(181)p Ff(i)42 b Fj(UNREAD-CH)o(AR-)o(AFT)o +(ER)o(-PE)o(EK)o(-CH)o(AR:)o(DO)o(NT-)o(AL)o(LOW)28 b +Fa(573)0 432 y Ff(h)p FA(182)p Ff(i)42 b Fj(VARIABLE-)o(LIS)o(T-A)o(SY) +o(MME)o(TR)o(Y:S)o(YMM)o(ET)o(RIZ)o(E)28 b Fa(150,)11 +b(151,)f(164)0 477 y Ff(h)p FA(183)p Ff(i)42 b Fj(WITH-COMP)o(ILA)o +(TIO)o(N-)o(UNI)o(T:)o(NEW)o(-MA)o(CR)o(O)28 b Fa(683)0 +523 y Ff(h)p FA(184)p Ff(i)42 b Fj(WITH-OPEN)o(-FI)o(LE-)o(DO)o(ES-)o +(NO)o(T-E)o(XIS)o(T:)o(STR)o(EA)o(M-I)o(S-N)o(IL)28 b +Fa(652)0 569 y Ff(h)p FA(185)p Ff(i)42 b Fj(WITH-OUTP)o(UT-)o(TO-)o(ST) +o(RIN)o(G-)o(APP)o(END)o(-S)o(TYL)o(E:)o(VEC)o(TOR)o(-P)o(USH)o(-E)o +(XTE)o(ND)28 b Fa(504)0 614 y Ff(h)p FA(186)p Ff(i)42 +b Fj(ZLOS-COND)o(ITI)o(ONS)o(:I)o(NTE)o(GR)o(ATE)28 b +Fa(865,)10 b(883,)h(886,)f(900,)h(916)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial eop +%%Page: 1064 1088 +1064 1087 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 448 598 9 v 0 531 a FB(Index)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2428 a Fy(1064)p eop +%%Page: 1065 1089 +1065 1088 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 448 598 9 v 0 531 a FB(Index)21 +b(of)h(Constants)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1318 2428 a Fy(1065)p eop +%%Page: 1066 1090 +1066 1089 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 448 598 9 v 0 531 a FB(Index)21 +b(of)h(F)n(unctions)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2428 a Fy(1066)p eop +%%Page: 1067 1091 +1067 1090 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 448 598 9 v 0 531 a FB(Index)21 +b(of)h(Generic)g(F)n(unctions)0 886 y Fw(Index)17 b(only)f(generic)i +(functions,)f(not)f(primary)f(metho)q(ds)i(\(whic)o(h)f(are)h(redundan) +o(t|)0 938 y(there)e(is)f(a)g(generic)g(function)g(for)f(ev)o(ery)i +(group)f(of)f(primary)f(metho)q(ds\).)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1318 2428 a Fy(1067)p eop +%%Page: 1068 1092 +1068 1091 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 448 598 9 v 0 531 a FB(Index)21 +b(of)h(Lo)r(op)g(Clauses)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2428 a Fy(1068)p eop +%%Page: 1069 1093 +1069 1092 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 448 598 9 v 0 531 a FB(Index)21 +b(of)h(Macros)-33 2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1318 2428 a Fy(1069)p eop +%%Page: 1070 1094 +1070 1093 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 448 598 9 v 0 531 a FB(Index)21 +b(of)h(Sp)r(ecial)h(F)n(o)n(rms)-33 2344 y @beginspecial +@setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2428 a Fy(1070)p eop +%%Page: 1071 1095 +1071 1094 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 448 598 9 v 0 531 a FB(Index)21 +b(of)h(V)n(a)n(riables)0 884 y Fw(Don't)13 b(ha)o(v)o(e)h(a)f(separate) +i(index)f(for)g(t)o(yp)q(es)h(or)e(classes.)-33 2344 +y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 1318 2428 a Fy(1071)p eop +%%Page: 1072 1096 +1072 1095 bop -33 269 a @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 110 598 2 v 0 448 598 9 v 0 531 a FB(Colophon)0 +872 y Fw(Camera-ready)9 b(cop)o(y)g(for)g(this)h(b)q(o)q(ok)f(w)o(as)g +(created)i(b)o(y)f(the)g(author)f(\(using)h(T)1201 881 +y(E)1224 872 y(X,)f(L)1287 867 y Fr(a)1306 872 y Fw(T)1329 +885 y(E)1352 872 y(X,)0 924 y(and)k(T)103 933 y(E)126 +924 y(X)g(macros)f(written)h(b)o(y)g(the)g(author\),)g(pro)q(ofed)g(on) +f(an)h(Apple)g(LaserW)m(riter)g(I)q(I,)0 976 y(and)k(prin)o(ted)g(on)g +(a)g(Linotron)g(300)f(at)h(Adv)n(anced)h(Computer)e(Graphics.)28 +b(The)17 b(text)0 1028 y(of)i(the)h(\014rst)g(edition)e(w)o(as)h(con)o +(v)o(erted)i(from)c(Scrib)q(e)k(format)c(to)i(T)1097 +1037 y(E)1120 1028 y(X)h(format)d(b)o(y)i(a)0 1080 y(thro)o(w)o(a)o(w)o +(a)o(y)d(program)g(written)h(in)g(Common)d(Lisp.)28 b(The)18 +b(diagrams)d(in)i(c)o(hapter)h(12)0 1132 y(w)o(ere)h(generated)h +(automatically)15 b(as)j(P)o(ostScript)h(co)q(de)h(\(b)o(y)e(a)g +(program)e(written)j(in)0 1184 y(Common)12 b(Lisp\))i(and)h(in)o +(tegrated)g(in)o(to)f(the)i(text)f(b)o(y)g(T)m(extures,)h(an)e +(implemen)o(tation)0 1236 y(of)f(T)70 1244 y(E)93 1236 +y(X)h(b)o(y)g(Blue)g(Sky)g(Researc)o(h)h(for)f(the)g(Apple)g(Macin)o +(tosh)g(computer.)42 1287 y(The)i(b)q(o)q(dy)f(t)o(yp)q(e)i(is)e(10-p)q +(oin)o(t)g(Times)g(Roman.)21 b(Chapter)16 b(titles)g(are)g(in)f(ITC)h +(Eras)0 1339 y(Demi;)24 b(running)e(heads)g(and)g(c)o(hapter)h +(subtitles)g(are)f(in)g(ITC)f(Eras)i(Bo)q(ok.)42 b(The)0 +1391 y(monospace)12 b(t)o(yp)q(eface)i(used)g(for)e(program)f(co)q(de)j +(in)f(b)q(oth)g(displa)o(ys)f(and)h(running)f(text)0 +1443 y(is)17 b(8.5-p)q(oin)o(t)f(Letter)j(Gothic)e(Bold,)g(somewhat)g +(mo)q(di\014ed)f(b)o(y)h(the)h(author)g(through)0 1495 +y(TEX)f(macros)e(for)h(impro)o(v)o(ed)f(legibilit)o(y)m(.)23 +b(The)17 b(accen)o(t)g(gra)o(v)o(e)f(\()1034 1499 y Fn(`)1058 +1495 y Fw(\),)g(accen)o(t)i(acute\()1343 1499 y Fn(')1367 +1495 y Fw(\),)0 1547 y(circum\015ex)g(\()218 1551 y Fn(^)241 +1547 y Fw(\),)h(and)f(tilde)g(\()486 1551 y Fn(~)509 +1547 y Fw(\))h(c)o(haracters)g(are)g(in)f(10-p)q(oin)o(t)f(Letter)i +(Gothic)f(Bold)0 1599 y(and)d(adjusted)g(v)o(ertically)f(to)h(matc)o(h) +f(the)h(heigh)o(t)g(of)f(the)h(8.5-p)q(oin)o(t)f(c)o(haracters.)22 +b(The)0 1651 y(h)o(yphen)14 b(\()p Fs(-)p Fw(\))f(w)o(as)g(replaced)h +(b)o(y)f(an)g(en)h(dash)g(\()p Fs(-)p Fw(\).)j(The)d(equals)f(sign)g +(\()p Fs(=)p Fw(\))h(w)o(as)f(replaced)0 1703 y(b)o(y)e(a)g +(construction)h(of)f(t)o(w)o(o)g(em)f(dashes)j(\()653 +1699 y Fs(U)653 1707 y(U)674 1703 y Fw(\),)f(one)f(raised)h(and)f(one)h +(lo)o(w)o(ered,)f(the)h(b)q(etter)0 1754 y(to)f(matc)o(h)e(the)j(other) +f(relational)f(c)o(haracters.)19 b(The)11 b(sharp)g(sign)g(\()p +Fs(#)p Fw(\))f(is)h(o)o(v)o(erstruc)o(k)h(with)0 1806 +y(t)o(w)o(o)k(h)o(yphens,)i(one)f(raised)g(and)f(one)h(lo)o(w)o(ered,)g +(to)g(eliminate)d(the)k(v)o(ertical)e(gap)g(\()p Fs(#)1345 +1802 y(-)1345 1810 y(-)1367 1806 y Fw(\).)0 1858 y(Sp)q(ecial)h +(mathematical)d(c)o(haracters)19 b(suc)o(h)e(as)h(square-ro)q(ot)f +(signs)g(are)h(in)e(Computer)0 1910 y(Mo)q(dern)e(Math.)k(The)13 +b(t)o(yp)q(efaces)i(used)f(in)e(this)h(b)q(o)q(ok)g(w)o(ere)h +(digitized)f(b)o(y)g(Adob)q(e)h(Sys-)0 1962 y(tems)h(Incorp)q(orated,)i +(except)g(for)e(Computer)f(Mo)q(dern)j(Math,)e(whic)o(h)h(w)o(as)f +(designed)0 2014 y(b)o(y)f(Donald)e(E.)i(Kn)o(uth.)-33 +2344 y @beginspecial @setspecial +%%BeginDocument: WhiteBars.ps + -3 0 moveto + 3 0 lineto + 3 -720 lineto + -3 -720 lineto + closepath + 1 setgray + fill +%%EndDocument + @endspecial 0 2428 a Fy(1072)p eop +%%Trailer +end +userdict /end-hook known{end-hook}if +%%EOF diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/IT/\350\275\257\344\273\266\345\274\200\345\217\221/\347\274\226\347\250\213\350\257\255\350\250\200/Lisp/Paul Graham\357\274\232Lisp \344\271\213\346\240\271\346\272\220@2003.ps" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/IT/\350\275\257\344\273\266\345\274\200\345\217\221/\347\274\226\347\250\213\350\257\255\350\250\200/Lisp/Paul Graham\357\274\232Lisp \344\271\213\346\240\271\346\272\220@2003.ps" new file mode 100644 index 0000000000000000000000000000000000000000..623ac0b1fd0e33e496dd3264b6300f4bd42bd58e --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/IT/\350\275\257\344\273\266\345\274\200\345\217\221/\347\274\226\347\250\213\350\257\255\350\250\200/Lisp/Paul Graham\357\274\232Lisp \344\271\213\346\240\271\346\272\220@2003.ps" @@ -0,0 +1,6260 @@ +%!PS-Adobe-2.0 +%%Creator: dvips(k) 5.86e Copyright 2001 Radical Eye Software +%%Title: roots_of_lisp.dvi +%%Pages: 11 +%%PageOrder: Ascend +%%BoundingBox: 0 0 596 842 +%%EndComments +%DVIPSWebPage: (www.radicaleye.com) +%DVIPSCommandLine: dvips roots_of_lisp.dvi +%DVIPSParameters: dpi=600, compressed +%DVIPSSource: TeX output 2003.10.24:2109 +%%BeginProcSet: texc.pro +%! +/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S +N}B/A{dup}B/TR{translate}N/isls false N/vsize 11 72 mul N/hsize 8.5 72 +mul N/landplus90{false}def/@rigin{isls{[0 landplus90{1 -1}{-1 1}ifelse 0 +0 0]concat}if 72 Resolution div 72 VResolution div neg scale isls{ +landplus90{VResolution 72 div vsize mul 0 exch}{Resolution -72 div hsize +mul 0}ifelse TR}if Resolution VResolution vsize -72 div 1 add mul TR[ +matrix currentmatrix{A A round sub abs 0.00001 lt{round}if}forall round +exch round exch]setmatrix}N/@landscape{/isls true N}B/@manualfeed{ +statusdict/manualfeed true put}B/@copies{/#copies X}B/FMat[1 0 0 -1 0 0] +N/FBB[0 0 0 0]N/nn 0 N/IEn 0 N/ctr 0 N/df-tail{/nn 8 dict N nn begin +/FontType 3 N/FontMatrix fntrx N/FontBBox FBB N string/base X array +/BitMaps X/BuildChar{CharBuilder}N/Encoding IEn N end A{/foo setfont}2 +array copy cvx N load 0 nn put/ctr 0 N[}B/sf 0 N/df{/sf 1 N/fntrx FMat N +df-tail}B/dfs{div/sf X/fntrx[sf 0 0 sf neg 0 0]N df-tail}B/E{pop nn A +definefont setfont}B/Cw{Cd A length 5 sub get}B/Ch{Cd A length 4 sub get +}B/Cx{128 Cd A length 3 sub get sub}B/Cy{Cd A length 2 sub get 127 sub} +B/Cdx{Cd A length 1 sub get}B/Ci{Cd A type/stringtype ne{ctr get/ctr ctr +1 add N}if}B/id 0 N/rw 0 N/rc 0 N/gp 0 N/cp 0 N/G 0 N/CharBuilder{save 3 +1 roll S A/base get 2 index get S/BitMaps get S get/Cd X pop/ctr 0 N Cdx +0 Cx Cy Ch sub Cx Cw add Cy setcachedevice Cw Ch true[1 0 0 -1 -.1 Cx +sub Cy .1 sub]/id Ci N/rw Cw 7 add 8 idiv string N/rc 0 N/gp 0 N/cp 0 N{ +rc 0 ne{rc 1 sub/rc X rw}{G}ifelse}imagemask restore}B/G{{id gp get/gp +gp 1 add N A 18 mod S 18 idiv pl S get exec}loop}B/adv{cp add/cp X}B +/chg{rw cp id gp 4 index getinterval putinterval A gp add/gp X adv}B/nd{ +/cp 0 N rw exit}B/lsh{rw cp 2 copy get A 0 eq{pop 1}{A 255 eq{pop 254}{ +A A add 255 and S 1 and or}ifelse}ifelse put 1 adv}B/rsh{rw cp 2 copy +get A 0 eq{pop 128}{A 255 eq{pop 127}{A 2 idiv S 128 and or}ifelse} +ifelse put 1 adv}B/clr{rw cp 2 index string putinterval adv}B/set{rw cp +fillstr 0 4 index getinterval putinterval adv}B/fillstr 18 string 0 1 17 +{2 copy 255 put pop}for N/pl[{adv 1 chg}{adv 1 chg nd}{1 add chg}{1 add +chg nd}{adv lsh}{adv lsh nd}{adv rsh}{adv rsh nd}{1 add adv}{/rc X nd}{ +1 add set}{1 add clr}{adv 2 chg}{adv 2 chg nd}{pop nd}]A{bind pop} +forall N/D{/cc X A type/stringtype ne{]}if nn/base get cc ctr put nn +/BitMaps get S ctr S sf 1 ne{A A length 1 sub A 2 index S get sf div put +}if put/ctr ctr 1 add N}B/I{cc 1 add D}B/bop{userdict/bop-hook known{ +bop-hook}if/SI save N @rigin 0 0 moveto/V matrix currentmatrix A 1 get A +mul exch 0 get A mul add .99 lt{/QV}{/RV}ifelse load def pop pop}N/eop{ +SI restore userdict/eop-hook known{eop-hook}if showpage}N/@start{ +userdict/start-hook known{start-hook}if pop/VResolution X/Resolution X +1000 div/DVImag X/IEn 256 array N 2 string 0 1 255{IEn S A 360 add 36 4 +index cvrs cvn put}for pop 65781.76 div/vsize X 65781.76 div/hsize X}N +/p{show}N/RMat[1 0 0 -1 0 0]N/BDot 260 string N/Rx 0 N/Ry 0 N/V{}B/RV/v{ +/Ry X/Rx X V}B statusdict begin/product where{pop false[(Display)(NeXT) +(LaserWriter 16/600)]{A length product length le{A length product exch 0 +exch getinterval eq{pop true exit}if}{pop}ifelse}forall}{false}ifelse +end{{gsave TR -.1 .1 TR 1 1 scale Rx Ry false RMat{BDot}imagemask +grestore}}{{gsave TR -.1 .1 TR Rx Ry scale 1 1 false RMat{BDot} +imagemask grestore}}ifelse B/QV{gsave newpath transform round exch round +exch itransform moveto Rx 0 rlineto 0 Ry neg rlineto Rx neg 0 rlineto +fill grestore}B/a{moveto}B/delta 0 N/tail{A/delta X 0 rmoveto}B/M{S p +delta add tail}B/b{S p tail}B/c{-4 M}B/d{-3 M}B/e{-2 M}B/f{-1 M}B/g{0 M} +B/h{1 M}B/i{2 M}B/j{3 M}B/k{4 M}B/w{0 rmoveto}B/l{p -4 w}B/m{p -3 w}B/n{ +p -2 w}B/o{p -1 w}B/q{p 1 w}B/r{p 2 w}B/s{p 3 w}B/t{p 4 w}B/x{0 S +rmoveto}B/y{3 2 roll p a}B/bos{/SS save N}B/eos{SS restore}B end + +%%EndProcSet +TeXDict begin 39158280 55380996 1000 600 600 (roots_of_lisp.dvi) +@start +%DVIPSBitmapFont: Fa gbsn20 14.4 1 +/Fa 1 214 df<1802F00780F003E00160EE01F80178707E013E177F6D6C707ED90FE0EE +1FE0D907F8707E6D6C707E6DB4836D6D6F7E6E6C1501866E6C81141F86020F177E020717 +3E5D0460033C4A7E0203051881DB80E092C8487EDA01004F7E6E48484E7E537E04FE4E7E +DB039FBBFC048F1A80ED07077E00E093C7D801F8CAFC00F8020EC8FC127E6C141ED81FC0 +131C6C7E6C6C133C6D13386C6C13786C7E15706C6C13F05B017E5B1401133E90383C03C0 +A2133890381007801300140F92C9FCA24A1A18021E1A3C1D3E023E1A7F023C507E527F02 +7C010F4D7F02786DBA7E02F86D85A24A7F01019227C00001F8CAFC93C8FC5C1303A21307 +5CA2130F131FEA303FB55AA27E120712017E137FA2133FAB1E181E1E6E1B3FF67F801FC0 +F6FFE0DAC3C0070313F0496CBDFC02E01CF81FFC6F1BF8013F0170CFFC92D0FC131FEB07 +C06E6F7AE478>213 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Fb gbsns11 10 1 +/Fb 1 185 df<604E7E02076F7E03E0816F8103C06E7E4B17181B3C4AC948137E040C16 +FE0407B8FCA2705E0402C80040C7FC021ED9000C14E0050E14F87114FEF08001DD03C013 +F003036E485A91263C07805DDB0FC06D485A0002021F0101EC00060003B600E0D9E00E13 +0F6C4EEB1F8004C04948133F9026007803B912C0C77F1C8093CCFC92CDFCA24A13100418 +150C041C151E041FB7FC8798C7FC4948013CC8123CA5043FB612FC4948495DA20478C812 +78A3151C90270780F8F05DEC87E0ECBF80DAFE00B7FCEB0FF0EB7FC03E07FF0001E0780F +01E0D87FF815F8EAFFE06CC702F0ECC060003C038091C7FC0038EC00010010DCE01E5CC9 +FC1603DC07C0140105805D160F4C48481303163E4C15074B484B7EDB07E04B7EDB1F8001 +3FB55A03FCC75DDA0FE06E01FCC7FC02FFCDFCEB1FE0011CCEFC524F7BC553>184 +D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Fc gbsn17 14.4 1 +/Fc 1 246 df<1818181F19E019F81EC007E04B7E4F4B7E8A4F4B7E537E00F0527E007F +BF12801FC07E7E001CCAD81F80CBFCCBFC1C381C7C1C7E1CFF517FD901F04E7F6DBC7E80 +6E86A20238D0FC91D1FCA46F4D7E6FEF03E06F8403F8EF07FC92BA7E88A21CFC03FCCAEA +03F864AB92BAFCA388DBFC18C8EA0403041E1506041F030F5B706CEDC3E09226F007E091 +381FF3809226C003F003F8C9FC03006DEC3FE0706C1580087EC81218087C153C04004B15 +7F5016804D4948EDFFC000F0047049485C007FBF12E06C1EF01FF86C1EF0001CD2FCD3FC +A24A19C06FEF01F06F8403F0EF03FE92BBFC89A252C8FC03F8CAEA01FC64AE92BAFCA403 +F8CA1201A288A36403C018E091CD12806D707AE378>245 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Fd gbsn11 14.4 1 +/Fd 1 176 df<0240160402F8160F02FF707EDA7FC0ED03E06FED01F84B824B6F7E92CA +127F87027E717E1A1F1E06080FED0780F60FC0F61FE01FF07448EC3FF804F0F1FFFC047F +BBFC701AFE1FFF701AFE041CCEFC93CFFC147F15C015F015FC3901807E7E6F7EED1FE06F +7E01C0902607F804170C922603FC06171F0003DBFE0784030102C0EE3FE0030091B97E8A +167C0007033C19E0043801E0C9EA1FC0041061000F1500A2121F123FEA7F8012FF1300A2 +5A127C1238C7FCA695B9FCA4953BE0000FC0001F8AA34E5F4E041EC7FC0506C7150894C8 +92C8FCA45FDD03C0151006F0151C72151EDD07FE6F7E72ED07E04D01806E7EDEF800EC01 +FC4D486F7E4EEE7F804D48707E4E707E4DC7ED0FF84D717E4D717E4C48717E4C48711380 +4DF07FC04C5A4C48F03FE04C48181F4CC8EE0FF0167E4C1907ED01F04B4819034B48151F +4BC9EE01E0031E020FB5FCDAFE38F200C092C86C1800F0007F071F5B1907070190CAFC4A +5F4A5F02E017F00280EE00C070717CE478>175 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Fe gbsn18 14.4 1 +/Fe 1 75 df<708104F015F004FE15FE706C6E7E71814D5D4CC848CAFCA24C5DA51EC053 +7E1D03011C517ED91F8003048302E0030E160F02F8031F4C7E4ADB3F804B7E4A04C015FF +4ADB7FE04A13C24ADBFFF04A90C7FC93B6ED07FC07F84A5A525A07F0EC7FC004FCC84A5A +5148C8FCF307F8515AF31FC0097FC9FCF2FDFCF2FFF01BC098CAFC1AFC1F601FE0A51E01 +A21FC0A31E03A307F81607181F942603FFE017E09426FFFE00160F93B500F0EF1FF00307 +91C7EE3FF80281B500F091B8FC91B6C817F090B600F06F16E0B7C9178003F0041FEDFC00 +6C91D0FC6C13E0D81FFCD1FC13C06CD2FC120CD3FCA31C0389527E527E89527ED903C0F1 +7FFC91BC7E6D877FA20270D0FC91D1FCAC1E0C1E1E1E3F1F80F67FC0F6FFE000F85213F0 +007FBF12F86C1EFC7EA2001ED2FC6E6D7AE478>74 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Ff gbsn14 8 4 +/Ff 4 237 df<1304130E010F1418496C131F497E013CC7001E1308D9780C011C131CD9 +F806153E9026F00380147FD801E001C0EB01F82703C001E0EB03E027078000F0EB078000 +0EC70078011FC7FC48163C27787FFFFC01F01340B6D91FC013C0DA001890C7FC0180141C +0070C8FCC91401A20008EB01800006D903C014030007B500E0EC07E0DBF01FB5FC902600 +03C015C04B6C140093C9FCA41630163E90B5FC163CD9000301381338187C18FEEF03F8EF +07C04DC7FC173C17F090B5EB3BC0043FC8FCD9000313381940A219C0A7180119E0D90783 +ED03F002FF013FB512E09026007F0015C0021F6D14800006010E90C9FC000413083C3F7C +B742>21 D<146014F8805C495A4A15044948150F010717804AED1FC049B8FC19E0011EC7 +00E0C8FC5B13385B5B485A485A48C8FC000E17404817E0D8380882D8600C4B7ED8C00FB7 +7E000083010EC700E0C8FCAA6019C0F003E000C0EF07F0007FB9FC6C18F80020C800E0C8 +FCC9FCB15E5E3D3D7EB542>35 D<01085C010E15C0D91F80497E6E80011EC7EA07C04901 +18491360DB3C0FC712F049D93E1EEB01F8017FB5001FB512FC90B65A9028E060007818C7 +FC2601C070EBF00E000390393801C006903A803C3380072807001E1E007F000E91380F80 +0348EC07C04890380E03E0276020080191C7FCD8C030C7EB0030D800380260137C013FB7 +12FEA20138C91238A7013FB712F8A20138C91238183095C7FCA2013C1607017E1780017F +B812C0017717E0913B003801C00780190013F713E7A3EA01C791B8FCEA0387913A003801 +C007EA070717E0120E120C12181230126000C0023C13E40000EEC7FF0338EB80FE0320C7 +123E010690C8121C010416183E3F7EB742>159 D<90278001801013189027C003E01813 +3E90B5D8F01FB5FCA2903BE001C01C001CAA90B590381FFFFCA2D9E00190381C001CA292 +39981380189028C0001E01F8C7FC90C7381F807E4B486C1380037C90381F01C003789038 +0F03E0004002F890380607F0003FB912F87EC72607E006C8FC4B7EDA0F807F4A486C7E02 +7E6D7E4A1478494880D903E0141F4948EC0FC0D91F80EC07F0017EC8EA01FF01F86F13FC +D803F0D96020EB3FF8D81F70D9F830EB7FE028787FFFFC3FB512C000C0EFFC003C007000 +70380038AB903B7FFFF03FFFF8A2903B700070380038A40140D9402013203E3D7EB542> +236 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Fg gbsn08 14.4 1 +/Fg 1 124 df<1418021F160303C0ED07C003F016F8DA3FFC16FE4B8203C05D4B16FC92 +C95B62027E161F62A2027C5F02FC4C5A5C97CAFC49485E4A167E19FE494801384A151000 +C0037C183C6C484801FE4948157E00F049486C187FB800C0EFFF806C7048B812C0050018 +E04C4917F0007EC84819E0DE0FC0C8EA3F804F1600181F96C9123E183EA260187818F860 +4D5AA24D5A4D5A1D7E4DCAFC170E5F94383C018005387F4D6C7E05207F94C7127885193E +85737E007FB682737E86A2007EC86F7E861901A286A219001D7C62A262A2621A6097C8FC +AC1DFCA5007FB66C60A21C01A2007EC8FC00FE515AA21C074C4D5A04F0171F04C0033FB5 +5A93C97E4807015CE0001F90C7FC48F207FE00E0745A48745ACE13E01C80646E72E278> +123 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Fh gbsn10 14.4 3 +/Fh 3 129 df<1C0702304F7E02384F7E023C4F7E023FBB12F86E861DE0650380C7D81F +80C7EA1F80AF92BBFCA40380C7D81F80C7121FAF4ABB7EA492C8D81F80C7121FA28192C8 +FC65023E071EC8FC023C1918023096C9FC91C918301E781EFC8A537E53138000F05213C0 +007FBF12E0A26C1EF06C1EE0001CC9263F9F83CBFCCAD87F1F7F05FEEB81C017FC0401EC +80E0DC03F88005F01470DC07E01478040F81DC1FC080DC3F80141FDC7F006E7E047E6F7E +4C6F7E4B48824B486F7E4B486F7E4B48167E4B48824BC76F7E037E717E4BEF07F0DA03F8 +717E4A48717EDA0FC071B4FC4A48F07FC04AC8707E02FEF11FF8D901F8F107FF49487313 +C0D90FC07313F8494873EBFF80017FC9053F13FC01FC87D803F8090713C0D807E0043F70 +1300D81F80F300FE48CA187C00FC1D1800F09AC7FC00C095CCFCCB123E183C18306E6D7A +E078>42 D<1C701CFC517E001E507E6CBD12806C1CC01DE07E0180CC001F13F0CE007F13 +F89838FFF000501380E007FEC7FCF20FF8F23FC050C8FCF101FCF107F0F10FC0073FC9FC +19FEF001F894381C07E094380F9F8006FECAFC18F8846018E0003C1B0F263F80384B16E0 +D9F01EDD018013F8261FF81F943903C007FE6E6CEE07E09026E007E0DC0FF013F8496C6C +19F06E6CEE1FF801806DDC3FE013E06E6CEE7F80037FEEFE0004804A5ADB3FC04A5AF107 +E0DB1FE04A5A4F5A073EC7FC030F5D04C05CF0C1E0DB0780EBC7C006CFC8FC040013DE03 +02EB1FFC92C7127F94B5FC933903EFDFC093390FCFC7F093391F8FC3FC93397E0FC1FEDB +01FC9038C0FF80DB07F86E7EDB0FF0EC1FF0DB3FC06E7EDBFF806E7E020301006E7EDA0F +FC923801FF80DA3FF881DAFFF0EE7FC0018301C0EE3FE0018F49EE1FF0D99FFEC7FCD987 +FCEF0FF8D981F81707D980F0170314700220170191C8FC1A001BF01B7092260F801F1500 +93B5FC601500161F040790C9FC705AA2705A5F5F705A178094CAFCA248BDFCA25ABEFC01 +C0CD1207003FCEFC7E120ECFEA0FC01D001C0E5F6A73DF78>60 D<1D3EF403FEF43FFF09 +03B57E1B7F0807B67E97B77E0240163F0260030FB87E02780207B600FCC9FC027C0107B6 +48CAFC027FB748CBFC6E4BCCFC05F0CDFC92D0FCAD1E301E781EFC8A537E5313805313C0 +92BD12E01FF0A392D0FCA7143E147EAB0430EF01C004384D7E043C4D7E02FE6D4D7E041F +B912FE4A861DF8650580C9EA07E0A31301A25CA4495AA45C1307A25CA2130F5CA249C7FC +A2131E133E133C137C5BA2484892B9FC5B1203485A48480380C9120790C8855A123E4893 +CAFC12785A1260C95A043E60043C1880041095C8FC93CB12046C6F7BE278>128 +D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Fi gbsn11 8 5 +/Fi 5 188 df<5A6D161CD800E06D141E0170017FB6FC01786D5C6D90C8121C7FA3130E +130C90CAFCA91318D8803C1308D8FFFE130C6C6C010FB512FCEA001E011C010EC7121CA2 +181E181C181895C7FCAA158E1401EC070E140E021C1660147802F01640EB1DE0D91FC016 +C014801400133E017E17E0013C16010118EE03F0030FB6FC90C716C06F15003C3A7DB442 +>16 D<130CEB0F808091CBFCA7130EDB20081307DB7006148000C0DA7807B512C0007FB5 +00FC15806C02FE903800070039000E0078A31570AC131E131CA7133C1338A313301370A2 +016013F013E04913E012014992B5FC00031301010001C0EB0007380707FFD80603138027 +0C003F00158048011E16000038011C1506003090C791C7FC4815064815043A3D7EB642> +28 D119 D<1330017C5E017EEE0380017801 +08EC07C0902670020FB612E09026F0070715F0903CE00F8000F003C048B5168081260380 +3FC712E0EB003C485B0006017001011307484914C0485B90270180C0031400003CD981E0 +1380006FB56C48485A00CF9139F80F1FFF3C8E0701E01E03FE000E9139C07C00FCDBC1F0 +1378DBC7C013209226CF0018C7FC9238C0301F163CEE3E1EEE7C1C1678000FB501701306 +180F260C070101E0EB1F8093B612C0A29226C1C01CC7FC1680EDC300A215C615C4001FB5 +00C015C0F001E0261C0381ED03F003CFB6FC15C79226C0001CC7FCA3121813071238A214 +01EA3004130012701260EB03FFEB007F48EB1F806EC7121048010691C8FC3C3E7DB642> +137 D<80497E496C15300107163802F3157CD90F81B612FE49C681013C0180C712F04990 +C7485A494B5A48484B5A48484BC7FC4848150E000EC9121E4801405C4801E05C00E001F8 +5C264001FC495A000001F0EB03F8D903C0EB070F494890380E07C093383C01F049C73878 +00FC010E02E0133E4949487F013CD90780EB0FC0013F010EC712074949EC03E001FC0170 +1401D801DC5B90269C0380140026031C0EC912400006010CED3000000C90C91238001C17 +7C0038496C14FE00706DB7FC00E08000809126000380C7FC1200AF18031980F007C00260 +ED0FE0023FB712F080013CCBFC13383C3E7DB742>187 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Fj gbsn18 8 7 +/Fj 7 148 df<0310140EDA300C141FDA380FB612806C017C1600B5D8FE0EC7120E7E38 +003800A317C017F8A217F017E0A714301478004013FC387FFFFE7E38003800A417FCEE01 +FF17DF17DE17DCA21603A2EF9C0F180EDB0C071308DA0F08011CC7FC91387C000FD939F0 +130ED93FC0131E01FFC7001C1418D807F8143CD8FFE002781410018002F01430007CC7EA +01E00030EC03C00020EC0780C8EA0E00033C1570037015784A4815FCDA078090381FFFF8 +021EC714F002786E13E0D901E091C8FC3E3B7DB442>25 D<0006171C183E0007B9FC1980 +000ECAEA3E00000C5FD81C0116706E5D263C03E05D00786D4A5A00F801C092C7FC12F04A +91C8FCD80007150291C812074D7E494B7E91B77EA2011ECBFC131CA2133C1338A2137801 +701502170701F0820003B87EC6830140C8EA078090C990C7FCA5705A923801C00E16E06C +EC03F0007FB612F816FCCAFC171E171CA4173C1738A2177892380181F016FF9238000FE0 +705A705A0402C8FC393B7AB342>85 D<497E6E16C0D900F015036EED1FE002780104EB7F +F0923A030603FFF8913B700783BFF00000200130D9C3FEC7FC001FB6EAE3807EC8EA8003 +6D13E09038C001F81370013813E0013C13C0EB1E031580131F010E010015209126070183 +147091260603C314F828800C0C07E3EB01FCB700F3B5FC6C18FEC73B700003801C00A615 +03ED07830020EC0FC3001FB612E77EC73970000700A31330903878718090387C70E0017E +EB700F01F0EB380E153C01E0131E0001EC0F1E01C0149CD8038013075ED8070013030006 +EC0070000E5D485D001814013A3003F00380D860FF49C7FCD8401F130E390007E0380103 +5BDA80E014183F3D7EB642>99 D<18080460131C04F0131E4B6C133F003FB66C137E6C17 +7827100E0070C75A00004C5A4D5A604DC7FC170E5F5F5F5FEE01800407C8FC0404130293 +C71207F00F8016300478EB1FC0008003FCEB3E00B76C13786C5F3C000E00700001E04D5A +4D5A4DC7FC171C5F17F0EE01C04C5A040EC71240043814C00460EB01E04991C713F0F003 +F8F00780F00F00181E495E6060494B5A4D5A4D5A494BC7FC171E4848157800035E49EC03 +E048C7EB0780000EDA601EC8FC48EC407848EC01E048EC0F8048027CC9FC0080EB01C03D +3D7DB542>111 D<012081013C15F0013E81013C5D01385DA2150EED0F8016C01600A215 +0E151E151C013E5E26043F80ED0380902639E038EC07C0260638F816E0DA7C3FB6FCDA3C +7F15F0000E90271C7000E0C7FC1560EC08E0001CEB00C0A2003C495A127C00F849C7FC12 +F00070130612005C140814180210150391C8EB07800320EC0FC0031FB6FCA292C700E0C7 +FCAF19301978022016F8021FB712FC8091CBFCA313203E3F7EB742>117 +D<186018F04D7E017FB77E6D5E90C7D80380C8FCA2198048EF01C0F003E048B912F019F8 +90C73A03800003E04818C0F00700000E17063C1E1FFFC387FFCC003E17D848C7D80380C8 +FC12781230C8FC903B1FFFC387FFE0A290C7D80380C8FCA293C9FC030215C092C8EA01E0 +6C1703007FB912F0A2C8001CC9FC5DA21530014049140C0160161E017FB8FC1980903C70 +00E007001E00181CB0EF1FFC9239C00603F84BC7FC92C81270014016603D3E7EB642> +137 D<1507ED03C082030114031980486C0100EC07C06C6CEE0FE090B912F0A201E0CBFC +A4183002401578027FB612FC6E8191C8EA01F8EF03C04DC7FC0318131E030F1338923807 +C070923801F0C0923800F980047FC8FC163E161EA2160E196001E1020614F091B812F801 +E017FC000190C7390E0003F04917C0F00700180E180C6060182095C7FC12035BA448C8FC +A3120EA2120C121C48151E0030EC1FFE0070140F48140148EC007C481578C912203E3E7E +B642>147 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Fk gbsn06 8 1 +/Fk 1 251 df<013015706D157C011C15786D1570130F6D7EA391C8FC130290C70018EC +01C0DA180CEC03E000C0D93C0FB612F0267FFFFE16F86C903BFC0E007003E026200078ED +0780C700F016001806D901E05D14C0D903805D95C7FCEB07001306130ED91C0C1508020F +151C90263C1F8E141F90267C3C0FB6FC02381680903CDC700E18003E0026019CC0153C26 +039E80131C011FD91E0C5B38061CE0000C0178130E001890263C1C065B0030013E130700 +60011E6D5B0040010E1481000001065D9139043C01C302005D92383800E705EFC7FC177F +0378137E0370133CA24B137EEFFF80913A01C003CFC093380787E0913A03800F03F0913A +07001E01FC020690387800FF4A4848EB7FC091261807C0EB3FF8DA301FC7EA0FFCDA607C +EC07E0902618C1E0EC03C09026100180EC00803E3E7EB642>250 +D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Fl gbsn20 8 9 +/Fl 9 166 df<010415030106ED07C00107B77EA291C8EA0380AB91B7FCA291C81203AB +91B7FCA2913900070003A295C7FC010492C8FC90C7FCA218031980F007C06CEF0FE0007F +B912F0A2C80007C9FCB1150615043C3D7DB542>0 D<1504030614E001306D6C7F013E6E +13FC923801E001013CD900F013E001385E70485A16704DC7FC170E923A80600C0180923A +C0001803E092B712F0A2923AE001C001C0A3DA30E21441DA78E314F19126FCE18113F9B5 +02C113E16C9139E0E1C1C12640380013F10000923871C381180117C6EE61C4EE01C0A292 +B7FCA203E0C71201A24B150092CAFC031014180318143E031FB6FC1406DA1C1CC7121C14 +F8EB3BE0EB3F80EB7E00EA01F8EA0FF0D8FFC0011FB512FC6CC7FC003C021CC7121C1218 +C8FCA6031FB512FCA2031CC7121CA3031014103C3F7EB742>15 D<16401670163C820002 +8100036F7ED801C0816C6C140313F8017C5D013C020114C0013E92380001E0011E91C7EA +03F0020FB712F8EB1C07D90C04C73801C00090C91203A260A5036049C7FC81151C011813 +07D8C03C903803800ED87FFEEB01E06C6CEB0070D8001E6E5A011C141E705AEE07F8EE01 +F01600834C7EEE03DEEE078F93380F07C093381E03E04C6C7E1678923901E000F84B4813 +7C030FC77E153E03F8141EDA03E0140EEC0F80023CC81206D93630150401E3CBFC3801C1 +80380780E0380F0078007FD93F80153E007E010FB712F8003C6D16E0003813000010021F +15C03F3E7EB642>89 D<02C014E002F014F86E804A14F0ECE0034B6C5A6CDA0FC1142000 +7FB649137019F8C726E00003130194B512FCA20002913A1807801E000003021C13C090B5 +EAFE06DBFF0E131C903B80E01C0C603CA29338187038EF3078933830387016209338601C +E090B5EAFC40EEC00F902783F01D805B903A8770180007D8020F90C7FC27000EFFC08090 +261CF7F8497E902638F1FCEB1CFC902678F07CEB787F01E06D9038F03FC0D801C0903A1C +03E01FF8D80380903A040F800FFCD80700903A007E0003E0001CDA07F8EB01C048DA3F80 +EB30000060D9E030C7127800040180C812FC0007B87E7EC8D80380C8FCA25B02C05C02F0 +4A7E02E04A7E02C04A7E93B5FCA20480C8FCA3196019F00080EF01F8007FB9FCA23E3B7E +B642>114 D<18061807F00F80000CEF1FC00007B912E07EC8D801C0C8FCAD1306EB07C0 +A20280151002001538187C18FE93B6FCA204C0C8FCB3A3194019E019F800C01701007FB9 +12FC6C18FE3F377EB342>116 D<130EEB0F808091CBFC131EA2131CA25BDB0808EB01C0 +49D91C06EB03E0DB3C07B512F0037E15E090B690380001C0A23901C07000138012031300 +1206A25A120812185A1220C7FC1506150F151F007FB612877E3A2000700007C712F05CA4 +80EB01DC14CE14C79038038380EC81C015E090380700F01578010E017C90B5FC153E49ED +0001013C131E0138131F49130F49130E485A0003020C15E048C815C0000E03061400003C +030490C7FC007092C9FC5A3C3D7EB542>127 D<49141802C0131E6E131F496C131E14C0 +161C4948ED0180F003C002401507D90F3FB712E0EB0E1F91C7001CC8FC5BA25B13301370 +01600140146001FC016014F0037FB57E484882490170C712780003177013701206120CA2 +12180030027FB512F0A200600270C7127012C012801200A5037FB512F0A20370C71270A8 +037FB512F0A20370C71270A5196019F00172EE71F80173B812FC13710170CBFC5B5B3E3F +7EB742>138 D<0108150701064B7E0107B77E6091C80007C7FCB3A491B7FCA291C81207 +A313060104150490CCFCA302181304021C1307023EEB0180027FEB00E0177002FC143CD9 +01F08049486E7E49486E7E4A6E7E49C86C7E011E6F7E49167C49824982D801C0EE0F8048 +5A000FCAEA07C0001C17035A48170100C018804817003A3B7CB342>144 +D165 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Fm gbsn15 8 6 +/Fm 6 244 df<03021418DA7003143E6C017890B6FC387FFFFC02F8903880001CC71270 +A993B512FCA20004923880E01C12062607FFF01518DB020090C7FCD90070C7FCA2000E13 +601440DA001014030318EC07C0031FB612E0A2923A1C00E003805A14E0EB01F0383FFFF8 +A2381800F0C712E0A3031FB6FCA2010190391C00E00314C0190095C7FC0310141892C77F +841807F00380F001C0495AF000E019F09438E7FFF8010791397FFFF078D90F07B5EAFC00 +D81FFF92C7127C2603FE0301C0143CD8007C01F0C812380178CA1230012017003E3D7EB5 +42>18 D<1518ED1E0E92381F078092381E03C092381C01F0707E1778177C173C1738EF18 +18EF101CEF003E6C177F007FB912807EC8001EC9FCA3151B151FA20007DA1D801360D803 +C016F0D800F06E487E017C011C806D1503D91F809038E007C0D90FC0D9600FC7FC0107EC +701ED903E0EB303C0101EC38F002C0EB39E00100EC1F8094C8FC9138007C0E913801FC07 +DA079C7F91381E1C03027880D903F06D7ED90FC06D7ED93F008001FC157CD807F0153FD8 +1FE06F7ED8FF80ED0FE048C76E7E0078EE03FE0030933801FF80C89138007FF0F03FC0F0 +0F00180695C7FCEC3FFCA2EC03F814016E5A5D3C3D7BB642>70 D<1678167EA2020C13F8 +021E4913E06C90393F01E001007FB50081B57E6C833C201C0003C003E000009238800780 +DB070090C7FC013C49130E0138010E130C4B5B5D01784B13C00170017C90382001E003EF +B612F09026F0018F15F8903CE0030E007001E0020616C03801C004147014F83803FFFC14 +F8EBC0701207030FB6FC120F000D91390E0070011219A21211123112211261124112C100 +01140C030FB6FC5D92391C007001A3EBFFF0A29038C0703C1538A25D14C0EC006015E049 +485A4948481371C748C713FF020EEC703F4A9138400F8002709138000700026015063D3D +7EB642>104 D<497E14F08014E05CA313035CA3F001C0DB2006EB03E0902707003007B5 +12F000C0027C15E0007FB500FE90380001C07E3900070078130E1570A45BA315F04913E0 +A45B140115C0A213E0140315801201A2EC0700EA00F8EB3E0EEB0F8EEB03FC1301EB007E +80EC7FC0DAE7E090B5FC903801C1F890260380FCEB0001903807007C010E133E49131E49 +130F49010E15E0D801C0010615C048480100158048C8000690C7FC000C15043C3D7EB642 +>152 D<15601578157C15781570AC5F4D7E4D7E4D7E037FB57EA20370C9FCB3AB180218 +07F00F806CEF1FC0BA12E07E3B397CB542>222 D<1460027C15700278157C14704A1570 +5C018013309038C1807890B512FC819038E000781570A4196019F090B500F2EC71F803F3 +B612FC9038E000710370C7EA7000A690B5EAF02016309039E000701882160E160FEE0780 +A217C000C01503007FB512F06C1680C7D81C701300023C1302027890C7FC147014F0EB01 +E014C0EB0380EB07005B131E5B5B13E0485A485A48C7FC001EEEC0F00038D9F8F013FF48 +01FFEC1FE00040D90FE01307C700036E5A6E485C92C790C7FC3E3E7EB642>243 +D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Fn gbsn16 8 9 +/Fn 9 200 df<1708170F8495C7FC170E388001C0386003E0387FFFF05C387001C0A4F0 +0180F003C002C4150702C3B712E014C102C0C7000EC7FCA7EA7FFF1520D870011318151C +81811680150316C0ED01E0A216F01500A316E0A21600EA7FFFA2EA7001A2805C91C8FC90 +C9FCA212601240CAFCEE1FFEA2EE01FC16001778177017203B3E7CB642>30 +D<024013040270130702F814C06E5C02F091C8FC495AA25C13035C130791C7FCA2130EA2 +5B1318133C013F5E496CED0380016FC7EC07C0D9EE20ED0FE0D9CE1FB712F0EA018E91C7 +0007C8FCEA030E1206A2120C121812101230126012C012801200B3A61606010814043C3D +7DB642>I<1618161EEE1F0E93381C0780717E717E04187F17001870A2041C1363F00380 +F007C000C0030CEB0FE0007FB912F07EC9000CC8FCA3160EA41606A21520ED7007157800 +2014FC001FB512FE6C14FFC738E0000383A4831601A3831600A2831770DC107813609226 +01F038134092381F803C9139E1FE001CDAFFF06D13C00380130FD90FFCC7EA0780D9FFE0 +EC03C0007F90C8EA01E001F8ED00F0D83FC0167D90CA123F001C171FCB1207F003E0F000 +603C3D7DB642>42 D<18C0844D7E01C04B7E017FB77E7F90CCFCAB60F00380F007C00040 +EF0FE0003FB912F0A2C80007C9FCA51440147002F8497E02FCEB00E00101157002F080D9 +03E0141ED907C08002806E7ED90F006E7E49ED01F0011E6F7E49167C49824982485A49EE +0F804848EE07C048C7FC000E17035A481701126048EF0080481800C7EA080FEC0FFF1403 +EC007E153E153C3C3B7DB442>I<4915306E147C91B612FEA202C0C71238A891B612F8A2 +02C0C71238A791B612F8A202C0C71238A491C8EA200290CA120719800040EF0FC0003FB9 +12E019F0C8D80380C8FCA35B14E002F8154002F015E002E04A7E02C04A7E010391B57E14 +800480C8FCEB07C0A2EB0F60EB0E70EB1E38EB1C1CEB3C1EEB780F9038F007C33901E003 +F32703C000FF15384848013FB612F848C7000F15C0001C020115000078EC000700E092C9 +FC12803D3E7DB642>52 D<150E92380F8180EE80E092380E0070173C173E8383A283A217 +06EF00061807F00F800040EF1FC0003FB912E0A2C72601EE80C8FC82EDCE401403ED8E60 +140782EC0F0E1610021E1318161C023C130C0238130E027813060270130702E06D7E1301 +02C06D7ED903806D7ED90700801778010E1538498149151E498149ED07C048486F7E496F +7E48C76E7E0006177E48EF3F800038EF1FE048EF0E004817044894C7FCC8FCA6150C1508 +3B3D7DB542>98 D106 D<010E140ED90F80EB0F806E80903C1F00181F000180011ED9 +3C1EEB03C0013ED97E1CEB07E090273FFFFE3FB512F04913FF90287070007070C7FCD9F0 +38EBF03CD9E03C497E3A01C01E01C0D80380903803800E3A07000C0700D80E04010C7F27 +0C060008497ED81807B77E00305F006090C80007C7FC12801200A391B7FCA291C81207A4 +91B7FCA291C81207A691B7FCA291390F000387178FD9060E148C0104ED80020100160719 +800060EF0FC0003FB912E06C18F0C7271E000380C7FC141C143CA25C5C495A495AEB0F80 +011EC7FC13F8D807E092C8FC003EC812063C3D7DB642>174 D<8115E0157081153C81A2 +00041708031C141C000C020C143E000FB9FC1980000CCAEA3F00001C173C60003C177018 +60485F00F85FD8F0041501D9078091C8FC00407F00005B91CBFCA417C04C7EEE07F04C7E +EE1FC8047FC8FC16FCED03F0ED0FC0033FC9FC15F8EC07E0023FCAFC14F8148091CBFCA4 +1860A618E0A34D7EA26E4A5A6DB75A60010003FCC7FC393D7BB742>199 +D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Fo gbsn08 8 8 +/Fo 8 215 df<160E486F7E01C015E06C6C158013786D92C8FC7F131F7F7FA2130690C8 +FCA219C0F001E002201503021FB712F0809126080007C8FC91C75A160EA21318EA803CEA +FFFE6C6C141ED8001CEC1F80EE1DC0EE1CE0EE3C78EE383C83EE780F93387007809338F0 +03C04C6C7E03016D7E4C7F4B48137C03078093C7FC030E804B805D0360804A5A4A5A0206 +C81202013ECBFC13733801E1803803C1E0381F80F8277F003F80153C003E6DB712F0003C +010716E00018010116C00010EB001F3E3B7EB542>72 D<166002E0137C6EEB7E1802FCEB +380F02F0EC07C04948EC01F0717E4A157C13034A153C181C49C7FC1808010E93C7FCA201 +0C5E011FEE03806EED07C049C715E0013E923807FFF0017E017FB6FCD96E0FB6EAC00001 +CED9FE18C8FCEC0400D8018EC7FCEA030E161C12061204120C121812100020150C006015 +0E12C01200A282A3707EA3707EA2707E1908057013181778173883711330170FEF0780EF +03E0943800F870F07FF8183F180F180349EE0038011817003D3E7EB642>83 +D<15E015F85D00084A1330000E16386C167E6C6C157FD801E015786C6C5D13784C5A6D5D +013E1403011E5D4CC7FC1606010E140E010C140C5E90C71310EE000E0020161F001FB812 +801800CA120EAC12080007B712FEA2CA120EAC7E007FB712FE7ECA120E170F170E170C31 +3A79B542>104 D<034013040370130F6F80031E800006021F49C7FC6C6C6D131ED801E0 +6D6C5A6C6C15386D5D01786D484813C0017C9238C001E0903C3C4000018003F0023FB7FC +131891C70038C8FC90C8FC5E1660DB80E013E06F48487E92B67E6003E0C75AA21318EAC0 +3CEA7FFE6C7ED8201E90B6FCEA001C03E0C7FCA792B6FCA203E0C7FCA692B6FCA203E0C7 +FCA31336016349EB01802601E1C0CAFC3803C0E0380F807C271F003F80153E001E010FB7 +12F8020316E0000C13000004020F15C03F3C7EB542>119 D<011C141C011F141F6E497E +011EC790C7FC49143E163C0138147C167849147016F001604A13102680C01C1518006090 +263E01C0133C007FB590B6FC4A5A2670001C903880001C4BC7FCA2150E150C151C15184B +143C5DA25DED8180DB00C013381660167082267FFFFC133C823870001C82A4160E160693 +C7FCAA267FFFFC157818703870003C18F0EF01E00230EB03FF91C8EA7FC00060EE1F8000 +40EE0F00CA1204383C79B542>123 D<03081303030E14C000026E806C6C6D6C485A6D02 +E05BD800F0010191C7FC01786E5A017C0100130E013CECE00C013EED180CD91E0C01C013 +1FD91C07B7128080903C18020003800E0090C8FCA5158015C092B612FEA2913A01E00380 +0E15C001181608D8C03C93C7FC387FFE03D83FFF018015E026001C07ED01F04AB712F880 +913B03001D8000F091C7003B14E0167B167316E31501DB03C31301ED0783DB0F0314C003 +1EEB83870338EB81FF03709038803F80DA01E0EC0F00DA0380140EDA07001408021C92C7 +FC5C91C7FCA2133E13732601E1C091C8FC2603C0E01302260F807C90C9FC273F003FC015 +3C003E010FB712F8001C010316E00018010016C00008141F3E3D7EB642>148 +D<153081151E816F7EA28201406D5A180E93C7121F90B9128019C001C0C9EA1F00000117 +3C18384848163000075F000F174048CA12C060001E94C7FCCB12101838187C000317FE6C +B9FC7E902780000380C8FC90C7FCA51306EB07C002E05C02804A7E8402004A7E93B57E84 +D90F800180C8FCA2EB0EC0130CEB1C60EB1870EB3830EB3038EB701CEB600EEBE00701C0 +138339018003C30003EB01F390C712FF0006023F1510486EB612F0001C020715C0480201 +158048EC003F00C0DB003F13003C3E7DB742>189 D<1604486CEC07806D81D800F05D01 +7892C8FC6D1618013E163CD91E01157ED90E00B612FEA2DB0007C8FC130490C8FCA319C0 +0210ED01E0020FB712F06E16F80130C9EA07E0D880781780D87FFC03C013006DEDF00ED8 +003C0106EB7C0C0138D90380131C923901E07818923900F07010047890C7FCA21638ED40 +10ED6000153881150FA2ED078002061300DA0E0301F013C00218C738E001E04AED03F002 +7FB712F814EF902839C00001C0C7FCD93B801303013FC75B013E1407017E15E049EC0F78 +49EC1E1F017891381C0FC0013091383803E090C8387001F84B486C7E4B48133E030FC77E +033CEC0F8003F01407EC03C0021EC81203027015013D3D7DB642>214 +D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Fp gbsn10 8 12 +/Fp 12 247 df<1418141EEC1F80021ECAFC021C1507030815800307B612C01980000491 +C8EA0700EA078013C013801300AE15066FB6FC8192C81207A314181438A614301470A300 +065BC7FCA2495A13035C903807004049013FB6FC131E4990C812075B5BD803E01780D807 +801700003ECA120400F894C7FC12C03A3C7CB542>24 D<170E0060161F003FB812806C17 +C0CAEA7FE0933801FC00EE03E0EE0F80041EC7FC1678ED01E0ED038003CEC8FC15F8A25D +00404A1302D8783091380303C0D87C3891380783E0D8781CEDC3C0D8700F91380F038002 +80131E0107143CD903C0137016E0EDE1C00101EBE70015EEEC80F890380003FCEC0EEF91 +381CE780913878E3E0903901F0E0F8D907C0137CD90F80133ED93F00131F01FCEC0F83EA +73F8D871F0EC07C3D87060140390C71301A2EE0083D901F11403EB00FFEC1FC014075D92 +C7FC140291C8FCA2B9FCA200F0C912030060160700201700CA1206333B78B442>60 +D<010415300106157C0107B612FEA291C81238AB91B612F8A291C81238A217300106ED00 +0C90CA120E181F6CEF3F80007FB912C0A2C70038CAFCA25CA35C17040101150E4948141F +49B77E7FD90180C7000FC7FC90C9120EA2171EA2171CA3173CA317381778A2177017F0A2 +92380FC7E06FB45AED007FEE1F8070C8FC160C3A3C7CB542>82 D<15101578EC01FCEC0F +FEEC7FFF903803FF80D93FF0CAFC3807FF70D83FC00210EB0380C7020CEB07C0040FB512 +E019C093390E000380A41506150F168EB712CE7E3A4001F0000E120014B0130314F0EB07 +78147EEB0E77EC73C090381C71F0EC70F80138137C153E0170131F0160130F01E0130ED8 +01C01306018013001203130012065AA25A48030FB5FC5A004092380E0003C7FCA419C019 +80F0070095C7FC160C93C9FCA214603B3C7DB542>90 D<5B14C0497E8002C016C04948ED +01E00290ED03F0021FB712F8496C16F0010EC9EA7000131E131CA25B13301370137C13FF +D9DF011302D801DEEB8007019C90B51280D8031C15C09238C007001206120C1208121812 +301260124012C01200A692B5FCA2EDC007A4160493C7FC5D91C9FCA918F0EE01FFEE003F +EF07E01703011816803D3D7DB642>I<1506ED0780ED0FE0ED1F80ED1EC0153EED3C6015 +784B7E1638913801E0184A487EED800E4A487E4A6D7E021E80021C6D7E4A6D7E4A14784A +8049488049486E7E49C86C7E010EED03F049ED41FC49EDE07F499238F03FF001E1913901 +F81FF8D80180B638FC078048486C9138FE0300000E90CBFC12185A12E0CDFCA36E141C6E +143E91B7FC5F02E0C7121CAD91B612FCA202E0C7121CA2171E171C4A14183D3D7DB642> +I<1306D907804A7EDAC020497E90260F803FB57E4A6C80010E90C7EA03C060131E131CA2 +4915071881D93038ED8380D9703EED03C0DA3C40EC07E0902660387FB612F001F86D15F8 +01FC0120C9FCD801F8EB01C001F014F082D8037002E013104C133800060203147C4C137E +000C92B6FC00185CDC01C0C7FC0030140E0020140C0060141C00C0EC1803008014301200 +03605C0340EC0380030015C00380EC07E092B712F06F15F892260003A0C7FCEE07B0A217 +901718160F171CEE1E0C170E0220497E91C71278717E04F07F923901E001F09239078000 +F84BC712FE033CEC7F8003F8EC3FF0DA03E0EC0FF8020FC8EA07E0D9E0F8ED0180D9C1C0 +15003D3E7DB642>127 D<1870EF07F8EF7FFCEE0FFF014049B57E016090B500C0C7FC01 +3FB500E0C8FC0380C9FC0138CBFCA7180218071980F00FC0013FB812E019F00138CBFCA8 +137813700210EC01C002184A7E021FB67E60021CC7EA01C0A313F0A213E0A4EA01C0A3EA +0380A213005A1206000E011FB6FC5A0018011CC712015A5A12E01280C7121891C890C7FC +3C3D7DB542>I164 D<6CEE01C00060EE03E0007FB812F018E00070C9EA01C0A8010214300103147C +91B512FEA29138800038B091B512F8A29138800038A4162091C8FC90C9FCA6007FB8FCA2 +0070C91201A618E018C000601780343978B242>195 D<1508151EED3F80A24BC9FCEDF9 +8015F1913801E0C0913803C060167091380780304A487E021E7F4A130E4A7F02706D7E4A +EB01E049486D7E4948147849C8123E010EEC060F013C91380707C0017091380F83F0496C +90381FC1FE2601C07FB538E07FC048C66CED3FF8000E90C9EA0FC00018EF07800070EF01 +0000C094C7FCCDFC184018E08400044C7E0007B87E6C83C80030C9FC153C157E15FF15F8 +4A5A5D4A5AED800602077F91390F0001C0021E6D7E021C14704A147C4A804A141E4948EB +07FF902603803FB57E903A0F3FFFFC0790273FFFFE007F6D01C0130302F8C75B6DC8FC01 +0815013D3D7DB642>204 D<132001786E1310017E6E1338017C91B512FC0178829338E0 +003813701406EBF00F6C485A007FB51280A2D801C0C7FCA293B512F8A248489138E00038 +A24CEB3060018791C812F0270707C080EC01F8037FB612FC020016F8000E913A00E00038 +00A3001E1306001C130F003CEB1F80007FB512C07ED81807C7B512F812009338E00038A6 +EC03C0DA1F00B512F814F8D91FE09038E0003848B4C7FC007F184001E717E0D83F07EE39 +F0001C18F80010EF3FFC0000EE1FFF93B612000207B5EAFC38EEF000DA03C0C7FC91C9FC +A601065E3E3D7EB642>246 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Fq gbsn21 8 6 +/Fq 6 43 df<1870000417F80003B87E84CAEA03FFEF07E04DC7FC173E17785FEE01C04C +C8FC160E16185EED07E05E5E93C9FCA21802180719806CEF0FC0007FB912E019F0C80007 +C9FCB3A7EC0C0FEC1FFFEC01FEEC007E153C153815303C3A7DB342>6 +D<1308130EEB0F808049C8FC131E131CA25BD880301470D8E07014F8B712FC16F800E0C8 +1270ACB712F0A200E0C81270ADB712F0A200E0C81270AEB712F0A200E0C81270A4481540 +263F6FB742>I<1330133E137E017C0110143001780118147849011FB512FC8449011CC7 +123C48481638A25B1203EB007048137C000613FE000E13F8380C01F0001C13E038381FC0 +EA31FF387FE38027FF07001FB512F812FCD8700E011CC71238EA000C131C5B1330137013 +605B485AA23803007C380607E0380C3F00EA1DFCEA3FE0D87F80011FB512F8003EC7FC00 +18021CC71238C8FCA31403141E14F8EB07E0EB3F803803FE00EA3FF0EA7FC06CC7FC001C +1860000818F0C70080ED39F8027FB712FCA23E3A7DB542>28 D<01041502010615070107 +B77E8491C80007C7FCA591B7FCA291C81207A591B7FCA291C81207A20106150690CB12C0 +F001E06CEF03F0007FB912F87E2700380038C9FCA4180EDB3980130F90263FFFF8B61280 +82903C38003804001E0004065BA26082187090263FFFF8EB80F004015B902638003813C1 +04005BEFE38017F7DC3077C7FC92387FE03F91391FFF003E90263BFFF8131E013F013813 +3F263FFFF04A7EB50000ECF7E0D87FE0913801C3F0007CC790380381FC003092390700FF +80C8011CEB3FE04CEB1FF804E0EB07E0DB79C0EB03800371C8FC3D3D7DB642>33 +D<1708010E0160130E90260F807CEB0F8002C04AC7FCDA0078131E010E1370171C131E13 +1C173C013C1538133817300130DA607013C0017002F0EB01E00171903A71F86003F00160 +B539FC7FFFF8D9F87F91B512FC903CFC007000C00E005B48481401A20003923803401E13 +70160200061506EE0460000C150C160800180318131C00109038207180003090393073E0 +20002090393FFFF0300040173C00C090383801C0008017381200171818781870171C18F0 +EF0CE0170F715AA260A24D7EDA3FFF497EEF3CF0DA3801497EEFF07C933881E03E923900 +07803F93390F001FC0043EEB0FE00478EB07F891260001E0EB03E0DB0780EB01C0033EC8 +128001F00178150001C090CAFC3E3F7DB742>41 D<8002E01330496C13386E133E02E05B +4A137801035C5C5E902607000115204C1470010E494814F819FC4BB6FC4917FEDB0E0EC8 +FC49130C013E131C013F1318017E1338017C133001DC136015E0D8019C13C0DA01801404 +27031C0300140E0006170F0206ED1F80000C49010FB512C000085B001849010EC8FC0030 +1320002090C7FC124012C01200A5194019E0F001F01803040FB512F8A2040EC8FCAF4914 +0C013014083F3F7EB742>I E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Fr gbsn07 8 6 +/Fr 6 200 df<150EED0F80120CD80F80010EC8FCA290C7FC120EA35FEF0380EF07C018 +E0EF0FF0EF1F00173E173C5F02105C023C495A023E495A027F49C7FC000FB5130EED8E1C +000EC7EA0E3816E0ED0FC05E030EC8FCAD1808A31818EC018EEC070E141C02F0153CEB03 +C0EB0F00017C167ED81FF016FED87FC0010FB5FC48486D14FC003EC76C14F0001891C9FC +373979B442>7 D<15C015601538153C81A26F140C180E030E141F6CEF3F80007FB912C0 +A2C7260E001CC8FCA31308131C011E1518013F150E013C6F7E0178ED01C08401F0ED00F8 +D801E0167C01C082D8038082EA0700F00F80000E17075A0030010C011813034890C9FC48 +041813000001043CC7FC90B712FE7ED90040C7127C026014F0022013010230495A6E5C4C +5A6E49C8FC6E131E0207133E6E6C5A6E6C5A913800E1F0ED73E0ED3FC06FC9FC157FEDFF +C0913803F3F091380FC0FE91397F803FC0903A01FC000FFED90FF00103B512C0D9FF80EB +007FD80FF8C83807FE00D8FF80ED007C00F0CA12043A3E7CB642>35 +D<1506ED0780825E93C9FC1810183C183E0004177F0007B9FC6C1880C80007C9FCA35F4D +7E8401604B7E013FB77E6D8290C70007C9FCA418031980F007C00060EF0FE0003FB912F0 +7EC8003BC9FC157B1571DBE18013C002014A7E913903C0C003DA0780497EDA0F00497E02 +1ED9601FC7FC4A143E027CEB307802FCEB38F00101EC1BC0D903DC011FC8FCD90F1C130E +011E8001388101F06E7ED801C06E7ED80780EC00F8D81E00157C0038ED083E00F0923838 +1F800040913901E00FC0C79039078007F092393E0001FCDA1DF8903800FF80DA3FE0EC3F +F0902601FF80EC1FF86D48C8EA07800278ED0100022092C7FC3D3E7DB642>44 +D<60F00380F007C00040EF0FE0007FB912F07EC8D801E0C8FC5E15035E150793C9FC5D15 +0E151E5DA2157CED7F8015EF020190C9FC15CE9138038E030207EB01C091390F0E00E002 +0E1438021C141E0238800270EC07C002F06E7ED901E06E7E02C0EC007CD9038081D90700 +81010E178049EE0FC00170160749EE03E048481601484817F048C71500000E1870001818 +60007018204818005AC8FCAD150C15083C3D7DB542>88 D<1338013E01105B0318497E01 +38011FB57E8492391C000380A71460DAF01FB5FCEB39F8B539FC1C00037E274038001891 +C7FC000091CAFC0204903840200102069039E0300380913B07FFF03FFFC004F814E0923A +00E0380380A2143714E7EB39C7EB3F07133E137C01F801FFEB3FFF1203000F913900E838 +03D83F3814CF00FE92390FB00200007C010691C8FC003890C7000E14C00010EF01E00000 +6DED03F091B812F86E16F091C7D8EE60C7FC03017FED03CEEE8E189238070E0C030F130E +031E7F033CEB03C003786D7E03F0EB00F8DA01C0147EDA0780EC3FC0DA0F00EC1FF8267F +F81CED07E0263FF078ED03C0000301E0ED00802601E180160001E0C7FC018014083D3D7D +B642>118 D199 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Fs gbsn09 8 7 +/Fs 7 206 df<1980F001C0F003E000C0EF07F0007FB912F87EC8D80780C8FC93C9FC5D +150E150C151C151815381530481706D800C049140F90B9128019C0903CE0038007000F00 +180EB3B09338041FFE92C7120391C95A49167C4916383D3B7EB442>13 +D<02301318023C131F143E023C131E0238131CB25CA714F05CA4495AA313035CA249C7FC +19805B130E491601A25B133013704917C048481603484817E048C8001EEB0FC0000E6FB5 +12804818000030030313F84892C9FC12803B3A7BB442>I<180F0003EF7F806C6CED03FF +6D0140013F13C06C6C903A6007FFE0200170902639FFF8C7FC0178D93FFCC8FC6D0138C9 +FC133E131EA2130C130890C7FC1808181C181E033FB6FC19800338C7EA3E00183CA21838 +18781318D8C03C1670D87FFE16F06C6C02605BD8001C809238701C01040E5BEE03839338 +01C380EE00F7057FC7FC83834B804D7EEF7BE0EFF1F0913A01C001E0F8933803C07C4A48 +48487E93380E001F913807003C020649EB0F8091260C01E0130791381807C0DA381FC712 +0390383E607C90267300F0EC01002601E1C0CAFC3803C0E0380F807C273F003FC0153C00 +3E010FB712F8001C010316E00018010016C00008141F3E3C7EB542>40 +D<156081151C151E816F7E82150318020301EC078019C000C04BEB0FE0007FB9FC6C18F0 +C80078C9FCA31570A603F013024B13034D7E92B67E849239E00003C04A485CA2170795C7 +FC5D1403A34AC7FCA3020E5C170E140C141CA25C143014705C4A141E0101151C495A49C8 +FC130E49153C5B495D4848903801FFF8D803809038003FF0000FC8EA07E0003C6F5A4893 +C8FC002092C9FC3C3F7DB742>48 D<010EEC01C0D90F80EB03F06E8049C713E0011E9026 +0807C01380011C011C90388001C0013C903A3E0F0003E00138013F1407017FB548B512F0 +169F9028F018003C0CC7FC496CEB380E2601C00E497E496C496C7E0003DA80C07F270700 +03816D7E000EECC380000CDA87005B48D9330C130048D978180108C7FC48D97C10130F48 +01FCC77F4801F092C7FC484848140E495A4AED01800107EE03C0D90F08ED07E002CFB712 +F0EB1FC7D93F80C7000EC7FC0177C8FC13E7EA01C7EA038701071318000680001C800038 +14070060EC038000C015C00000EC01E0A31500A216C0A21600A6EE1E1EEE1FFEEE01FC16 +0017781770010E1560010C92C8FC3C3E7DB642>110 D<1508151C151F4B7E93C9FC157D +EDF98015F04A487E913803C060A24A487E4A487E021E131C021C7F4A7F4A7F4A14C04948 +6D7E49486D7E90260700081378010E010E133E4990380F801F01309138000FC001E0010E +EB03F04848ED01FC4848923800FFC0000EC7ED7FF048EF1F000070170E00C094C7FC5AC8 +FCB3A9150C15083C3D7CB642>199 D<18021807F00F806CEF1FC0007FB912E0A2C80007 +C9FCA5011016E001184B7E011FB77E6090261C0007C75AA8011FB7FCA29026180007C7FC +A8011FB7FCA2903A1C0003800015071318D9102090C7FCD90030EC0180021891C8FC6E5A +EC060E1407EC039EEC01FC6E5A157815FCEC03EF913807878091381F03F091383C00FC02 +F0EB3FC0D907C0D90FFE1318011EC70003B512F001F8DA007F13C0D807C0150F003ECA13 +80007017073D3C7DB542>205 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Ft gbsn12 8 8 +/Ft 8 235 df<15C015F0815D5DA21704170E171F4D7E92B67EA203E0C9FCA71808181E +181F6CEF3F80BAFC6C18C0C80080C9FC15F0815D5DA615F815FFEDE7E0EDE1F8EDE07FEE +1FC0EE07E0EE03F8EE00FC177E173E8383838394C8FCAA15803A3D7CB642>11 +D<1860187018F800044C7E0007B87E7EC72738000380C7FCB01802F0078019C06CEF0FE0 +007FB9FC19F0C72738000380C7FCA21478A21470A314F0A25CA213015CA213035C130791 +C7FC5B131E131C133C5B5B5B485AEA078048C8FC121E127800E093C8FC3C3B7DB442>13 +D<18021807F00F806CEF1FC0007FB912E0A2CA0007C7FCA9150E0130131F013FB5128016 +00903838000EB290383FFFFEA2903838000EA2150F150E150C92C7FC1330132090C9FCA6 +EE0E1FEE1FFF1601EE003EA217383B3B7DB442>44 D<1506ED07C0A25E93C9FCA2186018 +7018F8484C7E90B87E7E9026800007C9FC90C7FCA3170E0102ED0F80D9038081D901C092 +C7FCD900E0141E14F00278141C173C027C143802385C18030560138002309138C007C000 +C00100ED0FE0007FB912F07EC8D87F40C8FCEDF760913801E730A2913803C71891380787 +1C91380F070C021E7F82023C8002786D7E02F06D7ED901E01470D903C080D90700141E01 +1E81496F7E49ED03E001E0ED01F8D803C0ED00FE4848EE7F80000EC7ED1FFC003CEF0FE0 +0070EF038000401701C892C7FCA3150615043E3E7DB642>117 D<1306D9078015026EED +03C04A16E049C913C0DC01801380010EEC03C00240EB07E0D91E7FB5FCEB1C3FDA003CC7 +FC491338170C0130150F01704914830160ED0E0313E0EDE008D801FC141C161E4948B5FC +D80370158E9238801E0E00060103133C1500000C5B0018153814060030010E1378002013 +0F006090381D807000C0EB19C00000903831E0F01430913860F0E015F1ECC079028013C0 +0171137BEC00730170EB63801547ED07005D150E151E031C13005D157815705D4A5A1403 +4A5A4AC8FC021EEC07FF14384A9138007F00D971E081D97380151E0160C9121C01401608 +3B3E7EB642>190 D<18021807F00F806CEF1FC0007FB912E0A2C7261C001CC8FCA90004 +17180003173C90B812FE84903B801C001C003C1838A5143CA2023E133E023B133B038013 +80913979C039C0913970E038E09238F070F01770DAE0781378173C0181EB3CE0DAC03813 +1E0183133991388001C00187150E91390003800C018E1500019E49C7FC01BC130E13F849 +5B495B01805B5D4A5A5D91C9FCA4EF7FF8EF07F0170190CA5A00025F3B3D7DB542>220 +D<01081506010CED0F80010FB77EA2010EC80007C7FCA5010FB7FCA2010EC81207A4010F +B7FCA2010EC81207A2EF0603010892380007800040CAEA0FC0007FB912E07ECDFCA30108 +1506010CED0F80010FB77EA290280E00070007C7FCA6010FB7FCA2903A0E00070007A501 +0FB7FCA2903A0E00070007A217060108ED001890C7153C0002177E6CB9FCA2C80007C9FC +F00180F003C06CEF07E0007FB912F0A23C3C7DB642>222 D<17076CEE0F80B912C06C17 +E0CAEA3FF0EF7F0017F8EE03E0EE07804CC7FC161C16705EED01800347C8FC157CA21578 +1570B3B1EB0180ECFFF09038001FE014076E5AA292C9FC343C79B542>234 +D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Fu gbsn17 8 10 +/Fu 10 227 df<01041518D90780141F804A141E91C8FC4A6CEB1C064A6C140F00209026 +07E080EB1F80001FB5D8F07FB512C0A2D80007C8001CC7FCA403C0EC01804A6CEC03C000 +80D903E2EC07E0B66CB6FC7ED8000EC8003AC7FC173B010F82D91FE01471D91CF881023E +ECE0E09027381F80017F903B780FC003C078D9700749487ED9E00390380F001F2601C001 +013C148048486C4848EB0FF0000FC7D801E0EB07FCD81C08903A07800E03E0D8780690C7 +381F01C0D8E007B7EA8080008094C7FC000090C8120EA891B612FEA291C8120EA991B612 +FEA291C8120E170F170E01065D010492C8FC3E3E7DB642>15 D<6C17C00060EE01E0007F +B812F018F80070C9EA01E018C0A51603EE07816D140F017FB612C17F90C91201A7010214 +60010314F891B512FCA29138800070AD91B512F0A29138800070A416400102C8FC90C9FC +A8EE03FFEE007FEF1F800060EE0F0000401606353C78B442>51 D<8216E016F85E01035C +EB01C06D7E147880143E80EC0F80A21407A248130301801300D800E0C7FC1370133C7F13 +1F6D7E1307801303A213014A5B150190C71502F0078019C06CEF0FE0007FB9FC6C18F0C8 +D80380C8FCA24BC9FCA25D82ED1EE0ED1C78ED3C1E92387807809238F003E0913901E001 +F8913903C0007C4A48133F4AC76C7E021E6E7E0238EC03E002F06E7ED903C06E7E010FC9 +7E013C167C01F0163CD803C0161C001ECAFC003017083C3D7DB642>62 +D<6C17E00060EE01F0007FB812F818F00070CA12E0A41504ED0780825E93C7FCA3176017 +F06D1401017FB612F8A290C7003FC7FC153BA25D15F715E7140115C71403EC0787150714 +0E141C143C147814F014E0EB01C0EB0780EB0E005B5B5B5B13809038000F0F6EB4FCEC00 +FE157E153C1538153092C8FCA2007FB8FCA20070CAFCA218F018E0006017800040170035 +3E79B642>76 D<01035C02C014E002F0804A5CD907805CA391C7FC5B130EA2011E130401 +1C130E151F013FB51281A2903938001E0149133CA2491338A249137800018249017013FC +D803E001F013DF0178EDC7C0D8073E01E0EBC1F026060F81ECC0FC270C07C1C0147ED903 +E1151F001801E3ED0F8001010180EC07C0263000E7ED03E00020020014010060134F4801 +0E1500C7001E1660021C16005C147814705C1301495A5C49C7FC130E5B5B5B5B485A485A +000EC8FC5A5A12F012C0C9FCA25F3B3D7DB642>105 D<1530153C151F13706D131E6D13 +1C130FEB078014C0130314E0130114C0A3EB00801400181018186C173C007FB812FE18FF +C80038C7121CA3183CA2037814381570A3EDF0C01660EDE0380201133C824B7E02031480 +ED8007020714C01603DA0F00143004011370021E1480021C1400023C90C7FC5C14705C49 +5A495A49C912F0010E16E05B017015014916C0D80380EC0FFF48C800031380001C923800 +3F000070161E00C0160C383D7BB642>143 D<15C0157081153C81151F81A218066F1407 +0306EC0F806CEF1FC0BA12E07EC727400001C0C7FCA21460A21603142002305CA36E1307 +94C8FCA2805E160E80161E0207131C806F5A14016F5AA26E6C5A15F0ED71C0153BED3F80 +6FC9FC150E151F4B7EED7BE0EDF1F0913803E0F8913807807C91380F003F023EEB0F8002 +F8EB07E04948EB03F8D907C0EB00FE011FC8EA3FC0017CED1FF8D803F0923807FF80D80F +80030113F0007ECAEA7F0000F0171E008094C7FC3C3E7CB642>169 +D<1678167EEDE07C913803F078021F14189139FFF8700E010701846D7E903B7FE0003003 +C0D807FE82D83F806F7EC71500601860A295C7FC043813031980F007C00040EF0FE0007F +B912F07EC726E00038C8FCA418601870041813F88492390F1C01E0033C5CDAE1F01303DA +EF805CDAFE0049C7FCD903F86D5AD91FE0140ED801FF5DD81FF8153CD8FFE06E5AD83F00 +1570003C16F000186F5AC75D1607160F4C6C1330043C1420EEF070923801E078923807C0 +384BC66C1360033C131E03F87FDAE1E0903807C0E0902601E780EB03F02603FFE0C812FF +D8007FEE7FF0D90FC0151F0107160791CAFC3C3C7EB542>183 D<1820187018F86D4B7E +90B87E7F90C7001CC9FCAA153C600338EC0380F007C00040EF0FE0003FB912F06C18F8C8 +D83838C8FC1570A515E0A3140115C0A214031580A2EC0700A2140EA25C023C163014385C +5C49481620495A49C71560131E013817704917F0D801C017F8D80780023FB5FC001EC815 +F000786F14C000E092C9FC3D3A7EB342>195 D226 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Fv gbsn13 8 8 +/Fv 8 177 df<170E0118151F011FB712801800011CC8120EAE011FB612FEA2011CC812 +0E1560037C130F037F130E01180178130C90C791C7FC1570A31870004002F014F8003FB8 +12FC7EC800E0C7127818701401A24B14F0A2140318E04A5AA292C8FC5C020E1401141E5C +5C18C05C495AD907C01403495A013EC8FC49ED0780D801F0EC1FFFD807C002011300003E +C9127E00F8163C00C01630363D7BB542>12 D<160C160F4C7E94C8FC0004010C131E0006 +011F131C0007B5D8803C1320043813709026000E0014F893387FFFFCA293386000F004E0 +5B9338D001C0ED01D8EE9803DB030C5B1707DB060690C7FCEE070F92380C030E9026FFFE +18139EEE01DC903A038E3000F8EC8C60EC8040000091C77EEE01DE933803DF8000069238 +0787E0D8078391381E03FC028390393C01FF80903C03878078007FF8028F49EB3FF09126 +FFC3E0EB0FC0DBC780EB63809126801EC013F80378B5EAFC00EC81F0913A87C0E00070EC +8F0014841480A51578EC83E0EC9F80ECFC00EB07F0EB3FC001FFC7B512F0EA1FF8D8FFE0 +9138E000706CC8FC123C1210C9FC048013403D3D7DB642>52 D<161C161F01C081017002 +3EC8FC013C143F6D143D6DEC39806E13796D6CEB70C0010314F0EEE06001011570923801 +C030D9008014384A48487E170C923807000E03067F030E6D7E4B6D7E031814F00130496D +7ED880780170147ED87FFC49806D49EC1FE027003C0187EC0FF89027380307C0EB07C002 +0649EB0380020C4948C7FC02184A7E02104A7E0200814D7E4DC7FC173E5F17F0EE03E0EE +0780041FC8FC163C16F09138018780DA0307C9FC140E021CED018014380270160014E0D9 +3BC05DEB3F801400133E017E5E49178049EE0FC0017091B612800130170090C76C14FC3D +3B7DB642>88 D<020215030203ED07C0000391B712E0EA0180D800E0903A80700E038013 +F01378133CA2131EA3130C13081300A292B7FCA2923980180003163C043F140091260200 +7F90C7FC91C7127C01184A130CD8C03C4948131ED87FFE4A133F6C6C49B61280D8001E5B +011C91C7EA1E00030E5C4B1438033F1478DB73C01370DBE1E013F0913A01C0F801E0913A +03807803C0913806007C020890383C078091C749C7FCEE183E5FEE00F8EE03E0EE0FC004 +3FC8FC16FCED07F0ED7F80DA07F8C9FCD9360FCAFC0163CBFC3801C1C03803C0E0380F80 +7C273F003FC0153C003E010FB712F8001C010316E00018010016C00008141F3E3B7EB442 +>92 D<150EED0F8093C71220030E147018F800084C7E0007B87EA2C8000EC9FCA35F4D7E +4D7E486C4B7E6CB87E7F90C7000EC9FCA418021807F00F806CEF1FC0007FB912E0A2C7D8 +0780C9FC814A7E15804ACAFC021E140C4A141E027FB6FC91B77E02ECC7003EC7FCD901E4 +5CD903C65CD907835CD90F011301903A1E008003E001386D485A499038600F80496D48C8 +FC4848EB183E48C7EA0CFC0006EC07F800086E5AC8485AED1FF8ED7F3F913901FC1FE091 +3907F007FE91261FC001B512F002FFC77ED907F8020F1380D9FFC002011300D81FFCC912 +3FD83F8016023C3C7CB542>112 D<5C15C04A7E814A5A5D4A5A92C9FC141EA25C5CA25C +5C1301495A5C4948487E010E80011E497E011C14F849497E4914C049495A484891C8FC49 +5B48C7121E00065C485C5A485C48495A485C481303C75B4AC9FC020E13184A7F160E4A7F +4A7F4A6D7E4A8049486D7E49C812700106157849815B498149151F4848017FB5FC000790 +B538FE0F80001FB538FC00076C01FCC713C091C8120313E00006C9FCCA1380EF0100323C +78B642>143 D<13061307DAC0C0140390270F80E008EB0780912600700FB512C0DB3C07 +14E0010E6DC7EA0780011E011F1500011C7F133C01387F15064990C8FCA2EB600701E013 +C0A2D801F85B01FC90C8FCEA03F8137012071206120CA2121812101230126012401280A2 +1200B3A6EF0FFF83EF007E183ED96006151C90CA12103B3E7DB642>162 +D<1710171C0006161F6C161E26018030141C9027C0180180EB03802800E00C00C014C0D9 +F00E016014F0D97807017014E0DB8038EB078090387C03C00138023C1400041E130EEB30 +01010001805CDB000E131891C714380408133004005BF00060016017F0D880F00108EC01 +F8B46C0107B6FC6C6C7FD8007890C7006CC7FC017015EC4A7E90387203C0903A73FFE001 +DC017101F013DEDA01E0EBDF8001709039C0039DC0EF9CF09338071C78183E040E7F041E +EB0F80041CEB07C00438EB03E01670F001F004E01300913831C1C0912661C380147002C1 +0100146090267381C6150090387701CC017E13C815C0137C13F8EA01F00000496C131890 +266007301310DA1E1890C8FC9038007C0F902701F807FE141C4A6CB612F86D48C615E04A +011F14C0024090C7121F3E3D7EB642>176 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Fw gbsn19 8 10 +/Fw 10 244 df7 +D<60F00380F007C06CEF0FE0007FB912F0A23C067D9E42>24 D<17C0002016F0003C8200 +3E5E003C6D5C00387F14708080141E808114078114038114015DA25D91C8FCA65F1601A5 +03205BEDE003EC038091261E0007C7FC143802F05BEB03C0D90F80497E013EC7EA1CC049 +EC3870D839F0EC7878D83FE04A7E4949487E484849487E007EC7390F00078048021E14C0 +00780278EB03E00070494813010020D907C014F0C7001FC8FC147CD901E01570010FC9FC +017C1660D803C01600343976B342>49 D<140214036E7E6E7E81037013386F133C010801 +3C133F010C7F0104011F133C01066D1338EE80780102130713031770902601800313F016 +00902600C0025B92C7FC6E1301146002705C0230130302385C02181307141C020C91C8FC +020E5B14060207131EEC0380161C913801C03C02001338EDE078ED70F01538ED3DE0ED1D +C0150F6F5A150F4B7EED3DF0ED78F8EDF07C4A487E913903C00F8091390F0007C0021EEB +03F04AEB00FC02F0147FD903C0EC1FC049C8EA0FF8011EED03FF0178030013F0D801C0EE +3FF80007CAEA0FE0003CEF03C000F0EF00803D3C7DB542>66 D<1610161CEE1F8094C8FC +161CA3EA800EEAC01FB57E91C7FC26E00E024A7EDA0380497E92B67E849239801C01E060 +AB1638EAFFFEA2D8E00E16C218C7F0CF80F0DFC0010FB8FC19E0010EC70074C8FC16E6A3 +16E3ED01C3EEC18092380381C0168003077FEE0070D8FFFE130E031E7FD8E00E011C133C +010F497F010E01787F010C496D7E90260001E06D7EDA07C014F04AC76C7E48013EEC00FE +C748ED7F80D901F0ED3FE0D90FC0ED1C00017FC91208D801F893C7FC13803B3F7AB742> +110 D<01C016060160160F017FB8128019C0903C70000380000F00180EAD017FB712FEA2 +903B78000380000E1370AB13F0A390B812FEA2903BE0000380000EA512015BA4485AA348 +C7FCA2120E120C001CEE1F9E001817FE48EE01FC0070EE007C480202C712384891C81220 +3A3C7EB442>126 D<5C15C0EC03F0A215C014074B5C92C8EA03C04A16E06C010EED07F0 +007FB9FC19F8C7001CCAFC5CA25CA25C5C1301494815C06E4A7E49B77E010E82D90CE0C7 +EA01E0011C5E13381370136013C0EA018012034848B7FC120E4801E0C712015A12601240 +C7FCA691B7FCA202E0C71201ACEE03FFEE007FEF1F804A0207C7FC4A14063D3F7EB742> +139 D<60F003C0486C17E06C6CEE07F090B9FC19F801E0C70038C8FC163C163F163E1678 +1670A25E02044913189126060180133E0207B7FCA292C8121CA892B612FCA292C8121CA6 +EA01C092B612FCA292390007001CA30204151091C791C7FC153003781306484801FC7F03 +FEEB01C0DA01F0EB00F0DA03E0147890260007C0143E48D90F808000060200EC0F80021E +ED07C0000E49ED03E0000C01F0ED01F0261C01E01500281803C00F9F14F82630070001FF +1478D8701E1301D86038D9003E1438D8C0E01730D88080023814003D3D7EB642>198 +D<01081518010C153E010FB7FCA2010EC8121CA9010FB612FCA2010EC8121CA2010C1518 +90CBFCEF03800160ED07C0017FB712E018C00170C8EA0380A5150CED0F8016C01600A315 +0EAA151E18C0031C1480DB3C8013000160D938FCC7FC01409038781FC090C738F003FC4A +48C6B4FCDA0780EB1FC0021FC7EA0FF0027CEC03F8D903F0EC00FCD91F80157E01FCC912 +1ED80FC0160E00FCCA120600C01702373D7CB542>202 D<150EED0F8016E016804BC9FC +151E151C033C15800338EC01C0F003E000600278EC07F0003FB912F87EC800E0C9FCA24A +5AA291380380060207EB078003007F4A5C020E91C8FC5C143C14385CEB04F0EB06E0EB07 +C04A1504180E49C7140FD91F0CED1F80D93F07B712C0496C16E001F7C70007C8FCEA01E7 +EA0387EA0707120E121C127812E012401200A81980F001C019E00230ED03F0021FB712F8 +6E16FC91CBFCA313063E3E7EB642>243 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Fx cmmi7 7 2 +/Fx 2 111 df<130E131F5BA2133E131C90C7FCA7EA03E0487EEA0C78EA187C1230A212 +605B12C0A2EA01F0A3485AA2485AA2EBC180EA0F81A2381F0300A213066C5A131CEA07F0 +6C5A11287DA617>105 D<3907801FC0390FE07FF03918F0E0F83930F1807CEBFB00D860 +FE133C5B5B00C1147C5B1201A248485BA34A5AEA07C01660EC03E0A23A0F8007C0C0A2ED +C180913803C300D81F0013C7EC01FE000EEB00F8231B7D9929>110 +D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Fy cmmi10 10 5 +/Fy 5 128 df<147E903803FF8090390FC1C38090391F00EFC0017E137F49133F485A48 +48EB1F8012075B000F143F48481400A2485A5D007F147E90C7FCA215FE485C5AA214015D +48150CA21403EDF01C16181407007C1538007E010F1330003E131F027B13706C01E113E0 +3A0F83C0F9C03A03FF007F80D800FCEB1F0026267DA42C>97 D101 +D<90390F8003F090391FE00FFC903939F03C1F903A70F8700F80903AE0FDE007C09038C0 +FF80030013E00001491303018015F05CEA038113015CA2D800031407A25CA20107140FA2 +4A14E0A2010F141F17C05CEE3F80131FEE7F004A137E16FE013F5C6E485A4B5A6E485A90 +397F700F80DA383FC7FC90387E1FFCEC07E001FEC9FCA25BA21201A25BA21203A25B1207 +B512C0A32C3583A42A>112 D<01F8EB03C0D803FEEB07E0D8070F130F000E018013F012 +1C12180038140700301403D8701F130112601500D8E03F14E000C090C7FC5BEA007E16C0 +13FE5B1501000115805B150316001203495B1506150E150C151C151815385D00015C6D48 +5A6C6C485AD97E0FC7FCEB1FFEEB07F024267EA428>118 D +127 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Fz gbsns12 10 1 +/Fz 1 223 df<1A03030C4C7E030E83030FB87E871BC093C9EA0780031E4CC7FCA4031F +B8FCA24B5E033CC9121EA5037FB712FE62A20378C9123CA203F8170203E0EE700F038093 +38001F80012090CBEA3FC0013FBBFC7FA20110CEFC90CFFCA21A6002021770020717F892 +B812FEA21AF8922680003CC75AA34AC748495AA392B8FCA3021EC739F00003C0A6023FB8 +FC62A2913B3C0001E00007A25C02704948EB0E300240EE007891C716FC01604D7E013FB9 +FCA30110C7D80780CAFC90C81603507E507E00C0191F007FBB7EA27E0020CFFC524D7EC4 +53>222 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FA cmti8 8 14 +/FA 14 118 df<16E01501821503A21507150FA2151FA2153B157B157315E382EC01C114 +031581EC0701A2140EA2141C143C143802707F15005C13015C49B5FCA249C7FCA2130E13 +1E131C4980167E5B13F0485AA21203D80FF014FFD8FFFC011F13F0A22C2F7CAE35>65 +D67 D77 D97 D99 D101 D +I<131FEA03FFA2EA003FA2133EA2137EA2137CA213FCA25BA21201147E9038F3FF809038 +F787C03903FE03E013FC13F8A2EA07F013E0A213C0000F130715C01380A2001F130F1580 +1300141F481406150E003E133F143E007E141EEC7E1C007C137CEC3C3812FC157048EB1F +E00070EB07801F2F7BAD24>104 D<130E131FEB3F80A2EB1F00130E90C7FCA9EA03E0EA +0FF0EA1E78EA1C7C12381278127013FCEAF0F812E012E1EAC1F0120112035B12075BA212 +0F13831387121F13075BEA3F0E123EEA1E1C133C1338EA0FF0EA03C0112E7AAC16>I<3B +07801FC007F03B1FE07FF01FFC3B3DF1E0F8783E3B38F3C078F01E3B78FF007DC01FD870 +FEEB7F80A2D8F1FC1400D8E1F8137EA249137C00C302FC5B0003163E495BA20007010114 +7E177C01C05B17FC000F0103ECF83018700180EBE00117F0001F010715F0040313E00100 +01C013E0EFE1C048010F1301EFE380003E91398000FF00001C6DC7123C341F7A9D3A> +109 D<3907801FC0391FE07FF0393DF1E0F83938F3C0783978FF007CEA70FEA2EAF1FCEA +E1F8A25B00C314FC00035C5BA2000713015D13C01403000FECE0C015E1EB800715C1001F +14C3020F13800100138391380787005A158E003EEB03FC001CEB00F0221F7A9D28>II<131C133EA2137EA2137CA213FCA25BA2 +1201A2B512E0A23803F000A25BA21207A25BA2120FA25BA2121FA290C7FCA24813C01301 +123E130314801307003C1300130E131E6C5AEA0FF0EA07C0132B7AA918>116 +DI +E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FB cmr8 8 56 +/FB 56 122 df<003C13F0387E01F838FF03FCA2EB83FEA2EA7F81383D80F600011306A3 +0003130EEB000CA248131C00061318000E13384813704813E0387001C00060138017157E +AD23>34 D<13031307130E131C1338137013F0EA01E013C01203EA0780A2EA0F00A2121E +A35AA45AA512F8A25AAB7EA21278A57EA47EA37EA2EA0780A2EA03C0120113E0EA00F013 +701338131C130E1307130310437AB11B>40 D<12C07E12707E7E7E120FEA0780120313C0 +EA01E0A2EA00F0A21378A3133CA4131EA5131FA2130FAB131FA2131EA5133CA41378A313 +F0A2EA01E0A2EA03C013801207EA0F00120E5A5A5A5A5A10437CB11B>I<123C127EB4FC +A21380A2127F123D1201A312031300A25A1206120E5A5A5A126009157A8714>44 +DI<123C127E12FFA4127E123C08087A8714>I48 D<130C133C137CEA03FC12FFEAFC7C1200B3B113FE387FFFFEA2172C7AAB23 +>I51 D<140EA2141E143EA2147E14FEA2EB01BE1303143E +1306130E130C131813381330136013E013C0EA0180120313001206120E120C5A12381230 +5A12E0B612FCA2C7EA3E00A9147F90381FFFFCA21E2D7EAC23>I<000CEB0180380FC01F +90B512005C5C14F014C0D80C7EC7FC90C8FCA8EB1FC0EB7FF8380DE07C380F801F010013 +80000E130F000CEB07C0C713E0A2140315F0A4127812FCA448EB07E012E0006014C00070 +130F6C14806CEB1F006C133E380780F83801FFE038007F801C2D7DAB23>II<1230123C003FB512F8A215F05A15E039700001C000 +601480140348EB0700140E140CC7121C5C143014705C495AA2495AA249C7FCA25B130E13 +1EA2133EA3133C137CA413FCA913781D2E7CAC23>III<123C127E12FFA4127E123C1200AD123C127E12FFA4127E123C081D7A9C14>I<12 +3C127E12FFA4127E123C1200AD123C127E12FE12FFA3127F123F1203A312071206A2120E +120C121C1218123812701260082A7A9C14>I<4A7E4A7EA34A7EA24A7EA3EC1BF81419A2 +EC30FCA2EC70FEEC607EA24A7EA349486C7EA2010380EC000FA201066D7EA3496D7EA201 +1FB57EA29038180001496D7EA349147EA201E0147F4980A20001ED1F801203000716C0D8 +0FF0EC3FE0D8FFFC0103B5FCA2302F7EAE35>65 D67 D69 +DI< +DA1FF013C09138FFFE01903903F00F8390390F8001E3013FC71277017C143F4848141F48 +48140F48481407A248481403121F491401123F90C8FC481500A300FE1600A992381FFFFE +A2007F9138001FE0EE0FC0A27E7F121F7F120F6C7EA26C7E6C6C141FEA007C013F143FD9 +0F8013F3903903F007C10100B51200DA1FF813002F2F7CAD37>I73 D<90387FFFF0A201001300147EB3AD123812FE +A314FE5C1278387001F86C485A381E07E03807FF80D801FCC7FC1C2E7DAC24>I76 DI79 +DI82 D<90383F80303901FFF0703807 +C07C390F000EF0001E13074813034813011400127000F01470A315307EA26C1400127E12 +7FEA3FE013FE381FFFE06C13FC6C13FF00011480D8003F13E013039038003FF0EC07F814 +01140015FC157C12C0153CA37EA215787E6C14706C14F06CEB01E039F78003C039E3F00F +0038E07FFE38C00FF01E2F7CAD27>I<007FB712F8A29039000FC003007C150000701638 +A200601618A200E0161CA248160CA5C71500B3A94A7E011FB512E0A22E2D7EAC33>I89 +D<003FB612C0A29038F0001F0180EB3F80003EC7EA7F00123C003814FE4A5A5A4A5A4A5A +12604A5A4A5AA2C7485A4AC7FCA214FE495AA2495A5C1307495AA2495A495A166049C7FC +13FEA2485A484814E0A2485A484814C01501485A48481303150748C7121F00FE14FFB7FC +A2232D7CAC2B>I<0003130C48131C000E13384813704813E0003013C0EA700100601380 +A2EAE00300C01300A300DE137800FF13FCEB83FEA2EA7F81A2383F00FC001E1378171577 +AD23>92 D<13FF000713C0380F01F0381C00F8003F137C80A2143F001E7FC7FCA4EB07FF +137F3801FE1FEA07F0EA1FC0EA3F80EA7F00127E00FE14065AA3143F7E007E137F007FEB +EF8C391F83C7FC390FFF03F83901FC01E01F207D9E23>97 DII<15F8141FA214011400ACEB0FE0EB7FF838 +01F81E3803E0073807C003380F8001EA1F00481300123E127EA25AA9127C127EA2003E13 +017EEB8003000F13073903E00EFC3A01F03CFFC038007FF090391FC0F800222F7EAD27> +III104 DI108 D<2607C07FEB07F03BFFC3FFC03FFC903AC7 +83F0783F3C0FCE01F8E01F803B07DC00F9C00F01F8D9FF8013C04990387F000749137EA2 +49137CB2486C01FEEB0FE03CFFFE0FFFE0FFFEA2371E7E9D3C>I<3807C0FE39FFC3FF80 +9038C703E0390FDE01F0EA07F8496C7EA25BA25BB2486C487E3AFFFE1FFFC0A2221E7E9D +27>II<3807C0FE39FFC7FF809038CF03E0390FDC01 +F03907F800FC49137E49133E49133FED1F80A3ED0FC0A8151F1680A2ED3F00A26D137E6D +137C5D9038FC01F09038CE07E09038C7FF80D9C1FCC7FC01C0C8FCA9487EEAFFFEA2222B +7E9D27>I<90380FE01890387FF8383801F81C3903E00E783807C007390F8003F8001F13 +01EA3F00A2007E1300A212FE5AA8127EA36C13017EEB8003380FC0073803E00E3801F03C +38007FF0EB1FC090C7FCA94A7E91381FFFC0A2222B7E9D25>I<380781F838FF87FEEB8E +3FEA0F9CEA07B813B0EBF01EEBE000A45BB0487EB5FCA2181E7E9D1C>I<3801FE183807 +FFB8381E01F8EA3C00481378481338A21418A27E7EB41300EA7FF06CB4FC6C13C06C13F0 +000113F838001FFC130138C0007E143EA26C131EA27EA26C133CA26C137838FF01F038E3 +FFC000C0130017207E9E1C>I<1360A413E0A312011203A21207121FB512F0A23803E000 +AF1418A714383801F03014703800F860EB3FE0EB0F80152A7FA81B>II<3AFFFC01FFC0A23A0FE0007E000007147C1538000314301570 +6C6C1360A26C6C5BA390387C0180A26D48C7FCA2EB3F07EB1F06A2EB0F8CA214DCEB07D8 +A2EB03F0A36D5AA26D5A221E7F9C25>I<3BFFFC3FFE07FFA23B0FE003F001F801C09038 +E000F00007010114E0812603E00314C0A2913807F8012701F006781380A29039F80E7C03 +0000D90C3C1300A290397C181E06A2151F6D486C5AA2168C90391F600798A216D890390F +C003F0A36D486C5AA36DC75A301E7F9C33>I<3AFFFC07FF80A23A0FF003FC000003EB01 +F0000114C06D485A000091C7FCEB7C06EB3E0E6D5A14B8EB0FB0EB07E013036D7E497E13 +07EB067C497EEB1C1F01387FEB700F496C7E6E7ED803C07F00076D7E391FE003FC3AFFF0 +07FFC0A2221D7F9C25>I<3AFFFC01FFC0A23A0FE0007E000007147C1538000314306D13 +7000011460A26C6C5BA2EBFC01017C5BEB7E03013E90C7FCA2EB1F06A2148EEB0F8CA2EB +07D8A2EB03F0A36D5AA26D5AA2495AA2130391C8FC1278EAFC06A25B131CEA7838EA7070 +EA3FE0EA0F80222B7F9C25>I E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FC cmr6 6 6 +/FC 6 55 df<13E01201120712FF12F91201B3A7487EB512C0A212217AA01E>49 +DI<13FF000313C0380F03E0381C00F014F800 +3E13FC147CA2001E13FC120CC712F8A2EB01F0EB03E0EB0FC03801FF00A2380003E0EB00 +F01478147C143E143F1230127812FCA2143E48137E0060137C003813F8381E03F0380FFF +C00001130018227DA01E>I<14E01301A213031307A2130D131D13391331136113E113C1 +EA01811203EA07011206120C121C12181230127012E0B6FCA2380001E0A6EB03F0EB3FFF +A218227DA11E>I<00101330381E01F0381FFFE014C01480EBFE00EA1BF00018C7FCA513 +FE381BFF80381F03C0381C01E0381800F014F8C71278A2147CA21230127812F8A2147848 +13F8006013F0387001E01238381E07803807FF00EA01F816227CA01E>II E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FD gbsns10 10 3 +/FD 3 196 df<1A0C1A1E0103187F91BA12807F1BC091CA000313E090CB4813C096381F +E0004FC7FC19FCF003E0F00F80061EC8FC1878EF01E0933801C78005FEC9FC5F5F5FD970 +044A1430D97C060103EC603E90267F07809238F03F80DA03C0EBC001017C01E0913903F8 +3E0090267801F0913807E03C03F8EC0F80020092381F007C499027FC07803C1378037C14 +F8EF81E0EF83C00587C7FC0378139E48489026700F385C17E0ED003FEE7FF8923801EF7C +9238078F3F4848903B1F1E1F8001E0037CEB07E0DA01F814F0DA07E0EB03F8DA1FC0EB01 +FCDA7F00EB00FE260781FE4990387E03C0D987F8153FEB9FF0D987C0ED1F83EB83800181 +EE0F0348C8484A5A18071806912603E0F81300EDFFF00200160F001EDA1FE092C7FC150F +5E5E6FC8FC03045D4891C9FC191E003FB912FE5ABAFC00FCCB123E12780030183CCC1238 +19604B4B77C253>60 D162 D<010819C0010CF001E0010EF003F0010FBA12F8 +A21BE091CBEA03C0A3011EF00780A649F00F00031014040318140F031CEC1F80031FB612 +C0A24949ED801E033CC7EA1E00A549494A5BA64848494A5BA6484848484A5BA292B6FCA3 +03E0C7FC484848484B5A1701A218E018004A4890C7FC260F0004C9485A91CAFCA5001E4E +5AA2001FBAFCA3003CCB1207190FA297C7FCA2127C007860A30070181E48181C00801830 +4D4A77C053>195 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FE gbsns09 10 2 +/FE 2 111 df<1B031B1FF3FF800270170F6E94B512C0023C0240010F14E06EDA6001B5 +EA80006EDA787F01C0C7FC6F90267FFFE0C8FC0680C9FC6E6C0178CAFCA28102035C5DA2 +92C7FC91C8FCA24C4815C0507E507E94B77E87A2DC03C0C7EA07E063505AA298C7FC0210 +4948141E143C0006017E5F0007B5FC6C6E48C85ADAFE0013072602003C6E6C5BC7007C91 +3801E0010278DA00F05B041EEB7803061E5B72485A043EEB078F4A013CD903CFC8FCF001 +FE047C6D5A0478147C19FE4C497E49484B7F4C903807CFC0030191380F87E04C90381F03 +F00303023E7F4CEB78014948484848486C7E4B49487F031ED90780137E031C011FC7FC4B +017C804B485A90280780E003E080912781C01F80141E90270F83807EC8FC90271EC701F8 +150C9039386403C0D9F07090CCFC2603E038CDFC380FC01C383F800F39FF0007E0007ED9 +01FEEE03F0007C6DB912C00038023F94C7FC003002075E002002005E534C7CC453>40 +D<6F1540DA01E0157003F815FC03FE15FF4A484A5A03F015F84A4890381003F04B013849 +130E4A4890267807C0131F92C726FC0F805B021ED901FE90C7EA7F80023FB549B612C060 +4A1980912978038000780EC8FC4A6C6C496C7ED901E002016D7E902703C000E001E07F4A +9039F003C00149C7D907807F010E9138F80E00494B6D7E494B5C49903818F0704990261C +E0E05C484890263E818091C8FC4848D97E03C7121848C7D87F06141F000C4AC813C048D9 +01F85EC748484BC8FCDA07C0153E5D4AC9003C13604A18E0023E4D7EDA7F98EE07F8DAFF +CFB8FC49130F49487E902607BC04C80078C8FCD90F3CC9FC131EEB387CD970785E01E014 +18D801C080D80700140E000E8148820030496E485A00E0ED03E0C7FC17F0A2160149484A +485AA217C01780170093C7FC49484B5AA513074A4BC9FCA2EF781F94B5FC010FED3FFE17 +03715A91C85B011E5E011C6F5A90CA1280524F79C553>110 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FF cmti10 10 8 +/FF 8 123 df<14F8EB07FE90381F871C90383E03FE137CEBF801120148486C5A485A12 +0FEBC001001F5CA2EA3F801403007F5C1300A21407485C5AA2140F5D48ECC1C0A2141F15 +831680143F1587007C017F1300ECFF076C485B9038038F8E391F0F079E3907FE03FC3901 +F000F0222677A42A>97 D<147F903803FFC090380FC1E090383F00F0017E13785B485A48 +5A485A120F4913F8001F14F0383F8001EC07E0EC1F80397F81FF00EBFFF891C7FC90C8FC +5A5AA55AA21530007C14381578007E14F0003EEB01E0EC03C06CEB0F806CEB3E00380781 +F83803FFE0C690C7FC1D2677A426>101 DI<90390780 +07C090391FE03FF090393CF0787C903938F8E03E9038787FC00170497EECFF00D9F0FE14 +8013E05CEA01E113C15CA2D80003143FA25CA20107147FA24A1400A2010F5C5E5C4B5A13 +1F5EEC80035E013F495A6E485A5E6E48C7FC017F133EEC70FC90387E3FF0EC0F8001FEC9 +FCA25BA21201A25BA21203A25B1207B512C0A3293580A42A>112 +D<01F0130ED803FC133FD8071EEB7F80EA0E1F121C123C0038143F49131F0070140FA25B +D8F07E140000E08013FEC6485B150E12015B151E0003141C5BA2153C000714385B5DA35D +A24A5A140300035C6D48C7FC0001130E3800F83CEB7FF8EB0FC0212679A426>118 +D<903907E007C090391FF81FF89039787C383C9038F03E703A01E01EE0FE3803C01F0180 +13C0D8070014FC481480000E1570023F1300001E91C7FC121CA2C75AA2147EA214FEA25C +A21301A24A1370A2010314F016E0001C5B007E1401010714C000FEEC0380010F1307010E +EB0F0039781CF81E9038387C3C393FF03FF03907C00FC027267CA427>120 +D<13F0D803FCEB01C0D8071EEB03E0D80E1F1307121C123C0038140F4914C01270A24913 +1FD8F07E148012E013FEC648133F160012015B5D0003147E5BA215FE00075C5BA214015D +A314035D14070003130FEBF01F3901F87FE038007FF7EB1FC7EB000F5DA2141F003F5C48 +133F92C7FC147E147C007E13FC387001F8EB03E06C485A383C1F80D80FFEC8FCEA03F023 +3679A428>I<903903C0038090380FF007D91FF81300496C5A017F130E9038FFFE1E9038 +F83FFC3901F007F849C65A495B1401C7485A4A5A4AC7FC141E5C5C5C495A495A495A49C8 +FC131E5B49131C5B4848133C48481338491378000714F8390FF801F0391FFF07E0383E1F +FFD83C0F5B00785CD8700790C7FC38F003FC38E000F021267BA422>I +E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FG gbsn06 10 7 +/FG 7 254 df<0107150302C08102F0EC01E04A814A6E7E5C187CA30420133C04300138 +1303F207800630EB0FC0912681803FB712E0912683C07F16F0DA87E017F80080018F0170 +C8EA0FE0B6D8F0F016806C4BED1E0003F1161C27200780030107143C0000020702C01338 +DB0FC001F01330DD0FC05B04805B040092C7FC92C790C9FCA25F923803801EED0F00033C +133E03F8133CDA83E0EE0180DA8F80EE03C002BFC748EC07E0DAFC60EE0FF0DAF03FB8FC +EB0FE090383F801FD801FF90281000F0001EC7FC000791C7FCD83FF74A5AEAFFC7010702 +035C003E5E121C00084B485B1200A24CC712F8615E041E495AA2043E495AA293390FE007 +80933801FE0F9326003FCFC8FCEF0FFFEF03FE9438007F80F0FFE0943801F7F8943807E1 +FE94390FC07F804D486C7E94397E000FF0D87E1F4A486D7ED87FFFDA07F0EB01FC000790 +C7D81FC06D7EC603FFC8127E017ED907FC153E017CD97FE0151E9026780FFFC9120E9026 +301FF01604D9000CCCFC4D4E7DC453>149 D<1302EB038014F08014E05C70151870153C +70157F93B812801B0062933AF00078003CA215C015E0ECC1F00060EBC3F8007FB512FC7E +A2391003C0001200A9150C153803F0B712FCECC3C0ECCF809126FE00F0C8123E5C14F0D9 +0FC0173C017F1838D801FF1820000796C7FCEA3FF3EAFFC3EA7F83EA1E03120C12041200 +A71B20A21B60A51BE0A41A011BF0D818071803D81FFFF007F86C4990B812F0C61AE0017F +023F16006DCDFC133E131C13184D4E7DC553>178 D<5CEC03C015F0814A7E15E05D4A5A +92CAFCA2141E141C143C14384A150600C049150F006049ED1FC0007FB912E019C0198000 +78CAEA0F00B3A3007FB9FCA30078CA120FB3A4007FB9FCA30078CA120FA3198012F8A248 +180048170E004017083B4E71C553>184 D<15C015F04A7E814A7E15F05D4A5AA24A5A92 +CCFC5C021E1603023E17C0023C4C7E027FB87E8691B95A02F0C9EA03E049485F495AA249 +5A49CAFCA2131E131C5B497ED9F0C002601307496C14F04848B67E48486F5C495D4801F0 +C75A120E5A5A12305A5AC7FCA591B6FCA2190F02F0C7FCA297C7FCA217C094C75A4D137E +943803FFFE9426003FFC1320DE07F81360725AF001C04F13C095C8FCA31A01A31A031BE0 +F207F01A0F91BA12E01BC0023FEFFE004C4B7DC453>221 D<1430023C6D4A7E027F6D4A +7E70EC07F0027C90B77E02785F02F85F4A01F0C7EA03C0A213015CA2495AA2495AA291C7 +FC5B130E131E131CA2EB3F8080495A91C7B7FC13FE01DE8400019239F001E003139E0003 +61D8071E02E05D000603C092C7FC000E030091C8FC120C1218003019021A070060F10F80 +00C0F11FC00218EF3FE00080011FB912F000007FA20204C7D81EE6C8FC91C8EA3CE2EF3D +E317799438F9E18017F10401809438E1E0E0EE03C1040714701781DC0F017F041E143C04 +3E80167C04788004F081DB01E06E7EDB03C06E7EDB078015F8DB0F006E7E031E6F7E0338 +EE7F8003F0EE3FE04A48EE1FFC4A48EE0FE04A48EE0780020EC7ED03004A94C7FCEB3E10 +91C8FC013C4B5A01385E90C96CC9FC4E4E7DC453>226 D<010C16386D163F010783D903 +C0033EC8FC800101163C80A26D7E5CA2144091C70020150EDB8030151F912601E038ED3F +8000C0902603F01FB712C0007FB500F817E015F06C913CE01E003C003F8027200007C0EE +3E00C7D80F80163C03005E4A1770021E5F4A5F4A4C5AA24A93C8FC5C1301495AEC804001 +0701F016C003F84B7E90260F81FC4B7E011FD9F01FB67E90263F83C082EC87800177903B +001C1C0001F0D9E78E4C5A2601C7DC140CD987F8D93C0E5C000301BC16072607079F5F00 +0ED98F807F001CD987E04BC7FC0038D983F0EB0380003013810060D980F8ECC01E00C002 +F013010000DA70786D5A0320130003006E5AA2F078F016F84CEB3DE0F03FC0181F03015D +4C6DC8FC4E7E4B48497E4E7E4B48EBFBF893390001E1FC4B903807C0FE030E90390F807F +804B49486C7E033C017CEB1FF04B49EB0FFC9226F003E06DB4FC912781E00FC06D13E091 +2683C03FC76C13F891268780FC9138007FC090270F0E07F0ED3F00D90E0C0180150E90C7 +0006CBFC4D4E7DC453>250 D<1606EE07C017F05F5F5FA71A181A1C1A3E1A7F0018F1FF +80001FBB12C07E7E0004C72601F798C9FCC8FC923803E78CA2EEC78E0307138617879238 +0F8783A2DB1F077F1781031E80033EEB80E0153C037C1470157803F88015F0020181DA03 +E0141E180EDA07C080038081020F6F7EDA1F006E7E141E023E6F7E023C16784A167C4A82 +4948ED061F4A92380F0F804948EE87C0D9073092381FC3F0D90E1FB7EAE3F8496CEEF1FE +0138EFF0FF90287004000780C7EA7FC049C7EE3FF8D803C0181F4848F007C0000EC8EE03 +004885007896C7FC12E05AC9FCA8160F94CAFC160C4D4D7DC453>253 +D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FH cmtt10 10 28 +/FH 28 123 df39 +D<143814FC13011303EB07F8EB0FF0EB1FC0EB3F80EB7F0013FE485A485A5B12075B120F +5B485AA2123F90C7FCA25A127EA312FE5AAC7E127EA3127F7EA27F121FA26C7E7F12077F +12037F6C7E6C7E137FEB3F80EB1FC0EB0FF0EB07F8EB03FC130113001438164272B92C> +I<127012FC7E7E6C7E6C7EEA0FE06C7E6C7E6C7E6C7E137F7F1480131F14C0130FEB07E0 +A214F01303A214F81301A314FC1300AC130114F8A3130314F0A2130714E0A2EB0FC0131F +1480133F14005B13FE485A485A485A485AEA3FC0485A48C7FC5A5A1270164279B92C>I< +121FEA3F80EA7FC0EAFFE0A5EA7FC0EA3F80EA1F000B0B708A2C>46 +D<127012FC7E6C7E13E06C7EEA1FFC6C7E3803FF80C67FEB7FF0EB1FF8EB0FFEEB03FF6D +13C06D6C7EEC3FF8EC0FFC6EB4FC0201138080A25C02071300EC0FFCEC3FF8EC7FE04948 +5A4990C7FCEB0FFEEB1FF8EB7FF0EBFFC000035BD80FFEC8FC485AEA7FF0485A138048C9 +FC5A1270212A7BAD2C>62 D<3801FFF0000713FE001F6D7E15E048809038C01FF81407EC +01FC381F80000006C77EC8127EA3ECFFFE131F90B5FC1203120F48EB807E383FF800EA7F +C090C7FC12FE5AA47E007F14FEEB8003383FE01F6CB612FC6C15FE6C14BF0001EBFE1F3A +003FF007FC27247CA32C>97 DI<903803FFE0011F13F8017F13FE48B5FC48804848 +C6FCEA0FF0485A49137E4848131890C9FC5A127EA25AA8127EA2127F6C140F6DEB1F806C +7E6D133F6C6CEB7F003907FE03FF6CB55A6C5C6C6C5B011F13E0010390C7FC21247AA32C +>IIII< +EA7FF0487EA3127F1201AAEC1FE0EC7FFC9038F9FFFE01FB7F90B6FC9138F03F80ECC01F +02807FEC000F5B5BA25BB3267FFFE0B5FCB500F11480A36C01E0140029337FB22C>104 +D<1307EB1FC0A2497EA36D5AA20107C7FC90C8FCA7387FFFC080B5FC7EA2EA0007B3A800 +7FB512FCB612FEA36C14FC1F3479B32C>I<387FFFE0B57EA37EEA0003B3B3A5007FB612 +80B712C0A36C158022337BB22C>108 D<3A7F83F007E09039CFFC1FF83AFFDFFE3FFCD8 +7FFF13FF91B57E3A07FE1FFC3E01FCEBF83F496C487E01F013E001E013C0A301C01380B3 +3B7FFC3FF87FF0027F13FFD8FFFE6D13F8D87FFC4913F0023F137F2D2481A32C>I<397F +F01FE039FFF87FFC9038F9FFFE01FB7F6CB6FC00019038F03F80ECC01F02807FEC000F5B +5BA25BB3267FFFE0B5FCB500F11480A36C01E0140029247FA32C>II<397FF01FE0 +39FFF8FFF801FB13FE90B6FC6C158000019038F07FC09138801FE091380007F049EB03F8 +5BED01FC491300A216FE167EA816FE6D14FCA2ED01F86D13036DEB07F0150F9138801FE0 +9138E07FC091B51280160001FB5B01F813F8EC3FC091C8FCAD387FFFE0B57EA36C5B2736 +7FA32C>I<903903FC078090391FFF0FC0017F13CF48B512EF4814FF3807FE07380FF001 +48487E49137F4848133F90C7FC48141F127E150F5AA87E007E141FA26C143F7F6C6C137F +6D13FF380FF0033807FC0F6CB6FC6C14EF6C6C138F6D130FEB07F890C7FCAD0203B5FC4A +1480A36E140029367DA32C>II<90387FF8700003B512F8120F5A5A387FC00F387E00034813015AA36CEB +00F0007F140013F0383FFFC06C13FE6CEBFF80000314E0C66C13F8010113FCEB0007EC00 +FE0078147F00FC143F151F7EA26C143F6D133E6D13FE9038F007FC90B5FC15F815E000F8 +148039701FFC0020247AA32C>I<131E133FA9007FB6FCB71280A36C1500D8003FC8FCB1 +ED03C0ED07E0A5EC800F011FEB1FC0ECE07F6DB51280160001035B6D13F89038003FE023 +2E7EAD2C>I<3A7FF003FF80486C487FA3007F7F0001EB000FB3A3151FA2153F6D137F39 +00FE03FF90B7FC6D15807F6D13CF902603FE07130029247FA32C>I<3A7FFF01FFFCB514 +FE148314016C15FC3A03E0000F80A26D131F00011500A26D5B0000143EA26D137E017C13 +7CA2017E13FC013E5BA2EB3F01011F5BA21483010F5BA214C701075BA214EF01035BA214 +FF6D90C7FCA26D5A147C27247EA32C>II<3A3FFF03FFF048018713F8A36C010313F03A00FC007E005D90387E01F8013F5BEB1F +83EC87E090380FCFC0903807EF80EB03FF6D90C7FC5C6D5A147C14FE130180903803EF80 +903807CFC0EB0FC7EC83E090381F01F0013F7FEB7E00017C137C49137E0001803A7FFF01 +FFFC1483B514FE6C15FC140127247EA32C>I<3A7FFF01FFFCB5008113FE148314816C01 +0113FC3A03E0000F806C7E151F6D140012005D6D133E137C017E137E013E137CA2013F13 +FC6D5BA2EB0F815DA2EB07C1ECC3E0A2EB03E3ECE7C0130114F75DEB00FFA292C7FC80A2 +143EA2147E147CA214FC5CA2EA0C01003F5BEA7F83EB87E0EA7E0F495A387FFF806C90C8 +FC6C5A6C5AEA07E027367EA32C>I<003FB612E04815F0A4007EC7EA1FE0ED3FC0ED7F80 +EDFF004A5A003C495AC7485A4A5A4A5A4A5A4A5A4AC7FCEB01FC495AEB0FF0495A495A49 +5A49C8FC4848EB01E04848EB03F0485A485A485A485A485AB7FCA46C15E024247DA32C> +I E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FI gbsns21 10 3 +/FI 3 43 df<1A181A7C011818FE011FBAFC6D1980A20108CA000713C090CB380FE000F1 +1F80073EC7FC19F8F001E04E5A060FC8FC181C187818E0EF03804DC9FCEE021CEE07F0A3 +17C05FA21A0C1A0E4CC8121F6200C0F1FF80BC12C07EA20040C8001ECAFCC9FCA55EA65E +A65EA64B5AA64B5AA2EC3FFF5E14016E6CCBFC157E157C153815304A4A76C153>6 +D<150EED0F80824B7E93C9FC153E153CA25D1570011049140390261801C0EC0780011C49 +EC0FC0011FB812E05B1980013CC9EA0F00A449161EA6495EA590B812FC485FA201E0C912 +78A448485EA648484B5AA648B85AA390C91203A3001E4C5AA6484CC7FCA55F5A007FB8FC +5FA20078C9121E173E5AA2173C4816703B4E6CC553>I<1518031C1470033F14787013FC +037EC77E037CEB01F84B5C4B495A14014B495A02035D4B49C812024A48491507051EED0F +804AC748151F020E0238ED3FC0021E027FB7FC4A91B8FC14380278902601E078C9FC0270 +49485A02FC1480496CEB07006E130ED903FC131E4A131C01074A485AD90EF01370010C14 +E0011C14C00138D90180150401700103160C902961E0070003C0131E01C1010E163FD801 +814916FF00034A91B67E01015B00065C270C03C1C0D90780C9FC001891C7FC003013C012 +6012C0120049484ACAFCA51A0249C8001E1407507E1A1F507E051FB6FC87011E4B5D053C +CAFCA5495DA5017C15F801785DA401F81401A3495D48485D494A5A524E79C553>42 +D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FJ gbsns19 10 2 +/FJ 2 199 df<020318026F17076FEF0F8092BA12C01CE01CC003C0C700F0C7EA1F001B +1EA44A4849485CA64AC748485CA64AB95AA3021EC7D80780C7FCA3023E4AC7485A143CA4 +5C051E4A5AA314F85CA24D4A5AA2495A91BAFCA3D903C0C70078C7000FC7FCA3495AA349 +C848141EA3131EA2131C013C4A485C13381378137013F049140348484B5C12035B48C8FC +000E0307903807FFF84805015B003CEF001F00384C6D5A480306C76C5A00C04B92C8FC48 +92CCFC534C7EC253>126 D<1C201C701CF80206F001FCDA0780EF03FE92BAFC1CFFA203 +80C7D80380C8FCF007E0854E7E19804AC890C9FC181E183E183C04084914600418017014 +70021E011E4914F8041FB77E871BF8041EC95AA24A494B5AA55C4C4B5A047FB7FCA30270 +0178C8120314F04C4B5AA3495AA34B484BC7FC93B8FCEB03C0A2933AE0001E000F4B5AD9 +07804B5B4C151C92C8141049C7000892C8FC161C043E140C010E91397F80780E011E02FF +6E7EDCFE006D7E49D901F8EC01F04B486E7E01384948157C01784948497F017049C7143F +01F0013E707E4901FC707E2701C001F0707E4A488348484848494813032607001FC78202 +3E02031401000E0178EB1FFF261C01E06D1500263807800101495CD8700EC8007F1570D8 +60386F481460D8C0206FC8124048C9001C92C7FC584D7EC453>198 +D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FK gbsns16 10 2 +/FK 2 107 df42 D<0306150EDB07C0EC0F80DCF03814E0D901C0D9E03C +5CD900E0D9C07F495A02F0018092C8FCDA780F01F8131E4D133E023C0101143C023E5C4C +485B5F023C49C75A9138381E060230D90C065B02009026000F01EC038094261F81C0EB07 +C001C0DB3F83EC0FE090B8D8C380131F6D04C7B612F0188790264001DCC74815C0D90003 +923A0E0003E000DA07BC141EEC0F3E91261E7FC0133E91263C7BF001365C91267878FC13 +7E02F0017F016E1307903B01E0F83F80CED907C0D91FC05DD90F8090380FC18E903B1E00 +F007C30E4902034BC7FCD9F00114C6D801E09038E0018CD807809038800008260E0003C7 +0018141EC7D807C0EB00066F14074A485EED800891381F001C023E013E5D0018013C137E +000FB76E5A178062290400F0007E001381C6484801F8903803C1C001034A14C3DAC0015E +4948484814C7D90F0004EFC8FC494948EB01FE013E4A5C49130F4949C85A9026FF801E81 +90260FF83C1401902601FF7C4A7E9026003FF8EC0FFFDA07FCEC1F3F6EB491383E1F804A +01C001787F913C0FBFF001F00FE0DA3E0F903903E007F8DA7C07D90F807F903D01F001F8 +1F0003FED907E0D9F07C6D6C7E90281F8000F1F06D13E0017EC7D867E06E7ED801F8DA1F +80143FD807E0027CC8001EC7FCD83F80D903F0150800FCC7D80FC092C8FC00E0020ECCFC +544D7CC453>106 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FL gbsns08 10 2 +/FL 2 175 df<6019C0026016F00278ED03FC80021F16F06E6C5D6E7E6F5D140381A26E +484A5AA25D91C9FCA34EC7120C1B1E1B3F03065F0307B91280811C000302C7001EC9FC92 +C85AA21418143C000C017E5D0007B5FC816C49C85A2602003C81C74B7E4A15EEEF03E7F0 +C3C0F0C1E094380780F0854A91380F007C4D7F051E7F4D80190F4D6D7E49484A8004016E +7E5F4C486D7E4C5A4CC87E4948131E0438157C5E4B5ADB0380153C030FC9FC0107011C16 +38010F0178163090261C60E093C8FCD97870CDFC48487E3807E01C381F800F39FF0007E0 +48D903FEEE07F0007C0100B912800078023F4CC7FC0030020F5E0020140051497BC353> +72 D<1B200107023016706D6C013816F802E0013FB712FC6D6C18FE6D7E6E903B3C0010 +0001F0027E031C14E0181F143E183E023C49ED03C0183C021816040210160E91C7153F04 +7BEC7F8304F3B6EA878016F1A29439807800070106ECF000130F28C01F8001E049EB0F00 +387FFFC002E016086C181C26200F80167E0000010001CC14FF011ED903CFB6121E16C7A2 +04C4C8FC168015074960A27113C0933900E001E04B90B512F0A2494A4A5A030E9038E003 +C0151EA21403EC073CD9F01C494848485A1438ECF0389038F1E078EBF3C09038F780703E +01FF00F007800F01E04992B5FC9038FC01E0EA03F82707F003C0EB800FEA0FE02907C007 +800F00495AD803800100140C4A15002601001E130EC7001C90C8FC5C02784C5A5C495A49 +5A4948ED3F0F49C901FFC7FC011C160749EE01FE49705AD801C017784917304F4C76C253 +>174 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FM gbsns07 10 4 +/FM 4 119 df<170E8384717E84A284050115021B074EEC0F80F31FC0010C4C143F010F +BB12E07FA20104C7270F0003C0C8FC90C8FCA3DBC01E495AEC01E003F0ED8180DA03F8ED +80E00207177003C0163C4A484890380F003EDA1F0082021E717E4A717E4A844A017C496D +7E4948717E4A0178131E4948717E49C7FC010E02F8133E49197C4902E0133801604A0130 +1478484891C8000813384848051C1330D80203053E1320C66CB990C7FCA2869026008030 +C848C8FC0200ED01F86F4A5A4E5A4E5A6F4A5A030E4AC9FC0306147E03075C6F495A7048 +5A6F6C485A70485A0300013FCAFCEE707EEE78FCEE3FF8705A17C0167F923801FFF09238 +07F9FC92381FF0FF92397FC03FE0913A03FE001FFCDA0FF8903807FFE0DA7FC00100EBFF +FCD907FFC8003FEBFFC0D97FF0030749C7FC260FFF809238007FF8D8FFF0CAEA0FF048CC +1270534D7CC453>35 D44 +D<834C7EEE03F04C7E160FEE1F8093383F000C04FC130F4B48EB03C0DB03E06D7EDB0FC0 +804BC812FC037E157E03F881DA03F06F7EDA1FC0B77E027FB8FC91B639FC0007E06E01F0 +C7FCDBF00C140391397C000F8091C7D81FE06D5A4D5C4CCAFC047E5D4CED03804CED07C0 +4B48ED0FE0000C4A48151F000FBB12F06C1AF81BF00004C7261F0003C9FCC8003E6D7E5D +4A486D7E912603E0067F912607C00F1370DA0F801380913A1F001FC03C027C013F7F4A01 +FF131F903C01F001FC000FC0902707C003F86D7E903C0F8007E00403F8903C3E000FC00E +01FF4990271F001F0013C0D801F0017E49EB3FFCD803C001F8903A7F801FFFE0290F0003 +F001FF010713C0001E902607C003913803FE00007890271F0007FCC712F800E0013E9026 +1FE0011330C700F890273F800380C7FCD903E09039FF000FC09027070001FC131F0104D9 +07F0497E90C7D81FC0137F923A3F8001FF209227FE0003FCC8FCDA03F0EB0FF0DA0FC0EB +3FC0023FC7485A02FCD901FEC9FCD903E0EB07F8D91F80EB1FE0013CC7EA7F8090C7D803 +FECAFCED0FF8ED7FC04A48CBFCEC0FF8EC7FC0D903FECCFCEB1FE0D801FECDFCEA0FE000 +3ECEFC4D4E78C553>107 D118 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FN gbsn21 14.4 1 +/FN 1 43 df<030E1506DB0F80EC0F80708104F015F04B6C81704A7E16E04B4815E04C4A +5A6293C8FC4B4BCCFC037E157E03FE15FE4B5D060118404A484B17E04F4C7E4B02034D7E +02034C4C7E4B02074D7E02074C161F4B4ABAFC140F4B4A198020004AC8263E00FCCBFCA2 +023E5DA2DA7F805C03E05C03F8130102FF5D4B495A4901C0130760902603DF8049C7FCA2 +D9079F141E5FEB0F1F010E5D011E4B84011C4B4D7E013C02014E7E01784A484D7E01704B +4D7E01F04AC88201E0020E183FD801C0021E92B77E00034B8501801438D807004A61000E +4B03FCCBFC5E4892C9FC5AA25A5A5A5AC7FCA866547E547E1E0F547E547E547E97B87EA4 +08FCCBFCB3143FA31901A592C95B023E5F023817C002205F71717CE478>42 +D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FO gbsn07 14.4 2 +/FO 2 119 df<180719E019F819FE616161A2611D03537E537E8A537E537E017C517E01 +3FBD7E7F6D8866010EC9D807E0CBFC90CAFCA51C03527E89527E527E527E023C4F7E021F +BB7E8980A26EC8D807E0CBFC91C9FCA51E181E1C1E3E1E7FF6FF801FC0003C0A0313E000 +1FBF12F06C1EF8A27E90CAD8FDC0CBFCCA00017FEF03F8A24D487E94260FE0701560DD1F +C016F094263F8078140194267F00384A7E073C4A7E05FE160F4C48011C4A7E4C48011E4A +7E4C48010E5C4C48010FECFFC04C484B90C8FC4C486D6C485A4CC79038C007F84C020349 +5A4B9338E03FC00307030149C9FC4BEEF0FE4B923800FBF8DB3FBFEDFFE0DBFF3FED7F80 +DA01FC043ECAFCDA03F8163FDA07E0707EDA1FC0707EDA3F008302FE717ED901F8717ED9 +07F0717ED90FC071B4FC013FC78401FE737ED801F8737ED807F0F11FF8D81FC0737E48C8 +9338E007FF00FC060701017F00F095261FC00013E0C903FEC76C7EDE07F8EC3FFCDE1FE0 +6EB4FCDEFF80020713C0DD07FEC86C13F0DD3FF8030013FE93267FFFE093387FFFC04BB5 +CA001F13FC030701FC7113FE033F01F017036F01C005001380030790CCEA7E00DB03FC19 +1CDB01F096C7FCED00C06F6F7BE378>44 D<1410143EDA1FC06003F002304B7E6F023882 +4B023C4B7E4B023FB77E4B854B851DF096C8EA07E0AC166016F07091B7FCED81FCED83FE +00F0EC87FF007FB7008090C812077EA26C1600271C001F80C7003C1680C7043092C9FC4C +D900040104140471010E0106140E71010FD90780131F05F0D91F806D148094B600C090B6 +12C008E016E008F016F008E016E09427F8001F809039E0001F80A41619163916F9ED83E1 +ED87C1ED9F81EDFE0115FC15F803E090B691B6FCEC3FC0ECFF801303010F9226F8001F91 +38E0001F5B017F18782603FFDFDC1C7F491400000F011F040001C7C7121CD83FFEDE3FF4 +91C7FCD8FFF803E015F0D87FF0038015C0D81FE091C949EC0180D807C0F403C0D8038096 +C813E00001F507F0C7F40FF8DB8780F11FFC0383BC12FE1581158008BF16FC04E0C7001F +010EC9FC93C8EA3F3F077F7F077E8007FC1303060181DE03F86D7EDE07F06D7E07E080DE +0FC0147C061F81DE3F806E7EDE7F006E7E06FE16F04D486F7E4D48ED03FEDD07E06F7E4D +486F13C04D48EE7FF0057FC7ED1FFC05FC94380FFF804C487113F8023FD907F07113FF26 +3FE0FFD90FC0170090B5484848F07FF06C037EC848ED3FC0C64BF10F8090271FFE03F0F1 +0700010FD90FC01901D907FC4996C7FCDAF80EC9FC6D48CA127E4A177C4A17706DCB1240 +70707CE378>118 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FP gbsn16 14.4 4 +/FP 4 107 df<1B200207183803E0177E03FCEF7F8003FFEFFFE04B8415F84B4C90C9FC +1BFC5D505AA2505AA2634B160F631A1F63020F4F7EE03F007FF400F0087E14784B014002 +7C8005F002FC141F714A6E7E4C6C01018200F07049486E7E007FB84A6E7EDE80076F7E6C +05C049EC00FE9526000F8081291C001F0001FC011FEE7F80C795C9123F4D013EEE1FC007 +7E17E04A4CEE0FF04D485A0603EF07F8952607F007B712FC023E031FB9FC4E17E3027E01 +0395380001FE51C7FC7249C8FC08801500027CDB0FF0CA12FCDDE00ECBFC02FC92CC127C +1F7816074A1C701F001301A25F4A1B70040F02C016F8734B7E0103714B7E4D90B9128073 +17C04A011FF1FE00010764077EC8EA01F894C7FC5EA2495A163E167EA2167C80D907FC13 +FCD900FF5BEC3FE191380FF9F0EC07FF14016E6C5A6F7EED0FF882824B6C7E707E92383E +3FE0157E92387C1FF04B6C7E4A486C7E4A486C7E02071301DA0FC07F4B6C027FB7FC4AC7 +EA7F80143E4A143F4A047EC8EA01FC4948021F13FEEB07C04948EC0F0049C81206013E92 +C7FC5B485AD803E04D5E48486448484D16C0001ECB00E093C7FC001C4E92C8FC6F707DE3 +78>41 D<1DC0527E527E89527E527E02F04F7E91BD7E806E8766021CD0FC91D1FCB31E18 +1E1C1E3E1E7FF6FF805313C0007C5213E0003FBF12F06C1EF87EA2000ECAD80FC0CBFCCB +FCA84B7E16E04B7E04FCED01C04B6C16F0706F7E4B0180153C92261FFE00151F04F8707E +4B48EE07E04C707E4B48707E4CEE00FE4BC7167F4A48727E4B727E0203F10FF04A48727E +4B727E4A48727E4A48727E4A48737E8A4AC8717E02FE747E4948747E49481A074A874948 +747E49481A0149488749C983017EF47F805BD801F01C3F485A48481C1F485A48CA180F00 +3E1E001278481D06489AC7FCCBFC181FA2041FB5FCA216071600051F5B17077190CCFC71 +5A6018F0EF00806D6C7BDF78>43 D58 D<150CDB1F80167804E0167E92270FFC01E0EC7F8001607015E0017802F813FC6D02 +E001FF1580013E4B6D91CAFC6D4CC712FED90F8001C013F802C04A485CD907E05D14F0D9 +03F84A48495A60A201014BC7FC051E5D4D140302F060D900E04A5A020091267003808394 +282007C007C04A7E9426000FE04C7EDE1FF04C7E00784D6C48484A7E003FB900FC831E1F +6C97B77E4F4882280E0001F3C0C8FCC7D803F71BFC083EC7D807F0C7FCDA07E7163CEC0F +CF04F8157E91261F8FFF61DA3F0F13E0027ED9CFF814FE9127FE1FC3FE14EED901FC9039 +C0FF8001D903F8DA7FE013CFD907F0EC3FF0D90FE091391FF80387D91FC0EC0FFCD93F00 +0207EB0707017E030381490301010E150FD803F8030060D807E093387C1C034848043880 +003FC790C7EA1038007E021C140000F84A15700060023C03607FC8003F04015DDB7FC014 +007070131F16804BCAFC4BD901C0804A486E94C8FC4D6C5E4B496C147C007801034A7E00 +3FB86C163E6C71147E093E137E6C1A3F2A0E000FE00007FC167CC749D90FF06E13FC4A48 +4A1580654AC74848EC0FC165027E4A4815E302FE06075B4A92C813F701014B03035B4948 +027E16FF4A02FE5F01074B81494801017090C9FC02FC5C9138FFE0039028007FFE07F083 +912707FFC7E04B7F9126007FFF4C7F031F494B7F03036D92380FEFF8030001FC92381FCF +FC70B492383F87FE93B500E091387F03FF4B6EDAFC017F922707F87FF8D901F8804B486C +6C902607F0007F92271FC00FFE4948EB7FF892263F80074A486D7E9226FF0003027FC76C +B4FC4A48010002FE6E7FDA07F891267E03F86E13E0DA1FF04B486E13F8DA7FC091261C1F +C06E13FE4948C9D87F806EEBFF80D907FCDB01FEC97ED91FF0DB07F893383FF000D9FFC0 +DB1FE0EE0F80000790C9D8FF8070C7FCD80FF8DB03FECA120201C0DB07F094C8FC000EC9 +13C0CA0002CEFC71707DE378>106 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FQ gbsn19 14.4 2 +/FQ 2 199 df<1E301E781E7C1EFE537E53138000F05213C0C012E06C1EF07EA2001CD2 +FC6C0C7AB778>24 D<1E061E0FF61F800102F43FC001031DE002C0F37FF06EF3FFF891BE +FC6D1DFC1FFE1FFC02F8C9D80380CAFC1AE04F7E1AFC1AFFA2F10FF81AE0A24F5A62A24F +CBFC193E04024A150C0403181F71498205E049ED3FE094BA7E8AA21EE005F0CAEA1FC066 +AD94BAFCA44A02F0CA121FA41303A994BAFCA405F0C7391F80001F4A871307A24D600580 +051EC7FC93C91508050394C8FC844AEC07E0010F4B6C157072157C4D6C814A4A6C6F7E72 +ED07E0DD7FE06F7E011FDBFF80ED01FC91C890C76E7E4C48EF7F804C48717E013E4A4871 +7E4C48717E4C48EF07FC494A48717E4C48717E01784AC86F138001F84948F17FC049D903 +F8F13FE000014A5A494948F11FF000034A48F10FF84949C9003F1507000714FE90268001 +F8023FB5ED03FC4848485A48D90FC0020F1701001E4948020118F848017EC9003F90C9FC +4801F8160F26F003E0DC03FE167000E001805F0040CB491600CC13E073CBFC6F707CE378 +>198 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FR gbsn09 14.4 2 +/FR 2 200 df110 +D<1818183E183FF07FC0854E7E854D13C04E7E943803FC60943807F870197894380FF038 +94381FE03CF0C01C053F7F94387F800F4E7E05FE804C486D7E4C486D7E4D804C4813004C +481478041F157C4D804CC87E047E6F7E4C6F7E4B48824B486F7E4B486F7E4B486F7E4B48 +167E4BCA7E037CEF1FC04B023C6E7E4A48DA3F806D7E4A4803E0EB03FC4A48DA1FF86DB4 +FC4A48717F023FC801E0EC7FE0027C4CEC3FF84AF10FFE49484C913807FFC0D907C07313 +F049487313FE49C99339007FFFE0017C7513F849751380D803E0983807FC004848755A00 +1FCAEF00F0003C1D60489AC7FC12E0CBFCB3B3A7183FA796CCFC183C18306D6D7AE278> +199 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FS gbsn14 14.4 1 +/FS 1 213 df212 +D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FT cmbx12 14.4 6 +/FT 6 55 df<157815FC14031407141F14FF130F0007B5FCB6FCA2147F13F0EAF800C7FC +B3B3B3A6007FB712FEA52F4E76CD43>49 DI<91380F +FFC091B512FC0107ECFF80011F15E090263FF8077F9026FF800113FC4848C76C7ED803F8 +6E7E491680D807FC8048B416C080486D15E0A4805CA36C17C06C5B6C90C75AD801FC1680 +C9FC4C13005FA24C5A4B5B4B5B4B13C04B5BDBFFFEC7FC91B512F816E016FCEEFF80DA00 +0713E0030113F89238007FFE707E7013807013C018E07013F0A218F8A27013FCA218FEA2 +EA03E0EA0FF8487E487E487EB57EA318FCA25E18F891C7FC6C17F0495C6C4816E001F04A +13C06C484A1380D80FF84A13006CB44A5A6CD9F0075BC690B612F06D5D011F1580010302 +FCC7FCD9001F1380374F7ACD43>I<177C17FEA2160116031607160FA2161F163F167FA2 +16FF5D5DA25D5DED1FBFED3F3F153E157C15FCEC01F815F0EC03E01407EC0FC01580EC1F +005C147E147C5C1301495A495A5C495A131F49C7FC133E5B13FC485A5B485A1207485A48 +5A90C8FC123E127E5ABA12C0A5C96C48C7FCAF020FB712C0A53A4F7CCE43>III E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FU gbsn21 10 9 +/FU 9 45 df<4F7E4F7E486CEF0FE06CBA7E866D840140CAEA3FFE90CB48C7FC19FCF001 +F04E5AF00780061EC8FC601870604D5A0507C9FC170EEE0618EE07F0A25F5F5FA21A041A +0E1A1F1B8000E0F17FC0007FBB12E07E1BF00010C8D80780C9FCC9FCB3AC160FED7FFFA2 +030390CAFC1500167E167C167816304C4A7DC153>6 DI<16E016F8167C8282A28201C0181C70153E0406157F90BB12801BC0A201C0CBEA7F +000001197C620003614F5A0007614F5A484895C7FC001F186690CB12F001181601D80E1F +B87EC66C83A20104C9EA07E090CA001FC8FC183E187818E04D5A4DC9FC170E5FEE073817 +E08317C04D1403F207801BC000C0F10FE0007FBB12F07E1BE00030C8D80780C9FCC9FCB3 +A3ED700FED7FFF031F90CAFC15016F5A167E167C163816204C4E7DC453>9 +D<182002C015380270157E6E157F021E826E03FCC8FC6E6C5C6E6C5C6F13016E6C5C816E +6C495A037C5C1707033891C9FC0104030E7F0106013090380C01E0010790C748487E91B8 +7E8519F00280C8EA01E0B291B8FCA30280C81201A2856191C70010148090C8001E90C9FC +EE07800204EB03E00207EB01F89238E000FC6F017E130403C0017F130601C06F6D7E4B6D +6D7E1AF0716D7E050EEBC07C000104068094C77F1B8000030501EB0FC013801A07120700 +0F1903010016034818E0007F9538F00180007E6E02071400486E4A48C7FC007C6DB75A00 +306D5EC74CC8FC6E6C14F04A4C7BC453>15 D<1306EB07C080010F02604A7E4A0170814A +6D4A7E49C7003FB612F886011E60013E023CC7EA01E0133C13381378137013F09038E003 +8015E0D801C013F81407D8038013E0EC0FC0D807001380000EEB1F00EB03FF381C3FFE38 +3DFE3C267FF078013FB6FCEAFFC06CC65A003C49013CC71201EA100100005B13035C49C7 +FC5B130E5B131813385B016013709038C007F03901807F80390383FC0038071FE048B4C7 +FCEA3FFC01F0023FB6FCEA1FC06CC8FC0004033CC71201C9FCA31504153CEC01F8EC0FE0 +EC7F80903803FE00EB1FF83801FFC0003F90C7FC13FCEA1FE0D80F8019400006C817E000 +02F1E1F0C7000CEFE3F80207B912FC80A292CCFC4E4A7DC353>28 +D<14400260163002701678027FB712FC85610278C91278A6027FB712F8A30278C91278A7 +027FB712F8A30278C91278A2F20180026093386003C091CBEA07E000601AF0003FBB12F8 +A26C1AF0281007800078CAFC1200A21A101A3C05C0147E057FB512FE91B500F8817114FC +0501C75A91268000786D5B1901DD00C05BA272485AA29538600780187091B500F84AC7FC +1838F03C1E9126800078131CF01E3CF00E78180F94380807F0DC79F85B93387FE0039226 +0FFE007F912681FFF8497E9126FFFE78497E90B500E0EC1E7FB5D8FE004A6C7E6C01E092 +38781FE0D83FFCC79138F00FF80180923901C003FF001CC8902607800113E000104CC713 +F8C9013CEC3FF005F0EC1F80DC79E0EC0700DC788014010470CAFC5E4D4E7DC553>33 +D<4E7E02F001C014E002FC01F814F86E01FE804A4914F04A5B4A495C13014A150361A249 +5A611807495A96C8FC91C70118EC0180DD3C0FEB03C049DB7E0EEB07E0D90E0C02FEEC0F +F00207B6000FB512F8011F4C14FC02C318F8903E3FE200F00018007C000280153891C7FC +491678A2016F166801EF16EC01CF16CC000104011478018F168C00031603010F160C0007 +16061206000CEE840E922780F1E00613F800189126E0F3F05C92B512F8003016FC006016 +F09239F001E00700C04E5A00001703A21981F183C0A2F001C3F1C780A2DE00E7C7FC19EF +19FE197E197CA319FE92B5497E953803EF80953807CFC0DBF00190380F87E09439F01F03 +F0DDE03E7F943980F801FC933A0001F000FE4D48EB7F80DD0F80EB3FE0053FC7EA1FF84B +017CEC0FFC92260001F0EC07C049DA0FC0EC0380043FC8EA010004FC92C7FC011C146001 +1091CBFC4E4F7DC553>41 D<1418021E1430021F147C03C0137E4AC7127F023E14FC023C +5C147C0278495A5F14F84A49481580F201C049484948EC03E01BF0494849C8EA07F894B7 +FC4A4916FC010719F891C7D83C0FC9FC4914386E1378D91FE013706E13E0EB3FC0913880 +01C013370177EB038001E7EB07001506D801C7010E162001874916700003021816F80107 +494B7E000602701503000E4A91B57E000C5C0018EB818000380183C790C9FC0030138200 +60138012C0A212801200A61A03F20780F20FC0F21FE095B612F0A395C9FCB1130F5F91C8 +121E010E151C4E4E7DC553>I<16401678163E82707E707E707E1A180401151C486C183E +6D0200157FD800F04BECFF8090BBFC1BC0A201F0CDFC17401778177E177F177C17780330 +1560033C1578033F157EDB7F80147FDB7C00147E19F8157803F85D5D4E5A4A5AA26F1403 +DA03FC15F8038F15BEDB8780EB078F91260703C0EC07C004F0496C7E91260E01F890380E +01F8DB00FC6E7E4A017C49137E047E0118137F484848013E01387F023003307F0270011C +497F0260011813E04A0100491306DD798090C7FCD9E180160801E3C8387B001C01E00378 +131E193F02184C7E0003010FB87E496C83A20204C70078C9FC91C8FCA25B1207A290C9FC +A3000E19021A07F20F80481AC00130F03FE0D8383FBA12F06D19F8487ED86008CDFC00E0 +CEFC5A4D4E7CC553>44 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FV cmr7 7 6 +/FV 6 55 df<13381378EA01F8121F12FE12E01200B3AB487EB512F8A215267BA521>49 +D<13FF000313E0380E03F0381800F848137C48137E00787F12FC6CEB1F80A4127CC7FC15 +005C143E147E147C5C495A495A5C495A010EC7FC5B5B903870018013E0EA018039030003 +0012065A001FB5FC5A485BB5FCA219267DA521>I<13FF000313E0380F01F8381C007C00 +30137E003C133E007E133FA4123CC7123E147E147C5C495AEB07E03801FF8091C7FC3800 +01E06D7E147C80143F801580A21238127C12FEA21500485B0078133E00705B6C5B381F01 +F03807FFC0C690C7FC19277DA521>I<1438A2147814F81301A2130313071306130C131C +131813301370136013C012011380EA03005A120E120C121C5A12305A12E0B612E0A2C7EA +F800A7497E90383FFFE0A21B277EA621>I<0018130C001F137CEBFFF85C5C1480D819FC +C7FC0018C8FCA7137F3819FFE0381F81F0381E0078001C7F0018133EC7FC80A21580A212 +30127C12FCA3150012F00060133E127000305B001C5B380F03E03803FFC0C648C7FC1927 +7DA521>I +I E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FW gbsn11 10 40 +/FW 40 252 df<02045C02064A7EDA0780497E6EB612F084609239C00003C0B3AD5DA214 +07A792C7FC5CA4141E1BC0A25CA25CA24A1701495AA2495A4948170349C8FC013EF007E0 +0178F00FF04993B612E0D803E019C0D807806F1500001ECEFC127C12F012C04C497CC053 +>1 D<1806180F00C0EF1FC0007FB97E616C600020CA000FC7FCCBFCB1120412060007B9 +FCA30180C9120FA385A396C7FC181C95C8FCAD1A201A60A41AC0A41901A21AE019031AF0 +F10FF890BA12F01AC00001F0FE00454476C053>3 D<18401878187E0160167F0138167C +6D1678131E6D7E6D7EA26D7E801301A26D5AA291C9FCA562F20380F207C00330EE0FE090 +2601801FB812F06E7E38C003E0277FFFF008C70078C8FC6C01FCC8FCA2383001F000005B +B3A24B7E0307C7FC150E5D15785DECE1E0ECE3C0ECEF8002FFC8FC5C5C495A1307495A6D +5A6D5A13015C90CAFCA318F86018C04C4D7DC453>15 D<01601830013818786D496C15FE +011E6DB8FC6D6C6D5D6D6C5F0420C812786D6C90C9FC801301A26D5AA291CBFCAA130380 +26C007C01308267FFFE0130C02F8130E6C030FB612F8382003E000005B94C812781A7CA3 +1A781A701A4097C7FCAC1507150E151C157803F01760DAC1E01740DAC3C017C0ECCF80EC +DF0014FE5C5C49481701130F495A6D48EF03E06D4818F00103F00FF891C790B712F090C8 +17C00403EDFE004D477DC153>I<1A0C1A1E000C0218163E000EDA3C10157F6CDA7F1FB7 +128090B6128F16074BC7D80780C7FC903880003CA217C017F017FC17FE17F8A217F0A490 +B500FC13E01601A2903880003CA34D48C8FC16031A021A07F20F801A1FDC0780EC3FC04C +B712E05E90B5EAFC07932603001EC8FC6F7E902680003EC75A85033C15F0033815FC0320 +4A7E92C813F80220EDF8F0023815F0806EEC01E06E7E6E6C13036E6C14C0816E6CEB0780 +037C130F037E1400033E131E037F1760913901DF803CDA079F137CDA1E0F1378027C5CD9 +81F0EB81E0903987C00783D98F80D987C015E0D9BE00EB0780D80FFCD9020FC7FCD83FF0 +EB003EB4484A1501D87F805C001FC74848ED03F0000CDA07C0ED07F8C8484891B512F04B +C814E0037C6F1380DA01F092C8FC4A5A15804D4D7CC353>I<140C00C0131E0060131F00 +7FB56C15036F4B7E92C97F2878003F01804A7EDA3E00B77E143C027C6D5D02780140CAFC +027090CBFC14F05CA3495AA25C130391CDFC1A0C49181E0106183F4A6CEE7F80D90E00B9 +FC010C6D17C06D198001079027200001E0C8FC6D6CC7FC1301806D7E1470A280A26E1330 +1638021E013E140C163F020ED97F817FDC7C011307737E020F13784A01F86E7E021E01F0 +8103011500023E01E081027E17783A79FFFC03C000788590273FF80780153ED91FF01300 +6D484882EC800E903806001E90C7001CEE0F805DA25D156003E016074A5A5D4AC716004A +17060206020391C7FC0204EB1FFF91C7FC16019338003FC000F8161F715A48040EC9FC48 +93CAFC4A4C7AC353>19 D<150C030F1408010E02E0130FD91F8016C002C0018080028090 +C71380020093C8FC013E18300406153C013C6E157F017C038015800178DA01C0EC7C00EE +00E04903F05C020402785CD9E00F147C000102CF013E495A01C013EFDA1FCF011F495AD8 +0380018F5EEC3F0F2607003E4CC7FC023C020E1306000E017C160E0278020C130C261C1F +F00200EB0006D83DFE180F267FF1E0EF1F80D8FFC10208ED3FC0267E03C0010FB7FC0038 +01806D16E0D8000719C00200902602003FC8FC4991C7FC010E16775BA249EEF78049EEEF +E00501137849EECF3CD9C0060203131F2601807E92388F0F80260303F80207EB07E02607 +1FC092380F03F0260E7F00020F6D7ED81FFC030E6D7ED83FF0031C8001C0187E6CC70238 +80000E1670C88305E0141E05C0140EDC01801404912601CF0392C7FCDA078F130091383F +0F06D901FC1304D90FF090C7FCEB7FC03803FF00EA1FFCD87FF01802D81FC04C13076CC7 +031EEB0F800006051814C095C7EA1FE0C848B812F01BF85D93CBFC150E15064D4A7DC353 +>21 D +28 D<8014E002F902101420902601FD80013C1478DAFCC0D97E3013FC02F0B6381FFFFE +4A038F7F0103DBFE0F13FC913CC0F0003C0C007895C7FC13071480A2EB0F00A3131EA213 +1C133C1338017F16606EB539FC3FFFF85C01FE8249903BF0003C100078000194C7127C01 +BC033E14780003043C1460013C033091C7FC000793CAFC1206000C1930001C0303157800 +184B6C14FC003004C3497E4C6CB5FC006091B58100C07014FC95383000F8000002F0C75C +1901A206185BA21903061C5B176005F01307932601F80E5B05FC130F92B5FCDDFE0790C7 +FC6103F0C7139EF003BE19FCA2725A618518034E7EF00FBE95381F3F8095383E1FC04E6C +7E9538F807F8943903F003FC4D486CB4FC94261F800013C04DC7EA7FF005FCEC3FF8017C +DA03F0EC1F800201D90FC0EC07000178027EC812020170D9E0F092C7FC010049CBFC4D4E +7CC453>34 D37 D<4A6C166003F016F0DBFC604A7EDBF83FB67E4B6C8103E016F8D8 +0380913A00300003F001F06001F86001E06F13076201C0151C050C49C7FC170E0506131E +1707715B1880716C5AA2725A943800E1E01873F07BC0F03F8096C8FC84F07F804E7E9438 +01F7E0943803E3F0943807C3FC94381F01FE94393E00FF804DEB7FE00007DB01F0EB3FF8 +0180DA03C0EB0FFF0100DA0F806D13F0C7023EC76C13F804F802001380DBE1F0ED7F0091 +2603E3C0151E03C1C91204DB001C92C7FC91C7121F17C05F94CAFC161EA219301938197C +19FE486C4C7E6CBA7EA27F0140C7001ECAFC90C8FCA61A181A1C1A3E1A7F00C0F1FF80BC +12C07E7E0020CEFC4D4A7CC253>42 D<13E00170170C6D170E6D0170151F011F013FB712 +806D6C6C16C0A2902607C008C8EA1F006EC9121E13035C124038780180007FCBFC127E12 +7C1278A2021014180218143C021C147F021FB6128018005F021EC7123CAC021FB512FCA3 +021EC7123CAC021FB512FCA3021EC7123EA3173C173802181420021091C7FC91CAFCA8F0 +FFFE183F00F8EF07FC180148715A00C060CC1240424C77C353>45 +D59 D<0102160301034C7E6D +6C4B7E91B812F0A219C002E0C8EA0780A81630163CEE3F801700163E163CB2EE3DC0EE39 +F8EE79FC17F817F017E0A216F904F1801303A2DAC0015D028001E1010EC7FC90C792C8FC +ED03C1A2ED0781A2DB0F011506151F153E157C03F8160EEC01F0EC03E0EC07C0DA1F0016 +1E143E02F8171FD903F0173FD90FC06E147F013FC76D14FE01FC6EB612FCD803E06F14F8 +D80F8018E0007EC9001F140000F093C9FC1280484B7BC253>68 DI<023081023C15F0027F15FE6F5C027CC85A60147814F8 +5C16C0494813F016FC82494813F8A24A485A01071830020049153849187C010E18FE4B48 +4A7E4991B81280EB1F80EB3FE09128F0078000F0C8FCD937C090C7FCEB7780136701E713 +0E13C700015C1387D8030713181538000614301570000C146000185C1A020030D9818016 +0700600180C8EC0F80F21FC000C0018CEF3FE000800187B912F0120014830282C800F0C8 +FC1480B3A8130F170191C8FC010C16C090C990C9FC4C4E7DC453>71 +D<1402EC0380DA07E0161C03F8161F4B17C0020F188003B81700039E161EEC1F0F6F7E91 +383E03C091383C01E091387C00F80278137C02F8017E13104A6D131E494890391F801F80 +DC0FC013C0494801071400494814E0933803F01E49C7EA01F8131E011C146049ECF0FC01 +78903801F87C01F6EB03FCD801E3B5133801C314FED80381ECFC30D80701C9FC000ECAFC +5A12305A48150C48150EC9EA0F80026014C0027014E06EEB1FC06E1480021E140000026D +131E000314803A018007C03ED800C0143C01E013E0EB700301781438013C1478D93E0113 +7015C0011F14F04B5ADA8000143E010F4A133C03011438020092C7FC4B5A130E010C91C9 +FC90C748131E92380603FCEE7FE0DB0FFEC8FC913801FFF0027F90C9FC90383FFFF0000F +B50080ED803E6C01F8C83801FFFE6C90CA5B01F01707D80180715A90CB1201CC5B735A1A +804A4E7DC553>74 D<151C0004021F1610000703C01578D803C018FC6C6C91C8EA03FFD8 +00F8011EDA800F13806D013E9139C03FE000017E70B4C7FC013E013C9038607FF8057013 +C0011EDBF87CC8FCD90E60903801FC78D90C7FB512FEEB003FA2DA0078C7FCA25DA26C13 +6012E000709026C0F1C01504003C9026C1E1F8150E003E6F151F261F018149ED3F80D80F +814A157F01C3D9C1E0017FB512C0000713831403D8038793397803C00015812600060714 +C0010E15E0EEE1F0D90C0FEBE3F8D91C1FB512FC5CEB3C1F903A380601E0001402EB7800 +1370A213F05B1870000117F0171CEEE1F84848ECEFE00007EDFF0000FFEC1FFC913801FF +E0001F137F000FEBFFFDDA7FE1EB01E03907803F01141C020815C0140017031880A2EF07 +00A26D150E120F5F5FA25F5FEEE1C00007912603E380495AD8018002C0C790C7FCC890C8 +12064A4C7BC353>76 D<4D7E0208EC03E0020F15F803C0497E6F14E00380495A4D48130E +92C790C7123F4DB612C04D15E000041AC0000604F8C7EAFE00D803804A485C01C04A48EB +01F0D801E04A481303D800F04A48495ADC1FE0495A0178DA3CF05C017CDA787C49C7FC01 +3E4A6C133E922601C01F5B013FD903806D5A011F903A06000F81F092C7EB87E09438078F +C0F09F80011E6F48C8FC011C923800FC0E0108923901F80F800100DB07F013E0DD0FC05B +DD3F805BDDFE0090C7FCEE03F8EE0FE0EE3F8004FCC7FCDB07F0ED01804BC814C04AC9EB +03E0DA7F0CEE07F0902601FF0FB812F8903807EF07EB1F8F90267F0F02C8000FC7FCD801 +FE90C9FCEA07FCEA3FF0D8FFE0140CD87F801407D81F006E7E000EED01E0000682C76E7E +177C177E83A283A283A2170EA294C7FCA4F0601F95B5FCF03FFE1803725A4A150061021C +167091CA12404D4D7EC453>82 D<191C191F1AC01A801A00191E160C0208EB0F8000C001 +1C14E00060013F5C007FB500805B03C090C7FC15003878001EB3AA197EF003FEF00F9EF0 +3E1EEF01F8267FFFFEEC07E0EF3F8093381FFE002678001EEB3FF8923801FFE05F6F6CC7 +FC163C021C1310021090C8FC91CAFC12F8A25A12C0CCFCAC193E193C1930424C77C353> +119 D<17040107150702C08102F06E7E4A814A6E7E5C050014181A384E137C030316FE93 +B8FC8181DBC080CAFCDA81E0C81230912683F006143C0080902687F807147FB66D6C806C +6E6C6C017EC7FC03F86D13F826200780C77E0000705B94387C01E0A24E5A053CEB800206 +07130705389038000F800330D9000EEB1FC0031FB812E0A2810308CBFC0360130FDA83C0 +14C0DA8F80131F02BEC790C9FC02FC141E02F0143ED90FC0143CEB3F8001FF4B5C0007F1 +0380D81FF7F007C026FFC7864AEC0FE0D90783B912F0003E1381121C00089029808001E0 +003CC7FC00004A485A197C4C48137819F84CC75A4C1301041E5C043E13034C5C4E5A9338 +7F800FDC1FF090C8FC933801FE1E9338003FFEEF07FCEF00FF4D13C0943803EFF8943807 +C3FE94391F80FF80D8300F92393F003FE0D83FFF03FCEB1FF86C90C7D807F0EB07FC0001 +DB3FC06D7E6C4AB4C8FC017ED93FF8157E90277C0FFFC0153E9026381FFCC9121ED9301E +CA120E4C4F7DC553>122 D<170C170F6C010CEC1FC06C011E810060011F1580007FB56C +497E6F133E4BEB7EE02678003FC7EA7C60023EECF8704A810278EB01F04D7E4A0103131E +4D7E4A49487E0101DA0F007F4A6F7E041E6D7E4948498004386D7E91C748147E4902F080 +010649486E7E4B4881494948EC0FF093C86C7E49010EED03FEDB1C1090390101FF80DB38 +1E02E013F06D9026601F80EBF87F010701C09238FC1E0090260381800100EBF00C902701 +C0001E92C7FC616D7E147014781438143C141C141E140E140FA75C161C027E133C3879FF +FE00785BEB3FF8EB0FF06D48137C028013780102C7FC90C812F85EA24B5AA24B5A4B5A4B +C7FC151E5D5D4A5AEC03C000F849481403021EC8FC480138168000C090CDFC4C4D7BC453 +>126 D<1830183E010EEE3F80D91F8093C8FC6E153E4A153C91C9FC133EA2133C137C01 +7819C0F201E0D9F003EF03F003C3EE07F849486CB8FC000114F19038C00FE09227C08000 +3CC8FCD8038049C7FC4AC8FCEA0700143E000E133C14FC381C1FF8383DFFF0EA7FF026FF +C1E0170C267E01C0171ED83803183F00004901C0ED7F80010791B8FC91C76C16C0010E19 +800420CAFC4991CBFC5BA25B136013E02801C007E00815309027807F800C1578280303FC +000E15FE26071FE0010FB7FC260F7F805FD81FFCC75ED87FF092C81278EA3FC06CC8FC12 +0CC9FCA315081578EC03F0EC1FC0ECFF00EB07FCEB3FF03801FFC0001F90C7FCEA7FF8D8 +1FE092B612F8EA0F800006C8FC94C81278C9FC1A7CA31A78040E1570040815404D4C7DC3 +53>136 D<130CEB0F8002E017061A0FD91F800118ED1F8091C7000FB712C0011ED91807 +16E0013E133C013C903C7E02001F000F80017FB5C7150070131E90B6C7FC9038F000F839 +01E001E0494848143E00034A143C4948C8FC260700065F000ED90E034A131E021C7F001F +90261807C013F80037B66C5B00676F4848133E00C7933903C1FFFC3D87807807C007C03F +0007923A801F000FF8053EEB03F005FC6D5ADC87F0148093279FC801C0C7FCDC8E0E13F8 +DC800F7F94381FC1F861F001E0171E90B6013E140C1A1E053C143F90268078070138EC7F +80057FB612C0A213009426E001E0C7FCA2EE81C0A2EE8380170048158690B6EE01800480 +ED03C01BE090270078078CED07F0048FB712F81687A2000E9227820001E0C7FC1680A212 +1EA3121CA214701460481300A312300070EB3C0FEC3FFF0060010790C7FC020015034802 +7E5D033C5DC8001891C9FC4D4E7DC453>I<160C161F17C04C7E94CAFC4C7E16FDEEF8C0 +4B487E1760923803E0704B487E1680030F7F4B487E031E130F4B7F037C6D7E03786D7E4B +804A486D7E4A4814784A488092C87E4A6F7E021E6F7E91263C01C06D7E4A6C6CEB01F84A +0178EB00FE49486D147F4948011FEC1FC049C76C6CEB0FF8010E6F6DB4FC496E6C010113 +E04902036E13F0496FEC7F00490201151ED80380180C48C893C7FC000E6F5A121800705E +4893CAFCCB12034E7E01064C7E6DB87E857F91C9EA0FC090CA48C8FC181E183E183C60A2 +60A24D5AA24D5A170760170F95C9FC5F173E173C177CA25F16015F16034C5AA2EE00C04C +4D7CC453>152 D<0270161C023E163EDA3F06157F0010D93E03B7FC001C013C83D81F80 +7FDB0006C7007EC7FC01006E147C001E60706C5BEFC0010400495A05E05B94387007804E +C8FC715AEF1C3EEF0E78EF0FF0715AEF1FF0EF7FF8933801FC7E93390FF03FC093397F80 +1FF8923A03FE0007FFDB3FF06D13F800104AC8EBFF80C7D8383092383FFC00DA0010ED0F +F00338ED03E0037CECE00003FE496C90C7FC4A48EB07F8DA03E0497EDA0780131F021EC7 +EA7F80023802FEC9FCD902F0EB03F80103B612E05F6DD9FC7FCAFC9139F000FC03912680 +03F013E090C7390FC000F8033FC7123E03FC6E7EDA03E06E7EDA0F80EC07F0027EC8487E +D907F0013FB57E90B8EAF07E6D9238C0007FDBFC3CC76C7EDAC000151F0120C7150F90C8 +1507020894C7FC021C1602023FDA03E0C8FCDA7F80EB00FCD901FFED3F80902603F800EC +0FF0D907E0ED03FCD90F80ED00FE013FC7ED3F80017C717ED801F0027CEC07E02807E001 +FFFC1403260F80001601003EC7001F150000F0DA07F8156000C0020193C7FCC85B16C049 +4B7AC253>155 D<140C140F8115E0EC1F8092CCFC021E1740023E17E0023C4C7EDA7C30 +82DA781FB77E864A6C5EDB0030C7EA01F049486D4A5AA24A5F13034A160701076E5D91C7 +FC497E14E0496C6D4AC7FC14C0495A04075C01776E141E136713E7D801C76F5B01871401 +120301076F5B00061500120C001C705B00181660003093387001E0126000E0163000C093 +383803C0120071485AA27148C8FCA2EF0F1E170718BCEF03F8A2715AA24D7E841707EF0F +BEEF1F1F053E7F4D6C7E4D6C7E933901F003F84C486C7E4C486C7E4C48137F4CC7EA3FC0 +043C6E7E4CEC0FF84B48EC07FEDB03C0913803FF80DB0F806E13E0010F011EC913F8037C +163FDA81F0EE1F8090260E03C0EE0700010890CA12024D4D7DC453>157 +D<1602DC03C013E001C003F013FC01606F7F017803E05B6D5F6D4B5B131F6D7E8013076E +17060103180FF21F80902601C040EE3FC0DA807FB8FC90C76C17E01BC092281003C000F0 +C7FC1500AA13060107F0018026C00F80EF03C0B500E017076CD9F180EE0FE002E1B912F0 +382007801200922840078000F0C7FC1500A4160F94C7FCA35E161EA25EA25EA25EA24B5A +5E4B5A4BC8FC150E5D5D010F5B90261EC1C0140190263C61805DD9F830C8138048486C92 +C9FC3807E00E391FC00780393F8003F090C7B4EE01F8001E023FB812E0001C020F178000 +0C14030008DA003F16004D4B7DC353>159 D<1A40F103E001C0170F0170EF7FF06D9338 +03FFF8011E0240013F7F6D913A7003FFFE046ED9783F0180C7FC6D6C90263FFFE0C8FC6D +6C02F0C9FC6E013CCAFC1301A21300A21460144091C7FCA31A021A07F20F801BC0F21FE0 +043FB712F01BF813036E90273C0001E0C7FC38C007C0387FFFE06C01F81338A2263003E0 +137800005BA716F85EA44B5AA25E15035EA24BC7FC5D151E151C5D5D5DECC1C0903807E1 +80D91E70C8FC496C4B5AD9F81C5E2603F00F92C9FC390FE007C0393FC003F849C6B46C16 +186CC76CB812F0001E021F17C0000C02071780000802001700C900015D4D497DC353> +163 D<130201031718193C6E167F91B97E97C7FC6102C0C9123CAF91B812FCA302C0C738 +70003C0530133E4A143817180107031C133C050C1330050E90C8FC838384717EA2030C6D +7E9126000780137049D903E013786F6C1338DB007C133C043F7F706C7E706C6C7E010E03 +E07F011E6E6C6C7E04036D7E04016D7E011C177E040080013CEF1FC005706D7E01380360 +EB07F8017892C76CB4FC0203040013E0017001E0EE7FF0DA00FCEE3F8049D93F80ED1F00 +DB0FE015060001DA03FC150249D900FF92C7FCEE3FC04848EC1FF0EE07F848C8EA03FEEE +00FF000E707E000C707E001C161F48707E48160700601603481601CB5A18404C4C7CC353 +>166 D<1310011E1530D91F80143C6E8091C86C7E717E011E8217031A030501EC07801B +C0F20FE002034BEB1FF06EB9FC1BF8800380CBFC011F90CCFC14C0EB1EF0000C137C80DA +1F8182000E010F6DEC01E0DBC1C04A7E020790B77E020383038116F0001E010101E0C7EA +01E0EC0001123E127CA212FC12F8A212701200A493B7FCA39339E001E001A362040092C7 +FC92C791C8FCA316C004F01470DB01FC8004FE141E03036F7E04F06E7EDB07E06E7E04C0 +EC01F8DB0F806E7EDB1F00157E031E82033EEE1F804BEE0FC05DDA01E0EE07E04B16034A +5A4AC71501021C020315C04AD90FFF14000220188091C7000116009338003FC0013E151F +013C6F5A013093C9FC90C912084D4F7DC553>175 D<17041706010EED0780D90FC06E7E +6E8102806E7E1A3091C914781A7C030C4A13FE0307B8FC816293C80040C7FCDB00041470 +0407147C706C137E7113FF706C13F8DA01806D5B9239C000F8014A6C5D0080496C903A7C +03C00180B66C017890388003C06C9439070007E0057015F027200F007FB812F812006F17 +F00320CBFC92CCFCA25D7015C0704A7E93B77E866204E0C7EA01E0A593B7FCA304E0C712 +01A31579EC03F1EC0FC1EC7F0102FC90B7FCEB1FF0EBFFC02607FE009039E0F80F01EA7F +F8EAFFE06CC702F0ECC060003E038091C7FC001891C7FC1210C9120117E01BE01603EE07 +C0A2DC0F801401EE1F00047E16F0DB01F8ED03F8DB07E091B512F0DB3F8016E0DA01FCC7 +6C1480DA3FE091C9FCD903FCCCFC14804D4F7DC553>184 D<161882160F707E834F7E04 +034A7E190701C04B497E017FB97EA27F9026200380C700C0C8FC90260001C014F06E6C14 +FC6F8003781301037C14F0033C495A033E5C4E1306031E49C7120F050EEC1F8000C0021C +EE3FC0007FBBFC7EA20020CEFCCFFC806E16606E16F091B87E856102F0C95AA891B8FCA3 +02F0C9FCA791B8FCA3913AF007801E00A2DB0F005C02E093C712C0DA001E16011B80153E +153C157C15785D020117034A5A4A5A4A48EE07C0023FC7FC02FEEF0FE0D903F8021FB6FC +D91FE018802601FF806EECFE00D87FFCCDFC13C04B4E7CC553>190 +D192 D196 D<140C140F03E0141C181F038015C092C85B030F +92C8FCDB07E0131EDB01F8133E6F6C133C167C167E043C5B161C16189338018070933803 +C0F0DC07E05C00604B6C48EB0380007FB7ED07C06C04F9EC0FE0DDF1C0131F2610000FC7 +0001B612F0C75D1BE095398001F0001707000861000E15206CED300F0180EC780DD803C0 +9138FC1DC0D801E001010119130301F0ECF018D800F8903803E03001FCEB07C0017C9027 +0F8060E05B017E1400013E011E13C0013C903938018060037014709226E00300495A0138 +49C7FC0110491438010090C8FCA2DE3C0FC7FC03E0141CEC3F78DAFF3FEC1E1E902703EF +0FC0130E902707CF07F0130F90271F0F01F85C017ED900FEEB07BCD801FC027F14B8D807 +F8DA3F8013F8D81FE06E6C6C5AD87FC0140FD8FF00913807E001003E0303497E001CED01 +C0000C0300497EC79238000F7EF01E3F95383E1F8006787F943901F00FF04D486C7E4D48 +6C7E94391F8001FFD9FFBF023EC713C06DB402FCEC7FF0D907FED903F0EC3FFC0101DA0F +C0EC1FF86D48013FC8EA0F004A01FC150691267007F092C7FC9138600F80DA4004CBFC4E +4F7DC553>205 D<1460027815C06E15F86E15FE141F6E6C14F81970193C0207161F737E +DB0003EC07E04C140391C7260F80F07F00C0DB1FC01301007FB700E01300A27E0020CA14 +70CB146097C7FCA21A0301406E16800160D901E0ED07C00170902603F180EC0FE0017FB5 +6CB712F0707E16F0902A780001E020F0F0C7FC1700A9EF01E0017FB5FCA39038780F0116 +F016E001601480010090C713C017030130130601381307013EEB0380017FD901C01380EE +E007017CEB00F001F802F8130001F0EC7C0F120101E0DA3E0E1510051E1538D803C01930 +EE3C3CEA07800100EC187848ED1070000EED00F0484B48157000185E00384B5A48491307 +D8607C4AC714F026C07FFF011E16F8D8800F021CED01FCD800034A91B5FCD900FE4916F0 +027C496E13C091267801C091C8FC9138600380DA0006CBFC4E4E7DC453>210 +D226 D<140715C04A7E815D4A5A5D4A +CCFC143E5C1A180278173C02F8177E49BAFC1B805B02C0CAEA3E0013074A173C49CBFC13 +1EA25B5B13705B1201D803C4153001861578D8070315FE000E90B7FC121C003816FC0030 +01C0C71278126012E012801200AB1A38A41A78A291B612F8A302C0C7127CA31778177001 +07154094C812704A17F091CBFC130290CCFC4F5AA219034F5AF07FFF060F5B060090C7FC +197E193C1930494E7CC453>233 D<170EEF0F8018E0606095C9FCA21238121E6C7E6C7E +EA03F06C6C5F6C6C4D7E03184B7E017E010FB712F090263E03078262903D1C0602000F00 +03C092C7FCEB180C1300141C1418143814301470146014E0A2495AA2495AA249C8FC170E +051EECC180010EF0C3C0F2C7E0D91C0618F06EB912F8EB3C01013819F00178902780001C +C0C8FC91C8123C491660A21277B448ED3830007F1678000F173800071718EFF01C120349 +4A487EA2EFC00F04037FDC07807F727E4C486C7E040E806D4A6D7E043C8000074B147E4C +804B486E7E4B4815E04BC8EA0FF8031EED07FE00034A923803FF8000010270030013F0C7 +4848EE7FFCDA0780EE3FE0020ECAEA0F800238EF0700026017014E4D7DC453>251 +D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FX gbsn15 10 30 +/FX 30 253 df<020CEC01C0020E816E6C14F86E6C497E6E6C14F06F5C6E6C495A601A20 +037849C71270050E14784D14FC00C002700118497E007FBBFC1B807E0020CEFCCFFCA615 +03486C6E140E6C6C496CEC0FC090B66C81705D629028F00007C00E91C7FC9338800F8018 +E018C018801800A690B6FCA39038F00007AB90B6FCA39038F00007A45FA2171C94C7FCA5 +F0701F95B5FCF03FFEDA3FFF14036E6F5A0001010190C8FC6E6C5D49013E157049013C15 +40C8001092C8FC494F7BC553>3 D<1604EE078017E0A201064B1304D90F804A1307D907 +E017C0864A5F4A5FA849B9FCA25B0280C912070107C912306D163890CAD83E06C7FC0110 +0106023FC8FC011ED907C080D91FC001F0017CC8FC5E0200491378011E4A13F893388180 +F0DC83C1EC0380933887E1E000C0DB8FF1EC07C0007FB700F3B612E06C04FB15F05F3F20 +1E0007800780001FC000004CC71300DD0E1E133E95381FC03C051C6D5A0518EB00700538 +1460057014E09439601D80C005E0EB8180DC81C01380DD803D90C7FC011FB5D883007F04 +82133C168090261E000781A218781970A218F84E7EA20501133C4E7E17034D487E06807F +050F6D7E011FB5D91F007F053E6D7E4D8090261E0007496D7E92260F81F06DB4FCDC87E0 +EC7FC0DC9F80EC3FF04CC8EA1FFCDB0CFCED0FE0DB07E0ED07C0013ED91F80ED0380013C +013CCBFC013090CCFC4E4F7DC553>9 D<040415400203010615F091260780074A7E00C0 +D90FE090B67EB600F0826C02E016F86C02C00180C75A3920000780C7FCAA94B6FCA21202 +D803809238803C0090B5836203C0010014C0D9800790C791C7FC12075D4AC8FC140491C7 +004015080460151E90C80070153F047FB71280481AC01B00933A78003C001E140C141E00 +1E131F001FB512804814C015E0390E000F8000041400C7FC5C141E047FB612FEA3933A78 +003C001E1A1F1A1E1A1897C7FC021C014015C093C71460023C17708686861A0FF207801B +C04A17031BE096380FFFF002F892383FFFF9DB203FB538FE01F8271E07F03FB6EA8000D8 +1FFF6D02E0C7FC000101E002F8C8FC28003FC00FFEC91278D91F8001C01670010ECC1260 +010819004D4D7DC353>18 D<01061830D907C0EE01F802F0160F4AEE7FFC4A923807FFFE +4A92B6FC051F01F0C7FC93260FFFFCC8FC923901FFFE78923800E00093C7FC18F860A202 +811704DA83804948130EDA87C0160F0040D98FE0EE1F80007FB527F18003C0EB3FC06C02 +F0B812E01BF03A100F80007F00009227400780C0C7FC160094380F0060011F1770051E13 +3019384D7FD91DE04A131E496C8202BC4AEB07C0029E49486D7E91268F80036E7E017B6D +484814FC90267387E0496D7ED9778349C8EA7F8001E7021E9138083FF00281D97FC09038 +0F0FFEDCFBF0ECE7F82901C780C1E3FCECE3C0922607C3F0EC8180018790260F83E091C7 +FC0003EC3E01010713F80007EB81F0000614C0000EEB8000120C121C1218123812300060 +5E160312C01200A516075FA2160F94C7FC161EA25E5E4B5AED03C0ED0F80031EC85A010F +1378DA81E0151C90260E018092C8FC010CCDFC4F4E7EC453>24 D<02185D021C4B7E6E4B +7E020FB712F0856192C8EA03C0B292B7FCA392C81203B392B7FCA392C81203AE1A03F207 +80F20FC000C0F11FE0007FBBFC1BF06C1AE00020CEFC4C477CC153>37 +D<1610161C93381F80C0EFC0F0EF007C041E7F727E727E727EA218031801A21A20953800 +C0701AF8F100FC0060F003FE003FBBFC6C1A80A20008C8001FCAFCC9FCA283161D83161F +0140021E4A7E01786F80011E17036D6C0260497ED907E00270497ED903F84C7E6D6C6EEB +3F806D6C047EC7FC027F023C5BDA3F8090381C01F8021F91381E03E0020F91380E07C002 +0791380F0F80DD071EC8FC020315F8715ADA010014C091C7EA7E01DB01FE7F92390F9E00 +F0DB3E1E7F03FC147CEC03F0DA0FC080DA7F0080D901FE82D907F86F7ED93FE0ED07F0D9 +FF806F7ED803FEC76E7ED81FF870B4FCD8FFE0717ED87F80EF3FE06CC8ED1FF8001C72B4 +FC000C7213E0C9030113F0731380F23E001A1C97C7FC163E913801FFFE6E5B150F15036F +5A5E6F5A5E4C4E7CC553>70 D<02384A7E023F15E06F80023EC713FC023C15F04D5AA260 +A20306494813C003074B7EDB0F804A7E000C4A6C48B57E000FB612E06C8594391E000FC0 +2602003CC7001C5CC7033C91C7FC0538131E0530131C0570133C056013384D1330040114 +704D136004C3C712E0DB01E3ECC008DB03F2151E00C0913B07F18001803FB76CB712806C +7015C01B002620001EC70060C7121EC792C8FCA5EA01C013F813FC13F817C001F0902601 +807FB512FE707EED03E001E0902607F030C7121E91261FFFF8C8FCA3021ECAFCA3120313 +F0A201F81406019C6EB612FEA2018E80D8078792C8121ED9079E90C9FCD903DE171FD901 +FE171ED80E001818027E94C7FC80000CEB1FC0001CEB07F86EB4FC0018010001FC16F800 +38023FB8FC0030020717C0030017004803075D93C8FC004095C8FC4D4D7DC453>74 +D<19C08500604D7E00704D7E003C4D7E003FB97EA3003CCDFCA61702EF078084EF0FF084 +EF1FE06002C05D6E4AC8FC0238143E6E147E020F147C6E6C5B913901E001F0EC00F09238 +7803E0033E5BED1F079238078780DB03EFC9FC6FB4FC6F5A167C82167FEEFFC0923801E7 +E0EEC3F092380381F892380780FC92380F007E030E137F4B7F4B6D7E4B6D7E4B804A4813 +07717E4A5A4AC76C7E020E14005C4A15784A15704A1530494815204A92C8FC90CDFCA319 +08191C193E193FF17F80003FBA12C01AE0BBFC48CDFC123C12381210434C76C353>I<4C +7E4C7E834C7E00C04B7E007FB7FC837E270078000FCBFCA41AE08604184A7E040FB67E70 +81A2933A00180003F0051C5C62017FB5130CA21907902678000F5EA2170EA2050649C7FC +A31707191EA283F0801C193CA2017FB51301725AA2903878000F716C5AA26118F1187193 +3901E07BC0EE07C093393F003F8016F804E0131FDB1F8091C8FC037FC7FCDA03FF81DA1F +CF4A7EECFE0FD97BF84B7ED9FFE0EDFBF0000F0100EDF1F8D8FFFC923801E1FC01E0ED03 +E0D87F80EEC07E003CC74A486C7E00384C486C7E0010041E80C84A6D7E4DEB07FC4D6D7E +4C48903801FF80DC07806D13F04CC8EA7FF8043CED1F804CED0C0004E092C7FC031ECBFC +151C15084D4E7CC553>82 D<497E14F002FC16304A16784A16FCDAE0304A7E031FB6FC85 +6F5D92270C3C01E0C8FC1500A20340160303E0EE0780DAE1F002E7130F0030D9E3F802E3 +B512C0001FB500FC02E114E07E9539E0800F00270C01E0004B5A1200DC3FFF141EA3EE3C +0118E6031002E3133E03389138E1803C037CECE0C000C002FE15E0007FB6157019386CF0 +3C782720007800151CC7170E190FDC3FFF6D5A1903A2DC3C016D5A86D80380131801F001 +3C8201F8017E4B7E01F013FFD9E07F17BE01C002BCEC079F043CECC71FDA78009139E7CF +0F80F0FF0E94261FF81E13C09439FFE01C07D80780023F143C01C003FD90383803E09226 +07FFE1137001E0013F130101F0D91FF814E001B0D90FC0ECC0010138D9070013E1D80F1C +0106DAE38013C0011E90C7D9E7001380010F1900260E07F803E290C7FC010316E01301EA +1C00147C143F0018D91FC05C0038D907F849C9FC6EB46CC9120800300100D9FF80EC1FFC +0070021F90B712F0006002071780DB007F16004803015D93CBFC5A4E4E7DC453>85 +D<1618161F17C05F94CAFC161EA91918191C193E197F01604D7E013FB97E7FA20118C700 +1ECAFC90C8FCAB1A181A1C1A3E1A7F00C0F1FF80007FBB12C07EA20020C80060CAFCC912 +F016FC4B7E82ED03F9ED07E05E4B5A151FEE0006033E6D7E4B6D7E0378EB00F04B14784A +48143E4A48804B6E7E0207ED07E04AC86C7E021E6F7E02386F7E4A167E4A824948707ED9 +078091B6FC90260F001FB77ED97F3FB638F807E090B7EA80006D91C81203158002E0C912 +01013CCA5B90CCFC624A4D7CC453>I<1304010716C002C015F002F015FEEB0FC04A15F8 +6091C9FCA25B011E5B4B7E011C497E013C130F0138496C4A7E013FB56C8149DAF380497E +04F1B612F8D9703CC78101E018F0943940F001E001C0150012011380120313005A12065A +A248153000101578C714FC00C04A7E007FB6FC826C5D2620003CC81580C704E0EBE1C005 +01ECE3E00406EDE7F070B712F882D80380130201E09027038081E4C8FC01F89138F001E6 +13F001E002C013C601C0150318C718C3A2F083801707F081C01801170F727E051E7FA203 +0F491378037F157CDA3FF349133C0383153E9026C7FC03497F2607FFE001C181003F0180 +49486D7E297FFC000207C0EB07F0D83FE09026000F8080000FC848C76C7E000C037E6EB4 +FCC9486E13C0DB03F0ED7FF04B48ED3FFCDB3F80ED0FF803FEC9EA0780DA07F0EE030003 +C093C7FC0204CCFC4E4F7DC553>98 D<1418141F15C05D92CCFC021E170605031407716C +EB0F8095B612C01BE0A204189039E0000F80043C1600167E001815FF000FB7FC6C168117 +012606001EC7FCC7FCAA1603EE078117C100C0ED0FE1B812F17E17E12620001EC71201C7 +EA3F8015E0A2027EC7FC147CA25CA2495A150CECE00E01037F9138C003800107EB01C002 +8013E049C712F01678131E043CEC7FFF49023E8049021FEC03FE04FF14004948B5008114 +7C4848B500CF157848B5D8F80F1520000F020001C191C7FC14F091C7EA0781EA07F813C0 +0002C81301C912061600A21703A26095C9FC4B4B7DC253>101 D<1730173EEF7F80A203 +C0017EC9FC4A6C4913066F49130F00C0496C4848497EB600FC90B67E7E6C4A5A27200780 +009026C0007EC7FC00004B4813F84CC75A49C7000E495A041E5C041C495A4C1307011E4A +EC00034C010E148004F8010CEB07C0011C49B812E0013CD9039F16F0ED071F0138903C0E +1E001E0007C00178011C178001701338EC06309038F00F009038E01FC090B512E04814C0 +15809038F00F001203041FB7FC1207A2000E923A1C001E0007A2120C121C12181230A212 +60A212C0A212801200041FB7FC5EA2933A3C001E0007A390B5FC16381678EBF00F158016 +7016F04B5AEC0C0102005B15035E484849C7FC0180130EC8001EED3FFF0338150F4BDA3C +0113004A48913838007F4A480210133E4ACA123C020617104C4E7DC453>104 +D<02C0140C02F0140F496C15C06EEC07F014F018C0494816C04AED80F0197C4948018014 +3FDB01C06E7E90270F0003E06E7E04F0140791B512F84902FC1403A290273C0003F01401 +DB07E05D013814C0017CEF0004017F0280150E9026E7C00F161FD9E3F001B0ED3F802601 +C1F8011FB712C0D980FC7F0003EB7C1F9029007E1E080F18C8FC48013E1300390F801C3E +D80DC0013C802618E00C141E2738F0087C140E27307000781406D8607801F8EB3E07D8C0 +7C49133C26003C016F7E013E49137C020302787F011E491401020702F07F4A486E7E011C +4A5A9026181F001578D9003E4948137C023C49487F027C824A49C77F4948011E6E7E4948 +496E7E494849EC03F8494801E015FE90271F0003C0913801FF80013C49486E13F801F801 +0EC9127F4848013CEE1FC0D807C001F0EE0F00270F8001C01602263E0003CCFC00F890C8 +00401320D8E0106D0160133800006E6D7F036001387F013001706DEB0F800378011E6D7E +03386D6D7E033C6E6C7E0170013E010780031E6E6C7E01F0011F8000010403147E5B0003 +193E120748485E4848011E0101141C031C5C6CC7000890C812184D4D7DC453>108 +D<01E0ED0380017016F06D826D16E0131E6D6C5D1307806D7EA31301A25C90C9FCA8496C +17606E177026C003E017F8267FFFF04C7E02FC4C7E6C94B6FC382001F000005B06C0C8FC +B1163016E0ED01C0ED0780ED0E00153C5D5DECE3E0ECE7C0ECEF8002FFC7FC5C495A5C49 +5A4A17030103F007804A18C06D48EF0FE090C700C0EE1FF0037FB8FC6F17F8A20320CBFC +4D487DC253>116 D<1608161F17E083178094CAFCA883A2161DA383A2163CA383A31760 +EE7870A317301738167016F083A216E003017FA2170F4B487E84A29238078003841701DB +0F007F717E151E18785D844B143E03F8141E4B141F4A486E7E02036F7E4A48814B14034A +C86C7E4A82023E6F7E4A167F02F0707ED903E0707E4948707E4948EE07F8013ECAEA03FE +49943801FF80D801F07113E04848F07FF8D80F80183F003ECCEA1E0000F8190400E096C7 +FC4D4B7CC453>124 D<140E140F15C0810380ED01C04AC9EA07E0193F021E923803FFF0 +023E033F7F023C0203B57E027C91B5C8FC0278013F13E092381FFFF902F0EBF00192C7FC +495AA2495A5C130791C8FCA2EB0FE014F8EB1DFCEB19F0EB39E01371136113E113C1EA01 +811A04D80301180E0006191F1B80000C01E6EF3FC0001801E3B912E0001001E118F01230 +00609127800001E0C8FC00C001E0C7FC12801200B3A21A101A381A7C1AFE03C04B7E037F +B8128081A20330CBFC92CCFCA213035C91CDFC4C4D7CC453>127 +DI<1406140715C0814A6C15020380150792C9487EDA1F1882DA +1E0FB77E023E83DA3C0716C0923B0403C0000F80DA780093C7FCA24A161EA2495AA24948 +5E5C130791C715381978EB0FE0EB1FF84A1670D93BE016F05C137301634BEBE00701E302 +070101148001C3F00FC0D801834CB512E00003170F01037014F00006943903C007C0000C +05011480001CEF00800018180000304BC8FC126012C000001A0062160E161EA45EA45E1A +0EA24C151EA25E1501A24B5AA24B5A624BC9FCA2151E4B167C1A784B16F84BEC1801DAC1 +E091381FFFF04B02015B902607C3809138003FC04AC96C5AD9060E70C7FCD9000C160C4C +4E7DC453>133 D<1610161C82EE0F80707EA2707E01105D1A0C1A1E01304B143F013FBA +12801BC04919E00170CBEA3F8001F0F03E0062484848177000036E02C05B0007D903E091 +38F001C04848486C023C5BD81F806DDA1F03C7FC020FED07C2D80F00D9C00CEB03F0C726 +1F800E6D7E91263F001FEB007E027E02C07F4A496C6D7E4A49C76C7E4948496C804948D9 +FDC06D7E9028078001F8E0130390280F0003F0601301013E49486C13000178DAC03C5C49 +49486C1440D803C049486C91C7FC4848013E6D7E000EC7486D7EC848EB01F04A486D7E4A +48143C4A48141F4A48EC0FC0021EC8EA03F04AED01FC02F89238007F80D901F49238023F +F8D903C69239078FFFF8D90F87ED0FC3D91F07B76C13C0013C9438F07F8001F09438C00F +00D801E00180C738078002D8078095C7FCEA1E00127812E0C7FCAC92B7FCA30380C71207 +A496C8FC0204C812044D4F7DC553>142 D<143CEC3F80A2023ECCFC143CA45CA4050814 +060270020C140F71EC1FC002F0D9C007B612E0DB01E016C000C003F81680007FB600FC90 +3980000F00A27E3A2001E001F0000015E0A214C0A2130316C0A2148001071303A314005B +A21680010E1307131EA3011C1400013C5BA349130E151EA201F8131C153CA2013E133890 +380FC078903807F070903801FCF09038007FE0141F140FEC03F8EC07FE037F91B6FC9138 +0E3FC091381E1FE091263C07F0903880000F91387803F89138F001FC903801E000D90380 +137E49C7003E1680130E013C141E49DA0C0F150001E0180CD803C0020090C7120848C900 +0E91C7FC000E93CAFC4B4C7DC353>152 D<1408EC0FE0EC1FFE6F7E9138180FC0913800 +01E06F7E167082A282A2160C161EA3161F5EA283167F167BEEF9C0A216F1923801F0E0A2 +4C7E0303137016C003077F1680030F133CEE001C4B131E031E130E033E130F153C037C6D +7E157803F86D7E4B804A481301717E4A5A4A481478187C4AC87E021E151E181F4A6F7E4A +6F7E02706F7E14F049486F7E49486F7E4948167C49CA7E010EEF3F8049717E49717E49EF +07F84848717E484871B4FC48487113C048CCEA7FF8001CF13FC00078F11E0048190400C0 +96C7FC4D467CC253>156 D<03C0497E03F014E003FC02F813184B4A131C4B4A133E1A7F +00C0F1FF80007FBBFC1BC07E0020C727F00001E0C8FCC8FCA4EF07804B13030380800008 +0104C7EA01F0000C010F6E7E6C496C16080007B56C161C6F0278133E0386167F9026801F +07B81280EC1E03143EDA3C01CBFC0238C912080278496C130E0270D900E0EB1F8071804A +02785C057C011EC7FC4A6E5BEB8180F178044B011E140ED98300D9801CEB701F051801E0 +1380D981806DC738C03FC0D980C090B8FC027018E0023818C0023C01E0CAFC141E140E14 +0FEC0781A215C11403A41407A2140F90399FFFC3C01583018713031381EB80FC4A485A14 +4014004BCBFCA2151E151C153C15385D5D000F495A4A5A4948CCFC000E13044B4E7CC453 +>169 D<1660167882161F707EA201400207150C0160181E94C8123F017FBA128090BB12 +C01BE0D801C0CBEA3F8003200106EC3E000003023CD907C013780007023F02F01370000F +0380495B4848D93E00495B003F023CEC803090C7EE3880003E067CC7FCD81CC017FED800 +7FB9FC7FA2902910003C000780C8FC90C7FCA319301938197C012017FE013FB9FC7FA290 +2908003C000780C8FC90C7FCA21A0C1A1E1A3F003061001FBB1280A27E27080001F0C700 +C0C8FCC7D9E0187F0203011E1370913A07C01FC0380380497EDA0F00497E4A011E130F02 +3EED07C04A6F7E4AED19F84948ED3C7E494892387E3F80496C9238FF1FE0D90F9FB7EA0F +FCD91E1F933883FFC0496C040113F89027F808001EC8EA7FC0D801E0C7EE3F804848F00F +00D80F801802001EC893C7FC127C12F012C0C94B7E4F7E4F7E00064E7E6CBAFC6C8562D8 +0080CDFC4D4E7CC553>172 D<1908191C193E193F0003F0FF8090BA12C06C19E0A2D800 +80CCFC90CDFCB2604E7E4E7E8501304C7E013FB87E6D83A20108CCFC90CDFCB3A41A601A +701AF8F101FC00C0F003FE007FBBFC7EA20030CDFC48437BC053>174 +D<16C016F816FE5E5E5EAF1918191C193E197F4F7E93B77EA304F0CAFCB3B21A0C1A1E1A +1FF23F8000C0F17FC0007FBBFC6C1AE0A20010CEFC4B497CC353>222 +D<160CEE0F8017E05F5F94CAFCA9182018380204151F020EED07C0DA0F80EC03F0DA1FC0 +EC00FC03E0157FDA3FA0ED1FC0DA3E006F7E027EEE03F8027C707E4A707EF27F804948EF +3FC04A171F0103F00FE04948EF07F04A1703010F180191C71600131E4919600138190001 +785F494D7E484884494D7E48484D7E48C8151F000E4EC7FC000C187E486000384D5A0060 +4D5A484D5AC94A5A4EC8FC183E4C5B041C5B93381803F093380007E04D5AEF3F80057EC9 +FC5FEE03F84C5AEE1FC0EE7F80DB01FECAFCED07F8ED1FE0ED7F80DA03FECBFCEC1FF0EC +7FC0D907FECCFCEB3FE0D807FFCDFCEA7FF048CEFC12604C4D7CC453>232 +D<1604040614C001C08301F00207497E017892B512FC6D83011F17F86D6C91388000F080 +1307801303A26D5AA290C8FCA44CC7FCA21B404CED03E0041E91B512F8163E0106023C02 +3F13E001074A91C8FC26C00F805B3A7FFFC001E09138F003C06C4A5A272007C01EC81204 +0000D9807C150E03E0151F03B882031FB77E6F82A2DB0406C7EA1F80DB00024AC7FC0403 +143E193C706C137C1978706C13F8715BA2EF700161EF380303044A5A031C131C4B6D485A +4B92C8FCDA81E06D5ADA83C014BEDA8780EB03FC028FC76C5A149E14BC02F84A7E4AEC0F +FE010FED1F3F4A91383E1FC049484A6C7E4A903901F803F8010F913903E001FE6DC73A0F +C000FF800106023FC7EA7FE00102027CEC1FFC90C7D801F091380FFFE0DB0FC0020313F8 +033FC913F0DA01FCEE3FC0DA0FE0EE0F80DA1F80EE0300021CCCFC4D4D7DC353>247 +D<16E016F84B7E16F05E4B5A5EDA6007C7487EDA300681DA380C4A7E023FB77E8561023C +C8EA03C0A9023FB7FCA3023CC81203A7F1C180F1C3C0023FB7EAC7E01AF0F1CFF8023CC8 +EA03DFF1FF801A006119F8614E5A00C04D5A007FB9FC7EA20010C91201CAEA03FBEF07E3 +EF1FC3EF3F83EF7E03EE01FCEE03F0EE0FE0EE1F80EE7F0016FCED03F0ED0FC0ED3F8003 +7EC7FCEC01F8EC07E0EC1F80027EC8FCEB01F8EB07E0011FC9FC017CED3FFFD803F01507 +D80F8003005B003ECA003FC7FC00F0830080171C454D7BC453>252 +D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FY gbsn18 10 31 +/FY 31 249 df<1A101A381A7C1AFE00C04E7EBC12807E7E0020C80078CAFCC9FCB1167E +EE7F80EE7BF0EE78FC173FEF1FC0EF07F0EF01FC71B4FC727EF01FC0F00FF0727E180372 +7E727E197E193E191E190E190C96C8FCB3A85E16C0494B7BC253>5 +D<1604EE078017E01418023E5C023F5C1580EC3E00A25CA21478190C4A160E191F4A4C7E +01014D7E91B97EA25B912780000780C9FC130791C7FCA2130E130C131C1318133813305B +1A1849181C49183E90C8167F0060F1FF80003FBB12C07EA20018C7263E001EC9FCC8FCA4 +153CA7157CA21578A315F81BC05D14015D14035D020717014A5A92C7FC143E4A17035C49 +48EF07E0D907C0EF0FF0D91F80021FB612E0017EC816C0D801F86F1500D80FC092CAFC00 +7ECEFC12F04C4D7CC453>11 D<010217100103173C6E167E91B9FC864FC7FC02C0C9123C +AB91B812FCA302C0C9123CAB91B812FCA302C0C9123CA3193E193CDA800C010C133090C7 +270F800F80C8FC04E013E004C05B04805B040090C9FC48856DEF01E06D18F86C6C840170 +17036D18E0013C606D17076D600280160FD907C094C7FC191E14E001035F02F016381978 +D901E01670614E5A02C05ED9008093C8FC020092C7120C1A1E1A1FF23F8000C0F17FC000 +7FBBFC6C1AE0A20030CEFC4B4B7CC353>23 D<17080218140F00C0011CEC1FC00060013E +81007FB55D6F133F92C7FC2678007EEC3E60027C147C027815704AEC7830EFF8384A4A7E +010114014A4A7E933803C00F49486F7E4C486C7E91C71300494A6D7E0106021E6D7E010E +021C80010C023C147E4C80494A6E7E4CEC0FE04B486E7E01384948EC03FC6D49C83861FF +806D010E03F013F06D49913901F87FC0902703803980903903FC3F00902601C070B6130E +6D6C486CECFE04DA70C04BC7FC9126780020CAFC023890CBFC80141E140E020F0240130C +0560130F6E0270806F6D807180051EEB1F8097C7FC03867FDA0F87EC801E038313070480 +EBC03E91261F01C0143C2679C07F01E013E09028FFFE00F0031338D8787F1778D91FFC01 +7813C0D907F8017C1470D903E0ED80F04A017E495A90C8003EC7FC180161A24E5A163C04 +3891C8FC04305B93C70006130C060E131E060C133F02181880020FB912C0A26E188000F8 +0104CCFC91CDFC5A5A4C4E7BC453>I<0420153004301578DBC01815FC912601E01FB7FC +EC03F000C0D907F816FC007FB5011EC812786C14FC15F839300780001200A21878187F19 +80F07E00183CAAEC818015C0EC83E00060EB87F0003FB500F814387EA239180780001200 +1878187B19C019F819F019E019C018FB18F3A21A7C170118E3043E1578DC3C0314700438 +01C35BDB043092C7FC92383C0007DA81F81483DA8FE0130F02FFC70103143002FC141ED9 +1FF0143E2601FFC0143C001F90C81278D8FFF803F01570D87FE0EC01E06CC8EA07C0001C +ED0F800018ED1F00C9007C16F05EDB03E0ED01F8DB0780ED03FC031FC790B512F8037C17 +F0DA01F06E14C0DA07C091C9FC021ECCFC14184E4B7CC253>I<1418021F167003C0157E +4B157F92C9127E021E167C040315384C6CEB781C4C6C8000C04B6C80007FB716806C70EC +03C04D15E02610001EC9FCC718011BC01B8097C7FCA30020030C16800030030EED01C06C +031FED03E0001FB7008CEC07F005C7B612F817C3001EC8EA1F039228301E01007CC7FC01 +0C013C90C7FC6D133E903807807C903803C07815F002E0167E010113E0DAE1C015F6ECC1 +80EB0083EC071C902660063F15F7013FB5129E16FE7F9027101E001E14F3010084F001E3 +A3F1E1C0A2030E15C101E0011F02037F017FB512DE6D02FE14C019809027101E001E0107 +7F0100187095380F0078A2180E061E7F181C063C133E4E131E1A1F604EEB0F804D5A0503 +EC07C0DB3FFE4914E04DC71203922607FC0E15F0DA3C0149EC01F8003E90273800F83815 +FC91C7D87070EC00E0003CDB406015C00038DB00401500001093CAFC4E4E7EC453>I<14 +1000C0D93C0C15200060D97E061578007FB5000715FC0387B67EDAFE07812678007C16FC +02780180C7127814F814F0A2EB01E014C0A2EB0380A214005B130693B612F8130E130C01 +1C0280C712781318A2133813307F7F130E7FEB0380EB01C0D900E090B612F814F0147002 +7890398060007C023C1678F16080021C0270EB01C0021E16030530497E4F7E020F023849 +7E193F7149C7FC021F16FC4E5A94380E03E0023EED0FC0027E6E48C8FC267BE1FE15FCD9 +FFFC15F026787FF8EC03C0D91FF081D90FE06E7E02806E7ED906008190C7157E84727E72 +7E94380307E094380F03F894383C01FC933981F000FFDC87E06D7EDC9F80EB3FE004FFC7 +EA1FF804FC6EB4FC4C020313804B48913801E00000F803C0EC00404B4892C7FC486ECBFC +48140EC81204494D78C353>33 D<1460147C147F147E147C14784C151871143C706C147F +94B712801B006205F0C7123CA516C0ED01E0150300C0EC07F0007FB612F8A27E262000F8 +C7FCC7FCA2130194B612FC14D8EB03B805F0C7123C14BCEB07BFEC3FC0EC79F090380F78 +FC010E137F011EEB3F80011CEB1FC0150F013CEB07E00138130301781301017014C001F0 +EB008001E01400EA01C094B612FCEA0380A2D8070003F0C7123CA2120E120C121C12185A +A25A5AA2C7FCA594B612FCA305F0C7123CA21A3E1601A202F84A143C02E04A14304A6D48 +91C7FC494E7CC453>35 D<1430143EEC3F8092CCFC023E1730023C496C1478706C14FE94 +B7FC626205F0C71278A3ED0180ED03C0ED07E00020EC0FF0003FB6FC6C6FB612F85E2608 +00FCC7FCC703F0C71278130114DC1303A214DF903807BFC0ECBDF890380F3C7C033F90B6 +12F8011E6D7E6F7E013C902607E0E0C712781378150301F0EB01C0D801E0130001C01400 +EA03801207EA0F00000E93B612F85A5A4804F0C7127C5A00401501C74B1478027C176002 +78D9198091C7FC0270011ECAFC913901C007809238F803E06F6C6C130301189026F800FC +EB01C04B017EEB40E04B017FEB607071EB403871EBC03C013884718005061580017092C7 +EB07C0F203E001F0040114F0F1E001D801E019F80003943803F0001207D80FC06D1407D8 +1F806D4A4813706EB74813606CC76C4B1300C84BC8FC031F14F04D4C7DC453>46 +D53 D<1560157815FC4A7E6F +1430DA03F014784A4814FC4AB67E4A8160023EC7EA03F04AEC07C04A4AC9FC4948141CD9 +03C05C49484A1308011FC74848131C013EDA0380133F017FB97E90BA7ED803EF95C7FCD8 +078FC7001FC7121EEA0E0F123C12F000405D0000153EA491B812FEA391C70078C7121F04 +F8141E4C14180301ED0180010849484A7E90C748484A7E4B484A7EDB1FF0EC3FD0DB7C38 +027EC7FC912601F81EEB01F8913B0FE07F8003E0913B7F00FFC00F80902903F801FDE01E +C8FC90273FC003F913783C07FC0007F0F1F0D87F8090391FC0FF980060C7393F807E18C8 +397E00FC0CDBFC03130E912603F0077F913807C00F913B1F801FFE0380913B7E003FBE01 +C0D901F8D97E1E7F902707E001FCEB00F890271F8003F0147C9027FE0007E080D803F0D9 +1F806E7ED80780D93F00EC0FE0C800FCED07F84A48013EEB03FEDA07E0923801FF804A48 +6F13F0023FC7ED7FF802FCEF1F80D903F04AEC0F00D90FC01702017FC800FC91C7FCD801 +FC1401D807E090381FFFF8003FC7120300389138007FF0C96C5AEE0FC05F70CAFC4D4F7C +C553>I<1704DA0380EB078003F014E06F8003E014C0605DA31A101A380180187C01F018 +FE01FC020C140101FE021E4A7E01F8023FEC07FB01F0DA7F87EB0FE092B500C7EB1F804F +C7FC19FC923AC0000781F8F083E0F08F80069FC8FC18FC18F018C04E1460A31BE01BC0A4 +1A01A217C7041FED03E09238C7FE07DBFFE0ED07F0023F010090B6FC9026F7FFF017C000 +1FB5C76C1500B500F091CAFC6C90CDFCEA3FE0001ECEFC1218CFFCA21908191E191F4F7E +01304D7E013FB9FC6D84A20108CDFC90CEFCA71A021A07F20F80F21FC000E0F13FE0007F +BB12F07EA20010CEFC4C4C7CC553>74 D<4819606D18F0F101F890BA12FC1AFE4819FF01 +80CAEA01FC1AF048CBEA03E00218EE078048011E170048013F160E003E6E150C007E91C9 +121C00FE013E161848013C16104895C7FC0030491620C7177019F84A824E7E91B9FC4918 +80A202E0CBFC13035CA213075CA249CCFCA21930011E1778013E17FC017FB87E857F011C +CA127C0108177890CBFCA36117C0834C7E4C7E00E04B7E007FB77E6C4D5AA20010CAFCCB +FCA34E5AA54E5AA3180F96C7FC4CB5FC705B1707EF01FCEF00F060484A79C153>85 +D<14101418141E6EEF01C06FEE07E06E6CEE3FF06F6EEBFFF8020390270180C00713FCDB +C003D9E07F130C933B07C07BFFC00000189128800FE07FF8C7FC000FB7D8F078C8FC7EA2 +0002C738018000D80010EB03E0011814F8010E80010F14F0D907805B6E485AD903E05B14 +F0010191C7FC5D030E1740010003C015E09127E01C01E015F092261803F0EC01F800C090 +27C03807F8EC03FC007FB7017FB5FC6C04FC15FE05F815FC27100003C0C7397800F000C7 +FCA21870A4EE0180EE03C0EE07E0000C92380FF0F0000FB7FC6C16F817F027020003C0C7 +FCC7FCA2130E010F01C35C02C3EB80019138E3C1E090391F83C0F002031378011E143C01 +3E91383E03C0013C141F017C1583017891380F878013F0040790C7FCD801E0158F01C0EC +020E0003ED001E0180151CD807005D000E1678000C5E480107495A003801FF495AD8701F +4A5AD860074AC8FCC7EB801E023F133891261F00F04A5A021E495D021001805D4F4F7EC5 +53>99 D<1620163882828283707E707E83707EA2177C177E173E173F4A6E7E15E003FC13 +0F4B805D4B130760A295C9FC190494C71206011083737E860130717E1A701A7886861A1F +F20F80017019C01A071BE0F203F013F01A0101E019F812011A001203EA07C01B78EA0F80 +001F1A70D83F001960481A00127E4818181278C7FC1938A21930A21978A319F8856F1401 +6F4A5A6EB75A6F5D1980031F02FCC8FC4D477DC353>101 D<1A201A3805C0143F4C6C15 +804C6CEC3E000018922607F804133C000FB7130719C06C18E02904007801E00013C0C717 +80A8170C171E173F00C0EE7F87007FB8FC18C76C17873C20007801E00007C7FC14F0A5EB +01E0A3D903C0ED060095C7FCEB0780A2EB0F00A2131E013E933807C07C013CEFFFFC4991 +3AE380003FF849902603C3F0130FD803E0DA83F86D5A484890260003E06D5AEA1F80003E +C849EB0180007896C7FC006095C8FCC9FC1908191C193E193F01184D7E010FB97E6D84A2 +0106C7D803C0C9FC90C8FCA61A021A07F20F801BC00070F13FE0003FBB12F07E1BF80008 +CEFC4D4D7DC553>110 D<1A2005181470053C1478057E14FC001804FE80000FB81301F1 +03F06C4E5A280400F000F0C75BC74D5A4FC7FC193E611978614E5A4E5A4E5A060EC8FC60 +6018E04D5A95C7120C94C8121EA2050C143F051EEC7F80053F14FF00404C903801F80000 +7FB86C485A6C4E5A4F5A281000F000F0C7485AC7053EC7FC61614E5A4E5AF007804EC8FC +183C6018E0DD03C014804DC71201051CEC03C04948023015E094C8EA07F0F20FF8F21F98 +F23E001A3C49485F62190149484C5A4F5A4F5A49C74BC7FC197E19F8011E4C5A4E5A49EE +0FC0494CC8FC183E4916F84848ED03F00003913901E007C04848DAC01FC9FC484890C712 +7C48C8EA03F0003CED0F804803FCCAFC48EC03E0004092CBFC4D4D7DC353>I<140C140E +141FA24A7E4A6C16C002FCC9487E4A834948486C4A7E49486CB77E495A49487F49C70040 +CAFC013E91CBFC13785B48485A3903800380D80F007F001C497E48800020130FC713804A +CCFCA2143E023CEF01804AEF03C002F81707DAF060EE0FE0902601E03FB812F081130390 +2607F808C800F0C7FC02FEC9FCEB0EFCEB1EF8495A1338137013E0EA01C0EA0380130012 +065A5A5A5A5AC7FCB3A2EF0601EF0FFF1703EF007F0101EE0FE06102C06F5A90CA0006C8 +FC4C4E7DC553>113 D<130C010F167002E0157E4A157F4A157E91C9127C18781610163C +163F17801700163E163CA2167C167814C014F00002017C49151C0003013F171E91261FC0 +E0153FDA07E1EE7F8093B8FC0007010318C01401912800E3C00078C8FC000FECC3801503 +001F4AC7FC121E003E1406007E140E00FC140C151C00F8141800F0143800001430157015 +605DA24A4816181A3891C9147C7015FE93B8FC82A29326200078C8FC93C7FCB11B80F201 +C0F203E00203EF07F06EB912F8A2800380CBFC4990CCFCA2131C4D4E7DC553>117 +D<14C002F8150702FE91381C03804A91381F01C04AEDC1F0F0C0F84AED00FC051E137C05 +3E137E193E4948143C071E13804D90381C01C0F203E00303ED18074B6C489038000FF04A +486CB712F800C081007FB612F16C9326F000F0C7FC16E13A3003C0000312005C1607A201 +071406912683800E1502912603F00C1507DBF81CED0F8003F017C0010FD9E038ED1FE0D9 +0E070130B7FCDBC07016F0046016E0922880E0F000F0C7FC011C14C0EC0F81ED0180ED03 +001338EC0E06EC1E04017090C7FC021C5FF20380D9E03CEF07C0023818E001C00110EE0F +F00001021890B7FCDA701C17F80180010C17F000036E9026F000F0C7FC903800E007ED03 +80380601C016C0000CEC01E0EB03800018EC1FF090380703FF3A300F3FF0F890261FFF80 +17400060D9FC0017E0D93FE0EF01F026000F80EF03F80106C712F090C80040B712FC1600 +A205F0C9FCA64C5A5F4E4E7EC553>124 D<026014180278141C027C141F02FE4A7E4A81 +4A023EC9FC4A5C010118084A0278141C05F8141E01034B143F4A4948EC7F8094B7FC4948 +4916C0DA81C01700913C01F007E00003C0010F01FC01601307010E49486C495A9226F00E +3891C7FC011E9026E01C18131E011C031C5B013C4A6C5BD93F81496C13F802C10160EB81 +F0D97F819039E003C3E0913B01E1C001E7C001FE903AE38000FF8093C76CC8FCD801DE01 +E2143E019E01E0ECFF8000034C13E0011E923803E7FC000793380FC1FF00064CC613F000 +0C043E90383FFFF005F8010F13FC0018922701F0060313F00030922707C00F0013C0DC1F +009038801F800060033C90391FE0030000C003F8496CC7FCDBE3E049C8FC0000DAE78013 +FE9239E60001F803E0495A943807E00894380FC01E94381F001F053E497E05F8497E4C48 +497E932703C001FCC7FC93390F0003F0043CEB0FE0047090381FC006044090383F000F93 +C7007E5B06F8EB3F80DD03F0EB7FC0DD07C0EBFFE0943A1F8003FE20943A3E0007F80002 +0302F8EB0FE0DC03E0EB3FC09226800F8049C7FC91C7393E0001FC04F8EB07F8DB01C0EB +0FE092C8EA3F8006FEC8FCEF03F8EF0FC0057FC9FC013EEC01FCEE0FE0047FCAFC013CEB +07F00130011FCBFC4E4E7DC553>127 D<1906190F4F7E013084011FB97E7F62010CC7D8 +0780C9FC90C8FC6D1807F20F80F21FC048BB12E01BF0A20180C7D80780C7EA1FC000031A +001A3E0007193C000F61D81F03B5903983FFFC70003F61007E6190C80180C9FC127C1238 +C9FCA20107B5903883FFFEA390C80180C9FC160F94CAFC040C150693C9120F1B806CF11F +C0BC12E07E1BC00020C80078CAFCC9127016F001104A15C00118494881011C4A4A7E011F +B97E86A2903D1E000780078001F062B3A2F08FFF030FEB0F01923B0E000E003FC0030C90 +C7121F92C96C5A01180506C7FC011094C8FC4C4E7DC453>137 D<1606160717C017F001 +305D011CEC0F80130F6D6C91CAFC806D6C131E6D7E6D7E6E491538027C173C0438157E02 +3C017815FF0238017FB7FC1B80023090B8FC91C726E000F0C8FC15015EA24B5A93C7FC5D +010613060107130E39C00F800C397FFFC01814F06C5C392007C0600000138092C8FCA2F2 +0180F203C0F207E0028218F00283B912F814811BF0DA8080C700F0C8FC92C8FCAB150615 +1C5D5DEC81E0EC83C0EC8780028FC8FC14BE14FC5C5C495A131F495A6D5A6DC9FC7F1306 +90CAFC4D5A60715A4D4E7DC453>142 D<160E707E17E0707E0401150C1A0E0140020015 +1F0170F03F8001780360EC7FC0013FBA12E0A3013CCDFCA519034F7E020C4C7E0207B87E +A2800202C9003FC7FC91CA1278F001E00440495A047849C8FC041F130E93380FC0389338 +03F070933801F8C070B45A71C9FC8383A271EC018071EC03C0026002061407023FB912E0 +6E18F013780218C7000FC7EA1FC091C8ED3F001A3C6262624F5A624FC7FC01F817024994 +C8FCA5485AA35B1203A25B120790C9FCA2120E001E5E001CED303F48ED7FFF161F481503 +48ED00FE48167CCA127817604C4E7DC553>147 D<1318011F16E002C015F84A15FE49C9 +5A013E5E4E1330013C187849187C4B16FE93B8FC497F624991264000F0C8FC93C7FC0001 +1304EBC00F000314C049487E4BEE0180D807004917C0DA3F30EE03E0000ED93E1FB812F0 +027C18F84848487ED83C3F0108C9EA0FE02639FEF0CAEA1F80267FF0E0EF1E00D8FF8102 +0401305B26FE01C0902607803C1338D87803913803F03F002049903A01F81FC070C648C8 +00FE1460057EEB00C0010E153E011EDB1E1E5B011C030E91C7FC490102130C923803C000 +49EB01F00160EB007C49143F0001ED1F804848EC0FC09038000FC03A0601FF0007260E0F +F0EB0380261C7FC001011503D83FFEC9EC0780D8FFF0043E14C0D87FC001C0023CEB0FE0 +6CC7007FB812F0123C00106E17E0C80020C70078C8FC92C8FCA260A203061301037E80DA +03F849B4FCDA3FC0903807CFC0D903FFC7EB83F0D91FFC91380F00FC2603FFE0021E137F +003F0180023EEB1FC0D81FFCC848EB0FF0D80FE003F06D7ED80780DA03E0EB01FC6CC848 +486D7E0002031FC8127FC9007C81DB01F0ED1F80DB07C0150F033FC9120715F8DA03C0EE +03004D4E7DC553>153 D<15036F7E7014C06F6C14F0010C0270806D0278EB01FE6D6C7F +6E013E14F06D6C011E495A6D6C131F6E5E027C6D6C485A147E023E4BC8FC143F6E010713 +1E0380EB001C020F153C040613384891C85A01801818020E4B133C02044A48137E90BBFC +481A801BC00180CBEA7F00000719FC90CC12F0484E5A484E5A62007EDD0607C7FCF00F06 +D8FC03EE1F8C486CB812C01270C7FC0280C8007EC8FC91C912F0EF01C0EF0780050EC9FC +5F1730EE0EE0EE0FC07114100580143894C8123C1A7E00C019FF007FBB12801BC07E0020 +C8000FCAFCC9FCAD92B5FCA2ED0FFE15016F5A5E167016604A4D7BC453>166 +D<190C191E01C0EF3F80017FB97E6D6097C7FC0120CA121E90CBFCA713060107B812FE7F +7F91CA121E90CBFCA813E0017FB812FE7FA20110CA121F90CBFCA2191E61F07030067EC8 +FC187F067E130C0678130E1A1FF23F8000C0F17FC0007FBB12E0A27E0020CA0078C8FCCB +FCA21410141C806E7E816E7E6E7E6E7E81157EA2153EA2151CA2151892C8FCA2040313F8 +EE07FF705BEE001F170F715A60715A95C9FC4B4D7CC353>175 D<1A101A386D187C6D18 +7E01F018FF017FBA12801BC0A20178CDFCA78317F017FC8317F85FAC614F7E4F7E860238 +4C7ED9701FB87ED9F00F83A20204C700F0C9FC91C8FCA7180C1807F003C04848707E8572 +7E197C85193F49831203A28549170E120796C8FC90C915081A1E000E191FF23F80D81C30 +187F011FBA12C000381AE07FD87008CDFC0060CEFC12E05A4B4C7DC453>184 +D<13E001701806013C18076DF00F80011F0130EE1FC090260F803FB812E06D6C7EA29026 +03E008C800F0C7FC92C9FC16300101143C4A133E163F4A8090C8003EC7FC5E1678A35E13 +0601075C39E00F8001267FFFC05F6C9026F003C0ED0380F207C0271007C007160F000049 +4848ED1FE04BB812F0818193C7D83EF0C7FC0302143C92C8127C187818F818F0170118E0 +170318C01707EF0F8018005F173E173C030C5B031C13F892387801F003E05B913981C003 +C091398780078091268F000FC7FC029E131E02BC5B14F84A5B010F5C9138E001C0494848 +5A4A48C8FC010F130E6D485A01060178140190C748EB07F74A4814FF4A4813004AC8EA3F +E0020E150F020C6F5A91C95B0604C8FC4C4A7DC153>199 D<16601678163E82707E8316 +07A20403150C1A0E4D141F0401ED3F8000C092C9EA7FC0007FBBFC6C1AE0A20030CEFCCF +FCA3854E7E4E7E8501064C7E6DB87E857F91CDFC90CEFCA4194019E04E7E8501064C7E6D +B87E6D83A20280CCFC90CEFCA54917606E16F06D6CED01FC91B87EA219F802F0C95AAF91 +B8FCA302F0C9FC851301A24A5E4AED01C04A92C9FC4B4E7CC453>211 +D<1304D90780160C02E00118140F6E010E15C002C06D8171131F4A6D6C91C7FC706C131E +71133E706C133CA2057C5B1970057813F002810238EBE00CDA838090393001C01CDA87C0 +0100EB803E00C0D98FE30203137F007FB500F3B812806C14F1A22A300F8000800078C8FC +000092C7FCA3131FA4131B02E01760D93BF017F002BC4C7E91269F01804A7E9026778F80 +B7FC6F82912687E07F5D912883F0400078C8FCD9E78190C7FCA2EC80E0EA01C792C8FCEA +0387A2130712071206000E1A80000CF101C0001CF103E000180260EE07F00038023FB812 +F8123000608000E00210C70078C8FC00C091C8FC1200B2130F91C912F8010C16E090CA5A +4D4F7DC553>248 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: FZ gbsn20 10 43 +/FZ 43 249 df<6E16206E16786E16FC91B87E8519FC02F0C91278AE91B812F8A302F0C9 +1278AD91B812F8A39126F0000FC71278197C19781960028093C8FC91C7FCA21A081A1C1A +1E1A3F00C0F17F80007FBB12C01BE07E0020C8000FCAFCC9FCB3A25E161C16184B4E7CC4 +53>0 D5 D<1A3000080360153C000C03 +F0ED3F806C4A7E0007B600FEED3E001A3C16F80180C75A1860187C187F187E187C021815 +78141EEC1FC015801500141EB3A9143E143CA482A2147C000F01784913F84C5B0100D901 +805B000CD9F8C0C9FCC7487E157849487E151F49486C7E6F7E9039078003F04A6C7E010E +6D7E49933803C07C49027EECFFFC49023E01005B49023F140FD803C06E6E5A4848715A00 +0EC8120E0038F0018000F0030492C7FC00C092CBFC494C7CC353>11 +D<1904D803801706D801E0170F2600F0034C7ED97C01B87E6D6C837F912680C060C7EA1F +80010FD900304AC7FC6E163E01076E5C4A011C14780103020C14F8912681800E5CD90101 +6D130101006E495ADA030001805B706C485A0206903800E00F00C07048C8FC00F0010EEC +783E007C010CEC3E7C6C705A261F801CEC0FE0260FC018812607E038EC1FFC000393387E +FF80D9F030903901F83FF000010170903907E00FFF93263F8003EBFFE06C484801FEC714 +F0DB0FF8021F138001C090267FC00301031300902701C7FE009038E0003EDACFE002F890 +C7FCD903CEC75B02805D6049C815C04F7E4F7E010E01604B7E033FB7FC011E84011C6D5E +9227100003C0C8FC013C90C7FCA25BA2EA20F8127F1A03D80FF0F007800003F10FC00218 +171F0001010FB912E0A2800204C7D803C0C8FC91C8FCA81203A6170700015FD8006093C9 +FC4C4D7CC453>I<01101840011818F0011E4D7E6DB97E861AF891CB5AA991B9FCA391CB +FC5D04E001705B04F8017C138070017F90C7FC04F0137E4C137C18781A181A3C010E187E +024017FF027FB9FC6E18801B0091281001E00078C8FC1400A2131EA21B80F201C0F203E0 +1BF0F207F8011FBAFC1BFC1BF890281C003C00C0C9FC133C7113030560497E0570497E05 +30497E01380338497E7101FFC7FC0178EE01FC94380E03F001709238070F80DD03BEC8FC +01F016F849ED01E0717E4848ED707C4C487E484891390FC01F8093393F000FE048C701FC +EB03FC000EDA3FF86DB47E4C9038007FF84803C091381FFFE0484A48020713FE00304AC8 +000113F0007049489238003FC0486D48EE0780C8007893C7FC15704F4B7EC253>48 +D<1660163C82DC1F805B040F4A7E040715E01907486C4D7E6CBA7E867FD94003C80060C8 +FC90260001C014F06F14FCDA00F880157C037EEB01F0033E5C05031408031E4A131C4D48 +133E95C7123F00C0021C010EEC7F80007FBB12C06C1AE0A20020CEFCCFFC4917206E1678 +6E16FC91B87E8519FC02E0C91278A791B812F8A302E0C91278A791B812F8A39126E0000F +C7127C1978196091C7ED000890C8161C1A3E1A3F00E0F1FF80007FBB12C07E1BE00010C8 +000FCAFCC9FCAB160E16184B4F7CC553>57 D<021C1408021F140F03C014E05D92C71380 +021E92C9FC19C019F0197C191F86737E737E1903A203031501DB07805DDB0FC0140000C0 +021F1686007FB600E015076CF10F80F21FC02610001EC76C15E0C794381FFFF095B6FC93 +B7EAF800700280C7FCDC3FF7C9FCEE10071600A304387F16F0DB03C01530DB0F80157892 +263E0003147CDA1FF816FF03E016FD0380ED01F002FFC701C05BD903FE4C5A010F1707D9 +7FDE02015C2603FF1E4CC7FCD81FFC705AD83FF0173ED80FE00300133CD80780177CD803 +00705A0002EFF1F0C7EE73E0F07BC0187F725A96C8FC183E18FE4D6C1418EF03EF943807 +C78094261F83C0131094263E03E01330EFFC01933903F000F0DC0FC013784CC7007E1370 +047C80DB01F0EC1F802801F87E07C0913807E0F09026FFFE0FC8EA03FF26003FFCC96C13 +F80103EF007F6D48EF1FFC4A17074AEF00F86D4818005C4E4E7EC453>73 +D<487E13E06C6C1830017C1878D93F03177CD91F83B812FE6D6C831B80902807E080003C +C7EA3E00010390C7153C626D5AA25F90C9FCA24A7E4AC75A6212C06C01065C007815016C +130E001F010C495AEA0F80D9C01C16012607E01849485C14380003013049C7FC4C140300 +010170011E90383FFFC00260497FD9C0E0017C01005B00000378023FC7FCD900C049143E +0101494814184B4891C8FC4948485A4BCBFCDB1E4081902707007C60EC01E0DBF0704A7E +90270F01E07FB67E90260E07C082030016F0D91E040178C7EA01E0011CC7FCA2133CA25B +EAFDF812FF121F120312015B1200A81201047FB6FCA30478C7120112037FA36C48840000 +6190C800701580494D7BC453>I<1638163EEE3F8094CAFC043E141C043C141F864D6C48 +7E72487E942603E07EC7FC4D6C5A01184B6C5A010FB7EAFDF06D16FF610104C7393C0007 +C090C84A5A181F4EC8FC183E6060050114034D4814804D48EB07C04D48EB0FE000704DEB +1FF0003FBB12F87EA20008C900F8C9FCC9485A4C5AEE0FC04C5A043ECAFC5E4C14189126 +0301E0143CDB87C0147FDA01CFB77E92B8C7FC6103F8C8123C15E01407140F141F147D14 +F1EB03E1EB0781EB1F01133C01F090B712FCEA01E0EA0780D80E0001E0C8123C123812F0 +12C0C7FCA792B712FCA303E0C8123E1403A24B153C4B157092CCFC4D4D7EC453>86 +D<17401770173C83717E48836D6F7E01E01503D800F882017C15016D5E6D15006E17036D +6C4BEB078095C7EA0FC0010701C0EE1FE0037FB8FCEB038081DA0020C8003CC7FC90CBFC +197C1978A6614B7E82ED0070043C495A0106800107EC078026C00F80D903C05BB500E090 +3801F0036C6DEB00784A023E5B26200780EC1F070000DC0F87C8FCEF03EF71B4FC715A18 +7E844E7E4E7E943801F7E0943803E3F0943807C1F894380F80FC94381F007E053E7F05F8 +6D7E4C4880DC07E06D7EDC0F801307043FC76C7E16FCDB03F06E7EDB0FC01400033FC9FC +03FC1670EC83F090260EC3801620D93C60CCFCEB78383801F03C3803E01F390FC007E027 +7F8003FEEE01FC496CB912F0007E6D6C17C0003C021F1780003814030010EC003F4E4D7D +C453>89 D<160C160F17C0A24CCAFC1A60041E15701AF84F7E00184E7E000FBBFCA27E00 +04C8001CCAFCC9FCA20230013C13026E1507021C4B7E021FB712E08519C0021EC8EA0780 +A6021FB7FCA3021EC81207A6021FB7FCA3021EC81207A7021FB7FCA3021EC8000713081A +1E1A1FF23F8000C0197F007FBB12C01BE07E0020CEFCCFFCA21538037C130C03FEEB0FC0 +DA03FFEB03FCDA07F0903800FF80DA0FC0EC1FF0023FC8EA07FC027EED01FFD901F86F6C +7ED903E0707ED90F80EE0FE0013FCA6C7E01F81703D803E01701D80F801700001CCC1270 +CD12204B4E7CC453>93 D<13400178161C017E161F017F83137C96C8FC0178161E01F818 +06490130160F0378EE1F80DBF8C0ED3FC049486CB8FC48B56C6C16E01BC0932620001CC8 +FC01C0C9FC0003173C5BA248C8000C15406F6C013813E0912601C0074A7E0006D903E090 +B612FC000E010783000CD90FF05E001FB500F80180C712F0A3D8300FC7FCA2006093B6FC +A212C00580C7FC1200A315301538157C006002FE90B6FC003FB6FCA26C0480C7FCD8100F +C7FC1200A494B6FCA30580C7FCA21B80F2F1C0F2F3E01AF70303B812F0037117F8EC01E1 +912603C080CAFC020FC7120C023E021F13704A91383F803E4A02FFEB0FC04A903A01FC00 +07F04948D903F0EB01FC4A49486DB4FC4948D90F80EC3F8091C7003FC8EA1FC0011E027C +ED0FE0DB01F0ED07F0010C4948150390C7D80F801501033ECAFC03781770034017604D4E +7DC553>105 D<143014700278170C02FC171E6E171F01010130EE3F80902603F03FB812 +C04A7E49486C178090260F8008C700F0C8FC49C9FC131E5B5B5B3801E0063803C007D807 +807F4848487E001C8048EB1F804891C8FC0040133EC7FC5C14784A7F010114F04A13FE49 +485B4C15104948491538496C173C02F0177E011F18FFD93FC092B6FC4A1880137701E704 +F0C8FCEA01C7A2EA0387EA0707120E121C1238127012E012C01200AF1BC0F201E0F203F0 +029818F8029FB9FC028F18FC1BF80284CCFC1480130FA291CDFC130E4E4D7DC453>110 +D<1404DA0780141803E0141E6FEC1F8003C081922680018090C8FC0403133EEE07C00060 +92380FE03C003FB700F01540067C14E06C0578EB01F02710000780C7EC03F8C704701307 +95B612FC5A0180021816F801C0913B3C01F000780090B612FE04FF01D813F89326FE0398 +5B9039E007803CEF070C4F5AEF060E170C72485A1718953803878090B6EAFC30057001C7 +C7FC94386001EF9028E07F003CC013EE02FBED00FE4948EB3080270001E7F0C8127C9027 +03EFFF80147E902707CF1FF0ECFF8090270F8F07F8497F90271F0F81FC903803EFF0011E +D980FE903807C7F8017C027E90381F03FE01F8021E90393E01FFC0D801F0020C9039FC00 +7FF8D803C091260003F0EB3FFCD80780DB1FC0EB1FF0D81E0003FFC7EA07C048DB3FF8EC +C38000709126007FC0903801E0000040010E0178C7487E0003010890C812076CBA7E7EA2 +0140C7D803C0C9FC90C8FC1410141EDA1F801508191C0300153C021E167E19FF94B67EA3 +05C0C9FCA21BC0F201E0F203F000C0F107F8007FBBFC6C1AFC1BF80010CEFC4E4C7EC553 +>114 D<1A181A1C1A3E1A7F0003F1FF8090BB12C07E7E0180C7D801E0C9FC90C8FCAE80 +14F014FCA25C4A834F7E4F7E864F7E94B67E86A205E0C9FCB3A71B80F201C01BE0F203F0 +00C0F107F8007FBB12FC6C1AFEA20030CEFC4F467EC053>116 D<1A0C01C0181E01F018 +1F017801C0EE3F806D017FB812C0011F7FD90F801880DAC020C70078C8FC010790C8FC80 +1303A26D5A5C90CAFCA81306130738E00F80267FFFC013C06C01F013F816FE261007C05B +0000494915084C151C1A3E1A7F62067FB51280A30678C8FCAD150C15381570EC81E0EC83 +C0EC8780EC8F0014BE14FC5C5C495A131F49485F6D48EF03806DC7EE07C0D90706EF0FE0 +D90603B912F0EB0001A20380CBFC4C477DC253>121 D130 D<15061507ED03C06F7E6F7E167C +167E828283160FA370CAFC19400406146093C812F000704D7E003FB97E7EA20008CAEA1F +F0CB13C04E5A4EC8FC18FE6017014D5A4D5A4D5A604D5A4DC9FC177E5F4C5A5F4C5A4C5A +4C5A4CCAFC163E5E5E4B5A4B5A4B5A4B5A031ECBFC5D5D5DEC03E0EC07804ACCFC141E5C +14F0495AEB0780130FEB3FE0EBF8783801E01E3907C00F80391F8003E0397F0001F84890 +38007FE0007E6EB812E0003C020F1700001C020316FC0018DA007F5D0008030F5DCB121F +4B4B7BC553>I<1606EE078017E0A25F5F1A0C1A1E1A1F94C8EA3F800018F17FC0000FBB +FC1BE07E0004C8000FCAFCC9FCA3160EA2023016106E1638021C167C021FB8FC8697C7FC +021EC9123CA8021FB712FCA3021EC9123CA9021FB712FCA3021EC9123CAA021FB712FCA3 +021EC9123CA5F201801BC0F203E0F207F000C0F10FF8007FBB12FCA27E0020CEFC4E4C7E +C553>134 D<01021506D903C0EC07C002F815F0A202E05D4A5DA860A203308203784B7E +03FC4B7E006001C101704A7E003FB5D8FE3FB67E70817E3E1003C00008078001E0000015 +00A362A21903A61508153815F0DAC3C01400DACF805B9138FE00384A131C02F0130FD90F +E0EB078FD93FC0EB03CFD801FFEC01FE00071500D83FF3157ED8FFE3033E80D83F83ED1F +80D81F0392383FC001000E17E0000417F00000EE39F8177818FCEFF07E183E932601E03F +7F061F1418DC03C01300180EDC078015100500ECF8304C90C71278161E4C157C4CED3C70 +0470153E4CED1FF001074948150FD80FFF495A4A48C912070001021E1603D8003F49EE01 +F84A481600011E01E0177C90261C01C0173C902618038017004E4E7EC553>137 +D<02081406020EEC0780DA1F8014E0816092C75B143E1A02023C1707027CEF0F80027B92 +C7EA1FC002F9B912E014F0A2902801E0400007C9FC92C7FC495A5C130791C85A49D90180 +5C010E02C04A7E90271F8000E04A7E02E090B712F04948834A5F49C700F0C7EA03C0A213 +EF13CF1201EA038F130F1207120E000C92B7FC1218123004F0C71203126012C01200A693 +B7FCA304F0C71203AA93B7FCA304F0C71203A51B601BF0F2C1F8023017C3021FB912FCA2 +497E0208CCFC011ECDFC131C4E4E7EC553>I<17401778177F177E177C1778AE1460147C +147F027E1708027C171C0278173E1A3FF27F80057FB6FC1BC01B800578C9FCB3AF1B601B +F01BF800C0F101FC007FBB12FEA26C1AFC0020CEFC4F477EC153>142 +D<193002C01678026016FE027FB8FC61610278C91278B3AA027FB712F8A30278C9127CA2 +14F8A24A16784A166091CDFCA30360497E03F0EB00E06F14704A6C143C4A6C804B6E7EDA +07F0EC03C04A48EC01F04A486E7E4B157C4AC9123F027E707E4A707E4948707ED903E070 +7E4948707E4948707E49CB7E013E187E498401F0F01F80485AD807C0180F48CCEA07C012 +1E0038F1038012F000C01A004A4A7CC153>144 D<1A101A381A3C1A7E003019FF001FBB +12801BC07E0008C8007ECAFCC95A4B5A4B5A4B5A5E4B5A92381F000C033E130F4BEB0380 +4BEB01E04A48EB00F84A48143C4A48141F4AC8EA0FC0021E6F7E4A6F7E02F0ED01FC4948 +6F7E4948167F010FCA6C7E01FE0107B77E0007BA7E6CEFE0076C93C76C7E9138FE000F01 +FCC71501C91500A21A60A297C7FCA5190C190E191F4F7E01C04D7E90BA7E7FA20120C700 +0FCAFC90C8FCAB1A081A1C1A3E1A3F00C0F1FF80007FBB12C0A26C1AE00020CEFC4B497C +C353>150 D<1818181F8516034C91C8FC93380F803E00C0ED1FC0B8EAE03C7E7E262000 +38C8FCC7007C5D147F14FE02F803701440494818E006F014F0902603E0184AEB01F84948 +6CEE03FCDA800791B6FC010F6D6C4815FE020001C016F8011ED901E09039C000F0004990 +3800F00316F849027C13604915074848EC3E064848EB1FFFD80781B6120E48B538F01F0C +48DA000F1370260FFC0F90380E1830D807E0020C4A5AD80600EC0030C716381760A2EFC0 +184F5AEF801C1700160C041E6D485A161F0030ED3F80003FB7D8C00F90C7FC6C715AA226 +08000FC8139EC7160319DC19FC725AA261727E18014E7E8594383807BF933A03F80F1F80 +93387FC01F923B07FC003E0FE0DB7FE0496C7E4BC700F87FDAFFF849486C7E011F018049 +486C7E260FFFFCC73A07C000FF80003F01E04A48EB7FC049C8003EC7EA3FF0D81FE04BEC +1FF86CC84848EC0FFE000CDB03E01407C9D80FC0EC0380043FC8EA0100047C92C7FC16F0 +16C04F4F7EC553>I<1304010618C001074D7E91B97E8662913C8003C003C001E0A991B9 +FCA3913B8000038000018305F014800106C76D903800018090C801E0EC03C04DEC07E000 +30F10FF0001FBBFC6C1AF81BF00004C8D80380C9FCC91207A21410021816406E16E0020F +4A487E92B712FC856192C912F0A692B7FCA392C9FCA692B7FCA392C9FCA692B7FCA392C9 +FCA21B301B781BFC00C0F101FE007FBBFC6C1AFF1BFE0010CEFC504B7EC353>I<157003 +7E1606037FEE0780037E17F0037C17E0037817C001381980133EEB3F80A2D93E00141001 +3C1538EF7803013803FC13C00178DA01FE13F8017FB713F019E090B813C09026E00078C7 +FCA2485AA25B48C7FCA2000616040004160EC8141F00C0EE3F83007FB812C37EA20030C7 +0078C71203C8FCA56D150C6D150E6D151F90B8128318C3A2903BF00078001F03171EA818 +07A21900180695C7FCA6EEFFFE163FEE03FC16017048EB200F0560EB7FFF94C76C130001 +C0170190C7705A1A7E03F8167C4B16384B16204C4C7EC353>155 +D<1306130714C0497E4A01076D13044A6E6C130F91C7486C6CEB1F80494A6CB612C091B6 +16E0711580499339F0000F0090263C01E0C7FC13381370A213E049485A000116800180EC +01C0D80300EC03E000C0ED07F0007FB712F87EA22730000780C7FCC7FC92C8FCEC0FC015 +FCEC1E3FED0FE091263C03F890B6FC91387C01FE91387800FF4A903A3F80F0000F494813 +1F4948EB0FC04948130749C71203011EDA0180140E4991C700C01308D9F810DB0018C7FC +2601E018163C2607C01C167F260F001FB87E003E96C7FC0078600060011EC9123CC7FCA8 +021FB712FCA3021EC9123CAB021FB712FCA3021EC9123EA3193C021C163891CA12204B4F +7DC553>I<1903F11F80F001FF061F7F0503B57E0108037F80010C913A3FFFFE0010010F +90263FFFFEC9FC6DB548CAFC03F8CBFC0280C7121C171F84A295C9FC051E14021A07F20F +801A1F051CEC3FC091BA12E0A30280C7003CC9FCA617380340151803600178133C037015 +7E037FB77EA24FC7FCDA0078C8123CA5491560177C177F177E177CA21778A4131EA6133E +013C173EA25F49173C193801700201142001F0DBE1E0C8FC92397003C1FF49903A0007C0 +3FF8484891390F8007FF000392261F000113C049027C9038003FF048C74848EC0FFC48DA +07E0EC03FE000EDA3F80140048D901FCC9127F48D90FE0161F4801FFCA7E26E007F08348 +48CB7E4B4E7DC553>159 D<1506ED07C016F05E5E5EA96C18306C1878006018FE007FBA +FC19FE19FC0078C7D80780C71278B3A3007FB912F8A30078C7D80780C71278197CA212F8 +1978481870481840C81600B3A5150FA2030EC9FC404D76C453>165 +D<17301738011E157ED91F80147F177E49C8127C013E5D4D497E013C02014A7E017C4B49 +7E017892B67E4C814918E0933A0780000FC049600001030F92C7FCD9C00CD90EC05B021F +011E141ED803809026801CE0133E9226C03C60133C2907003F803870137C922600703013 +78000E017E023813F8027C01E05C261C03F89038C01C01013F01015D3D3BFCF003800E03 +C0267FF1E09038000F07D8FFC1010601075B27FE03C00ED9038FC8FC007C020C14DE2730 +078018EB01FC00004A130049C95A010EED01FE011E4B7E011C923807DFC04992381F0FE0 +94383E07F84992387C01FE933A01F800FFC049DA03E0EB7FF048484A48EB1FFE9027800F +801FC7380FFFC000039026FE007C020313F8260707F8D9F80E6D13E03F0E3FC003E00780 +007F002A1EFF000F8003F0131ED83FF890273E0001FC130ED87FE001F8D9007E90C7FC27 +3F8001E0806CC700806E7E000C91C86C7ECBFC18071803A203206E5AEC01E0DA07C091C9 +FC91383F0008D901FCEB0FC0D90FF0EB03FED97FC09038007FC0D803FFC8EA1FF8D83FFC +ED03FFD87FF0030013C0D81FC0EE3FF06CCAEA0FF8000EEF03FC0004717ECC127F858585 +854D4C7DC453>170 D<180719C019F0033C5DDA01FC5DDA0FFE5DEC7FFF0103B57ED93F +FEC8FC3803FFF0EA3FFCEA3E00C7FCA304085D040CED03C0040EED07E0040FB712F01BF8 +1BE00318903A00078003C0151C153E00C0147F007FB6128FA27E3A2001F0000F1200A213 +03A3EB07701478147CEB0E7FECF7C090381EF3E090381CF1F890383CF0FC0138137E153F +017092B7FC0160131F01E0130FD801C09239000780031506D80380130013005A000E1A00 +000C030892C7FC4892C7FC12385A12605A5AC7FCAE180F494893C8FC4A150C6D4892C9FC +4D4E7DC453>I<160C161EEE1F804C7E4C7E1780EEFDC0ED01F8923803F060EEE0704B48 +7E4B487E4B487E033E7F4B6D7E4BEB01E04A486D7E4A4814784A48804A48141F4AC8EA0F +C0023CED03E04AED01F849486FB4FC4948EE3FE0D90780EE0FFED91F0692393807FFF890 +263C07C0DA3E0113E001F801F091393F807F80D801E001C09238001F00D8078049023E13 +06260E000F033C90C7FC003891C8FC12E0C71638187CA31874020E1576A2141E18F3A214 +1F4A6CECE380DA3DC014E1DA38E013016FECC1C0EC7878DA703CEB03C0033E4A7EECF01F +02E0D980071370030F1400D901C06D5A922607E00E7FEB0380030349133CD9070001F080 +5F010E0101814D80494A486D7E4984922600C1C06D7E494A4880490203C76C7E494A6E7E +0001030EED7F8048484A16C048C80018ED3FF0000E4BED1FF8484BED0FC0484BED070000 +304A4815024D4C7DC453>175 D<1420023C1602023FEE03C06F16F0023EC700C014F805 +F814E0023C14FE4D14C05F5FACEA0180A203201480033014C00338146001C06D14701878 +6F143C150F0480131E0307141F000315C01983180F000715E0D9807813C0000F02031503 +180ED81F0014804803001300007E91C7FC123E123CC7FC14F85CA5495AA4495AA3495AA2 +49C8FCA2131EA25B01381401495D491580000192C8FC485A485A48CBFC121C4818074819 +8000C0F00600454C7AC353>178 D<170718C001C016F001F05E01785E6D4C1306011FF0 +0F806D6C046013C06E9338F01FE00107DC81F813F09126E00180903983FC3F0001036DB6 +133EF1FE7E6D486D4A5A4A903A40078000F890C94A5A19034F5A4F5A624FC7FC193E9638 +7E018001069438FC03C00107933981F807E027E00F8180913983F00FF0267FFFC0B9FC6C +D9F07F17F81BF0271007C060C7003FC8FC000049C8127E60EF01F04D5A4D5A4DC9FC173E +5FDC08F81420DC0DE01478DC0FC014FC94B67E4C81047F15FC4CC81278ED03CFED070F15 +1E15181500A21504150C1538037090B612F8EC81E0EC83C0DA878090C81278EC8F0014BE +14FC5C5C495A131F495A6D4891B612F86DC7FC7F010692C8127890C8FCA4040815604D4B +7DC353>195 D<1A061A0FF21F80480103EF3FC0018090B9FCD9E00118E0D800F819C090 +297C0080000780C8FC6D90C748C9FC6D5D6E143E6D6C5C4D14200107020115704C6C14F8 +6D48D9078E80DC1F06497E91C7D83E07497E90C83A78038007E0922701F001C05BDB07C0 +4A5A4BC6486C48C7FC033E0107133C03F8496C5ADA01E0011F5B91C8383FF9E094387E3B +80DDFC3FC8FC933801F83E933807E03C93380FC01C0106EC1F000107027E133F26C00F80 +01F8497EB526E003F0EBFFE06C903BF00FC001FE789127E03F0003133E272007807C9038 +07EE0F000002E090390FCF07C092C7391F8F03E094393F0F01F0057CEB00FC05F8147EDC +03F0147FDC07C0EC3F80DC0F80141FDC3E00EC0FC04C1507ED01F0DB07E01503DB1F8015 +01037EC71580DA81F093C7FC15C00280C85AA2181E183E187E18FE933803CFFC17FF9338 +007FF8D90EC0EC1FF0D93C60140FD978386E5A2601F03CEC03802603E01F92C9FC270FC0 +07E090CAFC277F8003FEEE01FC496CB912F0007E6D6C17C0003C021F1780003814030010 +EC003F4E4B7DC253>197 D<4B7E6F7E167016788282161F707E83707EA21603A25F0401 +15084D141C93C9123E1A3F0006F1FF806CBB12C01BE07E90C8D80780C9FCC9FCB019034F +7E864F7E01304D7E011FB9FC867F0108C7D80780C9FC90C8FCB31B80F201C0F203E01BF0 +00E0F107F8007FBB12FC6C1AFEA20010CEFC4F4C7EC553>204 D<032080033C14F0033F +14FCA2033C14F062F20380F207C00040F10FE0007FBB12F07EA20010C7003CC700F0C8FC +C8FCA2161C161F17C04D5A0338EB0080DB201E90C9FC0300ECC01C943801E03E943803F0 +3F010C0307497E010FB76C487E6DEEF9FC6DDCFBF8C7FC0102C7391E0003F090C84A5A4E +5A4E5A4EC8FC067EEB01804EEB03C0DD03F8EB07E000604C48130F007FBB12F07E7E0010 +C9007EC9FCCA5AEE03F04C5AEE1F804CCAFC04FC14104A4848143CDBC7E0147E92B8FC86 +4FC7FCDA03F8C8123CEC07E0141F147FEB01F9EB07E1EB1F81D97C01B712FCEA01F0EA07 +C0D81E0001E0C8123C12F812E0C7FCA592B712FCA303E0C8123CA4193892C912204C4F7D +C553>I<1860187C480202147F6D0107147E6C6C496C137C90B600E01378825E9039F000 +0780AA1A181A3C04B0153F049FB71280168F90B6FC933B8C0078001E0016809038F00007 +A61A3E1A3C60A790B6FCA24D5A9038F00007A44D5AA34D5AA34DC7FC178FEE8FDEDCFF1E +1438DCF83C14789238FF807891381FFC009026F1FFE05B903AFFFE0001E0B500F0495A91 +C7485AD87FF04AC85A6CC8121E00384B1401001003F04A5AC84848EB3FFFDB0780010F5B +4BC85B033C033FC7FC03F0151EDA03C015184ACCFC1404494D7DC353>207 +D<16070002ED03C0D803C0EC01F0D801F06E7ED8007C157E6D816D6C6E7E80010F6F7E6D +6C1407130317036D485D02C1173071C712786D4891C8127C020317FEDA06C04B7E037FB8 +FC1B806C497E00E0912620000FC9FC0078011CC7FC003E13187E380F8038EBC0303807E0 +701203146014E0EA01C05C1381EA0001495AA24F7E49C8814F7E4F7E010E01604B7E033F +B77E011E7F131C922608000FC9FC013C90C7FC1338A21378A25B127B12FF127F12071203 +A21201A71A061A0F1B806DF01FC002C0EF3FE091BAFC6E18F0A20220CCFC91CDFC12004C +4C7CC453>213 D<01038202C015F002F0816E15FE4A5D49485D4A4A5AA24A4B1304010F +180EDA0018161FDB3C30ED3F80DB7E1FB712C0D8C01EEBFF0F007FB6FC6C92268403C0C8 +FC1600D8103CC8485A1200A24993C9FC5F02601860D9F07C18F0027F020EEC01F8DA7E03 +011E14032601E07C90B812FCEC780181D803C0DA803CC9FC1600A2D807801318033C5B00 +0F147E010013FE48B65B48190C6C191E280E00780001153F00044BB71280C7FC040016C0 +0540C7EA7F0094C812F8624F5A6219036204F04AC7FCED0FE003FFC8120EDA7FFC150CDA +FFE0151C010F90C912182601FFF802701338007F043C1330263FFE7891380F8070D81FF0 +923803E060D80F00923801F8C0000EEE00FC0004EF3F80C7707EF007E0727EF001FC727E +197F737E737E190F1907737E02F85F4A16014A16004E4D7EC453>221 +D<1704170F8418E05A01C0ED1F80D800F093C9FC0178151E013E151C6D49013C1304D90F +80D98038130F02C06D48497ED907E090B77E01038402F01780D901E001E0C7000FC7FCA2 +1300A214401400A693B7FCA304E0C7120F864995C7FCD90380160C26C007C093C8FC387F +FFE014F87E262003E083000001C0EE01E04F7E93B77E861AF004E0C7EA01E0AD93B7FCA3 +04E0C7120186621A80010794C8FCEB0F60D91E301380D9781CCCFC48487E3907E0078027 +1FC003F0173C48486CB4EEFFF090C76CB812C0001E021F1780001C1407000802001700DC +0080C9FC4E4C7DC453>234 D<18C0020C15F0020F15FC6E6C80DA03E013016E6C14F06E +6C5C170303785C4E131005071438033091C7127C003091C7000E14FE001FBBFC7EA20004 +C8001FCAFCC9FC163EA24C1406190F04788101C002F84A7E017FB97EA26D609027200003 +E0CAFC90C75B4B5A030F16064BC9120F031EEE1F8000C0023EEE3FC0007FBBFC6C1AE01B +C00010C700F0CBFCC7485A14034A5A4B15204AC91278021E16FC023FB77E4A8291B812FC +4AC912781301EB03DEEB079EEB0F1E131ED93C1FB712F8137013E02601C01EC91278EA03 +80EA0700120E5A0078011FB712F81260C7FC021EC91278A6021FB712F8A3021EC91278A2 +197C4A1678023816604B4E7CC553>248 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: F0 gbsn16 10 40 +/F0 40 214 df<1608160F17C0831780496C91CAFC14E0EB03F880A214E05C1307A25C13 +0F91C782F101E0011E844F7E1907013FB97E86A20178C7000FCAFC137013F05B12015BA2 +485A90C8FC5A1206120E5A121812381230481818191C48183EC9157F01384D7E011FB97E +7FA20104C7000FCAFC90C8FCB11A081A1C1A3E1A3F00C0F1FF80007FBB12C0A26C1AE000 +20CEFC4B4B7CC453>9 D<161C160F17C05F94CAFC60021816C0021EED00F0DA1F80153C +DA3FC0151F0380ED0FC0DA7E00ED07F0027C92380801F802FC92381C00FE4A033E137F49 +48033FEB3F80494892397F801FC04A03FF130F0107923A01FEC007E04948913903F80003 +91C7495A011E4B4813014991380E1FC049DA083FC812C049DA00FE154048484A48150048 +484A5A4848EC0FE048C8485A001C4B5A4803FECAFC0060DA03FC1418C8D807F0143C9126 +181FE0147FDA1C3FB77E6EB8C7FC020F5E03F0C8123CEC3FC002FFC9FC1303EB0FEFEB3F +0F13FCEA07E0EA1F80D87C0090B712FC12E0C7FC92C9123CA992B712FCA392C9123CA892 +B712FCA28592C9123E5C193C021E1638021C1620021893C8FC4B4E7DC453>14 +D<160CEE0F8017E05F5F94CAFCB21A0C1A0E1A1FF23F8000C0F17FC0007FBB12E07EA200 +20C8000FCAFCC9FCB3B3A55EA2161C16104B4D7CC353>27 D<6019E019FCA219F0616C13 +0C6C131E0060EB3F80007FB57E5D92C8FC3878001EA41A061A0FF21F800310163F031FB8 +12C081A20304C7D801E0C7FC92C8FCA7387FFFFEA216602678001E7F163882161E82EE07 +8017C0EE03E0A2EE01F0A217F81600A41770A21760267FFFFE1400A33878001E141FA314 +1E143891C9FC12F8A25A5ACBFCA2EF1F0318FF05035BEF007FF01F80A296C8FC180E1808 +4A4E7BC453>30 D<14060207140303C014E06F14F84A6C5C03805C92C75B5C141E143E14 +3CA25CA25CA2495AA25C13035C49C8FC14E0D90FF817046E170ED91DF0171FD919E0EF3F +80D939E3EF7FC0D971E1B912E014E013E101C19027C00003C0C8FC000191C7FCEA038113 +011206120E120C121812301270126012C012801200B3AB1303170702805D90C90006C9FC +4B4D7CC453>I<8216E01670167C82163F82A26D801A301A786D020E15FC48BA7E861B80 +01C0CBEAFE00484818F84F5A00076162000F4B6C495A261F000702F091C7FC48D903C013 +FC007ED901F0491306DA00F85B007C027E92C8FC0038023F5BC8EA1F81ED0FC11507A201 +06EB03811307903903C00101903801E000EB00F8147C80143FEC1F80140FA21407030016 +300206173891C74848147C1AFE00C04E7E007FBBFC6C1A80A20020C8D80780C9FCC9FCA2 +4CCAFCA2161EA2EE3FC0EE7DF8EEF87F923901F01FE0923903E007F8923907C001FE923A +0F80007F804BC7EA1FE0037EEC07F803F8EC03FEDA03F0EC00FFDA0FC06F7E023FC96C7E +02FCEE0FE0D903F01607D90F80707E017ECA1201D803F01700D80FC01860003ECCFC0030 +96C7FC494F7BC553>34 D<487E01E06E15306C6C6E15780178026015FE013E027FB7FC6D +606E5F010F0278C81278801307A26D5AA290C8FCA91306130738C00F80B57E6C13F0A238 +2007C000005BA5047FB612F8A30478C812781A7CA216F81A784C15704C15404C92C7FC93 +CBFC030401381360030C013C13700338017F7F4B6E7E4B9038FE000EDA81C049130F9127 +838001F86D7EDA8700496D7E028E49486D7E029E8302BC49486D7E02F84948147C4A91C8 +FC4948011E814C8149485B4A01F8ED0F80010F4A16C06D48484815070106495A010249C9 +13E090C7000E16035D5D4BEE01C0EC01C04B17804B497CC153>I<1610161CEE1F80835F +041ECAFCA8190C0130171E6DEF3F80011FB97EA297C7FC011EC7001EC7121EB0011FB812 +FEA3011EC7001EC7121E191F133EA2D93C08011C141ED9380C16180100023C91C8FC80A2 +80A2EC0180EDC0380200137815601570ED3870ED18F0151CED0FE015076F5A824B7E4B7E +ED1F3E92383E1F8092387C07E09238F803F8913901F000FEDA07E0EB3FC0DA1F80EB0FFC +4AC73803FFE0D901FC020090B5FCD907F0031F1480D93FC00303EBFC00D803FECAEA3FF8 +D83FF0EF03F0D8FF80EF003000F0CEFC494E7BC453>I<1418021C1570021F157C6F147F +4A6C147E023EC8127C023C1578147C0278EF0180F203C04AEF07E003C017F0902601E07F +B812F881D903C018F00320C70078C8FC4AC8FC130791C9FC5B010E491610D91F806D153C +02F06D157ED93BF890B8FC02F01880D973E0EFFE00D963C0903AE00078003C13E313C3EA +0183120313031206120E120C121812301870126000C092B712FC12801200933AE000F000 +3CA21A3E1A3C04C6491330DB000692C7FCEE0301A393380181C017C31600EFE380176317 +77053FC9FC83A3844D7EEF7BE0EFF9F0933801F0FC933803E07F933907C01FC093390F80 +0FF093391F0003FE043E903801FFC004FC9038007FFCDB03F091381FFFFC0107D90FC002 +0313F8DB3F80020013C0DA01FCC9EA1F8090260003F0EE030092CCFC4E4E7DC453>38 +D<496C151802F0151E02FCED1F804A4B7E5C4A037EC8FC187CA260A249485D1701609438 +03C00C854D486C7E030C6F7E030F49C77E00C09026801F8081007FB6D8C01E147C704880 +6C03C081292007801F0078EC0F8000004C15C0031E16074C48EC03E04C4815F0D90F00D9 +0FC3B6FC4CB712F8F1F00106F0C7FC92261C0FF8C8FC033C90C9FC011E91CA1270A21B60 +1B00A2011C1338013CD97801151871143C706C147F94B71280013819000178495E05F0C7 +123CA25DEBF801A390387E03C0EB0FC3903803F380EB01FFEB007F143FEC0FC0EC1FF081 +EC3DFC1478EC707EECF03F903901E01F80EB03C049486C6CB612FC90380F0007131E4901 +0301F0C7123C5B01E0D90180153E484890C7FC48481401000FC8163C001C4C1438484C14 +2000106F4891C7FC4D4E7EC453>41 D<1710171E94381F8380F0C1E0F000F8051E137E85 +8586050E130FA273C7FCA2F10608F1001C1A3E1A3F00C0F17F80007FBB12C06C1AE0A200 +20C90007C9FCCAFCA784A2EE8003ED01C0ED03E016F00030EC07F8003FB600FC7F6C15FE +7E2608001EC71201C7FC84A4170084A3841878A384A2183E181E0538EC0180933803F00F +EE3F80923A03FE000780DB3FF09138C0030091261FFF801303DA3FFCC7EA01E0902603FF +E015F0013F90C912F82603FFF8167CB500C0163E6C48CA6C5A01F0EF0FC7D83FC0EF07E7 +90CB6CB4FC001C84CDEA7F801A3F1A0FF203C04B4D7CC453>I<190619074F7E4F7E0118 +4D7E010FB97E7FA20106CDFC90CEFCAC1A021A07F20F80F21FC00030F13FE0003FBB12F0 +7E7E0008C8D80780C9FCC9FCA51403EC078003E01430DA0FF0143803F8141EDA1FE01407 +03C0EC03C0DA3F006E7E023E6F7E027E167C4A824A824948707E4948707E737E49488349 +48707E49C76F7E013E187E013C845B49F01F80485A4848F00FC048481807000EC8FC48F1 +03805A481A004896C7FCC9FC160FED7FBF16FF150F030190CAFC6F7E167E163C16204C4B +7DC153>I<160CEE0F8017E04D14104D143894C8123C1A7E006019FF003FBB12806C1AC0 +A20010C8000FCAFCC9FCA201021720010317786E16FC91B87E8519FC9126C0000FC71278 +A791B812F8A39126C0000FC7127C197819604A93C8FC90C81508191E0160173F017FB97E +6D8497C7FC0110C7000FC7121E90C8FCA31A03F20780F20FC000C0191F007FBB12E07EA2 +0030C8000FC7001EC7FCC9FCA513C0017FB812FEA27F0120C7000FC7121E90C8FCA2191C +191096C8FCA4ED3C1FED3FFFED0FFE15016F5AA21678167016404B4F7CC453>47 +D<021015020218ED0780021C4B7E021FB77E8519C0021EC8EA0780A9021FB7FCA3021EC8 +1207A8021FB7FCA3021EC81207A41A0C0218923806000E91CB121FF23F800070F17FC000 +3FBB12E07EA20008C8D803C0C9FCC9FCA31418141F03C0150603F0150703804B7E03004B +7E021E4C7E023E91B67E143CA205C0C9FC147C147E14FF14F301011380ECE1C0010313E0 +ECC0F00107137890380F803E90391F001F83013EEB0FE349EB07FB49D901FF167848486D +90B712F84848023F16C0D8078002071600001FC96C5C003CDC007F5B00F894C9FC12E04D +4D7DC453>52 D55 D<151803FC1630DA07FE163C91263F +FF30157E49B5001FB612FE011FD9018F812803FFF8000F5D003F49D90030C712F8D87F80 +60C76F495AA2030E011C495A000891381F800C000CDBC00E495A000E4B6C130F6C91261E +000391C7FCD80380013EEC801E01C0013C903801C03EF0E03CD801E0496D6C5A01F00170 +EC78F0F03DE04BEC3FC000004A6E5A02F18201E00183EC3FF0902700F00380EBFBFC923B +07C001F1FF806C913B0FE007C07FE0B73AF01F803FFE6C933A3E000FFFE005F86D13FC29 +2001F00003E0010113E0D80003913B0F8038007F8093267E003FEB1F00DB01F8EC8006D9 +077001E091C8FC92C8123E0278153CD90F7E17C090260EF7808290261EF3E04B7E9126F1 +F0304A7E90271CF0F81FB67E013CEB7E0F1338017890273F0C003CC8FC01706DC7FC13F0 +01E07FD801C013061504D8038090C814021A07D80700F00F800006020CEE1FC0000E0207 +B812E0000C805A00380202C7003CC8FC003091C8FC5AA21240C7FCA9187C494815784A15 +704E4C7DC353>58 D<1308130E7FD903C0011015306E011815786D6C6D15FC6D6C010FB7 +FC80027C17FC94C81278A21438A2143091C7FC0360143003F0143E00C0D901F8EC3F80B6 +12FC6CEF3E0015F039200003E0C7D807C0143CA2EC0F8015005C141E5C143814785C5C13 +01130314F8EB07FE90380FEFC0ECE3F090261DE1F8143F902639E0FC15E00131017E15F0 +0171013E15C001E11780D801C1011E147FD80381130CD807010100027B137C1206000C4B +1578001819700030031E01F35B0060031C92C7FC00C092C712F7008017E700001601A2EF +03C7A2DD078714C0A2EF0F07171EA2173C177817F0DC01E01401EE03C0EE0F00161E4C15 +0304F016E0DB03C0ED07F04B4891B5FC031EC715E0010301786E1400DAC0E091C9FCEC00 +804C4E7CC553>64 D<180C180F19C001C017E101F0EFC3C00178EF81E06DEF00F8011F18 +7C6D7E6E830107183C6E6F131C0103181897C7FC6D5AF2018090CAEC03C0F207E00202EF +0FF00203B9FC80A2DA0080C7D80780C7FC92C8FCA3130C130EEAC01F387FFF806C01E014 +0C171E26300F80143F0000D900C0EB7F87037FB5128385819239201E00031500A6180185 +A51800031881157015E0DA01C01570DA03801578DA07001730020E825C023C15304A9138 +01F01E4AEC0FC04A91387F000F4948D91FFC1570DC3FE0903807806090283F8001FF80EB +03C09126000FFEC713E090271F01FFF8EC01F0D90E0301C0913800F8F0D90C0190C9127C +90260400F8163F90C70070161F0320160F92CA1207F201F81A001B3C4E4D7DC453>I<17 +C0021C14F0021F809238C001FE038013F803005B021E5C1603A25FA24C5AA294CAFC4C15 +08001C191CD81F80020E153E01C0021E157F0100021CEDFF80041FB712C0001E5DA2043E +C7007CC7FC1676A216E6197816C31501048314F81503160303065DA2030C7F1518040113 +011530032001C05B156015000400130317E061A2177002FE1507010303785BEB0F9ED93F +1EEC3C0F01FC94C8FCD81FF8151E01F05ED83FE0ED1F1E01C0ED0F3ED8FF0016BC007EEE +07FC003C705A12380010705AC74B7E18FE4D7E94380FBF8094381F1FC094383E0FF04D6C +7E933901F801FE933903E000FF4C48EB7FC0DC1F80EB3FF0043EC7EA0FFC04FC913807FF +8091263E03F06E13E0DB0FC0020013F0DA3C1FC9EA7800DA307C1610DA007093C7FC4C4E +7BC453>I<191819F8F00FFCF0FFFE171F040FB6FC033FB5EAE003010FB60080C9FC0007 +B548CBFCCFFC16C0046014E001030270806E013C80D901E06DEB01FE6D6C131F027C6DEB +03F86E028013E06E6D6C485A03805D020FECE00F03C092C8FC0207903803C01E600203EC +8038D801800180495A93C700F0130692C74848130F91C849EB1F8090BB12C01BE0481AF0 +0180CBEA1FC0F23F000007193E1A7848CC1270624861003E9438080180007EDD1C03C7FC +D8FC0E163E6DB8C8FCEA78030020842700010180C7007EC8FC90C76C5C4D5A03605C4D5A +6F130703385C0318495A031C49C9FC6F5B6F137E705A03035B923801C1F016E3923800F7 +E0EE7FC0705A4CCAFCEEFFC0030313F0923807F1FC92381FE0FF92393F803FC09239FF00 +1FF8DA03FC903807FF80DA1FF0010113F8DA7FC0D9003FB51280D903FEC8000F14C0D91F +F8030114002601FFC09238003FFCD83FFCCAEA03F8D8FFC0EF00380078CEFC4C4F7CC553 +>73 D<161CEE1F80EFC070EF0078183E041E7FF00FC0727E1803851801A2180061A2F140 +10F100381A3C1A7E006019FF003FBB12806C1AC0A20010C72607DEC0C9FCC81440EE9E60 +150F161E031F7F151E153E83153C037C131C0378130C03F8130EDA01F0130603E0130702 +036E7E15C0DA07806D7EA2DA0F006D7E021E8118784A15384A153C02708102F081494882 +49486F7E49486F7E91C76E7E010E8349707E49177E498349717E0001F00FE04848717E48 +C8ED03FC000E953801FF80487213E048F178004819304896C7FC5AC9FCA7161C16184B4C +7CC353>98 D<1702EF03C04817F001C0EEF8106C6CEEE01C0170170F01784C6C7E6D846D +717E011F717E6D7E6E1600010760621A030103F007804AEF0FC0D90003171F6EB912E0A2 +80922780003DC0C8FC92C7FCA21779177BA217F318F0010602017F0107EDE3DE26C00F80 +010313CFB500E09138C3C7C06C6D0107EBC3E04A913883C1F02620078090390F03C07C00 +0084041E80043C6E7E737E04788104F06E7E04E06E7E03016F7EDB03C0157EDB0780157F +DB0F0081030E824B17804B160F4B17004B82EC81C0DA8380160292C792C7FC14821480A5 +130FD91EC01407D93C605D496C0206C9FC48486C91CAFC3807E00E391FC00780393F8003 +F090C7B4EE01F8001E023FB812E0001C020F1780000C14030008DA003F16004D4A7DC253 +>I<02181530021F153CDBC0E0133F00074A6C80D80380D901FC017EC8FC2601C01E157C +01E014F0D800F04A137801F8495A137C4B485B93C7FC01381306030E5C012090260C0601 +5C0100D9080FED03809227001F81C014C000C0DB3FC1EC07E0007FB700C3EC0FF005E3B6 +FC6C04C315F8262001EEC7000715E0000094C7EAF000EB03DED907DF5CEC9FE090380F1E +FC011E013F497E013C90261FC01B1301017890380FE03901F0903803F0313B01E03E01F8 +71D803C00100D961C05BEA0F80D81E00EC78C148013CEB318000F00138010113E0480160 +EB0300C7007890C7FC02FE5F4AED70034A7F49487F4B6C137800C049486C01385B007FB6 +6CEB3C07826C171C2820078003F0011E90C7FC00004B5C49484848130F49171E011E4A14 +9E013E010FEC07BC013C91C713FC017C496E5A49011E5D4848013E140101FF013C812700 +1FF07C1403902601FFF84A7E9026003FF04A7EDA0FFCEC1F3FDA03FF023E7F4A01E0496C +7E91260F9FF09038F00FF0913C1F07F803E007F8DA7E0349486C7EDAF80149C66CB4FC90 +2603F000013E6D13C0D907C0D978F8EC7FF0D91F80D93BF0EC3FFC017EC7D80FC0EC1FF8 +D803F8023FC8EA0F00D80FC002FC1506003FC7D803F092C7FC003815804E4D7DC453> +106 D118 D<191804C0141E70EC1F80486C02788101E06E143F6C6C021F023EC7 +FC01786E6C133C013E6E6C137C6D6F13786E010314F8010F6F5B6E130101074C5A04005C +6D48150305E05B90C949C8FC4BD9400E7FDC8000EB01E07049487E93B77E861AF004E0C7 +EA01E0A21306130738C00F80B512C06C13F0A2382007C000001380A993B7FCA39339E07C +07818605785C1A8004C00280C7FC92C7FCA217F01508153892387001E0EC81E0EC83C091 +278F8003C01520DA9F00176002BEEB078014FC4AEB0F00495A4A011E16E049485B4A5B01 +0F5C91260003E015010106495A90C74848ED03F0033EC7EC07F803FC92B512F0DA03F017 +E0DA0FC06E1480023FCCFC14FC14E04D4D7CC453>128 D<01081730010C17786D17FE01 +07B9FC6161912680001EC71278AD91B812F8A3912680001EC71278AE91B812F8A30280C9 +127C130FA291C700101478010E02181460010C020E91C8FC90C8120F707E02026D7EDA03 +C06D130C01209026F801F07F4B6C6CEB07800160496D6D7E4B017C6D7EF100F81A7C01E0 +033C147E737EDD38017FD801C019800500EC0FC012030007050313071380000F1903EA1F +00007F0507148000FE18C04894390FE001006F93C7FC00F06EEC3FC0C76CB75A6E4BC8FC +60033F14E04A4A7BC253>135 D<190600C0180F0060F01FC0007FBA12E01AC01A802878 +0007801EC7EA0F00B3A3EC0F00A5141EA3141C143C14381478147002F015104A15F80101 +91381FFFFE494815FF4A010713F849CAFC5B131E5B13705BEA7BC0007FCBFC127C1278A3 +007FBAFCA30078CB120FA31A8012F8A248190048180C004095C7FC434577BF53>143 +D<1470147C147E147F147C4A17E01AFC4A83010160DAE0185E031F5E010314C002C05BEE +0060902607801E7F830200141C4981010E150F011E81011C8284D93F80140302C081EB7F +8002006E7E13FEA2EA01DE139E1203011E5E0007160000065F000C94C7FCA20018610030 +1801A2126012C01200A2621903A306E05B943803C007EF0F00171E057849C7FC4C5A4C48 +131EEE0F804CC75A047E147E4CEC7B80DB1FF8ECF3C04C903801E1F04B48903803E0F84C +903807C07C4B4849C67E4BC7001E7F037E4A1480033C02F8EB0FC00318D901E0EB07E092 +C7D807C01303051FC713F0057C1401EE01F0DC07C01400013E021FC9FC04F816E0DB03E0 +1660013C011FCBFC013013384C4D7DC453>145 D<0103164002C0157802F8157EEF207F +02E0EC707C4AECF87892260303FC140CDB0187151E933BDFC079803F809326FE0078B512 +C004F016804C6E1300F1401E03C11500ECC1E1ECC3F1004013C7007FB500F913306C1678 +17FC281003C001E1EB79C00000923AFFFE78FFFE197FA2DCE000EB201E1900A7151D1579 +ECC1E1DAC7C1B712FEECDF0102FC8302F8903AE00078001F903807E003D93FC0171E01FF +4A1518000792C791C7FCD81FFB90C814C0D87FE34D7ED8FF8301384B7ED83F03011FB7FC +001C6E82000C850000DA0406C7EA07F0030016C004074A5A706C131F04014AC7FC71133E +706C5B7113FC94387001F871485A71485A94381E0FC094380F9F8071B4C8FC715A715A4D +7E94380FFF8094383FDFE09438FF0FF8D81C07913903FE03FFD81FFF91260FF80013F06C +49D97FC090387FFFF8C64A48C7000F13FC90273F001FF8020313E0912603FFC002001380 +90263E3FFCC9EA1F00011C018016020110CDFC4E4E7DC453>156 +D<1618161F17C04D130294C7EA0780041E814F7E00064E7E6CBAFC867E90C8001ECAFCC9 +814E7E4E7E4E7E01184C7E010FB87EA27F0104C7001ECAFC90C816181A1C1A3E1A7F00C0 +F1FF80007FBB12C07EA20030C7D80380CAFCC8EA07E04B6C1338031F147C92397F0001FE +03FC497E4A48497FDA07E0D91FF8C8FCDA1F80EB3FE0DA7E01B51280D901FBB548C9FC01 +07B612F86D9038FC0FF09239003FC040D901F090387F007890C7D801FC133EDB07F0EB0F +80DB1FC0EB07E0037FC7EA03F8DA01FC6E7EDA07F06E7EDA3F80017FB5FC90260FFE7FB7 +7E91B7EAC01F94C7120F6DD9E01E1407ECC00090C81503020870C7FC021C03E0C8FC021E +1578023F151FDA7F80EC0FC0DAFFC0EC03F0DAFE00EC01FCD901F86F7E4948EE7F804948 +707ED90F80161F013FC76F7E017E023E140701F801F81503D803F0D9FFFE1401D807C013 +1F001FC700071500003CDA01FC156000F06E4892C7FCC95A16C04A4E7CC453>163 +DI<17200203143800066D6C137E27038000E0EB7F80 +D801E06D0204EB01806D0178D97C0614C0D800FC017C903AF8078003E0017E6D6EB512F0 +013E013F01F015F8013F7F6DDA81E09038C003E0DA0C0F01C015C0D90E0813010218EB03 +80010C1583010090390E070383913A30040607C3913A38000E0FE3023FB612F3146F1467 +00C0903A640078000300701360003C5B121F018094B5FCEA0FC12607E180141000030183 +021EEBC00301E301E0EB1F83D801C313F8DA03F0EB1E0301C713E0D8008713C013071306 +130EA3131CA3198001381607A296B5FC13784AB512FE0170EF8003EBF00F9238C0F01E00 +61EB038000FF0101150F91270001E01C1300000F1610D803E01500A200014A5A181EA24B +5A604BC7FC1838031E1478187000034A14F04B495A03F85C4A48495A486C484813074A48 +90390F001FC74A48011E14FF000349C74801011380027C4AEB007F6C484802E0EC3F0026 +0001E04948141E02804A140C4D4E7DC453>168 D<496C140602E0EC078002F815E0D903 +FE15F802F89026300FE0130602E001780180130F010702F816804A486C48C7EA1FC049B5 +00FE90B612E05F5BD91E07C7D8781EC8FC90263E038080017C01E09038F007C0903C7801 +F001E003E001F0EC03C02601E000EC8001D9C08049C7FC00039038C0600E280780E04018 +EB01F8D80E00B87E488448604801F0C912F05A1280C7FCA391B8FCA302F0C9FCA591B8FC +A302E0C9FCA791B8FC85A2913AF0780001E06102E05E02C0EE80180280EE001CDA007016 +3E1A7F0060F1FF80003FBBFC6C1AC0A20018C727F00001E0C8FCC71201A25D14034A5A4A +5A141F4AC7FC147C5CEB03F0EB0FC0017EC8FCD803F85ED81F805E0018CEFC4B4E7CC453 +>174 D<4916026EED07806E4B7E91B87E8519C002E0C8EA0780AD91B8FCA3913AE00078 +0007A591C70206C7FC90C891C8FCA2014017100160173C0170177E017FB9FC1A80F1FE00 +0178C70078C7123CAE017FB812FCA30178C70078C7123C193E193C1930017094C7FC90C8 +FC1870183C180FF007C0F003F0F001FCF0007E851AC00507B512E093B6128700FCB83880 +03F0B8EA80006C0380C7EA01F803C0C912F06C01C0CA127001C0CBFC0030CC1230454D7A +C353>I<18306C0140153E6C01F0ED3FC0386001F8267FFFFC4BC8FC187EDAF840147C39 +7801F0704A6C4A1318033C163C49486C4A137E92260F060114FF02800187B7FC6F6C1680 +D9070001C11600DD03C0C8FC923903C007801306010E4A48C9FC010C90C7FC171E011C03 +1C14E00118033C497E057C80057FB5FC4992B67E4C5D05DEC75A0138EC039E6DEC071E6D +140E6DEB040C9138800E180103EB1F306DB512C0DCE01FB5FC6D14C09138E00F00027002 +1EC7FCA21478A5051FB5FCA302F8021EC7FC1301387FFFF0A2007913E038787FC0EB3F80 +EB1E00131890C7FCA2F001FFA29538003FE0190F735A92261FC01091C7FCDB7DE0CAFC91 +3801F0F8912607E07FED07E091261FC03FB7128091263F800F16006E486C5D04005D00F8 +010E141F020C91CAFC4890CDFC12C04B4C7AC253>177 D<1608160F17C0830580130294 +C712074F7E86486C4D7E6CBA7E867F0140C7000FCAFC90C8FCA46D180E1A1F6DF03F8090 +BB12C0481AE0A201C0C70018C8EA3F804848023CED3E00047E5DDCFF80147800074A48C8 +5A000FDA07F001025BDB0FC090380701C048C748C7380FC18048027EDA3FE3C7FC007E02 +F8EC7FF2DA03E0ECFFF0003CD90FC0010390C8FCC7007FC7EA07FCD901FDB612F049B712 +C06DDAFC7FC9FC9238C001FC913AF00007F01890C8380FE01E93393F8007809339FE0003 +E0DB03F8EB01F8DB0FE06D7EDB3F80147F03FEC86C7EDA07F06F7EDA3FC0011FB57E9026 +0FFE7FB77E91B7EAF0036D9239E00001F89226F007801300903803E00090C816701403DA +078002601320DA0FC0027C90C7FC03E0EC1F80DA1FF0EC07E0DA3FD0EC01FCDA7F006EB4 +FC02FEEE3F80D901F8EE1FE04948EE07F0D90FE0707ED91F80707E49C76F7E017C020F15 +7ED801F0D97FFF153EEA07E0D80F800107161E003EC7000190C8120E00F06E6C15060080 +033E1504C9003C92C7FC16204B4E7CC453>194 D<04401506DB01C0151EDB07E015FFDB +1FF002031380DB7FF8021F13C0912703FFFC8090B512E0D9C00F902680C007EBE000902A +E07FF000E07FFCC7FCD97BFFC7387FFF80D97FE003F0C8FC0178C80078C9FCAA1506150F +017FB5128004C0150204801507902778000F00ED0F801BC0F21FE0057FB612F01BF8A294 +2678000FC7FCA61770A3017FB513F0A3903870000FA213F0A2030E5BED0001A54C5AA300 +014B5A5B4CC7FCA2161EA248485C5E5E49130100074A5A90C7EA07804BC8FC48141E000E +147C4814F0EC03E048EB0F80021EC9FC4801785E4801E0161E48018016184D4E7DC553> +196 D<1430023CEC0380023F15E06F14F8027EC75B027C5D02785DA214F85CA2495AA25C +1303A2DA800716E0010702E081020001F0EC01FC4902C04A7E010E170F0480EC7FF0011F +EEC3FC02E09238DFE0E0D93FF0EDFF0002E0EC0FF8D977C0EC7FC00280EB83FF01E7EC9F +F3EEFF83D801C7ECFC030187EB3FE00003903881FF80903807BFF70007EB9F870006D98E +071501000C1380121C121812301270126012C012801200190362A2F0CF0FF0C7FF06C15B +F0C07F73C7FC191C191096C8FCA21BC0A217071A0195C7138094C8FC1BC0A21A03A3F207 +E070150F70ED1FC06FB812806F1700010F18FC6F6C15E0010ECDFC4B4C7CC453>198 +D<1502ED03806F7E6F7E16F81678167C82A212021A600003031C15F00418EC01F890BA12 +FC1AFE4819FF90CBEA01FC1AF048F003E01AC0001E1980F10700003E1806007E01405E48 +137848017E1608027F93C7FC0070137CC7FC1478A41818183C187E18FF05037F5FDD0FE0 +C7FCEF3FC04DC8FCEE01FCEE07F0EE1FC0047FC9FCED03F8ED0FE0037FCAFCEC7BF8EC7F +C0027CCBFC1478A5F10180A2F10300A661A21A80190F1AC0027C161F027EEE3F806EB812 +006E5E19F8020716C0484C7AC553>I<16C016F816FF5E16F8A25E864F7E4F7E8600E002 +01ED0FF8007FBA7E7E860010C7D801E6CAFCC813E7ED03E3EEC38016C183923807C0E016 +80030F1370EE007817384B133C031E7F153E033C7F037C8003FC6D7E03FF80913A01E7C0 +03F0913A03C3E001F8912607C1F07F913A0F80F800FE91263E007CEB7F804A017EEB3FE0 +4948013EEB1FF8D903E0ED0FFED90FC0011E903803FFE0013FC7001C6D13FE01FC02087F +D807F091C8EA3FF0D81F80EF0FE000FCCBEA03C000E00330EC0080C9003892C7FC020413 +1E913807800F9238F007809238E003E001C013C04B6C6C130E717F04006E7E0001F001E0 +9439780100F04E7FD803800370147C860520143F0007DC00077F000F1A800100180F484D +14C0007E190700FE0680138048171F486E143F00706E91397F000300C76CB600FE90C7FC +6E5D18F06E6C14804A4C7AC453>213 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: F1 gbsn08 10 35 +/F1 35 246 df<1430023C1406027FEC07806F14E0027CC77F027815C002F85D4A140F4E +487E0101844A4C7E4F7E902603C030011E497E031FB77E148001077F91270008001CC9FC +4990C7123C130EA24915381778EB3F8002E0170449480270140E4A02F0141F01EFC81680 +D9CF0CEF3FC000010107B912E0D98F0318F0120390280F010001E0C9FC000690C75B000E +1503120C00185E16071230126000C04BC712034F7E00004B4A7E4CB6FC4C81041F81040C +C7EA3FC00404023EC7FC93C85A1978614E5A614E5A4EC8FC18060418130E041F130C9338 +07C018933801F038933800FC30EF3F60EF1FE01707EF03F8EF01FEEF007F727E727E727E +727E1803727E180019785B011E1738011817304C4D7DC453>4 D<1A0601C0180701F001 +0CEE0F8001780107B812C0013E6D17E07FD90F8090C9EA0F806ECA130013078013035C19 +30010117784A16FC902600018014016EB712FE81A20360C9FC92CAFCA3130C130ED8C01F +02201304267FFF800130130F02E00138EB1F806C033FB512C026200F8016E0000090C715 +8093393C000F00B1043FB5FCA392390C3C000F151C1570EC01E0DA03C0140EDA0F801408 +DA1F0091C7FC023E133802FC90C9FC5C5C495A495A495A6DCBFC131E130E010CEF7FFF90 +CB121FF101FE19001A7C1A304B4A7DC253>35 D<4A140303E014E003FC14F84B5C4B5C4B +5CAB1A10014018380178187C017E18FF017F1980017C5F01780204913803F000040E4A5A +041F4A5A043F4A5ADC7F8349C7FC92B500C3137C61F0C3E0923AE00003C7C006CFC8FC18 +FC6018E060B31B2005E31560EE07C3EE7F03EDE3FCEDFFE0040016E0EC0FFCECFFE0017F +138002FCC715012603FFF018F0B5008018F86C48C86D130301F070EB0FF0D83FC06FB612 +E090CA1580001C1A00CB003F13F84D497DC353>I<160C160F17C08317804CCAFCA20070 +151E123C001F5D6C7E3807E0016C6C485BEA01F800000106137001FC02F01530D97C0C17 +7801784A15FC9026381C01B77E021883D9303818809027003003C0C8EAFE004CEC01F802 +7017E0DA6007C8485A02E002785CDAC00E017F49C7FC010116804B90387E000E90260380 +18150C03385DEC003049017015100360017F90C8FC010E5BA290261E0180137B011C15FB +D93C03C7EAF380EB380291C8FC13780170EDF1C001F0140117E148488217E012FF4C487E +491670001F1778000FED0780000783A293380F003E181E4C131F041E7F4C80047C6D7E04 +788004F813034B48804B486D7E4B4880000F4A486D7E4BC8127F033EED3FC06D496F7E4A +4816F82707C003E06F7E0003D90FC06FB4FCC7003FC96C13C002FC1600D903F0EF7800D9 +0FC01720010ECDFC4A4D7AC453>39 D<1703021E15E0DA1F8014F8DA0FE05C6003805CA2 +92C7FCB3845C8181DA1EE013078103788081153EEC3C1E6F147004801378DB07C0133817 +0F91387803E0183C16F00301EB0E1C02F09038F81E1EA20300141F49484A7E16F005387F +494890386078070440804948903900F003E0EE01E049C76E7EEE03C0011E02076D7E011C +4B7F013C4AC7127C49021E147E01704A80494A6E7E48484A81484849486E7E48C748486E +7E000E4A488148021EC86C7E484A6FB4FC484A6F138000C0D901E0EE7FC0C74848EE3FF0 +020FCAEA1FF8021CEF0C00027894C7FC14604D4B7CC253>44 D<16E016F816FFA2ED01F8 +A24C15181A3C4B48153E1A7F00C04A48EDFF80007FBBFC6C1AC0A20010C7D80F80CAFCC8 +90CBFC5D151E153E153C157C4B4B7E4F7EDA01F64B7E03E7B77EDA03E382EC83C1DAC781 +C8EA1F80DA7F80033EC7FC92C91278027E5E4E5A027CED038002784BC8FC02F8150E4D5A +010116F801038201075E02785D010F5E131E133C013818060170180F01E0F01F802701C0 +7980EE3FC026038078B9FCD807007F1206489127200001E0C8FC4891C7FC5A5A5A5AC7FC +ADEE1F8717FF04035BEE003F715A02F892C9FC171E4A140C02C014084A4E7CC453>63 +D<1340017803401320017E0378133C017F037FEB3F80017C037E91C7FC49037C133E0578 +133CA249487E4A7E4A7E2601E00F170390B56CEE0780F20FC0DBF180ED1FE001C0C7B8FC +00036F16F04919E093274078003CC7FC00071500495A4A7E0006497E000E80000C497E00 +0FB5FC48804B17C0D8380FC8ED01E00030F103F000700208EE07F80060020FB8FC00C06E +17FC1BF800000202CBFC92CCFCA215C04A7E4A7E0060010701081560003FB5D8F80C15F0 +6C030EEC01FC040FB67ED8180FC75E00006194C85AA994B6FCA2150E033C90C8FC15F0EC +01E0EC07C0EC1F00143E14FC5C5C495A494891B6FC495A6DC7FC011E92C8FC130C010884 +90C8FCA2040E5D040C15C04E4E7DC553>70 D<1706EF078001C016E001F0ED03F8133801 +1E16E0131FD90FC05D6D7E1303801301A213005C144091C8FCA21A03F20780F20FC04A6C +161F92B912E080819227400007C0C8FC92C75BA213038038C007C0387FFFF06E4AC9FC6C +5B262003C081000017E0EF1F70EF1E3884180F94383E078094383C03C0727E4D6C7E19FC +05F8137E4D7F4C486D7E190F4C486D7E0407814D6D7E4CC76C7E161E4C6E7E16384C157C +4B5A4B48153C4BC9FC030E161C902607E038161890260E207093C7FCD93C38CCFCEBF81C +3803F00F390FE007C0393FC001F0496CB46CED01FC6CC7003FB812F0000E020F17C0000C +020117800008DA001F16004E497DC353>72 D<1630163C163FEE1FC0A294CAFCA2161EAB +1A181A1C1A3E1A7F0060F1FF80003FBB12C0A27E0010C8003ECAFCC9123FA383163D167D +EE79C0A216788316F8EEF0601770A203011330EEE038A203037F16C0171E923807800E17 +0F030F7F04007F4B1303031E80033E6D7E153C4B6D7E03F8804B14784A48147C4A488002 +07814A48814AC86C7E023E6F7E4A6F7E02F06F7E4948ED00FE4948167F49CAEA3FC0011E +EF1FF00138EF0FFC01F0943807FF80D803C07113F048CC13E0001EF17E000078191800E0 +19084C4D7CC453>76 D<17C0020C14F8020F14FE4A6CEBFF076F9038F803E04B90387001 +F892C7EB00FE023E167F023C707E737E4A160F190702F816035C190149485F96C8FC495A +5C010718186E0278143CD90FF0173E6E177F02E05F4948030FB5128093B812C0D93BC1B8 +EAE000D933C003C0C8FC01739026FE0038C9FC01E3134001C390C7FC12011383D8030315 +3C12071206120C171C121812300060161EA212C00080160E1200170FA3717EA3717EA217 +0184A2717E1B60187806381440183C7214C084851807953803E001F001F0F000F8F17E03 +F13F83F11FFF1907070113E00107EF007F1A1F4A170391CDFC4B4D7CC453>83 +D<0218EC01E0021C81020F15FC6E6C80DA03E0EB03F06E6C5C6F5C6E6C130760037E91C9 +FC5F033E130E01084B1318010C013C153C010E011C49137F010FB97E97C7FC6191C7003C +C7123CAA91B812FCA391C7003CC7123CAA91B812FCA28591C7003CC7123EA261010E1778 +010C176090C8ED00201A701AF88600C0F003FEBCFC7E6C1A800020C8003CCAFCC9FCB05E +16701620494D7BC453>92 D<1470147C147E147F147CDAF802150303034B7E4A6C6CEC0F +E093B77ED901E05F62010302E0C7EA078014C0A2EB0780A214005B130E131E131CEB1F80 +EB3FE014C0EB7F80140013EFA2EA01CF93B7FCEA038F130F000703E0C712071206120CA2 +12181230A2126012C01200A993B7FCA304E0C71207A386A215034C5D0706C7FC93CBFC92 +CCFCA4F20180F203C0F207E0020C18F00207B912F8A26E18F00202CCFC49CDFC131E1318 +4D4D7DC453>98 D<4B7E16F016FC5E00024B1306D803804AEB07806C6C17E06C6CEE0FF0 +13786D1780013EEE1F006D161ED90F80153E02C0153C0107167C02E01578D903F05DA201 +014B5A604D5AD900E092C7FC5F02C0140E0200140C94C712C0F001E00018EF03F8000FB9 +12FC6C18F819F00006CAEA01E0CBFCAE12066CB9FC7EA20180C91201CBFCAD12C0007FB9 +FC7EA20030CAEA01F0CBFCA219E0F003803E4978C353>104 D<1A181A1E0560EC1FC017 +F04C6C150000C04B6C141E007FB7FC6C825F2610001EC8121CC7001FED1F804A6C15C0DA +7FE01500027EC8FC4A151E5C495A903803E006150749486C7E49486C7E91C712F0011E14 +7849147C49804980485AD807C090387F0F80001FB712C0A2EDC007EC8F00380FF00FD80E +00EC0380C7FC170093C7FCA51606160FEE1F800018ED3FC0000FB7FC17E06C16C0260400 +0FC8FCC7FCA5183EA21838183095C7FCA21718EE03F8EE3FE0DB07FEC8FCEDFFF04A1380 +902603FFF8C9FC48B512C0003F01FCCAFC02E0923801FFFE6C90CAFCD80FF8EF0FFC01C0 +17030006CB6C5ACC5B735A624A4D7DC453>116 D<141002381403023C15C0027E8102FF +81496D5C02F8C74848130349484BEB0780D907C018C090260FC180EE0FE0D91F81B912F0 +EB1E00496D17E049902640000FC9FC4990C7FC4848150E4848151E2707000C041620001E +D91E06167848D91F0716FC0070D93FC7B77E006085C7D87E0716FC027C903A8078078078 +14F8EB01F0A2EB03E014C0EB0780130F14E0EB1FF0EB3FE014C0D97F8090B712F813F7EA +01E701C70280C81278D80387187CD807071878000EF16080001C0204C9EA01C0003891CA +EA03E00030018CEF07F000700187B912F812E0000013830282CCFC028014021703717E04 +0801E01340DC0F001460DDC07013380318D9E0787FDD807C131E727F0500EC0780070213 +C00338021E1303DE1C0613E00618EB01F00378140096380700F815F803F05D0281187802 +831870DA87E092381F806003C06DECC00071EB7F809126838007B500FEC7FC90270F8000 +035C19F0040014C091CDFC130C4D4E7EC553>121 D<1408141C023E1604027F0120140F +DB80384A7E02FF013FB67E902601F80082494817804948013CC7000FC7FC495A495A49C7 +FC137C5B485A4848023FB6FCEA0780380F000C001E011F013CC7120F007814804814C000 +C0EB3FE0C7EA3E00147E147C5C4A013FB6FC1301495A4A013CC7120F13074A83496C94C7 +FC02F0160C496C0120EC0006D93FE090C9120F013BF01F80902673C018163F01F3011FB8 +12C001E37FEA01C3D803830104C8003CC7FCD8070390C9FCA2120E001CF101800038F103 +C00070F107E000E001C6EF0FF000C001C3B9FC000001C118F81BF092C9003CC7FC14C016 +18161C828283707E83831601A316005F5F5F94C7FC197C943801FFFCA2EF003FF007F801 +0716034A6F5A0106C913C04D4E7DC553>I<1302EB078002F0141E6EEC1F8002E015E04A +5D4A4A5A010F93C8FC91C8123EA2010E5D131E011C157817F84901C05B00C0902601E001 +EC01C027607003F84914E0007FB500FCED03F04CB612F803F016FC28780001E00715F894 +39800001F04CC713E0A2161E161C163C16385EA25EEDE1C05EEDE381EE01809238E200C0 +03E013F0177883007FB5FC7114C0171F26780001EC0F80A218C01707A31880A218001702 +94C7FCA21903AA007FB5FC1A806F150738780001190F4B16004B5D00F891C73801FFFE91 +C9127F48EF07FC48EF01F8004018E0CC5A464D77C453>I<02C0EC01C002F015F002FC15 +FC49B44A7E02FC15F04A5D4948D9300714064A017849130F4948017C49EB1F80DCFE0F14 +3F49B591B612C0705A495D90291E0380003C07C8FC496C6C496C7E4D6C7E496C6C01E07F +499026F001C07F48486D48486C7E49D97807C7FC4848EB7C0E48C726780F801378000E04 +E0137048027049134848020049131C4893C7123E00C0183FD880604D7ED8003FB97E867F +0110C7000FCAFC90C8FCA21A081A1C1A3E1A3F00C0F1FF80007FBB12C0A26C1AE00020CE +FCCB1208180F19C0F1E020F18070F100F886000EF003FE6CBBFC6C1A80A26CC70060C700 +0FC8FCC81238153C8181826F7E821503A315015E5E92C8FC94B5FCA2EF0FFE1701715A60 +187018604B4D7CC453>127 D<1438143E143F6FED0380023EC9EA0FC04AEE7FE002784B +487E060F7F02F8037F13184A912607FF80C7FC0101010CD93FF8C8FC913AE00603FFF092 +3907BFF870D903C0EBFE001680EB0780A21400EB0F8014E0EB1FF014C0EB3F80A2137718 +7813E713C70001190C0187181ED803070438131F0007F13F800006F17FC0000C92B8FC1B +E012180030922680003CC8FC1270126012C00000171CA3181EA3180EA2180FA284A28518 +03A285DD0381144094380F01E0053C15C09438F800F0EE81E0DC87C01378DC8F801401DC +BF20133CDCFE38131EDCF81C131F92260FF00FEB0F03933AE007800783923B1FC003C003 +C3DB3F8001F013F3030F0101EB01FF93C76C7E0306EE3FE0010F90C80078131FF20FF091 +C900701303010E042013004C4D7CC453>132 D<010682D9078015F002F015FC4A814A15 +F85C60A516401678167FA2167C047815E04F7E1AFC4F7E4F5AF13FF0036015FE03F0ECF3 +F0DA81F8ECFFC000C001831600007FB500FCEB01FCEF07F06C161F2720078000137E0000 +ED79F8EE7FE01780EEFE00ED03F8150FED3F78EC81FCEC87F0EC83C0EC8180EC8000A262 +A21901A41903F0F7FF06F35B18F0F13F8003046FC7FC031C150C03F892C71220EC83E0DA +9F801760DAFE00130114F8494815C0D97FC091C912E0D803FFC7FCEA1FFCEAFFF0D87F80 +F001F0003EC8FC001C1AF80018037C1503C9007EED0FF070B712E07016801B00040715F8 +4D4B7DC453>143 D<026015C002F815F06EEC01FC02FF81494815F802F84B5B49489026 +0C03E0EB03804A011EED07C04948013F49EB0FE0DC7F87141F49B600C7B612F017CF5BD9 +3E07C7D81E1EC8FC90263C0380497E496C6C6E7E01F001F090387803E02601E00002707F +496DEBE00148489038FC01C048C73978038000000E4BC7FC48DA70061460480220C8EA41 +80D8606090C9EA03C0D8C07FB97EC66C84620110C73A03C00003C090C8FCA51302130380 +91B9FCA3913BC00003C00003495A6296C8FCA291C7FC49180C1A1E1A3F49BA12804919C0 +7F010EC7D8FBC0C7EA1F800104D901F3ED1E0090C713E3ED03C3ED0783150FED1F03153E +037C163E03F8163CEC01E0EC07C0EC0F80DA1F0091380381FC027CEEFFF84AED003FD903 +E0EE0FF04948705A011FC7ED0380017C0502C7FC01F094C8FCEA03E0EA0F80003EC8FC00 +301507C990CAFC16064C4F7DC553>145 D<196004381478041E147E486C6E14FFD800E0 +6E6C5B017003E013F8017C0203495A6D15F06D02015C6E4B5A010F02005C6EDAE0071360 +0107EF007003C0D9C00E13FCDA807FB77E6F82010318FC913C00200003C0007890C9FCA6 +1504150E030FB712F8A3933A0003C0007C01064916780107011E166026C00F8094C7FCB5 +12E06CEBF01CDAE03C160626200780170F0000027C178092B912C01BE081923C30003DC0 +0007C092C7007D1580177B05F3EC0F00160117E3EE03C3EE0783EE0F03161E163C04785D +04F0ECFFFEDB01E0143FDB07C0EC07FCDB0F00EC01F8031E6F5A037816C04B93C7FCEC83 +C0EC87800282C7FCEB0F80EB1EC0EB3C60EBF83048486C4A5A2607E00E92C9FC271FC007 +8090CAFC393F8003F090C7B4EE01F8001E023FB812E0001C020F1780000C14030008DA00 +3F16004D4C7DC453>148 D<16401678167E167F167C1678A21906F10F80864F7E047FB6 +7EA30478CAFCAA49836EED01E06E4B7E91B87E8519F002E0C8EA01E0B191B8FCA302E0C8 +1201A44A5E90CA90C8FC95C9FCA203400110130801200318130E01600160011C7F03706D +EB03C06F6D6D7E726C7E01E0013C6D6C7F49011C6E137E0001021E0101800003717F031F +6E148048480300EC0FC0120F003FC717075A00FE0578130348021E14700078021C1780C8 +0018026013014A4D7CC453>154 D<03021606016001031607013802C0ED0F80011E6DB8 +12C0D90F8018E014C0D907E0903BE00080000F80D903F003E0140018F81301A201005E14 +E01930024016380200167C04EC14FE04E7B6FC16E3A2943800F000010C14E0130EEAC01F +387FFF8002E016186C181C26200F80163E0000010001EC147F04E7B6128F16E3A294C812 +0F16E0A405201330DCC0381378030390383FFFFC19FE19FC94383C0078A3152315E3EC01 +C3EC038391380F0780141E143C147814F0923A0F003FFFF814E0EB1FC0D93F8091383C00 +78017F131EEB3F00011E491560010E1700010449133890C791C8FC5D5D14014A5A4A5A4A +C9EA7E1F020EEE7FFF4AEE07FE027816014A705A49481778028017304B4C7DC253>174 +D<16601670163C82161F707EA2707E13104D14701AF8013092C7487E013FB97E86A20170 +CAEA01FC1AF06201F04D5A000161494DC7FC00031806D80FC05FA248485F6CCEFC00064E +7ECC487E864F7E01C04D7E90BAFC6D84A20120C7D80780C9FC90C8FCA714E014FC6E1610 +4A16384A167C4A16FE4E7E94B67E1301A26E0280C9FC14D8EB03DCA2148EA2EB0707A290 +380F038090380E01C0011E13E0EB1C00491370157849133C0160131F01E0EB0F874848EB +07E74848EB03FF90C817E0486FB7FC000E031F168048030716004803015D48DB001F5C48 +EE001F4894C9FC4B4F7CC553>189 D<5D8216E04B7E82A2ED07C05E150F93C912201A70 +031E16F8F101FC00C04AED03FE007FBBFC7EA20030C700F8CAFCC85A14015D1403EDC006 +0207EB0780038013F0020F5C03005B021E5CA25CA25C02F816604A1670010117F849484B +7E01074C7E49B9FC7F7F6DC7D80780C8FC90C8FCA414031580DA07C0141003E01438020F +8103F080DA1F806E7EDA3F006E7E023E6F7E4A6F7E4A16784948824A163E4948824948EE +0F80010FEF07C091C716E0011EEF03F0013817014918F849EF00FC485A4848187C48C8FC +000E193C0038EC380F48DA7FFF15380020020F90C81218C8000116006F5A167E167C1638 +1620484F7BC553>192 D<01100207131C011E913803C00FD91F8002F013C06E02E0EB80 +0691C701C0EB000FF21F8090261E0180EE3FC06EB9FC1BE06F17C092274003C00FC8FC15 +00A3F1038095380E1FC0011FEE01FF02E0DA001F7FD91EF8D90003B57E027C49B5EAC030 +DA3F01B500E0C8FC0004D91F0FEBE3C091390F800003000C91C7ED0180000E6DEF03C002 +02EF07E0020CEF0FF00207B9FC1BF8001E6D18F00202C7D803C0C8FC003E90C8FC123C00 +7C020C16C000FC020E4B7E00F8020FB77E860060610000923A0003C001E0A693B7FCA393 +390003C001A693B7FCA393390003C001A21A80030E92C8FC92C715301A781AFC03608203 +3FB8FCA26F5E9227100003C0C8FC92C7ED0180F203C0F207E00204170F0207B912F08013 +3ED93C01CCFC0130CDFC4D4D7DC453>195 D<183C183F19C096C8FC030C143E031E141E +153F00064A7E6CB6FC6C815ED80080C9FC90CAFCA6061C13071B80DC01C0EC0FC070B712 +E0DCC07F15F016E0923C01F0203C0007C000C0912603F8001580007FB67EA27E262001C0 +C8FC00007F14F8497E14F05CA2495A605CA249C9FCF20F001540011E13706F5C011C7F01 +3C131E8101386D495A017814800170EB03C004E05B4901011303ED3FF03C01C003FEF807 +80EC7FE0290387FF00FC0FC7FCD9FFF8137C000F01C0141E49C7EA783CD807F81438D803 +C0DA2078140E90C948141EC9485A16035F4C48143E4CC8123C041C157C4C5D04F0EB07FF +4B4801005B4B48EC1FE04BC86C5A030E6F5A4B0306C7FC031092C8FC4C4D7DC353>I<14 +06EC078015F05D5D4B5EDD7018EB0380DD7C0CEB07E0DD7E0FB512F092398180FF8FDB83 +C016E0923C87E1F80F000FC00008028F01F01580000FB600F316006C04E05C04F7151E3B +0200078007C0C7DA0F805C041F15381700043E5D5E04FC1560DCF80C14E0922681F01E5C +923883E03F00C0028791388F0180007FB812CF4FC7FC6C178F0020C7003EC7120FC84815 +065D4A5A4A5A4A481507DB8003EC01809028020F000780EB00E0D9031ED90FE0147091B6 +00F08005E08005C0141E9127E0000780804948EF0780010F1803011F19C0013FF001E013 +F3EA01E3D803C3F000F0EA0703120E003C90B6FC127000E0190100809038C0000712001A +03F20FE0F13FFF7313C007031380070013001A7E1A3891B6152097C7FCA29138C0000717 +C0A317801700040C5B4A90C7FC91C9121E90CA12184C4E7DC453>209 +D<5F016016E0017816F86D82011F16F06D6C5D6D6C17606E17E06D6C4C7E010101064B7E +6FB77E01007FA29128E0008001E0C8FC160091C8FCA4F201801BC00360EE03E0033FB812 +F0010619F801077F27E00F8010C9EA0FE0267FFFE0C80018EB1F806C6D031F14004AEEC0 +1E2610078001076D6C5A0000DB03C0EBC038DC01F0EB8030DC00F85C057E1300053E1440 +97C7FC171E170EEEC00CEEE000167882161F1780160F1607150C0318021EEB0180922670 +0300EC03C04BC715E0DA81C0EE07F00283B912F8EC87BFDA8F3F17F0DA9E10C7003CC8FC +02BCC85A14F84A15F8604948EC01FC4948913803EF80013FEEC7E06D4891380781F86DC8 +380F007E6D4B6D7E0102033EEB1FE090C90078EB07F04C486D7E4C486D7EDC0F806D7E04 +3EC8127F04F881DB03E081DB0F8081037CC97EEC03E04ACA7E4D4D7DC453>214 +D<160E707E707E83707E7114040400150E0140180F01604BEC1F8001780370EC3FC0013F +BAFC1BE0A2013CCDFCA2DB01C0130704F014C070804C5C4C5C1A03F207801BC00240EF0F +E0027FB912F0801BE091291001E0000780C7FC1400A793B6FCA39338E00007A34C0106C8 +FC013890C912180178173C0203167E6EB8FC8086DBC0E0C7007EC7FCDB00605C0470495A +0430495A705C01F8021C495A49020C130F040E495A7049C8FC933803807E715A48489138 +01E1F8933800F3F0EF7FE0496F5A0003705A177F49EDFFE00007030313F890C83807F1FE +000E92391FE07FC093397F803FFC48913B01FE000FFFC048DA0FF80103EBFF80DB3FE001 +0014F048D903FFC8003F138048D91FF892380FFE0027C007FFC0ED01FC26001FFCCA127C +91CB12084C4E7DC453>221 D<1306EB07808002F017034AEF07804AEF0FC090260F8003 +17E06FB812F091C7FC4919E0011E0240CAFC93CBFC011C5B013C497E4B7E0138130F0178 +497E017FB57EA290B6FCD9E03CCA1260D801C04A6C14F0706CEB01FC018092B67E000361 +0100604804F0C75A12065AA25AA25A5AC7EB018016C0ED03E000C0EC07F0007FB612F87E +A226100078C7B6FCC7FC8605F0C7FCA202705F02F001015D6E4A5C02FE040CC7FC02F702 +80EB0F809127E3C0006014F0902601E1E06D5CDAE0F00138148003781318902603C03E01 +1C91C7FC033F011E5B92381F800E902807800FC00F131EA291260007E013804901030107 +131C010EEEC03C011E1301011C02C01438013CEB00804902005CA2490480148048489339 +006001C0484803069038E003E0020691C738C007F048486CB912F848487E121E48D90080 +CBFC007091CCFC5A4D4E7DC553>225 D<03021340031F016013109226FF80701338D9C0 +07D9C078137CD9603FD9E07FB5FC90277BFFF02081D97FFEC792C7FC017CC83878003C13 +78A71508151C153E157F4B5B017FB512801B400481ED03E00178C7D801E090383FFFF81B +FC4C48010F13E04C4890C8FCA24CCAFC161EED0878DB1CF05CDB3EC04A7E037FC8487EDB +FF0C4A7E017FB5008FB67E048781048315E00178C83960000FC06297C7FC05205B053013 +1E193E193C8361171CDC7C0C5B923807F80EDB7FC0495A91390FFC0007DAFFE04A5A017F +90C7EA0387261FFFF85EB500C003CFC8FCD87FFCC86CB4FC6C486F5AD81E785E12180000 +4C7E4D7E94380FDF8094381F8FC094383F07F09438FC03FC4C486CB4FC933A07E0007FC0 +DC1F80EB3FF8047FC7380FFF80DB01FC020313FCDB0FE0020013F801F8D97F80ED3F80DA +03FCC9EA0F009026F03FC01602D9E038CCFC0140CDFC4E4D7DC353>227 +D<1930193EF13F8097C7FC193E193CA41510153800C0147C007FB512FE6C80A20020C712 +F8C848EE0180F203C0F207E0DBF180150FDA01F0B812F05D820440C7003CC7FC93C8FC00 +0C495A7E1207EA03806C6C485AEA00E01370133890393C0F0008011E140C010F80D9078E +1307D903DEEB03C0707ED901FC8001001400027C80177C177E027E143E14FFDAEF80133F +010181ECC7C001036D131E148301076D131C90260F01F81308010E92C7FC90381E00FC13 +1C49137C13780170137E49133E4848133C485A151C48C71218000E91C9FC5A5A5A48187C +48933803FFFCCAFC9438001FF81807725A61725A614C4D7DC453>233 +D<1620167816FC16FF4B7FDB03F8C9FCED07E04B5A5E4BC8EA0780033EED0FC0037FB712 +E092B812F04A17E0DA03E0C8EA7F004A6C15FCDA0FB84A5ADA1E1C4A5ADA7C1E4A5A4A6C +EC0F80D901E06D49C7FC49486C6C133ED90F0015FC011E903903E001F00178ED07E0494B +5AD803C0033FC8FC000FC70001137E003CEDC1F80070EDC7F00040ED9FC0C9007FC9FCED +01FCED07F4ED1FC79238FF0F80913903FC1FC091391FE03FF09139FF007F80D907FC017E +C9FCD93FC04915402803FE0001F815E0D81FE04948EC01F0003CC748B712F8C84816FC5D +4BC8EA03F0037CED07E04BED0FC04A48ED1F80DA03E6ED3F00DA0FC7157E91261F03805C +023E4B5A4A6C6C495AD901F06D495AD903E06DEB1FC0D90F804B5A011EC76C017EC7FC01 +7C4B5A01F04B5AD803C0ED0FF0000FC8EB1FC0003C9238F07F8000F0DBE1FEC8FC0040ED +C7FCC9EA1FF0EE7FC04B48C9FCED0FFCED7FE0DA07FFCAFCEC7FF890380FFFC02603FFF8 +CBFC007F90CCFC13C0464D7AC453>245 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: F2 gbsn07 10 35 +/F2 35 256 df<1618161F17C000075E01C092C9FC01F0141E5B5B5BA419101938193C19 +7E19FF4E1380F1F800F003E04E5A4E5A4EC7FC03C0143E03E05CDA01F05CDA03F8495ADA +07FC495A90B500FE495A4D5A051EC8FC0180C75B5F17E0EE1FC05F041EC9FCB01A60A41A +E01502150E157CEC01F0DA07C01501EC1F0002FC17F0D983F01603D99FC017F848B4C715 +0FD81FFC021FB6FCD8FFF06E15F001C018E0003FC800031500001E92CAFC1208454977C2 +53>7 D<180218038501C00120EC01E0017001306E7E017803607F6D013801F013786D90 +263FFFF8137C011F6F1406D90F804AEB3C0F9127C03C00F0EC1F80010703F6013813C005 +F3B612E0010315F11BC0DDF080C8FC028092C9FCD901000360137090C70370137E72137F +72137C061E5B725BA2DB3FFF6E5A18071981DB3C005D033801E0903801818094C7380383 +C001060178EE07E001070306140F26C00F806EB612F0B500E0806C13F0DAE07CDA803CC7 +FC272007807EEB180000000277133C9238F7FFFE835F9238E7803CA2028117061A0703C7 +EE0F80DD3D80EB1FC00283023CB612E0158784DA8707DA403CC7FC1800148E148C149C14 +9802B0EBFFFC14A01480EE803CA2173094C7FC010F0106C8FCD91EC0C9FCD93C60167CD9 +F830167848486C16702607E00E1660271FC0078092C8FC393F8003F090C7B4EE01F8001E +023FB812E0001C020F1780000C14030008DA003F16004D4C7DC453>27 +D<01101506011E81D91F808149C8EA01E0013E821700013C82017C167C13780306027813 +0C01700107161E01F06DB8FC1B80D9E00418000001010701C0C8121E9038C00FC315E3EA +0380EC1F83D807001303143E5A000E137C381C03F8137F263FFCF090B712FE387FE0E0EA +FF81263E01C001C0C8121EEA180300001380D90700171897C7FC010E6E1503496E168004 +B8ED07C04902BFB712E0013019F0137049903C07BC03C03C07C04919800001EB03873803 +803F390703FC07380E3FE0381EFF00EA3FFCEA7FE0D83F80143C001EC7120F120CC8013F +B7FCA3913C071E3C03807807143EEB01FCEB0FF090387FC03C2607FF001407EA3FFCD87F +F01378EA3F80001EC712F0000C14E000081301C7EA03C00380157002071660DA0F00ECC0 +00021E5D4A9238001FFF4A02067F4A91C8130049488349480138153E49C70030151C0102 +91CBFC4C4E7DC453>31 D<1438143E023F17066F160F027ECAEA1F801BC0027BB912E014 +F902F118C09128F0800003C0C8FC4948C7FCA2495AA2DA801016600107011816F04A6CED +01FC49010FB77E010E606249913A0003C000F0A2EB3F8014E0EB7FC01480EBEF00A2EA01 +CF018F91B7FC1203EA070F000692390003C000120E120C12181230A2126012C012801200 +93B7FCA3933A0003C000F85DA2031E5E031C4B5A0318ED0080DB004092C7FC9338E00780 +16601630EE380F041890C9FC161C705AEE071EEE03BC17FC705A16004C7E4CB4FC933807 +CFC093380F87F093381F03FC93397E00FFC004F8EB7FFCDB03F0011FB512F0DB0FC00107 +14E0033FC814804901FC92383FFE0090261E07F015079026181FC0ED00FCD9001ECA121C +4C4E7CC453>34 D<16C0821678167C82A2821A301A7870157C1AFE0060030E4A7E003FBB +FC1B807E0010C7263C000FC9FCC8FCA3EB038014C002E01503D907F0ED01C002F86F7ED9 +0FC01678028082D91F00161F013E717E013C717E017C717E01788449717E4848717E4848 +8449187E48C7173E120E484A011E141E48026013184891C81202480507130CD840C09338 +0F8008D8007FB86CC7FC6D83A2D93006C8EA1FC001004CC8FC6E157E187C6E6C5C6F1301 +02004A5A0360495A0370495A6F5C6F49C9FC173E6F137E6F485A92380383F8923801C7F0 +923800FFC0705A94CAFC4B5A4B13C092380FF7F092383FC1FE9239FF00FFC0DA07FCEB3F +F8DA1FF090380FFFC0DAFFC00101EBFFF8D907FEC8003FEBFF80D97FF00307EBFC00D80F +FFCA5BD8FFF0EF0FF048CC1270494D7BC453>I<13100118EE0380011C02C06D7E6D0260 +6D7E010F6E806D6C013814786E6D147C0103141E6E011F143C9126C0300F150303786DEC +0780DA80FC9238380FC029C00001FE07C6010013E0007FB502C3B612F06C02FF138103FE +010115E00020C826020080C8FCC7000F90CBFC03C01678D801806D0230137E4B167FD800 +C0496E137E01E090C8001C13F8D9F01E151E0170020E010E5B0178021F130F91273C7FFF +806D5A017C6D01C01381DA381FEBE00790283C70100F805C013801C00100EB8380902630 +60E0EE8180902600E1F09139060301C000C0D9C3F89139000703E0007FB500FC01089038 +0607F06C040FB612F883393007800000009326020078C7FC94C7FCA603C0160303E0EE07 +80DA81F0EE0FC00060D983F80104141F003FB500FC0107B612E0837ED8100FC790260100 +78C7FC000093C7FCA218801703EF0700011E151E5F17F85F495D5F494A5AA2494AC7FC16 +1E4848141C0003150C4991C8FC485A48CBFC121E5A5A486000C0604D4E7DC553>38 +D<17041707EF03C001C06F7E01708201786F7E6D0104806D010602781320011F01071678 +D90F806D013013FC02C090B77E0107841AFC01030280C81278A31480EB010090C7FCA493 +B712F8A30480C81278A21A701A4097C7FC01066E150601070260150F28C00F800F70ED1F +80B500E0017FB7FC6C01F018C002E0188026200780903B780780F00F001200A2150E151E +A4151C153C047FB7FC1538A2923B78780700F00F1570A215E0A2EC81C0188015801483EC +87001486028C16C019800280020F1300010F9338003FFFD91EC0140ED93C600208EB03FE +D9F8300170C8FC48486C0160157C2607E00E01401570271FC00780CBFC393F8003F090C7 +B4EE01F8001E023FB812E0001C020F1780000C14030008DA003F16004D4C7DC453>40 +DI<160EEE0F8017E05F5F94 +CAFC86F101E0864F7E00034E7E90BAFC6C85A2D80080C7000FCAFC90C8FCA31910193819 +7C197E011C17FF010FB97E6D84A20102C7000FCAFC90C8FCA31A081A1C1A1E1A3F0060F1 +7F80003FBB12C01BE07E0010C890CAFCC912F31501922603E3801304DB07C1140EDB0F81 +141EDC01C0133FDB1E004A7E033E6D13FF4B4A7F4B90267003F8C7FC4A48EC07E04A486D +485A02074BC8FC021FEC1C7C023FEC1EF8027DEC0FE002F91580D903E11407D907C16E7E +D90F0181013E6F7E01786F7ED801F0167ED803C082D80F00707E003EEF0FE000F893381C +07F000E093387803F8C7913903E001FE933A0F8000FF80047EC7EA3FE0DBE3F8EC1FF891 +2603FFE0EC07FF4A01806E13F0DA3FFEC9FC03F8EE7F00DA0FE0161CDA078093C7FC0202 +CCFC4C4E7CC453>44 D<1A101A1CF21F800140020816C00160021E16000170023F151E01 +7FB67E8394C8FC0178C7121EA2181CF01F8019C01900A2181EA8017FB512FEA30178C712 +1EA21418021F131CEDE010016091C7FC010090C8FCA5021E130717800070ED0FC0003FB7 +12E07E17F03B08003E0007C0C71580A2143CA3147CA2147893380F003E183C02F815304A +92C7FCA213015C13035C13075C010F5C49C7121E131E133E5B49023EECFFFE3A01F00380 +FCD803C001FFED0FFC280F80003FF8140348C7D807F06E5A003C6E485D00F04B6E5A00C0 +92C95A4A4D7DC453>47 D<18300238157C6E157F6E826E6C027EC8FC6F5C6E6C5C6E6C5C +6F130102005D81037C495A601707033C4A5A0338010E497E03304B7E92C7488000064CEB +1FF06CBA7E867E90290001E00001E0C8FCC7FCAD1A101A381A7C1A7E00C019FF007FBB12 +806C1AC0A22A200003C00001E0C8FCC7FCA314075DA3140F92C7FCA25C141EA25CA25CA2 +5CA2495A495AA2495A49C8FC131E5B5B5BEA03E0D80780150348C95B001C94C9FC4A4D7C +C453>63 D<5B02C0157002F8157E6EED7F1C02F0ED7E0F4A92387C03C0067813F0737E19 +001A7CA21A381BC0F201E0F203F003C317F8DAE1E1B812FCECE3F000C06E17F8007FB527 +FC400078C8FC6C92C7FC5D263001E0C8FC00001903030317806F6CED07C093B812E01BF0 +A2933BE000780007C01B80A215111579ECE1E1ECE3C1ECFF0114FE14F8EB07F0D91FE090 +B8FC137FEA01FFD80FF9913AE000780007EA3FF1EA7FC1EA3F01120E120C12041200A393 +B8FCA3933AE000780007AD1303EA0FFF02C01618C6F01FFF013F0507130090261F8003EC +F8000200177E010E4A01E0133C010C4A90C7121890C76CCBFC4E4F7EC553>83 +D86 D<1A041A0E1A1F1B800060F13FC0007FBB12E06C1AF07E00 +10C8D801F0C9FCC95B16035F16075F160F94CAFC5E163EA25E167816F8ED01FE707E9238 +03DFC0030790CAFC169FED0F9E92391F1E01C0031EEB00F0033C14380378141E03F86E7E +03F06E7EDA01E0EC01F0DA03C06E7EDA0780157EDA0F0081021E707E021CEE0FE04A707E +4A707E4A707E4948707E4948177F49C782011EF01F8049F00FC05B491807485AD8038018 +0348C81601121E48F1008000701A005A5AC9FCAF163E163C16384C4C7CC353>88 +D<1604EE078017E08317C05FA314E002FC16076E4C7E02F8834F7E4A91B67EA30580C9FC +A81A081A1C1A1E1A3F00C0F17F80007FBB12C01BE07E0020CEFCC9120317C017F0A217C0 +A2020C17C0020E83021F4C7E0380150303C04B7EDA3F0082027EEE0FE4027CEE1F804A04 +3EC7FC4A5E01015F4A150149484B5A49484B5A4E5A49C74A5A011E4CC8FC011C167E495E +49EDC1F849EDC7F04848ED8FC0499138001F8048C9007FC9FC000616FE48ED01F848ED07 +F0C9EA1FC0EE7F80DB01FECAFCED07F8ED1FE003FFCBFCEC0FFCECFFE0D97FFECCFC387F +FFE001F0CDFC4B4D7CC453>90 D<1418140EEC0F806E7E6E6C024013020660EB07806E6C +6EEB0FC09227E001803FB512E0DC03C015F005E015C00060913CC007F03C000F80003FB7 +00F8EC1F007E05F0141E2918100001C0005CD8001814F06D02FC1538010E010316786D02 +F0157002805BD903C0495DECE0074C5DD901F016014BC75C1903030E93C7FC151E010001 +1C01201306DAE0181370DAC03801F8130400C09027803001FC130C007FB712FE7E850030 +CA6D7ECB6D7EF100F01A788686012002208101300278ED0780013814FC013FB56CED03C0 +7016E004FC1501013CC712781BF01A00A41A01A31A031A0796387FFFE07313C007031380 +070013001A7E013FB500F815781A2097C7FC013CC71278A4167C1678166093C7127C1320 +90CA1278187018204C4E7EC453>92 D<1704170718E08418C0A260AA1A081A1C1A3E1A3F +00C0F17F80007FBB12C06C1AE0A20010C9D8F780C8FCC9120117E7160317C71607178716 +0FEE1F07161E163E163C167816F8ED01F016E01503ED07C0ED0F801600151E5D157C5D4A +5A5D4A5A4A5A4AC7FC141E5C1470495A495A495A49C8FC131E133813F0485A485A000FC9 +FC121E12385A1260CAFC4BB5FC6F91C9FC1607EE01FE705A17F017C04B4E7CC453>98 +D<82ED01E04B7E16FC1507ED0FE092381F800792393E0003804BEB01E04BEB00F8DA03F0 +147CDA07C0143F4A486E7E023FC86C7E02FC6F7E902603F81FB67E010FB87E499238C000 +FC6D49C8FC6DD900C0147C9126C001F0143C90C713FC0303151804F091C8FC4B4815104C +15384B48153C1A7E00E04AC9B4FC007FBB12806C1AC0A20010C726F8000CC9FCC7485A4A +487F02078091260FC00C7F913A1F801E01C0913A3F003F00E0027E49137002F89038FF80 +7C494881903C03E001FC001F80902707C003F0EB0FE0903C1F0007E00403F8013E903A0F +C00E01FE49903B3F001F00FFC0D801F0017E49EB3FFCD803C049903A7F801FFFE0270780 +01F09026FFC00713C0281E0003E001913801FE00003890270F8007FCC7127C006090271E +000FF0EB8018C7007C4948486CC7FC02F090393F8003E0D903C09039FE0007F091260001 +FC130F90C7D807F0EB3FF8DB0FC0EB7F98DB3F8049C8FC9239FE0003FCDA03F8495ADA0F +E0EB1FE0023FC7485A02FC02FFC9FCD903F0EB03FCD90780EB0FF890C8EA3FE004FFCAFC +ED07FCED1FF0EDFF80DA07FCCBFCEC3FE049B4CCFCEB0FF0017FCDFCEA01F04B4E7CC553 +>107 D<130714C002F00118140C4A011C141E4A011FB6FC4A8397C7FC041EC7121EA814 +81EC8380912687C01FB512FE00C0EB8FE0007FB512F0041EC7121E7E39200780000000DA +1018EB0418923B180030060006031CD97807130F92261FFFFC90B5128005FE15C005FC15 +8092261E00789038800F00A3EC81DEEC839EEC8F1E14BC14F814F09127C01FFFF890B5FC +EB1F80133F01FF90261E0078EB800F1203D80FF7DB6387130ED87FC7DB03F4C8FCD8FF87 +011C14F8D83E0790C713E0001CF10180000C4D14C00000F103E00284EF07F00287B912F8 +1483A20281C7D87BC6C8FC028014F3040113C305E37F933903C3C1C00407EBC0E0DC0F83 +7FDC1F031378043E80047C141F04F86E7EDB01F0EC07E0DB03E0EC03F8DB0780EC01FEDB +0F00913800FFC0D87E1F013EEE7FFCD87FFF0178EE1FF8000FD901F0EE0FC0C6D903C0EE +0780D97E0FC7ED0100D97C1E94C7FCD9780814070130C890C9FC012015064E4E7DC453> +118 D<000419380007193E6C6CF03F80D801E01900D9F0040218143E2600F806023C143C +D97C07147E017E90B67E013E16829438FE03C0011E902680003C13F019F8D91C1716E0D9 +083716C013001467ED81C016F86C01E713FE00E09038C780F81270D83C0114F0003E1387 +121FEA0F811383140712071387A2EA0306EA020E1200130C131CA3013814E0A31370A315 +8113E0A3120116C0D803C0153E0007148300FF1707053C1380001F020301381300000FD9 +04070120C7FC0007010001F0C8FC16BCED0F1E00038192380E07C092381E03E092381C01 +F04B6C7E00070278137C0370137E4B7F4A4890391F81C07C4A48EDFFFC000F49C7390F80 +3FF8020E16076D48020713034A5F000749DA03005BD9C1E091C76C5A0001018094C7FC49 +4B7CC353>127 D<0120840130EF01E0013C4D7E011FB97E861AF0011ECAEA01E0AB011F +B9FCA3011ECA120186621A8096C8FCA21918193C197E036015FF037FB7FC6F82011C95C7 +FC0310CBFC92CCFC133CA51A181A3C1A3E0260177F023FB91280A26E1800D97C10C700E0 +C9FC0178C7EA01F8834C7E17F8EE07E001F85D494A5A161FEF000249023EEB0380000171 +7E4C6D7E49027814784C800003020181494A8000074A48EC07C090C7484881484AC86C7E +000E021E49B57E484A48B512FE03FCB548C67E480103B60080137C4804E0C7127E6E01FC +C8123E48158048D900F8C9121CC800C01618494C7CC353>I<16200102023C5BD903C001 +3F14C0D901F04B7E6D6C013E80027E013C497E806EED0FC003805D020F4BC8FC181EDA07 +005C485F4801064B130C91C74A131E4D48133F90BB12801BC0481AE090CCEA3F80F27C00 +4819784801085F001E010C03185B003E010E92383C01C0007E010FB600FE5B48EFFF0306 +FE90C7FC007891C8003CC8FCC7FCA792B612FCA39239001E003CA31838D90808ED001C01 +0CC7151E010E173F010FB9FC8697C7FC91C7001EC7121EAFF0FFFE183FF003FC725A725A +010E17C0010C94C8FC90C8FCA45E16384B4D7BC453>158 D<1408020F150303C0EC07C0 +6F8103804A7E92C87FF01FC04EC8FC183E187E60604D5A4D5A4D5A4D5A4DC9FC173E5F17 +F04C5A4C5A4CCAFC161E5E16F0ED01C093CBFC92CA12101A381A7C1AFE00C04E7E007FBB +1280A27E2920000F000180C9FCC7140083A21760A283A283171C170C170E8384717E1701 +84717E1878183E8485727EF007F094381C03F894387801FC933903E000FFDC0F80EB3FC0 +047CC76C7EDB01F0EC0FF8DB0FC0EC07FEDB3F80913801FFC0DA1FFEC913E0DA7FF8EE7E +00902601FFE0161C6D018093C7FC027ECCFC14384B4A7CC253>I<17E0020714F8DA1F80 +13FEECFFC001076D13F8011F6D485A3901FFE000000F01805CEA7FC7D870074A5A12004D +140C0407151FF23F8094B712C04C16E0A2040EC8EA3F804CED3E00DA8180163C6F485DDA +83E016700080902687F0701560B600F816E06C92266001805B04C013F027200F80019138 +FC01800000038013F803034AC8FC04005B1506011F130E150C011B90C7FC160CD93BC013 +0E02F0D90F81133002BC14C1D9779FD91FE17FDA8F800181131CDA87E001017F9027E783 +F03E80A2D9C781013C6E7E00010180017C8104781401D80387017082DB60F06E7ED80707 +1300DB01E01578000E03C0157C000C0203163C001C0380153E0018140700380300810030 +140E00601A8000E04A160F00C0141800801438000014304B160715E0EC81C05D0283C716 +0002821706028094C7FCEE0803EE1FFF705BEE007F715A171F95C9FC170E49C81208010E +92CAFC4B4E7CC453>193 D<180C180F010817C0010F17F002C0ED07C06E16880280168F +91C9EB87E0F183F8F180FC1A7EA21A3E1A1CF20DC00308EE01E0030CEE03F0030FEE07F8 +6FB8FC1BFCA20206902780000780C7FC140FEC1F87004014C7007FB512E77E15C727100F +00071403120085050C1406051EEC0780053FEC0FC093B5008314F018C31B809326801F03 +1400051E5C1A1EA2F1E03E1A3C040013011A7C1A784B16F862053E13E1953800F1E0037F +15F3DA038F013C5CDA0F1E15F7027CEEFF8002F0167FD97FC094C7FC3803FF00D81FFC01 +3E033E1308D8FFF0013C033C130CD83FC0037C137C6CC7007C017801FE1308000E912679 +E7F81518000C9239FFF001EFC8D8F07FEB03CF913C01E01FE0078780933B0FC00F03C038 +912803C007001E13E09126078004EB7C014AC838F000F0021E4A48EB78784ADA07C0133E +4A4AC7EA1FF84A023C140FD903C002F814074948D903E01403011EC7D807801401490204 +C9127C013091CA121C4E4E7EC553>I<1730EF3C0CEF3F0FF003C094383E01F094383C00 +FC197EA28585190E1738F10401F100030140F007800160F00FC00178F01FE0013FBA12F0 +A3013CC8003CC9FCA6171C1906F10780051E14E086DB018081DB03C0EC0FC004E05D013F +B5D8F00E91C7FC16F8050F5B90273C0001E0141EA271133EF0803CA2197C922603C00313 +7849EEC0F861170118E161EF00F361187F6113F84970C8FC183EA2063F14304E7E484816 +F70307902601E3C0137004806E136049010F903803C1F00003D97FFF90380780F8D9801F +9027000F007C13E00007D901FE011E7F90C74801787F037849EB0FC1000E91266001E0EB +07E1001E91260007C0EB03FB001C4BC8EAFFF048033E157F480378151F48DA01E0ED07F8 +48DA07801501C80006CA12784D4C7DC353>196 D<03301640DBF80415F0912607FC074A +7EDA3FFE90B67E49B582010F018016F890267FF8000180C75A3807FFF0EAFFF0EAFC00C7 +FCA81518153C157E6C02FE90B6FCB7FC7E0580C7FC392003F000000085621AC0D9077001 +06CAFC93C912021A07010EF00F809126FC0180ED1FC090261EFF00B812E090381CF78091 +38F3E07F90293CF1F040003CC8FC902638F0FCC7FC0178137E13708101E07FA2D801C07F +0180130E00031404010090C8141848193C0006197E4803C015FF001C037FB7FC00181A80 +486F1600932620003CC8FC4892C7FC5AA25AC7FCA6F20180F203C0F207E0DAF180EE0FF0 +02F0B9FC6F17F81BF00360CBFC92CCFC13015C5C4D4D7CC353>199 +D<49150402C0EC078002F815E06E8102F015C04A5DA31A601AF08603064B7E6FB77EA26F +5E922719000780C8FC153C157E00C014FE007FB6FCA27E262001E0C7FC1200F20180F203 +C0F207E003C0160F037FB812F0A2810320CBFC92CCFC031815C003F015F8DAE3E015FEDA +EF805D02FEC95A4A5ED907F0EF0180D91FE0EF03C0017FF007E0D803FF0160EE0FF0D81F +F9013FB8FCD8FFE16D17F8D87FC119F0D83F010108C800F0C7FC001E91C9FC120C000015 +401660167882828283707E831603A21601A35F705A94C7FCA41303D81FFFED0FC16C49EC +07FFC69338007FE0013F161F6D486F5A91C9FC010E5F010C70C8FC90CA12044D4F7DC553 +>209 D<5D16C0ED00F01678163E163F82A27015101A381A7C0406157E00C019FF007FBB +12806C1AC0A20030C70007CBFCC813C04B7E4B7EEEF80892383F801E92397E0007804BEB +03E04BEB01F80201EC007E4A4880DA07C0EC1FC04A486E7E4AC8EA03F8023E6F7E4A6F7E +4A167FD903E0017FB6FCD91FE3B87E91B7EA801F9339F81E000F6DD9FC001407ECFC7CD9 +0780160390C770C7FC96C8FCA21578A815F85DA31401A25D1BC014035D14074B1601140F +4AC71680141E5C4AEF03C05CEB03E04948EF07E049C8150F013E031FB6FC01F819C0D807 +C06FECFE00001FCEFC12F84B4D7BC553>223 DI228 D<150716E08216C0A25EA300041704D80780 +EE0F8001E0EE07E07F01C017C0491780B1180FA248B9FCA25A903B80000780000F0007C7 +FC6CEF0E00C8150C95C7FCA30030EF01C0003C18F8D83F8017FC19F8003EC716F0003C18 +E0B3A2007FB9FCA2BAFC00FCCA120112381218CB138019003E4B75C353>241 +D<17E017F86C0108EB01FE6C011C800060013F14FC007FB51303038013E692380007C726 +78003E14C34A90380F8380027890381F01C002F86E7E4A013E7F4A013C137801014A7F4A +497F0301141FD90380496D7E4A4848EB07E04949486D7E010649C7EA01FC031E6E7E4949 +9138087FC0033891381C1FF8011C4991393E0FFF8090261801EC91397F07FC0090261C03 +87B6EA83F090260C0707ED80E09026060E0316409028031802003CC9FC0280C7FC6D7EA2 +6D7EA214708602784C7E4F7EDA39804B7E92B87E1438A291277840003CC9FC92C7FC14F8 +1504397BFFF0060079EC0F8026787FE001E0130690273FC01FF06D7ED91F8001C06D7E90 +271E003F00800110013EEC00F890C748157C03FC814B814A486F7E4A48824A486F7E4B6F +7E4AC7FC021E707E4A16005C4A1778EB01C0495A010EC81530010C157C90C72603FFFC91 +C7FC81ED001F00F8ED07F81603486F5A4816C0494D78C453>248 +D<180EF00FC08519801530037892C8FC157C00C014FE007FB6000815086C030F150F03FE +01C015C0271007800001E015E000000480158005001500A249C7FCA3130E131EA2131CA2 +133C1338A2903878018090387003C0EC07F090B512F815F04814E09027F803C01FB7FCA2 +00035D9439000F000F0178020E5D00070306151E000692C71418000E96C7FC120C121C00 +180330ED03800038033C16F00030DB3F8015F800601AF0DC3E0015E00040033C16C012C0 +1200A9EB7FFFA3EB780315E0A315C0150091C7007FB7FCA293B8FC01F802FCC812074914 +3801C0141890CC13001A024D4B7DC353>250 D<02301540023C1578027F157E03C0147F +027CC8127CA20278157814F8A25CA213015CA2161049481318163C4A137E49B6FC1780EF +007E49C7007CEB7F80F079C0011E0278EB78F004F8147C011C4A141E013C717E0138717E +017C0101ED03F04C6E7E01FC717E01E6187E0303167FD801C64AED3F800182181FD80383 +F00FC00103494815071207260601801703000E4AC7EC0180000C01C01800D8180095C7FC +151E4813E00020EB603CC71270EC307CEC38781418EC1CF0140DEC0FE06E5AA25D4A7E4A +7EEC3EF0EC3C78EC787CDAF83E14F849486C6C5B902703E00FE013C0902707C007F890C9 +FC90390F8001FE011EC7EAFFC049EC3FFC4991380FFFF04848020390B612F84848DA007F +15E0D80F80030715C048CA001F1480007CDD0003130000F0F0000300C096C7FC4D4B7DC3 +53>255 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: F3 gbsn09 10 40 +/F3 40 247 df<8002E018C0027017010278EF03E06E496CEC07F06E6DB712F8141F8348 +6D90271C4000F0C7FC48031EC7FC163E90B7495A178061D80702C7EAFC00010314F0000F +9026C001E0495A261F07E0D9C0101406003F9027F0038018EB000F007E9027C007001CEC +1F80494848011FB612E0007C9038001F80D8381FB500C016800000DBE01EC7EA0F005B90 +393C003F0049137E01705B01F049EC0180D9E00116F000014A15FC9026FC03E015F82703 +8F87C015F0270703FF8015E0EA060048133F001C14E00018EB7FF848EBF9FE489038F0FF +803A4001E03FC03A0003C01FE09039078007F090390F0003F8011E130149EB00FC49147C +01E0023C14C00001DA06181303486CEB0F08D80F7FB51280001C15C00038158028707800 +0F00168000C0EF078012001B00DD180F130E0510EBE01805000178C7FCF01E3EF10F8095 +383C07E095387803F89538F800FE4D48137F017FB54948EB3F80DD0780EB1FC0051FC7EA +0FE0902678000F017E140705F8EC03F0DC03E0140192260E0F801400DB007EC9FC0170D9 +01F0166090C7D807C016200306CBFC4D4D7DC453>3 D<1A041A0E1A0FF21F8000E0F13F +C0007FBB12E06C1AF0A20010C8000FCAFCC9FC161EA2161C163C16385EA2166004E01560 +01604A15706D494815F8013FB97E86A2903D3C001E0003C000F862B3B3A6EF07864BEC07 +FF033890C7FC017C0130ED1FE092C9120F0178715A0160715A90CB0002C7FC4C4B7DC153 +>13 D<1407DA03C0131C03F0EB1F806F804B91C9FC5D4B131EB3A34A5AA84AC7FCA5141E +A45CA35CA35CA249481706A25C1303495AA249C8FC010E180E131E5B0138180F49604919 +804848031F143F484870EB7F0048C96CB512FE000E705C003819F0480401148000C093CA +FC5A49497AC253>I<1908191E191F4F7E01604D7E013FB9FC867F0110CDFC90CEFCB3B3 +A51A0C1A0E1A1FF23F8000C0F17FC0007FBBFC6C1AE0A20020CEFC4B3B7CBB53>19 +D<1660167C0102147FD90380137C496C90387803806E9038F801E06E9038F000F8D90FC0 +157C4A8191C780494A80011E01016E7E1807133E013C4A5C030314035B4CEB000101F8EF +0380490107ED07C00001F00FE0484891C813F048BA12F81AFC7E2701C0000ECAFC49131E +C8FC5DA34B140218074B4A7E4E7E92B77E5C61DA03F0C7001FC7FC15B0DA0798143E0318 +143C4A7E021E157CDA1C0E1478DA3C0614F8DA78075CDA7003130102E001805B01019038 +01C00302C05D49486C6C485A49C7EA700F010E027890C8FC011EEC3C1E496E5A0138EC0F +7C495D496E5A4848140348484A7E48C8EA1FFC000EED3F7F4892387E3F8048913901F80F +E048913903F007F84891390FC003FE48913A3F8000FF80C800FEC7EA7FE0DA03F8EC1FF8 +DA1FE091380FFF80027FC8000313FCD907FC030013FFD93FC0EE3FF8D803FECAEA0FE001 +C0EF0180484C7AC453>21 D<0230EB0380023C14F0023E14FC027F5C027E903801E01E02 +7CED0FC00278ED03F802F86F7E4A6FB4FC193F4948707EA2190F494870C7FC85495A0400 +91C8FC91C8151849181C010E183F011EF07F80011C19C0D91F80EE07FFD93FE0030FB5FC +6E91B6EAC000D977C0010F02E0C7FC902667800FB500E0C8FCD9E78FB500F0C9FCD9C787 +EBE0700001903883E000D98781C7FC2603078017C04F7E0006047880000C19FCF103F400 +18043814C000304E5AA20060043C49C7FC00C0600000041C131E61171E61050E13F84E5A +050F5B180371485AF08F8096C8FCEF03DF18FE715A604E144017034D7E4D7EDD1F3C14C0 +EF7E1EEFF80FDC01F07F933907C007C0933A0F8003E00193393E0001F004FCEB00FCDB01 +F0147EDB07C091383FC3E0031FC8EA0FFF033C810370030113F092CA127F010F180F91CC +12E0010C19004C4D7CC453>24 D<18C018F818FE01C05E01785E013E5E6D7E6D7E6D7E90 +3803F018EB01F8A201005B027017184B16381A7CDA206616FEDA00C7B8FC15C300C01301 +00F00281C700F0C8FC003C14806C1303D80F8090C8FC13C06C6C5A3803F0060001130EA2 +0000130C141C13E0EB6018D90038EF0180F203C00230EF07E0027318F00271B912F814E1 +02E018F09227800003C0C8FC4948C77FEF07F8844948EC0FE01880171F010793C9FC91C8 +123E4983494B7FD80FFF037813704903F87F4C487F00004C131E017E4A487F013E717E4C +486D7E011E4AC76C7E041E81041C6E7E4C157C0478157E4C81013E49480103B5FC922607 +C07FB61280031FB6EAFE0FDEFC0013C04DC71207013F92C8FC49D90FE016E0030EC91203 +92CA13C07F011EF0018090CC13004D4C7DC453>27 D<5D150FED7F80912603FFC0010C13 +03023F6D010E14800103B500E390391F7007C090B5D80003B538BFFFE0003F01FC6D6E13 +F0387FC03CC7903C0300801F0807C048922780001E0013800180497ED800E08001F0EB0F +80017891C7FC017C131E013EDA01801320013C013C1560011C90263830C0133001189026 +7070E0133801009026E0F870131C00C09138C1FC78007FB6D8FE38131E173C6C043E130F +262001DCC7FCD80003031E1487D907BC141FEC3FC0010F01F8011E140790381E3C7F011C +90261FC018130C013890260FF00013000178EB03F801F0130101E01300D801C01478D803 +800238154726070030019015C7000E903C2001E0019E0187001F903B0003F0031E0348B6 +D8F806EB07070037DBFC0E130F0067DBF01C131E29C7803C01E038133C00070478137C05 +F013FC04E1EB1FF89339E3E01E7804EF141805C0130016E3EEE080170090B6FCA3903880 +3C01AA90B6FCA390268000019039FFFE1FFFEEF03F9327E007FC011300DC80016D7E92C8 +48133E0004CA0070133CCB004013104C4D7DC353>32 D<02101540021815E0021E4A7E6E +B612FC846092C812F0B1151C150F6F7EED03E06F7EED00FC167E82EE1F80EE0FC0A2EE07 +E0020E1303141E1601A2160017C01700A45CA41B204A18301B701B605CA3495A010319E0 +5C495A49C914015B013E19F049F003F84993B612F0D801E019E04848701480484893C9FC +001ECEFC5A12F012C04D487DBF53>37 D39 D<1A181A7CF103FC486CEF3FFED800E00403B5FC0170 +49023F14800178913AC007FFFE006D02E1B5C8FC6D6DB512C0011F92CAFC6D6C13F08013 +07A213035CA290C8FC1A401AE0864F7E93B77E86A204F0C7EA01F8624F5AA26201061707 +130726C00F805FB500E0160F6C7FDAE001016091C7FC26200780D9E0705B0000041C131E +170F716C5AEF01E0943800F07CF07C78F03EF8725A4B48EB07E018034E7E85F00FFE4B48 +EB1F3F95383E1F8093C7486C7E4B4A6C7EDD01F07F031E49486C7E031C903807C001033C +011FC77E0338013E804B49147E9226F001F0143E9238E007C0912781C01F80141E90270F +83807EC8FC90271EC701F8150C90393C6003E09026F83001CBFC48486CCCFC3807E00E39 +1FC00780393F8003F090C7B4EE01F8001E023FB812E0001C020F1780000C14030008DA00 +3F16004D4C7DC453>I<82821670167882161F83160F707EA2040315081A1C1A3E4D147F +00C0F1FF80007FBB12C07EA20020C800F0CAFCC9FC4B5AA85E15031960197819FC93B67E +A285DB0780C7127C1978A293C8FC19704B15F0A2150EA2151EA2151C153CA203384A5A15 +78A2157015F05D14015D14034B4A5A4AC8FC5C140E5C143C5C5C49484B5A495A4948150F +49C9FC011E4CC8FC017C0203B5FC01F06E5BD803E09138000FFC4848ED03F8001FC96C5A +003C17C0007093CAFC4A4F7CC553>48 D<496C816EEC01F06D6C15FC6E81027815F86E5D +143E6E5DA281020F4A5A92C7FCA2020E01181680043C49EB01C091C7D87E07EC03E06C03 +7FED07F0B80087C7120F6C94B612F85F26200780C716F00000933A0E0003E000625F1907 +A3173C053E5C173603061376030F0166130FEEC0E691B5D8E0C791C7FCEEF0C3EEE18391 +388007C1D90F0090398303801F191EEE860118C0168404805CEF00E0A293C7FC011E49EC +7078A3725AA2183C49EE1DE0181F61180F495F85A20170010E4A7E01F04C7EF07DF849EE +F8FC00014C487E031E903803E07F48484B486C7E4B49486C7E49017C90393F000FF02707 +83FFFC017C6D7E9028007FF801F8EB03FE4890270FF003F0903801FF80001E902703E00F +C06D13E0001CDAC03FC8EA7FF8003CDA007EED3FFC4890260001F8ED1F800070DA07E0ED +0700484AC912020040020493C7FC4E4E7DC453>56 D<03201318033C131F033F14C00480 +5BDB3E0090C9FC171E153CA61A401AE04F7E4F7E00304E7E001FB500FC011FB57E7EA200 +08C7003C011EC9FCC8FCA9190219074F7E4F7E000E856CB500FC011FB57E7EA26CC7003C +011EC9FCC8FCA91A201A701AF88600C04E7E007FB500FC011FB6FC6C1A80A20030C7003C +011EC9FCC8FCB0173E037C133C03781330036090CAFC494D7BC353>58 +D<1708170EEF0F80033880033E6DC9FC037F13061680EDFE004B7F5D4A488017014A4880 +17004A48804B80020F15704AC87E021E153C4A81027C151F0278814A6F7E49486F7E19F0 +49486F7E49486F7E49CA127E011E717E011C717E4993380E0FF04993380F07F801E69338 +1F83FED801C3B838C1FF80D8038305C013E0D807019438E07FF0000E903D000F80000F80 +1E000018C7EE000C007096C7FC5A1280C890C7FCA2180EA2181EA25D151EA45DA35D181C +A25DA24A48143C4A5A14075D4AC8FC143E5C4A5D495AD907E015F8D90F8090381FFFF001 +3FC700075B01FCEC007FD803F0ED1FC0D81FC06FC9FC003EC9120E003893CAFC4C4D7CC3 +53>73 D<1A301A381A7C1AFE00604E7E003FBB1280A27E0010C8D80F80C9FCC948CAFC16 +1E5E167C16FE4B6C7E83923803DF80030790CAFC92380F9F0792391F0F03E0033EEB00F8 +037C143F03F8EC0FC0DA01E0EC07F0DA03C0EC01FCDA0780EC007FDA0F00ED3FC0023EEE +0FF00278707E4AEE01FCD903E0496E7ED90780177F49C7EE3F80013C181F01F8F00FC0D8 +01E01807D80780F00380001FC8FC003C190100F0031E92C7FC00C06D01181460C76C90C8 +12F00260ED01FC027FB77E61610278C95AB3027FB7FCA30278C9FC85A214F8614A5E4A16 +804A4B7BC353>100 D<8002E0157002F8157ED901FE157F6002F815FC494890260801F8 +5B4A011C495B4A013E49EB07800107DA3F03EC0FC04A90267F83C0EB1FE091B60087B612 +F04915C75F902A1E0060000F01C0C7FC6F90381E00E0490138491378496D157C0170011E +497F01F0011F5B48486D48487F49EC81C04848DA83807F48C7D88F07C7FC000E902601CE +0E140E48DAE41C91C8FC0018902603F03814C048902607F82014F84892C812FE48D90FC0 +5DC7495D4AC95A143E4A17030278188002F8EF07C0902601FE20EE0FE0902603FF3FB812 +F04A7EEB07FC90260F7808C800F0C7FC011E90C9FC133C137813F001E01418D801C0141C +D8070080000E814816C04815034882C76E7E831600A41770A2176094C7FCA9EF0701EF0F +FF05015BEF003F02F86F5A180F4A5E4A6FC8FC91C912044C4F7DC553>110 +D<1810010C161E010FEE1F8002C016C6011FEF03804A92381E01E091C980011E717E1A78 +15604901F0EE79804A6CEE3BC000C0496CEE33E0007FB5D8FD80ED07F06C6EB812F85DD8 +0078C76C16F0932640001EC8FC93C7FC5BA448480220150602C00130150702F86DED0F80 +02FE011FB712C048484818E04A18C04A903B1E001E000F00A2EA0780A21530D80F001378 +15FC48EBF1FE48B5FC15FF6CDAFE1FB7FC390E00F0001204C7913A1E001E000FA8150F15 +FE9126F7F01FB7FCECFFC0903807FE00D97FF8903A1E001E000F380FFFF0EA7FFEEA3FF8 +EA1FC0EA0F00120CC7FCAAF10FFF193F95383E07FE0101023E14014A923838007C028001 +3C90C7127890C8003015204D4F7DC553>121 D<1A300540143C05E0EC3F804C7E00C04B +6CEC3E00007FB76C143C7EA20030CCFCCDFCA2180C0110EE0F800118023014E0011C0278 +14C0011FB500FC14807014005E011EC71278AA011FB512F8A3011EC71278A3011C146090 +CAFCEE0180000CED03C06CED07F00007B712F817F017E0903A8003C003C0AA90B7FCA260 +90278003C003131E181895C7FCAA90B7FC953801C07C953803FFFC0180C7000301005B19 +0F716D5A1903000F614D6D5A90C84991C7FC000C0302CAFC494E7CC453>130 +D<8519F019FCA2F1F8600203EEF0700030496C0103806C496CD90780131E001FB500F0D9 +0FC0131F9226F1801F8003C1B500E01480391E0007807015070440C7140093C81306011C +95C7FCEB1F87EB0FC70287EF01800207EF03C0F207E0039017F0039FB812F8158F010E19 +F00384C800F0C7FC1580A417401778057F1370177E177C1778A3158104C0133004F0EB38 +78187C18FC9338E07FFE1938A2011EED7800A2193C131C191CA215C1013C171E123E0381 +150E273C3E0E01030F133038383F0026007BC082D979E0EEC780D970F0030F1420D9F078 +92387F03C0D9E07CDA7BF81460023EDA7FE013E00001013F9039E3FF0001D9C01FD9FFFC +14F0D80380018701E01300DA0F9F0180EC78E0D80700D98FFCC8127C91260787E0153F00 +0EDA0380ED1FF048010690C9120F001890CB12074819030070F101F8481900CE12384D4D +7DC453>132 D<1406EC0780EC0FE0814A484B7E92C97F4A4C7E023E4C7E4A4C7E027FB8 +7E91B9FC5B02F0CCFC495A495A02A082D90F30ED01E0D91E384B7ED93C3FB77E01788301 +F017F02601E03CC8EA01E0EA03C0EA0780EA0F00121C5A126048013FB7FCC7FCA2023CC8 +1201A7023FB7FCA3023CC81201EC3D80DA3FE05DDA33F092C8FCDA07F8EC004019E0DA0F +C04A7E4AB77E855CDA7E30C7EA03E0027C4B5A4A6C4A5A49486C4AC8FC902603E00E143E +4A6C5C49486C6C5B49486C6C485A011E903900E007E0499138700FC0496E48C9FC01E0EC +1C7E4848EC0FFCD80780EC07F048C8121F001CED7FFC48913901FF7F800060913907FC1F +F0C83A3FF007FFE0912701FF800190B512E0DA0FFCC76C14C0DAFFE0021F1400011F90C8 +00035B260FFFF09238003FFCD87FFECAEA07F86CCC12784B4D7CC453>I<170617070160 +ED03C001706F7E013C826D6F7E6D6C157C6D7E6D6CEF01806E033CEB03C001010438EB07 +E0033017F00100011FB812F8A2DA600F17F091274008000FC9FC91C813C04D7EF0C02094 +383F0038053E133C053C137F057C800578017CC7FC01064B5B01074A5A26E00F804A485A +267FFFC013036C01F04A485AEE0700261007C0495C000049011E13074C5C93387C0FFF93 +B6487E030316E06F9039FE3E01F0DDC03C13FC922700FE007C7F04F09038F803F093C75C +4D48485ADD03E05BF0C00F050749C7FCEF0F8094381F003E053E133C4D137C030201F05B +92380E01E0923A1C07C001F04B4848485A9238F01E00912681E07C495A912683C0F0130F +91268781E0EB1FF091268F0780147802BE90C7EA3E1E02FCC8487E4A9238F807C04A4A48 +6C7E49484A486C7E011F4B486C7E49484A4813FE6D48021EC7127E6DC8007C806D4BEC1F +800102DA03E0EC0FC090C8485A041FC81207163E04F81503ED03E0DB0780ED01804BC9FC +030C93C7FC4D4D7DC453>148 D<4D7E18E018F884EF03F060A203065C030F13070030DA +1FC05B001FB612E004C090C9FC6C4B5A0008C7EA0F00C8020E1402051E1407051C1580F2 +0FC0053CEC1FE0053FB6FC4D15F01BC0943A700003E00005F05CA2EE01D819071798000C +1503000E16186C4B6C5C90B61206168CEE9C0E902780000F98140FDC300691C7FC150E92 +38086007ED00C0DC4003130E0400EB801EA21701F0C01C193C18E0050013381978187061 +1878F038E0183DF01FC0161804786D5AED01E0DB0780497E033EC77F03F84A7EDA03E014 +7BDA0F80ECF1F8027EC73801E0FCD981F8913803C07FD987E091390F803F80D9BF80DA1F +007F48B4C8003EEB1FF0D83FFC03F86D7ED8FFF0DA03F0EB07FED87FC0DA07C0903803FF +806CC8D81F806D13E0001E037EC8EA7FF80008DA03F8ED3FFCC8D81FC0ED1FC003FFC9EA +0F00DA03F81602DA01C093C7FC4E4D7DC453>I<1306EB078014F0DAE00CEE01804A6C01 +18EC03C0DA8007013CEC07E09326FFFE30130FDDFF1FB512F017FE9338803C0F95390803 +C0001800A21810181E0282ED1F83028716C3DA8F87158300C0D99FC7ED0380007FB500E7 +15076C171EA23B300F8007FFFC1200A2EE803CA2131F061C90C7FC183C4F13C0D93BC0EF +01E002E0EF03F002F8037CEB07F8D973BC92B6FCD9779F18FCDA8F87023F14F8902AE787 +C7FFFC181EC7FC1800EBC7830001DB803C131CD98781163C03870138133E270307800790 +C7EA3F80F13BE000060383147B83000CDB81C05CDC80E013730018047013F31778003093 +383C01E30060163E051F13C300C0EE3F0300009338FF8383933881EF87DC878F13039338 +8F078F04BE019E14189338FC061E9326F8003C14384B48017814304C13F092381FC00193 +388003E0DB0F0013C0DD078014700306EB1F0092C7123E4D157805F015F84C48ECC1FCDC +07C014FF4CC714F8010F023E6E13C0047891C8FC010EC75A010C91CBFC4E4F7EC553>I< +190C190E191F4F7E486C4D7E6CBA7E7FA20160C7001ECAFC90C8FCB11A101A381A3C1A7E +00E019FF007FBB12806C1AC0A20010C8001ECAFCC9FCB3B3163E163816304A4B7CC253> +154 D<16E01678163E163F707E040F15081A1C0407153E94C8127F00E0F1FF80007FBB12 +C07EA20010CEFCCFFCA218080218151E021C153F021FB77E8596C8FC021EC8121EA8021F +B612FEA3021EC8121E181F181E0002051813C00003011092C77E6C6CCA487E90BA7E86A2 +01E0CAEA01F062A503C014C06FEB01E092B612F018F818F09239F00001E0A992B6FCA392 +38F00001A318804B90C7FC92C9FCF00FFFA206005B0003183FF10F804995C7FC90CB1204 +4A4E7CC553>176 D<5B02E0141802F8141C6E141F02F0814D7E4A023EC9FC5F61057849 +7E05F8497E4D804CB67E8662933A03E00007C0030C6D495A92261E07B091C7FC033F0130 +5B00C091267F8E38131E007FB613186CDBDC1C5BEEB80C293003E000380E5B00004B7E04 +605C01079138C003800301ECC1E0EE8001DB0300EBE3C0010E0106903800F7804B147FDA +F8086EC8FCD91CFEC8FC90261DEF804A7EDAE7E0ECFFE090263DE3F0903801F3F8902639 +E1F8903803E1FEDAE0FC903907C0FFC00179017E90390F807FF00171013E90393E003FFE +01F14B90380FFFC001E190261C01F0010313FC92261807E07FD801C19026001F80903800 +7F80047EC8EA1F00D80381D901F8158EDB07ECEC01E0D80701D93F8E4A7E00069026E1FC +0FB67E000ED9E7F082000C028016F0001CD9E00090C7EA01E012181230A21260A212C012 +00AA94B6FCA394C71201A313035C4A5F90C8000892C7FC4E4F7DC553>194 +D<1608161C161F4C7E83167F4C5AEEFCC0ED01F8EEF060ED03E04B487E173892380F8018 +92381F001C033E7F033C7F4B6D7E4B804A486D7E4A486D7E4A4814784AC87E021E814A81 +4A824A011CEB03E0494890391F8001F049489138C000FC49C790C7127F010EEF3FC0013C +021EEC1FF049EF0FFE01E0943803FFE0D803C08348C8923800FE00001E193C0038191800 +E096C7FCC9FCB3B0163E163C16384B4C7CC453>199 D<1518151EED3F80824BCBFC157C +15FC4B141C4A48141E92B7FC4A8285DA07E0C7007CC8FC03B05CDA0F10495ADA1F185C02 +1E1403DA3C08495ADA780C5CDAF00449C9FC03065B902601E002133E902603C003133C90 +3A078001807CD90F005C011E903800C1F049ECC3E049EC63C001E014774848EC3F804848 +6ECAFC0006C8123E001C157F00104B7EC83801F3C0923803E1F0923807C0F892380F807E +92383F003F037CEB0FC04BEB07F0DA03F0EB01FCDA07C06DB4FC021FC8EA3FE0023EED0F +F802F8923803FF80D903E017F0D90FF84B13FFD93F3FB912F001FC05F31380D803F09438 +C07E00260FC03CC83807801ED83F0095C7FC12F812E0C7FCAF023FB7FCA2023CC8EA07C0 +A361023893C8FC022015044C4E7CC553>I<17041707EF0FE0011882013F5E6E141F91C8 +1360013E8249ED3E3818180178ED7C1C180C49ED780E4D7E49830001923801E003D9C007 +02C07F91260F80036D7E00039126E007807F018092C77E0007494848147C0100D9001E80 +4A011C143F000E013E496E7E48490178EC0FE0494849EC07F826383FF049EC03FED87BFC +4948913801FFC028FFE1E003806E13F0902681C007C838607F80D87C03010E9238F01E00 +273007801C913801F80C00009026003860903803FC0449D9703FB590C7FC010E01E08149 +48486C5CDB8010CAFC49CDFC5BA25B485AEB80022603003E6D1406260703F86D140F260E +1FC06DEC1FC0D81C7FC7B77ED83FFC60D87FF060D8FFC002F0C7000FC7FC6CC8FC123C12 +38C9FCA4EC01C01407EC3F00EB01FCEB0FF0EB7FC0D803FFC7FCEA1FFCEA7FF0EA3FC06C +C8B7FC120E120CC900F0C7120F86A397C7FC4C140E4C14084C4D7BC453>I<5B14E014F8 +6E01308102F06DEC01E0041C4A7E4A011FB67E861AF0041EC7EA01E0A71518153C157E00 +8014FFB7FC6C159E041FB6FC392003E000EA0007041EC71201A3130EA3131EEB1CF0EB1D +FCEB3DFF902739E7801FB6FCECE3E0903879E1F00171903AF81E030001ECE0FC01E1017E +028013C4033E160ED801C10301EB000F031C6EEB1F80D803810108163F03000100EC7FC0 +01017013FF0007953801F800000694387003F0000E4E5A000C9438780FC0001CDD381FC7 +FC0018EF3C3E0030EF1C78F01EF00060EF0FC06100C017070080840000170385727E727E +F018FCF0F07E943803E03FDD0F8013C04D486C7E057EEB0FF8DC1FF8EB07FE4D903803FF +C04D010013F84C48EC7FFC4C48EC3FC04CC8EA0F800103027EED07004A013C92C7FC4A13 +1890C812104E4F7DC553>I<000214600003DA7018816DD9FC0CEC01E090B5D8FE0E4A7E +DBFF0FB67E03FC829026C0007816F094C7EA01E0AC94B6FCA394C71201A290B512F8A390 +38C0787C1578157001801300C7FCA394B6FC120313C001E0923900C001F003065E01C001 +0702E01386DB0F8FEC000FDB1FCF0160EB1F8091267FFFEF0170133FF27FC072EBFFE091 +2678000F913801FC00F103F072485AF10F807248C7FC197CF00FF0725A1980727E851801 +85727EF004FCDB03EFEB1C7EDB3F8FEB783F913C7BFE0F01F01FC0DA7FF0D907C07F9026 +CFFF8090390F800FF82707FFF80090393E0007FEB500C002FC903803FF806C48C7496D13 +F0D83FE04B9038007FFC6CC84848EC3FF0001C4B48EC1FC000084B48EC0700C96CC81201 +041E92C7FC160C16084E4C7EC253>I<1A0C1A1E1A1FF23F8000E0F17FC0007FBBFC6C1A +E0A20010C8D80780C9FCC9FCA50104170C0106171E0107EF3F8091B97E6297C7FC913B80 +000780001EA991B812FEA3913B80000780001EAA91B812FEA3912680000FC7121FA30206 +161ED90407161CD90003491410912601801E91C8FCEC00C015E0ED703C1538ED1C7CED0E +78ED07F86F5A5E4B7EED0FFCED1F3E92387E0F809238F807F0913903E001FC913A0FC000 +FF80023EC7EA3FF8D901F891260FFFF013F0D907E0020190B512E0013FC96C148001FC04 +0F1400D807E004005B003FCBEA0FFC00F8F0007C4C4C7CC353>205 +D<1904190F864F7E486C4D7E90BAFC6C85A20140C7001ECAFC90C8FCB3B3AC1A081A1C1A +3E1A7F00C0F1FF80BC12C07E7E0020CEFC4A427BBF53>211 D<18C018F818FE606060A4 +16181638167C002015FE003FB7FC7EA22608003CC8FCC7FCA31A0C1A1E0303EE1F806FB8 +12C081A2933B8000F0000F8093C71500A31A0E1A1EA4601701A7170360A21A1C17C70407 +5BEE7F07ED03F892381FC00F91263DFF0090C7123CDA3FF85BDAFFC0131E010F90C7FCD9 +FFF85C001F13C0B448C85AD87FF05DEA3F80001EC84848143800184B481478C9485A4CC8 +FC161E5E4C15F84C5DDB03C014014B484A5A031EC7EA3FFF4B6E5B03F002005BDA03C003 +3FC7FC020FC9121E023C16184A4D7DC453>213 D<17201730173C173F171E171C15C015 +F003FC130C4AB4FC15FCDA03F0130E17065D4A481307834A5A92C77F4A1401021E81023E +81023C14004A8118704A1578494881183E4948151E49488191C7003880010E027C6D7E49 +027F6D7E013C9238C001F0494AC77E4902FC80494948147F48484A6E7E48484AEC1FE048 +C700036F7E000E4BEC03FC480207923801FF8000304B6E13E048020FEE7E004892C91238 +C8001E161097C7FC5DA25D0370131803F07F4B7F020114074A48EB03C04B6D7E4AC87EA2 +020E15784A81023C810238151F4A6F7E4A8201011607494882494849B57E90260F003FB6 +FCD93FBFB6128149B6380001F893C8FC1580D93FE0C9FC013ECA127090CBFC19604B4B7B +C453>218 D<19301978197C19FE01E04C7E017FB9FC6D1880A20110C7003CC9FC90C8FC +A51A601A701AF8F101FC00E0F003FE007FBBFC7EA20010CDFCCEFCA401084C7E010C4C7E +6D4C7E0107B812F8A219E00280C8EA03C0A51630163EEE3F80A21700161EAA5EA485A201 +0F147C04785C91C75D010E9126F0C007C7FC010C010101FCC8FC90C73903E03F80923907 +C007F892390F8001FF033FC7EA3FC003FCEC0FF0DA07F0EC03FCDA1FC0EC00FF02FFC9EA +3F80D907F8EE0FC0D97F801607D807FCCA1203D87FC0EF00E00078CC1240484D7BC453> +224 D<49150C02E0140F02F8816EEC1FE002F0158095C9FC4A141E173EA2173CA25FA217 +7005F01406030C160F031E4915C0DB3F01B712E00060EC7F81003FB6FCDCC380C7EA0780 +6C1583281003E00007C8FC120016060107140E160CDC1C06150001069126180F805B010E +02307F841660011D02E0138002FCEBC01F9126FF018090C7FC903A39EFC1001EECE7E090 +2679E3F05B903871E1F8DAE0FC143001E1017CEB78381818D801C1013C497E031C140ED8 +03810118497EED0001D807019238C00380040314C0000E1680000C0307EB01E0001C1600 +00184BEB03F0003892380E07FF003092391FFFFEF800604B01C0130EEFFC0000C0ED1FE0 +000093C7EA781E040C147093C812601900A41A1CA21A3CA3621AF8190195380FFFF00603 +5BF0003F0103EF1F804A70C7FC4A160E4B4E7EC553>232 D<1310013C161E013FEE1F80 +6E16E091C9485A013E94C8FC013C043E1304017C047E130E0178047C131F0678EB3F804B +6C90B612C049496C16E0704815C090B600F09039E0003F00704848133E480407143C9027 +E00001E049137C49030F147800034B486C13F849DB1CF05B943838780148C70003D9703C +5B9438E03E030006DCC01F5B000EDBC1801307000D010C903AC3000F0F80261DC01E01C2 +4AC7FC0019B501C0EB0E3E00310283EC043C0303EC00782661E01E4B5A4E5A00C14D5A00 +814D5A0001053FC8FCF0FFC0050313F094380FE7F894383F8FE0933AC1FC0FC003DCC7E0 +9038800780943A801F000FC0DCC000141F4EB512E01BF04C5B9539F8000F804EEB1F004D +5AD9FFFE0203141E4E133E1707D9E01E4A6C5BEF1E78DD1C3C5B0307EB383E4D6C485A02 +1C9138E00F810200D981C0EB83E049DA83801387C890268600075B048C4A5A0480EB021F +93C848C7FC197E4B5D4E5A4E5A031E4A5A033EEC1F804EC8FC902603FFFC14FC6DED03F8 +9026001FF8EB0FE0DA07F0EB7F80912703C003FCC9FC9238801FE091C7007FCAFC16404C +4F7DC553>234 D<010316046D6C150E6E151F91B812C085198002E0C8000FC8FCA41610 +1638167C91B6FC1780EEFE009138E0003CA412031A701AF84F7E90BA7E86481A8090CCEA +FC00F101F048614F5AD81E0104185B003E6D031C90C7FC267E00C0ED3E074890B8120619 +8C481804007001F0C8003CC8FCC7FCA691B712FCA302F0C8123CA891B712FCA302F0C812 +3CAC933801FFFCEE003F0101ED07F8715A4A14014AEC00C0494C7AC353>246 +D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: F4 gbsn14 10 19 +/F4 19 237 df<1618043C6D14800018033E6DEB01C0001FB70160EB03E06CDC807FB512 +F0050015F828040078001C16F0C79339780007E01BC01B80F20F00A21A1E1A1CA2043C5D +A262A21A60006061003FB612FC6C4E5AA228180078003C4AC7FCC7FC19021906A2190E19 +0685737EF100E01A7002F8834A173C0060191C003FB600FC81866C1A80281000F0003C15 +03C719C0494817011BE0A2F200F0495AA2163813075CA2010F180191C712781A03011E94 +381007E0F13FFF494A6E13C019034901016F13804C913800FE009026F03F9F167C000190 +260FFFC0156049C64992C7FC4848013FC7FC4848133E48C7121C001E14104891C8FC5A48 +17F85ACB5A6018404D4C7EC253>0 D10 +D<19064B6C140F70EC1FC06FB712E0A20230178000C0017801F0C7EA0F00006013FE007F +B5FC5C5C38780078A893B7FCA304E0C7EA0F80A31A00190E051C1308051F90C7FC18C060 +030191C712C0051EEB01E01AF0F103F8F107FC04C0EC0FE01A80267FFFF8EE1F00193E03 +035D267800785E4E5A027C4B5A04805C03074A5A02784BC7FC0260153E00F80100010013 +784B5C48EE1FE048021E5CC892C8FC4B131EA24B1606A25D4A4816044B160C14034A5A4A +C7FC023C170E4A171E5CD903E0173FD90780141F011FC86D13FE013C6FB512FC01F06F14 +F8D803E018E0D8078003011480000ECDFC484A79C253>17 D<1506ED078016E0ED03F8A2 +16E0A25EA76C18306C18380060187C007FB912FE19FFA20078C7D80380C7127C03071578 +A893C8FC5DA4824B7EED1EF016784B7E82707E4B6C7E707E4B6C7E834A486C7E177E4A48 +133E173F4A48EB1F804AC7120F021E15C04A14075C4AEC03E0494815C0495A49C8120101 +1E1680013892C7FC136090CBFCAA943803F8F818FF9438003FF000F8170F48EF07E048EF +03C048EF0180404E76C453>19 D<80D901E014106E141E496CEC1F806E81496C92C9FCD9 +0FC0021E14C0DA8060ED01F090261F00704B7E013E6DED0FFC49011EED1FC001786D4BC7 +FC49D90780147E4848D903C0EB01F8484802E0EB03E04848D901F0EB0FC048C701F89038 +1F0003003E90B5147CB7EB1FF0DBF07813C0DAE000011EC7FC01F0C700305D007EC9FC00 +601906CA150E150C0006020E160F6C021F5E90B60080ED3F80DCC01FB6FC1B009028C000 +1F000F14F8031E90CAFCA61710171E90B500FEEB1FC06095C9FC9026C0001E011E14C04F +7EF107F8190FF11FE04FC7FC19FCF001F0F007E0F01F8090B500FE027CC8FCEF1FF018C0 +9026C0001E011EC9FC1BC0A21A011B80A61A03A31BC01A0702C0EF0FE0DAFFFE011FB6FC +DA1FFC17C0000701036EECFE006E4890CAFC496C5A90C712604B4E7BC553>21 +D<1404020E1430DA0F8013386F133E6F133FDA1F80497E92C7007CC9FCA2023E5C023C5C +16014A5CA24A495AA24A495A010118064A49C8120F0103F01F804A91B712C001074A16E0 +91C717F0496C013CC8EA1FC002F00138ED3F00496C49153C4A6F1338D93BE04901E05B4A +4901FC1360017301016E13E00163494801F85B01E391C748485A01C35BD80183010692C8 +FC00035C01035B00061438000EEC3008000CEC600E0018DAC01F14100030028001C01318 +00700200151C006004007F00C0033E800080727E0000033C81047C140104786E7E04F881 +4C15784C157C0301824C151E0303161F4CED0F80150793C7EC07C0150E1BE04B16031518 +15384B160115604B17C002C118804B93C7FC02C3C8FC14C202C0EB0401EE0FFF705BEE00 +3F715A170F01075E4A6EC9FC0106C812044C4D7DC453>28 D<140781EC0FE081EC1FC05D +4ACA1210023E17384A177C1A7E4A17FF91BA12804919C05B02C0C700F0C9FC1307495A91 +C8FC131E5B5B5B485A485A4848170248C91407D81C034D7E00386D4C7E486C6C4C7E00C0 +90B97E1200A202E0C700F0C9FCAC1A061A07F20F80F21FC00060F13FE0007FBB12F07EA2 +0010C900F0C9FCCAFCB3A34C5A5F705A4C4D7DC353>35 D<161C161E163F834C7E4C5A92 +3801FDC0EEF8E0923803F060923807E0704B487E4B487EEE000F033E6D7E4B6D7E4B6D7E +4A48EB00F8912603E060137C912607C078131F91260F803E6D7E91261E001FEB07E04A90 +390F8003F802F86D6CC6B4FC49486EEB7FE0D903C0010391381FFFC04948040713F0011F +C700016E1380013C0500130001F84B143ED801E06E48140ED80780DB000C90C7FC001ECA +121ED83803163FD8E001B87ED8800083C7830280C8003FC8FC91C9127C187818F84D5A60 +17034D5AA24D5AEE601F7048C9FC0203EB1C0FDBE01ECAFCEDF80F4B6C6C130C012001E0 +6D13074B6C6C6D7E716D7E016002016E7E7180040015784E6C7E01E003F0143E05708000 +010440158001C0DB0003130F0003060013C000071907000F1A80EA1F80003F4DEB0300D8 +7F00EF8002007E96C7FC007C4D7E00384D7EC790B75A616E4BC8FC4C4B7CC453>39 +D<18601878187E04C013FF7013F800604A7E00704A7E003C4A6C5B003FB6EAFE0160A200 +3CC9485AA303405C03701307037C91C7EA0180037FEE03C0037E010EEC07E003F8010FB6 +FC1BF00110494915F80118031CC7EA1FC0D90C014A1500010E49163E01070330143C0103 +0370143890260183C0D960105B02C3ECE03E902600E3809039C03FC060027701016E5A02 +7F0280130091273F00030091C7FCA2021E13066E49EB3D805C6FC7FC81143B81DA71F0EC +3CC0A2EC60F802E0157CDAC07CEC78E0EB0180196049486C157018F8010616F0031E1530 +491738491501031CECE03C490118151C92C7EA03C049171E90C90007130EF0800F170F03 +0649486C7E0307011E8092260F803E13034B6C48804B6C486D7E003FB600F18148DBF3F0 +6D7EB7D8F7E014FF007EC8D80FC0EC7F80003C4BC8EA3FC00018037EED1FE0C900F816F0 +DB03F0ED0FD8DB0FC0ED07004BC91202033893C7FC4D4D7CC453>78 +D<1470EC7804DA7E061660DA7F0716F0027C90B77E02F8836202F0903A8001E000F0A2EB +01E0A2130314C0A2EB0780A214004991B7FC130E131ED91FC090398001E000EB3FE014C0 +1480EB7F00A213EF13CF1201018F91B7FCEA030FA2000692398001E000120CA200180300 +5D0030020493C7FC92C7FC00600220160300C00230178000000238EE07C0033FB812E01B +F0A2923C3C0001E00007C01B80A419C0196019701938193C191EF0FFFE4CB512CF043F90 +38FE0F8718E093381FFE00DC0FC01307040EC7FC0408150793C812041900A7F13FFF0707 +13004917001A7E011E0138163C011C013016184C4D7EC453>83 D<19020403EC0380706C +EB07E07180DC00F080057814C00318017C495A033C7F033E6D91C7FC00C0027F151EB738 +800F806C181C6C0300143C262003E0C714380000499139070070061A0705069038E00F80 +902607800690C738C01FC00307B812E081140049902801000F00F0C7FC92C7FC130E131E +131CA2133C9038380180913803C18090267007F1160690277FFFF8C0ED078090B500F017 +C0DBE0E016E09026F803C0EE0FF00001036016C00470168012030430ED1F00D807781438 +1A1E1206000C033C5D161C00181938041E1578123000201970006019F0004061000018F1 +62A2F1F380A2041C02F7C7FC1618040014FE61A2D97FFF5EA26F5DEB7803A25D5D0202C7 +ED018091C816C0F203E09026F80180EE07F001E090B912F8497E90C77E0340CBFC4D4B7D +C553>141 D<6E1540D901E0157002F8157C6E15FE01038202F0EC01FC4A01184914C049 +4890263C03F014E04A017E49EB01F0010F9126FF07C0EB03F891B648B612FC49159F171F +D93C07C7263E0180C7FC90267C038090387800C090267801C04913F001F06D4848137029 +01E000F07B80137849D9F81EC7127C48486E6C133C48C7267807E0133E000E6F6C133CD8 +1C046E7ED83806D96000EC3080D8700790C70078EB01E000406D0230497E000090B97E86 +1AF00280C9EA01E0A891B9FCA30280C912016297C7FC96C8FC496C17086E171C6E173E02 +7FB9FC1B80A2913D7800780078003C00131F131EA3133CA3D9787FB812FCA21370903DF0 +7800780078003C13E01201EA03C01380EA07005A121E5A12705A48943879FFFCC7EE703F +047090386007F8044090380003F0027090C812010260EE00C04E4E7EC553>159 +D<020215C0DA0380806FEB01F8DA01F0806E6C497E037C14F0037EEB07C06F826F494848 +7E031E4A487E051E800006020E49497E6CBA7E867E90C7261E001EC9FCC8FCA2191C191E +0170171F013C4D7E011F84D90F80047EC7FCD907C016F8EB03E002F04B5AD901F84B5A01 +005F4E5A02F04BC8FC0270031E130C0260031C131E02000310131F95C7EA3F8000C0F17F +C0007FBBFC6C1AE0A20030CEFCCFFCA202404B7E02604B7E6EED07F0023FB77E6161023C +C8EA03C0AA023FB7FCA3023CC81203A9023FB7FCA3023CC8EA03E0147CA202785E027093 +C8FC026092C9FC4B4F7CC553>202 D<1308010FEB038002C013E002E013F80280494814 +06020001E06D130704C06DEB0F8071B612C01BE083933BC1C0F0000F80DCC3E0150000C0 +EDC7F0007FB712F87EA23B300F0003C0001200A891B5FCA295B6FCEC0003A29538E0000F +A891B5FCA3DA00031301A495B6FC1781EEC1C1933AC3E1E0000F00809238C7F1C0B812FB +7EA20020C91203CAFCDAC008495A903801E00E6E7ED903F86D48C7FCED03E0903907E001 +F002C0141E903A0F8000F81C49C7133C011E5D013EEC707049EC60F00178EC01E0494A5A +48484A5A48484AC7EA7F1F4848021E15FF90C80078EC07FE000E4B140100184A486E5A48 +DA03801578480202C912304B4D7DC453>207 D<16C016F816FE5E5E5EAB1A401A701AF8 +864FB4FC1B806196380FFE00953801FFE0DE1FFEC7FC943801FFE0DD1FFEC8FC9338F1FF +E0DCFFFEC9FC030313C0DB3FFCCAFC913803FFF0EC7FFC903807FFC090387FFC003803FF +80D8FFF8C7FC1380007CC8FC1230C9FCAA1A02A21A06A41A0EA41A1E1A1FF23F808270ED +FF00047FB65A7015F81AE0040F158049467BC253>212 D<02061518DA07C0141F03F015 +C04B5D4B92C8FC4B021E13201A781A7C1AFE00181801001FBBFC6C1A807E2704000780C7 +001EC8FCC7FCAA92B612FEA30380C7121EAA92B612FEA30380C7121EA61A061A07F20F80 +F21FC000E0F13FE0007FBB12F07EA20010CEFCCFFCA21518033EEB0380037FEB01E09239 +FF8000784A48C7123EDA03F8EC0F80DA07E0EC07E0DA0F80EC01F84AC97E023C167F02F8 +707E4948707ED907C0707E49CA1207013E717E01F81701EA01E0D80780715A0006CC1240 +4C4C7DC353>217 D<163C167F17C0047ECAFC167CA3190304784A7E190F000603F84A7E +6CBA7E7EA22800800001F0CAFC90C7FC5EED03F8EEFFC0923807C7F892390F80FF80EF1F +E092391F0007FC033EEB01FF03FC6D7F4A48EC3FC0DA07F06E7EDA1FC0EC07F0027FC800 +031306D901FC03011307D90FE00300EB0F806C48CA38601FC0BC12E07EA20020CB00F0C7 +FCCCFCA55B6E497E6E497E91B67E835F9139E00003C0AC91B6FCA39138E00003A394C7FC +93C8FCA291CAFC90CA1201EF0FE318FF17019438003FE0180F61725A0604C8FC4B4E7CC4 +53>219 D<1406EC078015F05D5D5D1A401AF00518497EDC300FB57E047881DCFC0714F8 +0018912681FE04C75A000FB690C8FC826C5D2704000780C9FCC7FCA9EE0C08EE1E0EDC3F +0FB5FC0060157F003FB7128F95C7FC6C8529100003C0000F5CC718C097C7FCA51360137C +137F137E017C140C0178021E16C001F8143E167F01F090B5128F1B801A019238C0000FA2 +1A03D801F819C0A201FCF007E001EE70130F01CE93B6FCD803C76F15C0D9C38302011500 +D983C391CAFCEB81E3380780F3EB007B143F000E131F6E7E000CEB03F8001C6DB47E0018 +9026007FFE16F80038021FB8FC0030020317C00070DA007F16000060150100E092C8EA3F +FE4895C8FC4D4D7DC453>229 D<014001040108800160010E010C497E017090261F800E +EB03F0017FB5D8C00FB57E04E081048015F0902778000F0090380001E0AC017FB591B5FC +A3902678000FEC0001048081043001C05B92270C3C01FC138001709028007E007F80C7FC +90C8397F801FC0933AFF000FE00204FC903803F0074B480101EB0F804B48903900E01FC0 +00604BED3FE0003FBB12F07EA20010C7261F0003C9FCC8003E804B6D7E4B6D7E4A481470 +4A48143CDA0FC0804A486E7E023EC8EA07E04AED03F8D901F0ED00FE4948EE7FC0D90F80 +EE3FF890263E0001012090380FFFE001F890260380306D13FCD803FC902607E03815E0D8 +0FDFB5D8F03FB612C0D87E1F02F8168000E003E0EDF1003E001E0003C03C0003C0AD011F +B5013FB5FCA390261E000390383C0003A50118DA003091C7FC4E4C7DC353>236 +D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: F5 cmr10 10 53 +/F5 53 125 df11 +DI<001C131C007F137F39FF80FF80A26D13C0A3007F137F001C131C +00001300A40001130101801380A20003130301001300485B00061306000E130E485B485B +485B006013601A197DB92A>34 D<121C127FEAFF80A213C0A3127F121C1200A412011380 +A2120313005A1206120E5A5A5A12600A1979B917>39 D<146014E0EB01C0EB0380EB0700 +130E131E5B5BA25B485AA2485AA212075B120F90C7FCA25A121EA2123EA35AA65AB2127C +A67EA3121EA2121F7EA27F12077F1203A26C7EA26C7E1378A27F7F130E7FEB0380EB01C0 +EB00E01460135278BD20>I<12C07E12707E7E7E120F6C7E6C7EA26C7E6C7EA21378A213 +7C133C133E131EA2131F7FA21480A3EB07C0A6EB03E0B2EB07C0A6EB0F80A31400A25B13 +1EA2133E133C137C1378A25BA2485A485AA2485A48C7FC120E5A5A5A5A5A13527CBD20> +I<15301578B3A6007FB812F8B912FCA26C17F8C80078C8FCB3A6153036367BAF41>43 +D<121C127FEAFF80A213C0A3127F121C1200A412011380A2120313005A1206120E5A5A5A +12600A19798817>I<121C127FEAFF80A5EA7F00121C0909798817>46 +D48 DIII<1538A21578 +15F8A2140114031407A2140F141F141B14331473146314C313011483EB03031307130613 +0C131C131813301370136013C01201EA038013005A120E120C5A123812305A12E0B712F8 +A3C73803F800AB4A7E0103B512F8A325397EB82A>I<0006140CD80780133C9038F003F8 +90B5FC5D5D158092C7FC14FC38067FE090C9FCABEB07F8EB3FFE9038780F803907E007E0 +90388003F0496C7E12066E7EC87EA28181A21680A4123E127F487EA490C71300485C12E0 +00605C12700030495A00385C6C1303001E495A6C6C485A3907E03F800001B5C7FC38007F +FCEB1FE0213A7CB72A>II<12301238123E003FB612 +E0A316C05A168016000070C712060060140E5D151800E01438485C5D5DC712014A5A92C7 +FC5C140E140C141C5CA25CA214F0495AA21303A25C1307A2130FA3495AA3133FA5137FA9 +6DC8FC131E233B7BB82A>III<12 +1C127FEAFF80A5EA7F00121CC7FCB2121C127FEAFF80A5EA7F00121C092479A317>I<00 +7FB812F8B912FCA26C17F8CCFCAE007FB812F8B912FCA26C17F836167B9F41>61 +D63 +D66 D<913A01FF800180020FEBE003027F13F8903A01FF807E07903A +03FC000F0FD90FF0EB039F4948EB01DFD93F80EB00FF49C8127F01FE153F12014848151F +4848150FA248481507A2485A1703123F5B007F1601A35B00FF93C7FCAD127F6DED0180A3 +123F7F001F160318006C7E5F6C7E17066C6C150E6C6C5D00001618017F15386D6C5CD91F +E05C6D6CEB03C0D903FCEB0F80902701FF803FC7FC9039007FFFFC020F13F00201138031 +3D7BBA3C>I73 +D76 DI80 +D +83 D<3901800180000313033907000700000E130E485B00181318003813380030133000 +70137000601360A200E013E0485BA400CE13CE39FF80FF806D13C0A3007F137FA2393F80 +3F80390E000E001A1974B92A>92 D97 DIIII<147E +903803FF8090380FC1E0EB1F8790383F0FF0137EA213FCA23901F803C091C7FCADB512FC +A3D801F8C7FCB3AB487E387FFFF8A31C3B7FBA19>IIII108 D<2703F00FF0EB1FE000FFD93FFCEB7FF8913AF03F01E07E903BF1C01F8380 +3F3D0FF3800FC7001F802603F70013CE01FE14DC49D907F8EB0FC0A2495CA3495CB3A348 +6C496CEB1FE0B500C1B50083B5FCA340257EA445>I<3903F00FF000FFEB3FFCECF03F90 +39F1C01F803A0FF3800FC03803F70013FE496D7EA25BA35BB3A3486C497EB500C1B51280 +A329257EA42E>II<3903F01FE000FFEB7FF89038F1E07E9039F3801F +803A0FF7000FC0D803FEEB07E049EB03F04914F849130116FC150016FEA3167FAA16FEA3 +ED01FCA26DEB03F816F06D13076DEB0FE001F614C09039F7803F009038F1E07E9038F0FF +F8EC1FC091C8FCAB487EB512C0A328357EA42E>II<3807E01F00FFEB7FC09038E1E3 +E09038E387F0380FE707EA03E613EE9038EC03E09038FC0080491300A45BB3A2487EB512 +F0A31C257EA421>II<1318A51338A31378A313F8120112031207001FB5FCB6FCA2D801F8C7FCB215 +C0A93800FC011580EB7C03017E13006D5AEB0FFEEB01F81A347FB220>III120 DI124 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: F6 gbsn17 10 35 +/F6 35 249 df<16201678167C16FF83DB01FCC812304C15384B48157C4B4815FE00304B +4A7E003FBB12807E7E0008C7271E000180C8FCC8003E804B1300037814604B14704A4880 +4A4880EF011E4A48EB038F4AC7486C7E021E91380FC3C0023F91381FE1F0027BB66C7E02 +F3167ED901E3707E902603C3C0C8EA1FE0D90783EE0FFCD90F03933803FFE0011E7113F8 +0138933918007F800170043CEB3F00D801E0047E130ED8038004FF1304D8070090B76CC7 +FC120E12384802C0CBFC00C01704C7160E181F4E7EA292B77EA303C0CBFC1A081A1C1A1E +1A3F00C0F17F80007FBB12C01BE07E0020C7D803E0CAFCC8485A150FEE801892381F000F +033EEB07C00378EB03F04BEB00FC4A48147F4A486E7E4A48EC0FE0021FC86C7E023C6F7E +02F891380FFFFC902603F03FB6FC011FB7EAC07E6D4AC7FC03F8C8123ED907FCC9121E01 +06CA120E90CB120C4D4E7CC553>0 D<5F024015E0027815F8027F81027E15F0027C5D14 +78A21A30D801C0187801F018FC01FC01034B7E01F891B7FC01F06D826201E09027008001 +E0C8FC16001504D803C0130E151F16800180EB3FC090B6FC4815E004C0ED0180D90078C7 +16C0F203E0000E0260EE07F0037FB812F881000C80001C0210CBFC001891CCFC19184818 +1F1AC04802035E030E93C7FC48023C151EC701F017C0DA7BE017E0DA7F80EE01F0030CEE +03F8DAFC07B812FC903803F803131F017F6DC8001EC7FC2601FF78C9FCEA07FCD81FF014 +20D87FE01438D83F8080D80F008000066F7E000482C76E7E831601831600A25F1770A217 +6094C7FCA5943801F83E943800FFFEF00FFC1803725AA202F85E02E06F5A4A16804E4F7E +C553>I<1302EB038002F0011014026E0118EC078002E0011C4A7E4A011FB67E861AC004 +1EC7EA0780A61518153C157E0060DAFE1FB6FC003FB6FCA26C031EC71207391003C00012 +00A7041FB6FCA3DB031EC71207151E157CDAC1F093C7FC9126C7C01C140402DFCB128002 +FEEF01C002F8EF03E090260FE080EE07F0D97FC0B912F8D803FF7FEA1FFBD8FFF30120C7 +003CC8FCD87FC390C8FCEA3F03121E000C15300000153C047F15040580140EDC7C00141F +F23F804C157F063FB512C0A21501063CC8FC4B7E16CC16CEED0787ED0F03178092381E01 +C0031C13E092383C00F04B137C01070170133FD83FFF49EB1FFC6CD981C090260FFFC013 +FE0001D983806D90B512FCD8007F90C7000115F0D93F066E6C14E0D93E0C031F14C0D91C +181500D9183093380007804F4E7EC553>10 D<6D010216036DD90780ED07806D496C16C0 +90B6D8E180EC0FE070B712F016C0903AF00007807F94264000F8C7FC94C75A61A24E5A05 +081408050CEB801C94390E03003F90B6010FB612801BC01B809026F0000791C7EA1E00A5 +F001C019F019FCA290B615F0A218009038F0000716C0168049EB060090C8000C14E0161E +163E00C0157F007FB7128F6C1701A23B10000780000FC7FCA313C013F801FE0230130301 +F8027814C004FC151F01F0D981FE0107131E000191B5EC801805080186C7FC9439000F07 +8001F80180C7EB03E095381E00F801FC4C137C01CE4C133FD803CF4CEB1F8001C74B48EB +0FC0D98387DA07C0EB07E002C74AC7FC260781E7023E1403D900F702F81401027FD903E0 +15C0000E013F010FC9FC91261FC0041600000CD907F0CBFC001CEB03FE0018902600FFF0 +163C0038023FB5903807FFFC0030020F91B612E00070020117800060DA001F160048DB00 +7F5C4893CAFC4E4C7DC353>I<0240ED038002F816E002FE16F8147E027C16E014780303 +16084B6C151C4B6C153E0018021F0160147F000FB6D8E03FB61280A26C8226040078C726 +1003C0C7FCC71500A34B16024B6C150791267007C0ED0F8000C09026F00FE3ED1FC0007F +B66CB712E06C15F0A2261000F0C726C003B0C7FCC7ED000719B8D901FC169C02FFED0F1E +DAE7E0150E902603C3F8EC1E0FDAC0FE91383E0780902607807F4A6C7E6F6C01F87F9026 +0F001F49486C7E011E010F903903E000FC490107D907807F490103011FC7EA7F80499026 +01003CEC3FF02603E040C700F09038601FFC26078060D903C09038F00FE0261F0030903B +070001FC0780003C013FB7EAFE0300F09538FC010000C04EC7FCC7003CC95AAA023FB7FC +A3023CC9FCAB023FB7FCA3023CC97EA2147C6102785E026016804E4E7DC453>15 +D<19021907000385D801C04D7ED800F001604B7E017C017FB77E6D7F133F90281F801000 +3CC9FC010F90C7FC8013075C01035DA26DC8151890C9151C4D143E1A7F020CEFFF80020F +B912C000C07F00F07F00789028020001C018C8FC003E90C700037F6C1318D80F80913807 +800E6D4881D807E04A487E0003017082D9C060011E6D7E4C80000101E0150049484980D8 +0001DAF07013784A027C7F0103902601E07F133E922603C07E7F9028070007807CEB0FC0 +92260F00786D7E031EED03F8010E496F7E4B6FB4FC011E49EE7FE090261C01E0EE3FF890 +263C0380EE1FE0020FC7ED0F809026381E01EE0700D9783CEE0C01DA7003DA1007C7FCD9 +F060923818038002006F6C7E00014A020E7F00FF020691380F00F06C48010E6E1378001F +F0807C0007021E6F7E031C14030003023C6F7E037C17804B160F14014A4817C0020F1707 +5D4B03C013806E48158091C8D90100130095C712020007912607FFF891C7FC819238003F +F0160F705A5F00036F5AC64892CAFC4D4D7DC453>22 D<1508151EED3F8082157F037ECB +FC4B14034A484A7E4B4A7E4AB77E4A82A2DA0FE0C7EA0F80DA1F704AC8FCDA3E30143E4A +6C5CDA780C5CDAF00E495A49486C495A903A03C003800749486C6C485A010EC76C485A49 +DA703FC9FC49EC387E01F0EC1EF8D801C06E5A48485D000FC8EA1FF8000CED7FFEC83901 +FE3FC0923903F81FF8923A1FF007FF8092267FC00101FF13E0DA01FEC7003F13FFDA0FF8 +020F148091267FE00C0101EBFE00903C07FF000F80003FD97FF002E0EB03FCD81FFFC749 +EB003CD8FFF04B1440007CC890C812F0C9824F7E00181803001FBA7E6C857E0004C8000F +CAFCC9FCA31404140EDA0F8014C0DA1FC014F0DA3FE014780380141EDA7E006E7E027C6F +7E02FCED03F049486F7E4948ED007E4A824948707E4948707E011EC78249717E49170349 +717ED803E0D9FC3F1400D8078090B5FC48C7D80FFE1578001C0201163800786E5A00E04B +1510C94892C7FC16604B4D7CC453>30 D<1A60000619F06C6C01304B7ED801E0011FB7FC +D800F884017C7F6D0108C8EA07C0013F90C948C7FC6D6C163C6D6C01025CDC03F013E001 +07913900FF01C0DD3FC3C8FC0103ED0FFE4AEC03FC010101086D48136090C7000C010014 +706F027813F80307B77E86A2933A8003C000F862A51306130738C00F80B500C090B7FC6C +13F0A2262007C090398003C00000001380A993B7FCA393398003C000ACF0C3FF8490260F +C00F9138E03FE0D91C60EDC00FD978700100496C5A9026F0380E9039020003802603E01E +C90002C7FC48486C93C8FC391F8007E0007FD903FE17186CC7B912F8001E023F17C0001C +020F1780000C020117000008EC000F4D497DC153>47 D<190C00C0180E0060181F007FBA +12801AC0A20078CBEA1F00191EA6EF0180EF03C018E00130ED07F0011FB712F87F18F001 +04CAFC90CBFCA60220142002301478023814FC023FB57E8317FC023CC71278B0023FB512 +F8A3023CC71278A51760023891C7FC91CAFCAA943801FC3EF0FFFE9438001FFC00F81703 +725A48715A00C01860424C76C253>51 D<17C017F817FE02405C02705C6E5C141E80EC07 +C06E7E816E7E6E7E157EA2153EA2151E0140131C1360017813086D90C7FC131F6D7E6D7E +6D7E806D7E6D7EA2147CA2143C5FA202181301141091C716081A1E1A1FF23F8000C04C14 +7F007FBB12C06C1AE0A20030C8D80380C9FCC91207A24CCAFCA25E83EE3FE0EE3CF8EE7C +3E9338F80F809338F007E00301EB01F84B486C7E4B48133F4B48EB1FC04BC76C7E033EEC +03F84B6E7E03F06E7EDA03E0157FDA07806F7E021FC96C7E027C707ED901F01607D907C0 +707E011FCA1201137CD803E01700D80F801870001CCC12604B4C7CC353>62 +D<4B7EED00E016F8167C8282A28201C018381A7C040E15FE90BBFC1B80A2D801C0CBEAFE +001AF8620003496C4B5A03E001705C0007496C017F495AD80F806D90260FF007C7FC001F +496C903801FE06D83F0001F09038007FC4DA0FC0EC1FF0003E4948EC07FC003C91C8EA01 +FEC7003E6F6C7E4A163F4A707E4948020E130F49486E1307494890397003C0014948903A +7E01E00080011EC7267F80F090C7FC4991387E00F849027C137CD801E0167ED803800278 +133E0006C8143CC9021C133004F80118133895C7127C4C15FE00184E7E001FBB12807E7E +0004C72601E180C9FCC8EBE0C0A283923803C06017701730923807803883ED0F0083031E +7F844B6D7E037C6D7E4B804A486D7E4A48147C4A48143F4A486E7E023FC8EA0FE0027EED +07F8D901F86FB4FC4948030013E0D90FC0EE7FFE013FCA381FFFF0D801FC83D807E09438 +03FE00D83F80EF00FC00FCCC1238006019084C4E7CC453>66 D<190C00C0181E0060F03F +80007FBA12C01A801A000078CB121EA21570157C15FFA215FC4A5A4B13184A48133E177E +92B6FC4A15805C923980007E00021F147C5FDA3CC05B913878E00103605B9138F0700349 +486C485ADAC01C5B903903801E0F49486C48C7FC010EEB073E49EB03FC01305C132090C7 +EA07FE92380FBFC092383F1FF89239FC0FFF80912603F00313FE91260FC001EBFFDE027F +C76C131ED903FCEC1FFC90261FE018EB07F89026FF001EEB00F0D879F86D6C1330D87880 +D903E0130090C7EA01F86F7EA2167C163C161C1618020F90C8FCEC07F0EC00FFED3FE0ED +0FF8ED03FE923800FF80EE3FC0161F160F16031601160094C7FC007FB912FEA30078CB12 +1E191FA212F8191E48181800C095C7FC424E76C453>I77 D<184002781578027E157EDA7F80147F187C02 +7CC8FC4A1578A25CA213015CA213035C16084948131E163F91B6FC491580A291C7EA7E00 +011E147C1678011C14F8013C5C1338137801700101147F01F04A14C049EE79F0D801F801 +03EC78FC01FE4A143FD9CFC0EE1FC0270387F007ED07F0D903F8496E7E260701FCEE01FE +270600FE0FED007F000E017E90C7EC3F80000CD93E1F161F48D91E1EEE0FC00038190700 +30EB0E3C481903DA007816015A484AEE0080C7000118005D4A5A14075D4AC8FC141E143E +143C5C5C495A495A495A49C9FC131E5B5B5B485AEA0380000FCAFC121E5A12F05A5ACB12 +F86018C04A4D7CC453>105 D<16C016701678163E82707EA2707EA201204B1430040315 +781AFC017FB97E861B800160CBEAFE0001E018F84F5A0001614F5A000361484895C7FC00 +0F180648481602F007046CCA138000064D7EC6486C4B7E6DB87E6E82A20240CCFC91CDFC +A41A101A381A7C1AFE00184E7E000FBB1280A27E0004C72607800FC9FCC8120FA41600A2 +5DA2151EA2153E153CA2037C1760157815F85D1BE04A4817C014034A5A5D4AC715015C02 +7E18E04A1703D901F0EF07F0D907E092B6FCD91F8018E0017FC86C1500D803FC92CAFCEA +1FE0B4CEFC12F84C4F7CC553>113 D<1404020E1430020F14384A806F7F4A6CEB0F804A +C76C7E14FC4A6E7E49488149481401495A49485D49C81518013E6F48131C0178183E4993 +C7127F2701E0030CEEFF80D803C00187B8FCD8070001C717C0000E497E00389127F20001 +E0C8FC48EB0FF000401480C748C7FCA2143E5C14785C13015C495A130714F0497EEB1FE0 +495A013B18600173187001E318F8D801C34D7ED80383010C4B7ED80703010FB8FC000E80 +001C8000389127020001E0C8FC007091C7FC12E01200B11A03F207801BC0F20FE002C7EF +1FF002C3B9FC02C118F8A2902607C080CBFC92CCFC5C91CDFC4D4E7DC553>128 +D<497E6D7E14F01478027C6E14306E6E143805F0147C023F91B612FE021E836292260180 +F0C7127891381C03C091381807E000C09038000FF0B7FC6C15F86C15F0D8203CC8B612F8 +1200A205F0C71278A794B612F882ED078192261F01E0C7127815FCEC03F0EC0FC091393F +0003C014FED93FF8495A4A91390003FFF8D97FC05B4A011E9038001FF049C7481407494A +6E5A01F849485D0170D903C0EC01300120D90F80EC003890C7001EC9127C4B16FE000391 +C9487E6CBB12807EA201C0C7D80780C9FC90C8FCA3190C191E191F4F7E01184D7E010FB9 +FC6D84A20106C7D80780C9FC90C8FCA41A061A07F20F80F21FC00070F13FE0003FBB12F0 +7EA20008CEFC4C4D7DC453>130 D<010317706E167C496C0160147F6E017C147E496C01 +7F147C02C0017E1478D91F82137C91270380780C13F8013E01F0EB0F80013C01F86E5A01 +7C01E01480017801C0140001F05FD801E0160101C06000039538C00380D8078019C00100 +F007E0000E01C3923903800FF04801E393B5FC263801F318F8007001FB4B14E026E003FF +9338007C00000001E7B6FCEB07C702CF5D903A0F87C0000FDA0380140D49C8EA0C19011E +03001380491631017C15080178ED1C6101FCED3E01D9FF30147F48011FB600801378EA03 +FC496C16C026077808C9FC000E90CAFC121C00381440007070EB60F8006091266001C05C +00C091387003E0000091387FFFF8711370A292267801F0EB31E05F1939193BF11FC0A206 +045BF01C0F067890C7FC18F09438E3C01F9439E7803F809439EF007FC003F001FE137BF1 +FBE0933A03FC01F1F09439F803E1F8913C01E007F007C0FC4C4848487E040390381F007F +DA03C0D9C07EEB3F80912807800180F814C093260001F0EB1FE04AC74848EB0FF0D9F81E +DA0F8014F84A4AC7EA07FC4A023CEC0380D9F0E002F0EC0100D9C080026091C7FC4E4D7D +C453>135 D<156015F8814A7EA2DA03F014304A4814784B14FC4AB6FC845C023EC7EA03 +F0027EEC07C0027C4A5A4A020EC9FC49485C49485C49484A146049484A1470011EC84814 +F8494A48497E017E4AC7487E01F7BAFCEA01E7EA03C726070780CCFC120E1238127012C0 +1200A20304140703068103074A7E93B67E85A29339800007C061A7EB0F00A2180F96C8FC +A5495E94B5FC011EED1FFE0503EC0180715A013EED00F0013C4CEB030095C7FCA25BA249 +60A2485A49F00F8000031AC04848F03FE048C790B812C0001E1A0048020116F84891CCFC +5A12C04B4D7CC453>I<1660167C167F01046E7E010792C9FC6D6C133EEB01E06D6C133C +80147C80143F801580A2EC0F00A2140E140691C7FCA31AC0F101E000C019F8007FBA12FC +A27E0020C80078C812F8C916F0A304F815E04C1401A415015E17708303037FEEC00FEF07 +80030714C093388003E0EF01F0030F02F813C093C7FC4B14FC031E147C033E1503033C14 +78037C14380378143015F84A4814005D4A5A14074A48168092C9FC141E4A16075C5CEB01 +C0D90780EE0F0049CAFC011C5F0178173E01E0923803FFFED803C09238007FFC000FCAEA +07F8003C715A00F0715A00C01880464D7BC453>143 D<161CEE1F80835F94CAFC161EA3 +190C190E191F4F7E486C4D7E6CBA7EA27F0140C7001ECAFC90C8FCAA1A181A1C1A3E1A7F +00C0F1FF80BC12C07E7E0020C8D8FE40C9FCC9EAEE601501923803FE3016DE03077F9238 +0F9E1CEE1E0C031F130E033E7F153C037C6D7E03F86D7EDA01F08003E06D7EDA03C01470 +DA07801478DA0F0080021E814A814A6F7E4AED03E049486F7E49486F7E4948167E49C781 +013EEF1FC00178EF0FF049EF07FE4848943803FFE0D80780170048C8EE7C00001E193800 +7896C7FC12701240C9FCA3163EA2163816304B4E7CC453>153 D<1718171F18C06095C9 +FC171EA2146000C013F0386001FC267FFFFE16064A160F4A4C7E277800F0604B7E033FB7 +FC6F8262922608001EC9FC92C7FCAA1A181A3C1A7E02F317FE02F1B9FCA202F05CDB8003 +01C0C8FC030013DE04071360179E040F1370EF1E30161F041E1338043E1318D87FFF023C +131C047C7F16F8D87800160FDB01F07F02F801E08003036E7EED07C0D901F001806D7EDA +E00F819126801F006D7E90C7001E157800F84A157C037C81484A6F7E4849486F7EC74982 +4A48ED07F84A48ED03FE4AC7913801FF80021C7013C04AEF7E0002F0173C49481718D903 +8094C7FC010FC8FC131C1378EA01E01380CA123EA2173817304A4E7AC453>155 +D<02181470021E80023F806F131E92C77E023E6E7E023C81027C6E7E02788117015CA249 +48020014181A1C4E133E49484B137F03C091C7EAFF804AB912C001077F1400490120CBFC +010E90CCFC131F14E080D93FC016180137496C141ED97780161F01676D6C15C013E701C7 +6E5D0001036092C7FC01870270143EEA03070007153000060338143C120C821218003003 +1E143819780060150E00C0150F1970000082160761A283A24E5AA217E004035C1803A296 +C8FCA24D5A040713061780EF000E93C7120CA34E13021A07F20F804E14C0028CEF1FE002 +8FB912F0028718F81483D90F82CCFC148091CDFC130C4D4D7DC453>160 +D<16C082167016788282161F707EA3040715081A1C1A3E94C8123F00E00306ED7F80007F +BB12C06C1AE0A226100003C8003CC8FCC7FCA260811401A36F14F802005DA28115604D5A +15701530A20338495A1518151C4D5A150C030E91C9FC5F81171EED0380705A1501705A15 +00705AEE79E0A2EE3FC0705AA34C7E4C7EEEFBF0923801F1F8923803E0FE92380FC07F92 +391F801F8092393E000FE003FC6D7EDA03F0EB03FC4A48EB00FFDA1F80EC7FC0027EC8EA +1FF04948ED0FFCD907F0923803FF80D91FC0030013F0017ECA383FFF80D803F8050F13F0 +D80FE005031300007FCC12FC007819384C4D7CC453>169 D<13C0017017066D1707011E +0118ED0F806D011FB712C06E6C16E06D6C7E902603E004C8EA0F806EC913001301A26D5A +A291CAFC1270127C127F127E127C1278A3021014080218141E021C143F021FB6128018C0 +1800021EC7121EB3A2021FB512FEA3021EC7121EA4171F171E1718021091C7FC91CAFCAB +F07FFF181F00F8EF03FEF000FC48187C00C01870434C77C353>175 +D<1738173F04807FDB03C090C9FC92381FE03C037F1406912603FFF0EB0780021F01F8EB +03E0902701FFFC00EB01F8010F01806E7E48B5C7147E261FFE0F82010083C7FC85A21906 +A296C8FC051C140C1A0E1A1FF23F800060F17FC0007FBBFC6C1AE07E2610000FC7001CC9 +FCC7FCA3171E19078686F10FF0050E1490040F4AC7FC047E141E922603F00F133EDB1FC0 +143CDBFF005C03F815F8DA3FE06D5B902601FF801481010F90C7EB83E0D9FFEF5E000F01 +8FEC038726FFFC0FEDCF80D87FF094C8FCD83F8016DED81E00ED01FE000C5F0008705AC7 +4B5A17034D7E4D6C1460EF1F3CDD7E1E144017F84C486C14C0DC07C07F4C486C7E93393E +0003E004FC903801F001DB01F0EB00F8DB07C0147CDA1F1FC8123F90B5001CED1FC392C9 +380FFFE0010F1703D901FE16000100F03FF0027C170F0270EF00E04C4C7DC353>183 +D<19021907864F7E01604D7E013FB97E867F0110C7007CCAFC90C81278AC167004F0150C +1A0E1A1FF23F800060F17FC0003FBB12E0A27E0010C72601E03CC9FCC8FCA416C01503A3 +16801507A216005DA2150E151EA25DA25DA25D1B404A4817601BE04A4817C04A5A4AC7FC +141E5C5C4A1701495A495A010FC8ED03E0131E017CF007F0D801F0033FB6FCD803C019E0 +000FC96C1500007E93CAFC12F812C04C4A7DC153>195 D<1903864F7E4F7E00064E7E6C +BAFC6C85A20180C70078CAFCC9127016F0A75E1501A65E1503A2854E7E01304C7E011FB8 +12F8856D5F903C080007800001E090C7FCA493C7FCA25DA6150E151EA6151CA2153CA615 +381A080378161C1A3E1A3F00C0F17F80007FBB12C06C1AE0A20010CEFC4B477CC253> +202 D<1518151EED3F8016E04BCBFC157C4B4A7E4E7E4A484A7E4AB77E855CDA0FC0C7EA +07C04E5ADA1E604AC8FC4A6C143E03385C4A6C14FCDAF00C5C49486C495A902603C00749 +5A49486C6C485A49486C6C485A011E6D6C48C9FC49EC703E0170EC3CFC49EC1FF848486E +5A48485D48C8EA3FF8C948B4FC923901FE3FE0923907F80FFC923A1FE003FFF092267FC0 +0090B512C0DA03FEC7003F14F091260FF870010F148091267FE07E01011400903D07FF00 +7F80003FFED97FF8017EC7EA03FC260FFF80017CEC003CD8FFF0C793C7FC48C81278C9FC +1906190F000603F84A7E0007BA7E6C857E90C800F0C7EA0FC0C8000193C7FC5E1503A24C +140E0307151E5E150F93C8FC4B153E033E153CA25D5DDA03F05D4A5A4A5A023FC912F814 +FED903F891381E07F0D90FE0EC1FFFD93F8002015BD801FEC9EA3FC0D80FF0705AD83F80 +041EC8FC0078CA12084C4D7CC453>214 D<04405C0460EC03C004704A7E01C0027FB67E +01F084017818E06D0278C7EA03C0131F6D7E801307801303A26D5AA290C8FCA4047FB6FC +A30478C71203A286010C60010E024092C7FCD8C01F91C91260267FFF8017F002E0836C02 +0C4B7E27200F8007B77E0000497EA293260001F0C8FC92C7FCA64EEB0180F203C0F207E0 +4A18F092B912F8801BF09227400003ECC8FC92C7FC18CC18CE031814C6037013074B14C7 +DA03C014874A4890380F8380021FC71303023E4A6C7E4A021E7F4A143E4A4A6C7E494802 +FC13784A4A137C49484948133F91C748486D7E6DDA0FC014E0011E4AC76C7E010C023EEC +07FC90C800F86EB4FCDB03E06E13E0DB0F806E13F8037EC9EA7FFCDA03F0EE1F00DA1F80 +160E027CCA12044E4D7DC453>216 D<1A081A1C1A3E1A3F00C0F17F80BC12C06C1AE0A2 +0020C7263C001EC9FCC8FCAC4F7E00034E7E6C6CEF07F090BA7E6262903DE0003C001E00 +03C0A8157C1578A55DA34A5AA219834A48EC03E394381FFFF34A4815FB050713C34AC912 +03140E141E5C5C5CEBE1E0EBE3C0EBE78001EECAFC13E0A590BAFCA301E0CA1203A38612 +03A249604995C7FC4B4D7BC453>220 D<7F01F00204154001FC020615F06D02074A7E49 +92B67E49844918F803400180C75A000114E09038E001F015F8EC03FC90B5FC4814FE15FC +01C0C7FC4992B6FCA248C8FC0580C7FC1540000E14E0EC01F0000C1303EC07F8001FB512 +FCA24893B6FCD8300FC7FCA200600487C7FCDD8F807F00C0715BDC041F14C00000DB003F +C9FC173E4D1403036049EC078003F04915C04A6C48B712E000C0496C4816F0007FB54916 +F86C02FE903A80F01E03E09226FC0F0015C0D8300FC7381E01E00000033C91383E078093 +397803C03C16F0923901C00780DB03801478923907000F00150E0318011E13F092C75AEF +7C0105F801E01300031C01F05C923A3803E003C09238F007C0913B01C00F800780913B07 +803F000F0091380F007C91261E01F8131E91267C0FE05B4A48C75ADAF01C4A130E4AC7D8 +03E0131E49484A5A013F4B5A4948023EC7123E6DC812FC011EDA03F05C010C913A0FC007 +C3FCDC3F00EBFFF890C7D801FC9038007FF0DB0FE0EC0FE0033FC86C5A03385E92C90002 +C7FC4D4F7DC553>226 D<1960197800E018FC007FB912FE6C18FF19FE0010CB127CCC12 +78A81302EB0380EB01E0EB00F8143E80EC0FC06E6C15706E7E6E6C15F0811400157EA215 +3E153C151CA20308130392C7121E177CEE01F0EE07C0043FC7FC16FCED07F0ED1FC0037F +C8FCEC03FCEC0FF0EC7F80D901FEC9FCEB0FF8EB7FE03803FF80D81FFECAFCEAFFF8EA3F +C06CCBFC120E120CCCFCA2F001E0A4180319C01807A2F01F804CB51200EE001FEF01FE71 +5A18F01860404978C053>243 D<1608160F17C07114100580143894C8123C1A7E00E019 +FF007FBB12806C1AC0A20010C8000FCAFCC9FC1970197819FC01184C7E010FB8FC6D83A2 +0104CDFC90CEFCA202405D0260ED03C002704B7E027FB77E8519E00278C8EA03C0A8027F +B7FCA3DA78E0C712C30378EB01E36FECFB80DA603ED903FAC8FCDA001F14E0DD07801306 +6F91C7120F050EEC1F8000C0020E010CEC3FC0007FBB12E07E1BF00020CEFCCFFC6E826E +ED01E06E4B7E91B87E8519F002F0C8EA01E0AA91B8FCA302F0C81201A2856102C016804C +4E7CC553>245 D<1A40F107E0197F953807FFF095B512F8177F933A3FFFFC001C4AB500 +FCC8FC90B648C9FCEDC00F90C8EA1FC04C7E4C5A04FEC9FCED01F84B5AED07C04B48EB01 +E0033EC7487E4B4A7EDA01F04A7EDA07E0141FDA1F80EC3FE0027FC8EAFF80902601FC7F +B548C7FC0107B712F86D9138F00FF09239E0001FC0D901F8C748C8FC90C912FEEE01F8EE +07F0EE0FC093383F001C047EEB0780DB01F8EB03E0DB07E06D7EDB1F80EB007C037FC812 +3FDA01FCED1F80DA07F0ED0FC0DA3FC049B512E0902603FF07B712F0010F90B638FE03F8 +9438F800016DDA03C0EB00FCECF80090C8167C1A38A215C0DA01E0160003F01478DA03FC +141EDA07FEEC0FC0DA0FF0EC03F003C0EC00FCDA1F80157FDA3F00ED3F80027EEE1FC04A +EE07F04948EE03F84948EE01FCEB07C04948EE00FE49C7167E013E183E0178181E485AD8 +03C0180E48480207150C001EC7D83FFF1500127800E01403C96C5A163F70C9FC161C474E +7CC553>248 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: F7 gbsn12 10 24 +/F7 24 240 df<1502ED03C016F08216E05EA319C04E7E854E7E4E7E93B6FC85A204C0C9 +FCA81A201A701AF8F101FC00C0F003FEBCFC7EA20020C7D80380C9FCC813F0825E5E5EA7 +16F816FFEECFE0EEC3F8EEC0FFEF3FC0EF0FF0EF07FCEF01FE9438007F80727E727E180F +F003F018011800A21970193096C7FCAA1507A293CAFC484C7BC453>11 +D<190219074F7E860003F03FE06CBA7E6C85A290294001E00001E0C8FC1300B21A081A1C +1A3E1A7F00E0F1FF80007FBB12C07EA22A100001C00001E0C8FCC71203A614075DA3140F +92C7FCA3141EA2143E143C147C147814F85C13015C495A13075C49C8FC131E133E5B13F0 +485AEA07C0485A001EC91203007C5F007094C9FC4A4A7CC153>13 +D<197EF007FE95B5FC051F800407B6FC0307B77E023FB500FCC9FC48B648CAFCED807CC9 +FC5EA219084B48141C191E4C143F01C001034B7E017FB97E867F902720000780CAFC90C7 +120F93C912084B161C031E163E033E163F00C0023CEE7F80007FBB12C06C1AE0A20020C7 +00F0CBFCC712015D14034B15604A4815F0F001FC4AB77E4A5E61DA3F80C85A147F147714 +F7EB01E7EB03C7EB0787D90F07B7FC131E131C01780180C8FC13F0EA01E0EA03C0EA0700 +120E5A007891B7FC12E05AC70180C8FCA892B7FCA30380C87EA3020F5E92C95A020C1680 +4B4D7CC453>23 D<5D16E016F88204F0141C4C143E193F4F7E050880051C01FEC7FC9438 +1E01F8053F5B01C0ED7F83017FB7EAC7E0616DEECF809029200001E0001FC8FC90C75D18 +7E604D5A4D48130C4E131E4D48131F4D48EB3F8000604CC7EA7FC0003FBBFC6C1AE0A200 +18C8D801F0C9FCC9485A4C5AEE1F804CCAFC167E04F814034B48814B484A7EDB0FC04A7E +4B484A7E4BB77E92B8FC5C912703F001C0C9FC913807C003DA1F805B91383E000702F891 +CAFC49485BD907C0010E14074948011E81013EC7007C4A7E017849B7FCD801E06D824848 +6E81000FC80038C7EA0FC0003C03305D007092C890C7FC00C060CC121EA2193E193CA219 +7C197819F86118016118039438E007C094B5FC053F5B050390C8FCEF00FE187C18781860 +4B4F7DC553>31 D<02301308023C130F027E14C0027C6E13600278028013704A91C712F8 +4E7E4A4B7E49B8FC855B912680000FC8120891C7161C49183E0106183FD8C00CF0FF8000 +7FBB12C07E1BE00030CEFCCFFC806E16C06E4B7E91B87E856102F0C8EA01E0A691B8FCA3 +02F0C81201031C131CDAE01F011F1408020001C09038C1801C0480903880003E040090C7 +127E0038021E011E14FF001FB500FE011FB612807EA20004C7001E011EC9FCC8FC864F7E +864F7E00034E7E90B500FE011FB5FC6C857E902680001E011EC9FC90C7FCA21A021A07F2 +0F801A1F0060F13FC0007FB500FE011FB612E07EA20010C7001E011EC9FCC8FCA7033E13 +3E033C133C033013304B4E7CC453>34 D<1A181A3C1A3E1A7F00C0F1FF80BCFC6C1AC0A2 +0020CB00F0C7FCCCFCA9012014180130143C6D147E011FB67EA24CC7FC011EC7123CB3A4 +011FB512FCA3011EC7123C163EA3163C1638013E142093C8FC133C133090CBFCA71801EF +0FFFA217019438003FE0180F725A96C8FC18044A4B7BC153>44 D<4B7EED00E01670167C +8282A2707EA2014092C8121870153C1A7E90BBFC1B801BC0D801C0CBEA7F001AFC000319 +F04F5A484860000F4E5A001F0220011049C7FC48C70070011C130603FC010F5B003E6E90 +3803E008003C496CD900F8C8FCC7D803FD147CDA07E0141F4A48EC0FC04A486E7E4AC8EA +03F8027EED00FC02F8167E4948707E4948161FD90F808349CA6C7E013C170701F81703D8 +01E01701D80780715A001ECB128000784D6CC7FC00E04D7ECB487E01034C7E91B87E7F7F +912680001ECAFC91C7FCAF1A201A701AF8860060F003FE007FBBFC6C1A807E0010CEFC4A +4A7BC453>56 D<6C17C06CEE01E00060EE03F8007FB812FC18F818F00078C9EA01E0B3B3 +A6007FB8FCA30078C91201A418F0A212F818E048178000C01700363D71B953>61 +D<01061510D90780141E02F0EC1F804A814A92C9FC5C171EA7614F7E03184B7E031FB712 +F06E6C8202F85F0004903CBE04001E0003C00006019FC7FCEC8FC0EC87E0EC83F0EC81F8 +00071380A2000F14781530A2001F91C7FC121E123E127E127C12FC00F8161C0070F1C180 +0000F1C3C0053CECC7E0028C18F00287B912F814831BF00281C7D83C80C8FC0280811738 +EF78E01860A21870EFF0301838A24C487EA284EE03C084DC07807F727EDC0F007F180104 +1E804C6D7E0438147E0478804C814B48EC1FE04B48EC0FF84B48EC07FE4BC83803FF8003 +1C030013F00378EE7FFC4BEE3FE090260F81C0EE0F800207CAEA0700D90C0C17014E4E7D +C553>79 D<190600C0180F0060F01FC0007FBA12E01AC01A800078CBEA0F00A21502ED03 +C016F08216E0A25EA41860187018F8EF01FC01E0ED03FE017FB8FC7FA2902710001FC0C7 +FC90C7FCA2153DA2153B157BA2EDFBF0EDF3FC020113DF9238E3C7C00203EBC3F09238C3 +C1FC91390783C07E020FEC3F800303EB1FC0021EEC0FE0023EEC07F0023CEC03F80278EC +01FC02F0EC00FED901E0157E02C0153ED90380151E1307D90F00150E011E160C4916005B +5BEA79C05B0078C7FCA3150793C8FC1506007FBAFCA30078CB120FA21A80A212F81A0048 +180E00C01808434C77C353>104 D<14C014F002FE1770F103F802F8161F4AEEFFFC0607 +7F067F139F94260FFFC0C7FC932601FFFCC8FC047F1378EEFF0093C7FC1506150F4B7E00 +40143F007FB67E7EA2261000F0C8FCC7FC1A031B80F207C0F20FE00338EE1FF0031FB8FC +6F17F8A20304C70078C8FCED0040ED01C0ED0F80033EC7FC15F8ECF3E0ECFF8092C8FCEB +03FCEB0FF0137FD803FF02401560D81FFC02601570D8FFF0027015FCD87FC0027FB67EEA +3F00001C19F8000C0378C85AC7FCB1047FB6FCA3D80F810278C8FC13FFC65B011F846D5A +A24A5F6DC700605D0104024015804D4E7DC453>I<1608160F17C083178094CAFCA31902 +19074F7E8601C04D7E017FB97E867F0120C7000FCAFC90C8FCA24E7E19E0026016F80270 +16FE6E5E6EED03F0021E5E6E5E03801407DA07C05DA2DA03E04AC8FC180E03C0021E1308 +061C131C03804A131E0201173F00C090C74AEB7F80007FBB12C06C1AE0A20020C7000301 +60C9FCC8EBEF70923807CF30173892380F8F1892381F0F0C033E130E83157C03F86D7EDA +01F06D7EDA03E06D7EDA07C080DA0F801478DA1F0080023E814A814A6F7E4948ED03E049 +486F7ED907806F7E011FC7157E013E717E49EF1FE001F0EF0FF8D803E0EF03FED8078094 +3801FFF0001FC86F13F8003CF13F8000F0F11F00481906C993C7FCA35E161E16184D4D7C +C453>117 D<1620043C13080102023F131ED903809138801F80D901E0D93E007F6D6C15 +3F027C013C013EC8FC6E153C023F157CDA1F801478020F15F86002075D4D485A03004948 +487E6E030013E002024C7E000C90C790C7120F000FBA7E6C85A20002C7D803DCCAFCC8EA +07BCED0F3C151F92383E3FC0037C13FC9239F83C7F80DA01E0EB1FF0DA07C0EB07FEDA0F +80903800FF80DA1F00EC3FE0027CED1FF84AED07FCD903E0017CEB01FED907806F7E011F +C70078EC3F80017C0270141FD801F002F0140FD807C002FE1407001FC86C6C1303003803 +FCC71201C94891C8FC1A301A384C157C1AFE00C04E7E007FBBFC6C1A80A20020C7D801E3 +CAFCC8EBE1801503EEC1C0EEC0E003071360EE8070030F7FEE003C4B7F033E7F4B80717E +4B6D7E4A48EB01F8DA07E0EB00FE4A48EC7F80023FC8EA3FF002FEED1FFED903F8923807 +FFF0D90FE06FEBFF80D93F800300EBFE00D801FCCAEA3FF0D80FF0EF0FE0007FCB120300 +F8F000C0494D7BC453>161 D<0440150C0460151EDB3030ED3F80DB783FB712C003FC17 +806C01011800B63BFE3C001E001E7EA2392003C0001200A9043FB612FEA3933A3C001E00 +1EA4156015F0ECC1F800C013C3007FB512FC7EA2393003C0001200043FB612FEA3933A3C +001E001FA2167C1A1E04781518046092C7FC93C7FCA3DB03801518030FC7143C033C167E +DBF8C015FFDAC7E0B812809126DF807F16C09138FE003F4A902620001EC8FCD90FF090C7 +FCEB3FC048B4C9FCEA07FCEA7FF0EAFFC06CCAFC123E001C190300081A80CBEC07C0F20F +E0020CEF1FF00207B912F880A26ECCFC4D487DC053>174 D<010417180106173C6D177F +91B97E97C7FC619126C0001EC7123CAE91B812FCA39126C0001EC7123CAD91B812FCA285 +9126C0001EC7123E1307193C4A163891C71520010694C8FC90C8FCA319021907864F7E48 +6C4D7E6CBA7E7FA20160C7001ECAFC90C8FCA81A081A1C1A1E1A3F00C0F17F80BC12C06C +1AE07E0020CEFC4B4A7CC253>176 D<1A380140183C0160187E017818FF013FBAFC1B80 +A2013CCDFCA4EE01C017F017FC707E5F5F5FA6F1038086020C4C7E0207B87E86800202C7 +39F00003E091C85DA516015F62017C17071378A34C5AA44C5AA3160F01F892C7FC4995C7 +FC161EA25EA248484A5CA25E4913015E00034A5A49495A4BC8FC0007021E151E90C75A4B +153E000E4A153CDA03C090380601FC484948903807FFF848011EC8127F0238ED1FF04801 +F0ED07E0266003C0ED038000C090C90002C8FC494B7EC253>187 +D<041E151004FF151C03076DEC1F80037F6D15C0912703FFFE601500023F90C9121E9038 +03FFF0017F5B380FFF81D980011538C7163F1980F03E00A2183CA417C01601EE03E000C0 +ED07F0007FB712F87EA227100007E0C7FCC7FCA2140F140E141EA281EC3DFC15FF913879 +E7C0EDE3F09138F1E0FC167ED901E1EB3F800103EC1FC002C1130FD9078114E01607D90F +011303011E1401013E15C0013C14000178150013F0EA01E013C0EA0380D80700167C000E +17784817704894C7FC5A5A5AC7FCA7F1803E953801FFFE725B1907735A190102035F4B6F +5A4B16804A4C7DC353>I<14C002F0171002FC171C6EEF1F8002F818C04948180006C013 +1E4A4A7E4D7ED903EC4A7E02C7B6FC02C381D907835D91268100F8C8FC91C75A49160301 +0E17E0011E494814F0011C17E019C049495A1704017F150E02C0EB801FDA80071483D9FF +0090B512C301DE16E300015C019E90390E001F830003021E1403011E011C133E1206000E +4A133C120C001814780370137C00301478006002FC137815EC00C0D901CE13F800001487 +0203EB80F0ED07C091380703C10206EBE1E0140C16E3021814C01501023013E70200EBC7 +80168FEE0F001500161EA25E047C1400047890C7FC16F85E4B5A4B5A15074B5A4BC9FC15 +3E5D5D4A48913801FFFE4A48804A48ED0FFC4AC91203021E705AD93E385FD93C70705A01 +30CB5A4A4D7DC453>190 D201 +D<174017701778177C48167F01C003FE14106C6C03F8143801704B147C0178020115FE90 +263C018049497E6D6CB91280011F7FEB0F809127C04003C0C9FC01079038000780A2160F +010392CAFC4A8190C8001E13F018FC4C7F18F8605EA24C4A7E864B484A7E4F7E03074B7E +010649B77E01077F39C00F8003B528E0018000F0C8FC6C6DC8FC5C382007801200A31A06 +1A07F20F80F21FC00283EF3FE00281B9FC1BF014800380C700F0C8FC92C8FCAD130FEB1E +C0D93C601401497E48486C15C02607E00E91CAFC391FC00780393F8003F090C7B4EE01F8 +001E023FB812E0001C020F1780000C14030008DA003F16004D4C7DC453>203 +D<1A181A1C1A3E1A7F00C0F1FF80007FBB12C07EA20020C726F0000FC9FCC8FCA900024E +7E0003856C6C4D7E90BA7E86A2903DE000F0000E0003E0624B131E1401A74A6C133F6F14 +8003DCEB3DC003CEEB3CE0DA078F14F09239878038789338C0783CED83E0DA0F03141E92 +3901F0701F020E9138F00F83141E03009038E007C34A13F116E14A903943C003E3040314 +C34AEB0780D9E1E016834CC71203EBE3C0D9E780131E01EFC7121C01FE143C495C495C49 +495A49495A4B5A93C8FC150E92C9FCA5F01FFF1807000305005B193F4971C7FC49171E4A +4C7CC353>220 D<6E16206E16786E16FC91B87E8519FC02F0C91278A591B812F8A302F0 +C91278A591B812F8A302F0C91278197CF178064AEE600F91CBEA1F800060F13FC0003FBB +FC6C1AE01BC00008CEFCCFFCA21910496C163C6E167E91B9FC864FC7FC9126E0000FC712 +3CA691B812FCA39126E0000FC7123CA691B812FCA39126E0000FC7123C193E193C4AEE30 +C090C8ED01E04F7E486C4D7E6CBAFC6D84620160C7000FCAFC90C816061A0F1B8000C0F1 +1FC0BC12E07E6C1AC00020CEFC4B4D7DC453>222 D<1930197800C018FC007FB97E6C84 +1A800010CA000313C0CB000F138095381FE000F03F80067EC7FC18F8EF03E04D5A4DC8FC +171C177817E0EE03C004E7C9FC16FEA25E5E5EB3B3A8EC0FC315FF9138007FE0151F6F5A +5E93CAFC15061504424D79C353>234 D<1A101A1C05C0EC1F804C6C15C071150000304B +6C141E003FB77E7E6C5E27080007C0C9FCC7FC4B1410020F151EF01F8092C813C019005C +021E151E023E1308023C131C161E4A133F027FB5128091B612C0A2903A01F0003F004A13 +3E49485BA24948137849C7FC16F8131E011F5C497E903879C001D970E05BEBE0F03901C0 +78030003017C5BEB803ED807001307000E013F5B48EB1F0F4892C7FC485C141E0060143E +C7EA0C3CEC087CEC007815F84B143E4A5A020315384A4814304B91C7FC4ACAFC5C143E5C +5C495A495AEB0FC049CBFC133E01FCEF803ED801F0933801FFFED807E0705BD80F801707 +003ECB6C5A00F8180100E061CD5A1A804A4C7DC353>239 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: F8 gbsn13 10 30 +/F8 30 249 df<190C190E191F01304D7E011FB97EA27F0108C7000FCAFC90C8FC000219 +060003190FF21F8090BB12C01BE0481AF090C8000FC8EA1FC0F23F0048193C1A38486127 +3F0FFFF8903903FFF860007E61A2007CC890C85A97C7FC1210C9FC90260FFFF8903803FF +FC160E161C90C8001ECAFC163F4C7E4C7E4B5B923803F1C0923807E0E092380FC0704B48 +7E92383F001E03FC7F4A48EB03C0913A03F08001F0913A07C0F000FE91261F807CEB3FC0 +91263E001FEB1FF84A903A0F8007FF80D901F0DAC00113FE4948903B07E0007FFFF8D90F +800103021F13C0013EC700010203138001F8923AC00E007F00D801E0912600801E1307D8 +0F83DB003F90C7FCD83E01B87E00F084EAC000C70080C85B91C8D801F8C8FCEF03E04D5A +4DC9FC171C1778DA01C05B9238FF81C09139003FFB80ED07FF030013F0EE1FFCEE07FF04 +007FEF3FC0717E17071703170018604D4E7DC553>2 D<196019F001C0EE01FC90B97E6D +5F6D5F0120CA5A90CBFCA6130C0107B8FC7FA26DCAFC90CBFCA7EA01C06CB9FC7FA20120 +CA7E90CBFC1630043E5C93393FC001C095C9FC043ECAFCA2163C144019301978197C02C0 +017C14FE047E497E047614F80101027EEB03E004FB495A010302F3495A7148C8FC902707 +8001F1131E010F9138E1C03C011F5E903B3F0003E0E0F0499138C0F1E0017E0107EB7380 +017CDA803FC9FC0138010F133E90C7381F001E033E7F033C80037CEB07E04A486D7E4A48 +EB01FC4A48EB007EDA1F806E7E4AC8EA1FF002FEED07FCD903F86FB47ED90FE0030013E0 +D93F80EE3FFED801FCCA381FFFC0D80FF0943807FE00D87F80EF01F000F8CC123000C096 +C7FC4A4B7BC253>8 D<01041760010617F06DEE01FC91B87EA219F802C0C95AB191B8FC +A302C0C9FC04F0800107EB01FC16FF028001F85C0200495C0106178090C793C7FC5EA219 +03F107800030F00FC0003FBA12E06C19F07E0008C7D803E0C7EA07C0C8491580A315075E +A2150F93C8120FA24B1600151E153E153C157C157803F85D4A5AA24A48151E4A5A4A5A4A +C9FC023E163E5C495A4948163CD90FC0167CD93F8091380F03F801FEC813FFD803F89238 +007FF0D80FC0EE0FE0003FCA6C5A00F86000C00504C7FC444D7AC353>12 +D<1608161EEE1F804C7E83EE7EC0A2EEFC6016F84B487EA24B487E923807C01CEE800C03 +0F130E4C7E151E4B6D7E717E4B804B6D7E4A48147803C38091260381C07F91260780F013 +1F91260F007C6D7E021E6D6D7E4A6DEB03F04A6D6C6C7E4A903907C000FE49486E137F49 +486D6CEB1FC04948EE0FF049C70001EC07FC011E943803FF80013802006E13F0494BEB00 +7F4848F03E0048480340141C48CB0060C7FC000E18F0D8380CEE03F8D87007B87E00C084 +486C83D80002C9000F7F90CA91C7FCF01F8096C8FC183E601878604D5A4D5A604DC9FC02 +04140EDA07805BEC01F0DA007E5B92381F8070923807E0E0923803FCC0923800FF80EE3F +C0707EEE07F8707EEE00FF717E717E171F717E170717031701715A18404C4F7CC553>I< +17C017F01778486C8101E0153ED800F881133E6D6F14186E173C6D6C177E902607E0C001 +0E14FF0103017FB8FC1B8001016D17009226200060C9FC6D48C712F802C1497E0203804C +5AEE07F06C0106ECC00C00E092380F80070078010E49486C7E6C010C013E6D7E6C4BEB00 +F0261F801801F080000F4A48147C2807C03803C0809027E0300F80143F0003D9703FB7FC +8614602701C0E01F9038C0000F04E0C71207902681C01EC8FCD8000190C96CC7FC190290 +2603800F01301380922607C03E13F09339F03F80FED9070001C0495ADC803E5B010E033C +5BA35BA2133CA21338137813F8127F5B120F12070003EC0F0000011A601BE01BC0A2495B +151EA25D1A015D000314F86D4848EE03E04A5ADA0780EE07F04AC791B5FC0007013C027C +15E0000301F802786D1300D9F1E0027090C8FC2601F38091CAFCD80060CDFC4C4D7CC453 +>22 D<1610161EDC1F80130C71131E94C7121F041E4A7E4F7E041FB6FC86A2041ECAFCA2 +1340016018180170183C0178187E017FBAFC1B801BC00178CBEA7F001A7C04705D047815 +E0047C4A5A4F5A0478010790C7FCF00F8219C095381FE00895383FF00CEF0FFF047FB5EA +E01C037FB5EAC00091B60080C71218023F01F8C8FCED00780210173891C7FC1A3C1A7C1A +FE49027FB6FC627015E093CBFCA417184B130E49ECE007000103F87F717E4C6C6C7F0202 +01E06D7F716C137001C08400030106EE183C0678131C1A1ED9800E03707F060014800007 +011EEF07C01300023C93383803E048137C000E13FCD901F81701D81C03177CD907F018C0 +001801E004FE1300263803C090B690C7FC0030C716F800706E15E0006092CBFC5A5A4B4D +7CC453>68 D<17E08317FC83EE01F85F5F190C6C9126C003C0131E6CD901E0153F6CD903 +F890B67EB66C488103F893C7FC923AF00F80007C27F00F01E07F040E1478041C14F8715B +EE386094387001E0167071485A16E04C6C485A15E14C6C48C8FC9238E3000FEF079E03E6 +14BC03ECEB03FC03E06D5A715AEF01FC4D7EB64A7E94380F9FC094381F0FF026F00F0191 +387C07FC4D6CB4FC4C48C613E04C48EB7FFCDC0F8090383FFF804CC7000F13E0047C9138 +07FE004CEC01FCDBE3F0EC04F8DBEFD8EC0F30DBFF1CEC1F80DBFC1FB67E03F08203E016 +80041EC7000FC7FCA6B6FCA215F038F00001A215E0158091C7FC5A5A5AC9001FB6FCA304 +1EC7120FA38697C7FC041C140C4B4D7AC453>81 D<170718C00130ED0FF0131C010F16C0 +D907C0141F6D6C1560EB01F86D6CEC1E306E143E027EEC3C38023EEC7C18EF781C021E81 +17F0020E81020CD901E07F91C714034C486C7E05807F04076D7E94C71278040E80041E14 +3E041C8001064A6E7E01070278EC07E026C00F8001706E7E267FFFC049EC01FC6C9026F0 +01C06EB4FC4B48ED7FC0263007C00107ED3FF80000D9800701E0EC1FFC030E6DEC0F8003 +1C01C0EC060003380308C7FC037049131C03C0153E0380157F0300824F7EDE01FCC7FCF0 +03F04E5A4E5A4E5A067EC8FC60EF81F0EF87C0EF9F8005BCC9FC92380387F09238070780 +151C15380370160315E0EC83C0DA87805EDA8F001606149E14BC02FC170E5C5C495A4948 +171E013F181F6D48EF3F806DC790B7FC0106F0FE0001026E15F84E497DC453>88 +D<031016080318161E48021C163F01C0011FB812806C6C19C0017019000178903B1E0078 +03C01E7F7F131FEB0F8014C01307A31303148090C7FCA3031FB712FEA392261E0018C712 +1E053E141F053F141EDD7FC0131803104A90C7FC92C700FEC9FC01064B146001074A4814 +F026C00F804A497EB500E04948806C6D49B6FC4A83262007805B00004BC7EA01F8043E4A +5A043C5D047C4A5A16FF922601E7C0495A922603C3E091C7FC92260781F85B92260E00FC +133E4B017C5B0370137E4B013E5B92C7495A94381E03E094381C0FC04E5ADD083FC8FCEF +00FC4D5AEF07E0EF1FC005FFC9FCEE07FCEE3FE04BB4CAFC010FEB3FF890261EC0FFCBFC +D93C60CCFC497E48487E3807E00E391FC00780393F8003F090C7B4EE01F8001E023FB812 +E0001C020F1780000C14030008DA003F16004D4A7DC253>92 D97 D<1608160C160783707E83706C14041A0E6D0200151F6D198001F0F03FC0017F +BA12E01BF0A20178CDFCA3030C1560DB0F80147C04E0147F4C147E4C147C93C81278A404 +0315064C6C140F4C6CEC1F800280D91FC3143F91B66CB612C08017E0DA200FC7D8807CC7 +FCDA001FEC00FCA219F618015D19F7DB37C0EB03BBDB77F081491478DB673EEB0779DBEF +1F81EE0F80DA01CF9039C00E78E0EE07E0DB8F03011C7F02031770DB0F01013813780207 +17380206902600C070133C0001010E0200141CD9E00C03E0131E021C830238DA01C01480 +0230038013070270020315C0D9C0E0DA0700EB03E0000301C0020615F8D9C1804AEC01FC +01C3031C1400D98300021815F001824B156048C70220150094C7FCA2120EA25AA25A0030 +4A15F8127048021C15E04802185D4E4D7EC453>102 D<4F7EDB60604A7EDBF03FB612F0 +140100C0496C7E007FB5D8FC10C7EA07C06C92C85BA226100780C9FC0000ED01C017F017 +FC49C7FC5F4D130F97C7FC011E5DA3011C1403013C5DA21338017801C05D90277001E007 +141EDA03F85B90B512FC15F815F02801F801E00FC7FCA21A0700034B023E1380043E9138 +3C0FC0D80778027FB712E0820006030F16F0000E0304C8EA07C0000C92C91380121C1218 +1230F20F001260A200C018C00000EF01E0F003F0DBE180EB07F803E0B612FC82735A0440 +C8121E93C9FCA3EB7FFFA3D97801173E6F163CA35D5D92CA127C91CB1278A201F818F849 +93381FFFF001C0160790CB6C5AF11FC073C7FC190E4C4B7DC253>104 +D<1618161F17C04D130394C77F041E4A7E4F7E00064E7E6CBA7EA27E90C8001ECAFCC9FC +A319101938197C197E016017FF013FB97E6D84A20118C7001ECAFC90C8FCA31A181A1C1A +3E1A7F00C0F1FF80BC12C07E7E0020C7001ECBFCC8123F16C04B5A037ECBFC5D4A48814B +EC01E04A484A7E92B7FC4A824A82DA1F70C7EA03E0DA1E384A5ADA3C184A5ADA781C4AC8 +FC4A6C143E49486C5C49486C147849486C6C13F8D90F006D485A011E6D6C485A01389138 +7007C0499138381F8048486E48C9FCD80380EC0F7E48C8EA07F800045EC9487EEE3FFE93 +387F3F80923901FE1FF0923907F807FE923A3FE001FFF0923BFF80007FFFFEDA07FEC700 +1FEBFFF0DA3FF002071480902603FF800200EBFE00D93FFCC9121F260FFFC0EE03FCD83F +F8CB123C003ECEFC4C4D7CC453>112 D<1504150F82ED1FE082ED3FC05E93C9FC157E15 +7C5D14015D4A5A5D14074A5AA24ACAFC141E5C147C14784A497E4948EB03E0494880EE07 +FC49488049C7120F011E15E0494A5A01385D494AC8FC49143E48485C484814FC48C85A00 +0E4A5A5A484A5A484A5A00605D48140F484AC9FCC8121E5D4B1318834B7F4A4813074B6D +7E4A486D7E4AC87E020E814A1578023C810238153E4A814AED0F80495A4948ED07C049C9 +13E0010E16034992380FFFF001780103B612F82601F007B612C1000FB7EA800093C812FC +6C02C0157C02F0C9FC49CAFCD803E0173CCCFC193819303E4B76C453>143 +D<16100418497E486C8301E0021C497ED800F8021FB512F8013E836D17F06E90391E0001 +E06D7E6D7E130315601301A2903800C0C0A2EC0180A214036C4A5A12E00078010618806C +037CED07C06C010E017891B512F0381F800C000F011C496D6C13C0D807C0494891C8FC90 +39E01803C000039038380780DA300FCBFCEC701ED801C001781508DA61F0151C902680E3 +C0153EC7D8C070153F0101013FB77E6F824A6C5E0103D90018C7003EC7FC6149C76C1478 +A2705C130E701301011E5F011C913801800305C05B013C0200130705E05B49ED600FD87F +F8037090C8FC715A000FEE3C1E0003EE1C3C496F5A0001EE0FF8715A0000705A1707EF0F +F84D7EEF3E7E9438FC3F800001923901F01FC0933903E00FF093390FC003FC933A3F0001 +FF8004FC9038007FE06DD901F0EC3FFE0003DA0FE091380FFFF0033FC8120303FC6F1380 +0001D907F09238007F000000D93F80160ED9303CCA12024C4C7CC353>150 +D<140C141F15C04A6C164092CA12E0023E4C7E027E83027C4C7E91B97E865B02E0CCFC13 +03495A5C49CDFC5B131E491730D978101678D9F01816FC2601E01FB77E01C083D803805F +2807003C0010C7127C000E0318147848151E00308148ED07C048013880C71403707E1478 +A2040015061A0702704AEC0F80F21FC000E093C7EB3FE0007FBBFC6C1AF0A2261000F0C9 +0078C7FCC7FC4A13C01670820101143E701470707E834A6D7EA21603A201030201ECF008 +4D141C1A3E4D147F494890C8148091BA12C05BA2D90780C900F0C7FC0101CAFC90CBFC4E +5AA3180361180794387FFF80171F050190C8FCEF007E187818304C4E7DC453>154 +D<84020C810207EC01F0DA03C0806F14FE6E6CEB03F86E6C14E0037C5C037E495A033E5D +4D48487E033C010E497E031C4980000C4CEB1FF00007BA7E6C85A26CC8001ECAFCC9FCA3 +19101938197C197E01C017FF017FB97E867F0120C7001ECAFC90C8FCA31A181A1C1A3E1A +7F00C0F1FF80007FBB12C0A27E0020C80038CAFCC9123F17C094CAFC163E043C15C0864F +7E047C4A7E000C4E7E000FBA7E7E7E0002C8D8F8C0C9FCC97FEEF060030113704C7E1503 +4C7E03077F4C7E030F8092391F0003E0033E6D7E4BEB00FC4A48147F4A48EC3FC0DA0FE0 +EC1FF0DA1F80EC07FF027FC86C13F8D901FC0300EBFFF0D90FF0043F13E0D93F80040F13 +00D801FECAEA03FED81FF01700007FCC121C00F096C7FC4C4F7CC553>I<13C013F00178 +170C013E170E6D0130151F90260F801FB71280D907C017C06E7E01030108C8EA1F006D6C +C9121E5C13005C91CAFC1270127C127F127E127C1278B3B3AE943801F03EF0FFFE943800 +1FFC00F81703725A00E0715ACC1260424C77C353>160 D<14601478DA7E01160C027F6D +150E02FCD9E007141F4A6C6C6CB61280DC780115C04A133E0101923A0080001F004A6D90 +C7121E0103814A130F94C8FC49487F160691CBFC5B010E1318011E131F011C14C0013C5C +D93F8090C9FCECE01EEB7FC01480EBEF0013CF1201138F1203130F1206120E120C121812 +30A2126012C012801200B3ADF1FFFE193FF107FC49013EED01F8011E013C150001180130 +16E04A4D7DC453>162 D<18C0030E1460033E804AB41438020F6D7F027F6D011E137001 +07B56E137C90B5C8147F001F01F804801380263FE0780307EB7C00C7715AA26218031980 +1900050EC75A94380FC00118E01880030C5E030E1400031F150300C0EC3F80007FB600C0 +5D6C1807A2261001F8C7FC000096C7FC61EB03B8F11E181A1C0107180C023C01084A7E02 +7F010C1507010F01C0EE038090260E7BF0037813C090261E78F81601011C017C03F013E0 +013CD97E0E16F00138013F913801E0000178011F17F80170D91E1E5C01F0010E0203147C +01E001044A5AD801C0EB003C4EC7FCD80380027C010E143C04FC011E1438D8070002F849 +142000060201023814004803F01378001C5F0018DA00E05B480300491304A2484D130C00 +4094C7FCC75D5F4D141C5FEE01EFEE03CFDC0F8F143CDC1E0F143E043C157F04787FDB01 +F09038C001FE922603C007B55A4B486C14F0DB1E0015C04B010091C7FCDAF03091C9FC4A +CCFC14404E4D7EC353>179 D<16E01678163E163F707E160FA270C81218486C183C1A7E +90BBFC1B801BC0D80380CBEA7F001A7CDB0380011013F000076E6C013C5B90C800F0137E +48037890387F81C048037C01FF5B48496D484848C7FC007E9139C01F03F8D8FE0201F049 +48C8FC00FC92380F0FC0007892390E1F8030D83006903AE00C3F003C0000DB007E130F93 +3A01FC0307C0010E913A03F00703E0DC07E0EB00F8011E91261FC006137C013EDA3F0014 +7E017C02FE8101FCD9E1FC010EEB1F80D801F8D9E7F0ED0FC00003DAFFC0150701F04A13 +0FD801E049C748EB03802700C003F8EC3F80D9001FB790C7FC027F93C8FC902601FC7F14 +F8D90FE0CCFCEB7F80D803FCCDFCEA1FE000FEC8120C00E0ED0F80C913E001044B1318D9 +07804A131F02E091C713C08002C094C7FC5CA3191EA9191FA349B9FCA25B0280C9121F01 +07CAFC7F90CB121E19184A4D7BC453>183 D<15201578157E15FF8203FCCBFC4A5A4A48 +14304B14784A4814F892B67E4A815C92C7EA03F0023EEC07C04A5D4DC9FC4A141E494814 +1C49485C494814304A147049C85A011E4B1302494A48EB0780017C02034A7E90BA7ED801 +DF84D8039F18C0D80F1EC7000FC7EA0780121C123812601200A55E161EA4163E011FB9FC +A3011EC7397CF0000716788604F85D04F00206C7FC0110010192C8FC90C713E0150316C0 +1507ED0F80DB1F0016C0A2153E5D5D4A5A4A481601EC0FC04A5A023EC7FC14FC49481703 +D907E018E0D91F80EF07F0017FC8B7FCD801FC19C0D807F06F1500D81F8092CAFC00FECE +FC12F012C04C4F7CC553>189 D<1A021A07F20F80F21FC000E0F13FE0007FBB12F07EA2 +0010C8001FCAFCC9121E5EA21638167816705EA24B5A6D4A15606D010316F0016091C8EA +01FC017FB97E6262903D78001E0003C000F0AC031FB5FCA392381E0003AC031FB5FCA392 +381E0003AC017FB9FCA30178CBFCA286A213F86249604918804C4D7DC453>193 +D195 D<04081406040C1407040FEC0F8070B612C0020317E000C0EB078000 +60D90FE0903980000F80007FB500F0160015E015C03978000780AD94B6FCA2007FB5FC94 +3880000FA238780007AA94C7FCA45E94B6FCA2007FB5FC94C7120FA226780007130EEDC0 +1EA31580ED001C00F80104133C91C7FC48157C481578C9FC5E15015E4B5A15074B5A4BC8 +FC153E15785DEC03E0DA0780EC7FFF021FC8121F027CED01FED901F06F5AD907C0167C01 +1FCA1230011C94C7FC434D77C353>210 D<150E150FED1FC0824B5A93CAFC157E157C15 +FC4B15184A48153C92B712FE4A821A80DA07C0C73801FE0019F84A484A5A92C8485A4A4B +5ADA3E604A5AEC3C38DA781E4AC7FCDAF80F147E4A6C6C5BD901E09038E001F849486C6C +485A9026078001130702006D485A496D6C485A011E4B5A49DA7C7FC8FC0138EC78FE49EC +39F849EC33F04848EC37E04848EC0FC048C8485A000E4BC9FC48157C00184A5AC8485AED +07C04B5A033FC81203DA017CED07804BED0FE04AB812F04A17E0021F17C0DA3FE0C8EA07 +8014FDEB03F1EB07C1EB1F01137CEA01F0EA07C0EA0F00123C12E01280C7FCA792B8FCA3 +03E0C812071AC0A31A800380160092C91204444E7CC453>214 D<1306D907C002601360 +02F0027813784A027E137E5C4A027813781BC0F201E0F203F00330EE07F8031FB8FC1BFC +6F17F892280800780078C7FC15C081EC81F00040EB83F8007FB57E7E164029100F800060 +60EB603000000370C81278047FB612FC86011F600478C81278A3133B14E014F8EB7BBED9 +739F017FB612F89038778F809038F787E09027E783F078C81278EC81F81201EBC7801578 +EA03871538D807071330DB007FB612F8120EA2000C923A780078007800185FA20030F160 +400440ED00E0006092260001E0EB01F00286EF03F800C00183B912FC1200148192C7D803 +CCC8FC0280EC07CE1886EF0F87F00380171F94381E01C0053C7F94387C00F04D137C4C48 +137EDC07E06D7E4C48EB1FE04CC7EA0FFC047E913807FF80DB01F86E13FEDB07E01400DB +3F80ED7FE090260F81FEC9EA1FC0DA0FF0EE0780010C0180EE03004F4E7EC553>220 +D<020C1518020F151E03C0EC1F80A292C8001EC8FCA21A101A381A3E1A7E003019FF001F +BB12806C1AC0A22604000FC8001EC8FCC7FCA892B612FEA392C8121EA992B612FEA39239 +001E001EA4020C151891C791C7120C1A0E1A1FF23F800060F17FC0007FBB12E07E7E0010 +C72607DE60C9FCC8EB9E3092380F1E18031F131C033E7F037C7F03F86D7E03F080DA01E0 +6D7EDA03C06D7EDA0F801478DA1F00143E023E814AED0FC002F0ED03F04948ED01FCD907 +C06FB47E49C7ED3FF0013E94381FFF800178050713F048487113C0D803C005001300D80F +80183E003EC8160C0078033E92C7FC00E01538C912304C4E7DC453>236 +D<1930024016780260167E027FB8FC864FC7FC0270C9123CA302F0136004701438701478 +4A133C82161F8283707E1301A25C1603A25F94C7FC04021503010391C8EB0780F20FC000 +C049EF1FE0007FBB12F07E1BF826300380C90078C7FC120082010780167091C712788216 +3E161E161F707E5B83010E14075FA3011E92C7FC0406151C93C8131E1A3F011C9438707F +80013FBA12C05BA2011CCA00F0C7FC130890CBFCA2180161A218036118074E5A94B5FC05 +1F90C8FCEF01FE715A187818604D4A7DC153>241 D<170C00C0161E0060EE3F80007FB8 +12C0188018000078C9121EB0007FB712FEA30078C9121EB2007FB712FEA30078C9121EB1 +007FB712FEA30078C9121EA2171FA212F8171E48161C481610324A6DC153>248 +D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: F9 gbsn10 10 38 +/F9 38 256 df<1318131EEB1FC04A161891CA123C90261E0180157E6EB712FE6F8186DB +6060C700FCC7FCDB00305C4E5A04385C04181303041C5C040C1307D91F80010E5C02E06D +130FD91EF093C8FC0008017C6D6C5A000C6D903801C01E6E6E5ADB8000137C6E6CEB70F8 +000E0107EC78F0EF3DE00203141F4B6D5A001E130191C8EA1FF0EF7FF8003EEEF8FE003C +923901F07F80007C923903E01FE000FC92390F800FFC00F8923A1F0003FF80047C6D13F8 +00F04B9039007FFFC00000DA03E0021F13F092260F800601071380923C3F0007C001FE00 +03FC9138F0007CDA03F04A131CDA0FC04A90C7FC023EC75B143891C8FCA34F7E19034F7E +03184B7E030FB77EA281922704000780C8FC92C7FCAA1A061A0FF21F80020C18C00207B9 +FC1BE06E18C00202CCFC013ECDFC133C13304C4E7CC553>5 D<021815E0021C15F86E15 +FE6E816FEB01F8DA03E05C6E6C5C17036E6C5C81037C495A95C9FC5F033C130E4D130803 +38151C033049133E92C70030133F486C0370EBFF8090BA7E6C85A20140C7003ECAFC90C8 +FCA2163CA9047C15201A701A78047815FC00E04E7E007FBBFC6C1A80A20010C8007BCAFC +C9EAF980A2EEF1C0A2ED01F083EEE06003031370A24C7E15078392380F801E834B486C7E +A2033E6D7E4B6D7E18F84B6D7E4A48147E4A486E7E4A486E7E4A48EC0FF0023EC8EA07FC +4AED01FFD901F06F13E0D907E0EE7FF8D91F8070B4FC017ECA000F13C0D801F8943807FC +00D80FC0EF01F0007ECC5A00F019204A4D7BC453>7 D<02C015C0D901F015F06EEC01FC +02FE81D903F803F813024A90266003F01307494801F049EB0F804A486C4848EB1FC09027 +0F8003FC49133F91B56C48B612E0495DA2D93E06C7D83E03C8FC496C027C7F01786D496C +7E01F015E02901E001C001C07FD803C0903AE0338000F0D80780023FC7FC0100021E8000 +0E6E6C7E4802E07F003003075CD8E0400180ED6006D8C0C0C700039138000F800000F11F +C090BB12E01BF05A01C0CBEA1FC000031A001A3E0007193C260F802003025B001F013092 +38078070003F6D4B6C5A261F001FB76C5A001E72C7FCC717C0021EC8EA0780A9021FB7FC +A3021EC8EA07C06196C8FC95C9FC194019F04E7E021FB77E8519F8021CC95AA9021FB7FC +A3021EC9FC023E8261023C16C0023093C8FC4C4E7DC553>11 D<130C130F02E001104A7E +4A0118EC03E04A011C8191C7001FB67E861AF0933A3C00E003C00501495AA20438ED8180 +F283C0047801C0EB87E0DA0180010315F06EB912F8A26F17F091298040F003C00FC7FCEC +E000000201F815800003017CEBE007143FEC1F81EC0FC10007EB07C303C7B7FC1403000F +02835D9126010180C7121E001F90CAFC121E003E95C8FC007E0202150600FC0203150F70 +4A7E00F892B712E012F00000198004C0C7000FC7FCA51704EF078018E018F018C0A21880 +AA86A2170F97C7FC0480EBF80E9339001E7F0892C7EB1FE094383C07F894387800FE4C48 +EB3F80DC07E0EB0FE0DC1F806D7E04FEC7EA01F8DB07F06E7E49D93F80153CDA03FCC97E +90261C0FC0160ED9000CCA12064D4E7DC553>14 D<14C002F8176002FE010615F0704A7E +02F891B612FEA21AF805C0C75A5CA418180330141F037815C0037C1580003002FE150000 +1FB6141E7E15FE390400F000C7FCA91506150FED1F8300C0EC3FC3007FB6FC7EA2282001 +E00003131F0000EF3FE019F819F0F03DE019C0A25C496C157902F8037B7F14DC02CE1307 +DA8780D980F35B90260783C00100EBC1C0DBE00602C0C7FC913A81F00001E3EC00F84901 +7CEB03C3157E010E6DD907831418011E150F6F140349151E6F013C1538491578030601F0 +15304990380001E049EC07C00001DB0F00157049141E48480278167848C7484816F848DA +03C0ED01FC000E020FC790B5FC48023C17F84802F06E14C048D903C091C9FC4849CCFC00 +4090CDFC4E4C7DC353>21 D<15C015F015FEA215F84B16181A3C0418157F041FB7128070 +1600705DD801C00204C8123C01F891C9FC7F13F0A25BB2160C0407B612FC82A203E090C8 +123C93C9FC1401A65DA21403A35D1407120313C0D9000FCAFCC7FC141EA25CA24A487EDA +F800B712FC5C49487F49480140C8123C494890C9FC011FCB123E133E5BD801F0183CD807 +E060D83F80182000FCCEFC12F0494B7BC353>24 D<1918010C173C6D177F0107B97E97C7 +FC61912680000FC7123CAA91B812FCA3912680000FC7123CAA91B812FCA285912680000F +C7123E130F193C91C71538010E173090C8ED000C1A0E1A1FF23F8000E0F17FC0007FBB12 +E07EA20010C72607CF18C9FCC880ED0F8F92381F0F06031E1307033C6D7E037C6D7E15F8 +DA01F06D7EDA03E0147003C080DA0780143CDA0F00141F021E6F7E027C6F7E4A6F7ED901 +E0ED01F849486F7E4948163F011FC7ED1FC0013CEF0FF84971B4FCD801E0050113F84848 +83000FC8EE3F80001EF11F000078190600E096C7FCC9121E161C4D4B7CC253>42 +D<180319C0D801C017F86C7E017017E06D5F133C7F7F806D7EA26D7EA25C130191C91403 +90CAEC07801A0F4A6CEE1FC06EB912E0A2810340C7D803C0C7FC92C8FCA501065B010714 +C03AC00F8000E0B500E013706C6D13784A7F262007807F0000151FEE0F80A217C01607A3 +160317801700160293C7FCADEF7FFF83010F03035BD91EC0020090C8FCD93C60157ED9F8 +30157C48486C15602607E00E92C9FC391FC00780393F8003F090C7B4EE01F8001E023FB8 +12E0001C020F1780000C14030008DA003F16004D4B7DC353>44 D<1608161E161F4C7EEE +7FE04CCAFCEEFD80923801F9C0923803F0E0923807E0704B487E92381F803C4C7E033E7F +4B6D7E4BEB03E04A486D7E913A03C0E000FC9126078078133E91261F003E6D7E023E6DEB +0FE04A90390F8003F802F06D6C6CB4FC49489139E0007FF0D907C0010391381FFFF049C7 +030713E0011E02010201138001789438007F00496E48141ED803C01804000FCA000690C7 +FC001C170FD878034C7ED8E001B87EC783A20280C8003FC8FC91C9123E60187818F84D5A +6017034D5AA24D5A171F0220ED00600230020313F0023891380001FC023FB77E6161023C +C95AAF023FB7FCA3023CC97EA302385E02305E022016804C4E7DC453>57 +D<196019F00018EF03F8001FB97E6C84850004CA000F1380CB481300F07F8006FCC7FCEF +03F0EF07C0051FC8FC177C17F0EE03C0DB018FC9FC16FCA25E5ED830044A1418D83E07EE +201F263F8380037013C0D901E003F81380003E01F0DA01FC1300263C00F8913803F01E02 +7CEC07C0027EEC0F80023EEC1F00023F143C021F5C5FEEE1C0020FEBE380020E01EEC7FC +020C13FCEC00074BB4FC92383DE7809238F9E3E0913901E1E1F8913907C1E0FCDA1F8113 +7FDA7E01EB3F80D901FCEC1FC0D907F8EC0FE0D91FE0EC07F0D97FC0EC03F8D9FF001401 +013EED00FC010C167C130490C7153C18381818DA0F83140015FF02015BEC003F6F5AA26F +C8FC150E150892C9FCA2007FB912FEA2BAFC00FCCB121E12380018183ECC123C1930424B +77C253>60 D<1840496C157002F015FC02FC15FF5C4A4A5A9126E0018013F3922603C003 +7F04E013E100C0913A07F007C1C0007FB600F8EBC0E094380F80786C4C487E262001E0C7 +001E133E00004C6D7E057C6D7E0578EB07F04DEB03FC4C486DB4FC000491262003C06D13 +F00006027849EC3FFC0007DA7C07C8EA1FE090B5D8FE0EED0F806F48ED0300DBFC3892C7 +FC9029800078700380131C9326C007C0133E037902E6133F9227787FFFE3B5FC72148070 +01E11400933A2003C1801E0400EBC00090B512F818C10430148090278000783814C00418 +13C0041C14E0040E14F0040F14F81978178390B5D8F807147C17C305831378902681E078 +1570037C01031300ED78001570D8040190C7153E00000203167EDB0780EC01FE030FED03 +DE00C091261FC00FEB0F9E007FB6D8E01FEB1F1E057B137E6CDBE1F313FC3D2001E00003 +E3C3F8000092390F83C7F093393F03DFE004FE14C0DB03FCEBC780DB0FF013C1DB1FE0EB +C000ED07C0ED018015001600A4DC0FFFEB7FFEA20103020090388007FC4A023F13014A6E +C75A90C9001C14E04E4E7DC553>63 D<80EB01E014FC8014F01A304A177804C015FC047F +B67E010380864A0110C7EA03F093C813C04F5A03044BC7FC030E150E00E09026801F805C +007FB66C5C6C183093C85A271007801E5D0000170102005E49011C021FC8FC8585033C92 +C8FC011E161E1538A315785BA203705EF203804901F0EE07C003F3EE0FE003E1B812F0A2 +9038F001E0932680001EC8FC4BC7FC0001130313E0A25D00031307A26C6C48C8FCEA007E +EB1FCFEB07FE13011300143F4A7E81ECF7E0ECF3F0903801E1F8ECC0FC0103137EEB0780 +49487E011E7F131C497F5B48481306484890390001F03E4848EDFFFE000EC9EA3FFC4816 +0300785F0060705ACA5B715A604C4F7DC553>80 D<024015020260ED078002704B7E027F +B77E8519C00278C8EA0780AD027FB7FCA30278C8120785610606C7FC027092C7122091CB +12701AF8F101FC00C0F003FE007FBBFCA27E27200001C0CAFCC712035DA2140792CBFCA2 +4A16C0021EED01F0023E4B7E91B87E806E5E023CC8EA01F002184B5A91C9FCA261A51807 +A261A2180FA296C7FC60A2181E183E60160893381FFFF816039338003FF0EF0FE0715A60 +0506C8FC484C7BC353>82 D<49150202E0140302F8EC01C06E8102F06E7E844A157CA306 +3CEB0180F203C00638EB07E04B6CED0FF06FB8FCA2ED307F9226786004C9FC9238FC0007 +00C0D9E1FEEB0FC0007FB515F06C6E14C04B495A263003E0C790C9FC0000041E13180107 +4B133C193F4D800570497E010E03F0017CC7FC4C485B5F011E0203495A011CDA07805BD9 +1DF8010F1303D93DFED91F005B902739EF803FB5FC9126E7E07F5C903979E3F83F902671 +E1FC9039FC1F004002E090261F003E136001E1D97E181570033EC74813FCD801C1011E4A +7F031C4B7E01810108903901F003F0000391C7D803E05B01014B48485A00074C48485A00 +06EE1F00000E043E49C7FC000C4C133E001C4C133C00184B48137C0030DB03C05B93390F +8001F000604B48485A047C495A00404B130F0000DA03E0497EDB0780EB3F38031FC7EA7E +1E033C4A7E0330903901F807C092C748486C7E4D486C7E94391F8000FC4DC7127E05FE80 +DC01F81580DC07E0141FDC1F80EC0FC0047FC81207ED01FCDB07F01503DB1F8016800103 +017EC9EA0100DAC0F893C7FCEC80404C4E7DC553>88 D<163816FC1507ED3FFE4AB5FC02 +0F80DAFFFCCBFC010F13C0EBFFFB000F01031706D81F800306140FC76FEC1FC095B612E0 +1BC01B809539C0000F00A41603EE0783EE0FC300C0ED1FE3007FB7FC17F36C16E33B2000 +0FC00003C7FC141F141D143D143BA2EC7BF0EC73FCECF3DF9138E3C7C00101EBC3E09138 +C3C1F80103EBC0FC0283137E0107143FEB0F03010EEC1F83011E140F011CEC0703133816 +020170140013E0A2EA01C0EA038013001206000E94B6FC120C5A489438C0000F1220C7FC +A31B80A31B000507140C4E130895C9FC170694CAFCA24A5A92CCFC4B4B7DC253>90 +D<1418141C141F4A7EA2023ECAEA01804AEF03C0F207E0DA78C017F0DAF87FB812F84A7E +D901E018F00330C83803C0004948C9FCA25C130791CAFC5B130EEB1F8014F090383BF804 +DAF00614C0902673E007EB01E0D963C090B512F001E316F801C316F0D8018391388001E0 +120313031206120E120C121812301270126012C01200A793B5FCA3EE8001A5180094C7FC +A20306C8FC92C9FCAB1907F03FFFA2180706005B0107173F4A94C7FC0106CA121C90CB12 +104D4E7DC453>I<160EEE0F80EE1FE083EE3F80EE7EC0167CEEF860A24B487E923803E0 +38EEC0180307131C4B487EEE000F031E7F4B6D7E037C8003786D7E4B6D7E4A4814784A48 +804A48143E4AC87EF00FC0021E6F7E4A6F7E4AED01FC4AED007E4948707ED90380923810 +1FE049C938380FF8010E93383C07FF49DC7E0113F0D97818EDFF00D9F01FB738807E0026 +01C00FEEC01C48486C170826070004CCFC001C90CDFC5A5A12C0CFFCA302104B7E02184B +7E021CED07F0021FB77EA219E0021EC8EA03C0B0021FB7FCA3021EC8120385A361021C4B +5A02100302C8FC4C4E7CC453>I<140214074A7E91261FC060140391263FE0704A7E027F +6DEC0FE091267E003FB67E02F85F49485F4948013CC7EA0780495A495A49C7FC133C13F8 +485AEA03C0485A001FC8FC003C130648EB0F8000E0DAC03FB6FC0080EB1FE0C713F09126 +3F003CC71207143E147E147C5C5C495A13035C495A14E0D90FF8013FB6FC497ED91DF083 +D939E090393C030007137901F16001E11808D801C192390180041CD80381EF003CD80701 +70137E000E19FF001C0400491380725A0038953807F00000709438600FC000E09438701F +8000C0063EC7FC0000EF38F8F039F0F01FC096C8FC180E180F727EA2727E85727EF020F8 +F0E07C943803C07F94390F003F80057EEB1FE0DC3DFC6D7EDC3FF0EB07FC4D903803FF80 +DC7F80010013F094C8EA7FF804FEED1F8001034AED0F004A0178150291C7007092C7FC4D +4D7CC453>105 D<14E06E161002FC16386E01C0143CD901F890B612FE4A6D804A7F0420 +C71278010391C8FC5CA2495AA291CAFC4948EEF80403E0EDF00E010E01F8161F011E6DEE +3F80011CD9F380ED7FC0013C01F1B812E0013F13E014C1D97F810140CAFC0201EB01C001 +FE8117F801DE81000104F0497E019E4A488000034C497E011E4D7E00064B48497E000E93 +B67E120C00185D93260E00F8C8FC0030151E0070151C0060033C5B00C0153800805D1200 +4C15044C150EDBE180151FDC0001EC3F8003E7EE7FC003E3B812E015E1A29227E08001EC +C8FC1600EF03EE18E618C6EF07C718C3F08380170FF081C0020391381F01E04B131E92C7 +383E00F091C8487F4D137C4C487F4C48133F4C486D7E4C48EB0FE0043FC713F8047CEC07 +FEDB01F0913803FF80DB07C0020013F0013E011FC9127F03FCEE3F8090263C07E0EE0F00 +D9381FCA12064C4D7CC453>127 DI<02C0170C02F8 +170F02FE18E0147F027818801B00EC7030151C150FED07C06F7E826F6C13080300140F19 +E0047814C0198019001631EE2380EE03C0EE07E0EE0FF0EE7FF80273B512FC011FB612C0 +B648C7FC6C01F8C8FC383FC070EA1000C7FC1478A416080238131E161FEE3F8017C0023C +EB7C00167816F8021C5B15014B5A021E5B1507020E5BDA0F0FC7FC5DEC073E15BC15FC6E +485C5D4B141C0207EC03184A6C91C7FC141FDA3F781302DA7C7C1306ECF83C49487E9038 +07E01F90390F800F80903A3F0007C00E017CEB03F0D801F0D901F8EC701FD807C0902600 +FE1E90B5FC4848DA3FFEEB3FFE003EC86C6C1303007803076E5A00400301EB8000CA007F +5C0507C7127094C812404B4D7DC453>153 D<1402DA0380131003E0131E4A6CEB1FC060 +03C091C9FC4A48131EA292C7FC5C141EA25CA24A5E1AC002704C7E02F0834AEE07FC0101 +4D5A4A17C0496C4C5A02F84CC7FC496C163E02F05E494816FC61011D4C5A4E5A01394C5A +01314C5A017194C8FC0161161E01C15E00015F01815ED80301ED1FE06000065F000C94C9 +FC0018163E177E003016FE0060150100E0ED03DE00C0ED0F1E0000151E163C16F0ED01E0 +ED0780ED0E00153815F0ECE1C002E0C7FC1B30A31B70A51BF0A21BF81A01051F140372EB +07F071B612E07115C001031900050114F894CAFC5C91CDFC4D4D7DC453>I<1A201AE001 +C0EF07F001F0EF3FF80178EE01FF6D041F7F011F4BB512BE6D6C023F90C8FC6E90380FFF +F80107903903FFFC789139E007FC00010390C8FCA26D5AA290CAFCA61A021A07F20F8001 +0CF01FC0010E0160EE3FE0D8C01F013FB812F0387FFF80ECE01F6C0210C70078C8FC2620 +0F80C8FC000090C9FCAA0410153004181578041C15FE041FB7FC6262041EC81278A41508 +15381570EC01E0EC03C0EC0780EC0F00141E147C5C5C5C495A133F4948011FB612F86DC7 +FC131E010E021EC81278130C90C8167CA31A78041C1570041815404C4C7DC353>I<1A02 +4A6C16074A6C17804A6CEE0FC000C0010F01C0ED1FE0007FB5D8F07FB712F07016F87ED8 +200FC70010C700F8C7FC000092C85A1801A2611803A261180761180FA296C8FC60181E18 +3EA20203ED7F806F814A6C4AC8FC0040496CECFE10007FB56C0101131C6C84943803DE07 +D8100FC800076D7E000094389E01C0050F8095381E00F8051E147C053E80173C05788005 +F0EC0F80F207C0DC01E015E0DC03C01403DC078015F00500EC01F85E041E1500DB1C3C16 +FCDBF8381678913807E07091383F80E09126FE01C01630DAF803172090277FE007801600 +2607FF0090C7FCD8FFFC130ED87FF05BD83F805B001EC75A001C5C00085CCBFCA9183EA2 +183C18384E4B7DC253>162 D<1A0801C0181C0160183E0178183FD93C03EF7F806D6CB9 +12C0011F19E0EB0F80DAC080C700F8C8FC010790C8FC6E5D01031501606D5A4A140390C9 +5B170760170F95C9FC5F18E0EF3FF86094387BE0609438FBC03805F37FDC01E37F0106DA +03C37F0107EF03C026C00F80D907836D7EB500E0D90F03806C6D010E6E7E4A011E157C26 +200780013C8100000378153F04F081DB01E0168004C0ED0FC0ED0380DB0700ED07E0150E +4B16035D4BEE01C04B1780DA81C093C7FC5D0280C7FCAD130FD91EC01407EB3C60D9F830 +92C9FC48486C14062607E00E91CAFC391FC00780393F8003F090C7B4EE01F8001E023FB8 +12E0001C020F1780000C14030008DA003F16004D4A7DC253>164 +D<130C010F15F002E014FC17FF02805C91C7EA01F8A24D13604C4813F04E7E94B57E5E85 +93390F8003E06102064948485A020F93C8FC91261F803E130E00C0ECC03C007FB5D8E07C +130C6C03785B4B5A27300F00015C00004B5C03039138200380DB077090386007C0DB0F7F +B612F0030E82031C16E0923B387800F003C0157015E015801500A2153015F0EC03C0EC1F +00147E14F814E0EB7F80D803FFC7FC001F1601B504E0EBC180D87F8FF0C3C0D83F0FF0C7 +E0001C0104EFCFF0000C0107B9FC00007FA26EC7D807B8C8FC91C81398EF0F18181CEF1E +0C180E173EEF3C0705787FEFF80305F07F4C486C7E0403804C486C7E4C48137E4CC77E04 +3E15C04C6E7ED87C1F4948EC0FF8D87FFFD903E06EB4FCD807FED90FC06E13E000014A48 +020013FC6C48017EC9EA7FC0DA01F8EE3F009026F807E0160E0170018016040140CDFC4E +4F7DC553>166 D<6C180C6C181E0060F03F80007FBA12C01A801A000078CB121EAA0220 +14080230141E0238143F023FB6128018C01800023CC7121EB3023FB512FEA3023CC7121E +A5171894C7FC142091CAFCA7007FB912FEA30078CB121EA6191F12F8A248181E48181C00 +401810424A76C053>195 D<1630163C167F8316FE030190CAFC16F3923803E18003077F +ED0FC04C7E92381F0070033E7F4B7F0378131E03F8130E4A487F4A486D7E4A48EB01E04A +486D7E4AC81278023E814A151F4A6F7ED901E06F7E494891380303F04948ED81FC49C838 +07C07F011E92390FE03FC0D9380C91391FF01FF0D9F007B638F807FFD801E07113F02603 +8003040013C0000FCCEA7F00001C191E48190C00E096C7FC5ACFFC1904190F864F7E0003 +4E7E90BAFC6C857E0180C700E0CAFC90C87EED01FC824B7E16F04B5A5E4B5A4BCBFC1703 +033EEB01C04B6D7E037814704B143C4A48804A48141F727E4A486E7E4AC86C7E021EED7F +F04A011FB57EDAF01FB512E10103B638F000FC4902FCC7FC93C8127C6D13E04AC9127802 +E0163890CB12304C4D7CC453>204 D220 DI<02021520DA03C0143C03F0143F6F8103E0023EC8FC4B143C1A301A781AFC0018 +4E7E000FBAFC866C6127040003C0C7003CC8FCC7FCA792B612FCA303C0C7123CA792B612 +FCA303C0C7123CA31A03F20780F20FC00060F11FE0007FBBFC6C1AF06C1AE00010C700F0 +C70060C8FCC70001010E7F913A03E00F8038DA07C0EBE01CDA0F80497EDA1F00497E023E +020013C04A6F7E4AED01F84948ED0C7ED907C092381E3F80494892383F1FF0D93E309238 +7F8FFED97C1FB73883FFF8D801F0832607C00F9338807FC0280F0008000FC8EA1F80003E +90C7EE070000F096C7FC1240C9FCA31A301A781A7C000619FE6CBBFCA27E90CEFC4D4B7D +C453>228 DI<1302EB +03C014F84A4C7E4AEE03E0DAC0184B7E030FB77EA26F16E0923B0401E00003C003004B5A +A24FC7FCA3191E1518033C5D157E00C014FEB75D7E61392007C0000000F0E008010F0401 +131E0603133EF1C07F060FB51280011D03F015C004036D1400953803803E62013D9238F8 +0100D93BF802D8C7127814FE90267BCF8001DC14F8902673C7E05E9026F3C3F0138C903A +E3C1F8078EDAC0FC1501D801C3017C5E1787D80383013C4B5A9239180F07800103010013 +0300074E5A000617C0000EDB1E0149C7FC000C17E0001C04005B0018031CEBF01E003803 +3CEB783E0030183C006003386D5A0478133E00C0EF1EF04C130F00806000004A486D5A4E +7E4B48497EF03FFC4B48EB7CFEF0F87F923B0F0001F03FC0031E49486C7E94390FC00FF8 +4B90391F0007FE4B017E903801FF804B01F86D13E09127C1E003F0EC7FF8DC0FC0EC3FFC +9126C3807EC8EA0FC0902707C701F8ED07809126CE0380ED010091CDFC13064E4E7DC453 +>244 D<010C5C010F6F497E02C06E497E011F92B67E4A8391C75E011E9239E00003C0A2 +153049137815FC00801301B612FE7EA2D82078C7FC12005B94B6FCA25B00019338E00003 +A202C0EFC180D9C0F80280EC03C0000301FE90C9EA07E0DAFC0617F04A6CB812F8EB80F0 +00076E17F0933B01E00003C00001001300481418153C48147E001E14FE003FB6FC5A001F +93B6FC390C00F000C7FC9438E00003A8ED0F81ED7E01DAF7F090B6FCECFFC0903807FE00 +D97FF89138E00003380FFFF0EAFFFED87FF018C3D83FC019C0D81E00F0C7E0000CF1CFF0 +00081AF8C718FF060FB5FC94B6EAF000034FB6EAC3C0037FEC0003DB3FFCC7FC031CC8FC +92C9FCA513015C02804C5A90CB0006C7FC4D4E7DC453>246 D<020C130C020E130F021F +EB07C06F6C7E4A6C6C7E03005D027E01004A7E027C4C7E4A02708049480260497E91B97E +4984A2902807E00003C0C9FC130F1908011F171C013D173E0179177F01718401E1B97EEA +01C1EA0381290701E00003C0C9FC1206000C18180018181C0030183E0060187F00C04E7E +000090B9FC86A29127E00003C0C9FCA34F7E4F7E864F7E4F7E91B9FC86A202E0CCFC160E +4948D90F8014084A02E0141C90C849141E4D143F00C093C8EA7F80007FBB12C01BE07E00 +20C72603CF18C9FCC838078F0C030F130E92381F0F07033E6D7E037C8003F86D7EDA01E0 +6D7EDA03C01478DA0F80143EDA1F0080023CED0FC04AED07F04948ED01FCD903C06FB47E +010FC7ED3FF8013E94381FFFE001F8050713C0D803E0943803FE00D80F80EF00FC003EC8 +48153C00F8031E150800E0031C92C7FC4B4D7CC453>248 D<85854E7E01304C7E013FB8 +7E6D8319F0902608000FC7EA03E090C75EA34E5AA34EC8FCA4181E150E150F60A2701570 +031F4A13781AFCDB1EC090B57E05038092381CE001933A6000F001F806705B0470903820 +03E0DB3C30130004385DDB38181407041C5D190FDB780C92C7FC040E5CDB7006141E0407 +143EDBF003143C71137C4B6C6C1378610201903800E0014B5D94387003C00203EC78074B +013C5B0207DA1C0FC8FC92C7EA1E1F4AEC0F3EEF07BC021E15F8021C6E5A143C02384A7E +4AEC0FFE02F0EC1F3F494891383E1F804A9138FC0FE0494849486C7E49C73903E003FC49 +91390FC000FF011E023FC7EA7FC00138027CEC3FF0494948EC0FFC4848D907E0913807FF +804848D93F80020113F0484801FCC913FC271E0007F0EE3FF848D93F80EE0FC0267001FC +CAEA038026E007E01701D80006CDFC4E4C7EC353>I<000C1406000E020F011014C06C91 +261FC01814E090B66C6CEB01F0DCC00FB512F8048015FC903980000F0095380001F01AE0 +A990B6FCA3903880000FAC90B6FCA3903880000F1680A31600150E15180230C7FC141C80 +80EC03C0816E7E6E7E157C81153F0480EB0FFF15EF912603CFC09038007FC0DA0F07153F +023C01E0EC0F8002F01700902687E0031504D99F8093C7FC260FFE0013C0D81FF81301B4 +48148001C090C7FCEA3F80001EC9FC1208CAFCA45FA2171E171C464C7BC353>253 +D<61010E4D7ED91F8083DAC0704B7EDA803FB77E4A6C82013E18E0923B0803C00007C001 +3C01005E017C95C7FC01785F14029026F00380151EEC07E001E001F05D12019038C00FC0 +03805D3903801F00613807003E143C000E943801E008D901F8171C261C3FF0923803C03E +D83DFEDBE007137F267FF0E04BB51280D8FF814C14C0267E01C001076D14002638038091 +39B007807C0000EF030049C791C71278A2010E03B814F84960171849EC0F1C0130170149 +6001E081D9C006010E4A5A2601807EEB1E0F260303F88026071FC06F485AD80E7FC71303 +D81FFC023CEBC00FD83FF095C7FC01C0ED01E06CC80078141E000EEE00F0C95D4CEB787C +F07C784B48EB3CF8DA01C16E5ADA0781EC1FE091263F03C0130FD901FC6F5A90270FF007 +80497E90267FC00FC7487E2603FF004B7ED81FFC011EEC7CFED87FF0013EECF87FD81FC0 +013C49486C7E6CC748903907E01FE000064A90390F800FF84A4849486C7EC70003027EEB +01FF912707C001F86D13C091270F8007E0EC7FF891271F001F80EC3FFC023C017EC8EA0F +C091267803F0ED078002F00180ED01000240CCFC4E4B7DC253>255 +D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Ga gbsn19 10 37 +/Ga 37 244 df<1A061A0FF21F8000181AC0000FBB12E07E1BC00006C72703C003C0C8FC +C8FCA501025F0103EF03C002804C7E91B97E861AE0913CC003C003C003C0AC91B9FCA391 +26C0003CC71203163F4C5D91C7007C0202C7FC90C84891C8FC5E15014C16604B4816F0F2 +01F800C04A48ED03FC007FBBFC6C1AFE1BFC0030C7001EC7001FC8FCC848141E183E4B14 +3C4B147C020115784A4814F84B495A02075D020F140303FC495A9126007FE05B922603FE +0FC9FC9238007FDFEE07FE933800FF804C13F0933803F7FE93390FE1FFC093393F803FF0 +9339FF000FFEDB03FC903803FF80DB1FF001007FDBFFC0EC3FE0DA07FEC86C7EDA7FF015 +07902607FF806F7E2601FFF8C912014890CB127001C018304F4E7EC453>7 +D<160C160F17E05F5F94CAFCA6130714E0804A16064AEE07804A4C7E1AF0193F953801FF +C095380FF780F07F87942603FC07C7FCEF1FE0EFFF0017F8EE3FC04BB4C7FC150FED7FCF +913883FE0FEC8FF0ECFF80ECFC00D93FE05EEBFF801207EA7FC7EAFE07127812201200A2 +190EA2191EA2193E4D137E4DB45AEF007FF00FF8F003F0725A198095C9FC1A03A35EA216 +1C04105D93C9FCA3F20F80A21BC0F21FE06E177F91BA12C06D19806DF0FE00D9003F17F0 +4B4B7CC353>15 D<1A0C1A0E1A1FF23F8000C0F17FC0007FBBFC1BE07E0020CEFC4B097C +A653>24 D<1408021E1430021F143803C0131E834AC77F023E6E7E143C717E5CF2018002 +F80201EC03C04A4BEB07E002F3EF0FF0D901E1B9FC14E05C01039027C00007C0C8FC4AC7 +13F001074B7E02F015C0496C4A5A5C4A4A7E4948143E177C013B16400133DBF860130801 +7303F0141C01630201151E01E303E0143FD801C34A486CEB7F800183EC07800003F1FE00 +0103913A0F001801F80006031E4A5A000E4B4A5A000C033890381C0F800018037E010C90 +C7FC003803FF141E00304AEC0E3C0060DA03DEEB06F000C0DA079EEB07E00000DA0E1E5C +031C6E5A153803706E7E15E0DAC18081DAC300140002CE8202C8167002C0167885A28585 +86737E180195380703E095381E01F0067C7F9538F000FCDD03E0137EDD0F807F4DC71380 +057EEC1FE04DEC0FF0DC1FF8EC07FC05E0EC03FE4C4815E04DEC018004FFC9FC0107027E +1600163C5C91C712184F4E7EC553>29 D<182018701878030E147C033E14FE4AB45C020F +90388001F0027F01C05B0107B5130390B5C7491304001F01F84A48130E263FE0784AB6FC +C719804D15C0051EC7EA3FE04DEC7E004D147C057E5C05E71301932601C7805B933A0383 +C003E0943901E007C0DB0C066D485A923A0E0C00F81FDB1F184AC7FC00C0DA3F90EB787E +007FB600C05C6CEF71F8F023F0261001F8C8EA07E000004D5A4EC8FCD903B8157E18F894 +3803F080010792380FC1E0023C91383F01F0027E9138FC03FC903C0F7F8003F007FE9028 +0E7BE01FC013E0903C1E79F03E000FC090271C78FC38495A013C017EC748C7124001386D +023E14E001786D6C49EB01F0017093B612F801F0010F4915FC01E001075BD801C0923A07 +C00003F06F484848EB07E0D8038090C7001F15C04D6CEB0F80D80700DB7CE0131F0006DC +F870140048922601E078133E001CDB03C0147E00184B486C5B48923A1E003E01F84C4A5A +48157000404A4890381C07E0C7D903809038180FC0030EC8485A92C948C7FC19FE4E5A4E +5A4E5AF01FE0F03F8006FFC8FCEF03FCEF0FF0EF3FC04CB4C9FCEE0FF84AEBFFC09126E0 +1FFECAFC024013E0DA0018CBFC4E507EC553>35 D<1810183C00E0177E007FB9FC6C844E +C7FC0010CA123CCBFCAB1218121F13C05B90CAFC121EA3001FB812FCA3001ECA123CA518 +38182095C8FCAC611A801A0061A461A3611A801AC0001F181F6DEF7F806CBA120019FC6C +60000118C0424374BF53>46 D<18380020173F003C84D83F8094C7FC90CA123E003E0108 +153C003C130C1407816E7E6E7E6E7E81157CA281153F8182A2150F93C7FCA3150E92C8FC +A51838A21878A51870A218F08203035C92381F0001157CEC01F0DA07C0495A4A5A023EC7 +485A02FC15E0D903F0EC0F70D90FE0EC1E38D91F80EC3E1E017FC8EA3C1FD83DFC4B6C7E +D83FF84B6C7E49913903E003E048484A486C7E01804A486C7E48C8003FC77E48037C147E +484A48800078EC03E00020DA0F80EC1F80C8003EC8FCDA01F8150FEC07E0023FC9120714 +FCD907E0EE0300013FCAFC01F094C7FC414773C053>49 D<033814E0033E14F8033F8003 +3E5C033C5C1A0C1A0E1A1FF23F8000C0F17FC0007FBB12E07EA20030C7003CC700F0C8FC +C8FCA718C0033891C9FC152092CCFC18301878010C16FC0107B77E846D830102C8000190 +C8FC90C9EA03F8EF07E0EF1FC04DC9FC177E17F8EE03F0EE07C04C5A043FCAFC167C5E4B +5AED07C04B5A4BCBFC153E15F84A5A4A5A4A5A4A5A4ACCFC143E5C4A170349485F495A5C +13074948170649CB120EA2131E013E181FA2131E011FF03F806E177FD90FF0933803FF00 +91B95A6D60010018E0DA001F02FCC8FC4B4C7DC453>I<02405D0260ED03C002704B7E02 +7FB77E8519E00278C8EA03C0AA027FB7FCA30278C81203A8027FB7FCA30278C8120303C0 +81DA79E05DDA61F892C7FCDA03FC91C8FC81EC07E04B16304A4816781AFC4AB812FE4A17 +FFA2913C7C007C003C007E4A0178491378494813F84948495BECC001D907804948481370 +90270F0003C015F0011E4B5A49EB078049010F495A491400D801C0011E49C712E0D80780 +49150148C7007C131E001C4A5B0078495A00E049485BC748484914C091260F8001140391 +391E0003E0027C5C4A495AD903E0011FC71207D90F80013E1580013FC75A01FC5CD803F0 +4948140FD80F80EB07C0000EC7D81F80EC1F00C8263E0003B5FC03F86D5BDA07E0903800 +0FFCDA3F80EC03F802FEC86C5A02F016C0028093C7FC484F7CC553>52 +D<16E01678163E8283160F04071406190F4F7E01C092C7487E017FB9FC6D846290261003 +80C700C0C8FC90260001E014F06E6CEB01FC03FC80037C14F8037EEB03E0033E5C1A0603 +1C4948130F95C7EA1F806C0218010E15C0BC12E07E1BC00020CEFCCC7E6EED01E002E04B +7E91B87E8519F002F0C8EA01E0A691B8FCA302F0C81201A691B8FCA302F0C8120116704A +013C5C91C76C91C8FC02076DEB0018010401E001C0130EDBF00780010C496C6CEB03C003 +C002037F03806F7E011C02016E7E4E137C0138DBC006137E040081017803008001F8040F +1480D801F0180F00035FD807E005801300000F6E023F7FD81FC06DEC7F00496CB600FE90 +C7FC6C486C5DC716F06E6C14804B4D7DC553>63 D<1518150E81826F7E6F6C1304701307 +6F6C14C049027CEB0FF0807014C06D6C013F5C82058090C8FC0260010F5BA26E151E1607 +0238153E02181400183C021C90C7127C140C020E15781406020715F86E5D6F130114016F +5C17036E7E6F5C037013076F5C170F814DC9FC81030F131E6F133E923803803CEEC07C6F +6C5A1500EEF1F0EE79E0163F5F705AA24C7E4C7EEEFDF0923801F8F8923803F07E4B487E +92390F801F8092391F000FE0033EEB03F003F8EB01FC4A486D7EDA03C0EC3F80DA0F80EC +1FE0023EC8EA07FC02786FB4FC4948030013E0D907C0EE3FFC011FCA381FFFC0017C0507 +13F0D801E0050113E0D807809438007F80003ECCEA1F0000F8190600C096C7FC4C4B7CC2 +53>66 D<1A401AE001C001704B7E01F0013FB77E01786D82133E6DD9080CC7EA03F06D6C +C66C4A5A6E4C5A01076E5D4FC7FC01036E6C5B71137E706C137C6D485EEF700190C96C48 +5A71485A94381E0FC094380F9F8071B4C8FC715A715A01064BB4FC0107030F13C026E00F +8091383FCFFC267FFFC09139FF07FFC06C01F0902603FC01EBFFF093270FF0003F13F826 +1007C0D97FC0010713C0000090268003FEC8138092277FF00180EB1F00912687FF8001F0 +90C7FCDBF00013FC0280C75B604E13C04F7E86030C4B7E0307B77EA2819227020001E0C8 +FC92C7FCA6031816044B160E03E0161FDA81F0EE3F80DA839FB812C01487EC8F0F91289E +080001E0C8FC02BCC7FC14F8A25C495A495A133F6D5A130F6DC8FC130290C9FCA4170360 +95C9FC4D4C7DC353>72 D<0110172001181778011C17FC011FB87E8519FC011ECA1278AA +011FB812F81A041A0C011ECA127C19781970F1001C1A18A21A38A21A3C1A7C1A7E4FB4FC +011FB95A1AF8010718C090CEFCA4DA01E0144003F814786F147E03F0147F187C1878A25D +1B80F201C0F203E000C0F107F0007FBB12F87EA227100003E0C70078C8FCC7FCA25DA214 +07A25D140FA24AC8FC141E143E5C5C495A495AEB0780011FC9FC137C01F016F8D807C05E +001FCA5A001C94C9FC4D4D7DC353>I<00C018086C181E0070183F007FBA12801AC01A00 +0078CB121E151C151F16C06F7E5E5E93C8FCA7186018F018F8D87980ED01FC0078B812FE +7F18FC902660000FC8FC90C7FCA2151EA5ED1F80ED3DC0ED3CF016784B7E161F707E4B6C +7EEE03F002016D7E4B6C7E4A48137E834A48EB1F804AC7EA0FC0141E021CEC07E04AEC03 +F05C49481401495A010FC9FC131E01781660D879E01640018016000078CBFCA4007FB912 +FEA30078CB121EA312F8A248181C4818104895C7FC424C77C253>79 +D<1918191EF11FC01A80042015000478141E00C015FC007FB67E826C15FC0020C81278C9 +FCAA7F7F7F90B612F8A301F0C71278485A1670164093C8FC5B1203A35B1207A2161890C8 +123C48153E90B7FC003F8283001EC8001FC7FC000E151EC95AA45EA55EA54B5AA54B5AA3 +15075E150F4BC8FC0103B5FC9038007FFEDA07FC153E6E5A6E48153803C092C7FC424F7B +C553>90 D<4A6C14C003E014F003F814FCA203E014F0A21A061A0FF21F8000C01AC0007F +BB12E07E1BC027100001E0C700F0C8FCC7FCA3160EEE0F8017E017C0178003C0495A0300 +148091C791C9FCA2010617106D17386E167C91B9FC8697C7FC9126C0000FC7123CA5160E +A5161EA31A03F20780041CED0FC000C0033C151F007FBB12E0A27E0020C8D87860C9FCC9 +13701730EEF03883ED01E003037F4C7E4B486C7EDB0F007F4B6D7E033E6D7E4B147C03F0 +80DA03E06E7E4A48EC0FE0021FC8EA07FC023E923801FFC002F86F13FFD903E07013F8D9 +0F80041F13F0013ECA0007138001F805011300D807C0EF003E48CC120E000896C7FC4D4E +7CC453>93 D<16061607EE03C0707E83707EA283057C1402057814076DF00F806D037015 +C001F00360EC1FE0017FBAFC1BF01BE00178CDFCA9166004701403043015C07081041C81 +704A7E040F15E0705D83706C5C190F02206D6C91C7FC0230806E1300021C6E130E6E161E +020F147C6E161C6E6C017E133C01F06D133E6E6C1538173F6E6C6D13786F15701578037C +5D171E8194381C01C06F130048485F180382030F92C8FC604991C712060003170E030E14 +0C49130C92C8121C0007171890CA003813180630131C000E193E4E137FD81C30F0FF8001 +1FBA12C0487E1270D8600CCDFC00E0CEFC5A4C4D7CC453>97 D<0120186001381870013C +18F8011FB912FC1AFEA2011EC7D80780C712F81AF0B0011FB9FCA3011EC7D80780C7FCAD +133EA3133CA2013FB9FCA3013CC7D80780C7FCA313381378A5137013F0A35B12015BA212 +035B48C8FCA2120E001EEF0FFF001C1701489438003FE048030FEC0FC00060030EC71207 +00E0030C15004892CAFC474C7DC253>126 D<17C0021C14F0021F14FC6F137F814AC712 +7C023E1503023C02787F027CED01E002786F7E19784A167C8585495A85495AA24AEE060C +0107EF001E91C8151FD90F06EF3F806EB912C0EB1FE102F9188090293BF0800070F0C8FC +4AC7FCD973C014F0A213E313C31201138312031303000616E0120E000C15011218123812 +30126000C0ED03C01200A4EE0780A3EE0F00A35E161EA24C16401B605E1BE0047016C016 +F04B5AA24B5A5E4BC714015D031E17E0031CEE03F04BEE07F84B91B612F04B17E0DAC1C0 +6E1480DAC38091C9FCD907C6CCFC149CEB06384D4E7DC553>128 +D<1506ED07C016F0EEE00F9338C003C093388001F0EF00FC187E727E727E180F727E1803 +A2725AA206001308F1001C1A3E1A3F0060F17F80007FBB12C06C1AE0A20010C72607801E +C9FCC8FCAAED0F00A9151EA55DA35DA35DA24A4817401B604A4817E01BC04A5A4AC7FC5C +141E5C4A17015C495AD9078018E049C81503011EF007F00178031FB6FC4919E0D803C06F +1500D80F8092CAFC001ECEFC127812C04C4F7DC553>131 D<1506ED07C016F05E5E5EAB +6C18306C1878006018FE007FBAFC19FE19FC0078C7D80780C71278B3A4007FB912F8A300 +78C7D80780C71278B3A2007FB912F8A30078CB1278A2197CA212F8197848187048184040 +4E75C553>I<1506ED0F8016E082ED1FC05E93CBFC033E16061A07033CEE0F80037CEE1F +C000C00278EE3FE0BC12F07E7E27200001E0CBFCC7FC4A5AA24A5AA24ACCFC140E141E02 +1C160C023C160E027E161F027FB87E02EF8301016002CFC9001EC7FCEB038FEB070F130F +130E131C1338137013E0EA01C0D8038090B712FE130012064891C9121E5A5A5A1240C7FC +A692B712FEA392C9121EAFF0FFFE181FF003FC1801020E6F5A020C167091CA12404C4F7D +C553>139 D<1903864F7E4F7E486C4D7E6CBA7E7FA20120C7D80780C9FC90C8FCAC1A06 +1A07F20F80F21FC000C0F13FE0007FBB12F07EA20030C8D80780C9FCC9FCB3B0160FED7F +FF811503030090CAFC82163C16304C487DC053>149 D<1608161E161FEE3FC083EE7F80 +EE7EC016FC923801F860EEF070923803E03017384B487E4B487E92381F000F031E6D7E4B +6D7E037C6D7E4B6D7E4B14784A48804A48804A486E7E4AC86C7E021EED03F04A6F7E4AED +0E7E4A92380F3FC0494892381F9FF0D9078C92383FC7FFD90F07B76C13F8011E05E013C0 +496CEF7F0090287002000780C7121E4848C71604D8038095C7FC000FC8FC121C127800E0 +1803C9824F7E4F7E01C04D7E017FB97EA27F0120C7D80780C9FC90C8FCA315C0EC01F0DA +03F814E003FC1478DA07FE8003E0141FDA0FC0EC07C0DA1F806E7EDA3F00EC01F8023EED +00FE4A163F4A707E4948707E4948707E4948707E4948707E011EC78249170001F8187CD8 +01E0844848020F153C000FC7D87FFF151C001C804802031608C990CAFC82163E16384D4F +7CC553>155 D<14401470147E147F147E147C1478A35CA2F101801AC0F103E04AEE07F0 +0101EF0FF891B912FCA302E0CBFC5C1303A4495AA491CCFC5B1903F107804918E049B9FC +1AF0010F18F80104CAEA03E090CB13C0A31A801907A41880EF01E018F0EF03F800C01607 +007FB812FC6C17FE1A000030CBFCCC5AA8190E191EA3193E193C197C94380FFFFC05035B +9438003FF0F00FE0725A72C7FC464C7CC253>166 D<1A301A781A7C01C0016016FE01F0 +013FB8FC13786D6D5E011F902610000FC9FC6D6CC7120E6E141E1307801303171C6D4814 +3C5C90C91404190E030C151F0307B712C0866F5E9228020078000FC7FC92C7FC01061570 +010715F038E00F80387FFFC06C13F05F261007C0130100005BA2F201804DEC03C00403ED +07E00284EF0FF00287B9FC028318F81BF00281CCFC1480A404405C04604A7E0470EC07E0 +047FB67E861AE00478C7EA03C0150C15381570EC81E0EC83C0EC8780EC8F0014BE14FC5C +5C495A131F495A6D5A6DC7FC6D027FB6FC130690C8FC0478C71203A504705D93C80002C7 +FC4D4E7DC453>170 D<182001081638010F163E02C0ED3F806E160C0280ED3E0791C938 +3C03C01AF095381C01F81900A21A78061E13701A20F20180F203C0F207E00360EE0FF003 +3FB8FCA2EC0C1FDA1E10C7001EC8FC023FC8120E00C080007FB57E7E5D27300F00081660 +0000020CD9600F1378030E01F0147E92260FFFF8EC7F8017FC05F8EC7C00DC00F05CA262 +A2F00701F181E0A21983A2621987A206035B04FF14CF97C7FCA2040014DFF001FEEC01CF +DA0F8F01C05BDA7E0F130002F86F5A90381FE00CD9FF80C95AD807FEC9486C1310D87FF8 +DB03C11430D8FFE0ED3F83D87F80913903FC07BC003EC8383FF00F0018912603FF80131E +0010913A7FFE001E1FC7260FFFF0496C13706E01809038780780DA03FCC700F013C0DA01 +E0903901E003E04B903A03C001F0F06E489039078000F892C748C7127F051E143F057814 +1F4D140FDC03C014034C48EC01F8041EC91278047C161C04F016004E4F7DC553>173 +D<19301978197C19FE01C04C7E017FB9FC867F0120CDFC90CEFCAC1A101A381A7C1A7E00 +C019FFBC12806C1AC0A20020C7263C001EC9FCC8FCA6157CA51578A515F8A45D1401A35D +020318C0A24A5AA24B1601140F4AC7FCA2143E5C4A1703495A4948EF07E04948EF0FF049 +48021FB612E0013EC816C0496F1500D801F092CAFCEA07C0003ECEFC12F812C04C4D7BC3 +53>195 D<1A061A070140F00F800160F01FC00178F03FE0013FBAFC1BF0A2013CC8003C +C9FC173F8484057EC9FC177C17785FA292262001E080033049EB01E09226380380497E03 +3FB77E861AF0033CC8EA01E0A9033FB7FCA3033CC81201A513381378A3033FB7FCA3923A +3C0003C001A303385E92C792C7FC0170028091C8FC01F0EB01E004F014C0DB03F81470DB +07FC143C4902F080DB0FC06E7E0001DA1F806E7EDB3F00EC03F049017E6F7E4B6F7E0003 +4A167E4948488200074948EE1F809026000F80EE0FC04AC716E0000E013E1707001E0178 +0207EC03F0001C49D93FFF1401263803C07F494801031500D8701EC86C4814E0D8E03803 +3F1560D8C0606FC8124048C9001C15004C4D7DC453>198 D<6E5D6EED03C06E4B7E91B8 +7E8519E002F0C8EA03C0AB91B8FCA302F0C812038561028093C7FC91CCFC012017180130 +173C6D177E011FB91280A2F1FE00011ECA123CA51610161EEE1FC0A294C7FCA3161EAD16 +3E043C143EA2167C013E0278143C05FC5B013C9139F03FC0200138902701E007FCC7FC90 +C70003903800FF80DB0FC0EB3FF04BC7EA0FFC037EEC03FFDA01F8020013C0DA0FE0ED3F +E0DA3F80ED0FF0D901FCC91207D90FE0EE01F801FFCBFCD80FF01878B4CC123800F01918 +454D7BC453>202 D<17C017F0010415FC010F4A7E02C014F86E5C02805C131F91C7485A +131E013E180E013C4A48140F49F01F8094B712C0017019E001F04A16C049020EC8EA0F80 +00010103180001C0EBC01CEC07F0D803806D5A15E03A07000FC03048EC8070000E90381F +0060261C01FE13E0D83C3F5C3939FE3C01267FF0785BD8FFC01303D900F090C9FC397C01 +E00600301640C648484813604A481370010790C77E91C87E010E151E011E81011C6F6C13 +0E4982491503717E49822701C003E06D7E9026803F80161E260303FCC8127C26061FE015 +7E260E7F80153ED83FFCC9FCEA7FF0D83FC0826CCA121E120CCBFC181C180895C7FC151C +15F8EC07E0DA3F80161CD903FECAFCD91FF8173C3801FFC0001F90CBFCEA7FFCD83FE060 +EA1F80000ECC12F8000C4E5ACBEA1FFF6206005BF11F8097C7FC190E19084B4E7CC553> +213 D<0238151C023FED1F806F81023EC86CC8FC1904023CEE0780F103E0737E737E1A7C +4B7E4B6C15384B6C15390018020FEE0380000FB6D8F180EC07C005C0EC0FE06CDBF0E015 +F02604003CC7B7FCC7FCA2DDF007C8FCA61A1804C0EC801EDB01E0ED1F80DB03F0ED3FC0 +00C0DA07F8ED3E00007FB60203133C6C03FC5D16F82610000FC76E5AC7FCA2953801C1E0 +016017E1017CEFE3C0017F17E7017E933800F780017C02C014FF0178D901E0ED006001F8 +D903F0EB1C7FDB07F8EB387E03FFECF03C01F09139FCF1E07E9338F8F7C092C7B448B4FC +06011380943AFE03E7C0E001E0913A01FC07C3E09439F80F81F00001923A03F01F00F801 +F0043E137E01F86E4848133F01D86E4848131F01DCDB81F0130FD803CEDB03C0EB03F001 +874B481301028F021FC81270D983CF023C1500260781EF5CD900FFEB01E06E5C00066D90 +CBFC000E6D7EEC0FE048EB03FC913801FFC000189027007FFFC0EC01FC0038021F90B712 +F80030020317C00070DA003F16800060030016004893CAFCA24E4E7EC453>I<13E00170 +17066D1707011E0170ED0F80011F013FB712C06D6C6C16E0A2902607C008C8EA0F806EC9 +13001303A2384001C00078491430267F0004143C007E0107143E007CD903C0EB7F800078 +6D7E03F8EB7C006E6C5B037C5B1601033C5B4C5AA2923818078002201402913A30000E07 +80023890380C0FC0023FB612E018F018C0023CC7EA0780AA023FB6FCA391393C0F078718 +C01880031EEB860102200280138F02001503190FA2151C153C18070378158FA215F0180F +DA01E0EC1FCFDA03C090B5FCDA0780158F4A486CEBFC0F021E90C8FC147C14F0EB03E0EB +0F80013ECAFC0138EE7E1F90CAEA7FFFF007FE00F8170148715A481878CC1230434C78C3 +53>221 D<1906190F484E7E6D010C153F01E00107B77EEA00F8017C7F6D0102CBFC6D90 +CCFC806D7EA21307A26D5AA291CDFC90CC12061A0FF21F80020618C06EB912E0A26E18C0 +92C70008C9FC91C8121EEF1F80EF3FE0A295C9FC0106157E0107157C26C00F805CB512E0 +6C6D495A5C26200780903903E0038000004C6C7E04076D7E4D13704CC7127885041E804C +80864C6E7E4C6E7E4B488103036F7E922607C003B5FCDB0F87B5EAFCFC033FB538FE007C +0680137E05E0C7123EDB1FFCC8FC16C0030CC9121E92CA121C1A1897C7FCA3EB0EC0EB3C +60EB78383801F03C3803E01F390FC007E0277F8003FEEE01FC496CB912F0007E6D6C17C0 +003C021F1780003814030010EC003F4E4A7DC153>228 D<1506ED078016E0825E5E5EA2 +1830183801C0010F147C90B9FC6D8396C8FC902620000FC7123C90C7FCA25DA2031E1603 +A3033E5E033C1606A2157C157803F8160E4A5A4B160F02035F912607C004ED3F8091280F +0007803FB5FC023E02E015004A6E6C13F8D901F002C0C9FCD907C05C011FC7FC13FCD807 +E0180648C81607C9EE0F80F21FC000E0F13FE0007FBB12F07EA20010C8D80780C9FCC9FC +A31404140EEC0F80DA1FC0141C03E0140FDA3F80EC03C0DA7E00EC01F0027CED00FC02FC +167E4948EE1F804A707E4948707E4948EE03F84948707E49C76F7E013C187E49845B4848 +D97E1F81D80780D97FFF8148C7000790C8FC001C0200820030157EC9007C92C7FC167816 +304C4D7DC453>236 D<1A101A381A7C1A7E00304EB4FC003FBB12807E6C1AC00008C800 +1ECAFCC9FCA6010417180106171C6D173E91B9FC8697C7FC9126C0001EC7123CAD91B812 +FCA39126C0001EC7123CA81A03F20780F20FC00080191FBC12E07EA2262003C0C9003CC7 +FC1200B1943801E07CF0FFFC9438003FF801071607725A4A6F5A0106CA5A4B4D7CC453> +242 D<1608161F17C0835F4CCAFC163E163C167C047815021A0704F8ED0F804C16C00030 +F11FE0003FBB12F06C1AF8A20008C7D803C0CAFCC8FC4B5AA24BCBFC1703031E14E0033E +14F8033C5C037C5C03785C5D14015D4A5A1407903801878002CFC7FCEB00FEA24A17304A +17384A177C010118FE010301604B7E0107013FB8FC010F6D1780131E013C9027100003C0 +C8FC017890C7FC13F0EA01E0EA0780EA0F00121E127C12F05AC7FCAB1A03F207801BC0F2 +0FE0DAF380EE1FF002F1B9FC02F018F8A20340CBFC010190CCFC5C5C5C4D4F7DC553>I +E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Gb cmr12 12 12 +/Gb 12 117 df<121EEA7F8012FF13C0A213E0A3127FEA1E601200A413E013C0A3120113 +80120313005A1206120E5A5A5A12600B1D78891B>44 D<14FF010713E090381F81F89038 +3E007C01FC133F4848EB1F8049130F4848EB07C04848EB03E0A2000F15F0491301001F15 +F8A2003F15FCA390C8FC4815FEA54815FFB3A46C15FEA56D1301003F15FCA3001F15F8A2 +6C6CEB03F0A36C6CEB07E0000315C06D130F6C6CEB1F806C6CEB3F00013E137C90381F81 +F8903807FFE0010090C7FC28447CC131>48 D50 D<49B4FC010F13E0013F13FC9038FE01FE3A01F0007F80D803C0EB3FC048C7EA +1FE0120EED0FF0EA0FE0486C14F8A215077F5BA26C48130FEA03C0C813F0A3ED1FE0A2ED +3FC01680ED7F0015FE4A5AEC03F0EC1FC0D90FFFC7FC15F090380001FCEC007FED3F80ED +1FC0ED0FE016F0ED07F816FC150316FEA2150116FFA3121EEA7F80487EA416FE491303A2 +007EC713FC00701407003015F80038140F6C15F06CEC1FE06C6CEB3FC0D803E0EB7F803A +01FE01FE0039007FFFF8010F13E0010190C7FC28447CC131>II79 D98 DI101 D +111 D<3903F803F000FFEB1FFCEC3C3EEC707F0007EBE0FF3803F9C000015B13FBEC007E +153C01FF13005BA45BB3A748B4FCB512FEA3202C7DAB26>114 D<1306A5130EA4131EA3 +133E137EA213FE12011207001FB512F0B6FCA2C648C7FCB3A4150CAA017E131C017F1318 +A26D133890381F8030ECC070903807E0E0903801FFC09038007F001E3E7EBC26>116 +D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Gc gbsn12 12 1 +/Gc 1 153 df<1BC087507E507E01E04E7E017FBA7E7F630118C8007CCBFC90C9FCA401 +401A201C781CFC01E04F7E90BDFC1D80481CC001C0C8007CC83801FE001CF80003505A00 +076364000F505A484897C7FCD83F87B500C00103B512CED87F0719CC12FF48C990CBFC5A +1278CAFCA60107B500C00103B512E0A217FC90C990CBFCA25F05E08101044B4A7E010692 +C8EA03F0D907804D7E6DBA7E871BF002E0C7007CC7EA03E0AD91BAFCA302E0C7007CC712 +03AE91BAFCA287D907E0CA1203A54A604A188091CB0002C8FC5A5D7BD264>152 +D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Gd gbsn09 12 2 +/Gd 2 195 df<1C201C701CF8010C86010E4F7E010F190391BCFC6D1B801D0002C0CEFC +AB1A1804C0153C0460153E0478157F047FB77E87A2047CC8003FC8FC1A3EAE4A173CA313 +0F1A7CA71AFC4F5AF03FFF725B011F160191C79138003FE0735A73C9FC190E96CAFCA213 +1E013E1A301C70A2013C1A60A2137C01781AE0A213F85BA248481901A2485A1B03484886 +517E48C8007EEE1FFC001E037FB85A001C1BE0003C6F5F486F04FCC7FC007092CDFC5A5A +595A7BD064>7 D<02781504023F150F03C08119E092C87F181F023E168096CAFC60063E +140C067E141E067C143F517E95B77E885F06F0C7EA7F804D6C92C7FC043001D8147E9326 +7807DC5C04FC019C5C9326FE0F0E130100E0DA01FF5E007FB7121E6CDC9C071303053801 +805B2618007EC7D878031307C7037001C05BDDE001495A02FE16E04C486C6C48C8FC4C48 +6D5A4CC7EA783E010102066E5A040E143E02DE496E5A010302186E5A9126DF80101407DA +9FF0C8FC902607BEFC4B7E037EED1FFE6F6C4A6C7E90270F3E1FC091387E7FE06F6C9138 +FC3FF86F6C903903F00FFE011E6D6C903A07E007FFC003014A486C13F8013C93263F8000 +13FF0300027EC76C13E0013891267001FC021F13FC0178DB07F0140701709126001FC06E +138001F0037FC9130001E0DA01FC163E0001DB0FF8ED060C01C0DA3FCEED0F8000039126 +01FF0F4B7E0180D90FF890B712F00007EC3FC00100EB3E00000E91C70180C7EA0FC0645A +A25A1230127012605AA2C7FCAB95B7FCA30680C7120FA2147EA28864027C96C7FC027002 +0CC8120C024091CCFC5E5D7DD264>194 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Ge gbsn13 12 2 +/Ge 2 241 df<00031A0C6D191F6DF13F8090BC12E0A3903FE00007C0000F80001F801C +00B390BCFCA301E0C70060C9121F16F870178016FF4B6D1600018092C9121C0002C7D803 +F893C7FCC85B15074C15204B4815704B4815F84F7E4BC8487E93B8FC4B8392B9C7FCDA01 +F8C8EA01FC4B4B5A4A485E4A484B5A020F5F4B150F021F5FDA3FE0151FDA7CF893C8FCDA +F87E153E49486C157E902703E01FC0147C49486C6C14FC49C66C6C495A011E6D6C5C496D +6C1303496E495A01E001004A5A4848027E495AD80780027F49C9FC000EC86C5B000C033E +13FEC9381E01FC4D5A93381C0FF093380C1FC09338003F8005FFCAFCEE01FCEE07F8EE1F +E0EE7F804B48CBFCED07FCED1FF0EDFF80DA07FECCFCEC3FF0903803FFC0D91FFCCDFC38 +03FFE0D87FFCCEFCEAFF80535979D064>91 D<1460147C147F15C04B1702027ECB120705 +03ED0FC0027C03C04A7E71B77E8864027803E0C7EA07E06414F8A319304A1638854B4A7E +DB03C0140F010102E0EC078000E0912607F00314C0007FB600F8EC03E06C03FC15F06C19 +F8281801E003E0140112000103D907C003FC5B19001AF814C01AF01307048003E0138108 +00EB83804EED87C002800207EE8FE0010FD90FB0EF9FF0049FB912F8168FA20200902687 +8780C73807800049EC0007A25D011E17301938013E83031E81033E150F013CEF0780017C +030F14C0033CED03E0060013F0037C15014918F8157803F816FC0700130F5D6D18F8EB3F +8190260FE1E016F0D903FB17E0902600FFC0490240EB8180027F0500EB83C0DA1FE0F087 +E06E6CF08FF06F49169F4A6C91B812F8DA1EFE5BEC3C7F91277C3F803EC8000FC7FC9139 +F81FC00E9127F00FE0045DD901E06DC9FC903803C00749486C7ED90F00181E011E010117 +3E5B490100177E49197C4848027016FCD807C091C9120148CB387FFFF8001E725B481803 +00F89538007FE000E0735A004073C8FCCD121E1A085D5E7DD364>240 +D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Gf gbsn06 12 1 +/Gf 1 227 df<5C4A6C1702DBE00316079226F80180ED0FC003FC01E04B7E94B87EDA07 +F08403E018C003C001F0C8EA0F80140F1580A2EC1F00A3143EA25CA2147814F85C13015C +13035CA2EB07F014FC497E14F8494891B8FC4A85133F013B923AF0007C000F1373A201E3 +4B5E01C34B93C7FC00014C150CD8038391C891C8FCA2EA0703120E000C1B0C001C1B0E00 +381B1F0030F33F800060F37FC000E0D9E1C0F0FFE000C001E0BB12F0000080A20370C726 +0FBC60C8FC92C8121FF17C70063F1330063E1338187C8618F805018018F0DD03E0130F05 +076E7E18C0DD0F806D7EDD1F0080053E1401057E81057C6E7E4D814C48157E4C48814C48 +824C486F7E4CC76E7E043E707E4C17FC4C707EDB01E0933801FF804B487013F0DB0F80EF +7FFC4BC8ED3FF0033CF01F804BF00F000107491806DAE1C095C7FCDAE08015FC92C9FCA2 +4A16F091CA5A010694CAFC5E5E7DD364>226 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Gg gbsn19 17.28 1 +/Gg 1 206 df<01071F1802C01E3C6D6C1E7ED901F86F1AFFD900FE6F616E6F4F13806E +6C02F84F13C0DA3FE06E4F13E06E6C91BD12F0816E6C8014076F92CFFC140381801D606E +4819781D7F1EE0037E86037C0170EFFFC066037897CAFC033001F05F92C700E04C5A0401 +6005C05F040303024A140C08030103150F00E0DB07800380494A7E6C08E049EC3FE0007C +0400DBF007826C4B93B97ED83F801FFE6C6C141ED80FF0676C6C023E04F8C9EA1FE06C6C +143C6D027C646C6C1478806C6D13F8017F5CECE001013F5C1503A2011F495A187E14C001 +0F495A14804BC712FE020095B9FC01065B90C7123EA2037E05F8C9121F157C15FC5DA214 +015D14035D1407604B1301140FA24A5AA298B9FC4AC788A25C027E953BF8001FC0001F02 +FE14034E62494866010307E0041EC7FCD8380796C71508D87FFF95C892C8FCA24A14076C +4D13020001F10780D8007F85013F856D484D6C150C050F03FC150F010F4C6E82506C6F7E +797E4D48D93FF86F7E01074F8251ED00FE4E4948167F010F033F4B8350C76F7E95C7727E +4D494884057E4A717E070318074D4A844F48717E4C484A717E070F1A804C48494883011F +4E19C04C4849C8167F22E04C48017E193F4D5B013F021F5C4C484848191F6E013E494815 +3F5E04FC4948013F01FF150F4B48494849B5FC4C49C76C18C04B48013E140F011F494801 +3C02034AEC07806D48484849DA007F1700010349C748031F160290C7003E4A6F90CAFC4B +91C97E4B725A4B19F803606192CC138084857AF88F>205 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Gh gbsn09 17.28 1 +/Gh 1 203 df<1530153F16C016F816FE031F030C170304F8020EEF07C04C020F844C6F +EE0FF8744C7E97B97E4C6E727EA29EC7FC08F0C9EA07F8A268AB18E018F0EF01F8EF03FC +EF07FEEF0FFF007C5E007FB912876C18C77E6C0687B9FC902780007FC0C71207C812FFA2 +08F0C91207A25CA315F7140315E7A21407A215EFEC0FCF16F016FCED8FFF021F8092389F +CFE091393F1FC7F8DCC3FC91B9FCEEC1FF027E01C0018085EF7FC0027CDA3FE09026F001 +E0C7120702FC03F0140002F8DA1FF8810101DB0FFC610507F2C08002F00778ED01C00103 +030396380003E002E00201507E0107748202C0DA00F84F7E0A3E151FD90F8003704F7E06 +00031E4B7ED91F00071F17809DB5FC013E746C49EBC0005590C7FC4975495A0A074A5A49 +535A49746CEB3FE00001545A4975495A000309014948C8FC499838F807FC00079938FC0F +F0490800495A48C79738FE3F80E37E7FC9FC001EF47FFC001CF43FF0003C650038765A5A +777E488948767EC8FC777E777E8A777F8B9A38607FE0993901E03FF00A076D7EE21FC07F +99397F000FFEE101FE6D6C7EE107F86D7FE11FF015F0E17FE06D7FE1FF806D13FE08F390 +C86C6C7EE0FFFE6F13E0033F4D6F13FC09F06F13FF4F49030314F0516F14FE4F49814F90 +CA6C13FC4F48051F13004F48715A706E48EF03F87348EF00F04C6E4818604C4B95C7FC03 +3EC86C5A033C93CEFC0330150687867BF88F>202 D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Gi gbsn20 17.28 1 +/Gi 1 132 df<181C181F727EF007E0727EF001FC85727E737EF13FE086191F737E8673 +7EA21903A2737E62A21900A262087C151C0878153E0870153F97C9487E0010537ED81F80 +1B036CBF7E6C8A6C8A1FE0D801E0CE6C90C9FCD05BF5FFF866525B525B525B9BCAFC6452 +5A525A525A65525A515B515B5190CBFC641B0F515A515A515A515A64505B5090CCFC505A +505A505A63505A505A505A4F90CDFC4F5A4F5A4F5A4F5A4F5A4F5A4F5A4E90CEFC4E5AF0 +07F84E5A4E5A4E5A4E5A4ECFFC4D5A4D5AEF07F04D5AEF3FC04D5A4DD0FCEE01FC4C5A4C +5AEE1FE0EE3F804CD1FC16FEED03F84B5AED0FC0ED3F804BD2FC15FCEC03F8EC07FE9138 +1FFF8091387F1FE0903901FC03F8903907F800FED91FF0EB3F80D97FC0EB1FE04948EB07 +F8000390C7EA03FE000F6F6C7ED83FFE9138007FF0B4486FB47E6C48030F01FF1AC0003F +7091B500E00107B612E06C48030193B912C0000F706CF2F8006C48041F1AE00003050762 +490400620001061F96C7FC000006016090CC00075F97C8123F837F78F88F>131 +D E +%EndDVIPSBitmapFont +%DVIPSBitmapFont: Gj cmr17 17.28 4 +/Gj 4 116 df76 D<133C13FF487F487FA66C5B6C90C7FC133C90C8FC +B3A2EB03C0EA07FF127FA41201EA007FA2133FB3B3AC497E497EB612E0A41B5F7DDE23> +105 D +112 D<9139FFE00180010FEBFC03017FEBFF073A01FF001FCFD803F8EB03EFD807E0EB01 +FF48487F4848147F48C8123F003E151F007E150F127CA200FC1507A316037EA27E7F6C7E +6D91C7FC13F8EA3FFE381FFFF06CEBFF806C14F86C14FF6C15C06C6C14F0011F80010714 +FED9007F7F02031480DA003F13C01503030013E0167F00E0ED1FF0160F17F86C15071603 +A36C1501A37EA26C16F016037E17E06D14076DEC0FC06D1580D8FDF0141FD8F8F8EC7F00 +013E14FC3AF01FC00FF80107B512E0D8E001148027C0003FF8C7FC2D417DBF34>115 +D E +%EndDVIPSBitmapFont +end +%%EndProlog +%%BeginSetup +%%Feature: *Resolution 600dpi +TeXDict begin +%%PaperSize: A4 + +%%EndSetup +%%Page: 1 1 +1 0 bop 1610 872 a Gj(Lisp)p Gi(\203)p Gh(\312)p Gg(\315)1648 +1112 y Gf(\342)p Ge([)p Gd(\302)p Gc(\230)p Gd(\007)p +Ge(\360)1582 1308 y Gb(Octob)s(er)33 b(24,)f(2003)639 +1602 y Ga(\325)r F9(?)r F8(p)r F7(\013)r F6(\342)r Ga(\225)p +F5(1960)p F4(#)r F3(\025)r F2(,)r F7(\352)r Ga(\030)r +F4(\237)r F3(:)r(\045)r F1({)r F8(X)r F6(\251)p F5(,)p +F0(\306)r Ga(\363)r FZ(Y)r F4(\237)r F8(X)r F6(\251)r +FZ(\245)r F1(\351)r F2(\037)r(\307)r F1({)r F3(\340)r +FY(\032)515 1702 y Ga(\213)p FX(\230)p F4(N)p FW(\001)p +F7(\260)p F1(y\351)p FW(\001)p F9([)p F1({)p F3(\340)p +FY(\032)p F5(.)1534 1671 y FV(1)1610 1702 y F0(\306)p +FY(5)p F6(\267)p F8(\242)p FZ(0)p F0(+)p F7(\352)p F5(,)p +Ga(\363)p FZ(\220)p F3(\311)p F1(\275)p FW(\001)p F3(\307)p +FW(;)p F1(\\{)p F2(v)p FU(*)p F3(n)p F9(Z)p Ga(\030)515 +1801 y F3(\307)q F2(,)q F0(+)q F9(<)q F0(j)q F1({)q FW(\020)q +F9(R)q F1({)q F9(\344)q F2(\372)q FX(\336)p F5(,)26 b +FX(\230)q F9([)q F3(\350)q FZ(\005)q F2(\361)q Ga(\030)q +F3(\307)q F6(q)q FZ(r)q F1({)q F2(\037)q(\307)q Ga(\252)q +FY(\323)p F5(.)f F8(p)q F7(\013)q F6(\342)q F2(\301)q +FZ(Y)q(\253)q Ga(\252)515 1901 y FY(\323)r F6(\217)p +F5(Lisp,)33 b Ga(?)r F6(\217)p F5(List)f(Pro)r(cessing,)f +Ga(O)r F6(\217)r F0(\306)r F1({)r FZ(\314)r Ga(\007)r +F0(\207)r FY(.)r FZ(\203)r Ga(\030)r F0(4)r Ga(~)r(\030)r +FZ(\253)s FW(;)r F1(\\)s({)r F0(j)s FW(\342)r(\210)515 +2000 y F3(\350)p F2(,)p F5(\(list\))p F7(u)p F1(S)p F2(,)p +F1(S)p F8(h)p F9(Z)p F0(j)p FW(\342)p F5(.)639 2100 y +FZ(\212)r F1(z)r FZ(\325)r Ga(?)r F1({)r F0(4)p F5(,)p +F8(p)r F7(\013)r F6(\342)r F0(\304)r FU(*)r F1({)r F3(\025)r +FY(\031)p F5(,)p F2(X)r FW(\235)r F0(4)r FW(\017)s F0(\256)r +F9(\345)s F0($)r FX(\336)r F9(\231)s F0(\036)r F1(S)r({)s(L)r +F0(/)p F5(,)39 b F3(\015)r FX(\045)r F0(4)515 2200 y +Ga(\030)q FZ(\253)q Ga(\363)q F6(\267)q F8(\242)q FZ(Y)q +F3(\307)q F0(\036)q F1(S)q F2(\037)q(\307)q Ga(\326)q +F7(u)q Ga(\326)q FX(J)q FY(5)p F1({)q F8(\334)q F0(*)p +F5(.)p F6(\267)p FX(\200)q F6(\217)p F8(\370)q FX(\003)q +F6(\217)p FZ(\216)q(\220)p Ga(\213)q F7(\334)q FZ(\253])q(t)p +F3(\232)q FW(\300)515 2299 y F7(\274)p F8(a)p F5(,)29 +b F0(\))p FZ(\252)p FX(\230)p Ga(\030)p F1({)p F2(\037\307)p +F8(\334)p F0(*)p F5(:C)p Ga(\252)p FY(\323)p F8(\334)p +F0(*)p F9(Z)p F5(Lisp)p Ga(\252)p FY(\323)p F8(\334)q +F0(*)p F5(.)p F1($)p F3(\023)q FZ(V)p FW(\322)q FY(6)p +F7(\334)q FU(,)p F3(\260)p F1(\217)p F5(,)35 b Ga(\363)515 +2399 y F0(\307)s F8(\242)s FZ(\245)s FW(-)s F0(4)s Ga(\203)s +FX(\230)s FZ(J)s(\014)s F1({)s(\204)s(\217)p F5(.)p F0(\261)s +FZ(\370)s FW(\017)s F0(\256)s F9(\345)s F2(#)s F1(z)r +Ga(\326)s F7(u)s Ga(\326)r FX(\022)s F1(L)p F5(,)p FY(c)s +F7(\015)r F3(\025)s F1({)r Ga(\252)s FY(\323)s Ga(\030)r +FZ(\206)s Ga(\363)515 2499 y FW(*)r F1(\275)r(\217)r +FX(J)r FY(5)r Ga(\225)p F5(Lisp)p F8(\334)r F0(*)p F5(.)45 +b F3(\023)r F0(\033)r F4(#)r F7(u)p F5(,)p F7(\015)r +F3(\025)r FY(c)r F2(\037)r(\307)r Ga(\252)r FY(\323)r +F1({)r Ga(\030)r F3(\307)r F8(\026)r FY(q)r F1({)r F8(\263)r +FW(\373)r F0(4)p F5(,)p FX(R)p F5(C)p Ga(\252)515 2598 +y FY(\323)p F1({)p FW(\017)p F0(\256)p F8(\334)p F0(*)p +F5(,)p FZ(\305)p FW(L)p F1(\217)p F6(\200)p FX(\336)p +FW(\034)p F5(Lisp)p F8(\334)p F0(*)p F1({)p F6(\001)p +FY(u)p F5(,)p F7(\276)p FX(\230)p Ga(\344)p FY(q)p F0(\036)p +F7(\241)p FY(n)p F9(Z)p F6(\303)p Ga(~)p F1(\\)p Ga(\303)p +F0(B)p F9(\370)p F5(.)639 2698 y Ga(\363)q FZ(Y)q F4(\237)q +F6(\251)q FZ(9)q(\245)q F6(\267)q FW(\246)q F7(,)q F4(\025)q +Ga(~)q FU(!)q FW(;)q F1(\\)q({)q F0(b)q Ga(\252)q F7(u)q +FW(\211)q F0(:)q Ga(\325)p F9(?)q F8(p)q F7(\013)q F6(\342)p +F0(\304)q FU(\))q F1({)p F3(\025)q FY(\031)p F5(.)34 +b F9(\007)q FW(E)515 2797 y F0(4)r F6(\267)r F8(\242)r +F2(X)r FW(\235)r Ga(\007)r FY(\246)r F6(\363)r F8(\354)r +F3(\307)r FX(|)r F0(\217)r(\033)r F4(#)r FX(\003)r F1(z)r +F2(\361)r F1({)r Ga(\213)r FX(U)r F7(\256)r F8(X)r FW(\210)r +F9(*)p F5(,)k F3(\015)r FX(\045)r FZ(0)r F0(+)r F2(\037)r(\307)r +Ga(\252)r FY(\323)r F1({)515 2897 y F3(\025)s FZ(0)s +F3(0)s FY(5)p F5(.)49 b(Lisp)p F1({)s F2(X)s F6(3)s FY(\257)s +F2(\236)s FZ(\203)s F2(\377)p F5(|)p Ga(\017)s FW(\322)s +F0(4)s(\307)s Ga(\200)s FZ(\237)s F1({)s(\275)r Ga(B)p +F5(|)p F0(4)s(\307)s F4(\025)r F3(\352)s FU(\007)r FW(\003)s +F7(u)r F2(\037)s FY(U)515 2997 y FU(\007)q FW(\003)p +F5(.)39 b F6(\217)q F7(\352)q(\256)q FW(\211)q Ga(\325)q +F9(?)q F8(p)q F7(\013)q F6(\342)q F0(\304)q F2(,)q F0(c)q +F1({)q FZ(Y)q F3(\307)q F6(\001)p F1(\232)p F5(,)p F6(\267)q +F8(\242)p FW(R)q FZ(\352)p F0(\250)q(\306)q F1({)p F2(Z)q +F3(\030)p F5(,)p F2(?)p FW(R)q F0(\306)p F1({)q F0(j)515 +3096 y FY(\246)p F2(\))p FW(\020)p FZ(\335)p F9(\246)p +F2(\304)p F4(\025)p F3(\352)p Ga(\344)p FY(q)p F1({)p +F5(Common)27 b(Lisp)p F1(S)p F8(h)p F5(.)515 3369 y FT(1)134 +b FS(\324)-118 b(\324)g(\324)p FR(\307)g(\307)g(\307)p +FQ(\306)g(\306)g(\306)p FP(\))g(\))g(\))p FO(v)g(v)g(v)p +FN(*)g(*)g(*)p FR(n)g(n)g(n)515 3550 y F7(\015)p F0(\))p +F6(\267)p F8(\242)p FY(\013)p F1(\275)p Ga(B)p FM(,)p +FL(H)p FK(*)p F5(.)p F2(,)p F1(H)p F0(*)p F9(\335)p F0(4)p +Ga(\030)p F3(\307)p FJ(\306)p FI(\006)p F5(\(atom\),)p +F0(\3074)p Ga(\030)p F3(\307)p FU(\011)p F8(\361)p FY(\223)p +F7(\357)p F5(\()p FX(\230)p F5(fo)r(o\),)p F9(\335)515 +3650 y F0(4)p Ga(\030)p F3(\307)p Ga(\204)p F8(\002)p +F3(\307)p F9(\335)p F1(\365)p F3(\307)p F2(,)p F1(H)p +F0(*)p FU(\034)p F2(\304)p F1({)p FM(,)p F5(\()q(list\),)35 +b F2(,)p F1(H)p F0(*)p FZ(\203)p FW(-)p Ga(~)p F7(8)p +F3(\302I)p F7(\015)p F5(,)d F3(8)p FX(\234)p Ga(\030)p +F1(\351)p F7(i)515 3750 y F9(R)p FZ(\245)p F5(.)37 b +Ga(1)p FY(\005)p F0(4)p Ga(\030)p FY(J)p F2(,)p F1(H)p +F0(*)p F5(:)515 3919 y FH(foo)515 4019 y(\(\))515 4119 +y(\(foo\))515 4218 y(\(foo)42 b(bar\))515 4318 y(\(a)g(b)i(\(c\))e(d\)) +515 4487 y FU(!)r F9(\200)r Ga(\030)r F3(\307)r F2(,)r +F1(H)r F0(*)r(4)r Ga(\204)r F0(\217)r F3(\307)r Ga(\303)r +F0(\243)r FU(\034)r F2(\304)r F1({)r F2(,)p F5(,)36 b +F1(\221)r FX(\256)r F3(\307)r Ga(\303)r F0(\243)r FG(\375)r +FX(\374)r F0(4)r Ga(\204)r(\030)r F3(\307)r Ga(\303)r +F0(\243)r FU(\034)r F2(\304)r F1({)515 4587 y F2(,)p +F5(.)639 4687 y Ga(\363)p F0(\256b)p FZ(\245)p F2(,)p +F1(H)p F0(*)p F5(1)29 b(+)f(1)f F1(z)p F2(\361)p FZ(\212)p +F5(2.)38 b FZ(t)p FX(h)p F1({)p F5(Lisp)p F2(,)p F1(H)p +F0(*)p Ga(\017\213)p FZ(\212)p F5(.)30 b FX(\230)p F9(*)p +F2(,)p F1(H)p F0(*)p FF(e)p F1(z)p F2(\361)515 4786 y +FZ(\212)p FF(v)p F5(,)p F6(\267)p F8(\242)p F0(\200)p +FF(e)p FE(\()p FD(\303)p FF(v)p F5(.)37 b FY(\005)p Ga(\030)p +F2(Z)p F6(\267)p F8(\242)p FW(R)p F1(\275)p Ga(B)p FW(\001)p +FZ(\253)p F2(,)p F1(H)p F0(*)p Ga(1)p F9(\371)p F0(\307)p +F8(\242)p F1({)p F3(\()p F9(\303)p FZ(\212)p F5(.)p 515 +4850 1146 4 v 607 4904 a FC(1)642 4927 y FB(\\Recursiv)n(e)k(F)-6 +b(unctions)42 b(of)f(Sym)n(b)r(olic)f(Expressions)g(and)i(Their)e +(Computation)i(b)n(y)f(Mac)n(hine,)515 5006 y(P)n(art1.")32 +b FA(Communic)l(ation)27 b(of)f(the)f(A)n(CM)f FB(3:4,)f(April)f(1960,) +i(pp.)32 b(184-195.)1926 5255 y F5(1)p eop +%%Page: 2 2 +2 1 bop 639 523 a FX(\230)p F9(*)p Ga(\030)p F3(\307)p +F2(,)p F1(H)p F0(*4)p F2(,)p F5(,)p F6(\267)p F8(\242)p +F2(\301)p F1(\221)q Ga(\030)p F3(\307)q Ga(\303)p F0(\243)q +F6(\217)p FM(v)q FI(*)p FE(n)p F5(,)p F4(\331)q Ga(\233)p +F1({)q Ga(\303)p F0(\243)q F6(\217)p FI(\007)q FM(#)p +Fz(\336)p F5(.)p F6(\267)q F8(\242)515 623 y FW(R)p F1(\275)p +Ga(B)p F4(\324)p F3(\307)p Ga(\306)p F0(\))p F5(\()p +F1(,)p F3(\332)p F7(\256)p F1({)p Ga(?B)p FX(\336)p F0(\200)p +F5(\))p F2(v)p FU(*)p F3(n)p F5(:)33 b(quote,atom,eq,car,cdr,cons,)p +F9(Z)p F5(cond.)616 805 y(1.)41 b(\(quote)28 b FF(x)p +F5(\))f F3(\()p F9(\303)p FF(x)p F5(.)p F6(\217)p F7(\352,)p +F1(\326)p FY(u)p F6(\267)p F8(\242)p FG(\262)p F5(\(quote)h +FF(x)p F5(\))p FW(;\020)p F6(\217)p F5(')p FF(x)p F5(.)722 +1021 y FH(>)43 b(\(quote)f(a\))722 1121 y(a)722 1220 +y(>)h('a)722 1320 y(a)722 1420 y(>)g(\(quote)f(\(a)g(b)h(c\)\))722 +1519 y(\(a)g(b)g(c\))616 1735 y F5(2.)e(\(atom)32 b FF(x)p +F5(\))p F3(\()r F9(\303)r Ga(\306)r FU(\006)p F5(t)p +FX(\230)r F9(*)p FF(x)p F1({)r FZ(\212)r F0(4)r Ga(\030)r +F3(\307)r Ga(\306)r FU(\006)r F9(\335)r F0(4)r F7(8)s +F2(,)p F5(,)p F3(d)s FZ(\013)r F3(\()s F9(\303)p F5(\(\).)56 +b Ga(\363)p F5(Lisp)p FZ(\245)722 1835 y F6(\267)p F8(\242)p +FG(\225)p F9(\016)p F7(\276)p Ga(~\306)p FU(\006)p F5(t)p +F2(,)p F0(+)p FZ(])p F5(,)29 b F3(\015)p Ga(~)p F7(8)p +F2(,,)p F0(+)p FW(")p F5(.)722 2051 y FH(>)43 b(\(atom)f('a\))722 +2150 y(t)722 2250 y(>)h(\(atom)f('\(a)g(b)h(c\)\))722 +2350 y(\(\))722 2449 y(>)g(\(atom)f('\(\)\))722 2549 +y(t)722 2765 y FW(\021)q FX(l)q Ga(\213)q F7(\352)q Ga(\030)q +F3(\307)q FU(\007)q F2(#)q F7(\336)q FY(\211)q Ga(\007)q +FX(F)q FZ(\212)q F1({)q F2(v)q FU(*)q F3(n)p F5(,)24 +b F6(\267)q F8(\242)q F7(,)q Ga(1)q F7(\027)q Ga(\030)q +FY(\005)p F5(quote)p F1({)q FU(*)q Ga(~)p F5(.)38 b F6(/)722 +2864 y F9(,)s Ga(Z)s(~)p F5(\(quote\))p Ga(\030)s F3(\307)s +F2(,)p F5(,)p F6(\267)s F8(\242)s F2(\033)s F8(\275)s +F0(\307)s FG(\372)s FX(F)s FZ(\212)p F5(.)d Ga(\030)s +F3(\307)s F6(\231)s FG(\372)s Ga(Z)s(~)s F1({)s F2(,)s +FU(*)s F6(\217)s FU(\007)s F2(#)s F7(\336)722 2964 y +F1(\004)p F3(\311)p FY(6)p F5(atom)p FZ(Y)p FY(\370)p +F1({)p F2(v)p FU(*)p F3(n)p FW(R)p FG(\372)p F0(@)p F6(\217)p +F1(S)p F8(h)p F5(:)722 3180 y FH(>)43 b(\(atom)f(\(atom)f('a\)\))722 +3279 y(t)722 3495 y F3(')p FZ(\203)p Ga(\030)p F3(\307)p +FG(\372)p Ga(Z~)p F1({)p F2(,)p FW(\235)p FG(\372)p F0(@)p +F6(\217)p F2(,)p F5(,)28 b Ga(\363)p F1($)p F7(\276)p +FZ(\245)p FW(\322)p F0(4)p Ga(\213)p F7(\334)p F3(\307)p +Ga(\303)p F0(\243)p F1({)p F2(,)p F5(:)722 3711 y FH(>)43 +b(\(atom)f('\(atom)f('a\)\))722 3811 y(\(\))722 4027 +y FZ(Y)s Ga(\246)s F6(\267)s F8(\242)s Ga(\363)s(])s(\252)s +FZ(\245)s F0(&)s Ga(~)s(Z)s F9(R)s F1({)s F3(0)s F0(*)s +Ga(\030)s FZ(\227)p F5(.)34 b(Cam)n(bridge\()p FW(J)s +FX(\030)p F5(\))p F0(4)s Ga(\030)s F3(\307)s F6(\240)s +Ga(\225)s F8(f)722 4126 y FX(\251)r FZ(\303)r FX(\254)r +FZ(\262)r Ga(\213)p F5(90000)p FX(|)r F7(=)r F1({)r F2(\302)r +FZ(i)p F5(.)45 b F3(\015)p F5(\\Cam)n(bridge")p F0(4)r +Ga(\030)r F3(\307)r Ga(\204)p F5(9)p F3(\307)r FU(\011)r +F8(\361)r FU(\034)r F2(\304)r F1({)r(\\)722 4226 y(#)p +F5(.)722 4359 y Ga(Z)r(~)r F7(\027)r FX(\336)r(V)r F7(,)r +F4(\025)r Ga(\213)r F1(\232)r F4(\333)r F9(\005)r Ga(O)r +F6(\217)r F9(\364)r FX(\350)r Ga(\213)r F4(\331)r F0(\307)r +Ga(\252)q FY(\323)r Ga(\213)q F7(\241)r F0(\221)r F1({)q +F3(\226)r F4(')p F5(.)25 b F0(\307)r F9(Z)p F5(Lisp)p +FU(!)722 4458 y Ga(\246)6 b FZ(\257)g F2(X)g F6(3)g F1({)g +F6(\001)g FZ(n)g FW(\233)g F8(\267)g F7(\311)g F6(\370)p +F5(:)p F1(S)g F8(h)g F9(Z)g F0(j)g FW(\342)g Ga(\204)g +FY(#)g F6(3)h F1({)f F0(j)g FW(\342)h(\210)f F3(\350)g(\350)h +F2(\304)p F5(,)44 b F3(\015)6 b F6(\267)g F8(\242)722 +4558 y Ga(~)p F5(quote)p F2(v)p FU(*)p F3(n)p F7(u)p +FX(K)p F3(I)p F0(\307)p F8(\242)p F5(.)616 4724 y(3.)41 +b(\(eq)28 b FF(x)f(y)p F5(\))p F3(\()p F9(\303)p F5(t)p +FX(\230)p F9(*)p FF(x)p F9(Z)p FF(y)p F1({)p FZ(\212)p +F0(4)p F6(3)p Ga(\030)p F3(\307)p Ga(\306)p FU(\006)p +F9(\335)p F1(\321)p F0(4)p F7(8)p F2(,)p F5(,)i F3(d)p +FZ(\013)p F3(\()p F9(\303)p F5(\(\).)1926 5255 y(2)p +eop +%%Page: 3 3 +3 2 bop 722 523 a FH(>)43 b(\(eq)g('a)g('a\))722 623 +y(t)722 722 y(>)g(\(eq)g('a)g('b\))722 822 y(\(\))722 +922 y(>)g(\(eq)g('\(\))f('\(\)\))722 1021 y(t)616 1237 +y F5(4.)f(\(car)27 b FF(x)p F5(\))p F4(\317)p F6(\202)p +FF(x)p F1({)p FZ(\212)p F0(4)p Ga(\030)p F3(\307)p F2(,?)p +FX(\045)p F3(\()p F9(\303)p FF(x)p F1({\221)p Ga(\030)p +F3(\307)p Ga(\303)p F0(\243)p F5(.)722 1453 y FH(>)43 +b(\(car)f('\(a)h(b)g(c\)\))722 1553 y(a)616 1768 y F5(5.)e(\(cdr)28 +b FF(x)p F5(\))p F4(\317)p F6(\202)p FF(x)p F1({)p FZ(\212)p +F0(4)p Ga(\030)p F3(\307)p F2(,?)p FX(\045)p F3(\()p +F9(\303)p FF(x)p F1({\221)p Ga(\030)p F3(\307)p Ga(\303)p +F0(\243)p FZ(\203)p F9(\200)p F1({)p F0(\304)p Ga(\213\303)p +F0(\243)p F5(.)722 1968 y FH(>)43 b(\(cdr)f('\(a)h(b)g(c\)\))722 +2067 y(\(b)g(c\))616 2267 y F5(6.)e(\(cons)29 b FF(x)f(y)p +F5(\))p F4(\317)q F6(\202)p FF(y)p F1({)q FZ(\212)q F0(4)q +Ga(\030)q F3(\307)q F2(,)q(?)q FX(\045)q F3(\()q F9(\303)q +Ga(\030)q F3(\307)q FY(c)q F2(,)p F5(,)p F0(\307)q F1({)q(\221)q +Ga(\030)q F3(\307)q Ga(\303)q F0(\243)q(4)p FF(x)p F1({)q +FZ(\212)p F5(,)722 2366 y F9(\200)p F8(\301)p F3(\313)p +FZ(\370)p FF(y)p F1({)p FZ(\212)p F1({)p F3(\310\307)p +Ga(\303)p F0(\243)p F5(.)722 2582 y FH(>)43 b(\(cons)f('a)h('\(b)f +(c\)\))722 2682 y(\(a)h(b)g(c\))722 2781 y(>)g(\(cons)f('a)h(\(cons)e +('b)i(\(cons)f('c)g('\(\)\)\)\))722 2881 y(\(a)h(b)g(c\))722 +2980 y(>)g(\(car)f(\(cons)g('a)h('\(b)f(c\)\)\))722 3080 +y(a)722 3180 y(>)h(\(cdr)f(\(cons)g('a)h('\(b)f(c\)\)\))722 +3279 y(\(b)h(c\))616 3495 y F5(7.)e(\(cond)36 b(\()p +Fy(p)1035 3507 y FV(1)1073 3495 y F5(.)14 b(.)g(.)f Fy(e)1222 +3507 y FV(1)1259 3495 y F5(\))37 b(.)14 b(.)g(.)g(\()p +Fy(p)1513 3507 y Fx(n)1558 3495 y F5(.)g(.)g(.)g Fy(e)1708 +3507 y Fx(n)1752 3495 y F5(\)\))37 b F1({)5 b FX(F)g +FZ(\212)g F9(\025)g FZ(\013)g FX(\230)g FY(\005)p F5(.)63 +b FF(p)p F2(,)5 b F1(H)g F0(*)g Ga(\035)g F1(')g FX(F)g +FZ(\212)g(\206)g F1(t)722 3595 y Ga(\213)j(\030)g F3(\307)g(\()g +F9(\303)p F5(t.)80 b FX(\230)8 b F9(*)g F4(\025)g FZ(I)g +F1(t)g FZ(Y)g FY(\370)g F1({)p FF(p)p F2(,)g F1(H)g F0(*)p +F5(,)p FY(#)g Ga(a)g F1({)p FF(e)p F2(,)g F1(H)g F0(*)g +F1({)g FZ(\212)g FU(*)g F6(\217)g FZ(r)722 3694 y F3(\307)p +F5(cond)p F2(,)p F1(H)p F0(*)p F1({)p F3(\()p F9(\303)p +FZ(\212)p F5(.)722 3910 y FH(>)43 b(\(cond)f(\(\(eq)g('a)h('b\))f +('first\))1071 4010 y(\(\(atom)f('a\))86 b('second\)\))722 +4110 y(second)722 4325 y F1(h)s F2(,)s F1(H)s F0(*)s +Ga(1)s F4(\324)s F3(\307)s Ga(\306)s F0(\))s F2(v)s FU(*)s +F3(n)s FZ(\245)s F1({)s F6(\312)s F3(\307)s F7(\015)s +F6(>)s F0(\036)p F5(,)p F0(\307)s F1({)s FU(\007)s F2(#)s +F7(\336)s FU(\017)s F0(4)s Ga(\007)s FX(F)s FZ(\212)s +F1({)p F5(.)3342 4295 y FV(2)722 4425 y F6(\267)p F8(\242)p +F2(\301)p FZ(Y)p FY(\370)p F1({)p F2(v)p FU(*)p F3(n)p +F6(\217)p FD(<)p FK(j)p F5(.)p 515 4486 1146 4 v 607 +4541 a FC(2)642 4565 y Fw(1)q Fv(\014)q Fu(i)q Ft(\334)q +Fs(\307)q Fr(v)q Fq(*)q Fs(n)p FB(quote)q Fp(Z)p FB(c)q(ond)p +Ft(\015)r Fu(>)r Fo({)q Fr(,)r Fo(H)r Fn(*)r Fw(1)q Fr(X)r +Fu(3)r Fo({)r Fs(0)q Fn(*)r Fm(F)r Fl(\212)p FB(.)32 +b Fo(h)p FB(quote)p Fr(,)q Fo(H)q Fn(*)q Fm(F)q Fl(\212)q +Fn(\036)p FB(,)g Fn(\307)q Fo({)515 4644 y Fq(\007)q +Fr(#)q Ft(\336)q Fr(X)q Fk(\372)q Fm(F)q Fl(\212)p FB(,)p +Fs(\015)q Fn(4)q Fq(*)q Fu(\217)q Fl(r)r Fs(\307)r Fr(,)q +Fo(H)r Fn(*)r Fo({)r Fl(\212)q Fs(\()r Fp(\303)p FB(.)g +Fw(\363)q(\030)q Fs(\307)q Fl(t)q Fm(h)q Fo({)p FB(cond)p +Fr(,)q Fo(H)q Fn(*)r Fl(\245)p FB(,)g Fl(\220)q Fw(\213)p +FB(L)p Fj(o)q Fv(4)q Fi(\273)q Fm(\336)q Fo({)q Fq(\006)515 +4723 y Fr(,)p Fo(H)p Fn(*)p Fp(\314)p Fk(\372)p Fm(F)p +Fl(\212)p FB(.)1926 5255 y F5(3)p eop +%%Page: 4 4 +4 3 bop 515 541 a FT(2)134 b Fh(<)-118 b(<)g(<)p FP(j)g(j)g(j)p +Fg({)g({)g({)p FO(,)g(,)g(,)p FP(+)g(+)g(+)515 723 y +FW(z)p FZ(\370)p F6(\267)p F8(\242)p F1(\275)p Ga(B\030)p +F3(\307)p FW(\020)p F9(R)p F7(u)p F8(\303)p F0(c)p F9(<)p +F0(j)p F5(.)p F9(<)p F0(j)p F2(,)p F0(+)p F6(\217)p F5(\(lam)n(b)r(da) +18 b(\()p Fy(p)2590 735 y FV(1)2628 723 y F5(.)c(.)g(.)f +Fy(p)2780 735 y Fx(n)2825 723 y F5(\))19 b FF(e)p F5(\),)p +F4(\331)p FZ(\245)p Fy(p)3177 735 y FV(1)3215 723 y F5(.)14 +b(.)g(.)f Fy(p)3367 735 y Fx(n)3412 723 y F0(4)515 823 +y Ga(\306)p FU(\006)p F5(\()p FW(w)p FU(\))p FM(k)p FK(j)p +F5(\),)p FF(e)p F0(4)p F2(,)p F1(H)p F0(*)p F5(.)38 b +FX(\230)p F9(*)p F2(,)p F1(H)p F0(*)p F1({\221)p Ga(\030)p +F3(\307)p Ga(\303)p F0(\243)p FY(o)p F0(*)p FX(\230\336)515 +922 y FH(\(\(lambda)i(\()p Fy(p)993 934 y FV(1)1030 922 +y FH(...)p Fy(p)1204 934 y Fx(n)1247 922 y FH(\))k FF(e)p +FH(\))f Fy(a)1504 934 y FV(1)1541 922 y FH(...)p Fy(a)1717 +934 y Fx(n)1761 922 y FH(\))515 1022 y FZ(\013)r F2(\301)r +F6(\217)r FD(<)r FK(j)r FL(\256)r FJ(~)p F5(.)p F0(\307)r +F1({)r FZ(\212)r FW(\017)r F0(\256)r FX(\230)r FY(\005)p +F5(.)p F8(\232)r Ga(\030)r F3(\307)r F2(,)r F1(H)r F0(*)p +Fy(a)2299 1034 y Fx(i)2330 1022 y FY(\013)r FX(F)r FZ(\212)p +F5(,)p FX(l)r F9(\200)p FF(e)p Ga(\362)r FX(F)r FZ(\212)p +F5(.)p Ga(\363)p FF(e)p F1({)r FX(F)515 1122 y FZ(\212)p +F9(,)p F2(\307)p FZ(\245)p F5(,)p F8(\232)p F3(\307)p +F2(\361)p FY(\031)p Ga(\363)p FF(e)p FZ(\245)p F1({)p +Fy(p)1531 1134 y Fx(i)1559 1122 y F1({)p FZ(\212)p F0(4)p +FY(#)p Ga(a)p F1({)p Fy(a)2101 1134 y Fx(i)2128 1122 +y Ga(\363)p FU(!)p FW(\243)p Ga(\030)p F1('{)p F9(<)p +F0(j)p F1(\256)p Ga(~)p FZ(\245)p F1({)p FZ(\212)p F5(.)515 +1304 y FH(>)g(\(\(lambda)d(\(x\))j(\(cons)e(x)i('\(b\)\)\))e('a\))515 +1404 y(\(a)h(b\))515 1504 y(>)h(\(\(lambda)d(\(x)j(y\))g(\(cons)e(x)i +(\(cdr)f(y\)\)\))645 1603 y('z)645 1703 y('\(a)h(b)g(c\)\))515 +1802 y(\(z)f(b)i(c\))515 1985 y FX(\230)p F9(*)p Ga(\030)p +F3(\307)p F2(,)p F1(H)p F0(*)p F1({\221)p Ga(\030)p F3(\307)p +Ga(\303)p F0(\243)p FF(f)p F0(4)p Ga(\306)p FU(\006)p +FX(\045)p FF(f)p F2(X)p F0(4)p Ga(\306)p F0(\))p F2(v)p +FU(*)p F3(n)515 2085 y FH(\(f)e Fy(a)689 2097 y FV(1)727 +2085 y FH(...)p Fy(a)903 2097 y Fx(n)946 2085 y FH(\))515 +2184 y F2(?)p FX(\045)p FF(f)p F1({)p FZ(\212)p F0(4)p +Ga(\030)p F3(\307)p F9(<)p F0(j)p F5(\(lam)n(b)r(da)28 +b(\()p Fy(p)1689 2196 y FV(1)1726 2184 y F5(.)14 b(.)g(.)g +Fy(p)1879 2196 y Fx(n)1924 2184 y F5(\)\),)p FZ(\013)p +Ga(1)p FX(\336)p F2(,)p F1(H)p F0(*)p F1({)p FZ(\212)p +FW(\322)p F0(4)515 2284 y FH(\(\(lambda)40 b(\()p Fy(p)993 +2296 y FV(1)1030 2284 y FH(...)p Fy(p)1204 2296 y Fx(n)1247 +2284 y FH(\))k FF(e)p FH(\))f Fy(a)1504 2296 y FV(1)1541 +2284 y FH(...)p Fy(a)1717 2296 y Fx(n)1761 2284 y FH(\))515 +2384 y F1({)p FZ(\212)p F5(.)28 b F9(\246)p FW(\351)p +F9(\233)p F0(\200)p F5(,)p F2(k)p F0(j)p Ga(\363)p F2(,)p +F1(H)p F0(*)p FZ(\245)p F2(X)p F1(b)p F7(,)p Ga(1)p FU(*)p +F6(\217)p FU(\007)p F2(#)p F7(\336)p Ga(\017)p F7(,)p +Ga(1)p FU(*)p F6(\217)p F2(v)p FU(*)p F3(n)p F0(&)p Ga(~)p +F5(:)515 2566 y FH(>)43 b(\(\(lambda)d(\(f\))j(\(f)f('\(b)h(c\)\)\))645 +2666 y('\(lambda)e(\(x\))h(\(cons)g('a)g(x\)\)\))515 +2765 y(\(a)g(b)i(c\))639 2948 y Ga(\213)r F8(\014)r F6(i)r +Ga(\030)r F3(\307)r F9(<)r F0(j)r FW(\020)r F9(R)r F0(&)r +F1(z)r F9(<)r F0(j)r F4(\025)r F6(\012)r F9(\371)r F0(\307)r +FG(\375)r FX(\374)p F5(,)p FZ(Y)r FY(\370)r F6(\267)r +F8(\242)r FW(\322)r F4(\025)r F3(0)r F2(")r F1(\217)r(\275)r +Ga(B)r F1(\224)r F9(\030)515 3048 y(<)p F0(j)p F5(.)704 +3018 y FV(3)778 3048 y FW(\020)p F9(R)515 3147 y FH(\(label)d(f)i +(\(lambda)e(\()p Fy(p)1342 3159 y FV(1)1378 3147 y FH(...)p +Fy(p)1552 3159 y Fx(n)1596 3147 y FH(\))i FF(e)p FH(\)\))515 +3247 y F2(,)s F0(+)s Ga(\030)s F3(\307)s FY(6)p F5(\(lam)n(b)r(da)31 +b(\()p Fy(p)1347 3259 y FV(1)1384 3247 y F5(.)14 b(.)g(.)g +Fy(p)1537 3259 y Fx(n)1582 3247 y F5(\))32 b FF(e)p F5(\))p +F4(\000)s FY(\370)s F1({)s F9(<)s F0(j)p F5(,)p FW(\034)s +FX(\336)s FZ(Y)s FY(\370)s F1({)s F6(\001)s FY(u)p F5(:)44 +b FX(\177)s F9([)s F2(\361)s FY(\031)s Ga(\363)p FF(e)p +FZ(\245)515 3347 y F1({)p FF(f)p FW(R)p FX(F)p FZ(\212)p +F6(\217)p F1($)p F5(lab)r(el)p F2(,)p F1(H)p F0(*)p F5(,)28 +b FW(\322)p F9(P)p FY(6)p FF(f)p F0(4)p F1($)p F9(<)p +F0(j)p F1({)p F2(k)p F0(j)p F5(.)639 3446 y FW(")p FX(\367)p +F6(\267)p F8(\242)p Ga(\007)p F1(\275)p Ga(B)p F9(<)p +F0(j)p F5(\(subst)g FF(x)i(y)g(z)p F5(\),)e F0(\307)p +FX(R)p F2(,)p F1(H)p F0(*)p FF(x)p F5(,)p Ga(\306)p FU(\006)p +FF(y)p F9(Z)p F2(,)p FF(z)p FU(\))p F2(k)p F0(j)p F5(,)p +F3(\()p F9(\303)p Ga(\030)p F3(\307)515 3546 y FY(6)p +FF(z)p F4(\000)p FY(\370)p F1({)p F2(,)p F5(,)g F2(X)p +F9(,)p FF(z)p FZ(\245)p F2(\361)p FY(\031)p F1({)p FF(y)p +F5(\()p Ga(\363)p FX(\177)p F9([)p FX(\011)p F6(\000)p +F2(\200)p F1(')p FX(\336)p F5(\))p FG(\372)p FF(x)p F1(S)p +F6(\017)p F5(.)515 3712 y FH(>)43 b(\(subst)e('m)i('b)g('\(a)f(b)h(\(a) +g(b)g(c\))g(d\)\))515 3812 y(\(a)f(m)i(\(a)e(m)i(c\))e(d\))515 +3978 y F6(\267)p F8(\242)p F7(,)p Ga(1)p FZ(Y)p FY(\370)p +F2(,)p F0(+)p F1($)p F9(<)p F0(j)515 4144 y FH(\(label)f(subst)g +(\(lambda)g(\(x)i(y)g(z\))1169 4243 y(\(cond)e(\(\(atom)g(z\))1474 +4343 y(\(cond)g(\(\(eq)h(z)h(y\))g(x\))1735 4443 y(\('t)f(z\)\)\))1430 +4542 y(\('t)g(\(cons)g(\(subst)f(x)i(y)g(\(car)f(z\)\))1866 +4642 y(\(subst)f(x)i(y)g(\(cdr)f(z\)\)\)\)\)\)\))p 515 +4713 1146 4 v 607 4768 a FC(3)642 4792 y Fv(\\)s Fp(\366)s +Fm(\336)s Fu(\267)s Fv(\242)s Fr(X)s Fj(\211)s Fw(\007)s +Fu(\217)s Ft(\352)s Fl(Y)s Fo(\275)t Fw(B)t(\030)s Fs(\307)t +Fj(c)s Fo({)t Fi(\020)t Fp(R)p FB(.)35 b Fw(\363)s Fj(\031)s +Fw(\213)s Fo({)s Fi(\020)s Fp(R)s Fl(\245)s Fw(~)s(\030)s +Fs(\307)s Fi(w)t Fq(\))p FB(Y)p Fq(\034)t Fp(\\)s Ff(\354)t +Fo({)s Fp(<)t Fn(j)t Fm(\336)515 4871 y Fo({)s Fp(<)s +Fn(j)p FB(,)c Fu(\267)s Fv(\242)s Ft(,)s Fw(1)s Fo(\275)s +Fw(B)s Fo(\224)s Fp(\030)s(<)s Fn(j)p FB(.)52 b Ft(,)s +Ff(\025)s Fv(p)s Ft(\013)s Fu(\342)s Fw(\363)s Fj(U)s +Fl(Y)s Ff(\237)s Fv(X)s Fu(\251)s Fo({)s Fn(\036)s Fp(\177)s(\244)s +Fr(X)s Fl(\177)t Fo(w)p FB(Y)p Fq(\034)s Fp(\\)t Ff(\354)p +FB(;)38 b Fu(\303)s Fv(X)s Fm(\230)s Fp([)p FB(,)515 +4950 y(lab)r(el)p Ft(,)p Fo(\326)p Fj(u)p Fs(\315)p Fm(\022)p +FB(.)1926 5255 y F5(4)p eop +%%Page: 5 5 +5 4 bop 515 523 a F6(\267)p F8(\242)p FW(;\020)p FF(f)p +F5(=\(lab)r(el)28 b FF(f)g F5(\(lam)n(b)r(da)f(\()p Fy(p)1624 +535 y FV(1)1662 523 y F5(.)14 b(.)f(.)h Fy(p)1814 535 +y Fx(n)1859 523 y F5(\))28 b FF(e)p F5(\)\))p F6(\217)515 +623 y FH(\(defun)41 b FF(f)j FH(\()p Fy(p)975 635 y FV(1)1011 +623 y FH(...)p Fy(p)1185 635 y Fx(n)1229 623 y FH(\))f +FF(e)p FH(\))515 722 y Ga(\225)p F0(4)515 888 y FH(\(defun)e(subst)g +(\(x)i(y)g(z\))602 988 y(\(cond)e(\(\(atom)h(z\))907 +1088 y(\(cond)g(\(\(eq)f(z)j(y\))e(x\))1169 1187 y(\('t)g(z\)\)\))863 +1287 y(\('t)h(\(cons)e(\(subst)g(x)j(y)f(\(car)f(z\)\))1299 +1386 y(\(subst)f(x)j(y)f(\(cdr)f(z\)\)\)\)\)\))515 1553 +y F4(S)p FX(l)p F1(\217)p F6(\267)p F8(\242)p Ga(\363)p +FZ(Y)p F3(\016)p F7(\027)p F1(t)p FX(\230)p F9([)p FY(U)p +F5(cond)p F2(,)p F1(H)p F0(*)p F1({)p FX(b)p F0(\016)p +FU(\006)p FW(\351)p F5(.)e F1(\221)p Ga(\030)p F3(\307)p +Ga(\303)p F0(\2434)p F5('t)p F1({)p FU(\006)p FW(\351)p +FU(\017)515 1652 y F0(4)p F9(\314)p F2(\304)p F3(\325)p +F1({)p F5(.)d Ga(\225)p F0(4)515 1752 y FH(\(cond)k(\()p +FF(x)29 b(y)p FH(\))44 b(\('t)e FF(z)p FH(\)\))515 1851 +y F1(\177)p F6(3)p Ga(\225)p F6(\267)p F8(\242)p Ga(\363)p +F8(\354)p FY(J)p Ga(\252)p FY(\323)p FZ(\245)p FY(U)p +F1({)515 1951 y FH(if)g FF(x)i FH(then)e FF(y)h FH(else)f +FF(z)515 2226 y FT(3)134 b FQ(\030)-118 b(\030)g(\030)p +Fe(J)g(J)g(J)p Fh(<)g(<)g(<)p FP(j)g(j)g(j)515 2407 y +FW(\021)s FX(l)s F6(\267)s F8(\242)s Ga(\213)s F7(\352)s +F2(,)s F0(+)s F9(<)s F0(j)s F1({)s F3(0)s(\033)p F5(,)p +F6(\267)s F8(\242)s F3(\312)r FW(\342)s F4(\324)r F3(\307)s +Ga(\306)r F0(\))s F2(v)r FU(*)s F3(n)s F7(u)r F1(\275)s +Ga(B)r(\030)s FY(J)r(c)s F1({)r F9(<)s F0(j)p F5(.)515 +2507 y F6(\217)q F7(\352)q F3(0)q F2(")q F6(\267)q F8(\242)q +Ga(Z)q FW(\237)q Ga(\030)q FY(J)q F2(\236)q FW(D)q F8(\334)q +F0(*)q F1({)q FW(;)q(\020)q F3(\033)p F5(.)46 b F6(\267)q +F8(\242)q Ga(~)p F5(c)p FF(x)p F5(r,)p F4(\331)q FZ(\245)p +FF(x)p F0(4)p F5(a)p F9(\335)p F5(d)p F1({)q FY(\223)q +F7(\357)p F5(,)p F7(u)q FW(;)515 2607 y(\020)r FY(#)r +Ga(a)r F1({)p F5(car)p F9(Z)p F5(cdr)p F1({)r FU(\034)r +F9(\\)p F5(.)41 b F2(\007)r FX(\230)p F5(\(cadr)30 b +FF(e)p F5(\))p F0(4)p F5(\(car)g(\(cdr)g FF(e)p F5(\)\))p +F1({)r FW(;)r(\020)p F5(,)p F0(\307)r F3(\()r F9(\303)p +FF(e)p F1({)r(\221)r F3(\023)r(\307)515 2706 y Ga(\303)p +F0(\243)p F5(.)515 2889 y FH(>)43 b(\(cadr)e('\(\(a)h(b\))h(\(c)g(d\))g +(e\)\))515 2989 y(\(c)f(d\))515 3088 y(>)h(\(caddr)e('\(\(a)h(b\))h +(\(c)f(d\))h(e\)\))515 3188 y(e)515 3287 y(>)g(\(cdar)e('\(\(a)h(b\))h +(\(c)g(d\))g(e\)\))515 3387 y(\(b\))515 3570 y F6(\267)p +F8(\242)p F9(\244)p Ga(~)p F5(\(list)28 b Fy(e)1057 3582 +y FV(1)1094 3570 y F5(.)14 b(.)g(.)g Fy(e)1244 3582 y +Fx(n)1288 3570 y F5(\))p F2(,)p F0(+)p F5(\(cons)28 b +Fy(e)1743 3582 y FV(1)1780 3570 y F5(.)14 b(.)g(.)g(\(cons)27 +b Fy(e)2147 3582 y Fx(n)2192 3570 y F5('\(\)\))h(.)14 +b(.)g(.)g(\).)515 3736 y FH(>)43 b(\(cons)e('a)i(\(cons)f('b)g(\(cons)g +('c)h('\(\)\)\)\))515 3835 y(\(a)f(b)i(c\))515 3935 y(>)f(\(list)e('a)i +('b)g('c\))515 4035 y(\(a)f(b)i(c\))639 4201 y FY(\031)p +Ga(\363)p F6(\267)p F8(\242)p F1(\275)p Ga(B\030)p FY(Jc)p +F9(<)p F0(j)p F5(.)37 b F6(\267)p Ga(\363)p F9(<)p F0(j)p +F8(\326)p F9(\200)p F8(\301)p FW(\034)p F7(\352)p F1(\232)p +F5(,)p Ga(1)p FX(K)p F2(/)p F9(<)p F0(j)p F9(Z)p F1(\275)p +Ga(B)p F0(\307)p F8(\242)p F1({)515 4300 y Ga(\306)p +F0(\))p F9(<)p F0(j)p F5(,)p Ga(\017)p F2(\033)p F8(\275)p +Ga(\246)p FY(\031)p F1(?{)p F5(common)27 b(Lisp)p F1({)p +F9(<)p F0(j)p F2(\340)p F6(B)p F5(.)616 4483 y(1.)41 +b(\(n)n(ull.)d FF(x)p F5(\))p F2(\177)p F0(A\307)p F1({)p +FU(\007)p F2(#)p F7(\336)p F0(4)p F3(d)p F0(4)p F7(8)p +F2(,)p F5(.)722 4699 y FH(\(defun)j(null.)h(\(x\))809 +4798 y(\(eq)h(x)g('\(\)\)\))722 4998 y(>)g(\(null.)f('a\))1926 +5255 y F5(5)p eop +%%Page: 6 6 +6 5 bop 722 523 a FH(\(\))722 623 y(>)43 b(\(null.)f('\(\)\))722 +722 y(t)616 934 y F5(2.)f(\(and.)c FF(x)30 b(y)p F5(\))p +F3(\()p F9(\303)p F5(t)p FX(\230)p F9(*)p F0(\307)p F1({)p +F7(\334)p F3(\307)p FU(\007)p F2(#)p F7(\336)p F1(\321)p +F0(4)p F5(t,)f F3(d)p FZ(\013)p F3(\()p F9(\303)p F5(\(\).)722 +1146 y FH(\(defun)41 b(and.)h(\(x)h(y\))809 1245 y(\(cond)f(\(x)h +(\(cond)e(\(y)i('t\))f(\('t)h('\(\)\)\)\))1071 1345 y(\('t)f +('\(\)\)\)\))722 1544 y(>)h(\(and.)f(\(atom)f('a\))i(\(eq)f('a)h +('a\)\))722 1644 y(t)722 1743 y(>)g(\(and.)f(\(atom)f('a\))i(\(eq)f('a) +h('b\)\))722 1843 y(\(\))616 2055 y F5(3.)e(\(not.)c +FF(x)p F5(\))p F3(\()p F9(\303)p F5(t)p FX(\230)p F9(*)p +F0(\307)p F1({)p FU(\007)p F2(#)p F7(\336)p F3(\()p F9(\303)p +F5(\(\),)p F3(\()p F9(\303)p F5(\(\))p FX(\230)p F9(*)p +F0(\307)p F1({)p FU(\007)p F2(#)p F7(\336)p F3(\()p F9(\303)p +F5(t.)722 2267 y FH(\(defun)k(not.)h(\(x\))809 2366 y(\(cond)g(\(x)h +('\(\)\))1071 2466 y(\('t)f('t\)\)\))722 2665 y(>)h(\(not.)f(\(eq)g('a) +h('a\)\))722 2765 y(\(\))722 2864 y(>)g(\(not.)f(\(eq)g('a)h('b\)\))722 +2964 y(t)616 3176 y F5(4.)e(\(app)r(end.)e Fy(\177)-25 +b F5(x)28 b(y\))p FX(R)p F7(\334)p F3(\307)p F2(,?)p +F3(\()p F9(\303)p F0(\307)p F8(\242)p F1({)p F7(\313)p +FW(\210)p F5(.)722 3387 y FH(\(defun)41 b(append.)g(\(x)i(y\))853 +3487 y(\(cond)f(\(\(null.)e(x\))j(y\))1115 3587 y(\('t)f(\(cons)f +(\(car)h(x\))h(\(append.)d(\(cdr)i(x\))h(y\)\)\)\)\))722 +3786 y(>)g(\(append.)e('\(a)h(b\))h('\(c)f(d\)\))722 +3885 y(\(a)h(b)g(c)g(d\))722 3985 y(>)g(\(append.)e('\(\))h('\(c)g +(d\)\))722 4085 y(\(c)h(d\))616 4296 y F5(5.)e(\(pair.)50 +b FF(x)33 b(y)p F5(\))p FX(R)s F7(\334)s F3(\307)s FY(#)s +F6(3)s F2(\237)s F1(\335)s({)s F2(,)p F5(,)p F3(\()s +F9(\303)s Ga(\030)s F3(\307)s Ga(\204)s F0(v)s Ga(\303)s +F0(\243)s F2(,)s F3(\350)r F2(\304)s F1({)r F2(,)p F5(,)p +F0(v)s Ga(\303)r F0(\243)s F2(,)722 4396 y F0(4)p FY(#)p +Ga(a)p F6(\240)p FZ(\230)p F1({)p F5(x,y)p F1({)p Ga(\303)p +F0(\243)p F1(\351)p F5(.)722 4608 y FH(\(defun)41 b(pair.)h(\(x)h(y\)) +809 4707 y(\(cond)f(\(\(and.)f(\(null.)g(x\))i(\(null.)e(y\)\))h +('\(\)\))1071 4807 y(\(\(and.)f(\(not.)h(\(atom)f(x\)\))h(\(not.)g +(\(atom)f(y\)\)\))1115 4907 y(\(cons)g(\(list)h(\(car)g(x\))g(\(car)g +(y\)\))1376 5006 y(\(pair.)f(\(cdr\))h(\(cdr)g(y\)\)\)\)\)\))1926 +5255 y F5(6)p eop +%%Page: 7 7 +7 6 bop 722 623 a FH(>)43 b(\(pair.)f('\(x)g(y)h(z\))g('\(a)f(b)h +(c\)\))722 722 y(\(\(x)g(a\))f(\(y)h(b\))g(\(z)g(c\)\))616 +938 y F5(6.)e(\(asso)r(c.)f FF(x)30 b(y)p F5(\))p FX(R)q +Ga(\306)q FU(\006)p FF(x)p F9(Z)q FY(o)q FX(\230)p F5(pair.)p +F9(<)q F0(j)q(\304)q F3(\()q F9(\303)q F1({)q F2(,)p +FF(y)p F5(,)p F3(\()q F9(\303)p FF(y)p FZ(\245)q F1(\221)q +Ga(\030)q F3(\307)q(n)q F9(\\)q FX(\230)q FY(\005)722 +1038 y F6(\036)p FW(G)p F1({)p F2(,)p F1({\221)p F3(\023\307)p +Ga(\303)p F0(\243)p F5(:)p F0(\307)p F1({\221)p Ga(\030)p +F3(\307)p Ga(\303)p F0(\2434)p FF(x)p F5(.)722 1254 y +FH(\(defun)41 b(assoc.)g(\(x)i(y\))809 1353 y(\(cond)f(\(\(eq)g(\(caar) +f(y\))i(x\))g(\(cadar)e(y\)\))1071 1453 y(\('t)h(\(assoc.)f(x)i(\(cdr)f +(y\)\)\)\)\))722 1652 y(>)h(\(assoc.)e('x)i('\(\(x)f(a\))h(\(y)f +(b\)\)\))722 1752 y(a)722 1851 y(>)h(\(assoc.)e('x)i('\(\(x)f(new\))g +(\(x)h(a\))f(\(y)h(b\)\)\))722 1951 y(new)515 2226 y +FT(4)134 b FQ(\030)-118 b(\030)g(\030)p FR(\307)g(\307)g(\307)p +Fd(\257)g(\257)g(\257)p Fc(\365)g(\365)g(\365)515 2407 +y Ga(O)r F1($)r F6(\267)r F8(\242)r F4(\025)r F3(\352)r +F1(\275)r Ga(B)r F9(<)r F0(j)r F7(u)r(\313)r FW(z)r F2(,)p +F5(,)p F6(\017)r F9(\246)r F2(,)r F1(H)r F0(*)r F1(\177)r(\177)p +F5(.)p Ga(\017)r FY(\216)r F0(\256)r(4)r Ga(\030)r F3(\307)r +Ga(\200)r F8(\233)r F1({)r F2(,)r F0(+)r F3(\033)p F5(,)515 +2507 y F4(\000)q FY(\005)q Ga(\030)q F2(Z)q F4(\021)p +F5(?)45 b FY(\031)q Ga(\363)q FW(\257)q F6(\365)q F7(u)q(\352)p +F5(.)g F6(\267)q F8(\242)q F7(,)q Ga(1)q FY(U)q Ga(\030)q +F3(\307)q F9(<)q F0(j)q FU(*)q F6(\217)q(\267)q F8(\242)q +Ga(\252)q FY(\323)q F1({)q FW(\211)q F0(:)q F4(\354)p +F5(:)p F1($)q F9(<)515 2607 y F0(j)p FX(R\177)p Ga(?)p +F5(Lisp)p F2(,)p F1(H)p F0(*)p FU(*\007)p F2(#)p F7(\336)p +F2(?)p F3(\()p F9(\303)p F0(\307)p F1({)p FZ(\212)p F5(.)28 +b FX(\230)p FY(\005)p F0(\304+)p F5(:)515 2789 y FH(\(defun)41 +b(eval.)g(\(e)i(a\))602 2889 y(\(cond)689 2989 y(\(\(atom)e(e\))i +(\(assoc.)e(e)i(a\)\))689 3088 y(\(\(atom)e(\(car)h(e\)\))733 +3188 y(\(cond)820 3287 y(\(\(eq)g(\(car)g(e\))g('quote\))f(\(cadr)h +(e\)\))820 3387 y(\(\(eq)g(\(car)g(e\))g('atom\))85 b(\(atom)129 +b(\(eval.)41 b(\(cadr)g(e\))i(a\)\)\))820 3487 y(\(\(eq)f(\(car)g(e\))g +('eq\))173 b(\(eq)217 b(\(eval.)41 b(\(cadr)g(e\))i(a\))2084 +3586 y(\(eval.)e(\(caddr)g(e\))i(a\)\)\))820 3686 y(\(\(eq)f(\(car)g +(e\))g('car\))129 b(\(car)173 b(\(eval.)41 b(\(cadr)g(e\))i(a\)\)\))820 +3786 y(\(\(eq)f(\(car)g(e\))g('cdr\))129 b(\(cdr)173 +b(\(eval.)41 b(\(cadr)g(e\))i(a\)\)\))820 3885 y(\(\(eq)f(\(car)g(e\))g +('cons\))85 b(\(cons)129 b(\(eval.)41 b(\(cadr)g(e\))i(a\))2084 +3985 y(\(eval.)e(\(caddr)g(e\))i(a\)\)\))820 4084 y(\(\(eq)f(\(car)g +(e\))g('cond\))85 b(\(evcon.)41 b(\(cdr)h(e\))h(a\)\))820 +4184 y(\('t)f(\(eval.)f(\(cons)h(\(assoc.)e(\(car)i(e\))h(a\))1561 +4284 y(\(cdr)f(e\)\))1299 4383 y(a\)\)\)\))689 4483 y(\(\(eq)g(\(caar)g +(e\))g('label\))733 4583 y(\(eval.)f(\(cons)g(\(caddar)g(e\))i(\(cdr)f +(e\)\))1038 4682 y(\(cons)f(\(list)h(\(cadar)f(e\))i(\(car)f(e\)\))g +(a\)\)\))689 4782 y(\(\(eq)g(\(caar)g(e\))g('lambda\))733 +4881 y(\(eval.)f(\(caddar)f(e\))1038 4981 y(\(append.)g(\(pair.)h +(\(cadar)g(e\))i(\(evlis.)e(\(cdr)85 b(e\))43 b(a\)\))1926 +5255 y F5(7)p eop +%%Page: 8 8 +8 7 bop 1430 523 a FH(a\)\)\)\)\))515 722 y(\(defun)41 +b(evcon.)g(\(c)i(a\))602 822 y(\(cond)e(\(\(eval.)g(\(caar)h(c\))g(a\)) +907 922 y(\(eval.)f(\(cadar)g(c\))i(a\)\))863 1021 y(\('t)g(\(evcon.)d +(\(cdr)i(c\))h(a\)\)\)\))515 1220 y(\(defun)e(evlis.)g(\(m)i(a\))602 +1320 y(\(cond)e(\(\(null.)g(m\))i('\(\)\))863 1420 y(\('t)g(\(cons)e +(\(eval.)85 b(\(car)42 b(m\))h(a\))1299 1519 y(\(evlis.)e(\(cdr)h(m\))h +(a\)\)\)\)\))515 1696 y F5(ev)-5 b(al.)p F1({\275)p Ga(B)p +F2(\007)p F6(\267)p F8(\242)p Ga(1)p FX(\003)p F7(\027)p +F1(t{\321)p Ga(\007)p F2(\237)p F5(.)37 b FX(t)p F6(\267)p +F8(\242)p F7(\037)p F8(D)p F0(\307)p F1({)p F8(\232)p +Ga(\030)p F2(\\)p F3(I)p F0(4)p FX(\230)p F9([)p F3(\323)p +FU(*)p F1({)p F5(.)639 1796 y(ev)-5 b(al.)p Ga(\213)6 +b F7(\334)g F3(\307)g FU(\007)g F2(#)g F7(\336)p F5(:)35 +b(e)p F0(4)6 b Ga(\007)g FX(F)g FZ(\212)g F1({)g F2(,)g +F1(H)g F0(*)p F5(,)37 b(a)p F0(4)6 b Ga(\204)g(\030)g +FY(J)g F3(\204)g(\311)g Ga(\306)g FU(\006)g F1({)g FZ(\212)g +F3(\350)g F2(\304)g F1({)515 1896 y F2(,)p F5(,)p FZ(Y)r +FY(J)r FZ(\212)r Ga(\213)r F1(\232)r FY(6)r F9(<)r F0(j)r +F1(\256)r Ga(~)r FZ(\245)r F1({)r F2(k)r F0(j)p F5(.)44 +b FZ(Y)r F3(\307)r FY(o)r FX(\230)p F5(pair.)p F1({)r +F3(\()r F9(\303)r FZ(\212)r F1({)r F2(,)r FW(w)r FU(\))r +FD(\242)r Fb(\270)p F5(.)g FZ(t)515 1995 y F0(4)p F6(\217)p +F7(\352)p F3(\350)p FZ(\005)p F9(Z)p F0(\234\302)p FZ(Y\253)p +F2(,)p F6(\267)p F8(\242)p F2(b)p FY(U)p F7(\352)p F5(pair.)p +F9(Z)p F5(asso)r(c..)639 2095 y(ev)-5 b(al.)p F1({)q +F3(\366)q FW(\045)q F0(4)q Ga(\030)q F3(\307)q Ga(\213)q +F0(\217)q F3(\307)q FU(\006)q FW(\351)q F1({)p F5(cond)p +F2(,)q F1(H)q F0(*)p F5(.)36 b FX(\230)q F9([)q F1(\351)q +F2(,)q F1(H)q F0(*)q FX(F)q FZ(\212)q FX(R)q FW(\373)q +Ga(\225)q F0(\307)q F1({)515 2195 y F7(\241)p FY(n)p +F5(.)h F1(\221)p Ga(\030)p F3(\307)p FU(\006)p FW(\351)p +F2(\377)p F7(\256)p Ga(\306)p FU(\006)p F5(.)g FX(\230)p +F9(*)p F5(e)p F0(4)p Ga(\306)p FU(\006)p F5(,)28 b F6(\267)p +F8(\242)p Ga(\363)p F9(\242)p FW(\270)p FZ(\245)p FY(\257)p +FZ(I)p F0(\307)p F1({)p FZ(\212)p F5(:)515 2372 y FH(>)43 +b(\(eval.)e('x)i('\(\(x)f(a\))g(\(y)h(b\)\)\))515 2471 +y(a)639 2648 y F1(\221)q F3(\023)q(\307)q FU(\006)q FW(\351)q +F0(4)q F8(\014)q Ga(\030)q F3(\307)p F5(cond,)35 b F0(\307)q +F2(\377)q F7(\256)q FY(o)q FX(\230)p F5(\()p FF(a)e F5(.)14 +b(.)f(.)h(\))p F1({)q F2(,)q F1(H)q F0(*)p F5(,)33 b +F4(\331)q FZ(\245)p FF(a)p F0(4)q Ga(\306)q FU(\006)p +F5(.)46 b FZ(Y)q FG(\335)515 2748 y F7(i)p F0(\304)p +Ga(\213)p F1({)p Ga(\306)p F0(\))p F2(v)p FU(*)p F3(n)p +F5(,)28 b F8(\232)p F3(\307)p F1(\351)p Ga(a\030)p F6(\036)p +FU(\006)p FW(\351)p F5(.)515 2925 y FH(>)43 b(\(eval.)e('\(eq)h('a)h +('a\))f('\(\)\))515 3025 y(t)515 3124 y(>)h(\(eval.)e('\(cons)g(x)i +('\(b)g(c\)\))907 3224 y('\(\(x)f(a\))h(\(y)f(b\)\)\))515 +3324 y(\(a)g(b)i(c\))515 3501 y FZ(Y)p FW(\001)p F3(\307)p +FU(\006)p FW(\351)p F5(\()p F2(\370)p F7(\352)p F5(quote\))p +F1(\321\256)p Ga(~)p F5(ev)-5 b(al.)p F7(u)p FY(\257)p +FZ(I)p FU(\007)p F2(#)p F7(\336)p F1({)p FZ(\212)p F5(.)639 +3600 y FU(!)r F9(\200)r F7(\334)r F3(\307)r FU(\006)r +FW(\351)r F3(\315)r(\205)r Ga(\354)r FY(J)p F5(.)32 b +F6(\217)r F7(\352)r FX(F)p F5(cond)p F2(,)r F1(H)r F0(*)r +F1({)r FZ(\212)r F6(\267)r F8(\242)r F1(\256)r Ga(~)r +F7(\352)r Ga(\030)r F3(\307)r FW(w)p F5(ev)n(con.)p F1({)515 +3700 y F3(y)q FZ(\317)q F9(<)q F0(j)p F5(.)40 b F0(\307)q +F1(\224)q F9(\030)q F1(\217)q(\351)p F5(cond)p FU(\006)q +FW(\351)q(\237)q FY(q)q FX(F)q FZ(\212)p F5(,)p FY(\257)q +FZ(I)q F1(\221)q Ga(\030)q F3(\307)q Ga(\303)q F0(\243)q +F3(\()q F9(\303)p F5(t)p F1({)q FU(\006)q FW(\351)p F5(.)e +FX(\230)q F9(*)q FZ(I)515 3800 y F1(t)p F7(\352)p FZ(Y)p +FY(\370)p F1({)p FU(\006)p FW(\351)p F5(,)28 b F0(\307)p +F3(\()p F9(\303)p F1($)p FU(\006)p FW(\351)p F1({\221)p +F3(\023\307)p Ga(\303)p F0(\243)p F5(.)515 3977 y FH(>)43 +b(\(eval.)e('\(cond)g(\(\(atom)g(x\))i('atom\))1212 4076 +y(\('t)f('list\)\))907 4176 y('\(\(x)g('\(a)g(b\)\)\)\))515 +4276 y(list)639 4453 y F1(\221)p F3(\023\307)p FU(\006)p +FW(\351)p F1({)p FU(!)p F9(\200)p F2(\\)p F3(I)p F2(\377)p +F7(\256)p F9(<)p F0(j)p F1(\256)p Ga(~)p F5(.)35 b F0(\307)p +FG(\262)p Ga(\306)p FU(\006)p F6(\017)p F9(\246)p F6(\217)p +F0(\307)p F1({)p FZ(\212)p F5(\()p Ga(a)p F3(\224)p F0(4)p +F5(lam)n(b)r(da)515 4552 y F9(\335)p F5(lab)r(el)p F2(,)p +F1(H)p F0(*)p F5(\))p FX(l)p F9(\200)p F1(\351)p F0(\304)p +F1(z)p FW(\210)p F9(*)p F2(,)p F1(H)p F0(*)p FX(F)p FZ(\212)p +F5(.)28 b Ga(\225)p F0(4)515 4729 y FH(\(eval.)41 b('\(f)h('\(b)h +(c\)\))820 4829 y('\(\(f)f(\(lambda)e(\(x\))j(\(cons)e('a)i +(x\)\)\)\)\))515 5006 y F2(#)p F6(\217)1926 5255 y F5(8)p +eop +%%Page: 9 9 +9 8 bop 515 523 a FH(\(eval.)41 b('\(\(lambda)f(\(x\))i(\(cons)g('a)g +(x\)\))h('\(b)f(c\)\))820 623 y('\(\(f)g(\(lambda)e(\(x\))j(\(cons)e +('a)i(x\)\)\)\)\))515 789 y F0(\307)p F3(\()p F9(\303)p +F5(\(a)27 b(b)h(c\).)639 888 y(ev)-5 b(al.)p F1({)r FU(!)r +F9(\200)p F5(cond)p F7(\334)r F3(\307)r FU(\006)r FW(\351)r +F2(\377)r F7(\256)r F1(\221)r Ga(\030)r F3(\307)r Ga(\303)r +F0(\243)r(4)p F5(lam)n(b)r(da)p F9(\335)p F5(lab)r(el)p +F1({)r F9(<)r F0(j)r F1(\256)r Ga(~)p F5(.)p F6(\217)r +F7(\352)515 988 y F1(\351)p F5(lab)r(el)32 b F2(,)s F1(H)s +F0(*)s FX(F)s FZ(\212)p F5(,)e FY(\013)s FG(\262)s F9(<)s +F0(j)s F8(\326)s F9(Z)s(<)s F0(j)s FG(\375)s FX(\374)s +FY(\270)s FX(\234)s F9(\242)s FW(\270)p F5(,)f FX(l)s +F9(\200)s F1(\256)s Ga(~)p F5(ev)-5 b(al.)p F1(\351)s +Ga(\030)s F3(\307)s F4(\023)515 1088 y F2(\\)p Ga(\213)p +F5(lam)n(b)r(da)p F1({)p F2(,)p F1(H)p F0(*)p FX(F)p +FZ(\212)p F5(.)27 b F9(\375)p F5(:)515 1270 y FH(\(eval.)41 +b('\(\(label)f(firstatom)g(\(lambda)h(\(x\))1735 1370 +y(\(cond)h(\(\(atom)f(x\))i(x\))1997 1469 y(\('t)f(\(firstatom)d(\(car) +j(x\)\)\)\)\)\))907 1569 y(y\))820 1669 y('\(\(y)g(\(\(a)g(b\))h(\(c)g +(d\)\)\)\)\))515 1851 y F2(#)p F6(\217)515 2017 y FH(\(eval.)e +('\(\(lambda)f(\(x\))994 2117 y(\(cond)i(\(\(atom)f(x\))i(x\))1256 +2217 y(\('t)f(\(firstatom)d(\(car)j(x\)\)\)\)\))907 2316 +y(y\))863 2416 y('\(\(firstatom)994 2516 y(\(label)f(firstatom)f +(\(lambda)h(\(x\))1735 2615 y(\(cond)h(\(\(atom)f(x\))i(x\))1997 +2715 y(\('t)f(\(firstatom)d(\(car)j(x\)\)\)\)\)\)\))951 +2814 y(\(y)g(\(\(a)h(b\))f(\(c)h(d\)\)\)\)\))515 2980 +y FU(!)p FZ(\252)p F3(\()p F9(\303)p F5(a.)639 3080 y +FU(!)8 b F9(\200)p F5(,)p F1(\351)g FY(o)g FX(\230)p +F5(\(\(lam)n(b)r(da)43 b(\()p Fy(p)1550 3092 y FV(1)1588 +3080 y F5(.)14 b(.)f(.)h Fy(p)1740 3092 y Fx(n)1785 3080 +y F5(\))43 b FF(e)p F5(\))f Fy(a)2016 3092 y FV(1)2053 +3080 y F5(.)14 b(.)g(.)g Fy(a)2208 3092 y Fx(n)2253 3080 +y F5(\))p F1({)8 b F2(,)g F1(H)g F0(*)g FX(F)g FZ(\212)p +F5(,)p FY(\013)g F1(\256)g Ga(~)p F5(evlis.)p F7(u)515 +3180 y FX(F)s F1(z)s FU(\007)s F2(#)s F7(\336)p F5(\()p +Fy(a)1018 3192 y FV(1)1055 3180 y F5(.)14 b(.)g(.)f Fy(a)1209 +3192 y Fx(n)1255 3180 y F5(\))p F1(\351)s Ga(a)s F1({)s +FZ(\212)p F5(\()p Fy(v)1700 3192 y FV(1)1737 3180 y F5(.)h(.)g(.)g +Fy(v)1888 3192 y Fx(n)1933 3180 y F5(\),)p FG(\262)p +F5(\()p Fy(p)2145 3192 y FV(1)2183 3180 y Fy(v)2223 3192 +y FV(1)2261 3180 y F5(\).)g(.)g(.)g(\()p Fy(p)2478 3192 +y Fx(n)2523 3180 y Fy(v)2563 3192 y Fx(n)2608 3180 y +F5(\))p F6(\026)s FW(\034)s F1(t)s F9(\242)s FW(\270)s +F7(\260)p F5(,)34 b FX(l)s F9(\200)515 3279 y F1(\351)p +FF(e)p FX(F)p FZ(\212)p F5(.)28 b Ga(\225)p F0(4)515 +3462 y FH(\(eval.)41 b('\(\(lambda)f(\(x)i(y\))h(\(cons)f(x)h(\(cdr)f +(y\)\)\))907 3562 y('a)907 3661 y('\(b)g(c)i(d\)\))820 +3761 y('\(\)\))515 3944 y F2(#)p F6(\217)515 4110 y FH(\(eval.)d +('\(cons)g(x)i(\(cdr)f(y\)\))820 4209 y('\(\(x)g(a\))h(\(y)f(\(b)h(c)g +(d\)\)\)\))515 4375 y FU(!)p FZ(\252)p F3(\()p F9(\303)p +F5(\(a)27 b(c)h(d\).)515 4650 y FT(5)134 b Fh(\200)-118 +b(\200)g(\200*)g(*)g(*)515 4832 y FW(\021)r FX(l)r F7(\256)r +FW(\211)r F7(\352)p F5(ev)-5 b(al)p F0(4)r FX(\230)r +F9([)r F3(\323)r FU(*)r F1({)p F5(,)27 b FX(t)r F6(\267)r +F8(\242)r F9(\303)r(,)r F6(>)r F7(\037)r F8(D)r Ga(\030)r +FY(\005)r FZ(Y)r Ga(?)r F6(\233)r FZ(\370)r F0(\037)r +F8(\217)p F5(.)d F6(\267)r F8(\242)r Ga(\363)r FZ(Y)515 +4931 y F3(\016)q F1(z)q(t)q F7(\352)q Ga(\030)q F3(\307)q(:)q +F2(\236)q Ga(\200)q F8(\233)q F1({)q FW(\017)q F0(\256)q +F8(\334)q FY(n)p F5(.)38 b FW(\235)q Ga(~)p F5 +(quote,atom,eq,car,cdr,cons,)p F9(Z)p F5(cond,)26 b F6(\267)1926 +5255 y F5(9)p eop +%%Page: 10 10 +10 9 bop 515 523 a F8(\242)s F1(\275)s Ga(B)s F7(\352)s +F9(<)s F0(j)p F5(ev)-5 b(al.,)p F0(\307)s(/)s(")s FX(\336)s +F0(")s FY(\031)s F7(\352)s F6(\267)s F8(\242)s F1({)s +Ga(\252)s FY(\323)p F5(,)p Ga(~)s F0(\307)s F7(,)s Ga(1)s +F1(\275)s Ga(B)s FX(\177)s F9([)s F6(\267)s F8(\242)s +FY(.)s Ga(\007)s F1({)515 623 y F3(\003)p F6(i)p F1({)p +F9(<)p F0(j)p F5(.)639 722 y F1(h)p FX(l)p FZ(\000)p +Ga(.\213)p F7(\352)p F3(\310)p FZ(\253)p FW(\017)p F0(\256)p +F8(\334)p FY(n)p F5(|)p FU(!)p FZ(\315)p F8(\326)p F1({)p +F0(4)p F6(C)p F8(\010)p F9(\345)p F5(.)38 b F1(b)p F0(4)p +F6(C)p F8(\010)p F9(\345)p F2(\307)p FY(\223)p F4(\012)p +Ga(1)p F1(\326\303)p F5(.)515 822 y FX(\230)s F9(*)s +F4(\034)s Ga(\007)s(\030)s FZ(\253)s F8(\303)s F0(c)s(\256)s +F3(\033)s F1({)s Ga(\252)s FY(\323)p F5(,)e F4(\034)s +F7(,)s F4(\025)s FY(\211)s Ga(\007)s F3(\315)s F2(\344)s +FY(6)s F1({)p F5(,)h F3(\015)s FZ(Y)s FW(\322)s F0(4)s +Ga(\325)s F9(?)s F8(p)s F7(\013)s F6(\342)s F1(\275)515 +922 y Ga(B)p F5(Lisp)p F1({)p F8(\370)p F2(\))p FZ(\203)p +Ga(\030)p F5(.)639 1021 y Ga(\325)r F9(?)r F8(p)r F7(\013)r +F6(\342)r Ga(\225)p F5(1960)p F4(#)r F1(\275)r Ga(B)r +F1({)r Ga(\252)r FY(\323)r F9(\244)r FX(b)r F2(X)r FX(\350)r +F1(\300)r F6(\334)p F5(.)d F0(\307)r F8(\226)r Ga(\213)r +F3(\202)r FU(*)r Ga(~)p F5(,)g F8(\226)r Ga(\213)r F7(\313)r +FY(\231)r FZ(\211)515 1121 y FY(q)p F5(\()p F0(\307)q +F1(z)q F9(Z)q F3(\202)q FU(*)q Ga(~)q(\363)q(\030)q F4(\345)q +F2(b)q Ga(\213)q(~)p F5(\),)27 b F8(\226)q Ga(\213)q +F0(")q FW(\023)q F7(,)q Ga(~)q F1({)q F0(j)p F5(,)2413 +1091 y FV(4)2479 1121 y F8(\226)q Ga(\213)q F1(\304)q +F0(\325)q F7(,)q F0(@)q Ga(\255)p F5(.)39 b F1(b)q FZ(Y)q +FY(J)515 1220 y(!)p FZ(\233)p F7(,)p Ga(1)p F8(\015)p +FX(|)p FW(\257)p FY(\307)p F1(\217)p Ga(~)p F9(\364)p +FX(\350)p F1({)p F3(\003)p F6(i)p F1(S)p F8(h)p F7(u)p +F2(V)p FW(\315)p F5(.)31 b(Steele)p F9(Z)p F5(Sussman)p +Ga(\363\030)p F4(\237)p FW(w)p FU(\))p F5(\\)p FW(\211)515 +1320 y F0(:)p F4(\354)p F1({)p Ga(2)p F0(b)p F5(")p F1({)p +FZ(\315)p F8(\326X)p F6(\251)p FZ(\245)p F8(\303)p F0(c)p +F7(\352)p FX(\230)p F9([)p FU(\))p F1(t)p FZ(Y)p F1(\232)p +F5(.)2240 1290 y FV(5)639 1420 y FX(\230)r F9(*)r F4(\034)r +F7(\256)r FW(\211)r F7(\352)r Ga(\325)r F9(?)r F8(p)r +F7(\013)r F6(\342)r F1({)p F5(ev)-5 b(al,)31 b F4(\000)r(\034)r +FW(\322)r F2(X)r FW(\235)r(\235)r F0(4)r F7(\256)r FW(\211)r +F7(\352)r F2(\307)r FY(\223)r Ga(\252)r FY(\323)r F7(\273)r +F0($)r FZ(\245)r F1({)515 1519 y Ga(\030)q F3(\307)q +FW(~)q F1(\343)p F5(.)45 b FZ(Y)q FY(J)q F0(\207)q FY(.)q +FZ(\226)q FW(\230)q FX(\205)q F0(4)p F5(Lisp)p F1({)q +Ga(\252)q(B)q F9(X)q FY(e)p F5(.)i F0(\304)q Ga(1)q F1(,)q +F8(\354)q FZ(\253)q Ga(?)q(B)q FX(\336)p F5(,)33 b FY(\246)q +F6(\363)q Ga(\325)q F9(?)q F8(p)515 1619 y F7(\013)s +F6(\342)s F1({)s Ga(\306)s FZ(\315)s FY(5)s F6(\267)s +F8(\242)s FZ(0)s F0(+)s F7(\352)p F5(Lisp)p FW(\304)s(\276)s +F0(4)s(\037)s F8(\217)p F5(.)f Ga(\246)s F4(\331)s F0(\200)p +F5(Lisp)p F0(4)s F8(p)s F7(\013)s F6(\342)s F1({)s FX(\367)s +FW(\017)p F5(,)p F2(X)s FX(\230)s F0(\200)515 1719 y(4\306)p +F1({)p F3(\025)p FY(\031)p F5(.)40 b F0(\307)p F2(X)p +F0(4\011)p F7(u)p FW(\322)p F0(4)p Ga(\030)p F8(\240)p +Ga(~\225)p FX(|)p F3(\323)p FZ(\234)p F4(\025)p F5(,)34 +b F7(O)p F0(\244)p Ga(\306)p FY(n)p F7(\015)p F3(\025)p +F9(\335)p F6(3)p F1(\177)p F2(\200)p F1(')p FX(\177)p +F6(\326)515 1818 y F1({)p Ga(\252)p FY(\323)p F5(.)28 +b F0(\3074)p F4(\034)p F0(A)p F6(C)p F3(\332)p F7(\256)p +F9(\232)p FW(\017)p F0(\256)p F1({)p FW(\210)p F9(*)p +F5(\()p FZ(\203)p Ga(\030)p F5(\).)639 1918 y F0(\261)9 +b FZ(\370)g F0(\036)g FW(-)g F1({)g F6(M)g Ga(#)p F5(,)47 +b FZ(\245)9 b F9(\377)g Ga(\252)g FY(\323)p F5(,)42 b +F9(\375)9 b FG(\372)g FZ(\245)g FW(-)g F2(\200)g(\307)g +FY(\223)g Ga(\312)g F0(&)g Ga(~)g F1({)g Ga(\252)g FY(\323)p +F5(,)42 b FZ(t)9 b Ga(\030)g FZ(\227)g F1(\217)515 2017 +y FY(5)p F5(Lisp)p F7(")p FW(\243)p F5(.)37 b Ga(O)p +F1($)p F6(/)p F9(,)p F7(\256)p FW(\211)p F5(ev)-5 b(al)p +F4(\034)p FZ(t)p Ga(\363)p F8(\322)p FG(\270)p FW(R)p +F7(u)p F1({)p FZ(\314)p F8(\026)p FW(\017)p F0(\256)p +F8(\334)p F0(*)p F9(\314)p F0(4\037)p F8(\217)p FY(\370)p +F5(.)515 2292 y FT(6)134 b Fa(\325)-118 b(\325)g(\325)p +FP(:)g(:)g(:)515 2474 y FG(\262)r Ga(\325)r F9(?)r F8(p)r +F7(\013)r F6(\342)r F1({)r FW(\020)r F9(R)r F3( )r Ga(H)r +F6(\217)r F1(S)r F8(h)r F1({)r F9(,)r F2(\307)r FZ(\245)r +F6(\267)r FW(\246)r F7(,)r F4(\025)r F1(\217)r FX(\350)r +FU(\))s F3(\225)r F1(\304)p F5(.)38 b F6(\267)r Ga(\213)r +F9(,)r FX(t)r F1(S)r F8(h)515 2573 y F3(\315)p FX(\216)p +Ga(4\335)p F1(\326{)p F4(')p F6(>)p F5(,)28 b F1(b)p +F0(4)p F6(\267)p F9(\244)p F0(4)p FY(.)p FG(\342)p F2(\321)p +Ga(\306)p FZ(\202)p Ga(\306)p F6(\233)p F5(.)639 2673 +y Ga(\363\325)p F9(?)p F8(p)p F7(\013)p F6(\342)p F1({)p +F8(X)p F6(\251)p FZ(\245)p F5(,)p FW(")p Ga(~)p F5(f)p +F7(u)p F2(,)p F0(+)p F5(,)k F3(\015)p F2(X)p F0(4)p F7(8)p +F2(,)p F5(.)39 b F6(\267)p Ga(~)p F7(8)p F2(,,)p F0(+)p +FW(")p Ga(1)p F0(&)p F7(\276)p FU(\006)515 2773 y F4(\025)p +Ga(\363)p F5(Common)27 b(Lisp)p FZ(\245)p Ga(\344)p FY(q)p +F5(.)37 b(\(\014xme\))639 2872 y F6(\267)s F8(Q)s F9(,)s +F7(\352)s F3(\350)s FZ(\005)p F5(dotted)e(pairs,)f Ga(O)s +F6(\217)s F4(\034)s F2(X)s FY(\211)s Ga(\007)s F0(\307)s +F7(u)s(\256)s FW(\211)p F5(ev)-5 b(al.)57 b F6(\267)s +Ga(\017)s F8(\226)s Ga(\213)s F6(\012)p F5(apply)-7 b(,)515 +2972 y F0(\257)p FX(l)p F0(4)p F5(apply\()p F0(\307)p +F1({)p FZ(\000)p F4(\317)p FY(o)p F0(*)p F5(,)30 b FZ(\314)p +Ga(\007)p FU(*)p Ga(~)p F0(4)p Ga(Z~)p FU(\007)p F2(#)p +F7(\336)p F5(\),)h FG(\372)p Ga(\325)p F9(?)p F8(p)p +F7(\013)p F6(\342)p Ga(\363)p F5(1960)p F4(#)p F2(\301)515 +3072 y F6(\217)p F4(\312)p F2(\()p F9(<)p F0(j)p F5(,)d(ev)-5 +b(al)p FZ(\220)p F0(4)p F2(X)p F9(,)p F0(4)p FG(\372)p +F5(apply)p F1(\256)p Ga(~)p F1({)p FU(\006)p F2(\307)p +FY(\223)p F7(u)p F6(q)p F2(\304)p F0(\304)p Ga(\213)p +F1({)p F3(\323)p FU(*)p F5(.)639 3171 y F6(\267)q F1(\275)q +Ga(B)q F7(\352)p F5(list)p F9(Z)p F5(c)p FF(x)p F5(r)p +F1(\177)q FU(*)q F6(\217)q FW(;)q(\020)q F3(\033)q Ga(O)q +F6(\217)q F8(p)q F7(\013)q F6(\342)q FW(\322)q F0(4)q +FZ(Y)q F8(\217)q FU(\))q F1({)p F5(.)42 b F0(")q FW(\023)q +FX(\336)p F5(c)p FF(x)p F5(r)p F1(\177)q F7(,)q Ga(1)515 +3271 y FG(\372)q F1(\275)q Ga(B)q F6(\217)q F4(\312)q +F6(/)q F1({)q F9(<)q F0(j)p F5(.)47 b(List)p Ga(\017)q +F7(,)q Ga(1)q FZ(Y)q FY(\370)p F5(,)32 b FX(\230)q F9(*)q +F6(\267)q F8(\242)q FY(\177)q F3(\225)p F5(ev)-5 b(al,)32 +b FZ(Y)q F9(i)q FX(\216)q Ga(4)q FU(\))q F1(t)p F5(,)h +FX(t)q F9(<)515 3370 y F0(j)p F7(,)p Ga(1)p FW(z)p F0(I)p +FX(\177)p Ga(?)p F0(j)p F8(\370)p F1({)p FU(\007)p F2(#)p +F7(\336)p F5(.)639 3470 y F8(p)r F7(\013)r F6(\342)r +F1({)r F8(X)r F6(\251)r FZ(\245)r(\220)r Ga(\213)r F6(\312)r +F3(\307)r Ga(\306)r F0(\))r F2(v)r FU(*)r F3(n)p F5(.)39 +b F0(\306)r(&)r Ga(~)r F7(\352)p F5(cond)p F9(Z)p F5(quote,)p +F1(b)r F7(,)r F4(\025)r FG(\262)r F0(\307)r F8(\242)515 +3570 y FU(*)q F6(\217)q F0(\306)q F1({)q Ga(\303)q(\252)q +FY(\323)q F1({)q Ga(\030)q F2(\\)q F3(I)p F5(.)25 b F6(3)q +FY(\370)q F0(\306)q Ga(\017)q F8(\226)q Ga(\213)q F1(\275)q +Ga(B)q F8(\\)q F9(\366)q F2(v)q FU(*)q F3(n)p F5(and)p +F9(Z)p F5(not,)f FZ(Y)q F2(X)q F0(4)q F3(\307)q F6(\257)515 +3669 y(\013)p F5(,)j Ga(O)p F6(\217)p F0(\307)p F8(\242)p +F7(,)p Ga(1)p FG(\372)p F1(\275)p Ga(B)p F2(\304)p F9(\\)p +F0(7)p F1({)p F9(<)p F0(j)p F5(.)639 3769 y Ga(\363)p +F5(ev)-5 b(al.)p F1({)q(\275)q Ga(B)q FZ(\245)q F6(\267)q +F8(\242)q F1(\256)q Ga(~)q F7(\352)q F4(\331)q F0(\307)q +F9(<)q F0(j)q FX(\230)p F5(pair.)p F9(Z)p F5(asso)r(c.,)p +F1(b)q FX(\177)q F9([)q F6(\267)q F8(\242)q Ga(~)q(\306)q +F0(\))q F2(v)q FU(*)515 3869 y F3(n)p F1(\275)p Ga(B)p +F1({)p F9(<)p F0(j)p F1(\256)p Ga(~)p F1(\321)p F7(,)p +Ga(1~)p F5(ev)g(al.)p F7(u)p F1(S)p F6(\017)p F5(.)37 +b F9(\375)515 4035 y FH(\(assoc.)j(\(car)i(e\))h(a\))515 +4201 y F4(\025)p FY(U)p F2(\304)515 4383 y FH(\(eval.)e('\(\(label)f +(assoc.)1212 4483 y(\(lambda)h(\(x)i(y\))1299 4583 y(\(cond)f(\(\(eq)g +(\(caar)f(y\))i(x\))g(\(cadar)e(y\)\))1561 4682 y(\('t)h(\(assoc.)f(x)i +(\(cdr)f(y\)\)\)\)\)\))p 515 4754 1146 4 v 607 4809 a +FC(4)642 4832 y Fw(\363)p Fv(p)p Ft(\013)p Fu(\342)p +Fo({)p FB(1960)27 b Ff(#)p Fo({)p FB(Lisp)p Fl(\245)p +FB(,)d Fq(\))p Fn(\256b4)p Ft(,)p Ff(\025)p Fo({)p FB(,)i +Fr(\007)p Fm(\230)p Fw(~\030)p Fs(\307)p Fw(\213)p FB(n)p +Fs(\307)p Fw(\306)p Fq(\006)p Fo({)p Fr(,,)p Fn(+j)p +FB(n.)607 4888 y FC(5)642 4911 y FB(Guy)34 b(Lewis)f(Steele,)j(Jr.)60 +b(and)34 b(Gerald)g(Ja)n(y)g(Sussman,)g(\\The)g(Art)f(of)g(the)h(In)n +(terpreter,)j(or)c(the)515 4990 y(Mo)r(dularit)n(y)23 +b(Complex\(P)n(arts)h(Zero,One,and)g(Tw)n(o\),")g(MIT)g(AL)f(Lab)h +(Memo)f(453,)h(Ma)n(y)f(1978.)1905 5255 y F5(10)p eop +%%Page: 11 11 +11 10 bop 907 523 a FH(\(car)42 b(e\))907 623 y(a\))863 +722 y(\(cons)g(\(list)f('e)i(e\))g(\(cons)e(\(list)h('a)h(a\))g +(a\)\)\))639 905 y F8(p)r F7(\013)r F6(\342)r F1({)p +F5(ev)-5 b(al)p Ga(\213)r(\030)r F3(\307)r F1(F)r F6(\330)p +F5(.)29 b F1(\221)p F5(16)p FY(q)r F0(4)p F5(\()p FY(#)r +F1(h)r Ga(\225)p F5(\)\(evlis.)44 b(\(cdr)30 b(e\))h(a\))p +F3(\015)r F2(X)r F0(4)p F5(\(cdr)f(e\),)515 1005 y FZ(Y)r +F0(&)r F1(z)r FU(\007)r F2(#)r F7(\336)r Ga(\363)r(\030)r +F3(\307)r Ga(\213)r F8(\326)r F9(<)r F0(j)r F1({)r(\256)q +Ga(~)r FZ(\245)q FG(\372)r FX(F)r FZ(\212)q F7(\334)r +F1(')p F5(.)24 b FZ(Y)r FY(\027)r F0(+)r F1(h)r F8(X)r +F6(\251)r F3(\025)r F2(,)r F1({)r F0(\036)r F9(\177)p +F5(,)515 1104 y(ev)-5 b(al)p F1({)p FZ(Y\253)p F8(\303)p +F0(c)p F9(\244)p F8(\226)p Ga(\213~)p F5(IBM)26 b(704)p +F9(\345)p F4(\354)p Ga(\252)p FY(\323)p F0(")p FY(\031)p +F5(.)36 b F0(\307)p F9(\244)p FZ(y)p F8(\322)p F7(\352)p +FX(\230)p F9(*)p F2(X)p FX(V)p Ga(\344)p FY(q)p F2(\307)p +FY(\223)p F5(,)515 1204 y Ga(\007)p FG(\342)p FZ(y)p +F2(X)p F9(\013)p F1(\365\341{)p F2(\307)p FY(\223)p F1({)p +FZ(t)p FX(h)p FY(u)p F0(4)p F1(\365)p F8(\217)p F7(h)p +F4(\012)p F5(.)639 1303 y F6(\267)p F9(\244)p Ga(\363)p +F8(p)p F7(\013)p F6(\342)p F1({)p F8(X)p F6(\251)p FZ(\245)p +F4(\215)p F1(t)p Ga(\030)p F3(\307)p F6(\257\013)p F5(.)h +Ga(\363)p F1(\275)p Ga(B)p F7(\352)p F5(ev)-5 b(al)p +FZ(\203)p F9(\200)p F5(,)26 b F0(\306)p FW(\025)p FY(\231)p +F3(\311)p F2(\361)p F7(\352)p Ga(\030)p FY(J)515 1403 +y F3(\315\260)p F9(\377)p F1({)p F9(<)p F0(j)p F5(|)p +FW(z)p F0(I)p F4(\331)p F0(\307)p F9(<)p F0(j)p FU(*)p +F6(\217)p FU(\007)p F2(#)p F7(\336)p F1({)p F9(<)p F0(j)p +F5(.)37 b F0(\306)p F1(\275)p Ga(B)p F7(\352)p F5(maplist:)515 +1586 y FH(\(label)k(maplist)820 1685 y(\(lambda)g(\(x)h(f\))907 +1785 y(\(cond)g(\(\(null)f(x\))h('\(\)\))1169 1885 y(\('t)g(\(cons)f +(\(f)i(x\))g(\(maplist)d(\(cdr)i(x\))h(f\)\)\)\)\)\))515 +2067 y FX(l)q F9(\200)q Ga(~)q F0(\307)q FY(U)q F7(\352)q +Ga(\030)q F3(\307)q FU(\))q F6(\207)q F3(I)q F1({)q FW(;)q +F1(\\)q F9(<)q F0(j)p F5(di\013.)38 b F1(b)q F0(4)p F5(di\013)p +F1(\004)q F3(\311)p F5(maplist)p Ga(\030)q F3(\307)q +Ga(~)p FF(x)p FU(\))q F2(k)q F0(j)q F1({)515 2167 y F9(<)p +F0(j)p F5(,)28 b F1(\351)p F0(\307)p F1({)p Ga(Z~)p FG(\372)p +F5(maplist)p FZ(\245)p F1({)p F2(k)p F0(j)p F5(x)p F0(\304)p +F2(S)p F9(\334)p F5(.)2146 2137 y FV(6)639 2267 y FZ(Y)q +F0(4)q F9(\007)q Ga(\225)q F1(\304)q F0(\325)q F7(,)q +F0(@)q Ga(\255)q F6(\210)q FY(\030)q(u)q F1({)q FY(|)q +F2(&)q FZ(y)q FW(\342)p F5(,)j F9(\375)q F0(&)q(4)q FU(!)q +FZ(\000)q F1({)q F3(\315)q(\260)q F9(\377)q(<)q F0(j)q +F1({)q F7(\276)q FU(\006)q Ga(\017)515 2366 y(O)p F6(\217)p +F0(\307)p F3(\015)p F2(\361)p F1(F)p F5(.)f F7(,)p F4(\025)p +F8(p)p F7(\013)p F6(\342)p Ga(\363)p F5(1960)p F4(#)p +F9(\244)p F8(\226)p Ga(\213)p F2(\337)p F3(I)p Ga(?)p +F0(#)p F1(t\304)p F0(\325)p F7(,)p F0(@)p Ga(\255)q F1({)p +F9(9)p Ga(?)p F5(.)46 b F1(\304)p F0(\325)515 2466 y +F7(,)p F0(@)p Ga(\255)p F8(\015)p FX(|)p FW(\257)p Ga(I)p +F1(\217)p Ga(\363)p F5(Lisp)p F0(")p FY(\031)p FZ(\245)p +F1(?)p Ga(\363)p F7(\352)p FY(#)p F1(h)p F2(\237)p F1({)p +F0(\036)p FW(-)p F5(|)p FZ(\206)p F1(t)p F5(Sussman)p +F9(Z)p F5(Steele)p Ga(\225)p F5(1975)p F4(#)515 2565 +y F7(\015)p F3(\025)p F7(\352)p F5(Sc)n(heme.)37 b F1(#)p +F3(\033)p F7(,)p F0(@)p Ga(\255)p F8(\226)p F0(&)p F5(ev)-5 +b(al)p F1({\275)p Ga(B)p F3(\205)p Ga(\354)p F1(\365)p +FX(\350)p F5(,)27 b FX(e)p F0(&)p F2(\037)p Ga(H)p F4(\354)p +F3(\315)p F4(\012)p FY(U)p F7(\352)p F5(.)p 515 4849 +1146 4 v 607 4904 a FC(6)642 4927 y Fo(h)q(S)q({)p FB(Lisp)p +Fr(\307)q Fj(\223)q Fw(\312)q(\363)q Fl(Y)q Fs(\016)q +Fp(\314)q Fw(~)p FB(map)r(car)p Fo(S)q Fu(\017)p FB(maplist.)42 +b Fl(Y)q Fs(\307)q Ft(\276)q Fq(\006)q Fi(\211)q Ft(\015)q(\352)q +Fw(\030)q Fs(\307)q Fv(\260)q Fu(L)p FB(:)32 b(maplist)p +Fu(\217)q Fn(\037)q Fv(\217)515 5006 y Fp(\314)p Fw(\363)p +FB(Common)22 b(Lisp)p Fl(\245)p FB(.)32 b Fn(\3074)p +Fq(!)p Fl(\000)p Fo({)p Fw(n)p Fm(\363)p Fp(<)p Fn(j)p +FB(,)26 b(map)r(car)p Fn(4)p Fp(\200)p Ft(u)p Fl(\017)p +Fi(\034)p Fo({)p FB(.)1905 5255 y F5(11)p eop +%%Trailer +end +userdict /end-hook known{end-hook}if +%%EOF diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/IT/\350\275\257\344\273\266\345\274\200\345\217\221/\350\275\257\344\273\266\345\267\245\347\250\213/Frederick Brooks\357\274\232\344\272\272\346\234\210\347\245\236\350\257\235@2002 (20\345\221\250\345\271\264\347\272\252\345\277\265\347\211\210).txt" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/IT/\350\275\257\344\273\266\345\274\200\345\217\221/\350\275\257\344\273\266\345\267\245\347\250\213/Frederick Brooks\357\274\232\344\272\272\346\234\210\347\245\236\350\257\235@2002 (20\345\221\250\345\271\264\347\272\252\345\277\265\347\211\210).txt" new file mode 100644 index 0000000000000000000000000000000000000000..5e4b0f4b417156b1d65962211a5e7c34ccc1e6ea --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/IT/\350\275\257\344\273\266\345\274\200\345\217\221/\350\275\257\344\273\266\345\267\245\347\250\213/Frederick Brooks\357\274\232\344\272\272\346\234\210\347\245\236\350\257\235@2002 (20\345\221\250\345\271\264\347\272\252\345\277\265\347\211\210).txt" @@ -0,0 +1,11124 @@ + +人月神话 + +弗雷德里克·布鲁克斯 + + + + + + +----------------------- Page 1----------------------- + +THE MYTHICAL MAN-MONTH + +人月神话 + +FREDERICK P. BROOKS, JR. + +翻译:Adams Wang + +----------------------- Page 2----------------------- + +关于作者 + + Frederick P. Brooks,Jr.是北卡罗来纳大学Kenan-Flagler 商学院的计算机科学教 + +授,北卡来罗来纳大学位于美国北卡来罗来纳州的查布尔希尔。Brooks被认为是“IBM 360 + +系统之父”,他担任了360 系统的项目经理,以及360操作系统项目设计阶段的经理。凭借 + +在上述项目的杰出贡献,他、Bob Evans 和Erich Bloch 在1985 年荣获了美国国家技术奖 + + (National Medal of Techology)。早期,Brooks 曾担任IBM Stretch 和Harvest 计算机 + +的体系结构师。 + + 在查布尔希尔,Brooks博士创立了计算机科学系,并在1964 至1984 年期间担任主席。 + +他曾任职于美国国家科技局和国防科学技术委员会。Brooks 目前的教学和研究方向是计算 + +机体系结构、分子模型绘图和虚拟环境。 + +----------------------- Page 3----------------------- + + 1 9 7 5 年 版 献 辞 + +致两位特别丰富了我IBM岁月的人: + +Thomas J. Watson, Jr., 他对人们的关怀在他的公司依然无所不在 + +和 Bob O. Evans, 他大胆的领导使工作成为了探险。 + + 1 9 9 5 年 版 献 辞 + +致 Nancy, 上帝赐给我的礼物。 + +----------------------- Page 4----------------------- + + 二十周年纪念版序言(Preface to the 20th + + Anniversary Edition ) + + 令我惊奇和高兴的是,《人月神话》在20年后仍然继续流行,印数超过了250,000。人 + +们经常问,我在1975 年提出的观点和建议,哪些是我仍然坚持的,哪些是已经改变观点的, + +是怎样改变的?尽管我在一些讲座上也分析过这个问题,我还是一直想把它写成文章。 + + Peter Gordon 现在是Addison-Wesley 的出版伙伴,他从1980 年开始和我共事。他非 + +常耐心,对我帮助很大。他建议我们准备一个纪念版本。我们决定不对原版本做任何修订, + +只是原封不动地重印(除了一些细小的修正),并用更新的思想来扩充它。 + + 第16 章重印了一篇在1986 年IFIPS 会议上的论文《没有银弹:软件工程的根本和次 + +要问题》。这篇文章来自我在国防科学委员会主持军用软件方面研究时的经验。我当时的研 + +究合作者,也是我的执行秘书,Robert L. Patrick 帮助我回想和感受那些做过的软件大项 + +目。1987年,IEEE 的《计算机》杂志重印了这篇论文,使它传播得更广了。 + + 《没有银弹》被证明是富有煽动性的,它预言十年内没有任何编程技巧能够给软件的 + +生产率带来数量级上的提高。十年只剩下一年了,我的预言看来安全了。《没有银弹》激起 + +了越来越多文字上的剧烈争论,比《人月神话》还要多。因此在第17章,我对一些公开的 + +批评作了说明,并更新了在1986年提出的观点。 + + 在准备《人月神话》的回顾和更新时,一直进行的软件工程研究和经验已经批评、证 + +实和否定了少数书中断言的观点,也影响了我。剥去辅助的争论和数据后,把那些观点粗略 + +地分类,对我来说很有帮助。我在第18 章列出这些观点的概要,希望这些单调的陈述能够 + +引来争论和证据,然后得到证实、否定、更新或精炼。 + + 第19章是一篇更新的短文。读者应该注意的是,新观点并不象原来的书一样来自我的 + +亲身经历。我在大学里工作,不是在工业界,做的是小规模的项目,不是大项目。自1986 + +年以来,我就只是教授软件工程,不再做这方面的研究。我现在的研究领域是虚拟环境及其 + +应用。 + + 在这次回顾的准备过程中,我找了一些正工作在软件工程领域的朋友,征求他们的当 + + - i - + +----------------------- Page 5----------------------- + +前观点。他们很乐意和我共享他们的想法,并仔细地对草稿提出了意见,这些都使我重新受 + +到启发。感谢Barry Boehm、Ken Brooks、Dick Case、James Coggins、Tom Demarco、Jim + +McCarthy、David Parnas、Earl Wheeler和Edward Yourdon。感谢Fay Eard 出色地对新的 + +章节进行了技术加工。 + + 感谢我在国防科学委员会军事软件工作组的同事Gordon Bell、Bruce Buchanan、Rick + +Hayes-Roth,特别是DavidParnas,感谢他们的洞察力和生动的想法。感谢Rebekah Bierly + +对16章的论文进行了技术加工。我把软件问题分成“根本的”和“次要的”,这是受Nancy + +Greenwood Brooks 的启发,她在一篇Suzuki 小提琴教育的论文中应用了这样的分析方法。 + + 在1975 年版本的序言中,Addison-Wesleys 出版社按规定不允许我向它的一些扮演了 + +关键角色的员工致谢。有两个人的贡献必须被特别提到:执行编辑Norman Stanton 和美术 + +指导Herbert Boes。Boes设计了优雅的风格,他在评注时特别提到:“页边的空白要宽,字 + +体和版面要有想像力”。更重要的是,他提出了至关重要的建议:为每一章的开头配一幅图 + +片(当时我只有“焦油坑”和“兰斯大教堂”的图片)。寻找这些图片使我多花了一年的时 + +间,但我永远感激这个忠告。 + + Soli Deo gloria-愿神独得荣耀。 + + 查珀尔希尔,北卡罗来纳 F.P.B., Jr. + + 1995年3 月 + + - ii - + +----------------------- Page 6----------------------- + + 第一版序言(Preface to the First Edition) + + 在很多方面,管理一个大型的计算机编程项目和其它行业的大型工程很相似——比大 + +多数程序员所认为的还要相似;在很多另外的方面,它又有差别——比大多数职业经理所认 + +为的差别还要大。 + + 这个领域的知识在累积。现在AFIPS (美国信息处理学会联合会)已经有了一些讨论和 + +会议,也出版了一些书籍和论文,但是还没有成型的方法来系统地进行阐述。提供这样一本 + +主要反映个人观点的小书看来是合适的。 + + 虽然我原来从事计算机科学的编程方面的工作,但是在1956-1963 年间自动控制程序 + +和高级语言编译器开发出来的时候,我主要参加的是硬件构架方面的工作。在1964 年,我 + +成为操作系统OS/360 的经理,发现前些年的进展使编程世界改变了很多。 + + 管理OS/360 的开发是很有帮助的经历,虽然是失败的。那个团队,包括我的继任经理 + +F. M. Trapnell,有很多值得自豪的东西。那个系统包括了很多优秀的设计和实施,成功地 + +应用在很多领域,特别是设备无关的输入输出和外部库管理,被很多技术革新广泛复制。它 + +现在是十分可靠的,相当有效,和非常通用的。 + + 但是,并不是所有的努力都是成功的。所有OS/360 的用户很快就能发现它应该做得更 + +好。设计和实现上的缺陷在控制程序中特别普遍,相比之下,语言编译器就好得多。大多数 + +这些缺陷发生在1964-1965年的设计阶段,所以这肯定是我的责任。此外,这个产品发布推 + +迟了,需要的内存比计划中的要多,成本也是估计的好几倍,而且第一次发布时并不能很好 + +地运行,直到发布了几次以后。 + + 就象当初接受OS/360 的任务时协商好的,在1965 年离开IBM 后,我来到查珀尔希尔。 + +我开始分析OS/360 的经验,看能不能从中学到什么管理和技术上的教训。特别地,我要说 + +明System/360 硬件开发和OS/360 软件开发中的管理经验是非常不同的。对Tom Watson关 + +于为什么编程难以管理的探索性问题,这本书是一份迟来的答案。 + + 在这次探索中,我和 1964-65 年的经理助理 R.P.Case,还有 1965-68 年的经理 + +F.M.Trapnell,进行了长谈,从中受益良多。我对比了其他大型编程项目的经理的结论,包 + +括M.I.T.的F.J.Corbato,Bell 电话实验室的V.Vyssotsky,International Computers + + - iii - + +----------------------- Page 7----------------------- + +Limited 的Charles Portman,苏联科学院西伯利亚分部计算实验室的A.P.Ershov,和IBM + +的A.M.Pietrasanta。 + + 我自己的结论体现在下面的文字中,送给职业程序员、职业经理、特别是程序员的职 + +业经理。 + + 虽然写出来的是分离的章节,还是有一个中心的论点,特别包含在第2-7 章。简言之, + +我相信由于人员的分工,大型编程项目碰到的管理问题和小项目区别很大;我相信关键需要 + +是维持产品自身的概念完整性。这些章节探讨了其中的困难和解决的方法。后续的章节探讨 + +软件工程管理的其他方面。 + + 这个领域的文献并不多,但散布很广。因此我尝试给出参考资料,说明某个特定知识 + +点和指引感兴趣的读者去看其他有用的工作。很多朋友读过了本书的手稿,其中一些朋友给 + +出了很有帮助的意见。这些意见很有价值,但为了不打乱文字的通顺,我把它们作为注解包 + +含在书中。 + + 因为这本书是随笔不是课本,所有的参考文献和注解都被放到书的末尾,建议读者在 + +读第一遍时略去不看。 + + 深切感谢Sara Elizabeth Moore 小姐,David Wagner 先生,和Rebecca Burris夫人, + +他们帮助我准备了手稿。感谢Joseph C.Sloane 教授在图解方面的建议。 + + 查珀尔希尔,北卡罗来纳 F.P.B., Jr + + 1974年10月 + + - iv - + +----------------------- Page 8----------------------- + + 目录(Contents) + +二十周年纪念版序言(PREFACE TO THE 20TH ANNIVERSARYEDITION)................................... I + +第一版序言(PREFACE TO THE FIRST EDITION)................................................... III + +目录(CONTENTS)............................................................................ V + +焦油坑(THE TAR PIT)....................................................................... 1 + +编程系统产品................................................................................. 1 + 职业的乐趣............................................................................... 3 + 职业的苦恼............................................................................... 4 + +人月神话(THE MYTHICALMAN-MONTH)............................................................ 6 + 乐观主义................................................................................ 7 + 人月................................................................................... 8 + 系统测试................................................................................ 10 + 空泛的估算.............................................................................. 11 + 重复产生的进度灾难........................................................................ 12 + +外科手术队伍(THE SURGICAL TEAM)............................................................ 16 + 问题.................................................................................. 16 + MILLS 的建议........................................................................... 17 + 如何运作............................................................................... 20 + 团队的扩建.............................................................................. 21 + +贵族专制、民主政治和系统设计(ARISTOCRACY, DEMOCRAC Y, AND SYSTEM DESIGN)........................ 22 + 概念一致性.............................................................................. 22 + 获得概念的完整性.......................................................................... 23 + 贵族专制统治和民主政治..................................................................... 24 + 在等待时,实现人员应该做什么?............................................................... 26 + +画蛇添足(THE SECOND-SYSTEM EFFECT)......................................................... 29 + 结构师的交互准则和机制..................................................................... 29 + 自律——开发第二个系统所带来的后果............................................................ 30 + +贯彻执行(PASSING THE WORD)................................................................. 33 + 文档化的规格说明——手册.................................................................... 33 + 形式化定义.............................................................................. 34 + 直接整合................................................................................ 36 + 会议和大会.............................................................................. 36 + 多重实现................................................................................ 38 + + - v - + +----------------------- Page 9----------------------- + + 电话日志................................................................................ 38 + 产品测试................................................................................ 38 + +为什么巴比伦塔会失败?(WHY DID THE TOWER OF BABEL FAIL?)...................................... 40 + 巴比伦塔的管理教训........................................................................ 41 + 大型编程项目中的交流....................................................................... 41 + 项目工作手册............................................................................. 42 + 大型编程项目的组织架构..................................................................... 44 + +胸有成竹(CALLING THE SHOT)................................................................. 49 + PORTMAN 的数据........................................................................ 50 + ARON 的数据........................................................................... 51 + HARR 的数据........................................................................... 51 + OS/360 的数据.......................................................................... 53 + CORBATO 的数据......................................................................... 53 + +削足适履(TEN POUNDS IN A FIVE-POUND SACK )................................................. 55 + + 作为成本的程序空间........................................................................ 55 + 规模控制................................................................................ 56 + 空间技能................................................................................ 57 + 数据的表现形式是编程的根本................................................................... 58 + +提纲挈领(THE DOCUMENTARY HYPOTHESIS)....................................................... 60 + 计算机产品的文档.......................................................................... 60 + 大学科系的文档............................................................................ 62 + 软件项目的文档............................................................................ 62 + 为什么要有正式的文档?...................................................................... 63 + +未雨绸缪(PLAN TO THROW ONEAWAY)............................................................ 64 + 试验性工厂和增大规模....................................................................... 64 + 唯一不变的就是变化本身...................................................................... 65 + 为变更计划系统............................................................................ 66 + 为变更计划组织架构......................................................................... 66 + 前进两步,后退一步......................................................................... 68 + 前进一步,后退一步......................................................................... 69 + +干将莫邪(SHARP TOOLS).......................................................................71 + 目标机器................................................................................ 72 + 辅助机器和数据服务......................................................................... 73 + 高级语言和交互式编程....................................................................... 76 + +整体部分(THE WHOLEAND THE PARTS ).......................................................... 78 + 剔除BUG 的设计........................................................................... 78 + 构件单元调试............................................................................. 80 + + - vi - + +----------------------- Page 10----------------------- + + 系统集成调试............................................................................. 82 + +祸起萧墙 (HATCHING A CATASTROPHE).......................................................... 85 + 里程碑还是沉重的负担?..................................................................... 85 + “其他的部分反正会落后”.................................................................... 86 + 地毯的下面.............................................................................. 87 + +另外一面 (THE OTHER FACE )................................................................. 92 + 需要什么样的文档.......................................................................... 93 + 流程图................................................................................. 95 + 自文档化(SELF-DOCUMENTING)的程序........................................................ 96 + + +没有银弹(NO SILVER BULLET)软件工程中的根本和次要问题............................................. 102 + 摘要................................................................................... 102 + 介绍................................................................................... 103 + 是否一定那么困难呢?——根本困难.............................................................. 103 + 以往解决次要困难的一些突破.................................................................. 106 + 银弹的希望.............................................................................. 108 + 针对概念上根本问题的颇具前途的方法............................................................ 113 + +再论《没有银弹》(“NO SILVER BULLET”REFIRED )................................................ 120 + 人狼和其他恐怖传说........................................................................ 120 + 存在着银弹-就在这里!..................................................................... 121 + 含糊的表达将会导致误解..................................................................... 121 + HAREL 的分析.......................................................................... 124 + JONE 的观点——质量带来生产率............................................................... 127 + 那么,生产率的情形如何?.................................................................... 128 + 面向对象编程——这颗铜质子弹可以吗?........................................................... 129 + 重用的情况怎样?.......................................................................... 130 + 学习大量的词汇——对软件重用的一个可预见,但还没有被预言的问题....................................... 132 + 子弹的本质——形势没有发生改变............................................................... 133 + + 《人月神话》的观点:是或非?(PROPOSITIONS OF THE MYTHICAL MAN-MONTH:TRUE OR FALSE?........... 134 + 第1 章焦油坑............................................................................ 134 + 第2 章人月神话........................................................................... 135 + 第3 章外科手术队伍........................................................................ 136 + 第4 章贵族专制、民主政治和系统设计............................................................ 137 + 第5 章画蛇添足........................................................................... 137 + 第6 章贯彻执行........................................................................... 138 + 第7 章为什么巴比伦塔会失败?................................................................ 139 + 第8 章胸有成竹........................................................................... 141 + + - vii - + +----------------------- Page 11----------------------- + + 第9 章削足适履........................................................................... 141 + 第10 章提纲挈领.......................................................................... 143 + 第11 章未雨绸缪.......................................................................... 143 + 第12 章干将莫邪.......................................................................... 146 + 第13 章整体部分.......................................................................... 148 + 第14 章祸起萧墙.......................................................................... 149 + 第15 章另外一面.......................................................................... 150 + 原著结束语............................................................................... 152 + +20 年后的人月神话(THE MYTHICAL MAN-MONTH AFTER 20 YEARS).................................... 153 + 为什么会出现二十周年纪念版本?............................................................... 153 + 核心观点:概念完整性和结构师................................................................. 154 + 开发第二个系统所引起的后果:盲目的功能和频率猜测.................................................. 156 + 图形(WIMP )界面的成功................................................................... 157 + 没有构建舍弃原型——瀑布模型是错误的!......................................................... 160 + 增量开发模型更佳——渐进地精化............................................................... 162 + 关于信息隐藏,PARNAS 是正确的,我是错误的..................................................... 165 + 人月到底有多少神话色彩?BOEHM 的模型和数据..................................................... 167 + 人就是一切(或者说,几乎是一切).............................................................. 168 + 放弃权力的力量........................................................................... 169 + 最令人惊讶的新事物是什么?数百万的计算机........................................................ 171 + 全新的软件产业——塑料薄膜包装的成品软件........................................................ 173 + 买来开发——使用塑料包装的成品软件包作为构件..................................................... 174 + 软件工程的状态和未来....................................................................... 176 + +结束语:令人向往、激动人心和充满乐趣的五十年(EPILOGUE FIFTY YEARS OF WONDER, EXCITEMENT, AND JOY)... 178 + +注解和参考文献(NOTES AND REFERENCES )....................................................... 180 + + 第1 章................................................................................. 180 + 第2 章................................................................................. 180 + 第3 章................................................................................. 180 + 第4 章................................................................................. 181 + 第5 章................................................................................. 181 + 第6 章................................................................................. 182 + 第7 章................................................................................. 182 + 第8 章................................................................................. 182 + 第9 章................................................................................. 183 + 第10 章................................................................................ 183 + 第11 章................................................................................ 184 + 第12 章................................................................................ 184 + 第13 章................................................................................ 185 + 第14 章................................................................................ 186 + 第15 章................................................................................ 187 + 第16 章................................................................................ 187 + + - viii - + +----------------------- Page 12----------------------- + + 第17 章................................................................................ 188 + 第18 章................................................................................ 190 + 第19 章................................................................................ 190 + +索引(INDEX ).............................................................................. 193 + + - ix - + +----------------------- Page 13----------------------- + + 焦油坑(The Tar Pit ) + +岸上的船儿,如同海上的灯塔,无法移动。 +——荷兰谚语 + +Een schip op het strand is een baken in zee. + +[A ship on the beach is a lighthouse to the sea.] + +- DUTCH PROVERB + + 史前史中,没有别的场景比巨兽在焦油坑中垂死挣扎的场面更令人震撼。上帝见证着 + +恐龙、猛犸象、剑齿虎在焦油中挣扎。它们挣扎得越是猛烈,焦油纠缠得越紧,没有任何猛 + +兽足够强壮或具有足够的技巧,能够挣脱束缚,它们最后都沉到了坑底。 + + 过去几十年的大型系统开发就犹如这样一个焦油坑,很多大型和强壮的动物在其中剧 + +烈地挣扎。他们中大多数开发出了可运行的系统——不过,其中只有非常少数的项目满足了 + +目标、时间进度和预算的要求。各种团队,大型的和小型的,庞杂的和精干的,一个接一个 + +淹没在了焦油坑中。表面上看起来好像没有任何一个单独的问题会导致困难,每个都能被解 + +决,但是当它们相互纠缠和累积在一起的时候,团队的行动就会变得越来越慢。对问题的麻 + +烦程度,每个人似乎都会感到惊讶,并且很难看清问题的本质。不过,如果我们想解决问题, + +就必须试图先去理解它。 + + 因此,首先让我们来认识一下软件开发这个职业,以及充满在这个职业中的乐趣和苦 + +恼吧。 + +编程系统产品 + + 报纸上经常会出现这样的新闻,讲述两个程序员如何在经改造的简陋车库中,编出了 + +超过大型团队工作量的重要程序。接着,每个编程人员准备相信这样的神话,因为他知道自 + + - 1 - + +----------------------- Page 14----------------------- + +己能以超过产业化团队的1000代码行/年的生产率来开发任何程序。 + + 为什么不是所有的产业化队伍都会被这种专注的二人组合所替代?我们必须看一下产 + +出的是什么。 + + x3 + + 编程系统 + + 程序 + + (接口 + 系统集成) + + 3 + x + + 编程产品 + + (通用化, + 编程系统产品 + 测试, + 文档, + 维护) + + 图1.1:编程系统产品的演进 + + 在图 1.1 的左上部分是程序 (Program)。它本身是完整的,可以由作者在所开发的系 + +统平台上运行。它通常是车库中产出的产品,以及作为单个程序员生产率的评估标准。 + + 有两种途径可以使程序转变成更有用的,但是成本更高的东西,它们表现为图中的边 + +界。 + + 水平边界以下,程序变成编程产品 (Programming Product)。这是可以被任何人运行、 + +测试、修复和扩展的程序。它可以运行在多种操作系统平台上,供多套数据使用。要成为通 + +用的编程产品,程序必须按照普遍认可的风格来编写,特别是输入的范围和形式必须扩展, + +以适用于所有可以合理使用的基本算法。接着,对程序进行彻底测试,确保它的稳定性和可 + +靠性,使其值得信赖。这就意味着必须准备、运行和记录详尽的测试用例库,用来检查输入 + +的边界和范围。此外,要将程序提升为程序产品,还需要有完备的文档,每个人都可以加以 + +使用、修复和扩展。经验数据表明,相同功能的编程产品的成本,至少是已经过测试的程序 + +的三倍。 + + - 2 - + +----------------------- Page 15----------------------- + + 回到图中,垂直边界的右边,程序变成编程系统 (Programming System)中的一个构 + +件单元。它是在功能上能相互协作的程序集合,具有规范的格式,可以进行交互,并可以用 + +来组装和搭建整个系统。要成为系统构件,程序必须按照一定的要求编制,使输入和输出在 + +语法和语义上与精确定义的接口一致。同时程序还要符合预先定义的资源限制——内存空 + +间、输入输出设备、计算机时间。最后,程序必须同其它系统构件单元一道,以任何能想象 + +到的组合进行测试。由于测试用例会随着组合不断增加,所以测试的范围非常广。因为一些 + +意想不到的交互会产生许多不易察觉的bug,测试工作将会非常耗时,因此相同功能的编程 + +系统构件的成本至少是独立程序的三倍。如果系统有大量的组成单元,成本还会更高。 + + 图1.1 的右下部分代表编程系统产品 (Programming Systems Product)。和以上的所 + +有的情况都不同的是,它的成本高达九倍。然而,只有它才是真正有用的产品,是大多数系 + +统开发的目标。 + +职业的乐趣 + + 编程为什么有趣?作为回报,它的从业者期望得到什么样的快乐? + + 首先是一种创建事物的纯粹快乐。如同小孩在玩泥巴时感到愉快一样,成年人喜欢创 + +建事物,特别是自己进行设计。我想这种快乐是上帝创造世界的折射,一种呈现在每片独特、 + + 1 +崭新的树叶和雪花上的喜悦 。 + + 其次,快乐来自于开发对其他人有用的东西。内心深处,我们期望其他人使用我们的 + +劳动成果,并能对他们有所帮助。从这个方面,这同小孩用粘土为“爸爸办公室”捏制铅笔 + +盒没有本质的区别。 + + 第三是整个过程体现出魔术般的力量——将相互啮合的零部件组装在一起,看到它们 + +精妙地运行,得到预先所希望的结果。比起弹珠游戏或点唱机所具有的迷人魅力,程序化的 + +计算机毫不逊色。 + + 第四是学习的乐趣,来自于这项工作的非重复特性。人们所面临的问题,在某个或其 + +它方面总有些不同。因而解决问题的人可以从中学习新的事物:有时是实践上的,有时是理 + +论上的,或者兼而有之。 + + 最后,乐趣还来自于工作在如此易于驾驭的介质上。程序员,就像诗人一样,几乎仅 + + - 3 - + +----------------------- Page 16----------------------- + +仅工作在单纯的思考中。程序员凭空地运用自己的想象,来建造自己的“城堡”。很少有这 + +样的介质——创造的方式如此得灵活,如此得易于精炼和重建,如此得容易实现概念上的设 + +想。(不过我们将会看到,容易驾驭的特性也有它自己的问题) + + 然而程序毕竟同诗歌不同,它是实实在在的东西;可以移动和运行,能独立产生可见 + +的输出;能打印结果,绘制图形,发出声音,移动支架。神话和传说中的魔术在我们的时代 + +已变成了现实。在键盘上键入正确的咒语,屏幕会活动、变幻,显示出前所未有的或是已经 + +存在的事物。 + + 编程非常有趣,在于它不仅满足了我们内心深处进行创造的渴望,而且还愉悦了每个 + +人内在的情感。 + +职业的苦恼 + + 然而这个过程并不全都是喜悦。我们只有事先了解一些编程固有的烦恼,这样,当它 + +们真的出现时,才能更加坦然地面对。 + + 首先,必须追求完美。因为计算机也是以这样的方式来变戏法:如果咒语中的一个字 + +符、一个停顿,没有与正确的形式一致,魔术就不会出现。(现实中,很少的人类活动要求 + +完美,所以人类对它本来就不习惯。)实际上,我认为学习编程的最困难部分,是将做事的 + +方式往追求完美的方向调整。 + + 其次,是由他人来设定目标,供给资源,提供信息。编程人员很少能控制工作环境和 + +工作目标。用管理的术语来说,个人的权威和他所承担的责任是不相配的。不过,似乎在所 + +有的领域中,对要完成的工作,很少能提供与责任相一致的正式权威。而现实情况中,实际 + + (相对于正式)的权威来自于每次任务的完成。 + + 对于系统编程人员而言,对其他人的依赖是一件非常痛苦的事情。他依靠其他人的程 + +序,而往往这些程序设计得并不合理,实现拙劣,发布不完整(没有源代码或测试用例), + +或者文档记录得很糟。所以,系统编程人员不得不花费时间去研究和修改,而它们在理想情 + +况下本应该是可靠完整的。 + + 下一个烦恼——概念性设计是有趣的,但寻找琐碎的bug 却只是一项重复性的活动。 + +伴随着创造性活动的,往往是枯燥沉闷的时间和艰苦的劳动。程序编制工作也不例外。 + + - 4 - + +----------------------- Page 17----------------------- + + 另外,人们发现调试和查错往往是线性收敛的,或者更糟糕的是,具有二次方的复杂 + +度。结果,测试一拖再拖,寻找最后一个错误比第一个错误将花费更多的时间。 + + 最后一个苦恼,有时也是一种无奈——当投入了大量辛苦的劳动,产品在即将完成或 + +者终于完成的时候,却已显得陈旧过时。可能是同事和竞争对手已在追逐新的、更好的构思; + +也许替代方案不仅仅是在构思,而且已经在安排了。 + + 现实情况比上面所说的通常要好一些。当产品开发完成时,更优秀的新产品通常还不 + +能投入使用,而仅仅是为大家谈论而已。另外,它同样需要数月的开发时间。事实上,只有 + +实际需要时,才会用到最新的设想,因为所实现的系统已经能满足要求,体现了回报。 + + 诚然,产品开发所基于的技术在不断地进步。一旦设计被冻结,在概念上就已经开始 + +陈旧了。不过,实际产品需要一步一步按阶段实现。实现落后与否的判断应根据其它已有的 + +系统,而不是未实现的概念。因此,我们所面临的挑战和任务是在现有的时间和有效的资源 + +范围内,寻找解决实际问题的切实可行方案。 + + 这,就是编程。一个许多人痛苦挣扎的焦油坑以及一种乐趣和苦恼共存的创造性活动。 + +对于许多人而言,其中的乐趣远大于苦恼。而本书的剩余部分将试图搭建一些桥梁,为通过 + +这样的焦油坑提供一些指导。 + + - 5 - + +----------------------- Page 18----------------------- + + 人月神话(The Mythical Man-Month) + +美酒的酿造需要年头,美食的烹调需要时间;片刻等待,更多美味,更多享受。 + +- 新奥尔良Antoine 餐厅的菜单 + +Good cooking takes time. If you are made to wait, it is to serve you better, and to please you. + +- MENU OF RESTA URANTANTOINE, NEW ORLEANS + + 在众多软件项目中,缺乏合理的时间进度是造成项目滞后的最主要原因,它比其他所 + +有因素加起来的影响还大。导致这种普遍性灾难的原因是什么呢? + + 首先,我们对估算技术缺乏有效的研究,更加严肃地说,它反映了一种悄无声息,但 + +并不真实的假设——一切都将运作良好。 + + 第二,我们采用的估算技术隐含地假设人和月可以互换,错误地将进度与工作量相互 + +混淆。 + + 第三,由于对自己的估算缺乏信心,软件经理通常不会有耐心持续地进行估算这项工 + +作。 + + 第四,对进度缺少跟踪和监督。其他工程领域中,经过验证的跟踪技术和常规监督程 + +序,在软件工程中常常被认为是无谓的举动。 + + 第五,当意识到进度的偏移时,下意识(以及传统)的反应是增加人力。这就像使用 + +汽油灭火一样,只会使事情更糟。越来越大的火势需要更多的汽油,从而进入了一场注定会 + +导致灾难的循环。 + + 进度监督是另一篇论文的主题,而本文中我们将对问题的其他方面进行更详细的讨论。 + + - 6 - + +----------------------- Page 19----------------------- + +乐观主义 + + 所有的编程人员都是乐观主义者。可能是这种现代魔术特别吸引那些相信美满结局的 + +人;也可能是成百上千琐碎的挫折赶走了大多数人,只剩下了那些习惯上只关注结果的人; + +还可能仅仅因为计算机还很年轻,程序员更加年轻,而年轻人总是些乐观主义者——无论是 + +什么样的程序,结果是勿庸置疑的:“这次它肯定会运行。”或者“我刚刚找出了最后一个错 + +误。” + + 所以系统编程的进度安排背后的第一个假设是:一切都将运作良好,每一项任务仅花 + +费它所“应该”花费的时间。 + + 对这种弥漫在编程人员中的乐观主义,理应受到慎重的分析。Dorothy Sayers 在她的 + + “The Mind of the Maker”一书中,将创造性活动分为三个阶段:构思、实现和交流。书 + +籍、计算机、或者程序的出现,首先是作为一个构思或模型出现在作者的脑海中,它与时间 + +和空间无关。接着,借助钢笔、墨水和纸,或者电线、硅片和铁氧体,在现实的时间和空间 + +中实现它们。然后,当某人阅读书本、使用计算机和运行程序的时候,他与作者的思想相互 + +沟通,从而创作过程得以结束。 + + 以上Sayers 的阐述不仅仅可以描绘人类的创造性活动,而且类似于“基督的教义”, + +能指导我们的日常工作。对于创造者,只有在实现的过程中,才能发现我们构思的不完整性 + +和不一致性。因此,对于理论家而言,书写、试验以及“工作实现”是非常基本和必要的。 + + 在许多创造性活动中,往往很难掌握活动实施的介质,例如木头切割、油漆、电器安 + +装等。这些介质的物理约束限制了思路的表达,它们同样对实现造成了许多预料之外的困难。 + + 由于物理介质和思路中隐含的不完善性,实际实现起来需要花费大量的时间和汗水。 + +对遇到的大部分实现上的困难,我们总是倾向于去责怪那些物理介质,因为它们不顺应“我 + +们”设定的思路。其实,这只不过是我们的骄傲使判断带上了主观主义色彩。 + + 然而,计算机编程基于十分容易掌握的介质,编程人员通过非常纯粹的思维活动—— + +概念以及灵活的表现形式来开发程序。正由于介质的易于驾驭,我们期待在实现过程中不会 + +碰到困难,因此造成了乐观主义的弥漫。而我们的构思是有缺陷的,因此总会有bug。也就 + +是说,我们的乐观主义并不应该是理所应当的。 + + 在单个的任务中,“一切都将运转正常”的假设在时间进度上具有可实现性。因为所遇 + + - 7 - + +----------------------- Page 20----------------------- + +的延迟是一个概率分布曲线,“不会延迟”仅具有有限的概率,所以现实情况可能会像计划 + +安排的那样顺利。然而大型的编程工作,或多或少包含了很多任务,某些任务间还具有前后 + +的次序,从而一切正常的概率变得非常小,甚至接近于无。 + +人月 + + 第二个谬误的思考方式是在估计和进度安排中使用的工作量单位:人月。成本的确随 + +开发产品的人数和时间的不同,有着很大的变化,进度却不是如此。因此我认为用人月作为 + +衡量一项工作的规模是一个危险和带有欺骗性的神话。它暗示着人员数量和时间是可以相互 + +替换的。 + + 人数和时间的互换仅仅适用于以下情况:某个任务可以分解给参与人员,并且他们之 + +间不需要相互的交流 (图2.1)。这在割小麦或收获棉花的工作中是可行的;而在系统编程 + +中近乎不可能。 + + 月 + + 人 + + 图2.1:人员和时间之间的关系——完全可以分解的任务 + + 当任务由于次序上的限制不能分解时,人手的添加对进度没有帮助(图2.2)。无论多 + +少个母亲,孕育一个生命都需要十个月。由于调试、测试的次序特性,许多软件都具有这种 + +特征, + + - 8 - + +----------------------- Page 21----------------------- + + 月 + + 人 + + 图2.2:人员和时间之间的关系——无法分解的任务 + + 对于可以分解,但子任务之间需要相互沟通和交流的任务,必须在计划工作中考虑沟 + +通的工作量。因此,相同人月的前提下,采用增加人手来减少时间得到的最好情况,也比未 + +调整前要差一些(图2.3)。 + + 月 + + 人 + + 图2.3:人员和时间之间的关系——需要沟通的可分解任务 + + 沟通所增加的负担由两个部分组成,培训和相互的交流。每个成员需要进行技术、项 + +目目标以及总体策略上的培训。这种培训不能分解,因此这部分增加的工作量随人员的数量 + + 1 +呈线性变化 。 + + - 9 - + +----------------------- Page 22----------------------- + + 相互之间交流的情况更糟一些。如果任务的每个部分必须分别和其他部分单独协作, + +则工作量按照n(n-1)/2 递增。一对一交流的情况下,三个人的工作量是两个人的三倍,四 + +个人则是两个人的六倍。而对于需要在三四个人之间召开会议、进行协商、一同解决的问题, + +情况会更加恶劣。所增加的用于沟通的工作量可能会完全抵消对原有任务分解所产生的作 + +用,此时我们会被带到图2.4 的境地。 + + 月 + + 人 + + 图2.4:人员和时间之间的关系——关系错综复杂的任务 + + 因为软件开发本质上是一项系统工作——错综复杂关系下的一种实践——沟通、交流 + +的工作量非常大,它很快会消耗任务分解所节省下来的个人时间。从而,添加更多的人手, + +实际上是延长了,而不是缩短了时间进度。 + +系统测试 + + 在时间进度中,顺序限制所造成的影响,没有哪个部分比单元调试和系统测试所受到 + +的牵涉更彻底。而且,要求的时间依赖于所遇到的错误、缺陷数量以及捕捉它们的程度。理 + +论上,缺陷的数量应该为零。但是,由于我们的乐观主义,通常实际出现的缺陷数量比预料 + +的要多得多。因此,系统测试进度的安排常常是编程中最不合理的部分。 + + 对于软件任务的进度安排,以下是我使用了很多年的经验法则: + + 1/3计划 + + 1/6编码 + + - 10 - + +----------------------- Page 23----------------------- + + 1/4构件测试和早期系统测试 + + 1/4系统测试,所有的构件已完成 + + 在许多重要的方面,它与传统的进度安排方法不同: + + 1. 分配给计划的时间比寻常的多。即便如此,仍不足以产生详细和稳定的计划规格说 + +明,也不足以容纳对全新技术的研究和摸索。 + + 2. 对所完成代码的调试和测试,投入近一半的时间,比平常的安排多很多。 + + 3. 容易估计的部分,即编码,仅仅分配了六分之一的时间。 + + 通过对传统项目进度安排的研究,我发现很少项目允许为测试分配一半的时间,但大 + +多数项目的测试实际上是花费了进度中一半的时间。它们中的许多项目,在系统测试之前还 + +能保持进度。或者说,除了系统测试,进度基本能保证2。 + + 特别需要指出的是,不为系统测试安排足够的时间简直就是一场灾难。因为延迟发生 + +在项目快完成的时候。直到项目的发布日期,才有人发现进度上的问题。因此,坏消息没有 + +任何预兆,很晚才出现在客户和项目经理面前。 + + 另外,此时此刻的延迟具有不寻常的、严重的财务和心理上的反应。在此之前,项目 + +已经配置了充足的人员,每天的人力成本也已经达到了最大的限度。更重要的是,当软件用 + +来支持其他的商业活动(计算机硬件到货,新设备、服务上线等等)时,这些活动延误出现 + +即将发布前,那么将付出相当高的商业代价。 + + 实际上,上述的二次成本远远高于其他开销。因此,在早期进度策划时,允许充分的 + +系统测试时间是非常重要的。 + +空泛的估算 + + 观察一下编程人员,你可能会发现,同厨师一样,某项任务的计划进度,可能受限于 + +顾客要求的紧迫程度,但紧迫程度无法控制实际的完成情况。就像约好在两分钟内完成一个 + +煎蛋,看上去可能进行得非常好。但当它无法在两分钟内完成时,顾客只能选择等待或者生 + +吃煎蛋。软件顾客的情况类似。 + + 厨师还有其他的选择:他可以把火开大,不过结果常常是无法“挽救”的煎蛋——一 + + - 11 - + +----------------------- Page 24----------------------- + +面已经焦了,而另一面还是生的。 + + 现在,我并不认为软件经理内在的勇气和坚持不如厨师,或者不如其他工程经理。但 + +为了满足顾客期望的日期而造成的不合理进度安排,在软件领域中却比其他的任何工程领域 + +要普遍得多。而且,非阶段化方法的采用,少得可怜的数据支持,加上完全借助软件经理的 + +直觉,这样的方式很难生产出健壮可靠和规避风险的估计。 + + 显然我们需要两种解决方案。开发并推行生产率图表、缺陷率、估算规则等等,而整 + +个组织最终会从这些数据的共享上获益。 + + 或者,在基于可靠基础的估算出现之前,项目经理需要挺直腰杆,坚持他们的估计, + +确信自己的经验和直觉总比从期望派生出的结果要强得多。 + +重复产生的进度灾难 + + 当一个软件项目落后于进度时,通常的做法是什么呢?自然是加派人手。如图2.1 至 + +2.4所示,这可能有所帮助,也可能无法解决问题。 + + 我们来考虑一个例子3。设想一个估计需要12个人月的任务,分派给3 个成员4 个月 + +时间,在每个月的末尾安排了可测量的里程碑A、B、C、D (图2.5)。 + + 现在假定两个月之后,第一个里程碑没有达到(图2.6)。项目经理面对的选择方案有 + +哪些呢? + + 1. 假设任务必须按时完成。假设仅仅是任务的第一个部分估计不得当,即如图 2.6 + +所示,则剩余了9 个人月的工作量,时间还有两个月,即需要4.5个开发人员,所以需要在 + +原来3个人的基础上增加2个人。 + + 2. 假设任务必须按时完成。假设整个任务的估计偏低,即如图2.7 所示,那么还有 + +18个人月的工作量以及2个月的时间,需要将原来的3个人增至9 个人。 + + 3. 重新安排进度。我喜欢P.Fagg,一个具有丰富经验的硬件工程师的忠告:“避免小 + +的偏差(Take no small slips)”。也就是说,在新的进度安排中分配充分的时间,以确保 + +工作能仔细、彻底地完成,从而无需重新确定时间进度表。 + + 4. 削减任务。在现实情况中,一旦开发团队观察到进度的偏差,总是倾向于对任务进 + + - 12 - + +----------------------- Page 25----------------------- + +行削减。当项目延期所导致的后续成本非常高时,这常常是唯一可行的方法。项目经理的相 + +应措施是仔细、正式地调整项目,重新安排进度;或者是默默地注视着任务项由于轻率的设 + +计和不完整的测试而被剪除。 + + 5 + + 4 + + 计划进度 + + 月 + 3 A B C D + + 2 + + 1 + + 1 2 3人 4 5 6 7 8 + + 图2.5 + + 5 + + 4 + + 月 + 3 A B C D + + 落后1个月 + 2 (剩余9人/月) + + 1 + + 1 2 3人 4 5 6 7 8 + + 图2.6 + + - 13 - + +----------------------- Page 26----------------------- + + 5 + + 4 + + 月 + 3 A B C D + + 2 (剩余18人/月) + + 1 + + 1 2 3人 4 5 6 7 8 + + 图2.7 + + 5 + B C D + + 4 + + 月 培训结束 + 3 A + + 5个编程人员 + 2 + 7+人月 + + 1 + + 1 2 3人 4 5 6 7 8 + + 图2.8 + + 前两种情况中,坚持把不经调整的任务在四个月内完成将是灾难性的。考虑到重复生 + +成的工作量,以第一种为例(图2.8)——不论在多短的时间内,聘请到多么能干的两位新 + +员工,他们都需要接受一位有经验的职员的培训。如果培训需要一个月的时间,那么三个人 + +月将会投入到原有进度安排以外的工作中。另外,原先划分为三个部分的工作,会重新分解 + +成五个部分;某些已经完成的工作必定会丢失,系统测试必须被延长。因此,在第三个月的 + +月末,仍然残留着7个人月的工作,但此时只有5个有效的人月。如同图2.8 所示,产品还 + +是会延期,如同没有增加任何人手(图2.6)。 + + 期望四个月内完成项目,仅仅考虑培训的时间,不考虑任务的重新划分和额外的系统 + +测试,在第二个月末需要增添4 个,而不是2个人员。如果考虑任务划分和系统测试的工作 + + - 14 - + +----------------------- Page 27----------------------- + +量,则还需要继续增加人手。到那时所拥有的就不是3人的队伍,而是7人以上的团队;并 + +且小组的组织和任务的划分在类型上都不尽相同,这已经不是程度上的差异问题。 + + 注意在第三个月的结尾时,情况看上去还是很糟。除去管理的工作不谈,3 月1 日的里 + +程碑仍未达到。此时,对项目经理而言,仍然存在着很强的诱惑——添加更多人力,结果往 + +往会是上述循环的重复。这简直就是一种疯狂、愚蠢的做法。 + + 前面的讨论仅仅是第一个里程碑估计不当的情况。如果在3 月1 日,项目经理做出了 + +比较保守的假设,即整个估计过于乐观了,如图2.7所示。6个人手需要添加到原先的任务 + +中。培训、任务的重新分配、系统测试工作量的计算作为练习留给读者。但是毫无疑问,重 + +现“灾难”所开发出的产品,比没有增加人手,而是重新安排开发进度所产生的产品更差。 + + 简单、武断地重复一下Brooks 法则: + + 向进度落后的项目中增加人手,只会使进度更加落后。(Adding manpower to a late + +software project makes it later) + + 这就是除去了神话色彩的人月。项目的时间依赖于顺序上的限制,人员的数量依赖于 + +单个子任务的数量。从这两个数值可以推算出进度时间表,该表安排的人员较少,花费的时 + +间较长(唯一的风险是产品可能会过时)。相反,分派较多的人手,计划较短的时间,将无 + +法得到可行的进度表。总之,在众多软件项目中,缺乏合理的时间进度是造成项目滞后的最 + +主要原因,它比其他所有因素加起来的影响还要大。 + + - 15 - + +----------------------- Page 28----------------------- + + 外科手术队伍(The Surgical Team) + +这些研究表明,效率高和效率低的实施者之间具体差别非常大,经常达到了数量级的水平。 + + 1 +- SACKMAN, ERIKSON 和GRANT + +These studies revealed large individual diff erences between high and low performers, ofte n by an + +order of magnitude. + + 1 +- SACKMAN, ERIKSON, AND GRANT + + 在计算机领域的会议中,常常听到年轻的软件经理声称他们喜欢由头等人才组成的小 + +型、精干的队伍,而不是那些几百人的大型团队,这里的“人”当然暗指平庸的程序员。其 + +实我们也经常有相同的看法。 + + 但这种幼稚的观点回避了一个很困难的问题——如何在有意义的时间进度内创建大型 + +的系统?那么就让我们现在来仔细讨论一下这个问题的每一个方面。 + +问题 + + 软件经理很早就认识到优秀程序员和较差的程序员之间生产率的差异,但实际测量出 + +的差异还是令我们所有的人吃惊。在他们的一个研究中,Sackman、Erikson 和Grand 曾对 + +一组具有经验的程序人员进行测量。在该小组中,最好的和最差的表现在生产率上平均为 + +10:1;在运行速度和空间上具有5:1 的惊人差异!简言之,$20,000/年的程序员的生产率可 + +能是$10,000/年程序员的10倍。数据显示经验和实际的表现没有相互联系(我怀疑这种现 + +象是否普遍成立。) + + 我常常重复这样的一个观点,需要协作沟通的人员的数量影响着开发成本,因为成本 + +的主要组成部分是相互的沟通和交流,以及更正沟通不当所引起的不良结果(系统调试)。 + +这一点,也暗示系统应该由尽可能少的人员来开发。实际上,绝大多数大型编程系统的经验 + +显示出,一拥而上的开发方法是高成本的、速度缓慢的、不充分的,开发出的是无法在概念 + + - 16 - + +----------------------- Page 29----------------------- + +上进行集成的产品。OS/360、Exec 8、Scope 6600、Multics、TSS、SAFE 等等——这个列 + +表可以不断地继续下去。 + + 得出的结论很简单:如果一个200人的项目中,有25个最能干和最有开发经验的项目 + +经理,那么开除剩下的175名程序员,让项目经理来编程开发。 + + 现在我们来验证一下这个解决方案。一方面,原有的开发队伍不是理想的小型强有力 + +的团队,因为通常的共识是不超过10个人,而该团队规模如此之大,以至于至少需要两层 + +的管理,或者说大约5名管理人员。另外,它需要额外的财务、人员、空间、文秘和机器操 + +作方面的支持。 + + 另一方面,如果采用一拥而上的开发方法,那么原有200 人的队伍仍然不足以开发真 + +正的大型系统。例如,考虑OS/360 项目。在顶峰时,有超过1000 人在为它工作——程序员、 + +文档编制人员、操作人员、职员、秘书、管理人员、支持小组等等。从1963 年到1966 年, + +设计、编码和文档工作花费了大约5000 人年。如果人月可以等量置换的话,我们所假设的 + +200 人队伍需要25年的时间,才能使产品达到现有的水平。 + + 这就是小型、精干队伍概念上的问题:对于真正意义上的大型系统,它太慢了。设想 + +OS/360 的工作由一个小型、精干的团队来解决。譬如10人队伍。作为一个尺度,假设他们 + +都非常厉害,比一般的编程人员在编程和文档方面的生产率高7倍。假定OS/360 原有开发 + +人员是一些平庸的编程人员(这与实际的情况相差很远)。同样,假设另一个生产率的改进 + +因子提高了7倍,因为较小的队伍所需较少的沟通和交流。那么,5000/ (10×7×7)= 10, + +他们需要10年来完成5000 人年的工作。一个产品在最初设计的10年后才出现,还有人会 + +对它感兴趣吗?或者它是否会随着软件开发技术的快速进步,而显得过时呢? + + 这种进退两难的境地是非常残酷的。对于效率和概念的完整性来说,最好由少数干练 + +的人员来设计和开发,而对于大型系统,则需要大量的人手,以使产品能在时间上满足要求。 + +如何调和这两方面的矛盾呢? + +Mills 的建议 + + 2,3 + Harlan Mills 的提议提供了一个崭新的、创造性的解决方案 。Mills 建议大型项目 + +的每一个部分由一个团队解决,但是该队伍以类似外科手术的方式组建,而并非一拥而上。 + + - 17 - + +----------------------- Page 30----------------------- + +也就是说,同每个成员截取问题某个部分的做法相反,由一个人来进行问题的分解,其他人 + +给予他所需要的支持,以提高效率和生产力。 + + 简单考虑一下,如果上述概念能够实施,似乎它可以满足迫切性的需要。很少的人员 + +被包含在设计和开发中,其他许多人来进行工作的支持。它是否可行呢?谁是编程队伍中的 + +麻醉医生和护士,工作如何划分?让我们继续使用医生的比喻:如果考虑所有可能想到的工 + +作,这样的队伍应该如何运作。 + + 外科医生。Mills称之为首席程序员。他亲自定义功能和性能技术说明书,设计程序, + +编制源代码,测试以及书写技术文档。他使用例如PL/I 的结构化编程语言,拥有对计算机 + +系统的访问能力;该计算机系统不仅仅能进行测试,还存储程序的各种版本,以允许简单的 + +文件更新,并对他的文档提供文本编辑能力。首席程序员需要极高的天分、十年的经验和应 + +用数学、业务数据处理或其他方面的大量系统和应用知识。 + + 副手。他是外科医生的后备,能完成任何一部分工作,但是相对具有较少的经验。他 + +的主要作用是作为设计的思考者、讨论者和评估人员。外科医生试图和他沟通设计,但不受 + +到他建议的限制。副手经常在与其他团队的功能和接口讨论中代表自己的小组。他需要详细 + +了解所有的代码,研究设计策略的备选方案。显然,他充当外科医生的保险机制。他甚至可 + +能编制代码,但针对代码的任何部分,不承担具体的开发职责。 + + 管理员。外科医生是老板,他必须在人员、加薪等方面具有决定权,但他决不能在这 + +些事务上浪费任何时间。因而,他需要一个控制财务、人员、工作地点安排和机器的专业管 + +理人员,该管理员充当与组织中其他管理机构的接口。Baker 建议仅在项目具有法律、合同、 + +报表和财务方面的需求时,管理员才具有全职责任。否则,一个管理员可以为两个团队服务。 + + 编辑。外科医生负责产生文档——出于最大清晰度的考虑,他必须书写文档。对内部 + +描述和外部描述都是如此。而编辑根据外科医生的草稿或者口述的手稿,进行分析和重新组 + +织,提供各种参考信息和书目,对多个版本进行维护以及监督文档生成的机制。 + + 两个秘书。管理员和编辑每个人需要一个秘书。管理员的秘书负责项目的协作一致和 + +非产品文件。 + + 程序职员。他负责维护编程产品库中所有团队的技术记录。该职员接受秘书性质的培 + +训,承担机器码文件和可读文件的相关管理责任。 + + - 18 - + +----------------------- Page 31----------------------- + + 所有的计算机输入汇集到这个职员处。如果需要,他会对它们进行记录或者标识。输 + +出列表会提交给程序职员,由他进行归档和编制索引。另外,他负责将任何模型的最新运行 + +情况记录在状态日志中,而所有以前的结果则按时间顺序进行归档保存。 + + Mills概念的真正关键是“从个人艺术到公共实践”的编程观念转换。它向所有的 + + 团队成员展现了所有计算机的运作和产物,并将所有的程序和数据看作是团队的所有 + + 物,而非私人财产。 + + 程序职员的专业化分工,使程序员从书记的杂事中解放出来,同时还可以对那些杂事 + +进行系统整理,确保了它们的质量,并强化了团队最有价值的财富——工作产品。上述概念 + +显然考虑的是批处理程序。当使用交互式终端,特别是在没有纸张输出的情况下,程序职员 + +的职责并未消失,只是有所更改。他会记录小组程序和私有工作拷贝之间的更新,依然控制 + +所有程序的运行,并使用自己的交互式工具来控制产品逐步增长的完整性和有效性。 + + 工具维护人员。现在已经有很多文件编辑、文本编辑和交互式调试等工具,因此团队 + +很少再需要自己的机器和机器操作人员。但是这些工具使用起来必须毫无疑问地令人满意, + +而且需要具备较高的可靠性。外科医生则是这些工具、服务可用性的唯一评判人员。他需要 + +一个工具维护人员,保证所有基本服务的可靠性,以及承担团队成员所需要的特殊工具(特 + +别是交互式计算机服务)的构建、维护和升级责任。即使已经拥有非常卓越的、可靠的集中 + +式服务,每个团队仍然要有自己的工具人员。因为他的工作是检查他的外科医生所需要的工 + +具。工具维护人员常常要开发一些实用程序、编制具有目录的过程库以及宏库。 + + 测试人员。外科医生需要大量合适的测试用例,用来对他所编写的工作片段,以及对 + +整个工作进行测试。因此,测试人员既是为他的各个功能设计系统测试用例的对头,同时也 + +是为他的日常调试设计测试数据的助手。他还负责计划测试的步骤和为测试搭建测试平台。 + + 语言专家。随着Algol 语言的出现,人们开始认识到大多数计算机项目中,总有一两 + +个乐于掌握复杂编程语言的人。这些专家非常有帮助,很快大家会向他咨询。这些天才不同 + +于外科医生,外科医生主要是系统设计者以及考虑系统的整体表现。而语言专家则寻找一种 + +简洁、有效的使用语言的方法来解决复杂、晦涩或者棘手的问题。他通常需要对技术进行一 + +些研究(两到三天)。通常一个语言专家可以为两个到三个外科医生服务。 + + 以上就是如何参照外科手术队伍,以及如何对10人的编程队伍进行专业化的角色分工。 + + - 19 - + +----------------------- Page 32----------------------- + +如何运作 + + 文中定义的开发团队在很多方面满足了迫切性的需要。十个人,其中七个专业人士在 + +解决问题,而系统是一个人或者最多两个人思考的产物,因此客观上达到了概念的一致性。 + + 要特别注意传统的两人队伍与外科医生——副手队伍架构之间的区别。首先,传统的 + +团队将工作进行划分,每人负责一部分工作的设计和实现。在外科手术团队中,外科医生和 + +副手都了解所有的设计和全部的代码。这节省了空间分配、磁盘访问等的劳动量,同时也确 + +保了工作概念上的完整性。 + + 第二,在传统的队伍中大家是平等的,出现观点的差异时,不可避免地需要讨论和进 + +行相互的妥协和让步。由于工作和资源的分解,不同的意见会造成策略和接口上的不一致, + +例如谁的空间会被用作缓冲区,然而最终它们必须整合在一起。而在外科手术团队中,不存 + +在利益的差别,观点的不一致由外科医生单方面来统一。这两种团队组建上的差异——对问 + +题不进行分解和上下级的关系——使外科手术队伍可以达到客观的一致性。 + + 另外,团队中剩余人员职能的专业化分工是高效的关键,它使成员之间采用非常简单 + +的交流模式成为可能。 + + 外科医生 + + 副手 + + 管理员 程序职员 + + 秘书 工具维护人员 + + 测试人员 + 编辑 + + 语言专家 + 秘书 + + 图3.1:10人程序开发队伍的沟通模式 + + Baker 的文章3 提出了专一的、小规模的测试队伍。在那种情况下,它能按照所预期的 + +进行运作,并具有良好的效果。 + + - 20 - + +----------------------- Page 33----------------------- + +团队的扩建 + + 就目前情况而言,还不错。然而,现在所面临的问题是如何完成5000人年的项目,而 + +不是20 或30 人年规模的系统。如果整个工作能控制在范围之内,10 人的团队无论如何组 + +织,总是比较高效的。但是,当我们需要面对几百人参与的大型任务时,如何应用外科手术 + +团队的概念呢? + + 扩建过程的成功依赖于这样一个事实,即每个部分的概念完整性得到了彻底的提高— + +—决定设计的人员是原来的七分之一或更少。所以,可以让200 人去解决问题,而仅仅需要 + +协调20个人,即那些“外科医生”的思路。 + + 对于协调的问题,还是需要使用分解的技术,这在后续的章节中会继续进行讨论。在 + +这里,可以认为整个系统必须具备概念上的完整性,要有一个系统结构师从上至下地进行所 + +有的设计。要使工作易于管理,必须清晰地划分体系结构设计和实现之间的界线,系统结构 + +师必须一丝不苟地专注于体系结构。总的说来,上述的角色分工和技术是可行的,在实际工 + +作中,具有非常高的效率。 + + - 21 - + +----------------------- Page 34----------------------- + +贵族专制、民主政治和系统设计(Aristocracy, + + Democracy, and System Design) + +大教堂是艺术史上无与伦比的成就。它的原则既不乏味也不混乱……真正达到了风格上的极 + +致,完成这件作品的艺术家们,完全领会和吸收了以往的成功经验,也完全掌握了他们那个 + +时代的技术,而且在应用的时候做到了恰如其分,绝不轻率,也绝不花哨。 + +正是Jean d ‘Orbais构思了建筑的整体设计,这个设计得到了后继者的认同,至少在本质 + +上如此。这也是这个建筑如此和谐统一的原因之一。 + +- 兰斯大教堂指南1 + +This great church is an incompar able work of art. There is neither aridity nor confusion in the + +tenets it sets forth. . . . It is the zenith of a style, the work of artists who had understood and + +assimilated all their predecessors ’ successes, in comp lete possessi on of the techniques of their + +times, but using them without indiscreet display nor gratuitous feats of skill. + +It was Jean d ‘Orbais who undoubtedly conceived the general p lan of the building, a p lan which +was resp ected, at least in its essential elements, by his successors. This is one of the reasons for +the extreme coherence and unity of the edifice. + + 1 +- REIMS CATHEDRAL GUIDEBOOK + +概念一致性 + + 绝大多数欧洲的大教堂中,由不同时代、不同建筑师所建造的各个部分之间,在设计 + +或结构风格上都存在着许多差异。后来的建筑师总是试图在原有建筑师的基础上有所“提 + +高”,以反映他们在设计风格和个人品味上的改变。所以,在雄伟的哥特式的教堂上,依附 + +着祥和的诺曼第风格十字架,它在显示上帝荣耀的同时,展示了同样属于建筑师的骄傲。 + + 与之对应的是,法国城市兰斯(Reims)在建筑风格上的一致性和上面所说的大教堂形 + + - 22 - + +----------------------- Page 35----------------------- + +成了鲜明的对比。设计的一致性和那些独到之处一样,同样让人们赞叹和喜悦。如同旅游指 + +南所述,风格的一致和完整性来自8代拥有自我约束和牺牲精神的建筑师们,他们每一个人 + +牺牲了自己的一些创意,以获得纯粹的设计。同样,这不仅显示了上帝的荣耀,同时也体现 + +了他拯救那些沉醉在自我骄傲中的人们的力量。 + + 对于计算机系统而言,尽管它们通常没有花费几个世纪的时间来构建,但绝大多数系 + +统体现出的概念差异和不一致性远远超过欧洲的大教堂。这通常并不是因为它由不同的设计 + +师们开发,而是由于设计被分成了由若干人完成的若干任务。 + + 我主张在系统设计中,概念完整性应该是最重要的考虑因素。也就是说为了反映一系 + +列连贯的设计思路,宁可省略一些不规则的特性和改进,也不提倡独立和无法整合的系统, + +哪怕它们其实包含着许多很好的设计。在本章和以下的两章里,我们将解释在编程系统设计 + +中,这个主题的重要性。 + + 如何得到概念的完整性? + + 这样的观点是否要有一位杰出的精英,或者说是结构设计师的贵族专制,和一群创 + +造性天分和构思被压制的平民编程实现人员? + + 如何避免结构设计师产出无法实现、或者是代价高昂的技术规格说明,使大家陷入 + +困境? + + 如何才能与实现人员就技术说明的琐碎细节充分沟通,以确保设计被正确地理解, + +并精确地整合到产品中? + +获得概念的完整性 + + 编程系统(软件)的目的是使计算机更加容易使用。为了做到这一点,计算机装备了 + +语言和各种工具,这些工具实际上也是被调用的程序,受到编程语言的控制。使用这些工具 + +是有代价的:软件外部描述的规模大小是计算机系统本身说明的十倍。用户会发现寻找一个 + +特定功能是很容易的,但相应却有太多的选择,要记住太多的选项和格式。 + + 只有当这些功能说明节约下来的时间,比用在学习、记忆和搜索手册上的时间要少时, + +易用性才会得到提高。现代编程系统节省的时间的确超过了花费的时间,但是近年来,随着 + +越来越多的功能添加,收益和成本的比率正逐渐地减少。而IBM 650 使用的容易程度总萦绕 + + - 23 - + +----------------------- Page 36----------------------- + +在我的脑际,即使该系统没有使用汇编和任何其他的软件。 + + 由于目标是易用性,功能与理解上复杂程度的比值才是系统设计的最终测试标准。单 + +是功能本身或者易于使用都无法成为一个好的设计评判标准。 + + 然而这一点被广泛地误解了。操作系统OS/360 由于其复杂强大的功能被它的开发者广 + +为推崇。功能,而非简洁,总是被用来衡量设计人员工作的出色程度。而另一方面,PDP-10 + +的时分系统由于它的简洁和概念的精干被建造它的人员所称道。当然,无论使用任何测量标 + +准,后者的功能与OS/360 都不在一个数量级。但是,一旦以易用性作为衡量标准,单独的 + +功能和易于使用都是不均衡的,都只达到了真正目标的一半。 + + 对于给定级别的功能,能用最简洁和直接的方式来指明事情的系统是最好的。只 + + 有简洁(simplicity)是不够的,Mooers 的TRAC 语言和Algol 68 用很多独特的基本 + + 概念达到了所需的简洁特性,但它们并不直白(straightforward)。要表达一件待完成 + + 的事情,常常需要对基本元素进行意料不到的复杂组合。而且,仅仅了解基本要素和组 + + 合规则还不够,还需要学习晦涩的用法,以及在实际工作中如何进行组合。简洁和直白 + + 来自概念的完整性。每个部分必须反映相同的原理、原则和一致的折衷机制。在语法上, + + 每个部分应使用相同的技巧;在语义上,应具有同样的相似性。因此,易用性实际上需 + + 要设计的一致性和概念上的完整性。 + +贵族专制统治和民主政治 + + 概念的完整性要求设计必须由一个人,或者非常少数互有默契的人员来实现。 + + 而进度压力却要求很多人员来开发系统。有两种方法可以解决这种矛盾。第一种是仔 + +细地区分设计方法和具体实现。第二种是前一章节中所讨论的、一种崭新的组建编程开发团 + +队的方法。 + + 对于非常大型的项目,将设计方法、体系结构方面的工作与具体实现相分离是获得概 + +念完整性的强有力方法。我亲眼目睹了它在IBM 的Stretch 计算机和360计算机产品线上的 + +巨大成功。但同时我也看到了这种方法在360操作系统的开发中,由于缺乏广泛应用所遭受 + +的失败。 + + 系统的体系结构(architecture)指的是完整和详细的用户接口说明。对于计算机, + + - 24 - + +----------------------- Page 37----------------------- + +它是编程手册;对于编译器,它是语言手册;对于控制程序,它是语言和函数调用手册;对 + + 2 +于整个系统,它是用户要完成自己全部工作所需参考的手册的集合 。 + + 因此,系统的结构师,如同建筑的结构师一样,是用户的代理人。结构师的工作,是 + +运用专业技术知识来支持用户的真正利益,而不是维护销售人员所鼓吹的利益。 + + 体系结构同实现必须仔细地区分开来。如同Blaauw 所说的,“体系结构陈述的是发生 + + 3 +了什么,而实现描述的是如何实现 。”他举了一个简单的例子——时钟。它的结构包括表面、 + +指针和上发条的旋钮。当一个小孩知道了时钟的外表结构,他很容易从手表或者教堂上的时 + +钟辨认时间。而时钟的实现,描述了表壳中的事物——很多种动力提供装置中的一种,以及 + +众多控制精度方案的一种。 + + 例如,在System/360 中,一个计算机的结构可以用9 种不同的模型来实现;而单个实 + +现——Model 30 的数据流、内存和微代码实现——可以用于 4 种不同的体系结构: + + 4 +System/360计算机、拥有224 个独立逻辑子通道的复杂通道、选择通道以及1401 计算机 。 + + 同样的划分方法也适用于编程系统。例如,美国的Fortran IV 标准,是多种编译器所 + +遵循的体系结构标准。该体系结构下有多种可能的实现:以文本为核心、以编译器为核心、 + +快速编译和优化以及侧重语法的实现。相类似的,任何汇编语言和任务控制语言都允许有多 + +种编译器或调度程序的实现。 + + 现在让我们来处理具有浓厚感情色彩的问题——贵族统治和民主政治。结构师难道不 + +是新贵?他们一些智力精英,专门来告诉可怜的实现人员如何工作?是否所有的创造性活动 + +被那些精英单独占有,实现人员仅仅是机器中的齿轮?难道不能遵循民主的理论,从所有的 + +员工中搜集好的创意,以得到更好的产品,而不是将技术说明工作仅限定于少数人? + + 最后一个问题是最简单的。我当然不认为只有结构师才有好的创意。新的概念经常来 + +自实现者或者用户。然而,我一直试图表达,并且我所有的经验使我确信,系统的概念完整 + +性决定了使用的容易程度。不能与系统基本概念进行整合的良好想法和特色,最好放到一边, + +不予考虑。如果出现了很多非常重要但不兼容的构想,就应该抛弃原来的设计,对不同基本 + +概念进行合并,在合并后的系统上重新开始。 + + 至于贵族专制统治的问题,必须回答 “是”或者“否”。就必须只能存在少数的结构 + +师而言,答案是肯定的,他们的工作产物的生命周期比那些实现人员的产物要长,并且结构 + + - 25 - + +----------------------- Page 38----------------------- + +师一直处在解决用户问题,实现用户利益的核心地位。如果要得到系统概念上的完整性,那 + +么必须控制这些概念。这实际上是一种无需任何歉意的贵族专制统治。 + + 第二个问题的答案是否定的,因为外部技术说明的编制工作并是比具体设计实现更富 + +有创造性,它只是一项性质不同的创造工作而已。在给定体系结构下的设计实现,同样需要 + +同编制技术说明一样的创造性、同样新的思路和卓越的才华。实际上,产品的成本性能比很 + +大程度上依靠实现人员,就如同易用性很大程度上依赖结构师一样。 + + 有很多行业和领域中的案例让人相信纪律和规则对行业是有益的。实际上,如同某艺 + +术家的格言所述,“没有规矩,不成方圆。”最差的建筑往往是那些预算远远超过起始目标的 + +项目。巴赫曾被要求每周创作一篇形式严格的歌剧,但这似乎并没有被压制他的创造性。并 + +且,我确信如果Stretch 计算机有更严格的限制,那么该计算机会拥有更好的体系结构。就 + +我个人意见而言,System/360 Model 30预算上的限制,完全获益于Model 75 的体系结构。 + + 类似的,我观察到外部的体系结构规定实际上是增强,而不是限制实现小组的创造性。 + +一旦他们将注意力集中在没有人解决过的问题上,创意就开始奔涌而出。在毫无限制的实现 + +小组中,在进行结构上的决策时,会出现大量的想法和争议,对具体实现的关注反而会比较 + + 5 +少 。 + + 我曾见过很多次这样的结果,R.W.Conway 也证实了这一点。他在Cornell 的小组曾编 + +制PL/I 语言的编译器。他说:“最后我们的编译器决定支持不经过改进和增强的语言,因为 + +关于语言的争议已经耗费了我们所有的时间和精力。6” + +在等待时,实现人员应该做什么? + + 几百万元的失误是非常令人惭愧的经验,但同时也是让人记忆深刻的教训。当年我们 + +计划和组织编写OS/360 外部技术说明的那个夜晚,常常重现在我的脑海。我和体系结构经 + +理、程序实现经理一起制订计划进度,并确认责任分工。 + + 体系结构经理拥有10个很好的员工,他声称他们可以书写规格说明,并出色地完成任 + +务。该任务需要10个月,比所允许的进度多了3个月。 + + 程序实现经理有 150 人。他认为在体系结构队伍的协助下,他们可以准备技术说明, + +并且能按照时间进度,完成高质量的、切合实际的说明。此外,如果光是由体系结构的团队 + + - 26 - + +----------------------- Page 39----------------------- + +承担该工作,他的150人只能坐在那儿干等10个月,无所事事。 + + 对此,体系结构的经理的反应是,如果让程序实现队伍来负责该工作,结果不会按时 + +完成,仍将推迟3个月,而且质量更加低劣。我将工作分派给了程序实现队伍,其结果也确 + +实如此。体系结构经理的两个结论都得到了证实。另外,概念完整性的缺乏导致系统开发和 + +修改上要付出更昂贵的代价,我估计至少增加了一年的调试时间。 + + 当然,很多因素造成了那个错误的决策,但决定性因素是时间进度和让150 名编程人 + +员进行工作的愿望。而它也正是我想强调的致命危险。 + + 当建议由体系结构的团队来编写计算机和编程系统的所有外部技术说明时,编程人员 + +提出了三个反对意见: + + 该说明中的功能过于繁多,而对实际情况中的成本考虑比较少 + + 结构师获得了所有创造发明的快乐,剥夺了实现人员的创造力 + + 当体系结构的队伍缓慢工作时,很多实现人员只能空闲地坐着等待 + + 这些问题中的第一个确实是一项危险,在下一章中我们将讨论这个问题,但其他的两 + +个问题都是一些简单而纯粹的误解。正如我们前面所看到的,实现同样是一项高级别的创造 + +性活动。具体实现中创造和发明的机会,并不会因为指定了外部技术说明而大为减少,相反 + +创造性活动会因为规范化而得到增强,整个产品也一样。 + + 最后一个反对意见是时间顺序和阶段性上的问题。问题的简要回答是,在说明完成的 + +时候,才雇用编程实现人员。这也正是在搭建一座建筑时所采用的方法。 + + 在计算机这个行业中,节奏非常快,而且常常想尽可能地压缩时间进度,那么技术说 + +明和开发实现能有多少重叠呢? + + 如同 Blaauw 所指出的,整个创造性活动包括了三个独立的阶段:体系结构 + + (architecture)、设计实现(implementation)、物理实现(realization)。在实际情况中, + +它们往往可以同时开始和并发地进行。 + + 例如,在计算机的设计中,一旦设计实现人员有了对手册的模糊设想,对技术有了相 + +对清晰的构思以及拥有了定义良好的成本和目标时,工作就可以开始了。他可以开始设计数 + +据流、控制序列、大体的系统划分等等。同时,还需要选用工具以及进行相应的调整,特别 + + - 27 - + +----------------------- Page 40----------------------- + +是记录存档系统和设计自动化系统。 + + 同时,在物理实现的级别,电路、板卡、线缆、机箱、电源和内存必须分别设计、细 + +化和编制文档。这项工作与体系结构及设计实现并行进行。。 + + 在编程系统的开发中,这个原理同样适用。在外部说明完成之前,设计实现人员有很 + +多的事情可以做。只要有一些最终将并入外部说明的系统功能雏形,他就可以开始了。首先, + +必须设定良好定义的时间和空间目标,了解产品运行的平台配置。接着,他可以开始设计模 + +块的边界、表结构、算法以及所有的工具。另外,还需要花费一些时间和体系结构师沟通。 + + 同时,在物理实现的级别,也有很多可以着手的工作。编程也是一项技术,如果是新 + + 7 +型的机器,则在库的调整、系统管理以及搜索和排序算法上,有许多事情需要处理 。 + + 概念的完整性的确要求系统只反映唯一的设计理念,用户所见的技术说明来自少数人 + +的思想。实际工作被划分成体系结构、设计实现和物理实现,但这并不意味着该开发模式下 + +的系统需要更长的时间来创建。经验显示恰恰相反,整个系统将会开发得更快,所需要的测 + +试时间将更少。同工作的水平分割相比,垂直划分从根本上大大减少了劳动量,结果是使交 + +流彻底地简化,概念完整性得到大幅提高。 + + - 28 - + +----------------------- Page 41----------------------- + + 画蛇添足(The Second-System Effect ) + +聚沙成塔,集腋成裘。 + +- 奥维德 + +Adde parvum parvo magnus acervus erit. + +[Add little to little and there will be a big pile.] + +- OVID + + 如果将制订功能规格说明的责任从开发快速、成本低廉的产品的责任中分离出来,那 + +么有什么样的准则和机制来约束结构师的创造性热情呢? + + 基本回答是结构师和建筑人员之间彻底、仔细和谐的交流。另外,还有很多值得关注 + +的、更细致的答案。 + +结构师的交互准则和机制 + + 建筑行业的结构设计师使用估算技术来编制预算,该估算技术会由后续的承包商报价 + +来验证和修正。承包商的报价总会超过预算。接下来,设计师会重新改进他的预算或修订设 + +计,调整到下一期工程。他也可能会向承包商建议,使用更加便宜的方法来实现设计。 + + 类似的过程也支配着计算机系统和计算机编程系统的结构师。相比之下,他有能在设 + +计早期从承包商处得到报价的优势,几乎是只要他询问,就能得到答案。他的不利之处常常 + +是只有一个承包商,后者可以增高或降低前者的估计,来反映对设计的好恶。实际情况中, + +尽早交流和持续沟通能使结构师有较好的成本意识,以及使开发人员获得对设计的信心,并 + +且不会混淆各自的责任分工。 + + 面对估算过高的难题,结构师有两个选择:削减设计或者建议成本更低的实现方法— + +—挑战估算的结果。后者是固有的主观感性反应。此时,结构师是在向开发人员的做事方式 + + - 29 - + +----------------------- Page 42----------------------- + +提出挑战。想要成功,结构师必须 + + 牢记是开发人员承担创造性和发明性的实现责任,所以结构师只能建议,而不能支 + +配; + + 时刻准备着为所指定的说明建议一种实现的方法,同样准备接受其他任何能达到目 + +标的方法; + + 对上述的建议保持低调和平静; + + 准备放弃坚持所作的改进建议; + + 一般开发人员会反对体系结构上的修改建议。通常他是对的——当正在实现产品时, + +某些特性的修改会造成意料不到的成本开销。 + + 自律——开发第二个系统所带来的后果 + + 在开发第一个系统时,结构师倾向于精炼和简洁。他知道自己对正在进行的任务不够 + +了解,所以他会谨慎仔细地工作。 + + 在设计第一个项目时,他会面对不断产生的装饰和润色功能。这些功能都被搁置在一 + +边,作为“下一个”项目的内容。第一个项目迟早会结束,而此时的结构师,对这类系统充 + +满了十足的信心,熟练掌握了相应的知识,并且时刻准备开发第二个系统。 + + 第二个系统是设计师们所设计的最危险的系统。而当他着手第三个或第四个系统时, + +先前的经验会相互验证,得到此类系统通用特性的判断,而且系统之间的差异会帮助他识别 + +出经验中不够通用的部分。 + + 一种普遍倾向是过分地设计第二个系统,向系统添加很多修饰功能和想法,它们曾在 + +第一个系统中被小心谨慎地推迟了。结果如同Ovid所述,是一个“大馅饼”。例如,后来被 + +嵌入到7090 的IBM 709 系统,709 是对非常成功和简洁的704 系统进行升级的二次开发项 + +目。709 的操作集合被设计得如此丰富和充沛,以至于只有一半操作被常规使用。 + + 让我们来看看更严重的例子——Stretch 计算机的结构(architecture)、设计实现 + + (implementation)、甚至物理实现(realization),它是很多人被压抑创造力的宣泄出口。 + +如果Strachey在评审时所述: + + - 30 - + +----------------------- Page 43----------------------- + + 对于Stretch 系统,我的印象是从某种角度而言,它是一个产品线的终结。如同早期 + +的计算机程序一样,它极富有创造性,极端复杂,非常高效。但不知为什么,同时也感觉到 + + 1 +粗糙、浪费、不优雅,以及让人觉得必定存在某种更好的方法 。 + + 操作系统360对于大多数设计者来说,是第二个系统。它的设计小组成员来自1410-7010 + +磁盘操作系统、Stretch 操作系统、Mercury 实时系统项目和7090 的IBSYS。几乎没有人有 + + 2 +两个以上早期操作系统的经验。因此,OS/360 是典型的第二次开发(second-system effect) + +的例子,是软件行业的Stretch 系统。Strachey 的赞誉和批评可以毫无更改地应用在其中。 + + 例如,OS/360 开发了26字节的常驻日期翻转例程来正确地处理闰年的12月31 日的问 + +题,其实它完全可以留给操作员来完成。 + + 开发第二个系统所引起的后果(second-system effect)与纯粹的功能修饰和增强明 + +显不同,也就是说存在对某些技术进行细化、精炼的趋势。由于基本系统设想发生了变化, + +这些技术已经显得落后。OS/360 中有很多这样的例子。 + + 例如,链接编辑器的设计,它用来对分别编译后的程序进行装载,解决它们之间的交 + +叉引用。除了这些基本的功能,它还支持程序的覆盖(overlay)。这是所有实现的覆盖服务 + +程序中最好的一种。它允许链接时在外部完成覆盖结构,而无需在源代码中进行设计。它还 + +允许在运行时刻改变覆盖,而不必重新编译。它配备了丰富的实用选项和各种功能。某种意 + +义上,它是若干年静态覆盖技术开发的顶峰。 + + 然而,它同时也是最后和最优秀的恐龙,因为它属于一个基本运行方式为多道程序, + +以动态内核分配为基础的系统,这直接与静态覆盖的概念相冲突。如果我们把投入在覆盖管 + +理上的工作量,用在提高动态内核分配和动态交叉引用的性能上,那么系统将会运行得多么 + +好啊! + + 另外,链接编辑器需要如此大的空间,而且它本身就包含了很多链接库,以至于即使 + +在不使用覆盖管理功能,仅仅使用链接功能的时候,它也比绝大多数系统的编译程序还要慢。 + +具有讽刺意味的是,链接程序的目的是为了避免重新编译。这种情况就像一个挺着大肚子的 + +节食者一样,直到系统的思想已经十分优越时,才开始对原有技术进行细化和精炼。 + + TESTRAN 调试程序是这个趋势的另一个例子。它在批调试程序中是出类拔萃的,配备了 + +真正优雅的快照和内存信息转储功能。它使用了控制段的概念和卓越的生成技术,从而不需 + + - 31 - + +----------------------- Page 44----------------------- + + 3 +要重新编译或解释,就能实现选择性跟踪和快照。这种709共享操作系统 中魔术般的概念 + +得到了广泛的使用。 + + 但同时,整个无需重编译的批调试概念变得落伍了。使用语言解释器和增量编译器的 + +交互式计算系统,向它提出了最根本的挑战。即使是在批处理系统中,快速编译/慢速执行 + +编译器的出现,也使源代码级别调试和快照技术成为优先选择的技术。如果在构建和优化交 + +互式和快速编译程序之前,就已经着手TESTRAN 的开发,那么系统将是多么的优秀啊! + + 还有另外一个例子是调度程序。OS/360 的调度程序是非常杰出的,它提供了管理固定 + +批作业的杰出功能。从真正意义上讲,该调度程序是作为1410-7010磁盘操作系统后续的 + +二次系统,经过了精炼、改进和增强。它是除了输入-输出以外的非多道程序批处理系统, + +是一种主要用于商业应用的系统。但是,它对OS/360 的远程任务项、多道程序、永久驻留 + +交互式子系统,几乎完全没有影响和帮助。实际上,OS/360 调度程序的设计使它们变得更 + +加困难。 + + 结构师如何避免画蛇添足——开发第二个系统所引起的后果(second-system + +effect)?是的,他无法跳过二次系统。但他可以有意识关注那些系统的特殊危险,运用特 + +别的自我约束准则,来避免那些功能上的修饰;根据系统基本理念及目的变更,舍弃一些功 + +能。 + + 一个可以开阔结构师眼界的准则是为每个小功能分配一个值:每次改进,功能x 不超 + +过m 字节的内存和n 微秒。这些值会在一开始作为决策的向导,在物理实现期间充当指南和 + +对所有人的警示。 + + 项目经理如何避免画蛇添足(second-system effect)?他必须坚持至少拥有两个系 + +统以上开发经验结构师的决定。同时,保持对特殊诱惑的警觉,他可以不断提出正确的问题, + +确保原则上的概念和目标在详细设计中得到完整的体现。 + + - 32 - + +----------------------- Page 45----------------------- + + 贯彻执行(Passing the Word) + +他只是坐在那里,嘴里说:“做这个!做那个!”当然,什么都不会发生,光说不做是没有用 + +的。 + + 1 +- 哈里·杜鲁门,关于总统的权力 + +He'll sit here and he'll say, "Do this! Do that!" And nothing will happen. + + 1 +- HARRY S. TRUMAN, ON PRESIDENTIAL POWER + + 假设一个项目经理已经拥有行事规范的结构师和许多编程实现人员,那么他如何确保 + +每个人听从、理解并实现结构师的决策?对于一个由1000 人开发的系统,一个10个结构师 + +的小组如何保持系统概念上的完整性?在System/360 硬件设计工作中,我们摸索出来一套 + +实现上述目标的方法,它们对于软件项目同样适用。 + +文档化的规格说明——手册 + + 手册、或者书面规格说明,是一个非常必要的工具,尽管光有文档是不够的。手册是 + +产品的外部规格说明,它描述和规定了用户所见的每一个细节;同样的,它也是结构师主要 + +的工作产物。 + + 随着用户和实现人员反馈的增加,规格说明中难以使用和难以构建实现的地方不断被 + +指出,规格说明也不断地被重复准备和修改。然而对实现人员而言,修改的阶段化是很重要 + +的——在进度表上应该有带日期的版本信息。 + + 手册不但要描述包括所有界面在内的用户可见的一切,它同时还要避免描述用户看不 + +见的事物。后者是编程实现人员的工作范畴,而实现人员的设计和创造是不应该被限制的。 + +体系结构设计人员必须为自己描述的任何特性准备一种实现方法,但是他不应该试图支配具 + +体的实现过程。 + + - 33 - + +----------------------- Page 46----------------------- + + 规格说明的风格必须清晰、完整和准确。用户常常会单独提到某个定义,所以每条说 + +明都必须重复所有的基本要素,所以所有文字都要相互一致。这往往使手册读起来枯燥乏味, + +但是精确比生动更加重要。 + + System/360 Principles of Operation 的一致完整性来自仅有两名作者的事实:Gerry + +Blaauw 和AndrisPadegs。思路是大约十个人的想法,但如果想保持文字和产品之间的一致 + +性,则必须由一个或两个人来完成将其结论转换成书面规格说明的工作。而且,将定义书写 + +成文字,必须对很多原先并不是非常重要的问题进行判断,并得出结论。例如,System/360 + +需要决定在每次操作后,如何设置返回的条件码。其实,对于在整个设计中,保证这些看似 + +琐碎的问题处理原则上的一致性,决不是一件无关紧要的事情。 + + 我想我所见过的最好的一份手册是System360 Principles of Operation 的附录。它 + +精确仔细地规定了System/360 兼容性的限制。它定义了兼容性,描述了将达到的目标,列 + +举了很多外部显示的各个部分:源于某个模型与其他模型差异,带来变化的部分和保持不变 + +的部分;或者是某个给定模型的拷贝不同于其他拷贝的地方;甚至是工程上的变更引起拷贝 + +自身上的差异。而这正是一个规格说明作者所应该追求的精确程度,他必须在仔细定义规定 + +什么的同时,定义未规定什么。 + +形式化定义 + + 英语或者其他任何的人类语言,从根本上说,都不是一种能精确表达上述定义的手段。 + +因此,手册的作者必须注意自己的思路和语言,达到所需要的精确程度。一种颇具吸引力的 + +作法是对上述定义使用形式化标记方法。毕竟,精确度是我们需要的东西,这也正是形式化 + +标记方法存在的理由和原因。 + + 让我们来看一看形式化定义的优点和缺点。如文中所示,形式化定义是精确的,它们 + +倾向于更加完整;差异得更加明显,可以更快地完成。但是形式化定义的缺点是不易理解。 + +记叙性文字则可以显示结构性的原则,描述阶段上或层次上的结构,以及提供例子。它可以 + +很容易地表达异常和强调对比的关系,最重要的是,它可以解释原因。在表达的精确和简明 + +性上,目前所提出的形式化定义,具有了令人惊异的效果,增强了我们进行准确表达的信心。 + +但是,它还需要记叙性文字的辅助,才能使内容易于领会和讲授。出于这些原因,我想将来 + +的规格说明同时包括形式化和记叙性定义两种方式。 + + - 34 - + +----------------------- Page 47----------------------- + + 一句古老的格言警告说:“决不要携带两个时钟出海,带一个或三个。”同样的原则也 + +适用于形式化和记叙性定义。如果同时具有两种方式,则必须以一种作为标准,另一种作为 + +辅助描述,并照此明确地进行划分。它们都可以作为表达的标准,例如,Algol 68 采用形 + +式化定义作为标准,记叙性文字作为辅助。PL/I 使用记叙性定义作为主要方式,形式化定 + +义用作辅助表述。System/360 也将记叙性文字用作标准,以及形式化定义用作派生的论述。 + + 很多工具可以用于形式化定义,例如巴科斯范式在语言定义中很常用,它在书本中有 + + 2 3 +详细的描述 。PL/I 的形式化定义使用了抽象语法的新概念,该概念有很确切的解释 。 + + 4 5 +Iverson 的APL 曾用来描述机器,突出的应用是IBM 7090 和System/360 。 + + Bell和Newell建议了能同时描述配置和机器结构的新标注方法,并且在许多机型的应 + + 6 8 +用上得以体现,如DEC PDP-8 、7090 、System/360。 + + 在规定系统外部功能的同时,几乎所有的形式化定义均会用来描述和表达硬件系统或 + +软件系统的某个设计实现。语法和规则的表达可以不需要具体的设计实现,但是特定的语义 + +和意义通常会通过一段实现该功能的程序来定义。理所当然,这是一种实现,不过它过多地 + +限定了体系结构。所以必须特别指出形式化定义仅仅用于外部功能,说明它们是什么。 + + 如同前面所示,形式化定义可以是一种设计实现。反之,设计实现也可以作为一种形 + +式化定义的方法。当制造第一批兼容性的计算机时,我们使用的正是上述技术:新的机器同 + +原有的机器一致。如果手册有一些模糊的地方?“问一问机器!”——设计一段程序来得到 + +其行为,新机器必须按照上述结果运行。 + + 硬件或软件系统的仿真装置,可以按照相同的方式完整运用。它是一种实现,可以运 + +行。因此,所有定义的问题可以通过测试来解决。 + + 使用实现来作为一种定义的方式有一些优点。首先,所有问题可以通过试验清晰地得 + +到答案,从来不需要争辩和商讨,回答是快捷迅速的。通过定义得出的答案,总是同所要求 + +的一样精确和正确。但是,相对于这些优点的,是一系列可怕的缺点。实现可能更加过度地 + +规定了外部功能。例如,无效的语法通常会产生某些结果。在拥有错误控制的系统中,它通 + +常仅仅导致某种“无效”的指示,而不会产生其他的东西。在无错误控制的系统中,会产生 + +各种副作用,它们可能被程序员所使用。例如,当我们着手在System/360 上模拟IBM 1401 + +时,有30 个不同的“古玩”——被认为是无效操作的副作用——得到广泛的应用,并被认 + +为是定义的一部分。作为一种定义,实现体现了过多的内容:它不但描述了系统必须做什么, + + - 35 - + +----------------------- Page 48----------------------- + +同时还声明了自己到底做了些什么。 + + 因此,当尖锐的问题被提及时,实现有时会给出未在计划中的意外答案;这些答案中, + +真正的定义常常是粗糙的,因为它们从来没有被仔细考虑过。这些粗糙的功能在其他的设计 + +实现中,往往是低效或者代价高昂的。例如,一些机器在乘法运算之后,将某些运算的垃圾 + +遗留在被乘数寄存器中。该功能确切的特性,即保存运算垃圾,成为了真正定义的一部分。 + +然而,重复该细节可能会阻止某些快速乘法算法的使用。 + + 最后,关于实际使用标准是形式化描述还是叙述性文字这一点而言,使用实现作为形 + +式化定义特别容易引起混淆,特别是在程序化的仿真中。另外,当实现充当标准时,还必须 + +防止对实现的任何修改。 + +直接整合 + + 对软件系统的体系结构师而言,存在一种更加可爱的方法来分发和强制定义。对于建 + +立模块间接口语法,而非语义时,它特别有用。这项技术是设计被传递参数和共享存储器的 + +声明,并要求编程实现在编译时的一些操作(PL/I 的宏或%INCLUDE)来包含这些声明。另 + +外,如果整个接口仅仅通过符号名称进行引用,那么需要修改声明的时候,可以通过增加或 + +插入新变量,或者重新编译受影响的程序。这种方法不需要修改程序内容。 + +会议和大会 + + 无需多说,会议是必要的。然而,数百人在场的大型磋商会议往往需要大规模和非常 + +正式地召集。因此,我们把会议分成两个级别:周例会和年度大会——这实际上是一种非常 + +有效的方式。 + + 周例会是每周半天的会议,由所有的结构师,加上硬件和软件实现人员代表和市场计 + +划人员参与,由首席系统结构师主持。 + + 会议中,任何人可以提出问题和修改意见,但是建议书通常是以书面形式,在会议之 + +前分发。新问题通常会被讨论一些时间。重点是创新,而不仅仅是结论。该小组试图发现解 + +决问题的新方法,然后少数解决方案会被传递给一个和几个结构师,详细地记录到书面的变 + +更建议说明书中。 + + - 36 - + +----------------------- Page 49----------------------- + + 接着会对详细的变更建议做出决策。这会经历几个反复过程,实现人员和用户会仔细 + +地进行考虑,正面和负面的意见都会被很好地描述。如果达成了共识,非常好;如果没有, + +则由首席结构师来决定。这需要花费时间,最终所发布的结论是正式和果断的。 + + 周例会的决策会给出迅捷的结论,允许工作继续进行。如果任何人对结果过于不高兴, + +可以立刻诉诸于项目经理,但是这种情况非常少见。 + + 这种会议的卓有成效是由于: + + 1. 数月内,相同小组——结构师、用户和实现人员——每周交流一次。因此,大家对 + +项目相关的内容比较了解,不需要安排额外时间对人员进行培训。 + + 2. 上述小组十分睿智和敏锐,深刻理解所面对的问题,并且与产品密切相关。没有人 + +是“顾问”的角色,每个人都要承担义务。 + + 3. 当问题出现时,在界线的内部和外部同时寻求解决方案。 + + 4. 正式的书面建议集中了注意力,强制了决策的制订,避免了会议草稿纪要方式的不 + +一致。 + + 5. 清晰地授予首席结构师决策的权力,避免了妥协和拖延。 + + 随着时间的推移,一些决定没有很好地贯彻,一些小事情并没有被某个参与者真正地 + +接受,其他决定造成了未曾遇到的问题。对于这些问题,有时周例会没有重新考虑,慢慢地, + +很多小要求、公开问题或者不愉快会堆积起来。为解决这些堆积起来的问题,我们会举行年 + +度大会,典型的年度大会会持续两周。(如果由我重新安排,我会每六个月举行一次。) + + 这些会议在手册冻结的前夕召开。出席人员不仅仅包括体系结构小组和编程人员、实 + +现人员的结构代表,同时包括编程经理、市场和实现人员,由System/360 的项目经理主持。 + +议程典型地包括大约200个条目,大多数条目的规模很小,它们列举在会议室周围的图表上, + +每个不同的声音都有机会得到表达。然后,会制订出决策,加上出色的计算机化文本编辑工 + +作(许多优秀员工的卓越的工作成果)。每天早晨,会议参与人员会在座位上发现更新了的 + +手册说明,记录了前一天的各项决定。 + + 这些“收获的节日”不仅可以解决决策上的问题,而且使决策更容易被接受。每个人 + +都在倾听,每个人都在参与,每个人对复杂约束和决策之间的相互关系有了更透彻的理解。 + + - 37 - + +----------------------- Page 50----------------------- + +多重实现 + + System/360 的结构师具有两个空前有利的条件:充足的工作时间,拥有与实现人员相 + +同的策略影响力。充足时间来自新技术的开发日程;而多重实现的同时开发带来了策略上的 + +平等性。不同实现之间严格要求相互兼容,这种必要性是强制规格说明的最佳代言人。 + + 在大多数计算机项目中,机器和手册之间往往会在某一天出现不一致,人们通常会忽 + +略手册。因为与机器相比,手册更容易改动,并且成本更低。然而,当存在多重实现时,情 + +况就不是这样。这时,如实地遵从手册更新机器所造成的延迟和成本的消耗,比根据机器调 + +整手册要低。 + + 在定义某编程语言的时候,上述概念可以卓有成效地得到应用。可以肯定的是,迟早 + +会有很多编译器或解释器被推出,以满足各种各样的目标。如果起初至少有两种以上的实现, + +那么定义会更加整洁和规范。 + +电话日志 + + 随着实现的推进,无论规格说明已经多么精确,还是会出现无数结构理解和解释方面 + +的问题。显然有很多问题需要文字澄清和解释,还有一些仅仅是因为理解不当。 + + 显然,对于存有疑问的实现人员,应鼓励他们打电话询问相应的结构师,而不是一边 + +自行猜测一边工作,这是一项很基本的措施。他们还需要认识到的是,上述问题的答案必须 + +是可以告知每个人的权威性结论。 + + 一种有用的机制是由结构师保存电话日志。日志中,他记录了每一个问题和相应的回 + +答。每周,对若干结构师的日志进行合并,重新整理,并发布给用户和实现人员。这种机制 + +很不正式,但非常快捷和易于理解。 + +产品测试 + + 项目经理最好的朋友就是他每天要面对的敌人——独立的产品测试机构/小组。该 + + 小组根据规格说明检查机器和程序,充当麻烦的代言人,查明每一个可能的缺陷和相互 + + 矛盾的地方。每个开发机构都需要这样一个独立的技术监督部门,来保证其公正性。 + + - 38 - + +----------------------- Page 51----------------------- + + 在最后的分析中,用户是独立的监督人员。在残酷的现实使用环境中,每个细微缺陷 + +都将无从遁形。产品-测试小组则是顾客的代理人,专门寻找缺陷。不时地,细心的产品测 + +试人员总会发现一些没有贯彻执行、设计决策没有正确理解或准确实现的地方。出于这方面 + +的原因,设立测试小组是使设计决策得以贯彻执行的必要手段,同样也是需要尽早着手,与 + +设计同时实施的重要环节。 + + - 39 - + +----------------------- Page 52----------------------- + + 为什么巴比伦塔会失败?(Why Did the + + Tower of Babel Fail?) + + ……现在整个大地都采用一种语言,只包括为数不多的单词。在一次从东方往西方迁徙的过 + +程中,人们发现了苏美尔地区,并在那里定居下来。接着他们奔走相告说:“来,让我们制 + +造砖块,并把它们烧好。”于是,他们用砖块代替石头,用沥青代替灰泥(建造房屋)。然后, + +他们又说:“来,让我们建造一座带有高塔的城市,这个塔将高达云宵,也将让我们声名远 + +扬,同时,有了这个城市,我们就可以聚居在这里,再也不会分散在广阔的大地上了。”于 + +是上帝决定下来看看人们建造的城市和高塔,看了以后,他说:“他们只是一个种族,使用 + +一种的语言,如果他们一开始就能建造城市和高塔,那以后就没有什么难得倒他们了。来, + +让我们下去,在他们的语言里制造些混淆,让他们相互之间不能听懂。”这样,上帝把人们 + +分散到世界各地,于是他们不得不停止建造那座城市。(创世纪,11:1-8) + +Now the whole earth used only one language, with few words. On the occasion of a migration + +fr om the east, men discovered a plain in the land of Shinar, and settled there. Then they said to one + +another, "Come, let us make bricks, burning them well." So they used bricks for stone, and + +bitumen for mortar. Then they said, "Come, let us build ourselves a city with a tower whose top + +shall reach the heavens (thus making a name for ourselves), so that we may not be scattered all + +over the earth." Then the Lord came down to look at the city and tower which human beings had + +built. The Lord said, "They are just onepeop le and they all have the same language. If this is what + +they can do as a beginning, then nothing that they resolve to do will be impossib le for them. Come, + +let us go down, and there make such a babble of their language that they will not understand one + +another's sp eech." Thus the Lord dispersed them from there all over the earth, so that they had to + +stop building the city. (Book of Genesis, 11:1-8). + + - 40 - + +----------------------- Page 53----------------------- + +巴比伦塔的管理教训 + + 据《创世纪》记载,巴比伦塔是人类继诺亚方舟之后的第二大工程壮举,但巴比伦塔 + +同时也是第一个彻底失败的工程。 + + 这个故事在很多方面和不同层次都是非常深刻和富有教育意义的。让我们将它仅仅作 + +为纯粹的工程项目,来看看有什么值得学习的教训。这个项目到底有多好的先决条件?他们 + +是否有: + + 1. 清晰的目标?是的,尽管幼稚得近乎不可能。而且,项目早在遇到这个基本的限制 + +之前,就已经失败了。 + + 2. 人力?非常充足。 + + 3. 材料?在美索不达米亚有着丰富的泥土和柏油沥青。 + + 4. 足够的时间?没有任何时间限制的迹象。 + + 5. 足够的技术?是的,金字塔、锥形的结构本身就是稳定的,可以很好分散压力负载。 + +对砖石建筑技术,人们有过深刻的研究。同样,项目远在达到技术限制之间,就已经失败了。 + + 那么,既然他们具备了所有的这些条件,为什么项目还会失败呢?他们还缺乏些什么? + +两个方面——交流,以及交流的结果——组织。他们无法相互交谈,从而无法合作。当合作 + +无法进行时,工作陷入了停顿。通过史书的字里行间,我们推测交流的缺乏导致了争辩、沮 + +丧和群体猜忌。很快,部落开始分裂——大家选择了孤立,而不是互相争吵。 + +大型编程项目中的交流 + + 现在,其实也是这样的情况。因为左手不知道右手在做什么,所以进度灾难、功能的 + +不合理和系统缺陷纷纷出现。随着工作的进行,许多小组慢慢地修改自己程序的功能、规模 + +和速度,他们明确或者隐含地更改了一些有效输入和输出结果用法上的约定。 + + 例如,程序覆盖 (program-overlay)功能的实现者遇到了问题,并且统计报告显示了 + +应用程序很少使用该功能。基于这些考虑,他降低了覆盖功能的速度。与此同时,整个开发 + +队伍中,其他同事正在设计监控程序。监控程序在很大程度上依赖于覆盖功能,它在速度上 + +的变化成为了主要的规格说明变更。因此需要从系统角度来考虑和衡量该变化,以及公开、 + + - 41 - + +----------------------- Page 54----------------------- + +广泛地发布变更结果。 + + 那么,团队如何进行相互之间的交流沟通呢?通过所有可能的途径。 + + 非正式途径 + + 清晰定义小组内部的相互关系和充分利用电话,能鼓励大量的电话沟通,从而达到对 + +所书写文档的共同理解。 + + 会议 + + 常规项目会议。会议中,团队一个接一个地进行简要的技术陈述。这种方式非常有用, + +能澄清成百上千的细小误解。 + + 工作手册。 + + 在项目的开始阶段,应该准备正式的项目工作手册。理所应当,我们专门用一节来讨 + +论它。 + +项目工作手册 + + 是什么。项目工作手册不是独立的一篇文档,它是对项目必须产出的一系列文档进行 + +组织的一种结构。 + + 项目所有的文档都必须是该结构的一部分。这包括目的、外部规格说明、接口说明、 + +技术标准、内部说明和管理备忘录。 + + 为什么。技术说明几乎是必不可少的。如果某人就硬件和软件的某部分,去查看一系 + +列相关的用户手册。他发现的不仅仅是思路,而且还有能追溯到最早备忘录的许多文字和章 + +节,这些备忘录对产品提出建议或者解释设计。对于技术作者而言,文章的剪裁粘贴与钢笔 + +一样有用。 + + 基于上述理由,再加上“未来产品”的质量手册将诞生于“今天产品”的备忘录,所 + +以正确的文档结构非常重要。事先将项目工作手册设计好,能保证文档的结构本身是规范的, + +而不是杂乱无章的。另外,有了文档结构,后来书写的文字就可以放置在合适的章节中。 + + 使用项目手册的第二个原因是控制信息发布。控制信息发布并不是为了限制信息,而 + + - 42 - + +----------------------- Page 55----------------------- + +是确保信息能到达所有需要它的人的手中。 + + 项目手册的第一步是对所有的备忘录编号,从而每个工作人员可以通过标题列表来检 + +索是否有他所需要的信息。还有一种更好的组织方法,就是使用树状的索引结构。而且如果 + +需要的话,可以使用树结构中的子树来维护发布列表。 + + 处理机制。同许多其它的软件管理问题一样,随着项目规模的扩大,技术备忘录的问 + +题以非线性趋势增长。10人的项目,文档仅仅通过简单的编号就可以了。100 人的项目,若 + +干个线性索引常常可以满足要求。1000 人的项目,人员无可避免地散布在多个地点,对结 + +构化工作手册的需要和手册规模上的要求都紧迫了许多。那么,用什么样的机制来处理呢? + + 我认为OS/360 项目做得非常好。O.S.Locken 强烈要求制订结构良好的工作手册,他本 + +人在他的前一个项目1410-7010操作系统中,看到了工作手册的效果。 + + 我们很快决定了每一个编程人员应该了解所有的材料,即在每间办公室中应保留一份 + +工作手册的拷贝。 + + 工作手册的实时更新是非常关键的。工作手册必须是最新的,如果每次变更都要重新 + +打印所有的文档,实际上这很难做到。不过,如果采用活页夹的方式,则仅需更换变更页。 + +我们当时拥有计算机编辑系统,它对实时维护有不可思议的帮助。编辑、排版、打印的工作 + +直接在计算机和打印机上完成,周转时间少于一天。但即便如此,所有接收的人员还是会面 + +临消化理解的问题。当他第一次收到更改页时,他需要知道,“修改了什么?”迟些时候, + +当他就问题进行咨询时,他需要知道,“现在的定义是什么?”。 + + 理解的问题可以通过持续的文档维护来解决。文档变更的强调有若干个步骤。首先, + +必须在页面上标记发生改变的文本,例如,使用页边上的竖线标记每行变化的文字。第二, + +分发的变更页附带独立的总结性文字,对变更的重要性以及批注进行记录。 + + 这种机制在我们项目中碰到别的问题之前,稳定运行了六个月。工作手册大约厚达1.5 + +米!如果将我们在曼哈顿Time-Life大厦办公室里所使用的100份手册叠在一起,它们比这 + +座大厦还要高。另外,每天分发的变更页大约5厘米,归入档案的页数大概有150 页。日常 + +工作手册的维护工作占据了每个工作日的大量时间。 + + 这个时候,我们换用了微缩胶片,在为每个办公室配备了微缩胶片阅读机之后,节约 + +了大量金钱,工作手册的体积减少了18倍。更重要的是,对数百页更新工作的帮助——微 + + - 43 - + +----------------------- Page 56----------------------- + +缩胶片大量地减轻了归档问题。 + + 微缩胶片有它的缺点。从管理的角度而言,笨拙的文字归档工作确保了所有变更会被 + +阅读,这正是工作手册要达到的目的。微缩胶片使工作手册的维护工作变得过于简单,除非 + +列举变化的文字说明和变更胶片一起分发。 + + 另外,微缩胶片不容易被读者强调、标记和批注。对作者来说,采用文档方式与读者 + +沟通更加有效;对读者来说,文档更加容易使用。 + + 总之,我觉得微缩胶片是非常好的一种方法。对于大型项目,我建议把它作为文字工 + +作手册的补充。 + + 现在如何入手?在当今很多可以应用的技术中,我认为一种选择是采用可以直接访问 + +的文件。在文件中,记录修订日期记录和标记变更标识条。每个用户可以从一个显示终端(打 + +印机太慢了)来查阅。每日维护的变更小结以“后进先出”的方式保存,在一个固定的地方 + +提供访问。编程人员可能会每天阅读,但如果错过了一天,他只需在第二天多花一些时间。 + +在他查看小结的同时,他可以停下来,去查询变更的文字。 + + 注意工作手册本身没有发生变化。它还是所有项目文档的集合,根据某种经过细致考 + +虑的规则组织在一起。唯一发生改变的地方是分发机制和查询方法。斯坦福研究机构的 + +D.C.Engelbart 和同事开发了一套系统,并用它在ARPA 网络项目中建立和维护文档。 + + 卡内基-梅隆大学的D.L.Parnas 提出了更彻底的解决方法1。他认为,编程人员仅了 + +解自己负责的部分,而不是整个系统的开发细节时,工作效率最高。这种方法的先决条件是 + +精确和完整地定义所有接口。这的确是一个彻底的解决方法。如果能处理得好,的确是能解 + +决很多“灾难”。一个好的信息系统不但能暴露接口错误,还能有助于改正错误。 + +大型编程项目的组织架构 + + 2 n + 如果项目有n 个工作人员,则有(n - n)/ 2 个相互交流的接口,有将近2 个必须合 + +作的潜在团队。团队组织的目的是减少不必要交流和合作的数量,因此良好的团队组织是解 + +决上述交流问题的关键措施。 + + 减少交流的方法是人力划分(division of labor)和限定职责范围(specialization + +of function)。当使用人力划分和职责限定时,树状管理结构所映出对详细交流的需要会相 + + - 44 - + +----------------------- Page 57----------------------- + +应减少。 + + 事实上,树状组织架构是作为权力和责任的结构出现。其基本原理——管理角色的非 + +重复性——导致了管理结构是树状的。但是交流的结构并未限制得如此严格,树状结构几乎 + +不能用来描述交流沟通,因为交流是通过网状结构进行的。在很多工程活动领域,树状模拟 + +结构不能很精确地用于描述一般团队、特别工作组、委员会,甚至是矩阵结构组织。 + + 让我们考虑一下树状编程队伍,以及要使它行之有效,每棵子树所必须具备的基本要 + +素。它们是: + + 1. 任务(a mission) + + 2. 产品负责人(a producer) + + 3. 技术主管和结构师(a technical director or architect) + + 4. 进度(a schedule) + + 5. 人力的划分(a division of labor) + + 6. 各部分之间的接口定义(interface definitions among the parts) + + 所有这些是非常明显和约定俗成的,除了产品负责人和技术主管之间有一些区别。我 + +们先分析一下两个角色,然后再考虑它们之间的关系。 + + 产品负责人的角色是什么?他组建团队,划分工作及制订进度表。他要求,并一直要 + +求必要的资源。这意味着他主要的工作是与团队外部,向上和水平地沟通。他建立团队内部 + +的沟通和报告方式。最后,他确保进度目标的实现,根据环境的变化调整资源和团队的构架。 + + 那么技术主管的角色是什么?他对设计进行构思,识别系统的子部分,指明从外部看 + +上去的样子,勾画它的内部结构。他提供整个设计的一致性和概念完整性;他控制系统的复 + +杂程度。当某个技术问题出现时,他提供问题的解决方案,或者根据需要调整系统设计。用 + +Al Capp 所喜欢的一句谚语,他是“攻坚小组中的独行侠”(inside-man at the skunkworks.)。 + +他的沟通交流在团队中是首要的。他的工作几乎完全是技术性的。 + + 现在可以看到,这两种角色所需要的技能是非常不同的。这些技能可以按不同的方式 + +进行组合。产品负责人和技术主管所拥有的特殊技能可以用不同方式组合,组合结果控制和 + +支配了他们之间的关系。团队的搭建必须根据参与的人员来组织,而不是将人员纯粹地按照 + + - 45 - + +----------------------- Page 58----------------------- + +理论进行安排。 + + 存在三种可能的关系,它们都在实践中得到了成功的应用。 + + 产品负责人和技术主管是同一个人。这种方式非常容易应用在很小型的队伍中,可能 + +是三个或六个开发人员。在大型的项目中则不容易得到应用。原因有两个:第一,同时具有 + +管理技能和技术技能的人很难找到。思考者很少,实干家更少,思考者-实干家太少了。 + + 第二,大型项目中,每个角色都必须全职工作,甚至还要加班。对负责人来说,很难 + +在承担全部管理责任的同时,还能抽出时间进行技术工作。对技术主管来说,很难在保证设 + +计的概念完整性,没有任何妥协的前提下,担任管理工作。 + + 产品负责人作为总指挥,技术主管充当其左右手。这种方法有一些困难。很难在技术 + +主管不参与任何管理工作的同时,建立在技术决策上的权威。 + + 显然,产品负责人必须预先声明技术主管的技术权威,在即将出现的绝大部分测试用 + +例中,他必须支持后者的技术决定。要达到这一点,产品责任人和技术主管必须在基本的技 + +术理论上具有相似观点;他们必须在主要的技术问题出现之前,私下讨论它们;产品责任人 + +必须对技术主管的技术才能表现出尊重。 + + 另外,还有一些技巧。例如,产品责任人可以通过一些微妙状态特征暗示来(如,办 + +公室的大小、地毯、装修、复印机等等)体现技术主管的威信,尽管决策权力的源泉来自管 + +理。 + + 这种组合可以使工作很有效。不幸的是它很少被应用。不过,它至少有一个好处,即 + +项目经理可以使用并不很擅长管理的技术天才来完成工作。 + + 技术主管作为总指挥,产品负责人充当其左右手。RobertHeinlein在《出售月球的人》 + + (“The Man Who Sold the Moon “)中,用一幅场景描述了这样的安排: + + Coster低下头,双手捂着脸,接着,抬起头。“我知道。我了解需要做什么——但每次 + +我试图解决技术问题时,总有些该死的笨蛋要我做一些关于卡车、或者电话、以及其他一些 + +讨厌的事情。我很抱歉。Harriman 先生,我原以为我可以处理好。” + + Harriman 非常温和的说:“Bob,别让这些事烦你。近来好像睡眠不大好,是吗?告诉 + +你吧。我将在你的位子上干几天,为你搭建一个免于这些事情干扰的环境。我需要你的大脑 + + - 46 - + +----------------------- Page 59----------------------- + +工作在反向量、燃油效率和压力设计上,而不是卡车的合同。”Harriman走到门边,扫了一 + +圈,点了一个可能是、也可能不是办公室主要职员的工作人员。“嘿,你!过来一下。” + + 那个人看上去有些惊慌,站了起来,走到门边说道,“什么事?” + + “把角落上的那个桌子和上面所有的东西搬到本层楼的一个空的办公室去,马上。” + + 他监督着Coster和他的桌子移到另一个办公室,看了看,发现新办公室的电话没有接 + +上。接着,想了一下,搬了一个长沙发过来。“今晚我们将安装一个投影仪、绘图仪、书架 + +和其他一些东西,”他告诉Coster。“把你工程所需要的东西列一个表。”他回到了原来的总 + +工程师办公室,愉快地想了想如何进行工作组织,以及是否有什么不妥。 + + 过了四个小时,他带Berkeley 进来,与Coster 会面。这位总工程师正在他的桌子上 + +睡觉,头枕在臂弯里。Harriman慢慢地退出去,但Coster醒了过来。“喔,对不起,”他有 + +点不好意思地说,“我肯定是打了个瞌睡。” + + “这就是我给你带来长沙发的原因,”Harriman 说道。“它更加舒适。Bob,来见一下 + +Jock Berkeley。他是你的新奴隶,你仍是总工程师,毫无疑问的老板。Jock是其他一切的 + +主管。从现在起,你不需要担心其他的任何问题,除了建造登月飞船的一些细节问题。” + + 他们握了一下手。“Coster 先生,我只想问一件事,”Berkeley 认真的说,“所有你需 + +要做的事,我都无权过问——你即将进行一个技术演示——但是看在上帝的份上,能否记录 + +一下,从而让我了解一下。我将会把一个开关放在你的桌上,它会开启桌上的一个密封的录 + +像机。” + + “好的!”Coster正看着他,Harriman 想,够年轻的。 + + “如果要做任何非技术的事情,不需要自己动手。只需按个按钮知会一声,它们就会 + +被完成!”Berkeley 扫了Harriman一眼。“老板说他想同你谈一谈实际的工作。我得先走, + +去忙去了。”他离开了。 + + Harriman坐了下来,Coster整了整衣服,说道,“喔!” + + “感觉好一些了?” + + “我喜欢Berkeley 这小伙子的样子。” + + “太好了!不用担心,他现在就是你的孪生兄弟。我以前用过他。你可以认为你正住 + + - 47 - + +----------------------- Page 60----------------------- + + 2 +在一个头等的疗养院里。” + + 这个故事几乎不需要任何的分析解释,这种安排同样能使工作非常有效。 + + 我猜测最后一种安排对小型的团队是最好的选择,如同在第3 章《外科手术队伍》一 + +文中所述。对于真正大型项目中的一些开发队伍,我认为产品负责人作为管理者是更合适的 + +安排。 + + 巴比伦塔可能是第一个工程上的彻底失败,但它不是最后一个。交流和交流的结果— + +—组织,是成功的关键。交流和组织的技能需要管理者仔细考虑,相关经验的积累和能力的 + +提高同软件技术本身一样重要。 + + - 48 - + +----------------------- Page 61----------------------- + + 胸有成竹(Calling the Shot) + +实践是最好的老师。 + +- PUBILIUS + +实践是最好的老师,但是,如果不能从中学习,再多的实践也没有用。 + +- 《可怜的理查年鉴》 + +Practice is the best of all instructors. + +- PUBILIUS + +Experience is a dear teacher, but fools will learn at no other. + +- POOR RICHARD’S ALMANAC + + 系统编程需要花费多长的时间?需要多少的工作量?如何进行估计? + + 先前,我推荐了用于计划进度、编码、构件测试和系统测试的比率。首先,需要指出 + +的是,仅仅通过对编码部分的估计,然后应用上述比率,是无法得到对整个任务的估计的。 + +编码大约只占了问题的六分之一左右,编码估计或者比率的错误可能会导致不合理的荒谬结 + +果。 + + 第二,必须声明的是,构建独立小型程序的数据不适用于编程系统产品。对规模平均 + +为3200 指令的程序,如Sackman、Erikson 和Grant 的报告中所述,大约单个的程序员所需 + +要的编码和调试时间为178个小时,由此可以外推得到每年35,800 语句的生产率。而规模 + +只有一半的程序花费时间大约仅为前者的四分之一,相应推断出的生产率几乎是每年 + +80,000代码行1。计划、编制文档、测试、系统集成和培训的时间必须被考虑在内。因此, + +上述小型项目数据的外推是没有意义的。就好像把100码短跑记录外推,得出人类可以在3 + +分钟之内跑完1英里的结论一样。 + + 在将上述观点抛开之前,尽管不是为了进行严格的比较,我们仍然可以留意到一些事 + + - 49 - + +----------------------- Page 62----------------------- + +情。即使在不考虑相互交流沟通,开发人员仅仅回顾自己以前工作的情况下,这些数字仍然 + +显示出工作量是规模的幂函数。 + + 图8.1 讲述了这个悲惨的故事。它阐述了Nanus 和 Farr2 在 System Development + +Corporation 公司所做研究,结果表明该指数为1.5,即, + + 1.5 + 工作量 = (常数)×(指令的数量) + + 3 + Weinwurm 的SDC 研究报告同样显示出指数接近于1.5。 + + 现在已经有了一些关于编程人员生产率的研究,提出了很多估计的技术。 Morin 对所 + +发布的数据进行了一些调查研究4。这里仅仅给出了若干特别突出的条目。 + + 人 + + 月 + + 机器指令:千 + + 注: + + incomplete-未终结的 + + 图8.1:编程工作量是程序规模的函数 + +Portman 的数据 + + 曼彻斯特Computer Equipment Organization (Northwest)的ICL 软件部门的经 + + 5 + 理Charles Portman,提出了另一种有用的个人观点 。 + + 他发现他的编程队伍落后进度大约1/2,每项工作花费的时间大约是估计的两倍。这些 + + - 50 - + +----------------------- Page 63----------------------- + +估计通常是非常仔细的,由很多富有经验的团队完成。他们对PERT 图上数百个子任务估算 + +过(用人小时作单位)。当偏移出现时,他要求他们仔细地保存所使用时间的日志。日志显 + +示事实上他的团队仅用了百分之五十的工作周,来进行实际的编程和调试,估算上的失误完 + +全可以由该情况来解释。其余的时间包括机器的当机时间、高优先级的无关琐碎工作、会议、 + +文字工作、公司业务、疾病、事假等等。简言之,项目估算对每个人年的技术工作时间数量 + + 6 +做出了不现实的假设。我个人的经验也在相当程度上证实了他的结论 。 + +Aron 的数据 + + JoelAron,IBM 在马里兰州盖兹堡的系统技术主管,在他所工作过的9 个大型项目(简 + + 7 +要地说,大型意味着程序员的数目超过25 人,将近30,000 行的指令)的基础上,对程序 + +员的生产率进行了研究。他根据程序员(和系统部分)之间的交互划分这些系统,得到了如 + +下的生产率: + + 非常少的交互 10,000 指令每人年 + 少量的交互 5,000 + 较多的交互 1,500 + + 该人年数据未包括支持和系统测试活动,仅仅是设计和编程。当这些数据采用除以2, + +以包括系统测试的活动时,它们与Harr 的数据非常的接近。 + +Harr 的数据 + + John Harr,Bell 电话实验室电子交换系统领域的编程经理,在1969 年春季联合计算 + +机会议8 的论文中,汇报了他和其他人的经验。这些数据如图8.2、8.3 和8.4 所示。 + + 这些图中,图8.2 是最数据详细和最有用的。头两个任务是基本的控制程序,后两个 + +是基本的语言翻译。生产率以经调试的指令/人年来表达。它包括了编程、构件测试和系统 + +测试。没有包括计划、硬件机器支持、文书工作等类似活动的工作量。 + + 生产率同样地被划分为两个类别,控制程序的生产率大约是600 指令每人年,语言翻 + +译大约是2200 指令每人年。注意所有的四个程序都具有类似的规模——差异在于工作组的 + +大小、时间的长短和模块的个数。那么,哪一个是原因,哪一个是结果呢?是否因为控制程 + + - 51 - + +----------------------- Page 64----------------------- + +序更加复杂,所以需要更多的人员?或者因为它们被分派了过多的人员,所以要求有更多的 + +模块?是因为复杂程度非常高,还是分配较多的人员,导致花费了更长的时间?没有人可以 + +确定。控制程序确实更加复杂。除开这些不确定性,数据反映了实际的生产率——描述了在 + +现在的编程技术下,大型系统开发的状况。因此,Harr 数据的确是真正的贡献。 + + 图8.3和8.4 显示了一些有趣的数据,将实际的编程速度、调试速度与预期做了对比。 + + 程序单元 程序员人 年 人年 程序字数 字/人年 + 数 + +操作性 50 83 4 101 52,000 515 +维护 36 60 4 81 51,000 630 + + 1 +编译器 13 9 2 /4 17 38,000 2230 + + 1 +语言解释 15 13 2 /2 11 25,000 2270 +器(汇编) + + 图8.2:4 个NO.1 的ESS 编程工作总结 + + 机 + 器 + 指 + 令 + : + 千 + 字 + + + 注: + + Monthly estimate of program size-程序规模月估计 + + Actual Programmize rate-实际编程速度 + + Prediction of programming rate-预计编程速度 + + 图8.3:ESS 预计和实际的编程速度 + + - 52 - + +----------------------- Page 65----------------------- + + 机 + 器 + 指 + 令 + : + 千 + 字 + + + 注: + + Monthly estimate of program size-程序规模月估计 + + Actual Programmize rate-实际调试速度 + + Prediction of programming rate-预计调试速度 + + 图8.4:ESS 预计和实际的调试速度 + +OS/360 的数据 + + IBM OS/360 的经验,尽管没有Harr那么详细的数据,但还是证实了那些结论。就控制 + +程序组的经验而言,生产率的范围大约是600~800 (经过调试的指令)/人年。语言翻译小 + +组所达到的生产率是2000~3000 (经过调试的指令)/人年。这包括了小组的计划、代码构 + +件测试、系统测试和一些支持性活动。就我的观点来说,它们同Harr 的数据是可比的。 + + Aron、Harr 和OS/360 的数据都证实,生产率会根据任务本身复杂度和困难程度表现出 + +显著差异。在复杂程度估计这片“沼泽”上的指导原则是:编译器的复杂度是批处理程序的 + + 8 +三倍,操作系统复杂度是编译器的三倍 。 + +Corbato 的数据 + + Harr 和OS/360 的数据都是关于汇编语言编程的,好像使用高级语言系统编程的数据公 + +布得很少。Corbato 的MIT 项目MAC 报告表示在MULTICS 系统上,平均生产率是1200 行经 + +调试的PL/I 语句(大约在1和2 百万指令之间)/人年。 + + 该数字非常令人兴奋。如同其他的项目,MULTICS 包括了控制程序和语言翻译程序。和 + + - 53 - + +----------------------- Page 66----------------------- + +其他项目一样,它产出的是经过测试和文档化的系统编程产品。在所包括的工作类型方面, + +数据看上去是可以比较的。该数字是其他项目中控制程序和翻译器程序生产率的良好平均 + +值。 + + 但Corbato 的数字是行/人年,不是指令!系统中的每个语句对应于手写代码的3 至5 + +个指令!这意味着两个重要的结论。 + + 对常用编程语句而言。生产率似乎是固定的。这个固定的生产率包括了编程中需要 + +注释,并可能存在错误的情况. + + 使用适当的高级语言,编程的生产率可以提高5倍。 + + - 54 - + +----------------------- Page 67----------------------- + + 削足适履(Ten Pounds in a Five-Pound + + Sack ) + +他应该瞪大眼睛盯着诺亚,……好好学习,看他们是怎样把那么多东西装到一个小小的方舟 + +上的。 + +- 西德尼·史密斯,爱丁堡评论 + +the author should gaze at Noah, and ... learn, as they did in the Ark, to crowd + +a great deal of matter into a very small compass. + +- SYDENY SMITH. EDINBURGH REVIEW + +作为成本的程序空间 + + 程序有多大?除了运行时间以外,它所占据的空间也是主要开销。这同样适用于专用 + +开发的程序,用户支付给开发者一笔费用,作为必要分担的开发成本。考虑一下IBM APL + +交互式软件系统,它的租金为每月400 美金,在使用时,它至少占用160K 字节的内存。在 + +Model 165上,内存租金大约是12美金/每月每千字节。如果程序在全部时间内都可用,他 + +需要支付400 美元的软件使用费和1920 美金的内存租用费。如果某个人每天使用APL 系统 + +4 小时,他每月需要支出400 美元的软件租金和320美元的内存租用费。 + + 常常听到的一个“可怕的”谈论是在2M 内存的机器上,操作系统就需要占用400K 内 + +存。这种言论就好像批评波音747 飞机,仅仅因为它耗资两千七百万美元一样无知。我们首 + +先必须问的是“它能干什么?”。对于所耗费的资金,获得的易用性和性能是什么?投资在 + +内存上的每月4800 美元的租金能否比用在其他硬件、编程人员、应用程序上更加有效? + + 当系统设计者认为对用户而言,常驻程序内存的形式比加法器、磁盘等更加有用时, + +他会将硬件实现中的一部分移到内存上。相反的,其他的做法是非常不负责任的。所以,应 + + - 55 - + +----------------------- Page 68----------------------- + +该从整体上来进行评价。没有人可以在自始至终提倡更紧密的软硬件设计集成的同时,又仅 + +仅就规模本身对软件系统提出批评。 + + 由于规模是软件系统产品用户成本中如此大的一个组成部分,开发人员必须设置规模 + +的目标,控制规模,考虑减小规模的方法,就像硬件开发人员会设立元器件数量目标,控制 + +元器件的数量,想出一些减少零件的方法。同任何开销一样,规模本身不是坏事,但不必要 + +的规模是不可取的。 + +规模控制 + + 对项目经理而言,规模控制既是技术工作的一部分,也是管理工作的一部分。他必须 + +研究用户和他们的应用,以设置将开发系统的规模。接着,把这些系统划分成若干部分,并 + +设定每个部分的规模目标。由于规模-速度权衡方案的结果在很大的范围内变化,规模目标 + +的设置是一件颇具技巧的事情,需要对每个可用方案有深刻的了解。聪明的项目经理还会给 + +自己预留一些空间,在工作推行时分配。 + + 在OS/360 项目中,即使所有的工作都完成得相当仔细,我们依然能从中得到一些痛苦 + +的教训。 + + 首先,仅对核心程序设定规模目标是不够的,必须把所有的方面都编入预算。在先前 + +的大多数操作系统中,系统驻留在磁带上,长时间的磁带搜索意味着它无法自如地运用在程 + +序片段上。OS/360 和它的前任产品Stretch 操作系统和1410-7010磁盘操作系统一样,是 + +驻留在磁盘上的。它的开发者对自由、廉价的磁盘访问感到欣喜。而如果使用磁带,会给性 + +能带来灾难性的后果。 + + 在为每个单元设立核心规模的同时,我们没有同时设置访问的目标。正如大家能想到 + +的一样,当程序员发现自己的单元核心未能达到要求时,他会把它分解成链接库。这个过程 + +本身增加了程序整体的规模,并降低了运行速度。最重要的是,我们的管理控制系统既没有 + +度量,也没有捕获这些问题。每个人都汇报了核心的大小,都在目标范围之内,所以没有人 + +发现规模上的问题。 + + 幸运的是,OS/360 性能仿真程序投入使用的时间较早。第一次运行的结果反映出很大 + +的麻烦。Fortran H,在带磁鼓的Modal 65 上,每分钟模拟编译5条语句!嵌入的例程显示 + + - 56 - + +----------------------- Page 69----------------------- + +控制程序模块进行了很多次磁盘访问。甚至使用频繁的监控模块也犯了很多同样的错误,结 + +果很类似于页面的切换。 + + 第一个道理很清楚:和制订驻留空间预算一样,应该制订总体规模的预算;和制订规 + +模预算一样,应该制订后台存储访问的预算。 + + 下一个教训十分类似。在每个模块分配功能之前,已编制了空间的预算。其结果是, + +任何在规模上碰到问题的程序员,会检查自己的代码,看是否能将其中一部分扔给其他人。 + +因此,控制程序所管理的缓冲区成为了用户空间的一部分。更严重的是,所有的控制模块都 + +有相同的问题,彻底影响了系统的稳定和安全性。 + + 所以,第二个道理也很清晰:在指明模块有多大的同时,确切定义模块的功能。 + + 第三个更深刻的教训体现在以上的经验中。项目规模本身很大,缺乏管理和沟通,以 + +至于每个团队成员认为自己是争取小红花的学生,而不是构建系统软件产品的人员。为了满 + +足目标,每个人都在局部优化自己的程序,很少会有人停下来,考虑一下对客户的整体影响。 + +对大型项目而言,这种导向和缺乏沟通是最大的危险。在整个实现的过程期间,系统结构师 + +必须保持持续的警觉,确保连贯的系统完整性。在这种监督机制之外,是实现人员自身的态 + +度问题。培养开发人员从系统整体出发、面向用户的态度是软件编程管理人员最重要的职能。 + +空间技能 + + 空间预算的多少和控制并不能使程序规模减小,为实现这一目标,它还需要一些创造 + +性和技能。 + + 显然,在速度保持不变的情况下,更多的功能意味着需要更多的空间。所以,其中的 + +一个技巧是用功能交换尺寸。这是一个较早的、影响较深远的策略问题:为用户保留多少选 + +择?程序可以有很多的选择功能,每个功能仅占用少量的空间。也可以设计成拥有若干选项 + +分组,根据选项组来剪裁程序。任何一系列特殊选项被合并在一起进行分组时,程序需要的 + +空间较少。这很像小汽车。如果把照明灯、点烟器和时钟作为整个配件来标明价格,则成本 + +会比单独提供这些选择所需要的成本低。所以,设计人员必须决定用户可选项目的粗细程度。 + + 在内存大小一定的情况下进行系统设计时,会出现另外一个基本问题。内存受限的后 + +果是即使最小的功能模块,它的适用范围也难以得到推广。在最小规模的系统中,大多数模 + + - 57 - + +----------------------- Page 70----------------------- + +块被覆盖(overlaid),系统的主干占用的空间,会被用作其他部分的交换页面。它的尺寸 + +决定了所有模块的尺寸。而且将功能分解到很小的模块会耗费空间和降低性能。所以,当可 + +以提供20 倍临时性空间的大型系统使用这些模块时,节省的也仅仅是访问次数,仍然会因 + +为模块的规模引起空间和速度上的损失。这样后果其实是——很难用小型系统的模块构造出 + +非常高效的系统。 + + 第二个技能是考虑空间-时间的折衷。对于给定的功能,空间越多,速度越快。这一 + +点在很大的范围内都适用。也正是这一点使空间预算成为可能。 + + 项目经理可以做两件事来帮助他的团队取得良好的空间-时间折衷。一是确保他们在 + +编程技能上得到培训,而不仅仅是依赖他们自己掌握的知识和先前的经验。特别是使用新语 + +言或者新机器时,培训显得尤其重要。熟练使用往往需要快速的学习和经验的广泛共享,也 + +许它应该伴随特别的新技术奖励或者表扬。 + + 另外一种方法是认识到编程需要技术积累,需要开发很多公共单元构件。每个项目要 + +有能用于队列、搜索和排序的例程或者宏库。对于每项功能,库至少应该有两个程序实现: + +运行速度较快和短小精炼的。上述的公共库开发是一件重要的实现工作,它可以与系统设计 + +工作并行进行。 + +数据的表现形式是编程的根本 + + 创造出自精湛的技艺,精炼、充分和快速的程序也是如此。技艺改进的结果往往是战 + +略上的突破,而不仅仅是技巧上的提高。这种战略上突破有时是一种新的算法,如快速傅立 + +叶变换,或者是将比较算法的复杂度从n2 降低到n log n。 + + 更普遍的是,战略上突破常来自数据或表的重新表达——这是程序的核心所在。如果 + +提供了程序流程图,而没有表数据,我仍然会很迷惑。而给我看表数据,往往就不再需要流 + +程图,程序结构是非常清晰的。 + + 很容易就能找到重新表达所带来好处的例子。我记得有一个年轻人承担了为IBM650 开 + +发精细的控制台解释器的任务。他发现用户交互得很慢,并且空间很昂贵。于是,他编写了 + +一个解释器的解释器,使得最后程序所占的空间减少到不可思议的程度。Digitek 小而优雅 + +的Fortran 编译器使用了非常密集的、专业化的代码来表达自己,以至于不再需要外部存储。 + + - 58 - + +----------------------- Page 71----------------------- + +对这种表达方式解码会损失一些时间,但由于避免了输入-输出,反而得到了十倍的补偿。 + + 2 1 + (Brooks 和Iverson第六章结尾的练习以及Knuth 的练习--自动数据处理 包含了许多类 + +似的例子。) + + 由于缺乏空间而绞尽脑汁的编程人员,常常能通过从自己的代码中挣脱出来,回顾、 + +分析实际情况,仔细思考程序的数据,最终获得非常好的结果。实际上,数据的表现形式是 + +编程的根本。 + + - 59 - + +----------------------- Page 72----------------------- + + 提纲挈领(The Documentary Hypothesis) + +前提: + + 在一片文件的汪洋中,少数文档形成了关键的枢纽,每件项目管理的工作都围绕着它 + +们运转。它们是经理们的主要个人工具。 + +The hypothesis: + + Amid a wash of paper, a small number of documents become the critical pivots around which + +every project's management revolves. These are the manager's chief personal tools. + + 技术、周边组织机构、行业传统等若干因素凑在一起,定义了项目必须准备的一些文 + +书工作。对于一个刚从技术人员中任命的项目经理来说,这简直是一件彻头彻尾令人生厌的 + +事情,而且是毫无必要和令人分心的,充满了被吞没的威胁。但是,在实际工作中,大多数 + +情况都是这样的。 + + 慢慢的,他逐渐认识到这些文档的某些部分包含和表达了一些管理方面的工作。每份 + +文档的准备工作是集中考虑,并使各种讨论意见明朗化的主要时刻。如果不这样,项目往往 + +会处于无休止的混乱状态。文档的跟踪维护是项目监督和预警的机制。文档本身可以作为检 + +查列表、状态控制,也可以作为汇报的数据基础。 + + 为了阐明软件项目如何开展这项工作,我们首先借鉴一下其他行业一些有用的文档资 + +料,看是否能进行归纳,得出结论。 + + 计算机产品的文档 + + 如果要制造一台机器,哪些是关键的文档呢? + + 目标:定义待满足的目标和需要,定义迫切需要的资源、约束和优先级。 + + 技术说明:计算机手册和性能规格说明。它是在计划新产品时第一个产生,并且最后 + + - 60 - + +----------------------- Page 73----------------------- + +完成的文档。 + + 进度、时间表 + + 预算:预算不仅仅是约束。对管理人员来说,它还是最有用的文档之一。预算的存在 + +会迫使技术决策的制订,否则,技术决策很容易被忽略。更重要的是,它促使和澄清了策略 + +上的一些决定。 + + 组织机构图 + + 工作空间的分配 + + 报价、预测、价格:这三个因素互相牵制,决定了项目的成败。 + + 预测 报价 + + 价格 + + 为了进行市场预测,首先需要制订产品性能说明和确定假设的价格。从市场预测得出 + +的数值,连同从设计得出的组件单元的数量,决定了生产的估计成本,进而可以得到每个单 + +元的开发工作量和固定的成本。固定成本又决定了价格。 + + 如果价格低于假设值,令人欣慰的循环开始了。预测值较高,单元成本较低,因此价 + +格能够继续降低。 + + 如果价格高于预测值,灾难性的循环开始了,所有的人必须努力奋斗来打破这个循环。 + +新应用程序必须提高性能和支持更高的市场预测。成本必须降低,以产出更低的报价。这个 + +循环的压力常常是激励市场人员和工程师工作的最佳动力。 + + 同时,它也会带来可笑的踌躇和摇摆。我记得曾经有一个项目,在三年的开发周期中, + +机器指令计数器的设计每六个月变化一次。在某个阶段,需要好一点的性能时,指令计数器 + +采用触发器来实现;下一个阶段,成本降低是主要的焦点,指令计数器采用内存来实现。在 + +另一个项目中,我所见过的最好的一个项目经理常常充当一个大型调速轮的角色,他的惯性 + +降低了来自市场和管理人员的起伏波动。 + + - 61 - + +----------------------- Page 74----------------------- + + 大学科系的文档 + + 除了目的和活动上的巨大差异,数量类似、内容相近的各类文档形成了大学系主任的 + +主要资料集合。校长、教师会议或系主任的每一个决定几乎都是一个技术说明,或者是对这 + +些文档的变更。 + + 目标 + + 课程描述 + + 学位要求 + + 研究报告(申请基金时,还要求计划) + + 课程表和课程的安排 + + 预算 + + 教室分配 + + 教师和研究生助手的分配 + + 注意这些文档的组成与计算机项目非常相似:目标、产品说明、时间安排、资金分配、 + +空间分派和人员的划分。只有价格文档是不需要的,学校的决策机构完成了这项任务。这种 + +相似性不是偶然的——任何管理任务的关注焦点都是时间、地点、人物、做什么、资金。 + + 软件项目的文档 + + 在许多软件项目中,开发人员从商讨结构的会议开始,然后开始书写代码。不论项目 + +的规模如何小,项目经理聪明的做法都是:立刻正式生成若干文档作为自己的数据基础,哪 + +怕这些迷你文档非常简单。接着,他会和其他管理人员一样要求各种文档。 + + 做什么:目标。定义了待完成的目标、迫切需要的资源、约束和优先级。 + + 做什么:产品技术说明。以建议书开始,以用户手册和内部文档结束。速度和空间说 + +明是关键的部分。 + + 时间:进度表 + + 资金:预算 + + - 62 - + +----------------------- Page 75----------------------- + + 地点:工作空间分配 + + 人员:组织图。它与接口说明是相互依存的,如同Conway 的规律所述:“设计系统的 + +组织架构受到产品的约束限制,生产出的系统是这些组织机构沟通结构的映射。1”Conway + +接着指出,一开始反映系统设计的组织架构图,肯定不会是正确的。如果系统设计能自由地 + +变化,则项目组织架构必须为变化做准备。 + + 为什么要有正式的文档? + + 首先,书面记录决策是必要的。只有记录下来,分歧才会明朗,矛盾才会突出。书写 + +这项活动需要上百次的细小决定,正是由于它们的存在,人们才能从令人迷惑的现象中得到 + +清晰、确定的策略。 + + 第二,文档能够作为同其他人的沟通渠道。项目经理常常会不断发现,许多理应被普 + +遍认同的策略,完全不为团队的一些成员所知。正因为项目经理的基本职责是使每个人都向 + +着相同的方向前进,所以他的主要工作是沟通,而不是做出决定。这些文档能极大地减轻他 + +的负担。 + + 最后,项目经理的文档可以作为数据基础和检查列表。通过周期性的回顾,他能清楚 + +项目所处的状态,以及哪些需要重点进行更改和调整。 + + 我并不是很同意销售人员所吹捧的“完备信息管理系统”——管理人员只需在计算机 + +上输入查询,显示屏上就会显示出结果。有许多基本原因决定了上述系统是行不通的。一个 + +原因是只有一小部分管理人员的时间——可能只有20%——用来从自己头脑外部获取信息。 + +其他的工作是沟通:倾听、报告、讲授、规劝、讨论、鼓励。不过,对于基于数据的部分, + +少数关键的文档是至关重要的,它们可以满足绝大多数需要。 + + 项目经理的任务是制订计划,并根据计划实现。但是只有书面计划是精确和可以沟通 + +的。计划中包括了时间、地点、人物、做什么、资金。这些少量的关键文档封装了一些项目 + +经理的工作。如果一开始就认识到它们的普遍性和重要性,那么就可以将文档作为工具友好 + +地利用起来,而不会让它成为令人厌烦的繁重任务。通过遵循文档开展工作,项目经理能更 + +清晰和快速地设定自己的方向。 + + - 63 - + +----------------------- Page 76----------------------- + + 未雨绸缪(Plan to Throw One Away) + +不变只是愿望,变化才是永恒。 + +- SWIFT + +普遍的做法是,选择一种方法,试试看;如果失败了,没关系,再试试别的。不管怎么样, + +重要的是先去尝试。 + + 1 +- 富兰克林 D. 罗斯福 + +There is nothing in this world constant but inconstancy. + +- SWIFT + +It is common sense to take a method and try it. If itfai ls, admit it frankly and try another. But + +above all, try something. + + 1 +- FRANKLIN D. ROOSEVELT + +试验性工厂和增大规模 + + 化学工程师很早就认识到,在实验室可以进行的反应过程,并不能在工厂中一步实现。 + +一个被称为“实验性工厂(pilot planet)”的中间步骤是非常必要的,它会为提高产量和 + +在缺乏保护的环境下运作提供宝贵经验。例如,海水淡化的实验室过程会先在产量为10,000 + +加仑/每天的试验场所测试,然后再用于2,000,000加仑/每天的净化系统。 + + 软件系统的构建人员也面临类似的问题,但似乎并没有吸取教训。一个接一个的软件 + +项目都是一开始设计算法,然后将算法应用到待发布的软件中,接着根据时间进度把第一次 + +开发的产品发布给顾客。 + + 对于大多数项目,第一个开发的系统并不合用。它可能太慢、太大,而且难以使用, + +或者三者兼而有之。要解决所有的问题,除了重新开始以外,没有其他的办法——即开发一 + + - 64 - + +----------------------- Page 77----------------------- + +个更灵巧或者更好的系统。系统的丢弃和重新设计可以一步完成,也可以一块块地实现。所 + +有大型系统的经验都显示,这是必须完成的步骤2。而且,新的系统概念或新技术会不断出 + +现,所以开发的系统必须被抛弃,但即使是最优秀的项目经理,也不能无所不知地在最开始 + +解决这些问题。 + + 因此,管理上的问题不再是“是否构建一个试验性的系统,然后抛弃它?”你必须这 + +样做。现在的问题是“是否预先计划抛弃原型的开发,或者是否将该原型发布给用户?”从 + +这个角度看待问题,答案更加清晰。将原型发布给用户,可以获得时间,但是它的代价高昂 + +——对于用户,使用极度痛苦;对于重新开发的人员,分散了精力;对于产品,影响了声誉, + +即使最好的再设计也难以挽回名声。 + + 因此,为舍弃而计划,无论如何,你一定要这样做。 + +唯一不变的就是变化本身 + + 一旦认识到试验性的系统必须被构建和丢弃,具有变更思想的重新设计不可避免,从 + +而直面整个变化现象是非常有用的。第一步是接受这样的事实:变化是与生俱来的,不是不 + +合时宜和令人生厌的异常情况。Cosgrove 很有洞察力地指出,开发人员交付的是用户满意 + +程度,而不仅仅是实际的产品。用户的实际需要和用户感觉会随着程序的构建、测试和使用 + + 3 +而变化 。 + + 当然对于硬件产品而言,同样需要满足要求,例如新型汽车或者计算机。但物体的客 + +观存在容纳和阶段化(量子化)了用户对变更的要求。软件产品易于掌握的特性和不可见性, + +导致它的构建人员面临永恒的需求变更。 + + 我从不建议顾客目标和需求的所有变更必须、能够、或者应该整合到设计中。项 + + 目开始时建立的基准,肯定会随着开发的进行越来越高,甚至开发不出任何产品。 + + 然而,目标上的一些变化无可避免,事先为它们做准备总比假设它们不会出现要好得 + +多。不但目标上的变化不可避免,而且设计策略和技术上的变化也不可避免。抛弃原型概念 + + 4 +本身就是对事实的接受——随着学习的过程更改设计 。 + + - 65 - + +----------------------- Page 78----------------------- + +为变更计划系统 + + 如何为上述变化设计系统,是个非常著名的问题,在书本上被普遍讨论——可能讨论 + +得比实践还要多得多。它们包括细致的模块化、可扩展的函数、精确完整的模块间接口设计、 + +完备的文档。另外,还可能会采用包括调用队列和表驱动的一些技术。 + + 最重要的措施是使用高级语言和自文档技术,以减少变更引起的错误。采用编译时的 + +操作来整合标准声明,在很大程度上帮助了变化的调整。 + + 变更的阶段化是一种必要的技术。每个产品都应该有数字版本号,每个版本都应该有 + +自己的日程表和冻结日期,在此之后的变更属于下一个版本的范畴。 + +为变更计划组织架构 + + Cosgrove 主张把所有计划、里程碑、日程安排都当作是尝试性的,以方便进行变化。 + +这似乎有些走极端——现在软件编程小组失败的主要原因是管理控制得太少,而不是太多。 + + 不过,他提出了一种卓越的见解。他观察到不愿意为设计书写文档的原因,不仅仅是 + +由于惰性或者时间压力。相反,设计人员通常不愿意提交尝试性的设计决策,再为它们进行 + +辩解。“通过设计文档化,设计人员将自己暴露在每个人的批评之下,他必须能够为他的每 + +个结果进行辩护。如果团队架构因此受到任何形式的威胁,则没有任何东西会被文档化,除 + +非架构是完全受到保护的。 + + 为变更组建团队比为变更进行设计更加困难。每个人被分派的工作必须是多样的、富 + +有拓展性的工作,从技术角度而言,整个团队可以灵活地安排。在大型的项目中,项目经理 + +需要有两个和三个顶级程序员作为技术轻骑兵,当工作繁忙最密集的时候,他们能急驰飞奔, + +解决各种问题。 + + 当系统发生变化时,管理结构也需要进行调整。这意味着,只要管理人员和技术人才 + +的天赋允许,老板必须对他们的能力培养给予极大的关注,使管理人员和技术人才具有互换 + +性。 + + 这其中的障碍是社会性的,人们必须同顽固的戒心做斗争。首先,管理人员自己常常 + +认为高级人员太“有价值”,而舍不得让他们从事实际的编程工作;其次,管理人员拥有更 + + - 66 - + +----------------------- Page 79----------------------- + +高的威信。为了克服这个问题,如Bell Labs 的一些实验室,废除了所有的职位头衔。每个 + +专业人士都是“技术人员中的一员”。而IBM 的另外一些实验室,保持了两条职位晋升线, + +如图11.1所示。相应的级别在概念上是相同的。 + + 管理线 技术线 + + 高级程序员 高级程序员 + + 开发程序员 顾问程序员 + + 项目程序员 程序职员 + + 高级准程序员 + + 图11.1:IBM 的两条职位晋升线 + + 很容易为上述层次建立相互一致的薪水级别。但要建立一致的威信,会困难一些。比 + +如,办公室的大小和布局应该相同。秘书和其他支持也必须相同。从技术线向管理同级调动 + +时,不能伴随着待遇的提升,而且应该以“调动”,而不是“晋升”的名义。相反的调整则 + +应该伴随着待遇的提高,对于传统意识进行补偿是必要的。 + + 管理人员需要参与技术课程,高级技术人才需要进行管理培训。项目目标、进展、管 + +理问题必须在高级人员整体中得到共享。 + + 只要能力允许,高层人员必须时刻做好技术和情感上的准备,以管理团队或者亲自参 + +与开发工作。这是件工作量很大的任务,但显然很值得! + + 组建外科手术队伍式的软件开发团队,这整个观念是对上述问题的彻底冲击。其结果 + +是当高级人才编程和开发时,不会感到自降身份。这种方法试图清除那些会剥夺创造性乐趣 + +的社会障碍。 + + 另外,上述组织架构的设计是为了最小化成员间的接口。同样的,它使系统在最大程 + +度上易于修改。当组织构架必须变化时,为整个“外科手术队伍”重新安排不同的软件开发 + +任务,会变得相对容易一些。这的确是一个长期有效的灵活组织构架解决方案。 + + - 67 - + +----------------------- Page 80----------------------- + +前进两步,后退一步 + + 在程序发布给顾客使用之后,它不会停止变化。发布后的变更被称为“程序维护”,但 + +是软件的维护过程不同于硬件维护。 + + 计算机系统的硬件维护包括了三项活动——替换损坏的器件、清洁和润滑、修改设计 + +上的缺陷。(大多数情况下——但不是全部——变更修复的是实现上、而不是结构上的一些 + +缺陷。对于用户而言,这常常是不可见的。) + + 软件维护不包括清洁、润滑和对损坏器件的修复。它主要包含对设计缺陷的修复。和 + +硬件维护相比,这些软件变更包含了更多的新增功能,它通常是用户能察觉的。 + + 对于一个广泛使用的程序,其维护总成本通常是开发成本的40%或更多。令人吃惊的 + +是,该成本受用户数目的严重影响。用户越多,所发现的错误也越多。 + + 麻省理工学院核科学实验室的Betty Campbell指出特定版本的软件发布生命期中一个 + +有趣的循环。如图11.2 所示。起初,上一个版本中被发现和修复的bug,在新的版本中仍 + +会出现。新版本中的新功能会产生新的bug。解决了这些问题之后,程序会正常运行几个月。 + +接着,错误率会重新攀升。Campbell 认为这是因为用户的使用到达了新的熟练水平,他们 + +开始运用新的功能。这种高强度的考验查出了新功能中很多不易察觉的问题。5 + + 每月发现 + + 的bug 数 + + 安装后的时间(月) + + 图11.2:出现的bug 数量是发布时间的函数 + + - 68 - + +----------------------- Page 81----------------------- + + 程序维护中的一个基本问题是——缺陷修复总会以(20-50)%的机率引入新的bug。 + +所以整个过程是前进两步,后退一步。 + + 为什么缺陷不能更彻底地被修复?首先,看上去很轻微的错误,似乎仅仅是局部操作 + +上的失败,实际上却是系统级别的问题,通常这不是很明显。修复局部问题的工作量很清晰, + +并且往往不大。但是,更大范围的修复工作常常会被忽视,除非软件结构很简单,或者文档 + +书写得非常详细。其次,维护人员常常不是编写代码的开发人员,而是一些初级程序员或者 + +新手。 + + 作为引入新bug 的一个后果,程序每条语句的维护需要的系统测试比其他编程要多。 + +理论上,在每次修复之后,必须重新运行先前所有的测试用例,从而确保系统不会以更隐蔽 + +的方式被破坏。实际情况中,回归测试必须接近上述理想状况,所以它的成本非常高。 + + 显然,使用能消除、至少是能指明副作用的程序设计方法,会在维护成本上有很大的 + +回报。同样,设计实现的人员越少、接口越少,产生的错误也就越少。 + +前进一步,后退一步 + + 6 + Lehman 和Belady 研究了大型操作系统的一系列发布版本的历史 。他们发现模块数量 + +随版本号的增加呈线性增长,但是受到影响的模块以版本号指数的级别增长。所有修改都倾 + +向于破坏系统的架构,增加了系统的混乱程度。用在修复原有设计上瑕疵的工作量越来越少, + +而早期维护活动本身的漏洞所引起修复工作越来越多。随着时间的推移,系统变得越来越无 + +序,修复工作迟早会失去根基。每一步前进都伴随着一步后退。尽管理论上系统一直可用, + +但实际上,整个系统已经面目全非,无法再成为下一步进展的基础。而且,机器在变化,配 + +置在变化,用户的需求在变化,所以现实系统不可能永远可用。崭新的、基于原有系统的重 + +新设计是完全必要的。 + + 通过对统计模型的研究,关于软件系统,Belady 和Lehman得到了更具普遍意义、为所 + +有经验支持的结论。正如Pascal. C. S. Lewis 所敏锐指出的: + + 这正是历史的关键。使用卓越的能源——构建文明——成立杰出的机构,但是每次总 + +会出现问题。一些致命的缺陷会将自私和残酷的人带到塔尖,接着一切开始滑落,回到到痛 + +苦和堕落。实际上,机器失灵了。看上去,就好像是机器正常启动,跑了几步,然后垮掉了 + + - 69 - + +----------------------- Page 82----------------------- + +7 + 。 + + 系统软件开发是减少混乱度(减少熵)的过程,所以它本身是处于亚稳态的。软件维 + +护是提高混乱度(增加熵)的过程,即使是最熟练的软件维护工作,也只是放缓了系统退化 + +到非稳态的进程。 + + - 70 - + +----------------------- Page 83----------------------- + + 干将莫邪(Sharp Tools) + +巧匠因为他的工具而出名。 + +- 谚语 + +A good workman is known by his tools. + +- PROVERB + + 就工具而言,即使是现在,很多软件项目仍然像一家五金店。每个骨干人员都仔细地 + +保管自己工作生涯中搜集的一套工具集,这些工具成为个人技能的直观证明。正是如此,每 + +个编程人员也保留着编辑器、排序、内存信息转储、磁盘实用程序等工具。 + + 这种方法对软件项目来说是愚蠢的。首先,项目的关键问题是沟通,个性化的工具妨 + +碍——而不是促进沟通。其次,当机器和语言发生变化时,技术也会随之变化,所有工具的 + +生命周期是很短的。毫无疑问,开发和维护公共的通用编程工具的效率更高。 + + 不过,仅有通用工具是不够的。专业需要和个人偏好同样需要很多专业工具。所以在 + +前面关于软件开发队伍的讨论中,我建议为每个团队配备一名工具管理人员。这个角色管理 + +所有通用工具,能指导他的客户-老板使用工具。同时,他还能编制老板需要的专业工具。 + + 因此,项目经理应该制订一套策略,并为通用工具的开发分配资源。与此同时,他还 + +必须意识到专业工具的需求,对这类工具不能吝啬人力和物力——这种企图的危害非常隐 + +蔽。可能有人会觉得,将所有分散的人员集结起来,形成一个公共的工具小组,会有更高的 + +效率。但实际上却不是这样。 + + 项目经理必须考虑、计划、组织的工具到底有哪些呢?首先是计算机设施。它需要硬 + +件和使用安排策略;它需要操作系统,提供服务的方式必须明了;它需要语言,语言的使用 + +方针必须明确;然后是实用程序、调试辅助程序、测试用例生成工具和处理文档的字处理系 + + 1 +统。接下面我们逐一讨论它们 。 + + - 71 - + +----------------------- Page 84----------------------- + + 目标机器 + + 机器支持可以有效地划分成目标机器和辅助机器。目标机器是软件所服务的对象,程 + +序必须在该机器上进行最后测试。辅助机器是那些在开发系统中提供服务的机器。如果是在 + +为原有的机型开发操作系统,则该机器不仅充当目标机器的角色,同时也作为辅助机器。 + + 目标机器的类型有哪些?团队开发的监督程序或其他系统核心软件当然需要它们自己 + +的机器。目标机器系统会需要若干操作员和一两个系统编程人员,以保证机器上的标准支持 + +是即时更新和实时可用的。 + + 如果还需要其他的机器,那么将是一件很古怪的东西——运行速度不必非常快,但至 + +少要若干兆字节的主存,百兆字节的在线硬盘和终端。字符型终端即可满足要求,但是它必 + +须比15字符/每分的打字机速度要快。大容量内存可以进行进程覆盖(overlay)和功能测 + +试之后的剪裁工作,从而极大地提高生产率。 + + 另外,还需要配备调试机器或者软件。这样,在调试过程中,所有类型的程序参数可 + +以被自动计数和测量。例如,内存使用模式是非常强大的诊断措施,能查出程序中不可思议 + +的行为或者性能意外下降的原因。 + + 计划安排。当目标机器刚刚被研制,或者当它的第一个操作系统被开发时,机器时间 + +是非常匮乏的,时间的调度安排成了主要问题。目标机器时间需求具有特别的增长曲线。在 + +OS/360 开发中,我们有很好的System/360 仿真器和其他的辅助设施,并根据以前的经验, + +我们计划出System/360 的使用时间(小时数),向制造商提前预定了机器。不过,起初它们 + +日复一日地处于空闲状态。突然有一天,所有16个系统全部上线,这时资源配给成了严重 + +问题。实际使用情况如图12.1 所示。每个人在同一时间,开始调试自己的第一个组件,然 + +后团队大多数成员持续地进行某些调试工作。 + + 我们集中了所有的机器和磁带库,并组建了一个富有经验的专业团队来操作它们。为 + +了最大限度地利用S/360 的时间,我们在任何系统空闲和可能的时间里,以批处理方式运行 + +所有运算任务。我们尝试了每天运行四次(周转时间为两个半小时),而实际要求的周转时 + +间为四小时。我们使用了一台带有终端的1401 辅助机器来进行调度,跟踪成千上万的任务, + +监督时间周期。 + + - 72 - + +----------------------- Page 85----------------------- + + Model40 的每月使用 + + 小时数 + + 图12.1:目标机器使用的增长曲线 + + 但是整个开发队伍实在是过度运转了。在经过了几个月的缓慢周转、相互指责、极度 + +痛苦之后,我们开始把机器时间分配成连续的块。例如,整个从事排序工作的15人小组, + +会得到系统4 至6 小时的使用时间块,由他们自己决定如何使用。即使没有安排,其他人也 + +不能使用机器资源。 + + 这种方式,是一种更好的分配和安排方法。尽管机器的利用程度可能会有些降低(常 + +常不是这样),生产率却提高了。上述小组中的每个人,6 小时中连续10次操作的生产率, + +比间隔3 小时的10次操作要高许多,因为持续的精力集中能减少思考时间。在这样的冲刺 + +之后,提出下一个时间块要求之前,小组通常需要一到两天的时间来从事书面文档工作。并 + +且,通常3人左右的小组能卓有成效地安排和共享时间块。在调试新操作系统时,这似乎是 + +一种使用目标机器的最好方法。 + + 上述方法尽管没有在任何理论中被提及,在实际情况中却一直如此。另外,同天文工 + +作者一样,系统调试总是夜班性质的工作。二十年前,当所有机房负责人在家中安睡时,我 + +正工作在701上。三代机器过去了,技术完全改变了,操作系统出现了,然而大家喜好的工 + +作方式没有改变。这种工作方式得以延续,是因为它的生产率最高。现在,人们已开始认识 + +到它的生产力,并且敞开地接受这种富有成效的实践。 + +辅助机器和数据服务 + + 仿真装置。如果目标机器是新产品,则需要一个目标机器的逻辑仿真装置。这样,在 + +生产出新机器之前,就有辅助的调试平台可供使用。同样重要的是——即使在新机器出现之 + + - 73 - + +----------------------- Page 86----------------------- + +后,仿真装置仍然可以提供可靠的调试平台。 + + 可靠并不等于精确。在某些方面,仿真机器肯定无法精确地达到与新型机器一致的实 + +现。但是至少在一段时间内,它的实现是稳定的,新硬件就不会。 + + 现在,我们已经习惯于计算机硬件自始至终能正常工作。除非程序开发人员发现相同 + +运算在运行时会产生不一致的结果,否则出错时,他都会被建议去检查自己代码中的错误, + +而不是去怀疑他的运行平台。 + + 这样的经验,对于支持新型机器的编程工作来说,是不好的。实验室研制和试制的模 + +型产品和早期硬件不会像定义的那样运行,不会稳定工作,甚至每天都不会一样。当一些缺 + +陷被发现时,所有的机器拷贝,包括软件编程小组所使用的,都会发生修改。这种飘忽不定 + +的开发基础实在是够糟的。而硬件失败,通常是间歇性的,导致情况更加恶劣。不确定性是 + +所有情况中最糟糕的,因为它剥夺了开发人员查找bug 的动力——可能根本就没有问题。所 + +以,一套运行在稳定平台上的可靠仿真装置,提供了远大于我们所期望的功用。 + + 编译器和汇编平台。出于同样的原因,编译器和汇编软件需要运行在可靠的辅助平台 + +上,为目标机器编译目标代码。接着,可以在仿真器上立刻开始后续的调试。 + + 高级语言的编程开发中,在目标机器上开始全面测试目标代码之前,编译器可以在辅 + +助机器上完成很多目标代码的调试和测试工作。这为直接运行提供了支持,而不仅仅是稳定 + +机器上的仿真结果。 + + 程序库和管理。在OS/360 开发中,一个非常成功的重要辅助机器应用是维护程序库。 + +该系统由W. R.Crowley 带领开发,连接两台7010机器,共享一个很大的磁盘数据库。7010 + +同时还提供System/360 汇编程序。所有经过测试或者正在测试的代码都保存在该库中,包 + +括源代码和汇编装载模块。这个库实际上划分成不同访问规则下的子库。 + + 首先,每个组或者编程人员分配了一个区域,用来存放他的程序拷贝、测试用例以及 + +单元测试需要的测试辅助例程和数据。在这个开发库 (playpen)中,不存在任何限制开发 + +人员的规定。他可以自由处置自己的程序,他是它们的拥有者。 + + 当开发人员准备将软件单元集成到更大的部分时,他向集成经理提交一份拷贝,后者 + +将拷贝放置在系统集成子库中。此时,原作者不可以再改变代码,除非得到了集成经理的批 + +准。当系统合并在一起时,集成经理开始进行所有的系统测试工作,识别和修补bug。 + + - 74 - + +----------------------- Page 87----------------------- + + 有时,系统的一个版本可能会被广泛应用,它被提升到当前版本子库。此时,这个拷 + +贝是不可更改的,除非有重大缺陷。该版本可以用于所有新模块的集成和测试。7010 上的 + +一个程序目录对每个模块的每个版本进行跟踪,包括它的状态、用途和变更。 + + 这有两个重要的理念。首先是受控,即程序的拷贝属于经理,他可以独立地授权程序 + +的变更。其次是使发布的进展变得正式,以及开发库(playpen)与集成、发布的正式分离。 + + 在我看来,这是OS/360 工作中最优秀的成果之一。它实际上是管理技术的一部分,很 + +多大型的项目都独立地发展了这些技术2,包括Bell试验室、ICL、剑桥大学等。它同样适 + +用于文档,是一种不可缺少的技术。 + + 编程工具。随着调试技术的出现,旧方法的使用减少了,但并没有消失。因此,还是 + +需要内存转储、源文件编辑、快照转储、甚至跟踪等工具。 + + 与之类似,一整套实用程序同样是必要的,用来实现磁带走带、拷贝磁盘、打印文件、 + +更改目录等工作。如果一开始就任命了项目的工具操作和维护人员,那么这些工作可以一次 + +完成,并且随时处在待命状态。 + + 文档系统。在所有的工具中,最能节省劳动力的,可能是运行在可靠平台上的、计算 + +机化的文本编辑系统。我们有一套使用非常方便的系统,由J. W.Franklin 发明。没有它, + +OS/360手册的进度可能会远远落后,而且更加晦涩难懂。另外,对于6 英尺的OS/360手册, + +很多人认为它表达的是一大堆口头垃圾,巨大容量带来了新的不理解问题——这种观点有一 + +些道理。 + + 对此,我通过两种途径作出了反应。首先,OS/360 的文档规模是不可避免的,需要制 + +订仔细的阅读计划。如果选择性地阅读,则可以忽略大部分内容和省下大量时间。人们必须 + +把OS/360 的文档看成是图书馆或者百科全书,而不是一系列强制阅读的文章。 + + 第二,它比那些刻画了大多数编程系统特性的短篇文档更加可取。不过,我也承认, + + “概 +手册仍有某些需要大量改进的地方,经改进后文档篇幅会大大减少。事实上,某些部分( + +念和设施”)已经被很好地改写了。 + + 性能仿真装置。最好有一个。正如我们将在下章讨论到的,彻底地开发一个。使用相 + +同的自顶向下设计方法,来实现性能仿真器、逻辑仿真装置和产品。尽可能早地开始这项工 + +作,仔细地听取“它们表达的意见”。 + + - 75 - + +----------------------- Page 88----------------------- + +高级语言和交互式编程 + + 在十年前的OS/360 开发中,并没有使用现在最重要的两种系统编程工具。目前,它们 + +也没有得到广泛应用,但是所有证据都证明它们的功效和适用。他们是(1)高级语言和(2) + +交互式编程。我确信只有懒散和惰性会妨碍它们的广泛应用,技术上的困难很快就不再成为 + +借口。 + + 高级语言。使用高级语言的主要原因是生产率和调试速度。我们在前面已讨论过生产 + +率的问题(第8 章)。其中,并没有提到大量的数字论据,但是所体现出来的是整体提升, + +而不仅仅是部分增加。 + + 调试上的改进来自下列事实——存在更少的bug,而且更容易查找。bug更少的原因, + +是因为它避免在错误面前暴露所有级别的工作,这样不但会造成语法上的错误,还会产生语 + +义上的问题,如不当使用寄存器等。编译器的诊断机制可以帮助找出这些类似的错误,更重 + +要的是,它非常容易插入调试的快照。 + + 就我而言,这些生产率和调试方面的优势是势不可挡的。我无法想象使用汇编语言能 + +方便地开发出系统软件。 + + 那么,上述工具的传统反对意见有哪些呢?这里有三点:它无法完成我想做的事情; + +目标代码过于庞大;目标代码运行速度过慢。 + + 就功能而言,我相信反对不再存在。所有证据都显示了人们可以完成想做的事情,只 + + 3,4 +是需要花费时间和精力找出如何做而已,这可能需要一些讨人嫌的技巧 。 + + 就空间而言,新的优化编译器已非常令人满意,并且将持续地改进。 + + 就速度而言,经优化编译器生成的代码,比绝大多数程序员手写代码的效率要高。而 + +且,在前者被全面测试之后,可以将其中的百分之一至五替换成手写的代码,这往往能解决 + + 5 +速度方面的问题 。 + + 系统编程需要什么样的高级语言呢?现在可供合理选择的语言是PL/I6。它提供完整的 + +功能集;它与操作系统环境相吻合;它有各种各样的编译器,一些是交互式的,一些速度很 + +快,一些诊断性很好,另一些能产生优化程度很高的代码。我自己觉得使用APL 来解决算法 + +更快一些,然后,将它们翻译成某个系统环境下的PL/I 语言。 + + - 76 - + +----------------------- Page 89----------------------- + + 交互式编程。MIT 的Multics项目的成果之一,是它对软件编程系统开发的贡献。在那 + +些系统编程所关注的方面,Multics (以及后续系统,IBM 的TSS)和其他交互式计算机系统 + +在概念上有很大的不同:多个级别上数据和程序的共享和保护,可延伸的库管理,以及协助 + +终端用户共同开发的设施。我确信在某些应用上,批处理系统决不会被交互式系统所取代。 + +但是,我认为Multics 小组是交互式系统开发上最具有说服力的成功案例。 + + 然而,目前还没有非常明显的证据来证明这些功能强大的工具的效力。正如人们所普 + +遍认识的那样,调试是系统编程中很慢和较困难的部分,而漫长的调试周转时间是调试的祸 + + 7 +根。就这一点而言,交互式编程的逻辑合理性是勿庸置疑的 。 + + 另外,从很多采用这种方式了开发小型系统和系统某个部分的人那里,我们听到了很 + +多好的证据。我唯一见到的关于大型编程系统开发方面的数字,来自Bell实验室John Harr + +的论文。它们如图12.2所示。这些数字分别反映了代码编写、汇编装配和程序调试的情况。 + +第一个大部分是控制程序;其他三个则是语言解释、编辑等程序。Harr 的数据表明了系统 + + 8 +软件开发中,交互式编程的生产率至少是原来的两倍 。 + + 批处理(B )或交互 + 程序 规模 指令/人年 + 式(C) + + ESS 代码 800,000 B 500-1000 + 7094 ESS 支持 120,000 B 2100-3400 + 360 ESS 支持 32,000 C 8000 + 360 ESS 支持 8,300 B 4000 + + 图12.2:批处理和交互式编程生产率的对比 + + 由于远程键盘终端无法用于内存转储的调试,大多数交互式工具的有效使用需要采用 + +高级语言来进行开发。有了高级语言,可以很容易地修改代码和选择性地打印结果。实际上, + +它们组成了一对强大的工具。 + + - 77 - + +----------------------- Page 90----------------------- + + 整体部分(The Whole and the Parts) + +我能召唤遥远的精灵。 + +那又怎么样,我也可以,谁都可以,问题是你真的召唤的时候,它们会来吗? + +- 莎士比亚,《亨利四世》,第一部分 + +I can call spirits from the vasty deep. + +Why, so can I, or so can any man; but will they come when you do call for them? + +- SHAKESPEARE, KING HENRY IV, Part I + + 和古老的神话里一样,现代神话里也总有一些爱吹嘘的人:“我可以编写控制航空货运、 + +拦截弹道导弹、管理银行账户、控制生产线的系统。”对这些人,回答很简单,“我也可以, + +任何人都可以,但是其他人成功了吗?” + + 如何开发一个可以运行的系统?如何测试系统?如何将经过测试的一系列构件集成到 + +已测试过、可以依赖的系统?对这些问题,我们以前或多或少地提到了一些方法,现在就来 + +更加系统地考虑一下。 + +剔除bug 的设计 + + 防范bug 的定义。系统各个组成部分的开发者都会做出一些假设,而这些假设之间的 + +不匹配,是大多数致命和难以察觉的bug 的主要来源。第4、5、6 章所讨论的获取概念完整 + +性的途径,就是直接面对这些问题。简言之,产品的概念完整性在使它易于使用的同时,也 + +使开发更容易进行以及bug 更不容易产生。 + + 上述方法所意味的详尽体系结构设计正是出于这个目的。Bell 实验室安全监控系统项 + + 目的V.A.Vyssotsky 提出,“关键的工作是产品定义。许许多多的失败完全源于那些产品未 + +精确定义的地方。1”细致的功能定义、详细的规格说明、规范化的功能描述说明以及这些 + + - 78 - + +----------------------- Page 91----------------------- + +方法的实施,大大减少了系统中必须查找的bug 数量。 + + 测试规格说明。在编写任何代码之前,规格说明必须提交给测试小组,以详细地检查 + +说明的完整性和明确性。如同Vyssotsky 所述,开发人员自己不会完成这项工作:“他们不 + +会告诉你他们不懂。相反,他们乐于自己摸索出解决问题和澄清疑惑的办法。” + + 自顶向下的设计。在1971 年的一篇论文中,Niklaus Wirth 把一种被很多最优秀的编 + +程人员所使用的设计流程2 形式化。尽管他的理念是为了程序设计,同样也完全适用于复杂 + +系统的软件开发设计。他将程序开发划分成体系结构设计、设计实现和物理编码实现,每个 + +步骤可以使用自顶向下的方法很好地实现。 + + 简言之,Wirth 的流程将设计看成一系列精化步骤。开始是勾画出能得到主要结果的, + +但比较粗略的任务定义和大概的解决方案。然后,对该定义和方案进行细致的检查,以判断 + +结果与期望之间的差距。同时,将上述步骤的解决方案,在更细的步骤中进行分解,每一项 + +任务定义的精化变成了解决方案中算法的精化,后者还可能伴随着数据表达方式的精化。 + + 在这个过程中,当识别出解决方案或者数据的模块时,对这些模块的进一步细化可以 + +和其他的工作独立,而模块的大小程度决定了程序的适用性和可变化的程度。 + + Wirth 主张在每个步骤中,尽可能使用级别较高的表达方法来表现概念和隐藏细节,除 + +非有必要进行进一步的细化。 + + 好的自顶向下设计从几个方面避免了bug。首先,清晰的结构和表达方式更容易对需求 + +和模块功能进行精确的描述。其次,模块分割和模块独立性避免了系统级的bug。另外,细 + +节的隐藏使结构上的缺陷更加容易识别。第四,设计在每个精化步骤的层次上是可以测试的, + +所以测试可以尽早开始,并且每个步骤的重点可以放在合适的级别上。 + + 当遇到一些意想不到的问题时,按部就班的流程并不意味着步骤不能反过来,直到推 + +翻顶层设计,重新开始整个过程。实际上,这种情况经常发生。至少,它让我们更加清楚在 + +什么时候和为什么抛弃了某个臃肿的设计,并重新开始。一些糟糕的系统往往就是试图挽救 + +一个基础很差的设计,而对它添加了很多表面装饰般的补丁。自顶向下的方法减少了这样的 + +企图。 + + 我确信在十年内,自顶向下进行设计将会是最重要的新型形式化软件开发方法。 + + 结构化编程。另外一系列减少bug 数量的新方法很大程度上来自Dijkstra3。Bohm 和 + + - 79 - + +----------------------- Page 92----------------------- + + 4 +Jacopini 的为其提供了理论证明 。 + + 基本上,该方法所设计程序的控制结构,仅包含语句形式的循环结构,例如DOWHILE, + +以及IF...THEN...ELSE 的条件判断结构,而具体的条件部分在IF...THEN...ELSE 后的花括 + +号中描述。Bohm 和Jacopini 展示了这些结构在理论上是可以证明的。而Dijkstra 认为另 + +外一种方法,即通过GO TO 不加限制的分支跳转,会产生导致自身逻辑错误的结构。 + + 这种方法的基本理念非常优秀,但仍有人提出了一些反面的意见。一些附加的控制结 + +构非常有效,例如,在多个条件下的多路分支 (CASE、SWITCH 语句),异常跳转等 (GO TO + +ABNORMAL END)。此外,关于完全避免GO TO 语句的说法显得有些教条主义,而且似乎有些 + +吹毛求疵。 + + 关键的地方和构建无bug 程序的核心,是把系统的结构作为控制结构来考虑,而不是 + +独立的跳转语句。这种思考方法是我们在程序设计发展史上向前迈出的一大步。 + +构件单元调试 + + 程序调试过程在过去的二十年中有过很多反复,甚至在某些方面,它们又回到了出发 + +的起点。整个调试过程有四个步骤,跟随这个过程来检验每个步骤各自的动机是一件很有趣 + +的事情。 + + 本机调试。早期的机器的输入和输出设备很差,延迟也很长。典型的情况是,机器采 + +用纸带或者磁带的方式来读写,采用离线设备来完成磁带的准备和打印工作。这使得磁带输 + +入/输出对于调试是不可忍受的。因此,在一次机器交互会话中会尽可能多地包含试验性操 + +作。 + + 在那种情况下,程序员仔细地设计他的调试过程——计划停止的地点,检验内存的位 + +置,需要检查的东西以及如果没有预期结果时的对策。花费在编写调试程序上的时间,可能 + +是程序编制时间的一半。 + + 这个步骤的“重大罪过”是在没有把程序划分成测试段,并对执行终止位置进行计划 + +的前提下,粗暴地按下“开始(START)”。 + + 内存转储。本机调试非常有效。在两小时的交互过程中可能会发现一打问题,但是计 + +算机的资源非常匮乏,成本很高。想象一下计算机时间的浪费,那实在是一件可怕的事情。 + + - 80 - + +----------------------- Page 93----------------------- + + 因此,当使用在线高速打印机时,测试技术发生了变化。某人持续地运行程序,直到 + +某个检测失败,这时所有的内存都被转储。接着,他将开始艰苦的桌面工作,考虑每个内存 + +位置的内容。桌面工作的时间和本机调试并没有太大的不同,但它的方式比以前更为含混, + +并且发生在测试执行之后。特定用户调试用的时间更长,因为测试依赖于批处理的周期。总 + +之,整个过程的设计是为了减少计算机的使用时间,从而尽可能满足更多的用户。 + + 快照。采用内存转储技术的机器往往配有2000~4000个字(word双字节),或者8K~ + +16K 字节的内存。但是,随着内存的规模不断增长,对整个内存都进行转储变得不大可能。 + +因此,人们开发了有选择的转储、选择性跟踪和将快照插入程序的技术。OS/360 TESTRAN + +允许将快照插入程序,无需重新汇编和编译,它是快照技术方向的终极产品。 + + 5 6 + 交互式调试。1959年,Codd 和他的同事 以及Strachey 都发表了关于协助分时调试工 + +作的论文,提出了一种兼有本机调试方式实时性和批处理调试高效使用率的方法。计算机将 + +多个程序载入到内存中准备运行,被调试的程序和一个只能由程序控制的终端相关联,由监 + +督调度程序控制调试过程。当终端前的编程人员停止程序,检查进展情况或者进行修改时, + +监督程序可以运行其他程序,从而保证了机器的使用率。 + + Codd 的多道程序系统已经开发出来,但是它的重点是通过有效地利用输入/输出来提高 + +吞吐量,并没有实现交互式的调试。Strachy 的想法不断得到改进,终于在1963 年由MIT + +的Corbato 和他的同事在7090 的实验性系统上实现7。这个开发结果导致了MULTICS、TSS + +和现在其他分时系统的出现。 + + 在最初使用的本机调试方法和现在的交互式调试方法之间,用户可以感觉到的主要差 + +异是工具性软件、调度监控程序和其它相关语言解释编译器的出现。而现在,已经可以用高 + +级语言来编程和调试,高效的编辑工具使修改和快照更为容易。 + + 交互式调试拥有和本机调试一样的操作实时性,但前者并没有象后者要求的那样,在 + +调试过程中要预先进行计划。在某种程度上,像本机调试那样的预先计划显得并不是很必要, + +因为在调试人员停顿和思考时,计算机的时间并没有被浪费。 + + 不过,Gold 实验得到一个有趣的结果,这个结果显示在每次调试会话中,第一次交互 + +取得的工作进展是后续交互的三倍8。这强烈地暗示着,由于缺乏对调试会话的计划,我们 + +没有发掘交互式调试的潜力,原有本机调试技术中那段高效率的时间消失了。 + + - 81 - + +----------------------- Page 94----------------------- + + 我发现对良好终端系统的正确使用,往往要求每两小时的终端会话对应于两小时的桌 + +面工作。一半时间用于上次会话的清理工作:更新调试日志,把更新后的程序列表加入到项 + +目文件夹中,研究和解释调试中出现的奇怪现象。剩余一半时间用于准备:为下一次操作设 + +计详细的测试,进行计划的变更和改进。如果没有这样的计划,则很难保持两个小时的高生 + +产率;而没有事后的清理工作,则很难保证后续终端会话的系统化和持续推进。 + + 9 + 测试用例。关于实际调试过程和测试用例的设计,Grunberger 提出了特别好的对策 , + + 10,11 +在其他的文章中,也有较为简便的方法 。 + +系统集成调试 + + 软件系统开发过程中出乎意料的困难部分是系统集成测试。前面我已经讨论了一些困 + +难产生和困难不确定的原因。其中需要再次确认的两件事是:系统调试花费的时间会比预料 + +的更长,需要一种完备系统化和可计划的方法来降低它的困难程度。下面来看看这样的方法 + + 12 +所包括的内容 。 + + 使用经过调试的构件单元。尽管并不是普遍的实际情况——不过通常的看法是——系 + +统集成调试要求在每个部分都能正常运行之后开始。 + + 实际工作中,存在着与上面看法不同的两种情况。一种是“合在一起尝试”的方法, + +这种方法似乎是基于这样的观点:除了构件单元上的bug之外,还存在系统bug (如接口), + +越早将各个部分合拢,系统bug 出现得越早。另一种观念则没有这么复杂:使用系统的各个 + +部分进行相互测试,避免了大量测试辅助平台的搭建工作。这两种情况显然都是合理的,但 + +经验显示它们并不完全正确——使用完好的、经过调试的构件,能比搭建测试平台和进行全 + +面的构件单元测试节省更多的时间。 + + 更微妙的一种方法是“文档化的bug”。它申明构件单元所有的缺陷已经被发现,还没 + +有被修复,但已经做好了系统调试的准备。在系统测试期间,依照该理论,测试人员知道这 + +些缺陷造成的后果,从而可以忽略它们,将注意力集中在新出现的问题上。 + + 但是所有这些良好的愿望只是试图为结果的偏离寻找一些合理理由。实际上,调试人 + +员并不了解bug 引起的所有后果;不过,如果系统比较简单,系统测试倒不会太困难。另外, + +对文档记录bug 的修复工作本身会注入未知的问题,接下来的系统测试会令人困惑。 + + - 82 - + +----------------------- Page 95----------------------- + + 搭建充分的测试平台。这里所说的辅助测试平台,指的是供调试使用的所有程序和数 + +据,它们不会整合到最终产品中。测试平台可能会有相当于测试对象一半的代码量,但这是 + +合乎情理的。 + + 一种测试辅助的形式是伪构件(dummy component),它仅仅由接口和可能的伪数据或 + +者一些小的测试用例组成。例如,系统包含某种排序程序,但该程序还未完成,这时其他部 + +分的测试可以通过伪构件来实现,该构件读入输入数据,对数据格式进行校验,输出格式良 + +好、但没有实际意义的有序数据以供使用。 + + 另一种形式是微缩文件(miniature file)。很常见的一类bug来自对磁带和磁盘文件 + +格式的错误理解。所以,创建一个仅包含典型记录,但涵盖全部描述的小型文件是非常值得 + +的。 + + 微缩文件的特例是伪文件(dummy file),实际上并不常见。不过OS/360 任务控制语 + +言提供了这种功能,对于构件单元调试非常有用。 + + 还有一种方式是辅助程序 (auxiliary program)。用来测试数据发生器、特殊的打印 + + 13 +输出、交叉引用表分析等,这些都是需要另外开发的专用辅助工具的例子 。 + + 控制变更。对测试期间进行严密控制是硬件调试中一项令人印象深刻的技术,它同样 + +适用于软件系统。 + + 首先,必须有人负责。他必须控制和负责各个构件单元的变更或者版本之间的替换。 + + 接着,就像前面所讨论的,必须存在系统的受控拷贝:一个是供构件单元测试使用的 + +最终锁定版本;一个是测试版本的拷贝,用来进行缺陷的修复;以及一个安全版本,其他人 + +员可以在该拷贝上工作,进行各自的程序开发工作,例如修复和扩展自己的模块和子系统等。 + + 在System/360 工程模型中,在一大堆常规的黄颜色电线中,常常可以不经意地看到紫 + +色的电线束。在发现bug 以后,我们会做两件事情:设计快速修复电路,并安装到系统,从 + +而不会妨碍测试的继续进行。这些更改过的接线使用紫色电线,看上去就像伸着一个受了伤 + +的大拇指。我们需要把更改记录到日志中,同时,还要准备一份正式的变更文档,并启动设 + +计自动化流程。最后,在电路图或者黄色线路中会实现该设计的调整——更新相应的电路图 + +和接线表,以及开发一个新的电路板。现在,物理模型和电路图重新吻合了,紫色的线束也 + +就不再需要了。 + + - 83 - + +----------------------- Page 96----------------------- + + 软件开发也需要用到“紫色线束”的手法。对于最后成为产品的程序代码,它更迫切 + +地需要进行严密控制和深层次的关注。上述技巧的关键因素是对变更和差异的记载,即在一 + +个日志中记录所有的变更,而在源代码中显著标记快速补丁和正式修改之间的区别,正式修 + +改是完备并经过测试的,而且需要文档化。 + + 一次添加一个构件。这样做的好处同样是显而易见的,但是乐观主义和惰性常常诱使 + +我们破坏这个规则。因为离散构件的添加需要调试伪程序和其他测试平台,有很多工作要做。 + +毕竟,可能我们不需要这些额外工作?可能不会出现什么bug? + + 不!拒绝诱惑!这正是系统测试所关注的方面。我们必须假设系统中存在着许多错误, + +并需要计划一个有序的过程把它们找出来。 + + 注意必须拥有完整的测试用例,在添加了新构件之后,用它们来测试子系统。因为那 + +些原来可以在子系统上成功运行的用例,必须在现有系统上重新运行,对系统进行回归测试。 + + 阶段 (量子)化、定期变更。随着项目的推进,系统构件的开发者会不时出现在我们 + +面前,带着他们工作的最新版本——更快、更卓越、更完整,或者公认bug 更少的版本。将 + +使用中的构件替换成新版本,仍然需要进行和构件添加一样的系统化测试流程。这个时候通 + +常已经具备了更完整有效的测试用例,因此测试时间往往会减少很多。 + + 项目中,其他开发团队会使用经过测试的最新集成系统,作为调试自己程序的平台。 + +测试平台的修改,会阻碍他们的工作。当然,这是必须的。但是,变更必须被阶段化,并且 + +定期发布。这样,每个用户拥有稳定的生产周期,其中穿插着测试平台的改变。这种方法比 + +持续波动所造成的混乱无序要好一些。 + + 14 + Lehman和Belady 出示了证据,阶段(量子)要么很大,间隔很宽;要么小而频繁 。 + +根据他们的模型,小而频繁的阶段很容易变得不稳定,我的经验也同样证实了这一点——因 + +此我决不会在实践中冒险采用后一种策略。 + + 量子(阶段)化变更方法非常优美地容纳了紫色线束技术:直到下一次系统构件的定 + +期发布之前,都一直使用快速补丁;而在当前的发布中,把已经通过测试并进行了文档化的 + +修补措施整合到系统平台。 + + - 84 - + +----------------------- Page 97----------------------- + + 祸起萧墙(Hatching a Catastrophe) + +带来坏消息的人不受欢迎。 + +- 索福克里斯 + +项目是怎样延迟了整整一年的时间?…一次一天。 + +None love the bearer of bad news. + +- SOPHOCLES + +How does a project get to be a year late? ... One day at a time. + + 当人们听到某个项目的进度发生了灾难性偏离时,可能会认为项目一定是遭受了一系 + +列重大灾难。然而,通常灾祸来自白蚁的肆虐,而不是龙卷风的侵袭。同样,项目进度经常 + +以一种难以察觉,但是残酷无情的方式慢慢落后。实际上,重大灾害是比较容易处理的,它 + +往往和重大的压力、彻底的重组、新技术的出现有关,整个项目组通常可以应付自如。 + + 但是一天一天的进度落后是难以识别、不容易防范和难以弥补的。昨天,某个关键人 + +员生病了,无法召开某个会议。今天,由于雷击打坏了公司的供电变压器,所有机器无法启 + +动。明天,因为工厂磁盘供货延迟了一周,磁盘例程的测试无法进行。下雪、应急任务、私 + +人问题、同顾客的紧急会议、管理人员检查——这个列表可以不断地延长。每件事都只会将 + +某项活动延迟半天或者一天,但是整个进度开始落后了,尽管每次只有一点点。 + +里程碑还是沉重的负担? + + 如何根据一个严格的进度表来控制项目?第一个步骤是制订进度表。进度表上的 + + 每一件事,被称为“里程碑”,它们都有一个日期。选择日期是一个估计技术上的问题, + + 在前面已经讨论过,它在很大程度上依赖以往的经验。 + + 里程碑的选择只有一个原则,那就是,里程碑必须是具体的、特定的、可度量的事件, + +能够进行清晰定义。以下是一些反面的例子,例如编码,在代码编写时间达到一半的时候就 + + - 85 - + +----------------------- Page 98----------------------- + +已经“90%完成”了;调试在大多时候都是“99%完成”的;“计划完毕”是任何人只要愿 + + 1 +意,就可以声明的事件 。 + + 然而,具体的里程碑是百分之百的事件。“结构师和实现人员签字认可的规格说明”, + + “100%源代码编制完成,纸带打孔完成并输入到磁盘库”,“测试通过了所有的测试用例”。 + +这些切实的里程碑澄清了那些划分得比较模糊的阶段——计划、编码、调试。 + + 里程碑有明显边界和没有歧义,比它容易被老板核实更为重要。如果里程碑定义得非 + +常明确,以致于无法自欺欺人时,很少有人会就里程碑的进展弄虚作假。但是如果里程碑很 + +模糊,老板就常常会得到一份与实际情况不符的报告。毕竟,没有人愿意承受坏消息。这种 + +做法只是为了起到缓和的作用,并没有任何蓄意的欺骗。 + + 对于大型开发项目中的估计行为,政府的承包商做了两项有趣的研究。研究结果显示: + + 1. 如果在某项活动开始之前就着手估计,并且每两周进行一次仔细的修订。这样,随 + +着开始时间的临近,无论最后情况会变得如何的糟糕,它都不会有太大的变化。 + + 2. 活动期间,对时间长短的过高估计,会随着活动的进行持续下降。 + + 3. 过低估计在活动中不会有太大的变化,一直到计划的结束日期之前大约三周左右。 + + 好的里程碑对团队来说实际上是一项服务,可以用来向项目经理提出合理要求的一项 + +服务,而不确切的里程碑是难以处理的负担。当里程碑没有正确反映损失的时间,并对人们 + +形成误导,以致事态无法挽回的时候,它会彻底碾碎小组的士气。慢性进度偏离同样也是士 + +气杀手。 + + “其他的部分反正会落后” + + 进度落后了一天,那又怎么样呢?谁会关心一天的滞后?我们可以跟上进度。何况, + +和我们有关的其他部分已经落后了。 + + 棒球队队长知道,进取这种心理素质,是很多优秀队员和团队不可缺少的。它表现为 + + “要求跑得更快”,“要求移动得更加迅速”,“更加努力尝试”。对软件开发队伍,进取同样 + +是非常必要的。进取提供了缓冲和储备,使开发队伍能够处理常规的异常事件,可以预计和 + +防止小的灾祸。而对任务进行计算和对工作量进行度量,会对进取超前会造成一些消极的影 + + - 86 - + +----------------------- Page 99----------------------- + +响——这时,人们往往会比较乐观地放缓工作节奏。就这一点来说,它们是令人扫兴的事情。 + +不过,如同我们看到的,必须关心每一天的滞后,它们是大灾祸的基本组成元素。 + + 并不是每一天的滞后都等于灾难。尽管会如上文所述,事先估计会给工作进度的超前 + +带来影响,但对活动的一些计算和考虑还是必要的。那么,如何判断哪些偏离是关键的呢? + +只有采用PERT 或者关键路径技术才能判断。它显示谁需要什么样的东西,谁位于关键路径 + +上,他的工作滞后会影响最终的完成日期。另外,它还指出一个任务在成为关键路径时,可 + +以落后的时间。 + + 严格地说,PERT 技术是关键路径计划的细化,如果使用PERT 图,它需要对每个事件估 + +计三次,每次对应于满足估计日期的不同可能性。我觉得不值得为这样的精化产生额外的工 + +作量,但为了方便,我把任何关键路径法都称为PERT 图。 + + PERT 的准备工作是PERT 图使用中最有价值的部分。它包括整个网状结构的展开、任务 + +之间依赖关系的识别、各个任务链的估计。这些都要求在项目早期进行非常专业的计划。第 + +一份PERT 图总是很恐怖的,不过人们总是不断地进行努力,运用才智制订下一份PERT 图。 + + 随着项目的推进,PERT 图为前面那个泄气的借口,“其他的部分反正会落后”,提供了 + +答案。它展示某人为了使自己的工作远离关键路径,需要超前多少,也建议了补偿其他部分 + +失去的时间的方法。 + +地毯的下面 + + 当一线经理发现自己的队伍出现了计划偏离时,他肯定不会马上赶到老板那里去汇报 + +这个令人沮丧的消息。团队可以弥补进度偏差,他可以想出应对方法或者重新安排进度以解 + +决问题,为什么要去麻烦老板呢?从这个角度来看,好像还不错。解决这类问题的确是一线 + +经理的职责。老板已经有很多需要处理的真正的烦心事了,他不想被更多的问题打搅。因此, + +所有的污垢都被隐藏在地毯之下。 + + 但是每个老板都需要两种信息:需要采取行动的计划方面的问题,用来进行分析的状 + +态数据3。出于这个目的,他需要了解所有开发队伍的情况,但得到状态的真相是很困难的。 + + 一线经理的利益和老板的利益是内在冲突的。一线经理担心如果汇报了问题,老板会 + +采取行动,这些行动会取代经理的作用,降低自己的威信,搞乱了其他计划。所以,只要项 + + - 87 - + +----------------------- Page 100----------------------- + +目经理认为自己可以独立解决问题,他就不会告诉老板。 + + 有两种掀开毯子把污垢展现在老板面前的方法,它们必须都被采用。一种是减少角色 + +冲突和鼓励状态共享,另一种是猛地拉开地毯。 + + 减少角色的冲突。首先老板必须区别行动信息和状态信息。他必须规范自己,不对项 + +目经理可以解决的问题做出反应,并且决不在检查状态报告的时候做安排。我曾经认识一个 + +老板,他总是在状态报告的第一个段落结束之前,拿起电话发号施令。这样的反应肯定压制 + +信息的完全公开。 + + 不过,当项目经理了解到老板收到项目报告之后不会惊慌,或者不会越俎代庖时,他 + +就逐渐会提交真实的评估结果。 + + 如果老板把会见、评审、会议明显标记为状态检查(status-meeting)和问题-行动 + + (problem-action)会议,并且相应控制自己的行为,这对整个过程会很有帮助。当然,事 + +态发展到无法控制时,状态检查会议会演变成问题-行动会议。不过,至少每个人知道“当 + +时游戏的分数是多少”,老板在接过“皮球”之前也会三思。 + + 猛地拉开地毯。不论协作与否,拥有能了解状态真相的评审机制是必要的。PERT 图以 + +及频繁的里程碑是这种评审的基础。大型项目中,可能需要每周对某些部分进行评审,大约 + +一个月左右进行整体评审。 + + 有报告显示关键的文档是里程碑和实际的完成情况。图14.1是上述报告中的一段摘录。 + +它显示了一些问题:手册(SLR)的批准时间有所冲突,其中一个的时间比独立产品测试 + + (Alpha)的开始时间还要迟。这样一份报告将作为2 月1号会议的议程,使得每个人都知 + +道问题的所在,而产品构件经理应准备解释延迟的原因,什么时候结束,采取的步骤和需要 + +的任何帮助——老板提供的,或者是其他小组间接提供的。 + + - 88 - + +----------------------- Page 101----------------------- + +注: + + SYSTEM/360 SUMMARY STATUS REPORT -SYSTEM/360 总结状态报告 + + - 89 - + +----------------------- Page 102----------------------- + + OS/360 LANGUAGE PROCESSORS + SERVICE PROGAMS-OS/360 语言处理器 + 服务程序 + + AS OF FEBRAURAY 01.1965-1965 年2 月1 号 + + APPOVEL-批准 + + COMPLETED-完成 + + PROJECT-项目 + + LOCATION-地点 + + COMMITMNT ANNOUNCE RELEASE-计划发布 + + OBJECTIVE AVAILABLE APPROVED-目标制订批准 + + SPECS AVAILABLE APPROVED-规格说明提交批准 + + SRL AVAILABLE APPROVED-SRL 提交批准 + + ALPHA TEST ENTRY EXIT -ALPHA 测试进入 退出 + + COMP TEST START COMPLETE-单元测试开始 结束 + + SYS TEST START COMPLETE-系统测试开始 结束 + + BULLETIN AVAILABLE APPROVED-公告发布批准 + + BETA TEST ENTRY EXIT -BETA 测试进入 退出 + + 图14.1 + + Bell 实验室的V. Vyssotsky 添加了以下的观察意见: + + 我发现在里程碑报告中很容易记录“计划”和“估计”的日期。计划日期是项目经理 + +的工作产物,代表了经协调后的项目整体工作计划,它是合理计划之前的判断。估计日期是 + +最基层经理的工作产物,基层经理对所讨论的工作有着深刻的了解,估计日期代表了在现有 + +资源和已得到了作为先决条件的必要输入(或得到了相应的承诺)的情况下,基层经理对实 + +际实现日期的最佳判断。项目经理必须停止对这些日期的怀疑,而将重点放在使其更加精确 + +上、以便得到没有偏见的估计,而不是那些合乎心意的乐观估计或者自我保护的保守估计。 + +一旦它们在每个人的脑海中形成了清晰的印象,项目经理就可以预见到将来哪些地方如果他 + + 4 +不采取任何措施,就会出现问题 。 + + PERT 图的准备工作是老板和要向他进行汇报的经理们的职责。需要一个小组(一至三 + +个人)来关注它的更新、修订和报告,这个小组可以看作是老板的延伸。对大型项目,这种 + +计划和控制(Plan and Control)小组的价值是非常可贵的。小组的职权仅限于向产品线经 + +理询问他们什么时候设定或更改里程碑,以及里程碑是否被达到。计划和控制小组处理所有 + +的文字工作,因此产品线经理的负担将会减到最少——仅仅需要作出决策。 + + 我们拥有一个富有热情的、有经验的、熟练的计划和控制小组。这个小组由A. M. + +Pietrasanta 负责,他投入了大量创造天分来设计有效的、谦逊的控制方法。结果,我发现 + +他的小组被广为尊重,而不仅仅是被容忍。对于这样一个本来就十分敏感的角色而言,这的 + + - 90 - + +----------------------- Page 103----------------------- + +确是一个成功。 + + 对计划和控制职能进行适度的技术人力投资是非常值得赞赏的。它对项目的贡献方式 + +和直接开发软件产品有很大的不同。计划和控制小组作为监督人员,明白地指出了不易察觉 + +的延迟,并强调关键的因素。他们是早期预警系统,防止项目以一次一天的方式落后一年。 + + - 91 - + +----------------------- Page 104----------------------- + + 另外一面(The other face) + +不了解,就无法真正拥有。 + +- 歌德 + +- 克雷布 + +What we do not understand we do not possess. + +- GOETHE + +O give me commentators plain, Who with no deep researches vex the brain[jypan1] + +- CRABBE + + 计算机程序是从人传递到机器的一些信息。为了将人的意图清晰地传达给不会说话的 + +机器,程序采用了严格的语法和严谨的定义。 + + 但是书面的计算机程序还有其他的呈现面貌:向用户诉说自己的“故事”。即使是完全 + +开发给自己使用的程序,这种沟通仍然是必要的。因为记忆衰退的规律会使用户-作者失去 + +对程序的了解,于是他不得不重拾自己劳动的各个细节。 + + 公共应用程序的用户在时间和空间上都远离它们的作者,因此对这类程序,文档的重 + +要性更是不言而喻!对软件编程产品来说,程序向用户所呈现的面貌和提供给机器识别的内 + +容同样重要。 + + 面对那些文档“简约”的程序,我们中的大多数人都不免曾经暗骂那些远在他方的匿 + +名作者。因此,一些人试图向新人慢慢地灌输文档的重要性:旨在延长软件的生命期、克服 + +惰性和进度的压力。但是,很多次尝试都失败了,我想很可能是由于我们使用了错误的方法。 + + Thomas J. Watson 讲述了他年轻时在纽约北部,刚开始做收银机推销员的经历。他带 + + - 92 - + +----------------------- Page 105----------------------- + +着一马车的收银机,满怀热情地动身了。他工作得非常勤奋,但是连一台收银机也没有卖出 + +去。他很沮丧地向经理汇报了情况,销售经理听了一会儿,说道:“帮我抬一些机器到马车 + +上,收紧缰绳,出发!”他们成功了。在接下来的客户拜访过程中,经理身体力行地演示了 + +如何出售收银机。事实证明,这个方法是可行的。 + + 我曾经非常勤奋地给我的软件工程师们举办了多年关于文档必要性以及优秀文档所应 + +具备特点方面的讲座,向他们讲述——甚至是热诚地向他们劝诫以上的观点。不过,这些都 + +行不通。我想他们知道如何正确地编写文档,却缺乏工作的热情。后来,我尝试了向马车上 + +搬一些收银机,以此演示如何完成这项工作。结果显示,这种方法的效果要好得多。所以, + +文章剩余部分将对那些说教之辞一笔带过,而把重点放在“如何做(才能产生一篇优秀的文 + +档)上。 + +需要什么样的文档 + + 不同用户需要不同级别的文档。某些用户仅仅偶尔使用程序,有些用户必须依赖程序, + +还有一些用户必须根据环境和目的的变动对程序进行修改。 + + 使用程序。每个用户都需要一段对程序进行描述的文字。可是大多数文档只提供了很 + +少的总结性内容,无法达到用户要求,就像是描绘了树木,形容了树叶,但却没有一副森林 + +的图案。为了得到一份有用的文字描述,就必须放慢脚步,稳妥地进行。 + + 1. 目的。主要的功能是什么?开发程序的原因是什么? + + 2. 环境。程序运行在什么样的机器、硬件配置和操作系统上? + + 3. 范围。输入的有效范围是什么?允许显示的合法范围是什么? + + 4. 实现功能和使用的算法。精确地阐述它做了什么。 + + 5. 输入-输出格式。必须是确切和完整的。 + + 6. 操作指令。包括控制台及输出内容中正常和异常结束的行为。 + + 7. 选项。用户的功能选项有哪些?如何在选项之间进行挑选? + + 8. 运行时间。在指定的配置下,解决特定规模问题所需要的时间? + + - 93 - + +----------------------- Page 106----------------------- + + 9. 精度和校验。期望结果的精确程度?如何进行精度的检测? + + 一般来说,三、四页纸常常就可以容纳以上所有的信息。不过往往需要特别注意的是 + +表达的简洁和精确。由于它包含了和软件相关的基本决策,所以这份文档的绝大部分需要在 + +程序编制之前书写。 + + 验证程序。除了程序的使用方法,还必须附带一些程序正确运行的证明,即测试用例。 + + 每一份发布的程序拷贝应该包括一些可以例行运行的小测试用例,为用户提供信心— + +—他拥有了一份可信赖的拷贝,并且正确地安装到了机器上。 + + 然后,需要得到更加全面的测试用例,在程序修改之后,进行常规运行。这些用例可 + +以根据输入数据的范围划分成三个部分。 + + 1. 针对遇到的大多数常规数据和程序主要功能进行测试的用例。它们是测试用例的主 + +要组成部分。 + + 2. 数量相对较少的合法数据测试用例,对输入数据范围边界进行检查,确保最大可能 + +值、最小可能值和其他有效特殊数据可以正常工作。 + + 3. 数量相对较少的非法数据测试用例,在边界外检查数据范围边界,确保无效的输入 + +能有正确的数据诊断提示。 + + 修改程序。调整程序或者修复程序需要更多的信息。显然,这要求了解全部的细节, + +并且这些细节已经记录在注释良好的列表中。和一般用户一样,修改者迫切需要一份清晰明 + +了的概述,不过这一次是关于系统的内部结构。那么这份概述的组成部分是什么呢? + + 1. 流程图或子系统的结构图,对此以下有更详细的论述。 + + 2. 对所用算法的完整描述,或者是对文档中类似描述的引用。 + + 3. 对所有文件规划的解释。 + + 4. 数据流的概要描述——从磁盘或者磁带中,获取数据或程序处理的序列——以及在 + +每个处理过程完成的操作。 + + 5. 初始设计中,对已预见修改的讨论;特性、功能回调的位置以及出口;原作者对可 + +能会扩充的地方以及可能处理方案的一些意见。另外,对隐藏缺陷的观察也同样很有价值。 + + - 94 - + +----------------------- Page 107----------------------- + +流程图 + + 流程图是被吹捧得最过分的一种程序文档。事实上,很多程序甚至不需要流程图,很 + +少有程序需要一页纸以上的流程图。 + + 流程图显示了程序的流程判断结构,它仅仅是程序结构的一个方面。当流程图绘制在 + +一张图上时,它能非常优雅地显示程序的判断流向,但当它被分成几张时,也就是说需要采 + +用经过编号的出口和连接符来进行拼装时,整体结构的概观就严重地被破坏了。 + + 因此,一页纸的流程图,成为表达程序结构、阶段或步骤的一种非常基本的图示。同 + +样,它也非常容易绘制。图15.1展示了一个子程序流程图的图样。 + + 图15.1:程序结构图(Courtesy of W. V. Wright) + + 当然,上述图纸既没有,也不需要遵循精心制订的ANSI 流程图标准。所有图形元素如 + +方框、连线、编号等,只需要能使这张详细的流程图可以理解就行了。 + + 因此,逐一记录的详细流程图过时而且令人生厌,它只适合启蒙初学者的算法思维。 + + - 95 - + +----------------------- Page 108----------------------- + + 1 +当Goldstine 和Neumann 引入这种方法时,框图和框图中的内容作为一种高级别语言,将 + +难以理解的机器语言组合成一连串可理解的步骤。如同早期Iverson 所认识到的2,在系统 + +化的高级语言中,分组已经完成,每一个方框相应地包含了一条语句(图15.2)。从而,方 + +框本身变成了一件单调乏味的重复练习,可以去掉它们。这时,剩下的只有箭头。而连接相 + +邻后续语句的箭头也是冗余的,可以擦掉它们。现在,留下的只有GOTO 跳转。如果大家遵 + +守良好的规则,使用块结构来消除GO TO 语句,那么所有的箭头都消失了,尽管这些箭头能 + +在很大程度上帮助理解。大家完全可以丢掉流程图,使用文字列表来表达这些内容。 + + 现实中,流程图被鼓吹的程度远大于它们的实际作用。我从来没有看到过一个有经验 + +的编程人员,在开始编写程序之前,会例行公事地绘制详尽的流程图。在一些要求流程图的 + +组织中,流程图总是事后才补上。一些公司则很自豪地使用工具软件,从代码中生成这个“不 + +可缺少的设计工具”。我认为这种普遍经验并不是令人尴尬和惋惜的对良好实践的偏离(似 + +乎大家只能对它露出窘迫的微笑),相反,它是对技术的良好评判,向我们传授了一些流程 + +图用途方面的知识。 + + 耶稣门徒彼得谈到新的异教皈依者和犹太戒律时说道,“为什么让他们背负我们的祖先 + +和我们自己都不能承担的重负呢?”(《使徒行传》 15:10 现代英文版本)。对于新的编程人 + +员和陈旧的流程图方法,我持有相同的观点。 + + 自文档化(self-documenting)的程序 + + 数据处理的基本原理告诉我们,试图把信息放在不同的文件中,并努力维持它们之间 + +的同步,是一种非常费力不讨好的事情。更合理的方法是:每个数据项包含两个文件都需要 + +的所有信息,采用指定的键值来区别,并把它们组合到一个文件中。 + + 不过,我们在程序文档编制的实践中却违反了我们自己的原则。典型的,我们试图维 + +护一份机器可读的程序,以及一系列包含记叙性文字和流程图的文档。 + + 结果和我们自己的认识相吻合。不同文件的数据保存带来了不良的后果。程序文档质 + +量声名狼藉,文档的维护更是低劣:程序变动总是不能及时精确地反映在文档中。 + + 我认为相应的解决方案是“合并文件”,即把文档整合到源代码。这对正确维护是直接 + +有力的推动,保证编程用户能方便、即时地得到文档资料。这种程序被称为自文档化 + + - 96 - + +----------------------- Page 109----------------------- + + (self-documenting)。 + +图15.2:流程图和对应程序的对比[节选自Thomas J.Cashman 和Willian J. Keys (Harper + +& Row,1971)所著的“Data Processing and Computer Programming: A Modular Approach” + +中的图15-41、15-44] + + 现在看来,在程序中包括流程图显然是一种笨拙(但不是不可以)的做法。考虑到流 + +程图方法的落后和高级语言的使用占统治地位,把程序和文档放在一起显然是很合理的。 + + 把源程序作为文档介质强制推行了一些约束。另一方面,对于文档读者而言,一行一 + + - 97 - + +----------------------- Page 110----------------------- + +行的源程序本身就可以再次利用,使新技术的使用成为可能。现在,已经到了为程序文档设 + +计一套彻底的新方法的时候了。 + + 文档是我们以及前人都不曾成功背负的重担。作为基本目标,我们必须试图把它的负 + +担降到最小。 + + 方法。第一个想法是借助那些出于语言的要求而必须存在的语句,来附加尽可能多的 + + “文档”信息。因此,标签、声明语句、符号名称均可以作为工具,用来向读者表达尽可能 + +多的意思。 + + 第二个方法是尽可能地使用空格和一致的格式提高程序的可读性,表现从属和嵌套关 + +系。 + + 第三,以段落注释的形式,向程序中插入必要的记叙性文字。大多数文档一般都包括 + +足够多的逐行注释,特别是那些满足公司呆板的“良好文档”规范的程序,通常就包含了很 + +多注释。即使是这些程序,在段落注释方面也常常是不够的,而段落注释能提供总体把握和 + +真正加深读者对整件事情的理解。 + + 因为文档是通过程序结构、命名和格式来实现的,所有这些必须在书写代码时完成。 + +不过,这也只是应该完成的时间。另外,由于自文档化的方法减少了很多附加工作,使这件 + +工作遇到的障碍会更少。 + + 一些技巧。图15.3 是一段自文档化的PL/I 程序3。圆圈中的数字不是程序的组成部分, + +而是用来帮助我们进行讨论。 + + - 98 - + +----------------------- Page 111----------------------- + + 图15.3:一段子文档化程序 + +1. 为每次运算使用单独的任务名称。维护一份日志,记录程序运行的目的、时间和结 + + - 99 - + +----------------------- Page 112----------------------- + +果。如果名称由一个助记符(这里是QLT)和数字后缀 (4)组成,那么后缀可以作为运算 + +编号,把列表和日志联系在一起。这种技术要求为每次运算准备新的任务卡,不过这项工作 + +可以采用“重复进行公共信息的批处理”来完成。 + + 2. 使用包含版本号和能帮助记忆的程序名称。即,假设程序将会有很多版本。例子中 + +使用的是1967年的最低一位数字。 + + 3. 在过程(PROCEDURE)的注释中,包含记叙性的描述文字。 + + 4. 尽可能为基本算法提供参考引用,通常它会指向更完备的处理方法。这样,既节省 + +了空间,同时还允许那些有经验的读者能非常自信地略过这一段内容。 + + 5. 显示和算法书籍中的传统算法的关系。 + + a) 更改 b) 定制细化 c) 重新表达 + + 6. 声明所有的变量。采用助记符,并使用注释把DECLARE 转化成完整的说明。注意, + +声明已经包含了名称和结构性描述,需要增加的仅仅是对目的的解释。通过这种方式,可以 + +避免在不同的处理中重复名称和结构性的描述。 + + 7. 用标签标记出初始化的位置。 + + 8. 对程序语句进行分组和标记,以显示与设计文档中语句单元的一致性。 + + 9. 利用缩进表现结构和分组。 + + 10. 在程序列表中,手工添加逻辑箭头。它们对调试和变更非常有帮助。它们还可以补 + +充在页面右边的空白处(注释区域),成为机器可读文字的一部分。 + + 11. 使用行注释来解释任何不很清楚的事情。如果采用了上述技术,那么注释的长度和 + +数量都将小于传统惯例。 + + 12. 把多条语句放置在一行,或者把一条语句拆放在若干行,以吻合逻辑思维,表示和 + +其他算法描述一致。 + + 为什么不?这种方法的缺点在什么地方?很多曾经遇到的困难,已经随着技术的进步 + +逐渐解决了。 + + 最强烈的反对来自必须存储的源代码规模的增加。随着编程技术越来越向在线源代码 + + - 100 - + +----------------------- Page 113----------------------- + +存储的方向发展,这成为了一个主要的考虑因素。我发现自己编写的APL 程序注释比PL/I + +程序要少,这是因为APL 程序保存在磁盘上,而PL/I 则以卡片的形式存储。 + + 然而,与此同时文本编辑的访问和修改,也在朝在线存储的方向前进。就像前面讨论 + +过的,程序和文字的混合使用减少了需要存储的字符总数。 + + 对于文档化程序需要更多输入击键的争论,也有类似的答案。采用打字方式,每份草 + +稿、每个字符需要至少一次击键。而自文档化程序的字符总数更少,每个字符需要的击键次 + +数也更少,并且电子草稿不需要重复打印。 + + 那么流程图和结构图的情况又如何呢?如果仅仅使用最高级别的结构图,那么另外使 + +用一份文档的方法可能更安全一些,因为结构通常不会频繁变化。它理所当然也可以作为注 + +释合并到文档中。这显然是一种聪明的作法。 + + 以上讨论的用于文档和软件汇编的方法到底有多大的应用范围呢?我认为“自文档化” + +方法的基本思想可以得到大规模的应用。““自文档化”方法”对空间和格式要求更为严格, + +这一点的应用可能会受限;而命名和结构化声明显然可以利用起来,在这方面,宏可以起到 + +很大的帮助;另外,段落注释的广泛使用在任何语言中都是一个很棒的实践。 + + 自文档化方法激发了高级语言的使用,特别是用于在线系统的高级语言——无论是对 + +批处理还是交互式,它都表现出最强的功效和应用的理由。如同我曾经提到的,上述语言和 + +系统强有力地帮助了编程人员。因为是机器为人服务,而不是人为机器服务。因此从各个方 + +面而言,无论是从经济上还是从以人为本的角度来说,它们的应用都是非常合情合理的。 + + - 101 - + +----------------------- Page 114----------------------- + + 没有银弹-软件工程中的根本和次要问题 + + (No Silver Bullet – Essence and Accident in + + Software Engineering) + +没有任何技术或管理上的进展,能够独立地许诺十年内使生产率、可靠性或简洁性获得数量 + +级上的进步。 + +There is no single development, in either technology or management technique, which by itself + +promises even one order-of-magnitude improvement within a decade in productivity, in reliability, + +in simplicity. + +摘要1 + + 所有软件活动包括根本任务——打造由抽象软件实体构成的复杂概念结构,次要任务 + +——使用编程语言表达这些抽象实体,在空间和时间限制内将它们映射成机器语言。软件生 + +产率在近年内取得的巨大进步来自对后天障碍的突破,例如硬件的限制、笨拙的编程语言、 + +机器时间的缺乏等等。这些障碍使次要任务实施起来异常艰难,相对必要任务而言,软件工 + +程师在次要任务上花费了多少时间和精力?除非它占了所有工作的 9/10,否则即使全部次 + +要任务的时间缩减到零,也不会给生产率带来数量级上的提高。 + + 因此,现在是关注软件任务中的必要活动的时候了,也就是那些和构造异常复杂的抽 + +象概念结构有关的部分。我建议: + + 仔细地进行市场调研,避免开发已上市的产品。 + + 在获取和制订软件需求时,将快速原型开发作为迭代计划的一部分。 + + 有机地更新软件,随着系统的运行、使用和测试,逐渐添加越来越多的功能。 + + 不断挑选和培养杰出的概念设计人员。 + + - 102 - + +----------------------- Page 115----------------------- + +介绍 + + 在所有恐怖民间传说的妖怪中,最可怕的是人狼,因为它们可以完全出乎意料地从熟 + +悉的面孔变成可怕的怪物。为了对付人狼,我们在寻找可以消灭它们的银弹。 + + 大家熟悉的软件项目具有一些人狼的特性(至少在非技术经理看来),常常看似简单明 + +了的东西,却有可能变成一个落后进度、超出预算、存在大量缺陷的怪物。因此,我们听到 + +了近乎绝望的寻求银弹的呼唤,寻求一种可以使软件成本像计算机硬件成本一样降低的尚方 + +宝剑。 + + 但是,我们看看近十年来的情况,没有银弹的踪迹。没有任何技术或管理上的进展, + +能够独立地许诺在生产率、可靠性或简洁性上取得数量级的提高。本章中,我们试图通过分 + +析软件问题的本质和很多候选银弹的特征,来探索其原因。 + + 不过,怀疑论者并不是悲观主义者。尽管我们没有看见令人惊异的突破,并认为这种 + +银弹实际上是与软件的内在特性相悖,不过还是出现了一些令人振奋的革新。这些方法的规 + +范化、持续地开拓、发展和传播确实是可以在将来使生产率产生数量级上的提高。虽然没有 + +通天大道,但是路就在脚下。 + + 解决管理灾难的第一步是将大块的“巨无霸理论”替换成“微生物理论”,它的每一步 + +——希望的诞生,本身就是对一蹴而就型解决方案的冲击。它告诉工作者进步是逐步取得的, + +伴随着辛勤的劳动,对规范化过程应进行持续不懈的努力。由此,诞生了现在的软件工程。 + +是否一定那么困难呢?——根本困难 + + 不仅仅是在目力所及的范围内,没有发现银弹,而且软件的特性本身也导致了不大可 + +能有任何的发明创新——能够像计算机硬件工业中的微电子器件、晶体管、大规模集成一样 + +——提高软件的生产率、可靠性和简洁程度。我们甚至不能期望每两年有一倍的增长。 + + 首先,我们必须看到这样的畸形并不是由于软件发展得太慢,而是因为计算机硬件发 + +展得太快。从人类文明开始,没有任何其他产业技术的性价比,能在30 年之内取得6 个数 + +量级的提高,也没有任何一个产业可以在性能提高或者降低成本方面取得如此的进步。这些 + + - 103 - + +----------------------- Page 116----------------------- + +进步来自计算机制造产业的转变,从装配工业转变成流水线工业。 + + 其次,让我们通过观察预期的软件技术产业发展速度,来了解中间的困难。效仿亚里 + +士多德,我将它们分成根本的——软件特性中固有的困难,次要的——出现在目前生产上的, + +但并非那些与生俱来的困难。 + + 我们在下一章中讨论次要问题。首先,来关注内在、必要的问题。 + + 一个相互牵制关联的概念结构,是软件实体必不可少的部分,它包括:数据集合、数 + +据条目之间的关系、算法、功能调用等等。这些要素本身是抽象的,体现在相同的概念构架 + +中,可以存在不同的表现形式。尽管如此,它仍然是内容丰富和高度精确的。 + + 我认为软件开发中困难的部分是规格化、设计和测试这些概念上的结构,而不是对概 + +念进行表达和对实现逼真程度进行验证。当然,我们还是会犯一些语法错误,但是和绝大多 + +数系统中的概念错误相比,它们是微不足道的。 + + 如果这是事实,那么软件开发总是非常困难的。天生就没有银弹。 + + 让我们来考虑现代软件系统中这些无法规避的内在特性:复杂度、一致性、可变性和 + +不可见性。 + + 复杂度。规模上,软件实体可能比任何由人类创造的其他实体要复杂,因为没有任何 + +两个软件部分是相同的(至少是在语句的级别)。如果有相同的情况,我们会把它们合并成 + +供调用的子函数。在这个方面,软件系统与计算机、建筑或者汽车大不相同,后者往往存在 + +着大量重复的部分。 + + 数字计算机本身就比人类建造的大多数东西复杂。计算机拥有大量的状态,这使得构 + +思、描述和测试都非常困难。软件系统的状态又比计算机系统状态多若干个数量级。 + + 同样,软件实体的扩展也不仅仅是相同元素重复添加,而必须是不同元素实体的添加。 + +大多数情况下,这些元素以非线性递增的方式交互,因此整个软件的复杂度以更大的非线性 + +级数增长。 + + 软件的复杂度是必要属性,不是次要因素。因此,抽掉复杂度的软件实体描述常常也 + +去掉了一些本质属性。数学和物理学在过去三个世纪取得了巨大的进步,数学家和物理学家 + +们建立模型以简化复杂的现象,从模型中抽取出各种特性,并通过试验来验证这些特性。这 + + - 104 - + +----------------------- Page 117----------------------- + +些方法之所以可行——是因为模型中忽略的复杂度不是被研究现象的必要属性。当复杂度是 + +本质特性时,这些方法就行不通了。 + + 上述软件特有的复杂度问题造成了很多经典的软件产品开发问题。由于复杂度,团队 + +成员之间的沟通非常困难,导致了产品瑕疵、成本超支和进度延迟;由于复杂度,列举和理 + +解所有可能的状态十分困难,影响了产品的可靠性;由于函数的复杂度,函数调用变得困难, + +导致程序难以使用;由于结构性复杂度,程序难以在不产生副作用的情况下用新函数扩充; + +由于结构性复杂度,造成很多安全机制状态上的不可见性。 + + 复杂度不仅仅导致技术上的困难,还引发了很多管理上的问题。它使全面理解问题变 + +得困难,从而妨碍了概念上的完整性;它使所有离散出口难以寻找和控制;它引起了大量学 + +习和理解上的负担,使开发慢慢演变成了一场灾难。 + + 一致性。并不是只有软件工程师才面对复杂问题。物理学家甚至在非常“基础”的级 + +别上,面对异常复杂的事物。不过,物理学家坚信必定存在着某种通用原理,或者在夸克中, + +或者在统一场论中。爱因斯坦曾不断地重申自然界一定存在着简化的解释,因为上帝不是专 + +横武断或反复无常的。 + + 软件工程师却无法从类似的信念中获得安慰,他必须控制的很多复杂度是随心所欲、 + +毫无规则可言的,来自若干必须遵循的人为惯例和系统。它们随接口的不同而改变,随时间 + +的推移而变化,而且,这些变化不是必需的,仅仅由于它们是不同的人——而非上帝——设 + +计的结果。 + + 某些情况下,因为是开发最新的软件,所以它必须遵循各种接口。另一些情况下,软 + +件的开发目标就是兼容性。在上述的所有情况中,很多复杂性来自保持与其他接口的一致, + +对软件的任何再设计,都无法简化这些复杂特性。 + + 可变性。软件实体经常会遭受到持续的变更压力。当然,建筑、汽车、计算机也是如 + +此。不过,工业制造的产品在出厂之后不会经常地发生修改,它们会被后续模型所取代,或 + +者必要更改会被整合到具有相同基本设计的后续产品系列。汽车的更改十分罕见,计算机的 + +现场调整时有发生。然而,它们和软件的现场修改比起来,都要少很多。 + + 其中部分的原因是因为系统中的软件包含了很多功能,而功能是最容易感受变更压力 + +的部分。另外的原因是因为软件可以很容易地进行修改——它是纯粹思维活动的产物,可以 + + - 105 - + +----------------------- Page 118----------------------- + +无限扩展。日常生活中,建筑有可能发生变化,但众所周知,建筑修改的成本很高,从而打 + +消了那些想提出修改的人的念头。 + + 所有成功的软件都会发生变更。现实工作中,经常发生两种情况。当人们发现软件很 + +有用时,会在原有应用范围的边界,或者在超越边界的情况下使用软件。功能扩展的压力主 + +要来自那些喜欢基本功能,又对软件提出了很多新用法的用户们。 + + 其次,软件一定是在某种计算机硬件平台上开发,成功软件的生命期通常比当初的计 + +算机硬件平台要长。即使不是更换计算机,则有可能是换新型号的磁盘、显示器或者打印机。 + +软件必须与各种新生事物保持一致。 + + 简言之,软件产品扎根于文化的母体中,如各种应用、用户、自然及社会规律、计算 + +机硬件等等。后者持续不断地变化着,这些变化无情地强迫着软件随之变化。 + + 不可见性。软件是不可见的和无法可视化的。例如,几何抽象是强大的工具。建筑平 + +面图能帮助建筑师和客户一起评估空间布局、进出的运输流量和各个角度的视觉效果。这样, + +矛盾变得突出,忽略的地方变得明显。同样,机械制图、化学分子模型尽管是抽象模型,但 + +都起了相同的作用。总之,都可以通过几何抽象来捕获物理存在的几何特性。 + + 软件的客观存在不具有空间的形体特征。因此,没有已有的表达方式,就像陆地海洋 + +有地图、硅片有膜片图、计算机有电路图一样。当我们试图用图形来描述软件结构时,我们 + +发现它不仅仅包含一个,而是很多相互关联、重叠在一起的图形。这些图形可能描绘控制流 + +程、数据流、依赖关系、时间序列、名字空间的相互关系等等。它们通常不是有较少层次的 + +扁平结构。实际上,在上述结构上建立概念控制的一种方法是强制将关联分割,直到可以层 + + 2 +次化一个或多个图形 。 + + 除去软件结构上的限制和简化方面的进展,软件仍然保持着无法可视化的固有特性, + +从而剥夺了一些具有强大功能的概念工具的构造思路。这种缺憾不仅限制了个人的设计过 + +程,也严重地阻碍了相互之间的交流。 + +以往解决次要困难的一些突破 + + 如果回顾一下软件领域中取得的最富有成效的三次进步,我们会发现每一次都是解决 + +了软件构建上的巨大困难,但是这些困难不是本质属性,也不是主要困难。同样,我们可以 + + - 106 - + +----------------------- Page 119----------------------- + +对每一次进步进行外推,来了解它们的固有限制。 + + 高级语言。勿庸置疑,软件生产率、可靠性和简洁性上最有力的突破是使用高级语言 + +编程。大多数观察者相信开发生产率至少提高了五倍,同时可靠性、简洁性和理解程度也大 + +为提高。 + + 那么,高级语言取得了哪些进展呢?首先,它减轻了一些次要的软件复杂度。抽象程 + +序包含了很多概念上的要素:操作、数据类型、流程和相互通讯,而具体的机器语言程序则 + +关心位、寄存器、条件、分支、通道、磁盘等等。高级语言所达到的抽象程度包含了(抽象) + +程序所需要的要素,避免了更低级的元素,它消除了并不是程序所固有的整个级别的复杂度。 + + 高级语言最可能实现的是提供所有编程人员在抽象程序中能想到的要素。可以肯定的 + +是,我们思考数据结构、数据类型和操作的速度稳固提高,不过是以非常缓慢的速度。另外, + +程序开发方法越来越接近用户的复杂度。 + + 然而,对于较少使用那些复杂深奥语言要素的用户,高级语言在某种程度上增加而不 + +是减少了脑力劳动上的负担。 + + 分时。大多数观察者相信分时提高了程序员的生产率和产品的质量,尽管它带来的进 + +步不如高级语言。 + + 分时解决了完全不同的困难。分时保证了及时性,从而使我们能维持对复杂程度的一 + +个总体把握。批处理编程的较长周转时间意味着不可避免会遗忘一些细枝末节,如果我们停 + +下编程,调用编译程序或者执行程序,思维上的中断使我们不得不重新进行思考,它在时间 + +上的代价非常高昂。最严重的结果可能是失去对复杂系统的掌握。 + + 较长的周转时间和机器语言的复杂度一样,是软件开发过程的次要困难,而不是本质 + +困难。分时所起作用也非常有限。主要效果是缩短了系统的响应时间。随着它接近于零,到 + +达人类可以辨识的基本能力——大概100毫秒时,所获得的好处就接近于无了。 + + 统一编程环境。第一个集成开发环境——Unix和Interlisp 现在已经得到了广泛应用, + +并且使生产率提高了5倍。为什么? + + 它们主要通过提供集成库、统一文件格式、管道和过滤器,解决了共同使用程序的次 + +要困难。这样,概念性结构理论上的相互调用、提供输入和互相使用,在现实中可以非常容 + +易地实现。 + + - 107 - + +----------------------- Page 120----------------------- + + 因为每个新工具可以通过标准格式在任何一个程序中应用,这种突破接着又激发整个 + +工具库的开发。 + + 由于这些成功,环境开发是当今软件工程研究的主要题目。我们将在下章中讨论期望 + +达到的目标和限制。 + +银弹的希望 + + 现在,让我们来讨论一下当今可能作为潜在银弹的最先进的技术进步。它们各自针对 + +什么样的问题?它们是属于必要问题,或者依然是解决我们剩下的次要困难?它们是提供了 + +创新,还是仅仅是增量改进? + + Ada 和其他高级编程语言。近来,最被吹捧的开发进展之一是编程语言Ada,一种80 + +年代的高级语言。Ada 实际上不仅仅反映了语言概念上的突破性进展,而且蕴涵了鼓励现代 + +设计和模块化概念运用的重要特性。由于Ada采用的是抽象数据类型、层次结构的模块化理 + +念,所有Ada 理念可能比语言本身更加先进。Ada使用设计来承载需求,作为这一过程的自 + +然产物,它可能过于丰富了。不过,这并不是致命的,因为它的词汇子集可以解决学习问题, + +硬件的进展能提供更高的MIPS (每秒百万指令集),减少编译的成本。软件系统结构化的先 + +进理念实际上非常好地利用了MIPS上的进展。60 年代,曾在内存和速度成本上广受谴责的 + +操作系统,如今已被证明是一种能使用某些MIPS 和廉价内存的非常优秀的系统。 + + 然而,Ada 仍然不是消灭软件生产率怪兽的银弹。毕竟,它只是另一种高级语言,这类 + +语言出现最大的回报来自出现时的冲击,它通过使用更加抽象的语句来开发,降低了机器的 + +次要复杂度。一旦这些难题被解决,就只剩下非常少的问题,解决剩余部分的获益必然也要 + +少一些。 + + 我预言在以后的十年中,当Ada 的效率被大家评估认可时,它会带来相当大的变化, + +这并不是因为任何特别的语言特性,不是由于这些语言特性被合并在一起,也不是因为Ada + +开发环境会不断发展进步。Ada 的最大贡献在于编程人员培训方式的转变,即对开发人员需 + +要进行现代软件设计技术培训。 + + 面向对象编程。软件专业的一些学生坚持面向对象编程是当今若干新潮技术中最富有 + +希望的3。我也是其中之一。达特茅斯的Mark Sherman 提出,必须仔细地区别两个不同的概 + + - 108 - + +----------------------- Page 121----------------------- + +念:抽象数据类型和层次化类型,后者也被称为类(class)。抽象数据类型的概念是指对象 + +类型应该通过一个名称、一系列合适的值和操作来定义,而不是理应被隐藏的存储结构。抽 + +象数据类型的例子是Ada 包(以及私有类型)和Modula 的模块。 + + 层次化类型,如Simula-67 的类,是允许定义可以被后续子类型精化的通用接口。这 + +两个概念是互不相干的——可以只有层次化,没有数据隐藏;也可能是只有数据隐藏,而没 + +有层次化。两种概念都体现了软件开发领域的进步。 + + 它们的出现都消除了开发过程中的非本质困难,允许设计人员表达自己设计的内在特 + +性,而不需要表达大量句法上的内容,这些内容并没有添加什么新的信息。对于抽象数据类 + +型和层次化类型,它们都是解决了高级别的次要困难和允许采用较高层次的表现形式来表达 + +设计。 + + 不过,这些提高仅仅能消除所有设计表达上的次要困难。软件的内在问题是设计的复 + +杂度,上述方法并没有对它有任何的促进。除非我们现在的编程语言中,不必要的低层次类 + +型说明占据了软件产品设计 90%,面向对象编程才能带来数量级上的提高。对面向对象编 + +程这颗“银弹”,我深表怀疑。 + + 人工智能。很多人期望人工智能上的进展可以给软件生产率和质量带来数量级上的增 + +长4,但我不这样认为。追究其原因,我们必须剖析“人工智能”意味着什么,以及它如何 + +应用。 + + Parnas 澄清了术语上的混乱: + + 现在有两种差异非常大的AI 定义被广泛使用。AI-1:使用计算机来解决以前只能通过 + +人类智慧解决的问题。AI-2:使用启发式和基于规则的特定编程技术。在这种方法中,对人 + +类专家进行研究,判断他们解决方法的启发性思维或者经验法则……。程序被设计成以人类 + +解决问题的方式来运作。 + + 第一种定义的意义容易发生变化……今天可能适合AI-1定义的程序,一旦我们了解了 + +它的运行方式,理解了问题,就不再认为它是人工智能……不幸的是,我无法识别这个领域 + +的特定知识体系……绝大多数工作是针对问题域的,我们需要一些抽象或者创造性来解决上 + + 5 +述问题 。 + + 我完全同意这种批评意见。语音识别技术与图象识别技术的共同点非常少,它们与专 + + - 109 - + +----------------------- Page 122----------------------- + +家系统中应用的技术不同。例如,我觉得很难去发现图象识别技术能给编程开发实践带来什 + +么样的差异。同样,语音识别也差不多——软件开发上的困难是决定说什么,而不是如何说。 + +表达的简化仅仅能提供少量的促进作用。 + + 至于AI-2 专家系统技术,应该用专门的章节来讨论。 + + 专家系统。人工智能领域最先进的、被最大范围使用的部分,是开发专家系统的技术。 + +很多软件科学家正非常努力地工作着,想把这种技术应用在软件的开发环境中5。那么它的 + +概念是什么,前景如何? + + 专家系统是包含归纳推论引擎和规则基础的程序,它接收输入数据和假设条件,通过 + +从基础规则推导逻辑结果,提出结论和建议,向用户展示前因后果,并解释最终的结果。推 + +论引擎除了处理推理逻辑以外,通常还包括复杂逻辑或者概率数据和规则。 + + 对于解决相同的问题,这种系统明显比传统的程序算法要先进很多。 + + 推导引擎技术的开发独立于应用程序,因此可以用于多个用户。在该引擎上花费较 + +大的工作是很合理的。实际上,这种引擎技术非常先进。 + + 基于应用的、可变更的部分,在基础规则中以一种统一的风格编码,并且为规则基 + +础的开发、更改、测试和文档化提供了若干工具。这实际上对一些应用程序本身的复杂度进 + +行了系统化。 + + EdwardFeigenbaum 指出这种系统的能力不是来自某种前所未有的推导机制,而是来自 + +非常丰富的知识积累基础,所以更加精确地反映了现实世界。我认为这种技术提供的最重要 + +进步是具体应用的复杂性与程序本身相分离。 + + 如何把它应用在软件开发工作中?可以通过很多途径:建议接口规则、制订测试策略、 + +记录各种bug 产生的频率、提供优化建议等等。 + + 例如,考虑一个虚构的测试顾问系统。在最根本的级别,诊断专家系统和飞行员的检 + +查列表很相似,对可能难以寻找的原因提供基本的建议。建立基础规则时,可以依据更多的 + +复杂问题征兆报告,从而使这些建议更加精确。可以想象,该调试辅助程序起初提供的是一 + +般化建议,随着基础规则包括越来越多的系统结构信息时,它产生的推测和推荐的测试也越 + +来越准确。该类型的专家系统可能与传统系统彻底分离,系统中的规则基础可能与相应的软 + +件产品具有相同的层次模块化结构,因此当产品模块化修改时,诊断规则也能相应地进行模 + + - 110 - + +----------------------- Page 123----------------------- + +块化修改。 + + 产生诊断规则也是在为模块和系统编制测试用例集时必须完成的任务。如果它以一种 + +适当通用的方式来完成,对规则采用一致的结构,拥有一个良好可用的推测引擎,那么事实 + +上它就可以减少测试用例设计的总体工作量,以及帮助整个软件生命周期的维护、修改和测 + +试。同样,我们可以推测其他的顾问专家系统——可能是它们中的某一些,或者是较简单的 + +系统——能够用在软件开发的其他部分。 + + 在较早实现的用于软件开发的专家顾问系统中,存在着很多困难。在我们假设的例子 + +中,一个关键的问题是寻找一种方法,能从软件结构的技术说明中,自动或者半自动地产生 + +诊断规则。另外,更加重要也是更加困难的任务是:寻觅能够清晰表达、深刻理解为什么的 + +分析专家;开发有效的技术——抽取专家们所了解的知识,把它们精炼成基础规则。这项工 + +作的工作量是知识获取工作量的两倍。构建专家系统的必要前提条件是拥有专家。 + + 专家系统最强有力的贡献是给缺乏经验的开发人员提供服务,用最优秀开发者的经验 + +和知识积累为他们提供了指导。这是非常大的贡献。最优秀和一般的软件工程实践之间的差 + +距是非常大的,可能比其他工程领域中的差距都要大,一种传播优秀实践的工具特别重要。 + + “自动”编程。近四十年中,人们一直在预言和编写有关“自动编程”的文字,从问 + +题的一段陈述说明自动产生解决问题的程序。现在,仍有一些人期望这样的技术能够成为下 + + 7 +一个突破点 。 + + Parnas 暗示这是一个用于魔咒的术语,声称它本身是语义不完整的。 + + 8 + 一句话,自动编程总是成为一种热情,使用现在并不可用的更高级语言编程的热情 。 + + 他指出,大多数情况下所给出的技术说明本质上是问题的解决方法,而不是问题自身。 + + 可以找到一些例外情况。例如,数据发生器的开发技术就非常实用,并经常地用于排 + +序程序中。系统评估若干参数,从问题解决方案库中进行选择,生成合适的程序。 + + 这样的应用具有非常良好的特性: + + 问题通过相对较少的参数迅速地描述出特征。 + + 存在很多已知的解决方案,提供了可供选择的库。 + + 在给定问题参数的前提下,大量广泛的分析为选择具体的解决技术提供了清晰的规 + + - 111 - + +----------------------- Page 124----------------------- + +则。 + + 具有上述简洁属性的系统是一个例外,很难看到该方法能普及到更广泛的寻常软件系 + +统,甚至难以想象这种突破如何能够进行推广。 + + 图形化编程。在软件工程的博士论文中,一个很受欢迎的主题是图形化和可视化编程, + +计算机图形在软件设计上的应用9。这种方法的推测部分来自VLSI 芯片设计的类比,计算机 + +图形化在设计中扮演了高生产力的角色。部分源于——人们将流程图作为一种理想的设计介 + +质,并为绘制它们提供了很多功能强大的实用程序——这证实了图形化的可行性。 + + 不过,上述方法中至今还没有出现任何令人信服和激动的进步。我确信将来也不会出 + +现。 + + 首先,如同我先前所提出的,流程图是一种非常差劲软件结构表达方法10。实际上,它 + +最好被视为是冯.诺依曼、戈尔德斯廷和勃克斯试图为他们所设计的计算机提供的一种当时 + +迫切需要的高级控制语言。如今的流程图已经变得复杂,一张图有若干页,有很多连接结点。 + +这种表现形式实在令人同情。流程图已经成为完全不必要的设计工具——程序员在开发之 + +后,而不是之前绘制描述程序的流程图。 + + 其次,现在的屏幕非常小,像素级别,无法同时表现软件图形的所有正式、详细的范 + +围和细节。现在所谓 “类似桌面”的工作站实际上像是“飞机坐舱座椅”。飞机上,任何坐 + +在两个肥胖乘客之间,反复挪动一大兜文件的人会意识到这中间的差别——每次只能看到很 + +少的内容。真正的桌面提供了很多文件的总览,让大家可以随意地使用它们。此外,当人们 + +的创造力一阵阵地涌现时,开发人员大多数都会舍弃工作台,使用空间更为广阔的地板。要 + +使我们面对的工作空间满足软件开发工作的需要,硬件技术必须进一步发展。 + + 更加基本的是,如同我们上面所争论的,软件非常难以可视化。即使用图形表达出了 + +流程图、变量范围嵌套情况、变量交叉引用、数据流、层次化数据结构等等,也只是表达了 + +某个方面,就像盲人摸象一样。如果我们把很多相关的视图叠加在所产生的图形上,那么很 + +难再抽取出全局的总体视图。对VLSI 芯片设计方法的类推是一种误导——芯片设计是对两 + +维对象的层次设计,它的几何特性反映了它的本质特性,而软件系统不是这样。 + + 程序验证。现代编程的许多工作是测试和修复bug。是否有可能出现银弹,能够在系统 + +设计级别、源代码级别消除bug 呢?是否可以在大量工作被投入到实现和测试之前,通过采 + + - 112 - + +----------------------- Page 125----------------------- + +用证实设计正确性的“深奥”策略,彻底提高软件的生产率和产品的可靠性? + + 我并不认为在这里能找到魔法。程序验证的确是很先进的概念,它对安全操作系统内 + +核等这类应用是非常重要的。不过,这项技术并不能保证节约劳动力。验证要求如此多的工 + +作量,以致于只有少量的程序能够得到验证。 + + 程序验证不意味着零缺陷的程序。这里并没有什么魔术,数学验证仍然可能是有错误 + +的。因此,尽管验证可能减少程序测试的工作量,但却不能省略程序测试。 + + 更严肃地说,完美的程序验证只能建立满足技术说明的程序。这时,软件工作中最困 + +难的部分已经接近完成,形成了完整和一致的说明。开发程序的一些必要工作实际上已经变 + +成对技术规格说明进行测试。 + + 环境和工具。向更好的编程开发环境开发中投入,我们可以期待得到多少回报呢?人 + +们的本能反应是首先着手解决高回报的问题:层次化文件系统,统一文件格式以获得一致的 + +编程接口和通用工具等。特定语言的智能化编辑器在现实中还没有得到广泛应用,不过它们 + +最有希望实现的是消除语法错误和简单的语义错误。 + + 开发环境上,现在已经实现的最大成果可能是集成数据库的使用,用来跟踪大量的开 + +发细节,供每个程序员精确地查阅信息,以及在整个团队协作开发中保持最新的状态。 + + 显然,这样的工作是非常有价值的,它能带来软件生产率和可靠性上的一些提高。但 + +是,由于它自身的特性,目前它的回报很有限。 + + 工作站。随着工作站的处理能力和内存容量的稳固和快速提高,我们能期望在软件领 + +域取得多大的收获呢?现在的运算速度已经可以完全满足程序编制和文档书写的需要。编译 + +还需要一些提高,不过一旦机器运算速度提高十倍,那么程序开发人员的思考活动将成为日 + +常工作的主要活动。实际上,这已经是现在的情况。 + + 我们当然欢迎更加强大的工作站,但是不能期望有魔术般的提高。 + +针对概念上根本问题的颇具前途的方法 + + 虽然现在软件上没有技术上的突破能够预示我们可以取得像在硬件领域上一样的进 + +展,但在现实的软件领域中,既有大量优秀的工作,也有不引人注意的平稳进步。 + + - 113 - + +----------------------- Page 126----------------------- + + 所有针对软件开发过程中次要困难的技术工作基本上能表达成以下的生产率公式: + + 任务时间 = ∑(频率)×(时间) + i i + + 如果和我所认为的一样,工作的创造性部分占据了大部分时间,那么那些仅仅是表达 + +概念的活动并不能在很大程度上影响生产率。 + + 因此,我们必须考虑那些解决软件上必要困难的活动——即,准确地表达复杂概念结 + +构。幸运的是,其中的一些非常有希望。 + + 购买和自行开发。构建软件最可能的彻底解决方案是不开发任何软件。 + + 情况每一天都有些好转,越来越多的软件提供商,为各种眼花缭乱的应用程序提供了 + +质量更好、数量更多的软件产品。当我们的软件工程师正忙于生产方法学时,个人计算机的 + +惊天动地的变化为软件创造了广阔的市场。每个报摊上都有大量的月刊,根据机器的类型, + +刊登着从几美元到几百美元的各种产品的广告和评论。更多专业厂商为工作站和UNIX 市场 + +提供了很多非常有竞争力的产品,甚至很多工具软件和开发环境软件都可以随时购买使用。 + +对于独立的软件模块市场,我已在其他的地方提出一些建议。 + + 以上提到的任何软件,购买都要比重新开发要低廉一些。即使支付100,000 美元,购 + +买的软件也仅仅是一个人年的成本。而且软件是立即可用的!至少对于现有的产品、对于那 + +些专注于该领域开发者的成果而言,它们是可以立刻投入使用的。并且,它们往往配备了书 + +写良好的文档,在某种程度上比自行开发的软件维护得更加完备。 + + 我相信,这个大众市场将是软件工程领域意义最深远的开发方向。软件成本一直是开 + +发的成本,而不是复制的成本。所以,即使只在少数使用者之间实现共享,也能在很大程度 + +上减少成本。另一种看法是使用软件系统的n 个拷贝,将会使开发人员的生产率有效地提高 + +n 倍。这是一个领域和行业范围的提高。 + + 当然,关键的问题还是可用性。是否可以在自己的开发工作中使用商用的软件包?这 + +里,有一个令人吃惊的问题。在1950~1960 年期间,一个接一个的研究显示,用户不会在 + +工资系统、物流控制、帐务处理等系统中使用商用软件包。需求往往过于专业,不同情况之 + +间的差别太大。在80 年代,我们发现这些软件包的需求大为增加,并得到了大规模的使用。 + +什么导致了这样的变化? + + 并不是软件包发生了变化。它们可能比以前更加通用和更加客户化一些,但并不太多。 + + - 114 - + +----------------------- Page 127----------------------- + +同样,也不是应用发生了变化。即使有,今天的商业和学术上的需要也比20 年以前更加不 + +同和复杂。 + + 重大的变化在于计算机硬件/软件成本比率。在1960 年,2 百万美元机器的购买者觉得 + +他可以为定制的薪资系统支付250,000 美元。现在,对50,000 美元的办公室机器购买者而 + +言,很难想象能为定制薪资系统再支付费用。因此,他们把上述系统的模块进行调整,添加 + +到可用的软件包中。计算机现在如此的普遍,上述的改编和调整是发展的必然结果。 + + 我的上述观点也存在一些戏剧性的例外——软件包的通用化方面并没有发生什么变 + +化,除了电子表格和简单的数据库系统。这些强大的工具,出现得如此之晚和如此醒目,导 + +致无数应用中的一些并不十分规范。大量的文章、甚至书籍讲述了如何使用电子表格应付很 + +多意想不到的问题。原先作为客户程序,使用Cobol或者报表生成程序编写的大量应用,如 + +今已经被这些工具所取代。 + + 现在很多用户天天操作计算机,使用着各种各样的应用程序,但并不编写代码。事实 + +上,他们中间很多人无法为自己的计算机编写任何程序,不过他们非常熟练地使用计算机来 + +解决新问题。 + + 我认为,对于现在的很多组织机构来说,最有效的软件生产率策略是在生产一线配备 + +很多个人计算机,安装好通用的书写、作图、文件管理和电子表格程序,以及配备能熟练使 + +用它们的人员,并且把这些人员散布到各个岗位。类似的策略——通用的数学和统计软件包, + +以及一些简单的编程能力,同样地适用于很多实验室的科学工作者。 + + 需求精炼和快速原型。开发软件系统的过程中,最困难的部分是确切地决定搭建什么 + +样的系统。概念性工作中,没有其他任何一个部分比确定详细的技术需求更加困难,详细的 + +需求包括了所有的人机界面、与机器和其他软件系统的接口。需求工作对系统的影响比其他 + +任何一个部分的失误都大,当然纠正需求的困难也比其他任何一个部分要大。 + + 因此,软件开发人员为客户所承担的最重要的职能是不断重复地抽取和细化产品的需 + +求。事实上,客户不知道他们自己需要什么。他们通常不知道哪些问题是必须回答的。并且, + +连必须确定的问题细节常常根本不予考虑,甚至只是简单地回答——“开发一个类似于我们 + +已有的手工处理过程的新软件系统”——实际上都过于简单。客户决不会仅仅要求这些。复 + +杂的软件系统往往是活动的、变化的系统。活动的动态部分是很难想象的。所以,在计划任 + +何软件活动时,要让客户和设计人员之间进行多次广泛的交流沟通,并将其作为系统定义的 + + - 115 - + +----------------------- Page 128----------------------- + +一部分。这是非常必要的。 + + 这里,我将向前多走一步,下一个定论。在尝试和开发一些客户定制的系统之前,即 + +使他们和软件工程师一起工作,想要完整、精确、正确地抽取现代软件产品的需求——这, + +实际上也是不可能的。 + + 因此,现在的技术中最有希望的,并且解决了软件的根本而非次要问题的技术,是开 + +发作为迭代需求过程的一部分——快速原型化系统的方法和工具。 + + 软件系统的快速原型对重要的系统界面进行模拟,并演示待开发系统的主要功能。原 + +型不必受到相同硬件速度、规模或者成本约束的限制。原型通常展示了应用程序的功能主线, + +但不处理任何如无效输入、退出清除等异常情况。原型的目的是明确实际的概念结构,从而 + +客户可以测试一致性和可用性。 + + 现在的软件开发流程基于如下的假设——事先明确地阐述系统,为系统开发竞标,实 + +际进行开发,最后安装。我认为这种假设根本上就是不正确的,很多软件问题就来自这种谬 + +误。因此,如果不进行彻底地调整,就无法消除那些软件问题。其中,一种改进是对产品和 + +原型不断往复地开发和规格化。 + + 增量开发——增长,而非搭建系统。我现在还记得在1958年,当听到一个朋友提及搭 + +建(building),而不是编写(writing)系统时,我所感受到的震动。一瞬间,我的整个软 + +件开发流程的视野开阔了。这种暗喻是非常有力和精确的。现在,我们已经理解软件开发是 + +如何类似于其他的建造过程,并开始随意地使用其他的暗喻,如规格说明、构件装备、脚手 + +架(测试平台)(specifications, assembly of components, and scaffolding)。 + + 暗喻“搭建系统”的使用已经有些超出了它的有效期限,是重新换一种表达方式的时 + +候了。如果现在的开发情况和我考虑的一样,那些概念性的结构非常复杂,以致于难以事先 + +精确地说明和零缺陷地开发,那么我们必须采用彻底不同的方法。 + + 让我们转向自然界,研究一下生物的复杂性,而不是人们的僵硬工作。我们会发现它 + +们的复杂程度令我们敬畏。光是大脑本身,就比任何对它的描述都要复杂,比任何的模拟仿 + +真都要强大,它的多样性、自我保护和自我更新能力异常丰富和有力。其中的秘密就是逐步 + +发育成长,而不是一次性搭建。 + + 所以,我们的软件系统也必须如此。很多年前,HarlanMill建议所有软件系统都应该 + + - 116 - + +----------------------- Page 129----------------------- + + 11 +以增量的方式开发 。即,首先系统应该能够运行,即使未完成任何有用功能,只能正确调 + +用一系列伪子系统。接着,系统一点一点被充实,子系统轮流被开发,或者是在更低的层次 + +调用程序、模块、子系统的占位符(伪程序)等。 + + 从我在软件工程试验班上开始推动这种方法起,其效果不可思议。在过去几十年中, + +没有任何方法和技术能如此彻底地改变我自己的实践。这种方法迫切地要求自顶向下设计, + +因为它本身是一种自顶向下增长的软件。增量化开发使逆向跟踪很方便,并非常容易进行原 + +型开发。每一项新增功能,以及针对更加复杂数据或情况的新模块,从已经规划的系统中有 + +机地增长。 + + 这种开发模式对士气的推动是令人震惊的。当一个可运行系统——即使是非常简单的 + +系统出现时,开发人员的热情就迸发了出来。当一个新图形软件系统的第一副图案出现在屏 + +幕上时,即使是一个简单的长方形,工作的动力也会成倍地增长。在开发过程中的每个阶段, + +总有可运行的系统。我发现开发团队可以在四个月内,培育(grow)出比搭建(building) + +复杂得多的系统。 + + 大型项目同样可以得到与我所参与的小型项目相同的好处12。 + + 卓越的设计人员。关键的问题是如何提高软件行业的核心,一如既往的是——人员。 + + 我们可以通过遵循优秀而不是拙劣的实践,来得到良好的设计。优秀的设计是可以传 + +授的。程序员的周围往往是最出色的人员,因此他们可以学习到良好的实践。因此,美国的 + +重大策略是颁布各种优秀的现代实践。新课程、新文献。象软件工程研究所SEI等新机构的 + +出现都是为了把我们的实践从不足提升到更高的水平。其正确性是勿庸置疑的。 + + 不过,我不认为我们可以用相同的方式取得下一次进步。低劣设计和良好设计之间的 + +区别可能在于设计方法中的完善性,而良好设计和卓越设计之间的区别肯定不是如此。卓越 + +设计来自卓越的设计人员。软件开发是一个创造性的过程。完备的方法学可以培养和释放创 + +造性的思维,但它无法孕育或激发创造性的过程。 + + 其中的差异并不小——就象萨列里和莫扎特。一个接一个的研究显示,非常卓越的设 + +计者产生的成果更快、更小、更简单、更优雅,实现的代价更少。卓越和一般之间的差异接 + +近于一个数量级。 + + 简单地回顾一下,尽管很多杰出、实用的软件系统是由很多人共同设计开发,但是那 + + - 117 - + +----------------------- Page 130----------------------- + +些激动人心、拥有广大热情爱好者的产品往往是一个或者少数伟大设计师们的思想。考虑一 + +下Unix、APL、Pascal、Modula、Smalltalk 的界面、甚至Fortran;与之对应的产品是Cobol、 + +PL/I、Algol、MVS/370 和MS/DOS (图6.1)。 + + YES NO + Unix Cobol + APL PL/I + Pascal Algol + Modula MVS/370 + Smalltalk MS-DOS + Fortran + + 图16.1:激动人心的产品 + + 因此,尽管我强烈地支持现在的技术转移和开发技能的传授,但我认为我们可以着手 + +的最重要工作是寻求培养卓越设计人员的途径。 + + 没有任何软件机构可以忽视这项挑战。尽管公司可能缺少良好的管理人员,但决不会 + +比良好设计人员的需求更加迫切,而卓越的管理人员和设计人员都是非常缺乏的。大多数机 + +构花费了大量的时间和精力来寻找和培养管理人员,但据我所知,它们中间没有任何的一家 + +在寻求和培育杰出的设计人员上投入相同的资源,而产品的技术特色最终依赖于这些设计人 + +员。 + + 我的第一项建议是每个软件机构必须决定和表明,杰出的设计人员和卓越的管理人员 + +一样重要,他们应该得到相同的培养和回报。不仅仅是薪资,还包括各个方面的认可——办 + +公室规模、安排、个人的设备、差旅费用、人员支持等——必须完全一致。 + + 如何培养杰出的设计人员?限于篇幅,不允许进行较长的介绍,但有些步骤是显而易 + +见的。 + + 尽可能早地、有系统地识别顶级的设计人员。最好的通常不是那些最有经验的人员。 + + 为设计人员指派一位职业导师,负责他们技术方面的成长,仔细地为他们规划职业 + +生涯。 + + 为每个方面制订和维护一份职业计划,包括与设计大师的、经过仔细挑选的学习过 + +程、正式的高级教育和以及短期的课程——所有这些都穿插在设计和技术领导能力的培养安 + +排中。 + + - 118 - + +----------------------- Page 131----------------------- + + 为成长中的设计人员提供相互交流和学习的机会。 + + - 119 - + +----------------------- Page 132----------------------- + + 再论《没有银弹》 (“No Silver Bullet ” + + Refired) + +生死有命,富贵在天 + +- 威廉三世,奥伦治王子 + +那些想看到完美方案的人,其实在心底里就认为它们以前不存在,以后也不可能出现。 + +- 亚历山大·波普,批判散文 + +Every bullet has its billet. + +- WILLIAM III OF ENGLAND, PRINCE OF ORANGE + +Whoever thinks a faultless piece to see, thinks what ne’er was, nor e’er shall be. + +- ALEXANDER POPE, AN ESSAY ON CRITISIM + +人狼和其他恐怖传说 + + 《没有银弹-软件工程中的根本和次要问题》(第16章)最初是在IFIP’86 年都柏林 + +大会的约稿,接着在一系列的刊物上发表1。《计算机》杂志上翻印了该文章,封面是一副类 + + 2 + 伦敦人狼》影片的恐怖剧照。同时,还有一栏补充报道《杀死人狼》,描述了银弹将 +似于《 + +要完成的(现代)神话。在出版以前,我并未注意到补充报道和文字,也没有料到一篇严肃 + +的技术性文字会被这样润色。 + + Computer 杂志的编辑们是取得他们想要的效果的专家,不过,似乎有很多人阅读了那 + +篇文章。因此,我为那一章选择了另一幅人狼插图,一幅对这种近乎滑稽物种的古老素描。 + +我希望这副并不刺眼的图案有相同的正面效果。 + + - 120 - + +----------------------- Page 133----------------------- + +存在着银弹-就在这里! + + 《没有银弹》中声称和断定,在近十年内,没有任何单独的软件工程进展可以使软件 + +生产率有数量级的提高(引自1986年的版本)。现在已经是第九个年头,因此也该看看是否 + +这些预言得到了应验。 + + 《人月神话》一文被大量地引用,很少存在异议;相比之下,《没有银弹》却引发了众 + +多的辩论,编辑收到了很多文章和信件,至今还在延续3。他们中的大多数攻击其核心论点 + +和我的观点——没有神话般的解决方案,以及将来也不会有。他们大都同意《没有银弹》一 + +文中的多数观点,但接着断定实际存在着杀死软件怪兽的银弹——由他们所发明的银弹。今 + +天,当我重新阅读一些早期的反馈,我不禁发现在1986 年~1987 年期间,曾被强烈推崇的 + +秘方并没有出现所声称的戏剧性效果。 + + 在购买计算机软件和硬件时,我喜欢听取那些真正使用过产品并感到满意的用户的推 + +荐。类似的,我很乐意接受银弹已经出现的观点,例如,某个名副其实的中立客户走到面前, + +并声称,“我使用了这种方法、工具或者产品,它使我的软件生产率提高了十倍。” + + 很多书信作者进行了若干正确的修订和澄清,其中一些还提供了很有针对性的分析和 + +辩驳,对此我非常感激。本章中,我将同大家分享这些改进,以及对反面意见进行讨论。 + +含糊的表达将会导致误解 + + 某些作者指出我没有将一些观点表达清楚。 + + 次要(Accident)。在第 16 章的摘要中,我已经尽我所能地清晰表达了《没有银弹》 + +一文的主要观点。然而,仍有些观点由于术语“accident (偶然)”和“accidental (次要)” + + 4 +而被混淆,这些术语来自亚里斯多德的古老用法 。术语“accidental”,我不是指“偶然发 + +生”,也不是指“不幸的”,而是更接近于“附带的”或者“从属的”。 + + 我并不是贬低软件构建中的次要部分,相反,我认同英国剧作家、侦探小说作者和神 + +学家桃乐丝·赛尔丝看待创造性活动的观点,创造性活动包括(1)概念性结构的形式规格 + +化,(2)使用现实的介质来实现,(3)在实际的使用中,与用户交互5。在软件开发中,我 + +称为“必要 (essence)”的部分是构思这些概念上的结构;我称为“次要(accident)”的 + +部分指它的实现过程。 + + - 121 - + +----------------------- Page 134----------------------- + + 现实问题。对我而言(尽管不是所有人),关键论点的正确与否归结为一个现实问题: + +整个软件开发工作中的哪些部分与概念性结构的精确和有序表达相关,哪些部分是创造那些 + +结构的思维活动?根据缺陷是概念性的(例如未能识别某些异常),或者是表达上的问题(例 + +如指针错误或者内存分配错误)等,可以将这些缺陷的寻找和修复工作进行相应的划分。 + + 在我看来,开发的次要或者表达部分现在已经下降到整个工作的一半或一半以下。由 + +于这部分是现实的问题,所以原则上可以应用测量技术来研究6。这样,我的观点也可以通 + +过来更科学和更新的估计来纠正。值得注意的是,还没有人公开发表或者写信告诉我,次要 + +部分的任务占据了工作的9/10。 + + 《没有银弹》无可争辩地指出,如果开发的次要部分少于整个工作的9/10,那么即使 + +不占用任何时间(除非出现奇迹),也不会给生产率带来数量级的提高。因此,必须着手解 + +决开发的根本问题。 + + 由于《没有银弹》,Bruce Blum 把我的注意力引向Herzberg、Mausner 和Sayderman7 + +等人在1959 年的研究。他们发现动机因素可以提高生产率。另一方面,环境和次要因素, + +无论起到多么积极的作用,仍无法提高生产率。但是在产生负面影响时,它们会使生产率降 + +低。《没有银弹》认为很多软件开发过程已经消除了以下负面因素:十分笨拙的机器语言、 + +漫长的批处理周转时间以及无法忍受的内存限制。 + + 因为是根本困难所以没有希望?1990年BradCox 的一篇非常出色的论文《这就是银弹》 + + (There Is a Silver Bullet),有说服力地指出重用和交互的构件开发是解决软件根本困 + +难的一种方法8。我由衷地表示赞同。 + + 不过,Cox 在两点上误解了《没有银弹》。首先,他断定软件困难来自“编程人员缺乏 + +构建当今软件的技术”。而我认为根本困难是固有的概念复杂性,无论是任何时间,使用任 + +何方法设计和实现软件的功能,它都存在。其次,他(以及其他人)阅读《没有银弹》,并 + +认定文中的观点是没有任何处理软件开发中根本困难的希望——这不是我的本意。作为本质 + +上的困难,构思软件概念性的结构本身就有复杂性、一致性、可变性及不可见性的特点。不 + +过实际上,每一种困难产生的麻烦都是可以改善的。 + + 复杂性是层次化的。例如,复杂性是最严重的内在困难,并不是所有的复杂性都是不 + +可避免的。我们的很多软件,但不是全部,来自应用本身随意的复杂特性。来自一家国际管 + +理咨询公司,MYSIGMA Lars Sodahl 的Lars Sodahl 和合作伙伴曾写道: + + - 122 - + +----------------------- Page 135----------------------- + + 就我的经验而言,在系统工作中所遇到的大多数困难是组织结构上的一些失误征兆。 + +试图为这些现实建模,建立同等复杂的程序,实际上是隐藏,而不是解决这些杂乱无章的情 + +况。 + + Northrop 的Steve Lukasik 认为即使是组织机构上的复杂性也不是任意的,可能容易 + +受到策略调整的影响。 + + 我曾作为物理学家接受过培训,因此倾向于用更简单的概念来描述“复杂”事物。现 + +在你可能是正确的,我无法断定所有的复杂事物都容易用有序的规律表达……同样的道理, + +你不能断定它们不能。 + + ……昨天的复杂性是今天的规律。分子的无序性启迪了气体动力学理论和热力学的三 + +大定律。现在,软件没有揭示类似的规律性原理,但是解释为什么没有的重担在你的身上。 + +我不是迟钝和好辩的。我相信有一天软件的“复杂性”将以某种更高级的规律性概念来表达 + + (就像物理学家的不变式)。 + + 我并没有着手于Lukasik 提倡的更深层次的分析。作为一个学科,我们需要更广泛的 + +信息理论,它能够量化静态结构的信息内容,就像针对交互流的香农信息论一样。这已经超 + +越了我的能力。作为对Lukasik 的简单回应,我认为系统复杂性是无数细节的函数,这些细 + +节必须精确而且详细地说明——或者是借助某种通用规则,或者是逐一阐述,但决不仅仅是 + +统计说明。仅靠若干人不相干的工作,是不大可能产生足够的一致性,能用通用规律进行精 + +确描述。 + + 不过,很多复杂性并不完全是因为和外部世界保持一致,而是因为实现的本身,例如 + +数据结构、算法、互联性等。而在更高的级别开发(发展)软件,使用其他人的成果,或者 + +重用自己的程序——都能避免面对整个层次的复杂性。《没有银弹》提出了全力解决复杂性 + +问题的方法,这种方法可以在现实中取得十分乐观的进展。它倡导向软件系统增加必要的复 + +杂性: + + 层次化,通过分层的模块或者对象。 + + 增量化,从而系统可以持续地运行。 + + - 123 - + +----------------------- Page 136----------------------- + +Harel 的分析 + + David Harel,在1992 年的论文《批评银弹》(Biting the Silver Bullet)中,对已 + +出版的《没有银弹》进行了很多最仔细的分析。 + + 悲观主义 vs. 乐观主义 vs. 现实主义。Harel 同时阅读了《没有银弹》和 1984 年 + +Parnas 的文章《战略防卫系统的软件问题》(Software Aspects of Strategic Defense + +Systems10),认为它们“太过黯淡”。因此,他试图在论文《走向系统开发的光明未来》(Toward + +a Brighter Future for System Development)中展现其明亮的一面。Cox 同Halel一样认 + +为《没有银弹》一文过于悲观,从而他提出“但是,如果从一个新视点去观察相同的事情, + +你会得到一个更加乐观的结论”。他们的论调都有些问题。 + + 首先,我的妻子、同事和我的编辑发现我犯乐观主义错误的几率远远大于悲观主义。 + +毕竟,我的从业背景是程序员,乐观主义是这个行业的职业病。 + + 《没有银弹》一文明确地指出“我们看看近十年来的情况,没有银弹的踪迹……怀疑 + +论者并不是悲观主义者……虽然没有通天大道,但是路就在脚下。”它预言了如果1986 年的 + +很多创新能持续开拓和发展,那么实际上它们的共同作用能使生产率获得数量级的提高。随 + +着1986~1996 十年过去了,这个预言即使说明了什么,那也是过于乐观,而不是过于悲观。 + + 就算《没有银弹》总体看来有些悲观,那么到底存在什么问题?是否爱因斯坦关于任 + +何物体运动的速度无法超过光速的论断过于“黯淡”或者“令人沮丧”呢?那么哥德尔关于 + +某些事物无法计算的结论,又如何呢?《没有银弹》一文认为“软件的特性本身导致了不大 + +可能有任何的银弹”。Tuski 在IFIP大会上发表了一篇论文作为出色的回应,文中指出: + + 在所有被误导的科学探索中,最悲惨的莫过于对一种能够将一般金属变成金子的物质, + +即点金石的研究。这个由统治者不断地投入金钱,被一代代的研究者不懈追求的、炼金术中 + +至高无上的法宝,是一种从理想化想象和普遍假设中——以为事情会像我们所认为的那样— + +—提取出的精华。它是人类纯粹信仰的体现,人们花费了大量的时间和精力来认可和接受这 + +个无法解决的问题。即使被证明是不存在,那种寻找出路和希望能一劳永逸的愿望,依然十 + +分的强烈。而我们中的绝大多数总是很同情这些明知不可为而为之的人,因此它们总是得以 + +延续。所以,将圆形变方的论文被发表,恢复脱发的洗液被研制和出售,提高软件生产率的 + +方法被提出并成功地推销。 + + - 124 - + +----------------------- Page 137----------------------- + + 我们太过倾向于遵循我们自己的乐观主义(或者是发掘我们出资人的乐观主义)。我们 + + 11 +太喜欢忽视真理的声音,而去听从万灵药贩卖者的诱惑 。 + + 我和Turski 都坚持认为这个白日梦限制了向前的发展,浪费了精力。 + + “消极”主题。Harel 认识到《没有银弹》中的消极来自三个主题: + + 根本和次要问题的清晰划分 + + 独立地评价每个候选银弹 + + 仅仅预言了十年,而不是足够长的时间“出现任何重大的进步。” + + 第一个主题,它是整篇文章的主要观点。我仍然认为上述划分对于理解为什么软件难 + +以开发是绝对关键的。对于应该做出哪些方面的改进,它也是十分明确的指南。 + + 至于独立地考虑不同的候选银弹,《没有银弹》并非如此。各种各样的技术一个接一个 + +地被提出,每一种都过分宣扬自身的效果。因此,依次独立的评估它们是非常公平的。我持 + +反对态度的并不是这些技术,而是那种它们能起到魔术般作用的观点。Glass、Vessey 和 + + 12 +Conger 在他们1992年的论文中提供了充足的证据,指出对银弹的无谓研究仍未结束 。 + + 关于选择10 年还是40 年作为预言的期限,选择较短的时间是承认我们并没有足够强 + +的能力可以预见到十年以后的事情。我们中间有谁可以在1975 年预见到80 年代的微型计算 + +机革命吗? + + 对于十年的期限,还有其他的一些原因:各种银弹都宣称它们能够立刻取得效果。我 + +回顾了一下,发现没有任何一种银弹声称“向我的秘方投资,在十年后你将获得成功”。另 + +外,硬件的性能/价格比可能每十年就会有成百倍的增长,尽管这种比较不很合适,但是直 + +觉上的确如此。我们确信会在下一个40 年中取得稳步的发展。不过,以40 年代价取得数量 + +级的进展,很难被认为是不可思议的进步。 + + 想象的试验。Harel 建议了一种想象的试验,他假设《没有银弹》是发表在1952 年, + +而不是1986 年,不过表达的论断相同。他使用反证法来证明将根本和次要问题分开是不恰 + +当的。 + + 这种观点站不住脚。首先,《没有银弹》一开始就声称,50年代的程序开发中曾占支配 + +地位的次要困难,如今已经不存在了,并且消除这些困难已经产生了提高若干数量级的效果。 + + - 125 - + +----------------------- Page 138----------------------- + +将辩论推回到40 年前是不合理的,在1952 年,甚至很难想象开发的次要问题不会占据开发 + +工作的主要部分。 + + 其次,Harel 所设想50年代行业所处状态是不准确的: + + 当时已经不是构建大型复杂系统的时代,程序员的工作模式已经成为常规个人程序的 + +开发(在现代的编程语言中,大概是100~200行代码)。在已有技术和方法学的前提下,这 + +些任务是令人恐怖的,处处都是错误、故障和落后的完成期限。 + + 接着,他阐述了在传统的小型个人程序中,那些假设的错误、故障和落后的最终期限 + +如何在接下来的25年中,得到数量级的改进和提高。 + + 但是,50 年代该领域的实际情况并不是小型个人程序。在1952 年,Univac 还在使用 + +大约8 人开发的复杂程序处理1950年的人口普查13。其他机器则用于化学动力学、中子漫 + +射计算、导弹性能计算等等14。汇编语言、重定位的链接和装载程序、浮点解释系统等,还 + + 15 16 +经常被使用 。1955 年,人们开发50~100 人年的商用程序 。1956年,通用电气在路易斯 + +维尔的设备车间使用着超过80,000 指令的薪资系统。1957年,SAGEANFSQ/7 防空计算机系 + +统已经运转了两年,这个系统分布在30 个不同的地点,是基于通讯、自消除故障的热备实 + +时系统17。因此,几乎无法坚持说个人程序的技术革命,能够用来描述1952 年以来的软件 + +工程上的努力。 + + 银弹就在这里。Harel 接着提出了他自己的银弹,一种称为“香草(Vanilla)框架” + +的建模技术。文中并没有对方法提供足够评估的详细描述,不过给出了一些论文和参考资料 + +18。建模所针对的确实是软件开发的根本困难,即概念性要素的设计和调试,因此Vanilla + +框架有可能是革命性的。我也希望如此。Ken Brooks在报告中提到,在实际工作中应用时, + +它的确是一种颇有帮助的方法学。 + + 不可见性。Harel强烈地主张软件的概念性要素本质上是拓扑的,这些关系可以用空间 + +/图形方式来自然地表达: + + 适当使用可视化图形可以给工程师和程序员带来可观的成效。而且,这种效果并不仅 + +仅局限于次要问题,开发人员思考和探索的质量也得到了改进。未来的成功系统的开发将围 + +绕在可视化图形表达方式的周围。首先,我们会使用“合适的”实体和关系来形成概念,然 + +后表达成一系列逐步完善的模型,不断地系统化阐明和精化设计概念。模型用若干可视化语 + + - 126 - + +----------------------- Page 139----------------------- + +言的适当组合来描述,它必须是多种语言的组合,因为系统模型具有若干方面的内容,每方 + +面象变戏法般产生不同类型的思维图像。 + + ……就使自己成为良好可视化表达方式而言,建模过程的某些方面并不会立刻出现改 + +观。例如,变量和数据结构上的算法操作可能还是会采用文字性描述。 + + 我和Harel 颇为一致。我认为软件要素并不存在于三维空间中,因此并不存在概念性 + +设计到图形简单两维或三维上的映射。他承认,我也同意——这需要多种图形,每种图形覆 + +盖某个特定的方面,而且有些方面无法用图形来表达。 + + Harel 采用图形来辅助思考和设计的热情彻底地感染了我。我一直喜欢向准程序员提 + +问,“下个十一月在哪?”如果觉得问题过于模糊,接着我会问,“告诉我,你自己关于时间 + +历法的模型。”优秀程序员具有很强的空间想象能力,他们常常有时间的几何模型,而且无 + +需考虑,就能理解第一个问题。他们往往拥有高度个性化的模型。 + +Jone 的观点——质量带来生产率 + + Capers Jones最开始在一系列备忘录里,而后在一本书里,提出了颇有洞察力的观点。 + +很多和我有书信往来的人向我提到了他的观点,《没有银弹》如同当时的很多文章,关注于 + +生产率——单位输入对应的软件产出。Jone 提出,“不。关注质量,生产率自然会随着提高。 + +19”他认为,很多代价高昂的后续项目投入了大量的时间和精力来寻找和修复规格说明中、 + +设计和实现上的错误。他提供的数据显示了缺乏系统化质量控制和进度灾难之间的密切关 + +系。我认同这些数据。不过,Boehm指出,如果一味追求完美质量,生产率会像IBM 的航天 + +软件一样再次下降。 + + Coqui也提出相似的主张:系统化软件开发方法的发展是为了解决质量问题(特别是避 + +免大型的灾难),而不是出于生产率方面的考虑。 + + 但是注意:70 年代,在软件生产上应用工程原理的目标是提高软件产品的质量、可测 + +试性、稳定性以及可预见性——而不是软件产品的开发效率。 + + 在软件生产上应用工程原理的驱动力是担心拥有无法控制的“艺术家们”而可能导致 + +的巨大灾难,他们往往对异常复杂系统开发承担责任20。 + + - 127 - + +----------------------- Page 140----------------------- + +那么,生产率的情形如何? + + 生产率数据。生产率的数据非常难以定义、测量和寻找。Capers Jones 相信两个相隔 + +十年、完全等同的COBOL 程序,一个采用结构化方法开发,另一个不使用结构化方法,它们 + +之间的差距是3倍。 + + Ed Yourdon 说,“由于工作站和软件工具,我看到了人们的工作获得了5 倍的提高。” + +Tom DeMarco认为“你的期望——十年内,由于所有的技术而使生产率得到数量级的提高— + +—太乐观了。我没有看到任何机构取得数量级的进步。” + + 塑料薄膜包装的成品软件——购买,而非开发。我认为1986 年《没有银弹》中的一个 + +估计被证实是正确的:“我相信,这个大众市场是……软件工程领域意义最深远的开发方向。” + +从学科的角度说,不管和内部还是外部客户软件的开发相比,大众市场软件都几乎是一个崭 + +新的领域。当软件包的销量一旦达到百万或者即使只是几千,这时关键的支配性问题就变成 + +了质量、时机、产品性能和支撑成本,而不再是对于客户系统异常关键的开发成本。 + + 创造性活动的强大工具。提高信息管理系统(MIS)编程人员生产率最戏剧化的方法是 + +到一家计算机商店去,购买理应由他们开发的商业成品。这并不荒唐可笑。价格低廉、功能 + +强大的薄膜包装软件已经能满足要求,而以前这会要求进行定制软件包的开发。比起复杂的 + +大型产品工具,它们更加像电锯、电转和砂磨机。把它们组合成兼容互补的集合,像 + +Microsoft Works 和集成更好的Claris Works 一样,能够带来巨大的灵活性。另外,象供 + +人们使用的组合工具箱,其中的某些工具会经常被使用,以致于熟能生巧。这种工具必须注 + +重常人使用的方便,而不是专业。 + + Ivan Selin,美国管理系统公司主席,在1987年曾写信给我: + + 我有些怀疑你的关于软件包没有真正地改变很多……的观点。我觉得你太过轻易地抛 + +开了你的观察所蕴涵的事实;你观察到——[软件包]“可能比以前更加通用和更加容易定制 + +一些,但并不太多。”即使在表面上接受了这种论述,我相信用户察觉到软件包更加通用和 + +易于本地化,这种感觉使用户更容易接受软件包。在我公司发现的大多数情况中,是[最终 + +用户],而不是软件人员,不愿意使用软件包,因为他们认为会失去必要的特性或功能。因 + +此,对他们而言,易于定制是一个非常大的卖点。 + + 我认为Selin 是十分正确的——我低估了软件包客户化的程度和它的重要性。 + + - 128 - + +----------------------- Page 141----------------------- + +面向对象编程——这颗铜质子弹可以吗? + + 本章一开始的描述提醒我们,当很多零件需要装配,而且每个零件可能很复杂时,如 + +果它们的接口设计得很流畅,大量丰富的结构就能快速地组合在一起。 + + 使用更大的零件来构建。面向对象编程的第一个特征是,它强制的模块化和清晰的接 + +口。其次,它强调了封装,即外界无法看到组件的内部结构;它还强调了继承和层次化类结 + +构以及虚函数。面向对象还强调了强抽象数据类型化,它确保某种特定的数据类型只能由它 + +自身的相应函数来操作。 + + 现在,无需使用整个Smalltalk 或者C++的软件包,就可以获得这些特点中的任意一个 + +——其中一些甚至出现在面向对象技术之前。面向对象方法吸引人的地方类似于复合维他命 + +药丸:一次性(即编程人员的培训)得到所有的好处。面向对象是一种非常有前途的概念。 + + 面向对象技术为什么发展缓慢?《没有银弹》后的九年中,对面向对象技术的期望稳 + +步增长。为什么增长如此缓慢?理论过多。James Coggins,已经在The C++ Report做了四 + +年 “The best of ng.c++”专栏的作者,他提出了这样的解释: + + 问题是O-O 程序员经历了很多错综复杂混乱的应用,他们所关注的是低层次,而不是 + +高层次的抽象。例如,他们开发了很多象链表或集合这样的类,而不是用户接口、射线束模 + +型或者有限元素模型。不幸的是,C++中帮助程序员避免错误的强类型检查,使得从小型事 + + 21 +物中构建大型物体非常困难 。 + + 他回归到基本的软件问题,主张一种解决软件不能满足要求的方法,即通过客户的参 + +与和协作来提高脑力劳动的规模。他赞同自顶向下的设计: + + 如果我们设计大粒度的类,关注用户已经接触的概念,则在进行设计的时候,他们能 + +够理解设计并提出问题,并且可以帮助设计测试用例。我的眼科客户并不关心堆栈,他们关 + +心描述眼角膜形状的勒让德多项式。在这方面,小规模的封装带来的好处比较少。 + + David Parnas 的论文是面向对象概念的起源之一,他用不同的观点看这个问题。他写 + +信给我: + + 答案很简单。因为[O-O]和各种复杂语言的联系已经很紧密。人们并没有被告诉O-O是 + +一种设计的方法,并向他们讲授设计方法和原理,大家只是被告知O-O是一种特殊工具。而 + + - 129 - + +----------------------- Page 142----------------------- + +我们可以用任何工具写出优质或低劣的代码。除非我们给人们讲解如何设计,否则语言所起 + +的作用非常小。结果是人们使用这种语言做出不好的设计,没有从中获得什么价值。而一旦 + +获得的价值少,它就不会流行。 + + 资金的先行投入,收益的后期获得。面向对象技术包含了很多方法学上的进步。面向 + +对象技术的前期投入很多——主要是培训程序员用很新的方法思考,同时还要把函数打造成 + +通用的类。我认为它的好处是客观实在的,并非仅仅是推测。面向对象应用在整个开发周期 + +中,但是真正的获益只有在后续开发、扩展和维护活动中才能体现出来。Coggin 说:“面向 + +对象技术不会加快首次或第二次的开发,产品族中第五个项目的开发才会异乎寻常的迅速。 + +22” + + 为了预期中的,但是有些不确定的收益,冒着风险投入金钱是投资人每天在做的事情。 + +不过,在很多软件公司中,这需要真正的管理勇气,一种比技术竞争力或者优秀管理能力更 + +少有的精神。我认为极度的前期投入和收益的推后是使O-O 技术应用迟缓的最大原因。即使 + +如此,在很多机构中,C++仍毫无疑问地取代了C。 + +重用的情况怎样? + + 解决软件构建根本困难的最佳方法是不进行任何开发。软件包只是达到上述目标的方 + +法之一,另外的方法是程序重用。实际上,类的容易重用和通过继承方便地定制是面向对象 + +技术最吸引人的地方。 + + 事情常常就是这样。当某人在新的做事方法上取得了一些经验,新模式就不再象一开 + +始那么简单。 + + 当然,程序员经常重用他们自己的手头工作。Jone 提到: + + 大多数有丰富经验的程序员拥有自己的私人开发库,可以使他们使用大约30%的重用 + +代码来开发软件。公司级别的重用能提供 70%的重用代码量,它需要特殊的开发库和管理 + +支持。公司级别的重用代码也意味着需要对项目中的变更进行统计和度量,从而提高重用的 + + 23 +可信程度 。 + + W.Huang 建议用责任专家的矩阵管理来组织软件工厂,从而培养重用自身代码的日常工 + + 24 +作习惯 。 + + - 130 - + +----------------------- Page 143----------------------- + + JPL 的Van Snyder 向我指出,数学软件领域有着软件重用的长期传统: + + 我们推测重用的障碍不在生产者一边,而在消费者一边。如果一个软件工程师,潜在 + +的标准化软件构件消费者,觉得寻找能满足他需要的构件,进行验证,比自行编写的代价更 + +加昂贵时,重复的构件就会产生。注意我们上面提到的 “觉得”。它和重新开发的真正投入 + +无关。 + + 数学软件上重用成功的原因有两个:(1)它很晦涩难懂,每行代码需要大量高智商的 + +输入;(2)存在丰富的标准术语,也就是用数学来描述每个构件的功能。因此,重新开发数 + +学软件构件的成本很高,而查找现有构件功能的成本很低。数学软件界存在一些长期的传统 + +——例如,专业期刊和算法搜集,用适度成本提供算法,出于商业考虑开发的高质量算法(尽 + +管成本有些高,但依旧适度)等——使查找和发现满足某人需要的构件比其他很多领域要容 + +易。其他领域中,有时甚至不可能简洁地提出明确的要求。这些因素合在一起,使数学软件 + +的重用比重新开发更有吸引力。 + + 同样的原因,在很多其他领域中也可以发现相同的重用现象,如那些为核反应、天气 + +模型、海洋模型开发软件的代码编制工作。这些领域都是在相同的课本和标准概念下逐步地 + +发展起来的。 + + 现在公司级别的重用情况如何?存在着大量的研究。美国国内的实践相对较少,有报 + + 25 +道声称国外重用较多 。 + + Jones 报告,在他公司的客户中,所有拥有5000 名以上程序员的机构都进行正式的重 + +用研究,而500 名以下程序员的组织,只有不到10%着手重用研究26。报告指出,最具有重 + +用潜质的企业中,重用性研究(而非部署)“是活跃和积极的,即使没有完全成功。”Ed Yourdon + +报告,有一家马尼拉的软件公司,200 名程序员中有50 名从事供其他人使用的重用模块的 + +开发,“我所见到的个案非常少——是由于机构上因素而进行重用研究,而不是技术上的原 + +因”。 + + DeMarco 告诉我,大众市场软件包提供了数据库系统等通用功能,充分地减轻了压力, + +减少了处在重用模块边缘的开发。 “不管怎样,重用的模块一般是一些通用功能。” + + Parnas 写道: + + 重用是一件说起来容易,做起来难的事情。它同时需要良好的设计和文档。即使我们 + + - 131 - + +----------------------- Page 144----------------------- + +看到了并不十分常见的优秀设计,但如果没有好的文档,我们也不会看到能重用的构件。 + + Ken Brooks 关于预测产品通用化的一些困难的评论:“我不断地进行修改,即使在第五 + +次使用我自己的个人用户界面库的时候。” + + 真正的重用似乎才刚刚开始。Jones报告,在开放市场上仅有少量的重用代码模块,它 + +们的价格在常规开发成本的1%~20%27。DeMacro 说: + + 对整个重用现象,我变得有些气馁。对于重用,现有理论几乎是整体缺乏。时间证明 + +了使模块能够重用的成本非常高。 + + Yourdon 估计了这个高昂的费用:“一个良好的经验法则是可重用的构件的工作量是‘一 + +次性’构件的两倍。28”在第一章的讨论中,我观察到了真正产品化构件所需的成本。因此, + +我对工作量比率的估计是三倍。 + + 显然,我们正在看到很多重用的形式和变化,但离我们所期望的还远,还有很多需要 + +学习的地方。 + +学习大量的词汇——对软件重用的一个可预见,但还没有被 + +预言的问题 + + 思索的层次越高,所需要处理的基本思考要素也就越多。因此,编程语言比机器语言 + +更加复杂,而自然语言的复杂程度更高。高级语言有更广泛的词汇量、更复杂的语法以及更 + +加丰富的语义。 + + 作为一个科目,我们并没有就程序重用的实际情况,仔细考虑它蕴涵的意义。为了提 + +高质量和生产率,我们需要通过经过调试的大型要素来构建系统,在编程语言中,这些函数 + +的级别远远高于语句。所以,无论采用对象类库还是函数库的方式,我们必须面对我们编程 + +词汇规模彻底扩大的事实。对于重用,词汇学习并不是思维障碍中的一小部分。 + + 现在人们拥有成员超过3000个的类库。很多对象需要10到20个参数和可选变量的说 + +明。如果想获得所有潜在的重用,任何使用类库编程的人员必须学习其成员的语法(外部接 + +口)和语义(详细的功能行为)。 + + 这项工作并不是没有希望的。一般人日常使用的词汇超过10,000个,受过教育的人远 + + - 132 - + +----------------------- Page 145----------------------- + +多于这个数目。另外,我们在自然而然地学习着语法和非常微妙的语义。我们可以正确地区 + +分巨大、大、辽阔、大量和庞大。人们不会说:庞大的沙漠或者辽阔的大象。 + + 对软件重用问题,我们需要研究适当的学问,了解人们如何拥有语言。一些经验教训 + +是显而易见的: + + 人们在上下文中学习,所以我们需要出版一些复合产品的例子,而不仅仅是零部件 + +的库。 + + 人们只会记忆背诵单词。语法和语义是在上下文中,通过使用逐渐地学习。 + + 人们根据语义上的分类对词汇组合规则进行分组,而不是通过比较对象子集。 + +子弹的本质——形势没有发生改变 + + 现在,我们回到基本问题。复杂性是我们这个行业的属性,而且复杂性是我们主要的 + +限制。R.L.Glass 在1988年的文字精确地总结了我在1995年的看法: + + 又怎么样呢?Parnas和Brooks不是已经告诉我们了吗?软件开发是一件棘手的事情, + +前方并不会有魔术般的解决方案。现在是从业者研究和分析革命性进展的时刻,而不是等待 + +或希望它的出现。 + + 软件领域中的一些人发现这是一幅使人泄气的图画。他们是那些依然认为突破近在眼 + +前的人们。 + + 但是我们中的一些——那些非常固执,以致于可以认为是现实主义者的人——把它看 + +成是清新的空气。我们终于可以将焦点集中在更加可行的事情上,而不是空中的馅饼。现在, + + 29 +有可能,我们可以在软件生产率上取得逐步的进展,而不是等待不大可能到来的突破 。 + + - 133 - + +----------------------- Page 146----------------------- + + 《人月神话》的观点:是或非?(Propositions + + of the Mythical Man-Month: True or + + False ?) + +我们理解的也好,不理解的也好,描述都应该简短精练。 + +塞缪尔·巴特勒,讽刺诗 + +For brevity is very good, where we are, or are not understood. + +SAMUEL BUTLER Hudibras + + 现在我们对软件工程的了解比1975 年要多得多。那么在1975 年版本的人月神话中, + +哪些观点得到了数据和经验的支持?哪些观点被证明是不正确的?又有哪些观点随着世界 + +的变化,显得陈旧过时呢?为了帮助判断,我将1975年书籍中的论断毫无更改地抽取出来, + +以摘要的形式列举在下面——它们是当年我认为将会是正确的:客观事实和经验中推广的法 + +则。(你也许会问,“如果这些就是那本书讲的所有东西,为什么要花177页的篇幅来论述?”) + +方括号中的评论是新增内容。 + + 所有这些观点都是可操作验证的,我将它们表达成刻板的形式是希望能引起读者的思 + +考、判断和讨论。 + +第1 章焦油坑 + + 1.1 编程系统产品(Programming Systems Product)开发的工作量是供个人使用的、 + +独立开发的构件程序的九倍。我估计软件构件产品化引起了3倍工作量,将软件构件整合成 + +完整系统所需要的设计、集成和测试又强加了3倍的工作量,这些高成本的构件在根本上是 + +相互独立的。 + + 1.2 编程行业“满足我们内心深处的创造渴望和愉悦所有人的共有情感”,提供了五种 + + - 134 - + +----------------------- Page 147----------------------- + +乐趣: + + 创建事物的快乐 + + 开发对其他人有用的东西的乐趣 + + 将可以活动、相互啮合的零部件组装成类似迷宫的东西,这个过程所体现出令人 + +神魂颠倒的魅力 + + 面对不重复的任务,不间断学习的乐趣 + + 工作在如此易于驾驭的介质上的乐趣——纯粹的思维活动,其存在、移动和运转 + +方式完全不同于实际物体 + + 1.3 同样,这个行业具有一些内在固有的苦恼: + + 将做事方式调整到追求完美,是学习编程的最困难部分 + + 由其他人来设定目标,并且必须依靠自己无法控制的事物 (特别是程序);权威 + +不等同于责任 + + 实际情况看起来要比这一点好一些:真正的权威来自于每次任务的完成 + + 任何创造性活动都伴随着枯燥艰苦的劳动,编程也不例外 + + 人们通常期望项目在接近结束时,(bug、工作时间)能收敛得快一些,然而软件 + +项目的情况却是越接近完成,收敛得越慢 + + 产品在即将完成时总面临着陈旧过时的威胁 + +第2 章人月神话 + + 2.1 缺乏合理的时间进度是造成项目滞后的最主要原因,它比其他所有因素加起来影响 + +还大。 + + 2.2 良好的烹饪需要时间,某些任务无法在不损害结果的情况下加快速度。 + + 2.3 所有的编程人员都是乐观主义者:“一切都将运作良好”。 + + 2.4 由于编程人员通过纯粹的思维活动来开发,所以我们期待在实现过程中不会碰到困 + + - 135 - + +----------------------- Page 148----------------------- + +难。 + + 2.5 但是,我们的构思是有缺陷的,因此总会有bug。 + + 2.6 我们围绕成本核算的估计技术,混淆了工作量和项目进展。人月是危险和带有欺骗 + +性的神话,因为它暗示人员数量和时间是可以相互替换的。 + + 2.7 在若干人员中分解任务会引发额外的沟通工作量——培训和相互沟通。 + + 2.8 关于进度安排,我的经验是为1/3计划、1/6编码、1/4构件测试以及1/4 系统测 + +试。 + + 2.9 作为一个学科,我们缺乏数据估计。 + + 2.10 因为我们对自己的估计技术不确定,所以在管理和客户的压力下,我们常常缺 + +乏坚持的勇气。 + + 2.11 Brook 法则:向进度落后的项目中增加人手,只会使进度更加落后。 + + 2.12 向软件项目中增派人手从三个方面增加了项目必要的总体工作量:任务重新分 + +配本身和所造成的工作中断;培训新人员;额外的相互沟通。 + +第3 章外科手术队伍 + + 3.1 同样有两年经验而且在受到同样的培训的情况下,优秀的专业程序员的工作效率是 + +较差程序员的十倍。(Sackman、Erikson 和Grand) + + 3.2 Sackman、Erikson 和Grand 的数据显示经验和实际表现之间没有相互联系。我怀 + +疑这种现象是否普遍成立。 + + 3.3 小型、精干队伍是最好的——尽可能的少。 + + 3.4 两个人的团队,其中一个项目经理,常常是最佳的人员使用方法。[留意一下上帝 + +对婚姻的设计。] + + 3.5 对于真正意义上的大型系统,小型精干的队伍太慢了。 + + 3.6 实际上,绝大多数大型编程系统的经验显示出,一拥而上的开发方法是高成本、速 + +度缓慢、不充分的,开发出的产品无法进行概念上的集成。 + + - 136 - + +----------------------- Page 149----------------------- + + 3.7 一位首席程序员、类似于外科手术队伍的团队架构提供了一种方法——既能获得由 + +少数头脑产生的产品完整性,又能得到多位协助人员的总体生产率,还彻底地减少了沟通的 + +工作量。 + +第4 章贵族专制、民主政治和系统设计 + + 4.1 “概念完整性是系统设计中最重要的考虑因素”。 + + 4.2 “功能与理解上的复杂程度的比值才是系统设计的最终测试标准”,而不仅仅是丰 + +富的功能。[该比值是对易用性的一种测量,由简单和复杂应用共同验证。] + + 4.3 为了获得概念完整性,设计必须由一个人或者具有共识的小型团队来完成。 + + 4.4 “对于非常大型的项目,将设计方法、体系结构方面的工作与具体实现相分离是获 + +得概念完整性的强有力方法。”[同样适用于小型项目。] + + 4.5 “如果要得到系统概念上的完整性,那么必须控制这些概念。这实际上是一种无需 + +任何歉意的贵族专制统治。” + + 4.6 纪律、规则对行业是有益的。外部的体系结构规定实际上是增强,而不是限制实现 + +小组的创造性。 + + 4.7 概念上统一的系统能更快地开发和测试。 + + 4.8 体系结构(architecture)、设计实现(implementation)、物理实现(realization) + +的许多工作可以并发进行。[软件和硬件设计同样可以并行。] + +第5 章 画蛇添足 + + 5.1 尽早交流和持续沟通能使结构师有较好的成本意识,以及使开发人员获得对设计的 + +信心,并且不会混淆各自的责任分工。 + + 5.2 结构师如何成功地影响实现: + + 牢记是开发人员承担创造性的实现责任;结构师只能提出建议。 + + 时刻准备着为所指定的说明建议一种实现的方法,准备接受任何其他可行的方 + + - 137 - + +----------------------- Page 150----------------------- + +法。 + + 对上述的建议保持低调和平静。 + + 准备对所建议的改进放弃坚持。 + + 听取开发人员在体系结构上改进的建议。 + + 5.3 第二个系统是人们所设计的最危险的系统,通常的倾向是过分地进行设计。 + + 5.4 OS/360 是典型的画蛇添足(second-system effect)的例子。[Windows NT 似乎是 + +90 年代的例子。] + + 5.5 为功能分配一个字节和微秒的优先权值是一个很有价值的规范化方法。 + +第6 章贯彻执行 + + 6.1 即使是大型的设计团队,设计结果也必须由一个或两个人来完成,以确保这些决定 + +是一致的。 + + 6.2 必须明确定义体系结构中与先前定义不同的地方,重新定义的详细程度应该与原先 + +的说明一致。 + + 6.3 出于精确性的考虑,我们需要形式化的设计定义,同样,我们需要记叙性定义来加 + +深理解。 + + 6.4 必须采用形式化定义和记叙性定义中的一种作为标准,另一种作为辅助措施;它们 + +都可以作为表达的标准。 + + 6.5 设计实现,包括模拟仿真,可以充当一种形式化定义的方法;这种方法有一些严重 + +的缺点。 + + 6.6 直接整合是一种强制推行软件的结构性标准的方法。[硬件上也是如此——考虑内 + +建在ROM 中的Mac WIMP 接口。] + + 6.7 “如果起初至少有两种以上的实现,那么(体系结构)定义会更加整洁,会更加规 + +范。” + + 6.8 允许体系结构师对实现人员的询问做出电话应答解释是非常重要的,并且必须进行 + + - 138 - + +----------------------- Page 151----------------------- + +日志记录和整理发布。[电子邮件是一种可选的介质。] + + 6.9 “项目经理最好的朋友就是他每天要面对的敌人——独立的产品测试机构/小组。” + +第7 章为什么巴比伦塔会失败? + + 7.1 巴比伦塔项目的失败是因为缺乏交流,以及交流的结果——组织。 + + 交流 + + 7.2 “因为左手不知道右手在做什么,从而进度灾难、功能的不合理和系统缺陷纷纷出 + +现。”由于对其他人的各种假设,团队成员之间的理解开始出现偏差。 + + 7.3 团队应该以尽可能多的方式进行相互之间的交流:非正式、常规项目会议,会上进 + +行简要的技术陈述、共享的正式项目工作手册。[以及电子邮件。] + + 项目工作手册 + + 7.4 项目工作手册“不是独立的一篇文档,它是对项目必须产生的一系列文档进行组织 + +的一种结构。” + + 7.5 “项目所有的文档都必须是该(工作手册)结构的一部分。” + + 7.6 需要尽早和仔细地设计工作手册结构。 + + 7.7 事先制订了良好结构的工作手册“可以将后来书写的文字放置在合适的章节中”, + +并且可以提高产品手册的质量。 + + 7.8 “每一个团队成员应该了解所有的材料(工作手册)。”[我想说的是,每个团队成 + +员应该能够看到所有材料,网页即可满足要求。] + + 7.9 实时更新是至关重要的。 + + 7.10 工作手册的使用者应该将注意力集中在上次阅读后的变更,以及关于这些变更 + +重要性的评述。 + + - 139 - + +----------------------- Page 152----------------------- + + 7.11 OS/360 项目工作手册开始采用的是纸介质,后来换成了微缩胶片。 + + 7.12 今天[即使在1975 年],共享的电子手册是能更好达到所有这些目标、更加低 + +廉、更加简单的机制。 + + 7.13 仍然需要用变更条和修订日期[或具备同等功能的方法]来标记文字;仍然需要 + +后进先出(LIFO)的电子化变更小结。 + + 7.14 Parnas 强烈地认为使每个人看到每件事的目标是完全错误的;各个部分应该 + +被封装,从而没有人需要或者允许看到其他部分的内部结构,只需要了解接口。 + + 7.15 Parnas 的建议的确是灾难的处方。[Parnas让我认可了该观点,使我彻底地改 + +变了想法。] + + 组织架构 + + 7.16 团队组织的目标是为了减少必要的交流和协作量。 + + 7.17 为了减少交流,组织结构包括了人力划分 (division of labor)和限定职责 + +范围(specialization of function)。 + + 7.18 传统的树状组织结构反映了权力的结构原理——不允许双重领导。 + + 7.19 组织中的交流是网状,而不是树状结构,因而所有的特殊组织机制(往往体现 + +成组织结构图中的虚线部分)都是为了进行调整,以克服树状组织结构中交流缺乏的困难。 + + 7.20 每个子项目具有两个领导角色——产品负责人、技术主管或结构师。这两个角 + +色的职能有着很大的区别,需要不同的技能。 + + 7.21 两种角色中的任意组合可以是非常有效的: + + 产品负责人和技术主管是同一个人。 + + 产品负责人作为总指挥,技术主管充当其左右手。 + + 技术主管作为总指挥,产品负责人充当其左右手。 + + - 140 - + +----------------------- Page 153----------------------- + +第8 章胸有成竹 + + 8.1 仅仅通过对编码部分的估计,然后乘以任务其他部分的相对系数,是无法得出对整 + +项工作的精确估计的。 + + 8.2 构建独立小型程序的数据不适用于编程系统项目。 + + 8.3 程序开发呈程序规模的指数增长。 + + 8.4 一些发表的研究报告显示指数约为1.5。[Boehm 的数据并不完全一致,在1.05和 + +1.2之间变化。1] + + 8.5 Portman 的ICL 数据显示相对于其他活动开销,全职程序员仅将50%的时间用于编 + +程和调试。 + + 8.6 IBM 的Aron 数据显示,生产率是系统各个部分交互的函数,在1.5K千代码行/人 + +年至10K千代码行/人年的范围内变化。 + + 8.7 Harr 的Bell 实验室数据显示对于已完成的产品,操作系统类的生产率大约是 + +0.6KLOC/人年,编译类工作的生产率大约为2.2KLOC/人年。 + + 8.8 Brooks 的OS/360S 数据与Harr 的数据一致:操作系统0.6~0.8KLOC/人年,编译 + +器2~3 KLOC/人年。 + + 8.9 Corbato 的MIT 项目MULTICS 数据显示,在操作系统和编译器混合类型上的生产率 + +是1.2KLOC/人年,但这些是PL/I 的代码行,而其他所有的数据是汇编代码行。 + + 8.10 在基本语句级别,生产率看上去是个常数。 + + 8.11 当使用适当的高级语言时,程序编制的生产率可以提高5倍。 + +第9 章 削足适履 + + 9.1 除了运行时间以外,所占据的内存空间也是主要开销。特别是对于操作系统,它的 + +很多程序是永久驻留在内存中。 + + 9.2 即便如此,花费在驻留程序所占据内存上的金钱仍是物有所值的,比其他任何在配 + +置上投资的效果要好。规模本身不是坏事,但不必要的规模是不可取的。 + + - 141 - + +----------------------- Page 154----------------------- + + 9.3 软件开发人员必须设立规模目标,控制规模,发明一些减少规模的方法——就如同 + +硬件开发人员为减少元器件所做的一样。 + + 9.4 规模预算不仅仅在占据内存方面是明确的,同时还应该指明程序对磁盘的访问次 + +数。 + + 9.5 规模预算必须与分配的功能相关联;在指明模块大小的同时,确切定义模块的功能。 + + 9.6 在大型的团队中,各个小组倾向于不断地局部优化,以满足自己的目标,而较少考 + +虑队用户的整体影响。这种方向性的问题是大型项目的主要危险。 + + 9.7 在整个实现的过程期间,系统结构师必须保持持续的警觉,确保连贯的系统完整性。 + + 9.8 培养开发人员从系统整体出发、面向用户的态度是软件编程管理人员最重要的职 + +能。 + + 9.9 在早期应该制订策略,以决定用户可选项目的粗细程度,因为将它们作为整体大包 + +能够节省内存空间。[常常还可以节约市场成本。] + + 9.10 临时空间的尺寸,以及每次磁盘访问的程序数量是很关键的决策,因为性能是 + +规模的非线性函数。[这个整体决策已显得过时——起初是由于虚拟内存,后来则是成本低 + +廉的内存。现在的用户通常会购买能容纳主要应用程序所有代码的内存。] + + 9.11 为了取得良好的空间-时间折衷,开发队伍需要得到特定与某种语言或者机型 + +的编程技能培训,特别是在使用新语言或者新机器时。 + + 9.12 编程需要技术积累,每个项目需要自己的标准组件库。 + + 9.13 库中的每个组件需要有两个版本,运行速度较快和短小精炼的。[现在看来有 + +些过时。] + + 9.14 精炼、充分和快速的程序。往往是战略性突破的结果,而不仅仅技巧上的提高。 + + 9.15 这种突破常常是一种新型算法。 + + 9.16 更普遍的是,战略上突破常来自于数据或表的重新表达。数据的表现形式是编 + +程的根本。 + + - 142 - + +----------------------- Page 155----------------------- + +第10 章提纲挈领 + + 10.1 “前提:在一片文件的汪洋中,少数文档形成了关键的枢纽,每个项目管理的 + +工作都围绕着它们运转。它们是经理们的主要个人工具。” + + 10.2 对于计算机硬件开发项目,关键文档是目标、手册、进度、预算、组织机构图、 + +空间分配、以及机器本身的报价、预测和价格。 + + 10.3 对于大学科系,关键文档类似:目标、课程描述、学位要求、研究报告、课程 + +表和课程的安排、预算、教室分配、教师和研究生助手的分配。 + + 10.4 对于软件项目,要求是相同的:目标、用户手册、内部文档、进度、预算、组 + +织机构图和工作空间分配。 + + 10.5 因此,即使是小型项目,项目经理也应该在项目早期规范化上述的一系列文档。 + + 10.6 以上集合中每一个文档的准备工作都将注意力集中在对讨论的思索和提炼,而 + +书写这项活动需要上百次的细小决定,正是由于它们的存在,人们才能从令人迷惑的现象中 + +得到清晰、确定的策略。 + + 10.7 对每个关键文档的维护提供了状态监督和预警机制。 + + 10.8 每个文档本身就可以作为检查列表或者数据库。 + + 10.9 项目经理的基本职责是使每个人都向着相同的方向前进。 + + 10.10 项目经理的主要日常工作是沟通,而不是做出决定;文档使各项计划和决策在 + +整个团队范围内得到交流。 + + 10.11 只有一小部分管理人员的时间——可能只有 20%——用来从自己头脑外部获 + +取信息。 + + 10.12 出于这个原因,广受吹捧的市场概念——支持管理人员的“完备信息管理系统” + +并不基于反映管理人员行为的有效模型。 + +第11 章未雨绸缪 + + 11.1 化学工程师已经认识到无法一步将实验室工作台上的反应过程移到工厂中,需 + + - 143 - + +----------------------- Page 156----------------------- + +要一个实验性工厂(pilot planet)来为提高产量和在缺乏保护的环境下运作提供宝贵经验。 + + 11.2 对于编程产品而言,这样的中间步骤是同样必要的,但是软件工程师在着手发 + +布产品之前,却并不会常规地进行试验性系统的现场测试。[现在,这已经成为了一项普遍 + +的实践,beta版本。它不同于有限功能的原型,alpha 版本,后者同样是我所倡导的实践。] + + 11.3 对于大多数项目,第一个开发的系统并不合用。它可能太慢、太大,而且难以 + +使用,或者三者兼而有之。 + + 11.4 系统的丢弃和重新设计可以一步完成,也可以一块块地实现。这是个必须完成 + +的步骤。 + + 11.5 将开发的第一个系统——丢弃原型——发布给用户,可以获得时间,但是它的 + +代价高昂——对于用户,使用极度痛苦;对于重新开发的人员,分散了精力;对于产品,影 + +响了声誉,即使最好的再设计也难以挽回名声。 + + 11.6 因此,为舍弃而计划,无论如何,你一定要这样做。 + + 11.7 “开发人员交付的是用户满意程度,而不仅仅是实际的产品。”(Cosgrove) + + 11.8 用户的实际需要和用户感觉会随着程序的构建、测试和使用而变化。 + + 11.9 软件产品易于掌握的特性和不可见性,导致了它的构建人员(特别容易)面临 + +着永恒的需求变更。 + + 11.10 目标上(和开发策略上)的一些正常变化无可避免,事先为它们做准备总比假 + +设它们不会出现要好得多。 + + 11.11 为变更计划软件产品的技术,特别是细致的模块接口文档——非常地广为人 + +知,但并没有相同规模的实践。尽可能地使用表驱动技术同样是有所帮助的。[现在内存的 + +成本和规模使这项技术越来越出众。] + + 11.12 高级语言的使用、编译时操作、通过引用的声明整合和自文档技术能减少变更 + +引起的错误。 + + 11.13 采用定义良好的数字化版本将变更量子(阶段)化。[当今的标准实践。] + + - 144 - + +----------------------- Page 157----------------------- + + 为变更计划组织架构 + + 11.14 程序员不愿意为设计书写文档的原因,不仅仅是由于惰性。更多的是源于设计 + +人员的踌躇——要为自己尝试性的设计决策进行辩解。(Cosgrove) + + 11.15 为变更组建团队比为变更进行设计更加困难。 + + 11.16 只要管理人员和技术人才的天赋允许,老板必须对他们的能力培养给予极大的 + +关注,使管理人员和技术人才具有互换性;特别是希望能在技术和管理角色之间自由地分配 + +人手的时候。 + + 11.17 具有两条晋升线的高效组织机构,存在着一些社会性的障碍,人们必须警惕和 + +积极地同它做持续的斗争。 + + 11.18 很容易为不同的晋升线建立相互一致的薪水级别,但要同等威信的建立需要一 + +些强烈的心理措施:相同的办公室、一样的支持和技术调动的优先补偿。 + + 11.19 组建外科手术队伍式的软件开发团队是对上述问题所有方面的彻底冲击。对于 + +灵活组织架构问题,这的确是一个长期行之有效的解决方案。 + + 前进两步,后退一步——程序维护 + + 11.20 程序维护基本上不同于硬件的维护;它主要由各种变更组成,如修复设计缺陷、 + +新增功能、或者是使用环境或者配置变换引起的调整。 + + 11.21 对于一个广泛使用的程序,其维护总成本通常是开发成本的40%或更多。 + + 11.22 维护成本受用户数目的严重影响。用户越多,所发现的错误也越多。 + + 11.23 Campbell指出了一个显示产品生命期中每月bug数的有趣曲线,它先是下降, + +然后攀升。 + + 11.24 缺陷修复总会以(20-50)%的机率引入新的bug。 + + 11.25 在每次修复之后,必须重新运行先前所有的测试用例,从而确保系统不会以更 + +隐蔽的方式被破坏。 + + 11.26 能消除、至少是能指明副作用的程序设计方法,对维护成本有很大的影响。 + + - 145 - + +----------------------- Page 158----------------------- + + 11.27 同样,设计实现的人员越少、接口越少,产生的错误也就越少。 + + 前进一步,后退一步——系统熵随时间增加 + + 11.28 Lehman和Belady 发现模块数量随大型操作系统(OS/360)版本号的增加呈线 + +性增长,但是受到影响的模块以版本号指数的级别增长。 + + 11.29 所有修改都倾向于破坏系统的架构,增加了系统的混乱程度。即使是最熟练的 + +软件维护工作,也只是放缓了系统退化到不可修复混乱的进程,从中必须要重新进行设计。 + +[许多程序升级的真正需要,如性能等,尤其会冲击它的内部结构边界。原有边界引发的不 + +足常常在日后才会出现。] + +第12 章干将莫邪 + + 12.1 项目经理应该制订一套策略,以及为通用工具的开发分配资源,与此同时,他 + +还必须意识到专业工具的需求。 + + 12.2 开发操作系统的队伍需要自己的目标机器,进行调试开发工作。相对于最快的 + +速度而言,它更需要最大限度的内存,还需要安排一名系统程序员,以保证机器上的标准软 + +件是即时更新和实时可用的。 + + 12.3 同时还需要配备调试机器或者软件,以便在调试过程中,所有类型的程序参数 + +可以被自动计数和测量。 + + 12.4 目标机器的使用需求量是一种特殊曲线:刚开始使用率非常低,突然出现爆发 + +性的增长,接着趋于平缓。 + + 12.5 同天文工作者一样,系统调试总是大部分在夜间完成。 + + 12.6 抛开理论不谈,一次分配给某个小组连续的目标时间块被证明是最好的安排方 + +法,比不同小组的穿插使用更为有效。 + + 12.7 尽管技术不断变化,这种采用时间块来安排匮乏计算机资源的方式仍得以延续 + +20年[在1975年],是因为它的生产率最高。[在1995年依然如此] + + - 146 - + +----------------------- Page 159----------------------- + + 12.8 如果目标机器是新产品,则需要一个目标机器的逻辑仿真装置。这样,可以更 + +快地得到辅助调试平台。即使在真正机器出现之后,仿真装置仍可提供可靠的调试平台。 + + 12.9 主程序库应该被划分成 (1)一系列独立的私有开发库;(2)正处在系统测试 + +下的系统集成子库;(3)发布版本。正式的分离和进度提供了控制。 + + 12.10 在编制程序的项目中,节省最大工作量的工具可能是文本编辑系统。 + + 12.11 系统文档中的巨大容量带来了新的不理解问题[例如,看看Unix],但是它比 + +大多数未能详细描述编程系统特性的短小文章更加可取。 + + 12.12 自顶向下、彻底地开发一个性能仿真装置。尽可能早地开始这项工作,仔细地 + +听取 “它们表达的意见”。 + + 高级语言 + + 12.13 只有懒散和惰性会妨碍高级语言和交互式编程的广泛应用。[如今它们已经在 + +全世界使用。] + + 12.14 高级语言不仅仅提升了生产率,而且还改进了调试:bug 更少,以及更容易寻 + +找。 + + 12.15 传统的反对意见——功能、目标代码的尺寸、目标代码的速度,随着语言和编 + +译器技术的进步已不再成为问题。 + + 12.16 现在可供合理选择的语言是PL/I。[不再正确。] + + 交互式编程 + + 12.17 某些应用上,批处理系统决不会被交互式系统所替代。[依然成立。] + + 12.18 调试是系统编程中很慢和较困难的部分,而漫长的调试周转时间是调试的祸 + +根。 + + 12.19 有限的数据表明了系统软件开发中,交互式编程的生产率至少是原来的两倍。 + + - 147 - + +----------------------- Page 160----------------------- + +第13 章整体部分 + + 13.1 第4、5、6 章所意味的煞费苦心、详尽体系结构工作不但使产品更加易于使用, + +而且使开发更容易进行以及bug 更不容易产生。 + + 13.2 V.A.Vyssotsky 提出,“许许多多的失败完全源于那些产品未精确定义的地 + +方。” + + 13.3 在编写任何代码之前,规格说明必须提交给测试小组,以详细地检查说明的完 + +整性和明确性。开发人员自己不会完成这项工作。(Vyssotsky) + + 13.4 “十年内[1965~1975],Wirth 的自顶向下进行设计[逐步细化]将会是最重要 + +的新型形式化软件开发方法。” + + 13.5 Wirth 主张在每个步骤中,尽可能使用级别较高的表达方法。 + + 13.6 好的自顶向下设计从四个方面避免了bug。 + + 13.7 有时必须回退,推翻顶层设计,重新开始。 + + 13.8 结构化编程中,程序的控制结构仅由支配代码块(相对于任意的跳转)的给定 + +集合所组成。这种方法出色地避免了bug,是一种正确的思考方式。 + + 13.9 Gold 结果显示了,在交互式调试过程中,第一次交互取得的工作进展是后续 + +交互的三倍。这实际上获益于在调试开始之前仔细地调试计划。[我认为在 1995 年依然如 + +此。] + + 13.10 我发现对良好终端系统的正确使用,往往要求每两小时的终端会话对应于两小 + +时的桌面工作:1小时会话后的清理和文档工作;1小时为下一次计划变更和测试。 + + 13.11 系统调试(相对于单元测试)花费的时间会比预料的更长。 + + 13.12 系统调试的困难程度证明了需要一种完备系统化和可计划的方法。 + + 13.13 系统调试仅仅应该在所有部件能够运作之后开始。(这既不同于为了查出接口 + +bug所采取 “合在一起尝试”的方法;也不同于在所有构件单元的bug 已知,但未修复的 + +情况下,即开始系统调试的做法。)[对于多个团队尤其如此。] + + 13.14 开发大量的辅助调试平台(scaffolding 脚手架)和测试代码是很值得的,代 + + - 148 - + +----------------------- Page 161----------------------- + +码量甚至可能会有测试对象的一半。 + + 13.15 必须有人对变更进行控制和文档化,团队成员应使用开发库的各种受控拷贝来 + +工作。 + + 13.16 系统测试期间,一次只添加一个构件。 + + 13.17 Lehman和Belady 出示了证据,变更的阶段(量子)要么很大,间隔很宽;要 + +么小和频繁。后者很容易变得不稳定。[Microsoft 的一个团队使用了非常小的阶段(量子)。 + +结果是每天晚上需要重新编译生成增长中的系统。] + +第14 章祸起萧墙 + + 14.1 “项目是怎样延迟了整整一年的时间?…一次一天。” + + 14.2 一天一天的进度落后比起重大灾难,更难以识别、更不容易防范和更加难以弥 + +补。 + + 14.3 根据一个严格的进度表来控制项目的第一个步骤是制订进度表,进度表由里程 + +碑和日期组成。 + + 14.4 里程碑必须是具体的、特定的、可度量的事件,能进行清晰能定义。 + + 14.5 如果里程碑定义得非常明确,以致于无法自欺欺人时,程序员很少会就里程碑 + +的进展弄虚作假。 + + 14.6 对于大型开发项目中的估计行为,政府的承包商所做的研究显示:每两周进行 + +仔细修订的活动时间估计,随着开始时间的临近不会有太大的变化;期间内对时间长短的过 + +高估计,会随着活动的进行持续下降;过低估计直到计划的结束日期之前大约三周左右,才 + +有所变化。 + + 14.7 慢性进度偏离是士气杀手。[Microsoft 的Jim McCarthy 说:“如果你错过了 + +一个最终期限(deadline),确保制订下一条deadline。2”] + + 14.8 进取对于杰出的软件开发团队,同优秀的棒球队伍一样,是不可缺少的必要品 + +德。 + + - 149 - + +----------------------- Page 162----------------------- + + 14.9 不存在关键路径进度的替代品,使人们能够辨别计划偏移的情况。 + + 14.10 PERT 的准备工作是PERT 图使用中最有价值的部分。它包括了整个网状结构的 + +展开、任务之间依赖关系的识别、各个任务链的估计。这些都要求在项目早期进行非常专业 + +的计划。 + + 14.11 第一份PERT 图总是很恐怖的,不过人们总是不断进行努力,运用才智制订下 + +一份PERT 图。 + + 14.12 PERT 图为前面那个泄气的借口,“其他的部分反正会落后”,提供了答案。 + + 14.13 每个老板同时需要采取行动的异常信息以及用来进行分析和早期预警的状态 + +数据。 + + 14.14 状态的获取是困难的,因为下属经理有充分的理由不提供信息共享。 + + 14.15 老板的不良反应肯定会对信息的完全公开造成压制;相反,仔细区分状态报告、 + +毫无惊慌地接收报告、决不越俎代庖,将能鼓励诚实的汇报。 + + 14.16 必须有评审的机制,从而所有成员可以通过它了解真正的状态。出于这个目的, + +里程碑的计划和完成文档是关键。 + + 14.17 Vyssotsky:我发现在里程碑报告中很容易记录“计划(老板的日期)”和“估 + +计(最基层经理的日期)”的日期。项目经理必须停止对这些日期的怀疑。” + + 14.18 对于大型项目,一个对里程碑报告进行维护的计划和控制(Plan andControl) + +小组是非常可贵的。 + +第15 章另外一面 + + 15.1 对于软件编程产品来说,程序向用户所呈现的面貌与提供给机器识别的内容同 + +样重要。 + + 15.2 即使对于完全开发给自己使用的程序,描述性文字也是必须的,因为它们会被 + +用户-作者所遗忘。 + + 15.3 培训和管理人员基本上没有能向编程人员成功地灌输对待文档的积极态度— + + - 150 - + +----------------------- Page 163----------------------- + +—文档能在整个生命周期对克服懒惰和进度的压力起促进激励作用。 + + 15.4 这样的失败并不都是因为缺乏热情或者说服力,而是没能正确地展示如何有效 + +和经济地编制文档。 + + 15.5 大多数文档只提供了很少的总结性内容。必须放慢脚步,稳妥地进行。 + + 15.6 由于关键的用户文档包含了跟软件相关的基本决策,所以它的绝大部分需要在 + +程序编制之前书写,它包括了9 项内容(参见相应章节)。 + + 15.7 每一份发布的程序拷贝应该包括一些测试用例,其中一部分用于校验输入数 + +据,一部分用于边界输入数据,另一部分用于无效的输入数据。 + + 15.8 对于必须修改程序的人而言,他们所需要程序内部结构文档,同样要求一份清 + +晰明了的概述,它包括了5 项内容(参见相应章节)。 + + 15.9 流程图是被吹捧得最过分的一种程序文档。详细逐一记录的流程图是一件令人 + +生厌的事情,而且高级语言的出现使它显得陈旧过时。(流程图是图形化的高级语言。) + + 15.10 如果这样,很少有程序需要一页纸以上的流程图。[在这一点上,MILSPEC 军 + +用标准实在错得很厉害。] + + 15.11 即使的确需要一张程序结构图,也并不需要遵照ANSI 的流程图标准。 + + 15.12 为了使文档易于维护,将它们合并至源程序是至关重要的,而不是作为独立文 + +档进行保存。 + + 15.13 最小化文档负担的3个关键思路: + + 借助那些必须存在的语句,如名称和声明等,来附加尽可能多的“文档”信息。 + + 使用空格和格式来表现从属和嵌套关系,提高程序的可读性。 + + 以段落注释,特别是模块标题的形式,向程序中插入必要的记叙性文字。 + + 15.14 程序修改人员所使用的文档中,除了描述事情如何以外,还应阐述它为什么那 + +样。对于加深理解,目的是非常关键的,但即使是高级语言的语法,也不能表达目的。 + + 15.15 在线系统的高级语言( + 应该使用的工具)中,自文档化技术发现了它的绝佳应 + +用和强大功能。 + + - 151 - + +----------------------- Page 164----------------------- + +原著结束语 + + E.1 软件系统可能是人类创造中最错综复杂的事物(从不同类型组成部分数量的角度出 + +发)。 + + E.2 软件工程的焦油坑在将来很长一段时间内会继续地使人们举步维艰,无法自拔。 + + - 152 - + +----------------------- Page 165----------------------- + + 20 年后的人月神话(The Mythical + + Man-Month after 20 Years) + +只能根据过去判断将来。 + +- 帕特里克·亨利 + +然而永远无法根据过去规划将来。 + +- 埃德蒙·伯克 + +I know no way of judging the future but by the past. + +- PATRICK HENRY + +You can never plan the future by the past. + +- EDMUND BURKE + +为什么会出现二十周年纪念版本? + + 飞机划破夜空,嗡嗡地飞向纽约的拉瓜迪亚机场。所有的景色都隐藏在云层和黑暗之中。 + + 人 +我正在看一篇平淡无奇的文档,不过并没有感到厌烦。紧挨着我的一位陌生人正在阅读《 + +月神话》,我在旁边一直等待着,看他是否会通过文字或者手势做出反映。最后,当我们向 + +舱门移动时,我无法再等下去了: + + “这本书如何?你有什么评论吗?” + + “噢!这里面的东西我早就知道。” + + 此刻,我决定不介绍自己。 + + 为什么《人月神话》得以持续?为什么看上去它仍然和现在的软件实践相关?为什么 + + - 153 - + +----------------------- Page 166----------------------- + +它还拥有软件工程领域以外的读者群,律师、医生、社会学家、心理学家,和软件人员一样, + +不断地对这本书提出评论意见,引用它,并和我保持通信?20年前的一本关于30年前软件 + +开发经验的书,如何能够依然和现实情况相关?更不用说有所帮助了。 + + 常听到的一个解释是软件开发学科没有正确地发展,人们经常通过比较计算机软件开 + +发生产率和硬件制造生产率来支持这个观点,后者在20 年内至少翻了1000倍。正像第16 + +章所解释的,反常的并不是软件发展得太慢,而是计算机硬件技术以一种与人类历史不相配 + +的方式爆发出来。大体上这源于计算机制造从装配工业向流水线工业、从劳动密集型向资金 + +密集型的逐渐过渡。与生产制造相比,硬件和软件开发保持着固有的劳动密集型特性。 + + 第二个经常提及的解释——《人月神话》仅仅是顺便提及了软件,而主要针对团队中 + +的成员如何创建事物。这种说法的确有些道理,1975 年版本的前言中提到,软件项目管理 + +并不像大多数程序员起初所认为的那样,而更加类似于其他类型的管理。现在,我依然认为 + +这是正确的。人类历史是一个舞台,总是上演着相同的故事。随着文化的发展,这些故事的 + +剧本变化非常缓慢,而舞台的布局却在随时改变。正是如此,我们发现二十世纪本身会反映 + +在莎士比亚、荷马的作品和圣经中。因此,某种程度上,《人月神话》是关于人与团队的书, + +所以它的淘汰过程会是缓慢的。 + + 不管出于什么原因,读者仍然在购买这本书,并且常给我发一些致谢的评论。现在, + +我常常被问到:“你现在认为哪些在当时就是错误的?哪些是现在才过时的?哪些是软件工 + +程领域中新近出现的?”这些独特的问题是完全平等的,我将尽我最大的能力来回答它们。 + +不过,不以上述顺序,而是按照一系列主题来答复。首先,让我们考虑那些在写作时就正确, + +现在依然成立的部分。 + +核心观点:概念完整性和结构师 + + 概念完整性。一个整洁、优雅的编程产品必须向它的每个用户提供一个条理分明的概 + +念模型,这个模型描述了应用、实现应用的方法以及用来指明操作和各种参数的用户界面使 + +用策略,。用户所感受到的产品概念完整性是易用性中最重要的因素。(当然还有其他因素。 + +Macintosh 上所有应用程序界面的统一就是一个重要的例子。此外,有可能建立统一的接口, + +尽管它可能很粗糙,就像MS-DOS。) + + 有很多由一个或者两个人设计的优秀软件产品例子。大多数纯智力作品,像书籍、音 + + - 154 - + +----------------------- Page 167----------------------- + +乐等都是采用这种方式创作出来的。不过,很多产业的产品开发过程无法负担这种获取概念 + +完整性的直接方法。竞争带来了压力,很多现代工艺的最终产品是非常复杂的,它们的设计 + +需要很多人月的工作量。软件产品十分复杂,在进度上的竞争也异常激烈。 + + 任何规模很大或者非常紧急,并需要很多人力的项目,都会碰到一个特别的困难:必 + +须由很多人来设计,但与此同时,还需要在概念上保持与单个使用人员的一致。如何组织设 + + 人月神话》关注的主要问题。其中一点:由于参与 +计队伍来获得上述的概念一致性?这是《 + +人数的不同,大型编程项目的管理与小型项目在性质上都不同。为了获得一致性,经过深思 + +熟虑的,有时甚至是英勇的管理活动是完全必要的。 + + 结构师。从第4 到第7 章,我一直不断地在表达一个观点——委派一名产品结构师是 + +最重要的行动。结构师负责产品所有方面的概念完整性,这些是用户能实际感受到的。结构 + +师开发用于向用户解释使用的产品概念模型,概念模型包括所有功能的详细说明以及调用和 + +控制的方法。结构师是这些模型的所有者,同时也是用户的代理。在不可避免地对功能、性 + +能、规模、成本和进度进行平衡时,卓有成效地体现用户的利益。这个角色是全职工作,只 + +有在最小的团队中,才能和团队经理的角色合并。结构师就像电影的导演,而经理类似于制 + +片人。 + + 将体系结构和设计实现、物理实现相分离。为了使结构师的关键任务更加可行,有必 + +要将用户所感知的产品定义——体系结构,与它的实现相分离。体系结构和实现的划分在各 + +个设计任务中形成了清晰的边界,边界两边都有大量的工作。 + + 体系结构的递归。对于大型系统,即使所有实现方面的内容都被分离出去,一个人也 + +无法完成所有的体系结构工作。所以,有必要由一位主结构师把系统分解成子系统,系统边 + +界应该划分在使子系统间接口最小化和最容易严格定义的地方。每个部分拥有自己的结构 + +师,他必须就体系结构向主结构师汇报。显然,这个过程可以根据需要重复递归地进行。 + + 今天,我比以往更加确信。概念完整性是产品质量的核心。拥有一位结构师是迈向概 + +念完整性的最重要一步。这个原理决不仅限于软件系统,它适用于所有的复杂事物,如计算 + +机、飞机、防御系统、全球定位系统等。在软件工程试验室进行20 次以上的讲授之后,我 + +开始坚持每4 个学生左右的小组就选择不同的经理和结构师。在如此小的队伍中定义截然不 + +同的角色可能是有点极端,但我仍然发现这种方法即使对小型团队也运作良好,并且促使了 + +设计的成功。 + + - 155 - + +----------------------- Page 168----------------------- + +开发第二个系统所引起的后果:盲目的功能和频率猜测 + + 为大型用户群设计。个人计算机革命的一个结果是,至少在商业数据处理领域中,客 + +户应用程序越来越多地被商用软件包所代替。而且,标准软件包以成百上千,甚至是数百万 + +拷贝的规模出售。源厂商支持性软件的系统结构师必须不断地为大型的不确定用户群,而不 + +是为某个公司的单一、可定义的应用进行设计。许许多多的系统结构师现在面临着这项任务。 + + 但自相矛盾的是,设计通用工具比设计专用工具更加困难,这是因为必须为不同用户 + +的各种需要分配权重。 + + 盲目的功能(Featuritis)。对于如电子表格或字处理等通用工具的结构师,一个不断 + +困扰他们的诱惑是以性能甚至是可用性的代价,过多地向产品添加边界实用功能。 + + 功能建议的吸引力在初期阶段是很明显的,性能代价在系统测试时才会出现。而随着 + +功能一点一点地添加,手册慢慢地增厚,易用性损失以不易察觉的方式蔓延。1 + + 对幸存和发展了若干代的大众软件产品,这种诱惑特别强烈。数百万的用户需要成百 + +上千的功能特色,任何需求本身就是一种“市场需要它”的证明。而常见的情况是,原有的 + +系统结构师得到了嘉奖,正工作在其他岗位或项目上,现在负责体系结构的结构师,在均衡 + +表达用户的整体利益方面,往往缺乏经验。一个对Microsoft Word 6.0 的近期评价声称“Word + +6.0 对功能特性进行了打包,通过包缓慢地更新……Word 6.0 同样是大型和慢速的。”有点 + +令人沮丧的是——Word 6.0 需要4MB 内存,丰富的新增功能意味着“甚至Macintosh IIfx + + 2 +都不能胜任Word 6 的任务”。 + + 定义用户群。用户群越大和越不确定,就越有必要明确地定义用户群,以获得概念完 + +整性。设计队伍中的每个成员对用户都有一幅假想的图像,并且每个设计者的图像都是不同 + +的。结构师的用户图像会有意或者无意地影响每个结构决策,因此有必要使设计队伍共享一 + +幅相同的用户图像。这需要把用户群的属性记录下来,包括: + + 他们是谁 + + 他们需要(need)什么 + + 他们认为自己需要(need)什么 + + 他们想要(want)的是什么 + + - 156 - + +----------------------- Page 169----------------------- + + 频率。对于软件产品,任何用户群属性实际上都是一种概率分布,每个属性具有若干 + +可能的值,每个值有自己的发生频率。结构师如何成功地得到这些发生频率?对并未清晰定 + +义的对象进行调查是一种不确定和成本高昂的做法3。经过很多年,我现在确信,为了得到 + +完整、明确和共有的用户群描述,结构师应该猜测(guess),或者假设 (postulate)完整 + +的一系列属性和频率值。 + + 这种不是很可靠的过程有很多好处。首先,仔细猜测频率的过程会使结构师非常细致 + +地考虑对象用户群。其次,把它们写下来一般会引发讨论,这能起到解释的作用,以及澄清 + +不同设计人员对用户图像认识上的差异。另外,明确地列举频率能帮助大家认识到哪些决策 + +依赖于哪些用户群属性。这种非正式的敏感性分析也是颇有价值的。当某些非常重要的决策 + +需要取决于一些特殊的猜测时,很值得为那些数值花费精力来取得更好的估计。(Jeff + +Conklin 开发的gIBIS 提供了一种工具,能精确和正式地跟踪设计决策和文档化每个决策的 + +原因4。我还没有机会使用它,但是我认为它应该非常有帮助。) + + 总结:为用户群的属性明确地记载各种猜测。清晰和错误都比模糊不清好得多。 + + “开发第二系统所引起的后果(second-system effect)”情况怎样?一位敏锐的学生 + +说,人月神话推荐了一剂对付灾难的处方:计划发布任何新系统的第二个版本(第11章), + +第二系统在第5 章中被认为是最危险的系统。 + + 这实际上是语言引起的的差异,现实情况并不是如此。第5 章中提到的“第二个”系 + +统是第二个实际系统,它是引入了很多新增功能和修饰的后续系统。第11章中的“第二个” + +系统指开发第一个实际系统所进行的第二次尝试。它在所有的进度、人员和范围约束下开发, + +这些约束刻画了项目的特征,形成了开发准则的一部分。 + +图形(WIMP )界面的成功 + + 在过去 20 年内,软件开发领域中,令人印象最深刻的进步是窗口(Windows)、图标 + + (Icons)、菜单(Menus)、指针选取 (Pointing)界面的成功——或者简称为WIMP。这些 + +在今天是如此的熟悉,以致于不需要任何解释。这个概念首先在1968 年西部联合计算机大 + +会(Western Joint Computer Converence)上,由斯坦福研究机构(Stanford Research + +Institute)的Doug Englebart 公开提出5。接着,这种思想被Xerox Palo Alto Research + +Center所采纳,用在了由Bob Taylor 和他的团队所开发的Alto个人工作站中。Steve Jobs + + - 157 - + +----------------------- Page 170----------------------- + +在Apple Lisa 型计算机中应用了该理念,不过Apple Lisa运行速度太慢,以致于无法承载 + +这个令人激动的易用性概念。后来在1985 年,Jobs 在取得商业成功的Apple Macintosh 机 + +器上体现了这些想法。接下来,它们被IBM PC 及其兼容机的Microsoft Windows所采用。 + + 6 +我自己的例子则是Mac 版本 。 + + 通过类比获得的概念完整性。WIMP 是一个充分体现了概念完整性的用户界面例子,完 + +整性的获得是通过采用大家非常熟悉的概念模型——对桌面的比喻,以及一致、细致的扩展, + +后者充分发挥了计算机的图形化实现能力。例如,窗口采用覆盖,而不是排列的方式,这直 + +接来自类比。尽管这种方法成本很高,但却是正确的决定。计算机图形介质提供了对窗口尺 + +寸的调整,这是一种保持一致概念的延伸,给用户提供了新的处理能力,桌面上的文件是无 + +法轻易地调整大小和改变形状的;拖放功能则直接出自模仿,使用指针来选择图标是对人用 + +手拾起东西的直接模拟;图标和嵌套文件夹源于桌面的文档,回收站也是如此;剪切、复制 + +和粘贴则完全反映了我们使用文档的一些习惯;我们甚至可以通过向回收站拖拽磁盘的图标 + +来弹出磁盘——象征手法是如此的贴切,扩展是如此的连贯一致,以致于新用户常常会被它 + +所体现出的理念打动。 + + 哪些地方使WIMP 界面远远超越了桌面的比喻?主要是在两个方面:菜单和单手操作。 + +在真正的桌面上工作时,人们实际上是操作文档,而不是叫某人来完成这些动作。当要求他 + +人进行某个活动时,常常是新产生,而不是选择一个口头或者书面祈使句:“请将这个归档。” + + “请找出前面一致的地方。”“请把这个交给Mary 去处理。” + + 无论是手写还是口头的命令,现有处理能力还无法对自由产生的命令形式进行可靠的 + +翻译和解释。所以,界面设计人员从用户对文档的直接动作中去除了上面提到的两个步骤。 + +他们非常聪明地从桌面文档操作中选取了一些常用命令,形成了类似于公文的“便条”,用 + +户只需从一些语义标准的强制命令菜单中进行选择。这个概念接着被延伸到水平菜单和垂直 + +的下拉子菜单中。 + + 命令表达和双光标问题。命令是祈使句,它们通常都有一个动词和直接宾语。对于任 + +何动作,必须指定一个动词和一个名词。对事物选取的直接模仿要求:使用屏幕上不同的两 + +个光标,同时指定两件事物。每个光标分别由左右手中的鼠标来控制。毕竟,在实际的桌面 + +上,我们通常使用两只手来操作。(不过,一只手常常是将东西固定在某处,这一点在计算 + +机桌面是默认情况。)而且,我们当然具备双手操作的能力,我们习惯上使用双手来打字、 + + - 158 - + +----------------------- Page 171----------------------- + +驾驶、烹饪。但是,提供一个鼠标已经是个人计算机制造商向前迈进的一大步,没有任何商 + + 7 +业系统可以容纳由双手分别控制的两只鼠标同时进行的动作 。 + + 界面设计人员接受了现实,为一只鼠标设计。设计人员采用的句法习惯是首先指出(选 + +择)名词的,接着指出一个动词菜单项。这确实牺牲了很多易用性。当我看到用户、或者用 + +户录像、或者光标移动的计算机跟踪情况。我立刻对一个光标必须完成两件事而感到惊讶: + +选择窗口上桌面部分的一个对象,再选择菜单部分的一个动词,寻找或者重新寻找桌面上的 + +一个对象。接着,拉下菜单(常常是同一个)选择一个动词。光标来来往往、周而复始地从 + +数据区移到菜单区,每一次都丢弃了一些有用的位置信息“上次在这个空间的什么地方”— + +—总而言之,是一个低效的过程。 + + 一个卓越的解决方案。即使软件和器材可以很容易实现两个同时活动的光标,也仍然 + +存在一些空间布局上的困难。WIMP 象征手法中的桌面实际上包括了一个打字机,它必须在 + +实际桌面的物理空间中容纳一个物理键盘。键盘加上两个鼠标垫会占据大量双手所及的空 + +间。不过,键盘问题实际上是一个机会——为什么不一只手在键盘上指定动词,另一只手使 + +用鼠标来指定名词,从而使高效的双手操作成为可能?这时,光标停留在数据区,为后续点 + +击拾取提供了充分的空间活动能力。真正的高效,真正强大的用户功能。 + + 用户功能和易用性。不过,这个解决方案舍弃了一些易用性——菜单提供了任何特定 + +状态下的一些可选的有效动词。例如,我们可以购买某个商品,将它带回家,紧记购买的目 + +的,遵照菜单上不同的动词略为试验一下,就可以开始使用,并不需要去查看手册。 + + 软件结构师所面临的最困难问题是如何确切地平衡用户功能和易用性。是为初学者或 + +偶尔使用的用户设计简单操作,还是为专业用户设计强大的功能?理想的答案是通过概念一 + +致的方式把两者都提供给用户——这正是WIMP 界面所达到的目标。每个频繁使用的菜单动 + +词(命令)都有一个快捷键,因此可以作为组合通过左手一次性地输入。例如,在Mac 机器 + +上,命令键(♂[jypan2])正好在Z 和X 键的下方,因此使用最频繁的操作被编码成♂z、♂ + +x、♂c、♂v、♂s。 + + 从新手向熟练用户的逐渐过渡。双重指定命令动词的系统不但满足了新手快速学习的 + +需要,而且它在不同的使用模式之间提供了平滑的过渡。被称为快捷键的字符编码,显示在 + +菜单上的动词旁边,因此拿不准的用户可以激活下拉菜单,检查对应的快捷键,而不是直接 + +在菜单上选取。每个新手从他最常使用的命令中学习快捷键。由于♂z可以撤消任何单一操 + + - 159 - + +----------------------- Page 172----------------------- + +作,所以他可以尝试任何感到不确定的快捷键。另外,他可以检查菜单,以确定命令是否有 + +效。新手会大量地使用菜单,而熟练用户几乎不使用,中间用户仅偶尔需要访问菜单,因为 + +每个人都了解组成自己大多数操作的少数快捷键。我们大多数的开发设计人员对这样的界面 + +非常熟悉,对其优雅而强大的功能感到非常欣慰。 + + 强制体系结构的实施,作为设备的直接整合。Mac 界面在另一个方面很值得注意。没有 + +任何强迫,它的设计人员在所有的应用程序中使用标准界面,包括了大量的第三方程序。从 + +而,用户在界面上获得的概念一致性不仅仅局限在机器所配备的软件,而且遍及所有的应用 + +程序。 + + Mac 设计人员把界面固化到只读内存中,从而开发者使用这些界面比开发自己的特殊界 + +面更容易和快速。这些获取一致性的措施得到了足够广泛的应用,以致于可以形成实际的标 + +准。Apple 的管理投入和大量说服工作协助了这些措施。产品杂志中很多独立评论家,认识 + +到了跨应用概念完整性的巨大价值,通过批评不遵从产品的反面例子,对上述方法进行了补 + +充。 + + 这是第6 章中所推荐技术的一个非常杰出的例子,该技术通过鼓励其他人直接将某人 + +的代码合并到自己的产品中来获得一致性,而不是试图根据某人的技术说明开发自己的软 + +件。 + + WIMP 的命运:过时被淘汰。尽管WIMP 有很多优点,我仍期望WIMP 界面在下一代技术 + +中成为历史。如同我们支配我们机器一样,指针选取仍将是表达名词的方式,语音则无疑成 + +为表达动词的方法。Mac 上的Voice Navigator 和PC 上的Dragon 已经提供了这种能力。 + +没有构建舍弃原型——瀑布模型是错误的! + + 一幅让人无法忘怀的图画,倒塌的塔科马大桥,开启了第11章。文中强烈地建议:“为 + +舍弃而计划。无论如何,你一定要这样做。”现在我觉得这是错误的,并不是因为它太过极 + +端,而是因为它太过简单。 + + 在《未雨绸缪》一章体现的概念中,最大的错误是它隐含地假设了使用传统的顺序或 + +者瀑布开发模型。该模型源自于类似甘特图布局的阶段化流程,常常绘制成图19.1 的形状。 + +Winton Royce 在1970年的一篇经典论文中,改进了顺序模型,他提出: + + - 160 - + +----------------------- Page 173----------------------- + + 存在一些从一个阶段到前一个阶段的反馈 + + 将反馈限定在直接相邻的先前阶段,从而容纳它引起的成本增加和进度延迟 + + 计划 + + 编码 + + 单元测试 + + 系统测试 + + 现场支持 + + 图19.1:软件开发的瀑布模型 + + 他给开发者提出的建议“构建两次”比《人月神话》的好8。受到瀑布模型不良影响并 + +不只是第11章,而是从第2 章的进度计划规则开始,贯穿了整本书。第2 章中的经验法则 + +分配了1/3 的时间用于计划,1/6用于编码,1/4用于单元测试以及1/4用于系统测试。 + + 瀑布模型的基本谬误是它假设项目只经历一次过程,而且体系结构出色并易于使用, + +设计是合理可靠的,随着测试的进行,编码实现是可以修改和调整的。换句话说,瀑布模型 + +假设所有错误发生在编码实现阶段,因此它们的修复可以很顺畅地穿插在单元和系统测试 + +中。 + + 实际上,《未雨绸缪》并没有迎面痛击这个错误。它不是对错误的诊断,而是补救措施。 + +现在,我建议应该一块块地丢弃和重新设计系统,而不是一次性地完成替换。就目前的情况 + +而论,这没有问题,但它并没有触及问题的根本。瀑布模型把系统测试,以及潜在地把用户 + +测试放在构件过程的末尾。因此,只有在投入了全部开发投资之后,才能发现无法接受的性 + +能问题、笨拙功能以及察觉用户的错误或不当企图。不错,Alpha 测试对规格说明的详细检 + +查是为了尽早地发现这些缺陷,但是对于实际参与的用户却没有对应的措施。 + + 瀑布模型的第二个谬误是它假设整个系统一次性地被构建,在所有的设计、大部分编 + +码、部分单元测试完成之后,才为闭环的系统测试合并各个部分。 + + 瀑布模型,这个大多数人在1975 年考虑的软件项目开发方法,不幸地被奉为军用标准 + +DOD-STD-2167,作为所有国防部军用软件的规范。所以,在大多数有见地的从业者认识到瀑 + + - 161 - + +----------------------- Page 174----------------------- + + 9 +布模型的不完备并放弃之后,它仍然得以幸存。幸运的是,DoD 也已经慢慢察觉到这一点 。 + + 必须存在逆向移动。就像本章开始图片中精力充沛的大马哈鱼一样,在开发过程“下 + +游”的经验和想法必须跃行而上,有时会超过一个阶段,来影响“上游”的活动。 + + 例如,设计实现会发觉有些体系结构的功能定义会削弱性能,从而体系结构必须重新 + +调整。编码实现会发现一些功能会使空间剧增,超过要求,因此必须更改体系结构定义和设 + +计实现。 + + 所以,在把任何东西实现成代码之前,可能要往复迭代两个或更多的体系结构-设计 + +-实现循环。 + +增量开发模型更佳——渐进地精化 + + 构建闭环的框架系统 + + 从事实时系统开发的Harlan Mills,早期曾提倡我们首先应该构建实时系统的基本轮 + +询回路,为每个功能都提供子函数调用(占位符),但仅仅是空的子函数(图 19.2)。对它 + + 10 +进行编译、测试,使它可以不断运行。它不直接完成任何事情,但至少是正常运行的 。 + + 注: + + MAIN LOOP-主循环 + + Subroutines-子函数 + + 图19.2 + + 接着,我们添加(可能是基本的)输入模块和输出模块。瞧,一个可运行的系统出现 + +了,尽管只是一个框架。然后,一个功能接一个功能,我们逐渐开发和增加相应模块。在每 + +个阶段,我们都拥有一个可运行的系统。如果我们非常勤勉,那么每个阶段都会有一个经过 + + - 162 - + +----------------------- Page 175----------------------- + +调试和测试的系统。(随着系统的增长,使用所有先前的测试用例对每个新模块进行的回归 + +测试也采用这种方式进行。) + + 在每个功能基本可以运行之后,我们一个接一个地精化或者重写每个模块——增量地 + +开发(growing)整个系统。不过,我们有时的确需要修改原有的驱动回路,或者甚至是回 + +路的模块接口。 + + 因为我们在所有时刻都拥有一个可运行的系统,所以 + + 我们可以很早开始用户测试,以及 + + 我们可以采用按预算开发的策略,来彻底保证不会出现进度或者预算的超支(以允 + +许的功能牺牲作为代价)。 + + 我曾在北卡罗来纳大学教授软件工程实验课程22 年,有时与David Parnas 一起。在 + +这门课程中,通常4 名学生的团队会在一个学期内开发某个真正的实时软件应用系统。大约 + +是一半的时候,我转而教授增量开发的课程。我常常会被屏幕上第一幅图案、第一个可运行 + +的系统对团队士气产生的鼓舞效果而感到震惊。 + + Parnas 产品族 + + 在这整个20年的时间里,David Parnas 曾是软件工程思潮的带头人。每个人对他的信 + +息隐藏概念都很熟悉,但对他另一个非常重要的概念——将软件作为一系列相关的产品族来 + +设计11——相对了解较少。Parnas 力劝设计人员对产品的后期扩展和后续版本进行预测,定 + +义它们在功能或者平台上的差异,从而搭建一棵相关产品的家族树(图19.3)。 + + 设计类似一棵树的技巧是将那些变化可能性较小的设计决策放置在树的根部。 + + 这样的设计使得模块的重用最大化。更重要的是,可以延伸相同的策略,使它不但可 + +以包括发布产品,而且还包括以增量开发策略创建的后续中间版本。这样,产品可以通过它 + +的中间阶段,以最低限度的回溯代价增长。 + + - 163 - + +----------------------- Page 176----------------------- + + 基产品 + + 内部版本 + + 功能修改 第二代产品 移植到其他平 + 台 + + 图19.3 + + Microsoft 的“每晚重建”方法 + + JamsMcCarthy 向我描述了他的队伍和微软其他团队所使用的产品开发流程,这实际上 + +是一种逻辑上的增量式开发。他说, + + 在我们第一次产品发布之后,我们会继续发布后续版本,向已有的可运行系统添加更 + +多的功能。为什么最初的构建过程要不一样呢?因此,从我们第一个里程碑开始[第一次发 + +布有三个里程碑],我们每晚重建开发中的系统[以及运行测试用例]。该构建周期成了项目 + +的“心跳”。每天,一个和多个程序员-测试员队伍提交若干具有新功能的模块。在每次重建 + +之后,我们会获得一个可运行的系统。如果重建失败,我们将停下整个过程,直到找到问题 + +所在并进行修复。在任何时间,团队中的每个人都了解项目的状态。 + + 这是非常困难的。你必须投入大量的资源,而且它是一个规范化、可跟踪、开诚布公 + +的流程。它向团队提供了自身的可信度,而可信度决定了你的士气和情绪状态。 + + 其他组织的软件开发人员对这个过程感到惊讶,甚至震惊。其中一个人说:“我们可以 + +实现每周一次的重建,但是如果每晚一次的话,我想不大可能,工作量太大了。”这可能是 + +对的。例如,Bell 北方研究所就是每周重建1千2 百万行的系统。 + + - 164 - + +----------------------- Page 177----------------------- + + 增量式开发和快速原型 + + 增量开发过程能使真正的用户较早地参与测试,那么它与快速原型之间的区别是什么 + +呢?我认为它们既是互相关联,又是相互独立的。各自可以不依赖对方而存在。 + + Harel 将原型精彩地定义成: + + 仅仅反映了概念模型准备过程中所做的设计决策[的一个程序版本],它并未反映受实 + + 12 +现考虑所驱使的设计决策 。 + + 构建一个完全不属于发布产品的原型是完全可能的。例如,可以开发一个界面原型, + +但是并不包含任何的实际功能,而仅仅是一个看上去履行了各个步骤的有限状态机。甚至可 + +以通过模拟系统响应的向导技术来原型化和测试界面。这种原型化对获取早期的用户反馈非 + +常有用,但是它和产品发布前的测试区别很大。 + + 类似的,实现人员可能会着手开发产品的某一块,并完整地实现该部分的有限功能集 + +合,从而可以尽早发现性能上的潜在问题。那么,“从第一个里程碑开始构建”的微软流程 + +和快速原型之间的差别是什么?功能。第一个里程碑产品可能不包含足够的功能使任何人对 + +它产生兴趣,而可发布产品和定义中的一样,在完整性上——配备了一系列实用的功能集, + +在质量上——它可以健壮地运行。 + +关于信息隐藏,Parnas 是正确的,我是错误的 + + 在第7 章中,关于每个团队成员应该在多大程度上被允许和鼓励相互了解设计和代码 + +的问题,我对比了两种方法。在操作系统OS/360 项目中,我们决定所有的程序员应该了解 + +所有的材料——每个项目成员都拥有一份大约10,000页的项目工作手册拷贝。HarlanMills + +颇有说服力地指出“编程是个开放性的公共过程”。把所有工作都暴露在每个人的凝视之下, + +能够帮助质量控制,这既源于其他人优秀工作的压力,也由于同伴能直接发现缺陷和bug。 + + 这个观点和David Parnas 的观点形成了鲜明的对比。David Parnas认为代码模块应该 + +采用定义良好的接口来封装,这些模块的内部结构应该是程序员的私有财产,外部是不可见 + + 13 +的。编程人员被屏蔽而不是暴露在他人模块内部结构面前。这种情况下,工作效率最高 。 + + 我在第7 章中并不认同Parnas 的概念是“灾难的处方”。但是,Parnas 是正确的,我 + +是错误的。现在,我确信信息隐藏——现在常常内建于面向对象的编程中——是唯一提高软 + + - 165 - + +----------------------- Page 178----------------------- + +件设计水平的途径。 + + 实际上,任何技术的使用都可能演变成灾难。Mill 的技术是通过了解接口另一侧的情 + +况,使编程人员能理解他们所工作接口的详细语义。这些接口的隐藏会导致系统的bug。 + +Parnas 的技术在面对变更时是很健壮的,更加适合为变更设计的理念。 + + 第16章指出了下列情况: + + 过去在软件生产率上取得的进展大多数来自消除非内在的困难,如笨拙的编程语 + +言、漫长的批处理周转时间等。 + + 像这些比较容易解决的困难已经不多了。 + + 彻底的进展将来自对根本困难的处理——打造和组装复杂概念性结构要素。 + + 最明显的实现这些的方法是,认为程序由比独立的高级语言语句、函数、模块或类等 + +更大的概念结构要素组成。如果能对设计和开发进行限制,我们仅仅需要从已建成的集合中 + +参数化这些结构要素,并把它们组装在一起,那么我们就能大幅度提高概念的级别,消除很 + +多无谓的工作和大量语句级别的错误可能性。 + + Parnas 的模块信息隐藏定义是研究项目中的第一步,它是面向对象编程的鼻祖。Parnas + +把模块定义成拥有自身数据模型和自身操作集的软件实体。它的数据仅仅能通过它自己的操 + +作来访问。第二步是若干思想家的贡献:把Parnas 模块提升到抽象数据类型,从中可以派 + +生出很多对象。抽象数据类型提供了一种思考和指明模块接口的统一方式,以及容易保证实 + +施的类型规范化访问方法。 + + 第三步,面向对象编程引入了一个强有力的概念——继承,即类(数据)默认获得类 + +继承层次中祖先的属性14。我们希望从面向对象编程中得到的最大收获实际上来自第一步, + +模块隐藏,以及预先建成的、为了重用而设计和测试的模块或者类库。很多人忽视了这样一 + +个事实,即上述模块不仅仅是程序,某种意义上是我们在第1章中曾讨论过的编程产品。许 + +多人希望大规模重用,但不付出构建产品级质量(通用、健壮、经过测试和文档化的)模块 + +所需要的初始代价——这种期望是徒劳的。面向对象编程和重用在第16和17章中有所讨论。 + + - 166 - + +----------------------- Page 179----------------------- + +人月到底有多少神话色彩?Boehm 的模型和数据 + + 很多年来,人们对软件生产率和影响它的因素进行了大量的量化研究,特别是在项目 + +人员配备和进度之间的平衡方面。 + + 最充分的一项研究是Barry Boehm 对63 个项目的调查,其中大多数是航空项目和25 + +个TRW 公司的项目。他的《软件工程经济学》(Software Engineering Economics)不但包 + +括了很多结果,而且还有一系列逐步推广的成本模型。尽管一般商业软件的成本模型和根据 + +政府标准开发的航空软件成本模型中的系数肯定不同,不过他的模型使用了大量的数据来支 + +撑。我想从现在起,这本书将作为一代经典。 + + 他的结果充分地吻合了《人月神话》的结论,即人力(人)和时间(月)之间的平衡 + +远不是线性关系,使用人月作为生产率的衡量标准实际是一个神话。特别的,他发现:15 + + 1/3 + 第一次发布的成本最优进度时间,T = 2.5 (MM) 。即,月单位的最优时间是估 + +计工作量(人月)的立方根,估计工作量则由规模估计和模型中的其他因子导出。最优人员 + +配备曲线是由推导得出的。 + + 当计划进度比最优进度长时,成本曲线会缓慢攀升。时间越充裕,花的时间也越长。 + + 当计划进度比最优进度短时,成本曲线急剧升高。 + + 无论安排多少人手,几乎没有任何项目能够在少于3/4 的最优时间内获得成功!当 + +高级经理向项目经理要求不可能的进度担保时,这段结论可以充分地作为项目经理的理论依 + +据。 + + Brooks 准则有多准确?曾有很多细致的研究来评估Brooks法则的正确性,简言之,向 + +进度落后的软件项目中添加人手只会使进度更加落后。最棒的研究发表在Abdel-Hamid 和 + + 16 + 软件项目动力学:一条完整的路》(Software +Madnick 在1991 年出版的一本颇有价值的书《 + +Project Dynamics:An Integrated Approach)中。书中提出了项目动态特性的量化模型。 + +关于Brooks 准则的章节提供了更详细的分析,指出了在各种假设下的情况,即何时添加多 + +少人员将会产生什么样的结果。为了进行研究,作者扩展了他们自己一个中型规模项目的模 + +型,假设新成员有学习曲线和需要额外的沟通和培训工作。他们得出结论“向进度落后的项 + +目中添加人手总会增加项目的成本,但并不一定会使项目更加落后。”特别的,由于新成员 + +总会立刻带来需要数周来弥补的负面效应,所以在项目早期添加额外的人力比在后期加入更 + + - 167 - + +----------------------- Page 180----------------------- + +加安全一些。 + + Stutzke为了进行相似的研究,开发了一个更简单的模型,得出了类似的结果17。他对 + +引入新成员进行了详细的过程和成本分析,其中包括把他们的指导人员调离原有的项目任 + +务。他在一个真正的项目上测试了他的模型,在项目中期的一些偏移之后,他成功地添加了 + +一倍人手,并且保证了原先的进度。相对于增加更多程序员,他还试验了的其他方法,特别 + +是加班工作。在他的很多条实践建议中,最有价值的部分是如何添加新成员,进行培训,用 + +工具来支持等等。特别值得注意的是,他建议开发项目后期增加的开发人员,必须作为团队 + +成员,愿意在过程中努力投入和工作,而不是企图改变或者改进过程本身! + + Stutzke 认为更大型的项目中,增加的沟通负担是次要作用,没有对它建模。至于 + +Abdel-Hamid和Madnick 是否或者如何考虑这个问题,则不是很清楚。上面提到的两个模型 + +都没有考虑开发人员必须重新安排的事实,而在实际情况中,我发现这常常是一个非常重要 + +的步骤。 + + 这些细致的研究使“异常简化”的Brooks准则更加实用。作为平衡,我还是坚持这个 + +简单的陈述,作为真理的最佳近似,以及一项经验法则——警告经理们避免对进度落后的项 + +目采取的盲目、本能的修补措施。 + +人就是一切(或者说,几乎是一切) + + 很多读者发现很有趣的是,《人月神话》的大部分文章在讲述软件工程管理方面的事情, + +较少涉及到技术问题。这种倾向部分因为我在IBM 360操作系统(现在是MVS/370)项目中 + +角色的性质。更基本的是,这来自一个信念,即对于项目的成功而言,项目人员的素质、人 + +员的组织管理是比使用的工具或采用的技术方法更重要的因素。 + + 随后的研究支持了上述观点。Boehm 的COCOMO 模型发现团队质量目前是项目成功最大 + +的决定因素,实际上是下一个次重要因素的4 倍。现在,软件工程的大多数学术研究集中在 + +工具上。我很欣赏和期盼强大的工具,同样我也非常鼓励对软件管理动态特征——对人的关 + +注、激励、培养——的持续研究。 + + 人件。近年来,软件工程领域的一个重大贡献是DeMarco 和Lister 在1987 年出版的 + + 人件:高生产率的项目和团队》(Peopleware:Productive Projects and Teams)。 +数据,《 + + - 168 - + +----------------------- Page 181----------------------- + +它所表达的观点是“我们行业的主要问题实质上更侧重于社会学(sociological)而不是科 + +学技术 (technological)。”它充满了很多精华,如“管理人员的职责不是要人们去工作, + +而是是创造工作的可能。”它涉及了如空间、布置、团队的餐饮等主题。DeMarco 和Lister + +从他们的Coding War Games 项目中提供的数据,显示了相同组织中开发人员的表现之间, + +和工作空间和生产率以及缺陷水平之间令人吃惊的关联。 + + 顶尖人员的空间更加安静、更加私人、保护得更好以免受打断,还有很多……这对你 + +真的很要紧吗……是否安静、空间和免受打搅能够帮助你的人员更好地完成工作,或者[换 + +个角度]能帮助你吸引和留住更好的人员? + + 我衷心地向我的读者推荐这本书。 + + 项目转移。DeMarco 和Lister 对团队融合给予了相当大的关注,团队融合是一个无形 + +的,但是非常关键的特性。很多地点分散的公司,项目从一个实验室转移到另一个。从中, + +我认为团队融合正是管理上被忽视的因素。 + + 我的观察和经验大约局限在六、七个项目转移中,其中没有一个是成功的。任务可以 + +成功地转移,但是对于项目的转移,即使拥有良好的文档、先进的设计以及保留部分原有人 + +员,新队伍实际上依然是重新开始。我认为正是由于破坏了原有团队的整体性,导致了产品 + +雏形的夭折,项目重新开始。 + +放弃权力的力量 + + 如果人们认同我在文中多处提到的观点——创造力来自于个人,而不是组织架构或者 + +开发过程,那么项目管理面对的中心问题是如何设计架构和流程,来提高而不是压制主动性 + +和创造力。幸运的是,这个问题并不是软件组织所特有,一些杰出的思想家正努力地致力于 + +这项工作。E.F.Schumacher 在他的经典《小就是美:人们关心的经济学》(Small is + +Beautiful:Economics as if People Mattered)中,提出了最大化员工创造力和工作乐趣 + +的理论。他的第一个原理是引自Pope Pius XI 教皇通谕Quadragesimo Anno 中的“附属职 + +能行使原理”: + + 向大型组织指派小型或者附属机构能够完成的职责是不公平的,同时也是正常次序的 + +不幸和对它的干扰。对于每项社会活动,就其本质而言,应该配备对社会个体成员的帮助, + + - 169 - + +----------------------- Page 182----------------------- + +而不是去破坏和吸收它们……那些当权者应该确信遵守“附属职能行使”原理,能在各种各 + +样的组织中维持更加完美的次序,越强和越有效的社会权威将会是国家更加融洽和繁荣的条 + + 19 +件 。 + + Schumacher 继续解释到: + + 附属职能行使原理告诉我们——如果较低级别组织的自由和责任得以保留,中心权威 + +实际上是得到了加强;其结果是,从整体而言,组织机构实际上将“更加融洽和繁荣”。 + + 如何才能获得上述的架构?……大型组织机构由很多准自治单元构成,我们称之为准 + +公司。它们中的每一个都拥有大量的自由,来为创造性和企业家职能提供最大的可能机 + + 20 +会……。每个准公司同时具备盈亏帐目和资产负债表 。 + + 软件工程中最激动人心的进展是将上述组织理念付诸实践的早期阶段。首先,微型计 + +算机革命创造了新型的软件工业,出现了成百上千的新兴公司。所有这些小规模的公司热情、 + +自由和富有创造性。随着很多小型公司被大公司收购,这个产业正在发生着变化,而那些大 + +公司是否理解和保留小规模的创造性尚待分晓。 + + 更不寻常的是,一些大型公司的高层管理已经开始着手将一些权力下放到软件项目团 + +队,使它们在结构和责任上接近于Schumacher 的准公司。其运作的结果是令人欣喜和吃惊 + +的。 + + 微软的Jim AcCarthy 向我描述了他在解放团队上的经验: + + 每个队伍(30至40人)拥有自己的任务、进度,甚至如何定义、构建、发布的过程。 + +团队由4或5个专家组成,包括开发、测试和书写文档等。由团队而不是老板对争论进行仲 + +裁。我无法形容授权和由团队自行负责项目的成功与否的重要性。 + + EarlWheeler,IBM 软件业务的退休主管,告诉我他着手下放IBM 部门长期集权管理权 + +力的经验: + + [近年来]关键的措施是将权力向下委派。这就像是魔术!改进的质量、提高的生产率、 + +高涨的士气。我们的小型团队,没有中心控制。团队是流程的所有者,并且必须拥有一个流 + +程。他们有不同的流程。他们是进度计划的所有者,因此感受到市场的压力。这种压力导致 + +他们使用和利用自己的工具。 + + - 170 - + +----------------------- Page 183----------------------- + + 和团队成员个人的谈话,显示了他们对被委派的权力和自由的赞同,同时也反映出真 + +正的下放显得多少有些保守。不过,授权是朝着正确方向迈出的一大步,它产生了像Pius XI + +所预言的好处:通过权力委派,中心的权威实际上是得到了加强;从整体而言,组织机构实 + +际上更加融洽和繁荣。 + +最令人惊讶的新事物是什么?数百万的计算机 + + 每位我曾交谈过的计算机带头人都承认,对微型计算机革命和它引发的塑料薄膜包装 + +软件产业感到惊讶。毫无疑问,这是继《人月神话》后二十年中最重要的改变。它对软件工 + +程意味着很多。 + + 微型计算机革命改变了每个人使用计算机的方式。Schumacher在20年前,陈述了面对 + +的挑战: + + 我们真正想从科学家和技术专家那里得到什么?我会回答:我们需要这样的方法和设 + +备: + + 价格足够低廉,使几乎所有人都能够使用 + + 适合小型的应用,并且 + + 21 + 满足人们对创造的渴望 。 + + 这些正是微型计算机革命带给计算机产业和它的用户(现在已覆盖到普通公众)的杰 + +出特性。一般人现在不但可以买得起自己的计算机,而且还可以负担20 年前只有国王的薪 + +水才能买得起的软件。Schumacher 的目标值得仔细思考,每个目标达到的程度值得品评, + +尤其是最后一个。在一个一个的领域中,普通人同专家一样可以应用新的自我表达方法。 + + 其他领域中进步的部分原因和软件创造相近——消除了次要的困难。例如,文书处理 + +方式曾经是很僵化的,合并更改内容需要重新打字,成本和时间都比较高昂。一份300 页的 + +手稿,常常每3 到6个月就需要重新输入一遍,这中间,人们往往还不断地产生新文稿。另 + + 22 +外,逻辑流程和语句韵律的修订很难进行。而现在,文书处理已经非常方便和流畅了 。 + + 计算机同样给其他一些领域带来了相似的处理能力,绘画、制订计划、机械制图、音 + +乐创作、摄影、摄像、幻灯、多媒体甚至是电子表格等。在这些领域中,手工操作都需要重 + + - 171 - + +----------------------- Page 184----------------------- + +新拷贝大量的未改变的部分,以便在上下文中区别修改情况。现在我们能享受这样的好处, + +即立刻对结果进行修订和评估,无须失去思维的连贯性,就象分时带给软件开发的好处一样。 + + 同样,新的、灵活的辅助工具增进了创造力。以写作为例,我们现在拥有拼写检查、 + +语法检查、风格顾问、目录生成系统以及对最终排版预览的能力。 + + 最重要的是,当一件创造性工作刚刚成形时,工作介质的灵活性使得对多种彻底不同 + +的可选方案的探索变得容易。这实际上是一个量变引起质变的例子,即时间变化引起工作方 + +式上的巨大变化。 + + 绘图工具使建筑设计人员为每小时的创造性投资展现了更多的选择。计算机与合成器 + +的互联,加上自动生成或者演奏乐谱的软件,使得人们更容易捕获创作的灵感。数字式相机, + +和AdobePhotoshop 一起,使原先在暗室中需要数日的工作在几分钟内就可以完成。电子表 + +格可以对大量“what if”的各种情况进行实验、比较。 + + 最后,个人计算机的普遍存在导致了全新创造性活动介质的出现。Vannevar Bush 在 + +1945 年提出的超文本,仅能在计算机上实现23。多媒体表现形式和体验更是如此——在计算 + +机和大量价格低廉的软件出现以前,实现起来有太多的困难。至于现在并不便宜或普遍的虚 + +拟环境系统,将成为另一个创造性活动的媒介。 + + 微型计算机革命改变了每个人开发软件的方式。70 年代的软件过程本身被微处理器革 + +命和它所带来的科学技术进步所改变。很多软件开发过程的次要困难被消除。快速的个人计 + +算机现在是软件开发者的常规工具,从而周转时间的概念几乎成为了历史。如今的个人计算 + +机不仅仅比1960年的超级计算机要快,而且它比1985年的Unix 工作站还要快。所有这些 + +意味着即使在最差的计算机上,编译也是快速的,而且大内存消除了基于磁盘链接所需要的 + +等待时间。另外,符号表和目标代码可以在内存中保存,从而高级别的调试无需重新编译。 + + 在过去的20 年里,我们几乎全部采用了分时作为构建软件的方法学。在1975 年,分 + +时才刚刚作为最常用的技术替换了批处理计算。网络使软件构建人员不仅可以访问共享文 + +件,还可以访问强大的编译、链接和测试引擎。今天,个人工作站提供了计算引擎,网络主 + +要提供了对文件的共享访问,这些文件作为团队开发的工作产品。客户-服务器系统则使测 + +试用例检入、开发和应用的共享访问更加简单。 + + 同样,用户界面也取得了类似的进步。和一般的文本一样,WIMP 界面对程序文本提供 + + - 172 - + +----------------------- Page 185----------------------- + +了更加方便迅捷的编辑方式。24 行、72 列的屏幕已经被整页甚至是双页的屏幕所取代,因 + +此程序员可以看到所作更改的更多上下文。 + +全新的软件产业——塑料薄膜包装的成品软件 + + 在传统软件产业的旁边,爆发了另一个全新的产业。产品以成千上万,甚至是数百万 + +的规模销售。整套内容丰富的软件包可以以少于开发成本的价格获得。这两个产业在很多方 + +面都不同,它们共同存在着。 + + 传统软件产业。在1975年,软件产业拥有若干可识别的、但多少有些差异的组成部分, + +如今他们依然存在: + + 计算机提供商:提供操作系统、编译器和一些实用程序 + + 应用程序用户:如公共事业、银行、保险、政府机构等,他们为自己使用的软件开 + +发应用程序包。 + + 定制程序开发者:为用户承包开发私用软件包,需求、标准和行销步骤都是与众不 + +同的。 + + 商业包开发者:那个时候是为专业市场开发大型应用,如统计分析和CAD 系统等。 + + Tom DeMarco 注意到了传统软件产业的分裂,特别是应用程序用户。 + + 我没有料到的是:整个行业被分解成各个特殊的领域。你完成某事的方式更像是专业 + +领域的职责,而不仅仅是通用系统分析方法、通用语言、通用测试技术的使用。Ada是最后 + +一个通用语言,并且它已经慢慢变成了一门专业语言。 + + 在日常的商业应用领域中,第4 代语言作出了巨大的贡献。Boehm 说,“大多数成功的 + +第4 代语言是以选项和参数方式系统化某个应用领域的结果。”这些第4 代语言最普遍的情 + +况是带有查询语言、数据库-通讯软件包的应用生成程序。 + + 操作系统世界已经统一了。在1975年,存在着很多操作系统:每个硬件提供商每条产 + +品线最少有一种操作系统,很多提供商甚至有两个。如今是多么的不同啊!开放式系统是基 + +本原则。目前,人们主要在5大操作系统环境上行销自己的应用程序包(按照时间顺序): + + IBM MVS和VM 环境 + + - 173 - + +----------------------- Page 186----------------------- + + DEC VMS 环境 + + Unix 环境,某个版本 + + IBM PC环境,DOS、OS-2 或者Windows + + Apple Macintosh 环境 + + 塑料薄膜包装的成品软件产业。对于这个产业的开发者,面对的是与传统产业完全不 + +同的经济学:软件成本是开发成本与数量的比值,包装和市场成本非常高。在传统内部的应 + +用开发产业,进度和功能细节是可以协商的,开发成本则可能不行;而在竞争激烈的开发市 + +场面前,进度和功能支配了开发成本。 + + 正如人们所预期的,完全不同的经济学引发了非常不同的编程文化。传统产业倾向于 + +被大型公司以已指定的管理风格和企业文化所支配。另一方面,始于数百家创业公司的成品 + +软件产业,行事自由,更加关注结果,而不是流程。在这种趋势下,那些天才的个人程序员 + +更容易获得认可,这隐含了“卓越的设计来自于杰出的设计人员”的观点。创业文化能够对 + +那些杰出人员,根据他们的贡献进行奖励。而在传统软件产业中,公司的社会化因素和薪资 + +管理计划总会使上述做法难以实施。因此,很多新一代的明星人物被吸引到薄膜包装的软件 + +产业,这一点并不奇怪。 + +买来开发——使用塑料包装的成品软件包作为构件 + + 彻底提高软件健壮性和生产率的唯一途径,是提升一个级别,使用模块或者对象组合 + +来进行程序的开发。一个特别有希望的趋势是使用大众市场的软件包作为平台,在上面开发 + +更丰富和更专业化的产品。如使用塑料包装的数据库和通讯软件包来开发货运跟踪系统,或 + +者学生的信息系统等。而计算机杂志上的征文栏目提供了许许多多的Hypercard Stack、 + +Excel 模板、Minicard 的特殊Pascal 函数以及AutoCad 的AutoLisp 函数。 + + 元编程。Hypercard Stack、Excel 模板、Minicard 函数的开发有时被称为元编程 + + (metaprograming),为部分软件包用户进行功能定制的过程。元编程并不是新概念,仅仅 + +是重新被提出和重新命名。在60 年代早期,很多计算机提供商和信息管理系统(MIS)厂商 + +都拥有小型专家小组,他们使用汇编语言的宏来装备应用编程语言。Eastman Kodak 的MIS + +开发车间使用一种用IBM 7080宏汇编定义的自有应用语言。类似的,IBM 的OS/360 队列远 + + - 174 - + +----------------------- Page 187----------------------- + +程通讯访问方法中(Queued Telecommunications Access Method),在遇到机器级别指令之 + +前,人们可以读到若干页汇编语言的通讯程序。现在元编程人员提供要素的规模是宏的若干 + +倍。这种二级市场的开发是非常鼓舞人心的——当我们在期待C++类开发的高效市场时,可 + +重用元程序的市场正在悄无声息地崛起。 + + 它处理的确实是根本问题。因为包开发现象并没有影响到一般的MIS 编程人员,所以 + +对于软件工程领域并不是很明显。不过,它将快速地发展,因为它针对的正是概念结构要素 + +打造的根本问题。成品软件包提供了大型的功能模块和精心定制的接口,它内部的概念结构 + +根本无需再设计。功能强大的软件产品,如Excel或者4thDimension 实际上是大型的模块, + +而且它们作为广为人知、文档化、测试过的模块,可以用来搭建用户化系统。下一级应用程 + +序的开发者可以获得丰富的功能、更短的开发时间、经过测试的组件、良好的文档和彻底降 + +低的成本。 + + 当然,存在的困难是成品软件是作为独立实体来设计,元程序员无法改变它的功能和 + +接口。另外,更严肃地说,对于成品软件的开发者而言,把产品变成更大型系统中的模块似 + +乎没有什么吸引力。我认为这种感觉是错误的,在为元程序员开发提供软件包方面,有一个 + +未开拓的市场。 + + 那么需要什么呢?我们可以识别出四个层次的软件用成品户: + + 直接使用用户。他们以简便直接的方式来操作,对设计者提供的功能和接口感到满 + +意。 + + 元程序员。在单个应用程序的基础上,使用已提供的接口来开发模板或者函数,主 + +要为最终用户节省工作量。 + + 外部功能作者,向应用程序中添加自行编制的功能。这些功能本质上是新应用语言 + +原语,调用通用语言编写的独立模块。这往往需要命令中断、回调或者重载函数技术,向原 + +接口添加新功能。 + + 元程序员,使用一个和多个特殊的应用程序,作为更大型系统的构件。他们是需求 + +并没有得到满足的用户群。同时,这也是能在构建新应用程序方面获得较大收获的用法。 + + 对于成品软件,最后一种类型的用户还需要额外的文档化接口,即元编程接口 + + (metaprogramming interface,MPI)。这在很多方面提出了要求。首先,元程序需要在整 + + - 175 - + +----------------------- Page 188----------------------- + +个软件集的控制之下,而每个软件通常假设是受自己的控制。软件集必须控制用户界面,而 + +应用程序一般认为这是自己的职责。软件整体必须能够调用任何应用程序的功能,就好像是 + +用户使用命令行传递参数那样。它还应该像屏幕一样接受应用程序的输出,只不过屏幕是显 + +示一系列字符串,而它需要将输出解析成适当数据类型的逻辑单元实体。某些应用程序,如 + +FoxPro,提供了一些接收命令的后门接口(wormhole),不过它返回的信息是不够充分和未 + +被解析的。这些接口是对通用解决方案需要的一个特殊补充。 + + 拥有能控制应用程序集合之间交互的脚本语言是非常强有力的。Unix 首先使用管道和 + +标准的ASCII 字符串格式提供了这种功能。今天,AppleScript 是一个非常优秀的例子。 + +软件工程的状态和未来 + + 我曾问过北卡罗来纳州大学化学系的系主任Jim Ferrell 关于化学工程的历史以及和 + +化学的区别的问题,于是他作了一个1小时的出色即兴演说,从很多产品(从钢铁到面包, + +到香水)的不同生产过程开始。他讲述了Arthur D. Little博士如何在1918年在麻省理工 + +学院建立了第一个化学工程系,来发现、发展和讲授所有过程的共有技术基础。首先是经验 + +法则,接着是经验图表,后来是设计特殊零件的公式,再后来是单个导管中热传导、质量转 + +移和动量转移的模型。 + + 如同Ferrell故事所展现的,在几乎50年后,我仍被化学工程和软件工程之间的很多 + +相似之处所震动。Parans 对我写的关于软件工程 (software engineering)的文章提出了 + +批评。他对比了电气工程和软件领域,觉得把我们所做的称为“工程”十分冒昧。他可能是 + +正确的,这个领域可能永远不会发展成像电气工程那样的工程化领域,拥有精确的数学基础。 + +毕竟,软件工程就像化学工程一样,与如何扩展到工业级别处理过程的非线性问题有关。而 + +且,和工业工程类似,它总是被人类行为的复杂性所困扰。 + + 不过,化学工程的发展过程让我觉得“27 岁的”软件工程并不是没有希望的,而仅仅 + +是不够成熟的,就好像1945 年的化学工程。毕竟,在二次世界大战之后,化学工程师才真 + +正提出闭环互联的连续流系统。 + + 今天,软件工程的一些特殊问题正如第1章中所提出的: + + 如何把一系列程序设计和构建成系统 + + - 176 - + +----------------------- Page 189----------------------- + + 如何把程序或者系统设计成健壮的、经过测试的、文档化的、可支持的产品 + + 如何维持对大量的复杂性的控制 + + 软件工程的焦油坑在将来很长一段时间内会继续地使人们举步维艰,无法自拔。软件 + +系统可能是人类创造中最错综复杂的事物,只能期待人们在力所能及的或者刚刚超越力所能 + +及的范围内进行探索和尝试。这个复杂的行业需要:进行持续的发展;学习使用更大的要素 + +来开发;新工具的最佳使用;经论证的管理方法的最佳应用;良好判断的自由发挥;以及能 + +够使我们认识到自己不足和容易犯错的——上帝所赐予的谦卑。 + + - 177 - + +----------------------- Page 190----------------------- + +结束语:令人向往、激动人心和充满乐趣的 + + 五十年(Epilogue Fifty Years of Wonder, + + Excitement, and Joy ) + + 我依然记得那种向往和开心的感觉-当我在1944年8 月7 日读到哈佛大学Mark I型计 + +算机研制成功的报道时-那时候我才 13 岁。Mark I 是电子机械学上的奇迹,哈佛大学的 + +Aiken是它的构架设计师,而IBM的工程师Clair Lake,BenjaminDurfee和Francis Hamilton + +是它的实施设计师。同样令人向往的是读到Vannevar Bush 1945 年4 月发表在亚特兰大月 + +刊上的论文“That We May Think”(我们的期望?)的时候,在这篇论文中,他建议将大量 + +的知识组织成超文本的网络方式,并为用户提供机器从已有的链接以及指明其他的相关链 + +接。 + + 我对计算机的热情在1952 年进一步高涨,因为得到了IBM在纽约恩迪科特的一份暑期 + +工,正是那次,我有了在IBM 604 上编程的实际经验,也了解了如何编制IBM 701 (它的第 + +一个存储程序计算机)程序的正式指令;从哈佛大学Aiken 和Iverson 名下毕业终于让我的 + +职业梦想变成了现实,并且,就这样沉迷了一辈子。感谢上帝,让我成为了为数不多的那些 + +开开心心做着自己喜欢的工作的人之一。 + + 我实在无法想像还有哪种生活会比热爱计算机更加激动人心,自从从真空管发展到集成 + +电路以来,计算机技术已经飞速发展。我用来工作的第一台计算机,是从哈佛刚刚出炉的 + +IBM7030 Stretch 超级计算机,Stretch 在1961 到1964 年间都是世界上运算速度最快的计 + +算机,一共卖出了9 台。而我现在用的计算机,Macintosh Powerbook,不但快,还有大容 + +量内存和大容量硬盘,而且便宜了1000倍(如果按定值美元来算,便宜了5000 倍)。我们 + +依次看到了计算机革命,电子计算机革命,小型计算机革命,微型计算机革命,这些技术上 + +的革命每一次都带来了计算机数量上的剧增。 + + 在计算机技术进步的同时,计算机相关学科知识也在飞速发展。当我在五十年代刚从 + +学校毕业的时候,我能看完当时所有的期刊和会议报告,掌握所有的潮流动向。而我现在只 + +能对层出不穷的学科分支遗憾地说“再见”,对我所关注的东西也越来越难以全部掌握。兴 + +趣太多,令人兴奋的学习、研究和思考的机会也太多——多么不可思议的矛盾啊!这个神奇 + + - 178 - + +----------------------- Page 191----------------------- + +的时代远远没有结束,它依然在飞速发展。更多的乐趣,尽在将来。 + + - 179 - + +----------------------- Page 192----------------------- + + 注解和参考文献(Notes and References) + +第1 章 + +1. Ershov 认为编程是一种乐趣和苦恼共存的活动。A.P. Ershov, “Aesthetics and the human + + factor in programming,” CACM, 15,7(July,1972), pp. 501-505. + +第2 章 + +1. Bell 电话实验室的V.A. Vyssotsky 估计一个大项目必须维持每年30%的人员投入. 这导致 + + 了巨大的压力, 甚至是限制了在第7 章中, 所讨论的根本、非正式结构和沟通的演化. + + 麻省理工学院的F.J. Corbató指出, 一个长期的项目必须预见到每年有20%的人员更替, + + 这必须进行技术上进行培训以及集成到原有的结构. + +2. International Computers Limited 的C. Portman 提出: “当所有的一切看上去可以工作, 已经 + + 被集成时, 你至少还有4 个多月的工作需要完成.” 在Wolverton, R. W., “The cost of + + developing lage-scale software,” IEEE Trans. on Comp uters, C-23, 6(June, 1974) pp.615-636 + + 提出了若干其他的进度划分. + +3. 图2.5 至2. 8 出自Jerry Ogdin, 他引用了这章的早期版本, 必须改进相应的描述. Ogdin, J. + + L., “The Mongolian hordes versus superprogrammer,” Infosystems (Dec., 1972), pp.20-23。 + +第3 章 + +1. Sackman, H., W. J. Erikson, and E. E. Grant, “Exploratory experimental studies comparing + + online and offline programming performance,” CAM, 11, 1(Jan., 1968), pp. 3-11. + +2. Mills, H., “Chief programmer teams, principles, and procedures,” IBM Federal Systems + + Division Report FSC 715108, Gaitherburg, Md., 1971 + +3. Baker F. T., “Chief programmer team management of production programming,” IBM Sys. J. + + 11, 1 (1972). + + - 180 - + +----------------------- Page 193----------------------- + +第4 章 + +1. Eschapasse, M., Reims Cathedral, Caisse Nationale des Monuments Historiques, Paris, 1967. + +2. Brooks, F. P., “Architectural philosophy,” in W. Buchholz(ed.), Planning A Computer System. + + New York: McGraw-Hill, 1962. + +3. Blaauw, G.. A., “Hardware requirements for the fourth generation,” in F. Gruenberger (ed.), + + Fourth Generation Computers. Englewood Cliffs, N. J.: Prentice-Hall, 1970. + +4. Brooks, F. P., and K. E. Iverson, Automatic Data Processing, System/360 Edition. New York: + + Wiley, 1969, Chapter 5. + +5. Glegg G. L., The Design of Design. Cambridge: Cambridge Univ. Press, 1969, 提出“乍一看, + + 用任何规则或者原理来约束创造性思维的想法是一种阻碍, 而不是帮助, 但实际情况中 + + 完全不是这样. 规范的思维实际上是促进而不是阻碍了灵感的产生.” + +6. Conway, R. W., “The PL/C Compiler,” Proceedings of a Conf. on Definition and + + Implementation of Universal Programming Languages. Stuttgard, 1970. + +7. 关于编程技术必要性的讨论, 参见 C. H. Reynolds, “What's wrong with computer + + programming management?” in G. F. Weinwurm (ed.). On the Management of Computer + + Programming. Philadelphia: Auerbach, 197.1 pp. 35-42. + +第5 章 + +1. Strachey C., “Review of Planning a Computer System”, Comp. J., 5, 2 (July, 1962), pp. + + 152-153. + +2. 这仅仅适用于控制程序. OS/360 项目中的一些编译器开发团队正构建他们的第三个或第 + + 四个系统, 他们卓越的产品展示了这一点. + +3. Shell, D. L., “The Share 709 systems: a cooperative effort”; Greenwald, I. D., and M. Kane, + + “The Share 709 system: programming and modification”; Boehm E. M., and T. B. Steel, Jr. + + “The Share 709 system: machine implementation of symbolic programming”; all in JACM, 6, + + 2(April, 1959), pp. 123-140. + + - 181 - + +----------------------- Page 194----------------------- + +第6 章 + +1. Neustadt R. E., Presidential Power. New York: Wiley, 1960, Chapter 2. + +2. Backus J. W., “The syntax and semantics of the proposed international algebraic language.” + + Proc. Intl. Conf. Inf. Proc. UNESCO, Paris, 1959, published by R. Oldenbourg, Munich, and + + Butterworth, London. Besides this, a whole collection of papers on the subject is contained in + + T. B. Steel, Jr. (ed.). Formal Language Description Languages for Comp uter Programming. + + Amsterdam: North Holland, 1966. + +3. Lucas, P., K. Walk, “On the formal description of PL/I” Annual Review in Automatic + + Programming Language. New York: Wiley, 1962. Chapter 2, p. 2. + +4. Iverson K. E. A Programming Language. New York: Wiley, 1962. Chapter 2. + +5. Falkoff A. D., K. E. Iverson, E. H. Sussenguth, “A formal description of System/360,” IBM + + Systems Journal. 3, 3,(1964), pp. 198-261. + +6. Bell C. G., A. Newell, Comput er Structures. New York: McGraw-Hill, 1970, pp. 120- 136, + + 517-541. + +7. Bell, C. G.., private communication. + +第7 章 + +1. Parnas D. L., “Information distribution aspects of design methodology,” Carnegie-Mellon + + Univ., Dept. of Computer Science Technical Report, February, 1971. + +2. Copyright 1939, 1940 Street & Smith Publications, Copyright 1950, 1967 by Robert А. + + Heinlein. Published by arrangement with Spectrum Literary Agency. + +第8 章 + +1. Sackman ,H., W. J. Erikson, and E. E. Grant, “Exploratory experimentation studies comparing + + online and offline programming performance,” CACM, 11, 1( Jan. 1968), 11, pp. 3-11. + +2. Nanus, B., and L. Farr, “Some cost contributors to large-scale programs,” AFIPS Proc. SJCC, + + 25(Spring, 1964), pp. 239-248. + +3. Weinwurm, G. F., “Research in the management of computer programming,” Report SP-2059, + + - 182 - + +----------------------- Page 195----------------------- + + System Development Corp. Santa Monica, 1965. + +4. Morin, L. H., “Estimation of resources for computer programming projects,” M. S. thesis. + + Univ. Of North Carolina, Chapel Hill, 1974. + +5. Portman, C., private communication. + +6. 一份未发表的E. F. Bardain1964 研究指出程序员实际的生产时间占27%. (为D. B. Mayer + + and A. W. Stalnaker 所引用, “Selection and evaluation of computer personnel, ” Proc. 23d + + ACM Conf., 1968, p. 661.) + +7. Aron, J. , Private communication. + +8. 材料在小组会议中给出, 没有包括于the AFIPS Proceedings. + +9. Wolverton, R. W. “The cost of developing large-scale software,” IEEE Trans. On Computers. + + C-23, 6, (June,1974), pp. 615-636. 这篇重要新近发表的文章包含的数据核实了生产率 + + 方面的结论, 同时还有许多所讨论问题的数据. + +10. Corbató, F. J. “Sensitive issues in the design of multi-use systems,” 在好莱坞EDP 技术中心 + + 1968 年的公开演讲. + +11. W. M. Taliaffero 同时指出了在Fortran 和Cobol 编译器方面的生产率为2400 语句/年. 参 + + 见“ Modularity. The key to system growth potential,” Sof tware, 1, 3. (July, 1971), pp. + + 245-257. + +12. E. A. Nelson’s System Development Corp. Report TM-3225, Management Handbook for + + Estimation of Computer Programming Costs, 尽管标注有较大的背离, 仍然显示了高级语 + + 言带来了1 至3 倍生产率的提高(pp. 66-67). + +第9 章 + +1. Brooks F. P., and K. E .Iverson, Automatic Data Processing, System/360 Edition. New York: + + Wiley, 1969. Chapter 6. + +2. Knuth, D. E., The Art of Computer Programming. Vols. 1 - 3. Reading, Mass.: + + Addison-Wesley, 1968. ff. + +第10 章 + +1. Conway, M. E., “How do committees invent? ” Datamation. 14,4(April. 1968 ), pp. 28-31. + + - 183 - + +----------------------- Page 196----------------------- + +第11 章 + +1. 在Oglethorpe 大学1932 年5 月22 号的演讲. + +2. 描述了Multics 在两个成功系统上所获得经验的书籍是F. J. Corbató, J. H. Saltzer, and C. T. + + Clingen, “Multics-the first seven years,” AFIPS Proc SJCC. 40(1972), pp. 571-583. + +3. Cosgrove, J., “Needed: a new planning framework,” Datamation, 17, 23(Dec.1971 ), pp. + + 37-39. + +4. 设计变更的问题是很复杂的, 这里我过于简化了. 参见J. H. Saltzer “Evolutionary design + + of complex systems,” in D. Eckman (ed.), Systems: Research and Design. New York: Wiley, + + 1961. 当所有的事被提出和完成, 我依然提倡构建一个被抛弃的实验性系统. + +5. Campbell, E., “Report to the AEC Computer Information Meeting,” December, 1970. 该现象 + + 同时有J. L. Ordin 在“Designing reliable software,” Datamation. 18, 7(. July. 1972), pp. + + 71-78 中讨论. 至于曲线是否会再次下降, 我的具有丰富检验的朋友们各执己见. + +6. Lehman, M., and L. Belady, “Programming systems dynamics,” given at the ACM SIGOPS + + Third Symposium on Operating Systems Principles ,October, 1971. + +7. Lewis, C. S., Mere Christianity. New York: Macmillan, 1960, p. 54. + +第12 章 + +1. 参见J. W. Pomeroy, “A guide to programming tools and techniques,” IBM Sys. J., 11,3(1972), + + pp. 234-254. + +2. Landy B., R. M. Needham, “ Software engineering techniques used in the development of the + + Cambridge Multiple-Access System” Software, 1,2 (April, 1971), pp. 167-173. + +3. Corbato F. J. , “PL/I as a tool for system programming” Datamation, 15, 5(May, 1969), pp. + + 68-76. + +4. Hopkins, M., “Problems of PL/I for system programming” IBM Research Report RC 3489. + + Yorktown Heights, N. Y., August 5, 1971. + +5. Corbato F. J., J. H. Saltzer, and C. T. Clingen, “MULTICS - the first seven years”, AFIPS Proc + + SJCC, 40(1972) pp. 571-582. “出于达到最优性能的原因, 仅有半打使用PL/L 编程的领 + + 域重新用汇编进行了改写. 许多最初使用机器语言编写的程序都用PL/L 重新编写,译提 + + 高它们的可维护性.” + + - 184 - + +----------------------- Page 197----------------------- + +6. 引用Corbato 论文中的参考资料3: "PL/I is here now and the alternatives are still untested". + + 同时,书写良好的提出反面意见的文章, 参见 Henricksen J. O. and R. E. Merwin, + + “Programming language efficiency in real-time software systems”, AFIPS Proc SJCC. + + 40(1972). pp. 155-161. + +7. 并不是所有人都同意. 在一次私下的交流中, Harlan Mills 说: “我的经验开始告诉我, 在 + + 产品开发中, 将秘书安排到终端面前. 其思想是使编程成为在众多团队成员监督下, 更 + + 加大众化的实践, 而不是一项专有的技术..” + +8. Yarr J., “Programming Experience for the Number 1 Electronic Switching System,” paper + + given at the 1969 SJCC. + +第13 章 + +1. Vyssotsky V. A., 在Chapel Hill, N. C1972 年举办的计算机程序测试方法讨论会“Common + + sense in designing testable software”. Vyssitsky 的大多数演讲收录在Hetzel, W. C. (ed.), + + Program Test Methods. Englewood Cliffs, N. J.: Prentice-Hall, 1972. pp. 41-47. + +2. Wirth, N., “Program development by stepwise refinement,” CACM 14, 4(April, 1971) pp. + + 221-227. 参见Mills, H., “Top-down programming in large systems,” in R. Rustin (ed.). + + Debugging Techniques in Large Systems. Englewood Cliffs, N. J.: Prentice-Hall, 1971, pp. + + 41-55; and Baker F. T., “System quality through structured programming,” AFIPS Proc FJCC. + + 41-I(1972), pp. 339-343. + +3. Dahl O. J., E. W. Dijkstra, and C. A. R. Hoare, Structured programming. London and New + + York: Academic Press, 1972. 该专栏包括了最完整的讨论处理. 参见 Dijkstra 的书信 + + “GOTO statement considered harmful,” CACM., 11,3(March, 1968), pp. 147-148. + +4. Bohm C.,and A. Jacopini, “Flow diagrams, Turing machines, and languages with only two + + formation rules,” CACM., 9, 5(May, 1966), pp. 366-371. + +5. Codd E. F., E. S. Lowry, E. McDonough, and C. A. Scalzi, “Multiprogramming STRETCH: + + Feasibility considerations,” CACM., 2, 11(Nov., 1959), pp. 13-17. + +6. Strachey, C., “Time sharing in large fast computers,” Proc. Int. Conf. on Info. Processing. + + UNESCO (June, 1959), pp. 336-341. 参见 Codd 在p.341 上的评论, 他汇报了类似于 + + Strachey 论文中所建议工作的进展. + + - 185 - + +----------------------- Page 198----------------------- + +7. Corbato F. J., M. Merwin-Daggett, and R. C. Daley “An experimental time-sharing system,” + + AFIPS Proc SJCC., 2, (1962), pp. 335-344. 重印于S. Rosen, Programming Systems and + + Languages. New York: McGraw-Hill, 1967, pp. 683- 698. + +8. Gold, M. M., “A methodology for evaluating time-shared computer system usage,” Ph. D. + + dissertation. Carngie-Mellon University, 1967, p. 100. + +9. Gruenberger, F., “Program testing and validating,” Datamation., 14,7 (July, 1968), pp. 39-47. + +10. Ralston, A., Introduction to Programming and Computer Science. New York: McGraw-Hill, + + 1971. pp. 237-244. + +11. Brooks F. P., and K. E. Iverson, Automatic Data Processing, System/360 Edition. New York: + + Wiley, 1969, pp. 296-299. + +12. 一种良好的规格说明开发和系统构建及测试处理方法由 F. M. Trapnell 提出, “A + + systematic approach to the development of system programs,” AFIPS Proc SJCC, 34, (1969), + + pp. 41-48. + +13. 实时系统需要环境仿真器. 例子参见M. G. Ginzberg, “Notes on testing real-time system + + programs,” IBM Sys. J., 4, 1(1965), pp. 58-72. + +14. Lehman, M., and L. Belady, “Programming systems dynamics,” 提出于ACM SIGOPS Third + + Symposium on Operating Systems Priciples, October, 1971. + +第14 章 + +1. See C. H. Reynolds, “What's wrong with computer programming management?” in G. F. + + Weinwurm (ed.), On the Management of Comp uter Programming. Philadelphia: Auerbach, + + 1971, pp. 35-42. + +2. King, W. R., and T. A.Wilson, “Subjective time estimates in critical path planning-a + + preliminary analysis,” Mgt. Sci., 13, 5(Jan., 1967), pp. 307-320, and sequel, W.R. King, D. M. + + Witterrongel, K. D. Hezel, “On the analysis of critical path time estimating behavior,” Mgt. + + Sci., 14,1(Sept., 1967), pp. 79-84. + +3. 更详细的讨论, 参见 Brooks, F. P., and K. E. Iverson, Automatic Data Processing, + + System/360 Edition. New York: Wiley, 1969. P. 428-230. + +4. Private communication. + + - 186 - + +----------------------- Page 199----------------------- + +第15 章 + +1. Goldsteine H. H., and J. von. Neumann, 在为U.S. Army Ordinance Department, 1947; 所提 + + 交的报告中“Planning and coding problems for en electronic computing instrument,” Part II, + + Vol. 1.; 并在J. von. Neumann, “Collected Works,”中重新发表A. H. Taub (ed.). Vol. v., + + New York: Macmillan. P. 80-151. + +2. Private communication, 1957. 该观点在Iverson, K. E., “The use of APL in Teaching,” + + Yorktown, N.Y.: IBM Corp., 1969 中提出. + +3. PL/I 的另外一个例子由B. Walter and M. Bohl, 在“From better to best - tips for good + + programming,” Software Age, 3, 11(Nov., 1969), pp. 46-50 中提出. 相同的技术可以使用在 + + Algol 中, 甚至还有一个 Fortran 格式的程序”STYLE”来达到上述效果. 参见 D. D. + + McCracken, and G. M. Weinberg, “How to write a readable FORTRAN program,” + + Datamation, 18, 10(Oct., 1972), pp. 73-77. + +第16 章 + +1. 提名为"No Silver Bullet"的论文源自于Information Processing 1986, 由H. –J. Kugler + + (1986)所编辑的the Proceedings of the IFIP Tenth World Computing Conference, pp. 1069-76. + + 在IFIP 和Elsevier Science B. V., Amsterdam, The Netherlands 的获准后重印. + +2. Parnas, D. L., “Designing software for ease of extension and contraction,” IEEE Trans on SE, + + 5, 2 (March, 1979), pp. 128-138. + +3. Booch, G., “Object-oriented design,” Software Engineering with Ada. Menlo Park, Calif.: + + Benjamin/Cummings, 1983. + +4. Mostow, J., ed., Special Issue on Artificial Intelligence and Software Engineering, IEEE Trans. + + on SE, 11, 11 (Nov., 1985). + +5. Parnas, D. L., “Software aspects of strategic defense systems,” Communications of the ACM, + + 28, 2 (Dec., 1985), pp. 1326-1335. Also in American Scientist, 73,5 (Sept.-Oct., 1985), pp. + + 432-440. + +6. Balze , R., “A 15-year perspective on automatic programming,” 在Mostow, 引文中. + +7. Mostow, 引文. + +8. Parnas, 1985, 引文. + + - 187 - + +----------------------- Page 200----------------------- + +9. Raeder, G., “A survey of current graphical programming techniques,” in R. B. Grafton and T. + + Ichikawa, eds., Special Issue on Visual Programming, Computer, 18, 8 (Aug., 1985), pp. 11 + + -25. + +10. 该题目在本书的第15 章有所讨论. + +11. Mills, H., “Top-down programming in large systems,” Debugging Techniques in Large + + Systems, R. Rustin, ed., Englewood Cliffs, N. J.: Prentice-Hall, 1971. + +12. Boehm, B. W., “A spiral model of software development and enhancement,” Computer, 20, 5 + + (May, 1985), pp. 43-57. + +第17 章 + +未被引用的材料源自于私下交流. + +1. Brooks, F. P., “No silver bullet - essence and accidents of software engineering,” in + + Information Processing 86, H. J. Kugler ed., Amsterdam: Elsevier Science, (North Holland), + + 1986, pp. 1069-1076. + +2. Brooks, F. P., “No silver bullet - essence and accidents of software engineering,” Computer, + + 20, 4 (Apr., 1987), pp. 10-19. + +3. 许多信件和一些回复, 出现在the July, 1987 issue of Computer . + + 非常高兴地看到《没有银弹》没有接受任何大奖, Bruce M. Skwiersky’s 的评论作为 + + Computer Reviews 在 1988 年选出的最佳评论. Е. А. Weiss, “Editorial,” Computer + + Reviews (June, 1988), pp. 283-284, 均宣布了上述评论的获奖情况和重新提出了 + + Skwiersky 的观点. 该评论有一个重大的错误: “sixfold”应该为“106”. + +4. “根据经院哲学中亚里士多德提出, 次要(accident)是不属于事物必要或者根本的属性, + + 而是作为其他原因引起的后果. Webster's New International Dictionary of the English + + Language, 2d ed., Springfield, Mass.: G. C. Merriam, 1960. + +5. Sayers, D. L., The Mind of the Maker. New York: Harcourt, Brace, 194. + +6. Glass, R. L., and S. A. Conger, “Research software talks: Intellectual or clerical?” Info rmation + + or Management, 23, 4 (1992). 作者提出关于软件需求的度量结果是80%的智力和20%的 + + 书记工作. Fjelstadt and Hamlen, 1979, 对应用软件维护得到了相同的结果. 对于完整的 + + 任务而言, 据我所知还没有类似的测量. + + - 188 - + +----------------------- Page 201----------------------- + +7. Herzberg, F., B. Mausner, and B. B. Sayderman. The Motivation to Work, 2nd ed. London: + + Wiley, 1959. + +8. Cox, B. J., “There is a silver bullet,” Byte (Oct., 1990), pp. 209-218. + +9. Harel, D., “Biting the silver bullet: Toward a brighter future for system development,” + + Computer (Jan., 1992), pp. 8-20. + +10. Parnas, D. L., “Software aspects of strategic defense systems,” Communication of the ACM, + + 28, 12 (Dec., 1985), pp. 1326-1335. + +11. Turski, W. M., “And no philosophers' stone, either,” in Information Processing 86, H. J. + + Kugler ed., Amsterdam: Elsevier Science, North Holland, 1986, pp. 1077-1080. + +12. Glass, R. L., and S. A. Conger, “Research software tasks: Intellectual or clerical?” Information + + and Management, 23, 4 (1992), pp. 183-192. + +13. Review of Electronic Digital Comp uters, Proceedings of a Joint AIEEIRE Comp uter + + Conference (Philadelphia, Dec. 10-12, 1951). New York: American Institute of Electrical + + Engineers. pp. 13-20. + +14. Ibid., pp. 36, 68, 71, 97. + +15. Proceedings of the Eastern Joint Computer Conference, (Washington, Dec. 8-10, 1953). New + + York: Institute of Electrical Engineers. pp. 45-47. + +16. Proceedings of the 1955 Western Joint Comp uter Conference, (Los Angeles, March 1 -3, + + 1955). NewYork: Institute of Electrical Engineers. + +17. Everett, R. R., C. A. Zraket, and H. D. Bennington, “SAGE - a data processing system for air + + defense,” Proceedings of the Eastern Joint Computer Conference (Washington, Dec. 11-13, + + 1957). NewYork: Institute of Electrical Engineers. + +18. Harel D., Lachover H., Haamad A., Pnueli A., Politi M., Sherman R., Shtul-Traurig A. + + “Statemate: A working environment for the development of complex reactive systems,” IEEE + + Trans. on SE, 16, 4 (1990), pp. 403-444. + +19. Jones, C., Assessment and Control of Software Risks. Engltwood Cliffs, N. J.: Prentice-Hall, + + 1994. p. 619. + +20. Coqui, H., “Corporate survival: The software dimension,” Focus '89, Cannes, 1989. + +21. Coggins, J. M., “Designing C++ libraries,” C++ Journal. 1, 1 (June, 1990), pp. 25-32. + +22. 时态是将来时, 我所了解到的是, 没有类似关于第15 次应用的报告. + + - 189 - + +----------------------- Page 202----------------------- + +23. Jones, 引文, p. 604. + +24. Huang, Weigiao, “Industrializing software production,” Proceedings ACM 1988 Comp uter + + Science Conference. 1988. Atlanta. 我觉得在类似的安排中, 缺乏个人工作机会的增长. + +25. 关于重用的整个IEEE Software1994 年9 月期刊. + +26. Jones, 引文, p. 323. + +27. Jones, 引文, p. 329. + +28. Yourdon, E., Decline and Fall of the American Programmer. Englewood Cliffs, N. J.: + + Yourdon Press, 1992. p. 22. + +29. Glass, R. L., “Glass” (专栏), System Development. (Jan., 1988), pp. 4-5. + +第18 章 + +1. Boehm, B. W., Softw are Engineering Economics. Englewood Cliffs, N. J.: Prentice-Hall, 1981. + + p. 81-84. + +2. McCarthy, J., “21 Rules for Delivering Great Software on Time,” Software World USA + + Conference, Washington (Sept. 1994). + +第19 章 + +未被引用的材料源自于私下交流. + +1. 关于这个痛苦的话题, 参见Niklaus Wirth “A plea for lean software,” Computer, 28, 2 (Feb., + + 1995), pp. 64-68. + +2. Coleman, D., “Word 6.0 packs in features; update slowed by baggage,” MacWeek, 8, 38 (Sept. + + 26, 1994) , p. 1. + +3. 在发布安装之后, 一些机器语言和编程语言命令的概率数据被发表. 例子可参见 J. + + Hennessy and D. Patterson, Computer Architecture. 尽管这些概率数据从不会精确匹配, + + 但对构建后续的产品非常有用. 据我所知, 在产品设计之前没有任何书面的概率估计, + + 事先估计和实际情况的比较就更少. Ken Brooks 建议即使只有少数人会作出答复, 现在 + + Internet 上的公告牌为提供成本更低廉的方法, 从新产品的预期用户获取数据. + +4. Conklin, J., and M. Begeman, “gIBIS: A hypertext Tool for Exploratory Policy Descussion,” + + ACM Transactions on Office Inform ation Systems, Oct. 1988. p. 303-331. + + - 190 - + +----------------------- Page 203----------------------- + +5. Englebart, D., and W. English, “A research center for augmenting human intellect,” AFIPS + + Conference Proceedings, Fall Joint Computer Conference. San Francisco (Dec. 9-11, 1968). p. + + 395-410. + +6. Apple Computer, Inc., Macintosh Human Interface Guidelines, Reading, Mass.: + + Addison-Wesley, 1992. + +7. Apple Desk Top Bus 在电气上可以控制两个鼠标, 但操作系统并未提供类似功能. + +8. Royce, W. W., 1970. “Managing the development of large software system, s: Concepts and + + techniques,” Proceedings, WESCON (Aug., 1970). 在ICSE 9 Proceedings 上重新发表. + + Royce 和其他人均认为软件过程从始至终不修订前期文档是不可能的; 模型是作为理想 + + 情况和概念提出的. D. L. Parnas, and P. C. Clements, “A rational design process: How and + + why to fake it,” IEEE Transactions on Software Engineering, SE-12, (Feb., 1986), p. 251-257. + +9. DOD-STD-2167 重新制订的工作产生了DOD-STD-2167A (1988), 它允许但并为制订新 + + 的模型如螺旋模型等. Boehm报告指出: 不幸的是, 2167A 所参考的军标MILSPECS 和说 + + 明性的例子依然是面向瀑布模型的, 因此依然继续使用瀑布模型. Larry Druffel 和George + + Heilmeyer 所领导的国防科学委员会(Defence Science Board Task Force), 在他们1994 年 + + 的报告“Report of the DSB task force on acquiring defense software commercially”中曾提倡 + + 大规模的使用更现代的模型. + +10. Mills, H., “Top-down programming in large systems,” in Debugging Techniques in Large + + Systems, R.Rustin ed., Englewood Cliffs, N. J.: Prentice-Hall, 1971. + +11. Parnas, D. L., “On the design and development of program families,” IEEE Trans. on + + Software Engineering, SE-2, 1 (March, 1976), p. 1-9; Parnas, D. L., “Designing software for + + ease of extension and construction,” IEEE Trans. on Sof tware Engineering, SE-5, 2 (March, + + 1979), p. 128-138. + +12. D. Harel, “Biting the silver bullet,” Computer , (Jan., 1992), p. 8-20. + +13. 信心隐藏方面的开创性文章是: Parnas, D. L., “Information distribution aspects of design + + methodology,” Carnegie-Mellon Univ., Dept. Of C omputer Science Technical Report. (Feb., + + 1971); Parnas D. L., “A technique for software module specification with examples,” Comm. + + ACM, 5, 5 (May, 1972), p. 330-336; Parnas, D. L. (1972). “On the criteria to be used in + + decomprosing systems into modules,” Comm. ACM, 5, 12 (Dec., 1972), p. 1053-1058. + +14. 对象的思想首先由Hoare and Dijkstra 提出, 但是第一个和最有影响力的案例是Dahl and + + - 191 - + +----------------------- Page 204----------------------- + + Nygaard 发明的Simula-67 语言. + +15. Boehm, B. W., Softw are Engineering Economics. Englewood Cliffs, N. J.: Prentice-Hall, 1981. + + pp. 83-94; 470-472. + +16. Abdel-Hamid, T., and S. Madnick, Software Project Dynamics: An Integrated Approach. Ch. + + 19, “Model enhancement and Brooks's law.” Englewood Cliffs, N. J.: Prentice-Hall, 1991. + +17. Stutzke, R. D., “A mathematical expression of Brooks's Law,” In Ninth International Forum + + on COCOMO and Cost Modeling. Los Angeles, 1994. + +18. DeMarco, T., and T. Lister, Peopleware: Productive Projects and Teams. New York: Dorset + + House, 1987. + +19. Pius XI, Encyclical Quadragesimo Anno, [Ihm, Claudia Carlen. (ed.). The Papa l Encyclicals + + 1903-1939. Raleigh, N. C.: McGrath. P. 428.] + +20. Schumacher, E. F., Small Is Beautiful: Economics as if Peop le Mattered. Perennian Library + + Edition. New York: Harper and Row, 1973. P. 244. + +21. Schumacher, 引文, p. 34. + +22. 一则发人深醒的海报声称: “言论自由属于拥有它们的人.” + +23. Bush, V., “That we may think,” Atlantic Monthly, 176, 1 (Apr., 1945), p. 101-108. + +24. Unix 的发明人Кen Тhompson of Bell Labs 很早就认识到大屏幕对编程的重要性. 他在他 + + 原始的Tektronix 电子显象管上发明了在两列中显示120 行代码的方法. 他在整个高速显 + + 象管和小型窗口的时代中坚持使用该终端. + + - 192 - + +----------------------- Page 205----------------------- + + 索引(Index ) + + 英文 中文 英文 中文 + +Abdel-Hamid, T. N/A assembler 汇编 + +abstract data type 抽象数据类型 authority 权威 + +accident 次要 AutoCad AutoCad 软件 + +accounting 管理 AutoLisp AutoLisp 语言 + +Ada Ada 语言 automatic 自动编程 +administrator 管理员 programming + +Adobe Photoshop N/A +advancement, dual 两条职位晋升线 Bach, J.S. N/A + +ladder of Backus, J. W. N/A + +advisor, testing 测试顾问系统 Backus-Naur Form 巴科斯范式 + +Aiken, H. H. N/A Backer, F. T. N/A + +aiplane-seat metaphor “飞机坐舱座椅”比 Balzer, R. N/A + 喻 Bardain, E. F. N/A + +Algol Algol 语言 barrier, sociological 社会性障碍 + +algorithm 算法 Begeman, M. N/A + +allocation, dynamic 动态内存分配 Belady, L. N/A +memory Bell Northern Bell 北方研究所 + +alpha test alpha 测试 Research + +alpha version alpha 版本 Bell Telephone Bell 电话实验室 + +Alto personal Alto 个人工作站 Laboratories +workstation Bell, C. G. N/A + +ANSI 美国国家标准化组织 Bengough, W. N/A + +APL APL 语言 Bennington, H. D. N/A + +Apple Computer, inc. 美国Apple 计算机公 beta version beta 版本 + 司 Bible 圣经 + +Apple Desk Top Bus Apple 桌面总线 Bierly, R. N/A + +Apple Lisa Apple Lisa 型计算机 Blaauw, G. A. N/A + +Apple Macintosh Apple Macintosh 型 Bloch, E. N/A + 计算机 Blum, B. N/A + +AppleScript AppleScript 语言 Boehm, B. W. N/A + +architect 体系结构师 Boehm, E. M. N/A + +architecture 体系结构 Boes, H. N/A + +archive, chronological 根据时间顺序归档 Bohl, M. N/A + +aristocracy 贵族专政 Bohm, C. N/A + +Aristotle 亚里士多德 Booch, G. N/A + +Aron, J. N/A Boudot-Lamotte, E. N/A + +ARPA network ARPA 网络 brass bullet 铜质子弹 + +artifical intelligence 人工智能 breakthrough 突破 + + - 193 - + +----------------------- Page 206----------------------- + + 英文 中文 英文 中文 + +Breughel, P. , the N/A cathedral 大教堂 +Elder change summany 变更小结 + +Brooks’s Law Brooks 法则 change 变更 + +Brooks, F. P. Jr. N/A control of 变更控制 +Brooks, K. P. N/A design 设计 +Brooks, N. G. N/A organization 组织机构 + +Buchanan, B. N/A changeability 可变性 + +Buchholz, W. N/A channel 通道 + +budget 预算 chemical engineering 化学工业 + + access 访问 chief programmer 首席程序员 + + size 规模 ClarisWorks N/A + +bug N/A class 类 + documented 文档化 Clements, P. C. N/A + +Build-every-night “每晚重建”方法 clerk, program 程序职员 +approach client-server system 客户机-服务器系统 + +build, incremental 增量式开发 Clingen, C. T. N/A + system 系统 COBOL COBOL 语言 + +build-to-budget 按预算开发的策略 Codd, E. F. N/A +strategy Coding War Games Coding War Gamesx + +build-up, manpower 内建,人力 项目 + +building a program 构建程序 coding 编码 + +bullet, brass 铜质子弹 Coggins, J. M. N/A + silver 银弹 Coleman, D. N/A + +Burke, E. N/A command key 命令键 + +Burke, A. W. N/A command 命令 + +Bush, V. N/A comment 评论 + +Butler, S. N/A committee 委员会 + +buy versus build 购买和自行开发 communication 交流、沟通 + + compatibility 兼容性 +C++ C++语言 compile-time 编译操作 + +Cambridge 剑桥多重访问系统 operation +Multiple-Access compiler 编译器 +System complexity 复杂度 + +Cambridge University 剑桥大学 arbitrary 任意的、随意的 + +Campbell, E. N/A conceptual 概念复杂度 + +Canova, A. N/A component debugging 单元测试 + +Capp, A. N/A component 构件、组件 + +Carnegie-Mellon 卡内基-梅隆大学 dummy 伪构(组)件 +University comprehensibility 理解程度 + +CASE statement CASE 语句 computer facility 计算机设施 + +Case, R. P. N/A conceptual construct 概念性结构要素 + +Cashman, T. J. N/A conceptual integrity 概念完整性 + + - 194 - + +----------------------- Page 207----------------------- + + 英文 中文 英文 中文 + +conceptual structure 概念结构 database 数据库 + +conference 大会 datatype, abstract 抽象数据类型 + +conformity 一致性 date, estimated 估计日期 +Conger, S. A. N/A scheduled 计划日期 + +Conklin, J. N/A debugging aid 调试辅助程序 + +control program 控制程序 debugging, 构件单元测试 +convergence of 调试的收敛性 component, 高级语言 +debugging high-level 交互式 +Conway, M. E. N/A language, 本机调试 +Conway, R. W. N/A interactive, 次序特性 +Cooley, J. W. N/A on-machine, 系统集成调试 +copilot 副手 sequential nature +Coqui, H. N/A of, +Corbato, F. J. N/A system + +Cornell University 康奈尔大学 DEC PDP-8 DEC PDP-8 型计算 + 机 +Cosgrove, J. N/A +cost 成本 DEC VMS operating DEC VMS 操作系统 +cost, development 开发成本 system + + front-loaded 先行投入 DECLARE DECLARE 语句 + +courge, managerial 管理勇气 Defense Science 国防科学委员会军事 + Board Task Force on 软件工作组 +court, for design 仲裁设计分歧的会议 + Military Software +disputes + Defense Science 国防科学委员会 +Cox, B. J. N/A + Board +Crabbe, G. N/A +creation, component 构件阶段的创造 DeMarco, T. N/A + + democracy 民主政治 +stages +creative joy 创造的乐趣 Department of 国防部 + Defense +creative style 创造性 +creative work 创造性工作 dependability of 可靠的调试平台 +creativity 创造力 debugging vehicle + + description; See 描述,参见规格说明 +critical-path schedule 关键路径进度 + specification +Crockwell, D. N/A + design change 设计变更 +Crowley, W. R. N/A + design-for-change 为变更设计 +cursor 光标 + designer, great 卓越的设计人员 +customizability 客户化 + desktop metaphor 桌面的类比 +customization 定制 + development, 增量式开发 + incremental +d’Orbais, J. N/A + diagram 图 +Dahl, O. J. N/A + difference in 观点差异 +Daley, R. C. N/A + judgement +data base 数据基础 + Digitek Corporation Digitek 公司 +data service 数据服务 + + - 195 - + +----------------------- Page 208----------------------- + + 英文 中文 英文 中文 + +Dijkstra, E. W. N/A Erikson, W. J. N/A + +director, technical, 技术主管的角色 Ershov, A. P. N/A +role of Eschapasse, M. N/A + +discipline 学科、领域、规范 essence 根本(困难) + +Disk Operation IBM 1410-7010 磁盘 estimating 估计 +System, IBM 操作系统 Evans, B. O. N/A +1410-7010 Everett, R. R. N/A + +display terminal 显示终端 Excel Excel 软件 + +division of labor 人力划分 expert system 专家系统 + +DO...WHILE DO……WHILE 语句 extension 扩展 + +document 文档 + +documentation system 文档系统 Fagg, P. N/A + +documentation 文档 Falkoff, A. D. N/A + +DOD-STD-2167 军标DOD-STD-2167 family, software 软件产品族 + +DOD-STD-2167A 军 标 product + DOD-STD-2167A Farr, L. N/A + +Dragon voice Dragon 语音识别系 Fast Fourier 快速傅立叶变换 +recognition system 统 Transform + +Druffel, L. N/A featuritis 盲目的功能 + +dual ladder of 两条职位晋升线 Ferrell, J. N/A +advancement file, dummy 伪文件 + +dummy component 伪构件 miniature 缩影 + +dump, memory 内存转储 filters 过滤器 + +Durfee, B. N/A Fjelstadt N/A + + floorspace 空间 +ease of use 易用性 flow arrow 箭头 + +Eastman Kodak Eastman Kodak 公司 flow chart 数据流图 +Company forecast 预测 + +Eckman, D. N/A formal definition 形式化定义 + +editor, job description 编辑,职责描述 formal progression of 正式发布的进展 +for 文字 release + text formality, of written 书面建议的正式性 + +Einstein, A. N/A proposals + +electronic mainl 电子邮件 Fortran Fortran 语言 + +electronic notebook 电子手册 Fortran, H. N/A + +Electronic Switching 电子交换系统 FoxPro database FoxPro 数据库 +System Franklin, B. (Poor N/A + +encapsulation 封装 Richard) + +Engelbart, D. C. N/A Franklin, J. W. N/A + +English, W. N/A frequency data 频率数据 + +entropy 熵 frequency guessing 频率猜测 + +environment 环境 fusion 融合 + + - 196 - + +----------------------- Page 209----------------------- + + 英文 中文 英文 中文 + + Hennessy, J. N/A + +Galloping Gertie, 塔科马大桥 Henricksen, J. O. N/A +Tacoma Narrows Henry, P. N/A +Bridge Herzberg, F. N/A + +Gantt Chart 甘特图 Hetzel, W. C. N/A + +General Electric 通用电气公司 Hezel, K. D. N/A +Company hierarchical structure 层次化结构 + +generator 发生器 high-level language, high-level language, + +gIBIS gIBIS 系统 See language, 参 见 language, + +Ginzberg, M. G. N/A high-level high-level + +Glass, R. L. N/A Hoare, C. A. R. N/A + +Glegg, G. L. N/A Homer N/A + +Global Positioning 全球定位系统 Hopkins, M. N/A +System Huang, W. N/A + +GO TO GO TO 语句 hustle 进取 + +God 上帝 Hypercard Hypercard + +Godel N/A hypertext 超文本 + +Goethe, J. W. won N/A + +Gold, M. M. N/A IBM 1401 IBM 1401 型计算机 + +Goldstine, H. H. N/A IBM 650 IBM 650 型计算机 + +Gordon, P. N/A IBM 7030 Stretch IBM 7030 Stretch 型 + +GOTO GOTO 语句 computer 计算机 + +Grafton, R. B. N/A IBM 704 IBM 704 型计算机 + +Grant, E. E. N/A IBM 709 IBM 709 型计算机 + +graph 图 IBM 7090 IBM 7090 型计算机 + structure 结构图 IBM Corporation IBM 公司 + +graphical 图形化编程 IBM Harvest IBM Harvest 型计算 +programming computer 机 + +great designer 卓越的设计人员 IBM MVS/370 IBM MVS/370 操作 + +Green wald, I. D. N/A operating system 系统 + +growing software 培育软件 IBM Operating IBM Operating + +Gruemberger, F. N/A System/360, See System/360, 参 见 + Operating System/360 Operating System/360 + +Hamilton, F. N/A IBM OS-2 operating IBM OS-2 操作系统 +Hamlen N/A system + +hardware, computer 计算机硬件 IBM PC computer IBM PC 计算机 + +Hardy, H. N/A IBM SAGE ANFSQ/7 IBM SAGE ANFSQ/7 +Harel, D. L. N/A data processing 数据处理系统 +Harr, J. N/A system + +Hayes-Roth, R. N/A IBM System/360 IBM System/360 模 +Heilmeyer, G. N/A Model 165 型165 + +Heinlein, R. A. N/A + + - 197 - + +----------------------- Page 210----------------------- + + 英文 中文 英文 中文 + +IBM System/360 IBM System/360 模 interaction, as part of 交互,作为创造的一 +Model 30 型30 creation 部分 +IBM System/360 IBM System/360 模 first of session 第一次会话 + +Model 65 型65 interactive debugging 交互式调试 + +IBM System/360 IBM System/360 模 interactive 交互式编程 +Model 75 型75 programming + +IBM System/360 IBM System/360 interface 接口、界面 +Principl es of Principl es of metaprogrammin 元编程 +Op eration Op eration g 模块 +IBM VM/360 IBM VM/360 操作系 module WIMP +operating system 统 WIMP + +IBSYS operating 7090 的IBSYS 操作 Interlisp Interlisp 语言 + +system for the 7090 系统 International 国际计算机有限公司 +Ichikawa, T. N/A Computers Limited + +icon 图标 Internet Internet + +ideas, as stage of 构思,作为创造的阶 interpreter, for 解释程序,用于节省 +creation 段 space-saving 空间 + +IEEE Computer IEEE 计算机杂志 invisibility 不可见性 + +magazine iteration 迭代 + +IF...THEN...ELSE IF...THEN...ELSE 语 Iverson, K. E. N/A + 句 Jacopini, A. N/A + +Ihm, C. C. N/A Jobs, S. N/A + +implementation 设计实现 Jones, C. N/A + +implementations, 多重实现 joys of the craft 行业的乐趣 +multiple + +implementer 实现者 Kane, M. N/A + +incorporation, direct 直接整合 keyboard 键盘 + +incremental 增量式开发 Keys, W. J. N/A +development King, W. R. N/A + +incremental-build 增量开发模型 Knight, C. R. N/A +model Knuth, D. E. N/A + +indenting 缩进 Kugler, H. J. N/A + +information hiding 信息隐藏 + +information theory 信息理论 label 标签 + +inheritance 继承 Lachover, H. N/A + +initialization 初始化 Lake, C. N/A + +input range 输入范围 Landy, D. E. N/A + +input-output format 输入-输出格式 language description, 形式化语言描述 + +instrumentation 配备 formal + +integrity, conceptual 概念完整性 language translator 语言翻译程序 + + - 198 - + +----------------------- Page 211----------------------- + + 英文 中文 英文 中文 + +language, 第四代语言 Mealy, G. N/A +fourth-generation 高级 measurement 测量、度量 + high-level 机器 medium of creation, 容易驾驭的创造媒介 + machine 编程 tractable + programming 脚本 meeting, problem 问题-行动会议 + scripting action 状态检查会议 + +late project 进度落后的项目 status review + +lawyer, language 语言专家 memory use pattern 内存使用方式 + +Lehman, M. N/A mentor 导师 + +Lewis, C. S. N/A menu 菜单 + +library 库 Merwin, R. E. N/A + class 类库 Merwin-Dagget, M. N/A + macro 宏库 metaphor 类比、象征 + program 程序库 metaprogramming 元编程 + +linkage editor 链接编辑程序 microcomputer 微型计算机革命 + +Lister, T. N/A revolution + +Little, A. D. N/A microfiche 微缩胶皮 + +Locken, O. S. N/A Microsoft 微软公司 + +Lowry, E. S. N/A Corporation + +Lucas, P. N/A Microsoft Windows Microsoft Windows + +Lukasik, S. N/A Microsoft Word 6.0 Microsoft Word 6.0 + + Microsoft Works Microsoft Works +Macintosh WIMP Macintosh WIMP 界 milestone 里程碑 +interface 面 Mills, H. D. N/A + +Madnick, S. N/A MILSPEC MILSPEC 军用标准 + +magic 魔术 documentation + +maintenance 维护 mini-decision 细小(迷你)决定 + +man-month 人月 MiniCad design MiniCad 设计软件 + +management 管理信息系统 program +information system MIT 麻省理工学院 +(MIS) mnemonic name 助记名 + +manual 手册 model 模型 + System/360 360 系统手册 COCOMO COCOMO + +market, mass 大众市场 incremental-buil 增量开发 + +matrix management 矩阵管理 d 螺旋 + +matrix-type 矩阵类型的组织结构 spiral 瀑布 +organization waterfall + +Mausner, B. N/A Modula Modula + +Mayer, D. B. N/A modularity 模块化 + +McCarthy, J. N/A module 模块 + +McCracken, D. D. N/A modules, number of 模块数量 + +McDonough, E. N/A Mooers, C. N. N/A + + - 199 - + +----------------------- Page 212----------------------- + + 英文 中文 英文 中文 + +Moore, S. E. N/A open system 开放系统 + +Morin, L. H. N/A operating system 操作系统 + +Mostow, J. N/A Operating System/360 操作系统/360 + +mouse 鼠标 optimism 乐观主义 + +moving projects 项目迁移 option 选项 + +Mozart, W. A. N/A Orbais, J. d’ N/A + +MS-DOS MS-DOS order-of-magnitude 数量级的提高 +Multics Multics 系统 improvement + +multiple 多重实现 organization chart 组织结构图 + +implementations organization 组织结构 + +MVS/370 MVS/370 OS/360 Concepts and OS/360 概念和设施 + Facilities + +Nammed, A. N/A OS/360 Queued OS/360 队列远程通 +Nanus, B. N/A Telecommunications 讯访问方法 +Naur, P. N/A Access Method + +Needham, R. M. N/A OS/360, See OS/360, 参 见 +Nelson, E. A. N/A Operating System/360 Operating System/360 + +nesting, as 嵌套,作为文档辅助 overlay 覆盖 + +documentation aid overview 总览 + +network nature of 交流的网络特性 Ovid N/A + +communication +Neustadt, R. E. N/A Padegs, A. N/A + +Newell, A. N/A paperwork 文书工作 + +Noah N/A Parnas families N/A + +North Carolina State 北卡罗来纳大学 Parnas, D. L. N/A + +University partitioning 分区 + +notebook, status 状态记录 Pascal programming Pascal 语言 + system 系统 language + +Nygaard N/A Pascal, B. N/A + + pass structure 数据流 + +object 对象 Patrick, R. L. N/A + +object-oriented design 面向对象设计 Patterson, D. N/A + +object-oriented 面向对象编程 people 人 + +programming Peopleware: 人件:高生产率的项 +objective 目标 Productive Projects 目和团队 + cost and 成本和性能 and Teams + +performance 空间和时间 perfection, 要求完美 + space and time requirement for + +obsolescence 陈旧过时 performance 性能仿真装置 +off-the-shelf package 现货成品包 simulator + +office space 办公室空间 performance 性能 + +Ogdin, J. L. N/A PERT chart PERT 图 + + - 200 - + +----------------------- Page 213----------------------- + + 英文 中文 英文 中文 + +pessimism 悲观注意 program library 程序库 + +Peter and Apostle N/A program maintenance 程序维护 + +philosopher ’s stone 点金石 program name 程序名称 + +Piestrasanta, A. M. N/A program products 编程产品 + +pilot plant 试验工厂 program structure 程序结构图 +pilot system 试验系统 graph + +pipes 管道 program 程序 +Pisano, A. N/A auxiliary 辅助程序 +Pius XI N/A self-documenting 自文档化程序 + +PL/C language PL/C 语言 programmer 程序员的再培训 +PL/I PL/I 语言 retraining + +planning 策划、计划 programming 编程环境 +Plans and Controls 计划和控制机构 environment + +organization programming 编程语言 +playpen 开发库 language + +Pnueli, A. N/A programming product 编程产品 + +pointing 指针选取 programming system 编程系统 + +policed system 具有错误控制的系统 programming systems 编程系统产品 +Politi, M. N/A product + +Pomeroy, J. W. N/A programming system 编程系统项目 +Poor Richard N/A project + +(Benjamin Franklin) programming, 编程自动化 +Pope, Alexander N/A automatic 图形化 +Portman, C. N/A graphical 可视化 +power tools for the 创造性活动的强大工 visual + +mind 具 progressive 渐进地精化 +power, giving up 放弃权力 refinement + +practice, good 软件工程的良好实践 Project Mercury Mercury 实时系统项 +software engineering Real-Time System 目 + +price 价格 project workbook 项目工作手册 + +PROCEDURE PROCEDURE 语句 promotion, in rank 按级晋升, + +procedure, catalogued 具有目录的过程库 prototyping, rapid 快速原型 + +producer, role of 制片人的角色 Publilius N/A + +product test 产品测试 purple-wire technique 紫色线束的手法 + +product, exciting 激动人心的产品 purpose, of a program 程序的目标 + programming 编程系统产品 of a variable 变量的目的 + +system 编程产品 + programming Quadragesimo Anno, 教 皇 通 谕 +productivity equation 生产率公式 Encyclical Quadragesimo Anno + +productivity, 软件开发的生产率 quality 质量 + +programming + +program clerk 程序职员 + + - 201 - + +----------------------- Page 214----------------------- + + 英文 中文 英文 中文 + +quantization, of 变更量子化(阶段化) +change 变更要求的量子 Sackman, H. N/A + of demand for 化(阶段化) Salieri, A. N/A +change Saltzer, J. H. N/A + + Sayderman, B. B. N/A +Raeder, G. N/A Sayers, D. L. N/A + +raise in salary 涨薪 scaffolding 脚手架(测试平台) + +Ralston, A. N/A scaling up 扩建、增大规模 + +rapid prototyping 快速原型化 Scalzi, C. A. N/A + +real-time system 实时系统 schedule, See Late 进度,参见 Late + +realism 现实主义 project project + +realization, step in 物理实现,创造过程 cost-optimum 最优进度 +creation 的一个步骤 scheduler 调度程序 + +refinement, 渐进地精化 scheduling 计划安排、进度安排 +progressive 需求 Schumacher, E. F. N/A + requirements screen 屏幕 + +regenerative schedule 再现的进度灾难 second-system effect 开发第二个系统的后 +disaster 果(画蛇添足) + +Reims Cathedral 兰斯大教堂 secretary 秘书 + +release, program 程序发布 security 安全性 + +reliability 可靠性 self-documenting 自文档化程序 + +remote job entry 远程任务项 program + +repartitioning 重新分配 Selin, I. N/A + +representation, of 信息的表现形式 semantics 语义 +information Shakespeare, W. N/A + +requirements 需求精化 Shannon, E. C. N/A +refinement Share 709 Operating Share 709 操作系统 + +rescheduling 重新计划进度 System (SOS) (SOS) + +responsibility, versus 责任和权威 Share Operating IBM Share 操作系统 +authority System for IBM + +Restaurant Antoine Antoine 餐厅 Shell, D. L. N/A + +reusable component 可重用的构件 Sherman, M. N/A + +reuse 重用 Sherman, R. N/A + +Reynolds, C. H. N/A short cuts 快捷键 + +role conflict, reducing 减少角色冲突 shrink-wrapped 塑料薄膜包装的成品 + +ROM, read-only ROM,只读存储器 software 软件 +memory Shtul-Trauring, A. N/A + +Roosevelt, F. D. N/A side effect 副作用 + +Rosen, S. N/A silver bullet 银弹 + +Royce, W. W. N/A simplicity 简洁 + +Rustin, R. N/A Simula-67 Simula-67 语言 + +Ruth, G. H.(Babe) N/A + + - 202 - + +----------------------- Page 215----------------------- + + 英文 中文 英文 中文 + +simulator 仿真装置 staff group 团队 + environment 环境 staffing, project 项目人员配备 + logic 逻辑 Stalnaker, A. W. N/A + performance 性能 standard 标准 + +size, program 程序规模 standard, de facto 事实标准 + +Skwiersky, B. M. N/A Stanford Research 斯坦福研究机构 + +slippage, schedule, slippage, schedule, Institute +See Late project 参见Late project Stanton, N. N/A + +Sloane, J. C. N/A start-up firm 新兴公司 + +Small is Beautiful 小就是美 Statemate design tool 状态机设计工具 + +Smalltalk Smalltalk 语言 status control 状态控制 + +Smith, S. N/A status report 状态报告 + +snapshot 快照 status review meeting 状态检查会议 + +Snyder, Van N/A status symbol 状态特征 + +sociological barrier 社会障碍 Steel, T. B., Jr. N/A + +Sodahl, L. N/A Strachey, C. N/A + +Software Engineering 软件工程经济学 straightforwardness 直白 +Economics Strategic Defense 防御系统 + +Software Engineering 软件工程研究所 Initiative +Institute Stretch Operating Stretch 操作系统 + +software industry 软件工业 System + +Software Project 软件项目动力学 stub 占位符 +Dynamics Stutzke, R. D. N/A + +Sophocles N/A subroutine 子程序 + +space allocation 空间分配 Subsidiary Function, 附属职能行使原理 + +space, memory 内存空间 Principle of + office 办公室空间 superior-subordinate 上下级的关系 + program, See 程序空间,参见 relationship +Size, program 程序规模 support cost 支持成本 + +specialization of 限定职责范围 surgical team 外科手术队伍 +function Sussenguth, E. H. N/A + +specification 规格说明 Swift, J.. N/A + architectural 体系结构 synchronism in file 文件同步 + functional 功能 syntax 语法 + interface 接口 abstract 抽象 + internal 内部 system build 系统构建 + performance 性能 system debugging 系统集成调试 + testing the 测试规格说明 + System Development System Development +speed, program 程序运行速度 Corporation Corporation (公司) + +spiral, 价格预测螺旋 system integration 系统集成子库 +pricing-forecasting + sublibrary +spreadsheet 电子表格 system test 系统测试 + + - 203 - + +----------------------- Page 216----------------------- + + 英文 中文 英文 中文 + +system, large 大型系统 toolsmith 工具维护人员 + programming 编程 top-down design 从上至下设计 + +System/360 computer System/360 计算机家 top-down 从上至下编程 +family 族 programming + +systems product, 系统编程产品 Tower of Babel 巴比伦塔 +programming TRAC language TRAC 语言 + + tracing, program 程序跟踪 +Tacoma Narrows 塔科马大桥 trade-off, 规模-功能折衷 +Bridge size-function 规模-速度折衷 + +Taliaffero, W. M. N/A size-speed + +target machine 目标机器 training, time for 培训时间 + +Taub, A. H. N/A transient area 临时性空间 + +Taylor, B. N/A Trapnell, F. M. N/A + +team, small, sharp 小型、精干的队伍 tree organization 树型组织机构 + +technical director, role 技术主管的角色 Truman, H. S. N/A +of TRW, Inc. TRW 公司 + +technology, 编程技能 Tukey, J. W. N/A +programming turnaround time 周转时间 + +telephone log 电话日志 turnover, personnel 演变 + +test case 测试用例 Turski, W. M. N/A + +test, component 构件单元测试 two-cursor problem 双光标问题 + system 系统集成测试 two-handed operation 双手操作 + +tester 测试人员 type, abstract data 抽象数据类型 + +testing advisor 测试顾问系统 type-checking 类型检查 + +testing 测试 + regression 回归测试 Univac computer Univac 计算机 + specification 规格说明的测试 Unix workstation Unix 工作站 + +TESTRAN debugging TESTRAN 调试软件 Unix Unix +facility University of North 位于查布尔希尔的北 + +text-editing system 文本编辑系统 Carolina at Chapel 卡来罗来纳大学 + +Thompson, K. N/A Hill + +throw-away 抛弃 user 用户 + +time, calendar 日期时间 novice 新手 + machine 机器时间 power 专业用户 + +Time-Sharing System, PDP-10 分时系统 USSR Academy of 苏联科学院 +PDP-10 Sciences + +Time-Sharing 分时System/360 utility program 实用程序 +System/360 Vanilla Framework 香草框架设计方法学 + +time-sharing 分时 design methodology + +tool 工具 vehicle machine 辅助机器 + power, for the 创造性活动的强 verification 验证 +mind 大工具 + + - 204 - + +----------------------- Page 217----------------------- + + 英文 中文 英文 中文 + +version 版本 William III of N/A + alpha alpha 版本 England, Prince of + beta beta 版本 Orange + +Vessey N/A Wilson, T. A. N/A + +virtual environment 虚拟环境 WIMP interface WIMP 界面 + +virtual memory 虚拟内存 window 窗口 + +visual programming 虚拟编程 windows NT windows NT 操作系 +visual representation 虚拟表达 operating system 统 + +vocabularies, large 大量的词汇 Windows operating Windows 操作系统 +Voice Navigator voice Voice Navigator 语音 system + +recognition system 识别系统 Wirth, N. N/A + +von Neumann, J. N/A Witterrongel, D. M. N/A + +Vyssotsky, V. A. N/A Wizard-of-Oz, 向导技术 + technique + +Walk, K. N/A Wolverton, R. W. N/A + +Walter, A. B. N/A workbook 工作手册 + +Ward, F. N/A workstation 工作站 + +waterfall model 瀑布模型 World-Wide Web 万维网 + +Watson, T. J., Jr. N/A wormhole 后门接口 + +Watson, T. J., Sr. N/A Wright, W. V. N/A + +Weinberg, G. M. N/A Xerox Palo Alto Xerox Palo Alto 研究 +Weinwurm, G. F. N/A research Center 中心 + +Weiss N/A +Wells Apocalypse,The 韦尔斯启示录 Yourdon, E. N/A + +werewolf 人狼 +Wheller, E. N/A zoom 推进 + + Zraket, C. A. N/A + + - 205 - + +----------------------- Page 218----------------------- + +封底文字 + + Frederick P. Brooks,Jr.荣获了计算机领域最具声望的图灵奖(A.M.Turing Award) + +桂冠。美国计算机协会 (ACM )称赞他“对计算机体系结构、操作系统和软件工程作出了 + +里程碑式的贡献。”(landmark contributions to computer architecture, operating system, + +and software engineering.) + +内容简介 + + 软件项目管理领域很少能有著作能像《人月神话》一样具有影响力和畅销不衰。Brooks + +为任何人管理复杂项目提供了颇具洞察力的见解,既有很多发人深醒的观点,也有大量的软 + +件工程现实。这些论文出自Brooks 的IBM System/360 家族和OS/360 项目管理经验。在第 + +一次出版20 年后的今天,Brooks 重新审视了他原先的观点,增加了一些新的想法和建议。 + +这既是为了熟悉原有内容的人们,也为了第一次阅读它的读者。 + + 增加的章节包括(1)原著中的所提出观点的一些精华,包括Brooks 《人月神话》的核 + +心论点:由于人力的划分,大型项目遭遇的管理问题与小型项目的不同;因此,产品的概念 + +完整性很关键;取得这种统一性是很困难,但并不是不可能的。(2)一个时代以后,Brooks + +对这些观点的看法。(3)重新收录了1986年的经典文章《没有银弹》。(4)以及对1986 年 + +所下论断——“在十年内不会出现银弹。”——现在的认识。 + + - 206 - diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/IT/\351\273\221\345\256\242\346\226\207\345\214\226\344\270\216\345\274\200\346\272\220\346\226\207\345\214\226/Paul Graham\357\274\232\351\273\221\345\256\242\344\270\216\347\224\273\345\256\266.txt" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/IT/\351\273\221\345\256\242\346\226\207\345\214\226\344\270\216\345\274\200\346\272\220\346\226\207\345\214\226/Paul Graham\357\274\232\351\273\221\345\256\242\344\270\216\347\224\273\345\256\266.txt" new file mode 100644 index 0000000000000000000000000000000000000000..8107e89240555576b1dbe14b52eacd97ad31373c --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/IT/\351\273\221\345\256\242\346\226\207\345\214\226\344\270\216\345\274\200\346\272\220\346\226\207\345\214\226/Paul Graham\357\274\232\351\273\221\345\256\242\344\270\216\347\224\273\345\256\266.txt" @@ -0,0 +1,3259 @@ + +  黑客与画家 + +  保罗·格雷汉姆 + + + + +  目录 + +译者序 +前言 +1.为什么书呆子不受欢迎 +2.黑客与画家 +3.不能说的话 +4.良好的坏习惯 +5.另一条路 +6.如何创造财富 +7.关注贫富分化 +8.防止垃圾邮件的一种方法 +9.设计者的品味 +10.编程语言解析 +11.百年后的编程语言 +12.拒绝平庸 +13.书呆子的复仇 +14.梦寐以求的编程语言 +15.设计与研究 + + + + + +  译者序 + +  你现在拿在手里的,是一本非常重要、也非常独特的书。 + +  它的作者是美国互联网界举足轻重、有“创业教父”之称的哈佛大学计算机博士保罗·格雷厄姆(Paul Graham)。本书是他的文集。 + +  书中的内容并不深奥,不仅仅是写给程序员和创业者的,更是写给普通读者的。作者最大的目的就是,通过这本书让普通读者理解我们所处的这个计算机时代。 + +  1968年至1972年期间,美国出版过一本叫做《地球商品目录》(Whole Earth Catalog)的杂志,内容从植物种子到电子仪器,无所不包,出版目的据说是要帮助读者“理解整个系统”。多年后,苹果公司的总裁乔布斯盛赞它“有点像印刷版的谷歌”。从某种意义上说,本书也是如此,作者试图从许许多多不同的方面解释这个时代的内在脉络,揭示它的发展轨迹,帮助你看清我们现在的位置和将来的方向。 + +  电子技术的发展,使得计算机日益成为人类社会必不可少的一部分。 + +  每个人日常生活的很大一部分都花在与计算机打交道上面。家用电表是智能的,通信网络是程控的,信用卡是联网的,就连点菜都会用到电子菜单。越来越多的迹象表明,未来的人类生活不仅是人与人的互动,而且更多的将是人与计算机的互动。 + +  想要把握这个时代,就必须理解计算机。理解计算机的关键,则是要理解计算机背后的人。表面上这是一个机器的时代,但是实际上机器的设计者决定了我们的时代。程序员的审美决定了你看到的软件界面,程序员的爱好决定了你有什么样的软件可以使用。 + +  我们的时代是程序员主导的时代,而伟大的程序员就是黑客。 + +  本书就是帮助你了解黑客、从而理解这个时代的一把钥匙。 + +  在媒体和普通人的眼里,“黑客”(hacker)就是入侵计算机的人,就是“计算机犯罪”的同义词。但是,这并不是它的真正含义(至少不是原意),更不是本书所使用的含义。 + +  要想读懂这本书,首先就必须正确理解什么是“黑客”。 + +  为了把这个问题说清楚,有必要从源头上讲起。1946年,第一台电子计算机ENIAC在美国诞生,从此世界上一些最聪明、最有创造力的人开始进入这个行业,在他们身上逐渐地形成了一种独特的技术文化。在这种文化的发展过程中,涌现了很多“行话”(jargon)。20世纪60年代初,麻省理工学院有一个学生团体叫做“铁路模型技术俱乐部”(Tech Model Railroad Club,简称TMRC),他们把难题的解决方法称为hack。 + +  在这里,hack作为名词有两个意思,既可以指很巧妙或很便捷的解决方法,也可以指比较笨拙、不那么优雅的解决方法。两者都能称为hack,不同的是,前者是漂亮的解决方法(cool hack或neat hack),后者是丑陋的解决方法(ugly hack或quick hack)。hack的字典解释是砍(木头),在这些学生看来,解决一个计算机难题就好像砍倒一棵大树。那么相应地,完成这种hack的过程就被称为hacking,而从事hacking的人就是hacker,也就是黑客。 + +  从这个意思出发,hack还有一个引申义,指对某个程序或设备进行修改,使其完成原来不可用的功能(或者禁止外部使用者接触到的功能)。在这种意义上,hacking可以与盗窃信息、信用卡欺诈或其他计算机犯罪联系在一起,这也是后来“黑客”被当作计算机入侵者的称呼的原因。 + +  但是,在20世纪60年代这个词被发明的时候,“黑客”完全是正面意义上的称呼。TMRC使用这个词是带有敬意的,因为在他们看来,如果要完成一个hack,就必然包含着高度的革新、独树一帜的风格、精湛的技艺。最能干的人会自豪地称自己为黑客。 + +  这时,“黑客”这个词不仅是第一流能力的象征,还包含着求解问题过程中产生的精神愉悦或享受。也就是说,从一开始,黑客就是有精神追求的。自由软件基金会创始人理查德·斯托尔曼说:“出于兴趣而解决某个难题,不管它有没有用,这就是黑客。” + +  根据理查德·斯托尔曼的说法,黑客行为必须包含三个特点:好玩、高智商、探索精神。只有其行为同时满足这三个标准,才能被称为“黑客”。另一方面,它们也构成了黑客的价值观,黑客追求的就是这三种价值,而不是实用性或金钱。 + +  1984年,《新闻周刊》的记者史蒂文·利维出版了历史上第一本介绍黑客的著作——《黑客:计算机革命的英雄》(Hackers: Heroes of the Computer Revolution)。在该书中,他进一步将黑客的价值观总结为六条“黑客伦理”(hacker ethic),直到今天这几条伦理都被视为这方面的最佳论述。 + +  (1) 使用计算机以及所有有助于了解这个世界本质的事物都不应受到任何限制。任何事情都应该亲手尝试。 + +  (Access to computers—and anything that might teach you something about the way the world works—should be unlimited and total. Always yield to the Hands-On Imperative!) + +  (2) 信息应该全部免费。 + +  (All information should be free.) + +  (3) 不信任权威,提倡去中心化。 + +  (Mistrust Authority—Promote Decentralization.) + +  (4) 判断一名黑客的水平应该看他的技术能力,而不是看他的学历、年龄或地位等其他标准。 + +  (Hackers should be judged by their hacking, not bogus criteria such as degrees, age, race, or position.) + +  (5) 你可以用计算机创造美和艺术。 + +  (You can create art and beauty on a computer.) + +  (6) 计算机使生活更美好。 + +  (Computers can change your life for the better.) + +  根据这六条“黑客伦理”,黑客价值观的核心原则可以概括成这样几点:分享、开放、民主、计算机的自由使用、进步。 + +  所以,“黑客”这个词的原始含义就是指那些信奉“黑客伦理”而且能力高超的程序员。历史上一些最优秀的程序员都是“黑客”。除了上文提到的理查德·斯托尔曼,还包括Unix操作系统创始人丹尼斯·里奇和肯·汤普森,经典巨著《计算机程序设计艺术》的作者、斯坦福大学计算机教授高德纳,Linux操作系统创始人莱纳斯·托沃兹,“开源运动”创始人埃里克·雷蒙德,微软公司创始人比尔·盖茨等。正是黑客把计算机工业推向了更高的高度。 + +  “黑客伦理”的一个必然推论就是,黑客不服从管教,具有叛逆精神。 + +  黑客通常对管理者强加的、限制他们行为的愚蠢规定不屑一顾,会找出规避的方法。一部分原因是为了自由使用计算机,另一部分原因是为了显现自己的聪明。比如,计算机设备的各种安全措施就是最常被黑客破解的东西。史蒂文·利维对这一点有过一段生动的描述: + +  “对于黑客来说,关着的门就是一种挑衅,而锁着的门则是一种侮辱。……黑客相信,只要有助于改进现状、探索未知,人们就应该被允许自由地使用各种工具和信息。当一个黑客需要一样东西来帮助自己创造、探索或者改正某种设备时,他不会自找麻烦,不会接受那些财产专有权的荒谬概念。” + +  这就是黑客有时会入侵计算机系统的原因,他们的主要目的并不是侵犯别人的利益,这与那些计算机罪犯是不同的。 + +  但是,20世纪80年代初,事情发生了变化。 + +  1983年,一帮密尔沃基市的青少年黑客入侵了美国和加拿大的一些计算机系统,这件事被广泛报道,同年9月5日的《新闻周刊》封面报道的标题就是“小心:黑客在行动”,这是历史上主流媒体第一次使用“黑客”这个词。在报道的时候,媒体只注意和强调黑客行为一个很窄的方面:入侵系统。(可能因为这种行为容易引起公众的注意,提升报道的关注度。)他们把黑客简单定义为入侵系统、破坏安全设施的人。从此,大多数人对于黑客有了错误的看法。同时,那些入侵计算机的程序员也自称“黑客”,使得这个问题进一步复杂化。 + +  杂志、电视剧、电影、小说都对黑客的这种形象大肆渲染。黑客成了反社会的技术高手的代名词,仿佛只要他坐在键盘前,就有一种从事犯罪活动的魔力,可以操纵任何与网络相连的机器,从核弹到车库大门,都在黑客敲打键盘的操作之中被控制。根据这种观点,黑客在最好的情况下是一个没有认识到自己能力的清白的人,在最坏的情况下则是一个恐怖分子。在过去几年中,随着计算机病毒的泛滥,黑客在大众心目中已经成了一个有害的人群。 + +  那些传统意义上的黑客不认同这样使用“黑客”这个词。他们认为,历史上确实有一些正直的黑客,为了亲自了解系统,做过违反法规的入侵举动。但是,那些人并没有恶意,而且从一开始恶作剧就是黑客文化的一部分,仅仅由此推断入侵和破坏系统就是黑客文化的实质完全是错误的。真正的黑客致力于改变世界,让世界运转得美好。媒体对黑客的定义未免过于片面。 + +  为了澄清“黑客”这个概念,他们提出只有传统意义上的黑客才能被称为hacker,而那些恶意入侵计算机系统的人应该被称为cracker(入侵者)。这个观点已经在程序员社区中得到普通认同。 + +  本书正是在这个意义上使用“黑客”这个词。在本书中,“黑客”就是指最优秀的程序员,而不是入侵计算机系统的人。 + +  为了帮助读者理解黑客,全书15章可以大致分成三个部分。 + +  ·第一部分从第1章到第4章,解释了黑客是如何成长的以及他们看待世界的一些观点。 + +  ·第二部分从第5章到第9章,解释了黑客怎样做出自己的成果,这些成果又是怎样对全世界产生了影响。 + +  ·第三部分从第10章到第15章,解释了黑客的工具(编程语言)和工作方法,这是黑客文化的基础和核心。 + +  作者想让公众了解,黑客并不神秘,更不是技术怪人。Hackers and Painters这个书名就是在提示应该把黑客与画家当作同一种人看待。和画家一样,黑客只是怀有一门特殊手艺、有创造天赋的普通人。这个书名还有另一层含义,即编程是一种艺术创作,黑客就是艺术家,开发软件与画家作画、雕塑家雕刻、建筑师设计房屋并没有本质不同。 + +  总之,这是一本帮助你理解这个时代的书。作者想教给你的其实是新思想。读完以后,你看待世界的眼光很可能会完全不同了。如果你想在21世纪立足,理解这一次新的技术革命,做一个掌握自己命运的成功者,我建议你读这本书。 + +  翻译过程中,我已经尽了最大努力,力求把原文忠实、清晰地译成中文。本书的一些章节中作者谈论的都是计算机行业的专业问题,但是他又希望让普通读者看懂,试图用口语化、生活化的语言解释专业概念,我个人感觉效果不太理想,反而使得行文稍显冗余和模糊,这一点提醒读者注意。总的来说,这是一本计算机行业的经典著作,2004年在美国出版后一直畅销不衰,深受好评,很多读者都被作者的远见卓识所折服。 + +  最后,本书第13章涉及Lisp语言的部分曾请田春帮助校译,在此表示衷心感谢。 + +阮一峰 + +2010年12月25日,写于上海 + + + + + +  前言 + +  本书尝试解释计算机世界里发生了什么事,所以,它不仅仅是写给程序员看的,也适合所有人。比如,第6章讲如何致富,我相信这是所有读者普遍感兴趣的内容。 + +  你可能注意到了,过去三十年中,很多赚到大钱的人都是程序员,比如比尔·盖茨、史蒂夫·乔布斯、拉里·埃里森。为什么?为什么是程序员,而不是土木工程师,或者摄影师,或者精算师?第6章将告诉你答案。 + +  软件带来财富,仅仅代表了大趋势的一面而已。这种大趋势就是本书的主题。我们的时代是计算机时代。以前,人们曾经认定这个时代应该是太空时代或者原子时代。但是事实证明,它们只是公关公司发明的概念。计算机对人类生活的影响远远超过了太空航行或者原子技术的影响。 + +  我们生活中的一切,都正在成为计算机。打字机被计算机取代了,电话也变成了计算机,照相机亦是如此。很快,电视机也将变成计算机。当今小轿车所具备的计算能力比1970年占满一间屋子的大型计算机还要强。信件、百科全书、报纸,甚至本地的小店,都正在被互联网取代。所以,如果你想理解我们目前的世界以及它的未来动向,那么多了解一些黑客的想法会对你有帮助。 + +  黑客?那不是侵入他人计算机的人吗?在外行人看来,这个词的意思就是这样。但是在计算机世界中,黑客指的是专家级程序员。因为本书的目的是解释真实的计算机世界是怎么一回事,所以我决定冒着被误解的风险,按照行业内的定义使用这个词。 + +  本书的前几章回答了一些大家可能都想过的问题。怎样创业才会成功?技术是否造成了技术人员与普通人之间的隔阂?程序员到底在做些什么?为什么那些读高中时普普通通的学生,最终却摇身一变成为世界上最有影响力的人士?微软公司会控制互联网吗?怎样才能对付垃圾邮件? + +  本书后面几章谈的是大多数非计算机行业的人士没有想过的问题——编程语言。为什么普通人要去关心编程语言?因为如果你想了解黑客,就必须懂一点编程语言。这就好比回到1880年,如果你想理解技术发展,就必须懂一点蒸汽机。 + +  计算机程序只是文本而已。你选择什么语言,决定了你能说什么话。编程语言就是程序员的思维方式。 + +  因此很自然,编程语言对程序员的思想有巨大的影响。你从他们写的软件中就可以看出来。旅游网站Orbitz成功打入了竞争激烈的网络订房订票市场。该市场原先被两大巨头主宰,一个是微软公司,另一个是拥有数十年电子预定服务经验的Sabre。Orbitz是怎么从它们手中抢到市场的?最主要的原因就是它使用了一种更好的编程语言。 + +  根据使用的语言不同,程序员往往会被分成不同的派别。人们区分程序员甚至不是看他们写了什么程序,而是看他们使用什么语言。所以,声称一种语言优于另一种语言被认为是不礼貌的行为。但是,没有一个编程语言的设计者会相信“不同的语言各有千秋”这种文绉绉的客套话。我将直言不讳地说出自己对于编程语言的看法,这也许会令很多人不快,但是如果想要理解黑客,我真的觉得没有其他更好的方法。 + +  有些读者可能不理解第3章的内容。这一章与计算机有什么关系?事实是黑客很在乎言论自由。Slashdot(它是黑客世界的《纽约时报》)有一个专栏讨论这个问题。我想Slashdot的大多数读者都认为重视言论自由是天经地义的事情。不过《飞机与飞行员》(Plane & Pilot)杂志就肯定不会有一个这样的栏目。 + +  为什么黑客那么在乎言论自由?我认为,部分原因在于,革新对于软件行业实在是太重要了,而革新和异端实际上是同一件事。优秀的黑客养成了一种质疑一切的习惯。这是肯定的,因为如果你不得不同一台机器打交道,而这台机器全部由文字组成,像机械式手表一样复杂,并且规模大出1000倍,那么你也会养成这种习惯的。 + +  此外,我还认为,行为怪异的人和愤世嫉俗的人比普通人更可能成为黑客。计算机世界就像是智力世界的大西部,在那里没有你不敢想的事情,只要你愿意承担冒险后果。 + +  如果我成功实现了自己对这本书的设想,那么它也将是一片智力的大西部。我不希望你带着某种压迫感来阅读此书,心里想着:“没办法,这些书呆子看上去正在接管世界。我最好能懂一点他们正在干的事情,这样就不会被他们整出来的下一个东西唬到了。”如果你喜欢思考,阅读此书应该会带给你很多乐趣。虽然黑客从外表看上去一般都是呆呆的,但是他们的大脑内部却是一个有趣得让你吃惊的地方。 + +写于马萨诸塞州坎布里奇 + +2004年4月 + + + + + +  1.为什么书呆子不受欢迎 + +  初中时,我和好友里奇画了一张学校食堂的餐桌分布图,每张桌子都标上了人气指数。这件事的难度并不高,因为选择坐在一起吃午饭的人,受瞩目程度往往都很接近。我们把所有桌子从A到E分成五等。坐在A桌的人不是校足球队的成员,就是啦啦队的成员。而E桌的人好像都有一点轻微的唐氏综合征^,那时我们管这种症状叫“弱智”。 + +^「唐氏综合征(Down's Syndrome)是一种先天性疾病,主要指幼儿的智力和体格发育迟缓,特征为低智商、身材矮小、表情呆滞。1866年,英国民生唐·约翰·朗顿首先发现了这一疾病。——译者注」 + +  我和里奇在D桌。一般来说,只要你不是外貌猥琐,这就是你能分到的最低档次的桌子了。我们把自己的桌子列为D桌,倒不是故意谦虚,而是无法自欺欺人。因为学校里每个人的级別都是明摆着的,我们想骗自己也骗不了。 + +  我后来认识很多人,读书的时候都被称为书呆子。从他们身上我发现,“书呆子”与“高智商”有强烈的正相关关系。而这些人在中学里都是不受欢迎的学生,你越喜欢读书,就越不受别人的欢迎,因此“书呆子”和“受欢迎”之间,有一种更强烈的负相关关系。这样看来,“髙智商”似乎导致了你不受欢迎。 + +  为什么会这样?要是你眼下还在读中学,你一定会觉得这个问题很蠢。无可争议的事实就是,除了这样以外,似乎很难想象还能有什么别的结果。但是,的确会出现别样的情况。比如,在小学里,聪明的学生就没有受到排挤。再比如,毕业后踏上社会,聪明也不是一件坏事。而且,据我所知,在大多数国家,事情也没有如此严重。只有在典型的美国中学,做一个聪明的学生才是一件麻烦事,你的日子会很不好过。这究竟为什么? + + +  解开这个谜的关键是把问题换一种提法。为什么聪明的小孩没有让自己变得受欢迎?如果他们真的很聪明,为什么找不到受欢迎的诀窍呢?他们在标准化测试中表现得这么好,为什么就不能在这方面也大获成功呢? + +  有一种观点认为,其他小孩妒忌聪明学生,所以聪明的学生不可能受到欢迎。我倒希望这种解释是对的。回想起来,要是初中里真的有人妒忌我,那么他们一定费了很大力气才把这种妒忌隐藏得无法发现。而且,在任何情况下,如果聪明真的令他人妒忌,这反而会招来女生。因为女生喜欢被其他男生妒忌的男生。 + +  在我就读过的学校,聪明根本就是无足轻重的一样东西。同学们既不看重它,也不唾弃它。如果别的事情都相同,那么大家还是愿意自己变得聪明一点,因为这总比做个笨人好。但是总的来说,智力在大家心里的分量远远不如相貌、魅力和运动能力的分量重。 + +  所以,如果智力本身与“受欢迎”无关,为什么聪明的小孩一直不受同龄人的欢迎呢?我认为,答案就是他们真的不想让自己受欢迎。 + +  如果当时有人告诉我这个答案,我一定会嘲笑他。在学校里不受欢迎,你的日子就很难过,有人甚至因此自杀。所以,要是你跟我说,是我本人不想受欢迎,那就好比你在说,我在沙漠里快渴死了,却又不想喝水。别搞错了,让自己更受欢迎,这才是我要的。 + +  但是事实上,我并不是那么强烈地渴望这个。我更想追求的是另一件事情——聪明。这不仅仅意味着在学校得到好成绩(虽然某种程度上这也挺重要)。我真正想要的是,能够设计奇妙的火箭、写出漂亮的文章、理解编程原理。一句话,我想要做伟大的事情。 + +  那时,我从没试过将梦想分门别类、一一排序。要是我真做了,就会一眼看出聪明是排在最前面的。如果有人许诺,使我一举成为全校最受瞩目的学生,代价是从此智力平庸(请允许我在这里自命不凡),我是绝不会答应的。 + +  虽然“书呆子”饱尝不受欢迎之苦,但是为了解除痛苦而让他们放弃“聪明”,我想大多数人是不会愿意的。对他们来说,平庸的智力是不可忍受的。不过,要是换了别的孩子,情况就不一样了,大多数人会接受这笔交易。对于很多人来说,这反而是更上一层楼的机会。即使是那些智力排名在前20%的学生(我在这里假设智力可以测量,那时的人们似乎都相信这一点),谁不愿意用30分的成绩换来别人的友爱和钦佩? + +  我认为,这就是问题的根源。“书呆子”的目标具有两重性。他们毫无疑问想让自己受欢迎,但是他们更愿意让自己聪明。“受欢迎”并不是你在课后时间随便做一做就能实现的,尤其是在美国的中学中,在这里,所有人为了个人魅力都会进行激烈竞争。 + + +  文艺复兴时期的代表人物阿尔伯蒂^有一句名言:“任何一种艺术,不管是否重要,如果你想要在该领域出类拔萃,就必须全身心投入。”^^我很想知道,世界上是否还有人比美国的中学生在塑造个人魅力方面更加孜孜不倦、精益求精。相比之下,美国海军的海豹突击队(Navy SEALS)成员和神经外科的住院医生^^^都成了懒汉。他们至少还有假期,有些人甚至还有业余爱好。但是,一个美国的青少年在醒着的每一分钟,都在琢磨怎样才能更受欢迎,一年365天,天天如此。 + +^「阿尔伯蒂(Leon Battista Alberti,1404年2月18日—1472年4月20日)是文艺复兴时期意大利的一位通才,在建筑、文学、艺术、宗教、哲学、语言学、密码学等领域都有重大建树,被视为“文艺复兴人”(Renaissance Man,指多才多艺的人物)的典型代表。——译者注」 + +^^「出自Leon Battista Alberti所著的The Use and Abuse of Books(《论书籍的正常使用与滥用》)1999年出版。」 + +^^^「这两个职业都以工作时间长、负荷高而著称。——译者注」 + +  我并不是说这些青少年有意这样做。某些人确实是,小小年纪就成为了权谋家,但是大多数人不是。我在这里真正想要表达的是,青少年每时每刻都想融入群体之中。 + +  举例来说,青少年往往很关注服饰。他们这样做并不是有意让自己赢得大众,他们的目的只是要穿得好看。但是穿给谁看呢?无非就是其他小孩。同伴的意见成为他们判别事物的表示标准,这不仅体现在衣着上,还体现在他们做的几乎每一件事情上,就连走路的姿势也不例外。所以,他们为了把所有事情“做对”,所付出的任何努力,不管是有意还是无意,实际上都等同于努力在使自己变得更受欢迎^。 + +^「“受欢迎”的英语单词是popular,这个词还有另一个意思,“大众化的,多数人的”,比如popular support(民意的支持)。此处使用了双关语,作者既是说青少年的行为目的是为了得到同伴的关注和称赞,也是说青少年这样做是为了与群体保持一致。理解这一点,对理解这篇文章非常重要。后文中有些地方的“受欢迎”,用的也是这个双关的含义,下文不再一一说明。——译者注」 + +  书呆子没有认识到这一点。他们没有认识到“受欢迎”需要付出如此之多的努力。一般来说,对于那些高度困难的领域,只有身处其中的人,才能意识到成功需要不间断(虽然未必是自觉的)付出。举例来说,大多数人似乎认为,绘画能力与生俱来,画家就像髙个子一样,是天生的。事实上,大多数“会画”的人,本身就很喜欢画画,将许许多多时间投入其中,这就是为什么他们擅长画画的原因。同样的,受欢迎也不是天生的,而是要你自己做出来的。 + + + +图1-1 Gateway髙中的象棋俱乐部,1981年。左上角的人就是我 + +  书呆子不受欢迎的真正原因,是他们脑子里想着别的事情。他们的注意力都放在读书或者观察世界上面,而不是放在穿衣打扮、开晚会上面。他们就像头顶一杯水来踢足球,一边踢球,一边拼命保持不让水洒出来。其他人都在一门心思玩足球,遇到这样的对手,自然能够毫不费力地击败,并且心里还奇怪,对方怎么如此无能。 + +  就算书呆子心里想着变得与其他小孩一样受欢迎,做起来却是难上加难。因为那些受欢迎的小孩从小就在琢磨如何受欢迎,打心底里追求这个。但是,书呆子从小琢磨的却是如何更聪明,心底里也是这样追求的。这都是受父母的影响,书呆子被教导追求正确答案,而受欢迎的小孩被教导讨人喜欢。 + + +  到目前为止,我一直把“聪明的学生”和“书呆子”当作同义词,好像它们完全可以换着用。事实上,只有在我上面谈到的这种环境中才能这样使用。所谓“书呆子”,其实只是指这个人的社交技能不够强。但是,你到底需要多“强”的社交技能,取决于你所处的环境。在普通的美国学校中,成为“强人”的标准高得吓人(或者至少是十分特别),即使你不是很“呆”的人,相比之下,也只能算是呆子了。 + +  仅有很少的聪明小孩,能够分配出足够的心思,去关心如何让自己受欢迎。他们往往碰巧还具有俊俏的外表、运动员的体格,或者受人瞩目的兄弟姐妹。不然的话,你就别无选择,只能成为书呆子了。这就是为什么聪明的小孩在青少年时期,比如11岁到17岁,有着一生中最糟的人生经历。人生的这个时期比其他任何时期更多地受到你的受欢迎程度的影响。 + +  11岁以前,小孩的生活由家长主导,其他孩子的影响有限。孩子们不是不关心小学里其他同学的想法,但是后者不具有决定性影响。小学毕业以后,这种情形开始发生变化。 + +  到了11岁左右,孩子们逐渐把家庭生活当作寻常事了。他们在同伴中开辟了一个新的世界,并认为那个世界才是重要的,比家里的世界更重要。实际上,如果他们在家里与父母发生冲突,反而能在那个新的世界中挣得面子,而他们也确实更在乎那个世界。 + +  但是,问题在于,孩子们自己创造出来的世界是一个非常原始的世界。如果你听任一群11岁的孩子自行其是,最后就会发生小说《蝇王》^中的情景。我同许多美国孩子一样,在学校里就被要求阅读此书。这可能不是巧合,有人可能希望借此向我们指出,我们这些孩子就是“野蛮人”,我们自己创造的世界是一个残酷和愚蠢的世界。对当时的我来说,领会这些意思有点太难了。虽然这本书读起来让人觉得完全可信,但是我一点儿没有读出文字背后的意思。当年,他们还不如直截了当告诉我们,我们这些孩子就是“野蛮人”,我们的世界愚不可及。 + +^「《蝇王》(Lord of the Flies)是英国作家威廉·戈尔丁(William Golding,1911—1994)发表于1954年的小说,讲述了一群6~12岁的男孩被困在一个荒岛上的故事。起初,所有人为了生存,互相帮助;后来逐渐分裂成两派,互相残杀,一派象征着文明与秩序,另一派象征着野蛮和混乱。作者通过这个故事,表达了毎个人心中都存在着黑暗的力量。此书出版后引起轰动,成为当年最畅销的书籍,被认为是英国的经典文学作品之一,西方各国学校将其列为学生必读书。1983年,威廉·戈尔丁因为此书获得了诺贝尔文学奖。——译者注」 + +  要是不受欢迎仅仅意味着不受到关注,书呆子们可能觉得还能忍受。不幸的是,在学校里不受欢迎等同于被歧视和被欺负。 + +  为什么会被歧视和欺负?所有现在还在学校里读书的人可能会又一次觉得,怎么会有人问出这么蠢的问题。怎么可能会有其他结果呢?当然会有其他结果。一般来说,成年人就不会去欺负书呆子。为什么小孩子会这样做呢? + +  一部分原因是,青少年在心理上还没有摆脱儿童状态,许多人都会残忍地对待他人。他们折磨书呆子的原因就像拔掉一条蜘蛛腿一样,觉得很好玩。在一个人产生良知之前,折磨就是一种娱乐。 + +  孩子们欺负书呆子的另一个原因是为了让自己感到好受一些。当你踩水的时候,你把水踩下去,你的身体就会被托起来。同样,在任何社会等级制度中,那些对自己没自信的人就会通过虐待他们眼中的下等人来突显自己的身份。我已经意识到,正是因为这个原因,在美国社会中底层白人是对待黑人最残酷的群体。 + +  但是我认为,孩子们欺负书呆子的主要原因也与追求“受欢迎”的心理有关。怎样才能让自己更受欢迎?个人魅力只是很小的一方面,你应该更多地考虑如何结盟。秘诀就是不停地设法使自己与其他受欢迎的人变得关系更密切。没有什么比一个共同的敌人更能使得人们团结起来了。 + +  这就好比一个政客,他想让选民忘记糟糕的国内局势,方法就是为国家找出一个敌人,哪怕敌人并不真的存在,他也可以创造一个出来。一群人在一起,挑出一个书呆子,居高临下地欺负他,就会把彼此联系起来。一起攻击一个外人,所有人因此就都成了自己人。这就是为什么最恶劣的以强凌弱的事件都与团体有关的原因。随便找一个书呆子,他都会告诉你,一群人的虐待比一个人的虐待残酷得多。 + +  如果说其中还有一丝安慰,那就是书呆子不妨记住,这种虐待不是针对个人的。一群孩子成群结伙地欺负你,那并不是因为你做错了什么,而是因为这一伙人需要找一件事情一起干,这就好像一群人成群结伙地去打猎一样。他们实际上并不恨你,他们只是需要一个共同的目标。 + +  因为书呆子是不受欢迎的,处在学校的底层,所以全校学生都把书呆子当作一个可供欺负的安全目标。如果我没记错的话,最受欢迎的孩子并不欺负书呆子,他们不需要靠踩在书呆子身上来垫髙自己。大部分的欺负来自处于下一等级的学生,那些焦虑的中间层。 + +  麻烦的是,这样的人数量庞大。受欢迎的学生的分布并不是金字塔形的,而是像一个倒放的梨子,底部逐渐收窄。最不受欢迎的人数相当少。(我相信,在我们画的餐桌分布图中,称得上D桌的,只有我所在的那一桌。)所以,想要欺负书呆子的人比被欺负的书呆子多得多。 + +  与不受欢迎的小孩保持距离,可以为你加分;那么与他们关系密切,就会为你减分。我认识的一位女性说,她在髙中时对书呆子有好感,但是害怕被人看到她与书呆子说话,因为其他女孩会因此取笑她。不受欢迎是一种传染病,虽然善良的孩子不会去欺负书呆子,但是为了保护自己,也依然会与书呆子保持距离。 + +  难怪聪明的小孩读中学时往往是不快乐的。他们有其他的兴趣,没有多余的精力用来使自己更受欢迎。你在其他地方有所得,就会在这个地方有所失。不受欢迎使得书呆子成为全校攻击的目标。令人惊奇的是,这种噩梦般的情景并非出自任何有预谋的恶意,而仅仅因为这个特殊的环境。 + +  对我而言,最糟糕的日子是初中。孩子们内部的世界刚刚形成,一切都很严酷,聪明的孩子与普通的孩子,人与人之间的差异慢慢开始显露。几乎每一个和我讨论过的人都同意,人生的最糟糕时期是在11岁到14岁。 + +  在我读的学校,八年级的时候(也就是我12~13岁的那一年)曾经发生过一件引起轰动的事情。有一个老师在等校车的时候,偶然听到一群女生在议论某个书呆子如何被欺负,她深感震惊,第二天就向全班发表了言词恳切的呼吁,请大家不要如此残忍地对待同学。 + +  她的呼吁并没有产生实际效果。那时,最触动我的是,她居然对这件事感到震惊。这是不是意味着她以前对此一无所闻?她觉得这一切是不正常的? + +  没错,成年人不知道孩子们内部发生的事。认识到这一点很重要。在抽象意义上,成年人知道孩子的行为有时是极端残酷的,这正如我们在抽象意义上知道贫穷国家的人民生活极端艰难。但是,像所有人一样,成年人不喜欢揪住不放这种令人不快的事实。你不去埋头探寻,就不会发现具体的证据,就会永远以为这件事是抽象的。 + +  公立学校的老师很像监狱的狱卒。看管监狱的人主要关心的是犯人都待在自己应该待的位置。然后,让犯人有东西吃,尽可能不要发生斗殴和伤害事件,这就可以了。除此以外,他们一件事也不愿多管,没必要自找麻烦。所以,他们就听任犯人内部形成各种各样的小集团。根据我读到的材料,犯人内部的关系是扭曲、野蛮、无孔不入的。处在这种人际关系的最底层可不是好玩的事。 + +  总体上看,我就读的学校与上面说的监狱差不多。校方最重视的事情,就是让学生待在自己应该待的位置。与此同时,让学生有东西吃,避免公然的暴力行为,接下来才是尝试教给学生一些东西。除此以外,校方并不愿意在学生身上多费心思。就像监狱的狱卒,老师们很大程度上对学生是放任自流的。结果,学生就像犯人一样,发展出了野蛮的内部文化。 + + +  可是,为什么离开学校以后,真实的世界却能友好地对待书呆子呢?答案似乎很简单,因为那是成年人的世界,他们都成熟了,不会把书呆子挑出来欺负。不过,我觉得这不是主要答案。监狱里的成年人不也照样以强凌弱吗?而且很显然,上层社会的阔太太之间也是如此,在曼哈顿的某些地方,女性之间的交往听来就像高中时代的延续,同样充满了各种算计和勾心斗角。 + +  我认为,真实世界的关键并非在于它是由成年人组成的,而在于它的庞大规模使得你做的每件事都能产生真正意义上的效果。学校、监狱、上流社会的女士午餐会,都做不到这一点。这些场合的成员都好像关在封闭的泡沫之中,所作所为只对泡沫内部有影响,对外部没有影响。那么很自然地,这些场合就会产生野蛮的做法。因为它们不具备实际功能,所以也就无所谓采用的形式^。 + +^「这一句的原文是They have no function for their form to follow,指的是建筑学和工业设计的Form follows function(功能决定形式)原则,即建筑物或工业产品的外在形式为其功能服务,参考网址g/wiki/Form_follows_functicn。—— 译者注」 + +  当你所做的事情能产生真实的效果,那就不仅仅是好玩而已了,发现正确的答案就开始变得重要了,这正是书呆子的优势所在。你马上就能联想到比尔·盖茨。他不善于社交是出了名的,但是他发现了正确的答案,至少从收入上看是如此。 + +  真实世界的特点是,它极其庞大。如果总体足够大,即使是人数最少的少数派,只要聚集在一起,也能产生可观的力量。在真实世界中,书呆子在某些地方聚集起来,形成自己的社区,智力因素成为那里最被看重的东西。有时,这种因素甚至会以相反的形式表现出来,特别是在大学的数理学系,书呆子甚至会夸大笨拙,以显示自己的聪明。约翰·纳什^非常钦佩诺伯特·维纳^^就学维纳的样子,经过走廊的时候都用手扶着墙走路。 + +^「约翰·纳什(John Nash,1928—),美国著名数学家,因其对博弈论的突出贡献而获得1994年的诺贝尔经济学奖。纳什从小性格孤僻,不合群,读大学期间以行为古怪而闻名,30岁时就患上了严重的精神分裂症。电影《美丽心灵》讲述的就是他的故事。——译者注」 + +^^「诺伯特·维纳(Norbert Wiener,1894—1964),美国数学家,在电子工程等方面做出了巨大贡献,是随机过程研究的先驱。——译者注」 + +  我13岁的那一年,对世界的全部认识,就是身边看到的一切。我以为,我所经历的种种扭曲的事件就是世界的样子。看上去,这是一个残酷的世界,也是一个乏味的世界,我不太肯定哪一个更糟一些。 + +  因为我在这个世界中过得并不好,我觉得一定是自己什么地方做错了。我没有意识到,作为书呆子,我不适应周围环境,某种程度上正说明我领先了一步。书呆子已经在思考的东西,正是真实世界看重的东西。他们与别人不一样,不把所有时间用来玩一种耗尽全力但又亳无意义的游戏。 + +  我们的感受,有点像一个被重新塞进中学的成年人。他不知道穿什么衣服,听什么音乐,用什么暗语。在别的孩子眼里,他就像一个彻头彻尾的外星人。不过,成年人很清楚不用在乎别人怎么想,我们就没有这种自信了。 + +  许多人似乎认为,聪明的小孩在人生的这个阶段应该与“正常的”小孩待在一起。也许吧。但是,至少在某些情况中,书呆子感到不适应的真正原因是其他人都是疯子。我记得读髙中的时候,有一次在体育馆观看校运动队的出征大会,啦啦队把对手的模拟像扔到看台上,观众一哄而起,把它撕成碎片。我感到自己仿佛是一个探险家,正在目睹某种奇特的部落仪式。 + +  如果能回到过去,我会向13岁的我提供一些建议,主要告诉他要昂起头看世界。我在那个年纪根本不知道这一点,而我身边的世界又虚假得像奶油夹心蛋糕一样。不仅是学校,整个小镇都很虚假,不像真实的世界。为什么人们要搬到郊区去住?为了养育下一代!难怪郊区生活是如此地乏味和贫瘠。整个镇子就像一个巨大的幼儿园,所有一切都是为了教育下一代而有意识地造出来的。 + +  在我生长的这个地方,感觉整个世界就是这么大,你根本没有别的地方可去,没有别的事情可做。这一点都不令人意外。郊区就是故意这样设计的,与外部世界隔离,不让儿童沾染到外界有害的东西。 + +  至于学校,不过是这个虚假环境中关住牲口的围栏。表面上,学校的使命是教育儿童。事实上,学校的真正目的是把儿童都关在同一个地方,以便大人们白天可以腾出手来把事情做完。我对这一点没有意见,在一个高度工业化的社会,对孩子不加管束,让他们四处乱跑,无疑是一场灾难。 + +  让我困扰的,不是把孩子关在监狱里,而是(a)不告诉他们这一点,(b)把这监狱的大部分交给犯人来管理。孩子们被送进来,花6年时间,记住一些毫无意义的事实,还要身处在一个由四肢发达的小巨人管理的世界,那些巨人们只知道追逐一个椭圆形的、棕色的球^,好像这是全世界最天经地义的事情。这简直就像一场超现实的鸡尾酒化妆晚会,如果孩子畏缩不前、瑟瑟发抖,他们就会被视为怪人。 + +^「指撖揽球。——译者注」 + +  生活在这个扭曲的世界,不仅仅对书呆子,对所有孩子来说,都是充满压力的。就像任何一场战争,胜利方也是要付出代价的。 + +  成年人肯定不可避免地看到了孩子们在受苦受难。他们为什么不做点什么呢?因为他们认为那是青春期在作祟。成年人对自己说,孩子们不快乐的原因是因为他们身体内部新出现了大量的化学物质——激素。激素在血液中奔流,把所有事情都搞得一团糟。整个社会系统一点问题也没有,孩子们到了这个年纪,不可避免地会感觉很糟糕。 + +  这种看法无所不在,甚至孩子们自己都相信了。但是相信这种话可能一点帮助也没有。你告诉一个人,他的脚天生就是坏的,并不能阻止他去怀疑他可能穿错了鞋子。 + +  我就不太相信这种理论,凭什么说13岁的小孩自己有问题。如果这是激素过多的生理问题,那就应该普遍存在。可是,蒙古的游牧民族在13岁时难道也是这么空虚吗?我读过许多历史资料,找不到任何一条20世纪之前的历史事实支持这个理论上应该普遍存在的现象。文艺复兴时期的很多青少年学徒看上去过得很开心很投入。当然,他们彼此之间也有争斗和阴谋诡计(米开朗基罗小时候就曾经被其他小孩打断过鼻子),但是他们并不疯狂。 + +  就我所知,青少年因为激素而行为失常的理论与美国中产阶级迁至郊区的进程是同步出现的。我认为这不是巧合,青少年是被迫去过这种生活的,他们是被逼疯的。文艺复兴时期的学徒是整天劳碌的牧羊狗,而今天的青少年则是神经兮兮、供人玩耍的哈巴狗。他们的疯狂源于到处都是一片可怕的无聊。 + + +  我读中学的时候,自杀是聪明学生中永恒的话题。虽然在我认识的人当中没有人真的自杀,但是不少人有这样的设想,其中一些人可能还真的尝试过。对于大多数人来说,自杀只是一个姿态。就像其他青少年一样,我们都喜欢有戏剧效果,而自杀看上去就非常富有戏剧性。但是也有部分原因是因为我们的生活有时真的是非常悲惨。 + +  被其他小孩欺负只是问题的一部分。还有别的问题存在,甚至可能是更糟糕的问题。那就是我们没有得到真正的工作,没能发挥我们的才能。人类喜欢工作,在世界上大多数地方,你的工作就是你的身份证明。但是,我们那时做的所有事情根本就是无意义的,至少那时看来是这样。 + +  最好的情况下,那些事情也不过是遥远的将来我们可能从事的实际工作的练习。它所面向的目标是如此遥远,以至于当时我们都不知道自己练习这些到底是为了干什么。更常见的情况是,那些事情不过是一系列随意设置的绳圈,你被要求一个个跳过去。你在学习中遇到的文字都是专为考试而设计的,目的就是为了出题,而不是为了讲清楚问题。(南北战争的三个主要原因是……等到考试的时候,就会有一道题:请列出南北战争的三个主要原因。) + +  而且,没有办法回避那些事情。成年人已经达成共识,认定通往大学的途径就是这样的。逃离这种空虚生活的唯一方法,就是向它屈服。 + +  过去的社会中,青少年扮演着一个更积极的角色。工业化时代到来前,青少年都是某种形式的学徒,不是在某个作坊,就是在某个农庄,甚至在某艘军舰上。他们不会被扔到一旁,创造自己的小社会。他们是成年人社会的低级成员。 + +  以前的青少年似乎也更尊敬成年人,因为成年人都是看得见的专家,会传授他们所要学习的技能。如今的大多数青少年,对他们的家长在遥远的办公室所从事的工作几乎一无所知。他们看不到学校作业与未来走上社会后从事的工作有何联系(实际上,还是有那么一点点联系)。 + +  如果青少年更尊重成年人,那么成年人也会更接受青少年。经过几年的训练,学徒就能担当重要的职责。即使是那些刚招收进来的学徒,也能用来送信或打扫场地。 + +  如今的成年人根本不接受青少年。一般来说,他们都是在办公室工作,所以就在上班的路上,顺路把孩子送到学校去关着,这有点像他们周末外出度假时,把狗送到寄养的地方。 + +  与此同时,社会发生了什么变化?我们被迫面对一个更严峻的问题。它与当前的其他许多难题有着共同的起因,那就是“专业化”(specialization)。当工作的专业程度越来越高时,我们就必须接受更长时间的训练。工业化时代来临之前,儿童最晚大约在14岁就要参加工作,如果是在农庄(那个时代大多数人生活在农村),参加工作的时间就更早。如今,只要一个青少年读大学,他就要等到21岁或22岁才开始全职工作。如果再读更髙的学位,比如医学博士或哲学博士,可能要拖到30岁才能完成学业。 + +  当今的青少年在生产活动中,根本就是毫无用处的。他们只能在诸如快餐店这样的地方充当廉价劳动力,而快餐店也看出来了,充分利用了这个事实。对于除此以外的几乎所有行业,青少年都会带来净损失。但是,他们又太年轻,不能放任不管,必须有人看着他们。最有效的解决方案,就是把他们集中在一个地方,用几个成年人看守所有小孩。 + +  如果事情只发展到这一步,那么我们就是在描述一个监狱,唯一的区别就是这个监狱不是全日制的。问题在于,许多学校实际上真的停留在这一步。学校的使命据称是教育儿童,佴是并没有外在的压力监督他们把这件事做好。所以,大多数学校的教学质量都很糟糕,孩子们根本不把学习当回事,就连认真读书的孩子也是如此。许多时候,我们所有人——包括学生和老师——都只是做做样子,走过场而已。 + +  我在髙中上法语课的时候,课程内容包括阅读雨果的长篇小说《悲惨世界》。我觉得,学生中不可能有人的法语水平高到可以自己读懂这本巨著。所以,像班上的其他人一样,我参考了Cliff's Notes^的导读本。后来,学校有一次专门针对《悲惨世界》的测验,我发现里面的问题都很奇怪,到处都是很长的单词,老师上课时从没有用过这些词。这些题目是从哪里来的?原来也是出自Cliff's Notes。老师们也在使用这个导读本,我们双方都是在敷衍了事。 + +^「Cliff's Notes是美国的一套系列图书,专供学生作为课外的学习参考读物。——译者注」 + +  公立学校肯定也有很优秀的老师。我读四年级时遇到的Mihalko老师就是一个精力充沛、充满想象力的老师。他使得那个学年如此令人难忘,以至于三十年后,他的学生依然在谈论这段往事。但是,像他这样的老师只是个别现象,无法改变整个体系。 + +  几乎在任何团体中都存在等级关系。成年人在真实世界中形成的团体,一般来说,都存在某个共同目标,团体的领导者往往由最善于实现目标的人担任。学校就不一样,大多数情况下,学生内部形成的团体没有一个共同目标。但是,等级关系却不会缺席,所以孩子们的等级是凭空创造出来的。 + +  我们有一个专门的短语描述这种情况,即在没有任何严肃标准的前提下,产生排名的情况。我们会说情况“倒退至人缘比赛”(degenerates into a popularity contest)。这正是大多数美国学校中发生的事情。某个人的排名不是根据他的真正能力,而主要根据他专攻排名的能力。这就像路易十四^的宫廷。没有外在的对手,孩子们就互相把对方当作对手。 + +^「路易十四(Louis XIV,1638—1735)是法国国王,1643年~1715年在位,欧洲君主专制制度的典型代表。他大权独揽,将各地的贵族都召集在他的宫廷中,削弱他们作为地方长官的权利。贲族们为了得到路易十四的赏识,不得不每天稍心准备,参加各种凡尔赛宫的舞会、宴席和其他庆祝活动,想尽方法,互相竞赛,试图压过对手。——译者注」 + +  如果存在对于真正能力的外部测试,待在等级关系的底层也不会那么痛苦。球队的新人并不会怨恨老队员的球技,他希望有一天自己也能如此,所以很髙兴有机会向老队员求教。老队员可能也会因此产生一种传帮带的光荣感(noblesse oblige)。最重要的是,老队员的地位是通过他们本身出色的能力获得的,而不是通过排挤他人获得的。 + +  宫廷中的等级关系就完全是另一回事了。这种类型的团体贬低了每一个成员的人格。底层成员对上层成员毫无敬意,而上层成员也没有传帮带的光荣感。这里的一切就是杀与被杀的关系。 + +  美国中学的学生内部,就是这种关系的社会。因为除了每天把小孩聚集在某个地方,关上几个小时以外,学校并没有其他的真实目的,所以学生内部形成这种关系也就很自然了。我当时并没有意识到,直到不久以前才恍然大悟,校园生活的两大恐怖之处——残忍和无聊——也是出于同样的原因。 + +  美国公立学校的平庸并不仅仅是让学生度过了不快乐的六年,还带来了严重后果。这种平庸直接导致学生的叛逆心理,使他们远离那些原本应该要学习的东西。 + +  许多书呆子可能都与我一样,直到高中毕业多年后,才去读中学里的指定读物。但是,我错过的绝不仅仅只是几本书而已。我对许多美好的字眼都嗤之以鼻,比如“人格”、“正直”,因为成年人贬低了这些词。在他们嘴里,这些词似乎都是同一个意思——“听话”。一些孩子因为具备所谓的“人格”和“正直”,而受到夸奖,可是他们不是呆得像一头大笨牛,就是轻浮得像一个不动脑筋的吹牛者。如果人格”和“正直”就是这种样子,我宁愿不要它们。 + +  我误解最深的一个词是“老成”(tact)。成年人使用这个词,含义似乎就是“闭上嘴巴,不要说话”。我以为它与“缄默”(tacit)和“不苟言笑”(taciturn)有着相同的词根,字面意思就是安静。我就对自己发誓,我绝不要变成“老成”的人,没有人能够让我闭上嘴巴。可是事实上,这个词的词根与“触觉”(tactile)相同,它真正的意思是熟练的碰触。“老成”的反义词是“笨拙”(clumsy)。进入大学以后,我才搞明白了这个词。 + +  在这场激烈的人缘争斗中,书呆子并不是唯一输家。他们不受欢迎,只是因为他们分心去干别的事了。还有一些孩子则是主动放弃,因为他们对这个过程感到厌恶。 + +  青少年都不喜欢孤独一人,即使具有叛逆心理的青少年也是如此。所以,当他们选择退出这个系统时,他们往往会一群人一起退出。在我读过的学校,叛逆心理的主要焦点在于毒品的使用,尤其是大麻。这帮孩子穿着黑色的演唱会T恤,被称为“怪人”(freak)^。 + +^「除了“行为怪异”以外,freak还指通过吸毒逃避现实的人,以及吸毒引起的幻觉。——译者注」 + +  怪人和书呆子属于同一个联盟,他们之间有很多相同之处。虽然在怪人的群体中,绝不学习是一个很重要的价值观(至少看上去如此),但是从整体上看,怪人还是比其他孩子聪明。我本人更多地属于书呆子阵营,但是我有很多怪人朋友。 + +  怪人使用毒品,是为了建立他们之间的社交纽带,至少一开始如此。因为毒品是非法的,所以一起使用的话,就创造出了一种共同反叛的标志。 + +  我在这里并不是说糟糕的学校教育是孩子使用毒品的唯一原因。只要你碰过毒品,一段时间以后,毒品就会自行推动你的行为。而且毫无疑问,有些怪人使用毒品的根本原因是为了逃避其他问题,比如家庭问题。但是,至少在我的学校,大部分孩子使用毒品的主要原因是出于叛逆心理。14岁的孩子开始抽大麻,并不是因为他们听说这样有助于忘记烦恼,而是因为他们想要加入一个不同的团体。 + +  不当的管制导致叛逆,这并不是新鲜事。即使毒品本身就是麻烦的来源,学校本身依然无法推卸主要责任。 + +  校园生活的真正问题是空虚。除非成年人意识到这一点,否则无法解决这个问题。可能意识到这个问题的成年人,是那些读书时就是书呆子的人。你想让你的孩子读八年级的时候和你一样不快乐吗?我可不想。那好,有什么事是我们可以做的?肯定有的。现行体系中没有什么事是必然的。它是现在这个样子,大部分是因为没人去改变它。^你也许会说,成年人很忙。观看孩子在学校的文艺表演是一回事,着手改革教育制度又是另一回事。可能只有少数人有精力从事改革工作。那么我要说,我觉得最难的部分,其实是能否意识到你该做什么。 + +^「那么我们应该怎么改变中学?一个可能的答案就是参考大学的样子。如果你进入了一所(好的)大学,我提到的大部分问题就都得到了解决。所以,解决方案也许就是问,你怎样才能让青少年书呆子的生活,变得更像大学生活?不让孩子上学,进行家庭教育,也是一个解决方法,而且很直接。但是,它可能并不是最好的方法。否则的话,家长为什么不让孩子一直待在家里,直到把大学也教完了呢?因为大学能够提供家庭教会无法提供的东西。同样的道理,如果处理得当,中学也能够提供家庭教育无法提供的东西。」 + +  还在学校里读书的书呆子不应该屏息凝神,等着全副武装的成年人某一天乘直升飞机从天而降来拯救你。也许会有这么一天,但是肯定不会很快到来。任何对生活立竿见影的改变,可能还是来自于书呆子自己。 + +  哪怕你什么也改变不了,但是仅仅是理解自己的处境,也能使得痛苦减轻一些。书呆子并不是失败者。他们只是在玩一个不同的游戏,一个更接近于真实世界状况的游戏。成年人明白这一点。成功的成年人,几乎都声称自己在高中属于书呆子。 + +  对于书呆子来说,意识到学校并非全部的人生,也是很重要的事情。学校是一个很奇怪的、人为设计出来的体系,一半像是无菌室,一半像是野蛮洪荒之地。它就像人生一样,里面无所不包,但又不是事物的真实样子。它只是一个暂时的过程,只要你向前看,你就能超越它,哪怕现在你还是身处其中。 + +  如果你觉得人生糟透了,那不是因为体内激素分泌失调(你父母相信这种说法),也不是因为人生真的糟透了(你本人相信这种说法)。那是因为你对成年人不再具有经济价值(与工业社会以前的时期相比),所以他们把你扔在学校里,一关就是好几年,根本没有真正的事情可做。任何这种类型的组织都是可怕的生存环境。你根本不需要寻找其他的原因就能解释为什么青少年是不快乐的。 + +  我在这篇文章中发表了一些刺耳的意见,但是我对未来是乐观的。我们认定无法解决的难题,事实上完全可以解决。青少年并不是洪水猛兽,也并非天生就不快乐。这一点对于青少年和成年人,应该都是令人鼓舞的消息。 + + + + + +  2.黑客与画家 + +  读完计算机系的研究生,我就去了艺术学校,学习绘画。许多人很吃惊:一个喜欢计算机的人,居然还喜欢画画!他们似乎觉得,摆弄计算机和画画是两件截然不同的事情——计算机是冰冷的、精确的、井然有序的,而画画是某种原始欲望热烈狂放的表达方式。 + +  这种看法是错的。计算机和画画有许多共同之处。事实上,在我知道的所有行业中,黑客与画家最相像。 + +  黑客与画家的共同之处,在于他们都是创作者。与作曲家、建筑师、作家一样,黑客和画家都是试图创作出优秀的作品。他们本质上都不是在做研究,虽然在创作过程中,他们可能会发现一些新技术(那样当然更好)。 + +  我一直不喜欢“计算机科学”(computer science)这个词。主要原因是根本不存在这种东西。计算机科学就像一个大杂烩,由于某些历史意外,很多不相干的领域被强行拼装在一起。这个学科的一端是纯粹的数学家,他们自称“计算机科学家”,只是为了得到国防部研究局(DARPA)的项目资助。中间部分是计算机博物学家,研究各种专门性的题目,比如网络数据的路由算法。另一端则是黑客,只想写出有趣的软件,对于他们来说,计算机只是一种表达的媒介,就像建筑师手里的混凝土,或者画家手里的颜料。所以,在“计算机科学”的名下,数学家、物理学家、建筑师都不得不待在同一个系里。 + +  有时,黑客做的事情被称为“软件工程”(software engineering),但是这个词也是误导的。与其说优秀的软件设计师是工程师,还不如说是建筑师^。建筑学和工程学之间的区别并不是很严格的,但就是存在区别。这表现在“做什么”和“怎么做”:建筑师决定做什么,工程师想出怎么做。 + +^「在英语中,“建筑师”(architect)和“架构师”(architect)是同一个词,所以这里用的是双关语,意思是优秀程序员不仅负责建造,还负责架构。后一句中的“建筑学”(architecture)也是这种双关用法,同时指“架构学”(architecture)。一译者注」 + +  当然,“做什么”和“怎么做”不应该分得太开。如果你决定做一件事,却不知道怎么做,你就是在自找麻烦。但是,只是单纯地决定如何实现某种规格,那肯定不是黑客。黑客的最髙境界是创造规格。虽然看起来,做到这一点的最好方法就是先做出一个样品把规格实现了。 + +  也许有一天,“计算机科学”分裂成几个独立的部分。这可能是一件好事,如果我本人的领域——黑客——能够独立出来,那就更好了。 + +  把不同类型的工作捆绑在一起,可能是为了行政管理的方便,但是却容易引起混淆。这是我不喜欢“计算机科学”这个词的又一个原因。中间部分“计算机科学家”的工作,也许还可以被称为计算机的实验科学。但是,两端的数学家和黑客,并不是在做计算机的科学研究。 + +  数学家看来并不在乎自己搞的是计算机还是数学。他们很高兴来到这个新地方,然后就开始埋头证明新的定理,与数学系的数学家干的事情完全一样。不一会儿,他们可能就忘了办公楼外的牌子上写的是“计算机科学系”。但是对于黑客,“计算机科学”这个标签是一个麻烦。如果黑客的工作被称为科学,这会让他们感到自己应该做得像搞科学一样。所以,大学和实验室里的黑客,就不去做那些真正想做的事情(设计优美的软件),而是觉得自己应该写一些研究性的论文。 + +  要是黑客写论文,最好的情况下,写出来的也只是一些补充性的描述,不会具有太大的实际价值。黑客先开发了一个很酷的软件,然后就写一篇论文,介绍这个软件。论文变成了软件成果的展示。这种结合是错误的,常常会产生问题。为了配合论文研究性的主题,你很容易就把工作重点从开发优美的软件转移为开发一些丑陋的东西。 + +  优美的软件并不总是论文的合适题材。首先,科学研究必须具有原创性。写过博士论文的人都知道,确保自己正在开垦新领地的方法,就是去找那些没有人要的土地。其次,科学研究必须是能够产生大量成果的,而那些不成熟的、障碍重重的领域最容易写出许多篇论文,因为你可以写那些为了完成工作、你不得不克服的障碍。没有什么比一个错误的前提更容易产生大量待解决的问题了。人工智能(AI)领域的大部分情况,都符合这条“如何凭空创造出问题”的规律。如果你假定,使用一系列的谓词逻辑(predicate logic)表达式,再加上代表抽象概念的参数,就能表达人类的知识,那么,你就可以写出许许多多的论文,解释如何完成这项工作。这就像电视剧《我爱露西》(I Love Lucy)的男主角Ricky Ricardo的话:“露西,这下够你好好解释的了。” + +  创造优美事物的方式往往不是从头做起,而是在现有成果的基础上做一些小小的调整,或者将已有的观点用比较新的方式组合起来。这种类型的工作很难用研究性的论文表达。 + +  那么,为什么大学和实验室还把论文数量作为考核黑客工作的指标呢?这种事情其实在日常生活中普遍存在,比如,我们使用简单的标准化测试考核学生的“学术能力倾向”(scholastic aptitude),再比如,我们使用代码的行数考核程序员的工作效率。这样的考核容易实施,而容易实施的考核总是首先被采用。 + +  黑客真正想做的是设计优美的软件,考核这种工作是非常困难的。你本人需要有良好的设计感,才能去考核别人的设计是否良好。但是,你觉得你有“良好的设计感”,与你实际是否具有,不存在相关关系,甚至可能存在负相关。 + +  唯一有效的外部考核就是时间。经过岁月的洗礼,优美的东西生存发展的机会更大,丑陋的东西往往会被淘汰。不幸的是,这种考核需要的时间可能比一个人的生命还要长。塞缪尔·约翰逊^说过,人们对一个作家的评价,需要100年才能达成一致^^。你必须先等他的那些有影响力的朋友都死了,然后再等他的追随者都死了,才能对他有一个公正的评价。 + +^「塞缪尔·约翰逊(Samuel Johnson,1709-1784),英国词典学家,编撰了历史上第一本广泛使用、影响巨大的英文字典。——译者注」 + +^^「塞缪尔·约翰逊在他编辑的《莎士比亚戏剧集》的前言中写道:“他(莎士比亚)的影响远远超过他的时代,时间就是对他文学成就的检验。不管他的作品从那时的暗语、风俗、政治局势之中,得到过怎样的优势,这些优势都已经消逝多年了。他在毎一幕戏剧中,通过模拟那时的生活所产生的每一个欢乐的主题或悲伤的动机,都已经趋于平淡,而不再是戏剧的亮点。贵族的宠爱和对手的竞争,都不再产生效果,朋友和敌人都走进了坟墓,他的作品再也不是支持一方、打击另一方的舆论工具;它们既不能产生虚名,也不会带来恶意的攻击。人们阅读这些作品,只有一个理由,那就是欣赏作品本身。因此,只有人们真正欣赏它们,才会发出赞美……”」 + +  我想,名望有很大的随机性,黑客对此只好听天由命了。在这一点上,他们与其他创作者并无不同。事实上,相比而言,他们还是幸运的。暂时性的、一窝蜂式的时代风潮对画家的影响要比对黑客的影响大得多。 + +  人们无法考核你的工作,甚至误解你的工作,都不是最糟的事。更大的危险是你自己也会误解自己的工作。因为你总是从相关领域寻找新思想,如果你发现自己读的是计算机科学系,很自然地,你就会以为“计算机科学”与其他“理论科学”并无不同,你的工作属于“理论计算机科学”所涉及的那种理论的应用研究。读研究生期间,我潜意识里一直有一种很不舒服的感觉,觉得自己应该多学一点理论,不应该期末考试结束还不到三个星期,就把所有东西忘得一干二净,那样真是不可饶恕。现在,我意识到自己错了。黑客搞懂“计算理论”(theory of computation)的必要性,与画家搞懂颜料化学成分的必要性差不多大。一般来说,在理论上,你需要知道如何计算“时间复杂度”和“空间复杂度”(time and space complexity);如果你要写一个解析器,可能还需要知道状态机(state machine)的概念;除此以外,并不需要知道特别多的理论。这些可比画家必须记住的颜料成分少很多。 + +  我发现,黑客新想法的最佳来源,并非那些名字里有“计算机”三个字的理论领域,而是来自于其他创作领域。与其到“计算理论”领域寻找创意,你还不如在绘画中寻找创意。 + +  举例来说,我在大学受到的教育是,在上机编程之前,应该先在纸上把程序搞清楚。可我自己一直不是这样编程的,我喜欢直接坐在计算机前编程,而不是在纸上编程。更糟的是,我不是耐心地一步步写出整个程序,确保大体上是正确的,而是一股脑不管对错,先把代码堆上去,再慢慢修改。书上说,调试(debugging)是最后的步骤,用来纠正打字的错误和疏忽。可是我的工作方法看上去却像编程就是在调试。 + +  很长一段时间内我都为此事沮丧,就像小学里老师教我怎么拿铅笔,我却总是学不会的那种感觉。如果我那时看到其他创作领域,比如绘画或者建筑,我就会想到,自己的方法其实有一个正式的名称:打草稿。我现在认为,大学里教给我的编程方法都是错的。你把整个程序想清楚的时间点,应该是在编写代码的同时,而不是在编写代码之前,这与作家、画家和建筑师的做法完全一样。 + +  明白这一点对软件设计有重大影响。它意味着,编程语言首要的特性应该是允许动态扩展(malleable)。编程语言是用来帮助思考程序的,而不是用来表达你已经想好的程序。它应该是一支铅笔,而不是一支钢笔。如果大家都像学校教的那样编程,那么静态类型(static typing)^是一个不错的槪念。但是,我认识的黑客,没有一个人喜欢用静态类型语言编程。我们需要的是一种可以随意涂抹、擦擦改改的语言,我们不想正襟危坐,把一个盛满各种变量类型的茶杯,小心翼翼放在自己的膝盖上,为了与一丝不苟的编译器大婶交谈,努力地挑选词语,确保变量类型匹配,好让自己显得礼貌又周到。 + +^「静态类型是某些计算机语言的一个特性,指编译时对变量类型进行严格检査,典型代表是C、C++和Java。在这一类语言中,声明变量的时候,必须指定类型,而且以后不能再改变。这必然意味着,只有在你对整个程序流程和细节思考成熟以后,才能编写代码。与之对应的则是动态类型(dynamic typing)语言,变量包含的数据类型可以随时改变。——译者注」 + + +  创作者不同于科学家,明白这一点有很多好处。除了不用为静态类型烦恼以外,还可以免去另一个折磨科学家的难题,那就是“对数学家的妒忌”。科学界的每一个人,暗地里都相信数学家比自己聪明。我觉得,数学家自己也相信这一点。最后的结果就是科学家往往会把自己的工作尽可能弄得看上去像数学。对于物理学这样的领域,这可能不会有太大不良影响。但是,你越往自然科学的方向发展,它就越成为一个严重的问题。 + +  一页写满了数学公式的纸真是令人印象深刻啊。(小窍门:用希腊字母表示变量名会令人印象更深刻。)因此,你就受到巨大的诱惑,去解决那些能够用数学公式处理的问题,而不是去解决真正重要的问题。 + +  如果黑客认识到自己与其他创作者——比如作家和画家——是一类人,这种诱惑对他就不起作用。作家和画家没有“对数学家的妒忌”,他们认为自己在从事与数学完全不相关的事情。我认为,黑客也是如此。 + +  如果大学和实验室不允许黑客做他们想做的事情,那么适合黑客的地方可能就是企业。不幸的是,大多数企业也不允许黑客做他们想做的事情。大学和实验室强迫黑客成为科学家,企业强迫黑客成为工程师。 + +  直到最近我才发现这一点。雅虎收购Viaweb^的时候,他们问我想做什么。我对商业活动从来都没有太大兴趣,就回答说我想继续做黑客。等我来到雅虎以后,发现在他们看来,“黑客”的工作就是用软件实现某个功能,而不是设计软件。在那里,程序员被当作技工,职责就是将产品经理的“构想”(如果这个词是这么用的话)翻译成代码。 + +^「Viaweb是一个帮助用户开设网上商店的互联网应用程序,被认为是第一个互联网应用程序,由作者和罗伯特·莫里斯在1995年创立。1998年,雅虎以4500万美元购买了Viaweb,更名为Yahoo! Store。——译者注」 + +  这似乎是大公司的普遍情况。大公司这样安排的原因是为了减少结果的标准差。因为实际上只有很少一部分黑客懂得如何正确设计软件,公司的管理层很难正确识别到底应该把设计软件的任务交给谁。所以,大部分公司不把设计软件的职责交给一个优秀的黑客,而是交给一个委员会,黑客的作用仅仅是实现那个委员会的设计。 + +  如果某一天你想要去赚大钱,那么记住上面这一点,因为这是创业公司能够成功的原因之一。大公司为了避免设计上的灾难,选择了减少设计结果的标准差。但是当你排斥差异的时候,你不仅将失败的可能性排除在外,也将获得高利润的可能性排除在外。这对大公司来说不是问题,因为生产特别优秀的产品不是它们的获胜手段。大公司只要做到不太烂,就能赢。 + +  所以,如果你的竞争优势是在软件设计方面,并且你的对手是一家大公司,它大到由一群产品经理来设计软件,那么你的对手将永远无法赶上你。不过说实话,这样的机会不容易找到。你很难单单依靠软件设计就与大公司展开竞争。这就好比你很难攻入城堡与对手面对面地徒手搏斗。比如,就算写一个比微软的Word更好的文字处理软件不是难事,但是微软公司有自己的城堡,它的操作系统是垄断的,你根本无法对它构成威胁,它甚至都不会注意到你的存在。 + +  真正竞争软件设计的战场是新兴领域的市场,这里还没有人建立过防御工事。只要你能做出大胆的设计,由一个人或一批人同时负责设计和实现产品,你就能在这里战胜大公司。微软公司自己一开始就是这样走向成功的,苹果公司和惠普公司也是如此。我觉得几乎所有的创业公司都是这样取得成功的。 + +  所以,开发优秀软件的方法之一就是自己创业。但是,这样做会遇到两个问题。一个是自己开公司的话,必须处理许许多多与开发软件完全无关的事情。我创立Viaweb的时候,如果有四分之一时间可以用于开发,就感到很幸运了。我在其他四分之三时间所做的事情,从单调乏味到惊悚恐怖,无所不包。我来说一个比较,有一次董事会开到一半,我不得不离开去补牙。我记得坐在牙医诊所的椅子上,等着医生开动牙钻的那段时间,与刚才待在公司的时间相比,简直感觉像是在度假一样。 + +  创业的另一个问题是赚钱的软件往往不是好玩的软件,两者的重叠度不髙。设计编程语言是很好玩的事情,事实上,微软的第一个产品就是一种编程语言^。但是,如今没有人会出钱买编程语言。如果你想赚钱,你可能不得不去干那些很麻烦很讨厌的事情,因为这些事情没人愿意义务来干。 + +^「1975年,MITS公司发布了Altair 8800型计算机,比尔·盖茨意识到为它开发软件是有利可图的,他写了一个BASIC语言解释器,卖给了MITS。这就是微软公司的第一个产品,当时比尔·盖茨还是哈佛大学二年级在校生。——译者注」 + +  所有创作者都面临这个问题。价格是由供给和需求共同决定的。好玩的软件的需求量,比不上解决客户麻烦问题的软件的需求量。在小剧场里演出的酬劳,比不上穿着卡通大猩猩服装、在展览会上为厂商站台的酬劳。写小说的回报比不上写广告文案的回报。开发编程语言的收入,比不上把某些公司老掉牙的数据库连上服务器的收入。 + +  黑客如何才能做自己喜欢的事情?我认为这个问题的解决方法是一个几乎所有创作者都知道的方法:找一份养家糊口的“白天工作”(day job)。这个词是从音乐家身上来的,他们晚上表演音乐,所以白天可以找一份其他工作。更一般地说,“白天工作”的意思是,你有一份为了赚钱的工作,还有一份为了爱好的工作。 + +  几乎所有的创作者在职业生涯的早期都有一份“白天工作”。画家和作家尤其显著。如果幸运的话,你能找到一份与你的“真正工作”非常相关的“白天工作”。音乐家似乎常常是在唱片行工作。同样地,钻研某种编程语言或操作系统的黑客,很可能会得到一份使用这些工具的“白天工作”。^ + +^「摄影技术对绘画造成的最大伤害,也许就是消灭了画家最好的“白天工作”。历史上,大多数伟大画家都靠画肖像谋生。摄影术发明不久,画肖像的工作机会就大大减少,从事摄影的黑客抢走了这些机会。(对于被画的人来说,坐在镜头前也更轻松一些。)肖像画家一这种要求高度技巧的工作——就这样或多或少地消失了。画家为了得到收入,就将肖像技巧用在为商业公司画品牌商品的广告图片。(可是,这样的工作也是极大地依赖于摄影术,或者更准确地说,极大地依赖于复制在书籍和杂志上的照片。)」 + +  当我说,黑客解决生计问题的方法是找一份“白天工作”,然后在其余时间开发优美的软件,我并没有说这是一个新方法。开源软件界的黑客早就这样做了。我想说的其实是,幵源软件的这种工作模式可能就是正确的模式,因为它已经被其他领域的创作者都验证过了。 + +  令我惊讶的是,雇主都很犹豫,不愿意手下的黑客为开源软件项目工作。但是,在Viaweb,要是你不愿意这样干,我们会很犹豫要不要雇用你。我们面试程序员的时候,主要关注的事情就是业余时间他们写了什么软件。因为如果你不爱一件事,你不可能把它做得真正优秀,要是你很热爱编程,你就不可避免地会开发你自己的项目。^ + +^「微软不鼓励雇员为开源项目做贡献,甚至业余时间也不行。但是,如此之多的一流黑客都在从事开源项目,所以这个政策主要的效果,可能就是使得微软公司很难雇到一流的程序员。」 + +  因为黑客更像创作者,而不是科学家,所以要了解黑客,不应该在科学家身上寻找启示,而是应该观察其他类型的创作者。那么,从画家身上,我们还能借鉴到什么对黑客的启示呢? + +  有一件事情是可以借鉴的(至少可以确认),那就是应该如何学习编程。画家学习绘画的方法主要是动手去画,黑客学习编程的方法也理应如此。大多数黑客不是通过大学课程学会编程的,他们从实践中学习,13岁时就自己动手写程序了。即使上了大学,黑客学习编程依然主要通过自己写程序。^ + +^「大学里学习编程,就像读书和挑选衣服一样,你会发现自己髙中时的品味是多么糟糕。」 + +  画家的作品都会保留下来,你观察这些作品,就能看出他们是怎么一步步通过实践学习绘画的。如果你把一个画家的作品按照时间顺序排列,就会发现每幅画所用的技巧,都是建立在上一幅作品学到的东西之上。某幅作品如果有特别出色之处,你往往能够在更早的作品上发现一个小规模的初期版本。 + +  我想大多数创作者都是这样学习和工作的,作家和建筑师似乎都是如此。也许对于黑客来说,采取像画家这样的做法很有好处:应该定期地从头开始,而不要长年累月地在一个项目上不断工作,并且试图把所有的最新想法都以修订版的形式包括进去。 + +  黑客通过实践学习编程,这又是一个标志,说明黑客与科学家的区别有多大。科学家就不会通过干活来学习科学,而是通过做实验和解题来学习。科学家研究的基础都是现有的很完美的成果,在这个意义上,他们的第一步只是在复制别人已经做过的工作。最后,他们才会从某一个点开始,进行自己的原创性工作。但是,黑客就不一样,从一幵始做的就是原创性工作,根本没有他人完美的成果可以依靠。所以,黑客的出发点是原创,最终得到一个优美的结果;而科学家的出发点是别人优美的结果,最终得到原创性。 + +  创作者另一个学习的途径是通过范例。对画家来说,博物馆就是美术技巧的图书馆。几百年来,临蓽大师的作品一直是传统美术教育的一部分,因为临摹迫使你仔细观察一幅画是如何完成的。 + +  作家也是这样学习写作的。富兰克林(Benjamin Franklin)通过总结和模仿艾迪生和斯梯尔的文章^,学会了写作。雷蒙·钱德勒(Raymond Chandler)^^也是如此学会了写作侦探小说。 + +^「此处的艾迪生指Joseph Addison(1672—1719),斯梯尔指Richard Steele(1672—1729),两人都是18世纪初的英国作家,于1711年共同创办了政论讽刺杂志《旁观者》》(The Spectator),产生了巨大的影响。——译者注」 + +^^「雷蒙·钱德勒(1888—1959),美国推理小说作家,他的私人侦探菲力普·马罗(Philip Marlowe)系列小说有很大的读者群。——译者注」 + +  同样地,黑客可以通过观看优秀的程序学会编程,不是看它们的执行结果,而是看它们的源代码。开源运动最鲜为人知的优点之一,就是使得学习编程变得更容易了。我学编程的时候,不得不主要依靠教材上的范例。那时可以搞到的源码,主要来自于Unix,但是就连Unix也不是开源的。大部分阅读Unix源码的人都是通过约翰·莱昂斯^那本书的非法影印本。该书虽然是1977年写的,但是在1996年之前都不被允许公开出版。 + +^「John Lions(1937—1998),澳大利亚计算机科学家。1976~1977年为了授课需要,他写了《UNIX第6版源码注释》(Lions' Commentary on UNIX 6th Edition, with Source Code)一书。很长一段时间中,该书是贝尔实验室之外唯一的UNIX内核源码文档。由于UNIX第6版源码只允许用于教学,所以该书直到1996年才公开出版,此前一直都是私下传播。人们普遍相信它是计算机科学领域被复印次数最多的书。——译者注」 + +  还有一个可以借鉴绘画的地方:一幅画是逐步完成的。通常一开始是一张草图,然后再逐步填入细节。但是,它又不单纯是一个填入细节的过程。有时,原先的构想看来是错的,你就必须动手修改。无数古代油画放在X光下检视,就能看出修改痕迹,四肢的位置被移动过,或者脸部的表情经过了调整。 + +  绘画的这个创作过程就值得学习。我认为黑客也应该这样工作。你不能盼望先有一个完美的规格设计,然后再动手编程,这样想是不现实的。如果你预先承认规格设计是不完美的,在编程的时候,就可以根据需要当场修改规格,最终会有一个更好的结果。 + +  (大公司的内部结构,使得它们很难这样做。这是又一个创业公司占优之处。) + +  眼下想必每个人都知道,过早优化(premature optimization)是一件危险的事情。我认为,我们应该对“过早设计”(premature design)也抱有同样的担忧,不要太早决定一个程序应该怎么做。 + +  合适的工具能够帮助我们避免这种危险。一种好的编程语言,应该像油画颜料一样,能够使得我们很从容地改变想法。动态类型语言在这一点上就是蠃家,因为你不必提前就设置好各种变量的数据类型。不过我认为,编程语言灵活性的关键还不在这里,而在于这种语言应该非常抽象。最容易修改的语言就是简短的语言。 + +  我接下来要说的是,一幅优秀的绘画作品必须比它应该有的样子更好,这可能听起来有点矛盾。举例来说,图2-1所示达·芬奇的作品《女性肖像》(Ginevra de' Benci)现在保存在美国国家美术馆。你可以看到,达·芬奇在少女的头后面摆了一片树枝。他很仔细地画出了树枝上的每一片叶子。许多画家也许会觉得,那不过是放在背景里的衬托物,没有人会仔细看的,不妨简单处理一下就可以了。 + + + +图2-1 达·芬奇的《女性肖像》(Ginevra de' Benci),1474年 + +  但是达·芬奇不这样想。他对作品每一部分的认真程度完全不取决于预料中会不会有人仔细看这个部分。他就像篮球巨星迈克尔·乔丹(Michael Jordan),每一球都一丝不苟,绝不降低对自己的要求。 + +  坚持一丝不苟,就能取得优秀的成果。因为那些看不见的细节累加起来,就变得可见了。当人们从达·芬奇的《女性肖像》前面走过的时候,他们的注意力往往立刻就被它吸引住了,那时他们甚至还没有看到说明的标签牌,没有意识到这是达·芬奇的作品。所有那些看不见的细节合并在一起,就使得这样东西产生了惊人的效果,仿佛上千个细微的声音都以同一个音调在歌唱。 + +  同样地,优秀的软件也要求对美的狂热追求。如果你查看优秀软件的内部,就会发现那些预料中没有人会看见的部分也是优美的。我对待代码的认真程度远远超过我对待其他事情,如果我以这种态度对待日常生活的每件事,那么我就够资格找心理医生开处方药了。看到代码前面的缩进乱七八糟,或者看到丑陋的变量名,都会把我逼疯的。 + + +  如果黑客只是一个负责实现领导意志的技术工人,职责就是根据规格说明书写出代码,那么他其实与一个挖水沟的工人是一样的,从这头挖到那头,仅此而已。但是,如果黑客是一个创作者,他从事的就不是机械性的工作,他必须具备灵感。 + +  黑客就像画家,工作起来是有心理周期的。有时候,你有了一个令人兴奋的新项目,你会愿意为它一天工作16个小时。等过了这一阵,你又会觉得百无聊赖,对所有事情都提不起兴趣。 + +  为了做出优秀的工作,你必须把这种心理周期考虑在内。只有这样,你才能根据不同的事情找出不同的应对方法。你有一辆手动变速的汽车,你把它开上山,有时不得不松开离合器,防止汽车熄火。同样,暂时放手有时也能防止热情熄火。对于画家和黑客这样的创作者,有些工作需要投入巨大的热情,另一些工作则是不需要很操心的日常琐事。在你厌倦的时候再去做那些比较容易的工作,这是个不错的主意。 + +  对于编程,这实际上意味着你可以把bug留到以后解决。消灭bug对我来说属于轻松的工作,只有在这个时候,编程才变得直接和机械,接近社会大众想象中的编程的样子。消灭bug的过程就像解一道数学题,已知许许多多的约束条件,你只要根据条件对方程求解就可以了。你的程序应该能产生x结果,但是却产生了y结果。哪里出错了?你知道自己最后肯定能解决这个问题,所以做起来就很轻松,就好像刷墙一样,接近于休闲了。 + +  用绘画的例子作为参考,不仅能教会我们如何管理自己的工作,还能教会我们如何与他人一起工作。历史上许多伟大的艺术品都是多人一起合作的结果,尽管最后在博物馆展出的时候,墙上可能只会写出一个人的名字。达·芬奇曾经在韦罗基奥(Verrocchio)的画室当学徒,后者当时正在画《基督的洗礼》(Baptism of Christ),达·芬奇的工作是完成整幅画之中的一个天使。多人一起完成一幅作品是当时的普遍做法,并不罕见。后来,米开朗基罗坚持要一个人画完罗马的西斯廷大教堂(Sistine Chapel)天顶壁画中的所有人物,他还因此被认为特别死心眼。 + +  就我所知,当多个画家共同创作一幅作品时,每个人画的部分都是不一样的。通常来说,大师负责画主要人物,助手们负责画次要人物和背景。但是,你肯定找不到某个部分是两个人一起画的。 + +  我认为,这也是多人共同开发一个软件的正确模式。需要合作,但是不要“合”得过头。如果一个代码块由三四个人共同开发,就没有人真正“拥有”这块代码。最终,它就会变得像一个公用杂物间,没人管理,又脏又乱,到处堆满了冗余代码。正确的合作方法是将项目分割成严格定义的模块,每一个模块由一个人明确负责。模块与模块之间的接口经过精心设计,如果可能的话,最好把文档说明写得像编程语言规范那样清晰。 + +  就像绘画作品一样,大多数软件是为人类用户准备的。所以,黑客必须像画家一样,时刻考虑到用户的人性需要,这样才能做出伟大的产品。你必须能够站在用户的角度思考问题,也就是说你必须学会“换位思考”。 + +  很小的时候,我就被不断告知,要设身处地为他人着想。现实中,这必然意味着你要做其他人需要的事情,而不是你自己想做的事情。这样看上去好像对我很不利,所以我暗下决心不让自己变成这样的人。 + +  但是,我完全错了。事实表明,从他人的角度思考问题正是成功的奥秘所在。“换位思考”并不就意味着你要做自我牺牲。实际上,这是完全不同的两回事。了解别人对于事情的看法,并不代表你为他的利益服务。某些情况下,比如打仗的时候,了解对手正是为了打击对手。^ + +^「下面我举一个站在用户角度考虑问题的实例。在Viaweb,每当遇到两个选项无法决策时,我们就会问自己,我们的竞争对手最恨哪一个选项?有时,对手新开发了一个基本无用的功能,但是因为他们有这个功能,而我们没有,所以他们就会在业内媒体上大肆宣传。我们当然可以解释,告诉大家这个功能是没用的,但是要是我们也开发了这个功能,就会让对手感到很恼火,所以当天下午我们就一鼓作气把自己的版本弄出来了。」 + +  大多数创作者都是为人类用户而创作。为了吸引用户,你必须理解用户需要什么。举例来说,几乎所有最伟大的绘画作品都是画人的,因为人类总是对自身感兴趣的。 + +  普通黑客与优秀黑客的所有区别之中,会不会“换位思考”可能是最重要的单个因素。有些黑客很聪明,但是完全以自我为中心,根本不会设身处地为用户考虑。这样的人很难设计出优秀软件,因为他们不从用户的角度看待问题。^ + +^「文本编辑器和编译器不在此列。黑客开发这些软件时,不需要站在别人的立场上考虑问题,因为他自己就是典型用户。」 + +  判断一个人是否具备“换位思考”的能力有一个好方法,那就是看他怎样向没有技术背景的人解释技术问题。我们大概都认识这样一些人,他们在其他方面非常聪明,但是把问题解释清楚的能力却惊人低下。如果聚会上,外行人问他们“什么是编程语言”,他们会这样回答:“哦,高级语言就是编译器的输入代码,用来产生目标码。”高级语言?编译器?目标码?……如果对方不知道什么是编程语言,那么他显然也不会知道这些概念。 + +  软件的部分功能就是解释自身。为了写出优秀软件,你必须假定用户对你的软件基本上一无所知。你要明白,用户第一次使用你的软件的时候,不会预先做好功课,他们没有任何准备就开始用了,所以软件的使用方式最好能符合用户的直觉,别指望用户去读使用手册。在这方面,我见过的最佳系统是1984年原始的Macintosh电脑。它做到了那时别的软件都做不到的事情:它真的能用。^ + +^「好吧,是几乎真的能用。Macintosh电脑有时会过量使用内存,导致大量对磁盘交换空间的读写(disk swapping),但是再买一个磁盘驱动器就能解决交换空间不足的问题。」 + +  源代码也应该可以自己解释自己。如果我只能让别人记住一句关于编程的名言,那么这句名言就是《计算机程序的结构与解释》^一书的卷首语: + +程序写出来是给人看的,附带能在机器上运行。 + +^「Harold Abelson与Sussman Gerald合著的Structure and Interpretation of Computer Programs,麻省理工学院出版社1985年出版。」 + +  “换位思考”不仅是为了你的用户,也是为了你的读者。这对你是有利的,因为你也会读自己写的东西。许多黑客六个月后再读自己的程序,却发现根本看不懂它是怎么运行的。我认识好几个人,因为这种经历而发誓不再使用Perl语言。^ + +^「把代码写得便于阅读,并不是让你塞进去很多注释。我想引申一下Abelson和Sussman的那句话:“程序写出来是为了让人看懂它的算法,附带告诉计算机如何执行。”一种好的编程语言应该比英语更容易解释软件。只有在那些不太成熟、容易出现问题的地方,你才应该加上注释,提醒读者注意那里,就好像公路上只有在急转弯处才会出现警示标志一样。」 + +  在某些地方,自行其道、完全不替读者着想,被看成是高水平、高智商的表现,甚至都发展成了一种风尚。但是,我不觉得“换位思考”与智商之间存在任何联系。在数学和自然科学领域,你不用学习怎么向别人表达自己,也能取得很好的成就。而那些领域的人普遍很聪明,所以人们很自然地就把“聪明”与“不懂得换位思考”联系了起来。但是,世界上还有许许多多很笨的人,也同样不懂得“换位思考”。 + +  最后,如果编程是与绘画和写作同一类的工作,黑客是否有机会像伟大艺术家一样备受推崇、流芳后世呢?毕竟生命只有一次,你可能想用它来做一些伟大的事情。 + +  很遗憾,这个问题很难回答。声望这个东西,总是经过漫长的时滞以后才会确立,它就像遥远星系发出的光,经过了许多光年才能被我们看到。那些如今声名显赫的绘画作品,来自于五百年前的画家的卓越工作。在那些画家生前,没人像我们今天那样看重这些作品。1465年的人们也许会感到非常奇怪,后世的人们提起乌尔比诺城(Urbino)不可一世的费德里科公爵,最主要的原因居然是弗朗切斯卡把他的鼻子画得非常独特(见图2-2)。 + + + +图2-2 皮埃罗·德拉·弗朗切斯卡(Piero della Francesca)的作品《蒙特费特罗家族的费德里科》(Federico da Montefeltro),1465~1466年(局部) + +  所以,虽然我必须承认,眼下看来艺术家比黑客更酷,但是我们不应忘记,古时候绘画蓬勃发展的那些黄金年代,画家也不是像今天这样酷的。 + +  我们能够有把握说的就是,现在正是编程的黄金年代。大多数领域的伟大作品都诞生于很早以前。1430年到1500年之间的绘画杰作,至今仍然是不可超越的。莎士比亚出现的时候,戏剧这种文艺体裁才刚发展起来,专门表演戏剧的场所“戏院”才刚刚诞生。他把戏剧这种艺术形式提升到一个难以触及的高度,让后世的每一个剧作家都不得不生活在他的阴影之中。德国雕塑大师丢勒(Albrecht Dürer)、英国小说家简·奥斯丁(Jane Austen)都是这样的大师。 + +  我们看到这种模式一再反复出现。一种新的媒介刚刚诞生的时候,人们热情髙涨、兴奋不已,短短几代人就探索清楚了这种媒介的大部分可能性,把它的能量发挥到极致。编程目前好像就处在这个阶段。 + +  在达·芬奇的年代,绘画并不是一件很酷的事情,达·芬奇用自己的工作推动绘画成为一种伟大的表达方式。同样,编程到底能够有多酷,取决于我们能够用这种新媒介做出怎样的工作。 + + + + + +  3.不能说的话 + +  翻开老照片,看到以前的样子,你会不会感到难为情?我当时真的是穿成这样吗?是的,你没看错,你就是穿成这样。我们穿衣服的时候,根本不知道自己看上去有多傻,还以为很时尚。所谓“时尚”,本质上就是自己看不见自己的样子。好比我们在地球上,却感觉不到地球在动。 + +  但真正令人惊恐的是,流行一时的不仅有衣服,还有道德观念。明明是专横武断、毫无依据的错误观点,但是大多数人却深信不疑,受到影响而不自知。这是非常危险的。流行的衣服,其实是很难看的衣服;流行的道德观念,其实不是善而是恶。但是,如果别人都穿流行的衣服,而你不穿,你就会遭到嘲讽;如果别人都遵守流行的道德观念,而你不遵守,结果则要严重得多,你会被解雇、流放、监禁,甚至被杀。 + +  要是能坐上时间机器回到过去,不管哪一个年代,有一件事都是不会改变的,那就是“祸从口出”。你一定要小心自己说的话。自以为无害的言论会给你惹来大麻烦。今天,说地球围绕太阳运转真是再平常不过了,如果换在17世纪的欧洲,这么说就大难临头了。伽利略说了这样的话,结果遭到了宗教法庭的审判。^ + +^「从审判一开始,宗教法庭可能就没打算对伽利略动刑,因为伽利略明确表示,不管宗教法庭提出怎样的要求,他都会照办。这是无奈之举,因为只要他不认罪,宗教法庭就不会放过他。此前不久,哲学家布鲁诺就拒不认罪,宗教法庭于是下令烧死布鲁诺。」 + +  书呆子就是那样惹上麻烦的。他们穿着不流行的衣服,讲着不合适的话。他们觉得自己说出了正确的观点,实际上却惹来了麻烦。习俗的力量不足以束缚他们。 + +  历史的常态似乎就是,任何一个年代的人们,都会对一些荒谬的东西深信不疑。他们的信念还很坚定,只要有人稍微表示一点怀疑,就会惹来大麻烦。 + +  我们这个时代是否有所不同?只要读过一点历史,你就知道答案几乎确定无疑,就是“没有不同”。即使有那么一丝微小的可能,有史以来第一次,我们这个时代的所有信念都是正确的,那也是出于惊人的巧合,而不是因为我们真找到了正确的方向。 + +  一想到现在我们言之凿凿的东西,在未来人们的眼里却是荒诞不经,怎能不令人感叹呢!如果未来有人坐着时间机器来到我们这个时代,哪些话是他小心翼翼避免说出口的?我的这篇文章就想探讨这件事。我不仅要展示一些当前的“异端邪说”,让每个人都大吃一惊,还要找出适用于所有年代的通用法则,判断哪些话是不能说的。 + + + +你是一个随大流的人吗 + +  让我先问你一个问题:大庭广众之下,你有没有什么观点不愿说出口?如果回答是没有,那么你也许应该停下来想一想了。你的每一个观点都能毫不犹豫地说出口,你自己深深赞同这些观点,并且你也确信肯定会获得别人的赞同,这是否太过于巧合了?一种可能是,也许事情并没有这么巧合,你的观点就是从别人那里听来的,别人告诉你什么,你就相信了什么,你把别人灌输的观点当作了自己的观点。 + +  另一种可能是,你的思想观点确实是独立思考得到的,碰巧与社会主流的思想观点一模一样。这种情况的可能性似乎不大,因为这意味着,如果别人犯错了,你也必须碰巧犯一个同样的错误。为了防止他人复制,古代制作地图的工匠会故意在地图上画错一个小地方。如果你的地图与他的地图一样,就说明不太可能是你自己独立制作的。 + +  与历史上别的年代一样,我们的思想几乎肯定也是一张有错误的地图。如果你也犯下与别人一样的错误,那么这个错误不太可能完全来自于你自己。这就像1972年喇叭裤刚刚开始流行,某人声称他觉得喇叭裤很时尚,你觉得这是他完全自发产生的观点吗? + +  如果别人告诉你应该相信什么,你就真的相信了,那么你就会和别人一样犯下同样的错误。如果你是南北战争前的南方庄园主,你会与北方开战;如果你是20世纪30年代的德国人,你会相信希特勒。 + +  有时候,别人会对你说:“要根据社会需要,改造自己的思想(well-adjusted)。”这种说法隐含的意思似乎是,如果你不认同社会,那么肯定是你自己的问题。你同意这种说法吗?事实上,它不仅不对,而且会让历史倒退。如果你真的相信了它,凡是不认同社会之处,你连想都不敢想,马上就放弃自己的观点,那才会真正出问题。 + + + +真话 + +  到底什么话是我们不能说的?为了找到答案,首先,我们可以看看,周围的人因为说了什么而陷入麻烦。^ + +^「某些组织善意地开出一份清单,提醒你在该组织内部哪些话是不能说的。不幸的是,这种清单有两个缺点。第一个缺点是不完备,因为有些话过于惊世骇俗,开列清单者根本没想到有人真的会说出口,所以没有写入清单。第二个缺点是太笼统,淸单很难真正有效实施。在一些美国大学中,校方制定了“演讲规范”(speech code),禁止人们在校园公开演讲中对种族、宗教、同性恋等问题发表歧视性的或者政治不正确的言论。如果严格按照字面含义执行这种“演讲规范”,那么就连莎士比亚也无法在美国大学中发表演讲了。」 + +  当然,这里要注意,并不是所有不能说出口的话都是我们要找的答案。实际上,只有同时满足两个条件才行。第一个条件是,这些话不能说出口;第二个条件是,它们是正确的,或者看起来很可能正确,值得进一步讨论。如果达不到第二个条件,大部分情况下你都不会有麻烦。你说2+2等于5,或者匹兹堡的市民身高三米,都不会有事的。这些明显错误的言论也许会被当成笑话,或者更糟一点,被当成你发疯的证据,但是肯定不会惹恼任何人。触怒他人的言论是那些可能会有人相信的言论。我猜想,最令人暴跳如雷的言论,就是被认为说出了真相的言论。 + +  如果伽利略说帕多瓦城(Padua)的人身高三米,他只会被当作一个古怪的疯狂科学家。但是,他说地球围绕太阳运转,性质就完全不一样了。教廷知道,这种话会让人们开始思考。 + +  回顾历史,我们会发现很多这样的例子。人们因为说真话而给自己惹来麻烦。许多的言论,今天的人们看来再平常不过,但是放在过去都是不能说的。以此推断,未来的人们很可能会发现,他们觉得很平常的话,在我们今天这个时代都是不能说的。现在有没有伽利略这样的人和事?很可能是有的。 + +  为了找出那些“不能说的话”,让我们问自己,它们会不会是真的?OK,当你发现某些言论很可疑时,你可以这样想,那些话听上去真是大逆不道(或者其他类似的形容词),但是有没有可能是真的?这就是找出“不能说的话”的第一种方法:判断言论的真伪。 + + + +异端邪说 + +  除了真话以外,“不能说的话”还有一种可能。有些想法,纯粹因为非常特别,而不能说出口。比如,某个话题极其富有争议,不管是对是错,没有人敢在公开场合谈论它。我们怎样才能发现这种情况呢? + +  我们把这种不一定正确、但是极富争议的言论称为“异端邪说”。关注“异端邪说”,是找出“不能说的话”的第二种方法。历史上的每一个年代,都会给“异端邪说”贴一些标签,目的是在人们开始思考它们是否为真之前就把它们封杀。“亵渎神明”、“冒犯圣灵”、“异端”都是西方历史上常见的标签,当代的标签则是“有伤风化”、“不得体”、“破坏国家利益”等。以前时代的标签在今天已经不可避免地失去了杀伤力,最多只能用于讽刺。伹是在以前,它们真的有巨大的威力。 + +  举例来说,“失败主义者”(defeatist)这个词,今天看来并没有特别的政治含义,只是指某个人比较悲观,不相信自己会成功。但是在1917年的德国,这个词却是一件锐利的武器,鲁登道夫将军(Erich Luderdorff)将所有政治对手都称为“失败主义者”,指责他们奉行投降主义,赞成签订第一次世界大战停战协议,从而用这个借口把他们清除出政府。第二次世界大战初期,英国首相丘吉尔及其支持者也广泛使用这个词压制反对声音。1940年那一年,任何反对丘吉尔对攻作战策略的人一律被称为“失败主义者”。这个标签贴得对不对?根本没人考虑这个问题。被贴上标签、受到打压后,人们都噤若寒蝉了。这真是很理想的压制反对声音的方法。 + +  如今,当然也有这样的标签,从万金油式的“不适当”(inappropriate)到可怕的“制造分裂”(divisive),不胜枚举。好在不管是哪个年代,分辨这样的标签应该是比较容易的。你只要看看人们怎么称呼那些自己不赞成、但是又不算错的观点就行了。当一个政治家说自己的对手是错的,这是直截了当的批评。但是,如果他不谈论对错,却使用“制造分裂”或者“对种族问题不敏感”这样的标签攻击对手,那么我们就应该多加注意了。所以,如何找出那些我们自以为正确却会被未来人们耻笑的话?方法就是关注这些标签!比如,有一个标签叫做“性别歧视”,你问自己哪些想法属于“性别歧视”。然后,把头脑中跳出来的那些想法按照先后顺序列出来,再逐个追问,它们真的属于“性别歧视”吗? + +  这样的自问自答是不是太主观了?表面上确实很主观,但是实际上不是。因为最先从你头脑中跳出来的想法,往往就是最困扰你、很可能为真的想法。你已经注意到它们,但还没有认真思考过。 + +  1989年,一些聪明的研究人员设计了一个实验,给放射科医生看胸部X光片,请他们判断病人有没有肺癌迹象。研究人员记录了医生检査X光片时的眼球运动^。研究发现,即使那些医生漏掉了一个癌症病灶,他们的目光通常也会在那个地方停留一会。这说明他们的头脑深处已经意识到那里有问题,但是这种深层的反应没有上升为自觉的意识。我认为,类似的思维机制存在于每个人的头脑中,很多看似叛逆的“异端邪说”,早就“潜伏”在我们的思维深处。如果我们暂时关闭自我审查意识,它们就会第一个浮现出来。 + +^「Kundel HL、Nodine CF与Knqjinski EA, "Searching for lung nodules: Visual dwell indicates locations of false-positive and false-negative decisions", Investigative Radiology, 24(1989), 472-478.」 + + + +时空差异 + +  如果我们可以通晓未来,那么找出当代的那些表面上正确、实际上可笑的想法是一件很容易的事。伹是,不可能做到这一点。幸运的是,我们可以找到一种几乎有同样效果的替代方法:回顾过去。我们可以去找那些过去被认为理所当然,如今却被认为不可思议的事情,这是用来找出我们自己正在犯下的错误的第三种方法。 + +  过去和现在之间的变化有时候代表了一种进步。在物理学领域,如果我们与前人看法不一样,那是因为我们是对的,他们是错的。但是,物理学是一门硬科学(hardscience)^,换了其他学科,我们很快就无法确定谁对谁错了。如果你遇到的是社会问题,请问过去的看法与现在的看法哪一个更正确?很多时候你无法回答,因为过去与现在之间的变化往往不是因为对错,而是因为社会观念变了。比如,法定结婚年龄的变化。 + +^「在学术上,“硬科学”指的是那些严格精确、以事实为依据的学科,典型代表是自然科学如物理学。相对应的概念则是“软科学”(softscience),指的是不那么严格精确、难以用亊实检验的学科,典型代表是社会科学。——译者注」 + +  我们可以自以为是地相信,当代人比古人更聪明、更高尚。但是,了解的历史越多,就越明白事实并非如此。古人与我们是一样的人,他们既不是更勇敢,也不是更野蛮,而是像我们一样通情达理的普通人。不管他们产生怎样的想法,都是正常人产生的想法。 + +  所以,我们就有了找出“不能说的话”的第三种方法:将当代观念与不同时期的古代观念diff^一下。diff得到的结果,有一些用当代标准衡量是很令人震惊的。古人认为可以说的话,我们认为是不可以说的。但是,你有把握断言你比古人更正确吗? + +^「diff是计算机术语,最早是一个程序,用来比较同一个软件不同版本源码之间的差异。它会告诉你,哪些是新增的代码,哪些是被删的代码。后来,这个词还可以当动词用。它最能确切表达此处我的意思。参见附录a词汇表”。」 + +  甚至也不用参照历史,当代世界是多种文化并存的世界。东方文化与西方文化存在巨大的差异,各种文化的价值观念和禁忌之处都不一样。所以,你也可以将我们的观念与其他文化的观念diff—下。(做到这一点的最好方法,就是亲自去看一看。) + +  你可能会因此发现互相冲突的观点。一种文化认为,认同x观点是骇人听闻的,而另一种文化认为,不认同x观点才是骇人听闻的。不过通常来说,禁忌是单方面的。x观点在一种文化中不允许说出口,而在其他文化中说不说都可以。我的判断是,认为x观点骇人听闻的一方更可能是错误的一方。^ + +^「有些人可能因为这一段话,认为某种程度上我是一个“道德相对主义者”(moral relativist),即不相信存在客观的、放之四海而皆准的普遍道德真理。恰恰相反,我在这里的意思是,人们自以为很“客观”,而把"主观”(judgmental)这个词用作压制讨论的标签。我们试图让自己变得“非主观”(non-judgmental)的种种努力,在未来人们看来,都将是我们的最滑稽可笑之处。」 + +  有一些行为或观点,比如谋杀,在所有年代、所有地方都受到禁止或基本禁止。我认为,只有它们才是真正错误的行为或观点。如果某个观点在大部分时空都是不受禁止的,只有我们这个社会才把它当作禁忌,那么很可能是我们出错了。 + +  举例来说,20世纪90年代早期,“政治正确”的潮流一度登峰造极。在这股潮流的推动下,哈佛大学向教职员工发了一本小册子,上面说除了其他规定以外,请尽量避免赞扬同事或学生的衣着,那样做是不合适的。“你的衬衫很不错”(nice shirt)这一类的话都不能说。我想,这种规定在全世界古往今来的各种文化之中是很罕见的。在别的地方,赞美他人的衣着更可能被看作是有礼貌的表现,而不是一种非礼。这个事件也许是一个较为温和的例子,说明了1992年马萨诸塞州的坎布里奇^存在着一种古怪的禁忌。要是未来的人们坐着时间机器碰巧在那个时间来到那里,这就是他们“不能说的话”。 + +^「哈佛大学所在地。——译者注」 + + + +道貌岸然 + +  当然,如果未来的人们真的坐着时间机器,回到马萨诸塞州的坎布里奇,他们可能需要一本特别的参考手册,里面写满了与哈佛大学有关的事情。因为那个地方的人讲究得不得了,有着许多莫名其妙的规定。那里的居民绝不容忍字母i上面少了一点,或者字母t上面少了一横。在那里,你有保证自己的每一句话都观点正确、语法无误的法定义务。这倒是提示了我们,还有第四种寻找“不能说的话”的方法:寻找那些一本正经的卫道者,看看他们到底在捍卫着什么。 + +  孩子的大脑就是我们所有“不能说的话”的一面反射镜。我们似乎认定,孩子的思想应当是光明纯洁的。为了保证孩子不受外界“不良”思想的影响,我们对那些思想迸行消毒和屏蔽,把世界描述成光明的样子,向孩子们灌输,将他们的心灵塑造成我们想象中的样子。^ + +^「这种做法使得孩子对外界充满了困惑。为什么我看到的世界与大人们告诉我的世界差别如此之大?举例来说,小时候,我一直无法理解,为什么15世纪的葡萄牙“探险家”要沿着非洲海岸探险,而不是深入非洲内陆?长大后我才知道,葡萄牙人的真正目的是抓黑人充当奴隶,但是大人们不愿意孩子了解这些。参见De Azurara与Gomes Eannes合著的《几内亚的发现史》(Chronicleof the Discovery of Guinea),收录在Almeida编辑的《亨利王子的征服和发现》(Conquests and Discoveries of Henry the Navigator)—书中,George Allen & Unwin出版社1936年出版。」 + +  小孩子说脏话就是一个很好的切入点,你可以从这个小小的侧面来思考这个问题。我的许多朋友现在都开始为人父母了。他们一个个都变得非常小心,不在孩子面前使用“fuck”、“shit”这样的脏话,以免孩子学会这些词。但是,这些词是日常语言的一部分,成年人一天到晚都在用。所以,孩子从家长那里得到一个错误的印象,以为它们是没人用的。为什么家长要这样伪装呢?因为他们觉得孩子不应该知道成年人语言的所有内容,只需知道一部分适合儿童的词就行了。我们喜欢孩子们看上去天真无邪。^ + +^「很快,孩子就会从朋友那里知道这些词。但是他们明白,不能在大人面前使用。所以,没过多久,一切就变得有点像讽刺剧了。家长在外使用这些词,回家后就不用。孩子在外也使用这些词,回家后也不用。双方见面,就像演戏一样。」 + +  就是因为这个原因,大多数成年人故意让孩子对世界有一个错误的认识。最鲜明的例子之一就是圣诞老人。我们觉得,小孩子相信圣诞老人,真是太可爱了。我本人其实也是这样想。但是,扪心自问,我们向孩子灌输圣诞老人的神话,到底是为了孩子,还是为了我们自己? + +  我在这里不讨论这样做是否正确。家长想要塑造孩子的心灵,把他们装扮成可爱的小宝宝,这可能是无法避免的。我也可能这样做。但是,就本文而言,这样做会产生一个重要结果,那就是孩子“被迫”在一个精心设计的环境中长大。他的头脑或多或少是纯洁无暇的,一点也不知道那些“不能说的话”,从来没有被真实的社会生活“污染”过。孩子眼里的世界是不真实的,是一个被灌输进他们头脑的假想世界。将来当孩子长大以后接触社会,就会发现小时候以为真实的事情,在现实世界中是荒唐可笑的。 + +  那些“不能说的话”就是这样被阻止进入我们头脑的。你可以想象一下,假定有一个康拉德^式的当代人物,他在非洲当雇佣兵,然后去了尼泊尔当医生,后来又到迈阿密经营夜总会。具体干什么并不重要,反正他就是一个见多识广的人。现在,我们把这个人的头脑,与一个在美国郊区长大的、乖巧守规矩的16岁女生的头脑,做一个比较。前者的所思所想会不会令后者惊骇不已?他知道真实世界是什么样,而她知道的,或者至少体现在她言行上的,不过是父母精心灌输的一个假想世界。两者减一下,我们就可以知道不能说的到底是哪些话了。 + +^「约瑟夫·康拉德(Joseph Conrad,1857—1924),著名英国小说家。17岁就开始当水手,航海生活达20余年,到过非洲和亚洲的许多地方,后来以写航海小说闻名,对英国文学产生了巨大影响。——译者注」 + + + +机制 + +  我还想到了第五种方法,可以找出“不能说的话”,那就是去观察禁忌是如何产生的。某种道德观念到底是怎么出现的,又是怎么被其他人接受的?如果我们能够理解它的产生机制,可能就可以应用于我们自己的时代。 + +  流行的道德观念与其他普通的流行时尚的产生方式似乎是不一样的。一般来说,流行的时尚产生于某个有影响力的人物,他突发奇想,接着其他人纷纷模仿。15世纪晚期,欧洲流行一种宽头鞋(broad-toed shoe),原因是当时的法国皇帝査理八世长了六根脚趾。20世纪20年代,著名电影明星Frank Cooper决定改名,他把Frank改成一个印第安纳州工业小镇的名字Gary,以便突出自己粗犷硬朗的铁汉形象,结果导致这个名字风靡一时,很多父母都为儿子取名为Gary。但是,流行的道德观念不是这样,它们往往不是偶然产生的,而是被刻意创造出来的。如果有些观点我们不能说出口,原因很可能是某些团体不允许我们说。 + +  那些团体神经越紧张,它们所产生的禁止力量就越大。伽利略因为宣传日心说而遭到教廷的审判,这件事讽刺的地方在于,他只是在宣传哥白尼的观点,而后者却安然无恙。事实上,哥白尼不仅不反对教廷,还是一个虔诚的天主教教士,他把自己的著作献给教皇。不幸的是,伽利略正赶上教廷内部反对派上台,宗教改革被压制,任何非正统的思想遭受到前所未有的严厉控制和禁止。 + +  为了在全社会制造出一个禁忌,负责实施的团体必定既不是特别强大也不是特别弱小。如果一个团体强大到无比自信,它根本不会在乎别人的抨击。美国人或者英国人对外国媒体的诋毁就毫不在意。但是,如果一个团体太弱小,就会无力推行禁忌。有一种行为怪癖叫做“嗜粪症”(coprophila),它的患者人数以及影响势力眼下似乎就不太强大,无法把自己的观点推广给其他人。 + +  我猜想,道德禁忌的最大制造者是那些权力斗争中略占上风的一方。你会发现,这一方有实力推行禁忌,同时又软弱到需要禁忌保护自己的利益。 + +  大多数的斗争,不管它们实际上争的是什么,都会以思想斗争的形式表现出来。16世纪的英国宗教改革(English Reformation)本质上是为了争夺权力和财富,但是却表现为英国人要求自主的精神与罗马教廷腐化的控制之间的斗争。思想斗争更容易争取支持者。不管哪一方获胜,他们所代表的思想也就被认为获得了胜利,仿佛上帝通过选择胜利的一方表示了自己的倾向。 + +  我并不是说斗争从来就与思想无关,而是要强调,不管实际上是否有思想斗争,斗争总是会以思想斗争的形式表现出来。正如刚刚过气的时尚并非一点儿也不时尚,失败一方的思想其实也并非一无是处。比如希特勒就很推崇写实派艺术(representational art),但是希特勒是失败者,所以写实派一直得不到认同,直到近年才开始复兴。^ + +^「Viaweb的标志是一个红色实心圆固,中间加上一个白色的V。我还记得,启用这个标志后没过多久,我就对实际效果感到非常满意,认为红色的圆围是一个很有力的符号。红色可以说是最基本的颜色,圆圈是最基本的形状,它们的结合是如此具有视觉冲击力。那么,为什么很少有美国公司在标志中使用红色圆困?嗯,我知道为什么了……(译者注:日本的国旗就是红色圃睡,而日本在二战中被美国击败。)」 + +  虽然,流行的思想观点与流行的服饰产生方式不尽相同,但是,它们的传播途径却很相似。第一批的接受者总是带有很强的抱负心,他们有自觉的精英意识,想把自己与普通人区分开来。当流行趋势确立以后,第二批接受者就加入进来了,人数比上一批庞大得多,恐惧心在背后驱使着他们^。他们接受流行,不是因为想要与众不同,而是因为害怕与众不同。 + +^「带动流行的两种力量之中,恐惧心比抱负心有力得多。好几次,我听到别人在用gyp(诈骗)这个词,我就一本正经地告诉他们,以后不能再用了,因为它是对吉普赛人(gypsy)的侮辱。但是事实上,词典写得很清楚,这两个词之间不存在词源关系,我只是在开玩笑而已。不过,别人几乎总是很诚惶诚恐地对待这个玩笑,立刻表现出一种怀着畏惧的服从。这就是流行的本质,衣着也好,思想也好,它使得人们没有自信。在新事物面前,人们会感到自己错了:这是我早就应该知道的事情啊。」 + +  所以,如果你要寻找“不能说的话”,可以观察流行的产生方式,试着预测它会禁止哪些话。哪一个团体势力强大,却又精神高度紧张?这种团体喜欢压制什么样的思想观点?近来有没有什么社会斗争,失败的一方是哪一方,受到他们牵连的是什么样的思想观点?如果一个先锋人物想要挣脱当前的流行(比如上一代人的观点)脱颖而出,他会支持什么样的思想观点?随大流的人对什么样的思想观点抱有恐惧心? + +  这个方法的缺点是不全面,无法找出所有“不能说的话”。因为,我知道有些禁忌不是由于社会斗争而产生的,它们深深植根于过去的历史之中。但是,这个方法与前面四个方法结合在一起,会找出大量我们难以想象的“不能说的话”。 + + + +为什么这样做 + +  有人可能会问,为什么要去找出“不能说的话”?为什么要故意打探那些龌龊的、见不得人的思想观点?你明知那里有挡住去路的石头,为什么还要把它们翻过来看个究竟呢? + +  首先,我这样做与小孩子翻石头是出于同样的原因:纯粹的好奇心。我对任何被禁止的东西都有特别强烈的好奇心。我要亲眼看一下,然后自己做决定。 + +  其次,我这样做是因为我不喜欢犯错。如果像其他时代一样,那些我们自以为正确的事情将来会被证明是荒谬可笑的,我希望自己能够知道是哪些事情,这样可以使我不会上当。 + +  再次,我这样做,是因为这是很好的脑力训练。想要做出优秀作品,你需要一个什么问题都能思考的大脑。尤其是那些似乎不应该思考的问题,你的大脑也要养成思考它们的习惯。 + +  优秀作品往往来自于其他人忽视的想法,而最被忽视的想法就是那些被禁止的思想观点。举例来说,自然选择学说(natural selection)是一种伟大的理论。它的观点非常简单,你会奇怪为什么以前没有人想到。这是因为它与传统观点的差异实在太明显了,可能引发轩然大波,所以其他人不敢去想。达尔文也因此不得不非常小心,他只想当一个生物学家,不想陷入宗教争论。 + +  在科学领域,质疑他人的结论和公认的假设是尤其重要的一件事,会提供巨大的科学创造的优势。科学家(或者至少是优秀科学家)做事的方式,准确地说,就是寻找传统观点无法自圆其说的地方,然后试着拆开那里,看个究竟,瞧瞧里面到底出了什么问题。新的理论就是这样产生的。换言之,一个好的科学家,并不仅仅是避开传统观点,还要努力打破传统观点。科学家就是要自找麻烦。这应该是任何学者的研究方式,但是科学家似乎特别愿意一探究竟。 + +  为什么?可能仅仅是因为科学家比其他领域的学者更聪明。如果有必要的话,大多数物理学家有能力拿到法国文学的博士学位,但是反过来就不行,很少存在法国文学的教授有能力拿到物理学的博士学位^。或者,另一种原因是,在科学中,命题的真伪更显而易见,所以这使得科学家能够更勇敢地质疑传统观点。(这句话也可以这样说,因为科学命题的真伪更显而易见,所以你想在科学界谋职,就不得不训练自己的智力,去发现解决那些真正的问题,而不能仅仅当一个政治家,通过搞人事关系和派系斗争立足。) + +^「这句话本身就是一种明显的本文所讨论的“不能说的话”。它犯了大学中的一个大忌:评判各种学科的难易。大学校园中有一条默认的公理——各种领域的研究所要求的智力水平都是相同的。毫无疑问,这条公理确实能够减少冲突,让一切平稳运作。但是,如果这条公理为真,那将是多么巧合的事情啊,所有学科的难易程度居然一模一样!而且,承认这条公理比不承认它会使得一切都方便得多!你只要想到这些,怎能不质疑它呢!尤其是当你想到,一旦接受了这条公理所产生的必然推论,就更无法不质疑它了。比如,它意味着不会出现单个学科的停滞或爆发式发展,所有学科的发展形态必须是完全同步的,因为这条公理告诉我们,各个学科面对的问题难度是一样的!(要弥补这个推论,你真的会伤透脑筋。)此外,如果大学开设了烹饪系或运动管理系(sports management),你会怎么想?如果你接受上面的公理,那么大学到底还要开设什么系?你真的认为微分几何和烹饪学的难度相同吗?」 + +  不管是哪一个原因,看来存在一个很清晰的关联关系:智力越高的人,越愿意去思考那些惊世骇俗的思想观点。这不仅仅因为聪明人本身很积极地寻找传统观念的漏洞,还因为传统观念对他们的束缚力很小,很容易摆脱。从他们的衣着上你就可以看出这一点:不受传统观念束缚的人,往往也不会穿流行的衣服。 + +  做一个异端是有回报的,不仅是在科学领域,在任何有竞争的地方,只要你能看到别人看不到或不敢看的东西,你就有很大的优势。眼下的美国汽车工业对于市场份额下降怨天尤人。但是,这件事再明显不过了,任何人只要略做观察,就能迅速说出美国汽车公司走下坡路的原因:它们生产烂车。更糟的是,长期以来,它们一直这样做,所以现在美国车完全是在吃品牌的老本,也就是说,消费者购买凯迪拉克汽车,不是因为汽车本身,而是因为它的品牌。实际上,现在的凯迪拉克早已不是1970年时的凯迪拉克了。但是,我想没人敢这么说^。否则,这些汽车公司早就把问题解决了。 + +^「在这些公司内部,类似的想法很可能被贴上“悲观消极”、“失败分子”这样的标签。优秀的决策者根本不应该在乎这些标签,而是直接问自己、它们到底对不对?其实,一个公司是否健康运作,可以用一个指标衡量,那就是对负面评价的容忍程度。做出伟大产品的公司,自我评价往往以“批评”和“自嘲”为主,而不是以“肯定”和“表扬”为主。我认识的杰出成就人士都认为自己做得不好,之所以能成功只是因为其他人做得更差。」 + +  训练自己去想那些不能想的事情,你获得的好处会超过所得到的想法本身。这就像田径比赛之前要傲一些伸展运动,把肢体活动开。你要把身体伸展到极限,远超过跑步所需要的那种程度,这样一来,比赛的时候才能跑得更快。同样,如果你能“远远地”跳出传统思维,提出让别人一听就脑袋轰一声炸开的惊人观点,那么你就在“小小地”跳出传统思维方面不会有任何困难。要知道,人们把后面的这种情况称为“创新”。 + + + +守口如瓶 + +  一旦发现了“不能说的话”,下一步怎么办?我的建议就是别说,至少也要挑选合适的场合再说,只打那些值得打的仗。 + +  假设未来的某一天,世界上爆发了一场运动,黄颜色被禁止了。任何东西都不得涂成黄色,违者就是“黄色分子”(yellowist),以破坏社会稳定罪论处。橙色可以容忍,但也很可疑。有一天,你终于觉醒了,意识到错的不是黄颜色,而是这个社会。如果公开这样说,就会被打成“黄色分子”,无数正义人士义愤填膺,对你口诛笔伐。如果你以此作为人生目的,一定要为黄颜色平反昭雪,现在的局面可能正中你下怀。但是,如果你的兴趣主要是别的事情,变成他人眼里的“黄色分子”对你是极大的干扰。与笨蛋辩论,你也会变成笨蛋。 + +  这时你要明白,自由思考比畅所欲言更重要。如果你感到一定要跟那些人辩个明自,绝不咽下这口气,一定要把话说清楚,结果很可能是从此你再也无法自由理性地思考了。我认为这样傲不可取,更好的方法是在思想和言论之间划一条明确的界线。在心里无所不想,但是不一定要说出来。我就鼓励自己在心里默默思考那些最无法无天的想法。你的思想是一个地下组织,绝不要把那里发生的事情一股脑说给外人听。“格斗俱乐部”的第一条规则,就是不要提到格斗俱乐部^。 + +^「《格斗俱乐部》(Fight Club)是1999年的美国电影,讲述了一个地下组织发起人的故亊。在电影中,加入“格斗俱乐部”的第一条规则就是不得谈论格斗俱乐部。——译者注」 + +  1638年,英国诗人弥尔顿(John Milton)准备第一次访问意大利。曾经担任英国驻威尼斯大使的沃顿爵士(Hemy Wootton)告诉弥尔顿要记住一句座右铭“i pensieri stretti & il viso sciolto”。字面意思是“守口如瓶,笑脸相迎”,也就是说,你要对每一个人微笑,但是不要说出自己的真实想法。这是很明智的建议。因为弥尔顿是一个喜欢争论、好打嘴仗的人,而当时罗马教廷的宗教裁判所非常强势,所以沃顿爵士才会这样建议他。需要记住的是,弥尔顿的时代与我们的时代并没有本质不同。每个时代都有自己的忌讳,如果你触犯它们,就算没有坐牢,至少也会为自己惹来麻烦,干扰了正常生活。 + +  我承认,“守口如瓶”看上去是一种怯儒的行为。每当我读到山达基教会(Scientology)的信徒对批评者骚扰不断^,或者抗议以色列侵犯人权的人士被贴上“反犹太人”的标签^^,或者研究人员受到DMCA^^^诉讼威胁^^^^,我内心就有一个声音在高喊:“好吧,你们这些混蛋,让我们来说清楚。”可是问题在于,“不能说的话”太多了,如果口无遮栏,你就没时间做正事了。为了与他人论战,你不得不变成一个语言学家,比如诺姆·乔姆斯基^^^^^。 + +^「Richard Behar, "The Thriving Cult of Greed and Power", Time, 1991年5月6日。」 + +^^「Patrick Healy, "Summers hits 'anti-Semitic' actions", Boston Globe, 2002年9月20日。」 + +^^^「DMCA指美国的《数字千禧年版权法》(Digital MillenniumCopyrightAct),该法律主要保护版权作品的互联网传播权。DMCA规定,如果某个网站侵犯了你的版权,你可以向网站所有者或者主机服务商发出通知,要求撤下侵权内容,这个通知就叫做“DMCA通知”。如果对方没有及时采取行动,你就可以把它告上法庭。——译者注」 + +^^^^「"Tinkerers champion", The Economist, 2002年6月20日。」 + +^^^^^「我这里不是指你一定要持有诺姆·乔姆斯基的观点,而是指你不得不变成一个专业的辩论者(controversialist)。如果说了“不能说的话”,你就同时得罪了保守派和自由派,两派都会与你辩论。好比回到维多利亚女王时代的英国,你同时得罪了辉格党和托利党,那么你的一张嘴怎么能是两大党派的对手呢?(编者注:诺姆·乔姆斯基是著名的语言学家,麻省理工学院的语言学和哲学教授。)」 + +  “守口如瓶”的真正缺点在于,你从此无法享受讨论带来的好处了。讨论一个观点会产生更多的观点,不讨论就什么观点也没有。所以,如果可能的话,你最好找一些信得过的知己,只与他们畅所欲言、无所不谈。这样不仅可以获得新观点,还可以用来选择朋友。能够一起谈论“异端邪说”并且不会因此气急败坏的人,就是你最应该认识的朋友。 + + + +笑脸相迎? + +  你的策略,简单说,就是不赞同这个时代的任何一种歇斯底里,但是又不明确告诉别人到底不赞同哪一种歇斯底里。狂热分子试图引诱你说出来真心话,但是你可以不回答。如杲他们不放手,一定要你回答“到底是赞成还是反对我们”,你不妨以不变应万变:“我既不反对也不赞成。” + +  不过,更好的回答是“我还没想好”。哈佛大学校长拉里·撒墨尔斯(Larry Summers)被逼表态时,就是这样说的^。他后来解释说:“别想在我身上做石蕊试验^^。”人们喜欢讨论的许多问题实际上都是很复杂的,马上说出你的想法对你并没有什么好处。 + +^「James Traub, "HarvardRadical", New York Times Magazine, 2003年8月24日。」 + +^^「石蕊是一种化学液体,遇到酸性物质时变红,遇到碱性物质时变蓝。所以,石蕊试验通常用来判断某种物质的酸碱性。——译者注」 + +  假设社会上充斥着反对“黄色分子”的人,他们只要看谁不顺眼,就大肆攻击。你看不下去,准备出手反击。这时,有几种方法可以使你免于被贴上“黄色分子”的标签。你可以参考战争史上的局部战争案例,避免正面对抗敌人的大部队,只打一些小规模的局部战争。比如,从远处用弓箭骚扰他们就是很好的方法。 + +  具体来说,一种方法就是逐步把辩论提升到一个抽象的层次。假定总的来说,你反对言论审查制度。公开质疑的时候,你一定要小心,不要提到具体的被审査的电影或者书籍。否则,对手就会一把抓住那部电影或那本书籍,声称你支持的其实不是言论自由,而是那些被审查的内容。你不要直接攻击某个标签,而要攻击它的“元标签”(meta-label)。所谓“元标签”,就是对某个标签的抽象描述。如果人们开始讨论元标签,那么原来的标签反而不会受到注意了。举例来说,“政治正确”(political correctness)就是一个“元标签”,是许多特定现象的总称。这个词现在被广泛使用,其实这恰恰意味着“政治正确”的时代正在开始消亡,因为它使得你可以从总体上攻击这个现象,而不会受到指控,不会被说成支持某一种特定的“政治不正确”现象。 + +  另一种反击的方法就是使用隐喻(metaphor)。20世纪50年代,美国众议院的“非美委员会”(Un-American Activities Committee)以遏制共产主义为名,大肆迫害文艺界和政治界的进步人士。剧作家阿瑟·米勒创作了戏剧《萨勒姆的女巫》(The Crucible)^进行反击。虽然在戏中他一句也没有提到“非美委员会”,但是观众一眼就可以看出,他在讽刺现实,将搜捕共产党间谍比喻为莫须有的捉女巫。“非美委员会”根本无法做出回应,你总不能为审判女巫辩护吧?阿瑟·米勒的隐喻太贴切了,直到今天,“非美委员会”的行为还经常被描述为“搜捕女巫”(witch-hunt)。 + +^「《萨勒姆的女巫》是阿瑟·米勒1953年的作品,讲述了1692年的北美马萨诸塞州萨勒姆小镇,出现了对于女巫的恐慌,从而进行了一场荒诞残醅的审判。许多善良的人由于他人的陷害和莫须有的罪名被诬陷入狱,在法庭上无法承受巨大的压力和威胁,不得不违心地承认自己有罪。阿瑟·米勒通过这部作品,影射当时美国国内“麦卡锡主义者”对进步人士的迫害,就像历史上对女巫的审判一样荒唐。——译者注」 + +  所有反击方法之中,最好的一种可能就是幽默。狂热分子都有一个共同点:缺乏幽默感。他们无法平静地对待笑话。在幽默王国中,他们闷闷不乐,就像满身笨重盔甲的骑士走进了溜冰场,无所适从。一个现实的例子就是,维多利亚女王时代的英国人讲究宫廷礼仪,迂腐守旧,人们把这当作笑话看待,结果它好像就真的被笑话击垮了。它在当代的化身“政治正确”也将得到同样的命运。“我很高兴自己写了《萨勒姆的女巫》,”阿瑟·米勒写道,“但是回想起来,我常常希望自己有那种气质,写一出反映当时情况的荒诞喜剧。”^ + +^「Arthur Miller, The Cruciblein History and Other Essays, Methuen, 2000年。」 + + + +永远质疑 + +  一个荷兰朋友建议我,把荷兰作为具有宽容精神的社会的例子。没错,历史上,荷兰人确实长期具有相对开放的思想。几个世纪以来,这个地势低洼的欧洲国家一直是言论相对自由的地方。在那里,你可以放心说出其他地方不能说的话。这帮助它成为学术和工业的中心。(言论自由与这两者紧密结合的历史,比大多数人意识到的还要长。)哲学家笛卡儿虽然被认为是法国人,但是他的思想大部分是在荷兰境内形成的。 + +  但是,我还是怀疑。荷兰这个国家到处都是法规和管制,有许许多多的事情都是明确禁止的。在这种情况下,你真的可以畅所欲言吗? + +  荷兰人认为自己思想开放,但是这种想法本身却什么也证明不了。有谁认为自己的思想不开放?美国郊区的中产阶级白人家庭普遍家教严格,限制孩子与外界多接触,可是在那里长大的女孩子也认为自己思想开放呢。不管问谁,人们都会说同样的话:“我们心态很开放,愿意接受新思想。”但是实际上,人们脑子里有一根界线,早就认准了什么是对的,什么是错的^。换言之,在他们看来,所有观点都是可以讨论的,除了那些错的观点。如果你的数学不好,那么你自己会知道,因为考试的时候你得不出正确答案。但是,如果你的思想很保守,你自己不会知道,而且你很可能还会持有相反的看法。请记住,所谓“流行”(传统观念也是一种流行),本质上就是自己看不见自己的样子。否则就不会有流行了。对于那些被流行抓住的人,流行就不再是流行,而是应该要做的正确事情。只有保持一定的距离才能观察到人们观念的变化,发现流行(也就是人们自以为正确的事情)到底是什么。 + +^「有些地方的人表面上不说你的观点是错的,而是使用更婉转的中性词来表达自己的判断,比如“负面的(观点)”或者“有破坏作用的(现点)”。」 + +  时间就是一种产生距离的简单方法。实际上,新的流行让旧的流行更容易被观察到,因为对比之下,旧的流行会显得很荒唐。从钟摆波动的一端望去,上一个周期的端点就显得特别遥远。 + +  不过,想要摆脱你自己的时代的流行,需要一点自觉。没有了时间所产生的距离,你不得不自已创造距离。你不要让自己成为人群的一分子,而要尽可能地远离人群,观察正在发生的事情,特别注意那些被压制的思想观点。比如,有些软件提供“互联网过滤”功能(Web filter),防止孩子和雇员看到色情的、暴力的、宣扬仇恨的网站。什么才算是色情和暴力?什么叫做“宣扬仇恨”?这种功能听上去很像出自小说《1984》^。 + +^「《1984》是英国左翼作家乔治·奥成尔(George Orwell,1903—1950)的代表作。在这篇小说中,作者以辛辣的笔触批判了极权主义,讽刺了泯灭入性的追遂权力的人。——编者注」 + +  各种各样的标签可能是外部线索的最大来源,帮助你发现这个时代流行的是什么。如果一个命题是错的,这就是它所能得到的最坏评价,足够批判它了,根本不用再加上任何其他标签。伹是,如果一个命题不是错的,却被加上各种标签,进行压制和批判,那就有问题。因为只要不是错的观点,就不应该被压制讨论。所以每当你看到有些话被攻击为出自XX分子或XX主义,这就是一个明确的信号,表明背后有问题。不管在1630年还是在2030年,都是如此。当你听到有人在用这样的标签,就要问为什么。 + +  如果你发现自己也在用这些标签,那就更要问为什么。你不仅要远距离观察人群,更要远距离观察你自己。顺便提一句,这可不是激进的想法,儿童和成年人的主要差别就在这里。儿童精疲力竭时,可能会大发脾气,因为他不知道为了什么;成年人则会了解是个人的身体状况问题,与外界无关,说一句“没关系,我只是累了”。我想,通过类似的机制,一个人完全可以识别和抵制外界流行的道德观念,把它们与内心世界相分离。 + +  如果你想要清晰地思考,就必须远离人群。但是走得越远,你的处境就会越困难,受到的阻力也会越大,因为你没有迎合社会习俗,而是一步步地与它背道而驰。小时候,每个人都会鼓励你不断成长,变成一个心智成熟、不再耍小孩子脾气的人。但是,很少有人鼓励你继续成长,变成一个怀疑和抵制社会错误潮流的人。 + +  如果自己就是潮水的一部分,怎么能看见潮流的方向呢?你只能永远保持质疑。问自己,什么话是我不能说的?为什么? + + + + + +  4.良好的坏习惯 + +  在大众眼里,“黑客”(hacker)就是入侵计算机的人。可是,在程序员眼里,“黑客”指的是优秀程序员。这两个含义其实是相关的。对于程序员来说,“黑客”这个词的字面意思主要就是“精通”,也就是他可以随心所欲地支配计算机。 + +  更麻烦的是,“黑”(hack)这个词也有两个意思,既可以用作赞美,也可以用作羞辱。如果你解决问题的方式非常丑陋笨拙,这叫做你很“黑”。如果你解决问题的方式非常聪明高超,将整个系统操纵在股掌之间,这也叫做你很“黑”^。日常生活中,前一种意思更多见,可能因为丑陋的做法总是多于聪明的做法。 + +^「中文的“黑”很难体现这两个意思,而在英文中,hack prose意思是平庸陈腐的文章,而hack the problem意思是很漂亮地解决了一道难题。——译者注」 + +  信不信由你,“黑”的这两个意思也是相关的。丑陋的做法与聪明的做法存在一个共同点,那就是都不符合常规。你用胶带把包裹绑在自行车上,那是不符合常规的丑陋做法;你提出充满想象力的新概念,推翻欧几里德空间(Euclidean space),那是不符合常规的聪明做法。从“丑陋”到“聪明”,它们之间存在一种连续性渐变。 + +  早在计算机出现之前,黑客就存在了。费曼^为曼哈顿计划工作时,喜欢破解存放机密文件的保险箱,觉得这样很有趣。这种传统持续至今。读研究生时,我有一个黑客朋友,他费尽心力配齐了一整套的开锁工具(现在,他在管理一个对冲基金,那个行业与开锁并非毫无关系。)^^。有时,你很难向当局解释为什么有人喜欢做这种事。我的另一个朋友,曾经因为入侵计算机,受到了政府的调查。最近,这种行为已经被认定为一种犯罪,但是联邦调查局发现,通行的调査方法不适用于黑客。警方总是从犯罪动机开始调查。常见的犯罪动机不外乎毒品、金钱、性、仇恨等。满足智力上的好奇心并不在FBI的犯罪动机清单之上。说实话,这个概念对他们来说完全陌生。 + +^「费曼(Richard Feynman,1918—1988),美国著名物理学家,诺贝尔奖得主,以性格顽皮,特立独行著称。——译者注」 + +^^「我也曾经打算学习开锁,但是原因不仅仅是为了满足好奇心,或者磨练自己的智力。那时,我读研究生读到一半,每天都要上机。管理机房的本来是一些本科生。他们很聪明也很不安分,后来就被换掉了,改成一个专职的机房管理人员。他每天下午5点锁好机房,准时下班回家。如果在此之后计算机出问题了,理论上你就只能等到第二天早上他来上班时再重启机器。这种做法根本不可行,因为我们这些研究生往往到下午5点才会开始上机干活。幸运的是,哈佛大学计算机系的Aiken实验室(现在已废弃)楼层之间有隔层,通向一扇天花板上的暗门正对着机房管理员办公室。我们就直接从这扇暗门进入屋里,打开管理员的抽屉,拿到机房钥匙。 + +有一天晚上,大概凌晨3点,我从天花板爬到管理员的桌子上,震耳欲聋的警报声突然响彻整幢大楼。“Fuck”,我心想(抱歉用了这个不雅的词,但是我清楚地记得,自已当时就是这么想的),“他们装了警报器。”我在三十秒内仓皇逃出大楼,冒着倾盆大雨,一路跑回家。虽然我装出一付若无其事的样子,但是内心却惊恐地觉得自己是一个犯罪分子,身边的每一辆汽车仿佛都是警车。第二天,我把辩解的理由排练得滚瓜烂熟后,才回到实验室。但是,出乎意料,并没有追究责任的Email在等着我。亊实上,昨晚暴风雨,闪电大作,触发了警报器。」 + +  总体来看,黑客是不服从管教的,这往往会激怒管理当局。但是,不服从管教,其实是黑客之所以成为优秀程序员的原因之一。当公司的CEO装模作样发表演说时,他们可能会嘲笑他;当某人声称某个问题无解时,他们可能也会嘲笑他。如果硬要他们服从管教,他们也就无法成为优秀程序员了。 + +  不过,有些人的这种态度不是真的,而是装出来的。某些年轻程序员注意到了知名黑客的怪癣,就会模仿,好使自己显得更聪明。这种装出来的不服从再加上故作姿态挑毛病的态度,不仅仅令人恼火,而且实际上会延缓创新的进程。 + +  但是,即使考虑到黑客令人恼火的种种怪癖,他们不服从管教的性格依然是利大于弊。我希望人们能理解,能更多地看到这种性格的长处。举例来说,好莱坞的电影人一直大惑不解,为什么黑客不喜欢版权法。在黑客网站Slashdot上面,版权是永恒的讨论热点。为什么程序员那么关心版权,而不是其他事情? + +  部分原因是,有些公司为了防盗版而使用了禁止复制的技术。这等于交给黑客一把锁,他的第一反应肯定是如何才能打开它。但是,这里面还有更深层次的原因,对于版权和专利这样的制度,黑客深感担忧。他们感到,保护“知识产权”的力度不断增大,已经威胁到了他们完成工作所必需的“思想自由”^。在这一点上面,他们的看法是正确的。 + +^「思想自由(intellectual freedom),指的是自由思考以及表达这种思考的权利。它是《世界人权宣言》(Universal Declaration of Humrn Rights)第19条规定的一种人权。参见g/wiki/Intellectual_freedom。——译者注」 + +  只有深入了解当前的技术,黑客才能构想下一代技术。知识产权的拥有者也许会说,不,谢谢,我们不需要你的帮助,我们自己就能开发下一代技术。他们错了,在计算机工业的历史上,新技术往往是由外部人员开发的,而且所占的比例可能要高于内部人员。1977年,IBM公司内部肯定有一些部门正在开发下一代电脑。他们没有料到的是,真正的下一代电脑不是诞生于IBM实验室,而是由两个与他们完全不相干的长头发年轻人在旧金山的一间车库里开发出来的。这两个年轻人,一个是史蒂夫·乔布斯,另一个是史蒂夫·沃兹尼亚克^(图4-1)。差不多同一时间,计算机工业的几大巨头聚在一起,合作研发官方版的下一代操作系统Multics。但是,另外两个年轻人——26岁的肯·汤普森和28岁的丹尼斯·里奇——觉得Multics过分复杂,就另起炉灶,写出了一个自己的操作系统。他们参照Multics,为它取了一个搞笑式的名字Unix^^。 + +^「苹果电脑公司的两个创始人。1977年,苹果公司推出的APPLE II计算机是世界上第一台个人电脑。——译者注」 + +^^「在英语中,前缀Multi-惫思是“多个”,而前缀Uni-意思是“单个”——译者注」 + +  最新的版权法设置了前所未有的障碍,禁止外部人员了解专有技术的内部细节,从而也就禁止了外部人员从这个途径产生新构想。过去,厂商使用专利,防止你出售他们产品的复制品,但是他们无法阻止你把产品拆开,了解内部的工作原理。最新的版权法将后面的这种行为定义为一种犯罪。如果我们不可以研究当前的技术,不能思考如何改进它,那么我们怎样才能开发出新技术呢? + + + +图4-1 1975年,乔布斯和沃兹尼亚克 + +  具有讽刺意味的是,这种局面正是黑客自己造成的。计算机是《版权法》修改的根本原因。历史上,机器内部的控制系统一直是物理装置:齿轮、杠杆和连接器等。但是,计算机的出现使得机器的控制系统逐渐变成了软件,产品的价值也由软件来决定^。我这里所说的软件是一个统称,包括数据(data)在内。胶木唱片上的歌曲属于数据,是用物理方法压制在塑料盘片上的;iPod里的歌曲也属于数据,它储存在硬盘里面。 + +^「日益软件化的,并不仅仅是产品的内在。由于制造业自动化程度越来越高,产品的外在也逐渐由软件决定了。」 + +  数据在本质上就是容易复制的。互联网的出现使得复制品更容易流通。难怪那些公司感到害怕了。但是,如同往常一样,恐惧影响了他们的判断。他们推动政府通过了严厉的法律,保护知识产权,作为对新技术的回应。立法者的原意可能是好的。但是,他们也许没有意识到,这样的法律弊大于利。 + +  为什么程序员如此激烈地反对这样的法律?如果我是立法者,肯定对这种神秘现象有兴趣。这就好比如果我是一个农夫,半夜突然听到鸡舍有动静,肯定会去看个究竟。黑客都是聪明人,很少出现所有人意见一致的情况。如果他们都说有问题,那么也许真的就是什么地方出了问题。 + +  那些法律有没有可能是错的?虽然它们原意是维护美国的利益,但是实际上却适得其反?想一想吧,理查德·费曼喜欢破解保险箱,真的很符合美国人性格。很难想象,当时的德国政府会有同样的幽默感。也许这不是巧合。 + +  黑客是不服从管教的,这就是他们的本性。这也是美国人的本性。硅谷出现在美国,而不是出现在法国、德国、英国、日本,这绝非偶然。后面那些国家的人们总是按部就班地行事。 + +  我曾经住在意大利的佛罗伦萨。住了几个月以后,我发现自己内心真正寻找的地方其实是我刚刚离开的地方。佛罗伦萨之所以著名,完全是因为这个城市在1450年的显赫地位,它是那时的纽约,形形色色疯狂而有抱负的人们来到这里。现在,这样的人都去了美国。(所以,我又回到了美国。) + +  对于适当的不服从管教,保持宽容不会有太大的坏处,反而很有利于美国的国家优势,它使得美国不仅能吸引聪明人,还能吸引那些很自负的人。黑客永远是自负的。如果黑客有自己的节日,那就是4月1日愚人节,你可以放心地作弄其他人。黑客的这种自行其是的特点,很大程度上说明了,为什么不管是出色的工作还是糟透了的工作,黑客都用同一个词形容^。如果他们做出了一个东西,他们自己总是无法百分百确定那到底是什么东西。有可能完全没用,但是只要那些出错的地方还算正常,那么就是一个信号,表明这个东西还有希望。在人们心目中,编程是非常精确、有条不紊的,这真是非常奇怪的想法。计算机确实是非常精确、有条不紊的,但是黑客的所作所为完全出于兴趣,想到哪里就做到哪里,没有明确的计划,只求开心。 + +^「这里应该是指terrific。在英语中,这个词同时有“可怕的”和“非常棒的”两种意思,a terrific hotel是一家很棒的旅馆,a terrific scene则是一幅可怕的景象。——译者注」 + +  在黑客世界中,有些最典型的解决问题的方法实际上与玩笑也相差不远。IBM推出个人电脑的时候,懒得自己开发操作系统,就与微软公司签了一个很大方的授权协议,将微软的DOS作为默认操作系统,每卖出一台电脑,微软都可以提成,并且还可以把DOS授权给其他公司使用。这份授权协议的结果无疑让IBM感到非常吃惊。另一个例子是Michael Rabin^遇到难题的时候,会把问题重新定义成一个较简单的形式,同时一定会假想一个对手正在与他比赛谁能更快地解决问题。 + +^「Michael Rabin(1931—),以色列计算机科学家,1976年的图灵奖得主。——译者注」 + +  很自负的人必须培养出敏锐的感觉,及时发现周围情势的变化,知道怎样才能脱身。最近,黑客就感觉不太对,大气候变了。对于不服从管教,政治气氛变得严厉了。^ + +^「2001年9·11事件以后,美国通过了“爱国者法案”,以防止恐怖主义为目的大大扩张了警察机关的权限。那些不遵守法规的可疑分子将受到比以前严厉得多的审查和惩罚。——译者注」 + +  近来一系列的政策变化,使得这个国家的公民自由范围不断收缩减小。对于黑客来说,这是非常不好的兆头。普通人肯定会感到大惑不解,为什么黑客如此在乎公民自由?为什么程序员会比牙医、销售员、园艺师更在乎呢? + +  让我以政府官员听得懂的语言来解释这件事情。公民自由并不仅仅是社会制度的装饰品,或者一种很古老的传统。公民自由使得国家富强。如果将人均国民生产总值与公民自由的关系画成图,你会发现它们是很清楚的正相关关系。公民自由真的是国家富强的原因,而不是结果吗?我认为是的。在我看来,一个人们拥有言论自由和行动自由的社会,往往最有可能采纳最优方案,而不是采纳最有权势的人提出的方案。专制国家会变成腐败国家,腐败国家会变成贫穷国家,贫穷国家会变成弱小国家。经济学里有一条拉弗曲线(Laffer curve),认为随着税率的上升,税收收入会先增加后减少。我认为政府的力量也是如此,随着对公民自由的限制不断上升,政府的力量会先增加后减小^。至少现在看来,我们的政府很可能蠢到会真的把这个实验付诸实施,亲自验证一下这个观点。但是,税率提高了还能再降下来,而一旦这个实验铸成大错,就悔之晚矣,因为极权主义制度只要形成了,就很难废除。 + +^「我很乐意将我的名字用来命名这条曲线,命名后更容易记住这个观点。」 + +  这就是为什么黑客感到担忧。政府侵犯公民自由,表面上看,并不会让程序员的代码质量下降。它只是逐渐地导致一个错误观点占上风的世界。黑客对于公民自由是非常敏感的,因为这对他们至关重要。他们远远地就能感到极权主义的威胁,好比动物能够感知即将来临的暴风雨。 + +  如果正如黑客所担忧的,近来那些旨在保护国家安全和知识产权的措施最终却成为一枚导弹,不偏不倚瞄准了美国的优势所在,那可真是太讽剌了。不过,这种事情早有先例:人们惊慌失措时采取的措施到头来产生了适得其反的效果。 + +  有一种东西,叫做美国精神(American-ness),生活在国外的人最能体会到这一点。如果你想知道哪些事情可以滋养或者削弱这种精神,不妨去问问黑客,他们是最敏感的焦点人群,因为在他们身上,比我知道的其他人群,更能体现出这种精神。真的,他们可能比那些政府里掌管美国的人更懂得什么叫做美国精神。那些政客开口必谈爱国主义,总是让我想起黎塞留(Richelieu)^或者马萨林(Mazarin)^^,而不是杰弗逊或者华盛顿。 + +^「黎塞留(1585—1642),法国政治家,路易十三的主要大臣,以具有政治谋略、玩弄政治手段著称,对当时法国集权制度的形成和巩固发挥了重要作用。——译者注」 + +^^「马萨林(1602-1661),法国政治家,继承黎塞留,担任路易十四的主要大臣,也是一个政治斗争能力强于治国能力的政治家。——译者注」 + +  如果读美国开国元勋的自述,你会发现他们听起来很像黑客。“反抗政府的精神,”杰弗逊写道,“在某些场合是如此珍贵,我希望它永远保持活跃”。 + +  你能想象今天的美国总统也这么说吗?这些开国元勋就像直率的老祖母,用自己的言辞让他们的那些不自信的继承者感到了惭愧。他们提醒我们不要忘记自己从何而来,提醒我们,正是那些不服从管教的人们,才是美国财富与力量的源泉。 + +  那些占据高位、本能地想要约束黑客、强迫黑客服从的人们,请小心你们的要求,因为你们真有可能成为千古罪人。 + + + + + +  5.另一条路 + +  1995年的夏天,我和我的朋友罗伯特·莫里斯^决定创业。那时,正赶上网景公司的股票即将上市^^,各种公关活动如火如荼,媒体都在谈论网络商务。当时大约有30家左右的网上商店,全部是手工制作网页。如果网络商务真要大规模发展,必须用专门的软件制作网上商店,所以我们决定动手写这样的软件。 + +^「Robert Morris(1965—),现任麻省理工学院计算机系副教授。1988年,写出了网上第一个蠕虫程序;2005年,与作者共同创立了风险投资公司YCombinator。——译者注」 + +^^「网景公司的股票于1995年8月9日上市,发行价格28美元一股,盘中最高价格为74.75美元,报收在58.25美元,涨幅高达208%。这直接促成了网络创业热,带动了雅虎、eBay、亚马逊的上市,开创了互联网公司的上市热潮。——译者注」 + +  第一周,我们打算写一个传统的桌面软件。没过几天,我们就想了另外一个方法:可以让软件在服务器上运行,浏览器作为操作界面。我们试着重写,让所有操作都通过网络完成。那时已经很清楚了,这就是我们的方向。如果软件运行在服务器上,一切都会简单得多,无论对于用户,还是对于我们。 + +  事实证明我们是正确的。我们的公司后来被雅虎收购,现在的名字是Yahoo Store。我们的软件是最受欢迎的网上商店生成器,用户超过2万人。 + +  创立Viaweb的时候,我们对别人说软件运行在服务器上,几乎没人懂这是什么意思。直到一年后,Hotmail^开始运作,人们才有点儿明白这个概念。现在,大家都知道了这是一个可行的方法,而且我们还有了专门的名字:应用服务供应商(Application Service Provider),简称ASP。我认为,大量的下一代软件都将采用这个模式。甚至最大的输家——微软公司,看来也明白了,部分软件从桌面消失将是不可避免的。如果软件从桌面移到服务器上,对于开发者来说,一切将发生根本性的变化。本文将站在先行者的角度,描述我们正在经历的种种令人惊叹的变化。由于软件转移到服务器的趋势才刚刚开始,所以我下面所写的是对未来的憧憬。 + +^「Hotmail于1996年7月4日上线,是第一批浏览器界面的电子邮件服务提供商。它首创了用户可以在邮件中使用HTML标记语言(因此Hotmail的原始写法是HoTMaiL),并且每位用户有2MB的免费存储空间。——译者注」 + + + +下一个潮流? + +  回顾桌面软件时代,我想我们会为人们忍受的种种不便惊叹不已。这就好像汽车刚诞生的时候,车主忍受的不便会令现在的人们惊叹不已一样。汽车诞生的头二三十年,你想当车主,非得成为汽车专家不可。但是汽车用处太大了,很多不是专家的人也想拥有它们。 + +  计算机现在就处在这个阶段。一旦拥有了桌面电脑,你就被迫不情愿地学习很多东西,了解它的内部运作机制。超过一半的美国家庭拥有电脑,我妈妈就有一台,用来收发邮件和记账。几年前,她收到苹果公司的一封来信,上面说她可以优惠购买新版的操作系统。老太太被这些术语吓坏了。一个65岁的妇女,只用电脑收发邮件和记账,却被迫要和操作系统打交道,搞清楚要不要安装一个新版本,这真是太过分了。普通用户根本没必要知道“操作系统”这个词,更不要说“驱动程序”和“补丁”了。 + +  现在,可以有另一种方法发布软件,用户再也不会被迫当上系统管理员了。互联网软件运行在服务器上,用户界面就是网页。对于普通用户来说,使用这种新型软件将更容易、更便宜、更机动、更可靠,通常也比桌面软件更强大。 + +  使用互联网软件,除了软件本身,大多数用户不需要知道别的事情。所有那些乱七八糟、经常变动的东西,都放在服务器端,由精通此道的专业人员维护。所以,大多数时候,你不需要一台全功能的电脑(即本身可以运行软件的电脑)。你所需要的设备只要有键盘、屏幕、浏览器就够了,可能还有无线网卡。这样的设备没准就是指手机。不管它是什么,它肯定是一种消费类电子产品,价格大概在200美元左右,所以人们主要根据外观选择购买。你支付的上网费会超过硬件费用,就好像现在你的电话费超过电话机的价格一样^。 + +^「有些公司生产轻量级的消费类电子产品,它们意识到“服务才赚钱”以后,往往就会把在线服务与硬件捆绑在一起卖。这个模式效果不好,第一个原因是,消费类电子产品和在线服务是两种类型的业务,需要两种不同的公司来做;第二个原因是,消费者不喜欢硬件和服务捆绑在一起收费。吉列公司赠送刀架,只靠刀片赚钱,这个模式可能只对吉列公司有效,而且剃须刀是低值易耗品,对用户承担的责任远远小于一个可以上网的终端设备。手机制造商就很满足于只卖硬件,不捆绑服务,不试图分享电信公司的收入。这个模式应该也是互联网终端设备的商业模式。如果某家公司生产出一个外观精美的小型设备,里面包含了浏览器,可以通过任何ISP连接上网,那么全国的技术爱好者都会愿意购买的。」 + +  数据在客户端与服务器之间走一个来回大概耗时0.1秒,所以与用户密集互动的软件(比如Photoshop)仍然会把数据处理的部分放在桌面端。但是看看大多数人使用计算机的目的,你会发现0.1秒的时滞根本不成问题。我妈妈其实真的不需要一台桌面电脑,完全可以用互联网软件替代。像她这样的电脑用户有很多。 + + + +用户的胜利 + +  我家附近,一辆汽车的保险杠贴着一张粘纸,上面写着“太麻烦,不如死”(death before inconvenience)。大多数人,在大多数时候,总是选择最省事的做法。如果互联网软件能够击败桌面软件,一定是赢在更方便这一优势上。无论从用户的角度还是从开发者的角度来看都是如此。 + +  使用那些纯粹的互联网软件,你只需要一个能够上网的浏览器即可。所以,它不受地域限制,在任何地方都可以使用。但是,如果你使用安装在计算机上的桌面软件,那么就只能在这台计算机上使用。更糟的是,你的文件也存在这台计算机上。随着互联网越来越深入人心,桌面模式的弊端也就越来越明显。 + +  最典型的例子就是网络界面的Email。大家现在都认定,随时随地都应该可以收发Email。如果Email是这样,为什么日程表不能这样呢?如果你能看到同事的文档,为什么不能编辑它呢?为什么你的数据非得禁锢在一台遥远写字桌上的电脑里呢? + +  “你的电脑”这个概念正慢慢成为过去时,取而代之的是“你的数据”。你应该可以从任何电脑上获取你的数据。或者更准确地说,在任何终端设备上获取你的数据,终端设备不一定是电脑。 + +  终端设备不应该存储数据,它们应该像电话那样。事实上,终端设备最后可能就会变成电话,或者反过来,电话变成终端设备。终端越做越小后,你可以每天把它带在身上,就更没理由把数据存储在上面了,万一遗失或者被窃就很麻烦。把PDA遗忘在出租车上无异于损失一块硬盘,唯一的区别是你的数据现在掌握在别人手里,而不是被擦掉了。 + +  有了互联网软件,你的数据和软件本身都不保存在终端设备上,不用安装就能使用。既然不用安装,也就不用担心安装出错了,再也不会有应用软件与操作系统不兼容的问题了,因为软件与你使用的操作系统彻底无关。 + +  由于没有安装这一步,所以在“购买”之前试用互联网软件将变得非常普遍、非常容易。只要联上网站,应该就能免费试用该网站提供的服务。Viaweb的整个网站处处都是鼓励用户试用的提示。 + +  试用demo之后,就可以登记成为正式用户了,只需要填一个很简单的表单。这应该是用户需要做的最后一点“多余的事情”了。使用互联网软件,你不需要为新版本付出额外的费用,或者做额外的准备工作,甚至可能你都不知道软件已经升级了。 + +  现在,升级不再对用户形成大的冲击。久而久之,软件变得更强大了。这需要开发者付出一定的努力。他们必须正确地设计软件,使得它能够平滑升级,不让使用者感到困惑。这就是互联网软件面临的新问题,不过解决办法是有的。 + +  所有用户都使用同样版本的互联网软件,bug一发现就会立刻得到纠正。所以,它的bug应该比桌面软件少得多。在Viaweb,我记得未解决的bug最多一次也总共只有十个,大部分问题都是一发现就得到了解决,不会遗留下来。这要比桌面软件小一个或几个数量级。 + +  互联网应用程序能够同时被多人使用,所以非常适合团队协作性的工作。大多数用户现在还不了解软件协同办公,否则估计他们会强烈要求大部分应用程序都具备这个功能。举例来说,允许两个用户同时编辑一个文档是一项很有用的功能。Viaweb允许多个用户同时制作一个站点,主要原因倒不是因为用户要求,而是考虑到这是开发软件的正确方式,但是最后发现大多数用户都希望这样。 + +  如果使用互联网软件,数据会更安全。即使硬盘损坏的风险依然存在,但是与用户没有关系,他们可以从此不关心这件事。风险发生在机房。互联网软件的运营方会备份数据,不仅因为它们的系统管理员很关心这一类事情,还因为一且数据丢失,公司将面临极大的麻烦。如果用户自己的硬盘坏了,他们不会发狂,因为不能去责怪别人;如果一家公司丢失了他们的数据,他们会怀着超乎寻常的怒火,冲着这家公司发飙。最后,互联网软件不太容易感染病毒。如果客户端只运行一个浏览器,病毒运行的概率就比较小,本机的数据不会遭到破坏。而专门攻击服务器端的病毒比较容易防御^。 + +^「安全问题的关键是不要有漏洞,而不是任何设计上的决策。服务器软件的性质决定了开发者对漏洞会加倍注意。而且,服务器被入侵会使得运营公司遭受巨大损失,所以它们为了在行业中生存下去,可能也会对安全问题备加关注。」 + +  对于用户来说,使用互联网软件不会有太大的压力。我觉得,大多数Windows用户使用桌面软件的时候都感到紧张,会有相当大的心理压力。释放这种压力,对你的产品将是一种巨大的推动。 + + + +代码之城 + +  对于开发者来说,互联网软件与桌面软件最显著的区别就是,前者不是一个单独的代码块。它是许多不同种类程序的集合,而不是一个单独的巨大的二进制文件。设计桌面软件就像设计一幢大楼,而设计互联网软件就像设计一座城市:你不仅需要设计建筑物,还要设计道路、路标、公用设施、警察局、消防队,并且制定城市发展规划和紧急事件的应对方案。 + +  Viaweb的软件包括:与用户直接对话的一些大型应用程序、被这些大型程序使用的程序、常驻后台报告系统出错的程序、重新启动出错部分的程序、生成统计报告或数据库索引的程序(偶然运行)、回收资源或者移动及恢复数据的程序(手动运行)、伪装成用户的程序(为了测试系统和发现bug)、诊断网络故障的程序、完成备份的程序、对外提供服务界面的程序、实时显示服务器状态和访问数据的程序(很受用户欢迎,对我们也是必不可少的)、修改后的开源软件程序(包括修正bug)以及许许多多的配置和设定文件。在我们被雅虎买下以后,Trevor Blackwell写过一个令人叹为观止的程序,可以在不关闭网站的情况下,将网上商店转移到另一个机房的服务器上。此外,还有向系统管理员发出传呼信号的程序,向用户发传真和电子邮件的程序,引导完成信用卡交易的程序,在套接字、通信管路、HTTP请求、SSH、UDP数据包、共享内存、文件之间互相通信的程序。一部分Viaweb服务器上故意不安装某些程序,因为保证Unix系统安全的关键之一就是不运行那些不需要的东西,降低服务器被侵入的可能性。 + +  光有软件还不够,我们还花了许多时间琢磨服务器应该如何配置。我们自己搭服务器,不仅为了省钱,也是为了让机器完全满足我们的需要。我们还考虑哪些ISP连接主干网的带宽比较大。我们一直与RAID供应商保持联系。 + +  但是,硬件需要考虑的地方,不仅仅在于怎么才能避免出问题,还在于怎样才能最大地发挥它们的作用。只要你控制了硬件,就能为用户提供更多的功能。如果你的产品是桌面软件,你就只能规定硬件的最低配置,无法为了某一个功能而要求用户增加硬件。但是,如果你控制了服务器,你就能轻而易举地增加功能,使用户可以发出寻呼、发送传真、通过电话操作网站、使用信用卡付款等。你所需要做的只是安装相关的硬件。我们总是在寻找通过硬件增加新功能的方法,因为这可以赢得用户,还可以让我们超越那些不直接控制硬件的竞争者(他们要么出售桌面软件,要么通过ISP分销互联网软件)。 + +  由于互联网应用程序由多种软件而不是单独一个二进制文件构成,所以可以使用多种编程语言开发。如果你的产品是桌面软件,一般来说,你总是被迫采用与操作系统一致的语言,也就是C和C++。所以,这些语言就被认为是“正统的”软件开发语言(非技术人员尤其可能这样想,比如经理层和风险投资家)。但是,这其实是一个伪信号(artifact),不能因为桌面软件是这样开发的,就认定所有软件都是这样开发的。对于互联网软件,你可以使用任何你想用的语言^。当今,许多顶尖黑客使用的语言与C和C++大相径庭:Perl,Python,甚至还有Lisp。 + +^「1995年我们创立Viaweb的时候,Java applet被认为是互联网软件的解决方案。但是我们觉得,applet采用的还是过时的概念,它还是要求下载软件到客户端运行。更好更简单的方法,应该是所有的工作都放在服务器端完成。我们在applet上面浪费了一点时间,还好没延误什么,但是数不清的其他创业公司经不起引诱,掉进了这个泥潭,它们几乎都没有逃脱失败的命运。」 + +  对于互联网软件,没人规定只能使用某些语言开发,因为所有的硬件都控制在你手里,你想要用什么语言,就能用什么语言。不同的语言适合不同的任务,你应该根据不同场合,挑选最合适的工具。尤其是在竞争者存在的情况下,“可以这样做”就变成了“必须这样做”(详见后文),因为如果你不利用语言的优势,那就会听任对手超过你。 + +  我们的大多数竞争者使用C和C++,这使得他们的软件明显不如我们,因为(不考虑其他原因)他们无法解决CGI脚本不能识别用户状态的问题。如果用户想要修改表单的部分内容,你不得不把表单的所有内容都放在同一个页面上,然后在最下面放一个“更新”按钮。正如我将在第12章中解释的,通过使用Lisp这种许多人眼中的教学语言,我们使得Viaweb编辑器更接近桌面软件带给用户的体验。 + + + +软件的发布 + +  互联网软件带来的最大变化之一,就是软件发布方式的改变。对于桌面软件来说,发布新版本是一个很痛苦的过程,整个公司不得不使尽全力,满头大汗地挤出一大块巨型代码。从过程和结果上来看,无异于一次分娩。 + +  互联网软件则完全不同,就像你写给自己用的程序一样,修改起来很方便。软件的发布过裎可以分解为一系列的渐进式修改,而不是猛地推出一个大幅变动的版本。常见的桌面软件可能一年发布一到两个新版本,而我们在Viaweb经常是一天发布三到五个版本。 + +  一旦采用了这种新模式,你就会知道发布方式对软件开发的影响有多么重大。桌面软件开发之中的许多棘手问题,都是源自于它的那种灾难性的发布方式。 + +  如果一年发布一个新版本,你很可能会以打包方式处理bug,把它们留着,然后一次性全部解决。在发布新版本前,你可能会修改和更换一半的代码,从而又引入无数新的bug。接着,质量监控人员(Quality Assurance)开始测试新代码,逐一列出新发现的bug,你再按照这张清单把它们一个个消除。通常没办法把清单全部做完,它随时都在增长,说实话,谁也不确定它到底会有多长。这就好像在足球场上捡小石块一样费劲,你永远不知道为什么软件内部会出这么多问题。最好的结果也不过是,你得到了一个统计学意义上“合格”的版本。 + +  对于互联网软件来说,大部分的变化都是细微和渐进的,所以引入bug的机会比较小。而且,在发布前测试的时候,你知道应该最仔细地测试哪个部分——显然就是你修改过的部分。这使得你对代码的掌握变得牢固得多。一般来说,这时候你确实是对软件内部的情况一清二楚。当然,这不是说你把所有代码都装在了脑子里,而是说你阅读代码的时候,非常自如流畅,不会像侦探破案那样苦思冥想,而是像飞行员那样,瞄一眼仪表板,就对飞行状况胸有成竹。 + +  桌面软件导致了bug的宿命论。你很清楚,发布出去的软件肯定有bug,你甚至早就准备好了应对机制(比如发布补丁)。既然如此,bug再多一点又何妨?没过多久,你要发布下一个版本了,你明知其中某个操作完全不能使用,但还是照样发布。苹果公司前几年就干过这种事。他们必须发布新版操作系统了,压力越来越大,发布日期已经推迟了四次,无法再推了,可是有些部分还一点儿没写(比如CD和DVD操作的部分)。怎么办?他们就把没写完的操作系统发布出去了,用户必须日后自己动手安装缺失的部分。 + +  互联网软件的发布规则是:它运行不了,你就无法发布;一且它能运行了,你就可以立刻发布。 + +  这个行业的老手可能会想:你说得好听!软件运行不了,就不发布,但是如果你已经对外承诺了明确的发布日期,到时却没有准备好,怎么办?这个问题听起来有道理,但是事实上,你不会对互联网软件做出这样的承诺,因为它根本没有“版本”这个概念。你的软件是连续性渐变的,某些更新也许比较重大,但是“版本”这个概念不适用于互联网软件。 + +  如果你还没忘记Viaweb的旧事,你可能会觉得我这么说听上去很奇怪,因为那时我们总是宣布将有新版本推出。这只是公关伎俩啦,我们知道媒体喜欢听到版本号。如果你发布一个大的版本更新(版本号的第一位数发生变动),它们就会以大篇幅报道;如果你发布一个小的版本更新(版本号小数点后发生变化),它们最多只用一段话提一下。 + +  我们的一些竞争对手的产品是桌面软件,确实有版本号。对我们来说,这种发布方式只表明他们的落后,但是他们却因此把媒体的目光都吸引过去了。我们不想做局外人,所以也开始为自己的软件加上版本号。什么时候需要媒体宣传了,就开出一张单子,上面总结了自从上次“发布”以来,我们新增的所有功能,然后在上面填一个新的版本号,发出一个新闻稿,宣布新版本已经准备就绪了。真是神奇啊,从来没有人看穿我们的把戏。 + +  到被收购的时候,我们已经这样干了三次,所以已经到了第四版。如果我没记错的话,那时是4.1版。Viaweb变成Yahoo Store以后,媒体的曝光就没有那么必要了。所以,虽然软件一直没有中断开发,但是版本号却悄悄地被放弃了。 + + + +软件bug + +  互联网软件的另一个技术优势在于,你能再现大部分的bug。用户的数据都在你的硬盘上。如果某个用户使用软件时出错了,你就不必像开发桌面软件那样苦苦猜测到底发生了什么事情。一般来说,只要用户通过电话向你描述一番,你就能把问题再现出来。如果你的程序中有自动侦测错误的代码,那么不用等到用户找上门,你可能已经知道哪里出错了。 + +  互联网软件每时每刻都在被使用。你的代码一上线,就会经历严酷考验。bug很快就会浮出水面。 + +  软件公司有时会受到指责,因为他们竟然把发现bug的任务交给用户去完成。说实话,我其实提倡这种做法。对于互联网软件,这样做的好处很多,因为它的bug相对比较少,而且处理周期比较短。我们连续不断地发布新版本,所以bug就比较少。我们能够再现用户遇到的问题,又能在修复后立刻发布,使得用户不用等很长时间,所以大部分bug的处理周期都比较短。我们的bug数量一直不多,以至于没有必要使用一个正式的bug追踪系统。 + +  当然,在发布之前,你应该对修改之处进行测试,避免出现重大的bug。难免会有一些bug成为漏网之鱼,不过它们纯属罕见情况下才会发生的个案,在真正接到用户投诉之前,几乎不会影响到什么人。只要你能立刻解决bug,对于普通用户来说,他们就会觉得你的软件几乎是亳无问题的。我觉得,普通的Viaweb用户可能一个bug都没遇到过。 + +  解决新代码的bug要比解决历史遗留代码的bug容易。在自己刚刚写好的代码中,找出bug往往会比较快。有时,你只要看到出错提示,就知道问题出在哪里,甚至都不用看源码,因为潜意识中你已经在担心那个地方可能会出错。如果你要解决的bug出自于6个月前写好的代码(假定你一年发布一个新版本,那么6个月就是发现bug的平均时间),那么就麻烦了,就要大费周章了。那时,你对代码也已经不熟悉了,就更可能采用危险的方式解决问题,甚至引入更多的bug^。 + +^「这个观点引申自特雷弗·布莱克韦尔(Trevor Blackwell)的话,他说:“随着软件规模的增大,开发成本指数式上升。这可能是因为修正旧bug的原因。如果bug都能被快速发现,成本的上升形态就能基本保持线性。”」 + +  早一点发现bug就不容易形成复合式bug,也就是互相影响的两个bug。举例来说,一个bug是楼梯很滑,另一个bug是扶手松了,那么只有当这两个bug互相作用时,才会导致你从楼梯上摔下来。在软件中,复合式bug是最难发现的bug,往往也会导致最大的损失^。传统的方法是:“把软件彻底拆开,将所有bug统统清理干净。”这样做难免产生一大堆的复合式bug。如果软件是经常性发布,每次只有小幅度的变化,那么就不容易产生复合式bug。这就好比做扫除:你一直在打扫大厅,掉落在地板上的东西会被立刻清理,省得它们时间一长与其他东西粘在一起。 + +^「复合式bug有一个子类型:两个bug是互相弥补的,好比“负负得正”,软件反而能正常运行。这种bug可能才是最难发现的bug。当你修正了其中的一个bug,另一个bug才会暴露出来。这时对你来说,你会觉得刚才修正错了,因为那是你最后修改的地方,你就怀疑自己在那里做错了,但是你其实是对的。」 + +  有一种编程方法叫做“函数式编程”(functional programming),它对你会有帮助,可以避免一些副作用。函数式编程在学术文献中研究得比较多,在商业软件中用得比较少。但是,对于互联网软件,它却很有用。很难用纯粹的“函数式编程”完成整个程序,但是它可以用来编写一些重要的部分,使得这些部分易于调试,因为它们不包含“状态”(state),非常便于不断进行小幅的修改和测试。我大量使用这种方法开发Viaweb的编辑器,我们自己的脚本语言RTML就是一种纯粹的函数式编程语目。 + +  桌面软件行业的人可能很难相信,找出Viaweb的bug几乎成了一种游戏。因为软件发布以后,大多数bug都是罕见情况下才会发生的个案,受到影响的用户往往都是高级使用者,他们喜欢试验那些不常用的、难度大的操作。高级使用者对bug的容忍度比较高,尤其如果这些bug是在开发新功能的过程中引入的,而这些新功能又正是他们所需要的,他们就更能理解了。事实上,因为bug不多,你只有经过一些复杂的过程以后才会遇到它们,所以高级使用者往往因为发现了bug感到很得意。他们打电话给客服时,多半是一副胜利者的口吻,而不是怒气冲冲的样子,好像他们击败我们得分了一样。 + + + +客户支持 + +  当你可以再现错误时,你开展客服支持的方式就变了。大多数软件公司将客户支持看作提高客户满意度的一种方式。在这些公司看来,要么是客户打电话来,报告一个已知的bug,要么是客户执行了错误的操作,你必须判断出他到底什么地方做错了。这两种情况对公司的知识积累都没有太大益处。所以,你开始觉得客户支持是一件令人头痛的事情,决定将客服人员与开发人员尽可能分离。 + +  Viaweb不是这样。我们的客户支持是免费的,因为我们希望知道用户的反应。如果他们使用时遇到困难,我们希望立刻知道,这样就能再现错误、解决问题、发布新版本。 + +  所以,Viaweb的开发人员总是与客服人员保持密切联系。客服人员坐在距离程序员只有9米的地方,知道自己可以随时打断程序员的工作,提交新证实的bug的报告。遇到重大bug,我们就算在开董事会,也会马上回来修改程序。 + +  我们的这种方法让所有人都感到满意。客户很高兴,拨打厂商服务热线是免费的,而且还被当作通风报信的人,受到郑重对待。客服人员也喜欢这样,因为这使得他们可以帮助用户,而不是对着用户读操作手册;程序员喜欢这样,因为他们能够再现bug,而不是通过模糊不清的二手报吿了解bug。 + +  我们的政策是当场修复bug,这改变了客服人员与黑客之间的关系。在大多数软件公司,客服人员是低工资的边缘人,黑客则是呼风唤雨的主宰者。这些公司有各种各样的bug报告流程,伹是几乎都是单向式的:使用者打电话给客服人员报告bug,客服人员填写某种形式的表格,传递给程序员(可能会经质量监控部门之手),程序员把bug写入待解决问题的清单。Viaweb不是这样,在收到使用者的bug报告之后一分钟内,程序员就会对站在身边的客服人员说:“没错,你是对的,这是一个bug。”客服人员从黑客嘴里听到“你是对的”,会感到欢欣鼓舞。客服人员告诉我们发现bug的时候,他们心里怀着期待,就好像小猫想让别人知道自己抓住了一只老鼠一样。这也使得客服人员在判断bug严重性时格外小心,因为这关系到他们的声誉。 + +  我们被雅虎收购后,客服人员被移到离程序员很远的地方。直到那时,我们才意识到客户支持实际上就是质量监控,也是某种程度的市场营销。除了记录bug,客服人员还必须大概了解相关知识,回答与bug相关的一些问题、解释令使用者迷惑不解的功能等^。有时,他们也扮演了使用者的代理人,我们会问他们哪个新功能是用户更想要的,他们总是能做出正确的回答。 + +^「我们在Viaweb举办过一个比赛,看谁能说出我们软件中最差劲的地方。两位客服人员并列第一,我至今想起他们的叙述都不寒而栗。比赛一结束,我们立刻修复了那两个问题。」 + + + +全身心投入 + +  能够即时发布软件,对开发者是一个巨大的激励。步行上班途中,我经常会想哪些地方还需要变动,然后当天就予以实现。一些重大功能也是这样来的。即使某个功能要花两个星期(或者更长时间)开发,我也很确定,一旦写完就可以立刻看到效果。 + +  如果软件的新版本要等到一年后才能发布,我就会把大部分新构思束之高阁,至少过上一段时间再来考虑。但是,构思这种东西有一个特点,那就是它会导致更多的构思。你有没有注意过,坐下来写东西的时候,一半的构思是写作时产生的?软件也是这样。实现某个构思,会带来更多的构思。所以,将一个构思束之高阁,不仅意味着延迟它的实现,还意味着延迟所有在实现过程中激发的构思。事实上,将一个构思束之高阁,甚至会限制新构思的产生。因为你看一眼堆放在一边、还没有实现的构思,就会想“我已经为下一个版本准备了很多新东西要实现了”,你就懒得再思考更多的新功能了。 + +  大公司的做法不是立刻实现新功能,而是先对新功能做一个计划。我们在Viaweb就是因为这个原因而遇到了麻烦。投资者和分析家会问,你们对未来有何计划。真实的回答是,我们没有任何计划。我们有改进的想法,但是如果我们想到应该怎么改进,就已经把它实现了。接下来六个月我们要做什么?所有能想到的最佳改进。我不知道自己是否有胆量公开这么说,但这是实话。计划这个词,只是将构思束之高阁的另一种表达方式。只要想到好的构思,我们就立刻着手实现。 + +  Viaweb和其他许多软件公司一样,大部分代码都有明确的负责人,而且只有一个。如果你负责某件事,那就真的是你负责。除了你以外,没有人能批准(他们甚至都不知道)这部分代码的发布。如果你出错了,没有人会提醒你,唯一的代码保护机制就是你的羞耻心,你不想被同事当成傻瓜,这就足矣。我这么说或许会让人误以为Viaweb的代码是漫不经心地编写出来的。实际上我们的开发进度很快,但是把代码放到服务器上发布之前,我们会深思熟虑。提高软件可靠性的关键在于开发时全神贯注,而不是降低开发速度。正是因为飞行员全神贯注,他才能在夜间让一架18吨重的飞机以225公里的时速平安降落在航空母舰的甲板上,做得比小孩子切面包还要安全。 + +  当然,这样写软件也有局限。它适用于小型的、由优秀可靠程序员组成的开发团队,不适用于大型的、充斥大量平庸之辈的软件公司,在那里不是程序员想出好的构思,而是一个委员会集体批准坏的构思。 + + + +逆向的《人月神话》 + +^「《人月神话》(The Mythical Man-Month)是布鲁克斯(Frederick Brooks)所写的一本软件项目管理名著。所谓“人月”就是一个人在一个月内所能完成的工作量。假如某个项目预估需要12个人月,那么派4个人处理这个项目,理论上需要3个月,派6个人则只需要2个月。但是,布鲁克斯认为这种换算机制在软件业行不通,是一个神话,因为软件项目是交互关系复杂的工作,需要大量的沟通成本,人力的增加会使沟通成本急剧上升,反而无法达到缩短工期的目的。在本质上,软件项目的人力与工期是无法互换的,当项目进度落后时,光靠增加人力到该项目中,并不会加快进度,反而有可能使进度更加延后。(该书英文版已由人民邮电出版社出版。)——译者注」 + +  幸好开发互联网软件需要的程序员比较少。我曾在一家中等规模的桌面软件公司工作,那里的工程部规模就超过100人,但是其中只有13人负责产品开发,剩下的人负责软件发布、软件移植以及其他事情。开发互联网软件,你最多只需要那13个人,因为不存在软件发布、软件移植以及其他事情。 + +  Viaweb的开发者只有3个人^。我一直在不停地招聘,压力很大,因为我们要把公司卖掉。我们很清楚地知道,买家不愿花大价钱买下一个只有3个程序员的公司。(解决方法:雇更多的人,在公司内创设其他项目,让他们去做。) + +^「罗伯特·莫里斯写了客户下单的前台订单系统,特雷弗·布莱克韦尔写了图片系统和后台管理系统(商家用来处理订单、査看统计数据、修改设置等),我写了站点生成器(商家用来搭建网站的外观)。订单系统和图片系统的开发语言是C和C++,后台管理系统主要是Perl,站点生成器是Common Lisp。」 + +  开发软件需要的程序员人数减少,不仅意味着省下更多的钱。正如《人月神话》一书中所指出的,向一个项目增加人手,往往会拖慢项目进程。随着参与人数的增加,人与人之间需要的沟通呈现指数式增长^。人数越来越多,开会讨论各个部分如何协同工作所需的时间越来越长,无法预见的互相影响越多越大,产生的bug也越多越多。幸运的是,这个过程的逆向也成立:人数越来越少,软件开发的效率将指数式增长。我不记得我们在Viaweb开过讨论如何编程的会议。步行去吃午饭的路上,我们就能把该说的话说完,从来没有例外。 + +^「这里的“指数式”(exponentially),我用的是口语中的表达方式。更合适的词应该是“多项式似的”(polynomially)。」 + +  如果要说有什么缺点,就是由于开发人员比较少,每个程序员都必须承担一点儿系统管理的责任。当你在服务器上发布软件时,必须有人监控服务器,但是由于人员太少,监控员只能由开发人员兼任。Viaweb有许多系统组件,变动非常频繁,导致应用软件和系统软件之间的界线很难区分。硬性指定一条界线将限制我们的开发。所以,虽然我们总是安慰自己,公司运营很快就能走上正轨,一两个月后就能平稳发展,那时就可以雇一个专职的系统管理员让他专门负责服务器了,但是这个愿望一直没有实现。 + +  只要你还在很活跃地开发产品,就免不了要亲自做系统管理,我认为没有其他可能。如果你梦想写完代码,向服务器递交(check in),然后就可以回家,一天工作结束,这在互联网软件身上肯定没有实现的可能。互联网软件是活的,每时每刻都在你的服务器上运行。一个严重的bug影响的可能不是一个用户,而是所有用户。如果某个bug破坏了硬盘上的数据,更是必须马上修复,诸如此类。我们的心得是,第一年之后就不必每分钟都盯着服务器了,但是对新变动的部分一定要密切关注。不要在半夜里发布代码,然后回家睡觉。 + + + +关注用户 + +  互联网软件不仅把开发者与他的代码更紧密地联系在了一起,而且把开发者与他的用户也更紧密联系在了一起。财务软件公司Intuit的销售方式很出名,他们的销售员会在软件零售店里向顾客做自我介绍,然后请求顾客跟他们回公司,以便进一步了解软件。如果你亲眼见到某人第一次使用你的软件,你就会知道软件的哪个地方最打动他。 + +  软件应该做到用户认为它可以做到的事情。但是,你不知道用户到底怎么想,除非你亲眼看到他们如何使用你的软件,相信我,看到和看不到大不相同。互联网软件能够让你前所未有地了解用户行为。你不必再人为挑选一个小型的用户样本,进行重点观察。每个用户的每一次点击你都可以看到。所以,你不得不仔细斟酌到底要看哪些行为,因为你不应该侵犯用户的隐私。但是,即使是最常见的统计项目,也能提供大量信息。 + +  因为你能得到用户数据,所以就不用依赖基准测试^了。基准测试不过是在模拟用户,而你现在能看到真实的用户。你想知道应该优化什么地方,那就登录到服务器,看看什么程序最消耗CPU。你也会知道什么时候应该停止优化,当我们后来发现Viaweb编辑器的瓶颈是内存而不是CPU时,就知道可能应该停止优化了,因为我们没办法压缩用户数据的大小。(唉,其实是有办法的,但是做起来很不容易。) + +^「基准测试(benchmark test)指的是先设置一个基本的数据环境,测试应用程序的表现,然后把这个表现当作“基准”(benchmark),用来比较其他情况下应用程序的表现。——译者注」 + +  效率对互联网软件至关重要,因为硬件费用由你支付。你的资本支出成本除以服务器所能支持的最大用户数量,就是你为每个用户付出的成本。如果你的软件效率高,你就能比同样硬件配置的竞争对手多发展用户,获得更多的利润。我们在Viaweb的时候,每个用户的硬件成本大约是5美元,现在应该更低,可能比把第一个月的账单寄给他们的成本还要低。如果软件效率足够高,每个用户的硬件成本现在可以接近免费。关注用户不仅有助于优化程序,还有助于指导你的设计。Viaweb的脚本语言RTML允许高级用户自定义页面风格。我们发现RTML有点像留言本,用户通过它向我们提建议,因为只有当预设的页面风格不能满足用户需求时,他们才会使用RTML。举例来说,编辑器的工具栏原先是横跨页面的,但是许多使用RTML的用户将它放在左下方,于是我们也就把工具栏的默认位置调整为左下方了。 + +  最后,通过关注用户,你可以知道他们在使用软件的过程中什么时候遇到了麻烦。因为顾客总是对的,所以这表明你需要修正软件。推广Viaweb的关键,就是允许访问者在线试用。这可不是仅仅展示几张图片,而是真的让你使用我们的产品。只需要五分钟,你就能自己搭建起一个真实可用的网上商店。 + +  几乎所有我们的新客户都是通过在线试用发展起来的。我想大多数互联网软件都是如此。如果用户坚持从头到尾成功地完成在线试用,那么表明他们喜欢这个产品。如果他们感到很困惑或者很乏味,就不会坚持试用到底。所以,只要我们能让更多的访问者坚持完成在线试用,我们的用户增长率就会提升。 + +  我研究了用户点击行为,发现在某一个地方,在线试用的用户会停止前进,改为点击浏览器的“后退”按钮。(如果你写过互联网软件,你会发现“后退”按钮是设计中最费脑筋的问题之一,很有意思。)所以,我就在那个地方加了一条提示,告诉用户已经接近终点了,提醒他们不要点击“后退”按钮。这时,互联网软件的另一个好处就体现出来了,你做了修改,马上就可以得到反馈。完成在线试用的用户比例从60%立刻上升到了90%。由于新增付费用户的数量是完成在线试用的用户数量的一个函数,所以与修改前相比,我们的收入增长了将近50%。 + + + +金钱问题 + +  20世纪90年代早期,我读过一篇文章,它称应该让用户像订报纸那样按照使用时间长短订购软件的使用权。第一眼看上去,这种说话好像很滑稽。但是后来,我意识到这个观点是对的,因为它反映了软件开发的现实:软件开发不是静态的,而是一个持续不断的动态过程。按照传统的软件销售模式,厂商每推出一个新版本,就会强迫现有用户重新出钱购买,然后安装升级,只有这样厂商才能持续不断获得收入。我认为,如果公开收取软件的订阅费,而不是让用户购买软件的所有权,操作起来会更自然、更简便。“订报纸模式”正是互联网软件天然的收费模式。互联网软件不可能用自由软件的模式经营,只能由商业性公司来经营。因为经营互联网软件要承担很大的风险,会产生大量支出,没有人会免费做这件事情的。 + +  对于软件公司来说,互联网软件是一个很理想的收入来源。你每个季度的销售额不是从零开始,而是拥有一个持续的现金流。因为互联网软件每时每刻都可以升级,所以你不用担心做错什么事。事实上,你不可能真的做错什么事,因为如果用户痛恨你对软件的修改,你马上就会知道。你也不会有坏账的烦恼,如果谁不付钱,你就停止对他的服务。此外,你也不可能遇到盗版问题。 + +  没有盗版是一种“优势”,但也是一个问题。一定数量的盗版对软件公司是有好处的。不管你的软件定价多少,有些用户永远都不会购买。如果这样的用户使用盗版,你并没有任何损失。事实上,你反而赚到了,因为你的软件现在多了一个用户,市场影响力就更大了一些,而这个用户可能毕业以后就会出钱购买你的软件。 + +  只要有可能,商业性公司就会采用一种叫做“价格歧视”(price discrimination)的定价方法,也就是针对不同的客户给出不同的报价,使得利润最大化^。软件的定价特别适合采用价格歧视,因为软件的边际成本^^接近于零。这就是为什么很多软件的Sun服务器版本比Intel服务器版本更贵的原因,因为如果一个公司购买Sun服务器,就表明它很有钱,不在乎对设备的投资,那么为什么不向它开个高价呢?盗版实质上是一种价格歧视,只不过针对的是最底层的消费者。我觉得,软件公司明白这个道理,所以故意对某些盗版行为睁一只眼闭一只眼^^^。由于互联网软件无法盗版,所以软件公司必须想出其他策略推广软件。 + +^「价格歧视无所不在,所以当我发现1936年的《鲁宾逊—帕特曼法案》规定价格歧视在美国属于非法行为时,不免感到震惊。这个法案看来并没有得到严格执行。」 + +^^「“边际成本”是一个经济学概念,指下一个单位产品的生产成本。软件的边际成本就是复制代码的成本,所以接近零。这意味着,对软件公司来说,增加一个用户几乎没有增加生产成本。它与价格歧视的关系在于,边际成本越低,厂商的定价空间就越大,它可以针对特定消费者定出很低的价格,从而达到扩大销售、利润最大化的目的。——译者注」 + +^^^「Naomi Klein在No Logo一书中说,有些服装品牌的目标客户是“都市青少年”这些品牌的专卖店对店内偷窃行为就睁一只眼闭一只眼,因为在它们的目标市场中,那些在店内行窃的“顾客”也是流行风尚的带头人,可能会带动本品牌的销售。」 + +  相比桌面软件,互联网软件卖得更好,因为它易于销售。你可能认为,购买商品时,人们是先做出决定,然后再购买,好像这个行为分成两个独立的步骤。创立Viaweb之前,我也是这样想的,不过我从未对这个问题进行过深入思考。事实上,第二步对第一步有反作用,如果某样商品购买起来很困难,人们就会改变主意,放弃购买。反过来也成立,如果某样东西易于购买,你就会多买一点。自从有了亚马逊网上书店,我买的新书比什么时候都多。互联网软件提供的服务可能是世界上购买起来最方便的东西,如果你试用完demo再买,那就更是如此了。购买时,除了输入信用卡号码以外,用户不应该再被要求做其他事。(要求用户做得越多,你担的风险就越大。) + +  软件公司有时会采用分销模式,让ISP分销互联网软件。这样做很不好。服务器必须在你自己的控制之中,因为你需要不断改进硬件和软件。如果你放弃对服务器的直接控制,你就放弃了互联网软件的大部分优势。我们的几个竞争对手就采用分销模式,那是作茧自缚。我常常想,这可能因为他们受到某些西装革履、衣冠楚楚的家伙的压制。后者只看到分销管道的销售潜力是多么令人兴奋,却没有意识到这将毁了他们正在销售的产品。通过ISP分销互联网软件,就好比让自动售货机出售寿司。 + + + +目标客户 + +  谁是互联网软件的目标客户?Viaweb一开始就把个人和小企业当作目标客户。我认为这是互联网软件的通行规则。这些客户决策比较灵活,又需要低成本的新技术,所以他们更愿意尝试新事物。 + +  互联网软件往往也是大公司的最佳选择。(虽然大公司反应迟钝,不一定能意识到这一点。)最好的内部网(intranet)就是互联网(Internet)。如果一家公司采用互联网软件,那么这家公司的软件系统将表现得更出色,服务器将得到更好的管理,员工可以不受地域限制使用这个系统。反对者往往声称互联网软件不安全。如果员工可以很容易地登录,那么坏人也可以很容易地登录。一些大型批发商就不太愿意使用Viaweb,觉得不能把客户的信用卡资料交给我们,而是放在自己的服务器上更安全。可能没法很婉转地向他们表达我们的观点,但是事实上,他们的服务器就是没我们的安全,我们对数据的保护几乎肯定比他们好。想想看,谁能雇到更高水平的网络安全专家,是一个所有业务就是管理服务器的技术型创业公司,还是一家服装零售商?不仅因为我们有技术水平更出色的员工,还因为我们比他们更关心数据的安全。如果一家服装零售商的服务器被入侵,最多只影响到这家公司本身,这件事也很可能在公司内部被掩盖起来,最严重的情况下可能还会有一个员工被解雇。但是,如果我们的服务器被入侵,就有成千上万家公司可能受到影响,这件事也许还会被当作新闻发表在业内新闻网站CNet上面,使得我们的生意做不下去,不得不关门歇业。 + +  如果你想把钱藏在安全的地方,请问你是选择放在家中床垫下面,还是放在银行?这个比喻对服务器管理的方方面面都适用,不仅是安全性,还包括正常运行时间、带宽、负载管理、备份等,都是我们占优。只有把这些事情都做对,我们才能保证自己生存下去。服务器管理对我们是生死攸关的大事,玩具制造商如何看待对人体不安全的玩具,或者食品制造商如何看待感染了沙门氏菌的食品,我们就如何看待有缺陷的服务器管理。 + +  某种程度上,使用互联网软件的大公司就好像把它的IT部门外包出去了。虽然听起来很激进,但是我认为这样做很好。比起自己雇用系统管理员,外包可以让这些公司得到更好的服务。非IT公司的内部系统管理员没有行业竞争压力,日久天长就会变得工作效率低下、不负责任。要让员工表现优秀,必须有竞争压力。销售员必须面对消费者,程序员必须面对竞争对手的软件,但是内部系统管理员就像老年单身汉,能够激励他的外部压力几乎没有^。我们在Viaweb就有足够的外部压力,使得我们努力前进,不会被别人甩在后面。我们直接接到客户的电话,而不只是同事的电话。如果服务器被入侵,我们会急得跳起来。即使过了这么多年,我现在想起当时的情景,肾上腺素还是会迅速上升。 + +^「不少公司都很想知道,什么事情可以外包,什么事情不可以外包。一个可能的答案是,公司内部所有不直接感受到竞争压力的部门都应该外包出去,让它们暴露在竞争压力之下。(我这里所说的“外包”,指的是聘请另一个公司来执行,而不是指把业务部门转移到海外。)」 + +  所以,互联网软件通常也是大公司的正确选择。可是,大公司太迟钝,不到最后一刻想不通这一点,就像以前他们迟迟没有发现桌面电脑才是计算机发展的方向一样。这也是大公司往往会购买很贵商品的原因之一,所以你高额投入,向大公司推销你的商品,也就变得值得了。 + +  有钱的客户倾向于更贵的选择,即使便宜的选择更符合他们的需要,他们也不会买。这种现象普遍存在。原因就是,那些索要高价的人将更多的钱投入推销。Viaweb不采用这种做法。互联网咨询公司从我们手里抢走了几个高端商家。他们说服这些商家,让他们相信更好的选择就是,花50万美元,将网上商店开在自己的服务器上。结果是意料之中的,当圣诞节购物高峰来临时,服务器的负载陡然上升,这些商家一个接一个地发现,他们的选择并不是那么正确。Viaweb的系统远比大多数商家自己搭建的系统更高级更先进,但是我们付不起高额的宣传费,无法让他们明白这一点。我们的宣传费每月只有300美元,无法派遣一个衣冠楚楚、言之凿凿的团队到客户公司做演示。 + +  有一段时间,我们构思了一种新类型的服务,名叫“Viaweb黄金版”。它比我们普通类型的服务贵十倍,但是功能一模一样,唯一的区别就是有专人穿着西装面对面把它卖给你。我们从未把这个构思付诸实践,但是我很肯定,要是真推出的话,一定会有商家购买。 + +  大公司付出的高价之中,很大一部分是商家为了让大公司买下这个商品而付出的费用。(如果国防部花1000美元买一个马桶座圏,部分原因是要让国防部买下它本身就需要花很多钱。)这就是为什么公司内部的局域网软件明明不可取、但是还会继续存在并且不断发展的一个原因。这样的软件更昂贵,但是你对这个难题就是无能为力。所以,最好的安排就是把个人和小企业客户放在第一位。其他的客户该来的时候就会来。 + + + +桌面电脑 + +  在服务器上运行软件并不是新鲜事。事实上,旧有的模式就是这样,大型机的应用程序都是在服务器上运行的。如果这个模式真那么好,为什么以前没有获得成功呢?为什么随着桌面电脑的兴起,大型机变得黯然失色呢? + +  刚开始的时候,桌面电脑似乎对大型机不构成威胁。最早的桌面电脑用户只是一些黑客或者业余爱好者(那时,别人就是这么称呼黑客的)。他们喜欢微型计算机的原因只是价格便宜。有史以来第一次,个人拥有了自己的电脑。“个人电脑”(PC)这个词现在是日常语言的一部分,但是当它刚出现的时候,听上去简直就是痴心妄想,就像今天我们听到“个人卫星”(personal satellite)时的那种感觉。 + +  为什么桌面电脑大获全胜?主要是因为它们的软件更出色。为什么它们的软件更出色?原因可能是这些软件是小公司写出来的。 + +  我认为,许多人没有意识到最早的创业公司是多么脆弱和踌躇。许多创业公司的出现完全出于偶然。几个朋友在一起,白天都要上班或者上学,利用业余时间做出一个产品原型,如果这个东西看上去有市场,那么可能就会开公司。在这个雏形阶段,任何重大的阻碍都会把公司扼杀在摇篮中。为大型机开发软件要求大量的前期投入。买一台开发用机已经很贵了,而且因为客户是大公司,所以你还需要一支看上去很气派的销售队伍,这样才能把软件卖出去。创立一家公司专门开发大型机软件是一项艰巨的任务,比你自己利用晚上的业余时间在苹果电脑上写一个东西艰巨得多。所以,只有很少几家为大型机开发应用程序的创业公司。 + +  桌面电脑的出现,带动一大批新软件纷纷涌现,因为对于初生的创业公司来说,开发桌面软件更可行。桌面电脑本身相对便宜,客户又主要是个人,通过电脑商店或者邮寄就可以销售。 + +  把桌面电脑推入主流市场的软件是VisiCalc,它是第一个电子表格程序,是由两个人在自家阁楼里写出来的,它能做到大型机都做不到的事^。在那个时候,VisiCalc太先进了,人们为了能够使用这个软件,纷纷去购买苹果电脑。这标志了一个新时代的开始,桌面电脑开始成为主流,因为许多创业公司为它写软件。 + +^「VisiCalc的两个作者分别是丹·布里克林(Dan Bricklin)和罗伯特·弗兰克森。丹在几天之内就先用Basic语言写出了一个原型。接下来几年,他们一起合作(主要利用夜间)用6502机器语言写出了一个功能强大得多的版本。那时,丹在哈佛商学院读书,罗伯特名义上的正式工作是开发软件。“我们开公司其实没有太大风险。”罗伯特对我说,“倒闭就倒闭了,没什么大不了。”」 + +  现在看上去,互联网软件也有这个趋势,因为也有许多创业公司在做这件事。电脑的价格越来越便宜,你可以同我们一样,用一台桌面电脑当作服务器,开始自己的创业。廉价芯片正在侵蚀工作站(你现在甚至很少听到这个词)的市场份额,并且占领了大部分的服务器市场。雅虎公司的服务器能够承受互联网上最高的工作负载,伹是这些服务器的芯片与你的桌面电脑是一样的,都是Intel公司低价的处理器。一旦你写出自己的软件,只要搭建一个网站就能销售。几乎所有我们的用户都是听了他人的推荐或者看了媒体的报道^。 + +^「这件事没我说的这么简单。口碑效应发挥效果需要很长一段时间。报道我们的媒体也不是很多,后来我们以每月1.6万美元(再加上一些认股权证)的代价,聘请了Schwartz Communications公司(他们大概是高科技行业中最好的公关公司),媒体报道才多了起来。但是,真正起到决定性作用的销售推广渠道只有一个,那就是我们自己的网站。」 + +  Viaweb是一家典型的处于起步阶段的创业公司。我们对开公司这件事都心存恐惧。开始的头几个月,我们安慰自己:就把这一切当作一个实验,随时都可以收拾摊子一走了事。幸运的是,除了一些技术问题,我们几乎没有遇到太大的障碍。写完软件,我们就把开发用的桌面电脑当作了服务器,插上电话线,就与外部世界连接在了一起。这个阶段,我们唯一的支出就是食品和房租。 + +  现在,创业公司有更多的理由选择互联网软件创业,因为开发桌面软件越来越乏味了。如果你现在开发桌面软件,就不得不接受微软公司的授权条款,调用它的API,为它那个bug百出的操作系统伤透脑筋。历尽了千辛万苦,你最终写出了一个大受欢迎的软件,这时你可能会发现,你所做的一切其实只是在为微软公司做市场调查。 + +  如果某家公司想要开发一个平台,吸引他人在此之上创业,这家公司必须使得黑客本人愿意使用这个平台。这意味着它必须是便宜的,而且有着良好的设计。苹果公司的Mac电脑自从一问世,就在黑客之中很流行,许多黑客为它写软件^。你在Windows身上就很少看到这种现象,因为黑客不喜欢使用Windows。现在,善于写软件的那类人更喜欢使用Linux或者FreeBSD操作系统。 + +^「你可能会问,如果Mac电脑真那么出色,为什么后来它的市场表现不佳?还是那个老生常谈的原因:成本太高。微软公司把所有精力都集中在软件上面,所以很多厂商只要专攻硬件就可以了,把硬件成本降了下来。单单是微软的软件或者第三方厂商的硬件都不足以赢得市场优势,但是它们结合起来,就在个人电脑出现后一段关键时期中主导了市场。苹果公司同时做软件和硬件,所以成本上没有优势。(但是,苹果公司还没有失败,如果它能把iPod升级成手机,并且将网络浏览器包括在其中,那么微软公司就有大麻烦了。)(译者注:这段话写于2001年9月,苹果公司的iPhone手机已于2007年6月上市。)」 + +  我想,要是为桌面电脑写软件,我们就不会成立创业公司了。因为桌面软件必须能运行在Windows上,要给Windows写软件就不得不使用它,可是我们对它并没有兴趣。有了互联网就可以绕过Windows,直接在Unix系统上发布软件,用户通过浏览器使用。这种趋势将会迅猛发展,很像20年前PC刚刚诞生时的情景。 + + + +微软公司 + +  回想桌面电脑刚刚出现的时候,人人都对巨无霸IBM心存敬畏。现在很难想象那种感觉,但是我对此记忆犹新。现在,令人敬畏的巨无霸是微软公司,我想它面对新技术的威胁不会像IBM那样疏忽大意,自以为高枕无忧,毕竟微软的成功就是利用了IBM的疏忽。 + +  我在前文提到,我的母亲并不真的需要一台桌面电脑。大多数用户都是如此。这对微软是一个问题,它也知道这一点。如果软件都在服务器端运行,就没有人要用Windows了。微软该怎么办?它会利用对桌面电脑操作系统的垄断,阻止或者限制这种新一代的软件吗? + +  我预计微软会推出某种服务器和桌面电脑的混合产品,让它的桌面操作系统专门与由它控制的服务器协同工作。至少它也会把文件放在服务器上,需要的用户可以自己去下载。我觉得微软不会把运算都放到服务器端,让客户只要有浏览器就行了,它不会走得那么远,除非走投无路了。如果只需要一个带浏览器的终端设备就能完成所有工作,你就不需要微软了。要是微软不能控制终端设备,它就只剩下一条路,就是把用户推向它自己的互联网软件。 + +  互联网对于微软来说,就像《一千零一夜》神话中被关在瓶子里的妖怪,我想微软会有一段很艰难的时期,会千方百计防止妖怪从瓶子里钻出来。未来会出现无数不同类型的终端设备,要想全部控制它们实在是太难了。如果微软专攻某些终端设备,那么竞争者可以为其他终端设备提供应用程序,从而获得击败微软的机会^。 + +^「一个优秀的开源浏览器会帮到互联网软件,防止它们被微软扼杀。体积小、反应快的浏览器,本身就是好东西,会鼓励厂商开发小型的互联网设备。优秀的开源浏览器最大的优点则是,会推动HTTP和HTML继续向前发展(就像Perl起到的作用一样)。你还记得当年网景公司每推出一个浏览器的新版本,就会为HTML语言加上一些新功能吗?这样的好事为什么要停下来呢? + +举例来说,如果互联网软件能够区分某一个链接是用户主动点击还是被动跟随前往,那将极有帮助。要做到这一点,只需要对HTTP协议做一点小小的加强就可以了,允许在一个请求中包括多个URL地址就能解决问题。此外,HTML语言如果能支持级联式菜单(cascading menu),也将很有帮助。 + +只要谁能写出一个新的Mosaic浏览器,他就能改变世界。现在这样做会不会太晚了?1998年,许多人认为再推出一个新的搜索引擎已经太晚了,互联网世界已经定型了。谷歌证明了这种看法是错误的。如果新事物真的有重大改迸,那么它总是可以找到生存空间的。」 + +  在互联网软件的世界,微软并不会因为它在桌面软件世界的成功而自动得到一席之地。也许通过努力它能为自己争取到一个席位,但是我不认为它会主宰这个新的世界,取得桌面软件领域那样的地位。 + +  除了微软自己,没有人能让微软遭受严重挫折。随着互联网软件的崛起,微软不仅要面对新的技术问题,还要面对它自己毫无根据、一厢情愿的旧思维。微软需要把它现有的商业模式拆除,建设一个新模式,我看不到它有正视这个问题的任何迹象。它一心一意地坚持桌面软件模式,固然把它带到现在的地位,但是现在开始将成为它继续前进的障碍。IBM曾经有过同样的处境,它没有正确应对。在很晚的阶段,它才进入微机市场,并且三心二意没有倾注全力,因为大型机是IBM的主要利润来源,发展微机就等于扼杀这头金牛,所以它感到很纠结。微软也同样感到纠结,因为它想保住桌面软件。看来金牛也会成为沉重负担。 + +  我并不是说,互联网软件世界不会产生主宰者。最终,可能会有这样一家公司诞生。但是,我想这需要相当相当长的时间,在此之前则是一段欣欣向荣的混战时期,正如微机诞生的早期。这是创业公司的黄金时代,小公司竞相争艳,做出很酷的产品,使得自己快速发展起来。 + + + +创业公司 + +  典型的创业公司行动快速,看上去不是那么正式,只有很少几个人,资金也有限。这几个人勤奋工作,技术放大了他们的决策。如果他们赌赢了,那就是一场大胜利。 + +  开发互联网软件的创业公司会把与创业有关的每一件事做到极致。只用更少的人、更少的钱,就可以把软件写出来,并且开始运作。你必须打破常规、快速行动,循规蹈矩不可能成功。你完全能够在只有三个人的情况下让产品开始运营,你们唯一的办公场所就是一间公寓,里面放着一台连着ISP的服务器。我们就是这样做的。 + +  级观创业公司的历史,你会发现它们变得越来越小,越来越快,越来越不像正规的企业。I960年,所谓“开发软件”就是IBM公司的那种形式,满满一屋子的人,他们都戴着牛角质眼镜架,系着细细黑黑的领带,勤勉地埋头写代码,每人每天可以完成十行。到了1980年,“开发软件”变成了8到10人的一个小组,他们穿着牛仔裤上班,在VT100终端上打字。现在,“开发软件”则是两个人坐在客厅里,一人捧一台笔记本电脑。(牛仔裤如今已经不能算是不正式的服装了。) + +  创业公司的压力很大,不幸的是,这一点在互联网软件业也发挥到了极致。许多软件公司的开发者都有一段睡在桌子底下(或者类似经历)的日子,尤其是在初创期。令人惊恐的是,对于互联网软件来说,这样的日子没有尽头,什么都不足以阻止这种事情成为常态。对于桌面软件来说,睡桌子底下的经历经常可以告一段落,等到软件发布了,我们就都回家睡上一个星期。互联网软件永远没有收工的那一天,如果你愿意,可以一直干下去,每天忙上16个小时。而且,你能够做到这一点,意味着竞争者也能做到这一点,所以长时间工作变成了一种必需,不得不如此。因为你能做到,所以你必须做到。这简直就是逆向的帕金森定律^。 + +^「帕金森定律(Parkinson's Law)是英国作家诺斯科特·帕金森(Cyril Northcote Parkinson,1909—1993)在1955~1958年的一组系列文章的总称。在这些文章中,帕金森讽刺了英国的官僚主义,总结了许多常见的官僚主义的表现形式。“帕金森定律”后来成为这些表现形式的代名词,它包括很多内容,其中有一条就是“因为你必须做到,所以你能够做到”。因此,本文作者称“因为你能够做到,所以你必须做到”是逆向的帕金森定律。——译者注」 + +  除了长期加班,更可怕的事情是沉重的压力。传统上,程序员和系统管理员有不同的工作职责。程序员关注bug,系统管理员关注系统的基础设施。程序员可能一整天都在伏案编写代码,然后到了某个时间,就下班回家,不再去想代码了。系统管理员则是永远都无法把工作抛到脑后,可能凌晨4点就会被叫到机房,不过好在大多数时候他们的工作都不是很复杂。互联网软件的出现使得这两种工作结合在一起,因此把它们各自不同的工作压力也合在一起。程序员变成了系统管理员,但是工作职责的范围却没有明确界定,使得工作压力陡然增加。 + +  我们创立Viaweb时,一开始的六个月都在编写代码。与其他创业公司一样,在这个早期阶段我们的工作时间也是很长的。换作桌面软件公司,度过这个艰苦阶段之后,一切就会变得轻松了,但是当我们结束这个阶段、打开服务器迎接访问者时,才发现与后来的日子相比,第一阶段的编程简直像在度假。雅虎收购Viaweb,我们第一位的收获当然是金钱,第二位的收获就是能够卸下这些沉重的责任,让一家更大的公司去承担。 + +  桌面软件迫使用户变成系统管理员,互联网软件则是迫使程序员变成系统管理员:用户的压力变小了,程序员的压力变大了。这未必是坏事。如果你的创业公司正在与一家大公司竞争,这一点就很有利^。互联网软件提供了一种天然的途径,使得你可以用较少的人力完成较多的工作,从而超过竞争对手。创业公司对这一点应该感到心满意足。 + +^「由于个人经历的关系,特雷弗·布莱克韦尔对这一点的认识可能比其他任何人都深刻。他写道:“我会进一步说,由于互联网软件的程序员非常辛苦,所以会使得经济优势根本性地从大公司向创业公司转移。互联网软件要求的那种工作强度和付出,只有当公司是其本人所有时,程序员才愿意提供。软件公司可以雇到能干的人,让他们去干轻松的事情,也可以雇到不能干的人,让他们去干艰苦的事情,但是无法雇到非常能干的人,让他们去干非常艰苦的事情。因为互联网软件的创业不需要太多的资本,所以大公司可以与创业公司竞争的优势就所剩无几了。”」 + + + +勉强够用的网页 + +  有一件事可能会打消你通过互联网软件创业的念头,那就是网页作为用户界面,功能实在是太弱了。我承认,这确实是一个问题。我们真的想改造HTML语言和HTTP协议,对许多地方进行加强。不过必须指出,目前阶段的网页刚好能满足需要。 + +  以第一代微型计算机作为类比。那些机器上的处理器,本来的生产目的是用在诸如交通信号灯这样的电子设备上的,而不是用作计算机CPU。但是,像Altair^的设计者爱德华·罗伯茨^^这样的人,意识到这些处理器刚好能满足需要。你把一块芯片、存储器(第一台Altair的内存是256字节)、前面板的指示灯和开关组合在一起,就有了一台可以运行的电脑。能够拥有自己的电脑是非常令人兴奋的事情,所以许多人想买一台,即使它的性能实际上非常低下。 + +^「Altair指的是MITS公司在1975年推出的Altair 8800微型计算机,CPU为Intel8080。它是第一批微型计算机中最成功的产品,被认为是最早的个人电脑,上市第一个月就卖出了几千台。它所使用的总线,后来成为微机总线的第一个标准S-100,而微软公司的第一个产品就是为Altair开发的编程语言Altair Basic,——译者注」 + +^^「Ed Roberts(1941—2010),美国工程师。1970年创立MITS公司,1975年设计出了历史性的产品——微型计算机Altair8800,开创了个人电脑的时代,后来被称为“个人电脑之父”。1977年,他卖掉了MITS公司,来到佐治亚州乡下研究医学,最后成为小镇上的医生。——译者注」 + +  网页刚诞生的时候,也不是为了用作应用程序的界面,它只是刚好能满足需要。对于相当一部分使用者来说,打开浏览器就能使用软件本身,这已足够吸引人了,用户操作界面的丑陋和不方便并不是一个严重的问题。也许你使用HTML语言无法写出最美观的电子表格,但是你能写出一个可以供多人在不同地点、不同终端设备上同时使用的电子表格,而且不用安装任何软件,只要有浏览器就可以。你还可以写出数据实时更新,或者一且满足某些条件就会自动发出传呼信号的电子表格。更重要的是,你能用它创造出各种各样甚至还没有名字也没有人想到过的新东西。VisiCalc可不是某个大型机软件的微机版,而是完完全全的一种薪新的软件。 + + + +图5-1 Popular Electronics杂志,1975年一月号^ + +^「1975年一月号的Popular Electronics杂志的封面报道就是Altair8800型计算机,封面上的文字是:“突破性的项目。世界上第一台可与商用型号媲美的微型计算机。Altair8800,为您节省超过1000美元。”这是历史上第一篇对微型计算机的新闻报道,影响极大,标志个人电脑时代的来临。当时,哈佛大学二年级的学生比尔·盖茨就是因为看到了这篇报道,才决定和保罗·艾伦一起为Altair开发Basic语言的解释器,并于1975年7月成立微软公司,因此这篇报道直接促成了微软公司的成立。——译者注」 + +  当然,互联网软件不一定非做成互联网软件,它也可以做成某种形式的桌面软件。但是,我很肯定,这不是好主意。你自然可以轻易地假设所有人都会安装你的桌面软件,这样就不用考虑很多麻烦问题了,没过多久,你马上就对这一点深信不疑了,所有人肯定真的都会安装你的软件。要是他们不安装,你就惨了。 + +  相比之下,互联网软件不需要做任何关于安装的假设,只要能上网的地方,它就能运行。这个优势已经很大了,随着各种上网设备的迅速发展,优势还会继续扩大。你的软件能用,又不必安装,用户就会喜欢你,你的日子也好过得多,因为你不会被各种各样桌面端的问题烦死^。我感到,自己对互联网的观察不会输给其他任何人,但是我也无法预料网络终端设备会怎么发展。一个网页制作比较规范统一的时代也许会到来,但是在什么时候呢? + +^「如果我是你,我甚至不会考虑使用JavaScript,Viaweb就没用。我在网上遇到的大部分JavaScript都是不必要的,其中很多都不能用。如果有一天你可以在手机(或者PDA,甚至烤面包机)上浏览网页,天知道这些设备会不会支持JavaScript。」 + +  一切最终会变成什么样子?我不知道。如果你把赌注押在互联网软件上,你也不必担心这个问题。只要人们继续上网,互联网软件就输不了。互联网也许不是唯一的提供软件的途径,但是它现在就能发挥作用,并还将持续很长一段日子。互联网软件的开发成本低,即使是最小型的公司,也可以很容易地制作和发布。互联网软件做起来很辛苦,还有许多特别大的压力,但是这样只会使得创业公司成功的机会变大。 + + + +为什么不尝试一下? + +  E.B.怀特^曾经从一个农民朋友那里听到一则趣闻。许多农场用电篱笆防止奶牛逃跑,但是不少电篱笆其实并没有通电。不过奶牛们已经吃过苦头,显然学会了不去碰电篱笆,这时不通电也能起到效果。“奶牛们,行动吧!”他写道,“趁着统治者打鼾时,夺回你们的自由!” + +^「E.B.怀特(E.B.White,1899—1985),美国当代著名作家、散文家,常年担任《纽约客》杂志的主要撰稿人,以优美的语体风格著称于世。——译者注」 + +  如果你是一个黑客,并且梦想自己创业,可能会有两件事情令你望而却步,不敢真正开始采取行动。一件是你不懂得管理企业,另一件是你害怕竞争。可是实际上,这两件事都是没有通电的电篱笆。 + +  首先,管理企业其实很简单,只要记住两点就可以了:做出用户喜欢的产品,保证开支小于收入。只要做到这两点,你就会超过大多数创业公司。随着事业的发展,你自己就能琢磨出来其他的诀窍。 + +  刚开始的时候,你可能入不敷出,但是只要亏损不持续太久,你就不会有事。如果初期阶段缺少资金,这至少有助于你养成勤俭节约的习惯。开支越小,就越不会超支。幸运的是,编写一个互联网软件是非常便宜的。我们的总支出就不超过1万美元,现在应该更便宜了。其中,我们不得不花了几千美元买了一台服务器,又花了更多钱购买SSL。(那时唯一出售SSL软件的公司就是网景。)现在,你可以租到一台强大得多的服务器,上面已经安装好了SSL,而费用比我们当时的带宽费还要少。如今,开发一个互联网软件的费用比购买一把高级办公椅还要便宜。至于如何做出用户喜欢的产品,下面是一些通用规则。从制造简洁的产品开始着手,首先要保证你自己愿意使用。然后,迅速地做出1.0版,并且不断以改进,整个过程中密切倾听用户的反馈。用户总是对的,但是不同的用户要求不一样。低端的用户要求简化操作和清晰易懂,高端的用户要求你增加新功能。软件最大的好处就是让一切变得简单。但是,做到这一点的方法是正确设置默认值,而不是限制用户的选择。如果竞争对手的产品很糟糕,你也不要自鸣得意。比较软件的标准应该是看对手的软件将来会有什么功能,而不是现在有什么功能。无论何时,你都要使用自己的软件。Viaweb的主要功能是建立网上商店,但是我们也使用它建立自己的网站。不要只因为对方的头衔是市场专家、设计师或产品经理,就盲目听从他们的话。如果他们的观点真的很好,那就听从他们,关键是你要自己判断,不要盲从。只有懂得设计的黑客,才能设计软件,不能交给对软件一知半解的设计师。如果你不打算自己动手设计和开发,那就不要创业。 + +  其次,让我们来看看竞争。你所害怕的大概不是与你一样的黑客,而是那些像模像样,有着办公室、商业计划、销售员的公司,对不对?可是实际上,他们害怕你胜过你害怕他们,而且这一点上,他们并没有错。几个黑客搞懂如何租用办公室,或者如何雇用销售人员,要比那些公司(不管大公司还是小公司)搞懂如何正确写出软件容易得多。我在这两种地方都待过,所以知道这些。Viaweb被雅虎收购后,我突然发现自己在为一家大公司工作,那感觉就好像在齐腰深的水中艰难行走。我无意贬低雅虎。它拥有一些很好的黑客和顶尖的管理人才。对于一家大公司来说,它可谓是出类拔萃了。但是,它的生产效率仅仅相当于小型创业公司的十分之一。没有任何一家大公司能做得更好。微软公司的恐怖之处在于,它大到可以开发任何软件,就像一座能够行走的大山。 + + + +图5-2 比尔·盖茨,1977年 + +  不要被微软吓到。你能做到它做不到的事情,正如它能做到你做不到的事情一样。开发互联网软件不需要得到任何人的许可,没有人能够阻止你。你不需要去申请许可证,不需要在零售店的货架上谋得一席之地,也不需要卑躬屈膝地求人家,将你的软件与操作系统捆绑在一起。你能够通过浏览器发布软件,没有人能在你和浏览网站的用户之间插上一脚。 + +  你也许不会相佶,但是我向你保证,微软公司害怕你。它的那些目中无人的中层管理人员也许不是这样想的,但是比尔·盖茨肯定是,因为1975年,上一次发布软件的新方式出现时,他也曾经跟你一样白手起家。 + + + + + +  6.如何创造财富 + +  如果你想致富,应该怎么做?我认为最好的办法就是自己创业,或者加入创业公司。几百年来,这一直是致富的可靠途径。“创业公司”(startup)这个词诞生于20世纪60年代,但是它与中世纪集资进行的航海冒险活动其实也相差无几。 + +  创业公司往往与技术有关,所以“高技术创业公司”这个短语几乎就是同义重复。创业公司其实就是解决了某个技术难题的小公司。 + +  许多人对此一无所知,但也发了财。这就好像你不用学习物理学也能成为一个出色的棒球投球手。但是,我认为理解这些原理,有助于你取得成功。为什么创业公司必须是小公司?当创业公司不断变大时,它是否不可避免地失去创新能力?为什么创业公司往往选择在新技术领域创业?为什么如此之多的创业公司在开发新药或计算机软件,而不是在卖玉米油或者洗衣粉? + + + +一个命题 + +  从经济学观点看,你可以把创业想象成一个压缩过程,你的所有工作年份被压缩成了短短几年。你不再是低强度地工作四十年,而是以极限强度工作四年。在高技术领域,这种压缩的回报尤其丰厚,工作效率越高,额外报酬就越高。 + +  下面举一个简单的例子说明这个经济学命题。如果你是一个20多岁的优秀黑客,每年的薪水大约是8万美元。这意味着,平均来看,你必须每年至少为公司带来8万美元利润,这样才能保证公司没有亏钱。但是,你的真正工作时间其实可以是公司上班时间的2倍,如果你全神贯注,每小时的产出可以提高3倍^。如果再把大公司里令人讨厌的中间管理层除去(他们经常以主管的身份妨碍你的工作),你的效率可以再提高2倍。还有一个可以提高效率的地方:你不用再完成强行指派给你的工作,尽可以根据自己的愿望,做出最能发挥你聪明才智的成果。假定这会把工作效率再增加三倍。将这些因子放在一起做乘法,你的工作效率将是在公司时的36倍^^。如果一个优秀黑客在大公司里的身价是每年8万美元,那么一个勤奋工作、摆脱杂事干扰的聪明黑客,他的工作相当于每年新创造300万美元的价值。 + +^「往往只有在创业公司里,你才能得到一种宝贵的工作环境,就叫做“不受干扰”。不同的工作对“不受干扰”有不同的要求。文稿校对人员每15分钟被打断一次,工作效率也不会有太大损失。但是,黑客要求的“不受干扰”的时间是非常长的,有时你要用1个小时才刚刚把一个问题理清。所以,人事部突然打电话要你去填一张表格,会造成巨大的成本损失。 + +这就是为什么当你打扰黑客让他们从屏幕前扭过头回答问题时,他们会恶狠狠地盯着你的原因。他们大脑内部精心构建的精巧建筑,瞬间就崩溃了。 + +仅仅因为工作经常受到干扰,黑客就会无法应对高难度的项目。这就是为什么黑客往往在深夜工作的原因,也是黑客无法在小隔间里写出优秀软件的原因(除非在半夜)。创业公司的一个巨大优势就是不会有任何人来打扰你。没有人事部,也没有表格,自然也就不会有人打电话要求你填表格。」 + +^^「那些大公司的执行官看到创业公司员工的生产率是本公司员工的20或30倍时,自然很想知道怎样才能让自己的手下也这样拼命工作。答案很简单,付钱就行了。 + +许多大公司的内部,平均主义泛滥。如果采用自由市场制度那样的机制,你的公司就可以变成一个很有效率的地方。 + +这里的假设是,如果每个员工按照他创造的财富获得报酬,那么整个公司的利润将将最大化。」 + +  这个计算是很粗糙的,有很大的误差。我不会争论这些数字是否准确,但是计算的根据是靠得住的。我没有说放大因子不多不少正好是36,但肯定是大于10的,在个别情况下甚至高达100。 + +  如果你觉得一个程序员一年做出300万美元的利润不太可能,那么不要忘记,我们谈的是他在极限情况下可以创造多少利润。这时,他的休闲时间为0,工作强度之大足以危害到健康。 + +  创业公司不是变魔术。它们无法改变创造财富的法则,它们只是代表了财富创造曲线远端上的一点。这里有一个守恒定律:如果你想赚100万美元,就不得不忍受相当于100万美元的痛苦。比如,你终生为邮政局工作,省下每一分工资,那也是赚到100万美元的一种方法。可是,不难想象为邮政局工作50年是何等漫长的压力。创业公司将你所有的压力压缩到三四年。承受较大的压力通常会为你带来额外的报酬,但是你还是无法逃避基本的守恒定律。如果创业那么轻松,那么所有人就都去创业了。 + + + +运气的成分 + +  每年300万美元在大多数人眼里是一笔大钱,但是在另一些人眼里却不值一提。300万美元算什么?我的目标是成为比尔·盖茨那样的亿万富翁。 + +  现在先不考虑比尔·盖茨,因为名人不适合用来举例子,媒体只报道那些最有钱的人,而他们往往属于特例。比尔·盖茨很聪明,有决断力,工作也很勤奋,但是单单这样还不足以让你成为他。你还需要非同一般的好运气。 + +  任何公司的成功历程中,运气都是一个很大的随机因素。那些你在报纸上读到的成功人士固然很聪明,很努力,但是他们的运气也不坏。比尔·盖茨肯定既聪明又努力,但是微软公司碰巧是历史上最大商业错误之一——DOS操作系统的授权协议——的受益者。毫无疑问,比尔·盖茨肯定竭尽全力才诱导IBM犯下这个大错,他也淋漓尽致地利用了对手的错误,但是只要IBM方面有一个人稍微有一点脑子,微软公司的历史就将完全不同。当时,与IBM相比,微软只是一家不起眼的小公司,一家小小的零件供应商罢了。如果IBM按照常理要求独家购买微软的产品,不许微软向第三方提供,微软也只能乖乖地签字。这对微软来说是一笔丢不得的大买卖,而IBM能够很容易地从其他公司搞到一个操作系统。 + +  结果却是,IBM尽全力帮助微软控制了个人电脑的标准。从那时起,微软只要不停地做出产品就可以了,它从来不用做出有商业风险的决策。微软只要抱着授权协议不放,快速地复制新产品就行了。 + +  如果IBM没有犯下这个错误,微软依然会是一家成功的公司,但是不会膨胀得这么大这么快。比尔·盖茨依然将成为富翁,但是只会排在《福布斯400富豪榜》接近末尾的地方,与其他年纪相仿的人位置差不多。 + +  致富的方法有许多种,本文只谈论其中的一种,也就是通过创造有价值的东西在市场上得到回报,从而致富。其他许多种的致富方法包括赌博、投机、婚姻、继承、偷窃、敲诈、诈骗、垄断、行贿、游说、造假、开矿等。获得最可观的财富往往会涉及其中的几种方法。 + +  通过创造有价值的东西而致富,这种方法的优势不仅仅在于它是合法的(许多其他方法如今都是不合法的),还在于它更简单。你只需要做出别人需要的东西就可以了。 + + + +金钱不等于财富 + +  创造有价值的东西就是创造财富。你最好先搞清楚什么是财富。财富与金钱并不是同义词^。财富存在的时间与人类历史一样长久,甚至更长久,事实上蚂蚁也拥有财富。金钱是一种历史相对较短的发明。 + +^「近代历史上,政府有时都搞不清楚金钱和财富的区别。亚当·斯密在《国富论》中提到,许多国家政府为了保住“财富”,禁止出口白银或者黄金。但是,黄金和白银实际上只是一种交换媒介,留住它们并不会让一个国家变得更富有。如果物质财富保持不变,金钱越多,导致的唯一结果就是物价越高。」 + +  财富是最基本的东西。我们需要的东西就是财富,食品、服装、住房、汽车、生活用品、外出旅行等都是财富。即使你没有钱,你也能拥有财富。如果有一台魔法机器,能够按照你的命令变出汽车,为你洗衣做饭,提供其他你想要的东西,那么你就不需要钱了。要是你身处南极洲内陆,再多的钱对你也是无用的,因为没有东西可买,你真正需要的是财富。 + +  财富才是你的目标,金钱不是。但是,如果财富真的这么重要,为什么大家都把挣钱挂在嘴边呢?部分原因是,金钱是财富的一种简便的表达方式:金钱有点像流动的财富,两者往往可以互相转化。但是,它们确实不是同样的东西,除非你打算伪造货币,否则使用“挣钱”这个词会不利于理解如何才能挣钱^。 + +^「“挣钱”的英语是make money,字面意思就是制作金钱。在本文中,make money指的是财富,money指的是金钱,两者并不一样。所以,作者才会说,使用make money这个词,会不利于你理解如何才能make money。——译者注」 + +  金钱是专业化的副产品。在一个高度分工的社会,你需要的大部分产品无法自己制造。你需要土豆、铅笔、住房以及别的东西,你不得不让别人来提供。 + +  那么,你怎样才能让别人去种土豆并把它提供给你呢?方法就是给出对方需要的东西作为回报。但是直接与他人进行物物交换,你能得到的东西有限。如果你本人制作小提琴,而附近的农民对它都不感兴趣,那么你怎样交换食品呢? + +  当社会分工越来越精细后,人们发现解决方法就是把贸易过程分为两步。不是直接用小提琴交换土豆,而是先用小提琴交换金钱(比如银子),然后再用金钱交换你需要的东西。金钱就是交换中介,它必须数量稀少,并且便于携带。历史上,充当金钱的最常见交换媒介就是贵金属,但是现在我们使用另一种东西充当交换媒介,那就是美元。只要政府保证美元能够流通,那么它不需要物理形式的存在,就能充当交换媒介。 + +  交换媒介的优点是,它使得交易可以进行下去。缺点是,它往往模糊了交易的实质。人们觉得做生意就是为了挣钱,但是金钱其实只是一种中介,让大家可以更方便地获得自己想要的东西。大多数生意的目的是为了创造财富,做出人们真正需要的东西^。 + +^「“财富”这个词有很多意思,有些并不是指物质财富。我不想做深入讨论,研究到底什么才是真正的财富。我这里指的只是一种特定的技术层面上的“财富”——人们用金钱向你交换的东西。这是一种很有趣、很值得研究的财富,因为它使得你免于饥饿,而且人们是否用金钱交换这种财富取决于他们,不取决于你。 + +当你开始做生意时,很容易陷入一种迷思,认为只要把东西做出来就会有人要。在互联网泡沫的那段日子、我遇到一位女士,她喜欢户外运动,所以开办了一个户外运动门户网站。如果你真的喜欢户外运动,你知道自己应该做什么生意吗?其中一种就是从出错的硬盘挽救数据。 + +两者有何关联?没有关联啦。我只是借此表达我的观点,就是说如果你想要创造财富(这里指的是狭义的财富,也就是使你免于饥饿的东西),那么你应该抱着特别怀疑的态度,去思考那些着眼于你自己感兴趣的东西的商业计划。对于自己感兴趣的东西,你会觉得它们很有价值,伹是它们恰恰最不可能与他人眼中有价值的东西发生重合。」 + + + +大饼谬论 + +  许多人从小就认定世界上的财富总额是固定不变的,这样想的人数量多得惊人。任何一个正常的家庭,在某个时刻所拥有的财富总是一个固定的值。但是,家庭的财富总额与世界的财富总额不是一回事。 + +  谈到财富总额的时候,财富经常被形容为一个大饼。政治家说:“你无法把饼做得更大。”如果指的是某个家庭银行账户上的金钱数量或者政府某年的税收,这样说是对的。确实无法把饼做得更大,你分到的越多,别人分到的就越少。 + +  小时候我就对这一点深信不疑:如果富人拿走了所有的钱,那么其他人就变得更穷了。许多成年人至今都是类似看法的信徒。每当有人提到x%的人口占有了y%的财富,他的言下之意往往就包含了这种错误的观点。如果你打算创业,那么不管你是否意识到了,你都是在着手推翻这种大饼谬论。 + +  这里令人混淆的地方就是金钱有其抽象含义的一面。金钱不是财富,而只是我们用来转移财富所有权的东西。所以,虽然在某些特定的情况下(比如某个家庭当月的收入),你能用来与他人交换的金钱数量是固定不变的,但是大多数情况下,世界上可供交换的财富不是一个恒定不变的量。人类历史上的财富一直在不停地增长和毁灭(总体上看是净增长)。假设你拥有一辆老爷车,你可以不去管它,在家中悠闲度日,也可以自己动手把它修葺一新。这样做的话,你就创造了财富。世界上因为多了一辆修葺一新的车,财富就变得更多了一点,对你尤其是如此。这可不是隐喻的用法,如果你把车卖了,你得到的卖车款就比以前更多。 + +  通过修理一辆老爷车,你使得自己更富有。与此同时,你也并没有使得任何人更贫穷。所以,这里明显不是一个面积不变的大饼。事实上,当这样观察的时候,你会很好奇,为什么有人会觉得大饼的面积无法增大^。 + +^「如果在修理旧车的过程中,你对环境造成了一些微小的破坏,那么你可能使得每个人都变得更贫穷了一点。但是即使把环境的成本考虑在内,这依然不是一个零和游戏,依然存在财富的净增长。我们可以举出这样的例子,比如一台坏机器里有一个零件松了,你把零件拧紧,机器可以重新运作,那么你就没对环境造成任何破坏,并且创造了财富。」 + +  孩子在不知不觉中就懂得了这个道理。如果一个小孩想赠送另一个小孩一件礼物,但是又没有钱,他就会自己动手做。只不过一般情况下小孩子的动手能力不足,相比店里买来的礼物,他们自己做出来的东西从外观上就显得比较粗链。说实话,我们自己为父母做的松松垮垮的烟灰缸恐怕就很难在市场上卖出去。 + + + +手工艺人 + +  最可能明白财富能被创造出来的人就是那些善于制作东西的人,也就是手工艺人。他们做出来的东西直接放在商店里卖。但是,随着工业化时代的来临,手工艺人越来越少。目前还存在的最大的手工艺人群体就是程序员。 + +  程序员坐在电脑前就能创造财富。优秀软件本身就是一件有价值的东西。这里不存在大规模的流水线制造业,所以不用担心问题被混淆。你输入的文字符号就是一件完整的制成品。如果某人坐在电脑前,写出了一个不那么糟糕的浏览器(顺便说一句,这是一件很值得做的事),世界就会变得富有得多。 + +  公司就是许多人聚在一起创造财富的地方,能够制造更多人们需要的东西。当然,有些雇员(比如收发室和人事部的员工)并不直接参与制造过程,但是程序员不然。他们真正地面对产品,一行行地写代码把产品做出来。所以,在程序员看来,事情再明显不过,财富就是被做出来的,而不是某个想象出来的神秘人物分发的大饼。 + +  另一件程序员看来显而易见的事情就是创造财富的速率存在巨大的差异。Viaweb的一个程序员有着惊人的生产力,我记得看着他工作了整整一天,拿出来的产品估计使得公司的市场价值增加了几十万美元。一个优秀程序员连续工作几个星期可能可以创造价值100万美元的财富。同样的时间内,一个平庸的程序员不仅无法创造财富,甚至还可能减少财富(比如引入了bug)。 + +  这就是为什么如此之多的最优秀程序员都是自由主义者的原因。我们这个世界,你向下沉沦或者向上奋进都取决于你自己,不能把原因推给外界。许许多多不创造任何财富的人——比如本科生、记者和政客——一听到最富有的5%人口占有全社会一半以上的财富,往往会认定这是不公平的。一个有经验的程序员很可能也认为这是不公平的。因为最顶尖的5%的程序员写出了全世界99%的优秀软件。 + +  创造出来的财富不一定非要通过出售实现价值。至少直到最近,科学家一直在把他们创造的财富真正地捐献给社会。青霉素的发现使得我们所有人都变得更富有,因为从此我们死于细菌感染的可能性变小了。人们需要的东西就是财富,治愈疾病肯定就是人们需要的东西。黑客经常开发开源软件让所有人免费使用,以此把自己的工作捐献给社会。FreeBSD操作系统使我变得更富有。我自己的电脑就在使用FreeBSD,雅虎公司所有的服务器都是如此。 + + + +工作是什么 + +  在工业化国家,一个人至少在二十多岁之前,总是从属于这样或那样的某个组织。经过这么多年,你已经习惯了自己属于这样一群人,早上全部起床,都来到同样几幢建筑物,开始做自己正常情况下没兴趣做的事情。这样的组织变成了你身份标志之一:姓名、年龄,头衔、组织名称。如果你要做自我介绍或者他人要描述你,结果无非就是,张三,10岁,某某小学的学生,或者,张三,20岁,某某大学的学生。 + +  当张三从学校毕业后,他应该要找工作。找工作其实就是加入另一个组织。表面上,这个组织与大学很相像。你先挑选想去的公司,然后向它递交申请。如果它觉得你不错,你就能加入了。你早上起床,来到一个新的地点,也是几幢建筑物,开始做你正常情况下没兴趣做的事情。仅有的区别就是,上班的日子不如上学的日子有趣,但是有人付钱给你,而不是你付钱给学校。但是,上学和上班的相似之处要大于它们的不同。张三,20岁,某某大学的学生,现在变成了,张三,22岁,某某公司的程序员。 + +  事实上,张三的生活比他意识到的发生了更大的变化。虽然公司和学校都是类似的社会组织,但是如果你深入观察现实,就会发现很大的区别。 + +  公司一切行为的目的都是盈利,从而生存下去。创造财富是大多数公司盈利的手段。公司的业务高度专业化,掩盖了它们都是在创造财富的这种相似性,你不要觉得只有制造业公司在创造财富。财富的一个重要元素就是地理位置。还记得前文假设的那台魔法机器吗?它会变出汽车,为你洗衣做饭,等等。但是,如果这台机器在美国,而你在中亚的某个地方,那么它对你也没多大用处。我们说,财富就意味着人们需要的东西,那么把商品送到顾客手中也是人们需要的。许许多多不生产物质商品的公司都是在如此创造财富。几乎所有情况下,公司的存在目的就是满足人们的某种需要。 + +  当你为一家公司工作时,这也是你所做的事情。但是,公司内部的各种层级使得这一点有时不容易觉察到。你在公司内部所做的工作是与许多人一起合作完成的,你只是其中的一分子。你觉得自己是为公司的需要而工作,可能不会觉察到你其实是为了满足顾客的某种需求而工作。你的贡献也许不是直接性的,但是公司作为一个整体必须提供某种人们需要的东西,否则不可能盈利。如果公司一年付给你的薪水是x美元,那么总的来说,你为公司提供的劳动必须至少价值一年x美元,否则公司的支出就会大于收入,最后只好关门歇业。 + +  一个大学毕业生总是想“我需要一份工作”,别人也是这么对他说的,好像变成某个组织的成员是一件多么重要的事情。更直接的表达方式应该是“你需要去做一些人们需要的东西”。即使不加入公司,你也能做到。公司不过是一群人在一起工作,共同做出某种人们需要的东西。真正重要的是做出人们需要的东西,而不是加入某个公司^。 + +^「许多人20岁出头时惑到非常困惑和压抑。大学生活很有趣,可是已经过去了,上班的日子为什么会差别这么大?不要搞糊涂了,你现在已经从顾客变成了仆人。在这种新生活中获得乐趣是可能的。不过,你首先需要入门,门口的牌子写着“闲人勿进”。这种转变是一种冲击,如果你不赶快意识到这一点,事情将变得更糟。」 + +  对于大多数人来说,最好的选择可能是为某个现存的公司打工。但是,理解这种行为的真正含义对你没有什么坏处。工作就是在一个组织中,与许多人共同合作,做出某种人们需要的东西。 + + + +更努力地工作 + +  大公司会使得每个员工的贡献平均化,这是一个问题。我觉得,大公司最大的困扰就是无法准确测量每个员工的贡献。大多数时候它只是在瞎猜。在大公司中,你只要一般性地努力工作,就能得到意料之中的薪水。你不能明显无能或懒惰,但是谁也没觉得你会把全部精力投入工作。 + +  但是,现实是你在工作上投入的精力越多,就越能产生规模效应。在某些行业,那些真正拼命工作的员工能够创造出比普通员工多十倍甚至百倍的财富。比如,程序员全力开发一个崭新的软件,要比让他常规地维护和更新一个现有的软件能创造更多价值,这等于开辟了一个新的收入来源。 + +  成立公司的目的不是奖励那些全部精力投入工作的员工。你不能对老板说,我打算十倍努力地工作,请你把我的薪水也增加十倍吧!因为公司已经假定你在全力工作了。但是,真正的问题实际上在于公司无法测量你的贡献。 + +  销售员是一个例外。他们产生的收入很容易测量,他们的薪水往往是销售额的一个百分比。如果一个销售员想更努力地工作,他马上就可以这样做,并且自动按比例得到更多的报酬。 + +  除了销售员以外,还有一个职位,大公司可以雇到顶级人才,那就是高级的管理职位。原因也是一样的,因为这个职位的贡献能够被测量,高级经理对整家公司的表现负责。普通员工的表现往往很难测量,所以也没人要求他们做出突出表现。高级经理就不一样了,他们像销售员一样,不得不用数字证明自己。一个表现糟糕的CEO是不能推托说自己已经尽了全力的。如果公司的表现不好,就是他的表现不好。 + +  如果一家公司真正能够按照贡献付薪,它将取得巨大成功。许多雇员会更努力地工作。更重要的是,这样一家公司将吸引那些工作特别努力的人,从而超越竞争对手。 + +  但公司不可能对每个人都像销售员那样付薪。销售员是单独工作的,大多数雇员则是集体工作。假设有一家公司制造某种消费品,工程师为它实现各种功能,设计师为它设计一个漂亮的外壳,营销人员让顾客相信这是值得拥有的商品。请问如何评价每个人对这个商品销售额的贡献?还有,上一代产品的工作人员为这个公司树立了质量可靠的形象,请问最新产品的销售额有多少应该归功于他们?根本没有办法把所有人的贡献一一分解清楚。如果你能读懂消费者心理,你会发现消费者把所有上面这些因素放在一起看待。 + +  你想更努力地工作,但是你的工作与其他许多人的工作混杂在一起,这样就产生了问题。在大公司中,个人的表现无法单独测量,公司里其他人会拖累你。 + + + +可测量性和可放大性 + +  要致富,你需要两样东西:可测量性和可放大性。你的职位产生的业绩,应该是可测量的,否则你做得再多,也不会得到更多的报酬。此外,你还必须有可放大性,也就是说你做出的决定能够产生巨大的效应。 + +  单单具备可测量性是不够的。比如,血汗工厂的工人报酬是按照计件制计算的,这是一个只有可测量性、没有可放大性的例子。你的表现可以被测量,并且据此得到回报,但是你没有决策的权力。你能做的唯一决策就是以多快的速度完成工作。即使你做到最快,回报可能也只增加一到二倍。 + +  在电影中扮演主角就是一种同时具备可测量性和可放大性的工作。你的表现可以用电影的总收入测量,同时也决定了电影的成败,所以也就具备了可放大性。 + +  CEO也是一种同时具备可测量性和可放大性的工作。公司的表现就是CEO的表现,所以它具备可测量性。CEO的决策决定了整个公司的方向,所以它具备可放大性。 + +  我认为,任何一个通过自身努力而致富的个人,在他们身上应该都能同时发现可测量性和可放大性。我能想到的例子就有CEO、电影明星、基金经理、专业运动员。有一个办法可以发现是否存在可放大性,那就是看失败的可能性。因为收入和风险是对称的,所以如果有巨大的获利可能,就必然存在巨大的失败可能。CEO、电影明星、基金经理、运动员的头顶都悬着一把宝剑,随时可能掉下来。一旦他们搞砸了,他们就完了。如果你有一个令你感到安全的工作,你是不会致富的,因为没有危险,就几乎等于没有可放大性。 + +  但是,如果你想同时具备可测量性和可放大性,不一定非当上CEO或电影明星不可。你只需要成为某个攻克难题的小团体的一部分就可以了。 + + + +小团体=可测量性 + +  就算你无法测量每个员工的贡献,但是你可以得到近似值,那就是测量小团队的贡献。 + +  整家公司产生的收入是可以测量的,如果公司只有一个员工,那么就可以准确知道他的贡献了。所以,公司越小,你就越能准确估计每个人的贡献。一家健康的创业公司可能只有10个员工,那么影响收入的人员因子最多也只有10。 + +  因此,创业或加入一家创业公司最可能实现前文的情况,那就是你对老板说,我打算十倍努力地工作,请你把我的薪水也增加十倍吧!但是,有两个区别。第一个区别是你的要求并非向老板提出,而是直接向顾客提出(毕竟老板只是顾客的代理人)。第二个区别是你并非一个人完成这个任务,而是在一个小团体中与其他几个有同样抱负的人一起合作完成。 + +  一般情况下,小型团队都由多人组成。只有表演或写作这样的特殊工作,你才会一个人单干。你最好找出色的人合作,因为他们的工作和你的一起平均计算。 + +  大公司就像巨型的古罗马战舰,一千个划船手共同划桨,推动它前进。但是,两个因素使得它快不起来。一个因素是,每个划船手看不到自己更努力划桨有何不同;另一个因素是,一千人的团队使得任何个人的努力都被大大地平均化了。 + +  如果你从一千人中随便挑出10个人,把他们放在一条小船上,他们很可能会划得更快。胡萝卜和大棒同时形成对他们的激励。身强力壮的划船手看到他个人对船的前进速度有显著影响,就会受到激励。如果有人偷懒,其他人很容易发现,并会对他提出抱怨。 + +  如果你从大船上挑选出10个最优秀的划船手,把他们组成一个团队,这时,十人小船的优势才会真正显示出来。小团队带来的各种额外激励会在他们身上发挥得淋漓尽致。这里最重要的是你挑选出了最优秀的划船手,每个人都是一千人中排在最前面的顶尖高手。对他们来说,将自己的工作与其他高手的工作平均化要比与平庸之辈的工作平均化让人满意多了。 + +  这就是创业公司的真正意义。理想情况下,你与其他愿意更努力工作的人一起组成一个团队,共同谋取更高的回报(相比他们为大公司工作的情况)。因为创业公司的团队往往是自发形成的,许多有抱负的创始人彼此之间早就相识(至少听说过对方),所以他们对彼此贡献的评估要比一般的小团体更准确。创业公司不仅仅是十个人的团队,而且是十个同类人的团队。 + +  乔布斯曾经说过,创业的成败取决于最早加入公司的那十个人。我基本同意这个观点,虽然我觉得真正决定成败的其实只是前五人。小团队的优势不在于它本身的小,而在于你可以选择成员。我们不需要小村庄的那种“小”,而需要全明星第一阵容的那种“小”。 + +  团队越大,每个人的贡献就越接近于整体的平均值。所以,在不考虑其他因素的情况下,一个非常能干的人待在大公司里可能对他本人是一件很糟的事情,因为他的表现被其他不能干的人拖累了。当然,许多因素都会产生影响,比如这个人可能不太在乎回报,或者他更喜欢大公司的稳定。但是,一个非常能干而且在乎回报的人,通常在同类人组成的小团队中会有更出色的表现,自己也会感到更满意。 + + + +高科技=可放大性 + +  创业公司为每个人提供了一条途径,同时获得可测量性和可放大性。因为创业公司是小团队,所以具备可测量性。因为创业公司通过发明新技术盈利,所以具备可放大性。 + +  什么是技术?技术就是某种手段,就是我们做事的方式。如果你发现了一种做事的新方式,它的经济价值就取决于有多少人使用这种新方式。技术就是钓鱼的鱼竿,而不是那条鱼。这就是创业公司与餐馆或理发店的区别。餐馆煎鸡蛋,理发店剪头发,每次只能为一个顾客提供服务,但是如果你解决了一个热门的技术难题,别人都会使用你的解决方案。这就是可放大性。 + +  回顾历史,大多数因为创造财富而发财的人都是通过开发新技术而实现的。你不可能通过煎鸡蛋或剪头发而致富,因为使用你的服务的人是有限的。13世纪,佛罗伦萨人发明了精纺布,那是当时的高科技产品,这种新技术造就了佛罗伦萨的繁荣。17世纪,荷兰人掌握了造船术和航海知识,那也是当时的高科技,因此荷兰人主宰了欧洲前往远东的航线。小团队天生就适合解决技术难题。技术的发展是非常快的,今天很有价值的技术,几年后可能就会丧失价值。小团队在如今这个时代可谓如鱼得水,因为他们不受官僚主义和繁琐管理制度的拖累。而且,技术的突破往往来自非常规的方法,小团队就较少受到常规方法的约束。 + +  大公司也能开发出新技术,就是开发得比较慢而已。大公司的规模决定了它们无法快速行动,也无法测量并奖励表现优异的员工。所以在现实中,大公司开发出来的新技术只出现在那些需要大规模资本投入的领域,比如微处理器、电厂、大型民用飞机等,因为在这些领域内创业公司没有能力与之竞争。不过,即使在这些领域,大公司还是依仗创业公司提供零部件和构思。 + +  生物科技类和软件类的创业公司很显然都是解决高难度技术问题的。我认为,就算看上去与技术无关的商业类公司,其实也是解决技术问题的。比如,麦当劳是快餐连锁集团,它的发展依靠的就是设计出了一个快餐服务体系,可以复制到全世界每一个角落。每一家麦当劳连锁店都必须严格遵守操作规定,这使得它就像软件一样运作。所以,麦当劳其实也符合“一次开发,普遍适用”的模式。沃尔玛也是如此,它的创始人Sam Walton并不是因为经营零售业而致富,而是因为设计出了一种新型商店。 + +  选择公司要解决什么问题应该以问题的难度作为指引,而且此后的各种决策都应该以此为原则。Viaweb的一个经验法则就是“更上一层楼”。假定你是一个手脚敏捷的小男孩,身后有一条壮硕的大狗正在追你。你跑到楼梯口,这时应该上楼还是下楼?我觉得应该上楼。如果下楼的话,大狗可能跑得跟你一样快。上楼的话,大狗的庞大身躯就将成为劣势。不错,跑上楼你会比较吃力,但是大狗会感到更吃力。 + +  在实际操作中,这就意味着我们故意选择那些很困难的技术问题。假定软件有两个候选的新功能,它们创造的商业价值完全相同,那么我们总是选择较困难的那个功能。不是因为这个功能能带来更多的收入, + +  而是因为它比较难。我们很乐于迫使那些又大又慢的竞争对手跟着我们一起走进沼泽地。创业公司就像游击队一样,喜欢选择不易生存的深山老林作为根据地,政府的正规军无法追到那种地方。我还记得创业初期我们是多么筋疲力尽,整天都为一些可怕的技术难题绞尽脑汁。但是,我还是感到相当高兴,因为那些问题连我们都觉得这么困难,那么竞争对手就更会认为是不可能解决的。 + +  这不仅是创业公司运作的好方法,更是创业公司的本质。风险投资商(VC)知道这个道理,为它起了一个名字——进入壁垒(bairiers to entry)。如果你有一个新点子去找VC,问他是否投资,他首先就会问你几个问题,其中之一就是其他人复制你的模式是否很困难。也就是说,你为竞争对手设置的壁垒有多高^。你最好做出令人信服的解释,阐明你的技术难以复制的原因。否则一旦大公司看到了,它们就会做出自己的版本,再加上它们的品牌、资本、经销能力,一夜之间就把你的市场全部抢走。那时你就像来到开阔地带的游击队,会被正规军一举歼灭。 + +^「VC问我们,如果另一家创业公司开发与我们同样的软件,需要多少时间。我们当时的回答就是,可能没人能做到。我觉得,这样说使得我们听上去很幼稚,或者很像骗子。」 + +  设置“进入壁垒”的方法之一就是申请专利。但是专利的保护程度可能不高。竞争对手通常能找到绕过专利的方法。如果找不到,它们可能就不找了,直接侵犯你的专利,等着你去起诉它们。大公司不害怕打官司,这对它们是家常便饭。它们很清楚,打官司的成本高昂又很费时。你听说过Philo Famsworth这个人吗?他是电视机的发明者,可是没有人知道他,因为他的公司没有从电视机上面赚到钱^。赚到钱的公司是RCA,发明电视机给Philo Farnsworth带来的后果就是一场长达10年的专利诉讼。 + +^「技术的发明人往往很难确定,可以明确无误地确认只有一个发明人很难。所以根据这条规则,如果你知道某种东西的“发明人”(比如电话、流水线、飞机、电灯、晶体管),那是因为他的公司用这种发明賺到了钱,并且公司的公关人员尽力散布发明人的故事。如果你不知道谁发明了某种东西(汽车、电视、计算机、飞机引擎、激光),那是因为其他人的公司从这种发明中赚到了钱。」 + +  俗话说得好,最好的防御就是进攻。如果你开发出来的技术是竞争对手难于复制的,那就够了,你不需要依靠其他防御手段了。一开始就选择较难的问题,此后的各种决策都选择较难的那个选项^。 + +^「总的来说,这也是很好的处事原则。如果你有两个选择,就选较难的那个。如果你要选择是坐在家里看电视,还是外出跑步,那就出去跑步吧。这个方法有效的原因可能是遇到两个一难一易的选择时,往往出于懒惰的缘故,你会选择较易的那个选项。在意识深处,你其实知道不懒惰的做法会带来更好的结果,这个方法只是迫使你接受这一点。」 + + + +潜规则 + +  如果创业就是比别人工作得更勤奋、赚到更多的钱,那么很显然人人都想去创业。而且一定程度上,创业也比较有趣。我觉得许多人都不喜欢大公司处事按部就班、会议没完没了、人际关系冰冷、管理层瞎指挥…… + +  但创业是有一些潜规则的,其中一条就是很多事情由不得你。比如,你无法决定到底付出多少。你只想更勤奋工作2到3倍,从而得到相应的回报。但是,真正创业以后,你的竞争对手决定了你到底要有多辛苦,而他们做出的决定都是一样的:你能吃多少苦,我们就能吃多少苦。 + +  另一条潜规则是,创业的付出与回报虽然总体上是成比例的,但是在个体上是不成比例的。我在前面说过,对于个人来说,付出与回报之间存在一个很随机的放大因子。你努力30倍,最后得到的回报在现实中并不是30倍,而是0到1000倍之间的一个随机数。假定所有创业者都努力30倍,最后他们得到的总体平均回报是30倍,伹中位数却是0^。大多数创业公司都以失败告终,其中并不都是很烂的项目(互联网泡沫时期曾经出现过专门介绍狗粮的门户网站)。一种很普遍的情况是,某个创业公司确实在开发一个很好的产品,但是开发时间太长了一点,结果资金都用完了,只好关门散伙。 + +^「平均数(mean)是算数平均值,会受到个别极端值的影响,中位数(median)是最中间的那个值,不受个别极端值的影响。所以,这句话的意思就是,由于存在个别极其成功的创业者,所以回报的平均值被拉到了30倍,但是大多数创业者其实都以失败告终,所以中位数是0。——译者注」 + +  创业公司不像能经受打击的黑熊,也不像有盔甲保护的螃蟹,而是像蚊子一样,不带有任何防御,就是为了达到一个目的而活着。蚊子唯一的防御就是,作为一个物种,它们的数量极多,但是作为个体,却极难生存。 + +  创业公司如同蚊子,往往只有两种结局,要么赢得一切,要么彻底消失。你通常不知道自己会是哪一个结局,只有等到最后一刻才会明了。有好几次Viaweb都接近失败了,我们的发展轨迹就像正弦函数的波形。幸运的是,我们在波形的最高点被收购了,但是真是差一点就倒闭了。在我们去加州拜访雅虎总部讨论公司出售事宜的同时,我们还不得不借了一间会议室专门安慰一位投资人,防止他撤出新一轮融资,因为没那笔钱我们就完蛋了。 + +  创业公司这种大起大落的特点不是我们想要的。Viaweb的黑客都是极度厌恶风险的人。如果有别的方式可以让努力与回报成正比,又不存在风险的因素,我们将很乐于尝试。我们宁愿以百分之百的把握去赚100万美元,也不愿以20%的把握去赚1000万美元,尽管后者理论上的期望值比前者高出一倍。很不幸的是,如今的商界不存在百分之百把握赚到100万美元的可能。 + +  保险的做法就是在早期卖掉自己的创业公司,放弃未来发展壮大(但风险也随之增大)的机会,只求数量较少但是更有把握的回报。我们曾经遇到过一个这样的机会,但是自以为是地将它放过了,事后才觉得自己很愚蠢。此后,我们就急不可耐地盼着把公司卖掉。在第二年里,只要有任何人对Viaweb流露出稍微一点点的兴趣,我们就试着努力把公司卖给他。但是,始终没有买家,所以我们不得不继续把公司开下去。 + +  早期收购Viaweb是一桩很合算的交易,但是收购方对便宜货没有兴趣。一家大到有能力收购其他公司的公司必然也是一家大到变得很保守的公司,而这些公司内部负责收购的人又比其他人更保守,因为他们多半是从商学院毕业的,没有经历过公司的创业期。他们宁愿花大钱做更安全的选择,所以向他们出售一家已经成功的创业公司要比出售还处在早期阶段的创业公司更容易,即使会让他们付出多得多的价码。 + + + +用户数量 + +  我认为,如果你的公司有机会被收购,那将是不错的选择。管理一家公司与创立一家公司是不同的两件事。当情况基本稳定下来以后,不妨让大公司来接手。这在财务上也是明智的选择,卖掉公司你的风险就分散了,这就好像有一个理财师建议你用所有钱投资一支波动性很高的股票,你会怎么想? + +  那么,怎样才能把公司卖掉呢?基本上,不管是否想出售公司,你要做的事情都是一样的(比如多赚钱)。但是,被收购本身就是一门学问,我们在Viaweb花了很多时间研究它。 + +  潜在的买家会尽可能地拖延收购。收购这件事最难的地方就是让买方真正拿出钱。大多数时候,促成买方掏钱的最好办法不是让买家看到有获利的可能,而是让他们感到失去机会的恐惧。对于买家来说,最强的收购动机就是看到竞争对手可能收购你。我们发现这会使得CEO们连夜行动。次强的动机则是让他们担心如果现在不买你,你的高速成长将使得未来的收购耗资巨大,甚至你本身可能变成一个他们的竞争对手。 + +  在这两种收购动机中,归根结底的因素都是用户数量。你以为买家在收购前会做很多研究,搞清楚你的公司到底值多少钱,其实根本不是这么回事。他们真正在意的只是你拥有的用户数量。 + +  事实上,买家假定用户知道谁有最好的技术。虽然这听上去很蠢,但是用户是你证明自己创造了财富的唯一证据。财富就是人们需要的东西,如果没人使用你的软件,可能不是因为你的推广活动很失败,而是因为你没有做出人们需要的东西。 + +  风险投资商有一张清单,上面写满了各种表示不应该收购的危险信号。排在榜首的信号中有一个就是公司由技术顽童掌控,只想解决有趣的技术问题,不考虑用户的需要。你开办创业公司不是单纯地为了解决问题,而是为了解决那些用户关心的问题。 + +  所以,我认为你应该和买家一样,也把用户数量当作一个测试指标。像优化软件一样优化公司,用户数量就是判断公司表现好坏的指标。做过软件优化的人都知道,优化难点就是如何测出系统的表现。如果凭空猜测软件最慢的是哪一部分以及怎样让它快起来,那估计百分百会猜错。用户数量也许不是最好的测量指标,但应该也相差不远了。买家关心它,收入依赖它,竞争对手恐惧它,记者和潜在用户则是被它打动。无论你的技术水平有多高,用户数量都比你自己的判断更能准确反映哪些问题应该优先解决。 + +  此外,将公司管理视同软件优化还能帮助你避免VC担心的另一个陷阱——开发某种产品的时间过长。现在,黑客都已经熟知这一点,并总结出一个术语“过早优化”(premature optimization)。尽快拿出1.0版,然后根据用户的反映而不是自己的猜测进行软件优化。 + +  你必须时刻牢记的最基本的原则就是,创造人们需要的东西,也就是创造财富。如果你想通过创造财富使得自己致富,那么你必须知道人们需要什么。很少有公司真的关注如何使顾客更满意。有多少次,你走进一家商店,或者打电话给某个公司,你的心中怀着担忧和恐惧?当你听到“你的意见对我们很重要,请不要挂断”,你真的觉得事情会得到圆满解决吗? + +  餐馆有一道菜烧糊了,它还赔得起,因为只影响到一桌顾客。但是在科技行业中,你开发的新技术是供所有人使用的,一旦你的技术与使用者的需要有差距,影响就会被成倍放大。你要么令大量顾客满意,要么令大量顾客不满。你越能满足他们的需要,你创造的财富也就越多。 + + + +财富和权力 + +  创造财富不是致富的唯一方法。在人类的历史长河中,它甚至不是最常见的方法。就在几个世纪前,财富的主要来源还是矿石、奴隶、农奴、土地、牲畜,而快速获得财富的方法只有继承、婚姻、征服、没收。所以,很自然地,财富的名声不好。 + +  从那时到现在,两件事情出现了变化。第一个变化是法律。在相当长的历史时期内,你的财富得不到保护,统治者和他的手下可以设法将它占为己有。伹是,变化出现在中世纪的欧洲。新兴的商人和制造业者开始在城市中崛起^,他们团结起来对抗当地的封建领主。人类历史上第一次出现强盗无法夺走平民血汗钱的情况。这对第二个变化起到了巨大的推动作用,甚至可能是第二个变化发生的主要原因。这第二个变化就是工业化的来临。 + +^「资产阶级在历史上首先出现在意大利北部和荷兰,这可能不是偶然,因为那里没有强大的中央政府。这两个地区是那时最富裕的地方,后来变成了文艺复兴向外扩散的两大中心。它们后来没能继续扮演这样的角色,那是因为其他地区(比如美国)将它们开创的摸式发扬光大了。」 + +  关于工业革命的起因,已经有大量的文献论述过。但是,创造财富的人能够心安理得地享用自己的财富,这确实是工业革命的一个必要条件(可能不是充分条件)^。—个反面证据就是,试图违背这个条件的国家经济都出现了倒退,比如20世纪六七十年代的英国工党政府(它的后果相对不太严重)。没有财富的激励,技术革新就会逐渐停顿。 + +^「充分条件在这里可能也成立。但是如果成立的话,为什么工业革命没有早一点发生呢?两个可能的(但是互相排斥的)解释是:(a)变化其实早发生了,工业革命只是一系列革命中的一环,(b)中世纪的城镇存在垄断经营和行会制度,延缓了新生产方式的诞生。」 + +  还记得从经济学观点看什么是创业公司吗?简单说,就是可以让人更快速工作的地方。你不再是慢慢地积累50年的普通工资,而是要尽快地将这笔钱赚到手。所以,政府禁止个人积累财富实际上就是命令人民减慢工作的速度。他们同意让你在50年里赚到300万美元,但是不同意让你在2年里赚到这些钱,即使前提是你拼命努力工作。这样的政府就像一家大公司的老板,你无法对他说,我打算十倍努力地工作,请你把我的薪水也增加十倍吧!更严重的是,他永远是你的老板,即使你自己创业也避不开他。 + +  缓慢工作的后果并不仅仅是延迟了技术革新,而且很可能会扼杀技术革新。只有在快速获得巨大利益的激励下,你才会去挑战那些困难的问题,否则你根本不愿意去碰它们。开发新技术是非常痛苦的经历,正如爱迪生所说,百分之一的灵感加上百分之九十九的汗水。没有财富的激励,就不会有人愿意去做技术革新。工程师愿意接受普通薪水去做一些诱人的项目(比如战斗机和登月火箭),而与日常生活关系更密切的技术革新(比如电灯泡和半导体)只能由创业者来发明。 + +  创业公司并不只是过去二十年发生在硅谷的事情。如今,通过创造财富而致富已经成为了普遍的模式。每一个这样做的人差不多都应用了同样的诀窍:可测量性和可放大性。前者来自小团队的合作,后者来自开发新技术。无论是13世纪的佛罗伦萨,还是今天的加州,它们都是一样的。 + +  理解这些有助于回答一个重要的问题:为什么欧洲在历史上变得如此强大?是因为欧洲优越的地理位置,还是因为欧洲人天生就比较优秀,或者是宗教原因?答案(或者至少是近因)可能就是欧洲人接受了一个威力巨大的新观点:允许赚到大钱的人保住自己的财富。 + +  一旦自己的财产有了保证,那些想致富的人就会愿意去创造财富,而不是去偷窃。由此导致的新技术不仅被转化成财富,还被转化成军事力量。隐形飞机的理论是由前苏联数学家提出的,但是因为前苏联没有计算机工业,它就只能是一个理论,无法变成产品。前苏联没有足够快的硬件来完成设计飞机所需要的大量计算。 + +  冷战、第二次世界大战、近代的大多数战争都说明了这个道理。要鼓励大家去创业。只要懂得藏富于民,国家就会变得强大。让书呆子保住他们的血汗钱,你就会无敌于天下。 + + + + + +  7.关注贫富分化 + +  当人们非常想把某件事做好的时候,有些人会做得比其他人好得多。达·芬奇的作品就比博格宁等同时代二流画家的作品优秀很多。同样的差距也存在于侦探小说家身上,雷蒙德·钱德勒的作品就比普通作家的作品好得多。顶级的国际象棋大师与普通的象棋俱乐部成员下一万盘棋,一盘都不会输。 + +  与下棋、画画、写小说一样,赚钱也是一种专门的技能。但是,出于某种原因,我们以完全不同的态度对待这种技能。如果某些人善于下棋或写小说,没有人会有意见;伹是,如果某些人善与赚钱,报纸上就会有社论出来说这是不对的。 + +  为什么?赚钱看上去与其他技能没有本质不同,为什么人们的反应如此强烈? + +  我认为有三个原因使得我们对赚钱另眼相看。第一,我们从小被误导的对财富的看法;第二,历史上积累财富的方式大多名声不好;第三,担心收入差距拉大将对社会产生不利影响。就我所知,第一点是错的,第二点已经过时了,第三点通不过现实的检验。有没有可能,在现代社会中,收入差距拉大实际上是一种健康的信号? + + + +财富的老爹模式 + +  五岁时,我不知道电力是电厂生产的,以为插座就是发电的地方。同样,很多孩子以为财富是直接从父母口袋里流出来的,不知道财富是创造出来的。 + +  由于孩子们接触到钱的方式就是这样的,他们往往会误解财富,把财富与钱混为一谈。他们认为财富的总量是不变的,某个权威负责分配财富(所以理应平均分配),没有意识到财富是创造出来(而且创造得不太均等)。 + +  事实上,财富与金钱是两个概念。金钱只是用来交易财富的一种手段,财富才是有价值的东西,我们购买的商品和服务都属于财富。你到海外旅行时,不用看当地人的银行账户就会知道你来到的是富国还是穷国。你只要看看他们的财富就行了:建筑、街道、服装、健康状况等。 + +  财富从何而来?人类创造出来的。回到农业时代,这个概念就更容易理解。那时大多数人都务农,许多东西都需要自己生产出来。房屋、牲畜、谷仓等都是每个家庭自己生产出来的。这就很明显地说明,财富总量不是固定不变的,不像大饼那样会被分光。如果你想要更多的财富,自己生产就可以了。 + +  这在今天的社会也成立,虽然已经很少有人直接创造财富供自己使用了(少量的家务活除外)。我们大多数人都在为其他人创造财富,然后用创造出来的财富交换金钱,再用金钱交换我们需要的另一种财富^。 + +^「为什么财富的分配问题引起这么多争论?部分原因是反对声最大的人当中,很多人都少有创造财富的经验:大学生、继承人、教授、政客、新闻记者。(如果你在酒吧里听过大家议论体育赛事,你一定很熟悉这种现象。) + +大学生往往依靠父母的资助,还没有想过父母的钱是从哪里来的;继承人靠着他人遗产过活;教授与政客距离创造财富最远,不管是否努力工作,得到的报酬都差不多,新闻记者部分由于他们的专业守则,必须与本行业产生收入的那部分——广告销售部——保持隔离。所有这些人中,有许多人从来没有直面过这个事实,那就是他们拿到手的金钱,都来自别人先前创造出来的财富(新闻记者除外,他们的工作是创造财富的,但是不直接用财富交换金钱)。在这些人的世界中,收入是由某个外部权威根据某种看似公平的抽象原则(对于继承人来说则是随机原则)进行分配,不是来自与他人交换别人需要的东西。所以,在这些人看来,真实世界的其他部分不采用同样的分配方式就是不公平的事情。 + +(某些教授确实为社会创造了大量财富,但是他们拿到的工资却不是对此的回报,更像是对他们的投资。)」 + +  孩子没有能力创造财富,他们享有的一切都来自别人无偿的给予。既然得到财富不要求对应的付出,那么它当然应该平均分配^。大多数家庭都是这样,如果兄弟姐姝中有人多得到了一份,其他孩子就会喊:“不公平!” + +^「如果你了解英国社会主义团体“费边社”(Fabian Society)的起源,你会觉得他们的想法好像是英王爱德华时代(1901~1910)的儿童读物《淘气鬼行善记》(The Wouldbegoods,作者Edith Nesbit)的小主人公想出来的,虽然看上去很无私高尚,但实际上非常天真幼稚。」 + +  进入社会以后,你不能总是靠父母养活。如果你需要什么东西,要么你自己做出来,要么做其他东西与需要的人交换金钱,再用金钱去买你想要的东西。在真实世界中,财富是你必须自己创造出来的东西(小偷和投机者除外),而不是等着老爹买给你。由于每个人创造财富的能力和欲望强烈程度都不一样,所以每个人创造财富的数量很不平等。 + +  你做别人需要的东西或事情,然后得到报酬。有些人报酬较高,原因很简单,因为他们做得更好。大明星要比普通演员多赚许多钱,普通演员可能也有大明星的实力,但是人们在电影院选择看什么电影时总是被大明星吸引过去。 + +  当然,做出人们需要的东西并不是赚钱的唯一方法。抢银行、索贿、垄断市场也能搞到钱,并且是某些富豪最大的财富来源,但是这些手段不能代表财富的全部,更不是贫富分化的主要原因。每个人的技能不同,导致收入不同,这才是贫富分化的主要原因,正如逻辑学的“奥卡姆剃刀”原则所说,简单的解释就是最好的解释。 + +  在美国,一些大型上市公司的CEO的收入大概是普通人的100倍^。职业棒球选手的年收入是普通人的72倍,职业篮球选手的年收入则是普通人的128倍。报纸的社论用恐怖的语调引用这样的统计数据。但是我觉得,想象一个人的产出是另一个人的100倍是一件毫无困难的事情。在古罗马时代,根据奴隶的技能不同,他们的价格会相差50倍^^。上述收入差距还没有考虑激励因素或者现代科技带给你的生产力放大效应。 + +^「根据Corporate Library的一项研究,2002年标准普尔500公司中,CEO总收入的中位数是365万美元(包括薪水、奖金、奖励的股票、执行后的股票期权)。根据《体育画报》的统计,2002至2003赛季NBA篮球选手的平均薪水是454万美元,2003赛季大联盟棒球选手的平均薪水是256万美元。根据劳工统计局的数据,2002年美国人的平均工资是35560美元。」 + +^^「在古罗马帝国的早期,一个普通成年男性奴隶的价格大约是2000赛斯特斯银币(参见Horace,S.7.43),一个女仆的价格是600银币(参见Martial vi.66),而一个熟练园丁的价格是8000银币(参见Columella iii.3.8〉。一位医生(P.Decimus Eros Merula)为了换取他的自由,付出了5万银币(参见Dessau,Inscriptiones 7812)。一位诗人(Calvisius Sabinus)出了10万银币购买懂得希腊文学的奴隶(参见Seneca,Evii.7)。普林尼报告,在他的时代,奴隶的最高价格是70万银币,这位奴隶是语言学家(可能也是教师)Daphnis(参见Pliny,Hist.Ni.39),但是这个价格后来被赎买自由的演员奴隶超越了。古希腊也出现了类似的价格分化。一个普通劳工的价格大约是125到150德拉克马银币,但是价格波动范围从50到6000银币(能够管理银矿的劳工)不等(参见Xeaophon M.5)。更多关于古代奴隶制的经济学研究参见Jones A.H.M.所著的“Slavery in the Ancient World”一文,发表于1956年的杂志的第185~199页。」 + +  那些专门把运动员和CEO的收入拿出来说事的社论让我想到了中世纪的基督教教士。他们宁愿高谈阔论地球是不是圆的,也不愿亲自研究一下现实中的证据^。一个人的工作具有多少价值不是由政府决定的,而是由市场决定的。 + +^「古希腊数学家埃拉托塞尼(Eratosthenes,公元前276——前195)通过測量不同地点建筑物的阴影长度,估算出了地球周长。他的结果只比正确值小了约2%。」 + +  “他一个人的价值真的等于我们100个人的价值吗?”社论作者这样问道。回答取决于你怎么定义“价值”。如果你同意“价值”可以定义为实现自身技能而得到的报酬,那么回答显然就是“对的”。 + +  确实有一些CEO的收入太高,不合理,但是有没有CEO的收入不足以体现他所创造的财富的呢?乔布斯就是这样的例子。他拯救了濒临崩溃的苹果公司,扭转了危机,削减了成本,成功决策了下一代产品,很少有人能做到这些事情。他的收入就低于他的工作所创造的价值。如果我们不考虑CEO的例子,只说职业篮球运动员的收入,那么应该不会有太大争论,大家都会同意,篮球运动员的身价反映了市场供需状况,并没有不合理的地方。 + +  第一眼看上去,你可能会觉得难以接受,人与人之间创造财富能力的差别真的会这么巨大吗?理解这一点的关键就在于重新思考我们上面提过的那个问题,他一个人的价值真的等于我们100个人的价值吗?你想一想,一个篮球队会同意用一个运动员交换100个普通人吗?如果苹果公司不是由乔布斯掌管,而是由一个100人组成的委员会掌管,那么这家公司的下一代产品会是什么样^?人与人之间的差别并不是那么稳定的线性关系。也许CEO和运动员的技能和决心只比普通人高出10倍(倍数不重要),但是人与人之间就是存在着重大差别。 + +^「我来告诉你这两个问题的答案。篮球队不会同意用运动员交换普通人,而苹果公司推出的产品就是Windows那个样。」 + +  当我们说一些工作报酬过高,另一些工作报酬过低,我们的真实想法到底是什么?在自由竞争的市场经济中,价格由买家的需求决定。如果人们喜欢棒球甚于喜欢诗歌,那么棒球运动员的收入就是要比诗人的收入高。如果说某种工作的报酬过低,那就相当于说人们的需求不正确。当然,人们确实会需求不正确的东西。这有什么好奇怪的呢?你不觉得声称某种工作报酬过低的说法更奇怪吗^?如果你觉得由于人们的需求不正确,导致某些工作的报酬过低而且不公平,那么这个世界一定会让你感到非常遗憾,人们就是喜欢看电视真人秀,而不是莎士比亚作品,人们就是喜欢吃玉米热狗,而不是水煮蔬菜,这是不是很不公平呀?要是你觉得不公平的话,那你就同把蓝颜色说成最漂亮的颜色、把方的说成圆的那样蛮不讲理。 + +^「我们把由父母供给收入的模式称为“老爹模式”。这个模式与真实世界的最大区别之一就是对勤奋工作的评价不同。在老爹模式中,勤奋工作本身就是值得的,老爹会感到很高兴。但是在现实中,财富是用工作成果衡量的,而不是用它花费的成本衡量的。如果我用牙刷油漆房屋,屋主也不会付给我额外工资的。 + +所以,对于那些仍然处于“老爹模式”的人来说,看到有人勤奋工作却没有得到很多报酬就会感到不公平。为了破除这种迷思,让我们假设有一个工人,他单独一人在荒岛上打猎和采集水果。如果他的能力不足,就常勤奋地工作,最后也不会得到很多食物。这是不公平吗?又是谁对他不公平呢?」 + +  “不公平”这三个字就是“老爹模式”的独门标志。为什么别的情况下人们不会想到这三个字?因为要是你现在还处于“老爹模式”,认为财富就是从某个口子流出来、被大家分享的东西,而不是来源于满足他人的需求的创造活动,那么当你注意到有些人赚钱比其他人多得多时,你就会不偏不倚地得出“不公平”这个结论。 + +  当我们讨论“收入分配不公平”时,我们还要问问收入从何而来,收入背后的财富到底是谁生产出来的^。如果收入完全根据个人创造的财富数量而分配,那么结果可能是不平均的,但是很难说是不公平的。 + +^「有那么多人相信“老爹模式”,部分原因是“分配”(distribution)这个词有双重含义。经济学家谈论“收入分配”(distribution of income)时,他们实际上指的是统计学上的收入分布。但是,如果你经常使用这个词,你会情不自禁将它与另一个意思联系起来(比如救济金的分配),因此下意识地就把财富看作从某个大水源流出来的东西。税收上,有一种税叫做“递减税”(regressive tax),其中“递减”(regressive)这个词也有类似的效果,至少我就是这样认为,一件东西是“递减”的,那么它怎么可能是好的呢?」 + + + +偷窃 + +  很多人对贫富分化不满意的第二个原因就是,在大部分的人类历史中,积累财富最常见的方法其实是偷窃。游牧社会是偷别人的牲口,农业社会是征税(和平时期)和直接掠夺(战争时期)。 + +  在战争中,胜利的一方将失败的一方的财产全部占为己有。1060年,征服者威廉占领英格兰,将当地贵族的财产全部分给他的随从,这是战争导致财富分配变化的一个例子。1530年,亨利八世将修道院的财产分给大臣^,这是政治斗争导致财富分配变化的一个例子。不管是战争还是政治斗争,本质上都属于偷窃。 + +^「根据历史记载,“自从年轻的亨利八世登基,鲁斯勋爵(Thomas Lord Roos)就忠心耿耿地服侍左右,很快得到了回报。1525年,他被册封为嘉德骑士(Knight of the Garter),拉特兰(Rutland)成为他的领地。1530年后,他支持与罗马教廷对杭,积极镇压民间的宗教反抗,并且投票支持亨利八世以通奸罪审判皇后,将其处以死刑,这使得他成为接管修道院财产的有力候选人。”参见Lawrence Stone所著的Famliy and Fortune: Studies in Aristocratic Finance in the Sixteenth and Seventeenth Centuries一书第166页(1973年由牛津大学出版社出版)。」 + +  在控制程度更高的社会,统治者和官僚阶层用税收代替直接充公。但是,根本的一点并没有变,那就是致富的方法不是创造财富,而是以统治者的强权进行搜刮掠夺。 + +  随着欧洲中产阶级的崛起,这一切开始发生变化。按照我们现在的理解,中产阶级就是既不富裕也不贫穷的那部分人,但是在中世纪,中产阶级其实是一个独立的团体。封建社会只有两个阶级:贵族与农奴(为贵族服务的人)。中产阶级是一个新的第三类团体,他们出现在城镇中,以制造业和贸易为生。 + +  从公元10世纪和11世纪开始,小贵族和获得自由的农奴聚集在城镇中,遂渐形成了与封建领主对抗的强大力量^。中产阶级主要通过创造财富谋生,这一点与农奴相同。(在热那亚和比萨这样的港口城市,中产阶级也会包括海盗。)伹是,与农奴不同的是,中产阶级有强烈动机大量创造财富。农奴创造的所有财富都属于他的主人,所以大量创造财富对农奴来说意义不大。城镇的出现使得那里的人们可以独立生活,保住自己创造出来的财富。 + +^「考古学证明确实存在大型的聚居地,但是当时的日常生活情况还是很难判断。参见Richard Hodges和Whitehouse David所著的Mohammed,Charlemagne and the Origins of Europe—书(1983年由康奈尔大学出版社出版)。」 + +  一且通过创造财富而使致富成为可能,社会从整体上就会快速地变得更富有。中世纪人们所需要的一切东西几乎都是由中产阶级生产出来的。工业革命后,其他两个阶级实际上消失了,他们的名称被用来指中产阶级的两端。(根据原始定义,比尔·盖茨不是富豪阶层,而是中产阶级。) + +  但是,创造财富真正取代掠夺和贪污成为致富的最佳方式,并不是发生在中世纪,而是发生在工业革命时代。至少在英国,当更快的致富方式出现后,贪污才逐渐不流行了(事实上,贪污从那时开始才被叫做“堕落”^)。 + +^「“贪污”和“堕落”在英语中是同一个词:corruption。——译者注」 + +  17世纪的英国很像今天的第三世界,当官是公认的发财职业。那个年代要赚大钱仍然主要通过贪污,而不是经商^。到了19世纪,情况就变了,虽然存在大量贪污受贿(今天依然如此),但是政府遂渐被一些将良心和名誉看得比金钱更重要的人所控制。技术的发展使得通过创造而积累财富的速度第一次有可能超过通过偷窃而积累财富的速度。19世纪典型的富人不是宫廷朝臣,而是实业家。 + +^「16世纪的英国,权力最大的大臣分别是William Cecil和他儿子Robert Cecil。两人都利用职权获取了大财富,成为当时最富有的人。Robert Cecil收受贿赂都到了叛国的地步。“身为国务卿和詹姆斯一世主要的外交政策顾问,他收受了很多好处。荷兰人向他大量行贿,要求英国不要与西班牙媾和,而西班牙人也向他大量行賄,要求英国与其签订和约。”」 + +  中产阶级的出现使得财富总量不再是一个固定不变的值,财富的分配也不再是一种零和游戏。苹果公司的两个创始人乔布斯和沃兹尼亚克没有使得他人变得更贫穷就赚到了钱。事实上,他们创造出来的东西使得人类的物质生活变得更富有。他们只能这样做,否则不会有人付钱给他们的。 + +  即使情况已经发生变化,但是由于人类历史上主要的致富方式长期以来都是偷窃,所以我们依然对有钱人抱有一种怀疑态度。理想主义的大学生从小受到历史上知名作家的影响,长大后不知不觉保留了孩提时对财富的看法。这是一个双重误解的例子,就是对一个已经过时的情况持有错误的看法。 + +  巴尔扎克说过:“每一笔巨大财富的背后,都隐藏着罪行。”这句话被广泛引用,但是他其实说的是另一个意思,如果巨大财富没有明显的来源,那可能就来源于精心安排的犯罪活动,由于掩盖得太好,使得罪行被人遗忘了。如果我们正在谈论11世纪的欧洲,那么这样的误读反而是正确的。但是,巴尔扎克生活在19世纪的法国,那里的工业革命当时已经很发达了。巴尔扎克很清楚,你不用偷窃也可以发财。起码他自己就是这样做的,他写出受欢迎的小说,从而赚到了钱^。 + +^「虽然巴尔扎克从写作上赚到了很多钱,但他是出了名的挥霍无度,终生都受到债务困扰。」 + + + +技术的杠杆效应 + +  技术的发展是否加剧了贫富分化?首先,技术肯定加剧了有技术者与无技术者之间的生产效率差异,毕竟这就是技术进步的目的。一个勤劳的农民使用拖拉机比使用马可以多耕六倍的田。但是,前提条件是他必须掌握如何使用新技术。 + +  我自己就亲眼目睹过技术的这种杠杆效应不断扩大。高中时,我通过割草和在冰激淋店当服务员赚钱,它们是我能找到的仅有的工作。现在的高中生可以通过开发软件或制作网站赚钱。不过,只有少数高中生具备这种能力,其余的人还是只能去冰激淋店当服务员。 + +  我清楚地记得,技术的进步使得我在1985年终于可以拥有一台自己的电脑了。只过了几个月,我就开始接一些编程的零活赚钱了。1985年之前我就做不到这一点,那时也没有自由程序员这种工作。但是,苹果公司推出了强大而且便宜的个人电脑,使得一切成为可能,这本身就是在创造财富。程序员马上接了上去,使用苹果公司的产品,再去创造更多的财富。 + +  正如这个例子所反映的,技术对生产效率的提高不是线性的,而可能是多项式形态(polynomial)的。所以,随着时间推移,我们应该会看到个人生产效率总是保持增长。这种增长会使得贫富差距不断扩大吗?这取决于你指的是什么“差距”。 + +  技术应该会引起收入差距的扩大,但是似乎能缩小其他差距。一百年前,富人过着与普通人截然不同的生活。他们住在大房子里,有许多仆人服侍,穿着华丽但是不舒适的服装,乘着马车旅行(因此还有马厩和马夫)。现在,由于技术的发展,富人的生活与普通人的差距缩小了。 + +  汽车就是一个很好的例子。如果富人不购买普通汽车,而是购买全手工制作、售价高达几十万美元一辆的豪华车,对他反而不利。因为对于汽车公司来说,生产那些销量很大的普通汽车要比生产那些销量很小的豪华车更有利可图,所以汽车公司会在普通车辆上投入更大的精力和资金,进行设计和制造。如果你购买专为你一个人定制的汽车,质量反而不可靠,某个部件肯定会出问题。这样做的唯一意义就是告诉别人你有能力这样做。 + +  再来看手表的例子。50年前,花巨资购买一块名表真的是很有面子的事情。那时的手表都是机械表,价格越贵,走时越准。现在不是这样了,石英表发明了,一块普通的石英表反而比几十万美元的名牌机械表走时更准^。说实话,就像汽车的例子一样,如果你一定要把钱花在手表上,结果只能给你带来更多麻烦:除了时间精度下降以外,机械表还必须上发条。 + +^「一块普通的石英表,每天的误差大约是0.5秒。走时最准的百达斐丽牌机械表,每天的误差是-1.5秒到+2秒,零售价是22万美元。」 + +  技术无法使其变得更便宜的唯一东西,就是品牌。这正是为什么我们现在越来越多地听到品牌的原因。富人与穷人之间生活差异的鸿沟正在缩小,品牌是这种差距的遗留物。但是,品牌只是商品的标签,即使买不起名牌,至少你还可以买普通牌子,这总比根本无法消费这一种商品要好得多。1900年,只要你有一辆马车,你就是富人,根本没人问你马车的牌子。没有马车的人就是穷人,只能挤公共交通或者步行。今天,即使最穷的美国人也有自己的汽车,那么厂商只好通过广告训练我们识别品牌,以便我们能够识别哪些汽车特别昂贵^。 + +^「产于1989年、保存状况良好的林肯牌加长型礼车,现价大约是5000美元。产于2004年的奔驰S600轿车的价格是12.2万美元。如果要一个生活在20世纪初的普通人分辨哪一辆车价格更贵,他大概会猜错。」 + +  这种变化模式不断在一个又一个的行业重现。只要存在对某种商品的需求,技术就会发挥作用,将这种商品的价格变得很低,从而可以大量销售^。一旦产品能够流水线生产,即使质量没有改进,至少也会更便于使用。富人最喜欢的就是那些方便易用的产品。我认识的富人朋友,与其他朋友相比,开着同样的车,穿着同样的衣服,使用同样的家具,吃着同样的食品。虽然他们的房子是在不一样的地方,或者即使与普通人在同一个社区,面积也要大得多,但是他们的生活确实与普通人是一样的。房子的建造方法也是一样,屋里的东西也基本接近。拥有定制的昂贵商品反而不方便。 + +^「如果想要真正地对收入加以考察,你必须使用“真实收入”的概念(以购买力衡量的收入),而不是使用“名义收入”的概念(以货币衡量的收入)。但是,计算“真实收入”的常用方法忽略了大部分随着时间增长的财富,因为“真实收入”要用消费者物价指数才能算出来,但是消费者物价指数是根据一系列祥本商品的价格计算的,本身就不具有全面的精确性,而且新发明产品的价格没有计算在内。(只有当新发明产品成为价格稳定的常用物品后,才会计算在内。) + +所以,就算我们认定有了抗生素、飞机旅行、电力系统以后,人类的生活大大改善,真实收入的计算方法却说我们的生活只有轻微的改善。 + +衡量收入变化的另一种方法就是,问如果你乘坐时间机器回到过去,你需要花多少钱购买同样的东西。举例来说,假定你回到1970年,你会发现今天价格不到500美元的CPU处理能力在那时至少价值1.5亿美元。这种价格的衰变随着时间流逝很快就会接近于零,因为一百年后,你今天需要的所有东西后人都不会想要。相反,如果你把今天可乐饮料的宝特瓶拿回到1800年,它会被认为是精美的工艺品。」 + +  富人日常做的事情也和普通人差不多。无所事事的闲适生活早就成为罕见情况了。如今,确实有很多人非常有钱,完全不必再去工作,他们之所以还在工作,不是因为感到社会压力,而是因为无所事事使人感到孤独和消沉。 + +  今天的社会身份(social distinction)差异也要比100年前来得小。 + +  那时的小说和讲解礼仪的手册在今天读起来好像是在说陌生的部落社会。Beeton夫人出版于1880年的《家务手册》(Book of Household Management)这样写道:“至于说到朋友之间的友谊……在某些情况下,为了承担家庭生活的责任,女主人可能必须放弃一些她早年认识的朋友。”一个女人嫁给了有钱人,就被认为应该放弃那些没钱的朋友。要是你今天这样做的话,别人会觉得你的行为很野蛮,而且你也会让自己过上一种乏味无趣的生活。今天的人们多多少少还是有一些互相隔离的趋势,但主要是因为教育层次的差别,而不是财富的差别^。 + +^「有人会说,教育程度的差别与财富的差别是一回事,因为富人得到高等教育的机会更大。这个论点是成立的、某种程度上可以做到用钱把孩子送进顶尖的大学。你只要把孩子送进昂贵的私立学校,就等于敲开了大学的门。 + +根据2002年美国国家教育统计中心的一份报告,大约1.7%的美国儿童就读于私立的非教会学校,而普林斯顿大学2007级新生中,大约有36%的人来自于这样的学校。(有趣的是,哈佛大学的这个比例要低不少,只有大约28%。)很显然,这是教育制度的一个大漏洞,但是它正在缩小,而不是扩大。 + +也许,大学入学申请制度的设计者应该参考计算机安全行业的做法,不要假设你的系统毫无漏洞,而是搞清楚多大程度上漏洞无法被利用。」 + +  无论在物质上,还是在社会地位上,技术好像都缩小了富人与穷人之间的差距,而不是让这种差距扩大了。如果参观雅虎、英特尔、思科的办公室,会看到每个人都穿着差不多的衣服,有着同样的办公室(或者小隔间)、同样的家具,彼此直呼对方的名字,不加任何头衔或敬语。表面看大家没什么差距,但如果看到每个人银行户头上的余额差别如此之大,一定会感到震惊不已。 + +  技术的发展加大了贫富差距,这是不是一个社会问题?好像没有那么严重。技术在加大收入差距的同时,缩小了大部分的其他差距。 + + + +公理的不同意见 + +  你经常可以听到有人批评某种政策会加剧贫富分化。隐藏的意思就是,贫富分化的加剧一定是坏事,这好像已经成了公理。收入差距的扩大可能确实不好,可是我不觉得这可以被看成公理。 + +  实际情况是,在工业化的民主国家,这种观点更可能是错误的。在农奴和贵族组成的社会,收入差距的加大肯定是社会问题加剧的信号,收入更多地从农奴流向了贵族。但是,抢夺他人的财富已经不再是收入的唯一来源了。波音747飞机驾驶员的收入大概是商场收银员的40倍,但是前者不是贵族,后者也不是奴隶,这种收入差距只是因为前者的技能比后者的要值钱得多。 + +  我想提出一种相反的观点:现代社会的收入差距扩大是一种健康的信号。技术使得生产率的差异加速扩大,如果这种扩大没有反映在收入上面,只有三种可能的解释:(a)技术革新停顿了;(b)那些创造大部分财富的人停止工作了;(c)创造财富的人没有获得报酬。 + +  我觉得可以很有把握地说,(a)和(b)都不是好事。如果你有不同意见,那不妨试试去过公元九世纪法兰克王国的贵族生活,一年后再来告诉我们你的感受。(我很仁慈地没有建议你去过石器时代的那种生活。) + +  如果你想让社会保持繁荣,同时收入差距不扩大,那么就只剩下(c)这一种可能了,即创造大量财富的人不获取报酬。举例来说,苹果公司的两位创始人将欢欣鼓舞地每天工作20个小时,为社会提供苹果电脑,然后只领取一份相当于大公司里朝九晚五的上班族领取的税后工资。 + +  如果得不到报酬,人们是否愿意创造财富?唯一的可能就是,工作必须能提供乐趣。会有人愿意免费写一个操作系统,但是他们不愿意免费为你安装、提供电话支持、进行客户培训等。即使是最先进的高科技公司,也有至少90%的工作没有乐趣、令人生厌。 + +  在一个剥夺个人财产的社会,财富创造活动中所有那些没有乐趣的事情都会急剧地放慢,乃至停顿。对历史进行实证检验,我们就可以得出这个结论。假设你听到一种噪音,你觉得是身边的电扇发出的。你关了电扇,噪音停止;打开电扇,噪音又出现。关了就安静,打开就嘈杂,就是这样一种情况。如果没有其他信息,看上去噪音就是由电扇发出的。在历史的不同时点,你是否能够通过创造财富而致富就是这样一种打开/关闭的循环过程。公元800年的意大利北部,关闭(贵族偷窃平民的财产);公元1100年的意大利北部,打开;公元1100年的法国中部,关闭(仍然是封建社会);公元1800年的英国,打开;1974年的英国,关闭(投资所得税高达98%);1974年的美国,打开。以上每一种情况,打开时,财产创造活动就出现了,关闭时,财富创造活动就消失了,这就好像电扇和噪音的那种相伴关系。 + +  社会的变化涉及很多因素,并不仅仅是由于创造财富的原因。有很多因素发挥作用。如果研究对象只是一台电扇,那么不用考虑太多别的因素就能断定噪音是由电扇发出的,但是研究财富问题就没有这么简单了,必须要考虑很多别的因素。 + +  但是,只要你压制收入差距的扩大,不管是用偷窃私人财产的做法(封建社会),还是用高额税收的做法(某些现代政府),最终结果看来都是一样的,那就是社会作为一个整体变得更贫穷了。 + +  如果我可以做选择,到底是生活在一个整体上非常富裕但是我个人相对贫穷的社会,还是生活在一个我个人相对非常富裕但是整体上非常贫穷的社会呢?我会选择第一个选项。如果我有小孩的话,可能哪一个选项更好还值得争论。但是,总的来说,你要避免的是绝对贫穷,而不是相对贫穷。如果必须在这两种社会之间做选择,根据目前的证据,我选择个人相对贫穷、但是整体上更富裕的社会。 + +  一个社会需要有富人,这主要不是因为你需要富人的支出创造就业机会,而是因为他们在致富过程做出的事情。我在这里谈的不是财富从富人流向穷人的那种扩散效应(trickle-down effect),也不是说如果你让亨利·福特致富,他就会在下一场宴会雇用你当服务员,而是说如果你让他致富,他就会造出一台拖拉机,使你不再需要使用马匹耕田了。 + + + + + +  8.防止垃圾邮件的一种方法 + +  我认为过滤垃圾邮件是可以做到的,基于内容的过滤器将发挥作用。发送垃圾邮件的人有一个致命伤,那就是他们发送的邮件本身。他们有办法逃脱你搭建的其他壁垒(至少目前是这样),但是不管怎样,他们都必须把垃圾邮件发出去。如果我们能够写出可以从内容上识别出垃圾邮件的软件,那么他们就无法逃脱了^。 + +^「出版时,本文的一些内容经过改写,但是从Lisp代码翻译过来的、计算垃圾邮件概率的数学公式没有变。所以,公式里有些地方可能过时了,比如现在很少有垃圾邮件还含有click这个词。但是,算法仍然是有效的。一个略加修改的版本可以过滤99.6%的垃圾邮件,更多信息参见m。」 + + +  收信人很容易识别哪些是垃圾邮件,哪些是正常邮件。如果你雇人用肉眼帮你清除垃圾邮件,这事情应该没有太大难度。那么我们怎么用软件自动模拟这个过程(假定不使用复杂的人工智能)? + +  我觉得只用一些很简单的算法就可以做到这一点。事实上,我发现只要对单个词语进行贝叶斯判断,就能很好地过滤大部分垃圾邮件。设置好贝叶斯过滤器(详见后文),1000封垃圾邮件能够被过滤掉995封,并且没有一个误判。 + +  开发垃圾邮件过滤器时,统计学方法往往不是程序员首先想到的方法。大多数黑客的直觉是写出一个能够识别垃圾邮件某种特征的软件。你看着那些垃圾邮件,心想这些可恶至极的家伙胆敢向我发送以“亲爱的朋友”开头的邮件,或者主题行都是大写字母且以八个惊叹号作为结尾的邮件,我用一行代码就能把它们全过滤掉。 + +  你这样做了以后,一开始效果还不错。几条简单的规则就能拦截大部分垃圾邮件。仅仅搜索单词Click就会捕捉到79.7%的垃圾邮件(以我的情况为例),其中只有1.2%是误判。 + +  在转向统计学方法之前,大约整整有六个月,我一直使用这种特征过滤法,自己编写软件,识别垃圾邮件的特钲。我发现,到后来要想把识别精度提高几个百分点非常困难,如果我把过滤条件设置得很严格,误判率就会上升。 + +  所谓误判,指的是正常的邮件被错误认定为垃圾邮件。对于大多数用户来说,错过一封正常的邮件后果要比收到垃圾邮件严重得多。所以,如果过滤器有误判,就好像治疗粉刺的药物却有致人死亡的危险一样。 + +  用户收到的垃圾邮件越多,他就越不可能注意到被过滤掉的垃圾邮件中包含着一封正常邮件。这就导致了一个很奇怪的后果,如果你的过滤器效果越好,就越不能出现误判,一旦误判,后果就会变得很严重,因为过滤器工作得非常良好,所以用户相信它,就不太可能去检查被它过滤掉的邮件。 + +  我不知道为什么我没有早一点尝试统计学方法。原因可能是我太过迷恋于发现垃圾邮件的特征,有一种与发送者斗智斗勇的感觉。(大多数黑客都是好胜心很强的人,一般人往往意识不到这点。)当我尝试统计学方法以后,我立刻发现这是更聪明的选择。它不仅能发现普通的垃圾邮件标志(比如,木马和广告性词语),还能发现像 per、FL、ff0000 这种不太明显的标志。事实上,ff0000 (HTML语言中表示鲜红色的代码)被证明效果显著,能很有效地识别垃圾邮件,就像色情词汇一样容易辨别。 + + +  下面我就简单介绍一下我是如何开发统计学过滤器的。开始前,我先准备好一组垃圾邮件和一组非垃圾邮件,每组各有4000个样本。我对每一封邮件的全部内容进行了扫描,包括邮件头、内嵌的HTML代码和JavaScript代码。我把字母、阿拉伯数字、破折号、撇号、美元符号作为“实义标识”(token),所有其他字符则是“实义标识”的分隔符。(这个处理可能还可以进一步改善。)我忽略了完全由数字组成的字符串以及HTML注释,也不把它们当作“实义标识”的分隔符看待。 + +  我计算了每个实义标识在两个邮件组出现的次数(忽略大小写)。完成这步以后,我就得到了两大张散列表,一个邮件组一张,表中每一栏就是一个键值对,“键”栏对应每一个实义标识,“值”栏则是这个标识出现的次数。 + +  接着,我创建了第三张散列表,“键”栏还是每一个实义标识,“值”栏则是包含该标识的邮件是垃圾邮件的概率。我把这个概率记作Pspam|w,计算公式如下: + + + +  公式中的w就是我用来计算概率的那个实义标识,good和bad表示我在第一步创建的两张散列表,G和B分别表示正常邮件和垃圾邮件的数量。 + +  为了避免误判,我稍微加大了某个实义标识不是垃圾邮件的概率。经过反复试错,我发现将good表的次数值全部增大一倍可以很好地达到这个目的。这有助于区分那些偶尔出现在正常邮件中的词以及那些几乎从不出现的词。我只把出现总次数超过5次的词列入计算范围(实际上,由于正常邮件会反复使用同样的词,所以出现总次数超过3次应该就够了)。下一个问题就是,如果一个词只出现在一组邮件中,它的概率应该怎么分配。我又通过试错法选择了0.01和0.99。这里可能还有改善的余地,但是随着邮件数量的增加,计算结果应该会自动调整的。 + +  那些善于观察的人会注意到为了计算每个词出现的次数,我把每一组邮件看成一整串文本流,但却还是使用电子邮件的数量而不是文本流的总长度作为计算概率时的分母。这样做也是为了加大不是垃圾邮件的概率,防止出现误判。 + +  当收到新邮件的时候,程序会自动扫描,读出邮件中所有的实义标识,再找出其中15个最醒目标识(所谓“最醒目标识”,就是指概率偏离中性值0.5最远的标识),用它们判断整封邮件是垃圾邮件的概率。如果用w1, …, w15分别表示15个最醒目标识,那么计算整封邮件概率的公式如下: + + + +  实践中遇到的问题是,如果出现一个以前从来没见过的词(即两张散列表里都找不到这个词),它的概率应该怎么计算。我发现(还是通过试错法)将概率设为0.4效果很好。如果你从来没见过这个词,它多半是一个正常的词,垃圾邮件用的词都是很常见的。 + +  如果上面的公式计算出来的概率大于0.9,我就把这封邮件当作垃圾邮件。但是在实践中,把这个门槛值设为多少并不是很重要,因为计算出来的概率值大多数都分布在两端,很少落在中间。 + +  统计学方法的一大优点就是,你不需要一封封去看垃圾邮件。在使用它之前的六个月,我大概看了足足几千封垃圾邮件,这真是很苦恼的一件事。数学家Norbert Wiener说,如果你与奴隶比赛,你也会变成一个奴隶。与垃圾邮件搏斗就有这种令人退化的效果。为了识别垃圾邮件的每一个特征,你不得不钻进发送者的脑袋,搞清楚他们怎么想。说实话,我一刻都不想待在那里。 + +  但是,贝叶斯方法的真正优点在于你知道你正在计算的是什么东西。识别垃圾邮件特征的过滤器(比如SpamAssassin)为每封邮件计算一个“得分”,而贝叶斯方法为每封邮件算出一个概率。“得分”方法的缺点在于没人知道这个分数到底是什么意思,用户不知道,更糟的是,就连过滤器的开发者也不知道。如果邮件中有sex(性)这个词,请问得分是多少?计算概率当然也会出错,但是至少意义上很清楚,一点也不模糊,而且用来计算它的那些依据也很清楚。根据我的邮件库,一封邮件中含有sex这个词,那么它有0.97的概率是一封垃圾邮件;要是含有sexy这个词,垃圾邮件的概率更是上升到0.99。贝叶斯规则同样毫不含糊地表明,如果一封邮件同时含有这两个词,即使没有其他证据(事实上,这是不可能的),垃圾邮件的概率也将达到99.97%。 + +  因为贝叶斯方法计算的是概率,所以它必须考虑邮件中所有的线索,不管是肯定性线索还是否定性线索。有些词(比如though、tonight、apparently)极少出现在垃圾邮件中,所以它们会大大降低这封邮件属于垃圾邮件的概率;同样,还有一些词(比如unsubscribe、opt-in)几乎是垃圾邮件专用,它们会大大增加概率。因此,如果一封邮件的其他方面都合格,只是碰巧包含了sex这个词,这封邮件是不会被归入垃圾邮件的。 + +  理想情况下,每个收信人应该都有自己单独的概率分布表。以我为例,我收到的许多邮件中都含有Lisp这个词,而迄今还没有垃圾邮件包含这个词。所以,一个这样的词实际上就像许可证一样,保证了这封信是发送给我的正常邮件。在我以前写的垃圾邮件过滤器中,用户可以自己开出一张清单,列出一系列这样的词。然后,收到的邮件之中如果包含这些词,就将自动通过过滤器。我自已的清单上除了Lisp这个词,还有我的邮政编码,所以网上购物的确认邮件就能安然通过过滤器(否则它们看上去很像垃圾邮件)。我当时觉得自己真是聪明绝顶,但是后来发现贝叶斯方法能够自动做到这一点,而且它还能发现许多我以前根本没意识到的这一类词语。 + +  我在文章的开头说,我的过滤器现在可以在1000封垃圾邮件中正确识别出995封,并且没有一个误判。做到这一点的前提是必须有一个很大的邮件库作为判断依据。但是,我不想用这些数字误导读者,如果你想同样做到这个水平,最好采用我提倡的方法,就是把自己收到的所有邮件分成垃圾邮件和非垃圾邮件两大类。按照我的想法,每个用户应该有两个“删除”按钮,一个是“正常刪除”,还有一个是“垃圾邮件删除”。任何被后一个按钮删除的邮件都进入垃圾邮件库,而其他的所有邮件进入非垃圾邮件库。 + +  刚开始的时候可以有一个所有人共享的基本概率分布表,但是到了最后,每个用户应该都分别有自己的概率分布表,这是根据他收到的邮件对每一个词进行统计后得出的。这样做可以:(a)使得过滤器更有效;(b)让每个用户自己定义,什么是他眼中的垃圾邮件;(c)使得垃圾邮件的发送者无法针对过滤器做出调整(这可能是最大的好处)。如果每个用户的过滤器大部分都是基于独立的数据库,那么每个过滤器的过滤条件都不一样,而且会更加富有成效。要是垃圾邮件的发送者仅仅针对基本概率分布表做出调整,并不能保证这封邮件会通过拦截。 + +  统计学过滤器除了基于内容做出判断以外,还可以有一张白名单,上面列出值得信任的、不会发送垃圾邮件的发信人,让他们的邮件直接通过过滤器。建立这样一张白名单有一个容易的方法,就是将所有你曾经去信的地址都保留下来。另外,凡是你使用“正常删除”按钮删除的邮件(前提是邮箱软件必须同时具备“Spam删除”按钮),它们的地址也可以加入白名单。 + +  我提倡使用白名单,主要是为了节约计算,而不是认为这样可以改进过滤器的效果。我曾经认为白名单会让过滤器运作得更顺利,因为你从此只需要扫描那些陌生人的邮件就行了。试想一下,如果某人是第一次发邮件给你,他一般囿于常规,只会说一些需要对你说的内容,不会一上来就跟你讨论sex。相反,倒是你已经认识的熟人可能会这样做。所以,白名单有助于避免这些邮件的误判。但是问题是,人们一般都有好几个Email地址,一封从陌生地址发来的邮件并不必然意味着来自一个你不认识的陌生人。一个老朋友突然用一个全新的地址写信给你可不是罕见情况,对于黑客尤其如此。所以,白名单并不会降低误判的风险。 + + +  不过,某种意义上,统计学过滤器其实内嵌了白名单(还有黑名单)。因为整封邮件都会被扫描,包括邮件头在内,所以经过这一步,过滤器自己“知道”哪些邮箱地址可以信赖(甚至还知道哪些中转的服务器可以信赖)。对于垃圾邮件,它也会“知道”得一清二楚,包括服务器名称、发送邮件的软件版本和邮件协议。 + +  如果现在的过滤水平(1000封垃圾邮件识别出995封)可以保持下去,我会觉得问题已经解决了。但是,垃圾邮件永远在进化,现在能够过滤它们不等于永远能够过滤它们。说实话,如今的大多数垃圾邮件过滤器就像杀虫剂一样,唯一作用就是创造出杀不死的新品种害虫。 + +  我对贝叶斯方法寄予厚望,因为它的过滤能力可以随着垃圾邮件一起进化。所以,假定垃圾邮件发送者开始用vlagra替代viagra^,以此逃避某些机械的、基于单个词汇的过滤器的栏截,贝叶斯过滤器却能够自动注意到这种变化。实际上,vlagra是比viagra确定性高得多的线索,可以证实这封邮件为垃圾邮件,至于概率到底高出多少,贝叶斯过滤器将准确告诉我们。 + +^「中文名“万艾可”(伟哥),一种治疗阳瘘的药物。——译者注」 + +  到目前为止还存在一个问题,所有垃圾邮件过滤器的开发者必须回答:如果发送人准确知道你的过滤机制,他们逃避拦截的可能性有多大?比如我猜想,如果“校验码”(checksum)方法^对垃圾邮件构成重大威胁,那么发送人就会耍花招,使用同义词替代的技巧让每一封邮件内容完全不同,从而逃避拦截。 + +^「“校验码”方法的原理是,一般来说,垃圾邮件都是大量群发的,除了个别词语不同以外,信件的主体内容完全一样,所以,只要去除那些不同的部分,对信件主体计算一个校验码,然后与数据库中已经确认的垃圾邮件校验码进行比较,如果两者相同,就可以认定是垃圾邮件了。——译者注」 + +  但是,要想骗过贝叶斯过滤器就没那么容易了。你把每一封垃圾邮件都写得独一无二或者不使用某些特定的标志性词汇,都不足以达到目的。只有让垃圾邮件看上去与正常邮件毫无区别才能够实现。我觉得要做到这一点真是够难为他们的。垃圾邮件主要用于销售目的,那么除非你正常往来的邮件都是销售类邮件,否则垃圾邮件不可避免地将与其他邮件不一样。此外,发送人还必须改变(并且不断改变)他的邮件系统架构,否则贝叶斯过滤器会识别出他的邮件头,而根本不用看邮件内容到底写的是什么。我对邮件系统架构知道得不多,不太清楚让邮件头逃过拦截的难度有多高,但是我猜想它的难度要超过让邮件正文逃过拦截的难度。 + +  假定那些人连邮件头的难题也解决了,那么未来的垃圾邮件可能就是下面这个样子: + +  嗨,你好。请查看链接: + +  m/foo + +  这差不多就是统计学过滤器能够允许通过的销售类邮件的样子,最多就到这样了。(可是实际上,这段话更难逃过拦截,因为邮件的其他内容全部都是中性词语,垃圾邮件可能不得不在URL上做文章,但是要让一个URL看上去没有可疑之处还是很伤脑筋的。) + +  发送垃圾邮件的人形形色色。有的是公司,经营着一个所谓的邮件列表,表面上说你可以选择订阅,但是实际上根本无法退订,他们肆无忌惮地向你发送广告,有的是个人,专门劫持邮件服务器,推广色情网站。如果我们的过滤器迫使他们只能把垃圾邮件写成上面那样,应该会使得垃圾邮件业中合法经营的那部分人退出这个行业。因为他们很乐于遵守各州的法律规定,在邮件中附上正式声明,解释为什么自己不是垃圾邮件以及如何才能取消订阅。这一类文字反而使得识别他们变得更容易了。 + +  (我以前曾经认为,那些相信更严格的法律会遏制垃圾邮件的人真是太天真了。我现在认为,更严格的法律或许无法减少我们收到的垃圾邮件的数量,但是肯定有助于减少逃过过滤器拦截的垃圾邮件的数量。) + +  在垃圾邮件业中,如果发送销售类垃圾邮件受到限制,那么整个行业将不可避免地受到重创。“行业”这个词是很准确的,发送垃圾邮件的人其实都是商人,他们这么做只是因为这招很有效。虽然垃圾邮件的回应率低到不能再低了(不超过百万分之15,相比之下,传统的邮寄商品目录的回应率是百万分之3000),但是发送垃圾邮件的成本实际上为零,所以它还是有效的。但是对于收到垃圾邮件的人来说,成本却很高昂,假定有100万人分别收到一封垃圾邮件,每人花一秒钟删除,累计起来就相当于一个人5个星期的工作量,而发送人连一分钱也不用付出。 + +  不过,虽然接近于零,发送垃圾邮件还是有成本的^。所以,只要我们把垃圾邮件的回应率降得很低(不管手段是直接过滤,还是让垃圾邮件被迫掩盖它们的销售意图),商家就会发现,发送垃圾邮件是一件经济上不值得的事情。 + +^「2002年,发送100万封垃圾邮件的最低成本好像是200美元。这个价格很便宜,相当于每封垃圾邮件成本为0.02美分。但是,假定过滤器可以拦截95%的垃圾邮件,那么要使得受众数量保持不变,发送人的成本就必须增加20倍。而垃圾邮件推销的那些生意,利润几乎肯定到不了这么高,无法抵消这笔成本。」 + +  另一方面,垃圾邮件使用了那么多推销语言就是为了增加回应率。如果有一天推销语言突然不能用了,对他们就是重大打击。为了说明这一点,让我们把自己想象成一个回应垃圾邮件的人,看看这些人到底是怎么想的(这要比把自己想象成垃圾邮件发送者更让人难受)。回应垃圾邮件的人要么是惊人地轻信,要么是表面上完全否认、但是私底下却有着对性的强烈兴趣。不管哪一种情况,也不管垃圾邮件在正常人看来是多么令人反感或愚蠢万分,总是可以让这些人兴奋不已,因为邮件内容写得实在太诱人了,毕竟如果不是这样,商家也就不发送垃圾邮件了。要是邮件内容改成“请点击下面的链接”,对于收信人来说就没有太大的吸引力了,根本比不上现在的效果。结果就是,如果垃圾邮件不能使用诱人的推销语言,它作为推销工具的价值就会大大降低,使用它的商家数量也会减少。 + +  最终,我们将取得全胜。我开始写垃圾邮件过滤器只是因为不想再让这些东西烦我了。但是,如果我们把过滤器做得足够好,那么垃圾邮件将不再有效,商家最后将不再发送它。 + +  在所有对抗垃圾邮件的方法之中(从软件方法到法律方法),我认为单独来看,“贝叶斯过滤”是最有效的工具。但是,我也认为,我们使用的不同方法越多,综合效果就越好,因为任何对发送人构成限制的方法往往都会使得过滤器工作起来更顺利。即使同样是基于内容的过滤器,我也认为,如果有多种不同的软件可以同时使用会比较好。过滤器的差异越大,垃圾邮件想要逃过拦截就越不可能。 + + + + + +  9.设计者的品味 + +哥白尼不认同托勒密的体系,一个极其重要的原因是,他觉得托勒密提出的偏心等距点(equant)毫无美感…… + +——托马斯·库恩,《哥白尼革命》 + + +我们所有人都受到凯利·约翰逊^的影响,狂热地相信外观优美的飞机一定会飞得同样漂亮。 + +——本·里奇,《臭鼬计划》 + +^「Kelly Johnson(1910—1990),美国传奇飞机设计师,供职于洛克希德公司,主导设计的机型达40余种。——译者注 」 + + +美感是第一道关卡,丑陋的数学在世界上无法生存。 + +——GH.哈代,《一个数学家的道歉》 + + + +  最近,我与一个在MIT教书的朋友交谈。他的研究领域很热门,每年申请他的研究生的人多得让他应付不过来。“很多人看上去很聪明,”他说,“但是我不知道他们的品味如何。” + +  品味。如今很少听到这个词了,人们往往使用别的叫法,伹它却的的确确是我们离不开的基本槪念。我的朋友的意思是,他想要的学生不仅应该技术过硬,还应当能够使用技术做出优美的产品。 + +  数学家会把出色的工作称赞为“优美的”。无论古今,科学家、工程师、音乐家、建筑师、设计师、作家、画家都是这样做的,他们都使用同一个词。这仅仅是巧合吗,还是他们之间有共识?如果真的有共识,那么我们能不能将某一个领域发现的“美”的规律运用于另一个领域呢? + +  对于我们设计师来说,美就不仅仅是一个理论问题了。如果世界上真有“美”存在,我们需要能够认出它。设计产品时,我们需要良好的品味。与其把“美”说成一个虚无缥缈的抽象概念,还不如让我们考虑一个实际的问题(这样就能避免喋喋不休的空谈):如何才能做出优美的产品? + +  如果你在当今社会提到“品味”,很多人会对你说“品味是主观的”。他们真的就是这么认为的。喜欢一件东西,却不知道为什么自己喜欢它,原因可能是这件东西是美的,但也可能因为他们的母亲也拥有同样的东西,或者杂志上某个明星使用它,或者仅仅因为它的价格很昂贵。人类的思想就是没有经过整理的无数杂念的混合。 + +  我们大多数人从孩提时代起就被鼓励不要去分析清楚自己的头脑。如果你的小弟弟画图时把人都涂成绿色,你想取笑他,你妈妈很可能会对你说:“你有你喜欢的方式,他有他喜欢的方式。” + +  你妈妈这时不是教给你什么是美学,而只是想阻止你们两个争吵。就像大人哄小孩的其他话一样,这句话也是模棱两可的,与其他话会发生冲突。大人教导你说品味只是每个人的偏好而已。但是来到博物馆,他们却对你说,仔细观赏达·芬奇的作品,因为他是伟大的艺术家,品味超凡。 + +  小孩子受到这样的教导会怎么想?他会怎么理解“伟大的艺术家”?这么多年来,别人无数遍地告诉他,品味就是一种偏好,是每个人自己的事情,所以他不可能直接就明白,所谓“伟大的艺术家”就是这个人的作品要比其他人的杰出。他更可能觉得,所谓“伟大的艺术家”只是针对我个人世界而言的,就是很符合我自己口味的艺术家,好比某本书上说食用西兰花对我的健康有利,所以我就应该喜欢吃西兰花一样。 + +  把品味说成个人的偏好可以有效地杜绝争论,防止人们争执哪一种品味更好。但是问题是,这种说法是不正确的。只要你自己开始动手设计东西,就能明白这一点。 + +  不管每个人的工作是什么,他们内心里都有一种愿望——把自己的工作做好。足球运动员想羸得比赛,CEO想增加利润。做好自己的工作会真正令人感到自豪和偷快。但是,如果你是一个设计师,并且你不承认有一种人们共同认可的东西叫做“美”,那么你就没有办法做好工作。如果品味只是一种个人偏好,那么每个人都是完美无缺的:你喜欢自己看上的东西,那就足够了。 + +  就像别的工作一样,只要你不断地从事设计工作,你就会做得越来越好。你的品味会出现变化,你会像别人一样有所提高。如果这样的话,那么你以前的品味就不只是与现在不同,而是不如现在的好。因此,所谓的“品味没有好坏之分”的公理也就顿时见鬼去了。 + +  现在流行“相对主义”,即认为真理是相对的。即使你已经从小孩变成了成年人,这种观点依然可能妨碍你思考“品味”。但是,只要你走出狭隘的自我,至少在心里对自己说,确实存在比其他设计更好的杰出设计,那么你就能开始仔细研究了。你的品味是如何变化的?什么原因使你做出不好的设计?其他人对设计是什么观点? + +  只要你开始思考这些问题,你就会发现,众多不同学科对“美”的认识有着惊人的相似度。优秀设计的原则是许多学科的共同原则,一再反复地出现。 + + + +好设计是简单的设计 + +  从数学领域到绘画领域,你都可以听到这种说法。在数学中,它表示简短的证明往往是更好的证明。特别是对于数学公理来说,少即是多。在编程中,这种说法也基本适用。对于建筑师和设计者,它意味着美依赖于一些精心选择的结构性元素,而不依赖于表面装饰品的堆砌。(装饰品本身并不是坏事,只有当它被用来掩盖结构的苍白时,才变成了一件坏事。)绘画也是类似的,认真观察的、非常有代表性的静物作品往往要比表面极尽华美、但是实质上只是无意义重复的“巨作”(比如再现非常复杂的花边的绘画作品)更有价值。在写作上,这种说法意味着只说必须要说的话,并且说得简短。 + +  这样强调简单似乎有点奇怪。有人会说,简单就是事物本来的样子,装饰反而意味着更多的工作。但是,当人们自己从事创造性工作的时候,好像就会忘了保持简单这个原则。刚开始写作的人喜欢用浮夸的语调,根本不像他们平时说话的样子。设计师喜欢用波浪式卷曲表现他们的艺术感。画家发现自己都是表现主义者(expressionist)。这些装饰都是花架子,在作家的长句、画家“表现主义”的画笔之下,根本就是空洞无物,表面的装饰掩盖了内部的空虚,太可怕了。 + +  当你被迫把东西做得很简单时,你就被迫直接面对真正的问题。当你不能用表面的装饰交差时,你就不得不做好真正的本质部分。 + + + +好设计是永不过时的设计 + +  只要没有错误,每一个数学证明都是永不过时的。所以,数学家哈代才会说:“丑陋的数学在世界上无法生存。”他的意思与飞机设计师凯利·约翰逊的观点是一样的:如果解决方法是丑陋的,那就肯定还有更好的解决方法,只是还没有发现而已。 + +  以永不过时作为目标是一种帮助自己找到最佳答案的方法:如果你不愿别人的答案取代你的答案,你就只好自己做出最佳答案。某些大师的作品太过杰出,永不过时,使得后人几乎难以在该领域立足。自从16世纪出现了德国雕刻大师丟勒(Dürer),后世的雕刻家都因为自己的作品被拿来与他的作品作比较而苦不堪言。 + +  以永不过时作为目标也是一种避开时代风潮的影响的方法。“风潮”这个词,从字面上就可以看出,它就是一阵风似的,随着时间经常改变。如果一件东西长盛不衰,那么它的吸引力一定来自本身的魅力,而不是来自风潮的影响。 + +  说来奇怪,如果你希望自己的作品对未来的人们有吸引力,方法之一就是让你的作品对上几代人有吸引力。我们很难猜想未来是什么样子,但是可以肯定,未来的人们不会在乎今天流行的风潮,这一点与上几代人是相同的。所以,如果你的作品对今天的人们以及1500年的人都有吸引力,那么它极有可能也会吸引2500年的人。 + + + +好设计是解决主要问题的设计 + +  厨房的煤气灶有四个出火口,排成一个正方形。每个出火口都由一个调节器控制,四个出火口就有四个调节器。请问应该如何摆放调节器?最简单的摆放方法当然是把四个调节器排成一列,但要是这样做,人们使用起来就很不方便,每次都要停下来想一下到底每个调节器对应的是哪个出火口。如果直接把调节器排成与出火口一样的正方形,就不会有这个问题了。 + +  许多坏设计做得很辛苦,但是从一开始方向就错了。20世纪中期,有一股使用无衬线(sans-serif)字体的潮流。这一类字体接近于纯手写的样式,但是它无助于解决最主要的问题。印刷出来的文字首先应该是易于辨认的,所以能够清晰地分辨字母就是最主要的问题——传统的新罗马(Times Roman)字体是一种有衬线的字体,虽然看上去古老得就像维多利亚女王时代的风格,但是它的小写g就是可以很轻易地与小写y区分。 + +  答案可以不断改进,同样,问题本身也可以不断改进。软件的难题通常可以被改成等价的较易解决的形式。历史上,物理学的主要难题曾经一度是如何诠释经典著作,后来遂渐变成对可观测到的行为进行预测,这种转变使得物理学的发展速度大大加快。 + + + +好设计是启发性的设计 + +  英国女作家简·奥斯汀的作品几乎不带有任何描述。她不告诉读者每件东西看上去是什么样子,只是把故事讲得非常生动,让读者自己把一切都想象出来。同样,绘画作品也分为描述性绘画和启发性绘画,后者往往比前者更引人入胜。每个人看到《蒙娜丽莎》都有自己的理解。 + +  在建筑学和设计学中,这条原则意味着,一幢建筑或一个物品应该允许你按照自己的愿望来使用。举例来说,一幢好的建筑物应该可以充当平台,让你想怎么布置就可以怎么布置,过上自己想过的家庭生活,而不是使得你像执行程序一样只能过上建筑师为你安排的生活。 + +  在软件业中,这条原则意味着,你应该为用户提供一些基本模块,使得他们可以随心所欲自由组合,就像玩乐高积木那样。在数学中,这条原则意味着,一个可以成为许多新工作基础的证明要优于一个难度很高、但无助于未来学科发展的证明。在科学领域中,总体上可以把引用次数看作对他人启发性大小的粗略指标。 + + + +好设计通常是有点趣味性的设计 + +  这条原则可能不是所有情况下都成立。但是,丢勒的雕刻、芬兰设计师沙里宁(Saarinen)的子宫椅(Womb Chair)、意大利罗马的万神殿(Pantheon)、保时捷911型汽车的原型设计(图9-1),在我看来都很有趣。逻辑学家哥德尔(Gödel)的不完备定理就好像一个玩笑那样有意思。 + + + +图9-1 保时捷911E,1973年产 + +  我想,这是因为幽默一定程度上反映了力量。幽默感是强壮的一种表现,始终拥有幽默感就代表你对厄运一笑了之,而丧失幽默感则表示你被厄运深深伤到。所以,强壮的标志(或者至少是特点)就是轻松面对自己的人生。充满自信的人常常像燕子一样,以一种居高临下的姿态轻盈地看待周围的一切,比如希区柯克拍摄的电影、16世纪画家勃鲁盖尔(Bruegel)的绘画(甚至莎士比亚也是一个这方面的例子)。 + +  好的设计并非一定要有趣,但是很难想象完全无趣的设计会是好的设计。 + + + +好设计是艰苦的设计 + +  如果观察那些做出伟大作品的人,你会发现他们的共同点就是工作得非常艰苦。如果你工作得不艰苦,你可能正在浪费时间。 + +  困难的问题需要艰巨的付出才能解决,高难度的数学证明需要结构非常精细的解决方法(它们往往做起来很有趣),工程学也是如此。 + +  当你攀登高山时,必须扔掉一切不必要的装备。在困难地点或预算不足的条件下,建筑师就只能做出很简练的设计。当解决难题成为压倒一切的任务时,那些流行样式与华丽装饰就被抛到一边去了。 + +  并非所有的痛苦都是有益的。世界上有有益的痛苦,也有无益的痛苦。你需要的是咬牙向前沖刺的痛苦,而不是脚被钉子扎破的痛苦。解决难题的痛苦对设计师有好处,但是对付挑剔的客户的痛苦或者对付质量低劣的建材的痛苦就是另外一回事了。 + +  在绘画上,肖像画通常占据最高地位。这不是偶然的,原因不仅是面部肖像比其他题材更能打动人,还因为我们太擅长观察脸,所以肖像画家不得不加倍努力才能达到我们的要求。如果画的是树,树枝画偏了五度也不会有人发现。但是,如果你把别人的眼睛画偏了五度,人们一眼就能看出来。 + +  德国包豪斯(Bauhaus)学派的设计师采纳了美国建筑师路易斯·沙利文(Louis Sullivan)的观点“功能决定形式”(form follows function), + +  但是他们实际上的理解是“功能应当决定形式”^。真实情况是,如果开发“功能”非常艰难,那么“形式”将不得不全部都由“功能”决定,因为没有多余的精力再来单独开发“形式”了。人们常常觉得野生动物非常优美,原因就是它们的生活非常艰苦,在外形上不可能有多余的部分了。 + +^「沙利文的原话是“功能总是决定形式”(form ever follows function),所以如今的引用形式实际上不准确,但是我觉得误读后的形式更接近于现代主义建筑师的观点。」 + + + +好设计是看似容易的设计 + +  优秀运动员比赛时,让人觉得他轻轻松松就获胜了,优秀设计师也是如此,他们的工作看上去很容易。大多数时候,这是一种错觉。作家的文章读起来流畅自如,但是背后其实经过了反复修改。 + +  科学和工程学的一些最重大的发现在形式上往往很简单,会使得你觉得自己也想到过。可是,如果它真的那么简单,为什么发现人不是你呢? + +  达·芬奇的有些肖像画只是几根线条。看着它们,你会想只要把这十根八根线条放对位置,你也能画出如此优美的肖像画。说的没错,可是难就难在找出正确的位置。只要位置偏移一点点,整幅作品就会一溃千里。 + +  白描其实是最难画的视觉媒介,因为它们要求几近完美的再现。用数学语言说,线条属于闭合解(closed-form solution),水平不够的艺术家没有办法直接解决问题,只能通过不断逼近来求解。许多孩子在十岁左右放弃了绘画,原因之一就是这时他们开始学习成年人的绘画技法,首先练习用线条勾勒出人脸。 + +  在大多数领域,看上去容易的事情,背后都需要大量的练习。练习的作用也许是训练你把刻意为之的事情变成一种自觉的行为。有时,我们的训练只是为了让身体养成下意识的反应。优秀钢琴家弹奏名曲可以不经过大脑直接完成,艺术家也是这样,熟练以后,脑海中的艺术形象会自动从手上流淌出来,仿佛有人在一旁为他打节奏一样。 + +  人们有时会说自己有了“状态”,我的理解是,他们这时可以控制自己的脊髓。脊髓是更本能的反应,面对难题时,它能释放你的直觉。 + + + +好设计是对称的设计 + +  对称也许只是简洁性的一种表现,但是它十分重要,值得单独列为一点。自然界的对称大量存在,这就说明了对称的重要性。 + +  对称有两种:重复性对称和递归性对称。递归性对称就是指子元素的重复,比如树叶上叶脉的纹路。 + +  历史上,对称曾经泛滥一时,导致现在它在某些领域已经不流行了。从维多利亚女王时代开始,建筑师就有意多建造不对称的建筑。20世纪20年代,不对称成了现代主义建筑的一个明确的前提条件。但是即使如此,这些建筑物往往也只是在主轴上不对称,细节部分依然大量使用对称。 + +  在写作中,你会发现对称无处不在,短语、句子、小说的情节都是如此。音乐和美术也大量使用对称。拼接式的美术作品(还有塞尚的一部分作品)有非常强烈的视觉感染力,原因就是整幅作品由相同的作图元素构成,这也属于对称。对称性构图产生了一些最让人难忘的绘画作品,尤其是那些两个半边互相呼应的作品,比如米开朗基罗的壁画《创世纪》和格兰特·伍德的油画《美国式哥特》。 + +  在数学和工程学中,递归尤其有用。归纳式证明方法既简洁又美妙。在软件中,能用递归解决的问题通常代表已经找到了最佳解法。巴黎的埃菲尔铁塔如此引人注目,部分原因就是它的外形是递归的,大塔上面还有小塔(图9-2)。 + + + +图9-2 埃菲尔铁塔,1889。大塔上面有小塔 + +  对称的危险在于它可以用来取代思考,在大量使用重复的时候这种危险性更大。 + + + +好设计是模仿大自然的设计 + +  我不是说模仿大自然这种行为本身有多么好,而是说大自然在长期的演化中已经解决了很多设计问题。所以,如果你的设计与大自然很接近,那么它基本上不会很差。 + +  模仿与剽窃并不相同。如果一部小说写得好像真实生活的再现,没人会提出异议。虽然写实的价值常常被误解,但它也是绘画的一个重要工具。写实的目的不是为了给生活留下一模一样的记录,而是为你的思想提供一个咀嚼点:你的眼睛看着某样东西,你的手就代表你的思想, 画出一些比较有意思的内容。 + +  模仿大自然也是工程学的有效方法。长久以来,船只就像动物一样有龙骨和肋骨。不过,前提条件是技术水平要达到,只有这样才有可能模仿大自然。早期的飞机设计师按照鸟的形状设计飞机,这样做其实是错的,因为那时还没有足以模拟鸟类行为的轻型材料和能源,也做不出高度复杂的控制系统,所以飞机还不可能像鸟类那样飞。但是,我能想象五十年后,小型的无人侦察飞机可以做得完全像鸟一样。 + +^「莱特兄弟的飞机引擎大约重70公斤,动力为12马力。F-18战斗机的F414-GE-400引擎重1.1吨,推动力接近10吨。换算后可知,两者的单位重量引擎产生的动力相差114倍。如今英特尔处理器的计算能力大约是30年前的1700倍。 」 + +  现在的计算机已经很强大了,不仅能模拟出大自然的环境,还能模拟大自然发展演变的结果。遗传算法可能会创造出正常条件下难以设计的复杂事物。 + + + +图9-3 达·芬奇,《一匹直立的马的研究》,1481~1499 + + + +好设计是一种再设计 + +  很少有人一次就把事情做对。专家的做法是先完成一个早期原型,然后提出修改计划,最后把早期原型扔掉。 + +  扔掉早期原型是需要信心的,你必须有本事看出什么地方还可以改进。举例来说,刚刚开始学画的人往往不愿意重画画错的地方。他们觉得能画成现在这样已经很不错了,如果重画某些部分,结果可能还不如现在。所以,他们就说服自己,我的画已经过得去了,没准别人也会这么看。 + +  这想法很危险。你应该培养对自己的不满。达·芬奇为了把一根线画对,经常要画五六次。保时捷911型汽车的原型很粗糙,只有在重新设计后它的背部轮廓才变成现在这样独特的曲线。建筑师莱特设计的古根海姆博物馆,最早的时候,右半边有点像古代的塔庙(ziggurat),他后来把它倒过来,就成了现在的样子。 + +  犯错误是很正常的事情。你不要把犯错看成灾难,要勇于承认、勇于改正。达·芬奇实际上重新发明了素描这种艺术形式,把它当作一种探索更多可能的方式。开源软件因为公开承认自己会有bug,反而使得代码的bug比较少。 + +  做修改的时候,有一个合适的工具会使得改动更容易。美术史上,15世纪油彩取代蛋彩(tempera)就是一个重大突破,油彩使得画家更方便地处理那些困难的主题(比如人体),因为油彩可以调制,还可以重画,蛋彩^就做不到这些。 + +^「蛋彩画是的欧洲绘画方式,盛行于文艺复兴初期,主要是将鸡蛋和水作为溶剂,溶解绘画颜料,使之可以用来绘画。——译者注」 + + + +好设计是能够复制的设计 + +  我们对待复制的态度经常是一个否定之否定的过程。刚入门的新手不知不觉地模仿他人,遂渐熟练之后才开始创作原创性作品。最后他会意识到,把事情做对比原创更重要。 + +  不知不觉的模仿几乎必然将导致坏设计。如果你不知道自己的想法从何而来,那么你可能就是在模仿另一个模仿者。19世纪中期,拉斐尔画派主导了整个画坛,几乎每个学画的人都在模仿拉斐尔,可是经常谬以千里。有一些艺术家实在看不下去了,被如此之多模仿拉斐尔的人搞烦了,于是成立了前拉斐尔画派^。 + +^「前拉斐尔画派是1848年由三个年轻的英国画家创立的。他们认为,学院派的方法巳经腐化了米开朗基罗和拉斐尔的风格,因此艺术发展的正确道路应该回到拉斐尔之前的古典时代。——译者注」 + +  等到你逐渐对一件事产生热情的时候,就不会满足于模仿了。你的品味就进入了第二阶段,开始自觉地进行原创。 + +  我想,最伟大的大师最终会达到一种超脱自我的境界。他们一心想找到正确答案,如果别人已经回答出了一部分,那就没理由不拿来用。他们足够自信地使用他人的成果,完全不担心因此丧失个人的特点。 + + + +好设计常常是奇特的设计 + +  某些最出色的作品堪称不可思议:欧拉公式、16世纪画家勃鲁盖尔的《雪中猎人》(图9-4)、SR-71“黑鸟”超音速侦察机(图9-5)、计算机的Lisp语言等。它们不仅优美,而且美得很奇特。 + + + +图9-4 勃鲁盖尔的《雪中猎人》,1565年 + + + +图9-5 洛克希德公司的SR-71“黑鸟”超音速侦察机,1964年 + +  我不太确定原因,可能是因为我不够聪明,才会觉得它们看上去很奇特。一条狗看到开罐器也会认为那是一个奇迹。如果我是天才的话,可能会觉得eiπ = -1是再平常不过的事情,它又没有说错,有什么好奇怪的。 + +  我在前文提到的好设计的大多数特点都是可以培育出来的,但是我觉得“奇特”这个特点是无法培育的。你最多就是在它开始显现时不要把它扼杀掉。爱因斯坦并不想让相对论变得很奇特,他只想找出真理,是真理本身显得很奇特。 + +  我曾在一家美术学校学习绘画,那里的学生最想做的就是发展出一种自己的风格。但是,如果你想做出好作品,不可避免地会采用一种独特的方式,就好像每个人走路的姿势其实都不尽相同。米开朗基罗并没想过要树立米开朗基罗风格,他只是想画好作品,结果不由自主地创造出了米开朗基罗风格。 + +  你最后发展出来的风格是自然而然形成的。“奇特”这个特点尤其如此,没有其他路可走。它就像连接大西洋和太平洋的“西北航道”,无数人希望找到这条捷径。16世纪的风格主义者、19世纪的浪漫主义者、一代代的美国高中生都在寻找,但就是找不到。唯一达到“奇特”的方法,就是追求做出好作品,完成之后再回过头看。 + + + +好设计是成批出现的 + +  15世纪住在佛罗伦萨的伟大艺术家有建筑师布鲁内莱斯基、画家吉贝尔蒂、雕塑家多纳泰洛、画家马萨乔、画家菲利普里皮、画家弗拉安吉利科、雕塑家韦罗基奥、画家波提切利、达·芬奇和米开朗基罗。当时,米兰也是同等的大城市,请问你能说出15世纪米兰城有什么伟大艺术家吗? + +  15世纪的佛罗伦萨有一些独特的条件,它们是不可延续的,因为今天的佛罗伦萨已经不是如此了。我们还必须假设达·芬奇和米开朗基罗拥有的天赋,在米兰城里一定也有人拥有。那么为什么没有出现米兰的达·芬奇呢? + +  今天,生活在美国的人口大概是15世纪佛罗伦萨的一千倍。那么按照比例推算,在我们之中存在着一千个达·芬奇和一千个米开朗基罗。如果这种推算成立,我们应该每天都看到令人惊叹的艺术奇迹。但是,事实并非如此,原因就是达·芬奇的出现除了他本身的天赋以外,还有赖于1450年的佛罗伦萨。 + +  推动人才成批涌现的最大因素就是,让有天赋的人聚在一起,共同解决某个难题。互相激励比天赋更重要,达·芬奇之所以成为达·芬奇,主要原因不仅仅是他的天赋,更重要的是他生活在当时的佛罗伦萨,而不是米兰。今天,人类生活的流动性高得多,但是伟大的项目依然不成比例地集中在少数几个热点上:德国包豪斯建筑学院、曼哈顿计划、《纽约人》杂志、洛克希德公司的臭鼬工作室、施乐公司的帕洛阿尔托研究中心。 + +  在历史的任何时刻都有一些热点项目,一些团体在这些项目上做出伟大的成绩。如果你远离这些中心,几乎不可能单靠自己就取得伟大成果。某种程度上,你个人最多可以对趋势产生一定的影响,但是你不可能决定趋势,实际上是趋势决定了你。(或许有人办得到,但是米兰的达·芬奇显然没有办到。) + + + +好设计常常是大胆的设计 + +  在任何一段历史中,人们都会把某些荒谬的东西当作正确的,并且深信不疑,以至于一旦你出言质疑,就有被排挤或者被暴力伤害的危险。 + +  我们自己的这个时代要是不同以往,当然令人欢欣鼓舞。伹是就我所知,它并没有任何不同。 + +  这个问题不仅存在于每个年代,还或多或少存在于每个领域。许多文艺复兴时期的艺术作品在当时都被认为极其大逆不道。根据意大利画家瓦萨里的记载,波提切利因此向教会忏悔并且放弃绘画,巴尔托洛梅奥和洛伦索迪克雷迪则是把自己的作品烧掉。爱因斯坦的相对论触犯了许多同时代的物理学家,许多年后还没有被完全接受,法国物理学家直到20世纪50年代才接受相对论^。 + +^「参见Stephen G.Brush所著的“为什么相对论被接受了?”,Physics in Perspective,1999年第1期。」 + +  今天的实验性错误就是明天的新理论。如果你想做出伟大的新成果,那就不能对常识与真理不相吻合之处视而不见,反而应该特别注意才对。实际上,我觉得发现丑陋的东西要比你想象出一个优美的东西更容易。大多数做出优美成果的人好像只是为了修正他们眼中丑陋的东西。伟大成果的出现常常来源于某人看到一样东西后,心想我能做得比这更好。拜占庭帝国的《圣母像》最早是根据某个公认的模板画的,非常机械呆板。几百年后的14世纪,意大利画家乔托看到以后,深感不满,决定动手改进,他因此成为文艺复兴的先行者。哥白尼对地心说无法解释的事情深感困扰,他的同时代人都觉得这可以忍受,他却认为一定能找到一种更好的解释。 + +  单单是无法容忍丑陋的东西还不够,只有对这个领域非常熟悉,你才可能发现哪些地方可以动手改进。你必须锻炼自己。只有在成为某个领域的专家之后,你才会听到心里有一个细微的声音说:“这样解决太糟糕了!一定有更好的选择。”不要忽视这种声音,要培育它们。优秀作品的秘块就是:非常严格的品味,再加上实现这种品味的能力。 + + + + + +  10.编程语言解析 + +  所有机器都有一张操作命令清单,让你可以控制它。有时这个清单非常简短。电水壶就只允许两种操作:打开和关闭。CD播放器稍微复杂点,除了打开和关闭以外,还能调节音量、播放、暂停、快进、快退、随机播放等。 + +  计算机和其他机器一样,也有一张操作命令清单。比如,可以命令计算机把两个数相加。这种操作命令的总和就是计算机的机器语言(machine language)。 + + + +机器语言 + +  计算机刚发明的时候,所有程序就是一条条机器语言的命令。没过多久,程序就改成使用汇编语言了,它要比机器语言写起来稍微方便一点。命令清单还是一样的,就是每个命令换了一个更人性化的名字。机器语言的加法命令是11001101,这可能就是计算机内部的加法表达方式,但是在汇编语言中,这条命令就改成了add + +  机器语言和汇编语言的共同问题就是,只能让大多数计算机做一些很简单的事情。比如,假定你想让计算机的蜂鸣器响10次,但是不存在一条直接的机器语言命令让电脑重复进行n次操作,所以只能用机器语言写出下面这样的程序: + 将数字10存入内存地址0 + +a 如果内存地址0的值为负数,跳到b行 + + 蜂鸣器发出声音 + + 将内存地址0的值减1 + + 跳到a行 + +b ……程序的其他部分…… + +#(sphinxs 补充:中译版此处a标记位置有误,已改正)# + +  如果只是为了让蜂鸣器响10次就不得不写这么多代码,不难想象写出一个文字处理器或电子表格将是一项多么浩大的工程。 + +  顺便说一句,请再看一下上面的程序。蜂鸣器真的会响10次吗?不,响了11次。我不应该在第一行使用10,而应该使用9。我故意在这个例子中留了一个bug,证明编程语言的一个重要特点:一个操作所需的代码越多,就越难避免bug,也越难发现它们。 + + + +高级语言 + +  现在假设你不得不用汇编语言开发程序,但是你有了一个助手,他可以帮你承担那些麻烦的脏活。所以,你只要把程序写成下面这样就行了^: + +dotimes 10 蜂鸣器响 + +^「dotimes是Lisp语言中表示循环处理的命令。——译者注」 + +  接下来,你的助手会用汇编语言来实现这条命令(假定他不会产生bug)。 + +  事实上大多数程序员就是这样工作的,不同之处就是,程序员的助手不是一个人,而是编译器。所谓“编译器”,本身就是一个程序,作用是将简便方式书写的程序(就像上面这一行命令)转变为硬件可以理解的语言。 + +  这种简便方式书写的程序所使用的语言就叫做高级语言。它让你能够使用更强大的命令开发程序,比如现在你就有了“重复n次操作”的命令,不再仅限于只能做简单的“两个数相加”。 + +  写程序时有了方便的命令,就可以把程序写得更简短。在上面假想的例子中,高级语言写出来的程序的长度只有机器语言的五分之一。所以,要是你犯错了,现在也更容易发现。 + +  高级语言还有一个优点,它使得程序更具有可移植性。不同计算机的机器语言都不是完全相同的。所以,你无法将为某一种机型写的机器语言程序放到另一种机型上运行,只有彻底重写才能实现。但是,如果你的程序是用高级语言写的,你只需要重写编译器就可以了。 + +  编译器不是高级语言唯一的实现方法,另一种方法是使用解释器,它的作用是实时地将代码解释为相应的机器语言,然后一行行运行。相比之下,编译器则是先将整个程序全部翻译成机器语言,然后再运行。 + + + +开放源码 + +  编译器处理的高级语言代码又叫做源码。它经过翻译以后产生的机器码就叫做目标码。顾客购买市场上的商业软件时得到的往往只是目标码。(目标码很难读懂,所以相当于被加密了,可以保护公司的商业秘密。)但是,后来出现另一种潮流:开放源码的软件。你可以得到源码,并且可以不受限制地修改它。 + +  这两种方式的真正区别在于,开放源码使你对软件有更大的控制权,如果你想理解开源软件如何运行,只要阅读源码就行了。如果愿意,你甚至可以修改软件、重新编译。 + +  你之所以需要这样做,一个原因可能是为了修正bug。比如,你自己不可能修正Windows的bug,因为你没有源码。(理论上你也许可以破解目标码,但是实际上这是非常难的。另一方面,软件的授权协议一般也不允许你这样做。)这会导致很大的问题。一旦Windows出现新的安全漏洞,只能等待微软公司发布解决方法,这还算是快的。如果bug的危害性不严重,只是偶尔会让你的机器死机,那么可能不得不等到下一次全面升级后问题才会得到解决。 + +  开放源码的优势还不仅局限于可以自己动手解决bug。这里的关键是所有人都可以参与。所以,开源软件就像一篇经受同行评议的论文。许许多多的聪明人仔细阅读了Linux和FreeBSD这样的开源操作系统的源码,发现并且解决了大量的bug。相比之下,Windows的可靠性只能依赖于大公司自己的质量保证部门了。 + +  开放源码的拥护者常常被看作反对知识产权的怪人。其中有些人确实如此,但是我本人肯定不反对知识产权。只是如果你要我安装没有源码的软件,我会非常犹豫。普通的消费者也许不需要看到他们使用的文字处理器的源码,但是在非常强调软件可靠的情况下,出于强烈的工程需求的考虑,会要求开放源码。 + + + +语言的战争 + +  绝大多数程序员在绝大多数时候都使用高级语言编程。现在很少有人使用汇编语言。程序员的时间要比计算机的时间昂贵得多,后者已经变得很便宜了,所以几乎不值得非常麻烦地用汇编语言开发软件。只有少数最关键的部分可能还会用到汇编语言,比如开发某个计算机游戏时,你需要在微观水平控制硬件,使得游戏速度得到最大限度的终极提高。Fortran、Lisp、Cobol、Basic、C、Pascal、Smalltalk、C++、Java、Perl和Python,全都是高级语言。它们只是比较出名的几种而已。现在的高级语言大概有几百种之多。不同机器语言的指令集基本相同,但是高级语言就不一样,它们开发程序的模式差别相当大。 + +  那么,应该使用哪一种语言?嗯,关于这个问题,现在有很多争论。部分原因是,如果你长期使用某种语言,你就会慢慢按照这种语言的思维模式进行思考。所以,后来当你遇到其他任何一种有重大差异的语言,即使那种语言本身并没有任何不对的地方,你也会觉得它极其难用。缺乏经验的程序员对于各种语言优缺点的判断经常被这种心态误导。 + +  可能因为想炫耀自己见多识广,某些黑客会告诉你所有高级语言基本相似。“所有编程语言我都用过。”某个看上去饱经风霜又酷的黑客往酒吧里一坐,“你用什么语言并不重要,重要的是你对问题是否有正确的理解。代码以外的东西才是关键。” + +  这当然是一派胡言。各种语言简直是天差地别,比如Fortran I和最新版的Perl就是两种完全不同的语言,而早期版的Perl和最新版的Perl之间的差别也大得惊人。但是,那个夸夸其谈的黑客可能真的相信自己的这番话,的确有可能使用所有不同的语言写出了与用原始的Pascal语言写的差不多的程序。如果你吃过麦当劳,就会知道全世界各地的麦当劳的味道都几乎一样。#(sphinxs 补充:原文为 “ If you only ever eat at McDonald’s, it will seem that food is much the same in every country.” 此处翻译有误)# + +  一些黑客只喜欢自己用的语言,反感其他所有的语言。另一些黑客则说所有的语言都一样。事实介于这两个极端之间。语言之间确实有差别,但是很难确定地说明哪—种语言是最好的。这个领域依然还在快速发展。 + + + +抽象性 + +  高级语言比汇编语言更接近人类语言,而某些高级语言又比其他语言更进一步。举例来说,C语言是一种低层次语言,很接近硬件,几乎堪称可移植的汇编语言,而Lisp语言的层次则是相当高。 + +  如果高层级语言比汇编语言更有利于编程,你也许会认为语言的层次越高越好。一般情况下确实如此,但不是绝对的。编程语言可以变得很抽象,完全脱离硬件,但也有可能走错了方向。比如,我觉得Prolog语言就有这个问题。它的抽象能力强得不可思议,但是只能用来解决2%的问题,其余时间你苦思冥想、运用这些抽象能力写出来的程序实际上就是Pascal语言的程序。 + +  另一个你会用到低层次语言的原因就是效率问题。如果你非常关注运行速度,那么最好使用接近机器的语言。大多数操作系统都是用C语言写的,这并非偶然。不过,硬件的运行速度越来越快了,所以使用C这样的低层次语言开发应用程序的必要性正在不断减少,但是大家似乎还是要求操作系统越快越好。(另一种可能是,人们还是希望“缓存区溢出攻击”继续存在下去,以便让大家时时保持警惕)^。 + +^「最常见的几种入侵计算机的手法都是利用了C语言的某些特点。当你在C语言中为输入的内容分配出一片内存(也叫“缓存”)时,它会被分配在当前运行代码的返回地址旁边。所谓“返回地址”指的是一块特定内存,当前代码运行完毕以后,就要运行这块内存中包含的代码。也就是说,它实标上是计算机下一步要做的事情。 + +假定有人打算入侵你的计算机,他们猜出你会为某种输入分配256字节的缓存,于是他们就提交多于256字节的内容,目的是覆盖旁边的“返回地址”。那么,当前代码运行完毕之后,程序的控制权就交给了他们指定的内存地址。这个地处通常是缓存的首地址,缓存中是入侵者事前编好的机器码。于是,入侵者的程序就运行在你的计算机上了。 + +如果使用更抽象的高级语言,上面的事情是不可能发生的。伹是,在C语言中,一旦接受用户输入的时候你没有检奔输入长度,就创造出了一个安全漏洞。利用这种漏洞的攻击行为就被称为“缓冲区溢出攻击”。在这种攻击中,还有其他方法可以控制计算机,但是覆盖返回地址是最经典的一种。 + +有意思的是,劫持飞机与“缓冲区溢出攻击”有类似之处。在一般飞机上,乘客区与驾驶舱是相通的,就好像C语言中数据区与代码区是相邻的一样。劫机者一且进入驾驶舱,实际上就相当于把自己从数据提升为代码。」 + + + +安全带还是手铐? + +  语言设计者之间的最大分歧也许就在于,有些人认为编程语言应该防止程序员干蠢事,另一些人则认为程序员应该可以用编程语言干一切他们想干的事。Java语言是前一个阵营的代表,perl语言则是后一个阵营的代表。(美国国防部很看中Java也就不足为奇了。) + +  自由语言派的信徒嘲笑另一方是“B&D”(奴役和戒律,Bondage and Discipline)语言,很无礼地暗示用那些语言编程的人是下等人。我不知道对方如何反击这些喜欢Perl的自由派,也许他们不喜欢给别人起绰号,因此我就无从知道。 + +  由于防止程序员做蠢事有好几种方法,所以上面的争论逐渐分化成几个较小的议题。目前最活跃的议题之一就是静态类型语言与动态类型语言之争。在静态类型语言中,写代码时必须知道每个变量的类型。而在动态类型语言中,随便什么时候,你都可以把变量设为任意类型的值。 + +  静态类型语言的拥护者认为这样可以防止bug,并且帮助编译器生成更快的代码(这两点理由都成立)。动态类型语言的拥护者认为静态类型对程序构成了限制(这点理由也成立)。我本人更喜欢动态类型,痛恨那些限制我的自由的语言。但是,确实有一些很聪明的人看来喜欢用静态类型语言。所以,这个问题依然值得讨论,并没有固定答案。 + + + +面向对象编程 + +  眼下另一个争论的热点则是面向对象编程。它是一种不同的组织程序的方法。假定你要写一个程序,计算二维图形的面积。首先,你必须知道到底是圆形还是正方形。一种解决方法是用一整块的代码判断遇到的是什么图形,然后再用相应的公式计算面积。面向对象编程不是这样,它的方法是写出两个类,一个是圆形类,另一个是正方形类,然后每个类里面用一小块代码(叫做方法)计算该类图形的面积。求面积的时候,你就问要用哪一个类,然后再使用相应的方法得出最后答案。 + +  这两种不同的计算方法可能听上去很相似,事实上,运行代码后,实际计算面积的运算过程也很相似。(这不奇怪,因为你本来就在解决同一个问题。)但是,代码的形式却是大相径庭。在面向对象编程的方式中,计算圆面积和正方形面积的代码可能分散在不同的文件中。与圆形有关的代码都放在一个文件中,与正方形有关的代码则放在另一个文件中。 + +  面向对象编程的优点在于,如果你需要修改程序,计算另一种图形的面积,比如三角形,你只需要再另外增加一块相应的代码就可以了,甚至可以不修改程序的其他部分。但是,批评者会反驳说,这种方法的缺点是,由于增加代码不用考虑其他部分,结果往往导致写出性能不佳甚至有副作用的代码,就好比造房子不考虑已经完成的部分一样。 + +  关于面向对象编程优劣的争论并不像静态类型与动态类型之争那样壁垒分明,因为编程的时候你只能在静态类型和动态类型之中选一种。但是,面向对象编程只是程度不同的问题。事实上有两种程度的面向对象编程:某些语言允许你以这种风格编程,另一些语言则强迫你一定要这样编程。 + +  我觉得后一类语言不可取。允许你做某事的语言肯定不差于强迫你做某事的语言。所以,至少在这方面我们可以得到明确的结论:你应该使用允许你面向对象编程的语言。至于你最后到底用不用则是另外一个问题了。 + + + +文艺复兴 + +  有一件事,我想所有软件业的人都会同意,那就是最近出现了很多新的编程语言。直到20世纪80年代,只有大机构才买得起开发编程语言所需的硬件,所以大多数编程语言都是大公司的教授或者研究员开发的。而现在,一个高中生就能搞到所有必需的硬件。 + +  Perl语言的设计者拉里·瓦尔^的例子启发了很多黑客:为什么不动手设计一种自己的语言呢?只要你懂得驾驭开源软件社区,就会有很多人在短期内为你提供大量的代码。 + +^「Larry Wall(1954-)在大学里主修语言学。1987年为了使管理机房的工作变得方便,他在业余时间创造了Perl语言。——译者注」 + +  结果就是产生了一些也许可以称为“头重脚轻”的语言:它们的内核设计得并非很好,但是却有着无数强大的函数库,可以用来解决特定的问题。(你可以想象一辆本身性能很差的小汽车,车顶却绑着一个飞机发动机。)有一些很琐碎、很普遍的问题,程序员本来要花大量时间来解决,但是有了这些函数库以后,解决起来就变得很容易,所以这些库本身可能比核心的语言还要重要。所以,这些奇特组合的语言还是蛮有用的,一时间变得相当流行。车顶上绑着飞机发动机的小车也许真能开,只要你不尝试拐弯,可能就不会出问题^。 + +^「提醒各位亲爱的黑客,我只是打一个比方,请不要尝试在车顶绑上飞机发动机。另外,可以认为这类“头重脚轻”的语言存在已久,Fortran语言的流行主要就是因为它的函数库。」 + +  另一个结果就是语言的多样化。编程语言之间总是存在很大区别。Fortran、Lisp、APL都是1970年以前开发出来的,它们之间的区别大得就像海星、熊、蜻蜓之间的区别。新兴的开源编程语言肯定将继承这种传统。 + +  现在好像每隔一段日子就能听到一种新出现的语言。乔纳森·埃里克森把这种现象称为“编程语言的文艺复兴”。人们有时还会用另一个说法,即“编程语言的战争”。这并不矛盾,文艺复兴时期就是存在很多战争的。 + +  实际上,很多历史学家相信战争是文艺复兴的一个副产品^。当时,欧洲活力旺盛可能就是因为它分成许多互相竞争的小国。它们互相毗邻,所以新思想能够从一个国家传播到另一个国家,但是它们又互相独立,使得单个的统治者无法遏制创新的发展。相比之下,中国古代的封建皇朝禁止民间建造大型的远洋船只,阻止了经济的正常发展。 + +^「参见Carlo Cipolla所著的《枪,帆船,帝国:技术革新在1400~1700年欧洲扩张早期阶段的作用》(Guns,Sails,and Empires: Technological Innovation and the Early Phases of European Expansion 1400-1700),Pantheon,1965年出版。」 + +  所以,程序员活在这个文艺复兴时代可能是一件好事。如果我们所有人都使用同一种编程语言,反而有可能是坏事。 + + + + + +  11.百年后的编程语言 + +  很难预测一百年后的人类生活,只有少数几件事是可以确定的。那时,汽车将具备低空飞行能力,城市规划的法规将放宽,大楼可以造到几百层,大街上一天到晚看不见太阳,女性个个都学过防身术。本文只想讨论其中的一个细节:一百年后,人们使用什么语言开发软件? + +  为什么这个问题值得思考?原因不是我们最终会用上这些语言,而是幸运的话,我们从现在开始就能用上这些语言。 + +  我认为,编程语言就像生物物种一样,存在一个进化的脉络,许许多多分支最终都会成为进化的死胡同。这种现象已经发生了。Cobol语言曾经流行一时,但是现在看来没有任何后续语言继承它的思想。它就像尼安德特人^一样,进化之路已经走到了尽头。 + +^「尼安德特人(Neanderthal),一种生活在欧洲的古人类,三万多年前已经全部灭绝。——译者注」 + +  我预言Java也会如此。有人写信说:“你怎么能说Java不会成功呢?它已经成功了。”我觉得这要看你的成功标准是什么。如果标准是相关书籍的出版量,或者是相信学会Java就能找到工作的大学生数量,那么Java确实已经成功了。当我说Java不会成功时,我的意思是它和Cobol—样,进化之路已经走到了尽头。 + +  这只是我的猜测,未必正确。这里的重点不是看衰Java,而是提出编程语言存在一个进化的脉络,从而引导读者思考,在整个进化过程中,某一种语言的位置到底在哪里?之所以要问这个问题,不是为了一百年后让后人感叹我们曾经如此英明,而是为了找到进化的主干。它会启发我们去选择那些靠近主干的语言,这样对当前的编程最有利。 + +  无论何时,选择进化的主干可能都是最佳方案。要是你不幸选错了,变成了一个尼安德特人,那就太糟了。你的对手克鲁马努人时不时就会来攻打你,把你的食物全部偷走。 + +  这就是我想找出一百年后的编程语言的原因。我不愿意押错赌注。 + +  编程语言的进化与生物学进化还是有区别的,因为不同分支的语言会发生聚合。比如,Fortran分支看来正在与Algol^的继承者聚合。理论上,不同的生物物种也可能发生聚合,但是可能性很低,所以大概从来没有真正出现过。 + +^「Algol语言诞生于20世纪50年代,是最早的计算机语言之一,对后来的许多语言产生了极大的影响。——译者注」 + +  编程语言之所以可能出现聚合,一个原因是它的概率空间^较小,另一个原因是它的突变不是随机的。语言的设计者们总是有意识地借鉴其他语言的设计思想。 + +^「概率空间是一个数学术语,大致指概率的可能取值范围。这里的意思是,不管编程语言怎么变,它的形式总是很有限的。——译者注」 + +  对于语言设计者来说,认清编程语言的进化路径特别有用,因为这样就可以照着样子设计语言了。这时,认清进化的主干就不仅有助于识别现存的优秀语言,还可以把它当作设计语言的指南。 + +  任何一种编程语言都可以分成两大组成部分:基本运算符的集合(扮演公理的角色)以及除运算符以外的其他部分(原则上,这个部分可以用基本运算符表达出来)。 + +  我认为,基本运算符是一种语言能否长期存在的最重要因素。其他因素都不是决定性的。这有点像买房子的时候你应该先考虑地理位置。别的地方将来出问题都有办法弥补,但是地理位置是没法变的。 + +  慎重选择公理还不够,还必须控制它的规模。数学家总是觉得公理越少越好,我觉得他们说到了点子上。 + +  你仔细审视一种语言的内核,考虑哪些部分可以被摒弃,这至少也是一种很有用的训练。在长期的职业生涯中,我发现冗余的代码会导致更多冗余的代码,不仅软件如此,而且像我这样性格懒散的人,我发现在床底下和房间的角落里这个命题也成立,一件垃圾会产生更多的垃圾。 + +  我的判断是,那些内核最小、最干净的编程语言才会存在于进化的主干上。一种语言的内核设计得越小、越干净,它的生命力就越顽强。 + +  当然,猜测一百年后人们使用什么编程语言,这本身就是一个很大的假设。也许一百年后人类已经不编程了,或者直接告诉计算机想做什么,计算机就会自动完成。 + +  不过,到目前为止,计算机智能并没有取得太大进展。我猜测一百年后,人们还是使用与现在差不多的程序指挥计算机。可能有一些我们今天需要编程解决的问题,那时已经不需要编程了,但是我想,那时还会存在大量与今天一样的编程任务。 + +  你可能认为只有那些自以为是的人才会去预言一百年后的技术。但是,请不要忘记,软件发展的历史已经走过了50年。在这50年中,编程语言的进化其实是非常缓慢的,因此展望一百年后的语言并不是虚无缥缈的想法。 + +  编程语言进化缓慢的原因在于它们并不是真正的技术。语言只是一种书写法,而程序则是一种严格符合规则的描述,以书面形式记录计算机应该如何解决你的问题。所以,编程语言的进化速度更像数学符号的进化速度,而不像真正的技术(比如交通或通信技术)的进化速度。数学符号的进化是缓慢的渐变式变化,而不是真正技术的那种跳跃式发展。 + + +  无论一百年后的计算机是什么样子,我们基本上可以断定它们的运行速度一定会快得多。如果摩尔定律依然成立,一百年后计算机的运行速度将是现在的74乘以10的18次方倍(准确地说是73 786 976 294 838 206 464倍)。真是让人难以想象。不过实际上更现实的预测并不是速度会提高这么多,而是摩尔定律最终将不成立。不管是什么东西,如果每18个月就增长一倍,那么最后很可能会达到极限。但那时的计算机比现在快得多大概是毫无疑问的。即使最后只是略微快了100万倍,也将实质性地改变编程的基本规则。如果其他条件不变,现在被认为运行速度慢的语言(即运行的效率不高)将来会有更大的发展空间。 + +  那时,依然会有对运行速度要求很高的应用程序。我们希望计算机解决的有些问题其实是计算机本身引起的。比如,计算机处理视频的速度取决于生成这些视频的另一台计算机。此外,还有一些问题本身就要求无限快的处理能力,比如图像渲染、加密/解密、模拟运算等。 + +  既然在现实中一些应用程序本身的效率较低,而另一些应用程序会耗尽硬件提供的所有运算能力,那么有了更快速的计算机就意味着编程语言不得不应付更多的极端情况,涵盖更大范围的效率要求。我们已经看到这种情况发生了。要是以几十年前的标准衡量,有一些使用新语言开发的热门应用程序对硬件资源的浪费非常惊人。 + +  不仅编程语言有这种现象,这实际上是一种普遍的历史趋势。随着技术的发展,每一代人都在做上一代人觉得很浪费的事情。30年前的人要是看到我们今天如此随意地使用长途电话,一定会感到震惊。100年前的人要是看到一个普通的包裹竟然也能享受一天内从波士顿发件、途经孟菲斯、抵达纽约的待遇,恐怕就要更震惊了。 + +  我已经预测了,一旦未来硬件的性能大幅提高将会发生什么事。新增加的运算能力都会被糟蹋掉。 + +  在我学习编程的年代,计算机还是稀罕玩意。我记得当时使用的微机型号是TRS-80,它的内存只有4K,为了把BASIC程序装入内存,我不得不把源码中的空格全部删除。我一想到那些极其低效率的软件,不断重复某些愚蠢的运算,把硬件的计算能力全部占用,就感到无法忍受。但是,我的这种反应是错的,我就像某个出身贫寒的穷孩子,一听到要花钱就舍不得,即使把钱用在重要场合(比如去医院看病)都觉得很难接受。 + +  某些浪费确实令人厌恶。比如有人就很讨厌SUV(运动型多用途车),即使它采用可再生的清洁能源也改变不了看法,因为SUV来自一个令人厌恶的想法(如何使得小货车看上去更有男子汉气概)。但是,并非所有的浪费都是坏的。既然如今的电信基础设施已经如此发达,再掐着时间打长途电话就有点锱铢必较了。如果有足够的资源,你可以将长途电话和本地电话视为同一件事,一切会变得更轻松。 + +  浪费可以分成好的浪费和坏的浪费。我感兴趣的是好的浪费,即用更多的钱得到更简单的设计。所以,问题就变成了如何才能充分利用新硬件更强大的性能最有利地“浪费”它们? + +  对速度的追求是人类内心深处根深蒂固的欲望。当你看着计算机这个小玩意,就会不由自主地希望程序运行得越快越好,真的要下一番功夫才能把这种欲望克制住。设计编程语言的时候,我们应该有意识地问自己,什么时候可以放弃一些性能,换来一点点便利性的提高。 + +  很多数据结构存在的原因都与计算机的速度有关。比如,今天的许多语言都同时有字符串和列表。从语义上看,字符串或多或少可以理解成列表的一个子集,其中的每一个元素都是字符。那么,为什么还需要把字符串单列为一种数据类型呢?完全可以不这么做。只是为了提高效率,所以字符串才会存在。伹是,这种以加快运行速度为目的、却使得编程语言的语义大大复杂的行为,很不可取。编程语言设置字符串似乎就是一个过早优化的例子。 + +  如果我们把一种语言的内核设想为一些基本公理的集合,那么仅仅为了提高效率就往内核添加多余的公理,却没有带来表达能力的提升,这肯定是一件很糟的事。没错,效率是很重要,但是我认为修改语言设计并不是提高效率的正确方法。 + +  正确做法应该是将语言的语义与语言的实现予以分离。在语义上不需要同时存在列表和字符串,单单列表就够了。而在实现上做好编译器优化,使它在必要时把字符串作为连续字节的形式处理^。 + +^「我相信,Lisp Machine Lisp(Lisp语言的一种方言)是第一个具体表达这样一种观点的语言:变量的声明(除了动态类型变量之外)只是优化的建议,对一个正确程序本身的含义不构成影响。Common Lisp(Lisp语言的另一种方言)则好像第一个明确提出了这一点。」 + +  对于大多数程序,速度不是最关键的因素,所以你通常不需要费心考虑这种硬件层面上的微观管理。随着计算机速度越来越快,这一点已经越发明显了。 + +  语言设计时,对实现方式少作限制还会使得程序具备更大的灵活性。语言的规格发生变化不仅是无法避免的,也是合理的。通过编译器的处理,按照以前规格开发的软件就会照常运行,这就提供了灵活性。 + +  essay(论文)这个词来自法语的动词essayer,意思是“试试看”。从这个原始意义来说,论文就是你写一篇文章,试着搞清楚某件事。软件也是如此。我觉得一些最好的软件就像论文一样,也就是说,当作者真正开始动手写这些软件的时候,他们其实不知道最后会写出什么结果。Lisp语言的黑客早就明白数据结构灵活性的价值。我们写程序的第一版时,往往会把所有事情都用列表的形式处理。所以,这些最初版本可能效率低下得惊人,你必须努力克制自己才能忍住不动手优化它们,这就好像吃牛排的时候必须努力克制自己才能不去想牛排是从哪里来的一样,至少对我来说是这样的。 + +  一百年后的程序员最需要的编程语言就是可以让你毫不费力地写出程序第一版的编程语言,哪怕它的效率低下得惊人(至少按我们今天的眼光来看是如此)。他们会说,他们想要的就是很容易上手的编程语言。效率低下的软件并不等于很烂的软件。一种让程序员做无用功的语言才真正称得上很烂。浪费程序员的时间而不是浪费机器的时间才是真正的无效率。随着计算机速度越来越快,这会变得越来越明显。 + +  我觉得,放弃字符串类型已经是大家可以接受的想法了。Arc语言已经这样做了,看上去效果不错。以前用正则表达式很难描述的一些操作,现在用回归函数可以表达得很简单。 + +  这种数据结构的扁平化趋势会怎么发展?我极其努力地设想各种可能,得到的结果甚至令我自己都吓了一跳。比如,数组会不会消失?毕竟数组只是散列表的一个子集,其特点就是数组的键全部都是整数向量。进一步说,散列表本身会不会被列表取代呢? + +  还有比这更惊人的预言。在逻辑上其实不需要对整数设置单独的表示法,因为可以把它们也看作列表,整数n可以用一个n元素的列表表示。这一样能完成数学运算,只是效率低得让人无法忍受。 + +  编程语言会发展到放弃基本数据类型之一的整数这一步吗?我这样问并不是真的要你严肃思考这个问题,更多的是希望打开你对未来的思路。我只是提出一种假想的情况:如果一股不可抗拒的力量遇到了一个不可移动的物体,会发生什么事。具体就本文而言:一种效率低得不可想象的语言遇到了性能强大得不可想象的硬件,会发生什么事。我看不出放弃整数类型有什么不妥。未来相当漫长。如果我们想要减少语言内核中基本公理的数目,不妨把眼光放得远一点,想一想如果时间变量t趋向无限会怎么样。一百年是一个很好的参考指标,如果你觉得某个想法在一百年后仍然可能是难以令人接受,那么也许一千年后它也依然难以令人接受。 + +  让我说清楚,我的意思不是说所有的整数运算都用列表来实现,而是说语言的内核(不涉及任何编译器的实现)可以这样定义。在现实中,任何进行数学运算的程序可能都是以二进制形式表示数字,但是这属于编译器的优化,而不属于语言内核语义的一部分。 + +  另一种消耗硬件性能的方法就是,在应用软件与硬件之间设置很多的软件层。这也是我们已经看到的一种趋势,许多新兴的语言就被编译成字节码^。比尔·伍兹曾经对我说,根据经验判断,每增加一个解释层,软件的运行速度就会慢一个数量级。但是,多余的软件层可以让编程灵活起来。 + +^「字节码(byte code)是已经经过编译但是需要进一步处理才能变成机器码的中间代码。它的好处是与硬件和软件环境无关,在编译器的配合下,可以在不同的操作系统上运行。字节码的典型运用就是Java语言。——译者注」 + +  Arc^语言最初的版本就是一个极端的例子,它的层很多,运行速度非常慢,但是确实带来了相应的好处。Arc是一个典型的“元循环”(meta circular)解释器,在Common Lisp的基础上开发,很像约翰·麦卡锡在他经典的Lisp论文中定义的eval函数。Arc解释器一共只有几百行代码,所以很便于理解和修改。我们采用的Commom Lisp版本是CLisp,它本身是在另一个字节码解释器的基础上开发的。所以,我们一共有两层解释器,最上面那层效率低下得惊人,但是语言本身是能用的。我承认只是勉强可用,但是确实能用。 + +^「Arc是Lisp的一种方言,由本书作者提出,目前由他本人和罗伯特·莫里斯负责开发。——译者注」 + +  即使是应用程序,使用多层形式开发也是一种很强大的技巧。自下而上的编程方法意味着要把软件分成好几层,每一层都可以充当它上面那一层的开发语言。这种方法往往会产生更小、更灵活的程序。它也是通往软件圣杯——可重用性(reusability)——的最佳路线。从定义上看,语言就是可以重用的。在编程语言的帮助下,你的应用程序越是采用这种多层形式开发,它的可重用性就越好。 + +  可重用性这个概念多多少少与20世纪80年代兴起的面向对象编程有些关联。不管怎样寻找证据,也不可能把这两件事完全分开。某些使用面向对象编程开发出来的软件确实具有可重用性,但是这不是因为它使用了面向对象编程,而是因为它的开发方法是自下而上的。以函数库为例,它们具有可重用性,是因为它们属于语言的一部分,而不是因为它们采用面向对象或者其他编程方法。 + +  顺便说一句,我不认为面向对象编程将来会消亡。我觉得,除了某些特定的领域,这种编程方法其实没有为优秀程序员带来很多好处,但是它对大公司有不可抗拒的吸引力。面向对象编程使得你有办法对面条式代码进行可持续性开发。通过不断地打补丁,它让你将软件一步步做大。大公司总是倾向于采用这样的方式开发软件。我预计一百年后也是如此。 + +  既然是谈论未来,最好谈谈并行计算(parallel computation),因为看上去并行计算好像就是为未来而存在的。无论怎么想,并行计算似乎都是未来生活的一部分。 + +  它会在未来实现吗?过去二十年,人们都在说并行计算马上就会来临。但是,到目前为止,它对编程实践并没有太大影响。这是真的吗?芯片设计师已经不得不把它考虑在内,为多CPU计算机开发系统软件的程序员也是如此。 + +  但是,真正的问题在于,并行计算到底能达到哪个抽象层次?一百年后它就会影响到开发应用软件的程序员吗?或者,它还只是编译器作者需要考虑的事情,在应用软件的代码中根本就无处寻觅? + +  一种可能是,大多数可以用到并行计算的场合,人们都会放弃使用并行计算。虽然我总的预测是未来的软件会挥霍掉大部分新增的硬件性能,但是并行计算是一个特例。我估计随着硬件性能得到惊人的提升,如果你明确地说想要并行计算,那么肯定可以得到它,但是通常情况下你不会用到它。这意味着,除了一些特殊的应用程序,一百年后的并行计算不会是那种大规模的并行计算(massive parallelism)。我预料,对于普通程序员来说,一切更像对进程进行分叉,然后让多个进程在后台并行运行。 + +  这是编程进行到很后期才要做的事情,属于对程序的优化,类似于你想开发一种特定的数据结构来取代现有的数据结构。程序的第一个版本通常会忽略并行计算提供的各种好处,就好像编程开始时会忽略某种特定的数据结构给你带来的好处一样。 + +  除了某些特定的应用软件,一百年后,并行计算不会很流行。如果应用软件真的大量使用并行计算,这就属于过早优化了。 + +  一百年后会有多少种编程语言?从最近来看,出现了大量的新语言。硬件性能提高是一个原因,这就允许程序员根据使用目的在运行速度和编程便利性之间做出不同的取舍。如果这就是未来的趋势,那么一百年后强大的硬件只会使得语言数目变得更多。 + +  伹是,另一方面,一百年后的常用语言可能只有很少几种。部分原因是基于我的乐观主义,我相信在未来,如果你的作品确实很出色,你可能选择的是一种开发起来很方便的语言。使用这种语言写出来的软件第一版的运行速度很慢,只有对编译器进行优化设置后运行速度才会提升。既然我抱有这种乐观主义,那么我还要做一个预言。有些语言可以达到机器的最高效率,另一些语言的效率则慢到刚刚可以运行而已,两者之间存在巨大的差距。我预言一百年后,这段差距之间的各个点上都会有对应的编程语言存在。 + +  因为这段差距正在变得越来越大,所以性能分析器(profiler)将变得越来越重要。目前,性能分析并没有受到重视。许多人好像仍然相信,程序运行速度提升的关键在于开发出能够生成更快速代码的编译器。代码效率与机器性能的差距正在不断加大,我们将会越来越清楚地看到,应用软件运行速度提升的关键在于有一个好的性能分析器帮助指导程序开发。 + +  我说将来可能只有很少几种常用语言,但没有把用于特定领域的“小众语言”(little language)算进去。我觉得,这些嵌入式语言的想法很不错,一定会蓬勃发展。但是我判断这些“小众语言”会被设计成相当薄的一层,使得用户可以一眼看出在底下作为基础的通用型语言,这样就减少了学习时间,降低了使用成本。 + +  谁来设计这些未来的语言?过去10年最激动人心的趋势之一就是开源语言的崛起,比如Perl、Python和Ruby。语言设计已经被黑客接管。到目前为止这样到底是好是坏还看不清楚,但是发展势头令人鼓舞。比如,Perl就有一些绝妙的创新。不过,它也包含了一些很糟糕的想法。对于一种充满进取心、大胆探索的语言来说,这也是很正常的事。以它现在这种变化的速率,大概只有上帝才知道一百年后Perl会变成什么样。有一句俗话说,如果你自己做不到,那就去当老师。这在语言设计领域不成立,我认识的一些最出色的黑客就在当教授。但是,当老师的人确实有很多事情不能做。研究性职位给黑客带来了一些限制。在任何学术领域,都有一些题目是可以做的,另一些题目是不可以做的。不幸的是,这两类题目的区别通常取决于它们写成论文后看上去是不是很高深,而不是取决于它们对软件业的发展是否重要。最极端的例子可能就是文学,文学研究者的任何成果几乎对文学创作者都毫无影响。 + +  虽然科学领域的状况要稍好一点,但是研究者可以做的题目与能够对设计优秀语言有所帮助的题目之间的交集小得令人沮丧。(奥林·希弗斯曾经对这一点表达不满,而且说得头头是道。)比如,研究变量类型的论文好像多得无穷无尽,尽管事实上静态类型语言看来无法真正支持宏(在我看来,一种语言不支持宏,那就不值得使用了)。 + +  新语言更多地以开源项目的形式出现,而不是以研究性项目的形式出现。这是语言的一种发展趋势。另一种发展趋势是,新语言的设计者更多的是本身就需要使用它们的应用软件作者,而不是编译器作者。这似乎是好的趋势,我期待它继续保持下去。 + +  一百年后的物理学基本上不可能预测。但是计算机语言不一样,现在就动手设计一种一百年后可以吸引使用者的新语言,这在理论上似乎是可能的。 + +  设计新语言的方法之一就是直接写下你想写的程序,不管编译器是否存在,也不管有没有支持它的硬件。这就是假设存在无限的资源供你支配。不管是今天还是一百年后,这样的假设好像都是有道理的。 + +  你应该写什么程序?随便什么,只要能让你最省力地写出来就行。但是要注意,这必须是在你的思维没有被当前使用的编程语言影响的情况下。这种影响无处不在,必须很努力才能克服。你也许觉得,对于人类这样懒惰的生物,喜欢用最省力的方式写程序是再自然不过的事情。但是事实上,我们的思想可能往往会受限于某种现存的语言,只采用在这种语言看来更简单的形式,它对我们思想的束缚作用会大得令人震惊。新语言必须靠你自己去发现,不能依靠那些让你自然而然就沉下去的思维定势。 + +  采用程序的长度作为它耗费工作量的近似指标是个很有用的技巧。这里的程序长度当然不是指字符的数量,而是指各种句法元素的总长度,基本上就是整个解析树的大小。也许不能说最短的程序就是写起来最省力的程序,但是当你一心想把程序写得简洁而不是松松垮垮时,你就更接近省力这个目标,你的日子也会变得好过得多。所以,设计语言的正确做法就变成了,看着一段程序,然后问自己是不是能把它写得更短一点? + +  实际上,用想象出来的一种一百年后的语言来写程序,这件事情的可靠程度,取决于你对语言内核的估计是否足够正确。常规的排序,你现在就可以写出来。但是,想要预测一百年后的语言使用什么函数库就很难了。很可能许多函数库针对的领域现在还根本不存在。比如,如果SETI@home计划^成功,我们就需要与外星人联系的函数库了。当然,如果外星人的文明高度发达,已经到了用XML格式交换信息的地步,那就不需要新的函数库了。 + +^「SETI@home是一个寻找地球以外智慧生命的科学实验、由加州大学伯克利分校发起并主持。它使用射电望远镜监听太空中的无线电信号,然后用计算机进行数据分析,如果发现有些信号不可能自然产生,就可以证明外星文明的存在。1995年,该项目决定向志愿者开放,使用全球联网的大量计算机进行分布式计算,1999年5月开始正式运行。详细情况参见u。——译者注」 + +  另一个极端是,我觉得今天你就能设计出一百年后的语言内核。事实上,在有些人看来,大部分语言内核在1958年就已经设计出来了^。 + +^「Lisp语言的第一版规格说明书是1958年发布的。——译者注」 + +  如果今天就能使用一百年后的编程语言,我们会用它编程吗?观古而知今。如果1960年就能使用今天的编程语言,那时的人们会用它们吗? + +  在某些方面,回答是否定的。今天的编程语言依赖的硬件在1960年并不存在。比如,Python这样的语言,正确的缩进(indentation)在编写时很重要,但是1960年的计算机没有显示器,只有打印机终端,所以编写起来就不会很顺利。但是,如果把这些因素排除在外(你可以假设,我们只在纸上编程),20世纪60年代的程序员会喜欢用现在的语言编程吗? + +  我想他们会的。某些缺乏想象力、深受早期编程语言思想影响的人可能会觉得不可能。(没有指针运算,如何复制数据?没有goto语句,如何实现流程图?)但是我想,那时最聪明的程序员一定能轻松地使用今天的大多数语言,假定他们能得到的话。 + +  如果我们现在就能拥有一百年后的编程语言,那就至少能用来写出优秀的伪码^。我们会用它开发软件吗?因为一百年后的编程语言需要为某些应用程序生成快速代码,所以很可能它生成的代码能够在我们的硬件上运行,速度也还可以接受。相比一百年后的用户,我们也许不得不对这种语言做更多的优化,但是总的来看,它应该仍然会为我们带来净收益。 + +^「伪码又称虚拟代码,用来抽象地描述算法,而不是现实存在的编程代码。——译者注」 + +  现在,我们的两个观点就是:(1)一百年后的编程语言在理论上今天就能设计出来;(2)如果今天真能设计出这样一种语言,很可能现在就适合编程,并且能够产生更好的结果。如果我们把这两个观点联系起来,那就得出了一些有趣的可能性。为什么不现在就动手尝试写出一百年后的编程语言呢? + +  当你设计语言的时候,心里牢牢记住这个目标是有好处的。学习开车的时候,一个需要记住的原则就是要把车开直,不是通过将车身对齐画在地上的分隔线,而是通过瞄准远处的某个点。即使你的目标只在几米开外,这样做也是正确的。我认为,设计编程语言时,我们也应该这样做。 + + + + + +  12.拒绝平庸 + +  1995年,罗伯特·莫里斯和我一起创办了Viaweb。我们打算开发软件,让用户可以自己搭建网上商店。当时,我们的创意是把软件放在服务器端,使用普通的网页作为用户界面。 + +  当然,那个时候许多人可能都想到过这个主意。但是,就我所知,Viaweb是第一个互联网应用程序。在我们看来,这真的是很新颖的想法,所以我们就把公司命名为Viaweb,意即我们的软件通过网络使用,而不是运行在你的桌面电脑上^。 + +^「在英语中,via是一个介词,意为“经过……”,所以Viaweb的意思就是经过网络。——译者注」 + +  另一个特别之处是,这个软件主要采用Lisp语言开发^。它是最早的用Lisp语言开发的大型应用程序,在此之前,Lisp语言主要用于大学和实验室中。 + +^「一开始的时候,Viaweb有两个部分——编辑器和订单处理系统。前者用Common Lisp开发,主要供用户搭建自己的网站。后者用C语言开发,主要用来处理订单。在Viaweb的第一版中,Lisp是最主要的开发语言,因为订单处理系统非常小,占用的代码很少。2003年1月,Yahoo发布了Viaweb编辑器的新版本,采用C++和Perl开发。但是,为了把原始程序翻译成C++,他们可能不得不专门写一个Lisp解释器,因为据我所知,Viaweb所有的页面生成模板还没变,都是使用Lisp代码。(参见Greenspun写的Tenth Rule一书第198页。)」 + + + +秘密武器 + +  埃里克·雷蒙德写过一篇文章《如何成为一个黑客》(How to Become aHacker)。文中有一部分专门谈到,在他看来,如果你想当一个黑客,应该学习哪些语言。他建议从Python和Java入手,因为它们比较容易学。想当高级一点的黑客,还应该学习C和Perl。前者用来对付Unix系统,后者用来系统管理和开发CGI脚本。最后,真正非常严肃地把黑客作为人生目标的人,应该考虑学习Lisp: + +Lisp很值得学习。你掌握它以后,会感到它给你带来的极大启发。这会大大提高你的编程水平,使你成为一个更好的程序员。尽管在实际工作中极少会用到Lisp。 + +  在讨论学习拉丁语有何价值时,你往往也会听到这一类的话。拉丁语无助于你找工作(也许古典文学教授的工作除外),但是它可以训练你的思维,帮助你更好地运用母语(比如英语)进行写作。 + +  但是且慢,拉丁语的比喻并不完全适合Lisp语言。拉丁语无助于你找工作的原因是因为没有人说拉丁语。如果你用它写作,没有人能看懂。但是,Lisp是一种计算机语言,无论我们程序员使用哪一种语言与计算机交谈,它都能听懂。 + +  如果埃里克·雷蒙德没有说错,Lisp语言确实可以使你成为更好的程序员,那么为什么你不使用它编程呢?如果画家有一支让他画得更好的画笔,我觉得他应该会用这支笔完成所有的画作,对不对?我在这里不是想证明埃里克·雷蒙德错了。他的观点整体上非常正确,他对Lisp语言的看法确实是大多数人的看法,但是这里面就是有一个矛盾:Lisp语言能让你成为更好的程序员,但你却不用它,这难道不奇怪吗? + +  为什么不用呢?编程语言毕竟是一种工具。如果Lisp语言真的能开发出更好的程序,你就应该用它。如果它无助于编程,那么就不会有人需要它。 + +  这不仅仅是一个理论问题。软件业是竞争非常激烈的行业,而且容易出现垄断。在不考虑其他情况的条件下,某家公司的软件更快更好用,就会把竞争者赶出这个市场。一旦你开始创业,你就会更深切地感受到这一点。一般情况是,创业公司要么赢得一切,要么彻底失败。你要么成为富翁,要么一无所获。创业的时候,如果你选择了错误的技术,竞争对手就会一举打败你。 + +  罗伯特·莫里斯和我都很了解Lisp语言,我们相信自己的直觉,找不出任何不使用它的理由。我们知道其他人都用C++或Perl开发软件, 但是我们不觉得这说明了什么问题。如果别人用什么技术,你也用什么技术,那么你大概只能使用Windows了。选择使用哪一种技术的时候,你不能考虑别人的做法,只能考虑什么样的技术能最好地完成工作。 + + + +图12-1 我和罗伯特·莫里斯在Viaweb,1996年年初 + +  创业公司尤其如此。大公司可以互相模仿,但是创业公司就不行。我觉得很多人没有意识到这一点,尤其是一些创业者。 + +  大公司每年平均成长大约10%。所以,如果你掌管一家大公司,只要每件事都做到大公司的平均水准,你就能得到大公司的平均结果,也就是每年成长大约10%。 + +  如果你掌管创业公司,当然也可以这样。你把每件事都做到平均水准,就能得到平均结果。问题在于,小公司的平均结果就意味着关门倒闭。创业公司的生存率远低于50%。所以,如果你掌管创业公司,最好做一些独特的事情,否则就会有麻烦。 + +  回到1995年,我们懂得一些竞争对手不懂的事情(至少在我们看来是如此),这些事情甚至直到今天都很少有人懂:如果开发只在自己服务器上运行的软件,这意味着你想用什么语言就能用什么语言。如果开发桌面软件,就完全不一样了,大多数情况下你只能使用操作系统所用的开发语言。10年前,开发桌面软件就意味着要使用C语言。但是,对于互联网软件,你能使用任何你想用的语言。如果你还同时拥有操作系统和语言的源码,那么你的自由就更大了。 + +  但是,这种新出现的自由是一把双刃剑。既然你可以使用任何语言,你就不得不思考到底使用哪一种语言。如果你的公司对这种选择的自由视而不见,而竞争对手看到了,那么你就有被击败的危险。 + +  如果选择哪种语言都行,你到底使用哪一种语言?我们选择Lisp。首先,很明显,对于这个市场来说,快速开发出产品是很重要的。我们所有人都是从零开始,所以能够快速做出新功能的公司就会取得巨大的竞争优势。我们知道Lisp语言真的非常合适快速开发软件,而且我们的软件运行在服务器端,你一写完代码就能发布出去,所以这又进一步放大了快速开发的效果。 + +  如果其他公司不想使用Lisp语言,那就更好了。这会让我们拥有技术优势。我们不能放过任何有利的因素。创办Viaweb的时候,我们对于如何经营一家公司毫无经验,对市场推广、雇用员工、融资、发展新客户等都一无所知。在此之前,我和莫里斯甚至连一夭正式上班的经历都没有。我们唯一擅长的事情就是开发软件。我们希望这一点可以弥补我们的劣势。任何在软件开发上面有助于我们获得优势的事情我们都不能放过。 + +  可以这样说,我们使用Lisp只是一个大胆的冒险。我们设想如果用Lisp语言开发自己的软件,就能比竞争对手更快地写出新功能,还能做到他们做不到的事情。同时,因为Lisp是一种抽象层次非常高的语言,所以就不需要非常庞大的开发团队,这会降低成本。如果我们的设想是正确的,那么我们就能用更少的钱做出一个更好的产品,从而获得利润。最终,我们将独占市场,竞争对手什么也得不到,到头来只能退出这个行业。我们当时心里就是这么盘算的。 + +  这次冒险的结果如何?多少有点出人意料,它竟然达到了我们的设想。我们前前后后遭遇到很多竞争对手,一共大概有二三十个,但是他们的软件没有一个能与我们竞争。我们的软件运行在服务器端,用户可以“所见即所得”地搭建网上商店,感觉就像在操作桌面软件。我们的竞争对手使用CGI脚本。我们在功能上总是遥遥领先于他们。有时,他们出于绝望,试图引入我们没有的功能。但是,有了Lisp语言的帮助,我们的开发周期很短。有时候,竞争对手刚刚发布新闻稿宣布将引入新功能,我们就能在一两天内做出自己的版本。当对手找来的记者抽出时间打电话过来想了解我们的反应,我们就会告诉他我们已经有了这个功能。 + +  竞争对手一定觉得我们好像拥有了某种秘密武器,能够破解他们内部的通信或者其他机密。事实上,我们的确拥有秘密武器,但是没他们想的那么复杂。从来没有人向我们泄露他们的内部机密,只是我们的开发速度比别人想象的更快而已。 + +  9岁时,我碰巧读过弗雷德里克·福赛思的小说《刺杀戴高乐》(The Day of the Jackal)。小说的主角是一个刺客,有人雇他暗杀法国总统。那个刺客必须通过警察的岗哨才能到达可以俯视总统行进路线的公寓。他扮成柱着拐杖的老头从警察身边经过,没有引起任何人的怀疑。 + +  我们的秘密武器很类似上面的情景。我们使用一种奇特的人工智能语言开发软件,它的语法非常古怪,大量使用括号。多年来,要是听到别人这样描述Lisp语言,我会勃然大怒。但是现在,这却成了我们的优势。在竞争中,你的对手无法理解你的技术优势,这可是再宝贵不过了。商场如战场,对手摸不透你,你的胜算就增加了。 + +  虽然有些令人难为情,但是我必须承认,就是因为这个原因,在Viaweb创业期间我从来没有公开谈论过Lisp语言。我们对新闻媒体闭口不谈Lisp,如果你在我们的网站上捜索Lisp,只会发现我在个人介绍中提到过两次,那是我写的两本关于Lisp的书。这是故意的,创业公司对竞争对手应该越保密越好。如果他们不知道(或者不关心)我们的软件用什么语言开发,我就要把这个秘密保持下去^。 + +^「莫里斯觉得不用这么保密,因为即使竞争对手知道我们使用Lisp语言,对他们也不会有帮助:“如果他们真的聪明,早就已经在用Lisp编程了。”」 + +  最了解我们技术的人就是客户。他们不关心Viaweb用什么语言开发,但是发现它真的很好用。Viaweb可以让用户在几分钟内搭建起漂亮的网上商店。因此,主要通过口碑效应,我们得到了越来越多的新客户。1996年年底,我们支持的网上商店大约是70家。1997年,变成了500家。6个月后,雅虎收购我们的时候,我们有1070个用户。更名为Yahoo Store之后,这个软件继续主导市场,它是雅虎获利最丰厚的业务之一,用它搭建的商店成为“雅虎购物”(Yahoo Shopping)的基础。我在1999年离开了雅虎,所以不知道现在的准确用户数量,但是我上一次听到的数字是超过了2万。 + + + +Blub困境 + +  Lisp语言到底好在什么地方?如果它真的这么好,为什么没有得到广泛使用呢?这种问题听起来有点像绕口令,但是实际上回答起来很简单。Lisp语言的好处不在于它有一些狂热爱好者才明白的优点,而只在于它是目前最强大的编程语言。它没有得到广泛使用的原因就是因为编程语言不仅仅是技术,也是一种习惯性思维,非常难于改变。当然,上面两句话都需要进一步解释。 + +  我先从一个争议极大的命题开始讲起:编程语言的编程能力有差异。至少不会有人反对高级语言比机器语言更强大这一观点。今天的大多数程序员通常情况下都不会想用机器语言编程,而是使用一种高级语言,然后再让编译器帮你把它翻译成机器语言。这种观念甚至已经移植到了硬件,从20世纪80年代开始,硬件的指令集都是针对编译器而不是针对程序员设计的。 + +  大家都知道,徒手用机器语言写出整个程序是一件很蠢的事。但是,把这个观点推广到一种更普遍的情况,知道的人就不多了。如果你有好几种语言可以选择,在不考虑其他因素的情况下,你不选择最强大的那种语言就是一件很蠢的事^。 + +^「如果从图灵等价(Turing-equivatent)的角度来看,所有语言都是一样强大的,但是这对程序员没有意义。(没人想为图灵机编程。)程序员关心的那种强大也许很难正式定义,但是有一个办法可以解释,那就是有一些功能在一种语言中是内置的,但是在另一种语言中需要修改解释器才能做到,那么前者就比后者更强大。如果A语言有一个运算符,可以移除字符串中的空格,而B语言没有这个运算符,这可能不足以称A语言比B语言强大,因为你可以在B语言里写一个函数实现这个功能。但是,如果A语言支持某种高级功能(假定是递归),而B语言不支持,你就不可能通过自己编写函数库解决了,所以这就代表A语言比B语言更强大。」 + +  上面这个观点有许多例外情况。如果在开发的程序必须与另一个程序紧密配合,那么可能最好还是使用后者的开发语言。如果你的程序只是要做一些很简单的事(比如整数运算或者位操作),那就不妨使用一种比较靠近机器的低层次语言,主要原因是这样运行起来会更快一些。如果你的程序很短,只是为了特定场合一次性使用,那么你最好根据自己要解决的问题选择具有最强大函数库的语言,不过,总的来看,对于应用程序来说,还是应该选择总体最强大、效率也在可接受范围内的编程语言,否则都是不正确的选择,就好像你选择机器语言编程一样,只是程度上有差异而已。 + +  大家都公认机器语言属于非常低层次的语言。但是,至少在社会上很多人眼里,高级语言其实也差不多。但事实并非如此,高级语言与机器语言的差别很大。从技术上看,“高级语言”并不是一个定义很清晰的名词。在高级语言与机器语言之间并不存在一条明确的分界线。语言的抽象性是一条连续曲线,从最强大的语言一直到最底层的机器语言,每一种语言的能力都有差异^。 + +^「语言之间的关系或许还可以比喻成栅格结构(lattice),从下往上朝着顶端慢慢收窄。具体的形状在这里并不重要,重点是语言之间至少存在着一种偏序关系(partial order)。」 + +  以Cobol语言为例,通过编译器,它可以被编译成机器语言。从这个角度来说它是一种高级语言。但是,有谁会真的把Cobol当成与其他高级语言(比如Python)—样强大的语言?比起Python,它可能更接近机器语言。 + +  Perl 4如何?与Perl 5相比,它不支持闭包。所以,大多数Perl的黑客都认为Perl 5比Perl 4更强大。如果你同意这一点,就意味着你也认可一种高级语言可以比另一种高级语言更强大。因此,必然能够接着推导出,除了某些特殊情况,你就是应该使用目前最强大的语言。 + +  不过在现实中这个结论很少能落实。到了一定年龄之后,程序员极少主动更换自己的编程语言。不管习惯使用的是哪一种语言,他们往往认为这种语言已经足够好了。 + +  程序员非常忠于他们心爱的语言,我不想伤害任何人的感情,所以为了解释我的观点,我假设有一种Blub语言。它的抽象程度正好落在编程能力曲线的中点。它不是最强大的语言,但是要比Cobol或机器语言更高级。 + +  我们假设Blub程序员既不使用机器语言也不使用Cobol语言。他认为前者是编译器的工作,后者他不知道有什么用(Cobol语言甚至连XX功能也没有,Blub语言就具备这个功能)。 + +  只要这位程序员向曲线下方望去,他就肯定知道自己正在看的是一些比较低层次的语言。因为那些语言明显不如Blub语言强大,缺少他习惯使用的某些功能。但是,当他向曲线上方望去,他不会意识到自己正在看更高层次的语言,而是仅仅觉得自己正在看某些奇怪的语言。他可能认为那些语言也许与Blub一样强大,但是加入了不少怪东西。他觉得Blub语言已经够用了,不用再考虑那些语言了。这时,他的思维就是已经被Blub同化了。 + +  但是,当我们转换视角,把自己想象成使用曲线更上方某一种语言的程序员并往下看的时候,我们就会发现,自己也同样轻视Blub语言。你怎么用Blub语言完成工作呢?它甚至连YY功能都没有! + +  通过归纳法我们就会知道,唯一洞悉所有语言优劣的人必然是懂得最强大的那种语言的人。(这大概就是埃里克·雷蒙德所说的Lisp语言使你成为一个更好的程序员的意思。)由于Blub困境的存在,你无法信任其他人的意见:他们都满足于自己碰巧用熟了的那种语言,他们的编程思想都被那种语言主宰了。 + +  我自己的经历也证实了这个看法。高中时我喜欢用Basic语言编程。这种语言功能很弱,甚至不支持递归,很难想象没有递归还怎么编程。但是我那时根本没觉得有损失,Basic语言控制了我的思维。当时我非常精通Basic语言,只要是学过的部分都能熟练地使用。 + +  雷蒙德推荐的五种黑客应该学会的语言,其强大程度各有不同,分布在编程能力曲线五个不同的点上。它们的相对位置是一个敏感的话题。我只想说,我认为,Lisp语言在最上方。为了证明这个论断,让我告诉你,我发现Lisp有一个功能,其他四种语言都没有。我觉得,没有宏(macro)的话,那些语言怎么编程呢^? + +^「把宏说成一种独立的功能有误导之嫌。在实际运用中,如果没有其他Lisp功能(比如闭包和函数的rest参数)的配合,Lisp的宏也不会有太大作用。」 + +  许多语言自称也有宏,但是Lisp的宏是独一无二的。信不信由你,Lisp宏的作用与括号有关。Lisp语言的设计者大量使用括号并不是为了标新立异。Blub语言的程序员会觉得Lisp代码看上去很怪,有那么多括号,但这是有原因的。它们是Lisp与其他语言存在巨大差异的外在表现。 + +  Lisp代码由Lisp数据对象构成。其他语言的源代码一般由字符组成,字符串是主要数据类型之一,但是Lisp语言不完全是这样。经过解析器处理之后,Lisp代码就变成了你可以遍历的数据结构。 + +  如果你理解编译器的工作原理,那么事实是,与其说Lisp有一种很奇特的语法,还不如说它根本没有语法。一般的源代码程序经过编译器解析会生成解析树。Lisp的奇特之处就在于,你可以完全写出程序,控制这种解析树,进行任意的存取操作。Lisp的这种程序就叫做宏,它们可以用来生成其他程序。 + +  生成其他程序的程序?什么时候需要用到它们?如果你用Cobol语言思考,会觉得很少需要用到它们。如果你用Lisp语言思考,会发现它们无所不在。我要是在这里举一个Lisp宏功能强大的实例,可能更便于说明问题。你看这个例子!是不是很方便啊?但是如果这样做,对于不懂Lisp语言的人来说,这篇文章就不知所云了。本文没有办法把所有事情都解释清楚,无法帮助你彻底理解这门语言。我在Ansi Common Lisp一书中已经尽可能地简化内容、快速讲解,但是也要到全书篇幅将近一半的地方(第11章)才能讲到宏。 + +  但是我想可以给出事实证明我的这个观点。Viaweb编辑器的源码之中大约20%~25%是宏。它们比普通的Lisp函数难写,而且如果用在不必要的地方,反而是一种很不良的编程习惯。所以,我们代码中的每一个宏都有充分的使用理由。这意味着这个程序至少20%~25%代码的功能无法轻易地用其他语言实现。我在前文一再声称Lisp语言无比强大,无论Blub语言的程序员对此多么怀疑,看到这个事实应该足以让他感到很好奇,我们居然用到了这么多宏。我们这样写代码并不是为了好玩。我们是一家小创业公司,拚尽全力写代码,只是为了给竞争对手布下重重障碍,不让他们赶上来。 + +  抱有怀疑态度的人可能会想上面的论断是否成立,两者之间是否存在相关关系。我们的一大块代码能够做到其他语言很难做到的事。只凭这一点是否能得出结论:我们的软件能够做到竞争对手的软件做不到的事?我必须说,这里面可能就是存在相关关系。我鼓励你继续深入思考这个问题。表面上,一个老年人拄着拐杖蹒跚而行,你不要只是看看而已,他背后可能有更多的故事值得了解,你应该想得更深一些。 + + + +创业公司的合气道 + +^「合气道(Aikido)是一种日本的武术,主要特点是“以柔克刚”、“借劲使力”、“不主动攻击”。——译者注」 + +  尽管Lisp语言非常强大,但是我并不期望有谁(超过25岁的人)读完这篇文章就立刻开始学习它。我写这篇文章的目的不是想改变任何人的观点,而是想让那些有兴趣学习Lisp语言的人放心,他们知道Lisp是一种强大的语言,但是担心使用者太少,学会了也没什么用。我想让他们明白,在商业竞争中使用Lisp语言就会带来优势。你的竞争对手不懂Lisp,这将使得它的强大更充分地表现出来。 + +  如果你想在创业公司中使用Lisp语言,你不仅不应该担心使用它的人太少,反而应该希望这种局面保持下去。事实上,现状很可能真的会保持下去。因为编程语言的特点之一就是它会使得大多数使用它的人满足于现状,不想改用其他语言。人类天性变化的速度大大慢于计算机硬件变化的速度,所以编程语言的发展通常比CPU的发展落后一二十年。在麻省理工学院这样的地方,20世纪60年代初就开始使用高级语言了。但是,许多公司直到80年代还在用机器语言编程。我敢打赌,很多人对机器语言恋恋不舍,直到CPU开始采用精简指令集^了才不得不放弃使用机器语言。这就好比酒吧已经到了打烊时间,酒保开始整理桌子、收拾东西准备回家,客人才被迫离开。 + +^「精简指令集计算机(Reduced Instruction Set Computer,简称RISC)是CPU的一种架构,对指令数目和寻址方式都做了精简,使其实现更容易,执行速度更快,编译器的效率更高。它在20世纪80年代开始得到大规模采用。——译者注」 + +  技术的变化速度通常是很快的。但是,编程语言不一样,与其说它是技术,还不如说是程序员的思考模式。编程语言是技术和宗教的混合物^。所以,一种很普通的编程语言就是很普通的程序员使用的语言,它的变化就像冰山那样缓慢。大概在1960年,Lisp语言引入了垃圾回收机制(Garbage Collection),今天已经被广泛认为是非常好的做法。Lisp的动态类型特点也同样受到越来越多人的认同。闭包是20世纪60年代Lisp语言引入的功能,现在的接受程度还很低。宏也是60年代中期Lisp语言引入的,现在还是一片处女地。 + +^「所以,如果你想对编程语言进行比较,那就做好准备打一场宗教战争,或者索性就写一本绝对不带个人色彩的大学教材,枯燥得像人类学研究一样。那些喜欢平静生活的人以及想要得到终身教职的人对这个话题唯恐避之不及。但是,必须承认的是,它只是一半与宗教有关,所以剩下的一半依然值得研究,尤其是当你要设计新语言的时候。」 + +  很显然,那些很普通的编程语言正在主导一切。我不建议你挑战这种强大的习惯势力,相反,我建议你向日本合气道选手学习,利用这种势力削弱你的竞争对手,让他们自食其果。 + +  如果你为大公司工作,想要改用Lisp语言可能不是一件容易的事。你很难说服自以为是的老板,让他允许你用Lisp语言开发程序。老板受到报纸的影响,认为某些其他语言将主宰世界(就像20年前Ada语言受到的评价)。但是,如果你为创业公司工作,那里没有这样的老板,那么你就能和我们一样,将他人的Blub困境转变为你的优势。你的竞争对手被牢牢粘在那些很普通的语言上面,永远都追不上你使用的技术。 + +  如果你为创业公司工作,那么这里有一个评估竞争对手的妙招——关注他们的招聘职位。他们网站上的其他内容无非是一些陈腐的照片和夸夸其谈的文字,但是招聘职位却不得不写得很明确,反映出他们到底想干什么,否则就会引来一大批不合适的求职者。 + +  在Viaweb创业期间,我读过大量竞争对手的招聘职位。差不多每个月都有一个新的竞争对手浮出水面。我首先会看他们的产品有没有一个试用版,然后就去找他们的招聘职位。这样过了几年,我就知道哪些公司值得关注,啷些公司不用在意。有些公司的职位描述使用了大量的IT词汇,这样的内容越多,这家公司就越不构成威胁。最不用担心的竞争对手就是那些要求应聘者具有Oracle数据库经验的公司,你永远不必担心他们。如果是招聘C++或Java程序员的公司,对你也不会构成威胁。如果他们招聘Perl或Python程序员,就稍微有点威胁了。至少这听起来像一家技术公司,并且由黑客控制。如果我有幸见到一家招聘Lisp黑客的公司,就会真的感到如临大敌。 + + + + + +  13.书呆子的复仇 + +  软件业有一场永不停息的战斗,书生气的开发者与官僚主义的经理之间总是发生冲突。大家应该都看过漫画《呆伯特》,熟悉里面那个发型高耸的经理^。我想,技术行业的大部分人对这个角色都过目难忘,因为在他们的公司里就有这个角色的原型。 + +^「这篇文章发上网后,我收到了一封显然发自肺腑的电子邮件,开头是这样写的:发型高耸?难道有谁的头发不是向上耸的吗?如果你只能想出这种词去悔辱你的经理,那么你们这些人活该被称为“书呆子”。」 + +  那些经理奇迹般地同时具备了两种很常见但很难结合在一起的特点:(a)对技术一无所知;(b)对技术有强烈的个人观点。 + +  举例来说,假设你需要写一个软件。你的经理根本不懂这个软件的运作机制,也不知道各种编程语言有什么区别。但是,他竟然明确要求你一定要使用某一种语言进行开发。没错,他就是要求你一定要用Java语言。 + +  为什么他会提出这种要求?让我们看看他脑袋里是怎么想的。他的想法无非就是,Java是业界的标准。我知道肯定如此,因为媒体对此有铺天盖地的报道。既然它是标准,那么使用它就不会错。另外,这也意味着人才市场上肯定有无数Java程序员,即使现在为我打工的这批人都辞职了(真奇怪,这种事情总是不断发生),我也能够轻易地找到替代者。 + +  嗯,这听起来也不无道理。但是,它的前提是一个没有说出口的假设,而这个假设实际上是错的。你的经理相信所有编程语言的功能都差不多,可以互相替代。如果这种想法是对的,那么他要求你用Java编程就很合理了。反正编程语言之间没有区别,那么就用大家都在用的那种语言吧。 + +  但是,编程语言是不一样的。就算不探讨各种语言之间的具体区别,我也能向你证明这一点。回到1992年,如果你问经理使用什么语言开发软件。他会像今天一样毫不迟疑地回答说C++。如果所有编程语言都一样,为什么答案变了?进一步说,为什么Java语言的设计者要如此麻烦地去创造一种新语言呢? + +  一般来说,如果你动手创造一种新语言,那是因为你觉得它在某些方面会优于现有的语言。Java语言之父詹姆斯·戈斯林在第一份《Java白皮书》中说得很清楚,之所以要设计Java,就是想解决C++的一些弱点。所以结论就是,各种编程语言的编程能力是不相同的。如果你接受你的经理的假设,然后一路追溯到Java语言的源头,就会得到与他的假设完全不同的结果。 + +  到底谁对?戈斯林还是你的经理?结果当然是意料之中的,戈斯林是正确的。某些情况下,一些语言就是比另一些语言更出色。可是这样一说又导致了另外的问题。C++不适合解决某些难题,所以Java才被设计出来。那么,什么情况下应该使用Java,什么情况下应该使用C++呢?会不会某些情况下其他语言比它们更合适呢? + +  一旦你开始思考这个问题,就会发现它非常棘手。如果你的经理被迫去想这个问题,当他看到它的复杂性时,脑袋恐怕都会爆炸。如果所有语言真的都一样,那么他只需选择一种看上去获得大部分人拥戴的语言就可以了,因为这实际上是一种流行风尚,而不是技术问题,所以即使像你的经理这样对技术无知的人也有可能轻松得到正确答案。但是,如果语言各有不同,你的经理就会突然发现,有两个互相关联的方程,他必须找到一个能够同时满足两个方程的最佳解,而最要命的却是他对此根本一无所知。第一个方程是找到(相对于要解决的问题)能够适用20年左右的最佳语言,第二个方程是(为这种语言)找到合适的程序员、函数库的机会有多大。如果假定所有语言都不同,就会遇到这种苦苦求解的情况,所以难怪你的经理不愿意接受这个假设了。 + +  认为所有语言都一样的看法的缺点是自欺欺人,但是优点是可以使许多事情变得很简单。我想这就是为什么它被广泛接受的主要原因。它是一个令人舒服的想法。 + +  大家都觉得Java—定有过人之处,因为它是一种很酷的新兴编程语言。但是真的如此吗?如果你站在远处观察编程语言的世界,似乎Java就是最新的东西。(如果你站得足够远,那么你看到的所有东西就是Sun公司出钱制作的大型霓虹广告牌。)但是,如果你靠近观察这个世界,就会发现不同的人对“酷”的理解是不一样的。在黑客圏子里,Perl被公认比Java酷得多。黑客社区网站Slashdot就是用Perl开发的。我估计你不可能看到黑客愿意使用Java的JSP技术开发网站。可是,还有一种更新的语言叫做Python,它的使用者往往看不起Perl。另一些人则认为Ruby语言是取代Python的最佳选择。 + +  当你按照Java、Perl,Python,Ruby这样的顺序观察这些语言,你会发现一个有趣的结果。至少,如果你是一个Lisp黑客,你就看得出来,排在越后面的语言越像Lisp。Python语言模仿Lisp,甚至把许多Lisp黑客认为属于设计错误的功能也一起模仿了。至于Ruby语言,如果回到1975年,你声称它是一种有着自己句法的Lisp方言,没有人会提出反对意见。编程语言现在的发展不过刚刚赶上1958年Lisp语言的水平。 + + + +朝着数学的方法发展 + +  1958年,约翰·麦卡锡第一个提出了Lisp语言。我认为,当前最流行的编程语言不过只是实现了他在1958年的想法而已。 + +  这怎么可能呢?计算机技术的发展不是日新月异吗?1958年的计算机的运算能力还不如今天的电子表,而体积却大得像冰箱^。那时的技术怎么可能超过今天的水平呢? + +^「IBM 704型计算机的CPU就像冰箱一样大,并且重得多(1429千克)。4K大小的RAM则装在另外一个箱子里,重达1800千克。相比之下,Sub-zero 690是最大的家用冰箱型号之一,重量还不到300千克。 」 + + + +图13-1 IBM 704,美国劳伦斯利弗莫尔国家实验室,1956年 + +  让我告诉你原因。这是因为设计者本来没打算把Lisp设计成编程语言,至少不是我们现在意义上的编程语言。我们今天所说的编程语言指的是用来告诉计算机怎么做的一种工具。麦卡锡最后确实有意开发这种意义上的编程语言,但是实际上他做出来的Lisp却是完全不同的一种东西,语言的基础是他的一种理论演算,他想用更简洁的方式定义图灵机。正如他后来所说: + +Lisp比图灵机表达起来更简洁。证明这一点的一种方法就是写一个Lisp通用函数,证明它比图灵机的一般性描述更短、更易僅。这个Lisp函数就是eval……它用来计算Lisp表达式的值……。编写eval函数需要发明一种表示法,能够把Lisp函数表示成Lisp数据。设计这种书写法完全是为了满足论文写作的需要。(我)根本没有想过用它来编写Lisp程序并在计算机上运行。 + + + +图13-2 书呆子之王约翰·麦卡锡 + +  1958年年底,麦卡锡的一个学生史蒂夫·拉塞尔^看到了eval函数的定义,意识到如果把它翻译成机器语言,就可以把Lisp解释器做出来。这在当时是非常令人吃惊的事。麦卡锡后来回忆: + +拉塞尔对我说:“我想把eval编成程序……”我告诉他,别把理论和实践混淆,eval只是用来读的,不是用来做计算的。但是他执意要做,并且还真的做出来了。就是说,他把我论文中的eval编译成了[IBM] 704计算机的机器码,修正了bug,然后对外宣布做出了Lisp语言的一种解释器,这倒没有说错,确实如此。所以,从那个时候开始,Lisp语言就基本上是它现在的样子了…… + +^「Steve Russell,也是历史上第一个电脑游戏的作者,1962年他写了《太空大战》(Spacewar)。」 + +  这样一下子,就在几个星期之内,麦卡锡发现他的理论演算变成了一种实际的编程语言,而且出乎意料地强大。 + +  由此也就得出了20世纪50年代的编程语言到现在还没有过时的原因。简单说,因为这种语言本质上不是一种技术,而是数学。数学是不会过时的。你不应该把Lisp语言与50年代的硬件联系在一起,而是应该把它与快速排序(Quicksort)算法进行类比。这种算法是1960年提出的,至今仍然是最快的通用排序方法。 + +  Fortran语言也是20世纪50年代出现的,并且一直使用至今。它代表了语言设计的一种完全不同的方向。Lisp语言是无意中从纯理论发展为编程语言的,而Fortran从一开始就是作为编程语言设计出来的。但是,今天我们把Lisp看成高级语言,而把Fortran看成一种相当低层次的语言。 + +  1956年Fortran刚诞生的时候,叫做Fortran I,与今天的Fortran语言差别极大。Fortran I实际上是汇编语言加上数学,在某些方面还不如今天的汇编语言强大。比如,它没有子例程,只有分支跳转结构(branch)。今天的Fortran语言可以说更接近Lisp而不是Fortran I。 + +  Lisp和Fortran代表了编程语言发展的两大方向。前者的基础是数学,后者的基础是硬件架构。从那时起,这两大方向一直在互相靠拢。Lisp语言刚设计出来的时候就很强大,接下来的二十年它提高了运行速度。而那些所谓的主流语言把更快的运行速度作为设计的出发点,然后再用四十多年的时间一步步变得更强大。直到今天,最高级的主流语言也只是刚刚接近Lisp的水平。虽然已经很接近了,但还是没有Lisp那样强大。 + + + +为什么Lisp语言很特别 + +  Lisp语言诞生的时候就包含了9种新思想。其中一些我们今天已经习以为常,另一些则刚刚在其他高级语言中出现,至今还有2种是Lisp独有的。按照被大众接受的程度,这9种思想依次如下排列。 + +  (1) 条件结构(即if-then-else结构)。现在大家都觉得这是理所当然的,但是Fortran I就没有这个结构,它只有基于底层机器指令的goto结构。 + +  (2) 函数也是一种数据类型。在Lisp语言中,函数与整数或字符串一样,也属于数据类型的一种。它有自己的字面表示形式(literal representation),能够存储在变量中,也能当作参数传递。一种数据类型应该有的功能,它都有。 + +  (3) 递归。Lisp是第一种支持递归函数的高级语言^。 + +^「Lisp语言的许多特性(比如,把程序写成列表形式以及实现某种形式的递归)都在20世纪50年代的IPL-V语言中出现过。但是,IPL-V更像是汇编语言,它的程序中充满了操作码/地址对。参见Alien Newell等人编著的《IPL-V语言操作手册》(Information Processing Language-V Manual),Prentice-Hail,1961年出版。」 + +  (4) 变量的动态类型。在Lisp语言中,所有变量实际上都是指针,所指向的值有类型之分,而变量本身没有。复制变量就相当于复制指针,而不是复制它们指向的数据。 + +  (5) 垃圾回收机制。 + +  (6) 程序由表达式组成。Lisp程序是一些表达式树的集合,每个表达式都返回一个值。这与Fortran和大多数后来的语言都截然不同,它们的程序由表达式和语句组成。 + +  区分表达式和语句在Fortran I中是很自然的,因为它不支持语句嵌套。所以,如果你需要用数学式子计算一个值,那就只有用表达式返回这个值,没有其他语法结构可用,否则就无法处理这个值。 + +  后来,新的编程语言支持块结构,这种限制当然也就不存在了。但是为时已晚,表达式和语句的区分已经根深蒂固。它从Fortran扩散到Algol语言,接着又扩散到它们两者的后继语言。 + +  (7) 符号类型。符号实际上是一种指针,指向存储在散列表中的字符串。所以,比较两个符号是否相等,只要看它们的指针是否一样就行了,不用逐个字符地比较。 + +  (8) 代码使用符号和常量组成的树形表示法。 + +  (9) 无论什么时候,整个语言都是可用的。Lisp并不真正区分读取期、编译期和运行期。你可以在读取期编译或运行代码,也可以在编译期读取或运行代码,还可以在运行期读取或者编译代码。 + +  在读取期运行代码,使得用户可以重新调整(reprogram)Lisp的语法;在编译期运行代码,则是Lisp宏的工作基础;在运行期编译代码,使得Lisp可以在Emacs这样的程序中充当扩展语言(extension language);在运行期读取代码,使得程序之间可以用S表达式(S-expression)通信,近来XML格式的出现使得这个概念被重新“发明”出来了^。 + +「如果你不想让经理发现你正在使用Lisp编程,你可以告诉他你用的是XML。」 + +  Lisp语言刚出现的时候,这些思想与其他编程语言大相径庭,后者的设计思想主要由50年代后期的硬件决定。随着时间流逝,流行的编程语言不断更新换代,语言设计思想逐渐向Lisp靠拢。思想(1)到思想(5)已经被广泛接受,思想(6)开始在主流编程语言中出现,思想(7)在Python语言中有所实现,不过似乎没有专用的语法。 + +  思想(8)可能是最有意思的一点。它与思想(9)只是由于偶然原因才成为Lisp语言的一部分,因为它们不属于麦卡锡的原始构想,是由拉塞尔自行添加的。它们从此使得Lisp语言看上去很古怪,但也成为了这种语言最独一无二的特点。说Lisp语言古怪倒不是因为它的语法很古怪,而是因为它根本没有语法,程序直接以解析树(parse tree)的形式表达出来。在其他语言中,这种形式只是经过解析在后台产生,但是Lisp直接采用它作为表达形式。它由列表构成,而列表则是Lisp的基本数据结构。 + +  用一门语言自己的数据结构来表达该语言是非常强大的功能。思想(8)和思想(9),意味着你可以写出一种能够自己编程的程序。这可能听起来很怪异,但是对于Lisp语言却是再普通不过。最常用的做法就是使用宏。 + +  术语“宏”在Lisp语言中的意思与其他语言中的不一样。Lisp宏无所不包,它既可能是某样表达式的缩略形式,也可能是一种新语言的编译器。无论是想真正理解Lisp语言,还是只想拓宽编程视野,最好都学学宏。 + +  就我所知,宏(采用Lisp语言的定义)目前仍然是Lisp独有的。一个原因是为了使用宏,你大概不得不让你的语言看上去像Lisp—样古怪。另一个可能的原因是,如果你想为自己的语言添上这种终极武器,你从此就不能声称自己发明了新语言,只能说发明了一种Lisp的新方言。 + +  我把这件事当作笑话说出来,但是事实就是如此。如果你创造了一种新语言,其中有car、cdr、cons、quote、cond、atom、eq这样的功能,还有一种把函数写成列表的表示方法,那么在它们的基础上完全可以推导出Lisp语言的所有其他部分。事实上,Lisp语言就是这样定义的,麦卡锡把语言设计成这个样子就是为了让这种推导成为可能。 + + + +语言优势真正体现的地方 + +  就算Lisp确实代表了目前主流编程语言不断靠近的一个方向,这是否意味着你就应该用它编程呢?如果使用一种不是如此强大的语言,你又会有多少损失呢?有时不采用最尖端的技术不也是一种明智的选择吗?这么多人使用主流编程语言,这本身不也说明那些语言有可取之处吗?举例来说,你的经理不正是希望使用一种很容易雇到程序员的语言吗? + +  另一方面,许多项目是无所谓选择哪一种编程语言,反正不同的语言都能完成工作。一般来说,条件越苛刻的项目,强大的编程语言就越能发挥作用。但是,无数的项目根本没有苛刻条件的限制。大多数的编程任务可能只要写一些很小“胶水程序”,然后再把这些小程序连起来就行了。你可以用自己熟悉的编程语言或者用对于特定项目来说有着最强大函数库的语言来写这些“胶水程序”。如果你只是需要在Windows应用程序之间传递数据,使用Visual Basic照样能达到目的。 + +  你也可以使用Lisp语言编写这些小程序(我用它写了桌面计算器),但是Lisp的最大优势体现在编程任务的另一端,就是在激烈竞争的条件下开发那些解决困难问题的复杂程序。ITA软件公司为Orbitz旅行社开发的飞机票价搜索程序就是一个很好的例子。网络订票市场很难迸入,因为它已经被两大巨头(Travelocity和Expedia)牢牢控制了,但是ITA的软件性能看上去使得那两家公司的软件顿时相形见绌。 + +  ITA的软件的核心是一个20万行的Common Lisp程序,它的捜索能力比竞争对手高出许多个数量级。那些竞争对手依然使用大型机时代的编程方法。我没有看过ITA的软件源码,但是据一个为它工作的顶尖黑客说,他们使用了大量的宏。果然不出我所料。 + + + +向心力 + +  我承认,使用一种不常用的技术也有代价。你的经理担心这一点并不是完全没有道理的。但是,因为他不懂风险出在什么地方,所以往往把风险夸大了。 + +  使用一种不常见的语言会出现的问题我想到了三个:你的程序可能无法很好地与使用其他语言写的程序协同工作;你可能找不到很多函数库;你可能不容易雇到程序员。 + +  它们有多严重?第一个问题取决于你是否控制整个系统。如果你的软件运行在客户的机器上,而客户又使用一个到处都是bug的专有操作系统(我可没提操作系统的名字),那么使用那个操作系统的开发语言可能会给你带来优势。但是,如果你控制整个系统,并且还有各个组成部分的源码(正如我推测ITA就是这种情况),那么你就能使用任何你想用的语言。如果出现不兼容的情况,你自己就能动手解决。 + +  把软件运行在服务器端就可以没有顾忌地使用最先进的技术。乔纳森·埃里克森说现在是“编程语言的文艺复兴时期”,我想最大的原因就是有了服务器端软件。这也能解释为什么像Perl和Python这样的新语言会流行起来,它们之所以流行不是因为人们使用它们开发Windows应用程序,而是因为人们在服务器上使用它们。随着软件从桌面端向服务器端转移(连微软公司都看出这是未来的趋势),逼迫你使用某一种语言的限制将越来越少。 + +  至于第二个问题,函数库的重要性也取决于你的应用程序。对于那些条件不苛刻的应用,有没有一个好的函数库比语言本身的能力更重要。那么到底应该怎么选择语言?是根据函数库,还是根据语言本身的能力?很难确切地找出一条清楚的规则,但是无论哪种情况,你都必须考虑到你开发的应用程序的特点。如果你是一家软件公司,你开发的程序打算拿到市场上销售,那么这个程序可能会耗费好几个优秀程序员至少6个月的时间。为一个这样规模的项目选择编程语言,语言本身要有强大的编程能力可能就是最重要的考虑因素,比是否有方便的函数库更重要。第三个问题是你的经理担忧雇不到程序员,我认为这根本就是混淆视听。说实话,你究竟想雇用多少个黑客?到目前为止,大家公认少于10个人的团队最适合开发软件。雇用这样规模的开发团队,只要使用的不是无人知道的语言,应该都不会遇到很大麻烦。如果你无法找到10个Lisp黑客,那么你可能选错了创立软件公司的城市。 + +  事实上,选择更强大的编程语言会减少所需要的开发人员数量。因为:(a)如果你使用的语言很强大,可能会减少一些编程的工作量,也就不需要那么多黑客了;(b)使用更高级语言的黑客可能比别的程序员更聪明。 + +  我不是说外界因素对你没有影响,肯定还是会有很大压力,逼迫你使用公认的“标准”技术。Viaweb创业期间,很多风险投资商和潜在的并购方看到我们使用Lisp语言都感到很吃惊和不以为然。但是,我们让他们吃惊的还不止这一个地方,我们使用普通的兼容机充当服务器,而不是“企业级”的Sun服务器;我们使用那时还默默无闻的开源Unix系统FreeBSD,而不是流行的商业操作系统Windows NT,我们也没有采用SET(Secure Electronic Transaction,安全电子交易),它被认为将成为电子商务标准,而实际上现在没人记得它。诸如此类的事情还有很多。你不能让那些衣冠楚楚、西装革履的家伙替你做技术决策。潜在的并购方有没有对我们使用Lisp语言感到很难接受?稍微有一点吧,但是如果我们不使用Lisp,我们就根本写不出现在的软件,也就不会有人想收购我们。他们眼中不正常的事情恰恰就是使得这一切发生的原因所在。如果你创业的话,千万不要为了取悦风险投资商或潜在并购方而设计你的产品。让用户感到满意才是你的设计方向。只要赢得用户,其他事情就会接踵而来。如果没有用户,谁会关心你选择的“正统”技术是多么令人放心。 + + + +随大流的代价 + +  使用一种不强大的语言,你的损失有多大?实际上有一些现成的数据可以说明这个问题。 + +  衡量语言的编程能力的最简单方法可能就是看代码数量。所谓高级语言,就是能够提供更强大抽象能力的语言,从某种意义上,就像能够提供更大的砖头,所以砌墙的时候用到的砖头数量就变少了。因此,语言的编程能力越强大,写出来的程序就越短(当然不是指字符数量,而是指独立的语法单位)。 + +  强大的编程语言如何让你写出更短的程序?一个技巧就是(在语言允许的前提下)使用“自下而上”(bottom-up)的编程方法。你不是用基础语言(base language)开发应用程序,而是在基础语言之上先构建一种你自己的语言,然后再用后者开发应用程序。这样写出来的代码会比直接用基础语言开发出来的短得多。实际上,大多数压缩算法也是这样运作的。“自下而上”的编程往往也便于修改,因为许多时候你自己添加的中间层根本不需要变化,你只需要修改前端逻辑就可以了。 + +  代码的数量很重要,因为开发一个程序所耗费的时间主要取决于程序的长度。对于同一个软件,如果用一种语言写出来的代码比用另一种语言长三倍,这意味着你开发它耗费的时间也会多三倍。而且即使多雇人手,也无助于缩短开发时间,因为当团队规模超过某个门槛时,再增加人手只会带来净损失。Fred Brooks在他的名著《人月神话》中描述了这种现象,我的所见所闻印证了他的说法。 + +  如果使用Lisp语言,程序能变得多短?以Lisp和C的比较为例,我听到的大多数说法是C代码的长度是Lisp的7倍到10倍。但是最近,New Architect杂志上有一篇介绍ITA软件公司的文章^,里面说“1行Lisp代码相当于20行C代码”,因为此文都是引用ITA总裁的话,所以我想这个数字来自ITA的编程实践。如果真是这样,那么我们可以相信这句话。ITA的软件不仅使用Lisp语言,还同时大量使用C和C++,所以这是他们的经验之谈。 + +^「Jen Muehlbauer,“Orbitz的新突破”(Orbitz Reaches New Heights),New Architect,2002年4月号。」 + +  我认为,这种比例肯定不会是一个常数。如果你遇到更困难的问题,或者你雇到了更聪明的程序员,这个比例就会增大。一种出色的工具到了真正优秀的黑客手里,可以发挥出更大的威力。 + +  总之,根据上面的这个数字,如果你与ITA竞争,而且你使用C语言开发软件,那么ITA的开发速度将比你快20倍。如果你需要一年时间实现某个功能,它只需要不到三星期。反过来说,如果ITA开发某个新功能用了三个月,那么你需要五年才能做出来。 + +  你知道吗?上面的对比还只是考虑到最好的情况。当我们只比较代码数量的时候,言下之意就是假设使用功能较弱的语言也能开发出同样的软件。但是事实上,程序员使用某种语言能做到的事情是有极限的。如果你想用一种低层次的语言解决一个很难的问题,那么你将会面临各种情况极其复杂乃至想不清楚的窘境。 + +  所以,当我说假定你与ITA竞争,你用五年时间做出的东西,ITA在Lisp语言的帮助下只用三个月就完成了,我指的五年还是一切顺利、没有犯错误、也没有遇到太大麻烦的五年。事实上,按照大多数公司的实际情况,计划中五年完成的项目很可能永远都不会完成。 + +  我承认,上面的例子太极端。ITA似乎有一批非常聪明的黑客,而C语言又是一种很低层次的语言。但是,在一个高度竞争的市场中,即使开发速度只相差两三倍,也足以使得你永远处在落后的位置。 + + + +一个诀窍 + +  由于选择了不当的编程语言而导致项目失败的可能性,是你的经理不愿意考虑的问题。事实上大部分的经理都这样。因为你知道,总的来说,你的经理其实不关心公司是否真的能获得成功,他真正关心的是不承担决策失败的责任。所以对他个人来说,最安全的做法就是跟随大多数人的选择。 + +  在大型组织内部,有一个专门的术语描述这种跟随大多数人的选择的做法,叫做“业界最佳实践”。这个词出现的原因其实就是为了让你的经理可以推卸责任。既然我选择的是“业界最佳实践”,如果不成功,项目失败了,那么你也无法指责我,因为做出选择的人不是我,而是整个“业界”。 + +  我认为这个词原来是指某种会计方法,大致意思就是不要采用很奇怪的处理方法。在会计方法中,这可能是一个很好的主意。“尖端”和“核算”这两个词听上去就不适合放在一起。但是如果你把这个标准引入技术决策,你就开始要出错了。 + +  技术本来就应该是尖端的。正如伊拉恩·加内特所说,编程语言的所谓“业界最佳实践”,实际上不会让你变成最佳,只会让你变得很平常。如果你选择的编程语言使得你开发软件的速度只有(选择更激进技术的)对手的几分之一,那么“最佳实践”真的起错了名字。 + +  所以,我们就有了两点结论,我认为它们非常有价值。事实上,这是我用自己的经历换来的。第一,不同语言的编程能力不一样。第二,大多数经理故意忽视第一点。你把这两点事实结合起来,其实就得到了赚钱的诀窍。ITA软件公司是运用这个诀窍的典型例子。如果你想在软件业获得成功,就使用你知道的最强大的语言,用它解决你知道的最难的问题,并且等待竞争对手的经理做出自甘平庸的选择。 + + + +附录:编程能力 + +  为了解释我所说的语言编程能力不一样,请考虑下面的问题。我们需要写一个函数,它能够生成累加器,即这个函数接受一个参数n,然后返回另一个函数,后者接受参数i,然后返回n增加(increment)了i后的值。[这里说的是增加,而不是n和i的相加(plus)。累加器就是应该完成n的累加。] + +  Common Lisp^的写法如下: +(defun foo (n) + (lambda (i) (incf n i))) + +^「下面是一些Lisp方言生成累加器函数的写法: + +Scheme: +(define (foo n) + (lambda (i) (set! n (+ n i)) n)) + +Goo: (df foo (n) (op incf n _))) + +Arc: (def foo (n) [++ n _])」 + +  Ruby的写法几乎完全相同: +def foo (n) + lambda {|i| n += i } end + +  Perl 5的写法则是: +sub foo { + my ($n) = @_; + sub {$n += shift} +} + +  这比Lisp和Ruby的版本有更多的语法元素,因为在Perl语言中必须手工提取参数。 + +  Smalltalk的写法比Lisp和Ruby的稍微长一点: +foo: n + |s| + s := n. + ^[:i| s := s+i. ] + +  因为在Smalltalk中,词法变量(lexical variable)^是有效的,但是你无法给一个参数赋值,因此不得不设置了一个新变量,接受累加后的值。 + +^「词法变量,指的是变量的作用域由代码结构决定,不取决于运行时的调用顺序。也就是说,作用域在代码文本的词法分析阶段就决定了,而不在代码执行时决定。注意将这个概念与“局部变量”的概念相区分。——译者注」 + +  JavaScript的写法也比Lisp和Ruby稍微长一点,因为JavaScript依然区分语句和表达式,所以需要明确指定return语句来返回一个值: +function foo(n) { + return function (i) { + return n += i } } + +  (实事求是地说,Perl也保留了语句和表达式的区别,但是使用了常规的Perl方式处理,因此可以省略return。) + +  如果想把Lisp/Ruby/Perl/Smalltalk/JavaScript的版本改成Python,你会遇到一些限制。因为Pythcn并不完全支持词法变量,你不得不创造一种数据结构来接受n的值。而且尽管Python确实支持函数数据类型,但是没有一种字面量的表示方式(literal representation)可以生成函数(除非函数体只有一个表达式),所以你需要创造一个命名函数,把它返回。最后的写法如下: +def foo(n): + s = [n] + def bar(i): + s[0] += i + return s[0] + return bar + +  Python用户完全可以合理地质疑为什么不能写成下面这样: +def foo(n): + return lambda i: return n += i + +  或者 +def foo(n): + lambda i: n += i + +  我猜想,Python有一天会支持这样的写法。(如果不想等到Python慢慢进化到更像Lisp,总可以直接……) + +  在面向对象编程的语言中,你能够在有限程度上模拟一个闭包(即一个函数,通过它可以引用由包含这个函数的代码所定义的变量)。你定义一个类(class),里面有一个方法和一个属性,用于替换封闭作用域(enclosing scope)中的所有变量。这有点类似于让程序员自己做代码分析,本来这应该是由支持词法作用域(lexical scope)的编译器完成的。如果有多个函数,同时指向相同的变量,那么这种方法就会失效,但是在这个简单的例子中,它已经足够了。 + +  Python高手看来也同意这是解决这个问题比较好的方法,写法如下: +def foo(n): + class acc: + def __init__(self, s): + self.s = s + def inc(self, i): + self.s += i + return self.s + return acc(n).inc + +  或者 +class foo: + def __init__(self, n): + self.n = n + def __call__(self, i): + self.n += i + return self.n + +  我添加这一段是想避免Python爱好者说我误解这种语言。但是在我看来,这两种写法好像都比第一个版本更复杂。你实际上就是在做同样的事,只不过划出了一个独立的区域保存累加器函数,区别只是保存在对象的一个属性中,而不是保存在列表 (list) 的头 (head) 中。使用这些特殊的内部属性名(尤其是call看上去并不像常规的解法,更像是一种破解。 + +  在Perl和Python的较量中,Python黑客的观点似乎是认为Python比Perl更优雅,但是这个例子表明,最终来说,编程能力决定了优雅程度。Perl的写法更简单(包含的语法元素更少),尽管它的语法有一点丑陋。 + +  其他语言怎么样?前文曾经提到过Fortran、C、C++、Java和Visual Basic,看上去使用它们根本无法解决这个问题。肯·安德森说,Java只能写出一个近似的解法: +public interface Inttoint { + public int call(int i); +} + +public static Inttoint foo(final int n) { + return new Inttoint() { + int s = n; + public int call(int i) { + s = s + i; + return s; + }}; +} + +  这种写法不符合题目要求,因为它只对整数有效。 + +  当然,我说使用其他语言无法解决这个问题,这句话并不完全正确。所有这些语言都是图灵等价的,这意味着严格地说,你能使用它们之中的任何一种语言写出任何一个程序。那么,怎样才能做到这一点呢?就这个小小的例子而言,你可以使用这些不那么强大的语言写一个Lisp解释器就行了。 + +  这样做听上去好像开玩笑,但是在大型编程项目中却不同程度地广泛存在。因此,有人把它总结出来,起名为“格林斯潘第十定律”(Greenspun's Tenth Rule): + +任何C或Fortran程序复杂到一定程度之后,都会包含一个临时开发的、只有一半功能的、不完全符合规格的、到处都是bug的、运行速度很慢的Common Lisp实现。 + +  如果你想解决一个困难的问题,关键不是你使用的语言是否强大,而是好几个因素同时发挥作用:(a)使用一种强大的语言;(b)为这个难题写一个事实上的解释器;或者(c)你自己变成这个难题的人肉编译器。在Python的例子中,这样的处理方法已经开始出现了,我们实际上就是自己写代码,模拟出编译器实现词法变量的功能。 + +  这种实践不仅很普遍,而且已经制度化了。举例来说,在面向对象编程的世界中,我们大量听到“模式”(pattern)这个词,我觉得那些“模式”就是现实中的因素(c),也就是人肉编译器^。当我在自己的程序中发现用到了模式,我觉得这就表明某个地方出错了。程序的形式应该仅仅反映它所要解决的问题。代码中其他任何外加的形式都是一个信号,(至少对我来说)表明我对问题的抽象还不够深,也经常提醒我,自己正在手工完成的事情,本应该写代码通过宏的扩展自动实现。 + +「皮特·诺维格发现,总共23种设计模式之中,有16种在Lisp语言中“本身就提供,或者被大大简化”。(m/design-pattems)」 + + + + + +  14.梦寐以求的编程语言 + +一心让臣民行善的暴君可能是最专制的暴君。 + +——C.S.LEWIS(1898—1963,英国小说家) + +  我的朋友曾对一位著名的操作系统专家说他想要设计一种真正优秀的编程语言。那位专家回答,这是浪费时间,优秀的语言不一定会被市场接受,很可能无人使用,因为语言的流行不取决于它本身。至少,那位专家设计的语言就遭遇到了这种情况。 + +  那么,语言的流行到底取决于什么因素呢?流行的语言是否真的值得流行呢?还有必要尝试设计一种更好的语言吗?如果有必要的话,怎样才能做到这一点呢? + +  为了找到这些问题的答案,我想我们可以观察黑客,了解他们使用什么语言。编程语言本来就是为了满足黑客的需要而产生的,当且仅当黑客喜欢一种语言时,这种语言才能成为合格的编程语言,而不是被当作“指称语义”(denotational semantics)或者编译器设计。 + + + +流行的秘诀 + +  没错,大多数人选择某一种编程语言,不是因为这种语言有什么独特的特点,而是因为听说其他人使用这种语言。但是我认为,外界因素对于编程语言的流行其实没有想象中那么大的影响力。我倒是觉得,问题出在对于什么是优秀编程语言,黑客的看法与大多数的语言设计者不一样。 + +  黑客的看法其实比语言设计者的更重要。编程语言不是数学定理,而是一种工具,为了便于使用,它们才被设计出来。所以,设计编程语言的时候必须考虑到人类的长处和短处,就像设计鞋子的时候必须符合人类的脚型。如果鞋子穿上去不舒服,无论它的外形多么优美,多么像一件艺术品,你也只能把它当作一双坏鞋。 + +  大多数程序员也许无法分辨语言的好坏。但是,这不代表优秀的编程语言会被埋没,专家级黑客一眼就能认出它们,并且会拿来使用。虽然他们人数很少,但就是这样一小群人写出了人类所有优秀软件。他们有着巨大的影响力,他们使用什么语言,其他程序员往往就会跟着使用。老实说,很多时候这种影响力更像是一种命令,对于其他程序员来说,专家级黑客就像自己的老板或导师,他们说哪种语言好用,自己就会乖乖地跟进。 + +  专家级黑客的看法不是决定一种语言流行程度的唯一因素,某些古老的软件(Fortran和Cobol的情况)和铺天盖地的广告宣传(Ada和Java的情况)也会起到作用。但是,我认为从长期来看,专家级黑客的看法是最重要的因素。只要有了达到“临界数量”(critical mass)的最初用户和足够长的时间,一种语言可能就会达到应有的流行程度。而流行本身又会使得这种优秀的语言更加优秀,进一步拉大它与平庸语言之间的好坏差异,因为使用者的反馈总是会导致语言的改进。你可以想一下,所有流行的编程语言从诞生至今的变化有多大。Perl和Fortran是极端的例子,除它们两个之外,甚至就连Lisp都发生了很大的变化。 + +  所以,即使不考虑语言本身的优秀是否能带动流行,我想单单流行本身就肯定会使得这种语言变得更好,只有流行才会让它保持优秀。编程语言的最高境界一直在发展之中。虽然语言的核心功能就像大海的深处,很少有变化,但是函数库和开发环境之类的东西就像大海的表面,一直在汹涌澎湃。 + +  当然,黑客必须先知道这种语言,才可能去用它。他们怎么才能知道呢?就是从其他黑客那里。所以不管怎样,一开始必须有一群黑客使用这种语言,然后其他人才会知道它。我不知道“一群”的最小数量是多少,多少个黑客才算达到“临界数量”呢?如果让我猜,我会说20人。如果一种语言有20个独立用户,就意味这20个人是自主决定使用这种语言的,我觉得这就说明这种语言真的有优点。 + +  达到这一步并非易事。如果说用户数从0到20比从20到1000更困难,我也不会感到惊讶。发展最早的20个用户的最好方法可能就是使用特洛伊木马:你让人们使用一种他们需要的应用程序,这个程序偏巧就是用某种新语言开发的。 + + + +外部因素 + +  我们得先承认,确实有一个外部因素会影响到语言的流行。一种语言必须是某一个流行的计算机系统的脚本语言(scripting language),才会变得流行。Fortran和Cobol是早期IBM大型机的脚本语言。C是Unix的脚本语言,后来的Perl和Python也是如此。Tel是Tk的脚本语言,Visual Basic是Windows的脚本语言,(某种形式的)Lisp是Emacs的脚本语言,PHP是网络服务器的脚本语言,Java和JavaScript是浏览器的脚本语言。 + +  编程语言不是存在于真空之中。“编程”其实是及物动词,黑客一般都是为某个系统编程,在现实中,编程语言总是与它们依附的系统联系在一起的。所以,如果你想设计一种流行的编程语言,就不能只是单纯地设计语言本身,还必须为它找到一个依附的系统,而这个系统也必须流行。除非你只想用自己设计的语言取代那个系统现有的脚本语言。 + +  这种情况导致的一个结果就是,无法以一种语言本身的优缺点评判这种语言。另一个结果则是,只有当一种语言是某个系统的脚本语言时,它才能真正成为编程语言。如果你对此很吃惊,觉得不公平,那么我会跟你说不必大惊小怪。这就好比大家都认为,如果一种编程语言只有语法规则,没有一个好的实现(implementation),那么它就不能算完整的编程语言。这些都是很正常很合理的事情,编程语言本来就该如此。 + +  当然,编程语言本来就需要一个好的实现,而且这个实现必须是免费的。商业公司愿意出钱购买软件,但是黑客作为个人不会愿意这样做,而你想让一种语言成功,恰恰就是需要吸引黑客。 + +  编程语言还需要有一本介绍它的书。这本书应该不厚,文笔流畅,而且包含大量优秀的范例。布赖恩·柯尼汉和丹尼斯·里奇合写的《C程序设计语言》(C Programming Language)就是这方面的典范。眼下,我大槪还能再加一句,这一类书籍之中必须有一本由O'Reilly公司出版发行。这正在变成是否能吸引黑客的前提条件了。 + +  编程语言还应该有在线文档。事实上,在线文档可以当作一本书来写,但是目前它还无法取代实体书。实体书并没有过时,它们读起来很方便,而且出版社对书籍内容的审核是一种很有用的质量保证机制(虽然做得很不完美)。书店则是程序员发现和学习新语言的最重要的场所之一。 + + + +简洁 + +  假定你的语言已经能够满足上面三项条件——一种免费的实现,一本相关书籍,以及语言所依附的计算机系统——那么还需要做什么才能使得黑客喜欢上你的语言? + +  黑客欣赏的一个特点就是简洁。黑客都是懒人,他们同数学家和现代主义建筑师一样,痛恨任何冗余的东西或事情。有一个笑话说,黑客动手写程序之前,至少会在心里盘算一下哪种语言的打字工作量最小,然后就选择使用该语言。这个笑话其实与真实情况相差无几。就算这真的是个笑话,语言的设计者也必须把它当真,按照它的要求设计语言。 + +  简洁性最重要的方面就是要使得语言更抽象。为了达到这一点,首先你设计的必须是高级语言,然后把它设计得越抽象越好。语言设计者应该总是看着代码,问自己能不能使用更少的语法单位把它表达出来。如果你有办法让许多不同的程序都能更简短地表达出来,那么这很可能意味着你发现了一种很有用的新抽象方法。 + +  不要觉得为用户着想就是让他们使用像英语一样又长又啰嗦的语法。这是不正确的做法,Cobol就是因为这个毛病而声名狼藉。如果你让黑客像下面这样求和: + +add x to y giving z + +  而不是写成: + +z=x+y + +  那么你就是在侮辱黑客的智商,或者自己作孽了。 + +  简洁性是静态类型语言的力所不及之处。不考虑其他因素时,没人愿意在程序的头部写上一大堆的声明语句。只要计算机可以自己推断出来的事情,都应该让计算机自己去推断。举例来说,hello-world本应该是一个很简单的程序,但是在Java语言中却要写上一大堆东西,这本身就差不多可以说明Java语言设计得有问题了^。 + +^「hello-world程序的唯一作用就是显示出“Hello,world!”这句话。使用Java语言,你需要这样写: + +public class Hello { + public static void main(String[] args) { + Sintln("Hello, world!"); + } +} + +如果你从来没有接触过编程,看到上面的代码可能会很奇怪,让计算机显示一句话为什么要镐得这么复杂?有意思的是,资深程序员的反应与你一样。」 + +  单个的语法单位也应该很简短。Perl和Common Lisp在这方面是两个不同的极端。Perl的语法单位很短,导致它的代码可以拥挤得让人无法理解,而Common Lisp内置运算符的名称则长得可笑。Common Lisp的设计者们可能觉得文本编辑器会帮助用户自动填写运算符的长名称。但是这样做的代价不仅是增加了打字的工作量,还包括提高了阅读代码的难度,以及占用了更多的显示器空间。 + + + +可编程性(Hackability) + +  对黑客来说,选择编程语言的时候,还有一个因素比简洁更重要,那就是这种语言必须能够帮助自己做到想做的事。在编程语言的历史上,防止程序员做出“错误”举动的措施多得惊人。这是语言设计者很自以为是的危险举动,他们怎么知道程序员该做什么不该做什么?我认为,语言设计者应该假定他们的目标用户是一个天才,会做出各种他们无法预知的举动,而不是假定目标用户是一个笨手笨脚的傻瓜,需要别人的保护才不会伤到自己。如果用户真的是傻瓜,不管你怎么保护他,他还是会搬起石头砸自己的脚。你也许能够阻止他引用另一个模块中的变量,但是你没法防止他日日夜夜不知疲倦地写出结构混乱的程序去解决完全错误的问题。 + +  优秀程序员经常想做一些既危险又令人恼火的事情。所谓“令人恼火”,我指的是他们会突破设计者提供给用户的外部语义层,试着控制某些高级抽象的语言内部接口。比如,黑客喜欢破解,而破解就意味着深入内部,揣测原始设计者的意图。 + +  你应该敞开胸怀,欢迎这种揣测,对于制造工具的人来说,总是会有用户以违背你本意的方式使用你的工具。如果你制造的是编程语言这样高度组合的系统,那就更是如此了。许多黑客会用你做梦也想不到的方式改动你的语法模型。我的建议就是,让他们这样干吧,而且应该为他们创造便利,尽可能多地把语言的内部暴露在他们面前。 + +  其实,黑客并不会彻底颠覆你的工具,在一个大型程序中,他可能只是对语言改造一两个地方。但是,改动多少地方并不重要,重要的是他能够对语言进行改动。这可能不仅有助于解决一些特殊的问题,还会让黑客觉得很好玩。黑客改造语言的乐趣就好比外科医生摆弄病人内脏的乐趣,或者青少年喜欢用手挤破青春痘的那种感觉。至少对男生来说,某些类型的破坏非常刺激。针对青年男性读者的Maxim杂志每年出版一本特辑,里面一半是美女照片,另一半是各种严重事故的现场照片。这本杂志非常清楚它的读者想看什么^。 + +^「在《神经外科医生手记》(When the Air Hits Your Brain)一书中,神经外科医生弗托塞克讲述了住院总医生戈雷的一段话,内容关于外科医生与内科医生的区别。 + +戈雷和我要了一个大比萨,找了一张空桌子坐下。他点起一根香烟,说:“那些内科医生真是令人讨厌,总是喜欢谈论一辈子只能遇到一次的病例。这就是他们的问题,他们只喜欢古怪的东西,讨厌普通的常见病例。这就是我们和他们的区别。你看,我们喜欢腰椎间盘突出,觉得像比萨一样又大又好吃,但是他们看到高血压就憎恨不已……” + +很难把腰椎间盘突出与又大又好吃联系在一起,徂是,我想我知道他们指的是什么。我经常觉得某个bug非常诱人,一定要追踪下去。不是程序员的人很难想象bug有什么好玩的。一切正常当然很好,但是不可否认,能够抓到某些bug会让人兴奋到极点。」 + +  一种真正优秀的编程语言应该既整洁又混乱。“整洁”的意思是设计得很清楚,内核由数量不多的运算符构成,这些运算符易于理解,每一个都有很完整的独立用途。“混乱”的意思是它允许黑客以自己的方式使用。C语言就是这样的例子,早期的Lisp语言也是如此。真正的黑客语言总是稍微带一点放纵不羁、不服管敎的个性。 + +  优秀的编程语言所具备的功能,应该会使得言必称“软件工程”的人感到非常不满、频频摇头。与黑客语言形成鲜明对照的就是像Pascal那样的语言,它是井然有序的模范,非常适合教学,但是除此之外就没有很大用处了。 + + + +一次性程序 + +  为了吸引黑客,一种编程语言必须善于完成黑客想要完成的各种任务。这意味着它必须很适合开发一次性程序。这一点可能出乎很多人的意料。 + +  所谓一次性程序,就是指为了完成某些很简单的临时性任务而在很短时间内写出来的程序。比如,自动完成某些系统管理任务的程序,或者(为了某项模拟任务)自动生成测试数据的程序,以及在不同格式之间转化数据的程序等。令人吃惊的是,一次性程序往往不是真的只用一次,就像二战期间很多美国大学造的一大批临时建筑后来都成了永久建筑。许多一次性程序后来也都变成了正式的程序,具备了正式的功能和外部用户。 + +  我有一种预感,最优秀的那些大型程序就是这样发展起来的,而不是像胡佛水坝那样从一开始就作为大型工裎来设计。一下子从无到有做出一个大项目是很恐怖的一件事。当人们接手一个巨型项目时,很容易被它搞得一蹶不振。最后,要么是项目陷入僵局,要么是做出来一个规模小、性能差的东西。你想造一片闹市,却只做出一家商场;你想建一个罗马,却只造出一个巴西利亚;你想发明C语言,却只开发出Ada。 + +  开发大型程序的另一个方法就是从一次性程序开始,然后不断地改进。这种方法比较不会让人望而生畏,程序在不断的开发之中逐渐进步。一般来说,使用这种方法开发程序,一开始用什么编程语言,就会一直用到最后,因为除非有外部政治因素的干预,程序员很少会中途更换编程语言。所以,我们就有了一个看似矛盾的结论:如果你想设计一种适合开发大型项目的编程语言,就必须使得这种语言也适合开发一次性程序,因为大型项目就是从一次性程序演变而来的。 + +  Perl就是一个鲜明的例子。它不仅仅设计成适合开发一次性程序,而且它本身就很像一次性程序。最初的Perl只是好几个生成表格的工具收集在一起而已。后来程序员用它写一次性程序,当那些程序逐渐发展壮大后,Perl才随之发展成了一种正式的编程语言。到了Perl 5,这种语言才适合开发重要的程序,但是在此之前它已经广为流行了。 + +  什么样的语言适合写一次性程序?首先,它必须很容易装备。一次性程序是你只想在一小时内写出来的程序,所以它不应该耗费很多时间安装和配置,最好已经安装在你的电脑上了。它必须是想用就用的。C语言可以想用就用,因为它是操作系统的一部分;Perl可以想用就用,因为它本来就是一种系统管理工具,操作系统已经默认安装它了。 + +  很容易装备不仅仅指很容易安装或者已经安装,还指很容易与使用者互动。一种有命令行界面、可以实时反馈的语言就具有互动性,那些必须先编译后使用的语言就不具备互动性。受欢迎的编程语言应该是前者,具有良好的互动性,可以快速得到运行结果。 + +  一次性程序的另一个特点就是简洁。对黑客来说,这一点永远有吸引力。如果考虑到你最多只打算在这个程序上耗费一个小时,这一点就更重要了。 + + + +函数库 + +  简洁性的最高形式当然是有人已经帮你把程序写好,你只要运行就可以了。函数库就是别人帮你写好的程序,所以它是编程语言的另一个重要特点,并且我认为正在变得越来越重要。Perl就赢在它具有操作字符串的巨大函数库。这类函数库对一次性程序特别重要,因为开发一次性程序的原始目的往往就是转化或提取字符串。许多Perl程序的原型可能就是把几个函数库调用放在一起。 + +  我认为,未来50年中,编程语言的进步很大一部分与函数库有关。未来的函数库将像语言内核一样精心设计。优秀函数库的重要性将超过语言本身。某种语言到底是静态类型还是动态类型、是面向对象还是函数式编程,这些都不如函数库重要。那些习惯用变量类型考虑问题的语言设计者可能会对这种趋势感到不寒而栗。这不等于把语言设计降到开发应用程序的层次吗?哦,真是太糟了。但是别忘了,编程语言是供程序员使用的,而函数库就是程序员需要的东西。 + +  设计优秀的函数库是很难的,并不只是写一大堆代码而已。一且函数库数量变得太多,找到一个你需要的函数有时候还不如自己动手写来得快。函数库的设计基础与语言内核一样,都是一个小规模的正交运算符集合。函数库的使用应该符合程序员的直觉,让他可以猜得出哪个函数能满足自己的需要。 + + + +效率 + +  众所周知,好的编程语言生成的代码有较快的运行速度。但是实际上,我觉得代码的运行速度不是编程语言的设计者能够控制的。高德纳很久以前就指出,运行速度只取决于一些关键的瓶颈。而在编程实践中,许多程序员都已经注意到自己很容易搞错瓶颈到底在哪里。 + +  所以,编程时提高代码运行速度的关键是使用好的性能分析器(profiler),而不是使用其他方法,比如精心选择一种静态类型的编程语言。为了提高运行速度,并没有必要每个函数的每个参数类型都声明清楚,你只需要在瓶颈处声明清楚参数类型就可以了。所以,更重要的是你需要能够找出瓶颈到底在什么地方。 + +  人们在使用非常高级的语言(比如Lisp)时,经常抱怨很难知道哪个部分对性能的影响比较大。可能确实如此,如果你使用一种非常抽象的语言,这也许是无法避免的。不管怎样,我认为一个好的性能分析器会解决这个问题,虽然这方面还有很长的路要走,但是未来你可以快速知道程序每个部分的时间开销。 + +  这个问题一部分源于沟通不畅。语言设计者喜欢提高编译器的速度,认为这是对自己技术水平的考验,而最多只把性能分析器当作一个附送给使用者的赠品。但是在现实中,一个好的性能分析器对程序的帮助可能大于编译器的作用。这里又一次反映出语言设计者与用户之间发生了脱节,前者竭尽全力想要解决的问题其实方向不甚正确。 + +  让性能分析器自动运行可能是一个好主意。它自动告诉程序员每个部分的性能,而不是非要等到程序员手动运行后才能知道。比如,当程序员编辑源码的时候,代码编辑器能够实时用红色显示瓶颈的部分。另一个方法应该是设法显示正在运行的程序的情况,这对互联网软件尤其重要,因为服务器上有很多程序同时运行,它们都需要你密切关注。自动运行的性能分析器用图形实时显示程序运行时的内存状况,甚至可以发出声音,表示出现了问题。 + +  出现问题时,声音是很好的提示。我们在Viaweb搞了一块很大的面板,上面有各种各样的仪表盘,用来显示服务器的状况。仪表盘的指针由微型马达驱动,每当马达旋转的时候,就会发出一阵轻微的噪音。在我的工位没法看到仪表盘,但是只要我听到声音,就能立刻知道服务器出现了问题。 + +  性能分析器甚至有可能自动找出不合理的算法。如果将来有人发现某种形式的内存访问是不合理算法的信号,我不会感到很惊讶。如果有一个小人儿可以钻进计算机看看我们的程序是怎么运行的,他可能会变成一个忙碌又悲惨的可怜虫,就像那些为政府跑腿的小人物。我总觉得自己用处理器做了很多无用功,伹是一直没有找到能够看出程序是怎样浪费运算能力的好办法。 + +  现在有一些语言先编译成字节码(byte code),然后再由解释器执行。这样做主要是为了让代码容易移植到不同的操作系统,伹是这也可以变成一项很有用的功能。让字节码成为语言的正式组成部分,允许程序员在瓶颈处内嵌字节码,这可能是一个不错的主意。然后,针对这部分字节码的优化也就变得可以移植了。 + +  正如许多最终用户已经意识到的,运行速度的概念正在发生变化。随着互联网软件的兴起,越来越多的程序主要不是受限于计算机的运算速度,而是受限于I/O的速度。加快I/O速度将是很值得做的一件事。在这方面,编程语言也能起到作用,有些措施是显而易见的,比如采用简洁、快速、格式化输出的函数,还有些措施则需要深层次的结构变化,比如采用缓存和持久化对象(persistent object)。 + +  用户关心的是反应时间(response time),但是软件的另一种效率正在变得越来越重要,那就是每个处理器能够同时支持的用户数量。未来许多有趣的应用程序都将是运行在服务器端的互联网软件,所以每台服务器能够支持的用户数量就成了软件业者的关键问题。互联网软件的资本支出就取决于这个指标。 + +  许多年以来,大多数面向最终用户的程序都不太关心效率。软件开发者总是假设用户桌面电脑的运算能力会不断增长,所以不用刻意提高软件的效率。帕金森定律^被证明与摩尔定律一样颠扑不破。软件不断膨胀,消耗光所有可以得到的资源。这一切将随着互联网软件的出现发生改变,因为硬件和软件现在捆绑在一起供应。对于那些提供互联网软件的公司来说,每台服务器支持的用户数量最大化会对降低成本产生巨大影响。 + +^「帕金森定律(Parkinson's Law)的一种原始表达形式是“工作总是到最后一刻才会完成”,后来引申到计算机领域就变成了“数据总是会填满所有空间”,更一般性的总结则是“对一种资源的需求总是会消耗光这种资源的所有供应”。——译者注」 + +  在一些应用程序中,处理器的运算能力是瓶颈,那么最重要的优化对象就是软件的运行速度。但是,一般情况下内存才是瓶颈,你能够同时支持的用户数量取决于用户数据所消耗的内存。编程语言在这方面也能发挥作用,对线程的良好支持将使得所有用户共享同一个内存堆(heap)。持久化对象和语言内核级别的延迟加载(lazy loading)支持也有助于减少内存需求。 + + + +时间 + +  一种编程语言要想变得流行,最后一关就是要经受住时间的考验。没人想用一种会被淘汰的语言编程,这方面已经有很多前车之鉴了。所以,大多数黑客往往会等上几年,看看某一种新语言的势头,然后才真正考虑使用它。 + +  新事物的发明者通常对这个发现很震惊,他们没想到人们居然这样对待发明创造。但是,让别人相信一种新事物是需要时间的。我有一个朋友,他的客户第一次提出某种需求时,他很少理会。因为他知道人们有时候会想要自己并不真正需要的东西。为了避免浪费时间,只有当客户第三次或第四次提出同样的需求时,他才认真对待。这个时候客户可能已经很不高兴了,但是这至少保证他们提出的需求应该就是他们真正需要的东西。 + +  大多数人接触新事物时都学会了使用类似的过滤机制。甚至有时要听到别人提起十遍以上他们才会留意。这样做完全是合理的,因为大多数的热门新商品事后被证明都是浪费时间的噱头,没多久就消失得无影无踪。虚拟现实建模语言VRML刚诞生时曾经轰动一时,但是我决定等到一两年后再去学习它,结果一两年后已经没有学习的必要了,因为市场已经把它遗忘了。 + +  所以,发明新事物的人必须有耐心,要常年累月不断地做市场推广,直到人们开始接受这种发明。我们就耗费了好几年才使得客户明白ViaWeb不需要下载安装就能使用。不过,好消息是,简单重复同一个信息就能解决这个问题。你只需要不停地重复同一句话,最终人们将会开始倾听。人们真正注意到你的时候,不是第一眼看到你站在那里,而是发现过了这么久你居然还在那里。 + +  新事物的发展改进一般也需要很长时间。大多数技术在诞生后都逐渐发生了巨大的变化,编程语言更是如此。诞生头几年,一小批早期使用者比其他因素更能促进技术发展。早期使用者都是行家,要求也很高,能够很快找出你的技术中存在的缺点。而且,如果你的用户只有很少几个人,你就能够与他们所有人保持密切接触。只要不断改进你的系统,即使给用户造成了损失,早期使用者也会对你宽容大度的。 + +  新技术被市场接纳的方式有两种,一种是自然成长式,另一种是大爆炸式。自然成长式的一个例子就是在车库里白手起家、自力更生的创业者。几个好朋友埋头工作,在外界毫不知晓的情况下开发出某种新技术。他们把它推向市场,没有任何宣传,最初的用户寥寥无几(但是热心程度无与伦比)。创业者持续改进新技术,与此同时,通过口碑效应,用户数量不断增长。在创业者不经意间,他们已经壮大起来了。 + +  大爆炸式的例子是有风险资本支持、在市场上大张旗鼓宣传的创业公司。他们急急忙忙地开发一个产品,推向市场的时候大肆曝光,立刻就获得了一大批使用者(至少他们希望如此)。 + +  一般来说,车库里的创业者会妒忌大爆炸式的创业公司。后者的主导人物个个光彩照人、自信非凡,深受风险资本商的追捧。他们什么都买得起,在公关公司配合产品推出的宣传活动中,他们自己也附带成为了明星人物。自然成长式的创业者坐在自家车库里,觉得自己又穷又可怜。伹是我想他们不必难过。最终来看,自然成长式会比大爆炸式产生更好的技术,能为创始人带来更多的财富。如果你研究一下目前的主流技术,就会发现大部分都是源于自然成长式。 + +  这种模式不仅存在于商业公司,还存在于科研活动中。Multics操作系统和Ada语言是大爆炸式项目,现在都已经销声匿迹了,而它们的继承者Unix和C语言则是自然成长式项目。 + + + +再设计 + +  著名散文家E.B.怀特说过,“最好的文字来自不停的修改”。所有优秀作家都知道这一点,它对软件开发也适用。设计一样东西,最重要的一点就是要经常“再设计”,编程尤其如此,再多的修改都不过分。 + +  为了写出优秀软件,你必须同时具备两种互相冲突的信念。一方面,你要像初生牛犊一样,对自己的能力信心万丈;另一方面,你又要像历经沧桑的老人一样,对自己的能力抱着怀疑态度。在你的大脑中,有一个声音说“千难万险只等闲”,还有一个声音却说“早岁哪知世事艰”。 + +  这里的难点在于你要意识到,实际上这两种信念并不矛盾。你的乐观主义和怀疑倾向分别针对两个不同的对象。你必须对解决难题的可能性保持乐观,同时对当前解法的合理性保持怀疑。 + +  做出优秀成果的人,在做的过程中常常觉得自己做得不够好。其他人看到他们的成果觉得棒极了,而创造者本人看到的都是自己作品的缺陷。这种视角的差异并非偶然,因为只有对现状不满,才会造就杰出的成果。 + +  如果你能平衡好希望和担忧,它们就会推动项目前进,就像自行车在保持平衡中前进一样。在创新活动的第一阶段,你不知疲倦地猛攻某个难题,自信一定能够解决它。到了第二阶段,你在清晨的寒风中看到自己已经完成的部分,清楚地意识到存在各种各样的缺陷。此时,只要你对自己的怀疑没有超过你对自己的信心,就能够坦然接受这个半成品,心想不管多难我还是可以把剩下的部分做完。 + +  让这两股相反的力量保持平衡是很难的。初出茅庐的年轻黑客都很乐观,自以为做出了伟大的产品,从不反思和改进。上了年纪的黑客又太不自信,甚至故意回避一些挑战性很强的项目。 + +  任何措施,只要能让“再设计”周而复始地进行下去,就都是可取的。文章可以修改到你满意为止,但是软件的修改通常来说可以无休止地进行下去。文章的读者不可能抱怨修改后新增加的内容让他们前后的思想产生了不协调,但是软件的使用者就会抱怨修改后的版本有不兼容问题。 + +  用户是一把双刃剑。他们推动语言的发展,但也使得你不敢对语言进行大规模改造。所以,一开始的时候要精心选择用户,避免使用者过快增长。发展用户就像一种优化过程,明智的做法就是放慢速度。一般情况下,用户比较少意味着你任何时候都可以加大修改的力度。这时,对语言规格做出改变就像撕绷带,当你感到痛苦的一瞬间,痛苦就已经成为了回忆。如果用户数量庞大,修改语言带来的痛苦就将持续很长时间。 + +  大家都知道,让一个委员会负责设计语言是非常糟糕的主意。委员会只会做出恶劣的设计。但是我觉得,委员会最大的问题在于他们妨碍了“再设计”。在委员会的主持下,修改一种语言是非常麻烦的事,没有人愿意自讨苦吃。而且,即使大多数成员不喜欢某种做法,委员会最后的决定往往还是维持现状。 + +  就算委员会只有两个人,还是会妨碍“再设计”,典型例子就是软件内部的各个接口由不同的人负责。这时除非两个人都同意改变接口,否则接口就无法改变。因此现实中,尽管软件功能越来越强大,内部接口却往往一成不变,成为整个系统中拖后腿的部分。 + +  一种可能的解决方法是,将软件内部的接口设计成垂直接口而不是水平接口。这意味着软件内部的模块是一个个垂直堆积起来的抽象层,层与层之间的接口完全由其中的一层控制。如果较高的一层使用了较低的一层定义的语言,那么接口就由较低的一层控制;如果较低的一层从属于较高的一层,那么接口就由较高的一层控制。 + + + +梦寐以求的编程语言 + +  让我们试着描述黑客心目中梦寐以求的语言来为以上内容做个小结。这种语言干净简练,具有最高层次的抽象和互动性,而且很容易装备,可以只用很少的代码就解决常见的问题。不管是什么程序,你真正要写的代码几乎都与你自己的特定设置有关,其他具有普遍性的问题都有现成的函数库可以调用。 + +  这种语言的句法短到令人生疑。你输入的命令中,没有任何一个字母是多余的,甚至用到Shift键的杌会也很少。 + +  这种语言的抽象程度很高,使得你可以快速写出一个程序的原型。然后,等到你开始优化的时候,它还提供一个真正出色的性能分析器,告诉你应该重点关注什么地方。你能让多重循环快得难以置信,并且在需要的地方还能直接嵌入字节码。 + +  这种语言有大量优秀的范例可供学习,而且非常符合直觉,你只需花几分钟阅读范例就能领会应该如何使用此种语言。你偶尔才需要查阅操作手册,它本身很薄,里面关于限定条件和例外情况的警告寥寥无几。这种语言的内核很小,但很强大。各个函数库高度独立,而且和内核一样经过精心设计,它们都能很好地协同工作。语言的每个部分就像精密照相机的各种零件一样完美契合,不需要为了兼容性问题放弃或者保留某些功能。所有函数库的源码都很容易得到。这种语言能够很轻松地与操作系统和用其他语言开发的应用裎序对话。 + +  这种语言以层的方式构建。较高的抽象层透明地构建在较低的抽象层之上。如果需要的话,你可以直接使用较低的抽象层。 + +  除了一些绝对必要隐藏的东西,这种语言的所有细节对使用者都是透明的。它提供的抽象能力只是为了方便你的开发,而不是为了强迫你按照它的方式行事。事实上,它鼓励你参与它的设计,给你提供与语言创造者平等的权力。你能够对它的任何部分加以改变,甚至包括它的语法。它尽可能让你自己定义的部分与它本身定义的部分处于同等地位。这种梦幻般的编程语言不仅开放源码,更开放自身的设计。 + + + + + +  15.设计与研究 + +  外国游客常常惊讶地发现,美国人交谈的时候,一开始总是问“你干什么工作”。我一直讨厌回答这个问题,因为一句话说不清楚。不过我最终找到了解决方法,现在如果有人问我干什么工作,我会正规对方的双眼说:“我正在设计一种Lisp语言的新方言。”如果你也有同样困扰,我推荐你也如此回答。对方就立刻转向其他话题了。 + +  我确实是在“设计”一种编程语言,而且我不认为自己在做“研究”。我所做的工作与其他人设计一幢大楼、一把椅子、一种新字体并没有本质不同。我的目的不是发现一种“新”东西,而是做出一种很“好”的编程语言。 + +  设计与研究的区别看来就在于,前者追求“好”(good),后者追求“新”(new)。优秀的设计不一定很“新”,但必须是“好”的;优秀的研究不一定很“好”,但必须是“新”的。我认为这两条道路最后会发生交叉:只有应用“新”的创意和理论,才会诞生超越前人的最佳设计;只有解决那些值得解决的难题(也就是“好”的难题),才会诞生最佳研究。所以,最终来说,设计和研究都通向同一个地方,只是前进的路线不同罢了。 + +  如果把创造一种编程语言看成是设计问题,而不是科研方向,那么有何不同? + + +  最大的不同在于你会更多地考虑用户。设计的时候,一开始总是问:我为谁设计?他们需要什么?比如,优秀的建筑师不会先设计,然后强迫用户接受,而是先研究最终用户的需求,然后做出用户需要的设计。 + +  注意,我说的是“用户需要的设计”,而不是“用户要求的设计”。我不想让读者产生一种印象,认为设计师就像厨师一样,顾客点什么菜就一模一样做出来。艺术的各个领域有着巨大的差别,但是我觉得任何一个领域的最佳作品都不可能由对用户言听计从的人做出来。 + +  有一句话说“顾客永远是对的”,这是指评价优秀设计的标准是看它能够多大程度上满足用户的需求。如果你的小说没人爱看,或者你做的椅子极不舒服,那么就说明你的作品失败了,被一票否决了。就算你的小说(或者椅子)有着最先进的理论指导也无济于事。 + +  可是,让用户满意并不等于迎合用户的一切要求。用户不了解所有可能的选择,也经常弄错自己真正想要的东西。做一个好的设计师就像做一个好医生一样。你不能头痛医头,脚痛医脚。病人告诉你症状,你必须找出他生病的真正原因,然后针对病因进行治疗。 + +  大多数优秀设计都是这样产生的,它们关注用户,并且以用户为中心。 + +  我说设计必须考虑用户的需求,这里的“用户”并不是指所有普罗大众。事实上,你可以选择任何想要的目标用户。比如,假定你正在设计一种工具,你可以把目标用户定为初学者,也可以定为专家级用户。一种人眼里的优秀设计可能在另一种人眼里却是糟糕无比。这里的重点是你必须选出某些人作为你的目标用户。我觉得,除非设定目标用户,否则一种设计的好坏根本无从谈起。 + +  如果目标用户群体涵盖了设计师本人,那么最有可能诞生优秀设计。如果目标用户与你本人差别很大,你往往会假定目标用户的需求比你本人的需求更简单,而不是更复杂。低估用户(即使出于善意)一般来说总是会让设计师出错。我怀疑那些设计“公共住宅项目”(housing project)^的建筑师根本没想过自己住在里面会是什么感觉。编程语言也有这种现象。C、Lisp和Smalltalk都是设计者为了自己使用而设计的,而Cobol、Ada和Java则是为了给别人使用而设计的。 + +^「“公共住宅”指的是由政府出资建造的房产,用来出租给低收入家庭居住,类似于廉租房。——译者注」 + +  如果你觉得自己在为傻瓜设计产品,那么很可能不仅无法设计出优秀产品,而且就连傻瓜也不喜欢你的设计。 + +  不过,就算你的设计针对的是最高端的用户,你也一样是设计给人类使用。研究就不一样了。做数学研究时,你不会只为了方便读者理解而故意选择一种更麻烦的证明方式,你只会选择最直接、最简洁的证明。我想,一般来说科学研究都是这样。科学观点不需要服从人类工程学(ergonomic)。 + +  到了艺术领域,情况就完全变了。设计必须以人为本。设计椅子的时候,你不能只考虑椅子,还必须考虑人体各种千奇百怪的特点,不可能回避掉这一点。所有的艺术都必须迎合人类的兴趣和极限。举例来说,不考虑其他因素时,肖像画就是比风景画更能引发观众的兴趣。文艺复兴时期的经典绘画作品都是画人的,这并非巧合。如果绘画艺术不能用来表现人类本身,那么绘画也不会成为今天这样受推崇的艺术形式了。 + +  不管你喜不喜欢,编程语言也是以人为本的。我怀疑人类的大脑与躯干一样,都有着许多令人琢磨不透的特点。否则为什么有些事情人类特别擅长,而另一些事情人类干起来特别困难。比如,人类似乎不善于处理精细的工作,所以最好还是交给计算机处理。另一方面,如果人类真的擅长和细节打交道,那么我们应该都用机器语言编程才对。 + +  另外,还要记住一点。怎么理解编程语言?你不要把它看成那些已完成的程序的表达方式,而应该把它理解成促进程序从无到有的一种媒介。这里的意思是说,成品的材料和开发时用的材料其实是不一样的。搞艺术的人都知道,这两个阶段往往需要不同的媒介。比如,大理石是一种非常良好、耐用的材料,很适合用于最后的成品,但是它极其缺乏弹性和灵活性,所以不适合在构思阶段用来做模型。 + +  最后写出来的程序就像已经完成的数学证明一样,是一棵经过精心修剪的树木,上面杂乱滋生的树杈都已经被剪去了。所以,评价一种语言的优劣不能简单地看最后的程序是否表达得很漂亮,而要看程序从无到有的那条完成路径是否很漂亮。某种设计使得最后的程序非常漂亮,伹是不一定同时具备漂亮的编程过程。比如,我写过一些宏,它们的作用是自动生成另一些宏,它们看上去非常精美优雅,就像一粒粒精细的宝石。但是,开发过程非常丑陋,我就是连续好几个小时不停地试错,而且老实说,至今仍然无法完全确定它们是否百分之百正确。 + +  我们常常采用错误的方法评价编程语言,只看一眼最后完成的程序就做出判断。同一个软件有两种不同语言开发的版本,你发现其中一个版本比另一个版本短得多,于是非常自信地认定前者的编程语言比后者的更好。但是,如果你从艺术创作的角度思考这个问题,就不太可能这样评价编程语言。因为你不想最后只剩下一种像大理石那样漂亮、又像大理石那样难用的编程语言。 + +  比如,开发软件的时候,一个“交互式顶层解释器”(interactive toplevel)会带来巨大的优势。在Lisp语言中,这种解释器就叫做“读取-求值-打印”循环(read-eval-print loop)。有了这个解释器后,语言的设计就会受到巨大影响。静态类型语言不适合部署这样的解释器,因为静态类型语言要求在使用变量前先声明类型,这对于“交互式顶层解释器”行不通。当你在解释器中输入表达式,然后对变量x进行赋值,接着再对x做进一步处理时,你只想尽快看到结果,肯定不想很麻烦地先声明jc的类型。你也许不同意“交互式顶层解释器”为软件开发带来便利的说法,但是如果你接受它,同意易于使用的编程语言必须有一个这样的解释器,那么强制声明变量类型的做法就是与这个解释器不兼容,因此结论就是所有的静态类型语言都不易于编程。 + +  为了做出优秀的设计,你必须贴近用户,始终寸步不离,永远站在用户的角度调整自己的构想。19世纪英国作家简·奧斯汀的小说为何如此出色?一个原因就是她把自己的作品大声读给家人听,所以她就不会陷入孤芳自赏难以自拔的境地,不会长篇累牍地赞叹自然风光,也不会滔滔不绝地宣扬自己的人生哲学。(事实上,简·奥斯汀还是在小说里宣扬了自己的人生哲学,不过她把它编进故事之中,而不是直接像贴标签那样讲出来。)你可以随便找一本平庸的“文学”读物,想象一下把它当作自己的作品读给朋友们听,这样会让你真切地感受到那些“文学”读物高高在上的视角,读者必须承受所有沉重的负担才能阅读这些作品。 + +  在软件领域,贴近用户的设计思想被归纳为“弱即是强”(Worse is Better)模式^。这个模式实际上包含了好几种不同的思想,所以至今人们还在争论它是否真的成立。但是,其中有一点是正确的,那就是如果你正在设计某种新东西,就应该尽快拿出原型,听取用户的意见。 + +^「“弱即是强"指的是一种软件传播的模式,由Common Lisp专家理査德·加布里埃尔(Richard P. Gabriel)于1991年在Lisp: Good News, Bad News, How to Win Big(m/WIB.html)一文中首先提出。它的含义非常广泛,涉及软件设计思想的各个方面,其中的一个重要结论就是软件功能的增加并不必然带来质量的提高。有时候,更少的功能(“弱”)反而是更好的选择(“强”),因为这会使得软件的可用性提高。相比那些体积庞大、功能全面、较难上手的软件,一种功能有限但易于使用的软件可能对用户有更大的吸引力。加布里埃尔本人经常举Unix和C语言的例子,Unix和C在设计上考虑了实际环境,放弃了一些功能,但是保证了简单性,这使得它们最终在竞争中胜出,成为主流操作系统和编程语言。——译者注」 + +  与之对照,还有另一种软件设计思想,也许可以被称为“万福玛丽亚”模式。它不要求尽快拿出原型,然后再逐步优化,它的观点是你应该等到完整的成品出来以后再一下子隆重地推向市场,就像圣母玛丽亚降临一样,哪怕整个过程漫长得像橄揽球运动员长途奔袭、达阵得分也没有关系。在互联网泡沫时期,无数创业公司因为相信了这种模式而自毁前程。我还没听说过有人采用这种模式而获得成功。 + +  软件领域以外的人可能没听过“弱即是强”,所以意识不到这种模式在艺术领域普遍存在。以绘画为例,文艺复兴时期就有人发现了这一点。如今,几乎所有的美术老师都会告诉你准确画出一个事物的方法,不是沿着轮廓慢慢一个部分、一个部分地把它画出来,因为这样的话各个部分的错误会累积起来,最终导致整幅画失真。你真正应该采用的方法是快速地用几根线画出一个大致准确的轮廓,然后再逐步地加工草稿。 + +  在大多数艺术领域,原型使用的材料与成品的材料一般来说是不一样的。印刷活字先画在纸上,然后才做成铅字。雕塑先用石蜡创作,然后才用青铜浇铸。地毯图案先用墨水画出纸型,然后才织成地毯。建筑物先做出木模型,然后才做成石头建筑。 + +  为什么15世纪油画首次亮相会引起轰动并很快流行起来?原因就是油彩使得画家可以在原型上直接画出最后的样子。你可以按照自己的想法画出初稿,但是它并不对你构成限制。接下来你可以逐步加上细节,甚至对初稿做出重大修改,直到最后完成。 + +  软件开发也可以这样做。原型(prototype)并不只是模型(model),不等于将来一定要另起炉灶,你完全能够在原型的基础上直接做出最后的成品。我认为,只要有可能,你就应该这样做。这样的方式使得你可以利用在开发过程中一路产生的新想法。不过更重要的是,这样做有助于鼓舞士气。 + +  士气是设计的关键因素。令我吃惊的是,大家很少提到这一点。我的一位美术启蒙老师告诉我:如果你觉得画某样东西很乏味,那么你画出来的东西就会真的很乏味。比如,假设你必须画一幢建筑物,你决定从每一块砖头开始画起。你觉得自己可以坚持下去,但是画到一半的时候突然感到很厌倦,于是你就不再认真观察每块砖头并画出它们各自不同的特点,而是以一种机械重复的方式草草地把砖头画完了事。这样一来,你的作品效果就很差,甚至还不如一开始就不采用写实手法,只是若隐若现地暗示砖头的存在。 + +  先做出原型,再逐步加工做出成品,这种方式有利于鼓舞士气,因为它使得你随时都可以看到工作的成效。开发软件的时候,我有一条规则:任何时候,代码都必须能够运行。如果你正在写的代码一个小时之后就可以看到运行结果,这好比让你看到不远处就是唾手可得的奖励,你因此会受到激励和鼓舞。其他艺术领域也是如此,尤其是油画。大多数画家都是先画一个草图,然后再逐步加工。如果你采用这种方式,那么从理论上说,你每天收工的时候都可以看到整体的效果,不会对最后的成品一点感觉都没有。跟你说实话吧,画家之间甚至流传着一句谚语:“画作永远没有完工的一天,你只是不再画下去而已。”这种情况对于第一线的程序员真是再熟悉不过了。 + +  士气也可以解释为什么很难为低端用户设计出优秀产品。因为优秀设计的前提是你自己必须喜欢这种产品,否则你不可能对设计有兴趣,更不要说士气高昂了。为了把产品设计好,你必须对自己说:“哇,这个产品太棒了,我一定要设计好!”而不是心想:“这种垃圾玩意,只有傻瓜才会喜欢,随便设计一下就行了。” + +  设计意味着做出符合人类特点和需要的产品。但是,“人类”不仅包括用户,还包括设计师,所以设计工作本身也必须符合设计师的特点和需要。 diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/IT/\351\273\221\345\256\242\346\226\207\345\214\226\344\270\216\345\274\200\346\272\220\346\226\207\345\214\226/Sam Williams\357\274\232\350\213\245\344\270\272\350\207\252\347\224\261\346\225\205\342\200\224\342\200\224\350\207\252\347\224\261\350\275\257\344\273\266\344\271\213\347\210\266\347\220\206\346\237\245\345\276\267\302\267\346\226\257\346\211\230\346\233\274\344\274\240@2015 (\347\254\2542\347\211\210).txt" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/IT/\351\273\221\345\256\242\346\226\207\345\214\226\344\270\216\345\274\200\346\272\220\346\226\207\345\214\226/Sam Williams\357\274\232\350\213\245\344\270\272\350\207\252\347\224\261\346\225\205\342\200\224\342\200\224\350\207\252\347\224\261\350\275\257\344\273\266\344\271\213\347\210\266\347\220\206\346\237\245\345\276\267\302\267\346\226\257\346\211\230\346\233\274\344\274\240@2015 (\347\254\2542\347\211\210).txt" new file mode 100644 index 0000000000000000000000000000000000000000..94f90fe9a43b26aa6e268fb345482c42f3322c31 --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/IT/\351\273\221\345\256\242\346\226\207\345\214\226\344\270\216\345\274\200\346\272\220\346\226\207\345\214\226/Sam Williams\357\274\232\350\213\245\344\270\272\350\207\252\347\224\261\346\225\205\342\200\224\342\200\224\350\207\252\347\224\261\350\275\257\344\273\266\344\271\213\347\210\266\347\220\206\346\237\245\345\276\267\302\267\346\226\257\346\211\230\346\233\274\344\274\240@2015 (\347\254\2542\347\211\210).txt" @@ -0,0 +1,2399 @@ +若为自由故——自由软件之父理查德·斯托曼传 +Free as in Freedom——Richard Stallman's Crusade for Free Software + +Sam Williams 著 + + + +目录 +第1章 从一台打印机说起 +第2章 黑客路漫漫 +第3章 黑客正年少 +第4章 逆天行道,弹劾上帝 +第5章 自由一隅 +第6章 Emacs公社 +第7章 道分左右,义无旁支 +第8章 圣IGNUcius +第9章 GNU通用公共许可证 +第10章 GNU/Linux +第11章 开源 +第12章 开往黑客地狱的短暂旅途 +第13章 斗争仍在继续 +第14章 跋:粉碎孤独 +附录A 术语 +附录B 黑客的三层含义 +附录C GNU自由文档许可证(GFDL) + + + +第1章 从一台打印机说起 + +我畏惧希腊人,哪怕他们带着礼物来。 +——维吉尔,《埃涅阿斯纪》 + +这可是台全新的打印机!怎么又卡纸了? + +理查德·M·斯托曼(Richard M. Stallman)刚刚发现了这问题,这可苦了他了。他当年27岁,是麻省理工学院人工智能实验室的一名程序员。一个小时前,他给那台激光打印机提交了一个50页的打印任务,之后就忙着干活去了。现在他正站在那台打印机前面,眼巴巴地看着它被纸卡住:总共才打印了的四页纸,还没有一页是自己的。换句话说,斯托曼那份50页的文件,外加别人的半份文档,全被一张纸卡住了,成了实验室网络上的两个孤魂野鬼。 + +干程序员这行也是有风险的:你总得等着机器干活。不过斯托曼还是能苦中作乐。可再怎么说,等着机器干活,和在它跟前盯着它干活毕竟是两码事。就说现在吧,斯托曼正盯着打印机,看它一页一页慢吞吞地往外吐纸。这情景对他来说可不陌生。斯托曼好歹也是个程序员,成天都在改进机器和程序,提高它们的效率。当下,他恨不得掀开这台打印机,仔细查查究竟是哪里出的毛病。 + +可惜,凭编程的能耐,没法解决机械工程的问题。斯托曼只能在重新打印文件的这些时间想点别的:能不能用别的办法,绕道解决这个卡纸的问题? + +这台打印机来人工智能实验室有多久了?斯托曼努力回忆着。这机器是施乐公司(Xerox Corporation)捐赠的。它可是新一代产品的原型,是从上一代的复印机改进而来。和上一代比,它不再是简单地复印文件,而是从网络上接收数据,打印成专业品质的文档。它诞生于著名的施乐帕罗奥多研究中心(Xerox Palo Alto Research Facility)。再过大约十年,将会发生一场打印机革命,那时,许多计算机厂商都会投身其中。而这款打印机则是这场革命的先行者。 + +人工智能实验室的程序员们,本能般地喜欢折腾这些新酷产品。当初他们麻利地把这打印机请回来,把它和实验室中的各种复杂的计算设备连在了一起,结果甚是喜人。比起以前的打印机,这台新打印机打印速度飞快。平均大约一秒打印一页纸。以前要花二十多分钟打印的东西,如今两分钟就解决了。新机器的打印精度也更高了。让它给画个圆,它绝不会打出个鸡蛋;让它画条直线,它也绝不会拐着弯瞎划拉。 + +怎么看,这打印机都是份难以拒绝的礼物。 + +可没过几周,这机器的缺点就逐渐显现了。其中最要命的,就是卡纸问题。凭着工程师的直觉,程序员们很快就洞察出了这问题背后的诱因。这台打印机是在复印机的基础上设计的。倘若是一台复印机,它旁边总会站个人直接操作它。遇到卡纸问题,这个人总能立即发现,着手解决,不至于有什么大影响。用工程师的行话讲,这系统需要用户参与。所以,对于复印机来说,卡纸问题也就没人关注了。设计复印机的时候,施乐公司的工程师们都没把卡纸的事情放在心上,专心去对付其他问题了。可把类似的机械部件用在打印机上,问题就来了。 + +施乐公司在复印机的基础之上,设计了这个打印机。这个小小的变化,却使得人机关系发生了微妙而深刻的改变。现在,在同一时刻,这机器不再只服务一个用户。它要同时给整个网络的用户提供打印服务。这些用户也不再老老实实地站在机器前面,而是坐在网络的另一端,隔着老远,向这台机器发布打印命令,指望它能按要求完成任务。等这些用户回过神,想起去取打印的文件时才会发现,大半的内容都被一页纸卡住出不来了。 + +在这台打印机之前,斯托曼也遇到过卡纸问题,他也是实验室里第一个提出解决方案的人。几年前,实验室还用着一台旧打印机,也有类似的问题。这台打印机的控制程序,运行在实验室里的一台PDP-11计算机上。那会儿,斯托曼修改了这个控制程序,解决了这个问题。 当然,他没法直接修理打印机来解决卡纸的问题。不过他能修改控制程序,让它定期检查打印机是否工作正常,再把检查结果传给实验室的核心计算机 —— 一台PDP-10。生怕哪个粗心用户忘了去查看打印机,斯托曼还让控制程序在卡纸的时候,向所有等待打印任务的用户发送一条提醒消息。消息简短明确:“打印机被卡住了,请去维修。”收到这消息的人都是等着要用打印机的,所以问题就迎“人”而解。 + +斯托曼是人工智能实验室中第一个发现这个问题的人,也是他第一个提出了解决方案。几年前,实验室还用着一台旧打印机,也有类似的问题。这台打印机的控制程序,运行在实验室里的一台PDP-11计算机上。那会儿,斯托曼修改了这个控制程序,解决了这个问题。当然,他没法直接修理打印机来解决卡纸的问题。他只是修改控制程序,让程序定期检查打印机是否工作正常,再把检查结果传给实验室的核心计算机——一台PDP-10。同时,他也修改了运行在PDP-10主机上的“不兼容分时系统(ITS,Incompatible Timesharing System)”,处理这些检查结果。生怕哪个粗心用户忘了去查看打印机,斯托曼还让控制程序在卡纸的时候,向所有等待打印任务的用户发送一条提醒消息。消息简短明确:“打印机被卡住了,请前去维修。”收到这消息的人都是等着要用打印机的,所以问题就迎“人”而解。 + +斯托曼这解决方案虽然治标不治本,但也算讨巧。它没解决打印机机械部件的问题,却提出了一个次优方案:完善人机交互,及早报告问题。多亏了斯托曼加的几行代码,人工智能实验室的员工,不用再跑来跑去地查看打印机状态了。这样,每周起码节省了10~15分钟时间。用编程的术语讲,斯托曼的方案提高了网络的整体智能。 + +“你要是收到这条消息,你可就坐不住了。你多半等不及别人去解决卡纸问题,”斯托曼回忆着其中的逻辑,“你得亲力亲为,跑到打印机跟前。一两分钟之后,要是问题还没解决,就会聚来两三个人。这其中,总会有个人知道怎么修理。” + +类似的巧法子是人工智能实验室的一大特色。尤其在其中的资深程序员之间,屡见不鲜。实际上,那些顶尖程序员不屑于用“程序员”这词。他们更喜欢用圈子里的行话,自称“黑客”。这词儿涵盖了不少内容:从抖机灵、甩包袱,到改进现有软件,优化计算机系统。而更深之处,则蕴含着旧时美国移民的智慧。对于黑客来说,有这样一条铁律:从头开发一个软件只是小儿科;改进一个程序才显真本事 要深入了解“黑客”这个词,参阅附件 B 。 + +这条铁律,恰恰影响着施乐这样的公司,让它们乐意把自己的产品,以及配套的软件捐赠到黑客聚集的地方。要是这些黑客们改进了其中的软件,这些公司就可以把这些修改拿过来,化为己用,投入市场。用商业术语讲,这叫优势社会资产。公司花小钱,就能有个附属研发部门。 + +凭着这份礼尚往来的精神,斯托曼在这台新打印机面前并不慌张。他只要找个法子,把以前那套修改方案拿过来,修理修理这机器,或者用圈子里的话说,“黑”它一下,就万事大吉了。可是,他刚找了找这台施乐激光打印机的软件,就碰了一鼻子灰。这打印机根本不提供软件,至少没提供任何给人读的程序代码。要知道,那个时代,大多数公司都会发布软件的源代码(一系列可供人阅读的文本文件,用于详细定义程序的行为)。可当下,施乐公司提供的程序,却只有编译好的可执行文件。程序员倒是可以打开这些文件,可打开之后看见的,全是0和1。除非他们有闲功夫,乐意去翻译这些二进制信息,否则这些东西看起来只是一堆胡言乱语。 + +尽管斯托曼可谓是精通计算机,但还是没那份闲心和时间去解释这些二进制文件。不过作为一名黑客,他总是有法子。他知道,黑客这个圈子里,分享信息是至关重要的。过不了多久,就会有个黑客,从大学实验室或者哪个公司的机房里,拿出这激光打印机控制软件的源代码,分享给圈子里的同胞。 + +经历了几次卡纸事件之后,斯托曼还耐着性子安慰自己。不管怎么说,当初也遇到过类似情况的。几年前,实验室需要一个网络程序,让那台PDP-11和PDP-10之间协调工作。实验室里这群黑客自然能胜任这项任务。不过,作为一名哈佛毕业的校友,斯托曼记起了当初在哈佛计算机系,有个黑客也写过类似的程序。就运行在哈佛的一台PDP-10上。那台PDP-10,和当下人工智能实验室这台一样,只是运行了不同的操作系统。哈佛的机房里有规定,要求所有安装在PDP-10上的程序,都必须发布源代码。 + +作为校友,斯托曼还可以进哈佛的机房。他就大模大样地走进去,复制出源代码,带回了麻省理工的人工智能实验室。紧接着,他改写了程序,让它能在人工实验室的机器上运行。不费吹灰之力,人工智能实验室的软件设施又进步了一截。斯托曼甚至还在哈佛的软件基础上,增加了点新功能。"后来这个程序我们用了好几年。"斯托曼回忆道。 + +这条铁律,恰恰影响着施乐这样的公司,让它们乐意把自己的产品(和配套的软件)捐赠到黑客聚集的地方。要是这些黑客们对这些产品产生了兴趣,他们以后就可能有兴趣去这个公司工作。在20世纪60年代到70年代初,黑客们也常常会开发一些实用的软件,提供给公司发布给其他顾客使用。 + +凭着这份礼尚往来的精神,斯托曼在这台新打印机面前并不慌张。他只要找个法子,把以前那套修改方案拿过来,修理修理这机器,或者用圈子里的话说,“黑”它一下,就万事大吉了。可是,他刚找了找这台施乐激光打印机的软件,就碰了一鼻子灰。这打印机根本不提供软件,至少没提供任何给人读的程序代码。要知道,那个时代,大多数公司都会发布软件的源代码(一系列可供人阅读的文本文件,用于详细定义程序的行为)。可当下,施乐公司提供的程序,却只有编译好的可执行文件。程序员倒是可以打开这些文件,可打开之后看见的,全是零和一。除非他们乐意去翻译这些二进制信息,否则这些东西看起来只是一堆胡言乱语。 + +有一种叫作”反汇编器”的程序,可以把这些看不懂的零和一转换成机器底层指令,但是要进一步了解这些指令实际在“做”的事情则是一件费时费力的工作,这样的工作被称作“反向工程”。要想把打印机的控制程序进行反向工程,也许会花去超过五年的时间。卡纸的问题还没有严重到让斯托曼愿意花这么多时间去解决,所以他把这件事放到了一边。 + +施乐公司看上去不太友好的软件条款与黑客社区所习惯的氛围格格不入。打个比方,如果想为一台老式的打印机开发一个在PDP-11上运行的控制程序,或为另一台PDP-11开始一个处理显示终端的程序,人工智能实验室的黑客们需要在PDP-10主机上运行一个交叉汇编的程序,才能创建出他们需要的程序。他们可以自己从头开发一个这样的交叉汇编程序,但是上哈佛大学上学的斯托曼,在哈佛的计算机实验室中找到了这样一个程序。这个程序都可以在PDP-10这种型号的计算机上运行,即使两台机器上运行的操作系统不同也没有关系。斯托曼并不需要知道这份代码是谁写的,因为源代码中并没有标明。但是他可以把这份代码带到人工智能实验室,通过修改其中的一部分代码,这个程序就可以在人工智能实验室的“不兼容分时系统(ITS)”上运行了。没花多大劲,人工智能实验室就得到了一个可以用于充实他们的软件架构的程序。斯托曼甚至还在程序中加入了一些原来没有的新功能,使程序变得更加强大了。“这个程序我们一直用了很多年。”斯托曼说。 + +对于20世纪70年代的程序员来说,把软件复制来复制去,就好比从邻居家借碗酱油那样稀松平常。所不同的是,你从邻居那拿了多少酱油,邻居就少了多少。而从别人那里复制一个程序出来,并不影响别人继续使用那个程序。要说有影响,也是正面的。因为斯托曼对这程序还加了些功能,别的黑客可以自由地复制斯托曼改进的程序。这也算礼尚往来了。在哈佛那边,后来确实有个从Bolt, Beranek & Newman这家公司来的程序员,复制走了斯托曼的程序。之后还又加了点功能,斯托曼则又把改进后的程序复制了回来,用回到人工智能实验室里。 + +“开发一个程序就好比开发一座城市,”斯托曼回忆着人工智能实验室的软件设施,“有些部分会被换掉,有些得重建翻修。新的东西会逐步加进来。可如果你仔细看某个部分,也许会感慨这块从风格看应该是20世纪60年代早期的;之后的部分估计是70年代中期完成的。” + +圈子里的这种氛围简单朴实,它让知识逐渐积累。这种积累为以后的发明和创造提供了稳固的基石。人工智能实验室以及世界各地的黑客们,都得益于这个氛围。 + +比如在美国的西海岸,一群加州大学伯克利分校的计算机科学家们和AT&T的工程师合作,遵循着如此积累知识的理念,创造了一整套操作系统。他们把这操作系统叫作UNIX。UNIX这个名字来源于另一个操作系统的名字——Multics,一个早期的学术研究项目。倘若是当初的程序员,只要愿意支付成本价和运输费,就可以买到一份UNIX系统的副本。整套系统会被复制到一个全新的磁带上,完整地寄到购买者手里,谁都能买,童叟无欺。 + +参与到这个文化小圈子的程序员,不一定都把自己称为黑客。不过,绝大多数人都有着斯托曼那般的情结:要是一个程序或者一个补丁可以解决自己的问题,没准也能帮到别人。独乐乐不如众乐乐,何不分享给大家,起码也算积德行善了。 + +一开始,施乐公司不分享源代码的行为倒也没惹到谁。斯托曼在找源代码的过程中,甚至都没想过去联系施乐公司:“人家都送咱打印机了,何必还非得兴师动众地管他们要代码呢?” + +可是眼巴巴地等着源代码,如今还没找到,倒是让斯托曼起了疑心,勾起了他几年前一段不快的回忆。当初,一位在卡耐基梅隆大学的计算机博士,名叫布莱恩·瑞德(Brian Reid)。他开发了一个很不错的文本排版软件,名叫Scribe。这软件可以让用户通过网络传递文档并且还支持自定义的字体,这在当时可是首例。之后这种功能的普及则带来了HTML——如今WWW网络上的通用语言。1979年,布莱恩决定把Scribe出售给一家在匹兹堡的公司,名叫Unilogic。他当时刚好博士毕业,正打算把开发Scribe的任务转手给别人,免得它流落到公有领域里。为了让这份订单更吸引人,布莱恩在Scribe中动了点小手脚:他在里面放了个“定时炸弹”,让用户有90天的免费试用期。90天一过,如果用户不交费,则不能再使用这个软件。 + +对于布莱恩来说,这个买卖是个双赢策略。一方面,正如布莱恩所期望的那样,Scribe的代码的确没有流落到公有领域;另一方面,Unilogic也有了一个向用户收费的途径。可这对斯托曼来说,这份交易完全是背叛了程序员的良心。布莱恩非但没遵循分享再传播的精神,而且竟然还助纣为虐,帮助公司去强制限制用户自由。 + +一周过去了,依然没有施乐激光打印机源代码的一丁点消息。斯托曼觉得这好像又是一笔索财要钱的勾当。不过还没等他给这事定性,好消息就来了:一个在卡耐基梅隆大学,计算机系的教授刚刚从施乐公司离开。这位教授还在激光打印机部分工作,而且从收到的八卦消息看,他在卡耐基梅隆大学还在继续激光打印机方面的研究。 + +于是,斯托曼这才抛开之前的胡思乱想,打算下次去卡耐基梅隆大学的时候,去会见这位教授。 + +也没多久,他就得到了一次访问卡耐基梅隆大学的机会。和斯托曼所在的麻省理工学院一样,它们那里也有一个人工智能实验室。这才几个月不到,斯托曼就因为工作原因需要去卡耐基梅隆大学出差访问。访问中,他在计算机系请人帮忙找到了那位曾在施乐公司领导激光打印机项目的教授。他正好就在办公室。 + +这种合作的精神不断的被商业秘密限制和贪婪之心所侵蚀,变成了一种商业秘密和合作精神的古怪搭配。加州大学伯克利分校的计算机科学家们基于他们从AT&T得到的Unix系统开发了一个名为BSD的操作系统。伯克利向那些已经向AT&T支付了50000美元软件许可证费用的学院提供BSD系统,仅仅只收取复制磁带的成本费。伯克利的黑客们还是尽可能的发扬分享合作的精神,但只能在AT&T所允许的范围内,并且他们还没有意识这两种不同的模式之间所存在的巨大冲突。 + +施乐公司不分享源代码的行为虽然让斯托曼感到烦恼,不过倒也没激怒到他。斯托曼在找源代码的过程中,甚至都没想过去联系施乐公司:“人家都送咱打印机了,何必还非得兴师动众地直接管他们要代码呢?再说了,我敢肯定他们不发布源代码是有一种有意的行为,非要找他们要代码也是徒劳的。” + +好消息最终还是来了:一名卡耐基梅隆大学计算机科学系的教授手头有一份这台激光打印机的源代码。 + +斯托曼对卡耐基梅隆大学并没有什么好印象。1979年,一位在卡耐基梅隆大学的计算机博士研究生,名叫布莱恩·瑞德(Brian Reid)。他开发了一个很不错的文本排版软件,名叫Scribe。但是他却拒绝公开这个软件的代码,震惊了整个开发社区。这个文本排版软件是世界上第一个可以通过标记来指定特定语意(比如“强调这个单词”或“这是一段引文”)的排版软件,而在它之前,一般的排版软件都是通过低级的排版命令(比如“把这个词改为斜体”或“缩小这一段的页边距”)来表达类似的需求。瑞德决定把Scribe出售给一家匹兹堡名叫Unilogic的公司。他当时刚好博士毕业,正打算把开发Scribe的任务转手给别人,免得它流落到公共领域(Public Domain)里。(为什么他会做出这样的决定,迄今为止还令人费解。)为了让这笔交易更具吸引力,瑞德在Scribe中动了点小手脚:他在里面放了个“定时炸弹”,让用户有90天的免费试用期,90天一过,如果用户不交费,则不能再使用这个软件。 + +在斯托曼看来,这样的做法背叛了程序员应有单纯、简单的精神气质。瑞德的做法不但没有弘扬分享再传播的精神,而且竟然还助纣为虐,开辟了一条让软件公司强迫程序员为信息付费的新途径。不过斯托曼也没有太在意这个问题,因为他本人并不太使用Scribe这个软件。 + +Unilogic提供了一个免费的版本给人工智能实验室使用,但是这个版本中仍然保留了那个“定时炸弹”。这个软件在实验室中正常使用了一段时间,但是有一天,有用户发现它不能正常工作了。一位名叫霍华德·坎农(Howard Cannon)的系统工程师花了几个小时调试了这个软件,最终发现了隐藏在软件内部的“定时炸弹”,他改动了一些代码,把它绕了过去。坎农对此非常愤慨,遇到人就抱怨说Unilogic浪费了他好几个小时的时间去解决一个故意隐藏在软件中的问题。 + +几个月后,斯托曼因为工作原因,需要去卡耐基梅隆大学出差访问。访问过程中,他在计算机系找到了那位据说拥有激光打印机软件代码的教授。运气不错,那天他还刚好就在办公室。 + +工程师之间的讨论总是开门见山的。几句简单寒暄过后,斯托曼就直入主题,说明自己是为了激光打印机的控制程序代码而来,以便可以修改后用到麻省理工学院的PDP-11计算机上。可令斯托曼吃惊的是,这位教授竟然拒绝了他的要求。 + +“他跟我说他答应了公司不能泄露代码。”斯托曼说。 + +记忆总是这么有趣。二十年过去了,斯托曼关于这段经历的回忆大部分都是空白的。他都不记得当初为了什么事去的卡耐基梅隆大学,连具体哪年去的都给忘了。他也不记得那位教授是谁。根据Scribe的作者瑞德的回忆 ,惹到斯托曼的那位很可能是罗伯特·斯布鲁(Robert Sproull)。他曾是施乐公司PARC研究所的研究员,如今在Sun研究所任部门主管。20世纪70年代,斯布鲁在施乐公司PARC研究所负责激光打印机程序的主要开发。他在80年代拿到了卡耐基梅隆大学的教职,并在那里继续他的激光打印机相关的工作。 + +“斯托曼想要的代码包含的可都是前沿技术,那可是斯布鲁去卡耐基梅隆之前,花了几年的时间研发的成果,”瑞德回忆道,“我想斯托曼拜访斯布鲁那会,他刚刚到卡耐基梅隆大学还不到一个月。” + +可是,直接给斯布鲁发邮件,询问当初的事情,他却不记得这事了:“实在是无可奉告。”斯布鲁在邮件中写道:“我确实不记得有这么一件事。” + +当事双方谁也不记得事情的细节,甚至都无法确定是否真的发生过。至于斯托曼说的,斯布鲁硬生生地拒绝了他的这件事,也就无从考证了。在之后的各种演讲中,斯托曼一再提及这件事。强调斯布鲁由于签署了保密协议,从而不能泄露源代码。如今在各个IT公司,签署保密协议已经非常普遍。不过在当时,为软件代码签署保密协议还算先例。这也间接地反映出施乐公司对激光打印机项目的重视程度。“施乐公司打算把激光打印机做成商业产品”,瑞德说,“他们除非疯了,才会把代码泄露出去。” + +但在斯托曼看来,这种保密协议完全是另外一回事。那时大家都把软件认为是一种共有的资源,卡耐基梅隆大学一些研究员的做法,就意味着否定这个公理。这对斯托曼来说,就好比是一个农夫眼看着用来灌溉庄稼的河流干枯了,循着河道往上巡查,竟然看到一道大坝从天而降,拦住河水。大坝上赫然印着几个大字:施乐公司。 + +施乐公司用各种花言巧语,把一位程序员同胞带入了这片新天地,与世隔绝。不过一开始,斯托曼也没把重点集中在施乐公司那边,而是怪罪到了个人性格上。作为一个标准技术宅男,斯托曼和人沟通起来难免有点障碍。他这次亲自跑去拜访一位程序员同行,已经是一种充满诚意的行为了。而到头来却被当头一棒。让他实在觉得对方有点鲁莽。“我当时非常生气,都不知道怎么表达。我二话没说,扭头就走了,”斯托曼说,“没准我还使劲摔了门,谁知道呢。我能记得的,就是当时想赶快离开。” + +二十多年过去了,斯托曼当初的怨气还在。他甚至把这个事件描述为人生转折点。然而,那之后几个月中,在人工智能实验室以及斯托曼身上发生的各种事,却比这次打印机事件还令人难以接受。斯托曼,本是一名孤独的黑客,本能地对绝对权威存有戒心。在经历了这一系列事件后,他变成了一位斗士,把传统的自由、平等、博爱的精神引入软件开发领域。而这次的打印机事件,在其一生的无数事件中则最值得一书。 + +“它让我思考了一些脑海中由来已久的问题,”斯托曼说,“我以前有过一些初步的想法,认为软件本该共享。可当时还不知道怎么表述。那时的想法还没有清晰到可以用简单几句话给别人介绍。” + +尽管之前也有过类似的不快经历,可这次的打印机事件彻底让斯托曼意识到,这一系列的事件,正悄悄地侵蚀自己所珍视的文化——那个神圣不可侵犯的小圈子。作为一名世界顶级研究机构的顶级程序员,斯托曼之前一直都无视那些程序员同行所作的各种妥协让步,因为他们还不至于影响到斯托曼的工作。而如今施乐激光打印机的到来,让斯托曼开始注意到其他计算机用户一直忍受的程序和机器。这些程序很少能影响到人工智能实验室,斯托曼和实验室的成员之前一直都可以自由地重写软件,添加功能。直到有一天,人工智能实验室把一台计算机的操作系统从不相容分时系统(Incompatible Time Sharing Operating System)换成了商业的TOPS 20系统,这些就再也不能做了。 + +如今,这台激光打印机已经强势入驻到人工智能实验室了,而外面的世界也悄悄发生了变化。除了偶尔卡纸以外,打印机工作还算正常。可是按照个人喜好修改软件则不可能了。从软件业的角度看,这台打印机的出现是个信号,预示着软件是公司的重要财产。谁也不会再想发布软件源代码,因为这可能会给潜在竞争对手机会,让他们可以轻松山寨自己的产品。而在斯托曼看来,这台打印机简直就是个卧底。十来年的尝试,私有软件总算在人工智能实验室中站得一角。私有软件,也就是如今所说的专有软件,这次被打扮成礼物,潜入得悄无声息。 + +施乐公司后来还发出邀请,让一些程序员再使用它们的礼品。斯托曼说,要是再早几年,他没准也无法拒绝这种免费午餐。是那次打印机事件,让斯托曼建立起了道德防线。它不仅给了斯托曼足够的怒火去对以后的各种礼品心存戒备,更让斯托曼开始思考一个让他自己也坐立不安的问题:要是以后哪个黑客同行进到自己的办公室,向他索要代码,他究竟会不会拒绝复制代码呢? + +“这是我第一次碰上这种保密协议,它很快让我明白,保密协议面前,总会有无辜的受害者”,斯托曼坚定地说,“在打印机事件中,我和整个人工智能实验室扮演了受害者的角色。” + +斯托曼带着这种态度,经历了动荡的20世纪80年代。在这期间,麻省理工学院的同事们纷纷离开实验室,走进公司,签署了保密协议。大多数保密协议都有解密时间,而这则成了很多黑客们的借口。他们会辩解说:软件迟早会成为公共资源。而保证软件在早期的开发阶段不被泄露,则可以保证让各位黑客朋友们可以进入顶尖项目中工作。这些借口,在斯托曼看来,则是迈向深渊的第一步。 + +斯托曼后来解释说:“如果他只是因为个人原因拒绝与我合作,也许事情也就这样不了了之了。也许我会觉得他是一个蠢蛋,但也就仅此而已。但是事实上,他并不是因为个人原因而拒绝我,是因为他先前已经向公司保证了不会泄露源代码,不但不能把源代码给我,也不能给其它任何人,那这个事情性质就变得严重了。” + +尽管之前也有过类似的不快经历,可都不能与这次的打印机事件相提并论。这次事件让斯托曼彻底意识到,这些一系列的事件,正悄悄地侵蚀自己所珍视的文化——那个神圣不可侵犯的“黑客”小圈子的核心文化。他说:“我一直有个信念,那就是软件应该可以可以被分享的,但是我不太确定应该怎么去把它变成现实。我的想法还不太成熟,也不太系统,所以没有办法把它精确的表达出来,让其它人理解。经历了这些事件,我开始渐渐认识到问题的本质和它的严重性。” + +作为一个世界顶级研究机构的顶级程序员,斯托曼之前一直都无视那些程序员同行所作的各种妥协和让步,因为他们还不至于影响到斯托曼的工作。而如今施乐激光打印机的到来,让斯托曼开始注意到其他计算机用户一直在忍受的程序和机器。 + +如今,这台激光打印机已经强势入驻到人工智能实验室了,而外面的世界也悄悄发生了变化。除了偶尔卡纸以外,打印机工作还算正常。可是按照个人喜好修改软件则不可能了。从软件业的角度看,这台打印机的出现是个信号,预示着软件是公司的重要财产。谁也不会再想发布软件源代码,因为这可能会给潜在竞争对手机会,让他们可以轻松山寨自己的产品。而在斯托曼看来,这台打印机简直就是个卧底。十来年的尝试,私有软件总算在人工智能实验室中站得一角。私有软件,也就是如今所说的专有软件,这次被打扮成礼物,潜入得悄无声息。 + +施乐公司后来还发出邀请,让一些程序员再使用它们的礼品。斯托曼说,要是再早几年,他没准也无法拒绝这种免费午餐。是那次打印机事件,让斯托曼建立起了道德防线。它不仅给了斯托曼足够的怒火去对以后的各种礼品心存戒备,更让斯托曼开始思考一个让他自己也坐立不安的问题:要是以后哪个黑客同行进到自己的办公室,向他索要代码,他究竟会不会拒绝复制代码呢? + +“要是谁跟我建议,让我以这种方式背叛我的同事,我就会回忆起在打印机事件中,我和我的同事被别人背叛的感觉,那份怒火终生难忘”,斯托曼说,“我会回敬给分发专有软件的人,并告诉他`谢谢你的软件,非常棒!可是我不能接受你的那些保密协议,很遗憾,我不会用它。”' + +斯托曼带着这种态度,经历了动荡的20世纪80年代。在这期间,麻省理工学院的同事们纷纷离开人工智能实验室,走进公司,签署了保密协议。大多数保密协议都有解密时间,而这则成了很多黑客们的借口。他们会辩解说:软件迟早会成为公共资源。只要保证软件在早期的开发阶段不被泄露,就可以保证让各位黑客朋友们可以进入到顶尖项目中工作。这些借口,在斯托曼看来,是迈向深渊的第一步。把一个出色的项目放到社区以外去开去,能有什么好处可言呢? + +斯托曼很快就会明白,要拒绝这些要求和邀请,不仅需要一些个人牺牲,更会被其他一些黑客们疏远。这些黑客虽然也对各种保密协议嗤之以鼻,但会更圆滑地对它加以评判。正因为如此,斯托曼被誉为“最后的黑客”。这使他与专有软件市场渐行渐远。拒绝提供源代码,在斯托曼看来,不仅违背了第二次世界大战以来深植入软件开发中的科学精神,更违背了“己所不欲,勿施于人”的道德准则。 + +打印机事件的重要意义恰在于此。正如斯托曼所言,倘若没有这次的事件,他的人生也许就会落入平常,纠结着,一边开发专有软件,一边痛苦地编写没人会看到的代码。当然也不会有着如今清晰的思路,更不会去解决别人从未想过的各种问题。最重要的,他心中也不会再有那份不平,推动着他去追求他的政治理想和道德信仰。 + +“从那日起,我决定绝不参与其中”谈起软件保密协议和类似的事情,斯托曼如是说,在他看来,这是一场以个人自由换取便利的交易,“我决定绝不让第二个人为此成为像我一样的受害者。” + + + +第2章 黑客路漫漫 + +纽约大学计算机学院坐落在沃伦·韦弗大楼(Warren Weaver Hall)之中,和著名的华盛顿广场公园相隔两个街区。大楼周围充斥着从空调压缩机里传出来的股股热浪,这阵热浪好似屏障一般,驱散着各路闲杂人等。倘若冲破这道屏障,面前还会出现另一道防线:一个安检处拦在了整座大楼的唯一一道入口前面。 + +走过安检口,气氛似乎缓和了些。可是,依旧能看到各处林立的警示牌指向消防出口。一路下来,可能会有这样的感受:哪怕是在2001年9月初的纽约这样一座现代化的都市之中,也要记得,小心驶得万年船。 + +当继续向前,走到中央大厅的时候,这份谨慎的感受却被一群人冲破了。他们之中,有些看起来像是纽约大学的学生。大部分则蓬着头,好似等待着一场盛大的音乐会。在这短暂的上午,这群人占据了沃伦·韦弗大楼。这下子,安检人员反倒闲下来了。他们斜躺坐在椅子上,看着电视剧。要是哪位访客,问起“演讲”的事,这位保安就会连话也懒得说一句,干脆冲着旁边的大礼堂一耸肩,然后继续看他的电视剧。 + +有如此神通,能让保安放半天假的这位演讲者,此时正坐在大礼堂中。他就是理查德·M·斯托曼:GNU工程的创始人,自由软件基金会的第一任主席,1990年麦克阿瑟奖(MacArthur Fellowship)获得者,同年美国计算机协会(Association of Computing Machinery)格雷斯·莫瑞·霍普奖(Grace Murray Hopper Award)获得者,2001年日本武田基金会(Takeda Foundation)的武田奖(Takeda Award)共同获得者。当然,他也是人们熟悉的那位麻省理工学院人工智能实验室的黑客。前阵子黑客相关的网站上,包括GNU工程的官方网站上(http://www.gnu.org),都刊载了一条新闻:理查德·M·斯托曼将在他的家乡纽约曼哈顿发表演讲,回应微软在前些时候关于GNU通用公共许可证(GNU General Public License)的抨击。 + +斯托曼演讲的主题,是关于自由软件运动的历史和未来。这次演讲的地点尤为重要。不到一个月前,微软的副总裁克雷格·蒙迪(Craig Mundie)就是出现在纽约大学斯特恩商学院(Stern School of Business),抨击GNU通用公共许可证——简称GPL。GPL是斯托曼16年前想出来的法律武器,用来对抗工业界中越来越盛行的专有软件。1980年,斯托曼经历了那次施乐打印机事件之后,预感到了软件专有化的潮流逐渐到来。为了抗衡这潮流,斯托曼提出了自由软件的概念:用户可以自由地使用、学习、修改和再发布软件。如今,GPL已经俨然成为了自由软件社区的核心工具。简单来说,GPL是一个软件使用许可证,它利用版权法,将自由软件锁定在公众可以自由使用和修改的领域。一旦锁定,这个软件就不会再被专有化。不仅仅是这个软件本身被锁定为自由软件,这个软件的任何衍生品也会成为自由软件。也就是说,倘若某个软件以GPL形式授权发布,这个软件以及任何它的衍生品,都可以被用户自由使用和修改。所谓一个软件的衍生品,也就是任何使用了该软件的代码的作品。哪怕一个软件仅仅使用了某个GPL授权软件的一小部分代码,这个软件也将被要求以自由软件形式发布。恰恰是这个原因,软件业的很多人把GPL称为病毒式许可证,因为它像病毒一样,“感染”所有它触及到的程序[注1]。 + +随着信息产业的发展,全球越来越依赖软件和软件标准。在这样的环境下,谁都无法忽视GPL。哪怕曾经嘲笑过GPL的公司,也不能再把它视为空中楼阁。因为越来越多的软件都是以GPL形式授权:Linux,一个最初由芬兰大学生林纳斯·托瓦兹(Linus Torvalds)于1991年开发出的类UNIX操作系统内核、GNU Emacs、GNU调试器、GNU编译器等都是以GPL授权的。这些工具在一起,形成了一个完整的自由操作系统。世界各地的黑客为这套操作系统贡献着代码。每个黑客也可以自由地拥有这样一套操作系统。如今,很多计算机公司都不再把这样一套自由操作系统视为威胁。相反,IBM、惠普、Sun等公司都依赖这个操作系统,并在这套系统之上开发和出售自己的软件产品。[注2] + +在黑客这个圈子里,这个操作系统也被当作战略武器,用来对抗微软公司。这个总部坐落于华盛顿州雷德蒙德市的软件公司,从20世纪80年代开始,已经俨然成了软件业的垄断巨头。作为Windows操作系统的拥有者,微软公司面对业界同行转向GPL许可证的事实,已经再也坐不住了。在Windows中,几乎每行代码都是专有的。至少按照法律条款看,它归微软所有。倘若有谁不慎在Windows中放入一点GPL授权的代码,整个Windows产品都会被“感染”为自由软件。在微软看来,这就好比把哪吒请进了龙宫,整个公司都得翻江倒海,它必须把整个操作系统的代码都以自由软件的形式发布。竞争对手就可以自由地复制、修改这个系统,并销售修改后的版本,这可能会瞬间颠覆微软公司龙头老大的地位。 + +因此,微软极度关注GPL的普及情况。也正因如此,蒙迪才来纽约大学,抨击GPL以及“开源”软件的开发销售模式。(微软并不承认“自由软件”这个概念,而是习惯把矛头指向开源章节中即将谈到的“开源”阵营,回避自由软件运动的存在。)这才引得斯托曼也决定来纽约大学,在同一所校园内,回应蒙迪的抨击。 + +对软件业来说,二十年的时间可是个不短的年头。遥想二十多年前的1980年,斯托曼还在咒骂着人工智能实验室的施乐打印机;微软,这个被当今黑客视为全球软件业巨头的公司,还是个私人的创业小公司;而IBM,这个被当年的黑客视为全球计算机业巨头的公司,还没推出个人计算机;至于IBM的个人计算机推动了整个计算机业的发展,则是之后的事情了。而当今人们习以为常的很多技术,在那时都还没出现。包括WWW网络、卫星电视、32位终端游戏机等。如今的很多计算机巨头,在当时也一样还没建立。包括AOL、Sun、亚马逊、康柏、戴尔等。 + +高科技产业在这短暂时间内迅速成长的过程中,则充斥着关于GPL的争论。GPL的支持者声称:由于计算机硬件平台的短暂寿命,为了避免买到过时产品,用户会倾向于购买大品牌的产品。由此带来的结果,造成了软件市场赢者通吃的局面[注3]。而如今,由于软件被认为是专有的,具有垄断地位的公司就会滥用它的权利,使得整个产业停滞不前。垄断企业会堵住所有去路,让竞争者无法生存,也让后起的创业公司无处立足。 + +GPL的反对者则恰恰相反。他们声称销售软件和购买软件一样,具有风险。倘若没有法律保证软件可以被专有化,人们将再也看不到杀手级应用的繁荣(所谓杀手级应用,即某种技术足以打开一片全新市场)[注4],公司也将失去继续创新的动力。正如微软副总裁蒙迪于5月3日在纽约大学所说的,GPL的“病毒”特性为各大公司带来了威胁,威胁着它们赖以生存的软件产品。蒙迪道: + + “它严重地威胁着独立的商业软件。出售软件不仅仅是要收回发行成本,还有更多的人力附加价值。而GPL则让这种买卖变成天方夜谭。”[注5] + +在过去的十年中,无论是GNU/Linux还是Windows,都有了长足的进步,赢得了各自的成功。两者双赢的局面,似乎使得无论支持或反对GPL都有了足够的理由。但是,作为像斯托曼这样的自由软件活动家来说,成功并不是事情的关键。真正的问题并不是自由软件和专有软件哪个更为成功,而是哪个更道德。不管怎么说,这场自由软件与专有软件的战役在软件工业发展史上是一次重要的事件。哪怕像微软这样强大的企业,也需要第三方软件开发者。恰恰是他们开发的工具、程序、游戏,才使得Windows系统更加吸引用户。回顾近二十年软件业的发展,哪怕不提自家公司的成长,蒙迪依旧提醒他的听众,不要被自由软件运动的风潮吹昏头脑: + + “二十年的经验表明,保护知识产权的经济社会,配合降低研发成本的商业模式,可以极大地促进经济发展和财富分配。”[注5] + +这段来自蒙迪的警告,成了斯托曼今日演讲的背景。现在,距离蒙迪演讲后不到一个月,斯托曼就站在演讲礼堂前方,背对着黑板,摩拳擦掌,迫不及待地准备发表他的演说了。 + +这二十年来,相比软件业翻天覆地的变化,斯托曼的改变则更加明显。当年他曾是那位精瘦、不留胡须的黑客,曾在那台PDP-10前,没日没夜地和它畅谈。而如今,在讲坛上的那位,已人近中年,发福、留发、蓄须。他会花大把时间回复邮件,在公众或程序员面前发表演说、组织演讲——正如今天这次一样。他今天穿着海蓝色的T恤和一条棕色的涤纶裤子,看起来好似刚刚踏出沙漠的隐士。 + +人群之中,则充斥着和斯托曼有着类似打扮的听众。很多人带着笔记本电脑和调制解调器,以及各种录音录像设备,准备把斯托曼的演讲传上互联网,那里还有更多的听众等着他的言论。听众中,男女比例大约15∶1。大约每七八个女听众里,就有一位拿着企鹅的毛绒玩具,这是Linux的吉祥物,还有些女听众则抱着泰迪熊。 + +图:理查德·M·斯托曼,大约摄于2000年。 +照片来自:http://www.stallman.org +“我决定要开发一套自由的操作系统,哪怕这要花费我一生的时间。” + +人潮涌动,斯托曼则离开了演讲台,坐在第一排的听众席上,把一直运行着的笔记本电脑拿出来,开始敲键盘。接下来的十分钟里,进来的学生、教授和粉丝逐渐走到他旁边,围观他工作,而斯托曼对此则完全不在意。 + +既然在大学演讲,学院派的规矩是少不了的。演讲嘉宾介绍则是重要一环。对斯托曼的介绍可谓阵容强大。纽约大学的两位教授分别为他做两段开场白。第一位,是来自纽约大学斯特恩商学院高新技术研究中心的主任,麦克·乌列茨基(Mike Uretsky)。乌列茨基说: + + “大学之地,争辩之所;争辩之处,兴趣所在。本次讲座,恰是秉承此道。个人愚见,所谓开源,甚是有趣。” + +还没等乌列茨基把话说完,斯托曼就站起来挥着手喊道: + + “我是搞自由软件的,开源是另外一码事!” + +这一嗓子引来了一阵哄堂大笑。笑声褪去,掌声渐起。当下,听众中绝大多数都对斯托曼的这份咬文嚼字有所耳闻,更知道在1998年,他和开源阵营支持者的那次争论。斯托曼的这一行为,就如同整点新闻一般,早在大家意料之中。 + +乌列茨基草草结束介绍,走下讲堂。接下来对斯托曼做介绍的,是纽约大学计算机系的教授埃德蒙·舍恩伯格(Edmond Schonberg)。作为一个计算机程序员,又是GNU工程的贡献者,他很清楚该如何用词。他站在当代程序员的角度,扼要回顾了斯托曼的事业: + + “放眼全球,脚踏实地,斯托曼是典范。他严肃地审视了软件源代码不对公众公开的事实,发展出了一套严密的逻辑体系。这套体系敦促着我们,让我们不得不重新思考如何开发软件,何谓知识产权,以及软件社区究竟是何物。”[注6] + +舍恩伯格的致辞迎来了更多的掌声。斯托曼在掌声中,合上笔记本电脑,挪出身子,走上讲台。 + +演讲开始,斯托曼的表现更像是个老练的喜剧演员,让人没法察觉这是一场严肃的政论讲座。“我首先要感谢微软公司给了我这样一次机会,来到贵校,畅抒己见,”斯托曼玩笑道,“过去几周里,我都觉得自己像个没落作家,自己的作品都无人问津。” + +为了照顾新人,斯托曼用一套类比简要介绍了自由软件。他把软件代码比作烹饪菜谱。二者都提供清晰的步骤,说明如何一步一步完成某个特定任务。同时,人们都可以很容易地按照自己的需求,对它们进行修改。“你不用按照菜谱的每一步严格执行操作,”斯托曼说,“你可以少放点调料。喜欢蘑菇,放些蘑菇;口味淡就少放盐;加点胡椒粉什么的。” + +最重要的,斯托曼强调,软件和菜谱都很容易被分享。倘若有位客人来家里吃晚餐,那么把菜谱给他无非是花些时间,费点笔墨。复制软件则要求更少,只要轻点鼠标,费点电。而分享之后,起码有两份收获:增进了友谊;同时,下次需要帮忙的时候,对方也会有所回报。 + +“想象一下,要是菜谱全被封锁在一个黑匣子里,那会如何?”斯托曼话峰一转,“你不知道他们用了什么调料,只有他们才能更改配方。你如果把菜谱抄出一份,送给朋友,他们就把你叫贼,把你关进牢房,长达数年。如果你早就习惯了把菜谱传来传去,这样的世界一定会让你觉得不可理喻。可这一切恰恰发生在专有软件的世界之中。在这个世界里,很平常的社交行为被严格禁止,或者被想方设法避免。” + +类比过后,斯托曼又提起了施乐打印机事件。和烹饪菜谱的类比一样,打印机事件也是一个称手的工具。两者介绍完,听众就可以了解到如今的软件业究竟发生了多大改变。斯托曼的介绍把听众拉回了曾经那个年代,那时还没有亚马逊和它的一键支付;没有微软和它的Windows系统;没有甲骨文数据库。在这样的背景之下,听众有了很大的想象空间,可以不受当下这些所谓的大公司影响,重新审视所谓的软件所有权。 + +讲起施乐打印机事件,斯托曼轻车熟路。他好似律师在做法庭最后陈词一般,字斟句酌。当说到卡耐基梅隆大学的那位计算机教授拒绝给他源代码的时候,斯托曼道: + +“他背叛了我们,”斯托曼稍有停顿,接着说,“但他不止背叛了我们,更有可能背叛你!” “你”字一出,斯托曼就伸出食指,指向在座听众。听众之中,有人稍有皱眉。而斯托曼的目光,则移到了前排,一位听众正在低头偷笑。“而且我觉得,他更有可能背叛你。”斯托曼指着刚才偷笑的那位听众。 + +这个临场的包袱,把一个人的窃笑变成了全场大笑。各种行为,好似舞台剧一般。笑声中,他总结道:“要想不被他背叛,你只能盼着晚点投胎。”笑声又起,“因为这位教授承诺,拒绝和地球上大多数人合作。” + +斯托曼一字一顿:“他签署了保密协议。” + +在这二十年来,理查德⋅马修⋅斯托曼,从当年一个不太得志的学者,成为了一呼百应的运动领袖。这一蜕变本身就饱含寓意。它诉说着斯托曼的顽强与固执,诉说着他的决心和毅力,更清晰地诠释了自由软件运动的价值观和远见。这之中,也当然包含了斯托曼编写的高质量代码,字里行间都凝结了斯托曼的心血,将他的经历铸成了计算机界的传奇。传奇之上,更能看到GPL不可遏制的蓬勃生命力。而作为法律界的一大创新,GPL已经被公认为斯托曼的重要成就。 + +当下,计算机和相关软件技术已成为整个世界的一大支柱。斯托曼的经历也更彰显了在如此背景之下,政权民意的风云变化。 + +这一切的一切,也许恰恰能解释,为什么斯托曼发起的运动能如此长久不衰,而很多当年的名牌大厂,却早已风光不再的原因。遥想当年,1984年,斯托曼刚刚发起了GNU工程[注7]。面对这一项目,自由软件运动内外都充斥着对这个工程的无视、嘲讽,甚至攻击。一路走来,虽然GNU工程有过几次跳票延期,但在大多数时候还能按时交付,完成一个又一个发布计划。踏过了十八个寒暑,GNU工程也日渐成熟,在软件市场中赢得一席之地。而这近二十年来,自由软件的理想被斯托曼精心呵护,渐渐传遍大江南北。 + +要想了解这潮流背后的缘由,就要兼听八方言论。这不仅包括斯托曼自己的评价,更要倾听和他在同一战壕里作战的战友们的叙述。其实,斯托曼的个性并不复杂,倘若坚信“所见即所得”,那么斯托曼这个人就不难被理解。 + +“想要了解斯托曼这个人,你必须要把各处细节联系起来,看成一个有机的整体”伊本⋅莫格林说道,他是自由软件基金会法律顾问,同时也是哥伦比亚大学法学院教授,“在斯托曼身上有着各种古怪脾气,这也许会把人拒之千里。而这份不同寻常,恰恰就构成了斯托曼这个活生生的人。他对挫败异常敏感,他对道德准则恪守不渝。他不肯妥协的个性,在关键问题上不肯让步的固执,这一切的总和,最终让我们看到了当今的斯托曼。” + +一个简单的打印机事件变成了燎原之火,燃遍全球,足以和全球最富有的软件公司抗衡。要想回顾和解释这一切,并非易事。首先要了解软件所有权,以及它是如何走到当今的重要位置的;更要和人类健忘的本性做斗争;还要能从关于斯托曼的各种神话和攻击之中,看出本质。最后,还要能理解斯托曼在软件领域的过人天赋;以及他如何把这份天赋用到其他领域;还有在这一过程中的各种成败得失。 + +当我请斯托曼做一番自我总结的时候,他也强调了莫格林提到的个性和原则:“坚强固执是我的本性。很多人在尝试做一些事,遇到了困难,就退缩放弃了。可我从不言弃。” + +他也同样感激自己的运气。倘若当初没有那次打印机事件,没有其中的各种人事冲突,没有当年的各种机缘巧合,他也许不会放弃麻省理工学院的研究职位,不会重新抉择,选择一条与众不同的道路,并为之奋斗终身。是身边的各种因素,最终让斯托曼得以做出不同凡响的成绩。斯托曼回顾着当初发起GNU工程的决定,总结道: + + “我正好有合适的技能。除了我以外,没人在做这事。我就觉得责任在身,我若不做,舍我其谁。” + +脚注: + +1、 +事实上,GPL的没有这么夸张的“威力”。把程序与另一个GPL许可证的程序放在同一台计算机上运行并不会把程序也变成自由软件。 +斯托曼说:"把一个东西说成是病毒是一种很粗暴的类比,也许把GPL比成是吊兰还稍微贴切一些,如果你把它切下来放到别处,它会继续生长。" +要了解GNU通用公共许可证的更多信息,请访问:http://www.gnu.org/copyleft/gpl.html 。 + +2、 +仅管这些软件都在GNU/Linux上运行,但它们本身不一定是自由软件,相反的,他们中的大部分都是私有软件。 +跟Windows一样,这些私有软件同样不尊重你的自由。虽然它们对于GNU/Linux的成功起到了一定的推动作用,但它们对于自由软件运动中实现自由的目标并没有什么贡献。 + +3、 +参考Shubha Ghosh于2000年1月在Gigalaw.com上发表的文章《Revealing the Microsoft Windows Source Code》。 +链接:http://www.gigalaw.com/articles/ghosh-2000-01-p1.html + +4、 +其实杀手级应用并不一定需要是专有化的。比如说,传奇的Mosaic浏览器,它的许可证就允许在一定的限制条件下对该程序进行非商业化的修改。 +读者应该这样来理解:软件市场就像买彩票一样,预期的收益越高,越多的人愿意参与其中。 +有关杀手级应用的现象,Philip Ben-David 2007年12月7日发表的文章《What Happened to the "Killer App"?》对此有清晰的阐述。 +链接:http://www.ecommercetimes.com/story/5893.html + +5、 +参考微软资深副总裁克雷格·蒙迪的《The Commercial Software Model》一文,节选于他2001年5月3日在纽约大学斯特恩商学院所做的演讲。 +链接:http://www.microsoft.com/presspass/exec/craig/05-03sharedsource.asp。 + +6、 +如果他今天再来发表这样的演讲,斯托曼一定会指出“知识产权”这个词所存在的认识上的偏差和可能造成的混淆。 +链接:https://www.gnu.org/philosophy/not-ipr.html + +7、 +GNU是“GNU's not Unix”的缩写。斯托曼在2001年5月29日纽约大学的演讲中,讲述了这个缩写的起源。 +链接:https://www.gnu.org/events/rms-nyu-2001-transcript.txt + + + +第3章 黑客正年少 + +理查德·斯托曼的母亲,爱丽丝·李普曼(Alice Lippman)始终还记得她意识到斯托曼天赋的那一刻。 + +“我记得他那会才八岁。”李普曼回忆着。 + +那是1961年,李普曼刚刚离异,做了单身妈妈。她家位于曼哈顿上西城,是一个一居室的小公寓。一个周末下午,她正在自己家里翻着一期《科学美国人》杂志,打发时光。她翻开自己最喜欢的一版,马丁⋅加德纳(Martin Gardner)主编的专栏:《数学游戏》。李普曼一个教艺术的代课老师,常常被这一专栏的各种头脑游戏吸引。她看了一眼在旁边沙发上老老实实待着的儿子,决定开始挑战本周的思考题。 + +“其实,这些题目我做得不是很好,”李普曼坦言,“可作为艺术家,我发现它们可以帮我缓解压力,激发灵感。” + +可她刚一开始做,就遇到了障碍。眼看她就打算扔开杂志,放弃解答了,可这时候,她发现有人正在轻拽她的衣袖。 + +“那是理查德,”她回忆道,“他想问我要不要帮忙。” + +她看看自己儿子,又回过头看看杂志上的题目,她还是有点半信半疑。“我问理查德,你读过这杂志了?”李普曼说,“理查德说读过了。而且他竟然已经解决这个题目了。之后,我就记得他开始给我讲解答题思路。” + +听着自己儿子清晰的逻辑,李普曼开始的半信半疑瞬间转变,一切让她觉得难以置信。“我知道理查德很聪明,”她说,“可这次却是实实在在让我见识了他究竟有多聪明。” + +三十几年过去了,李普曼回忆起这事,最后笑道,“老实说,我到现在都没明白那道题是怎么做的。我能记得的,只是当时非常震惊,感叹理查德居然能做出那个题目。” + +李普曼坐在餐桌前,这里是她在曼哈顿住过的第二个公寓,在一座公寓楼里,是一个三居室的宽敞房子。1967年,她再婚嫁给了莫里斯·李普曼(Maurice Lippman),就带着斯托曼搬到了这所公寓里。时过境迁,莫里斯已经去世,斯托曼也长大成人。谈起当年抚养斯托曼,这位犹太妈妈流露出的尽是自豪和欣慰。在餐厅的橱柜里,摆放着一张8英寸*10英寸的照片。照片里是满脸络腮胡须的斯托曼,身穿博士服。这张照片摆在那里,让其他几张李普曼侄子侄女的照片显得不再引人注意。不过在客人问起这张照片之前,李普曼总会先调侃几句,解释一下为什么把它放到这么显眼的地方。 + +“理查德坚持要把这张相片给我。这是他当年获得英国格拉斯哥大学(University of Glasgow)荣誉博士学位的时候照的。他跟我说,‘你看,这是我有生以来参加的第一个毕业典礼。’”[注1] + +抚养理查德·斯托曼这么一个孩子,李普曼总是有很多话可说。每当别人说起她儿子最新的各种或古怪或固执的行为时,她总会翻出更多类似陈年旧事作为回应。 + +“他以前是十足的保守派,”她说着,把双臂铺开,以示强调,“曾经就在这张桌子前,我们俩人展开过一次很激烈的争论。我曾经是城市公立学校教师,其中,我是第一批坚持要成立工会的人。可理查德却觉得工会是腐败之源。他甚至非常反对社会保险。他认为,人们用买保险的钱,完全可以投资其他东西,赚更多的钱。当初谁会想到他十年之后会成为一个如此的理想主义者。我就记得当初我女儿曾问过我,‘你说以后理查德长大了会是什么样?法西斯极右翼分子?’ + +李普曼1948年和理查德的父亲丹尼尔·斯托曼(Daniel Stallman)结婚,于1958年离异。李普曼成了单身妈妈,抚养和监护这孩子的重担几乎都压在了她的身上。一路走来,她见证了她这个儿子蔑视权威的个性,更见证了他对知识的如饥似渴。这两股力量在她儿子身上几经纠缠,也让李普曼和理查德·斯托曼有过不少摩擦冲突。 + +“他好像一直都不想吃饭一样,”李普曼回忆着儿子八岁到1970年中学毕业的那段时间,“他就跟个聋子似的,我每次都得叫他九到十次,他才肯过来吃饭。” + +同样是这件事,到了斯托曼嘴里,就掺进了政治的意味。 + +“我特别喜欢读书,”斯托曼说,“赶在我想读书的时候,我妈妈恰巧叫我去吃饭,我肯定不会去。我就觉得,凭什么我不能读书?凭什么我妈妈可以指点我该做什么,该读什么书。我坚持民主和个人自由。很多原则不应该仅仅局限在成人身上,未成年人也同样适用。” + +斯托曼坚信个人自由高于任何权威。这样的思想也被他带到了校园之中。斯托曼比其他的孩子入学早了两年。和很多天才儿童一样,斯托曼也有着自己的烦恼。那次他帮妈妈解决完杂志上的数学题之后没多久,老师就把妈妈约去学校,进行了一次长谈。 + +“他拒绝写作文、写文章,”李普曼回忆着当时的情景,“除了高中最后一年,他最后一次写作文是在四年级的时候。那是一篇关于西方计数系统的文章。” + +凭借着分析性思维的天赋,斯托曼沉浸在数理化的世界,而代价则是其他方面严重欠缺。老师们看来是头脑简单的行为,在李普曼看来,倒觉得是斯托曼好强所致。比起其他斯托曼天生就不太在行的领域来说,数学和自然科学给斯托曼提供了太多的学习机会。大概在10~11岁那年,斯托曼的同学们都在玩触式橄榄球。她记得有一次斯托曼回家特别生气。“他当时非常想和他们一起玩,可他身体的协调性实在太差了,”李普曼回忆道,“这实在让他非常恼火。” + +这份感觉让斯托曼更埋头在理科世界里。可哪怕在数理化的世界,他的好强有时也会成问题。在八岁的时候,斯托曼就已经把微积分教材翻了个透。他觉得自己完全没必要在大人面前装成傻傻的天真宝宝。他中学的时候,妈妈曾从附近的哥伦比亚大学里雇来了一位大学生,以期在斯托曼面前扮演大哥哥的角色。结果这位学生来了一次就没再来了。“我觉得斯托曼当时讨论的问题可能超出他的极限了。”李普曼推测。 + +另一个李普曼喜欢提起的小事,发生在20世纪60年代早期。那时,李普曼已经离异两年,也从皇后区搬了出来。斯托曼当时七岁,迷上了火箭模型。他常常去河滨公园发射火箭模型。一开始他只是随便瞎玩,可后来他开始记录每次的发射数据。起初,这些行为并没引起李普曼注意,她觉得这个兴趣就和玩数学游戏一样。可有一次NASA(美国国家航空航天局)发射火箭前,李普曼问斯托曼要不要看电视上的现场直播。 + +“他可逗了,上来就跟我说,‘可我的研究成果还没发表呢!’就好像真有点资料要给NASA看似的。” + +这个小事倒很好地表现了斯托曼性格中独具一格的特点——紧迫感。这种紧迫感一直伴随在他左右。其他孩子还在桌前玩耍的时候,他在房间里读书;别的孩子在痴迷橄榄球运动员约翰尼⋅尤尼塔斯(Johnny Unitas)的时候,斯托曼则崇拜着火箭专家。“我当时就是这么古怪,”斯托曼在1999年接受一次采访的时候,如此总结着自己的童年,“没过几年,我的朋友就只剩下各位老师了。”1 + +虽然斯托曼总比同龄人显得古怪很多,但李普曼还是决定让他追求自己的兴趣和热情。12岁那年,斯托曼参加了科学夏令营,之后上了私立中学。学校的老师建议让斯托曼参加“哥伦比亚科学之星计划”。该计划旨在为具有天赋的纽约中学生提供更多的学习机会。斯托曼参加了这个计划,于是每周六,他都会赶去哥伦比亚大学。 + +丹·柴斯(Dan Chess)也参加了科学之星计划,他回忆中的斯托曼,哪怕在众多同龄的科学爱好者之中,也算是古怪的。“我们都是书呆子、技术宅,可斯托曼在这圈子里仍是特立独行的”如今的柴斯已经是亨特学院数学系的教授,他回忆道,“他更是聪明绝顶。我见过很多聪明人,可斯托曼是我见过最棒的。” + +另外一个科学之星计划的成员——赛思·布莱德巴特(Seth Breidbart),也提供了类似的证据。布莱德巴特如今也是个程序员,依然和斯托曼保持联系。他回忆当年只有15岁、剃了短发的斯托曼甚至有些“令人生畏”。 + +“这可难解释了。不是说斯托曼会拒人千里,只是说,在他身上,总能看到一种紧迫感。他知识丰富,可有些地方又非常爱钻牛角尖,非常固执。”布莱德巴特回忆说。 + +“紧迫感”、“爱钻牛角尖”、“固执”,这样几个形容词放在一起,放在今天哪个中学生身上,多半会让人觉得是青春期综合症的症状。其实,在2001年12月的《连线》杂志中,就有一篇名为《天才综合症》的报道,采访了几个自闭症儿童患者,他们都在数学和科学方面具有天赋。报道中,患者家长对患者的描述,在很多方面都类似李普曼对斯托曼的形容。哪怕是斯托曼,提到自己精神方面,也曾犹豫再三。在一份2000年《多伦多之星》报纸上的资料中,斯托曼曾描述自己为“濒临自闭”[注2],以此解释自己一直以来在社交方面的孤僻,并介绍了自己如何不断克服这种心理。 + +这种判断和当下流行的“异常行为”研究是分不开的。《天才综合症》[注3]的作者史蒂夫·西尔贝曼(Steve Silberman)介绍,美国的心理学家在近年来才把自闭症作为一系列症状行为特征的统称。这些行为包括:不擅运动,不擅社交,但又对数学,计算机和类似的具有规律的系统有着极度的依恋,并擅长于此。在自闭症这样一个统称之下,理查德坦言,要是出生在当下,很可能就被拉去做检查了。当然,他的那群在计算机世界中的朋友,也一样跑不了。 + +“我当初也许还真有这种毛病吧,”斯托曼说,“可自闭症患者的另一个症状是对音乐和节奏迟钝。我还能跳舞呢,而且我对节奏特别敏感,喜欢复杂的节奏。这么看倒也未必是自闭症了。” + +柴斯则非常反对这种推断:“我从不觉得斯托曼有自闭症。他当初就是社交方面有点障碍,可我们这群人都这样。” + +而李普曼则认为确有此事。她说了斯托曼婴儿时期的一些事情,佐证这个结论。自闭症患者的一个显著症状,就是对噪声和颜色异常敏感。李普曼记起了两个事情:“当时斯托曼还是个婴儿,我们带他去海边,每次去,在离海有两三个街区的时候,他就开始大哭。去了三次,我们才发现,原来是他觉得海浪的声音太吵了,”接着,她又说了斯托曼当时对颜色的反应,“斯托曼姥姥的头发是亮红色的,每次他姥姥抱起他的时候,他也会大哭大叫。” + +这几年,李普曼读了一些关于自闭症的书。她觉得斯托曼的这些行为绝非巧合:“我确实觉得理查德当时有很多自闭症儿童的症状。我真后悔当初对这种病没什么了解。” + +李普曼说,时间一久,斯托曼也逐渐开始适应了环境。七岁的时候,他开始喜欢坐在地铁的第一节车厢里,透过司机窗口看着地铁隧道,记下地铁的路线。这必须得习惯了地铁的噪音才行。“只有启动时候的噪音会让他不安,”李普曼说,“一启动,他就跟被谁打了一下似的。不过他后来也逐渐习惯了。” + +李普曼回忆,斯托曼以前也和其他孩子一样,活泼快乐有生气。可家中一系列的变故,让他越来越内向,逐渐与人疏远。 + +第一件事就是斯托曼的父母离异。李普曼和斯托曼的父亲——丹尼尔⋅斯托曼,都有所准备,打算慢慢把离异的事实告诉斯托曼,希望不要对他产生太大影响。可结果依旧让斯托曼改变很多。李普曼回忆:“他一开始好像还没把这件事放在心上,可当我和他一起搬到新公寓的时候,他彻底意识到发生了什么。他的第一反应是,‘爸爸的那些家具哪去了?’ + +在接下来的十年,每周工作日,斯托曼都住在母亲的公寓;休息日则要跑去皇后区,在爸爸家里住。辗转之间,他也见识了两种完全不同的抚养方式。这一切,让他从此决定不会自己抚养小孩。理查德⋅斯托曼的父亲曾是参与过第二次世界大战的一名退伍老兵,于2001年去世。每当说起他,理查德⋅斯托曼总是对他又尊敬又恼火。一方面,这是一位有担当的士兵,他曾为了更好地帮助盟友,特地学习法语;另一方面,他又是个总会把事情变得残酷不堪的父亲。[注4] + +“我爸爸脾气很坏”斯托曼说,“他虽然从不大吼大叫,但总能用一种冷嘲热讽的方式去批评指责你。” + +至于说起和母亲住在一起的日子,斯托曼的评价就不再那么模棱两可了:“我们俩之间可是战事频发。我常带着几分悲伤说‘我想家了’,其实我的意思是,所谓的‘家’对我来说就是个幻想中的空中楼阁。” + +父母离异后的最初几年,斯托曼还可以把祖父母和外祖父母家当作一个避风港。可在他10岁左右的时候,几位老人相继去世,斯托曼因此受到了巨大的打击。“以前还能去爷爷奶奶或者姥姥老爷家,能觉得有人疼我,有人爱我。上大学之前,那是唯一一个让我觉得如此温暖的地方。” + +李普曼把祖父母和外祖父母的去世列为第二个沉重打击斯托曼的家庭变故。“他当时悲痛欲绝。他和几位老人关系特别好,老人们去世之前,理查德特别开朗外向,都属于远近一带的‘孩子王’的角色。他们一走,理查德一下子变得极度消沉。” + +对于斯托曼来讲,这种消沉则是一种躲避悲痛的行为。他把自己的青少年时期形容为“不寒而栗”。他说,就好比一个聋子,被扔到了一群音乐爱好者中间,眼睁睁看着他们聚在一起,谈音论乐。 + +“我总有一种感觉,觉得无法理解周围人在说什么,”斯托曼回忆当初,说着自己如何被悲痛感包围以至无法与外界沟通,“我明白他们说的每个词,可总觉得在谈话背后,隐藏着我无法理解的东西。我不能理解别人为什么对旁人的话题如此感兴趣。” + +悲伤往往会唤起青少年极度的自我意识,会强烈展示自己的个性和与众不同。那会儿,别的孩子都喜欢把头发留长,斯托曼则一头短发;全部青少年都开始迷恋摇滚乐,斯托曼则钟情于古典乐。他热衷科幻小说,喜欢读Mad杂志,爱看深夜电视节目。他发展出了这种特立独行的个性,以此回避与这个世界的格格不入。 + +李普曼回忆起斯托曼少年时的个性:“开玩笑,俏皮话,双关语。只要你在桌上抛出一句话,他肯定能借此抖个包袱、耍个宝。” + +在外面,斯托曼则省下了这些笑话,只留着和那些鼓励他追求兴趣的成年人沟通。其中一位是他在12岁那年的科学夏令营的顾问。他曾送给了斯托曼一份打印版的IBM 7094计算机的手册。作为一个迷恋数字和科学的少年,这份手册仿佛是来自上帝的礼物[注5]。那年暑假快结束的时候,斯托曼已经根据这份7094的手册,自己在纸上写了一份程序。他迫不及待地期待着有一天能在真正的机器上跑跑自己的程序。 + +可惜那会还是20世纪60年代,十几年之后才会出现第一台个人计算机。至于斯托曼第一次用上计算机,则是在这次夏令营之后几年——11年级结束的那个暑假[注6]。在那个暑假,斯托曼加入了IBM纽约科学研究中心,写下了他有生以来第一个跑在计算机上的程序——用PL/I语言编写的预处理器。“我开始是用PL/I写的,后来程序越写越大,大到计算机里放不下了,于是就用汇编语言重写了一遍。”斯托曼回忆说。 + +高中毕业后的暑假,IBM纽约科学研究中心给他提供了一个工作机会,任务是用Fortran语言编写一个数值分析程序。他只用了短短几周时间就完成了这个程序,但是他发现Fortran语言很不合他的胃口,他发誓再也不用这种语言开发任何东西了。于是,他在暑假剩余的时间中用APL开发一个文本编辑器。 + +之后不久,与此同时,斯托曼又从洛克菲勒大学生物系拿到了一份实验员的工作。尽管斯托曼已经确定未来将向数学或物理方向发展,可他严密的思维还是打动了这个生物实验室的主任。斯托曼进入大学没几年,李普曼还收到了一个电话。“那是洛克菲勒大学的教授,他想知道斯托曼近况如何。当知道如今斯托曼在搞计算机的时候,他很吃惊。这位教授始终觉得斯托曼非常适合成为一个优秀的生物学家。” + +斯托曼的理性分析能力,也惹上了哥伦比亚大学的教授。参加哥伦比亚大学科学之星计划的时候,布莱德巴特回忆说:“一般情况下,每隔一两个小时,斯托曼都能挑出讲课老师的一个小疏忽。而且他总会当面把这个问题指出来。就因为这个,我们当时都挺崇拜他的,可也因此让我们都疏远了他。” + +听了布莱德巴特的回忆,斯托曼笑道:“我当时可能确实有点不太会讨好别人。我总觉得在这些老师教授身上,能看到一种好学求进的精神。可在周围的学生身上,很难看到这一点。至少在学生身上看到的不太一样。” + +每周六都和这群优秀学生处在一起,斯托曼也难免会跟他们一样,考虑以后的计划。哥伦比亚科学之星计划中的学生,大多数都会把未来的大学瞄准在两所学校上:哈佛大学和麻省理工学院。李普曼知道自己的孩子希望能去所常春藤学校,她也必须要严肃对待这件事情。可看看当下的斯托曼,正值15岁,还天天和学校老师对着干。虽然上一年,斯托曼的美国历史、化学、法语、代数全都是A,可他还在继续拒绝写作文。在全A的成绩中,只有英语一门拿了个F。这种特立独行如果放在麻省理工学院,也许最多是笑笑了事,可倘若要去哈佛,则是个很严重的问题。 + +在斯托曼11年级的时候,李普曼曾咨询过心理医生。医生一下子注意到斯托曼拒绝写作文的行为,以及他和老师之间的矛盾。斯托曼显然是聪明过人,智商上完全胜任哈佛的任何课程。可他到底能不能静下心来,踏踏实实坐在课堂里,完成每学期要求的期末论文呢?心理医生建议先让他在纽约市的公立学校读一年12年级,那里的英语课程也会要求期末论文。看看他究竟能否坚持下来。于是,11年级结束后,斯托曼进入了路易斯·D·布兰德斯高中的暑期班。这是一所位于84街的公立学校。在这所学校里,很多文科和艺术类课程都是必修课。斯托曼再也没法像以前那样躲过这些课程了。 + +一个夏天过去,斯托曼终于融入了纽约市的主流公立学校。与每周六的科学之星计划的学习相比,让他踏踏实实坐在公立学校的课堂里确实不容易。可他最终还是做到了,李普曼很是骄傲。 + +“他被迫学会了妥协,但他最终成功了,”李普曼说,“我居然只被老师们请去了一次,这简直算是奇迹了。当时微积分老师把我请过去了,因为理查德经常在上课期间打断他讲课。我问老师他因为什么打断讲课。他说理查德总是会说老师的证明不够严谨。我就问老师,`那他说对了吗?’老师说,‘对是对了,可我不可能给全班讲这些证明,那样的话其他学生都会听不懂的。’ + +第一个学期过去了,一切皆见了分晓。英语课96分,一雪前耻。其他课程,包括美国历史、大学先修课程的微积分、微生物学,斯托曼依旧遥遥领先。物理课斯托曼则满分过关。尽管斯托曼依旧不合群,但他终究是在布兰德斯高中完成了11个月的学习,并且在789名学生中成绩排名第四。 + +图 + +到了1969年11月,当斯托曼即将从布兰德斯高中毕业时,他的英语成绩已经相当出色了。李普曼回忆说:“他虽然很不情愿写作文,但他还是出色地完成了学业。” + +学校以外的活动里,斯托曼表现得更加勤奋。每周他都会去洛克菲勒大学完成实验员的工作;周六则一路避开反越南战争抗议者的队伍,去哥伦比亚大学参加科学之星计划的学习班。终于又有机会,科学之星计划的学生凑在一起,聊起未来将去哪所大学。 + +布莱德巴特回忆:“绝大部分学生都会去哈佛或者麻省理工学院。当然也有人去其他几所常春藤学校。大家聊着说着,斯托曼始终没说话。这时候有个人跳出来,问斯托曼究竟去哪所大学。” + +三十多年过去了,布莱德巴特依旧清晰地记得那一刻。“哈佛大学”几个字从斯托曼口中一出,人群一时没了声音。一切都好像事先排练好的一样,坐在角落中的斯托曼露出了一丝微笑。 + +布莱德巴特说:“那微笑好像在说,‘没错,你们还没把我甩开呢。’” + +脚注: + +1、 +本章内容的主要背景资料来源于迈克尔⋅格劳斯(Michael Gross)的一篇采访《Richard Stallman: High School Misfit, Symbol of Free Software, MacArthur-Certified Genius》。 +Gross是1999年出版的《Talking About My Generation》一书的作者,这本书中记录了很多对著名人士的访谈。虽然对于斯托曼的访谈最终没有收录到这本书中,但是Gross把它作为补充材料在发布在了这本书的网站上。 +这篇访谈的网址迁移过很多次,目前根据读者的反馈,你可以在这个地址读到这篇文章: +http://mgross.com/writing/books/the-more-things-change/bonus-chapters/richard-stallman-high-school-misfit-symbol-of-free-software-macarthur-certified-genius/ + +2、 +朱迪·丝蒂特(Judy Steed),《多伦多之星》,2000年10月9日,C03版。 +他对自由软件和社会合作的愿景明显与他孤立的个人生活格格不入。他的古怪与加拿大钢琴家格连⋅古尔德(Glenn Gould)非常相似,他们都是非常聪明、善于表达的人,但是同时也都很孤独。斯托曼觉得自己在某种程度上被自闭症所折磨,他总是觉得自己与其他人打交道非常困难。 + +3、 +参见史蒂夫·西尔贝曼,《天才综合症》,《连线》2001年12月刊。 +链接:http://www.wired.com/wired/archive/9.12/aspergers_pr.html 。 + +4、 +很遗憾,我最终没能采访到丹尼尔·斯托曼。本书写作之初,理查德·斯托曼曾告诉我他父亲患上了老年痴呆症。2001年,我继续写本书的时候,得知丹尼尔·斯托曼已经去世了。 + +5、 +作为一个无神论者,斯托曼恐怕不喜欢这种描述。不过无论如何,这份礼物肯定是斯托曼喜欢的。 +参见本章尾注1中格劳斯在1999年所作的那篇文章中的描述:“我一听说有计算机这种东西,就迫不及待地想要看看玩玩。” + +6、 +译注:美国小学5年,初中3年,高中4年。11年级相当于中国的高二。 +但和中国不同的是,美国学生一般都会在11年级把SAT等大学入学考试考完,在12年级提前学习一些大学课程,即所谓的大学先修课程(Advanced Placement) + + + +第4章 逆天行道,弹劾上帝 + +尽管理查德·斯托曼和母亲的关系比较紧张,但他还是继承了母亲的一个特质:对激进政治极度热情。 + +可这个特质要在十几年之后才在斯托曼身上显现出来。他早年的生活,用他现在的话说,是与“政治绝缘”的[注1]。正如艾森豪威尔时期的大多数美国家庭一样,20世纪50年代,斯托曼一家试图重拾第二次世界大战以前的那份宁静、安逸的正常生活。 + +“理查德的父亲和我虽然都是民主党人,可我们觉得那段时间的生活还算过得去,”李普曼回忆着当年和理查德⋅斯托曼的父亲住在纽约市皇后区的日子,“我们当时并没有参与太多的当地或者全国的政治活动。” + +然而,20世纪50年代末期,李普曼的离异打破了这一切。她要重新搬回纽约市曼哈顿区,这不仅仅是改个住址,更意味着一份全新的独立生活的开始,更意味着重回喧嚣的大都市生活。 + +“关于政治活动,我最初的体验是在离婚期间。当时我走进皇后区公共图书馆,却发现关于离婚的只有一本。那里当时被天主教严格控制着,至少在我们住的阿母赫斯特区是这样的。这是我第一次意识到,我们的日常生活,被周围的各种权威力量悄悄地控制着。”李普曼说。 + +重回童年居住过的纽约市曼哈顿上西城,李普曼被周围的变化震惊了。十五年前,她离家去亨特学院读书。如今,由于战后住房资源紧张,当地居民对高楼有大量需求。为了建高楼,几个街区成了一个政治决斗场。人们分成了两派:一派人,主要是政客和商人,他们希望把这一片拆迁扩建,以应付越来越多的白领移居到这里;另一派人,主要是来自爱尔兰或波多黎各的房客,他们都不富裕,所幸已经在这里找到了便宜舒适的住房。他们不想请来白领租户,因为那样会抬高当地房价和租金。 + +一开始,李普曼不知道站到哪一边。作为一个新来的住户,她觉得的确有必要扩建。可作为一个拿着微薄收入的单身母亲,她和那些房客有着一样的忧虑,觉得周围越来越多的项目都是为有钱人开发的。心中忿忿不平,李普曼开始寻找机会,来和庞大的政治机器做斗争,避免让政客把上西城变成上东城那样,只供有钱人吃喝玩乐。 + +李普曼第一次去民主党总部是在1958年。当时,她希望为儿子找个日托所,以便在自己工作的时候,有人照顾他。在本市的低收入人员帮助中心里,她一下子被那里的环境吓到了。“我就记得当时那股酸臭的坏牛奶味儿,黑洞洞的走廊,还有那么一丁点的救助物资。我以前是护士学校的老师,是个爱干净的人。护士学校的环境和这个帮助中心的反差太大了。我们看了一眼帮助中心里日托所的房间,就立马走人了——环境实在太让人恶心。” + +这次造访民主党总部,让李普曼很失望。“大家说的一点也没错,乌烟瘴气,不是个干净地方,”李普曼说,这是她第一次意识到,大家之所以看不起穷人,甚至仇视他们,党内腐败也许才是一切症结所在。李普曼没有再踏入民主党总部一步。她看到当地众多俱乐部都志在促进民主党的党内改革。李普曼加入了其中的一个俱乐部:伍德罗⋅威尔逊/FDR民主党改革俱乐部,从此与坦慕尼协会余党作斗争。[注2]李普曼开始出现在俱乐部内部的例行会议中和市政委员会的会议上,以此,她取得了更多的话语权。 + +李普曼说:“我们的主要目标是对抗以卡米思⋅德⋅萨皮奥(Carmine DeSapio)为首的坦慕尼协会和它的追随者[注3]。我是市政委员会的一名代表委员。主要提议修建更多廉价住房,反对单纯修建舒适豪宅。” + +这种参与在20世纪60年代变成了更大的政治活动。1965年,李普曼已经开始公开支持一些民主党的议会候选人,比如威廉⋅菲茨⋅赖安(William Fitts Ryan),他在各个民主党改革俱乐部的帮助下进入议会,并成为当时第一批反对越南战争的议员。 + +不久之后,李普曼也开始公开反对美国涉足越南战争问题。“自从肯尼迪政府把军队送去越南,我就一直反对越南战争。从一开始,我就阅读各种来自前线的报道文章。很多文章都预测美国政府会因此深陷泥潭,我也非常赞同这个观点。” + +这种反战之声充斥在这个家庭里。1967年,李普曼再婚。她的新任丈夫莫里斯⋅李普曼是一名空军少校,越南战争开始他辞职以示反战。莫里斯的儿子,李普曼的继子,安德鲁⋅李普曼(Andrew Lippman)当时正在麻省理工学院读书。他暂时还可以申请延期入伍。可随着战事升级,战争时间一久,入伍时间到期,他还是要去服役。当战事延续到20世纪70年代,理查德⋅斯托曼虽然年纪还小,可也不得不考虑入伍的问题。他要么选择去越南参战,要么选择到加拿大避开兵役。 + +李普曼说:“越南问题成了家里的重点,我们总是不停地讨论它——如果战争持续下去我们怎么办?要是理查德或者安德鲁收到征兵令怎么办。我们全家都反对这征兵令,更反对这场战争。我们从心里觉得这场战争是不道德的。” + +对于理查德⋅斯托曼来说,越南战争给他带来的情感是复杂的:恐惧、不解,以及最终给他带来的一种政治上无能为力的感受。斯托曼如此地厌恶权威,他甚至无法忍受私立学校的威权制度。别说参军,哪怕就只让他想想军队里的训练,都会令他不寒而栗。 + +“我当时被吓坏了。可我也不知道能做什么,该怎么做。更没胆量去上街参加游行。”斯托曼如是说。1971年,政府最终取消了学生延期入伍的政策。抽签征兵[注4]的结果让他很是担心:他3月18日的生日,征兵顺序中比较靠前。“我很难想象要移民到加大拿或者瑞典。要一个人离开过日子,我当时可不行。我根本不知道怎么照顾自己,我对自己在生活自理方面的能力非常不自信。” + +斯托曼说,他至今依然感慨家人在公开场合的反战行为。他记得父亲车上有一个车贴,把美莱村屠杀[注5]比作纳粹的大屠杀。这个车贴是父亲亲自制作的,他还做了很多这样的车贴,分发给大家。斯托曼很受父亲情绪的鼓舞,他说:“我很崇拜他这么做,”斯托曼坦言,“可我没想过自己能做什么。当时我很害怕自己的一辈子就这样被征兵令毁了。” + +然而,斯托曼也逐渐开始不喜欢反战运动的方向和调调。正如其他科学之星计划的学生一样,斯托曼每周末都会看到聚集在哥伦比亚大学的抗议群众[注6]。最终,斯托曼形容说,各种非理智力量把反战运动变得与各种其他青年人的非理智活动一样可怕。一瞬间,那个年级的姑娘们都不再崇拜披头士,改去崇拜各路反战领袖,如阿比·霍夫曼(Abbie Hoffman)和杰里·鲁宾(Jerry Rubin)。理查德·斯托曼,这个中学生里的异类,面对各种流行趋势已然有些应接不暇了,如今又来了“要做爱不作战”这种花哨口号,实在让他觉得甚是沮丧。他显然不喜欢战争,至少不喜欢这次在东南亚的战争。可这也并不意味着就有会有个姑娘愿意与他一起共度春宵。 + +“我并不喜欢这种反抗文化,”斯托曼坦言,“我不喜欢他们的音乐,不喜欢毒品。我非常害怕毒品。我更厌恶他们那套反理性反知识的论调,厌恶他们对各种技术的偏见。因为无论怎么说,我还是喜欢计算机的。我还经常遇到各种没头脑的反美意见,这也让我很反感。有些人的头脑真的太过简单了,他们觉得如果要反对美国参加越南战争,就意味着支持越南北方政权。他们就天真到想不出另外一种可能。” + +这样的评论也许是在为斯托曼当时的怯懦找到些借口,但也标志着斯托曼自己政治思想的逐步成熟。对于他来说,政治上的信心和自信心成正比。到了1970年,斯托曼已经在数学和科学以外的一些领域里树立起了自信。当然,有在数学方面的信心和能力作为基础,让斯托曼可以从纯逻辑的角度分析越南战争。这种分析最终带来的结论让斯托曼觉得,尽管反对越南战争,但不可否认,战争在维护自由和捍卫正义方面起到了积极作用。 然而,斯托曼也不想让自己在同龄人里过分特立独行,于是他关于战争的这些分析,也就一直留在自己肚子里了。 + +八十年代,斯托曼已经不再沉默。他带着这份自信,在华盛顿市参加了维护堕胎权利的聚会。“我开始不满从前的自己,觉得不该像当初那样逃避游行抗议,这是我的权利,更是我的责任。” + +1970年,斯托曼离开了家,离开了每晚家中餐桌上的越南战争和政治讨论,去了哈佛大学。他回忆,从曼哈顿母亲的公寓,转到马萨诸塞州剑桥市的哈佛大学宿舍,对自己来说是一种“逃离”。可同龄人来看,他的这次大逃离并没有给他带来多少解放。 + +“他在哈佛的第一年很痛苦,”丹⋅柴斯——另外一位去了哈佛大学的科学之星的学生,回忆道,“简单的人际交往对于斯托曼来说都是非常困难的。可这种交往在哈佛又是无法避免的。哈佛校园就是个大社交场。” + +为了让这种过渡更顺畅,理查德⋅斯托曼重新埋头在自己的老伙伴中间:数学和自然科学。与很多科学之星计划的成员一道,斯托曼轻松通过数学55的课前考试,获得了选修数学55的资格。所谓数学55,是哈佛大学一门数学类课程的官方编号。它专门为未来数学家设计,以难度大而闻名全校。在这门课上,科学之星的成员凑成了一个小团体。“我们是数学党的,”柴斯笑道,“跟科学之星比,哈佛不在话下。” + +可要修成正果,斯托曼、柴斯和其他科学之星成员,必须要通过数学55。这个课程把本该四年学完的数学知识,全部放在两个学期里。只有真正肯下工夫的人,才能啃下这块硬骨头。“那真是门让人神往的课,”戴维⋅哈伯特(David Harbater)曾是这门课上“数学党”的成员,如今已是宾夕法尼亚大学数学系教授,他回忆道,“很保守地说,几乎没有几个给大学新生设计的课程能这么难、这么深,课业量也很少有这么大的。我经常给人这么形容这门课的难度——第二个学期,我们已经开始讲巴拿赫空间的微分几何了。一般人听了肯定瞪大眼睛,因为绝大多数人到了研究生第二年才开始说点巴拿赫空间的东西。” + +那年,这门课刚开始有75个学生,到第二学期结束,就只有20个学生还在坚持[注7]。戴维⋅哈伯特说:“这20个学生当中,只有10个人真正听懂了课上讲的是什么。这10个人里,8个人后来做了数学教授,另外有一个做了物理教授。” + +“最后那一个,”戴维⋅哈伯特强调,“就是理查德⋅斯托曼。” + +赛思⋅布莱德巴特也是数学55课上的学生,他记得当时斯托曼就显出了与众不同的特质。 + +“遇到一些事,他总是特别能坚持。当时,我们经常用一种错误的方法来解题。每次我们要定义一个函数的时候,我们都会先定义一个函数,然后证明这个函数是良构的。这么做本身是用错了术语。斯托曼第一次也犯了这个错。可后来,他都是先定义一个关系,然后证明这个关系是一个函数。其实证明的过程都一样,但他用了正确的符号和术语。而其他没有一个人这么做。他就是这么个人。” + +数学55的课堂上,斯托曼又一次展现了他的聪明才智。布莱德巴特早早就承认了这一点。而柴斯好胜的个性则很难让他服输,但到了第二年,他还是不得不承认,斯托曼也许是整个课堂中最优秀的数学家。如今,柴斯已是亨特学院数学系的教授,他回忆道:“在一堂实分析的课上,斯托曼想出了一个关于复测度的证明,那个证明实际上是借鉴了变分法里的一些技巧。我第一次看到有人能自己想出来,并用这么漂亮的方法解决了这个问题。” + +对于柴斯来说,这的确是个恼人的时刻。他就好像一只小鸟飞到了透明玻璃前,他要花些时间,才会不甘心地意识到,有些地方,虽然看得到,却未必是自己能力所及的。 + +柴斯坦言:眼看着斯托曼在黑板上写下解答,他感到了前所未有的压力。中学时候,柴斯也被认为是班上的数学明星。而如今见识了斯托曼之后,让他觉得自己竟然如此渺小。几年之后,柴斯逐渐接受了这个现实:自己在数学方面虽有过人之处,但也算不得顶尖高手。回想起来,在斯托曼大二时,柴斯就已经从斯托曼的那次证明中隐约意识到自己的位置。 + +“这恐怕就是数学之美吧,”柴斯说:“你不必需要成为一流的数学家,就可以欣赏数学天才的作品。我就处在这么一个尴尬的地方。我算不上一流的数学家。如果斯托曼当初选择做数学家的话,他肯定会是一流的。”[注8] + +有得就必然有失,斯托曼在课堂上的得意,换不来社交上的成功。其他数学党的成员一般都会凑在一起讨论数学55的作业,而斯托曼则自己一个人应付作业题。住宿问题上斯托曼也坚持如此。在哈佛大学住宿申请的表格上,斯托曼清晰地说出了自己对室友的要求:“我说我希望能有个几乎看不见、听不见、摸不着的室友。”宿舍管理部门这次倒是难得如此识相,竟然接受了斯托曼的要求,在他入学的第一年,给他安排了一个单人间。 + +布莱德巴特是数学党成员中,唯一一个在大一期间和斯托曼同住一个宿舍楼的。他回忆,斯托曼当时的确慢慢地学着如何和别人沟通交往。他记得,当时其他几个宿舍的学生,都被斯托曼严密的逻辑分析能力感染,都喜欢跟他凑在宿舍楼的大厅或者餐厅里谈天说地。 + +布莱德巴特说:“我们凑一起经常会扯上一些异想天开的事情,比如如何解决各种世界问题,或者某种东西如果成真了会怎么样。好比说,有人发明了一种长生不老药会如何,你该怎么办?这东西的政治影响会是什么?如果说每人都吃了这个药,最后谁都不会老,最后人越来越多,到头来还是会因为资源困乏,大家都得死掉。老是不会老了,但终究也会死。可如果限制发布这个药,好比说,只有现在活着的人能拿到这个药,新生儿不能吃长生不老药,那最后世界上就会被分出一批下等人。斯托曼总能比大家更早看出各种决策的优劣。” + +斯托曼至今还清晰地记得当时的讨论:“我总是对长生不老的话题感兴趣。我们要是能看到200年之后,世界是什么样子,那会如何?”出于好奇,斯托曼找了几个朋友,问他们愿意不愿意长生不老:“我很惊讶,不少人觉得长生不老并非什么好事情。”很多人说,死亡从某种意义上讲是个好事,因为一直活下去的话生命会显得越来越没有意义。而苍老的好处则是让人们能逐渐意识到死亡的到来。 + +尽管众人已经公认,斯托曼会是个一流数学家,也是个非正式的辩论能手,可他自己却一直避免参加各种有明确排名或分界线的竞赛。布莱德巴特清晰地记得,斯托曼大一的时候,大家眼看着他回避参加帕特南竞赛(Putnam Competition)。帕特南竞赛是专门针对美国和加拿大数学系本科生的竞赛。参赛者借此可以知道自己的数学水平,更重要的,比赛的结果经常被各大院校当作选拔研究生和博士生的依据。按照学生中间的流言来看,如果拿到好成绩,就可以去任何一所大学读研究生或博士,而且是免学费,全额奖学金。当然,这也包括哈佛大学。 + +和数学55一样,帕特南竞赛也是个残酷的竞技场。两场考试,一共六个小时。这比赛是铁了心要把学生分出三六九等。布莱德巴特,这位参加了科学之星计划,也上了数学55的学生,依然觉得这个竞赛是他参加过的最难的考试。“就跟你这么说吧,满分120,我第一年的时候分数是30多分。就这分数,我还能排上第101名。” + +可让人吃惊的是,斯托曼——这位全班数学最好的学生,竟然不参加这个比赛。布莱德巴特记得当时他们听到这个消息之后,几个人把斯托曼围在墙角,让他解释为什么不参加。“他说他怕做得不好。”布莱德巴特回忆。 + +一听这话,布莱德巴特和其他几个学生迅速写下了几个帕特南竞赛的题目,扔给斯托曼,让他做。“他全都做对了。我当时就觉得,所谓‘做得不好’,对他来说也许就是拿个亚军,或者做错一道题。” + +斯托曼对这个事情的记忆则略有出入。“我确实记得他们给我题目了,可我好像记得我就做出来一道,反正肯定没全做对。”无论如何,斯托曼承认,正如布莱德巴特说的,他当时的确是出于害怕才不参加这竞赛的。斯托曼只是在班上指出同学或者老师的错误。但他却不喜欢,甚至害怕参加任何正面竞争。结果,他就总是避开类似的比赛。 + +斯托曼说:“同样的原因,我也不喜欢下棋。每次我下棋的时候,我都害怕那种一步走错,满盘皆输的情况。而这种恐惧,最后总是成真。”于是,斯托曼也就只能靠避免下棋,来解决这个问题。 + +究竟是不是因为这种恐惧,才让斯托曼没能成为数学家,我们不得而知。但无论如何,大一结束的时候,斯托曼已经有了新的兴趣:编程。这兴趣从斯托曼中学的时候就逐渐形成,但潜伏了很久,最终在大一后期成为了他的一个主要兴趣,让他投入了自己的全部热情。其他数学系的学生都靠选修艺术类和历史课来放松,斯托曼则跑去机房缓解压力。 + +当年第一次在IBM纽约科学中心编程的经历,诱使着斯托曼去了解更多。他说:“在哈佛学习快一年的时候,我开始跑去哈佛的几个计算机实验室,看看他们那里有什么新东西。刚到那里,我就问他们能不能给我一份使用手册。” + +把这些使用手册拿回家,斯托曼开始仔细阅读,比较各个机器之间的差别和联系。并且,他写了一个测试程序,这样可以在把手册还回去的同时上机测试一下。在那个时候,尽管很多实验室并不允许随便让一个陌生的小孩子在他们的电脑上操作,不过对于斯托曼这样才华横溢的孩子,他们还是同意让他尝试运行自己的程序。 把这些使用手册拿回家,斯托曼开始自习阅读,比较各个机器这间的差别和联系。 + +第一年快结束的时候,斯托曼有天听说在麻省理工学院,有个特殊的实验室。那个实验室就在校区旁边的技术广场大厦九层。传说,这个实验室是专门为顶尖的人工智能研究而设立,里面有各种高级计算机和软件。 + +斯托曼被这一切吸引住了,决定亲自前往一探究竟。 + +从哈佛大学到那里并不远,走路大概三公里,坐地铁只要十分钟。可等到了那里,斯托曼才发现,麻省理工学院和哈佛大学,简直就像两个世界。麻省理工学院里真可说是“五步一楼,十步一阁”。各个建筑纠缠在一起;相比之下,哈佛大学则显得明快宽敞。两所大学,一张一弛,一阴一阳。这不仅体现在建筑风格上,在校风学风上也是如此。麻省理工学院的学生多是中学里的怪才,他们好开玩笑,喜欢恶作剧;而哈佛大学的学生更多是家有深厚背景的孩子,或是从小就有政治抱负的青年。 + +这种学校风格同样延伸到计算机实验室中。与哈佛的各个计算机实验室不同,麻省理工大学的这个人工智能实验室,没有门卫;没有拿着小本子,记下等候使用终端的人,给他们排队的人;也没有贴着“严禁触摸”标识的那种氛围。到了那里,斯托曼就看到了几个空着没人用的终端,和几个机械臂,提醒着人们这里正在做着人工智能方面的试验。 + +传言中说,人工智能实验室里的计算机对外开放,随便谁都可以坐到终端前摆弄计算机。不过,斯托曼还是觉得按照原计划行事比较妥当。 斯托曼找到一位在这里上班的雇员,问他能不能送自己一份使用手册。斯托曼回忆:“那人说他手头确实有几份闲置的手册,可好多东西都没写在手册里。怎么说,他们也是黑客。”斯托曼笑道,暗指黑客们往往会直奔下一个项目,而不去把之前的项目记录在文档里。 + +在对方的帮助下,斯托曼最终得到了一份比手册更好的东西:一个在实验室的工作职位。[注9]他的第一个工作任务是在PDP-10上写一个PDP-11的模拟器。于是,他第二周又来到人工智能实验室,找了个终端,开始写代码。 + +回想起来,斯托曼觉得,人工智能实验室把一份工作“随便”扔给一个素不相识的外校学生这件事,并没什么不妥。“当年都是这样,如今也是如此。我见一个人,他要是很优秀,我就雇他。等什么呢?很多刻板的人喜欢在每件事上都安插各种官僚流程。这实在太愚蠢了。要是一个人真的很优秀,他就不会花时间准备各种冗长拖沓的面试。他应该踏踏实实坐电脑前头写代码。” + +要想了解什么是“刻板”和“官僚流程”,斯托曼说只要去哈佛的计算机实验室看看就行了。在那里,使用终端的先后顺序,是按照年级排序的。作为一个本科生,斯托曼经常要等好几个小时才能用上计算机。等待本身并不是件难事,但却是个很无聊的事情。尤其是明明知道,在各个教授的办公室里都有一个能用的计算机终端,可每间办公室的房门都是紧锁的,却只能在那里按部就班地等着用那几台公共终端。在斯托曼看来,这实在暴殄天物。尽管他后来也会偶尔去哈佛大学的计算机实验室,但他显然更喜欢人工智能实验室的平等环境。他说:“在那里总算能呼吸到新鲜空气了。人工智能实验室里,人们更关心手头的工作,而不是各自的地位状态。” + +斯托曼很快了解到,人工智能实验室这种先到先用的原则,很大一部分要归功于当年一批警觉的小团体。其中很多人,都参与了当年国防部资助的MAC项目(Project MAC)。在这个项目里,他们开发了第一个分时操作系统。而这个小团体中的有些人,如今已经在世界计算机史册上留了名。包括实验室中的Lisp专家理查德·格林布拉特(Richard Greenblatt),他设计了国际象棋程序MacHack,让休伯特·德莱弗斯(Hubert Dreyfus)关于人工智能的观点受到重创[注10];还有著名的杰拉尔德·萨斯曼(Gerald Sussman),他曾设计HACKER这个程序,利用机器人解决堆垛问题;也有著名的数学怪才比尔·高斯伯(Bill Gosper),他当年发现了生命游戏(LIFE game)中的模式并因此获奖。[注11] + +这批小团体里的人把自己称作“黑客”。当然,在不久的将来,他们也会把斯托曼归类为“黑客”。在成为“黑客”的过程中,斯托曼被逐渐地引进黑客文化的小圈子里。这群人,会痴迷于不断挖掘计算机的极限。他们遇到挑战,可以一连36个小时坐在终端显示器前面工作。最重要的,他们对计算机和各种相关信息都有无尽的需求。他们会公开大谈如何用计算机和软件改变世界。斯托曼也逐渐学到,黑客们会本能地蔑视任何阻止他们实现这一伟大梦想的障碍和困难。这些障碍之中,最为重要的有以下几个方面:一是低劣的软件,二是各种学术官僚主义,三是自私自利的行为。 + +斯托曼在这里学到的东西里,还包括黑客们解决问题的各种新颖技巧和相关的轶事。这其中,就包括黑客们如何打开教授们紧锁的办公室门,“解放”被囚禁的计算机终端。哈佛大学的计算机终端每天都被娇生惯养;相比之下,麻省理工学院的教授们更了解如何应付有限的终端资源。要是哪位教授,把某个终端锁在自己的办公室里过夜,黑客们就会想法把终端重新搞到手。之后,还会大摇大摆走到教授面前,劝诫他不要如此对待实验室的同僚。黑客们的做法多种多样,有些人会直接撬锁,他们自称这是“黑”锁术;有些人则会把天花板打开,爬到天花板上面,从天花板和房顶中间的通风空隙中爬入教授的办公室;在大厦的第九层,地板和楼层地面中间有空隙,本来是用于铺设机房的电线,而黑客们则会撬开地板,从下面溜进办公室。斯托曼说:“我当初还看到过一架手推车,上面放着一个实心的圆柱形金属,这东西后来就曾用来撞开办公室的门。[注12]” + +黑客们如此坚持,使得教授们很难起私心而阻碍整个实验室的工作。当然黑客们也没有无视教授们的个人需求,只是教授的需求不能影响到别人。比如,有些教授有时候会辩解称,自己办公室里有重要的私人物品,所以必须要锁门。黑客们则会回应:“你锁上办公室的门没问题,但是别把实验室的终端也锁在里面。” + +这些方法明目张胆,它们在明确地传达着黑客的理念。 虽然在人数上,黑客们处于劣势,但黑客的文化在不断追求、不断进步的计算机领域还是占了上风。这些黑客,很多是实验室的成员,或者是学生。实验室计算机上的有些硬件就是他们设计的;而几乎所有的软件,都是这些黑客写的。他们不仅创造了整个系统,还维护着这个系统的运行。他们的工作至关重要,因此他们拒绝来自任何方面的压抑。他们会根据其他用户的需求写程序,也会同时维护着自己的个人项目。有时候,这些个人项目会越来越庞大,甚至影响深远。黑客们每天为计算机系统增砖添瓦,并以此为乐。 + +这种工作的结果之一,就是运行在实验室核心的PDP-10计算机上的操作系统。它被称作ITS,全称是“不相容分时系统(Incompatible Time Sharing system)”。这个系统从头到脚都体现着黑客的文化。它的诞生,本来是用来抗议MAC项目的操作系统:CTSS,即“兼容型分时系统”(Compatible Time Sharing System)。这种抗议从名字中的“非兼容型”几个字上就能看出来。当时,黑客们觉得CTSS的很多设计太过严苛,因为它限制了程序员改进现有程序的行为。沿袭着黑客们一贯以来的作风,设计ITS的决定本身就是政治上正确的。CTSS本身是为IBM 7094设计的,ITS则是为PDP-6设计。为了让黑客们更好地写出自己的操作系统,人工智能实验室的管理员保证可以让黑客们使用PDP-6计算机。在分封制度盛行的学术圈,这策略确实奏效。虽然PDP-6以前是和其他几个系共用的,可最终还是归了人工智能的研究人员。斯托曼来之前的那段时间,黑客们终于利用ITS和这台PDP-6做基础,正式宣告自己独立于MAC项目。[注13] + +1971年,ITS被安装在更新一代的PDP-10上。那台老的PDP-6则被单独拿出来以做他用。人工智能实验室这台PDP-10有大约1MB的内存,在当时算是非常大的了。到七十年代末,又给它的内存加了一倍。MAC项目也为实验室带来了两台PDP-10,它们都被放在大厦九楼,运行着ITS系统。PDP-10本身没有内存分页机制。为此,对硬件感兴趣的黑客们为这三台PDP-10设计了内存分页模块。 + +作为一名黑客学徒,斯托曼一下子被ITS迷住了。尽管ITS会吓跑一些门外汉,但它却比其他商业操作系统提早几年实现了很多特性,甚至有些特性是今天很多商业操作系统都没有提供的。这包括多任务系统、在线调试任何运行中的程序、全屏编辑等。斯托曼来之前的那段时间,黑客们终于利用ITS和这台PDP-6做基础,正式宣告自己独立于MAC项目13。 + +斯托曼回忆:“ITS内部有一套非常优雅的机制,可以让一个程序实时监测另一个运行中的程序。你可以获得另外某个程序的各种信息,内容清晰,接口明确。”这个功能不仅对调试程序有很大帮助,而且可以轻松地开关和控制别的程序。 + +通过使用这个功能,斯托曼得以深入研究其他黑客所编写的程序是如何在计算机上工作的。另外一个功能,就是允许一个程序暂停另一个程序,让那个程序停在指定的两个指令之间。在别的操作系统里,类似的功能只能让程序停留在某个系统调用中,把程序停在这个状态,会有很多内部隐藏状态用户都看不到。而在ITS里,这一功能则可以保证一条指令一条指令地监视另一个程序运行,并且能做到停顿之后,一样能继续运行。 + +斯托曼说:“如果你说,‘把这个任务暂停’,那它肯定会停在用户态。而且会停在两条用户态的指令中间。任何运行过程中的变量状态,都会保留。你再说,‘继续跑它’,它就真的会继续跑下去,不会因为暂停而搞乱程序,导致前后不一致。还不止如此,你还能把某个变量或者某个状态给修改了。让它继续跑,然后再把它改回去,这程序就能和当初一样。所有状态都是用户可见的,没有什么隐藏状态。” + +到了1970年年底,斯托曼每周都会定期跑去人工智能实验室。周一到周四,斯托曼会待在哈佛大学。一到了周五下午,他就坐上地铁,直奔麻省理工学院,在那里度过整个周末。他一般会在晚饭时间赶到,然后约上五六个黑客,一起去吃中餐。他们跳进一辆旧车上,穿过哈佛大桥,直奔波士顿。接下来的四个小时里,他们凑在一起就开始谈天说地。话题从ITS系统,一直到汉语和象形文字的内在逻辑。晚饭结束,这群人再回到麻省理工,写代码一直到天亮。 从1971年九月开始,斯托曼每周都会定期跑去人工智能实验室。周日到周五,斯托曼会呆在哈佛大学。一到了周五下午,他就坐上地铁,直奔麻省理工学院,在那里度过整个周末。他一般会在晚饭时间赶到,然后约上五六个黑客,一起去吃中餐。他们跳进一辆旧车上,穿过哈佛大桥,直奔波士顿。接下来的四个小时里,他们凑在一起就开始谈天说地。话题从ITS系统,一直到汉语和象形文字的内在逻辑。晚饭结束,这群人再回到麻省理工,写代码一直到天亮。期间也许会在半夜三点多的时候,再跑去唐人街一趟。 + +第二天上午,斯托曼也许会继续折腾代码,也有可能找个沙发睡上一觉。醒来之后,他会继续写代码,找点中餐吃吃,然后回到哈佛。有时候,他会再多呆一天,等到周日再回去。这些中餐不仅美味,而且比哈佛大学食堂的菜内容丰富,营养全面。吃上一顿能管一天。所以斯托曼他们一般一天也就吃一顿饭。(对于他来说,早餐一般不在考虑范围之内。一方面,早餐中的食物他不喜欢;另一方面,早餐时间他一般都会睡大觉。) + +作为一个中学时期很少有社交活动的宅男,如今和这么多跟自己类似的人混在一起,确实让斯托曼甚是陶醉。他们这些人都对计算机感兴趣,都喜欢科幻小说,喜欢吃中餐。“我记得很多次,我们从唐人街回来,在车上看日出,”十五年后,在瑞典皇家技术研究所的一次演讲上,斯托曼回想当年,一切依旧历历在目,“欣赏日出真的是个很享受的事情。那是一天之中最平静的时刻。也是一天之中上床睡觉的好时候。倘若这时候徒步走回家,伴着几缕阳光,耳畔回响着鸟鸣,再想想你整整一夜完成的工作,你会有种由内而外的舒适和满足感。[注14]” + +斯托曼和这群黑客呆得越来越久,他也逐渐开始了解和接纳黑客们的世界观。曾经他坚持个人自由,如今,在这基础之上,又注入了公共责任的概念。当其他人违反了这种公共准则,斯托曼会毫不留情地当面指出。在麻省理工学院的第一年,斯托曼也曾想办法打开教授办公室的门,拿回属于实验室的计算机终端。作为一个黑客,斯托曼也贡献了自己的开门技巧。以前大家一直用着一个开门的方法,据说是格林布拉特最先使用的。这个方法要求用到一条硬的电线,把这条电线折几个弯,从一盒磁带里抽出磁条,拴在弯过的电线一头,再把磁条做成一个绳套。开门的时候,先从门下的缝隙里把带磁条一头的电线躺着穿过门缝,等电线和磁条都进了门,再把电线立起来。来回晃几下电线,直到磁条做的绳套能套在门把手上。一旦套紧,黑客就可以把电线往后拉,这样,门就从里面被打开了。 + +当斯托曼自己亲自尝试这个方法的时候,他发现这法子操作起来难度不小。要让磁条套上门把手,可是个体力活。而之前要怎么把电线折出几个弯,也是有学问的。为此,斯托曼开始另寻他法:他开始的想法是把天花板上的板子移开,然后爬进天花板和房顶中间的通风空隙中。爬到办公室上方,跳到桌子上,一切就大功告成了。这法子一直都行得通,可这一路总会沾上一身让人痒痒的玻璃纤维。斯托曼开始考虑怎么解决这个问题。他想到,如果不把电线从门下缝隙滑过去,而是从天花板上悬下去开门,会不会可以呢? + +斯托曼自己开始尝试。他并没有用电线,而是把一盒磁带里的磁条拿出来,拿着两端,向下悬成一个U形,把磁条有黏性的部分朝上。移开天花板上的两块板子,站到高处,把U形的磁条从通风道甩到房间里。磁条会从天花板上垂下去,晃悠几下,把U形磁条套在门把手上。接着把磁条往上一拉,门就顺势打开了。就这样,斯托曼又为黑客开门技巧做了贡献。 + +“有时候,门锁打开后你还得踹两脚才能把门弄开,”斯托曼回忆起这个方法的一点瑕疵,“拉磁条的时候你得小心点,一般是站在一把椅子上,下面还要再垫个桌子。这时候保持平衡就很重要。” + +这些活动从一个方面反映出斯托曼期望表达自己的政治诉求。人工智能实验室的实干精神,让斯托曼打破了中学以来的沉默。打开办公室的门和上街游行虽然不可同日而语,但从效率的角度分析,与游行比起来,它快速有效,能直接解决问题。 + +在哈佛大学的最后一年,斯托曼把人工智能实验室的那套古灵精怪的行事理念用到了哈佛的校园里。 + +“他跟你说那条蛇了吗?”他母亲在一次采访中突然问起,“他还有他宿舍那边的几个人一起,把一条蛇拿去参加了学生会选举。而且,最后那条蛇还拿到不少选票。” + +问起这条蛇的故事,斯托曼澄清了几点事实。根据斯托曼的回忆,那条蛇实际是拿去参加了卡瑞尔楼的学生干部竞选。那是斯托曼住的宿舍楼,并非全校范围内的学生竞选。斯托曼的确记得当时那条蛇拿到了不少选票,但很大一个原因,是因为这条蛇的姓和它主人一样。“人们也许以为是给这条蛇的主人在投票,”斯托曼说,“我们的选举海报上写那条蛇是个很有‘潜力’的候选人。因为竞选开始前几周,它刚刚‘潜’到通风口里,我们好几个人竭尽全力也没能找到它。” + +除了让蛇参加选举,斯托曼在竞选方面还开过很多玩笑。在另一次选举中,斯托曼和几个朋友还提名了楼管的三岁儿子。“给他选举时候提出的政治纲领,就是七岁强制退休。”不过,斯托曼的这些恶作剧与麻省理工学院里的选举恶作剧比起来,实在是小巫见大巫了。在麻省理工学院最成功的一次选举恶作剧,是提名一只名叫伍德斯托克的猫参加全校学生委员会的选举。最后,这只猫得到的选票比许多候选人的选票都多。“他们最后也没有宣布伍德斯托克到底得了多少票。他们把这些选票当作了废票。可选举结果一出,大家看到了一大堆的废票,从废票的数量上看,伍德斯托克应该是可以赢得这次选举了。几年之后,据说伍德斯托克在马路上被一辆车压死了,”斯托曼如此回忆道,他说他当年和伍德斯托克的选举没有一点关系,“可我很崇拜这事。[注15]” + +在人工智能实验室,斯托曼的政治活动更加积极,产生的矛盾也更尖锐。在20世纪70年代,学校的一些教授和管理员一度发出通知,说即将停止在实验室的计算机上运行ITS,也将停止支持很多黑客们喜欢的设计。ITS允许任何人坐在终端前,做任何事情。包括把整个计算机关机。这在当年,可是个大事。因为很多人都会通过终端使用同一台计算机,关机意味着其他人也必须暂停手上的工作。不过,如果别人关机,你会收到即将关机的通知。要是你手头的工作还没完成,你也可以取消这次关机操作。到了70年代中期,一些教授开始对文件的安全保护提出要求,要求他们能够控制哪些用户才能访问自己的文件。可人工智能实验室的这些黑客们,还是坚持要维护一个没有控制的系统。 + +斯托曼对这些安全控制特性从道德和实践上给予了否定。从道德上说,人工智能实验室的这个圈子里,大家都有着开放和信任的传统。从实践上看,ITS系统本身也是为了开发和协作而设计的,并非要控制哪些用户。任何与这初衷相违背的特性都需要额外的精力来开发维护,完全没有必要。为了让安全特性更难实现,斯托曼把文件描述符的最后一点富裕空间,用来存储用户的最后修改时间。最后修改时间是个很重要的信息,谁也不想把它去掉。可这么一来,整个文件描述符也就没有任何地方来存储安全信息了。 + +“设计ITS的黑客们认为,文件访问控制这个特性是为自私的系统管理员设计的。这样,他们这些管理员就可以凌驾在任何用户之上,”斯托曼事后解释,“黑客们可不希望有谁被任何人控制约束,所以他们不会实现这样的功能。这么做的结果是,一旦系统出了毛病,任何人都能赶在第一时间修复它。”(因为没有访问控制功能去阻止你去访问任何文件。) + +这种警觉,让黑客们得以在人工智能实验室营造出一个没有管制的世界。可在旁边的麻省理工学院计算机科学实验室里,对安全敏感的教授们则取得了胜利。动态建模组最先在1977年在系统中使用了密码登录。又一次,斯托曼挺身而出,纠正了这种自己看来“不道德”的行为。他先获得了密码登录系统代码的访问权限,然后写了一个程序,破解已经加密存储的密码。然后,他开始给系统上的每个用户发邮件,劝说他们放弃使用密码。这封邮件的内容大概是这样的: + +我看到你用“starfish”做密码了,我建议你把密码直接改成“回车”,我用的就是这个密码。这密码简单好记,而且可以让你忘了密码和安全这些繁杂琐事[注16]。 + +他们认为学院的计算机,甚至包括计算机里的文件都应该是公有的,而不是属于任何个人的财产。斯托曼在一次为1984年出版的《黑客》一书的采访中,很骄傲地提到:当年计算机科学实验室里,有五分之一的人换了“回车”做密码。 + +所谓用“回车”做密码,就等同于没有密码。这个密码让其他用户也可以访问自己的账号。这和以前没有密码的日子没什么分别。这就是斯托曼和黑客们要表达的:他们拒绝任何光鲜亮美的枷锁,他们会嘲弄任何企图使用枷锁的想法。他们知道,这种安全保护能力很弱的系统,不可能防范任何入侵者。可这无所谓,因为完全没必要考虑什么入侵者,从来就没有入侵者,只有访客。 + +斯托曼的这种反密码抗议,以及各种拒绝安全保护的行为,最终还是要失败的。20世纪80年代起,哪怕是人工智能实验室,也开始支持密码登录系统。可即便如此,斯托曼的行为标志着他个人政治思维成熟的里程碑。斯托曼迈出了一大步。当年他还是怯懦的中学生时,哪怕遇到决定生死的大事,他也不敢上街公开反对。如今,他成为了一名活跃人士,把各种嘻笑怒骂当作家常便饭。 + +反对计算机安全这事体现了斯托曼早年性格中的几个关键特质:对知识如饥似渴,对权威厌恶嘲弄;可又烦恼于别人对自己的各种偏见不解,被一些人看作异类。这些也正反映出了未来主导他行动的道德基础:对集体的责任感和信任;还有遇到问题,直接行动的黑客精神。用软件界的行话来说,反密码抗议行动体现的正是斯托曼1.0版。虽然有些地方还很不完善,但大部分已经成熟。 + +斯托曼自己则不太赞成把他这样的早年的黑客经历强调得太多。他说:“早年间,很多人都和我有同样的想法。当时那么多人最后选择了不用密码,这事实本身就说明他们很多人认为这么做是对的。只是我在这方面比较活跃。” + +不过,斯托曼依旧很感激人工智能实验室氛围唤醒了他作为政治活动家的潜质。曾经还是少年的时候,斯托曼目睹了很多政治事件,他很难想象自己能做出什么有影响的事情。如今虽只过弱冠之年,他却已经可以在自己的领域里指手划脚,自信地为整个社区负责,也为个人自由出头。他说:“我加入了这个圈子,这个圈子的文化非常强调尊重每个人的自由。我很快就意识到这是个好事,可花了很长的时间后,我才觉得这是一种道德责任。” + +斯托曼不仅在人工智能实验室获得了黑客们的尊重。在哈佛的第一年,斯托曼参加了一个世界民间舞蹈小组。这个小组刚刚在卡瑞尔宿舍楼成立。斯托曼一开始也没打算加入,因为他觉得自己根本不适合跳舞。可他朋友却说:“你不试试怎么知道呢?”后来他真的去试了。出乎意料的是,他不仅很擅长跳舞,而且很享受其中的乐趣。这个无心之举最后竟然发展成了他的另一大爱好。这也给了他不少和女孩子搭讪的机会,可惜在大学期间,每次搭讪都没能换来单独的约会。跳舞让斯托曼明白自己不再是那个手脚不协调,不会玩橄榄球的10岁少年了。他由此变得更加自信、灵活、有活力。在20世纪80年代早期,斯托曼走得更远了:他加入了麻省理工学院民间舞蹈表演队。他穿着巴尔干半岛的传统服饰,在观众面前表演舞蹈。这让他甚是陶醉。舞台上面对观众的经历,也为他日后在各种公共场合中演讲打下了基础。 + +尽管跳舞和写代码没能使他的社交能力提高多少,可刚到哈佛时给人的那种疏远不自然的感觉却从此烟消云散。1977年,在一次科幻小说聚会上,他看到了南希徽章制作机,你可以随便写点格言座右铭什么的,把它制作成徽章。斯托曼很兴奋,他当场制作了一个徽章,上面写着“弹劾上帝”。 + +在斯托曼看来,所谓“弹劾上帝”可以从很多层面上来解释。作为一个从小就坚持无神论的人,斯托曼把“弹劾上帝”看作是信仰争论的另一种角度。“那时候,很多人都在讨论上帝究竟是不是存在。‘弹劾上帝’四个字给了人们一个全新的角度。如果说,咱们这位上帝能耐这么大,大到可以创造整个世界,可却把这个世界中的问题扔在那里,不闻不问,那我们何必要膜拜这么一个上帝呢?这样的上帝难道不该放到法庭上审讯一番吗?” + +另一方面,“弹劾上帝”也影射了20世纪70年代的水门事件。它把尼克松比作暴虐的天神。水门事件对斯托曼的影响很深。斯托曼从小就厌恶权威。如今长大成人,这份厌恶在人工智能实验室的黑客精神影响下,更加牢固。黑客们看来,水门事件好似莎士比亚剧一般,诠释着上层权力斗争如何戏虐无权的人。它恰似一幅缩影,展现着人们如何出于安全和方便的考虑,放弃自由和开放。 + +戴上徽章,斯托曼自信满满。好奇的路人倘若问上一句,必然换来一篇准备已久的长篇大论:“我乃耶和华,从天而来,替天行道。除忧治病,铲逆为公。我眼中所见之事,并非肉眼凡胎所能看;我心中所思之物,也非莽夫俗子所能解。神谕无价,安全第一,行道之法,乃是天机,万万不可泄露。尔等世人,尽管加信于我,毋疑毋问,顺天听命。旦有不从,即为妖孽,从此名姓入簿,打入非常之所,不得入三界,列五行。妖孽之地,行严法,加重税,世代如此,不得翻案。[注17]” + +如果只是觉得这段话是对水门事件的恶搞,就只听懂了一半。另外一半,恐怕只有那群黑客的同类能听懂。百年之前,阿克顿男爵(Lord Acton)曾经发出警告:绝对权力导致绝对的腐败。而很多美国人,恐怕忘了这个警告的前半部分:权力本身导致腐败。斯托曼并没有直接列举各种腐败案例,他直指:过分信任权力,从而酿成腐败的整个社会。 + +斯托曼回忆起徽章的事情,说:“我觉得,为什么把讨论就停留在这里了?如果仅仅看到水门这一桩事件,你也许只是不再信任尼克松和他的幕僚。可明天你也许就又开始信任尼克柏、尼克树,你依旧信任权力。我对待这些掌权者都是一个态度——倘若他滥用权力,就活该在哪天被剥夺权力。” + +脚注: + +1、 +参见迈克尔⋅格劳斯的采访:《理查德⋅斯托曼:中学校园里的怪才,自由软件界的旗手,麦克阿瑟奖获得者》(1999年)。 + +2、 +译注:坦慕尼协会曾是纽约市民主党的政治机器。曾一度控制了曼哈顿一带民主党候选人的提名。 +20世纪30年代因操纵选票丑闻而一蹶不振。但在50年代又有起色,60年代左右逐渐退出政治舞台。 + +3、 +卡米思⋅德⋅萨皮奥曾是坦慕尼协会的第一个意大利裔主席。关于他和纽约第二次世界大战后的政治格局,参见约翰⋅达文波特(John Davenport)的文章: +《擒虎:卡米思⋅德⋅萨皮奥,和坦慕尼协会的最后时光》,《纽约事务》(1975年):3:1 + +4、 +译注:抽签征兵,1969年~1975年期间,美国实行的一种征兵制度。根据生日,在适龄青年男性中,随机分配征兵顺序。顺序在前的人将最先收到征兵令。 + +5、 +译注:美莱村屠杀,1968年3月16日,美军因怀疑村民掩护越共逃亡,在越南广义省美莱村展开了屠杀。 + +6、 +柴斯(Chess)是哥伦比亚科学之星计划的另一个学生。他把当时的抗议游行形容为“背景噪声”。 +“我们都关心政治。可科学之星计划对我们来说更重要。我们从没有翘课去游行。” + +7、 +译注:美国大学允许学生在学期开始之前选课,上过几周,如果觉得不合适,可以放弃这门课。 +因此,一个课程在开始的时候会有很多人上,但到了学期结束只有一部分人坚持选下了这门课,拿到成绩。 + +8、 +斯托曼对此持怀疑态度。“我离开数学和物理界,转去搞计算机,其中一个重要原因,是我觉得在数学和物理领域很难有什么新的突破。我只能每天学习别人以前做了什么。在计算机领域,我每天都可以有些新东西。” + +9、 +译注:美国学生一般会在校内或校外找些工作,一方面可以积累经验,但很重要的一方面是可以挣钱交学费。 + +10、 +译注:休伯特·德莱弗斯,美国哲学家。曾在1965年断言,计算机下国际象棋不可能战胜一个十岁孩子。 +参见他的论文《Alchemy and Artificial Intelligence》。 + +11、 +参见史蒂芬·李维(Steven Levy),《黑客》(1984年,美国企鹅出版社),第144页。史蒂芬用了五页内容来描述高斯伯如何迷恋生命游戏。 +生命游戏是英国数学家约翰·康威(John Conway)建立的数学模型。强烈建议读一下《黑客》一书,可以作为本书的补充读物。 + +12、 +杰拉尔德⋅萨斯曼,他既是麻省理工学院的教授,也同时是人工智能实验室里的一名黑客。 +他在人工智能实验室工作的时候,斯托曼还没来。根据他的回忆,当时黑客们根本没有破门进入教授的办公室。 + +13、 +原谅我草草地带过了ITS的历史。这个操作系统至今依然被很多黑客视为黑客文化的缩影。 +关于这个操作系统的更多历史,参见西姆森⋅加芬史尔(Simon Garfinkel)的书: +《信息社会的建筑师:麻省理工学院计算机实验室的35年》(麻省理工学院出版社,1999年)。 + +14、 +理查德⋅斯托曼在瑞典皇家技术研究所的演讲(1986年10月30日) +链接:http://www.gnu.org/philosophy/stallman-kth.html。 + +15、 +本书最后一审期间,斯托曼发来邮件说,他从哈佛大学也得到了很多政治上的鼓舞。 +斯托曼说:“我在大一的时候,修了中国历史这门课。读了很多关于反对秦朝暴政的故事。虽然很多故事也许没有史料依据,但依旧振奋人心。” + +16、 +参见史蒂芬⋅李维,《黑客》(1984年,美国企鹅出版社),第417页。 +在这里,我对邮件内容作了一些改动,在原书中李维也是从别处摘录了这段文字,用于证明斯托曼所写程序可以真正解密系统中的密码。 +李维在摘录时用了“某某”来代替实际的密码。 + +17、 +译注:此处翻译以意译为主。原文为:“My name is Jehovah,…I have a secret plan to end injustice and suffering, but due to heavenly security reasons I can't tell you the workings of my plan. I see the big picture and you don't, and you know I'm good because I told you so. So put your faith in me and obey me without question. If you don't obey, that means you're evil, so I'll put you on my enemies list and throw you in a pit where the Infernal Revenue Service will audit your taxes every year for all eternity.” +斯托曼所说的地狱税务局(Infernal Revenue Service)和美国国家税务局(Internal Revenue Service)有同样的首字母缩写,IRS。属于常见的文字游戏。 + + + +第5章 自由一隅 + +如果谁和斯托曼在一起待上超过一分钟,感受一般都是这样:不管他那一头的长发,不管他怪异的举止,给人印象最深刻的,是斯托曼凝视你的眼神。透过他绿色的眼睛,你能看到一种真实的信仰。 + +要说斯托曼眼神犀利,都要算是轻描淡写了。他不止是看着你,他简直就是要看透看穿你的心。哪怕你出于礼貌,暂时把自己的视线从他身上移开,你依旧能感受到他的眼神像灯塔一样,锁定在你的身上。 + +也许这就是为什么,很多描写斯托曼的文章都会从信仰的角度开始写起。[注1]但是,这些报道都忽视了斯托曼人格中脆弱的一面。盯着斯托曼的眼睛再久些,就会发现其中潜在的改变。一开始,是一种强势带着几分催眠般的眼神;可再看几次,就会发现那眼神其实是在寻求沟通,建立联系。正像斯托曼本人所怀疑的那样,如果他的个性中真的有着一些自闭症的成分,那么他的这种眼神倒确实符合这种个性。哪怕当他目光如炬地盯着一个人的时候,那个人依旧能够感受到他眼神中透出的几分迷茫和疏远。恰似受伤的猛兽一般,眼中传出几分绝望。 + +我第一次见识到传说中的斯托曼的目光,是在1999年3月的第一届LinuxWorld大会上。大会在加利福尼亚州的圣何塞市举行,是一场“Linux”社区的大聚会。其中一个环节,就是在媒体面前介绍斯托曼。斯托曼决心在这次见面会上简要回顾GNU工程的历史以及这个工程政治上的目标,以此说明自己在社区中的工作和价值。 + +作为一个报道此次大会的记者,我在GNOME 1.0的媒体发布会上被斯托曼亲自上了一课。当时,我的第一个问题在无意之中触碰到了敏感话题:“请问您觉得随着GNOME逐渐成熟,是否会推进Linux的商业应用?” + +“请你不要再把整个操作系统都叫作Linux,”斯托曼回应,眼光迅速聚焦到我的身上,“Linux是一个操作系统的内核,它仅仅是操作系统的一小部分。你所说的Linux,实际还包含了很多软件。这些软件并不都是林纳斯⋅托瓦兹开发的。它们是由GNU工程的志愿者开发的,这些志愿者用自己的业余时间创造了这些软件,让用户最终可以自由使用这个操作系统。如果不提及这些开发人员的工作,那么既不礼貌,也不尊重历史。所以我坚持把这个操作系统称作GNU/Linux,也希望你这么称呼它。” + +我把这段话记在采访本上,整个会场异常地安静。等到我抬起头来,才看到斯托曼的眼睛眨都不眨地盯着我,让我心生一丝胆怯。这时候,直到另外一名记者正确地使用了GNU/Linux的名字提问,才打破僵局。GNOME项目的组长,米格尔⋅德⋅伊卡萨(Miguel de Icaza)回答了这名记者的问题。伊卡萨回答到一半,斯托曼才把目光从我身上移开。这时,我才觉得些许放松。等到斯托曼继续纠正了另外一个记者的措辞问题后,我才有种罪孽被洗清的感觉。他起码不再盯着我了——我对自己说。 + +从斯托曼的角度看,这种面对面的时刻是有意义的。这次大会结束的时候,各路记者在斯托曼面前已经改用GNU/Linux这个名字。而《连线》的记者则开始忙着写一篇通讯。这篇通讯中,斯托曼被形容为被黑客和各大公司遗忘的英雄。甚至整个GNU工程也被忽略,因为这些黑客和公司不喜欢GNU工程中的政治目标。其他类似的报道也相继出现,尽管没有在报道中使用GNU/Linux的名字,但它们大多都提及了斯托曼的贡献,说到他十五年前发起的开发自由操作系统的项目。 + +再次见到斯托曼,是在17个月后。在这17个月中间,斯托曼又一次前往位于硅谷的圣何塞,参加1999年8月的第二届LinuxWorld大会。尽管没有演讲,但斯托曼此次还是有目的的。他代表自由软件基金会,领取了林纳斯⋅托瓦兹社区贡献奖。斯托曼接受奖杯的时候,打趣道:“这次代表自由软件基金会领取林纳斯⋅托瓦兹社区贡献奖,感觉就像唐僧代表师徒四人去领取悟空奖。” + +可惜,这次的玩笑并没有吸引多少媒体的关注。倒是这周的红帽公司(Red Hat, Inc.)上市,引起了各路记者的关注。这是一家以发布GNU/Linux发行版为主的软件公司。这次上市,印证了大多数记者的猜测:“Linux”一词,会和“电子商务”、“点com”等一样,成为华尔街上的流行语。股票市场的热闹会把大家搞得像中了千年虫病毒一般——忘掉过去,丢掉历史,把自由软件或开源的政治方面抛诸脑后。 + +也许这就是为什么,在2000年第三届LinuxWorld大会上,大家再也没看到斯托曼的身影。 + +我第二次再和斯托曼见面,是在第三届LinuxWorld大会之后不久。当时我听说斯托曼又要来硅谷,我就和他联系好,定在加利福尼亚州帕罗奥多市(Palo Alto)进行采访。这个地点选得很有意思。不仅仅是因为他上次缺席LinuxWorld大会,还因为这里作为硅谷重镇,是除了微软所在的华盛顿州雷蒙德市以外,最支持专有软件经济模型的几个城市之一。而斯托曼则花费了自己整个青春和大半生的时间,去与我们文化之中的自私与贪婪作斗争。我很好奇,他来到这座城市,看着车库大小的平房里,都在做着几十万美元的买卖的现实,斯托曼会作何反应。带着好奇心,我离开奥克兰市,驱车前往帕罗奥多。 + +按照斯托曼给我的地址,我来到了Art.net的总部。这是一家汇集各路“网上艺术家”的非营利组织。位于城市北部,坐落在一所被篱笆围起来的房子里。房子有些旧,但又透着些小清新。这氛围顿时又让我觉得,斯托曼混在硅谷,似乎也不是个很怪的想法。 + +我看到斯托曼坐在一个背阴的房间里,正在他那台灰色笔记本电脑上敲着键盘。我一进门,他就看着我,投来了那著名的目光。互相寒暄后,他又把目光聚焦回笔记本的屏幕上。 + +“我刚刚写了一篇关于黑客精神的文章,”斯托曼一边打字,一边说,“过来看看?” + +我走过去开始读文章。房间阴暗,屏幕上编辑软件的界面,又被斯托曼设置成了黑底绿字。我读了几个字,眼睛才逐渐适应。文章开始回忆了斯托曼有次去一家韩国餐馆的经历。当时服务员摆桌的时候,在斯托曼面前放了三双筷子。一般人恐怕都会把多余的两双筷子拿开。可斯托曼却又借此开始玩起把戏,他企图找个法子,用上所有的筷子。和很多黑客技巧一样,最终的解决方案既聪明灵巧,可又傻里傻气。斯托曼以这个事情来作为整个文章的引子。 + +我读的时候,感觉斯托曼一直在盯着我。起身看了他一眼,见他一脸骄傲的表情,好似孩子般笑着站在那里。我夸奖了一下他的文章,勉强让他的眉毛抬了抬。 + +“稍等一下,我们马上就出发。”他说。 + +斯托曼坐回座位,开始继续敲键盘。他用的笔记本是个灰色的四方盒子,和LinuxWorld上看到的大多笔记本不同,斯托曼的这台没那么光鲜亮丽,也不是什么新款式。笔记本的键盘之上,还放着一个更小、更轻的键盘。斯托曼的一双大手,则在这个小键盘上飞舞。80年代后期,斯托曼每周都工作70~80小时,编写GNU工程中最基础的那些自由软件,九十年代中期,斯托曼双手的剧痛让他无法容忍,以至于他曾一度雇用了一位打字员。今天,他用的键盘,是一种特殊的,比常规键盘按键力度更小的键盘。 + +斯托曼在工作时,会全然不顾外界刺激。看着他眼睛盯着屏幕,手指飞舞,让人觉得斯托曼和电脑,恰似老友重逢,当下正促膝长谈。 + +斯托曼用力敲了几下键盘,合上笔记本电脑,拔掉电源,结束了写作。 + +“吃午饭去吧?”斯托曼问。 + +斯托曼抱怨着自己脚踝的伤,和我一起徐步走到我的车前。他左脚跟腱三年前受了伤,让他这么一个民族舞爱好者从此告别任何舞蹈活动。斯托曼叹道:“我可喜欢跳舞了,不能跳舞对我来说简直是个悲剧。” + +这悲剧从斯托曼的身材上就体现出来了。由于缺乏锻炼,斯托曼开始发福。他的脸颊越来越圆,啤酒肚也凸出来了。你能明显看出,他的发胖简直就是一瞬间完成的。他自己都还来不及适应,以至于在走路的时候,都要撑着腰,好似一个孕妇一般。 + +走到中途,斯托曼停下脚步,在一簇玫瑰花前俯下身子。剥开花瓣,斯托曼把鼻子凑到花蕊前,深吸一口气,然后起身长叹,甚是满足。 + +“嗯,rhinophytophilia。”他揉揉腰说。 + +开车到餐馆不到三分钟。根据前自由软件基金会执行总监蒂姆⋅内伊(Tim Ney)的建议,我让斯托曼选择去哪家餐馆。尽管很多报道把斯托曼描述成苦行僧一般,可事实上,斯托曼在饮食方面可谓是个美食家。作为一位布道全球的自由软件使者,一个额外收获就是可以尝遍各地美食。内伊介绍:“他去了几乎全世界所有的主要城市,这让他总能知道全城最好的餐馆在哪。斯托曼知道菜单上每个菜都是什么,点上一桌美食,他经常以此为荣。” + +今天,斯托曼选择了一家广式点心店。这家店和帕罗奥多市的主干道学院街(University Ave.)相隔两个街区。选这里,一部分是因为斯托曼刚刚去过中国,期间在香港做了短暂停留,这才想当下吃点中餐。斯托曼本人并不喜欢太辣的东西,所以他也就没选川菜和湘菜。“我对辣的东西不感冒。”斯托曼坦言。 + +快十一点的时候,我们赶到餐馆。结果发现餐馆的门前居然已经排起了长队,我们要等二十分钟才能入席。我深知黑客们不喜欢浪费时间,于是屏住呼吸,生怕斯托曼大动肝火。可出乎意料,斯托曼竟然坦然地接受了这个事实。 + +斯托曼对我说:“就只有我们俩来了,真可惜。人多了吃起来才热闹。” + +等待期间,斯托曼开始走起舞步。他步步小心,可还是能看出他有点儿功底。我们开始聊起时事。斯托曼说,这次缺席LinuxWorld大会,最遗憾的部分是没能出席GNOME基金会的成立发布会。这个基金会是Sun公司和IBM一手操办,它很好地诠释了斯托曼的观点:所谓自由软件,并不与自由市场和自由经济相冲突。然而,斯托曼依旧不满意大会的论调。 + +“发布的时候,各个公司都在说着Linux,闭口不提GNU工程。”斯托曼说。 + +这种冷漠恰恰和地球另一边的热闹形成对比。尤其是亚洲各国,甚是热情。看看斯托曼2000年的行程安排,就能看出自由软件的迅猛增长。在115天之中,斯托曼只在美国停留了12天,其他时间则在印度、中国或巴西境内。他的旅行,让他见识了自由软件如何被翻译成不同的语言,进入各国的文化。 + +“在印度,很多人对自由软件感兴趣。因为他们觉得这样可以用很低的成本,建设起自己的计算机基础设施,”斯托曼说,“在中国,自由软件的概念就传播得相对慢了一些。我们经常把软件自由和言论自由并提,表示这是软件用户的一种基本自由,但听众都不太理解;可在中国,这种类比显然不太奏效:人们压根就没有过言论自由,自然也不拿自由这东西当回事了。不过无论如何,我这次的中国之行还是在一定程度上提高了自由软件的关注度。” + +话题很快转到Napster,这是一家加利福尼亚州圣马特奥市的软件公司。这几个月,这家公司成了各大媒体的宠儿。这家公司开发了一款备受争议的软件,使得音乐爱好者之间可以互相复制音乐文件。借着互联网的东风,这类称作P2P(即端到端)的软件逐渐流行。如今,Napster俨然成了大型音乐盒,让各路音乐爱好者可以免费欣赏音乐。这一下子就惹恼了各大唱片公司。 + +尽管Napster是个专有软件,但它的流行却印证了斯托曼的想法:一旦某个作品进入数字世界,或者说,一旦复制这个作品变得便宜简单,那么,分享行为作为人类的一种本能,就很难被阻止。Napster给了用户一片分享音乐的空间,这家公司接着就可以借助用户量来寻求更多商业机会。 + +Napster的迅猛成功让各大唱片公司开始担心。我来帕罗奥多之前的几天,玛莉莲⋅帕特尔(Marilyn Patel)法官刚刚在美国地方法院通过了一项由美国唱片协会提交的禁令。该禁令禁止了文件共享服务。而Napster之后上诉到上诉法院,使得这个禁令被美国第九巡回上诉法院暂停。但在2001年年初,上诉法院判定Napster的确违反了版权法。美国唱片协会发言人希拉里⋅罗森(Hillary Rosen)对这个判决的评价是:“保护了创作者,完善了在线市场方面的法律。” + +对于斯托曼这样的黑客来说,Napster的商业模型内包含着复杂的信息。一方面,这家公司大力倡导黑客社区所欣赏的信息共享精神;而另一方面,该公司又出售着基于专有软件的服务。这种复杂性,让斯托曼对这一事件少言寡语,因为他知道,自己已经花了很大工夫去传播自己的思想,而对这种部分和自己思想相同,但很大程度上又有矛盾的事件发表评论,很容易被媒体断章取义、平添混乱。可斯托曼依旧承认,从Napster事件上,他也认识到了一些有价值的东西。 + +“以前,我觉得人们私下分享娱乐信息就可以了,”斯托曼说,“可如此庞大数量的用户在Napster上分享音乐,这让我觉得,不仅仅是私下朋友和朋友之间的共享很重要;在公共场合,公开给大家分享信息的自由也同样重要,不可剥夺。” + +话到此,餐厅服务员赶来,告诉我们有了空位。于是我们被领班带到桌前,坐在餐厅一角,身旁的墙壁是一整面镜子。 + +服务员拿来菜单和笔,让我们在菜单上勾选要点的菜。还没等服务员把茶水拿上桌,斯托曼就已经开始在自己的菜单上点菜了。“香煎鲜虾腐皮卷,”斯托曼读着菜单,“我喜欢腐皮的口感,点一个。” + +这一下子又引来了斯托曼关于中餐和这次访问中国的即兴评论。“中国的饮食真是博大精深,”斯托曼大声说,这要算是他整个上午嗓门最大的一次了,“各种我在美国都没听说过的食物。还有很多当地特产、当地美食。当时我又突然想起来,我要办份杂志,专门记录每顿大餐的菜谱。” + +这讨论接着又转向韩国菜。同样也是在2000年6月,斯托曼的亚洲之行中也去了韩国。他的到来,在当地媒体引起了一个不小的轰动。这其中原因或许还要部分归功于当时也在韩国的微软创始人比尔⋅盖茨(Bill Gates)。斯托曼的照片这次上了首尔的热销报纸的头版,比尔⋅盖茨的照片竟然被挤到了下面。除了这件事情让斯托曼非常满意之外,当地的美食也让他欢欣鼓舞。他回忆道:“我吃了一碗冷面。那面条口感非常独特,我们这边都不用那种面条做冷面。我敢肯定,那冷面是我有生以来吃到的最正点的冷面。” + +“正点”一词在斯托曼嘴里应该是很高的评价了。因为正当斯托曼介绍完冷面,我突然觉察到他的眼神飘到了我的右后方。 + +“你后面坐了个很正点的妹子。”斯托曼说。 + +我赶紧回头,瞟到了一个女人的背影。这女人很年轻,二十来岁的样子。穿了一件白色裙子,裙子上贴着闪闪发亮的饰品。她和同桌的一位男性已经用完餐,正在结账。当两人起身离开的时候,我发现了斯托曼眼中瞬间失落的神情。 + +“啊!别啊!他们要走了。我估计以后也见不到她了。”斯托曼抱怨道。 + +一声叹息,斯托曼心神回位。这倒给了我一个机会,问问斯托曼的感情生活和审美偏好。因为坊间传言,他可是个轻佻的公子。有些时候,很多传言还有些自相矛盾。很多黑客都声称,斯托曼和女性见面,都会以吻手背的方式来打招呼。在Salon.com上,有一份2000年5月26日的采访,把斯托曼描写成了一位黑客界的花花公子。文中把自由软件和自由恋爱做类比,作者安娜利·奈唯姿(Annalee Newitz)把斯托曼说成是拒绝传统家庭观念的叛逆者,他还说:“我相信爱情,但不相信一夫一妻。” + +当我问起这方面问题时,斯托曼把菜单放下后说:“这个⋯⋯很多男人似乎都会不自觉地蔑视女性,看到女性就想到上床一类的事情。就连很多女人也自觉不自觉地融入到男性的这种倾向的思维中,可我无法理解这种态度。” 我提到,在1999年,一本名为《开源软件文集:开源革命之声》的书中,斯托曼在一篇文章里提到,当初他想以女朋友的名字来命名GNU操作系统的内核。这位女孩子名叫Alix,因为是以x结尾,所以和Unix界对操作系统内核的命名传统非常契合,比如Linux就遵照了这个命名传统。Alix当初是个Unix系统管理员,而且曾经和她朋友开玩笑地提到过:“应该有个内核以我的名字命名。”斯托曼于是决定把GNU的内核命名为Alix,以此给她一份惊喜。可最后内核的主要开发人员把内核名字改成了Hurd,把Alix作为其中一个模块的名字。Alix的一个朋友看到源码中出现了Alix的名字,于是把这件事情告诉了她。Alix听后非常感动。之后Hurd又经历了几次重新设计,最终还是去除了Alix这个模块。虽然最后斯托曼与她分手了,这个故事还是给我们留下了一个问题:虽然大部分的媒体上都把斯托曼描写成是一个狂热的激进分子,但斯托曼真的就是一个堂吉诃德式的古怪人物吗?他是否只知道去挑战风车,把这看成是一种浪漫,并以此来吸引他理想中的爱人? + +“我并不是真的想去制造多少浪漫,”回忆起有关Alix的故事时,斯托曼说,“这更多的只是一种调侃。你明白吗?我的意思是说,这看上去是很浪漫,但它也确实是一种调侃。不过效果还是不错的,能给人惊喜。” + +整个上午,斯托曼脸上都挂着笑容。我问起关于吻手背的事情,斯托曼说:“哦,是的。我的确这么做。我觉得这种方式可以给很多女性带来亲切感,她们也都会喜欢。这是个很好的机会,你可以借此拉近彼此距离。” + +亲切感是斯托曼生命中永恒的主题。问起这个问题,他非常坦诚:“在我的生命里,确实很少体验到亲切感,只是在我头脑之中还存在着这种感受。”可聊着聊着,话题就变得尴尬。斯托曼几次回应都只是从嘴里蹦出几个单字,再问几个问题,他就举起菜单,插话道: + +“你想吃点烧麦吗?” + +上菜间隙,谈话越显尴尬。我开始和他闲聊起来,问他关于中餐的问题,问他当初他在人工智能实验室做程序员的时候,每周去唐人街吃饭的问题,还问了他关于中文口语和汉字书写之间的逻辑联系。本想借此绕回主题,可每次尝试,都被斯托曼以一套太极功夫挡了回去。 + +“我上次去中国的时候听到人们说上海话,”斯托曼说,“很有趣,和普通话非常不同。我问他们把同一个词分别用上海话和普通话说一遍。有些时候你能大概听出点联系。我问他们声调是不是也类似,他们说不一样。这让我觉得很有趣。因为有个假说认为,不同声调曾经是不同音素,之后语言不断演化,几个音素被不同声调取代。如果这个假说成立,那么声调不同就意味着这个方言是在音素演变成声调之前就独立发展的。” + +第一个上来的菜是萝卜糕。我和斯托曼都花了些力气,才把这大块的萝卜糕切开。它闻起来像是白灼生菜,吃起来又像煎土豆饼配培根。 + +我决定继续讨论刚才说到一半的话题,我问他,是否觉得自己的童年经历使自己养成了如此特立独行的性格。其中很出名的一个事,就是他从1994年开始,就致力于纠正广大计算机用户和各地媒体的误读,让他们使用GNU/Linux一词来替代Linux。 + +“我觉得这样的确对我有好处。我觉得,[特立独行的性格]的确让我[避免了对流行观点的盲从]。” 斯托曼嚼着一个饺子,继续说道,“很多人都说会感受到旁人观点的压力,而我却从不在意。我觉得我一直在拒绝盲从别人的观点。随波逐流不会有什么好处,不会带来任何改变。因此,我也没太在意别人对我的看法。” + +斯托曼以音乐喜好为例,向我讲述他叛逆的倾向。在他少年时期,大多数同龄的中学生都迷恋魔城音乐和摇滚乐,而斯托曼则喜欢听古典乐。他回忆,在1964年,自己中学生时候,披头士在《埃德⋅沙利文秀场》栏目出现,他的同学们都冲出去买披头士的最新专辑或单曲。而就在那个时候,斯托曼决心抵制披头士音乐。斯托曼说: + + “我喜欢披头士之前的一些流行乐。可我不喜欢披头士。我更不喜欢人们追求披头士的那份疯狂。当时就好像说,谁能攒齐披头士的所有专辑,谁就是最崇拜披头士的。” + +斯托曼的抵制行为显然没造成多大影响,他还试图找点其他法子戏弄一下盲目的同龄人。他说,他曾经考虑过要自己组织个乐队,专门调侃披头士。 + + “我想把这乐队叫作‘东京花’,或者‘日本披头士’。” + +我知道斯托曼喜欢世界各地的民族乐,我就问他对民谣歌手鲍勃⋅迪伦(Bob Dylan)什么看法。斯托曼摇摇头:“我倒是更喜欢彼得、保罗和玛丽。他们让我想起了伟大的诽客(filk)音乐。” + +我问他什么是诽客音乐,斯托曼解释说,这是专指为现成歌曲重新填词后创作的歌曲,这样的活动在黑客和科幻圈子里颇为流行。我问他什么是诽客音乐,斯托曼解释说是一个在科幻圈子里的术语,专门指代为现成歌曲重新填词后创作的歌曲。(在最近几年,一些诽客乐作者也会自己谱曲。)经典的诽客乐有《意大利面条之上》,这是借用《旧思墨客山之上》的曲调。还有由诽客乐大师,“奇士”埃尔·杨可维克(“Weird” Al Yankovic,“奇士”是此人绰号,也被人称“奇士埃尔”)填词,改变自《罗拉》(Lola)的歌曲《尤达》(Yoda),显然,《尤达》是描写《星球大战》里的绝地武士尤达的。 + +斯托曼问我是不是想听他唱诽客歌。我说想听。他很快开始唱起来,声音出奇的清晰。用的是《随风飘散》(Blowin’ in the Wind)的曲调: + + “一只土拨鼠要拨多少土,才能称得上是土拨鼠? + 波兰人要播多少栏目,才配得上波兰这名属? + 黑奴兄弟啊,你要黑掉多少弓弩,才敢被人称作黑奴。 + 这一切的答案,亲爱的,都掉进了你耳朵,粘到了听小骨, + 答案啊,都粘到了听小骨……” + +曲罢音散,斯托曼唇角又露出了孩子般的笑容。我环视周围,旁边的几个亚洲人正享受着自己周日的饕餮,没把心思放在这位大胡子叔叔身上。犹豫了几秒,我也冲斯托曼笑了笑。 + +“这个粟米球你还吃吗?”斯托曼眨着眼睛问到。我还没回答,斯托曼就拿筷子夹起粟米球往嘴里送。“那我就不客气了!”他说。 + +饭菜吃完,我们准备进入采访的正题。斯托曼端起茶杯,靠在在椅子上。我们继续开始讨论Naspter和自由软件运动的话题。我问,自由软件的原则是否应该扩展到其他领域,比如音乐领域上? + +“把一个问题的答案无条件地嫁接到另外一个问题上,这可就不对了,”斯托曼说,“说起歌曲音乐和程序,正确的思路是,根据每类不同的作品做分析,由此再得出相应的结论。” + +当说起版权作品的时候,斯托曼把整个领域分为三个类型。第一个类型是所谓的“功能类”。软件、辞典、教科书都属于此类。第二个类型可以称为“证据类”。科技论文、古籍文献都属于此类。这些作品,如果可以被任意修改,则没有了价值。这一类也同样包括对个人感受的记录,如日记、游记、自传。修改这些作品,则会影响到对某人的回忆或观点。因此,斯托曼觉得对此类作品,读者不能有权修改。第三类则是“艺术类”,包含了艺术和娱乐作品。 + +这三类作品中,对于“功能类”的作品,用户应该具备无条件地修改它们的权利;而对于“证据类”和“艺术类”作品,则要根据作者意愿,才能赋予用户一定的修改权力。斯托曼坚信,无论哪类作品,用户出于非商业目的复制与分享行为都应该被允许。也许有人会说,一旦允许如此,就会有互联网用户把各种图片、音乐或者书籍复制成百上千份,然后把副本发送给几百个陌生人。但斯托曼认为,这些复制行为也应该被允许。“很显然,私下偶尔分享这些作品的行为必须被允许。只有警察国家才会禁止这些行为,”斯托曼说,“把一个人和他的朋友隔离,这是反社会的行为。而Napster事件则让我觉得,我们不仅要允许私下朋友之间的分享,更应该,也必须要允许用户,出于非商业目的,把这些作品的副本分享给公众。因为太多的人希望如此,并且觉得这么做非常有价值。” + +我问他,法庭是不是会接受这种放任的观点。斯托曼打断了我说: + + “这是个错误的问题。你把这个话题从道德伦理的领域转移成了法律领域里的释法问题。这是一个话题的两个完全不同的方面。从一个反面跳到另一个是没有任何意义的。如今,法庭对于这些现有法律的解释往往会非常严苛,因为这些法律当初都是被出版商们极度拥护才被制定出来的。” + +这段话反映出了斯托曼的政治哲学:现有的法律系统保护各大公司,让他们能利用现有版权法保护自己的软件,但这并不意味着计算机用户必须得遵守所谓的规则。自由本身是个伦理问题,不是法律问题。他说:“我们需要超越现有法律,暂时忘记现在实际是什么样,去思考我们究竟应该要什么样。我不是要立法,而是在考虑法律应该做些什么。我觉得,禁止朋友之间分享复制品的法律,和种族歧视法一样,不该得到尊重。” + +说起种族歧视法,我又问了另外一个问题:他是否被曾经的那些政治领袖影响或鼓舞?如20世纪50~60年代的民权运动,斯托曼的政治思想也是基于类似的普世价值:自由,正义,公平竞争。 + +斯托曼这会儿被一撮纠缠在一起的头发分了心,没注意到我的问题。之后我把这个问题更具体化,把斯托曼和马丁⋅路德⋅金(Martin Luther King)做比较。这时,斯托曼刚刚弄断头发分叉处的死结,把死结扔进了嘴里。他打断了我的话。 + +“我们不是一个团体,但我们做着同样的事情。”斯托曼一边嚼着东西一边说。 + +接着,我提起另外一位民权活动家,马尔科姆⋅艾克斯(Malcolm X),把他的观点和斯托曼的做类比。马尔科姆曾是美国非洲裔人的新宗教组织“伊斯兰国度”的领袖。和他一样,斯托曼也喜欢谈论有争议的话题,疏远潜在的盟友,并且传播着一套自恰的信息,无视与现有文化体系的整合。 + +斯托曼嚼完嘴里的东西,表示他拒绝这种类比:“我要传达的内容更类似马丁⋅路德⋅金的思想。这是一个普世价值观。它谴责一些伤及他人的行为。我的思想并不是要人去憎恨谁,也不是针对一小撮人。我希望每个人都能珍视自由,也能拥有自由。” + +仅管如果,对于政治盟友始终抱以怀疑的态度,可以算得上是斯托曼的一个性格特征。他拒绝使用已经被大众接受的“开源”一词,拒绝与这个圈子的人合作项目。他为自由软件奋斗了二十多年,他的名字已经深深地和自由软件绑在了一起,他的政治资本也是要不断投资在这四个字上。在LinuxWorld上领奖时,他的那番类比,更加深了人们对他的这一印象。斯托曼头脑守旧,不肯在政治大趋势和市场面前做出半点让步。 很多人都指责斯托曼,说他经常拒绝触手可得的政治盟友。有人从心理学的角度,认为这是斯托曼的一个性格特征。他拒绝使用已经被大众接受的“开源”一词,拒绝与这个圈子的人合作项目。他为自由软件奋斗了二十多年,他的名字已经深深地和自由软件绑在了一起,他的政治资本也是要不断投资在这四个字上。在LinuxWorld上领奖时,他的那翻类比,更加深了人们对他的这一印象。茫茫众生之间,很多人早已把跟风赶潮当作一种美德。而斯托曼在这些人之中,则更显得头脑守旧,不肯在政治大趋势和市场面前有半点让步。 + +红帽公司总裁罗伯特⋅杨(Robert Young)总结理查德⋅斯托曼看似矛盾的政治行为时,说:“我崇拜、也尊敬理查德和他所做的一切。我对他唯一的批评就是,有些时候,他对待朋友甚至比对待敌人还要无情。” + +如果从自由软件运动以外的领域来看,斯托曼这种独行侠的作风,并非是他不关注其他政治人物。在他麻省理工学院的办公室里,你能一下子看到很多左派文章,记录着全球各地公民权被侵犯的事件。登陆他的个人网站,stallman.org,你可以看到很多文章,反对千禧年版权法案,抵制反毒品运动,抵制世贸组织等等。斯托曼解释说:“我们必须要谨慎地为自由软件运动挑选政治盟友。因为有些自由软件支持者也许并不支持有些运动。比如,我们会避免把自由软件运动和其他政党建立联系,因为我们不希望这样的行为去驱散那些自由软件的支持者。” + +鉴于斯托曼这种活动家的倾向,我问他为什么不尝试发出更大的声音?为什么不借助他在黑客圈的影响力,去推进他的政治主张? + +斯托曼整理了一下头发,思考了一阵。 + +答道:“软件自由,仅仅是自由一隅,冰山一角。我不希望过分强调这一角。因为还有更多的领域需要自由,这一点十分重要。和这些自由相比,自由软件则显得微不足道了。自由软件是我的一份责任,因为这项自由恰好落在我熟悉的领域之中。可除此以外,还有很多极其重要的问题需要关注:警察暴力,刑讯逼供;人们对某些毒品的偏见;种族歧视;如何让人们过上安逸的生活;如何让有堕胎经历的人免遭歧视;如何避免极权政治等。这些都和我们的生活息息相关,它们都比我的工作重要。我只是希望能了解如何在这些问题上做点什么。” + +斯托曼之后的一席话,让我觉得他利用了各种政治活动增进了个人信心。他在自由软件上花了大量时间和精力,很多活动,他虽然支持,但若真的投入其中,则要犹豫再三,要权衡自己的时间和精力,并且避免让自己陷入到并不熟悉的领域中。 + +“我真心希望我能为解决这些问题贡献出自己的一份力量。倘若我的贡献能让这些问题有所好转,我将引以为豪。可这些问题困难至极,多少比我更优秀的人前赴后继,才只能做到今天这地步。当初我审视这一切,我发现依然有一处自由无人守护,于是我才投身至此。软件自由也许并非举足轻重,但守卫之人,仅我一个。” + +吃完最后一口,斯托曼要结账。服务员还没来收钱,他又掏出一张白色纸币。一眼看去,这张纸币显然是张假币,我忍不住拾起来仔细端详了一下。它自然不是美国铸币局制造的。上面画的不是华盛顿,不是林肯,而是一头卡通猪。上面写的也不是“美利坚合众国”(United States of America),而是“放纵贪婪中”(Untied Status of Avarice)。这张纸币一钱不值。,服务员来的时候,斯托曼拽着他的袖子: + +“我又给你加了零美元的小费。”斯托曼说着,又露出了他标志的微笑。 + +这位服务员可能没有领会什么意思,或者真的被这假币迷惑住了。他也回敬笑了一下,快步走开了。 + +“看来我们可以离开了。”斯托曼说。 + +脚注: + +1、 +参见安德鲁⋅伦纳德的文章《自由软件圣徒》,1998年8月 +链接:http://www.salon.com/21st/feature/1998/08/cov_31feature.html +另见《有操守的程序员;坚持自由,坚持自由软件的理查德⋅斯托曼》,《伦敦卫报》,1999年11月6日 +链接:http://www.guardian.co.uk/uk/1999/nov/06/andrewbrown +把斯托曼比作宗教信徒的文章还有很多。Linux的作者林纳斯⋅托瓦兹曾用更极端的语言把斯托曼比作宗教信徒。 +参见他2001年发表的自传《乐者为王:一场无意间发起的革命》(Just For Fun: The Story of an Accidentaly Revolutionary,Harper Collins Publishers, Inc., 2001),第58页 +托瓦兹说:“斯托曼简直就是自由软件之神。” + + + +第6章 Emacs公社 + +20世纪70年代,从哪个角度看,麻省理工学院的人工智能实验室都是个特别的地方。里面有尖端的项目和顶级的研究人员,为整个实验室赢来了美名。而实验室内部的黑客文化,无政府主义的基调又为实验室平添了一层反抗权威的个性。几年之后,实验室中很多科学家和明星开发人员纷纷离开,黑客们这才意识到自己曾经的环境是多么独特。 + +在一篇1998年《福布斯》杂志上的文章中,斯托曼回忆当时实验室的氛围,说:“那就好像是个伊甸园。在那样的环境中,我们不可能拒绝互相合作。” + +这样的描述也许略显夸张,但却反映了一个很重要的事实:技术广场545号楼9层,那里曾经不仅仅是一个工作场所。对于像斯托曼一样的黑客来说,那里更像是家。 + +“家”这个字,在理查德⋅斯托曼的心中,有着特别的分量。他少年时,家中的变故和经历让他直到上了大学,才对家这个概念有所感悟,并心存感激。他曾把哈佛的宿舍当作自己第一个真正的家。描述起当年离开宿舍的时候,他甚至依然心存悲伤。有一次,他提起自己的大学生涯,说到大学期间最悔恨的一件事情就是被哈佛踢出校门。我问他究竟是触怒了何方神圣,才被赶出学校的。这才发现斯托曼早有准备: + +“哈佛有个规矩,你修了太多的课程,就必须得毕业了。”斯托曼道。 + +离开了宿舍,又不想回纽约。斯托曼跟随着和格林布拉特、高斯伯、萨斯曼等人的足迹,来到了麻省理工学院,继续读博士。他在剑桥市一带租了一所公寓,但没有多久,他就把人工智能实验室当作了自己真正的家。在1986年的一次演讲中,斯托曼回忆起那时的人工智能实验室: + +“比起其他人,我睡在实验室里的日子可能更久些。因为每隔一两年,我总会因为各种原因,有那么几个月的时间没地方住。这期间,我就住在人工智能实验室里。我一直觉得那里很舒服,冬暖夏凉。那个时候,睡在实验室一点也不稀奇。他们都是热情满满,一直写代码调程序,因为你实在不想停下来。等到实在太累了,就在旁边找片平坦舒服的地方,倒头睡下。大家都是这么不拘一格。” + +实验室里的这种氛围,有时候也会引来麻烦。有些人把它看作是个宿舍,而外人看来就像是个电子大烟馆。1976年,麻省理工学院的一位研究人员约瑟夫⋅魏岑鲍姆(Joseph Weizenbaum)曾在一本名为《计算机的能力与人类的理性》(Computer Power and Human Reason)中,用“电脑流浪汉”来形容类似人工智能实验室里的这批人,并对此多有指责:“衣服打着褶、头发不洗、胡子不刮、蓬头垢面。这群人不管自己的形象,更不会关注外面的世界。这种电脑流浪汉就存在于我们的现实世界之中,他们沉迷于计算机,一切生活只能依赖电脑,而他们的日子里只有计算机。” + +如今,这篇文章已经发表了二十多年,而斯托曼听到“电脑流浪汉”这个词依然心存不快。一说起这事,斯托曼就用一般现在时来形容,就好像魏岑鲍姆在他身边一般:“他就希望大家把这当成一份职业。你干这活就该只为挣钱,干完活你就走人,回到家就什么都不记得。他所谓的这种正常生活,在我看来根本就是个悲剧。” + +然而,黑客的生活中,也依然会有悲剧。斯托曼回忆,在他从人工智能实验室的兼职黑客,到转成全职黑客的这些年间,经历了一系列不平静的遭遇。他只能靠玩弄计算机来度过这段难熬的日子。正如他之前说的,第一个不幸遭遇就是从哈佛毕业。之后他凭着对物理学的兴趣,在麻省理工学院开始攻读物理系的博士学位。选择麻省理工学院是个非常顺理成章的事情。一来,有众多著名校友做榜样:有1936年毕业的校友,晶体管发明者之一威廉⋅肖克利(William Shockley);1939年毕业的校友,著名的理论物理学家理查德⋅费曼(Richard P. Feynman);1951年毕业的校友,夸克之父默里⋅盖尔曼(Murray Gell-Mann)。除了这些名人以外,吸引斯托曼的自然还有人工智能实验室和里面那台全新的PDP-10计算机。斯托曼说:“我那时越来越喜欢编程,但当时觉得,没准我能两者兼顾,编程、物理两不耽误。” + +白天读着物理学的博士课程,晚上跑去人工智能实验室鼓捣计算机,斯托曼试着在这种生活里保持平衡。两头的忙碌,让他只能在每周末偷出几分闲暇,跑去民族舞俱乐部,放松一下身心。而这个活动,也成了他唯一能认识异性朋友的机会。然而,在麻省理工学院的第一年结束时,悲剧再次降临。他膝盖受伤,从此不能再跳舞了。一开始,他还以为只是个小伤,养一阵子就会好。他还是照常参加俱乐部活动,聊聊天、听听音乐。可暑假结束,他膝盖依旧疼痛,加上新学期课程开始,斯托曼开始担心。他回忆:“我膝盖一直也没见好,这就意味着我很可能终生都无法跳舞了。我当时伤心透了。” + +离开了大学时的宿舍,又没法继续跳舞,理查德⋅斯托曼丧失了所有的社交机会。斯托曼发现自己与其他黑客圈子以外的人,尤其是与女性的交际能力明显下降了,就好像宇航员处在了失重的状态下那样倍感无助。在人工智能实验室待了四个月以后,他在哈福大学四年中所积累起来的自信在不经意间就消失得无影无踪了。 + +离开了大学时的宿舍,又没法继续跳舞,理查德·斯托曼丧失了任何社交的机会。跳舞是唯一能让他在女性面前获得成就感的活动,他甚至有时候还能借此和女生单独出来约会。不能跳舞本身已经让他够痛苦了,而这也同样意味着,他从此恐怕就没机会和女生约会了。 + + “我当时就觉得自己像个泄了气的气球,失去了做各种事的动力,彻底绝望了。” + +这之后,斯托曼再次远离了这个世界,专心投入人工智能实验室的工作。1975年10月,他放弃了麻省理工学院的课程,从此没再回到课堂。软件开发,曾经只是他的兴趣,如今则成了他的责任。 + +回头看看这段往事,斯托曼觉得,从一个学生转变成一个全职黑客几乎是命中注定的。他觉得,自己早晚都会放弃其他任何追求,专心成为一名黑客。他说:“物理和数学领域里,我很难做出一些自己原创的贡献。倘若我能在那里有所成就,我自然乐见其成。可我始终没能在这些领域里,找出自己的套路。我甚至都不知道从何开始。而在软件领域中,我立即就能知道怎么写软件,怎么让它跑起来,怎么做出有用的东西。软件领域里的知识,让我有了继续深究下去的动力,也让我从中感受到了无尽的乐趣。” + +这份乐趣,并非只有理查德⋅斯托曼一人能感受到。很多黑客早已乐此不疲。人工智能实验室里充斥着很多这样的人,他们和斯托曼一样,都在学业中途转职成了全职黑客。其中的大多数人都是数学或电子工程专业出身,他们当初选专业,一来为拿个文凭,二来可以体验解决旷世难题后的那份欣喜。当年圣⋅托马斯⋅阿奎那(St. Thomas Aquinas)编写《神学大全》时,曾号称感受过上帝的异象。而这份体验,黑客们也常有感受。他们通过集中精神,身心齐动,也达到了内心上的超脱,开始了忘我地工作。虽然斯托曼和其他黑客都拒绝毒品,但在电脑前写上二十来小时的代码,也同样能给他们带来一份飘飘然的感觉。 + +这其中,最能让他们陶醉的,恐怕就是那份无法言状的自我满足感。斯托曼简直天生就是个黑客。他少年时熬夜学习的经历,让他可以轻易胜任长时间的工作,并且只睡很少的觉。而他的数学背景,又让他有着过人的严密逻辑和数感。很多让其他黑客望而生畏的设计难题,放到斯托曼面前却变得轻而易举。 + +杰拉尔德·萨斯曼(Gerald Sussman)是人工智能实验室的教授,1985年之后,他还担任了自由软件基金会董事会成员。回忆起斯托曼,他赞叹:“他太特别了。思维清晰,设计流畅。”萨斯曼曾邀请了斯托曼加入人工智能实验室,参与了1973年和1975年的项目。两个人工智能的项目目标,都是通过编写程序,让计算机能够像人类的电子工程师一样,分析电路。这个项目需要一位Lisp语言的专家,同时,还能了解人类是如何解决类似的电路分析的问题。Lisp语言曾是专门设计用来编写人工智能程序。1975年的项目,则开辟了相关性制导回溯技术(dependency-directed backtracking)的先河,这个技术又名真值维护(Truth maintenance),基本思路是首先产生几个假设,然后检测在假设前提下是否存在矛盾,如果存在矛盾,则重新设计假设。 + +这些正式项目之外,斯托曼也会花时间维护自己的个人项目。黑客们都喜欢改进实验室的各种基础软件。斯托曼当时手头最大的个人项目就是实验室的一个编辑器软件,名为TECO。 + +20世纪70年代,斯托曼在TECO上的工作和之后的自由软件运动是一脉相承的。而这段历史在计算机史上,也值得一书。20世纪50~60年代,计算机刚刚进入大学校园,所谓的编程还是个很抽象的概念。那时的程序员,如果想要和计算机沟通一下,就必须得拿着一大摞卡片,上面打着孔,记录着软件中的指令。他们得把这一叠卡片交给系统管理员,让管理员把它们一张一张插到计算机里。计算机执行完卡片上的指令,然后把结果用打孔的方式,输出在另外几张卡片上。程序员则拿着这些计算机输出的卡片,回去分析解读。这个流程,通常被称为“批处理”。批处理是个非常费时费力的活,而且也给了计算机管理员太大的权力。黑客们痛恨权威的传统,恐怕很大一部分原因要归咎于当时的计算机管理员权力过大,他们有权决定哪个程序优先运行。 + +1962年,很多计算机科学家和黑客都参与了麻省理工学院的MAC计划(Project MAC)。这一计划是人工智能实验室的前身,它曾试图解决批处理带来的问题。MAC计划引入了“分时”(Time sharing)的概念。这个概念之前曾叫作“偷时”(Time stealing),它利用一个程序运行中间的空隙来执行另外一个程序,由此,多个程序可以有效地利用计算机。同时,电子打字机也被引入进计算机系统,作为人际交互的设备。从此,人们再也不用靠打孔来和计算机交互,人们可以利用打字机,把命令敲进去,然后等着计算机把结果一行一行打印到纸上。 + +20世纪60年代,交互界面的设计也有了长足进步。在1968年,一次讲座从此出名。讲座上,斯坦福研究中心的科学家,道格⋅英格巴特(Doug Engelbart)展示了第一款现代图形用户界面的原型。他们把计算机和电视机连起来,并且还加入了一个定点设备——英格巴特把这个定点设备昵称为“老鼠”,也就是今天的鼠标。这套系统的交互性比麻省理工学院的分时系统更好。他们把电视机当作一个高速打印机,用来显示各种输出。这套系统还允许用户使用鼠标来移动屏幕上的光标,并且实时地显示出光标的位置。用户可以使用鼠标把光标移动到屏幕上的任何字符上。 + +不过,这些发明要等二十年才能进入市场。到了20世纪70年代,显示器逐渐开始作为显示设备,取代了电子打字机。这一改变,使得计算机可以使用全屏幕来显示。这就不必像以前一样,每次只打印几行内容在纸上。 + +人工智能实验室的TECO程序,是早期的几个使用全屏幕显示的程序之一。TECO是“文本编辑及修正程序”(Text Editor and COrrector)的缩写。它的前身,诞生于PDP-6和电子打字机的年代,是黑客们把它一步一步升级至今。 + +比起以前的那些编辑器,TECO是一大进步,但仍旧存在不足。如果要创建并编辑某个文件,程序员必须要输入各种命令,才能完成不同的操作。这个过程非常抽象。今天的编辑器,每敲进一个字母,都会在屏幕上显示出来。而使用TECO来编辑文件,则需要输入一些命令,然后告诉它“命令结束”,然后才能把文件修改好。经过一段时间的练习,一名黑客可以使用一套漂亮的命令来完成很大的修改。不过,正如斯托曼所说,这种技能是需要“类似下盲棋一样的脑力消耗”。 + +为了辅助这种编辑流程,人工智能实验室的黑客们开发了一套系统,可以把屏幕分为两部分,分别显示正在编辑的文件内容和输入的命令。这个小改变的确有用,可是想要使用TECO依旧需要很多技巧,以及事先规划。 + +在当时,除了TECO,还有几个其他的全屏编辑器。1976年,斯托曼去了一趟斯坦福的人工智能实验室。在那里,他见到了一个叫作E的编辑器。这个程序有个功能,可以在根据用户的输入,实时更新显示器上的内容,让用户看到最新的修改结果。用20世纪70年代的话讲,E是早期的几个“所见即所得”的编辑器之一。所谓“所见即所得”,常常写作WYSIWYG,即What you see is what you get的缩写。它意味着用户可以直接在显示出来的文本上进行编辑,而不用再另外使用一个后台的编辑器程序。 + +斯托曼一下子对这技术感兴趣了,他决定回到麻省理工学院之后,把这个功能加到TECO上。他发现TECO上有个功能叫做“Control-R”。这个功能是卡尔·米克尔松(Carl Mikkelson)开发的。使用这个功能的快捷键和它的名字一样:Control-R。利用这个快捷键,用户可以让TECO实时地显示出编辑的内容。不过有个小瑕疵:用户只能使用五行来显示编辑的内容,这显然是不够的。斯托曼重新实现了这个功能,让程序可以使用整个屏幕来显示编辑内容。他还做了个不起眼,但影响深远的修改:他还允许用户把一连串TECO命令绑定在快捷键组合上。这一连串的命令称为“宏”。TECO的资深用户早就把各种常用的命令组合记下来了。斯托曼的这个改变让他们可以通过宏更快捷地使用这些组合。最后的结果,是一个允许用户自己扩展的“所见即所得”的编辑器。盖·斯蒂尔(Guy Steele)曾是当年人工智能实验室的一名黑客,他回忆起斯托曼的这个改动,说:“这在当时是个突破。” + +斯托曼回忆,加入“宏”之后,各种创造接踵而来。他说:“大家都开始把各种常用命令的组合写成宏,然后把各自的宏互相分享,大家一起不断改进,再分享。这样,这些宏越来越强大,并且涵盖了很多常用操作。这些宏俨然成为了一套单独的系统软件。” + +越来越多的人开始使用宏,并把各种宏加入到自己的TECO编辑器上。随着大家对宏的狂热,TECO作为编辑器的功能反而倒在其次了。斯托曼说:“我们开始意识到,TECO已经不仅仅是个编辑器,更是个编程语言。”用户不断改进自己的想法,不断交流分享,大家身在其中,自得其乐。 + +又过了两年,各种创新最后带来了一些麻烦。大家互相交流分享,使用的宏越来越多。每个人的手头都有自己的一套宏,由此就引来了各种兼容性问题。盖⋅斯蒂尔说:“我们遇到了沟通障碍。” + +“这种障碍阻碍了大家的交流。”盖⋅斯蒂尔说。黑客们当年设计了ITS系统,其中一个很重要的设计原则就是帮助程序员们分享知识,互相改进各自的工作。这就意味着,程序员可以坐到另外一个同事的电脑前,打开这个同事的程序代码,直接修改代码,或者加上几行注释。斯蒂尔解释说:“有些时候,要想教人怎么写程序,或者怎么调试某个程序,最好的办法就是坐在电脑前,实际演示给他们看。” + +引入宏之后的第二年,这种做法变得越来越难。黑客们开始在自己的TECO编辑器里加入各种宏,不断扩展TECO的功能。这就导致人们只要坐到一台电脑前,第一件事情就是需要了解每个宏都是做什么的。 + +一番受挫之后,盖⋅斯蒂尔决定着手解决这个问题。他收集到四套常用的宏,打算根据每套宏实现的功能,列出常用的功能,写成一份文档,并根据这四套宏,实现出一套符合这份文档的宏。在实现的过程中,盖⋅斯蒂尔的工作吸引了斯托曼的注意。 + +盖⋅斯蒂尔回忆说:“他站在我身后,看着我的屏幕,问我在做什么。” + +盖⋅斯蒂尔是个说话温和的黑客,并没怎么和斯托曼打过交道。回忆起当时的情景,他依旧记忆犹新。在当时的人工智能实验室里,站在别人身后看看别人的工作,是个非常平常的举动。理查德⋅斯托曼,在当年是TECO的维护者。看到盖⋅斯蒂尔的工作,他觉得非常有趣,于是决定帮助他完善这个工作。 + +说起这事,盖⋅斯蒂尔笑道:“我常跟人们这么说,我做了最初的百分之零点零零一的工作,斯托曼把剩下的都做了。” + +这个项目的名字被称为Emacs,是斯托曼建议的名字。Emacs是Editing macros的缩写,意思是“宏编辑器”。它标志着宏出现之后的又一个进步。它也参考了当年各种软件的名字,斯托曼注意到,在ITS系统上,还没有哪个软件名是以E开头的。把它叫作Emacs,用户就可以自己在设置中把它叫作E,一个字母就能运行这个程序。这又得归咎到黑客简约的风格上了。 + +为了可以开发一套标准的宏,斯托曼和斯蒂尔需要非常小心地处理一些政治上的问题。因为开发一个所谓的“标准”程序,明显是与黑客精神相违背的,黑客们所崇尚的应该是一种“去中心化”的设计理念。同时,TECO上现有的五花八门的创新设计也为这项工作增加了难度。 + +当然,一开始,并不是所有人都转头使用Emacs。用户依旧可以继续使用他们以前的TECO编辑器。不过大多数人都觉得转用Emacs更加方便。Emacs有着更强的扩展性,用户可以按照自己的需求,轻松地替换或者增加某些功能。 + +盖⋅斯蒂尔说:“一方面,我们试图创造一个统一的命令集;另一方面,我们还希望程序能有很强的扩展性,因为这一点至关重要。” + +为了解决这个问题,斯托曼、斯蒂尔、大卫⋅穆恩(David Moon)和丹⋅温里布(Dan Weinreib)决定把进行标准化的工作范围仅局限在控制在屏幕上显示文本的那些所见即所得相关的命令上。Emacs其余的部分仍然会保留像积木玩具那样的可扩展性。 + +这个时候,斯托曼又遇到了一个难题:如果用户做出了修改,但是并不把这些修改分享出去,沟通障碍早晚会再次出现。本着黑客的分享精神,斯托曼在源代码里写上了使用条款。用户可以自由地修改和分发这个软件的代码,但必须把所有的改动都发回来。斯托曼把这称作“加入Emacs公社”。当年的TECO最后变得不仅仅是个编辑器;如今,这个Emacs则变得不仅仅是个软件。对于斯托曼来说,这更是个社会契约。在早年1981年的一份备忘录上,斯托曼在Emacs这个项目下写道:“Emacs是以分享的形式发布的。对Emacs的各种修改,必须要发给我,以便加入到以后的版本中。” + +并不是所有的人都乐意接受这个契约。Emacs原本只能运行在PDP-10上。不过很快,其他平台上的用户也希望能运行Emacs编辑器。之后十年,各种创造依旧继续,带来了各种类似Emacs的编辑器,运行在不同平台上。Emacs公社的规矩则不适用于这些编辑器上,因为它们完全是另外一套代码。这些编辑器中,有些在名字上就提及了斯托曼的Emacs编辑器。比如:Sine,全称Sine is not Emacs;Eine,全称Eine is not Emacs;Zwei,全称Zwei was Eine initially。作为一个资深的黑客,斯托曼没有理由要去通过法律的手段来阻止这些创新。但是,总是会有一些不自觉的人,总想着从社区的宝库中偷出一些东西,起个新名字就开始在市场上抛头露面。真正的类Emacs软件必须要提供用户可编程的扩展。一些Emacs的克隆软件只是使用了Emacs的快捷键,并没有提供扩展机制,这些一般被成为“伪Emacs”。其中一个例子就是Mine,全称Mine is Not Complete Emacs,意为“Mine不是一个完成的Emacs”。 + +如此粗鲁的行为与黑客圈子中其他开发者的行为格格不入。斯托曼在人工智能实验室开发Emacs的时候,黑客圈子里还有很多其他的开发,也干得热火朝天。正如第1章提及的那样,1979年,布莱恩·瑞德(Brian Reid)决定在Scribe里放入“定时炸弹”,这样就可以让没有付费的用户无法使用这个软件,以此让Unilogic公司获利。布莱恩的这个决定在斯托曼看来不是个好兆头。布莱恩回忆起斯托曼对此的看法,说:“他觉得,这简直就是法西斯行为。”布莱恩之后创立了Usenet新闻组上的alt分支,可每次提起斯托曼的指责,他依旧愤愤不平:“他说所有的软件都得免费,他觉得所有软件的收费行为都是违背人性的。” + +虽然斯托曼无法阻止布莱恩给用户装上“定时炸弹”,可他还是有自己的一套法子,来遏制其他类似的行为。作为Emacs代码的主要维护者,斯托曼开始利用他的力量发起一轮政治影响。当时,为了去掉系统的登录密码,他正跟计算机系的机房管理员闹得不可开交。在冲突的关键时刻,他发起了一轮“软件抗议”:如果实验室的成员不反对系统登录密码,斯托曼就不给他们Emacs用。斯托曼的这种做法,只是做出一个姿态。因为如果哪个人想用Emacs,他们还是可以自己动手安装的。斯托曼是想借此传达一个信息:如果你在ITS系统上使用密码,那么将会被人嫌弃,受人指责。这次的抗议活动并没有进一步提升斯托曼在社区中的偏激形象。不过,它传达了一个明确的观点:社区的成员必须努力弘扬黑客的价值观。 + +在接受《黑客》一书的作者史蒂芬⋅李维采访时,斯托曼回忆说:“很多人觉得我绑架了实验室的各位成员,我在勒索大家。从某种意义上说,的确如此。因为我觉得那些管理员在用暴力威胁着每一个人,我只能以暴制暴。” + +渐渐地,Emacs成了黑客文化的宣传品。Emacs有着极强的扩展性。这种扩展性增进了用户之间的交流合作。不仅如此,Emacs甚至要求这样的合作。如果用户不把自己的修改贡献出来,就很可能用不到最新的版本,用不上最新的功能。而每次更新,各种新功能可是不少。1984年,斯托曼又重写了Emacs,命名为GNU Emacs。如今,GNU Emacs的用户遍布全球,大家已经把它扩展得异常强大。用户可以把它当作电子表格、计算器、数据库、网络浏览器等。以至于之后的Emacs开发者,都找不出什么词来概括Emacs的功能了。斯托曼说:“这就是我们想要传达的。Emacs里包含的东西既有用,又有趣。” + +和斯托曼同时代的人工智能实验室成员更是感谢斯托曼的贡献。哈尔⋅埃布尔森(Hal Abelson)曾是麻省理工学院的一名博士。20世纪70年代,他曾在萨斯曼教授手下做过研究。之后,帮助斯托曼成立自由软件基金会,并成为董事会成员。形容起Emacs,他说:“那绝对是个精品佳作!”他描述,Emacs既可以让程序员不断添加新功能,又不会影响整个系统。斯托曼的经验为未来大规模合作开发的软件工程铺平了道路。“它结构稳定,可以接受世界各地的人贡献代码。这种松散的大规模协作开发,恐怕要算前无古人了。” + +盖⋅斯蒂尔对此也表示了钦佩。如今,盖⋅斯蒂尔已经是Sun公司的一名科研人员。回忆起斯托曼,他脑海中浮现的是“一位才华横溢的程序员,他可以瞬间写出大量几乎没有Bug的代码。”尽管他和斯托曼性格不太合得来,可他们俩还是合作了一段时间。这段时间里,盖⋅斯蒂尔对斯托曼的那种暴风闪电般的编程风格印象深刻。他记得在20世纪70年代末,他俩曾一起为Emacs添加“重排版”的功能。所谓“重排版”,最初是斯蒂尔的点子。它可以让用户使用快捷键,来为Emacs中编辑的代码重新排版,使得代码更加易读。这个功能更增强了软件“所见即所得”的质量。这个功能一下子吸引了斯托曼的注意,接着斯蒂尔和斯托曼决定一起开发这个功能的改进版。 + +斯蒂尔回忆:“我们早晨开始坐到电脑前。我敲键盘,他就坐我身边,告诉我怎么写。” + +俩人就这样,持续开发了10个小时。斯蒂尔说,这10个小时,他们俩谁也没休息,甚至都没聊多余的话。到最后,他们把整个功能精简到一百多行代码。斯蒂尔回忆:“我当时手指就没离开键盘。我就觉得我俩的想法直接就流到了屏幕上。他告诉我写什么,我就按他说的写。” + +整整10个小时,光是这时间长度就足够显示出斯托曼的编程风格了。斯蒂尔离开实验室,走出技术广场545号大楼。外面已是夜幕降临,他虽然早就习惯了这种马拉松式的编程,但这次却别有一番滋味。跟斯托曼一起工作,他必须要集中精力、心无旁鹜。如今回忆起来,斯蒂尔说,斯托曼的这份才智和精力,既让人振奋,又令人生畏。“我回想起来,第一感觉是那是个很好的经历,流程紧凑、快速高效。再细想想,妈呀,我可不想再来一次。” + + + +第7章 道分左右,义无旁支 + +1983年9月27日,众多计算机用户像往常一样,登录Usenet的net.unix-wizards新闻组。一条不太寻常的消息映入眼帘。这条消息在当天凌晨过后发出来的,准确时间是零点三十分。消息来自署名rms@mit-oz的用户。标题甚是简单,却异常乍眼:《重写UNIX系统》(New UNIX implementation)。这个消息并非是介绍新的UNIX发行版,而是更像一篇邀人入伍的檄文,文章开头写道: + + “这个感恩节假期,我将开始写一个完全的UNIX兼容系统,叫作GNU,意为:GNU's Not Unix(GNU不是UNIX)。这个系统任何人都可以自由使用。你如果愿意贡献时间、金钱、程序或者设备,我随时欢迎。” + +对于UNIX的资深用户来说,这个消息显得太过理想主义,甚至有些自大傲慢。面对已经非常成熟的UNIX系统,这则消息不仅号称要从头克隆一套类似的操作系统,甚至还要在开发过程中改进现有UNIX的设计。这则消息的作者声称,新的GNU系统会提供各种常用软件,包括文本编辑器、用来执行各种命令和程序的Shell、编译器,以及“一些其他的东西”。除此以外,它还提供很多原本UNIX并不具备的功能,包括一套基于Lisp语言的图形用户界面;一个防崩溃的文件系统;以及一套基于麻省理工学院内部网络系统的网络协议栈。这些都非常吸引眼球。作者写道: + + “GNU可以运行现有的UNIX程序,但和现有的UNIX并不完全相同。我们会在开发过程中融合我们的经验和对其他操作系统的了解,不断改进现有的UNIX系统设计。” + +读者的各种质疑显然早在意料之中。整个消息最后,作者加入了一段《我是谁》的自我介绍: + + “我是理查德⋅斯托曼,EMACS编辑器的作者。如今,有很多人都在效仿这个编辑器。现在在麻省理工学院人工智能实验室,我的工作涉及编译器、编辑器、调试器、解释器,以及非兼容分时系统(ITS)以及Lisp机的操作系统。我创造了ITS上早期的独立于各终端硬件的显示技术。我还在Lisp机上实现了一个防崩溃的文件系统和两个窗口系统。” + +似乎是命中注定一般,斯托曼的GNU系统没能赶在感恩节假期结束前发布。不过,斯托曼依旧赶在1984年1月的时候做出了不小的成果,他自己也完全融入到了UNIX软件开发的世界之中。对于这位从ITS世界来的架构师来说,在UNIX中设计软件似乎更像是设计城郊购物中心,而非设计紫禁城皇宫。即便如此,设计成类UNIX系统依旧有它的优势。ITS的确强大,但仍有一处致命缺陷:麻省理工学院的黑客们创造的ITS系统,是专门针对当时强大的DEC PDP-10计算机设计。可到了20世纪80年代,人工智能实验室的管理员决定淘汰掉实验室的PDP-10计算机。当年辉煌一时的ITS系统也因此成了一座无人的“鬼城”。而UNIX的设计则与此不同。它的设计非常强调移植性,它并不依赖于某个特定的硬件环境。因此,面对硬件更替,UNIX毫无压力。UNIX最初是由当时AT&T贝尔实验室的几个年轻科学家创造的。之后,这套系统被大家纷纷传阅,不断改进。在资金并不富裕的学术界,UNIX系统甚是流行。和麻省理工学院的同僚们不同,UNIX的作者可用的硬件资源非常有限。他们必须把软件设计得可以在各种良莠不齐的硬件上运行无阻。最初是针对PDP-11系统设计,PDP-11是DEC推出的另一种16位计算机。在麻省理工人工智能实验室的黑客们看来,它顶多只能用来跑些小程序。之后,UNIX又陆续开始支持32位计算机,比如VAX11/780。到了1983年,一些公司开始推出更强大的一代被称作“工作站”的桌面计算机。其中,以Sun公司产品最为引人注目。这些运行着UNIX的计算机有着更小的体积,却和当年的PDP-10性能相当。 + +为了增强可移植能力,UNIX的开发者在软件和计算机之间,加入了一个抽象层。和人工智能实验室的ITS系统不同,UNIX并非使用特定于某个硬件平台的指令集开发。它的开发者们创造了一种被称为“C语言”的更抽象的编程语言,借此屏蔽了底层的硬件差异。开发者们于是可以放眼全局,集中设计各个组件之间的协调机制,设计组件的接口,而不必把精力分散到每个组件的开发和移植上。他们由此创造了一套系统,可以轻易地被移植到几乎各种计算机上。如果某个用户对哪个组件并不满意,他们可以按照定义好的接口,修改现有组件,甚至重新开发一个同样功能的组件,再把改进的组件放回原位,一切依旧会运行正常。简而言之,UNIX的设计具备极大的灵活性,这也促进了计算机这个市场的发展,更为UNIX带来了无限生机。 + +斯托曼之所以决定开发一套名为GNU的类UNIX系统,是因为人工智能实验室已经停止使用ITS了。而整个实验室的黑客文化,也伴随这ITS的消亡,渐渐分崩离析。这个改变对斯托曼来说,可谓打击重大。施乐公司打印机事件,让他意识到了专有软件的不义。而实验室的黑客社区几乎解散,则让斯托曼必须面对抉择:要么在专有软件面前投降,要么起身反抗它。 + +ITS的消亡过程历经了很长时间。1980年的时候,实验室里的大部分黑客都在开发Lisp机(Lisp Machine)和运行其上的操作系统。 + +Lisp是一种非常优雅的编程语言。它最初由人工智能领域的先驱,约翰·麦卡锡(John McCarthy)发明。二十世纪五十年代,他曾是麻省理工学院人工智能领域的科学家。他发明的Lisp语言,非常适合编写复杂程序,来处理不具备很好结构的数据。Lisp这个名字来自LISt Processing,即链表处理。之后,约翰·麦卡锡离开了麻省理工学院,去了斯坦福大学的人工智能实验室。麻省理工学院的黑客们则改进了Lisp语言,并创造了一个Lisp方言,名为MACLISP。其中的“MAC”,指的是“MAC项目”。MAC项目是一个由美国国防部高等研究计划局(DARPA)资助的项目。借助这个项目,诞生了如今的人工智能实验室。整个实验室由黑客理查德·格林布拉特(Richard Greenblatt)领导。在七十年代末期,他们设计出了专门用来高效地执行Lisp程序的计算机,命名为Lisp机。接着,开发了一整套基于Lisp的操作系统。 + +到了1980年,两组互相竞争的黑客各自成立了公司,分别制造和销售Lips机。理查德·格林布拉特成立了“Lisp机公司”(Lisp Machines Incorporated)。他试图避免引入外界的投资,创造一个真正的“黑客公司”。另外一大部分黑客们,则加入了名为Symbolics的传统创业公司。到了1982年,这些黑客则完全放下了在麻省理工学院的工作。 + +随着黑客们的离去,实验室的程序和机器要么没人修,要么也要等上好久才有人打理。理查德·斯托曼说,更糟糕的是,实验室正经历了前所未有的“人事变动”。以前,黑客们虽说人少,却是实验室中很重要的一伙人。如今,黑客几乎绝迹,而“不喜欢PDP-10的教授和学生则依旧那么多。” + +1982年,人工智能实验室接到通知,要求替换那台已经服役了12年的PDP-11计算机。PDP-11曾是迪吉多公司(Digital Equipment Corporation,简称DEC)出品的16位计算机。在1982年,迪吉多公司的主打产品是Decsystem 20。对于应用程序来说,Decsystem 20和PDP-11兼容。但是如果想要在上面运行ITS这样的操作系统,则需要投入大量劳力,把系统从PDP-11移植到Decsystem 20上。当下的人工智能实验室早已物是人非,实验室中的编程能手几乎都已走光。而实验室中的一些教授则大力鼓吹Twenex系统,它是一款由迪吉多开发的商业操作系统。由于黑客们在人数上处于劣势,只好将就着用Twenex系统。 + +图:PDP-10与KL-10。 +拍摄地点为斯坦福大学人工智能实验室,摄于1979年。 + +几年之后,斯托曼回忆起那时的情景: + + “那些教授们说,‘没有足够的黑客们来维护ITS系统,我们将会面临各种灾难。要避免这些发生,我们只能投靠商业软件。我们可以让商业公司来提供维护。’后来的事实证明,他们的这番论调大错特错。可当时他们的确这么做了。” + +一开始,黑客们觉得Twenex只不过又是一个专制的标志。和之前那些专制标志一样,只要把它推翻,就万事大吉了。这个系统从名字看,就像是对黑客们的挑衅:迪吉多公司对这个系统的官方名字是TOPS-20,意为“顶尖20”。它是TOPS-10的后继产品,而TOPS-10则是迪吉多当年给PDP-10配备的标准系统。不过,TOPS-20并非是在TOPS-10基础上做的开发。它的主要代码都继承自BBN公司(Bolt,Beranek and Newman)为PDP-10开发的Tenex系统。斯托曼则由此把TOPS-20称作Twenex,因为他实在不想用TOPS-20这个名字。他说:“这个系统根本算不上‘顶尖’,我说什么也不会这么夸它。所以我在Tenex里添了个字母w,把它叫作Twenex。” + +在黑客界,人们把跑着TOPS系统的Decsystem计算机戏称作Oz,意为“奥兹国”。奥兹国这名字源自《绿野仙踪》这部小说。因为在黑客界,人们都说这样一台计算机需要有个PDP-11作为终端机才能运行。于是,人们看到这台计算机连着PDP-11作为终端,就不禁想到了《绿野仙踪》中那位吹牛皮的奥兹国大法师。黑客们常戏谑道:“我是伟大全能的奥兹国大法师!我可没看到身后那台PDP-11。” + +黑客们当年第一次看到Decsystem的时候也许还会借机嘲笑两句,可是,很快他们就在Twenex面前笑不起来了。Twenex系统增进了系统的安全强度,而且Twenex上的软件也都考虑了各种安全措施。当年,黑客们试图避免设置任何密码和安全设施,那些行为就好像在和管理员玩猫捉老鼠的游戏。而如今,他们面对的,则是一场彻头彻尾的战斗了。系统管理员辩解说,如果没有这些安全设施,Oz系统就随时都会面临崩溃。而黑客们则辩解说,避免崩溃的最好办法,就是公开程序的源代码。遗憾的是,黑客人数上不占优势,而且大多数黑客也逐渐失去了当年的那份果断。最终,系统管理员还是胜利了。 + +一开始的政策是,任何一个人工智能实验室的成员,都拥有一个“特权车服务”(wheel privilege),可以用来绕过系统的安全限制。可是,任何有“特权车”的人,都有权吊销别人的“特权车”。这样一来,就促使一小撮黑客总是尝试吊销其他人的特权,借此掌控全局。 + +见得此状,斯托曼破解了密码,利用开机时的调试器,成功破坏了几个这样企图夺权的阴谋。在第二轮“政变”之后,斯托曼向全体人工智能实验室的人发出了警告信。信中写道:“还有另外一波强大的力量,企图剥夺我们的权利。不过现在,这些官僚们已经暂时被我们打败了。”这是封匿名信,信底的签名是“自由奥兹国电台”。 + +不过,所谓的匿名信并没把斯托曼挡在幕后。到了1982年,斯托曼关于密码和安全设施的抗议早就内外闻名。以至于有不少人工智能实验室以外的人,通过ARPAnet网络,使用斯托曼的登录账号,访问人工智能实验室的计算机。他们当初使用的ARPAnet,是如今互联网的雏形。它曾是一个研究项目,旨在构造一个大型计算机网络。这个网络之后不断发展,最终成了今天大家见到的互联网。唐⋅霍普金斯(Don Hopkins)在20世纪80年代是加利福尼亚州的一名程序员,他当年就曾利用斯托曼的账号访问人工智能实验室的计算机。他从黑客圈的小道消息里听说,想要使用麻省理工学院大名鼎鼎的ITS系统,只需要使用一个简单的用户名和密码登录就可以:用户名,RMS;密码,RMS。 + +霍普金斯说:“麻省理工学院让我和很多其他的人免费使用他们的计算机,这让我受益终生。这在当时,对大家来说可是份厚礼。” + +这种允许“游客”的政策,在ITS时代还能被麻省理工学院的管理人员容忍。可等到Oz成为实验室连接ARPAnet的主节点后,这行为就被逐渐禁止了。一开始,斯托曼依旧使用原来简单的用户名和密码,这样,外部人员还是可以访问实验室的计算机。但是,脆弱的Oz禁不起这么折腾,管理员很快就禁止了外部人员的访问。因为有些访客会有意无意地把整个系统搞垮。再后来,管理员们严重警告了斯托曼公开用户名和密码的行为。对此,斯托曼并没有放弃使用Oz系统,而是在回应中强调了自己的底线。 + +斯托曼之后说:“当年人工智能实验室第一次要求设置密码,我依旧坚持自己的原则——计算机上不该有密码。因此,我也坚决不会帮助他们维护一个充满安全设施的计算机系统。” + +20世纪80年代早期,斯托曼的这次抗议标志着黑客和系统管理员之间的矛盾进一步升级。不过随着时间的流逝,这种紧张关系反而被黑客圈子内部的矛盾逐渐取代。在KL-10来到实验室的时候,实验室的黑客圈子已经俨然分成了两派。一派主要围绕一家名为Symbolics的商业软件公司,另一派则围绕Symbolics的对手公司Lisp Machines Inc.(LMI)。这两家公司在Lisp机的市场竞争中不分上下,这种Lisp机是以Lisp编程语言为基础构建的。 八十年代早期,斯托曼的这次抗议,标志着黑客和系统管理员之间的矛盾进一步升级。不过随着时间的流逝,这种紧张关系反而被黑客圈子内部的矛盾逐渐取代。在Decsystem 20来到实验室的时候,实验室的黑客圈子已经俨然分成了两派:LMI派和Symbolics派。 + +Lisp是一种非常优雅的编程语言。它最初由人工智能领域的先驱,约翰⋅麦卡锡(John McCarthy)发明。20世纪50年代,他曾是麻省理工学院人工智能领域的科学家。他发明的Lisp语言,非常适合编写复杂程序,来处理不具备很好结构的数据。Lisp这个名字来自LISt Processing,即链表处理。之后,约翰⋅麦卡锡离开了麻省理工学院,去了斯坦福大学的人工智能实验室。麻省理工学院的黑客们则改进了Lisp语言,并创造了一个Lisp方言,名为MACLISP。其中的“MAC”,指的是“MAC项目”。MAC项目是一个由美国国防部高级研究计划局(DARPA)资助的项目。借助这个项目,诞生了如今的人工智能实验室。整个实验室由黑客理查德⋅格林布拉特领导。在70年代末期,他们设计出了专门用来高效地执行Lisp程序的计算机,命名为Lisp机。接着,开发了一整套基于Lisp的操作系统。到了1980年,由Lisp机项目产生了两家商业公司:由人工智能实验室的前主管,罗素⋅诺夫斯科(Russell Noftsker)创立的Symbolics公司;和理查德⋅格林布拉特创立的“Lisp机公司”(Lisp Machines Incorporated),即LMI。 + +Lisp机的软件系统本身是黑客创造的。它的版权归麻省理工学院所有。但是,按照黑客传统,任何人都可以获得源代码、复制或修改。然而,这种自由分享的方式却让商业公司很是烦恼:公司的产品无法在市场中显得独一无二,也就少了商机。为了获取优势、吸引用户,两家公司开始从人工智能实验室里挖走黑客。它们把黑客们安排在自己公司里,让他们的代码不再流入人工智能实验室。 + +在Symbolics和LMI两家公司里,Symbolics挖人的行为相比更加激进。20世纪80年代末期,这家公司已经吸纳了人工智能实验室的14位黑客作为兼职顾问,负责开发他们的Lisp机。剩下的黑客们,除了斯托曼以外,则都在LMI公司就职。 + +LMI和Symbolics分别是两家做Lisp机的计算机公司。Symbolics得到了一些外部的投资,它招募了很多人工智能实验室的黑客,把其中的一部分黑客安排去改进Symbolics的Lisp机的操作系统。八十年代末期,这家公司已经吸纳了人工智能实验室的14位黑客作为兼职顾问,负责开发他们的Lisp机。剩下的黑客们,除了斯托曼以外,则都在LMI公司就职。斯托曼则更享受人工智能实验室里没有压力的工作环境,更不想把自己划进哪个阵营。所以他哪个公司都没加入。 一开始,这些在公司干活的黑客们还会抽出些时间,在麻省理工学院继续做些工作,也会给麻省理工学院的Lisp机的操作系统贡献些代码。LMI和Symbolics的Lisp机操作系统都是从麻省理工学院的Lisp机操作系统上衍生而来。在使用许可证上,麻省理工学院要求两家公司必须允许麻省理工学院使用它们的操作系统。但是,这两家公司可以禁止麻省理工学院再发布他们的产品。不过,1981年间,两家公司之间倒是有个不成文的君子协议,他们都允许麻省理工学院使用并再发布两家公司的代码。这样,麻省理工学院的Lisp机操作系统就包含了来自外部公司的各种改进,而基于许可证,改进后的系统代码又可以继续流入各家公司。这相当于公司之间可以共享代码。如此,那些依旧在麻省理工学院工作的黑客们,就可以继续保持中立。 + +1982年3月16日,斯托曼清晰地记得这一天,那是他的生日。在这一天,Symbolics的主管们决定不再遵循当初那份君子协议。为了打击LMI,他们禁止麻省理工学院再发布包含Symbolics公司的代码。因为在LMI公司就职的黑客比较少,所以Symbolics的主管们觉得LMI从共享的代码中获益更多。通过切断代码流通的途径,Symbolics企图把LMI赶出市场。为了不让LMI获得自己的代码,他们决定执行许可证上的权利,仅仅允许麻省理工学院的学生运行他们的操作系统。借此,Symbolics可以间接地让学院中的用户为自己做测试。而任何用户提供的代码测试和改进都只能被Symbolics公司所用。 斯托曼在那时候负责维护实验室中的Lisp机,最开始的几个月还多亏了LMI公司的创始人,格林布拉特(Greenblatt)的指点帮助。当下,Symbolics的做法可是惹恼了斯托曼。那些在Symbolics公司工作的黑客们都曾给实验室的Lisp机系统贡献过代码,如今,还有很多错误和bug遗留在这些代码中,甚至有些特性还都是半成品。如今,Symbolics高层的做法无疑相当于下了“最后通牒”,令身在Symbolics的黑客们无法改进麻省理工学院的Lisp机系统。斯托曼也发起了反攻,他切断了连接实验室和Symbolics公司的微波通信信道,发誓再也不会在Symbolics生产的机器上工作。并且决心要继续完善麻省理工学院的Lisp机系统上,以此帮助LMI,打击Symbolics。斯托曼回忆说:“当初我觉得,人工智能实验室是个中立国,就好像二战时的比利时一样。如果德国入侵比利时,比利时就要对德宣战,就得和英法一个阵营。” + +这样,一场“Symbolics之战”就打响了。而关于此事的实际情况,怕是无从考证,只能凭借当事人回忆来重现历史。Symbolics公司的主管们逐渐意识到,自己公司的操作系统的最新特性,总会依旧出现在麻省理工学院的Lisp机系统上,甚至是竞争对手LMI的Lisp机系统中。于是,他们在斯托曼的计算机上安装了间谍程序。斯托曼说,他为实验室的系统添加的特性都是自己从头开始写的。虽然许可证上允许他阅读Symbolics系统的源代码,但出于版权法的考虑,他必须要想办法把代码写得和Symbolics公司的代码有所不同。而Symbolics公司的主管们则声称斯托曼抄袭了他们的代码,并把这件事情告到麻省理工学院的管理层。根据1994年出版的哈维⋅纽奎斯特(Harvey Newquist)所著的《大脑创作家》(The Brain Makers: Genius, Ego, and Greed, and the Quest for Machines That Think)一书中的描述,麻省理工学院曾警告过斯托曼,让他“远离Lisp机项目”。而斯托曼则说麻省理工学院一直是支持他的:“他们没给过我警告。不过这件事倒是确实提醒了我。为了以防万一,对于新的特性和重大改变,我不再参考Symbolics的代码,而只是参考他们提供的用户文档来做开发。” + +无论当初事实究竟是什么样,这事最终还是平息了。斯托曼不再读Symbolics的代码,他按照自己的想法去开发,也吸引了人工智能实验室的成员来为他报告Bug。同时,他也确保了LMI公司可以访问到他最新的代码。斯托曼说:“我当初就觉得,我要是这辈子只能再做一件事,那就是要惩罚Symbolics。” + +这话说得甚是坦白。显然,斯托曼不是个和平主义者。随着矛盾的升级,给双方带来的情感变化也逐渐加大。根据哈维⋅纽奎斯特的说辞,斯托曼当年甚至发了一封邮件,扬言要“浑身绑满炸弹冲进Symbolics的办公室”。斯托曼则否认发过这样的邮件,并且说这完全是“恶毒的谣言”。不过,他倒是承认有过这种极端想法:“我倒的确幻想过要自杀式袭击毁掉他们的办公楼。” + +Symbolics公司的主管们逐渐意识到,自己公司操作系统的最新特性,总会依旧出现在麻省理工学院的Lisp机系统上,甚至是LMI的Lisp机系统中。这让他们甚为不满。斯托曼知道版权法这么个东西,所以他为学院的系统添加的特性,都是自己从头开始写的。他身在人工智能实验室,可以读到Symbolics操作系统提供给实验室的源代码。他会先读读Symbolics的代码,理解要解决的问题和解决方案,最后再自己重新写一遍,确保和Symbolics的实现完全不同。可Symbolics公司的主管们却不管这个。他们在斯托曼使用的计算机终端上安装了间谍软件,企图抓住斯托曼剽窃的证据。到了1983年年初,他们把这件事情告到麻省理工学院的管理层。可依旧拿不出多少像样的证据,只有一些看似类似的代码片段。 + +人工智能实验室的主管找来斯托曼,给他看了Symbolics公司指责他的证据。斯托曼一一否认,他说这些相似的代码都是Symbolics诞生之前,在学院Lisp系统里就有的。之后,斯托曼话锋一转:他自己已经克隆了Symbolics公司的众多特性,在那几千行的代码中,如今Symbolics公司却只能提供这么点证据来证明斯托曼剽窃,这恰恰说明斯托曼的确没有抄袭Symbolics的代码。人工智能实验室最终承认了斯托曼并没有剽窃,他也就继续开发到1983年。 + +不过这件事倒是确实给斯托曼提了醒。“以防万一,对于新的特性和重大改变,我不再参考Symbolics的代码,而只是参考他们提供的用户文档来做开发。”对于一些重大的新特性,斯托曼则往往在文档发布之前就着手设计开发。等到Symbolics公司发布文档,他再对代码修改,以便兼容Symbolics的接口。之后,如果Symbolics提供了补丁,他再阅读补丁的代码,以便确认自己的实现中是否存在类似bug。如果存在,则尝试用不同的实现来解决。 + +整个过程也坚定了斯托曼的决心。斯托曼的开发,逐渐把人工智能实验室中的成员拉回到麻省理工学院的Lisp机系统上。这些用户也为斯托曼持续地提供错误报告。麻省理工学院继续允许LMI直接访问学院Lisp机系统的代码。斯托曼说:“我当初就觉得,我要是这辈子只能再做一件事,那就是要惩罚Symbolics。”这话说得甚是坦白。显然,斯托曼不是个和平主义者。随着矛盾的升级,给双方带来的情感变化也逐渐加大。 + +这样的绝望感,让斯托曼又有了家园被毁的感受。人心散了,人工智能实验室的黑客文化也逐渐褪去。之后在与史蒂芬⋅李维的采访邮件中,斯托曼把自己形容为Ishi——加利福尼亚州最后一位Yahi族印第安人。这样的说法倒是为斯托曼的经历平添了几分史诗色彩。现实中,斯托曼与实验室中的其他黑客的关系则越来越紧张。很多斯托曼当年的同事并非觉得Symbolics好像要上灭下绝。他们反倒认为Symbolics的行为是迟到的正义。在把Lisp机商业化的过程中,Symbolics把黑客文化中的“工程师做主”的原则从象牙塔中带入了商业公司里,让公司里不再有“外行领导内行”的现象。其他黑客们也没觉得斯托曼是在捍卫什么,而是觉得他只是代表着一种无政府主义的想法而已。 由此带来的绝望感,让斯托曼又有了家园被毁的感受。人心散了,人工智能实验室的黑客文化也逐渐褪去。之后在与史蒂芬·李维的采访邮件中,斯托曼把自己形容为Ishi——加利福尼亚州最后一位Yahi族印第安人。这样的说法倒是为斯托曼的经历平添了几分史诗色彩。不过在Symbolics工作的各位黑客们则另有看法。他们并非觉得Symbolics好像要上灭下绝。很多斯托曼当年的同事,都觉得Symbolics倒是迟到的正义。在把Lisp机商业化的过程中,Symbolics把黑客文化中的“工程师做主”的原则从象牙塔中带入了商业公司里,让公司里不再有“外行领导内行“的现象。其他黑客们也没觉得斯托曼是在捍卫什么,而是觉得他只是代表着一种过时的想法而已。 + +斯托曼倒也没有否认当年同事们的这种观点。这种私下的过结也促成了Symbolics下达“最后通牒”的决定。斯托曼说,Symbolics公司雇走大量黑客之前,斯托曼就觉得很多黑客都在有意躲避自己。这些黑客之后大部分都加入了Symbolics公司。斯托曼回忆:“他们很少问我去不去唐人街吃饭了。当年从格林布拉特开始,实验室就有个传统——谁要是去吃饭,谁就发个消息或者亲自走一圈,问问实验室里还有谁想一起去。可大概在1980年到1981年间,逐渐就没什么人问我了。他们不邀请我倒也罢了。之后,他们之中有人才告诉我,当年他被人告知,不许他跟我说大家一起出去吃饭故意不带我这个事。” + +虽然斯托曼对这种排斥行为非常反感,但并没对此有什么行动。可Symbolics的最后通牒则改变了一切,这事从此也不再是私人恩怨了。当Symbolics公司不再给用户提供源代码的时候,斯托曼决心要对此进行反击。他日夜坐在他的办公室里,在麻省理工学院的Lisp机系统上,实现了Symbolics提供的各种新功能和Bug修正。他把修改后的版本代码分发给各个用户,包括LMI公司的客户。这样,LMI公司的客户也可以拥有Symbolics系统类似的功能。 + +这也为斯托曼在黑客圈子里平添了几分名气。斯托曼早就因为Emacs而名声大噪。如今,他一个人单枪匹马,对抗整个Symbolics公司的开发团队,而且这团队之中还尽是各色传奇黑客。斯托曼的这一行为本身,就足以成为信息时代的一段传奇。史蒂芬⋅李维在《黑客》一书中称这一行为是“黑客杰作”;并把斯托曼比作现代的约翰⋅亨利(John Henry)。史蒂芬⋅李维在书中说,很多Symbolics公司工作的黑客们都钦佩斯托曼的能力。他引述了曾在Symbolics的帕罗奥多分部工作的比尔⋅高斯伯的一席话,对于斯托曼那段时期的产出,比尔⋅高斯伯甚是惊奇: + + “我读过斯托曼那段时期的一些代码,有些代码写的并不怎么出色(至少在我看来),但我还是要说,且慢,他就只有一个人,他没法和别人整晚探讨,他是单枪匹马啊!一个人能完成如此大量的工作,简直是逆天了!” + +对于斯托曼来说,这段时期和Symbolics的竞争,既让他感到骄傲,又让他感到了深深的难过。斯托曼是个彻头彻尾的自由主义者,自己的父亲也曾在第二次世界大战期间为自由而战。他不会期盼勉强得来的和平。在加入人工智能实验室之前,他本就心向自由。如今与Symbolics之间燃起的硝烟,则又把他推向了一个极端。无巧不成书,这次的矛盾,恰恰发生在人工智能实验室黑客文化消退的时候。斯托曼曾被这文化滋润,如今眼见它消失殆尽,其中心酸,难以言表。曾有一日,在他编程的间歇,偶尔路过实验室的设备间。眼见那台曾在实验室服役的PDP-10摆放在房间之中,无人问津。当年那几个忙碌闪烁的状态灯,如今也黯淡无光。往事片段,涌上心头。眼看着这台几十年前的计算机,仿佛看着家中亲人,静静地躺放在那里,魂归西天。 + +“我当时泪如泉涌,”斯托曼说,“它就在那儿,可却没人关心,无人维护。眼前的一切在告诉我,我们当年的那个黑客大家庭,早就不复存在了。” + +然而,留给斯托曼感伤怀古的时间却并不多了。无论曾投入过多少人力物力,整个Lisp机产业却仅仅是昙花一现。计算机小型化的脚步一步不停。带来了更新、更强大的微处理器。这一波趋势,如同风卷残云般,将其他竞争者一举赶出主流市场。 + +伴随这波风潮而来的,是成千上万的专有软件。每个专有软件都带着自己的使用许可证和保密协议扑向用户。令其他黑客无法触碰其中的代码。很多软件使用许可证对用户粗暴无礼。但是在1983年,这些专有软件依旧成了主流,填补了市场。也让潜在的竞争对手望而却步。软件曾经只是各个硬件厂商的随机赠品,如今却成了业界新宠。当下,用户们开始极度索要新软件、新功能,至于是否可以知道软件内部究竟做了什么,则甚少提及。 + +个人计算机的到来把这股潮流推向了巅峰。苹果、Commodore等公司跨入了富翁的行列。它们出售个人计算机,并在上面安装了自己公司的操作系统。这些计算机的用户们可不再像当年的黑客,他们并不关心软件的源代码,要是买来的软件不附带源代码,他们也不会大呼小叫。一些还恪守当年黑客信条的人,曾试图把黑客的这种传统带入个人计算机这个新兴市场。但无论如何,这个唯利是图的新兴市场推动着程序员写出更多的软件,也同时带来了更多的使用许可证。 + +这其中,最为著名的程序员恐怕要算比尔⋅盖茨了。这位哈佛的辍学生比斯托曼晚两年入学哈佛,算是斯托曼的学弟。不过,斯托曼当年并不认识他。1983年9月27日,斯托曼在net.unix-wizards新闻组上发布了GNU工程计划。而七年之前,比尔⋅盖茨在软件开发者的社区中发表了那封著名的公开信。当年,微软还是坐落在新墨西哥州阿尔伯克基市的一家小公司。那时,曾有很多个人计算机用户私下复制微软的软件。由此,才让比尔⋅盖茨发表了那封《致爱好者的公开信》。比尔⋅盖茨在信中发问: + + “有谁会在没有任何报酬的情况下来做这些专业工作?什么样的爱好者可以为他的产品投入三人年的精力?开发完软件还得去发现错误,编写文档,最后还要免费发布他的产品。” + +比尔⋅盖茨1976年2月发表了这封公开信,那时还没有几个人工智能实验室的黑客读过这信。可显然,这封信代表了商业软件公司和软件开发者对于软件态度的转变。既然市场都这么说了,那还为什么把软件当作免费赠品呢?从20世纪70年代走到20世纪80年代,出售软件已经不再仅仅为了弥补开发的成本,它变成了一种政治宣言。当年,里根政府正在极力清除大萧条时期政府制定的各种避免竞争的限制,越来越多的程序员也把黑客文化视为一种反对竞争,乃至违背美国精神的东西。最起码,他们觉得所谓黑客精神,最多是股复古风,不过是20世纪60~70年代反对大型企业态度的延续,一种企盼回到理想年代的情结。 + +斯托曼十几岁的时候,人们就觉得他少年老成。所以,所谓的复古、不赶潮流对他来说倒也没什么。可作为一个一度使用顶级计算机、顶级软件的程序员,面临着那些带有各种使用许可证,禁止用户随意复制或修改的专有软件,斯托曼却面临了一场艰难的道义选择:摆在眼前的有两条道,要么默许专有软件,然后忘掉自己当初对它的各种反对;要么倾其一生,创造一套独立于各种专有软件的系统。在和Symbolics公司对抗了两年之后,斯托曼自信有能力去走第二条路。他说:“我倒是可以从此不再使用计算机。可这是我看家本事了,别的工作怕也做不来。没准可以做个餐厅服务员,不过也去不了什么大餐馆。” + +要让斯托曼放弃他所热爱的计算机和编程,放弃从搬到剑桥市以来这个最大的乐趣来源,转头去做个餐厅服务员或是别的工作,斯托曼可绝对不能答应。他没有退却,决定主动出击。 + +作为一个无神论者,斯托曼不愿把这一系列事件归咎于命运、因果或是缘分。他决定避免使用专有软件,并且创造完全自由的一套操作系统及其外围软件,来帮助其他用户获得自由。做出这个选择,对于他来说是再自然不过了。毕竟,凭借斯托曼内心的那份反抗精神和他的智慧能力,他选择了一条少有人走的路。这条路,甚至还没被很多人发现。在他的一篇名为《GNU工程》的文章中,斯托曼曾引用了犹太先贤希肋耳(Hillel)的话来表明他的决心: 作为一个无神论者,斯托曼不愿把这一系列事件归咎于命运,因果或是缘分。他决定避免使用专有软件,并且创造完全自由的一套操作系统及其外围软件,来帮助其他用户获得自由。做出这个选择,对于他来说是再自然不过了。毕竟,凭借斯托曼内心的那份反抗精神,和他的智慧能力,他选择了一条少有人走的路。这条路,甚至还没被很多人发现。在他的一篇名为《GNU工程》的文章中,斯托曼曾引用了犹太先贤希肋耳(Hillel)的话来表明他的决心: + + “我不为我,谁人为我? + 我只为我,我为何物? + 此时不为,更待何时?” + +在外演讲时,斯托曼会避免借用任何宗教语言,而采用一些世俗的说法来描述。他说: + + “我问自己,我作为一个操作系统开发者,究竟可以做些什么来改变现状?这个问题稍加思考,很快就可以看出来,解决这个问题需要的恰恰是一个操作系统开发者。” + +斯托曼说,一旦想通了这点,其他的就“顺理成章了”。在1983年,麻省理工学院从Symbolics采购了他们公司的第二代的Lisp机。在这批Lisp机上,根本无法运行麻省理工学院自己的Lisp机操作系统。旧机器被这些新采购的机器替代,几乎没有什么人再使用麻省理工学院的Lisp机系统,也就没人来报告bug。斯托曼也就无法继续开发学院的Lisp机系统。他必须停下这个工作,不过这也恰恰是他想要做的。因为麻省理工学院的Lisp机系统并不是斯托曼心目中的自由软件:用户虽然可以获得系统的源代码,但是却不允许用户独立发行它。另一方面,麻省理工学院的系统也依旧继续开发着:LMI没有被Symbolics打倒,他们依旧在开发自己的软件。 + +斯托曼可不希望花费自己的一生,来惩罚那些摧毁黑客社区的人。他要自己创建一个新的社区。他决定远离那些与他理想背道而驰的软件。他打算要投入自己的全部精力,开发出心中理想的软件,帮助自己和他人远离那些不讲道义的程序。他发誓要创造一个自由的操作系统,“或者为此而奋斗致死”。为此,他在1984年1月辞去了麻省理工学院的工作,专职去开发GNU系统。 + +辞去工作可以让他在法律上与麻省理工学院断绝联系。不过,依然有很多人工智能实验室的朋友支持斯托曼的工作,让他得以继续使用实验室的设备。之后,甚至给他准备了一个独立的办公室。凭借斯托曼的能力,他在开发GNU系统之余,还兼职一些咨询师的职位,借此收入来支持GNU系统的继续开发。在从麻省理工学院辞职的过程中,他拒绝了任何机构拥有GNU系统。这位曾经一度畏惧社交活动的人,如今则把这种心理发挥到极致,让自己的社交障碍变成了一堵防火墙,隔离了各种可能的法律纠纷。 + +在项目开发的最初几个月,斯托曼甚至也把自己隔离在UNIX社区之外。尽管他在net.unix-wizards新闻组发布的消息获得了很多同道的支持,但在最初阶段,只有很少人加入了这个工程。 + + “当年一个UNIX用户组的一位领导李奇⋅莫林(Rich Morin)说:“整个社区(对于斯托曼的项目)的反响比较一致。大家都会说:‘嗯,不错,好啊。是个挺棒的想法。期待你的代码,希望能看到它成功。’” + +可说到底,这可确实是个超级大的工程。凭着黑客做事风格,斯托曼决定尽量采用已有的自由软件。于是他开始调研已有的自由或免费的程序,试着修改它们并把它们纳入GNU工程之中。第一个相中的,是一款名为VUCK的编译器。它可以把C语言编写的程序转换成可执行的机器码。VUCK是荷兰人开发的,荷兰语中,是“自由大学编译器”(Free University Compiler Kit)的缩写。带着几分期待,斯托曼联系VUCK的作者,询问它们这个软件是不是自由的。作者告诉斯托曼,所谓“自由大学”,指的是阿姆斯特丹自由大学(Vrije Universiteit in Amsterdam)。虽然大学的名字里有“自由”二字,但并不意味着软件也是自由的。这番回复令斯托曼非常沮丧。 + +斯托曼回忆,他的回复带着几分嘲讽。他说:“这所大学是自由的,可编译器不是。”VUCK的作者非但没能给斯托曼提供什么帮助,反而建议斯托曼放弃开发GNU工程,并希望他转而为VUCK开发些插件,没准可以提高VUCK的销量,而且答应会按利润给斯托曼分成。斯托曼说:“由此,我决定为GNU工程开发的第一个软件,将是一个多语言、跨平台的编译器。” + +放弃了VUCK,斯托曼转向另一款名为Pastel的Pascal编译器。它由劳伦斯⋅利弗莫尔国家实验室(Lawrence Livermore National Lab)开发。Pastel的作者告诉斯托曼,这个编译器可以被自由传播和修改。遗憾的是,这款编译器占用内存太多,以至于在很多平台上无法运行。它会对整个文件做语法分析,然后把所有的状态都存入内存,等到编译结束,才释放所占用的空间。在当年,这种做法只能在大型机上行得通。而运行UNIX的机器,普遍没有那么大的内存。哪怕是运行32位UNIX系统的机器,也很少能提供如此大的内存给一个程序。一开始,斯托曼还取得了一些小进展。他给这个编译器做了一个C语言的前端,然后跑在内存较大些的Vax机器上。可是,当他把这个编译器移植到68010上的时候,编译器则总是崩溃。仔细查清原因,斯托曼发现是内存太小造成的。于是,他决定只能从头开发一个编译器。最终,他实现了这个编译器,并把它命名为GNU C编译器,缩写GCC。不过,在1984年,大家也还不知道这个编译器后续开发将会如何。于是,斯托曼一方面慢慢等着编译器相关的计划逐渐成型;另一方面着手开发GNU的其他组件。 + +在1984年9月,斯托曼开始开发GNU版本的Emacs编辑器。这个编辑器试图克隆并改进他主导了十几年的Emacs项目。在当年,UNIX社区里有两大流行的编辑器:一款是Sun公司的创始人比尔⋅乔伊(Bill Joy)开发的vi编辑器;另一款是贝尔实验室的科学家,UNIX创始人肯⋅汤普森(Ken Thompson)开发的ed编辑器。这两款编辑器都很不错,也很流行。但是它们都没有提供类似Emacs的扩展功能。为UNIX系统提供一个Emacs编辑器,斯托曼可以更好地展示他的才能,也能让更多Emacs用户参与进来。 + +如今回忆起来,斯托曼说,他决定为UNIX开发Emacs,并没从什么战略角度考虑。“我就是想在GNU系统里用Emacs。而且由我来开发它再合适不过了。” + +有一次,他找到了一些现成代码,希望能借此节省些时间。在开发UNIX版的Emacs的过程中,斯托曼很快找到了卡耐基·梅隆大学毕业的一位博士生詹姆斯·高斯林(James Gosling)。他用C语言开发了一款名为Gosling Emacs的编辑器,简称Gosmacs。它克隆了部分Emacs的功能,内建了一个简单的Lisp语言解释器,实现了简单的Lisp语法,并把这种Lisp方言成为Mocklisp。尽管高斯林已经把Gosmacs卖给了一家名为UniPress的私人软件公司,但是高斯林在读博士期间,还曾通过邮件,授权给了一位参与过Gosmacs早期开发的人,让这位开发者可以独立发布Gosmacs。本着互助的精神,这位开发者将代码给了斯托曼,并担保可以自由使用。 + +一开始,斯托曼以为他只要修改一些用户命令,就可以实现当年PDP-10上的Emacs的功能。然而,他发现Gosmacs使用的Mocklisp解释器实在太山寨,很难称得上是个真正的Lisp解释器。于是斯托曼不得不先去实现一个真正的Lisp系统。斯托曼要大刀阔斧地修改Gosmacs的代码了。他要让这个编辑器用上Lisp的灵活又强大的数据结构。1985年中期,GNU Emacs正式在因特网上发布。发布的代码中,只有很少的几个文件里,还保留着Gosmacs原来的代码。 + +接下来,UniPress得到了斯托曼利用Gosmacs开发GNU Emacs的消息。他们拒绝承认高斯林曾把发行权授予了别人。斯托曼找不到当初的通信邮件,来证明自己的清白。于是,他把剩下的那些从Gosmacs拿来的代码清理干净,解决了这场纠纷。 + +不过,这次的纠纷又让斯托曼对专有软件有了更多的思考。在1986年,斯托曼在瑞典皇家技术研究所的演讲中曾引用了这次与UniPress的纠纷,并把它作为典型案例,来说明专有软件的危害。斯托曼曾说: + + “有时候,我真觉得我这辈子应该找来一大堆专有软件,给它们一个个破解刻成光盘,然后拿到街角去免费赠送给路人。没准那样倒是可以更快地给用户带来些自由。要比自己亲自操刀写软件方便得多。不过要是那样,可能很多人都不敢要我送出的光盘。” + +抛开各种压力不说,抛弃高斯林写的代码倒未必是件坏事。长远来看,对于斯托曼和整个自由软件运动,这个做法不失为明智之举。它让斯托曼必须去直面Emacs社区里的各种弱点。让他重新思考这种非正式的信任关系带来的额外麻烦。它也催促着斯托曼更加明确自由软件运动的政治目标。在1985年,斯托曼照常又发布了新一版的Emacs。同时,他也发布了《GNU宣言》。这个宣言是他1983年9月那篇文章的扩展。在宣言中,斯托曼用了很长的一节引述了各种在商业或学术领域里为专有软件辩护的观点。其中一个经典观点就是:“难道程序员们的这些创造就不值得什么物质奖励吗?” + +斯托曼对此的回应是:“如果要让大家对什么行为做物质上的奖励,那么这个行为必须是对社会有一定贡献的。创造本身的确是一种有益于社会的活动。但前提是这个社会可以自由地使用那些创造出来的东西。程序员创造了某些有用的软件,如果这值得奖励,那么按照这个逻辑,要是他们借着作者的身份限制软件的使用,那他们就得接受惩罚了。” + +随着GNU Emacs的发布,GNU工程也慢慢地积累起了给大家读的代码。而GNU工程也逐渐要面对越来越多的琐事。越来越多的UNIX开发人员开始使用GNU的软件,各种捐款、礼品,以及索取磁带的请求也接踵而至。为了解决这些非技术类问题,斯托曼拉来了一些挚友,组建了自由软件基金会(Free Software Foundation,FSF)。这是一个非营利组织,旨在促进GNU工程完成目标。理查德⋅斯托曼担任主席,斯托曼的很多朋友和黑客同道都成为了董事会成员。自由软件基金会为GNU提供了一个对外的窗口。 + +罗伯特⋅查瑟尔(Robert Chassell)当年曾是LMI公司的一名程序员,之后成为了自由软件基金会的五个注册董事会成员之一。他曾在自由软件基金会担任会计。这个职务一开始并不起眼,后来却越来越重要了。查瑟尔回忆: + + “我们在1985年那会儿,花费和收入大概在两万三千美元这个级别。理查德有一间自己的办公室,我们还租了点地方。我把所有东西,尤其是很多磁带放在我桌子底下。后来,LMI借给我们一点地方,我们才把磁带和类似的东西放在了那里。” + +除了提供一个门面以外,自由软件基金会还吸引了很多抱有类似理想的程序员。UNIX市场融入了越来越多的竞争者,斯托曼的GNU工程也逐渐占有了一席之地。UNIX厂商们为了能栓住用户,它们开始拒绝为用户提供UNIX的源代码。不过这个行为最终倒让GNU获得了更多的用户。UNIX界的人士曾一度把斯托曼视为不切实际的疯子。如今则有不少人把他看作软件界的预言家。因为有越来越多的人,遇到了斯托曼描述的那些专有软件的问题。查瑟尔曾描述过这种感觉: + + “很多人一直对此没有意识。等到事情真的发生在自己身上,才有所察觉。他们花了几年的时间,去开发和完善一个软件,可到头来却被别人占为己有,不许他们再碰。等这种事情发生几次,你就会对自己说,‘等会,这真的不对头。’” + +查瑟尔加入自由软件基金会的一个重要原因,源自曾经的一次个人经历。在加入LMI之前,查瑟尔曾为Cadmus公司写了一本UNIX的入门书。Cadmus是美国剑桥市的一家软件公司,之后关门倒闭了。而查瑟尔写的这本书,也随之灰飞烟灭。查瑟尔曾几次试图买回这本书的版权,都无果而终。查瑟尔说: + + “我知道,那本书如今就在某个书架上,别人用不了,读不上也没法复印。从此,它就与世长辞,不见天日。容我自夸一下,它真的是本不错的入门书。要是能再给我三四个月的时间,可没准可以把它改成一本很好的GNU/Linux的入门书。整个经历,只能留在我的记忆中,别的都没了。” + +眼睁睁地看着自己的作品就此消失,曾经的雇主破产关门,查瑟尔说,他好像感受到了当年斯托曼心中的那份怒火: + + “对我来说,有件事情越来越清楚:你要想过个像样的日子,你就不想有一丝遗憾。有深入了解的自由,有修改的自由,无论这是什么,这想法本身确实改变了这个世界。他让人觉得,在自己短短的生命之中,所做之事是值得付出的。因为它还没被谁夺走,也许还没被人弃置遗忘。至少,你还和它有所联系。不会让你觉得自己丢失了一段美妙的人生。” + + + +第8章 圣IGNUcius + +茂宜高性能计算中心(Maui High Performance Computing Center)坐落在夏威夷群岛中的茂宜岛上。这是一座单层建筑,建在满是红色火山灰的山岗上,俯瞰茂宜岛的商业中心纪平镇。这个计算中心身在夏威夷,坐拥迷人的山景海风,更有身价千万的房产。这地方好像和高新技术沾不上一点边。它跟麻省理工学院技术广场的见楞见角、死气沉沉的气氛完全不同。哪怕跟阿尔贡国家实验室,洛斯阿拉莫斯或者新墨西哥的那些实验室比,茂宜高性能计算中心依旧显得特别。总会难免让人觉得,茂宜计算中心的科学家们每天可能并不怎么关心自己的研究课题,没准他们天天都会把时间花在晒太阳、吹海风上。 + +不过,这个第一感觉可不怎么准确。确实,茂宜计算中心的研究人员的确占尽了地利,也自然会借此休养。不过,他们对待工作还是非常认真的。Top500.org是一个记录全世界超级计算机排名的网站。根据这个网站的资料,茂宜高性能计算中心的IBM SP Power3超级计算机可以每秒完成八千三百七十亿次浮点运算,世界排名前25。这台超级计算机归夏威夷大学和美国空军共同拥有和维护。它主要负责完成军队补给调度计算和高温物理研究。 + +简而言之,茂宜计算中心是个非常独特的地方。这地方既有学术研究的文化氛围,又融入了夏威夷上那份慵懒宜人的情调。二者一阴一阳,相得益彰。2000年,他们在自己的官方网站放上了这样一条标语:在天堂之上计算。 + +这样一个地方,一般你是见不到理查德⋅斯托曼身影的。他这次来到这里,站在一位员工办公室的窗口,盯着外面如画的风景,口中却蹦出了一句简单的批评:“阳光太强。”自然,他从计算机界的圣地麻省理工学院来到这里,是有话要讲的。哪怕再强的阳光,暴晒着这位黑客的苍白的皮肤,他也在所不辞。 + +我赶到现场的时候,会议室里早已人满为患,大家都在等待着斯托曼的演讲。听众中,男女比例倒是比纽约那次的演讲平衡些,不过也没平衡到哪儿去:大约85%是男性,15%的女性。有一半的听众,都身穿土黄色的裤子,配上印着商标的高尔夫衬衫。另外一半,则显得更加融入了当地的风俗。身穿宽大的大花T恤,皮肤则已被晒成了褐色。这打扮在夏威夷可是正常装束。唯一能显示他们技术本色的东西,也就只剩下了些小玩意儿了:诺基亚手机,掌上电脑,还有索尼VAIO笔记本。 + +斯托曼身穿纯蓝色T恤,棕色涤纶休闲裤,白色袜子。不用说,这身行头在当下确实太显眼了。房间中淡淡的花香,倒是让人没太注意斯托曼缺少阳光滋润的皮肤。不过,他的一头长发和络腮胡须却依旧能引人注目。外人一看,就知道他不是本地人。他就差在脑门上贴个标签,写着:美国本土人士。 + +演讲开始前,斯托曼自己在会议室前面闲逛。旁边几个人鼓捣着录像录音器材。这些人都身穿“茂宜FreeBSD用户组”(Maui FreeBSD User Group,MFUG)的T恤。所谓FreeBSD,是一款从伯克利软件发行版的UNIX系统分支而来的操作系统。而伯克利版UNIX则是20世纪70年代由加州大学伯克利分校开发的一个UNIX分支。说起来,FreeBSD倒还是GNU/Linux的一个竞争对手。在黑客的世界里,斯托曼的演讲总会被记录拍摄下来,留作档案。作为当地的著名自由软件组织,茂宜FreeBSD用户组可不能让同行失望。他们也要录音和录像,让远在德国汉堡、印度孟买、俄罗斯新西伯利亚等世界各地的黑客们都能听到RMS的箴言。 + +斯托曼的这些演讲记录,就像感恩而死乐队(Grateful Dead)的现场演出一样,都是被追捧者现场录下、私下传递的。把斯托曼和感恩而死乐队做类比,可是有说头的。每当斯托曼描述自由软件的商业盈利模式的时候,他都会提起感恩而死乐队。这个乐队当年允许粉丝们在现场录音和录像,这就令它不仅是一个简单的摇滚乐队。它俨然成了感恩而死音乐部落的中心。逐渐地,这个部落越来越大,令感恩而死乐队拒绝了各种唱片公司的合约,完全靠巡回演出,就可以撑起整个乐队的开支。在1994年,这支乐队的最后一次演出仅门票收入就高达五千两百万美元。 + +当然,还没有哪个软件公司的成就可以媲美感恩而死乐队。不过,自由软件社区的这个部落越来越大,20世纪在90年代后期,大家也逐渐开始认为分享发布软件的源代码没准是个好事。各大公司纷纷出马,企图建立起各自的忠实粉丝群。这其中就包括IBM、Sun、惠普等。它们也许并没有打心眼里接受自由软件的看法,但他们的行为却是在响应斯托曼的号召。ZDNet的软件专栏作家埃文⋅列伊博维奇(Evan Leibovitch)把GPL(GNU通用公共许可证,斯托曼创立的一种自由软件许可证,用于规定软件作者授予软件用户的各种权利)描述为信息时代的大宪章。他认为,人们对于GNU的拥护持续高涨,并非单纯地跟风。他曾写道:“这个趋势让用户可以重新掌控自己的命运。就好像当年《大宪章》给了英国人民权利。GPL让消费者作为计算机软件用户有了自己的权利和自由。” + +自由软件社区的这种部落文化也解释了为什么今天这四十来位古怪的程序员们,可以暂时不管各自的工作,也不去上网冲浪,而宁愿能挤在这个会议室里听斯托曼的讲座。 + +和那次在纽约的讲座不一样,这次没有人为他做开场白,斯托曼自己也没做自我介绍。FreeBSD用户组的人把设备一架好,斯托曼就自己踏上前来,开始演讲,声音一下盖过了台下的私语。斯托曼开门见山指出: + + “一个社会该给软件的使用设立何种规则?每当想到这个问题,大多数人总是站在软件公司的立场思考,他们的想法往往像是在自我圆场。他们想:我们如何设立规则,才能让大家多给我们钱呢?我很幸运,在20世纪70年代曾加入了一个大家庭,在那里大家都会互相分享软件。正因为如此,我总会从另外一个角度去思考这个问题:我们应该如何设立规则,才能帮助我们构建一个更好的社会,一个可以让每个人都受益的社会?也正因为如此,我得到了完全不一样的答案。” + +斯托曼又一次提起了施乐打印机事件,形式和以前很像,同样是讲到最后,手指指向听众,口中说着:“也许就会背叛你!”之后,他又花了一两分钟,来解释GNU/Linux的名字问题: + + “有些人会和我说,‘你为什么要花这么多精力去在乎人们叫它什么?为什么非要在乎这种名利上的事?如今任务已经做完了,你何必非要在乎人们有没有注意到GNU呢?’这个……如果这话描述的是事实,那我确实同意这话的观点。可现实是:我们的任务并没有完成。我们的任务不是要创造一套操作系统;我们的任务是要给计算机用户自由。要完成这个任务,我们必须要尽一切努力,让用户可以自由地使用计算机和软件。” + +斯托曼最后说:“我们要走的路还很长。” + +对于一些听众来说,斯托曼的这些话是老生常谈了。对于其他人来说,这些话则有点令人不可思议了。旁边那个身穿高尔夫T恤的听众已经开始打盹了,斯托曼停下来,让旁边的人把这位叫醒。 + + “曾经有个人,说我的声音特别像安慰剂,他问我是不是做过催眠师之类的工作,”斯托曼说着,下面一阵笑声。在笑声中他接着说,“我想这意味着我可以帮你们快速进入梦乡。可能你们之中有些人正想要这样。我觉得我确实也不该打搅你们,你要是真想睡觉,尽管睡吧。” + +演讲最后,斯托曼简要地探讨了软件专利的问题。这个问题逐渐在软件业和自由软件社区中受到关注。专利的概念和想法本是为现实的物理世界准备。可把它用在信息世界中,就越来越显得古怪了。 + +版权和专利是两个不同的概念,也有着完全不同的目的。对于软件来说,版权法用来约束拷贝或修改软件代码的行为。一个程序的版权是归开发者所有。但是版权不能保护作者的想法。换句话说,开发者可以克隆一个已经存在的软件,只要他不去复制别人的代码,就不会涉及到版权问题。因为这是在重现别人的想法,所以这在版权法的作用范围之外。 + +如果开发者直接阅读软件的机器码,尽管会比较费事费力,但这依旧是合法的。同理,开发者也可以通过阅读软件的机器码,再自己独立实现一个类似的软件。这个做法通常被称作“逆向工程”。 + +演讲最后,斯托曼简要地探讨了软件专利的问题。这个问题逐渐在软件业和自由软件社区中受到关注。专利的概念和想法本是为现实的物理世界准备。可是,如果把它用在信息世界中,就越来越显得古怪了。软件版权和软件专利这两个概念看似差不多,实则差距甚远。创作者可以借助版权禁止他人复制自己的代码,但却无法阻止别人利用不同的代码实现相似的功能或软件。换言之,一个开发者可以从头克隆一个现有软件的所有功能。只要他不去复制别人的源代码,就不会触犯版权法。这种克隆想法或功能的行为非常普遍。 + +可软件专利就不同了。按照美国专利局的说法,个人或公司的计算方面的创新想法,可以获得专利(准确说,所谓创新想法,也就是专利局没听说过的想法)。理论上讲,专利拥有者需要将自己的创新想法公之于众,作为交换,专利拥有者获得法律保护,可以在二十年内,禁止他人实现这个想法,计时从专利提交起开始。当年专利法设立的初衷是为了避免优秀的想法被当作商业机密封锁在公司内部,不被大众所用。但是实际上,到了软件领域,这个事情就变了样。软件专利的创新想法并不能怎么让公众受益。因为大多数软件专利中提到想法往往是不言自明的。或者可以通过合法的逆向工程获得。而专利法和版权法不同,它禁止任何人实现专利上描述的想法,哪怕开发者是独立开发的。 + +在软件世界里,二十年的时间可能覆盖了一个市场的整个生命周期。这样,专利就成了一种策略。当年,微软和苹果这些大公司为版权打得不可开交。而如今那些互联网企业,则使用专利来为自己开路,赶走竞争对手和新人。这里有个著名的案例。2000年,亚马逊购物曾试图为它的“一键购买”功能注册专利。简单说,这个功能就是允许用户事先存储好个人信息——比如信用卡信息,收件人地址等——然后在购买商品的时候,只需要按一个按钮,就可以下单,不必再跳转到其他页面填写地址,付款等信息。对于大多数公司来说,软件专利更像是一种防卫措施。几个公司可能会合作共有一系列专利,用来阻止另外一个联盟的专利。尽管如此,还是有不少领域被软件专利占满,阻碍了各种可能的竞争对手。比如图像处理领域,加密领域等等。比较实际的例子是,一些字体渲染算法,不会出现在自由软件中,因为苹果公司持有这些算法的专利。 + +对于斯托曼来说,软件专利更督促着黑客要时刻警觉,而且还平添了几分戏剧色彩。也恰恰是软件专利,让自由软件一直强调的政治策略再次得以重申。即,用户的自由比其他东西更重要。斯托曼说,软件专利所可能造成市场的垄断,高性能、低价格等特性的确是GNU/Linux、FreeBSD等这些自由软件的优势。但是除了性能、价格这些东西以外,还有更重大的问题,那就是用户和开发者的自由。 + +这个观点在圈子里也饱受争议:开源的支持者们喜欢强调自由软件的实用性,会避免探讨用户自由之类的问题。他们可能不会强调这些,转而强调黑客开发的工程模型。强调同行互相审校的重要性。他们认为,GNU/Linux或FreeBSD的开发模式可以创造出更好,更强大,更值得信赖的软件。斯托曼说: + + “不是因为我们技不如人,而是因为软件专利禁止我们实现很多想法,不让我们把去创造优秀的软件。遇到这个问题用户会作何感想?这要看这个用户是被哪种观念吸引进自由软件圈子里来了。一种是`开源软件’的观念,它把软件用户的自由看作是一种工具,赋予用户这些自由,可以让软件更加强大,功能更加完善。如果用户是被`开源’的理念打动而使用自由/开源软件的,那么当他发现某些自由软件由于专利原因,无法实现某种功能的时候,他可能会说:`当初你们承诺软件会很强大很完善,可如今你们却没能实现这些功能,你们欺骗了我!’与`开源’的理念不同,`自由软件’强调软件用户的自由本身的重要性,它是我们的目的,而不是一种手段。当用户了解到‘自由软件’的观点时,面对同样情况,他可能会说:‘那些软件专利怎么能如此禁止人们实现这些功能?它们怎么能这样剥夺我们的自由?’倘若用户都能如后者一般,那么面对如今和未来的大量软件专利,我们才可能生存下去。” + +斯托曼的这番评论确实有些拗口。其实,大多数开源软件的支持者其实也一样反对软件专利。但关于开源软件和自由软件的区别,斯托曼的描述却也不错:开源软件的观念更偏向于实用主义;而自由软件的观念则更强调用户自由。开源的支持者不怎么喜欢强调软件用户的自由,他们更愿意强调黑客开发的工程模型。强调同行互相审校的重要性。他们认为,GNU/Linux或FreeBSD的开发模式可以创造出更好、更强大、更值得信赖的软件。 + +但是,“开源”一词也并非意味着没有任何政治诉求。对于开源支持者来说,开源有着两重含义。第一,它避免了在英文中使用Free一词。自由软件的英文是Free Software,因为Free在英文中既有自由的意思,也有免费的意项,所以难免会产生歧义。很多商业公司会觉得自由软件等于免费软件。使用“开源”一词的动机之一,就是希望消除这种歧义。第二,它让商业公司可以从技术角度去审视自由软件,而不必在道义上过多解读。埃里克⋅雷蒙德(Eric Raymond)是开放源代码促进会(Open Source Initiative,OSI)的联合创始人之一,也是支持使用“开源”一词的著名黑客。他曾在1999年发表了一篇文章,用以表明他对遵循斯托曼的政治路线的失望。文章标题是《少说话,秀代码》(Shut Up and Show Them the Code): + + “RMS(即,理查德⋅M⋅斯托曼的缩写)的用词对于我们这样的人来说很有吸引力。我们黑客都是思考者,都是理想主义者。我们都时刻准备着响应支持“自由”、“原则”和“权利”的号召。哪怕我们有时候会与斯托曼的一些意见不同,但我们依旧希望他的做法能有效。我们觉得他的言辞应该有效。可是,我们看到世界上另外95%的人和我们不一样,斯托曼的言论对他们无效。面对这些,我们开始迷惑,甚至怀疑。” + “那另外95%的人中,包括很多公司经理、投资人,以及普通的计算机用户,他们不是黑客,他们会倾向于跟从专有商业软件的大市场。如果不能赢得这些人的支持,黑客们将只能游离于主流之外,去追随自己的理想。” + “RMS向我们谈论起“计算机用户权利”的时候,他向我们发出了一份吸引人却危险的邀请函,引导着我们重犯旧错。我们应该拒绝它——不是因为它的原则是错的,而是因为那样的词汇用在软件上,只能说服我们自己,而不能说服别人。事实是,它把大多数圈外人都拒之千里。” + +但是,斯托曼却反对雷蒙德的说法: + + “雷蒙德对我们失败的解释非常有误导性。因为我们压根都没有失败呢。我们为自己设定的目标很远,我们还有多长的路要走。可是要知道,我们已经走过了很多路,克服了很多困难。” + “雷蒙德关于大众的悲观判断是夸大其辞。很多人不是黑客,但是却同样关注我们强调的政治问题,他们也认为自由的问题比开源所强调的技术优势要重要。这些人之中,甚至会有一些政治领导人。” + “厄瓜多尔和巴西的政府恰恰就是因为考虑到道义问题,而不是技术问题,才让政府计算机使用自由软件。他们可不是黑客,但他们也理解其中的自由。” + +对于斯托曼来说,开源的重大问题,在于得出了过于宽松的结论。它可以说服用户去使用自由软件,但却无法提供更多的理由,让用户完全放弃专有软件。这只能给用户部分自由,却不能教会用户去珍视自由。最终,用户还是很可能继续掉入专有软件的陷阱,本来的那些自由也从此丢失。举个例子,如果因为专利问题,让某个自由软件无法添加某项功能,用户该做何选择? + +大多数开源支持者们也会和斯托曼一样,极力反对软件专利。甚至很多专有软件的开发者也一样反对软件专利,因为软件专利也同样威胁着他们的项目。然而,斯托曼指出,软件专利会阻止人们实现某些功能。这里,开源和自由软件在理念上的分歧就显现出来了: + + “这个时候,我们如果做不出更好的软件,并不是能力不足。而是因为有人利用专利,故意阻止我们为公众服务。倘若一位用户使用的自由软件中,由于某项专利,而缺少一个功能,用户会作何反应呢?如果当初这些用户是被开源软件的理念说服而使用这个自由软件,那么他们当初学到的是:给予用户自由是为了创造更强大可靠的软件。这时候,遇到软件缺少功能,他们会说,‘你们没能给我一个强大可靠的软件,它少了这个功能,你们骗了我。’相反,如果这个用户是因为认同自由软件的价值观,而使用自由软件的话,那么他们会说:‘那些专利竟然阻止了这个功能的实现,剥夺了我的自由。’只有用户认同自由软件的价值观,那么面对大量的软件专利,我们才可能幸存。” + +看着斯托曼阐述自己的政治诉求,并不会让人迷惑或厌恶。他衣着朴素,说起话来有理有据,逻辑清晰。听众中一位提问:如果完全避免使用专有软件,可能无法用到最新的技术,该怎么办?斯托曼引述自己的信念,回答了这个问题:“我觉得自由本身比任何新近技术都重要。如果面前有一个先进的专有软件和一个技术落后的自由软件,那么我宁愿选择后者。因为无论如何,我都不会靠出卖自由,而换取更新的技术。我的原则是,如果我不能和你分享这个软件,我就不会使用它。” + +有些人可能会把道义问题和宗教信仰联系起来。斯托曼的这个回答则更可能给人一种宗教信仰的感觉。不过,斯托曼的行为不同于犹太人只吃洁食的行为,也不同于摩门教徒不喝酒。斯托曼并不是要守着清规戒律,他只是不想牺牲自己的自由。他的演讲解释了他的思路:专有软件会剥夺你的自由,如果你想要自由,你就要拒绝使用专有软件。 + +斯托曼仅仅使用自由软件,拒绝任何专有软件。他把这描述为个人信仰,并且希望把这份信仰与大家一同分享。但他不会强迫别人认同自己。大多数听众,在听过斯托曼的演讲之后,都会明白斯托曼所说的正确的软件之路。 + +斯托曼的这个回答,倒是更让我觉得他有点宗教人士的感觉。就好像是犹太人只吃洁食的行为,摩门教徒不喝酒。斯托曼仅仅使用自由软件,拒绝任何专有软件。他把这描述为个人信仰,并且希望把这份信仰与大家一同分享。但他不会强迫别人认同自己。大多数听众,在听过斯托曼的演讲之后,都会明白斯托曼所说的正确的软件之路。 + +演讲最后,像个总结一样,斯托曼开始了一个不太寻常的仪式。他从一个百货商店的塑料购物袋里掏出了一条黑色长袍。他把长袍打开,套在了身上。接着,又从袋子里拿出来了一个圆形的老式计算机硬盘碟片,把它戴在头上。这碟片一戴上,就像极了基督教圣徒头顶的光环。看到这身扮相,人群中传来了一阵笑声。 + +“我是圣⋅IGNUcius,来自Emacs教堂。”斯托曼举起右手,好似在为众人祈福:“我保佑你的计算机,孩子们。” + +图:斯托曼打扮成圣·IGNUcius +照片由Stian Eikeland拍摄,摄于2009年2月19日,挪威的卑而根市。 + +大家的笑声在几秒内变成了一阵掌声。大家在鼓掌的时候,斯托曼头上的那个硬盘碟片反射来一道强光,一下看起来,好像斯托曼头上真的顶了个光环。他眨了眨眼睛,又让我觉得他好似宗教领袖。斯托曼接着解释道: + + “Emacs最开始是一个编辑器,之后,很多人把它当作一种生活方式,还有一部分人把它作为一种信仰。我们把他们称作Emacs信徒。” + +很多人以为斯托曼对于自由软件一直都是不苟言笑,好像一个禁欲主义者一样。眼下这个玩笑倒是很好地否认了这种认识。在黑袍和光环之下,斯托曼好似在说:“你们尽情笑吧,我知道我这样很搞怪。” + +之后,我和斯托曼聊起圣⋅IGNUcius这个舞台形象,他说他最早是在1996年开始在演讲中有这么个安排的。那会他早就开发了Emacs编辑器,那时也还没有“开源”这个词。斯托曼说,他当时希望能有个方式,能够“自娱自乐”一下;同时,也能告诉听众,斯托曼虽然固执,但还不至于疯狂到不苟言笑。不过这之后,一些人借着这个舞台形象,把斯托曼形容为一个软件界的空想家。埃里克⋅雷蒙德就在1999年的一次与Linux.com的采访中,说道: + + “我说过,RMS很会算计。我并不是说他不诚实,也不是说他虚情假意。我的意思是,他和很多布道者一样,非常有舞台感。有时候,他的这种行为是有意识的——你看过他扮成圣⋅IGNUcius的样子吗?他身穿黑袍,把一个碟片放在头顶。还有很多时候,那是无意识的行为。他很会掌握分寸,既能让你想去反驳,又不至于把人们吓跑。” + +斯托曼显然不同意埃里克⋅雷蒙德的说法。他说: + + “这不过是我自娱自乐罢了。谁要是从中还看到了别的东西,那只能说他们想多了。那都是他们脑子里的想法,不是我的。” + +斯托曼也承认,他的这个表演有做作的成分。“就是开个玩笑。我很享受被万众瞩目的感觉。”他如是辩解。为了让自己的演讲技能可以更加娴熟,他甚至还加入过Toastermasters。这个社团旨在帮助人们提高演讲技能。斯托曼也曾向别人建议过Toastermasters。他加入了这个社团,逐渐掌握了一些舞台技巧。在这次茂宜高性能计算中心的演讲之后几天,我和斯托曼聊天的时候,问起他是否有种所谓的“格鲁桥⋅马克思情结”——就是像著名喜剧演员格鲁桥⋅马克思(Groucho Marx)所说的那样,拒绝加入任何希望收留他的俱乐部。斯托曼立即回复道:“不,但是我在很多方面都很敬仰格鲁桥⋅马克思,我说过的很多话都曾受到过他的启发。不过,我也受到过汉普⋅马克思(Harpo Marx)的启发。” + +斯托曼一直以来对俏皮话、双关语的喜爱,恐怕的确是受了格鲁桥⋅马克思的影响。不过话说回来,双关语和文字游戏也从来都是黑客们的最爱。要说斯托曼真是有哪点会像格鲁桥,恐怕是他开玩笑之后,那副依旧淡定的表情。他的那些玩笑总是在不经意之间蹦出来,他自己则一脸严肃,眉毛都不抬。在你笑过之后,甚至反而会觉得斯托曼正在内心中笑话你。 + +不过你别担心,斯托曼可没笑话你。看到他在茂宜高性能计算中心演讲时候的圣⋅IGNUcius的扮相,你的顾虑就打消了。他这表演虽然不比单口相声,但斯托曼总还是有能耐把一屋子的工程师聚在一起。“Emacs教会之中,不必戒色禁欲。但也需你心存底线,道清德厚,有所顾忌。”斯托曼继续对听众说道:“你要在自己的电脑之上,趋邪扶正。专有软件,卸载删除。辟得净土,以敬用户。系统上下,软件自由。茫茫众生,守此信条,即入本会,得道称圣。对了,到时候你没准也能拿到这样一个光环。” + +圣IGNUcius的演出以一个圈内冷笑话做结尾。在大多数UNIX或者类UNIX系统上,和Emacs齐名的另外一款编辑器名为vi。vi编辑器最早是由比尔⋅乔伊开发。他当年是加州大学伯克利分校的学生,如今是Sun微系统公司的首席科学家。斯托曼在摘掉自己头顶的“光环”之前,给vi这个竞争对手开了个小玩笑。“人们会问,在Emacs教会中使用vi是否算作原罪。倘若使用的是自由版的vi,那不能称之为罪。可以算是自罚赎罪。那么,Happy Hacking!” + +一个简短的提问环节过后,听众们围在斯托曼周围,有些人向他索要签名。斯托曼拿着一位女士打印出来的GNU通用许可证,说:“我可以答应你在上面签名,不过你要答应我,在指代那整个操作系统的时候,使用GNU/Linux这个词。并且要告诉你的朋友也这么做。” + +他的这个举动倒是证实了我的想法。和演员、政客不同,斯托曼的行为会始终如一,不会切换到“台下模式”。在圣⋅IGNUcius这个角色中看到的那份理想主义,会一直体现在斯托曼的每个言行之上。在演讲之后的晚餐上,一位程序员向斯托曼提起了自己参与“开源”软件的经历,斯托曼还没顾得上咽下嘴里的食物,说道:“你是说自由软件吧。用自由软件这个词恐怕更恰当。” + +在演讲结束后的提问环节,斯托曼承认自己很多时候有些咬文嚼字。“很多人会劝我:‘咱们先把人邀请进我们的圈子,然后再教会他们什么是自由。’这也许是个好策略,但是我们当下的情况是,基本所有人都在邀请朋友们进到这个圈子里,可却没有几个人会告诉朋友自由是什么。” + +最后的结果,用斯托曼的话说,就是好比很多第三世界国家建立的城市。人们怀揣梦想从四面八方涌入城市,希望能让自己的生活变得更加富裕,或者至少能融入到这个充满活力和开放文化的社会,但是那些真正有权有势的人则通过制定各种新的方针政策来玩弄老百姓。软件专利就是一个很好的例子。“你把百万千万的人扔到城市中,结果是在城市里建起了成千上万的城中村、贫民窟。但是没人开始着手做下一步的工作:把城中村,贫民窟里的人解救出来。如果你觉得讨论软件用户的自由是有意义的,那么请加入我们,开始做第二步工作。很多人都在做第一步,但这第二步却无人问津。” + +这“第二步”工作直指自由软件运动的核心:自由软件的重点并非是装机量用户量,而是赋予用户自由。有些人希望能从内部瓦解整个专有软件工业,这实在是痴人梦话。斯托曼说:“从内部瓦解实在不现实,除非你能像当年戈尔巴乔夫那样攀到高位,否则你多半会被同化。” + +又有很多人举手提问,斯托曼随机选择了一位身穿高尔夫衬衫的听众,这位听众问道:“如果没有专利,你会建议如何防止商业间谍?” + +斯托曼答:“嗯……这其实是两个互不相关的问题。” + +提问者补充道:“我是说,如果有人想要窃取另一个公司的软件。” + +斯托曼立即反应道:“等等,你说‘窃取’?不好意思,你的这番陈述里包含太多偏见了。我只能说,我很难认同这些偏见。”接着,斯托曼转向问题本身:“各个公司,它们可能会开发专有软件,或者开发任何别的东西。无论开发什么,多少都会有些商业机密,它们无论如何都会保守这些机密。这个事实恐怕很难改变。在早年间——哪怕到了20世纪80年代——绝大部分程序员都没想到过把软件去申请专利。人们会发表文章记录自己有趣的想法,如果他们不认同自由软件的理念,他们可能会在文章中甚少提及各种细节。如今,他们同样写篇文章,笼统地记录下那些想法,依然保守着各种细节。如今不同的是,他们把这文章拿去专利局,就可以申请下专利。软件专利并没能把这个事实改变多少。” + +“但如果不会影响他们公开发表的文章……”另一位听众起立发言,但还没说完,就被打断了。 + +“但它的确影响了,”斯托曼说,“在版权局能查到的公开文章就是告诉你,从现在开始往后二十年,这个想法任何人都不能随便用。这能算是什么好处吗?还请注意,他们在文章中,会把想法描述得像天书一般难懂,而且会尽量把话说得模棱两可,这样就可以让这版权覆盖尽可能多的地方。没有几个人会从那些文章里去学习哪个版权所保护的技术。你能从那些文章中了解到的信息,只能告诉你什么技术你不能用。” + +听众一时安静下来。这个演讲从下午3:15开始,现在已经将近五点。下面很多听众已经有些坐不住了。斯托曼也察觉到了听众的倦意,他目光扫视了全场,说道:“那么,今天就到这儿吧。”他又停顿了一下,等到确认没有人有问题之后,斯托曼又重复了一遍那句口头语。 + +“Happy Hacking。”斯托曼说。 + + + +第9章 GNU 通用公共许可证 + +1985年新春伊始,理查德⋅斯托曼完成了GNU工程中第一个完整的里程碑式的软件:用Lisp语言编写的Emacs编辑器。为了能让别的用户可以真正自由地使用这个软件,他面临着两大挑战。首先,他需要改写出一个跨平台的Emacs版本;其次,他需要基于早期的“Emacs公社”探索一种全新的发布方式。 + +与UniPress之间的纠纷暴露出了Emacs公社契约中的一些不足:这些条款都过度依赖斯托曼个人在这个社区中的地位。对于那些斯托曼所没有触及到的领域,比如1984年以前的Unix系统,其他个人和公司都可以制定他们自己的规则。 + +在GOSMACS之前,修改软件的自由与软件作者的特权之间就已经形成了一种矛盾的关系。1976年修订的美国版权法案把法案适用范围扩展到了软件作品上。根据该法案的第102(b)节的规定,个人或公司可以对软件程序的“表现方式”声明版权,但不能对程序中的“实际处理过程和方法”声明版权。换句话说,程序员与软件公司可以像对待一个故事或一首歌那样来对待一个软件,可以从一个已有的软件中获取灵感,但是在没有得到原作者允许的前提下,不能直接复制代码或在它的基础上直接衍生出新的版本。尽管这部新的法律规定了软件中即使没有包含版权声明也同样受到法律保护,程序员们还是纷纷开始在他们的程序中添加上了版权声明,声张自己的权力。 + +刚开始,斯托曼把这些版权声明看成是一个不好的兆头。那时候,大部分程序都会从其他以前的程序中借鉴一些代码,然而,总统的大笔一挥,议会就给予了程序员和软件公司把社区开发的软件变为专有软件的权力。这就使得原来游走在灰色地带的事情变得公开合法化。即使黑客们有能力去追朔一段代码最初的来源——也许没有办法找到几十年前的源头,但至少可以往前查几年,但是为了证明这些原本属于社区的代码不应当被专有化而对每一段代码进行这种追查所要花费的时间和金钱都远远超出了大部分黑客所能接受的范围。简单地说,这项法案使得原先黑客之间的较量变成了律师之间的较量。在这样的法律框架下,软件公司相对于黑客们来说占据了天然的有利地位。 + +然而,软件版权的支持者也有他们相反的观点:如果没有版权的保护,程序员的作品可能会在不经意间进入公有领域。同时,在自己的作品中加入版权声明常常也象征着对软件质量的负责,程序员或软件公司在代码中加入了署名的版权声明也就意味着把自己的信誉与这份代码绑定在一起。另一方面,版权声明也可以看成是一种合约或是所有权的声明。软件作者可以把版权声明用作一种具有弹性的许可证,通过版权声明放弃部分权利,换取用户方某种形式的行为。比如,软件的作者可以允许人们随意复制软件,但是不得把这些副本用于商业用途。 + +这些观点最终使斯托曼反对软件版权声明的态度慢慢发生了变化。回顾GNU工程的历史,斯托曼说他直到差不多Emacs 15.0发布的时候才逐渐意识到使用版权来保护软件的好处,Emacs 15.0是GNU诞生前的最后一个Emacs大版本。斯托曼回忆道:“那时我看到有些人在电子邮件中也开始使用版权声明,还加上了一行‘允许原文复制’的许可声明,这触发了我的灵感。” + +从Emacs 15开始,斯托曼在软件中加入了一项版权声明,允许用户随意复制并分发软件。他还允许软件的用户修改软件,但不允许用户把修改过的软件作为自己的作品并享有排他特权,就跟GOMACS一样。 + +斯托曼认为,Emacs 15的版权声明虽然为Emacs公社树立了一个很好的样板,但它的内容还“不够正式”,不适合用作GNU工程的软件许可证。在开始编写GNU版本的Emacs时,斯托曼开始与自由软件基金会的成员一起探讨应该如何来完善许可证的文本。他还咨询了帮助他创建了自由软件基金会的律师。 + +马克⋅费雪(Mark Fischer)是波士顿一名专注于知识产权法的律师,他回忆起当年与斯托曼讨论许可证问题的情景:“对于许可证的用处,斯托曼有非常清醒的认识。他有两条原则,第一条是要让软件变得尽可能的开放,第二条是尽可能鼓励其他人接受和使用类似的许可证协议。” + +鼓励其他人接受和使用类似的许可证就意味着不再允许专有的Emacs版本出现。为了实现这一目标,斯托曼与他的自由软件同僚们找了一种解决方案:用户们可以随意修改GNU Emacs,只要求他们把他们的改动都公布出来;并且,这些衍生出来的软件作品需要与GNU Emacs采用相同的许可证。 + +这最后一个条款是一个革命性的创造,人们需要一段时间才能真正理解它。费雪回忆说,在那个时候,他只是把这个条款看成是GNU Emacs与用户之间达成的一笔交易,也是相当于给GNU Emacs打上了“价格标签”。不过,这里的价格却不以金钱度量,它允许用户自由使用软件,但如果对软件进行修改,则必须把修改后的代码贡献出来。费雪认为,这条合同条款非常特别。 + +“在那个时候,让软件用户接受这样的一种软件‘价格’即便不是独一无二,也是数一数二的。”费雪说。 + +1985年,斯托曼发布GNU Emacs的新版本时,GNU Emacs通用公共许可证第一次与公众见面。随后,斯托曼收到了很多来自黑客社区的对改进许可证用语的修改意见。约翰⋅吉尔摩(John Gilmore)是最早接受这种软件许可证的黑客之一,他后来成为了一名软件活动家并为Sun公司(Sun Microsystems)提供咨询服务。作为他工作的一部分,吉尔摩把Emacs移植到了SunOS上,SunOS是Sun公司开发的Unix发行版。在移植的过程中,吉尔摩按照GNU Emacs许可证的要求公开了他所作的修改。吉尔摩并不认为遵守GNU Emacs许可证是对他工作的一种限制,相反的,他认为这种许可证正好体现了黑客的精神气质。“不过,在那个时候,很多许可证的条款都还不是很正式。”吉尔摩回忆道。 + +吉尔摩引用了一个Unix工具软件trn的版权声明,从中也可以看出那时的许可证有多么的不正式。trn是拉里⋅华尔(Larry Wall)的作品,他后来还开发了Perl语言和Unix程序员用于给软件代码打补丁的Patch工具。华尔很清楚这一点,所以他把下面的版权声明写入了软件的README文档: + + 版权所有(C)1985,拉里⋅华尔 + 你可以任意的复制trn软件包或它的一部分,只要你保证不以它来牟利,并且不得假装你是这个软件的作者。 + +如此的声明在映射着黑客的精神和气质的同时,也映射出要把这种松散、非正式的精神转换为严谨的软件版权法律语言的困难之处。在撰写GNU Emacs许可证时,斯托曼做了很多的工作,保证许可证的表述中不存在任何可能被别人利用,进而把这个软件变成专有软件的漏洞。他以一种律师和黑客都可以理解的方式,向世人展现了黑客的精神。 + +吉尔摩回忆说,没过多久,就有一些黑客们开始讨论如何把GNU Emacs许可证移植到他们自己的其他软件作品上。1986年11月的一天,吉尔摩受到Usenet上一个帖子的启发,写了一封电子邮件给斯托曼,建议对GNU Emacs许可证做一些修改: + +或许你可以考虑把许可证中的“EMACS”字眼替换为“软件”或其他类似的名词。在不久的将来,Emacs也许就不再是GNU系统中最大的一部分,但这种许可证可以适用于整个系统。 + +吉尔摩并不是唯一一个建议用这种更通用做法的人。1986年年底,斯托曼正着手开发GNU工程中的下一个里程碑——源代码调试器,与此同时,他也同样在考虑如何修改Emacs许可证使它可以适用于Emacs和这个新的调试器。斯托曼的解决方案是:移除许可证中所有的Emacs字眼并把它转变为一个保护所有GNU软件版权的许可证。GNU通用公共许可证就这样诞生了,缩写是GPL。 + +在打造GPL时,斯托曼使用了软件版本号的表示方式,用小数表示原型版本的许可证,用整数表示成熟的版本。1989年,也就是斯托曼打入Unix阵营的第二个重要作品GNU调试器发布的一年后,他发布了GPL的1.0版本(斯托曼从1985年就开始了GPL这个项目)。这个许可证包含了一个表明其政治态度的序言: + +通用公共许可证被设计成确保你拥有分发或出售自由软件的权利,确保你可以获取软件的源代码,确保你可以修改软件或在别的自由软件中使用这个软件,并确保你了解你拥有以上权利。 + +为了保证你的权力,我们禁止任何人剥夺你的以上权力或要求你放弃这些权力。这些限制条件也作为你分发或修改这个软件时所必须承担的责任。 + +与此同时,斯托曼也不得不对原来那个不太正式的“Emacs公社”协议进行修改。在“Emacs公社”的协议中,社区的成员需要公开任何对Emacs所进行的改动,而现在,程序员只需跟斯托曼一样以相同协议公开衍生作品的代码即可。也就是说,程序员修改了Emacs并仅供自己个人使用时,就无须把代码发给斯托曼了。斯托曼粉碎了自由软件价格标签,免得它们破坏了自由软件的精神教义。用户可以不受斯托曼的限制对软件进行创新工作,并保证了整个社区都可以获得相同的软件版本。 + +回首往事,斯托曼说,GPL中所做出的妥协很大程度上是因为他个人对原先“Emacs公社”中存在的“老大哥”角色感到不满。当他对黑客社区了解的越深入,他越感觉到未来的源代码维护人员可以用他们的权力迫使他让GPL做出妥协。 + + “要求用户公开所有的改动是不对的,更何况还要求他们把这么多的改动都发给某一个拥有特权的开发者。这种中央集权的方式,与整个社区人人平等的氛围格格不入。” + +历史证明,GPL是斯托曼最伟大的创造之一。它在现有的版权法律的框架中创造了一种平等的社区系统。更重要的是,它向世人展现了法律文书与软件代码之间的相似性。GPL的序言其实暗示了一个信息:与其用怀疑的眼光看待版权法,不如用黑客的精神渗入到这个系统中。 + +“GPL的设计过程与其他自由软件开发的过程非常相似,由一个大的社区共同来讨论它的结构、它的条款。社区成员的意见可能会相左,所以还需要对它的条款进行调整甚至进行妥协,这样才能更容易地为大众所接受。”另一位曾帮助斯托曼一起设计GPL的律师杰里⋅科恩(Jerry Cohen)说,“这样的设计方式非常有效,GPL的各个版本从被人们怀疑逐渐变为广为接受。” + +1986年,斯托曼接受《Byte》杂志采访时,把GPL总结为一些富有趣味的条款。除了宣传黑客价值观,斯托曼说,读者还应该“把它看成是智力的较量。我们利用了软件版权法本身来对抗整个现有的版权系统。”几年后,斯托曼开始使用一些不那么敌对的条款来描述GPL。“我在考虑那些有关道德意识、政治意识和法律意识相关的问题,”他说,“我需要设法让它可以融入现有的法律系统。从本质上来说,这项工作是为一个新社会立法的过程,但是因为我不是政府,所以事实上我并不能改变法律。我需要设法在现有法律框架上去设计它,这在以前的设计中从来没有过。” + +正当斯托曼在思考自由软件有关道德、政治和法律上的问题时,一位来自加州名叫堂⋅霍普金斯的黑客给他寄了一份68000微处理器的手册。霍普金斯是一名Unix黑客,同时也是一名科幻小说爱好者,这本手册是他早些时候向斯托曼借阅的。为了表达对斯托曼的感激之情,他在信封上贴了一些从当地科幻小说爱好者社团获得的一些贴纸。其中,有一张贴纸上的文字吸引了斯托曼的眼球:“Copyleft (L),保留所有权利。”在GPL的第一个版本发布以后,斯托曼称赞这张贴纸给了他灵感,并把“Copyleft”一词作为自由软件许可证的昵称。以后,Copyleft这个名字以及它的标识——一个倒着写的C,成为了GPL在自由软件基金会的官方标识。 + +德国著名社会学家马克斯·韦伯(Max Web)曾经说过,所有伟大的宗教都是建立在对神的感召力的“常规化”或“制度化”的基础上的。他认为,每一种成功的宗教,都是把神的感召力或这个宗教最初创始人的想法转换成一种社会化、政治化和道德化的东西,这样这种宗教的精神才可能长时间在不同的文化之间进行传播。 + +尽管GNU GPL不是家教,但是它可以看成是现代的去中心化软件开发模式中一种典型的“常规化”的例子。程序员和软件公司即使不信奉斯托曼的那套理论,也会很乐意去接受GPL表面上所呈现出来的普适价值。一部分人把GPL看成是对自己软件作品先发制人的保护机制而接受它,另一部分人虽然由于GPL的条款过于苛刻而反对它,但它在业界的影响力依然不可低估。 + +基思⋅博斯蒂克(Keith Bostic)就是属于后一个群体中的一名黑客,GPL 1.0发布的时候,他是加州大学伯克利分校(University of California,Berkeley)的一名雇员。博斯蒂克所就职的计算机系统研究小组(Computer System Research Group,CSRG),从20世纪70年代就开始从事Unix系统的研究,并且负责Unix中很多重要组件的开发。比如,作为现代Internet通信基石的TCP/IP网络协议就是出自这个小组。到了80年代,Unix商标所有者AT&T开始专注于Unix的商业化,他们选择了由博斯蒂克和他在伯克利的同事们一起开发的“伯克利软件套件”(Berkeley Software Distribution,BSD)这个Unix的学术分支作为未来商用Unix的主要技术来源。 + +虽然伯克利的BSD的源代码在研究人员和商业软件程序员群体中广为分享,但是要把它商业化仍然是一个大问题。因为伯克利的代码中也混入了很多AT&T的专有代码,所以,伯克利套件只能在那些已经向AT&T购买了UNIX源代码许可的机构使用。当AT&T提高了它的软件许可费用后,这种看上去很无辜的授权协议就越来越成为一种负担。 + +1986年,博斯蒂克开始进行一个把BSD移植到DEC公司(Digital Equipment Corporation)的PDP-11计算机上的个人项目。博斯蒂克回忆说,在这段时间里,斯托曼有时会来西海岸,所以他有机会与斯托曼进行一些密切的接触。“我直到现在还清晰得记得当时的情景:斯托曼坐在我们研究小组一台借来的工作站上与我争论有关软件版权的问题。争论了一段时间,我们就一起去吃晚餐,然后在晚餐过程中继续争论有关版权的问题。”博斯蒂克不无得意地说。 + +这样的争论最终停止了,但并不是以一种斯托曼所喜欢的方式。1989年6月,伯克利把Unix中网络相关的代码从AT&T拥有版权的那部分代码中剥离出来,并以加州大学许可证的形式发布。许可证的条款非常的开明,代码的使用方只需在衍生代码中注明原始代码出自于加州大学即可。与GPL不同,在加州大学许可证中,对代码的商业化使用是被允许的。唯一制约这种许可证广为应用的原因是:BSD的网络部分并不是一个完整的操作系统。人家可以学习这份代码,但它只能与其他专有代码放到一起才能真正运行起来。 + +在接下来的几年中,博斯蒂克和其他加州大学的同事们一起,重新编写BSD中所缺少的组件,把BSD变为一个完整的可以自由分发的操作系统。虽然这项工作因为AT&T下属的Unix系统实验室(Unix System Laboratories)对于Unix这个品牌的所有权而陷入了一些法律上的困境,但是到了20世纪90年代初,这个项目几乎已经完成了。甚至在这之前,很多伯克利开发的工具软件就已经开始进入斯托曼的GNU工程中。 + +博斯蒂克回忆说:“如果没有GNU的影响,我想我们不可能如此坚定地走得那么远。GNU中有一种力量在推动我们的前进,那就是它让我们很欣赏的理念。” + +到了20世纪80年代未,GPL开始在自由软件社区中产生了如地心引力般的效果。一个程序要成为自由软件并不一定要以GPL发布,比如那些BSD的工具软件,但是如果以GPL来发布,就会更直接地表明自己作为自由软件身份。布鲁斯⋅佩伦斯(Bruce Perens)说:“我觉得GPL的存在,激发了人们去思考自己的软件作品是否可以成为自由软件,以及应该以什么样的许可证来发布它。”佩伦斯是一个知名的Unix工具软件Electric Fence的开发者,也是Debian GNU/Linux开发团队的领头人。在GPL发布后的几年,佩伦斯说他决定废弃Electric Fence所使用的自己土法炮制的软件许可证而改用斯托曼所创造的、由律师审查过的许可证。他回忆说:“事实上这是非常容易做到的。” + +作为一名程序员,李奇·莫林对斯托曼最初的GNU宣言在一定程度上是抱有怀疑的,但是他很惊讶的发现各种软件开始慢慢聚集到了GPL的大伞之下。作为一名SunOS用户组的领头人,莫林在80年代期间的一项重要工作就是分发一些载有优质免费软件和自由软件工具的磁带。为了完成这项工作,他需要去联系软件的原始作者,询问他们的作品是否有版权保护,以及他们是否愿意把这个软件放入公有领域。莫林说,到了1989年左右,很多出色的软件程序都开始使用GPL许可证了。“作为一名软件分发人员,我一看到GPL这个词,就知道我不用担心授权的问题了。”莫林回忆说。 + +为了补偿在Sun用户组中制作分发磁带的成本,莫林会向订阅者收取少量的费用。现在,这些程序都改用GPL了,莫林收集软件并制作磁带只需要花以前一半的时间,从此就有了一点小小的盈利。莫林有着灵敏的商业嗅觉,自此,他把自己的爱好变成了一项事业,并创办了Prime Time Freeware公司。 + +这样的商业探索完全是在自由软件推广计划框架之中的。斯托曼在GPL的序言中说:“当我们说自由软件这个词的时候,我们在说的是自由,而不是免费”。到了20世纪80年代后期,斯托曼用一句更容易记忆的话来表述这个观点“不要把`Free’理解成是`免费啤酒’中的‘免费’,它是`自由言论’中的‘自由’”。 + +但是从总体上来看,商业界还是无视了斯托曼的诉求。对于少数企业家来说,自由软件所关注的自由依然与自由市场中的自由是一样的。在商业市场中如果不考虑软件的所有权,就算是一个很小的软件公司,也有机会与IBM和DEC这样的大公司自由竞争。 + +迈克尔⋅蒂曼(Michael Tiemann)是最初少数几个抓住了这个理念的企业家之一,他是一名程序员,同时也是斯坦福大学的一名研究生。在20世纪80年代,蒂曼曾经一度像一名爵士乐发烧友追随一名他所喜爱的音乐家一样追随着GNU工程。1987年GNU C编译器的发布,让他开始真正认识到自由软件内在的巨大潜力。GCC的诞生可以看成是一个爆炸性的新闻,蒂曼觉得,GCC的出现进一步巩固了斯托曼作为一个传奇程序员的地位。蒂曼回忆说: + + “就像所有的作家都梦想要写出一部伟大的小说一样,20世纪80年代时,每个程序员都在梦想要写出一个伟大的编译器,”“斯托曼以迅雷不及掩耳之势完成了这项工作,这实在是很让其他的程序员蒙羞。” + “这就是所谓的单点故障,GCC就是一个很好的例子,那时候没有别的编译器,GCC就是唯一的一个。” + +在蒂曼看来,与其与斯托曼正面竞争,不如在他的作品基础上进行二次开发。GCC最早的版本大概有110000行代码,但是在蒂曼眼里,这些代码都很容易理解。他只用了不到五天的时间就掌握了这些代码,并且只花了一周时间就把它移植到了另一个新的硬件平台上——国家半导体公司(National Semiconductor)的32032微处理器上。次年,蒂曼就开始进一步修改GCC的源代码,并开发了一个原生的C++语言的编译器。有一天,蒂曼在贝尔实验室做一个关于GCC的报告,他发现有些AT&T的开发者还在努力地做着相同的事情。 + +“教室里大概有四五十人,我问他们有多少人在参与开发原生的编译器,”蒂曼回忆说,“主持人说具体的开发人员的人数是保密的,但是如果看看这个教室里的人,就可以得出一个大概的结论。” + +蒂曼继续回忆说,不久以后,他就灵光一闪,有了个想法:“我已经在这个项目上投入了半年的时间。我开始思考,能如此高效的开发出新的编译器,这到底是我自己的功劳,还是这份代码的功劳?谁更应该在自由市场中获得嘉奖?” + +蒂曼从《GNU宣言》中获得了更多灵感,这虽然会让一部分软件开发商的利益受损,但是它鼓励其他软件开发商更多从消费者的角度出发,更好地利用自由软件。虽然GPL让商业软件无法垄断市场,但是它让一些更有眼光的开发商可以从提供服务和咨询的角度去开拓业务、开展竞争,而这些其实是软件市场中利润最高的几个领域之一。 + +在1999年的一篇文章中,蒂曼回忆起斯托曼的宣言带来的影响。“它听上去像是一个社会主义者的呐喊,但是它们还是大不相同的。我在里面发现了一个隐蔽的商业计划。” + +约翰⋅吉尔摩也是一位GNU工程的粉丝,蒂曼和他一起成立了一个软件咨询服务公司,专注于提供对GNU程序的定制化服务,这就是后来的Cygnus Support公司。1990年2月,Cygnus Support与客户签订了第一份软件开发合同。同年年底,该公司已经签订了价值超过72.5万美元的软件支持和开发合同。 + +GNU Emacs、GDB和GCC是三个最为重要的开发工具,不过它们并不是斯托曼在GNU工程的最初五年时间中开发的唯一软件。截至1990年,斯托曼还开发了GNU版本的Bourne Shell(改名为Bourne Again Shell,BASH)、YACC(改名为Bison)和awk(改名为gawk)。与GCC一样,这些GNU程序都被设计为可以在各种系统上运行,而不是局限于某一个开发商的平台。斯托曼和他的同事们不但把程序做得更具弹性,也把它们做得越来越有用。 + +Prime Time Freeware公司的莫林提到了一个很简单但很重要的自由软件包:hello,这个软件包体现了GNU软件大一统的设计理念。莫林说:“hello软件包其实就是一个只有五行代码的‘hello world’C语言程序,但这个程序按照GNU发行包的标准进行了打包。里面包含了标准的Texinfo的文档和configuration配置脚本。这个软件包为其他的软件开发者提供了一个很好的示例,展示了GNU工程是如何让软件包可以平滑地移植到不同的环境中的。这件事非常重要,这不但影响到所有斯托曼的软件作品,也影响到其他所有的GNU工程的软件。” + +在斯托曼看来,开发新的软件是第一要务,而改进软件则是位于第二位的。斯托曼在接受Byte杂志采访时说:“对于某个软件作品来说,我可以去改进它。但有时重新实现整个软件也许是更好的做法,因为这样会让整个系统变得更好。从某种程度上来说,我在这个领域已经工作了很多年,并且接触过很多不同的系统,因此,我有很多想法可以对其产生积极的影响。” + +不管怎么说,GNU的工具在80年代后期发挥出了它的优势,斯托曼所在的人工智能实验室也以能设计出严密的程序而在整个软件开发社区中建立了良好的声誉。 + +杰瑞米⋅埃里森(Jeremy Allison)在20世纪80年代曾是一名Sun的用户。90年代,他开发了Samba这个著名的软件。谈笑间,他说起了斯托曼当年的声望。80年代后,埃里森开始使用Emacs,并且对它的社区开发模式产生了兴趣。他曾满怀希望地给Emacs贡献过代码,结果他的补丁却没能被采用。 + +埃里森说:“这就像是美国《洋葱报》(The Onion)的头条新闻,孩子们在祈祷,但是上帝回答说‘不’。 + +斯托曼作为一名程序员的名气越来越大,但他也在努力尝试转型为一名项目经理。尽管GNU工程在开发各种系统工具上捷报频传,但它还是没有能够开发出一个真正可用的内核。所谓“内核”,是指在所有的Unix系统中起到“交通警察”作用的核心程序,它决定了各种设备和程序应该如何去使用处理器和各种资源。到了20世纪80年代末,GNU工程因为没有自主开发的内核引发了越来多的抱怨。跟其他GNU工程的软件一样,斯托曼先是试图寻找一个现有的程序,通过修改它来开展内核的开发工作。根据1987年1月的“GNUsletter”所描述的,那时斯托曼已经开始尝试修改TRIX,TRIX是一个麻省理工学院开发的Unix内核。 + +回顾80年代末“GNUsletter”中的新闻,GNU工程在软件开发管理上的压力在那个时候已经渐渐显现出来。1987年1月,斯托曼宣布GNU工程正在尝试修改TRIX这个由MIT开发的Unix内核。一年以后,1988年2月,GNU工程又宣布他们已经把注意力转向Mach,一个由卡内基美隆大学开发的“微内核”。这也就意味着,在1990年以前,GNU工程并没有真正开始官方的内核。 + +这个时期,内核开发的延迟只是困扰斯托曼的众多问题中的一个。1989年,莲花公司(Lotus Development Corporation)起诉了它的一家竞争对手——Paperback Software International公司,控告该公司抄袭了莲花公司的1-2-3电子表格程序中的菜单设计。莲花公司的官司,加上苹果和微软之间的“视觉体验”的斗争,给GNU工程带来了颇多麻烦。虽然这两场官司跟GNU工程都没有直接的关系,因为他们都主要是与个人电脑上的操作系统和应用软件相关,而不是关注于类Unix的硬件系统,但是他们对整个软件开发的文化产生了深远的影响。斯托曼觉得自己不能袖手旁观,他召集了几个程序员朋友在一本杂志上刊登了一则广告。然后,他基于这则广告成立了一个抗议小组,反对那些参与诉讼的公司。他把自己的这个组织命名为“自由编程联盟”,他们在莲花公司门口以及波士顿审理莲花公司这起案子的法庭外发起了抗议。 + +这次抗议非常引人注目,他们的行动在软件工业发展史上留下了浓重的一笔。应用软件正悄悄地取代操作系统成为软件公司竞争的主要战场。然而,GNU工程想要建立一个自由操作系统的愿景都尚未实现,这使它看起来有点跟不上时代了。不过也正是这个原因,让斯托曼觉得有必要组织一股新的力量来对付这次对“视觉体验”的诉讼,但这在一些观察家眼中,则更显得GNU工程正在变得更加过时。 + +1990年,麦克阿瑟基金会授予了斯托曼“麦克阿瑟院士”的称号,嘉奖他出众的能力,并授予他“杰出人才奖金”。这份24万美元的奖金用于奖励他发起了GNU工程和他在宣传自由软件哲学上所取得的成就,这帮助GNU工程在短期内缓解了经济上的困难。最重要的一点就是,它让斯托曼这个在自由软件基金会不拿薪水而仅靠做咨询来养活自己的员工,可以有更多的时间专注于编写GNU的代码。 + +麦克阿瑟奖还戏剧性地赋予了斯托曼选举权。在获奖前不久,发生在斯托曼公寓里的一场大火几乎让他损失了一切财产。在获奖的时候,斯托曼还只是在技术广场545号大楼存生的一名流浪汉。“选举中心不同意我把那里作为我的住址,”斯托曼后来回忆说,“不过报纸上那篇有关麦克阿瑟奖的新闻帮我证实了这个现状,于是他们就让我注册了。” + +最关键的是,麦克阿瑟捐助的资金让斯托曼有了更多的自由,他可以全身心地投入软件自由的事业了。有了这些资助,他决定更多地去四处宣讲GNU工程的使命。 + +有意思的是,GNU工程和自由软件运动最终的胜利差不多就是源于这些旅行。1990年,斯托曼去芬兰的赫尔辛基大学访问。在听众中,有一名叫林纳斯⋅托瓦兹的学生,那时他只有21岁。后来托瓦兹发明了Linux内核,Linux内核完美的填补了GNU工程中所空缺的那一部分。 + +托瓦兹那时在附近的赫尔辛基大学上学,斯托曼给他留下的第一印象是颇为奇怪的。“我这辈子头一次看到这样一个长头发、长胡子的古怪黑客。在赫尔辛基很少能见到这样的人。”托瓦兹在2001年的自传《乐者为王》中回忆到。 + +虽然托瓦兹并不了解斯托曼的宏大计划中的政治性的一面,但他仍然很欣赏这个计划在内在逻辑:没有人可以写出没有错误的代码。通过共享软件代码,黑客们把不断改进程序作为终极的目标,甚至超越了个人野心。 + +与他同辈的很多程序员一样,托瓦兹并不关注类似于IBM 7094这样的大型机,而是对那些五花八门配置的家用电脑更感兴趣。作为一名大学生,托瓦兹是通过在学校的MicroVAX上学习C语言,一步步进入Unix的世界的。这种阶梯式的学习曲线使托瓦兹对于访问大型机的不方便之处有着一种不同的视角。对于斯托曼来说,主要的不方便是官僚作风和特权控制。对于托瓦兹来说,则是地理位置和赫尔辛基寒冷的冬天。为了避免穿过整个赫尔辛基大学的校园去登录他的Unix系统,托瓦兹开始设法寻找一种可以在他温暖的校外公寓中远程访问学校的Unix系统的方法。 + +不久,托瓦兹就发现了Minix操作系统,Minix操作系统是一名荷兰的大学教授安德鲁⋅塔嫩鲍姆(Andrew Tanenbaum)所开发的一个用于教学用途的轻量级Unix系统。这个系统可以在386电脑上正常运行,这正好是托瓦兹能买得起的最强大的机器,但是,这个系统仍然缺乏一些必要的功能。最明显的一点是他没有终端模拟的功能,有了这项功能才能使托瓦兹足不出户模拟出一个学校电脑的终端并登录到学校的MicroVAX计算机上。 + +1991年的夏天,托瓦兹把Minix从头重写了一遍,并加了上了一些他所开发的新特性。到了夏天快要过去的时候,他完成了这个名为“GNU/Emacs of terminal emulation programs”的程序。他对这个作品很有信心。他开始在一个Minix新闻组上寻找POSIX标准,POSIX标准定义了与Unix兼容的程序应有的行为。几周后,托瓦兹发布了一则让人可以联想到斯托曼在1983年启动GNU工程时的所发的帖子的消息: + + “我正在开发一个(自由的)操作系统(只是出于兴趣,这个系统不会像386(486)AT上的GNU系统那么庞大和专业)。这个系统从4月开始开发,现在已经逐渐可用了。我期待听到各位喜欢或不喜欢Minix的人们的反馈,因为这个系统参考了它的不少设计(比如出于实用的需要,它们的文件系统采用了相同的物理布局,除此之外还有一些别的相同之处)。” + +在不到一个月的时间内,这个帖子收到了大量的回复。托瓦兹在Internet上的一个FTP服务器上发布了这个操作系统的0.01版,这是最早向公众开放征求意见的版本。为了实现这个目标,托瓦兹需要给这个新的系统起一个名字。在他自己的电脑硬盘上,这个程序被命名为Linux,这个名字体现了它是一个Unix的变形版本,所以名字以字母X结尾。托瓦兹认为这个名字太过于自恋,所以在FTP上把它的名字改成了Freax,但FTP管理员又把名字改了回来。 + +尽管托瓦兹准备开发一个完整的操作系统,但他和其他开发人员都意识到,大部分重要的工具软件其实都已经有了现成的版本,这些软件是由GNU、BSD和无数自由软件开发者共同完成的。对于Linux的开发团队来说,GNU C编译器是这些工具软件中最重要的一个,有了它才让使用C语言进行开发成为可能。 + +整合GCC大大提升了Linux的可用性,但也带来了一些问题。仅管GPL的“传染性”并不影响到Linux内核,但托瓦兹在他的自由软件操作系统中使用了GCC,也造成其他用户产生了从Linux借用更多东西的愿望。事后托瓦兹说,“我需要站在巨人们的肩膀上”。因此,他开始思考,当别人开始利用Linux时并需要更多依赖Linux时事情会变成什么样子。在做出这个最终决定的十年后,托瓦兹回应了自由软件基金会的罗伯特⋅查瑟尔,把他的想法总结如下: + + 你花了你生命中宝贵的半年时间去做一个东西,并且希望它能广为流传并从中获利,但你不希望别人用它来牟取暴利。我希望人们都能了解Linux,并且能对它进行修改,让它更符合每个人的期望。但我同样希望能知道别人都拿它来做了些什么,我希望我一直可以看到那些别人所改动过的源代码,这样的话,我也能有机会对它继续进行改进。 + +Linux的0.12版本中第一次完整地集成了GCC,托瓦兹决定在这次发布时宣布他与自由软件运动的联盟。他废除了Linux内核原有的许可证,替换为GPL。这个决定带来了一场移植软件的狂欢,托瓦兹和其他Linux爱好者寻找了各种GNU程序并把它们移植到了Linux中。短短不到三年的时间,Linux开发者发布了第一个可以用于生产环境的Linux1.0版本。里面包含了经过大面积修改的GCC、GDB和一系列BSD工具。 + +到了1994年,这个混杂了各种程序的操作系统在黑客圈子里赢得了极大的关注,很多观察家因此认为托瓦兹在把Linux内核许可证切换到GPL后的最初几个月中,并没有把程序真正的交给社区。在第一期《Linux通讯》杂志中,杂志编辑罗伯特⋅杨对托瓦兹进行了一次面对面的采访。当杨向这名芬兰程序员提问是否后悔放弃了对Linux源代码的专有权时,托瓦兹的回答是否定的。托瓦兹说:“即使是做一次事后诸葛亮,我仍觉得选择GPL是Linux项目初期一个最佳的设计决策。” + +这个决策与斯托曼和自由软件基金会所宣称的GPL的普适性完全没有冲突。虽然斯托曼一开始并没有注意到这点,但是Linux爆发式的成长反过来让Emacs受到了更多的关注。这一次的创新,绝非是一个像Control-R这样的小小的软件技巧,而是一个让类Unix系统可以在个人计算机上运行的新奇事物。虽然动机不同,但是结果是一致的:创造一个只由自由软件构成的完整的操作系统。 + +就像托瓦兹在最初发表到comp.os.minix新闻组的电子邮件所写的那样,他最初确实只是把Linux作为是GNU开发者发布Hurd内核前的一个替代品。这个毫无政治目的的原始想法对于自由软件基金会而言是个打击。 + +托瓦兹自己觉得,他只是跟很多小朋友一样,喜欢把玩具拆开再组装起来。但事实上,他利用闲暇时光在一块废弃的硬盘上创造出一个成功的项目,他放弃了对Linux的控制权,接受GPL的恩泽,这一切都足以证明年轻的托瓦兹所拥有的过人智慧。 + +托瓦兹回忆起1991年斯托曼的演讲以及其后他决定对Linux使用GPL的往事,他写道:“我也许没有看到指路的明灯,但我从他的演讲中领悟到了一些更为深刻的东西。” + + + +第10章 GNU/Linux + +1993年,自由软件运动的发展到了一个转折点。从乐观的角度讲,种种迹象都表明黑客文化正在变得越来越成功。《连线》杂志作为一本新兴的时尚杂志,用有关数据加密、新闻组、自由软件等热门话题在读者面前树立了自己的品牌形象。而Internet这个原本只在黑客和科学家群体中流行的词汇,也渐渐地融入了主流社会,就连时任美国总统的克林顿也不忘提到它。昔日作为数码爱好者玩具的个人电脑,得到了广泛的普及。同时,黑客们所开发的软件也进入了新一代计算机用户的视野。然而,GNU工程却还没完成它创建一个完整自由操作系统的目标,喜欢尝鲜的用户只能使用Linux作为一个替代系统。 + +不管你怎么想,这听起来仍然是个好消息,或者至少看起来是。经过了十年的挣扎,黑客和黑客的价值观终于开始被主流社会所接受,大众开始接纳这种文化。 + +事实确实如此吗?从悲观的角度来说,被大众所接受也就意味着麻烦正在滋长。成为一个黑客突然变成了一件很酷的事情,但是对于一个社区而言,这种疏远大众的繁荣真的算是一件好事吗?当然,白宫表明态度说Internet是一个很好的趋势,甚至已经在网上注册了自己的域名:whitehouse.gov,但是它也在召集各个公司、审查机关和执法机构一同开会,设法管理如同西部荒原般的Internet文化。是的,个人电脑正在变得越来越强大,但是Intel作为个人计算机市场上的芯片供应商,已经帮助软件公司一起,形成了一种由专有软件开发商垄断的局面。虽然有很多人通过Linux接触并开始使用自由软件,但与此同时,有成百上千的人成为了微软Windows的用户。 + +到头来,这是Linux奇妙的天性。它没有像GNU那样的设计错误,也没有BSD那样的法律争论,Linux的高速发展完全是出乎意料的,它的成功也是偶然的,甚至于编写了它的代码的程序员们也没法想象事情为什么会发展成这样。Linux比一个完整的操作系统更为复杂,它完全就是一个黑客们把各种顶级工具混杂在一起的产物:从GCC、GDB和glibc(GNU工程新开发的C库)到X(麻省理工学院的计算机科学实验室开发的基于Unix架构的图形化用户界面),还包括BSD开发的那些类似于BIND(the Berkeley Internet Naming Daemon,用于提供把IP地址与域名进行映射的网络服务)和TCP/IP协议。整个体系最为精华的部分,当然就是Linux内核本身,它是一个在Minix基础上重新开发的全新的内核。托瓦兹和他高速成长的Linux开发团队并没有把所有东西都从头造一遍,而是遵循了古老的毕加索的格言:“能工摹其形,巧匠摄其魂。”后来,托瓦兹本人也以类似的说法评价他自己成功的秘诀:“我是一个非常懒惰的人,并且喜欢把别人的成果占为已有。” + +这种所谓的惰性,从提高效率的角度来看,还是非常值得景仰的,但是从政治的角度来看就变得很棘手。从中可以看出,托瓦兹对于整件事并没有一个理智的规划。与GNU开发者不同,托瓦兹从一开始就没有想过要让他的团队一起来开发一个完整的操作系统,他只是想做一个自己可以玩的东西。就像汤姆⋅索亚粉刷篱笆一样,托瓦兹的天才能力并不表现在他的大局观上,而是在于他可以召集到一批黑客一起努力,用最快的速度完成任务。 + +托瓦兹和他找来一同工作的黑客们大获成功,而其他人则产生了一些疑问:那么,准确来说,Linux究竟是个什么东西呢?它是不是对斯托曼在GNU宣言中所表述的自由软件哲学的一种表现形式呢?还是只是一个人们在家用电脑上就可以土法炮制出来的简单的工具集合呢? + +到了1993年下半年,越来越多的Linux用户开始倾向于后一种定义并开始基于Linux开发各种变种。他们甚至开始把这些衍生版本(或者说“发行版”)包装起来并向Unix爱好者出售,但这些版本的质量可谓是参差不齐。伊恩⋅默多克(Ian Murdock)那时还是普渡大学计算机系的一名学生,他回忆道: + + “这就是红帽公司(Red Hat)或其他商业发行版出现前的情况。如果你翻阅Unix的杂志,你会看到很多名片大小的小广告推广‘Linux’。这些公司有很多会在自己的发行版里添加些自己的程序和代码。然而,这些公司往往只干几年就销声匿迹了。” + +作为一名Unix程序员,默多克还记得他第一次在家里的个人电脑上下载安装Linux时,被这个系统“扫地出门”的情景。“不过这仍是一件充满乐趣的事情,”他说,“这让我感觉到自己参与到了这个项目中。”然而,各种低质发行版的泛滥渐渐消耗了他的早期的热情。默多克认为,参与到这个项目中的最好的的方式就是开发一个不添加任何额外组件的Linux发行版。于是,他开始收集各种最好的自由软件工具,打算把它们整合到他自己的发行版中。默多克说:“我希望能创造出一个对得起Linux这个名字的系统。” + +为了“激发人们的兴趣”,默多克在包括comp.os.linux这个Usenet新闻组在内的各种网上渠道发布了他的想法。最早回复他的电子邮件中有一封来自rms@ai.mit.edu。作为一个黑客,默多克立刻就认出了这个邮件地址。这就是理查德·斯托曼,GNU工程的创始人,一个在默多克心目中被认为是“黑客中的黑客”的传奇人物。在邮件地址列表中看到他的邮件地址,默多克感到有点疑惑。为什么斯托曼这个正在引领自己的操作系统工程的人物,会关心默多克对Linux所发的牢骚? + +默多克打开了这封邮件。 + + “他说自由软件基金会正在开始进一步关注Linux,并很有兴趣基于Linux来完成一个操作系统。也就是说,好像斯托曼对我们所想做的事很有兴趣,这和他们努力的方向是一致的。” + +这封信展现了斯托曼立场的360度大转弯。在1993年之前,斯托曼一直都不干涉Linux社区的事务。事实上,当Linux在1991年开始出现在Unix编程的范畴中开始,他都还是回避这个操作系统。斯托曼说,当他得知有一个可以在PC平台上运行的类Unix系统时,他找了一个朋友帮忙去了解这个系统的相关情况。“他汇报说这个系统是以System V作为原型的,这是一个比较低劣的Unix版本。并且,他告诉我,这个系统是不可移植的。” + +斯托曼朋友的报告并不完全正确。Linux是为基于386的机器所设计的,这就意味着Linux生根于这类低成本的平台。他的朋友没有发现Linux所内涵的一个重大优势,那就是它是当时市面上唯一个可以自由修改的操作系统。换句话说,在接下来的三年时间中,当斯托曼还在听取Hurd团队的Bug报告时,托瓦兹正在赢得广大程序员的支持,他们成为把Linux移植到各种新的硬件平台的中坚力量。 + +直到1993年,GNU工程还是没能发布一个可以使用的操作系统内核,这对GNU工程甚至于自由软件运动本身都产生了不小的影响。1993年3月,西姆森⋅加芬克尔在《连线》杂志上发表了一篇文章,把GNU工程描述为一个“深陷泥沼”的项目,全然无视这个项目中所创造出来的那些成功的工具 。GNU工程的成员,以及GNU工程的非营利性赞助商——自由软件基金会的一些成员回忆说,当时的大家的心情非常不好,甚至加芬克尔的文章对大家造成的伤害都已经显得不是那么重要了,“当时的情况很明显,至少在我看来是这样,那就是引入一个全新的操作系统需要一个时间窗口,”查瑟尔说,“一旦错过了这个时间窗口,人们对新的系统就不会有太大的兴趣,但这却正是当时大家所面临的情况。” + +1990年~1993年期间,GNU工程一直处在挣扎中。有些人为此批评斯托曼,但GNU Emacs早期团队中的一员并且后来成为斯托曼批评家的埃里克⋅雷蒙德认为,造成一切问题的根源是体制。“自由软件基金会太骄傲了,”雷蒙德说,“他们把自己的目标从开发一个成熟的操作系统,转移到了进行操作系统的研究。他们认为除了自由软件基金会,没人可以对他们造成影响。” + +默多克,作为一名并不参与GNU工程内部运作的人,更具有包容的观点。“我认为问题的一方面是他们有点过于好高骛远,把钱投入了不正确的地方,”默多克说道,“微内核在80年代和90年代初期是一个非常热门的话题。很不幸的是,那正是GNU工程开始设计他们的内核的时间,结果就是带来了很多额外的包袱,这些包袱很难被轻易甩掉。” + +斯托曼自己则寻找了一些客观因素来解释整个项目延期的原因。莲花和苹果的官司带来了政治上的分心,加上那时斯托曼手上的病症,导致他不能全身心地投入到Hurd的团队中去。斯托曼还说,GNU工程中各个部分之间缺乏有效的沟通。“我们花了很多时间才使调试环境可以正常工作起来,”他回忆道,“而那时维护GDB的团队又并不是很合作。”但是,斯托曼也说,他和其他GNU工程的成员低估了把Mach微内核扩展成为一个完整的Unix内核的难度。斯托曼在2000年一次演讲中回忆Hurd团队遇到的问题时说: + + “我以为Mach内核中与硬件通信的部分已经调试无误了。如果有这个为基础,我们的进展会更为顺利一些。但是,事实上调试这些异步运行的多线程程序非常困难。一些时序处理上的小小问题就会导致文件损坏,这一点也不好玩。最终的结果就是,我们花了很多年的时间,还是只能开发出一个测试用的版本。” + +不管是一个借口还是一堆借口,当时的情况就是Linux内核的成功给GNU工程造成了一种紧张的气氛。毫无疑问,Linux内核确实已经按GPL发布,但正如默多克自己所发现的那样,想要把Linux当成是一个纯自由软件操作系统还有很长的路要走。截至1993年年底,Linux的总用户数已经从数十名Minix爱好者发展到20000~100000人。曾经的个人爱好已经成长为一个快速发展的市场。就像温斯顿⋅丘吉尔(Winston Churchill)看到苏联军队攻入柏林的感觉一样,看到Linux的“胜利”,斯托曼心里像是打翻了五味瓶。 + +虽说是赶了个晚集,但斯托曼还是有着巨大的影响力。当自由软件基金会宣布它会向默多克的软件项目提供资金和精神支持时,其他各方面的支持也开始源源不断的涌入。于是,默多克启动了一个名为Debian的新项目,这个项目的名字是用他和他夫人黛博拉(Deborah)的名字构成的。在短短的几个星期后,这个项目就发布了第一个版本。“理查德的帮助使得这个出于个人兴趣开发的小小的项目在一夜间变成了社区中每一个人都很关注的明星项目。”默多克说。 + +1994年1月,默多克发布了“Debian宣言”,这个宣言与斯托曼十年前发布的“GNU宣言”在精神上非常一致,它解释了Debian与自由软件基金会紧密合作的重要性。默多克写道: + +自由软件基金会对于Debian的未来具有非常重要的意义。他们可以帮助分发Debian,向全世界发出信号,Linux不是也不应该是一个商业化的产品,但这并不意味着Linux就比不上商业产品。如果你们有人不同意这个观点,我可以用GNU Emacs和GCC的例子来证明,它们都不是商业软件,但它们都对商业市场产生了重大的影响。 + +已经到了集中精力关注Linux未来的时候了,不应该以Linux社区毁灭和它未来的消亡作为代价来实现个人富裕的目标。虽然开发和发布Debian也许并不能回答我在宣言中提出的问题,但我希望它至少可以帮助大家更多关注这些问题并一起想办法解决它们。 + +宣言发布后不久,自由软件基金会就向Debian提出了一个要求。斯托曼希望默多克把他的发行版叫作“GNU/Linux”。默多克说,刚开始的时候,斯托曼曾希望他们使用“Lignux”这个名字,表示GNU是Linux系统的心脏。但是这个名字在Usenet和一些即席的黑客团体的调查中得到的嘘声迫使斯托曼退而求其次,改用GNU/Linux这个相对自然一点的名字。 + +斯托曼想过GNU前缀的方式去强调GNU在Linux系统中所发挥的重要作用,很多人也许根本就不会注意到这一点,默多克的观点则不尽相同。在那个时候,默多克把这个看成是消除GNU工程和Linux内核开发者之间紧张关系的一种尝试。默多克回忆说,“那时候两个社区之间出现了一些分裂,理查德对此非常重视。” + +默多克认为最大的隔阂出现在glibc上。glibc是GNU C库的缩写,用于让程序员可以直接调用操作系统内核所提供的“系统调用”。1993年~1994年间,glibc一度是Linux开发过程中最大的瓶颈。由于很多的Linux用户不断地向Linux内核添加系统调用,GNU工程的glibc的维护人员很快就被各种需求压得喘不过气来。由于GNU工程不断地延期,给人们留下了拖后腿的印象,有些Linux开发者提出要给glibc创建一个Linux专用的分支。 + +在黑客的世界中,分支是一个很有意思的现象。虽然黑客的行为道德中允许一个程序员对程序的代码做任何的改进,但是大部分黑客都希望自己的改动能进入程序源代码的主干中,这样才能保证与其他人的程序保持最大程度上的兼容。如果在Linux开发的初期就对glibc创建分支,那就意味着可能会失去成百上千的Linux开发者。这也会造成Linux与斯托曼和GNU团队期望开发出的GNU系统之间的不兼容。 + +作为GNU工程的领导者,斯托曼早在1991年时就认识到了创建软件分支的不良后果了。那时候,有一批就职于Lucid公司的Emacs开发人员与斯托曼闹翻了,因为斯托曼不原意把他们对Emacs代码修改合入Emacs代码主干,于是,他们不得不创建了一个名为Lucid Emacs的分支版本。 + +默多克说,当时Debian也是出于类似原因才对glibc创建了一个分支版本,这导致斯托曼坚持要在发布Debian发行版时加上GNU前缀。“这个分支最终还是逐渐与主干合并。然而,在那个时候,人们还是很担心Linux社区是否会把自己与GNU社区割裂开来,这样做会造成开发力量分散。” + +斯托曼赞同默多克的看法。事实上,大部分主要的GNU组件在刚开始的时候都有多个分支版本。起初,斯托曼认为这些分支就像酸葡萄。与Linux内核开发组快速和作坊式的开发模式不同,GNU的源代码维护者更倾向于用一种更慢更谨慎的方式去开发程序,以保证程序长期的活力。他们对于批评其他人的代码也毫不吝啬。然而,时间慢慢流逝,斯托曼在阅读Linux开发者的电子邮件时候,发觉到他们缺乏对GNU工程和它的目标的基本认识。 + +斯托曼说:“我们发现那些认为自己是Linux用户的人们并不关心GNU工程。他们说,‘为什么我们要花力气去做这些事?我不关心GNU工程。我只关心Linux可以正常运行,其他都与我无关。’这样的想法很让人吃惊,因为他们事实上正在使用着GNU系统的一个变种,而他们甚至比其他人更容易忽略这个事实。” + +虽然有不少人觉得把Linux看成是GNU工程的一个“变种”在政治上未免显得有点贪心,默多克却对自由软件情有独钟,他觉得斯托曼要求把Debian称为GNU/Linux是合理的。“团结开发者比争抢名号更为重要。”默多克表示。 + +默多克很快建议,减少政治上的讨论,把更多精力集中到技术上来。虽然默多克对讨论政治问题已经习以为常,但说起设计和开发软件,他一定会坚持己见。这股默多克带来的风气很快蔓延到了别的GNU项目中。默多克笑着说: + + “我可以告诉你,在很多方面我与斯托曼的看法都不一致。实事求是地说,理查德是一个很难与之合作的人。” + +1996年,默多克从普渡大学毕业后,打算找人接手正在蓬勃发展的Debian项目。那时候,他已经把主要的管理职责都转交给了布鲁斯⋅佩伦斯,佩伦斯是Unix下的知名软件Electric Fence的作者,这个软件也使用GPL许可证来发布。佩伦斯与默多克一样,在GNU/Linux刚刚展现出与Unix的巨大相似性时,就喜欢上了它。他也和默多克一样,虽然没有与斯托曼和自由软件基金会有过实际的接触,但他对他们的政治目标抱有极大的兴趣。佩伦斯回忆起他在80年代末期第一次与斯托曼接触的情景,说道: + + “我记得斯托曼设计出了《GNU宣言》、GNU Emacs和GCC后,有篇文章说他正在为Intel提供咨询服务。我写信给他,问他是怎么做到一方面宣扬自由软件又一方面为Intel工作的。他回信说:我是作为Intel开发自由软件的咨询师身份为他们工作的。他的回答很有礼貌,而且也很有道理。” + +然而,作为一个杰出的Debian开发者,佩伦斯对于默多克和斯托曼之间的矛盾感到遗憾。作为开发团队的领导者,佩伦斯说他决定让Debian与自由软件基金会保持距离。他说:“我决定不采用理查德风格的微管理模式。” + +佩伦斯表示,斯托曼对这样的决定大吃一惊,但他仍然有能力去驾驭这样的复杂局面。“他给了我们一些时间冷静下来,然后发了一个邮件说我们需要建立一种合作关系。他要求我们把这个系统叫作GNU/Linux,并一直这样称呼它。我个人觉得这样是可以的。我单方面做出了决定,采纳了这个名字,让每个人都舒了一口气。” + +在很长的一段时间里,Debian都被看成是最适合黑客们的Linux发行版之一,在1993年~1994年这段时间,Slackware也是一个非常流行的发行版。虽然Linux不是一个真正意义上面向黑客的系统,但是Linux在商业Unix的市场中也找到了自己的位置。在北卡罗来纳州,一个名叫红帽的Unix公司,把他们的注意力慢慢转向了Linux。红帽公司的首席执行官是罗伯特⋅杨,他曾经是Linux通讯杂志的编辑,并在1994年时采访过林纳斯⋅托瓦兹,问他对于把内核以GPL来发布是否后悔。对于杨来说,托瓦兹的回答让他对Linux有了进一步深层次的认识,他不再寻求通过传统软件销售策略的方式把GNU/Linux边缘化,而是开始思考如果一家公司像Debian那样思考问题,会出现什么情况。比如,发布一个完全由自由软件构成的操作系统。1990年,迈克尔⋅蒂曼和约翰⋅吉尔摩成立的Cygnus Solutions的公司,早已经向世人证明通过销售自由软件相关的定制化服务是可以盈利的。如果红帽公司对于GNU/Linux采用类似的策略会如何? + +“在西方的科学传统上,我们需要站在巨人的肩膀上(指的是托瓦兹和艾萨克⋅牛顿(Isaac Newton)爵士),”杨说,“在商业上,这就告诫我们,应该在前进的途中避免重新造轮子。GPL模式的美在于把你的代码放入公有领域。如果你是一个独立软件提供商并且想开发一个软件,比如你需要开发一个调制解调器拨号程序,但是你没有必要重新开发一个拨号程序。你可以直接从Red Hat Linux中‘盗取’PPP的实现,并把它作为你的拨号程序的核心。如果你需要一个图形工具集,你不需要重新去实现一个你自己的图形库。你只需要下载GTK,就可以立刻使用前人的成熟的果实。于是,你就可以专心做你的软件提供商,少花一点时间在软件管理上,而多花一些时间在你客户所想要的功能上。” + +杨并不是唯一一个从自由软件的高效性中受到启发的CEO。1996年年末,大部分Unix公司开始清醒过来,并嗅到了源代码的香味。那时候,Linux距离成为一个完整的商用操作系统还有一两年的路要走,但是黑客社区还是感觉到这一天已经离得很近了:一场巨大的变革即将到来。Intel 386芯片、Internet和万维网像一波外星人入侵一样深入地影响了整个市场,而Linux这个可以自由使用其源代码并以宽松的许可证发布的程序包,则是这一波外星人中最强大的一个。 + +对于试图讨好斯托曼但后来又厌恶斯托曼的微管理风格的伊恩⋅默多克来说,他在自由软件运动中花费了很多的精力,这波变革看上去既是对他的赞美又是对他的惩罚。与很多Linux发烧友一样,默多克看到过托瓦兹最初的那个帖子,他看到过托瓦兹最初把Linux看作是“兴趣爱好”的想法。他也看到了托瓦兹在回复Minix作者安德鲁⋅塔嫩鲍姆的帖子中坦言:“如果GNU内核在去年春天时就已经完成,我就不会再启动我自己的这个项目。”像很多人一样,默多克知道,这种好机会已经错过了。他也看到了Internet即将带来的巨大的机遇。默多克回忆道: + + “在早期参与到Linux项目中充满着乐趣。在同一段时间里,有些东西在向前进步,有些东西则成为过眼烟云。如果你回头去看看comp.os.minix上的那些老帖子,你会看到这样的观点——这是在Hurd开发完成前我们可以先玩着的东西。人们总是性急的。它很好玩,但是如果Hurd来得更早一些的话,我想Linux可能就根本不会出现。” + +到了1996年年底,所有这些“如果”都已经盖棺定论。不管是称呼它为Linux或是GNU/Linux,用户们已经用行动证明了Linux的成功。36个月的时间窗口已经关闭,意味着即使GNU工程可以开发出Hurd内核,除了GNU的核心黑客们以外也不会有更多人会注意它。第一个类Unix的自由软件操作系统就在每个人的眼前,并且充满活力。黑客们所要做的就是安静地坐下来,等待下一波新的想法出现在他们的头脑中。即使是长着蓬乱的头发的理查德⋅斯托曼本人也不例外。 + +准备好出发了吗? + + + +第11章 开源 + +1995年11月,自由软件基金会成员彼得⋅萨卢斯(Peter Salus,他于1994年出版了《Unix的四分之一世纪》一书),在GNU工程的system-discuss邮件列表中发布了一个通知,为即将在马萨诸塞州的剑桥召开的“自由发布软件大会”征集来自黑客们的论文。这场由自由软件基金会赞助的大会将于1996年2月召开,这是第一个纯由自由软件开发者的参加的大会,为了表现出自由软件程序员的团结一致,大会欢迎“各种有关GNU、Linux、NetBSD、386BSD、FreeBSD、Perl、Tcl/tk,以及其他任何可以自由获取和分发的工具软件”相关的文章来大会交流。萨卢斯在通知中写道: + + “在过去的15年中,自由软件和低成本的软件变得越来越重要。本次大会将召集各种可自由分发软件的开发者和通过各种渠道发布这类软件的发布者来参加。大会上会有各种教程和参考论文,也会有林纳斯⋅托瓦兹和理查德⋅斯托曼的主题演讲。” + +大会组委会成员埃里克⋅斯蒂芬⋅雷蒙德是最早收到萨卢斯的电子邮件的人之一,虽然他不像邮件列表中其他人那样是某个项目的开发负责人或是代表某个公司,但他在GNU Emacs中的贡献以及作为《新黑客词典》(一本收录黑客社会各种黑话的书)的编辑的身份,使他在黑客社区中享有一定的声誉。 + +对于雷蒙德来说,1996年的这次大会是一个重要的契机。20世纪80年代,他在GNU工程中非常活跃,但到了1992年以后,他就已经不再直接参与这个工程。与许多跟他经历类似的人一样,他对斯托曼的“微管理”风格颇有微词。“理查德对于我在清理Emacs LISP库中的代码时进行的修改非常不满,”雷蒙德回忆道,“这使我感觉到很沮丧,我再也不想与他合作了。” + +除了不再直接参与GNU工程,雷蒙德在自由软件社区中仍然非常活跃。当萨卢斯建议在大会上由斯托曼和托瓦兹做主题演讲时,雷蒙德表示了非常赞同。斯托曼是老一辈ITS/Unix黑客的传承人,而托瓦兹则是新一代的更有活力的Linux黑客的代表,这样的搭配是一种联盟的象征,尤其会受到像雷蒙德这样的年经有抱负的黑客的欢迎。“我像是个脚踏两只船的人。”雷蒙德说。 + +会议召开的日子一天天临近,两个开发阵营之间的紧张关系却变得更加明显。两个团体的开发者在一个问题上的观点是一致的:这次会议是他们第一次有机会当面见到芬兰神童托瓦兹。在会议上,托瓦兹出人意料地证明了自己是一个出色而又平易近人的演讲者。除了一点点轻微的瑞典口音,托瓦兹敏捷的思路和谦虚的才智让到场的听众感到惊讶。雷蒙德说,更让人吃惊的是,托瓦兹在大会现场对其他杰出的黑客们进行了无情的抨击,包括所有黑客中最杰出的那位理查德⋅斯托曼。在大会的最后,托瓦兹的半黑客半懒鬼的作风赢得了新老两代与会人员的青睐。雷蒙德回忆道: + + “这是一个关键的转折点。在1996年之前,理查德是整个自由软件文化的唯一一个权威的精神领袖。持有不同意见的人都不会在公众面前直接表达。托瓦兹是第一个打破这个禁忌的人。” + +打破禁忌的最后一击出现在大会的最后。在一个有关微软Windows在市场中占有垄断地位的讨论中,托瓦兹承认他自己是微软的PowerPoint这个幻灯片制作软件的发烧友。从老一辈的自由软件纯化论者的眼光中,这就像是一个摩门教徒在教堂中宣扬自己对威士忌酒的热爱。从托瓦兹和他越来越多的追随者的观点来看,这并不奇怪。为什么为了表明自己观点就得刻意去回避专有软件呢?作为黑客,不是为了去忍受,而是为了更好地完成工作。雷蒙德回忆说: + + “这是一个振聋发聩的观点。然而,他可以表达这样的观点,因为在1995年和1996年,正是他在业界影响力达到巅峰的时候。” + +但斯托曼表示他完全不记得1996年的大会上有什么紧张的气氛,只不过他记得在那次大会上,他被托瓦兹的厚脸皮刺激到了。斯托曼举例道: + + “在Linux的文档中有一段描述,让人们把GNU编码标准打印出来,然后再把它们撕烂。好吧,我知道他对我们的一些做法持有反对意见。有不同意见是可以的,但是他选择了一种格外令人生厌的方式去表达这样的观点。他完全可以换个说法,‘我觉得你可以使用另一种方式来缩进你的代码。’这样就不会有攻击性了。” + +对于雷蒙德来说,黑客们给予托瓦兹高度的评价和真诚的欢迎从另一个角度上证实了他的怀疑。Linux开发者与GNU/Linux开发者之间几乎存在着一个代沟。很多像托瓦兹那样的Linux黑客是在专有软件的世界中成长起来的。除非软件的质量确实很低下,否则没什么人会对软件的许可证问题发出抱怨。在自由软件的世界中,也许隐藏着一个PowerPoint的自由软件替代品。但是,在黑客们真正开始转向使用这个软件前,为什么要嫉妒微软开发了这样一个好用的专有软件呢? + +雷蒙德曾经是一名GNU工程的成员,他能感觉到斯托曼与托瓦兹之间的紧张关系。在GNU工程开始的前十年中,斯托曼已经在程序员中建立起了威信。在软件设计和人员管理方面,他以从不妥协而闻名。在1996年大会开如前不久,自由软件基金会遭遇了一次大面积的离职事件,事件的起因很大程度是因为斯托曼。布莱恩⋅尤曼斯(Brian Youmans),萨卢斯招聘进入自由软件基金会的现任职员回忆到:“在那时候,彼得⋅萨卢斯是留在办公室中的唯一职员。” + +对于雷蒙德来说,这次离职事件几乎肯定了一种猜测:最近Hurd项目进度的延迟和类似于Lucid-Emacs分裂的麻烦反映出来的是软件项目管理中的问题,而不是代码开发的问题。自由发布软件大会召开后不久,雷蒙德开始做他自己的玩具项目,一个名为fetchmail的邮件管理工具。根据托瓦兹提供的线索,雷蒙德在发布这个程序时附加上了一个承诺,承诺尽可能及时更新源代码。当用户们开始提交问题报告和新需求时,雷蒙德发现程序并不像他起初时想的那样陷入泥潭,而是惊人的健壮。通过分析托瓦兹成功的模式,雷蒙德很快得出了一个结论:把Internet当成一个“培养皿”,并且把黑客社区简单的监督看成一个自然选择的过程,托瓦兹建立了一种革命性的模式,这种模式不依赖于集中的计划。 + +另一方面,雷蒙德觉得,托瓦兹找到了一种突破“布鲁克斯法则”的方式。在IBM OS/360项目经理佛瑞德·P·布鲁克斯(Fred P. Brooks)于1975年出版的《人月神话》一书中,布鲁克斯提出了“布鲁克斯法则”:向一个软件项目中增加开发者的做法只会造成项目的进一步延迟。对于黑客们来说,写软件就像做汤,增加厨师的人数对于改善汤的口味并没有太多作用。雷蒙德从中感觉到了一些革命性的变化:托瓦兹确实在聘请更多的厨师进入厨房的同时,也做出了更好的软件。 + +雷蒙德把他的发现写成了论文,并把它设计成若干次演讲,在宾夕法尼亚州切斯特县的一些朋友和邻居们面前宣传。在一次名为《大教堂与集市》的演讲中,他对GNU工程和托瓦兹等内核黑客们所使用的管理风格进行了比较。雷蒙德说这些演讲的反响都很强烈,不过反响最好的一次,还得是次年春天他在德国召开的1997 Linux Kongress大会上的那次演讲。雷蒙德回忆道: + + “在Kongress上,演讲结束后听众都起身鼓掌。我把这次成功归纳成两个因素。首先,这说明听众们为所听到的内容感到激动。其次,这意味着即使存在一些语言交流上的障碍,听众们依然感到兴奋。” + +最后,雷蒙德把这些演讲的内容写成了论文,同样起名为《大教堂与集市》。这篇论文的题目是对雷蒙德的核心思想的精确概括。GNU程序就是“教堂”,它们都是有计划地修建而成的宏伟的黑客精神的纪念碑,经得起时间的考验。而另一方面,Linux则更像是一个“嘈杂的大集市”,它是在Internet去中心化的松散组织结构中开发出来的。 + +相似的类比同样也适用于斯托曼和托瓦兹。斯托曼代表着经典的教堂架构,他像一个程序魔法师一样,在消失了18个月以后,带来了类似于GNU C编译器这样的神作。而托瓦兹则像是一个亲切的宴会主人,他让别人来领导Linux的设计讨论,并只在关键时候提出一些参考建议。托瓦兹所创建的这种开发模式正好反映了他懒散的个性。从托瓦兹的观点来看,最好的管理工作不是要加强对事情的控制,而是要保持思维的活跃度。雷蒙德总结说: + + “我觉得林纳斯最聪明的地方和最重要的黑客作品就他是创造出来Linux开发模式,而不仅仅是他所创造的Linux内核本身。” + +在总结托瓦兹的成功管理经验方面,雷蒙德自己也完成得非常出色。提姆⋅奥莱理(Tim O'Reilly)当时也在Linux Kongress的会场聆听演讲,他是O'Reilly & Associates出版公司的创始人,这家公司专注于出版软件使用手册和软件相关的书籍(同时也是本书英文版的出版商)。在听完了雷蒙德在Kongress的演讲后,奥莱理马上就邀请雷蒙德参加下半年在加州蒙特雷举办的首届Perl大会,请他在那次会议上再次分享这个主题。 + +虽然这次会议的主题是Perl,一种由著名的Unix黑客拉里⋅华尔设计的脚本语言。奥莱理承诺雷蒙德这次会议也会讨论其他自由软件的技术。那时商业界已经开始关注Linux和Apache,Apache是一种流行的自由Web服务器软件,奥莱理希望通过这次会议可以让自由软件更加流行,并用自由软件来建立一套完整的Internet的基础设施。从Perl或Python这些Web友好的开发语言到BIND(the Berkeley Internet Naming Daemon)这样后台的服务(用于把类似于amazon.com这样的容易记忆的域名转换为数字型式的IP地址),还有sendmail这样的流行的Internet电子邮件服务器程序,自由软件正创造着一个又一个的业界奇迹。自由软件社区存在的唯一问题就是缺少对整个社区的自我认识,总是像蚂蚁部落一样各自为营,在沙子里建造一个又一个的窝。奥莱理觉得雷蒙德的演讲可以引发人们对自由软件的认识,自由软件并不等同于GNU工程,它不会因为GNU工程的开始而诞生,同样也不会因为GNU工程的结束而消亡。Perl和Python这样的开发语言,BIND、sendmail和Apache这样的Internet软件已经证明了自由软件已经无处不在,并具有强大的影响力。奥莱理还承诺雷蒙德,在这次会议上的演讲会比在Linux Kongress上的演讲更加轰动。 + +奥莱理是对的。雷蒙德笑了笑,说:“这次,我的演讲获得了听众的起身鼓掌。” + +跟预期的情况一样,听众并不仅仅被黑客所震惊,也有很多人对自由软件运动的快速成长表达了强烈的兴趣。网景公司(Netscape)就是其中的一个。这家成立于加利福尼亚州山景城的创业公司刚刚经历了一场持续了三年的与微软争夺Web浏览器的市场的斗争。 + +出于对雷蒙德演讲的好奇和希望赢回失去的市场份额的目的,网景公司的高管们把这次演讲所传达的信息带回了公司总部。几个月以后,1998年1月,网景宣布计划开放它的旗舰级产品Navigator Web浏览器的源代码,以此希望能得到黑客们的支持,继续完成后续的开发。 + +网景公司的首席执行官吉姆⋅巴克斯代尔(Jim Barksdale)说:雷蒙德那篇《大教堂与集市》对于公司做出这样的决策有着深远的影响,公司很快把雷蒙德地位抬升到了黑客界的知名人士。为了紧紧抓住这次机会,雷蒙德出差去西海岸去进行采访,向网景的高管们提供建议,并且参与了开放Netscape Navigator源代码的庆祝聚会。Navigator的源代码的code name是“Mozilla”,这个名字一方面象征着这个程序的源代码有30万行的代码,同时也象征着它的尊贵血统。作为一个浏览器鼻祖Mosaic的商业化版本,马克⋅安德生(Marc Andreessen)在伊利诺伊大学开发Navigator浏览器时也参考了Mosaic的设计,这就再次证明了大部分程序员在打算开发一个新的程序时,总是会借鉴一些现有的、可以修改的程序。 + +雷蒙德在加州的那段时间,还找到了一次去VA Research参观的机会。VA Research公司坐落于圣克拉拉市(Santa Clara),专职销售一些预装GNU/Linux操作系统的工作站。雷蒙德召集了一次小规模的会议,仅仅邀请了VA的创始人拉里⋅奥古斯丁(Larry Augustin)、少数几名VA的雇员以及克里斯汀⋅彼得森(Christine Peterson),他是硅谷前瞻学会(Foresight Institute)的主席,他们专注纳米科技。 + +“这次会议的议程最终归结为一点:如何来总结网景公司的决策,以便让别的公司可以去效仿?”雷蒙德不记得这次讨论的内容,但是他记得这次会议中提到的另一个问题:不管斯托曼和其他黑客们如何努力的去提醒人们自由软件中的“Free”一词是指“自由”而不是“免费”,这一点仍然没有赢得大众普遍的认知。很多商业管理者第一次听到这个名词时,都把它想当然地认为是“零成本”,而并不注意到其他相关的信息。除非黑客们能找到一种方法解决这个认知上的偏差,否则,即使有网景公司作为榜样,自由软件运动想要获得最终成功,还是得面临一个艰难的登顶过程。 + +于是,彼德森成立了一个组织,专门致力于推广自由软件,他们使用了另一个词语:开源。 + +彼德森回忆道,她是在与一个朋友讨论网景公司所作的决定的时候,想到了“开源”这个词语。她不记得是她自己首创了这个词语,还是从别的什么领域借用了这个词语,但是她确实记得她的朋友并不喜欢这个词语。 + +彼德森回忆,在那次会议上,这个词语得到的反馈却是截然不同的。她说:“我很犹豫要不要提出这个建议,因为我对这个组织并不了解,所以我故意在不经意中去使用这个词语,而不是把它作为一个新词语去强调。”然而,这个词语出乎意料的受到了人们的关注。在这次会议结束时,大部分的与会者,包括雷蒙德,对于这个词语都非常满意。 + +Mozilla发布会前几天,奥莱理组织了一次讨论自由软件的会议。雷蒙德说,在这次会议之前,他从来不公开使用“开源”这个词语来替代“自由软件”。奥莱理把这次会议叫做“免费软件峰会”,期望把媒体和社区的注意力吸引到其他一些有价值的项目上去,因为这些项目对于网景公司决定发布Mozilla也起到了积极的作用。“参会的那些家伙有很多相似之处,但我很惊讶他们之前互相之间都不认识,”奥莱理说,“我同时也想让全世界知道自由软件文化已经产生了如此深远的影响。人们如果再不对自由软件引起重视,就是错过了一次很好的机会。” + +邀请这些人聚集在一起,是奥莱理一个深思熟虑的决定,并将产生深远的政治影响。他原本只打算邀请西海岸的软件开发者们,比如华尔、Sendmail的作者埃里克⋅奥尔曼(Eric Allman),BIND的作者保罗⋅维克西(Paul Vixie)。不过也有一个人是例外,那就是长居在宾夕法尼亚州的雷蒙德,因为他正好来参加Mozilla的发布会,所以也马上邀请了他。同时还有来自弗吉尼亚州的吉多⋅范罗苏姆(Guido van Rossum),他是Python语言的作者。“弗兰克⋅威利森(Frank Willison)是出版社的主编,他是Python的斗士,他决定邀请吉多参加,甚至都没有跟我商量,”奥莱理回忆说,“我非常高兴能邀请到他出席,不过刚开始的时候,我确实只是想组织一个本地聚会。” + +从一些观察者的视角来看,没有邀请斯托曼参加这次会议可以算是有点怠慢。“正是由于这个原因,我决定不去参加这次会议。”佩伦斯回忆这次峰会时回忆道。雷蒙德参加了这次会议,他却认为即使邀请斯托曼也是徒劳的。有关这次会议的组织者奥莱理怠慢斯托曼的传言,在奥莱理与斯托曼公开表明在软件手册的权限问题上的分歧后,变得更能让人信服。在会议前,斯托曼曾表示,自由软件手册应该可以像自由软件本身一样自由的复制和修改。而奥莱理那时认为非自由的图书是对自由软件的增值,它们能让自由软件被更多的社区所熟悉。奥莱理和斯托曼还为这次会议的名称发生了争论,斯托曼坚持要使用“自由软件(Free Software)”来代替不那么政治化的“免费软件(Freeware)”一词。 + +回头去看,奥莱理认为没有邀请斯托曼的决定并不是因为怠慢了他。奥莱理说:“在那个时候,我没有见过理查德⋅斯托曼本人,不过在我们的电子邮件沟通中,斯托曼看上去是个很强势的人,并且不太愿意加入对话。我希望能够保证在会议中展示出GNU的传统,所以我邀请了约翰⋅吉尔摩和迈克尔⋅蒂曼,这两个人我都比较熟悉,我知道他们对于GPL的价值都非常有热情,不过看上去他们更愿意参与有关自由软件项目和传统的优势和弱点的讨论。从后面发生的事情来看,我有点后悔没有邀请理查德,但是我没有这么做并不能看成是对GNU工程或理查德⋅斯托曼本人的不敬。” + +无论是不是怠慢了斯托曼,奥莱理和雷蒙德回忆说,在那次峰会上,“开源”一词成功地赢得了很多与会者的支持。与会者分享了各种想法和经验,并且一起进行了一场头脑风暴,讨论如何提升自由软件的形象。讨论的焦点是如何才能展示自由软件的成功之处,尤其是在实现Internet的基础架构方面,而不是讨论GNU/Linux是如何与微软Windows进行竞争的问题。不过,跟先前在VA召开的那次会议一样,这些讨论的内容在不经意间就转向了讨论“自由软件”这个词自身所存在的问题。作为会议的主办者,奥莱理记得峰会的与会者托瓦兹的一段很有见地评论: + + “那时候,林纳斯才刚刚搬到硅谷来。他解释说其实他本人也是最近才知道‘Free’这个词在英文中有两个意思,一个意思是自由,另一个意思是免费。” + +Cygnus的创始人迈克尔⋅蒂曼建议用sourceware一词来代替容易引起误解的“自由软件”一词。“不过大部分人都对这个词没什么兴趣,”奥莱理回忆道,“直到埃里克抛出了‘开源’一词。” + +虽然“开源”这个词对一些人很有吸引力,但是要让它取代“自由软件”变为一个官方的用词还有很长的路要走。结束一天的会议前,与会者开始对三个词语进行投票:“自由软件”、“开源”和“sourceware”。奥莱理说,15名与会者中有9人把票投给了“开源”。虽然有一部分人对这个词还有些意见,不过所有的与会者都同意在以后与媒体的讨论中可以使用这个词汇。奥莱理说:“我们希望能向外界发出一些团结的信号。” + +没过多久,“开源”这个词就进入了词典。这次峰会后不久,奥莱理带着与会者们参加了一个有纽约时报、华尔街日报和其他著名出版社记者参与的发布会。在短短几个月中,托瓦兹就登上了福布斯杂志的封面,正文中还出现了斯托曼、Perl语言的作者拉里·华尔和Apache团队领导者布莱恩·贝伦多夫(Brian Behlendorf)的照片。开源开始向商业市场敞开怀抱。 + +对于像蒂曼这样的参会者来说,向外界发出团结的信息才是最重要的事情。尽管他的公司通过销售自由软件和相关服务已经捞到了第一桶金,他还是可以感觉到很多其他的程序员和企业在面对自由软件时还是觉得困难重重。蒂曼说: + + “毫无疑问,使用Free这个词在很多场合都会造成误解。开源这个词则对于商业市场来说更加友好,也更容易引起商业市场的注意。自由软件则更是关注于一种道德上的正义。不管好不好,我们都觉得与开源团队合作是有益无害的。” + +斯托曼没有马上对“开源”这个新词汇做出回应。雷蒙德说斯托曼只是简单对这个词汇进行了一下了解,其实目的只是为了找个理由抛弃它。“我知道这一点是因为我跟斯托曼就这个问题有过直接的对话。” + +1998年年底,斯托曼正式表明了立场:在讨论自由软件技术优点时,“开源”是一个很有利于沟通的词汇,但是它也诱使演讲者弱化软件自由的重要性。由于存在这样的不足,因此斯托曼将坚持继续使用“自由软件”这个词汇。 + +1999年召开的LinuxWorld博览会,托瓦兹把它看成是宣传Linux社区产出的大好机会,在这次会议上,斯托曼总结了他的立场,他恳求他的追随者抵抗住诱惑。 + +斯托曼在一次小组讨论上说:“我们已经展示了很多我们已经取得的成就,所以我们不需要为了去讨好公司而放弃我们的目标。如果某些公司能向我们提供帮助,那么我们可以接受。如果他们不愿意,我们也没有必要去改变自己来争取这些帮助。只要你能不断向着目标慢慢前进,最终一定能实现目标。如果你们什么事情都采用折中的方式,不真正往前前进,就永远也不能实现目标。” + +事实上,在LinuxWorld大会之前,斯托曼已经表现出他正在慢慢疏远他的同盟。免费软件峰会召开后几个月,奥莱理主办了他的第二次年度Perl大会。这一次,斯托曼参加了会议。在一次有关IBM决定在它们的商用方案中整合Apache Web服务器这个自由软件的小组讨论中,斯托曼抢过了听众的话筒,把矛头指向了与会者之一的约翰·欧斯特霍特(John Ousterhout),他是Tcl脚本语言的作者。斯托曼把欧斯特霍特称作是自由软件社区的寄生虫,因为他通过他自己开办的名为Scriptics的创业公司销售一个商业版本的Tcl。“我不觉得Scriptics是Tcl继续存活下去所必须的。”斯托曼在听众们的窃窃私语中表示。 + +Prime Time Freeware公司的李奇⋅莫林回忆说: + + “当时的场面非常尴尬。约翰做出了一些很让人值得尊敬的东西——Tcl、Tk和Sprite。他是自由软件社区中一个真正的贡献者。” + +莫林很理解斯托曼以及他的立场,但他也同样理解那些被斯托曼无理的行为扫兴的人们。 + +斯托曼在Perl大会上的爆发也影响了另一位潜在的追随者——布鲁斯⋅佩伦斯。1998年,埃里克⋅雷蒙德打算发起开源倡议组织——OSI,一个监管“开源”这个词语使用并向感兴趣的公司提供标准的组织。雷蒙德请佩伦斯来起划这个标准。 + +佩伦斯不久就从OSI的高管位置上辞职,他对这个组织与斯托曼和自由软件基金会对立的立场表示遗憾。回忆往事,从在自由软件基金会以外重新定义自由软件的需要来看,佩伦斯理解了为什么其他的黑客们仍然觉得需要与之保持距离。“我非常敬仰理查德,”佩伦斯说,“我觉得如果他能更为平衡地处理各方关系的话,他会把事情完成得更好。我觉得他应该花几个月时间远离自由软件,静下来好好思考一下。” + +斯托曼的个人偏执并不足以对抗开源斗士对商业界的公关势头。1998年8月,芯片厂商Intel购买了GNU/Linux供应商红帽公司的股份,纽约时报在随后的文章中评价红帽公司为“自由软件和开源”运动的产物。半年后,约翰⋅马尔科夫(John Markoff)在苹果电脑杂志上发表文章,标题中称该公司开始使用“开源”的Apache服务器。 + +这样的势头与很多公司拥抱“开源”一词的势头非常一致。到了1999年8月,红帽这家乐意把自己标榜为“开源”的公司在纳斯达克上市。同年12月,VA Linux公司(曾经的VA Research)正式IPO。这家公司的股票价格从开盘的每股30美元一路彪升到300美元,并最后回稳在239美元左右。股东们很幸运地抄了底,并且享受到了698%的纸面收益,打破了纳斯达克的历史记录。 + +埃里克⋅雷蒙德也是这些幸运的股东们中的一员,从Mozilla发布开始,他就是VA Linux公司董事会成员,他收获了150000股的VA Linux股票。雷蒙德那篇对比斯托曼和托瓦兹的管理风格的文章给他的净资产增值了36万美元,这让他自己也觉得很震惊,于是他又写了一篇文章,在这篇文章中,雷蒙德思考了黑客道德与货币财富之间的关系: + + “最近记者们经常问我是否认为开源社区会因为大量资金的注入而被破坏。我对他们说,我所相信的是商业公司对程序员的需求一直非常旺盛,所以,任何一个只是渴求金钱的人应该早就离开了社区。我们的社区是自我选择的结果,人们所关注的是其他的东西,比如:成就感、骄傲、艺术热情和彼此之间的关系。” + +不管这些评论是否减轻了雷蒙德和其他开源拥护者的行为是以金钱为目的嫌疑,但是他们向开源社区传达了一个最基本的信息:想要宣传自由软件的概念,只需要一张友善的面孔和合乎情理的信号。不用像斯托曼那样正面与商业市场斗争,雷蒙德、托瓦兹和其他黑客社区的新领导者们需要一种更宽松的方式:在某些领域忽略市场,通过别的方式去影响它。不能扮演被学校开除的那个角色,而应该成为社会的名流,在这个过程中不断扩大自己的影响力。 + +雷蒙德说:“在理查德最不如意的日子里,他认为我和林纳斯⋅托瓦兹串通搞阴谋绑架他的革命。理查德拒绝使用开源一词,并且故意认为我的观点是意识形态上的分歧,这是由于他自己的理想主义和领地主义的混合结果。从外人的眼光看来,可能会以为这是理查德的个人野心膨胀的结果。但我不这样认为。我觉得这不仅仅是野心,这更是因为理查德把自己和自由软件的理念紧紧地绑在了一起,在他看来,任何对自由软件的威胁就是对他本人的威胁。” + +让人觉得讽刺的是,开源和像雷蒙德这样的开源拥护者的胜利并不能撼动斯托曼作为领导者的角色。斯托曼的一举一动都有机会给他带来新的追随者。而雷蒙德则还没有到达这样的高度。斯托曼时常手持武器,充满攻击性。但这不是因为出于原则,而更多是出于习惯:比如,他一开始反对Linux内核,现在则是作为一个自由软件运动的政治形象考虑,不愿意在自由软件理想以外的领域去冒险。 + +除此之外,近期关于开源的争论也表明:当斯托曼手持武器时,通常是他找到了一种可以让他的事业有所进展的方式的时候。伊恩⋅默多克说:“斯托曼最重要的一个性格特征就是他不会动摇自己的立场。如果需要,为了让别人接受他的观点,他可以等上十年。” + +默多克所发现的斯托曼这个不动摇的特质既新鲜又宝贵。就算斯托曼不再是自由软件运动的唯一领袖,他仍然是自由软件社区的北极星。默多克说:“你可以坚信他永远会坚持他自己的观点,虽然大部分人都不是这样的。不管你是否同意他的观点,你都必须尊重他的观点。”因为事实常常证明:他站得更高,看得更远。 + + + +第12章 开往黑客地狱的短暂旅途 + +理查德·斯托曼双目凝视着车外,眼睛一眨不眨,我们正坐在这辆租来的汽车里途经津汇城区,等待着信号灯变绿。 + +我们正在前往附近一个名为芭雅的小镇,去会见一些软件开发者和他们的妻子,然后一同去参加一小时后将在另一地点开场的晚宴。 + +斯托曼刚刚在茂宜高性能计算中心完成一次演讲,晚宴的开始时间距离演讲结束只有两小时。演讲开始前,津汇对我们的到来显得如此热情,而现在,则让人感觉到它处处在为难我们。跟很多海边城市一样,津汇只有一条主干道贯穿全城。行驶在津汇的主干道上,看着路边的汉堡店、房产中介和比基尼商店,让人感觉到像是一条巨大的绦虫正在吞下一片穿着钢盔铁甲的食物。除了一直向前开,没有别的选择,车流就像一条蜿蜒的溪流。200码开外,信号灯变绿了。当我们开始往前挪动车子时,灯又变黄了。 + +对于斯托曼这样长期在东部生活的人来说,把夏威夷午后明媚的阳光浪费在拥堵的马路上足以诱发他的脑血栓。更糟糕的是,其实在四分之一英里前,有一些可以右转的道路,如果车辆趁早转弯,就可以避免这可怕的交通拥堵。不幸的是,我们需要跟着前面车辆,那辆车的司机是一名实验室的程序员,他认识去往目的地的路,并且是他决定带我们从芭雅的观光道路通行,而不是绕行附近的彼拉尼高速公路。 + +斯托曼叹着气失望地说:“这实在是太可怕了,我们为什么没走另一条路呢?” + +终于,我们前方四分之一英里处的信号灯变绿了。但我们仍然只能前进很短的一段距离。十分钟内,这样的过程重复了好几次,直到我们最终慢慢地挪到了相邻一条公路的十字路口后。 + +我们前面的车没有理会这个十字路口,继续向前行驶。 + +斯托曼沮丧地挥动着双手,抱怨道:“他为什么不拐弯呢?你们不觉得奇怪吗?” + +我决定不回答这两个问题。我知道我正与斯托曼在茂宜岛同乘一辆车,他在开车,这让人很难以至信。事实上,两小时前我还不知道斯托曼会不会开车。而现在,我们在车上欣赏着马友友的“阿巴拉契旅行”专辑中大提琴所发出的让人感到悲伤的低音音符,看着太阳渐渐从我们的左边落下,我尽可能地让自己沉浸在这样的氛围中。 + +当下一个转弯的机会出现的时候,斯托曼打开了右转向灯,试图提醒前车的司机。不过好运气依然没有眷顾我们,汽车又一次慢慢地驶过了十字路口,在距离下一个信号灯至少200码的地方停了下来。斯托曼终于忍不住大发雷霆。 + +“他简直就是故意无视我们的存在。”他愤愤地说。一面又像机场的信号官指挥飞机降落一样打着手势,尝试着吸引向导的注意力。向导像是完全没有注意到这一点,在接下来的五分钟里,我们只能在他的后视镜里看到他的一小部分脑袋。 + +我从斯托曼的车窗向外看,附近的卡胡拉威岛和拉拿夷岛与落日一起构成了一副美丽的画面。这是一副美得让人窒息的画面。我想,如果你是一个夏威夷本地人,一定会因为这样的美景而忘记了堵车的烦恼。我试图把斯托曼的注意力引向这里,但是他的注意力仍然一心集中在前面那个无视我们的司机身上,完全不搭理我。 + +司机开过另一个亮着绿灯的路口,完全无视边上“下一个路口向右转驶入彼拉尼高速”的标识。我咂了咂嘴。我记起以前一位BSD程序员基思·博斯蒂克警告过我:“斯托曼无法容忍傻瓜,如果有人说了或者做了一些什么蠢事,他会看着他的眼睛说:‘这样做太愚蠢了。’ + +看着前方心不在焉的司机,我觉得他做的就是所谓的蠢事,而不只是一些不太聪明的事,这些蠢事正在让斯托曼备受煎熬。 + +“他好像完全没有想过应该如何有效地到达目的地,所以才选择了这么一条路。”斯托曼说。 + +“有效”这个词像是一股坏气味停留在了空中。很少有事情能比“低效”更刺激到一个黑客的神经了。当年,正是因为施乐的打印机一天要检修两三次所带来的低效才激发了斯托曼想要获取打印机源代码的想法。也正是因为要从头编写被商业公司所绑架的商用软件低效,才引发了斯托曼与Symbolics公司之间的斗争,从而诞生了GNU工程。让⋅保罗⋅萨特(Jean Paul Sartre)曾经说,如果其他人是地狱,那么黑客的地狱就是重复其他人愚蠢的错误,毫不夸张地说,斯托曼的一生,就是在尝试把人类从地狱的火焰中拯救出来。 + +这种有关地狱的隐喻在我们缓慢通过这被美景环绕的城市时变得更为明显。四处都是商场、停车场和缺乏设计的信号灯,这看上去不像是个城市,倒更像是一个设计得很糟糕的软件。城市的规划者把城市设计成所有的车辆都要通过主干道,而不是把车流分散到支路和高速公路上。从黑客的角度来说,坐在车里并被围困在这一团糟的交通中,就像是用最大的音量听一张录有在木板上钉钉子声音的CD。 + +“不完美的系统会激怒黑客,”史蒂芬·李维说过这样的话,这是我决定与斯托曼同坐一辆车前应该听取的另一个忠告,“这是黑客们通常不喜欢开车的原因之一:这是一个充满不确定性的程序,交通信号灯总是随机地变化,还有横七竖八的单行道,导致交通经常堵塞。这实在是太不必要了(李维强调说),应该让黑客们重新安排一下信号灯,打开交通灯控制盒,重新设计整个系统。” + +更让人感到沮丧的,是我们向导的愚笨,他没有像一个黑客那样本能地做出最聪明的选择,选择一条更为聪明的捷径,而是坚持陪着城市设计者玩他们愚蠢的游戏。像但丁《神曲》中的维吉尔一样,不管我们是否希望,他都打定主意要让我们完整地体验这个黑客的地狱。 + +在我还没有来得及告诉斯托曼我的发现以前,前方的司机终于在路口右转了。斯托曼耸起的肩膀总于放松了一些,车里紧张的空气稍稍消散了一些。然而,当前面的司机把车慢慢停下来时,紧张的气氛又回来了。道路两侧的放着“前方施工”的标识,虽然彼拉尼高速公路就在前方不到四分之一英里的距离,我们的车与高速公路间的一条两车道的公路被一辆停着的推土车和两大堆土方完全堵住了。 + +我们的向导在我们的面前忽然把车笨拙的调了个头,斯托曼一时都没有反应过来。当他看到了面前的推土机和“禁止通行”标识后,他终于再一次爆发了。 + +“为什么,为什么,为什么?”他抱怨道,把头一仰,“你早该知道前面的路被封住了,你早该知道不能走这条路。你是故意这么做的。” + +向导的车已经调好了头,从我们身边开过,开回那条拥塞的主干道。在他经过我们身边时,他摇了摇了头,给了我们一个抱歉的耸肩。他露出牙齿,司机的姿势显示出了一个外地人的失望,但是这已经被岛国人的宿命所中和了。从我们租来的车紧闭的窗户望出去,我们似乎看到了这么一句话:“嘿,这就是茂宜岛,你想做什么?” + +斯托曼再也无法忍受了。 + +“你可不可以不要再笑了!”他咆哮道,雾气蒙上了他的眼镜片,“这全是你的错。如果听我的走另一条路就不会这样了。” + +斯托曼加重了“听我的”一词,紧紧的抓住方向盘并两次把它拽向自己。斯托曼的样子就像是一个在汽车座位里发脾气的小孩子,他的声音进一步加强了这样的形象。斯托曼又生气又郁闷,眼泪几乎就要掉下来。 + +幸运的是,眼泪最终没有到来。就像夏天的暴雨,斯托曼的愤怒转瞬即逝。他轻轻叹了口气,把车挂到倒档,并开始调头。当我们回到城市主干道上时,他的表情让人过目不忘,就跟我们提前半小时离开酒店时的表情一样。 + +我们花了不到五分钟时间,到达了下一个十字路口。这里可以容易地驶入高速公路,很快,我们就加大马力向着芭雅驶去。刚才斯托曼左肩上若隐若现的黄色太阳现在变成了橙红色,出现在我们的后视镜中。金色的阳光撒向高速公路两边的树木。 + +接下来的二十分钟,只剩下了汽车的声音,包含着引擎和轮胎的轰鸣声。像是大提琴与小提琴的三重奏,演绎着阿巴拉契的民歌旋律。 + + + +第13章 斗争仍在继续 + +对于理查德·斯托曼来说,时间并不能治愈所有的伤口,但却也算是一个不错的医生。 + +《大教堂与集市》一书出版后四年,雷蒙德给斯托曼留下的伤口虽已收疤,但仍然在隐隐作痛。斯托曼一直在抱怨林纳斯⋅托瓦兹被人们提升到了世界上最知名黑客的行列的这件事。他回忆起一件1999在Linux商展台前一度很流行的T恤衫。这件T恤衫上的图案模仿了星球大战当年的宣报海报,上面的托瓦兹像卢克⋅天行者(Luke Skywalker)一样挥舞着激光剑,而斯托曼的脸出现在R2D2的上方。这件T恤衫之所以惹怒了斯托曼是因为它把斯托曼描绘为托瓦兹的死党,同时还把托瓦兹提升到了自由软件和开源社区的领袖位置,即便这个位置托瓦兹本人也不愿意担当。“这实在是太讽刺了!”斯托曼悲哀地说,“拿起武器正是林纳斯所不愿意去做的。他希望自己成为一次运动的焦点,所以他并不想发起战争。战争有什么好的呢!” + +与此同时,对于托瓦兹来说,“拿起武器”也确实不是他想做的,他敞开大门让斯托曼去提升他作为黑客社区的道德仲裁人的影响力。不考虑他所受的委屈的话,斯托曼必须承认,在过去的几年中,无论是对他还是对他的组织,这样的结果都是很好的。虽然GNU/Linux出人意料的成功让自由软件运动变得有些边缘化,但是斯托曼还是成功地找到了他的位置。在2000年1月到2001年12月之间,他的演讲覆盖了六大洲并且访问了一些对于软件自由的理解存在更多弦外之音的国家比如中国和印度。 + +除了像一个出色的布道者那样,斯托曼也学会了如何去利用他作为GNU GPL的海岸警卫队员的权力。在2000年夏天,当1999年Linux IPO的泡沫散去的时候,斯托曼和自由软件基金会获得两个重要的胜利。2000年7月,挪威软件公司Troll Tech宣布对他们所开发的Qt库使用GPL许可证,Qt库是GNU/Linux操作系统中一个重要的图形开发库。几周后,一个对开源潮流跃跃欲试却又不想放弃对他们的专有软件控制权的Sun公司宣布对他们的OpenOffice应用套件采用LGPL和Sun Industry Standards Source License(SISSL)进行双重许可。 + +对于这些胜利,其实斯托曼并没有做什么特别的努力。对于Troll Tech的案例来说,斯托曼只是扮演了自由软件教主的角色。1999年,Troll Tech想寻求一种与自由软件基金会要求相符的软件许可证,但在仔细审阅许可证后,斯托曼发现了一些条款在法律上存在冲突,使得Qt无法与GPL许可证的自由软件绑定在一起。Troll Tech的管理团队疲于与斯托曼在许可证条款上斤斤计较,决定把Qt拆分成两个版本,一个使用GPL许可证,另一个使用QPL许可证,让开发者可以有办法绕开斯托曼所发现的许可证条款中的冲突。 + +在Sun公司的例子里,他们希望能按照自由软件基金会的游戏规则来进行。在1999年的O’Reilly开源大会上,Sun公司的共同创始人和首席科学家比尔·乔伊为该公司的“community source”许可证辩护,这个许可证本质是放松了限制,用户无须与Sun公司签署协议就可以免费复制或修改Sun的软件。乔伊发表演讲一年后,Sun公司的副总经理马科·博瑞斯(Marco Boerries)再次登上这个演讲台,发布该公司的对于OpenOffice使用的新许可证。OpenOffice是为GNU/Linux系统设计的办公套件。 + +博瑞斯说:“我可以用三个字每来拼写它,GPL。” + +在那时候,博瑞斯说Sun公司的决定与斯托曼没有什么直接的关系,而是更多的因为GPL软件蓬勃发展的势头。“现在的实际情况是,很多人认识到不同的软件产品与不同的社区,选用什么样的许可证就取决于你希望赢得哪个社区的注意力,”博瑞斯说,“对于OpenOffice,我们希望能与GPL的社区密切合作。” + +这样的评论一方面承认了GPL在业界的地位,另一方面也承认了在幕后创建这种许可证人的政治天才。伊本·莫格林(Eben Moglen)说:“他一定不是一个律师,不然怎么可能把GPL写成这个样子。”莫格林是哥伦比亚大学的法学教授,也是自由软件基金会的法律顾问。他接着说:“但是它很有效,它之所以有效是因为理查德·斯托曼所坚持的设计哲学。” + +莫格林曾经也是一名专业程序员,在1990年时为斯托曼提供过无偿的法律服务,那时斯托曼在一件私人事件上请求莫格林的法律援助。莫格林后来还协助加密学专家菲利普⋅齐默曼(Phillip Zimmerman)与联邦政府进行相关的法律斗争,对于能够在法律事务上帮助斯托曼,他感到非常荣幸:“我跟斯托曼讲,我每天都在使用Emacs,要还这个人情,我必须要义务提供一大堆法律服务才能对得起良心。” + +从那以后,莫格林也许比任何一个人都更有机会去近距离研究斯托曼的黑客哲学在法律领域中的表现形式。莫格林说斯托曼对待法律文书和软件源代码的方式基本上是一致的。“作为一个律师,我必须得说,对待一份法律文书的正确方式是找出他里面存在的问题,”莫格林说,“在每一个法律的立法过程中都有很多的不确定性,每一个律师都希望能为他的代理人抓往这些能带来好处的不确定性。理查德的目标是从另一个方面达到相同的目的。他的目标是去除那些不确定性,但这自古以来就被证明是不可能的。要起草一个在任何国家任何情况下在任何法律系统中都适用的许可证是不可能的。但如果你朝着这个目标去努力,你就会走到跟他相同的一条路上。最终结果的简洁设计几乎到达了期望的效果。一个真正的律师很难把你引导到这么好的结果上。” + +作为一个负责推动斯托曼的自由软件运动进程的人,莫格林非常理解那种不确定的同盟所带来的挫败感。莫格林说:“理查德是一个从不妥协的人,在他认为是一些核心的根本问题上,他从不尝试通过语言上的技巧或换用一种更委婉的说法来取悦别人,但这种技能又是在人类社会中必不可少的。” + +由于自由软件基金会不愿意在一些GNU开发和GPL限制以外的问题上费太多心思,莫格林开始把他过盛的精力放在帮助电子前哨基金会(Electronic Frontier Foundation)的事务上面,这个组织向近期一些版权相关的被告提供法律援助,比如德米特里⋅斯柯里亚夫诺(Dmitry Sklyarov)。2000年,莫格林同时也是一群黑客的代理律师,帮助他们处理有DVD的解密程序deCSS相关的事务。在这两个案子中,他的主要代理人都没有什么明确的想法,这时莫格林才真正理解了斯托曼的倔强个性。“这些年中,我不止一次的跟理查德说:‘我们需要这么做,我们需要那么做。’这是一个战略布局。下一步我们这么做。这是我们需要去做的。’但是理查德的回答永远都是‘我们不需要做任何事’。只需要静静地等着,那些需要完成的事都会慢慢完成的。” + +“你知道么?”莫格林补充说,“总体上来说,他是对的。” + +莫格林这样的评价否定了斯托曼对自己的评价:“我不是个能运筹帷幄的人。”斯托曼针对一些从未谋面的人认为他是一个精明的战略家的评价,曾这样说:“我不善于看到未来的形势并且参与一般人所会做的那些事情。我的方法是永远关注事情的基础,也就是说,‘让我们一起尽可能地打好基础吧。’ + +GPL变得越来越有名,并且继续保持它对外界的吸引力,这是对斯托曼和他的GNU同事所构建的基础架构的最好礼物。斯托曼已经不能再标榜自己为“最后一个真正的黑客”,但他可以通过建立自由软件运动的道德框架来树立他的新形象。其他现代的程序员在这个框架中工作是否舒服并不是最重要的事情,最重要的是他们已经选择了使用斯托曼最伟大的遗产这一事实。 + +在这个时候来讨论斯托曼的遗产似乎有点太早。在写作本书时,斯托曼只有48岁,还有不少的时间可以从这些“遗产”中增加或减少一些东西。如今的自由软件运动早已没有了名义上的领导,但却能自我组织,运行良好。面对这样的事实,人们也许更希望超脱于软件行业内的明争暗斗,从严肃的历史角度去审视斯托曼的一生。 + +为了维持他的形象,斯托曼拒绝一切投机的机会。“对于那些无法预知未来会怎样的东西,我没有办法做出相应的计划,”斯托曼说,用他那早来的墓志铭来总结便是:“我说过,我要去斗争,没有人知道我会到达哪里。” + +毫无疑问,斯托曼的个性让他疏远了很多潜在的同盟。然而,这也是他直率、讲究道德底线的一个体现。在必要的时候,以前的一些政治对手仍然愿意帮他说一些好话。斯托曼的理论与斯托曼的黑客天才很容易让一名传记作者感到疑惑:如果有一天斯托曼由于某些原因丢失了他那种强烈的个性,人们会如何去看待他? + +在本书的早期草稿中,我把这个问题称为“一百年”问题。期望用这个词来刺激斯托曼的目标和他的工作,我找了几位软件工业的杰出人物,让他们把自己置身当前的时间外,把他们自己放到一个历史学家的角度,从一百年以后往回看自由软件运动。不难发现斯托曼与以前的一些美国历史名人之间的相似之处,他们在有生之年所做的一小点东西,在历史上就能影响整整的一代人。比如,亨利⋅戴维⋅梭罗(Henry David Thoreau),他是一个先验论的哲学家,曾经写出《公民不服从》一文;还有约翰⋅缪尔(John Muir),塞拉俱乐部的创始人,也是现代环保运动的先驱;类似的人还有威廉⋅詹宁斯⋅布莱恩(William Jennings Bryan),他有着“伟大的平民”的称号,他是平民主义运动的领导人,垄断部门的敌人,他虽然曾经很强势,但是他的光辉已经在历史的长河中渐渐地褪去。 + +斯托曼并不是第一个将软件看成是公有财产的人,但是因为他创造了GPL,让他必定会在历史书籍中留下一笔。基于这样的事实,看上去很值得脱离现在的时间去审视理查德⋅斯托曼的遗产。假设到了2102年,软件开发者们还会继续在使用GPL吗?还是它早已经被抛弃到了路边?“自由软件”这个词会像“自由白银”一词在今天一样的古朴还是会体现出对未来政治事件的神奇预测? + +试图预测未来是一件很冒险的事情,但是大部分人在遇到问题时,总是会迫切地想去解决它。莫格林说:“一百年以后,理查德和其他一些人也许不仅仅能在历史中留下一笔,他们还会成为一个时代的主角。” + +莫格林所说的应该出现在未来教科书中的“其他一些人”包括约翰·吉尔摩,他是斯托曼GPL的顾问,也是后来电子前哨基金会的创始人。还有西奥多·霍尔姆·尼尔森(Theodor Holm Nelson),也叫泰德·尼尔森(Ted Nelson),他是1982年出版的《文学机器》一书的作者。莫格林说,斯托曼、尼尔森和吉尔摩都在历史上以他们各自特有的方式做出了巨大的贡献。尼尔森创造了“超文本”的概念,解决了在数字时代标定信息所有权的方式。吉尔摩和斯托曼则是指出了信息控制所带来了负面的政治效果,并且他们还创建了一些组织,包括吉尔摩所创建的电子前哨基金会和斯托曼的自由软件基金会,这些组织都致力于解决这些不好的效果。在他们两个之间,莫格林觉得斯托曼的活动更为个人化,从本质上来说没有那么政治化。莫格林说: + + “理查德是一个独一无二的人,在很早的时候,他就认清了非自由软件一些不太道德的地方。这与斯托曼本人的个性非常相关,很多人都有兴趣去研究他的这种个性,但是人们常常会把它描写成理查德⋅斯托曼个性中的一种缺陷。” + +吉尔摩对自己能够同时与古怪的尼尔森和暴躁的斯托曼打交道这件事认为是一种“混杂的荣幸”,他很赞成莫格林的观点,写道: + + “我的猜测是,斯托曼的作品会像托马斯·杰斐逊(Thomas Jefferson)的一样伟大:杰斐逊是一个思路清淅的作家,并且对他的原则非常清楚……至于理查德能否像杰斐逊一样具有影响力,主要取决于我们今天所说的‘公民权利’这个抽象的概念在一百年以后是不是比今天的‘软件’或‘技术限制’更为重要。” + +“斯托曼另一项被人们所忽视的遗产,”吉尔摩写道,“是由GNU工程所领导的合作式的软件开发模式。”这种模式虽然有时也存在一些缺陷,但还是成为了软件业中的一项标准。吉尔摩说,这种合作式的软件开发模式事实上比GNU工程、GPL许可证或任何其他一个由斯托曼开发的软件本身更具影响力: + + “在Internet出现以前,很难实现异地的软件合作开发,即使是一个互相了解和信任的团队也是如此。理查德引领了软件合作开发的潮流,而且还是未曾谋面的无组织的开发志愿者们。为了实现这个目标,理查德没有创建什么基础工具(比如TCP协议、电子邮件列表、diff和patch工具,tar文件格式,RCS或CVS或remote-CVS),但他选择了那些现有的可以帮助程序员群体开展有效合作的工具。” + +2001年出版的《思想的未来》一书的作者,斯坦福大学法学教授劳伦斯⋅莱斯格(Lawrence Lessig)表达了类似的乐观观点。与其他法律界的学者一样,莱斯格把GPL看成是现在所谓“数字大众”的主要保障。通过把很多社区开发的软件、网络和电信标准聚集起来,在过去的三十年中,带来了Internet的指数级的增长势头。与其他的Internet先驱相比,比如万尼瓦尔⋅布什(Vannevar Bush)、文顿⋅瑟夫(Vinton Cerf)和约瑟夫⋅利克莱德(J. C. R. Licklider)这些让大众看到计算机技术发展的人,莱斯格认为斯托曼的影响力更为个人化和内省式的,并且是独一无二的: + + “把这些争论从‘是不是’变为了‘应不应该’。他让人们看到危机,并且他创造了一种方式让这些理想得以延续……也就是说,我并不确定应该怎么把他与瑟夫或利克莱德去比较。他们的创新之处截然不同。这并不是某一段代码或者是让Internet活跃起来,这更多的是让人们去认识Internet的某种特殊价值。我觉得这样的人前无古人、后无来者。” + +当然,并不是所有人对斯托曼的看法都是一成不变的。埃里克·雷蒙德作为开源的拥护者,认为斯托曼的领导角色从1996年开始就弱化下去了,如果透过水晶球去看2102年的情景,也许会看到更为多样的信息: + + “我认为斯托曼的作品(GPL、Emacs和GCC)会被认为是革命性的作品,是信息世界的奠基石。我觉得历史不会像斯托曼理论所设想的那样,也不会像他个人所倡导的领地化和邪教领袖行为那样的。” + +作为斯托曼本人,他也看到很多的可能性: + + “二十年后,历史对GNU工程的评价,会取决于谁赢得了自由的斗争,正确地去使用公共知识。如果我们失败了,我们就会成为沧海一粟。如果我们成功了,人们也许也不能正确地认识到GNU操作系统的角色,如果大家误以为这个系统叫“Linux”的话,那他们其实是搞错了情况,并且没有理解形成这一切的原因。” + “但是,即使我们赢了,一百年以后人们所能了解到的历史,也更多地依据于政治上占有主导地位的一方的观点。” + +斯托曼找到了与他相似的历史人物:19世纪的约翰·布朗(John Brown)。他是一名激进的废奴主义者,他在梅森-迪克森线的一边被看成是一个英雄;而在另一边,则被看成是一个疯子。 + +约翰⋅布朗的奴隶起义最终没有真正开始,但是,他的行为唤醒了人们对于废奴的要求。在南北战争中,约翰⋅布朗是一个英雄:一百年后,尤其在20世纪初,历史教科书都把他描绘成一个疯子。种族隔离时期,种族间的隔阂还十分严重。那时,美国还部分地接受着南方的种族歧视主义观点。那会儿的教科书,说起美国南北战争时,依旧会提到一些种族主义观点。 + +这样的比较,记录了斯托曼工作自省的理性性格特点,也记录了他当前声誉的两面性。尽管我们没有看到斯托曼的声誉降到美国内战后重建时声名狼藉的布朗那么低,但是除了他难得使用一些言辞激烈的类比去攻击别人,他所做的一切很难激发暴力。不难想象,即使在未来,斯托曼的观点变得烟消云散时也会是一样。让自由软件这个词汇变得流行,不像是一个群体运动,倒像是一系列与专有化诱惑进行的个人战斗。斯托曼看上去处在一个不利的地位,尤其是在面对那些顽固的对手们时。 + +总有一种美好的愿望,那就是有一天历史会证明斯托曼留下的是一笔伟大的财富。莫格林在过去的十年中密切关注着事态的变化,他不断地提醒那些误解了斯托曼个性的人,斯托曼的个性并不是他在生活中的一种缺陷。莫格林曾说过,如果没有这样的个性,就没有这么多可以讨论的作品。作为一名曾经在最高法院工作的职员,莫格林说: + + “我曾经服务过的最伟大的人是瑟古德⋅马歇尔(Thurgood Marshall)。我知道是什么让他成为了一个伟大的人,我明白为什么他可以用他的方式去改变世界。我并不想把斯托曼与马歇尔作比较,因为他们两人并没有什么共同点。瑟古德⋅马歇尔是一个善于社交的人,抛开他所处的环境来看,他也只是人类社会中的一员。斯托曼与他在很多方面都并不相似,但是如果说要在茫茫人海中寻找一个可以与马歇尔相提并论的人物,斯托曼依然是其中一颗耀眼的明星。” + +为了把斯托曼的这种形象描述清楚,莫格林回忆起2000年春天的一幕。VA Linux IPO成功的故事仍在商业媒体中产生共鸣,很多的自由软件相关的内容在这些新闻中被提及。莫格林回忆起他与斯托曼在一起共进午餐时的情景,他们正被暴风雨般的文章和评论所包围,就像是被大风吹进台风眼中的遇难者。在接下来的几个小时中,他说,他们的对话渐渐地转向一个主题:加强GPL的地位。莫格林回忆说: + +“我们坐在那里讨论对于东欧出现的一些问题我们应如何去解决,以及当内容的所有权问题成为威胁自由软件的一个问题时我们应怎么做。在我们讨论的时候,我简单地想了想,对于旁边路过的行人来说,我们是什么样的一个形象。这就是我们,两个留着络腮胡的无政府主义者,设计着下一步的行动。并且,理查德正在清理他头发里的小碎屑,并把它们若无其事的扔进了汤里。任何听到我们谈话内容的人都会觉得我们是疯子,但是我知道,我知道革命就将从我们这张桌子开始。这里就是革命开始的地方,这个人就是发起这场革命的领导者。” + +莫格林说在那一刻,比其他任何时候,都准确地体现出斯托曼风格的简洁性。莫格林回忆道: + + “这是件很有趣的事情。我对他说,‘理查德,你得明白,你和我两个人在这次革命中一分钱也没赚到。’然后我还得给他付午餐钱,因为他没有钱来付。” + + + +第14章 跋:粉碎孤独 + +[RMS:由于这一章节的内容主要是萨姆·威廉姆斯的一些个人观点,我对正文的修改都将以方括号或省略号进行标记。我所做的改动主要是为了澄清一些技术或法律上的问题,同时,我删除了一部分具有攻击性或是缺少信息量的段落。我也加了一些以“RMS:”打头标记的注释,用于回应文中的一些观点。在这一版中,威廉姆斯本人也进行了一些修改,他的改动没有明显的标识出来。] + +为一个还没有去世的人撰写传记有点像是在表演话剧,台前的演出与幕后的故事相比,总是显得苍白无力。 + +在《马尔科姆·艾克斯传记》一书中,作者亚历克斯·哈里(Alex Haley)把幕后故事搬到了台前。在这本书的后记中,哈里不再以代笔人的身份出现,而是表达了自己的心声。在后记中,哈里讲述了自己作为一名被伊斯兰民族组织发言人当作“工具”和“间谍”的自由记者是如何突破个人和政治壁垒,最终成功出版马尔科姆·艾克斯传记的故事。 + +我并不想把本书与《马尔科姆·艾克斯传记》进行什么比较,不过我还欠哈里一个人情:如果没有他的后记作榜样,我不会写出这么一部坦诚的作品。在过去的一年中,他的那篇后记被我当成是一本行事指南,指导我解决如何与一个从来不愿意与他人合作的传记人物合作的问题。 [RMS:我在自己的职业生涯中确实习惯于对一些别人不假思索就接受的事物说“不”,所以我有时看上去也确实是一个不太愿意与他人合作,但这并不是我做事的动机。] 我从一开始就想为这本传记写一篇类似的后记,一方面是向哈里致敬,另一方面也是想让读者了解这本书是如何写成的。 + +正如本书中所记载的那样,幕后的故事开始于奥克兰的一个公寓,故事在硅谷、茂宜岛、波士顿和剑桥展开。最后,成了一部现实版的双城记:纽约——全球出版界的中心和加利福尼亚州的塞瓦斯托波尔——索诺马县的出版中心。 + +故事开始于2000年4月,那时候我正在为命运多舛的BeOpen网站http://www.beopen.com 写一些文章。其中的第一项任务就是对理查德·M·斯托曼进行一次电话采访。这次采访进行得很顺利,Slashdot http://www.splashdot.org/ 网站在它的“每日精彩文章”栏目中给了这篇访谈一个链接。Slashdot是VA软件有限公司(在此之前名为VA Linux系统公司,更早的时候叫VA Research)的一个热门的Nerd新闻聚合网站。短短几小时内,BeOpen网站的访问量激增,读者们蜂拥而来。 + +如果只是按预期的设想,故事到这里就该结束了。采访结束3个月后,当我在加利福尼亚州的蒙特雷参加O’Reilly的开源软件大会时,我收到一封来自特蕾西·帕蒂森(Tracy Pattison)的电子邮件,她是纽约一家大出版社的涉外版权经理。 + + To: sam@BeOpen.com Subject: RMS Interview Date: Mon, 10 Jul 2000 15:56:37 -0400 发送至:sam@BeOpen.com 主题:RMS采访 日期:2000年7月10日,星期一,15:56:37 -0400 + + 亲爱的威廉姆斯先生, + + 我在BeOpen上读到了您对理查德·斯托曼先生所进行的访谈,觉得非常有趣。很久以来,我对RMS以及他的作品都很有兴趣,读到您的作品感觉很高兴,因为我觉得您的作品非常出色,它准确地表述了斯托曼从事GNU-Linux和自由软件基金会相关工作时所表达出来的一些精神。 + + 我来信的目的是希望能读到更多这方面的文章,我相信我不是唯一一个提出这样要求的人。您那里是否还有更多的信息或消息源可以把您的访谈作进一步的展开,并把它写成斯托曼的一本传记吗?可以往里面添加更多有关他个性的花絮和背景资料,这样也许能让非程序员群体对这部作品产生更大的兴趣。 + +特蕾西让我打电话跟她进一步讨论这个想法,我照做了。特蕾西告诉我,她的公司准备出版一系列在线的电子书,这个系列中希望能有一些有趣的内容,以便吸引第一批读者。这个系列的电子书需要30000字左右的内容,大约100页,并且她已经说服她的老板出一本黑客群体中的主要人物的传记。她的老板很赞同这个建议,并且已经开始着手物色有故事的人物作为选题,她正好看到了我在BeOpen上发表的斯托曼访谈,所以就发邮件给我了。 + +特蕾西的原话是这样的:您愿意把这篇访谈扩展成为一本完整的人物传记吗? + +我立即就做出了答复:没问题。特蕾西建议我在正式签署合同之前先准备一个故事的大纲,先给她的上级看一下。两天后,我把润色后的大纲发给了她。一周后,特蕾西回邮件通知我,她的老板开了绿灯。 + +我必须承认,起初我并没想要让斯托曼直接参与到这样一个电子书的项目中来。作为一个记录开源斗争的记者,我知道斯托曼是一个固执的人。我至少已经收到了半打他发给我的邮件,指责我不应该使用“Linux”一词,而应该用“GNU/Linux”。 + +不过,我也非常清楚,斯托曼一直期望能通过各种渠道向公众表达他的观点。如果我从这个角度来向他介绍我们的出版计划,也许他会更容易接受一些。如果不能得到他的积极配合,我就只能依赖从网上找来的各种文档、访谈和对话录音,最终写出一本并不权威的传记。 + +在我的研究过程中,我曾经看到过一篇斯托曼在2000年6月时所写的名为“自由还是版权?”的短文,发表在麻省理工学院的《技术观察》杂志上,这篇短文把电子书描述成集合了各种软件罪恶的产物。斯托曼认为,电子书的罪孽不但在于读者们需要使用一些专有的软件才能去阅读,而且电子书中用来保护作品内容不被非法复制的技术也非常粗暴。读者不能下载一个可以自由传播的HTML或PDF文件,而是得下载一个被加密过的文件。本质上来说,购买电子书就像是购买了一把无法转让的钥匙,只有使用这把钥匙才能开启加密的内容。任何试图不用授权的密钥解密电子书内容的行为,都构成违反《数字千年版权法》的行为——这部1998年制定的法律用于加强Internet上的版权控制。读者把加密的图书转换成开放的文件格式也同样构成犯罪,即使他们这么做的目的只是为了在自己家里的另一台电脑上阅读这本电子书。与拥有一本传统的纸质书不同,读者不可以出借、复制或转卖电子书,读者所拥有的所有权利,就只是在一台授权过的设备上阅读这本电子书,斯托曼警告说: + + 如果我们阅读纸质书籍,则我们还能享有一些最基本的自由。但是,如果电子书取代了印刷的纸书,则没有什么好处。通过使用“电子墨水”,人们可以在已经印有内容的“纸”上重新“印”上其他内容,即使是报纸,也会变得没有实体,转瞬即逝。想象一下:不会再有旧书店;不能把书借给你的朋友;不能从公共图书馆借阅图书。不再有不付钱就阅读的“漏洞 ”(如果从微软公司阅读器的广告内容来看,还不再允许匿名购买书籍)。这就是那些出版社想让我们面临的问题。 + +不用说,这篇文章引起了我们的一些担忧。特蕾西和我都没有谈论过有关她的公司所使用的软件或是电子书的版权协议。我向特蕾西谈起过这篇《技术观察》上的文章,并请她提供一些有关她所在公司的电子书政策的信息给我,特蕾西答应一有消息就通知我。 + +我很希望可以尽快投入到撰写传记的工作中去,所以我决定先打电话给斯托曼并跟他先大致聊一下有关这本书的计划。在电话中,斯托曼很明确地表达了他对这本书的兴趣和担心:“你读过我那篇有关电子书的文章吗?” + +我告诉他我的确读过那篇文章,并且我正在等候出版社对于此事的回应。斯托曼给出两个条件:他不愿意对他反对的电子书许可证条款做出任何妥协,也不愿意被别人看成是他做出了妥协。“我不想参与任何让我看起来像个伪君子的事情。”斯托曼说。 + +对斯托曼而言,相比电子书阅读软件的问题,版权是个更大的问题。他说他可以忽略出版社或相关的第三方公司使用什么软件来发布电子书的问题,他只要出版社在版权声明中说明,允许读者自由地发布电子书的内容。斯托曼说,可以参考斯蒂芬·金(Stephen King)的《植物》所使用的出版模式。2000年6月,金在他自己的网站上发表声明:他将以连载的形式出版《植物》一书,这本书定价为13美元,每一个章节是1美元。如果有75%的读者为前一章付费,他就会发布一个新的章节。截至8月份,这个计划看上去实施得很不错,金已经发布了前两个章节,第三章也即将发布。 + +“如果这本书允许被自由地原样复制的话,我就可以接受。”斯托曼说。 + +我把这个信息传达给了特蕾西,并对她和我可以有办法商讨出一个双赢的协议,抱有很大的信心。我打电话给斯托曼预约这本书的第一次采访。斯托曼同意接受采访,而且没有再次询问有关电子书版权协商的进展。在第一次采访后不久,我又趁热打铁地安排了第二次采访(这次是在津汇),时间是赶在他出发去塔希提岛进行为期14天的度假之前。 + +正当斯托曼在塔希提岛度假时,从特蕾西那里传来了坏消息。她们公司的法务部门不愿意改变这本电子书的版权声明。如果读者想要把这本电子书转移给别人,就必须对电子书进行破解,或者把它转换成其他的开放格式,比如HTML。而这样的做法是违法的,并且会面临诉讼。 + +手里拿着两次新鲜出炉的采访内容,我不希望最终出版的书籍中无法包含这些内容。我很快决定动身去纽约,与我的代理人和特蕾西见面,商量一个折中的方案。 + +飞抵纽约后,我见到了我的代理人,亨宁·格特曼(Henning Guttman)。这是我们的第一次会面,看起来亨宁对于找到一个妥协的方案并不乐观,至少从出版社的角度来看是这样。这些历史悠久的大出版社本来就对电子书的出现充满疑惑,为了避免让读者逃避付费,他们并不乐意对版权条款进行改变。虽然亨宁是一个关注于技术图书的代理人,他仍对我所处的戏剧般的窘境感到好奇。我告诉他,我已经采访了两次斯托曼,并且告诉他我已经承诺斯托曼我们不会以让他看起来像个“伪君子”一样去出版本书。亨宁理解我被道德所绑架的困境,建议我把这一点作为谈判的关键点。 + +亨宁说,除此之外,我们还可以采用胡萝卜加大棒的策略。所谓的胡萝卜就是出版一本向黑客社区内在的道德致敬的电子书,这会带来不小的公众影响力。而所谓大棒就是出版一本并不能真正弘扬黑客文化的电子书。在2001年,俄罗斯黑客德米特里·斯柯里亚诺夫(Dmitry Sklyarov)来美国参加了著名的DefCon大会并介绍了一些破解电子书的方法,结果却在回国前被联邦调查局逮捕入狱。这件事情后来在网上引发了大范围的讨论。不过在这事发生之前,我们也早能猜到,破解现有的电子书只是时间问题。我们能想象,如果出版社出版一本内容是有关理查德·M·斯托曼的加密的电子书,那无异于在封面上用大字标明“请破解这本电子书”。 + +见过亨宁后,我打了个电话给斯托曼。为了能让我们的“胡萝卜”显得更具诱惑力,我向他介绍了一些我们可能可以使用的妥协方案。比如,以双重许可证的方式来发布书籍的内容的出版方案,就像Sun公司对Open Office这个自由桌面办公套件所做的那样。这样的话,出版社就能以正常的电子书出版方式出版一个商业版本的电子书,既可以发挥那些电子书软件的长处,又能同时再以HTML格式发布一个可以自由复制的版本。 + +斯托曼告诉我,他不反对双重许可证的方式,但他不同意自由版本比受限制的版本地位要更低一等。另外,他觉得双重许可证的方式过于累赘。他之所以可以接受Sun的Open Office使用双重许可,是因为他没有能力控制这个决定的制定。对于这本书而言,他完全有能力控制最终的产出,他有权绝拒合作。 + +我的其他一些建议也没有什么实质性的效果,唯一可以得到斯托曼认可的是他可以做出一些让步,同意将电子书的版权条款改为“允许除了商业使用外的各种形式的分享”。 + +在我挂断电话前,斯托曼建议我告诉出版社说我已经答应了斯托曼这部作品必须是自由的。我告诉斯托曼我不能答应这个说法,但我很清楚如果没有他的合作我是无法完成这本书的。斯托曼看上去很满意,以他惯有的结尾方式说了声“Happy hacking”,然后挂断了电话。 + +次日,我和亨宁见到了特蕾西。特蕾西说她的公司同意以不加密的方式发布本书的一些摘要,但摘要的长度需要限制在500个词以内。亨宁告诉她,这样的让步不足以把我从对斯托曼的道德义务中解救出来。特蕾西说,她的公司对于一些像Amazon.com这样的在线商家也有一些合同上的限制。即使出版社同意把这本书的电子版开放出去,也还面临着可能被其他合作伙伴起诉的风险。想要让出版社管理层妥协还是让斯托曼妥协,这个决定权在我。我可以违反先前与斯托曼的约定,继续使用这些采访素材,也可以恪守新闻工作者的职业操守,对出版这本书的口头承诺食言。 + +会议后,我和亨宁一起去了第三大街上的一个酒吧。我用他的手机给斯托曼打了个电话,不过没人接电话,所以只能给他留了个言。亨宁离开了一会儿,以便给我一些时间来思考。当他回来时,他拿着电话,在我面前晃了晃: + +“是斯托曼打来的。”亨宁说。 + +这次对话从一开始就很不愉快。我把特蕾西所说的有关出版社的合同限制问题转告给斯托曼。 + +斯托曼很粗鲁地回复道:“那么,为什么我需要因为他们的合同限制而做出妥协?” + +我说,因为让一个大出版公司为了一本30000多字的电子书去冒一个卷入法律诉讼的风险,是一个非常离谱的要求。 [RMS:他的假设是我不可能因为一点小小的原则去拒绝这个机会。] + +“难道你还没有明白吗?”斯托曼说,“这正是我要坚持我的立场的原因,因为我需要发出一个胜利的信号,我要他们像以前一样,在自由和商业之间做出选择。” + +“胜利的信号”这个词回响在我的脑海中,我感觉到自己的思维一瞬间游走到了路边的人行道上,人行道上满是步伐匆匆的行人。来到这个酒吧时,我很高兴地发现,这个地方距离那首1976年拉莫内斯(Ramones)的歌曲“53rd and 3rd”所纪念的街角只有半个街区的距离。当我还是一个音乐人时,我非常喜欢演奏这个曲子。当这些烦心的事情都凑到一起,我感觉到自己就像歌中所唱的那个一直遭遇挫折的家伙,精神就在崩溃的边缘了。说来也真是讽刺,这几周,我都忙着在记录被斯托曼折磨得死去活来的人。而如今,我自己却在百般努力地重复着这些人的老路,试图完成一件早已被证明是不可能完成的任务:说服斯托曼,让他妥协。 + +当我还在犹豫不决,是不是要恳求出版社改变立场,并透露出我对他们的同情时,斯托曼就像一头闻到血腥味的野兽,对我发起了攻击。 + +“这是怎么回事?你是在耍我吗?你是想按他们的意志去办吗?”斯托曼咄咄逼人地问道。 + +[RMS:从这句话中可以看出威廉姆斯没有正确的理解这次对话的内容。他把我比作是一只食肉动物,但事实上我只是拒绝了他试图让我接受的条件。正如前文所述,我已经作出了不小的让步,我只不过是拒绝对于原则性的问题作出让步。我经常这样做。一些对此不满的人就说我“完全不接受让步”,这完全就是不理解所形成的夸张了;有关这个问题,可以参考我的文章:http://www.gnu.org/philosophy/compromise.html 。那时候,我所担心的是他完全不顾我们先前达成的二人协议,不管我的反对出版一本通过DRM保护的图书。我所嗅到的不是“血腥味”,而是存在背叛的可能性。] + +我再次提出有关双重版权的方案。 + +“你所说的版权应该是指许可证。”斯托曼冷冷地说。 + +“哦,是的,是许可证,或者版权,差不多吧。”我说。我像是水里一条受了伤的金枪鱼。 + +“你就不能按我所交待你的去做吗?”他咆哮道。 “你他妈的就不能按我所交待你的去做吗?”他咆哮道。 [RMS:我觉得这句话可能会引起误解,首先把“他妈的”当成副词来使用绝不是我的说话风格,其次,这句话也不太符合当时的语境。这句话听起来像是在责备一名不听话的下属。我觉得他有一种伦理上的义务,但是他不是我的下属,所以我也不会用这样的语气说话。通过笔记而不是录音来记录对话,他没法保证记录下准确的内容。] + +我当时应该是一根筋地站在出版社的立场上跟他争辩到底了,因为我的记事本上记着这次对话中斯托曼的最后那段老生长谈的话:“我不关心这些。他们在做的就是一些邪恶的事情。我不能支持作恶!再见。” + +当我放下电话,我的代理人递给我一杯刚倒的健力士啤酒。“我想你现在需要这个。”他笑着说,“我看到你打电话时混身在发抖。” + +我确实在发抖,直到半杯健力士啤酒下了肚,才慢慢平静下来。我有一种奇怪的感觉,似乎自己变成了“邪恶”的代言人。 三个月前,当我坐在奥克兰的公寓中构思我的第一部作品时,也有过类似但更强烈的感觉。现在,我正坐在一个我只从摇滚歌曲中接触到过的世界里,与出版社的管理层开会,与我一天前才见到的代理人喝酒。这一切确实太超现实了,自己的生活就像是电影一样。 + +正当这个时候,我内心的荒谬因子突然爆发了。最初的震动让我流露出一丝笑意。我的代理人一定认为我像是一个脆弱的作家,正在经历一次前所未有的情感崩溃。而对于我自己来说,我只是开始认识到自己的境遇是如此的讥诮。无论最终能不能成交,我已经完成了一个漂亮的故事,只不过我还需要找一个地方来讲述这个故事。我渐渐收起了笑容,干了杯中的酒。 + +“欢迎来到斗争的前线,我的朋友。”我与代理人一边碰杯一边说,“并且享受斗争吧。” + +如果这个故事真的是一个戏剧的话,这里就应该加入一个短暂、浪漫的插曲。我们的会议很紧张,结果也令人感到非常沮丧,于是特蕾西邀请我和亨宁与她一起去找她的一些同事们出去喝酒。我们离开了第三大街上的酒巴前往纽约东城,见到了特蕾西和她的朋友们。 + +一到那里,我就跟特蕾西展开了交谈,并且小心地避免谈论工作。我们的交谈非常愉快,也很放松。在告别时,我们约定次日晚上再见。这次交谈确实非常愉快,让我们忘记了有关斯托曼的电子书的问题。 + +回到奥克兰,我召集了一些新闻出版界的朋友和熟人,向他们讲述了我所遇到的困境。他们中的很多人都责备我在采访斯托曼前的谈判中放弃了太多的原则。 一位新闻学院的老教授建议我忘掉斯托曼所谓“伪君子”的说法,把故事完整地写下来。不少同行都很了解斯托曼与媒体打交道的精明能力,他们对我的处境表达了同情,但他们一致说:决定权在你。 + +我决定把这本书的出版事宜先放到一边。因为就拿最重要的采访一事而言,我其实也并没有太多的进展。不过,现在我有了不预先通过亨宁而直接与特蕾西沟通的机会。到了这年的圣诞节,我和特蕾西扯平了相互访问的次数,她飞到西海岸来了一次,我也第2次飞去了纽约。新年前夜,我向她求婚了。我决定选择纽约作为我们定居的地方。2月我带着我的笔记本电脑和所有有关斯托曼传记的研究笔记,和未婚妻一起飞去了肯尼迪机场。我和特蕾西的婚礼定在5月11日。虽然这传记成了死胎,我们却收获了一份美满的姻缘。 + +整个夏天,我开始考虑把我的采访笔记改编成杂志的文章。从道德上来说,我觉得这样做是合理的,因为最初的采访条款上没有规定采访内容的适用范围。实话说,隔了八个月的时间,我觉得为斯托曼写传记变得舒服了一些。9月我们通过电话以后,我只收到过斯托曼的两封电子邮件。两封邮件的内容都是谴责我在Upside Today这个网络杂志的文章中使用“Linux”一词而不是“GNU/Linux”。除此之外,我很享受这份安静。6月,在斯托曼在纽约大学发表演讲后一周,我抽空写了一篇有关斯托曼的5000字的杂志稿件。这一次,文字变得非常流畅。我想,是我跟斯托曼之间的距离感帮助了我,它帮助我恢复了曾经失去的信心。 + +7月,那是收到特蕾西的第一封电子邮件后的整整一年,我接到了来自亨宁的一个电话。他告诉我,位于加州塞瓦斯托波尔的O’Reilly & Associates出版集团对于出版斯托曼的传记很有兴趣。 这个消息让我很开心。在全世界的所有出版社中,O’Reilly看上去是对于造成先前胎死腹中的图书的原因最为知晓的公司,同时它也是为埃里克·雷蒙德出版《大教堂与集市》一书的公司。作为一个记者,我以前也重度依赖O’Reilly出版的《开源软件文集》一书来作为重要的史料。我也知道该公司出版的图书中,有不少的章节,包话斯托曼曾经写过的一章,都是以允许随意分布的版权条款来出版的。如果这次再与出版社在电子出版的问题上有分歧,那这些背景信息就会很有用。 + +果不其然,电子出版还是遇到了一些困难。亨宁告诉我说,O’Reilly打算把这本传记同时以纸质书和新的Safari Tech Books Online订阅服务的形式出版。亨宁提醒我,Safari的用户许可证中有一项特殊的限制,但是O’Reilly同意允许让用户在任意媒介上复制并分享这本书的文字内容。所以,作为作者,我需要在这两个许可证之间做出选择:出版开放许可证(Open Publication License,OPL)或GNU自由文档许可证(GFDL)。 + +我研究了这两种许可证的内容和背景。出版开放许可证(OPL)允许读者以整体或部分的方式复制和重新分发相关作品,无论是在“物理的媒介还是电子的”,只需要保证继续保持OPL许可证即可。在满足这两个条件的前提下,它也允许对作品进行修改。同时,OPL也包含一些选项,可以由作者来选用,可以限制读者在没有得到作者允许前不得对作品进行“实质性的修改”或以书籍的形式出版。 + +GNU自由文档许可证则允许在任何媒介上复制和分发文档,只要求保留相同的许可证。它也允许在一些条件下对文档进行修改。与OPL不同的是,它没有给作者禁止他人修改的权力。它也不给作者拒绝修改内容以避免他人出版一本类似的竞争作品的权力。然而,除了版权所有人以外的他人如果要出版100份以上的内容,则需要在封面和封底上提供一些必要的许可证相关的信息。 + +在研究这些许可证的时候,我也在GNU工程的官方网站上的“各种许可证与对此的说明”文章页面上找到了一些斯托曼对于出版开放许可证的批评。斯托曼对它的批评主要关注在有关创建修改后的版本以及作者有权选择拒绝修改这两点上。斯托曼认为,如果作者并不打算行使这两项限制权力,那他完全可以改用GFDL,这样可以避免在修改后版本中突然被加上相关限制条件的风险。 + +修改行为在两种许可证中的重要性都反映了它们的设计初衷,那就是允许软件手册的读者有机会去改进这些手册并把它们贡献到社区中去。由于我的书并不是一本手册,所以我对于两种许可证中对于修改的条款都有一些顾虑。我只是希望能够让我的读者有机会去交换图书的副本或是复制图书的内容,如果他们买了纸质的图书,也可以享有相同的自由。我感觉这两种许可证都可以满足我的需求,所以我就跟O’Reilly签了相关的合同。 + +但是,有关可以随意修改的条款还是引发了我的好奇心。在与特蕾西的早期谈判中,我曾经谈过对电子书使用GPL风格的许可证好处。我说,再不济的情况下,这样的许可证也可以对这本电子书的宣传起到正面的作用。在最好的情况下,这还可以鼓励读者参与到图书的写作过程中来。作为作者,我非常希望其他读者能帮我一起改进我的作品,而我也可以坐享其成。另外,看着一本书不断地演化也是一件很有趣的事情。我把未来的版本描绘成类似于《塔木德》的在线版本,我原始的文字在中间,两边的空白由第三方的评论来装饰。 + +我的灵感来自于Xanadu项目 http://www.xanadu.com/ ,这是泰德·尼尔森在1960年构想的传奇般的软件概念。在1999年的O’Reilly开源大会上,我看到了这个项目的开源版本Udanax,它的演示效果很让人震惊。在一个演示中,Uadanx把一篇父文档和它的衍生作品分成两栏纯文本进行展示。只要点击一下按钮,程序就可以把原文档和衍生作品中的每一个相关的句子联系起来。理查德·M·斯托曼传记的电子版不需要真正的用Udanax实现,但是既然我们在技术上有这样的可能性,那为什么不让读者能有一个参与的机会呢? + +当O’Reilly的编辑劳里·帕瑞其(Laurie Petrycki)给我在OPL和GFDL中选择一个的机会时,我又一次萌发了这样的奇思妙想。到了2001年9月,也就是我签合同的时候,电子书已经成了一个几乎无人关心的话题。包括特蕾西所在的出版社在内的大部分出版社,都已经因为读者缺乏兴趣而停止了电子书的推广。我开始怀疑,如果这些出版社都不把电子书看成是一种出版形式而只是看成是一种社区建设的方式,那为什么还非得出电子书? + +签完合同后,我通知斯托曼我们的图书项目可以继续下去了。我提到了O’Reilly在许可证方面给我们的选择,可以选择OPL或者GFDL。我告诉他我倾向于使用OPL,其原因只是因为我觉得没有理由要给O’Reilly的竞争者机会去只是换个封面就出版一本内容一样的新书。斯托曼回信说建议使用GFDL,因为O’Reilly以前也多次使用这个许可证。虽然去年发生过种种不愉快的事情,我还是建议他跟我做个交易:如果斯托曼能给我更多采访的机会,并且促成本书在O’Reilly出版,我就选用GFDL许可证。斯托曼同意接受更多的采访,但是对于出版相关的事宜的支持程度会取决于这本书的内容。这看上去很公平,于是我约定在2001年12月7日在剑桥对斯托曼再进行一次采访。 + +这次采访的时间与我的妻子特蕾西去波士顿出差的行程正好一致。在出发前两天,特蕾西建议我邀请斯托曼一起吃个饭。 + +她说:“不管怎么说,他也算是促成我们联姻的半个媒人。” + +我给斯托曼写了一封电子邮件,他很快回复接受这次邀请。次日,我开车去波士顿,在酒店接上特蕾西,就转去了麻省理工学院。当我们到达科技广场,敲门进去时,斯托曼正在跟别人交谈。 + +“我希望你们能不介意”,他一边说,一边把门打开,门开得很大,我和特蕾西差不多可以听清与斯托曼对话的人的声音。她是莎拉,一个二十多岁的年轻女子。 + +“我私自邀请了其他人一起参加我们的饭局”,斯托曼诚恳地说,他狡猾地微笑着,跟当年和他在帕罗奥多的饭店里见面时看到一样。 + +实话说,我并没感到太多的意外。我几周前就听斯托曼的母亲说斯托曼有了个新的异性朋友。“事实上,他们上个月一起去了日本,理查德去接受武田奖”,李普曼当时是这么跟我说的。 + +在去饭店的路上,我听莎拉讲了她和理查德头一次见面的情景。有意思的是,这个情景让我觉得很熟悉。莎拉在构思一部小说时,听说了斯托曼,并对于他是什么样的性格觉得很好奇。她想在自己的作品中以斯托曼为原型设定一个人物形象,为了能了解这个形象的个性,她对斯托曼进行了一次采访。事情就是这样开始的,他们两个人从2001年年初就开始约会了,莎拉回忆道。 + +“我非常景仰理查德建立起这整个自由软件运动的方式,而这个运动只是为了满足他个人的一个想法。”莎拉向我解释着她关注斯托曼的原因。 + +我的妻子立刻抛回一个问题:“那么,他真正的想法是什么?” + +莎拉马上回答说:“粉碎孤独。” + +晚餐期间,我尽量让两位女士多说点话,并且尝试着看看一年来斯托曼是不是多少有些改观,不再那么倔强。但是一路谈下来,他还是依旧固执己见。斯托曼的眼光数次停留在我妻子的胸部,表现得比我印象中的样子更为过分,但他还是跟平时一样保持着敏感的状态。我的妻子无意中说了声“愿上帝不会让这样的事再次发生”,结果得到了一个典型的斯托曼式的批评。 + +“我不想打断你,但是上帝并不存在!”斯托曼说。 [RMS:我当时一定是个冷面笑匠。他可以把我当成是一个聪明的家伙,但不能责备我。] + +过了一会儿,晚餐结束后,莎拉离开了,斯托曼开始看上去放松了一些警惕。当我们路过附近一家书店时,他承认过去的一年让他改变了对生活的愿景。“我曾经以为我会一辈子孤独,”他说,“不过很幸运的是我错了。” + +告别前,斯托曼给了我一张他的“快乐卡”,一张写有斯托曼的地址、电话号码和爱好(“分享好书、好吃的和国外的音乐和舞蹈”)的名片,以便于我安排最后一次采访。 + +图:斯托曼的“快乐卡”,是在我们一起吃饭那个晚上给我的 + +次日,我们几个人一起去吃点心,斯托曼看上去比前一天晚上更沉浸于热恋中。回忆起他在克利尔舍堂的宿舍管理员有关“长生不老药”利弊的争执,斯托曼表示希望有一天科学家们能研究出让人类永生的关键因子。“现在,我终于开始在生活中找到快乐,我希望我能一直快乐下去。”他说。 + +当我提到莎拉所说的“粉碎孤独”的评价,斯托曼没有意识到身体和精神层面的孤独和黑客层面的孤独之间的联系,他说:“分享代码的推动力来自朋友情谊,而友情在更低的一个层面。”不过,后来又提到这个话题时,斯托曼承认了他对孤独,或者说是对持续的孤独的恐惧。 [RMS:在黑客与黑客之间,社区的层面上] 在GNU工程最初的岁月里,这样的孤独帮助他做了的各种重要的决定。 + +他说:“我对计算机的迷恋不是任何别的东西的结果。如果我人缘更好,有更多追随我的女性,我对计算机的迷恋也不会有什么改变。当然,我感觉到自己没家,找到一个人又失去她,找到另一个又摧毁她,这对我一生都有很大的影响。我失去的是我们的宿舍,我摧毁的是人工智能实验室。没有家和社区的归属感所带来的不安全感非常巨大,它们迫使我去战斗,并把它们抢回来。” + +这次采访过后,我不禁感受到我们这类人在情感上的相似性。听到莎拉说斯托曼所吸引她的地方,听到斯托曼本人描述激发他投身自由软件运动的情感因素,我才认识到了我自己撰写这本书的源动力。从2000年7月开始,我就学着去赞扬理查德·斯托曼这让人赞扬又让人排斥的双重性格。就像我的前辈伊本·莫格林,如果把斯托曼的这种性格当成是一种附带现象,把它与整个自由软件运动隔离开来去分析,那将是一种巨大的错误。在某种程度上说,斯托曼的性格与自由软件运动是相辅相成,完全互补,不可分割的。 + +[RMS:威廉姆斯把他的感受进行了客观的描述,包括正面的和负面的,作为对我的分析,但是这些同时也是他自己对于外观、服从和商业成功的态度。] + +我肯定不会每一位读者对于斯托曼都有相似程度的认同感——即使在读完这本书后,有些人仍然会完全不认同斯托曼,但我敢断定有些人会认同他。很少人能做到像理查德·M·斯托曼这样特立独行。但我真诚地希望这本书能起到一个抛砖引玉的作用,在GFDL的激励下,能有更多人产生与我写作本书时类似的动力,向本书中补充更多的观点,让斯托曼的形象更加地丰满起来。 + + + +附录A 术语 + +在大多数情况下,我使用GNU/Linux这个词来表示基于Linux内核的自由软件操作系统,使用Linux这个词来特指驱动这个操作系统的内核。但在第9章中,这个原则不太适用。在这章的最后一部分,我介绍了Linux作为Minix的衍生作品的早期演化历史。在这个项目开始开发的前两年中,托瓦兹和他的同事们所开发的操作系统与斯托曼所设想的GNU系统并没有很相似之处,但他们开始慢慢地共享一些关键的组件,比如GNU C编译器和GNU调试器。 + +这样的决定使得斯托曼在1993年以前并没有很重视要求在Linux前加上GNU的标识。 + +有些人可能会认为在后期把这个操作系统称为GNU/Linux有点专制。我想指出的是,这是让斯托曼与我合作完成本书的一个基本前提。对于这个问题,我有着自己的观点:一方面,在于这个操作系统的模块化设计和围绕它的社区;另一方面,在于Linux这个名字本身并不具备政治意义。由于这是一本理查德·斯托曼的传记,如果这个操作系统里没点政治含义,多少会让人觉得怪怪的。 + +在本书即将完稿之际,确定了O’Reilly & Associates将成为本书的出版商,斯托曼要求我在书中使用“GNU/Linux”而不是“Linux”,只有这样,他才会答应给在本书出版后,帮助O’Reilly推销本书。当我得知这个消息以后,我坚定了我先前的决定,由斯托曼自己去判断这本书最终是否满足了他的期望。直到现在,我还不知道斯托曼的判断结果会是什么样的。 + +在“自由软件”和“开源”这两个词上也有类似的问题。我仍然选用政治意味稍重的“自由软件”一词用于描述那些包含可以随意复制和修改的源代码的软件。虽然“开源”一词更为大众化,但我只在描述那些声援这个词的团体和公司时才使用。在少数的场合下,这两个词也是完全可以互换的,我是依据克里斯汀·彼德森的建议做出的决定,他是如此定义这两个名词的:“应该尽可能使用‘自由软件’一词,”彼德森说,“‘开源’这个词只是为了需要而被创造出来,它并不是一个理想的词汇。” + + + +附录B 黑客的三层含义 + +要理解“黑客”一词内在的含义,需要追溯这个词的词源和这么多年来的演化过程。 + +在《新黑客词典》这本在线的软件程序员专业术语词典中,对“Hack”一词列出了9种不同的含义,“Hacker”一词也有相对应的多种含义。同时,上面也引用了一段麻省理工学院的黑客费尔·阿格雷(Phil Agre)所撰写的短文,这篇文章提醒读者不要被这个词给人的第一印象所迷惑。“Hack这个词只有一种意思,”阿格雷争辩道,“这个意思非常微妙和有深度,难以用语言来描述。” 理查德·斯托曼把这个词表述为一个短语:“顽皮的小聪明”。 + +不管是讨论这个词的狭义定义还是广义定义,大部分现代的黑客都会把这个词追溯到麻省理工学院,从20世纪50年代起,这个词就成为学生们互相交流时的使用的一句黑话。1990年,麻省理工学院博物馆还发表了一篇有关黑客现象的论文。根据这篇论文的描述,50年代时,这个学校的学生们使用“Hack”这个词的方式与现在的学生使用“Goof(折腾)”一词的含义类似。在宿舍的窗户上挂上一个破飞机的行为就可以算是Hack。但是,任何残忍的或恶意的行为就不能算是Hack,比如怂恿另人去打破宿舍窗户或损坏学院的雕像。“Hack”一词内在含义是在不损害他人的前提下寻找乐趣和创新点的精神。 + +这种精神赋予了Hack这个词的动名词形式“Hacking”更多活力。在20世纪50年代,如果一个学生花上大半天的时间打电话或拆装收音机,这样行为就可以被称作是“Hacking”。而在现代,人们通常会用“Goof”一词的动词形式“Goofing”或“Goofing Off”来描述这类行为。 + +经过整个20世纪50年代的演化,“Hack”这个词的含义变得更加尖锐和反叛。20世纪50年代的麻省理工学院校园里充满了竞争,而且黑客的出现,正是这种竞争文化的产物和延续。Goof和Pranks(喜欢恶作剧的人)突然成为学生们发泄多余精力的方式,他们甚至会跑去学校的教务处去做鬼脸,沉溺于各种稀奇古怪的想法和被繁重的研究生课程所遏制的行为。学院众多走廊和地下蒸气管道提供了无畏于紧闭的大门和“禁止进入”标识的学生们足够多探索的机会。学生们开始把这种不被规章制度允许的探索称为“地道黑客”。在地面上,校园的电话系统也提供了类似的探索机会。通过业余的实验和一些专业的研究,学生找到一些恶作剧的办法。学生们从相对古老的“地道黑客”活动中获得了灵感,很快就参与到了这种新型的“电话黑客”活动中。 + +强调创新游戏和无限制的探索活动,成为后来黑客活动的文化基础。20世纪60年代出现了一些最早自称为是计算机黑客的人,他们来自麻省理工学院里一个起源于50年代末期、名为铁路科技模型俱乐部(Tech Model Railroad Club)的学生组织。这个俱乐部中有一个紧密的小团队叫作“信号与电源(S&P)委员会”,是这个俱乐部的电子电路系统的主要负责团队。这个系统是一个由继电器和开关组成的复杂系统,有点像当时学校电话的控制系统。俱乐部的成员只需通过电话拨打一些特定的号码就可以控制火车的运行。 + +负责建造和维护这套系统的电子工程爱好者们把这样的活动认为是与电话黑客活动一脉相承。他们不但接受了黑客这个概念,而且还把它变得更为完善。从S&P黑客的观点来看,如果某一段火车铁轨的控制电路中可以少用一个继电器,就意味着可以节省一个继电器供以后使用。黑客这个词的含义渐渐从“闲玩”的同义词演化成了在闲玩的同时去提高俱乐部的铁路系统的整体性能和效率。不久以后,S&P委员会的成员就自豪地宣布,把改进和重构铁路的底层电路的活动称为“黑客活动”,而参与这样活动的人就是“黑客”。 + +复杂的电子电路对黑客们有着天然的亲和力,抛开那些无视紧锁的大门和“禁止进入”标识的传统的麻省理工学院的学生,新一代的黑客们很快就在校园中找到了一种新的玩具。这种被称为TX-0的机器,是最早进入商用市场的计算机之一。到了20世纪50年代末,整个S&P的团队都已经把兴趣转移到TX-0的控制室里,用他们的创新精神来折腾这个机器。从那时起,计算机程序设计领域开始进入“黑客”一词的词源。“黑客行为”不再是指焊接一些看起来很奇怪的电路板,而是更多的是与软件程序开发联系起来,还包括少许“正式”的软件开发方法或过程。它同样意味着提高效率和改进现有程序让它们运行得更快,因为只有这样才能节省更多的系统资源。从词源上来讲,这个词也指仅仅为了好玩或娱乐而编写一些没有实质性用途的程序。 + +“太空大战(Spacewar)”游戏是体现这种黑客定义的经典例子,这是世界上第一个在电脑上运行的交互式视频游戏。早在20世纪60年代,麻省理工学院的黑客们就开发出了这个游戏,“空间大战”游戏诠释了所有传统黑客的定义:它既无聊又随机,除了可以让一群黑客们通宵达旦的娱乐外,没有什么实质性的用途。从软件的观点来说,它倒也算是程序开发技能上一次伟大的创新。同时,它也是一个完全自由的软件。由于黑客们只是为了好玩而设计了它,因此他们觉得没有什么理由要去刻意保护这样的创作成果。因此,这个游戏可以在程序员之间广为分享。 到了20世纪60年代末,“空间大战”已经成为全世界大型机程序员们最爱的一种消遣方式。 到了20世纪60年代末,“空间大战”已经成为全世界大型机程序员们最爱的一种消遣方式。 + +20世纪60年代的计算机黑客与50年代的地道黑客和电话黑客的最大区别,就在于这种合作创新与公有的软件所有权。传统的黑客更崇尚个人或小团体的活动。地道黑客和电话黑客活动与校园里的情况紧密相关,他们这种不被规章制度所允许的活动天然地不鼓励通过公开的交流来分享新的发现。计算机黑客则不同,他们在科学领域中工作,这是一个完全基于协作和鼓励创新的氛围。黑客们与“官方”的计算机科学家并不一定是最好的搭档,但是由于计算机技术的高速发展,这两种计算机程序员之间很快就形成了一种或多或少的合作共生关系。 + +黑客们大多都很讨厌官僚的制度。他们把阻碍自由访问计算机的安全系统看作是系统中的一个Bug,只要有机会,就要想办法绕过它或把它修复。因此,在1970年时,绕过安全系统(但不是出于恶意的目的)被看成是一种典型的黑客行为,这样做不但获取了计算机的访问权限,还增加了饭后的谈资(受害者可能会说:“我觉得我被黑了。”)。但这并不是黑客活动的核心理念。黑客们在遇到一些安全系统阻碍时,会发挥自己的才智绕过它们。但是,如果可以选择的话,麻省理工学院人工智能实验室的黑客们更倾向于从一开始就不要构建这样阻碍,从而可以把自己的才智用到更有意义的地方。如果没有所谓的安全系统,也就没有人想着要去破坏它。 + +这是早期计算机黑客们惊人技能的一种证明,很多后来的程序员,包括理查德·马修·斯托曼,都渴望能够做到这一点。到了20世纪70年代中后期,“黑客”这个词又有了更精确的内涵。在一般人看来,计算机黑客是指那些可以为了写代码而写代码的人。他们觉得这是对于编程技能的一种证明。“黑客”一词跟“艺术家”这个词很像,它的含义超越了它字面上的意思。把一名程序员称为是黑客,是对他的一种尊称,而把自己称为是黑客则表明了极强的自信。不管是哪一种情况,随着计算机的普及,“计算机黑客”这种早年很少见的称谓也变得越来越常见。 + +对“黑客”的定义越来越精确,“计算机”黑客则还有一层超越了字面的含义。要成为一个黑客,不仅仅需要去编写一些有意义的软件,同时还需要能够融入黑客“文化”并崇尚它的传统,就像一个中世纪的酿酒师需要加入一个酿酒协会一样。黑客社区的结构不像协会那么严格,但是在麻省理工学院、斯坦福和卡耐基梅隆大学这样的精英大学中,黑客们开始公开宣传“黑客道德”:这些不成文的规定影响着黑客们的日常行为。在1984年出版的《黑客》一书中,作者史蒂芬·李维在经过了很多研究和咨询以后,把黑客道德定义为五种核心的黑客信条。 对“黑客”的定义越来越精确,“计算机”黑客则还有一层超越了字面的含义。要成为一个黑客,不仅仅需要去编写一些有意义的软件,同时还需要能够融入黑客“文化”并崇尚它的传统,就像一个中世纪的酿酒师需要加入一个酿酒协会一样。黑客社区的结构不像协会那么严格,但是在麻省理工学院、斯坦福和卡耐基梅隆大学这样的精英大学中,黑客们开始公开宣传“黑客道德”:这些不成文的规定影响着黑客们的日常行为。在1984年出版的《黑客》一书中,作者史蒂芬·李维在经过了很多研究和咨询以后,把黑客道德定义为五种核心的黑客信条。 + +从很多层面上来说,李维所列出的这些核心信条都进一步定义了计算机黑客文化的核心思想。但是黑客社区给人们留下的协会般的印象,并没有被普通人占据优势地位的软件工业所压制。20世纪80年代初,计算机开始在各行各业中广为应用,那些原本只在顶级大学或公司才能接触到电脑的程序员,现在可以通过ARPAnet与一流的黑客进行交流。通过交流,这些程序员开始渐渐接触到像麻省理工学院那些黑客文化中的无政府主义哲学。然而,那些麻省理工学院原生黑客文化中的禁忌,比如禁止恶意行为,在文化的转移中却渐渐地消失了。一些年轻的程序员开始在一些错误的方向上应用他们的计算机才能,发明和传播计算机病毒、攻击军事计算机网络、故意让类似于ARPAnet网关的MIT Oz这样的计算机死机。“黑客”这个词的含义开始渐渐滑向一个无政府主义的边缘。当警察和工商界开始发现计算机犯罪的来源是少数不守规矩的程序员,而这些程序员又片面地引用一些黑客的信条来为他们的行为辩解,黑客这个词也就更多的在报纸和杂志上以负面形象出现。尽管像《黑客》这样的书用很多的篇幅去介绍黑客精神中的探索本质,并且弘扬黑客文化,但是对于大部分报纸记者和读者仍然把“计算机黑客”当成“电子盗贼”的同义词。 + +尽管黑客这个词被这样错误地使用了近二十年,这个词叛逆的内涵让人很难分辨一个15岁有软件开发经验且绕过了现代加密系统和一个在20世纪60年代破坏门锁或直接损坏房门访问办公室电脑终端的大学生有什么分别。毕竟,一个人想要颠覆权威的创新精神就是让另一个人头疼的安全问题。即使是这样,作为信条的核心禁忌,反对恶意行为这一条仍然有很深远的影响力。因此,大部分黑客都喜欢用“骇客(Cracker)”这个词来描述这类故意破解计算机安全系统去盗取或破坏数据的人,这些所谓的“黑客”使用他们的计算机技能去做一些恶意的事情。 + +麻省理工学院、斯坦福和卡耐基梅隆大学这样的精英大学中的黑客谈论他们所敬仰的黑客特质时,会谈到有关黑客活动的伦理,并开始公开宣传“黑客伦理”:这些不成文的规定影响着黑客们的日常行为。在1984年出版的《黑客》一书中,作者史蒂芬·李维在进行了很多研究和咨询以后,把黑客伦理定义为五种核心的黑客信条。 + +20世纪80年代,计算机开始普及,破坏安全系统的行为也变多了。大部分破坏安全系统的行为都具有某些犯罪动机,实施这些破坏的内鬼其实根本就不能被称作是黑客。然而,警察和计算机管理员都会把破坏规则的行为看成是一种恶意的行为,他们把这种“入侵”计算机的行为追溯到了那些持有“不能伤害别人”理念的黑客身上。一些杂志的报道中,常常会从计算机管理员的视角出发,把“黑客行为”当成是破坏安全系统的同义词。尽管像《黑客》这样书用很多的篇幅去介绍黑客精神中的探索本质,并且弘扬黑客文化,但是对于大部分报纸记者和读者仍然把“计算机黑客”当成是“电子盗贼”的同义词。 + +到了80年代末,很多美国的青少年都开始有机会接触计算机。他们中的一部分有些叛逆的性格,受到杂志上歪曲了的“黑客”形象的误导,开始通过破坏计算机安全系统来发泄他们的对社会的不满,就像一些人通过砸玻璃来发泄一样。他们自称为“黑客”,但是他们从来没了解过麻省理工学院的黑客们反对恶意行为的信条。一些年轻的程序员开始在一些错误的方向利用他们的计算机才能:制作和传播计算机病毒、恶作剧入侵计算机系统、故意让计算机宕机。“黑客”这个词开始渐渐成为一个反叛、无政府主义的象征,这样的形象吸引了更多不了解黑客本质的人开始走向错误的方向。 + +黑客们为了改变这种错误的认识已经自发的进行了近二十年的斗争。斯托曼为了解决这个问题,创造了一个新词来表达“破坏计算机安全系统的人”的意思:“骇客”,避免人们错误的使用“黑客”一词。而且,黑客和骇客这两个词的还是常常引起人们的误解。这两个词表达的含义还是有一些重叠的地方,并不是“黑客在这里,骇客在那里,我们水火不容”。黑客行为和骇客行为只是同一种行为的不同层面上的属性,就像“年轻”和“高”是一个人的两个不同层面的属性。 + +其实,大部的黑客活动都与安全无关,所以不能称之为骇客活动。大部分骇客活动都是为了牟取利益或出于恶意,不会是出于“玩”的心态,所以不能称之为黑客活动。在少数情况下,可能会有个别的行为可以同时看成是黑客行为与骇客行为,但大部分情况下都不会是这样。黑客精神中包含对规则的不敬,但大部分黑客并不会去破坏规则。骇客活动从定义上来说就是不守规则,但是也并不一定就是恶意或有害的。在计算机安全领域中还区分“黑帽”骇客和“白帽”骇客,如果一个骇客的目的是搞破坏、恶意的,他就是一个“黑帽”;那些在安全系统中寻找漏洞是为了修复它的骇客,被称作为”白帽”。 + +这种忌讳恶意行为的核心原则成为联系21世纪初的黑客与20世纪50年代的黑客的文化纽带。 这种忌讳恶意行为的核心原则成为联系21世纪初的黑客与20世纪50年代的黑客的文化纽带。 值得注意的是,在过去的40年中,计算机黑客的概念演化了很多。最初这个词的意思是指有点恶作剧的行为,比如发现一些隐蔽的地道,这层含义现在依然存在。2000年秋天,麻省理工学院博物馆举行了一个专门向古老的黑客传统致敬的展览,名为“黑客殿堂”。这个展览上展出了很多20世纪20年代的老照片,其中有一张是有人愚弄警察巡逻车的照片。1993年,有学生向这种行为致敬,把一模一样的巡逻车、警灯放到了学院主楼的圆顶上。巡逻车的仿制车牌上写着IHTFP,这是一个在麻省理工学院很流行的缩写词,包含着很多的含义。其中最引人注意的意思是始创于20世纪50年代麻省理工学院压力最大的时候的流行语:“我憎恨这个鬼地方(I hate this fucking place)”。然而,在1990年,博物馆基于这个缩写词创作了一本期刊:《黑客、蠢举与恶作剧学报》(The Journal of the Institute for Hacks,Tomfoolery,and Pranks),这本期刊的主要内容有是关黑客的历史,它精妙地描述了黑客活动的本质。 + +“在黑客的文化中,优雅、简洁的创新是被高度崇尚的,就像在纯科学的领域,”《波士顿环球报》的记者伦道夫·赖安(Randolph Ryan)在1993年的一篇警车展览相关的文章中写道,“黑客与一般校园中的那些喜欢恶作剧的人在一些需要细致计划、工程化和使用手段的事件中的表现不太一样,他们本质上更为聪明和具有创造力。”赖安写道:“黑客的本质应该是好的,不能去搞破坏,应该是安全的,这是一条不成文的规则。事实上,黑客们有时也参与破坏他们自己的作品”。 + +主张把计算机黑客的文化限定在特定的伦理边界中是一个不错的想法,但却是不太可能的。尽管大部分软件黑客们渴望优雅和简单的精神气质,但是软件媒体很少提供回头的机会。摆脱警察的巡逻车要比破碎一个想法更为容易,尤其是一个出现的正是时候的想法。 所以“黑帽”与“白帽”之间的差异也越来越明显:“黑帽”黑客把新的想法转变为破坏性的、恶意的行为,而“白帽”黑客把新想法转变为正面的或者至少是有益的方向。 + +“黑客”这个词曾经只是学生们一个含糊其辞的黑话,现在却成为了一个语言学上的一个台球,服从于政治的束缚和伦理上的差异。这也许就是为什么很多黑客和记者们喜欢使用这个词语的原因。 至于这个台球下一步会弹去哪个方向,人们还是只能众说纷纭。 没有人可以预料这个词以后会如何被使用,但是,我们可以决定我们自己如何去使用它。当你在谈论“破坏安全系统”时,请使用“骇客”这个词,而不要使用“黑客”,这样不但可以表现出你对斯托曼和本书中提到的其他黑客们的尊敬,也可以让黑客精神可以不断传承下去,造福更多计算机用户。 + + + +附录C GNU自由文档许可证(GFDL) + +Version 1.1, March 2000 + +Copyright © 2000 Free Software Foundation, Inc. 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. + +Preamble + +The purpose of this License is to make a manual, textbook, or other written document “free” in the sense of freedom: to assure everyone the effective freedom to copy and redistribute it, with or without modifying it, either commercially or noncommercially. Secondarily, this License preserves for the author and publisher a way to get credit for their work, while not being considered responsible for modifications made by others. + +This License is a kind of “copyleft”, which means that derivative works of the document must themselves be free in the same sense. It complements the GNU General Public License, which is a copyleft license designed for free software. + +We have designed this License in order to use it for manuals for free software, because free software needs free documentation: a free program should come with manuals providing the same freedoms that the software does. But this License is not limited to software manuals; it can be used for any textual work, regardless of subject matter or whether it is published as a printed book. We recommend this License principally for works whose purpose is instruction or reference. + +1. APPLICABILITY AND DEFINITIONS + +This License applies to any manual or other work that contains a notice placed by the copyright holder saying it can be distributed under the terms of this License. The “Document”, below, refers to any such manual or work. Any member of the public is a licensee, and is addressed as “you”. + +A “Modified Version” of the Document means any work containing the Document or a portion of it, either copied verbatim, or with modifications and/or translated into another language. + +A “Secondary Section” is a named appendix or a front-matter section of the Document that deals exclusively with the relationship of the publishers or authors of the Document to the Document’s overall subject (or to related matters) and contains nothing that could fall directly within that overall subject. (For example, if the Document is in part a textbook of mathematics, a Secondary Section may not explain any mathematics.) The relationship could be a matter of historical connection with the subject or with related matters, or of legal, commercial, philosophical, ethical or political position regarding them. + +The “Invariant Sections” are certain Secondary Sections whose titles are designated, as being those of Invariant Sections, in the notice that says that the Document is released under this License. + +The “Cover Texts” are certain short passages of text that are listed, as Front-Cover Texts or Back-Cover Texts, in the notice that says that the Document is released under this License. + +A “Transparent” copy of the Document means a machine-readable copy, represented in a format whose specification is available to the general public, whose contents can be viewed and edited directly and straightforwardly with generic text editors or (for images composed of pixels) generic paint programs or (for drawings) some widely available drawing editor, and that is suitable for input to text formatters or for automatic translation to a variety of formats suitable for input to text formatters. A copy made in an otherwise Transparent file format whose markup has been designed to thwart or discourage subsequent modification by readers is not Transparent. A copy that is not “Transparent” is called “Opaque”. + +Examples of suitable formats for Transparent copies include plain ASCII without markup, Texinfo input format, LaTeX input format, SGML or XML using a publicly available DTD, and standard-conforming simple HTML designed for human modification. Opaque formats include PostScript, PDF, proprietary formats that can be read and edited only by proprietary word processors, SGML or XML for which the DTD and/or processing tools are not generally available, and the machine-generated HTML produced by some word processors for output purposes only. + +The “Title Page” means, for a printed book, the title page itself, plus such following pages as are needed to hold, legibly, the material this License requires to appear in the title page. For works in formats which do not have any title page as such, “Title Page” means the text near the most prominent appearance of the work’s title, preceding the beginning of the body of the text. + +2. VERBATIM COPYING + +You may copy and distribute the Document in any medium, either commercially or noncommercially, provided that this License, the copyright notices, and the license notice saying this License applies to the Document are reproduced in all copies, and that you add no other conditions whatsoever to those of this License. You may not use technical measures to obstruct or control the reading or further copying of the copies you make or distribute. However, you may accept compensation in exchange for copies. If you distribute a large enough number of copies you must also follow the conditions in section 3. + +You may also lend copies, under the same conditions stated above, and you may publicly display copies. + +3. COPYING IN QUANTITY + +If you publish printed copies of the Document numbering more than 100, and the Document’s license notice requires Cover Texts, you must enclose the copies in covers that carry, clearly and legibly, all these Cover Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on the back cover. Both covers must also clearly and legibly identify you as the publisher of these copies. The front cover must present the full title with all words of the title equally prominent and visible. You may add other material on the covers in addition. Copying with changes limited to the covers, as long as they preserve the title of the Document and satisfy these conditions, can be treated as verbatim copying in other respects. + +If the required texts for either cover are too voluminous to fit legibly, you should put the first ones listed (as many as fit reasonably) on the actual cover, and continue the rest onto adjacent pages. + +If you publish or distribute Opaque copies of the Document numbering more than 100, you must either include a machine-readable Transparent copy along with each Opaque copy, or state in or with each Opaque copy a publicly-accessible computer-network location containing a complete Transparent copy of the Document, free of added material, which the general network-using public has access to download anonymously at no charge using public-standard network protocols. If you use the latter option, you must take reasonably prudent steps, when you begin distribution of Opaque copies in quantity, to ensure that this Transparent copy will remain thus accessible at the stated location until at least one year after the last time you distribute an Opaque copy (directly or through your agents or retailers) of that edition to the public. + +It is requested, but not required, that you contact the authors of the Document well before redistributing any large number of copies, to give them a chance to provide you with an updated version of the Document. + +4. MODIFICATIONS + +You may copy and distribute a Modified Version of the Document under the conditions of sections 2 and 3 above, provided that you release the Modified Version under precisely this License, with the Modified Version filling the role of the Document, thus licensing distribution and modification of the Modified Version to whoever possesses a copy of it. In addition, you must do these things in the Modified Version: + +Use in the Title Page (and on the covers, if any) a title distinct from that of the Document, and from those of previous versions (which should, if there were any, be listed in the History section of the Document). You may use the same title as a previous version if the original publisher of that version gives permission. + +List on the Title Page, as authors, one or more persons or entities responsible for authorship of the modifications in the Modified Version, together with at least five of the principal authors of the Document (all of its principal authors, if it has less than five). + +State on the Title page the name of the publisher of the Modified Version, as the publisher. + +Preserve all the copyright notices of the Document. + +Add an appropriate copyright notice for your modifications adjacent to the other copyright notices. + +Include, immediately after the copyright notices, a license notice giving the public permission to use the Modified Version under the terms of this License, in the form shown in the Addendum below. + +Preserve in that license notice the full lists of Invariant Sections and required Cover Texts given in the Document’s license notice. + +Include an unaltered copy of this License. + +Preserve the section entitled “History”, and its title, and add to it an item stating at least the title, year, new authors, and publisher of the Modified Version as given on the Title Page. If there is no section entitled “History” in the Document, create one stating the title, year, authors, and publisher of the Document as given on its Title Page, then add an item describing the Modified Version as stated in the previous sentence. + +Preserve the network location, if any, given in the Document for public access to a Transparent copy of the Document, and likewise the network locations given in the Document for previous versions it was based on. These may be placed in the “History” section. You may omit a network location for a work that was published at least four years before the Document itself, or if the original publisher of the version it refers to gives permission. + +In any section entitled “Acknowledgements” or “Dedications”, preserve the section’s title, and preserve in the section all the substance and tone of each of the contributor acknowledgements and/or dedications given therein. + +Preserve all the Invariant Sections of the Document, unaltered in their text and in their titles. Section numbers or the equivalent are not considered part of the section titles. + +Delete any section entitled “Endorsements”. Such a section may not be included in the Modified Version. + +Do not retitle any existing section as “Endorsements” or to conflict in title with any Invariant Section. + +If the Modified Version includes new front-matter sections or appendices that qualify as Secondary Sections and contain no material copied from the Document, you may at your option designate some or all of these sections as invariant. To do this, add their titles to the list of Invariant Sections in the Modified Version’s license notice. These titles must be distinct from any other section titles. + +You may add a section entitled “Endorsements”, provided it contains nothing but endorsements of your Modified Version by various parties – for example, statements of peer review or that the text has been approved by an organization as the authoritative definition of a standard. + +You may add a passage of up to five words as a Front-Cover Text, and a passage of up to 25 words as a Back-Cover Text, to the end of the list of Cover Texts in the Modified Version. Only one passage of Front-Cover Text and one of Back-Cover Text may be added by (or through arrangements made by) any one entity. If the Document already includes a cover text for the same cover, previously added by you or by arrangement made by the same entity you are acting on behalf of, you may not add another; but you may replace the old one, on explicit permission from the previous publisher that added the old one. + +The author(s) and publisher(s) of the Document do not by this License give permission to use their names for publicity for or to assert or imply endorsement of any Modified Version. + +5. COMBINING DOCUMENTS + +You may combine the Document with other documents released under this License, under the terms defined in section 4 above for modified versions, provided that you include in the combination all of the Invariant Sections of all of the original documents, unmodified, and list them all as Invariant Sections of your combined work in its license notice. + +The combined work need only contain one copy of this License, and multiple identical Invariant Sections may be replaced with a single copy. If there are multiple Invariant Sections with the same name but different contents, make the title of each such section unique by adding at the end of it, in parentheses, the name of the original author or publisher of that section if known, or else a unique number. Make the same adjustment to the section titles in the list of Invariant Sections in the license notice of the combined work. + +In the combination, you must combine any sections entitled “History” in the various original documents, forming one section entitled “History”; likewise combine any sections entitled “Acknowledgements”, and any sections entitled “Dedications”. You must delete all sections entitled “Endorsements.” + +6. COLLECTIONS OF DOCUMENTS + +You may make a collection consisting of the Document and other documents released under this License, and replace the individual copies of this License in the various documents with a single copy that is included in the collection, provided that you follow the rules of this License for verbatim copying of each of the documents in all other respects. + +You may extract a single document from such a collection, and distribute it individually under this License, provided you insert a copy of this License into the extracted document, and follow this License in all other respects regarding verbatim copying of that document. + +7. AGGREGATION WITH INDEPENDENT WORKS + +A compilation of the Document or its derivatives with other separate and independent documents or works, in or on a volume of a storage or distribution medium, does not as a whole count as a Modified Version of the Document, provided no compilation copyright is claimed for the compilation. Such a compilation is called an “aggregate”, and this License does not apply to the other self-contained works thus compiled with the Document, on account of their being thus compiled, if they are not themselves derivative works of the Document. + +If the Cover Text requirement of section 3 is applicable to these copies of the Document, then if the Document is less than one quarter of the entire aggregate, the Document’s Cover Texts may be placed on covers that surround only the Document within the aggregate. Otherwise they must appear on covers around the whole aggregate. + +8. TRANSLATION + +Translation is considered a kind of modification, so you may distribute translations of the Document under the terms of section 4. Replacing Invariant Sections with translations requires special permission from their copyright holders, but you may include translations of some or all Invariant Sections in addition to the original versions of these Invariant Sections. You may include a translation of this License provided that you also include the original English version of this License. In case of a disagreement between the translation and the original English version of this License, the original English version will prevail. + +9. TERMINATION + +You may not copy, modify, sublicense, or distribute the Document except as expressly provided for under this License. Any other attempt to copy, modify, sublicense or distribute the Document is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. + +10. FUTURE REVISIONS OF THIS LICENSE + +The Free Software Foundation may publish new, revised versions of the GNU Free Documentation License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. See http://www.gnu.org/copyleft/. + +Each version of the License is given a distinguishing version number. If the Document specifies that a particular numbered version of this License “or any later version” applies to it, you have the option of following the terms and conditions either of that specified version or of any later version that has been published (not as a draft) by the Free Software Foundation. If the Document does not specify a version number of this License, you may choose any version ever published (not as a draft) by the Free Software Foundation. + +ADDENDUM: How to use this License for your documents + +To use this License in a document you have written, include a copy of the License in the document and put the following copyright and license notices just after the title page: + +Copyright © YEAR YOUR NAME. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with the Invariant Sections being LIST THEIR TITLES, with the Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST. A copy of the license is included in the section entitled “GNU Free Documentation License”. + +If you have no Invariant Sections, write “with no Invariant Sections” instead of saying which ones are invariant. If you have no Front-Cover Texts, write “no Front-Cover Texts” instead of “Front-Cover Texts being LIST”; likewise for Back-Cover Texts. + +If your document contains nontrivial examples of program code, we recommend releasing these examples in parallel under your choice of free software license, such as the GNU General Public License, to permit their use in free software. + +以下翻译参考自:http://www.linuxfocus.org/Chinese/team/fdl.html +原译者:王旭 + +GNU 自由文档许可证 1.1版本 2000年3月 + +版权所有 (C) 2000 自由软件基金会 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +任何人都可以复制并分发本许可证文档的原始拷贝,但不允许进行修改。 + +前言 + +本许可证用于使得手册、教材或其他功能的有用的文档是自由的(“free”) :保证任何人确实可以自由地拷贝与分发经过或未经改动的该文档,无论是否用于商业目的。此外,本许可证保护作者和出版者对他们的作品的信誉,不需要对其他人的改动负责。 + +这个许可证是一种“copyleft”,这意味着基于遵循 GFPL 文档的衍生作品必须也是同样自由的。这个许可证是为自由软件设计的 copyleft 许可证 GPL 的补充。 + +我们为了用于自由软件的手册设计了这个许可证,因为自由软件需要自由的文档:一个自由的程序应该跟随着一个给出同样自由的文档一同发布。但这个许可证不仅仅限于软件的手册,它可以被用于任何文本作品,无论它的主题或它是否作为一本印刷的书籍被发行。我们建议将这个许可证主要用于说明或参考性的文献作品。 + +1. 适用性与定义 + +本许可证适用于包含一个宣布该作品在本许可证下发布的声明的使用任何介质的任何手册或其他作品。这个声明授权在这里声明的条件下,在任何时间、地点、无版税地使用作品的许可。下述的“文档”指任何这样的手册或作品。任何公众中的一员都是被授予许可的人,这里被称为“你”。如果你在需要版权法律许可的情况下复制、修改或分发这个作品,你就接受了这个许可证。 + +文档的“修订版本”意味着包含文档或文档的一部分的作品,或者是原始拷贝,或者进行了修改和/或翻译成为了其他的语言。 + +“次要章节”(Secondary Section) 是文档中特定的附录或导言中的节,专用于处理文档的出版者或作者与文档的全部主题(或相关问题)的关系,不包含任何在全部主题之中的内容。(也就是说,如果文档是一本数学教材,“次要章节”可能不包含任何数学内容。)其中的关系可能是和主题的历史关联,或者是相关问题,或者是关于主题的有关法律、商业、哲学、伦理或政治关系。 + +“不可变章节”(Invariant Sections) 是指定的标题的次要章节,这个标题在文档以本许可证发布的声明中被声明为不可变章节。如果一个章节不符合上述的次要章节的定义,它就不可以被声明为不可变章节。文档可以没有不可变章节。如果文档没有指定不可变章节,则视为没有不可变章节。 + +“封皮文本”(Cover Texts) 是一些在文档以本许可证发布的声明中被列为封面文本(Front-Cover Text) 或封底文本(Back-Cover Text) 的特定的短段落。封面文本最多 5 个单词,封底文本最多 25 个单词。 + +文档的“透明”(Transparent) 拷贝是一个机器可读的拷贝,使用公众可以得到其规范的格式表达,这样的拷贝适合于使用通用文本编辑器、 (对于像素构成的图像(image)) 通用绘图(paint)程序、(对于绘制的图形(draw))广泛使用的绘画(draw)程序直接修改文档,也适用于输入到文本格式处理程序或自动翻译成各种适于适用于输入到文本格式处理程序的格式。一个用其他透明文件格式表示的拷贝,如果该格式的标记(或缺少标记)已经构成了对读者的后续的修改的障碍,那么就不是透明的。如果用一个图像格式表示确实有效的文本,不论数量多少,都不是透明各式的。不“透明”的拷贝称为“不透明”(Opaque)。 + +适于作为透明拷贝的格式的例子有:没有标记的纯 ASCII 文本、Texinfo 的输入格式、LaTeX 的输入格式、使用公众可用的 DTD 的 SGML 或 XML,符合标准的简单 HTML、可以手工修改的 PostScript 或 PDF。透明的图像格式的例子有 PNG, XCF 和 JPG。不透明的格式包括:尽可以被私有版权的字处理软件使用的私有版权格式、所用的 DTD 和/或处理工具不是广泛可用的 SGML 或 XML,机器生成的 HTML,一些字处理器生成的只用于输出目的的 PostScript 或 PDF。 + +对于被印刷的书籍,“扉页”(Title Page)就是扉页本身以及随后的一些用于补充的页,本许可需要出现在扉页上。对于那些没有扉页的作品形式,扉页代表接近作品最突出的标题的、在文本正文之前的文本。 + +2. 逐字地复制 + +你可以以任何媒质拷贝并分发文档,无论是否处于商业目的,只要保证本许可证、版权声明和宣称本许可证应用于文档的声明都在所有复制品中被完整地、无任何附加条件地给出即可。你不能使用任何技术手段阻碍或控制你制作或发布的拷贝的阅读或再次复制。不过你可以在复制品的交易中得到报酬。如果你发布足够多的拷贝,你必须遵循下面第三节中的条件。 + +你也可以在和上面相同的条件下出租拷贝和向公众放映拷贝。 + +3. 适用性与定义 + +如果你发行文档的印刷版的拷贝 (或是有印制封皮的其他媒质的拷贝) 多于 100 份,而文档的许可证声明中要求封皮文本,你必须将它清晰明显地置于封皮之上,封面文本在封面上,封底文本在封底上。封面和封底上还必须标明你是这些拷贝的发行者。封面必须以同等显著、可见地完整展现标题的所有文字。你可以在标题上加入其他的材料。改动仅限于封皮的复制,只要保持文档的标题不变并满足这些条件,可以在其他方面被视为是的逐字的复制。 + +如果需要加上的文本对于封面或封底过多,无法明显地表示,你应该在封皮上列出前面的(在合理的前提下尽量多),把其它的放在邻近的页面上。 + +如果你出版或分发了超过 100 份文档的不透明拷贝,你必须在每个不透明拷贝中包含一份机器可读的透明拷贝,或是在每个不透明拷贝中给出一个计算机网络地址,通过这个地址,使用计算机网络的公众可以使用标准的网络协议没有任何附加条件的下载一个文档的完整的透明拷贝。如果你选择后者,你必须在开始大量分发非透明拷贝的时候采用相当谨慎的步骤,保证透明拷贝在其所给出的位置在(直接或通过代理和零售商)分发最后一次该版本的非透明拷贝的时间之后一年之内始终是有效的。 + +在重新大量发布拷贝之前,请你(但不是必须)与文档的作者联系,以便可以得到文档的更新版本。 + +4. 修改 + +在上述第 2、3 节的条件下,你可以复制与分发文档的修改后的版本,只要严格的按照本许可证发布修改后的文档,在文档的位置填入修改后的版本,也就是许可任何得到这个修改版的拷贝的人分发或修改这个修改后的版本。另外,在修改版中,你需要做到如下几点: + +使用和被修改文档与以前的各个版本 (如果有的话,应该被列在文档的版本历史章节中) 有显著不同的扉页(和封面,如果有的话)。如果那个版本的原始发行者允许的话,你可以使用和以前版本相同的标题。 + +与作者一样,在扉页上列出承担修改版本中的修改的作者责任的一个或多个人或实体和至少五个文档的原作者 (如果原作者不足五个就全部列出),除非他们免除了你的这个责任。在修改版本的扉页上注明该版本的发布者。 + +保持文档的全部版权声明不变。 + +在与其他版权声明邻近的位置加入恰当的针对你的修改的版权声明。 + +在紧接着版权声明的位置加入许可声明,按照下面附录中给出的形式,以本许可证给公众授予使用修订版本的权利。 + +保持原文档的许可声明中的全部不可变章节、封面文字和封底文字的声明不变。 + +包含一份未作任何修改的本许可证的拷贝。 + +保持命名为特殊标题“History”(版本历史) 的章节不变,保持它的标题不变,并在其中加入一项,该项至少声明扉页上的修改版本的标题、年、新作者和新发行者。如果文档中没有一个特殊标题版本历史的章节,就新建这一章节,并加入声明原文档扉页上所列的标题、年、作者与发行者的项,之后在后面加入如上句所说的描述修改版本的项。 + +如果问当中有用于公众访问的文档透明拷贝的网址的话,保持网址不变,并同样把它所基于的以前版本的网址给出。这些网址可以放在特殊标题版本历史章节。你可以不给出那些在原文档发行之前已经发行至少四年的版本给出的网址,或者该版本的发行者授权不列出网址。 + +对于任何以特殊标题“Acknowledgements”(致谢) 特殊标题“Dedications” (献给)命名的章节,保持标题的章节不变,并保持其全部内容和对每个贡献者的感谢与列出的奉献的语气不变。 + +保持文档的所有不可变章节不变,不改变它们的标题和内容。章节的编号或等价的东西不被认为是章节标题的一部分。 + +删除以特殊标题“Endorsements”(签名)命名的章节。这样的章节不可以被包含在修改后的版本中。 + +不要把一个已经存在的章节重命名为特殊标题“Endorsements”(签名)或和任何不可变章节的名字相冲突的名字。 + +如果修改版本加入了新的符合次要章节定义的引言或附录章节,并且不含有从原文档中复制的内容,你可以按照你的意愿将它标记为不可变。如果需要这样做,就把它们的标题加入修改版本的许可声明的不可变章节列表之中。这些标题必须和其他章节的标题相区分。 + +你可以加入一个命名为特殊标题“Endorsements”的章节,只要它只包含对你的修改版本由不同的各方给出的签名–例如书评或是声明文本已经被一个组织认定为一个标准的权威定义。 + +你可以加入一个最多五个字的段落作为封面文本和一个最多25个字的段落作为封底文本,把它们加入到修改版本的封皮文本列表的末端。一个实体之可以加入 (或通过排列(arrangement)制作) 一段封面或封底文本。如果原文档已经为该封皮(封面或封底)包含了封皮文本,由你或你所代表的实体先前加入或排列的文本,你不能再新加入一个,但你可以在原来的发行者的显示的许可下替换掉原来的那个 + +作者和发行者不能通过本许可证授权公众使用他们的名字推荐或暗示认可任何一个修改版本。 + +5. 合并文档 + +遵照第4节所说的修改版本的规定,你可以将文档和其他文档合并并以本许可证发布,只要你在合并结果中包含原文档的所有不可变章节,对它们不加以任何改动,并在合并结果的许可声明中将它们全部列为不可变章节,而且维持原作者的免责声明不变。 + +合并的作品仅需要包含一份本许可证,多个相同的不可变章节可以由一个来取代。如果有多个名称相同、内容不同的不可变章节,通过在章节的名字后面用包含在括号中的文本加以原作者、发行者的名字 (如果有的话) 来加以区别,或通过唯一的编号加以区别。并对合并作品的许可声明中的不可变章节列表中的章节标题做相同的修改。 + +在合并过程中,你必须合并不同原始文档中任何以特殊标题“版本历史”命名的章节,从而形成新的特殊标题“版本历史”的章节;类似地,还要合并特殊标题“致谢”和“献给”命名的章节。你必须删除所有以特殊标题“签名”(Endorsements)命名的章节。 + +6. 文档的合集 + +你可以制作一个文档和其他文档的合集,在本许可证下发布,并在合集中将不同文档中的多个本许可证的拷贝以一个单独的拷贝来代替,只要你在文档的其他方面遵循本许可证的逐字地拷贝的条款即可。 + +你可以从一个这样的合集中提取一个单独的文档,并将它在本许可证下单独发布,只要你想这个提取出的文档中加入一份本许可证的拷贝,并在文档的其他方面遵循本许可证的逐字地拷贝的原则。 + +7. 独立作品的聚合体 + +文档或文档的派生品和其它的与之相分离的独立文档或作品编辑在一起,在一个大包中或大的发布媒质上,如果其结果著作权对编辑作品的使用者的权利的限制没有超出原来的独立作品的许可范围,称为文档的“聚合体”(aggregate)。当以本许可证发布的文档被包含在一个聚合体中的时候,本许可证不施加于聚合体中的本来不是该文档的派生作品的其他作品。 + +如果第3节中的封皮文本的需求适用于文档的拷贝,那么如果文档在聚合体中所占的比重小于全文的一半,文档的封皮文本可以被放置在聚合体内包含文档的部分的封皮上,或是电子文档中的等效部分。否则,它必须位于整个聚合体的印刷的封皮上。 + +8. 翻译 + +翻译被认为是一种修改,所以你可以按照第4节的规定发布文档的翻译版本。如果要将文档的不可变章节用翻译版取代,需要得到著作权人的授权,但你可以将部分或全部不可变章节的翻译版附加在原始版本的后面。你可以包含一个本许可证和所有许可证声明、免责声明的翻译版本,,只要你同时包含他们的原始英文版本即可。当翻译版本和英文版发生冲突的时候,原始版本有效。 + +9. 许可的终止 + +除非确实遵从本许可证,你不可以对遵从本许可证发布的文档进行复制、修改、附加许可证或发布。任何其它的试图复制、修改、附加许可、发布本文档的行为都是无效的,并自动终止本许可证所授予你的权利。然而其他从你这里依照本许可证得到的拷贝或权力的人(或组织)得到的许可证都不会终止,只要他们仍然完全遵照本许可证。 + +10. 本许可证的未来修订版本 + +未来的某天,自由软件基金会 (FSF) 可能会发布 GNU 自由文档许可证的修订版本。这些版本将会和现在的版本体现类似的精神,但可能在解决某些问题和利害关系的细节上有所不同。参见 http://www.gnu.org/copyleft/ 。 + +本许可证的每个版本都有一个唯一的版本号。如果文档指定服从一个特定的本许可证版本“或任何之后的版本”(or any later version),你可以选择遵循指定版本或自由软件基金会的任何更新的已经发布的版本 (不是草案) 的条款和条件来遵循。如果文档没有指定本许可证的版本,那么你可以选择遵循任何自由软件基金会曾经发布的版本 (不是草案)。 + +附录:如何使用本许可证 + +要使用本许可证发布你写的文档,请在文档中包含本许可证的一个副本,并在紧接着扉页之后加入如下版权声明与许可声明: + +Copyright (C) YEAR YOUR NAME. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with the Invariant Sections being LIST THEIR TITLES, with the Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST. A copy of the license is included in the section entitled “GNU Free Documentation License”. + +如果你有不可变章节、封面文本和封底文本,请将“with…Texts.”一行替换为: + +如果你有不可变章节而没有封皮文本或上述三项的其他组合,将两个版本结合使用以满足实际情况。 + +如果你的文档包含有意义的程序示例代码,我们建议您同时将代码按照您的选择以自由软件许可证发布,比如 GNU 通用公共许可证。以授权它们作为自由软件被使用。 + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/__\346\211\200\346\234\211\347\224\265\345\255\220\344\271\246\347\232\204\346\270\205\345\215\225__.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/__\346\211\200\346\234\211\347\224\265\345\255\220\344\271\246\347\232\204\346\270\205\345\215\225__.html" new file mode 100644 index 0000000000000000000000000000000000000000..d1b571c924867d3bb6e74ce29bf503f4d6966e68 --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/__\346\211\200\346\234\211\347\224\265\345\255\220\344\271\246\347\232\204\346\270\205\345\215\225__.html" @@ -0,0 +1,2712 @@ + + + + + + +编程随想的电子书清单 + + +

电子书总目录 (频繁更新)

+ +
+ +

下载须知 及 格式说明

+ +

更新通知

+ +这里汇总了俺收藏的各类电子书(不断增加中)。俺每隔几个月会在博客上通知大伙儿,近期更新了哪些书。俺博客的网址是:https://program-think.blogspot.com/
+因为俺博客在【墙外】,并且长期遭到 GFW 封锁,建议用博客阅读器(比如 Feedly)进行订阅,以获取电子书更新的通知。博客的订阅地址是:https://feeds2.feedburner.com/programthink + +

下载说明

+ +目前俺使用两种方式提供电子书的下载,分别是:
+● 用 BT Sync 自动同步(该软件如今改名叫“Resilio Sync”)
+● 微软网盘(也叫做“OneDrive”)
+
+俺强烈推荐大伙儿使用【BT Sync 方式】。它的好处至少包括如下:
+● 它可以【自动同步】电子书,省得你一个一个去下载
+● 它不依赖任何服务器,没有任何流量限制(相比之下,微软网盘如果同时有很多人在下载,可能会报错)
+● 它不依赖任何服务器,也就没有空间限制(相比之下,俺的微软网盘帐号,容量限制是 25GB)
+● 它不依赖任何服务器,也就没有任何审查
+● 它支持【免翻墙】进行同步(具体如何操作,参见下面的说明)
+
+

关于“BT Sync / Resilio Sync”的补充说明

+ +首选,你需要安装 BTSync(ResilioSync)软件。它的【官网】下载链接是:https://www.getsync.com/
+要使用 BT Sync(Resilio Sync)同步电子书,你需要在主界面上添加相应的密钥(密钥写在本页面【每个大类】的标题下方)。关于 BT Sync 的扫盲教程,请参见“这篇博文”。
+BT Sync 从“1.4 版本”一直到“目前最新版本”,都可以用来同步俺的电子书。早期的 1.4.x 版本支持【DHT 功能】,可以在墙内【免翻墙】使用。2.0 之后的版本【不】再支持 DHT,无法享受这一好处。
+(关于 DHT 功能如何开启,请翻墙打开“这篇博文”)
+

关于“微软网盘”的补充说明

+ +● 微软网盘支持批量下载,可以把某个目录的电子书压缩成 zip 格式一起下载。具体操作请仔细看网盘界面。
+● 微软网盘的 Web 页面需要依赖 Java Script 脚本,如果你的浏览器禁用了 JavaScript 会导致无法下载。
+● 微软网盘的服务器在【墙外】,有时候可能会被 GFW 封杀。如果你无法打开微软网盘的页面,请尝试【翻墙】。
+
+

其它和“下载”相关问题

+ +下载或阅读过程中,如果还碰到其它问题搞不定,可以使用 GitHub 的 issue 给俺反馈。
+使用 issue 的规范参见这里。
+

电子书格式说明

+ +

PDF 格式

+ +俺共享的 PDF 格式电子书, 无需密码 即可阅读。如果你无法打开 PDF 文件或者打开过程中提示输入密码,那应该是你的 PDF 阅读器 版本不够新 。
+用如下几款软件可以正常阅读:
+● Sumatra PDF 2.0 或者更高版本(绿色软件,除了支持 PDF,还支持其它格式,强烈推荐使用)
+● Foxit Reader 3.1.0 或者更高的版本(绿色软件,推荐使用)
+● PDF-XChange Viewer 2.0 或者更高版本(绿色软件,推荐使用)
+● Acrobat Reader 7.0 或者更高版本(Acrobat Reader 太臃肿,不推荐)
+● 如果你使用 Chrome 浏览器,把 PDF 文件直接拖到 Chrome 窗口里,就可以看
+● 如果你使用 Firefox 浏览器(19.0 或者更高版本),把 PDF 文件直接拖到 Firefox 窗口里,就可以看
+
+

EPUB 格式

+ +这种格式主要是面向移动设备(手机、平板),不过也可以在 PC 上阅读。
+EPUB 的阅读软件很多,而且各个平台(Windows、Linux、Mac OS)都有。维基百科的这个页面列出了常用的 EPUB 格式阅读软件。
+

MOBI & AZW 格式

+ +这几种格式主要面向亚马逊的 Kindle 平板,不过也可以在 PC 上阅读。前面提到的 Sumatra PDF 支持这些格式。
+

CHM 格式

+ +如果你用 Windows 系统无法正常查看 CHM 电子书,请按照如下步骤设置,就可以正常打开了。
+1. 在资源管理器中,选中该 CHM 文件
+2. 点右键,在右键菜单里选“属性”
+3. 弹出“属性对话框”
+4. 在属性对话框中,点“解除锁定”钮
+
+用 Mac OS 的同学,可以考虑用 Chmox 或 iCHM 打开 CHM 电子书;
+用 Linux 系统的同学,可以考虑用 CHM Viewer 打开 CHM 电子书。
+

HTML 格式

+ +HTML 格式的电子书会有多个文件,为了方便下载,压缩打包成一个 ZIP 文件。下载后请先用压缩软件解开 ZIP 压缩包,即可直接浏览 HTML 文件。
+

TXT 格式

+ +网盘上的 TXT 格式电子书均使用 UTF-8 编码保存。用 Windows 自带的记事本(Notepad)可以直接打开。如果用其它阅读软件打开出现乱码,需要在该软件的界面上切换“字符集”或“编码”,切换为 UTF-8 + +

杀毒软件误报

+ +如果你的杀毒软件报告某本书有病毒,很大可能是【误报】。为了判断到底是不是误报,可以把这本书上传到在线查毒引擎 VirusTotal 进行扫描。
+VirusTotal 隶属 Google 旗下,是全球最大的在线查毒引擎,也最权威。俺写过一篇扫盲教程,介绍该网站的使用。
+

其它与“格式”相关问题

+ +如果碰到其它跟“格式”有关的问题,你搞不定(比如某本书无法打开),可以使用 GitHub 的 issue 给俺反馈。使用 issue 的规范参见这里。
+

如何阅读书籍

+ +考虑到很多网友不善于阅读书籍, 俺强烈推荐大伙儿看一下《如何阅读一本书》 (书评&内容纲要、下载地址)。此书传授了【阅读书籍的技巧】,非常有价值。
+

+

★俺博客的离线浏览

+ +从2015年3月,俺开始用 BT Sync 提供博客上【全部内容】的离线浏览,而且是【免翻墙】哦。你可以通过如下 BT Sync 密钥,进行自动同步。
+B7P64IMWOCXWEYOXIMBX6HN5MHEULFS4V
+(BT Sync 上的内容,大约1到2星期更新一次)
+
+

+

★政治

+ +【网盘】
+微软网盘
+BT Sync 密钥:BRSSYZTSAC6UGYTUOJ22L4GCO7QESPPBD (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇政治 / 政治理论

+ +

◇政治 / 政治理论 / 民主与宪政

+ + + + + + + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
论民主On Democracy(美) 罗伯特·道尔简体PDF(第1版 扫描版)
英文PDF(第1版 扫描版)
2014-06-22
2020-01-25
简介
第三波
——20世纪后期民主化浪潮
The Third Wave
——Democratization in the Late Twentieth Century
(美) 塞缪尔·亨廷顿简体PDF(修订版)
简体PDF
简体EPUB
简体MOBI
英文EPUB
2018-09-06
2013-05-30
2019-01-04
2015-11-14
2020-01-16
简介
民主
其它中文名:
民主、民主化、去民主化及其相互依赖关系
Democracy(美) 查尔斯·蒂利简体PDF(扫描版)
英文PDF
2015-02-09
2020-01-25
简介
牛津通识读本:民主Democracy
——A Very Short Introduction
(英) 伯纳德·克里克英文PDF
英文MOBI
2015-12-11
2020-12-07
简介
牛津通识读本:公民Citizenship
——A Very Short Introduction
(英) 理查德·贝拉米英文PDF2020-03-16简介
代议制政府Considerations on Representative Government(英) 约翰·密尔简体PDF
简体PDF(扫描版)
英文PDF
2013-08-22
2019-10-26
2020-01-25
简介
社会契约论
其它中文名:
民约论
The Social Contract(法) 让-雅克·卢梭简体PDF
简体PDF(扫描版)
简体EPUB
简体MOBI
2014-01-09
2019-10-27
2017-05-06
2015-05-11
简介
论法的精神
其它中文名:
法意
The Spirit of the Laws(法) 孟德斯鸠简体PDF
简体PDF(大字版)
简体PDF(共2册 扫描版)
简体EPUB
简体MOBI
英文PDF
2014-01-09
2017-03-24
2018-12-03
2015-05-11
2015-05-11
2020-01-25
简介
联邦党人文集
其它中文名:
联邦主义者文集
美国宪法原理
The Federalist Papers(美) 亚历山大·汉密尔顿
(美) 詹姆斯·麦迪逊
(美) 约翰·杰伊
简体PDF(扫描版)
简体EPUB
简体MOBI
英文PDF
2013-11-27
2014-01-09
2015-05-11
2020-01-20
简介
控制国家
——西方宪政的历史
Controlling the State
——Constitutionalism from Ancient Athens to Today
(美) 斯科特·戈登简体PDF(扫描版)
英文PDF
2017-08-13
2020-01-20
简介
历史的终结及最后之人The End of History and the Last Man(美) 弗朗西斯·福山简体PDF
简体EPUB
英文PDF
2013-01-01
2013-09-13
2020-01-20
简介
民主的历程
——公元前508年~1993年
其它中文名:
民主
——未竟之旅,公元前508年至公元1993年
Democracy
——The Unfinished Journey, 508 BC to AD 1993
(英) 约翰·邓恩 (主编)简体PDF(扫描版)2014-06-22简介
欧洲民主史
——从孟德斯鸠到凯尔森
A History of Democracy in Europe
——From Montesquieu to 1989
(意) 萨尔沃·马斯泰罗简体PDF(扫描版)2014-07-27简介
论李维
其它中文名:
李维史论
罗马史论
论李维罗马史
Discourses on Livy(意) 尼可罗·马基亚维利简体PDF(3卷本 扫描版)
英文PDF(3卷本)
2020-03-25
2018-12-04
简介
平民政治的基本原理The Fundamental Principles of Government(美) 保罗·芮恩施简体PDF(扫描版)2013-01-14简介
宪政与权利N/A(多人)简体PDF2013-04-13简介
宪政主义
——观念与制度的转捩
N/A王怡简体PDF(扫描版)2013-05-19简介
各国民权运动史N/A董之学繁體PDF(竪排掃描版)2016-07-15简介
罗伯特议事规则Robert's Rules of Order(美) 亨利·马丁·罗伯特
等
简体MOBI(第10版)
英文EPUB(第11版)
2015-05-12
2020-01-20
简介
可操作的民主
——罗伯特议事规则下乡全纪录
N/A寇延丁
袁天鹏
简体EPUB
简体MOBI
简体PDF(扫描版)
2015-11-14
2020-11-22
2015-05-12
简介
+ +

◇政治 / 政治理论 / 自由主义

+ +(本类别的“自由主义”主要指“古典自由主义”和“自由意志主义”)
+ + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
论自由On Liberty(英) 约翰·密尔简体PDF
简体EPUB
简体MOBI
英文PDF
2013-04-14
2013-09-13
2018-11-10
2019-11-03
简介
政府论Two Treatises of Government
其它英文名:
Two Treatises of Government and A Letter Concerning Toleration
(英) 约翰·洛克简体PDF
简体EPUB
简体MOBI
简体TXT
英文PDF
2013-04-14
2013-09-13
2018-11-10
2016-05-14
2020-01-17
简介
自由论
其它中文名:
《自由四论》扩充版
Four Essays on Liberty(俄/英) 以赛亚·伯林简体PDF(扫描版)
英文PDF
2013-08-22
2013-12-15
简介
自由及其背叛
——人类自由的六个敌人
Freedom and Its Betrayal
——Six Enemies of Human Liberty
(俄/英) 以赛亚·伯林简体PDF(扫描版)
英文EPUB
2014-05-23
2019-11-03
简介
自由与繁荣的国度The Free and Prosperous Commonwealth
——An Exposition of the Ideas of Classical Liberalism
其它英文名:
Liberalism
——The Classical Tradition
Liberalism, a Socio-Economic Exposition
(奥/美) 路德维希·冯·米塞斯简体PDF(大字版)
简体PDF
简体HTML
英文PDF
2019-08-29
2016-12-23
2018-12-04
2020-01-17
简介
正义论A Theory of Justice(美) 约翰·罗尔斯简体EPUB
简体MOBI
简体TXT
简体PDF(扫描版)
英文PDF(修订版)
2013-09-13
2018-11-10
2016-05-14
2013-05-23
2020-01-16
简介
政治自由主义Political Liberalism(美) 约翰·罗尔斯简体HTML
简体MOBI
简体PDF(扫描版)
英文EPUB(扩充版)
2013-01-17
2015-05-11
2018-12-04
2020-01-17
简介
无政府、国家与乌托邦Anarchy, State, and Utopia(美) 罗伯特·诺齐克简体PDF(扫描版)
英文EPUB
2013-07-30
2014-03-29
简介
自由主义与正义的局限Liberalism and the Limits of Justice(美) 迈克尔·桑德尔简体PDF(第2版)
简体PDF(第2版 扫描版)
英文PDF(第2版 扫描版)
2013-01-01
2018-12-05
2020-01-16
简介
自由史论The History of Freedom and Other Essays(英) 阿克顿勋爵简体PDF(扫描版)
英文PDF
2014-07-27
2020-03-30
简介
古典自由主义
——入门读物
Libertarianism
——A Primer
(美) 大卫·鲍兹英文PDF2015-07-19简介
利维坦
——教会国家和市民国家的实质、形式、权力
其它中文名:
巨灵论
Leviathan or The Matter, Forme and Power of a Common Wealth Ecclesiastical and Civil(英) 托马斯·霍布斯简体PDF
简体MOBI
英文PDF
2014-06-22
2018-12-22
2019-11-03
简介
古代人的自由与现代人的自由The Liberty of the Ancients Compared with that of the Moderns(法) 本杰明·贡斯当简体PDF(扫描版)
简体MOBI
英文PDF
2014-06-22
2015-05-11
2020-01-17
简介
欧洲自由主义史The History of European Liberalism(意) 圭多·德·拉吉罗简体PDF(扫描版)2015-01-12简介
论出版自由Areopagitica
——A Speech for the Liberty of Unlicensed Printing
(英) 约翰·弥尔顿简体PDF
简体MOBI
英文EPUB
2014-02-03
2015-05-11
2020-01-17
简介
给你所爱的人以自由N/A茅于轼简体PDF
简体PDF(大字版)
简体EPUB
简体MOBI
2013-10-26
2013-11-26
2015-11-14
2015-11-14
简介
+ +

◇政治 / 政治理论 / 保守主义

+ +(“保守主义”与“古典自由主义”存在相当一部分交集;属于两者重叠部分的书,放置到上述“自由主义”分类目录下)
+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
保守主义思想
——从伯克到艾略特
其它中文名:
保守主义的心灵
保守主义思想
——从伯克到桑塔亚那
The Conservative Mind
——From Burke to Eliot
其它英文名:
The Conservative Mind
——From Burke to Santayana
(美) 拉塞尔·柯克英文EPUB
英文PDF(浓缩版)
2020-01-16
2019-08-29
简介
反思法国大革命
其它中文名:
法国大革命反思录
法国革命感想录
Reflections on the Revolution in France(英) 埃德蒙·伯克英文EPUB2020-03-28简介
保守主义Conservatism(英) 休·塞西尔勋爵简体PDF(扫描版)2019-08-29简介
保守主义Conservatism刘军宁简体PDF(扫描版)2019-11-06简介
+ +

◇政治 / 政治理论 / 资本主义

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:资本主义Capitalism
——A Very Short Introduction
(英) 詹姆斯·富尔彻简体EPUB
简体AZW3
2015-12-13
2015-12-13
简介
后资本主义社会Post-Capitalist Society(奥/美) 彼得·德鲁克简体PDF(扫描版)
英文PDF(扫描版)
2018-09-14
2020-01-20
简介
新教伦理与资本主义精神The Protestant Ethic and the Spirit of Capitalism(德) 马克斯·韦伯简体HTML
简体MOBI
英文PDF
2014-04-14
2015-05-11
2020-01-20
简介
+ +

◇政治 / 政治理论 / 共产主义

+ +(本类别主要放置“马列主义”相关书籍)
+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
大失败
——二十世纪共产主义的兴亡
The Grand Failure
——The Birth and Death of Communism in the Twentieth Century
(波兰/美) 兹比格涅夫·布热津斯基简体PDF(扫描版)2012-10-06简介
历史决定论的贫困
其它中文名:
历史主义的贫困
The Poverty of Historicism(奥/英) 卡尔·波普尔简体PDF
简体EPUB
简体HTML
简体MOBI
英文EPUB
2014-07-27
2015-02-15
2012-12-11
2015-05-11
2020-01-14
简介
新阶级
——对共产主义制度的分析
The New Class
——An Analysis of the Communist System
(南斯拉夫) 密洛凡·德热拉斯简体PDF(扫描版)
英文PDF(扫描版)
2012-10-06
2018-09-06
简介
共产主义实录Communism
——A History
(美) 理查德·派普斯简体PDF
英文EPUB
2012-10-05
2020-01-14
简介
恐怖主义与共产主义Terrorism and Communism
——A Contribution to the Natural History of Revolution
(德) 卡尔·考茨基简体PDF
英文PDF(扫描版)
2013-04-11
2019-08-29
简介
共产主义黑皮书
——罪行、恐怖、镇压
The Black Book of Communism
——Crimes, Terror, Repression
(多人)英文PDF(扫描版)2015-02-17简介
社会主义体制
——共产主义政治经济学
The Socialist System
——The Political Economy of Communism
(匈) 雅诺什·科尔奈简体PDF(扫描版)
英文DJVU(扫描版)
2015-01-11
2020-03-16
简介
+ +

◇政治 / 政治理论 / 社会主义

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:社会主义Socialism
——A Very Short Introduction
(英) 迈克尔·纽曼英文PDF
英文MOBI
2015-12-13
2020-12-07
简介
通往奴役之路The Road to Serfdom(奥/英) 弗里德里希·哈耶克简体PDF(台湾版)
简体PDF(大字版)
简体PDF
简体EPUB
简体MOBI
英文PDF
英文EPUB
2014-05-18
2018-09-10
2013-03-24
2013-09-13
2015-05-11
2013-05-30
2019-01-04
简介
社会主义
——经济与社会学的分析
Socialism
——An Economic and Sociological Analysis
(奥/美) 路德维希·冯·米塞斯简体PDF(扫描版)
英文PDF(扫描版)
2013-03-31
2020-01-20
简介
致命的自负
——社会主义的谬误
The Fatal Conceit
——The Errors of Socialism
(奥/英) 弗里德里希·哈耶克简体PDF
简体EPUB
简体MOBI
简体TXT
英文EPUB
2013-03-24
2013-09-13
2015-05-11
2016-05-14
2020-01-20
简介
社会主义国家的经济计算Economic Calculation in the Socialist Commonwealth(奥/美) 路德维希·冯·米塞斯英文PDF2018-09-22简介
+ +

◇政治 / 政治理论 / 极权主义与威权主义

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
开放社会及其敌人The Open Society and Its Enemies(奥/英) 卡尔·波普尔简体PDF
简体EPUB
简体MOBI
简体PDF(扫描版)
英文PDF
2012-12-11
2013-09-14
2018-11-10
2017-03-24
2020-01-15
简介
极权主义的起源The Origins of Totalitarianism(德/美) 汉娜·阿伦特简体PDF
简体CHM
简体MOBI
简体TXT
英文PDF(扫描版)
2012-10-06
2012-10-14
2014-02-23
2016-04-29
2019-08-29
简介
东方专制主义
——对于极权力量的比较研究
Oriental Despotism
——A Comparative Study of Total Power
(德/美) 卡尔·魏特夫 (中文名:魏复古)简体PDF(扫描版)
英文PDF(扫描版)
2019-02-25
2020-01-15
简介
独裁者手册
——为什么恶劣行为总是政治成功的通行证
The Dictator's Handbook
——Why Bad Behavior is Almost Always Good Politics
(美) 布鲁诺·德·梅斯奎塔
(美) 阿拉斯泰尔·史密斯
简体MOBI(标注删节部分)
英文PDF(无删节)
简体EPUB(有删节)
简体MOBI(有删节)
2020-11-20
2018-11-18
2019-03-02
2019-03-02
简介
极权主义民主的起源The Origins of Totalitarian Democracy(波兰/以色列) 雅各布·塔尔蒙简体PDF(扫描版)2015-07-14简介
威权统治的转型
——关于不确定民主的试探性结论
Transitions from Authoritarian Rule
——Tentative Conclusions about Uncertain Democracies
(阿根廷) 吉列尔莫·奥唐奈
(美) 菲利普·施密特
简体PDF(扫描版)
英文PDF(扫描版)
2013-08-21
2020-01-15
简介
新常识
——一党专制的性质与后果
New Common Sense
——The Nature and Consequences of One-Party Dictatorship
张雪忠简体EPUB(精校版)
简体PDF
简体MOBI
2015-11-29
2013-10-19
2018-11-10
简介
+ +

◇政治 / 政治理论 / 乌托邦主义

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:乌托邦主义Utopianism
——A Very Short Introduction
(美) 莱曼·萨金特英文EPUB2020-03-29简介
+ +

◇政治 / 政治理论 / 无政府主义

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:无政府主义Anarchism
——A Very Short Introduction
(英) 科林·瓦德英文PDF2020-03-16简介
+ +

◇政治 / 政治理论 / 外交与国际关系

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:外交Diplomacy
——A Very Short Introduction
(美) 约瑟夫·锡拉库扎简体EPUB2020-03-28简介
文明的冲突与世界秩序的重建The Clash of Civilizations and the Remaking of World Order(美) 塞缪尔·亨廷顿简体PDF
简体PDF(大字版)
简体PDF(扫描版)
简体EPUB
简体MOBI
简体TXT
英文PDF(扫描版)
2013-03-31
2020-03-30
2017-03-24
2018-12-08
2018-11-10
2016-04-30
2019-11-05
简介
大棋局
——美国的首要地位及其地缘战略
The Grand Chessboard
——American Primacy and Its Geostrategic Imperatives
(波兰/美) 兹比格涅夫·布热津斯基简体PDF
简体PDF(扫描版)
简体TXT
简体MOBI
英文PDF
2013-04-14
2017-02-17
2016-04-29
2018-11-10
2019-08-29
简介
大外交Diplomacy(美) 亨利·基辛格简体PDF(扫描版)
英文PDF(扫描版)
英文EPUB
2014-02-05
2019-05-30
2020-01-25
简介
论中国On China(美) 亨利·基辛格简体EPUB
简体MOBI
英文EPUB
2014-02-05
2018-11-10
2014-02-05
简介
理解国际冲突
——理论与历史
其它中文名:
理解全球冲突与合作
——理论与历史
Understanding International Conflicts
——An Introduction to Theory and History
其它英文名:
Understanding Global Conflict and Cooperation
——An Introduction to Theory and History
(美) 小约瑟夫·奈
(加) 戴维·韦尔奇
简体PDF(第3版 扫描版)
英文PDF(第9版)
2018-12-25
2020-01-25
简介
牛津通识读本:国际关系International Relations
——A Very Short Introduction
(英) 保罗·威尔金森英文PDF
英文MOBI
2015-12-13
2020-12-07
简介
牛津通识读本:地缘政治Geopolitics
——A Very Short Introduction
(英) 克劳斯·多兹英文PDF(第1版)
英文MOBI
2015-12-13
2020-12-07
简介
+ +

◇政治 / 政治理论 / 非暴力抗争

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
从独裁到民主
——解放运动的概念框架
From Dictatorship to Democracy
——A Conceptual Framework for Liberation
(美) 吉恩·夏普简体PDF
简体EPUB
简体MOBI
英文PDF
英文EPUB
英文MOBI
2012-08-16
2019-01-04
2015-02-17
2012-08-16
2015-07-25
2015-07-25
简介
群众性防卫
——一种超军事的武器系统
Civilian-Based Defense
——A Post-Military Weapons System
(美) 吉恩·夏普简体PDF
繁體PDF(掃描版)
2013-03-16
2013-02-02
简介
一种更强大的力量
——非暴力抗争一百年
A Force More Powerful
——A Century of Nonviolent Conflict
(美) 彼得·阿克曼
(美) 杰克·杜瓦尔
简体PDF(共2册)
简体MOBI(共2册)
英文EPUB
2020-11-22
2013-05-13
2020-01-16
简介
和平抗议何以有效
——非暴力冲突的策略逻辑
Why Civil Resistance Works
——The Strategic Logic of Nonviolent Conflict
(美) 艾丽卡·切诺韦思
(美) 玛丽亚·斯蒂芬
英文PDF
英文EPUB
2019-07-28
2019-07-28
简介
非暴力手册
——实践指导
The Nonviolence Handbook
——A Guide for Practical Action
(美) 迈克尔·纳格勒简体PDF2020-05-30简介
论战略性非暴力冲突
——关于基本原则的思考
On Strategic Nonviolent Conflict
——Thinking About the Fundamentals
(美) 罗伯特·赫尔维简体PDF
简体EPUB
英文PDF
2019-01-02
2019-05-21
2019-01-02
简介
西方公民不服从的传统The Tradition of the Civil Disobedience何怀宏 (主编)简体PDF(扫描版)2016-07-18简介
+ +

◇政治 / 政治理论 / 女权运动

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
第二性The Second Sex(法) 西蒙娜·德·波伏娃简体PDF(扫描版)
简体HTML
简体TXT
英文EPUB
2013-04-10
2018-12-23
2016-05-12
2019-11-04
简介
女权主义理论
——从边缘到中心
Feminist Theory
——From Margin to Center
(美) 贝尔·胡克斯简体PDF(扫描版)2015-05-12简介
女权辩护
——关于政治和道德问题的批评
A Vindication of the Rights of Woman
——with Strictures on Political and Moral Subjects
(英) 玛丽·沃斯通克拉夫特简体PDF
英文PDF
2013-04-10
2020-03-01
简介
女性的奥秘The Feminine Mystique(美) 贝蒂·弗里丹简体PDF(扫描版)
英文EPUB
2013-04-10
2020-03-01
简介
女权主义Feminism(英) 简·弗里德曼简体PDF(扫描版)2014-02-03简介
妇女
——最漫长的革命
N/A李银河 (主编)简体PDF(扫描版)2015-05-12简介
三个原始部落的性别与气质Sex and Temperament in Three Primitive Societies(美) 玛格丽特·米德简体PDF(扫描版)2013-08-13简介
醒来的女性N/A(未知)简体PDF2014-07-27简介
+ +

◇政治 / 政治理论 / (其它)

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
政治科学Political Science
——An Introduction
(美) 迈克尔·罗斯金
等
简体PDF(第9版 扫描版)
简体PDF(第6版 扫描版)
英文PDF(第12版)
2014-02-13
2014-02-06
2020-03-01
简介
变化社会中的政治秩序Political Order in Changing Societies(美) 塞缪尔·亨廷顿简体PDF(精校版)
简体PDF(扫描版)
英文PDF(扫描版)
2013-10-30
2018-12-04
2020-03-01
简介
政治秩序的起源
——从前人类时代到法国大革命
The Origins of Political Order
——From Prehuman Times to the French Revolution
(美) 弗朗西斯·福山简体PDF(扫描版)
英文EPUB
2016-12-20
2017-05-01
简介
狂热分子
——群众运动圣经
其它中文名:
狂热分子
——码头工人哲学家的沉思录
The True Believer
——Thoughts on the Nature of Mass Movements
(美) 埃里克·霍弗简体EPUB
简体MOBI
简体PDF(扫描版)
英文PDF
英文EPUB
2014-07-27
2018-11-21
2015-01-12
2019-11-04
2020-03-01
简介
国家为什么失败
——权力、富裕与贫困的根源
Why Nations Fail
——The Origins of Power, Prosperity and Poverty
(土耳其/美) 德隆·阿西莫格鲁
(美) 詹姆斯·罗宾逊
简体TXT
繁體PDF(豎排掃描版)
英文EPUB
2014-03-20
2014-03-20
2020-03-01
简介
当代欧洲政治思想,1945~1989European Political Thought, 1945~1989(意) 萨尔沃·马斯泰罗 (主编)简体PDF(扫描版)2020-03-25简介
君主论
其它中文名:
君王论
The Prince(意) 尼可罗·马基亚维利简体PDF
简体PDF(扫描版)
简体TXT
英文PDF
2013-08-22
2019-10-28
2016-05-02
2020-03-01
简介
理想国
其它中文名:
国家篇
共和国
The Republic(古希腊) 柏拉图简体PDF
简体EPUB
英文TXT
2015-07-22
2017-04-30
2020-03-01
简介
+ +

◇政治 / 政治小说

+ +(某些政治小说描写的是特定国家,归入【政治类】对应国家的分类目录;
某些中国的政治小说,描写的是特定历史背景,放在【政治类 / 中国 / 中共历史】分类目录下)
+ + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
一九八四Nineteen Eighty-Four(英) 乔治·奥威尔简体PDF
简体EPUB (精校版)
简体TXT
简体PDF(扫描版)
简体MOBI
英文EPUB
英文PDF
2010-09-07
2015-11-29
2012-03-08
2013-10-20
2014-02-23
2013-09-13
2012-01-11
简介
动物庄园
其它中文名:
动物农庄
Animal Farm(英) 乔治·奥威尔简体PDF
简体EPUB
简体TXT
简体PDF(扫描版)
简体MOBI
英文PDF
2010-09-23
2013-09-13
2012-03-08
2013-10-20
2014-02-23
2012-01-11
简介
美丽新世界
其它中文名:
美妙的新世界
Brave New World(英) 奥尔德斯·赫胥黎简体EPUB
简体HTML
简体TXT
简体MOBI
英文PDF
2013-09-15
2019-08-23
2012-10-05
2015-02-17
2020-01-14
简介
我们
其它中文名:
反乌托邦与自由
We(俄/苏) 尤金·扎米亚京简体EPUB
简体MOBI
英文EPUB
2013-09-15
2015-02-17
2020-01-14
简介
阿特拉斯耸耸肩
其它中文名:
阿特拉斯摆脱重负
Atlas Shrugged(俄/美) 艾茵·兰德英文EPUB2020-03-16简介
严厉的月亮
其它中文名:
怒月
月亮是位严厉的主妇
The Moon Is a Harsh Mistress(美) 罗伯特·海因莱因简体EPUB
简体MOBI
英文EPUB
2019-03-04
2019-03-04
2020-01-14
简介
云图Cloud Atlas(英) 大卫·米切尔简体PDF
简体EPUB
简体MOBI
英文PDF
2014-02-06
2014-02-06
2018-11-10
2014-02-06
简介
黄祸Yellow Peril王力雄简体CHM2013-08-21简介
旋风N/A姜贵 (原名:王林渡)简体PDF2013-08-21简介
盛世
——中国2013
The Fat Years陈冠中简体PDF
简体EPUB
2013-01-01
2017-04-30
简介
裸命N/A陈冠中简体MOBI2013-01-01简介
中国地图
——一幅中国人的精神地图
N/A汪建辉简体PDF2014-05-23简介
+ +

◇政治 / 中国

+ +

◇政治 / 中国 / 中共历史

+ +

◇政治 / 中国 / 中共历史 / 改革开放时期

+ + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
中国改革年代的政治斗争N/A杨继绳简体PDF
简体EPUB
简体MOBI
2012-04-05
2013-11-26
2018-09-06
简介
中国现代化的陷阱The Pitfalls of Modernization何清涟简体PDF(修订版)
简体MOBI(修订版)
简体PDF
简体HTML
2013-12-14
2014-02-23
2013-02-05
2012-11-18
简介
中国
——奇迹的黄昏
N/A袁剑简体PDF
简体EPUB
简体MOBI
2012-04-05
2015-07-18
2015-07-18
简介
大国沉沦
——写给中国的备忘录
N/A刘晓波简体PDF2013-08-11简介
断裂
——20世纪90年代以来的中国社会
N/A孙立平简体PDF(扫描版)2013-03-16简介
转型与断裂
——改革以来中国社会结构的变迁
N/A孙立平简体PDF(扫描版)2017-05-01简介
山坳上的中国
——问题、困境、痛苦的选择
N/A何博传简体PDF(扫描版)2013-03-07简介
中国共产党不可说的秘密The Party
——The Secret World of China's Communist Rulers
(澳大利亚) Richard McGregor英文PDF2015-02-08简介
红色资本主义
——中国非凡崛起之下的脆弱金融基础
Red Capitalism
——The Fragile Financial Foundation of China's Extraordinary Rise
(美) Carl Walter
(美) Fraser Howie
英文PDF
英文MOBI
2014-03-29
2015-02-09
简介
全球化与中国国家转型Globalization and state transformation in China(新加坡) 郑永年简体PDF(扫描版)2014-01-09简介
陷入困局
——天朝的大困境
Walled In
——China’s Great Dilemma
(美) 高盛公司英文PDF
简体PDF
2016-03-22
2016-03-22
简介
+ +

◇政治 / 中国 / 中共历史 / 六四事件

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
天安门血腥清场内幕N/A(中/美) 吴仁华繁體PDF2012-05-25简介
人民不会忘记
——八九民运实录
People Will Not Forget
——A Chronicle by 64 Hong Kong Reporters
香港记者协会繁體HTML
繁體WEB
2019-04-03
N/A
简介
八九民运史The History of the 1989 Tiananmen Square Protests陈小雅繁體PDF
繁體WEB
2014-05-23
N/A
简介
天安门对峙Standoff at Tiananmen程鹗简体TXT
简体WEB
2019-05-20
N/A
简介
天安门文件
其它中文名:
中国六四真相
The Tiananmen Papers张良 (化名)简体PDF
简体CHM
2013-01-13
2012-04-05
简介
历史的大爆炸
——六四事件全景实录
The Big Bang of History
——June Fourth Movement Record
张万舒 (原名:张清海)繁體PDF(掃描版)2017-04-29简介
六四内部日记N/A陆超祺繁體PDF(掃描版)2020-08-12简介
八九天安门事件大事记N/A(中/美) 吴仁华简体PDF2012-05-25简介
广场活碑
——一个香港女记者眼中的六四血光
N/A蔡淑芳繁體PDF
繁體TXT
2014-05-23
2019-06-04
简介
血洗京华实录
——香港文汇报1989年特刊
N/A香港《文汇报》繁體PDF(掃描版)2019-04-03简介
中国民运反思N/A胡平简体PDF
简体TXT
繁體WEB
2013-05-01
2014-05-23
N/A
简介
天安门的力量
——国家•社会关系与1989学生运动
The Power of Tiananmen
——State-Society Relations and the 1989 Beijing Student Movement
赵鼎新繁體PDF(掃描版)
英文PDF
2012-12-26
2020-01-23
简介
回顾与反思
——六四流亡学生17人
N/A(多人)繁體PDF2019-04-03简介
末日幸存者的独白
——关于我和“六四”
N/A刘晓波繁體PDF(掃描版)2014-05-23简介
六四日记
——广场上的共和国
A Tiananmen Journal
——Republic on the Square
封从德繁體PDF(掃描版)2013-02-02简介
王丹回忆录
——从六四到流亡
N/A王丹繁體EPUB
繁體MOBI
繁體DOCX
2014-03-29
2018-11-10
2013-11-26
简介
逃亡者Escape From China
——The Long Journey from Tiananmen to Freedom
张伯笠简体TXT(缺最后2章)2019-05-20简介
铭记天安门Remembering Tiananmen Square(英) 罗宾·门罗简体PDF
英文WEB
2012-05-25
N/A
简介
黄雀行动N/A江迅简体PDF2012-05-25简介
“六四”事件民间白皮书N/A纪念六四事件委员会简体PDF2012-05-25简介
六四诗集N/A(多人)简体PDF2014-05-23简介
关键时刻
——李鹏日记
The Critical Moment
——Li Peng Diaries
李鹏 (原名:李远芃)简体PDF
简体CHM
2020-08-12
2012-04-05
简介
惊心动魄的五十六天N/A国家教委思想政治工作司繁體WEBN/A简介
1989年北京制止动乱平息反革命暴乱纪事N/A北京市委办公厅简体PDF(扫描版)2013-01-18简介
陈希同亲述
——众口铄金难铄真
N/A姚监复繁體PDF2013-06-10简介
加拿大政府“六四事件”解密档案N/A(加) 加拿大驻华使馆英文PDF(影印版)2015-05-12简介
+ +

◇政治 / 中国 / 中共历史 / 文革时期

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
文化大革命十年史N/A高皋
严家其
简体PDF(扫描版)2012-12-10简介
文化大革命的起源The Origins of the Cultural Revolution(英) 麦克法夸尔 (中文名:马若德)简体PDF(共2卷 扫描版)2013-03-30简介
毛泽东最后的革命Mao's Last Revolution(英) 麦克法夸尔 (中文名:马若德)
(瑞典) Michael Schoenhals (中文名:沈迈克)
简体PDF
英文PDF
2012-12-09
2020-01-23
简介
文化大革命
——历史真相和集体记忆
N/A宋永毅 (主编)简体PDF2012-10-05简介
形形色色的造反
——红卫兵精神素质的形成及演变
Rebels of All Stripes
——A Study of Red Guard Mentalities
徐友渔繁體PDF(掃描版)2013-06-22简介
红卫兵档案N/A吴过简体PDF2012-04-06简介
上山下乡
——一个美国人眼中的中国知青运动
其它中文名:
上山下乡
——中国青年从城市到农村的转移
Up to the Mountains and Down to the Villages
——The Transfer of Youth from Urban to Rural China
(美) 托马斯·伯恩斯坦简体PDF(扫描版)2015-11-09简介
失落的一代
——中国的上山下乡运动,1968~1980
The Lost Generation
——The Rustification of Chinese Youth, 1968~1980
(法) 米歇尔·博南 (中文名:潘鸣啸)简体PDF
简体PDF(扫描版)
简体EPUB
简体MOBI
2016-12-14
2013-08-11
2014-05-18
2018-11-10
简介
知青备忘录
——上山下乡运动中的生产建设兵团
N/A史卫民
何岚
简体PDF(扫描版)2019-02-23简介
文化大革命研究资料N/A国防大学党史党建政工教研室简体PDF(上中下 扫描版)2013-11-30简介
文革研究N/A(多人)简体PDF2012-04-06简介
周恩来文革讲话集N/A周恩来简体TXT
简体PDF(拍照版)
2014-03-20
2015-07-14
简介
随想录Random Thoughts巴金 (原名:李尧棠)简体PDF(扫描版)
繁體MOBI
2014-01-09
2014-06-22
简介
遇罗克之遗作与回忆N/A徐晓
丁东
徐友渔
简体PDF(扫描版)2013-03-16简介
牛鬼蛇神录
——文革囚禁中的精灵
The Captive Spirits
——Prisoners of the Cultural Revolution
(中/澳大利亚) 杨小凯 (原名:杨羲光)简体PDF
简体MOBI
2012-12-09
2020-05-30
简介
1966
——我们那一代的回忆
N/A徐友渔 (主编)简体PDF(扫描版)2017-08-13简介
上海生死劫
其它中文名:
上海生与死
Life and Death in Shanghai郑念 (原名:姚念媛)简体EPUB
简体PDF(扫描版)
简体MOBI
英文EPUB
英文MOBI
2017-05-06
2013-05-30
2020-05-30
2019-07-26
2019-07-26
简介
劫后长忆
——十年动乱纪事
N/A穆欣 (原名:杜蓬莱)繁體PDF(豎排掃描版)2019-02-04简介
中国的眸子N/A胡平 (与民运人士胡平同名)简体PDF(扫描版)2013-03-31简介
自由在落日中Freedom in the Sunset袁红冰 (原名:袁红兵)简体CHM2013-06-22简介
第二种忠诚N/A刘宾雁简体PDF2013-03-09简介
历史的代价
——文革死亡档案
N/A金石开简体PDF(扫描版)2016-12-19简介
文革三大屠杀案N/A(多人)简体PDF2015-02-17简介
血的神话
——1967年湖南道县文革大屠杀纪实
N/A谭合成简体PDF2015-05-12简介
+ +

◇政治 / 中国 / 中共历史 / “大跃进”与大饥荒时期

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
墓碑
——中国六十年代大饥荒纪实
Tombstone
——The Great Chinese Famine, 1958~1962
其它英文名:
Tombstone
——An Account of Chinese Famine in the 1960s
杨继绳简体PDF
繁體PDF
简体EPUB
简体MOBI
英文EPUB
2012-04-06
2013-10-20
2014-06-21
2020-05-30
2020-01-23
简介
人祸
——“大跃进”与大饥荒
N/A丁抒简体PDF
简体HTML
2013-01-13
2012-04-06
简介
大跃进亲历记
——毛泽东秘书手记
N/A李锐 (原名:李厚生)简体PDF(上下卷 扫描版)2013-05-08简介
庐山会议实录Mount Lu Meeting Records李锐 (原名:李厚生)简体PDF2012-10-05简介
农村人民公社史N/A罗平汉简体PDF(扫描版)2016-12-19简介
辉煌的幻灭
——人民公社警示录
N/A康健简体CHM
简体HTML
2012-10-05
2012-10-06
简介
夹边沟记事Memory of Jiabiangou杨显惠简体PDF(扫描版)
简体PDF
简体EPUB
简体MOBI
2013-03-22
2016-12-14
2019-01-04
2019-01-04
简介
定西孤儿院纪事
——实录饥饿的绝境
Records of Dingxi Orphanage杨显惠简体PDF(扫描版)
简体PDF
简体EPUB
简体MOBI
2013-03-08
2016-12-14
2019-01-04
2019-01-04
简介
+ +

◇政治 / 中国 / 中共历史 / “反右”运动

+ + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
阳谋
——反右派运动始末
N/A丁抒简体PDF
简体CHM
2013-01-13
2012-11-17
简介
还原1957N/A魏紫丹 (原名:魏立言)繁體PDF2015-02-17简介
1957年的夏季
——从百家争鸣到两家争鸣
N/A朱正简体PDF
简体HTML
2016-12-14
2012-11-17
简介
毛主席是什么时候决定引蛇出洞的N/A李慎之简体TXT2019-02-24简介
往事并不如烟
其它中文名:
最後的貴族
The Past is Not Like Smoke章诒和简体PDF(精校版 标注删节部分)
繁體EPUB(台灣版 無刪節)
简体PDF(大字版)
简体MOBI
简体TXT
2013-02-05
2015-11-10
2018-09-10
2020-05-30
2012-12-09
简介
十四万言书
——致人民日报编辑部信
N/A林昭 (原名:彭令昭)简体PDF2013-02-01简介
中华民族的自由女神
——林昭罹难40年纪念文集
N/A(多人)简体PDF2013-02-01简介
林昭,不再被遗忘N/A(多人)简体PDF(扫描版)2013-02-01简介
祭坛上的圣女
——林昭传
N/A赵锐简体PDF2013-06-22简介
+ +

◇政治 / 中国 / 中共历史 / “土改”运动

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
最后的地主The Last of China's Landlords廖亦武简体PDF
简体PDF(大字版)
2013-03-16
2013-03-31
简介
秧歌The Rice Sprout Song张爱玲 (原名:张煐)简体PDF2013-08-21简介
赤地之恋Naked Earth张爱玲 (原名:张煐)简体PDF2013-08-21简介
+ +

◇政治 / 中国 / 中共历史 / 国共内战时期

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
1949年
——中国知识分子的私人记录
N/A傅国涌简体PDF(扫描版)
简体PDF
2013-03-14
2016-12-14
简介
战后中共夺取东北始末N/A杨奎松繁體PDF2012-12-11简介
陈诚先生回忆录
——国共战争
N/A陈诚繁體PDF2015-07-19简介
大江大海,一九四九Big River, Big Sea龙应台简体PDF
简体EPUB
简体MOBI
繁體PDF(豎排掃描版)
2013-01-17
2013-09-13
2020-05-30
2012-11-17
简介
+ +

◇政治 / 中国 / 中共历史 / 延安与八年抗战时期

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
红太阳是怎样升起的
——延安整风运动的来龙去脉
How the Red Sun Rose
——The Origin and Development of the Yan'an Rectification Movement, 1930~1945
高华简体PDF
简体CHM
简体EPUB
简体MOBI
2012-12-09
2012-04-06
2013-11-26
2014-02-03
简介
中共壮大之谜
——被掩盖的中国抗日战争真相
N/A谢幼田简体CHM
简体PDF
2012-11-17
2016-12-14
简介
延安的阴影N/A陈永发繁體PDF(掃描版)2015-07-18简介
历史的先声
——半个世纪前的庄严承诺
N/A笑蜀 (原名:陈敏)简体PDF
简体PDF(大字版)
简体PDF(扫描版)
简体CHM
简体TXT
2014-06-21
2019-01-04
2013-05-08
2012-10-06
2012-10-06
简介
延安日记The Vladimirov Diaries
——Yenan, China, 1942~1945
(苏) 彼得·弗拉基米洛夫 (中文名:孙平)简体PDF(扫描版)
简体CHM
2019-02-17
2012-10-05
简介
红太阳下的罂粟花
——鸦片贸易与延安模式
N/A陈永发繁體PDF(掃描版)2012-10-05简介
延安整风实录N/A高新民
张树军
简体PDF(扫描版)2017-08-13简介
内在的敌人The Enemy Within
——An Eyewitness Account of the Communist Conquest of China
(比利时) Raymond de Jaegher (中文名:雷震远)简体PDF
简体EPUB
简体MOBI
简体CHM
2014-02-03
2014-03-29
2018-12-08
2014-02-03
简介
+ +

◇政治 / 中国 / 中共历史 / 江西时期

+ + + + + + +
中文书名作者文件类型上传日期备注
AB 团与富田事变始末戴向青
罗惠兰
简体PDF(扫描版)2015-05-12简介
博古和毛泽东
——及中华苏维埃共和国的领袖们
秦福铨繁體PDF(掃描版)2017-08-16简介
“肃 AB 团”事件的历史考察高华简体PDF2016-12-20简介
+ +

◇政治 / 中国 / 中共历史 / (其它)

+ + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
谁是新中国
——中国现代史辨
Which is the New China
——Distinguishing between Right and Wrong in Modern Chinese History
辛灏年 (原名:高尔品)简体PDF
简体CHM
2012-12-30
2012-12-10
简介
中国共产革命七十年N/A陈永发繁體PDF(上下冊 掃描版)2012-10-15简介
中国思想运动史N/A李洪林简体PDF(扫描版)2013-07-07简介
在历史的风陵渡口N/A高华简体PDF2012-12-09简介
新中国三十年
其它中文名:
毛澤東專政始末
N/A(美) 唐德刚简体PDF
繁體EPUB
繁體MOBI
简体MOBI
2014-01-09
2019-01-04
2019-01-04
2020-05-29
简介
我亲历过的政治运动N/A(多人)简体PDF(扫描版)2013-04-21简介
20世纪后半叶历史解密Decoding History, 1950s~2000s何清涟 (主编)简体PDF2013-07-07简介
中国“左”祸N/A文聿 (原名:陆建华)简体PDF(扫描版)2013-04-21简介
毛泽东执政春秋N/A单少杰简体PDF2015-07-18简介
北大魂
——从林昭到八九民运
N/A甘粹简体PDF2013-08-11简介
中共五十年N/A王明 (原名:陈绍禹)简体PDF(扫描版)2013-05-09简介
十年论战
——1956-1966中苏关系回忆录
N/A吴冷西简体PDF(扫描版)2013-02-01简介
无耻的洋人N/A徐沛简体PDF2013-07-28简介
+ +

◇政治 / 中国 / 政治人物

+ +

◇政治 / 中国 / 政治人物 / 共产党

+ +

◇政治 / 中国 / 政治人物 / 共产党 / 陈独秀

+ + + + + +
中文书名作者文件类型上传日期备注
陈独秀的最后见解
——论文和书信
陈独秀繁體PDF(竪排掃描版)2019-05-19简介
陈独秀与莫斯科的恩恩怨怨姚金果简体PDF(扫描版)2017-08-13简介
+ +

◇政治 / 中国 / 政治人物 / 共产党 / 毛泽东

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
红太阳的陨落
——千秋功罪毛泽东
N/A辛子陵 (原名:宋科)简体PDF
简体MOBI
简体DOC
2012-12-09
2020-05-29
2012-04-05
简介
毛泽东时代和后毛泽东时代,1949~2009
——另一种历史书写
N/A钱理群繁體PDF(掃描版)
简体MOBI
2013-05-07
2020-05-29
简介
毛泽东私人医生回忆录The Private Life of Chairman Mao李志绥简体PDF
繁體PDF(豎排掃描版)
英文EPUB
2013-08-01
2015-02-08
2020-01-23
简介
新发现的毛泽东
——仆人眼中的伟人
N/A王若水简体PDF2012-04-05简介
毛泽东
——鲜为人知的故事
Mao
——The Unknown Story
张戎 (原名:张二鸿)简体PDF2013-08-01简介
毛主席用兵真如神?N/A芦笛繁體PDF2015-11-09简介
+ +

◇政治 / 中国 / 政治人物 / 共产党 / 周恩来

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
晚年周恩来Zhou Enlai
——The Last Perfect Revolutionary
高文谦简体PDF
简体EPUB
简体MOBI
英文PDF
2012-10-05
2013-09-14
2018-09-06
2020-01-23
简介
周恩来与上海灭门血案N/A吴基民简体PDF2018-09-06简介
+ +

◇政治 / 中国 / 政治人物 / 共产党 / 邓小平

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
中南海日记
——中共两代王储的陨落
N/A吴稼祥繁體PDF(掃描版)2012-12-09简介
邓小平时代Deng Xiaoping and the Transformation of China(美) Ezra Vogel (中文名:傅高义)繁體PDF(香港版 無刪節)
简体MOBI(香港版 无删节)
英文EPUB
2013-04-14
2020-05-29
2020-01-23
简介
+ +

◇政治 / 中国 / 政治人物 / 共产党 / 胡耀邦

+ + + + + + + +
中文书名作者文件类型上传日期备注
胡耀邦与平反冤假错案戴煌 (原名:戴澍霖)简体PDF(扫描版)2017-05-01简介
胡耀邦与中国政治改革
——12位老共产党人的反思
(多人)繁體PDF(掃描版)2013-02-01简介
胡耀邦下台的背景
——人道主义在中国的命运
王若水简体TXT2012-12-19简介
十年的路
——和胡耀邦相处的日子
吴江繁體PDF(掃描版)2013-02-02简介
+ +

◇政治 / 中国 / 政治人物 / 共产党 / 赵紫阳

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
改革历程
——赵紫阳回忆录
其它中文名:
国家的囚徒
——赵紫阳的秘密录音
Prisoner of the State
——The Secret Journal of Premier Zhao Ziyang
赵紫阳简体PDF
英文PDF
2012-04-05
2020-01-23
简介
赵紫阳还说过什么?
——杜导正日记
N/A杜导正简体PDF2012-05-25简介
+ +

◇政治 / 中国 / 政治人物 / 共产党 / 第4代

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
中国影帝温家宝China's Best Actor
——Wen Jiabao
余杰简体PDF
简体TXT
2012-10-26
2012-12-13
简介
河蟹大帝胡锦涛N/A余杰简体PDF(不全)2013-03-14简介
中国权贵的死亡游戏A Death in the Lucky Holiday Hotel
——Murder, Money, and an Epic Power Struggle in China
何频
黄闻光
繁體PDF2014-05-04简介
+ +

◇政治 / 中国 / 政治人物 / 共产党 / (其他人物)

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
多余的话Superfluous Words瞿秋白 (原名:瞿懋淼)繁體TXT
简体MOBI
2019-08-23
2020-05-29
简介
我的回忆N/A张国焘简体PDF2012-10-26简介
林彪浮沉录The Rise and Fall of Lin Piao(荷兰) 雅普·冯·吉内肯简体PDF(扫描版)2013-05-19简介
杨尚昆日记N/A杨尚昆简体PDF(扫描版)2017-08-13简介
红色家族档案
——罗瑞卿女儿的点点记忆
N/A罗点点 (原名:罗峪平)简体EPUB
简体PDF(扫描版)
2015-11-10
2013-04-21
简介
龚楚回忆录N/A龚楚繁體PDF(豎排掃描版)2014-02-04简介
李作鹏回忆录N/A李作鹏简体EPUB2014-03-29简介
邱会作回忆录N/A邱会作简体EPUB2014-03-29简介
+ +

◇政治 / 中国 / 政治人物 / 国民党

+ +

◇政治 / 中国 / 政治人物 / 国民党 / 蒋中正

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
蒋中正思想言论总集N/A蒋中正繁體CHM2015-02-08简介
蒋介石传The Man Who Lost China
——The First Full Biography of Chiang Kai-shek
(美) 布赖恩·克罗泽简体EPUB2019-08-23简介
+ +

◇政治 / 中国 / 政治人物 / 国民党 / 蒋经国

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
蒋经国自述N/A蒋经国简体PDF2015-02-09简介
我在苏联的生活N/A蒋经国繁體PDF(竪排掃描版)2015-07-17简介
蒋经国传Biography of Chiang Ching-Kuo(中/美) 江南 (原名:刘宜良)简体EPUB
简体PDF(扫描版)
简体TXT
2017-05-06
2015-11-21
2016-05-01
简介
+ +

◇政治 / 中国 / 政治人物 / 国民党 / (其他人物)

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
胡汉民自传N/A胡汉民繁體DJVU(竪排掃描版)2015-07-16简介
李宗仁回忆录Memoirs of Li Zongren李宗仁 (口述)
(中/美) 唐德刚 (整理)
简体EPUB
简体MOBI
简体PDF(扫描版)
2019-08-23
2019-08-23
2020-03-28
简介
张学良口述历史N/A张学良 (口述)
(中/美) 唐德刚 (整理)
简体PDF(扫描版)
简体EPUB
简体MOBI
2015-01-07
2015-05-11
2015-05-11
简介
白崇禧回忆录N/A白崇禧简体PDF(扫描版)2015-07-16简介
成败之鉴
——陈立夫回忆录
N/A陈立夫繁體PDF(竪排掃描版)2015-07-16简介
旷世风雷一梦痕
——九十年人生经历见证
N/A王思诚繁體PDF(竪排掃描版)2013-07-07简介
+ +

◇政治 / 中国 / 政治人物 / 太子党关系网络

+ +这是俺花了不少时间整理的,包括十多张详细的网状图,涵盖几百个权贵家族。
+通过此文档,可以直观体会到天朝就是一个“权贵资本主义社会”。
+俺已经把这份文档开源到 GitHub(它不但是一个开源项目的集散地,也是一个多人网络协作的平台)。希望大伙儿群策群力,一起来曝光权贵丑陋的嘴脸。
+更多详情请看 zhao@github
+

◇政治 / 中国 / 社会阶层与贫富分化

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
中国底层访谈录Interviews with the Lower Strata of Chinese Society廖亦武简体PDF(上下 扫描版)
简体PDF(上中下 文字版)
简体PDF(上中下 大字版)
2012-12-10
2013-03-31
2013-03-31
简介
中国当代社会各阶层分析N/A杨继绳简体PDF(扫描版)2012-01-14简介
中国社会各阶层分析N/A梁晓声简体PDF(扫描版)2012-12-10简介
中国农民调查Will the Boat Sink the Water?
——The Life of China's Peasants
陈桂棣
吴春桃
简体PDF
简体TXT
2015-11-15
2016-05-18
简介
上帝是红色的
——中国十字架地下寻访录
God Is Red
——The Secret Story of How Christianity Survived and Flourished in Communist China
廖亦武简体PDF
简体EPUB
简体MOBI
2013-05-01
2014-03-29
2018-11-10
简介
地震疯人院
——2008·5·12四川大地震记事
Earthquake Insane Asylum廖亦武简体PDF2013-05-02简介
中国社会分层的结构与演变The Structure and Evolution of Chinese Social Stratification李毅简体CHM2013-07-28简介
+ +

◇政治 / 中国 / 腐败问题

+ + + + + + + +
中文书名作者文件类型上传日期备注
远华案黑幕盛雪 (原名:臧锡红)简体PDF
简体TXT
2013-01-13
2013-01-01
简介
人妖之间刘宾雁简体PDF2013-03-09简介
有关北京龙泉寺住持释学诚不法行为的汇报释贤启
释贤佳
简体PDF2018-08-24简介
编译局言情录
——一朝忽觉京梦醒,半世浮沉雨打萍
常艳简体PDF2012-12-24简介
+ +

◇政治 / 中国 / 中宣部与言论审查

+ + + + + + +
中文书名作者文件类型上传日期备注
讨伐中宣部
——焦国标文集
焦国标简体CHM2013-01-07简介
雾锁中国
——中国大陆控制媒体策略大揭秘
何清涟简体PDF
简体MOBI
2013-05-01
2013-05-13
简介
中国政府如何控制媒体
——中国人权研究报告
何清涟简体PDF2013-01-13简介
+ +

◇政治 / 中国 / 教育问题

+ + + + + + +
中文书名作者文件类型上传日期备注
审视中学语文教育(多人)简体PDF(扫描版)2013-02-25简介
沉疴
——中国教育的危机与批判
冉云飞简体PDF2013-07-07简介
我不原谅
——一个90后对中国教育的批评和反思
钟道然简体DOC
简体PDF(扫描版)
2013-04-04
2013-05-01
简介
+ +

◇政治 / 中国 / 少数民族问题

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
天葬
——西藏的命运
Sky Burial
——The Fate of Tibet
王力雄简体PDF
简体TXT
2012-12-31
2012-12-31
简介
我的西域,你的东土My West China, Your East Turkestan王力雄简体PDF
简体MOBI
2013-03-22
2020-05-29
简介
1959,拉萨!
——达赖喇嘛如何出走
N/A李江琳繁體PDF(掃描版)2013-07-26简介
西藏生与死
——雪域的民族主义
Tibet
——Survival in Question
(法) 董尼德繁體PDF(竪排掃描版)2012-12-31简介
流亡中的自在
——达赖喇嘛自传
Freedom in Exile
——The Autobiography of the Dalai Lama
十四世达赖喇嘛 (原名:丹增嘉措)简体PDF
简体EPUB
简体MOBI
英文PDF(扫描版)
2017-03-26
2014-03-29
2018-11-10
2020-01-22
简介
西藏笔记
其它中文名:
名为西藏的诗
Notes on Tibet唯色 (全名:茨仁唯色)简体PDF(扫描版)2013-05-19简介
东突厥斯坦独立运动
——1930年代至1940年代
N/A王柯简体EPUB
简体MOBI
2014-03-28
2014-03-28
简介
+ +

◇政治 / 中国 / 司法问题

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
中国冤案录China's Unjust Court Cases廖亦武简体MOBI(三卷合集)
简体PDF(第2卷)
2014-02-23
2013-05-01
简介
遭遇警察
——中国维权第一线亲历记录
In the Shadow of the Rising Dragon
——Stories of Repression in the New China
徐友渔
华泽
简体PDF2016-12-08简介
昨夜雨骤风狂N/A吴弘达简体PDF2013-05-13简介
大国寡民N/A卢跃刚简体PDF2014-02-05简介
狱后杂谈N/A欧阳懿简体TXT2014-02-22简介
+ +

◇政治 / 中国 / 环境问题

+ + + + + + + +
中文书名作者文件类型上传日期备注
灾变论
——寻找另外一个中国
任不寐简体HTML2015-02-15简介
人口
——中国的悬剑
何清涟简体PDF2015-07-22简介
中国冥路
——中国每年非常死亡480万
北明繁體PDF2015-02-17简介
民以何食为天
——中国食品安全现状调查
周勍简体PDF(扫描版)2014-01-09简介
+ +

◇政治 / 中国 / 公民维权

+ + + + + +
中文书名作者文件类型上传日期备注
追问阳光财政
——2009公民税权手册
传知行研究所简体PDF2015-07-22简介
2017年,起来中国
——酷刑下的维权律师高智晟自述
高智晟繁體PDF2016-12-23简介
+ +

◇政治 / 中国 / 民运与革命

+ + + + + +
中文书名作者文件类型上传日期备注
中国民主革命之路
——中国民主化运动百题问答
王炳章简体PDF2015-11-12简介
如何推翻中共高光俊简体PDF2015-01-12简介
+ +

◇政治 / 中国 / (其它)

+ + + + + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
王小波全集N/A王小波简体CHM
简体EPUB
2013-08-21
2013-09-14
简介
沉默的大多数 (杂文合集)N/A王小波简体PDF
简体PDF(大字版)
2013-10-20
2020-03-30
简介
容忍与自由
——胡适演讲集
N/A胡适简体EPUB
简体MOBI
2020-03-30
2015-11-09
简介
刘晓波文集N/A刘晓波简体PDF2013-06-19简介
未来的自由中国在民间Civil Awakening
——The Dawn of a Free China
刘晓波简体PDF2012-12-09简介
单刃毒剑
——中国当代民族主义批判
A Single Blade and Toxic Sword
——Critique on Comtempory Chinese Nationalism
刘晓波简体PDF2012-12-09简介
数人头胜过砍人头N/A胡平繁體PDF2013-03-16简介
犬儒病
——当代中国精神危机
N/A胡平简体PDF2013-04-13简介
火与冰Fire and Ice余杰简体PDF2012-12-11简介
致帝国的悼词
——中国大陆的自由状况及前景
N/A余杰简体PDF2012-12-11简介
关于中国的一百个常识One Hundred Points of Common Sense about China陈破空 (原名:陈劲松)简体PDF
简体CHM
2019-01-23
2013-05-13
简介
国家的常识 (中国部分)Countries and Concepts
——Politics, Geography, Culture
(美) 迈克尔·罗斯金简体PDF2015-02-23简介
王怡文集N/A王怡简体CHM2013-05-19简介
通往比傻帝国N/A冉云飞简体PDF(扫描版)2013-06-22简介
不服从的江湖N/A王怡简体PDF(扫描版)2013-05-19简介
中国近百年人权思想N/A杜钢建繁體EPUB
繁體MOBI
2014-05-04
2014-05-04
简介
伪民主派卖港实录N/A黄毓民繁體PDF2013-06-22简介
血纪N/A孔令平简体PDF2013-05-19简介
+ +

◇政治 / 美国

+ +

◇政治 / 美国 / 政治制度

+ + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
论美国的民主
其它中文名:
民主在美国
Democracy in America(法) 亚历西斯·德·托克维尔简体PDF(上下卷)
简体MOBI
英文PDF
2012-10-06
2013-05-13
2020-03-03
简介
美国是如何治理的To Govern America(美) 罗杰·希尔斯曼简体PDF(扫描版)2017-02-17简介
事关选举
——美国国会的政治解读
Congress
——The Electoral Connection
(美) 戴维·梅休简体PDF(扫描版)
英文PDF(扫描版)
2017-02-17
2020-03-03
简介
国会政体
——美国政治研究
Congressional Government
——A Study in American Politics
(美) 伍德罗·威尔逊简体PDF(扫描版)
英文TXT
2017-02-17
2020-03-03
简介
美国的陪审团In the Hands of the People
——The Trial Jury's Origins, Triumphs, Troubles, and Future in American Democracy
(美) 威廉·德威尔简体PDF(扫描版)2017-02-18简介
牛津通识读本:美国政治American Politics
——A Very Short Introduction
(美) 理查德·瓦雷利英文PDF2020-03-16简介
牛津通识读本:美国总统制The American Presidency
——A Very Short Introduction
(美) 查尔斯·琼斯简体EPUB
简体AZW3
2015-12-04
2015-12-04
简介
牛津通识读本:美国国会The U.S. Congress
——A Very Short Introduction
(美) 唐纳德·里奇英文PDF
英文MOBI
2015-12-13
2020-12-07
简介
牛津通识读本:美国最高法院The U.S. Supreme Court
——A Very Short Introduction
(美) 琳达·格林豪斯简体EPUB
简体AZW3
2015-12-05
2015-12-05
简介
牛津通识读本:美国政党和选举American Political Parties and Elections
——A Very Short Introduction
(美) 桑迪·梅塞尔英文PDF2015-12-12简介
九人
——美国最高法院风云
The Nine
——Inside the Secret World of the Supreme Court
(美) 杰弗里·图宾简体PDF(扫描版)
英文PDF(扫描版)
2017-02-17
2020-03-03
简介
言论的边界
——美国宪法第一修正案简史
Freedom for the Thought That We Hate
——A Biography of the First Amendment
(美) 安东尼·刘易斯简体EPUB
简体PDF(扫描版)
英文PDF
2015-11-20
2017-02-17
2020-03-03
简介
美国宪政历程
——影响美国的25个司法大案
N/A任东来
等
简体PDF(大字版)
简体PDF(扫描版)
简体EPUB
简体MOBI
2016-12-19
2013-11-26
2018-11-10
2014-02-23
简介
费城风云
——美国宪法的诞生和我们的反思
N/A易中天简体EPUB
简体TXT
2018-12-08
2016-05-19
简介
宪法的精神
——美国联邦最高法院200年经典判例选读
N/A北京大学法学院司法研究中心简体PDF(扫描版)2015-01-12简介
+ +

◇政治 / 美国 / 政治人物

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
打造美国
——杰斐逊总统与马歇尔大法官的角逐
What Kind of Nation
——Thomas Jefferson, John Marshall, and the Epic Struggle to Create a United States
(美) 詹姆斯·西蒙简体PDF(扫描版)2017-05-05简介
牛津通识读本:林肯Lincoln
——A Very Short Introduction
(美) 艾伦·古尔佐英文PDF
英文MOBI
2015-12-12
2020-12-07
简介
+ +

◇政治 / 美国 / 外交

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
剑桥美国对外关系史The Cambridge History of American Foreign Relations(美) 沃伦·科恩 (中文名:孔华润)简体PDF(扫描版)2017-02-18简介
战后美国外交史
——从杜鲁门到里根
N/A资中筠
等
简体PDF(扫描版)2017-05-05简介
历史的见证,1929~1969年Witness to History, 1929~1969(美) 查尔斯·波伦简体PDF(扫描版)2017-02-18简介
“美国例外论”与美国外交政策传统N/A周琪简体PDF2017-02-18简介
+ +

◇政治 / 美国 / 情报系统

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
无处可藏
——斯诺登、美国国安局与全球监控
No Place to Hide
——Edward Snowden, the NSA and the U.S. Surveillance State
(美) 格伦·格林沃尔德简体EPUB
英文PDF
2016-12-20
2020-03-04
简介
永久记录
其它中文名:
永久档案
Permanent Record(美) 爱德华·斯诺登简体PDF(精校版 标注删节部分)
简体EPUB(台湾版 无删节)
英文PDF
2020-03-24
2019-12-02
2019-10-30
简介
帷幕
——美国中央情报局的秘密战争,1981~1987
Veil
——The Secret Wars of the CIA, 1981~1987
(美) 鲍勃·伍德沃德简体PDF(扫描版)
英文EPUB
2017-02-18
2020-03-04
简介
危机
——美国国家安全局透视
N/A(未知)简体PDF2013-06-18简介
+ +

◇政治 / 美国 / (其它)

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
美国的自由主义传统
——独立革命以来美国政治思想阐释
The Liberal Tradition in America
——An Interpretation of American Political Thought since the Revolution
(美) 路易斯·哈茨简体PDF(扫描版)
英文EPUB
2017-02-19
2020-03-04
简介
发掘新闻
——美国报业的社会史
Discovering the News
——A Social History of American Newspapers
(美) 迈克尔·舒德森简体PDF(扫描版)
英文PDF(扫描版)
2017-08-16
2020-03-04
简介
常识Common Sense(英/美) 托马斯·潘恩简体EPUB
简体MOBI
简体PDF(扫描版)
简体TXT
英文EPUB
英文MOBI
2014-05-23
2018-12-08
2017-03-24
2016-05-18
2018-09-06
2018-09-06
简介
民主的细节
——美国当代政治观察随笔
N/A刘瑜简体PDF(大字版)
简体EPUB
简体MOBI
简体TXT
2020-03-30
2013-09-14
2018-09-06
2013-05-24
简介
近距离看美国
包括如下:
历史深处的忧虑
总统是靠不住的
我也有一个梦想
如彗星划过夜空
N/A(中/美) 林达 (原名:丁鸿富 & 李晓琳)简体PDF(共4册 大字版)
简体PDF(共4册 扫描版 缺第4册)
简体MOBI
2020-03-30
2017-02-18
2018-09-06
简介
+ +

◇政治 / 苏联

+ +

◇政治 / 苏联 / 苏共历史

+ + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:俄国革命The Russian Revolution
——A Very Short Introduction
(英) 斯蒂芬·史密斯英文PDF
英文MOBI
2015-12-13
2020-12-07
简介
苏共野史
——党治制的由来
The Communist Party Apparatus(俄/苏) 阿卜杜拉赫曼·阿夫托尔汉诺夫简体PDF(扫描版)
英文DJVU(扫描版)
2014-01-09
2020-03-02
简介
苏联政治内幕
——知情者的见证
The System
——An Insider's Life in Soviet Politics
(苏/俄) 乔治·阿尔巴托夫简体PDF(扫描版)2016-12-18简介
帝国的消亡
——当代俄罗斯的教训
Collapse of an Empire
——Lessons for Modern Russia
(苏/俄) 叶戈尔·盖达尔简体PDF(扫描版)
英文PDF
2015-01-12
2020-03-02
简介
苏联解体亲历记Autopsy on an Empire
——The American Ambassador's Account of the Collapse of the Soviet Union
(美) 小杰克·马特洛克简体PDF(上下册)
简体PDF(扫描版)
2019-02-22
2013-07-07
简介
苏联的最后一年N/A(苏/俄) 罗伊·麦德维杰夫简体PDF(扫描版)2018-08-09简介
大国悲剧
——苏联解体的前因后果
N/A(苏/俄) 尼古拉·雷日科夫简体TXT2016-05-17简介
一个大国的崛起与崩溃
——苏联历史专题研究,1917~1991
N/A沈志华 (主编)简体PDF(共3册 扫描版)
简体TXT
2015-11-03
2018-08-09
简介
帝国
——俄罗斯五十年
Imperium(波兰) 雷沙德·卡普钦斯基繁體PDF(豎排掃描版)
英文EPUB
2013-11-26
2020-03-02
简介
苏联兴亡史纲N/A陈之骅
等
简体PDF(扫描版)2013-01-01简介
东欧大裂变纪实N/A欧阳东简体PDF(扫描版)2013-01-01简介
+ +

◇政治 / 苏联 / 政治人物

+ +

◇政治 / 苏联 / 政治人物 / 普列汉诺夫

+ + + + +
中文书名作者文件类型上传日期备注
政治遗嘱
——格·瓦·普列汉诺夫最后的想法
(苏) 格奥尔基·普列汉诺夫简体PDF
简体HTML
2018-08-09
2016-12-23
简介
+ +

◇政治 / 苏联 / 政治人物 / 斯大林

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
关于个人崇拜及其后果
其它中文名:
苏共二十大秘密报告
On the Cult of Personality and Its Consequences(苏) 尼基塔·赫鲁晓夫简体TXT2019-02-25简介
斯大林秘闻
——原苏联秘密档案披露
Stalin
——The First In-depth Biography Based on Explosive New Documents from Russia's Secret Archives
(苏/俄) 爱德华·拉津斯基简体PDF
简体EPUB
简体MOBI
英文PDF
2013-01-01
2013-09-13
2018-11-10
2020-03-02
简介
斯大林秘书回忆录Memoirs of the Former Secretary of Stalin(苏) 波利斯·巴让诺夫简体PDF(扫描版)2015-11-19简介
斯大林死之谜The Mystery of Stalin's Death
——Beria's Plot
(俄/苏) 阿卜杜拉赫曼·阿夫托尔汉诺夫简体PDF(扫描版)2016-12-18简介
仅仅一年
——斯大林女儿回忆录
Only One Year(苏/美/英) 斯维特兰娜·阿利卢耶娃简体PDF(扫描版)2018-08-09简介
+ +

◇政治 / 苏联 / 政治人物 / 托洛茨基

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
我的生平
——托洛茨基自传
My Life
——An Attempt at an Autobiography
(俄/苏) 列夫·托洛茨基简体PDF(扫描版)2015-10-24简介
先知三部曲
包括如下:
第1部 武装的先知——托洛茨基1879~1921
第2部 被解除武装的先知——托洛茨基1921~1929
第3部 流亡的先知——托洛茨基1929~1940
The Prophet
——The Life of Leon Trotsky
(波兰) 伊萨克·多伊彻简体HTML
英文EPUB
2019-02-12
2020-03-02
简介
+ +

◇政治 / 苏联 / 政治人物 / 赫鲁晓夫

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
赫鲁晓夫回忆录Memoirs of Nikita Khrushchev(苏) 尼基塔·赫鲁晓夫简体PDF(上下卷 扫描版)2016-12-09简介
最后的遗言
——赫鲁晓夫回忆录续集
Memoirs of Nikita Khrushchev(苏) 尼基塔·赫鲁晓夫简体PDF(扫描版)2016-12-09简介
+ +

◇政治 / 苏联 / 政治人物 / 勃列日涅夫

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
勃列日涅夫的力量和弱点The Power and Powerlessness of Brezhnev(俄/苏) 阿卜杜拉赫曼·阿夫托尔汉诺夫简体PDF(扫描版)2019-05-27简介
走近衰亡
——苏联勃列日涅夫时期研究
Toward the Decline and Fall
——A Study of the USSR under Brezhnev
陆南泉简体PDF(扫描版)2016-12-08简介
+ +

◇政治 / 苏联 / 政治人物 / 戈尔巴乔夫

+ + + + +
中文书名英文书名作者文件类型上传日期备注
“真相”与自白
——戈尔巴乔夫回忆录
Memoirs(俄) 米哈伊尔·戈尔巴乔夫简体EPUB
简体MOBI
2013-10-20
2014-02-23
简介
+ +

◇政治 / 苏联 / 政治人物 / (其他人物)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
布哈林与布尔什维克革命
——政治传记,1888~1938
Bukharin and the Bolshevik Revolution
——A Political Biography, 1888~1938
(美) 斯蒂芬·科恩简体PDF(扫描版)
英文PDF(扫描版)
2019-02-13
2020-03-02
简介
+ +

◇政治 / 苏联 / 大清洗与古拉格

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
古拉格群岛The Gulag Archipelago(苏/俄) 亚历山大·索尔仁尼琴简体PDF(上下册 扫描版)
简体MOBI
简体HTML
英文PDF(共3卷 扫描版)
2018-08-09
2013-04-20
2013-02-22
2020-03-02
简介
古拉格
——一部历史
Gulag
——A History
(美) 安妮·阿普尔鲍姆简体PDF(大字版)
简体EPUB
简体MOBI
英文PDF(大字版)
英文EPUB
2014-02-12
2014-01-09
2018-11-10
2017-08-16
2018-08-09
简介
苏联大清洗内幕N/A陈启能 (主编)简体HTML
简体PDF(扫描版)
2013-02-22
2018-08-09
简介
历届克格勃主席的命运Chairmen of the KGB
——Declassified fates
(俄) 列昂尼德·姆列钦简体PDF2019-02-07简介
正午的黑暗
其它中文名:
中午的黑暗
Darkness at Noon(匈/英) 阿瑟·库斯勒英文PDF
英文EPUB
2015-02-09
2014-07-28
简介
+ +

◇政治 / 苏联 / (其它)

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:苏联The Soviet Union
——A Very Short Introduction
(英) 斯蒂芬·洛弗尔英文PDF2015-12-13简介
俄国人The Russians(美) 赫德里克·史密斯简体PDF(扫描版)2014-02-21简介
苏联真相
——对101个重要问题的思考
N/A陆南泉
等
简体PDF(共3册 扫描版)2013-01-01简介
苏联的心灵
——共产主义时代的俄国文化
The Soviet Mind
——Russian Culture under Communism
(俄/英) 以赛亚·伯林简体PDF(扫描版)
英文PDF
2013-08-21
2020-03-02
简介
访苏归来
其它中文名:
从苏联归来
Return From The USSR(法) 安德烈·纪德英文PDF(扫描版)2019-02-08简介
莫斯科日记
其它中文名:
我和妻子的苏联之行
N/A(法) 罗曼·罗兰简体PDF(扫描版)2019-05-18简介
+ +

◇政治 / 英国

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:英国政治British Politics
——A Very Short Introduction
(英) 托尼·赖特英文PDF2015-12-13简介
牛津通识读本:英国宪法The British Constitution
——A Very Short Introduction
(英) 马丁·洛克林英文EPUB2020-03-16简介
+ +

◇政治 / 法国

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
旧制度与大革命The Old Regime and the Revolution(法) 亚历西斯·德·托克维尔简体PDF
简体EPUB
简体MOBI
简体PDF(扫描版)
英文PDF(扫描版)
2012-10-06
2013-09-14
2018-11-10
2017-03-24
2020-03-07
简介
法国大革命的起源Origins of the French Revolution(英) 威廉·多伊尔繁體PDF(掃描版)2013-11-26简介
牛津通识读本:法国大革命The French Revolution
——A Very Short Introduction
(英) 威廉·多伊尔英文PDF2019-01-03简介
+ +

◇政治 / 德国

+ + + + +
中文书名作者文件类型上传日期备注
大墙倾倒之际
——克伦茨回忆录
(德) 埃贡·克伦茨简体PDF(扫描版)2016-12-10简介
+ +

◇政治 / (其它国家)

+ +

◇政治 / (其它国家) / 北朝鲜

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
黄长烨回忆录Hwang Jang-yop Memoir(韩) 黄长烨简体PDF
简体TXT
2013-02-19
2016-05-01
简介
我们最幸福
——北韩人民的真实生活
其它中文名:
无可羡慕
——朝鲜人的普通生活
Nothing to Envy
——Ordinary Lives in North Korea
(美) 芭芭拉·德米克简体PDF
简体EPUB
英文EPUB
2013-02-19
2013-09-14
2020-01-22
简介
平壤水族馆
——我在北韩古拉格的十年
The Aquariums of Pyongyang
——Ten Years in the North Korean Gulag
(韩) 姜哲焕
(法) 皮耶·李古乐
繁體EPUB
英文EPUB
2014-05-04
2020-01-22
简介
逃出14号劳改营
——从人间炼狱到自由世界的脱北者传奇
Escape from Camp 14
——One Man's Remarkable Odyssey From North Korea to Freedom in the West
(韩) 申东赫
(美) 布莱恩·哈登
繁體EPUB
英文PDF
2016-07-18
2020-01-22
简介
这就是天堂!
——我的北韩童年
This is Paradise!
——My North Korean Childhood
(韩) 姜赫
(法) 菲利普·格兰杰罗
繁體EPUB2014-06-22简介
平壤
——朝鲜之旅
Pyongyang
——A Journey in North Korea
(加) 盖·德利斯勒简体PDF(漫画 扫描版)2013-03-30简介
+ +

◇政治 / (其它国家) / 柬埔寨

+ + + + + +
中文书名作者文件类型上传日期备注
革命的僭妄
——红色高棉,一部血淋淋的历史
(多人)简体PDF2016-12-23简介
波尔布特传王爱飞简体PDF2013-05-19简介
+ +

◇政治 / (其它国家) / 西班牙

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:西班牙内战The Spanish Civil War
——A Very Short Introduction
(英) 海伦·格雷汉姆英文PDF2020-03-16简介
西班牙的民主和内战,1931~1939Democracy and Civil War in Spain 1931~1939(英) 马丁·布林克霍恩简体PDF(大字版)2019-02-18简介
+ +

◇政治 / (其它国家) / 捷克斯洛伐克

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
哈维尔文集N/A(捷克) 瓦茨拉夫·哈维尔简体PDF
简体HTML
2013-03-22
2019-10-29
简介
“布拉格之春”前后Czechoslovakia Since World War II(波兰/美) 塔德·舒尔茨简体PDF(扫描版)2018-08-09简介
杜布切克回忆录N/A(捷克) 亚历山大·杜布切克简体PDF(扫描版)2014-07-12简介
严寒来自克里姆林宫Frost comes from Kremlin(捷克) 兹德涅克·姆林纳日简体PDF(扫描版)2014-07-12简介
+ +

◇政治 / (其它国家) / 波兰

+ + + + +
中文书名英文书名作者文件类型上传日期备注
瓦文萨自传A Way of Hope
——An Autobiography
(波兰) 莱赫·瓦文萨简体PDF(扫描版)2016-12-10简介
+ +

◇政治 / (其它国家) / 罗马尼亚

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
流氓的归来The Hooligan's Return(罗) 诺曼·马内阿简体PDF(扫描版)
英文MOBI
2014-05-04
2020-01-22
简介
论小丑
——独裁者和艺术家
On Clowns
——The Dictator and the Artist
(罗) 诺曼·马内阿简体PDF(扫描版)2014-05-04简介
黑信封The Black Envelope(罗) 诺曼·马内阿简体PDF(扫描版)2014-05-04简介
+ +

◇政治 / (其它国家) / 古巴

+ + + + +
中文书名作者文件类型上传日期备注
二十世纪最后的革命家
——菲德尔·卡斯特罗传
程映虹简体PDF2013-03-30简介
+ +
+

+

★心理学

+ +【网盘】
+微软网盘
+BT Sync 密钥:BNZ6DOA6W577O6GUNH7C3MY6DWC6FTDQB (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇心理学 / 通俗读物

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
这才是心理学
——看穿伪心理学的本质
其它中文名:
与众不同的心理学
——如何正视心理学
对“伪心理学”说不
How to Think Straight about Psychology(加) 基思·斯坦诺维奇简体PDF(第10版 大字版)
简体PDF(第8版 扫描版)
简体EPUB(第8版)
简体MOBI(第8版)
简体PDF(第7版 扫描版)
英文PDF(第10版)
英文EPUB(第10版)
英文MOBI(第10版)
英文PDF(第9版)
2019-09-03
2015-05-11
2015-02-16
2015-02-16
2012-12-29
2020-03-15
2020-11-22
2020-11-22
2020-03-15
简介
牛津通识读本:生活中的心理学Psychology
——A Very Short Introduction
(英) 吉莉恩·巴特勒
(英) 弗雷达·麦克马纳斯
简体EPUB(第1版)
简体AZW3(第1版)
英文EPUB(第2版)
2015-12-14
2015-12-14
2020-03-15
简介
+ +

◇心理学 / 认知心理学

+ + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
学会提问
——批判性思维指南
Asking the Right Questions
——A Guide to Critical Thinking
(美) 尼尔·布朗
(美) 斯图尔特·基利
简体PDF(第10版 扫描版)
简体PDF(第7版)
简体EPUB(第7版)
简体MOBI(第7版)
英文PDF(第11版)
英文PDF(第8版)
2019-08-21
2012-01-20
2013-09-13
2015-11-14
2019-12-03
2012-01-20
简介
影响力Influence
——The Psychology of Persuasion
(美) 罗伯特·西奥迪尼简体PDF
简体PDF(扫描版)
简体EPUB
简体MOBI
英文TXT
2013-02-25
2012-12-29
2013-09-13
2014-02-23
2012-12-29
简介
思考,快与慢
其它中文名:
快思慢想
Thinking, Fast and Slow(以色列/美) 丹尼尔·卡尼曼简体EPUB
简体MOBI
简体TXT
英文PDF(大字版)
2015-11-10
2014-07-15
2016-05-15
2020-03-15
简介
超越智商
——为什么聪明人也会做蠢事
What Intelligence Tests Miss
——The Psychology of Rational Thought
(加) 基思·斯坦诺维奇简体EPUB
简体MOBI
英文PDF
2019-09-03
2019-09-03
2019-12-03
简介
无从选择
——为何多即是少
其它中文名:
选择的悖论
——用心理学解读人的经济行为
The Paradox of Choice
——Why More Is Less
(美) 巴里·施瓦茨简体PDF(大字版)
简体PDF(扫描版)
英文PDF
2019-09-03
2012-12-29
2012-12-29
简介
清醒思考的艺术(上篇)、明智行动的艺术(下篇)The Art of Thinking Clearly(瑞士) 罗尔夫·多贝里简体PDF(上篇 扫描版)
简体EPUB (上篇 插图版)
简体EPUB (下篇 插图版)
简体MOBI (下篇 插图版)
英文PDF
英文EPUB
2014-07-15
2015-12-01
2019-04-20
2019-04-20
2015-11-13
2015-11-13
简介
浅薄
——互联网如何毒化我们的大脑
The Shallows
——What the Internet Is Doing to Our Brains
(美) 尼古拉斯·卡尔简体PDF
简体MOBI
英文PDF
2015-02-23
2015-11-14
2019-12-03
简介
怪诞行为学1
——可预测的非理性
Predictably Irrational
——The Hidden Forces That Shape Our Decisions
(美) 丹·艾瑞里简体PDF(扫描版)
简体EPUB
2014-07-27
2015-01-07
简介
怪诞行为学2
——非理性的积极力量
The Upside of Irrationality
——The Unexpected Benefits of Defying Logic at Work and at Home
(美) 丹·艾瑞里简体EPUB2015-01-07简介
心流
——最优体验心理学
Flow
——The Psychology of Optimal Experience
(意/美) 米哈里·契克森米哈伊简体EPUB
简体MOBI
2019-08-19
2019-08-19
简介
发现心流
——日常生活中的最优体验
Finding Flow
——The Psychology of Engagement with Everyday Life
(意/美) 米哈里·契克森米哈伊简体EPUB
简体MOBI
2019-08-19
2019-08-19
简介
粘住
——为什么我们记住了这些,忘掉了那些?
Made to Stick
——Why Some Ideas Survive and Others Die?
(美) 奇普·希思
(美) 丹·希思
简体PDF(扫描版)2018-11-11简介
统计陷阱
其它中文名:
统计数字会撒谎
How to Lie with Statistics(美) 达莱尔·哈夫简体PDF
简体PDF(大字版)
英文PDF
2015-02-16
2018-11-21
2020-03-15
简介
+ +

◇心理学 / 人格心理学

+ + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
动机与人格Motivation and Personality(美) 亚伯拉罕·马斯洛简体EPUB
简体MOBI
简体PDF(扫描版)
英文PDF
2013-09-13
2018-11-11
2012-12-29
2019-08-21
简介
自卑与超越What Life Could Mean to You
——The Psychology of Personal Development
(奥) 阿尔弗雷德·阿德勒简体EPUB
简体MOBI
2019-08-22
2019-08-22
简介
少有人走的路
——心智成熟的旅程
The Road Less Traveled
——A New Psychology of Love, Traditional Values and Spiritual Growth
(美) 斯科特·派克简体PDF(扫描版)
简体EPUB (精校版)
简体MOBI
简体TXT
英文PDF
2012-06-29
2015-12-01
2014-02-23
2012-06-29
2013-04-14
简介
自控力The Willpower Instinct(美) 凯利·麦格尼格尔简体EPUB
简体MOBI
英文EPUB
2019-08-19
2020-03-30
2020-03-15
简介
人的潜能和价值
——人本主义心理学译文集
N/A(多人)简体PDF(扫描版)2013-02-05简介
身份的焦虑Status Anxiety(瑞士) 阿兰·德波顿简体PDF(扫描版)2014-07-15简介
梦的解析
其它中文名:
释梦
The Interpretation of Dreams(奥) 西格蒙德·弗洛伊德简体PDF
简体TXT
英文PDF
2012-12-29
2016-05-16
2013-04-14
简介
精神分析引论A General Introduction to Psychoanalysis(奥) 西格蒙德·弗洛伊德简体PDF
简体EPUB
简体TXT
2012-12-29
2013-04-16
2016-05-02
简介
心灵的面具
——101种心理防御
101 Defenses
——How the Mind Shields Itself
(美) 杰瑞姆·布莱克曼简体PDF(扫描版)2019-08-22简介
+ +

◇心理学 / 社会心理学

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
社会性动物The Social Animal(美) 埃利奥特·阿伦森简体PDF(第8版)
简体EPUB(第8版)
简体MOBI(第8版)
简体TXT(第8版)
英文PDF(第10版)
2014-01-09
2019-08-21
2014-02-23
2016-05-01
2019-12-03
简介
乌合之众
——大众心理研究
The Crowd
——A Study of the Popular Mind
(法) 古斯塔夫·勒庞简体PDF(扫描版)
简体MOBI
简体TXT
英文PDF
2019-07-16
2014-02-23
2016-05-16
2019-12-03
简介
路西法效应
——好人是如何变成恶魔的
The Lucifer Effect
——Understanding How Good People Turn Evil
(美) 菲利普·津巴多简体PDF(大字版)
简体EPUB
繁體PDF(掃描版)
英文PDF
2018-09-10
2013-09-13
2013-02-05
2020-03-15
简介
+ +

◇心理学 / 性心理学

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
性心理学Psychology of Sex
——A Manual for Students
(英) 哈维洛克·艾利斯 (旧译名:霭理士)简体PDF(扫描版)
简体TXT
2020-11-22
2019-08-22
简介
男人来自火星,女人来自金星Men Are from Mars, Women Are from Venus(美) 约翰·格雷简体PDF(扫描版)2018-09-09简介
+ +

◇心理学 / 教育心理学

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
正面管教Positive Discipline(美) 简·尼尔森简体PDF2014-02-11简介
家庭会伤人
——自我重生的新契机
Bradshaw on the Family
——A Revolutionary Way of Self Discovery
(美) 约翰·布雷萧简体PDF(扫描版)2014-07-15简介
+ +

◇心理学 / 进化心理学

+ +(“进化心理学”是心理学的一个新的研究方向)
+ + + +
中文书名英文书名作者文件类型上传日期备注
进化心理学
——心理的新科学
Evolutionary Psychology
——The New Science of the Mind
(美) 大卫·巴斯简体PDF(扫描版)
简体MOBI
英文PDF(第5版)
2012-12-31
2015-11-14
2020-03-15
简介
+ +

◇心理学 / 洗脑

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
洗脑术
——思想控制的荒唐史
Brainwash
——The Secret History of Mind Control
(英) 多米尼克·斯垂特菲尔德简体PDF(扫描版)
简体MOBI
2012-12-16
2015-05-11
简介
人的驯化、躲避与反叛N/A胡平简体PDF
简体PDF(大字版)
简体TXT
2013-05-01
2013-04-20
2013-03-17
简介
思想改造和极权主义心理学
——中国的洗脑研究
Thought Reform and the Psychology of Totalism
——A Study of Brainwashing in China
(美) 罗伯特·利夫顿英文MOBI2012-10-14简介
洗脑
——思维控制的科学
其它中文名:
洗脑心理学
Brainwashing
——The Science of Thought Control
(英) 凯瑟琳·泰勒简体PDF(扫描版)
英文PDF
2015-07-12
2012-10-14
简介
洗脑的历史
——祸害世界三千年的极端思想控制术解析
N/A傅志彬简体PDF
简体PDF(扫描版)
简体MOBI
2015-02-15
2015-05-11
2020-11-22
简介
+ +

◇心理学 / 审讯与反审讯

+ + + + + + +
中文书名作者文件类型上传日期备注
审讯心理攻略吴克利简体PDF(扫描版)2014-07-28简介
讯问学王传道简体PDF(扫描版)2014-07-28简介
审讯与反审讯文章汇集(热心读者)简体TXT2014-07-28简介
+ +

◇心理学 / (其它)

+ + + + +
中文书名作者文件类型上传日期备注
如何变得有思想
——阮一峰博文集
阮一峰简体EPUB2015-05-12简介
+ +
+

+

★历史

+ +【网盘】
+微软网盘
+BT Sync 密钥:BSH7FXJFVWJTKWGSX5GTWX7PHZZ2D2M7Q (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇历史 / 世界史

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
全球通史
——从史前史到21世纪
A Global History
——From Prehistory to the 21st Century
(加) 斯塔夫里阿诺斯简体PDF(第7版 大字版)
简体PDF(第4版 上下册)
简体CHM(第4版)
英文PDF(第5版 扫描版)
2016-12-16
2013-02-27
2013-02-07
2017-02-22
简介
世界文明史
其它中文名:
文明的故事
The Story of Civilization(美) 威尔·杜兰特
(美) 阿里尔·杜兰特
简体PDF(扫描版)2017-05-03简介
枪炮、病菌与钢铁
——人类社会的命运
Guns, Germs, and Steel
——The Fates of Human Societies
(美) 贾雷德·戴蒙德简体EPUB
简体PDF(大字版)
简体CHM
简体MOBI
英文PDF
2013-09-13
2013-04-20
2013-02-05
2015-05-11
2013-02-05
简介
人类简史
——从动物到上帝
其它中文名:
人類大歷史
——從野獸到扮演上帝
Sapiens
——A Brief History of Humankind
(以色列) 尤瓦尔·赫拉利简体EPUB
简体MOBI
简体PDF(扫描版)
英文PDF(大字版)
2017-08-14
2018-08-08
2020-11-22
2020-01-18
简介
大国的兴衰
——1500年~2000年的经济变迁与军事冲突
The Rise and Fall of the Great Powers
——Economic Change and Military Conflict from 1500 to 2000
(英) 保罗·肯尼迪简体EPUB
简体PDF(大字版)
简体PDF(扫描版)
简体PDF
英文PDF(扫描版)
2017-05-06
2016-12-16
2015-11-18
2014-06-22
2020-01-18
简介
年代四部曲
包括如下:
第1卷 革命的年代 (1789~1848)
第2卷 资本的年代 (1848~1875)
第3卷 帝国的年代 (1875~1914)
第4卷 极端的年代 (1914~1991)
The Age of Revolution (1789~1848)
The Age of Capital (1848~1875)
The Age of Empire (1875~1914)
The Age of Extremes (1914~1991)
(英) 埃里克·霍布斯鲍姆简体PDF(扫描版)
简体EPUB
2018-08-07
2020-03-29
简介
崩溃
——社会如何选择成败兴亡
Collapse
——How Societies Choose to Fail or Succeed
(美) 贾雷德·戴蒙德简体PDF(大字版)
简体MOBI
简体PDF(扫描版)
英文EPUB
2013-04-20
2015-05-11
2017-03-26
2020-01-18
简介
+ +

◇历史 / 欧洲史

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
你一定爱读的极简欧洲史
——为什么欧洲对现代文明的影响这么深
The Shortest History of Europe(澳大利亚) 约翰·赫斯特简体PDF(扫描版)
简体MOBI
英文EPUB
2014-07-28
2015-05-11
2020-01-18
简介
战后欧洲史Postwar
——A History of Europe Since 1945
(英) 托尼·朱特简体PDF(共2卷 扫描版)
英文EPUB
2014-08-11
2020-01-22
简介
欧洲文明史
——自罗马帝国败落起到法国革命
The History of Civilization in Europe(法) 弗朗索瓦·基佐简体PDF(扫描版)2018-08-08简介
欧洲中世纪史Medieval Europe
——A Short History
(美) 朱迪斯·本内特
(美) 沃伦·霍利斯特
简体PDF(第10版 扫描版)2017-05-04简介
牛津通识读本:启蒙运动The Enlightenment
——A Very Short Introduction
(英) 约翰·罗伯逊英文EPUB2020-03-14简介
夹缝中的六国
——维也纳会议以来的中东欧历史
The Lands between
——A History of East-Central Europe Since the Congress of Vienna
(英) 艾伦·帕尔默简体PDF(扫描版)2017-08-14简介
牛津通识读本:十字军The Crusades
——A Very Short Introduction
(英) 克里斯托弗·泰尔曼英文PDF
英文MOBI
2015-12-15
2020-12-08
简介
+ +

◇历史 / 中国

+ +

◇历史 / 中国 / 古代史

+ + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
资治通鉴N/A司马光简体EPUB(柏杨白话版)
简体MOBI(柏杨白话版)
简体HTML
2013-09-13
2018-11-10
2018-08-08
简介
中国历代政治得失N/A钱穆简体EPUB
简体MOBI
简体PDF(扫描版)
简体TXT
2013-09-14
2018-12-08
2019-08-18
2013-08-22
简介
中国大历史China
——A Macro History
(中/美) 黄仁宇简体PDF
简体PDF(大字版)
简体MOBI
英文EPUB
2013-02-05
2019-05-23
2019-05-23
2020-01-22
简介
万历十五年1587, a Year of No Significance
——The Ming Dynasty in Decline
(中/美) 黄仁宇简体PDF(增订纪念本 扫描版)
简体PDF
简体PDF(大字版)
简体TXT
2020-11-22
2014-01-08
2019-05-23
2016-05-17
简介
潜规则
——中国历史中的真实游戏
N/A吴思简体PDF
简体EPUB
简体CHM
简体MOBI
简体TXT
2013-02-27
2013-09-13
2013-02-07
2014-02-23
2016-04-30
简介
血酬定律
——中国历史中的生存游戏
N/A吴思简体PDF
简体MOBI
简体TXT
2014-01-09
2014-02-23
2016-04-30
简介
兴盛与危机
——论中国社会超稳定结构
N/A金观涛
刘青峰
简体PDF
简体HTML
2013-02-07
2017-08-14
简介
赫逊河畔谈中国历史Conversation on Chinese History by the Hudson River(中/美) 黄仁宇简体HTML
简体TXT
繁體MOBI
2018-08-08
2016-05-20
2019-08-23
简介
明朝那些事N/A当年明月 (原名:石悦)简体PDF
简体PDF(大字版)
简体EPUB
简体MOBI
2017-05-06
2018-11-11
2013-09-14
2018-08-08
简介
+ +

◇历史 / 中国 / 近代史

+ + + + + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
《炎黄春秋》合订本 (1999-2010)N/A《炎黄春秋》杂志社简体EPUB2013-09-11简介
中国近代史The Rise of Modern China(中/美) 徐中约简体PDF(上下册)
简体EPUB
2013-03-22
2013-09-13
简介
中国近代史大纲
其它中文名:
中国近代史
Outline of Modern Chinese History蒋廷黻简体PDF(扫描版)
简体PDF
2020-03-30
2014-01-09
简介
停滞的帝国
——两个世界的撞击
The Immobile Empire(法) 阿兰·佩雷菲特简体EPUB
简体MOBI
简体PDF(扫描版)
英文EPUB
2019-07-17
2019-07-17
2014-05-23
2020-01-19
简介
追寻现代中国The Search for Modern China(美) Jonathan Spence (中文名:史景迁)繁體PDF
简体EPUB
简体PDF
英文PDF(扫描版)
2014-06-22
2014-06-22
2016-12-18
2020-01-19
简介
论中国
——中国新史
China
——A New History
(美) 费正清
(美) 默尔·戈德曼
英文PDF(第2版)
繁體PDF(第1版 竪排掃描版)
2020-01-19
2015-02-08
简介
晚清七十年The Final Seventy Years of Qing Dynasty(中/美) 唐德刚简体PDF(大字版)
繁體EPUB
简体MOBI
繁體MOBI
2019-08-23
2019-01-05
2018-08-08
2019-01-05
简介
帝国落日
——晚清大变局
N/A袁伟时简体TXT2016-05-16简介
走出帝制
——从晚清到民国历史的回望
Moving Away from the Imperial Regime秦晖简体EPUB
简体PDF(大字版)
简体TXT
简体MOBI
2016-12-16
2016-07-14
2016-05-20
2018-11-21
简介
五四新论
——既非文艺复兴,亦非启蒙运动
N/A(中/美) 余英时
等
简体PDF(扫描版)2017-05-06简介
袁氏当国N/A(中/美) 唐德刚简体PDF(大字版)
繁體MOBI
简体TXT
2015-02-09
2015-02-09
2016-04-30
简介
重说中国近代史N/A张鸣简体EPUB
简体PDF(扫描版)
2013-09-14
2020-11-22
简介
太平天国God's Chinese Son
——The Taiping Heavenly Kingdom of Hong Xiuquan
(美) Jonathan Spence (中文名:史景迁)简体PDF(扫描版)
英文EPUB
2017-05-03
2020-01-19
简介
再说戊戌变法N/A张鸣简体MOBI2016-12-16简介
民国人物过眼录N/A杨奎松简体PDF(扫描版)2014-02-21简介
叫魂
——1768年中国妖术大恐慌
Soulstealers
——The Chinese Sorcery Scare of 1768
(美) Philip Kuhn (中文名:孔飞力)简体PDF(扫描版)
简体TXT
英文PDF(扫描版)
2014-05-23
2016-05-15
2020-01-19
简介
慈禧统治下的大清帝国
其它中文名:
慈禧外传
China Under the Empress Dowager
——Being the History of the Life and Times of Tzŭ Hsi
(英) 约翰·濮兰德
(英) 埃德蒙德·贝克豪斯爵士
简体PDF(扫描版)2017-08-15简介
重返五四现场
——1919,一个国家的青春记忆
N/A叶曙明简体PDF(扫描版)2013-05-01简介
+ +

◇历史 / 中国 / 丛书

+ +

◇历史 / 中国 / 丛书 / 剑桥中国史

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
秦汉史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(扫描版)2014-06-22简介
隋唐史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(扫描版)2014-06-22简介
辽西夏金元史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(扫描版)2014-06-22简介
明代史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(扫描版)2014-06-22简介
晚清史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(上下卷 扫描版)2014-06-22简介
中华民国史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(上下卷 扫描版)2014-06-22简介
中华人民共和国史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(上卷 扫描版)2015-02-09简介
+ +

◇历史 / 古希腊

+ +(与古希腊的战争相关的书籍,放在【军事类 / 古代军事史 / 古希腊】分类目录下)
+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:古希腊Ancient Greece
——A Very Short Introduction
(英) 保罗·卡特利奇英文EPUB2020-03-14简介
希腊城邦制度
——读希腊史笔记
N/A顾准简体PDF
简体PDF(扫描版)
简体MOBI
2013-02-07
2019-08-18
2015-02-13
简介
爱琴海沿岸的奇异王国Wondrous Realms of the Aegean(美) 戴尔·布朗简体PDF(扫描版)2015-11-03简介
牛津通识读本:希罗多德Herodotus
——A Very Short Introduction
(美) 詹尼弗·罗伯茨英文EPUB2020-03-14简介
+ +

◇历史 / 古罗马

+ +(与古罗马的战争相关的书籍,放在【军事类 / 古代军事史 / 古罗马】分类目录下)
+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:罗马共和国The Roman Republic
——A Very Short Introduction
(英) 戴维·格温英文EPUB2020-03-24简介
牛津通识读本:罗马帝国简史The Roman Empire
——A Very Short Introduction
(澳大利亚) 克里斯托弗·凯利简体EPUB
英文PDF
英文MOBI
2020-03-29
2015-12-15
2020-12-08
简介
罗马帝国衰亡史The History of the Decline and Fall of the Roman Empire(英) 爱德华·吉本简体PDF(共6卷 全译本 扫描版)
简体EPUB(节译本)
简体MOBI(节译本)
简体PDF(上下册 节译本)
简体CHM(节译本)
英文PDF(6卷本 节选版)
2013-11-26
2013-09-14
2015-02-13
2013-02-07
2013-02-07
2020-01-19
简介
罗马人的故事N/A(日) 盐野七生繁體PDF(掃描版)2017-05-03简介
罗马盛衰原因论Considerations on the Causes of the Greatness of the Romans and their Decline(法) 孟德斯鸠简体PDF
简体PDF(扫描版)
英文PDF(扫描版)
2013-02-07
2015-07-11
2020-01-19
简介
罗马风云N/A(德) 特奥多尔·蒙森简体PDF(扫描版)2017-05-03简介
罗马史Roman History(古罗马) 阿庇安简体TXT2016-05-01简介
罗马十二帝王传
其它中文名:
十二凯撒传
The Twelve Caesars(古罗马) 苏维托尼乌斯简体PDF(扫描版)2020-03-29简介
+ +

◇历史 / 美国

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:美国历史American History
——A Very Short Introduction
(美) 保罗·博耶英文PDF2020-03-14简介
美国通史
包括如下:
第1卷 美国的奠基时代,1585~1775
第2卷 美国的独立和初步繁荣,1775~1860
第3卷 美国内战与镀金时代,1861~19世纪末
第4卷 崛起和扩张的年代,1898~1929
第5卷 罗斯福时代,1929~1945
第6卷 战后美国史,1945~2000
A General History of the U.S. 1585~2000刘绪贻、杨生茂 等简体PDF(扫描版)2017-02-20简介
光荣与梦想
——1932~1972年美国社会实录
The Glory and the Dream
——A Narrative History of America, 1932~1972
(美) 威廉·曼彻斯特简体PDF(大字版)
简体PDF
简体TXT
英文EPUB
2016-12-16
2017-02-17
2016-05-01
2020-01-18
简介
美国黑人斗争史
——1619年至今的历史、文献与分析
Black Protest
——History, Documents and Analysis, 1619 to the Present
(美) 乔安妮·格兰特简体PDF(扫描版)2017-02-18简介
牛津通识读本:大萧条与新经济政策The Great Depression and The New Deal
——A Very Short Introduction
(美) 埃里克·罗威英文PDF
英文MOBI
2015-12-15
2020-12-08
简介
+ +

◇历史 / 英国

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:诺曼征服The Norman Conquest
——A Very Short Introduction
(英) 乔治·加内特英文PDF
英文MOBI
2016-12-16
2020-12-08
简介
牛津通识读本:斯图亚特王朝Stuart Britain
——A Very Short Introduction
(英) 约翰·莫里尔英文PDF2020-03-14简介
牛津通识读本:十八世纪的英国Eighteenth-Century Britain
——A Very Short Introduction
(英) 保罗·兰福德英文PDF2015-12-15简介
牛津通识读本:十九世纪的英国Nineteenth-Century Britain
——A Very Short Introduction
(英) 克里斯托弗·哈维
(英) 科林·马修
英文PDF
英文MOBI
2015-12-15
2020-12-08
简介
牛津通识读本:二十世纪的英国Twentieth-Century Britain
——A Very Short Introduction
(英) 肯尼思·摩根英文PDF
英文MOBI
2015-12-15
2020-12-08
简介
从旧帝国到新帝国
——1783~1815年英帝国史纲要
N/A郭家宏简体PDF(扫描版)2019-08-24简介
+ +

◇历史 / 法国

+ + + + +
中文书名英文书名作者文件类型上传日期备注
法国文明史
——自罗马帝国败落起
History of civilization in France
——From the fall of the Roman Empire
(法) 弗朗索瓦·基佐简体PDF(扫描版)2015-11-03简介
+ +

◇历史 / 德国

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
第三帝国的兴亡The Rise and Fall of the Third Reich
——A History of Nazi Germany
(美) 威廉·夏伊勒简体PDF(上中下)
简体EPUB
简体MOBI
简体TXT
英文PDF
英文EPUB
2013-02-22
2013-09-13
2015-02-08
2016-05-01
2018-08-08
2019-08-24
简介
纳粹德国
——一部新的历史
Nazi Germany
——A New History
(德) 克劳斯·费舍尔简体PDF(扫描版)2017-08-17简介
希特勒的民族帝国
——劫掠、种族战争和纳粹主义
Hitler's Beneficiaries
——Plunder, Racial War and the Nazi Welfare State
(德) 格茨·阿利简体PDF(扫描版)
英文EPUB
2013-08-21
2020-01-18
简介
希特勒的土地
——美国人亲历的纳粹疯狂之路
Hitlerland
——American Eyewitnesses to the Nazi Rise to Power
(美) 安德鲁·纳戈尔斯基英文EPUB
英文MOBI
2015-02-09
2015-02-09
简介
+ +

◇历史 / 日本

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
拥抱战败
——第二次世界大战后的日本
Embracing Defeat
——Japan in the Wake of World War II
(美) 约翰·道尔简体PDF(扫描版)
英文EPUB
2017-08-14
2020-01-18
简介
日本的近代化
——与中国的比较
N/A(日) 依田憙家简体PDF(扫描版)2020-03-25简介
+ +

◇历史 / (其它国家)

+ +

◇历史 / (其它国家) / 蒙古

+ + + + +
中文书名英文书名作者文件类型上传日期备注
蒙古帝国史The History of The Mongol Empire(法) 勒内·格鲁塞简体PDF(扫描版)2020-03-30简介
+ +

◇历史 / (其它国家) / 葡萄牙

+ + + + +
中文书名英文书名作者文件类型上传日期备注
征服者
——葡萄牙帝国的崛起
Conquerors
——How Portugal Forged the First Global Empire
(英) 罗杰·克劳利简体EPUB2020-03-29简介
+ +
+

+

★经济

+ +【网盘】
+微软网盘
+BT Sync 密钥:B2FRYA6AXCDW6CF4YJVFWKH2HAXOFICOX (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+
+

◇经济 / 经济学

+ +

◇经济 / 经济学 / 教材

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
经济学Economics(美) 保罗·萨缪尔森
(美) 威廉·诺德豪斯
简体PDF(第18版 扫描版)2014-02-13简介
经济学原理Principles of Economics(美) 格里高利·曼昆简体PDF(微观分册 第5版 扫描版)
简体PDF(宏观分册 第5版 扫描版)
简体EPUB(微观分册 第3版 插图版)
简体MOBI(微观分册 第3版 插图版)
简体TXT
2013-02-22
2013-02-22
2015-02-14
2015-02-14
2016-05-02
简介
宏观经济学Macroeconomics(德) 鲁迪格·多恩布什
(美) 斯坦利·费希尔
(美) 理查德·斯塔兹
简体PDF(第7版 扫描版)2015-07-12简介
宏观经济学
其它中文名:
威廉森宏观经济学
Macroeconomics(加) 斯蒂芬·威廉森简体PDF(第3版 扫描版)2019-09-03简介
高级宏观经济学Advanced Macroeconomics(美) 戴维·罗默简体PDF(第2版 扫描版)
英文PDF(第1版 扫描版)
2014-07-15
2018-06-23
简介
中级微观经济学
——现代观点
其它中文名:
范里安微观经济学
Intermediate Microeconomics
——A Modern Approach
(美) 哈尔·范里安简体PDF(第8版)
英文PDF(第8版)
2015-07-12
2018-06-23
简介
微观经济分析Microeconomic Analysis(美) 哈尔·范里安简体PDF(第3版)
英文PDF(第3版 扫描版)
2014-07-15
2019-08-30
简介
经济学原理N/A(中/澳大利亚) 杨小凯 (原名:杨羲光)简体PDF(扫描版)2015-07-12简介
+ +

◇经济 / 经济学 / 理论

+ + + + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
国富论
——国民财富的性质和原因
The Wealth of Nations
其它英文名:
An Inquiry into the Nature and Causes of the Wealth of Nations
(英) 亚当·斯密简体EPUB
简体MOBI
简体CHM
简体TXT
英文PDF
2018-12-08
2015-02-14
2013-04-09
2016-05-15
2020-03-10
简介
就业、利息和货币通论The General Theory of Employment, Interest and Money(英) 约翰·梅纳德·凯恩斯简体PDF
简体MOBI
英文PDF
2014-02-22
2015-02-14
2020-03-10
简介
人的行为
——经济学专论
其它中文名:
人类行为的经济学分析
Human Action
——A Treatise on Economics
(奥/美) 路德维希·冯·米塞斯繁體PDF(掃描版)
英文EPUB
英文PDF(扫描版)
2019-04-15
2018-09-15
2019-08-18
简介
经济发展理论The Theory of Economic Development
——An Inquiry into Profits, Capital, Credit, Interest and the Business Cycle
(奥/美) 约瑟夫·熊彼特简体TXT
英文EPUB
2016-05-17
2020-03-10
简介
个人主义与经济秩序Individualism and Economic Order(奥/英) 弗里德里希·哈耶克简体PDF
简体EPUB
简体MOBI
英文EPUB
2013-04-10
2013-09-13
2015-02-14
2020-03-10
简介
企业的性质
其它中文名:
公司的本质
The Nature of the Firm(英) 罗纳德·科斯简体PDF
英文PDF
2019-04-17
2018-09-18
简介
社会成本问题The Problem of Social Cost(英) 罗纳德·科斯英文PDF(扫描版)2018-09-19简介
市场经济
——大师们的思考
The Market Economy
——A Reader
(美) 詹姆斯·多蒂
(美) 德威特·李
简体PDF(扫描版)2013-04-09简介
以自由看待发展Development as Freedom(印度) 阿马蒂亚·森简体PDF(扫描版)2013-04-09简介
短缺经济学Economics of Shortage(匈) 雅诺什·科尔奈简体PDF(扫描版)2015-01-11简介
货币购买力
——其决定因素及其与信贷、利息和危机的关系
The Purchasing Power of Money
——Its Determination and Relation to Credit, Interest and Crises
(美) 欧文·费雪英文PDF2019-08-30简介
利息与价格Interest and Prices(瑞典) 克努特·维克塞尔英文PDF(扫描版)
英文EPUB
2018-09-19
2019-05-02
简介
资本与利息Capital and Interest(奥) 欧根·冯·庞巴维克繁體PDF(第1卷 掃描版)
英文EPUB(第1卷)
2018-09-05
2019-05-02
简介
自然价值Natural Value(奥) 弗里德里希·冯·维塞尔简体PDF
简体PDF(扫描版)
英文PDF
英文HTML
2019-08-18
2020-03-28
2018-09-15
2019-05-02
简介
经济学原理
其它中文名:
国民经济学原理
Principles of Economics(奥) 卡尔·门格尔简体PDF(扫描版)
英文PDF
英文EPUB
2018-09-15
2018-09-15
2019-05-02
简介
卡尔·马克思及其体系的终结
其它中文名:
马克思主义体系的崩溃
Karl Marx and the Close of His System(奥) 欧根·冯·庞巴维克英文EPUB
英文PDF(扫描版)
2019-05-01
2018-09-22
简介
资本论Capital(德) 卡尔·马克思简体PDF(大字版)
英文PDF(大字版)
2018-09-05
2019-05-01
简介
+ +

◇经济 / 经济学 / 评论

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
自由选择
——个人声明
其它中文名:
选择的自由
Free to Choose
——A Personal Statement
(美) 米尔顿·弗里德曼简体PDF
简体PDF(大字版)
简体EPUB
简体MOBI
英文PDF
2013-03-24
2019-08-31
2013-09-13
2015-02-14
2013-04-09
简介
资本主义与自由Capitalism and Freedom(美) 米尔顿·弗里德曼简体PDF
简体PDF(大字版)
简体PDF(扫描版)
简体MOBI
英文PDF
2014-02-13
2019-08-31
2018-09-05
2015-02-14
2020-03-10
简介
对我们生活的误测
——为什么 GDP 增长不等于社会进步
Mismeasuring Our Lives
——Why GDP Doesn't Add Up
(美) 约瑟夫·斯蒂格利茨
(印度) 阿马蒂亚·森
简体PDF(扫描版)
英文EPUB
2015-07-12
2020-03-10
简介
论经济学和经济学家Essays on Economics and Economists(英) 罗纳德·科斯简体PDF(扫描版)
英文PDF
2019-08-31
2020-03-10
简介
经济学的著名寓言
——市场失灵的神话
Famous Fables of Economics
——Myths of Market Failures
(美) 丹尼尔·史普博 (主编)简体PDF(扫描版)2015-11-05简介
充满灵性的经济学Economics from the Heart
——A Samuelson Sampler
(美) 保罗·萨缪尔森简体PDF(扫描版)2013-04-09简介
从来就没有救世主There Has Never Been a Savior许小年简体PDF(扫描版)2013-04-09简介
+ +

◇经济 / 经济学 / 通俗读物

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:大众经济学Economics
——A Very Short Introduction
(英) 帕萨·达斯古普塔简体EPUB
简体AZW3
英文PDF
2015-12-14
2015-12-14
2018-06-24
简介
魔鬼经济学
——揭示隐藏在表象之下的真实世界
Freakonomics
——A Rogue Economist Explores the Hidden Side of Everything
(美) 史蒂芬·列维特
(美) 史蒂芬·都伯纳
简体PDF(扫描版)
简体MOBI
简体EPUB(不全)
英文PDF
2013-04-09
2015-11-14
2015-02-14
2020-03-11
简介
经济为什么会崩溃
——鱼、美元与经济学的故事
其它中文名:
小岛经济学
——鱼、美元和经济的故事
How an Economy Grows and Why It Crashes(美) 彼得·希夫
(美) 安德鲁·希夫
简体EPUB
简体PDF(扫描版)
2019-04-18
2014-03-31
简介
生活中的经济学N/A茅于轼简体PDF
简体EPUB
简体MOBI
2013-04-09
2013-09-13
2015-02-14
简介
谁妨碍了我们致富N/A茅于轼简体TXT2016-05-16简介
+ +

◇经济 / 金融

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
货币金融学Economics of Money, Banking, and Financial Markets(美) 弗雷德里克·米什金简体PDF(第9版 扫描版)
英文PDF(第7版 扫描版)
2015-02-08
2015-01-11
简介
金融学Financial Economics(美) 兹维·博迪
(美) 罗伯特·莫顿
简体PDF(扫描版)2018-06-24简介
期权、期货及其他衍生品Options, Futures and Other Derivatives(加) 约翰·赫尔简体PDF(第7版 扫描版)
英文PDF(第7版 扫描版)
2015-01-11
2015-11-04
简介
默顿·米勒论金融衍生工具Merton Miller on Derivatives(美) 默顿·米勒简体PDF(扫描版)2015-01-11简介
+ +

◇经济 / 投资

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
证券分析Security Analysis(美) 本杰明·格雷厄姆
(美) 戴维·多德
简体PDF(第5版 扫描版)
简体EPUB(第6版)
简体MOBI(第6版)
英文PDF(第6版)
2013-04-29
2013-09-13
2018-12-08
2019-09-01
简介
聪明的投资者
其它中文名:
投资指南
The Intelligent Investor(美) 本杰明·格雷厄姆简体PDF(第4版 扫描版)
英文PDF(第4版)
2014-02-20
2019-05-25
简介
格雷厄姆-多德都市的超级投资者们The Superinvestors of Graham-and-Doddsville(美) 沃伦·巴菲特简体TXT
英文PDF(扫描版)
2015-05-24
2015-05-24
简介
非理性繁荣Irrational Exuberance(美) 罗伯特·希勒简体PDF(第2版 大字版)
简体TXT(第2版 不全)
简体PDF(第1版 扫描版)
英文PDF(第1版)
2019-09-01
2016-05-02
2014-05-23
2019-05-25
简介
随机致富的傻瓜
——发现市场和人生中的隐藏机遇
其它中文名:
随机漫步的傻瓜
Fooled by Randomness
——The Hidden Role of Chance in Life and in the Markets
(黎巴嫩/美) 纳西姆·塔勒布简体PDF(扫描版)
英文EPUB
2018-08-27
2020-03-10
简介
金融炼金术The Alchemy of Finance
——Reading the Mind of the Market
(匈/美) 乔治·索罗斯简体PDF
简体EPUB
简体MOBI
简体TXT
英文PDF(扫描版)
2013-04-29
2013-09-13
2015-05-10
2016-05-02
2020-03-10
简介
股票作手回忆录
其它中文名:
投机之王
——利弗莫尔合集
Reminiscences of a Stock Operator
——With New Commentary and Insights on the Life and Times of Jesse Livermore
(美) 埃德温·李费佛
(美) 杰西·利弗莫尔
简体PDF(扫描版)
英文PDF
2018-09-29
2020-03-10
简介
+ +

◇经济 / 经济学家

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
从马克思到凯恩斯
——十大经济学家
Ten Great Economists
——From Marx to Keynes
(奥/美) 约瑟夫·熊彼特简体PDF(扫描版)
英文PDF
2013-04-09
2020-03-11
简介
经济学大师们New Ideas from Dead Economists
——An Introduction to Modern Economic Thought
(美) 托德·布赫霍尔茨简体PDF(扫描版)
英文EPUB
2018-06-24
2020-03-11
简介
思想者的足迹
——五十位重要的西方经济学家
Fifty Major Economists(美) 史蒂文·普雷斯曼简体PDF(扫描版)
英文PDF(第2版)
英文PDF(第1版)
2015-11-09
2020-03-11
2020-03-11
简介
牛津通识读本:凯恩斯Keynes
——A Very Short Introduction
(英) 罗伯特·斯基德尔斯基英文EPUB2020-03-11简介
知识、自由与秩序
——哈耶克思想论集
Knowledge, Freedom and Order(德) 格尔哈德·帕普克 (主编)简体PDF(扫描版)2018-08-28简介
+ +

◇经济 / 博弈论

+ +(本类别是偏重于经济领域的博弈论)
+

◇经济 / 博弈论 / 通俗读物

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:博弈论Game Theory
——A Very Short Introduction
(英) 肯尼思·宾默尔英文PDF2020-03-11简介
策略思维
——商界、政界及日常生活中的策略竞争
Thinking Strategically
——The Competitive Edge in Business, Politics, and Everyday Life
(美) 阿维纳什·迪克西特
(美) 巴里·奈尔伯夫
简体PDF(扫描版)
简体EPUB
简体MOBI
2014-01-09
2018-06-23
2015-05-10
简介
纳什均衡与博弈论
——纳什博弈论及对自然法则的研究
A Beautiful Math
——John Nash, Game Theory and the Modern Quest for a Code of Nature
(美) 汤姆·齐格弗里德简体PDF(大字版)2019-09-02简介
剪刀、石头、布
——趣味博弈论
Rock, Paper, Scissors
——Game Theory in Everyday Life
(英) 兰·费雪简体PDF(扫描版)2014-04-06简介
+ +

◇经济 / 博弈论 / 理论

+ + + + +
中文书名英文书名作者文件类型上传日期备注
博弈论与经济行为Theory of Games and Economic Behavior(匈/美) 约翰·冯·诺伊曼
(奥/美) 奥斯卡·摩根斯坦
英文PDF(扫描版)2019-09-02简介
+ +

◇经济 / 市场营销

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
定位Positioning
——The Battle for Your Mind
(美) 杰克·特劳特
(美) 阿尔·里斯
简体EPUB
简体PDF(20周年纪念版 扫描版)
简体TXT
英文PDF(20周年纪念版)
2019-04-19
2018-08-27
2016-05-16
2020-03-11
简介
营销战Marketing Warfare(美) 杰克·特劳特
(美) 阿尔·里斯
简体PDF(扫描版)
英文EPUB
2018-08-27
2020-03-11
简介
+ +

◇经济 / (其它)

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
世界是平的
——21世纪简史
The World Is Flat
——A Brief History of the Twenty-first Century
(美) 托马斯·弗里德曼简体PDF(大字版)
简体MOBI
英文PDF
2014-01-09
2015-05-10
2020-03-11
简介
蓝海战略
——超越产业竞争,开创全新市场
Blue Ocean Strategy
——How to Create Uncontested Market Space and Make Competition Irrelevant
(韩) 金伟灿
(美) 勒妮·莫博涅
简体PDF
简体MOBI
简体TXT
英文PDF
2013-12-31
2015-05-10
2016-05-18
2020-03-11
简介
+ +
+

+

★管理

+ +【网盘】
+微软网盘
+BT Sync 密钥:B3WNBTAAFFAODFR6FQ3E3L5BBSJAFNBSJ (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
你的灯亮着吗?
——找到问题的真正所在
Are Your Lights On
——How to Figure Out What the Problem Really Is
(美) 唐纳德·高斯
(美) 杰拉尔德·温伯格
简体EPUB (精校版)
简体PDF
简体MOBI
简体TXT
2015-12-01
2010-11-02
2015-02-13
2012-03-08
简介
第五项修炼
——学习型组织的艺术和实务
The Fifth Discipline
——The Art and Practice of the Learning Organization
(美) 彼得·圣吉简体PDF
简体EPUB
2015-04-05
2017-08-15
简介
21世纪的管理挑战Management Challenges for the 21st Century(奥/美) 彼得·德鲁克英文PDF2018-06-22简介
只有偏执狂才能生存Only the Paranoid Survive(美) 安迪·格鲁夫简体PDF(扫描版)2016-04-24简介
格鲁夫给经理人的第一课High Output Management(美) 安迪·格鲁夫简体PDF(扫描版)2016-04-24简介
成为技术领导者
——解决问题的有机方法
Becoming a Technical Leader
——An Organic Problem-Solving Approach
(美) 杰拉尔德·温伯格简体PDF(扫描版)
英文EPUB
2020-11-30
2020-12-09
简介
+ +
+

+

★社会学

+ +【网盘】
+微软网盘
+BT Sync 密钥:BZR4TTYHT25QWUIE6YNMAKWUGBHKSGLC6 (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇社会学 / 通俗读物

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:社会学Sociology
——A Very Short Introduction
(英) 史蒂夫·布鲁斯英文PDF(第1版)2020-03-14简介
+ +

◇社会学 / 理论

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
社会学的基本概念Basic Concepts in Sociology(德) 马克斯·韦伯简体PDF(扫描版)2015-11-09简介
社会科学方法论N/A(德) 马克斯·韦伯简体PDF(扫描版)2015-11-09简介
+ +

◇社会学 / 传媒

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
理解媒介
——论人的延伸
Understanding Media
——The Extensions of Man
(加) 麦克卢汉简体PDF(扫描版)2017-08-15简介
娱乐至死Amusing Ourselves to Death(美) 尼尔·波兹曼简体PDF(扫描版)
简体EPUB
简体MOBI
2015-01-07
2019-01-06
2015-02-13
简介
引爆点
其它中文名:
引爆流行
The Tipping Point
——How Little Things Can Make a Big Difference
(加) 马尔科姆·格拉德威尔简体PDF(扫描版)2015-11-04简介
+ +

◇社会学 / (其它)

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
反脆弱
——从不确定性中获益
Antifragile
——Things That Gain from Disorder
(美) 纳西姆·塔勒布简体EPUB
简体MOBI
英文EPUB
2018-12-12
2019-03-03
2020-03-14
简介
黑天鹅
——如何应对不可预知的未来
其它中文名:
黑天鹅效应
The Black Swan
——The Impact of the Highly Improbable
(美) 纳西姆·塔勒布简体PDF
简体EPUB
简体MOBI
简体PDF(扫描版)
英文EPUB
2014-01-09
2017-08-15
2015-02-13
2019-05-05
2020-03-14
简介
+ +
+

+

★文艺

+ +【网盘】
+微软网盘
+BT Sync 密钥:BMBB5YLBIJJAE5H6TP27OS7YCEUKCYHZK (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇文艺 / 中国

+ +

◇文艺 / 中国 / 文化

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
中国人的性格
其它中文名:
中国人的素质
Chinese Characteristics(美) 阿瑟·史密斯 (中文名:明恩溥)简体PDF
简体EPUB
简体MOBI
简体TXT
2011-02-09
2013-09-13
2015-07-19
2012-03-19
简介
丑陋的中国人The Ugly Chinaman柏杨 (原名:郭定生)简体TXT
简体EPUB
简体MOBI
2012-10-06
2018-12-08
2015-11-08
简介
吾国与吾民My Country and My People林语堂简体PDF(大字版)
简体EPUB
简体MOBI
简体TXT
2018-08-20
2017-04-30
2014-02-23
2016-05-10
简介
中国比小说更离奇China is Stranger Than Fiction钟祖康简体TXT
简体MOBI
2013-02-25
2013-02-25
简介
来生不做中国人I Don't Want to be Chinese Again钟祖康简体PDF2013-04-14简介
美人赠我蒙汗药N/A王朔简体PDF
简体EPUB
简体MOBI
2013-03-14
2013-09-14
2018-12-08
简介
中国传统文化的陷阱N/A端木赐香 (原名:李桂枝)简体PDF(扫描版)2015-07-12简介
+ +

◇文艺 / 中国 / 文学家、艺术家

+ + + + +
中文书名作者文件类型上传日期备注
胡适口述自传胡适 (英文口述)
唐德刚 (译注)
简体PDF(扫描版)
简体MOBI(不全)
2013-11-26
2015-02-13
简介
+ +

◇文艺 / 中国 / (其它)

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
灵山Soul Mountain(法) 高行健简体PDF
简体EPUB
简体CHM
英文PDF
2013-07-07
2013-09-14
2013-07-07
2019-03-16
简介
一个人的圣经One Man's Bible(法) 高行健简体PDF
简体CHM
英文PDF
2013-07-07
2013-07-07
2019-03-16
简介
寻找家园N/A高尔泰简体PDF
简体MOBI
2013-06-03
2015-02-13
简介
尘世·挽歌N/A土家野夫 (原名:郑世平)简体PDF
简体EPUB
2013-01-07
2015-02-13
简介
看不见的江湖N/A土家野夫 (原名:郑世平)简体PDF2013-06-03简介
文殇N/A袁红冰 (原名:袁红兵)简体CHM2013-06-03简介
沉沦的圣殿
——中国20世纪70年代地下诗歌遗照
N/A廖亦武 (主编)简体PDF(扫描版)
简体PDF(不全)
2013-11-26
2013-01-17
简介
+ +

◇文艺 / 日本

+ +

◇文艺 / 日本 / 文化

+ + + + +
中文书名英文书名作者文件类型上传日期备注
菊花与刀
——日本文化诸模式
其它中文名:
菊花與劍
——日本文化的雙重性
The Chrysanthemum and the Sword(美) 鲁思·本尼迪克特简体PDF
简体PDF(大字版)
简体PDF(扫描版)
简体EPUB(增订版)
2014-01-09
2019-01-04
2017-08-15
2015-07-17
简介
+ +
+

+

★哲学

+ +【网盘】
+微软网盘
+BT Sync 密钥:B6WWVBXPMZDI5IL4KED6AAHA5FO4UNKQF (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇哲学 / 通俗读物

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
你的第一本哲学书
其它中文名:
哲學入門九堂課
What Does It All Mean?
——A Very Short Introduction to Philosophy
(美) 托马斯·内格尔简体PDF(扫描版)
简体MOBI
英文PDF
2014-06-20
2015-02-13
2020-03-12
简介
苏菲的世界Sophie's World
——A Novel about the History of Philosophy
(挪威) 乔斯坦·贾德简体PDF(精校版 无删节)
简体EPUB(精校版 无删节)
简体MOBI(精校版 无删节)
英文PDF
2015-12-24
2015-12-24
2015-12-24
2020-03-12
简介
哲学问题The Problems of Philosophy(英) 伯特兰·罗素简体PDF
简体EPUB
简体MOBI
简体TXT
2014-06-20
2015-02-13
2015-02-13
2016-05-10
简介
+ +

◇哲学 / 哲学史

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
西方哲学史A History of Western Philosophy(英) 伯特兰·罗素简体PDF
简体PDF(大字版)
简体PDF(扫描版)
简体MOBI
简体TXT
英文PDF
2014-06-20
2019-01-06
2015-01-12
2015-02-13
2016-05-11
2020-03-12
简介
西方哲学史A History of Philosophy(美) 弗兰克·梯利简体PDF(增补修订版 扫描版)2018-06-25简介
哲学史讲演录Lectures on the History of Philosophy(德) 黑格尔繁體PDF(掃描版)2018-12-09简介
中国哲学简史A Short History of Chinese Philosophy冯友兰简体PDF
简体EPUB
简体MOBI
2014-06-20
2015-02-13
2015-02-13
简介
中国哲学史大纲N/A胡适简体EPUB2015-02-15简介
形而上学的迷雾The Fog of Metaphysics刘晓波简体PDF(扫描版)2014-07-28简介
+ +

◇哲学 / 哲学家

+ +

◇哲学 / 哲学家 / 苏格拉底

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:苏格拉底Socrates
——A Very Short Introduction
(英) 克里斯托弗·泰勒简体PDF(扫描版)2019-01-19简介
回忆苏格拉底Memorabilia(古希腊) 色诺芬简体CHM
简体PDF(扫描版)
英文EPUB
2014-06-20
2017-03-24
2018-06-25
简介
+ +

◇哲学 / 哲学家 / 柏拉图

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:柏拉图Plato
——A Very Short Introduction
(英) 朱莉娅·安纳斯英文PDF2019-01-16简介
+ +

◇哲学 / 哲学家 / 亚里士多德

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:亚里士多德Aristotle
——A Very Short Introduction
(英) 乔纳森·巴恩斯英文PDF2019-01-14简介
+ +

◇哲学 / 哲学家 / 笛卡尔

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:笛卡尔Descartes
——A Very Short Introduction
(英) 汤姆·索雷尔简体EPUB
简体AZW3
英文PDF
2015-12-04
2015-12-04
2016-12-17
简介
+ +

◇哲学 / 哲学家 / 洛克

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:洛克Locke
——A Very Short Introduction
(英) 约翰·邓恩英文EPUB2020-03-13简介
+ +

◇哲学 / 哲学家 / 康德

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:康德Kant
——A Very Short Introduction
(英) 罗杰·斯克鲁顿简体EPUB
简体AZW3
英文PDF(扫描版)
2015-12-03
2015-12-03
2016-12-17
简介
+ +

◇哲学 / 哲学家 / 黑格尔

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:黑格尔Hegel
——A Very Short Introduction
(澳大利亚) 彼得·辛格英文EPUB2020-03-13简介
+ +

◇哲学 / 哲学家 / 叔本华

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:叔本华Schopenhauer
——A Very Short Introduction
(英) 克里斯托弗·贾纳韦简体EPUB
简体AZW3
英文PDF
2015-12-04
2015-12-04
2016-12-17
简介
+ +

◇哲学 / 哲学家 / 尼采

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:尼采Nietzsche
——A Very Short Introduction
(英) 迈克尔·坦纳简体EPUB
简体AZW3
英文PDF
2015-12-04
2015-12-04
2016-12-17
简介
尼采Nietzsche(德) 马丁·海德格尔简体PDF(扫描版)2019-01-20简介
+ +

◇哲学 / 哲学家 / 罗素

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:罗素Russell
——A Very Short Introduction
(英) 安东尼·格雷林英文PDF2019-01-20简介
我的哲学发展My Philosophical Development(英) 伯特兰·罗素简体PDF(扫描版)2018-06-25简介
+ +

◇哲学 / 哲学家 / 维特根斯坦

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:维特根斯坦Wittgenstein
——A Very Short Introduction
(英) 安东尼·格雷林简体EPUB
简体AZW3
英文PDF
2015-12-04
2015-12-04
2016-12-17
简介
+ +

◇哲学 / 哲学家 / 波普尔

+ + + + +
中文书名英文书名作者文件类型上传日期备注
无尽的探索
——卡尔·波普尔自传
Unended Quest
——An Intellectual Autobiography
(英) 卡尔·波普尔简体EPUB
简体TXT
2015-02-15
2016-05-02
简介
+ +

◇哲学 / 哲学家 / (其他哲学家)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
大哲学家
——思想大师们的生平与精髓
The Great Philosophers
——From Socrates to Turing
(英) 雷·蒙克 (主编)
(英) 弗雷德里克·拉斐尔 (主编)
简体PDF(扫描版)2019-01-20简介
+ +

◇哲学 / 形而上学

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:形而上学Metaphysics
——A Very Short Introduction
(英) 斯蒂芬·芒福德英文EPUB2020-03-12简介
未来形而上学导论Prolegomena to Any Future Metaphysics(德) 伊曼努尔·康德简体CHM
简体PDF(扫描版)
英文PDF
2014-06-20
2017-03-26
2020-03-12
简介
第一哲学沉思集
其它中文名:
形而上学沉思录
Meditations on First Philosophy(法) 勒内·笛卡尔简体PDF
简体PDF(扫描版)
简体TXT
英文PDF
2014-06-20
2017-03-24
2016-05-10
2020-03-12
简介
存在与时间Being and Time
其它英文名:
On Time and Being
(德) 马丁·海德格尔简体TXT
英文PDF(扫描版)
2019-01-21
2020-03-12
简介
+ +

◇哲学 / 知识论与认识论

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
纯粹理性批判Critique of Pure Reason(德) 伊曼努尔·康德简体PDF
简体PDF(扫描版)
英文EPUB
2014-06-20
2017-03-26
2018-06-25
简介
谈谈方法
其它中文名:
方法论
Discourse on the Method(法) 勒内·笛卡尔简体PDF(扫描版)2014-06-20简介
人类理解研究An Enquiry Concerning Human Understanding(英) 大卫·休谟简体PDF(扫描版)
简体MOBI
英文PDF
2014-06-20
2015-02-13
2020-03-12
简介
系统化思维导论An Introduction to General Systems Thinking(美) 杰拉尔德·温伯格简体PDF(扫描版)
英文EPUB
2015-10-24
2020-03-12
简介
+ +

◇哲学 / 逻辑学

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
简单的逻辑学Being Logical
——A Guide to Good Thinking
(美) 丹尼斯·麦克伦尼简体EPUB
简体MOBI
简体PDF(扫描版)
英文PDF
2019-07-18
2015-02-13
2015-01-07
2015-11-10
简介
牛津通识读本:简明逻辑学Logic
——A Very Short Introduction
(英) 格雷汉姆·普里斯特简体EPUB
简体AZW3
英文PDF(扫描版)
2015-12-14
2015-12-14
2016-12-17
简介
+ +

◇哲学 / 伦理学

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:伦理学Ethics
——A Very Short Introduction
(英) 西蒙·布莱克本英文PDF2020-03-13简介
幸福之路The Conquest of Happiness(英) 伯特兰·罗素简体EPUB
简体MOBI
简体TXT
英文EPUB
2014-06-20
2018-12-09
2016-05-10
2020-03-13
简介
道德情操论The Theory of Moral Sentiments(英) 亚当·斯密简体PDF
简体PDF(扫描版)
简体EPUB
简体MOBI
英文PDF
2014-06-20
2015-01-12
2015-11-10
2015-02-13
2020-03-13
简介
论道德的谱系
——一篇论战檄文
其它中文名:
道德谱系学
On the Genealogy of Morality
——A Polemic
(德) 弗里德里希·尼采简体EPUB(注疏版)
简体MOBI(注疏版)
英文PDF
2018-12-10
2018-12-10
2020-03-13
简介
+ +

◇哲学 / 科学哲学

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:科学哲学Philosophy of Science
——A Very Short Introduction
(英) 萨米尔·奥卡沙简体EPUB(第1版)
简体AZW3(第1版)
英文PDF(第1版 扫描版)
2015-12-02
2015-12-02
2019-01-22
简介
科学发现的逻辑The Logic of Scientific Discovery(英) 卡尔·波普尔简体HTML
简体MOBI
英文PDF
2014-06-20
2015-02-13
2020-03-13
简介
猜想与反驳
——科学知识的增长
Conjectures and Refutations
——The Growth of Scientific Knowledge
(英) 卡尔·波普尔简体EPUB
英文PDF
2015-02-15
2020-03-13
简介
+ +

◇哲学 / 美学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
审美与人的自由Aesthetics and Human Freedom刘晓波简体PDF(扫描版)2015-01-12简介
+ +

◇哲学 / (其它)

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
查拉图斯特拉如是说
其它中文名:
苏鲁支语录
Thus Spoke Zarathustra
——A Book for All and None
(德) 弗里德里希·尼采简体PDF
简体EPUB
英文EPUB
2014-06-20
2015-02-13
2018-06-25
简介
作为意志和表象的世界
其它中文名:
作为意志和观念的世界
The World as Will and Representation(德) 亚瑟·叔本华简体PDF(第1卷 大字版)
英文EPUB(共2卷)
2019-01-11
2020-03-13
简介
自由的进化Freedom Evolves(美) 丹尼尔·丹内特简体PDF(扫描版)2015-11-09简介
+ +
+

+

★科普

+ +【网盘】
+微软网盘
+BT Sync 密钥:BKKORLE67ZDUHGHVWAVSRK3N5I7BXLCED (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇科普 / (总论)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
魔鬼出没的世界
——科学,照亮黑暗的蜡烛
其它中文名:
魔鬼盤據的世界
——薩根談 UFO、占星與靈異
The Demon-Haunted World
——Science as a Candle in the Dark
(美) 卡尔·萨根简体PDF2020-12-10简介
+ +

◇科普 / 数学

+ +

◇科普 / 数学 / 数学史

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:数学史The History of Mathematics
——A Very Short Introduction
(英) 杰基·斯特德尔英文EPUB2020-12-10简介
数学
——确定性的丧失
Mathematics
——The Loss of Certainty
(美) 莫里斯·克莱因简体PDF2020-12-10简介
西方文化中的数学Mathematics in Western Culture(美) 莫里斯·克莱因简体PDF(扫描版)2020-12-10简介
费马大定理
——一个困惑了世间智者358年的谜
Fermat's Last Theorem
——The Story of a Riddle That Confounded the World's Greatest Minds for 358 Years
其它英文名:
Fermat's Enigma
——The Epic Quest to Solve the World's Greatest Mathematical Problem
(英) 西蒙·辛格简体EPUB2020-12-10简介
+ +

◇科普 / 数学 / (综述)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
什么是数学
——对思想和方法的基本研究
What Is Mathematics
——An Elementary Approach to Ideas and Methods
(德/美) 理查德·柯朗
(美) 赫伯特·罗宾斯
(英) 伊恩·斯图尔特
简体PDF(第3版 扫描版)2020-12-10简介
+ +

◇科普 / 数学 / 基础理论

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
哥德尔、艾舍尔、巴赫书
——集异璧之大成
Gödel, Escher, Bach
——An Eternal Golden Braid
(美) 道格拉斯·霍夫施塔特 (中文名:侯世达)英文PDF2020-12-11简介
哥德尔证明Gödel's Proof(奥/美) 欧内斯特·内格尔
(美) 詹姆斯·纽曼
简体PDF2020-12-11简介
+ +

◇科普 / 数学 / 代数与分析

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:代数Algebra
——A Very Short Introduction
(英) 彼得·希金斯英文EPUB2020-12-11简介
+ +

◇科普 / 数学 / 几何与拓扑

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:拓扑学Topology
——A Very Short Introduction
(英) 理查德·厄尔英文EPUB2020-12-11简介
+ +

◇科普 / 数学 / 概率与统计

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:概率Probability
——A Very Short Introduction
(英) 约翰·海格英文EPUB2020-12-11简介
牛津通识读本:统计学Statistics
——A Very Short Introduction
(英) 大卫·汉德英文EPUB2020-12-11简介
+ +

◇科普 / 数学 / (其它)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
怎样解题
——数学思维的新方法
How to Solve It
——A New Aspect of Mathematical Method
(匈/瑞士/美) 乔治·波利亚简体PDF(第2版)2020-12-11简介
+ +

◇科普 / 物理学

+ +

◇科普 / 物理学 / 物理学史

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:物理学史The History of Physics
——A Very Short Introduction
(英) 约翰·海尔布隆英文EPUB2020-12-12简介
物理学的进化The Evolution of Physics
——From Early Concepts to Relativity and Quanta
(德/美) 阿尔伯特·爱因斯坦
(波兰) 利奥波德·英费尔德
简体PDF(扫描版)2020-12-12简介
上帝掷骰子吗?
——量子物理史话
History of Quantum Physics曹天元简体EPUB2020-12-12简介
+ +

◇科普 / 物理学 / (综述)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
费曼物理学讲义The Feynman Lectures on Physics(美) 理查德·费曼英文PDF(共3卷 扫描版)2020-12-12简介
+ +

◇科普 / 物理学 / 基础理论

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
物理世界奇遇记Mr Tompkins in Wonderland
其它英文名:
Mr Tompkins Explores the Atom
The New World of Mr Tompkins
(苏/美) 乔治·伽莫夫简体PDF(精校版)2020-12-12简介
从牛顿定律到爱因斯坦相对论N/A(中/美) 方励之
褚耀泉
简体PDF(精校版)2020-12-12简介
量子力学概论Introduction to Quantum Mechanics(美) 大卫·格里菲斯简体PDF(第2版)2020-12-12简介
宇宙的琴弦
——超弦、隐藏维度与终极理论探索
其它中文名:
优雅的宇宙
The Elegant Universe
——Superstrings, Hidden Dimensions and the Quest for the Ultimate Theory
(美) 布莱恩·格林简体PDF(扫描版)2020-12-12简介
+ +

◇科普 / 物理学 / 粒子物理学

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:粒子物理学Particle Physics
——A Very Short Introduction
(英) 弗兰克·克洛斯英文EPUB2020-12-13简介
上帝粒子
——假如宇宙是答案,究竟什么是问题?
The God Particle
——If the Universe Is the Answer, What Is the Question?
(美) 利昂·莱德曼
(美) 迪克·泰雷西
简体PDF(扫描版)2020-12-13简介
希格斯
——“上帝粒子”的发明与发现
Higgs
——The Invention and Discovery of the "God Particle"
(英) 吉姆·巴戈特简体PDF(扫描版)2020-12-13简介
+ +

◇科普 / 物理学 / 核物理学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:核物理学Nuclear Physics
——A Very Short Introduction
(英) 弗兰克·克洛斯英文EPUB2020-12-13简介
+ +

◇科普 / 物理学 / 天体物理学

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
时间简史
——从大爆炸到黑洞
A Brief History of Time
——From the Big Bang to Black Holes
(英) 斯蒂芬·霍金英文EPUB(10周年纪念版)2020-12-13简介
最初三分钟
——关于宇宙起源的现代观点
The First Three Minutes
——A Modern View of the Origin of the Universe
(美) 史蒂文·温伯格简体PDF(扫描版)2020-12-13简介
宇宙的最后三分钟
——关于宇宙归宿的最新观念
The Last Three Minutes
——Conjectures about the Ultimate Fate of the Universe
(美) 保罗·戴维斯简体PDF2020-12-13简介
超越时空
——通过平行宇宙、时间卷曲和第十维度的科学之旅
其它中文名:
穿越超時空
——十度空間科學奇航
Hyperspace
——A Scientific Odyssey Through Parallel Universes, Time Warps and the Tenth Dimension
(美) 加来道雄简体PDF(扫描版)2020-12-13简介
+ +

◇科普 / 物理学 / (其它)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
上帝与新物理学God and the New Physics(美) 保罗·戴维斯简体PDF2020-12-13简介
+ +

◇科普 / 化学

+ +

◇科普 / 化学 / (综述)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:化学Chemistry
——A Very Short Introduction
(英) 彼得·阿特金斯英文EPUB2020-12-14简介
+ +

◇科普 / 化学 / 基础理论

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
化学元素周期王国The Periodic Kingdom
——A Journey into the Land of the Chemical Elements
(英) 彼得·阿特金斯简体HTML2020-12-14简介
牛津通识读本:化学元素The Elements
——A Very Short Introduction
(英) 菲利普·鲍尔英文EPUB2020-12-14简介
牛津通识读本:分子Molecules
——A Very Short Introduction
(英) 菲利普·鲍尔英文EPUB2020-12-14简介
+ +

◇科普 / 化学 / 物理化学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:物理化学Physical Chemistry
——A Very Short Introduction
(英) 彼得·阿特金斯英文EPUB2020-12-14简介
+ +

◇科普 / 化学 / 有机化学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:有机化学Organic Chemistry
——A Very Short Introduction
(英) 格雷汉姆·帕特里克英文EPUB2020-12-14简介
+ +

◇科普 / 生命科学

+ +

◇科普 / 生命科学 / 生物分类学

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:微生物学Microbiology
——A Very Short Introduction
(美) 尼古拉斯·曼尼英文EPUB2020-12-15简介
牛津通识读本:病毒Viruses
——A Very Short Introduction
(英) 多萝西·克劳福德英文EPUB2020-12-15简介
牛津通识读本:细菌Bacteria
——A Very Short Introduction
(英) 塞巴斯蒂安·阿米斯英文EPUB2020-12-15简介
牛津通识读本:真菌Fungi
——A Very Short Introduction
(美) 尼古拉斯·曼尼英文EPUB2020-12-15简介
昆虫记
其它中文名:
昆虫学回忆录
昆虫学札记
Entomological Memories(法) 让-亨利·法布尔简体PDF(节译本)2020-12-15简介
+ +

◇科普 / 生命科学 / 演化生物学

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:基因Genes
——A Very Short Introduction
(美) 乔纳森·斯拉克英文EPUB2020-12-16简介
自私的基因The Selfish Gene(英) 理查德·道金斯简体MOBI(40周年纪念版)2020-12-16简介
社会生物学
——新的综合
Sociobiology
——The New Synthesis
(美) 爱德华·威尔逊简体HTML(节译本)2020-12-16简介
第三种黑猩猩
——人类的身世与未来
The Third Chimpanzee
——The Evolution and Future of the Human Animal
(美) 贾雷德·戴蒙德简体PDF(扫描版)2020-12-16简介
伊甸园的飞龙
——人类智力演化的推测
The Dragons of Eden
——Speculations on the Evolution of Human Intelligence
(美) 卡尔·萨根简体HTML2020-12-16简介
+ +

◇科普 / 生命科学 / 分子生物学

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:分子生物学Molecular Biology
——A Very Short Introduction
(新西兰) 珍妮丝·罗伊兹
(英) 艾莎·迪万
英文EPUB2020-12-16简介
生命是什么?
——生物细胞的物理学见解
其它中文名:
生命是什么?
——活细胞的物理学观
What Is Life?
——The Physical Aspect of the Living Cell
(奥) 埃尔温·薛定谔简体PDF(扫描版)2020-12-16简介
+ +

◇科普 / 生命科学 / 神经生物学

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:认知神经科学Cognitive Neuroscience
——A Very Short Introduction
(英) 理查德·帕辛厄姆英文EPUB2020-12-17简介
意识探秘
——意识的神经生物学研究
The Quest for Consciousness
——A Neurobiological Approach
(美) 克里斯托夫·科赫简体PDF(扫描版)2020-12-17简介
+ +

◇科普 / 生命科学 / 古生物学

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:化石Fossils
——A Very Short Introduction
(英) 基思·汤姆森英文EPUB2020-12-17简介
人类的起源The Origin of Humankind(肯尼亚) 理查德·利基简体PDF2020-12-17简介
+ +

◇科普 / 生命科学 / 医学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
我们为什么生病
——达尔文医学的新科学
Why We Get Sick
——The New Science of Darwinian Medicine
(美) 伦道夫·尼斯
(美) 乔治·威廉斯
简体PDF(扫描版)2020-12-17简介
+ +

◇科普 / 系统科学

+ +

◇科普 / 系统科学 / 混沌理论

+ + + + +
中文书名英文书名作者文件类型上传日期备注
混沌
——开创新科学
Chaos
——Making a New Science
(美) 詹姆斯·格雷克英文EPUB(修订版)2020-12-18简介
+ +

◇科普 / 系统科学 / 复杂系统论

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:复杂Complexity
——A Very Short Introduction
(美) 约翰·霍兰德英文EPUB2020-12-18简介
复杂
——诞生于秩序与混沌边缘的科学
Complexity
——The Emerging Science at the Edge of Order and Chaos
(美) 米歇尔·沃尔德罗普简体PDF(扫描版)2020-12-18简介
夸克与美洲豹
——简单性和复杂性的奇遇
The Quark and the Jaguar
——Adventures in the Simple and the Complex
(美) 默里·盖尔曼简体PDF2020-12-18简介
复杂性思维
——物质、精神和人类的计算动力学
Thinking in Complexity
——The Computational Dynamics of Matter, Mind and Mankind
其它英文名:
Thinking in Complexity
——The Complex Dynamics of Matter, Mind and Mankind
(德) 克劳斯·迈因策尔简体CHM(第2版)2020-12-18简介
隐秩序
——适应性造就复杂性
Hidden Order
——How Adaptation Builds Complexity
(美) 约翰·霍兰德简体PDF(扫描版)2020-12-18简介
+ +

◇科普 / 地球科学

+ +

◇科普 / 地球科学 / 地理学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:地理学Geography
——A Very Short Introduction
(英) 约翰·马修斯
(英) 戴维·赫伯特
英文EPUB2020-12-19简介
+ +

◇科普 / 地球科学 / 气候学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:气候变化
其它中文名:
牛津通识读本:全球变暖
Climate Change
——A Very Short Introduction
其它英文名:
Global Warming
——A Very Short Introduction
(英) 马克·马斯林英文EPUB2020-12-19简介
+ +

◇科普 / 地球科学 / 生态学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:生态学Ecology
——A Very Short Introduction
(伊拉克/英) 贾布尔·加祖英文EPUB2020-12-19简介
+ +

◇科普 / 地球科学 / 环境科学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
寂静的春天Silent Spring(美) 蕾切尔·卡森英文PDF(40周年纪念版)2020-12-19简介
+ +

◇科普 / 空间科学

+ +

◇科普 / 空间科学 / 天文学史

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:天文学史The History of Astronomy
——A Very Short Introduction
(英) 迈克尔·霍斯金英文EPUB2020-12-20简介
+ +

◇科普 / 空间科学 / 宇宙学

+ +(由于现代宇宙学与理论物理的关系很密切,相关的书籍放在【科普类 / 物理学 / 天体物理学】分类目录下)
+

◇科普 / 空间科学 / 恒星天文学

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:恒星Stars
——A Very Short Introduction
(英) 安德鲁·金英文EPUB2020-12-20简介
千亿个太阳
——恒星的诞生、演变和衰亡
100 Billion Suns
——The Birth, Life and Death of the Stars
(德) 鲁道夫·基彭哈恩简体PDF(扫描版)2020-12-20简介
+ +

◇科普 / 科学家

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
别闹了,费曼先生
——科学玩童的故事
Surely You're Joking, Mr.Feynman!(美) 理查德·费曼简体PDF(精校版)2020-12-20简介
我的世界线
——伽莫夫自传
My World Line
——An Informal Autobiography
(苏/美) 乔治·伽莫夫简体PDF(精校版)2020-12-20简介
+ +

◇科普 / (其它)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
从一到无穷大
——科学中的事实和臆测
One Two Three... Infinity
——Facts and Speculations of Science
(苏/美) 乔治·伽莫夫简体PDF(精校版)2020-12-22简介
+ +
+

+

★军事

+ +【网盘】
+微软网盘
+BT Sync 密钥:BMWWZALG4P56LREF47EE2WSWHZEM4E6BL (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇军事 / 军事理论

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
孙子兵法
其它中文名:
孙武兵法
The Art of War孙武简体PDF
繁體PDF(白話版)
简体WEB
2018-08-20
2018-08-20
N/A
简介
战争论On War(普鲁士) 卡尔·冯·克劳塞维茨简体PDF(大字版 3卷本)
简体EPUB(3卷本)
简体PDF(共3卷)
简体PDF(扫描版 3卷本)
2019-04-14
2020-03-28
2013-03-22
2017-08-12
简介
战略论
——间接路线
Strategy
——The Indirect Approach
其它英文名:
The Strategy of Indirect Approach
The Way to Win Wars
(英) 李德·哈特简体PDF(第2版修订版 扫描版)
英文PDF(第2版修订版 扫描版)
2013-02-05
2019-11-12
简介
海权论
其它中文名:
制海权对历史的影响
The Influence of Sea Power upon History, 1660~1783(美) 阿尔弗雷德·马汉简体PDF
简体PDF(扫描版)
英文PDF(扫描版)
2013-03-22
2017-08-11
2020-01-21
简介
制空权The Command of the Air(意) 朱利欧·杜黑简体PDF(前9章)
英文PDF(扫描版)
2013-08-21
2018-08-25
简介
绝对武器
——原子能与世界秩序
The Absolute Weapon
——Atomic Power and World Order
(美) 伯纳德·布罗迪
等
英文PDF(扫描版)2018-08-25简介
世界上二十次重大战役中的决定因素Decisive Factors in Twenty Great Battles of the World(英) 威廉·西摩简体PDF(大字版)2017-08-12简介
+ +

◇军事 / 现代军事史

+ +

◇军事 / 现代军事史 / 二战

+ +

◇军事 / 现代军事史 / 二战 / (综合)

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
第二次世界大战战史大全N/A(英) 阿诺德·汤因比 (主编)简体EPUB
简体CHM
2013-09-13
2013-02-05
简介
第二次世界大战战史History of the Second World War(英) 李德·哈特简体PDF(扫描版)
英文PDF(扫描版)
2015-09-17
2020-01-21
简介
第二次世界大战回忆录The Second World War(英) 温斯顿·丘吉尔简体PDF(大字版)
简体EPUB
简体HTML
简体MOBI
2015-07-18
2013-09-14
2013-03-22
2018-08-20
简介
第二次世界大战史N/A(德) 库尔特·冯·蒂佩尔斯基希简体PDF(2册本 扫描版)2018-11-11简介
大海战
——第二次世界大战海战史
其它中文名:
伟大的海战
The Great Sea War
——The Story of Naval Action in World War II
(美) 切斯特·尼米兹
(美) 埃尔默·波特
简体PDF(大字版)
简体PDF(扫描版)
2019-08-24
2016-12-11
简介
第二次世界大战的决定性战役Decisive Battles of World War II
——The German View
(美) 汉斯·雅各布森简体CHM2013-08-22简介
大东亚战争全史The Complete History of the Great East Asia War(日) 服部卓四郎简体PDF(共4册 扫描版)2015-09-17简介
山的那一边
——被俘德国将领谈二战
The Other Side of the Hill(英) 李德·哈特简体PDF(扫描版)
英文PDF(扫描版)
2017-08-11
2020-03-08
简介
+ +

◇军事 / 现代军事史 / 二战 / 东欧战场

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
苏德战争,1941~1945The Russo-German War, 1941~1945(英) 阿尔伯特·西顿简体PDF2020-03-24简介
失去的胜利
其它中文名:
曼施泰因元帅战争回忆录
Lost Victories
——The War Memoirs of Hitler's Most Brilliant General
(德) 埃里希·冯·曼施坦因简体TXT
英文PDF
2016-05-16
2018-08-20
简介
+ +

◇军事 / 现代军事史 / 二战 / 西欧与北非战场

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
远征欧陆
其它中文名:
艾森豪威尔回忆录
Crusade in Europe(美) 德怀特·艾森豪威尔简体PDF(扫描版)2018-08-21简介
隆美尔战时文件The Rommel Papers(英) 李德·哈特 (主编)简体TXT
英文PDF(扫描版)
2019-06-02
2019-11-23
简介
巴黎烧了吗?
——盟军解放巴黎纪实
Is Paris Burning?(美) 拉莱·科林斯
(法) 多米尼克·拉皮埃尔
简体PDF(扫描版)
英文EPUB
2016-12-11
2020-01-21
简介
+ +

◇军事 / 现代军事史 / 二战 / 太平洋战场

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
联合舰队的覆灭
其它中文名:
連合艦隊の最後
——太平洋海戦史
The End of the Imperial Japanese Navy(日) 伊藤正德简体TXT
英文PDF
2019-07-27
2020-03-08
简介
浩瀚大洋是赌场
——大日本帝国海军兴亡史
N/A俞天任 (网名:冰冷雨天)简体PDF2016-12-11简介
袭击珍珠港N/A(日) 渊田美津雄简体PDF(扫描版)2015-10-25简介
+ +

◇军事 / 现代军事史 / 二战 / 中国战场

+ + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
从九一八到七七事变
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
七七事变
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
八一三淞沪抗战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
南京保卫战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
徐州会战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
中原抗战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
湖南四大会战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
闽浙赣抗战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
粤桂黔滇抗战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
远征印缅抗战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
一寸山河一寸血N/A(多人)简体PDF(纪录片解说词)2015-07-22简介
穿越1945
——纪念抗战胜利70年访谈纪实
Journey 1945美国之音简体PDF(扫描版)2016-07-17简介
中日战争时期的通敌内幕,1937~1945China and Japan at War 1937-1945
——The Politics of Collaboration
(美) 约翰·博伊尔简体PDF(大字版)2017-08-11简介
+ +

◇军事 / 现代军事史 / 韩战

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
朝鲜战争
——李奇微回忆录
The Korean War(美) 马修·李奇威简体PDF2013-03-17简介
朝鲜战争揭秘N/A沈志华繁體PDF(豎排掃描版)2013-02-02简介
朝鲜战争
——俄国档案馆的解密文件
N/A沈志华 (整理)简体PDF2013-07-30简介
朝鲜战争中的美国陆军United States Army in the Korean War(美) 詹姆斯·施纳贝尔
等
简体PDF(共3卷 扫描版)
英文PDF(共5卷 扫描版 缺第5卷)
2017-08-16
2020-03-08
简介
毛泽东、斯大林与朝鲜战争N/A沈志华简体PDF
简体EPUB
简体MOBI
简体PDF(扫描版)
2013-07-30
2013-09-13
2018-12-09
2015-10-25
简介
远东朝鲜战争N/A王树增简体PDF2013-07-30简介
杜鲁门与麦克阿瑟的冲突和朝鲜战争The Truman-MacArthur Controversy and the Korean War(美) 约翰·斯帕尼尔简体PDF(扫描版)2017-02-19简介
+ +

◇军事 / 现代军事史 / 越战

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
基辛格越战回忆录Ending the Vietnam War
——A History of America's Involvement in and Extrication from the Vietnam War
(美) 亨利·基辛格简体EPUB2015-01-11简介
回顾
——越战的悲剧与教训
In Retrospect
——The Tragedy and Lessons of Vietnam
(美) 罗伯特·麦克纳马拉简体PDF
简体HTML
2017-08-12
2018-08-20
简介
中国秘密大发兵
——援越抗美实录
N/A王贤根简体PDF(扫描版)2013-02-05简介
+ +

◇军事 / 现代军事史 / 冷战

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
冷战,1945~1991The Cold War, 1945~1991(英) 约翰·梅森简体PDF(大字版)
英文PDF
2018-11-11
2020-01-21
简介
牛津通识读本:冷战The Cold War
——A Very Short Introduction
(美) 罗伯特·麦克马洪英文PDF
英文MOBI
2015-12-14
2020-12-08
简介
苏联行为的根源The Sources of Soviet Conduct(美) 乔治·凯南简体TXT
英文TXT
英文PDF(扫描版)
2018-08-14
2019-05-28
2020-03-08
简介
凯南长电Long Telegram(美) 乔治·凯南简体TXT
英文TXT
2018-08-14
2019-11-23
简介
冷战史
——遏制与共存备忘录
A Journey Through the Cold War
——A Memoir of Containment and Coexistence
(美) 雷蒙德·加特霍夫简体PDF2017-02-19简介
人心之争
——美国、苏联与冷战
For the Soul of Mankind
——The United States, the Soviet Union and the Cold War
(美) 梅尔文·莱弗勒简体PDF(扫描版)
英文EPUB
2017-02-19
2020-01-21
简介
美国遏制战略与冷战起源再探U.S. Strategy of Containment and the Origins of the Cold War
——A Revist
张曙光简体PDF(扫描版)2018-08-14简介
冰与火之歌
——回首冷战军事对抗史
N/A《现代兵器》杂志社简体PDF(扫描版)2015-02-17简介
+ +

◇军事 / 现代军事史 / 一战

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:第一次世界大战The First World War
——A Very Short Introduction
(英) 迈克尔·霍华德英文PDF
英文MOBI
2015-12-15
2020-12-08
简介
第一次世界大战回忆录The World Crisis(英) 温斯顿·丘吉尔简体TXT
英文MOBI(共5卷)
2016-05-19
2020-01-21
简介
欧洲的悲剧
——第一次世界大战战史
N/A(未知)繁體PDF(掃描版)2017-08-16简介
乱七八糟的第一次世界大战The Frightful First World War(英) 泰瑞·狄利简体PDF(扫描版)2018-08-20简介
+ +

◇军事 / 近代军事史

+ +

◇军事 / 近代军事史 / 甲午战争

+ + + + +
中文书名作者文件类型上传日期备注
绝版甲午
——从海外史料揭秘中日战争
(澳大利亚) 雪珥 (原名:蒋文胜)简体PDF(扫描版)2016-12-10简介
+ +

◇军事 / 近代军事史 / 鸦片战争

+ + + + + + +
中文书名作者文件类型上传日期备注
天朝的崩溃
——鸦片战争再研究
茅海建简体MOBI(第2版)
简体EPUB(第1版)
简体MOBI(第1版)
简体PDF(第1版 扫描版)
2017-05-09
2017-05-09
2017-08-14
2020-11-22
简介
那一次,我们挨打了
——中英第一次鸦片战争全景解读
端木赐香 (原名:李桂枝)简体TXT2015-07-12简介
这一次,我们又挨打了
——中英第二次鸦片战争始末
端木赐香 (原名:李桂枝)简体PDF2015-07-12简介
+ +

◇军事 / 近代军事史 / 南北战争

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
火的考验
——美国南北战争及重建南部
Ordeal By Fire
——The Civil War and Reconstruction
(美) 詹姆斯·麦克弗森简体PDF(扫描版)2017-02-20简介
美国内战The Civil War
——An Illustrated History
(美) 乔弗里·瓦德简体TXT2016-05-15简介
+ +

◇军事 / 古代军事史

+ +

◇军事 / 古代军事史 / 古希腊

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
伯罗奔尼撒战争史History of the Peloponnesian War(古希腊) 修昔底德简体PDF(2册本 扫描版)
简体EPUB
简体TXT
英文PDF(精装版)
英文PDF(共3卷 扫描版)
2014-07-27
2015-02-13
2016-05-01
2018-08-08
2020-01-21
简介
历史
其它中文名:
希波战争史
The Histories(古希腊) 希罗多德简体PDF(扫描版)
英文EPUB
2017-08-11
2020-01-21
简介
亚历山大远征记Anabasis Alexandri(古罗马) 阿利安简体PDF
简体PDF(扫描版)
英文EPUB
2013-02-07
2015-07-18
2018-08-08
简介
牛津通识读本:特洛伊战争The Trojan War
——A Very Short Introduction
(美) 埃里克·克莱因英文EPUB2020-03-24简介
+ +

◇军事 / 古代军事史 / 古罗马

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
高卢战记Commentaries on the Gallic War(古罗马) 尤利乌斯·凯撒简体PDF(扫描版)
简体HTML
简体MOBI
简体TXT
2015-07-11
2014-06-22
2015-02-08
2016-04-30
简介
内战记Commentaries on the Civil War(古罗马) 尤利乌斯·凯撒简体PDF(扫描版)
简体HTML
2015-07-11
2014-06-22
简介
战略之父
——汉尼拔的军事生涯
Father of Strategy
——The Military Life of Hannibal
(美) 特雷弗·杜普伊简体PDF2013-02-05简介
汉尼拔战争N/A王乃新简体PDF(扫描版)2013-02-05简介
+ +

◇军事 / 其它军事史

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
西洋世界军事史
其它中文名:
西方历史上的决定性会战及其影响
A Military History of the Western World
其它英文名:
The Decisive Battles of the Western World and Their Influence upon History
(英) 约翰·富勒简体EPUB(共3卷)2019-11-24简介
影响人类历史进程的100场决定性战役100 Decisive Battles
——From Ancient Times to the Present
(美) 保罗·戴维斯简体PDF(扫描版)2018-08-20简介
+ +

◇军事 / 武器

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:核武器Nuclear Weapons
——A Very Short Introduction
(美) 约瑟夫·锡拉库扎英文PDF
英文MOBI
2015-12-14
2020-12-08
简介
隐形战斗机X-Planes
——Secret Planes and Secret Missions
(美) 戴维·奥利弗
(美) 迈克·瑞安
简体PDF(扫描版)2017-05-05简介
简氏枪械鉴赏指南典藏版Jane's Guns Recognition Guide理查德·琼斯
安德鲁·怀特
简体PDF(扫描版)2018-08-20简介
+ +

◇军事 / 美国

+ + + + +
中文书名英文书名作者文件类型上传日期备注
美军生存手册U.S. Army Survival Manual(美) 美国国防部简体PDF(扫描版)2017-02-19简介
+ +
+

+

★IT

+ +(IT领域的发展太快,导致书籍的生命周期变短。所以俺尽量挑选那些生命周期比较长的电子书。)
+【网盘】
+微软网盘
+BT Sync 密钥:BUPSDXFA3TP7KCMLHALRHLIX2FEJEUJFE (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇IT / 软件开发

+ +

◇IT / 软件开发 / 软件工程

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
人月神话The Mythical Man-Month
——Essays on Software Engineering
(美) Frederick Brooks简体PDF(20周年纪念版)
简体EPUB(20周年纪念版)
简体TXT(20周年纪念版)
英文PDF(20周年纪念版)
英文CHM(20周年纪念版)
2018-11-09
2013-10-20
2016-05-01
2016-12-22
2013-10-20
简介
人件Peopleware
——Productive Projects and Teams
(美) Tom Demarco
(美) Timothy Lister
简体PDF(第3版 扫描版)
简体PDF(第2版)
简体PDF(第2版 扫描版)
英文PDF(第2版)
2020-11-20
2015-11-07
2013-10-20
2013-10-20
简介
软件工程
——实践者的研究方法
Software Engineering
——A Practitioner's Approach
(美) Roger Pressman英文PDF(第8版)2018-07-29简介
代码大全
其它中文名:
軟體建構之道
Code Complete
——A Practical Handbook of Software Construction
(美) Steve McConnell简体PDF(第2版 扫描版)
英文CHM(第2版)
简体PDF(第1版)
2017-08-08
2013-10-20
2013-10-20
简介
重构
——改善既有代码的设计
Refactoring
——Improving the Design of Existing Code
(英) Martin Fowler
(美) Kent Beck
John Brant
(美) William Opdyke
Don Roberts
英文PDF(第2版)
简体PDF(第1版)
简体PDF(第1版 扫描版)
英文PDF(第1版)
英文CHM(第1版)
2020-11-20
2020-11-20
2016-12-22
2017-08-09
2013-10-20
简介
敏捷软件开发
——原则、模式与实践
Agile Software Development
——Principles, Patterns and Practices
(美) Robert Martin简体PDF(扫描版)
英文PDF
2015-11-08
2020-04-06
简介
代码整洁之道
——程序员的职业素养
Clean Code
——A Handbook of Agile Software Craftsmanship
(美) Robert Martin简体PDF(扫描版)
英文PDF
2020-11-20
2020-04-08
简介
最后期限
其它中文名:
最後期限
——專案管理101個成功法則
The Deadline
——A Novel about Project Management
(美) Tom Demarco简体PDF
英文PDF
2013-10-20
2020-04-03
简介
+ +

◇IT / 软件开发 / 编程语言

+ +(本类别放置“具体编程语言相关”的编程类电子书)
+

◇IT / 软件开发 / 编程语言 / C

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
C 程序设计语言The C Programming Language(加) Brian Kernighan
(美) Dennis Ritchie
简体PDF(第2版)
英文PDF(第2版)
英文EPUB(第2版)
2017-08-08
2015-11-07
2015-07-21
简介
C Primer PlusC Primer Plus(美) Stephen Prata简体EPUB(第6版)
英文PDF(第5版)
2020-07-09
2020-07-09
简介
C 陷阱与缺陷C Traps and Pitfalls(美) Andrew Koenig简体PDF(扫描版)
英文PDF
2015-11-15
2015-11-07
简介
The GNU C Programming TutorialThe GNU C Programming Tutorial(英) Mark Burgess英文PDF
英文WEB
2016-12-21
N/A
简介
21世纪 C 语言技巧21st Century C
——C Tips from the New School
Ben Klemens英文EPUB2015-07-21简介
+ +

◇IT / 软件开发 / 编程语言 / C++

+ + + + + + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
C++ 程序设计语言The C++ Programming Language(丹麦) Bjarne Stroustrup英文PDF(第4版)
英文PDF(特别版)
简体PDF(特别版 扫描版)
2020-04-08
2013-10-21
2013-10-29
简介
Accelerated C++Accelerated C++
——Practical Programming by Example
(美) Andrew Koenig
(美) Barbara Moo
简体PDF(扫描版)2020-07-09简介
Effective C++
——改善程序与设计的55个具体做法
Effective C++
——55 Specific Ways to Improve Your Programs and Designs
(美) Scott Meyers英文PDF(第3版)
英文CHM(第3版)
2018-08-04
2013-10-21
简介
More Effective C++
——35个改善编程与设计的有效方法
More Effective C++
——35 New Ways to Improve Your Programs and Designs
(美) Scott Meyers英文PDF
简体PDF
2013-10-21
2015-05-12
简介
Effective Modern C++
——改善 C++11 和 C++14 的42个具体做法
Effective Modern C++
——42 Specific Ways to Improve Your Use of C++11 and C++14
(美) Scott Meyers英文PDF2018-08-04简介
C++ 编程规范
——101 条规则、准则与最佳实践
C++ Coding Standards
——101 Rules, Guidelines, and Best Practices
(美) Herb Sutter
(美) Andrei Alexandrescu
英文CHM2013-10-20简介
C++ 必知必会C++ Gotchas
——Avoiding Common Problems in Coding and Design
(美) Stephen Dewhurst英文CHM2015-11-05简介
C++ Primer PlusC++ Primer Plus(美) Stephen Prata英文PDF(第5版)2018-09-11简介
C++ PrimerC++ Primer(美) Stanley Lippman
等
英文CHM(第4版)
简体PDF(第3版)
2013-10-20
2013-10-24
简介
C++ 标准库
——自修教程与参考手册
The C++ Standard Library
——A Tutorial and Reference
(德) Nicolai Josuttis英文CHM
简体PDF(扫描版)
2013-10-20
2015-05-12
简介
超越 C++ 标准库
——Boost 库导论
Beyond the C++ Standard Library
——An Introduction to Boost
Björn Karlsson英文CHM2018-08-04简介
C++ 编程思想Thinking in C++(美) Bruce Eckel英文PDF(第2版 卷1)
英文PDF(第2版 卷2)
简体PDF(第1版)
2019-03-29
2019-03-29
2018-07-20
简介
深度探索 C++ 对象模型Inside the C++ Object Model(美) Stanley Lippman英文CHM
简体PDF(扫描版)
2013-10-20
2018-08-04
简介
C++ 设计新思维
——泛型编程与设计模式之应用
Modern C++ Design
——Generic Programming and Design Patterns Applied
(美) Andrei Alexandrescu简体PDF(扫描版)
英文PDF
英文CHM
英文MOBI
2015-11-08
2018-08-04
2016-12-21
2018-08-04
简介
C++ Templates 全览C++ Templates
——The Complete Guide
(比利时) David Vandevoorde
(德) Nicolai Josuttis
简体PDF(第1版 扫描版)
英文EPUB(第2版)
英文EPUB(第1版)
英文CHM(第1版)
2020-07-09
2018-11-11
2018-08-04
2015-05-12
简介
C++ 模板元编程C++ Template Metaprogramming
——Concepts, Tools and Techniques from Boost and Beyond
(美) David Abrahams
(美) Aleksey Gurtovoy
简体PDF(扫描版)2020-07-09简介
C++ 语言的设计和演化The Design and Evolution of C++(丹麦) Bjarne Stroustrup简体PDF(扫描版)
英文PDF
2013-10-25
2018-08-04
简介
STL 源码剖析The Annotated STL Sources侯捷 (原名:侯俊杰)简体PDF(扫描版)2015-11-05简介
大规模 C++ 程序设计Large-Scale C++ Software Design(美) John Lakos简体PDF(扫描版)
英文DJVU(扫描版)
2013-10-30
2020-04-04
简介
+ +

◇IT / 软件开发 / 编程语言 / Python

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
Python 学习手册Learning Python(美) Mark Lutz英文PDF(第5版)
英文EPUB(第5版)
英文PDF(第4版)
2019-08-23
2013-10-21
2017-08-10
简介
深入 Python3Dive into Python3(美) Mark Pilgrim英文PDF
英文WEB
简体PDF
2013-10-21
N/A
2013-10-21
简介
Python CookbookPython Cookbook(美) David Beazley
(美) Brian Jones
简体PDF(第3版)
简体WEB
英文PDF(第3版)
2019-03-26
N/A
2013-10-21
简介
像计算机科学家一样思考 PythonThink Python
——How to Think Like a Computer Scientist
(美) Allen Downey简体PDF(第2版)
英文PDF(第2版)
英文WEB
2018-08-04
2015-01-11
N/A
简介
深入 PythonDive into Python(美) Mark Pilgrim英文PDF
简体PDF
2013-10-21
2013-10-21
简介
+ +

◇IT / 软件开发 / 编程语言 / Java

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
Java 编程思想Thinking in Java(美) Bruce Eckel英文PDF(第4版)
简体PDF(第4版 扫描版)
2013-10-21
2014-05-18
简介
Effective JavaEffective Java(美) Joshua Bloch简体PDF(第2版 扫描版)
英文PDF(第2版)
英文PDF(第1版)
2016-12-15
2015-11-17
2015-11-07
简介
Java 性能优化权威指南Java PerformanceCharlie Hunt
Binu John
英文PDF(第1版)2015-11-08简介
+ +

◇IT / 软件开发 / 编程语言 / JavaScript

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
JavaScript 权威指南JavaScript
——The Definitive Guide
(美) David Flanagan简体PDF(第6版 扫描版)
英文PDF(第6版)
英文CHM(第5版)
2015-11-15
2015-11-08
2016-12-21
简介
JavaScript 高级程序设计Professional JavaScript for Web Developers(美) Nicholas Zakas简体PDF(第3版 扫描版)
英文PDF(第1版)
2017-08-10
2019-03-29
简介
JavaScript 语言精粹JavaScript
——The Good Parts
(美) Douglas Crockford简体PDF(修订版 扫描版)
简体PDF(扫描版)
英文PDF
2019-03-29
2018-07-19
2016-12-21
简介
+ +

◇IT / 软件开发 / 编程语言 / Lisp

+ + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
计算机程序的构造和解释Structure and Interpretation of Computer Programs(美) Harold Abelson
(美) Gerald Jay Sussman
(美) Julie Sussman
简体PDF(第2版 扫描版)
英文PDF(第2版)
英文WEB
2015-07-20
2016-12-21
N/A
简介
程序设计方法How to Design Programs
——An Introduction to Computing and Programming
(美) Matthias Felleisen
(美) Robby Findler
(美) Matthew Flatt
(美) Shriram Krishnamurthi
英文PDF(第1版)
英文WEB(第2版)
英文WEB(第1版)
2019-07-30
N/A
N/A
简介
ANSI Common LispANSI Common Lisp(美) Paul Graham简体PDF
英文PDF
简体WEB
繁體WEB
2018-06-28
2015-01-11
N/A
N/A
简介
实用 Common Lisp 编程Practical Common Lisp(美) Peter Seibel简体PDF(扫描版)2018-06-28简介
Common Lisp
——The Language
Common Lisp
——The Language
(美) Guy Steele英文PDF(第2版)
英文PS(第2版)
英文WEB
2017-05-09
2016-12-21
N/A
简介
On Lisp
——Advanced Techniques for Common Lisp
On Lisp
——Advanced Techniques for Common Lisp
(美) Paul Graham简体PDF
英文PDF
2017-08-09
2015-01-11
简介
Lisp 之根源The Roots of Lisp(美) Paul Graham简体PS
英文PDF
简体WEB
2018-07-20
2016-12-12
N/A
简介
Lisp 的演化The Evolution of Lisp(美) Guy Steele
(美) Richard Gabriel
英文PDF2018-10-29简介
GNU Emacs Lisp 编程入门An introduction to Programming in Emacs Lisp(美) Robert J. Chassell简体PDF(扫描版)
英文PDF(版本3.10)
英文PDF(版本2.05)
2018-06-28
2015-11-17
2015-11-03
简介
Basic Lisp TechniquesBasic Lisp TechniquesDavid Cooper英文PDF2015-01-11简介
+ +

◇IT / 软件开发 / 编程语言 / Go

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
Go 程序设计语言
其它中文名:
Go 语言圣经
The Go Programming Language(美) Alan Donovan
(加) Brian Kernighan
简体PDF(第1版)
英文PDF(第1版)
2018-07-20
2020-04-02
简介
Go 入门指南The Way To Go
——A Thorough Introduction to the Go Programming Language
(比利时) Ivo Balbaert简体PDF
简体WEB
英文PDF
2019-03-30
N/A
2018-07-20
简介
Go 语言程序设计Programming in Go
——Creating Applications for the 21st Century
(英) Mark Summerfield英文PDF(第1版)2018-07-20简介
+ +

◇IT / 软件开发 / 编程语言 / Ruby

+ + + + +
中文书名英文书名作者文件类型上传日期备注
Ruby 程序设计Programming Ruby
——The Pragmatic Programmer's Guide
(美) David Thomas
(美) Andrew Hunt
英文PDF(第4版)2020-04-08简介
+ +

◇IT / 软件开发 / 编程语言 / Rust

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
Rust 程序设计语言The Rust Programming LanguageRust 开发团队英文PDF(第2版)
英文EPUB(第2版)
英文PDF(第1版)
英文EPUB(第1版)
英文WEB(第2版)
简体WEB(第2版)
2018-07-20
2018-11-09
2018-07-20
2018-11-09
N/A
N/A
简介
Rust 程序设计Programming Rust
——Fast, Safe Systems Development
(美) Jim Blandy
(美) Jason Orendorff
英文PDF(第1版 大字版)
英文EPUB(第1版 不全)
2020-04-06
2019-03-30
简介
+ +

◇IT / 软件开发 / 编程语言 / Prolog

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
Programming in Prolog
——Using the ISO Standard
Programming in Prolog
——Using the ISO Standard
(英) William Clocksin
(英) Christopher Mellish
英文PDF(第5版 扫描版)2018-07-18简介
Logic Programming with PrologLogic Programming with Prolog(英) Max Bramer英文PDF(第1版)2018-07-18简介
An Introduction to Logic Programming through PrologAn Introduction to Logic Programming through Prolog(英) Michael Spivey英文PDF2018-07-18简介
+ +

◇IT / 软件开发 / 编程语言 / (其它)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
编程之魂
——与27位编程语言创始人对话
Masterminds of Programming
——Conversations with the Creators of Major Programming Languages
Federico Biancuzzi
Shane Warden
简体PDF(扫描版)
英文PDF
2015-05-12
2020-04-02
简介
+ +

◇IT / 软件开发 / 编程范式

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
七周七语言
——理解多种编程范型
Seven Languages in Seven Weeks
——A Pragmatic Guide to Learning Programming Languages
(美) Bruce Tate简体PDF
英文PDF
2017-05-06
2018-08-04
简介
设计模式
——可复用面向对象软件的基础
Design Patterns
——Elements of Reusable Object-Oriented Software
Gang of Four (模式四人帮)简体PDF
简体PDF(扫描版)
英文CHM
2013-10-21
2018-10-29
2013-10-20
简介
Head First 设计模式Head First Design PatternsEric Freeman
Elisabeth Robson
Bert Bates
Kathy Sierra
简体PDF(扫描版)2016-12-23简介
七周七并发模型Seven Concurrency Models in Seven Weeks
——When Threads Unravel
(美) Paul Butcher简体PDF(扫描版)
英文PDF
2018-07-25
2019-07-31
简介
+ +

◇IT / 软件开发 / 算法与数据结构

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
计算机程序设计艺术The Art of Computer Programming(美) Donald Knuth (中文名:高德纳)英文DJVU(共3卷 1998套装 扫描版)2020-04-11简介
算法导论Introduction to Algorithms(美) Thomas Cormen
(美) Charles Leiserson
(美) Ronald Rivest
(美) Clifford Stein
简体PDF(第3版 扫描版)
英文PDF(第3版)
英文CHM(第2版)
2015-10-25
2013-10-21
2013-10-30
简介
算法概论Algorithms(美) Sanjoy Dasgupta
(希腊) Christos Papadimitriou
(印度) Umesh Vazirani
简体PDF(扫描版)
英文PDF
2020-04-11
2018-07-29
简介
算法设计手册
其它中文名:
算法设计指南
The Algorithm Design Manual(美) Steven Skiena英文PDF(第2版)2018-07-29简介
编程珠玑Programming Pearls(美) Jon Bentley英文PDF(第2版)
简体PDF(第2版 扫描版)
2013-10-21
2013-10-21
简介
算法心得
——高效算法的奥秘
Hacker's Delight(美) Henry Warren Jr.简体PDF(第2版 扫描版)
英文PDF(第1版 大字版)
2020-11-20
2020-07-09
简介
数学之美Beauty of Mathematics吴军简体PDF(第1版)
简体TXT(第1版)
2018-10-29
2016-05-15
简介
+ +

◇IT / 软件开发 / 调试与测试

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
软件调试修炼之道Debug It
——Find, Repair and Prevent Bugs in Your Code
(美) Paul Butcher英文PDF2020-04-06简介
软件调试的艺术The Art of Debugging with GDB, DDD and Eclipse(美) Norman Matloff
(美) Peter Salzman
简体PDF(扫描版)2020-04-10简介
+ +

◇IT / 软件开发 / 操作系统相关

+ +(本类别放置“具体操作系统相关”的编程类电子书)
+

◇IT / 软件开发 / 操作系统相关 / UNIX 与 Linux

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
UNIX 编程艺术The Art of UNIX Programming(美) Eric Raymond简体PDF(扫描版)
英文PDF
英文EPUB
英文MOBI
英文CHM
2017-05-06
2019-08-17
2018-08-04
2018-08-04
2013-10-20
简介
Linux/UNIX 设计思想Linux and the UNIX Philosophy
其它英文名:
The UNIX Philosophy
(美) Mike Gancarz英文CHM(第2版)2020-04-10简介
UNIX 环境高级编程Advanced Programming in the UNIX Environment(美) Richard Stevens
(美) Stephen Rago
简体PDF(第3版 扫描版)
简体PDF(第2版 扫描版)
英文PDF(第3版)
英文CHM(第2版)
2017-08-09
2014-05-13
2013-11-14
2013-10-21
简介
UNIX 系统编程UNIX Systems Programming
——Communication, Cocurrency and Threads
其它英文名:
Practical UNIX Programming
——A Guide to Concurrency, Communication and Multithreading
(美) Kay Robbins
(美) Steven Robbins
英文CHM2013-10-21简介
如何编写动态库How to Write Shared Libraries(美) Ulrich Drepper英文PDF2019-03-17简介
精通 Linux 设备驱动程序开发Essential Linux Device Drivers(印度) Venkateswaran简体PDF(扫描版)2015-11-06简介
+ +

◇IT / 软件开发 / 操作系统相关 / Windows

+ + + + +
中文书名英文书名作者文件类型上传日期备注
Windows 核心编程Windows via C & C++
其它英文名:
Programming Applications for Windows
(美) Jeffrey Richter英文CHM(第5版)
简体PDF(第4版)
英文CHM(第4版)
2020-04-10
2014-05-13
2013-10-21
简介
+ +

◇IT / 软件开发 / 网络相关

+ +(本类别放置“网络相关”的编程类电子书)
+

◇IT / 软件开发 / 网络相关 / C & C++

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
UNIX 网络编程
包括如下:
第1卷 套接字联网 API
第2卷 进程间通讯
UNIX Network Programming(美) Richard Stevens简体PDF(共2卷 扫描版)
英文PDF(共2卷)
英文CHM(共2卷 缺第2卷)
英文DJVU(共2卷 扫描版)
2020-11-20
2019-08-17
2013-10-20
2020-07-09
简介
ZeroMQZeroMQ
——Use ZeroMQ and Learn How to Apply Different Message Patterns
Faruk Akgul英文PDF2018-07-02简介
C++ 网络编程
包括如下:
第1卷 运用 ACE 和模式消除复杂性
第2卷 基于 ACE 和框架的系统化复用
C++ Network Programming(美) Douglas Schmidt英文CHM(共2卷)2013-10-21简介
+ +

◇IT / 软件开发 / 网络相关 / Python

+ + + + +
中文书名英文书名作者文件类型上传日期备注
Twisted Network Programming EssentialsTwisted Network Programming Essentials
——Developing With Python's Event-driven Framework
Abe Fettig
(美) Jessica McKellar
英文CHM(第1版)2016-12-22简介
+ +

◇IT / 软件开发 / Web 相关

+ +

◇IT / 软件开发 / Web 相关 / 架构设计

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
RESTful Web ServicesRESTful Web Services(美) Leonard Richardson
(美) Sam Ruby
英文PDF
英文EPUB
英文WEB
2016-12-22
2017-05-06
N/A
简介
RESTful Web Services CookbookRESTful Web Services Cookbook(美) Subbu Allamaraju简体PDF
英文PDF
2018-06-28
2017-08-09
简介
+ +

◇IT / 软件开发 / Web 相关 / 服务端框架

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
Ruby on Rails 教程Ruby on Rails Tutorial
——Learn Web Development with Rails
(美) Michael Hartl英文EPUB(第4版)2020-04-09简介
Django 基础教程Tango with Django
——A Beginner's Guide to Web Development with Django
其它英文名:
Tango with Django
——Learn Web Development with Python and Django
Leif Azzopardi
David Maxwell
英文PDF(Django 1.9)
英文WEB
2020-04-09
N/A
简介
+ +

◇IT / 软件开发 / 硬件相关

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
编码
——隐匿在计算机软硬件背后的语言
Code
——The Hidden Language of Computer Hardware and Software
(美) Charles Petzold简体PDF(扫描版)
英文PDF
2017-08-08
2019-08-17
简介
每个程序员都应该了解的内存知识What Every Programmer Should Know About Memory(美) Ulrich Drepper英文PDF2017-08-10简介
+ +

◇IT / 软件开发 / (其它)

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
程序员修炼之道
——从小工到专家
Pragmatic Programmers
——From Journeyman to Master
(美) Andrew Hunt
(美) David Thomas
简体PDF(扫描版)
简体PDF(扫描版)
简体TXT
英文PDF
2017-08-09
2013-10-21
2016-05-01
2013-10-19
简介
约耳趣谈软体Joel on Software(美) Joel Spolsky英文EPUB
英文CHM
2015-01-11
2016-12-22
简介
软件随想录More Joel on Software(美) Joel Spolsky简体PDF(扫描版)
英文PDF
2015-02-17
2015-01-11
简介
程序员应该知道的97件事97 Things Every Programmer Should Know
——Collective Wisdom from the Experts
(英) Kevlin Henney (主编)英文PDF
英文EPUB
2018-07-02
2020-04-08
简介
编程人生
——15位软件先驱访谈录
Coders at Work
——Reflections on the Craft of Programming
(美) Peter Seibel英文PDF2015-11-08简介
代码阅读方法与实践Code Reading
——The Open Source Perspective
(希腊) Diomidis Spinellis简体PDF(扫描版)
英文CHM
2015-11-03
2020-04-04
简介
+ +

◇IT / 黑客文化与开源文化

+ +(考虑到“黑客”一词已经被严重误解,俺单独放一个目录介绍黑客文化。希望大伙儿搞清楚:“黑客/Hacker”与“骇客/Cracker”是有天壤之别的)
+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
自由软件,自由社会
——理查德·斯托曼选集
Free Software, Free Society
——Selected Essays of Richard M. Stallman
(美) Richard Stallman简体PDF(第3版)
简体EPUB(第3版)
英文PDF(第3版)
简体WEB(第3版)
2019-03-14
2019-03-14
2019-03-14
N/A
简介
大教堂与集市
其它中文名:
大教堂和市集
黑客五部曲
包括如下:
黑客文化简史
大教堂和集市
如何成为一名黑客
开拓智域
魔法大锅炉
The Cathedral and the Bazaar(美) Eric Raymond简体PDF
简体EPUB
简体MOBI
英文PDF
2013-10-20
2015-12-25
2015-12-25
2020-04-09
简介
黑客与画家Hackers and Painters
——Big Ideas from the Computer Age
(美) Paul Graham简体PDF(扫描版)
简体EPUB
简体MOBI
简体TXT
英文PDF
英文EPUB
2013-04-06
2013-10-20
2014-02-23
2016-04-29
2017-08-08
2020-04-04
简介
黑客
——计算机革命的英雄
Hackers
——Heroes of the Computer Revolution
(美) Steven Levy简体PDF(25周年纪念版 扫描版)
简体MOBI(25周年纪念版)
简体EPUB
英文PDF
2014-01-28
2015-07-20
2015-07-20
2015-05-12
简介
若为自由故
——自由软件之父理查德·斯托曼传
Free as in Freedom
——Richard Stallman's Crusade for Free Software
(美) Sam Williams简体TXT(第2版)
英文PDF(第2版)
英文PDF(第1版)
英文WEB(第1版)
2019-03-09
2016-12-21
2019-08-01
N/A
简介
乐者为王
——自由软件 Linux 之父李纳斯·托沃兹自述
其它中文名:
只是为了好玩
——Linux 之父林纳斯自传
Just for Fun
——The Story of an Accidental Revolutionary
(芬兰/美) Linus Torvalds简体EPUB
简体PDF(扫描版)
英文EPUB
2015-11-15
2016-12-12
2019-08-01
简介
线上幽灵
——世界头号黑客米特尼克自传
Ghost in the Wires
——My Adventures as the World's Most Wanted Hacker
(美) Kevin Mitnick简体PDF(扫描版)
英文PDF
2020-04-09
2019-08-03
简介
自由文化Free Culture
——How Big Media Uses Technology and the Law to Lock Down Culture and Control Creativity
(美) Lawrence Lessig英文PDF2015-12-09简介
制造开源软件
——如何成功运营自由软件项目
Producing Open Source Software
——How to Run a Successful Free Software Project
Karl Fogel简体EPUB
英文EPUB
英文PDF
简体WEB
英文WEB
2016-12-21
2016-12-21
2017-05-06
N/A
N/A
简介
+ +

◇IT / 信息安全

+ +(俺在博客上写了不少信息安全的扫盲教程,如果不分享几本相关的书,实在说不过去啊)
+

◇IT / 信息安全 / 社会工程学

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
欺骗的艺术
其它中文名:
反欺骗的艺术
——世界传奇黑客的经历分享
The Art of Deception
——Controlling the Human Element of Security
(美) Kevin Mitnick简体PDF
简体EPUB
简体MOBI
英文PDF
2013-10-20
2015-07-17
2015-02-09
2013-10-20
简介
社会工程
——安全体系中的人性漏洞
Social Engineering
——The Art of Human Hacking
其它英文名:
Social Engineering
——The Science of Human Hacking
(美) Christopher Hadnagy英文PDF(第2版)
英文PDF(第1版)
2020-04-02
2020-04-02
简介
+ +

◇IT / 信息安全 / 密码学

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
密码学原理与实践Cryptography
——Theory and Practice
(加) Douglas Stinson简体PDF(第2版 扫描版)
英文CHM
2013-10-21
2013-10-30
简介
应用密码学
——协议、算法与 C 源程序
Applied Cryptography
——Protocols, Algorithms, and Source Code in C
(美) Bruce Schneier简体PDF(第2版 扫描版)
英文EPUB(第2版)
英文PDF(第2版)
2013-11-26
2015-07-21
2013-10-21
简介
密码编码学与网络安全
——原理与实践
Cryptography and Network Security
——Principles and Practice
(美) William Stallings英文PDF(第5版)
英文PDF(第4版)
简体PDF(第3版 扫描版)
2013-11-18
2019-03-25
2013-11-18
简介
+ +

◇IT / 信息安全 / 安全加固

+ + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
Windows 7 安全指南N/AN/A简体PDF(扫描版)2014-02-13简介
Debian 官方安全手册Securing Debian ManualN/A英文PDF(文档版本3.17)
英文WEB
2015-07-21
N/A
简介
Fedora 官方 wiki 安全特性Security FeaturesN/A英文WEBN/AN/A
RHEL 官方安全手册Red Hat Enterprise Linux Security Guide
其它英文名:
Red Hat Enterprise Linux Security Hardening
N/A英文PDF(RHEL8)
英文PDF(RHEL7)
英文PDF(RHEL6)
2020-07-09
2018-10-30
2014-02-22
简介
CentOS 官方安全指南OS ProtectionN/A英文WEBN/AN/A
Ubuntu 桌面版官方安全手册Basic Ubuntu Security Guide, Desktop EditionN/A英文WEBN/AN/A
openSUSE 官方安全手册openSUSE Leap Security GuideN/A英文WEBN/AN/A
Arch Linux 官方安全手册Security
——Recommendations and Best Practices for Hardening an Arch Linux System
N/A英文WEBN/AN/A
Gentoo 官方安全手册Gentoo Security HandbookN/A英文WEBN/AN/A
+ +

◇IT / 信息安全 / 入侵与渗透测试

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
入侵的艺术The Art of Intrusion
——The Real Stories Behind the Exploits of Hackers, Intruders and Deceivers
(美) Kevin Mitnick简体PDF(扫描版)
简体EPUB
英文PDF
2014-02-04
2015-07-17
2014-01-09
简介
黑客之道
——漏洞发掘的艺术
Hacking
——The Art of Exploitation
(美) Jon Erickson英文PDF(第2版)
英文CHM(第1版)
2018-07-29
2019-08-02
简介
灰帽攻击安全手册
——渗透测试与漏洞分析技术
Gray Hat Hacking
——The Ethical Hacker's Handbook
Allen Harper
等
英文PDF(第3版)
英文PDF(第2版)
简体PDF(第1版)
2018-07-25
2019-03-24
2018-11-09
简介
黑客攻防技术宝典
——Web 实战篇
The Web Application Hacker's Handbook
——Finding and Exploiting Security Flaws
(英) Dafydd Stuttard (网名:PortSwigger)
(英) Marcus Pinto
英文PDF(第2版)2019-03-24简介
Shellcoder 编程揭秘Shellcoder's Programming Uncovered(俄) Kris Kaspersky简体PDF(扫描版)2018-07-25简介
Shellcoder 手册
——发现和利用安全漏洞
The Shellcoder's Handbook
——Discovering and Exploiting Security Holes
(多人)英文PDF(第2版)
英文CHM(第1版)
2019-03-18
2019-03-18
简介
内核漏洞的利用与防范A Guide to Kernel Exploitation
——Attacking the Core
(美) Enrico Perla
(美) Massimiliano Oldani
英文PDF(第1版)2018-07-29简介
+ +

◇IT / 信息安全 / 破解与逆向工程

+ + + + +
中文书名英文书名作者文件类型上传日期备注
逆向工程权威指南
其它中文名:
逆向工程入门指南
Reverse Engineering for Beginners
——Understanding Assembly Language
(乌克兰) Dennis Yurichev简体EPUB
英文PDF
2019-03-28
2018-08-04
简介
+ +

◇IT / 信息安全 / 恶意软件

+ + + + +
中文书名英文书名作者文件类型上传日期备注
恶意代码分析实战Practical Malware Analysis
——The Hands-On Guide to Dissecting Malicious Software
(美) Michael Sikorski
(美) Andrew Honig
英文PDF2020-04-11简介
+ +

◇IT / 信息安全 / 编程语言相关

+ +(本目录下放的是“信息安全”相关的编程书籍,按【语言】归类)
+

◇IT / 信息安全 / 编程语言相关 / C & C++

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
C 语言安全编程规范SEI CERT C Coding Standard(美) CERT/CC英文PDF(2016版)2019-04-02简介
C++ 语言安全编程规范SEI CERT C++ Coding Standard(美) CERT/CC英文PDF(2016版)2019-04-02简介
+ +

◇IT / 信息安全 / 编程语言相关 / Python

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
Python 灰帽子
——黑客与逆向工程师的 Python 编程之道
Gray Hat Python
——Python Programming for Hackers and Reverse Engineers
(加) Justin Seitz英文PDF2018-07-29简介
Python 黑帽子
——黑客与渗透测试编程之道
Black Hat Python
——Python Programming for Hackers and Pentesters
(加) Justin Seitz英文PDF2019-03-28简介
Python 绝技
——运用 Python 成为顶级黑客
Violent Python
——A Cookbook for Hackers, Forensic Analysts, Penetration Testers and Security Engineers
(美) TJ O'Connor简体PDF(第1版)
英文PDF(第1版)
英文EPUB(第1版)
2018-07-29
2019-08-02
2015-07-21
简介
+ +

◇IT / 操作系统

+ +

◇IT / 操作系统 / 使用教程

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
Shell 脚本学习指南Classic Shell Scripting(美) Arnold Robbins
(美) Nelson Beebe
简体PDF(扫描版)
英文PDF
2014-05-18
2019-03-25
简介
Linux 与 UNIX Shell 编程指南Linux and UNIX Shell ProgrammingDavid Tansley简体PDF(扫描版)2013-12-06简介
高级 Bash 脚本编程指南Advanced Bash-Scripting GuideMendel Cooper简体EPUB(文档版本 10.0)
英文PDF(文档版本 10.0)
英文PDF(文档版本 6.6)
英文WEB
2019-07-15
2019-07-15
2019-03-25
N/A
简介
Linux 命令行大全The Linux Command Line
——A Complete Introduction
William Shotts简体MOBI
英文PDF(文档版本 19.01)
2020-04-10
2019-11-18
简介
鸟哥的 Linux 私房菜N/A鸟哥简体PDF
简体MOBI
2013-12-06
2015-11-08
简介
Linux 从入门到精通N/AN/A简体PDF(第1版 扫描版)2013-12-06简介
+ +

◇IT / 操作系统 / 操作系统原理

+ +

◇IT / 操作系统 / 操作系统原理 / (综述)

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
操作系统
——设计与实现
Operating Systems
——Design and Implementation
(美) Andrew Tanenbaum
(美) Albert Woodhull
英文PDF(第3版)2016-12-15简介
现代操作系统Modern Operating Systems(美) Andrew Tanenbaum英文PDF(第4版)
英文PDF(第2版 扫描版)
2015-11-17
2015-11-08
简介
+ +

◇IT / 操作系统 / 操作系统原理 / UNIX

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
UNIX 操作系统设计The Design of the UNIX Operating System(德) Maurice Bach简体PDF(扫描版)
英文PDF
2013-10-21
2015-05-12
简介
莱昂氏 UNIX 源代码分析A Commentary on the Sixth Edition UNIX Operating System(澳大利亚) John Lions英文PDF2018-08-03简介
+ +

◇IT / 操作系统 / 操作系统原理 / Linux

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
Linux 内核设计与实现
其它中文名:
精通 Linux 核心開發
——設計與實作 Linux 核心的權威指南
Linux Kernel Development
——A Thorough Guide to the Design and Implementation of the Linux Kernel
(美) Robert Love英文PDF2020-04-10简介
深入理解 Linux 内核Understanding the Linux KernelDaniel Bovet
Marco Cesati
英文PDF(第3版)
英文CHM(第3版)
2013-12-06
2013-10-21
简介
+ +

◇IT / 操作系统 / 操作系统原理 / Windows

+ + + + +
中文书名英文书名作者文件类型上传日期备注
深入解析 Windows 操作系统
其它中文名:
Windows 内部揭密
Windows Internals(西班牙) Mark Russinovich
David Solomon
Alex Ionescu
英文PDF(第6版 上下册)
英文PDF(第5版)
英文PDF(第4版)
简体PDF(第4版 扫描版)
2019-04-13
2018-08-03
2018-08-03
2018-11-09
简介
+ +

◇IT / 网络

+ +

◇IT / 网络 / (综述)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
计算机网络Computer Networks(美) Andrew Tanenbaum
(美) David Wetherall
简体PDF(第5版 扫描版)
英文PDF(第5版)
英文CHM(第4版)
2018-08-04
2015-01-11
2020-04-02
简介
+ +

◇IT / 网络 / 网络协议

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
TCP-IP 详解
包括如下:
第1卷 协议
第2卷 实现
第3卷 TCP 事务协议,HTTP,NNTP 和 UNIX 域协议
TCP-IP Illustrated(美) Richard Stevens简体PDF(共3卷)
英文CHM(共3卷 缺第3卷)
2013-10-26
2020-07-09
简介
HTTP 权威指南HTTP
——The Definitive Guide
David Gourley
Brian Totty
Marjorie Sayer
Sailu Reddy
Anshu Aggarwal
简体PDF(扫描版)
英文PDF
2018-06-28
2018-11-09
简介
+ +

◇IT / 网络 / 分布式

+ +

◇IT / 网络 / 分布式 / (综述)

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
分布式系统
——概念与设计
Distributed Systems
——Concepts and Design
(英) George Coulouris
(英) Jean Dollimore
(英) Tim Kindberg
(英) Gordon Blair
简体PDF(第5版 扫描版)
英文PDF(第5版)
2019-08-17
2018-11-02
简介
分布式系统
——原理与范型
Distributed Systems
——Principles and Paradigms
(美) Andrew Tanenbaum
(荷兰) Maarten van Steen
英文PDF(第2版 扫描版)2018-11-06简介
设计分布式系统
——可扩展服务的模式和范式
Designing Distributed Systems
——Patterns and Paradigms for Scalable, Reliable Services
Brendan Burns英文PDF2018-11-06简介
Distributed Systems for Fun and ProfitDistributed Systems for Fun and ProfitMikito Takada英文EPUB
英文WEB
2018-11-06
N/A
简介
分布式计算的八大误区Fallacies of Distributed Computing(美) Laurence Peter Deutsch英文WEBN/AN/A
+ +

◇IT / 网络 / 分布式 / 一致性

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
CAP 定理CAP Theorem(美) Eric Brewer英文WEB
英文PDF
N/A
2018-11-08
简介
CAP 理论十二年回顾
——“规则”变了
CAP Twelve Years Later
——How the "Rules" Have Changed
(美) Eric Brewer英文WEB
简体WEB
英文PDF
N/A
N/A
2018-11-08
简介
+ +

◇IT / 网络 / 分布式 / 容错性

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
面对软件错误,如何构建可靠的分布式系统Making Reliable Distributed Systems in the Presence of Software Errors(英) Joe Armstrong英文PDF2018-11-08简介
拜占庭将军问题Byzantine Generals Problem(美) Leslie Lamport英文WEB
英文PDF(扫描版)
N/A
2018-11-08
简介
+ +

◇IT / 网络 / 分布式 / DHT(分布式哈希表)

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
Chord
——用于互联网应用的可扩展 P2P 查询服务
Chord
——A Scalable Peer-to-peer Lookup Service for Internet Applications
(美) Ion Stoica
(美) Robert Morris
(美) David Karger
(荷兰) Frans Kaashoek
(印度) Hari Balakrishnan
英文PDF2018-11-04简介
Kademlia
——基于异或运算的 P2P 信息系统
Kademlia
——A Peer-to-peer Information System Based on the XOR Metric
(保加利亚) Petar Maymounkov
David Mazières
英文PDF2018-11-04简介
DHT 安全技术纵览A Survey of DHT Security TechniquesGuido Urdaneta
Guillaume Pierre
(荷兰) Maarten van Steen
英文PDF2018-11-08简介
+ +

◇IT / 网络 / 分布式 / 区块链

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
比特币
——一种点对点式的电子现金系统
其它中文名:
比特币白皮书
Bitcoin
——A Peer-to-Peer Electronic Cash System
Satoshi Nakamoto英文PDF
简体PDF
2019-03-27
2019-03-27
简介
区块链启示录
——中本聪文集
The Book of Satoshi
——The Collected Writings of Bitcoin Creator Satoshi Nakamoto
(美) Phil Champagne简体PDF
英文EPUB
2019-03-27
2020-04-04
简介
+ +

◇IT / 网络 / 分布式 / DFS(分布式文件系统)

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
Google 文件系统The Google File System(美) Sanjay Ghemawat
(美) Howard Gobioff
Shun-Tak Leung
英文PDF2018-11-05简介
IPFS
——内容寻址的版本化点对点文件系统
其它中文名:
IPFS 白皮书
IPFS
——Content Addressed, Versioned, P2P File System
(美) Juan Benet英文PDF2019-05-08简介
+ +

◇IT / 数据库

+ +

◇IT / 数据库 / (综述)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
数据库系统概念Database System Concepts(以色列) Abraham Silberschatz
(美) Hank Korth
(印度) S. Sudarshan
英文PDF(第6版)2020-04-11简介
+ +

◇IT / 数据库 / SQL

+ + + + +
中文书名英文书名作者文件类型上传日期备注
SQL 学习指南Learning SQL(美) Alan Beaulieu英文PDF(第2版)
英文CHM(第1版)
2020-04-11
2020-04-11
简介
+ +

◇IT / 人工智能

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
失控
——全人类的最终命运和结局
Out of Control
——The New Biology of Machines, Social Systems, and the Economic World
(美) 凯文·凯利简体EPUB
简体MOBI
英文PDF
2014-01-09
2018-11-10
2015-01-11
简介
人工智能
——一种现代的方法
Artificial Intelligence
——A Modern Approach
(美) Stuart Russell
(美) Peter Norvig
英文PDF(第3版)2018-09-11简介
奇点临近The Singularity Is Near
——When Humans Transcend Biology
(美) 雷·库兹韦尔简体PDF
英文PDF
2017-03-30
2017-05-09
简介
+ +

◇IT / IT 公司

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
In the Plex
——Google 如何思考,运作,以及改变我们的生活方式
In The Plex
——How Google Thinks, Works and Shapes Our Lives
(美) Steven Levy简体PDF
英文PDF
英文EPUB
2015-05-12
2015-07-15
2020-04-03
简介
重新定义公司
——谷歌是如何运营的
How Google Works(美) Eric Schmidt
(美) Jonathan Rosenberg
简体EPUB
简体MOBI
2020-04-06
2020-04-06
简介
浪潮之巅On Top of Tides吴军简体PDF(前18章)
简体MOBI(前16章)
2013-10-22
2014-02-23
简介
Facebook 效应The Facebook Effect
——The Inside Story of the Company that is Connecting the World
(美) David Kirkpatrick简体PDF(扫描版)
简体EPUB
简体MOBI
英文EPUB
2018-07-24
2019-01-06
2019-01-06
2020-04-03
简介
微软的秘密Microsoft Secrets
——How the World's Most Powerful Software Company Creates Technology, Shapes Markets and Manages People
(美) Michael Cusumano简体PDF
简体PDF(扫描版)
2017-04-02
2018-07-20
简介
谁说大象不能跳舞?
——IBM 董事长郭士纳自传
Who Says Elephants Can't Dance?
——Leading a Great Enterprise through Dramatic Change
(美) Louis Gerstner Jr.简体PDF
英文PDF
2017-08-08
2020-04-03
简介
Borland 传奇N/A李维简体PDF
简体EPUB
简体CHM
2015-02-08
2015-02-08
2013-10-22
简介
Doom 启世录Masters of Doom
——How Two Guys Created an Empire and Transformed Pop Culture
(美) David Kushner简体PDF
简体EPUB
简体MOBI
简体CHM
英文PDF
2015-02-08
2015-02-08
2015-02-08
2013-11-26
2020-04-03
简介
+ +

◇IT / (其它)

+ + + + +
中文书名作者文件类型上传日期备注
暗时间
——刘未鹏博文集
刘未鹏简体EPUB2015-05-12简介
+ +
+

+ + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/__\346\211\200\346\234\211\347\224\265\345\255\220\344\271\246\347\233\256\345\275\225\347\232\204\345\257\206\351\222\245__.txt" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/__\346\211\200\346\234\211\347\224\265\345\255\220\344\271\246\347\233\256\345\275\225\347\232\204\345\257\206\351\222\245__.txt" new file mode 100644 index 0000000000000000000000000000000000000000..d34d1ed9559669f77b1e0d1ff2e0646abb356eae --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/IT\357\274\210\344\277\241\346\201\257\346\212\200\346\234\257\357\274\211/__\346\211\200\346\234\211\347\224\265\345\255\220\344\271\246\347\233\256\345\275\225\347\232\204\345\257\206\351\222\245__.txt" @@ -0,0 +1,29 @@ +以下是【编程随想电子图书馆】所有目录的 BT Sync 密钥。 +通过这几个密钥,你可以用 BT Sync 自动同步到每一个目录包含的【所有】电子书。 +俺会时常更新。每次更新后,BT Sync 会自动把【新增的】电子书同步到你的硬盘。 + +BRSSYZTSAC6UGYTUOJ22L4GCO7QESPPBD 政治 +BNZ6DOA6W577O6GUNH7C3MY6DWC6FTDQB 心理学 +BSH7FXJFVWJTKWGSX5GTWX7PHZZ2D2M7Q 历史 +B2FRYA6AXCDW6CF4YJVFWKH2HAXOFICOX 经济 +B3WNBTAAFFAODFR6FQ3E3L5BBSJAFNBSJ 管理 +BZR4TTYHT25QWUIE6YNMAKWUGBHKSGLC6 社会学 +BMBB5YLBIJJAE5H6TP27OS7YCEUKCYHZK 文艺 +B6WWVBXPMZDI5IL4KED6AAHA5FO4UNKQF 哲学 +BKKORLE67ZDUHGHVWAVSRK3N5I7BXLCED 科普 +BMWWZALG4P56LREF47EE2WSWHZEM4E6BL 军事 +BUPSDXFA3TP7KCMLHALRHLIX2FEJEUJFE IT + + +关于 BT Sync 的扫盲教程,参见以下链接 +https://program-think.blogspot.com/2015/01/BitTorrent-Sync.html + +以下页面是【所有电子书】的清单。 +清单中包含每本书的“中文名、英文名、作者、添加日期、简介”。 +https://github.com/programthink/books + + +除了上面“电子图书馆”那几个目录,下面这2个目录,你可能也会感兴趣。 + +BTLZ4A4UD3PEWKPLLWEOKH3W7OQJKFPLG 翻墙软件(包含常见的翻墙软件,时常更新) +B7P64IMWOCXWEYOXIMBX6HN5MHEULFS4V “博客离线浏览”以及“博客电子书制作脚本” diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/sync/.sync/FolderType" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/sync/.sync/FolderType" new file mode 100644 index 0000000000000000000000000000000000000000..d3cc99f63e83a0dcca93eea1be1375216da7c42a --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/sync/.sync/FolderType" @@ -0,0 +1 @@ +d8:brandingi0e31:disable_remove_from_all_devicesi0e4:modei0e5:owner5:linji4:typei1ee \ No newline at end of file diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/sync/.sync/ID" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/sync/.sync/ID" new file mode 100644 index 0000000000000000000000000000000000000000..198d17a205441ff0923ea72d0f49cf5e1be108b4 --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/sync/.sync/ID" @@ -0,0 +1 @@ +_Êݠ‹ëN÷õnLâ#¨ÜoEB¥øÎõ³1ˆ@` \ No newline at end of file diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/sync/.sync/IgnoreList" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/sync/.sync/IgnoreList" new file mode 100644 index 0000000000000000000000000000000000000000..e14e7c18dcae88d48102257baad1b38c3604f50e --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/sync/.sync/IgnoreList" @@ -0,0 +1,54 @@ +# IgnoreList is a UTF-8 encoded .txt file that helps you specify single files, paths and rules +# for ignoring during the synchronization job. It supports "?" and "*" wildcard symbols. +# +# +# OS generated files # +$RECYCLE.BIN +$Recycle.Bin +System Volume Information +ehthumbs.db +desktop.ini +Thumbs.db +lost+found +.DocumentRevisions-V100 +.TemporaryItems +.fseventsd +.icloud +.iCloud +.DS_Store +.DS_Store? +.Spotlight-V100 +.Trashes +.Trash-* +.trashed-* +~* +*~ +.~lock.* +*.part +*.filepart +.csync_journal.db +.csync_journal.db.tmp +*.swn +*.swp +*.swo +*.crdownload +.@__thumb +.thumbnails +._* +*.tmp +*.tmp.chck +.dropbox +.dropbox.attr +.dropbox.cache +.streams +.caches +.Statuses +.teamdrive +.SynologyWorkingDirectory +@eaDir +@SynoResource +#SynoRecycle +#snapshot +#recycle +.!@#$recycle +DfsrPrivate diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/sync/.sync/StreamsList" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/sync/.sync/StreamsList" new file mode 100644 index 0000000000000000000000000000000000000000..4a6cf5685859df716e4321c41bacfc11be5ba55f --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/sync/.sync/StreamsList" @@ -0,0 +1,8 @@ +# StreamsList is a UTF-8 encoded .txt file that helps you specify alternate streams, +# xattrs and resource forks white list. It supports "?" and "*" wildcard symbols. +# +# +# +com.apple.metadata:_kMDItemUserTags +com.apple.ResourceFork +com.apple.metadata:kMDItemFinderComment diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/sync/.sync/root_acl_entry" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/sync/.sync/root_acl_entry" new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/sync/__\346\211\200\346\234\211\347\224\265\345\255\220\344\271\246\347\232\204\346\270\205\345\215\225__.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/sync/__\346\211\200\346\234\211\347\224\265\345\255\220\344\271\246\347\232\204\346\270\205\345\215\225__.html" new file mode 100644 index 0000000000000000000000000000000000000000..d1b571c924867d3bb6e74ce29bf503f4d6966e68 --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/sync/__\346\211\200\346\234\211\347\224\265\345\255\220\344\271\246\347\232\204\346\270\205\345\215\225__.html" @@ -0,0 +1,2712 @@ + + + + + + +编程随想的电子书清单 + + +

电子书总目录 (频繁更新)

+ +
+ +

下载须知 及 格式说明

+ +

更新通知

+ +这里汇总了俺收藏的各类电子书(不断增加中)。俺每隔几个月会在博客上通知大伙儿,近期更新了哪些书。俺博客的网址是:https://program-think.blogspot.com/
+因为俺博客在【墙外】,并且长期遭到 GFW 封锁,建议用博客阅读器(比如 Feedly)进行订阅,以获取电子书更新的通知。博客的订阅地址是:https://feeds2.feedburner.com/programthink + +

下载说明

+ +目前俺使用两种方式提供电子书的下载,分别是:
+● 用 BT Sync 自动同步(该软件如今改名叫“Resilio Sync”)
+● 微软网盘(也叫做“OneDrive”)
+
+俺强烈推荐大伙儿使用【BT Sync 方式】。它的好处至少包括如下:
+● 它可以【自动同步】电子书,省得你一个一个去下载
+● 它不依赖任何服务器,没有任何流量限制(相比之下,微软网盘如果同时有很多人在下载,可能会报错)
+● 它不依赖任何服务器,也就没有空间限制(相比之下,俺的微软网盘帐号,容量限制是 25GB)
+● 它不依赖任何服务器,也就没有任何审查
+● 它支持【免翻墙】进行同步(具体如何操作,参见下面的说明)
+
+

关于“BT Sync / Resilio Sync”的补充说明

+ +首选,你需要安装 BTSync(ResilioSync)软件。它的【官网】下载链接是:https://www.getsync.com/
+要使用 BT Sync(Resilio Sync)同步电子书,你需要在主界面上添加相应的密钥(密钥写在本页面【每个大类】的标题下方)。关于 BT Sync 的扫盲教程,请参见“这篇博文”。
+BT Sync 从“1.4 版本”一直到“目前最新版本”,都可以用来同步俺的电子书。早期的 1.4.x 版本支持【DHT 功能】,可以在墙内【免翻墙】使用。2.0 之后的版本【不】再支持 DHT,无法享受这一好处。
+(关于 DHT 功能如何开启,请翻墙打开“这篇博文”)
+

关于“微软网盘”的补充说明

+ +● 微软网盘支持批量下载,可以把某个目录的电子书压缩成 zip 格式一起下载。具体操作请仔细看网盘界面。
+● 微软网盘的 Web 页面需要依赖 Java Script 脚本,如果你的浏览器禁用了 JavaScript 会导致无法下载。
+● 微软网盘的服务器在【墙外】,有时候可能会被 GFW 封杀。如果你无法打开微软网盘的页面,请尝试【翻墙】。
+
+

其它和“下载”相关问题

+ +下载或阅读过程中,如果还碰到其它问题搞不定,可以使用 GitHub 的 issue 给俺反馈。
+使用 issue 的规范参见这里。
+

电子书格式说明

+ +

PDF 格式

+ +俺共享的 PDF 格式电子书, 无需密码 即可阅读。如果你无法打开 PDF 文件或者打开过程中提示输入密码,那应该是你的 PDF 阅读器 版本不够新 。
+用如下几款软件可以正常阅读:
+● Sumatra PDF 2.0 或者更高版本(绿色软件,除了支持 PDF,还支持其它格式,强烈推荐使用)
+● Foxit Reader 3.1.0 或者更高的版本(绿色软件,推荐使用)
+● PDF-XChange Viewer 2.0 或者更高版本(绿色软件,推荐使用)
+● Acrobat Reader 7.0 或者更高版本(Acrobat Reader 太臃肿,不推荐)
+● 如果你使用 Chrome 浏览器,把 PDF 文件直接拖到 Chrome 窗口里,就可以看
+● 如果你使用 Firefox 浏览器(19.0 或者更高版本),把 PDF 文件直接拖到 Firefox 窗口里,就可以看
+
+

EPUB 格式

+ +这种格式主要是面向移动设备(手机、平板),不过也可以在 PC 上阅读。
+EPUB 的阅读软件很多,而且各个平台(Windows、Linux、Mac OS)都有。维基百科的这个页面列出了常用的 EPUB 格式阅读软件。
+

MOBI & AZW 格式

+ +这几种格式主要面向亚马逊的 Kindle 平板,不过也可以在 PC 上阅读。前面提到的 Sumatra PDF 支持这些格式。
+

CHM 格式

+ +如果你用 Windows 系统无法正常查看 CHM 电子书,请按照如下步骤设置,就可以正常打开了。
+1. 在资源管理器中,选中该 CHM 文件
+2. 点右键,在右键菜单里选“属性”
+3. 弹出“属性对话框”
+4. 在属性对话框中,点“解除锁定”钮
+
+用 Mac OS 的同学,可以考虑用 Chmox 或 iCHM 打开 CHM 电子书;
+用 Linux 系统的同学,可以考虑用 CHM Viewer 打开 CHM 电子书。
+

HTML 格式

+ +HTML 格式的电子书会有多个文件,为了方便下载,压缩打包成一个 ZIP 文件。下载后请先用压缩软件解开 ZIP 压缩包,即可直接浏览 HTML 文件。
+

TXT 格式

+ +网盘上的 TXT 格式电子书均使用 UTF-8 编码保存。用 Windows 自带的记事本(Notepad)可以直接打开。如果用其它阅读软件打开出现乱码,需要在该软件的界面上切换“字符集”或“编码”,切换为 UTF-8 + +

杀毒软件误报

+ +如果你的杀毒软件报告某本书有病毒,很大可能是【误报】。为了判断到底是不是误报,可以把这本书上传到在线查毒引擎 VirusTotal 进行扫描。
+VirusTotal 隶属 Google 旗下,是全球最大的在线查毒引擎,也最权威。俺写过一篇扫盲教程,介绍该网站的使用。
+

其它与“格式”相关问题

+ +如果碰到其它跟“格式”有关的问题,你搞不定(比如某本书无法打开),可以使用 GitHub 的 issue 给俺反馈。使用 issue 的规范参见这里。
+

如何阅读书籍

+ +考虑到很多网友不善于阅读书籍, 俺强烈推荐大伙儿看一下《如何阅读一本书》 (书评&内容纲要、下载地址)。此书传授了【阅读书籍的技巧】,非常有价值。
+

+

★俺博客的离线浏览

+ +从2015年3月,俺开始用 BT Sync 提供博客上【全部内容】的离线浏览,而且是【免翻墙】哦。你可以通过如下 BT Sync 密钥,进行自动同步。
+B7P64IMWOCXWEYOXIMBX6HN5MHEULFS4V
+(BT Sync 上的内容,大约1到2星期更新一次)
+
+

+

★政治

+ +【网盘】
+微软网盘
+BT Sync 密钥:BRSSYZTSAC6UGYTUOJ22L4GCO7QESPPBD (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇政治 / 政治理论

+ +

◇政治 / 政治理论 / 民主与宪政

+ + + + + + + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
论民主On Democracy(美) 罗伯特·道尔简体PDF(第1版 扫描版)
英文PDF(第1版 扫描版)
2014-06-22
2020-01-25
简介
第三波
——20世纪后期民主化浪潮
The Third Wave
——Democratization in the Late Twentieth Century
(美) 塞缪尔·亨廷顿简体PDF(修订版)
简体PDF
简体EPUB
简体MOBI
英文EPUB
2018-09-06
2013-05-30
2019-01-04
2015-11-14
2020-01-16
简介
民主
其它中文名:
民主、民主化、去民主化及其相互依赖关系
Democracy(美) 查尔斯·蒂利简体PDF(扫描版)
英文PDF
2015-02-09
2020-01-25
简介
牛津通识读本:民主Democracy
——A Very Short Introduction
(英) 伯纳德·克里克英文PDF
英文MOBI
2015-12-11
2020-12-07
简介
牛津通识读本:公民Citizenship
——A Very Short Introduction
(英) 理查德·贝拉米英文PDF2020-03-16简介
代议制政府Considerations on Representative Government(英) 约翰·密尔简体PDF
简体PDF(扫描版)
英文PDF
2013-08-22
2019-10-26
2020-01-25
简介
社会契约论
其它中文名:
民约论
The Social Contract(法) 让-雅克·卢梭简体PDF
简体PDF(扫描版)
简体EPUB
简体MOBI
2014-01-09
2019-10-27
2017-05-06
2015-05-11
简介
论法的精神
其它中文名:
法意
The Spirit of the Laws(法) 孟德斯鸠简体PDF
简体PDF(大字版)
简体PDF(共2册 扫描版)
简体EPUB
简体MOBI
英文PDF
2014-01-09
2017-03-24
2018-12-03
2015-05-11
2015-05-11
2020-01-25
简介
联邦党人文集
其它中文名:
联邦主义者文集
美国宪法原理
The Federalist Papers(美) 亚历山大·汉密尔顿
(美) 詹姆斯·麦迪逊
(美) 约翰·杰伊
简体PDF(扫描版)
简体EPUB
简体MOBI
英文PDF
2013-11-27
2014-01-09
2015-05-11
2020-01-20
简介
控制国家
——西方宪政的历史
Controlling the State
——Constitutionalism from Ancient Athens to Today
(美) 斯科特·戈登简体PDF(扫描版)
英文PDF
2017-08-13
2020-01-20
简介
历史的终结及最后之人The End of History and the Last Man(美) 弗朗西斯·福山简体PDF
简体EPUB
英文PDF
2013-01-01
2013-09-13
2020-01-20
简介
民主的历程
——公元前508年~1993年
其它中文名:
民主
——未竟之旅,公元前508年至公元1993年
Democracy
——The Unfinished Journey, 508 BC to AD 1993
(英) 约翰·邓恩 (主编)简体PDF(扫描版)2014-06-22简介
欧洲民主史
——从孟德斯鸠到凯尔森
A History of Democracy in Europe
——From Montesquieu to 1989
(意) 萨尔沃·马斯泰罗简体PDF(扫描版)2014-07-27简介
论李维
其它中文名:
李维史论
罗马史论
论李维罗马史
Discourses on Livy(意) 尼可罗·马基亚维利简体PDF(3卷本 扫描版)
英文PDF(3卷本)
2020-03-25
2018-12-04
简介
平民政治的基本原理The Fundamental Principles of Government(美) 保罗·芮恩施简体PDF(扫描版)2013-01-14简介
宪政与权利N/A(多人)简体PDF2013-04-13简介
宪政主义
——观念与制度的转捩
N/A王怡简体PDF(扫描版)2013-05-19简介
各国民权运动史N/A董之学繁體PDF(竪排掃描版)2016-07-15简介
罗伯特议事规则Robert's Rules of Order(美) 亨利·马丁·罗伯特
等
简体MOBI(第10版)
英文EPUB(第11版)
2015-05-12
2020-01-20
简介
可操作的民主
——罗伯特议事规则下乡全纪录
N/A寇延丁
袁天鹏
简体EPUB
简体MOBI
简体PDF(扫描版)
2015-11-14
2020-11-22
2015-05-12
简介
+ +

◇政治 / 政治理论 / 自由主义

+ +(本类别的“自由主义”主要指“古典自由主义”和“自由意志主义”)
+ + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
论自由On Liberty(英) 约翰·密尔简体PDF
简体EPUB
简体MOBI
英文PDF
2013-04-14
2013-09-13
2018-11-10
2019-11-03
简介
政府论Two Treatises of Government
其它英文名:
Two Treatises of Government and A Letter Concerning Toleration
(英) 约翰·洛克简体PDF
简体EPUB
简体MOBI
简体TXT
英文PDF
2013-04-14
2013-09-13
2018-11-10
2016-05-14
2020-01-17
简介
自由论
其它中文名:
《自由四论》扩充版
Four Essays on Liberty(俄/英) 以赛亚·伯林简体PDF(扫描版)
英文PDF
2013-08-22
2013-12-15
简介
自由及其背叛
——人类自由的六个敌人
Freedom and Its Betrayal
——Six Enemies of Human Liberty
(俄/英) 以赛亚·伯林简体PDF(扫描版)
英文EPUB
2014-05-23
2019-11-03
简介
自由与繁荣的国度The Free and Prosperous Commonwealth
——An Exposition of the Ideas of Classical Liberalism
其它英文名:
Liberalism
——The Classical Tradition
Liberalism, a Socio-Economic Exposition
(奥/美) 路德维希·冯·米塞斯简体PDF(大字版)
简体PDF
简体HTML
英文PDF
2019-08-29
2016-12-23
2018-12-04
2020-01-17
简介
正义论A Theory of Justice(美) 约翰·罗尔斯简体EPUB
简体MOBI
简体TXT
简体PDF(扫描版)
英文PDF(修订版)
2013-09-13
2018-11-10
2016-05-14
2013-05-23
2020-01-16
简介
政治自由主义Political Liberalism(美) 约翰·罗尔斯简体HTML
简体MOBI
简体PDF(扫描版)
英文EPUB(扩充版)
2013-01-17
2015-05-11
2018-12-04
2020-01-17
简介
无政府、国家与乌托邦Anarchy, State, and Utopia(美) 罗伯特·诺齐克简体PDF(扫描版)
英文EPUB
2013-07-30
2014-03-29
简介
自由主义与正义的局限Liberalism and the Limits of Justice(美) 迈克尔·桑德尔简体PDF(第2版)
简体PDF(第2版 扫描版)
英文PDF(第2版 扫描版)
2013-01-01
2018-12-05
2020-01-16
简介
自由史论The History of Freedom and Other Essays(英) 阿克顿勋爵简体PDF(扫描版)
英文PDF
2014-07-27
2020-03-30
简介
古典自由主义
——入门读物
Libertarianism
——A Primer
(美) 大卫·鲍兹英文PDF2015-07-19简介
利维坦
——教会国家和市民国家的实质、形式、权力
其它中文名:
巨灵论
Leviathan or The Matter, Forme and Power of a Common Wealth Ecclesiastical and Civil(英) 托马斯·霍布斯简体PDF
简体MOBI
英文PDF
2014-06-22
2018-12-22
2019-11-03
简介
古代人的自由与现代人的自由The Liberty of the Ancients Compared with that of the Moderns(法) 本杰明·贡斯当简体PDF(扫描版)
简体MOBI
英文PDF
2014-06-22
2015-05-11
2020-01-17
简介
欧洲自由主义史The History of European Liberalism(意) 圭多·德·拉吉罗简体PDF(扫描版)2015-01-12简介
论出版自由Areopagitica
——A Speech for the Liberty of Unlicensed Printing
(英) 约翰·弥尔顿简体PDF
简体MOBI
英文EPUB
2014-02-03
2015-05-11
2020-01-17
简介
给你所爱的人以自由N/A茅于轼简体PDF
简体PDF(大字版)
简体EPUB
简体MOBI
2013-10-26
2013-11-26
2015-11-14
2015-11-14
简介
+ +

◇政治 / 政治理论 / 保守主义

+ +(“保守主义”与“古典自由主义”存在相当一部分交集;属于两者重叠部分的书,放置到上述“自由主义”分类目录下)
+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
保守主义思想
——从伯克到艾略特
其它中文名:
保守主义的心灵
保守主义思想
——从伯克到桑塔亚那
The Conservative Mind
——From Burke to Eliot
其它英文名:
The Conservative Mind
——From Burke to Santayana
(美) 拉塞尔·柯克英文EPUB
英文PDF(浓缩版)
2020-01-16
2019-08-29
简介
反思法国大革命
其它中文名:
法国大革命反思录
法国革命感想录
Reflections on the Revolution in France(英) 埃德蒙·伯克英文EPUB2020-03-28简介
保守主义Conservatism(英) 休·塞西尔勋爵简体PDF(扫描版)2019-08-29简介
保守主义Conservatism刘军宁简体PDF(扫描版)2019-11-06简介
+ +

◇政治 / 政治理论 / 资本主义

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:资本主义Capitalism
——A Very Short Introduction
(英) 詹姆斯·富尔彻简体EPUB
简体AZW3
2015-12-13
2015-12-13
简介
后资本主义社会Post-Capitalist Society(奥/美) 彼得·德鲁克简体PDF(扫描版)
英文PDF(扫描版)
2018-09-14
2020-01-20
简介
新教伦理与资本主义精神The Protestant Ethic and the Spirit of Capitalism(德) 马克斯·韦伯简体HTML
简体MOBI
英文PDF
2014-04-14
2015-05-11
2020-01-20
简介
+ +

◇政治 / 政治理论 / 共产主义

+ +(本类别主要放置“马列主义”相关书籍)
+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
大失败
——二十世纪共产主义的兴亡
The Grand Failure
——The Birth and Death of Communism in the Twentieth Century
(波兰/美) 兹比格涅夫·布热津斯基简体PDF(扫描版)2012-10-06简介
历史决定论的贫困
其它中文名:
历史主义的贫困
The Poverty of Historicism(奥/英) 卡尔·波普尔简体PDF
简体EPUB
简体HTML
简体MOBI
英文EPUB
2014-07-27
2015-02-15
2012-12-11
2015-05-11
2020-01-14
简介
新阶级
——对共产主义制度的分析
The New Class
——An Analysis of the Communist System
(南斯拉夫) 密洛凡·德热拉斯简体PDF(扫描版)
英文PDF(扫描版)
2012-10-06
2018-09-06
简介
共产主义实录Communism
——A History
(美) 理查德·派普斯简体PDF
英文EPUB
2012-10-05
2020-01-14
简介
恐怖主义与共产主义Terrorism and Communism
——A Contribution to the Natural History of Revolution
(德) 卡尔·考茨基简体PDF
英文PDF(扫描版)
2013-04-11
2019-08-29
简介
共产主义黑皮书
——罪行、恐怖、镇压
The Black Book of Communism
——Crimes, Terror, Repression
(多人)英文PDF(扫描版)2015-02-17简介
社会主义体制
——共产主义政治经济学
The Socialist System
——The Political Economy of Communism
(匈) 雅诺什·科尔奈简体PDF(扫描版)
英文DJVU(扫描版)
2015-01-11
2020-03-16
简介
+ +

◇政治 / 政治理论 / 社会主义

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:社会主义Socialism
——A Very Short Introduction
(英) 迈克尔·纽曼英文PDF
英文MOBI
2015-12-13
2020-12-07
简介
通往奴役之路The Road to Serfdom(奥/英) 弗里德里希·哈耶克简体PDF(台湾版)
简体PDF(大字版)
简体PDF
简体EPUB
简体MOBI
英文PDF
英文EPUB
2014-05-18
2018-09-10
2013-03-24
2013-09-13
2015-05-11
2013-05-30
2019-01-04
简介
社会主义
——经济与社会学的分析
Socialism
——An Economic and Sociological Analysis
(奥/美) 路德维希·冯·米塞斯简体PDF(扫描版)
英文PDF(扫描版)
2013-03-31
2020-01-20
简介
致命的自负
——社会主义的谬误
The Fatal Conceit
——The Errors of Socialism
(奥/英) 弗里德里希·哈耶克简体PDF
简体EPUB
简体MOBI
简体TXT
英文EPUB
2013-03-24
2013-09-13
2015-05-11
2016-05-14
2020-01-20
简介
社会主义国家的经济计算Economic Calculation in the Socialist Commonwealth(奥/美) 路德维希·冯·米塞斯英文PDF2018-09-22简介
+ +

◇政治 / 政治理论 / 极权主义与威权主义

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
开放社会及其敌人The Open Society and Its Enemies(奥/英) 卡尔·波普尔简体PDF
简体EPUB
简体MOBI
简体PDF(扫描版)
英文PDF
2012-12-11
2013-09-14
2018-11-10
2017-03-24
2020-01-15
简介
极权主义的起源The Origins of Totalitarianism(德/美) 汉娜·阿伦特简体PDF
简体CHM
简体MOBI
简体TXT
英文PDF(扫描版)
2012-10-06
2012-10-14
2014-02-23
2016-04-29
2019-08-29
简介
东方专制主义
——对于极权力量的比较研究
Oriental Despotism
——A Comparative Study of Total Power
(德/美) 卡尔·魏特夫 (中文名:魏复古)简体PDF(扫描版)
英文PDF(扫描版)
2019-02-25
2020-01-15
简介
独裁者手册
——为什么恶劣行为总是政治成功的通行证
The Dictator's Handbook
——Why Bad Behavior is Almost Always Good Politics
(美) 布鲁诺·德·梅斯奎塔
(美) 阿拉斯泰尔·史密斯
简体MOBI(标注删节部分)
英文PDF(无删节)
简体EPUB(有删节)
简体MOBI(有删节)
2020-11-20
2018-11-18
2019-03-02
2019-03-02
简介
极权主义民主的起源The Origins of Totalitarian Democracy(波兰/以色列) 雅各布·塔尔蒙简体PDF(扫描版)2015-07-14简介
威权统治的转型
——关于不确定民主的试探性结论
Transitions from Authoritarian Rule
——Tentative Conclusions about Uncertain Democracies
(阿根廷) 吉列尔莫·奥唐奈
(美) 菲利普·施密特
简体PDF(扫描版)
英文PDF(扫描版)
2013-08-21
2020-01-15
简介
新常识
——一党专制的性质与后果
New Common Sense
——The Nature and Consequences of One-Party Dictatorship
张雪忠简体EPUB(精校版)
简体PDF
简体MOBI
2015-11-29
2013-10-19
2018-11-10
简介
+ +

◇政治 / 政治理论 / 乌托邦主义

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:乌托邦主义Utopianism
——A Very Short Introduction
(美) 莱曼·萨金特英文EPUB2020-03-29简介
+ +

◇政治 / 政治理论 / 无政府主义

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:无政府主义Anarchism
——A Very Short Introduction
(英) 科林·瓦德英文PDF2020-03-16简介
+ +

◇政治 / 政治理论 / 外交与国际关系

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:外交Diplomacy
——A Very Short Introduction
(美) 约瑟夫·锡拉库扎简体EPUB2020-03-28简介
文明的冲突与世界秩序的重建The Clash of Civilizations and the Remaking of World Order(美) 塞缪尔·亨廷顿简体PDF
简体PDF(大字版)
简体PDF(扫描版)
简体EPUB
简体MOBI
简体TXT
英文PDF(扫描版)
2013-03-31
2020-03-30
2017-03-24
2018-12-08
2018-11-10
2016-04-30
2019-11-05
简介
大棋局
——美国的首要地位及其地缘战略
The Grand Chessboard
——American Primacy and Its Geostrategic Imperatives
(波兰/美) 兹比格涅夫·布热津斯基简体PDF
简体PDF(扫描版)
简体TXT
简体MOBI
英文PDF
2013-04-14
2017-02-17
2016-04-29
2018-11-10
2019-08-29
简介
大外交Diplomacy(美) 亨利·基辛格简体PDF(扫描版)
英文PDF(扫描版)
英文EPUB
2014-02-05
2019-05-30
2020-01-25
简介
论中国On China(美) 亨利·基辛格简体EPUB
简体MOBI
英文EPUB
2014-02-05
2018-11-10
2014-02-05
简介
理解国际冲突
——理论与历史
其它中文名:
理解全球冲突与合作
——理论与历史
Understanding International Conflicts
——An Introduction to Theory and History
其它英文名:
Understanding Global Conflict and Cooperation
——An Introduction to Theory and History
(美) 小约瑟夫·奈
(加) 戴维·韦尔奇
简体PDF(第3版 扫描版)
英文PDF(第9版)
2018-12-25
2020-01-25
简介
牛津通识读本:国际关系International Relations
——A Very Short Introduction
(英) 保罗·威尔金森英文PDF
英文MOBI
2015-12-13
2020-12-07
简介
牛津通识读本:地缘政治Geopolitics
——A Very Short Introduction
(英) 克劳斯·多兹英文PDF(第1版)
英文MOBI
2015-12-13
2020-12-07
简介
+ +

◇政治 / 政治理论 / 非暴力抗争

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
从独裁到民主
——解放运动的概念框架
From Dictatorship to Democracy
——A Conceptual Framework for Liberation
(美) 吉恩·夏普简体PDF
简体EPUB
简体MOBI
英文PDF
英文EPUB
英文MOBI
2012-08-16
2019-01-04
2015-02-17
2012-08-16
2015-07-25
2015-07-25
简介
群众性防卫
——一种超军事的武器系统
Civilian-Based Defense
——A Post-Military Weapons System
(美) 吉恩·夏普简体PDF
繁體PDF(掃描版)
2013-03-16
2013-02-02
简介
一种更强大的力量
——非暴力抗争一百年
A Force More Powerful
——A Century of Nonviolent Conflict
(美) 彼得·阿克曼
(美) 杰克·杜瓦尔
简体PDF(共2册)
简体MOBI(共2册)
英文EPUB
2020-11-22
2013-05-13
2020-01-16
简介
和平抗议何以有效
——非暴力冲突的策略逻辑
Why Civil Resistance Works
——The Strategic Logic of Nonviolent Conflict
(美) 艾丽卡·切诺韦思
(美) 玛丽亚·斯蒂芬
英文PDF
英文EPUB
2019-07-28
2019-07-28
简介
非暴力手册
——实践指导
The Nonviolence Handbook
——A Guide for Practical Action
(美) 迈克尔·纳格勒简体PDF2020-05-30简介
论战略性非暴力冲突
——关于基本原则的思考
On Strategic Nonviolent Conflict
——Thinking About the Fundamentals
(美) 罗伯特·赫尔维简体PDF
简体EPUB
英文PDF
2019-01-02
2019-05-21
2019-01-02
简介
西方公民不服从的传统The Tradition of the Civil Disobedience何怀宏 (主编)简体PDF(扫描版)2016-07-18简介
+ +

◇政治 / 政治理论 / 女权运动

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
第二性The Second Sex(法) 西蒙娜·德·波伏娃简体PDF(扫描版)
简体HTML
简体TXT
英文EPUB
2013-04-10
2018-12-23
2016-05-12
2019-11-04
简介
女权主义理论
——从边缘到中心
Feminist Theory
——From Margin to Center
(美) 贝尔·胡克斯简体PDF(扫描版)2015-05-12简介
女权辩护
——关于政治和道德问题的批评
A Vindication of the Rights of Woman
——with Strictures on Political and Moral Subjects
(英) 玛丽·沃斯通克拉夫特简体PDF
英文PDF
2013-04-10
2020-03-01
简介
女性的奥秘The Feminine Mystique(美) 贝蒂·弗里丹简体PDF(扫描版)
英文EPUB
2013-04-10
2020-03-01
简介
女权主义Feminism(英) 简·弗里德曼简体PDF(扫描版)2014-02-03简介
妇女
——最漫长的革命
N/A李银河 (主编)简体PDF(扫描版)2015-05-12简介
三个原始部落的性别与气质Sex and Temperament in Three Primitive Societies(美) 玛格丽特·米德简体PDF(扫描版)2013-08-13简介
醒来的女性N/A(未知)简体PDF2014-07-27简介
+ +

◇政治 / 政治理论 / (其它)

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
政治科学Political Science
——An Introduction
(美) 迈克尔·罗斯金
等
简体PDF(第9版 扫描版)
简体PDF(第6版 扫描版)
英文PDF(第12版)
2014-02-13
2014-02-06
2020-03-01
简介
变化社会中的政治秩序Political Order in Changing Societies(美) 塞缪尔·亨廷顿简体PDF(精校版)
简体PDF(扫描版)
英文PDF(扫描版)
2013-10-30
2018-12-04
2020-03-01
简介
政治秩序的起源
——从前人类时代到法国大革命
The Origins of Political Order
——From Prehuman Times to the French Revolution
(美) 弗朗西斯·福山简体PDF(扫描版)
英文EPUB
2016-12-20
2017-05-01
简介
狂热分子
——群众运动圣经
其它中文名:
狂热分子
——码头工人哲学家的沉思录
The True Believer
——Thoughts on the Nature of Mass Movements
(美) 埃里克·霍弗简体EPUB
简体MOBI
简体PDF(扫描版)
英文PDF
英文EPUB
2014-07-27
2018-11-21
2015-01-12
2019-11-04
2020-03-01
简介
国家为什么失败
——权力、富裕与贫困的根源
Why Nations Fail
——The Origins of Power, Prosperity and Poverty
(土耳其/美) 德隆·阿西莫格鲁
(美) 詹姆斯·罗宾逊
简体TXT
繁體PDF(豎排掃描版)
英文EPUB
2014-03-20
2014-03-20
2020-03-01
简介
当代欧洲政治思想,1945~1989European Political Thought, 1945~1989(意) 萨尔沃·马斯泰罗 (主编)简体PDF(扫描版)2020-03-25简介
君主论
其它中文名:
君王论
The Prince(意) 尼可罗·马基亚维利简体PDF
简体PDF(扫描版)
简体TXT
英文PDF
2013-08-22
2019-10-28
2016-05-02
2020-03-01
简介
理想国
其它中文名:
国家篇
共和国
The Republic(古希腊) 柏拉图简体PDF
简体EPUB
英文TXT
2015-07-22
2017-04-30
2020-03-01
简介
+ +

◇政治 / 政治小说

+ +(某些政治小说描写的是特定国家,归入【政治类】对应国家的分类目录;
某些中国的政治小说,描写的是特定历史背景,放在【政治类 / 中国 / 中共历史】分类目录下)
+ + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
一九八四Nineteen Eighty-Four(英) 乔治·奥威尔简体PDF
简体EPUB (精校版)
简体TXT
简体PDF(扫描版)
简体MOBI
英文EPUB
英文PDF
2010-09-07
2015-11-29
2012-03-08
2013-10-20
2014-02-23
2013-09-13
2012-01-11
简介
动物庄园
其它中文名:
动物农庄
Animal Farm(英) 乔治·奥威尔简体PDF
简体EPUB
简体TXT
简体PDF(扫描版)
简体MOBI
英文PDF
2010-09-23
2013-09-13
2012-03-08
2013-10-20
2014-02-23
2012-01-11
简介
美丽新世界
其它中文名:
美妙的新世界
Brave New World(英) 奥尔德斯·赫胥黎简体EPUB
简体HTML
简体TXT
简体MOBI
英文PDF
2013-09-15
2019-08-23
2012-10-05
2015-02-17
2020-01-14
简介
我们
其它中文名:
反乌托邦与自由
We(俄/苏) 尤金·扎米亚京简体EPUB
简体MOBI
英文EPUB
2013-09-15
2015-02-17
2020-01-14
简介
阿特拉斯耸耸肩
其它中文名:
阿特拉斯摆脱重负
Atlas Shrugged(俄/美) 艾茵·兰德英文EPUB2020-03-16简介
严厉的月亮
其它中文名:
怒月
月亮是位严厉的主妇
The Moon Is a Harsh Mistress(美) 罗伯特·海因莱因简体EPUB
简体MOBI
英文EPUB
2019-03-04
2019-03-04
2020-01-14
简介
云图Cloud Atlas(英) 大卫·米切尔简体PDF
简体EPUB
简体MOBI
英文PDF
2014-02-06
2014-02-06
2018-11-10
2014-02-06
简介
黄祸Yellow Peril王力雄简体CHM2013-08-21简介
旋风N/A姜贵 (原名:王林渡)简体PDF2013-08-21简介
盛世
——中国2013
The Fat Years陈冠中简体PDF
简体EPUB
2013-01-01
2017-04-30
简介
裸命N/A陈冠中简体MOBI2013-01-01简介
中国地图
——一幅中国人的精神地图
N/A汪建辉简体PDF2014-05-23简介
+ +

◇政治 / 中国

+ +

◇政治 / 中国 / 中共历史

+ +

◇政治 / 中国 / 中共历史 / 改革开放时期

+ + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
中国改革年代的政治斗争N/A杨继绳简体PDF
简体EPUB
简体MOBI
2012-04-05
2013-11-26
2018-09-06
简介
中国现代化的陷阱The Pitfalls of Modernization何清涟简体PDF(修订版)
简体MOBI(修订版)
简体PDF
简体HTML
2013-12-14
2014-02-23
2013-02-05
2012-11-18
简介
中国
——奇迹的黄昏
N/A袁剑简体PDF
简体EPUB
简体MOBI
2012-04-05
2015-07-18
2015-07-18
简介
大国沉沦
——写给中国的备忘录
N/A刘晓波简体PDF2013-08-11简介
断裂
——20世纪90年代以来的中国社会
N/A孙立平简体PDF(扫描版)2013-03-16简介
转型与断裂
——改革以来中国社会结构的变迁
N/A孙立平简体PDF(扫描版)2017-05-01简介
山坳上的中国
——问题、困境、痛苦的选择
N/A何博传简体PDF(扫描版)2013-03-07简介
中国共产党不可说的秘密The Party
——The Secret World of China's Communist Rulers
(澳大利亚) Richard McGregor英文PDF2015-02-08简介
红色资本主义
——中国非凡崛起之下的脆弱金融基础
Red Capitalism
——The Fragile Financial Foundation of China's Extraordinary Rise
(美) Carl Walter
(美) Fraser Howie
英文PDF
英文MOBI
2014-03-29
2015-02-09
简介
全球化与中国国家转型Globalization and state transformation in China(新加坡) 郑永年简体PDF(扫描版)2014-01-09简介
陷入困局
——天朝的大困境
Walled In
——China’s Great Dilemma
(美) 高盛公司英文PDF
简体PDF
2016-03-22
2016-03-22
简介
+ +

◇政治 / 中国 / 中共历史 / 六四事件

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
天安门血腥清场内幕N/A(中/美) 吴仁华繁體PDF2012-05-25简介
人民不会忘记
——八九民运实录
People Will Not Forget
——A Chronicle by 64 Hong Kong Reporters
香港记者协会繁體HTML
繁體WEB
2019-04-03
N/A
简介
八九民运史The History of the 1989 Tiananmen Square Protests陈小雅繁體PDF
繁體WEB
2014-05-23
N/A
简介
天安门对峙Standoff at Tiananmen程鹗简体TXT
简体WEB
2019-05-20
N/A
简介
天安门文件
其它中文名:
中国六四真相
The Tiananmen Papers张良 (化名)简体PDF
简体CHM
2013-01-13
2012-04-05
简介
历史的大爆炸
——六四事件全景实录
The Big Bang of History
——June Fourth Movement Record
张万舒 (原名:张清海)繁體PDF(掃描版)2017-04-29简介
六四内部日记N/A陆超祺繁體PDF(掃描版)2020-08-12简介
八九天安门事件大事记N/A(中/美) 吴仁华简体PDF2012-05-25简介
广场活碑
——一个香港女记者眼中的六四血光
N/A蔡淑芳繁體PDF
繁體TXT
2014-05-23
2019-06-04
简介
血洗京华实录
——香港文汇报1989年特刊
N/A香港《文汇报》繁體PDF(掃描版)2019-04-03简介
中国民运反思N/A胡平简体PDF
简体TXT
繁體WEB
2013-05-01
2014-05-23
N/A
简介
天安门的力量
——国家•社会关系与1989学生运动
The Power of Tiananmen
——State-Society Relations and the 1989 Beijing Student Movement
赵鼎新繁體PDF(掃描版)
英文PDF
2012-12-26
2020-01-23
简介
回顾与反思
——六四流亡学生17人
N/A(多人)繁體PDF2019-04-03简介
末日幸存者的独白
——关于我和“六四”
N/A刘晓波繁體PDF(掃描版)2014-05-23简介
六四日记
——广场上的共和国
A Tiananmen Journal
——Republic on the Square
封从德繁體PDF(掃描版)2013-02-02简介
王丹回忆录
——从六四到流亡
N/A王丹繁體EPUB
繁體MOBI
繁體DOCX
2014-03-29
2018-11-10
2013-11-26
简介
逃亡者Escape From China
——The Long Journey from Tiananmen to Freedom
张伯笠简体TXT(缺最后2章)2019-05-20简介
铭记天安门Remembering Tiananmen Square(英) 罗宾·门罗简体PDF
英文WEB
2012-05-25
N/A
简介
黄雀行动N/A江迅简体PDF2012-05-25简介
“六四”事件民间白皮书N/A纪念六四事件委员会简体PDF2012-05-25简介
六四诗集N/A(多人)简体PDF2014-05-23简介
关键时刻
——李鹏日记
The Critical Moment
——Li Peng Diaries
李鹏 (原名:李远芃)简体PDF
简体CHM
2020-08-12
2012-04-05
简介
惊心动魄的五十六天N/A国家教委思想政治工作司繁體WEBN/A简介
1989年北京制止动乱平息反革命暴乱纪事N/A北京市委办公厅简体PDF(扫描版)2013-01-18简介
陈希同亲述
——众口铄金难铄真
N/A姚监复繁體PDF2013-06-10简介
加拿大政府“六四事件”解密档案N/A(加) 加拿大驻华使馆英文PDF(影印版)2015-05-12简介
+ +

◇政治 / 中国 / 中共历史 / 文革时期

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
文化大革命十年史N/A高皋
严家其
简体PDF(扫描版)2012-12-10简介
文化大革命的起源The Origins of the Cultural Revolution(英) 麦克法夸尔 (中文名:马若德)简体PDF(共2卷 扫描版)2013-03-30简介
毛泽东最后的革命Mao's Last Revolution(英) 麦克法夸尔 (中文名:马若德)
(瑞典) Michael Schoenhals (中文名:沈迈克)
简体PDF
英文PDF
2012-12-09
2020-01-23
简介
文化大革命
——历史真相和集体记忆
N/A宋永毅 (主编)简体PDF2012-10-05简介
形形色色的造反
——红卫兵精神素质的形成及演变
Rebels of All Stripes
——A Study of Red Guard Mentalities
徐友渔繁體PDF(掃描版)2013-06-22简介
红卫兵档案N/A吴过简体PDF2012-04-06简介
上山下乡
——一个美国人眼中的中国知青运动
其它中文名:
上山下乡
——中国青年从城市到农村的转移
Up to the Mountains and Down to the Villages
——The Transfer of Youth from Urban to Rural China
(美) 托马斯·伯恩斯坦简体PDF(扫描版)2015-11-09简介
失落的一代
——中国的上山下乡运动,1968~1980
The Lost Generation
——The Rustification of Chinese Youth, 1968~1980
(法) 米歇尔·博南 (中文名:潘鸣啸)简体PDF
简体PDF(扫描版)
简体EPUB
简体MOBI
2016-12-14
2013-08-11
2014-05-18
2018-11-10
简介
知青备忘录
——上山下乡运动中的生产建设兵团
N/A史卫民
何岚
简体PDF(扫描版)2019-02-23简介
文化大革命研究资料N/A国防大学党史党建政工教研室简体PDF(上中下 扫描版)2013-11-30简介
文革研究N/A(多人)简体PDF2012-04-06简介
周恩来文革讲话集N/A周恩来简体TXT
简体PDF(拍照版)
2014-03-20
2015-07-14
简介
随想录Random Thoughts巴金 (原名:李尧棠)简体PDF(扫描版)
繁體MOBI
2014-01-09
2014-06-22
简介
遇罗克之遗作与回忆N/A徐晓
丁东
徐友渔
简体PDF(扫描版)2013-03-16简介
牛鬼蛇神录
——文革囚禁中的精灵
The Captive Spirits
——Prisoners of the Cultural Revolution
(中/澳大利亚) 杨小凯 (原名:杨羲光)简体PDF
简体MOBI
2012-12-09
2020-05-30
简介
1966
——我们那一代的回忆
N/A徐友渔 (主编)简体PDF(扫描版)2017-08-13简介
上海生死劫
其它中文名:
上海生与死
Life and Death in Shanghai郑念 (原名:姚念媛)简体EPUB
简体PDF(扫描版)
简体MOBI
英文EPUB
英文MOBI
2017-05-06
2013-05-30
2020-05-30
2019-07-26
2019-07-26
简介
劫后长忆
——十年动乱纪事
N/A穆欣 (原名:杜蓬莱)繁體PDF(豎排掃描版)2019-02-04简介
中国的眸子N/A胡平 (与民运人士胡平同名)简体PDF(扫描版)2013-03-31简介
自由在落日中Freedom in the Sunset袁红冰 (原名:袁红兵)简体CHM2013-06-22简介
第二种忠诚N/A刘宾雁简体PDF2013-03-09简介
历史的代价
——文革死亡档案
N/A金石开简体PDF(扫描版)2016-12-19简介
文革三大屠杀案N/A(多人)简体PDF2015-02-17简介
血的神话
——1967年湖南道县文革大屠杀纪实
N/A谭合成简体PDF2015-05-12简介
+ +

◇政治 / 中国 / 中共历史 / “大跃进”与大饥荒时期

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
墓碑
——中国六十年代大饥荒纪实
Tombstone
——The Great Chinese Famine, 1958~1962
其它英文名:
Tombstone
——An Account of Chinese Famine in the 1960s
杨继绳简体PDF
繁體PDF
简体EPUB
简体MOBI
英文EPUB
2012-04-06
2013-10-20
2014-06-21
2020-05-30
2020-01-23
简介
人祸
——“大跃进”与大饥荒
N/A丁抒简体PDF
简体HTML
2013-01-13
2012-04-06
简介
大跃进亲历记
——毛泽东秘书手记
N/A李锐 (原名:李厚生)简体PDF(上下卷 扫描版)2013-05-08简介
庐山会议实录Mount Lu Meeting Records李锐 (原名:李厚生)简体PDF2012-10-05简介
农村人民公社史N/A罗平汉简体PDF(扫描版)2016-12-19简介
辉煌的幻灭
——人民公社警示录
N/A康健简体CHM
简体HTML
2012-10-05
2012-10-06
简介
夹边沟记事Memory of Jiabiangou杨显惠简体PDF(扫描版)
简体PDF
简体EPUB
简体MOBI
2013-03-22
2016-12-14
2019-01-04
2019-01-04
简介
定西孤儿院纪事
——实录饥饿的绝境
Records of Dingxi Orphanage杨显惠简体PDF(扫描版)
简体PDF
简体EPUB
简体MOBI
2013-03-08
2016-12-14
2019-01-04
2019-01-04
简介
+ +

◇政治 / 中国 / 中共历史 / “反右”运动

+ + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
阳谋
——反右派运动始末
N/A丁抒简体PDF
简体CHM
2013-01-13
2012-11-17
简介
还原1957N/A魏紫丹 (原名:魏立言)繁體PDF2015-02-17简介
1957年的夏季
——从百家争鸣到两家争鸣
N/A朱正简体PDF
简体HTML
2016-12-14
2012-11-17
简介
毛主席是什么时候决定引蛇出洞的N/A李慎之简体TXT2019-02-24简介
往事并不如烟
其它中文名:
最後的貴族
The Past is Not Like Smoke章诒和简体PDF(精校版 标注删节部分)
繁體EPUB(台灣版 無刪節)
简体PDF(大字版)
简体MOBI
简体TXT
2013-02-05
2015-11-10
2018-09-10
2020-05-30
2012-12-09
简介
十四万言书
——致人民日报编辑部信
N/A林昭 (原名:彭令昭)简体PDF2013-02-01简介
中华民族的自由女神
——林昭罹难40年纪念文集
N/A(多人)简体PDF2013-02-01简介
林昭,不再被遗忘N/A(多人)简体PDF(扫描版)2013-02-01简介
祭坛上的圣女
——林昭传
N/A赵锐简体PDF2013-06-22简介
+ +

◇政治 / 中国 / 中共历史 / “土改”运动

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
最后的地主The Last of China's Landlords廖亦武简体PDF
简体PDF(大字版)
2013-03-16
2013-03-31
简介
秧歌The Rice Sprout Song张爱玲 (原名:张煐)简体PDF2013-08-21简介
赤地之恋Naked Earth张爱玲 (原名:张煐)简体PDF2013-08-21简介
+ +

◇政治 / 中国 / 中共历史 / 国共内战时期

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
1949年
——中国知识分子的私人记录
N/A傅国涌简体PDF(扫描版)
简体PDF
2013-03-14
2016-12-14
简介
战后中共夺取东北始末N/A杨奎松繁體PDF2012-12-11简介
陈诚先生回忆录
——国共战争
N/A陈诚繁體PDF2015-07-19简介
大江大海,一九四九Big River, Big Sea龙应台简体PDF
简体EPUB
简体MOBI
繁體PDF(豎排掃描版)
2013-01-17
2013-09-13
2020-05-30
2012-11-17
简介
+ +

◇政治 / 中国 / 中共历史 / 延安与八年抗战时期

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
红太阳是怎样升起的
——延安整风运动的来龙去脉
How the Red Sun Rose
——The Origin and Development of the Yan'an Rectification Movement, 1930~1945
高华简体PDF
简体CHM
简体EPUB
简体MOBI
2012-12-09
2012-04-06
2013-11-26
2014-02-03
简介
中共壮大之谜
——被掩盖的中国抗日战争真相
N/A谢幼田简体CHM
简体PDF
2012-11-17
2016-12-14
简介
延安的阴影N/A陈永发繁體PDF(掃描版)2015-07-18简介
历史的先声
——半个世纪前的庄严承诺
N/A笑蜀 (原名:陈敏)简体PDF
简体PDF(大字版)
简体PDF(扫描版)
简体CHM
简体TXT
2014-06-21
2019-01-04
2013-05-08
2012-10-06
2012-10-06
简介
延安日记The Vladimirov Diaries
——Yenan, China, 1942~1945
(苏) 彼得·弗拉基米洛夫 (中文名:孙平)简体PDF(扫描版)
简体CHM
2019-02-17
2012-10-05
简介
红太阳下的罂粟花
——鸦片贸易与延安模式
N/A陈永发繁體PDF(掃描版)2012-10-05简介
延安整风实录N/A高新民
张树军
简体PDF(扫描版)2017-08-13简介
内在的敌人The Enemy Within
——An Eyewitness Account of the Communist Conquest of China
(比利时) Raymond de Jaegher (中文名:雷震远)简体PDF
简体EPUB
简体MOBI
简体CHM
2014-02-03
2014-03-29
2018-12-08
2014-02-03
简介
+ +

◇政治 / 中国 / 中共历史 / 江西时期

+ + + + + + +
中文书名作者文件类型上传日期备注
AB 团与富田事变始末戴向青
罗惠兰
简体PDF(扫描版)2015-05-12简介
博古和毛泽东
——及中华苏维埃共和国的领袖们
秦福铨繁體PDF(掃描版)2017-08-16简介
“肃 AB 团”事件的历史考察高华简体PDF2016-12-20简介
+ +

◇政治 / 中国 / 中共历史 / (其它)

+ + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
谁是新中国
——中国现代史辨
Which is the New China
——Distinguishing between Right and Wrong in Modern Chinese History
辛灏年 (原名:高尔品)简体PDF
简体CHM
2012-12-30
2012-12-10
简介
中国共产革命七十年N/A陈永发繁體PDF(上下冊 掃描版)2012-10-15简介
中国思想运动史N/A李洪林简体PDF(扫描版)2013-07-07简介
在历史的风陵渡口N/A高华简体PDF2012-12-09简介
新中国三十年
其它中文名:
毛澤東專政始末
N/A(美) 唐德刚简体PDF
繁體EPUB
繁體MOBI
简体MOBI
2014-01-09
2019-01-04
2019-01-04
2020-05-29
简介
我亲历过的政治运动N/A(多人)简体PDF(扫描版)2013-04-21简介
20世纪后半叶历史解密Decoding History, 1950s~2000s何清涟 (主编)简体PDF2013-07-07简介
中国“左”祸N/A文聿 (原名:陆建华)简体PDF(扫描版)2013-04-21简介
毛泽东执政春秋N/A单少杰简体PDF2015-07-18简介
北大魂
——从林昭到八九民运
N/A甘粹简体PDF2013-08-11简介
中共五十年N/A王明 (原名:陈绍禹)简体PDF(扫描版)2013-05-09简介
十年论战
——1956-1966中苏关系回忆录
N/A吴冷西简体PDF(扫描版)2013-02-01简介
无耻的洋人N/A徐沛简体PDF2013-07-28简介
+ +

◇政治 / 中国 / 政治人物

+ +

◇政治 / 中国 / 政治人物 / 共产党

+ +

◇政治 / 中国 / 政治人物 / 共产党 / 陈独秀

+ + + + + +
中文书名作者文件类型上传日期备注
陈独秀的最后见解
——论文和书信
陈独秀繁體PDF(竪排掃描版)2019-05-19简介
陈独秀与莫斯科的恩恩怨怨姚金果简体PDF(扫描版)2017-08-13简介
+ +

◇政治 / 中国 / 政治人物 / 共产党 / 毛泽东

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
红太阳的陨落
——千秋功罪毛泽东
N/A辛子陵 (原名:宋科)简体PDF
简体MOBI
简体DOC
2012-12-09
2020-05-29
2012-04-05
简介
毛泽东时代和后毛泽东时代,1949~2009
——另一种历史书写
N/A钱理群繁體PDF(掃描版)
简体MOBI
2013-05-07
2020-05-29
简介
毛泽东私人医生回忆录The Private Life of Chairman Mao李志绥简体PDF
繁體PDF(豎排掃描版)
英文EPUB
2013-08-01
2015-02-08
2020-01-23
简介
新发现的毛泽东
——仆人眼中的伟人
N/A王若水简体PDF2012-04-05简介
毛泽东
——鲜为人知的故事
Mao
——The Unknown Story
张戎 (原名:张二鸿)简体PDF2013-08-01简介
毛主席用兵真如神?N/A芦笛繁體PDF2015-11-09简介
+ +

◇政治 / 中国 / 政治人物 / 共产党 / 周恩来

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
晚年周恩来Zhou Enlai
——The Last Perfect Revolutionary
高文谦简体PDF
简体EPUB
简体MOBI
英文PDF
2012-10-05
2013-09-14
2018-09-06
2020-01-23
简介
周恩来与上海灭门血案N/A吴基民简体PDF2018-09-06简介
+ +

◇政治 / 中国 / 政治人物 / 共产党 / 邓小平

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
中南海日记
——中共两代王储的陨落
N/A吴稼祥繁體PDF(掃描版)2012-12-09简介
邓小平时代Deng Xiaoping and the Transformation of China(美) Ezra Vogel (中文名:傅高义)繁體PDF(香港版 無刪節)
简体MOBI(香港版 无删节)
英文EPUB
2013-04-14
2020-05-29
2020-01-23
简介
+ +

◇政治 / 中国 / 政治人物 / 共产党 / 胡耀邦

+ + + + + + + +
中文书名作者文件类型上传日期备注
胡耀邦与平反冤假错案戴煌 (原名:戴澍霖)简体PDF(扫描版)2017-05-01简介
胡耀邦与中国政治改革
——12位老共产党人的反思
(多人)繁體PDF(掃描版)2013-02-01简介
胡耀邦下台的背景
——人道主义在中国的命运
王若水简体TXT2012-12-19简介
十年的路
——和胡耀邦相处的日子
吴江繁體PDF(掃描版)2013-02-02简介
+ +

◇政治 / 中国 / 政治人物 / 共产党 / 赵紫阳

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
改革历程
——赵紫阳回忆录
其它中文名:
国家的囚徒
——赵紫阳的秘密录音
Prisoner of the State
——The Secret Journal of Premier Zhao Ziyang
赵紫阳简体PDF
英文PDF
2012-04-05
2020-01-23
简介
赵紫阳还说过什么?
——杜导正日记
N/A杜导正简体PDF2012-05-25简介
+ +

◇政治 / 中国 / 政治人物 / 共产党 / 第4代

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
中国影帝温家宝China's Best Actor
——Wen Jiabao
余杰简体PDF
简体TXT
2012-10-26
2012-12-13
简介
河蟹大帝胡锦涛N/A余杰简体PDF(不全)2013-03-14简介
中国权贵的死亡游戏A Death in the Lucky Holiday Hotel
——Murder, Money, and an Epic Power Struggle in China
何频
黄闻光
繁體PDF2014-05-04简介
+ +

◇政治 / 中国 / 政治人物 / 共产党 / (其他人物)

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
多余的话Superfluous Words瞿秋白 (原名:瞿懋淼)繁體TXT
简体MOBI
2019-08-23
2020-05-29
简介
我的回忆N/A张国焘简体PDF2012-10-26简介
林彪浮沉录The Rise and Fall of Lin Piao(荷兰) 雅普·冯·吉内肯简体PDF(扫描版)2013-05-19简介
杨尚昆日记N/A杨尚昆简体PDF(扫描版)2017-08-13简介
红色家族档案
——罗瑞卿女儿的点点记忆
N/A罗点点 (原名:罗峪平)简体EPUB
简体PDF(扫描版)
2015-11-10
2013-04-21
简介
龚楚回忆录N/A龚楚繁體PDF(豎排掃描版)2014-02-04简介
李作鹏回忆录N/A李作鹏简体EPUB2014-03-29简介
邱会作回忆录N/A邱会作简体EPUB2014-03-29简介
+ +

◇政治 / 中国 / 政治人物 / 国民党

+ +

◇政治 / 中国 / 政治人物 / 国民党 / 蒋中正

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
蒋中正思想言论总集N/A蒋中正繁體CHM2015-02-08简介
蒋介石传The Man Who Lost China
——The First Full Biography of Chiang Kai-shek
(美) 布赖恩·克罗泽简体EPUB2019-08-23简介
+ +

◇政治 / 中国 / 政治人物 / 国民党 / 蒋经国

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
蒋经国自述N/A蒋经国简体PDF2015-02-09简介
我在苏联的生活N/A蒋经国繁體PDF(竪排掃描版)2015-07-17简介
蒋经国传Biography of Chiang Ching-Kuo(中/美) 江南 (原名:刘宜良)简体EPUB
简体PDF(扫描版)
简体TXT
2017-05-06
2015-11-21
2016-05-01
简介
+ +

◇政治 / 中国 / 政治人物 / 国民党 / (其他人物)

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
胡汉民自传N/A胡汉民繁體DJVU(竪排掃描版)2015-07-16简介
李宗仁回忆录Memoirs of Li Zongren李宗仁 (口述)
(中/美) 唐德刚 (整理)
简体EPUB
简体MOBI
简体PDF(扫描版)
2019-08-23
2019-08-23
2020-03-28
简介
张学良口述历史N/A张学良 (口述)
(中/美) 唐德刚 (整理)
简体PDF(扫描版)
简体EPUB
简体MOBI
2015-01-07
2015-05-11
2015-05-11
简介
白崇禧回忆录N/A白崇禧简体PDF(扫描版)2015-07-16简介
成败之鉴
——陈立夫回忆录
N/A陈立夫繁體PDF(竪排掃描版)2015-07-16简介
旷世风雷一梦痕
——九十年人生经历见证
N/A王思诚繁體PDF(竪排掃描版)2013-07-07简介
+ +

◇政治 / 中国 / 政治人物 / 太子党关系网络

+ +这是俺花了不少时间整理的,包括十多张详细的网状图,涵盖几百个权贵家族。
+通过此文档,可以直观体会到天朝就是一个“权贵资本主义社会”。
+俺已经把这份文档开源到 GitHub(它不但是一个开源项目的集散地,也是一个多人网络协作的平台)。希望大伙儿群策群力,一起来曝光权贵丑陋的嘴脸。
+更多详情请看 zhao@github
+

◇政治 / 中国 / 社会阶层与贫富分化

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
中国底层访谈录Interviews with the Lower Strata of Chinese Society廖亦武简体PDF(上下 扫描版)
简体PDF(上中下 文字版)
简体PDF(上中下 大字版)
2012-12-10
2013-03-31
2013-03-31
简介
中国当代社会各阶层分析N/A杨继绳简体PDF(扫描版)2012-01-14简介
中国社会各阶层分析N/A梁晓声简体PDF(扫描版)2012-12-10简介
中国农民调查Will the Boat Sink the Water?
——The Life of China's Peasants
陈桂棣
吴春桃
简体PDF
简体TXT
2015-11-15
2016-05-18
简介
上帝是红色的
——中国十字架地下寻访录
God Is Red
——The Secret Story of How Christianity Survived and Flourished in Communist China
廖亦武简体PDF
简体EPUB
简体MOBI
2013-05-01
2014-03-29
2018-11-10
简介
地震疯人院
——2008·5·12四川大地震记事
Earthquake Insane Asylum廖亦武简体PDF2013-05-02简介
中国社会分层的结构与演变The Structure and Evolution of Chinese Social Stratification李毅简体CHM2013-07-28简介
+ +

◇政治 / 中国 / 腐败问题

+ + + + + + + +
中文书名作者文件类型上传日期备注
远华案黑幕盛雪 (原名:臧锡红)简体PDF
简体TXT
2013-01-13
2013-01-01
简介
人妖之间刘宾雁简体PDF2013-03-09简介
有关北京龙泉寺住持释学诚不法行为的汇报释贤启
释贤佳
简体PDF2018-08-24简介
编译局言情录
——一朝忽觉京梦醒,半世浮沉雨打萍
常艳简体PDF2012-12-24简介
+ +

◇政治 / 中国 / 中宣部与言论审查

+ + + + + + +
中文书名作者文件类型上传日期备注
讨伐中宣部
——焦国标文集
焦国标简体CHM2013-01-07简介
雾锁中国
——中国大陆控制媒体策略大揭秘
何清涟简体PDF
简体MOBI
2013-05-01
2013-05-13
简介
中国政府如何控制媒体
——中国人权研究报告
何清涟简体PDF2013-01-13简介
+ +

◇政治 / 中国 / 教育问题

+ + + + + + +
中文书名作者文件类型上传日期备注
审视中学语文教育(多人)简体PDF(扫描版)2013-02-25简介
沉疴
——中国教育的危机与批判
冉云飞简体PDF2013-07-07简介
我不原谅
——一个90后对中国教育的批评和反思
钟道然简体DOC
简体PDF(扫描版)
2013-04-04
2013-05-01
简介
+ +

◇政治 / 中国 / 少数民族问题

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
天葬
——西藏的命运
Sky Burial
——The Fate of Tibet
王力雄简体PDF
简体TXT
2012-12-31
2012-12-31
简介
我的西域,你的东土My West China, Your East Turkestan王力雄简体PDF
简体MOBI
2013-03-22
2020-05-29
简介
1959,拉萨!
——达赖喇嘛如何出走
N/A李江琳繁體PDF(掃描版)2013-07-26简介
西藏生与死
——雪域的民族主义
Tibet
——Survival in Question
(法) 董尼德繁體PDF(竪排掃描版)2012-12-31简介
流亡中的自在
——达赖喇嘛自传
Freedom in Exile
——The Autobiography of the Dalai Lama
十四世达赖喇嘛 (原名:丹增嘉措)简体PDF
简体EPUB
简体MOBI
英文PDF(扫描版)
2017-03-26
2014-03-29
2018-11-10
2020-01-22
简介
西藏笔记
其它中文名:
名为西藏的诗
Notes on Tibet唯色 (全名:茨仁唯色)简体PDF(扫描版)2013-05-19简介
东突厥斯坦独立运动
——1930年代至1940年代
N/A王柯简体EPUB
简体MOBI
2014-03-28
2014-03-28
简介
+ +

◇政治 / 中国 / 司法问题

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
中国冤案录China's Unjust Court Cases廖亦武简体MOBI(三卷合集)
简体PDF(第2卷)
2014-02-23
2013-05-01
简介
遭遇警察
——中国维权第一线亲历记录
In the Shadow of the Rising Dragon
——Stories of Repression in the New China
徐友渔
华泽
简体PDF2016-12-08简介
昨夜雨骤风狂N/A吴弘达简体PDF2013-05-13简介
大国寡民N/A卢跃刚简体PDF2014-02-05简介
狱后杂谈N/A欧阳懿简体TXT2014-02-22简介
+ +

◇政治 / 中国 / 环境问题

+ + + + + + + +
中文书名作者文件类型上传日期备注
灾变论
——寻找另外一个中国
任不寐简体HTML2015-02-15简介
人口
——中国的悬剑
何清涟简体PDF2015-07-22简介
中国冥路
——中国每年非常死亡480万
北明繁體PDF2015-02-17简介
民以何食为天
——中国食品安全现状调查
周勍简体PDF(扫描版)2014-01-09简介
+ +

◇政治 / 中国 / 公民维权

+ + + + + +
中文书名作者文件类型上传日期备注
追问阳光财政
——2009公民税权手册
传知行研究所简体PDF2015-07-22简介
2017年,起来中国
——酷刑下的维权律师高智晟自述
高智晟繁體PDF2016-12-23简介
+ +

◇政治 / 中国 / 民运与革命

+ + + + + +
中文书名作者文件类型上传日期备注
中国民主革命之路
——中国民主化运动百题问答
王炳章简体PDF2015-11-12简介
如何推翻中共高光俊简体PDF2015-01-12简介
+ +

◇政治 / 中国 / (其它)

+ + + + + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
王小波全集N/A王小波简体CHM
简体EPUB
2013-08-21
2013-09-14
简介
沉默的大多数 (杂文合集)N/A王小波简体PDF
简体PDF(大字版)
2013-10-20
2020-03-30
简介
容忍与自由
——胡适演讲集
N/A胡适简体EPUB
简体MOBI
2020-03-30
2015-11-09
简介
刘晓波文集N/A刘晓波简体PDF2013-06-19简介
未来的自由中国在民间Civil Awakening
——The Dawn of a Free China
刘晓波简体PDF2012-12-09简介
单刃毒剑
——中国当代民族主义批判
A Single Blade and Toxic Sword
——Critique on Comtempory Chinese Nationalism
刘晓波简体PDF2012-12-09简介
数人头胜过砍人头N/A胡平繁體PDF2013-03-16简介
犬儒病
——当代中国精神危机
N/A胡平简体PDF2013-04-13简介
火与冰Fire and Ice余杰简体PDF2012-12-11简介
致帝国的悼词
——中国大陆的自由状况及前景
N/A余杰简体PDF2012-12-11简介
关于中国的一百个常识One Hundred Points of Common Sense about China陈破空 (原名:陈劲松)简体PDF
简体CHM
2019-01-23
2013-05-13
简介
国家的常识 (中国部分)Countries and Concepts
——Politics, Geography, Culture
(美) 迈克尔·罗斯金简体PDF2015-02-23简介
王怡文集N/A王怡简体CHM2013-05-19简介
通往比傻帝国N/A冉云飞简体PDF(扫描版)2013-06-22简介
不服从的江湖N/A王怡简体PDF(扫描版)2013-05-19简介
中国近百年人权思想N/A杜钢建繁體EPUB
繁體MOBI
2014-05-04
2014-05-04
简介
伪民主派卖港实录N/A黄毓民繁體PDF2013-06-22简介
血纪N/A孔令平简体PDF2013-05-19简介
+ +

◇政治 / 美国

+ +

◇政治 / 美国 / 政治制度

+ + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
论美国的民主
其它中文名:
民主在美国
Democracy in America(法) 亚历西斯·德·托克维尔简体PDF(上下卷)
简体MOBI
英文PDF
2012-10-06
2013-05-13
2020-03-03
简介
美国是如何治理的To Govern America(美) 罗杰·希尔斯曼简体PDF(扫描版)2017-02-17简介
事关选举
——美国国会的政治解读
Congress
——The Electoral Connection
(美) 戴维·梅休简体PDF(扫描版)
英文PDF(扫描版)
2017-02-17
2020-03-03
简介
国会政体
——美国政治研究
Congressional Government
——A Study in American Politics
(美) 伍德罗·威尔逊简体PDF(扫描版)
英文TXT
2017-02-17
2020-03-03
简介
美国的陪审团In the Hands of the People
——The Trial Jury's Origins, Triumphs, Troubles, and Future in American Democracy
(美) 威廉·德威尔简体PDF(扫描版)2017-02-18简介
牛津通识读本:美国政治American Politics
——A Very Short Introduction
(美) 理查德·瓦雷利英文PDF2020-03-16简介
牛津通识读本:美国总统制The American Presidency
——A Very Short Introduction
(美) 查尔斯·琼斯简体EPUB
简体AZW3
2015-12-04
2015-12-04
简介
牛津通识读本:美国国会The U.S. Congress
——A Very Short Introduction
(美) 唐纳德·里奇英文PDF
英文MOBI
2015-12-13
2020-12-07
简介
牛津通识读本:美国最高法院The U.S. Supreme Court
——A Very Short Introduction
(美) 琳达·格林豪斯简体EPUB
简体AZW3
2015-12-05
2015-12-05
简介
牛津通识读本:美国政党和选举American Political Parties and Elections
——A Very Short Introduction
(美) 桑迪·梅塞尔英文PDF2015-12-12简介
九人
——美国最高法院风云
The Nine
——Inside the Secret World of the Supreme Court
(美) 杰弗里·图宾简体PDF(扫描版)
英文PDF(扫描版)
2017-02-17
2020-03-03
简介
言论的边界
——美国宪法第一修正案简史
Freedom for the Thought That We Hate
——A Biography of the First Amendment
(美) 安东尼·刘易斯简体EPUB
简体PDF(扫描版)
英文PDF
2015-11-20
2017-02-17
2020-03-03
简介
美国宪政历程
——影响美国的25个司法大案
N/A任东来
等
简体PDF(大字版)
简体PDF(扫描版)
简体EPUB
简体MOBI
2016-12-19
2013-11-26
2018-11-10
2014-02-23
简介
费城风云
——美国宪法的诞生和我们的反思
N/A易中天简体EPUB
简体TXT
2018-12-08
2016-05-19
简介
宪法的精神
——美国联邦最高法院200年经典判例选读
N/A北京大学法学院司法研究中心简体PDF(扫描版)2015-01-12简介
+ +

◇政治 / 美国 / 政治人物

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
打造美国
——杰斐逊总统与马歇尔大法官的角逐
What Kind of Nation
——Thomas Jefferson, John Marshall, and the Epic Struggle to Create a United States
(美) 詹姆斯·西蒙简体PDF(扫描版)2017-05-05简介
牛津通识读本:林肯Lincoln
——A Very Short Introduction
(美) 艾伦·古尔佐英文PDF
英文MOBI
2015-12-12
2020-12-07
简介
+ +

◇政治 / 美国 / 外交

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
剑桥美国对外关系史The Cambridge History of American Foreign Relations(美) 沃伦·科恩 (中文名:孔华润)简体PDF(扫描版)2017-02-18简介
战后美国外交史
——从杜鲁门到里根
N/A资中筠
等
简体PDF(扫描版)2017-05-05简介
历史的见证,1929~1969年Witness to History, 1929~1969(美) 查尔斯·波伦简体PDF(扫描版)2017-02-18简介
“美国例外论”与美国外交政策传统N/A周琪简体PDF2017-02-18简介
+ +

◇政治 / 美国 / 情报系统

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
无处可藏
——斯诺登、美国国安局与全球监控
No Place to Hide
——Edward Snowden, the NSA and the U.S. Surveillance State
(美) 格伦·格林沃尔德简体EPUB
英文PDF
2016-12-20
2020-03-04
简介
永久记录
其它中文名:
永久档案
Permanent Record(美) 爱德华·斯诺登简体PDF(精校版 标注删节部分)
简体EPUB(台湾版 无删节)
英文PDF
2020-03-24
2019-12-02
2019-10-30
简介
帷幕
——美国中央情报局的秘密战争,1981~1987
Veil
——The Secret Wars of the CIA, 1981~1987
(美) 鲍勃·伍德沃德简体PDF(扫描版)
英文EPUB
2017-02-18
2020-03-04
简介
危机
——美国国家安全局透视
N/A(未知)简体PDF2013-06-18简介
+ +

◇政治 / 美国 / (其它)

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
美国的自由主义传统
——独立革命以来美国政治思想阐释
The Liberal Tradition in America
——An Interpretation of American Political Thought since the Revolution
(美) 路易斯·哈茨简体PDF(扫描版)
英文EPUB
2017-02-19
2020-03-04
简介
发掘新闻
——美国报业的社会史
Discovering the News
——A Social History of American Newspapers
(美) 迈克尔·舒德森简体PDF(扫描版)
英文PDF(扫描版)
2017-08-16
2020-03-04
简介
常识Common Sense(英/美) 托马斯·潘恩简体EPUB
简体MOBI
简体PDF(扫描版)
简体TXT
英文EPUB
英文MOBI
2014-05-23
2018-12-08
2017-03-24
2016-05-18
2018-09-06
2018-09-06
简介
民主的细节
——美国当代政治观察随笔
N/A刘瑜简体PDF(大字版)
简体EPUB
简体MOBI
简体TXT
2020-03-30
2013-09-14
2018-09-06
2013-05-24
简介
近距离看美国
包括如下:
历史深处的忧虑
总统是靠不住的
我也有一个梦想
如彗星划过夜空
N/A(中/美) 林达 (原名:丁鸿富 & 李晓琳)简体PDF(共4册 大字版)
简体PDF(共4册 扫描版 缺第4册)
简体MOBI
2020-03-30
2017-02-18
2018-09-06
简介
+ +

◇政治 / 苏联

+ +

◇政治 / 苏联 / 苏共历史

+ + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:俄国革命The Russian Revolution
——A Very Short Introduction
(英) 斯蒂芬·史密斯英文PDF
英文MOBI
2015-12-13
2020-12-07
简介
苏共野史
——党治制的由来
The Communist Party Apparatus(俄/苏) 阿卜杜拉赫曼·阿夫托尔汉诺夫简体PDF(扫描版)
英文DJVU(扫描版)
2014-01-09
2020-03-02
简介
苏联政治内幕
——知情者的见证
The System
——An Insider's Life in Soviet Politics
(苏/俄) 乔治·阿尔巴托夫简体PDF(扫描版)2016-12-18简介
帝国的消亡
——当代俄罗斯的教训
Collapse of an Empire
——Lessons for Modern Russia
(苏/俄) 叶戈尔·盖达尔简体PDF(扫描版)
英文PDF
2015-01-12
2020-03-02
简介
苏联解体亲历记Autopsy on an Empire
——The American Ambassador's Account of the Collapse of the Soviet Union
(美) 小杰克·马特洛克简体PDF(上下册)
简体PDF(扫描版)
2019-02-22
2013-07-07
简介
苏联的最后一年N/A(苏/俄) 罗伊·麦德维杰夫简体PDF(扫描版)2018-08-09简介
大国悲剧
——苏联解体的前因后果
N/A(苏/俄) 尼古拉·雷日科夫简体TXT2016-05-17简介
一个大国的崛起与崩溃
——苏联历史专题研究,1917~1991
N/A沈志华 (主编)简体PDF(共3册 扫描版)
简体TXT
2015-11-03
2018-08-09
简介
帝国
——俄罗斯五十年
Imperium(波兰) 雷沙德·卡普钦斯基繁體PDF(豎排掃描版)
英文EPUB
2013-11-26
2020-03-02
简介
苏联兴亡史纲N/A陈之骅
等
简体PDF(扫描版)2013-01-01简介
东欧大裂变纪实N/A欧阳东简体PDF(扫描版)2013-01-01简介
+ +

◇政治 / 苏联 / 政治人物

+ +

◇政治 / 苏联 / 政治人物 / 普列汉诺夫

+ + + + +
中文书名作者文件类型上传日期备注
政治遗嘱
——格·瓦·普列汉诺夫最后的想法
(苏) 格奥尔基·普列汉诺夫简体PDF
简体HTML
2018-08-09
2016-12-23
简介
+ +

◇政治 / 苏联 / 政治人物 / 斯大林

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
关于个人崇拜及其后果
其它中文名:
苏共二十大秘密报告
On the Cult of Personality and Its Consequences(苏) 尼基塔·赫鲁晓夫简体TXT2019-02-25简介
斯大林秘闻
——原苏联秘密档案披露
Stalin
——The First In-depth Biography Based on Explosive New Documents from Russia's Secret Archives
(苏/俄) 爱德华·拉津斯基简体PDF
简体EPUB
简体MOBI
英文PDF
2013-01-01
2013-09-13
2018-11-10
2020-03-02
简介
斯大林秘书回忆录Memoirs of the Former Secretary of Stalin(苏) 波利斯·巴让诺夫简体PDF(扫描版)2015-11-19简介
斯大林死之谜The Mystery of Stalin's Death
——Beria's Plot
(俄/苏) 阿卜杜拉赫曼·阿夫托尔汉诺夫简体PDF(扫描版)2016-12-18简介
仅仅一年
——斯大林女儿回忆录
Only One Year(苏/美/英) 斯维特兰娜·阿利卢耶娃简体PDF(扫描版)2018-08-09简介
+ +

◇政治 / 苏联 / 政治人物 / 托洛茨基

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
我的生平
——托洛茨基自传
My Life
——An Attempt at an Autobiography
(俄/苏) 列夫·托洛茨基简体PDF(扫描版)2015-10-24简介
先知三部曲
包括如下:
第1部 武装的先知——托洛茨基1879~1921
第2部 被解除武装的先知——托洛茨基1921~1929
第3部 流亡的先知——托洛茨基1929~1940
The Prophet
——The Life of Leon Trotsky
(波兰) 伊萨克·多伊彻简体HTML
英文EPUB
2019-02-12
2020-03-02
简介
+ +

◇政治 / 苏联 / 政治人物 / 赫鲁晓夫

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
赫鲁晓夫回忆录Memoirs of Nikita Khrushchev(苏) 尼基塔·赫鲁晓夫简体PDF(上下卷 扫描版)2016-12-09简介
最后的遗言
——赫鲁晓夫回忆录续集
Memoirs of Nikita Khrushchev(苏) 尼基塔·赫鲁晓夫简体PDF(扫描版)2016-12-09简介
+ +

◇政治 / 苏联 / 政治人物 / 勃列日涅夫

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
勃列日涅夫的力量和弱点The Power and Powerlessness of Brezhnev(俄/苏) 阿卜杜拉赫曼·阿夫托尔汉诺夫简体PDF(扫描版)2019-05-27简介
走近衰亡
——苏联勃列日涅夫时期研究
Toward the Decline and Fall
——A Study of the USSR under Brezhnev
陆南泉简体PDF(扫描版)2016-12-08简介
+ +

◇政治 / 苏联 / 政治人物 / 戈尔巴乔夫

+ + + + +
中文书名英文书名作者文件类型上传日期备注
“真相”与自白
——戈尔巴乔夫回忆录
Memoirs(俄) 米哈伊尔·戈尔巴乔夫简体EPUB
简体MOBI
2013-10-20
2014-02-23
简介
+ +

◇政治 / 苏联 / 政治人物 / (其他人物)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
布哈林与布尔什维克革命
——政治传记,1888~1938
Bukharin and the Bolshevik Revolution
——A Political Biography, 1888~1938
(美) 斯蒂芬·科恩简体PDF(扫描版)
英文PDF(扫描版)
2019-02-13
2020-03-02
简介
+ +

◇政治 / 苏联 / 大清洗与古拉格

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
古拉格群岛The Gulag Archipelago(苏/俄) 亚历山大·索尔仁尼琴简体PDF(上下册 扫描版)
简体MOBI
简体HTML
英文PDF(共3卷 扫描版)
2018-08-09
2013-04-20
2013-02-22
2020-03-02
简介
古拉格
——一部历史
Gulag
——A History
(美) 安妮·阿普尔鲍姆简体PDF(大字版)
简体EPUB
简体MOBI
英文PDF(大字版)
英文EPUB
2014-02-12
2014-01-09
2018-11-10
2017-08-16
2018-08-09
简介
苏联大清洗内幕N/A陈启能 (主编)简体HTML
简体PDF(扫描版)
2013-02-22
2018-08-09
简介
历届克格勃主席的命运Chairmen of the KGB
——Declassified fates
(俄) 列昂尼德·姆列钦简体PDF2019-02-07简介
正午的黑暗
其它中文名:
中午的黑暗
Darkness at Noon(匈/英) 阿瑟·库斯勒英文PDF
英文EPUB
2015-02-09
2014-07-28
简介
+ +

◇政治 / 苏联 / (其它)

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:苏联The Soviet Union
——A Very Short Introduction
(英) 斯蒂芬·洛弗尔英文PDF2015-12-13简介
俄国人The Russians(美) 赫德里克·史密斯简体PDF(扫描版)2014-02-21简介
苏联真相
——对101个重要问题的思考
N/A陆南泉
等
简体PDF(共3册 扫描版)2013-01-01简介
苏联的心灵
——共产主义时代的俄国文化
The Soviet Mind
——Russian Culture under Communism
(俄/英) 以赛亚·伯林简体PDF(扫描版)
英文PDF
2013-08-21
2020-03-02
简介
访苏归来
其它中文名:
从苏联归来
Return From The USSR(法) 安德烈·纪德英文PDF(扫描版)2019-02-08简介
莫斯科日记
其它中文名:
我和妻子的苏联之行
N/A(法) 罗曼·罗兰简体PDF(扫描版)2019-05-18简介
+ +

◇政治 / 英国

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:英国政治British Politics
——A Very Short Introduction
(英) 托尼·赖特英文PDF2015-12-13简介
牛津通识读本:英国宪法The British Constitution
——A Very Short Introduction
(英) 马丁·洛克林英文EPUB2020-03-16简介
+ +

◇政治 / 法国

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
旧制度与大革命The Old Regime and the Revolution(法) 亚历西斯·德·托克维尔简体PDF
简体EPUB
简体MOBI
简体PDF(扫描版)
英文PDF(扫描版)
2012-10-06
2013-09-14
2018-11-10
2017-03-24
2020-03-07
简介
法国大革命的起源Origins of the French Revolution(英) 威廉·多伊尔繁體PDF(掃描版)2013-11-26简介
牛津通识读本:法国大革命The French Revolution
——A Very Short Introduction
(英) 威廉·多伊尔英文PDF2019-01-03简介
+ +

◇政治 / 德国

+ + + + +
中文书名作者文件类型上传日期备注
大墙倾倒之际
——克伦茨回忆录
(德) 埃贡·克伦茨简体PDF(扫描版)2016-12-10简介
+ +

◇政治 / (其它国家)

+ +

◇政治 / (其它国家) / 北朝鲜

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
黄长烨回忆录Hwang Jang-yop Memoir(韩) 黄长烨简体PDF
简体TXT
2013-02-19
2016-05-01
简介
我们最幸福
——北韩人民的真实生活
其它中文名:
无可羡慕
——朝鲜人的普通生活
Nothing to Envy
——Ordinary Lives in North Korea
(美) 芭芭拉·德米克简体PDF
简体EPUB
英文EPUB
2013-02-19
2013-09-14
2020-01-22
简介
平壤水族馆
——我在北韩古拉格的十年
The Aquariums of Pyongyang
——Ten Years in the North Korean Gulag
(韩) 姜哲焕
(法) 皮耶·李古乐
繁體EPUB
英文EPUB
2014-05-04
2020-01-22
简介
逃出14号劳改营
——从人间炼狱到自由世界的脱北者传奇
Escape from Camp 14
——One Man's Remarkable Odyssey From North Korea to Freedom in the West
(韩) 申东赫
(美) 布莱恩·哈登
繁體EPUB
英文PDF
2016-07-18
2020-01-22
简介
这就是天堂!
——我的北韩童年
This is Paradise!
——My North Korean Childhood
(韩) 姜赫
(法) 菲利普·格兰杰罗
繁體EPUB2014-06-22简介
平壤
——朝鲜之旅
Pyongyang
——A Journey in North Korea
(加) 盖·德利斯勒简体PDF(漫画 扫描版)2013-03-30简介
+ +

◇政治 / (其它国家) / 柬埔寨

+ + + + + +
中文书名作者文件类型上传日期备注
革命的僭妄
——红色高棉,一部血淋淋的历史
(多人)简体PDF2016-12-23简介
波尔布特传王爱飞简体PDF2013-05-19简介
+ +

◇政治 / (其它国家) / 西班牙

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:西班牙内战The Spanish Civil War
——A Very Short Introduction
(英) 海伦·格雷汉姆英文PDF2020-03-16简介
西班牙的民主和内战,1931~1939Democracy and Civil War in Spain 1931~1939(英) 马丁·布林克霍恩简体PDF(大字版)2019-02-18简介
+ +

◇政治 / (其它国家) / 捷克斯洛伐克

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
哈维尔文集N/A(捷克) 瓦茨拉夫·哈维尔简体PDF
简体HTML
2013-03-22
2019-10-29
简介
“布拉格之春”前后Czechoslovakia Since World War II(波兰/美) 塔德·舒尔茨简体PDF(扫描版)2018-08-09简介
杜布切克回忆录N/A(捷克) 亚历山大·杜布切克简体PDF(扫描版)2014-07-12简介
严寒来自克里姆林宫Frost comes from Kremlin(捷克) 兹德涅克·姆林纳日简体PDF(扫描版)2014-07-12简介
+ +

◇政治 / (其它国家) / 波兰

+ + + + +
中文书名英文书名作者文件类型上传日期备注
瓦文萨自传A Way of Hope
——An Autobiography
(波兰) 莱赫·瓦文萨简体PDF(扫描版)2016-12-10简介
+ +

◇政治 / (其它国家) / 罗马尼亚

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
流氓的归来The Hooligan's Return(罗) 诺曼·马内阿简体PDF(扫描版)
英文MOBI
2014-05-04
2020-01-22
简介
论小丑
——独裁者和艺术家
On Clowns
——The Dictator and the Artist
(罗) 诺曼·马内阿简体PDF(扫描版)2014-05-04简介
黑信封The Black Envelope(罗) 诺曼·马内阿简体PDF(扫描版)2014-05-04简介
+ +

◇政治 / (其它国家) / 古巴

+ + + + +
中文书名作者文件类型上传日期备注
二十世纪最后的革命家
——菲德尔·卡斯特罗传
程映虹简体PDF2013-03-30简介
+ +
+

+

★心理学

+ +【网盘】
+微软网盘
+BT Sync 密钥:BNZ6DOA6W577O6GUNH7C3MY6DWC6FTDQB (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇心理学 / 通俗读物

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
这才是心理学
——看穿伪心理学的本质
其它中文名:
与众不同的心理学
——如何正视心理学
对“伪心理学”说不
How to Think Straight about Psychology(加) 基思·斯坦诺维奇简体PDF(第10版 大字版)
简体PDF(第8版 扫描版)
简体EPUB(第8版)
简体MOBI(第8版)
简体PDF(第7版 扫描版)
英文PDF(第10版)
英文EPUB(第10版)
英文MOBI(第10版)
英文PDF(第9版)
2019-09-03
2015-05-11
2015-02-16
2015-02-16
2012-12-29
2020-03-15
2020-11-22
2020-11-22
2020-03-15
简介
牛津通识读本:生活中的心理学Psychology
——A Very Short Introduction
(英) 吉莉恩·巴特勒
(英) 弗雷达·麦克马纳斯
简体EPUB(第1版)
简体AZW3(第1版)
英文EPUB(第2版)
2015-12-14
2015-12-14
2020-03-15
简介
+ +

◇心理学 / 认知心理学

+ + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
学会提问
——批判性思维指南
Asking the Right Questions
——A Guide to Critical Thinking
(美) 尼尔·布朗
(美) 斯图尔特·基利
简体PDF(第10版 扫描版)
简体PDF(第7版)
简体EPUB(第7版)
简体MOBI(第7版)
英文PDF(第11版)
英文PDF(第8版)
2019-08-21
2012-01-20
2013-09-13
2015-11-14
2019-12-03
2012-01-20
简介
影响力Influence
——The Psychology of Persuasion
(美) 罗伯特·西奥迪尼简体PDF
简体PDF(扫描版)
简体EPUB
简体MOBI
英文TXT
2013-02-25
2012-12-29
2013-09-13
2014-02-23
2012-12-29
简介
思考,快与慢
其它中文名:
快思慢想
Thinking, Fast and Slow(以色列/美) 丹尼尔·卡尼曼简体EPUB
简体MOBI
简体TXT
英文PDF(大字版)
2015-11-10
2014-07-15
2016-05-15
2020-03-15
简介
超越智商
——为什么聪明人也会做蠢事
What Intelligence Tests Miss
——The Psychology of Rational Thought
(加) 基思·斯坦诺维奇简体EPUB
简体MOBI
英文PDF
2019-09-03
2019-09-03
2019-12-03
简介
无从选择
——为何多即是少
其它中文名:
选择的悖论
——用心理学解读人的经济行为
The Paradox of Choice
——Why More Is Less
(美) 巴里·施瓦茨简体PDF(大字版)
简体PDF(扫描版)
英文PDF
2019-09-03
2012-12-29
2012-12-29
简介
清醒思考的艺术(上篇)、明智行动的艺术(下篇)The Art of Thinking Clearly(瑞士) 罗尔夫·多贝里简体PDF(上篇 扫描版)
简体EPUB (上篇 插图版)
简体EPUB (下篇 插图版)
简体MOBI (下篇 插图版)
英文PDF
英文EPUB
2014-07-15
2015-12-01
2019-04-20
2019-04-20
2015-11-13
2015-11-13
简介
浅薄
——互联网如何毒化我们的大脑
The Shallows
——What the Internet Is Doing to Our Brains
(美) 尼古拉斯·卡尔简体PDF
简体MOBI
英文PDF
2015-02-23
2015-11-14
2019-12-03
简介
怪诞行为学1
——可预测的非理性
Predictably Irrational
——The Hidden Forces That Shape Our Decisions
(美) 丹·艾瑞里简体PDF(扫描版)
简体EPUB
2014-07-27
2015-01-07
简介
怪诞行为学2
——非理性的积极力量
The Upside of Irrationality
——The Unexpected Benefits of Defying Logic at Work and at Home
(美) 丹·艾瑞里简体EPUB2015-01-07简介
心流
——最优体验心理学
Flow
——The Psychology of Optimal Experience
(意/美) 米哈里·契克森米哈伊简体EPUB
简体MOBI
2019-08-19
2019-08-19
简介
发现心流
——日常生活中的最优体验
Finding Flow
——The Psychology of Engagement with Everyday Life
(意/美) 米哈里·契克森米哈伊简体EPUB
简体MOBI
2019-08-19
2019-08-19
简介
粘住
——为什么我们记住了这些,忘掉了那些?
Made to Stick
——Why Some Ideas Survive and Others Die?
(美) 奇普·希思
(美) 丹·希思
简体PDF(扫描版)2018-11-11简介
统计陷阱
其它中文名:
统计数字会撒谎
How to Lie with Statistics(美) 达莱尔·哈夫简体PDF
简体PDF(大字版)
英文PDF
2015-02-16
2018-11-21
2020-03-15
简介
+ +

◇心理学 / 人格心理学

+ + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
动机与人格Motivation and Personality(美) 亚伯拉罕·马斯洛简体EPUB
简体MOBI
简体PDF(扫描版)
英文PDF
2013-09-13
2018-11-11
2012-12-29
2019-08-21
简介
自卑与超越What Life Could Mean to You
——The Psychology of Personal Development
(奥) 阿尔弗雷德·阿德勒简体EPUB
简体MOBI
2019-08-22
2019-08-22
简介
少有人走的路
——心智成熟的旅程
The Road Less Traveled
——A New Psychology of Love, Traditional Values and Spiritual Growth
(美) 斯科特·派克简体PDF(扫描版)
简体EPUB (精校版)
简体MOBI
简体TXT
英文PDF
2012-06-29
2015-12-01
2014-02-23
2012-06-29
2013-04-14
简介
自控力The Willpower Instinct(美) 凯利·麦格尼格尔简体EPUB
简体MOBI
英文EPUB
2019-08-19
2020-03-30
2020-03-15
简介
人的潜能和价值
——人本主义心理学译文集
N/A(多人)简体PDF(扫描版)2013-02-05简介
身份的焦虑Status Anxiety(瑞士) 阿兰·德波顿简体PDF(扫描版)2014-07-15简介
梦的解析
其它中文名:
释梦
The Interpretation of Dreams(奥) 西格蒙德·弗洛伊德简体PDF
简体TXT
英文PDF
2012-12-29
2016-05-16
2013-04-14
简介
精神分析引论A General Introduction to Psychoanalysis(奥) 西格蒙德·弗洛伊德简体PDF
简体EPUB
简体TXT
2012-12-29
2013-04-16
2016-05-02
简介
心灵的面具
——101种心理防御
101 Defenses
——How the Mind Shields Itself
(美) 杰瑞姆·布莱克曼简体PDF(扫描版)2019-08-22简介
+ +

◇心理学 / 社会心理学

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
社会性动物The Social Animal(美) 埃利奥特·阿伦森简体PDF(第8版)
简体EPUB(第8版)
简体MOBI(第8版)
简体TXT(第8版)
英文PDF(第10版)
2014-01-09
2019-08-21
2014-02-23
2016-05-01
2019-12-03
简介
乌合之众
——大众心理研究
The Crowd
——A Study of the Popular Mind
(法) 古斯塔夫·勒庞简体PDF(扫描版)
简体MOBI
简体TXT
英文PDF
2019-07-16
2014-02-23
2016-05-16
2019-12-03
简介
路西法效应
——好人是如何变成恶魔的
The Lucifer Effect
——Understanding How Good People Turn Evil
(美) 菲利普·津巴多简体PDF(大字版)
简体EPUB
繁體PDF(掃描版)
英文PDF
2018-09-10
2013-09-13
2013-02-05
2020-03-15
简介
+ +

◇心理学 / 性心理学

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
性心理学Psychology of Sex
——A Manual for Students
(英) 哈维洛克·艾利斯 (旧译名:霭理士)简体PDF(扫描版)
简体TXT
2020-11-22
2019-08-22
简介
男人来自火星,女人来自金星Men Are from Mars, Women Are from Venus(美) 约翰·格雷简体PDF(扫描版)2018-09-09简介
+ +

◇心理学 / 教育心理学

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
正面管教Positive Discipline(美) 简·尼尔森简体PDF2014-02-11简介
家庭会伤人
——自我重生的新契机
Bradshaw on the Family
——A Revolutionary Way of Self Discovery
(美) 约翰·布雷萧简体PDF(扫描版)2014-07-15简介
+ +

◇心理学 / 进化心理学

+ +(“进化心理学”是心理学的一个新的研究方向)
+ + + +
中文书名英文书名作者文件类型上传日期备注
进化心理学
——心理的新科学
Evolutionary Psychology
——The New Science of the Mind
(美) 大卫·巴斯简体PDF(扫描版)
简体MOBI
英文PDF(第5版)
2012-12-31
2015-11-14
2020-03-15
简介
+ +

◇心理学 / 洗脑

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
洗脑术
——思想控制的荒唐史
Brainwash
——The Secret History of Mind Control
(英) 多米尼克·斯垂特菲尔德简体PDF(扫描版)
简体MOBI
2012-12-16
2015-05-11
简介
人的驯化、躲避与反叛N/A胡平简体PDF
简体PDF(大字版)
简体TXT
2013-05-01
2013-04-20
2013-03-17
简介
思想改造和极权主义心理学
——中国的洗脑研究
Thought Reform and the Psychology of Totalism
——A Study of Brainwashing in China
(美) 罗伯特·利夫顿英文MOBI2012-10-14简介
洗脑
——思维控制的科学
其它中文名:
洗脑心理学
Brainwashing
——The Science of Thought Control
(英) 凯瑟琳·泰勒简体PDF(扫描版)
英文PDF
2015-07-12
2012-10-14
简介
洗脑的历史
——祸害世界三千年的极端思想控制术解析
N/A傅志彬简体PDF
简体PDF(扫描版)
简体MOBI
2015-02-15
2015-05-11
2020-11-22
简介
+ +

◇心理学 / 审讯与反审讯

+ + + + + + +
中文书名作者文件类型上传日期备注
审讯心理攻略吴克利简体PDF(扫描版)2014-07-28简介
讯问学王传道简体PDF(扫描版)2014-07-28简介
审讯与反审讯文章汇集(热心读者)简体TXT2014-07-28简介
+ +

◇心理学 / (其它)

+ + + + +
中文书名作者文件类型上传日期备注
如何变得有思想
——阮一峰博文集
阮一峰简体EPUB2015-05-12简介
+ +
+

+

★历史

+ +【网盘】
+微软网盘
+BT Sync 密钥:BSH7FXJFVWJTKWGSX5GTWX7PHZZ2D2M7Q (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇历史 / 世界史

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
全球通史
——从史前史到21世纪
A Global History
——From Prehistory to the 21st Century
(加) 斯塔夫里阿诺斯简体PDF(第7版 大字版)
简体PDF(第4版 上下册)
简体CHM(第4版)
英文PDF(第5版 扫描版)
2016-12-16
2013-02-27
2013-02-07
2017-02-22
简介
世界文明史
其它中文名:
文明的故事
The Story of Civilization(美) 威尔·杜兰特
(美) 阿里尔·杜兰特
简体PDF(扫描版)2017-05-03简介
枪炮、病菌与钢铁
——人类社会的命运
Guns, Germs, and Steel
——The Fates of Human Societies
(美) 贾雷德·戴蒙德简体EPUB
简体PDF(大字版)
简体CHM
简体MOBI
英文PDF
2013-09-13
2013-04-20
2013-02-05
2015-05-11
2013-02-05
简介
人类简史
——从动物到上帝
其它中文名:
人類大歷史
——從野獸到扮演上帝
Sapiens
——A Brief History of Humankind
(以色列) 尤瓦尔·赫拉利简体EPUB
简体MOBI
简体PDF(扫描版)
英文PDF(大字版)
2017-08-14
2018-08-08
2020-11-22
2020-01-18
简介
大国的兴衰
——1500年~2000年的经济变迁与军事冲突
The Rise and Fall of the Great Powers
——Economic Change and Military Conflict from 1500 to 2000
(英) 保罗·肯尼迪简体EPUB
简体PDF(大字版)
简体PDF(扫描版)
简体PDF
英文PDF(扫描版)
2017-05-06
2016-12-16
2015-11-18
2014-06-22
2020-01-18
简介
年代四部曲
包括如下:
第1卷 革命的年代 (1789~1848)
第2卷 资本的年代 (1848~1875)
第3卷 帝国的年代 (1875~1914)
第4卷 极端的年代 (1914~1991)
The Age of Revolution (1789~1848)
The Age of Capital (1848~1875)
The Age of Empire (1875~1914)
The Age of Extremes (1914~1991)
(英) 埃里克·霍布斯鲍姆简体PDF(扫描版)
简体EPUB
2018-08-07
2020-03-29
简介
崩溃
——社会如何选择成败兴亡
Collapse
——How Societies Choose to Fail or Succeed
(美) 贾雷德·戴蒙德简体PDF(大字版)
简体MOBI
简体PDF(扫描版)
英文EPUB
2013-04-20
2015-05-11
2017-03-26
2020-01-18
简介
+ +

◇历史 / 欧洲史

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
你一定爱读的极简欧洲史
——为什么欧洲对现代文明的影响这么深
The Shortest History of Europe(澳大利亚) 约翰·赫斯特简体PDF(扫描版)
简体MOBI
英文EPUB
2014-07-28
2015-05-11
2020-01-18
简介
战后欧洲史Postwar
——A History of Europe Since 1945
(英) 托尼·朱特简体PDF(共2卷 扫描版)
英文EPUB
2014-08-11
2020-01-22
简介
欧洲文明史
——自罗马帝国败落起到法国革命
The History of Civilization in Europe(法) 弗朗索瓦·基佐简体PDF(扫描版)2018-08-08简介
欧洲中世纪史Medieval Europe
——A Short History
(美) 朱迪斯·本内特
(美) 沃伦·霍利斯特
简体PDF(第10版 扫描版)2017-05-04简介
牛津通识读本:启蒙运动The Enlightenment
——A Very Short Introduction
(英) 约翰·罗伯逊英文EPUB2020-03-14简介
夹缝中的六国
——维也纳会议以来的中东欧历史
The Lands between
——A History of East-Central Europe Since the Congress of Vienna
(英) 艾伦·帕尔默简体PDF(扫描版)2017-08-14简介
牛津通识读本:十字军The Crusades
——A Very Short Introduction
(英) 克里斯托弗·泰尔曼英文PDF
英文MOBI
2015-12-15
2020-12-08
简介
+ +

◇历史 / 中国

+ +

◇历史 / 中国 / 古代史

+ + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
资治通鉴N/A司马光简体EPUB(柏杨白话版)
简体MOBI(柏杨白话版)
简体HTML
2013-09-13
2018-11-10
2018-08-08
简介
中国历代政治得失N/A钱穆简体EPUB
简体MOBI
简体PDF(扫描版)
简体TXT
2013-09-14
2018-12-08
2019-08-18
2013-08-22
简介
中国大历史China
——A Macro History
(中/美) 黄仁宇简体PDF
简体PDF(大字版)
简体MOBI
英文EPUB
2013-02-05
2019-05-23
2019-05-23
2020-01-22
简介
万历十五年1587, a Year of No Significance
——The Ming Dynasty in Decline
(中/美) 黄仁宇简体PDF(增订纪念本 扫描版)
简体PDF
简体PDF(大字版)
简体TXT
2020-11-22
2014-01-08
2019-05-23
2016-05-17
简介
潜规则
——中国历史中的真实游戏
N/A吴思简体PDF
简体EPUB
简体CHM
简体MOBI
简体TXT
2013-02-27
2013-09-13
2013-02-07
2014-02-23
2016-04-30
简介
血酬定律
——中国历史中的生存游戏
N/A吴思简体PDF
简体MOBI
简体TXT
2014-01-09
2014-02-23
2016-04-30
简介
兴盛与危机
——论中国社会超稳定结构
N/A金观涛
刘青峰
简体PDF
简体HTML
2013-02-07
2017-08-14
简介
赫逊河畔谈中国历史Conversation on Chinese History by the Hudson River(中/美) 黄仁宇简体HTML
简体TXT
繁體MOBI
2018-08-08
2016-05-20
2019-08-23
简介
明朝那些事N/A当年明月 (原名:石悦)简体PDF
简体PDF(大字版)
简体EPUB
简体MOBI
2017-05-06
2018-11-11
2013-09-14
2018-08-08
简介
+ +

◇历史 / 中国 / 近代史

+ + + + + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
《炎黄春秋》合订本 (1999-2010)N/A《炎黄春秋》杂志社简体EPUB2013-09-11简介
中国近代史The Rise of Modern China(中/美) 徐中约简体PDF(上下册)
简体EPUB
2013-03-22
2013-09-13
简介
中国近代史大纲
其它中文名:
中国近代史
Outline of Modern Chinese History蒋廷黻简体PDF(扫描版)
简体PDF
2020-03-30
2014-01-09
简介
停滞的帝国
——两个世界的撞击
The Immobile Empire(法) 阿兰·佩雷菲特简体EPUB
简体MOBI
简体PDF(扫描版)
英文EPUB
2019-07-17
2019-07-17
2014-05-23
2020-01-19
简介
追寻现代中国The Search for Modern China(美) Jonathan Spence (中文名:史景迁)繁體PDF
简体EPUB
简体PDF
英文PDF(扫描版)
2014-06-22
2014-06-22
2016-12-18
2020-01-19
简介
论中国
——中国新史
China
——A New History
(美) 费正清
(美) 默尔·戈德曼
英文PDF(第2版)
繁體PDF(第1版 竪排掃描版)
2020-01-19
2015-02-08
简介
晚清七十年The Final Seventy Years of Qing Dynasty(中/美) 唐德刚简体PDF(大字版)
繁體EPUB
简体MOBI
繁體MOBI
2019-08-23
2019-01-05
2018-08-08
2019-01-05
简介
帝国落日
——晚清大变局
N/A袁伟时简体TXT2016-05-16简介
走出帝制
——从晚清到民国历史的回望
Moving Away from the Imperial Regime秦晖简体EPUB
简体PDF(大字版)
简体TXT
简体MOBI
2016-12-16
2016-07-14
2016-05-20
2018-11-21
简介
五四新论
——既非文艺复兴,亦非启蒙运动
N/A(中/美) 余英时
等
简体PDF(扫描版)2017-05-06简介
袁氏当国N/A(中/美) 唐德刚简体PDF(大字版)
繁體MOBI
简体TXT
2015-02-09
2015-02-09
2016-04-30
简介
重说中国近代史N/A张鸣简体EPUB
简体PDF(扫描版)
2013-09-14
2020-11-22
简介
太平天国God's Chinese Son
——The Taiping Heavenly Kingdom of Hong Xiuquan
(美) Jonathan Spence (中文名:史景迁)简体PDF(扫描版)
英文EPUB
2017-05-03
2020-01-19
简介
再说戊戌变法N/A张鸣简体MOBI2016-12-16简介
民国人物过眼录N/A杨奎松简体PDF(扫描版)2014-02-21简介
叫魂
——1768年中国妖术大恐慌
Soulstealers
——The Chinese Sorcery Scare of 1768
(美) Philip Kuhn (中文名:孔飞力)简体PDF(扫描版)
简体TXT
英文PDF(扫描版)
2014-05-23
2016-05-15
2020-01-19
简介
慈禧统治下的大清帝国
其它中文名:
慈禧外传
China Under the Empress Dowager
——Being the History of the Life and Times of Tzŭ Hsi
(英) 约翰·濮兰德
(英) 埃德蒙德·贝克豪斯爵士
简体PDF(扫描版)2017-08-15简介
重返五四现场
——1919,一个国家的青春记忆
N/A叶曙明简体PDF(扫描版)2013-05-01简介
+ +

◇历史 / 中国 / 丛书

+ +

◇历史 / 中国 / 丛书 / 剑桥中国史

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
秦汉史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(扫描版)2014-06-22简介
隋唐史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(扫描版)2014-06-22简介
辽西夏金元史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(扫描版)2014-06-22简介
明代史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(扫描版)2014-06-22简介
晚清史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(上下卷 扫描版)2014-06-22简介
中华民国史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(上下卷 扫描版)2014-06-22简介
中华人民共和国史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(上卷 扫描版)2015-02-09简介
+ +

◇历史 / 古希腊

+ +(与古希腊的战争相关的书籍,放在【军事类 / 古代军事史 / 古希腊】分类目录下)
+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:古希腊Ancient Greece
——A Very Short Introduction
(英) 保罗·卡特利奇英文EPUB2020-03-14简介
希腊城邦制度
——读希腊史笔记
N/A顾准简体PDF
简体PDF(扫描版)
简体MOBI
2013-02-07
2019-08-18
2015-02-13
简介
爱琴海沿岸的奇异王国Wondrous Realms of the Aegean(美) 戴尔·布朗简体PDF(扫描版)2015-11-03简介
牛津通识读本:希罗多德Herodotus
——A Very Short Introduction
(美) 詹尼弗·罗伯茨英文EPUB2020-03-14简介
+ +

◇历史 / 古罗马

+ +(与古罗马的战争相关的书籍,放在【军事类 / 古代军事史 / 古罗马】分类目录下)
+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:罗马共和国The Roman Republic
——A Very Short Introduction
(英) 戴维·格温英文EPUB2020-03-24简介
牛津通识读本:罗马帝国简史The Roman Empire
——A Very Short Introduction
(澳大利亚) 克里斯托弗·凯利简体EPUB
英文PDF
英文MOBI
2020-03-29
2015-12-15
2020-12-08
简介
罗马帝国衰亡史The History of the Decline and Fall of the Roman Empire(英) 爱德华·吉本简体PDF(共6卷 全译本 扫描版)
简体EPUB(节译本)
简体MOBI(节译本)
简体PDF(上下册 节译本)
简体CHM(节译本)
英文PDF(6卷本 节选版)
2013-11-26
2013-09-14
2015-02-13
2013-02-07
2013-02-07
2020-01-19
简介
罗马人的故事N/A(日) 盐野七生繁體PDF(掃描版)2017-05-03简介
罗马盛衰原因论Considerations on the Causes of the Greatness of the Romans and their Decline(法) 孟德斯鸠简体PDF
简体PDF(扫描版)
英文PDF(扫描版)
2013-02-07
2015-07-11
2020-01-19
简介
罗马风云N/A(德) 特奥多尔·蒙森简体PDF(扫描版)2017-05-03简介
罗马史Roman History(古罗马) 阿庇安简体TXT2016-05-01简介
罗马十二帝王传
其它中文名:
十二凯撒传
The Twelve Caesars(古罗马) 苏维托尼乌斯简体PDF(扫描版)2020-03-29简介
+ +

◇历史 / 美国

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:美国历史American History
——A Very Short Introduction
(美) 保罗·博耶英文PDF2020-03-14简介
美国通史
包括如下:
第1卷 美国的奠基时代,1585~1775
第2卷 美国的独立和初步繁荣,1775~1860
第3卷 美国内战与镀金时代,1861~19世纪末
第4卷 崛起和扩张的年代,1898~1929
第5卷 罗斯福时代,1929~1945
第6卷 战后美国史,1945~2000
A General History of the U.S. 1585~2000刘绪贻、杨生茂 等简体PDF(扫描版)2017-02-20简介
光荣与梦想
——1932~1972年美国社会实录
The Glory and the Dream
——A Narrative History of America, 1932~1972
(美) 威廉·曼彻斯特简体PDF(大字版)
简体PDF
简体TXT
英文EPUB
2016-12-16
2017-02-17
2016-05-01
2020-01-18
简介
美国黑人斗争史
——1619年至今的历史、文献与分析
Black Protest
——History, Documents and Analysis, 1619 to the Present
(美) 乔安妮·格兰特简体PDF(扫描版)2017-02-18简介
牛津通识读本:大萧条与新经济政策The Great Depression and The New Deal
——A Very Short Introduction
(美) 埃里克·罗威英文PDF
英文MOBI
2015-12-15
2020-12-08
简介
+ +

◇历史 / 英国

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:诺曼征服The Norman Conquest
——A Very Short Introduction
(英) 乔治·加内特英文PDF
英文MOBI
2016-12-16
2020-12-08
简介
牛津通识读本:斯图亚特王朝Stuart Britain
——A Very Short Introduction
(英) 约翰·莫里尔英文PDF2020-03-14简介
牛津通识读本:十八世纪的英国Eighteenth-Century Britain
——A Very Short Introduction
(英) 保罗·兰福德英文PDF2015-12-15简介
牛津通识读本:十九世纪的英国Nineteenth-Century Britain
——A Very Short Introduction
(英) 克里斯托弗·哈维
(英) 科林·马修
英文PDF
英文MOBI
2015-12-15
2020-12-08
简介
牛津通识读本:二十世纪的英国Twentieth-Century Britain
——A Very Short Introduction
(英) 肯尼思·摩根英文PDF
英文MOBI
2015-12-15
2020-12-08
简介
从旧帝国到新帝国
——1783~1815年英帝国史纲要
N/A郭家宏简体PDF(扫描版)2019-08-24简介
+ +

◇历史 / 法国

+ + + + +
中文书名英文书名作者文件类型上传日期备注
法国文明史
——自罗马帝国败落起
History of civilization in France
——From the fall of the Roman Empire
(法) 弗朗索瓦·基佐简体PDF(扫描版)2015-11-03简介
+ +

◇历史 / 德国

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
第三帝国的兴亡The Rise and Fall of the Third Reich
——A History of Nazi Germany
(美) 威廉·夏伊勒简体PDF(上中下)
简体EPUB
简体MOBI
简体TXT
英文PDF
英文EPUB
2013-02-22
2013-09-13
2015-02-08
2016-05-01
2018-08-08
2019-08-24
简介
纳粹德国
——一部新的历史
Nazi Germany
——A New History
(德) 克劳斯·费舍尔简体PDF(扫描版)2017-08-17简介
希特勒的民族帝国
——劫掠、种族战争和纳粹主义
Hitler's Beneficiaries
——Plunder, Racial War and the Nazi Welfare State
(德) 格茨·阿利简体PDF(扫描版)
英文EPUB
2013-08-21
2020-01-18
简介
希特勒的土地
——美国人亲历的纳粹疯狂之路
Hitlerland
——American Eyewitnesses to the Nazi Rise to Power
(美) 安德鲁·纳戈尔斯基英文EPUB
英文MOBI
2015-02-09
2015-02-09
简介
+ +

◇历史 / 日本

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
拥抱战败
——第二次世界大战后的日本
Embracing Defeat
——Japan in the Wake of World War II
(美) 约翰·道尔简体PDF(扫描版)
英文EPUB
2017-08-14
2020-01-18
简介
日本的近代化
——与中国的比较
N/A(日) 依田憙家简体PDF(扫描版)2020-03-25简介
+ +

◇历史 / (其它国家)

+ +

◇历史 / (其它国家) / 蒙古

+ + + + +
中文书名英文书名作者文件类型上传日期备注
蒙古帝国史The History of The Mongol Empire(法) 勒内·格鲁塞简体PDF(扫描版)2020-03-30简介
+ +

◇历史 / (其它国家) / 葡萄牙

+ + + + +
中文书名英文书名作者文件类型上传日期备注
征服者
——葡萄牙帝国的崛起
Conquerors
——How Portugal Forged the First Global Empire
(英) 罗杰·克劳利简体EPUB2020-03-29简介
+ +
+

+

★经济

+ +【网盘】
+微软网盘
+BT Sync 密钥:B2FRYA6AXCDW6CF4YJVFWKH2HAXOFICOX (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+
+

◇经济 / 经济学

+ +

◇经济 / 经济学 / 教材

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
经济学Economics(美) 保罗·萨缪尔森
(美) 威廉·诺德豪斯
简体PDF(第18版 扫描版)2014-02-13简介
经济学原理Principles of Economics(美) 格里高利·曼昆简体PDF(微观分册 第5版 扫描版)
简体PDF(宏观分册 第5版 扫描版)
简体EPUB(微观分册 第3版 插图版)
简体MOBI(微观分册 第3版 插图版)
简体TXT
2013-02-22
2013-02-22
2015-02-14
2015-02-14
2016-05-02
简介
宏观经济学Macroeconomics(德) 鲁迪格·多恩布什
(美) 斯坦利·费希尔
(美) 理查德·斯塔兹
简体PDF(第7版 扫描版)2015-07-12简介
宏观经济学
其它中文名:
威廉森宏观经济学
Macroeconomics(加) 斯蒂芬·威廉森简体PDF(第3版 扫描版)2019-09-03简介
高级宏观经济学Advanced Macroeconomics(美) 戴维·罗默简体PDF(第2版 扫描版)
英文PDF(第1版 扫描版)
2014-07-15
2018-06-23
简介
中级微观经济学
——现代观点
其它中文名:
范里安微观经济学
Intermediate Microeconomics
——A Modern Approach
(美) 哈尔·范里安简体PDF(第8版)
英文PDF(第8版)
2015-07-12
2018-06-23
简介
微观经济分析Microeconomic Analysis(美) 哈尔·范里安简体PDF(第3版)
英文PDF(第3版 扫描版)
2014-07-15
2019-08-30
简介
经济学原理N/A(中/澳大利亚) 杨小凯 (原名:杨羲光)简体PDF(扫描版)2015-07-12简介
+ +

◇经济 / 经济学 / 理论

+ + + + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
国富论
——国民财富的性质和原因
The Wealth of Nations
其它英文名:
An Inquiry into the Nature and Causes of the Wealth of Nations
(英) 亚当·斯密简体EPUB
简体MOBI
简体CHM
简体TXT
英文PDF
2018-12-08
2015-02-14
2013-04-09
2016-05-15
2020-03-10
简介
就业、利息和货币通论The General Theory of Employment, Interest and Money(英) 约翰·梅纳德·凯恩斯简体PDF
简体MOBI
英文PDF
2014-02-22
2015-02-14
2020-03-10
简介
人的行为
——经济学专论
其它中文名:
人类行为的经济学分析
Human Action
——A Treatise on Economics
(奥/美) 路德维希·冯·米塞斯繁體PDF(掃描版)
英文EPUB
英文PDF(扫描版)
2019-04-15
2018-09-15
2019-08-18
简介
经济发展理论The Theory of Economic Development
——An Inquiry into Profits, Capital, Credit, Interest and the Business Cycle
(奥/美) 约瑟夫·熊彼特简体TXT
英文EPUB
2016-05-17
2020-03-10
简介
个人主义与经济秩序Individualism and Economic Order(奥/英) 弗里德里希·哈耶克简体PDF
简体EPUB
简体MOBI
英文EPUB
2013-04-10
2013-09-13
2015-02-14
2020-03-10
简介
企业的性质
其它中文名:
公司的本质
The Nature of the Firm(英) 罗纳德·科斯简体PDF
英文PDF
2019-04-17
2018-09-18
简介
社会成本问题The Problem of Social Cost(英) 罗纳德·科斯英文PDF(扫描版)2018-09-19简介
市场经济
——大师们的思考
The Market Economy
——A Reader
(美) 詹姆斯·多蒂
(美) 德威特·李
简体PDF(扫描版)2013-04-09简介
以自由看待发展Development as Freedom(印度) 阿马蒂亚·森简体PDF(扫描版)2013-04-09简介
短缺经济学Economics of Shortage(匈) 雅诺什·科尔奈简体PDF(扫描版)2015-01-11简介
货币购买力
——其决定因素及其与信贷、利息和危机的关系
The Purchasing Power of Money
——Its Determination and Relation to Credit, Interest and Crises
(美) 欧文·费雪英文PDF2019-08-30简介
利息与价格Interest and Prices(瑞典) 克努特·维克塞尔英文PDF(扫描版)
英文EPUB
2018-09-19
2019-05-02
简介
资本与利息Capital and Interest(奥) 欧根·冯·庞巴维克繁體PDF(第1卷 掃描版)
英文EPUB(第1卷)
2018-09-05
2019-05-02
简介
自然价值Natural Value(奥) 弗里德里希·冯·维塞尔简体PDF
简体PDF(扫描版)
英文PDF
英文HTML
2019-08-18
2020-03-28
2018-09-15
2019-05-02
简介
经济学原理
其它中文名:
国民经济学原理
Principles of Economics(奥) 卡尔·门格尔简体PDF(扫描版)
英文PDF
英文EPUB
2018-09-15
2018-09-15
2019-05-02
简介
卡尔·马克思及其体系的终结
其它中文名:
马克思主义体系的崩溃
Karl Marx and the Close of His System(奥) 欧根·冯·庞巴维克英文EPUB
英文PDF(扫描版)
2019-05-01
2018-09-22
简介
资本论Capital(德) 卡尔·马克思简体PDF(大字版)
英文PDF(大字版)
2018-09-05
2019-05-01
简介
+ +

◇经济 / 经济学 / 评论

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
自由选择
——个人声明
其它中文名:
选择的自由
Free to Choose
——A Personal Statement
(美) 米尔顿·弗里德曼简体PDF
简体PDF(大字版)
简体EPUB
简体MOBI
英文PDF
2013-03-24
2019-08-31
2013-09-13
2015-02-14
2013-04-09
简介
资本主义与自由Capitalism and Freedom(美) 米尔顿·弗里德曼简体PDF
简体PDF(大字版)
简体PDF(扫描版)
简体MOBI
英文PDF
2014-02-13
2019-08-31
2018-09-05
2015-02-14
2020-03-10
简介
对我们生活的误测
——为什么 GDP 增长不等于社会进步
Mismeasuring Our Lives
——Why GDP Doesn't Add Up
(美) 约瑟夫·斯蒂格利茨
(印度) 阿马蒂亚·森
简体PDF(扫描版)
英文EPUB
2015-07-12
2020-03-10
简介
论经济学和经济学家Essays on Economics and Economists(英) 罗纳德·科斯简体PDF(扫描版)
英文PDF
2019-08-31
2020-03-10
简介
经济学的著名寓言
——市场失灵的神话
Famous Fables of Economics
——Myths of Market Failures
(美) 丹尼尔·史普博 (主编)简体PDF(扫描版)2015-11-05简介
充满灵性的经济学Economics from the Heart
——A Samuelson Sampler
(美) 保罗·萨缪尔森简体PDF(扫描版)2013-04-09简介
从来就没有救世主There Has Never Been a Savior许小年简体PDF(扫描版)2013-04-09简介
+ +

◇经济 / 经济学 / 通俗读物

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:大众经济学Economics
——A Very Short Introduction
(英) 帕萨·达斯古普塔简体EPUB
简体AZW3
英文PDF
2015-12-14
2015-12-14
2018-06-24
简介
魔鬼经济学
——揭示隐藏在表象之下的真实世界
Freakonomics
——A Rogue Economist Explores the Hidden Side of Everything
(美) 史蒂芬·列维特
(美) 史蒂芬·都伯纳
简体PDF(扫描版)
简体MOBI
简体EPUB(不全)
英文PDF
2013-04-09
2015-11-14
2015-02-14
2020-03-11
简介
经济为什么会崩溃
——鱼、美元与经济学的故事
其它中文名:
小岛经济学
——鱼、美元和经济的故事
How an Economy Grows and Why It Crashes(美) 彼得·希夫
(美) 安德鲁·希夫
简体EPUB
简体PDF(扫描版)
2019-04-18
2014-03-31
简介
生活中的经济学N/A茅于轼简体PDF
简体EPUB
简体MOBI
2013-04-09
2013-09-13
2015-02-14
简介
谁妨碍了我们致富N/A茅于轼简体TXT2016-05-16简介
+ +

◇经济 / 金融

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
货币金融学Economics of Money, Banking, and Financial Markets(美) 弗雷德里克·米什金简体PDF(第9版 扫描版)
英文PDF(第7版 扫描版)
2015-02-08
2015-01-11
简介
金融学Financial Economics(美) 兹维·博迪
(美) 罗伯特·莫顿
简体PDF(扫描版)2018-06-24简介
期权、期货及其他衍生品Options, Futures and Other Derivatives(加) 约翰·赫尔简体PDF(第7版 扫描版)
英文PDF(第7版 扫描版)
2015-01-11
2015-11-04
简介
默顿·米勒论金融衍生工具Merton Miller on Derivatives(美) 默顿·米勒简体PDF(扫描版)2015-01-11简介
+ +

◇经济 / 投资

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
证券分析Security Analysis(美) 本杰明·格雷厄姆
(美) 戴维·多德
简体PDF(第5版 扫描版)
简体EPUB(第6版)
简体MOBI(第6版)
英文PDF(第6版)
2013-04-29
2013-09-13
2018-12-08
2019-09-01
简介
聪明的投资者
其它中文名:
投资指南
The Intelligent Investor(美) 本杰明·格雷厄姆简体PDF(第4版 扫描版)
英文PDF(第4版)
2014-02-20
2019-05-25
简介
格雷厄姆-多德都市的超级投资者们The Superinvestors of Graham-and-Doddsville(美) 沃伦·巴菲特简体TXT
英文PDF(扫描版)
2015-05-24
2015-05-24
简介
非理性繁荣Irrational Exuberance(美) 罗伯特·希勒简体PDF(第2版 大字版)
简体TXT(第2版 不全)
简体PDF(第1版 扫描版)
英文PDF(第1版)
2019-09-01
2016-05-02
2014-05-23
2019-05-25
简介
随机致富的傻瓜
——发现市场和人生中的隐藏机遇
其它中文名:
随机漫步的傻瓜
Fooled by Randomness
——The Hidden Role of Chance in Life and in the Markets
(黎巴嫩/美) 纳西姆·塔勒布简体PDF(扫描版)
英文EPUB
2018-08-27
2020-03-10
简介
金融炼金术The Alchemy of Finance
——Reading the Mind of the Market
(匈/美) 乔治·索罗斯简体PDF
简体EPUB
简体MOBI
简体TXT
英文PDF(扫描版)
2013-04-29
2013-09-13
2015-05-10
2016-05-02
2020-03-10
简介
股票作手回忆录
其它中文名:
投机之王
——利弗莫尔合集
Reminiscences of a Stock Operator
——With New Commentary and Insights on the Life and Times of Jesse Livermore
(美) 埃德温·李费佛
(美) 杰西·利弗莫尔
简体PDF(扫描版)
英文PDF
2018-09-29
2020-03-10
简介
+ +

◇经济 / 经济学家

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
从马克思到凯恩斯
——十大经济学家
Ten Great Economists
——From Marx to Keynes
(奥/美) 约瑟夫·熊彼特简体PDF(扫描版)
英文PDF
2013-04-09
2020-03-11
简介
经济学大师们New Ideas from Dead Economists
——An Introduction to Modern Economic Thought
(美) 托德·布赫霍尔茨简体PDF(扫描版)
英文EPUB
2018-06-24
2020-03-11
简介
思想者的足迹
——五十位重要的西方经济学家
Fifty Major Economists(美) 史蒂文·普雷斯曼简体PDF(扫描版)
英文PDF(第2版)
英文PDF(第1版)
2015-11-09
2020-03-11
2020-03-11
简介
牛津通识读本:凯恩斯Keynes
——A Very Short Introduction
(英) 罗伯特·斯基德尔斯基英文EPUB2020-03-11简介
知识、自由与秩序
——哈耶克思想论集
Knowledge, Freedom and Order(德) 格尔哈德·帕普克 (主编)简体PDF(扫描版)2018-08-28简介
+ +

◇经济 / 博弈论

+ +(本类别是偏重于经济领域的博弈论)
+

◇经济 / 博弈论 / 通俗读物

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:博弈论Game Theory
——A Very Short Introduction
(英) 肯尼思·宾默尔英文PDF2020-03-11简介
策略思维
——商界、政界及日常生活中的策略竞争
Thinking Strategically
——The Competitive Edge in Business, Politics, and Everyday Life
(美) 阿维纳什·迪克西特
(美) 巴里·奈尔伯夫
简体PDF(扫描版)
简体EPUB
简体MOBI
2014-01-09
2018-06-23
2015-05-10
简介
纳什均衡与博弈论
——纳什博弈论及对自然法则的研究
A Beautiful Math
——John Nash, Game Theory and the Modern Quest for a Code of Nature
(美) 汤姆·齐格弗里德简体PDF(大字版)2019-09-02简介
剪刀、石头、布
——趣味博弈论
Rock, Paper, Scissors
——Game Theory in Everyday Life
(英) 兰·费雪简体PDF(扫描版)2014-04-06简介
+ +

◇经济 / 博弈论 / 理论

+ + + + +
中文书名英文书名作者文件类型上传日期备注
博弈论与经济行为Theory of Games and Economic Behavior(匈/美) 约翰·冯·诺伊曼
(奥/美) 奥斯卡·摩根斯坦
英文PDF(扫描版)2019-09-02简介
+ +

◇经济 / 市场营销

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
定位Positioning
——The Battle for Your Mind
(美) 杰克·特劳特
(美) 阿尔·里斯
简体EPUB
简体PDF(20周年纪念版 扫描版)
简体TXT
英文PDF(20周年纪念版)
2019-04-19
2018-08-27
2016-05-16
2020-03-11
简介
营销战Marketing Warfare(美) 杰克·特劳特
(美) 阿尔·里斯
简体PDF(扫描版)
英文EPUB
2018-08-27
2020-03-11
简介
+ +

◇经济 / (其它)

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
世界是平的
——21世纪简史
The World Is Flat
——A Brief History of the Twenty-first Century
(美) 托马斯·弗里德曼简体PDF(大字版)
简体MOBI
英文PDF
2014-01-09
2015-05-10
2020-03-11
简介
蓝海战略
——超越产业竞争,开创全新市场
Blue Ocean Strategy
——How to Create Uncontested Market Space and Make Competition Irrelevant
(韩) 金伟灿
(美) 勒妮·莫博涅
简体PDF
简体MOBI
简体TXT
英文PDF
2013-12-31
2015-05-10
2016-05-18
2020-03-11
简介
+ +
+

+

★管理

+ +【网盘】
+微软网盘
+BT Sync 密钥:B3WNBTAAFFAODFR6FQ3E3L5BBSJAFNBSJ (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
你的灯亮着吗?
——找到问题的真正所在
Are Your Lights On
——How to Figure Out What the Problem Really Is
(美) 唐纳德·高斯
(美) 杰拉尔德·温伯格
简体EPUB (精校版)
简体PDF
简体MOBI
简体TXT
2015-12-01
2010-11-02
2015-02-13
2012-03-08
简介
第五项修炼
——学习型组织的艺术和实务
The Fifth Discipline
——The Art and Practice of the Learning Organization
(美) 彼得·圣吉简体PDF
简体EPUB
2015-04-05
2017-08-15
简介
21世纪的管理挑战Management Challenges for the 21st Century(奥/美) 彼得·德鲁克英文PDF2018-06-22简介
只有偏执狂才能生存Only the Paranoid Survive(美) 安迪·格鲁夫简体PDF(扫描版)2016-04-24简介
格鲁夫给经理人的第一课High Output Management(美) 安迪·格鲁夫简体PDF(扫描版)2016-04-24简介
成为技术领导者
——解决问题的有机方法
Becoming a Technical Leader
——An Organic Problem-Solving Approach
(美) 杰拉尔德·温伯格简体PDF(扫描版)
英文EPUB
2020-11-30
2020-12-09
简介
+ +
+

+

★社会学

+ +【网盘】
+微软网盘
+BT Sync 密钥:BZR4TTYHT25QWUIE6YNMAKWUGBHKSGLC6 (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇社会学 / 通俗读物

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:社会学Sociology
——A Very Short Introduction
(英) 史蒂夫·布鲁斯英文PDF(第1版)2020-03-14简介
+ +

◇社会学 / 理论

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
社会学的基本概念Basic Concepts in Sociology(德) 马克斯·韦伯简体PDF(扫描版)2015-11-09简介
社会科学方法论N/A(德) 马克斯·韦伯简体PDF(扫描版)2015-11-09简介
+ +

◇社会学 / 传媒

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
理解媒介
——论人的延伸
Understanding Media
——The Extensions of Man
(加) 麦克卢汉简体PDF(扫描版)2017-08-15简介
娱乐至死Amusing Ourselves to Death(美) 尼尔·波兹曼简体PDF(扫描版)
简体EPUB
简体MOBI
2015-01-07
2019-01-06
2015-02-13
简介
引爆点
其它中文名:
引爆流行
The Tipping Point
——How Little Things Can Make a Big Difference
(加) 马尔科姆·格拉德威尔简体PDF(扫描版)2015-11-04简介
+ +

◇社会学 / (其它)

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
反脆弱
——从不确定性中获益
Antifragile
——Things That Gain from Disorder
(美) 纳西姆·塔勒布简体EPUB
简体MOBI
英文EPUB
2018-12-12
2019-03-03
2020-03-14
简介
黑天鹅
——如何应对不可预知的未来
其它中文名:
黑天鹅效应
The Black Swan
——The Impact of the Highly Improbable
(美) 纳西姆·塔勒布简体PDF
简体EPUB
简体MOBI
简体PDF(扫描版)
英文EPUB
2014-01-09
2017-08-15
2015-02-13
2019-05-05
2020-03-14
简介
+ +
+

+

★文艺

+ +【网盘】
+微软网盘
+BT Sync 密钥:BMBB5YLBIJJAE5H6TP27OS7YCEUKCYHZK (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇文艺 / 中国

+ +

◇文艺 / 中国 / 文化

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
中国人的性格
其它中文名:
中国人的素质
Chinese Characteristics(美) 阿瑟·史密斯 (中文名:明恩溥)简体PDF
简体EPUB
简体MOBI
简体TXT
2011-02-09
2013-09-13
2015-07-19
2012-03-19
简介
丑陋的中国人The Ugly Chinaman柏杨 (原名:郭定生)简体TXT
简体EPUB
简体MOBI
2012-10-06
2018-12-08
2015-11-08
简介
吾国与吾民My Country and My People林语堂简体PDF(大字版)
简体EPUB
简体MOBI
简体TXT
2018-08-20
2017-04-30
2014-02-23
2016-05-10
简介
中国比小说更离奇China is Stranger Than Fiction钟祖康简体TXT
简体MOBI
2013-02-25
2013-02-25
简介
来生不做中国人I Don't Want to be Chinese Again钟祖康简体PDF2013-04-14简介
美人赠我蒙汗药N/A王朔简体PDF
简体EPUB
简体MOBI
2013-03-14
2013-09-14
2018-12-08
简介
中国传统文化的陷阱N/A端木赐香 (原名:李桂枝)简体PDF(扫描版)2015-07-12简介
+ +

◇文艺 / 中国 / 文学家、艺术家

+ + + + +
中文书名作者文件类型上传日期备注
胡适口述自传胡适 (英文口述)
唐德刚 (译注)
简体PDF(扫描版)
简体MOBI(不全)
2013-11-26
2015-02-13
简介
+ +

◇文艺 / 中国 / (其它)

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
灵山Soul Mountain(法) 高行健简体PDF
简体EPUB
简体CHM
英文PDF
2013-07-07
2013-09-14
2013-07-07
2019-03-16
简介
一个人的圣经One Man's Bible(法) 高行健简体PDF
简体CHM
英文PDF
2013-07-07
2013-07-07
2019-03-16
简介
寻找家园N/A高尔泰简体PDF
简体MOBI
2013-06-03
2015-02-13
简介
尘世·挽歌N/A土家野夫 (原名:郑世平)简体PDF
简体EPUB
2013-01-07
2015-02-13
简介
看不见的江湖N/A土家野夫 (原名:郑世平)简体PDF2013-06-03简介
文殇N/A袁红冰 (原名:袁红兵)简体CHM2013-06-03简介
沉沦的圣殿
——中国20世纪70年代地下诗歌遗照
N/A廖亦武 (主编)简体PDF(扫描版)
简体PDF(不全)
2013-11-26
2013-01-17
简介
+ +

◇文艺 / 日本

+ +

◇文艺 / 日本 / 文化

+ + + + +
中文书名英文书名作者文件类型上传日期备注
菊花与刀
——日本文化诸模式
其它中文名:
菊花與劍
——日本文化的雙重性
The Chrysanthemum and the Sword(美) 鲁思·本尼迪克特简体PDF
简体PDF(大字版)
简体PDF(扫描版)
简体EPUB(增订版)
2014-01-09
2019-01-04
2017-08-15
2015-07-17
简介
+ +
+

+

★哲学

+ +【网盘】
+微软网盘
+BT Sync 密钥:B6WWVBXPMZDI5IL4KED6AAHA5FO4UNKQF (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇哲学 / 通俗读物

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
你的第一本哲学书
其它中文名:
哲學入門九堂課
What Does It All Mean?
——A Very Short Introduction to Philosophy
(美) 托马斯·内格尔简体PDF(扫描版)
简体MOBI
英文PDF
2014-06-20
2015-02-13
2020-03-12
简介
苏菲的世界Sophie's World
——A Novel about the History of Philosophy
(挪威) 乔斯坦·贾德简体PDF(精校版 无删节)
简体EPUB(精校版 无删节)
简体MOBI(精校版 无删节)
英文PDF
2015-12-24
2015-12-24
2015-12-24
2020-03-12
简介
哲学问题The Problems of Philosophy(英) 伯特兰·罗素简体PDF
简体EPUB
简体MOBI
简体TXT
2014-06-20
2015-02-13
2015-02-13
2016-05-10
简介
+ +

◇哲学 / 哲学史

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
西方哲学史A History of Western Philosophy(英) 伯特兰·罗素简体PDF
简体PDF(大字版)
简体PDF(扫描版)
简体MOBI
简体TXT
英文PDF
2014-06-20
2019-01-06
2015-01-12
2015-02-13
2016-05-11
2020-03-12
简介
西方哲学史A History of Philosophy(美) 弗兰克·梯利简体PDF(增补修订版 扫描版)2018-06-25简介
哲学史讲演录Lectures on the History of Philosophy(德) 黑格尔繁體PDF(掃描版)2018-12-09简介
中国哲学简史A Short History of Chinese Philosophy冯友兰简体PDF
简体EPUB
简体MOBI
2014-06-20
2015-02-13
2015-02-13
简介
中国哲学史大纲N/A胡适简体EPUB2015-02-15简介
形而上学的迷雾The Fog of Metaphysics刘晓波简体PDF(扫描版)2014-07-28简介
+ +

◇哲学 / 哲学家

+ +

◇哲学 / 哲学家 / 苏格拉底

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:苏格拉底Socrates
——A Very Short Introduction
(英) 克里斯托弗·泰勒简体PDF(扫描版)2019-01-19简介
回忆苏格拉底Memorabilia(古希腊) 色诺芬简体CHM
简体PDF(扫描版)
英文EPUB
2014-06-20
2017-03-24
2018-06-25
简介
+ +

◇哲学 / 哲学家 / 柏拉图

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:柏拉图Plato
——A Very Short Introduction
(英) 朱莉娅·安纳斯英文PDF2019-01-16简介
+ +

◇哲学 / 哲学家 / 亚里士多德

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:亚里士多德Aristotle
——A Very Short Introduction
(英) 乔纳森·巴恩斯英文PDF2019-01-14简介
+ +

◇哲学 / 哲学家 / 笛卡尔

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:笛卡尔Descartes
——A Very Short Introduction
(英) 汤姆·索雷尔简体EPUB
简体AZW3
英文PDF
2015-12-04
2015-12-04
2016-12-17
简介
+ +

◇哲学 / 哲学家 / 洛克

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:洛克Locke
——A Very Short Introduction
(英) 约翰·邓恩英文EPUB2020-03-13简介
+ +

◇哲学 / 哲学家 / 康德

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:康德Kant
——A Very Short Introduction
(英) 罗杰·斯克鲁顿简体EPUB
简体AZW3
英文PDF(扫描版)
2015-12-03
2015-12-03
2016-12-17
简介
+ +

◇哲学 / 哲学家 / 黑格尔

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:黑格尔Hegel
——A Very Short Introduction
(澳大利亚) 彼得·辛格英文EPUB2020-03-13简介
+ +

◇哲学 / 哲学家 / 叔本华

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:叔本华Schopenhauer
——A Very Short Introduction
(英) 克里斯托弗·贾纳韦简体EPUB
简体AZW3
英文PDF
2015-12-04
2015-12-04
2016-12-17
简介
+ +

◇哲学 / 哲学家 / 尼采

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:尼采Nietzsche
——A Very Short Introduction
(英) 迈克尔·坦纳简体EPUB
简体AZW3
英文PDF
2015-12-04
2015-12-04
2016-12-17
简介
尼采Nietzsche(德) 马丁·海德格尔简体PDF(扫描版)2019-01-20简介
+ +

◇哲学 / 哲学家 / 罗素

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:罗素Russell
——A Very Short Introduction
(英) 安东尼·格雷林英文PDF2019-01-20简介
我的哲学发展My Philosophical Development(英) 伯特兰·罗素简体PDF(扫描版)2018-06-25简介
+ +

◇哲学 / 哲学家 / 维特根斯坦

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:维特根斯坦Wittgenstein
——A Very Short Introduction
(英) 安东尼·格雷林简体EPUB
简体AZW3
英文PDF
2015-12-04
2015-12-04
2016-12-17
简介
+ +

◇哲学 / 哲学家 / 波普尔

+ + + + +
中文书名英文书名作者文件类型上传日期备注
无尽的探索
——卡尔·波普尔自传
Unended Quest
——An Intellectual Autobiography
(英) 卡尔·波普尔简体EPUB
简体TXT
2015-02-15
2016-05-02
简介
+ +

◇哲学 / 哲学家 / (其他哲学家)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
大哲学家
——思想大师们的生平与精髓
The Great Philosophers
——From Socrates to Turing
(英) 雷·蒙克 (主编)
(英) 弗雷德里克·拉斐尔 (主编)
简体PDF(扫描版)2019-01-20简介
+ +

◇哲学 / 形而上学

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:形而上学Metaphysics
——A Very Short Introduction
(英) 斯蒂芬·芒福德英文EPUB2020-03-12简介
未来形而上学导论Prolegomena to Any Future Metaphysics(德) 伊曼努尔·康德简体CHM
简体PDF(扫描版)
英文PDF
2014-06-20
2017-03-26
2020-03-12
简介
第一哲学沉思集
其它中文名:
形而上学沉思录
Meditations on First Philosophy(法) 勒内·笛卡尔简体PDF
简体PDF(扫描版)
简体TXT
英文PDF
2014-06-20
2017-03-24
2016-05-10
2020-03-12
简介
存在与时间Being and Time
其它英文名:
On Time and Being
(德) 马丁·海德格尔简体TXT
英文PDF(扫描版)
2019-01-21
2020-03-12
简介
+ +

◇哲学 / 知识论与认识论

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
纯粹理性批判Critique of Pure Reason(德) 伊曼努尔·康德简体PDF
简体PDF(扫描版)
英文EPUB
2014-06-20
2017-03-26
2018-06-25
简介
谈谈方法
其它中文名:
方法论
Discourse on the Method(法) 勒内·笛卡尔简体PDF(扫描版)2014-06-20简介
人类理解研究An Enquiry Concerning Human Understanding(英) 大卫·休谟简体PDF(扫描版)
简体MOBI
英文PDF
2014-06-20
2015-02-13
2020-03-12
简介
系统化思维导论An Introduction to General Systems Thinking(美) 杰拉尔德·温伯格简体PDF(扫描版)
英文EPUB
2015-10-24
2020-03-12
简介
+ +

◇哲学 / 逻辑学

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
简单的逻辑学Being Logical
——A Guide to Good Thinking
(美) 丹尼斯·麦克伦尼简体EPUB
简体MOBI
简体PDF(扫描版)
英文PDF
2019-07-18
2015-02-13
2015-01-07
2015-11-10
简介
牛津通识读本:简明逻辑学Logic
——A Very Short Introduction
(英) 格雷汉姆·普里斯特简体EPUB
简体AZW3
英文PDF(扫描版)
2015-12-14
2015-12-14
2016-12-17
简介
+ +

◇哲学 / 伦理学

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:伦理学Ethics
——A Very Short Introduction
(英) 西蒙·布莱克本英文PDF2020-03-13简介
幸福之路The Conquest of Happiness(英) 伯特兰·罗素简体EPUB
简体MOBI
简体TXT
英文EPUB
2014-06-20
2018-12-09
2016-05-10
2020-03-13
简介
道德情操论The Theory of Moral Sentiments(英) 亚当·斯密简体PDF
简体PDF(扫描版)
简体EPUB
简体MOBI
英文PDF
2014-06-20
2015-01-12
2015-11-10
2015-02-13
2020-03-13
简介
论道德的谱系
——一篇论战檄文
其它中文名:
道德谱系学
On the Genealogy of Morality
——A Polemic
(德) 弗里德里希·尼采简体EPUB(注疏版)
简体MOBI(注疏版)
英文PDF
2018-12-10
2018-12-10
2020-03-13
简介
+ +

◇哲学 / 科学哲学

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:科学哲学Philosophy of Science
——A Very Short Introduction
(英) 萨米尔·奥卡沙简体EPUB(第1版)
简体AZW3(第1版)
英文PDF(第1版 扫描版)
2015-12-02
2015-12-02
2019-01-22
简介
科学发现的逻辑The Logic of Scientific Discovery(英) 卡尔·波普尔简体HTML
简体MOBI
英文PDF
2014-06-20
2015-02-13
2020-03-13
简介
猜想与反驳
——科学知识的增长
Conjectures and Refutations
——The Growth of Scientific Knowledge
(英) 卡尔·波普尔简体EPUB
英文PDF
2015-02-15
2020-03-13
简介
+ +

◇哲学 / 美学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
审美与人的自由Aesthetics and Human Freedom刘晓波简体PDF(扫描版)2015-01-12简介
+ +

◇哲学 / (其它)

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
查拉图斯特拉如是说
其它中文名:
苏鲁支语录
Thus Spoke Zarathustra
——A Book for All and None
(德) 弗里德里希·尼采简体PDF
简体EPUB
英文EPUB
2014-06-20
2015-02-13
2018-06-25
简介
作为意志和表象的世界
其它中文名:
作为意志和观念的世界
The World as Will and Representation(德) 亚瑟·叔本华简体PDF(第1卷 大字版)
英文EPUB(共2卷)
2019-01-11
2020-03-13
简介
自由的进化Freedom Evolves(美) 丹尼尔·丹内特简体PDF(扫描版)2015-11-09简介
+ +
+

+

★科普

+ +【网盘】
+微软网盘
+BT Sync 密钥:BKKORLE67ZDUHGHVWAVSRK3N5I7BXLCED (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇科普 / (总论)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
魔鬼出没的世界
——科学,照亮黑暗的蜡烛
其它中文名:
魔鬼盤據的世界
——薩根談 UFO、占星與靈異
The Demon-Haunted World
——Science as a Candle in the Dark
(美) 卡尔·萨根简体PDF2020-12-10简介
+ +

◇科普 / 数学

+ +

◇科普 / 数学 / 数学史

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:数学史The History of Mathematics
——A Very Short Introduction
(英) 杰基·斯特德尔英文EPUB2020-12-10简介
数学
——确定性的丧失
Mathematics
——The Loss of Certainty
(美) 莫里斯·克莱因简体PDF2020-12-10简介
西方文化中的数学Mathematics in Western Culture(美) 莫里斯·克莱因简体PDF(扫描版)2020-12-10简介
费马大定理
——一个困惑了世间智者358年的谜
Fermat's Last Theorem
——The Story of a Riddle That Confounded the World's Greatest Minds for 358 Years
其它英文名:
Fermat's Enigma
——The Epic Quest to Solve the World's Greatest Mathematical Problem
(英) 西蒙·辛格简体EPUB2020-12-10简介
+ +

◇科普 / 数学 / (综述)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
什么是数学
——对思想和方法的基本研究
What Is Mathematics
——An Elementary Approach to Ideas and Methods
(德/美) 理查德·柯朗
(美) 赫伯特·罗宾斯
(英) 伊恩·斯图尔特
简体PDF(第3版 扫描版)2020-12-10简介
+ +

◇科普 / 数学 / 基础理论

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
哥德尔、艾舍尔、巴赫书
——集异璧之大成
Gödel, Escher, Bach
——An Eternal Golden Braid
(美) 道格拉斯·霍夫施塔特 (中文名:侯世达)英文PDF2020-12-11简介
哥德尔证明Gödel's Proof(奥/美) 欧内斯特·内格尔
(美) 詹姆斯·纽曼
简体PDF2020-12-11简介
+ +

◇科普 / 数学 / 代数与分析

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:代数Algebra
——A Very Short Introduction
(英) 彼得·希金斯英文EPUB2020-12-11简介
+ +

◇科普 / 数学 / 几何与拓扑

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:拓扑学Topology
——A Very Short Introduction
(英) 理查德·厄尔英文EPUB2020-12-11简介
+ +

◇科普 / 数学 / 概率与统计

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:概率Probability
——A Very Short Introduction
(英) 约翰·海格英文EPUB2020-12-11简介
牛津通识读本:统计学Statistics
——A Very Short Introduction
(英) 大卫·汉德英文EPUB2020-12-11简介
+ +

◇科普 / 数学 / (其它)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
怎样解题
——数学思维的新方法
How to Solve It
——A New Aspect of Mathematical Method
(匈/瑞士/美) 乔治·波利亚简体PDF(第2版)2020-12-11简介
+ +

◇科普 / 物理学

+ +

◇科普 / 物理学 / 物理学史

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:物理学史The History of Physics
——A Very Short Introduction
(英) 约翰·海尔布隆英文EPUB2020-12-12简介
物理学的进化The Evolution of Physics
——From Early Concepts to Relativity and Quanta
(德/美) 阿尔伯特·爱因斯坦
(波兰) 利奥波德·英费尔德
简体PDF(扫描版)2020-12-12简介
上帝掷骰子吗?
——量子物理史话
History of Quantum Physics曹天元简体EPUB2020-12-12简介
+ +

◇科普 / 物理学 / (综述)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
费曼物理学讲义The Feynman Lectures on Physics(美) 理查德·费曼英文PDF(共3卷 扫描版)2020-12-12简介
+ +

◇科普 / 物理学 / 基础理论

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
物理世界奇遇记Mr Tompkins in Wonderland
其它英文名:
Mr Tompkins Explores the Atom
The New World of Mr Tompkins
(苏/美) 乔治·伽莫夫简体PDF(精校版)2020-12-12简介
从牛顿定律到爱因斯坦相对论N/A(中/美) 方励之
褚耀泉
简体PDF(精校版)2020-12-12简介
量子力学概论Introduction to Quantum Mechanics(美) 大卫·格里菲斯简体PDF(第2版)2020-12-12简介
宇宙的琴弦
——超弦、隐藏维度与终极理论探索
其它中文名:
优雅的宇宙
The Elegant Universe
——Superstrings, Hidden Dimensions and the Quest for the Ultimate Theory
(美) 布莱恩·格林简体PDF(扫描版)2020-12-12简介
+ +

◇科普 / 物理学 / 粒子物理学

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:粒子物理学Particle Physics
——A Very Short Introduction
(英) 弗兰克·克洛斯英文EPUB2020-12-13简介
上帝粒子
——假如宇宙是答案,究竟什么是问题?
The God Particle
——If the Universe Is the Answer, What Is the Question?
(美) 利昂·莱德曼
(美) 迪克·泰雷西
简体PDF(扫描版)2020-12-13简介
希格斯
——“上帝粒子”的发明与发现
Higgs
——The Invention and Discovery of the "God Particle"
(英) 吉姆·巴戈特简体PDF(扫描版)2020-12-13简介
+ +

◇科普 / 物理学 / 核物理学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:核物理学Nuclear Physics
——A Very Short Introduction
(英) 弗兰克·克洛斯英文EPUB2020-12-13简介
+ +

◇科普 / 物理学 / 天体物理学

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
时间简史
——从大爆炸到黑洞
A Brief History of Time
——From the Big Bang to Black Holes
(英) 斯蒂芬·霍金英文EPUB(10周年纪念版)2020-12-13简介
最初三分钟
——关于宇宙起源的现代观点
The First Three Minutes
——A Modern View of the Origin of the Universe
(美) 史蒂文·温伯格简体PDF(扫描版)2020-12-13简介
宇宙的最后三分钟
——关于宇宙归宿的最新观念
The Last Three Minutes
——Conjectures about the Ultimate Fate of the Universe
(美) 保罗·戴维斯简体PDF2020-12-13简介
超越时空
——通过平行宇宙、时间卷曲和第十维度的科学之旅
其它中文名:
穿越超時空
——十度空間科學奇航
Hyperspace
——A Scientific Odyssey Through Parallel Universes, Time Warps and the Tenth Dimension
(美) 加来道雄简体PDF(扫描版)2020-12-13简介
+ +

◇科普 / 物理学 / (其它)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
上帝与新物理学God and the New Physics(美) 保罗·戴维斯简体PDF2020-12-13简介
+ +

◇科普 / 化学

+ +

◇科普 / 化学 / (综述)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:化学Chemistry
——A Very Short Introduction
(英) 彼得·阿特金斯英文EPUB2020-12-14简介
+ +

◇科普 / 化学 / 基础理论

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
化学元素周期王国The Periodic Kingdom
——A Journey into the Land of the Chemical Elements
(英) 彼得·阿特金斯简体HTML2020-12-14简介
牛津通识读本:化学元素The Elements
——A Very Short Introduction
(英) 菲利普·鲍尔英文EPUB2020-12-14简介
牛津通识读本:分子Molecules
——A Very Short Introduction
(英) 菲利普·鲍尔英文EPUB2020-12-14简介
+ +

◇科普 / 化学 / 物理化学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:物理化学Physical Chemistry
——A Very Short Introduction
(英) 彼得·阿特金斯英文EPUB2020-12-14简介
+ +

◇科普 / 化学 / 有机化学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:有机化学Organic Chemistry
——A Very Short Introduction
(英) 格雷汉姆·帕特里克英文EPUB2020-12-14简介
+ +

◇科普 / 生命科学

+ +

◇科普 / 生命科学 / 生物分类学

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:微生物学Microbiology
——A Very Short Introduction
(美) 尼古拉斯·曼尼英文EPUB2020-12-15简介
牛津通识读本:病毒Viruses
——A Very Short Introduction
(英) 多萝西·克劳福德英文EPUB2020-12-15简介
牛津通识读本:细菌Bacteria
——A Very Short Introduction
(英) 塞巴斯蒂安·阿米斯英文EPUB2020-12-15简介
牛津通识读本:真菌Fungi
——A Very Short Introduction
(美) 尼古拉斯·曼尼英文EPUB2020-12-15简介
昆虫记
其它中文名:
昆虫学回忆录
昆虫学札记
Entomological Memories(法) 让-亨利·法布尔简体PDF(节译本)2020-12-15简介
+ +

◇科普 / 生命科学 / 演化生物学

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:基因Genes
——A Very Short Introduction
(美) 乔纳森·斯拉克英文EPUB2020-12-16简介
自私的基因The Selfish Gene(英) 理查德·道金斯简体MOBI(40周年纪念版)2020-12-16简介
社会生物学
——新的综合
Sociobiology
——The New Synthesis
(美) 爱德华·威尔逊简体HTML(节译本)2020-12-16简介
第三种黑猩猩
——人类的身世与未来
The Third Chimpanzee
——The Evolution and Future of the Human Animal
(美) 贾雷德·戴蒙德简体PDF(扫描版)2020-12-16简介
伊甸园的飞龙
——人类智力演化的推测
The Dragons of Eden
——Speculations on the Evolution of Human Intelligence
(美) 卡尔·萨根简体HTML2020-12-16简介
+ +

◇科普 / 生命科学 / 分子生物学

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:分子生物学Molecular Biology
——A Very Short Introduction
(新西兰) 珍妮丝·罗伊兹
(英) 艾莎·迪万
英文EPUB2020-12-16简介
生命是什么?
——生物细胞的物理学见解
其它中文名:
生命是什么?
——活细胞的物理学观
What Is Life?
——The Physical Aspect of the Living Cell
(奥) 埃尔温·薛定谔简体PDF(扫描版)2020-12-16简介
+ +

◇科普 / 生命科学 / 神经生物学

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:认知神经科学Cognitive Neuroscience
——A Very Short Introduction
(英) 理查德·帕辛厄姆英文EPUB2020-12-17简介
意识探秘
——意识的神经生物学研究
The Quest for Consciousness
——A Neurobiological Approach
(美) 克里斯托夫·科赫简体PDF(扫描版)2020-12-17简介
+ +

◇科普 / 生命科学 / 古生物学

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:化石Fossils
——A Very Short Introduction
(英) 基思·汤姆森英文EPUB2020-12-17简介
人类的起源The Origin of Humankind(肯尼亚) 理查德·利基简体PDF2020-12-17简介
+ +

◇科普 / 生命科学 / 医学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
我们为什么生病
——达尔文医学的新科学
Why We Get Sick
——The New Science of Darwinian Medicine
(美) 伦道夫·尼斯
(美) 乔治·威廉斯
简体PDF(扫描版)2020-12-17简介
+ +

◇科普 / 系统科学

+ +

◇科普 / 系统科学 / 混沌理论

+ + + + +
中文书名英文书名作者文件类型上传日期备注
混沌
——开创新科学
Chaos
——Making a New Science
(美) 詹姆斯·格雷克英文EPUB(修订版)2020-12-18简介
+ +

◇科普 / 系统科学 / 复杂系统论

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:复杂Complexity
——A Very Short Introduction
(美) 约翰·霍兰德英文EPUB2020-12-18简介
复杂
——诞生于秩序与混沌边缘的科学
Complexity
——The Emerging Science at the Edge of Order and Chaos
(美) 米歇尔·沃尔德罗普简体PDF(扫描版)2020-12-18简介
夸克与美洲豹
——简单性和复杂性的奇遇
The Quark and the Jaguar
——Adventures in the Simple and the Complex
(美) 默里·盖尔曼简体PDF2020-12-18简介
复杂性思维
——物质、精神和人类的计算动力学
Thinking in Complexity
——The Computational Dynamics of Matter, Mind and Mankind
其它英文名:
Thinking in Complexity
——The Complex Dynamics of Matter, Mind and Mankind
(德) 克劳斯·迈因策尔简体CHM(第2版)2020-12-18简介
隐秩序
——适应性造就复杂性
Hidden Order
——How Adaptation Builds Complexity
(美) 约翰·霍兰德简体PDF(扫描版)2020-12-18简介
+ +

◇科普 / 地球科学

+ +

◇科普 / 地球科学 / 地理学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:地理学Geography
——A Very Short Introduction
(英) 约翰·马修斯
(英) 戴维·赫伯特
英文EPUB2020-12-19简介
+ +

◇科普 / 地球科学 / 气候学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:气候变化
其它中文名:
牛津通识读本:全球变暖
Climate Change
——A Very Short Introduction
其它英文名:
Global Warming
——A Very Short Introduction
(英) 马克·马斯林英文EPUB2020-12-19简介
+ +

◇科普 / 地球科学 / 生态学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:生态学Ecology
——A Very Short Introduction
(伊拉克/英) 贾布尔·加祖英文EPUB2020-12-19简介
+ +

◇科普 / 地球科学 / 环境科学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
寂静的春天Silent Spring(美) 蕾切尔·卡森英文PDF(40周年纪念版)2020-12-19简介
+ +

◇科普 / 空间科学

+ +

◇科普 / 空间科学 / 天文学史

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:天文学史The History of Astronomy
——A Very Short Introduction
(英) 迈克尔·霍斯金英文EPUB2020-12-20简介
+ +

◇科普 / 空间科学 / 宇宙学

+ +(由于现代宇宙学与理论物理的关系很密切,相关的书籍放在【科普类 / 物理学 / 天体物理学】分类目录下)
+

◇科普 / 空间科学 / 恒星天文学

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:恒星Stars
——A Very Short Introduction
(英) 安德鲁·金英文EPUB2020-12-20简介
千亿个太阳
——恒星的诞生、演变和衰亡
100 Billion Suns
——The Birth, Life and Death of the Stars
(德) 鲁道夫·基彭哈恩简体PDF(扫描版)2020-12-20简介
+ +

◇科普 / 科学家

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
别闹了,费曼先生
——科学玩童的故事
Surely You're Joking, Mr.Feynman!(美) 理查德·费曼简体PDF(精校版)2020-12-20简介
我的世界线
——伽莫夫自传
My World Line
——An Informal Autobiography
(苏/美) 乔治·伽莫夫简体PDF(精校版)2020-12-20简介
+ +

◇科普 / (其它)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
从一到无穷大
——科学中的事实和臆测
One Two Three... Infinity
——Facts and Speculations of Science
(苏/美) 乔治·伽莫夫简体PDF(精校版)2020-12-22简介
+ +
+

+

★军事

+ +【网盘】
+微软网盘
+BT Sync 密钥:BMWWZALG4P56LREF47EE2WSWHZEM4E6BL (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇军事 / 军事理论

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
孙子兵法
其它中文名:
孙武兵法
The Art of War孙武简体PDF
繁體PDF(白話版)
简体WEB
2018-08-20
2018-08-20
N/A
简介
战争论On War(普鲁士) 卡尔·冯·克劳塞维茨简体PDF(大字版 3卷本)
简体EPUB(3卷本)
简体PDF(共3卷)
简体PDF(扫描版 3卷本)
2019-04-14
2020-03-28
2013-03-22
2017-08-12
简介
战略论
——间接路线
Strategy
——The Indirect Approach
其它英文名:
The Strategy of Indirect Approach
The Way to Win Wars
(英) 李德·哈特简体PDF(第2版修订版 扫描版)
英文PDF(第2版修订版 扫描版)
2013-02-05
2019-11-12
简介
海权论
其它中文名:
制海权对历史的影响
The Influence of Sea Power upon History, 1660~1783(美) 阿尔弗雷德·马汉简体PDF
简体PDF(扫描版)
英文PDF(扫描版)
2013-03-22
2017-08-11
2020-01-21
简介
制空权The Command of the Air(意) 朱利欧·杜黑简体PDF(前9章)
英文PDF(扫描版)
2013-08-21
2018-08-25
简介
绝对武器
——原子能与世界秩序
The Absolute Weapon
——Atomic Power and World Order
(美) 伯纳德·布罗迪
等
英文PDF(扫描版)2018-08-25简介
世界上二十次重大战役中的决定因素Decisive Factors in Twenty Great Battles of the World(英) 威廉·西摩简体PDF(大字版)2017-08-12简介
+ +

◇军事 / 现代军事史

+ +

◇军事 / 现代军事史 / 二战

+ +

◇军事 / 现代军事史 / 二战 / (综合)

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
第二次世界大战战史大全N/A(英) 阿诺德·汤因比 (主编)简体EPUB
简体CHM
2013-09-13
2013-02-05
简介
第二次世界大战战史History of the Second World War(英) 李德·哈特简体PDF(扫描版)
英文PDF(扫描版)
2015-09-17
2020-01-21
简介
第二次世界大战回忆录The Second World War(英) 温斯顿·丘吉尔简体PDF(大字版)
简体EPUB
简体HTML
简体MOBI
2015-07-18
2013-09-14
2013-03-22
2018-08-20
简介
第二次世界大战史N/A(德) 库尔特·冯·蒂佩尔斯基希简体PDF(2册本 扫描版)2018-11-11简介
大海战
——第二次世界大战海战史
其它中文名:
伟大的海战
The Great Sea War
——The Story of Naval Action in World War II
(美) 切斯特·尼米兹
(美) 埃尔默·波特
简体PDF(大字版)
简体PDF(扫描版)
2019-08-24
2016-12-11
简介
第二次世界大战的决定性战役Decisive Battles of World War II
——The German View
(美) 汉斯·雅各布森简体CHM2013-08-22简介
大东亚战争全史The Complete History of the Great East Asia War(日) 服部卓四郎简体PDF(共4册 扫描版)2015-09-17简介
山的那一边
——被俘德国将领谈二战
The Other Side of the Hill(英) 李德·哈特简体PDF(扫描版)
英文PDF(扫描版)
2017-08-11
2020-03-08
简介
+ +

◇军事 / 现代军事史 / 二战 / 东欧战场

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
苏德战争,1941~1945The Russo-German War, 1941~1945(英) 阿尔伯特·西顿简体PDF2020-03-24简介
失去的胜利
其它中文名:
曼施泰因元帅战争回忆录
Lost Victories
——The War Memoirs of Hitler's Most Brilliant General
(德) 埃里希·冯·曼施坦因简体TXT
英文PDF
2016-05-16
2018-08-20
简介
+ +

◇军事 / 现代军事史 / 二战 / 西欧与北非战场

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
远征欧陆
其它中文名:
艾森豪威尔回忆录
Crusade in Europe(美) 德怀特·艾森豪威尔简体PDF(扫描版)2018-08-21简介
隆美尔战时文件The Rommel Papers(英) 李德·哈特 (主编)简体TXT
英文PDF(扫描版)
2019-06-02
2019-11-23
简介
巴黎烧了吗?
——盟军解放巴黎纪实
Is Paris Burning?(美) 拉莱·科林斯
(法) 多米尼克·拉皮埃尔
简体PDF(扫描版)
英文EPUB
2016-12-11
2020-01-21
简介
+ +

◇军事 / 现代军事史 / 二战 / 太平洋战场

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
联合舰队的覆灭
其它中文名:
連合艦隊の最後
——太平洋海戦史
The End of the Imperial Japanese Navy(日) 伊藤正德简体TXT
英文PDF
2019-07-27
2020-03-08
简介
浩瀚大洋是赌场
——大日本帝国海军兴亡史
N/A俞天任 (网名:冰冷雨天)简体PDF2016-12-11简介
袭击珍珠港N/A(日) 渊田美津雄简体PDF(扫描版)2015-10-25简介
+ +

◇军事 / 现代军事史 / 二战 / 中国战场

+ + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
从九一八到七七事变
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
七七事变
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
八一三淞沪抗战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
南京保卫战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
徐州会战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
中原抗战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
湖南四大会战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
闽浙赣抗战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
粤桂黔滇抗战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
远征印缅抗战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
一寸山河一寸血N/A(多人)简体PDF(纪录片解说词)2015-07-22简介
穿越1945
——纪念抗战胜利70年访谈纪实
Journey 1945美国之音简体PDF(扫描版)2016-07-17简介
中日战争时期的通敌内幕,1937~1945China and Japan at War 1937-1945
——The Politics of Collaboration
(美) 约翰·博伊尔简体PDF(大字版)2017-08-11简介
+ +

◇军事 / 现代军事史 / 韩战

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
朝鲜战争
——李奇微回忆录
The Korean War(美) 马修·李奇威简体PDF2013-03-17简介
朝鲜战争揭秘N/A沈志华繁體PDF(豎排掃描版)2013-02-02简介
朝鲜战争
——俄国档案馆的解密文件
N/A沈志华 (整理)简体PDF2013-07-30简介
朝鲜战争中的美国陆军United States Army in the Korean War(美) 詹姆斯·施纳贝尔
等
简体PDF(共3卷 扫描版)
英文PDF(共5卷 扫描版 缺第5卷)
2017-08-16
2020-03-08
简介
毛泽东、斯大林与朝鲜战争N/A沈志华简体PDF
简体EPUB
简体MOBI
简体PDF(扫描版)
2013-07-30
2013-09-13
2018-12-09
2015-10-25
简介
远东朝鲜战争N/A王树增简体PDF2013-07-30简介
杜鲁门与麦克阿瑟的冲突和朝鲜战争The Truman-MacArthur Controversy and the Korean War(美) 约翰·斯帕尼尔简体PDF(扫描版)2017-02-19简介
+ +

◇军事 / 现代军事史 / 越战

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
基辛格越战回忆录Ending the Vietnam War
——A History of America's Involvement in and Extrication from the Vietnam War
(美) 亨利·基辛格简体EPUB2015-01-11简介
回顾
——越战的悲剧与教训
In Retrospect
——The Tragedy and Lessons of Vietnam
(美) 罗伯特·麦克纳马拉简体PDF
简体HTML
2017-08-12
2018-08-20
简介
中国秘密大发兵
——援越抗美实录
N/A王贤根简体PDF(扫描版)2013-02-05简介
+ +

◇军事 / 现代军事史 / 冷战

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
冷战,1945~1991The Cold War, 1945~1991(英) 约翰·梅森简体PDF(大字版)
英文PDF
2018-11-11
2020-01-21
简介
牛津通识读本:冷战The Cold War
——A Very Short Introduction
(美) 罗伯特·麦克马洪英文PDF
英文MOBI
2015-12-14
2020-12-08
简介
苏联行为的根源The Sources of Soviet Conduct(美) 乔治·凯南简体TXT
英文TXT
英文PDF(扫描版)
2018-08-14
2019-05-28
2020-03-08
简介
凯南长电Long Telegram(美) 乔治·凯南简体TXT
英文TXT
2018-08-14
2019-11-23
简介
冷战史
——遏制与共存备忘录
A Journey Through the Cold War
——A Memoir of Containment and Coexistence
(美) 雷蒙德·加特霍夫简体PDF2017-02-19简介
人心之争
——美国、苏联与冷战
For the Soul of Mankind
——The United States, the Soviet Union and the Cold War
(美) 梅尔文·莱弗勒简体PDF(扫描版)
英文EPUB
2017-02-19
2020-01-21
简介
美国遏制战略与冷战起源再探U.S. Strategy of Containment and the Origins of the Cold War
——A Revist
张曙光简体PDF(扫描版)2018-08-14简介
冰与火之歌
——回首冷战军事对抗史
N/A《现代兵器》杂志社简体PDF(扫描版)2015-02-17简介
+ +

◇军事 / 现代军事史 / 一战

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:第一次世界大战The First World War
——A Very Short Introduction
(英) 迈克尔·霍华德英文PDF
英文MOBI
2015-12-15
2020-12-08
简介
第一次世界大战回忆录The World Crisis(英) 温斯顿·丘吉尔简体TXT
英文MOBI(共5卷)
2016-05-19
2020-01-21
简介
欧洲的悲剧
——第一次世界大战战史
N/A(未知)繁體PDF(掃描版)2017-08-16简介
乱七八糟的第一次世界大战The Frightful First World War(英) 泰瑞·狄利简体PDF(扫描版)2018-08-20简介
+ +

◇军事 / 近代军事史

+ +

◇军事 / 近代军事史 / 甲午战争

+ + + + +
中文书名作者文件类型上传日期备注
绝版甲午
——从海外史料揭秘中日战争
(澳大利亚) 雪珥 (原名:蒋文胜)简体PDF(扫描版)2016-12-10简介
+ +

◇军事 / 近代军事史 / 鸦片战争

+ + + + + + +
中文书名作者文件类型上传日期备注
天朝的崩溃
——鸦片战争再研究
茅海建简体MOBI(第2版)
简体EPUB(第1版)
简体MOBI(第1版)
简体PDF(第1版 扫描版)
2017-05-09
2017-05-09
2017-08-14
2020-11-22
简介
那一次,我们挨打了
——中英第一次鸦片战争全景解读
端木赐香 (原名:李桂枝)简体TXT2015-07-12简介
这一次,我们又挨打了
——中英第二次鸦片战争始末
端木赐香 (原名:李桂枝)简体PDF2015-07-12简介
+ +

◇军事 / 近代军事史 / 南北战争

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
火的考验
——美国南北战争及重建南部
Ordeal By Fire
——The Civil War and Reconstruction
(美) 詹姆斯·麦克弗森简体PDF(扫描版)2017-02-20简介
美国内战The Civil War
——An Illustrated History
(美) 乔弗里·瓦德简体TXT2016-05-15简介
+ +

◇军事 / 古代军事史

+ +

◇军事 / 古代军事史 / 古希腊

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
伯罗奔尼撒战争史History of the Peloponnesian War(古希腊) 修昔底德简体PDF(2册本 扫描版)
简体EPUB
简体TXT
英文PDF(精装版)
英文PDF(共3卷 扫描版)
2014-07-27
2015-02-13
2016-05-01
2018-08-08
2020-01-21
简介
历史
其它中文名:
希波战争史
The Histories(古希腊) 希罗多德简体PDF(扫描版)
英文EPUB
2017-08-11
2020-01-21
简介
亚历山大远征记Anabasis Alexandri(古罗马) 阿利安简体PDF
简体PDF(扫描版)
英文EPUB
2013-02-07
2015-07-18
2018-08-08
简介
牛津通识读本:特洛伊战争The Trojan War
——A Very Short Introduction
(美) 埃里克·克莱因英文EPUB2020-03-24简介
+ +

◇军事 / 古代军事史 / 古罗马

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
高卢战记Commentaries on the Gallic War(古罗马) 尤利乌斯·凯撒简体PDF(扫描版)
简体HTML
简体MOBI
简体TXT
2015-07-11
2014-06-22
2015-02-08
2016-04-30
简介
内战记Commentaries on the Civil War(古罗马) 尤利乌斯·凯撒简体PDF(扫描版)
简体HTML
2015-07-11
2014-06-22
简介
战略之父
——汉尼拔的军事生涯
Father of Strategy
——The Military Life of Hannibal
(美) 特雷弗·杜普伊简体PDF2013-02-05简介
汉尼拔战争N/A王乃新简体PDF(扫描版)2013-02-05简介
+ +

◇军事 / 其它军事史

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
西洋世界军事史
其它中文名:
西方历史上的决定性会战及其影响
A Military History of the Western World
其它英文名:
The Decisive Battles of the Western World and Their Influence upon History
(英) 约翰·富勒简体EPUB(共3卷)2019-11-24简介
影响人类历史进程的100场决定性战役100 Decisive Battles
——From Ancient Times to the Present
(美) 保罗·戴维斯简体PDF(扫描版)2018-08-20简介
+ +

◇军事 / 武器

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:核武器Nuclear Weapons
——A Very Short Introduction
(美) 约瑟夫·锡拉库扎英文PDF
英文MOBI
2015-12-14
2020-12-08
简介
隐形战斗机X-Planes
——Secret Planes and Secret Missions
(美) 戴维·奥利弗
(美) 迈克·瑞安
简体PDF(扫描版)2017-05-05简介
简氏枪械鉴赏指南典藏版Jane's Guns Recognition Guide理查德·琼斯
安德鲁·怀特
简体PDF(扫描版)2018-08-20简介
+ +

◇军事 / 美国

+ + + + +
中文书名英文书名作者文件类型上传日期备注
美军生存手册U.S. Army Survival Manual(美) 美国国防部简体PDF(扫描版)2017-02-19简介
+ +
+

+

★IT

+ +(IT领域的发展太快,导致书籍的生命周期变短。所以俺尽量挑选那些生命周期比较长的电子书。)
+【网盘】
+微软网盘
+BT Sync 密钥:BUPSDXFA3TP7KCMLHALRHLIX2FEJEUJFE (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇IT / 软件开发

+ +

◇IT / 软件开发 / 软件工程

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
人月神话The Mythical Man-Month
——Essays on Software Engineering
(美) Frederick Brooks简体PDF(20周年纪念版)
简体EPUB(20周年纪念版)
简体TXT(20周年纪念版)
英文PDF(20周年纪念版)
英文CHM(20周年纪念版)
2018-11-09
2013-10-20
2016-05-01
2016-12-22
2013-10-20
简介
人件Peopleware
——Productive Projects and Teams
(美) Tom Demarco
(美) Timothy Lister
简体PDF(第3版 扫描版)
简体PDF(第2版)
简体PDF(第2版 扫描版)
英文PDF(第2版)
2020-11-20
2015-11-07
2013-10-20
2013-10-20
简介
软件工程
——实践者的研究方法
Software Engineering
——A Practitioner's Approach
(美) Roger Pressman英文PDF(第8版)2018-07-29简介
代码大全
其它中文名:
軟體建構之道
Code Complete
——A Practical Handbook of Software Construction
(美) Steve McConnell简体PDF(第2版 扫描版)
英文CHM(第2版)
简体PDF(第1版)
2017-08-08
2013-10-20
2013-10-20
简介
重构
——改善既有代码的设计
Refactoring
——Improving the Design of Existing Code
(英) Martin Fowler
(美) Kent Beck
John Brant
(美) William Opdyke
Don Roberts
英文PDF(第2版)
简体PDF(第1版)
简体PDF(第1版 扫描版)
英文PDF(第1版)
英文CHM(第1版)
2020-11-20
2020-11-20
2016-12-22
2017-08-09
2013-10-20
简介
敏捷软件开发
——原则、模式与实践
Agile Software Development
——Principles, Patterns and Practices
(美) Robert Martin简体PDF(扫描版)
英文PDF
2015-11-08
2020-04-06
简介
代码整洁之道
——程序员的职业素养
Clean Code
——A Handbook of Agile Software Craftsmanship
(美) Robert Martin简体PDF(扫描版)
英文PDF
2020-11-20
2020-04-08
简介
最后期限
其它中文名:
最後期限
——專案管理101個成功法則
The Deadline
——A Novel about Project Management
(美) Tom Demarco简体PDF
英文PDF
2013-10-20
2020-04-03
简介
+ +

◇IT / 软件开发 / 编程语言

+ +(本类别放置“具体编程语言相关”的编程类电子书)
+

◇IT / 软件开发 / 编程语言 / C

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
C 程序设计语言The C Programming Language(加) Brian Kernighan
(美) Dennis Ritchie
简体PDF(第2版)
英文PDF(第2版)
英文EPUB(第2版)
2017-08-08
2015-11-07
2015-07-21
简介
C Primer PlusC Primer Plus(美) Stephen Prata简体EPUB(第6版)
英文PDF(第5版)
2020-07-09
2020-07-09
简介
C 陷阱与缺陷C Traps and Pitfalls(美) Andrew Koenig简体PDF(扫描版)
英文PDF
2015-11-15
2015-11-07
简介
The GNU C Programming TutorialThe GNU C Programming Tutorial(英) Mark Burgess英文PDF
英文WEB
2016-12-21
N/A
简介
21世纪 C 语言技巧21st Century C
——C Tips from the New School
Ben Klemens英文EPUB2015-07-21简介
+ +

◇IT / 软件开发 / 编程语言 / C++

+ + + + + + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
C++ 程序设计语言The C++ Programming Language(丹麦) Bjarne Stroustrup英文PDF(第4版)
英文PDF(特别版)
简体PDF(特别版 扫描版)
2020-04-08
2013-10-21
2013-10-29
简介
Accelerated C++Accelerated C++
——Practical Programming by Example
(美) Andrew Koenig
(美) Barbara Moo
简体PDF(扫描版)2020-07-09简介
Effective C++
——改善程序与设计的55个具体做法
Effective C++
——55 Specific Ways to Improve Your Programs and Designs
(美) Scott Meyers英文PDF(第3版)
英文CHM(第3版)
2018-08-04
2013-10-21
简介
More Effective C++
——35个改善编程与设计的有效方法
More Effective C++
——35 New Ways to Improve Your Programs and Designs
(美) Scott Meyers英文PDF
简体PDF
2013-10-21
2015-05-12
简介
Effective Modern C++
——改善 C++11 和 C++14 的42个具体做法
Effective Modern C++
——42 Specific Ways to Improve Your Use of C++11 and C++14
(美) Scott Meyers英文PDF2018-08-04简介
C++ 编程规范
——101 条规则、准则与最佳实践
C++ Coding Standards
——101 Rules, Guidelines, and Best Practices
(美) Herb Sutter
(美) Andrei Alexandrescu
英文CHM2013-10-20简介
C++ 必知必会C++ Gotchas
——Avoiding Common Problems in Coding and Design
(美) Stephen Dewhurst英文CHM2015-11-05简介
C++ Primer PlusC++ Primer Plus(美) Stephen Prata英文PDF(第5版)2018-09-11简介
C++ PrimerC++ Primer(美) Stanley Lippman
等
英文CHM(第4版)
简体PDF(第3版)
2013-10-20
2013-10-24
简介
C++ 标准库
——自修教程与参考手册
The C++ Standard Library
——A Tutorial and Reference
(德) Nicolai Josuttis英文CHM
简体PDF(扫描版)
2013-10-20
2015-05-12
简介
超越 C++ 标准库
——Boost 库导论
Beyond the C++ Standard Library
——An Introduction to Boost
Björn Karlsson英文CHM2018-08-04简介
C++ 编程思想Thinking in C++(美) Bruce Eckel英文PDF(第2版 卷1)
英文PDF(第2版 卷2)
简体PDF(第1版)
2019-03-29
2019-03-29
2018-07-20
简介
深度探索 C++ 对象模型Inside the C++ Object Model(美) Stanley Lippman英文CHM
简体PDF(扫描版)
2013-10-20
2018-08-04
简介
C++ 设计新思维
——泛型编程与设计模式之应用
Modern C++ Design
——Generic Programming and Design Patterns Applied
(美) Andrei Alexandrescu简体PDF(扫描版)
英文PDF
英文CHM
英文MOBI
2015-11-08
2018-08-04
2016-12-21
2018-08-04
简介
C++ Templates 全览C++ Templates
——The Complete Guide
(比利时) David Vandevoorde
(德) Nicolai Josuttis
简体PDF(第1版 扫描版)
英文EPUB(第2版)
英文EPUB(第1版)
英文CHM(第1版)
2020-07-09
2018-11-11
2018-08-04
2015-05-12
简介
C++ 模板元编程C++ Template Metaprogramming
——Concepts, Tools and Techniques from Boost and Beyond
(美) David Abrahams
(美) Aleksey Gurtovoy
简体PDF(扫描版)2020-07-09简介
C++ 语言的设计和演化The Design and Evolution of C++(丹麦) Bjarne Stroustrup简体PDF(扫描版)
英文PDF
2013-10-25
2018-08-04
简介
STL 源码剖析The Annotated STL Sources侯捷 (原名:侯俊杰)简体PDF(扫描版)2015-11-05简介
大规模 C++ 程序设计Large-Scale C++ Software Design(美) John Lakos简体PDF(扫描版)
英文DJVU(扫描版)
2013-10-30
2020-04-04
简介
+ +

◇IT / 软件开发 / 编程语言 / Python

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
Python 学习手册Learning Python(美) Mark Lutz英文PDF(第5版)
英文EPUB(第5版)
英文PDF(第4版)
2019-08-23
2013-10-21
2017-08-10
简介
深入 Python3Dive into Python3(美) Mark Pilgrim英文PDF
英文WEB
简体PDF
2013-10-21
N/A
2013-10-21
简介
Python CookbookPython Cookbook(美) David Beazley
(美) Brian Jones
简体PDF(第3版)
简体WEB
英文PDF(第3版)
2019-03-26
N/A
2013-10-21
简介
像计算机科学家一样思考 PythonThink Python
——How to Think Like a Computer Scientist
(美) Allen Downey简体PDF(第2版)
英文PDF(第2版)
英文WEB
2018-08-04
2015-01-11
N/A
简介
深入 PythonDive into Python(美) Mark Pilgrim英文PDF
简体PDF
2013-10-21
2013-10-21
简介
+ +

◇IT / 软件开发 / 编程语言 / Java

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
Java 编程思想Thinking in Java(美) Bruce Eckel英文PDF(第4版)
简体PDF(第4版 扫描版)
2013-10-21
2014-05-18
简介
Effective JavaEffective Java(美) Joshua Bloch简体PDF(第2版 扫描版)
英文PDF(第2版)
英文PDF(第1版)
2016-12-15
2015-11-17
2015-11-07
简介
Java 性能优化权威指南Java PerformanceCharlie Hunt
Binu John
英文PDF(第1版)2015-11-08简介
+ +

◇IT / 软件开发 / 编程语言 / JavaScript

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
JavaScript 权威指南JavaScript
——The Definitive Guide
(美) David Flanagan简体PDF(第6版 扫描版)
英文PDF(第6版)
英文CHM(第5版)
2015-11-15
2015-11-08
2016-12-21
简介
JavaScript 高级程序设计Professional JavaScript for Web Developers(美) Nicholas Zakas简体PDF(第3版 扫描版)
英文PDF(第1版)
2017-08-10
2019-03-29
简介
JavaScript 语言精粹JavaScript
——The Good Parts
(美) Douglas Crockford简体PDF(修订版 扫描版)
简体PDF(扫描版)
英文PDF
2019-03-29
2018-07-19
2016-12-21
简介
+ +

◇IT / 软件开发 / 编程语言 / Lisp

+ + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
计算机程序的构造和解释Structure and Interpretation of Computer Programs(美) Harold Abelson
(美) Gerald Jay Sussman
(美) Julie Sussman
简体PDF(第2版 扫描版)
英文PDF(第2版)
英文WEB
2015-07-20
2016-12-21
N/A
简介
程序设计方法How to Design Programs
——An Introduction to Computing and Programming
(美) Matthias Felleisen
(美) Robby Findler
(美) Matthew Flatt
(美) Shriram Krishnamurthi
英文PDF(第1版)
英文WEB(第2版)
英文WEB(第1版)
2019-07-30
N/A
N/A
简介
ANSI Common LispANSI Common Lisp(美) Paul Graham简体PDF
英文PDF
简体WEB
繁體WEB
2018-06-28
2015-01-11
N/A
N/A
简介
实用 Common Lisp 编程Practical Common Lisp(美) Peter Seibel简体PDF(扫描版)2018-06-28简介
Common Lisp
——The Language
Common Lisp
——The Language
(美) Guy Steele英文PDF(第2版)
英文PS(第2版)
英文WEB
2017-05-09
2016-12-21
N/A
简介
On Lisp
——Advanced Techniques for Common Lisp
On Lisp
——Advanced Techniques for Common Lisp
(美) Paul Graham简体PDF
英文PDF
2017-08-09
2015-01-11
简介
Lisp 之根源The Roots of Lisp(美) Paul Graham简体PS
英文PDF
简体WEB
2018-07-20
2016-12-12
N/A
简介
Lisp 的演化The Evolution of Lisp(美) Guy Steele
(美) Richard Gabriel
英文PDF2018-10-29简介
GNU Emacs Lisp 编程入门An introduction to Programming in Emacs Lisp(美) Robert J. Chassell简体PDF(扫描版)
英文PDF(版本3.10)
英文PDF(版本2.05)
2018-06-28
2015-11-17
2015-11-03
简介
Basic Lisp TechniquesBasic Lisp TechniquesDavid Cooper英文PDF2015-01-11简介
+ +

◇IT / 软件开发 / 编程语言 / Go

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
Go 程序设计语言
其它中文名:
Go 语言圣经
The Go Programming Language(美) Alan Donovan
(加) Brian Kernighan
简体PDF(第1版)
英文PDF(第1版)
2018-07-20
2020-04-02
简介
Go 入门指南The Way To Go
——A Thorough Introduction to the Go Programming Language
(比利时) Ivo Balbaert简体PDF
简体WEB
英文PDF
2019-03-30
N/A
2018-07-20
简介
Go 语言程序设计Programming in Go
——Creating Applications for the 21st Century
(英) Mark Summerfield英文PDF(第1版)2018-07-20简介
+ +

◇IT / 软件开发 / 编程语言 / Ruby

+ + + + +
中文书名英文书名作者文件类型上传日期备注
Ruby 程序设计Programming Ruby
——The Pragmatic Programmer's Guide
(美) David Thomas
(美) Andrew Hunt
英文PDF(第4版)2020-04-08简介
+ +

◇IT / 软件开发 / 编程语言 / Rust

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
Rust 程序设计语言The Rust Programming LanguageRust 开发团队英文PDF(第2版)
英文EPUB(第2版)
英文PDF(第1版)
英文EPUB(第1版)
英文WEB(第2版)
简体WEB(第2版)
2018-07-20
2018-11-09
2018-07-20
2018-11-09
N/A
N/A
简介
Rust 程序设计Programming Rust
——Fast, Safe Systems Development
(美) Jim Blandy
(美) Jason Orendorff
英文PDF(第1版 大字版)
英文EPUB(第1版 不全)
2020-04-06
2019-03-30
简介
+ +

◇IT / 软件开发 / 编程语言 / Prolog

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
Programming in Prolog
——Using the ISO Standard
Programming in Prolog
——Using the ISO Standard
(英) William Clocksin
(英) Christopher Mellish
英文PDF(第5版 扫描版)2018-07-18简介
Logic Programming with PrologLogic Programming with Prolog(英) Max Bramer英文PDF(第1版)2018-07-18简介
An Introduction to Logic Programming through PrologAn Introduction to Logic Programming through Prolog(英) Michael Spivey英文PDF2018-07-18简介
+ +

◇IT / 软件开发 / 编程语言 / (其它)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
编程之魂
——与27位编程语言创始人对话
Masterminds of Programming
——Conversations with the Creators of Major Programming Languages
Federico Biancuzzi
Shane Warden
简体PDF(扫描版)
英文PDF
2015-05-12
2020-04-02
简介
+ +

◇IT / 软件开发 / 编程范式

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
七周七语言
——理解多种编程范型
Seven Languages in Seven Weeks
——A Pragmatic Guide to Learning Programming Languages
(美) Bruce Tate简体PDF
英文PDF
2017-05-06
2018-08-04
简介
设计模式
——可复用面向对象软件的基础
Design Patterns
——Elements of Reusable Object-Oriented Software
Gang of Four (模式四人帮)简体PDF
简体PDF(扫描版)
英文CHM
2013-10-21
2018-10-29
2013-10-20
简介
Head First 设计模式Head First Design PatternsEric Freeman
Elisabeth Robson
Bert Bates
Kathy Sierra
简体PDF(扫描版)2016-12-23简介
七周七并发模型Seven Concurrency Models in Seven Weeks
——When Threads Unravel
(美) Paul Butcher简体PDF(扫描版)
英文PDF
2018-07-25
2019-07-31
简介
+ +

◇IT / 软件开发 / 算法与数据结构

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
计算机程序设计艺术The Art of Computer Programming(美) Donald Knuth (中文名:高德纳)英文DJVU(共3卷 1998套装 扫描版)2020-04-11简介
算法导论Introduction to Algorithms(美) Thomas Cormen
(美) Charles Leiserson
(美) Ronald Rivest
(美) Clifford Stein
简体PDF(第3版 扫描版)
英文PDF(第3版)
英文CHM(第2版)
2015-10-25
2013-10-21
2013-10-30
简介
算法概论Algorithms(美) Sanjoy Dasgupta
(希腊) Christos Papadimitriou
(印度) Umesh Vazirani
简体PDF(扫描版)
英文PDF
2020-04-11
2018-07-29
简介
算法设计手册
其它中文名:
算法设计指南
The Algorithm Design Manual(美) Steven Skiena英文PDF(第2版)2018-07-29简介
编程珠玑Programming Pearls(美) Jon Bentley英文PDF(第2版)
简体PDF(第2版 扫描版)
2013-10-21
2013-10-21
简介
算法心得
——高效算法的奥秘
Hacker's Delight(美) Henry Warren Jr.简体PDF(第2版 扫描版)
英文PDF(第1版 大字版)
2020-11-20
2020-07-09
简介
数学之美Beauty of Mathematics吴军简体PDF(第1版)
简体TXT(第1版)
2018-10-29
2016-05-15
简介
+ +

◇IT / 软件开发 / 调试与测试

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
软件调试修炼之道Debug It
——Find, Repair and Prevent Bugs in Your Code
(美) Paul Butcher英文PDF2020-04-06简介
软件调试的艺术The Art of Debugging with GDB, DDD and Eclipse(美) Norman Matloff
(美) Peter Salzman
简体PDF(扫描版)2020-04-10简介
+ +

◇IT / 软件开发 / 操作系统相关

+ +(本类别放置“具体操作系统相关”的编程类电子书)
+

◇IT / 软件开发 / 操作系统相关 / UNIX 与 Linux

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
UNIX 编程艺术The Art of UNIX Programming(美) Eric Raymond简体PDF(扫描版)
英文PDF
英文EPUB
英文MOBI
英文CHM
2017-05-06
2019-08-17
2018-08-04
2018-08-04
2013-10-20
简介
Linux/UNIX 设计思想Linux and the UNIX Philosophy
其它英文名:
The UNIX Philosophy
(美) Mike Gancarz英文CHM(第2版)2020-04-10简介
UNIX 环境高级编程Advanced Programming in the UNIX Environment(美) Richard Stevens
(美) Stephen Rago
简体PDF(第3版 扫描版)
简体PDF(第2版 扫描版)
英文PDF(第3版)
英文CHM(第2版)
2017-08-09
2014-05-13
2013-11-14
2013-10-21
简介
UNIX 系统编程UNIX Systems Programming
——Communication, Cocurrency and Threads
其它英文名:
Practical UNIX Programming
——A Guide to Concurrency, Communication and Multithreading
(美) Kay Robbins
(美) Steven Robbins
英文CHM2013-10-21简介
如何编写动态库How to Write Shared Libraries(美) Ulrich Drepper英文PDF2019-03-17简介
精通 Linux 设备驱动程序开发Essential Linux Device Drivers(印度) Venkateswaran简体PDF(扫描版)2015-11-06简介
+ +

◇IT / 软件开发 / 操作系统相关 / Windows

+ + + + +
中文书名英文书名作者文件类型上传日期备注
Windows 核心编程Windows via C & C++
其它英文名:
Programming Applications for Windows
(美) Jeffrey Richter英文CHM(第5版)
简体PDF(第4版)
英文CHM(第4版)
2020-04-10
2014-05-13
2013-10-21
简介
+ +

◇IT / 软件开发 / 网络相关

+ +(本类别放置“网络相关”的编程类电子书)
+

◇IT / 软件开发 / 网络相关 / C & C++

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
UNIX 网络编程
包括如下:
第1卷 套接字联网 API
第2卷 进程间通讯
UNIX Network Programming(美) Richard Stevens简体PDF(共2卷 扫描版)
英文PDF(共2卷)
英文CHM(共2卷 缺第2卷)
英文DJVU(共2卷 扫描版)
2020-11-20
2019-08-17
2013-10-20
2020-07-09
简介
ZeroMQZeroMQ
——Use ZeroMQ and Learn How to Apply Different Message Patterns
Faruk Akgul英文PDF2018-07-02简介
C++ 网络编程
包括如下:
第1卷 运用 ACE 和模式消除复杂性
第2卷 基于 ACE 和框架的系统化复用
C++ Network Programming(美) Douglas Schmidt英文CHM(共2卷)2013-10-21简介
+ +

◇IT / 软件开发 / 网络相关 / Python

+ + + + +
中文书名英文书名作者文件类型上传日期备注
Twisted Network Programming EssentialsTwisted Network Programming Essentials
——Developing With Python's Event-driven Framework
Abe Fettig
(美) Jessica McKellar
英文CHM(第1版)2016-12-22简介
+ +

◇IT / 软件开发 / Web 相关

+ +

◇IT / 软件开发 / Web 相关 / 架构设计

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
RESTful Web ServicesRESTful Web Services(美) Leonard Richardson
(美) Sam Ruby
英文PDF
英文EPUB
英文WEB
2016-12-22
2017-05-06
N/A
简介
RESTful Web Services CookbookRESTful Web Services Cookbook(美) Subbu Allamaraju简体PDF
英文PDF
2018-06-28
2017-08-09
简介
+ +

◇IT / 软件开发 / Web 相关 / 服务端框架

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
Ruby on Rails 教程Ruby on Rails Tutorial
——Learn Web Development with Rails
(美) Michael Hartl英文EPUB(第4版)2020-04-09简介
Django 基础教程Tango with Django
——A Beginner's Guide to Web Development with Django
其它英文名:
Tango with Django
——Learn Web Development with Python and Django
Leif Azzopardi
David Maxwell
英文PDF(Django 1.9)
英文WEB
2020-04-09
N/A
简介
+ +

◇IT / 软件开发 / 硬件相关

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
编码
——隐匿在计算机软硬件背后的语言
Code
——The Hidden Language of Computer Hardware and Software
(美) Charles Petzold简体PDF(扫描版)
英文PDF
2017-08-08
2019-08-17
简介
每个程序员都应该了解的内存知识What Every Programmer Should Know About Memory(美) Ulrich Drepper英文PDF2017-08-10简介
+ +

◇IT / 软件开发 / (其它)

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
程序员修炼之道
——从小工到专家
Pragmatic Programmers
——From Journeyman to Master
(美) Andrew Hunt
(美) David Thomas
简体PDF(扫描版)
简体PDF(扫描版)
简体TXT
英文PDF
2017-08-09
2013-10-21
2016-05-01
2013-10-19
简介
约耳趣谈软体Joel on Software(美) Joel Spolsky英文EPUB
英文CHM
2015-01-11
2016-12-22
简介
软件随想录More Joel on Software(美) Joel Spolsky简体PDF(扫描版)
英文PDF
2015-02-17
2015-01-11
简介
程序员应该知道的97件事97 Things Every Programmer Should Know
——Collective Wisdom from the Experts
(英) Kevlin Henney (主编)英文PDF
英文EPUB
2018-07-02
2020-04-08
简介
编程人生
——15位软件先驱访谈录
Coders at Work
——Reflections on the Craft of Programming
(美) Peter Seibel英文PDF2015-11-08简介
代码阅读方法与实践Code Reading
——The Open Source Perspective
(希腊) Diomidis Spinellis简体PDF(扫描版)
英文CHM
2015-11-03
2020-04-04
简介
+ +

◇IT / 黑客文化与开源文化

+ +(考虑到“黑客”一词已经被严重误解,俺单独放一个目录介绍黑客文化。希望大伙儿搞清楚:“黑客/Hacker”与“骇客/Cracker”是有天壤之别的)
+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
自由软件,自由社会
——理查德·斯托曼选集
Free Software, Free Society
——Selected Essays of Richard M. Stallman
(美) Richard Stallman简体PDF(第3版)
简体EPUB(第3版)
英文PDF(第3版)
简体WEB(第3版)
2019-03-14
2019-03-14
2019-03-14
N/A
简介
大教堂与集市
其它中文名:
大教堂和市集
黑客五部曲
包括如下:
黑客文化简史
大教堂和集市
如何成为一名黑客
开拓智域
魔法大锅炉
The Cathedral and the Bazaar(美) Eric Raymond简体PDF
简体EPUB
简体MOBI
英文PDF
2013-10-20
2015-12-25
2015-12-25
2020-04-09
简介
黑客与画家Hackers and Painters
——Big Ideas from the Computer Age
(美) Paul Graham简体PDF(扫描版)
简体EPUB
简体MOBI
简体TXT
英文PDF
英文EPUB
2013-04-06
2013-10-20
2014-02-23
2016-04-29
2017-08-08
2020-04-04
简介
黑客
——计算机革命的英雄
Hackers
——Heroes of the Computer Revolution
(美) Steven Levy简体PDF(25周年纪念版 扫描版)
简体MOBI(25周年纪念版)
简体EPUB
英文PDF
2014-01-28
2015-07-20
2015-07-20
2015-05-12
简介
若为自由故
——自由软件之父理查德·斯托曼传
Free as in Freedom
——Richard Stallman's Crusade for Free Software
(美) Sam Williams简体TXT(第2版)
英文PDF(第2版)
英文PDF(第1版)
英文WEB(第1版)
2019-03-09
2016-12-21
2019-08-01
N/A
简介
乐者为王
——自由软件 Linux 之父李纳斯·托沃兹自述
其它中文名:
只是为了好玩
——Linux 之父林纳斯自传
Just for Fun
——The Story of an Accidental Revolutionary
(芬兰/美) Linus Torvalds简体EPUB
简体PDF(扫描版)
英文EPUB
2015-11-15
2016-12-12
2019-08-01
简介
线上幽灵
——世界头号黑客米特尼克自传
Ghost in the Wires
——My Adventures as the World's Most Wanted Hacker
(美) Kevin Mitnick简体PDF(扫描版)
英文PDF
2020-04-09
2019-08-03
简介
自由文化Free Culture
——How Big Media Uses Technology and the Law to Lock Down Culture and Control Creativity
(美) Lawrence Lessig英文PDF2015-12-09简介
制造开源软件
——如何成功运营自由软件项目
Producing Open Source Software
——How to Run a Successful Free Software Project
Karl Fogel简体EPUB
英文EPUB
英文PDF
简体WEB
英文WEB
2016-12-21
2016-12-21
2017-05-06
N/A
N/A
简介
+ +

◇IT / 信息安全

+ +(俺在博客上写了不少信息安全的扫盲教程,如果不分享几本相关的书,实在说不过去啊)
+

◇IT / 信息安全 / 社会工程学

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
欺骗的艺术
其它中文名:
反欺骗的艺术
——世界传奇黑客的经历分享
The Art of Deception
——Controlling the Human Element of Security
(美) Kevin Mitnick简体PDF
简体EPUB
简体MOBI
英文PDF
2013-10-20
2015-07-17
2015-02-09
2013-10-20
简介
社会工程
——安全体系中的人性漏洞
Social Engineering
——The Art of Human Hacking
其它英文名:
Social Engineering
——The Science of Human Hacking
(美) Christopher Hadnagy英文PDF(第2版)
英文PDF(第1版)
2020-04-02
2020-04-02
简介
+ +

◇IT / 信息安全 / 密码学

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
密码学原理与实践Cryptography
——Theory and Practice
(加) Douglas Stinson简体PDF(第2版 扫描版)
英文CHM
2013-10-21
2013-10-30
简介
应用密码学
——协议、算法与 C 源程序
Applied Cryptography
——Protocols, Algorithms, and Source Code in C
(美) Bruce Schneier简体PDF(第2版 扫描版)
英文EPUB(第2版)
英文PDF(第2版)
2013-11-26
2015-07-21
2013-10-21
简介
密码编码学与网络安全
——原理与实践
Cryptography and Network Security
——Principles and Practice
(美) William Stallings英文PDF(第5版)
英文PDF(第4版)
简体PDF(第3版 扫描版)
2013-11-18
2019-03-25
2013-11-18
简介
+ +

◇IT / 信息安全 / 安全加固

+ + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
Windows 7 安全指南N/AN/A简体PDF(扫描版)2014-02-13简介
Debian 官方安全手册Securing Debian ManualN/A英文PDF(文档版本3.17)
英文WEB
2015-07-21
N/A
简介
Fedora 官方 wiki 安全特性Security FeaturesN/A英文WEBN/AN/A
RHEL 官方安全手册Red Hat Enterprise Linux Security Guide
其它英文名:
Red Hat Enterprise Linux Security Hardening
N/A英文PDF(RHEL8)
英文PDF(RHEL7)
英文PDF(RHEL6)
2020-07-09
2018-10-30
2014-02-22
简介
CentOS 官方安全指南OS ProtectionN/A英文WEBN/AN/A
Ubuntu 桌面版官方安全手册Basic Ubuntu Security Guide, Desktop EditionN/A英文WEBN/AN/A
openSUSE 官方安全手册openSUSE Leap Security GuideN/A英文WEBN/AN/A
Arch Linux 官方安全手册Security
——Recommendations and Best Practices for Hardening an Arch Linux System
N/A英文WEBN/AN/A
Gentoo 官方安全手册Gentoo Security HandbookN/A英文WEBN/AN/A
+ +

◇IT / 信息安全 / 入侵与渗透测试

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
入侵的艺术The Art of Intrusion
——The Real Stories Behind the Exploits of Hackers, Intruders and Deceivers
(美) Kevin Mitnick简体PDF(扫描版)
简体EPUB
英文PDF
2014-02-04
2015-07-17
2014-01-09
简介
黑客之道
——漏洞发掘的艺术
Hacking
——The Art of Exploitation
(美) Jon Erickson英文PDF(第2版)
英文CHM(第1版)
2018-07-29
2019-08-02
简介
灰帽攻击安全手册
——渗透测试与漏洞分析技术
Gray Hat Hacking
——The Ethical Hacker's Handbook
Allen Harper
等
英文PDF(第3版)
英文PDF(第2版)
简体PDF(第1版)
2018-07-25
2019-03-24
2018-11-09
简介
黑客攻防技术宝典
——Web 实战篇
The Web Application Hacker's Handbook
——Finding and Exploiting Security Flaws
(英) Dafydd Stuttard (网名:PortSwigger)
(英) Marcus Pinto
英文PDF(第2版)2019-03-24简介
Shellcoder 编程揭秘Shellcoder's Programming Uncovered(俄) Kris Kaspersky简体PDF(扫描版)2018-07-25简介
Shellcoder 手册
——发现和利用安全漏洞
The Shellcoder's Handbook
——Discovering and Exploiting Security Holes
(多人)英文PDF(第2版)
英文CHM(第1版)
2019-03-18
2019-03-18
简介
内核漏洞的利用与防范A Guide to Kernel Exploitation
——Attacking the Core
(美) Enrico Perla
(美) Massimiliano Oldani
英文PDF(第1版)2018-07-29简介
+ +

◇IT / 信息安全 / 破解与逆向工程

+ + + + +
中文书名英文书名作者文件类型上传日期备注
逆向工程权威指南
其它中文名:
逆向工程入门指南
Reverse Engineering for Beginners
——Understanding Assembly Language
(乌克兰) Dennis Yurichev简体EPUB
英文PDF
2019-03-28
2018-08-04
简介
+ +

◇IT / 信息安全 / 恶意软件

+ + + + +
中文书名英文书名作者文件类型上传日期备注
恶意代码分析实战Practical Malware Analysis
——The Hands-On Guide to Dissecting Malicious Software
(美) Michael Sikorski
(美) Andrew Honig
英文PDF2020-04-11简介
+ +

◇IT / 信息安全 / 编程语言相关

+ +(本目录下放的是“信息安全”相关的编程书籍,按【语言】归类)
+

◇IT / 信息安全 / 编程语言相关 / C & C++

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
C 语言安全编程规范SEI CERT C Coding Standard(美) CERT/CC英文PDF(2016版)2019-04-02简介
C++ 语言安全编程规范SEI CERT C++ Coding Standard(美) CERT/CC英文PDF(2016版)2019-04-02简介
+ +

◇IT / 信息安全 / 编程语言相关 / Python

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
Python 灰帽子
——黑客与逆向工程师的 Python 编程之道
Gray Hat Python
——Python Programming for Hackers and Reverse Engineers
(加) Justin Seitz英文PDF2018-07-29简介
Python 黑帽子
——黑客与渗透测试编程之道
Black Hat Python
——Python Programming for Hackers and Pentesters
(加) Justin Seitz英文PDF2019-03-28简介
Python 绝技
——运用 Python 成为顶级黑客
Violent Python
——A Cookbook for Hackers, Forensic Analysts, Penetration Testers and Security Engineers
(美) TJ O'Connor简体PDF(第1版)
英文PDF(第1版)
英文EPUB(第1版)
2018-07-29
2019-08-02
2015-07-21
简介
+ +

◇IT / 操作系统

+ +

◇IT / 操作系统 / 使用教程

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
Shell 脚本学习指南Classic Shell Scripting(美) Arnold Robbins
(美) Nelson Beebe
简体PDF(扫描版)
英文PDF
2014-05-18
2019-03-25
简介
Linux 与 UNIX Shell 编程指南Linux and UNIX Shell ProgrammingDavid Tansley简体PDF(扫描版)2013-12-06简介
高级 Bash 脚本编程指南Advanced Bash-Scripting GuideMendel Cooper简体EPUB(文档版本 10.0)
英文PDF(文档版本 10.0)
英文PDF(文档版本 6.6)
英文WEB
2019-07-15
2019-07-15
2019-03-25
N/A
简介
Linux 命令行大全The Linux Command Line
——A Complete Introduction
William Shotts简体MOBI
英文PDF(文档版本 19.01)
2020-04-10
2019-11-18
简介
鸟哥的 Linux 私房菜N/A鸟哥简体PDF
简体MOBI
2013-12-06
2015-11-08
简介
Linux 从入门到精通N/AN/A简体PDF(第1版 扫描版)2013-12-06简介
+ +

◇IT / 操作系统 / 操作系统原理

+ +

◇IT / 操作系统 / 操作系统原理 / (综述)

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
操作系统
——设计与实现
Operating Systems
——Design and Implementation
(美) Andrew Tanenbaum
(美) Albert Woodhull
英文PDF(第3版)2016-12-15简介
现代操作系统Modern Operating Systems(美) Andrew Tanenbaum英文PDF(第4版)
英文PDF(第2版 扫描版)
2015-11-17
2015-11-08
简介
+ +

◇IT / 操作系统 / 操作系统原理 / UNIX

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
UNIX 操作系统设计The Design of the UNIX Operating System(德) Maurice Bach简体PDF(扫描版)
英文PDF
2013-10-21
2015-05-12
简介
莱昂氏 UNIX 源代码分析A Commentary on the Sixth Edition UNIX Operating System(澳大利亚) John Lions英文PDF2018-08-03简介
+ +

◇IT / 操作系统 / 操作系统原理 / Linux

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
Linux 内核设计与实现
其它中文名:
精通 Linux 核心開發
——設計與實作 Linux 核心的權威指南
Linux Kernel Development
——A Thorough Guide to the Design and Implementation of the Linux Kernel
(美) Robert Love英文PDF2020-04-10简介
深入理解 Linux 内核Understanding the Linux KernelDaniel Bovet
Marco Cesati
英文PDF(第3版)
英文CHM(第3版)
2013-12-06
2013-10-21
简介
+ +

◇IT / 操作系统 / 操作系统原理 / Windows

+ + + + +
中文书名英文书名作者文件类型上传日期备注
深入解析 Windows 操作系统
其它中文名:
Windows 内部揭密
Windows Internals(西班牙) Mark Russinovich
David Solomon
Alex Ionescu
英文PDF(第6版 上下册)
英文PDF(第5版)
英文PDF(第4版)
简体PDF(第4版 扫描版)
2019-04-13
2018-08-03
2018-08-03
2018-11-09
简介
+ +

◇IT / 网络

+ +

◇IT / 网络 / (综述)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
计算机网络Computer Networks(美) Andrew Tanenbaum
(美) David Wetherall
简体PDF(第5版 扫描版)
英文PDF(第5版)
英文CHM(第4版)
2018-08-04
2015-01-11
2020-04-02
简介
+ +

◇IT / 网络 / 网络协议

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
TCP-IP 详解
包括如下:
第1卷 协议
第2卷 实现
第3卷 TCP 事务协议,HTTP,NNTP 和 UNIX 域协议
TCP-IP Illustrated(美) Richard Stevens简体PDF(共3卷)
英文CHM(共3卷 缺第3卷)
2013-10-26
2020-07-09
简介
HTTP 权威指南HTTP
——The Definitive Guide
David Gourley
Brian Totty
Marjorie Sayer
Sailu Reddy
Anshu Aggarwal
简体PDF(扫描版)
英文PDF
2018-06-28
2018-11-09
简介
+ +

◇IT / 网络 / 分布式

+ +

◇IT / 网络 / 分布式 / (综述)

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
分布式系统
——概念与设计
Distributed Systems
——Concepts and Design
(英) George Coulouris
(英) Jean Dollimore
(英) Tim Kindberg
(英) Gordon Blair
简体PDF(第5版 扫描版)
英文PDF(第5版)
2019-08-17
2018-11-02
简介
分布式系统
——原理与范型
Distributed Systems
——Principles and Paradigms
(美) Andrew Tanenbaum
(荷兰) Maarten van Steen
英文PDF(第2版 扫描版)2018-11-06简介
设计分布式系统
——可扩展服务的模式和范式
Designing Distributed Systems
——Patterns and Paradigms for Scalable, Reliable Services
Brendan Burns英文PDF2018-11-06简介
Distributed Systems for Fun and ProfitDistributed Systems for Fun and ProfitMikito Takada英文EPUB
英文WEB
2018-11-06
N/A
简介
分布式计算的八大误区Fallacies of Distributed Computing(美) Laurence Peter Deutsch英文WEBN/AN/A
+ +

◇IT / 网络 / 分布式 / 一致性

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
CAP 定理CAP Theorem(美) Eric Brewer英文WEB
英文PDF
N/A
2018-11-08
简介
CAP 理论十二年回顾
——“规则”变了
CAP Twelve Years Later
——How the "Rules" Have Changed
(美) Eric Brewer英文WEB
简体WEB
英文PDF
N/A
N/A
2018-11-08
简介
+ +

◇IT / 网络 / 分布式 / 容错性

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
面对软件错误,如何构建可靠的分布式系统Making Reliable Distributed Systems in the Presence of Software Errors(英) Joe Armstrong英文PDF2018-11-08简介
拜占庭将军问题Byzantine Generals Problem(美) Leslie Lamport英文WEB
英文PDF(扫描版)
N/A
2018-11-08
简介
+ +

◇IT / 网络 / 分布式 / DHT(分布式哈希表)

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
Chord
——用于互联网应用的可扩展 P2P 查询服务
Chord
——A Scalable Peer-to-peer Lookup Service for Internet Applications
(美) Ion Stoica
(美) Robert Morris
(美) David Karger
(荷兰) Frans Kaashoek
(印度) Hari Balakrishnan
英文PDF2018-11-04简介
Kademlia
——基于异或运算的 P2P 信息系统
Kademlia
——A Peer-to-peer Information System Based on the XOR Metric
(保加利亚) Petar Maymounkov
David Mazières
英文PDF2018-11-04简介
DHT 安全技术纵览A Survey of DHT Security TechniquesGuido Urdaneta
Guillaume Pierre
(荷兰) Maarten van Steen
英文PDF2018-11-08简介
+ +

◇IT / 网络 / 分布式 / 区块链

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
比特币
——一种点对点式的电子现金系统
其它中文名:
比特币白皮书
Bitcoin
——A Peer-to-Peer Electronic Cash System
Satoshi Nakamoto英文PDF
简体PDF
2019-03-27
2019-03-27
简介
区块链启示录
——中本聪文集
The Book of Satoshi
——The Collected Writings of Bitcoin Creator Satoshi Nakamoto
(美) Phil Champagne简体PDF
英文EPUB
2019-03-27
2020-04-04
简介
+ +

◇IT / 网络 / 分布式 / DFS(分布式文件系统)

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
Google 文件系统The Google File System(美) Sanjay Ghemawat
(美) Howard Gobioff
Shun-Tak Leung
英文PDF2018-11-05简介
IPFS
——内容寻址的版本化点对点文件系统
其它中文名:
IPFS 白皮书
IPFS
——Content Addressed, Versioned, P2P File System
(美) Juan Benet英文PDF2019-05-08简介
+ +

◇IT / 数据库

+ +

◇IT / 数据库 / (综述)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
数据库系统概念Database System Concepts(以色列) Abraham Silberschatz
(美) Hank Korth
(印度) S. Sudarshan
英文PDF(第6版)2020-04-11简介
+ +

◇IT / 数据库 / SQL

+ + + + +
中文书名英文书名作者文件类型上传日期备注
SQL 学习指南Learning SQL(美) Alan Beaulieu英文PDF(第2版)
英文CHM(第1版)
2020-04-11
2020-04-11
简介
+ +

◇IT / 人工智能

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
失控
——全人类的最终命运和结局
Out of Control
——The New Biology of Machines, Social Systems, and the Economic World
(美) 凯文·凯利简体EPUB
简体MOBI
英文PDF
2014-01-09
2018-11-10
2015-01-11
简介
人工智能
——一种现代的方法
Artificial Intelligence
——A Modern Approach
(美) Stuart Russell
(美) Peter Norvig
英文PDF(第3版)2018-09-11简介
奇点临近The Singularity Is Near
——When Humans Transcend Biology
(美) 雷·库兹韦尔简体PDF
英文PDF
2017-03-30
2017-05-09
简介
+ +

◇IT / IT 公司

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
In the Plex
——Google 如何思考,运作,以及改变我们的生活方式
In The Plex
——How Google Thinks, Works and Shapes Our Lives
(美) Steven Levy简体PDF
英文PDF
英文EPUB
2015-05-12
2015-07-15
2020-04-03
简介
重新定义公司
——谷歌是如何运营的
How Google Works(美) Eric Schmidt
(美) Jonathan Rosenberg
简体EPUB
简体MOBI
2020-04-06
2020-04-06
简介
浪潮之巅On Top of Tides吴军简体PDF(前18章)
简体MOBI(前16章)
2013-10-22
2014-02-23
简介
Facebook 效应The Facebook Effect
——The Inside Story of the Company that is Connecting the World
(美) David Kirkpatrick简体PDF(扫描版)
简体EPUB
简体MOBI
英文EPUB
2018-07-24
2019-01-06
2019-01-06
2020-04-03
简介
微软的秘密Microsoft Secrets
——How the World's Most Powerful Software Company Creates Technology, Shapes Markets and Manages People
(美) Michael Cusumano简体PDF
简体PDF(扫描版)
2017-04-02
2018-07-20
简介
谁说大象不能跳舞?
——IBM 董事长郭士纳自传
Who Says Elephants Can't Dance?
——Leading a Great Enterprise through Dramatic Change
(美) Louis Gerstner Jr.简体PDF
英文PDF
2017-08-08
2020-04-03
简介
Borland 传奇N/A李维简体PDF
简体EPUB
简体CHM
2015-02-08
2015-02-08
2013-10-22
简介
Doom 启世录Masters of Doom
——How Two Guys Created an Empire and Transformed Pop Culture
(美) David Kushner简体PDF
简体EPUB
简体MOBI
简体CHM
英文PDF
2015-02-08
2015-02-08
2015-02-08
2013-11-26
2020-04-03
简介
+ +

◇IT / (其它)

+ + + + +
中文书名作者文件类型上传日期备注
暗时间
——刘未鹏博文集
刘未鹏简体EPUB2015-05-12简介
+ +
+

+ + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/sync/__\346\211\200\346\234\211\347\224\265\345\255\220\344\271\246\347\233\256\345\275\225\347\232\204\345\257\206\351\222\245__.txt" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/sync/__\346\211\200\346\234\211\347\224\265\345\255\220\344\271\246\347\233\256\345\275\225\347\232\204\345\257\206\351\222\245__.txt" new file mode 100644 index 0000000000000000000000000000000000000000..d34d1ed9559669f77b1e0d1ff2e0646abb356eae --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/sync/__\346\211\200\346\234\211\347\224\265\345\255\220\344\271\246\347\233\256\345\275\225\347\232\204\345\257\206\351\222\245__.txt" @@ -0,0 +1,29 @@ +以下是【编程随想电子图书馆】所有目录的 BT Sync 密钥。 +通过这几个密钥,你可以用 BT Sync 自动同步到每一个目录包含的【所有】电子书。 +俺会时常更新。每次更新后,BT Sync 会自动把【新增的】电子书同步到你的硬盘。 + +BRSSYZTSAC6UGYTUOJ22L4GCO7QESPPBD 政治 +BNZ6DOA6W577O6GUNH7C3MY6DWC6FTDQB 心理学 +BSH7FXJFVWJTKWGSX5GTWX7PHZZ2D2M7Q 历史 +B2FRYA6AXCDW6CF4YJVFWKH2HAXOFICOX 经济 +B3WNBTAAFFAODFR6FQ3E3L5BBSJAFNBSJ 管理 +BZR4TTYHT25QWUIE6YNMAKWUGBHKSGLC6 社会学 +BMBB5YLBIJJAE5H6TP27OS7YCEUKCYHZK 文艺 +B6WWVBXPMZDI5IL4KED6AAHA5FO4UNKQF 哲学 +BKKORLE67ZDUHGHVWAVSRK3N5I7BXLCED 科普 +BMWWZALG4P56LREF47EE2WSWHZEM4E6BL 军事 +BUPSDXFA3TP7KCMLHALRHLIX2FEJEUJFE IT + + +关于 BT Sync 的扫盲教程,参见以下链接 +https://program-think.blogspot.com/2015/01/BitTorrent-Sync.html + +以下页面是【所有电子书】的清单。 +清单中包含每本书的“中文名、英文名、作者、添加日期、简介”。 +https://github.com/programthink/books + + +除了上面“电子图书馆”那几个目录,下面这2个目录,你可能也会感兴趣。 + +BTLZ4A4UD3PEWKPLLWEOKH3W7OQJKFPLG 翻墙软件(包含常见的翻墙软件,时常更新) +B7P64IMWOCXWEYOXIMBX6HN5MHEULFS4V “博客离线浏览”以及“博客电子书制作脚本” diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/.sync/FolderType" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/.sync/FolderType" new file mode 100644 index 0000000000000000000000000000000000000000..d3cc99f63e83a0dcca93eea1be1375216da7c42a --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/.sync/FolderType" @@ -0,0 +1 @@ +d8:brandingi0e31:disable_remove_from_all_devicesi0e4:modei0e5:owner5:linji4:typei1ee \ No newline at end of file diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/.sync/ID" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/.sync/ID" new file mode 100644 index 0000000000000000000000000000000000000000..06718c3dc97dda45629912eebf9109cc83ee333e --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/.sync/ID" @@ -0,0 +1 @@ +§ã÷íiæÑn^⋧Éeþ“”Ý? ?²슃ԅ \ No newline at end of file diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/.sync/IgnoreList" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/.sync/IgnoreList" new file mode 100644 index 0000000000000000000000000000000000000000..e14e7c18dcae88d48102257baad1b38c3604f50e --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/.sync/IgnoreList" @@ -0,0 +1,54 @@ +# IgnoreList is a UTF-8 encoded .txt file that helps you specify single files, paths and rules +# for ignoring during the synchronization job. It supports "?" and "*" wildcard symbols. +# +# +# OS generated files # +$RECYCLE.BIN +$Recycle.Bin +System Volume Information +ehthumbs.db +desktop.ini +Thumbs.db +lost+found +.DocumentRevisions-V100 +.TemporaryItems +.fseventsd +.icloud +.iCloud +.DS_Store +.DS_Store? +.Spotlight-V100 +.Trashes +.Trash-* +.trashed-* +~* +*~ +.~lock.* +*.part +*.filepart +.csync_journal.db +.csync_journal.db.tmp +*.swn +*.swp +*.swo +*.crdownload +.@__thumb +.thumbnails +._* +*.tmp +*.tmp.chck +.dropbox +.dropbox.attr +.dropbox.cache +.streams +.caches +.Statuses +.teamdrive +.SynologyWorkingDirectory +@eaDir +@SynoResource +#SynoRecycle +#snapshot +#recycle +.!@#$recycle +DfsrPrivate diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/.sync/StreamsList" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/.sync/StreamsList" new file mode 100644 index 0000000000000000000000000000000000000000..4a6cf5685859df716e4321c41bacfc11be5ba55f --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/.sync/StreamsList" @@ -0,0 +1,8 @@ +# StreamsList is a UTF-8 encoded .txt file that helps you specify alternate streams, +# xattrs and resource forks white list. It supports "?" and "*" wildcard symbols. +# +# +# +com.apple.metadata:_kMDItemUserTags +com.apple.ResourceFork +com.apple.metadata:kMDItemFinderComment diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/.sync/root_acl_entry" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/.sync/root_acl_entry" new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/__\346\211\200\346\234\211\347\224\265\345\255\220\344\271\246\347\232\204\346\270\205\345\215\225__.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/__\346\211\200\346\234\211\347\224\265\345\255\220\344\271\246\347\232\204\346\270\205\345\215\225__.html" new file mode 100644 index 0000000000000000000000000000000000000000..d1b571c924867d3bb6e74ce29bf503f4d6966e68 --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/__\346\211\200\346\234\211\347\224\265\345\255\220\344\271\246\347\232\204\346\270\205\345\215\225__.html" @@ -0,0 +1,2712 @@ + + + + + + +编程随想的电子书清单 + + +

电子书总目录 (频繁更新)

+ +
+ +

下载须知 及 格式说明

+ +

更新通知

+ +这里汇总了俺收藏的各类电子书(不断增加中)。俺每隔几个月会在博客上通知大伙儿,近期更新了哪些书。俺博客的网址是:https://program-think.blogspot.com/
+因为俺博客在【墙外】,并且长期遭到 GFW 封锁,建议用博客阅读器(比如 Feedly)进行订阅,以获取电子书更新的通知。博客的订阅地址是:https://feeds2.feedburner.com/programthink + +

下载说明

+ +目前俺使用两种方式提供电子书的下载,分别是:
+● 用 BT Sync 自动同步(该软件如今改名叫“Resilio Sync”)
+● 微软网盘(也叫做“OneDrive”)
+
+俺强烈推荐大伙儿使用【BT Sync 方式】。它的好处至少包括如下:
+● 它可以【自动同步】电子书,省得你一个一个去下载
+● 它不依赖任何服务器,没有任何流量限制(相比之下,微软网盘如果同时有很多人在下载,可能会报错)
+● 它不依赖任何服务器,也就没有空间限制(相比之下,俺的微软网盘帐号,容量限制是 25GB)
+● 它不依赖任何服务器,也就没有任何审查
+● 它支持【免翻墙】进行同步(具体如何操作,参见下面的说明)
+
+

关于“BT Sync / Resilio Sync”的补充说明

+ +首选,你需要安装 BTSync(ResilioSync)软件。它的【官网】下载链接是:https://www.getsync.com/
+要使用 BT Sync(Resilio Sync)同步电子书,你需要在主界面上添加相应的密钥(密钥写在本页面【每个大类】的标题下方)。关于 BT Sync 的扫盲教程,请参见“这篇博文”。
+BT Sync 从“1.4 版本”一直到“目前最新版本”,都可以用来同步俺的电子书。早期的 1.4.x 版本支持【DHT 功能】,可以在墙内【免翻墙】使用。2.0 之后的版本【不】再支持 DHT,无法享受这一好处。
+(关于 DHT 功能如何开启,请翻墙打开“这篇博文”)
+

关于“微软网盘”的补充说明

+ +● 微软网盘支持批量下载,可以把某个目录的电子书压缩成 zip 格式一起下载。具体操作请仔细看网盘界面。
+● 微软网盘的 Web 页面需要依赖 Java Script 脚本,如果你的浏览器禁用了 JavaScript 会导致无法下载。
+● 微软网盘的服务器在【墙外】,有时候可能会被 GFW 封杀。如果你无法打开微软网盘的页面,请尝试【翻墙】。
+
+

其它和“下载”相关问题

+ +下载或阅读过程中,如果还碰到其它问题搞不定,可以使用 GitHub 的 issue 给俺反馈。
+使用 issue 的规范参见这里。
+

电子书格式说明

+ +

PDF 格式

+ +俺共享的 PDF 格式电子书, 无需密码 即可阅读。如果你无法打开 PDF 文件或者打开过程中提示输入密码,那应该是你的 PDF 阅读器 版本不够新 。
+用如下几款软件可以正常阅读:
+● Sumatra PDF 2.0 或者更高版本(绿色软件,除了支持 PDF,还支持其它格式,强烈推荐使用)
+● Foxit Reader 3.1.0 或者更高的版本(绿色软件,推荐使用)
+● PDF-XChange Viewer 2.0 或者更高版本(绿色软件,推荐使用)
+● Acrobat Reader 7.0 或者更高版本(Acrobat Reader 太臃肿,不推荐)
+● 如果你使用 Chrome 浏览器,把 PDF 文件直接拖到 Chrome 窗口里,就可以看
+● 如果你使用 Firefox 浏览器(19.0 或者更高版本),把 PDF 文件直接拖到 Firefox 窗口里,就可以看
+
+

EPUB 格式

+ +这种格式主要是面向移动设备(手机、平板),不过也可以在 PC 上阅读。
+EPUB 的阅读软件很多,而且各个平台(Windows、Linux、Mac OS)都有。维基百科的这个页面列出了常用的 EPUB 格式阅读软件。
+

MOBI & AZW 格式

+ +这几种格式主要面向亚马逊的 Kindle 平板,不过也可以在 PC 上阅读。前面提到的 Sumatra PDF 支持这些格式。
+

CHM 格式

+ +如果你用 Windows 系统无法正常查看 CHM 电子书,请按照如下步骤设置,就可以正常打开了。
+1. 在资源管理器中,选中该 CHM 文件
+2. 点右键,在右键菜单里选“属性”
+3. 弹出“属性对话框”
+4. 在属性对话框中,点“解除锁定”钮
+
+用 Mac OS 的同学,可以考虑用 Chmox 或 iCHM 打开 CHM 电子书;
+用 Linux 系统的同学,可以考虑用 CHM Viewer 打开 CHM 电子书。
+

HTML 格式

+ +HTML 格式的电子书会有多个文件,为了方便下载,压缩打包成一个 ZIP 文件。下载后请先用压缩软件解开 ZIP 压缩包,即可直接浏览 HTML 文件。
+

TXT 格式

+ +网盘上的 TXT 格式电子书均使用 UTF-8 编码保存。用 Windows 自带的记事本(Notepad)可以直接打开。如果用其它阅读软件打开出现乱码,需要在该软件的界面上切换“字符集”或“编码”,切换为 UTF-8 + +

杀毒软件误报

+ +如果你的杀毒软件报告某本书有病毒,很大可能是【误报】。为了判断到底是不是误报,可以把这本书上传到在线查毒引擎 VirusTotal 进行扫描。
+VirusTotal 隶属 Google 旗下,是全球最大的在线查毒引擎,也最权威。俺写过一篇扫盲教程,介绍该网站的使用。
+

其它与“格式”相关问题

+ +如果碰到其它跟“格式”有关的问题,你搞不定(比如某本书无法打开),可以使用 GitHub 的 issue 给俺反馈。使用 issue 的规范参见这里。
+

如何阅读书籍

+ +考虑到很多网友不善于阅读书籍, 俺强烈推荐大伙儿看一下《如何阅读一本书》 (书评&内容纲要、下载地址)。此书传授了【阅读书籍的技巧】,非常有价值。
+

+

★俺博客的离线浏览

+ +从2015年3月,俺开始用 BT Sync 提供博客上【全部内容】的离线浏览,而且是【免翻墙】哦。你可以通过如下 BT Sync 密钥,进行自动同步。
+B7P64IMWOCXWEYOXIMBX6HN5MHEULFS4V
+(BT Sync 上的内容,大约1到2星期更新一次)
+
+

+

★政治

+ +【网盘】
+微软网盘
+BT Sync 密钥:BRSSYZTSAC6UGYTUOJ22L4GCO7QESPPBD (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇政治 / 政治理论

+ +

◇政治 / 政治理论 / 民主与宪政

+ + + + + + + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
论民主On Democracy(美) 罗伯特·道尔简体PDF(第1版 扫描版)
英文PDF(第1版 扫描版)
2014-06-22
2020-01-25
简介
第三波
——20世纪后期民主化浪潮
The Third Wave
——Democratization in the Late Twentieth Century
(美) 塞缪尔·亨廷顿简体PDF(修订版)
简体PDF
简体EPUB
简体MOBI
英文EPUB
2018-09-06
2013-05-30
2019-01-04
2015-11-14
2020-01-16
简介
民主
其它中文名:
民主、民主化、去民主化及其相互依赖关系
Democracy(美) 查尔斯·蒂利简体PDF(扫描版)
英文PDF
2015-02-09
2020-01-25
简介
牛津通识读本:民主Democracy
——A Very Short Introduction
(英) 伯纳德·克里克英文PDF
英文MOBI
2015-12-11
2020-12-07
简介
牛津通识读本:公民Citizenship
——A Very Short Introduction
(英) 理查德·贝拉米英文PDF2020-03-16简介
代议制政府Considerations on Representative Government(英) 约翰·密尔简体PDF
简体PDF(扫描版)
英文PDF
2013-08-22
2019-10-26
2020-01-25
简介
社会契约论
其它中文名:
民约论
The Social Contract(法) 让-雅克·卢梭简体PDF
简体PDF(扫描版)
简体EPUB
简体MOBI
2014-01-09
2019-10-27
2017-05-06
2015-05-11
简介
论法的精神
其它中文名:
法意
The Spirit of the Laws(法) 孟德斯鸠简体PDF
简体PDF(大字版)
简体PDF(共2册 扫描版)
简体EPUB
简体MOBI
英文PDF
2014-01-09
2017-03-24
2018-12-03
2015-05-11
2015-05-11
2020-01-25
简介
联邦党人文集
其它中文名:
联邦主义者文集
美国宪法原理
The Federalist Papers(美) 亚历山大·汉密尔顿
(美) 詹姆斯·麦迪逊
(美) 约翰·杰伊
简体PDF(扫描版)
简体EPUB
简体MOBI
英文PDF
2013-11-27
2014-01-09
2015-05-11
2020-01-20
简介
控制国家
——西方宪政的历史
Controlling the State
——Constitutionalism from Ancient Athens to Today
(美) 斯科特·戈登简体PDF(扫描版)
英文PDF
2017-08-13
2020-01-20
简介
历史的终结及最后之人The End of History and the Last Man(美) 弗朗西斯·福山简体PDF
简体EPUB
英文PDF
2013-01-01
2013-09-13
2020-01-20
简介
民主的历程
——公元前508年~1993年
其它中文名:
民主
——未竟之旅,公元前508年至公元1993年
Democracy
——The Unfinished Journey, 508 BC to AD 1993
(英) 约翰·邓恩 (主编)简体PDF(扫描版)2014-06-22简介
欧洲民主史
——从孟德斯鸠到凯尔森
A History of Democracy in Europe
——From Montesquieu to 1989
(意) 萨尔沃·马斯泰罗简体PDF(扫描版)2014-07-27简介
论李维
其它中文名:
李维史论
罗马史论
论李维罗马史
Discourses on Livy(意) 尼可罗·马基亚维利简体PDF(3卷本 扫描版)
英文PDF(3卷本)
2020-03-25
2018-12-04
简介
平民政治的基本原理The Fundamental Principles of Government(美) 保罗·芮恩施简体PDF(扫描版)2013-01-14简介
宪政与权利N/A(多人)简体PDF2013-04-13简介
宪政主义
——观念与制度的转捩
N/A王怡简体PDF(扫描版)2013-05-19简介
各国民权运动史N/A董之学繁體PDF(竪排掃描版)2016-07-15简介
罗伯特议事规则Robert's Rules of Order(美) 亨利·马丁·罗伯特
等
简体MOBI(第10版)
英文EPUB(第11版)
2015-05-12
2020-01-20
简介
可操作的民主
——罗伯特议事规则下乡全纪录
N/A寇延丁
袁天鹏
简体EPUB
简体MOBI
简体PDF(扫描版)
2015-11-14
2020-11-22
2015-05-12
简介
+ +

◇政治 / 政治理论 / 自由主义

+ +(本类别的“自由主义”主要指“古典自由主义”和“自由意志主义”)
+ + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
论自由On Liberty(英) 约翰·密尔简体PDF
简体EPUB
简体MOBI
英文PDF
2013-04-14
2013-09-13
2018-11-10
2019-11-03
简介
政府论Two Treatises of Government
其它英文名:
Two Treatises of Government and A Letter Concerning Toleration
(英) 约翰·洛克简体PDF
简体EPUB
简体MOBI
简体TXT
英文PDF
2013-04-14
2013-09-13
2018-11-10
2016-05-14
2020-01-17
简介
自由论
其它中文名:
《自由四论》扩充版
Four Essays on Liberty(俄/英) 以赛亚·伯林简体PDF(扫描版)
英文PDF
2013-08-22
2013-12-15
简介
自由及其背叛
——人类自由的六个敌人
Freedom and Its Betrayal
——Six Enemies of Human Liberty
(俄/英) 以赛亚·伯林简体PDF(扫描版)
英文EPUB
2014-05-23
2019-11-03
简介
自由与繁荣的国度The Free and Prosperous Commonwealth
——An Exposition of the Ideas of Classical Liberalism
其它英文名:
Liberalism
——The Classical Tradition
Liberalism, a Socio-Economic Exposition
(奥/美) 路德维希·冯·米塞斯简体PDF(大字版)
简体PDF
简体HTML
英文PDF
2019-08-29
2016-12-23
2018-12-04
2020-01-17
简介
正义论A Theory of Justice(美) 约翰·罗尔斯简体EPUB
简体MOBI
简体TXT
简体PDF(扫描版)
英文PDF(修订版)
2013-09-13
2018-11-10
2016-05-14
2013-05-23
2020-01-16
简介
政治自由主义Political Liberalism(美) 约翰·罗尔斯简体HTML
简体MOBI
简体PDF(扫描版)
英文EPUB(扩充版)
2013-01-17
2015-05-11
2018-12-04
2020-01-17
简介
无政府、国家与乌托邦Anarchy, State, and Utopia(美) 罗伯特·诺齐克简体PDF(扫描版)
英文EPUB
2013-07-30
2014-03-29
简介
自由主义与正义的局限Liberalism and the Limits of Justice(美) 迈克尔·桑德尔简体PDF(第2版)
简体PDF(第2版 扫描版)
英文PDF(第2版 扫描版)
2013-01-01
2018-12-05
2020-01-16
简介
自由史论The History of Freedom and Other Essays(英) 阿克顿勋爵简体PDF(扫描版)
英文PDF
2014-07-27
2020-03-30
简介
古典自由主义
——入门读物
Libertarianism
——A Primer
(美) 大卫·鲍兹英文PDF2015-07-19简介
利维坦
——教会国家和市民国家的实质、形式、权力
其它中文名:
巨灵论
Leviathan or The Matter, Forme and Power of a Common Wealth Ecclesiastical and Civil(英) 托马斯·霍布斯简体PDF
简体MOBI
英文PDF
2014-06-22
2018-12-22
2019-11-03
简介
古代人的自由与现代人的自由The Liberty of the Ancients Compared with that of the Moderns(法) 本杰明·贡斯当简体PDF(扫描版)
简体MOBI
英文PDF
2014-06-22
2015-05-11
2020-01-17
简介
欧洲自由主义史The History of European Liberalism(意) 圭多·德·拉吉罗简体PDF(扫描版)2015-01-12简介
论出版自由Areopagitica
——A Speech for the Liberty of Unlicensed Printing
(英) 约翰·弥尔顿简体PDF
简体MOBI
英文EPUB
2014-02-03
2015-05-11
2020-01-17
简介
给你所爱的人以自由N/A茅于轼简体PDF
简体PDF(大字版)
简体EPUB
简体MOBI
2013-10-26
2013-11-26
2015-11-14
2015-11-14
简介
+ +

◇政治 / 政治理论 / 保守主义

+ +(“保守主义”与“古典自由主义”存在相当一部分交集;属于两者重叠部分的书,放置到上述“自由主义”分类目录下)
+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
保守主义思想
——从伯克到艾略特
其它中文名:
保守主义的心灵
保守主义思想
——从伯克到桑塔亚那
The Conservative Mind
——From Burke to Eliot
其它英文名:
The Conservative Mind
——From Burke to Santayana
(美) 拉塞尔·柯克英文EPUB
英文PDF(浓缩版)
2020-01-16
2019-08-29
简介
反思法国大革命
其它中文名:
法国大革命反思录
法国革命感想录
Reflections on the Revolution in France(英) 埃德蒙·伯克英文EPUB2020-03-28简介
保守主义Conservatism(英) 休·塞西尔勋爵简体PDF(扫描版)2019-08-29简介
保守主义Conservatism刘军宁简体PDF(扫描版)2019-11-06简介
+ +

◇政治 / 政治理论 / 资本主义

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:资本主义Capitalism
——A Very Short Introduction
(英) 詹姆斯·富尔彻简体EPUB
简体AZW3
2015-12-13
2015-12-13
简介
后资本主义社会Post-Capitalist Society(奥/美) 彼得·德鲁克简体PDF(扫描版)
英文PDF(扫描版)
2018-09-14
2020-01-20
简介
新教伦理与资本主义精神The Protestant Ethic and the Spirit of Capitalism(德) 马克斯·韦伯简体HTML
简体MOBI
英文PDF
2014-04-14
2015-05-11
2020-01-20
简介
+ +

◇政治 / 政治理论 / 共产主义

+ +(本类别主要放置“马列主义”相关书籍)
+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
大失败
——二十世纪共产主义的兴亡
The Grand Failure
——The Birth and Death of Communism in the Twentieth Century
(波兰/美) 兹比格涅夫·布热津斯基简体PDF(扫描版)2012-10-06简介
历史决定论的贫困
其它中文名:
历史主义的贫困
The Poverty of Historicism(奥/英) 卡尔·波普尔简体PDF
简体EPUB
简体HTML
简体MOBI
英文EPUB
2014-07-27
2015-02-15
2012-12-11
2015-05-11
2020-01-14
简介
新阶级
——对共产主义制度的分析
The New Class
——An Analysis of the Communist System
(南斯拉夫) 密洛凡·德热拉斯简体PDF(扫描版)
英文PDF(扫描版)
2012-10-06
2018-09-06
简介
共产主义实录Communism
——A History
(美) 理查德·派普斯简体PDF
英文EPUB
2012-10-05
2020-01-14
简介
恐怖主义与共产主义Terrorism and Communism
——A Contribution to the Natural History of Revolution
(德) 卡尔·考茨基简体PDF
英文PDF(扫描版)
2013-04-11
2019-08-29
简介
共产主义黑皮书
——罪行、恐怖、镇压
The Black Book of Communism
——Crimes, Terror, Repression
(多人)英文PDF(扫描版)2015-02-17简介
社会主义体制
——共产主义政治经济学
The Socialist System
——The Political Economy of Communism
(匈) 雅诺什·科尔奈简体PDF(扫描版)
英文DJVU(扫描版)
2015-01-11
2020-03-16
简介
+ +

◇政治 / 政治理论 / 社会主义

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:社会主义Socialism
——A Very Short Introduction
(英) 迈克尔·纽曼英文PDF
英文MOBI
2015-12-13
2020-12-07
简介
通往奴役之路The Road to Serfdom(奥/英) 弗里德里希·哈耶克简体PDF(台湾版)
简体PDF(大字版)
简体PDF
简体EPUB
简体MOBI
英文PDF
英文EPUB
2014-05-18
2018-09-10
2013-03-24
2013-09-13
2015-05-11
2013-05-30
2019-01-04
简介
社会主义
——经济与社会学的分析
Socialism
——An Economic and Sociological Analysis
(奥/美) 路德维希·冯·米塞斯简体PDF(扫描版)
英文PDF(扫描版)
2013-03-31
2020-01-20
简介
致命的自负
——社会主义的谬误
The Fatal Conceit
——The Errors of Socialism
(奥/英) 弗里德里希·哈耶克简体PDF
简体EPUB
简体MOBI
简体TXT
英文EPUB
2013-03-24
2013-09-13
2015-05-11
2016-05-14
2020-01-20
简介
社会主义国家的经济计算Economic Calculation in the Socialist Commonwealth(奥/美) 路德维希·冯·米塞斯英文PDF2018-09-22简介
+ +

◇政治 / 政治理论 / 极权主义与威权主义

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
开放社会及其敌人The Open Society and Its Enemies(奥/英) 卡尔·波普尔简体PDF
简体EPUB
简体MOBI
简体PDF(扫描版)
英文PDF
2012-12-11
2013-09-14
2018-11-10
2017-03-24
2020-01-15
简介
极权主义的起源The Origins of Totalitarianism(德/美) 汉娜·阿伦特简体PDF
简体CHM
简体MOBI
简体TXT
英文PDF(扫描版)
2012-10-06
2012-10-14
2014-02-23
2016-04-29
2019-08-29
简介
东方专制主义
——对于极权力量的比较研究
Oriental Despotism
——A Comparative Study of Total Power
(德/美) 卡尔·魏特夫 (中文名:魏复古)简体PDF(扫描版)
英文PDF(扫描版)
2019-02-25
2020-01-15
简介
独裁者手册
——为什么恶劣行为总是政治成功的通行证
The Dictator's Handbook
——Why Bad Behavior is Almost Always Good Politics
(美) 布鲁诺·德·梅斯奎塔
(美) 阿拉斯泰尔·史密斯
简体MOBI(标注删节部分)
英文PDF(无删节)
简体EPUB(有删节)
简体MOBI(有删节)
2020-11-20
2018-11-18
2019-03-02
2019-03-02
简介
极权主义民主的起源The Origins of Totalitarian Democracy(波兰/以色列) 雅各布·塔尔蒙简体PDF(扫描版)2015-07-14简介
威权统治的转型
——关于不确定民主的试探性结论
Transitions from Authoritarian Rule
——Tentative Conclusions about Uncertain Democracies
(阿根廷) 吉列尔莫·奥唐奈
(美) 菲利普·施密特
简体PDF(扫描版)
英文PDF(扫描版)
2013-08-21
2020-01-15
简介
新常识
——一党专制的性质与后果
New Common Sense
——The Nature and Consequences of One-Party Dictatorship
张雪忠简体EPUB(精校版)
简体PDF
简体MOBI
2015-11-29
2013-10-19
2018-11-10
简介
+ +

◇政治 / 政治理论 / 乌托邦主义

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:乌托邦主义Utopianism
——A Very Short Introduction
(美) 莱曼·萨金特英文EPUB2020-03-29简介
+ +

◇政治 / 政治理论 / 无政府主义

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:无政府主义Anarchism
——A Very Short Introduction
(英) 科林·瓦德英文PDF2020-03-16简介
+ +

◇政治 / 政治理论 / 外交与国际关系

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:外交Diplomacy
——A Very Short Introduction
(美) 约瑟夫·锡拉库扎简体EPUB2020-03-28简介
文明的冲突与世界秩序的重建The Clash of Civilizations and the Remaking of World Order(美) 塞缪尔·亨廷顿简体PDF
简体PDF(大字版)
简体PDF(扫描版)
简体EPUB
简体MOBI
简体TXT
英文PDF(扫描版)
2013-03-31
2020-03-30
2017-03-24
2018-12-08
2018-11-10
2016-04-30
2019-11-05
简介
大棋局
——美国的首要地位及其地缘战略
The Grand Chessboard
——American Primacy and Its Geostrategic Imperatives
(波兰/美) 兹比格涅夫·布热津斯基简体PDF
简体PDF(扫描版)
简体TXT
简体MOBI
英文PDF
2013-04-14
2017-02-17
2016-04-29
2018-11-10
2019-08-29
简介
大外交Diplomacy(美) 亨利·基辛格简体PDF(扫描版)
英文PDF(扫描版)
英文EPUB
2014-02-05
2019-05-30
2020-01-25
简介
论中国On China(美) 亨利·基辛格简体EPUB
简体MOBI
英文EPUB
2014-02-05
2018-11-10
2014-02-05
简介
理解国际冲突
——理论与历史
其它中文名:
理解全球冲突与合作
——理论与历史
Understanding International Conflicts
——An Introduction to Theory and History
其它英文名:
Understanding Global Conflict and Cooperation
——An Introduction to Theory and History
(美) 小约瑟夫·奈
(加) 戴维·韦尔奇
简体PDF(第3版 扫描版)
英文PDF(第9版)
2018-12-25
2020-01-25
简介
牛津通识读本:国际关系International Relations
——A Very Short Introduction
(英) 保罗·威尔金森英文PDF
英文MOBI
2015-12-13
2020-12-07
简介
牛津通识读本:地缘政治Geopolitics
——A Very Short Introduction
(英) 克劳斯·多兹英文PDF(第1版)
英文MOBI
2015-12-13
2020-12-07
简介
+ +

◇政治 / 政治理论 / 非暴力抗争

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
从独裁到民主
——解放运动的概念框架
From Dictatorship to Democracy
——A Conceptual Framework for Liberation
(美) 吉恩·夏普简体PDF
简体EPUB
简体MOBI
英文PDF
英文EPUB
英文MOBI
2012-08-16
2019-01-04
2015-02-17
2012-08-16
2015-07-25
2015-07-25
简介
群众性防卫
——一种超军事的武器系统
Civilian-Based Defense
——A Post-Military Weapons System
(美) 吉恩·夏普简体PDF
繁體PDF(掃描版)
2013-03-16
2013-02-02
简介
一种更强大的力量
——非暴力抗争一百年
A Force More Powerful
——A Century of Nonviolent Conflict
(美) 彼得·阿克曼
(美) 杰克·杜瓦尔
简体PDF(共2册)
简体MOBI(共2册)
英文EPUB
2020-11-22
2013-05-13
2020-01-16
简介
和平抗议何以有效
——非暴力冲突的策略逻辑
Why Civil Resistance Works
——The Strategic Logic of Nonviolent Conflict
(美) 艾丽卡·切诺韦思
(美) 玛丽亚·斯蒂芬
英文PDF
英文EPUB
2019-07-28
2019-07-28
简介
非暴力手册
——实践指导
The Nonviolence Handbook
——A Guide for Practical Action
(美) 迈克尔·纳格勒简体PDF2020-05-30简介
论战略性非暴力冲突
——关于基本原则的思考
On Strategic Nonviolent Conflict
——Thinking About the Fundamentals
(美) 罗伯特·赫尔维简体PDF
简体EPUB
英文PDF
2019-01-02
2019-05-21
2019-01-02
简介
西方公民不服从的传统The Tradition of the Civil Disobedience何怀宏 (主编)简体PDF(扫描版)2016-07-18简介
+ +

◇政治 / 政治理论 / 女权运动

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
第二性The Second Sex(法) 西蒙娜·德·波伏娃简体PDF(扫描版)
简体HTML
简体TXT
英文EPUB
2013-04-10
2018-12-23
2016-05-12
2019-11-04
简介
女权主义理论
——从边缘到中心
Feminist Theory
——From Margin to Center
(美) 贝尔·胡克斯简体PDF(扫描版)2015-05-12简介
女权辩护
——关于政治和道德问题的批评
A Vindication of the Rights of Woman
——with Strictures on Political and Moral Subjects
(英) 玛丽·沃斯通克拉夫特简体PDF
英文PDF
2013-04-10
2020-03-01
简介
女性的奥秘The Feminine Mystique(美) 贝蒂·弗里丹简体PDF(扫描版)
英文EPUB
2013-04-10
2020-03-01
简介
女权主义Feminism(英) 简·弗里德曼简体PDF(扫描版)2014-02-03简介
妇女
——最漫长的革命
N/A李银河 (主编)简体PDF(扫描版)2015-05-12简介
三个原始部落的性别与气质Sex and Temperament in Three Primitive Societies(美) 玛格丽特·米德简体PDF(扫描版)2013-08-13简介
醒来的女性N/A(未知)简体PDF2014-07-27简介
+ +

◇政治 / 政治理论 / (其它)

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
政治科学Political Science
——An Introduction
(美) 迈克尔·罗斯金
等
简体PDF(第9版 扫描版)
简体PDF(第6版 扫描版)
英文PDF(第12版)
2014-02-13
2014-02-06
2020-03-01
简介
变化社会中的政治秩序Political Order in Changing Societies(美) 塞缪尔·亨廷顿简体PDF(精校版)
简体PDF(扫描版)
英文PDF(扫描版)
2013-10-30
2018-12-04
2020-03-01
简介
政治秩序的起源
——从前人类时代到法国大革命
The Origins of Political Order
——From Prehuman Times to the French Revolution
(美) 弗朗西斯·福山简体PDF(扫描版)
英文EPUB
2016-12-20
2017-05-01
简介
狂热分子
——群众运动圣经
其它中文名:
狂热分子
——码头工人哲学家的沉思录
The True Believer
——Thoughts on the Nature of Mass Movements
(美) 埃里克·霍弗简体EPUB
简体MOBI
简体PDF(扫描版)
英文PDF
英文EPUB
2014-07-27
2018-11-21
2015-01-12
2019-11-04
2020-03-01
简介
国家为什么失败
——权力、富裕与贫困的根源
Why Nations Fail
——The Origins of Power, Prosperity and Poverty
(土耳其/美) 德隆·阿西莫格鲁
(美) 詹姆斯·罗宾逊
简体TXT
繁體PDF(豎排掃描版)
英文EPUB
2014-03-20
2014-03-20
2020-03-01
简介
当代欧洲政治思想,1945~1989European Political Thought, 1945~1989(意) 萨尔沃·马斯泰罗 (主编)简体PDF(扫描版)2020-03-25简介
君主论
其它中文名:
君王论
The Prince(意) 尼可罗·马基亚维利简体PDF
简体PDF(扫描版)
简体TXT
英文PDF
2013-08-22
2019-10-28
2016-05-02
2020-03-01
简介
理想国
其它中文名:
国家篇
共和国
The Republic(古希腊) 柏拉图简体PDF
简体EPUB
英文TXT
2015-07-22
2017-04-30
2020-03-01
简介
+ +

◇政治 / 政治小说

+ +(某些政治小说描写的是特定国家,归入【政治类】对应国家的分类目录;
某些中国的政治小说,描写的是特定历史背景,放在【政治类 / 中国 / 中共历史】分类目录下)
+ + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
一九八四Nineteen Eighty-Four(英) 乔治·奥威尔简体PDF
简体EPUB (精校版)
简体TXT
简体PDF(扫描版)
简体MOBI
英文EPUB
英文PDF
2010-09-07
2015-11-29
2012-03-08
2013-10-20
2014-02-23
2013-09-13
2012-01-11
简介
动物庄园
其它中文名:
动物农庄
Animal Farm(英) 乔治·奥威尔简体PDF
简体EPUB
简体TXT
简体PDF(扫描版)
简体MOBI
英文PDF
2010-09-23
2013-09-13
2012-03-08
2013-10-20
2014-02-23
2012-01-11
简介
美丽新世界
其它中文名:
美妙的新世界
Brave New World(英) 奥尔德斯·赫胥黎简体EPUB
简体HTML
简体TXT
简体MOBI
英文PDF
2013-09-15
2019-08-23
2012-10-05
2015-02-17
2020-01-14
简介
我们
其它中文名:
反乌托邦与自由
We(俄/苏) 尤金·扎米亚京简体EPUB
简体MOBI
英文EPUB
2013-09-15
2015-02-17
2020-01-14
简介
阿特拉斯耸耸肩
其它中文名:
阿特拉斯摆脱重负
Atlas Shrugged(俄/美) 艾茵·兰德英文EPUB2020-03-16简介
严厉的月亮
其它中文名:
怒月
月亮是位严厉的主妇
The Moon Is a Harsh Mistress(美) 罗伯特·海因莱因简体EPUB
简体MOBI
英文EPUB
2019-03-04
2019-03-04
2020-01-14
简介
云图Cloud Atlas(英) 大卫·米切尔简体PDF
简体EPUB
简体MOBI
英文PDF
2014-02-06
2014-02-06
2018-11-10
2014-02-06
简介
黄祸Yellow Peril王力雄简体CHM2013-08-21简介
旋风N/A姜贵 (原名:王林渡)简体PDF2013-08-21简介
盛世
——中国2013
The Fat Years陈冠中简体PDF
简体EPUB
2013-01-01
2017-04-30
简介
裸命N/A陈冠中简体MOBI2013-01-01简介
中国地图
——一幅中国人的精神地图
N/A汪建辉简体PDF2014-05-23简介
+ +

◇政治 / 中国

+ +

◇政治 / 中国 / 中共历史

+ +

◇政治 / 中国 / 中共历史 / 改革开放时期

+ + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
中国改革年代的政治斗争N/A杨继绳简体PDF
简体EPUB
简体MOBI
2012-04-05
2013-11-26
2018-09-06
简介
中国现代化的陷阱The Pitfalls of Modernization何清涟简体PDF(修订版)
简体MOBI(修订版)
简体PDF
简体HTML
2013-12-14
2014-02-23
2013-02-05
2012-11-18
简介
中国
——奇迹的黄昏
N/A袁剑简体PDF
简体EPUB
简体MOBI
2012-04-05
2015-07-18
2015-07-18
简介
大国沉沦
——写给中国的备忘录
N/A刘晓波简体PDF2013-08-11简介
断裂
——20世纪90年代以来的中国社会
N/A孙立平简体PDF(扫描版)2013-03-16简介
转型与断裂
——改革以来中国社会结构的变迁
N/A孙立平简体PDF(扫描版)2017-05-01简介
山坳上的中国
——问题、困境、痛苦的选择
N/A何博传简体PDF(扫描版)2013-03-07简介
中国共产党不可说的秘密The Party
——The Secret World of China's Communist Rulers
(澳大利亚) Richard McGregor英文PDF2015-02-08简介
红色资本主义
——中国非凡崛起之下的脆弱金融基础
Red Capitalism
——The Fragile Financial Foundation of China's Extraordinary Rise
(美) Carl Walter
(美) Fraser Howie
英文PDF
英文MOBI
2014-03-29
2015-02-09
简介
全球化与中国国家转型Globalization and state transformation in China(新加坡) 郑永年简体PDF(扫描版)2014-01-09简介
陷入困局
——天朝的大困境
Walled In
——China’s Great Dilemma
(美) 高盛公司英文PDF
简体PDF
2016-03-22
2016-03-22
简介
+ +

◇政治 / 中国 / 中共历史 / 六四事件

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
天安门血腥清场内幕N/A(中/美) 吴仁华繁體PDF2012-05-25简介
人民不会忘记
——八九民运实录
People Will Not Forget
——A Chronicle by 64 Hong Kong Reporters
香港记者协会繁體HTML
繁體WEB
2019-04-03
N/A
简介
八九民运史The History of the 1989 Tiananmen Square Protests陈小雅繁體PDF
繁體WEB
2014-05-23
N/A
简介
天安门对峙Standoff at Tiananmen程鹗简体TXT
简体WEB
2019-05-20
N/A
简介
天安门文件
其它中文名:
中国六四真相
The Tiananmen Papers张良 (化名)简体PDF
简体CHM
2013-01-13
2012-04-05
简介
历史的大爆炸
——六四事件全景实录
The Big Bang of History
——June Fourth Movement Record
张万舒 (原名:张清海)繁體PDF(掃描版)2017-04-29简介
六四内部日记N/A陆超祺繁體PDF(掃描版)2020-08-12简介
八九天安门事件大事记N/A(中/美) 吴仁华简体PDF2012-05-25简介
广场活碑
——一个香港女记者眼中的六四血光
N/A蔡淑芳繁體PDF
繁體TXT
2014-05-23
2019-06-04
简介
血洗京华实录
——香港文汇报1989年特刊
N/A香港《文汇报》繁體PDF(掃描版)2019-04-03简介
中国民运反思N/A胡平简体PDF
简体TXT
繁體WEB
2013-05-01
2014-05-23
N/A
简介
天安门的力量
——国家•社会关系与1989学生运动
The Power of Tiananmen
——State-Society Relations and the 1989 Beijing Student Movement
赵鼎新繁體PDF(掃描版)
英文PDF
2012-12-26
2020-01-23
简介
回顾与反思
——六四流亡学生17人
N/A(多人)繁體PDF2019-04-03简介
末日幸存者的独白
——关于我和“六四”
N/A刘晓波繁體PDF(掃描版)2014-05-23简介
六四日记
——广场上的共和国
A Tiananmen Journal
——Republic on the Square
封从德繁體PDF(掃描版)2013-02-02简介
王丹回忆录
——从六四到流亡
N/A王丹繁體EPUB
繁體MOBI
繁體DOCX
2014-03-29
2018-11-10
2013-11-26
简介
逃亡者Escape From China
——The Long Journey from Tiananmen to Freedom
张伯笠简体TXT(缺最后2章)2019-05-20简介
铭记天安门Remembering Tiananmen Square(英) 罗宾·门罗简体PDF
英文WEB
2012-05-25
N/A
简介
黄雀行动N/A江迅简体PDF2012-05-25简介
“六四”事件民间白皮书N/A纪念六四事件委员会简体PDF2012-05-25简介
六四诗集N/A(多人)简体PDF2014-05-23简介
关键时刻
——李鹏日记
The Critical Moment
——Li Peng Diaries
李鹏 (原名:李远芃)简体PDF
简体CHM
2020-08-12
2012-04-05
简介
惊心动魄的五十六天N/A国家教委思想政治工作司繁體WEBN/A简介
1989年北京制止动乱平息反革命暴乱纪事N/A北京市委办公厅简体PDF(扫描版)2013-01-18简介
陈希同亲述
——众口铄金难铄真
N/A姚监复繁體PDF2013-06-10简介
加拿大政府“六四事件”解密档案N/A(加) 加拿大驻华使馆英文PDF(影印版)2015-05-12简介
+ +

◇政治 / 中国 / 中共历史 / 文革时期

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
文化大革命十年史N/A高皋
严家其
简体PDF(扫描版)2012-12-10简介
文化大革命的起源The Origins of the Cultural Revolution(英) 麦克法夸尔 (中文名:马若德)简体PDF(共2卷 扫描版)2013-03-30简介
毛泽东最后的革命Mao's Last Revolution(英) 麦克法夸尔 (中文名:马若德)
(瑞典) Michael Schoenhals (中文名:沈迈克)
简体PDF
英文PDF
2012-12-09
2020-01-23
简介
文化大革命
——历史真相和集体记忆
N/A宋永毅 (主编)简体PDF2012-10-05简介
形形色色的造反
——红卫兵精神素质的形成及演变
Rebels of All Stripes
——A Study of Red Guard Mentalities
徐友渔繁體PDF(掃描版)2013-06-22简介
红卫兵档案N/A吴过简体PDF2012-04-06简介
上山下乡
——一个美国人眼中的中国知青运动
其它中文名:
上山下乡
——中国青年从城市到农村的转移
Up to the Mountains and Down to the Villages
——The Transfer of Youth from Urban to Rural China
(美) 托马斯·伯恩斯坦简体PDF(扫描版)2015-11-09简介
失落的一代
——中国的上山下乡运动,1968~1980
The Lost Generation
——The Rustification of Chinese Youth, 1968~1980
(法) 米歇尔·博南 (中文名:潘鸣啸)简体PDF
简体PDF(扫描版)
简体EPUB
简体MOBI
2016-12-14
2013-08-11
2014-05-18
2018-11-10
简介
知青备忘录
——上山下乡运动中的生产建设兵团
N/A史卫民
何岚
简体PDF(扫描版)2019-02-23简介
文化大革命研究资料N/A国防大学党史党建政工教研室简体PDF(上中下 扫描版)2013-11-30简介
文革研究N/A(多人)简体PDF2012-04-06简介
周恩来文革讲话集N/A周恩来简体TXT
简体PDF(拍照版)
2014-03-20
2015-07-14
简介
随想录Random Thoughts巴金 (原名:李尧棠)简体PDF(扫描版)
繁體MOBI
2014-01-09
2014-06-22
简介
遇罗克之遗作与回忆N/A徐晓
丁东
徐友渔
简体PDF(扫描版)2013-03-16简介
牛鬼蛇神录
——文革囚禁中的精灵
The Captive Spirits
——Prisoners of the Cultural Revolution
(中/澳大利亚) 杨小凯 (原名:杨羲光)简体PDF
简体MOBI
2012-12-09
2020-05-30
简介
1966
——我们那一代的回忆
N/A徐友渔 (主编)简体PDF(扫描版)2017-08-13简介
上海生死劫
其它中文名:
上海生与死
Life and Death in Shanghai郑念 (原名:姚念媛)简体EPUB
简体PDF(扫描版)
简体MOBI
英文EPUB
英文MOBI
2017-05-06
2013-05-30
2020-05-30
2019-07-26
2019-07-26
简介
劫后长忆
——十年动乱纪事
N/A穆欣 (原名:杜蓬莱)繁體PDF(豎排掃描版)2019-02-04简介
中国的眸子N/A胡平 (与民运人士胡平同名)简体PDF(扫描版)2013-03-31简介
自由在落日中Freedom in the Sunset袁红冰 (原名:袁红兵)简体CHM2013-06-22简介
第二种忠诚N/A刘宾雁简体PDF2013-03-09简介
历史的代价
——文革死亡档案
N/A金石开简体PDF(扫描版)2016-12-19简介
文革三大屠杀案N/A(多人)简体PDF2015-02-17简介
血的神话
——1967年湖南道县文革大屠杀纪实
N/A谭合成简体PDF2015-05-12简介
+ +

◇政治 / 中国 / 中共历史 / “大跃进”与大饥荒时期

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
墓碑
——中国六十年代大饥荒纪实
Tombstone
——The Great Chinese Famine, 1958~1962
其它英文名:
Tombstone
——An Account of Chinese Famine in the 1960s
杨继绳简体PDF
繁體PDF
简体EPUB
简体MOBI
英文EPUB
2012-04-06
2013-10-20
2014-06-21
2020-05-30
2020-01-23
简介
人祸
——“大跃进”与大饥荒
N/A丁抒简体PDF
简体HTML
2013-01-13
2012-04-06
简介
大跃进亲历记
——毛泽东秘书手记
N/A李锐 (原名:李厚生)简体PDF(上下卷 扫描版)2013-05-08简介
庐山会议实录Mount Lu Meeting Records李锐 (原名:李厚生)简体PDF2012-10-05简介
农村人民公社史N/A罗平汉简体PDF(扫描版)2016-12-19简介
辉煌的幻灭
——人民公社警示录
N/A康健简体CHM
简体HTML
2012-10-05
2012-10-06
简介
夹边沟记事Memory of Jiabiangou杨显惠简体PDF(扫描版)
简体PDF
简体EPUB
简体MOBI
2013-03-22
2016-12-14
2019-01-04
2019-01-04
简介
定西孤儿院纪事
——实录饥饿的绝境
Records of Dingxi Orphanage杨显惠简体PDF(扫描版)
简体PDF
简体EPUB
简体MOBI
2013-03-08
2016-12-14
2019-01-04
2019-01-04
简介
+ +

◇政治 / 中国 / 中共历史 / “反右”运动

+ + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
阳谋
——反右派运动始末
N/A丁抒简体PDF
简体CHM
2013-01-13
2012-11-17
简介
还原1957N/A魏紫丹 (原名:魏立言)繁體PDF2015-02-17简介
1957年的夏季
——从百家争鸣到两家争鸣
N/A朱正简体PDF
简体HTML
2016-12-14
2012-11-17
简介
毛主席是什么时候决定引蛇出洞的N/A李慎之简体TXT2019-02-24简介
往事并不如烟
其它中文名:
最後的貴族
The Past is Not Like Smoke章诒和简体PDF(精校版 标注删节部分)
繁體EPUB(台灣版 無刪節)
简体PDF(大字版)
简体MOBI
简体TXT
2013-02-05
2015-11-10
2018-09-10
2020-05-30
2012-12-09
简介
十四万言书
——致人民日报编辑部信
N/A林昭 (原名:彭令昭)简体PDF2013-02-01简介
中华民族的自由女神
——林昭罹难40年纪念文集
N/A(多人)简体PDF2013-02-01简介
林昭,不再被遗忘N/A(多人)简体PDF(扫描版)2013-02-01简介
祭坛上的圣女
——林昭传
N/A赵锐简体PDF2013-06-22简介
+ +

◇政治 / 中国 / 中共历史 / “土改”运动

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
最后的地主The Last of China's Landlords廖亦武简体PDF
简体PDF(大字版)
2013-03-16
2013-03-31
简介
秧歌The Rice Sprout Song张爱玲 (原名:张煐)简体PDF2013-08-21简介
赤地之恋Naked Earth张爱玲 (原名:张煐)简体PDF2013-08-21简介
+ +

◇政治 / 中国 / 中共历史 / 国共内战时期

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
1949年
——中国知识分子的私人记录
N/A傅国涌简体PDF(扫描版)
简体PDF
2013-03-14
2016-12-14
简介
战后中共夺取东北始末N/A杨奎松繁體PDF2012-12-11简介
陈诚先生回忆录
——国共战争
N/A陈诚繁體PDF2015-07-19简介
大江大海,一九四九Big River, Big Sea龙应台简体PDF
简体EPUB
简体MOBI
繁體PDF(豎排掃描版)
2013-01-17
2013-09-13
2020-05-30
2012-11-17
简介
+ +

◇政治 / 中国 / 中共历史 / 延安与八年抗战时期

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
红太阳是怎样升起的
——延安整风运动的来龙去脉
How the Red Sun Rose
——The Origin and Development of the Yan'an Rectification Movement, 1930~1945
高华简体PDF
简体CHM
简体EPUB
简体MOBI
2012-12-09
2012-04-06
2013-11-26
2014-02-03
简介
中共壮大之谜
——被掩盖的中国抗日战争真相
N/A谢幼田简体CHM
简体PDF
2012-11-17
2016-12-14
简介
延安的阴影N/A陈永发繁體PDF(掃描版)2015-07-18简介
历史的先声
——半个世纪前的庄严承诺
N/A笑蜀 (原名:陈敏)简体PDF
简体PDF(大字版)
简体PDF(扫描版)
简体CHM
简体TXT
2014-06-21
2019-01-04
2013-05-08
2012-10-06
2012-10-06
简介
延安日记The Vladimirov Diaries
——Yenan, China, 1942~1945
(苏) 彼得·弗拉基米洛夫 (中文名:孙平)简体PDF(扫描版)
简体CHM
2019-02-17
2012-10-05
简介
红太阳下的罂粟花
——鸦片贸易与延安模式
N/A陈永发繁體PDF(掃描版)2012-10-05简介
延安整风实录N/A高新民
张树军
简体PDF(扫描版)2017-08-13简介
内在的敌人The Enemy Within
——An Eyewitness Account of the Communist Conquest of China
(比利时) Raymond de Jaegher (中文名:雷震远)简体PDF
简体EPUB
简体MOBI
简体CHM
2014-02-03
2014-03-29
2018-12-08
2014-02-03
简介
+ +

◇政治 / 中国 / 中共历史 / 江西时期

+ + + + + + +
中文书名作者文件类型上传日期备注
AB 团与富田事变始末戴向青
罗惠兰
简体PDF(扫描版)2015-05-12简介
博古和毛泽东
——及中华苏维埃共和国的领袖们
秦福铨繁體PDF(掃描版)2017-08-16简介
“肃 AB 团”事件的历史考察高华简体PDF2016-12-20简介
+ +

◇政治 / 中国 / 中共历史 / (其它)

+ + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
谁是新中国
——中国现代史辨
Which is the New China
——Distinguishing between Right and Wrong in Modern Chinese History
辛灏年 (原名:高尔品)简体PDF
简体CHM
2012-12-30
2012-12-10
简介
中国共产革命七十年N/A陈永发繁體PDF(上下冊 掃描版)2012-10-15简介
中国思想运动史N/A李洪林简体PDF(扫描版)2013-07-07简介
在历史的风陵渡口N/A高华简体PDF2012-12-09简介
新中国三十年
其它中文名:
毛澤東專政始末
N/A(美) 唐德刚简体PDF
繁體EPUB
繁體MOBI
简体MOBI
2014-01-09
2019-01-04
2019-01-04
2020-05-29
简介
我亲历过的政治运动N/A(多人)简体PDF(扫描版)2013-04-21简介
20世纪后半叶历史解密Decoding History, 1950s~2000s何清涟 (主编)简体PDF2013-07-07简介
中国“左”祸N/A文聿 (原名:陆建华)简体PDF(扫描版)2013-04-21简介
毛泽东执政春秋N/A单少杰简体PDF2015-07-18简介
北大魂
——从林昭到八九民运
N/A甘粹简体PDF2013-08-11简介
中共五十年N/A王明 (原名:陈绍禹)简体PDF(扫描版)2013-05-09简介
十年论战
——1956-1966中苏关系回忆录
N/A吴冷西简体PDF(扫描版)2013-02-01简介
无耻的洋人N/A徐沛简体PDF2013-07-28简介
+ +

◇政治 / 中国 / 政治人物

+ +

◇政治 / 中国 / 政治人物 / 共产党

+ +

◇政治 / 中国 / 政治人物 / 共产党 / 陈独秀

+ + + + + +
中文书名作者文件类型上传日期备注
陈独秀的最后见解
——论文和书信
陈独秀繁體PDF(竪排掃描版)2019-05-19简介
陈独秀与莫斯科的恩恩怨怨姚金果简体PDF(扫描版)2017-08-13简介
+ +

◇政治 / 中国 / 政治人物 / 共产党 / 毛泽东

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
红太阳的陨落
——千秋功罪毛泽东
N/A辛子陵 (原名:宋科)简体PDF
简体MOBI
简体DOC
2012-12-09
2020-05-29
2012-04-05
简介
毛泽东时代和后毛泽东时代,1949~2009
——另一种历史书写
N/A钱理群繁體PDF(掃描版)
简体MOBI
2013-05-07
2020-05-29
简介
毛泽东私人医生回忆录The Private Life of Chairman Mao李志绥简体PDF
繁體PDF(豎排掃描版)
英文EPUB
2013-08-01
2015-02-08
2020-01-23
简介
新发现的毛泽东
——仆人眼中的伟人
N/A王若水简体PDF2012-04-05简介
毛泽东
——鲜为人知的故事
Mao
——The Unknown Story
张戎 (原名:张二鸿)简体PDF2013-08-01简介
毛主席用兵真如神?N/A芦笛繁體PDF2015-11-09简介
+ +

◇政治 / 中国 / 政治人物 / 共产党 / 周恩来

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
晚年周恩来Zhou Enlai
——The Last Perfect Revolutionary
高文谦简体PDF
简体EPUB
简体MOBI
英文PDF
2012-10-05
2013-09-14
2018-09-06
2020-01-23
简介
周恩来与上海灭门血案N/A吴基民简体PDF2018-09-06简介
+ +

◇政治 / 中国 / 政治人物 / 共产党 / 邓小平

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
中南海日记
——中共两代王储的陨落
N/A吴稼祥繁體PDF(掃描版)2012-12-09简介
邓小平时代Deng Xiaoping and the Transformation of China(美) Ezra Vogel (中文名:傅高义)繁體PDF(香港版 無刪節)
简体MOBI(香港版 无删节)
英文EPUB
2013-04-14
2020-05-29
2020-01-23
简介
+ +

◇政治 / 中国 / 政治人物 / 共产党 / 胡耀邦

+ + + + + + + +
中文书名作者文件类型上传日期备注
胡耀邦与平反冤假错案戴煌 (原名:戴澍霖)简体PDF(扫描版)2017-05-01简介
胡耀邦与中国政治改革
——12位老共产党人的反思
(多人)繁體PDF(掃描版)2013-02-01简介
胡耀邦下台的背景
——人道主义在中国的命运
王若水简体TXT2012-12-19简介
十年的路
——和胡耀邦相处的日子
吴江繁體PDF(掃描版)2013-02-02简介
+ +

◇政治 / 中国 / 政治人物 / 共产党 / 赵紫阳

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
改革历程
——赵紫阳回忆录
其它中文名:
国家的囚徒
——赵紫阳的秘密录音
Prisoner of the State
——The Secret Journal of Premier Zhao Ziyang
赵紫阳简体PDF
英文PDF
2012-04-05
2020-01-23
简介
赵紫阳还说过什么?
——杜导正日记
N/A杜导正简体PDF2012-05-25简介
+ +

◇政治 / 中国 / 政治人物 / 共产党 / 第4代

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
中国影帝温家宝China's Best Actor
——Wen Jiabao
余杰简体PDF
简体TXT
2012-10-26
2012-12-13
简介
河蟹大帝胡锦涛N/A余杰简体PDF(不全)2013-03-14简介
中国权贵的死亡游戏A Death in the Lucky Holiday Hotel
——Murder, Money, and an Epic Power Struggle in China
何频
黄闻光
繁體PDF2014-05-04简介
+ +

◇政治 / 中国 / 政治人物 / 共产党 / (其他人物)

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
多余的话Superfluous Words瞿秋白 (原名:瞿懋淼)繁體TXT
简体MOBI
2019-08-23
2020-05-29
简介
我的回忆N/A张国焘简体PDF2012-10-26简介
林彪浮沉录The Rise and Fall of Lin Piao(荷兰) 雅普·冯·吉内肯简体PDF(扫描版)2013-05-19简介
杨尚昆日记N/A杨尚昆简体PDF(扫描版)2017-08-13简介
红色家族档案
——罗瑞卿女儿的点点记忆
N/A罗点点 (原名:罗峪平)简体EPUB
简体PDF(扫描版)
2015-11-10
2013-04-21
简介
龚楚回忆录N/A龚楚繁體PDF(豎排掃描版)2014-02-04简介
李作鹏回忆录N/A李作鹏简体EPUB2014-03-29简介
邱会作回忆录N/A邱会作简体EPUB2014-03-29简介
+ +

◇政治 / 中国 / 政治人物 / 国民党

+ +

◇政治 / 中国 / 政治人物 / 国民党 / 蒋中正

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
蒋中正思想言论总集N/A蒋中正繁體CHM2015-02-08简介
蒋介石传The Man Who Lost China
——The First Full Biography of Chiang Kai-shek
(美) 布赖恩·克罗泽简体EPUB2019-08-23简介
+ +

◇政治 / 中国 / 政治人物 / 国民党 / 蒋经国

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
蒋经国自述N/A蒋经国简体PDF2015-02-09简介
我在苏联的生活N/A蒋经国繁體PDF(竪排掃描版)2015-07-17简介
蒋经国传Biography of Chiang Ching-Kuo(中/美) 江南 (原名:刘宜良)简体EPUB
简体PDF(扫描版)
简体TXT
2017-05-06
2015-11-21
2016-05-01
简介
+ +

◇政治 / 中国 / 政治人物 / 国民党 / (其他人物)

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
胡汉民自传N/A胡汉民繁體DJVU(竪排掃描版)2015-07-16简介
李宗仁回忆录Memoirs of Li Zongren李宗仁 (口述)
(中/美) 唐德刚 (整理)
简体EPUB
简体MOBI
简体PDF(扫描版)
2019-08-23
2019-08-23
2020-03-28
简介
张学良口述历史N/A张学良 (口述)
(中/美) 唐德刚 (整理)
简体PDF(扫描版)
简体EPUB
简体MOBI
2015-01-07
2015-05-11
2015-05-11
简介
白崇禧回忆录N/A白崇禧简体PDF(扫描版)2015-07-16简介
成败之鉴
——陈立夫回忆录
N/A陈立夫繁體PDF(竪排掃描版)2015-07-16简介
旷世风雷一梦痕
——九十年人生经历见证
N/A王思诚繁體PDF(竪排掃描版)2013-07-07简介
+ +

◇政治 / 中国 / 政治人物 / 太子党关系网络

+ +这是俺花了不少时间整理的,包括十多张详细的网状图,涵盖几百个权贵家族。
+通过此文档,可以直观体会到天朝就是一个“权贵资本主义社会”。
+俺已经把这份文档开源到 GitHub(它不但是一个开源项目的集散地,也是一个多人网络协作的平台)。希望大伙儿群策群力,一起来曝光权贵丑陋的嘴脸。
+更多详情请看 zhao@github
+

◇政治 / 中国 / 社会阶层与贫富分化

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
中国底层访谈录Interviews with the Lower Strata of Chinese Society廖亦武简体PDF(上下 扫描版)
简体PDF(上中下 文字版)
简体PDF(上中下 大字版)
2012-12-10
2013-03-31
2013-03-31
简介
中国当代社会各阶层分析N/A杨继绳简体PDF(扫描版)2012-01-14简介
中国社会各阶层分析N/A梁晓声简体PDF(扫描版)2012-12-10简介
中国农民调查Will the Boat Sink the Water?
——The Life of China's Peasants
陈桂棣
吴春桃
简体PDF
简体TXT
2015-11-15
2016-05-18
简介
上帝是红色的
——中国十字架地下寻访录
God Is Red
——The Secret Story of How Christianity Survived and Flourished in Communist China
廖亦武简体PDF
简体EPUB
简体MOBI
2013-05-01
2014-03-29
2018-11-10
简介
地震疯人院
——2008·5·12四川大地震记事
Earthquake Insane Asylum廖亦武简体PDF2013-05-02简介
中国社会分层的结构与演变The Structure and Evolution of Chinese Social Stratification李毅简体CHM2013-07-28简介
+ +

◇政治 / 中国 / 腐败问题

+ + + + + + + +
中文书名作者文件类型上传日期备注
远华案黑幕盛雪 (原名:臧锡红)简体PDF
简体TXT
2013-01-13
2013-01-01
简介
人妖之间刘宾雁简体PDF2013-03-09简介
有关北京龙泉寺住持释学诚不法行为的汇报释贤启
释贤佳
简体PDF2018-08-24简介
编译局言情录
——一朝忽觉京梦醒,半世浮沉雨打萍
常艳简体PDF2012-12-24简介
+ +

◇政治 / 中国 / 中宣部与言论审查

+ + + + + + +
中文书名作者文件类型上传日期备注
讨伐中宣部
——焦国标文集
焦国标简体CHM2013-01-07简介
雾锁中国
——中国大陆控制媒体策略大揭秘
何清涟简体PDF
简体MOBI
2013-05-01
2013-05-13
简介
中国政府如何控制媒体
——中国人权研究报告
何清涟简体PDF2013-01-13简介
+ +

◇政治 / 中国 / 教育问题

+ + + + + + +
中文书名作者文件类型上传日期备注
审视中学语文教育(多人)简体PDF(扫描版)2013-02-25简介
沉疴
——中国教育的危机与批判
冉云飞简体PDF2013-07-07简介
我不原谅
——一个90后对中国教育的批评和反思
钟道然简体DOC
简体PDF(扫描版)
2013-04-04
2013-05-01
简介
+ +

◇政治 / 中国 / 少数民族问题

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
天葬
——西藏的命运
Sky Burial
——The Fate of Tibet
王力雄简体PDF
简体TXT
2012-12-31
2012-12-31
简介
我的西域,你的东土My West China, Your East Turkestan王力雄简体PDF
简体MOBI
2013-03-22
2020-05-29
简介
1959,拉萨!
——达赖喇嘛如何出走
N/A李江琳繁體PDF(掃描版)2013-07-26简介
西藏生与死
——雪域的民族主义
Tibet
——Survival in Question
(法) 董尼德繁體PDF(竪排掃描版)2012-12-31简介
流亡中的自在
——达赖喇嘛自传
Freedom in Exile
——The Autobiography of the Dalai Lama
十四世达赖喇嘛 (原名:丹增嘉措)简体PDF
简体EPUB
简体MOBI
英文PDF(扫描版)
2017-03-26
2014-03-29
2018-11-10
2020-01-22
简介
西藏笔记
其它中文名:
名为西藏的诗
Notes on Tibet唯色 (全名:茨仁唯色)简体PDF(扫描版)2013-05-19简介
东突厥斯坦独立运动
——1930年代至1940年代
N/A王柯简体EPUB
简体MOBI
2014-03-28
2014-03-28
简介
+ +

◇政治 / 中国 / 司法问题

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
中国冤案录China's Unjust Court Cases廖亦武简体MOBI(三卷合集)
简体PDF(第2卷)
2014-02-23
2013-05-01
简介
遭遇警察
——中国维权第一线亲历记录
In the Shadow of the Rising Dragon
——Stories of Repression in the New China
徐友渔
华泽
简体PDF2016-12-08简介
昨夜雨骤风狂N/A吴弘达简体PDF2013-05-13简介
大国寡民N/A卢跃刚简体PDF2014-02-05简介
狱后杂谈N/A欧阳懿简体TXT2014-02-22简介
+ +

◇政治 / 中国 / 环境问题

+ + + + + + + +
中文书名作者文件类型上传日期备注
灾变论
——寻找另外一个中国
任不寐简体HTML2015-02-15简介
人口
——中国的悬剑
何清涟简体PDF2015-07-22简介
中国冥路
——中国每年非常死亡480万
北明繁體PDF2015-02-17简介
民以何食为天
——中国食品安全现状调查
周勍简体PDF(扫描版)2014-01-09简介
+ +

◇政治 / 中国 / 公民维权

+ + + + + +
中文书名作者文件类型上传日期备注
追问阳光财政
——2009公民税权手册
传知行研究所简体PDF2015-07-22简介
2017年,起来中国
——酷刑下的维权律师高智晟自述
高智晟繁體PDF2016-12-23简介
+ +

◇政治 / 中国 / 民运与革命

+ + + + + +
中文书名作者文件类型上传日期备注
中国民主革命之路
——中国民主化运动百题问答
王炳章简体PDF2015-11-12简介
如何推翻中共高光俊简体PDF2015-01-12简介
+ +

◇政治 / 中国 / (其它)

+ + + + + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
王小波全集N/A王小波简体CHM
简体EPUB
2013-08-21
2013-09-14
简介
沉默的大多数 (杂文合集)N/A王小波简体PDF
简体PDF(大字版)
2013-10-20
2020-03-30
简介
容忍与自由
——胡适演讲集
N/A胡适简体EPUB
简体MOBI
2020-03-30
2015-11-09
简介
刘晓波文集N/A刘晓波简体PDF2013-06-19简介
未来的自由中国在民间Civil Awakening
——The Dawn of a Free China
刘晓波简体PDF2012-12-09简介
单刃毒剑
——中国当代民族主义批判
A Single Blade and Toxic Sword
——Critique on Comtempory Chinese Nationalism
刘晓波简体PDF2012-12-09简介
数人头胜过砍人头N/A胡平繁體PDF2013-03-16简介
犬儒病
——当代中国精神危机
N/A胡平简体PDF2013-04-13简介
火与冰Fire and Ice余杰简体PDF2012-12-11简介
致帝国的悼词
——中国大陆的自由状况及前景
N/A余杰简体PDF2012-12-11简介
关于中国的一百个常识One Hundred Points of Common Sense about China陈破空 (原名:陈劲松)简体PDF
简体CHM
2019-01-23
2013-05-13
简介
国家的常识 (中国部分)Countries and Concepts
——Politics, Geography, Culture
(美) 迈克尔·罗斯金简体PDF2015-02-23简介
王怡文集N/A王怡简体CHM2013-05-19简介
通往比傻帝国N/A冉云飞简体PDF(扫描版)2013-06-22简介
不服从的江湖N/A王怡简体PDF(扫描版)2013-05-19简介
中国近百年人权思想N/A杜钢建繁體EPUB
繁體MOBI
2014-05-04
2014-05-04
简介
伪民主派卖港实录N/A黄毓民繁體PDF2013-06-22简介
血纪N/A孔令平简体PDF2013-05-19简介
+ +

◇政治 / 美国

+ +

◇政治 / 美国 / 政治制度

+ + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
论美国的民主
其它中文名:
民主在美国
Democracy in America(法) 亚历西斯·德·托克维尔简体PDF(上下卷)
简体MOBI
英文PDF
2012-10-06
2013-05-13
2020-03-03
简介
美国是如何治理的To Govern America(美) 罗杰·希尔斯曼简体PDF(扫描版)2017-02-17简介
事关选举
——美国国会的政治解读
Congress
——The Electoral Connection
(美) 戴维·梅休简体PDF(扫描版)
英文PDF(扫描版)
2017-02-17
2020-03-03
简介
国会政体
——美国政治研究
Congressional Government
——A Study in American Politics
(美) 伍德罗·威尔逊简体PDF(扫描版)
英文TXT
2017-02-17
2020-03-03
简介
美国的陪审团In the Hands of the People
——The Trial Jury's Origins, Triumphs, Troubles, and Future in American Democracy
(美) 威廉·德威尔简体PDF(扫描版)2017-02-18简介
牛津通识读本:美国政治American Politics
——A Very Short Introduction
(美) 理查德·瓦雷利英文PDF2020-03-16简介
牛津通识读本:美国总统制The American Presidency
——A Very Short Introduction
(美) 查尔斯·琼斯简体EPUB
简体AZW3
2015-12-04
2015-12-04
简介
牛津通识读本:美国国会The U.S. Congress
——A Very Short Introduction
(美) 唐纳德·里奇英文PDF
英文MOBI
2015-12-13
2020-12-07
简介
牛津通识读本:美国最高法院The U.S. Supreme Court
——A Very Short Introduction
(美) 琳达·格林豪斯简体EPUB
简体AZW3
2015-12-05
2015-12-05
简介
牛津通识读本:美国政党和选举American Political Parties and Elections
——A Very Short Introduction
(美) 桑迪·梅塞尔英文PDF2015-12-12简介
九人
——美国最高法院风云
The Nine
——Inside the Secret World of the Supreme Court
(美) 杰弗里·图宾简体PDF(扫描版)
英文PDF(扫描版)
2017-02-17
2020-03-03
简介
言论的边界
——美国宪法第一修正案简史
Freedom for the Thought That We Hate
——A Biography of the First Amendment
(美) 安东尼·刘易斯简体EPUB
简体PDF(扫描版)
英文PDF
2015-11-20
2017-02-17
2020-03-03
简介
美国宪政历程
——影响美国的25个司法大案
N/A任东来
等
简体PDF(大字版)
简体PDF(扫描版)
简体EPUB
简体MOBI
2016-12-19
2013-11-26
2018-11-10
2014-02-23
简介
费城风云
——美国宪法的诞生和我们的反思
N/A易中天简体EPUB
简体TXT
2018-12-08
2016-05-19
简介
宪法的精神
——美国联邦最高法院200年经典判例选读
N/A北京大学法学院司法研究中心简体PDF(扫描版)2015-01-12简介
+ +

◇政治 / 美国 / 政治人物

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
打造美国
——杰斐逊总统与马歇尔大法官的角逐
What Kind of Nation
——Thomas Jefferson, John Marshall, and the Epic Struggle to Create a United States
(美) 詹姆斯·西蒙简体PDF(扫描版)2017-05-05简介
牛津通识读本:林肯Lincoln
——A Very Short Introduction
(美) 艾伦·古尔佐英文PDF
英文MOBI
2015-12-12
2020-12-07
简介
+ +

◇政治 / 美国 / 外交

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
剑桥美国对外关系史The Cambridge History of American Foreign Relations(美) 沃伦·科恩 (中文名:孔华润)简体PDF(扫描版)2017-02-18简介
战后美国外交史
——从杜鲁门到里根
N/A资中筠
等
简体PDF(扫描版)2017-05-05简介
历史的见证,1929~1969年Witness to History, 1929~1969(美) 查尔斯·波伦简体PDF(扫描版)2017-02-18简介
“美国例外论”与美国外交政策传统N/A周琪简体PDF2017-02-18简介
+ +

◇政治 / 美国 / 情报系统

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
无处可藏
——斯诺登、美国国安局与全球监控
No Place to Hide
——Edward Snowden, the NSA and the U.S. Surveillance State
(美) 格伦·格林沃尔德简体EPUB
英文PDF
2016-12-20
2020-03-04
简介
永久记录
其它中文名:
永久档案
Permanent Record(美) 爱德华·斯诺登简体PDF(精校版 标注删节部分)
简体EPUB(台湾版 无删节)
英文PDF
2020-03-24
2019-12-02
2019-10-30
简介
帷幕
——美国中央情报局的秘密战争,1981~1987
Veil
——The Secret Wars of the CIA, 1981~1987
(美) 鲍勃·伍德沃德简体PDF(扫描版)
英文EPUB
2017-02-18
2020-03-04
简介
危机
——美国国家安全局透视
N/A(未知)简体PDF2013-06-18简介
+ +

◇政治 / 美国 / (其它)

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
美国的自由主义传统
——独立革命以来美国政治思想阐释
The Liberal Tradition in America
——An Interpretation of American Political Thought since the Revolution
(美) 路易斯·哈茨简体PDF(扫描版)
英文EPUB
2017-02-19
2020-03-04
简介
发掘新闻
——美国报业的社会史
Discovering the News
——A Social History of American Newspapers
(美) 迈克尔·舒德森简体PDF(扫描版)
英文PDF(扫描版)
2017-08-16
2020-03-04
简介
常识Common Sense(英/美) 托马斯·潘恩简体EPUB
简体MOBI
简体PDF(扫描版)
简体TXT
英文EPUB
英文MOBI
2014-05-23
2018-12-08
2017-03-24
2016-05-18
2018-09-06
2018-09-06
简介
民主的细节
——美国当代政治观察随笔
N/A刘瑜简体PDF(大字版)
简体EPUB
简体MOBI
简体TXT
2020-03-30
2013-09-14
2018-09-06
2013-05-24
简介
近距离看美国
包括如下:
历史深处的忧虑
总统是靠不住的
我也有一个梦想
如彗星划过夜空
N/A(中/美) 林达 (原名:丁鸿富 & 李晓琳)简体PDF(共4册 大字版)
简体PDF(共4册 扫描版 缺第4册)
简体MOBI
2020-03-30
2017-02-18
2018-09-06
简介
+ +

◇政治 / 苏联

+ +

◇政治 / 苏联 / 苏共历史

+ + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:俄国革命The Russian Revolution
——A Very Short Introduction
(英) 斯蒂芬·史密斯英文PDF
英文MOBI
2015-12-13
2020-12-07
简介
苏共野史
——党治制的由来
The Communist Party Apparatus(俄/苏) 阿卜杜拉赫曼·阿夫托尔汉诺夫简体PDF(扫描版)
英文DJVU(扫描版)
2014-01-09
2020-03-02
简介
苏联政治内幕
——知情者的见证
The System
——An Insider's Life in Soviet Politics
(苏/俄) 乔治·阿尔巴托夫简体PDF(扫描版)2016-12-18简介
帝国的消亡
——当代俄罗斯的教训
Collapse of an Empire
——Lessons for Modern Russia
(苏/俄) 叶戈尔·盖达尔简体PDF(扫描版)
英文PDF
2015-01-12
2020-03-02
简介
苏联解体亲历记Autopsy on an Empire
——The American Ambassador's Account of the Collapse of the Soviet Union
(美) 小杰克·马特洛克简体PDF(上下册)
简体PDF(扫描版)
2019-02-22
2013-07-07
简介
苏联的最后一年N/A(苏/俄) 罗伊·麦德维杰夫简体PDF(扫描版)2018-08-09简介
大国悲剧
——苏联解体的前因后果
N/A(苏/俄) 尼古拉·雷日科夫简体TXT2016-05-17简介
一个大国的崛起与崩溃
——苏联历史专题研究,1917~1991
N/A沈志华 (主编)简体PDF(共3册 扫描版)
简体TXT
2015-11-03
2018-08-09
简介
帝国
——俄罗斯五十年
Imperium(波兰) 雷沙德·卡普钦斯基繁體PDF(豎排掃描版)
英文EPUB
2013-11-26
2020-03-02
简介
苏联兴亡史纲N/A陈之骅
等
简体PDF(扫描版)2013-01-01简介
东欧大裂变纪实N/A欧阳东简体PDF(扫描版)2013-01-01简介
+ +

◇政治 / 苏联 / 政治人物

+ +

◇政治 / 苏联 / 政治人物 / 普列汉诺夫

+ + + + +
中文书名作者文件类型上传日期备注
政治遗嘱
——格·瓦·普列汉诺夫最后的想法
(苏) 格奥尔基·普列汉诺夫简体PDF
简体HTML
2018-08-09
2016-12-23
简介
+ +

◇政治 / 苏联 / 政治人物 / 斯大林

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
关于个人崇拜及其后果
其它中文名:
苏共二十大秘密报告
On the Cult of Personality and Its Consequences(苏) 尼基塔·赫鲁晓夫简体TXT2019-02-25简介
斯大林秘闻
——原苏联秘密档案披露
Stalin
——The First In-depth Biography Based on Explosive New Documents from Russia's Secret Archives
(苏/俄) 爱德华·拉津斯基简体PDF
简体EPUB
简体MOBI
英文PDF
2013-01-01
2013-09-13
2018-11-10
2020-03-02
简介
斯大林秘书回忆录Memoirs of the Former Secretary of Stalin(苏) 波利斯·巴让诺夫简体PDF(扫描版)2015-11-19简介
斯大林死之谜The Mystery of Stalin's Death
——Beria's Plot
(俄/苏) 阿卜杜拉赫曼·阿夫托尔汉诺夫简体PDF(扫描版)2016-12-18简介
仅仅一年
——斯大林女儿回忆录
Only One Year(苏/美/英) 斯维特兰娜·阿利卢耶娃简体PDF(扫描版)2018-08-09简介
+ +

◇政治 / 苏联 / 政治人物 / 托洛茨基

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
我的生平
——托洛茨基自传
My Life
——An Attempt at an Autobiography
(俄/苏) 列夫·托洛茨基简体PDF(扫描版)2015-10-24简介
先知三部曲
包括如下:
第1部 武装的先知——托洛茨基1879~1921
第2部 被解除武装的先知——托洛茨基1921~1929
第3部 流亡的先知——托洛茨基1929~1940
The Prophet
——The Life of Leon Trotsky
(波兰) 伊萨克·多伊彻简体HTML
英文EPUB
2019-02-12
2020-03-02
简介
+ +

◇政治 / 苏联 / 政治人物 / 赫鲁晓夫

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
赫鲁晓夫回忆录Memoirs of Nikita Khrushchev(苏) 尼基塔·赫鲁晓夫简体PDF(上下卷 扫描版)2016-12-09简介
最后的遗言
——赫鲁晓夫回忆录续集
Memoirs of Nikita Khrushchev(苏) 尼基塔·赫鲁晓夫简体PDF(扫描版)2016-12-09简介
+ +

◇政治 / 苏联 / 政治人物 / 勃列日涅夫

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
勃列日涅夫的力量和弱点The Power and Powerlessness of Brezhnev(俄/苏) 阿卜杜拉赫曼·阿夫托尔汉诺夫简体PDF(扫描版)2019-05-27简介
走近衰亡
——苏联勃列日涅夫时期研究
Toward the Decline and Fall
——A Study of the USSR under Brezhnev
陆南泉简体PDF(扫描版)2016-12-08简介
+ +

◇政治 / 苏联 / 政治人物 / 戈尔巴乔夫

+ + + + +
中文书名英文书名作者文件类型上传日期备注
“真相”与自白
——戈尔巴乔夫回忆录
Memoirs(俄) 米哈伊尔·戈尔巴乔夫简体EPUB
简体MOBI
2013-10-20
2014-02-23
简介
+ +

◇政治 / 苏联 / 政治人物 / (其他人物)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
布哈林与布尔什维克革命
——政治传记,1888~1938
Bukharin and the Bolshevik Revolution
——A Political Biography, 1888~1938
(美) 斯蒂芬·科恩简体PDF(扫描版)
英文PDF(扫描版)
2019-02-13
2020-03-02
简介
+ +

◇政治 / 苏联 / 大清洗与古拉格

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
古拉格群岛The Gulag Archipelago(苏/俄) 亚历山大·索尔仁尼琴简体PDF(上下册 扫描版)
简体MOBI
简体HTML
英文PDF(共3卷 扫描版)
2018-08-09
2013-04-20
2013-02-22
2020-03-02
简介
古拉格
——一部历史
Gulag
——A History
(美) 安妮·阿普尔鲍姆简体PDF(大字版)
简体EPUB
简体MOBI
英文PDF(大字版)
英文EPUB
2014-02-12
2014-01-09
2018-11-10
2017-08-16
2018-08-09
简介
苏联大清洗内幕N/A陈启能 (主编)简体HTML
简体PDF(扫描版)
2013-02-22
2018-08-09
简介
历届克格勃主席的命运Chairmen of the KGB
——Declassified fates
(俄) 列昂尼德·姆列钦简体PDF2019-02-07简介
正午的黑暗
其它中文名:
中午的黑暗
Darkness at Noon(匈/英) 阿瑟·库斯勒英文PDF
英文EPUB
2015-02-09
2014-07-28
简介
+ +

◇政治 / 苏联 / (其它)

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:苏联The Soviet Union
——A Very Short Introduction
(英) 斯蒂芬·洛弗尔英文PDF2015-12-13简介
俄国人The Russians(美) 赫德里克·史密斯简体PDF(扫描版)2014-02-21简介
苏联真相
——对101个重要问题的思考
N/A陆南泉
等
简体PDF(共3册 扫描版)2013-01-01简介
苏联的心灵
——共产主义时代的俄国文化
The Soviet Mind
——Russian Culture under Communism
(俄/英) 以赛亚·伯林简体PDF(扫描版)
英文PDF
2013-08-21
2020-03-02
简介
访苏归来
其它中文名:
从苏联归来
Return From The USSR(法) 安德烈·纪德英文PDF(扫描版)2019-02-08简介
莫斯科日记
其它中文名:
我和妻子的苏联之行
N/A(法) 罗曼·罗兰简体PDF(扫描版)2019-05-18简介
+ +

◇政治 / 英国

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:英国政治British Politics
——A Very Short Introduction
(英) 托尼·赖特英文PDF2015-12-13简介
牛津通识读本:英国宪法The British Constitution
——A Very Short Introduction
(英) 马丁·洛克林英文EPUB2020-03-16简介
+ +

◇政治 / 法国

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
旧制度与大革命The Old Regime and the Revolution(法) 亚历西斯·德·托克维尔简体PDF
简体EPUB
简体MOBI
简体PDF(扫描版)
英文PDF(扫描版)
2012-10-06
2013-09-14
2018-11-10
2017-03-24
2020-03-07
简介
法国大革命的起源Origins of the French Revolution(英) 威廉·多伊尔繁體PDF(掃描版)2013-11-26简介
牛津通识读本:法国大革命The French Revolution
——A Very Short Introduction
(英) 威廉·多伊尔英文PDF2019-01-03简介
+ +

◇政治 / 德国

+ + + + +
中文书名作者文件类型上传日期备注
大墙倾倒之际
——克伦茨回忆录
(德) 埃贡·克伦茨简体PDF(扫描版)2016-12-10简介
+ +

◇政治 / (其它国家)

+ +

◇政治 / (其它国家) / 北朝鲜

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
黄长烨回忆录Hwang Jang-yop Memoir(韩) 黄长烨简体PDF
简体TXT
2013-02-19
2016-05-01
简介
我们最幸福
——北韩人民的真实生活
其它中文名:
无可羡慕
——朝鲜人的普通生活
Nothing to Envy
——Ordinary Lives in North Korea
(美) 芭芭拉·德米克简体PDF
简体EPUB
英文EPUB
2013-02-19
2013-09-14
2020-01-22
简介
平壤水族馆
——我在北韩古拉格的十年
The Aquariums of Pyongyang
——Ten Years in the North Korean Gulag
(韩) 姜哲焕
(法) 皮耶·李古乐
繁體EPUB
英文EPUB
2014-05-04
2020-01-22
简介
逃出14号劳改营
——从人间炼狱到自由世界的脱北者传奇
Escape from Camp 14
——One Man's Remarkable Odyssey From North Korea to Freedom in the West
(韩) 申东赫
(美) 布莱恩·哈登
繁體EPUB
英文PDF
2016-07-18
2020-01-22
简介
这就是天堂!
——我的北韩童年
This is Paradise!
——My North Korean Childhood
(韩) 姜赫
(法) 菲利普·格兰杰罗
繁體EPUB2014-06-22简介
平壤
——朝鲜之旅
Pyongyang
——A Journey in North Korea
(加) 盖·德利斯勒简体PDF(漫画 扫描版)2013-03-30简介
+ +

◇政治 / (其它国家) / 柬埔寨

+ + + + + +
中文书名作者文件类型上传日期备注
革命的僭妄
——红色高棉,一部血淋淋的历史
(多人)简体PDF2016-12-23简介
波尔布特传王爱飞简体PDF2013-05-19简介
+ +

◇政治 / (其它国家) / 西班牙

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:西班牙内战The Spanish Civil War
——A Very Short Introduction
(英) 海伦·格雷汉姆英文PDF2020-03-16简介
西班牙的民主和内战,1931~1939Democracy and Civil War in Spain 1931~1939(英) 马丁·布林克霍恩简体PDF(大字版)2019-02-18简介
+ +

◇政治 / (其它国家) / 捷克斯洛伐克

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
哈维尔文集N/A(捷克) 瓦茨拉夫·哈维尔简体PDF
简体HTML
2013-03-22
2019-10-29
简介
“布拉格之春”前后Czechoslovakia Since World War II(波兰/美) 塔德·舒尔茨简体PDF(扫描版)2018-08-09简介
杜布切克回忆录N/A(捷克) 亚历山大·杜布切克简体PDF(扫描版)2014-07-12简介
严寒来自克里姆林宫Frost comes from Kremlin(捷克) 兹德涅克·姆林纳日简体PDF(扫描版)2014-07-12简介
+ +

◇政治 / (其它国家) / 波兰

+ + + + +
中文书名英文书名作者文件类型上传日期备注
瓦文萨自传A Way of Hope
——An Autobiography
(波兰) 莱赫·瓦文萨简体PDF(扫描版)2016-12-10简介
+ +

◇政治 / (其它国家) / 罗马尼亚

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
流氓的归来The Hooligan's Return(罗) 诺曼·马内阿简体PDF(扫描版)
英文MOBI
2014-05-04
2020-01-22
简介
论小丑
——独裁者和艺术家
On Clowns
——The Dictator and the Artist
(罗) 诺曼·马内阿简体PDF(扫描版)2014-05-04简介
黑信封The Black Envelope(罗) 诺曼·马内阿简体PDF(扫描版)2014-05-04简介
+ +

◇政治 / (其它国家) / 古巴

+ + + + +
中文书名作者文件类型上传日期备注
二十世纪最后的革命家
——菲德尔·卡斯特罗传
程映虹简体PDF2013-03-30简介
+ +
+

+

★心理学

+ +【网盘】
+微软网盘
+BT Sync 密钥:BNZ6DOA6W577O6GUNH7C3MY6DWC6FTDQB (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇心理学 / 通俗读物

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
这才是心理学
——看穿伪心理学的本质
其它中文名:
与众不同的心理学
——如何正视心理学
对“伪心理学”说不
How to Think Straight about Psychology(加) 基思·斯坦诺维奇简体PDF(第10版 大字版)
简体PDF(第8版 扫描版)
简体EPUB(第8版)
简体MOBI(第8版)
简体PDF(第7版 扫描版)
英文PDF(第10版)
英文EPUB(第10版)
英文MOBI(第10版)
英文PDF(第9版)
2019-09-03
2015-05-11
2015-02-16
2015-02-16
2012-12-29
2020-03-15
2020-11-22
2020-11-22
2020-03-15
简介
牛津通识读本:生活中的心理学Psychology
——A Very Short Introduction
(英) 吉莉恩·巴特勒
(英) 弗雷达·麦克马纳斯
简体EPUB(第1版)
简体AZW3(第1版)
英文EPUB(第2版)
2015-12-14
2015-12-14
2020-03-15
简介
+ +

◇心理学 / 认知心理学

+ + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
学会提问
——批判性思维指南
Asking the Right Questions
——A Guide to Critical Thinking
(美) 尼尔·布朗
(美) 斯图尔特·基利
简体PDF(第10版 扫描版)
简体PDF(第7版)
简体EPUB(第7版)
简体MOBI(第7版)
英文PDF(第11版)
英文PDF(第8版)
2019-08-21
2012-01-20
2013-09-13
2015-11-14
2019-12-03
2012-01-20
简介
影响力Influence
——The Psychology of Persuasion
(美) 罗伯特·西奥迪尼简体PDF
简体PDF(扫描版)
简体EPUB
简体MOBI
英文TXT
2013-02-25
2012-12-29
2013-09-13
2014-02-23
2012-12-29
简介
思考,快与慢
其它中文名:
快思慢想
Thinking, Fast and Slow(以色列/美) 丹尼尔·卡尼曼简体EPUB
简体MOBI
简体TXT
英文PDF(大字版)
2015-11-10
2014-07-15
2016-05-15
2020-03-15
简介
超越智商
——为什么聪明人也会做蠢事
What Intelligence Tests Miss
——The Psychology of Rational Thought
(加) 基思·斯坦诺维奇简体EPUB
简体MOBI
英文PDF
2019-09-03
2019-09-03
2019-12-03
简介
无从选择
——为何多即是少
其它中文名:
选择的悖论
——用心理学解读人的经济行为
The Paradox of Choice
——Why More Is Less
(美) 巴里·施瓦茨简体PDF(大字版)
简体PDF(扫描版)
英文PDF
2019-09-03
2012-12-29
2012-12-29
简介
清醒思考的艺术(上篇)、明智行动的艺术(下篇)The Art of Thinking Clearly(瑞士) 罗尔夫·多贝里简体PDF(上篇 扫描版)
简体EPUB (上篇 插图版)
简体EPUB (下篇 插图版)
简体MOBI (下篇 插图版)
英文PDF
英文EPUB
2014-07-15
2015-12-01
2019-04-20
2019-04-20
2015-11-13
2015-11-13
简介
浅薄
——互联网如何毒化我们的大脑
The Shallows
——What the Internet Is Doing to Our Brains
(美) 尼古拉斯·卡尔简体PDF
简体MOBI
英文PDF
2015-02-23
2015-11-14
2019-12-03
简介
怪诞行为学1
——可预测的非理性
Predictably Irrational
——The Hidden Forces That Shape Our Decisions
(美) 丹·艾瑞里简体PDF(扫描版)
简体EPUB
2014-07-27
2015-01-07
简介
怪诞行为学2
——非理性的积极力量
The Upside of Irrationality
——The Unexpected Benefits of Defying Logic at Work and at Home
(美) 丹·艾瑞里简体EPUB2015-01-07简介
心流
——最优体验心理学
Flow
——The Psychology of Optimal Experience
(意/美) 米哈里·契克森米哈伊简体EPUB
简体MOBI
2019-08-19
2019-08-19
简介
发现心流
——日常生活中的最优体验
Finding Flow
——The Psychology of Engagement with Everyday Life
(意/美) 米哈里·契克森米哈伊简体EPUB
简体MOBI
2019-08-19
2019-08-19
简介
粘住
——为什么我们记住了这些,忘掉了那些?
Made to Stick
——Why Some Ideas Survive and Others Die?
(美) 奇普·希思
(美) 丹·希思
简体PDF(扫描版)2018-11-11简介
统计陷阱
其它中文名:
统计数字会撒谎
How to Lie with Statistics(美) 达莱尔·哈夫简体PDF
简体PDF(大字版)
英文PDF
2015-02-16
2018-11-21
2020-03-15
简介
+ +

◇心理学 / 人格心理学

+ + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
动机与人格Motivation and Personality(美) 亚伯拉罕·马斯洛简体EPUB
简体MOBI
简体PDF(扫描版)
英文PDF
2013-09-13
2018-11-11
2012-12-29
2019-08-21
简介
自卑与超越What Life Could Mean to You
——The Psychology of Personal Development
(奥) 阿尔弗雷德·阿德勒简体EPUB
简体MOBI
2019-08-22
2019-08-22
简介
少有人走的路
——心智成熟的旅程
The Road Less Traveled
——A New Psychology of Love, Traditional Values and Spiritual Growth
(美) 斯科特·派克简体PDF(扫描版)
简体EPUB (精校版)
简体MOBI
简体TXT
英文PDF
2012-06-29
2015-12-01
2014-02-23
2012-06-29
2013-04-14
简介
自控力The Willpower Instinct(美) 凯利·麦格尼格尔简体EPUB
简体MOBI
英文EPUB
2019-08-19
2020-03-30
2020-03-15
简介
人的潜能和价值
——人本主义心理学译文集
N/A(多人)简体PDF(扫描版)2013-02-05简介
身份的焦虑Status Anxiety(瑞士) 阿兰·德波顿简体PDF(扫描版)2014-07-15简介
梦的解析
其它中文名:
释梦
The Interpretation of Dreams(奥) 西格蒙德·弗洛伊德简体PDF
简体TXT
英文PDF
2012-12-29
2016-05-16
2013-04-14
简介
精神分析引论A General Introduction to Psychoanalysis(奥) 西格蒙德·弗洛伊德简体PDF
简体EPUB
简体TXT
2012-12-29
2013-04-16
2016-05-02
简介
心灵的面具
——101种心理防御
101 Defenses
——How the Mind Shields Itself
(美) 杰瑞姆·布莱克曼简体PDF(扫描版)2019-08-22简介
+ +

◇心理学 / 社会心理学

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
社会性动物The Social Animal(美) 埃利奥特·阿伦森简体PDF(第8版)
简体EPUB(第8版)
简体MOBI(第8版)
简体TXT(第8版)
英文PDF(第10版)
2014-01-09
2019-08-21
2014-02-23
2016-05-01
2019-12-03
简介
乌合之众
——大众心理研究
The Crowd
——A Study of the Popular Mind
(法) 古斯塔夫·勒庞简体PDF(扫描版)
简体MOBI
简体TXT
英文PDF
2019-07-16
2014-02-23
2016-05-16
2019-12-03
简介
路西法效应
——好人是如何变成恶魔的
The Lucifer Effect
——Understanding How Good People Turn Evil
(美) 菲利普·津巴多简体PDF(大字版)
简体EPUB
繁體PDF(掃描版)
英文PDF
2018-09-10
2013-09-13
2013-02-05
2020-03-15
简介
+ +

◇心理学 / 性心理学

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
性心理学Psychology of Sex
——A Manual for Students
(英) 哈维洛克·艾利斯 (旧译名:霭理士)简体PDF(扫描版)
简体TXT
2020-11-22
2019-08-22
简介
男人来自火星,女人来自金星Men Are from Mars, Women Are from Venus(美) 约翰·格雷简体PDF(扫描版)2018-09-09简介
+ +

◇心理学 / 教育心理学

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
正面管教Positive Discipline(美) 简·尼尔森简体PDF2014-02-11简介
家庭会伤人
——自我重生的新契机
Bradshaw on the Family
——A Revolutionary Way of Self Discovery
(美) 约翰·布雷萧简体PDF(扫描版)2014-07-15简介
+ +

◇心理学 / 进化心理学

+ +(“进化心理学”是心理学的一个新的研究方向)
+ + + +
中文书名英文书名作者文件类型上传日期备注
进化心理学
——心理的新科学
Evolutionary Psychology
——The New Science of the Mind
(美) 大卫·巴斯简体PDF(扫描版)
简体MOBI
英文PDF(第5版)
2012-12-31
2015-11-14
2020-03-15
简介
+ +

◇心理学 / 洗脑

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
洗脑术
——思想控制的荒唐史
Brainwash
——The Secret History of Mind Control
(英) 多米尼克·斯垂特菲尔德简体PDF(扫描版)
简体MOBI
2012-12-16
2015-05-11
简介
人的驯化、躲避与反叛N/A胡平简体PDF
简体PDF(大字版)
简体TXT
2013-05-01
2013-04-20
2013-03-17
简介
思想改造和极权主义心理学
——中国的洗脑研究
Thought Reform and the Psychology of Totalism
——A Study of Brainwashing in China
(美) 罗伯特·利夫顿英文MOBI2012-10-14简介
洗脑
——思维控制的科学
其它中文名:
洗脑心理学
Brainwashing
——The Science of Thought Control
(英) 凯瑟琳·泰勒简体PDF(扫描版)
英文PDF
2015-07-12
2012-10-14
简介
洗脑的历史
——祸害世界三千年的极端思想控制术解析
N/A傅志彬简体PDF
简体PDF(扫描版)
简体MOBI
2015-02-15
2015-05-11
2020-11-22
简介
+ +

◇心理学 / 审讯与反审讯

+ + + + + + +
中文书名作者文件类型上传日期备注
审讯心理攻略吴克利简体PDF(扫描版)2014-07-28简介
讯问学王传道简体PDF(扫描版)2014-07-28简介
审讯与反审讯文章汇集(热心读者)简体TXT2014-07-28简介
+ +

◇心理学 / (其它)

+ + + + +
中文书名作者文件类型上传日期备注
如何变得有思想
——阮一峰博文集
阮一峰简体EPUB2015-05-12简介
+ +
+

+

★历史

+ +【网盘】
+微软网盘
+BT Sync 密钥:BSH7FXJFVWJTKWGSX5GTWX7PHZZ2D2M7Q (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇历史 / 世界史

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
全球通史
——从史前史到21世纪
A Global History
——From Prehistory to the 21st Century
(加) 斯塔夫里阿诺斯简体PDF(第7版 大字版)
简体PDF(第4版 上下册)
简体CHM(第4版)
英文PDF(第5版 扫描版)
2016-12-16
2013-02-27
2013-02-07
2017-02-22
简介
世界文明史
其它中文名:
文明的故事
The Story of Civilization(美) 威尔·杜兰特
(美) 阿里尔·杜兰特
简体PDF(扫描版)2017-05-03简介
枪炮、病菌与钢铁
——人类社会的命运
Guns, Germs, and Steel
——The Fates of Human Societies
(美) 贾雷德·戴蒙德简体EPUB
简体PDF(大字版)
简体CHM
简体MOBI
英文PDF
2013-09-13
2013-04-20
2013-02-05
2015-05-11
2013-02-05
简介
人类简史
——从动物到上帝
其它中文名:
人類大歷史
——從野獸到扮演上帝
Sapiens
——A Brief History of Humankind
(以色列) 尤瓦尔·赫拉利简体EPUB
简体MOBI
简体PDF(扫描版)
英文PDF(大字版)
2017-08-14
2018-08-08
2020-11-22
2020-01-18
简介
大国的兴衰
——1500年~2000年的经济变迁与军事冲突
The Rise and Fall of the Great Powers
——Economic Change and Military Conflict from 1500 to 2000
(英) 保罗·肯尼迪简体EPUB
简体PDF(大字版)
简体PDF(扫描版)
简体PDF
英文PDF(扫描版)
2017-05-06
2016-12-16
2015-11-18
2014-06-22
2020-01-18
简介
年代四部曲
包括如下:
第1卷 革命的年代 (1789~1848)
第2卷 资本的年代 (1848~1875)
第3卷 帝国的年代 (1875~1914)
第4卷 极端的年代 (1914~1991)
The Age of Revolution (1789~1848)
The Age of Capital (1848~1875)
The Age of Empire (1875~1914)
The Age of Extremes (1914~1991)
(英) 埃里克·霍布斯鲍姆简体PDF(扫描版)
简体EPUB
2018-08-07
2020-03-29
简介
崩溃
——社会如何选择成败兴亡
Collapse
——How Societies Choose to Fail or Succeed
(美) 贾雷德·戴蒙德简体PDF(大字版)
简体MOBI
简体PDF(扫描版)
英文EPUB
2013-04-20
2015-05-11
2017-03-26
2020-01-18
简介
+ +

◇历史 / 欧洲史

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
你一定爱读的极简欧洲史
——为什么欧洲对现代文明的影响这么深
The Shortest History of Europe(澳大利亚) 约翰·赫斯特简体PDF(扫描版)
简体MOBI
英文EPUB
2014-07-28
2015-05-11
2020-01-18
简介
战后欧洲史Postwar
——A History of Europe Since 1945
(英) 托尼·朱特简体PDF(共2卷 扫描版)
英文EPUB
2014-08-11
2020-01-22
简介
欧洲文明史
——自罗马帝国败落起到法国革命
The History of Civilization in Europe(法) 弗朗索瓦·基佐简体PDF(扫描版)2018-08-08简介
欧洲中世纪史Medieval Europe
——A Short History
(美) 朱迪斯·本内特
(美) 沃伦·霍利斯特
简体PDF(第10版 扫描版)2017-05-04简介
牛津通识读本:启蒙运动The Enlightenment
——A Very Short Introduction
(英) 约翰·罗伯逊英文EPUB2020-03-14简介
夹缝中的六国
——维也纳会议以来的中东欧历史
The Lands between
——A History of East-Central Europe Since the Congress of Vienna
(英) 艾伦·帕尔默简体PDF(扫描版)2017-08-14简介
牛津通识读本:十字军The Crusades
——A Very Short Introduction
(英) 克里斯托弗·泰尔曼英文PDF
英文MOBI
2015-12-15
2020-12-08
简介
+ +

◇历史 / 中国

+ +

◇历史 / 中国 / 古代史

+ + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
资治通鉴N/A司马光简体EPUB(柏杨白话版)
简体MOBI(柏杨白话版)
简体HTML
2013-09-13
2018-11-10
2018-08-08
简介
中国历代政治得失N/A钱穆简体EPUB
简体MOBI
简体PDF(扫描版)
简体TXT
2013-09-14
2018-12-08
2019-08-18
2013-08-22
简介
中国大历史China
——A Macro History
(中/美) 黄仁宇简体PDF
简体PDF(大字版)
简体MOBI
英文EPUB
2013-02-05
2019-05-23
2019-05-23
2020-01-22
简介
万历十五年1587, a Year of No Significance
——The Ming Dynasty in Decline
(中/美) 黄仁宇简体PDF(增订纪念本 扫描版)
简体PDF
简体PDF(大字版)
简体TXT
2020-11-22
2014-01-08
2019-05-23
2016-05-17
简介
潜规则
——中国历史中的真实游戏
N/A吴思简体PDF
简体EPUB
简体CHM
简体MOBI
简体TXT
2013-02-27
2013-09-13
2013-02-07
2014-02-23
2016-04-30
简介
血酬定律
——中国历史中的生存游戏
N/A吴思简体PDF
简体MOBI
简体TXT
2014-01-09
2014-02-23
2016-04-30
简介
兴盛与危机
——论中国社会超稳定结构
N/A金观涛
刘青峰
简体PDF
简体HTML
2013-02-07
2017-08-14
简介
赫逊河畔谈中国历史Conversation on Chinese History by the Hudson River(中/美) 黄仁宇简体HTML
简体TXT
繁體MOBI
2018-08-08
2016-05-20
2019-08-23
简介
明朝那些事N/A当年明月 (原名:石悦)简体PDF
简体PDF(大字版)
简体EPUB
简体MOBI
2017-05-06
2018-11-11
2013-09-14
2018-08-08
简介
+ +

◇历史 / 中国 / 近代史

+ + + + + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
《炎黄春秋》合订本 (1999-2010)N/A《炎黄春秋》杂志社简体EPUB2013-09-11简介
中国近代史The Rise of Modern China(中/美) 徐中约简体PDF(上下册)
简体EPUB
2013-03-22
2013-09-13
简介
中国近代史大纲
其它中文名:
中国近代史
Outline of Modern Chinese History蒋廷黻简体PDF(扫描版)
简体PDF
2020-03-30
2014-01-09
简介
停滞的帝国
——两个世界的撞击
The Immobile Empire(法) 阿兰·佩雷菲特简体EPUB
简体MOBI
简体PDF(扫描版)
英文EPUB
2019-07-17
2019-07-17
2014-05-23
2020-01-19
简介
追寻现代中国The Search for Modern China(美) Jonathan Spence (中文名:史景迁)繁體PDF
简体EPUB
简体PDF
英文PDF(扫描版)
2014-06-22
2014-06-22
2016-12-18
2020-01-19
简介
论中国
——中国新史
China
——A New History
(美) 费正清
(美) 默尔·戈德曼
英文PDF(第2版)
繁體PDF(第1版 竪排掃描版)
2020-01-19
2015-02-08
简介
晚清七十年The Final Seventy Years of Qing Dynasty(中/美) 唐德刚简体PDF(大字版)
繁體EPUB
简体MOBI
繁體MOBI
2019-08-23
2019-01-05
2018-08-08
2019-01-05
简介
帝国落日
——晚清大变局
N/A袁伟时简体TXT2016-05-16简介
走出帝制
——从晚清到民国历史的回望
Moving Away from the Imperial Regime秦晖简体EPUB
简体PDF(大字版)
简体TXT
简体MOBI
2016-12-16
2016-07-14
2016-05-20
2018-11-21
简介
五四新论
——既非文艺复兴,亦非启蒙运动
N/A(中/美) 余英时
等
简体PDF(扫描版)2017-05-06简介
袁氏当国N/A(中/美) 唐德刚简体PDF(大字版)
繁體MOBI
简体TXT
2015-02-09
2015-02-09
2016-04-30
简介
重说中国近代史N/A张鸣简体EPUB
简体PDF(扫描版)
2013-09-14
2020-11-22
简介
太平天国God's Chinese Son
——The Taiping Heavenly Kingdom of Hong Xiuquan
(美) Jonathan Spence (中文名:史景迁)简体PDF(扫描版)
英文EPUB
2017-05-03
2020-01-19
简介
再说戊戌变法N/A张鸣简体MOBI2016-12-16简介
民国人物过眼录N/A杨奎松简体PDF(扫描版)2014-02-21简介
叫魂
——1768年中国妖术大恐慌
Soulstealers
——The Chinese Sorcery Scare of 1768
(美) Philip Kuhn (中文名:孔飞力)简体PDF(扫描版)
简体TXT
英文PDF(扫描版)
2014-05-23
2016-05-15
2020-01-19
简介
慈禧统治下的大清帝国
其它中文名:
慈禧外传
China Under the Empress Dowager
——Being the History of the Life and Times of Tzŭ Hsi
(英) 约翰·濮兰德
(英) 埃德蒙德·贝克豪斯爵士
简体PDF(扫描版)2017-08-15简介
重返五四现场
——1919,一个国家的青春记忆
N/A叶曙明简体PDF(扫描版)2013-05-01简介
+ +

◇历史 / 中国 / 丛书

+ +

◇历史 / 中国 / 丛书 / 剑桥中国史

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
秦汉史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(扫描版)2014-06-22简介
隋唐史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(扫描版)2014-06-22简介
辽西夏金元史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(扫描版)2014-06-22简介
明代史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(扫描版)2014-06-22简介
晚清史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(上下卷 扫描版)2014-06-22简介
中华民国史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(上下卷 扫描版)2014-06-22简介
中华人民共和国史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(上卷 扫描版)2015-02-09简介
+ +

◇历史 / 古希腊

+ +(与古希腊的战争相关的书籍,放在【军事类 / 古代军事史 / 古希腊】分类目录下)
+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:古希腊Ancient Greece
——A Very Short Introduction
(英) 保罗·卡特利奇英文EPUB2020-03-14简介
希腊城邦制度
——读希腊史笔记
N/A顾准简体PDF
简体PDF(扫描版)
简体MOBI
2013-02-07
2019-08-18
2015-02-13
简介
爱琴海沿岸的奇异王国Wondrous Realms of the Aegean(美) 戴尔·布朗简体PDF(扫描版)2015-11-03简介
牛津通识读本:希罗多德Herodotus
——A Very Short Introduction
(美) 詹尼弗·罗伯茨英文EPUB2020-03-14简介
+ +

◇历史 / 古罗马

+ +(与古罗马的战争相关的书籍,放在【军事类 / 古代军事史 / 古罗马】分类目录下)
+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:罗马共和国The Roman Republic
——A Very Short Introduction
(英) 戴维·格温英文EPUB2020-03-24简介
牛津通识读本:罗马帝国简史The Roman Empire
——A Very Short Introduction
(澳大利亚) 克里斯托弗·凯利简体EPUB
英文PDF
英文MOBI
2020-03-29
2015-12-15
2020-12-08
简介
罗马帝国衰亡史The History of the Decline and Fall of the Roman Empire(英) 爱德华·吉本简体PDF(共6卷 全译本 扫描版)
简体EPUB(节译本)
简体MOBI(节译本)
简体PDF(上下册 节译本)
简体CHM(节译本)
英文PDF(6卷本 节选版)
2013-11-26
2013-09-14
2015-02-13
2013-02-07
2013-02-07
2020-01-19
简介
罗马人的故事N/A(日) 盐野七生繁體PDF(掃描版)2017-05-03简介
罗马盛衰原因论Considerations on the Causes of the Greatness of the Romans and their Decline(法) 孟德斯鸠简体PDF
简体PDF(扫描版)
英文PDF(扫描版)
2013-02-07
2015-07-11
2020-01-19
简介
罗马风云N/A(德) 特奥多尔·蒙森简体PDF(扫描版)2017-05-03简介
罗马史Roman History(古罗马) 阿庇安简体TXT2016-05-01简介
罗马十二帝王传
其它中文名:
十二凯撒传
The Twelve Caesars(古罗马) 苏维托尼乌斯简体PDF(扫描版)2020-03-29简介
+ +

◇历史 / 美国

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:美国历史American History
——A Very Short Introduction
(美) 保罗·博耶英文PDF2020-03-14简介
美国通史
包括如下:
第1卷 美国的奠基时代,1585~1775
第2卷 美国的独立和初步繁荣,1775~1860
第3卷 美国内战与镀金时代,1861~19世纪末
第4卷 崛起和扩张的年代,1898~1929
第5卷 罗斯福时代,1929~1945
第6卷 战后美国史,1945~2000
A General History of the U.S. 1585~2000刘绪贻、杨生茂 等简体PDF(扫描版)2017-02-20简介
光荣与梦想
——1932~1972年美国社会实录
The Glory and the Dream
——A Narrative History of America, 1932~1972
(美) 威廉·曼彻斯特简体PDF(大字版)
简体PDF
简体TXT
英文EPUB
2016-12-16
2017-02-17
2016-05-01
2020-01-18
简介
美国黑人斗争史
——1619年至今的历史、文献与分析
Black Protest
——History, Documents and Analysis, 1619 to the Present
(美) 乔安妮·格兰特简体PDF(扫描版)2017-02-18简介
牛津通识读本:大萧条与新经济政策The Great Depression and The New Deal
——A Very Short Introduction
(美) 埃里克·罗威英文PDF
英文MOBI
2015-12-15
2020-12-08
简介
+ +

◇历史 / 英国

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:诺曼征服The Norman Conquest
——A Very Short Introduction
(英) 乔治·加内特英文PDF
英文MOBI
2016-12-16
2020-12-08
简介
牛津通识读本:斯图亚特王朝Stuart Britain
——A Very Short Introduction
(英) 约翰·莫里尔英文PDF2020-03-14简介
牛津通识读本:十八世纪的英国Eighteenth-Century Britain
——A Very Short Introduction
(英) 保罗·兰福德英文PDF2015-12-15简介
牛津通识读本:十九世纪的英国Nineteenth-Century Britain
——A Very Short Introduction
(英) 克里斯托弗·哈维
(英) 科林·马修
英文PDF
英文MOBI
2015-12-15
2020-12-08
简介
牛津通识读本:二十世纪的英国Twentieth-Century Britain
——A Very Short Introduction
(英) 肯尼思·摩根英文PDF
英文MOBI
2015-12-15
2020-12-08
简介
从旧帝国到新帝国
——1783~1815年英帝国史纲要
N/A郭家宏简体PDF(扫描版)2019-08-24简介
+ +

◇历史 / 法国

+ + + + +
中文书名英文书名作者文件类型上传日期备注
法国文明史
——自罗马帝国败落起
History of civilization in France
——From the fall of the Roman Empire
(法) 弗朗索瓦·基佐简体PDF(扫描版)2015-11-03简介
+ +

◇历史 / 德国

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
第三帝国的兴亡The Rise and Fall of the Third Reich
——A History of Nazi Germany
(美) 威廉·夏伊勒简体PDF(上中下)
简体EPUB
简体MOBI
简体TXT
英文PDF
英文EPUB
2013-02-22
2013-09-13
2015-02-08
2016-05-01
2018-08-08
2019-08-24
简介
纳粹德国
——一部新的历史
Nazi Germany
——A New History
(德) 克劳斯·费舍尔简体PDF(扫描版)2017-08-17简介
希特勒的民族帝国
——劫掠、种族战争和纳粹主义
Hitler's Beneficiaries
——Plunder, Racial War and the Nazi Welfare State
(德) 格茨·阿利简体PDF(扫描版)
英文EPUB
2013-08-21
2020-01-18
简介
希特勒的土地
——美国人亲历的纳粹疯狂之路
Hitlerland
——American Eyewitnesses to the Nazi Rise to Power
(美) 安德鲁·纳戈尔斯基英文EPUB
英文MOBI
2015-02-09
2015-02-09
简介
+ +

◇历史 / 日本

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
拥抱战败
——第二次世界大战后的日本
Embracing Defeat
——Japan in the Wake of World War II
(美) 约翰·道尔简体PDF(扫描版)
英文EPUB
2017-08-14
2020-01-18
简介
日本的近代化
——与中国的比较
N/A(日) 依田憙家简体PDF(扫描版)2020-03-25简介
+ +

◇历史 / (其它国家)

+ +

◇历史 / (其它国家) / 蒙古

+ + + + +
中文书名英文书名作者文件类型上传日期备注
蒙古帝国史The History of The Mongol Empire(法) 勒内·格鲁塞简体PDF(扫描版)2020-03-30简介
+ +

◇历史 / (其它国家) / 葡萄牙

+ + + + +
中文书名英文书名作者文件类型上传日期备注
征服者
——葡萄牙帝国的崛起
Conquerors
——How Portugal Forged the First Global Empire
(英) 罗杰·克劳利简体EPUB2020-03-29简介
+ +
+

+

★经济

+ +【网盘】
+微软网盘
+BT Sync 密钥:B2FRYA6AXCDW6CF4YJVFWKH2HAXOFICOX (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+
+

◇经济 / 经济学

+ +

◇经济 / 经济学 / 教材

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
经济学Economics(美) 保罗·萨缪尔森
(美) 威廉·诺德豪斯
简体PDF(第18版 扫描版)2014-02-13简介
经济学原理Principles of Economics(美) 格里高利·曼昆简体PDF(微观分册 第5版 扫描版)
简体PDF(宏观分册 第5版 扫描版)
简体EPUB(微观分册 第3版 插图版)
简体MOBI(微观分册 第3版 插图版)
简体TXT
2013-02-22
2013-02-22
2015-02-14
2015-02-14
2016-05-02
简介
宏观经济学Macroeconomics(德) 鲁迪格·多恩布什
(美) 斯坦利·费希尔
(美) 理查德·斯塔兹
简体PDF(第7版 扫描版)2015-07-12简介
宏观经济学
其它中文名:
威廉森宏观经济学
Macroeconomics(加) 斯蒂芬·威廉森简体PDF(第3版 扫描版)2019-09-03简介
高级宏观经济学Advanced Macroeconomics(美) 戴维·罗默简体PDF(第2版 扫描版)
英文PDF(第1版 扫描版)
2014-07-15
2018-06-23
简介
中级微观经济学
——现代观点
其它中文名:
范里安微观经济学
Intermediate Microeconomics
——A Modern Approach
(美) 哈尔·范里安简体PDF(第8版)
英文PDF(第8版)
2015-07-12
2018-06-23
简介
微观经济分析Microeconomic Analysis(美) 哈尔·范里安简体PDF(第3版)
英文PDF(第3版 扫描版)
2014-07-15
2019-08-30
简介
经济学原理N/A(中/澳大利亚) 杨小凯 (原名:杨羲光)简体PDF(扫描版)2015-07-12简介
+ +

◇经济 / 经济学 / 理论

+ + + + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
国富论
——国民财富的性质和原因
The Wealth of Nations
其它英文名:
An Inquiry into the Nature and Causes of the Wealth of Nations
(英) 亚当·斯密简体EPUB
简体MOBI
简体CHM
简体TXT
英文PDF
2018-12-08
2015-02-14
2013-04-09
2016-05-15
2020-03-10
简介
就业、利息和货币通论The General Theory of Employment, Interest and Money(英) 约翰·梅纳德·凯恩斯简体PDF
简体MOBI
英文PDF
2014-02-22
2015-02-14
2020-03-10
简介
人的行为
——经济学专论
其它中文名:
人类行为的经济学分析
Human Action
——A Treatise on Economics
(奥/美) 路德维希·冯·米塞斯繁體PDF(掃描版)
英文EPUB
英文PDF(扫描版)
2019-04-15
2018-09-15
2019-08-18
简介
经济发展理论The Theory of Economic Development
——An Inquiry into Profits, Capital, Credit, Interest and the Business Cycle
(奥/美) 约瑟夫·熊彼特简体TXT
英文EPUB
2016-05-17
2020-03-10
简介
个人主义与经济秩序Individualism and Economic Order(奥/英) 弗里德里希·哈耶克简体PDF
简体EPUB
简体MOBI
英文EPUB
2013-04-10
2013-09-13
2015-02-14
2020-03-10
简介
企业的性质
其它中文名:
公司的本质
The Nature of the Firm(英) 罗纳德·科斯简体PDF
英文PDF
2019-04-17
2018-09-18
简介
社会成本问题The Problem of Social Cost(英) 罗纳德·科斯英文PDF(扫描版)2018-09-19简介
市场经济
——大师们的思考
The Market Economy
——A Reader
(美) 詹姆斯·多蒂
(美) 德威特·李
简体PDF(扫描版)2013-04-09简介
以自由看待发展Development as Freedom(印度) 阿马蒂亚·森简体PDF(扫描版)2013-04-09简介
短缺经济学Economics of Shortage(匈) 雅诺什·科尔奈简体PDF(扫描版)2015-01-11简介
货币购买力
——其决定因素及其与信贷、利息和危机的关系
The Purchasing Power of Money
——Its Determination and Relation to Credit, Interest and Crises
(美) 欧文·费雪英文PDF2019-08-30简介
利息与价格Interest and Prices(瑞典) 克努特·维克塞尔英文PDF(扫描版)
英文EPUB
2018-09-19
2019-05-02
简介
资本与利息Capital and Interest(奥) 欧根·冯·庞巴维克繁體PDF(第1卷 掃描版)
英文EPUB(第1卷)
2018-09-05
2019-05-02
简介
自然价值Natural Value(奥) 弗里德里希·冯·维塞尔简体PDF
简体PDF(扫描版)
英文PDF
英文HTML
2019-08-18
2020-03-28
2018-09-15
2019-05-02
简介
经济学原理
其它中文名:
国民经济学原理
Principles of Economics(奥) 卡尔·门格尔简体PDF(扫描版)
英文PDF
英文EPUB
2018-09-15
2018-09-15
2019-05-02
简介
卡尔·马克思及其体系的终结
其它中文名:
马克思主义体系的崩溃
Karl Marx and the Close of His System(奥) 欧根·冯·庞巴维克英文EPUB
英文PDF(扫描版)
2019-05-01
2018-09-22
简介
资本论Capital(德) 卡尔·马克思简体PDF(大字版)
英文PDF(大字版)
2018-09-05
2019-05-01
简介
+ +

◇经济 / 经济学 / 评论

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
自由选择
——个人声明
其它中文名:
选择的自由
Free to Choose
——A Personal Statement
(美) 米尔顿·弗里德曼简体PDF
简体PDF(大字版)
简体EPUB
简体MOBI
英文PDF
2013-03-24
2019-08-31
2013-09-13
2015-02-14
2013-04-09
简介
资本主义与自由Capitalism and Freedom(美) 米尔顿·弗里德曼简体PDF
简体PDF(大字版)
简体PDF(扫描版)
简体MOBI
英文PDF
2014-02-13
2019-08-31
2018-09-05
2015-02-14
2020-03-10
简介
对我们生活的误测
——为什么 GDP 增长不等于社会进步
Mismeasuring Our Lives
——Why GDP Doesn't Add Up
(美) 约瑟夫·斯蒂格利茨
(印度) 阿马蒂亚·森
简体PDF(扫描版)
英文EPUB
2015-07-12
2020-03-10
简介
论经济学和经济学家Essays on Economics and Economists(英) 罗纳德·科斯简体PDF(扫描版)
英文PDF
2019-08-31
2020-03-10
简介
经济学的著名寓言
——市场失灵的神话
Famous Fables of Economics
——Myths of Market Failures
(美) 丹尼尔·史普博 (主编)简体PDF(扫描版)2015-11-05简介
充满灵性的经济学Economics from the Heart
——A Samuelson Sampler
(美) 保罗·萨缪尔森简体PDF(扫描版)2013-04-09简介
从来就没有救世主There Has Never Been a Savior许小年简体PDF(扫描版)2013-04-09简介
+ +

◇经济 / 经济学 / 通俗读物

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:大众经济学Economics
——A Very Short Introduction
(英) 帕萨·达斯古普塔简体EPUB
简体AZW3
英文PDF
2015-12-14
2015-12-14
2018-06-24
简介
魔鬼经济学
——揭示隐藏在表象之下的真实世界
Freakonomics
——A Rogue Economist Explores the Hidden Side of Everything
(美) 史蒂芬·列维特
(美) 史蒂芬·都伯纳
简体PDF(扫描版)
简体MOBI
简体EPUB(不全)
英文PDF
2013-04-09
2015-11-14
2015-02-14
2020-03-11
简介
经济为什么会崩溃
——鱼、美元与经济学的故事
其它中文名:
小岛经济学
——鱼、美元和经济的故事
How an Economy Grows and Why It Crashes(美) 彼得·希夫
(美) 安德鲁·希夫
简体EPUB
简体PDF(扫描版)
2019-04-18
2014-03-31
简介
生活中的经济学N/A茅于轼简体PDF
简体EPUB
简体MOBI
2013-04-09
2013-09-13
2015-02-14
简介
谁妨碍了我们致富N/A茅于轼简体TXT2016-05-16简介
+ +

◇经济 / 金融

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
货币金融学Economics of Money, Banking, and Financial Markets(美) 弗雷德里克·米什金简体PDF(第9版 扫描版)
英文PDF(第7版 扫描版)
2015-02-08
2015-01-11
简介
金融学Financial Economics(美) 兹维·博迪
(美) 罗伯特·莫顿
简体PDF(扫描版)2018-06-24简介
期权、期货及其他衍生品Options, Futures and Other Derivatives(加) 约翰·赫尔简体PDF(第7版 扫描版)
英文PDF(第7版 扫描版)
2015-01-11
2015-11-04
简介
默顿·米勒论金融衍生工具Merton Miller on Derivatives(美) 默顿·米勒简体PDF(扫描版)2015-01-11简介
+ +

◇经济 / 投资

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
证券分析Security Analysis(美) 本杰明·格雷厄姆
(美) 戴维·多德
简体PDF(第5版 扫描版)
简体EPUB(第6版)
简体MOBI(第6版)
英文PDF(第6版)
2013-04-29
2013-09-13
2018-12-08
2019-09-01
简介
聪明的投资者
其它中文名:
投资指南
The Intelligent Investor(美) 本杰明·格雷厄姆简体PDF(第4版 扫描版)
英文PDF(第4版)
2014-02-20
2019-05-25
简介
格雷厄姆-多德都市的超级投资者们The Superinvestors of Graham-and-Doddsville(美) 沃伦·巴菲特简体TXT
英文PDF(扫描版)
2015-05-24
2015-05-24
简介
非理性繁荣Irrational Exuberance(美) 罗伯特·希勒简体PDF(第2版 大字版)
简体TXT(第2版 不全)
简体PDF(第1版 扫描版)
英文PDF(第1版)
2019-09-01
2016-05-02
2014-05-23
2019-05-25
简介
随机致富的傻瓜
——发现市场和人生中的隐藏机遇
其它中文名:
随机漫步的傻瓜
Fooled by Randomness
——The Hidden Role of Chance in Life and in the Markets
(黎巴嫩/美) 纳西姆·塔勒布简体PDF(扫描版)
英文EPUB
2018-08-27
2020-03-10
简介
金融炼金术The Alchemy of Finance
——Reading the Mind of the Market
(匈/美) 乔治·索罗斯简体PDF
简体EPUB
简体MOBI
简体TXT
英文PDF(扫描版)
2013-04-29
2013-09-13
2015-05-10
2016-05-02
2020-03-10
简介
股票作手回忆录
其它中文名:
投机之王
——利弗莫尔合集
Reminiscences of a Stock Operator
——With New Commentary and Insights on the Life and Times of Jesse Livermore
(美) 埃德温·李费佛
(美) 杰西·利弗莫尔
简体PDF(扫描版)
英文PDF
2018-09-29
2020-03-10
简介
+ +

◇经济 / 经济学家

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
从马克思到凯恩斯
——十大经济学家
Ten Great Economists
——From Marx to Keynes
(奥/美) 约瑟夫·熊彼特简体PDF(扫描版)
英文PDF
2013-04-09
2020-03-11
简介
经济学大师们New Ideas from Dead Economists
——An Introduction to Modern Economic Thought
(美) 托德·布赫霍尔茨简体PDF(扫描版)
英文EPUB
2018-06-24
2020-03-11
简介
思想者的足迹
——五十位重要的西方经济学家
Fifty Major Economists(美) 史蒂文·普雷斯曼简体PDF(扫描版)
英文PDF(第2版)
英文PDF(第1版)
2015-11-09
2020-03-11
2020-03-11
简介
牛津通识读本:凯恩斯Keynes
——A Very Short Introduction
(英) 罗伯特·斯基德尔斯基英文EPUB2020-03-11简介
知识、自由与秩序
——哈耶克思想论集
Knowledge, Freedom and Order(德) 格尔哈德·帕普克 (主编)简体PDF(扫描版)2018-08-28简介
+ +

◇经济 / 博弈论

+ +(本类别是偏重于经济领域的博弈论)
+

◇经济 / 博弈论 / 通俗读物

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:博弈论Game Theory
——A Very Short Introduction
(英) 肯尼思·宾默尔英文PDF2020-03-11简介
策略思维
——商界、政界及日常生活中的策略竞争
Thinking Strategically
——The Competitive Edge in Business, Politics, and Everyday Life
(美) 阿维纳什·迪克西特
(美) 巴里·奈尔伯夫
简体PDF(扫描版)
简体EPUB
简体MOBI
2014-01-09
2018-06-23
2015-05-10
简介
纳什均衡与博弈论
——纳什博弈论及对自然法则的研究
A Beautiful Math
——John Nash, Game Theory and the Modern Quest for a Code of Nature
(美) 汤姆·齐格弗里德简体PDF(大字版)2019-09-02简介
剪刀、石头、布
——趣味博弈论
Rock, Paper, Scissors
——Game Theory in Everyday Life
(英) 兰·费雪简体PDF(扫描版)2014-04-06简介
+ +

◇经济 / 博弈论 / 理论

+ + + + +
中文书名英文书名作者文件类型上传日期备注
博弈论与经济行为Theory of Games and Economic Behavior(匈/美) 约翰·冯·诺伊曼
(奥/美) 奥斯卡·摩根斯坦
英文PDF(扫描版)2019-09-02简介
+ +

◇经济 / 市场营销

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
定位Positioning
——The Battle for Your Mind
(美) 杰克·特劳特
(美) 阿尔·里斯
简体EPUB
简体PDF(20周年纪念版 扫描版)
简体TXT
英文PDF(20周年纪念版)
2019-04-19
2018-08-27
2016-05-16
2020-03-11
简介
营销战Marketing Warfare(美) 杰克·特劳特
(美) 阿尔·里斯
简体PDF(扫描版)
英文EPUB
2018-08-27
2020-03-11
简介
+ +

◇经济 / (其它)

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
世界是平的
——21世纪简史
The World Is Flat
——A Brief History of the Twenty-first Century
(美) 托马斯·弗里德曼简体PDF(大字版)
简体MOBI
英文PDF
2014-01-09
2015-05-10
2020-03-11
简介
蓝海战略
——超越产业竞争,开创全新市场
Blue Ocean Strategy
——How to Create Uncontested Market Space and Make Competition Irrelevant
(韩) 金伟灿
(美) 勒妮·莫博涅
简体PDF
简体MOBI
简体TXT
英文PDF
2013-12-31
2015-05-10
2016-05-18
2020-03-11
简介
+ +
+

+

★管理

+ +【网盘】
+微软网盘
+BT Sync 密钥:B3WNBTAAFFAODFR6FQ3E3L5BBSJAFNBSJ (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
你的灯亮着吗?
——找到问题的真正所在
Are Your Lights On
——How to Figure Out What the Problem Really Is
(美) 唐纳德·高斯
(美) 杰拉尔德·温伯格
简体EPUB (精校版)
简体PDF
简体MOBI
简体TXT
2015-12-01
2010-11-02
2015-02-13
2012-03-08
简介
第五项修炼
——学习型组织的艺术和实务
The Fifth Discipline
——The Art and Practice of the Learning Organization
(美) 彼得·圣吉简体PDF
简体EPUB
2015-04-05
2017-08-15
简介
21世纪的管理挑战Management Challenges for the 21st Century(奥/美) 彼得·德鲁克英文PDF2018-06-22简介
只有偏执狂才能生存Only the Paranoid Survive(美) 安迪·格鲁夫简体PDF(扫描版)2016-04-24简介
格鲁夫给经理人的第一课High Output Management(美) 安迪·格鲁夫简体PDF(扫描版)2016-04-24简介
成为技术领导者
——解决问题的有机方法
Becoming a Technical Leader
——An Organic Problem-Solving Approach
(美) 杰拉尔德·温伯格简体PDF(扫描版)
英文EPUB
2020-11-30
2020-12-09
简介
+ +
+

+

★社会学

+ +【网盘】
+微软网盘
+BT Sync 密钥:BZR4TTYHT25QWUIE6YNMAKWUGBHKSGLC6 (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇社会学 / 通俗读物

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:社会学Sociology
——A Very Short Introduction
(英) 史蒂夫·布鲁斯英文PDF(第1版)2020-03-14简介
+ +

◇社会学 / 理论

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
社会学的基本概念Basic Concepts in Sociology(德) 马克斯·韦伯简体PDF(扫描版)2015-11-09简介
社会科学方法论N/A(德) 马克斯·韦伯简体PDF(扫描版)2015-11-09简介
+ +

◇社会学 / 传媒

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
理解媒介
——论人的延伸
Understanding Media
——The Extensions of Man
(加) 麦克卢汉简体PDF(扫描版)2017-08-15简介
娱乐至死Amusing Ourselves to Death(美) 尼尔·波兹曼简体PDF(扫描版)
简体EPUB
简体MOBI
2015-01-07
2019-01-06
2015-02-13
简介
引爆点
其它中文名:
引爆流行
The Tipping Point
——How Little Things Can Make a Big Difference
(加) 马尔科姆·格拉德威尔简体PDF(扫描版)2015-11-04简介
+ +

◇社会学 / (其它)

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
反脆弱
——从不确定性中获益
Antifragile
——Things That Gain from Disorder
(美) 纳西姆·塔勒布简体EPUB
简体MOBI
英文EPUB
2018-12-12
2019-03-03
2020-03-14
简介
黑天鹅
——如何应对不可预知的未来
其它中文名:
黑天鹅效应
The Black Swan
——The Impact of the Highly Improbable
(美) 纳西姆·塔勒布简体PDF
简体EPUB
简体MOBI
简体PDF(扫描版)
英文EPUB
2014-01-09
2017-08-15
2015-02-13
2019-05-05
2020-03-14
简介
+ +
+

+

★文艺

+ +【网盘】
+微软网盘
+BT Sync 密钥:BMBB5YLBIJJAE5H6TP27OS7YCEUKCYHZK (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇文艺 / 中国

+ +

◇文艺 / 中国 / 文化

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
中国人的性格
其它中文名:
中国人的素质
Chinese Characteristics(美) 阿瑟·史密斯 (中文名:明恩溥)简体PDF
简体EPUB
简体MOBI
简体TXT
2011-02-09
2013-09-13
2015-07-19
2012-03-19
简介
丑陋的中国人The Ugly Chinaman柏杨 (原名:郭定生)简体TXT
简体EPUB
简体MOBI
2012-10-06
2018-12-08
2015-11-08
简介
吾国与吾民My Country and My People林语堂简体PDF(大字版)
简体EPUB
简体MOBI
简体TXT
2018-08-20
2017-04-30
2014-02-23
2016-05-10
简介
中国比小说更离奇China is Stranger Than Fiction钟祖康简体TXT
简体MOBI
2013-02-25
2013-02-25
简介
来生不做中国人I Don't Want to be Chinese Again钟祖康简体PDF2013-04-14简介
美人赠我蒙汗药N/A王朔简体PDF
简体EPUB
简体MOBI
2013-03-14
2013-09-14
2018-12-08
简介
中国传统文化的陷阱N/A端木赐香 (原名:李桂枝)简体PDF(扫描版)2015-07-12简介
+ +

◇文艺 / 中国 / 文学家、艺术家

+ + + + +
中文书名作者文件类型上传日期备注
胡适口述自传胡适 (英文口述)
唐德刚 (译注)
简体PDF(扫描版)
简体MOBI(不全)
2013-11-26
2015-02-13
简介
+ +

◇文艺 / 中国 / (其它)

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
灵山Soul Mountain(法) 高行健简体PDF
简体EPUB
简体CHM
英文PDF
2013-07-07
2013-09-14
2013-07-07
2019-03-16
简介
一个人的圣经One Man's Bible(法) 高行健简体PDF
简体CHM
英文PDF
2013-07-07
2013-07-07
2019-03-16
简介
寻找家园N/A高尔泰简体PDF
简体MOBI
2013-06-03
2015-02-13
简介
尘世·挽歌N/A土家野夫 (原名:郑世平)简体PDF
简体EPUB
2013-01-07
2015-02-13
简介
看不见的江湖N/A土家野夫 (原名:郑世平)简体PDF2013-06-03简介
文殇N/A袁红冰 (原名:袁红兵)简体CHM2013-06-03简介
沉沦的圣殿
——中国20世纪70年代地下诗歌遗照
N/A廖亦武 (主编)简体PDF(扫描版)
简体PDF(不全)
2013-11-26
2013-01-17
简介
+ +

◇文艺 / 日本

+ +

◇文艺 / 日本 / 文化

+ + + + +
中文书名英文书名作者文件类型上传日期备注
菊花与刀
——日本文化诸模式
其它中文名:
菊花與劍
——日本文化的雙重性
The Chrysanthemum and the Sword(美) 鲁思·本尼迪克特简体PDF
简体PDF(大字版)
简体PDF(扫描版)
简体EPUB(增订版)
2014-01-09
2019-01-04
2017-08-15
2015-07-17
简介
+ +
+

+

★哲学

+ +【网盘】
+微软网盘
+BT Sync 密钥:B6WWVBXPMZDI5IL4KED6AAHA5FO4UNKQF (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇哲学 / 通俗读物

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
你的第一本哲学书
其它中文名:
哲學入門九堂課
What Does It All Mean?
——A Very Short Introduction to Philosophy
(美) 托马斯·内格尔简体PDF(扫描版)
简体MOBI
英文PDF
2014-06-20
2015-02-13
2020-03-12
简介
苏菲的世界Sophie's World
——A Novel about the History of Philosophy
(挪威) 乔斯坦·贾德简体PDF(精校版 无删节)
简体EPUB(精校版 无删节)
简体MOBI(精校版 无删节)
英文PDF
2015-12-24
2015-12-24
2015-12-24
2020-03-12
简介
哲学问题The Problems of Philosophy(英) 伯特兰·罗素简体PDF
简体EPUB
简体MOBI
简体TXT
2014-06-20
2015-02-13
2015-02-13
2016-05-10
简介
+ +

◇哲学 / 哲学史

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
西方哲学史A History of Western Philosophy(英) 伯特兰·罗素简体PDF
简体PDF(大字版)
简体PDF(扫描版)
简体MOBI
简体TXT
英文PDF
2014-06-20
2019-01-06
2015-01-12
2015-02-13
2016-05-11
2020-03-12
简介
西方哲学史A History of Philosophy(美) 弗兰克·梯利简体PDF(增补修订版 扫描版)2018-06-25简介
哲学史讲演录Lectures on the History of Philosophy(德) 黑格尔繁體PDF(掃描版)2018-12-09简介
中国哲学简史A Short History of Chinese Philosophy冯友兰简体PDF
简体EPUB
简体MOBI
2014-06-20
2015-02-13
2015-02-13
简介
中国哲学史大纲N/A胡适简体EPUB2015-02-15简介
形而上学的迷雾The Fog of Metaphysics刘晓波简体PDF(扫描版)2014-07-28简介
+ +

◇哲学 / 哲学家

+ +

◇哲学 / 哲学家 / 苏格拉底

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:苏格拉底Socrates
——A Very Short Introduction
(英) 克里斯托弗·泰勒简体PDF(扫描版)2019-01-19简介
回忆苏格拉底Memorabilia(古希腊) 色诺芬简体CHM
简体PDF(扫描版)
英文EPUB
2014-06-20
2017-03-24
2018-06-25
简介
+ +

◇哲学 / 哲学家 / 柏拉图

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:柏拉图Plato
——A Very Short Introduction
(英) 朱莉娅·安纳斯英文PDF2019-01-16简介
+ +

◇哲学 / 哲学家 / 亚里士多德

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:亚里士多德Aristotle
——A Very Short Introduction
(英) 乔纳森·巴恩斯英文PDF2019-01-14简介
+ +

◇哲学 / 哲学家 / 笛卡尔

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:笛卡尔Descartes
——A Very Short Introduction
(英) 汤姆·索雷尔简体EPUB
简体AZW3
英文PDF
2015-12-04
2015-12-04
2016-12-17
简介
+ +

◇哲学 / 哲学家 / 洛克

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:洛克Locke
——A Very Short Introduction
(英) 约翰·邓恩英文EPUB2020-03-13简介
+ +

◇哲学 / 哲学家 / 康德

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:康德Kant
——A Very Short Introduction
(英) 罗杰·斯克鲁顿简体EPUB
简体AZW3
英文PDF(扫描版)
2015-12-03
2015-12-03
2016-12-17
简介
+ +

◇哲学 / 哲学家 / 黑格尔

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:黑格尔Hegel
——A Very Short Introduction
(澳大利亚) 彼得·辛格英文EPUB2020-03-13简介
+ +

◇哲学 / 哲学家 / 叔本华

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:叔本华Schopenhauer
——A Very Short Introduction
(英) 克里斯托弗·贾纳韦简体EPUB
简体AZW3
英文PDF
2015-12-04
2015-12-04
2016-12-17
简介
+ +

◇哲学 / 哲学家 / 尼采

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:尼采Nietzsche
——A Very Short Introduction
(英) 迈克尔·坦纳简体EPUB
简体AZW3
英文PDF
2015-12-04
2015-12-04
2016-12-17
简介
尼采Nietzsche(德) 马丁·海德格尔简体PDF(扫描版)2019-01-20简介
+ +

◇哲学 / 哲学家 / 罗素

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:罗素Russell
——A Very Short Introduction
(英) 安东尼·格雷林英文PDF2019-01-20简介
我的哲学发展My Philosophical Development(英) 伯特兰·罗素简体PDF(扫描版)2018-06-25简介
+ +

◇哲学 / 哲学家 / 维特根斯坦

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:维特根斯坦Wittgenstein
——A Very Short Introduction
(英) 安东尼·格雷林简体EPUB
简体AZW3
英文PDF
2015-12-04
2015-12-04
2016-12-17
简介
+ +

◇哲学 / 哲学家 / 波普尔

+ + + + +
中文书名英文书名作者文件类型上传日期备注
无尽的探索
——卡尔·波普尔自传
Unended Quest
——An Intellectual Autobiography
(英) 卡尔·波普尔简体EPUB
简体TXT
2015-02-15
2016-05-02
简介
+ +

◇哲学 / 哲学家 / (其他哲学家)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
大哲学家
——思想大师们的生平与精髓
The Great Philosophers
——From Socrates to Turing
(英) 雷·蒙克 (主编)
(英) 弗雷德里克·拉斐尔 (主编)
简体PDF(扫描版)2019-01-20简介
+ +

◇哲学 / 形而上学

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:形而上学Metaphysics
——A Very Short Introduction
(英) 斯蒂芬·芒福德英文EPUB2020-03-12简介
未来形而上学导论Prolegomena to Any Future Metaphysics(德) 伊曼努尔·康德简体CHM
简体PDF(扫描版)
英文PDF
2014-06-20
2017-03-26
2020-03-12
简介
第一哲学沉思集
其它中文名:
形而上学沉思录
Meditations on First Philosophy(法) 勒内·笛卡尔简体PDF
简体PDF(扫描版)
简体TXT
英文PDF
2014-06-20
2017-03-24
2016-05-10
2020-03-12
简介
存在与时间Being and Time
其它英文名:
On Time and Being
(德) 马丁·海德格尔简体TXT
英文PDF(扫描版)
2019-01-21
2020-03-12
简介
+ +

◇哲学 / 知识论与认识论

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
纯粹理性批判Critique of Pure Reason(德) 伊曼努尔·康德简体PDF
简体PDF(扫描版)
英文EPUB
2014-06-20
2017-03-26
2018-06-25
简介
谈谈方法
其它中文名:
方法论
Discourse on the Method(法) 勒内·笛卡尔简体PDF(扫描版)2014-06-20简介
人类理解研究An Enquiry Concerning Human Understanding(英) 大卫·休谟简体PDF(扫描版)
简体MOBI
英文PDF
2014-06-20
2015-02-13
2020-03-12
简介
系统化思维导论An Introduction to General Systems Thinking(美) 杰拉尔德·温伯格简体PDF(扫描版)
英文EPUB
2015-10-24
2020-03-12
简介
+ +

◇哲学 / 逻辑学

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
简单的逻辑学Being Logical
——A Guide to Good Thinking
(美) 丹尼斯·麦克伦尼简体EPUB
简体MOBI
简体PDF(扫描版)
英文PDF
2019-07-18
2015-02-13
2015-01-07
2015-11-10
简介
牛津通识读本:简明逻辑学Logic
——A Very Short Introduction
(英) 格雷汉姆·普里斯特简体EPUB
简体AZW3
英文PDF(扫描版)
2015-12-14
2015-12-14
2016-12-17
简介
+ +

◇哲学 / 伦理学

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:伦理学Ethics
——A Very Short Introduction
(英) 西蒙·布莱克本英文PDF2020-03-13简介
幸福之路The Conquest of Happiness(英) 伯特兰·罗素简体EPUB
简体MOBI
简体TXT
英文EPUB
2014-06-20
2018-12-09
2016-05-10
2020-03-13
简介
道德情操论The Theory of Moral Sentiments(英) 亚当·斯密简体PDF
简体PDF(扫描版)
简体EPUB
简体MOBI
英文PDF
2014-06-20
2015-01-12
2015-11-10
2015-02-13
2020-03-13
简介
论道德的谱系
——一篇论战檄文
其它中文名:
道德谱系学
On the Genealogy of Morality
——A Polemic
(德) 弗里德里希·尼采简体EPUB(注疏版)
简体MOBI(注疏版)
英文PDF
2018-12-10
2018-12-10
2020-03-13
简介
+ +

◇哲学 / 科学哲学

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:科学哲学Philosophy of Science
——A Very Short Introduction
(英) 萨米尔·奥卡沙简体EPUB(第1版)
简体AZW3(第1版)
英文PDF(第1版 扫描版)
2015-12-02
2015-12-02
2019-01-22
简介
科学发现的逻辑The Logic of Scientific Discovery(英) 卡尔·波普尔简体HTML
简体MOBI
英文PDF
2014-06-20
2015-02-13
2020-03-13
简介
猜想与反驳
——科学知识的增长
Conjectures and Refutations
——The Growth of Scientific Knowledge
(英) 卡尔·波普尔简体EPUB
英文PDF
2015-02-15
2020-03-13
简介
+ +

◇哲学 / 美学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
审美与人的自由Aesthetics and Human Freedom刘晓波简体PDF(扫描版)2015-01-12简介
+ +

◇哲学 / (其它)

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
查拉图斯特拉如是说
其它中文名:
苏鲁支语录
Thus Spoke Zarathustra
——A Book for All and None
(德) 弗里德里希·尼采简体PDF
简体EPUB
英文EPUB
2014-06-20
2015-02-13
2018-06-25
简介
作为意志和表象的世界
其它中文名:
作为意志和观念的世界
The World as Will and Representation(德) 亚瑟·叔本华简体PDF(第1卷 大字版)
英文EPUB(共2卷)
2019-01-11
2020-03-13
简介
自由的进化Freedom Evolves(美) 丹尼尔·丹内特简体PDF(扫描版)2015-11-09简介
+ +
+

+

★科普

+ +【网盘】
+微软网盘
+BT Sync 密钥:BKKORLE67ZDUHGHVWAVSRK3N5I7BXLCED (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇科普 / (总论)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
魔鬼出没的世界
——科学,照亮黑暗的蜡烛
其它中文名:
魔鬼盤據的世界
——薩根談 UFO、占星與靈異
The Demon-Haunted World
——Science as a Candle in the Dark
(美) 卡尔·萨根简体PDF2020-12-10简介
+ +

◇科普 / 数学

+ +

◇科普 / 数学 / 数学史

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:数学史The History of Mathematics
——A Very Short Introduction
(英) 杰基·斯特德尔英文EPUB2020-12-10简介
数学
——确定性的丧失
Mathematics
——The Loss of Certainty
(美) 莫里斯·克莱因简体PDF2020-12-10简介
西方文化中的数学Mathematics in Western Culture(美) 莫里斯·克莱因简体PDF(扫描版)2020-12-10简介
费马大定理
——一个困惑了世间智者358年的谜
Fermat's Last Theorem
——The Story of a Riddle That Confounded the World's Greatest Minds for 358 Years
其它英文名:
Fermat's Enigma
——The Epic Quest to Solve the World's Greatest Mathematical Problem
(英) 西蒙·辛格简体EPUB2020-12-10简介
+ +

◇科普 / 数学 / (综述)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
什么是数学
——对思想和方法的基本研究
What Is Mathematics
——An Elementary Approach to Ideas and Methods
(德/美) 理查德·柯朗
(美) 赫伯特·罗宾斯
(英) 伊恩·斯图尔特
简体PDF(第3版 扫描版)2020-12-10简介
+ +

◇科普 / 数学 / 基础理论

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
哥德尔、艾舍尔、巴赫书
——集异璧之大成
Gödel, Escher, Bach
——An Eternal Golden Braid
(美) 道格拉斯·霍夫施塔特 (中文名:侯世达)英文PDF2020-12-11简介
哥德尔证明Gödel's Proof(奥/美) 欧内斯特·内格尔
(美) 詹姆斯·纽曼
简体PDF2020-12-11简介
+ +

◇科普 / 数学 / 代数与分析

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:代数Algebra
——A Very Short Introduction
(英) 彼得·希金斯英文EPUB2020-12-11简介
+ +

◇科普 / 数学 / 几何与拓扑

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:拓扑学Topology
——A Very Short Introduction
(英) 理查德·厄尔英文EPUB2020-12-11简介
+ +

◇科普 / 数学 / 概率与统计

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:概率Probability
——A Very Short Introduction
(英) 约翰·海格英文EPUB2020-12-11简介
牛津通识读本:统计学Statistics
——A Very Short Introduction
(英) 大卫·汉德英文EPUB2020-12-11简介
+ +

◇科普 / 数学 / (其它)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
怎样解题
——数学思维的新方法
How to Solve It
——A New Aspect of Mathematical Method
(匈/瑞士/美) 乔治·波利亚简体PDF(第2版)2020-12-11简介
+ +

◇科普 / 物理学

+ +

◇科普 / 物理学 / 物理学史

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:物理学史The History of Physics
——A Very Short Introduction
(英) 约翰·海尔布隆英文EPUB2020-12-12简介
物理学的进化The Evolution of Physics
——From Early Concepts to Relativity and Quanta
(德/美) 阿尔伯特·爱因斯坦
(波兰) 利奥波德·英费尔德
简体PDF(扫描版)2020-12-12简介
上帝掷骰子吗?
——量子物理史话
History of Quantum Physics曹天元简体EPUB2020-12-12简介
+ +

◇科普 / 物理学 / (综述)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
费曼物理学讲义The Feynman Lectures on Physics(美) 理查德·费曼英文PDF(共3卷 扫描版)2020-12-12简介
+ +

◇科普 / 物理学 / 基础理论

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
物理世界奇遇记Mr Tompkins in Wonderland
其它英文名:
Mr Tompkins Explores the Atom
The New World of Mr Tompkins
(苏/美) 乔治·伽莫夫简体PDF(精校版)2020-12-12简介
从牛顿定律到爱因斯坦相对论N/A(中/美) 方励之
褚耀泉
简体PDF(精校版)2020-12-12简介
量子力学概论Introduction to Quantum Mechanics(美) 大卫·格里菲斯简体PDF(第2版)2020-12-12简介
宇宙的琴弦
——超弦、隐藏维度与终极理论探索
其它中文名:
优雅的宇宙
The Elegant Universe
——Superstrings, Hidden Dimensions and the Quest for the Ultimate Theory
(美) 布莱恩·格林简体PDF(扫描版)2020-12-12简介
+ +

◇科普 / 物理学 / 粒子物理学

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:粒子物理学Particle Physics
——A Very Short Introduction
(英) 弗兰克·克洛斯英文EPUB2020-12-13简介
上帝粒子
——假如宇宙是答案,究竟什么是问题?
The God Particle
——If the Universe Is the Answer, What Is the Question?
(美) 利昂·莱德曼
(美) 迪克·泰雷西
简体PDF(扫描版)2020-12-13简介
希格斯
——“上帝粒子”的发明与发现
Higgs
——The Invention and Discovery of the "God Particle"
(英) 吉姆·巴戈特简体PDF(扫描版)2020-12-13简介
+ +

◇科普 / 物理学 / 核物理学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:核物理学Nuclear Physics
——A Very Short Introduction
(英) 弗兰克·克洛斯英文EPUB2020-12-13简介
+ +

◇科普 / 物理学 / 天体物理学

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
时间简史
——从大爆炸到黑洞
A Brief History of Time
——From the Big Bang to Black Holes
(英) 斯蒂芬·霍金英文EPUB(10周年纪念版)2020-12-13简介
最初三分钟
——关于宇宙起源的现代观点
The First Three Minutes
——A Modern View of the Origin of the Universe
(美) 史蒂文·温伯格简体PDF(扫描版)2020-12-13简介
宇宙的最后三分钟
——关于宇宙归宿的最新观念
The Last Three Minutes
——Conjectures about the Ultimate Fate of the Universe
(美) 保罗·戴维斯简体PDF2020-12-13简介
超越时空
——通过平行宇宙、时间卷曲和第十维度的科学之旅
其它中文名:
穿越超時空
——十度空間科學奇航
Hyperspace
——A Scientific Odyssey Through Parallel Universes, Time Warps and the Tenth Dimension
(美) 加来道雄简体PDF(扫描版)2020-12-13简介
+ +

◇科普 / 物理学 / (其它)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
上帝与新物理学God and the New Physics(美) 保罗·戴维斯简体PDF2020-12-13简介
+ +

◇科普 / 化学

+ +

◇科普 / 化学 / (综述)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:化学Chemistry
——A Very Short Introduction
(英) 彼得·阿特金斯英文EPUB2020-12-14简介
+ +

◇科普 / 化学 / 基础理论

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
化学元素周期王国The Periodic Kingdom
——A Journey into the Land of the Chemical Elements
(英) 彼得·阿特金斯简体HTML2020-12-14简介
牛津通识读本:化学元素The Elements
——A Very Short Introduction
(英) 菲利普·鲍尔英文EPUB2020-12-14简介
牛津通识读本:分子Molecules
——A Very Short Introduction
(英) 菲利普·鲍尔英文EPUB2020-12-14简介
+ +

◇科普 / 化学 / 物理化学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:物理化学Physical Chemistry
——A Very Short Introduction
(英) 彼得·阿特金斯英文EPUB2020-12-14简介
+ +

◇科普 / 化学 / 有机化学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:有机化学Organic Chemistry
——A Very Short Introduction
(英) 格雷汉姆·帕特里克英文EPUB2020-12-14简介
+ +

◇科普 / 生命科学

+ +

◇科普 / 生命科学 / 生物分类学

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:微生物学Microbiology
——A Very Short Introduction
(美) 尼古拉斯·曼尼英文EPUB2020-12-15简介
牛津通识读本:病毒Viruses
——A Very Short Introduction
(英) 多萝西·克劳福德英文EPUB2020-12-15简介
牛津通识读本:细菌Bacteria
——A Very Short Introduction
(英) 塞巴斯蒂安·阿米斯英文EPUB2020-12-15简介
牛津通识读本:真菌Fungi
——A Very Short Introduction
(美) 尼古拉斯·曼尼英文EPUB2020-12-15简介
昆虫记
其它中文名:
昆虫学回忆录
昆虫学札记
Entomological Memories(法) 让-亨利·法布尔简体PDF(节译本)2020-12-15简介
+ +

◇科普 / 生命科学 / 演化生物学

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:基因Genes
——A Very Short Introduction
(美) 乔纳森·斯拉克英文EPUB2020-12-16简介
自私的基因The Selfish Gene(英) 理查德·道金斯简体MOBI(40周年纪念版)2020-12-16简介
社会生物学
——新的综合
Sociobiology
——The New Synthesis
(美) 爱德华·威尔逊简体HTML(节译本)2020-12-16简介
第三种黑猩猩
——人类的身世与未来
The Third Chimpanzee
——The Evolution and Future of the Human Animal
(美) 贾雷德·戴蒙德简体PDF(扫描版)2020-12-16简介
伊甸园的飞龙
——人类智力演化的推测
The Dragons of Eden
——Speculations on the Evolution of Human Intelligence
(美) 卡尔·萨根简体HTML2020-12-16简介
+ +

◇科普 / 生命科学 / 分子生物学

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:分子生物学Molecular Biology
——A Very Short Introduction
(新西兰) 珍妮丝·罗伊兹
(英) 艾莎·迪万
英文EPUB2020-12-16简介
生命是什么?
——生物细胞的物理学见解
其它中文名:
生命是什么?
——活细胞的物理学观
What Is Life?
——The Physical Aspect of the Living Cell
(奥) 埃尔温·薛定谔简体PDF(扫描版)2020-12-16简介
+ +

◇科普 / 生命科学 / 神经生物学

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:认知神经科学Cognitive Neuroscience
——A Very Short Introduction
(英) 理查德·帕辛厄姆英文EPUB2020-12-17简介
意识探秘
——意识的神经生物学研究
The Quest for Consciousness
——A Neurobiological Approach
(美) 克里斯托夫·科赫简体PDF(扫描版)2020-12-17简介
+ +

◇科普 / 生命科学 / 古生物学

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:化石Fossils
——A Very Short Introduction
(英) 基思·汤姆森英文EPUB2020-12-17简介
人类的起源The Origin of Humankind(肯尼亚) 理查德·利基简体PDF2020-12-17简介
+ +

◇科普 / 生命科学 / 医学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
我们为什么生病
——达尔文医学的新科学
Why We Get Sick
——The New Science of Darwinian Medicine
(美) 伦道夫·尼斯
(美) 乔治·威廉斯
简体PDF(扫描版)2020-12-17简介
+ +

◇科普 / 系统科学

+ +

◇科普 / 系统科学 / 混沌理论

+ + + + +
中文书名英文书名作者文件类型上传日期备注
混沌
——开创新科学
Chaos
——Making a New Science
(美) 詹姆斯·格雷克英文EPUB(修订版)2020-12-18简介
+ +

◇科普 / 系统科学 / 复杂系统论

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:复杂Complexity
——A Very Short Introduction
(美) 约翰·霍兰德英文EPUB2020-12-18简介
复杂
——诞生于秩序与混沌边缘的科学
Complexity
——The Emerging Science at the Edge of Order and Chaos
(美) 米歇尔·沃尔德罗普简体PDF(扫描版)2020-12-18简介
夸克与美洲豹
——简单性和复杂性的奇遇
The Quark and the Jaguar
——Adventures in the Simple and the Complex
(美) 默里·盖尔曼简体PDF2020-12-18简介
复杂性思维
——物质、精神和人类的计算动力学
Thinking in Complexity
——The Computational Dynamics of Matter, Mind and Mankind
其它英文名:
Thinking in Complexity
——The Complex Dynamics of Matter, Mind and Mankind
(德) 克劳斯·迈因策尔简体CHM(第2版)2020-12-18简介
隐秩序
——适应性造就复杂性
Hidden Order
——How Adaptation Builds Complexity
(美) 约翰·霍兰德简体PDF(扫描版)2020-12-18简介
+ +

◇科普 / 地球科学

+ +

◇科普 / 地球科学 / 地理学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:地理学Geography
——A Very Short Introduction
(英) 约翰·马修斯
(英) 戴维·赫伯特
英文EPUB2020-12-19简介
+ +

◇科普 / 地球科学 / 气候学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:气候变化
其它中文名:
牛津通识读本:全球变暖
Climate Change
——A Very Short Introduction
其它英文名:
Global Warming
——A Very Short Introduction
(英) 马克·马斯林英文EPUB2020-12-19简介
+ +

◇科普 / 地球科学 / 生态学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:生态学Ecology
——A Very Short Introduction
(伊拉克/英) 贾布尔·加祖英文EPUB2020-12-19简介
+ +

◇科普 / 地球科学 / 环境科学

+ + + + +
中文书名英文书名作者文件类型上传日期备注
寂静的春天Silent Spring(美) 蕾切尔·卡森英文PDF(40周年纪念版)2020-12-19简介
+ +

◇科普 / 空间科学

+ +

◇科普 / 空间科学 / 天文学史

+ + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:天文学史The History of Astronomy
——A Very Short Introduction
(英) 迈克尔·霍斯金英文EPUB2020-12-20简介
+ +

◇科普 / 空间科学 / 宇宙学

+ +(由于现代宇宙学与理论物理的关系很密切,相关的书籍放在【科普类 / 物理学 / 天体物理学】分类目录下)
+

◇科普 / 空间科学 / 恒星天文学

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:恒星Stars
——A Very Short Introduction
(英) 安德鲁·金英文EPUB2020-12-20简介
千亿个太阳
——恒星的诞生、演变和衰亡
100 Billion Suns
——The Birth, Life and Death of the Stars
(德) 鲁道夫·基彭哈恩简体PDF(扫描版)2020-12-20简介
+ +

◇科普 / 科学家

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
别闹了,费曼先生
——科学玩童的故事
Surely You're Joking, Mr.Feynman!(美) 理查德·费曼简体PDF(精校版)2020-12-20简介
我的世界线
——伽莫夫自传
My World Line
——An Informal Autobiography
(苏/美) 乔治·伽莫夫简体PDF(精校版)2020-12-20简介
+ +

◇科普 / (其它)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
从一到无穷大
——科学中的事实和臆测
One Two Three... Infinity
——Facts and Speculations of Science
(苏/美) 乔治·伽莫夫简体PDF(精校版)2020-12-22简介
+ +
+

+

★军事

+ +【网盘】
+微软网盘
+BT Sync 密钥:BMWWZALG4P56LREF47EE2WSWHZEM4E6BL (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇军事 / 军事理论

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
孙子兵法
其它中文名:
孙武兵法
The Art of War孙武简体PDF
繁體PDF(白話版)
简体WEB
2018-08-20
2018-08-20
N/A
简介
战争论On War(普鲁士) 卡尔·冯·克劳塞维茨简体PDF(大字版 3卷本)
简体EPUB(3卷本)
简体PDF(共3卷)
简体PDF(扫描版 3卷本)
2019-04-14
2020-03-28
2013-03-22
2017-08-12
简介
战略论
——间接路线
Strategy
——The Indirect Approach
其它英文名:
The Strategy of Indirect Approach
The Way to Win Wars
(英) 李德·哈特简体PDF(第2版修订版 扫描版)
英文PDF(第2版修订版 扫描版)
2013-02-05
2019-11-12
简介
海权论
其它中文名:
制海权对历史的影响
The Influence of Sea Power upon History, 1660~1783(美) 阿尔弗雷德·马汉简体PDF
简体PDF(扫描版)
英文PDF(扫描版)
2013-03-22
2017-08-11
2020-01-21
简介
制空权The Command of the Air(意) 朱利欧·杜黑简体PDF(前9章)
英文PDF(扫描版)
2013-08-21
2018-08-25
简介
绝对武器
——原子能与世界秩序
The Absolute Weapon
——Atomic Power and World Order
(美) 伯纳德·布罗迪
等
英文PDF(扫描版)2018-08-25简介
世界上二十次重大战役中的决定因素Decisive Factors in Twenty Great Battles of the World(英) 威廉·西摩简体PDF(大字版)2017-08-12简介
+ +

◇军事 / 现代军事史

+ +

◇军事 / 现代军事史 / 二战

+ +

◇军事 / 现代军事史 / 二战 / (综合)

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
第二次世界大战战史大全N/A(英) 阿诺德·汤因比 (主编)简体EPUB
简体CHM
2013-09-13
2013-02-05
简介
第二次世界大战战史History of the Second World War(英) 李德·哈特简体PDF(扫描版)
英文PDF(扫描版)
2015-09-17
2020-01-21
简介
第二次世界大战回忆录The Second World War(英) 温斯顿·丘吉尔简体PDF(大字版)
简体EPUB
简体HTML
简体MOBI
2015-07-18
2013-09-14
2013-03-22
2018-08-20
简介
第二次世界大战史N/A(德) 库尔特·冯·蒂佩尔斯基希简体PDF(2册本 扫描版)2018-11-11简介
大海战
——第二次世界大战海战史
其它中文名:
伟大的海战
The Great Sea War
——The Story of Naval Action in World War II
(美) 切斯特·尼米兹
(美) 埃尔默·波特
简体PDF(大字版)
简体PDF(扫描版)
2019-08-24
2016-12-11
简介
第二次世界大战的决定性战役Decisive Battles of World War II
——The German View
(美) 汉斯·雅各布森简体CHM2013-08-22简介
大东亚战争全史The Complete History of the Great East Asia War(日) 服部卓四郎简体PDF(共4册 扫描版)2015-09-17简介
山的那一边
——被俘德国将领谈二战
The Other Side of the Hill(英) 李德·哈特简体PDF(扫描版)
英文PDF(扫描版)
2017-08-11
2020-03-08
简介
+ +

◇军事 / 现代军事史 / 二战 / 东欧战场

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
苏德战争,1941~1945The Russo-German War, 1941~1945(英) 阿尔伯特·西顿简体PDF2020-03-24简介
失去的胜利
其它中文名:
曼施泰因元帅战争回忆录
Lost Victories
——The War Memoirs of Hitler's Most Brilliant General
(德) 埃里希·冯·曼施坦因简体TXT
英文PDF
2016-05-16
2018-08-20
简介
+ +

◇军事 / 现代军事史 / 二战 / 西欧与北非战场

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
远征欧陆
其它中文名:
艾森豪威尔回忆录
Crusade in Europe(美) 德怀特·艾森豪威尔简体PDF(扫描版)2018-08-21简介
隆美尔战时文件The Rommel Papers(英) 李德·哈特 (主编)简体TXT
英文PDF(扫描版)
2019-06-02
2019-11-23
简介
巴黎烧了吗?
——盟军解放巴黎纪实
Is Paris Burning?(美) 拉莱·科林斯
(法) 多米尼克·拉皮埃尔
简体PDF(扫描版)
英文EPUB
2016-12-11
2020-01-21
简介
+ +

◇军事 / 现代军事史 / 二战 / 太平洋战场

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
联合舰队的覆灭
其它中文名:
連合艦隊の最後
——太平洋海戦史
The End of the Imperial Japanese Navy(日) 伊藤正德简体TXT
英文PDF
2019-07-27
2020-03-08
简介
浩瀚大洋是赌场
——大日本帝国海军兴亡史
N/A俞天任 (网名:冰冷雨天)简体PDF2016-12-11简介
袭击珍珠港N/A(日) 渊田美津雄简体PDF(扫描版)2015-10-25简介
+ +

◇军事 / 现代军事史 / 二战 / 中国战场

+ + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
从九一八到七七事变
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
七七事变
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
八一三淞沪抗战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
南京保卫战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
徐州会战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
中原抗战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
湖南四大会战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
闽浙赣抗战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
粤桂黔滇抗战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
远征印缅抗战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
一寸山河一寸血N/A(多人)简体PDF(纪录片解说词)2015-07-22简介
穿越1945
——纪念抗战胜利70年访谈纪实
Journey 1945美国之音简体PDF(扫描版)2016-07-17简介
中日战争时期的通敌内幕,1937~1945China and Japan at War 1937-1945
——The Politics of Collaboration
(美) 约翰·博伊尔简体PDF(大字版)2017-08-11简介
+ +

◇军事 / 现代军事史 / 韩战

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
朝鲜战争
——李奇微回忆录
The Korean War(美) 马修·李奇威简体PDF2013-03-17简介
朝鲜战争揭秘N/A沈志华繁體PDF(豎排掃描版)2013-02-02简介
朝鲜战争
——俄国档案馆的解密文件
N/A沈志华 (整理)简体PDF2013-07-30简介
朝鲜战争中的美国陆军United States Army in the Korean War(美) 詹姆斯·施纳贝尔
等
简体PDF(共3卷 扫描版)
英文PDF(共5卷 扫描版 缺第5卷)
2017-08-16
2020-03-08
简介
毛泽东、斯大林与朝鲜战争N/A沈志华简体PDF
简体EPUB
简体MOBI
简体PDF(扫描版)
2013-07-30
2013-09-13
2018-12-09
2015-10-25
简介
远东朝鲜战争N/A王树增简体PDF2013-07-30简介
杜鲁门与麦克阿瑟的冲突和朝鲜战争The Truman-MacArthur Controversy and the Korean War(美) 约翰·斯帕尼尔简体PDF(扫描版)2017-02-19简介
+ +

◇军事 / 现代军事史 / 越战

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
基辛格越战回忆录Ending the Vietnam War
——A History of America's Involvement in and Extrication from the Vietnam War
(美) 亨利·基辛格简体EPUB2015-01-11简介
回顾
——越战的悲剧与教训
In Retrospect
——The Tragedy and Lessons of Vietnam
(美) 罗伯特·麦克纳马拉简体PDF
简体HTML
2017-08-12
2018-08-20
简介
中国秘密大发兵
——援越抗美实录
N/A王贤根简体PDF(扫描版)2013-02-05简介
+ +

◇军事 / 现代军事史 / 冷战

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
冷战,1945~1991The Cold War, 1945~1991(英) 约翰·梅森简体PDF(大字版)
英文PDF
2018-11-11
2020-01-21
简介
牛津通识读本:冷战The Cold War
——A Very Short Introduction
(美) 罗伯特·麦克马洪英文PDF
英文MOBI
2015-12-14
2020-12-08
简介
苏联行为的根源The Sources of Soviet Conduct(美) 乔治·凯南简体TXT
英文TXT
英文PDF(扫描版)
2018-08-14
2019-05-28
2020-03-08
简介
凯南长电Long Telegram(美) 乔治·凯南简体TXT
英文TXT
2018-08-14
2019-11-23
简介
冷战史
——遏制与共存备忘录
A Journey Through the Cold War
——A Memoir of Containment and Coexistence
(美) 雷蒙德·加特霍夫简体PDF2017-02-19简介
人心之争
——美国、苏联与冷战
For the Soul of Mankind
——The United States, the Soviet Union and the Cold War
(美) 梅尔文·莱弗勒简体PDF(扫描版)
英文EPUB
2017-02-19
2020-01-21
简介
美国遏制战略与冷战起源再探U.S. Strategy of Containment and the Origins of the Cold War
——A Revist
张曙光简体PDF(扫描版)2018-08-14简介
冰与火之歌
——回首冷战军事对抗史
N/A《现代兵器》杂志社简体PDF(扫描版)2015-02-17简介
+ +

◇军事 / 现代军事史 / 一战

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:第一次世界大战The First World War
——A Very Short Introduction
(英) 迈克尔·霍华德英文PDF
英文MOBI
2015-12-15
2020-12-08
简介
第一次世界大战回忆录The World Crisis(英) 温斯顿·丘吉尔简体TXT
英文MOBI(共5卷)
2016-05-19
2020-01-21
简介
欧洲的悲剧
——第一次世界大战战史
N/A(未知)繁體PDF(掃描版)2017-08-16简介
乱七八糟的第一次世界大战The Frightful First World War(英) 泰瑞·狄利简体PDF(扫描版)2018-08-20简介
+ +

◇军事 / 近代军事史

+ +

◇军事 / 近代军事史 / 甲午战争

+ + + + +
中文书名作者文件类型上传日期备注
绝版甲午
——从海外史料揭秘中日战争
(澳大利亚) 雪珥 (原名:蒋文胜)简体PDF(扫描版)2016-12-10简介
+ +

◇军事 / 近代军事史 / 鸦片战争

+ + + + + + +
中文书名作者文件类型上传日期备注
天朝的崩溃
——鸦片战争再研究
茅海建简体MOBI(第2版)
简体EPUB(第1版)
简体MOBI(第1版)
简体PDF(第1版 扫描版)
2017-05-09
2017-05-09
2017-08-14
2020-11-22
简介
那一次,我们挨打了
——中英第一次鸦片战争全景解读
端木赐香 (原名:李桂枝)简体TXT2015-07-12简介
这一次,我们又挨打了
——中英第二次鸦片战争始末
端木赐香 (原名:李桂枝)简体PDF2015-07-12简介
+ +

◇军事 / 近代军事史 / 南北战争

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
火的考验
——美国南北战争及重建南部
Ordeal By Fire
——The Civil War and Reconstruction
(美) 詹姆斯·麦克弗森简体PDF(扫描版)2017-02-20简介
美国内战The Civil War
——An Illustrated History
(美) 乔弗里·瓦德简体TXT2016-05-15简介
+ +

◇军事 / 古代军事史

+ +

◇军事 / 古代军事史 / 古希腊

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
伯罗奔尼撒战争史History of the Peloponnesian War(古希腊) 修昔底德简体PDF(2册本 扫描版)
简体EPUB
简体TXT
英文PDF(精装版)
英文PDF(共3卷 扫描版)
2014-07-27
2015-02-13
2016-05-01
2018-08-08
2020-01-21
简介
历史
其它中文名:
希波战争史
The Histories(古希腊) 希罗多德简体PDF(扫描版)
英文EPUB
2017-08-11
2020-01-21
简介
亚历山大远征记Anabasis Alexandri(古罗马) 阿利安简体PDF
简体PDF(扫描版)
英文EPUB
2013-02-07
2015-07-18
2018-08-08
简介
牛津通识读本:特洛伊战争The Trojan War
——A Very Short Introduction
(美) 埃里克·克莱因英文EPUB2020-03-24简介
+ +

◇军事 / 古代军事史 / 古罗马

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
高卢战记Commentaries on the Gallic War(古罗马) 尤利乌斯·凯撒简体PDF(扫描版)
简体HTML
简体MOBI
简体TXT
2015-07-11
2014-06-22
2015-02-08
2016-04-30
简介
内战记Commentaries on the Civil War(古罗马) 尤利乌斯·凯撒简体PDF(扫描版)
简体HTML
2015-07-11
2014-06-22
简介
战略之父
——汉尼拔的军事生涯
Father of Strategy
——The Military Life of Hannibal
(美) 特雷弗·杜普伊简体PDF2013-02-05简介
汉尼拔战争N/A王乃新简体PDF(扫描版)2013-02-05简介
+ +

◇军事 / 其它军事史

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
西洋世界军事史
其它中文名:
西方历史上的决定性会战及其影响
A Military History of the Western World
其它英文名:
The Decisive Battles of the Western World and Their Influence upon History
(英) 约翰·富勒简体EPUB(共3卷)2019-11-24简介
影响人类历史进程的100场决定性战役100 Decisive Battles
——From Ancient Times to the Present
(美) 保罗·戴维斯简体PDF(扫描版)2018-08-20简介
+ +

◇军事 / 武器

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
牛津通识读本:核武器Nuclear Weapons
——A Very Short Introduction
(美) 约瑟夫·锡拉库扎英文PDF
英文MOBI
2015-12-14
2020-12-08
简介
隐形战斗机X-Planes
——Secret Planes and Secret Missions
(美) 戴维·奥利弗
(美) 迈克·瑞安
简体PDF(扫描版)2017-05-05简介
简氏枪械鉴赏指南典藏版Jane's Guns Recognition Guide理查德·琼斯
安德鲁·怀特
简体PDF(扫描版)2018-08-20简介
+ +

◇军事 / 美国

+ + + + +
中文书名英文书名作者文件类型上传日期备注
美军生存手册U.S. Army Survival Manual(美) 美国国防部简体PDF(扫描版)2017-02-19简介
+ +
+

+

★IT

+ +(IT领域的发展太快,导致书籍的生命周期变短。所以俺尽量挑选那些生命周期比较长的电子书。)
+【网盘】
+微软网盘
+BT Sync 密钥:BUPSDXFA3TP7KCMLHALRHLIX2FEJEUJFE (此密钥的使用方法,参见页面开头的“网盘下载须知”)
+

◇IT / 软件开发

+ +

◇IT / 软件开发 / 软件工程

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
人月神话The Mythical Man-Month
——Essays on Software Engineering
(美) Frederick Brooks简体PDF(20周年纪念版)
简体EPUB(20周年纪念版)
简体TXT(20周年纪念版)
英文PDF(20周年纪念版)
英文CHM(20周年纪念版)
2018-11-09
2013-10-20
2016-05-01
2016-12-22
2013-10-20
简介
人件Peopleware
——Productive Projects and Teams
(美) Tom Demarco
(美) Timothy Lister
简体PDF(第3版 扫描版)
简体PDF(第2版)
简体PDF(第2版 扫描版)
英文PDF(第2版)
2020-11-20
2015-11-07
2013-10-20
2013-10-20
简介
软件工程
——实践者的研究方法
Software Engineering
——A Practitioner's Approach
(美) Roger Pressman英文PDF(第8版)2018-07-29简介
代码大全
其它中文名:
軟體建構之道
Code Complete
——A Practical Handbook of Software Construction
(美) Steve McConnell简体PDF(第2版 扫描版)
英文CHM(第2版)
简体PDF(第1版)
2017-08-08
2013-10-20
2013-10-20
简介
重构
——改善既有代码的设计
Refactoring
——Improving the Design of Existing Code
(英) Martin Fowler
(美) Kent Beck
John Brant
(美) William Opdyke
Don Roberts
英文PDF(第2版)
简体PDF(第1版)
简体PDF(第1版 扫描版)
英文PDF(第1版)
英文CHM(第1版)
2020-11-20
2020-11-20
2016-12-22
2017-08-09
2013-10-20
简介
敏捷软件开发
——原则、模式与实践
Agile Software Development
——Principles, Patterns and Practices
(美) Robert Martin简体PDF(扫描版)
英文PDF
2015-11-08
2020-04-06
简介
代码整洁之道
——程序员的职业素养
Clean Code
——A Handbook of Agile Software Craftsmanship
(美) Robert Martin简体PDF(扫描版)
英文PDF
2020-11-20
2020-04-08
简介
最后期限
其它中文名:
最後期限
——專案管理101個成功法則
The Deadline
——A Novel about Project Management
(美) Tom Demarco简体PDF
英文PDF
2013-10-20
2020-04-03
简介
+ +

◇IT / 软件开发 / 编程语言

+ +(本类别放置“具体编程语言相关”的编程类电子书)
+

◇IT / 软件开发 / 编程语言 / C

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
C 程序设计语言The C Programming Language(加) Brian Kernighan
(美) Dennis Ritchie
简体PDF(第2版)
英文PDF(第2版)
英文EPUB(第2版)
2017-08-08
2015-11-07
2015-07-21
简介
C Primer PlusC Primer Plus(美) Stephen Prata简体EPUB(第6版)
英文PDF(第5版)
2020-07-09
2020-07-09
简介
C 陷阱与缺陷C Traps and Pitfalls(美) Andrew Koenig简体PDF(扫描版)
英文PDF
2015-11-15
2015-11-07
简介
The GNU C Programming TutorialThe GNU C Programming Tutorial(英) Mark Burgess英文PDF
英文WEB
2016-12-21
N/A
简介
21世纪 C 语言技巧21st Century C
——C Tips from the New School
Ben Klemens英文EPUB2015-07-21简介
+ +

◇IT / 软件开发 / 编程语言 / C++

+ + + + + + + + + + + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
C++ 程序设计语言The C++ Programming Language(丹麦) Bjarne Stroustrup英文PDF(第4版)
英文PDF(特别版)
简体PDF(特别版 扫描版)
2020-04-08
2013-10-21
2013-10-29
简介
Accelerated C++Accelerated C++
——Practical Programming by Example
(美) Andrew Koenig
(美) Barbara Moo
简体PDF(扫描版)2020-07-09简介
Effective C++
——改善程序与设计的55个具体做法
Effective C++
——55 Specific Ways to Improve Your Programs and Designs
(美) Scott Meyers英文PDF(第3版)
英文CHM(第3版)
2018-08-04
2013-10-21
简介
More Effective C++
——35个改善编程与设计的有效方法
More Effective C++
——35 New Ways to Improve Your Programs and Designs
(美) Scott Meyers英文PDF
简体PDF
2013-10-21
2015-05-12
简介
Effective Modern C++
——改善 C++11 和 C++14 的42个具体做法
Effective Modern C++
——42 Specific Ways to Improve Your Use of C++11 and C++14
(美) Scott Meyers英文PDF2018-08-04简介
C++ 编程规范
——101 条规则、准则与最佳实践
C++ Coding Standards
——101 Rules, Guidelines, and Best Practices
(美) Herb Sutter
(美) Andrei Alexandrescu
英文CHM2013-10-20简介
C++ 必知必会C++ Gotchas
——Avoiding Common Problems in Coding and Design
(美) Stephen Dewhurst英文CHM2015-11-05简介
C++ Primer PlusC++ Primer Plus(美) Stephen Prata英文PDF(第5版)2018-09-11简介
C++ PrimerC++ Primer(美) Stanley Lippman
等
英文CHM(第4版)
简体PDF(第3版)
2013-10-20
2013-10-24
简介
C++ 标准库
——自修教程与参考手册
The C++ Standard Library
——A Tutorial and Reference
(德) Nicolai Josuttis英文CHM
简体PDF(扫描版)
2013-10-20
2015-05-12
简介
超越 C++ 标准库
——Boost 库导论
Beyond the C++ Standard Library
——An Introduction to Boost
Björn Karlsson英文CHM2018-08-04简介
C++ 编程思想Thinking in C++(美) Bruce Eckel英文PDF(第2版 卷1)
英文PDF(第2版 卷2)
简体PDF(第1版)
2019-03-29
2019-03-29
2018-07-20
简介
深度探索 C++ 对象模型Inside the C++ Object Model(美) Stanley Lippman英文CHM
简体PDF(扫描版)
2013-10-20
2018-08-04
简介
C++ 设计新思维
——泛型编程与设计模式之应用
Modern C++ Design
——Generic Programming and Design Patterns Applied
(美) Andrei Alexandrescu简体PDF(扫描版)
英文PDF
英文CHM
英文MOBI
2015-11-08
2018-08-04
2016-12-21
2018-08-04
简介
C++ Templates 全览C++ Templates
——The Complete Guide
(比利时) David Vandevoorde
(德) Nicolai Josuttis
简体PDF(第1版 扫描版)
英文EPUB(第2版)
英文EPUB(第1版)
英文CHM(第1版)
2020-07-09
2018-11-11
2018-08-04
2015-05-12
简介
C++ 模板元编程C++ Template Metaprogramming
——Concepts, Tools and Techniques from Boost and Beyond
(美) David Abrahams
(美) Aleksey Gurtovoy
简体PDF(扫描版)2020-07-09简介
C++ 语言的设计和演化The Design and Evolution of C++(丹麦) Bjarne Stroustrup简体PDF(扫描版)
英文PDF
2013-10-25
2018-08-04
简介
STL 源码剖析The Annotated STL Sources侯捷 (原名:侯俊杰)简体PDF(扫描版)2015-11-05简介
大规模 C++ 程序设计Large-Scale C++ Software Design(美) John Lakos简体PDF(扫描版)
英文DJVU(扫描版)
2013-10-30
2020-04-04
简介
+ +

◇IT / 软件开发 / 编程语言 / Python

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
Python 学习手册Learning Python(美) Mark Lutz英文PDF(第5版)
英文EPUB(第5版)
英文PDF(第4版)
2019-08-23
2013-10-21
2017-08-10
简介
深入 Python3Dive into Python3(美) Mark Pilgrim英文PDF
英文WEB
简体PDF
2013-10-21
N/A
2013-10-21
简介
Python CookbookPython Cookbook(美) David Beazley
(美) Brian Jones
简体PDF(第3版)
简体WEB
英文PDF(第3版)
2019-03-26
N/A
2013-10-21
简介
像计算机科学家一样思考 PythonThink Python
——How to Think Like a Computer Scientist
(美) Allen Downey简体PDF(第2版)
英文PDF(第2版)
英文WEB
2018-08-04
2015-01-11
N/A
简介
深入 PythonDive into Python(美) Mark Pilgrim英文PDF
简体PDF
2013-10-21
2013-10-21
简介
+ +

◇IT / 软件开发 / 编程语言 / Java

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
Java 编程思想Thinking in Java(美) Bruce Eckel英文PDF(第4版)
简体PDF(第4版 扫描版)
2013-10-21
2014-05-18
简介
Effective JavaEffective Java(美) Joshua Bloch简体PDF(第2版 扫描版)
英文PDF(第2版)
英文PDF(第1版)
2016-12-15
2015-11-17
2015-11-07
简介
Java 性能优化权威指南Java PerformanceCharlie Hunt
Binu John
英文PDF(第1版)2015-11-08简介
+ +

◇IT / 软件开发 / 编程语言 / JavaScript

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
JavaScript 权威指南JavaScript
——The Definitive Guide
(美) David Flanagan简体PDF(第6版 扫描版)
英文PDF(第6版)
英文CHM(第5版)
2015-11-15
2015-11-08
2016-12-21
简介
JavaScript 高级程序设计Professional JavaScript for Web Developers(美) Nicholas Zakas简体PDF(第3版 扫描版)
英文PDF(第1版)
2017-08-10
2019-03-29
简介
JavaScript 语言精粹JavaScript
——The Good Parts
(美) Douglas Crockford简体PDF(修订版 扫描版)
简体PDF(扫描版)
英文PDF
2019-03-29
2018-07-19
2016-12-21
简介
+ +

◇IT / 软件开发 / 编程语言 / Lisp

+ + + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
计算机程序的构造和解释Structure and Interpretation of Computer Programs(美) Harold Abelson
(美) Gerald Jay Sussman
(美) Julie Sussman
简体PDF(第2版 扫描版)
英文PDF(第2版)
英文WEB
2015-07-20
2016-12-21
N/A
简介
程序设计方法How to Design Programs
——An Introduction to Computing and Programming
(美) Matthias Felleisen
(美) Robby Findler
(美) Matthew Flatt
(美) Shriram Krishnamurthi
英文PDF(第1版)
英文WEB(第2版)
英文WEB(第1版)
2019-07-30
N/A
N/A
简介
ANSI Common LispANSI Common Lisp(美) Paul Graham简体PDF
英文PDF
简体WEB
繁體WEB
2018-06-28
2015-01-11
N/A
N/A
简介
实用 Common Lisp 编程Practical Common Lisp(美) Peter Seibel简体PDF(扫描版)2018-06-28简介
Common Lisp
——The Language
Common Lisp
——The Language
(美) Guy Steele英文PDF(第2版)
英文PS(第2版)
英文WEB
2017-05-09
2016-12-21
N/A
简介
On Lisp
——Advanced Techniques for Common Lisp
On Lisp
——Advanced Techniques for Common Lisp
(美) Paul Graham简体PDF
英文PDF
2017-08-09
2015-01-11
简介
Lisp 之根源The Roots of Lisp(美) Paul Graham简体PS
英文PDF
简体WEB
2018-07-20
2016-12-12
N/A
简介
Lisp 的演化The Evolution of Lisp(美) Guy Steele
(美) Richard Gabriel
英文PDF2018-10-29简介
GNU Emacs Lisp 编程入门An introduction to Programming in Emacs Lisp(美) Robert J. Chassell简体PDF(扫描版)
英文PDF(版本3.10)
英文PDF(版本2.05)
2018-06-28
2015-11-17
2015-11-03
简介
Basic Lisp TechniquesBasic Lisp TechniquesDavid Cooper英文PDF2015-01-11简介
+ +

◇IT / 软件开发 / 编程语言 / Go

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
Go 程序设计语言
其它中文名:
Go 语言圣经
The Go Programming Language(美) Alan Donovan
(加) Brian Kernighan
简体PDF(第1版)
英文PDF(第1版)
2018-07-20
2020-04-02
简介
Go 入门指南The Way To Go
——A Thorough Introduction to the Go Programming Language
(比利时) Ivo Balbaert简体PDF
简体WEB
英文PDF
2019-03-30
N/A
2018-07-20
简介
Go 语言程序设计Programming in Go
——Creating Applications for the 21st Century
(英) Mark Summerfield英文PDF(第1版)2018-07-20简介
+ +

◇IT / 软件开发 / 编程语言 / Ruby

+ + + + +
中文书名英文书名作者文件类型上传日期备注
Ruby 程序设计Programming Ruby
——The Pragmatic Programmer's Guide
(美) David Thomas
(美) Andrew Hunt
英文PDF(第4版)2020-04-08简介
+ +

◇IT / 软件开发 / 编程语言 / Rust

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
Rust 程序设计语言The Rust Programming LanguageRust 开发团队英文PDF(第2版)
英文EPUB(第2版)
英文PDF(第1版)
英文EPUB(第1版)
英文WEB(第2版)
简体WEB(第2版)
2018-07-20
2018-11-09
2018-07-20
2018-11-09
N/A
N/A
简介
Rust 程序设计Programming Rust
——Fast, Safe Systems Development
(美) Jim Blandy
(美) Jason Orendorff
英文PDF(第1版 大字版)
英文EPUB(第1版 不全)
2020-04-06
2019-03-30
简介
+ +

◇IT / 软件开发 / 编程语言 / Prolog

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
Programming in Prolog
——Using the ISO Standard
Programming in Prolog
——Using the ISO Standard
(英) William Clocksin
(英) Christopher Mellish
英文PDF(第5版 扫描版)2018-07-18简介
Logic Programming with PrologLogic Programming with Prolog(英) Max Bramer英文PDF(第1版)2018-07-18简介
An Introduction to Logic Programming through PrologAn Introduction to Logic Programming through Prolog(英) Michael Spivey英文PDF2018-07-18简介
+ +

◇IT / 软件开发 / 编程语言 / (其它)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
编程之魂
——与27位编程语言创始人对话
Masterminds of Programming
——Conversations with the Creators of Major Programming Languages
Federico Biancuzzi
Shane Warden
简体PDF(扫描版)
英文PDF
2015-05-12
2020-04-02
简介
+ +

◇IT / 软件开发 / 编程范式

+ + + + + + + +
中文书名英文书名作者文件类型上传日期备注
七周七语言
——理解多种编程范型
Seven Languages in Seven Weeks
——A Pragmatic Guide to Learning Programming Languages
(美) Bruce Tate简体PDF
英文PDF
2017-05-06
2018-08-04
简介
设计模式
——可复用面向对象软件的基础
Design Patterns
——Elements of Reusable Object-Oriented Software
Gang of Four (模式四人帮)简体PDF
简体PDF(扫描版)
英文CHM
2013-10-21
2018-10-29
2013-10-20
简介
Head First 设计模式Head First Design PatternsEric Freeman
Elisabeth Robson
Bert Bates
Kathy Sierra
简体PDF(扫描版)2016-12-23简介
七周七并发模型Seven Concurrency Models in Seven Weeks
——When Threads Unravel
(美) Paul Butcher简体PDF(扫描版)
英文PDF
2018-07-25
2019-07-31
简介
+ +

◇IT / 软件开发 / 算法与数据结构

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
计算机程序设计艺术The Art of Computer Programming(美) Donald Knuth (中文名:高德纳)英文DJVU(共3卷 1998套装 扫描版)2020-04-11简介
算法导论Introduction to Algorithms(美) Thomas Cormen
(美) Charles Leiserson
(美) Ronald Rivest
(美) Clifford Stein
简体PDF(第3版 扫描版)
英文PDF(第3版)
英文CHM(第2版)
2015-10-25
2013-10-21
2013-10-30
简介
算法概论Algorithms(美) Sanjoy Dasgupta
(希腊) Christos Papadimitriou
(印度) Umesh Vazirani
简体PDF(扫描版)
英文PDF
2020-04-11
2018-07-29
简介
算法设计手册
其它中文名:
算法设计指南
The Algorithm Design Manual(美) Steven Skiena英文PDF(第2版)2018-07-29简介
编程珠玑Programming Pearls(美) Jon Bentley英文PDF(第2版)
简体PDF(第2版 扫描版)
2013-10-21
2013-10-21
简介
算法心得
——高效算法的奥秘
Hacker's Delight(美) Henry Warren Jr.简体PDF(第2版 扫描版)
英文PDF(第1版 大字版)
2020-11-20
2020-07-09
简介
数学之美Beauty of Mathematics吴军简体PDF(第1版)
简体TXT(第1版)
2018-10-29
2016-05-15
简介
+ +

◇IT / 软件开发 / 调试与测试

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
软件调试修炼之道Debug It
——Find, Repair and Prevent Bugs in Your Code
(美) Paul Butcher英文PDF2020-04-06简介
软件调试的艺术The Art of Debugging with GDB, DDD and Eclipse(美) Norman Matloff
(美) Peter Salzman
简体PDF(扫描版)2020-04-10简介
+ +

◇IT / 软件开发 / 操作系统相关

+ +(本类别放置“具体操作系统相关”的编程类电子书)
+

◇IT / 软件开发 / 操作系统相关 / UNIX 与 Linux

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
UNIX 编程艺术The Art of UNIX Programming(美) Eric Raymond简体PDF(扫描版)
英文PDF
英文EPUB
英文MOBI
英文CHM
2017-05-06
2019-08-17
2018-08-04
2018-08-04
2013-10-20
简介
Linux/UNIX 设计思想Linux and the UNIX Philosophy
其它英文名:
The UNIX Philosophy
(美) Mike Gancarz英文CHM(第2版)2020-04-10简介
UNIX 环境高级编程Advanced Programming in the UNIX Environment(美) Richard Stevens
(美) Stephen Rago
简体PDF(第3版 扫描版)
简体PDF(第2版 扫描版)
英文PDF(第3版)
英文CHM(第2版)
2017-08-09
2014-05-13
2013-11-14
2013-10-21
简介
UNIX 系统编程UNIX Systems Programming
——Communication, Cocurrency and Threads
其它英文名:
Practical UNIX Programming
——A Guide to Concurrency, Communication and Multithreading
(美) Kay Robbins
(美) Steven Robbins
英文CHM2013-10-21简介
如何编写动态库How to Write Shared Libraries(美) Ulrich Drepper英文PDF2019-03-17简介
精通 Linux 设备驱动程序开发Essential Linux Device Drivers(印度) Venkateswaran简体PDF(扫描版)2015-11-06简介
+ +

◇IT / 软件开发 / 操作系统相关 / Windows

+ + + + +
中文书名英文书名作者文件类型上传日期备注
Windows 核心编程Windows via C & C++
其它英文名:
Programming Applications for Windows
(美) Jeffrey Richter英文CHM(第5版)
简体PDF(第4版)
英文CHM(第4版)
2020-04-10
2014-05-13
2013-10-21
简介
+ +

◇IT / 软件开发 / 网络相关

+ +(本类别放置“网络相关”的编程类电子书)
+

◇IT / 软件开发 / 网络相关 / C & C++

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
UNIX 网络编程
包括如下:
第1卷 套接字联网 API
第2卷 进程间通讯
UNIX Network Programming(美) Richard Stevens简体PDF(共2卷 扫描版)
英文PDF(共2卷)
英文CHM(共2卷 缺第2卷)
英文DJVU(共2卷 扫描版)
2020-11-20
2019-08-17
2013-10-20
2020-07-09
简介
ZeroMQZeroMQ
——Use ZeroMQ and Learn How to Apply Different Message Patterns
Faruk Akgul英文PDF2018-07-02简介
C++ 网络编程
包括如下:
第1卷 运用 ACE 和模式消除复杂性
第2卷 基于 ACE 和框架的系统化复用
C++ Network Programming(美) Douglas Schmidt英文CHM(共2卷)2013-10-21简介
+ +

◇IT / 软件开发 / 网络相关 / Python

+ + + + +
中文书名英文书名作者文件类型上传日期备注
Twisted Network Programming EssentialsTwisted Network Programming Essentials
——Developing With Python's Event-driven Framework
Abe Fettig
(美) Jessica McKellar
英文CHM(第1版)2016-12-22简介
+ +

◇IT / 软件开发 / Web 相关

+ +

◇IT / 软件开发 / Web 相关 / 架构设计

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
RESTful Web ServicesRESTful Web Services(美) Leonard Richardson
(美) Sam Ruby
英文PDF
英文EPUB
英文WEB
2016-12-22
2017-05-06
N/A
简介
RESTful Web Services CookbookRESTful Web Services Cookbook(美) Subbu Allamaraju简体PDF
英文PDF
2018-06-28
2017-08-09
简介
+ +

◇IT / 软件开发 / Web 相关 / 服务端框架

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
Ruby on Rails 教程Ruby on Rails Tutorial
——Learn Web Development with Rails
(美) Michael Hartl英文EPUB(第4版)2020-04-09简介
Django 基础教程Tango with Django
——A Beginner's Guide to Web Development with Django
其它英文名:
Tango with Django
——Learn Web Development with Python and Django
Leif Azzopardi
David Maxwell
英文PDF(Django 1.9)
英文WEB
2020-04-09
N/A
简介
+ +

◇IT / 软件开发 / 硬件相关

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
编码
——隐匿在计算机软硬件背后的语言
Code
——The Hidden Language of Computer Hardware and Software
(美) Charles Petzold简体PDF(扫描版)
英文PDF
2017-08-08
2019-08-17
简介
每个程序员都应该了解的内存知识What Every Programmer Should Know About Memory(美) Ulrich Drepper英文PDF2017-08-10简介
+ +

◇IT / 软件开发 / (其它)

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
程序员修炼之道
——从小工到专家
Pragmatic Programmers
——From Journeyman to Master
(美) Andrew Hunt
(美) David Thomas
简体PDF(扫描版)
简体PDF(扫描版)
简体TXT
英文PDF
2017-08-09
2013-10-21
2016-05-01
2013-10-19
简介
约耳趣谈软体Joel on Software(美) Joel Spolsky英文EPUB
英文CHM
2015-01-11
2016-12-22
简介
软件随想录More Joel on Software(美) Joel Spolsky简体PDF(扫描版)
英文PDF
2015-02-17
2015-01-11
简介
程序员应该知道的97件事97 Things Every Programmer Should Know
——Collective Wisdom from the Experts
(英) Kevlin Henney (主编)英文PDF
英文EPUB
2018-07-02
2020-04-08
简介
编程人生
——15位软件先驱访谈录
Coders at Work
——Reflections on the Craft of Programming
(美) Peter Seibel英文PDF2015-11-08简介
代码阅读方法与实践Code Reading
——The Open Source Perspective
(希腊) Diomidis Spinellis简体PDF(扫描版)
英文CHM
2015-11-03
2020-04-04
简介
+ +

◇IT / 黑客文化与开源文化

+ +(考虑到“黑客”一词已经被严重误解,俺单独放一个目录介绍黑客文化。希望大伙儿搞清楚:“黑客/Hacker”与“骇客/Cracker”是有天壤之别的)
+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
自由软件,自由社会
——理查德·斯托曼选集
Free Software, Free Society
——Selected Essays of Richard M. Stallman
(美) Richard Stallman简体PDF(第3版)
简体EPUB(第3版)
英文PDF(第3版)
简体WEB(第3版)
2019-03-14
2019-03-14
2019-03-14
N/A
简介
大教堂与集市
其它中文名:
大教堂和市集
黑客五部曲
包括如下:
黑客文化简史
大教堂和集市
如何成为一名黑客
开拓智域
魔法大锅炉
The Cathedral and the Bazaar(美) Eric Raymond简体PDF
简体EPUB
简体MOBI
英文PDF
2013-10-20
2015-12-25
2015-12-25
2020-04-09
简介
黑客与画家Hackers and Painters
——Big Ideas from the Computer Age
(美) Paul Graham简体PDF(扫描版)
简体EPUB
简体MOBI
简体TXT
英文PDF
英文EPUB
2013-04-06
2013-10-20
2014-02-23
2016-04-29
2017-08-08
2020-04-04
简介
黑客
——计算机革命的英雄
Hackers
——Heroes of the Computer Revolution
(美) Steven Levy简体PDF(25周年纪念版 扫描版)
简体MOBI(25周年纪念版)
简体EPUB
英文PDF
2014-01-28
2015-07-20
2015-07-20
2015-05-12
简介
若为自由故
——自由软件之父理查德·斯托曼传
Free as in Freedom
——Richard Stallman's Crusade for Free Software
(美) Sam Williams简体TXT(第2版)
英文PDF(第2版)
英文PDF(第1版)
英文WEB(第1版)
2019-03-09
2016-12-21
2019-08-01
N/A
简介
乐者为王
——自由软件 Linux 之父李纳斯·托沃兹自述
其它中文名:
只是为了好玩
——Linux 之父林纳斯自传
Just for Fun
——The Story of an Accidental Revolutionary
(芬兰/美) Linus Torvalds简体EPUB
简体PDF(扫描版)
英文EPUB
2015-11-15
2016-12-12
2019-08-01
简介
线上幽灵
——世界头号黑客米特尼克自传
Ghost in the Wires
——My Adventures as the World's Most Wanted Hacker
(美) Kevin Mitnick简体PDF(扫描版)
英文PDF
2020-04-09
2019-08-03
简介
自由文化Free Culture
——How Big Media Uses Technology and the Law to Lock Down Culture and Control Creativity
(美) Lawrence Lessig英文PDF2015-12-09简介
制造开源软件
——如何成功运营自由软件项目
Producing Open Source Software
——How to Run a Successful Free Software Project
Karl Fogel简体EPUB
英文EPUB
英文PDF
简体WEB
英文WEB
2016-12-21
2016-12-21
2017-05-06
N/A
N/A
简介
+ +

◇IT / 信息安全

+ +(俺在博客上写了不少信息安全的扫盲教程,如果不分享几本相关的书,实在说不过去啊)
+

◇IT / 信息安全 / 社会工程学

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
欺骗的艺术
其它中文名:
反欺骗的艺术
——世界传奇黑客的经历分享
The Art of Deception
——Controlling the Human Element of Security
(美) Kevin Mitnick简体PDF
简体EPUB
简体MOBI
英文PDF
2013-10-20
2015-07-17
2015-02-09
2013-10-20
简介
社会工程
——安全体系中的人性漏洞
Social Engineering
——The Art of Human Hacking
其它英文名:
Social Engineering
——The Science of Human Hacking
(美) Christopher Hadnagy英文PDF(第2版)
英文PDF(第1版)
2020-04-02
2020-04-02
简介
+ +

◇IT / 信息安全 / 密码学

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
密码学原理与实践Cryptography
——Theory and Practice
(加) Douglas Stinson简体PDF(第2版 扫描版)
英文CHM
2013-10-21
2013-10-30
简介
应用密码学
——协议、算法与 C 源程序
Applied Cryptography
——Protocols, Algorithms, and Source Code in C
(美) Bruce Schneier简体PDF(第2版 扫描版)
英文EPUB(第2版)
英文PDF(第2版)
2013-11-26
2015-07-21
2013-10-21
简介
密码编码学与网络安全
——原理与实践
Cryptography and Network Security
——Principles and Practice
(美) William Stallings英文PDF(第5版)
英文PDF(第4版)
简体PDF(第3版 扫描版)
2013-11-18
2019-03-25
2013-11-18
简介
+ +

◇IT / 信息安全 / 安全加固

+ + + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
Windows 7 安全指南N/AN/A简体PDF(扫描版)2014-02-13简介
Debian 官方安全手册Securing Debian ManualN/A英文PDF(文档版本3.17)
英文WEB
2015-07-21
N/A
简介
Fedora 官方 wiki 安全特性Security FeaturesN/A英文WEBN/AN/A
RHEL 官方安全手册Red Hat Enterprise Linux Security Guide
其它英文名:
Red Hat Enterprise Linux Security Hardening
N/A英文PDF(RHEL8)
英文PDF(RHEL7)
英文PDF(RHEL6)
2020-07-09
2018-10-30
2014-02-22
简介
CentOS 官方安全指南OS ProtectionN/A英文WEBN/AN/A
Ubuntu 桌面版官方安全手册Basic Ubuntu Security Guide, Desktop EditionN/A英文WEBN/AN/A
openSUSE 官方安全手册openSUSE Leap Security GuideN/A英文WEBN/AN/A
Arch Linux 官方安全手册Security
——Recommendations and Best Practices for Hardening an Arch Linux System
N/A英文WEBN/AN/A
Gentoo 官方安全手册Gentoo Security HandbookN/A英文WEBN/AN/A
+ +

◇IT / 信息安全 / 入侵与渗透测试

+ + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
入侵的艺术The Art of Intrusion
——The Real Stories Behind the Exploits of Hackers, Intruders and Deceivers
(美) Kevin Mitnick简体PDF(扫描版)
简体EPUB
英文PDF
2014-02-04
2015-07-17
2014-01-09
简介
黑客之道
——漏洞发掘的艺术
Hacking
——The Art of Exploitation
(美) Jon Erickson英文PDF(第2版)
英文CHM(第1版)
2018-07-29
2019-08-02
简介
灰帽攻击安全手册
——渗透测试与漏洞分析技术
Gray Hat Hacking
——The Ethical Hacker's Handbook
Allen Harper
等
英文PDF(第3版)
英文PDF(第2版)
简体PDF(第1版)
2018-07-25
2019-03-24
2018-11-09
简介
黑客攻防技术宝典
——Web 实战篇
The Web Application Hacker's Handbook
——Finding and Exploiting Security Flaws
(英) Dafydd Stuttard (网名:PortSwigger)
(英) Marcus Pinto
英文PDF(第2版)2019-03-24简介
Shellcoder 编程揭秘Shellcoder's Programming Uncovered(俄) Kris Kaspersky简体PDF(扫描版)2018-07-25简介
Shellcoder 手册
——发现和利用安全漏洞
The Shellcoder's Handbook
——Discovering and Exploiting Security Holes
(多人)英文PDF(第2版)
英文CHM(第1版)
2019-03-18
2019-03-18
简介
内核漏洞的利用与防范A Guide to Kernel Exploitation
——Attacking the Core
(美) Enrico Perla
(美) Massimiliano Oldani
英文PDF(第1版)2018-07-29简介
+ +

◇IT / 信息安全 / 破解与逆向工程

+ + + + +
中文书名英文书名作者文件类型上传日期备注
逆向工程权威指南
其它中文名:
逆向工程入门指南
Reverse Engineering for Beginners
——Understanding Assembly Language
(乌克兰) Dennis Yurichev简体EPUB
英文PDF
2019-03-28
2018-08-04
简介
+ +

◇IT / 信息安全 / 恶意软件

+ + + + +
中文书名英文书名作者文件类型上传日期备注
恶意代码分析实战Practical Malware Analysis
——The Hands-On Guide to Dissecting Malicious Software
(美) Michael Sikorski
(美) Andrew Honig
英文PDF2020-04-11简介
+ +

◇IT / 信息安全 / 编程语言相关

+ +(本目录下放的是“信息安全”相关的编程书籍,按【语言】归类)
+

◇IT / 信息安全 / 编程语言相关 / C & C++

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
C 语言安全编程规范SEI CERT C Coding Standard(美) CERT/CC英文PDF(2016版)2019-04-02简介
C++ 语言安全编程规范SEI CERT C++ Coding Standard(美) CERT/CC英文PDF(2016版)2019-04-02简介
+ +

◇IT / 信息安全 / 编程语言相关 / Python

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
Python 灰帽子
——黑客与逆向工程师的 Python 编程之道
Gray Hat Python
——Python Programming for Hackers and Reverse Engineers
(加) Justin Seitz英文PDF2018-07-29简介
Python 黑帽子
——黑客与渗透测试编程之道
Black Hat Python
——Python Programming for Hackers and Pentesters
(加) Justin Seitz英文PDF2019-03-28简介
Python 绝技
——运用 Python 成为顶级黑客
Violent Python
——A Cookbook for Hackers, Forensic Analysts, Penetration Testers and Security Engineers
(美) TJ O'Connor简体PDF(第1版)
英文PDF(第1版)
英文EPUB(第1版)
2018-07-29
2019-08-02
2015-07-21
简介
+ +

◇IT / 操作系统

+ +

◇IT / 操作系统 / 使用教程

+ + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
Shell 脚本学习指南Classic Shell Scripting(美) Arnold Robbins
(美) Nelson Beebe
简体PDF(扫描版)
英文PDF
2014-05-18
2019-03-25
简介
Linux 与 UNIX Shell 编程指南Linux and UNIX Shell ProgrammingDavid Tansley简体PDF(扫描版)2013-12-06简介
高级 Bash 脚本编程指南Advanced Bash-Scripting GuideMendel Cooper简体EPUB(文档版本 10.0)
英文PDF(文档版本 10.0)
英文PDF(文档版本 6.6)
英文WEB
2019-07-15
2019-07-15
2019-03-25
N/A
简介
Linux 命令行大全The Linux Command Line
——A Complete Introduction
William Shotts简体MOBI
英文PDF(文档版本 19.01)
2020-04-10
2019-11-18
简介
鸟哥的 Linux 私房菜N/A鸟哥简体PDF
简体MOBI
2013-12-06
2015-11-08
简介
Linux 从入门到精通N/AN/A简体PDF(第1版 扫描版)2013-12-06简介
+ +

◇IT / 操作系统 / 操作系统原理

+ +

◇IT / 操作系统 / 操作系统原理 / (综述)

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
操作系统
——设计与实现
Operating Systems
——Design and Implementation
(美) Andrew Tanenbaum
(美) Albert Woodhull
英文PDF(第3版)2016-12-15简介
现代操作系统Modern Operating Systems(美) Andrew Tanenbaum英文PDF(第4版)
英文PDF(第2版 扫描版)
2015-11-17
2015-11-08
简介
+ +

◇IT / 操作系统 / 操作系统原理 / UNIX

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
UNIX 操作系统设计The Design of the UNIX Operating System(德) Maurice Bach简体PDF(扫描版)
英文PDF
2013-10-21
2015-05-12
简介
莱昂氏 UNIX 源代码分析A Commentary on the Sixth Edition UNIX Operating System(澳大利亚) John Lions英文PDF2018-08-03简介
+ +

◇IT / 操作系统 / 操作系统原理 / Linux

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
Linux 内核设计与实现
其它中文名:
精通 Linux 核心開發
——設計與實作 Linux 核心的權威指南
Linux Kernel Development
——A Thorough Guide to the Design and Implementation of the Linux Kernel
(美) Robert Love英文PDF2020-04-10简介
深入理解 Linux 内核Understanding the Linux KernelDaniel Bovet
Marco Cesati
英文PDF(第3版)
英文CHM(第3版)
2013-12-06
2013-10-21
简介
+ +

◇IT / 操作系统 / 操作系统原理 / Windows

+ + + + +
中文书名英文书名作者文件类型上传日期备注
深入解析 Windows 操作系统
其它中文名:
Windows 内部揭密
Windows Internals(西班牙) Mark Russinovich
David Solomon
Alex Ionescu
英文PDF(第6版 上下册)
英文PDF(第5版)
英文PDF(第4版)
简体PDF(第4版 扫描版)
2019-04-13
2018-08-03
2018-08-03
2018-11-09
简介
+ +

◇IT / 网络

+ +

◇IT / 网络 / (综述)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
计算机网络Computer Networks(美) Andrew Tanenbaum
(美) David Wetherall
简体PDF(第5版 扫描版)
英文PDF(第5版)
英文CHM(第4版)
2018-08-04
2015-01-11
2020-04-02
简介
+ +

◇IT / 网络 / 网络协议

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
TCP-IP 详解
包括如下:
第1卷 协议
第2卷 实现
第3卷 TCP 事务协议,HTTP,NNTP 和 UNIX 域协议
TCP-IP Illustrated(美) Richard Stevens简体PDF(共3卷)
英文CHM(共3卷 缺第3卷)
2013-10-26
2020-07-09
简介
HTTP 权威指南HTTP
——The Definitive Guide
David Gourley
Brian Totty
Marjorie Sayer
Sailu Reddy
Anshu Aggarwal
简体PDF(扫描版)
英文PDF
2018-06-28
2018-11-09
简介
+ +

◇IT / 网络 / 分布式

+ +

◇IT / 网络 / 分布式 / (综述)

+ + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
分布式系统
——概念与设计
Distributed Systems
——Concepts and Design
(英) George Coulouris
(英) Jean Dollimore
(英) Tim Kindberg
(英) Gordon Blair
简体PDF(第5版 扫描版)
英文PDF(第5版)
2019-08-17
2018-11-02
简介
分布式系统
——原理与范型
Distributed Systems
——Principles and Paradigms
(美) Andrew Tanenbaum
(荷兰) Maarten van Steen
英文PDF(第2版 扫描版)2018-11-06简介
设计分布式系统
——可扩展服务的模式和范式
Designing Distributed Systems
——Patterns and Paradigms for Scalable, Reliable Services
Brendan Burns英文PDF2018-11-06简介
Distributed Systems for Fun and ProfitDistributed Systems for Fun and ProfitMikito Takada英文EPUB
英文WEB
2018-11-06
N/A
简介
分布式计算的八大误区Fallacies of Distributed Computing(美) Laurence Peter Deutsch英文WEBN/AN/A
+ +

◇IT / 网络 / 分布式 / 一致性

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
CAP 定理CAP Theorem(美) Eric Brewer英文WEB
英文PDF
N/A
2018-11-08
简介
CAP 理论十二年回顾
——“规则”变了
CAP Twelve Years Later
——How the "Rules" Have Changed
(美) Eric Brewer英文WEB
简体WEB
英文PDF
N/A
N/A
2018-11-08
简介
+ +

◇IT / 网络 / 分布式 / 容错性

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
面对软件错误,如何构建可靠的分布式系统Making Reliable Distributed Systems in the Presence of Software Errors(英) Joe Armstrong英文PDF2018-11-08简介
拜占庭将军问题Byzantine Generals Problem(美) Leslie Lamport英文WEB
英文PDF(扫描版)
N/A
2018-11-08
简介
+ +

◇IT / 网络 / 分布式 / DHT(分布式哈希表)

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
Chord
——用于互联网应用的可扩展 P2P 查询服务
Chord
——A Scalable Peer-to-peer Lookup Service for Internet Applications
(美) Ion Stoica
(美) Robert Morris
(美) David Karger
(荷兰) Frans Kaashoek
(印度) Hari Balakrishnan
英文PDF2018-11-04简介
Kademlia
——基于异或运算的 P2P 信息系统
Kademlia
——A Peer-to-peer Information System Based on the XOR Metric
(保加利亚) Petar Maymounkov
David Mazières
英文PDF2018-11-04简介
DHT 安全技术纵览A Survey of DHT Security TechniquesGuido Urdaneta
Guillaume Pierre
(荷兰) Maarten van Steen
英文PDF2018-11-08简介
+ +

◇IT / 网络 / 分布式 / 区块链

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
比特币
——一种点对点式的电子现金系统
其它中文名:
比特币白皮书
Bitcoin
——A Peer-to-Peer Electronic Cash System
Satoshi Nakamoto英文PDF
简体PDF
2019-03-27
2019-03-27
简介
区块链启示录
——中本聪文集
The Book of Satoshi
——The Collected Writings of Bitcoin Creator Satoshi Nakamoto
(美) Phil Champagne简体PDF
英文EPUB
2019-03-27
2020-04-04
简介
+ +

◇IT / 网络 / 分布式 / DFS(分布式文件系统)

+ + + + + +
中文书名英文书名作者文件类型上传日期备注
Google 文件系统The Google File System(美) Sanjay Ghemawat
(美) Howard Gobioff
Shun-Tak Leung
英文PDF2018-11-05简介
IPFS
——内容寻址的版本化点对点文件系统
其它中文名:
IPFS 白皮书
IPFS
——Content Addressed, Versioned, P2P File System
(美) Juan Benet英文PDF2019-05-08简介
+ +

◇IT / 数据库

+ +

◇IT / 数据库 / (综述)

+ + + + +
中文书名英文书名作者文件类型上传日期备注
数据库系统概念Database System Concepts(以色列) Abraham Silberschatz
(美) Hank Korth
(印度) S. Sudarshan
英文PDF(第6版)2020-04-11简介
+ +

◇IT / 数据库 / SQL

+ + + + +
中文书名英文书名作者文件类型上传日期备注
SQL 学习指南Learning SQL(美) Alan Beaulieu英文PDF(第2版)
英文CHM(第1版)
2020-04-11
2020-04-11
简介
+ +

◇IT / 人工智能

+ + + + + + +
中文书名英文书名作者文件类型上传日期备注
失控
——全人类的最终命运和结局
Out of Control
——The New Biology of Machines, Social Systems, and the Economic World
(美) 凯文·凯利简体EPUB
简体MOBI
英文PDF
2014-01-09
2018-11-10
2015-01-11
简介
人工智能
——一种现代的方法
Artificial Intelligence
——A Modern Approach
(美) Stuart Russell
(美) Peter Norvig
英文PDF(第3版)2018-09-11简介
奇点临近The Singularity Is Near
——When Humans Transcend Biology
(美) 雷·库兹韦尔简体PDF
英文PDF
2017-03-30
2017-05-09
简介
+ +

◇IT / IT 公司

+ + + + + + + + + + + +
中文书名英文书名作者文件类型上传日期备注
In the Plex
——Google 如何思考,运作,以及改变我们的生活方式
In The Plex
——How Google Thinks, Works and Shapes Our Lives
(美) Steven Levy简体PDF
英文PDF
英文EPUB
2015-05-12
2015-07-15
2020-04-03
简介
重新定义公司
——谷歌是如何运营的
How Google Works(美) Eric Schmidt
(美) Jonathan Rosenberg
简体EPUB
简体MOBI
2020-04-06
2020-04-06
简介
浪潮之巅On Top of Tides吴军简体PDF(前18章)
简体MOBI(前16章)
2013-10-22
2014-02-23
简介
Facebook 效应The Facebook Effect
——The Inside Story of the Company that is Connecting the World
(美) David Kirkpatrick简体PDF(扫描版)
简体EPUB
简体MOBI
英文EPUB
2018-07-24
2019-01-06
2019-01-06
2020-04-03
简介
微软的秘密Microsoft Secrets
——How the World's Most Powerful Software Company Creates Technology, Shapes Markets and Manages People
(美) Michael Cusumano简体PDF
简体PDF(扫描版)
2017-04-02
2018-07-20
简介
谁说大象不能跳舞?
——IBM 董事长郭士纳自传
Who Says Elephants Can't Dance?
——Leading a Great Enterprise through Dramatic Change
(美) Louis Gerstner Jr.简体PDF
英文PDF
2017-08-08
2020-04-03
简介
Borland 传奇N/A李维简体PDF
简体EPUB
简体CHM
2015-02-08
2015-02-08
2013-10-22
简介
Doom 启世录Masters of Doom
——How Two Guys Created an Empire and Transformed Pop Culture
(美) David Kushner简体PDF
简体EPUB
简体MOBI
简体CHM
英文PDF
2015-02-08
2015-02-08
2015-02-08
2013-11-26
2020-04-03
简介
+ +

◇IT / (其它)

+ + + + +
中文书名作者文件类型上传日期备注
暗时间
——刘未鹏博文集
刘未鹏简体EPUB2015-05-12简介
+ +
+

+ + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/__\346\211\200\346\234\211\347\224\265\345\255\220\344\271\246\347\233\256\345\275\225\347\232\204\345\257\206\351\222\245__.txt" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/__\346\211\200\346\234\211\347\224\265\345\255\220\344\271\246\347\233\256\345\275\225\347\232\204\345\257\206\351\222\245__.txt" new file mode 100644 index 0000000000000000000000000000000000000000..d34d1ed9559669f77b1e0d1ff2e0646abb356eae --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/__\346\211\200\346\234\211\347\224\265\345\255\220\344\271\246\347\233\256\345\275\225\347\232\204\345\257\206\351\222\245__.txt" @@ -0,0 +1,29 @@ +以下是【编程随想电子图书馆】所有目录的 BT Sync 密钥。 +通过这几个密钥,你可以用 BT Sync 自动同步到每一个目录包含的【所有】电子书。 +俺会时常更新。每次更新后,BT Sync 会自动把【新增的】电子书同步到你的硬盘。 + +BRSSYZTSAC6UGYTUOJ22L4GCO7QESPPBD 政治 +BNZ6DOA6W577O6GUNH7C3MY6DWC6FTDQB 心理学 +BSH7FXJFVWJTKWGSX5GTWX7PHZZ2D2M7Q 历史 +B2FRYA6AXCDW6CF4YJVFWKH2HAXOFICOX 经济 +B3WNBTAAFFAODFR6FQ3E3L5BBSJAFNBSJ 管理 +BZR4TTYHT25QWUIE6YNMAKWUGBHKSGLC6 社会学 +BMBB5YLBIJJAE5H6TP27OS7YCEUKCYHZK 文艺 +B6WWVBXPMZDI5IL4KED6AAHA5FO4UNKQF 哲学 +BKKORLE67ZDUHGHVWAVSRK3N5I7BXLCED 科普 +BMWWZALG4P56LREF47EE2WSWHZEM4E6BL 军事 +BUPSDXFA3TP7KCMLHALRHLIX2FEJEUJFE IT + + +关于 BT Sync 的扫盲教程,参见以下链接 +https://program-think.blogspot.com/2015/01/BitTorrent-Sync.html + +以下页面是【所有电子书】的清单。 +清单中包含每本书的“中文名、英文名、作者、添加日期、简介”。 +https://github.com/programthink/books + + +除了上面“电子图书馆”那几个目录,下面这2个目录,你可能也会感兴趣。 + +BTLZ4A4UD3PEWKPLLWEOKH3W7OQJKFPLG 翻墙软件(包含常见的翻墙软件,时常更新) +B7P64IMWOCXWEYOXIMBX6HN5MHEULFS4V “博客离线浏览”以及“博客电子书制作脚本” diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/01/Memorabilia.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/01/Memorabilia.html" new file mode 100644 index 0000000000000000000000000000000000000000..24b7e37c02866452c34349672fe4ea9fc30481e2 --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/01/Memorabilia.html" @@ -0,0 +1,26 @@ + + + + + + + +开博十周年大事记 - 编程随想的博客 + + +
+

开博十周年大事记

+ +
+
+  最近的两篇博文都超长(尤其那篇《反脆弱》的读书笔记有3~4万字数,是本博有屎以来最长滴),写这两篇把俺累坏了。今天来一篇轻松点的。
  话说还有不到一星期,就是本博客的【十周年庆】。有些读者建议俺要有所表示,所以今天汇总一下这十年来值得纪念的事情,让列位看官(尤其是新读者)了解一下:俺能坚持到现在,也不容易啊!!!


★2009年1月15日,第一篇博文——《博客开张及本博客内容简介》


  那天俺发了本博客【第一篇】博文(链接在“这里”),所以每年的1月15日是“开博纪念日”。

  在第一篇博文中,已经简单说了为啥会在2009年初开博客。几年之后(2013),针对某读者的提问,又专门写了篇博文,从心理学层面谈自己的动机:
《为啥俺要写这个博客——动机的自我分析》


★2009年2月初,开始启用【CSDN】上的博客镜像


  说起 CSDN,这是国内最有名的程序员网站。而且俺在“开博第一篇”中也说了——当初开这个博客只是为了分享编程经验。所以俺在注册 Blogger 帐号时,也顺手注册了 CSDN 帐号。但是俺一开始并【没有】启用 CSDN 帐号,只是把这个帐号作为某种备份。
  那年2月初的某天,俺收到 CSDN 社区某个知名博主的邮件。他无意间看到俺的博客,觉得不错,就主动来信联系。后来两人(在邮件中)相谈甚欢。他建议俺在 CSDN 搞个“镜像博客”,理由包括:
其一,Blogger 长期 GFW 被封锁,只是因为北京奥运才在2008年解封,以后说不定再度被墙。在 CSDN 上搞个镜像博客,以防万一。
其二,如果俺在 CSDN 上有个镜像博客,他可以向 CSDN 的编辑推荐俺博客,让俺获得【首页推荐】。
  能获得 CSDN 的首页推荐,当然很荣幸。所以俺就听从他的建议,在 CSDN 上开了一个镜像博客。
  今天借这篇《十周年大事记》,表达一下对他的感谢。
  (注:暂时不提他的真名。毕竟俺现在是【朝廷的敌人】,尽量避免给他招来麻烦)
  另外,俺之所以敢在博客上提这事儿,就是因为这个博主也【不】认识俺。实际上,俺用“编程随想”这个身份与别人沟通时,【从不】提及自己的身份信息。

  关于“CSDN 镜像博客”的后续命运:
  2009年之后,俺写的大部分博文都比较敏感(比如:政治、翻墙),所以 CSDN 的镜像博客就很少更新了,俺也很少关注它。又过了好几年(具体哪年,已经忘了),某个热心读者提醒俺——CSDN 上的镜像博客已经没了。
  俺猜测是 CSDN 网站迫于真理部的压力,才删除俺的镜像博客。因为即便俺没有更新它,它上面已有的技术博文还是可以给 CSDN 带来流量滴。除非是外部压力,否则 CSDN 管理员没必要删除它。


★2009年2月9日,第一次获 CSDN 首页推荐


  (接着刚才的话题)
  话说这位 CSDN 上的知名博主果然很有面子——才过了没几天(2月9日),俺博客就获得 CSDN 网站的首页推荐。
  为啥俺记得这个日子捏?因为那天俺发了一条推文,以示留念(链接在“这里”)。
  另,这条也是俺推特(twitter)帐号的【第一推】。

  聊到这里,顺便提一个【重要的】小插曲:
  话说国内有一本《程序员》杂志(在软件开发社区蛮有名滴),也是 CSDN 网站主办滴。那段时间,俺发的技术博文经常上 CSDN 的首页推荐,《程序员》的主编通过邮件向俺约稿。后来《程序员》杂志的某一期发了那篇《架构设计:生产者/消费者模式》。
  为啥说这是个【重要的】小插曲捏?因为在杂志上发了文章,自然就涉及到【稿费】,然后就涉及到【银行转账】,于是就涉及到【真实身份】。
  如果俺当年拿了那笔稿费,银行系统就会有转账记录,“有关部门”将来如果想查,查到俺的真实身份简直易如反掌。最近这些年,俺能够长期抹黑党国,恶毒攻击党和国家领导人,正是因为——当年【没】领那笔稿费 :)
  反过来【假设】一下:如果当年俺领了那笔稿费,当然就有顾忌,自然不会再写敏感的政治博文,那么这个博客就会是另外一种完全不同的样子(甚至俺的人生也会是另外一种样子)。

  可能有些同学会问——那时候还【没】开始写政治内容,为啥如此小心?
  还有另一个多次被问到的问题是——既然刚开始只是想写编程方面的博客(所以才叫“编程随想”),为啥要保持匿名?
  这两个问题可以归结为一个答案,那就是——【职业习惯】(在信息安全的圈子混了这么多年,俺养成了一些好习惯)


★2009年5月16日,Blogger/Blogspot 全站被墙,开始写【翻墙教程】


  前面提到:Blogger 在那之前很多年就是被墙的。到了2008年,因为要开奥运会,届时会有很多老外来天朝,为了照顾朝廷的面子,暂时【解封】了一大批国外网站,其中也包括 Blogger/Blogspot。
  但是到了2009年5月中旬,Blogger/Blogspot 又重新被封杀了,而且是【全站】屏蔽哦(在俺的印象中,当时 GFW 用的是“域名污染”)。那些翻墙经验丰富的网民,一看“5月中旬”这个时间点,马上就猜到——因为临近“六四”了。
  这个事情直接促使俺开始写【翻墙教程】,第一篇的标题就叫《如何翻墙?——写在 BlogSpot 被封之后》,是一篇比较系统性的扫盲教程。在这篇教程发出后很长一段时间(好几年),用 Google 搜索“翻墙”二字,搜索结果的第一页都能看到俺这篇教程。有段时间,这篇博文甚至能排到【第一页的前三名】。
  所以那几年里,有相当一部分读者是因为要找翻墙工具,无意中来到俺的博客,之后就成了长期读者。


★2009年5月25日,开始启用【Live Spaces】上的镜像博客(分享翻墙教程)


  估计年轻的网民可能都没听说过“Live Spaces”这个玩意儿——这是当年微软旗下的博客平台,而且一度是【免翻墙】滴!
  既然俺已经在 CSDN 上创建了一个镜像博客,为啥还要再搞一个捏?因为俺在 CSDN 上发布的【翻墙教程】被 CSDN 网管给删了(当然啦,考虑到天朝是个奇葩的国度,咱也不能怪 CSDN 网管)。所以,俺必须找一个【既没有被墙又能发布翻墙教程】的网站。(因为“翻墙教程”是写给【不懂】翻墙的网民看滴,如果发布教程的地方本身被墙,就没有意义啦)。
  于是俺寻寻觅觅,终于选中了微软的 Live Spaces 平台,在那上面又创建了一个【镜像博客】,以方便那些【不懂翻墙】的读者。当时申请到的域名是:program-think.spaces.live.com
  有了这个镜像,从2009年5月25日开始,每次俺发布新的博文,都会同步复制到 Live Spaces。为啥俺记得这个日子捏?因为那天正好发了一条推文(链接在“这里”)


★2009年6月11日,开始写【政治博文】


  本来俺最多也就是写写“翻墙”博文,仅此而已。毕竟“翻墙类”的文章(对网监部门而言)还只是算“擦边球”,其性质不如政治文章那么严重。
  但是那年的6月,发生了好多让人不爽的事情(那年正好“六四事件”20周年)。其它的事情也就算了,最让俺忍无可忍的是——工信部(信产部)在那年6月9日发了一个通知,打算强制推行一项“绿坝计划”(维基百科的介绍在“这里”)。通俗地说就是——强制要求在中国大陆销售的电脑统一预装政府指定的某个监控软件(绿坝)。该软件可以监控电脑的上网行为。
  就是因为这事儿,俺下定决心——开始讨论政治,开始抹黑党国。两天后(6月11日),俺发了【第一篇】政治博文《是该写点技术以外的东西了》。
  (注:由于遭到太多的反对,工信部的“绿坝计划”后来夭折啦,真是大快人心!)


★2010年1月23日,俺的【Google Code】上线(提供翻墙工具下载)


  一般来说,Google Code 是用来开发“开源软件”滴。但俺当时开通 Google Code 属于“动机不纯”——是为了“分享翻墙工具”。因为 Blogger/blogspot 博客平台本身【没有】提供“文件下载”或类似的功能,所以俺就在 Google Code 身上做文章。
  在1月23日那天,俺在 Google Code 上创建了第一个 wiki 页面(Software.wiki),上面列出了俺分享的翻墙工具。
  之后的几个月,又陆续创建了其它几个 wiki 页面,分别用来分享“电子书”和“各种网址”。
  (注:由于 Google Code 已经在 2016年被关闭,这些 wiki 页面现在已经看不到了)


★2010年8月初,俺的【微软网盘】上线(提供翻墙工具下载)


  刚才说到:俺起先是通过 Google Code 提供翻墙工具的下载。
  但是在2010年8月初的某天(具体是哪天,已经忘了),Google Code 管理员认为俺这种做法违反了 Google Code 的服务条款,把俺用来共享翻墙工具的 project 给封杀了。所以俺就转移阵地,改用微软网盘来分享各种翻墙工具。
  当初为啥选择“微软网盘”捏?主要基于如下考虑:
1、【国内】的网盘肯定不考虑(排除掉一大批)
2、【小】公司运营的网盘不考虑(又排除掉一大批)
3、剩下少数几个选项中,微软网盘(当时叫 SkyDrive)的容量最大(25GB),就选它了。

  有很多读者觉得俺应该用 Google 的网盘(GDrive)来分享文件。但恰恰是因为——当时俺已经非常依赖 Google 帐号(Gmail、Blogger、Google Code......),为了避免【单点故障】,反而应该使用一个【非】Google 的网盘。


★2010年9月6日,开始分享【电子书】


  那天在 Google Code 上创建了一个 wiki 页面(Books.wiki),列出俺分享的电子书的下载链接(在微软网盘)。
  从那之后,俺分享的电子书越来越多。在开博十周年之际,分享的电子书已经超过【800】本,含各种格式(其中有很多扫描版 PDF,总容量比较大,超过【11GB】)。
  后面会提到(参见“2015年6月11日”),由于 Google Code 在2016年关闭,其上的 wiki 页面已经迁移到 Github。如今的【电子书清单】参见如下网址:
https://github.com/programthink/books


★2010年9月27日,用“自动回复邮件”的方式分享翻墙教程


  从2009年5月开始写翻墙教程之后,俺时常收到读者来信,询问翻墙方面的问题。回复这类邮件是非常机械滴——每次都是“复制/粘贴”。
  由于俺比较懒,为了尽可能省事儿,就想了一招——利用电子邮件的【自动回信功能】。
  一开始俺注册了一个 Gmail 邮箱(help.gfw@gmail.com)用来进行自动回信,并在博客上发了一篇通告。谁曾想,大约一天之后,该邮箱就被 Google 封杀了,理由是 SPAM(垃圾邮件)。因为有太多网友向这个邮箱发信,导致该邮箱在短时间内发出太多的“自动回信”,于是 Google 的邮件系统自动判定该邮箱在发送垃圾邮件。
  但是俺没有放弃,本着“打一枪换一个地方”的精神,两天后又开通了一个雅虎邮箱(help_gfw@yahoo.com),然后再发一篇博文进行通告。这个雅虎邮箱正常工作了好多年,累计自动回复了大约十几万封邮件。
  很多年以后(具体哪一年,已经忘了),有热心读者反馈说:无法从这个雅虎邮箱获取自动回复。不过没关系,它已经完成了自己的历史使命 :)


★2010年11月14日,位于【Live Spaces】的镜像博客废弃


  (关于“Live Spaces 平台”上的镜像博客,前面提到过)
  话说到了2010年9月,微软宣布要关闭 Live Spaces 平台(将在2011年3月下线整个网站)。为了照顾原有的博主,微软提供了自动迁移到 WordPress 的功能。所以,俺注册了 WordPress 帐号,并完成了迁移。但是俺在完成迁移之后,在 Wordpress 上只留了一篇《博客迁移重要通知》。
  为啥捏?因为 WordPress 平台在那之前很多年就已经撞墙了。所以它无法像 Live Spaces 那样提供【免翻墙】的好处。
  (注:如今访问 https://programthink.wordpress.com/ 依然能看到那篇《博客迁移重要通知》)

★2011年2月24日,开始写【煽颠性质】的政治博文


  先给大伙儿扫盲一下——啥是“煽颠性质”?
  朝廷的有关部门(国保、网监)对网上的政治内容,还是会区别对待滴。如果粗略地划分,可分两大类:一类是“批评性质”,一类是“煽颠性质”。
  “煽颠”一词出自“煽动颠覆国家政权”这个罪名。这个罪名以前叫做“反革命罪”。改革开放之后,伟光正觉得“反革命”这个太难听啦,就改叫“煽动颠覆国家政权”。
  如果你写的政治文章仅仅指出政府有哪些缺点,这个属于“批评性质”;但如果你不光指出缺点,还号召大伙儿推翻政府,那就属于“煽颠性质”。
  举个例子:
  10多年前,韩寒的博客很红,老网民应该都记得。他写了很多政治方面的文章。但如果你仔细观察,就会发现他【所有的】政治文章都仅仅停留在“批评性质”。韩寒很聪明,他知道如何把握分寸,绝对不会越过红线。

  (扫盲结束,言归正传)
  在2011年2月之前,俺虽然已经写了十多篇政治博文,但这些政治博文的【敏感度】还不够高,还仅仅停留在“批评性质”,还够不上“煽颠性质”。
  话说那年的2月份,发生了一个震动朝廷的事件,俗称“茉莉花集会”,也有人称为“中国茉莉花革命”(不了解此事的同学可以看维基百科的“这个链接”)
  此事让朝廷震动,主要原因包括:
其一,2010年末到2011年初,中东多个国家正好在经历【阿拉伯之春】,很多独裁政权被推翻(比如:利比亚的卡扎菲、突尼斯的本·阿里......)。
其二,在天朝发生的集会,同时出现在【多个】城市,而且还包括了北京和上海这两个最大的一线城市。

  而俺偏偏就挑选这个高度敏感的时期,在10天内连发4篇博文(如下)。很显然,俺这4篇博文完完全全够得上【煽颠性质】了。
《让拆尼斯的茉莉花绽放》(注:“茉莉花革命”一词最早源自突尼斯,“拆尼斯”是 chinese 的谐音)
《中国茉莉花革命——227集会多图回顾》
《热烈迎接茉莉花革命的第三轮散步》
《参加茉莉花集会的注意事项》

  从那时候到俺写这篇《十周年大事记》,已经过去了将近【8年时间】。这些年,俺又写了很多足以定性为“煽颠性质”的博文,但网监部门好像拿俺没辙。这至少说明:俺采取的信息安全防范措施,还是比较靠谱滴 :)
  (注:以下是俺分享的【系列教程】,专治“跨省追捕”,希望有更多网民也善于利用互联网进行反党活动)
《如何隐藏你的踪迹,避免跨省追捕》

  再顺便跑题一下:
  信息安全界有句名言(其实也是句废话),叫做:没有绝对的安全。
  如果用“矛/盾”来比喻“攻防双方”,那么这句话也可以翻译成——没有完美的盾。但是反过来也可以说——没有完美的矛。
  既然攻防双方都不可能完美,那么问题的【焦点/难点】就在于——如何评估/预判双方的“强弱对比”。那些能做到这点的人,也就是《孙子兵法》所说的【知己知彼,百战不殆】。


★2011年某月,第一次收到 Gmail 的警告——“政府资助的攻击者正试图入侵你的帐号”


  俺不记得具体的月份,但肯定是在“茉莉花集会”之后。
  这种警告意味着【国家级】的入侵威胁。当俺第一次在 Gmail 界面上看到这个警告,颇有一种【受宠若惊】的感觉。
  俺早就知道有一些政府背景的骇客(称之为“御用骇客”)会专门针对政治敏感人士发动网络攻击。但当自己也享受到这种待遇,还是颇有惊喜之感。
  就在那一天,俺写博客的动力又增加了许多 :)
  (注:这种【国家级入侵】,后来又出现过,参见后续的“2017年5月”)


★2012年4月14日,开始用 Google Plus 分享【每周转载】


  其实俺这个“编程随想”的身份很早就注册了 G+,但一直【没有】公开使用。因为 G+ 有一个很蛋疼的“用户名规则”,要求 G+ 的用户名必须【看上去像】真实的(也就是说,不能使用明显的【化名】)。而“编程随想”这个名字一看就是【化名】。之所以没有公开使用 G+ 帐号,就是担心这个用户名违规,可能会被管理员封杀。
  后来这个 G+ 帐号果然被 Google 管理员冻结了(在2012年3月)。幸亏俺的读者里面有 Google 的员工,而且他还是个很热心的读者,帮俺去找 Google 的相关部门交涉,终于让俺的 G+ 帐号解封,并且还可以继续使用“编程随想”这个网名,再次感谢这位热心读者!
  G+ 帐号解封之后,俺就开始用 G+ 来分享《每周转载》的文章。当时的做法是:把转载文章的【内容】贴到 G+ 上,然后在每一篇《每周转载》的博文里面包含这些 G+ 的链接。


★2012年9月5日,定制版的博客评论区上线


  最早想要去定制 Blogger 的评论界面,是因为博客的评论越来越多,而【默认的】评论界面只显示(每篇博文)最早的200条评论。如果要显示200条之后的评论,需要在界面底部点击一个“加载更多”的按钮。而且按钮比较弱智,每点击一次只加载50条。也就是说,假设某篇博文有350条评论,你就要点击该按钮3次。以此类推。
  那年,俺的评论数开始猛增,动不动就是几百条评论。有些老读者喜欢完整地看完所有评论,就得频繁点击这个“加载更多”的按钮,搞得很多人怨声载道。(其实俺自己也嫌烦)
  既然要定制评论区界面,俺除了实现【自动加载全部评论】,还顺便实现了常用的【BBCode 语法】——经常逛 BBS 的同学,应该听知道 BBCode 是啥玩意儿。
  之后几年,俺继续完善评论区,包括实现了【免刷新功能】——也就是说,别人发的留言会【自动】出现,读者无需刷新页面。


★2013年6月20日,博客开通【邮件订阅】


  就在 Google Reader 正式关闭的前10天,俺博客开通了【邮件订阅】功能。以下是当年发的通告:
《邮件订阅功能发布——免翻墙的“Google Reader 替代品”》

  当年有很多【不懂翻墙】的读者依靠 Google Reader 实现【免翻墙】订阅/浏览博客。有了“邮件订阅功能”,就可以继续照顾这些读者。
  顺便说一下:
  俺有时候会在博文发布之后,继续对内容做一些补充或润色。但是用“邮件订阅”的读者就【无法】看到修改后的博文了。


★2013年7月19日,俺的【Dropbox 网盘】上线


  由于很多读者要求“再增加一个网盘”,俺自己也考虑到——多一个网盘也就多一个备份(避免“单点故障”)。于是(2013年5月)在博客上征求了读者意见,最后选了读者呼声最高的 Dropbox 作为“第二网盘”。
  之后俺把微软网盘上的电子书全都挨个上传到 Dropbox(纯体力活)。还好那时候电子书还不多(当时大概 1.5 GB 左右)。如今(十周年之际)网盘上的电子书已经超过 11GB 了。


★2014年4月25日,开始提供【博客全站打包下载】


  所谓的“打包下载”就是把整个博客中【所有的】博文以及博文中的图片都打包成一个电子书(当时支持 epub 和 chm 两种格式),然后放到微软网盘让读者下载。以下是当年发的通告:
《开始提供博客内容打包下载(支持 CHM 和 EPUB 格式)》

  但是这种方式有一个很大的【弊端】,那就是打包的电子书【太大】(几百兆),而微软网盘又【不】支持断点续传。结果就导致:一方面,俺上传很难;另一方面,读者下载也很难。(那一年,GFW 开始干扰微软网盘,传输很不稳定)
  更深层次的弊端在于——由于俺定期要上传几百兆的文件到微软网盘,存在【暴露身份】的风险。
  简单解释一下:
  虽然俺为了隐匿身份,【全程】采用“基于 TOR 的多重代理”来进行网络操作。但由于“上传几百兆文件”这种行为比较少见,其“网络流量”的特征自然比较明显。如果朝廷方面对国际出口的流量进行统计/分析(技术上是可以做到滴),会增加“身份暴露”的风险。
  为了解决这个弊端,后来改用 BT Sync,以【增量】的方式进行自动同步(参见“2015年3月25日”)。所谓的【增量方式】,就是每次更新博文的时候,只上传新增加的博文和新增加的图片文件。如此一来,流量的特征就【不】明显啦 :)


★2015年2月17日,俺的【BT Sync 网盘】上线,【Dropbox 网盘】废弃


  再次唠叨一下:“BitTorrent Sync”简称“BT Sync”,如今改名叫“Resilio Sync”,但俺还是习惯叫它“BT Sync”。
  “BT Sync 网盘”不同于传统的网盘,它本质上是 P2P 形式的网盘,【没有】中央服务器,因此具备如下很多好处:
1. 【没有】存储空间的限制——真要说空间限制,那就是参与节点的硬盘容量(如今【TB 级】的硬盘已经不稀奇了)
2. 【没有】下载流量的限制——与之对比,大部分商业网盘都有这个限制。
3. 【没有】文件大小限制——与之对比,大部分商业网盘对“单个文件大小”都作了限制。
4. 【没有】审查——俺想在上面分享啥,就分享啥——咱们朝廷管不了,美国的版权法也管不了(一想到这点,心里那个爽啊)。
5. 【没有】费用——老读者都明白,俺是很讨厌付费服务的——其实俺不缺钱,俺是担心身份暴露(即使“比特币”支付,也【不是】彻底“匿名”滴)
6. 【很难】被封杀——与之对比,国外的商业网盘,GFW 说封杀就封杀

  上线“BT Sync 网盘”最大的难点在于——找到一些【志愿者】作为 P2P 网络的【初始种子】。俺在博客上打了招呼,很多热心读者踊跃报名。为了照顾到志愿者的安全性,俺只挑选了【身在墙外】的志愿者作为初始种子。
  今天借此机会,再次向这几位热心读者表示感谢!
  (注:“初始种子”只需要在开头那几天保持在线,以帮助新加入的节点同步数据。由于参与同步的读者很多,几天之后,即使这几个初始种子全部下线,也【不】影响这个 P2P 网络的运作了)

  引申阅读:
《扫盲 BTSync(Resilio Sync)——不仅是同步利器,而且是【分布式】网盘》
《聊聊 GFW 如何封杀 Resilio Sync(BTSync)?以及如何【免翻墙】继续使用?》

  在“BT Sync 网盘”上线的同时,俺也【放弃】使用 Dropbox 了(那天,“电子书清单”移除了 Dropbox 的下载链接)。
  因为 Dropbox 网盘存在【流量限制】。当参与下载的读者多了之后,必定超出流量的限额。最后根本就没法用。
  俺的体会是:像 Dropbox 网盘这类网盘,个人私底下使用还可以,但【不适合】大规模公开分享文件。


★2015年3月25日,用 BT Sync 提供【博客离线浏览】


  由于俺已经开始用 BT Sync 分享电子书,再用它来【自动同步】博客的离线浏览,也就顺理成章了。以下是当年发的通告:
《提供“博客离线浏览”和“电子书制作脚本”——用 BT Sync(Resilio Sync)【免翻墙】自动同步》

  为了跟原来的“打包电子书”保持兼容,俺还特地写了一个【打包脚本】。那些喜欢在移动设备上看电子书的同学,可以运行俺写的“打包脚本”,把离线浏览的网页和图片打包成一个 EPUB 或 CHM 格式的文件,就可以放到手机或平板上阅读。


★2015年6月11日,俺的【Github 帐号】上线,【Google Code】废弃


  由于 Google 宣布在2016年关闭 Google Code 网站。俺花了点时间把 Google Code 上的内容(主要是 wiki 页面)搬运到俺的 Github 帐号。这个 Github 帐号是在之前几年(2013年愚人节)就注册滴,作为 Google Code 的备份(也就是俺常说的“B 计划”)。
  搬运完之后,发了一篇博文,通告俺的【Github 帐号】正式上线。
  为了保持兼容性(也为了 SEO),俺在 Google Code 上进行了相应设置,把 Google Code 帐号的链接(https://code.google.com/p/program-think)重定向到“俺的 Github 帐号”。


★2015年10月4日,博客全站启用【HTTPS】


  自从开博之后,就一直有读者抱怨说——俺博客【不】支持 HTTPS,缺乏安全性。其实俺也觉得很不爽,但又【很无奈】。因为“开启 HTTPS”需要 blogger/blogspot 博客平台提供支持才行。
  俺盼星星盼月亮,等了好多年,一直等到2015年10月初,终于看到 blogger 官方通告说——博客平台已经开始支持 HTTPS,但需要每个博主【手动开启】。俺当然毫不犹豫地开启 HTTPS 选项。
  那几天,俺又做了一些简单的兼容性测试,然后在那年10月4日发布了通告(链接在“这里”)。
  之后几年,俺陆陆续续把博客的【所有内链】从 http:// 改为 https:// (不得不说,这又是一个体力活)


★2016年2月29日,《太子党关系网络》开源到 Github


  在那之前,俺一直是把《太子党关系网络》做成 PDF 文件,然后放到俺的微软网盘给大伙儿下载。后来有一些读者强烈要求俺把数据(人物和家族的资料)开源出来。
  那年春节前,俺承诺2月份在 Github 上线。2016正好是闰年,俺在2月29日发布了上线通告。
  对这个开源项目感兴趣的同学,请猛击如下链接:
https://github.com/programthink/zhao
  (注:项目名叫 zhao,寓意“赵家人”)
  那阵子,朝廷正要开两会,俺在博客上说——这是专门给2016年“两会”的献礼 :)


★2016年6月初,《太子党关系网络》开源项目率先获得朝廷认证——俺发表获奖感言


  Github 官方在那年6月8日发布的公告称:收到来自中国政府的删除令,要求 github 删除俺这个 zhao 项目(Github 官方公告的链接在“这里”)
  还好 Github 的运营方比较有骨气,【没】向天朝妥协,依然保留了这个项目。但是 Github 方面也做了一点小小的让步——本来 Github 上所有项目都是免翻墙可以访问滴。后来 Github 官方针对“来自中国大陆的 IP 地址”屏蔽了该项目。也就是说,如果你在【墙内】直接访问这个项目的网址,会看到一个错误提示。但如果用翻墙工具访问该项目,就一切正常。
  俺特别荣幸的是——针对俺项目的政府删除令,是 GitHub 历史上的第6个,也是来自中国政府的【第一个】。
  朝廷方面对俺的工作高度认可,鄙人不胜荣幸之至,特地写了一段“获奖感言”,链接在“这里”。


★2017年5月,本博客获得【更高级别朝廷认证】


  如果说,2016年6月发生的事情,只是针对《太子党关系网络》这个开源项目;到了2017年5月份,朝廷方面开始针对俺博客本身了。那个月发生了很多事情,俺就不细聊了,大伙儿可以参见如下博文:
《庆贺本博荣获【更高级别朝廷认证】——谈谈近期的“帐号入侵、刷屏、钓鱼”》

  在上述这篇博文中,俺特地引用了尼采的名言:
那不能杀死我的,使我更强。
What does NOT kill me, makes me stronger.


★2018年12月6日,俺的 G+ 帐号废弃(那上面的转载文章全都搬运到博客主站)


  这事儿就发生在上个月(参见“这个链接”),大伙儿应该都记得吧。
  (对俺博客而言)最近几年,G+ 已经用得很少——仅仅用来发布“新博文通知”。老早就有读者建议俺——把 G+ 上转载的文章搬运回博客主站。但是俺比较懒,一直没动手。到了2018年4季度,Google 宣布 G+ 即将在2019年某月关闭,终于迫使俺动手完成这个搬运的体力活。
  把这些转载的文章搬运会博客主站后,有如下好处:
其一,搬运之后,【博客离线浏览】中也会包含早期所有转载的文章的【全文】。对那些习惯看“离线浏览”的读者,有好处。
其二,搬运之后,浏览那些早期的转载文章,可以【少一次】链接跳转(无需再跳到 G+ 界面,就可以看到全文)。
其三,搬运之后,使用博客界面右侧栏的【站内搜索】,可以搜到早期的那些转载内容(搬运前,这些内容是搜不到滴)。


★结尾


  这篇仅凭俺个人记忆来整理,难免有疏漏,欢迎各位读者补充。
  下一次发布《大事记》,那得等到2029年的博客【20周年庆】啦。希望那时候俺还在,列位看官也还在。
  另外,也希望俺能和诸位读者一起迎来【天朝的黎明】。用下面这句话与大伙儿共勉。

成功不必在我,功成其中有我。


俺博客上,和本文相关的帖子(需翻墙):
《为啥俺要写这个博客——动机的自我分析》
《博客开张及本博客内容简介》
《架构设计:生产者/消费者模式》
《如何翻墙?——写在 BlogSpot 被封之后》
《是该写点技术以外的东西了》
《如何隐藏你的踪迹,避免跨省追捕》
《邮件订阅功能发布——免翻墙的“Google Reader 替代品”》
《提供“博客离线浏览”和“电子书制作脚本”——用 BT Sync(Resilio Sync)【免翻墙】自动同步》
《扫盲 BTSync(Resilio Sync)——不仅是同步利器,而且是【分布式】网盘》
《博客全程启用 HTTPS 加密》
《热烈庆贺“太子党关系网络”开源项目率先获得朝廷认证》
《庆贺本博荣获【更高级别朝廷认证】——谈谈近期的“帐号入侵、刷屏、钓鱼”》
《告别 Google Plus——早年在 G+ 上的“每周转载”已搬运到博客主站》 +
+ +
+ + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/01/Security-Guide-for-Political-Activists.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/01/Security-Guide-for-Political-Activists.html" new file mode 100644 index 0000000000000000000000000000000000000000..8a29cd3bef8392fa8682b1e554f843bd4f6138e9 --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/01/Security-Guide-for-Political-Activists.html" @@ -0,0 +1,26 @@ + + + + + + + +为啥朝廷总抓不到俺——十年反党活动的安全经验汇总 - 编程随想的博客 + + +
+

为啥朝廷总抓不到俺——十年反党活动的安全经验汇总

+ +
+
+  好几天没上线,可能有读者以为俺出事了。别担心!俺21日还在回复评论,截止发这篇博文,【未】超出14天的期限,属于【正常静默】。
  因为这篇博文要【全面地】分享俺十年反党活动的【技术】经验,牵涉到很多零碎的内容,整理起来多费了点精力和时间。


★“朝廷想抓俺而不可得”正说明了——俺的防御措施基本靠谱


  熟悉俺博客的读者都晓得——本人已经抹黑党国很多年了。从“第一篇政治博文”一直到“写这篇汇总”,时间跨度已超过“9.5年”,四舍五入就算十年吧 :)
  俺记得很多年以前,有人在博客评论区对俺说(以下是大意):
你小子能在网上得瑟,是因为网监部门还没注意到你;等到哪天网警开始盯上你,你就等死吧。
  那时候,很多事情都还没有发生,俺缺少反驳的素材。如今可以理直气壮地反驳了——朝廷的有关部门早就盯上俺了;遗憾的是:他们拿俺一点办法也没有。
  想看证据的话,请围观前几天的那篇《开博十周年大事记》。俺摘录其中几个要点:
1. 早在2011年的“中国茉莉花革命”期间,俺就连发多篇具有“煽颠”性质的博文(注:那几篇显然能评上“煽动颠覆国家政权”的大罪)
2. 到了2016年,朝廷向 Github 发出【政府删除令】,企图干掉俺维护的《太子党关系网络》项目(注:Github 有骨气,此项目至今屹立不倒)
3. 针对俺 Gmail 邮箱的两次【国家级入侵】(注:分别出现在2011和2017)
4. 2017年针对俺博客评论区的大规模刷屏(注:Blogspot 评论系统有“验证码机制”,想达到那种刷屏速度,需要好多个职业五毛一起刷)
  上述这种种的迹象早已说明——俺是朝廷有关部门的眼中钉。

  花了这么多口水,就是想说明一点——俺的防御措施还是基本靠谱滴!
  换句话说,俺的防御措施不敢说完美(完美是不可能滴),但至少【没有】明显的漏洞。否则的话(如果有明显漏洞),俺要么被跨省,要么帐号被攻陷,又怎么能在将近十年的时间里“肆意抹黑朝廷,恶毒攻击党和国家领导人”?


★本文的目标读者


  开博这么多年来,有一个感慨——(在墙内)很多具备政治素质的人,缺乏信息安全的技能;所以他们无法利用互联网与党国斗争。
  虽说墙外已经有很多民运网站,也有很多民运人士开设了社交网络(SNS)帐号。但他们毕竟生活在墙外。天朝的民主化进程,不可能光依靠海外人士,关键还是需要靠咱们这些生活在天朝的民众。所以今天这篇,首先是为了帮助那些【有志于从事反党活动的网民】。
  其次,是为了帮助那些捍卫互联网上【言论自由】的人。俺曾经写过一篇《“对抗专制、捍卫自由”的 N 种技术力量》,谈到这方面的问题。

  当然啦,所有的技术都是【双刃剑】——都可能被滥用。某些在网络上干坏事的家伙,也会从本文中受益。关于这点,俺也很无奈 :(
  但是,俺不会因为技术存在被滥用的可能性,就停止对技术的传播和普及。


★本文与“之前写的信息安全教程”的关系


  开博这么多年来,俺已经写了很多信息安全相关的【扫盲教程】(参见这篇末尾的:和本文相关的帖子)。今天要聊的很多内容,之前的教程都已经有了。那么,为啥俺还要写这篇捏?
  因为之前写的那些,都只是针对某个具体的方面或某个具体的软件。而本文就是为了——把所有这些【串起来】,以方便那些在“信息安全领域”刚刚入门的同学。
  为了避免老读者说俺“炒冷饭”,本文包含了一些过去没聊过的内容。另外,最后一章还附上几个实际案例,作为【反面教材】。


★两个【核心原则】


  假如你想要效仿俺——长期利用互联网进行反党活动。如下两个原则需要时刻牢记。


原则1:确保你的身份隐匿
原则2:确保你的帐号安全


不见图 请翻墙

  下面的讨论,都是围绕这2条来展开。
  关于“身份的隐匿”,俺补充说一下:即便你的肉身位于【墙外】,确保身份隐匿依然是必要滴!


★如何选择【网络平台】?


◇首先,【绝对不要】使用【国内】的网络服务


  (此处所说的“国内”,指的是:伟光正具备【司法管辖权】的范围,含香港/澳门,不含台湾)
  如果你想要在网络上进行敏感的政治活动,这个原则一定要牢记。因为用国内的网络服务进行反党活动,会大大增加你暴露的风险。
  以俺自己来举例:
  刚开博的时候(2009年初),俺同时也注册了 CSDN 的帐号,并在 CSDN 上架设了一个镜像博客(详情参见《开博十周年大事记》)等到后来,俺越来越放肆地抹黑党国,那个 CSDN 帐号也就用得越来越少了。
  虽然俺全程使用 TOR 访问 CSDN(也就是说,CSDN 的服务器无法知道俺的公网 IP)。但是它还是会知道俺的在线活动时间。请注意:“时间线”也会构成某种信息量。关于这方面的详细介绍,请看《如何隐藏你的踪迹,避免跨省追捕》系列教程的第9篇:
《如何隐藏你的踪迹,避免跨省追捕[9]:从【时间角度】谈谈社会工程学的防范》
  除了“在线时间信息”。考虑到如今很多网站都重度依赖 JavaScript 脚本(禁用 JS 脚本,网站就没法用)。所以,你如果用了墙内的网络服务,其网站上的 JS 脚本【有可能】收集到你本机的一些系统信息。

  如果说“时间信息”和“系统信息”还不足以吓唬你,俺再提一个事情:当你使用墙内的网络服务,你所有的【用户行为】都有可能被有关部门收集和监控。
  啥是“用户行为”捏?假如你用的是聊天服务(IM),你的用户行为就是——“你写过和看过的全部内容”;假如你使用的是邮件服务(Email),你的用户行为就是——“你发送和接收的所有邮件”。
  请注意:“用户行为”所包含的信息量实在太大了。只要你一不小心,在其中涉及到与你真实身份相关的信息,这个信息就有可能成为日后追溯你身份的线索。(不信的话,请看本文末尾的其中一个反面案例)

  还有一个大伙儿容易忽略的【阴招】:
网警如果盯上你(在墙内网站)的帐号,可以直接找到相关的公司,就可以拿到你的【帐号密码】。然后,网警可以直接控制该帐号。
举个例子:当网警控制了你的某个 IM 帐号,就可以用你的身份,去与该帐号的其他联系人聊天(是不是很阴险?)

◇为啥【不要】注册“独立域名”?


  俺已经不止一次被问到:为啥博客没有用“独立域名”?老实说,俺一直觉得:只要博客内容足够好,有没有独立域名其实无所谓。
  另外,如果从“信息安全”的角度来讲,独立域名还会增加额外的风险。
  因为域名是稀缺资源,凡是要注册独立域名,自然涉及到【购买】(也就是【付费】)的问题。不管你是支付现金还是比特币,都会暴露“与你身份相关的信息量”。(通俗地说:增加了身份暴露的风险)

◇为啥【不要】搭建“自己的 Server”?


  (注:本小节说的 Server 是广义滴,包括“物理主机、VPS”)

  1. 考虑到【付费】的风险
  (跟“域名”的情况类似)一旦你要搭建自己的 Server,也要涉及到【付费】的环节。如上一节所说,“付费的环节”会增加身份暴露的风险。

  2. 考虑到【安全加固】的专业性
  一般来说,用来提供网络服务的 server 通常会安装 Linux;还有极少数装 Server 版 Windows 或某种 UNIX(BSD 是 UNIX 的一种)。不管你的 Server 用哪种操作系统,都需要进行【安全加固】。
  本来,“安全加固”已经是个很专业的领域,懂行的人就相对较少。然后,你还要考虑到——本文讨论的是“反党活动”。也就是说,你的安全加固,【不仅仅】是防“普通骇客”,还要防【御用骇客】。显然,“御用骇客”要比“普通骇客”牛逼得多。不妨稍微透露一下:由于工作关系,俺曾经跟御用骇客打过交道,知道他们的份量。(更多的细节,俺不便多说)
  除非你自己是一个非常资深的信息安全从业人员,并且你对“服务器安全加固”这个细分领域非常熟悉,并且你对 Server 所用的操作系统的安全特点非常熟悉。请扪心自问一下:上述这3条,你都能达到吗?
  达不到的话,还是死了这条心——不要自己去装 server。

  3. 考虑到【时间和精力】
  还有一个原因,也顺便说说——自己维护 server,需要消耗【很多】时间和精力。
  请注意:“安全加固”并【不】是一劳永逸滴,而是个【动态过程】。如果你自己维护 server,需要时刻关注各种安全新闻,掌握你使用的操作系统和软件是否曝光新的安全漏洞,了解最新出现的入侵手法,诸如此类。一旦出现安全漏洞,你需要第一时间进行升级/维护。另外,你还要定期进行安全检查/安全审计......
  凡此种种,都非常消耗时间与精力!

◇是否用【暗网】?


  这个问题分两种情况:
1. 如果需要你自己搭建服务器,那么答案是“否定”滴。(原因参见前一个小节)
2. 如果无需你自己搭建服务器,由靠谱的第三方提供服务器,那么答案是“肯定”滴。

  说到“暗网”,补充说一点:
  很多人过度迷信“暗网”的能耐。俺要提醒一下:“暗网”只是帮你完成【网络层面】的隐匿性。要想彻底地隐身,你要在【多个层面】进行防范。(其它层面的防范,下面章节会聊到)

◇【国外】商业公司之间的权衡


  简单说几个参考点:
  1. 公司的口碑
  不要用那些口碑差(历史上有污点)的平台。这个道理很显然,就不举例了。

  2. 在华业务的规模
  如果某个商业公司在天朝有庞大的商业利益,那么,一旦有关部门找这家公司索取用户私密信息,这家公司为了顾及在华商业利益,就【有可能】屈服于朝廷。
  说到这里,已经猜到有同学会反驳俺——既然这样,为啥还用“微软网盘”分享电子书?
  (对这类反驳,请看下一条的解答)

  3. 网络服务的种类
  不同类型的网络服务,对安全性的要求也不同。
  比如说,俺会使用微软的网盘,但俺肯定【不】考虑微软的邮箱。
  为啥捏?
  因为俺的网盘本来就是用来进行【公开分享】,对保密性没啥要求。而电子邮箱对保密性的要求(相比“网盘”)要高得多。
  所以在选择电子邮箱方面,Google 的 Gmail 显然比微软的 Hotmail/Outlook 更好(Google “在华业务”相比其“全球业务”,可忽略不计)
  同样的道理也适用于 Github。虽然 Github 已经被微软收购了,但俺无所谓。因为俺的 Github 帐号也是用来进行【公开分享】滴。又没啥私密性的东西。最坏情况下,也就是帐号被封掉。真有那么一天,俺再转移战场继续战斗嘛。


★如何注册【隔离的】虚拟身份?


◇选择一个【全然不同】的网名


  你要选择一个【完全不同】的网名。这个网名与你之前使用过的【任何一个】网名都【不】能有相似之处。
  说到这儿,顺便分享一下俺起网名的经验。
  老读者应该知道:俺刚开博的时候,只是想写点编程方面的博文,算是某种经验分享。当时想过用“喜欢软件开发的极客”,但这个名称太长;改成“喜欢编程的极客”,还是太长;后来又改了几次,才想到如今这个“编程随想”。这个名称比较短,而且还能搭配罗丹那个“思考者的雕像”。
  俺的经验是:
  网名太长就不好记(从传播学角度而言是不利滴),太短又容易跟其它名称混淆(导致“识别度”降低),所以要找一个长度较短同时还具有一定识别度的名称。

◇注册时,【不要】填写真实的个人信息


  比如说,注册电子邮箱时,会让你填写生日,你可不要写真实的哦,瞎掰一个就行啦。
  至于像【手机号】、【身份证号】之类的,更加【不】能据实填写。
  (注:“短信验证”的问题,下面会聊到,别急)

◇注册的【全过程】都要走【匿名网络】


  “注册帐号”是这个敏感虚拟身份的【起点】。如果注册的过程中暴露了身份信息,那么今后再怎么隐匿都【没用】啦!
  所以,你要确保——注册的全过程都通过【匿名网络】来进行。这样才可以【彻底避免】“公网 IP 暴露”的风险。换句话说,即使在你注册的过程中,网站服务器记录了你的“访问者 IP”,这个 IP 也【不是】你真实的公网 IP。

◇啥是【匿名网络】?


  “匿名网络”,洋文叫做“anonymity network”。顾名思义,是用来帮助你实现【匿名化】的手段之一。通过匿名网络进行各种操作(比如在网上发布言论),可以让【网络层面】的【逆向追溯】变得极端困难。
  注:很多人把“匿名网络”与“暗网”混为一谈,其实这是两个不同维度的概念。之所以会有这种混淆,是因为几个知名的工具(Tor、I2P)既是“暗网”,也是“匿名网络”。

◇为啥“只用翻墙代理”还【不够】可靠?


  因为翻墙工具的设计初衷是为了“突破 GFW”,而【不是】为了“匿名化”。
  如果你非常在意“匿名化”(比如:想在网上发表敏感的政治言论),那么你就必须使用专门的【匿名网络】。

◇如何使用“匿名网络”?


  名气最大的匿名网络有两个,分别是 Tor 和 I2P。俺个人推荐 Tor,但如果你想用 I2P,俺也不反对。
  关于这两款,俺都写了教程(如下)。

Tor 的教程:
《“如何翻墙”系列:扫盲 Tor Browser 7.5——关于 meek 插件的配置、优化、原理》(这篇讲“Tor Browser 套件”的使用,比较傻瓜化,支持各种桌面系统)
《扫盲 Arm——Tor 的界面前端(替代已死亡的 Vidalia)》(这篇讲 Linux 下如何使用“裸 Tor”,技术门槛比上一篇高)
《“如何翻墙”系列:关于 Tor 的常见问题解答》(这篇是 FAQ)

I2P 的教程:
《“如何翻墙”系列:简单扫盲 I2P 的使用》(这篇是 I2P 入门教程)

◇如何解决【短信验证】的问题?


  先声明一下:
  由于俺开博比较早(2009年初),那时候移动互联网尚未普及,很多网络帐号【无需】绑定手机。于是就便宜了俺这种懒汉——省去了很多麻烦。
  如今,越来越多的帐号需要绑定手机(注册帐号时,需要【短信验证】)。这时候,你【千万不要】用真实手机进行绑定操作!!!
  很多同学要问了:那咋整啊?大致有两种【通用】的招数可以搞定(如下):

  招数1:虚拟号码
  你上网搜索一下:虚拟号码 短信验证,应该能找到很多【免费】的“虚拟号码服务”。这种服务可以用来帮你接收验证短信。
  用这个招数的时候,有一点请注意——使用“虚拟号码服务”的【全过程】,也要基于【匿名网络】哦!

  招数2:【不记名】的手机卡
  如今天朝的手机卡,全都已经【实名制】了。要找这种【不记名】的手机卡,需要去【境外】。据说香港就有。(至于还有哪些地方可以买到,欢迎列位看官补充)
  当然啦,你没必要为了搞个手机卡,专程到境外跑一趟;可以利用某次境外旅游的时候,顺便买一个。
  用这个招数的时候,有几点请注意:
1. 购买“不记名手机卡”,建议用【现金】(因为现金也具备【不记名】的特性)
2. 在使用“不记名手机卡”的过程中,要确保你的手机系统是【纯洁】滴(可以考虑去搞一个“功能机/非智能机”来干这事儿)
3. 通过【境外】的移动网络接收“验证短信”。
4. 一旦接收完验证短信,这张“不记名手卡”就拔下来,以后也【别】再用了。
5. 注册的操作过程应该在【PC 端】进行。
6. 不光是注册过程,以后也【不要】在任何手机上操作“你注册的敏感帐号”(手机的危险性,后续章节还会单独谈)


★【硬件】层面的防范


◇总是启用“开机密码”和“硬盘锁”


  一些比较大牌的笔记本电脑,都有这两项功能。当你入手了一台笔记本电脑,首先把这两项开启。
  启用了这两项之后,每次你开机(冷启动),都需要先输入两个密码,分别是“开机密码”和“硬盘密码”。可能某些同学会嫌麻烦,俺要强调一下:想提升安全就不要怕麻烦!
  当然啦,这两个玩意儿的【可靠性】到底有多高,是很难讲滴——因为不同品牌(厂商)的笔记本电脑,这俩密码的实现机制,差别很大。但“启用”总归比“不启用”要好。
  另外,正是因为笔记本自带的硬盘锁不一定靠得住,所以你需要在“操作系统级别”进行【全盘加密】(本文后续的章节会聊到这个)。

◇把一些多余且危险的 BIOS 选项禁掉


  考虑到不同年代、不同品牌的笔记本,BIOS 选项差异较大。俺在这里只举几个例子。大伙儿要举一反三。
  比如说:对于英特尔(Intel)架构,要把 ME(Management Engine)禁掉——这玩意儿有安全风险。另,AMD 架构也有类似的玩意儿,叫 PSP(Platform Security Processor),也要禁掉。(注:有些 BIOS 无法禁用 ME 或 PSP)
  比如说:当你装好系统之后,应该到 BIOS 的启动配置界面中,把其它的启动项都禁掉,只保留“硬盘启动”这一项。
  比如说:“网络唤醒”的功能就没啥必要,而且有风险。
  ......
  (还有很多,就不逐一列举了。再次提醒大伙儿:举一反三)


★【操作系统】层面的防范


◇如何选择操作系统?


  如果你用的操作系统,其本身就有很多安全问题,那当然不行。所以第一步是:选择某种【靠谱的】操作系统。

  1. 【不要】使用预装的操作系统
  俺【从不】使用笔记本内置的操作系统。俺的习惯是——只使用自己亲手装出来的系统。
  为啥捏?因为你无法判断预装的系统是否【纯洁】。如果操作系统本身有安全隐患,后面聊的所有安全加固措施都是白搭!
  可能有些同学认为俺故意耸人听闻,建议这些同学去搜一下前几年的新闻。
  随手举个例子——2015年,联想 PC 因【预装】流氓软件,在美国遭遇集体诉讼,赔了好多银子。

  2. 强烈建议【不要】用 Windows
  这个已经是老生常谈,具体就不展开了,参见下面这篇:
《吐槽一下 Windows 的安全漏洞——严重性超乎想象》

  3. Linux 比 Mac OS 更好
  说到这个话题,很多读者以为俺担心 Mac OS 是【闭源】。其实这只是一个方面。甚至都【不是】最主要的方面。
  俺重点想说的是——【攻击面的确定性】。Linux 的特点是——【发行版非常多】。不同的发行版,内置软件的种类和版本各不不同,内核(kernel)版本不同,内核的编译参数不同......而且 Linux 还支持多种 CPU 芯片,既有 x86 系列(Intel/AMD),也有【非】x86 系列(比如 ARM)。
  一言以蔽之——Linux 由于发行版之间【巨大的差异】,会导致攻击面【非常不确定】。因此,在不了解你系统配置的情况下,入侵者的“攻击难度 & 攻击成本”会急剧增大。
  再来看苹果的桌面系统。因为 Mac OS【没有】“发行版”这个概念。或者换种说法,Mac OS 只有一个发行版(就是苹果官方维护的那个)。所以跟 Linux 一对比,Mac OS 的系统环境(攻击面)就显得非常【确定】了。
  另外,还有很多其它因素导致了——Linux 比 Mac OS 更有利于安全加固。具体请看下面这篇:
《为什么桌面系统装 Linux 可以做到更好的安全性(相比 Windows & macOS 而言)》

  4. 如何选 Linux 发行版?
  Linux 的发行版,大概有上百种之多。经常会让新手困惑。
  如果你是 Linux 的新手,先看《扫盲 Linux:如何选择发行版》,了解一些基本概念。
  “如何选择 Linux 发行版”这个问题,【没有】放之四海皆准的标准答案。不同的场景,不同的使用者,自然会有不同的择。以本文这个话题,俺的建议是:【保守型】、【社区维护】、【口碑好】
  你在符合这几个条件的发行版中,挑个你觉得最顺手的。

  5. 善于折腾的同学,也可以考虑 BSD 社区
  BSD 社区比较有影响力的发行版包括如下几个:
  FreeBSD
  这是 BSD 社区最知名的一款,也是该社区最多人用滴。
  OpenBSD
  这款是以【安全性】著称滴。它的社区采用了很多机制(代码审计、最小化权限、最小化安装 ...)来提升系统的安全性。
  而且 OpenBSD 社区非常强调【默认安装的安全性】。也就是说,默认装好,不作任何配置,其安全性就已经足够好。根据历史记录,从1997年到俺写本文之时(2019年初),OpenBSD 在默认安装下只曝光了2个【远程】漏洞(时间分别在2002年、2007年)。这种水平,其它操作系统望尘莫及。
  值得一提的是:有很多知名的软件(比如:OpenSSH、tmux、LibreSSL、PacketFilter)就源于 OpenBSD 社区。
  NetBSD
  这款是以【可移植性】著称滴。号称支持的硬件平台超过任何一款 Linux 发行版。
  (不过捏,这个优势对个人用户而言,意义不大)

  小结
  综上所述,用 Linux 或 BSD。本文后续的讨论,也在这两者基础上展开。

◇强烈建议使用【虚拟机】来强化安全


  刚才提到的“操作系统防范”,主要是针对你的【物理系统】(也称作“Host OS”)。接下来要谈的是——你【一定要】在 Host OS 之上,用【虚拟化软件】来搭建若干个“虚拟系统”(也称为“Guest OS”或“VM”)。这种玩法可以大大提升你防御入侵的能力;在某些特定情况下,还可以避免你暴露公网 IP(本文末尾的某个反面案例会提及这点)

  1. 虚拟化软件的选择
  如果你对技术方面【不太懂】,优先考虑的虚拟化软件是 VirtualBox(VBox)或 VMware。这两款的知名最大,用的人也最多;你如果碰到问题,比较容易找到相关的文档/教程。
  俺当年写的《扫盲操作系统虚拟机》系列教程,主要是也是拿这两款来举例。
  至于那些善于折腾的同学,当然还可以考虑别的软件,比如:KVM、Xen、QEMU......
  因为虚拟化软件的很多功能是相通滴。所以捏,如果你用了别的虚拟化软件,依然可以参考俺上述的系列教程,然后自己举一反三。

  2. Guest OS 的选择
  关于“Guest OS 的选择”,可以参考“Host OS 的选择”。不过俺要提醒一下:Guest OS 最好与 Host OS【有所差别】。
  为啥捏?因为要规避【单点故障】的风险。关于这个话题,可以参考如下博文:
《聊聊【单点故障】——关于“德国空难”和“李光耀”的随想》

  3. 设定“安全基线”,并做到【定期回退快照】
  关于这个话题,请看俺那个“虚拟机系列教程”的第7篇:
《扫盲操作系统虚拟机[7]:如何用“快照”辅助安全加固、强化隐私保护?》

  4. 虚拟系统的【颗粒度】
  最起码你得有【两个】Guest OS(VM),一个用于你的日常身份,另一个用于你的敏感虚拟身份。这种做法的“颗粒度”【最大】,也是安全性【最差】滴。
  【更好的做法】是——把你敏感的虚拟身份操作的 N 个网络帐号拆分到 N 个 VM 里。以俺为例:有一个 VM 是专门用于“编程随想的 BT Sync”(Resilio Sync);有一个是专门用于“编程随想的 OneDrive”(微软网盘);有一个是专门用于“编程随想的 Twitter” ......另外,还有若干个虚拟机用于俺的真实身份。所以,俺的笔记本电脑里有很多虚拟机。
  拆分的颗粒度变小之后,即使某个 Guest OS(VM)被入侵,最坏也只是损失一个帐号。
  说到“颗粒度”,还有一个需要讨论的问题是:翻墙软件应该装在哪个虚拟机?关于这个问题,在下面讨论【网络】的章节中再细聊。

  5. 如何防止【虚拟机穿透】?
  在这个小节的最后,俺来聊一下“虚拟机穿透”这事儿。所谓的“穿透”就是指:入侵者先攻占 Guest OS,然后利用“虚拟化软件”本身的漏洞进行“穿透”,渗透到 Host OS 中。
  这么干,从技术上讲是可行滴,而且也有安全研究人员演示过这个招数。但这个招数的实现难度非常非常大(需要【同时】具备很多条件,才能做成),一般人其实不用担心这个风险。不过俺在本文开头也说了,本教程是要应付【御用骇客】滴。所以,这种情况的概率虽然小,还是值得考虑滴。
  那么,如何防范捏?比较好也比较彻底的做法是【物理隔离】。比如说:在多台【物理主机】上配置不同网络帐号的操作环境。即使某个物理主机被入侵了,其它物理主机上的网络帐号【不】受影响。
  最近这些年,笔记本电脑都已经白菜价了。所以,多买几台笔记本电脑来进行物理隔离,钞票的压力应该不大吧?
  刚才只是介绍了“物理隔离”的其中一种玩法。其它几种玩法请参见《如何防止黑客入侵》系列教程的第8篇:
《如何防止黑客入侵[8]:物理隔离的几种玩法》

◇确保 Host OS【极简】


  使用了“虚拟化软件”之后,你应该把【所有的】日常操作都放到 VM 中进行。普通身份的操作放到“普通 VM”,敏感身份的操作放到“敏感 VM”。
  于是捏,你的 Host OS 几乎就不需要啥软件了(除了虚拟化软件和系统自带的软件)。
  通过把 Host OS 简化到极致,也就把 Host OS 的攻击面降低到最小。你始终要记住:Host OS 非常重要!!!Host OS 如果沦陷,运行在它之上的所有 Guest OS 也将沦陷。


★【应用软件】层面的防范


◇选择软件的几个原则


  1. 【不要】使用国产软件
  这其中的道理就类似于——不要使用国内的网络服务。
  如果你由于某些原因不得不用某个国产软件(比如说:QQ、迅雷......),应该把这个国产软件单独隔离在某个虚拟机(Guest OS)中,【千万不要】装到 Host OS 中,也【不要】安装到那些用于敏感身份的虚拟机。

  2. 安装的软件【越少越好】
  安装的软件越多,你所暴露出的【攻击面】就越大。
  因为每个软件都无法做到尽善尽美,每个都有可能存在潜在的(未曝光的)漏洞。

  3. 尽量使用【成熟度比较高】的软件
  举个【反例】来说事儿。在浏览器方面 IE 就是个典型的反例。最近这20年,IE 曝光的【高危】安全漏洞(远程执行类、提权类)那真是一坨又一坨,简直惨不忍睹。像 IE 这么烂的浏览器,如果你用它去上网,简直找死。

  4. 优先选择【开源】的软件
  商业公司必定【逐利】,所以商业公司有作恶(耍流氓)的动机和动力。比如说,用户数据可以转化为利润(变现),所以商业软件(尤其是用户量很大的那些),总是喜欢收集用户隐私。
  相比之下,开源社区【没有】盈利的压力。所以,开源软件耍流氓的情况,不敢说完全没有,但肯定远远少于商业软件。

  5. 优先选择【发行版官方仓库】所含的软件包
  如果你使用 Linux 或 BSD,优先使用发行版官方维护的软件包。
  比如说,两个软件,功能差不多,其中一个包含在官方软件仓库中,另一个没有。通常情况下,应该选那个软件仓库已有的。
  “官方仓库”相当于某种程度的【背书/担保】。口碑越好的发行版,其官方仓库中的软件,可信度越高。

  6. (在安全方面)版本【并非】越新越好
  很多同学有个【误区】,以为版本越新越好。其实不然!(至少在安全方面,这点并【不】成立)
  关于这方面的讨论,可以参见下面这篇博文。虽然这篇博文讨论的是 Firefox,但道理是相通滴!
《基于安全性考虑,如何选择及切换 Firefox 版本?》
  另外,前面谈“如何选 Linux 发行版”,俺强调用【保守型】的发行版。道理也在于此。

◇磁盘加密工具的使用


  (磁盘加密软件很重要,俺单列一个小节来讨论)
  【把你的硬盘加密】——这是对付警方【取证软件】的重要法宝。另一个好处是,万一你的笔记本不小心失窃了,窃贼也无法看到硬盘的内容。
  由于磁盘加密软件依赖于具体的操作系统,下面俺以【Linux】来说事儿。用 BSD 的同学请依样画葫芦。

  1. 用 dm-crypt(LUKS)全盘加密
  装 Linux 系统时,/boot 通常会单独分一个区。/boot 的加密会比较麻烦。不太熟悉 Linux 的同学,可以把 /boot【之外】的其它分区都用 LUKS 加密。如果你想把 /boot 也加密,可以到网上搜相关的教程。
  (注:因为 /boot 分区通常很小(再大也就一百多兆),而且【不】存放个人数据,该分区的保密性要求并不高)
  然后你可以在已经用 LUKS 加密的分区上,用 LVM(Logical Volume Manager)创建一系列逻辑分区(也叫“逻辑卷”)。请注意:规划逻辑分区时,要特意留一个空闲的(未用的)。
  关于 LUKS(也叫“dm-crypt”)的使用,请阅读如下教程:
《扫盲 dm-crypt——多功能 Linux 磁盘加密工具(兼容 TrueCrypt 和 VeraCrypt)》
  关于 LVM 的使用,请阅读如下教程:
《扫盲 Linux 逻辑卷管理(LVM)——兼谈 RAID 以及“磁盘加密工具的整合”》

  2. 用 TrueCrypt / VeraCrypt 在“空闲逻辑分区”创建【敏感加密盘】
  先再次唠叨一下:虽然 TrueCrypt(以下简称 TC)这个开源项目已死,但其替代品 VeraCrypt(以下简称 VC)完全兼容 TC 的功能和加密盘格式。所以,这两个软件大体上可以通用滴。
  俺在前一个步骤提到:预留空闲的逻辑分区。到了这一步,你选择这个空闲的逻辑分区,用 TC/VC 在这个分区上创建加密盘,用来存放【特别敏感】的数据(跟你的敏感虚拟身份相关的数据)。为了叙述方便,该加密盘称之为“敏感加密盘”。
  TC/VC 的加密盘【格式】有一个优点,是其它磁盘加密格式所不具备滴。那就是 TC/VC 的加密盘【没有】特定的文件头,也【没有】任何其它特征。换句话说,给你一段看似随机的数据,你【完全无法】通过数据本身来判断其是否 TC/VC 的加密盘数据。
  这个优点很重要。因为某个未格式化的分区,其数据看上去是随机的;把这个分区做成 TC/VC 的加密盘之后,数据依然看上去像是随机的。这样就【不易】引起怀疑;即便引起了怀疑,你也可以抵赖,一口咬定该分区就是闲置未用滴。

  3. 详细的磁盘布局
  在如下博文中,俺介绍了详细的磁盘布局方案,并有大量配图。
《扫盲 Linux 逻辑卷管理(LVM)——兼谈 RAID 以及“磁盘加密工具的整合”》

  4. “敏感加密盘”的【配置】原则
  由于这个加密盘特别重要,建议使用如下措施来强化其安全性:

  4.1. 认证因子要包含【key file】
  也就是说,要么只用“key file”,要么是“密码 + key file”。一旦你的认证因子中包含了“key file”,暴力破解就变得【不可行】。
  “key file”是啥玩意儿捏?通俗地说就是:用某个【内容随机生成】的文件作为加密盘的“钥匙”(其效果类似“密码”)。但是“key file”比“密码”更优秀之处在于——由于 key file 的内容是【随机】生成滴,你自己也不知道其内容(而且你也不可能把它的内容背下来)。因此,一旦你【彻底】销毁了这个 key file 之后,连你自己也【不可能】再打开加密盘。所以,“key file”机制不但可以对付【暴力破解】,还可以用来对付警方的【酷刑逼供】。
  请注意:“key file”要用【二进制】文件,文件至少64字节或更大(以确保【熵值足够大】)。TC/VC 自身都提供了“生成 key file”的功能,以确保生成的“key file”是【高度随机】滴。

  4.2. 【多重】加密
  TC/VC 支持多重加密,每一重都使用不同的加密算法。

  4.3. 设置【隐藏卷】
  “隐藏卷”也叫“内层卷”。有了它,你就可以享受“Plausible Deniability”带来的好处啦 :)

  5. “敏感加密盘”的【使用】原则
  由于这个加密盘实在太重要了,俺建议遵循如下使用原则:

  5.1. 何时挂载“敏感加密盘”?
  由于“敏感加密盘”非常敏感重要,没事就别挂载它。
  只有当你确实需要操作那些敏感身份的帐号,才开启/挂载(mount)“敏感加密盘”

  5.2. 关机 VS 待机 VS 休眠
  当你要【长时间】离开自己的电脑——应该【关机】(shutdown);而【不要】“休眠”(hibernation)或“待机”(suspend,stand by)

  (注:如果你不太熟悉 TrueCrypt 或 VeraCrypt,对本小节提到的很多名词和建议,会觉得纳闷。请参考如下几篇教程)
《TrueCrypt 使用经验》(系列)
《扫盲 VeraCrypt——跨平台的 TrueCrypt 替代品》
  在本文发出后没几天,俺又写了一篇,专门补充【磁盘加密】相关的细节,尤其是——【如何对付警方】。
《如何用“磁盘加密”对抗警方的【取证软件】和【刑讯逼供】,兼谈数据删除技巧》


★【网络】层面的防范


◇网络方面的基础知识


  如果你的网络技能不够扎实,建议先【看完】如下这个长篇教程:
《计算机网络通讯的【系统性】扫盲——从“基本概念”到“OSI 模型”》

◇严格设置 OS 自带的防火墙(Host OS 和 Guest OS 都要设)


  无论是 Linux 还是 BSD 都内置了操作系统级的防火墙(Linux 社区有:iptables 和 nftables;BSD 社区有:PF、NPF、IPFW)
  你应该养成一个好习惯,一装好系统就开启防火墙。
  设置防火墙要遵循【最小权限原则】(凡是不需要的,都是禁止的)。
  比如说,你要配置一台个人用的 PC,并且【不】需要远程访问。那就应该把防火墙设置为“禁止对外监听端口”。
  (同样的原则也适用于 Guest OS 自带防火墙的配置)

◇Guest OS 的网卡模式


  前面提到了:要使用【虚拟化软件】来强化安全性。所以,你还需要对 Guest OS 设置“虚拟网卡模式”。
  俺的建议是:
1.
网关 VM【别用】bridge 模式,应该用 NAT 模式(NAT 可以起到类似防火墙的效果)
2.
(在极少数情况下)如果你需要【跨物理主机】共享“网关 VM”的翻墙流量,想让网关 VM 对其它物理主机暴露监听端口,可以在 NAT 模式下添加端口映射(洋文叫“port forwarding”)。如果俺没记错的话,VirtualBox 和 VMware 都支持 NAT 模式下的端口映射。
3.
“操作上网帐号的 VM”用 host-only 模式(VBox 下还可以考虑 internal 模式,比 host-only 更严格)
通过这种方式,【彻底隔绝】该 VM 中的【任何软件】的网络直连,强迫他们都经过“网关 VM”联网。

  详细的“原理说明”和“配置教程”,参见如下两篇:
《如何隐藏你的踪迹,避免跨省追捕[6]:用虚拟机隐匿公网 IP(原理介绍)》
《如何隐藏你的踪迹,避免跨省追捕[7]:用虚拟机隐匿公网 IP(配置图解)》

◇避免用无线网络(比如:wifi)


  为啥要避免用无线捏?一言以蔽之,(相比物理网线)无线网络会显著增加你的攻击面。
  比如说:那些安全防范等级较高的公司或机构,其【核心网络】肯定是物理布线,而不会走 wifi 之类的无线网络。

◇设置家用路由器(如果有的话)


  哪怕是比较普通的家用路由器,也提供了一些基本的安全设置(比如:防火墙、MAC 地址绑定......)
  你应该把这些设置都用起来,还是刚才提到的老话——配置时参照【最小权限原则】。
  另外,如果你采用了前面提到的【物理隔离】方案,那么你就会有 N 台物理主机。这种情况下,你要在家用路由器上进行一些配置,使得这 N 台物理主机相互【不可见】。

◇操作敏感帐号,要【全程走】匿名网络(Tor 或 I2P)


  (关于这点,前面聊“注册帐号”时已经提过。为了加深你的印象,俺再次唠叨)

◇Tor 或 I2P 要加【前置代理】


  前面俺已经聊过了:Tor 和 I2P 是两个最有影响力的匿名网络。因为俺个人推荐 Tor,所以下面拿 Tor 来说事儿。想用 I2P 的同学,请依样画葫芦。
  从许多年以前,Tor 在天朝就无法独立联网了。因为 GFW 把 Tor 视作心腹大患,封杀了所有的 Tor 中继(Relay)。
  所以,要想在墙内用 Tor,需要让 Tor 借助某个【前置代理】(这个前置代理,通常是某个【可用的】翻墙软件)。后来 Tor 官方推出的 Tor Browser 内置了一个 meek 插件,可以辅助 Tor 在墙内联网。这个 meek 插件也算是(某种意义上的)前置代理。
  本来,让 Tor 走前置代理是为了突破 GFW 对 Tor 的封锁。但这么干产生了若干【额外的好处】——让你的网络传输更加健壮。啥意思捏?下面俺解释一下。

  好处1——ISP 【无法】知道你在用 Tor
  无论你在家上网还是在公司上网,最终你的网络流量都要经过 ISP。也就是说,ISP 完全有可能监控你的流量。
  当你采用“Tor over 前置翻墙软件”,ISP 监控你的流量,看到的是“前置翻墙软件”的流量。由于翻墙软件的流量都是【加密】滴,所以 ISP 无法解密,也就无法知道你在用 Tor。
  在全球的网络用户中,Tor 用户的比例依然很【低】;在天朝,这个比例会【更低】(墙内网民对隐私还是不够重视)。由于 Tor 是设计用来【隐匿网络踪迹】滴。如果让 ISP 看到你在用 Tor,终归不是啥好事儿。
  所以,即便你在【墙外】上网,此时 Tor 可以独立联网,你还是应该给 Tor 配一个【加密的】前置代理。

  好处2——双保险
  当你采用“Tor over 翻墙软件”,你的“真实上网流量”的外面其实包裹了【两层】,第一层是 Tor,第二层是“前置翻墙软件”。由于包裹了两层,类似于某种【双保险】。
  换句话说,如果有人要在网络层面截获你的“真实上网流量”,必须先破解最外层(前置翻墙软件的加密),然后再破解次外层(Tor 的加密),才能看到你的真实上网流量。由于 Tor 本身是【强加密】,而翻墙软件的加密也不会太弱。所以,同时破解这俩层加密的可能性,小到可以忽略不计。

◇【不同】身份的帐号,要使用【不同】(各自独立)的匿名网络环境


  假设你让“真实身份”的帐号和“敏感身份”的帐号使用同一个 Tor/I2P 环境,有可能导致这两个帐号在【同一时间】使用了【相同出口节点】。
  如果这种情况长时间持续出现,就会使得这2个帐号产生某种【相关性】,从而让人怀疑这2个帐号背后是同一个人。
  更详细的说明,参见下面这篇博文中【公网地址】导致的关联性这个章节。
《如何隐藏你的踪迹,避免跨省追捕[10]:从【身份隔离】谈谈社会工程学的防范》

◇“翻墙软件”与“你的网络帐号”【隔离】


  刚才提到了:用某些翻墙工具作 Tor 的【前置代理】。那么,这些翻墙软件要放在何处捏?
  俺的建议是——把翻墙软件放到【另一个】虚拟机,以进一步降低网络帐号的风险。为啥捏?因为你无法知道:翻墙软件本身是否会耍流氓。
  在下面的这篇博文中,俺详细介绍了几种部署方式。其中包括“Tor 的【前置】部署”和“Tor 的【后置】部署”。
《如何隐藏你的踪迹,避免跨省追捕[8]:如何搭配“多重代理”和“多虚拟机”》
  对于本文的目标读者,如果你通过浏览器(Web 方式)操作网络帐号,此时你的上网软件(浏览器)是可信滴,而翻墙工具不一定可信。所以你应该采用“Tor 的【后置】部署”。


★【Web】层面的防范


◇如何选择浏览器?——俺推荐 Firefox


  说到“选浏览器”这个话题,其实也就是在 Chrome/Chromium 或 Firefox 这两家二选一。因为前面说了,你上网的系统应该是 Linux 或 BSD。像 IE、Edge 之流,就甭考虑啦。
  俺个人的建议是——Firefox
  俺知道读者中有很多 Google 的粉丝,也有很多 Chrome/Chromium 的粉丝。对俺倾向 Firefox 会感到不理解。建议这些同学看如下博文的分析:
《弃用 Chrome 改用 Firefox 的几点理由——关于 Chrome 69 隐私丑闻的随想》

◇如何选择 Firefox 的【版本】?


  关于 Firefox 版本的问题,列几个要点:
1. 【千万别用】中国版
2. 一定要用国际版中的 ESR(长期支持版本),别用 Release 版,【更不能】用 Beta 或 Nightly 版。
3. 在某个【恰当的时间点】切换 ESR,【不要】一发布新的 ESR 就切换。

  如果你不太了解 Firefox 的版本体系,未必明白上述这几个是啥意思。请参考如下博文:
《基于安全性考虑,如何选择及切换 Firefox 版本?》

◇关于 Firefox 的【插件和扩展】


  先说一下,“插件”(plugin)和“扩展”(extension)是两种不同的东西。在“这篇博文”中,有一个小节专门谈:插件和扩展的区别。
  对于操作重要帐号的浏览器——第三方“插件”一个都【不装】;第三方“扩展”要【尽量少】,最多只装几个安全相关的,而且要选那种口碑足够好的。

◇如何【加固】Firefox?


  对于不太懂技术的同学,建议直接用【Tor Browser】套件。这个套件是 Tor 社区在 Firefox 的 ESR 版本基础上,又进一步强化了安全性。而且还绑定了 Tor。
  至于那些喜欢折腾的同学,可以自己用 user.js 对 Firefox 进行很多的定制。主要原则就是——把 Firefox 的【攻击面】降到尽可能小。
  如何【深度】定制 Firefox?参见如下教程:
《扫盲 Firefox 定制——从“user.js”到“omni.ja”》
  (注:上述教程只是教你如何配置 Firefox。“如何对 Firefox 进行【安全加固】”属于另一个话题。考虑到这个话题太小众,暂时还没动手写)

◇操作敏感帐号,确保【全程】HTTPS


  要做到这点,有个前提——敏感帐号对应的网站要提供【全站 HTTPS】。
  考虑到如今 HTTPS 已经很普及啦。知名的网络服务,基本都支持【全站点 HTTPS】。有些网络服务做得更贴心——即使你用【明文】的 HTTP 协议访问,它也会把你重定向到【加密】的 HTTPS。
  有些同学会问:万一碰到某个网络服务,不支持 HTTPS,咋办?
  俺的建议是:如果某个网站到现在(2019)都还【没】实现“全站 HTTPS”,那这个网站也够烂的,不用也罢。
  为啥要强调【全程 HTTPS】捏?
  前面提到了“全程走匿名网络”,但是匿名网络中的节点都是由世界各地的志愿者维护的,不排除其中会有恶意节点(蜜罐节点)。如果你访问网站的流量是加密的 HTTPS 流量,即使是恶意节点,也【无法】看到你的上网内容(网页、图片、视频、等),更加不可能去篡改。

◇确保浏览器【专用】


  为了说明【专用】是啥意思,举个例子。
  博客的读者都知道:俺有个推特帐号,是专门用来发布“博文更新的通知”。
  在俺的电脑上,有一个专门的 VM(Guest OS)用来操作这个推特帐号(刚才聊虚拟机“颗粒度”的时候,已经提到这点)。这个 VM 里面的 Firefox,除了访问 Twitter 的网页,【绝对不】访问其它任何网站。
  确保浏览器【专用】,可以预防大部分的 Web 攻击。就算不幸被入侵了,(只要没出现“虚拟机穿透”)受影响的范围也只局限在这个 VM 内。至于如何【彻底】防范“虚拟机穿透”,本文前面某章节已经聊过。


★【社会工程学】层面的防范


  对于技术高手而言,“社会工程学”的防范【最难】。因为“社会工程学”探讨的是【非】技术领域的话题。
  这方面的防范,靠的不是你的技术,而是你的【心理素质】。比如说:是否足够理性,是否足够细心,是否足够耐心,是否足够冷静 ......
  (注:如果你之前没听说过“社会工程学”这个概念,可以先看下面的系列博文)
《扫盲社会工程学》

◇关于【偷窥】


  (俺特意把这个放在第一条,因为谈到社会工程,很多人只想到对网上其他人的防范,而忽略了【身边人】)
  当你操作敏感的虚拟身份时,要确保【不】被周围的人看到。如果是在公共场合(包括公司里),还需要警惕周边的摄像头。
  再次拿自个儿举例:
  俺有时候会在【上班时间】回复读者评论,那是因为俺作为公司的高管,有独立办公室 :)
  如果俺是在开会或者与别人讨论问题,肯定不会运行“编程随想”相关的 VM(甚至连存放这些 VM 的【敏感加密盘】都不开启)。

  既然说到“偷窥”,再顺便强调一个常识——输入重要密码记得遮挡键盘(尤其是在公共场合)。比如说:用笔记本的同学,(输密码时)把屏幕合拢到与键盘成30度角。

◇关于【信任】


  当你使用敏感的身份与别人沟通(哪怕【私密】的沟通),【永远不要】提及自己的真实身份。
  就算你能相信对方,你又如何确保沟通双方的软件环境是可信的?你又如何确保沟通双方的物理环境是严密的?......(这样的反问句,俺可以写一大堆)
  基于同样的道理,即使是与俺进行邮件沟通,你也【不要】暴露自己的身份信息。

◇关于【即时通讯】(IM)


  聊天工具(IM)会暴露出比较多信息量。所以“编程随想”这个身份从未使用 IM 与读者沟通,最多只用邮件。(为了安全起见,俺如今连邮件也用得少了,主要在【博客评论区】与读者沟通)。
  如果你确实想用 IM,那就只用【文本】形式,千万【别用】“音频 或 视频”(多媒体形式的 IM,暴露的信息量太大了)。

  另外要提醒一下:【不要】过度迷信“端到端加密”。
  某些同学【天真地以为】:采用了“端到端加密”之后,聊天内容就只有两人知道。其实不然!比如说:其中一人的 PC/手机中了木马,聊天内容就有可能外泄。这还只是一种可能性,还有其它很多种可能性。

◇关于【私密沟通】


  前一个小节提到:聊天工具(IM)会暴露出比较多信息量。现在来解释一下。
  先定义一下【私密沟通】的范畴——指的是那些【不】公开的一对一沟通。【至少】包括:两人聊天、非群发的邮件、社交网络的“私信”、等等。
  私密沟通的【危险性】在于——这种沟通方式会让你放松警惕(这是由心理学层面决定滴)。
  对照一下现实生活。当你处在一个【多人】的场合,你说话就会比较谨慎和自律。而在那种一对一私下沟通的场合,你说话的警惕性就会下降。这种情况下,你就更容易暴露出更多个人信息。

◇关于【社交网络】(SNS)


  敏感虚拟身份使用的 SNS 帐号,要与你真实身份使用的 SNS 帐号【没有交集】。
  比如说:俺的真实身份有一个 Twitter 帐号,但这个 Twitter 帐号肯定不会 follow 编程随想的 Twitter。

◇关于【密码】(password)


  有一个大伙儿很容易忽略的盲点,是【密码】。
  不同的帐号,密码也【不能】有相似之处。为啥捏?
  因为你无法确定网站在存储密码的时候,是否符合安全规范。如果网站对密码的存储不够规范,然后网站的数据库还被入侵了(往往是这种不规范的网站,更容易被入侵),导致用户的【原始密码】曝光。(在剔除掉那些极简的傻瓜密码之后)那些密码【高度相似】的帐号,就有可能被关联起来,从而导致身份暴露。
  (注:存储密码,规范的做法是——用足够【强】的散列算法,并配合【随机】撒盐,然后存储散列值。虽然只是短短一句话,可惜大部分程序员并不理解其背后的深意)
  关于如何构造复杂密码,参见如下教程:
《如何防止黑客入侵[3]:如何构造安全的口令/密码》

◇关于【个人信息】


  不论是写博客还是用 SNS(社交网络)与别人沟通,你所说的话,总是会不经意地暴露出一些个人的身份信息。
  比如俺博客聊了这么多信息安全的话题,有些话题还比较“阳春白雪”(只有懂行的人才写得出)。因此,读者就能猜出,俺是在这个圈子里混的——这就是某种“个人信息”。
  所以,除非你完全不说话,否则,总会有这样那样的信息流露出来。当你暴露的信息足够多之后,某些“有心人”就会根据这些信息,逐步缩小范围,逐步拼凑出你的完整脸谱。
  那么,该咋办捏?
  说到这儿,俺要借用《红楼梦》里面的名言——【假作真时真亦假】。也就是说,你要故意暴露【假信息】。通过这些【假信息】来干扰对方的视线。“假信息”关键在【质】而不在“量”。啥意思捏?就是说,“假信息”的数量并不需要太多,但一定要让人信以为真。
  由于存在“假信息”的【干扰】,当“有心人”企图根据你暴露的信息来缩小搜索范围,你就有可能【漏网】——漏到包围圈之外 :)

◇关于【时间信息】


  关于这个维度的讨论,之前已经专门写过一篇博文(如下)。
《如何隐藏你的踪迹,避免跨省追捕[9]:从【时间角度】谈谈社会工程学的防范》
  正是因为这方面的考虑,所以俺要让自己的“上线时间”尽量【随机化】,不能有固定的模式。

◇关于【行文风格】


  每个人的遣词造句都有其独特之处,这种独特性就像是语言层面的“指纹”。
  举个例子:
  J.K. Rowling 曾经用化名出了一本推理小说《布谷鸟的呼唤》(The Cuckoo's Calling)。某公司通过专门的软件对文字风格进行分析,发现此书与《哈利·波特》的行文风格高度一致,从而曝光了作者的真实身份。
  所以,如果你的“虚拟身份”与“真实身份”都在互联网上留下【足够多】文字,别人【有可能】从“文字风格”发现两者的相关性。文字越多,被发现的可能性越大。(注:据热心读者反馈,可用专门的软件批量修改文章的文字风格。这种软件俺没用过,感兴趣的同学可以尝试一下)
  俺比较幸运之处在于——本博客是俺第一个博客。在2009年之前,俺一直是网上的【潜水者】(从来不冒泡)。另外,俺在公司里也不会写长篇大论的文档。所以,在“行文风格”方面,俺的风险会比较低。

  考虑到俺博客有不少程序员读者,顺便提醒【源代码风格】的“指纹”。其原理是类似滴。
  前些年,俺大幅度改造博客的评论区界面,加了很多定制的 JS 脚本,当时就有热心读者提醒俺这个风险。今天顺便也解释一下。
  作为一个老程序员,俺在公司里写了很多代码,但都是 C/C++、Java、Python(从俺写的编程博文,也能猜出这点)。而且俺在公司里写的都是【后端代码】(服务器端)。而博客评论区的改造属于【前端 JS】。因为前端与后端的差异太大,且编程语言也不同。因此,俺在这方面的风险也很小。

◇(其它)


  社会工程学涉及的方方面面太多,肯定有些是俺漏了说的。欢迎列位看官到博客评论区继续补充。


★对【手机】的防范


  关于“手机”的话题比较特殊,因为手机同时涉及前面提到几个层次,所以俺单列一章来讨论。

◇手机的风险


  关于手机的隐私风险,这些年来,俺已经重复唠叨很多次啦。今天再来一次。
  当你想用手机操作你的网络帐号,这已经隐含了一个前提——此手机必然是【智能机】。“智能机”的安全风险【至少】包括如下:

  1. 【硬件探测器】太丰富,能收集的信息太多
  手机包含的硬件探测器太多,至少包括:摄像头、麦克风、GPS、陀螺仪 ......
  在这种情况下,如果手机中的某个软件(app)是恶意的,并且获得了足够的权限,那么这个 app 就可以监控你日常生活的方方面面。
  比如说:通过“GPS 定位”或“基站定位”可以了解你日常活动范围,可以知道你用哪种交通工具(根据移动速度)......

  2. 两大手机操作系统(Android & iOS)都不是【完全开源】滴
  iOS 是闭源,这个众所周知了。
  很多人【误以为】Android 是开源,其实它只有【一部分】是开源滴。如果要说得再详细一点,那就是——
Android 系统包括两部分:AOSP(Android Open Source Project)和 GMS(Google Mobile Services)。其中的 GMS【不】开源。
  而且自从 Android 占据市场主导地位之后,Google 逐渐把 AOSP 中的模块转移到 GMS 中(注:Google 这么干,再次体现出商业公司的德性)。

  3. 固件是【闭源】滴
  请注意:固件处在操作系统的【下层】。固件如果不可信,比操作系统还麻烦。

  4. 手机上无法实现【操作系统虚拟机】
  到目前为止,手机上还无法实现“操作系统虚拟机”,也就是类似于 VMware 或 VirtualBox 之类的玩意儿。
  而“操作系统虚拟机”是非常重要的安全防御手段(前面章节已经聊过)。

  5. 手机上的【全盘加密】不够严密
  虽然如今的 Android 和 iOS 都已经有了“全盘加密”,但它们机制和功能,对俺这类高危人士而言是【远远不够】滴。
  为了长话短说,简单举个例子——
  至今还没听说有哪个手机系统的全盘加密支持【key file】,但成熟的桌面加密软件(TrueCrypt/VeraCrypt)都有这个功能。
  前面俺说过了——“key file”这种机制可以用来对付警方的【酷刑逼供】——只要你在被捕前销毁“key file”,之后连你自己都打不开加密盘(【酷刑】又有啥用捏?)而手机缺乏这个机制,也就意味着如果你被捕,警方(尤其是天朝警方)总是可以想办法迫使你解锁手机。
  不光缺少“key file”功能,手机的磁盘加密还缺少其它很多重要的功能,比如“Plausible Deniability”,比如“自定义加密算法组合”,比如“自定义密钥迭代次数”......而这些功能对提高“加密盘的抗破解能力”,是非常重要滴!

  6. 常用的手机软件(App),大部分都是来自商业公司
  在《如何保护隐私》系列教程的第一篇,俺就特地强调了“商业公司”与“非盈利组织”的差异。很多人应该听说过“流量变现”,同样的道理,用户数据也可以变现。作为商业公司,“收集用户数据”自然成为他们的一大癖好。

  7. 用户群很大的那几个 App,都很流氓
  这个道理,俺也聊过多次了。像“微信/支付宝/百度/京东”这些 App,装机量都是以【亿】计。这么大的安装量,朝廷的有关部门,难道会不动心吗?假如有关部门找到这几家公司的老板,要他们稍微配合一下,在 app 里面玩点猫腻,像菊花疼、马淫、李阉红、刘强奸这些老板,他们有胆量拒绝朝廷提的要求吗?答案显然是【否定】滴!
  因此,国内装机量特别大的 app,不耍流氓几乎不可能!
  还有一个比较讽刺的是——所有这些公司(不管是老板还是公关部门),都会信誓旦旦地说:从来不耍流氓。但是大伙儿别忘了——这是在天朝,这是一个“诚信还不如狗屎”的国度。诸如此类的诅咒发誓,你当笑话听听就行啦,切莫当真。

◇结论


  由于手机存在如此多的风险点。所以——
1. 要【完全禁止】手机参与操作敏感的网络身份
2. 如果某个网络服务只提供手机 App,而不提供“Web 界面”或“桌面客户端”,那么你就应该【弃用】这个网络服务
3. 你在操作敏感的网络身份时,最好把手机放到别处(别忘了手机上的流氓软件有可能偷偷对你进行拍照/摄像哦)


★对几个【反面案例】的分析


  为了进一步加深大伙儿的印象,俺给大伙儿准备了几个反面教材。

◇案例1:Freedom Hosting 网页挂马事件


  Freedom Hosting 是暗网上提供托管服务的平台(在暗网的圈子里小有名气)。其站长被 FBI 抓了之后,FBI 接管了网站服务器,然后在页面中嵌入了某个恶意脚本。这个恶意脚本可以利用 Firefox 17.0 ESR 版本的某个漏洞。
  当年的 Tor Browser 用的就是这个 ESR 版本的 Firefox。因此,当某个 Tor Browser 用户访问了这个挂马的页面,该脚本就会利用 Firefox 17.0 的安全漏洞,然后【绕过代理】,直接向某个 FBI 控制的服务器发送 HTTP 请求。
  由于是【绕过代理】进行直连,所以 FBI 只要检查该服务器收到的 HTTP 请求,就可以知道这些中招的 Tor Browser 用户的【真实】公网 IP。

  有些同学以为俺说这个案例,是想谈“修补漏洞”。可惜不是!因为任何浏览器都【不可能】保证零漏洞,所以光靠修补浏览器漏洞来对付这类威胁,不够保险。
  更保险的做法是【系统级网络隔离】。如果上述这些 Tor 用户看过俺的教程,懂得用【虚拟机隔离】来隐匿公网 IP,那 FBI 的招数就失灵了——因为在【隔离】的虚拟机中,恶意脚本【对外直连】的 HTTP 请求会【失败】(发不出去)。
  所以,这个案例的教训是——你要杜绝所有【不经代理】的网络直连行为。为了做到这点,要把【所有】敏感的上网行为都放到【虚拟机】中,以确保【所有】流量都经过你设定的“网关 VM”。

◇案例2:顶级黑客 Jeremy Hammond 被捕


  此人是大名鼎鼎的 LulzSec 骨干成员,网名 yohoho。从其辉煌战绩可以看出,他显然是技术高手。而且他也一向谨慎,LulzSec 的其他成员并不知道他的真身。
  后来,LulzSec 的某个成员(网名 Sabu)被 FBI 逮捕,并转为卧底。所以 FBI 拿到了 yohoho 与 Sabu 之间的所有聊天记录。
  在与 Sabu 聊天时,yohoho 无意间提到自己参加了对“共和党全国代表大会”的抗议示威,并被警方拘留。这个信息量已经足够高,足以把范围缩到很小。警方开始怀疑 Hammond,并监控他家的网络流量。观察多日后发现:他家 Tor 流量出现的时间段,与 yohoho 上线的时间点高度吻合。
  于是 FBI 申请了“强行搜查令”,破门而入......

  此案例的第1个教训是——不要暴露【信息量太高】的真实个人信息。
  此案例的第2个教训是——Tor 前面再放个【加密】前置代理(这招俺唠叨了很多年啦)。如果 Hammond 遵守这个原则。那么,FBI 监控他家的流量,就无法判断他是否在使用 Tor(因为 Tor 流量被包裹在前置代理的加密流量之内)。


俺博客上,和本文相关的帖子(需翻墙):
《计算机网络通讯的【系统性】扫盲——从“基本概念”到“OSI 模型”》
《如何保护隐私》(系列)
《如何防止黑客入侵》(系列)
《如何隐藏你的踪迹,避免跨省追捕》(系列)
《扫盲社会工程学》(系列)
《扫盲操作系统虚拟机》(系列)
《如何用“磁盘加密”对抗警方的【取证软件】和【刑讯逼供】,兼谈数据删除技巧》
《为什么桌面系统装 Linux 可以做到更好的安全性(相比 Windows & macOS 而言)》
《吐槽一下 Windows 的安全漏洞——严重性超乎想象》
《扫盲 Linux:新手如何搞定 Linux 操作系统》
《扫盲 Linux:如何选择发行版》
《扫盲 Tails——专门强化隐匿性的 Linux 发行版》
《文件加密的扫盲介绍》
《扫盲 Linux 逻辑卷管理(LVM)——兼谈 RAID 以及“磁盘加密工具的整合”》
《TrueCrypt 使用经验》(系列)
《扫盲 VeraCrypt——跨平台的 TrueCrypt 替代品》
《扫盲 dm-crypt——多功能 Linux 磁盘加密工具(兼容 TrueCrypt 和 VeraCrypt)》
《扫盲文件完整性校验——关于散列值和数字签名》
《文件备份技巧:组合“虚拟加密盘”与“网盘”》
《“如何翻墙”系列:关于 Tor 的常见问题解答》
《“如何翻墙”系列:扫盲 Tor Browser 7.5——关于 meek 插件的配置、优化、原理》
《扫盲 Arm——Tor 的界面前端(替代已死亡的 Vidalia)》
《“如何翻墙”系列:简单扫盲 I2P 的使用》
《多台电脑如何【共享】翻墙通道——兼谈【端口转发】的几种方法》
《如何让【不支持】代理的网络软件,通过代理进行联网(不同平台的 N 种方法)》
+
+ +
+ + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/01/ten-years-blogging.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/01/ten-years-blogging.html" new file mode 100644 index 0000000000000000000000000000000000000000..04a6a6b6b8d13bfd0be949ec3eb99bbc05a58a5a --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/01/ten-years-blogging.html" @@ -0,0 +1,26 @@ + + + + + + + +开博十周年庆,博文分类汇总 - 编程随想的博客 + + +
+

开博十周年庆,博文分类汇总

+ +
+
+  每年一次的“周年庆”又到啦!
  由于这次是【十周年】,有些读者建议俺搞得隆重一点。所以前几天特意发了篇《开博十周年大事记》,作为纪念。
  根据历年来的惯例,“周年庆”当天(或前后一天)要发一篇【博文汇总】——把历史上的博文按照分类罗列出来,方便新来的读者了解旧博文。


★对【新读者】的几项说明


  在切入正题之前,先插播几条说明——主要是说给【新读者】听。

◇俺【无法】处理每一个“读者评论”和“读者来信”


  在2013年或更早,俺基本上可以做到——处理【每一条】读者评论。
  但如今的评论数【实在太多】,已经【无法】做到逐一回复了。
  至于邮件,就处理得更少了——因为评论可以被大伙儿看到,所以俺优先回复评论。如果你有【重要且紧急】的邮件发给俺,建议你在发邮件之后,再到俺博客最新的一篇博文中,用【留言的方式】提醒一下。
  在这里给大伙儿道个歉——俺的时间实在有限,列位看官请多包涵。

◇对读者评论,俺回复的频度会比较【随机】


  首先,俺如果比较忙,回复读者评论的频度自然会降低。
  其次,为了降低安全风险,俺采用尽可能【随机】的方式回复评论。以免朝廷的走狗摸清俺在线活动的规律。
  比如说:俺有时候会连续几天不出现;有时候会一天出现几次。

◇本博客的界面分【桌面版】和【移动版】


  当你用个人电脑上的浏览器访问,默认看到的是【桌面版】;当你用手机访问,默认看到的是【移动版】。
  (注:Blogspot 博客平台默认就是这样设置滴)
  这几年来,俺对【桌面版】做了一些定制开发,增加了一些新功能。那些用手机访问的同学,需要切换到桌面版才能看到这些“定制功能”。

◇本博客提供【离线浏览】和【邮件订阅】


  这两个功能主要面向那些【不】善于翻墙的读者。具体的使用请参见——博客界面的右侧栏。
  对于“离线浏览”
  俺提供了【电子书打包脚本】,可以把离线浏览的内容打包成一个电子书(epub 或 chm)。这样就可以在手机或平板上阅读俺博客的【全部内容】。
  对于“邮件订阅”
  订阅之后,会在【每篇博文】发布的次日收到一封邮件,邮件内容就是博文的正文。
  “邮件订阅”对每篇博文只会发送【一次】。因此,如果俺后来又修改了博文的内容,你就无法看到俺的修改。


========




  闲话就不多说了。
  (为了保持分类汇总的【精炼】,所以下面的汇总清单【不含】“网盘电子书更新”的博文,也不含“博客通告”的博文)。
  为了让大伙儿看起来方便,归为几个大类(思维方式、政治、翻墙、信息安全、心理学、管理、编程......)。如果你订阅俺博客的时间不长,或许有些老帖子你也会感兴趣滴。


★学习方法和思维能力


如何完善自己的知识结构
学习技术的三部曲:WHAT、HOW、WHY
用提问来促进思维——兼谈【非】技术领域的 WHAT HOW WHY 三部曲
聊聊【折腾】的重要性

批判性思维扫盲:学会区分“事实”与“观点”
谈谈逻辑谬误——以五毛言论为反面教材

聊聊洗脑和脑残——分析“脑残的起源”和“脑残的觉醒”
比“欺骗”更有效的洗脑——基于【双重思想】的思维控制
比“欺骗”更狡猾的洗脑——基于【真实数据】进行忽悠

各种【一元化思维】的谬误——从“星座理论”到“共产主义社会”
思维的误区:幸存者偏见——顺便推荐巴菲特最著名的演讲
思维的误区:忽视沉默的大多数

读书笔记:《反脆弱——从不确定性中获益》
聊聊【单点故障】——关于“德国空难”和“李光耀”的随想

《如何阅读一本书》——书评及内容纲要
书评:《学会提问——批判性思维指南》
书评:《你的灯亮着吗?——找到问题的真正所在》

如何挖掘网络资源(系列,已写3篇)

聊聊【阴谋论】流行的原因及其弊端
“片面强调 PX 低毒”属于【偷换概念】——茂名 PX 抗议活动随想
学会透过现象看本质,即使现象有时候挺诡异


★心理学


为啥俺要写这个博客——动机的自我分析

不要成为“粉丝”——谈谈“偶像崇拜”的成因和危害
思维的误区:从“沉没成本谬误”到“损失厌恶情结”

天朝民众的心理分析:圣君情结
天朝民众的心理分析:斯德哥尔摩综合症
朝廷为何落入“塔西佗陷阱”——天津火灾随想

为啥俺很少看视频?——兼谈“视频”与“文本”在认知心理学方面的差异
为啥俺不常用微博——兼谈时间管理心得

书评:《少有人走的路——心智成熟的旅程》
“心智模式”系列:认识你自己——心智模式扫盲介绍
“心智模式”系列:你是如何看待成败的?——兼谈有效归因
“心智模式”系列:如何面对【逆境】?——兼谈“斯托克代尔悖论”

光环效应引发的认知误区
关于社会认同和从众心理——从连环校园凶杀及连环跳楼说起
说说世界杯的球迷——关于粉丝的心理


★政治


◇政治 / 常识


为什么马克思是错的?——全面批判马列主义的知名著作导读
每周转载:关于辩证法(网文3篇)

谈革命(系列,已写9篇)
政治常识扫盲:理清“国家、政体、公民、政府、政党”等概念
扫盲常见的政治体制
聊聊天朝的政治体制

政治常识扫盲:澄清“言论自由”的各种误区
对政府——多些“监督问责”,少些“煽情感动”

谈谈【体制化】,并推荐《肖申克的救赎》
两个寓言折射天朝政治现状
每周转载:耶鲁教授关于【政治素质】的20条建议(俺的翻译及点评)

◇政治 / 真理部


如何用互联网进行“反洗脑”和“政治启蒙”——分享若干个人经验

五毛言论点评——“每个国家都有审查制度”
党国应对灾难的标准操作流程——以上海大火为例
关于抹黑 Google——谈谈党国对舆论的操纵手法

看看真理部是如何 PS 照片的
分析爱国主义忽悠的常见类型——顺便戳穿几个流传很广的谣言
看看真理部对利比亚革命的忽悠
关于本拉登的几个误区

党和互联网的较量
各种迹象显示——党国喉舌正逐渐失去舆论阵地

每周转载:真理部开始对娱乐圈下手——大批自媒体被封号(相关报道及网友评论)
每周转载:尴尬的2017年春晚(各种网友吐槽)
每周转载:不一样的猴年春晚(分享大量网友评论)
每周转载:党国红人周小平惨遭围观——网友称:请不要辜负这个傻逼
每周转载:关于“Gmail 彻底被墙”的网友评论
每周转载:网友热议《没有了祖国,你就什么都不是》
每周转载:关于学雷锋(网文4篇,评论若干)
每周转载:关于真理部的几篇旧文(网文5篇)
每周转载:关于天朝的网络实名制(网文5篇,评论若干)
每周转载:关于朝廷对爱国主义的忽悠(网文5篇)
每周转载:关于香港抗议洗脑教育(网文3篇,图片多张)
每周转载:关于保钓引发的狭隘民族主义(网文5篇)
每周转载:看看当年的共产党是如何唱高调的(网文4篇)

◇政治 / 权贵


点评中国社会九大阶层——没有公平、难以流动、无法稳定
相当奇葩的天朝,【劫贫济富】的国度
若政治制度不公平,则经济改革无意义——谈谈天朝这个大赌场

看看全国人大代表都是些什么货色——兼谈“议会道路的改良”行不通
聊聊“赵家人”走红网络的重要意义

王健林及万达集团背后的朝廷权贵家族(习、胡、温、贾、王)
中国电婊李小琳的精彩人生(多图)

习包子露馅——习近平在内的权贵家族如何转移巨额海外资产
每周转载:巴拿马文件曝光天朝权贵(大量网友评论)
每周转载:网友热议天朝权贵集团的“离岸”

每周转载:郭文贵撕逼王岐山——网友热议“海航、高空寻欢、习王斗”(多图)

热烈庆贺“太子党关系网络”开源项目率先获得朝廷认证
曝光天朝权贵家族——新鲜出炉的《太子党关系网络》(2018年更新)
《太子党关系网络》开源到 GitHub——大伙儿一起来曝光赵国权贵(2016年更新)
曝光天朝权贵——《太子党关系网络》2.2版本发布(2015年更新)
曝光天朝权贵——《太子党关系网络》2.0版本发布(2013年更新)
曝光天朝权贵——《太子党关系网络》1.0版本发布(2011年更新)
关于《太子党关系网络》的常见问题解答

每周转载:关于权贵资本主义(网文5篇)
每周转载:关于天朝的政治改革(网文4篇)
每周转载:关于天朝富豪的移民现象(网文5篇)
每周转载:关于十八大之后的天朝政局(网文3篇)

◇政治 / 共产运动


人类自由的三大死敌——谈谈“共产运动、纳粹主义、政教合一”的共性

面对共产党——民国人文大师的众生相
影评:《苏维埃往事》——帮你看清苏联和纳粹的共同本质
金氏王朝的崛起——聊聊金日成的历次大清洗
最“纯正”的共产主义政权——红色高棉简史

◇政治 / 腐败


分析“制度性腐败”——为啥天朝的贪官屡禁不止?
八卦一下周永康那些破事儿——他的家族、朋党、生意、情妇(多图)

每周转载:关于《编译局言情录》的电子书、网文、网友评论
每周转载:米兔运动(MeToo)冲击佛门,佛协会长竟是淫僧(举报材料及网友评论)
每周转载:网友热议近期多名贪官落马

◇政治 / 法制


聊聊美国政体中的权力制衡——不仅仅是三权分立
美国选举制度为啥这样设计?——兼谈其历史演变
中美政府信息监控的差异——“棱镜门”丑闻随想

被判“谋反罪”的都是哪些人?——“危害国家安全罪”出笼20年随想
每周转载:关于“浦志强庭审”的各方报道和网友评论
每周转载:710事件——全国性维权律师大抓捕(外媒报道及网友评论)

关于2018年修宪的随想
每周转载:两会、修宪、终身制、翻白眼、大外宣(各方报道和网友评论,多图)

每周转载:聂树斌冤案、死刑犯器官移植(相关报道及网友评论)
每周转载:雷洋案第1季——人大校友离奇死亡引大量网友围观
每周转载:雷洋案第2季——北京检方“不起诉”引发轩然大波
每周转载:辽宁交警执法,司机死在派出所,地方衙门称其“身体发生异样”
每周转载:大量网友围观庆安命案,并质疑 CCAV 视频(多图)
每周转载:网民围观长沙警方,区伯收到艳照要挟
每周转载:关于区伯“被嫖娼”事件的相关报道和网友评论
每周转载:网友热议“寻衅滋事”和“泄漏国家机密”的罪名
每周转载:汇总未成年人被性侵被嫖宿的案件(38起,附图)
每周转载:关于“马三家”和劳教制度(网文若干、图片若干)

◇政治 / 八卦


八卦一下天朝党政军的情报机构
如何解读朝廷要员的盖棺定论?

每周转载:习呆呆上台五周年,糗事一箩筐(图片及网友评论)
八卦一下伟光正的十九大
八卦一下“十九大”高层权斗:王岐山高调现身,孙政才黯然落马,栗战书惹上麻烦

每周转载:近期朝廷高层乱象,凸显权力斗争加剧
党国喉舌反遭多次封杀,朝廷高层权斗日渐激烈

呼之欲出的大老虎——与之相比,徐才厚和令计划都不算啥
为啥周永康案还不公布?另八卦一下后续大老虎的热门人选
八卦一下王立军事件的官方报道和小道消息
八卦一下薄熙来去职的官方报道和小道消息
八卦一下薄熙来被立案调查的官方报道和小道消息
八卦一下王立军的官方定性
八卦一下薄熙来的净身出户——好戏还没完
八卦一下薄熙来的初审——澄清某些误读和忽悠
每周转载:网友热议薄熙来被双开

◇政治 / 其它


书评:《中国人的性格》
每周转载:关于天朝的文化和民族的劣根性

厉害国真的很厉害吗?——给小粉红们泼点冷水
我们还能指望什么?——钱云会事件有感
汇总最近几年天朝的雷人语录(此文会不定期更新)
聊聊政客的人品

书评:《一九八四》——反乌托邦的代表作
影评:《V 怪客 / V 字仇杀队》


★历史


回顾六四(系列,已写32篇)
每周转载:六四事件23周年纪念(网文4篇)

谈谈三年大饥荒(系列,已写3篇)
每周转载:关于三年大饥荒(网文3篇)

谈谈真理部对朝鲜战争的忽悠
关于抗日战争——谈谈真理部对历史的篡改
谁是最可恨的人——写给仇日愤青们

中国是从哪个朝代开始落后于西方?

处在历史转折点的小人物们——回首80年代的几则往事
台湾民主运动和独立运动简史

伊斯兰教为何如此奇葩?——关于“巴黎连环恐怖袭击”的随想
伊斯兰教极端主义溯源——“《查理画报》惨案”和“尼日利亚大屠杀”随想
每周转载:伊朗迷你裙的变迁(值得某些毛粉反思一下)

聊聊二战中的日本——分析各方面的优势劣势
二战中日本是如何崩溃的?——兼谈中国战区的作用被夸大

那些对抗诺贝尔奖的政权——和平奖颁奖致辞有感


★外交


苏联是如何被慢慢勒死的?——聊聊冷战中美国的遏制战略
从量变到质变——中美关系40年
每周转载:盘点一下贸易战爆发后的【中美对抗】(2018年4季度)

如何解读金三胖在近期的外交动作
聊聊朝鲜半岛核问题——北朝鲜博弈策略分析
聊聊朝鲜半岛核问题——美国博弈策略分析

每周转载:朝鲜试爆氢弹(各方的报道及评论)
每周转载:朝鲜准备核爆,南韩部署萨徳,中国抵制乐天(大量网友评论)
每周转载:金正男遇刺(汇总各方报道及照片)

扫盲《联合国海洋法公约》——帮你更好地解读“中菲南海仲裁案”
澄清关于南海纠纷的常见误解


★翻墙姿势


如何翻墙——写在 BlogSpot 被封之后(本文定期更新)
“如何翻墙”系列:获取翻墙软件方法大全

学习一下德国人民的翻墙精神

“如何翻墙”系列:扫盲 Tor Browser 7.5——关于 meek 插件的配置、优化、原理
“如何翻墙”系列:TOR 已复活——meek 流量混淆插件的安装、优化、原理
“如何翻墙”系列:关于 TOR 的常见问题解答
扫盲 Arm——Tor 的界面前端(替代已死亡的 Vidalia)

“如何翻墙”系列:Lantern(蓝灯)——开源且跨平台的翻墙代理
“如何翻墙”系列:扫盲 VPN Gate——分布式的 VPN 服务器
“如何翻墙”系列:简单扫盲 I2P 的使用
“如何翻墙”系列:自由門——TOR 被封之后的另一个选择
“如何翻墙”系列:双管齐下的赛风3
“如何翻墙”系列:新版本无界——赛风3失效后的另一选择
“如何翻墙”系列:扫盲 VPN 翻墙——以 Hotspot Shield 为例
聊聊 GFW 如何封杀 Resilio Sync(BTSync)?以及如何【免翻墙】继续使用?
“如何翻墙”系列:fqrouter——安卓系统翻墙利器(免 ROOT)
“如何翻墙”系列:基于 Skype 翻墙

扫盲 DNS 原理,兼谈“域名劫持”和“域名欺骗/域名污染”
对比4种强化域名安全的协议——DNSSEC,DNSCrypt,DNS over TLS,DNS over HTTPS

多台电脑如何【共享】翻墙通道——兼谈【端口转发】的几种方法
如何用 Privoxy 辅助翻墙?
用图片传播翻墙软件

2017年10月翻墙快报(兼谈用 I2P 突破封锁)
2015年8月翻墙快报
2015年2月翻墙快报
2015年1月翻墙快报
2014年5月翻墙快报(继续补充 VPN Gate 经验)
2013年7月翻墙快报(补充介绍 VPN Gate 经验)
2013年1月翻墙快报
2012年11月翻墙快报(用I2P突破18大期间的封锁)
2012年9月翻墙快报(兼谈复活TOR的方法)
2012年7月翻墙快报
2012年4月翻墙快报
2012年2月翻墙快报

每周转载:关于 GitHub 和 GFW 的 PK(第2季)
每周转载:关于 GitHub 和 GFW 的 PK
面对墙,我们所能做的就是——让 GFW 陷入到人民战争的汪洋大海


★信息安全


“对抗专制、捍卫自由”的 N 种技术力量
每周转载:关于黑客文化和黑客精神
每周转载:EFF 创始人约翰·佩里·巴洛和他的《赛博空间独立宣言》
每周转载:天朝【御用骇客】是如何暴露的?

如何隐藏你的踪迹,避免跨省追捕(系列,已写10篇)
如何防止黑客入侵(系列,已写8篇)
如何保护隐私(系列,已写10篇)
信息安全之社会工程学(系列,已写5篇)
如何对付公司的监控(系列,已写3篇)

如何对付公安部门的“网络临侦”?——“黑暗幽灵(DCM)木马”之随想
勒索软件是骇客攻击的新趋势,兼谈防范措施及各种误解

扫盲文件完整性校验——关于散列值和数字签名

文件加密的扫盲介绍
用图片隐藏信息的技术实现

文件备份技巧:组合“虚拟加密盘”和“网盘”

扫盲 VeraCrypt——跨平台的 TrueCrypt 替代品
扫盲 dm-crypt——多功能 Linux 磁盘加密工具(兼容 TrueCrypt & VeraCrypt)
TrueCrypt——文件加密的法宝
TrueCrypt 使用经验(系列,已写4篇)
分析一下 TrueCrypt 之死(自杀 or 他杀?)——兼谈应对措施

为什么桌面系统装 Linux 可以做到更好的安全性(相比 Windows & macOS 而言)
吐槽一下 Windows 的安全漏洞——严重性超乎想象
扫盲 Tails——专门强化隐匿性的 Linux 发行版

弃用 Chrome 改用 Firefox 的几点理由——关于 Chrome 69 隐私丑闻的随想
基于安全性考虑,如何选择及切换 Firefox 版本?

扫盲 HTTPS 和 SSL/TLS 协议(系列,已写4篇)
数字证书及 CA 的扫盲介绍
CNNIC 证书的危害及清除方法

Startpage——保护隐私的搜索引擎,搜索质量等同 Google
使用 GitHub 的几种方式——兼谈安全性和隐匿性的经验

对 OpenSSL 高危漏洞 Heartbleed 的感慨、分析和建议
CSDN 及人人网的用户密码分析

★软件介绍


(关于翻墙软件的介绍,归入“翻墙类”,不放在这一章节;和“信息安全”相关的软件,归入“信息安全”类,也不放这里)

扫盲 BTSync(Resilio Sync)——不仅是同步利器,而且是【分布式】网盘

扫盲操作系统虚拟机(系列,已写7篇)

扫盲 Linux:新手如何搞定 Linux 操作系统
扫盲 Linux:如何选择发行版

如何用 ISO 镜像制作 USB 安装盘(通用方法、无需 WinPE)
如何用【内置硬盘】全新安装 Windows 2000/XP/2003/Vista/2008/7/8(无需光驱和 USB)

Windows XP 大限已至——要不要换系统?如何换?
Google Reader 的替代品,哪个比较靠谱?

无需任何插件或扩展,定制 Firefox 外观
如何用 GreaseMonkey 扩展 Google Reader

磨刀不误砍柴功——聊聊个人 IT 基础设施的完善


★经济


股市点评:为啥大多数散户必定亏钱?——心理学层面的分析
股市点评:一头伪装成“改革牛”的“杠杆牛”

为啥急功近利反而赚不到钱——给拜金主义者的忠告
回顾历史上的加州淘金热——给比特币矿工的忠告

每周转载:汇市的三个咒符(人民币汇率、官方外汇储备、中国持有的美国国债)
每周转载:2018年这轮股灾到底有多惨,看了你就知道了

每周转载:经济新常态,“中国模式”开始褪色——汇总2015年各行业萧条的报道
每周转载:天朝近期的宏观经济形势很不妙(国内外各方报道)

每周转载:关于天朝近期的股灾(外媒报道及大量网友评论)
每周转载:关于银行“钱荒”、地方债和理财产品
每周转载:帮你分析天朝的房地产市场
每周转载:关于天朝近期的宏观经济数据
每周转载:关于社保和养老(网文6篇)
解读《郎咸平10月22日在沈阳的演讲》


★企业管理和职场经验


什么是【真正的】兴趣爱好?以及它有啥好处?
成功学批判——简述其危害性及各种谬误
每周转载:关于人生(网文3篇)

每周转载:德鲁克谈【自我管理】——《哈佛商业评论》史上最受欢迎的文章
二八原理在管理中的应用(系列,已写3篇)

硅谷 CEO 们的教父——分享安迪·格鲁夫的管理经验
俺的招聘经验(系列,已写5篇)
招聘的误区

如何成为优秀开发人员(系列,已写7篇)
跳还是不跳,是一个问题——跳槽时该如何权衡?
闲话个人品牌的包装——从李开复离职联想到的
如何包装个人品牌?
唐骏的问题,仅仅是虚荣心那么简单吗?


★环境保护


谈谈环保问题的根源和解决之道
从几个不同的角度聊聊“雾霾的危害”

每周转载:连云港民众抗议核废料处理厂(相关报道及网友评论)
每周转载:上海金山区反 PX 环保抗议活动(大量图片)
每周转载:广东茂名反 PX 环保抗议活动(照片及网友评论)
每周转载:关于毒大米和土壤污染
每周转载:关于宁波镇海的环保抗议(评论若干,照片多张)
每周转载:关于启东的环保抗议(照片多张、视频若干)
会叫的孩子有奶吃——启东人民在行动,上海人民怎么办?
每周转载:关于什邡的环保抗议(网文3篇、照片若干、视频若干)


★科普


科学是什么?——兼谈“非科学、伪科学、反科学”和一些常见谬误
扫盲非洲猪瘟,点评中国疫情
聊聊不同学科中的坑爹翻译


★教育


聊聊麻省理工学院(MIT)的恶作剧文化——阿里巴巴月饼事件随想
每周转载:高考背后的“公平问题、人口问题、腐败问题”(网文3篇)


★时事点评


◇时事点评 / 原创博文


十九大闭幕一个月,点评天朝的几条热点新闻
看看天朝官僚系统多么低效和无能——天津大爆炸随想

你意想不到的恐怖主义帮手——昆明暴力袭击事件随想
点评“台湾服贸问题”和“太阳花学运”
三中全会解读:名为改革,实为集权,天朝或重回个人独裁

闲聊中美文化差异——9·11十周年随想
2016年美国大选的选情分析

行动起来,为了自由和开放的互联网
国际电信世界大会以失败告终——互联网躲过一劫

方校长和方校长
普天同庆金二胖归西

天朝的人命不值钱——动车追尾事故有感
7·23动车追尾事件一周回顾

让拆尼斯的茉莉花绽放
中国茉莉花革命——227集会多图回顾
参加茉莉花集会的注意事项

◇时事点评 / 每周转载


每周转载:携程托儿所虐童事件(各方评论及照片、视频)
每周转载:刘晓波病危,举世关注,各方声援(大量网友评论)
每周转载:魏则西事件、百度广告、莆田系、军队医院(各方报道及网友评论)

每周转载:疫苗之殇,万民遭殃(大量网友评论)
每周转载:关于“全国性疫苗丑闻”的引申阅读(网文5篇)
每周转载:震惊全国的山东疫苗事件(各方报道及网友评论)

每周转载:关于土耳其击落俄罗斯战机(相关照片及网友评论)
每周转载:关于“全面放开二孩”和“奇葩的计生政策”(各方报道及网友评论)
每周转载:关于习呆呆的93大阅兵(各方报道及网友评论)
每周转载:关于“东方之星”沉船事故(外媒报道及大量网友评论)
每周转载:缅甸军机多次越境并炸死多名中国公民(大量网友热议)
每周转载:天朝科研的奇葩——透明计算,相关报道和网友评论
每周转载:上海外滩踩踏事件,相关报道和网友评论
每周转载:关于“俄罗斯卢布崩盘”的媒体报道和网友评论
每周转载:香港雨伞革命的外媒报道和【大量】照片(11-19至12-2)
每周转载:香港占中民主运动的外媒报道和【大量】照片(9-29至10-2)
每周转载:香港占中民主运动的外媒报道和【大量】照片(9-22至9-28)
每周转载:关于苏格兰独立公投的网友评论
每周转载:关于香港和澳门的特首选举(外媒报道和网友评论)
每周转载:关于“一国两制白皮书”和“国台办言论”(大量网友评论和图片)
每周转载:“六四事件”25周年纪念(【大量】照片和网友评论)
每周转载:关于新疆“民族、宗教、恐怖主义”问题的报道和分析(网文8篇)
每周转载:最近半个月的15起大规模罢工/维权事件(上百张照片)
每周转载:幼儿园集体服药事件和相关抗议活动(网文若干,照片多张)

每周转载:网友热议北朝鲜张成泽倒台
每周转载:汇总中石化输油管爆炸事故(图片若干、评论若干)
每周转载:关于三中全会(网文5篇,评论若干)
每周转载:关于埃及近期的政局
每周转载:关于“棱镜门”丑闻的相关报道
每周转载:关于朝廷近期舆论和习近平的嘴脸
每周转载:关于京温女孩袁利亚之死(许多评论和照片)
每周转载:关于朱令铊中毒案(网文5篇)
每周转载:关于雅安地震的种种乱象(大量网友评论和图片)
每周转载:关于禽流感的网友评论
每周转载:关于朝鲜核试验(网文7篇,评论若干)
每周转载:关于权力和笼子(网文5篇)
每周转载:关于《南方周末》事件(网文5篇,照片若干,评论若干)

每周转载:关于莫言的争议(网文4篇)
每周转载:关于西藏日益频繁的自焚事件(网文5篇)
每周转载:“伟光正”的十八大(评论若干,照片多张)
每周转载:网友热议莫言获诺贝尔文学奖
每周转载:关于哈尔滨桥梁垮塌事故(网文3篇,微博若干)
每周转载:关于中国体育的举国体制(网文4篇)

每周转载:全国各地的水灾以及背后的人祸(多图)
每周转载:汇总北京7-21暴雨的照片和评论

回顾2011年重大群体事件(多图)

看看网友如何评论刘晓波得诺贝尔和平奖


★编程


(近几年,编程类博文已经写得比较少了——精力都放在“政治”、“翻墙”、“心理学”、“历史”。普及这些领域的知识比普及编程更重要,受益的人更多。)

每周转载:IT 大牛谈编程语言(网文3篇)

架构设计:生产者 / 消费者模式(系列,已写4篇)
架构设计:进程还是线程?是一个问题!

C++ 的可移植性和跨平台开发(系列,已写6篇)
C++ 对象是怎么死的?(系列,已写4篇)
书评:《C++ 101编程规范》
C++ 多线程调试和测试的注意事项
C/C++ 中一个简单的 enum 手法(idiom)

Java 新手的通病(系列,已写5篇)
Java 性能优化(系列,已写4篇)
Java 新手进阶,细说引用类型

为什么俺推荐 Python?(系列,已写5篇)

有关封装和信息隐藏的误区
再举几个动态语言 eval 手法的例子
求质数算法的 N 种境界(系列,已写1篇)

聊聊分布式散列表(DHT)的原理——以 Kademlia(Kad) 和 Chord 为例


★开源项目


GitHub 通告:整理了一个 C 和 C++ 开源库的清单(含示例代码)

如何选择开源项目
开源点评:ZeroMQ 简介
开源点评:Protocol Buffers 介绍
开源点评:Sqlite 数据库扫盲
开源实践:Sqlite 的使用场景
开源点评:cURL——优秀的应用层网络协议库
开源点评:源代码版本控制系统介绍
开源项目:【自动】绘图工具 Graphviz——《太子党关系网络》就是用它制作


★软件工程


软件工程进阶之每日构建(系列,已写5篇)
如何开展灰盒测试(系列,已写4篇)
二八原理在软件开发中的应用
书评:《人月神话》


★IT 业界八卦


聊聊大伙儿(包括某些职业围棋手)对 AlphaGo 的误解
每周转载:AlphaGo 超快棋遍虐人类高手(职业棋手讲解及大量网友评论)
每周转载:关于人工智能对人类的影响(网文3篇)

老流氓 CNNIC 的接班人——聊聊“沃通/WoSign”的那些破事儿
CNNIC 干过的那些破事儿

“传统博客”过时了吗?——兼谈各种媒介形态的优缺点
每周转载:Google Reader 之死
Google Reader 之死——原因分析、应对措施、教训

Google 收购摩托罗拉移动,仅仅是为了专利吗?
高处不胜寒的苹果
Oracle 收购 SUN,会有啥影响?
微软需要 Twitter 来对抗 Google
从 Twitter 的突发新闻报道看草根记者的崛起 +
+ +
+ + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/02/Use-Disk-Encryption-Anti-Computer-Forensics.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/02/Use-Disk-Encryption-Anti-Computer-Forensics.html" new file mode 100644 index 0000000000000000000000000000000000000000..7036cc31ffb52c54a2d8fac9165621c0fb5928cd --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/02/Use-Disk-Encryption-Anti-Computer-Forensics.html" @@ -0,0 +1,26 @@ + + + + + + + +如何用“磁盘加密”对抗警方的【取证软件】和【刑讯逼供】,兼谈数据删除技巧 - 编程随想的博客 + + +
+

如何用“磁盘加密”对抗警方的【取证软件】和【刑讯逼供】,兼谈数据删除技巧

+ +
+
+  春节假期结束啦,继续来谈信息安全的话题。
  先顺便说俩事儿:
1. 虽然本文与上一篇博文的间隔超过两周,但俺上一次【网络活动】是2月7日(在回复读者评论)。所以,依然属于【正常静默】。不要担心俺 :)
2. 上一篇博文发出后,经几位热心读者提醒,俺又对“社会工程学”那个章节补充了几点内容。

★引子


  前不久正值【开博十周年】之际,俺写了一篇《为啥朝廷总抓不到俺——十年反党活动的安全经验汇总》。
  今天这篇是对前一篇进行补充,主要谈——如何对付警方?看到俺写这样的东西,公安系统的“网监部门”和“技侦部门”,肯定又不爽了 :)


★本文讨论的范围


  为了避免某些读者来抬杠,先声明一下本文讨论范围。

◇面向【高风险政治人士】


  和前一篇博文类似,这篇也是写给“高风险政治人士”(类似俺这种反党人士)的教程。
  如果你有可能成为【警方】的重点关注目标,大概就可以算是“高风险”啦。
  (注:此处的“警方”包括天朝的“公安部、国安部”或类似机构;也包括其它国家的类似机构)

  当然啦,所有的技术都是【双刃剑】——都可能被滥用。某些在网络上干坏事的家伙,也会从本文中受益。关于这点,俺也很无奈 :(
  但是,俺不会因为技术存在被滥用的可能性,就停止对技术的传播和普及。

◇本文只讨论【个人电脑】,【不】讨论手机或平板


  俺已经多次谈过【移动设备的危险性】。显然,“高危人士”就【不该】在手机上进行任何危险操作。
  因此,本文不打算谈“手机的话题”,只讨论【个人电脑】(桌面 PC)。
  (注:本文中所说的“PC”,既包括“台式机”,也包括“笔记本电脑”)

◇本文主要介绍【通用】的方法论


  为了叙述方便,在涉及“操作系统”时,俺会拿 Linux 来说事儿。用 Windows 或 Mac OS 的同学,请依样画葫芦。
  为了叙述方便,在谈到“磁盘加密软件”时,俺会以 TC(TrueCrypt)/VC(VeraCrypt)来举例。但本文介绍的方法,也能适用于其它磁盘加密工具(前提是——要支持【key files】这种机制)。


★本文的特色


  网上已经有很多关于【磁盘加密】的教程。包括俺自己,也已经写了好多这类教程。
  为了避免读者说俺炒冷饭,先说说本文的【特色】。

◇本文会更多地讨论【物理安全】


  关于其它层面的防御,在《为啥朝廷总抓不到俺——十年反党活动的安全经验汇总》一文中已经谈了很多。所以,本文会更多地讨论:PC 的【物理安全】。
  与“网上的骇客”不同,警方不光能【物理接触】你的 PC,甚至可以没收你的 PC(拿回去做“数据取证分析”)。因此,当你面对警方的时候,【物理安全】很重要!
  (由于主要讨论“物理安全”)在本文中,如果没有特别注明,关于【操作系统】的讨论,针对的是【物理系统】(Host OS)。

◇本文会更多地讨论【紧急情况】的应对


  警方不光可以把你的电子设备(电脑、手机)拿去做“数据取证分析”,还可以限制你的行动自由(拘捕/逮捕)。
  所以本文会花一些篇幅讨论——如何应对【紧急情况】。也就是说,当你即将丧失行动自由【之前】,该做哪些操作,对你最有利。
  请注意:在你被捕之前,你对敏感数据销毁越彻底,警方就越拿你没办法(因此也就对你越有利)。


★警方如何【破解】加密盘?


  《孙子兵法》说【知己知彼 百战不殆】。你要防范对方,首先要知道对方有哪些招数。
  关于“攻击者如何破解加密盘”这个话题,俺在5年前(2013)已经写了一篇:《TrueCrypt 使用经验[3]:关于加密盘的破解和防范措施》。
  虽然那篇是针对 TrueCrypt 加密盘,但其中提到的几种破解手段,对其它格式的加密盘(VeraCrypt,LUKS,BitLocker ......)也适用。
  考虑到某些新读者没有看到那篇旧博文,俺把那篇中提到的几种破解手段再【简述】如下。

◇利用“加密算法本身的漏洞”——基本上【不可能】


  【成熟的】磁盘加密软件,使用的“对称加密算法”肯定也是【成熟】滴。
  以 TC(TrueCrypt)/VC(VeraCrypt)为例,它支持的“对称加密算法”是“Rijndael(AES)、Twofish、Serpent”。
  当年美国国家标准局(NIST)公开招标21世纪的新一代加密算法标准(叫“高级加密标准”,简称“AES”);经过多次淘汰,有5个算法成为【最后一批】候选者,上述的3个算法也在这5个当中;最终是 Rijndael 正式被选中成为 AES(所以,现在所说的 AES 也就是指 Rijndael)。
  由于这三个算法是历经淘汰的最后一批候选者,算法本身已经被世界各国的密码学专家仔细检查过啦,【几乎不可能】出现算法层面的漏洞。
  引申阅读:在如下博文中介绍了磁盘加密常用的几种“对称加密算法”。
《TrueCrypt 使用经验[1]:关于加密算法和加密盘的类型》

◇对密钥的穷举——基本上【不可能】


  刚才说啦——成熟的磁盘加密软件,使用的加密算法肯定也是【成熟】滴。
  既然如此,算法使用的密钥,其“密钥空间”肯定足够大。因此在足够长时间内(几代人),并考虑到摩尔定律带来的算力增长,都【不可能】对密钥进行穷举。
  以 AES256 为例,其密钥有【256 比特】,所有可能的密钥数量是【2的256次方】。这个数有多大捏?
2^256 = 115792089237316195423570985008687907853269984665640564039457584007913129639936

◇对【弱】密码/口令的【暴力猜解】——常见招数


  这是最常见的手段,专门针对【弱密码】(weak password)。
  由于本文要对付的是【警方】。他们比一般的骇客具备更多的资源。比方说,天朝的警方已经建立了专门用于“暴力猜解密码”的【服务器集群】,可以大大提升密码猜解的效率。普通骇客用“单机”无法暴力猜解的密码,有可能被警方搞定。

  但是,这招很好对付——你只需要引入【key files】作为加密盘的“认证因素”,就可以让警方的暴力猜解变得【不可能】。
  在《TrueCrypt 使用经验[2]:关于加密盘的密码认证和 KeyFiles 认证》一文中,俺已经谈过“key files”的“用途”和“注意事项”。关于“注意事项”,再说一次:
1. key files 要使用“二进制文件”,【不要】用“文本文件”
2. key files 最好是【随机生成】(TC 和 VC 自带了“随机生成 key file”的功能)
3. key files 的文件尺寸【至少64字节】
  外行的读者可能会觉得“64字节”太小了。其实“64字节”的随机文件,已经足够对抗穷举。一个字节有8比特,64字节有512比特。因此,64字节的随机内容,其可能的数量是“2的512次方”——这已经大大超过刚才提到的“AES 256 密钥空间”了。
  给大伙儿秀一下这个数有多大。
2^512 = 13407807929942597099574024998205846127479365820592393377723561443721764030073546976801874298166903427690031858186486050853753882811946569946433649006084096

  另外,像 TC/VC 这两款磁盘加密软件,最多只提取【每个】key file 开头的一兆字节(1MB)参与密钥生成。所以,随机生成的 key file,每个都【不必】超过 1MB。

◇【窃取】加密盘的【密钥】——常见招数,本文的重点


  前面提到的几种攻击手法,都比较好解决(容易防御)。比较难对付的是这招——“攻击者盗取密钥”。所以,对这招的防范是本文的重点内容之一。
  下面,俺分多个章节,对这个话题进行展开。

◇用【审讯】的方式获得“密码和 key files”——常见招数,本文重点


  前面的“攻击手法”都属于【技术手段】。如果警方尝试了技术手段而不可得,那自然会采用【审讯】的方式。
  在《为啥朝廷总抓不到俺——十年反党活动的安全经验汇总》一文,俺已经谈到了【如何对付审讯】(包括酷刑)。
  原理很简单——如果你的加密盘采用了【随机生成】的 key files 作为“认证因子”。你只需要在“丧失行动自由(被捕)”之前【彻底销毁】key files;如此一来,连你自己都【不可能】打开加密盘。酷刑也就失去意义啦。
  原理说起来蛮简单,但落实起来会涉及到很多细节。比如说:如何【既彻底又快速】地销毁 key files?下面单列一个章节来谈。


★为啥加密盘的【密钥】如此关键?


◇【密钥】是啥玩意儿?


  (考虑到大部分读者基本不懂密码学,俺尽可能通俗地解释一下【密钥】是啥玩意儿)
  密钥说白了就是一段数据,可以用来加密或者解密。磁盘加密软件用的算法都是“对称加密算法”。这种算法的特点是:“加密的密钥”和“解密的密钥”是【同一个】。假设你用“密钥 K”把一段“明文 P”变成“密文 C”,那么你同样可以用 K 把 C 变为 P。
  除了“对称加密算法”,还有一类算法叫做“非对称加密算法”——“加密的密钥”和“解密的密钥”是【不同】滴。这类算法与本文无关,就不展开介绍啦。

◇“密钥”(key)与“密码/口令”(password)有啥【区别】?


  很多不懂技术的网友经常混淆“密钥”和“密码”,其实这两者是【完全不同】滴:
1. 密钥(key)直接参与加密/解密运算滴。
2. 密码(password)【不】参与“加密/解密”运算,它的作用是保护“密钥”。

◇为啥说密钥【很重要】?


  首先,
  如果攻击者能通过某种方式【窃取】密钥(key),就可以直接用密钥(key)【解密】加密盘存储的数据。
  也就是说——在【不知道】你的密码和 key files 的情况下,也能打开加密盘。
  其次,
  一旦创建了加密盘,其密钥就固定了。即使你修改了加密盘的“认证因子”(“密码”或“key files”),密钥依然【不变】。
  一旦攻击者拿到某个加密盘的密钥,不论你如何修改密码,攻击者依然可以打开这个加密盘。
  综上所述,
  “密钥”的重要性【超过】“密码”和“key files”。

◇密钥如何【生成和存储】?


  (本小节谈【技术原理】。比较懒的同学,可以跳过这个小节。不影响后续阅读)
  密钥的生成
  简单地说,是通过某种复杂的数学运算产生出来(密码学术语叫“密钥生成函数”)。在“密钥生成函数”的生成过程中会用到【哈希运算】和【多次迭代】。(注:“哈希运算”也叫“散列运算”,洋文叫“hash”,这篇博文有 hash 的扫盲)
  如果你用图形界面的 TC 或 VC 创建一个新的加密盘,在创建过程中,软件会提示你:尽可能快速并随机地移动鼠标。这么干是通过你随机移动鼠标,让软件能收集到足够多的随机数据(足够的【熵值】)
  为啥要搞如此复杂的数学方式来创造密钥捏?(通俗地说)要达到——为了让密钥尽可能随机,使得攻击者无法猜测密钥,也无法缩小密钥的分布范围。

  密钥的存储
  加密盘的密钥,会以【加密】的形式存储在加密盘的“头部或尾部”。而你设置的“密码”或“key files”,就是用来加密密钥的。
  所以,当你要打开加密盘时,如果输错了“密码”或“key files”,加密盘的密钥解不出来,自然就打不开。


★如何防止攻击者【窃取】密钥?


◇确保物理系统(Host OS)的【纯洁】


  关于这点,无需多言。
  如果你的物理系统本身已经中招(感染了恶意软件),那么,其它所有的防范措施皆是空中楼阁。
  关于这个话题,可以参见之前的系列教程:
《如何防止黑客入侵》

◇在电脑的 BIOS 设置“开机密码”和“硬盘锁密码”


  这2点也是老调重弹了——俺刚在《为啥朝廷总抓不到俺——十年反党活动的安全经验汇总》中已经提到过。
  设置这两个密码,是为了防止攻击者(警方人员)在物理接触你的电脑之后,在(主引导扇区的)boot loader 中植入恶意软件,从而盗取你全盘加密的“密码或密钥”。
  (注:在【不】依赖外部启动介质的情况下,主引导扇区是【不可能】加密滴。因为至少要有一个【明文】的程序,让你输入“全盘加密的”解锁密码,并执行解锁的动作)
  从技术上讲,你也可以把 boot loader 放到某个外置的【可启动 U 盘】中,每次开机都先插入该 U 盘。但这么干太麻烦,而且会引来额外的风险。因为 U 盘没法像笔记本那样设置【硬盘锁】。警方的技侦人员如果能偷偷拿到你的这个启动 U 盘,同样可以植入恶意软件。

◇【禁用】“虚拟内存”


  现代操作系统都有“虚拟内存”的机制。对 Windows 而言,叫做“页交换文件”,对 Linux 而言就是“swap 分区”。
  “虚拟内存”的作用在于——当物理内存比较紧张的时候,把一些不经常访问的“内存页”转储到硬盘,就可以腾出物理内存来存放新的内容。
  一旦启用了“虚拟内存”,也就存在某种可能性——【敏感加密盘的密钥】有可能会残留在“虚拟内存”(也就是硬盘上)——显然,这增加了你的风险。

  有些同学可能会问:既然已经“全盘加密”,不论是“swap 分区”还是“页交换文件”,都被加密了。为啥还要担心这个风险?
  下面,俺来回答一下——
  前一篇博文之所以建议:在“全盘加密”的基础上再搞“敏感加密盘”,就是因为这两个东西的【密级不同】——“敏感加密盘”的密级【更高】。
  如果你在物理系统(Host OS)中启用了“虚拟内存”,你就把“敏感加密盘”的安全等级【降低到】与“全盘加密”一样的水平。换句话说,一旦攻击者能够突破全盘加密,也就【有可能】从“虚拟内存”中找到“敏感加密盘的密钥”,从而突破“敏感加密盘”。

◇谈谈“关机、休眠、待机”三者的安全差异


  在《为啥朝廷总抓不到俺——十年反党活动的安全经验汇总》一文中,俺提到:
当你要【长时间】离开自己的电脑——应该【关机】(shutdown);而【不要】“休眠”(hibernation)或“待机”(suspend,stand by)
  现在来解释一下:

  休眠(hibernation)
  所谓的“休眠”(hibernation),说白了就是把【整个物理内存】保存到硬盘中的“休眠文件”。这非常危险!危险的原因参见“虚拟内存”那个小节的讨论。另外,如果你在【未卸载】“敏感加密盘”的情况下让系统休眠,那么“休眠文件”中【必定包含】“敏感加密盘”的【密钥】。

  待机(suspend,stand by)
  如果你已经禁用了“虚拟内存”和“休眠功能”,仅仅是让系统“待机”,这种情况下,加密盘的密钥【不会】出现在硬盘上,但还是有风险——如果你在待机之前【没有】卸载加密盘,加密盘的密钥还在物理内存(RAM)中。
  如今的 DRAM 内存条在断电后依然有【数据残留】。在你离开电脑的这段时间里,如果警方的技侦人员对(正在待机的)电脑进行【冷启动攻击】(洋文叫“cold boot attack”,维基百科的链接在“这里”),可以直接拿到【内存条】中的数据,再从中分析出“加密盘密钥”。
  (注:断电之后,内存条中的数据【不会】立即消失,会有一个残留时间。温度越低,残留时间越长。在正常的室温下,内存条的数据残留时间【不超过】10分钟)

  引申阅读:
  在2013年的旧博文,俺已经介绍了【冷启动攻击】的原理和手法。
《TrueCrypt 使用经验[3]:关于加密盘的破解和防范措施》
  “冷启动攻击”这个手法已经有10年以上的历史。很多笔记本厂商在硬件和 BIOS 方面做了一些防范措施。可惜的是:前几个月(2018年9月),国外安全研究人员曝光了“冷启动攻击”的新进展——可以突破所有主流 PC 厂商(与“待机”相关)的防御。
《研究人员警告现代计算机都易受冷启动攻击 @ Solidot》
《New modification of the old cold boot attack leaves most systems vulnerable @ Ars Technica》

  关机(shutdown)
  既然“休眠”和“待机”都靠不住,你只剩下一个选择——【关机】。
  前面提到——正常的室温下,内存条的数据残留时间【不超过】10分钟。也就是说,只要关机超过10分钟,就【不可能】进行“冷启动攻击”了——因为内存条中的数据全都消失了。

  补充:锁定屏幕
  如果你仅仅是“锁定屏幕”,其风险情况与“待机”类似——你的 PC 会被【冷启动攻击】搞定。

  补充:混合睡眠模式
  经热心读者提醒:Windows8 开始引入了【混合睡眠模式】。即使在“待机”状态下也会保存一部分内存到硬盘上。
  因此,你应该彻底禁止“休眠功能”(具体参见微软官网的“这个链接”)。

◇禁用 FireWire DMA


  “FireWire”是某种硬件接口规格(俗称“火线接口”,也叫“IEEE 1394 接口”)。这玩意儿支持 DMA(direct memory access)方式直接操作【物理内存】。所以攻击者如果能物理接触你的电脑,可以在你的电脑上插入某个特定 FireWire 设备,然后利用 DMA 的方式直接读取整个系统的内存。因此,这招也叫做“DMA attack”
  这种攻击方式不仅仅是理论上可行,前几年就已经有人搞了傻瓜化的“DMA 攻击工具”。
  如果 BIOS 有 FireWire DMA 相关选项,应该禁掉;或者在操作系统层面禁用相关的功能(通过“重编译 Linux 内核”)。
  由于这个方式也是针对【运行状态下】盗取内存。所以,【关机】可以对付这种攻击方式。


★“机械硬盘”与“固态硬盘(闪存)”【删除数据】的差异——损耗均衡技术


◇“损耗均衡技术”是啥玩意儿?


  为了介绍后面的章节,需要先扫盲一个小知识——损耗均衡技术(洋文叫“wear leveling”)。
  考虑到本文的大部分读者不是 IT 硬件方面的专业人士,俺尽量通俗地扫盲一下。
  所谓的“固态硬盘”(SSD),是以【闪存】作为永久性存储介质。平时咱们用的“U盘”也是以【闪存】作为介质。(为了打字省力,本文以下章节凡是提到“闪存介质”,就是指——“采用闪存作为存储介质”的各种东西的【总称】)
  “闪存介质”相比“机械硬盘”的一大【缺点】是——写入次数的上限比较低。如果某个存储单元的数据反复更改(反复写入),达到上限后,这个存储单元就坏掉(变为“不可用”)。
  “闪存介质”的厂商为了解决这个问题,采用了“损耗均衡技术”(详细介绍请看维基百科的“这个链接”)。比如某个文件,原先存储在“a单元”,当你更改了文件内容并保存,新的内容就不在“a单元”了,而是把新内容存到一个用得最少的“b单元”。此时,“a单元”里面依然有该文件的【旧内容】。
  请注意,这个技术是由【硬件层面】(闪存介质的控制器)实现的,对操作系统【不可见】。

◇“损耗均衡技术”【不利于】彻底删除数据


  聪明的读者,看完前一个小节,已经发现问题所在了。
  很多时候,为了彻底删除文件,要用“垃圾数据(随机数据)”去覆盖文件的原有内容,从而让原有内容【不可恢复】。这个招数对“机械硬盘”是 OK 的,但对“闪存介质”就不灵了。因为“损耗均衡技术”使得你覆盖的内容存到的【别的】单元,根本【没达到】你想要的目的。
  而且俺刚才也说了——“损耗均衡技术”是由硬件层面的存储控制器实现,对操作系统不可见。所以,用【软件方式】难以证明某个存储单元是否【真正被覆盖了】。

◇对【闪存介质】,如何彻底删除文件?


  综上所述,要想在“闪存介质”中彻底删除文件,你需要换一种思路,大致如下:
1. 先简单删除该文件
2. 用垃圾数据(随机数据)填满该存储介质的剩余空间——要 100% 填满。
(这样才能确保——原先保存过敏感数据的单元,已经被垃圾数据覆盖掉)

  注意事项:要填满的是【物理硬盘】的“剩余空间”,而不是【分区】的“剩余空间”。
  举个例子:
  假设你的固态硬盘有多个分区。敏感文件在“分区1”,你把敏感文件删除后,光填满“分区1”的剩余空间是【不够】滴。
  正确做法是——你要把【所有】分区的剩余空间都填满,才能确保之前保存过敏感数据的单元,确实被垃圾数据覆盖掉了。

◇闪存厂商提供的工具,是否可信/可靠?


  某些闪存介质的厂商会提供一些配套的工具/软件,据说可以提供【彻底删除】的功能。
  对此,俺表示谨慎的怀疑。因为无法验证其效果。
  所以,为了保险起见,还是老老实实去【填满剩余空间】吧。

◇小结


  正式因为“闪存介质”要彻底删除文件,如此之麻烦。所以那些看重隐私保护的同学,更加应该早早用上【全盘加密】。
  一旦你在“闪存介质”上使用【全盘加密】,每一个物理存储单元中的数据都是【密文】——“损耗均衡技术”就不再是障碍啦。


★如何【快速且彻底】销毁加密盘的数据?


◇为啥要强调“快速且彻底”?


  为啥俺强调【彻底】?——只有彻底地销毁数据,才能对付警方的【取证软件】;
  为啥俺强调【迅速】?——警方想要拘捕你,当然不会留给你从容的时间。比如说:当警方人员正在撞门的时候,留给你的时间可能连1分钟都不到。

◇“销毁”的含义


  本章节所说的“销毁”是指——让任何人【包括你自己】再也无法得到加密盘里面的数据。

◇为啥“哄骗”不可行?


  本文发出后,某些热心读者提到了“哄骗”的招数。简单说就是:你假装销毁,但其实并没有。这样做,将来你自己还能继续打开加密盘。
  俺认为:这种方法【不够】可靠,甚至是危险的想法。理由如下:
如果你是警方的重点关注对象,或者你是重大案件的关键人物,警方肯定会动用【刑侦和审讯】方面的高手来参与办案。
在这种情况下,你【别想】太容易哄骗对方。除非你自己也受过【严格的】“反侦查和反审讯”方面的训练。
但试问:有几个人具备这个条件?
  基于上述理由——只有当你在紧急情况下,无法彻底销毁敏感数据,再考虑“哄骗”的招数。

◇【错误】方式举例


  首先来说说【反面】教材。所谓“错误的方式”指的是——【不够彻底】或者【不够快速】的方式。

  错误方式1——用“普通的删除命令”删除加密盘里面的文件
  (所谓的“普通删除命令”,比如:Linux 下的 rm 命令,Windows 下的 del 命令)
  首先,这种做法【不】彻底(会被“取证软件”恢复出来);其次,如果加密盘中的文件很多,这种做法太慢。

  错误方式2——用“专门的【擦除】命令”彻底删除加密盘里面的文件
  (所谓的“专门的擦除命令”,比如 linux 下的 shred 命令)
  这种方式比较彻底,但是【慢】。如果文件很多,就非常慢。
  (注:shred 支持【多轮反复擦除】,可以防范专业取证人员对机械硬盘的“剩磁分析”,但也导致其速度很慢。即使你把 shred 设置为“只擦除1轮”,速度还是慢)

  错误方式3——快速格式化
  这种方式速度快,但是不彻底——被“快格”的分区,数据全都在。

  错误方式4——彻底格式化
  这种方式算是比较彻底,可惜【太慢】了。如果格式化的分区有好几个 GB,你就慢慢等吧。

◇【正确】方式——彻底删除 key files


  关于这招,已经提到过多次了。不但本文提到,之前在多篇博文中也提到。
  这种方式有两种实现——“软删除”和“硬删除”。
  如果 key files 存储在 PC 的硬盘上,用软件方式(比如:shred 命令)彻底擦除内容。为了讨论方便,以下称之为:“软删除 key files”。
  如果 key files 放在【外部】的存储介质(比如:U盘、MMC/SD 卡、...),你可以先把存储卡插到 PC 上,然后用软件干掉 key files(依然是“软删除”);但你还可以用【物理方式】直接破坏存储介质(这种情况称为——“硬删除 key files”)。
  由于 key files 都很小(通常小于 1MB),所以“软删除 key files”肯定是【既快速又彻底】。

  提醒:“软删除”的【局限性】
  如果是【机械硬盘】,“软删除”是 OK 的;但如果是【固态硬盘】,“软删除”【不】保险。原因请参见本文前面章节介绍的【损耗均衡技术】。
  至于“硬删除”的方式
  由于存在几种不同情况,后面俺用一个单独的章节来讨论。

◇【正确】方式——破坏加密盘的【密钥存储区】


  前面俺聊“密钥的存储”,已经提到——磁盘加密软件为了能打开加密的数据,必须把密钥(以【加密形式】)存储在某个地方。通常是存储在加密盘的【头部或尾部】。
  当你输入认证因子(“密码”和“key files”),加密软件根据“认证因子”进行一系列数学运算,然后从密钥存储区中解密出【加密盘的密钥】。如果你的认证因子输错了,密钥就解不出,加密盘自然打不开。
  所以,如果你用“随机数据”把加密卷的【头部和尾部】两者都覆盖,就足以【彻底破坏】整个加密盘。
  密钥存储区通常很小(不到 1KB)。为了保险起见,咱们把覆盖范围扩大一千倍(从 1KB 变为 1MB),彻底覆盖加密盘最开头的 1MB 和最末尾的 1MB,肯定就能毁掉“密钥存储区”了。
  再来看“速度”——哪怕老式的机械硬盘,对头尾各写入 1MB 的数据,也可以在1秒内完成。所以这招属于【既彻底又快速】。

  提醒:本招数的【局限性】
  如果是【机械硬盘】,可以用这招;但如果是【固态硬盘】,这招【不】保险。原因请参见刚才介绍的“损耗均衡技术”。

◇【运行状态】下的权衡


  (所谓的【运行状态】指的是——出现“紧急情况”时,你的 PC 处于【开机运行】,并且你正在操作它)
  在这种情况下,显然【可以用】“破坏加密盘”的方式。
  至于“删除 key files”是否可用,取决于你的 key files 存储放在哪里?
1. 如果你的 key files 存储在 PC 上,也可用“【软】删除 key files”的方式。
2. 如果你的 key files 位于【外部】存储介质(比如:U盘、MMC/SD 卡、...),并且这个存储介质【没有】插在电脑上,就应该用“【硬】删除 key files”的方式。

◇【关机状态】下的权衡


  当你的 PC 处于【关机状态】,一旦碰到紧急情况,你已经来不及开机并启动系统。所以,“破坏加密盘”显然不可行;同样的道理,此时“软删除 key files”也不可行。
  因此,在【离线状态】下,你只有唯一的选项——“硬删除 key files”。

◇结论


  从上述两种状态的权衡,很自然就可以得出结论——key files 必须位于你【身边】的存储介质中。只有这样才能保证——你在【各种情况】下都能【快速且彻底】地销毁加密数据。
  为了让大伙儿一目了然,放一个对照表:
运行状态,机械硬盘运行状态,固态硬盘关机状态
【硬】删除 key filesYESYESYES
【软】删除 key filesYES不保险NO
破坏加密盘的【密钥存储区】YES不保险NO


★如何【物理破坏】存储卡?


  好,现在来谈“硬删除 key files”的方式——也就是“从物理上毁掉存储卡”。
  (注:本章节所说的“存储卡”包括:U盘、SD卡、MMC卡...)
  再次唠叨:这种“物理破坏”的方式比较粗鲁,是【紧急情况下】的无奈之举。如果你的时间比较从容,应该用前面提到的软件方式——删除敏感文件后,通过填充垃圾数据,塞满整张存储卡的剩余空间。

◇U 盘的内部结构


  为了方便讲解,从维基百科剽窃了一张照片,并附上相应的说明。

不见图 请翻墙
1 插头
2 存储控制器
3 测试接点
4 【闪存芯片】
5 石英振荡器
6 发光二极管(LED)
7 写入保护开关
8 预留给第二颗存储器芯片的空间

◇物理摧毁的关键——破坏【闪存芯片】


  对存储卡而言,除了【闪存芯片】,其它的都是浮云。
  因为其它所有的部件全被毁掉,只要【闪存芯片】还完好,就可以通过专用的设备,读取出里面保存的数据。

◇破坏“闪存芯片”——【彻底】的方式


  关于这个话题,俺看过一些资料,以及网上的讨论。权衡下来,能够在“短时间”(1分钟内)物理破坏“闪存芯片”的方式,大致有两种:

  电磁方式——微波炉
  把存储卡放入微波炉并启动。
  这么干,不但能毁掉存储芯片,可能你的微波炉也会跟着报废。但在紧急情况下,一个微波炉又算得了什么?

  机械方式——砸烂
  如果你身边有锤子、扳手(或诸如此类的工具),对准结构图当中那个“傻大黑粗”的家伙狠狠砸下去,砸烂为止。
  由于“闪存芯片”比较硬,还可以考虑用某个尖锐的东西作为辅助(学过基础物理学的应该明白——这可以增加压强)。就比如说,把一个钉子架在“闪存芯片”上,然后再用锤子敲击钉子,更容易击穿芯片的外壳。
  但如今现代化的家庭或办公室中,要想找一个钉子还真不太容易。那么,啥东西可以作为钉子的替代品捏?俺列几个替代品作为参考(欢迎大伙儿补充)
螺丝刀(尤其是【小型的十字】螺丝刀)
瑞士军刀中某些尖锐的部件(如下图)
不见图 请翻墙
(某款瑞士军刀的示意图——几乎每种款式的瑞士军刀都带有尖锐的工具)

◇破坏“闪存芯片”——【不太彻底】的方式


  现在介绍【不】那么彻底的方式。也供高风险人士参考。
  在紧急情况下,如果你身边没有微波炉也没有砸烂芯片的工具,还有一招是——用冲水马桶把存储卡冲掉。如今的存储卡都比较小,至少不会卡在马桶里。
  但要强调的是——这招【不彻底】,因为存储卡浸泡在普通液体(只要不是强酸),即使长达几天时间,还是有可能恢复出数据。
  如果你用了这招,那主动权就转到警方这边——考验他们是否愿意到粪坑里去找存储卡了。


★预备和演习


  如果你确实认为自己是【高风险人士】,本文讲述的这些东西,你【不要】光看看而已。要先做好准备工作,甚至来一次演习(彩排)。
  否则真的到了紧急情况,你在慌乱之中很可能会出错。(这是本文最后的忠告)


俺博客上,和本文相关的帖子(需翻墙):
《为啥朝廷总抓不到俺——十年反党活动的安全经验汇总》
《文件加密的扫盲介绍》
《扫盲文件完整性校验——关于散列值和数字签名》
《TrueCrypt 使用经验》(系列)
《扫盲 VeraCrypt——跨平台的 TrueCrypt 替代品》
《扫盲 dm-crypt——多功能 Linux 磁盘加密工具(兼容 TrueCrypt 和 VeraCrypt)》
《扫盲 Linux 逻辑卷管理(LVM)——兼谈 RAID 以及“磁盘加密工具的整合”》
《文件备份技巧:组合“虚拟加密盘”与“网盘”》
《如何保护隐私》(系列)
《如何防止黑客入侵》(系列)
《扫盲 Linux&UNIX 命令行——从“电传打字机”聊到“shell 脚本编程”》
《扫盲操作系统虚拟机》(系列)
+
+ +
+ + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/02/share-books.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/02/share-books.html" new file mode 100644 index 0000000000000000000000000000000000000000..006596aeadb3d43a17616d4ee16d6b674e1f0634 --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/02/share-books.html" @@ -0,0 +1,26 @@ + + + + + + + +分享各类电子书(政治、哲学 等,63本) - 编程随想的博客 + + +
+

分享各类电子书(政治、哲学 等,63本)

+ +
+
+

本文发布于2019年2月,文中的电子书清单已经【不是】最新滴!
请猛击如下链接,就可以看到【最新的】电子书清单。
https://github.com/programthink/books




  又到了分享电子书的时候。这次有63本——大部分是“政治、哲学”大类,少部分是“历史、文艺、社会学、军事”大类。
  顺便说一下:俺采纳了某个热心读者的建议,用两种背景色分别表示“新增书籍”和“补充格式”。具体参见下面的“阅读说明”。

★阅读说明


  对于【近期更新】的电子书,为了醒目起见,用这种颜色表示【新增书籍】;用这种颜色表示【补充格式】。

  如果你在“博客阅读器”中查看本文,并且【没】看到“带色的表格行”,不是因为你色盲,是因为某些博客阅读器无法显示这种“带颜色”的 HTML 语法。碰到此种情况,请直接【翻墙】到俺博客站点查看本博文,就可以看到“【带背景色】的表格行”。
  不会翻墙的同学,请猛击如下网址,查看【全部电子书清单】(这些年来,GitHub 一直可以【免翻墙】访问)

https://github.com/programthink/books


★下载的注意事项


◇BT Sync(Resilio Sync)自动同步


  (“BT Sync”已经改名为“Resilio Sync”,不过俺还是习惯用原来的名称)
  要使用 BT Sync 同步电子书,你需要在 BT Sync 客户端软件的界面上添加相应的密钥(密钥写在【每个大类的标题下方】)。关于 BT Sync 的扫盲教程,参见“这篇博文”。
  从2017年7月之后,GFW 开始封杀 BT Sync 的中继服务器。如果你的 BT sync 客户端始终无法发现其它节点,请参见如下博文:
《聊聊 GFW 如何封杀 Resilio Sync(BTSync)?以及如何【免翻墙】继续使用?》

◇微软网盘(OneDrive)


  微软网盘在墙外,有时候可能会被 GFW 封杀。如果你无法打开微软网盘的页面,【请尝试翻墙】。
  如果打开微软网盘界面,出现错误提示,通常是同时下载的人太多,导致服务器超载。解决方法:耐心等几天,再去下载。
  (每次公布新增电子书,之后的那几天都会出现这个现象;然后就又恢复正常。怀疑是服务器超载)


★政治


【网盘】
微软网盘
BT Sync 密钥:BRSSYZTSAC6UGYTUOJ22L4GCO7QESPPBD (此密钥的使用方法,参见页面开头的“网盘下载须知”)

◇政治 / 政治理论


◇政治 / 政治理论 / 民主与宪政


中文书名英文书名作者文件类型上传日期备注
论民主On Democracy(美) 罗伯特·道尔简体PDF(扫描版)2014-06-22简介
第三波
——20世纪后期民主化浪潮
The Third Wave
——Democratization in the Late Twentieth Century
(美) 塞缪尔·亨廷顿简体PDF(修订版)
简体PDF
简体EPUB
简体MOBI
2018-09-06
2013-05-30
2019-01-04
2015-11-14
简介
民主Democracy(美) 查尔斯·蒂利简体PDF(扫描版)2015-02-09简介
牛津通识读本:民主Democracy(英) Bernard Crick英文PDF2015-12-11简介
代议制政府Considerations on Representative Government(英) 约翰·密尔简体PDF2013-08-22简介
社会契约论
其它中文名:
民约论
The Social Contract(法) 卢梭简体PDF
简体EPUB
简体MOBI
2014-01-09
2017-05-06
2015-05-11
简介
论法的精神
其它中文名:
法意
The Spirit of the Laws(法) 孟德斯鸠简体PDF
简体PDF(大字版)
简体PDF(扫描版)
简体EPUB
简体MOBI
2014-01-09
2017-03-24
2018-12-03
2015-05-11
2015-05-11
简介
控制国家
——西方宪政的历史
Controlling the State
——Constitutionalism from Ancient Athens to Today
(美) 斯科特·戈登简体PDF(扫描版)2017-08-13简介
历史的终结及最后之人The End of History and the Last Man(美) 弗朗西斯·福山简体PDF
简体EPUB
2013-01-01
2013-09-13
简介
联邦党人文集
其它中文名:
联邦主义者文集
美国宪法原理
The Federalist Papers(美) 亚历山大·汉密尔顿
(美) 詹姆斯·麦迪逊
(美) 约翰·杰伊
简体PDF(扫描版)
简体EPUB
简体MOBI
2013-11-27
2014-01-09
2015-05-11
简介
民主的历程
——公元前508年-1993年
Democracy
——The unfinished journey 508 BC - 1993 AD
(英) 约翰·邓恩 (主编)简体PDF(扫描版)2014-06-22简介
欧洲民主史
——从孟德斯鸠到凯尔森
History of Democracy in Europe from Montesquieu to 1989(意) 萨尔沃·马斯泰罗简体PDF(扫描版)2014-07-27简介
论李维
其它中文名:
李维史论
论李维罗马史
Discourses on Livy(意) 尼可罗·马基亚维利英文PDF(全3卷)2018-12-04简介
平民政治的基本原理The Fundamental Principles of Government(美) 保罗·芮恩施简体PDF(扫描版)2013-01-14简介
宪政与权利N/A(多人)简体PDF2013-04-13简介
宪政主义
——观念与制度的转捩
N/A王怡简体PDF(扫描版)2013-05-19简介
各国民权运动史N/A董之学繁體PDF(竪排掃描版)2016-07-15简介
罗伯特议事规则Robert's Rules of Order(美) 亨利·马丁·罗伯特
等
简体MOBI2015-05-12简介
可操作的民主
——罗伯特议事规则下乡全纪录
N/A寇延丁
袁天鹏
简体PDF(扫描版)
简体EPUB
2015-05-12
2015-11-14
简介

◇政治 / 政治理论 / 自由主义


(本类别的“自由主义”主要指“古典自由主义”和“自由意志主义”)

中文书名英文书名作者文件类型上传日期备注
论自由On Liberty(英) 约翰·密尔简体PDF
简体EPUB
简体MOBI
2013-04-14
2013-09-13
2018-11-10
简介
政府论Two Treatises of Government(英) 约翰·洛克简体PDF
简体EPUB
简体MOBI
简体TXT
2013-04-14
2013-09-13
2018-11-10
2016-05-14
简介
自由论
其它中文名:
《自由四论》扩充版
Four Essays on Liberty(英) 以赛亚·伯林简体PDF(扫描版)
英文PDF
2013-08-22
2013-12-15
简介
自由及其背叛
——人类自由的六个敌人
Freedom and Its Betrayal
——Six Enemies of Human Liberty
(英) 以赛亚·伯林简体PDF(扫描版)2014-05-23简介
自由与繁荣的国度The Free and Prosperous Commonwealth(奥地利) 路德维希·冯·米塞斯简体PDF
简体HTML
2016-12-23
2018-12-04
简介
正义论A Theory of Justice(美) 约翰·罗尔斯简体EPUB
简体MOBI
简体TXT
简体PDF(扫描版)
2013-09-13
2018-11-10
2016-05-14
2013-05-23
简介
政治自由主义Political Liberalism(美) 约翰·罗尔斯简体HTML
简体MOBI
简体PDF(扫描版)
2013-01-17
2015-05-11
2018-12-04
简介
无政府、国家与乌托邦Anarchy, State, and Utopia(美) 罗伯特·诺齐克简体PDF(扫描版)
英文EPUB
2013-07-30
2014-03-29
简介
自由主义与正义的局限Liberalism and the Limits of Justice(美) 迈克尔·桑德尔简体PDF
简体PDF(扫描版)
2013-01-01
2018-12-05
简介
自由史论The History of Freedom and Other Essays(英) 阿克顿勋爵简体PDF(扫描版)2014-07-27简介
古典自由主义
——入门读物
Libertarianism
——A Primer
(美) 大卫·鲍兹英文PDF2015-07-19简介
利维坦
——教会国家和市民国家的实质、形式、权力
其它中文名:
巨灵论
Leviathan or The Matter, Forme and Power of a Common Wealth Ecclesiastical and Civil(英) 托马斯·霍布斯简体PDF
简体MOBI
2014-06-22
2018-12-22
简介
古代人的自由与现代人的自由The Liberty of the Ancients Compared with that of the Moderns(法) 本杰明·贡斯当简体PDF(扫描版)
简体MOBI
2014-06-22
2015-05-11
简介
欧洲自由主义史The History of European Liberalism(意) 圭多·德·拉吉罗简体PDF(扫描版)2015-01-12简介
论出版自由Areopagitica
——A Speech for the Liberty of Unlicensed Printing
(英) 约翰·弥尔顿简体PDF
简体MOBI
2014-02-03
2015-05-11
简介
给你所爱的人以自由N/A茅于轼简体PDF
简体PDF(大字版)
简体EPUB
简体MOBI
2013-10-26
2013-11-26
2015-11-14
2015-11-14
简介

◇政治 / 政治理论 / 资本主义


中文书名英文书名作者文件类型上传日期备注
后资本主义社会Post-Capitalist Society(美) 彼得·德鲁克简体PDF(扫描版)2018-09-14简介
新教伦理与资本主义精神The Protestant Ethic and the Spirit of Capitalism(德) 马克斯·韦伯简体HTML
简体MOBI
2014-04-14
2015-05-11
简介
牛津通识读本:资本主义CapitalismJames Fulcher简体EPUB
简体AZW3
2015-12-13
2015-12-13
简介

◇政治 / 政治理论 / 共产主义


中文书名英文书名作者文件类型上传日期备注
大失败
——二十世纪共产主义的兴亡
The Grand Failure
——The Birth and The Death of Communism in the Twentieth Century
(美) 布热津斯基简体PDF(扫描版)2012-10-06简介
共产主义实录Communism
——A History
(美) 理查德·派普斯简体PDF2012-10-05简介
历史决定论的贫困The Poverty of Historicism(英) 卡尔·波普尔简体PDF
简体EPUB
简体HTML
简体MOBI
2014-07-27
2015-02-15
2012-12-11
2015-05-11
简介
新阶级
——对共产主义制度的分析
The New Class
——An Analysis of the Communist System
(南斯拉夫) 密洛凡·德热拉斯简体PDF(扫描版)
英文PDF(扫描版)
2012-10-06
2018-09-06
简介
恐怖主义与共产主义Terrorism and Communism(德) 卡尔·考茨基简体PDF2013-04-11简介
共产主义黑皮书
——罪行、恐怖、镇压
The Black Book of Communism
——Crimes, Terror, Repression
(多人)英文PDF(扫描版)2015-02-17简介
社会主义体制
——共产主义政治经济学
The Socialist System
——The Political Economy of Communism
(匈) 雅诺什·科尔奈简体PDF(扫描版)2015-01-11简介

◇政治 / 政治理论 / 社会主义


中文书名英文书名作者文件类型上传日期备注
通往奴役之路The Road to Serfdom(英) 弗里德里希·哈耶克简体PDF(台湾版)
简体PDF(大字版)
简体PDF
简体EPUB
简体MOBI
英文PDF
英文EPUB
2014-05-18
2018-09-10
2013-03-24
2013-09-13
2015-05-11
2013-05-30
2019-01-04
简介
致命的自负
——社会主义的谬误
The Fatal Conceit
——The Errors of Socialism
(英) 弗里德里希·哈耶克简体PDF
简体EPUB
简体MOBI
简体TXT
2013-03-24
2013-09-13
2015-05-11
2016-05-14
简介
社会主义
——经济与社会学的分析
Socialism
——An Economic and Sociological Analysis
(奥地利) 路德维希·冯·米塞斯简体PDF(扫描版)2013-03-31简介
社会主义国家的经济计算Economic Calculation in the Socialist Commonwealth(奥地利) 路德维希·冯·米塞斯英文PDF2018-09-22简介
牛津通识读本:社会主义SocialismMichael Newman英文PDF2015-12-13简介

◇政治 / 政治理论 / 极权主义与威权主义


中文书名英文书名作者文件类型上传日期备注
开放社会及其敌人The Open Society and Its Enemies(英) 卡尔·波普尔简体PDF
简体EPUB
简体MOBI
简体PDF(扫描版)
2012-12-11
2013-09-14
2018-11-10
2017-03-24
简介
极权主义的起源The Origins of Totalitarianism(美) 汉娜·阿伦特简体PDF
简体CHM
简体MOBI
简体TXT
2012-10-06
2012-10-14
2014-02-23
2016-04-29
简介
东方专制主义
——对于极权力量的比较研究
Oriental Despotism
——A Comparative Study of Total Power
(美) 卡尔·魏特夫 (中文名:魏复古)简体PDF(扫描版)2019-02-25简介
极权主义民主的起源The Origins of Totalitarian Democracy(以色列) 雅各布·塔尔蒙简体PDF(扫描版)2015-07-14简介
威权统治的转型
——关于不确定民主的试探性结论
Transitions from Authoritarian Rule
——Tentative Conclusions About Uncertain Democracies
(阿根廷) 吉列尔莫·奥唐奈
(美) 菲利普·施密特
简体PDF(扫描版)2013-08-21简介
独裁者手册
——为什么恶劣行为总是政治成功的通行证
The Dictator's Handbook
——Why Bad Behavior is Almost Always Good Politics
(美) 布鲁诺·德·梅斯奎塔
(美) 阿拉斯泰尔·史密斯
英文PDF(无删节)2018-11-18简介
新常识
——一党专制的性质与后果
N/A张雪忠简体EPUB(精校版)
简体PDF
简体MOBI
2015-11-29
2013-10-19
2018-11-10
简介

◇政治 / 政治理论 / 外交与国际关系


中文书名英文书名作者文件类型上传日期备注
文明的冲突与世界秩序的重建The Clash of Civilizations and the Remaking of World Order(美) 塞缪尔·亨廷顿简体PDF
简体PDF(扫描版)
简体EPUB
简体MOBI
简体TXT
2013-03-31
2017-03-24
2018-12-08
2018-11-10
2016-04-30
简介
大棋局
——美国的首要地位及其地缘战略
The Grand Chessboard
——American Primacy and Its Geostrategic Imperatives
(美) 布热津斯基简体PDF
简体PDF(扫描版)
简体TXT
简体MOBI
2013-04-14
2017-02-17
2016-04-29
2018-11-10
简介
大外交Diplomacy(美) 亨利·基辛格简体PDF(扫描版)2014-02-05简介
论中国On China(美) 亨利·基辛格简体EPUB
简体MOBI
英文EPUB
2014-02-05
2018-11-10
2014-02-05
简介
理解国际冲突
——理论与历史
其它中文名:
理解全球冲突与合作
——理论与历史
Understanding International Conflicts
——An Introduction to Theory and History
(美) 小约瑟夫·奈简体PDF(第5版 扫描版)2018-12-25简介
牛津通识读本:国际关系International Relations(英) Paul Wilkinson英文PDF2015-12-13简介
牛津通识读本:地缘政治Geopolitics(英) Klaus Dodds英文PDF2015-12-13简介

◇政治 / 政治理论 / 非暴力抗争


中文书名英文书名作者文件类型上传日期备注
从独裁到民主
——解放运动的概念框架
From Dictatorship to Democracy
——A Conceptual Framework for Liberation
(美) 吉恩·夏普简体PDF
简体EPUB
简体MOBI
英文PDF
英文EPUB
英文MOBI
2012-08-16
2019-01-04
2015-02-17
2012-08-16
2015-07-25
2015-07-25
简介
群众性防卫
——一种超军事的武器系统
Civilian-Based Defense
——A Post-Military Weapons System
(美) 吉恩·夏普简体PDF
繁體PDF(掃描版)
2013-03-16
2013-02-02
简介
一种更强大的力量
——非暴力抗争一百年
A Force More Powerful
——A Century of Nonviolent Conflict
(美) 彼得·阿克曼
(美) 杰克·杜瓦尔
简体MOBI(上下册)2013-05-13简介
论战略性非暴力冲突
——关于基本原则的思考
On Strategic Nonviolent Conflict
——Thinking About the Fundamentals
(美) 罗伯特·赫尔维简体PDF
英文PDF
2019-01-02
2019-01-02
简介
西方公民不服从的传统The Tradition of the Civil Disobedience何怀宏 (主编)简体PDF(扫描版)2016-07-18简介

◇政治 / 政治理论 / 女权运动


中文书名英文书名作者文件类型上传日期备注
第二性The Second Sex(法) 西蒙·波伏娃简体PDF(扫描版)
简体HTML
简体TXT
2013-04-10
2018-12-23
2016-05-12
简介
女权主义理论
——从边缘到中心
Feminist Theory
——From Margin to Center
(美) 贝尔·胡克斯简体PDF(扫描版)2015-05-12简介
女权辩护
——关于政治和道德问题的批评
A Vindication of the Rights of Woman
——with Strictures on Political and Moral Subjects
(英) 玛丽·沃斯通克拉夫特简体PDF2013-04-10简介
女性的奥秘The Feminine Mystique(美) 贝蒂·弗里丹简体PDF(扫描版)2013-04-10简介
女权主义Feminism(英) 简·弗里德曼简体PDF(扫描版)2014-02-03简介
妇女
——最漫长的革命
N/A李银河 (主编)简体PDF(扫描版)2015-05-12简介
三个原始部落的性别与气质Sex and Temperament in Three Primitive Societies(美) 玛格丽特·米德简体PDF(扫描版)2013-08-13简介
醒来的女性N/A(未知)简体PDF2014-07-27简介

◇政治 / 政治理论 / (其它)


中文书名英文书名作者文件类型上传日期备注
政治科学Political Science(美) 迈克尔·罗斯金
等
简体PDF(第9版 扫描版)
简体PDF(第6版 扫描版)
2014-02-13
2014-02-06
简介
变化社会中的政治秩序Political Order in Changing Societies(美) 塞缪尔·亨廷顿简体PDF(精校版)
简体PDF(扫描版)
2013-10-30
2018-12-04
简介
政治秩序的起源
——从前人类时代到法国大革命
The Origins of Political Order
——From Prehuman Times to the French Revolution
(美) 弗朗西斯·福山简体PDF(扫描版)
英文EPUB
2016-12-20
2017-05-01
简介
国家为什么失败
——权力、富裕与贫困的根源
Why Nations Fail
——The Origins of Power, Prosperity, and Poverty
(美) Daron Acemoglu
(美) James Robinson
简体TXT
繁體PDF(豎排掃描版)
2014-03-20
2014-03-20
简介
狂热分子
——群众运动圣经
其它中文名:
狂热分子
——码头工人哲学家的沉思录
The True Believer
——Thoughts on the Nature of Mass Movements
(美) 埃里克·霍弗简体EPUB
简体MOBI
简体PDF(扫描版)
2014-07-27
2018-11-21
2015-01-12
简介
君主论
其它中文名:
君王论
The Prince(意) 尼可罗·马基亚维利简体PDF
简体TXT
2013-08-22
2016-05-02
简介
理想国
其它中文名:
国家篇
共和国
The Republic(古希腊) 柏拉图简体PDF
简体EPUB
2015-07-22
2017-04-30
简介

◇政治 / 政治小说


(某些政治小说描写的是特定国家,归入【政治类】对应国家的分类目录;
某些中国的政治小说,描写的是特定历史背景,放在【政治类 / 中国 / 中共历史】分类目录下)

中文书名英文书名作者文件类型上传日期备注
一九八四Nineteen Eighty-Four(英) 乔治·奥威尔简体PDF
简体EPUB (精校版)
简体TXT
简体PDF(扫描版)
简体MOBI
英文EPUB
英文PDF
2010-09-07
2015-11-29
2012-03-08
2013-10-20
2014-02-23
2013-09-13
2012-01-11
简介
动物庄园
其它中文名:
动物农庄
Animal Farm(英) 乔治·奥威尔简体PDF
简体EPUB
简体TXT
简体PDF(扫描版)
简体MOBI
英文PDF
2010-09-23
2013-09-13
2012-03-08
2013-10-20
2014-02-23
2012-01-11
简介
美丽新世界Brave New World(英) 赫胥黎简体EPUB
简体TXT
简体MOBI
2013-09-15
2012-10-05
2015-02-17
简介
我们
其它中文名:
反乌托邦与自由
We(苏) 扎米亚京简体EPUB
简体MOBI
2013-09-15
2015-02-17
简介
黄祸Yellow Peril王力雄简体CHM2013-08-21简介
旋风N/A姜贵 (原名:王林渡)简体PDF2013-08-21简介
云图Cloud Atlas(英) 大卫·米切尔简体PDF
简体EPUB
简体MOBI
英文PDF
2014-02-06
2014-02-06
2018-11-10
2014-02-06
简介
盛世
——中国2013
The Fat Years陈冠中简体PDF
简体EPUB
2013-01-01
2017-04-30
简介
裸命N/A陈冠中简体MOBI2013-01-01简介
中国地图
——一幅中国人的精神地图
N/A汪建辉简体PDF2014-05-23简介

◇政治 / 中国


◇政治 / 中国 / 中共历史


◇政治 / 中国 / 中共历史 / 改革开放时期


中文书名英文书名作者文件类型上传日期备注
中国改革年代的政治斗争N/A杨继绳简体PDF
简体EPUB
简体MOBI
2012-04-05
2013-11-26
2018-09-06
简介
中国现代化的陷阱The Pitfalls of Modernization何清涟简体PDF(修订版)
简体MOBI(修订版)
简体PDF
简体HTML
2013-12-14
2014-02-23
2013-02-05
2012-11-18
简介
中国
——奇迹的黄昏
N/A袁剑简体PDF
简体EPUB
简体MOBI
2012-04-05
2015-07-18
2015-07-18
简介
大国沉沦
——写给中国的备忘录
N/A刘晓波简体PDF2013-08-11简介
断裂
——20世纪90年代以来的中国社会
N/A孙立平简体PDF(扫描版)2013-03-16简介
转型与断裂
——改革以来中国社会结构的变迁
N/A孙立平简体PDF(扫描版)2017-05-01简介
山坳上的中国
——问题、困境、痛苦的选择
N/A何博传简体PDF(扫描版)2013-03-07简介
中国共产党不可说的秘密The Party
——The Secret World of China's Communist Rulers
(澳大利亚) Richard McGregor英文PDF2015-02-08简介
红色资本主义
——中国非凡崛起之下的脆弱金融基础
Red Capitalism
——The Fragile Financial Foundation of China's Extraordinary Rise
(美) Carl Walter
(美) Fraser Howie
英文PDF
英文MOBI
2014-03-29
2015-02-09
简介
全球化与中国国家转型Globalization and state transformation in China(新加坡) 郑永年简体PDF(扫描版)2014-01-09简介
陷入困局
——天朝的大困境
Walled In
——China’s Great Dilemma
(美) 高盛公司英文PDF
简体PDF
2016-03-22
2016-03-22
简介

◇政治 / 中国 / 中共历史 / 六四事件


中文书名英文书名作者文件类型上传日期备注
天安门文件
其它中文名:
中国六四真相
The Tiananmen Papers张良 (化名)简体PDF
简体CHM
2013-01-13
2012-04-05
简介
天安门血腥清场内幕N/A吴仁华繁體PDF2012-05-25简介
八九天安门事件大事记N/A吴仁华简体PDF2012-05-25简介
历史的大爆炸
——六四事件全景实录
The Big Bang of History
——June Fourth Movement Record
张万舒 (原名:张清海)繁體PDF(掃描版)2017-04-29简介
人民不会忘记
——八九民运实录
People Will Not Forget
——A Chronicle by 64 Hong Kong Reporters
香港记者协会繁體HTML
繁體WEB
2012-04-05
N/A
简介
八九民运史The History of the 1989 Tiananmen Square Protests陈小雅繁體PDF
繁體WEB
2014-05-23
N/A
简介
广场活碑
——一个香港女记者眼中的六四血光
N/A蔡淑芳简体PDF2014-05-23简介
中国民运反思N/A胡平简体PDF
简体TXT
繁體WEB
2013-05-01
2014-05-23
N/A
简介
天安门的力量
——国家-社会关系与1989学生运动
The Power of Tiananmen
——State-Society Relations and the 1989 Beijing Student Movement
赵鼎新繁體PDF(掃描版)2012-12-26简介
六四日记
——广场上的共和国
A Tiananmen Journal
——Republic on the Square
封从德繁體PDF(掃描版)2013-02-02简介
王丹回忆录
——从六四到流亡
N/A王丹繁體EPUB
繁體MOBI
繁體DOCX
2014-03-29
2018-11-10
2013-11-26
简介
末日幸存者的独白
——关于我和“六四”
N/A刘晓波繁體PDF(掃描版)2014-05-23简介
铭记天安门Remembering Tiananmen Square(英) Robin Munro简体PDF
英文WEB
2012-05-25
N/A
简介
黄雀行动N/A江迅简体PDF2012-05-25简介
“六四”事件民间白皮书N/A纪念六四事件委员会简体PDF2012-05-25简介
六四诗集N/A(多人)简体PDF2014-05-23简介
关键时刻
——李鹏日记
The Critical Moment
——Li Peng Diaries
李鹏简体CHM2012-04-05简介
惊心动魄的五十六天N/A国家教委思想政治工作司繁體WEBN/A简介
1989年北京制止动乱平息反革命暴乱纪事N/A北京市委办公厅简体PDF(扫描版)2013-01-18简介
陈希同亲述
——众口铄金难铄真
N/A姚监复繁體PDF2013-06-10简介
加拿大政府“六四事件”解密档案N/A(加) 加拿大驻华使馆英文PDF(影印版)2015-05-12简介

◇政治 / 中国 / 中共历史 / 文革时期


中文书名英文书名作者文件类型上传日期备注
文化大革命十年史N/A高皋
严家其
简体PDF(扫描版)2012-12-10简介
文化大革命的起源The Origins of the Cultural Revolution(英) 麦克法夸尔 (中文名:马若德)简体PDF(共2卷 扫描版)2013-03-30简介
毛泽东最后的革命Mao's Last Revolution(英) 麦克法夸尔 (中文名:马若德)
(瑞典) Michael Schoenhals (中文名:沈迈克)
简体PDF2012-12-09简介
文化大革命
——历史真相和集体记忆
N/A宋永毅 (主编)简体PDF2012-10-05简介
形形色色的造反
——红卫兵精神素质的形成及演变
N/A徐友渔繁體PDF(掃描版)2013-06-22简介
红卫兵档案N/A吴过简体PDF2012-04-06简介
上山下乡
——一个美国人眼中的中国知青运动
其它中文名:
上山下乡
——中国青年从城市到农村的转移
Up to the Mountains and Down to the Villages
——The Transfer of Youth from Urban to Rural China
(美) 托马斯·伯恩斯坦简体PDF(扫描版)2015-11-09简介
失落的一代
——中国的上山下乡运动(1968~1980)
The Lost Generation
——The Rustification of Chinese Youth (1968~1980)
(法) 米歇尔·博南 (中文名:潘鸣啸)简体PDF
简体PDF(扫描版)
简体EPUB
简体MOBI
2016-12-14
2013-08-11
2014-05-18
2018-11-10
简介
知青备忘录
——上山下乡运动中的生产建设兵团
N/A史卫民
何岚
简体PDF(扫描版)2019-02-23简介
文化大革命研究资料N/A国防大学党史党建政工教研室简体PDF(上中下 扫描版)2013-11-30简介
文革研究N/A(多人)简体PDF2012-04-06简介
周恩来文革讲话集N/A周恩来简体TXT
简体PDF(拍照版)
2014-03-20
2015-07-14
简介
随想录N/A巴金 (原名:李尧棠)简体PDF(扫描版)
繁體MOBI
2014-01-09
2014-06-22
简介
遇罗克之遗作与回忆N/A徐晓
丁东
徐友渔
简体PDF(扫描版)2013-03-16简介
牛鬼蛇神录
——文革囚禁中的精灵
The Captive Spirits杨小凯 (原名:杨羲光)简体PDF2012-12-09简介
1966
——我们那一代的回忆
N/A徐友渔 (主编)简体PDF(扫描版)2017-08-13简介
上海生死劫
其它中文名:
上海生与死
Life and Death in Shanghai郑念 (原名:姚念媛)简体EPUB
简体PDF(扫描版)
2017-05-06
2013-05-30
简介
劫后长忆
——十年动乱纪事
N/A穆欣 (原名:杜蓬莱)繁體PDF(豎排掃描版)2019-02-04简介
中国的眸子N/A胡平 (与民运人士胡平同名)简体PDF(扫描版)2013-03-31简介
自由在落日中Freedom in the Sunset袁红冰 (原名:袁红兵)简体CHM2013-06-22简介
第二种忠诚N/A刘宾雁简体PDF2013-03-09简介
历史的代价
——文革死亡档案
N/A金石开简体PDF(扫描版)2016-12-19简介
文革三大屠杀案N/A(多人)简体PDF2015-02-17简介
血的神话
——1967年湖南道县文革大屠杀纪实
N/A谭合成简体PDF2015-05-12简介

◇政治 / 中国 / 中共历史 / “大跃进”与大饥荒时期


中文书名作者文件类型上传日期备注
墓碑
——中国六十年代大饥荒纪实
杨继绳简体PDF
繁體PDF
简体EPUB
2012-04-06
2013-10-20
2014-06-21
简介
人祸
——“大跃进”与大饥荒
丁抒简体PDF
简体HTML
2013-01-13
2012-04-06
简介
大跃进亲历记
——毛泽东秘书手记
李锐 (原名:李厚生)简体PDF(上下卷 扫描版)2013-05-08简介
庐山会议实录李锐 (原名:李厚生)简体PDF2012-10-05简介
农村人民公社史罗平汉简体PDF(扫描版)2016-12-19简介
辉煌的幻灭
——人民公社警示录
康健简体CHM
简体HTML
2012-10-05
2012-10-06
简介
夹边沟记事杨显惠简体PDF(扫描版)
简体PDF
简体EPUB
简体MOBI
2013-03-22
2016-12-14
2019-01-04
2019-01-04
简介
定西孤儿院纪事
——实录饥饿的绝境
杨显惠简体PDF(扫描版)
简体PDF
简体EPUB
简体MOBI
2013-03-08
2016-12-14
2019-01-04
2019-01-04
简介

◇政治 / 中国 / 中共历史 / “反右”运动


中文书名作者文件类型上传日期备注
阳谋
——反右派运动始末
丁抒简体PDF
简体CHM
2013-01-13
2012-11-17
简介
还原1957魏紫丹 (原名:魏立言)繁體PDF2015-02-17简介
1957年的夏季
——从百家争鸣到两家争鸣
朱正简体PDF
简体HTML
2016-12-14
2012-11-17
简介
毛主席是什么时候决定引蛇出洞的李慎之简体TXT2019-02-24简介
往事并不如烟
其它中文名:
最後的貴族
章诒和繁體EPUB(台灣版 無刪節)
简体PDF(精校版 无删节)
简体PDF(大字版)
简体TXT
2015-11-10
2013-02-05
2018-09-10
2012-12-09
简介
十四万言书
——致人民日报编辑部信
林昭 (原名:彭令昭)简体PDF2013-02-01简介
中华民族的自由女神
——林昭罹难40年纪念文集
(多人)简体PDF2013-02-01简介
林昭,不再被遗忘(多人)简体PDF(扫描版)2013-02-01简介
祭坛上的圣女
——林昭传
赵锐简体PDF2013-06-22简介

◇政治 / 中国 / 中共历史 / “土改”运动


中文书名英文书名作者文件类型上传日期备注
最后的地主The Last of China's Landlords廖亦武简体PDF
简体PDF(大字版)
2013-03-16
2013-03-31
简介
秧歌The Rice Sprout Song张爱玲 (原名:张煐)简体PDF2013-08-21简介
赤地之恋Naked Earth张爱玲 (原名:张煐)简体PDF2013-08-21简介

◇政治 / 中国 / 中共历史 / 国共内战时期


中文书名英文书名作者文件类型上传日期备注
1949年
——中国知识分子的私人记录
N/A傅国涌简体PDF(扫描版)
简体PDF
2013-03-14
2016-12-14
简介
战后中共夺取东北始末N/A杨奎松繁體PDF2012-12-11简介
陈诚先生回忆录
——国共战争
N/A陈诚繁體PDF2015-07-19简介
大江大海 一九四九Big River, Big Sea龙应台简体PDF
简体EPUB
繁體PDF(豎排掃描版)
2013-01-17
2013-09-13
2012-11-17
简介

◇政治 / 中国 / 中共历史 / 延安与八年抗战时期


中文书名英文书名作者文件类型上传日期备注
红太阳是怎样升起的
——延安整风运动的来龙去脉
N/A高华简体PDF
简体CHM
简体EPUB
简体MOBI
2012-12-09
2012-04-06
2013-11-26
2014-02-03
简介
中共壮大之谜
——被掩盖的中国抗日战争真相
N/A谢幼田简体CHM
简体PDF
2012-11-17
2016-12-14
简介
延安的阴影N/A陈永发繁體PDF(掃描版)2015-07-18简介
历史的先声
——半个世纪前的庄严承诺
N/A笑蜀 (原名:陈敏)简体PDF
简体PDF(大字版)
简体PDF(扫描版)
简体CHM
简体TXT
2014-06-21
2019-01-04
2013-05-08
2012-10-06
2012-10-06
简介
延安日记The Vladimirov Diaries
——Yenan, China, 1942~1945
(苏) 彼得·弗拉基米洛夫 (中文名:孙平)简体PDF(扫描版)
简体CHM
2019-02-17
2012-10-05
简介
红太阳下的罂粟花
——鸦片贸易与延安模式
N/A陈永发繁體PDF(掃描版)2012-10-05简介
延安整风实录N/A高新民
张树军
简体PDF(扫描版)2017-08-13简介
内在的敌人The Enemy Within
——An Eyewitness Account of the Communist Conquest of China
(比利时) Raymond de Jaegher (中文名:雷震远)简体PDF
简体EPUB
简体MOBI
简体CHM
2014-02-03
2014-03-29
2018-12-08
2014-02-03
简介

◇政治 / 中国 / 中共历史 / 江西时期


中文书名作者文件类型上传日期备注
AB 团与富田事变始末戴向青
罗惠兰
简体PDF(扫描版)2015-05-12简介
博古和毛泽东
——及中华苏维埃共和国的领袖们
秦福铨繁體PDF(掃描版)2017-08-16简介
“肃 AB 团”事件的历史考察高华简体PDF2016-12-20简介

◇政治 / 中国 / 中共历史 / (其它)


中文书名作者文件类型上传日期备注
谁是新中国
——中国现代史辨
辛灏年 (原名:高尔品)简体PDF
简体CHM
2012-12-30
2012-12-10
简介
中国共产革命七十年陈永发繁體PDF(上下冊 掃描版)2012-10-15简介
中国思想运动史李洪林简体PDF(扫描版)2013-07-07简介
在历史的风陵渡口高华简体PDF2012-12-09简介
新中国三十年
其它中文名:
毛澤東專政始末
(美) 唐德刚简体PDF
繁體EPUB
繁體MOBI
2014-01-09
2019-01-04
2019-01-04
简介
我亲历过的政治运动(多人)简体PDF(扫描版)2013-04-21简介
20世纪后半叶历史解密何清涟 (主编)简体PDF2013-07-07简介
中国“左”祸文聿 (原名:陆建华)简体PDF(扫描版)2013-04-21简介
毛泽东执政春秋单少杰简体PDF2015-07-18简介
北大魂
——从林昭到八九民运
甘粹简体PDF2013-08-11简介
中共五十年王明 (原名:陈绍禹)简体PDF(扫描版)2013-05-09简介
十年论战
——1956-1966中苏关系回忆录
吴冷西简体PDF(扫描版)2013-02-01简介
无耻的洋人徐沛简体PDF2013-07-28简介

◇政治 / 中国 / 政治人物


◇政治 / 中国 / 政治人物 / 共产党


◇政治 / 中国 / 政治人物 / 共产党 / 陈独秀


中文书名作者文件类型上传日期备注
陈独秀与莫斯科的恩恩怨怨姚金果简体PDF(扫描版)2017-08-13简介

◇政治 / 中国 / 政治人物 / 共产党 / 毛泽东


中文书名英文书名作者文件类型上传日期备注
红太阳的陨落
——千秋功罪毛泽东
N/A辛子陵 (原名:宋科)简体PDF
简体DOC
2012-12-09
2012-04-05
简介
毛泽东时代和后毛泽东时代(1949-2009)
——另一种历史书写
N/A钱理群繁體PDF(共4冊 掃描版)2013-05-07简介
毛泽东私人医生回忆录The Private Life of Chairman Mao李志绥简体PDF
繁體PDF(豎排掃描版)
2013-08-01
2015-02-08
简介
新发现的毛泽东
——仆人眼中的伟人
N/A王若水简体PDF2012-04-05简介
毛泽东
——鲜为人知的故事
Mao
——The Unknown Story
张戎 (原名:张二鸿)简体PDF2013-08-01简介
毛主席用兵真如神?N/A芦笛繁體PDF2015-11-09简介

◇政治 / 中国 / 政治人物 / 共产党 / 周恩来


中文书名英文书名作者文件类型上传日期备注
晚年周恩来Zhou Enlai
——The Last Perfect Revolutionary
高文谦简体PDF
简体EPUB
简体MOBI
2012-10-05
2013-09-14
2018-09-06
简介
周恩来与上海灭门血案N/A吴基民简体PDF2018-09-06简介

◇政治 / 中国 / 政治人物 / 共产党 / 邓小平


中文书名英文书名作者文件类型上传日期备注
中南海日记
——中共两代王储的陨落
N/A吴稼祥繁體PDF(掃描版)2012-12-09简介
邓小平时代Deng Xiaoping and the Transformation of China(美) 傅高义繁體PDF2013-04-14简介

◇政治 / 中国 / 政治人物 / 共产党 / 胡耀邦


中文书名作者文件类型上传日期备注
胡耀邦与平反冤假错案戴煌 (原名:戴澍霖)简体PDF(扫描版)2017-05-01简介
胡耀邦与中国政治改革
——12位老共产党人的反思
(多人)繁體PDF(掃描版)2013-02-01简介
胡耀邦下台的背景
——人道主义在中国的命运
王若水简体TXT2012-12-19简介
十年的路
——和胡耀邦相处的日子
吴江繁體PDF(掃描版)2013-02-02简介

◇政治 / 中国 / 政治人物 / 共产党 / 赵紫阳


中文书名英文书名作者文件类型上传日期备注
改革历程
——赵紫阳回忆录
其它中文名:
国家的囚徒
——赵紫阳的秘密录音
Prisoner of the State
——The Secret Journal of Premier Zhao Ziyang
赵紫阳简体PDF2012-04-05简介
赵紫阳还说过什么?
——杜导正日记
N/A杜导正简体PDF2012-05-25简介

◇政治 / 中国 / 政治人物 / 共产党 / 第4代


中文书名英文书名作者文件类型上传日期备注
中国影帝温家宝China's Best Actor
——Wen Jiabao
余杰简体PDF
简体TXT
2012-10-26
2012-12-13
简介
河蟹大帝胡锦涛N/A余杰简体PDF(不全)2013-03-14简介
中国权贵的死亡游戏A Death in the Lucky Holiday Hotel
——Murder, Money, and an Epic Power Struggle in China
何频
黄闻光
繁體PDF2014-05-04简介

◇政治 / 中国 / 政治人物 / 共产党 / (其他)


中文书名英文书名作者文件类型上传日期备注
林彪浮沉录The rise and fall of Lin Piao(荷) 雅普·冯·吉内肯简体PDF(扫描版)2013-05-19简介
我的回忆N/A张国焘简体PDF2012-10-26简介
杨尚昆日记N/A杨尚昆简体PDF(扫描版)2017-08-13简介
红色家族档案
——罗瑞卿女儿的点点记忆
N/A罗点点 (原名:罗峪平)简体EPUB
简体PDF(扫描版)
2015-11-10
2013-04-21
简介
龚楚回忆录N/A龚楚繁體PDF(豎排掃描版)2014-02-04简介
李作鹏回忆录N/A李作鹏简体EPUB2014-03-29简介
邱会作回忆录N/A邱会作简体EPUB2014-03-29简介

◇政治 / 中国 / 政治人物 / 国民党


中文书名英文书名作者文件类型上传日期备注
蒋中正思想言论总集N/A蒋中正繁體CHM2015-02-08简介
蒋经国自述N/A蒋经国简体PDF2015-02-09简介
我在苏联的生活N/A蒋经国繁體PDF(竪排掃描版)2015-07-17简介
蒋经国传Biography of Chiang Ching-Kuo江南 (原名:刘宜良)简体EPUB
简体PDF(扫描版)
简体TXT
2017-05-06
2015-11-21
2016-05-01
简介
胡汉民自传N/A胡汉民繁體DJVU(竪排掃描版)2015-07-16简介
白崇禧回忆录N/A白崇禧简体PDF(扫描版)2015-07-16简介
成败之鉴
——陈立夫回忆录
N/A陈立夫繁體PDF(竪排掃描版)2015-07-16简介

◇政治 / 中国 / 政治人物 / 太子党关系网络


这是俺花了不少时间整理的,包括十多张详细的网状图,涵盖几百个权贵家族。

通过此文档,可以直观体会到天朝就是一个“权贵资本主义社会”。

俺已经把这份文档开源到 GitHub(它不但是一个开源项目的集散地,也是一个多人网络协作的平台)。希望大伙儿群策群力,一起来曝光权贵丑陋的嘴脸。

更多详情请看 zhao@github

◇政治 / 中国 / 社会阶层与贫富分化


中文书名英文书名作者文件类型上传日期备注
中国底层访谈录Interviews with the Lower Strata of Chinese Society廖亦武简体PDF(上下 扫描版)
简体PDF(上中下 文字版)
简体PDF(上中下 大字版)
2012-12-10
2013-03-31
2013-03-31
简介
中国当代社会各阶层分析N/A杨继绳简体PDF(扫描版)2012-01-14简介
中国社会各阶层分析N/A梁晓声简体PDF(扫描版)2012-12-10简介
中国农民调查Will the Boat Sink the Water?
——The Life of China's Peasants
陈桂棣
吴春桃
简体PDF
简体TXT
2015-11-15
2016-05-18
简介
上帝是红色的
——中国十字架地下寻访录
God Is Red
——The Secret Story of How Christianity Survived and Flourished in Communist China
廖亦武简体PDF
简体EPUB
简体MOBI
2013-05-01
2014-03-29
2018-11-10
简介
地震疯人院
——2008·5·12四川大地震记事
Earthquake Insane Asylum廖亦武简体PDF2013-05-02简介
中国社会分层的结构与演变The Structure and Evolution of Chinese Social Stratification李毅简体CHM2013-07-28简介

◇政治 / 中国 / 腐败问题


中文书名作者文件类型上传日期备注
远华案黑幕盛雪 (原名:臧锡红)简体PDF
简体TXT
2013-01-13
2013-01-01
简介
人妖之间刘宾雁简体PDF2013-03-09简介
有关北京龙泉寺住持释学诚不法行为的汇报释贤启
释贤佳
简体PDF2018-08-24简介
编译局言情录
——一朝忽觉京梦醒,半世浮沉雨打萍
常艳简体PDF2012-12-24简介

◇政治 / 中国 / 中宣部与言论审查


中文书名作者文件类型上传日期备注
讨伐中宣部
——焦国标文集
焦国标简体CHM2013-01-07简介
雾锁中国
——中国大陆控制媒体策略大揭秘
何清涟简体PDF
简体MOBI
2013-05-01
2013-05-13
简介
中国政府如何控制媒体
——中国人权研究报告
何清涟简体PDF2013-01-13简介

◇政治 / 中国 / 教育问题


中文书名作者文件类型上传日期备注
审视中学语文教育(多人)简体PDF(扫描版)2013-02-25简介
沉疴
——中国教育的危机与批判
冉云飞简体PDF2013-07-07简介
我不原谅
——一个90后对中国教育的批评和反思
钟道然简体DOC
简体PDF(扫描版)
2013-04-04
2013-05-01
简介

◇政治 / 中国 / 少数民族问题


中文书名英文书名作者文件类型上传日期备注
天葬
——西藏的命运
Sky Burial
——The Fate of Tibet
王力雄简体PDF
简体TXT
2012-12-31
2012-12-31
简介
我的西域,你的东土My West China, Your East Turkestan王力雄简体PDF2013-03-22简介
1959:拉萨
——达赖喇嘛如何出走
N/A李江琳繁體PDF(掃描版)2013-07-26简介
西藏生与死
——雪域的民族主义
Tibet
——Survival in Question
(法) 董尼德繁體PDF(竪排掃描版)2012-12-31简介
流亡中的自在
——达赖喇嘛自传
Freedom in Exile
——The Autobiography of the Dalai Lama
十四世达赖喇嘛 (原名:丹增嘉措)简体PDF
简体EPUB
简体MOBI
2017-03-26
2014-03-29
2018-11-10
简介
西藏笔记Notes on Tibet唯色简体PDF(扫描版)2013-05-19简介
东突厥斯坦独立运动
——1930年代至1940年代
N/A王柯简体EPUB
简体MOBI
2014-03-28
2014-03-28
简介

◇政治 / 中国 / 司法问题


中文书名英文书名作者文件类型上传日期备注
中国冤案录China's Unjust Court Cases廖亦武简体MOBI(三卷合集)
简体PDF(第2卷)
2014-02-23
2013-05-01
简介
遭遇警察
——中国维权第一线亲历记录
In the Shadow of the Rising Dragon
——Stories of Repression in the New China
徐友渔
华泽
简体PDF2016-12-08简介
昨夜雨骤风狂N/A吴弘达简体PDF2013-05-13简介
大国寡民N/A卢跃刚简体PDF2014-02-05简介
狱后杂谈N/A欧阳懿简体TXT2014-02-22简介

◇政治 / 中国 / 环境问题


中文书名作者文件类型上传日期备注
灾变论
——寻找另外一个中国
任不寐简体HTML2015-02-15简介
人口
——中国的悬剑
何清涟简体PDF2015-07-22简介
中国冥路
——中国每年非常死亡480万
北明繁體PDF2015-02-17简介
民以何食为天
——中国食品安全现状调查
周勍简体PDF(扫描版)2014-01-09简介

◇政治 / 中国 / 公民维权


中文书名作者文件类型上传日期备注
追问阳光财政
——2009公民税权手册
传知行研究所简体PDF2015-07-22简介
2017年,起来中国
——酷刑下的维权律师高智晟自述
高智晟繁體PDF2016-12-23简介

◇政治 / 中国 / 民运与革命


中文书名作者文件类型上传日期备注
中国民主革命之路
——中国民主化运动百题问答
王炳章简体PDF2015-11-12简介
如何推翻中共高光俊简体PDF2015-01-12简介

◇政治 / 中国 / (其它)


中文书名英文书名作者文件类型上传日期备注
王小波全集N/A王小波简体CHM
简体EPUB
2013-08-21
2013-09-14
简介
沉默的大多数 (杂文合集)N/A王小波简体PDF2013-10-20简介
刘晓波文集N/A刘晓波简体PDF2013-06-19简介
未来的自由中国在民间Civil Awakening
——The Dawn of a Free China
刘晓波简体PDF2012-12-09简介
单刃毒剑
——中国当代民族主义批判
A Single Blade and Toxic Sword
——Critique on Comtempory Chinese Nationalism
刘晓波简体PDF2012-12-09简介
容忍与自由
——胡适演讲集
N/A胡适简体MOBI2015-11-09简介
数人头胜过砍人头N/A胡平繁體PDF2013-03-16简介
犬儒病
——当代中国精神危机
N/A胡平简体PDF2013-04-13简介
火与冰Fire and Ice余杰简体PDF2012-12-11简介
致帝国的悼词
——中国大陆的自由状况及前景
N/A余杰简体PDF2012-12-11简介
关于中国的一百个常识One Hundred Points of Common Sense about China陈破空 (原名:陈劲松)简体PDF
简体CHM
2019-01-23
2013-05-13
简介
国家的常识 (中国部分)Countries and Concepts
——Politics, Geography, Culture
(美) 迈克尔·罗斯金简体PDF2015-02-23简介
王怡文集N/A王怡简体CHM2013-05-19简介
通往比傻帝国N/A冉云飞简体PDF(扫描版)2013-06-22简介
不服从的江湖N/A王怡简体PDF(扫描版)2013-05-19简介
中国近百年人权思想N/A杜钢建繁體EPUB
繁體MOBI
2014-05-04
2014-05-04
简介
伪民主派卖港实录N/A黄毓民繁體PDF2013-06-22简介
血纪N/A孔令平简体PDF2013-05-19简介

◇政治 / 美国


◇政治 / 美国 / 政治制度


中文书名英文书名作者文件类型上传日期备注
论美国的民主
其它中文名:
民主在美国
Democracy in America(法) 托克维尔简体PDF(上下卷)
简体MOBI
2012-10-06
2013-05-13
简介
美国是如何治理的To Govern America(美) 罗杰·希尔斯曼简体PDF(扫描版)2017-02-17简介
事关选举
——美国国会的政治解读
Congress
——The Electoral Connection
(美) 戴维·梅休简体PDF(扫描版)2017-02-17简介
国会政体
——美国政治研究
Congressional Government
——A Study in American Politics
(美) 伍德罗·威尔逊简体PDF(扫描版)2017-02-17简介
九人
——美国最高法院风云
The Nine
——Inside the Secret World of the Supreme Court
(美) 杰弗里·图宾简体PDF(扫描版)2017-02-17简介
美国的陪审团In the Hands of the People
——The Trial Jury's Origins, Triumphs, Troubles, and Future in American Democracy
(美) 威廉·德威尔简体PDF(扫描版)2017-02-18简介
牛津通识读本:美国总统制The American Presidency(美) Charles O. Jones简体EPUB
简体AZW3
2015-12-04
2015-12-04
简介
牛津通识读本:美国国会The U.S. Congress(美) Donald Ritchie英文PDF2015-12-13简介
牛津通识读本:美国最高法院The U.S. Supreme Court(美) Linda Greenhouse简体EPUB
简体AZW3
2015-12-05
2015-12-05
简介
牛津通识读本:美国政党和选举American Political Parties and ElectionsL. Sandy Maisel英文PDF2015-12-12简介
言论的边界
——美国宪法第一修正案简史
Freedom for the Thought That We Hate
——A Biography of the First Amendment
(美) 安东尼·刘易斯简体EPUB
简体PDF(扫描版)
2015-11-20
2017-02-17
简介
美国宪政历程
——影响美国的25个司法大案
N/A任东来
等
简体PDF(大字版)
简体PDF(扫描版)
简体EPUB
简体MOBI
2016-12-19
2013-11-26
2018-11-10
2014-02-23
简介
宪法的精神
——美国联邦最高法院200年经典判例选读
N/A北京大学法学院司法研究中心简体PDF(扫描版)2015-01-12简介
费城风云
——美国宪法的诞生和我们的反思
N/A易中天简体EPUB
简体TXT
2018-12-08
2016-05-19
简介

◇政治 / 美国 / 政治人物


中文书名英文书名作者文件类型上传日期备注
打造美国
——杰斐逊总统与马歇尔大法官的角逐
What Kind of Nation
——Thomas Jefferson, John Marshall, and the Epic Struggle to Create a United States
(美) 詹姆斯·西蒙简体PDF(扫描版)2017-05-05简介
牛津通识读本:林肯Lincoln(美) Allen Guelzo英文PDF2015-12-12简介

◇政治 / 美国 / 外交


中文书名英文书名作者文件类型上传日期备注
剑桥美国对外关系史The Cambridge History of American Foreign Relations(美) 沃伦·科恩 (中文名:孔华润)简体PDF(扫描版)2017-02-18简介
战后美国外交史
——从杜鲁门到里根
N/A资中筠
等
简体PDF(扫描版)2017-05-05简介
历史的见证
——1929-1969年
Witness to History
——1929-1969
(美) 查尔斯·波伦简体PDF(扫描版)2017-02-18简介
“美国例外论”与美国外交政策传统N/A周琪简体PDF2017-02-18简介

◇政治 / 美国 / 情报系统


中文书名英文书名作者文件类型上传日期备注
无处可藏
——斯诺登、美国国安局与全球监控
No Place to Hide
——Edward Snowden, the NSA, and the U.S. Surveillance State
(美) 格伦·格林沃尔德简体EPUB2016-12-20简介
帷幕
——美国中央情报局的秘密战争
Veil
——The Secret Wars of the CIA
(美) 鲍勃·伍德沃德简体PDF(扫描版)2017-02-18简介
危机
——美国国家安全局透视
N/A(未知)简体PDF2013-06-18简介

◇政治 / 美国 / (其它)


中文书名英文书名作者文件类型上传日期备注
美国的自由主义传统
——独立革命以来美国政治思想阐释
The Liberal Tradition in America
——An Interpretation of American Political Thought since the Revolution
(美) 路易斯·哈茨简体PDF(扫描版)2017-02-19简介
发掘新闻
——美国报业的社会史
Discovering The News
——A Social History Of American Newspapers
(美) 迈克尔·舒德森简体PDF(扫描版)2017-08-16简介
常识Common Sense(美) 托马斯·潘恩简体EPUB
简体MOBI
简体PDF(扫描版)
简体TXT
英文EPUB
英文MOBI
2014-05-23
2018-12-08
2017-03-24
2016-05-18
2018-09-06
2018-09-06
简介
民主的细节
——美国当代政治观察随笔
N/A刘瑜简体EPUB
简体MOBI
简体TXT
2013-09-14
2018-09-06
2013-05-24
简介
近距离看美国
包括如下:
历史深处的忧虑
总统是靠不住的
我也有一个梦想
如彗星划过夜空
N/A(美) 林达 (原名:丁鸿富 & 李晓琳)简体PDF(扫描版)
简体MOBI
2017-02-18
2018-09-06
简介

◇政治 / 苏联


◇政治 / 苏联 / 苏共历史


中文书名英文书名作者文件类型上传日期备注
牛津通识读本:俄国革命The Russian Revolution
——A Very Short Introduction
S. A. Smith英文PDF2015-12-13简介
苏共野史
——党治制的由来
The Communist Party Apparatus(俄) 阿卜杜拉赫曼·阿夫托尔汉诺夫简体PDF(扫描版)2014-01-09简介
苏联政治内幕
——知情者的见证
The System
——An Insider's Life in Soviet Politics
(俄) 乔治·阿尔巴托夫简体PDF(扫描版)2016-12-18简介
苏联解体亲历记Autopsy on an Empire
——The American Ambassador's Account of the Collapse of the Soviet Union
(美) 小杰克·马特洛克简体PDF(上下册)
简体PDF(扫描版)
2019-02-22
2013-07-07
简介
帝国的消亡
——当代俄罗斯的教训
Collapse of an Empire
——Lessons for Modern Russia
(俄) 叶戈尔·盖达尔简体PDF(扫描版)2015-01-12简介
苏联的最后一年N/A(俄) 罗伊·麦德维杰夫简体PDF(扫描版)2018-08-09简介
大国悲剧
——苏联解体的前因后果
N/A(俄) 尼古拉·雷日科夫简体TXT2016-05-17简介
一个大国的崛起与崩溃
——苏联历史专题研究,1917~1991
N/A沈志华 (主编)简体PDF(上中下册 扫描版)
简体TXT
2015-11-03
2018-08-09
简介
帝国
——俄罗斯五十年
Imperium(波兰) 雷沙德·卡普钦斯基繁體PDF(豎排掃描版)2013-11-26简介
苏联兴亡史纲N/A陈之骅
等
简体PDF(扫描版)2013-01-01简介
东欧大裂变纪实N/A欧阳东简体PDF(扫描版)2013-01-01简介

◇政治 / 苏联 / 政治人物


◇政治 / 苏联 / 政治人物 / 普列汉诺夫


中文书名作者文件类型上传日期备注
政治遗嘱
——格·瓦·普列汉诺夫最后的想法
(苏) 格奥尔基·普列汉诺夫简体PDF
简体HTML
2018-08-09
2016-12-23
简介

◇政治 / 苏联 / 政治人物 / 斯大林


中文书名英文书名作者文件类型上传日期备注
关于个人崇拜及其后果
其它中文名:
苏共二十大秘密报告
On the Cult of Personality and Its Consequences(苏) 尼基塔·赫鲁晓夫简体TXT2019-02-25简介
斯大林秘闻
——原苏联秘密档案披露
Stalin
——The First In-depth Biography Based on Explosive New Documents from Russia's Secret Archives
(俄) 爱德华·拉津斯基简体PDF
简体EPUB
简体MOBI
2013-01-01
2013-09-13
2018-11-10
简介
斯大林秘书回忆录Memoirs of the Former Secretary of Stalin(苏) 波利斯·巴让诺夫简体PDF(扫描版)2015-11-19简介
斯大林死之谜The Mystery of Stalin's Death
——Beria's Plot
(俄) 阿卜杜拉赫曼·阿夫托尔汉诺夫简体PDF(扫描版)2016-12-18简介
仅仅一年
——斯大林女儿回忆录
Only One Year(美) 斯维特兰娜·阿利卢耶娃简体PDF(扫描版)2018-08-09简介

◇政治 / 苏联 / 政治人物 / 托洛茨基


中文书名英文书名作者文件类型上传日期备注
我的生平
——托洛茨基自传
My Life
——An Attempt at an Autobiography
(苏) 列夫·托洛茨基简体PDF(扫描版)2015-10-24简介
先知三部曲
包括如下:
第1部 武装的先知——托洛茨基1879~1921
第2部 被解除武装的先知——托洛茨基1921~1929
第3部 流亡的先知——托洛茨基1929~1940
The Prophet
——The Life of Leon Trotsky
(波兰) 伊萨克·多伊彻简体HTML(全3部)2019-02-12简介

◇政治 / 苏联 / 政治人物 / 赫鲁晓夫


中文书名英文书名作者文件类型上传日期备注
赫鲁晓夫回忆录Memoirs of Nikita Khrushchev(苏) 尼基塔·赫鲁晓夫简体PDF(上下卷 扫描版)2016-12-09简介
最后的遗言
——赫鲁晓夫回忆录续集
Memoirs of Nikita Khrushchev(苏) 尼基塔·赫鲁晓夫简体PDF(扫描版)2016-12-09简介

◇政治 / 苏联 / 政治人物 / 勃列日涅夫


中文书名作者文件类型上传日期备注
走近衰亡
——苏联勃列日涅夫时期研究
陆南泉简体PDF(扫描版)2016-12-08简介

◇政治 / 苏联 / 政治人物 / 戈尔巴乔夫


中文书名英文书名作者文件类型上传日期备注
“真相”与自白
——戈尔巴乔夫回忆录
Memoirs(俄) 米哈伊尔·戈尔巴乔夫简体EPUB
简体MOBI
2013-10-20
2014-02-23
简介

◇政治 / 苏联 / 政治人物 / (其他人物)


中文书名英文书名作者文件类型上传日期备注
布哈林与布尔什维克革命Bukharin and the Bolshevik Revolution
——A Political Biography
(美) 斯蒂茨·科恩简体PDF(扫描版)2019-02-13简介

◇政治 / 苏联 / 大清洗与古拉格


中文书名英文书名作者文件类型上传日期备注
古拉格群岛The Gulag Archipelago(俄) 亚历山大·索尔仁尼琴简体PDF(上下册 扫描版)
简体MOBI
简体HTML
2018-08-09
2013-04-20
2013-02-22
简介
古拉格
——一部历史
Gulag
——A History
(美) 安妮·阿普尔鲍姆简体PDF(大字版)
简体EPUB
简体MOBI
英文PDF(大字版)
英文EPUB
2014-02-12
2014-01-09
2018-11-10
2017-08-16
2018-08-09
简介
苏联大清洗内幕N/A陈启能 (主编)简体HTML
简体PDF(扫描版)
2013-02-22
2018-08-09
简介
历届克格勃主席的命运Chairmen of the KGB
——Declassified fates
(俄) 列昂尼德·姆列钦简体PDF2019-02-07简介
正午的黑暗
其它中文名:
中午的黑暗
Darkness at Noon(英) 阿瑟·库斯勒英文PDF
英文EPUB
2015-02-09
2014-07-28
简介

◇政治 / 苏联 / (其它)


中文书名英文书名作者文件类型上传日期备注
牛津通识读本:苏联The Soviet Union
——A Very Short Introduction
(英) 斯蒂芬·洛弗尔英文PDF2015-12-13简介
俄国人The Russians(美) 赫德里克·史密斯简体PDF(扫描版)2014-02-21简介
苏联真相
——对101个重要问题的思考
N/A陆南泉
等
简体PDF(上中下 扫描版)2013-01-01简介
苏联的心灵
——共产主义时代的俄国文化
The Soviet Mind
——Russian Culture under Communism
(英) 以赛亚·伯林简体PDF(扫描版)2013-08-21简介
访苏归来
其它中文名:
从苏联归来
Return From The USSR(法) 安德烈·纪德英文PDF(扫描版)2019-02-08简介

◇政治 / 英国


中文书名英文书名作者文件类型上传日期备注
牛津通识读本:英国政治British Politics(英) Tony Wright英文PDF2015-12-13简介

◇政治 / 法国


中文书名英文书名作者文件类型上传日期备注
旧制度与大革命The Old Regime and the French Revolution(法) 托克维尔简体PDF
简体EPUB
简体MOBI
简体PDF(扫描版)
2012-10-06
2013-09-14
2018-11-10
2017-03-24
简介
法国大革命的起源Origins of the French Revolution(英) 威廉·多伊尔繁體PDF(掃描版)2013-11-26简介
牛津通识读本:法国大革命The French Revolution(英) 威廉·多伊尔英文PDF2019-01-03简介

◇政治 / 德国


中文书名作者文件类型上传日期备注
大墙倾倒之际
——克伦茨回忆录
(德) 埃贡·克伦茨简体PDF(扫描版)2016-12-10简介

◇政治 / (其它国家)


◇政治 / (其它国家) / 北朝鲜


中文书名英文书名作者文件类型上传日期备注
黄长烨回忆录Hwang Jang-yop Memoir(韩) 黄长烨简体PDF
简体TXT
2013-02-19
2016-05-01
简介
我们最幸福
——北韩人民的真实生活
其它中文名:
无可羡慕
——朝鲜人的普通生活
Nothing to Envy
——Ordinary Lives in North Korea
(美) Barbara Demick简体PDF
简体EPUB
2013-02-19
2013-09-14
简介
平壤水族馆
——我在北韩古拉格的十年
The Aquariums of Pyongyang(韩) 姜哲焕
(法) Pierre Rigoulot
繁體EPUB2014-05-04简介
这就是天堂!
——我的北韩童年
This is Paradise!
——My North Korean Childhood
(韩) 姜赫
Philippe Grangereau
繁體EPUB2014-06-22简介
平壤
——朝鲜之旅
Pyongyang
——A Journey in North Korea
(加) Guy Delisle简体PDF(漫画 扫描版)2013-03-30简介
逃出14号劳改营
——从人间炼狱到自由世界的脱北者传奇
Escape from Camp 14
——One Man's Remarkable Odyssey From North Korea to Freedom in the West
(韩) 申东赫繁體EPUB2016-07-18简介

◇政治 / (其它国家) / 柬埔寨


中文书名作者文件类型上传日期备注
革命的僭妄
——红色高棉,一部血淋淋的历史
(多人)简体PDF2016-12-23简介
波尔布特传王爱飞简体PDF2013-05-19简介

◇政治 / (其它国家) / 西班牙


中文书名英文书名作者文件类型上传日期备注
西班牙的民主和内战,1931~1939Democracy and Civil War in Spain 1931~1939(英) 马丁·布林克霍恩简体PDF(大字版)2019-02-18简介

◇政治 / (其它国家) / 捷克斯洛伐克


中文书名英文书名作者文件类型上传日期备注
哈维尔文集N/A(捷克) 哈维尔简体PDF2013-03-22简介
“布拉格之春”前后Czechoslovakia Since World War II(美) 塔德·舒尔茨简体PDF(扫描版)2018-08-09简介
杜布切克回忆录N/A(捷克) 杜布切克简体PDF(扫描版)2014-07-12简介
严寒来自克里姆林宫Frost comes from Kremlin(捷克) 姆林纳日简体PDF(扫描版)2014-07-12简介

◇政治 / (其它国家) / 波兰


中文书名作者文件类型上传日期备注
瓦文萨自传(波兰) 瓦文萨简体PDF(扫描版)2016-12-10简介

◇政治 / (其它国家) / 罗马尼亚


中文书名英文书名作者文件类型上传日期备注
流氓的归来The Hooligan's Return(罗) 诺曼·马内阿简体PDF(扫描版)2014-05-04简介
论小丑
——独裁者和艺术家
On Clowns
——The Dictator and the Artist
(罗) 诺曼·马内阿简体PDF(扫描版)2014-05-04简介
黑信封The Black Envelope(罗) 诺曼·马内阿简体PDF(扫描版)2014-05-04简介

◇政治 / (其它国家) / 古巴


中文书名作者文件类型上传日期备注
二十世纪最后的革命家
——菲德尔·卡斯特罗传
程映虹简体PDF2013-03-30简介


★心理学


【网盘】
微软网盘
BT Sync 密钥:BNZ6DOA6W577O6GUNH7C3MY6DWC6FTDQB (此密钥的使用方法,参见页面开头的“网盘下载须知”)

◇心理学 / 认知心理学


中文书名英文书名作者文件类型上传日期备注
学会提问
——批判性思维指南
Asking the Right Questions
——A Guide to Critical Thinking
(美) 尼尔·布朗
(美) 斯图尔特·基利
简体PDF(第7版)
简体EPUB(第7版)
简体MOBI(第7版)
英文PDF(第8版)
2012-01-20
2013-09-13
2015-11-14
2012-01-20
简介
影响力Influence
——The Psychology of Persuasion
(美) 罗伯特·西奥迪尼简体PDF
简体PDF(扫描版)
简体EPUB
简体MOBI
英文TXT
2013-02-25
2012-12-29
2013-09-13
2014-02-23
2012-12-29
简介
无从选择
——为何多即是少
The Paradox of Choice
——Why More Is Less
(美) 巴里·施瓦茨简体PDF(扫描版)
英文PDF
2012-12-29
2012-12-29
简介
思考,快与慢Thinking, Fast and Slow(美) 丹尼尔·卡尼曼简体EPUB
简体MOBI
简体TXT
2015-11-10
2014-07-15
2016-05-15
简介
浅薄
——互联网如何毒化我们的大脑
The Shallows
——What the Internet Is Doing to Our Brains
(美) 尼古拉斯·卡尔简体PDF
简体MOBI
2015-02-23
2015-11-14
简介
粘住
——为什么我们记住了这些,忘掉了那些?
Made to Stick
——Why Some Ideas Survive and Others Die?
(美) 奇普·希思
(美) 丹·希思
简体PDF(扫描版)2018-11-11简介
清醒思考的艺术
——你最好让别人去犯的52种思维错误
The Art of Thinking Clearly(瑞士) 罗尔夫·多贝里简体PDF(扫描版)
简体EPUB (精校版)
英文PDF
英文EPUB
2014-07-15
2015-12-01
2015-11-13
2015-11-13
简介
统计陷阱
其它中文名:
统计数字会撒谎
How to Lie with Statistics(美) 达莱尔·哈夫简体PDF
简体PDF(大字版)
2015-02-16
2018-11-21
简介

◇心理学 / 人格心理学


中文书名英文书名作者文件类型上传日期备注
少有人走的路
——心智成熟的旅程
The Road Less Traveled
——A New Psychology of Love, Traditional Values and Spiritual Growth
(美) 斯科特·派克简体PDF(扫描版)
简体EPUB (精校版)
简体MOBI
简体TXT
英文PDF
2012-06-29
2015-12-01
2014-02-23
2012-06-29
2013-04-14
简介
动机与人格Motivation and Personality(美) 亚伯拉罕·马斯洛简体EPUB
简体MOBI
简体PDF(扫描版)
2013-09-13
2018-11-11
2012-12-29
简介
人的潜能和价值
——人本主义心理学译文集
N/A(多人)简体PDF(扫描版)2013-02-05简介
梦的解析
其它中文名:
释梦
The Interpretation of Dreams(奥) 弗洛伊德简体PDF
英文PDF
简体TXT
2012-12-29
2013-04-14
2016-05-16
简介
精神分析引论A General Introduction to Psychoanalysis(奥) 弗洛伊德简体PDF
简体EPUB
简体TXT
2012-12-29
2013-04-16
2016-05-02
简介
身份的焦虑Status Anxiety(瑞士) 阿兰·德波顿简体PDF(扫描版)2014-07-15简介

◇心理学 / 社会心理学


中文书名英文书名作者文件类型上传日期备注
社会性动物The Social Animal(美) 埃利奥特·阿伦森简体PDF
简体MOBI
简体TXT
2014-01-09
2014-02-23
2016-05-01
简介
乌合之众
——大众心理研究
The Crowd
——A Study of the Popular Mind
(法) 古斯塔夫·勒庞简体PDF(扫描版)
简体MOBI
简体TXT
2012-12-29
2014-02-23
2016-05-16
简介
路西法效应
——好人是如何变成恶魔的
The Lucifer Effect
——Understanding How Good People Turn Evil
(美) 菲利普·津巴多简体PDF(大字版)
简体EPUB
繁體PDF(掃描版)
2018-09-10
2013-09-13
2013-02-05
简介

◇心理学 / 性心理学


中文书名英文书名作者文件类型上传日期备注
男人来自火星,女人来自金星Men Are from Mars, Women Are from Venus(美) 约翰·格雷简体PDF(扫描版)2018-09-09简介

◇心理学 / 教育心理学


中文书名英文书名作者文件类型上传日期备注
正面管教Positive Discipline(美) 简·尼尔森简体PDF2014-02-11简介
家庭会伤人
——自我重生的新契机
The Family
——A Revolutionary Way of Self Discovery
(美) 约翰·布雷萧简体PDF(扫描版)2014-07-15简介

◇心理学 / 进化心理学


(“进化心理学”是心理学的一个新的研究方向)

中文书名英文书名作者文件类型上传日期备注
进化心理学
——心理的新科学
Evolutionary Psychology
——The New Science of the Mind
(美) 大卫·巴斯简体PDF(扫描版)
简体MOBI
2012-12-31
2015-11-14
简介

◇心理学 / 洗脑


中文书名英文书名作者文件类型上传日期备注
洗脑术
——思想控制的荒唐史
Brainwash
——The Secret History of Mind Control
(英) 多米尼克·斯垂特菲尔德简体PDF(扫描版)
简体MOBI
2012-12-16
2015-05-11
简介
人的驯化、躲避与反叛N/A胡平简体PDF
简体PDF(大字版)
简体TXT
2013-05-01
2013-04-20
2013-03-17
简介
思想改造和极权主义心理学
——中国的洗脑研究
Thought Reform and the Psychology of Totalism
——A Study of Brainwashing in China
(美) Robert Jay Lifton英文MOBI2012-10-14简介
洗脑
——思维控制的科学
其它中文名:
洗脑心理学
Brainwashing
——The Science of Thought Control
(英) Kathleen Taylor简体PDF(扫描版)
英文PDF
2015-07-12
2012-10-14
简介
洗脑的历史N/A傅志彬简体PDF
简体PDF(扫描版)
2015-02-15
2015-05-11
简介

◇心理学 / 审讯与反审讯


中文书名作者文件类型上传日期备注
审讯心理攻略吴克利简体PDF(扫描版)2014-07-28简介
讯问学王传道简体PDF(扫描版)2014-07-28简介
审讯与反审讯文章汇集(热心读者)简体TXT2014-07-28简介

◇心理学 / (其它)


中文书名英文书名作者文件类型上传日期备注
与众不同的心理学
——如何正视心理学
其它中文名:
对“伪心理学”说不
How to Think Straight about Psychology(加) Keith Stanovich简体PDF(第8版 扫描版)
简体PDF(第7版 扫描版)
简体EPUB(第8版)
简体MOBI(第8版)
2015-05-11
2012-12-29
2015-02-16
2015-02-16
简介
怪诞行为学
——可预测的非理性
Predictably Irrational
——The Hidden Forces That Shape Our Decisions
(美) 丹·艾瑞里简体PDF(扫描版)
简体EPUB
2014-07-27
2015-01-07
简介
怪诞行为学2
——非理性的积极力量
The Upside of Irrationality
——The Unexpected Benefits of Defying Logic at Work and at Home
(美) 丹·艾瑞里简体EPUB2015-01-07简介
牛津通识读本:生活中的心理学PsychologyGillian Butler
Freda McManus
简体EPUB
简体AZW3
2015-12-14
2015-12-14
简介
如何变得有思想
——阮一峰博文集
N/A阮一峰简体EPUB2015-05-12简介


★历史


【网盘】
微软网盘
BT Sync 密钥:BSH7FXJFVWJTKWGSX5GTWX7PHZZ2D2M7Q (此密钥的使用方法,参见页面开头的“网盘下载须知”)

◇历史 / 世界史


中文书名英文书名作者文件类型上传日期备注
全球通史
——从史前史到21世纪
A Global History
——From Prehistory to the 21st Century
(加) 斯塔夫里阿诺斯简体PDF(上下册)
简体PDF(大字版)
简体CHM
英文PDF(扫描版)
2013-02-27
2016-12-16
2013-02-07
2017-02-22
简介
世界文明史
其它中文名:
文明的故事
The Story of Civilization(美) 威尔·杜兰特
(美) 阿里尔·杜兰特
简体PDF(扫描版)2017-05-03简介
枪炮、病菌与钢铁
——人类社会的命运
Guns, Germs, and Steel
——The Fates of Human Societies
(美) 贾雷德·戴蒙德简体EPUB
简体PDF(大字版)
简体CHM
简体MOBI
英文PDF
2013-09-13
2013-04-20
2013-02-05
2015-05-11
2013-02-05
简介
人类简史
——从动物到上帝
Sapiens
——A Brief History of Humankind
(以色列) 尤瓦尔·赫拉利简体EPUB
简体MOBI
2017-08-14
2018-08-08
简介
崩溃
——社会如何选择成败兴亡
Collapse
——How Societise Choose to Fail or Succeed
(美) 贾雷德·戴蒙德简体PDF(大字版)
简体MOBI
简体PDF(扫描版)
2013-04-20
2015-05-11
2017-03-26
简介
大国的兴衰
——1500年~2000年的经济变迁与军事冲突
The Rise and Fall of the Great Powers
——Economic Change and Military Conflict from 1500~2000
(英) 保罗·肯尼迪简体EPUB
简体PDF(大字版)
简体PDF(扫描版)
简体PDF
2017-05-06
2016-12-16
2015-11-18
2014-06-22
简介
年代四部曲
包括如下:
第1卷 革命的年代 (1789~1848)
第2卷 资本的年代 (1848~1875)
第3卷 帝国的年代 (1875~1914)
第4卷 极端的年代 (1914~1991)
The Age of Revolution (1789~1848)\nThe Age of Capital (1848~1875)\nThe Age of Empire (1875~1914)\nThe Age of Extremes (1914~1991)(英) 埃里克·霍布斯鲍姆简体PDF(扫描版)2018-08-07简介

◇历史 / 欧洲史


中文书名英文书名作者文件类型上传日期备注
你一定爱读的极简欧洲史
——为什么欧洲对现代文明的影响这么深
The Shortest History of Europe(澳) 约翰·赫斯特简体PDF(扫描版)
简体MOBI
2014-07-28
2015-05-11
简介
战后欧洲史Postwar
——A History of Europe Since 1945
(美) 托尼·朱特简体PDF(扫描版)2014-08-11简介
欧洲文明史
——自罗马帝国败落起到法国革命
The History of Civilization in Europe(法) 弗朗索瓦·基佐简体PDF(扫描版)2018-08-08简介
欧洲中世纪史Medieval Europe
——A Short History
(美) 朱迪斯·M·本内特
(美) C·沃伦·霍利斯特
简体PDF(扫描版)2017-05-04简介
夹缝中的六国
——维也纳会议以来的中东欧历史
The Lands between
——A History of East-Central Europe Since the Congress of Vienna
(英) 艾伦·帕尔默简体PDF(扫描版)2017-08-14简介
牛津通识读本:十字军The Crusades(英) Christopher Tyerman英文PDF2015-12-15简介

◇历史 / 中国


◇历史 / 中国 / 古代史


中文书名英文书名作者文件类型上传日期备注
资治通鉴N/A司马光简体EPUB(柏杨白话版)
简体MOBI(柏杨白话版)
简体HTML
2013-09-13
2018-11-10
2018-08-08
简介
中国历代政治得失N/A钱穆简体EPUB
简体MOBI
简体TXT
2013-09-14
2018-12-08
2013-08-22
简介
中国大历史China
——A Macro History
(美) 黄仁宇简体PDF2013-02-05简介
万历十五年1587, A Year Of No Significance(美) 黄仁宇简体PDF
简体TXT
2014-01-08
2016-05-17
简介
潜规则
——中国历史中的真实游戏
N/A吴思简体PDF
简体EPUB
简体CHM
简体MOBI
简体TXT
2013-02-27
2013-09-13
2013-02-07
2014-02-23
2016-04-30
简介
血酬定律
——中国历史中的生存游戏
N/A吴思简体PDF
简体MOBI
简体TXT
2014-01-09
2014-02-23
2016-04-30
简介
兴盛与危机
——论中国社会超稳定结构
N/A金观涛
刘青峰
简体PDF
简体HTML
2013-02-07
2017-08-14
简介
赫逊河畔谈中国历史Conversation on Chinese History by the Hudson River(美) 黄仁宇简体HTML
简体TXT
2018-08-08
2016-05-20
简介
明朝那些事N/A当年明月 (原名:石悦)简体PDF
简体PDF(大字版)
简体EPUB
简体MOBI
2017-05-06
2018-11-11
2013-09-14
2018-08-08
简介

◇历史 / 中国 / 近代史


中文书名英文书名作者文件类型上传日期备注
《炎黄春秋》合订本 (1999-2010)N/A《炎黄春秋》杂志社简体EPUB2013-09-11简介
中国近代史大纲Outline of Modern Chinese History蒋廷黻简体PDF2014-01-09简介
中国近代史The Rise of Modern China徐中约简体PDF(上下)
简体EPUB
2013-03-22
2013-09-13
简介
停滞的帝国
——两个世界的撞击
The Immobile Empire(法) Alain Peyrefitte简体PDF(扫描版)2014-05-23简介
追寻现代中国The Search for Modern China(美) Jonathan Spence (中文名:史景迁)繁體PDF
简体EPUB
简体PDF
2014-06-22
2014-06-22
2016-12-18
简介
论中国
——中国新史
China
——A New History
(美) 费正清繁體PDF(竪排掃描版)2015-02-08简介
晚清七十年The Final Seventy Years of Qing Dynasty(美) 唐德刚简体MOBI
繁體EPUB
繁體MOBI
2018-08-08
2019-01-05
2019-01-05
简介
帝国落日
——晚清大变局
N/A袁伟时简体TXT2016-05-16简介
走出帝制
——从晚清到民国历史的回望
Moving Away from the Imperial Regime秦晖简体EPUB
简体PDF(大字版)
简体TXT
简体MOBI
2016-12-16
2016-07-14
2016-05-20
2018-11-21
简介
五四新论
——既非文艺复兴,亦非启蒙运动
N/A(美) 余英时
等
简体PDF(扫描版)2017-05-06简介
袁氏当国N/A(美) 唐德刚简体PDF(扫描版)
简体MOBI
简体TXT
2015-02-09
2015-02-09
2016-04-30
简介
重说中国近代史N/A张鸣简体EPUB2013-09-14简介
太平天国God's Chinese Son
——The Taiping Heavenly Kingdom of Hong Xiuquan
(美) Jonathan Spence (中文名:史景迁)简体PDF(扫描版)2017-05-03简介
再说戊戌变法N/A张鸣简体MOBI2016-12-16简介
民国人物过眼录N/A杨奎松简体PDF(扫描版)2014-02-21简介
叫魂
——1768年中国妖术大恐慌
Soulstealers
——The Chinese Sorcery Scare of 1768
(美) Philip Kuhn (中文名:孔飞力)简体PDF(扫描版)
简体TXT
2014-05-23
2016-05-15
简介
慈禧统治下的大清帝国
其它中文名:
慈禧外传
China Under the Empress Dowager
——Being the History of the Life and Times of Tzŭ Hsi
(英) 约翰·濮兰德
(英) 埃德蒙德·贝克豪斯爵士
简体PDF(扫描版)2017-08-15简介
重返五四现场
——1919,一个国家的青春记忆
N/A叶曙明简体PDF(扫描版)2013-05-01简介
张学良口述历史N/A张学良 (口述)
(美) 唐德刚 (整理)
简体PDF(扫描版)
简体EPUB
简体MOBI
2015-01-07
2015-05-11
2015-05-11
简介
旷世风雷一梦痕
——九十年人生经历见证
N/A王思诚繁體PDF(竪排掃描版)2013-07-07简介

◇历史 / 中国 / 丛书


◇历史 / 中国 / 丛书 / 剑桥中国史


中文书名英文书名作者文件类型上传日期备注
秦汉史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(扫描版)2014-06-22简介
隋唐史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(扫描版)2014-06-22简介
辽西夏金元史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(扫描版)2014-06-22简介
明代史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(扫描版)2014-06-22简介
晚清史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(上下卷 扫描版)2014-06-22简介
中华民国史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(上下卷 扫描版)2014-06-22简介
中华人民共和国史The Cambridge History of China(美) 费正清 (主编)
崔瑞德 (主编)
简体PDF(上卷 扫描版)2015-02-09简介

◇历史 / 古希腊


(与古希腊的战争相关的书籍,放在【军事类 / 古代军事史 / 古希腊】分类目录下)

中文书名英文书名作者文件类型上传日期备注
希腊城邦制度
——读希腊史笔记
N/A顾准简体PDF
简体MOBI
2013-02-07
2015-02-13
简介
爱琴海沿岸的奇异王国Wondrous Realms of the Aegean(美) 戴尔·布朗简体PDF(扫描版)2015-11-03简介

◇历史 / 古罗马


(与古罗马的战争相关的书籍,放在【军事类 / 古代军事史 / 古罗马】分类目录下)

中文书名英文书名作者文件类型上传日期备注
罗马帝国衰亡史The History of the Decline and Fall of the Roman Empire(英) 吉本简体PDF(全6卷 扫描版)
简体EPUB
简体CHM
简体PDF(上下册 节译)
简体MOBI
2013-11-26
2013-09-14
2013-02-07
2013-02-07
2015-02-13
简介
罗马人的故事N/A(日) 盐野七生繁體PDF(掃描版)2017-05-03简介
牛津通识读本:罗马帝国The Roman Empire(英) Christopher Kelly英文PDF2015-12-15简介
罗马盛衰原因论Considerations on the Causes of the Grandeur and Decadence of the Romans(法) 孟德斯鸠简体PDF
简体PDF(扫描版)
2013-02-07
2015-07-11
简介
罗马风云N/A(德) 特奥多尔·蒙森简体PDF(扫描版)2017-05-03简介
罗马史Roman History(古罗马) 阿庇安简体TXT2016-05-01简介

◇历史 / 美国


中文书名英文书名作者文件类型上传日期备注
美国通史
包括如下:
第1卷 美国的奠基时代(1585~1775)
第2卷 美国的独立和初步繁荣(1775~1860)
第3卷 美国内战与镀金时代(1861~19世纪末)
第4卷 崛起和扩张的年代(1898~1929)
第5卷 罗斯福时代(1929~1945)
第6卷 战后美国史(1945~2000)
A General History of the U.S. 1585-2000刘绪贻、杨生茂 等简体PDF(扫描版)2017-02-20简介
光荣与梦想
——1932-1972年美国社会实录
The Glory and the Dream
——A Narrative History of America, 1932-1972
(美) 威廉·曼彻斯特简体PDF(大字版)
简体PDF
简体TXT
2016-12-16
2017-02-17
2016-05-01
简介
美国黑人斗争史
——1619年至今的历史、文献与分析
Black Protest
——History, Documents, And Analysis 1619 To The Present
(美) 乔安妮·格兰特简体PDF(扫描版)2017-02-18简介
牛津通识读本:大萧条与新经济政策The Great Depression and New Deal(美) Eric Rauchway英文PDF2015-12-15简介

◇历史 / 英国


中文书名英文书名作者文件类型上传日期备注
牛津通识读本:十八世纪的英国Eighteenth-Century Britain(英) Paul Langford英文PDF2015-12-15简介
牛津通识读本:十九世纪的英国Nineteenth-Century Britain(英) Christopher Harvie
(英) Colin Matthew
英文PDF2015-12-15简介
牛津通识读本:二十世纪的英国Twentieth-Century Britain(英) Kenneth Morgan英文PDF2015-12-15简介
牛津通识读本:诺曼征服The Norman Conquest(英) George Garnett英文PDF2016-12-16简介

◇历史 / 法国


中文书名英文书名作者文件类型上传日期备注
法国文明史
——自罗马帝国败落起
History of civilization in France
——From the fall of the Roman Empire
(法) 弗朗索瓦·基佐简体PDF(扫描版)2015-11-03简介

◇历史 / 德国


中文书名英文书名作者文件类型上传日期备注
第三帝国的兴亡The Rise and Fall of the Third Reich
——A History of Nazi Germany
(美) 威廉·夏伊勒简体PDF(上中下)
简体EPUB
简体MOBI
简体TXT
英文PDF
2013-02-22
2013-09-13
2015-02-08
2016-05-01
2018-08-08
简介
纳粹德国
——一部新的历史
Nazi Germany
——A New History
(德) 克劳斯·费舍尔简体PDF(扫描版)2017-08-17简介
希特勒的民族帝国
——劫掠、种族战争和纳粹主义
Hitler's Beneficiaries
——Plunder, Racial War, and the Nazi Welfare State
(德) 格茨·阿利简体PDF(扫描版)2013-08-21简介
希特勒的土地
——美国人亲历的纳粹疯狂之路
Hitlerland
——American Eyewitnesses to the Nazi Rise to Power
(美) Andrew Nagorski英文EPUB
英文MOBI
2015-02-09
2015-02-09
简介

◇历史 / 日本


中文书名英文书名作者文件类型上传日期备注
拥抱战败
——第二次世界大战后的日本
Embracing Defeat
——Japan in the Wake of World War II
(美) 约翰·道尔简体PDF(扫描版)2017-08-14简介


★经济


【网盘】
微软网盘
BT Sync 密钥:B2FRYA6AXCDW6CF4YJVFWKH2HAXOFICOX (此密钥的使用方法,参见页面开头的“网盘下载须知”)

◇经济 / 经济学


◇经济 / 经济学 / 理论


中文书名英文书名作者文件类型上传日期备注
国富论
其它中文名:
国民财富的性质和原因
The Wealth of Nations(英) 亚当·斯密简体CHM
简体EPUB
简体MOBI
简体TXT
2013-04-09
2018-12-08
2015-02-14
2016-05-15
简介
经济学Economics(美) 保罗·萨缪尔森
(美) 威廉·诺德豪斯
简体PDF(第18版 扫描版)2014-02-13简介
经济学原理Principles of Economics(美) 格里高利·曼昆简体PDF(微观分册 第5版 扫描版)
简体PDF(宏观分册 第5版 扫描版)
简体EPUB(微观分册 第3版 插图版)
简体MOBI(微观分册 第3版 插图版)
简体TXT
2013-02-22
2013-02-22
2015-02-14
2015-02-14
2016-05-02
简介
宏观经济学Macroeconomics(德) 鲁迪格·多恩布什简体PDF(第7版 扫描版)2015-07-12简介
高级宏观经济学Advanced Macroeconomics(美) 戴维·罗默简体PDF(第2版 扫描版)
英文PDF(第1版 扫描版)
2014-07-15
2018-06-23
简介
中级微观经济学
——现代观点
Intermediate Microeconomics
——A Modern Approach
(美) 哈尔·范里安简体PDF(第8版)
英文PDF(第8版)
2015-07-12
2018-06-23
简介
微观经济分析Microeconomic Analysis(美) 哈尔·范里安简体PDF(第3版)2014-07-15简介
就业、利息和货币通论The General Theory of Employment, Interest, and Money(美) 约翰·梅纳德·凯恩斯简体PDF
简体MOBI
2014-02-22
2015-02-14
简介
人的行为
——经济学专论
其它中文名:
人类行为的经济学分析
Human Action
——A Treatise on Economics
(奥) 路德维希·冯·米塞斯英文EPUB2018-09-15简介
个人主义与经济秩序Individualism and Economic Order(英) 弗里德里希·哈耶克简体PDF
简体EPUB
简体MOBI
2013-04-10
2013-09-13
2015-02-14
简介
经济发展理论The Theory of Economic Development(奥) 约瑟夫·熊彼特简体TXT2016-05-17简介
企业的性质
其它中文名:
公司的本质
The Nature of the Firm(英) 罗纳德·科斯英文PDF2018-09-18简介
社会成本问题The Problem of Social Cost(英) 罗纳德·科斯英文PDF(扫描版)2018-09-19简介
市场经济
——大师们的思考
The Market Economy
——A Reader
(美) 詹姆斯·多蒂
(美) 德威特·李
简体PDF(扫描版)2013-04-09简介
以自由看待发展Development as Freedom(印度) 阿马蒂亚·森简体PDF(扫描版)2013-04-09简介
短缺经济学Economics of Shortage(匈) 雅诺什·科尔奈简体PDF(扫描版)2015-01-11简介
经济学原理N/A杨小凯 (原名:杨羲光)简体PDF(扫描版)2015-07-12简介
经济学原理
其它中文名:
国民经济学原理
Principles of Economics(奥) 卡尔·门格尔简体PDF(扫描版)
英文PDF
2018-09-15
2018-09-15
简介
自然价值Natural Value(奥) 弗里德里希·冯·维塞尔英文PDF2018-09-15简介
资本与利息Capital and Interest(奥) 欧根·冯·庞巴维克繁體PDF(第1卷 掃描版)2018-09-05简介
利息与价格Interest and Prices(瑞典) 克努特·维克塞尔英文PDF(扫描版)2018-09-19简介
卡尔·马克思及其体系的终结Karl Marx and the Close of His System(奥) 欧根·冯·庞巴维克英文PDF(扫描版)2018-09-22简介
资本论Capital(德) 卡尔·马克思简体PDF(大字版)2018-09-05简介

◇经济 / 经济学 / 评论


中文书名英文书名作者文件类型上传日期备注
自由选择
——个人声明
其它中文名:
选择的自由
Free to Choose
——A personal statement
(美) 米尔顿·弗里德曼简体PDF
简体EPUB
简体MOBI
英文PDF
2013-03-24
2013-09-13
2015-02-14
2013-04-09
简介
资本主义与自由Capitalism and Freedom(美) 米尔顿·弗里德曼简体PDF
简体PDF(扫描版)
简体MOBI
2014-02-13
2018-09-05
2015-02-14
简介
对我们生活的误测
——为什么 GDP 增长不等于社会进步
Mismeasuring Our Lives
——Why GDP Doesn't Add Up
(美) 约瑟夫·斯蒂格利茨
(印度) 阿马蒂亚·森
简体PDF(扫描版)2015-07-12简介
经济学的著名寓言
——市场失灵的神话
Famous Fables of Economics
——Myths of Market Failures
(美) Daniel Spulber (主编)简体PDF(扫描版)2015-11-05简介
充满灵性的经济学Economics from the Heart
——A Samuelson Sampler
(美) 萨缪尔森简体PDF(扫描版)2013-04-09简介
从来就没有救世主N/A许小年简体PDF(扫描版)2013-04-09简介

◇经济 / 经济学 / 通俗读物


中文书名英文书名作者文件类型上传日期备注
魔鬼经济学
——揭示隐藏在表象之下的真实世界
Freakonomics
——A Rogue Economist Explores the Hidden Side of Everything
(美) 列维特
(美) 都伯纳
简体PDF(扫描版)
简体MOBI
简体EPUB(不全)
2013-04-09
2015-11-14
2015-02-14
简介
经济为什么会崩溃
——鱼、美元与经济学的故事
How an Economy Grows and Why It Crashes(美) 彼得·希夫
(美) 安德鲁·希夫
简体PDF(扫描版)2014-03-31简介
牛津通识读本:大众经济学Economics(英) Partha Dasgupta简体EPUB
简体AZW3
英文PDF
2015-12-14
2015-12-14
2018-06-24
简介
生活中的经济学N/A茅于轼简体PDF
简体EPUB
简体MOBI
2013-04-09
2013-09-13
2015-02-14
简介
谁妨碍了我们致富N/A茅于轼简体TXT2016-05-16简介

◇经济 / 金融


中文书名英文书名作者文件类型上传日期备注
货币金融学Economics of Money, Banking, and Financial Markets(美) 弗雷德里克·米什金简体PDF(第9版 扫描版)
英文PDF(第7版 扫描版)
2015-02-08
2015-01-11
简介
金融学Financial Economics(美) 兹维·博迪
(美) 罗伯特·莫顿
简体PDF(扫描版)2018-06-24简介
期权、期货及其他衍生品Options, Futures and Other Derivatives(加) 约翰·赫尔简体PDF(第7版 扫描版)
英文PDF(第7版 扫描版)
2015-01-11
2015-11-04
简介
默顿·米勒论金融衍生工具Merton Miller on Derivatives(美) 默顿·米勒简体PDF(扫描版)2015-01-11简介

◇经济 / 投资


中文书名英文书名作者文件类型上传日期备注
证券分析Security Analysis(美) 本杰明·格雷厄姆
(美) 戴维·多德
简体PDF(扫描版)
简体EPUB(第6版)
简体MOBI
2013-04-29
2013-09-13
2018-12-08
简介
聪明的投资者
其它中文名:
投资指南
The Intelligent Investor(美) 本杰明·格雷厄姆简体PDF(扫描版)2014-02-20简介
格雷厄姆-多德都市的超级投资者们The Superinvestors of Graham-and-Doddsville(美) 沃伦·巴菲特简体TXT
英文PDF(扫描版)
2015-05-24
2015-05-24
简介
非理性繁荣Irrational Exuberance(美) 罗伯特·希勒简体PDF(扫描版)
简体TXT
2014-05-23
2016-05-02
简介
随机致富的傻瓜
——发现市场和人生中的隐藏机遇
其它中文名:
随机漫步的傻瓜
Fooled by Randomness
——The Hidden Role of Chance in Life and in the Markets
(美) 纳西姆·塔勒布简体PDF(扫描版)2018-08-27简介
金融炼金术The Alchemy of Finance(美) 乔治·索罗斯简体PDF
简体EPUB
简体MOBI
简体TXT
2013-04-29
2013-09-13
2015-05-10
2016-05-02
简介
股票作手回忆录
其它中文名:
投机之王
——利弗莫尔合集
Reminiscences of A Stock Operator(美) 埃德温·李费佛
(美) 杰西·利弗莫尔
简体PDF(扫描版)2018-09-29简介

◇经济 / 经济学家


中文书名英文书名作者文件类型上传日期备注
从马克思到凯恩斯
——十大经济学家
Ten Great Economists
——from Marx to Keynes
(奥) 约瑟夫·熊彼特简体PDF(扫描版)2013-04-09简介
经济学大师们New Ideas from Dead Economists
——An Introduction to Modern Economic Thought
(美) 托德·布赫霍尔茨简体PDF(扫描版)2018-06-24简介
思想者的足迹
——五十位重要的西方经济学家
Fifty Major Economists(美) 史蒂文·普雷斯曼简体PDF(扫描版)2015-11-09简介
知识、自由与秩序
——哈耶克思想论集
Knowledge, Freedom and Order(德) 格尔哈德·帕普克 (主编)简体PDF(扫描版)2018-08-28简介

◇经济 / 博弈论


(本类别是偏重于经济领域的博弈论)

中文书名英文书名作者文件类型上传日期备注
策略思维
——商界、政界及日常生活中的策略竞争
Thinking Strategically
——The Competitive Edge in Business, Politics, and Everyday Life
(美) 阿维纳什·迪克西特
(美) 巴里·奈尔伯夫
简体PDF(扫描版)
简体EPUB
简体MOBI
2014-01-09
2018-06-23
2015-05-10
简介
剪刀、石头、布
——趣味博弈论
Rock, Paper, Scissors
——Game Theory in Everyday Life
(英) Len Fisher简体PDF(扫描版)2014-04-06简介

◇经济 / 市场营销


中文书名英文书名作者文件类型上传日期备注
定位Positioning
——The Battle for Your Mind
(美) 杰克·特劳特
(美) 阿尔·里斯
简体PDF(扫描版)
简体TXT
2018-08-27
2016-05-16
简介
营销战Marketing Warfare(美) 杰克·特劳特
(美) 阿尔·里斯
简体PDF(扫描版)2018-08-27简介

◇经济 / (其它)


中文书名英文书名作者文件类型上传日期备注
世界是平的
——21世纪简史
The World Is Flat
——A Brief History of the Twenty-first Century
(美) 托马斯·弗里德曼简体PDF(大字版)
简体MOBI
2014-01-09
2015-05-10
简介
蓝海战略
——超越产业竞争,开创全新市场
Blue Ocean Strategy(韩) 金伟灿
勒妮·莫博涅
简体PDF
简体MOBI
简体TXT
2013-12-31
2015-05-10
2016-05-18
简介


★管理


【网盘】
微软网盘
BT Sync 密钥:B3WNBTAAFFAODFR6FQ3E3L5BBSJAFNBSJ (此密钥的使用方法,参见页面开头的“网盘下载须知”)

中文书名英文书名作者文件类型上传日期备注
你的灯亮着吗?
——找到问题的真正所在
Are Your Lights On
——How to Figure Out What the Problem Really Is
(美) 唐纳德·高斯
(美) 杰拉尔德·温伯格
简体EPUB (精校版)
简体PDF
简体MOBI
简体TXT
2015-12-01
2010-11-02
2015-02-13
2012-03-08
简介
第五项修炼
——学习型组织的艺术和实务
The Fifth Discipline
——The Art and Practice of the Learning Organization
(美) 彼得·圣吉简体PDF
简体EPUB
2015-04-05
2017-08-15
简介
21世纪的管理挑战Management Challenges for 21st Century(美) 彼得·德鲁克英文PDF2018-06-22简介
只有偏执狂才能生存Only the Paranoid Survive(美) 安迪·格鲁夫简体PDF2016-04-24简介
格鲁夫给经理人的第一课High Output Management(美) 安迪·格鲁夫简体PDF2016-04-24简介


★社会学


【网盘】
微软网盘
BT Sync 密钥:BZR4TTYHT25QWUIE6YNMAKWUGBHKSGLC6 (此密钥的使用方法,参见页面开头的“网盘下载须知”)

◇社会学 / 传媒


中文书名英文书名作者文件类型上传日期备注
理解媒介
——论人的延伸
Understanding Media
——The Extensions of Man
(加) 麦克卢汉简体PDF(扫描版)2017-08-15简介
娱乐至死Amusing Ourselves to Death(美) 尼尔·波兹曼简体PDF(扫描版)
简体EPUB
简体MOBI
2015-01-07
2019-01-06
2015-02-13
简介
引爆点
其它中文名:
引爆流行
The Tipping Point
——How Little Things Can Make a Big Difference
(加) 马尔科姆·格拉德威尔简体PDF(扫描版)2015-11-04简介

◇社会学 / (其它)


中文书名英文书名作者文件类型上传日期备注
黑天鹅
——如何应对不可知的未来
其它中文名:
黑天鹅效应
The Black Swan
——The Impact of the Highly Improbable
(美) 纳西姆·塔勒布简体PDF
简体EPUB
简体MOBI
2014-01-09
2017-08-15
2015-02-13
简介
反脆弱
——从不确定性中获益
Antifragile
——Things That Gain from Disorder
(美) 纳西姆·塔勒布简体EPUB2018-12-12简介
社会学的基本概念Basic Concepts in Sociology(德) 马克斯·韦伯简体PDF(扫描版)2015-11-09简介
社会科学方法论N/A(德) 马克斯·韦伯简体PDF(扫描版)2015-11-09简介


★文艺


【网盘】
微软网盘
BT Sync 密钥:BMBB5YLBIJJAE5H6TP27OS7YCEUKCYHZK (此密钥的使用方法,参见页面开头的“网盘下载须知”)

◇文艺 / 中国


◇文艺 / 中国 / 文化


中文书名英文书名作者文件类型上传日期备注
中国人的性格
其它中文名:
中国人的素质
Chinese Characteristics(美) 阿瑟·史密斯 (中文名:明恩溥)简体PDF
简体EPUB
简体MOBI
简体TXT
2011-02-09
2013-09-13
2015-07-19
2012-03-19
简介
丑陋的中国人The Ugly Chinaman柏杨 (原名:郭定生)简体TXT
简体EPUB
简体MOBI
2012-10-06
2018-12-08
2015-11-08
简介
吾国与吾民My Country and My People林语堂简体PDF(大字版)
简体EPUB
简体MOBI
简体TXT
2018-08-20
2017-04-30
2014-02-23
2016-05-10
简介
中国比小说更离奇China is Stranger Than Fiction钟祖康简体TXT
简体MOBI
2013-02-25
2013-02-25
简介
来生不做中国人I Don't Want to be Chinese Again钟祖康简体PDF2013-04-14简介
美人赠我蒙汗药N/A王朔简体PDF
简体EPUB
简体MOBI
2013-03-14
2013-09-14
2018-12-08
简介
中国传统文化的陷阱N/A端木赐香 (原名:李桂枝)简体PDF(扫描版)2015-07-12简介

◇文艺 / 中国 / 文学家、艺术家


中文书名作者文件类型上传日期备注
胡适口述自传胡适 (英文口述)
唐德刚 (译注)
简体PDF(扫描版)
简体MOBI(不全)
2013-11-26
2015-02-13
简介

◇文艺 / 中国 / (其它)


中文书名作者文件类型上传日期备注
灵山高行健简体PDF
简体EPUB
简体CHM
2013-07-07
2013-09-14
2013-07-07
简介
一个人的圣经高行健简体PDF
简体CHM
2013-07-07
2013-07-07
简介
寻找家园高尔泰简体PDF
简体MOBI
2013-06-03
2015-02-13
简介
尘世·挽歌土家野夫 (原名:郑世平)简体PDF
简体EPUB
2013-01-07
2015-02-13
简介
看不见的江湖土家野夫 (原名:郑世平)简体PDF2013-06-03简介
文殇袁红冰 (原名:袁红兵)简体CHM2013-06-03简介
沉沦的圣殿
——中国20世纪70年代地下诗歌遗照
廖亦武 (主编)简体PDF(扫描版)
简体PDF(不全)
2013-11-26
2013-01-17
简介
《让子弹飞》喻意图文解释(不详)简体CHM2013-02-05简介

◇文艺 / 日本


◇文艺 / 日本 / 文化


中文书名英文书名作者文件类型上传日期备注
菊花与刀
——日本文化诸模式
其它中文名:
菊花與劍
——日本文化的雙重性
The Chrysanthemum and the Sword(美) 鲁思·本尼迪克特简体PDF
简体PDF(大字版)
简体PDF(扫描版)
简体EPUB(增订版)
2014-01-09
2019-01-04
2017-08-15
2015-07-17
简介


★哲学


【网盘】
微软网盘
BT Sync 密钥:B6WWVBXPMZDI5IL4KED6AAHA5FO4UNKQF (此密钥的使用方法,参见页面开头的“网盘下载须知”)

◇哲学 / 通俗读物


中文书名英文书名作者文件类型上传日期备注
你的第一本哲学书
其它中文名:
哲學入門九堂課
What Does It All Mean?
——A very short introduction to philosophy
(美) 托马斯·内格尔简体PDF(扫描版)
简体MOBI
2014-06-20
2015-02-13
简介
苏菲的世界Sophie's World(挪威) 乔斯坦·贾德简体PDF(精校版 无删节)
简体EPUB(精校版 无删节)
简体MOBI(精校版 无删节)
2015-12-24
2015-12-24
2015-12-24
简介
哲学问题The Problems of Philosophy(英) 伯特兰·罗素简体PDF
简体EPUB
简体MOBI
简体TXT
2014-06-20
2015-02-13
2015-02-13
2016-05-10
简介

◇哲学 / 哲学史


中文书名英文书名作者文件类型上传日期备注
西方哲学史A History of Western Philosophy(英) 伯特兰·罗素简体PDF
简体PDF(大字版)
简体PDF(扫描版)
简体MOBI
简体TXT
2014-06-20
2019-01-06
2015-01-12
2015-02-13
2016-05-11
简介
西方哲学史A History of Philosophy(美) 弗兰克·梯利简体PDF(增补修订版 扫描版)2018-06-25简介
哲学史讲演录Lectures on the History of Philosophy(德) 黑格尔繁體PDF(掃描版)2018-12-09简介
中国哲学简史A Short History of Chinese Philosophy冯友兰简体PDF
简体EPUB
简体MOBI
2014-06-20
2015-02-13
2015-02-13
简介
中国哲学史大纲N/A胡适简体EPUB2015-02-15简介
形而上学的迷雾The Fog of Metaphysics刘晓波简体PDF(扫描版)2014-07-28简介

◇哲学 / 哲学家


◇哲学 / 哲学家 / 苏格拉底


中文书名英文书名作者文件类型上传日期备注
牛津通识读本:苏格拉底Socrates
——A Very Short Introduction
(英) 克里斯托弗·泰勒简体PDF(扫描版)2019-01-19简介
回忆苏格拉底Memorabilia(古希腊) 色诺芬简体CHM
简体PDF(扫描版)
英文EPUB
2014-06-20
2017-03-24
2018-06-25
简介

◇哲学 / 哲学家 / 柏拉图


中文书名英文书名作者文件类型上传日期备注
牛津通识读本:柏拉图Plato
——A Very Short Introduction
(英) 朱莉娅·安纳斯英文PDF2019-01-16简介

◇哲学 / 哲学家 / 亚里士多德


中文书名英文书名作者文件类型上传日期备注
牛津通识读本:亚里士多德Aristotle
——A Very Short Introduction
(英) 乔纳森·巴恩斯英文PDF2019-01-14简介

◇哲学 / 哲学家 / 笛卡尔


中文书名英文书名作者文件类型上传日期备注
牛津通识读本:笛卡尔Descartes
——A Very Short Introduction
(英) 汤姆·索雷尔简体EPUB
简体AZW3
英文PDF
2015-12-04
2015-12-04
2016-12-17
简介

◇哲学 / 哲学家 / 康德


中文书名英文书名作者文件类型上传日期备注
牛津通识读本:康德Kant
——A Very Short Introduction
(英) 罗杰·斯克鲁顿简体EPUB
简体AZW3
英文PDF(扫描版)
2015-12-03
2015-12-03
2016-12-17
简介

◇哲学 / 哲学家 / 叔本华


中文书名英文书名作者文件类型上传日期备注
牛津通识读本:叔本华Schopenhauer
——A Very Short Introduction
(英) 克里斯托弗·贾纳韦简体EPUB
简体AZW3
英文PDF
2015-12-04
2015-12-04
2016-12-17
简介

◇哲学 / 哲学家 / 尼采


中文书名英文书名作者文件类型上传日期备注
牛津通识读本:尼采Nietzsche
——A Very Short Introduction
(英) 迈克尔·坦纳简体EPUB
简体AZW3
英文PDF
2015-12-04
2015-12-04
2016-12-17
简介
尼采Nietzsche(德) 马丁·海德格尔简体PDF(扫描版)2019-01-20简介

◇哲学 / 哲学家 / 罗素


中文书名英文书名作者文件类型上传日期备注
牛津通识读本:罗素Russell
——A Very Short Introduction
(英) 安东尼·格雷林英文PDF2019-01-20简介
我的哲学发展My Philosophical Development(英) 伯特兰·罗素简体PDF(扫描版)2018-06-25简介

◇哲学 / 哲学家 / 波普尔


中文书名英文书名作者文件类型上传日期备注
无尽的探索
——卡尔·波普尔自传
Unended Quest
——An Intellectual Autobiography
(英) 卡尔·波普尔简体EPUB
简体TXT
2015-02-15
2016-05-02
简介

◇哲学 / 哲学家 / 维特根斯坦


中文书名英文书名作者文件类型上传日期备注
牛津通识读本:维特根斯坦Wittgenstein
——A Very Short Introduction
(英) 安东尼·格雷林简体EPUB
简体AZW3
英文PDF
2015-12-04
2015-12-04
2016-12-17
简介

◇哲学 / 哲学家 / (其他哲学家)


中文书名英文书名作者文件类型上传日期备注
大哲学家
——思想大师们的生平与精髓
The Great Philosophers
——From Socrates to Turing
(英) 雷·蒙克 (主编)
(英) 弗雷德里克·拉斐尔 (主编)
简体PDF(扫描版)2019-01-20简介

◇哲学 / 形而上学


中文书名英文书名作者文件类型上传日期备注
未来形而上学导论Prolegomena to Any Future Metaphysics(德) 伊曼努尔·康德简体CHM
简体PDF(扫描版)
2014-06-20
2017-03-26
简介
第一哲学沉思集
其它中文名:
形而上学沉思录
Meditations on First Philosophy(法) 勒内·笛卡尔简体PDF
简体PDF(扫描版)
简体TXT
2014-06-20
2017-03-24
2016-05-10
简介
存在与时间Being and Time(德) 马丁·海德格尔简体TXT2019-01-21简介

◇哲学 / 知识论与认识论


中文书名英文书名作者文件类型上传日期备注
纯粹理性批判Critique of Pure Reason(德) 伊曼努尔·康德简体PDF
简体PDF(扫描版)
英文EPUB
2014-06-20
2017-03-26
2018-06-25
简介
谈谈方法
其它中文名:
方法论
Discourse on the Method(法) 勒内·笛卡尔简体PDF(扫描版)2014-06-20简介
人类理解研究An Enquiry concerning Human Understanding(英) 大卫·休谟简体PDF(扫描版)
简体MOBI
2014-06-20
2015-02-13
简介
系统化思维导论An Introduction to General Systems Thinking(美) 杰拉尔德·温伯格简体PDF(扫描版)2015-10-24简介

◇哲学 / 逻辑学


中文书名英文书名作者文件类型上传日期备注
简单的逻辑学Being Logical
——A Guide to Good Thinking
(美) 丹尼斯·麦克伦尼简体PDF(扫描版)
简体MOBI
英文PDF
2015-01-07
2015-02-13
2015-11-10
简介
牛津通识读本:简明逻辑学Logic
——A Very Short Introduction
(英) 格雷厄姆·普里斯特简体EPUB
简体AZW3
英文PDF(扫描版)
2015-12-14
2015-12-14
2016-12-17
简介

◇哲学 / 伦理学


中文书名英文书名作者文件类型上传日期备注
幸福之路The Conquest of Happiness(英) 伯特兰·罗素简体EPUB
简体MOBI
简体TXT
2014-06-20
2018-12-09
2016-05-10
简介
道德情操论The Theory of Moral Sentiments(英) 亚当·斯密简体PDF
简体PDF(扫描版)
简体EPUB
简体MOBI
2014-06-20
2015-01-12
2015-11-10
2015-02-13
简介
论道德的谱系
——一篇论战檄文
其它中文名:
道德谱系学
On the Genealogy of Morality
——A Polemic
(德) 弗里德里希·尼采简体EPUB(注疏版)
简体MOBI(注疏版)
2018-12-10
2018-12-10
简介

◇哲学 / 科学哲学


中文书名英文书名作者文件类型上传日期备注
科学发现的逻辑The Logic of Scientific Discovery(英) 卡尔·波普尔简体HTML
简体MOBI
2014-06-20
2015-02-13
简介
猜想与反驳
——科学知识的增长
Conjectures and Refutations
——The Growth of Scientific Knowledge
(英) 卡尔·波普尔简体EPUB2015-02-15简介
牛津通识读本:科学哲学Philosophy of Science
——A Very Short Introduction
(英) 萨米尔·奥卡沙简体EPUB
简体AZW3
英文PDF(扫描版)
2015-12-02
2015-12-02
2019-01-22
简介

◇哲学 / 美学


中文书名英文书名作者文件类型上传日期备注
审美与人的自由Aesthetics and Human Freedom刘晓波简体PDF(扫描版)2015-01-12简介

◇哲学 / (其它)


中文书名英文书名作者文件类型上传日期备注
查拉图斯特拉如是说
其它中文名:
苏鲁支语录
Thus Spoke Zarathustra(德) 弗里德里希·尼采简体PDF
简体EPUB
英文EPUB
2014-06-20
2015-02-13
2018-06-25
简介
作为意志和表象的世界
其它中文名:
作为意志和观念的世界
The World as Will and Representation(德) 亚瑟·叔本华简体PDF(第1卷 大字版)2019-01-11简介
自由的进化Freedom Evolves(美) 丹尼尔·丹内特简体PDF(扫描版)2015-11-09简介


★军事


【网盘】
微软网盘
BT Sync 密钥:BMWWZALG4P56LREF47EE2WSWHZEM4E6BL (此密钥的使用方法,参见页面开头的“网盘下载须知”)

◇军事 / 军事理论


中文书名英文书名作者文件类型上传日期备注
孙子兵法
其它中文名:
孙武兵法
The Art of War孙武简体PDF
繁體PDF(白話版)
简体WEB
2018-08-20
2018-08-20
N/A
简介
战争论On War(普鲁士) 克劳塞维茨简体PDF(共3卷)
简体PDF(扫描版)
2013-03-22
2017-08-12
简介
战略论
——间接路线
Strategy
——the indirect approach
(英) 李德·哈特简体PDF2013-02-05简介
海权论
其它中文名:
制海权对历史的影响
The Influence of Sea Power upon History(美) 阿尔弗雷德·马汉简体PDF
简体PDF(扫描版)
2013-03-22
2017-08-11
简介
制空权The Command of the Air(意) 朱利欧·杜黑简体PDF(前9章)
英文PDF(扫描版)
2013-08-21
2018-08-25
简介
绝对武器
——原子能与世界秩序
The Absolute Weapon
——Atomic Power and World Order
(美) 伯纳德·布罗迪
等
英文PDF(扫描版)2018-08-25简介
世界上二十次重大战役中的决定因素Decisive Factors in Twenty Great Battles of the World(英) 威廉·西摩简体PDF(大字版)2017-08-12简介

◇军事 / 现代军事史


◇军事 / 现代军事史 / 二战


◇军事 / 现代军事史 / 二战 / (综合)


中文书名英文书名作者文件类型上传日期备注
第二次世界大战战史大全N/A(英) 阿诺德·汤因比简体EPUB
简体CHM
2013-09-13
2013-02-05
简介
第二次世界大战战史History of the Second World War(英) 李德·哈特简体PDF(扫描版)2015-09-17简介
第二次世界大战回忆录The Second World War(英) 温斯顿·丘吉尔简体PDF(大字版)
简体EPUB
简体HTML
简体MOBI
2015-07-18
2013-09-14
2013-03-22
2018-08-20
简介
第二次世界大战史N/A(德) 库尔特·冯·蒂佩尔斯基希简体PDF(上下册 扫描版)2018-11-11简介
大海战
——第二次世界大战海战史
N/A(美) 切斯特·尼米兹
(美) E.B.波特
简体PDF(扫描版)2016-12-11简介
第二次世界大战的决定性战役Decisive Battles of World War II
——The German View
(美) Hans Jacobsen简体CHM2013-08-22简介
大东亚战争全史The Complete History of the Great East Asia War(日) 服部卓四郎简体PDF(扫描版)2015-09-17简介
山的那一边
——被俘德国将领谈二战
The Other Side of the Hill(英) 李德·哈特简体PDF(扫描版)2017-08-11简介

◇军事 / 现代军事史 / 二战 / 太平洋战场


中文书名作者文件类型上传日期备注
袭击珍珠港(日) 渊田美津雄简体PDF(扫描版)2015-10-25简介
浩瀚的大洋是赌场
——日本海军的兴亡
俞天任 (网名:冰冷雨天)简体PDF2016-12-11简介

◇军事 / 现代军事史 / 二战 / 中国战场


中文书名英文书名作者文件类型上传日期备注
从九一八到七七事变
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
七七事变
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
八一三淞沪抗战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
南京保卫战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
徐州会战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
中原抗战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
湖南四大会战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
闽浙赣抗战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
粤桂黔滇抗战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
远征印缅抗战
——原国民党将领抗日战争亲历记
N/A(多人)简体PDF(扫描版)2015-07-16简介
一寸山河一寸血N/A(多人)简体PDF(纪录片解说词)2015-07-22简介
穿越1945
——纪念抗战胜利70年访谈纪实
Journey 1945美国之音简体PDF(扫描版)2016-07-17简介
中日战争时期的通敌内幕(1937-1945)China and Japan at War 1937-1945
——The Politics of Collaboration
(美) 约翰·亨特·博伊尔简体PDF(大字版)2017-08-11简介

◇军事 / 现代军事史 / 二战 / 东欧战场


中文书名英文书名作者文件类型上传日期备注
失去的胜利
其它中文名:
曼施泰因元帅战争回忆录
Lost Victories
——The War Memoirs of Hitler's Most Brilliant General
(德) 曼施泰因简体TXT
英文PDF
2016-05-16
2018-08-20
简介

◇军事 / 现代军事史 / 二战 / 西欧战场


中文书名英文书名作者文件类型上传日期备注
远征欧陆
其它中文名:
艾森豪威尔回忆录
Crusade in Europe(美) 德怀特·艾森豪威尔简体PDF(扫描版)2018-08-21简介
巴黎烧了吗?
——盟军解放巴黎纪实
Is Paris Burning?(美) 拉莱·科林斯
(法) 多米尼克·拉皮埃尔
简体PDF(扫描版)2016-12-11简介

◇军事 / 现代军事史 / 韩战


中文书名英文书名作者文件类型上传日期备注
朝鲜战争
——李奇微回忆录
The Korean War(美) 李奇微简体PDF2013-03-17简介
朝鲜战争揭秘N/A沈志华繁體PDF(豎排掃描版)2013-02-02简介
朝鲜战争
——俄国档案馆的解密文件
N/A沈志华 (整理)简体PDF2013-07-30简介
朝鲜战争中的美国陆军United States Army in the Korean War(美) 詹姆斯·施纳贝尔
等
简体PDF(扫描版)2017-08-16简介
毛泽东、斯大林与朝鲜战争N/A沈志华简体PDF
简体EPUB
简体MOBI
简体PDF(扫描版)
2013-07-30
2013-09-13
2018-12-09
2015-10-25
简介
远东朝鲜战争N/A王树增简体PDF2013-07-30简介
杜鲁门与麦克阿瑟的冲突和朝鲜战争The Truman-MacArthur Controversy and the Korean War(美) 约翰·斯帕尼尔简体PDF(扫描版)2017-02-19简介

◇军事 / 现代军事史 / 越战


中文书名英文书名作者文件类型上传日期备注
基辛格越战回忆录Ending the Vietnam War
——A History of America's Involvement in and Extrication from the Vietnam War
(美) 基辛格简体EPUB2015-01-11简介
回顾
——越战的悲剧与教训
In Retrospect
——The Tragedy and Lessons of Vietnam
(美) 罗伯特·麦克纳马拉简体PDF
简体HTML
2017-08-12
2018-08-20
简介
中国秘密大发兵
——援越抗美实录
N/A王贤根简体PDF(扫描版)2013-02-05简介

◇军事 / 现代军事史 / 冷战


中文书名英文书名作者文件类型上传日期备注
冷战
——1945~1991
The Cold War
——1945-1991
(英) 约翰·梅森简体PDF(大字版)2018-11-11简介
苏联行为的根源The Sources of Soviet Conduct(美) 乔治·凯南简体TXT2018-08-14简介
凯南长电Long Telegram(美) 乔治·凯南简体TXT2018-08-14简介
冷战史
——遏制与共存备忘录
A Journey Through the Cold War
——A Memoir of Containment and Coexistence
(美) 雷蒙德·加特霍夫简体PDF2017-02-19简介
人心之争
——美国、苏联与冷战
For the Soul of Mankind
——The United States, the Soviet Union, and the Cold War
(美) 梅尔文·莱弗勒简体PDF(扫描版)2017-02-19简介
美国遏制战略与冷战起源再探U.S. Strategy of Containment and the Origins of the Cold War
——A Revist
张曙光简体PDF(扫描版)2018-08-14简介
冰与火之歌
——回首冷战军事对抗史
N/A《现代兵器》杂志社简体PDF(扫描版)2015-02-17简介
牛津通识读本:冷战The Cold War(美) Robert McMahon英文PDF2015-12-14简介

◇军事 / 现代军事史 / 一战


中文书名英文书名作者文件类型上传日期备注
第一次世界大战回忆录The World Crisis(英) 温斯顿·丘吉尔简体TXT2016-05-19简介
欧洲的悲剧
——第一次世界大战战史
N/A(未知)繁體PDF(掃描版)2017-08-16简介
乱七八糟的第一次世界大战The Frightful First World War(英) 泰瑞·狄利简体PDF(扫描版)2018-08-20简介
牛津通识读本:第一次世界大战The First World War(英) Michael Howard英文PDF2015-12-15简介

◇军事 / 近代军事史


◇军事 / 近代军事史 / 甲午战争


中文书名作者文件类型上传日期备注
绝版甲午
——从海外史料揭秘中日战争
(澳大利亚) 雪珥 (原名:蒋文胜)简体PDF(扫描版)2016-12-10简介

◇军事 / 近代军事史 / 鸦片战争


中文书名作者文件类型上传日期备注
天朝的崩溃
——鸦片战争再研究
茅海建简体MOBI(第2版)
简体EPUB(第1版)
简体MOBI(第1版)
2017-05-09
2017-05-09
2017-08-14
简介
那一次,我们挨打了
——中英第一次鸦片战争全景解读
端木赐香 (原名:李桂枝)简体TXT2015-07-12简介
这一次,我们又挨打了
——中英第二次鸦片战争始末
端木赐香 (原名:李桂枝)简体PDF2015-07-12简介

◇军事 / 近代军事史 / 南北战争


中文书名英文书名作者文件类型上传日期备注
火的考验
——美国南北战争及重建南部
Ordeal By Fire
——The Civil War and Reconstruction
(美) 詹姆斯·M·麦克弗森简体PDF(扫描版)2017-02-20简介
美国内战The Civil War
——An Illustrated History
(美) 乔弗里·瓦德简体TXT2016-05-15简介

◇军事 / 古代军事史


◇军事 / 古代军事史 / 古希腊


中文书名英文书名作者文件类型上传日期备注
伯罗奔尼撒战争史History of the Peloponnesian War(古希腊) 修昔底德简体PDF(上下册 扫描版)
简体EPUB
简体TXT
英文PDF(精装版)
2014-07-27
2015-02-13
2016-05-01
2018-08-08
简介
历史
其它中文名:
希波战争史
Histories(古希腊) 希罗多德简体PDF(扫描版)2017-08-11简介
亚历山大远征记Anabasis Alexandri(古罗马) 阿利安简体PDF
简体PDF(扫描版)
英文EPUB
2013-02-07
2015-07-18
2018-08-08
简介

◇军事 / 古代军事史 / 古罗马


中文书名英文书名作者文件类型上传日期备注
高卢战记Commentaries on the Gallic War(古罗马) 尤利乌斯·凯撒简体PDF(扫描版)
简体HTML
简体MOBI
简体TXT
2015-07-11
2014-06-22
2015-02-08
2016-04-30
简介
内战记Commentaries on the Civil War(古罗马) 尤利乌斯·凯撒简体PDF(扫描版)
简体HTML
2015-07-11
2014-06-22
简介
战略之父
——汉尼拔的军事生涯
Father of Strategy
——The Military Life of Hannibal
(美) Trevor Dupuy简体PDF2013-02-05简介
汉尼拔战争N/A王乃新简体PDF(扫描版)2013-02-05简介

◇军事 / 其它军事史


中文书名英文书名作者文件类型上传日期备注
影响人类历史进程的100场决定性战役100 Decisive Battles
——From Ancient Times to the Present
(美) 保罗·戴维斯简体PDF(扫描版)2018-08-20简介

◇军事 / 武器


中文书名英文书名作者文件类型上传日期备注
隐形战斗机X-Planes
——Secret Planes and Secret Missions
(美) 戴维·奥利弗
(美) 迈克·瑞安
简体PDF(扫描版)2017-05-05简介
简氏枪械鉴赏指南典藏版Jane's Guns Recognition Guide理查德·琼斯
安德鲁·怀特
简体PDF(扫描版)2018-08-20简介
牛津通识读本:核武器Nuclear WeaponsJoseph Siracusa英文PDF2015-12-14简介

◇军事 / 美国


中文书名英文书名作者文件类型上传日期备注
美军生存手册U.S. Army Survival Manual(美) 美国国防部简体PDF(扫描版)2017-02-19简介


★IT


(IT领域的发展太快,导致书籍的生命周期变短。所以俺尽量挑选那些生命周期比较长的电子书。)
【网盘】
微软网盘
BT Sync 密钥:BUPSDXFA3TP7KCMLHALRHLIX2FEJEUJFE (此密钥的使用方法,参见页面开头的“网盘下载须知”)

◇IT / 软件开发


◇IT / 软件开发 / 软件工程


中文书名英文书名作者文件类型上传日期备注
人月神话(20周年纪念版)The Mythical Man-Month
——Essays on Software Engineering
(美) Frederick Brooks简体PDF
简体EPUB
简体TXT
英文PDF
英文CHM
2018-11-09
2013-10-20
2016-05-01
2016-12-22
2013-10-20
简介
人件Peopleware
——Productive Projects and Teams
(美) Tom Demarco
(美) Timothy Lister
简体PDF(第2版)
简体PDF(第2版 扫描版)
英文PDF(第2版)
2015-11-07
2013-10-20
2013-10-20
简介
软件工程
——实践者的研究方法
Software Engineering
——A Practitioner's Approach
(美) Roger Pressman英文PDF(第8版)2018-07-29简介
代码大全
其它中文名:
软件建构之道
Code Complete(美) Steve McConnell简体PDF(第2版 扫描版)
英文CHM (第2版)
简体PDF (第1版)
2017-08-08
2013-10-20
2013-10-20
简介
重构
——改善既有代码的设计
Refactoring
——Improving the Design of Existing Code
(英) Martin Fowler
(美) Kent Beck
John Brant
(美) William Opdyke
Don Roberts
简体PDF(第1版 扫描版)
英文PDF(第1版)
英文CHM(第1版)
2016-12-22
2017-08-09
2013-10-20
简介
敏捷软件开发
——原则、模式与实践
Agile Software Development
——Principles, Patterns and Practices
(美) Robert Martin简体PDF(扫描版)2015-11-08简介
最后期限The Deadline
——A Novel about Project Management
(美) Tom Demarco简体PDF2013-10-20简介

◇IT / 软件开发 / 编程语言


(本类别放置“具体编程语言相关”的编程类电子书)

◇IT / 软件开发 / 编程语言 / C


中文书名英文书名作者文件类型上传日期备注
C 程序设计语言The C Programming Language(加) Brian Kernighan
(美) Dennis Ritchie
简体PDF
英文PDF
英文EPUB
2017-08-08
2015-11-07
2015-07-21
简介
The GNU C Programming TutorialThe GNU C Programming Tutorial(英) Mark Burgess英文PDF
英文WEB
2016-12-21
N/A
简介
C 陷阱与缺陷C Traps and Pitfalls(美) Andrew Koenig简体PDF(扫描版)
英文PDF
2015-11-15
2015-11-07
简介
21世纪 C 语言技巧21st Century C
——C Tips from the New School
Ben Klemens英文EPUB2015-07-21简介

◇IT / 软件开发 / 编程语言 / C++


中文书名英文书名作者文件类型上传日期备注
C++ 程序设计语言The C++ Programming Language(丹麦) Bjarne Stroustrup英文PDF(特别版)
简体PDF(特别版 扫描版)
2013-10-21
2013-10-29
简介
Effective C++
——改善程序与设计的55个具体做法
Effective C++
——55 Specific Ways to Improve Your Programs and Designs
(美) Scott Meyers英文PDF(第3版)
英文CHM(第3版)
2018-08-04
2013-10-21
简介
More Effective C++
——35个改善编程与设计的有效方法
More Effective C++
——35 New Ways to Improve Your Programs and Designs
(美) Scott Meyers英文PDF
简体PDF
2013-10-21
2015-05-12
简介
Effective Modern C++
——改善 C++11 和 C++14 的42个具体做法
Effective Modern C++
——42 Specific Ways to Improve Your Use of C++11 and C++14
(美) Scott Meyers英文PDF2018-08-04简介
C++ 编程规范
——101 条规则、准则与最佳实践
C++ Coding Standards
——101 Rules, Guidelines, and Best Practices
(美) Herb Sutter
(美) Andrei Alexandrescu
英文CHM2013-10-20简介
C++ Primer PlusC++ Primer Plus(美) Stephen Prata英文PDF(第5版)2018-09-11简介
C++ PrimerC++ Primer(美) Stanley Lippman
等
英文CHM(第4版)
简体PDF(第3版)
2013-10-20
2013-10-24
简介
C++ 标准库
——自修教程与参考手册
The C++ Standard Library
——A Tutorial and Reference
(德) Nicolai Josuttis英文CHM
简体PDF(扫描版)
2013-10-20
2015-05-12
简介
超越 C++ 标准库
——Boost 库导论
Beyond the C++ Standard Library
——An Introduction to Boost
Björn Karlsson英文CHM2018-08-04简介
C++ 编程思想Thinking in C++(美) Bruce Eckel简体PDF(第1版)2018-07-20简介
深度探索 C++ 对象模型Inside the C++ Object Model(美) Stanley Lippman英文CHM
简体PDF(扫描版)
2013-10-20
2018-08-04
简介
C++ 设计新思维
——泛型编程与设计模式之应用
Modern C++ Design
——Generic Programming and Design Patterns Applied
(美) Andrei Alexandrescu简体PDF(扫描版)
英文PDF
英文CHM
英文MOBI
2015-11-08
2018-08-04
2016-12-21
2018-08-04
简介
C++ Templates 全览C++ Templates
——The Complete Guide
(比利时) David Vandevoorde
(德) Nicolai Josuttis
英文EPUB(第2版)
英文EPUB(第1版)
英文CHM(第1版)
2018-11-11
2018-08-04
2015-05-12
简介
C++ 语言的设计和演化The Design and Evolution of C++(丹麦) Bjarne Stroustrup简体PDF(扫描版)
英文PDF
2013-10-25
2018-08-04
简介
C++ 必知必会C++ Gotchas
——Avoiding Common Problems in Coding and Design
(美) Stephen Dewhurst英文CHM2015-11-05简介
STL 源码剖析The Annotated STL Sources侯捷简体PDF(扫描版)2015-11-05简介
大规模 C++ 程序设计Large-Scale C++ Software DesignJohn Lakos简体PDF(扫描版)2013-10-30简介

◇IT / 软件开发 / 编程语言 / Python


中文书名英文书名作者文件类型上传日期备注
深入 PythonDive into Python(美) Mark Pilgrim英文PDF
简体PDF
2013-10-21
2013-10-21
简介
深入 Python3Dive into Python3(美) Mark Pilgrim英文PDF
简体PDF
2013-10-21
2013-10-21
简介
Python 学习手册Learning PythonMark Lutz英文EPUB (第5版)
英文PDF (第4版)
2013-10-21
2017-08-10
简介
Python CookbookPython CookbookDavid Beazley英文PDF(第3版)2013-10-21简介
像计算机科学家一样思考 PythonThink Python
——How to Think Like a Computer Scientist
(美) Allen Downey简体PDF(第2版)
英文PDF(第2版)
英文WEB
2018-08-04
2015-01-11
N/A
简介

◇IT / 软件开发 / 编程语言 / Java


中文书名英文书名作者文件类型上传日期备注
Java 编程思想Thinking in Java(美) Bruce Eckel英文PDF(第4版)
简体PDF(第4版 扫描版)
2013-10-21
2014-05-18
简介
Effective JavaEffective Java(美) Joshua Bloch简体PDF(第2版 扫描版)
英文PDF(第2版)
英文PDF(第1版)
2016-12-15
2015-11-17
2015-11-07
简介
Java 性能优化权威指南Java PerformanceCharlie Hunt
Binu John
英文PDF(第1版)2015-11-08简介

◇IT / 软件开发 / 编程语言 / JavaScript


中文书名英文书名作者文件类型上传日期备注
JavaScript 权威指南JavaScript
——The Definitive Guide
(美) David Flanagan简体PDF(第6版 扫描版)
英文PDF(第6版)
英文CHM(第5版)
2015-11-15
2015-11-08
2016-12-21
简介
JavaScript 高级程序设计Professional JavaScript for Web(美) Nicholas C. Zakas简体PDF(第3版 扫描版)2017-08-10简介
JavaScript 语言精粹JavaScript
——The Good Parts
(美) Douglas Crockford简体PDF(扫描版)
英文PDF
2018-07-19
2016-12-21
简介

◇IT / 软件开发 / 编程语言 / Lisp


中文书名英文书名作者文件类型上传日期备注
计算机程序的构造和解释Structure and Interpretation of Computer Programs(美) Harold Abelson
(美) Gerald Jay Sussman
(美) Julie Sussman
简体PDF(第2版 扫描版)
英文PDF(第2版)
英文WEB
2015-07-20
2016-12-21
N/A
简介
ANSI Common LispANSI Common Lisp(美) 保罗·格雷汉姆简体PDF
英文PDF
简体WEB
繁體WEB
2018-06-28
2015-01-11
N/A
N/A
简介
实用 Common Lisp 编程Practical Common Lisp(美) Peter Seibel简体PDF(扫描版)2018-06-28简介
Common Lisp
——The Language
Common Lisp
——The Language
(美) Guy Steele英文PDF(第2版)
英文PS(第2版)
英文WEB
2017-05-09
2016-12-21
N/A
简介
On Lisp
——Advanced Techniques for Common Lisp
On Lisp
——Advanced Techniques for Common Lisp
(美) 保罗·格雷汉姆简体PDF
英文PDF
2017-08-09
2015-01-11
简介
Lisp 之根源The Roots of Lisp(美) 保罗·格雷汉姆简体PS
英文PDF
简体WEB
2018-07-20
2016-12-12
N/A
简介
Lisp 的演化The Evolution of Lisp(美) Guy Steele
(美) Richard Gabriel
英文PDF2018-10-29简介
GNU Emacs Lisp 编程入门An introduction to Programming in Emacs Lisp(美) Robert J. Chassell简体PDF(扫描版)
英文PDF(版本3.10)
英文PDF(版本2.05)
2018-06-28
2015-11-17
2015-11-03
简介
Basic Lisp TechniquesBasic Lisp TechniquesDavid Cooper英文PDF2015-01-11简介

◇IT / 软件开发 / 编程语言 / Go


中文书名英文书名作者文件类型上传日期备注
Go 程序设计语言
其它中文名:
Go 语言圣经
The Go Programming Language(美) Alan Donovan
(加) Brian Kernighan
简体PDF(第1版)2018-07-20简介
Go 入门指南The Way To Go
——A Thorough Introduction to the Go Programming Language
(比利时) Ivo Balbaert英文PDF2018-07-20简介
Go 语言程序设计Programming in Go
——Creating Applications for the 21st Century
(英) Mark Summerfield英文PDF(第1版)2018-07-20简介

◇IT / 软件开发 / 编程语言 / Rust


中文书名英文书名作者文件类型上传日期备注
Rust 程序设计语言The Rust Programming LanguageRust 开发团队英文PDF(第2版)
英文EPUB(第2版)
英文PDF(第1版)
英文EPUB(第1版)
2018-07-20
2018-11-09
2018-07-20
2018-11-09
简介
Programming RustProgramming Rust
——Fast, Safe Systems Development
Jim Blandy
Jason Orendorff
英文PDF(第1版)2018-07-20简介

◇IT / 软件开发 / 编程语言 / Prolog


中文书名英文书名作者文件类型上传日期备注
Programming in Prolog
——Using the ISO Standard
Programming in Prolog
——Using the ISO Standard
(英) William Clocksin
(英) Christopher Mellish
英文PDF(第5版 扫描版)2018-07-18简介
Logic Programming with PrologLogic Programming with Prolog(英) Max Bramer英文PDF(第1版)2018-07-18简介
An Introduction to Logic Programming through PrologAn Introduction to Logic Programming through Prolog(英) Michael Spivey英文PDF2018-07-18简介

◇IT / 软件开发 / 编程语言 / (其它)


中文书名英文书名作者文件类型上传日期备注
编程之魂
——与27位编程语言创始人对话
Masterminds of Programming
——Conversations with the Creators of Major Programming Languages
Federico Biancuzzi
Shane Warden
简体PDF(扫描版)2015-05-12简介

◇IT / 软件开发 / 编程范式


中文书名英文书名作者文件类型上传日期备注
七周七语言
——理解多种编程范型
Seven Languages in Seven Weeks
——A Pragmatic Guide to Learning Programming Languages
(美) Bruce Tate简体PDF
英文PDF
2017-05-06
2018-08-04
简介
设计模式
——可复用面向对象软件的基础
Design Patterns
——Elements of Reusable Object-Oriented Software
Gang of Four (模式四人帮)简体PDF
简体PDF(扫描版)
英文CHM
2013-10-21
2018-10-29
2013-10-20
简介
Head First 设计模式Head First Design PatternsEric Freeman
Elisabeth Robson
Bert Bates
Kathy Sierra
简体PDF(扫描版)2016-12-23简介
七周七并发模型Seven Concurrency Models in Seven Weeks
——When Threads Unravel
(美) Paul Butcher简体PDF(扫描版)2018-07-25简介

◇IT / 软件开发 / 算法与数据结构


中文书名英文书名作者文件类型上传日期备注
算法导论Introduction to Algorithms(美) Thomas Cormen
(美) Charles Leiserson
(美) Ronald Rivest
(美) Clifford Stein
简体PDF(第3版 扫描版)
英文PDF(第3版)
英文CHM (第2版)
2015-10-25
2013-10-21
2013-10-30
简介
算法概论AlgorithmsSanjoy Dasgupta
(希腊) Christos Papadimitriou
(印度) Umesh Vazirani
英文PDF2018-07-29简介
算法设计手册
其它中文名:
算法设计指南
The Algorithm Design Manual(美) Steven Skiena英文PDF(第2版)2018-07-29简介
编程珠玑Programming Pearls(美) Jon Bentley英文PDF(第2版)
简体PDF(第2版 扫描版)
2013-10-21
2013-10-21
简介
数学之美Beauty of Mathematics吴军简体PDF(第1版)
简体TXT(第1版)
2018-10-29
2016-05-15
简介

◇IT / 软件开发 / 操作系统相关


(本类别放置“具体操作系统相关”的编程类电子书)

◇IT / 软件开发 / 操作系统相关 / UNIX 与 Linux


中文书名英文书名作者文件类型上传日期备注
UNIX 编程艺术The Art of UNIX Programming(美) 埃里克·雷蒙德简体PDF(扫描版)
英文CHM
英文EPUB
英文MOBI
2017-05-06
2013-10-20
2018-08-04
2018-08-04
简介
UNIX 环境高级编程Advanced Programming in the UNIX Environment(美) 理查德·史蒂文斯
Stephen Rago
简体PDF(第3版 扫描版)
简体PDF(第2版 扫描版)
英文PDF(第3版)
英文CHM(第2版)
2017-08-09
2014-05-13
2013-11-14
2013-10-21
简介
UNIX 系统编程UNIX Systems Programming
——Communication, Cocurrency, and Threads
Kay Robbins
Steven Robbins
英文CHM2013-10-21简介
精通 Linux 设备驱动程序开发Essential Linux Device Drivers(印度) Venkateswaran简体PDF(扫描版)2015-11-06简介

◇IT / 软件开发 / 操作系统相关 / Windows


中文书名英文书名作者文件类型上传日期备注
Windows 核心编程Programming Applications for Windows(美) Jeffrey Richter简体PDF
英文CHM
2014-05-13
2013-10-21
简介

◇IT / 软件开发 / 网络相关


(本类别放置“网络相关”的编程类电子书)

中文书名英文书名作者文件类型上传日期备注
UNIX 网络编程UNIX Network Programming(美) 理查德·史蒂文斯英文PDF(卷1 第3版)2013-10-20简介
ZeroMQZeroMQ
——Use ZeroMQ and Learn How to Apply Different Message Patterns
Faruk Akgul英文PDF2018-07-02简介
C++ 网络编程C++ Network Programming(美) Douglas Schmidt英文CHM(卷1)
英文CHM(卷2)
2013-10-21
2013-10-21
简介
Twisted Network Programming EssentialsTwisted Network Programming Essentials
——Developing With Python's Event-driven Framework
Abe Fettig
(美) Jessica McKellar
英文CHM(第1版)2016-12-22简介

◇IT / 软件开发 / Web 相关


中文书名英文书名作者文件类型上传日期备注
RESTful Web ServicesRESTful Web ServicesLeonard Richardson
(美) Sam Ruby
英文PDF
英文EPUB
英文WEB
2016-12-22
2017-05-06
N/A
简介
RESTful Web Services CookbookRESTful Web Services Cookbook(美) Subbu Allamaraju简体PDF
英文PDF
2018-06-28
2017-08-09
简介

◇IT / 软件开发 / 硬件相关


中文书名英文书名作者文件类型上传日期备注
编码
——隐匿在计算机软硬件背后的语言
Code
——The Hidden Language of Computer Hardware and Software
(美) Charles Petzold简体PDF(扫描版)2017-08-08简介
每个程序员都应该了解的内存知识What Every Programmer Should Know About Memory(美) Ulrich Drepper英文PDF2017-08-10简介

◇IT / 软件开发 / (其它)


中文书名英文书名作者文件类型上传日期备注
程序员修炼之道
——从小工到专家
Pragmatic Programmers
——From Journeyman to Master
(美) Andrew Hunt
(美) David Thomas
简体PDF(扫描版)
简体PDF(扫描版)
英文PDF
简体TXT
2017-08-09
2013-10-21
2013-10-19
2016-05-01
简介
约耳趣谈软体Joel on Software(美) Joel Spolsky英文EPUB
英文CHM
2015-01-11
2016-12-22
简介
软件随想录More Joel on Software(美) Joel Spolsky简体PDF(扫描版)
英文PDF
2015-02-17
2015-01-11
简介
程序员应该知道的97件事97 Things Every Programmer Should Know
——Collective Wisdom from the Experts
Kevlin Henney (主编)英文PDF2018-07-02简介
代码阅读方法与实践Code Reading
——The Open Source Perspective
(希腊) Diomidis Spinellis简体PDF(第1版 扫描版)2015-11-03简介
编程人生
——15位软件先驱访谈录
Coders at work(美) Peter Seibel英文PDF2015-11-08简介

◇IT / 黑客文化与开源文化


(考虑到“黑客”一词已经被严重误解,俺单独放一个目录介绍黑客文化。希望大伙儿搞清楚:“黑客/Hacker”与“骇客/Cracker”是有天壤之别的)

中文书名英文书名作者文件类型上传日期备注
大教堂与集市
其它中文名:
黑客五步曲
The Cathedral and the Bazaar(美) Eric Raymond简体PDF
简体EPUB
简体MOBI
2013-10-20
2015-12-25
2015-12-25
简介
黑客与画家Hackers and Painters
——Big Ideas from the Computer Age
(美) 保罗·格雷汉姆简体PDF(扫描版)
简体EPUB
简体MOBI
简体TXT
英文PDF
2013-04-06
2013-10-20
2014-02-23
2016-04-29
2017-08-08
简介
黑客
——计算机革命的英雄
Hackers
——Heroes of the Computer Revolution
(美) Steven Levy简体PDF(25周年纪念版 扫描版)
简体MOBI(25周年纪念版)
简体EPUB
英文PDF
2014-01-28
2015-07-20
2015-07-20
2015-05-12
简介
Free as in Freedom
——Richard Stallman 的自由软件运动
Free as in Freedom
——Richard Stallman's Crusade for Free Software
(美) Sam Williams英文PDF(第2版)
英文WEB
2016-12-21
N/A
简介
乐者为王
——自由软件 Linux 之父李纳斯·托沃兹自述
其它中文名:
只是为了好玩
——Linux 之父林纳斯自传
Just for Fun
——The Story of an Accidental Revolutionary
(芬兰) Linus Torvalds简体EPUB
简体PDF(扫描版)
2015-11-15
2016-12-12
简介
自由文化Free Culture
——How Big Media Uses Technology and the Law to Lock Down Culture and Control Creativity
(美) 劳伦斯·莱斯格英文PDF2015-12-09简介
制造开源软件
——如何成功运营自由软件项目
Producing Open Source Software
——How to Run a Successful Free Software Project
Karl Fogel简体EPUB
英文EPUB
英文PDF
简体WEB
英文WEB
2016-12-21
2016-12-21
2017-05-06
N/A
N/A
简介

◇IT / 信息安全


(俺在博客上写了不少信息安全的扫盲教程,如果不分享几本相关的书,实在说不过去啊)

◇IT / 信息安全 / 社会工程学


中文书名英文书名作者文件类型上传日期备注
欺骗的艺术The Art of Deception
——Controlling the Human Element of Security
(美) 凯文·米特尼克简体PDF
简体EPUB
简体MOBI
英文PDF
2013-10-20
2015-07-17
2015-02-09
2013-10-20
简介

◇IT / 信息安全 / 密码学


中文书名英文书名作者文件类型上传日期备注
密码学原理与实践Cryptography
——Theory and Practice
(加) Douglas Stinson简体PDF(第2版 扫描版)
英文CHM
2013-10-21
2013-10-30
简介
应用密码学
——协议、算法与 C 源程序
Applied Cryptography
——Protocols, Algorithms, and Source Code in C
(美) Bruce Schneier简体PDF(第2版 扫描版)
英文EPUB(第2版)
英文PDF(第2版)
2013-11-26
2015-07-21
2013-10-21
简介
密码编码学与网络安全
——原理与实践
Cryptography and Network Security
——Principles and Practice
(美) William Stallings简体PDF(第3版 扫描版)
英文PDF(第5版)
2013-11-18
2013-11-18
简介

◇IT / 信息安全 / 安全加固


中文书名英文书名作者文件类型上传日期备注
Windows 7 安全指南N/AN/A简体PDF(扫描版)2014-02-13简介
Debian 官方安全手册Securing Debian ManualN/A英文PDF(文档版本3.17)
英文WEB
2015-07-21
N/A
简介
RHEL 官方安全手册Red Hat Enterprise Linux Security GuideN/A英文PDF(RHEL7)
英文PDF(RHEL6)
2018-10-30
2014-02-22
简介
CentOS 官方安全指南OS ProtectionN/A英文WEBN/AN/A
Ubuntu 桌面版官方安全手册Basic Ubuntu Security Guide, Desktop EditionN/A英文WEBN/AN/A
openSUSE 官方安全手册openSUSE Leap Security GuideN/A英文WEBN/AN/A
Arch Linux 官方安全手册Security
——Recommendations and Best Practices for Hardening an Arch Linux System
N/A英文WEBN/AN/A
Gentoo 官方安全手册Gentoo Security HandbookN/A英文WEBN/AN/A
Fedora 官方 wiki 安全特性Security FeaturesN/A英文WEBN/AN/A

◇IT / 信息安全 / 入侵与渗透测试


中文书名英文书名作者文件类型上传日期备注
入侵的艺术The Art of Intrusion
——The Real Stories Behind the Exploits of Hackers, Intruders and Deceivers
(美) 凯文·米特尼克简体PDF(扫描版)
简体EPUB
英文PDF
2014-02-04
2015-07-17
2014-01-09
简介
黑客之道
——漏洞发掘的艺术
Hacking
——The Art of Exploitation
(美) Jon Erickson英文PDF(第2版)2018-07-29简介
灰帽攻击安全手册
——渗透测试与漏洞分析技术
Gray Hat Hacking
——The Ethical Hacker's Handbook
Allen Harper
等
简体PDF
英文PDF
2018-11-09
2018-07-25
简介
Shellcoder 编程揭秘Shellcoder's Programming Uncovered(俄) Kris Kaspersky简体PDF(扫描版)2018-07-25简介
内核漏洞的利用与防范A Guide to Kernel Exploitation
——Attacking the Core
(美) Enrico Perla
(美) Massimiliano Oldani
英文PDF(第1版)2018-07-29简介

◇IT / 信息安全 / 破解与逆向工程


中文书名英文书名作者文件类型上传日期备注
逆向工程权威指南Reverse Engineering for Beginners
——Understanding Assembly Language
(乌克兰) Dennis Yurichev英文PDF2018-08-04简介

◇IT / 信息安全 / 编程语言


中文书名英文书名作者文件类型上传日期备注
Python 灰帽子
——黑客与逆向工程师的 Python 编程之道
Gray Hat Python
——Python Programming for Hackers and Reverse Engineers
(加) Justin Seitz英文PDF2018-07-29简介
Python 绝技
——运用 Python 成为顶级黑客
Violent Python
——A Cookbook for Hackers, Forensic Analysts, Penetration Testers and Security Engineers
(美) TJ O'Connor简体PDF(第1版)
英文EPUB(第1版)
2018-07-29
2015-07-21
简介

◇IT / 操作系统


◇IT / 操作系统 / 使用教程


中文书名英文书名作者文件类型上传日期备注
Shell 脚本学习指南Classic Shell ScriptingArnold Robbins
Nelson Beebe
简体PDF(扫描版)2014-05-18简介
Linux 与 UNIX Shell 编程指南Linux and UNIX Shell ProgrammingDavid Tansley简体PDF(扫描版)2013-12-06简介
鸟哥的 Linux 私房菜N/A鸟哥简体PDF
简体MOBI
2013-12-06
2015-11-08
简介
Linux 从入门到精通N/AN/A简体PDF(扫描版)2013-12-06简介

◇IT / 操作系统 / 操作系统原理


中文书名英文书名作者文件类型上传日期备注
操作系统
——设计与实现
Operating Systems
——Design and Implementation
(美) Andrew Tanenbaum英文PDF(第3版)2016-12-15简介
现代操作系统Modern Operating Systems(美) Andrew Tanenbaum英文PDF(第4版)
英文PDF(第2版 扫描版)
2015-11-17
2015-11-08
简介
UNIX 操作系统设计The Design of the UNIX Operating System(德) Maurice Bach简体PDF(扫描版)
英文PDF
2013-10-21
2015-05-12
简介
莱昂氏 UNIX 源代码分析A Commentary on the Sixth Edition UNIX Operating System(澳大利亚) John Lions英文PDF2018-08-03简介
深入理解 Linux 内核Understanding the Linux KernelDaniel Bovet
Marco Cesati
英文PDF(第3版)
英文CHM(第3版)
2013-12-06
2013-10-21
简介
深入解析 Windows 操作系统
其它中文名:
Windows 内部揭密
Windows Internals(西班牙) Mark Russinovich
David Solomon
Alex Ionescu
英文PDF(第5版)
英文PDF(第4版)
简体PDF(第4版 扫描版)
2018-08-03
2018-08-03
2018-11-09
简介

◇IT / 网络


◇IT / 网络 / 网络协议


中文书名英文书名作者文件类型上传日期备注
TCP-IP 详解TCP-IP Illustrated(美) 理查德·史蒂文斯英文CHM(卷1)
简体PDF(卷1)
简体PDF(卷2)
简体PDF(卷3)
2013-10-21
2013-10-21
2013-10-26
2013-10-26
简介
HTTP 权威指南HTTP
——The Definitive Guide
David Gourley
Brian Totty
Marjorie Sayer
Sailu Reddy
Anshu Aggarwal
简体PDF(扫描版)
英文PDF
2018-06-28
2018-11-09
简介

◇IT / 网络 / 分布式


◇IT / 网络 / 分布式 / (综述)


中文书名英文书名作者文件类型上传日期备注
分布式系统
——概念与设计
Distributed Systems
——Concepts and Design
(英) George Coulouris
(英) Jean Dollimore
(英) Tim Kindberg
(英) Gordon Blair
英文PDF(第5版)2018-11-02简介
分布式系统
——原理与范型
Distributed Systems
——Principles and Paradigms
(美) Andrew Tanenbaum
(荷兰) Maarten van Steen
英文PDF(第2版 扫描版)2018-11-06简介
设计分布式系统
——可扩展服务的模式和范式
Designing Distributed Systems
——Patterns and Paradigms for Scalable, Reliable Services
Brendan Burns英文PDF2018-11-06简介
Distributed Systems for Fun and ProfitDistributed Systems for Fun and ProfitMikito Takada英文EPUB
英文WEB
2018-11-06
N/A
简介
分布式计算的八大误区Fallacies of Distributed Computing(美) Laurence Peter Deutsch英文WEBN/AN/A

◇IT / 网络 / 分布式 / 一致性


中文书名英文书名作者文件类型上传日期备注
CAP 定理CAP Theorem(美) Eric Brewer英文WEB
英文PDF
N/A
2018-11-08
简介
CAP 理论十二年回顾
——“规则”变了
CAP Twelve Years Later
——How the "Rules" Have Changed
(美) Eric Brewer英文WEB
简体WEB
英文PDF
N/A
N/A
2018-11-08
简介

◇IT / 网络 / 分布式 / 容错性


中文书名英文书名作者文件类型上传日期备注
面对软件错误,如何构建可靠的分布式系统Making Reliable Distributed Systems in the Presence of Software Errors(英) Joe Armstrong英文PDF2018-11-08简介
拜占庭将军问题Byzantine Generals Problem(美) Leslie Lamport英文WEB
英文PDF(扫描版)
N/A
2018-11-08
简介

◇IT / 网络 / 分布式 / DHT(分布式哈希表)


中文书名英文书名作者文件类型上传日期备注
Chord
——用于互联网应用的可扩展 P2P 查询服务
Chord
——A Scalable Peer-to-peer Lookup Service for Internet Applications
(美) Ion Stoica
(美) Robert Morris
(美) David Karger
(荷兰) Frans Kaashoek
(印度) Hari Balakrishnan
英文PDF2018-11-04简介
Kademlia
——基于异或运算的 P2P 信息系统
Kademlia
——A Peer-to-peer Information System Based on the XOR Metric
(保加利亚) Petar Maymounkov
David Mazières
英文PDF2018-11-04简介
DHT 安全技术纵览A Survey of DHT Security TechniquesGuido Urdaneta
Guillaume Pierre
(荷兰) Maarten van Steen
英文PDF2018-11-08简介

◇IT / 网络 / 分布式 / DFS(分布式文件系统)


中文书名英文书名作者文件类型上传日期备注
Google 文件系统The Google File System(美) Sanjay Ghemawat
(美) Howard Gobioff
Shun-Tak Leung
英文PDF2018-11-05简介

◇IT / 网络 / (其它)


中文书名英文书名作者文件类型上传日期备注
计算机网络Computer Networks(美) Andrew Tanenbaum
(美) David Wetherall
简体PDF(第5版 扫描版)
英文PDF(第5版)
2018-08-04
2015-01-11
简介

◇IT / 人工智能


中文书名英文书名作者文件类型上传日期备注
失控
——全人类的最终命运和结局
Out of Control
——The New Biology of Machines, Social Systems, and the Economic World
(美) 凯文·凯利简体EPUB
简体MOBI
英文PDF
2014-01-09
2018-11-10
2015-01-11
简介
人工智能
——一种现代的方法
Artificial Intelligence
——A Modern Approach
(美) Stuart Russell
(美) Peter Norvig
英文PDF(第3版)2018-09-11简介
奇点临近The Singularity Is Near
——When Humans Transcend Biology
(美) 雷·库兹韦尔简体PDF
英文PDF
2017-03-30
2017-05-09
简介

◇IT / IT 公司


中文书名英文书名作者文件类型上传日期备注
In the Plex
——Google 如何思考,运作,以及改变我们的生活方式
In The Plex
——How Google Thinks, Works, and Shapes Our Lives
(美) Steven Levy简体PDF
英文PDF
2015-05-12
2015-07-15
简介
浪潮之巅On The Top of Tides吴军简体PDF(前18章)
简体MOBI(前16章)
2013-10-22
2014-02-23
简介
Facebook 效应The Facebook Effect(美) David Kirkpatrick简体PDF(扫描版)
简体EPUB
简体MOBI
2018-07-24
2019-01-06
2019-01-06
简介
微软的秘密Microsoft Secrets
——How the World's Most Powerful Software Company Creates Technology, Shapes Markets and Manages People
(美) Michael Cusumano简体PDF
简体PDF(扫描版)
2017-04-02
2018-07-20
简介
谁说大象不能跳舞?
——IBM 董事长郭士纳自传
Who Says Elephants Can't Dance?(美) 路易斯·郭士纳简体PDF2017-08-08简介
Borland 传奇N/A李维简体PDF
简体EPUB
简体CHM
2015-02-08
2015-02-08
2013-10-22
简介
DOOM 启世录Masters of Doom
——How Two Guys Created an Empire and Transformed Pop Culture
(美) David Kushner简体PDF
简体EPUB
简体MOBI
简体CHM
2015-02-08
2015-02-08
2015-02-08
2013-11-26
简介

◇IT / (其它)


中文书名作者文件类型上传日期备注
暗时间
——刘未鹏博文集
刘未鹏简体EPUB2015-05-12简介

+
+ +
+ + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/03/Misunderstand-Free-and-Open-Source-Software.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/03/Misunderstand-Free-and-Open-Source-Software.html" new file mode 100644 index 0000000000000000000000000000000000000000..a2c3227009df91375f0b64af96b197370541b50a --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/03/Misunderstand-Free-and-Open-Source-Software.html" @@ -0,0 +1,26 @@ + + + + + + + +澄清“自由软件、开源软件”相关概念及许可证的误解 - 编程随想的博客 + + +
+

澄清“自由软件、开源软件”相关概念及许可证的误解

+ +
+
+

★引子


  长期以来,一直有很多读者不太明白“自由软件”与“开源软件”的差异。除此之外,还经常会有其它的一些误解。
  昨天正好在俺的网盘上分享了《若为自由故——自由软件之父理查德·斯托曼传》一书的中文版,所以顺便来聊聊相关的话题。


★误解1——“提供源代码的软件”就是“开源软件”


  这可能是最常见的误解,所以俺把这条放在本文第一条。
  “提供源代码”只是“开源软件”的【必要条件】,但【不是】充分条件。换句话说:不提供源码的一定不是开源软件,提供源码的不一定是开源软件(有点像绕口令)
  所谓的“开源软件”,是有严格定义滴!目前业界的共识是采用“开放源代码促进会”(洋文叫“Open Source Initiative”,缩写是 OSI)给出的定义。
  其定义很长,包含很多项,俺就不全文列出啦。想看的同学,请猛击 OSI【官网】的“这个链接”。不懂洋文的同学,请看中文维基百科的“这个页面”。

  为了让大伙儿加深印象,举 UNIX 的例子。
  说到 UNIX,在计算机史上那可是大名鼎鼎滴。其背景,俺就不多说啦。当年(上世纪70年代)UNIX 隶属于商业公司 AT&T。那年头,AT&T 销售 UNIX 的时候都会附送【全部源代码】。但即使这样,(以如今的标准来看)UNIX 也【不能】算是开源软件。因为用户拿到源代码之后,受限于保密条款,【无法】随意分发源代码。


★误解2——把“开源软件”等同于“自由软件”(混淆这两者)


  “开源软件”与“自由软件”这两个概念有很大的重叠,导致很多人混淆这两者(误以为这俩概念可以互换)。
  但其实这两者在理念上有【很大】差异。考虑到本文是面向普通读者,俺尽可能用通俗的大白话来说一下两者的共性和差异。

◇“开源软件”与“自由软件”的【共性】


  共性大致有如下几条:
1. 两者都要求——源代码要【公开】
2. 两者都要求——公开的源代码必须具备【完整性】(换句话说,用公开的源码必须能重新生成该软件)
3. 两者都要求——公开的源代码要允许【随意分发】
4. 两者都要求——公开的源代码要允许【随意修改】
5. 两者都要求——【不能】限制商业使用
......
(还有其它一些共同点,考虑到篇幅,就不再列举啦)

◇“开源软件”与“自由软件”在【理念】方面的【差异】


  “开源软件”的立足点更加侧重于——源代码的【开放性】。
  “自由软件”的立足点更加侧重于——软件用户的【自由度】。

  考虑到很多人不太清楚“用户的自由”,俺来介绍一下——
  FSF 的创始人 理查德·斯托曼(Richard Matthew Stallman,人称 RMS)给出了【用户的四大自由】:
自由度0:
无论用户出于何种目的,必须可以按照用户意愿,自由地运行该软件。

自由度1:
用户可以自由地学习并修改该软件,以此来帮助用户完成用户自己的计算。
(作为前提,用户必须可以访问到该软件的源代码)

自由度2:
用户可以自由地分发该软件的拷贝,这样就可以助人。

自由度3:
用户可以自由地分发该软件修改后的拷贝。借此,用户可以把改进后的软件分享给整个社区令他人也从中受益。
(作为前提,用户必须可以访问到该软件的源代码)

  更详细的介绍可以参见 FSF(自由软件基金会)【官网】的文章(如下):
《What is free software?》(原文)
《什么是自由软件?》(上述的中文翻译)

  引申阅读:
  俺的网盘上分享了【自由软件运动创始人】理查德·斯托曼(RMS)的“选集”和“传记”,分别如下:
《自由软件,自由社会——理查德·斯托曼选集》
《若为自由故——自由软件之父理查德·斯托曼传》

◇“开源软件”与“自由软件”在【许可证】方面的【差异】


  (注:本文后续部分提到的“许可证、许可协议、license”三者指同一个东东)
  刚才俺聊到了“自由软件”与“开源软件”在理念上的差异。这些差异自然也会反应到 license 的条款上。比如有些 license 立足于“开源”,还有些 license 立足于“自由”。
  为了方便大伙儿,给出一个维基百科链接(在“这里”)。该页面对比了各种不同的软件许可协议。在【第二个】表格中,有一栏是“FSF 认可”——凡是被 FSF 认可的,都可以算是【自由软件】许可证;另外还有一栏是“OSI 认证”——凡是被 OSI 认证的,都可以算是【开源软件】许可证。


★误解3——以为“自由软件”排斥商业公司


  长期以来,很多商业公司对“自由软件”进行【污名化/妖魔化】。比如微软前任 CEO 巴尔默曾经污蔑说——Linux 以及相关的(GPL)许可证是“癌症”(以下是他原话):
Linux is a cancer that attaches itself in an intellectual property sense to everything it touches.
That's the way that the license works.
  长期的妖魔化,让很多人【误以为】“自由软件与商业公司水火不容”。但其实不然!
  商业公司也能基于“自由软件许可协议”去开发“自由软件”并提供给用户。该过程可以是“免费的”,也可以是“付费的”。
  所谓的“付费”,也就是说——商业公司也可以通过“销售自由软件”来获得利润(关于这点,下一条会详细介绍)。


★误解4——以为“自由软件 or 开源软件”必定是免费的


  (注:为了打字省力,本文以下部分以 FOSS 作为“自由软件 or 开源软件”的总称)
  关于这个误解,俺把“自由软件”和“开源软件”分开来阐述。

◇对于“自由软件”


  在前一条,俺提到:(从理论上讲)商业公司也可以销售自由软件(拿自由软件卖钱)。
  说到这,可能很多人还不信。下面俺给出 FSF(自由软件基金会)【官网】的文章。
《Selling Free Software》(原文)
《销售自由软件》(上述的中文翻译)

◇对于“开源软件”


  如果你理解了“为啥商业公司也允许销售自由软件”,也就比较能理解“为啥商业公司允许销售开源软件”了。
  OSI(开放源代码促进会)对“开源软件”的定义(前面已经提到),并【没有】对“销售或付费”做任何限制。
  也就是说,如果你开发了一套“开源软件”,并拿去卖,并且有人愿意买。这个(销售/购买)行为并【不】违背 OSI 的精神和条款。

◇实际案例


  不要以为俺在本章节提到的只是【理论上的可能性】。在现实生活中已经有商业公司(在遵守 FOSS 许可的前提下)利用自由软件盈利,甚至还上市了——这就是大名鼎鼎的【红帽公司】(洋文是:Red Hat)。该公司发布的“Red Hat Enterprise Linux”(简称 RHEL),在 Linux 社区很有影响。
  关于“红帽公司”的规模,以下摘自维基百科的介绍:
Red Hat于1999年8月11日在纳斯达克上市,2005年12月19日纳入纳斯达克100指数,2006年12月12日转到纽约证券交易所挂牌。
2018年10月28日,IBM 将以每股190美元的现金收购 Red Hat 所有已发行股份,总价值约为340亿美元。


★误解5——以为“自由软件 or 开源软件”的开发人员都是“义务的/无报酬的”


  互联网时代之前和初期,情况确实如此。
  但如今 FOSS(Free and Open-Source Software)已经改变了全球软件行业的生态环境。
  举个例子:由于 Linux 内核已经被大量/广泛地适用于各个领域,很多【大型】商业会让自己的程序员参与 Linux 社区的开发;同时,这些程序员拿的是商业公司的工资。


★误解6——以为“自由软件 or 开源软件”就没有版权


  虽然 FOSS(Free and Open-Source Software)允许用户获得源代码,允许用户自由地分发软件(包括源代码),但某些 FOSS 的 license 依然会有版权相关的条款(比如:有的会强调“署名权”,有的会强调“修改权”)。
  引申阅读:
《对版权的误解 @ FSF 官网》


★误解7——把“自由软件 or 开源软件”视作某种“共产主义”


  坦率地说,犯这种错误的人,既没有理解 FOSS(Free and Open-Source Software),也没有理解共产主义。
  FOSS 与“共产主义”在本质上简直是【截然相反】滴。

◇开放性 VS 封闭性


  前面俺已经说了:“开源软件”不光强调公开源码,而且强调【开放性】;相比之下,共产运动必将导致社会的【封闭性】。
  为啥共产运动必将导致“封闭性”?
  有耐心的同学可以去看卡尔·波普尔的代表作《开放社会及其敌人》(提醒一下:这是大部头的政治理论著作)

◇自由 VS 奴役


  前面俺还说了:“自由软件”尽可能确保用户的【自由】;相比之下,共产运动必将导致对自由的【剥夺】(奴役)。
  为啥共产运动必将导致“对自由的剥夺和奴役”?
  对此感兴趣的同学可以去看一下弗里德里希·哈耶克的代表作《通往奴役之路》。

◇引申阅读


  批判“共产主义”和“马列主义”的博文,俺已经写过很多。具体参见博客上的 政治.共产运动 标签。


★误解8——认为“自由软件 or 开源软件”的质量不如“闭源商业软件”


  在20年前,很多人持有这种观点。如今越来越多的人开始意识到——FOSS 也可以打造出非常优秀的软件。
  比如说大伙儿平时都在用的浏览器。IE 是完全闭源的商业软件,如今远远比不上 Chrome 和 Firefox。Firefox 是正宗的开源软件;Chrome 虽然不是开源软件,但它是在开源软件 Chromium 的基础上二次开发而成。
  再比如 Web 服务器软件,长期占据三甲的,有两个(Apache、Nginx)是 FOSS,一个是闭源的(IIS)。而且 Apache + Nginx 的市场份额会明显高于 IIS。
  (类似的例子还能举出很多)
  另外,还有很多优秀的闭源商业软件在其内部使用了开源的库(library)。这些商业软件的成功,其内部使用的开源库功不可没。
  引申阅读:
俺整理的“C/C++/Python 开源库清单”


★误解9——把“自由软件”等同于“GPL 协议”(混淆这两者)


  (注:GPL 的全称是“GNU General Public License”,维基百科链接在“这里”)
  这个错误连某些 FOSS 社区的人都会犯。
  “使用 GPL 协议”的软件,必定是“自由软件”;但反过来就【不】成立。换句话说,除了 GPL 协议,还有很多其它协议,也可以确保其所属的软件是“自由软件”。
  刚才提到了维基百科上有一个 license 对比清单,再次丢出来给列位看官参考(链接在“这里”)。清单中(第2个表格)有很多【非】GPL 的协议,也得到了 FSF 的认可(可以算是“自由的协议”)


★误解10——把“自由软件”等同于“与 GPL 兼容的协议”(混淆这两者)


  这条与前一条有点类似,也属于——连 FOSS 社区的人都会犯的错误。
  “兼容 GPL 的协议”,其所属的软件必定是“自由软件”;但反过来就【不】成立。换句话说,还有很多【自由软件】的许可协议,与 GPL 是【不】兼容滴!
  在 FSF(自由软件基金会)官网上有一个清单(链接在“这里”),对各种许可协议进行分类,其中有一类是【GPL-Incompatible Free Software Licenses】。这一类协议,数量还不少。


★误解11——认为“开源软件许可证”的范畴包含了“自由软件许可证”(以为后者是前者的【真子集】)


  首先要承认一下:有段时间,俺也犯了这个错误。
  如今要澄清的是:绝大部分“自由软件许可证”同时也算是“开源软件许可证”。但有少数【例外】。

  举个例子(例外):WTFPL
  有一个比较鲜为人知的 license 叫做“WTFPL”,洋文全称是“Do What The Fuck You Want To Public License”。中文翻译成“你他妈的想干嘛就干嘛公共许可证”。
  猛一看这名称,可能很多人以为这是个“恶搞的协议”(恶作剧)。但这个协议还是有点来头滴,其 2.0 版本的作者 Sam Hocevar 曾经担任过 Debian 社区的负责人。
  这个协议就属于刚才提到的【极少数例外】——它获得了 FSF 的认可,但没有获得 OSI 的认证。


★结尾


  俺写的这篇,难免会有遗漏。欢迎大伙儿补充 FOSS 相关的其它误解。


俺博客上,和本文相关的帖子(需翻墙):
《如何选择开源项目?》
《GitHub 通告:整理了一个 C 和 C++ 开源库的清单(含示例代码)》
《为啥俺推荐 Python[5]:作为瑞士军刀的 Python——顺便分享俺整理的 Python 开源库》

+
+ +
+ + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/03/Why-Thinking-Hard-So-Hard.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/03/Why-Thinking-Hard-So-Hard.html" new file mode 100644 index 0000000000000000000000000000000000000000..6eac028a54ba39de190ce449dbd41d355824f8b0 --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/03/Why-Thinking-Hard-So-Hard.html" @@ -0,0 +1,26 @@ + + + + + + + +为什么独立思考这么难?——谈谈心理学的成因,并分享俺的经验 - 编程随想的博客 + + +
+

为什么独立思考这么难?——谈谈心理学的成因,并分享俺的经验

+ +
+
+  “心理学”相关的博文,去年(2018)写得少。经热心读者在评论区提醒,今天特来发一篇。
  开博10年来,俺写过不少心理学相关的博文,其中多次提到了【独立思考】的重要性。俺特别强调过:“独立”是“自由”的前提,没有“独立思考”就没有“思想自由”。
  虽然很多人都知道要“独立思考”,但大部分人在大部分时间里都【无法】做到独立思考。所以,今天这篇就来聊聊这个话题。


★本文与那些“成功学/励志类/鸡汤类”文章的【不同之处】


◇【正宗】心理学 VS 【伪】心理学


  网上充斥着大量【不靠谱】的心理学相关文章。其中尤以“成功学/励志类/心灵鸡汤类”居多。关于“成功学”,多年前已经写过一篇《成功学批判——简述其危害性及各种谬误》。在那篇博文中,俺指出了“【伪】心理学”的谬误。
  如何识别“【伪】心理学”捏?俺的网盘上分享过一本比较通俗的心理学著作《对“伪心理学”说不》。此书还有另一个中译本叫做《与众不同的心理学——如何正视心理学》。如果你想了解“【正宗】心理学”和“【伪】心理学”的差异,这是一本很好的入门读物。
  此书的作者“基思·斯坦诺维奇”(Keith Stanovich)属于【顶级】的心理学家(本文后续章节还会再次聊到他)。

◇本文引用的心理学著作——都出自【专业】心理学家


  本文要讨论的内容,绝大部分都【不是】俺个人观点,而是出自专业的心理学家的研究成果,并且都有相应的心理学实验作为论据。
  为了让本文比较【靠谱】,本文中提到的几本心理学著作,都出自【专业】心理学家的手笔。
  其中有一本书会被多次引用,那就是《思考,快与慢》。在这里,俺顺便介绍一下这本书。

不见图 请翻墙  不见图 请翻墙  不见图 请翻墙

  此书洋文名称是《Thinking, Fast and Slow》,还有一个中文译名叫做《快思慢想》。
  首先,它的作者丹尼尔·卡尼曼(Daniel Kahneman)属于【世界级】的心理学家,并且还是2002年【诺贝尔经济学奖】得主。可能很多读者会奇怪——为啥心理学家得了“经济学奖”。那是因为他在心理学领域的贡献深刻影响了行为经济学。关于丹尼尔·卡尼曼的更多介绍,请参见维基百科的“这个链接”。
  其次,虽然作者是“学院派”,但书的内容还是很通俗易懂滴。也就是说,你【不】需要具备太多的专业理论知识,也可以通读全书。

◇电子书下载


  除了刚才的《思考,快与慢》,在本文后续章节还会提到很多著作(包括“心理学”和“非心理学”的),大部分都已经分享到俺的网盘。
  如果想下载电子版,请猛击如下链接,打开【电子书清单】。在每个【大类】的标题下方,都标有“微软网盘”的链接和“BT sync”的同步密钥。

https://github.com/programthink/books


★大脑的两个系统(两种运作机制)


  俺首先要聊的是“大脑的两种运作模式”——这也是《思考,快与慢》一书贯穿始终的话题。

◇“脸部识别” VS “四则运算”


  《思考,快与慢》开头部分(第1章),其标题就是:一张愤怒的脸和一道乘法题。这2个例子很典型,俺直接拿来说事儿。
  例1:给出一张【人脸照片】,绝大多数人都可以在一秒钟之内判断出人脸的表情;也可以在一秒钟判断出这张人脸是不是自己的熟人。
  例2:给出一个随意的【两位数乘法】,除非是受过专门训练或者是速算天才,绝大多数人都【无法】在一两秒之内算出答案。

  这两个场景,前者明显更难,后者更容易。作为一个(曾经的)程序猿,俺可以很负责任地告诉你——假如要写程序解决这两个问题,前者的程序肯定比后者复杂得多(高出好几个数量级)。即便抛开计算机编程不谈,只从【信息论】的角度分析这两个问题,“人脸识别”需要处理的信息量也远远大于“两位数乘法”。
  所以,这就引出一个疑问——为啥咱们的大脑对于“人脸识别”这种相对复杂的问题,可以轻松且快速地搞定;而对于“两位数乘法”这种相对简单的问题,却显得缓慢且费力。

◇大脑的“系统1”和“系统2”


  上述这个问题,其实并不容易回答。最近几十年,得益于心理学和脑神经科学的飞速发展,咱们开始能明白这其中的奥妙。关键在于——大脑有两种【截然不同】的处理机制。心理学家称之为“系统1”和“系统2”。
  “系统1”解决问题的速度很快,但它只能处理【少数类型】的问题;对于“系统1”无法解决的问题,会转交给“系统2”去处理。“系统2”能处理的问题,领域【更广】,但“系统2”的运作非常【慢】且非常【吃力】(相比“系统1”而言)。
  “系统1”可以解决“人脸识别”,但是【无法】解决“复杂四则运算”。

  顺便说一下:
  心理学家基思·斯坦诺维奇最早提出了“系统1/系统2”这两个术语。他也就是本文开头提到的那本《对“伪心理学”说不》的作者。关于此人的更多介绍,可参见“这个维基百科链接”。

◇“两种系统”的科学实验依据


  大脑的两种运作机制,并【不】仅仅是理论假设。在心理学和脑神经学相关的领域,已经获得了相当多的试验证据,表明大脑存在两种完全不同的运作机制。
  心理学家埃克哈特·赫斯(Eckhard Hess)指出了:【瞳孔】可以反应出大脑处于哪一种运作机制(注:《思考,快与慢》的第2章专门讨论了这个话题)。
  除了观测瞳孔,还可以通过其它物理手段(比如:功能性磁共振成像/fMRI)观测脑部的活跃区域,也可以看出大脑在不同的运作机制下,大脑皮层出现不同的活跃区域(关于“大脑活跃区域”的成像,后面会举例)


★两个系统的【分工】


◇“系统1”能够做什么?


  刚才提到——“系统1”只能处理【少数类型】的问题。哪些领域是它擅长的捏?下面列一个简单的清单(该清单仅用于举例,不完整):
人脸识别、表情识别;
看到某些动物(比如:蛇、蜘蛛、蜈蚣)并感到恐惧或厌恶;
听到某首(你熟悉的)乐曲,立即想到名称;
当你(熟练地)骑自行车或开车时,面对突然出现的障碍物,会立即作出反应;
(对于识字的人)一看到某个“字/单词”,就想到读音;
(对于围棋老手)一看到某个棋形,就认出这是“某某定式”;
......

◇哪些是“系统1”无法做到的?(必须转交给“系统2”)


  前面提到:“系统1”擅长的领域是【比较少】滴,更多领域的问题必须由“系统2”来完成。再列一个清单(该清单仅用于举例,不完整):
复杂四则运算;
逻辑推理;
打游戏(尤其你不熟悉的游戏);
面试时,回答主考官的问题(尤其是碰到刁钻的主考官);
理解学术论文(尤其是深奥难懂的那种);
创作(包括:写作、作曲、绘画、编程......);
......


★两个系统的【差异】


  咱们先来聊一下这两个系统的【差异】(表象);然后再去探讨这两个系统的运作机制(本质)。

◇无意识 VS 有意识


  在上一个章节,俺列举了两个系统的分工。聪明的读者应该已经发现了——
“系统1”擅长的领域通常是——【无意识】的活动;
而“系统1”【不】擅长的领域(只能靠“系统2”完成的)通常是——【有意识】的活动,并需要在一段时间内保持【注意力集中】。

◇节能 VS 耗能


  前一个小节提到了:“系统2”要想完成某个任务,需要保持【注意力集中】。面对的任务越困难,注意力集中的程度就越高。而为了保持注意力高度集中,就需要动用【自控力】。为了长时间地维持自控力,你就需要消耗【能量】
  注:此处所说的【能量】就是物理学中的那个概念;体现在生理学上,就是【血糖水平】(血液中的葡萄糖含量)

  关于“注意力/自控力”与“能量损耗”的相关性——已经有很多【专业的】心理学书籍和实验证明了这点。除了《思考,快与慢》这本书,还有一个心理学家罗伊·鲍麦斯特(Roy Baumeister)专门写了一本书叫《Willpower》(中译本书名《意志力》),详细谈这个话题。
  考虑到本文的篇幅,俺只简单介绍几个心理学实验:
  实验1
  两组被试,一组从事轻松的脑力任务,另一组从事复杂的脑力任务。任务完成后,让他们自选免费点心,从事【复杂任务】那组人,有【更高比例】选择了“甜食”,并且他们的血糖水平也比另一组【更低】。
  实验2
  两组被试,一组是饥饿状态,一组正常状态。从事【同样的】复杂脑力任务。饥饿组的平均成绩显著【低于】正常组。
  实验3
  两组被试,一组是饥饿状态,一组正常状态。从事一项【不可能完成】的任务,然后测量他们坚持了多久才放弃。饥饿组的平均时长显著【低于】正常组。

  上述这些实验反映出:
1. “系统2”从事复杂任务会显著影响(降低)血糖水平
2. 血糖水平(的高低)会显著影响“系统2”从事复杂任务的效率和能力
3. 血糖水平(的高低)会显著影响“自控力/意志力”

◇关于“自控力/意志力”的进一步讨论——这是一项【宝贵资源】


  前面提到了“自控力/意志力”与“能量/血糖水平”的相关性——“血糖水平下降”会降低“自控力/意志力”。
  但是,当你的“自控力/意志力”彻底消耗掉之后,如果(通过进食)立即恢复“血糖水平”,“自控力/意志力”并【不会】立即恢复到峰值(它的恢复是一个较缓慢的过程)。
  另外,除了血糖水平,还有很多因素会影响你的“自控力/意志力”。比如当你的情绪很差的时候,去从事某个复杂任务,就更容易放弃(说明“自控力/意志力”会受到情绪的影响);另外,“睡眠不足”或者“喝醉酒”也会降低“自控力/意志力”。
  从以上介绍可以看出,“自控力/意志力”是一项【宝贵资源】。这点非常重要,希望大伙儿牢记!(后面还会再提及这点)

◇快启动 VS 慢启动


  “系统1”的启动非常快。就拿前面提到的“骑车/开车的例子”。面对【突然出现】的障碍物,“系统1”会在一秒(甚至零点几秒)之内作出反应。
  相比“系统1”而言,“系统2”的启动非常慢。经常听到有句话叫做【进入状态】,用来形容“系统2”非常恰当。
  而且“系统2”的【进入状态】的耗时还与你想要处理的任务的复杂程度有关。如果“系统2”只是处理【简单】任务,“进入状态”的耗时偏【短】;反之,要处理非常复杂的任务,“进入状态”的耗时就偏【长】。你可以形象地理解成——为了处理复杂任务,“系统2”需要达到某种【满负荷运转】的状态。

◇多任务 VS 单任务


  (注:“单任务/多任务”是 IT 行业中关于操作系统的术语,俺在这里借用一下,表示“大脑中两个系统的差异”)

  “系统1”是典型的【多任务】系统
  对于某个熟练骑自行车的人,当他/她在骑车的过程中突然听到某个熟悉的音乐,头脑中可以立即联想到歌名。在“联想到歌名”的同时,依然可以保持自行车的平衡。也就是说,“系统1”能【同时处理】这两个任务,并且“系统1”在多任务的状态下,任务之间【不】互相干扰。

  “系统2”是典型的【单任务】系统
  作为对比,“系统2”同一个瞬间只能处理【单个】任务。如果让“系统2”同时进行两个复杂任务,至少有一个任务会搞砸(通常是两个都搞砸)。关于这点,也已经得到心理学实验的证实。
  俺猜到某些读者会反驳说:马戏团的杂技演员能同时进行多个复杂任务。
  来简单解释一下:杂技演员通过长期训练,已经把复杂任务转化为“系统1”的固有模式。所以从表面上看,杂技演员好像同时进行多个复杂任务,但其实最多只有一个(甚至没有)任务在占用“系统2”。

◇放松型 VS 紧张型


  前面提到:“系统2”的运作需要较高程度地集中注意力——你必须动用“自控力/意志力”来做到这点——在此过程中,你的“自控力/意志力”不断损耗。心理学家罗伊·鲍迈斯特(Roy Baumeister)所做的实验表明——这个过程会让人很不爽(很辛苦)。《思考,快与慢》一书称之为【认知负担】。
  相比之下,“系统1”的活动是【无意识】滴——不需要集中注意力,也就【不】存在“认知负担”。
  基于上述差异,可以把这两个系统分别称之为“放松型”和“紧张型”。“放松的系统1”也就是俺在博客中经常提到的【心理舒适区】(Comfort Zone)。

  某些读者会问:能否既动用“系统2”又摆脱“认知负担”?
  幸运的是,这种“鱼和熊掌兼得”的奢望是有可能实现滴!(在本文末尾介绍“心流”时,会谈到这个话题)

◇【认知负担】的心理学实验


  先来看两张图:
不见图 请翻墙

  对【左图】,依次说出每个椭圆的颜色,【很容易】——此时只动用了“系统1”。
  对【右图】,依次说出每个单词的颜色,【很困难】——因为单词的“含义与颜色”相冲突,你需要动用“自控力/意志力”去【抑制】“系统1”的下意识反应,同时调动“系统2”以遵循给定的规则。这会导致大脑出现紧张和压力。

  上述的“认知负担”得到了 MRI(核磁共振成像)的验证(如下图)

不见图 请翻墙
(MRI 成像的照片)

  (注:以上案例来自斯坦福大学一篇讨论“神经科学”的文章,出处在“这里”)


★对“两种系统”的【误解】


  (本文发布后,在与读者的讨论过程中发现某些读者会对“系统1/系统2”这个术语产生歧义,特补充这个章节)

◇误解1:把“系统1 & 系统2”简单地理解为“感性 & 理性”


  这种误解很普遍,俺先来澄清一下:
  当初为啥用“系统1”这个术语,而【不】用“感性系统”或“XX系统”,其中一个原因就是为了避免这种误解。
  同样的道理,也不能把“系统1 & 系统2”简单理解为“直觉系统 & 思考系统”。

◇误解2:把“系统1 & 系统2”理解为两个层次


  俺来澄清一下:
  这两个系统,并【不是】简单的层次关系。两者之间的关系要复杂得多。而且关于这两者的关系,还有待于心理学的进一步研究。

◇误解3:把“系统1 & 系统2”理解为简单的依赖关系,认为“系统2依赖系统1”


  俺在上一个小节说了:两者之间的关系要复杂得多。而且关于这两者的关系,还有待于心理学的进一步研究。
  暂时还【不能】断言这两者是简单的依赖关系。

◇误解4:把“系统1 & 系统2”理解为大脑中的两个部分


  本文中提到:“系统1的运作”和“系统2的运作”,在大脑中会有不同的活跃区域(脑皮层)。
  这很容易让某些读者误以为这两个系统分别对应了大脑中的两个物理区域。
  但实际情况没有这么简单。比如说:可能某个区域是两个系统都会用到的。可能某个区域在其中一个系统运作时,活跃程度较高;而在另一个系统运作时,活跃程度较低。
  由于存在这方面的误解,某些心理学家改用另一种术语——“1型处理过程”和“2型处理过程”。
  俺认为后面这个术语,会更准确。但考虑到“系统1 & 系统2”已经广为流传,本文中还是继续用原先的术语。


★“系统1”的运作机制


◇“系统1”基于【模式】来运作


  再次回顾一下前面章节列举的“系统1能干的事情”。你会发现:这些事情都可以固化为某种【模式】。
  为了说清楚“系统1”的【模式】,咱们再拿乘法运算来说事儿。
  绝大多数人都【可以】在一秒钟内说出 3 x 3 = 9 但绝大部分人都【无法】在一秒内说出 19 x 21 = ?
  同样是乘法运算,为啥差异这么大捏?因为 3 x 3 = 9 已经包含在“乘法口诀表”中。这个“乘法口诀表”就是俺所说的——【固化的模式】。通过这种“固化的模式”,某个外部的刺激(输入)可以在模式中直接找到“匹配项”并以此作为大脑的反馈(输出)。
  为啥围棋高手可以【立即】识别出“某个棋形属于XX定式”,道理也类似。因为他们经历了成千上万的实战或打谱,那些常见定式已经成为头脑中的【固有模式】。

◇先天模式(先验的) VS 后天模式(经验的)


  “系统1”的模式,有些是先天的(与生俱来的),有些是后天的(习得性的)。
  比如刚才提到的“识别围棋定式”,显然是后天强化的;而像“人脸的表情识别”就属于先天的——比如:有些新生婴儿的情绪会受到父母脸部表情的影响。
  顺便说一下:
  在哲学的“认识论”领域中,“与生俱来”也称之为“先验的”;“后天习得”也称之为“经验的”。

◇为啥会有【先天模式】?——进化心理学的解释


  俺之前在《股市点评:为啥大多数散户必定亏钱?——心理学层面的分析》中提到过【进化心理学】,当年博文中的一段话,拿到这里依然适用(如下):
因为人类进化过程中,处于原始社会的时间很长(从南方古猿一直演化到智人,每个阶段的跨度都是“十几万年~几百万年”的数量级),而人类文明史却很短(也就几千年)。几千年的时间,【不】足以让大脑产生显著的进化。所以咱们的大脑,实际上还停留在原始社会阶段。
  为啥大脑很擅长“人脸识别”捏?因为在原始社会中,同一部落的人需要相互协作,而不同部落之间经常会出现争斗。所以,【快速判断】某个人脸是“熟人 or 陌生人”,其表情是“高兴 or 愤怒”,这属于非常重要的【生存技能】。缺少该技能的人,更不利于生存(更容易被淘汰掉);具备该技能的人,更有利于生存(其基因更能得到延续)。
  同样的道理——原始社会中根本就【不】需要进行“两位数乘法”,所以“系统1”压根儿就【没有】去发展(演化)这种能力。

  引申阅读:
  俺网盘上分享了一本《进化心理学——心理的新科学》。对这个领域感兴趣的同学,可以去瞧一瞧。

◇“系统1”可能会引发哪些【认知谬误】


  在《思考,快与慢》一书讨论了很多“系统1”导致的认知谬误。俺挑选其中几个让大伙儿瞧一瞧:
眼见为实
“亲眼看到的”更容易留下深刻且持久的印象;“【没】亲眼看到的”(相比之下)更容易被忽略。

以偏概全
更看重【个例】(尤其是身边所见的个例),更容易忽略【统计数字】。
因为“统计数字”太抽象,而【发生在自己身边】的个例,会受到【眼见为实】的强化。

光环效应
这个效应,知道的人比较多。
相关讨论可参见“这篇博文”。

前景理论
对【变化】的感知比对形态的感知更敏锐。(不妨回忆一下“温水煮青蛙”的故事)

损失厌恶情结
参见“这篇博文”的讨论。

误判概率
“系统1”极度【不】擅长处理概率问题。很多时候,它会【过高】预测【乐观】事物的概率;【过低】预测【悲观】事物的概率。
顺便说一下:这也就是程序员预测项目进度总是偏乐观的原因之一。

锚定效应
大部分人【不】熟悉这个效应。待会儿俺要拿“锚定效应”来举例。

假性因果
“系统1”总是企图为不相关的事物找出因果关系。
比如说:“阴谋论”就与这个思维谬误密切相关(“这篇博文”扫盲了阴谋论的弊端)
......
(显然,以上列出的只是一小部分)

◇引申阅读


  认知谬误经常被利用来进行【洗脑】。俺博客上已经写了很多【反洗脑】的扫盲教程,挑选几篇列在下面,供参考:
《扫盲逻辑谬误——以五毛言论为反面教材》
《比“欺骗”更有效的洗脑——基于【双重思想】的思维控制》
《比“欺骗”更狡猾的洗脑——基于【真实数据】进行忽悠》
《聊聊洗脑和脑残——分析“脑残的起源”和“脑残的觉醒”》
《如何用互联网进行“反洗脑”和“政治启蒙”——分享若干个人经验》

  俺的网盘上分享了《清醒思考的艺术(上篇)、明智行动的艺术(下篇)》,里面汇总了很多思维谬误。
  提醒一下:此书的英文原著是《The Art of Thinking Clearly》。中文版出了两本,分别对应原著的前后两部分。


★“系统2”的运作机制


  目前对“系统2”的研究还不够,关于它的很多内部运作机制也还【没】完全搞明白。
  所以在这个章节中,俺只介绍少数重要的,并且(在科学研究中)比较有定论的东东。

◇“系统2”具有严重的【惰性】


  关于这个论点,俺直接引述卡尼曼在《思考,快与慢》中所说的话:
系统2的典型特征表现在其各项活动都需要努力,但其自身却很懒惰。除了必需的努力外,它不愿多付出,哪怕是一点点。

◇为啥会有严重的【惰性】?


  在之前的章节,俺已经提到了【进化心理学】,咱们继续用它来解释“系统2”的【惰性】。
  在漫长的原始社会过程中,经历了狩猎业、采集业、农业。在狩猎业和采集业,食品是严重匮乏滴;农业出现之后,食品问题有所缓解,但还远远算不上充足。而前面俺已经提到——“系统2”是【耗能】大户。于是,“食品匮乏”与“系统2消耗能量”就构成一个尖锐矛盾。解决方法包括如下:
1. 经常碰到的任务,尽可能由“系统1”来完成(比如前面多次提及的“人脸识别”)
2. 即使碰到某个任务,“系统1”搞不定,需要动用“系统2”。“系统2”也要【省着点用】——这也就是卡尼曼在书中对“系统2”的评价:其自身却很懒惰。除了必需的努力外,它不愿多付出,哪怕是一点点。

◇智力因素 VS 理性因素


  本文前面提到的那位心理学家“基思·斯坦诺维奇”(就是最早指出大脑具有两种系统的那位),在他的著作《理性和反思性思维》(Rationality and Reflective Mind)中对【系统2】作了进一步探讨。他认为“系统2”包含【两种思维能力】。基思·斯坦诺维奇分别称之为“算法”和“理性”。但是俺觉得“算法”一词太抽象,所以在本章节中,俺称之为“智力因素”和“理性因素”。

  所谓的“智力因素”
  指的是——能够进行复杂的计算(此处所说的“计算”是广义滴,【不仅仅】指数学计算,还包括:推理、分析、归纳......)。这个因素比较容易理解,俺就不展开啦。

  所谓的“理性因素”
  如果换一种说法就是指:“系统2”的【勤快程度】。根据基思·斯坦诺维奇的理论——如果“系统2”的理性水平【弱】,在解决问题时就更容易接受一些【直觉型】的答案;反之,如果“系统2”的理性水平【强】,即使发现了【直觉型】的答案,还会再次进行【确认与反思】。
  仅仅是这样描述,俺估计很多读者还是不太明白“理性水平的强弱”到底有啥区别。所以俺从《思考,快与慢》的第3章里面剽窃一个例子(引文如下,粗体是俺标注滴):
  下面是一个相对简单的难题。别费力去分析它,凭直觉做做看:

球拍和球共花1.10美元。
球拍比球贵1美元。
球多少钱?

(编程随想注:请先【快速】想一下这道题,再往下看)








  你会马上想到一个数字,这个数字当然就是10(即10美分)。这道简单的难题之所以与众不同,是因为它能引出一个直觉性的、吸引人的但却错误的答案。计算一下,你就会发现。如果球花费10美分的话,总共就要花1.20美元(球10美分,球拍1.10美元),而不是1.10美元。正确答案是5美分。我们可以假设:那些最终得出正确答案的人也想到了这个错误答案,只是他们不知通过什么办法成功抵制住了直觉的诱惑,最终给出了正确的答案。
  肖恩·弗雷德里克(Shane Frederick)和我对基于两个系统的判断理论进行了共同研究,他用这个球拍和球的测试来研究一个核心问题:系统2对系统1的各类方案监视得有多严密?他进行了这样的推理:那些说球为10美分的人让我们了解到这样一个重要的事实——这些人没有认真验证这个答案是否正确,而且他们的系统2倾向于直觉性的答案。其实他们只要稍稍动脑想一下,就会否定这个直觉性的答案。......没有验证答案,这是一个明显的失误,因为验证根本不费什么事。......只要稍微动动脑子就可以避免这个令人窘迫的错误。认为答案是10美分的人显然不爱动脑筋,而说出正确答案的人显然思维更活跃。
  上万名大学生都回答了这个球拍和球的问题,其结果令人吃惊。哈佛大学、麻省理工学院和普林斯顿大学中 50% 以上的学生给出了这个直觉性的错误答案。在声誉稍差一点的大学里,则有 80% 以上的学生没有验证答案就脱口而出。
......
  在这些小实验中,答错问题显然在某种程度上说明了其原因是精神动力不足,而不是努力程度不够。......避免思维上懒惰的人可以被叫做“勤快人”。他们更机警,思维更活跃,不会满足于貌似正确的答案,对自己的直觉也常持怀疑态度。

◇小结


  本章节末尾,简单总结一下。俺想要强调的是——规避认知谬误,其中一个关键在于“系统2”的【理性程度】(勤快程度)。
  当然啦,“扫盲认知谬误的知识”,也是很重要滴。比如俺曾经写过一篇《扫盲逻辑谬误——以五毛言论为反面教材》。但是大部分人,即使完全掌握了这些认知谬误,还是会落入相关的思维陷阱。为啥捏?因为大部分人就算熟练掌握认知谬误,还是无法显著提升“系统2”的【理性程度】(勤快程度)。
  那么,如何提升“系统2”的【理性程度】(勤快程度)捏?在本文最后3个章节,俺将分享若干个人经验。


★为啥运用【系统2】的难度比较大?


  如果你有耐心,一直看到这里。恭喜你,咱们要开始切入正题啦!
  由于“系统1”是根据【固有模式】作出反应/反馈;所以,“系统1”的运作【没资格】称之为“独立思考”。换句话说,只有当你运用“系统2”来解决问题的时候,才有资格称之为【独立思考】。
  通过本章节的阐述,当你理解了“运用系统2的难度”;自然也就理解了“独立思考的难度”。

◇“心理舒适区”的【成瘾性】


  俺在前面已经提到:“系统1”的运作是【放松型】滴。当你的大脑中只启动“系统1”,你就处于【心理舒适区】(Comfort Zone)。
  “心理舒适区”具有某种【成瘾性】——你停留于其中的时间越久,你就越难以摆脱它;反之亦然。
  所以,“心理舒适区”会导致一种【马太效应】(该效应俗称“两极分化”)——越经常思考的人,就越来越善于思考;越少思考的人,就越来越难以思考。

◇短路原则——“系统2”被直接绕过


  “短路原则”有时候也被称为“最省力原则”(在《思考,快与慢》中也有提及)。它指的是——如果某个任务可以由“系统1”搞定,就不会再让“系统2”参与。
  为啥会有“短路原则”捏?如果你已经很熟悉这两个系统的差异,就能发现“短路原则”源自于——
1. 基于【速度】的因素
“系统2”的速度太慢。既然“系统1”已经搞定了,大脑觉得没必要再动用“系统2”啦。
2. 基于【节能】的因素
“系统1”是【无】意识滴,不需要动用“注意力/自控力”。而“系统2”需要动用“注意力/自控力”,会显著消耗能量。

  “短路原则”可以用来解释——摆脱偏见很难。当你形成了某种【根深蒂固】的偏见,通常说明这种偏见已经成为“系统1”里面的固化模式。你接收到的信息如果匹配该模式,直接被“系统1”处理掉了(此时“系统2”被绕过)。

◇“系统1”对“系统2”的【误导性】影响


  关于这个方面,俺以【锚定效应】来举例(因为很多读者不太了解此效应,趁机扫盲一下)。
  这个效应指的是:当你思考某个问题时,你会很随意地从周围环境中获得某个事物(可能是完全无关的事物)充当参照物(也就是“锚点”)。
  下面是某个心理学实验:
  对 A、B 两组被试,让他们填写一份问卷。问卷上有一系列历史名人,要求填写这些名人大概死于几岁。参与测试的人都知道这些名人,但未必记得他们的死亡年龄,只能进行大致的估计。
  对于“A组”,他们的座位上标有一个随机数字。这个数字大概是几百或几千(很显然与年龄没啥关系);对于“B组”,座位上没有标数字。
  测试的结果,“A组”的问卷,对年龄的猜测显著高于“B组”。测试之后,再去询问“A组”的测试人员,相当比例的人【没有】意识到自己的座位上标有数字。
  从这个测试可以看出:“系统1”在下意识(无意识)的情况下收集到的信息,也影响到了“系统2”。

  如果你以为“锚定效应”只出现在自己陌生的领域,那你就低估了它的影响力。另一个实验选择的“被试”来自房地产行业多年的从业人员,让他们对某个房产进行估值。同样是分为两组进行对照,同样观察到类似的“锚定效应”。
  也就是说:即使在你非常熟悉的领域,也可能受到锚定效应误导。

◇环境干扰因素


  “环境的干扰”会打断人的思路,这已经是老生常谈。俺想要强调的是——“环境干扰”对不同类型的思维活动,破坏性也是不同滴!
  技术大牛 Paul Graham 在《黑客与画家》(Hackers and Painters)一书中,提到了“不同工种”对干扰的忍受程度,引文如下:
不同的工作对“不受干扰”有不同的要求。文稿校对人员每15分钟被打断一次,工作效率也不会有太大损失。但是,程序员要求的“不受干扰”的时间是非常长的,有时你要用1个小时才刚刚把一个问题理清。所以,人事部突然打电话要你去填一张表格,会造成巨大的成本损失。
这也就是为什么当你打扰程序员让他们从屏幕前扭过头回答问题时,他们会恶狠狠地盯着你的原因。他们大脑内部精心构建的逻辑结构,瞬间就崩溃了。
(注:俺把上述引文中的“黑客”替换为“程序员”。因为“黑客”一词会产生歧义)

  引申阅读:
  在下面这本书中,用大量篇幅谈了“排除干扰”的话题。此书虽然出自软件开发行业,但其中所谈的管理之道,适用于任何一个需要【复杂脑力活动】的行业。俺本人从事管理工作之后,从此书中获益甚多。
《人件》(Peopleware——Productive Projects and Teams)

◇时间因素


  有些复杂的思维活动需要持续一段比较长的时间。如果你的时间是【碎片化】的,就难以进入这种状态。
  这也就是,为啥很多程序员是夜猫子。因为在夜深人静的时候,不太有人来打扰,可以在长达几个小时里,专注地编码。(俺当年做程序员的时候,也是如此)


★如何提升思维能力——【锻炼】的重要性


  关于“系统2”的理性程度(勤快程度),前面已经说过了。有些人的“系统2”更加勤快,这类人出现【直觉型错误】的概率会显著低于那些“系统2”更加懒惰的人。
  “系统2”的勤快程度,就跟“肌肉”一样是可以锻炼的。你频繁地动用“系统2”进行思考(尤其是复杂思考),“系统2”就变得活跃起来。
  至于如何锻炼,方法非常多。下面俺举几个例子,供参考。提醒一下:大伙儿要对“俺的例子”进行【举一反三】。

◇举例——阅读【内容】的选择


  消遣性的内容,通常不需要动用“系统2”——这也就是“消遣性”一词的缘由。如果某个内容需要频繁动用“系统2”,就会造成【认知负担】,在这种情况下,你就无法达到“消遣”的效果。
  所以,对消遣性的内容,偶尔看看问题不大;但如果你把大量的业余时间用来阅读消遣性内容,对“思维能力”有害无益——请回顾刚才提到的:“心理舒适区”【成瘾性】
  比如俺本人就很少看消遣性内容(关于这点,曾经在博客评论区交流过)

  为了经常锻炼自己的思维能力,你需要多看一些【费脑筋】的内容。
  说到这个话题,俺强烈建议:多接触和学习【不同领域】。这么干简直可以称得上是【一石 N 鸟】,其好处至少包括:
1. 学习【新】领域,肯定要动用“系统2”——锻炼了思维能力。
2. 拓宽了你的知识面。
3. 如果你挑选【恰当的】领域进行学习,还可以增强【个人竞争力】。
4. 你学习的新领域越多,你就越容易掌握【学习的技巧】;今后再学习其它新领域,效率就会更高。(这是一种【良性正反馈】)

◇举例——阅读【方式】的选择


  在下面这篇博文中,俺推荐了《如何阅读一本书》。这是一本【关于书籍的书籍】,很重要!
《<如何阅读一本书>——书评及内容纲要》

  此书中提到了阅读的“4个层次”,【由低到高】分别是:基础阅读、检视阅读、分析阅读、主题阅读。
  这4个层次有依赖关系——“后面的层次”要依赖“前面的层次”。俺建议大伙儿多进行【后2个层次】——“分析阅读”和“主题阅读”。
  因为后面两个层次,会更多地动用“系统2”。并且后面两个层次也更有利于你学到东西。

◇举例——【弱】批判思维


  不爱思考的人有一个特点:每当听到与自己冲突的观点/意见/理论,就直接忽略掉。
  如果你想提升思维能力(尤其是“系统2”),当你听到与自己冲突的观点/意见/理论,你应该【仔细想一下】,对方是否存在某种谬误?在寻找对方谬误的过程中,你不要只满足于找到【某个】谬误,要尽力找到【全部】谬误。
  在批判性思维的理论中,这种称之为“【弱】批判思维”。

◇举例——【强】批判思维


  当你听到与自己冲突的观点/意见/理论,在完成“弱批判思维”之后,还要再反问一下:有没有可能对方是正确的,而自己是错误的?
  “对【自身】的批判性思维”,称之为“【强】批判思维”。做到这点【很难】——因为大多数人【不愿意质疑和反思自己】。
  但如果你达到了这个 level,好处会很明显——你就能更多地消除自己的弱点和缺陷。

◇引申阅读


  关于“批判性思维”,可以参考俺的网盘上的《学会提问——批判性思维指南》。
  此书的开头部分就提到了“弱批判思维”和“强批判思维”,另外还介绍了各种思维谬误。

  关于“学习新领域”和“拓展知识面”,可以参考《如何完善自己的知识结构》


★如何提升思维能力——【媒介】的重要性


  在如今的这个互联网时代,很多人都知道“信息的重要性”。可惜的是,大多数人忽略了“【媒介】的重要性”。

◇媒介即信息


  有一个传播学领域的大牛叫“马歇尔·麦克卢汉”,他的代表作《理解媒介——论人的延伸》(Understanding Media——The Extensions of Man)是传播学领域【划时代】的经典著作。贯穿此书的核心观点是【媒介即信息】(The medium is the message)。
  针对这句话的论述,足以写好几个大部头著作。为了避免篇幅太长,俺只【简单扫盲】他这个观点——
  在麦克卢汉之前,传播学的学者只是关注媒介【内容】对受众的影响;麦克卢汉这个大牛率先指出:媒介的【形式】非常重要(甚至可能比内容更重要)。

  关于“媒介【形式】的重要性”,可以从很多角度来讨论;在本文中,俺只从【认知心理学】的角度来分析。下面这句话是俺要特别强调滴!

有的媒介【形式】会促进你的思考
有的媒介【形式】会抑制你的思考

◇【被动】的媒介形式,有啥弊端?


  假设同一本书,采用两种【形式】来呈现——其一是“纸版书或电子书”;其二是“有声读物”。对于前者,你用【肉眼】阅读它;对于后者,你用【耳朵】听它朗读。这时候,差别就体现出来啦!
  在【肉眼阅读】的时候,你是【主动】滴。因此,当你出现理解上的困难,或者当你需要作进一步的思考,可以调整阅读速度。
  而使用【有声读物】,你是【被动】滴。为了跟上阅读节奏,大脑会【抑制】“系统2”的启动(前面说了,它启动比较慢)。所以,对于【有声读物】这种媒介,你很难在“听的过程中”进行【深入】思考。最多只能进行一些肤浅的思考。

  估计某些读者会反驳说:在听“有声读物”时,也可以按“暂停键”。
  俺来解释一下:
1. 每个人对信息的处理速度会有差异。甚至同一人对不同内容的处理速度也有差异。这个速度差异,靠“暂停键”【无法】解决
2. 如果你时刻保持警惕,准备随时按下“暂停键”,此时你已经分摊了一部分注意力。再次强调:“自控力/意志力”是一项【宝贵资源】(尤其当你需要复杂思维时)

  说完“有声读物”,再来说“视频”。某些聪明的读者在看前面一段时,应该已经联想到了——【视频】这种媒介与【有声读物】是类似滴——观看视频时,你也处于【被动】状态。除了【被动】导致的弊端,“视频”这种媒介形式还有其它很多弊端,具体请参见《为啥俺很少看视频?——兼谈“视频”与“文本”在认知心理学方面的差异》

◇【碎片化】的媒介形式,有啥弊端?


  说完【被动型认知】的缺点,再来说说【碎片化】的缺点。这个缺点在社交网络(SNS)上尤其明显。
  当你阅读碎片化信息时,注意力不断地在各个信息之间跳转。这样一种阅读习惯,会弱化你【保持注意力】的能力。久而久之,有可能导致“阅读障碍”——因为无法长时间保持注意力,难以阅读【长篇】内容(尤其是长篇且复杂的内容)。

  引申阅读:
  刚才谈的是互联网导致的【碎片化】问题。下面这篇博文对比了几个媒介【形式】的优缺点。
《“传统博客”过时了吗?——兼谈各种媒介形态的优缺点》

◇为啥【书籍】是更好的媒介形式?


  为了避免有人抬杠,再次强调:当俺说“书籍是更好的东西”,指的是书籍这种媒介【形式】,不是指“内容”。
  书籍在【认知】方面的优势【至少】包括如下几点:

  1、主动性
  (关于这点,刚才已经讨论过)

  2、系统性
  在前面章节,俺已经强烈建议:学习新领域属于“一石N鸟”的好事儿。当你想要掌握某个新领域,需要对该领域的知识有一个【系统性】的了解。
  这方面,书籍明显优于其它媒介形式。绝大部分基于网络的媒介形式(邮件、聊天工具、博客、论坛、问答网站......)都难以帮助你系统性地掌握某个领域(尤其是比较复杂的领域)。
  越是复杂的领域,书籍在【系统性】方面的优势就越明显。

  3、深刻性
  某些话题具有一定的深度/复杂度,很难用简短的文字讨论清楚。在这种情况下,微博(microblog)存在字数限制,缺点就非常突出;博文没有【显式】的字数限制,这方面就明显优于微博。但博文存在【隐式】的字数限制。因为很少有博主能写出【长篇博文】(俺属于极少数经常写长篇原创博文的博主)。
  论坛或问答网站,情况也类似——存在【隐式】的字数限制。
  与上述这些媒介形式相比,书籍完全【没有】字数限制。

  引申阅读:
《<如何阅读一本书>——书评及内容纲要》


★如何提升思维能力——【兴趣】的重要性


  有句格言叫做:兴趣是最好的老师。
  在本文的最后一个章节,俺来谈谈“兴趣”对于提升思维能力的作用。

◇什么是“兴趣”?


  对“兴趣”一词,有很多不同的理解(甚至误解)。
  为了避免理解上的分歧,建议你先看一下《什么是【真正的】兴趣爱好?以及它有啥好处?》。

◇从“兴趣”聊到【多巴胺】


  前面俺提到了“认知负担”。这种负担会消耗“自控力/意志力”。(俺第 N 次强调:“自控力/意志力”是一项【宝贵资源】)
  兴趣的好处在于——当你从事自己感兴趣的活动,你会获得某种【快感】(快感来自于大脑分泌的【多巴胺】这种神经递质)。“多巴胺带来的快感”有助于抵消——认知负担造成的紧张感和心理压力。如此一来,你的宝贵资源就得到节约。

  那么,啥时候需要动用“自控力/意志力”这个宝贵资源捏?
  前不久(2019年初)正好与读者在评论区讨论到此问题,下面是俺个人观点:
  那些【简单】的事情(不需要复杂思维,已经让“系统1”包办了),本来就不太消耗“自控力/意志力”;
  那些【不重要】的事情,不值得你动用这项资源;
  那些【重要】且需要【复杂思维】的事情,可以分为两类:其一是“你感兴趣的”;其二是“你不感兴趣的”。
  为了让“自控力/意志力”的效果最大化,你只在【第二类】事情动用这项资源;对于第一类事情,让“多巴胺”来帮你抵消“认知负担”造成的压力。

◇从“兴趣”聊到【心流】


  (简单地说)“心流”是指:从事某个活动时,达到【忘我】的境界。
  心流的【好处】在于——当你处于这种状态,【没有】认知负担,而且还会有一种超爽的体验(高度的兴奋感和满足感)。

  在古代的佛教或瑜伽中有类似的描述。现代心理学已经对这种现象进行了研究。“心流”(Flow)一词就出自心理学家米哈里·契克森米哈伊(Mihaly Csikszentmihalyi)——此人是研究这种现象的权威。
  米哈里·契克森米哈伊给出了下面这个【“技能-挑战”模型】。如图所示:当你在某个领域达到【高水平技能】,同时你还面临该领域【高难度任务】的挑战,就有【可能】达到“心流状态”(此处说的是“可能性”而不是“必然性”)。
不见图 请翻墙
(此图剽窃自维基百科关于“心流”的介绍)

  俺想要强调的是——“心流”与兴趣的关系。你对某个领域的兴趣越大,你越有可能在上述模型的两个维度同时达到 high。在【没】兴趣的情况下,或许也能达到心流的状态,但俺认为更【不】容易出现。

  引申阅读:
  考虑到本文已经很长,关于“心流”就不细聊啦,感兴趣的同学自己去看如下两本书,其作者就是刚才提到的那位“米哈里·契克森米哈伊”。
《心流——最优体验心理学》
《发现心流——日常生活中的最优体验 》

◇“兴趣”产生的【良性正反馈】


  前面两个小节分别提到了“多巴胺”和“心流”。这两者东西都有助于【消除认知负担】。
  消除这种负担之后,(在你感兴趣的领域)就更容易进行【长久】且【复杂】的思考。于是你在这个领域中的能力提升就会更显著。如此一来,你对这个领域的兴趣会被进一步强化(然后又带来更多“心流、多巴胺”)
  这就是俺所说的【良性正反馈】。


俺博客上,和本文相关的帖子(需翻墙):
《学习与人生——700篇博文之感悟》
《时间与人生——跨入本世纪20年代的随想》
《如何完善自己的知识结构》
《成功学批判——简述其危害性及各种谬误》
《什么是【真正的】兴趣爱好?以及它有啥好处?》
《为啥俺不常用微博?——兼谈时间管理心得》
《为啥俺很少看视频?——兼谈“视频”与“文本”在认知心理学方面的差异》
《“传统博客”过时了吗?——兼谈各种媒介形态的优缺点》
《扫盲逻辑谬误——以五毛言论为反面教材》
《比“欺骗”更有效的洗脑——基于【双重思想】的思维控制》
《比“欺骗”更狡猾的洗脑——基于【真实数据】进行忽悠》
《聊聊洗脑和脑残——分析“脑残的起源”和“脑残的觉醒”》
《如何用互联网进行“反洗脑”和“政治启蒙”——分享若干个人经验》
《思维的误区:从“沉没成本谬误”到“损失厌恶情结”》
《思维的误区:幸存者偏见——顺便推荐巴菲特最著名的演讲》
《股市点评:为啥大多数散户必定亏钱?——心理学层面的分析》
《光环效应引发的认知误区》
《聊聊【阴谋论】流行的原因及其弊端》
+
+ +
+ + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/03/weekly-share-128.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/03/weekly-share-128.html" new file mode 100644 index 0000000000000000000000000000000000000000..5c83e14e7838f8bd133df706b164cced3ed32c96 --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/03/weekly-share-128.html" @@ -0,0 +1,26 @@ + + + + + + + +每周转载:关于盐城市响水县的化工大爆炸(相关报道和网友评论,多图) - 编程随想的博客 + + +
+

每周转载:关于盐城市响水县的化工大爆炸(相关报道和网友评论,多图)

+ +
+
+  可能有些读者会觉得这篇《每周转载》发得太迟。但老读者们应该了解——俺习惯于在热点事件开始被淡忘的时候,再来唤起大伙儿的记忆。


★事故的惨状


不见图 请翻墙
(爆炸瞬间的火球)

不见图 请翻墙
(远处看到的景象——蘑菇云)

不见图 请翻墙
(爆炸后,浓烟滚滚)

不见图 请翻墙
(爆炸当晚,大火持续了10多个小时)

不见图 请翻墙
(爆炸当晚,大火持续了10多个小时)

不见图 请翻墙
(爆炸当晚的航拍。Reuters)

不见图 请翻墙
(救援现场,灭火泡沫已深至消防队员胸部)

不见图 请翻墙
(爆炸后的现场,堪比战争场面)

不见图 请翻墙
(爆炸后的现场,地面一片狼藉,远处硝烟弥漫)

不见图 请翻墙
(爆炸后的现场,被炸毁的大楼)

不见图 请翻墙
(爆炸后的现场,工厂被夷为平地,只剩下残垣断梁)

不见图 请翻墙
(爆炸后的现场,航拍照片。STR/AFP/Getty Images)

不见图 请翻墙
(爆炸后的现场,航拍照片。STR/AFP/Getty Images)

不见图 请翻墙
(爆炸后的现场,航拍照片。STR/AFP/Getty Images)

不见图 请翻墙
(爆炸后的现场,航拍照片。STR/AFP/Getty Images)

不见图 请翻墙
(爆炸后的现场,航拍照片。STR/AFP/Getty Images)

不见图 请翻墙
(爆炸后的现场,航拍照片。STR/AFP/Getty Images)

不见图 请翻墙
(爆炸后的现场,航拍照片。STR/AFP/Getty Images)

不见图 请翻墙
(爆炸后的现场,航拍照片。STR/AFP/Getty Images)

不见图 请翻墙
(爆炸后的现场,航拍照片。STR/AFP/Getty Images)

不见图 请翻墙
(爆炸现场的大坑)

不见图 请翻墙
(爆炸现场先后对比图)

不见图 请翻墙
(武警在运送一名伤员。Reuters)

不见图 请翻墙
(爆炸次日,现场的救援人员)

不见图 请翻墙
(爆炸次日,明火被控制,厂区依然浓烟滚滚)

中国经济周刊:
2019-03-24 当地居民表示,比起房屋受损,他们更担心的是回村后的安全问题。
一位村民告诉记者,就在22日晚8时,厂区内再次起火,
“太可怕了,太可怕了,我这几天都住在县里亲戚家。反正我最近是不敢回去了。”
不见图 请翻墙
不见图 请翻墙
不见图 请翻墙

rui xu:
我朋友昨晚到现场组织救援 全是拖出来的断肢残臂 一夜就没停
连夜送到火葬场火化 按人口失踪算
国安局的车都到了 清一色A6 没牌照

米家那个山:
3月21日,天嘉宜化工公司发生爆炸。截至目前,已造成至少78人遇难。
作为距离天嘉宜距离最近的村庄,王商村至少已有5人在事故中遇难,另有4人下落不明。
火灭了、烟散了,王商村的村民们发现,到了必须重新认识自己和身边这座化工园关系的时候了。
有人说:“要么我们搬走,要么厂子搬走!”

chaosshion:
响水县的草民,当年建化工厂的时候就应抗议。
现在都变成赵高宗赵构了,听见响动就逃吧。

李湘南:
现场看这当量有上百吨,半径300米内的死亡90%

書滅蟥蛾:
三公里玻璃全碎!
五六百米左右无障碍直接冲击波,无论正对背对侧对,当场立毙无疑!

Inada:
這是跟戰爭的影片一樣,我大吃一驚!

不见图 请翻墙
(就在爆炸【当天】,正在开“安全生产”的会——太讽刺了)


★关于伤亡情况


不见图 请翻墙
(爆心距离示意图)

中国数字时代:
【数字怎么对不上?剩下伤者是何状况?】
3月24日,来自网友投稿,@环球时报 发布响水“3.21”爆炸事故最新救治情况,引用官方通报。
通报称截至24日中午12时,共救治伤员604人,危重19人,重症98人,出院59人,留院观察142人。
对此,有网友质疑,既已救治伤者总计604人,为何与公布救治情况的人数相加数目不相等?其余伤者情况又如何?
面对部分网友质疑以及对事故本身的诘问,环球时报目前已将该微博关闭评论。
不见图 请翻墙

山东民主:
【我们来做数学题】
共收治604
604-(19+98+59+142)=286人
坏球日报,能不能透露一下,还有286人去哪里了?

玩笑
【小学算术】
共收治604人。
活著的 19+98+59+142 = 318人
壞球日報,能不能透露一下,還有 604-318 = 286人去哪裡了?
尼玛,说出死亡数字就这么难吗!

LUCY:
作家王安忆说:
每每看到美国政府为了一个战死在异国的士兵遗骸斤斤计较寸步不让时,一种莫名的感动自心底涌起。
每每看到我们自己的生命如草芥和数字时,一种无以言状的悲凉直达心底!

大漠鱼:
【响水3.21爆炸事故第三次新闻发布会:救治伤员604人】
死了多少?死了多少?死了多少?死了多少?死了多少?死了多少?
不见图 请翻墙

秀才江湖:
(转)花果山发生坍塌,
孙猴子问:死了多少猴子?
土地:26个洞穴被淹。
悟空又问:到底死了多少猴子?
山神:只有 5000颗桃树被淹。
悟空急眼了:到底死了多少猴子啊?
土地:已将活的猴子安全转移了。
大圣怒了:你说清楚,到底死了多少猴子?
土地:16位天庭领导正迅速成立救灾小组

东方月初:
【响水消防救援总队参谋长:不排除有遇难者在爆炸中汽化】
24日,环球网记者采访参与响水化工企业爆炸事故救援的江苏省消防救援总队参谋长陆军表示:
目前17家单位已有11家单位情况全部摸清,接下来重点是剩下6家单位,不排除有遇难者在爆炸中瞬间气化。
目前微博该视频已气化。
不让看,不能听,不准想。
不见图 请翻墙

首席泼皮:
视频被删之前截到个图。
那么问题来了:汽化了多少人?
不见图 请翻墙

Sszyz-柯迪:
专业人士评测响水爆炸大约400顿TNT当量。
不是人体被汽化,而是被瞬间碳化后灰飞烟灭。根本连遗骸都没有
不见图 请翻墙

董啸:
昨天盐城天嘉宜爆炸事故,造成了47人死亡,32人危重,90人重伤,医院救治人数达到640人。
不夸张地说,伤亡人数相当于一场局部战争。

梁一鸣:
据渠道消息,响水本次爆炸事件媒体没有报道:
爆炸发生十分钟前,江苏省16个专家进入这个化工厂,督促整改。
领了16顶安全帽,至今无人归还……
不见图 请翻墙

首席泼皮:
那么到底有没有消防员牺牲?
不见图 请翻墙

深夜里的萤火虫:
响水化工厂大爆炸现场,“只”死了78个人!?
不见图 请翻墙

LUCY:
据上海《东方新闻》,《新民周刊》记者获得响水爆炸居民家中监控:
窗户瞬间被震飞。700米外民房墙体坍塌,房顶不知所终。
從昨天開始,好像不報道死亡人數了。

touchstone 试金石:
从大爆炸至震波传到视频摄影处窗口约10秒钟!距离与速度是多少?
对于爆炸而言,冲击波是超音速传播的。音速是每秒340米!所以10秒至少冲击了3400米!
大白上班上学的时候,死亡人数绝对不是几十人,而是几百几千!工厂的员工肯定全部消失!

玩笑:
响水爆炸现场留下的深坑和天津8.12大爆炸如此相似,诱发了三级地震,谁能算出相当于多少吨TNT?
更可怕的是爆炸中心两公里范围内有三座幼儿园一座小学!
现在网上有各种版本的数据,但真实的伤亡数据只有现场彻底清理后才能得出。
现在公安已介入网络舆情,最后他们说多少就是多少吧。
不见图 请翻墙

chaos.chen1974:
应该不止62人,现在报道的只是找到的尸体数目。
他们可以拖延清点进度,拖过了事件的关注敏感期,官方就会消声令,此事件被迅速遗忘!

Zsg19770315:
我只是看,替死难者惋惜,请家属节哀,但是不能点赞!
在匪盗分子猖獗的环境里,不被迫害就是万幸。
此次事故之后,不知又有多少家庭分崩离隙,不知又有多少因善后不公而沦为受害者,不知道又有多少匪盗分子大发此次事故的死难财!


★2011年的谣言——变成【遥遥领先的预言】


《一则“谣言”引发“万人出逃”的背后——江苏响水“化工厂爆炸传言”事件追踪 @ 凤凰网》
(编程随想注:上述报道原发于新华网,然后被凤凰网转载。发表时间:2011年2月12日)

华涌:
(2011年)2月11日,当地人闻到化工厂泄漏的气味,自发逃离疏散,中央电视台出来辟谣。
如今真的爆炸了,中央电视台你的辟谣是否能自圆其说?
你的辟谣是不是假消息、假新闻?这是害人、杀人呀!
作为国家政府电视台你已经变成造谣的中心,妖言惑众的罪魁祸首!
不见图 请翻墙

王實的世界:
【以下转载央视新闻】
2011年2月10日凌晨,因为“谣传”江苏响水县生态化工园区发生爆炸事件,导致上万名群众惊慌出逃,引发多起车祸,已有4人死亡、多人受伤。
“经调查,这是一起由谣传引起的群众恐慌事件。”2月12日,响水县政府新闻发言人周厚良如此定性。

玩笑:
【谣言成真】
2011年2月11日,央视辟谣说:有网友造谣说江苏响水陈家港等镇区有人逃离家园因为化工厂要爆炸!
2019年3月21日,就是今天下午那边真的发生爆炸了!
这说明八年前周边居民就认为工厂有安全隐患,可以想像这八年他们过的是怎样一种提心吊胆的生活。那么政府除了辟谣,这八年做了什么?

冷山:
满屏都是爆炸声。如果你的朋友圈听不见今天這声爆炸,说明你活在另一个认知世界!
2019年2月11日,央视辟谣说有网友造谣说江苏响水陈家港等镇区有人逃离家园因为化工厂要爆炸!
今天,2019年3月21日,那边真的发生爆炸了,谣言变成了预言!

王實的世界:
央视的"化工厂爆炸谣言"与三月二十一日江苏盐城化工厂爆炸事件形成一个有趣的黑色幽默。
央视用扼杀谣言的权威解读,为三月二十一日盐城爆炸而死伤的当地居民绽开了一个嘲讽的笑容。
早在2011年当地居民就有预感的化工厂爆炸被央视不容分说的解读为"谣言"。
由此可见,这爆炸事件并非意外!


★关于【事故原因】的讨论


《盐城爆炸事故背后——倪家巷集团的红与黑 @ 南方周末》

不见图 请翻墙
(盐城爆炸的化工企业,历年违规及安全隐患,一览表)

卢思位律师:
如果有言论自由,这些工厂的隐患会及时暴露;
如果有選票,这些渎职的官员会立即下课;
如果有司法独立,这些工厂在不具备安全标准情况下根本无法开工。
这种事故的发生是必然的。
完整视频: https://youtu.be/9_L6LbjbooU
不见图 请翻墙

王實的世界:
【今日快訊】江蘇鹽城化工廠爆炸跟蹤消息
据网络流传消息:江苏盐城响水化工厂自2008年以来、十二年间多次发生爆炸、火灾⋯⋯
当地政府阻挠釆访,打压、拘留当地居民接受釆访,致2019年三月二十一日爆炸成为事实!
必然事件还是偶然事件?旁观者心知肚明,唯政府与央视装成一脸无辜样⋯

youngly:
这种企业要获得环评通过,一定要有一步,公告环境评审意见。
但公告都在早上天刚亮就去张贴,贴了就拍个照片留底,随后企业人员就会把公告撕去。
你老百姓再去表达意见的话,环保局就会答复说:“你为什么不在公告期内表达反对意见?”

陈小平:
一位在盐城爆炸区域数一数二大企业工作过的知知情人士说:
企业老板先在酒桌上搞定地方领导,让政府对化工企业的定期安全和环境检查变成定期"泄密"。
然后官员再动员公安/金钱/美女和黑社会搞定嘴巴不听话的。
所以这个挨过多次行政处罚\董事长被判刑的企业最后整出了天大爆炸案.

gfwsucks:
国企化工厂爆炸也有发生。
体制不变,大家周围都是核弹。

Will:
官方一直避重就轻!
这家工厂最主要的产品是二硝基苯,TNT炸药的前产物
不见图 请翻墙
不见图 请翻墙


★对比“天津大爆炸”


编程随想注:
当年的天津大爆炸,俺写过一篇博文(如下)。又过3年半时间,很多事情还是老样子。
《看看天朝官僚系统多么低效和无能——天津大爆炸随想》

不见图 请翻墙
(“盐城大爆炸”与“天津大爆炸”的对比图)

玩笑:
两个坑——江苏144m 天津96m
不改变,就陪葬。别心存侥幸,总有一款适合你的。
不见图 请翻墙

黄宇馨:
曾以为天津港那么轰动的是最后一次。
原来没啥变化。


历史给我们的教训是,人们从来都不知道汲取历史的教训。
What experience and history teach is this——that nations and governments have never learned anything from history, or acted upon any lessons they might have drawn from it.
——黑格尔


★又见真理部的【河蟹】


编程随想注:
关于真理部的套路,俺在8年多前,就已经总结了(参见如下博文)
《党国应对灾难的标准操作流程——以上海大火为例》

《江苏化工厂爆炸伤亡严重 当局严控舆论手段遭揭露 @ 美国之音》

《董啸:大新闻来了,记者却已经不见了 @ 中国数字时代》

陈宗鹤先生:
江苏响水爆炸事故发生到今天中午,已经死了47人,重伤90人,这还是中午的数字,极有可能随时增加。但是,你们看看微博上的转发量与讨论量,连一起交通事故都不如。没一个人敢质问,没一个记者敢报道,只能等官方统一口径,谁写任何没通过官方批准的报道与文字随时会有坐牢的风险。(包括大部分持证的记者)
你们终于将曾经天津滨海爆炸时微博上满腔热忱的中国人,变成如今人人自危、不得不假装“麻木”的中国人。
某报的主编还假惺惺的写自己很痛心,太讽刺了!今天对人命关天、重大责任事故关注度的一潭死水,还不都是你们造成的?
除了你有权发牢骚,谁还敢写关于江苏响水爆炸事故的半个字?连我这条微博十有八九都马上会被消失。
前几天吃饭时,隔壁桌两名女子在讨论韩国胜利的事情,她说韩国政府太乱太差了,每届总统都有问题,这种国家真烂。西方国家也是,都是垃圾。想想真的挺好笑,韩国出这点小事,都讨论到中国来,而且参与度那么火爆,是江苏响水爆炸事故的几百几千倍。来!给你试想下,韩国别说死47人,如果因为爆炸死4个人,你看看现在首尔会变成什么样子?
今天47个亡魂,已没人“敢”再去关心。那么万一将来400个、4000个……
是否仍然一片“安泰祥和”?

jason:
对言论的管制一流
对企业的管制末流

冷眼看世界:
我操,好歹是一个政府啊,怎么比三岁小毛孩子还幼稚,居然也玩“猫盖屎”的把戏!

敢言集美888:
风声雨声爆炸声,不许出声;
家事国事成都事,一删了事。
求个横批
不见图 请翻墙

山东民主:
【大陆之众网络七天乐】
第一天:事件发生,感到愤怒,满网转发
第二天:弱者跪下
第三天:代表见面,各个击破,平熄民愤
第四天:各取所需,副职顶杠,赔钱赔物
第五天:抓始作俑,抓“造谣”者,
第六天:丧事喜办,层层表彰,民众感恩,山呼万l岁
第七天:时间流逝,人人淡忘,街市太平,仍岁月静好
不见图 请翻墙

Volvic:
如果天津大爆炸,向公众公布事实,就不会有今天的盐城。
国外发生恐怖袭击,公众第一反映就是打开电视看直播。所以国人感觉国外乱,其实没有那么夸张。真的实事求是。
国内出事封锁消息,基本靠猜。所以永远是国泰民安。其实是山雨欲来的危机四伏

遠坂風林:
确实是一个毫无智力的政府,掩盖起真相来比什么都有劲,有这劲头一开始就老老实实做好事来把监管负责到位不比这样自欺欺人好得多吗?
出了事了还不公开真相,还要藏着掖着,生怕见一丁点光。
这种处理方式哪怕是被人毫无根据故意“抹黑”到死也是活该!我也更愿意信所谓“抹黑”的。

由乃:
所以他進入塔西坨陷阱搞得自己失掉公信力也是該

答案:
治国无能,维稳高效。

李詩銘:
3月21日,江苏响水从未发生过化工厂爆炸事故,也没有截至23日7时死亡64人,这一切都是以美帝国主义为首的西方社会的有计划、有组织、有预谋的抹黑和造谣,是西方社会对中国第一强的嫉妒!
自公元前5万年以来,中国从未出现过空气污染、水污染。如果偶尔出现,也是西方社会的阴谋!
欢迎网警发五毛钱!


★报道国外灾难 or 报道国内灾难?


Sszyz-柯迪:
这就是臭不要脸的痒死!
江苏如此特大人为事故轻描淡写,就像风过耳一样。
无耻之极!
不见图 请翻墙

Red Fire Age:
日人民报
《人民日报》是中国办的报纸吗?它又不像是,江苏省响水这么大的安全生产事故没上头版,印尼的灾难却上了头版!难道响水遇难的不是中国人?
说它不是中国办的报纸吧,它又像是,试看哪天不是中国的领导人占据头版头条?!


★又见领导们的【作秀】


LIFETIME 视界:
凡遇重大事故发生,中共各级官员必然第一时间通过媒体报道做过“批示”。
这个潜规则的目的有二:
1)在公众面前演戏,算是过问此事了。“批示”做完,该干嘛干嘛。
2)撇清责任,“批示”内容必然批评“那些”因工作不力造成事故的人,把责任全部推给其他人。
响水爆炸后,习近平与江苏书记的“批示”是“范文”。
不见图 请翻墙
不见图 请翻墙

敢言集美888:
一出事就是“一查到底”,啥时候可以换个方向,“一查到顶”!
别总是底下的被锅,顶上的才是祸根……
不见图 请翻墙

LUCY:
#响水爆炸#【江苏省委常委会:彻查事故原因,从灵魂深处进行反思】
3月23日,江苏省委常委会召开会议。
要深刻汲取血的教训,从灵魂深处进行反思,积极配合国务院事故调查组,彻底查清事故原因,给人民群众一个负责任的交代。
依響水經驗,只給人民一個“膠帶”。😷
你們對生命只有漠視!還有靈魂嗎?
不见图 请翻墙
不见图 请翻墙

Harry Young:
批示估计都是秘书做的。
领导忙着操逼,哪里顾得上?

Forest New:
领导不需要什么才能,按剧本表达就行了;
甚至都不用剧本,给一头猪配个秘书就搞定了!

Davidliu:
一紙批示吃一輩子混到退休,時間丶地點丶姓名丶人數換換就行,據説還有外掛程式

Animal Farm:
先删帖,后抓人;
实在瞒不住了就批示


★又见维稳系统


张新年律师:
#江苏盐城化工厂爆炸#几年前就有苗头了?但是那时的解决方案是抓人!
不见图 请翻墙
不见图 请翻墙
不见图 请翻墙
不见图 请翻墙

月光博客:
【响水爆炸事故造谣者被采取强制措施】
江苏响水“3.21”爆炸事故发生后,史某康(男,21岁,山西人)在网络发帖称“18名消防员因吸入大量致癌气体而牺牲”。
经查,史某康编造虚假信息在网络上散布,混淆视听,扰乱公共秩序。
根据相关规定,史某康涉嫌犯罪,已被公安机关依法采取刑事强制措施。

实话实说:
炸死千而八百的草民,没什么大不了的事,不过是网络上热闹几天而已。
实在不行再弄死几个消防队的小兵,给党撑一下门面,用草民的孩子感动一下草民。
保证中央领导的绝对安全,才是关系到国家的大事。
至于地方官员要抓住这种表现机会,争取立功受奖,与以后的升迁挂钩!


★十多年前的“响水经验”——防火防盗【防记者】


  编程随想注:
“响水”当地的衙门,十多年前就已臭名昭著了。维基百科上甚至已经有了一个【响水经验】的页面(链接在“这里”),其中提到:
2007年11月27日,江苏省盐城市响水县陈家港化工集中区联化科技有限公司爆炸事故,造成8人死亡。爆炸后,众多媒体记者赶赴响水采访,据亲历者《中国青年报》记者李润文回忆:“事故发生后,盐城市立即启动了一套禁止记者采访的应急预案,不惜采用武力威胁、软禁记者,重金收买、色相利诱等方式收买记者,阻挠采访[5]。”

  当地衙门甚至以耻为荣,还发了一篇歌功颂德的文章《沉着应对突发事件 全力做好舆论引导》。
  全文有点长,俺摘录部分段落如下:
沉着应对突发事件 全力做好舆论引导——响水“11·27”事故新闻协调工作的主要做法

中共响水县委宣传部
(2007年12月24日)

11月27日,我县陈家港化工集中区江苏联化科技有限公司发生一起重大爆炸事故。事故发生后,我们迅速启动突发事件新闻宣传工作应急预案,在市县主要领导亲自关心过问下,在市县事故处理指挥部的正确领导下,在市委宣传部和市新闻宣传研究协调小组的直接指导下,全面展开新闻接待和协调工作。在事发后的十多天时间内,先后接待了新华社、中国青年报、中国新闻社、新华日报、江苏法制报、扬子晚报、中央电视台数字频道《安全在线》、江苏电视台等21家各类新闻媒体的69名新闻记者。
由于反应敏捷、措施得当、协调到位,特别是在市内主要媒体的大力支持下,整个协调工作平稳有序,正面舆论引导有力,主流声音突出,有效抑制了谣言传播的空间,阻止和避免了不实报道和媒体炒作,维护了社会稳定和人心安定,为妥善处理事故创造了宽松的外部环境。现将我们的主要做法汇报如下:
......
新闻记者在第一时间接待到位。对所有来响采访的记者,一经发现,并确认其身份后,我们一律将其邀请到五洲宾馆安排食宿。每日统计来响媒体记者情况,及时向指挥部报告,并提请指挥部控制事故现场,任何记者未经同意不允许进入采访拍照。同时,要求公安部门每日检查县城和陈家港大小宾馆、旅舍,发现记者入住立即报告。
......
新华社记者邓华林因临时有事要回南京,我们立即派专人专车全程陪同。在到达目的地后,仍然与记者进一步沟通,劝阻了他再次来响采访的念头。中央电视台《安全在线》栏目在事发后第三天,派出3名编导摄制人员到响水自行住进响水大酒店,准备进行采访,计划制作警示教育片在中央电视台数字频道播放。我们在接到报告后,第一时间赶到并说服他们住到统一接待点,同时安排5名同志和一部专车跟踪服务。在七天的时间里,我们坚持以情感人,以理服人,24小时陪同,先后四次成功劝阻了他们的私自采访活动,最终使他们放弃采访计划。他们回京时,我们还派车专程将他们送到连云港,一直等到其登上火车后才返程。
......
新闻通稿在第一时间提供给媒体。在突发事件传播中,最可怕的不是记者抢发新闻,而是记者抢发的不是政府发布的新闻。谁第一时间发布新闻,谁就掌握了舆论的主动权,事件处理的主导权。
......
坚持劝阻与疏导相结合。在事故第一现场,我们派驻的人员和化工集中区抽调的同志一起,昼夜巡逻,严防死守,坚决劝阻记者私自采访。期间,有3批记者试图翻越联化围墙,深入现场采访,被巡逻组及时发现,当即劝离现场。事故发生当晚6点半,有两批记者刚抵达化工集中区就被发现,也被我们客气地请回五洲宾馆。

自由亚洲电台:
【江苏阻记者采访无所不用其极】
江苏响水县化工厂大爆炸事故发生后,当地政府部署了反无人机干扰器,专门用来对付记者的航拍报道,有记者录下了航拍机被击落一刻。
除此之外,当地政府一律禁止外媒进入灾区范围与及所有医院,记者会亦只安排给指定内地媒体。

山鲁佐德:
每个县都有这设备?wow,就差反雷达了😂😂😂
斯大林没赶上好时候啊!

陆亚明:
“防火防盗防记者”已经成为几乎所有事发地公安维稳的标准动作了,甚至不惜贿赂、盯梢、驱逐、构陷。

周益清:
【怀念离去的调查记者】
2019年3月21日下午,江苏盐城响水陈家港化工园区发生爆炸事故,伤亡惨重,牵动着人们的心。
然而,关于此次爆炸事故,民众看不到伤者状况,听不到现场描述,也没有现场图片;
只有新闻发布会上四个当地官员低头的照片,以及官方通报的一串串冰冷的数字


★关于“善后”和“问责”


东方月初:
【不签订政府给的赔偿协议,不能领回亲人遗体】
昨日是响水化工厂爆炸后第6天。李海兰仍未见到自己丈夫的遗体,只因她还没有签订政府给出的赔偿协议。未能被领回的遗体。
除了陕西的张亚军,还有响水本地的方祥水。
25日政府工作人员给方志打电话,告知需要先签理赔协议,才能见父亲遗体。
不见图 请翻墙
不见图 请翻墙

S TWBS:
我的估计是第一次灾害遇难是千到万的单位。二次灾害的可能要在10万左右。
如果只是TNT不会遗漏剧毒,但这次的苯剧毒会遗漏在身体和整个地区。
再加上讯息不公开,第三次灾害的损失更大。

隨便小哥:
爆炸史不斷在重演⁉
還記得2015年的天津化工大爆炸嗎⁉ 不到4年又再發生同類災難性事故,完全暴露出政府治理的弊病‼
我們來比較一下江蘇大爆炸和四年前的天津大爆炸何其相似❗
難道不該有層級更高的政治人物出來負責嗎。。。❓⁉♨♨
不见图 请翻墙

聿隼:
网友建议——所有易燃、易爆、有毒的化工、军工公司企业必须建立在政府办公大楼旁。
尽最大限度减少安全事故。

瓦努阿图小公举:
【我们有什么资格嘲笑朝鲜?】
前些年平壤市平川区一处建设工地发生严重事故造成人员伤亡。
图为一名干部向遇难者遗属和居民表示慰问并道歉。
实际指挥建设的人民军7总局长被免职,同时被送到强制收容所;
4名设计、施工的负责人在事故发生后立即被枪毙。
不见图 请翻墙


★事故当地,何必【急于】复课


malau:
江苏化工厂大爆炸后,官方通报称空气已达标;
但记者到现场却被呛得受不了 ~
网友:这个地方的空气,政治觉悟太低了!

不见图 请翻墙

墙内新闻大吐槽:
除了成都七中复课,最新消息……
江苏盐城爆炸现场附近小学经专家检查各项指标合格,将在下周一开课~
中国孩子是金刚葫芦娃……百毒不侵啊!
不管是吃着毒食品还是呼吸着致癌气体,都能下周一复课!


★国内募捐,国外撒币


东方月初:
前日,江苏省常委召开会议,称深入学习贯彻习近平、李克强对江苏响水“3•21”特大爆炸事故批示精神,给人民一个交代。
但官方在事发后用尽方法阻止媒体报道真相,祭出恶性事件宣传套路,确实给了人民一个“胶带”。
另外,响水县慈善会呼吁民众为爆炸捐款。
意大利撒币70亿欧元,人日整版习近平,我捐你XX!
不见图 请翻墙  不见图 请翻墙

Sszyz-柯迪:
开始发民难财了😡😓
不见图 请翻墙

LUCY:
來,捐款了……
網友們說:
天災捐,人禍不捐
人禍第一式:先吸血
人禍第二式:再吸金!
政府的救濟呢?


★关于“习呆呆周游列国”


编程随想注:
江苏大爆炸时,习二逼【继续】周游列国,只是象征性地发了些“指示”。引发大量吐槽。

李方:
盐城大爆炸第4天了,21-24日,4天里人民日报头版没有死难人民,只有习近平。
唯一一条有关的,是习近平的伟大指示,还被放在23日头版右下角,踩在习近平彭丽媛夫妇脚底下。
不见图 请翻墙
不见图 请翻墙
不见图 请翻墙

李方:
新西兰枪案,国会现在还是降半旗。响水死伤七八百,中南海有何表示?
不见图 请翻墙

敢言集美888:
全球的媒体总是习惯于把灾难放在头条,那是因为在他们眼里生命是第一位的。
但墙国媒体总是习惯于把领导放在头条,那是因为在他们眼里权力是第一位的。

华涌:
以色列死7个人总理慌忙回国。
还是人口最多的天朝牛逼,死上百八十个,
一句:“舆情引导”后,该玩玩、该吃吃、该喝喝,啥事儿不往心里搁!

Otto Huang:
江蘇 大爆炸,習近平 還在暢遊義大利,樂不思蜀。
任何民主國家的總統,一定在第一時間,趕回國。

夜莺:
盐城大爆炸,死伤数百同胞。
按国际惯例,习近平要中断外访,回国处理此事,要调防化兵进入爆炸区处理,这事只有习能办到。
全国要下半旗致哀,要救助民众和处理涉事官员。
可他照样和臭老婆公款周游列国,大撒币,禽兽不如!
受害民众要上街抗议,全国民众要上街声援盐城受害民众,要习近平下台受审!

秀才江湖:
什么是大新闻?什么是小屁事?官方和我们的判断是相反的!
我们觉得是天大的事,官方新闻却几乎无声无息,例如响水爆炸;
我们眼中屁大的事,他们却报道得铺天盖地,例如有个人买几个包子吃而已。

牛牛:
不见图 请翻墙

Jenny:
国务院官员全部都去意大利了吗?

lerock:
这么重大的事情,依然阻挡不了撒币撒钱的情怀,周游列国

一个好人:
死几十个屁民,有啥大惊小怪的?
圣上撒了几十亿欧元,不享受一下怎么行?

專業家庭主婦:
已經簽好了一袋一露了

李方:
习近平念错字,你们都怪他的秘书。你看看习在巴黎的撒币讲话稿,秘书的心都操碎了。😅
不见图 请翻墙
不见图 请翻墙
不见图 请翻墙
不见图 请翻墙

编程随想注:
上述这几张讲稿,已经被证明是【假的】(恶搞)。
不过捏,在多年前的一篇博文(如下),俺分享了一张 CCTV 视频的截图,画面中能看到习呆呆当年演讲时正在使用的【提词器】,上面注了【拼音】 :)
《每周转载:习呆呆上台五周年,糗事一箩筐》

cbcptm:
微博,连“小学博士”都是禁词了!
😂😂真是悲哀!
不见图 请翻墙

活着:
不见图 请翻墙


★关于“响水官二代”


玩笑:
一个盐城纪委副书记就这样,再大点的官,荒唐国的猪民们还敢想么?!
所以现在一个贪官倒台,如果不捕出几吨现金、烧坏几台点钞机,都对不起“贪官”两个字。
不见图 请翻墙
不见图 请翻墙

海风快报:
【突发新闻】
加拿大警方3月26日表示,已经找到23日被绑架失踪的中国留学生陆万真。
22岁的中国留学生陆万真和女友在多伦多北部被绑架后,出现在200公里外的一个小镇。
陆在约克维尔大学就读本科,英文名叫Peter,有许多豪车,包括一辆兰博基尼、一辆劳斯莱斯和一辆路虎。绑架未索钱财,它标志着什么?
不见图 请翻墙

李洪宽@大参考:
盐城 微信群都在转
不见图 请翻墙

LUCY:
網轉:震驚!
微信上看见一则消息,
应该调查一下,到底是不是謠言,还陆书记清白!


★网友的其它评论


George_gbye:
【不想跟中國統一的理由】
1.去日本要申請簽證,很不方便
2.只剩央視1~n台可以看
3.不能上Facebook
4.只能翻牆
5.警察隨時上門
6.只要被視為低端人口就會”被清除”
7.毒奶粉、地溝油吃到飽,我不愛
8.走到哪被監控到哪
9.一堆山寨貨
10.小孩都要吃餿水
11.可能會有爆炸事件,國家媒體還說是造謠
12.不能罵政治人物了,因為只能一個習近平
13.從此以後不能看維尼
14.只剩中國電影可以看,外國電影每年有固定配額,要好幾年後才能看
15.吸不完的霧霾
16.銀行跟郵局的錢,國家說沒收就沒收,你連屁都沒得放
17.要吃有感染豬瘟的病死豬
18.LINE也不能用,只能用被監控的微信
19.不能投票!
20.政府強制發佈命令,你不聽就抓起來
21.沒有宗教自由
22.沒有遷徙自由
23.在家說話都有可能被抓走
24.中美貿易戰後,買外國的東西都會貴到爆炸
25.只能用中國手機,用其他外國的手機可能會被沒收
26.不能想買什麼就買什麼,因為買了國家也可能不讓你用
27.不能自由的移民

阿麒:
一个连文字都能敏感屏蔽的国家,不要相信它的任何报道;
一个连言论都能将你治罪的国家,不要相信它的任何表白;
一个连良知都能把你威胁的国家,不要相信它的任何口号;
一个连巨贪都能获得轻判的国家,不要相信它的任何承诺;
一个连枪口都能对准学生的国家,不要相信它的任何举措。

拉宾诺维奇先生:
不见图 请翻墙

Plano顽强大哥:
【苏联段子】
有一个人经过广场,大声且愤怒的高喊:“这个政府烂透了!”
立即被警察带走了。
那人辩解道:“我又没说是哪个政府烂?”
警察说:“我在这儿工作了这么多年,你以为我不知道哪个政府烂啊!”

任重道远:
美国不是天堂,但美国最接近天堂!
朝鲜不是地狱,但朝鲜最接近地狱!
中国不是朝鲜,但中国最接近朝鲜!


俺博客上,和本文相关的帖子(需翻墙):
《谈谈环保问题的根源和解决之道》
《党国应对灾难的标准操作流程——以上海大火为例》
《分析“制度性腐败”——为啥天朝的贪官屡禁不止?》
《看看天朝官僚系统多么低效和无能——天津大爆炸随想》
《“片面强调 PX 低毒”属于【偷换概念】——广东茂名 PX 抗议活动随想》
《每周转载:汇总中石化输油管爆炸事故(图片若干、评论若干)》
《每周转载:连云港民众抗议核废料处理厂(相关报道及网友评论)》
《每周转载:上海金山区反 PX 环保抗议活动(大量图片)》
《每周转载:习呆呆上台五周年,糗事一箩筐》 +
+ +
+ + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/04/996-Working-Hour-System.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/04/996-Working-Hour-System.html" new file mode 100644 index 0000000000000000000000000000000000000000..0534428d5c3e09a579490e420858cd393b4bd8f1 --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/04/996-Working-Hour-System.html" @@ -0,0 +1,26 @@ + + + + + + + +“996工作制”只不过是【劫贫济富】的缩影——“马云奇葩言论”随想 - 编程随想的博客 + + +
+

“996工作制”只不过是【劫贫济富】的缩影——“马云奇葩言论”随想

+ +
+
+

★引子


  这次的“996.ICU 事件”闹得很大,连朝廷喉舌都出来发话了。尤其是马淫发表了一些奇葩的言论(把变态的“996工作制”说成是员工的福气),更加引发众怒。俺正好借此机会,写篇博文抹黑党国。


★写在前面的话


  考虑到本文的某些读者是【新读者】,可能会误解俺的立场。所以在本文开头补充了这一段:
  俺本人支持【资本主义】,并反对【各种形式】的社会主义(尤其是“马列主义”)。
  对马列主义和共产运动的批判,俺已经写过若干博文(如下)
《为什么马克思是错的?——全面批判马列主义的知名著作导读》
《人类自由的三大死敌——谈谈“共产运动、纳粹主义、政教合一”的共性》
《各种【一元化思维】的谬误——从“星座理论”到“共产主义社会”》
《影评:《苏维埃往事》——帮你看清苏联和纳粹的共同本质》
《苏联是如何被慢慢勒死的?——聊聊冷战中美国的遏制战略》
《最“纯正”的共产主义政权——红色高棉简史》
《面对共产党——民国人文大师的众生相》


★“共同奋斗”的口号,大部分情况是【忽悠和洗脑】


  相当比例的资本家都喜欢用“共同奋斗”(或诸如此类)的口号来激励员工。这个口号相当于古典小说中常见的“有难同当,有福同享”。
  问题在于:当企业将来做大做强之后,到了“共富贵”的时候,到了需要“分蛋糕”的时候,老板是否愿意跟底下的员工一起分蛋糕,这里面就存在很大的变数。说得夸张一点,这全在老板的【一念之间】。
  大部分资本家(黑心资本家)从一开始就【没打算】跟员工“共富贵”,只有极少数良心资本家愿意跟下面的员工一起分蛋糕。但不管是“黑心资本家”还是“良心资本家”,一开始都会喊出“共同奋斗”(或诸如此类)的口号。
  有鉴于此,“共同奋斗”(或诸如此类)的口号,具有很大欺骗性——毕竟,良心资本家本来就是少数(具体到咱们天朝,更加是少数)。

  所以,【老板的人品】比“口号”更重要;而绝大部分人恰恰在【理解人性】方面非常【幼稚】,总是把“黑心企业家”当成好人。
  另一个难点在于——就算你能非常准确地判断自己的老板是良心资本家,依然存在【其它变数】——
比如说,当企业做大之后,由于资本运作(或诸如此类的原因),原先的创始老板,其话语权会下降,企业的实际控制人可能改变。新老板未必会兑现旧老板的承诺。

  综上所述,
  所有这些“共同奋斗”之类的口号,你听听就算了,不要太当真。【千万不要】把自己未来的希望寄托在这种非常飘渺的东西之上。
  俺在博文和博客评论区经常唠叨的观点是:
最可靠的东西是你自己的能力(尤其是你的核心竞争力)。


★为啥“996制度”变得更加普遍?


  (为了打字省力,本文后续部分以“996”一词指代各种“【常态化】的加班制度”)
  20多年前,当俺以程序猿的身份刚开始工作时,像996这么变态的工作制,还很少听说;而如今,不要说996,连997都有公司在推行了。
  很显然,这类变态的加班制度,正变得越来越普遍。

◇劳动力成本上升


  为啥 996 越来越普遍?这里面当然有很多原因。本着“长期抹黑党国”的写作习惯,俺今天只谈其中一个原因,那就是——企业的【劳动力成本】在显著上升,而劳动力成本中,【社保成本】又是其中的主要影响因素。最近这些年,天朝的社保费率一直是【超高】滴!
  为了强调这点,特地引用官方喉舌“中国新闻网”的报道——《发改委:中国社保费率超美日 应降五险一金减负 @ 中新网》(以下是部分内容摘录,粗体是俺标注滴)
国家发改委网站公布了来自该委社会发展研究所的研究报告,称当前我国企业职工五项社保总费率为企业职工工资总额的 39.25%
......
目前各地 10% 到 24% 的住房公积金缴费,我国“五险一金”的名义费率已经达到 60% 左右。
  从上述报道可以看出——连朝廷自己的喉舌,都不得不承认——【社保成本超高】。

◇“996工作制”是资方的应对措施之一


  资本家通常不会太傻(太傻的资本家会很快被淘汰),所以他们想出了若干招数来应对劳动力成本上升。
  对于【体力密集型】的行业(比如某些制造业),可以用“工业自动化”来应对“劳动力成本上升”。但对于【脑力密集型】的行业(比如软件业),【暂时没有】成熟的工业自动化来实现“对人的替代”。所以,资方必须采用其它招数。
  其中一个招数就是——【大幅延长】劳动时间。在员工人数【不变】的情况下,增加每个员工的工时,社保成本【没有】变,但劳动产出增加了。
  就算对加班的时间支付“加班费”,增加的劳动产出,还是会显著大于加班费(【净收益】大于零)。有些更加黑心的企业,连加班费也不给,那么【净收益】就更加显著了。

◇为啥社保成本持续上升?


  那么,为啥朝廷要让企业缴纳如此高比例的社保捏?原因同样有很多,本着抹黑朝廷的目的,俺只谈其中两个原因:
  其一,公务员队伍
  天朝有非常庞大的公务员队伍。关于这点,是有目共睹滴。前几年网上流传一篇文章,列举【县一级】的政府机构,竟然有【100多个】。单从这点就可以看出——公务员队伍有多么庞大了。
  另外分享一篇文章:《公务员一辈子不缴社保,退休金却拿最高 @ 凤凰网》。
  一方面是公务员队伍庞大,另一方面是公务员不缴纳社保。朝廷当然要从私营企业(包括外企)的身上进行搜刮啦。
  其二,人口结构
  说到人口红利耗尽,最近几年已经非常明显了(不但新生人口暴跌,劳动力人口也暴跌)。当然啦,这要归功于朝廷那个傻逼的计生政策。这个政策不但傻逼,而且还坚持不懈地搞了40年。


★“996工作制”如何影响你自己的职业生涯?


  “996工作制”对个人的影响,包括如下几个方面:

◇压缩了员工的业余时间——因此也就减少了你的自学【时间】


  大多数人都知道——加班意味着业余时间减少。业余时间减少也就意味着:你更加没有时间去自学,去提升自己的能力。
  如果你的能力得不到提升,你在人力市场上的【议价能力/谈判筹码】也就得不到提升。然后你就不得不继续接受这种变态的工作时间。
  俺把这称之为【996怪圈】——它是一个恶性循环(恶性正反馈),你陷入其中,并越来越无法自拔。

◇消耗了员工在业余时间的【自控力】——因此也就减少了你的自学【动力】


  关于“自控力”这个词汇,容易产生歧义。为了避免理解上的出入,建议你先看上个月(2019年3月)的博文:
《为什么独立思考这么难?——谈谈心理学的成因,并分享俺的经验》。
  首先,大部分人的工作都【不是】自己的兴趣所在。
  其次,超长的工作时间,使得你必须长时间面对自己不感兴趣的工作内容,所以你必须动用“自控力”以完成自己的工作。
  最后,当你忙碌了一天,终于回家的时候,很可能你的自控力已消耗殆尽。
  结论就是:如果你的工作不是你的兴趣所在,长时间加班之后,回到家里,你很难再有动力去学习其它新技能。
  超长加班导致的【自控力损耗】,同样会让你处于(俺前面提到的)【996怪圈】。

◇对【健康】的负面影响


  (这方面的弊端,人所共知,俺就不展开啦)

◇对【家庭生活】的负面影响


  (这方面的弊端,人所共知,俺就不展开啦)

◇如何跳出996的怪圈?


  看完前面几个小节,肯定会有读者问这个问题。
  关于这个问题的讨论会比较长,不适合放在这里展开。如果有很多人对此话题感兴趣,可以到博客评论区反馈,到时候俺再另写一篇博文。

  后续更新:
  本文发布之后又过了一年半(2020年底),俺写了一篇《学习与人生——700篇博文之感悟》,其中有一个小节专门谈“如何跳出996怪圈”。


★“996工作制”【不】仅仅出现在软件行业


  (再次强调:本文所说的“996”泛指各种“【常态化】的加班制度”)
  这次的“996.ICU 事件”,创建于 Github 的项目,2周左右获得【20万】的 star(请注意:只有 Github 帐号才能点赞)
  考虑到“Github 帐号”的用户,大部分是程序员,这至少说明——在软件开发行业,996 已经非常普遍了。
  但如果你以为:996工作制只在软件行业才有,那你就犯了【幸存者偏见】的思维谬误(关于这种思维谬误,参见博文《思维的误区:幸存者偏见——顺便推荐巴菲特最著名的演讲》)
  这次的事件能闹大,全仰仗 Github 这个开源平台。由于这个平台在全球是独一无二滴(墙内的没有同等的替代品),天朝程序员自然也大量使用它。因此,Github 上有很多天朝的程序员用户。而且 Github 位于【墙外】,不受真理部的管辖(朝廷拿它没办法)。
  相比之下,其它行业虽然也存在类似996的现象,但是其它行业缺少像 Github 这样的平台,所以很多【不满的意见】,无法集中表达,无法成为热点事件,也就无法被各国媒体报道。


★“996工作制”如何影响天朝的人力资源市场?


◇除了“供给和需求”,【博弈】也会影响商品的价格


  早期的经济学理论认为:“价格”完全是由“供给和需求”决定滴。到了20世纪,超级跨界大牛冯·诺依曼完成了一篇划时代的论文《博弈论与经济行为》,指出了【博弈论】对经济学的重要性。关于这事儿,俺在博文《为什么马克思是错的?——全面批判马列主义的知名著作导读》一文中也有提及。
  也就是说,不光是商品的“供应量和消费量”会影响商品的价格,供应方和需求方的【博弈】,也会影响商品的价格。
  下面俺来介绍一下:“996工作制”作为【资方】的博弈工具,是如何影响人力资源价格滴。

◇“996工作制”成为【资方】的博弈工具


  下面以 IT 行业为例来说明。
  由于超长加班已经成为行业常态,每个程序员的【工作时间】增加了,每个人的【产出】当然也增加了。于是,同样的工作量,只需要【更少】的人就可以完成。
  也就是说,同一个公司,如果公司本身的业务没有显著变化,延长每个员工的劳动时间,公司老板对人员数量的需求就【减少】了,所以,资本家就获得了【更强】的议价能力。这至少体现如下几方面:
  其一,对企业内的员工
  由于需求的人数降低了,资方可以拿【裁员】进行威胁(当然啦,不会说得这么难听,会美其名曰“末位淘汰”)。从而进一步迫使员工付出更多劳动(比如更长的加班),并进一步减少成本(比如取消加班工资)
  其二,对人力市场上的应聘者
  资方可以进一步压价(尤其是针对刚毕业的新手)
  其三,正反馈
  只要某个行业中的【标志性企业】都这么干(比如“腾讯、阿里、百度、华为”就是软件行业的标杆),同一行业的其它小公司肯定纷纷效仿(这么好的赚钱机会,资本家又不傻,当然不会错过)。如此一来,就形成了某种【正反馈】。

  综上所述,996之类的工作制越是普及,则行业的【平均工资】水平会被压低。
  当然啦,“平均工资”这个说法【不能】一概而论。考虑到每一个行业中的岗位,都会有【高/低】之分。俺的观点是:层次越【低】的岗位,越容易受到996工作制的影响,并导致这类岗位的平均薪资水平被压低
  因为越低层次的岗位,其劳动者的【议价能力】也越低。

  引申阅读:
  要想提升你的【议价能力】,首先要提升自身的【综合】能力;另外,即使能力水平差不多的人,“议价能力”也会有差异——不同的人,博弈能力也不同。这篇博文发布之后(2020年11月),俺又写了如下这篇教程,帮你提升博弈能力。
  《博弈论入门教程——从基本概念到具体案例》

◇平均工资到底是上升还是下降?


  这个问题肯定是有争议滴。
  由于篇幅的关系,俺不想在这里展开详细讨论,只提几个要点,供参考:
  其一,
  前面的讨论有一个前提【公司业务没变化】。在这个前提下,如果延长每个员工的劳动时间,则资方对“员工人数”的需求就会下降。
  而实际情况是,由于天朝作为【世界工厂】,很多行业的【业务总量】是在增长滴。所以,就要判断“行业的业务增幅”与“行业的工时增幅”哪个更大。如果“业务的增幅”更大,资方对人员数量的需求不但没降低,反而会增加。这种情况下,该行业的平均工资可能会上升;反之,则可能会下降。
  但是,不管业务的情况如何变化,【增加平均工时】之后,资方的【利润率】显然是变大滴。
  其二,
  在讨论“平均工资”的时候,要参考【通胀因素】,否则没有意义。


★为啥有很多知名企业家力挺马淫?


  自从马淫发表了那个奇葩言论(能够996是员工的福报),已经引发广泛批评,但是有很多企业家跳出来支持马淫。
  很多人的解读是:屁股决定脑袋,企业家当然是站在资方的立场进行思考。
  俺觉得以上只是一个方面,另一个方面是:
  这次的“996.ICU 事件”闹得很大,连很多知名外媒都报道了。这有点出乎资方的意料。考虑到舆论的压力很大,资方代表作人物必须站出来力挺996之类的工作制(表面上是力挺马云,实质上是要维护996制度)。
  如果资方能安然渡过这次的大风波,今后就算有人再闹,充其量也不过如此。那么,996之类的工作制,将成为各行业的潜规则,【黑心】资本家又多了一个利器。


★再来谈谈【工会 & 工运】的问题


  既然聊到“996工作制”,当然也要顺便谈谈“工会和工运”。
  在咱们天朝,每一个城市(具体到每一个县和镇),都有【官方的】工会。但所有这些“官方工会”全都是【扯蛋】滴——你千万不要指望官方的工会能帮你维权。
  在咱们天朝,各级衙门都讨厌维权。因为任何一个地方出现维权事件,也就意味着这个地方的衙门出了问题。所以,天朝所有的维权事件,都必然会被【打压】。
  5年前(2014),俺写了一篇博文《被判“谋反罪”的都是哪些人?——“危害国家安全罪”出笼20年随想》,里面汇总了【上百个】被判“危害国家安全罪”的民众。很多被判“谋反罪”的人,其实只不过是【维权人士】而已。

  明白了上述道理,你再去看近期发生的“996.ICU 事件”,就能理解很多奇葩的事情,为啥会发生。
  比如说:“996.ICU 项目”刚刚引发热议的时候(4月初),多款国产浏览器(至少包括:QQ浏览器、微信浏览器、UC浏览器、360浏览器)同步屏蔽了这个项目的网址。这么多国产浏览器能够统一协调行动,这说明啥捏?这说明了——背后是真理部的旨意。也就是说,真理部(中宣部)是【不】希望 996.ICU 这个事情闹大滴。因为这个事情闹得越大,有关部门就越没有面子。
  天朝的各级官员更关心自己的面子——因为面子会影响到仕途;至于广大民众的死活,跟他们没有半毛钱关系——因为屁民【无法影响】官员的仕途。


★天朝是哪一种资本主义?


  去年俺写了一篇博文《相当奇葩的天朝,【劫贫济富】的国度》,里面提到了:三种“财富分配方式”。今天再来老调重弹一下。
  社会的财富分配方式,大致可以归纳成三种。为了通俗起见,俺分别称之为:
1. 放任自由——政府【不】过多地干预社会财富分配
2. 劫富济贫——政府通过税收之类的方式,把一部分富人的财富转移到穷人手中
3. 劫贫济富——政府通过各种【掠夺】的方式,把一部分穷人的财富转移到富人手中
  如果把这3种财富分配方式去跟不同类型的资本主义进行关联,那么:
“放任自由” 相当于 “自由资本主义”
“劫富济贫” 相当于 “福利资本主义”
“劫贫济富” 相当于 “权贵资本主义”
(上述这个说法,从政治学理论的角度,肯定是不够严谨滴。考虑到本文只是一篇【通俗性】博文,喜欢较真的同学就不要跟俺抬杠啦)

  从今天对“996工作制”的讨论,你可以很清楚地看出,天朝就是典型的——【劫贫济富】(这也就是本文标题的由来)。
  俺已经猜到:某些“职业五毛”或“自干五”会为朝廷辩护,他们会辩称:996是资本家的罪过,与政府无关。
  但如果你再回头去看刚才关于“工会 & 工运”的讨论,自然明白——问题的根源还是出在【政治体制】。在如今的天朝,衙门是站【资方】这边滴。
  俺经常说:【天朝是个奇葩的国度】,从今天的讨论也可以看出来:一方面,咱们国家挂的是“马列主义的招牌”;另一方面,咱们国家的剥削远远胜过欧美那些老牌资本主义国家。
  是不是很讽刺啊?!


俺博客上,和本文相关的帖子(需翻墙):
《相当奇葩的天朝,【劫贫济富】的国度》
《学习与人生——700篇博文之感悟》
《博弈论入门教程——从基本概念到具体案例》
《为什么独立思考这么难?——谈谈心理学的成因,并分享俺的经验》
《思维的误区:幸存者偏见——顺便推荐巴菲特最著名的演讲》
《若政治制度不公平,则经济改革无意义——谈谈天朝这个大赌场》
《点评中国社会九大阶层——没有公平、难以流动、无法稳定》
《被判“谋反罪”的都是哪些人?——“危害国家安全罪”出笼20年随想》
《天朝民众的心理分析:斯德哥尔摩综合症》
《王健林及万达集团背后的朝廷权贵家族(习、胡、温、贾、王)》
《习包子露馅——习近平在内的权贵家族如何转移巨额海外资产》 +
+ +
+ + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/04/Proxy-Tricks.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/04/Proxy-Tricks.html" new file mode 100644 index 0000000000000000000000000000000000000000..152e209930e65f26f7dd1f632d86b37d11ebcd5c --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/04/Proxy-Tricks.html" @@ -0,0 +1,26 @@ + + + + + + + +如何让【不支持】代理的网络软件,通过代理进行联网(不同平台的 N 种方法) - 编程随想的博客 + + +
+

如何让【不支持】代理的网络软件,通过代理进行联网(不同平台的 N 种方法)

+ +
+
+  先提醒一下:明天就到5月份啦。今年是“六四事件”30周年,GFW 肯定要发飙。大伙儿要提前做好预防措施——手头同时备几个翻墙梯子。
  今天要聊的这个话题,也是跟“翻墙”有点沾边滴,而且是为后续的某些博文做铺垫。


★本文的“目标读者”和“使用场景”


◇使用场景


  有时候,你因为种种原因,需要使用某款【网络】软件,但是该软件又【不】提供“代理设置”的配置界面和功能。
  如果你直接使用该【网络】软件的话,(在网络通迅过程中)服务器端可能会记录并保存【客户端 IP】(也就是你的【公网 IP】)。如此一来,可能会产生一些隐私方面的风险和担忧。
  俺今天要聊的话题就是——如何让那些【没有】代理功能的软件,也通过代理进行联网。

◇目标读者


  首先,本文面向那些【有一定折腾能力】的同学。在这篇教程中,俺会介绍 N 种【思路】(方法论)。考虑到篇幅,每一种方法的配置,都只是【点到为止】。喜欢折腾的同学,可以根据俺给出的思路,配合俺介绍的软件,自己动手实践一下。
  其次,本文面向的是那些“比较注重隐私和隐匿性”的同学们。因为只有当你比较注重这些,才愿意为此而折腾。

◇关于【匿名化】


  本文的主题是——如何让【没有】代理功能的软件,也通过代理进行联网。
  对于特别注重隐私和匿名的同学,仅仅使用“代理”当然是【不够】滴!为了实现【匿名性】,你不仅要让网络软件走代理,而且还要通过【匿名网络】来消除网络痕迹。
  所以,在本文每一个方法论的末尾,都附上一个 ◇如何匿名化 的小节。讲述该方法论如何搭配【匿名网络】。(为了打字省力,俺以 Tor 来举例;使用 I2P 的同学,请依样画葫芦。)

  由于本文讨论的是【代理】的话题,所以本文涉及的【隐匿性措施】都仅仅是【网络层面】。但俺要强调的是——为了做到彻底的防范,你需要在【每一个层面】保护你的隐匿性。很多人虽然使用 Tor,但还是暴露了身份。因为他们【忽视】了其它某些层面的防范。
  下面这篇教程介绍了【每一个层面】的防范:
《为啥朝廷总抓不到俺——十年反党活动的安全经验汇总》


★预备知识


◇“HTTP 代理”与“SOCKS 代理”有啥【差异】?


  简而言之,“HTTP 代理”是针对【HTTP 协议】而设计的(此处所说的 HTTP 协议包括 HTTPS);而“SOCKS 代理”是为了支持【多种协议】而设计的。
  另外,“SOCKS 代理”的层次比“HTTP 代理”更【低】——它对应于 OSI 7层模型的第5层【会话层】(session layer)。
  如果你不了解“OSI 模型”,可以看如下这篇很全面的扫盲:
《计算机网络通讯的【系统性】扫盲——从“基本概念”到“OSI 模型”》

◇“SOCKS4 & SOCKS4a & SOCKS5”都有啥【差异】?


  为了直观,放一个对照表(如下)。详细的说明参见维基百科的“这个页面”。
协议类型远程域名解析IPv6 支持UDP 支持
SOCKS4NONONO
SOCKS4aYESNONO
SOCKS5YESYESYES

  “远程域名解析”需要单独强调一下。
  当年设计 SOCKS4 的时候,并【未】考虑 DNS 的问题。所以客户端与 SOCKS4 服务端建立连接时,需要发送“4字节”的 IPv4 地址。
  后来 SOCKS4a 增加了这个特性(又叫做“服务端 DNS 解析”)。客户端可以把【域名】发给 SOCKS 代理的服务端,然后由 SOCKS 服务端完成域名解析。这个特性【很重要】,原因至少包括——
如果你在【本机】进行域名解析,并且你的操作系统的 DNS 是传统的设置。那么,你的“DNS 查询请求”会通过网络【直连】。在这种情况下,如果 ISP 监控你的网络流量,就可以看出你在访问【哪些域名】的网站。
  有鉴于上述原因,你使用的 SOCKS 代理,至少要选 SOCKS4a(SOCKS5 当然更好)。

◇两种 HTTP 代理——转发 VS 隧道


  HTTP 转发
  这是传统的方式。网络软件(比如:浏览器、IM)把自己想要的 URL 网址发给 HTTP proxy,当 proxy 拿到 URL 之后,向目标网站发起 HTTP 请求,获取 URL 对应的内容(页面/脚本/图片/等等),然后 proxy 把内容返回给网络软件。
  使用这种代理,网络软件在进行 HTTP 通讯时,采用的依然是 HTTP 协议中常见的那几个 method(GET、POST、PUT 等等)。
  这种代理也被称作“relay 或 forward”

  HTTP 隧道
  另外还有一种不太一样的 HTTP Proxy,使用一个专门的 HTTP method——【CONNECT】。用了 CONNECT 这个 method 之后,网络软件发给 proxy 的就【不再是】URL 网址了,可以是任意的【主机:端口】二元组。proxy 拿到“目标主机 & 端口”之后,尝试与该主机建立连接。然后,proxy 就可以充当“目标主机”和“网络软件”之间的中转——网络软件发出的数据通过 proxy 转发给目标主机的指定端口,而目标主机发出的数据也通过 proxy 返回给网络软件。
  这种方式可以用来实现“各种 TCP over HTTP”(比如:SSH over HTTP 或 RDP over HTTP),所以也称为“隧道”(tunnel)。
  (关于“隧道协议”的更多介绍,参见博文《计算机网络通讯的【系统性】扫盲——从“基本概念”到“OSI 模型”》)

◇“HTTP 代理”与“SOCKS 代理”如何【互相转换】?


  如果你使用的网络软件,仅仅支持 HTTP 或 SOCKS 的【其中一种】,而你用的代理是【另外一种】。那么就需要进行两种代理协议的【转换】。

  HTTP 转 SOCKS
  (如果你手头只有 SOCKS proxy,但你使用的网络软件只支持 HTTP 代理,就需要使用这种转换)
  通过 Privoxy 来进行这种转换。Privoxy 本身可以充当 HTTP proxy,然后可以把数据转给别的 SOCKS proxy。
  关于 Privoxy 的详细教程,参见《如何用 Privoxy 辅助翻墙?》

  SOCKS 转 HTTP
  (如果你手头只有 HTTP proxy,但你使用的网络软件只支持 SOCKS 代理,就需要使用这种转换)
  通过 Tor(或 Tor Browser) 来进行这种转换。“Tor 客户端”本身可以充当 SOCKS proxy,然后可以把数据转给别的 HTTP proxy。
  关于 Tor 的详细教程,参见如下几篇:
《“如何翻墙”系列:关于 Tor 的常见问题解答》
《“如何翻墙”系列:扫盲 Tor Browser 7.5——关于 meek 插件的配置、优化、原理》
《扫盲 Arm——Tor 的界面前端(替代已死亡的 Vidalia)》

◇端口转发(Port Forward)


  本文后续部分会聊到“端口转发”这个招数。不太了解这个概念的同学,先看下面这篇博文(其中扫盲了“端口转发”的概念和工具)
《多台电脑如何【共享】翻墙通道——兼谈【端口转发】的几种方法》


★方案1:VPN


  先来聊 VPN,因为这是大伙儿最容易想到的方法,也是操作起来最简单滴。

◇原理


  简而言之,VPN 具有类似于“全局代理”的效果。也就是说,只要操作系统中开启了 VPN,整个系统中所有软件的网络传输,都会自动通过 VPN 服务器中转。所以,就算某个软件本身不支持代理,只要该软件运行在 VPN 的环境中,该软件的网络传输也会经过 VPN 服务器中转。此时,目标网站看到的是【VPN 服务器】的 IP 地址。

  数据流的示意图如下:
网络软件 <<==>> VPN客户端 <<==>> VPN服务器 <<==>> 目标网站

◇优点——配置简单


  由于 VPN 本身具有“全局代理”的效果,网络软件【无需任何配置】。
  这是该方案最主要的优点。

◇缺点——缺乏灵活性


  同样是由于“全局代理”的效果,导致这个方案【缺乏灵活性】。
  比如说:如果你希望某个网络软件直接联网,另一个网络软件走代理。用 VPN 就行不通啦。
  再比如说:你有两个不同的软件,需要走不同的代理,用 VPN 也不好弄。

◇相关软件及配置


  VPN 的软件非常多(各个平台都有),而且懂的人也很多,俺就不列举了。

◇如何匿名化?


  某些 VPN 软件(比如 VPNgate)本身提供了【代理设置】的功能——也就是说,可以让【VPN 客户端】通过代理联网。
  对于这类 VPN,你可以采用【VPN over Tor】的方式,就可以实现【匿名化】。由于 VPN 本身具有【全局】性质,所以你在搞“VPN over Tor”的招数时,“Tor 客户端”必须位于【另一台主机】。
  对于【VPN over Tor】的方式,就算 VPN 服务器记录了【访问者 IP】,这个 IP 也只不过是【Tor 出口节点】的 IP,与你本人的公网 IP 毫无关系。由于 Tor 的匿名网络会经过【三次随机跳转】,而且每隔几分钟就会变换线路(详情参见《关于 Tor 的常见问题解答》);这种情况下,逆向追溯非常非常难。数据流的示意图如下:
网络软件 <<==>> VPN客户端 <<==>> Tor客户端 <<==>> Tor匿名网络(3重跳转) <<==>> VPN服务器 <<==>> 目标网站

  如果你采用俺常年唠叨的【基于 TOR 的双重代理】,让某个翻墙工具作为 Tor 的【前置代理】,则数据流变得更加复杂(逆向追溯【更加不可能】):
网络软件 <<==>> VPN客户端 <<==>> Tor客户端 <<==>> 翻墙工具客户端 <<==>> 翻墙服务器 <<==>> Tor匿名网络(3重跳转) <<==>> VPN服务器 <<==>> 目标网站

  请注意:
  由于 Tor 有很长一段时间(2010~2014)无法在天朝独立联网(GFW 屏蔽了 Tor 在全球的节点),因此很多墙内的同学会采用“Tor over VPN”的方式,让 Tor 联网。“Tor over VPN”与“VPN over Tor”,这两者是【相反】滴,别搞混喽。


★方案2:对“网络软件”的进程注入


  说“进程注入”,可能很多读者不知所云。但如果举 SocksCap 的例子,很多同学就明白俺要说啥了。

◇原理


  以 SocksCap 为代表的这类软件,可以对其它上网软件的进程进行注入(把自己的某个动态库注入到上网软件的进程中)。
  通过注入自己的动态库,就可以截获(被注入的)上网软件的网络行为,并修改其网络行为使网络通讯的数据转向指定的代理。

◇优点——比较灵活,可以实现【进程级】的设置


  相比 VPN 方式,该方法的主要优势在于【灵活性】。
  所谓的【进程级】就是说——即使对【同一个软件】的多个进程,你可以通过该方法,让某几个进程的网络通信走代理,而另几个进程则网络直连。。

◇缺点1——兼容性比较差


  该方法的最大缺点是【兼容性】。
  因为不同的软件,其内部实现方式,差异很大。采用“进程注入”,【未必】都有效。
  俺在 Windows 和 Linux 下都尝试过这种方式,经常发现有些网络软件用这招不灵(未能实现转发)。

◇缺点2——稳定性比较差


  另一个缺点是——有可能导致软件运行不稳定。
  因为不同的网络软件,可能由不同的编程语言开发,可能由不同的编译器编译,编译时可能有不同的编译选项。
  所以,对网络软件搞了进程注入之后,可能会出现一些奇奇怪怪的问题,甚至可能导致网络软件在运行时崩溃。

◇相关软件及配置


  下面这几款软件,都是通过进程注入的方式,让网络软件的网络流量转向 SOCKS 代理。

  SocksCap(Windows)
  在 Windows 的同类软件中,SocksCap 大概是最老牌滴。使用教程参见“这个页面”。
  目前网上流传最广的是 2.40 版本,大约2006年左右发布。开发该软件的“Permeo 公司”如今已经没了,当年的官网也没了。如果你要找这个软件,要从【靠谱的】网站下载。保险起见,附上 2.40 版本安装包的 SHA256 校验码(如下)
f381cae0f28d72bd1380159ca80b09e5526aa53d49d8dc963f7eace0c8f32d97
  由于 SocksCap 只能对32位的软件进行注入。如今“64位系统”越来越流行,它就显得有点落伍了;后来有人开发了一个 SocksCap64,基本模仿 SocksCap 的功能,但可以支持64位系统。
  请注意,SocksCap64 与 SocksCap 虽然名称差不多,但这俩的作者【完全没关系】。
  使用过程中,有个细节要提醒一下——小心 DNS 泄露信息。
  SocksCap 的界面上可以配置“域名解析”(Name Resolution)。你要记得用【远程解析】。

  tsocks(Linux & Mac OS & BSD)
  你可以把这个软件理解为“Linux 版的 SocksCap”。其官网在“这里”。
  它的最后一个版本发布于2002年10月。可能是因为功能本身很简单,而且也不需要再加新功能,所以就没有更新了。
  顺便说一下:几大主流的 Linux 发行版(Debian 家族、Fedora 家族、Arch 家族、Gentoo 家族 ......),其软件仓库中都已经包含了 tsocks。

  ProxyChains(Linux & Mac OS & BSD)
  proxychains 相当于 tsocks 的增强版,包括如下特性:
1. 支持【更多的】代理类型(除了各种 SOCKS 代理,还支持各种 HTTP 代理)。
2. 可以实现【链式】的代理(ProxyChains 这个名称就来自于此)
3. 用户可以定义一堆代理,让它“随机选择”
  它的官网在“这里”。后来又出了 proxychains-ng (ng 表示“new generation”),官网在“这里”
  顺便说一下:几大主流的 Linux 发行版(Debian 家族、Fedora 家族、openSUSE 家族、Arch 家族、Gentoo 家族 ......),其软件仓库中都已经包含了 ProxyChains 或 ProxyChains-ng。

  PySocks(专用于 python)
  作为曾经的程序猿,而且还比较喜欢 Python,顺便介绍一个库(如果你不是搞 Python 开发的,这个东东与你无关)。
  它的代码仓库在“这里”。使用它,只需增加4行代码(如下),就可以让整个 Python 进程的网络链接都转向指定的 SOCKS 代理。
import socket
import socks
socks.set_default_proxy(socks.SOCKS5, addr, port) # addr 和 port 表示 SOCKS 代理的地址和端口
socket.socket = socks.socksocket
  其原理与刚才介绍的那几个工具差不多——它替换掉 socket 标准库的入口函数,其它 python 库(不管是标准库还是第三方库)只要想联网,终归都要直接或间接地依赖 socket 进行网络通讯,因此都会被重定向到指定的 SOCKS 代理。

◇如何匿名化?


  如果你使用普通的翻墙代理,数据流的示意图如下:
网络软件 <<==(进程注入工具转发)==>> 翻墙工具客户端 <<==>> 翻墙服务器 <<==>> 目标网站

  为了强化【隐匿性】,你可以改用 Tor 匿名网络,数据流的示意图如下(逆向追溯已经非常难)
网络软件 <<==(进程注入工具转发)==>> Tor客户端 <<==>> Tor匿名网络(3重跳转) <<==>> 目标网站

  如果你采用俺常年唠叨的【基于 TOR 的双重代理】,让某个翻墙工具作为 Tor 的【前置代理】,则数据流变得更加复杂(逆向追溯【更加不可能】):
网络软件 <<==(进程注入工具转发)==>> Tor客户端 <<==>> 翻墙工具客户端 <<==>> 翻墙服务器 <<==>> Tor匿名网络(3重跳转) <<==>> 目标网站


★方案3:对“端口转发工具”的进程注入(某些情况需要改 hosts)


  (注:本文开头部分的“预备知识”已经提到了【端口转发】的概念)

◇原理


  (上一章节提到)由于网络软件的千差万别,对网络软件搞进程注入,经常会出现一些【兼容性问题】。所以,咱们要转换一下思路,不去动网络软件,而在【端口转发】的软件上做文章。因为端口转发工具(比如:rinetd)通常很简单,对其进行注入,出问题的概率要小很多。
  而“修改 hosts”是为了进行【域名欺骗】,从而让网络软件把数据流发送【本机】的某个端口,以便咱们实现“端口转发”。由于端口转发工具已经被注入,所以它在转发的那一瞬间,网络流量已经被重定向到指定的代理。
  这个方案的原理有点复杂(比较绕),俺举2个例子,帮你理解。

  例1——邮件客户端
  假设你用邮件客户端软件来收发 email。并且你有多个邮箱,位于不同的邮件服务器。其中有些邮件服务器已经被 GFW 屏蔽。
  如果你对邮件客户端设置了代理,那所有邮箱(包括国内邮箱)的收发都要经过代理,就不爽了。比较爽的方法是——只对【被封锁】的邮件服务器走代理。
  为了达到这个效果,你需要进行如下步骤:
1. 在邮件客户端配置 POP3 和 SMTP 的服务器域名时,【不】要填写真实域名,而是填写本机地址(比如分别填写 127.0.0.1 和 127.0.0.2)。
2. 使用某个【端口转发工具】(比如:rinetd)在上述两个地址进行监听,端口号还是采用 POP3 和 SMTP 的端口号。并配置2条【转发规则】,分别转发到 POP3 和 SMTP 服务器的【真实地址】的相应端口。
3. 对“端口转发工具”搞【进程注入】(参见“方案2”)。因此,当 TCP 流量被转发的瞬间,就被自动重定向到翻墙代理

  例2——系统升级
  “邮件客户端”的例子比较特殊,因为网络通讯的对象(邮件服务器)是【界面可配置】滴。如果某个网络软件连接的服务器,【没有】相应的配置界面或配置文件,咋办捏?
  下面俺举“Windows 系统升级”的例子。在这种情况下,并【没有】界面让你配置微软官方的升级服务器的域名或 IP 地址。这时候咋办捏?
  首先,你要研究一下,系统升级软件,访问的是哪个域名的哪个端口?
  其次,通过【修改 hosts】的方法,把“升级服务器的域名”指向某个【本机】地址(为了叙述方便,假设用 127.1.2.3)。
  接下来的手法就差不多啦——同样对 rinetd 配置转发规则(转发到升级服务器【真实的】IP),同样对 rinetd 进行注入。
  【系统级 hosts】在域名查询时具有最高的优先级,因此升级程序会误以为上述的 127.1.2.3 是升级服务器的 IP,并尝试与这个 IP 的监听端口进行通讯,于是数据会被 rinetd 收到并转发。由于 rinetd 已经被进程注入,于是 rinetd 转发数据流的时候,会被重定向到你指定的代理。

◇优点1——软件级的灵活性


  这个优点是相比“方案1”(VPN)而言滴。
  此招数只影响某个特定的软件,所以比 VPN 更灵活。

◇优点2——更好的兼容性


  相比方案2(对网络软件的进程注入),这招的兼容性更好,因为这招【不去动】网络软件,注入的对象改为“端口转发工具”。

◇缺点——适用范围很窄


  由于要事先配置好“端口转发”,所以这个招数适用于——只与少数固定的“IP/域名”进行通讯的软件。
  如果某个网络软件需要通讯的对端是不确定的(比如 P2P 软件,比如浏览器),就【没法】用这招。
  所以说,这个方案的适用范围【很窄】。

◇软件及配置


  系统级 hosts 文件
  首先,所有知名的桌面操作系统(Windows/Linux/Mac OS/BSD),都可以定制【系统级】hosts 文件。

  端口转发工具
  端口转发的工具有很多,俺个人推荐 rinetd。理由包括:
1. 这个工具很小,很简单(越简单,搞“进程注入”的成功率越高)
2. 这个工具跨平台(Windows、Linux、UNIX 都可以用)
3. 这个工具非常老牌,很多系统的软件仓库都已经内置了。
  关于 rinetd 的使用,可以参见如下博文:
《多台电脑如何【共享】翻墙通道——兼谈【端口转发】的几种方法》

  进程注入工具
  “方案2”已经介绍了这类工具,此处再重复一遍。
  对于 Windows,你可以用 SocksCap 对 rinetd 进行注入;在 POSIX 系统(POSIX 是“Linux/Mac/BSD”的统称),可以用 tsocks 或 proxychains 对 rinetd 进行注入。
  有个细节要提醒一下:
  (在 POSIX 系统上)由于要对 rinetd 进行注入,所以 rinetd【不】能以常规的 daemon 方式启动;而必须用“注入工具”来启动 rinetd。

◇如何匿名化?


  (这部分与前面的“方案2”相同,略)


★方案4:防火墙转发——本机模式


  前面介绍的几个招数,都有一些严重缺陷,令人不爽:
方案1:VPN——不够灵活
方案2:对网络软件的进程注入——兼容性差
方案3:hosts + 端口转发——只适用于“通讯对端比较固定”的网络软件
  下面要介绍的是【终极大杀器】,可以解决前面所有弊端,那就是——
“防火墙”转发给“透明代理”(Transparent Proxy),然后“透明代理”再转给真实代理(比如 Tor)。
  使用这个方案,网络软件完全感觉不到代理的存在。从这个角度而言,它有点像 VPN。但是它与 VPN 又不太一样,因为这个方案可以对同一个系统的不同网络行为作【细颗粒度】的区分,使得某些数据走代理,另一些数据则直连。

◇原理


  这个方案的关键在于操作系统内置的【主机防火墙】。
  如今的几大桌面系统(Windows、Linux、Mac OS、BSD),都自带了【内核级】的防火墙,下面俺以 Linux 自带的 iptables 来说事儿。
  iptables 功能非常强,而且具备高度的可定制性。你可以定制 iptables 的规则,使得符合某些条件的数据包,被重定向到本机的某个指定端口。
  然后,你用某个特定的软件充当【透明代理】,对这个端口进行监听,于是这个透明代理就可以截获这些被重定向的数据包,然后透明代理再把这些数据包转发给咱们真正需要的代理(比如 Tor)。
  iptables 可以针对不同条件进行重定向,俺举几个例子:
针对“端口”的范围(只有当“源端口”或“目的端口”符合某些条件,才进行重定向)
针对“IP地址”的范围(只有当“源IP”或“目的IP”符合某些条件,才进行重定向)
针对“用户”(只对特定用户产生的数据包,才进行重定向)
针对“网卡”(只有某个网卡的数据包,才进行重定向)
......

  刚才是拿 Linux 内核自带的 iptables 说事儿。
  熟悉 OpenBSD 的同学,可以研究其自带的 pf 防火墙;熟悉 FreeBSD 的同学,可以研究其自带的 ipf 防火墙;看看这2款 BSD 系统是否也可以这么玩(俺自己没亲自试过,不保证)。
  Windows 自带的防火墙是否能做到类似效果捏?貌似不支持。
  (注:多年不用 Windows 了,写本文时,还特地开了个 Windows 虚拟机,简单看了一下内置防火墙的配置,好像没有这种功能)

◇优点1——足够灵活


  在本文介绍的所有方案中,这个方案的灵活性是最好的。
  前面提到:方案2(对网络软件的进程注入)的灵活性非常好,能做到【进程级】的灵活性。而方案4的灵活性甚至超过方案2,因为它能实现【数据包级】的灵活性。

◇优点2——足够好的兼容性和稳定性


  由于这个方案依赖的是【内核级】的主机防火墙,它处在操作系统的底层。因此【不】会受到软件的影响。
  另外,这个方案【不】需要搞“进程注入”,也【不】影响网络软件的稳定性。

◇优点3——不受“更换软件”的影响


  由于防火墙规则针对的是数据包的属性(比如:IP、端口)以及操作系统相关的属性(比如:用户组),与网络软件本身没啥关系。
  也就是说,你一旦设定好相关的规则,即使你换了不同的网络软件,这些防火墙规则依然有效(不用再改)

◇缺点——配置的门槛偏高


  “门槛偏高”体现在——你必须足够熟悉操作系统自带的防火墙,懂得如何设定规则,以便对特定的数据包进行【重定向】。

◇缺点——Windows 的【可行性】,俺还不确定


  关于这点,下面的某个小节会提到。

◇软件及配置


  完成该方案需要三样东西:
1. 防火墙和相关规则
2. 透明代理
3. 实际的代理(比如 Tor)
  重点说说前面两样。

  防火墙的配置
  (下面以 Linux 下的 iptables 举例)
  考虑到本文只是提供思路和方法论,对 iptables 的配置,俺只提几个注意事项。具体的命令,请自行查阅手册。
  【注意事项1】
  iptables 默认的 table 是 filter,大部分使用 iptables 的同学,都是针对 filter 进行配置。
  但本文要聊的【数据包重定向】,必须在【nat】这个 table 上进行配置。
  【注意事项2】
  对于“本机模式”的防火墙转发,你需要重定向的是【本机软件】产生的数据包,所以你要在【OUTPUT】这个 chain 中追加规则。
  【注意事项3】
  你需要用到 -j REDIRECT 选项和 --to-ports 端口号 选项(此处的“端口号”就是透明代理的监听端口号)
  【注意事项4】
  如果“透明代理”位于【另一个系统】,上述 iptables 的选项要略做修改。
把 -j REDIRECT 改为 -j DNAT(REDIRECT 与 DNAT 的差异,参见“这篇洋文”)
把 --to-ports 端口 改为 --to 地址:端口(此处的“地址”就是“透明代理”所在的另一个系统的地址)

  透明代理的配置
  对于 POSIX 系统(Linux/Mac OS/BSD),俺推荐的是 redsocks 这个工具(官网在“这里”,官方代码仓库在“这里”)。
  它的名气大(主流的 Linux 发行版,软件仓库都已经内置),支持的代理种类也齐全——可以把收到的数据包转发给各种代理(各种 SOCKS 代理,各种 HTTP 代理)。
  redsocks 本身的配置还算简单。安装好之后,直接修改 /etc/redsocks.conf 这个配置文件。而且配置文件中已经写了相当多注释,很容易看懂。
  关于 redsocks,也说几个注意事项。
  【注意事项1】
  对于“本机模式”,redsocks 监听端口可以绑定到 127.0.0.1,也可以绑定到 0.0.0.0,但【不要】绑定到网卡的 IP 地址。
  【注意事项2】
  如果你要转发的“实际代理”是“HTTP 代理”,要区分不同类型(参见本文开头的预备知识章节)。
  在 redsocks 配置文件中,用 http-connect 表示“HTTP 隧道”,用 http-relay 表示“HTTP 转发”。
  【注意事项3】
  redsocks 每次接收到数据会记录日志(你可以在它的配置文件中指定日志文件的位置)
  在转发失败(数据不通)的情况下,先去看 redsocks 的日志。如果 redsocks 的日志没有东西,通常说明你的防火墙规则配置错误(所以 redsocks 没收到数据)。如果 redsocks 记录了日志,你可以根据日志判断——是否在转发给“实际代理”时出了问题。

◇Windows 系统的可行性还【不确定】


  这个方案能否用于 Windows 系统,俺【不】清楚。至少有两个地方存在不确定性:
1. Windows 自带的防火墙是否能做到类似的【重定向】效果
2. Windows 上是否有类似 redsocks 这样的软件(可以充当【透明代理】,并把数据转发到其它代理)
  如果读者中有人知道这两个问题的答案,欢迎到博客上留言。先行谢过。

◇关于 DNS 的转发


  redsocks 本身支持 DNS 的转发,具体参见它的配置文件中的【redudp】和【dnstc】这两个部分。
  由于传统的 DNS 协议是【UDP】,所以,一定要基于【SOCKS5 代理】才能进行转发(“SOCK4 代理”不行,“HTTP 代理”也不行)。
  如果你手头只有其它代理,偏偏缺少 SOCK5 代理,咋办捏?
  你可以在本地开启【DNS proxy】。这种 proxy 把自己伪装成一个 DNS server,然后把收到的 DNS 查询请求转发给真正的 DNS server。
  但是 DNS proxy 把 DNS 请求转发出去,还是要走 UDP 协议,还是得依靠 SOCKS5 代理。所以你必须使用一种特殊的 DNS proxy——可以把“传统 DNS”转成“DNS over HTTPS”。“DNS over HTTPS”简称 DoH,具体介绍请看这篇博文。由于 DoH 包裹在 HTTPS 流量中,自然可以用各种代理(SOCKS or HTTP)进行转发。
  Facebook 开源了一个【DoH proxy】(基于 python 开发,代码仓库在“这里”),就可以实现上述效果。感兴趣的同学可以去体验一下。

◇如何匿名化?


  (下面以 redsocks 为例)

  如果 redsocks 把数据转发给普通的翻墙代理,数据流的示意图如下:
网络软件 <<==(内核防火墙转发)==>> redsocks <<==>> 翻墙工具客户端 <<==>> 翻墙服务器 <<==>> 目标网站

  让 redsocks 把数据转发给本机的 Tor,就可以实现匿名化。数据流的示意图如下(逆向追溯已经非常难)
网络软件 <<==(内核防火墙转发)==>> redsocks <<==>> Tor客户端 <<==>> Tor匿名网络(3重跳转) <<==>> 目标网站

  如果你采用俺常年唠叨的【基于 TOR 的双重代理】,让某个翻墙工具作为 Tor 的【前置代理】,则数据流变得更加复杂(逆向追溯【更加不可能】):
网络软件 <<==(内核防火墙转发)==>> redsocks <<==>> Tor客户端 <<==>> 翻墙工具客户端 <<==>> 翻墙服务器 <<==>> Tor匿名网络(3重跳转) <<==>> 目标网站


★方案5:防火墙转发——网关模式


  接下来聊“防火墙转发”的另一个模式——网关模式。

◇原理


  对于“网关模式”,你需要【N + 1 个】主机——其中的 N 个主机充当【隔离主机】,还有一个充当【网关主机】。
  (注:本章节所说的“主机”,可以是“物理主机”,也可以是“虚拟机/VM”。关于“虚拟机”,俺写了扫盲的系列教程)
  对于【网关主机】
  “方案4”提到的那三样东西(防火墙规则,透明代理,实际代理),都在【网关】主机上进行配置。
  充当【网关】的主机可以是【双】网卡,也可以是【单】网卡(到底用哪种,视具体情况而定)。
  对于【隔离主机】
  只需要在网卡中设置【默认网关】,“默认网关”的地址就填写“网关主机的网卡地址”。如果网关主机是【双】网卡,注意别填错喽。

◇相比“方案4”的优点——支持任何操作系统


  前面俺提到:“本机模式的防火墙转发”(方案4),只能用于【桌面的】POSIX 系统,Windows 上有可能搞不定,移动设备更加搞不定。
  而如果你用了“网关模式的防火墙转发”(方案5),只有“网关主机”需要是 POSIX,“隔离主机”可以是任何系统(甚至可以是移动设备)。

◇相比“方案4”的优点——降低了配置的工作量


  假设你有好几个操作系统,都需要搞“防火墙转发”。如果用“本机模式”,每个系统都要配置;如果用“网关模式”,只需要对“网关主机”配置【一次】,其它几个系统作为“隔离主机”,除了设一下“默认网关”,【不用】再进行别的设置。

◇其它优点


  (参见“方案4”,略)

◇缺点——配置的门槛偏高


  (参见“方案4”,略)

◇软件及配置


  本方案与“方案4”大致相同,只不过多了一个主机作【网关】。然后你把 redsocks 和代理软件(比如 Tor)部署到【网关】上,防火墙规则也在【网关】上设置。
  由于部署方式变成【跨主机】,防火墙规则需要适当改动。说几个注意事项(以 iptables 为例)
  【注意事项1】
  对于“方案4”(本机模式),你要转发的数据包来自【本机】的软件,你的转发规则必须添加到【OUTPUT】这个 chain 中。
  对于“方案5”(网关模式),你要转发的数据包来自【另一个主机】,你的转发规则必须添加到【PREROUTING】这个 chain 中。
  下面这张图有助于让你理解 iptables 中不同的 chain 的拓扑关系。
  
不见图 请翻墙
(iptables 内部数据流)

  关于 redsocks,也说几个注意事项。
  【注意事项1】
  前面提到:“本机模式”,redsocks 监听端口可以绑定到 127.0.0.1,也可以绑定到 0.0.0.0,但【不要】绑定到网卡的 IP 地址。
  而对于“网关模式”,redsocks 监听端口可以绑定到“网卡地址”,也可以绑定到 0.0.0.0,但【不要】绑定到 127.0.0.1。(请注意上述两者,有点差别)
  【注意事项2】
  如果你想【混用】这两种模式(既作为网关,转发别的主机的数据包到透明代理;同时又转发本机软件的数据包到透明代理)。那么 iptables 既要设置【OUTPUT】这个 chain,也要设置【PREROUTING】这个 chain。此时,redsocks 的监听端口【必须】绑定到 0.0.0.0 才能“鱼和熊掌兼得” :)

◇DNS 的两种玩法


  使用“网关模式”,DNS 有两种玩法:

  方法1
  类似“方案4”,通过配置网关的防火墙规则,使得所有“隔离主机”的 DNS 数据包被转向 redsocks 的 UDP 端口。

  方法2
  你也可以让“网关主机”充当 DNS server,然后在“隔离主机”中配置 DNS,指向“网关主机”。如此一来,所有“隔离主机”的 DNS 请求都由“网关主机”完成,然后“网关主机”采用【DNS proxy】的技巧(具体参见前一个章节的关于 DNS 的转发)。

  以上两种方法,都可以确保你的所有主机的所有 DNS 请求通过自己指定的代理,而你只需在网关一个地方进行配置。

◇如何匿名化?


  (参见“方案4”,略)

◇网关模式下,Tor 如何部署?


  对于特别注重隐匿性的同学,肯定希望让每个“隔离主机”都用上【匿名网络】(比如 Tor)。这时候就涉及到——“Tor 如何部署”这个问题。
  关于这个话题,可能很多人会觉得——把 Tor 和 Tor 的前置代理都放到“网关主机”。
  这么干,配置会比较简单。但俺认为这种部署方式【不好】!
  因为这样部署,你的 N 个“隔离主机”会共用同一个 Tor 环境。这样有啥风险捏?具体解释请参见《为啥朝廷总抓不到俺——十年反党活动的安全经验汇总》一文中的 ★【网络】层面的防范 这个章节。
  所以,更好的部署是:【每个隔离主机】都有自己的 Tor 客户端,“网关主机”只部署“透明代理”和“Tor 的前置代理”。如此一来,每个隔离主机都有【各自独立】的 Tor 环境。


★结尾


  今天聊的只是俺个人经验,未必全面。
  如果你有其它技巧,欢迎在俺博客留言,分享给大伙儿 :)


俺博客上,和本文相关的帖子(需翻墙):
《计算机网络通讯的【系统性】扫盲——从“基本概念”到“OSI 模型”》
《多台电脑如何【共享】翻墙通道——兼谈【端口转发】的几种方法》
《如何用 Privoxy 辅助翻墙?》
《扫盲 Linux&UNIX 命令行——从“电传打字机”聊到“shell 脚本编程”》
《对比4种强化域名安全的协议——DNSSEC,DNSCrypt,DNS over TLS,DNS over HTTPS》
《为啥朝廷总抓不到俺——十年反党活动的安全经验汇总》
《如何隐藏你的踪迹,避免跨省追捕》(系列)
《“如何翻墙”系列:关于 Tor 的常见问题解答》
《“如何翻墙”系列:扫盲 Tor Browser 7.5——关于 meek 插件的配置、优化、原理》
《扫盲 Arm——Tor 的界面前端(替代已死亡的 Vidalia)》
《扫盲操作系统虚拟机》(系列) +
+ +
+ + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/04/Security-News.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/04/Security-News.html" new file mode 100644 index 0000000000000000000000000000000000000000..b6fa151f158af63a8156c4b4ac3782791bee40f3 --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/04/Security-News.html" @@ -0,0 +1,26 @@ + + + + + + + +近期安全动态和点评(2019年1季度) - 编程随想的博客 + + +
+

近期安全动态和点评(2019年1季度)

+ +
+
+  上一篇博文的评论数又猛涨(每次俺戳到衙门的痛点,评论都挺多)。

★引子:关于《近期安全动态和点评》这种形式


  最近这些年,俺写了不少信息安全的教程,也获得很多读者的认可(对大伙儿的捧场,再次表示感谢)。
  久而久之,经常会有读者来询问信息安全相关的新闻或业界动态。俺如果有空,通常会在评论区回复相关的提问。
  对于那些特别重要的事情,俺会专门发一篇博文进行介绍(比如:“心脏滴血漏洞”、“TrueCrypt 之死”、“黑暗幽灵木马(DCM)”...)。
  但是捏,大部分的安全新闻和动态,重要性都不是那么高,相关的讨论也没有那么多。如果针对某个事情单独写一篇博文,篇幅会太短(可能就只有几句话)。而且俺也不喜欢发短篇博文。
  权衡之下,想到这种形式——
用单篇博文汇总最近一个季度的安全新闻和动态,然后再附上俺本人的评论。必要时,也可以分享俺的经验。


★隐私保护


◇朝廷监控屁民的数据库被曝光,含【3.64亿】自然人


《中國用來存放監控資料的 MongoDB 資料庫曝光了 @ iThome》
中國政府監控民眾網路行為的政策幾乎舉世皆知,但一名資安研究人員 Victor Gevers 揭露了一個可公開存取、且存放著中國監控民眾的資料庫,進一步向外界展示了中國的監控規模。

此一可公開存取的 MongoDB 資料庫位於中國,它蒐集了3.64億個連結真實身分的網路個人檔案,紀錄他們在六大社交平台上的聊天內容或檔案傳輸行為,而且透過各省份與縣市的警察局與座落在其它17個地區的 MongoDB 資料庫同步,這些資料庫都擁有同樣的監控網路名稱,也全都允許公開存取。

Gevers 從資料庫上找到的六大社交平台代號為 imsg、qg、qqmesg、wwhmsg、wxmsg 及 yymsg,推測它們分別是
IS 語音服務、QQ Group、QQ Message、wangwang message(阿里旺旺)、微信及 YY 傳訊
......

  编程随想注:
  据俺了解到的情况,前几年公安部就已经在搭建一个大数据的平台,用来汇总各类 SNS 的数据,并以此来建立很详细的【人际关系网络】。所有墙内的帐号(手机、微信、微博、QQ、支付宝、等等),都整合到这个平台上,并且每个帐号都关联到具体的【自然人】。
  利用这样一个平台,六扇门的爪牙就可以很方便地进行各种数据挖掘。所以,早在很多年以前,俺就反复警告:【不要】用天朝的网络服务进行【敏感】活动。
  不得不说,奥威尔在《1984》中预言的【电幕】,正越来越接近现实。如何对抗这种趋势捏?下面这篇博文可以供你参考。
《“对抗专制、捍卫自由”的 N 种技术力量》


◇“美团 & 饿了么”的手机 APP 涉嫌偷听用户说话


《美团饿了么否认“偷听”,那为何我们说啥就推荐啥? @ 搜狐》
据《IT时报》报道,2018年11月中旬,上海的孙女士在和同事闲聊时提到想喝CoCo奶茶,在打开饿了么APP时,在推荐商家首位看见了CoCo奶茶。让孙女士疑惑的是,自己之前从未在饿了么买过CoCo奶茶,“此前也没有使用任何手机App搜索过CoCo奶茶的相关信息。”

几乎在同一时间,北京网友燃玉(化名)跟朋友说想吃鳗鱼饭,1分钟后打开支付宝上的饿了么应用,推荐位顶部恰巧显示着一家鳗鱼饭的外卖店,此时距离他上次下单鳗鱼饭相隔23天。

《IT时报》的记者耗时三个月模拟用户的使用场景,对iPhone、Android手机和iPad上的美团外卖和饿了么APP进行跟踪测试。从测试结果来看,在谈及某种食物后,打开外卖APP出现相关推荐的概率高达60%-70%。
......

  编程随想注:
  下面这篇是俺写于4年前的博文,其中提到了手机的【硬件】(麦克风、摄像头、GPS、陀螺仪)如何泄漏你的个人信息。
《如何保护隐私[10]:移动设备的隐私问题》

◇“京东金融” APP 盗取用户截屏


《网友曝京东金融App会获取用户截图、照片 @ 新浪》
网友上传的视频显示,其先打开京东金融App,并让其在后台运行。然后打开手机上的银行应用,然后截图。随后打开文件管理器,找到京东金融的文件目录,在此目录下,出现了刚刚的银行应用截图。

不仅如此,该网友后续又发微博称,“京东金融不止偷截图,还会偷照片。”同时又附上一个视频说明,视频显示同样先打开京东金融App,并让其在后台运行。然后打开一个美颜相机App,用该App拍一张图片,之后会在京东金融的文件目录中找到该图片。
......

◇抖音国际版被美国 FTC 处以巨额罚款


《违规搜集儿童隐私,抖音国际版在美被罚570万美元 @ 网易》
网易科技讯2月28日消息,据TechCrunch报道,美国联邦贸易委员会(FTC)今天发布了一项重要裁决,短视频应用抖音国际版(TikTok)因违反美国《儿童隐私法》,将被处以570万美元罚款,并将影响该应用在13岁以下儿童中的使用方式。

◇【两亿】中国求职者简历被泄露


《两亿中国求职者数据泄露 @ Solidot》
HackenProof 报告,网络风险研究总监 Bob Diachenko 于12月28日分析 BinaryEdge 搜索引擎数据时发现了一个公开的没有任何保护或身份验证的 MongoDB 数据库,数据库容量为 854GB,包含了202,730,434名中国求职者的数据,数据包括了详细的求职者信息如技能、工作经验、电话号码、电子邮件、婚姻状况、子女状况、政治面貌、身高、体重、驾照、文化水平和薪水期望等等。

◇Chrome 74 之后,用户无法再禁用“点击追踪”


  编程随想注:
  “点击追踪”是 HTML5 引入的特性,术语叫做“ping 属性”。如果网站在“超链接”中加入该属性,当用户点击这个超链接的时候,链接所在网站会得到点击的通知。很多网站用“点击追踪”来统计【外链】的点击情况。
  Google 作为搜索引擎,用户点击搜索结果,当然属于【外链点击】。所以,“点击追踪”这个功能对 Google 而言很有用(可以统计用户曾经点击过搜索结果中的哪些网站)。

  在74版本之前,Chrome 还有“点击追踪的选项”(也就是说,用户可以关闭该选项,禁用“点击追踪”)。到了74版本之后,Chrome 连这个开关选项也【去掉】了——因此,普通用户再也【无法禁止】“点击追踪”了。
  不得不说,Chrome 在【侵犯隐私】的邪路上越走越远。具体的原因,俺已经多次聊过——因为 Google 的主要利润来源是【在线广告收入】。所以,Chrome 的隐私保护,不但比 Firefox 差,而且很可能会【越来越差】。
  引申阅读:
《弃用 Chrome 改用 Firefox 的几点理由——关于 Chrome 69 隐私丑闻的随想》


★高危漏洞


◇Chrome 高危漏洞


《Disclosing vulnerabilities to protect users across platforms @ Google 官方博客》
《Google: Chrome zero-day was used together with a Windows 7 zero-day @ ZDNet》

  编程随想注:
  这个 Chrome 漏洞的编号是:CVE-2019-5786,存在于 FileReader API 中,攻击者可以利用该漏洞实现【远程执行代码】(Remote Code Execution)。由于该漏洞高度危险,Google(在24小时内)紧急发布了72.0.3626.121版本,进行修复。
  讽刺的是:和该漏洞一起曝光的另一个漏洞是——“Win7 的【提权漏洞】”。攻击者如果同时利用这两个漏洞,不但能【远程】执行代码,还可以在执行代码后【提权】(拿到“管理员权限”)。对攻击者而言,这两个漏洞堪称完美组合。

◇WinRAR 高危漏洞


《WinRAR bug 正被利用安装难以检测的恶意程序 @ Solidot》
流行的解压缩软件 WinRAR 曝出了一个至少14年历史的代码执行漏洞,
安全公司 Check Point 的研究人员在 UNACEV2.DLL 的过滤函数中发现了一个漏洞,允许将代码提取到 Windows 启动文件夹,在 Windows 重启之后执行。
现在,McAfee 研究人员报告该漏洞正被利用安装难以检测的恶意程序。

  编程随想注:
  WinRAR 这个软件,早就该丢到垃圾桶了——这玩意儿不但是【闭源】滴,而且还要【注册】。让人非常不爽!
  WinRAR 的完美替代品是【7zip】——不但【开源】、【免费】,而且还【跨平台】。
  顺便说一下:
  如果对压缩率要求【不】高,俺通常用 zip 格式,因为这种格式已经成为【事实标准】(比如:俺网盘分享的 HTML 格式电子书,会把多个 HTML 打包成一个 zip)
  如果对压缩率要求【很】高,俺通常用 7z 格式(很多情况下,7z 压缩率超过 rar)

◇apt 高危漏洞


《Debian 官方安全公告》
《Remote Code Execution in apt/apt-get @ 漏洞发现者的博客》

  编程随想注:
  apt 是 Debian 发行版默认使用的【软件包管理器】。考虑到 Debian 有【非常多】的衍生发行版(比如:Ubuntu),apt 的影响面非常大。
  这个漏洞(CVE-2019-3462)很危险!——
其一,该漏洞本身就是【远程】执行漏洞。
其二,为了安装和更新软件,Linux 用户通常会以【root】身份运行“软件包管理器”。所以,apt 的“远程执行漏洞”,会让攻击者直接获得【最高权限】。

  【不彻底】的解决方法:
  当然是升级到修复该漏洞的 apt 版本。

  【彻底】的解决方法:
  除了这次,apt 在【2016年】曾经曝光过另一个安全漏洞(CVE-2016-1252)。所以,咱们可以合理地怀疑——apt 的网络模块中还存在其它高危漏洞。
  (对于使用 apt 的同学)俺认为彻底的解决办法是——搭建【私有的】升级镜像。搞了这个玩意儿之后,你的 apt 工具只是通过【内网 or 本地文件】的方式获得升级包。因此,apt 就算有安全漏洞,至少漏洞也【不会】暴露到公网上。这种玩法,本质上就是——【降低攻击面】(这个原则也是俺经常唠叨滴)。
  搞了自己的升级镜像后,你可以用其它网络工具(rsync、curl、wget)从发行版的官方网站同步升级包。由于“同步升级包”的操作可以用【普通用户】的权限进行(甚至可以在另一个 OS 中进行),即使用来同步的网络工具出了安全问题,也不至于太惨。
  升级镜像的另一个好处是——如果你有多个【同种的】OS,采用私有的升级镜像,可以大大提升速度——(传输一次,升级 N 次)。对于使用虚拟机的同学,这个好处会特别明显——你可以把私有的升级镜像放在 Host OS,并以【共享目录】的方式提供给 Guest OS。如此一来,每个 Guest OS 都【无需】再去下载升级包。


★网络与 Web


◇针对“域名服务商”的 DNS 劫持攻击


《研究称 DNS 劫持攻击规模惊人 @ Solidot》
攻击者首先设法窃取目标 DNS 服务商管理面板的登录凭证,然后修改目标域名的 IP 地址,将其指向攻击者控制的服务器。攻击者之后再利用 Let’s Encrypt 自动生成合法证书。当用户访问目标域名,他们会先访问攻击者的服务器然后再重定向到合法服务器,整个过程用户唯一的感觉可能就是延迟略微增加。攻击者之后能收集到用户名和密码,而终端用户对此几乎一无所知。

  编程随想注:
  这种攻击手法,再次凸显了【DNS】与【CA 证书】的重要性。攻击者如果【同时搞定】这两者,就可以实现【完美的钓鱼】。关于这点,俺在9年前(2010)的某篇博文中提到过:
既然老流氓 CNNIC 已经成为合法的 CA,那它就能堂而皇之地制作并发布 CA 证书。然后捏,再配合 GFW 进行【域名污染】。那 GFW 就可以轻松搞定任何网站的 HTTPS 加密传输。
......
可能有些小朋友心里会犯嘀咕:GFW 会有这么坏吗?俺想篡改鲁迅他老人家的一句话来回答:俺向来是不惮以最坏的恶意,来推测党国。GFW 和 CNNIC 作为党国的2条走狗,一起进行中间人攻击(一个负责在 DNS 上做手脚、另一个负责伪造 CA 证书),简直是“天生一对、黄金搭档”啊!
  引申阅读:
《数字证书及 CA 的扫盲介绍》
《CNNIC 证书的危害及各种清除方法》

◇可【突破两步验证】的网络钓鱼工具


《New tool automates phishing attacks that bypass 2FA @ ZDNet》

  编程随想注:
  波兰的安全研究人员 Piotr Duszyński 发布了名为“Modlishka”的工具(该名称是波兰语“螳螂”)。这个玩意儿可以实现【更逼真】的钓鱼攻击,并且可以突破【两步验证】。
  该工具本质上是一个【反向代理】,其原理类似于“中间人攻击/MITM”(由“钓鱼网站”充当中间人)。受害者看到的界面,是从【真实的】网站传回到钓鱼网站的界面,受害者输入的密码,也会被转发给真实的网站。“两步验证”在这种攻击面前是【不堪一击】滴。

  前一个小节提到了【DNS 劫持】,在此基础上再进行这种高级钓鱼,会让很多人防不胜防。这种钓鱼攻击能否成功,关键在于 CA 证书。如果钓鱼网站使用的是“貌似合法的 CA 证书”,则浏览器【不会】弹出“无效证书”的警告,因此受害者也就【不会】怀疑网站是假的。
  由于创建“貌似合法的 CA 证书”,正变得越来越容易(参见前一个小节提到的手法),因此这种钓鱼也就变得越来越危险。
  俺的建议是——
  你在某个【专用】的浏览器实例中操作特别重要的帐号(也就是说,这个实例只操作这个帐号,不访问其它网站)然后在该实例中采用【证书白名单策略】——只留下这个帐号对应网站所需的 CA 证书,其它证书全部禁掉。当然啦,你还需要保留一个【通用】的实例,用来进行日常的上网浏览。如此一来,假设你有 N 个重要帐号,需配置 N + 1 个实例。
  浏览器的选择:
  Chrome 和 Firefox 都可以创建“多实例”,但 Chrome 有个【缺点】——它用的是操作系统的证书。因此,Chrome【无法】使用刚才介绍的招数。
  相比之下,Firefox 使用的是【自带证书】。因此,你可以创建多个 Firefox 实例,并通过配置让每个实例的证书都采用各自的【白名单策略】。

◇Google 的公共 DNS 服务正式支持 DoH(DNS over HTTPS)


《谷歌公共 DNS 正式支持 DoH 加密 @ cnBeta》

  编程随想注:
  Google 的公共 DNS,也就是 8.8.8.8 和 8.8.4.4 这俩。
  其实这两个 DNS 在去年就已经提供 DoH 服务,但还处于【试运行阶段】。从2019年1月,开始【正式】支持 DoH。
  关于 DoH 的好处,可以参考俺之前的博文:
《对比4种强化域名安全的协议——DNSSEC,DNSCrypt,DNS over TLS,DNS over HTTPS》
《扫盲 DNS 原理,兼谈“域名劫持”和“域名欺骗/域名污染”》

  关于浏览器的支持:
Firefox 从62版本开始支持 DoH,具体参见 Mozilla 官方博客(链接在“这里”)。
Chrome/Chromium 从66版本开始支持 DoH。具体参见 Chromium 官网的 issue(链接在“这里”)。


★移动设备


◇2018年全年,针对移动设备的攻击,堪称有屎以来最高


《Mobile malware evolution 2018 @ Securelist》

  编程随想注:
  上述报告来自 Kaspersky Lab。
  俺已经在博客上唠叨无数次了——【不要】用手机操作重要帐号,也【不要】用手机进行敏感活动。

◇大部分 Android 杀毒软件【不】靠谱


《三分之二的 Android 杀毒应用没有价值 @ Solidot》
杀毒软件测试机构 AV-Comparatives 测试了 Google Play 商店里的250款杀毒应用,检查这些应用对2000恶意应用样本的检测情况。结果显示,只有80款应用能阻止最少数量的恶意样本。不到十分之一的应用能阻止所有恶意应用,超过三分之二的应用检出率不到 30%

◇贝佐斯的手机被入侵


《贝索斯手机隐私遭入侵,疑为沙特政府所为 @ 搜狐》
《Jeff Bezos investigator: Saudi Arabia obtained private information @ CNN》

  编程随想注:
  作为目前的世界首富,而且还是顶级 IT 公司的老板,贝佐斯显然拥有顶级的安全顾问团队。
  如果连他的手机都会被入侵(而且是被“深度渗透”),这说明啥捏?你自己想一下吧。
  另外,
  博客的长期读者都知道,俺特别喜欢抹黑朝廷,中国政府的御用骇客也老早就盯上俺了(请看“这篇博文”和“这篇博文”)。
  俺写政治博文将近【十年】(而且写了很多“煽颠性质”的博文)。至少到今天,俺还没有倒下。其中一个重要经验是:俺【从不】在手机上使用这个身份。
  当然啦,除了这个经验,还有其它很多经验,具体参见:
《为啥朝廷总抓不到俺——十年反党活动的安全经验汇总》


★安全工具


◇几款主流的【密码管理器】都有安全缺陷


  下面是由 ISE(Independent Security Evaluators)发布的一篇挺详细的评估报告,涵盖了最常用的几款密码管理器(LastPass、KeePass、1Password、Dashlane)。
《Password Managers——Under the Hood of Secrets Management @ ISE》

  编程随想注:
  考虑到那篇报告很长,而且是洋文,俺简单说一下。
  几款主流密码管理器的缺陷,都与【内存】有关——比如说:有的软件居然把【主密码】(master password)以【明文形式】留在内存中。这么弱智的做法,一旦遭到【冷启动攻击】,攻击者就可以拿到主密码,进而拿到管理器中的所有密码。
  即使不考虑“冷启动攻击”,如果你的系统开启了【休眠功能】(大部分 Windows 系统都开启了),内存中的主密码(在休眠时)会被保存到硬盘的“休眠文件”中。因此,如果你遭遇了警方的【取证软件】,你的“主密码”(master password)同样有曝光的风险。
  引申阅读:
《如何用“磁盘加密”对抗警方的【取证软件】和【刑讯逼供】,兼谈数据删除技巧》

◇NSA 发布【逆向工程框架】——Ghidra


NSA 官网
Ghidra @ Github

  编程随想注:
  该软件本身能运行于 Windows、Linux、Mac OS 三大主流操作系统,可以分析多种处理器指令集。
  该工具仅限于政府内部使用。直到前几年,维基解密公布了美国国安局(NSA)内部资料(Vault7),这款工具才开始为人所知。
  另,
  该工具开源之后不久,被发现自身有安全漏洞,如今已修复。

◇Metasploit 发布5.0版本


  Metasploit 是大名鼎鼎的【渗透测试框架】,主要用于安全攻防人员。不了解的同学请看“维基百科”。
  这是它在【2011年】之后首次发布新版本(大版本)。增加的新特性参见“这个链接”。
  引申阅读:
  俺的网盘上分享了《Metasploit 渗透测试指南》,对这款工具感兴趣的同学,可以下载来读一读。


★操作系统


◇匿名操作系统的对比


《最好的匿名操作系统 @ Solidot》
安全研究员 David Balaban 对比了五个匿名操作系统:Tails OS,Whonix,Kodachi,Qubes 和 Subgraph,分析了各个系统的优缺点。Qubes 和 Subgraph 都是隔离应用来实现安全,它们其实不是为匿名设计的。Tails OS 基于 Debian,所有流量都经过 Tor,设计作为 Live CD 或 Live USB 使用,不在主系统留下痕迹,会话结束之后所有痕迹就抹掉了,它不适合作为一个永久性的操作系统使用。Whonix 也是基于 Debian,通过 VirtualBox 和 Tor 实现匿名,内置了大量应用,但不具有可携性,硬件需要也比较高。Kodachi 基于 Debian,通过 VPN 和 Tor 实现匿名,硬件需求不高,作者认为它是目前最好的匿名操作系统。

  编程随想注:
  如果你对安全性(包括隐匿性)要求很高,但又【不】擅长技术,上述对比可以供参考。
  对于擅长折腾的同学,俺建议选某个 Linux 或 BSD 的【成熟】发行版,然后根据自己的需要进行【高度定制】(裁剪),只留下自己需要的部分(从而把攻击面降到最低),然后再搭配上自己需要的加固措施。


★硬件与物理安全


◇Spectre & Meltdown 漏洞的普及性文章


《How the Spectre and Meltdown Hacks Really Worked @ IEEE》

  编程随想注:
  一年前(2018年初)曝光的 Spectre 和 Meltdown 在信息安全界可以称得上是【划时代】滴!因为其利用的是 CPU 的【设计缺陷】(而且还是【根本性】缺陷)。不熟悉这两个漏洞的同学,可以看维基百科的介绍(这里 和 这里)
  上述文章是专门研究这两个漏洞的三个学者在今年2月份撰写的【扫盲性质】文章,介绍漏洞的【原理】。
  由于这两个漏洞涉及到 CPU 的【根本性】缺陷,极难搞定(就像两个幽灵,会在未来几年不断困扰 IT 行业)。为了说明这点,再引述一篇今年2月份的报道:
《Google Researchers Say Software Alone Can't Mitigate Spectre Chip Flaws @ Slashdot》

◇针对 Intel 处理器的新型 Spoiler 攻击


《所有英特尔处理器面临新的 Spoiler 攻击 @ Solidot》
美国和德国的计算机科学家在预印本网站 ArXiv 上发表论文(PDF),披露了针对英特尔处理器的新攻击 SPOILER。他们在英特尔内存子系统私有实现中发现了地址推测的一个弱点,能透露内存布局数据,让翻转比特的 Rowhammer 攻击更容易执行。研究人员检查了 ARM 和 AMD 处理器,但没有发现它们表现出类似的行为。新的漏洞很难在不重新设计处理器微架构的情况下修复或缓解。Spoiler 攻击不同于 Spectre 攻击,它无需提权就可以在用户空间利用。研究人员称,Spoiler 大幅加快了 Rowhammer 和缓存攻击。Rowhammer 翻转比特攻击影响所有处理器,但要利用 Rowhammer 你可能需要花费数周时间,而在 SPOILER 的帮助下,攻击将可以在数秒内完成,Rowhammer 攻击将变得切实可行。

  编程随想注:
  简单扫盲一下【Row Hammer 攻击】
  如今的集成电路,集成度越来越高;当集成度高到一定程度,【相邻】的内存单元就有可能出现电磁影响。这种攻击就是利用相邻内存单元之间的电磁影响,在进行足够多的访问次数后,让某个比特的值发生改变(0与1互换)。因此也被称为“比特翻转”(洋文叫“bit flipping”)。
  假如攻击者能够修改某些【关键的比特位】,就可以实现【权限提升】或【代码执行】。
  在硬件层面引入 ECC(error-correcting code),可以【部分防止】这种内存错误;但某些精心构造的“Row Hammer 攻击”能绕过 ECC 的防护机制。

◇超微(Super Micro)主板的 BMC 后门


《超微服务器主板组件爆漏洞 @ 新浪》
这项漏洞是出现在超微主板上的基板管理控制器(baseboard management controller, BMC)上。BMC是一个具高度权限的组件,提供多种接口,包括系统接口、IPMB接口、LAN及Serial/Modem接口,可让数据中心管理员通过智能平台管理接口(Intelligent Platform Management Interface, IPMI)指令远程执行、或在服务器不开机状态下安装操作系统、安装修改app、或对多台服务器变更状态。然而由于BMC提供的接口对系统内、外部来的IPMI指令欠缺足够验证,因此常被用来传送恶意IPMI指令、或遭恶意软件挖掘BMC漏洞。
......
Eclypsium研究人员挑选IBM的SoftLayer云裸机服务进行了概念验证攻击,原因是SoftLayer服务执行在超微服务器上。IBM SoftLayer的裸机云服务提供企业客户租用,服务期满客户资料删除后,可以再租给下一家企业。在实验中,研究人员租用了SoftLayer服务、在其Supermicro的BMC上修改了一些程序代码,开了一个名为Cloudborne的后门,并且在其BMC的IMPI界面中新开另一个用户账号。之后再将服务还给IBM,又再租了新服务。
研究人员发现,在转换客户期间,IBM SoftLayer的确进行了回收(reclaimation)过程,将多的账号清掉,但是BMC被植入的后门还是在,显示并未经过刷新。研究人员表示,结合漏洞让黑客得以利用后门读取托管在同一台服务器上的新企业客户的云环境,以窃取数据、发动Dos攻击,或是植入任何恶意软件。

  编程随想注:
  俺在去年底的博文《每周转载:盘点一下贸易战爆发后的【中美对抗】(2018年4季度)》,提到了如下:
《彭博商业周刊》报道称——
在中国组装的超微主板被植入了恶意芯片,黑客借此渗透了美国政府和大型企业的数据中心,受影响的企业包括了亚马逊和苹果。

编程随想注:
到俺写本文为止,这几家公司(超微、亚马逊、苹果)都发表声明予以否认。此事目前有争议,尚未定论。
从技术上讲,这么做是【可行】滴。硬件层面的安全漏洞能规避操作系统的安全防护机制。
  如今,超微主板的 BMC(基板管理控制器)被发现有缺陷,可以被攻击者用来留下后门。而超微的某些主板是在咱们天朝组装滴。
  这两件事情,很容易让人产生联想。

◇隐藏在 USB 线里的 WIFI


《隐藏在 USB 线里的 WIFI @ Solidot》
你可能认为 USB 线没什么可怕的,大多数人都会随身带些 USB 线以方便给便捷式设备充电或访问设备内部资料,但如果看起来一模一样的 USB 线包含了隐藏的后门?你插上之后就容易遭到网络攻击?
安全研究员 _MG_历时一个月制作的O.MG Cable,将 WIFI 微控制器秘密安装在 USB 连接器内,能通过 USB 设备发送载荷,实现远程控制。


★安全编程


◇微软产品的漏洞,有【七成】源自“内存问题”


《Microsoft: 70 percent of all security bugs are memory safety issues @ ZDNet》

  编程随想注:
  熟悉 C/C++ 的“程序猿/程序媛”,应该很清楚小标题所说的“内存问题”是指哪些。举个栗子:安全漏洞中大名鼎鼎的【缓冲区溢出】(包括“栈溢出”和“堆溢出”),都与内存问题有关。
  前几天,俺的网盘上分享了两本书,分别是:《C 语言安全编程规范》和《C++ 语言安全编程规范》。
  这两本书出自 CERT/CC,权威性应该是 OK 滴(在安全圈混的人,多半都听说过 CERT)。

◇哪些编程语言的漏洞更多?


《Which Programming Language Has The Most Security Vulnerabilities? @ Slashdot》
Across the seven most widely-used programming languages, here's how the vulnerabilities were distributed:

C (47%)
PHP (17%)
Java (11%)
JavaScript (10%)
Python (5%)
C++ (5%)
Ruby (4%)

  编程随想注:
  上述统计只针对【7种】流行的编程语言,统计数字来自 TechRepublic 网站。(经热心读者提醒:TechRepublic 网站的数据又是源自 WhiteSource 网站的这个链接,特此说明)
  C 语言占了接近一半,这在意料之中(参见前一个小节)。C++ 的漏洞显著低于 C,这很大程度得益于 C++ 标准库中提供了很多“类/模板”(比如:string、vector、shared_ptr),可以封装原始类型,尤其是指针类型。作为对比,C 语言经常要【显式】进行内存分配/释放。而在 C++ 中,很多内存分配/释放变为【隐式】(在封装库内部完成)。
  另,
  C++ 的漏洞比例竟然【低于】Java 和 JS,俺还是有点小小的惊讶 :)


俺博客上,和本文相关的帖子(需翻墙):
《为啥朝廷总抓不到俺——十年反党活动的安全经验汇总》
《如何保护隐私》(系列)
《如何防止黑客入侵》(系列)
《如何隐藏你的踪迹,避免跨省追捕》(系列)
《“对抗专制、捍卫自由”的 N 种技术力量》
《如何用“磁盘加密”对抗警方的【取证软件】和【刑讯逼供】,兼谈数据删除技巧》
《对比4种强化域名安全的协议——DNSSEC,DNSCrypt,DNS over TLS,DNS over HTTPS》
《扫盲 DNS 原理,兼谈“域名劫持”和“域名欺骗/域名污染”》
《弃用 Chrome 改用 Firefox 的几点理由——关于 Chrome 69 隐私丑闻的随想》
《数字证书及 CA 的扫盲介绍》
《CNNIC 证书的危害及各种清除方法》 +
+ +
+ + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/09/weekly-share-137.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/09/weekly-share-137.html" new file mode 100644 index 0000000000000000000000000000000000000000..04387bbd8beeea1e92de54f4e1d3dd99379721ea --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/09/weekly-share-137.html" @@ -0,0 +1,26 @@ + + + + + + + +每周转载:香港“反送中”政治抗议活动大事记(8月初至9月初) - 编程随想的博客 + + +
+

每周转载:香港“反送中”政治抗议活动大事记(8月初至9月初)

+ +
+
+  这篇博文距离上一篇【不到48小时】——这可能是本博客近几年来,最短的一次“发博时间间隔”。
  首先,港府在9月4日宣布撤回《逃犯条例》,是一次重要的阶段性胜利(当然,这事儿还没完);其次,也要感谢几位热心读者在前一篇博文的催促。
  顺便说一下:虽然上一篇博文是9月4日傍晚时分发的,但那天俺在汇总电子书,没有留意此新闻。否则的话,应该会先发这篇。



  本文汇总【8月初至9月初】的“反送中运动”大事记。
  10月~11月的汇总,请看:《每周转载:香港“反送中”政治抗议活动大事记(10月至11月)》
  9月初~10月初的汇总,请看:《每周转载:香港“反送中”政治抗议活动大事记(9月初至10月初)》
  7月初~8月初的汇总,请看:《每周转载:香港“反送中”政治抗议活动大事记(7月初至8月初)》

  为了防止某些人故意抬杠,再次贴出如下【声明】。
  事先声明:
  由于真理部的严厉审查和舆论导向,在【墙内】只能看到(有利于朝廷的)一面之辞。所以,本文的转载,会更侧重【另一面】之辞。


★8月9日:盂兰烧衣晚会


  该活动的全称是“全港超幽布施祈褔除恶盂兰烧衣晚会”,以烧衣方式为香港祈福。
  此次集会属于【宗教集会】性质,不需要向官方申请“不反对通知书”。

不见图 请翻墙
(香港市民在沙田坳道和睦邻街的十字路口烧街衣。照片来源:蘋果日報)

不见图 请翻墙
(香港市民出席黄大仙盂兰烧衣晚会。照片来源:蘋果日報)

不见图 请翻墙
(“民主自由殉道义士灵位”。照片来源:蘋果日報)

不见图 请翻墙
(现场军警如临大敌。照片来源:蘋果日報)


★8月11日:深水埗游行”


  此次游行又称“8.11港岛东大游行”,由香港深水埗区和东区的民众自发举行。
  游行民众要求香港特区政府回应【五大诉求】——
1、撤控示威者
2、取消暴动宣称
3、追究开枪责任
4、按议事规则撤回修例
5、实行双普选

  当日多处发生冲突。医院管理局公布有45人在示威活动中受伤,包括31男/14女,年龄介乎8~56岁。

《香港警察近距离施放催泪弹和示威者装扮引发争议 @ BBC/英国广播公司》
不见图 请翻墙

正当香港示威者被批评行为超出“和平、理性、非暴力”时,警方也被指加大镇压力度以及改变执法策略,
追捕示威者时在地铁站近距离向正在撤退的示威者发射胡椒弹以及在地铁站内施放催泪弹,波及站内乘客和职员。
此外,警方还被指乔装成黑衣示威者,混入人群协助搜捕示威者。

......

《警港鐵站施催淚彈 胡椒彈兩米內射人 人權團體:嚴重違指引 不符最低武力 @ 明報》
【明報專訊】昨日的深水埗及銅鑼灣反修例示威,演變為多區快閃圍堵行動,警方改變佈防與示威者對峙策略,驅散之餘大舉武力拘人:在港鐵葵芳站,有警員向閘內示威者發射催淚彈及橡膠子彈;在太古站,有防暴警察在約兩米內向示威者連續開槍發射胡椒彈;在銅鑼灣,有無戴委任證、黑衣裝扮的疑似警察,在示威者人群中現身拘人(見另稿)。昨日多名示威者頭破血流,亦有一名警員被燒傷。人權團體強烈譴責警方室內發射催淚彈,稱是極度危險,嚴重違反指引,「完全不合符警方聲稱最低武力原則」。

不见图 请翻墙
(太古站。防爆警察手持胡椒球枪,在不足一米内扫射;并狂殴倒地的示威者。照片来源:立場新聞)

不见图 请翻墙
(香港深水埗警署外的抗议者。照片来源:纽约时报)

不见图 请翻墙
(防暴警察在深水埗区发射催泪弹。照片来源:纽约时报)

不见图 请翻墙
(北角地铁站的黑衣示威者。照片来源:香港01)

不见图 请翻墙
(黑衣示威者在鲗鱼涌站布下“伞阵”。照片来源:香港01)

不见图 请翻墙
(维园的集会者。照片来源:香港01)

不见图 请翻墙
(维园的集会者,举着民主的标语牌。照片来源:香港01)

不见图 请翻墙
(维园的集会者,举着谴责警黑勾结 无惧白色恐怖的标语牌。照片来源:香港01)

不见图 请翻墙
(维园的集会者,连折扇都写着我要真普选。照片来源:香港01)

不见图 请翻墙
(铜锣湾的示威者。照片来源:香港01)

不见图 请翻墙
(朝廷喉舌《大公报》门口的示威者。照片来源:香港01)

不见图 请翻墙
(警方在“新民党总部、中国海外大厦”周边施放催泪弹。照片来源:香港01)

不见图 请翻墙
(“路人甲”受催泪弹波及,示威者帮助清理。照片来源:香港01)

不见图 请翻墙
(铜锣湾街头,有多人被捕。照片来源:香港01)

不见图 请翻墙
(北角街头,警方拘捕一名女性示威者。照片来源:香港01)


★8月9日~13日:万人接机集会(塞爆机场)


  7月26日已经在香港国际机场举行过抗议活动。当时叫:“和你飞”集会。(参见之前的博文)
  从8月9日开始的机场抗议活动,叫做:“万人接机”集会。通俗的说法就是:“塞爆机场”。套用信息安全行业的术语就是:“拒绝服务攻击/DoS”。
  活动一直持续到13日,大量航班被取消。机管局行政总裁林天福在14日举行的记者招待会表示:过去两天,有将近一千个航班被取消。
  13日晚间,机管局向法庭申请“临时禁制令”,得到批准。14日下午2时开始执行。

不见图 请翻墙
(上万名示威民众挤满候机大厅。照片来源:维基百科)

不见图 请翻墙
(上万名示威民众挤满候机大厅。照片来源:维基百科)

不见图 请翻墙
(上万名示威民众挤满候机大厅。照片来源:维基百科)

不见图 请翻墙
(机场与市区的公共交通超负荷,几乎瘫痪。某些民众采用【徒步】方式进入机场。照片来源:维基百科)

不见图 请翻墙
(抗议者用行李车阻断离境通道。照片来源:维基百科)

不见图 请翻墙
(抗议者用行李车阻断离境通道。照片来源:香港01)

不见图 请翻墙
(大量航班被取消。照片来源:维基百科)

不见图 请翻墙
(抗议民众在机场展示标语牌:光复香港 时代革命。照片来源:香港01)

不见图 请翻墙
(在机场席地而卧的抗议民众,以及身上的标语牌。照片来源:香港01)

不见图 请翻墙
(连续多日坚守机场的抗议民众,直接睡在那里。照片来源:香港01)


★8月13日:(深圳公安)徐锦炀遇袭事件


  此事发生于年8月13日晚间。名为“徐锦炀”的内地人士在香港国际机场参与抗议示威。但他的行为举止引发示威民众的怀疑。示威民众通过网络查出深圳市公安局也有一个同名同姓的“徐锦炀”(请注意,这个姓名【不】常见)。
  然后此人被示威民众包围长达5个小时,并遭到殴打;之后被香港警方救走。以下是台湾《自由时报》的报道:

《又是無間道?疑中國公安喬裝示威者遭識破 @ 自由時報》
近來,香港警察「臥底」成反送中示威者,引發輿論譁然。今日示威者再度集結至香港機場宣傳時,甚至發現疑為中國的公安喬裝成示威者混在示威者中。另有一名男子也被懷疑為公安,雖然他矢口否認自己公安的身份,僅稱是來港工作,不過並沒有取信於群眾,而將該名男子留在現場。

昨(12)日香港警方公開證實,有警員「喬裝」成「不同人士」,混入示威群眾之中。為了防範警方勢力滲透,香港網友還製作文宣教授「如何辨識便衣」。

根據臉書粉絲專頁「龍獅報」發佈的照片,在機場集會的示威者要求該名被懷疑是便衣的男子出示證件,經查該男子的「往來港澳通行證」後確認其為中國廣東人。網友隨後在「深圳市公安局第二批輔警招聘政審合格人員名册」中的福田分局轄下,發現同樣有一公安與該男子同名。

不见图 请翻墙
(深圳市公安局福田分局的花名册中查到【徐锦炀】。照片来源:《自由时报》转自 Facebook)

不见图 请翻墙
(徐锦炀的证件。照片来源:《自由时报》转自 Facebook)

不见图 请翻墙
(徐锦炀的另一个同伙逃走,香港民众在此人的手提袋中发现双截棍。照片来源:《自由时报》转自 Facebook)


★8月13日:(北京国安)付国豪遇袭事件


  此事有点类似于前面的“徐锦炀事件”。话说臭名昭著的《环球屎报》有个记者叫“付国豪”,他在香港机场采访时,拿不出记者证,被怀疑是卧底;然后被其他示威者殴打,以及索带捆绑手脚。期间,香港立法会民主派议员郭家麒和张超雄前往调停,呼吁放人。

不见图 请翻墙
(被捆绑手脚的付国豪。照片来源:自由亚洲电台)

  此事在国内媒体中被大肆宣传。但国内媒体避而不谈付国豪的【双重身份】。

  当时从付国豪身上搜出了一张英文姓名为 FU HAO 的民生银行信用卡。经过网民的人肉搜索,此人同时有两张民生银行信用卡,姓名分别为“Fu, GuoHao”(付国豪)和“FU HAO”(付豪)。外媒记者还特意采访了民生银行的工作人员。民生银行回复说:除了军官可以凭军官证办理,任何人办理银行账户都需要提交第二代身份证原件,并且内容要和警方系统内容一致。
  经过人肉搜索还发现:根据他的身份证查到的北京住址,是万寿路一处归属于【国安部四局】的集体宿舍(参见如下照片)。如此一来,就很清楚了——国安部的特殊人员(比如涉外情报员),当然可以披着多个“马甲”,并持有多张不同姓名的身份证。

  本来国内媒体大肆渲染此事,以证明香港的抗议者是“暴徒”。但在【双重身份】曝光之后,国内的相关报道,突然就降温了。

不见图 请翻墙
(付国豪随身携带物品。照片来源:Twitter)

不见图 请翻墙
(根据付国豪的身份证,查到其住址为【国安部四局】集体宿舍。照片来源:Twitter)

编程随想注:
“国安部四局”又称【台港澳局】。专门负责“台湾、香港、澳门”三地的情报收集工作。更多详情请看如下这篇:
《八卦一下天朝党政军的情报机构》


★8月18日:“煞停警黑乱港 落实五大诉求”集会(第7次“周日大游行”)


  这是“民阵”(民间人权阵线)发起的第七次反送中大型集会。主要口号是【煞停警黑乱港 落实五大诉求】。
  民阵原计划由维多利亚公园游行到中环遮打道,但因警方对游行路线发出“反对通知书”;因此,民阵改为在维多利亚公园举办“流水式集会”。
  民阵称:有170万人于铜锣湾、天后及维园一带参与集会(未能进入该范围的集会市民不被计算在内);
  警方称:最高峰有12.8万人同时参与集会(警方表示:该数字并不包括维园外的参与者,只反映维园内某一刻的人数)

  这次游行的最大特点是:在“反送中运动”开展之后,首次有大型集会以【和平方式】完成全过程。警方与抗议民众没有出现冲突,示威者在凌晨时分自行散去。

不见图 请翻墙
(照片来源:立場新聞)

不见图 请翻墙
(集会人士冒雨行经波斯富街。照片来源:维基百科)

不见图 请翻墙
(告士打道出现双向人潮,有部分人东行往维园,另一部分西行往中环。照片来源:立場新聞)

不见图 请翻墙
(【中联办】附近,西营盘干诺道西高乐花园一带,有大批防暴警察戒备。照片来源:立場新聞)

不见图 请翻墙
(铜锣湾一带突然下大雨,市民撑伞继续游行。照片来源:立場新聞)

不见图 请翻墙
(怡和街、轩尼诗道一带。照片来源:立場新聞)

不见图 请翻墙
(当日下午,示威民众经过铜锣湾崇光百货。照片来源:端傳媒)

不见图 请翻墙
(法律界团体“法政汇思”7名历任召集人一同出席反送中集会。照片来源:立場新聞)

不见图 请翻墙
(台湾人陈先生手持台湾快闪 香港加油的标语牌,在现场表示支持。照片来源:立場新聞)

不见图 请翻墙
(示威者在喷涂标语。照片来源:端傳媒)

不见图 请翻墙
(深夜时分,仍留守在金钟的示威者。照片来源:端傳媒)

不见图 请翻墙
(示威者用激光笔照射警察总部建筑。照片来源:立場新聞)

不见图 请翻墙
(解放军驻港部队大楼内,有人被激光笔照射。照片来源:立場新聞)


★8月23日:香港之路


  这天正好是【波罗的海之路】30周年纪念日。
  当年,苏联境内的三个波罗的海沿岸国家(立陶宛、拉脱维亚、爱沙尼亚)的民众为了举行了一次大规模的和平示威,当年大约有200万人参与,组成了一道长达600公里的【人链】。(关于这事儿,俺曾经在博文《苏联是如何被慢慢勒死的?——聊聊冷战中美国的遏制战略》中聊过)
  如今,香港民众效仿这种抗议模式,也发动大量民众组成【人链】,跨越香港各区——沿港铁荃湾线、观塘线及港岛线穿过香港岛及九龙。原定长度45公里,后来参与人数超出预期,扩展到60公里长。

不见图 请翻墙
(“香港之路”地图。图片来源:维基百科)

不见图 请翻墙
(位于尖沙咀星光大道的“香港之路”。照片来源:维基百科)

不见图 请翻墙
(市民登狮子山,筑人链。某市民表示:狮子山代表香港人打不死的精神。照片来源:维基百科)

不见图 请翻墙
(乐富横头磡东道的“香港之路”。照片来源:维基百科)

不见图 请翻墙
(旺角弥敦道与山东街交界的“香港之路”。照片来源:维基百科)

不见图 请翻墙
(铜锣湾崇光百货对面的“香港之路”。照片来源:维基百科)

不见图 请翻墙
(鲗鱼涌康怡广场对面的“香港之路”。照片来源:维基百科)

不见图 请翻墙
(联合道靠近香港浸会大学的“香港之路”。照片来源:维基百科)


★8月25日:荃葵青大游行


  此次游行于荃湾区和葵青区举行。起点位于葵涌运动场,途经葵福路、杨屋道等道路,终点位于荃湾公园。
  此次抗议活动中值得一提的是——
示威者在二陂坊一带与数名警员爆发冲突。警方事后证实:有穿军装的警员开枪。这是在“反送中运动”中警方首次开【真枪】。
《示威者持棍追打 警轟實彈第一槍 一度槍指記者 踢開跪地勸阻市民 @ 明報》
  另外,警方当日晚间拘捕了一名【12岁】男童,来自“岭南衡怡纪念中学”。此人成为“反送中运动”以来,年纪最小的被捕人士。

不见图 请翻墙
(游行路线图。图片来源:维基百科)

不见图 请翻墙
(游行俯视图。图片来源:立場新聞)

不见图 请翻墙
(集会人士冒雨行经杨屋道。图片来源:维基百科)

不见图 请翻墙
(尖沙咀警署附件的示威者。图片来源:立場新聞)

不见图 请翻墙
(尖沙咀街道警民对峙。有传闻指图中白衣警员曾经向天开枪,目前尚未证实。图片来源:立場新聞)

不见图 请翻墙
(警方在杨屋道施放多枚催泪弹,现场烟雾弥漫。图片来源:立場新聞)

不见图 请翻墙
(警方在杨屋道施放多枚催泪弹,示威者以汽油弹和激光笔还击。照片来源:维基百科)

不见图 请翻墙
(防暴警员在联仁街戒备。照片来源:立場新聞)

不见图 请翻墙
(警员举枪期间,一名中年突然张开双臂,跪下在警员面前喊“不要(开枪)!”。之后被警员一脚踢开。照片来源:维基百科)

不见图 请翻墙
(警员踢倒下跪者的照片;以及警方发言人的表态。图片来源:立場新聞)


★8月25日:“还警于民”集会


  该集会由“警员亲属连线”发起,人数不多,大约500人。提出的诉求是:
政治问题,政治解决
重整警队不良风气
成立市民与警察真诚沟通平台
警员克己自律,保护市民
成立全面独立调查委员会

不见图 请翻墙
(照片来源:立場新聞)

不见图 请翻墙
(该示威者是某警察的儿子,其标语牌强调【牢记警察誓言】。照片来源:立場新聞)

不见图 请翻墙
(“警员亲属连线”发起人 Sunny。照片来源:立場新聞)


★8月31日:831大游行


◇缘由


  此次游行源于——抗议【831决定】5周年。
  所谓的【831决定】是天朝的全国人大在2014年8月31日通过的《全国人民代表大会常务委员会关于香港特别行政区行政长官普选问题和2016年立法会产生办法的决定》(不得不感叹:这个标题又臭又长)。
  当年的“831决定”,也就是日后“雨伞运动”的直接导火索。当时港府的“政改三人组”分别是:林郑月娥(政务司司长)、袁国强(律政司司长)、谭志源(内地事务局局长)。而且这个三人组中,牵头的家伙就是如今这个【妖蛾子】。

◇关于“动用《紧急法》”的传闻


  游行前的那几天,坊间一直有传闻说:港府会动用《紧急情况规例条例》。
  这个传闻【不是】空穴来风。比如说:作为朝廷喉舌的《坏球时报》已经在游行前2天(29日)发了一篇社论,文中称:探讨动用《紧急法》是香港社会朝着依法止暴制乱迈出的正确一步。
  这个“紧急法”是个什么玩意儿?下面是台湾媒体的扫盲:
《小檔案:香港緊急法——緊急情況規例條例 @ 自由時報電子報》

◇警民冲突


不见图 请翻墙
(尖沙咀街头的抗议民众。照片来源:香港01)

不见图 请翻墙
(湾仔街头,抗议民众破坏朝廷喉舌《大公报》的招牌。照片来源:香港01)

不见图 请翻墙
(湾仔街头,民众与警方对峙。照片来源:香港01)

不见图 请翻墙
(湾仔街头,警方动用水炮车驱散人群。照片来源:香港01)

不见图 请翻墙
(湾仔街头,一男一女两名示威者被警方拘捕。照片来源:香港01)

不见图 请翻墙
(铜锣湾街头,警方驱散抗议民众,某抗议者用燃烧瓶还击。照片来源:香港01)

不见图 请翻墙
(铜锣湾街头,警方驱散抗议民众,某抗议者用燃烧瓶还击。照片来源:香港01)

不见图 请翻墙
(铜锣湾街头,警方动用水炮车。照片来源:香港01)

不见图 请翻墙
(在【中联办】周围待命的水炮车。照片来源:香港01)

不见图 请翻墙
(圣约翰教堂附近,参与抗议的基督徒。照片来源:香港01)

不见图 请翻墙
(抗议者在湾仔警察总部附近焚烧杂物。照片来源:香港01)

不见图 请翻墙
(抗议者在湾仔警察总部附近焚烧杂物。照片来源:香港01)

不见图 请翻墙
(抗议者在湾仔警察总部附近焚烧杂物。照片来源:香港01)

不见图 请翻墙
(警方从政府总部的高楼向下发射催泪弹。照片来源:香港01)

不见图 请翻墙
(警方从政府总部的高楼向下发射催泪弹。照片来源:香港01)

不见图 请翻墙
(警方首次动用“有颜色”的水炮车。照片来源:香港01)

不见图 请翻墙
(警方首次动用“有颜色”的水炮车。照片来源:香港01)

不见图 请翻墙
(抗议者在躲避催泪瓦斯。照片来源:纽约时报)

不见图 请翻墙
(抗议者在躲避催泪瓦斯。照片来源:纽约时报)

◇警方人员伪装成“示威民众”


不见图 请翻墙
(身穿黑衣,手持胡椒枪的警员,上臂有蓝色荧光标记。照片来源:香港01)

不见图 请翻墙
(身穿黑衣,手持胡椒枪的警员,上臂有蓝色荧光标记。照片来源:香港01)

不见图 请翻墙
(身穿黑衣,手持胡椒枪的警员,上臂有蓝色荧光标记。照片来源:香港01)


★8月31日:太子站袭击事件


  此事被称作:“元朗袭击事件”的警察版。事情起因于——政见不同的民众于观塘线车厢内口角并起冲突。防暴警察到来后,无差别袭击车厢内乘客。现场一片混乱。
  警方以“封锁罪案现场”的名义,驱离记者和救护人员;期间有急救员被捕。
  整个过程中,警方共拘捕63人,年龄介乎13至36岁。

不见图 请翻墙
(此事的标志性照片:一对男女乘客被打得跪地求饶,仍遭到胡椒喷雾。照片来源:维基百科)

不见图 请翻墙
(防暴警察进入站台,袭击乘客。照片来源:香港01)

不见图 请翻墙
(防暴警察进入车厢,袭击乘客。照片来源:香港01)

不见图 请翻墙
(在太子站出口外等候的救护人员。据拍摄照片的记者估算,至少等了30分钟。照片来源:香港01)

不见图 请翻墙
(受伤民众。照片来源:香港01)

  (编程随想注:下面这篇是“前学联副秘书长”岑敖暉发表的评论,对比“8-31太子站袭击事件”与“7-21元朗袭击事件”)
《岑敖暉:八三一恐襲比七二一恐襲可怕上千倍 @ 香港獨立媒體》
這是一場比七二一恐怖上千百倍的國家級恐怖襲擊。

721班白衫之所以可以這樣為所欲為,主要是因為有政權的武裝系統撐腰。但事後因為警暴處不敢再撐他們,已經通通成為了condoms,再也沒可能有721這樣為所欲為的機會。
而且向他們還擊,進行自衛,在法律上也是容許的。

但今晚參與襲擊的恐怖份子,是香港警察,在憲政上是屬於能合法持槍、持械的軍事部隊。
跟黑社會不同:
一、牠們事後不但不會被控「傷人」或「暴動」,反而會向牠們攻擊的對像控告暴動罪;
二、牠們是合法持械;
三、牠們「合法」可以肆意使用武力;
四、向牠們還擊,進行自衛,在法律上會觸犯暴動罪、傷人罪及襲警罪;
五、牠們可以隨時上門拘捕你,可以把你丟上法庭,送入牢獄;
六、牠們是為所欲為的暴獸,蒙面、持械、受法律保護、受制度所愛、受十三億人民擁戴。

所以,不要再問跟七二一有甚麼分別,分別超大:
平民發動的恐襲 vs 國家級武裝力量發動的恐襲。

後者必然是嚴重和可怕千百倍。被襲的對像甚至會被告暴動罪。
很多次有衝動這樣說,但又不敢這樣說,今晚相信可以很合理地這樣說了:
今時今日的香港警察,與納粹德國的親衛隊,性質已經是很相似了。

《香港831汽油彈、水炮車徹夜激戰 警無差別打人稱「適當武力」 @ 民報》


★9月2日:大专学界发起【罢课两周】


不见图 请翻墙
(3万人出席在中文大学百万大道举行的罢课集会。照片来源:德国之声)

不见图 请翻墙
(学生穿着示威防具到香港中文大学出席罢课集会。照片来源:德国之声)

不见图 请翻墙
(主办方表示:来自230所中学,超过4000名学生出席【中学生罢课集会】。照片来源:德国之声)

不见图 请翻墙
(玛丽医院的医护人员响应学生罢课,有400人在医院外组成人链。照片来源:德国之声)


★9月4日:正式宣布撤回《逃犯条例》


  (注:经热心网友提醒,更严谨的说法是——在立法会复会后,发起撤回动议)

不见图 请翻墙
(香港特首林郑月娥9月4日发表电视讲话。照片来源:RFI/法广)

不见图 请翻墙
(“妖蛾子”首度认怂。照片来源:路透社)

《林郑月娥宣布撤回《逃犯条例》修订 “四项行动”回应“五大诉求” @ BBC/英国广播公司》

《林郑月娥真的向香港人民让步了吗? @ 纽约时报》

《林郑月娥撤回《逃犯条例》,但北京强硬立场没有改变 @ RFI/法广》

《香港特首正式撤回逃犯条例修订 抗议者坚持五大诉求缺一不可 @ VOA/美国之音》

《林郑月娥让步后,香港抗议会继续吗? @ 纽约时报》
(编程随想注:以下是此文的摘录)
......

尽管林郑月娥在修例上做出了让步,但示威活动可能还会继续下去。林郑月娥周三做出宣布之后,许多抗议者在社交即时短信群和在线论坛上誓言,将继续走上街头,指出他们的口号是“五大诉求,缺一不可”。
抗议者的五项诉求是:正式撤回修订《逃犯条例》,对警方反应展开独立调查,赦免被捕的抗议者,用直接选举来产生所有立法会议员和行政长官,以及不把6月12日的抗议活动定性为“暴动”。

尽管林郑月娥的决定可能有助于安抚部分抗议者,但专家说,这个决定不大可能让一小群年轻的示威者满意,他们已在最近几周变得更加激进。他们说,公众对林郑月娥决定的反应,可能最早会在本周末得到检验,因为规模最大、最具破坏性的抗议活动往往发生在周末。

最近几周,随着抗议者与警察之间的冲突加剧,示威活动的焦点已经转移到警察暴力上,林郑月娥周三的做法可能被视为远远不够。“这可能会稍稍缓解愤怒情绪,但肯定不会让人们离开街头,”香港岭南大学研究当地社会运动的政治学助理教授袁玮熙说。

......

《若林郑月娥辞职,谁能成为下任香港特首? @ 纽约时报》
(编程随想注:以下是此文的摘录)
据知情人士透露,在政治方面,直到夏初之前,最受北京青睐的接班人人选是香港财政司司长、香港政府的三号人物陈茂波。因为在北京做出决定之前讨论这一问题的政治敏感性,这些知情人士坚持要求不具名。
陈茂波长期从事会计工作,是梁振英的门生。梁振英是一位坚定支持北京的房地产测量师,也是林郑月娥之前的香港行政长官。
据两位熟悉北京遴选过程的人士说,但香港的政治纠纷和暴力冲突大大降低了陈茂波出任的可能性。

......

林郑月娥和曾荫权在担任行政长官之前都曾任政务司司长。但有长辈风范的现任政务司司长张建宗已经68岁,接近退休年龄,对升迁没有表示过任何公开的兴趣。
张建宗拒绝接受采访。他的办公室今年夏天曾用电子邮件就记者关于他政治前途的问题发来一份简短声明称:“我们不回答推测性的问题,”声明还补充说,张建宗“一如既往地全心全意为香港人民服务,推动充满活力的香港向前发展”。
如果北京允许林郑月娥下台的话,张建宗将会担任署理行政长官。如果她在距离任期结束还有超过六个月的时间里下台的话,选出来的接替人选将完成她的任期。林郑月娥的任期将于2022年6月结束。

......

香港民主党前主席刘慧卿说,民主派人士希望北京也许可以选择曾担任环境局局长、现任商务及经济发展局局长的邱腾华。当被问及是否想当行政长官时,邱腾华响亮地回答:“不想!”
他解释说,他热爱香港的公务员制度,认为自己是一名行政人员。

多年来,在香港大学的民意调查中,其他几名前香港政府官员有很高的支持率,包括前政务司司长唐英年和前财政司司长曾俊华。另一名可能的人选是陈德霖,他担任香港金融管理局(相当于香港央行)总裁已有10年,将于今年秋季退休。

但这些前政府官员在北京可能没有足够被选中的人脉。唐英年是他们当中最经常被提及的可能继任者,他曾在2012年谋求行政长官一职,但未成功。唐英年通过一名发言人表示,他支持林郑月娥,自己无意再次争取当行政长官。

再就是叶刘淑仪。她领导着一个亲北京的政党——新民党,该党深受坚定提倡遵纪守法人士的欢迎。
叶刘淑仪是少数几名能够在大选中赢得立法会席位,而不是被某个行业或其他特别利益集团提名为立法会议员的亲北京政客之一。她也曾担任高级公务员,有着丰富的经验。


  编程随想注:
  港府正式宣布撤回《逃犯条例》,(对抗议民众而言)是一次重要的阶段性胜利。但这个事情还【没完】。
  自3月31日运动爆发,至港府宣布撤回,历经158天;由6月9日大游行开始计算则是88天。运动中提出的“五大诉求”仅有一项被正面回应。因此,运动【并未】结束!!!

  在本文的结尾,再次贴出之前引用过的打油诗:
台湾民众要努力啊,否则就变成香港!
香港民众要努力啊,否则就变成大陆!
大陆民众要努力啊,否则就变成朝鲜!
朝鲜民众要努力啊,否则就变成地狱!


俺博客上,和本文相关的帖子(需翻墙):
《每周转载:朝廷推香港版<国安法>,【一国一制】降临(外媒报道8篇)》
《变相的“全民公投”,垂死的“一国两制”——2019香港区议会选举随想》
《每周转载:香港“反送中”政治抗议活动大事记(10月至11月)》
《每周转载:香港“反送中”政治抗议活动大事记(9月初至10月初)》
《每周转载:香港“反送中”政治抗议活动大事记(7月初至8月初)》
《每周转载:香港“反送中”抗议活动的外媒报道(6月9日至6月15日)》
《每周转载:香港“反送中”抗议活动的外媒报道和网友评论(6月16日至6月22日)》
《每周转载:香港“占中民主运动”的外媒报道和【大量】照片(9月22日至9月28日)》
《每周转载:香港“占中民主运动”的外媒报道和【大量】照片(9月29日至10月2日)》
《每周转载:香港“雨伞革命”的外媒报道和【大量】照片(11月19日至12月2日)》
《每周转载:关于香港和澳门的特首选举(外媒报道和网友评论)》
《每周转载:关于“一国两制白皮书”和“国台办言论”(大量网友评论和图片)》
《每周转载:关于香港抗议洗脑教育(网文3篇,图片多张)》
《每周转载:关于朝廷对爱国主义的忽悠(网文5篇)》
《政治常识扫盲:理清“国家、政体、公民、政府、政党”等概》
《点评中国社会九大阶层——没有公平、难以流动、无法稳定》
《关于抹黑 Google——谈谈党国对舆论的操纵手法》
《台湾民主运动与独立运动简史》
《回顾“六四”》(系列)
《谈革命》(系列) +
+ +
+ + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/10/70th-anniversary-of-PRC.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/10/70th-anniversary-of-PRC.html" new file mode 100644 index 0000000000000000000000000000000000000000..9eb95e637129a26144baa861a7c7b20e276d2430 --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/10/70th-anniversary-of-PRC.html" @@ -0,0 +1,26 @@ + + + + + + + +“盛大庆典”难掩【内忧外患】——天朝沦陷70周年随想 - 编程随想的博客 + + +
+

“盛大庆典”难掩【内忧外患】——天朝沦陷70周年随想

+ +
+
+  应诸多热心读者的要求,俺在党国70大寿之际,发一篇原创的政治博文,作为献礼 :)
  本文继续俺长年【抹黑党国】的风格。想到哪写到哪,话题有点杂,大伙儿凑合着看。
  之所以【没】在“十一假期”发出,而是选择在长假后的工作日发这篇,是基于【传播学】因素的考虑——假期很多人都出去嗨皮,不一定会上网看文章。


★为啥本轮庆典的规模超过以往(50、60周年)?


◇习呆呆的【克里斯玛情结】


  本轮庆典,高潮部分当然是沦陷日当天的阅兵典礼。所以咱们先从阅兵式开始说起。
  呆呆上台才7年,就已经搞了【5次】阅兵(包括那次出洋相的“九三阅兵”)。
  一般来说,“专制政权”比“民主政权”更喜欢搞阅兵;如果同样都是“专制政权”,【个人独裁】式的专制,比“集体领导”式的专制,更喜欢阅兵式。一个典型的例子就是【北朝鲜】。这个奇葩的国家,以“阅兵式”闻名于世。从这个角度而言,咱们“西朝鲜”正在向“北朝鲜”看齐。
  【个人独裁者】为啥喜欢阅兵式捏?
  前不久(8月底)俺与读者在评论区交流时,正好谈到了【克里斯玛情结】。今天借此机会与大伙儿分享一下。
  “克里斯玛”出自洋文“charismatic authority”,俗称“魅力型权威”。
  这玩意儿是个政治学概念。出自著名思想家马克斯·韦伯的著作《经济与社会》。他在书中定义了3种“政治权威”(或者说,3种统治类型)。“克里斯玛型权威”是其中一种,另外两种叫做“传统型权威”和“法理型权威”。
  所谓的“传统型权威”——比如古代的帝王,其统治的民意基础来自于“血统”&“道统”。像三国中的刘备,总是唠叨自己是汉室宗亲,目的就在于此。
  所谓的“法理型权威”——比如成熟的民主国家,领导人由选举产生,同样具备民意基础(这种类型比较好理解,俺就不举例了)。
  【个人独裁者】所期望的【独裁】,是能够凌驾于法律和传统之上滴!所以,成功的个人独裁者,需要借助一种【全然不同】的统治权威,也就是所谓的“魅力型权威”。通过诉诸【个人魅力】,然后再配合舆论导向(尤其是洗脑式宣传),从而获得足够的民意支持。
  “魅力型权威”【不是】近代才有滴。古罗马出过好几个魅力型权威,大伙儿最熟悉的是“凯撒大帝”。
  “【近代】魅力型权威”与“【古代】魅力型权威”,两者的主要差别在于——由于工业革命之后的【科技进步】,有可能让【领袖魅力】投射到每一个民众心中,然后再配合【全方位的洗脑】,就可以达到古代人完全想象不到的牛逼效果。
  在这方面开风气之先,非希特勒莫属。希特勒的臭名昭著,大伙儿都晓得。但很多人没有意识到——希特勒在塑造【魅力型权威】方面是个天才。如今很多独裁政权惯用的把戏,其实都是源自纳粹党。比如很多专制国家(包括天朝)的阅兵式,都从纳粹宣传片《意志的胜利》中吸取灵感。
  正是基于上述这些原因,呆呆也想把自己打扮成【习特勒】。这就是他内心的【克里斯玛情结】。

◇阅兵式成为习二逼的“春药”


  可惜的是——呆呆虽然具有强烈的“克里斯玛情结”,但却【没有】相应的“克里斯玛权威”。请注意,这两者是完全【不同】滴!
  “克里斯玛情结”指的是某种【意愿】;“克里斯玛权威”指的是某种【能力】。很遗憾,习呆呆有意愿而无能力。说他【无能】,可没冤枉他哦!请看2年前(2017)的这篇博文:
《每周转载:习呆呆上台五周年,糗事一箩筐(图片及网友评论)》
  从上述博文可以看出——(别的能力先不谈)至少呆呆在“塑造克里斯玛”这方面,确实显得非常呆板。
  正是因为——习呆呆有意愿而无能力——这就如同“性无能的人”会更加渴望春药,而“阅兵式”就是他春药。他希望通过这类宏大的、充满仪式感的官方活动,来增加其个人魅力。
  只可惜,效果未必好——他实在太缺乏这方面的天赋了。别的不说,光看习二逼满脸赘肉,憨憨的模样,又如何能塑造“克里斯玛”?也难怪网友老是拿【维尼熊】来调侃他。下面补充几张图,加深大伙儿的印象:
不见图 请翻墙
不见图 请翻墙

◇另一个原因——真理部需要【粉饰太平】


  除了上面所说的(习呆呆本人急需春药);搞一场(相比60周年)【更大的】庆典还有另一个动机——【粉饰太平】。
  如今的天朝堪称【内忧外患】(具体有哪些,后面会聊到)。越是危机四伏,真理部就越是需要粉饰太平——这是 propaganda 的常见套路。
  (注:propaganda 一词很难贴切地翻译成中文。不论是翻译成“宣传”还是翻译成“政治宣传”都【不足以】表达该词汇内在的神韵)
  如果你还没明白上述这个道理,俺再举一个例子:
  最近这些年,朝廷喉舌经常在鼓吹“三个自信”。在2016年左右,又从“三个自信”升格到“四个自信”。这恰恰反映了:朝廷高层非常【心虚】(在2014年的这篇博文,俺已经吐槽过这点)
  用你的膝盖想一下:真正自信的人,需要经常唠叨自己很自信吗?


★为啥很多人(包括摆脱洗脑的人)被庆典【蒙蔽】?


  小粉红被庆典弄地很嗨,这个不奇怪。
  本章节要说的是——很多已经摆脱洗脑的人,过于【高估】70周年庆典的洗脑效果。

◇【幸存者偏见】导致的误判


  俺博客的读者应该都知道:墙内的舆论是【高度审查】滴!不和谐的内容,很快就会被干掉。能够在真理部的审查中【幸存】下来的墙内言论,要么与政治无关,要么是些歌功颂德。
  假如你依靠幸存下来的这些【墙内】言论,去评估墙内的民意,就成了典型的【幸存者偏见】。于是你就会产生一种幻觉——好像大家都在为庆典而亢奋。
  引申阅读:
《思维的误区:幸存者偏见——顺便推荐巴菲特最著名的演讲》

◇【墙外】舆论,同样会让你产生误判


  说到对【墙外】舆论的误判,很多人首先想到的是【网评员】(俗称“职业五毛”)。
  但网评员只是让你导致误判的原因之一。
  另一个原因在于——风险【不】对等。
  也就是说——在墙外发表【吹捧】朝廷的言论,完全【没有】风险;而发表【批判】朝廷的言论,会有一定的风险。
  由于这两者的风险不对等,同样会让你产生误判。

  因此,对【墙外】的政治言论,你要分别做【不同】的处理——
  吹捧朝廷的言论,其背后的实际人数要【缩小】好几倍(你要考虑到:很多是网评员写的)
  批判朝廷的言论,其背后的实际人数要【扩大】好几倍(你要考虑到:很多人敢怒不敢言)

  顺便说一下:
  俺这些年大量普及信息安全知识,尤其是信息安全中的【匿名术】,其中一个动机也在于此。
  掌握匿名术的网民越多,他们就越敢于在墙外发布【反共反党】的言论。
  引申阅读:
《为啥朝廷总抓不到俺——十年反党活动的安全经验汇总》
《如何隐藏你的踪迹,避免跨省追捕》(系列)

◇如何【更准确】地判断民意?——要“观其行”,【不要】“听其言”


  天朝有句老话叫做听其言而观其行,正好借用一下。这句老话说的是:不仅要听其言,而且还要观其行。
  俺进一步引申为——要“观其行”,不要“听其言”。
  前面已经说了:天朝的舆论生态已经被真理部彻底破坏了(如今的墙内舆论,可以称之为【变态的】)
  在咱们天朝,从来不缺【小聪明】之人。他们很快就适应了这种变态的舆论环境。反正在网上发表歌功颂德的言论,又没啥成本。这些小聪明也就乐得在 SNS(社交网络)上吹捧一下朝廷,没准还能博取一些点赞或打赏。
  在这种情况下,墙内的舆论已经完全失去了【舆论】本身应有的价值。在这种环境中,“听其言”已经没有意义了。
  因此,要【更准确】地判断民意,就需要观察【行动】(尤其是涉及到【切身利益】的行动)——
比如说:很多商界大佬虽然非常肉麻地吹捧朝廷,但老早就把资产转移到【海外的】“离岸家族信托基金”;
比如说:很多中产虽然在微信上发一些歌功颂德,但婴儿奶粉只买海外品牌,同时想尽办法把子女送到海外;
比如说:某些知名的【毛粉】,虽然高度吹捧北朝鲜,但他们【绝不会】把自己的子女送去北朝鲜。
......
(类似的例子,还可以列举一大堆)
  从涉及到【切身利益】的行动,就可以看出人心向背。


★天朝【短期】的内忧外患


(此处所说的【短期】指的是——10年以内)

◇中美贸易战


  俺把“贸易战”归类为【短期】的内忧外患。因为贸易战只是【表象】。
  贸易战导致的【后续效应】才是美国佬的潜台词。俺会在下一个章节“【长期】内忧外患”中具体聊。

◇非洲猪瘟与物价上涨


  这个话题,一年前(2018年11月)已经聊过,参见如下博文:
《扫盲非洲猪瘟,点评中国疫情》
  那篇博文提到的几点(如下),基本上应验了。
1. 非洲猪瘟在国内会失控
2. 非洲猪瘟会扩散到周边国家
3. 肉价会猛涨

  在去年那篇博文中,俺还详细分析了猪瘟为啥会传入天朝?其根源还是与贸易战有关。
  贸易战刚开打的时候,朝廷为了与美国佬较劲,对美国猪肉加关税。但天朝的猪肉需求是【刚需】,咋办捏?于是改从俄罗斯进口。
  朝廷那帮猪脑子官员也不想想——俄罗斯闹非洲猪瘟已经好多年了,而且疫情从高加索地区逐步扩散到西伯利亚,离东北边境已经不算太远。朝廷不但没有防控中俄边境的疫情,反而还大力引进俄罗斯猪肉制品。这下傻逼了吧?!
  贸易战初期,真理部老是忽悠说——美国佬打贸易战是“搬起石头砸自己的脚”。其实在猪瘟这件事上,天朝才是真正的【搬起石头砸自己的脚】。

◇香港抗议活动——政治危机的先兆


  近期香港的抗议活动,大伙儿应该都知道了吧?今年的“反送中政治抗议”,不论从【规模】还是从【烈度】,都已经超过了1989年的六四运动。自从毛腊肉嗝屁之后,咱们的朝廷还【没】碰到如此浩大的民间政治抗议。
  为啥俺说——香港是政治危机的【先兆】捏?因为“香港”有诸多特殊之处——
比如说:香港的法制,目前还保留了很大的【独立性】(注:但这种独立性正在丧失)
比如说:香港的金融地位,在天朝具有【不可替代性】(注:即使上海也无法替代香港的金融地位)
比如说:香港的互联网,目前还【没】被纳入 GFW 之内(注:至于未来如何,就不好说啦。上一篇博文有提到这方面的风险)
......

  正是由于香港具有这么多特殊之处,所以“伟光正”对香港的控制力度【显著低于】对内地的控制力度。
  当整个中国的社会危机逐渐积聚,会先在香港表现出来。
  打个比方:当火山临近下一次爆发时,火山口会先冒出一些岩浆和气体。因为“火山口”是整个火山最薄弱之处(而香港就是天朝的火山口)。
  要想阻止火山的爆发,除非让内部岩浆的压力降下来——这很难做到!
  要想阻止社会危机的爆发,也需要让内部的压力降下来——也就是“缓和社会矛盾”。这同样很难做到!
  对天朝而言,需要进行政治制度的【彻底】变革,才能缓和社会矛盾。而如今的天朝,已经形成了一个非常强势的【既得利益集团】,俗称“权贵”,就连习呆呆也来自权贵家族。这帮权贵是【不会】容忍政治体制变革滴!
  引申阅读:
《谈革命》(系列)

◇党内斗争的端倪


  虽然习呆呆一直很努力地要树立其掌门人的地位(用党刊的原话就是:【定于一尊】)。但到今年(2019)为止,他对伟光正的掌控能力,还有诸多欠缺。不论是与“毛腊肉”相比,还是与“邓矬子”相比,他对党的掌控能力都还差得很远。
  很多读者光看表象,觉得习特勒自己兼任一大堆“小组长”,看起来好象是大权在握。其实【恰恰相反】。
  当年毛腊肉,主要也就是抓住“党主席”和“军委主席”这2个宝座。
  后来的邓矬子甚至更进一步——胡/赵二人当总书记的时候,邓矬子只保留了一个“军委主席”,就可以凌驾于总书记之上(关键决策都要找他拍板);到了江蛤蟆当总书记的时候,矬子连军委主席的宝座也让给蛤蟆。但蛤蟆碰到重大决策,也还是要乖乖地找矮邓请示。
  通过上述对比可以看出:真正达到【高度掌控】,反而不需要兼任一大堆职务;兼任一大堆职务,正说明习呆呆——
1. 对权力的掌控程度还不足
2. 对其他高层还不够信任
3. 还没有足够多的亲信占据要职
......
  为了证明俺的论点,向大伙儿介绍一下:最近2个月,高层的一些微妙的动态。

  (9月3日)《习近平在中央党校中青年干部培训班开班式上发表重要讲话》
  这个讲话,通篇都在谈【斗争】。据某些好事者统计:15分钟讲了58次“斗争”。
  如果你觉得呆呆强调“斗争”是针对美国佬或香港抗议民众,那就把问题想简单啦。再来看下面这篇。

  (10月2日,阅兵次日)党刊《求是》发表:《推进党的建设新的伟大工程要一以贯之》
  请注意:这篇只是2018年1月的旧文,却选在大阅兵的【次日】在党刊发出,就特别意味深长。(朝廷喉舌新华网的【部分摘录】在“这里”)
  该讲话中最耐人寻味的是其中这句——敢于壮士断腕,防止祸起萧墙。
  不熟悉中国古代史的同学,可以去查一下【祸起萧墙】这个典故(顺便涨点知识)。
  结合上述这两篇,并且这两篇都是在谈【党建工作】。由此可见,9月初的讲话强调【斗争】,显然是针对【党内】。

  话说贸易战开打之后,习二逼蠢招迭出(其中的很多蠢招,俺都点评过,就不再重复了)。拖到2019年夏天,连香港也开始闹翻天了。但是,二逼在平息香港事态方面,简直可以说是【无所作为】。
  估计很多党内元老/重臣,对习二逼已经颇有微词。而且二逼可能也觉得权力受到威胁。所以才会在大阅兵的次日,通过党刊发出【壮士断腕 & 祸起萧墙】这么强硬的警告。
  至于俺这种长期的反党分子,当然是抱着看戏的心态——希望党内的狗咬狗,越激烈越好 :)


★天朝【长期】的内忧外患


(此处所说的【长期】指的是——持续10年以上)

◇“中美贸易战”引发的【产业链转移】


  关于“中美贸易战”导致的【长远】影响,首先要聊的就是【产业链转移】。
  在贸易战爆发之前,天朝充当了【世界工厂】的角色。为了打造世界工厂,(从九十年代开始)天朝大约花了10~20年的时间,完成产业链以及相关的基础设施。
  如今,受贸易战冲击,大量的跨国公司开始把产能转移到亚洲的其它国家。最明显的是越南(人口接近1亿),其次还有印尼(人口全球第4)、印度(人口很快就会超越中国)、泰国、等等。
  很多天朝的民众有一种【错觉】——他们觉得天朝花了10~20年才完成了相关的产业链布局。所以其它国家要取代天朝【世界工厂】的地位,也需要花同样长的时间。
  为啥说这是个【错觉】?因为低估了【科技发展】导致的差异。你要考虑到:九十年代天朝开始产业链布局的时候,互联网还【没有】普及。而如今,互联网已经高度普及。除了【互联网】这个差异,还有很多其它的差异(比如:自动化的普及)。
  所以,产业链转移的速度,会比很多人预料的【快得多】。

  【产业链转移】对天朝的影响非常严重。
  最近20多年,天朝经济依赖的是所谓的【中国模式】。通俗地说就是——通过压榨劳动力,使得天朝的制造业比其它国家具备足够大的【比较优势】。因此才确立了【世界工厂】的地位。
  “贸易战”加上“产业链转移”,将使得天朝难以保住【世界工厂】的宝座。与此同时,天朝还【没来得及】完成从“劳动密集型”向“知识密集型”的转变。请注意:这个转型的难度,比当年“布局产业链”要大得多。

◇从“产业链转移”到【脱钩】


  很多人有一个【误解】:以为美国佬搞贸易战,迫使产业链移出天朝,主要是为了让工作岗位回流美国。
  俺认为:这个企图,最多只是一个【附带】的目标,并不是主要目标。
  贸易战已经开打一年多了。很多迁出天朝的产能,并【没有】回流到美国,而是迁移到亚洲其它国家(关于这点,刚才已经聊过)。在这种情况下,美国佬依然在加大力度迫使产业链移出中国。这就足以说明——工作岗位是否回流到美国,不是重点(回流当然更好,没有回流也无所谓)
  美方的真实意图是【脱钩】。通俗地说就是——把【中国模式】排除在世界贸易体系之外。
  (为啥美国佬讨厌【中国模式】——俺的另一篇博文《“996工作制”只不过是【劫贫济富】的缩影——“马云奇葩言论”随想》已经分析过)
  另外,“脱钩”的想法也【不是】川普首创滴。早在奥巴马时代,美国佬就提出 TPP(全称“跨太平洋伙伴关系协议”)的设想。这玩意儿本质上就是【脱钩】,只不过手法更婉转一些而已。

  (顺便吐槽一下小粉红)
  当年川普竞选总统时,承诺上台后就废除 TPP 协议。所以川普刚刚当选,国内的一帮小粉红还挺高兴,觉得美国佬的 TPP 没戏了。后来捏,川普直接玩了一手更狠的(贸易战)。
  从此事也可以看出:很多小粉红太幼稚,看问题只看表象——正应了江蛤蟆那句“图样图森破”。

◇“贸易战”背后的【新冷战】


  俺博客上已经多次提到过:“贸易战”只是【中美对抗】的“开胃菜”。估计还有很多“主菜”还没上呢。
  肯定有些读者要关心——未来还有啥“主菜”捏?
  去年(2018)7月份,俺发了一篇《从量变到质变——中美关系40年》,末尾提到了一句:美国对付中国的策略,或许会类似于当年对付苏联,以【遏制】为主。
  俺担心读者们可能不明白啥是【遏制战略】,又在上述博文发布之后一个月(2018年8月)发了如下这篇:
《苏联是如何被慢慢勒死的?——聊聊冷战中美国的遏制战略》
  (没看过这两篇的读者,建议先去看看。即使你已经看过,重温一遍可以加深印象)

  为了说明如今已经是【新冷战】,给大伙儿举个例子:
  在去年(2018)10月20日,川普宣布——美国将要退出《中程导弹条约》。今年(2019)2月初,美俄两国分别宣布:【暂停】履行条约的义务——这意味着:该条约已经实质上作废了(注:正式作废是在今年8月初)。
  废除该条约,与咱们天朝有啥关系捏?俺在去年底的那篇《每周转载:盘点一下贸易战爆发后的【中美对抗】(2018年4季度)》,已经点评过,今天再次引用如下:
很多网民误以为:退出“中导条约”是为了针对俄罗斯。其实这只是一方面,更主要的动机是针对中国。
因为当年签署的《中导条约》只约束美国和苏联(俄罗斯是苏联的继承者),而中国【不】受该条约限制,可随意发展中程导弹。
(注:“中程导弹”不同于“洲际导弹”,留给防御方的预警时间【很短】)
美国一旦正式退出该条约,势必大力发展中程导弹,最终将引发“美、俄、中”三国的军备竞赛。【狂烧钱】。
俺猜测,美国退出该条约后,会在中国周边大量部属中程导弹。这种做法就如同——80年代初美国在西德大量部属【潘兴2中程导弹】。此举迫使苏联疯狂地造核弹头,以确保自己具有足够的【二次打击能力】。其后果是——北极熊的经济被拖垮。
(关于这事儿的详情,参见俺的博文:《苏联是如何被慢慢勒死的?——聊聊冷战中美国的遏制战略》)
  举这个例子是想说明——新冷战其实已经开始了。而且美国佬用的招数,与当年对付苏联的招数,有很多类似之处(但不会完全雷同)。
  从去年夏天开始,俺就一直在唠叨:2018年是【历史性分水岭】。随着时间的推移,或许大伙儿会越发明显地感觉到这一点。

◇被【房地产】绑架的宏观经济


  对“超高的房价”,大伙儿都很熟悉了。
  【高房价】不光让很多人活得苦逼,而且还有一个连带的副作用——【打击内需】。
  对房奴而言,房价(房贷)占据了大部分的可支配收入,没啥闲钱用于额外的消费——当然内需不足啦。从这个角度而言,高房价是天朝从“出口型经济”转变为“内需型经济”的显著障碍之一(还有其它障碍,待会儿讲)。

◇出生率下跌——【人口红利】的终结


  在控制论中,有一种特殊的系统属于【滞后正反馈】。对这类系统的调控需要【非常非常谨慎】。因为一旦出错,(由于其反馈的【滞后性】)要等很久才会意识到出错;再加上系统属于【正反馈】,错误会被【放大】。也就是说,当你在很久之后意识到出错,错误有可能已经大到难以挽回。
  对这类系统的【操作原则】是:
只能进行【微调】,并且每次微调后都需要观察【足够长】的时间,以确保你已经收集到上一次微调的【滞后反馈】。从而判断上一次微调是正确还是错误(以便下一次微调时进行【修正】)。

  像天朝这种人口大国,其【人口系统】就属于典型的【滞后正反馈】。可惜的是,当年制定“计生政策”的那帮官僚,完全不懂得啥是【滞后正反馈】,根本就【没有】遵循前面所说的操作原则。恰恰相反,他们直接对整个人口系统进行了一次【猛烈的调整】——也就是臭名昭著的【强制一孩政策】。
  为啥说这是【猛烈的调整】?要知道在毛腊肉统治的年代,其政治口号是:人多力量大。那时候相当于是【鼓励生育】。从【鼓励生育】突然转变为【强制一孩】——你很难找到比这更猛烈的系统性调整了。而且还是针对一个【滞后正反馈】的系统。30多年前埋下的雷,现在开始逐步爆发出来了。
  (稍微跑题一下)
  说到这里,再次推荐《第五项修炼》这本书(之前已经不止一次推荐过,俺网盘上有电子版)
  此书是管理学领域的经典(管理学史上的 Top10)。而且值得【任何领域】的人去读一读。书中举了一些例子来演示【滞后反馈】产生的误导性;还有大量篇幅介绍【系统性思考】。

  跑题结束。再来说一下【人口红利】。
  很多人把“人口红利”肤浅地理解为“出生率”,这就图样图森破了。相比“出生率”而言,更重要的一个指标是【抚养比】(相关的维基链接在“这里”)。
  【抚养比】比“出生率”更重要,也更能反应出“人口红利”的程度。最近几年,天朝的“人口红利”实质上已经逐渐消失了——【抚养比】已经上升到(恶化到)很严重的程度。
  当“抚养比”逐步变大,也就意味着——劳动力人口的【抚养压力】在增加,并导致他们更缺乏安全感,在消费方面会更谨慎。从另一个角度而言,这也妨碍天朝转型为“内需型经济”。

◇【内需】不足的情况会加剧


  (关于【内需不足】的现状,可不是俺瞎说——朝廷喉舌自己也承认哦)
  正是在这种内需不足的情况下,美国佬发起的贸易战,对天朝的打击才显得更加严重——
【高关税】会直接抵消天朝商品的【比较优势】。当前面所说的【产业链转移】逐步完成之后,天朝的产能【过剩】就会越发明显。而由于天朝内需不足,无法消化这些过剩的产能。
  最终,相关的行业只有降低产能。并导致这些行业的失业人口增多。请注意:当某个人失业,不仅意味着此人丧失“可支配收入”,也意味着此人的【消费能力】严重降低。于是,又进一步打击了内需。
  聊到这儿,你会发现——上述这几个环节(关税、房价、人口)是一个典型的【连环套】,最终形成一个【正反馈】,直接的效果是【加剧】了内需的不足。


★中共何时会崩溃?


  经常有读者问俺这个问题。尤其是到了朝廷70大寿之际。
  俺还是那句老话:不要企图对混沌系统进行【精确】预测(而人类社会正是典型的混沌系统)。
  下面俺着重批驳两种截然相反的观点(谬误)。

◇谬误1:认为中共很快就会完蛋


  俺本人当然也希望中共早日完蛋。那为啥还要批判这种观点捏?
  建议大伙儿去读一下2012年写的那篇《“心智模式”系列:如何面对【逆境】?——兼谈“斯托克代尔悖论”》
  那些“认为中共很快完蛋的人”,属于“过度乐观主义”。斯托克代尔在讲述越南战俘营经历的时候说——那些【没能】活着走出战俘营的,都是【乐观主义者】。这个观点听起来很奇怪(反直觉),所以才称作“斯托克代尔【悖论】”。
  具体的介绍,俺就不重复唠叨了。请自己去看那篇博文。再次强调:那篇博文介绍的【心智模式】能帮你面对逆境/困境。

◇谬误2:认为中共可以永远执政


  这类观点更加傻逼!人类历史上有多少个帝王企图创建永恒的基业,最后只不过沦为笑柄。
  严格来讲:没有任何一个政体能达到永恒,甚至人类文明本身也做不到永恒。
  话虽如此,但从统计学的角度,可以大致评估【预期寿命】。具体看下面谈的【林迪效应】。
  请注意:“评估预期寿命”与俺前面所说的:不要企图对混沌系统进行【精确】预测。两者【并不】矛盾。“预期寿命”是一个统计学范畴的概念,并【不是】“精确预测”,而只是提供一个参考值。

◇林迪效应


  《反脆弱》这本书很重要,很多人听说过但没有看过。俺为了照顾那些不喜欢看书的读者,特意整理了一篇3~4万的读书笔记(如下)。顺便说一下:这篇读书笔记是俺开博前10年最长的一篇博文。
  《读书笔记:<反脆弱——从不确定性中获益>》

  此书的第20章谈【时间与脆弱性】。作者总结了:任何东西(包括“实体的”&“抽象的”),其“寿命”可以归类为三种模式。比如说:“生物个体的寿命”属于第一种模式。
  俺认为:“政权的寿命”属于第三种。第三种也称作【林迪效应】,感兴趣的同学可以去看一下。
  理解【林迪效应】有助于你理解很多东西。这个概念甚至可以应用到“投资/投机”领域。


俺博客上,和本文相关的帖子(需翻墙):
《从量变到质变——中美关系40年》
《苏联是如何被慢慢勒死的?——聊聊冷战中美国的遏制战略》
《澄清“中美对抗”常见的一些【误解】》
《“996工作制”只不过是【劫贫济富】的缩影——“马云奇葩言论”随想》
《读书笔记:<反脆弱——从不确定性中获益>》
《扫盲非洲猪瘟,点评中国疫情》
《“心智模式”系列:如何面对【逆境】?——兼谈“斯托克代尔悖论”》
《如何隐藏你的踪迹,避免跨省追捕》(系列)
《思维的误区:幸存者偏见——顺便推荐巴菲特最著名的演讲》
《每周转载:习呆呆上台五周年,糗事一箩筐(图片及网友评论)》
《每周转载:盘点一下贸易战爆发后的【中美对抗】(2018年4季度)》
《每周转载:中美贸易战升级,双方关税加码(外媒报道和网友评论)》 +
+ +
+ + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/10/Systematic-Learning.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/10/Systematic-Learning.html" new file mode 100644 index 0000000000000000000000000000000000000000..32f2344c0eecc615cf4f8f6a001437f2cb8098df --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/10/Systematic-Learning.html" @@ -0,0 +1,26 @@ + + + + + + + +如何【系统性学习】——从“媒介形态”聊到“DIKW 模型” - 编程随想的博客 + + +
+

如何【系统性学习】——从“媒介形态”聊到“DIKW 模型”

+ +
+
+  距离上一篇博文超过2周,可能某些读者会有点担心俺是不是出事了。
  不过捏,俺上周还在评论区回复过读者留言;所以,这只是正常的【线上静默】。
  再次重申:
  俺有时候会随机性地静默一段时间。只要静默的时间跨度【不】超过2周(14天),都是很正常滴。
  通过这种做法,可以让俺的“在线活动”尽量随机化——这有助于身份的隐匿性(如果你不理解这种做法的原因,请看这个系列的第9篇)



  在6年前(2013),俺写过一篇《如何完善自己的知识结构》。今天这篇是对当年那篇的补充。
  这两篇的【切入点】不同——当年那篇是从“知识结构”的角度来谈,而今天这篇是从“系统性学习”的角度来谈。


★何为“系统性学习”?


  在本文的开篇,首先要简单介绍一下:什么是“系统性学习”。

◇举例:软件开发


  俺曾经是一只“程序猿”,首先拿自己的老本行来举例。
  当你想用某个编程语言来写软件,就需要【系统性】学习。
  一般而言,你需要先掌握该编程语言的【语法】,然后还需要掌握该语言的【标准库】以及【第三方库】。
  每个编程语言都有一大堆语法。如果你只掌握其中的某一个语法,是【不可能】用它来开发软件滴!
  即使你完整掌握了编程语言的“语法”,如果不懂任何“标准库”或“第三方库”,你依然【无法】用它来开发软件。
  即使你掌握了上述三样东西(语法、标准库、第三方库),要想写出比较优秀的软件,你还需要掌握“软件工程”相关的一些知识。

  从这个例子可以看出——
要具备“软件开发”这个技能,你需要掌握某个【完整的】体系。而这就需要用到“系统性学习”。

◇“系统性学习”的两个特点——【广度】与【深度】


  “系统性学习”与其它学习方式的差别,就体现在这两个特点。只有同时具备了【广度】与【深度】,才有资格说你【系统性】掌握了这个领域。
  关于这两个维度,俺在《如何完善自己的知识结构》一文中已经详细聊过过,此处不再重复。

◇最终目标——真正的理解与运用


  “广度”与“深度”只是“系统性学习”的表观特征。“系统性学习”的最终目的是【真正的理解】。只有当你理解了某个领域,你才有可能去运用它。


★【媒介形态】的选择


◇“媒介形态”及其【重要性】


  当你要进行“学习”,必定要依赖某种【媒介】。比如“书籍”、“电视”、“报刊杂志”、“不同形式的网站”,这些都属于【媒介】。
  俺在博客上不止一次提到某个重要的思想家马歇尔·麦克卢汉,以及他的代表作《理解媒介——论人的延伸》(Understanding Media——The Extensions of Man)。此书是传播学领域【划时代】的经典著作,贯穿此书的核心观点是【媒介即信息】(The medium is the message)。
  在麦克卢汉之前,传播学的学者只是关注媒介【内容】对受众的影响;麦克卢汉这个大牛率先指出:媒介的【形式】非常重要(甚至可能比内容更重要)。

  这个观点,俺已经在博文中聊过不止一次了。最详细的一次讨论是如下这篇博文,其中有一个章节叫做:★如何提升思维能力——【媒介】的重要性,专门谈这个话题。
《为什么独立思考这么难?——谈谈心理学的成因,并分享俺的经验》

  由于媒介的【形态】会直接影响你的认知,所以,在“系统化学习”的时候,你一定要选取【合适的】媒介。
  一般而言,你想要掌握的领域越复杂、越艰深,则媒介【形态】的重要性就越明显。

◇对于“系统化学习”,书籍是【最好的】媒介形态


  为了说明书籍的【优势】,俺拿几种不同类型的网站(网络媒介)来对比

  百科类网站
  针对某个具体领域,这类网站具有“广度”的优势,但【不】具备“深度”。
  举例:
  俺的网盘上分享了纳西姆·塔勒布所写的“不确定性三部曲”(《随机致富的傻瓜》、《黑天鹅》、《反脆弱》)。这是三个大部头的著作。作者从“不确定性”这个主题进行展开,讨论了非常多的内涵。
  但如果你去百科类网站查阅“不确定性”相关的条目,哪怕你查的是内容最丰富的“英文维基百科”,也只能看到一个简单的页面(其内容的丰富程度,当然比不上三个大部头著作)

  问答类网站
  这类网站与百科类相反。
  某些问题的回答虽然可以写得非常深入,而且问题也可以遍及某个领域的各个分支。
  但在问答类网站上,你【无法】把某个领域所有分支涉及的问题全都系统性地【汇总】出来。因此,(从实际操作而言)无法具备“广度”。
  另外,虽然“问答类网站”在【深度】方面比“百科类网站”更强,但远远比不上书籍——某个问题的回答,哪怕写得再详尽,也无法与书籍相提并论。

  社交类网站(SNS)
  (注:此处所说的 SNS 包括“microblog & IM”)
  SNS 既没有广度,也没有深度。而且碎片化还很严重,信噪比也很差。
  对【学习】而言,SNS 简直称得上一无是处 :(

  论坛类网站
  (类似 SNS)

  视频类网站
  最近几年开始流行“教学视频”,很多人拿它与书籍相提并论。
  某些优秀的教学视频,确实可以兼具“广度”与“深度”。但“教学视频”本质上依然属于“视频”,因此必然带有视频的【缺点】。
  关于【视频的缺点】,在《为什么独立思考这么难?——谈谈心理学的成因,并分享俺的经验》一文中详细讨论过。另外,俺在2年前(2017)还专门写过一篇《为啥俺很少看视频?——兼谈“视频”与“文本”在媒介方面的差异》。

◇小结


  基于上述的讨论——对于“系统化学习”,【书籍】是最好的媒介形态(没有之一)。
  接下来的章节,俺只从【书籍】这个形态作进一步讨论。


★三种类型的读物:通俗性、入门性、专题性


  对于“系统性学习”所涉及的读物,俺分为三类。

◇通俗性读物


  顾名思义,这类读物是针对【外行】。
  为了达到【通俗】这个目标,这类读物【不会】包含专业术语,而且也【不】要求读者具备其它被依赖领域的知识。
  举例——理论物理:
  理论物理这个领域是高度依赖数学滴——比如在量子力学中处于核心地位的“薛定谔方程”属于数学中的“偏微分方程”;再比如“广义相对论”大量依赖“黎曼空间、微分几何、张量分析”这些数学工具......
  但那些写得好的理论物理通俗读物,【不】需要读者具备相关的数学背景(也就是说,任何一个【门外汉】都能看懂通俗读物)

  由于上述特点,“通俗性读物”【难以】具备深度。大部分的这类读物,既无“广度”也无“深度”;少数写得好的通俗性读物,可以做到一定的“广度”。

  举例:
  在俺分享的电子书清单中,对“心理学”、“经济学”、“哲学”分类之下,都单独开了一个【通俗读物】的子分类,里面放的就是这类书籍。
  另外,
  俺想推荐一下【牛津通识读本】这套书(相关的维基百科页面在“这里”)
  该系列的洋文名称叫“Very Short Introductions series”(简称 VSI 系列),是牛津大学出版社(OUP)自1995年开始出版的一套【权威的】系列丛书。这套书的每一本都会对某个特定的主题进行【简洁而精炼】的介绍。每本书都由该领域公认的专家撰写,篇幅为100~150页,并包括进一步深度阅读的建议。
  截止到目前(2019年3季度),VSI 已经出了600多本。在俺的网盘上已经分享了其中的几十本(有中文版,也有英文版)

◇入门性读物


  一般而言,“初级教材”属于这类。
  “入门性读物”与(刚才所说的)“通俗性读物”,一个很重要的区别就在于——“入门性读物”假定你已经具备了某些被依赖的其它领域的知识。
  还以刚才的“理论物理”举例:
  一本理论物理的入门读物(比如说教材),作者假定你已经具备了相应的数学基础。它的“入门”是针对“理论物理”而言,而【不】是针对“数学”而言。作者没有义务再去重新解释书中用到的那些数学工具。因此,缺乏数学基础的读者,如果去看理论物理的入门读物,看不了几页就要晕过去。
  通过上述介绍,你可以看出——“通俗性读物”与“入门性读物”对知识结构的要求有很大不同。从而导致这两者的【门槛】有很大的不同。

  “通俗性读物”与“入门性读物”的另一个差别在于“广度”(系统性)。
  “通俗性读物”一般不具有“广度”(只有少数写得好的,才能具备一定的“广度”)。而“入门性读物”(尤其是教材)通常会具有【足够的】“广度”。
  严格来讲,一本教材如果在“广度”方面阐述得不够,那这本教材就是失败滴。

◇专题性读物


  “入门性读物”在“广度”方面是 OK 滴;但在“深度”方面,通常【不会】太深。
  如果你希望在该领域的某个分支具备足够的深度,这时候需要去看“专题性读物”。
  顾名思义,这类读物只针对某个很具体的分支。其追求的是“深度”而【不是】“广度”。
  一般而言,“学术论文”通常属于此类;除了论文,还有一些专业书籍也属于这类。

◇小结


  为了直观,用一个表格汇总一下:

类型广度深度门槛
通俗性读物通常没啥广度;
少数优秀的,有一定的广度
没啥深度很低
入门性读物足够广深度适中取决于学科的类型
专题性读物很窄足够深通常较高


★如何选择书籍?


◇基于【二八原理】的考虑


  在俺开博的第一年,写过一个系列叫做《无处不在的二八原理》。【二八原理】这个玩意儿真的非常具有普遍性,反映到书籍上也是如此。
  任何一个领域的书籍,真正能称作【精品】的只占非常小的比例。实际上,这个比例远远低于 20%!在一些比较大众化的领域,这个比例甚至可能会低于千分之一。
  为了进行“系统性学习”,你在挑选书籍时,一定要尽量确保自己看的书是【精品】。
  那么,如何才能更有效地找到【精品】捏?
  俺猜测很多读者会对这个问题感兴趣。但这是一个很大的话题,深入讨论的话需另写一篇单独的博文。

◇基于【多样化】的考虑


  某些领域存在不同的“流派/学派”。
  当你刚开始接触这个领域时,应该对主要的那几个“流派/学派”都有所了解。这样可以防止【以偏概全】。
  另外,很多不同的“流派/学派”,会存在互相对立的观点/立场。你应该去了解双方的对立与分歧,然后就可以思考:为啥会有这些分歧?哪一边更有道理?......无形中帮你提升了【批判性思维】的能力。请注意:这个能力很重要。

  顺便吐槽一下:
  咱们天朝的政治教科书,基本上只谈“马列主义”;而欧美的政治教科书(比如俺分享了罗斯金的那本《政治科学》),就会介绍几种不同的意识形态流派,其中也包括“马列主义”。
  为啥会有这样的差异捏?说到底,天朝的教育本质上就是【灌输式】,最终目的是为了【洗脑】。
  (关于这点,俺已经吐槽过好几次了)

◇基于【写作风格】的考虑


  不同的作者,会有不同的写作风格。
  如果你碰到某个比较难的领域,看了某一本“入门性读物”之后,还是一直没搞懂。俺建议你:去看【另一个】作者写的相同题材的书。

  举例——计算机算法:
  如果你去看俺汇总的电子书清单,在【IT类 / 软件开发 / 算法与数据结构】这个分类目录下,俺同时分享了如下几本:
《算法导论》(Introduction to Algorithms)
《算法概论》(Algorithms)
《算法设计手册》(The Algorithm Design Manual)

  这三本书都很经典,而且都是系统地介绍算法;但在“写作风格”及“内容组织”等方面,依然有很大差别。有的人看其中一本觉得很吃力,但看另一本就茅塞顿开。


★【费曼学习法】的应用


◇啥是“费曼学习法”?


  这个学习法出自著名的理论物理学家理查德·费曼(洋名叫做“Richard Feynman”)。
  所谓的“费曼学习法”,如果用一个词来概括,就是【以教促学】。
  假设你正在学习某个领域,为了运用该方法,你不妨假想:要把该领域传授给另一个人,并且此人在该领域的基础很差(属于该领域的菜鸟)。
  前面俺已经提到了:系统性学习涉及到【三种读物】。要运用“费曼学习法”,相当于强迫自己去写该领域某个分支的【通俗性读物】。

◇运用及反馈


  在【理想情况】下,如果你已经对某个领域某个分支达到【完全掌握】的程度,那么你就可以比较轻松地写出该领域某个分支的【通俗性读物】,并且确实能让【外行人】看懂。

  反之,如果你的掌握程度还不够,可能会出现如下几种状况:
  状况1
  完全不知道从何写起。
  (注:这种情况最糟糕,多半说明你对这个领域还缺乏【系统性】的了解)

  状况2
  你在写这个【通俗性读物】的过程中,会经常地碰到“卡壳”。
  (注:说明你已经具备一定的系统性了解,“卡壳”是因为你还没完全【理顺】整个体系)。

  状况3
  你虽然很顺利地写出来,但【外行人】看不懂。
  (注:也就是说,你还无法做到足够的【深入浅出】)。

  出现上述这些状况之后,你需要采用相应的反馈措施:

  状况1的反馈
  前面说了,这种情况最糟糕。
  应对措施是:你需要把【入门性读物】重新再看一遍。

  状况2的反馈
  “卡壳”的环节,也就是你之前学习过程中【缺失】的环节(你的盲点)。
  显然,你需要重新强化这个环节。

  状况3的反馈
  如果外行看不懂你写的“通俗读物”,你需要问对方,到底是哪个环节没搞明白。
  那个环节就是你的盲点。

◇俺本人的例子


  看到这里,某些读者已经猜到——俺一直在践行这种“费曼学习法”。某些更聪明的读者,在俺还没写今天这篇的时候,就已经猜到了这点。
  比如前几个月写了《扫盲“货币经济学”基本概念——从“利率”到“央行货币政策”》。然后某个读者就在这篇的评论区与俺聊起了“费曼学习法”。

  作为一个喜欢写【原创】的博主,这种学习法带来的另一个好处是【双赢】——俺利用该学习法提升了个人能力,而众多的读者也能受益。何乐而不为 :)
  引申阅读:
《为啥俺要写这个博客——动机的自我分析》

◇“费曼学习法”的额外好处——【换位思考】


  俺发觉:大部分聊“费曼学习法”的文章都【没有】提及这个好处。
  为了实践这种学习法,你需要把自己的视角切换到【菜鸟视角】。久而久之,你无形中强化了【换位思考】的能力。
  【换位思考】这个能力很重要!有空的话,俺另写一篇博文聊这个话题。


★入门之后,如何在【不同分支】安排你的时间与精力?


  有些领域比较复杂——在它的内部包含【很多】分支(子领域);还有一些领域,虽然分支不多,但每个分支都具有很大的深度。
  对上述这两种情况,如果你企图掌握【全部】分支,可能你的时间/精力不允许。这时候就需要作出某种【取舍】。
  那么,该如何取舍捏?下面俺从两个角度进行分析。

◇基础性


  某个领域的不同分支,可能会存在相互的【依赖关系】。
  在这种情况下,【被】依赖的分支处于更加基础、更加核心的地位。
  举例——编程:
  本文开头提到:写程序【至少】需要掌握:编程语言的语法、标准库、第三方库。一般而言,“标准库 & 第三方库”都要依赖“语法”;并且“第三方库”会依赖“标准库”。所以,从【基础性】的角度考察,“语法”比“标准库”更基础,“标准库”比“第三方库”更基础。

  越是基础性的分支,你就越应该【重视】,以确保对它具有足够的掌握程度(理解程度)。
  这其中的道理就如同“盖楼房”。对于多层的建筑物,上层的重量需要依靠下层来承载。越下面的楼层,对其“结构力学”的要求就会越高。

◇实用性


  这个比较好理解。
  如果某个分支属于【不】那么基础的“边缘性分支”,你是否需要投入足够时间/精力,取决于这个分支对你而言是否实用。

  另外,【兴趣】也可以视作某种特殊的“实用”。
  如果你真正理解“兴趣”的奥妙及其带来的快乐,你就会明白——“基于兴趣的实用”比“基于功利的实用”更加实用 :)
  关于“兴趣”这个话题的进一步讨论,参见:《什么是【真正的】兴趣爱好?以及它有啥好处?》

◇基础性【重于】实用性


  如今的社会风气太过于【急功近利】。导致很多人(尤其是年轻人)在学习的时候,只看“实用性”,而忽略了“基础性”。
  表面上看,这些人好像节省了一些学习时间,但他们因为基本功欠缺,反而【难以】在该领域达到足够高的 level。套用咱们天朝的一个成语就是——【欲速则不达】。
  在前一个章节,俺提到了“费曼学习法”。那些只注重“实用性”而忽视“基础性”的家伙,在运用这个“费曼学习法”的时候,就容易卡壳。

  注重【基础性】的另一个好处在于——越是基础的东西,越有可能【跨领域】。关于这点,俺在后面的两个章节会细谈。


★DIKW 模型(Data Information Knowledge Wisdom)


◇概述


  这个模型,首先是作为【知识管理】的理论被提出来滴。后来经历了一些演变,衍生出一些略有不同的解读。本章节的讨论,更侧重于俺本人的解读。
  先看下面这张示意图,然后俺分别说明:相邻层次之间的差异。

不见图 请翻墙

◇Data(数据)与 Information(信息)的区别


  为了说明这两者的差别,俺以“气象站”举例。
  一般而言,每个城市的不同区域都会架设百叶箱,里面的温度计会定期记录温度数值——每一个数值就是一个 data。
  如果你把某个时间段所有的温度数值进行汇总,并进行一定的处理(比如:加权平均),就可以得到这个时间段的温度——这就是 information。
  单个的 data 其实没啥意义,information 才具有意义。当你在气象网站上查到当前的气温,这是 information 而不是 data。

◇Information(信息)与 Knowledge(知识)的区别


  如果你汇总了某个城市连续多年的“每日气温”,那么你就可以大致得出一个结论:这个城市的气温是炎热还是寒冷,是否适宜居住。这个结论就可以算是 knowledge 啦。
  这两者的差别在于——

  生命周期的长短
  information 的生命周期很短(短命),而 knowledge 的生命周期会比较长(长命)。
  类似“当日气温”这种 information,很快就会被淡忘(除了专门研究气象的人,谁还会去关心多年前某一天的具体温度?)

  碎片化的程度
  information 不光是短命滴,而且是高度【碎片化】滴。相比之下,knowledge 就不那么碎片,而且 knowledge 还可以形成某种【体系】。
  关于 knowledge 的【体系】,可以参见《如何完善自己的知识结构》一文中提到的【知识树】。

  在本文开头谈【媒介形态】的时候,俺把 SNS(社交网络)说得很烂。根源在于——SNS 上的内容,绝大部分只是 information(短命且碎片)。很多人终日泡在 SNS 上,除了白白浪费时间,其实没啥收获。

◇Knowledge(知识)与 Wisdom(智慧)的区别


  对于“DIKW 模型”前三者的差别,俺单纯拿“气象站”就能说得很清楚,但要说清楚 knowledge 与 wisdom 的差别,就需要多费点口水啦。

  WHAT、HOW、WHY 三部曲

  讨论 knowledge 与 wisdom 的差异,需要引出俺经常唠叨的【WHAT、HOW、WHY 三部曲】。
  【有】技术背景的读者,可以看2009年初写的:
《学习技术的三部曲:WHAT、HOW、WHY》
(注:上述这篇写于开博之后第2个月,距今超过十年,但依然有很多读者去看这篇。这也就是刚才所说的“【长】生命周期”)
  【没】技术背景的读者,可以看如下这篇:
《用提问来促进思维——兼谈【非】技术领域的 WHAT HOW WHY 三部曲》

给

你

一

柱

香

的

时

间

,

看

完

WHAT

HOW

WHY

三

部

曲

。

  某些关于 DIKW 的理论认为:information 对应“WHAT 型问题”;knowledge 对应“HOW 型问题”;wisdom 对应“WHY 型问题”。英文维基百科关于 DIKW 的页面上(链接在“这里”),有一张图就是这么对应滴。
  但俺本人的理解,稍微有所不同(有点小分歧)。差别在于:(俺认为)knowledge 既包含 HOW 也包含 WHAT。比如上述关于气温的例子。“某城市的气温是否宜人”,这显然属于“WHAT 型”,但又属于 knowledge 层面。
  如果“WHAT 型”既可以是 knowledge,也可以是 information,那么如何区分捏?(俺认为)差别在于“问题的生命周期”。如前所述,information 的生命周期很短,因此只能回答“短命的 WHAT 型问题”;而 knowledge 可以回答“长命的 WHAT 型问题”以及“所有的 HOW 型问题”。

  费了一番口水,终于聊到 wisdom 了。wisdom 对应于“WHY 型问题”。
  “WHY 型问题”的档次明显要【高于】另外两种类型的问题。如果你能回答某个领域某个分支的“WHY 型问题”,说明你【真正理解】了这个分支。

  说到这里,顺便分享一个经验:
  俺干了十多年的管理工作,面试过很多程序员。在考察应聘者的技术能力时,通常喜欢问“WHY 型问题”。有时候俺会故意先抛出一两个“WHAT 型”或“HOW 型”的问题,但最终是为了引出一个“WHY 型问题”。
  为啥俺如此偏爱这类问题捏?除了刚才提到的好处——对 WHY 型问题的回答,能看出对方是否【真正理解】某个领域;另一个好处是——“WHY 型问题”通常【没有】标准答案(所以,这类问题比较难作弊)。

  单一领域 VS 跨领域

  关于 knowledge 与 wisdom 的差异,还有一个就是“领域相关性”。
  通常而言,knowledge 附属于某个特定领域;而 wisdom 则不然——有些 wisdom 属于单一领域,还有一些则跨领域。显然,后一种 wisdom 比前一种更重要(更有价值)。
  对于这类【跨领域】的 wisdom,下面单独开一个章节。


★【跨领域】的智慧(Wisdom)


  为了说明【跨领域】的智慧,俺举几个例子:

◇举例:间接路线战略


  著名的军事理论家李德·哈特写了一本《战略论——间接路线》。这位老兄被誉为“军事理论教皇”,其影响力堪比卡尔·冯·克劳塞维茨。而此书又是他的【代表作】。所以,这本书显然符合俺前面章节提到了【二八原理】。
  作者在书中介绍并分析了很多军事史的案例/战例——这些例子属于前面所说的 knowledge;
  最终,作者从这些历史上的例子,总结出【间接路线战略】的运用——这就属于前面所说 wisdom。

  从表面上看,这个玩意儿属于“军事领域”。但实际上能运用到很多其它领域。比如前几个月,俺在博客评论区与读者聊到“中美贸易战”,就谈到了贸易战背后的“间接路线战略”。
  如果你觉得“贸易战”与“军事”还是很相近,俺再举一些更【远】的领域作为例子:
比如在下面这篇博文中,俺聊到了“间接路线战略”在【投资/投机、企业竞争、个人职业生涯】等诸多方面的运用。
《为啥急功近利反而赚不到钱——给拜金主义者的忠告》

◇举例:无处不在的【熵】


  【熵】这个玩意儿,洋文叫做“entropy”。他是一个很典型的【跨领域】的例子。
  什么是熵?通俗地说,就是指系统的无序程度(紊乱程度)。

  热力学的熵
  【熵】的概念最早出自于“热力学第二定律”。该定理有两种表述方式,分别出自两位科学大牛——
克劳修斯(Rudolf Clausius)指出:对于某个【孤立】系统,热不能自发地从低温物体传到高温物体。
开尔文勋爵(Lord Kelvin)指出:对于某个【孤立】系统,不可能从单一热源吸热使之全部转化为做功,而不产生其它影响。
  后来又出了一个科学大牛玻尔兹曼(Ludwig Boltzmann),他指出了热力学第二定律的【本质】是:对于孤立系统,其微观层面(微观粒子)的无序程度在不断增大。
  可能某些同学会纳闷:俺为啥要花这么多口水聊“热力学第二定律”?
  从上面这三只大牛的不同表述,你会发现——前面两只大牛,他们的表述只停留在【表象】,而第三只大牛才真正道出了“熵”的【本质】。
  一般来说,越接近【本质】,也就越接近 wisdom 层面。
  (俺费了很多口水聊热力学,就是为了引出上面加粗体的这句话)

  信息论的熵
  【熵】是“信息论”最核心的几个概念之一。最早是数学大牛香农(Claude Shannon)建立了“信息熵”的理论——香农因此被誉为“信息论它爹”。
  对“信息熵”的理解,有助于你理解 IT 领域的很多东东。
  比如说:理解了熵,可以帮你理解“数据压缩”的原理。而理解了“数据压缩”的原理,你就能明白——真正随机的数据是【不可能】压缩滴。无论未来出现多么牛逼的压缩算法,也无法压缩完全随机的数据(关于这点,可以从数学上给出证明)。

  密码学的熵——关于密钥生成
  【熵】在密码学中也占据重要地位。
  比如说:密码学中的“密钥生成函数”需要引入【足够高】的熵,从而使得攻击者难以预测密钥的分布。
  在密码学的这个分支,熵成为某种【好】东西 :)

  管理学的熵——大企业的僵化
  有很多优秀的初创公司,当它们发展到一定规模之后,就会出现这样那样的问题(弊端),变得僵化、失去活力。
  这里面当然有很多原因,而其中一个原因可以归咎于【熵增大】。
  当一家公司规模较小(只有几十个人)的时候,你要想让公司整体保持在【低熵】水平,还比较容易;但在规模扩张到几万人之后,再想保持原有的【低熵】水平就变得非常非常困难。
  从理论上讲,公司可以通过“换血”的方式,降低整体的熵。这很类似于热力学系统中,把“高熵”的物质移出系统,并移入“低熵”物质,以此来降低系统整体的熵。可惜的是——很多事情,从理论上讲很简单;而一旦应用到【实践】层面,就很难操作。聊到这儿,想起某个 IT 大牛说过的名言:
  In theory, there is no difference between theory and practice. But in practice, there is.

  政治学的熵——官僚体制的僵化
  每一个政治实体,其政权都对应一个“体制”(官僚系统)。如同“公司”的情况——越庞大的官僚系统,要让整个系统保持在“低熵”水平就越困难。
  所以,越庞大的官僚系统,通常也就越僵化、越低效。

  历史学的熵——治乱循环
  天朝的古代史,大体上是朝代的循环史。史学家称之为“治乱循环”。
  导致这种“治乱循环”的原因当然有很多,而其中一个原因在于“体制本身的崩溃”。
  官僚系统一旦变得庞大,就会倾向于变得更加庞大。就如同掌握权力的人,通常就会渴望更多的权力。请注意:权力是很容易上瘾滴!关于这点,已经被无数的历史故事所验证。
  一方面,官僚系统越大,就会越僵化、越低效;另一方面,官僚系统越大,消耗的社会资源就越多(请注意:官僚本身是【不】直接创造社会财富滴)到了每个朝代末年,“体制”被自身的重量压跨了。

  宇宙学的熵——热寂
  宇宙本身可以视作【孤立】系统,因此也符合热力学第二定律。用某些物理学家或宇宙学家的话说——宇宙最终也将归于【热寂】。
  考虑到“宇宙学”是一个很小众的领域,感兴趣的读者应该很少。所以俺就不展开讨论啦,在这里只推荐科幻大师阿西莫夫的一个短篇《最后的问题》(注:阿西莫夫自己认为——这是他最好的一个短篇)
  用这个短篇作为本文的结尾,还是蛮贴切滴 :)
  顺便补充一下:
  很多人只知道阿西莫夫是科幻小说大师,但其实这家伙是【全才】——(根据维基百科的介绍)他一生出的书超过500本,涵盖的学科极为广泛。尤其是,他写了很多【科普读物】(“科普”属于俺前面提到的“通俗性读物”)。显然,他很善于【系统性学习】。


俺博客上,和本文相关的帖子(需翻墙):
《学习与人生——700篇博文之感悟》
《时间与人生——跨入本世纪20年代的随想》
《如何完善自己的知识结构》
《为什么独立思考这么难?——谈谈心理学的成因,并分享俺的经验》
《德鲁克谈【自我管理】——<哈佛商业评论>史上最受欢迎的文章》
《学习技术的三部曲:WHAT、HOW、WHY》
《用提问来促进思维——兼谈【非】技术领域的 WHAT HOW WHY 三部曲》
《什么是【真正的】兴趣爱好?以及它有啥好处?》
《为啥俺要写这个博客——动机的自我分析》
《为啥急功近利反而赚不到钱——给拜金主义者的忠告》 +
+ +
+ + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/10/weekly-share-138.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/10/weekly-share-138.html" new file mode 100644 index 0000000000000000000000000000000000000000..027759f9cee1e0158ea574fb7c10ff38f5fa22f0 --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/10/weekly-share-138.html" @@ -0,0 +1,26 @@ + + + + + + + +每周转载:香港“反送中”政治抗议活动大事记(9月初至10月初) - 编程随想的博客 + + +
+

每周转载:香港“反送中”政治抗议活动大事记(9月初至10月初)

+ +
+
+  由于本月正好赶上【朝廷70大寿】,俺需要先发一篇【抹黑】性质的博文——《“盛大庆典”难掩【内忧外患】——天朝沦陷70周年随想》,作为给朝廷的献礼。所以,汇总香港的抗议活动,就延后了一周。
  另,本文的照片数量,又创了本博客的历史记录。收集这么多照片并放到 Google 图床,也蛮费时间滴!
  再次重申:俺的时间实在有限,还望大伙儿多体谅。



  本文汇总【9月初~10月初】的“反送中运动”大事记。
  10月~11月的汇总,请看:《每周转载:香港“反送中”政治抗议活动大事记(10月至11月)》
  8月初~9月初的汇总,请看:《每周转载:香港“反送中”政治抗议活动大事记(8月初至9月初)》
  7月初~8月初的汇总,请看:《每周转载:香港“反送中”政治抗议活动大事记(7月初至8月初)》

  为了防止某些人故意抬杠,再次贴出如下【声明】。
  事先声明:
  由于真理部的严厉审查和舆论导向,在【墙内】只能看到(有利于朝廷的)一面之辞。所以,本文的转载,会更侧重【另一面】之辞。


★9月8日:(第 N 次)周日大游行——美国领事馆请愿


  此次游行获警方许可。民众先于遮打花园集合,举行【香港人权与民主祈祷会】;然后再一路走到“美国驻港领事馆”。之所以去“美国领事馆”,是为了敦促美国国会通过《香港人权与民主法案》。
  游行的标语包括:特朗普总统,请拯救香港、令香港再次变得强大等。沿途不断有示威者唱美国国歌。

不见图 请翻墙
(举星条旗的抗议民众。照片来源:香港01)

不见图 请翻墙
(举星条旗的抗议民众。照片来源:香港01)

不见图 请翻墙
(路边民众鼓掌欢呼。照片来源:香港01)

不见图 请翻墙
(各种【英文】标语牌。照片来源:香港01)

不见图 请翻墙
(带小孩参与游行的家长。照片来源:香港01)

不见图 请翻墙
(示威者制作的卡通模型和标语牌,敦促美方通过相关法案。照片来源:香港01)

不见图 请翻墙
(吐槽警方的卡通造型。照片来源:香港01)

不见图 请翻墙
(警方在美国领事馆附近盘查戴口罩的民众。照片来源:香港01)

不见图 请翻墙
(十多辆防暴警车在美国领事馆附近待命。照片来源:香港01)

不见图 请翻墙
(警方在中环地铁站严阵以待。照片来源:香港01)

不见图 请翻墙
(傍晚时分,有人在港铁中环站某出口纵火。照片来源:香港01)

不见图 请翻墙
(傍晚时分,有人在港铁中环站某出口纵火。照片来源:香港01)


★9月10日:世界杯预选赛,歌曲《愿荣光归香港》走红


◇世界杯预选赛


  9月10日晚的世界杯外围赛中,大量球迷合唱此曲。使得这首歌突然走红。

不见图 请翻墙
(现场足球迷合唱《愿荣光归香港》。照片来源:维基百科)

  关于这首歌在那天走红,参见下面这篇报道:
《抗争歌《愿荣光归香港》8时31分响遍全港 @ RFI/法广》
(以下是此文的摘录,粗体是俺标注滴)
不见图 请翻墙

《愿荣光归香港》一曲由连登(LIHKG)的网民们创作,目前已成为反送中抗争者的众人之歌,有网民发起在昨晚(10日)8时31分在全港各区一起合唱该曲,据该曲“愿荣光团队”11日在连登网站发文称,他们“感谢各支持这首歌的人帮手(忙)将这首歌散播每一角落”。

一名在球场观看香港对伊朗足球赛事的郑先生说,他本来不知道当晚有这场各区合唱的安排,以为球迷只会向国歌喝倒彩。
但当看台大钟搭正8时31分,很多人都拿出歌词合唱《愿荣光归香港》,情况令他非常感动。
这名已届中年的郑先生说:“香港现在反政府的,似乎已不只是青年人了。”

......

10晚上8时31分一起合唱《愿荣光归香港》的地区,除了上述的香港大球场之外,还有马鞍山新港城中心、葵芳新都会广场、屯门市广场、旺角新世纪广场、黄大仙广场、观塘APM购物中心、将军澳、上水以及大埔等。

“愿荣光团队”11日在连登网站发文称,他们只希望这首歌能够“鼓舞士气”,又呼吁其他人能够贡献更多的作品,“有多点选择才是好事”。

◇香港市民在各区组织【合唱】


  除了在足球场唱这首歌;之后几天,香港民众也在各地组织【合唱】。

不见图 请翻墙
(9月11日晚间,大量市民在“沙田新城市广场”合唱《愿荣光归香港》。照片来源:维基百科)

不见图 请翻墙
(9月12日晚间,大量市民在“铜锣湾时代广场”合唱《愿荣光归香港》。照片来源:维基百科)

◇此曲的来历


  该歌曲创作于8月份,由化名“Thomas dgx yhl”的香港音乐人作词作曲。然后经过经“连登论坛”(LIHKG)上的热心网民协作修改。
  关于作者的创作思路,以下摘录自该歌曲的维基百科页面。
创作人之一的 T 开始构思一首新的抗争歌曲,他认为,过去社运街头时常响起《海阔天空》、《光辉岁月》,这些流行歌曲与现场氛围有些格格不入。两首歌曲虽能引起大家共鸣,但旋律上不是很符合现场的气氛。

有别于流行曲,他主张抗争歌曲的旋律应该以古典音乐为基础。因此,他在创作时候参考了巴洛克音乐和一些现代军歌,例如英国国歌《天佑女王》、美国国歌《星条旗》、俄罗斯联邦国歌、美国爱国歌曲《共和国战歌》和基督宗教赞美诗《荣归主颂》等等。在花了约两个月时间完成作曲后,他开始着手填词。他第一句想到的——也是歌曲最后的一句——就是“我愿荣光归香港”;他表示这一句歌词有两种意思:
1、“展望未来,希望香港可变返一个大家心目中的光荣、荣耀的城市”;
2、希望“香港人愿意将个人的荣耀和光荣归予香港”。


  在世界杯外围赛之前,已经在抗议者内部流传。8月31日,相关 MV 上传至 YouTube,很快就获得100万点击量。9月13日,歌曲于音乐平台 KKBOX 上架,并登上榜首。
  如今已经衍生出多个语种的翻译版本(普通话、闽南语、英语、日语、韩语、德语、法语...)


★9月13日:中秋节的“反送中运动”


不见图 请翻墙
(中秋夜,香港市民在狮子山顶挂出大型条幅:实行真双普选。照片来源:端传媒)

不见图 请翻墙
(大批香港市民登上狮子山,组成“光影人链”。照片来源:端传媒)

不见图 请翻墙
(在狮子山顶过中秋节。照片来源:端传媒)

不见图 请翻墙
(在狮子山顶过中秋节。照片来源:端传媒)

不见图 请翻墙
(太平山顶的“光影人链”,远方依稀可见狮子山。照片来源:端传媒)

不见图 请翻墙
(数百人在黄大仙的空地聚集,远方是狮子山顶的“光影人链”。照片来源:维基百科)

不见图 请翻墙
(民众在“观塘海滨公园”参与“一人一诉求”花灯大会。照片来源:维基百科)

不见图 请翻墙
(中秋夜,大量市民在“新城市广场”合唱《愿荣光归香港》。照片来源:端传媒)

不见图 请翻墙
(中秋夜,大量市民在“新城市广场”合唱《愿荣光归香港》。照片来源:端传媒)

不见图 请翻墙
(中秋夜,“新城市广场”的营业时间已经结束,仍有大量民众聚集。照片来源:维基百科)

不见图 请翻墙
(apm 商场的中秋集会;标语牌上写:不是有希望才坚持 是坚持了才有希望。照片来源:维基百科)

不见图 请翻墙
(以“反修例运动”为主题的折纸灯笼。照片来源:维基百科)

不见图 请翻墙
(狮子山顶的灯笼,上面写运动的口号:五大诉求 缺一不可。照片来源:端传媒)

不见图 请翻墙
(印有【香港人】的月饼。照片来源:德国之声)


★9月15日:(第 N 次)周日大游行——英国领事馆请愿


  示威由民间人权阵线(民阵)发起,遭警方反对。数以万计的示威者无视反对,周日下午照例从港岛区铜锣湾游行到中环抗议。
  由于该游行没有获得批准,照例引发了大量的警民冲突。警方继续使用“催泪瓦斯”和“水炮车”。抗议民众使用燃烧瓶点燃了一辆“水炮车”。
  部分民众前往“英国驻香港总领事馆”递交请愿书,呼吁英国政府正视《中英联合声明》已遭中共破坏,促请英国考虑:给予 BNO 持有人英国居留权。
  另外,在此次游行中,众多市民手持【赤纳粹红旗】参与(后续章节会聊到这个【赤纳粹】)。

不见图 请翻墙
(大批市民通过轩尼诗道游行到中环。照片来源:维基百科)

不见图 请翻墙
(游行民众展示各国语言的标语牌,呼吁国际社会关注。照片来源:香港01)

不见图 请翻墙
(在“英国总领馆”周边进行抗议的民众。照片来源:香港01)

不见图 请翻墙
(示威民众手持标语牌,呼吁英国政府让 BNO 持有人享有“英国居留权”。照片来源:香港01)

不见图 请翻墙
(香港民众向“英国总领馆”的代表递交请愿书。照片来源:香港01)

不见图 请翻墙
(防暴警察以密集队形,向中环方向推进。照片来源:香港01)

不见图 请翻墙
(防暴警察亮出橙色警告旗。照片来源:香港01)

不见图 请翻墙
(抗议民众向警方投掷燃烧瓶。照片来源:香港01)

不见图 请翻墙
(抗议民众顶着“水炮车”的蓝色水柱,向前推进。照片来源:香港01)

不见图 请翻墙
(抗议民众用燃烧瓶点燃了一辆“水炮车”。照片来源:香港01)

不见图 请翻墙
(香港市民涂鸦,抗议警方。照片来源:香港01)

不见图 请翻墙
(中国银行被涂鸦。照片来源:维基百科)

不见图 请翻墙
(夜间10点,警方在英皇道施放催泪弹。照片来源:香港01)

不见图 请翻墙
(英皇道上烟雾弥漫。照片来源:香港01)


★9月25日:美国参众两院的【外交委员会】均通过《香港人权与民主法案》


◇法案内容


  该法案大致内容如下:
要求美国国务卿每年向国会提交报告,去审视香港是否仍然有足够的“自治”去享受美国给予的特殊待遇(包括关税);

如果香港日后就23条“国家安全相关”的法例立法,美国总统及国务卿会审视相关法例,是否抵触《中英联合声明》和香港市民及外国居民的人权会否受到限制;

如果有香港市民因为参加抗争而被政府拘捕,美方不会以此为由拒绝批出学生或工作签证,美国方面会指令领事馆,维持一份活跃名单,纪录一些被中港政府扣留、拘捕和针对的人,而美国官员会与想法相似的国家合作,呼吁他们采取类似的行动,对待被捕人士;

方案提及香港的政改进程,希望确保香港选民可以有权利透过普选选出行政长官和所有立法会议员。草案内容明确指出,会支持香港建立一个“真正民主选项”,即是香港选民可以“自由和公平地提名及投票”,并在2020年能够公开直接选出全体立法会议员;

美国商务部会在180天内容,向国会委员会提交报告,评估香港是否足够地执行美国针对敏感军商两用出口管制法例,以及美国或联合国对朝鲜或伊朗所实施的制裁。在可能的情况下,美国相关部门检视有没有相关产品,经香港转口,以及用作大规模监控及“社会信用”系统。草案特别提到,中国可能利用香港作为独立关口,可能会以大湾区之名,利用香港成为中国输入敏感技术的管道;

草案要求美国总统向国会相关委员会提交一份制裁人员名单,这些人被指打压香港基本自由,有可能被冻结在美国的资产或拒绝入境。

  编程随想注:
  目前只是参众两院的【外交委员会】通过该法案。之后还需要再提交到参众两院进行正式投票。以目前美国政坛的【反中】(反中共)立场,通过该法案是【没有】悬念滴。悬念只在于——是否会【全票通过】。
  顺便说一下:
  最近两三年,涉及台湾的几个法案,在美国参众两院经常以【全票】通过。相比5年前,美国政坛的对华立场已经完全不同了。相关的介绍参见如下博文:
《澄清“中美对抗”常见的一些【误解】》

◇外媒报道


《《香港人权与民主法案》——美国升级涉及香港的法律武器 @ BBC/英国广播公司》
(编程随想注:以下是此文摘录,粗体是俺标注滴)
美国众议院外交事务委员会(Foreign Affairs Committee)在周三上午的会议中讨论多项议案,无异议通过《香港人群与民主法案》,随后参议院外交关系委员会(Foreign Relations Committee)亦通过该法案的修订案。

共和党众议员史密斯(Chris Smith)的新闻发言人杰夫·萨格尼普(Jeff Sagnip)表示,众议院全体表决将安排在10月,很可能会在10月14日美国联邦法定假日——哥伦布日之后。众议员史密斯是《香港人权与民主法案》的提出者之一。

《经济学人》智库分析称,相信这份法案会在今年年底之前成为真正的法律。

中国国务院港澳办发表声明,指美国国会“粗暴干涉中国内政、严重践踏国际法和国际关系基本准则”。

中国外交部发言人耿爽26日表示,该案“罔顾事实、颠倒黑白,公然为香港激进势力和暴力分子张目,粗暴干涉中国内政。中方对此表示强烈愤慨和坚决反对。”

该法案在6月中由对华立场强硬的共和党众议员史密斯及共和党参议员卢比奥(Marco Rubio)分别在参众两院提出。他们希望修改1992年通过的《香港政策法》。

1992年通过的《香港政策法》容许美国把香港视作与中国大陆不一样的“非主权实体”,在“一国两制”的前题下,香港享有不一样的待遇,例如被视作“独立关税区”,美国对香港出入口敏感技术以及签证安排较为宽松。

《香港人权与民主法案》一经通过,将赋予美国相关部门制裁打压香港基本自由和人权等行为的法律基础。


★9月29日:全球反极权大游行(全球反【赤纳粹】大游行)


◇“赤纳粹”是啥意思?


  “赤纳粹”是英文合成词【Chinazi】的中文谐音。这个单词混合了 China & Nazi,以影射天朝的【中共】政权类似于纳粹的【极权主义】。
  早先已有网民设计了相关的旗帜(如下)
不见图 请翻墙
(图片来源:维基百科)

  香港的示威抗议者,在8月31日的街头游行中,也展示以一面巨大的“赤纳粹”旗帜(如下)
不见图 请翻墙
(照片来源:维基百科)

◇全球声援活动


  这是一次由网民发起的【全球性】抗议活动。
  世界各地的抗争者于2019年9月28日或9月29日举办公众行动,以抗议中国共产党(伟光正)通过“极权”的方式在世界发挥影响力。世界各国约六十个城市响应本次活动。除了香港,参与的城市包括:
(台湾)台北、高雄、新竹、台中、花莲...
(加拿大)温哥华、多伦多、渥太华、卡加里、爱民顿、哈里法斯...(注:多伦多与温哥华的游行,分别有2000人和2500人参加)
(澳洲)悉尼、墨尔本、布里斯本、珀斯...(注:珀斯的抗议者用小型飞机拉起Perth Stands with Hong Kong的横额)
(英国)伦敦、曼徹斯特...
(德国)柏林、汉堡、慕尼黑、法兰克福...
(法国)巴黎...
(美国)华盛顿特区、纽约、旧金山...
(荷兰)阿姆斯特丹
(瑞典)斯德哥尔摩
(日本)东京
(马来西亚)吉隆坡
(新西兰)奥克兰
......


◇各国声援的照片


  以下是【全球各地民众】声援香港的照片,收集自《立场新闻》的这篇报道

不见图 请翻墙
(台湾台北)

不见图 请翻墙
(台湾台北)

不见图 请翻墙
(台湾台中)

不见图 请翻墙
(台湾台南)

不见图 请翻墙
(台湾台南、高雄)

不见图 请翻墙
(英国伦敦)

不见图 请翻墙
(英国伦敦)

不见图 请翻墙
(英国伦敦)

不见图 请翻墙
(英国曼彻斯特)

不见图 请翻墙
(英国曼彻斯特)

不见图 请翻墙
(美国华盛顿特区)

不见图 请翻墙
(美国纽约)

不见图 请翻墙
(美国康乃尔大学)

不见图 请翻墙
(德国柏林)

不见图 请翻墙
(德国汉堡)

不见图 请翻墙
(法国巴黎)

不见图 请翻墙
(法国巴黎)

  以下是【美国民众】声援香港的照片,收集自 RFA(自由亚洲电台)的“这篇报道”。

不见图 请翻墙
(在中国驻美国大使馆门前举行“反对赤纳粹、声援自由香港集会”)

不见图 请翻墙
(在中国驻美国大使馆门前举行“反对赤纳粹、声援自由香港集会”)

不见图 请翻墙
(中国大使馆门口,铺在地上供众人排队踩踏的“赤纳粹”旗)

不见图 请翻墙
(中国大使馆门口,铺在地上供众人排队踩踏的“赤纳粹”旗)


  以下是【加拿大民众】声援香港的照片,收集自 RFA(自由亚洲电台)的“这篇报道”。

不见图 请翻墙
(温哥华市民在市中心的女皇剧院广场集合)

不见图 请翻墙
(温哥华市民在市中心的女皇剧院广场集合)

不见图 请翻墙
(在中国驻温哥华领事馆前的【国殇】抗议活动)

不见图 请翻墙
(给中共的花圈,放在中国驻温哥华领事馆门前)


★10月1日:“没有国庆,只有国殇”大游行


  示威由民间人权阵线(民阵)发起。定名为:“没有国庆,只有国殇”。时间上与北京的庆典同步进行。
  (不出意外),此次游行被警方发出“反对通知书”;主办方进行上诉,亦遭驳回。然后,3名前任香港立法会议员(李卓人、何俊仁、梁国雄),以及民阵副召集人陈皓桓 表态——代替民阵承接10月1日的游行。上述4人表示:此举是公民抗命的表现,清楚法律后果。
  最终大量民众在没有获得游行许可的情况下,在香港多个区举行大规模抗议示威。当日,多地爆发大规模冲突。首次出现【中弹】事件(参见下一章节)。当日警方发射了大约【1400枚】催泪弹,创单日记录。当日警方拘捕269人,最年轻的12岁。

◇相关外媒报道


《北京在庆祝,香港在开枪 @ 德国之声》

《香港冲突升级,给中国国庆庆典蒙上阴影 @ 纽约时报》

《北京國慶・香港國殤——10萬港人參加大遊行,怒吼「賀他老母!」 @ MSN》

《有港人誓言“十一”上街抗議 中共建政70年未見的難堪 @ RFI/法广》

《香港抗议首次有示威者中实弹受伤,警方称多处“暴动” @ BBC/英国广播公司》

◇大量商场在沦陷日停止营业


  由于警方【反对】10月1日的游行,而抗议民众决心不顾警方的反对,进行更大规模的抗议。大量商场都在当日停止营业,以免被殃及。
  以下是停业的部分名单,摘自“这篇报道”。
新鴻基地產旗下將於10月1日暫停營業的商場如下
沙田新城市廣場
元朗YOHO MALL
中環IFC
觀塘APM
屯門V CITY
銅鑼灣WTC MORE(世貿中心)
旺角MOKO(新世紀廣場)
荃灣廣場
屯門K-POINT
葵芳新都會廣場
灣仔新鴻基中心

暫停營業的港鐵商場如下
尖沙咀圓方
九龍灣德福廣場
青衣城
連城廣場Citylink

其他暫停營業的商場

尖沙咀:
Mira Place美麗華廣場
K11

銅纙灣:
利舞臺廣場
禮頓中心
希慎廣場
崇光百貨希慎廣場
Fashion Walk
利園Lee Garden One-Six
希慎道壹號

牛頭角:
淘大商場

旺角:
雅蘭中心商場
荷李活商業中心商場
家樂坊商場

荃灣:
愉景新城

港島東:
康怡廣場
傳SOGO銅鑼灣店及尖沙咀店亦全日關門

◇相关照片


不见图 请翻墙
(轩尼诗道密集的示威游行人群。照片来源:维基百科)

不见图 请翻墙
(香港街头的黑衣抗议民众。照片来源:纽约时报)

不见图 请翻墙
(示威者向【习呆呆】的大幅画像扔鸡蛋抗议。照片来源:维基百科)

不见图 请翻墙
(在香港黄大仙,防爆警察举枪,与抗议者对峙。照片来源:纽约时报)

不见图 请翻墙
(在香港黄大仙,警方发射催泪瓦斯,抗议者拿雨伞抵挡。照片来源:纽约时报)

不见图 请翻墙
(荃湾大河道,示威者放置路障并纵火,以阻挡警车通行。照片来源:维基百科)

不见图 请翻墙
(位于长沙湾道的【政府合署】被砸烂,外墙的涂鸦:贺你老母!。照片来源:香港01)

不见图 请翻墙
(位于长沙湾道的【政府合署】被砸烂。照片来源:香港01)

不见图 请翻墙
(长沙湾道政府合署内部照片。照片来源:香港01)


★10月1日:曾志健枪击事件


  上述“沦陷日大游行”期间,18岁的香港中学生曾志健在与警方冲突时,被警员曾嘉辉的手枪【近距离】击中胸口。子弹穿透肺部,接近大动脉,距离心脏左侧约3厘米。
  这是1997年之后,首次有街头示威者被警方【实弹】击中。

◇现场照片


不见图 请翻墙
(警察对曾志健【近距离开枪】的一瞬间。视频截图来源:香港大学学生会校园电视/Campus TV)

不见图 请翻墙
(曾志健中枪,即将倒地的瞬间。视频截图来源:香港大学学生会校园电视/Campus TV)

不见图 请翻墙
(曾志健中枪倒地不久的照片,胸口可见渗血。照片来源:香港01)

不见图 请翻墙
(赶来的急救人员。照片来源:香港01)

◇相关的质疑


以下摘自维基百科关于该事件的页面(链接在“这里”)。
立法会议员涂谨申指,警员持枪主动走近示威者,开枪是否属于自卫,值得质疑[2]。民主派立法会议员在2019年10月1日晚上发表联合声明,强烈谴责警方不必要将武力升级,使用足以致命的实弹,批评该名警员近距离开枪,似攻击多于自卫,加上每名警员的防御和攻击装备十足,质疑是否有必要使用实弹[14]。“民间记者会”发言人表示,曾志健只是为了保护自己和其他人,但是警员没有按《警察通例》规定先发出口头警告的情况下开枪。发言人同时指出,该警员手持的布袋弹枪是杀伤力较低的武器,质疑该警员为什么立刻决定使用致命武器[2]。

香港公共医疗医生协会质疑警方“生命受严重威胁”的说法,质疑为何不以次级武力向非致命部位开枪,批评警员的行径“与行刑无异”[15]。香港教育专业人员协会质疑警员事发时举枪冲前,并在近距离向该名学生使用致命武力的恰当性和相称性,并对事件予以强烈谴责[16]。国际特赦组织香港分会对香港警方处理示威手法表示震惊,呼吁香港警方检视执法手段,防止有更多性命受威胁[2]。

《纽约时报》试图分析曾志健中枪影片,指出根据联合国基本规范,执法官员面临死亡或重伤的急迫威胁时,必须事先明确警告才可动用枪械,质疑开枪警员未事先警告就扣下扳机,指香港警察执法可能没有遵守联合国规范[17]。英国外交及联邦事务大臣蓝韬文发声明指出,当局以实弹对付示威者不符比例,只会激化局势[18]。

◇相关的声援和抗议活动


  以下几张图片是:
在曾志健母校“荃湾公立何传耀纪念中学”周边进行抗议集会和静坐。

不见图 请翻墙
(中学生在该校外围集会,并举牌抗议。照片来源:香港01)

不见图 请翻墙
(学生与市民在该校外围静坐,铺在地上的标语写:警暴肆虐 谋杀学生。照片来源:香港01)

不见图 请翻墙
(抗议的女中学生;手放于心口象征——曾志健被子弹击穿左肺。照片来源:维基百科)

不见图 请翻墙
(系在路边栏杆上的纸鹤。照片来源:香港01)

不见图 请翻墙
(漫画形式的标语牌。照片来源:香港01)

不见图 请翻墙
(标语牌还我自由。照片来源:香港01)

◇开除的压力 VS 校方的力挺


  枪击事件后,(前任香港特首)梁振英反应非常迅速。当日(10月1日)就在 Facebook 连发7篇帖子,把曾志健称作暴徒,并要求所在学校开除其学籍。
  (注:臭名昭著的梁振英,当年干特首的时候,被网民戏称为【香港市委书记】,简称【粱书记】。从特首位置上滚蛋之后,改任“全国政协副主席”)
  10月5日,何传耀纪念中学的校董会发表声明,强调——曾志健是何中的一分子,我们绝不会离他而去。并承诺【不】开除其学籍。
  10月7日,(朝廷喉舌)新华社刊登题为《为师者岂能如此颠倒黑白》的文章,批评校方包庇涉事学生。显然,朝廷方面也在向该中学施压。
  在诸多压力之下,俺非常佩服这个中学的校董会,依然能坚持自己的立场!


★10月4日:港府颁布《禁蒙面法》


  《禁蒙面法》全称是《禁止蒙面规例》。在10月4日,港府援引《紧急情况规例条例》,订立了该条例。其内容:禁止市民在集会及游行时,用物品遮挡面部。
  这是1997年以来,港府【首次】动用《紧急情况规例条例》。
  以下是相关的外媒报道。

◇《香港“禁蒙面法”揭露了林郑月娥的真面目 @ 纽约时报》


一种更为险恶的解释是,街头的进一步暴力可能成为借口,以便正式或事实上实施宵禁,通过其他极端紧急法规。
据说,主要的亲政府党派成员还在担心他们在定于11月下旬举行的区议会选举中的前景:混乱将是推迟或取消这些选举的一个方便借口。

来自亲民主阵营党派的议员已经开始了一场法律战,对林郑月娥的法令提出质疑,并要求对其进行司法审查。高等法院上周末拒绝下达阻止该禁令立即生效的临时禁制令,但表示可能在10月底前对此案进行全面审理。

我们已经知道“一国两制”行将消亡;现在我们又知道,法制也在消亡。

◇《禁蒙面打开了潘多拉的魔盒 @ 德国之声》


德国之声:
刚刚港府宣布反蒙面法,您认为,其最大的影响将是什么?

刘细良:
我觉得重点不在于蒙面法,而是其通过的手法。动用紧急法的方式,不需要在立法会讨论,也不需要立法会同意,这种方式让独裁的权力集中在行政长官手中。这是打开了潘多拉的魔盒。
第一步是蒙面法,之后我相信港府会颁布宵禁令,规定晚上不能出现在什么地方,将是针对中学生。然后再用同样手段,允许警察在拘捕后的扣留时间从48小时增加到72小时,用这种手法阻碍香港人出来抗争。最后,通过这个手段宣布11月香港区议会选举无限期推后。
所以问题不在于(限制)蒙面,蒙面只是第一步,其动用法律的方式才是重点。

德国之声:
香港回归以后,没有动用过紧急法。现在动用,是因为现在香港的状态很坏,还是有其他的原因?其背后考量是什么?

刘细良:
我想,这要比送中条例更严重。送中条例还要通过法院,才能将人送到中国大陆去。而现在使用紧急法,基本上就是行政独裁的权利,不需要任何内部的监督。
动用这种严厉的手段,很明显是警察已经不能控制现在的局面,而且警察也出现了失控的情况。因此唯有采用这种法律的手段。警察已经不能控制香港局面,而且警察更成为香港局面失控的原因。所以港府现在希望用法律的手段来取代警察……,我想这是港府背后的考量。
然而港府不明白,动用法律手段,打开了潘多拉魔盒,会带来怎样后果。市民的忧虑和反应会比送中条例更激烈。因为行政权利到了无限制的情况,可以搁置所有的人权、搁置所有法律对自由的保障。不(只)是蒙面的自由没有,最严重的是什么样的自由都可能被政府拿走。在这样的忧虑下,我觉得香港人会出来反抗。

◇《香港“禁蒙面”说什么?为何被指侵人权? @ VOA/美国之音》


香港知名律师黄国桐星期五下午对美国之音表示,港府不采用回应民意的方式解决冲突,反而再出台禁蒙面法,限制市民的基本权利,是对港人的进一步严重侵害。

他说:“定性也是它(警方),抓人也是它,这就让人感到很不公平。他们说这个是非法集结就是非法集结,不批准你游行就不批准你游行。所以,这些(蒙面)限制是限制了我们的人权。”

黄国桐律师还表示,港府称,美国、加拿大、欧洲等国家都有蒙面法,但这种比较很不合理,因为港府不是民选政府,不是“主权在民”的政治体制。


★10月4日~6日:反对《禁蒙面法》大游行


◇简介


  请大伙儿注意:该条例比《送中条例》更加恶劣,直接威胁到【基本人权】。
  因此港府出笼的这个《禁蒙面法》,毫不意外地引发了更加激烈的对抗,遍及香港每个区。其抗议规模之大,程度之激烈,导致港铁全线停运(包括:“机场快线”和“港铁巴士”都停止服务),持续时间从4日(周五)晚上到5日(周六)上午。全城基本上处于【半瘫痪】状态。

◇相关照片


不见图 请翻墙
(很多抗议者把【福克斯面具】戴在后脑勺,以藐视《禁止蒙面规例》。照片来源:纽约时报)

  编程随想注:
“福克斯面具”以电影《V怪客》而闻名于世,具有强烈的政治象征意义。

不见图 请翻墙
(抗议者举着【蒙面】的小黄鸭。照片来源:纽约时报)

不见图 请翻墙
(中环的示威者。照片来源:头条日报)

不见图 请翻墙
(中环的示威者。照片来源:头条日报)

不见图 请翻墙
(中环的示威者。很多人戴了口罩/面具——公开藐视《反蒙面法》。照片来源:头条日报)

不见图 请翻墙
(中环的示威者。很多人戴了口罩/面具——公开藐视《反蒙面法》。照片来源:头条日报)

不见图 请翻墙
(中环的示威者,有人举起美国星条旗。照片来源:头条日报)

不见图 请翻墙
(元郎的示威者。照片来源:头条日报)

不见图 请翻墙
(持续到夜间的街头示威。照片来源:头条日报)

不见图 请翻墙
(在曾志健中枪的地点附近,举行大规模抗议活动。多数人继续佩戴口罩。照片来源:纽约时报)

不见图 请翻墙
(由于大量抗议民众涌向金钟政府总部。立法会贴出【红色警告】,要求所有人员尽快撤离立法会综合大楼。照片来源:香港01)

不见图 请翻墙
(抗议民众喷涂的标语:驱逐共党。照片来源:香港01)

不见图 请翻墙
(手持燃烧瓶的抗议者。照片来源:香港01)

不见图 请翻墙
(沙田的【中国旅行社】被纵火。照片来源:香港01)

不见图 请翻墙
(旺角的【优品360】商铺被纵火。照片来源:香港01)

不见图 请翻墙
(街头的防暴警察。照片来源:纽约时报)

不见图 请翻墙
(警方向街头抗议者发射催泪弹。照片来源:自由时报)


★10月4日:《香港临时政府宣言》


◇起因


  催生该宣言的直接导火索就是上述提及的《禁蒙面法》。
  前面说了:该条例比《送中条例》更加恶劣,直接威胁到【基本人权】。由此引发了更激烈的抗议活动,其中也包括了这个宣言。

◇宣言全文


在人類文明的進程中,推翻破舊之物以建更美好之物乃必然之事,此之為人類進化之本。如舊有之政府不為人民所立、不為人民所治、不為人民所享,則人民建立屬民之政府,亦為必然之理。今香港特別行政區政府已然不為香港人民所立、所治、所享,故今日我等宣告成立香港臨時政府。

「人人生而平等,上天賦予全人類某此不可剝奪之權,包含生命權,自由權、尊嚴權及追求幸福之權。」此乃我等一直所認同及不可踐踏之真理及原則。人民為了不剝奪及不被剝奪,始建立法律及政府以保障自身及他人之權。政府一切之權力,乃源於人所賦予之權。政府如破壞以上原則,則人民有絕對之權力推翻及建立。

如今香港特別行政區政府受中華人民共和國及中國共產黨所控制,對香港人民的訴求視若無睹,不斷剝削人民之權利,不立利民之法,反而進一步剝奪人民之自由。香港特別行政區政府今日繞過立法會制定《反蒙面法》,企圖繼續壓制人民集會之權,不理會香港絕大多數的人民之意願。我等認為香港特別行政區政府已然失去人民之認可及授權,故今日我等宣布香港特別行政區政府失去其合法性,行政長官,各司、局長立即失去其職位所賦予之權。

香港臨時政府宣布:
一、原有香港特別行政區政府各部門歸入香港臨時政府管理。
二、原有香港特別行政區政府行政長官、各司長、各局長及副局長,各部門首長及副首長馬上離任及懸空職位,直至香港臨時政府委任。
三、各部門馬上停止自二O一八年起所有由香港特別行政區政府所頒布之新政策,各級人員保留其職位,並維持各部門必要之日常運作,直至另行通知。
四、香港臨時政府任期為五年或直至以全民提名及普選政府之體制及政府首長(以較短日期為准)。香港臨時政府必需在成立起計一年內籌備選舉,並於三年內完成選舉。
五、香港臨時政府首長及各部門之臨時委任官員,在其任期結束後,終身不可擔任香港政府及公營機構之任何官職及受薪之決策人員。
六、《香港法律》各條文暫予以保留,直至香港臨時政府頒布新法律。
七、解散香港立法會,並於三個月內進行選舉臨時立法會,一年內重新選舉立法會。臨時立法會議員席位為七十席。其中香港島、九龍西選區十二席,九龍東十席,新界西、新界東選區十八席。

◇相关照片


不见图 请翻墙
(上千名聚集在“新港城中心”,同声宣读《香港临时政府宣言》。照片来源:台湾中央社)

不见图 请翻墙
(上千名聚集在“新港城中心”,同声宣读《香港临时政府宣言》。照片来源:自由时报)

不见图 请翻墙
(上千名聚集在“新港城中心”,同声宣读《香港临时政府宣言》。照片来源:自由时报)

不见图 请翻墙
(在“荃新天地”外的集会民众宣读《香港临时政府宣言》。照片来源:香港大学学生会校园电视/Campus TV)


★10月初:NBA 事件


◇事情的起因


  10月4日,休斯顿火箭队总经理莫雷(Daryl Morey)在推特上发了支持香港“反送中”抗议运动的图片。

不见图 请翻墙

◇小粉红的抗议


  碰到这种事情,小粉红通常很嗨,纷纷跳出来抗议,声称要抵制 NBA。

◇休斯顿火箭队的退缩


  一开始,休斯顿火箭队有点【缩】了——
1. 莫雷很快就删除了上述推文。
2. 休斯顿火箭队老板菲尔蒂塔(Tilman Fertitta)发布推特表示:莫雷不能代表休斯顿火箭队。
3. 火箭队球星哈登向中国球迷致歉。

◇朝廷方面(真理部)跟进,发表抗议


《人民日报》新浪微博账号发文称:
莫雷的立场是对中国球迷的伤害,也是对中国人民的冒犯。
......
香港事务是中国内政,容不得说三道四。莫雷,你欠中国人民一个道歉,火箭队,你欠中国人民一个解释。

◇美国政界、舆论界激烈反弹


  以下是美国知名政界人物对此事的公开表态(收集自维基百科关于此事的页面)
火箭队长期支持者、德克萨斯州共和党籍联邦参议员泰德·克鲁兹斥责NBA“可耻地退缩”,称“人权是不可出售的”、“NBA不该帮助中共进行审查”;

佛罗里达州共和党籍参议员里克·斯科特也谴责NBA选择支持中共,拒绝与香港人民站在一起。斯科特要求立即与NBA首席执行官亚当·萧华见面,讨论NBA在中国的活动;

美国众议院外交委员会共和党首席议员迈克·迈克考通过委员会党团发表声明,谴责中国针对火箭队的报复性行为;

共和党籍参议员马克罗·鲁比奥推特表示,NBA联盟为了取悦中共当局而把火箭队的莫雷当牺牲品,直批此行径“令人作呕”;

共和党籍参议员约什·霍利在推特上发言,谴责NBA向中国服软的声明[19]。

美国总统民主党初选候选人杨安泽、贝托·欧洛克、朱利安·卡斯特罗(英语:Julian Castro)以及民主党籍参议院少数党领袖扎克·舒默均批评NBA的回应[19][20];

另一位民主党籍总统参选人伊丽莎白·华伦推特表示,中国正利用市场势力来压制言论自由和批评声音,但NBA却为了荷包,背弃自身原则与美国价值[21]。

美国前国务卿希拉里·克林顿在推特上表示,“所有美国人都有权发声支持香港的民主和人权。”

  编程随想注:
上述知名的美国政界人物,既有共和党,也有民主党。既有国会议员,也有政府高层。
俺在最近一年的多篇博文中已经反复提到:最近几年,美国政坛在【反中】(反中共)方面已经达成了【高度一致】。

  除了美国政坛,美国舆论界(包括自由派与保守派,包括主流与非主流)大都站出来表态——强调【捍卫言论自由】的重要性。

◇NBA 官方强调【言论自由】


  据说 NBA 官方一开始是准备要向天朝方面道歉。
  但由于美国政界、舆论界激烈反弹。最终 NBA 的头头亚当·萧华发表了一个措辞谨慎的官方声明(如下)
那条推文已经产生了相当巨大的后果,我读过一些媒体暗示我们不支持达里尔·莫雷,但实际上我们支持。
......
我认为,作为一个基于价值观的组织,我想明确表示……达里尔·莫雷在行使言论自由的能力方面得到了支持。
......
NBA社区的成员仍然可以发表自己的意见,联盟也支持他们这样做的权利。
......
有些价值观从一开始就是联盟的一部分,其中包括言论自由。
我接受中国政府和中国企业对这些话的反应也是其权利。
而且至少从我在 NBA 的长期经验来看,要花一些时间来解决这些问题。
  请注意:这份声明【没有】道歉,反而强调了:莫雷的【言论自由】得到 NBA 官方的支持!

◇天朝的抵制,【虎头蛇尾】


  近期正好有两场 NBA 相关赛事在天朝举行:10月10日在上海,10月12日在深圳。据报道,门票老早就被抢购一空,两场比赛都座无虚席。
  俺敢打赌,热衷于去现场看球的人里面,肯定有一些也是在网上高喊着要“抵制 NBA”的。为啥很多人会出现这种【精分】的现象?俺在“上一篇博文”提到某个观点(要“观其行”,【不要】“听其言”),正好可以解释天朝民众的这个现象。
  考虑到某些读者没看过前一篇博文,简单说一下:
  简而言之,由于天朝变态的言论审查,很多人为了【自保】,早就学会了/适应了——如何【伪装】自己的言论。再说了,伪装言论本来就没啥成本。
  所以,当你想观察【墙内】的人心向背,你需要观察那些——涉及到【切身利益】的行动。比如说:对那些真正的 NBA 球迷而言,去现场看球就是某种意义上的【切身利益】。

◇“小粉红”再次体现了【猪队友】的本色


  编程随想注:
  在前一篇博文的评论区,很多读者希望俺点评此事。所以俺简单聊几点。

  1、
  很多小粉红高喊着要彻底封杀 NBA。这种做法很幼稚。
  一方面,NBA 具有庞大的生态环境(在天朝有很多周边产业、很多的相关从业人员)。如果彻底封杀 NBA,首先倒霉的是这帮【国内】民众。
  另一方面,如果真的彻底封杀 NBA,等同于在【体育】的某个领域实现了【脱钩】。
  俺已经在不止一篇博文中提到——美国佬发起贸易战,最终的目的就是——在经济领域实现【中美脱钩】。
  而体育领域的脱钩,最终也会反映到经济领域。也就是说——小粉红间接地帮助了美国佬。

  2、
  本来莫雷的 Twitter 也没啥,至少还没产生显著的负面影响。
  但经过小粉红这么一闹,引发美国政界的激烈反弹,将进一步强化美国政坛对天朝的【鹰派】立场。
  或者换一个说法:小粉红等于是在向美国【对华鹰派】提供舆论弹药。
  最近几年,美国政坛的对华立场已经显著转变。具体参见之前的博文《从量变到质变——中美关系40年》

  3、
  此事不光是进一步强化了美国政坛的鹰派立场。而且也进一步强化了【美国民众】对天朝的厌恶。
  有必要提醒大伙儿注意:
  3.1 在美国社会【各阶层】,NBA 具有【非常大】的影响力。
  3.2 美国社会非常看重【言论自由】。美国宪法的【第一个】修正案就是为了:把“言论自由”上升到宪法高度。

  网上流传一句话叫做:不怕神一样的对手,就怕猪一样的队友!
  天朝的小粉红们,总是在充当【猪队友】,总是在【帮倒忙】。


★10月初:《南方公园》事件


  注:由于“《南方公园》事件”与“NBA 事件”具有相关性,俺也一并列出。并趁机抹黑一下习二逼。

◇《南方公园》是啥?


  《南方公园》,洋文原名“South Park”。另译作:《衰仔乐园》或《南方四贱客》。是面向【成人】的动画情景喜剧(连续剧)。
  剧中经常以歪曲式(反讽式)的模仿来嘲讽美国文化和社会时事,并挑战许多根深蒂固的观念和禁忌。
  在成人动画连续剧方面,其影响力仅次于《辛普森一家》。二位主创还制作了《南方公园电影版》,此片成为美国电影史上票房最高的“限制级动画电影”。

  另,《南方公园》每一集片头的声明(如下),也充满反讽意味 :)
本动画片中所有的角色和事件——包括以真实人物为原型的角色——均为虚构。
所有的名人配音都是很烂的拟音。
此节目语言粗鄙,内容混蛋,任何人都不宜观看。

  编程随想注:
  俺也很喜欢在博客中使用【反讽】,比如说:天朝、朝廷、真理部、伟光正......

◇《南方公园》最新一集:《中国乐队》


  在天朝沦陷日的第二天(10月2日),《南方公园》播出了第23季的第2集(总第299集),标题叫做《中国乐队》(Band in China)。
  这个标题是【双关语】——Band in China 与 Banned in China 谐音。
  这一集中有很多针对中国的政治讽刺,比如:习近平(维尼熊)、政治审查、死囚器官移植、劳改营......

不见图 请翻墙
(《中国乐队》剧照——请注意:米老鼠衣服上的【习二逼头像】。图片来源:纽约时报)

不见图 请翻墙
(《中国乐队》剧照。图片来源:The Hill/国会山报)

◇真理部【全网封杀】《南方公园》


  不出意外,整个《南方公园》在天朝遭到【全网封杀】——
  在天朝几大视频网站,相关视频已经无法播放(在某些视频网站,连该剧的简介也没了)。
  在“新浪微博、豆瓣、知乎、百度贴吧”等诸多网站,搜索“南方公园”已经看不到任何结果,有的网站会提示——根据相关法律法规和政策,搜索结果未予显示。

◇《南方公园》官方发表【反讽式】道歉声明


  该剧主创特雷·帕克(Trey Parker)和麦特·斯通(Matt Stone)在10月7日发表了一份【充满反讽】的道歉声明。不但嘲笑了 NBA 事件,还进一步【羞辱了】伟光正的掌门人【习呆呆】。
与美国职业篮球(NBA)一样,我们非常欢迎中国的审查员深入我们的家园与内心。
我们爱钱,胜过自由与民主。
习近平一点也不像小熊维尼。

本周三10点,来收看我们的第300集动画!
伟大的中国共产党万岁!
祝今秋高粱大丰收!
我们现在和好了吧,中国?

  注:道歉声明中的“高粱大丰收”,洋文原文是“sorghum harvest”,影射【器官摘取】(organ harvest)。
  另,据说此剧的下一集(总第300集)中有台词:Fuck the Chinese government

不见图 请翻墙
(官方道歉原文。图片来源:《南方公园》官方推特)

不见图 请翻墙
(《南方公园》的两位主创。照片来源:维基百科)


★10月10日:双十节的港台互动


◇蔡英文的国庆讲话——【抵制】一国两制


不见图 请翻墙
(台湾总统蔡英文发表国庆演讲。照片来源:路透社)

《台湾双十节,蔡英文称:拒绝“一国两制”成台湾最大共识 @ BBC/英国广播公司》
(以下是此文摘录,粗体是俺标注滴)
国庆演说首次谈到香港

蔡英文在这场简短的演讲中专门提到香港,她说,香港“因为一国两制的失败正处于失序边缘”。

“尽管如此,中国依然以‘一国两制台湾方案’,不断威胁我们,并且采取各种文攻武吓,”蔡英文表示,拒绝一国两制是2300万台湾人民不分党派、不分立场,彼此间最大的共识。

“一旦接受一国两制,中华民国就没有生存的空间。”她说。

同时,在外交方面,她专门提到印太战略,称“台湾是印太区域安全上,民主自由的第一道防线”。

“中国崛起跟扩张,以威权体制,结合民族主义和经济力量,挑战自由民主的价值和世界秩序。也因此,处于印太地区战略前缘的台湾,成为守护民主价值的第一道防线。”

《蔡英文国庆讲话——接受一国两制,中华民国就没有生存空间 @ RFI/法广》
(以下是此文摘录,粗体是俺标注滴)
蔡英文说,「当自由民主受到挑战,当中华民国的生存发展受到胁迫,我们就必须站出来捍卫」。拒绝「一国两制」,是2300万台湾人民不分党派、不分立场,彼此间最大的共识。

另外,蔡英文今天下午在总统府接见前来参加国庆典礼的美国联邦参议员克鲁兹(Ted Cruz)。蔡英文说,克鲁兹是35年来第一位来台出席国庆的美国联邦参议员。她要代表台湾人民表达最深感谢,这几年由于克鲁兹的强力支持,台湾的重要议题都被纳入美国国防授权法案。

克鲁兹表示,台湾不只对亚洲重要,对全世界来说都非常重要;台湾向世界展示「自由与民主是行得通的」。正因为如此,中国的共产党政府才这么害怕台湾的成功,因为台湾成功地示范,自由民主在亚洲是可以运作的。

克鲁兹也提到,当大家都聚焦香港以及香港人民面临的残酷压迫时,捍卫自由与民主更显重要,对世界来说,台湾具有代表意义。

◇香港街头的“中华民国国旗”


不见图 请翻墙
(港台连线 双十庆典。照片来源:Line Today)

  双十节前几天,香港政治评论人士桑普在 Facebook 提醒香港民众:
10月10日,大家千萬不要搞錯,不要用中國國民黨黨旗。
......
我認為不一定需要用足三面旗,用中華民國國旗即可,雖然未能盡善盡美,但可團結大多數。

不见图 请翻墙

不见图 请翻墙
(位于将军澳 Popcorn 的“青天白日满地红”。照片来源:自由时报)

不见图 请翻墙
(位于港铁太子站出口的“青天白日满地红”。照片来源:Line Today)

不见图 请翻墙
(标语:守住台湾民主自由 台湾香港民主路上一起加油。照片来源:自由时报)


★结尾


  用本文最后一张照片中的标语,与“港台”追求民主自由的读者共勉。
守住台湾民主自由
台湾香港民主路上一起加油


俺博客上,和本文相关的帖子(需翻墙):
《每周转载:朝廷推香港版<国安法>,【一国一制】降临(外媒报道8篇)》
《变相的“全民公投”,垂死的“一国两制”——2019香港区议会选举随想》
《每周转载:香港“反送中”政治抗议活动大事记(10月至11月)》
《每周转载:香港“反送中”政治抗议活动大事记(8月初至9月初)》
《每周转载:香港“反送中”政治抗议活动大事记(7月初至8月初)》
《每周转载:香港“反送中”抗议活动的外媒报道(6月9日至6月15日)》
《每周转载:香港“反送中”抗议活动的外媒报道和网友评论(6月16日至6月22日)》
《每周转载:香港“占中民主运动”的外媒报道和【大量】照片(9月22日至9月28日)》
《每周转载:香港“占中民主运动”的外媒报道和【大量】照片(9月29日至10月2日)》
《每周转载:香港“雨伞革命”的外媒报道和【大量】照片(11月19日至12月2日)》
《每周转载:关于香港和澳门的特首选举(外媒报道和网友评论)》
《每周转载:关于“一国两制白皮书”和“国台办言论”(大量网友评论和图片)》
《每周转载:关于香港抗议洗脑教育(网文3篇,图片多张)》
《每周转载:关于朝廷对爱国主义的忽悠(网文5篇)》
《政治常识扫盲:理清“国家、政体、公民、政府、政党”等概》
《“盛大庆典”难掩【内忧外患】——天朝沦陷70周年随想》
《点评中国社会九大阶层——没有公平、难以流动、无法稳定》
《关于抹黑 Google——谈谈党国对舆论的操纵手法》
《台湾民主运动与独立运动简史》
《回顾“六四”》(系列)
《谈革命》(系列) +
+ +
+ + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/11/2019-Hong-Kong-Local-Elections.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/11/2019-Hong-Kong-Local-Elections.html" new file mode 100644 index 0000000000000000000000000000000000000000..a1442720e41df047f3768cf93dedcb2ade8a04e7 --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/11/2019-Hong-Kong-Local-Elections.html" @@ -0,0 +1,26 @@ + + + + + + + +变相的“全民公投”,垂死的“一国两制”——2019香港区议会选举随想 - 编程随想的博客 + + +
+

变相的“全民公投”,垂死的“一国两制”——2019香港区议会选举随想

+ +
+
+  上个周末,香港举行“区议会选举”。结果如何,大伙儿应该都知道了。今天发篇博文闲聊一下——既为了抹黑党国,也顺便普及一下香港政坛的背景知识。


★“区议会选举”简介


  前几天,某读者建议俺系统性介绍一下香港的政治制度。今天借这篇博文的机会,先扫盲一下“区议会选举”。在本文后续章节,也会简单聊聊“立法会选举”&“特首选举”。
  今后如果有空,俺再单独写一篇,系统性介绍香港的政治体系,及其历史变迁。
  另外,本文中涉及到的很多名词/术语,俺都添加了相关的【维基百科链接】,以方便大伙儿进一步阅读。

◇行政分区——香港18区


  目前,香港分为18个行政区,地图如下。行政区的数量与范围并不固定——历史上,因为人口流动,曾经拆分/合并过行政区,也调整过行政区的边界。

不见图 请翻墙
(18区地图。图片来源:维基百科)

◇“区议会”与“立法会”的差异


  香港“区议会”的洋文称作“District Council”;而“立法会”的洋文称作“Legislative Council”。很多人可能搞不太清楚这两者的差别。所以俺先来说一下:

  【职权】的差异
  “立法会”面向【整个香港】,顾名思义,具有“立法权”。除此之外,还有:控制“公共开支&政府预算”,批准“终审法院法官&高等法院首席法官”的任命......
  “区议会”主要面向【社区】,并且更多的是【咨询】的性质。相比“立法会”而言,它的职能【小】很多。比如说“公共开支”由“立法会”控制,而“区议会”在拿到拨款之后,负责具体的落实。
  在“社区事务”方面,“区议会议员”具有少量管理职能,能参与某些公共设施(体育场馆、公共图书馆、社区会堂...)的管理事务。

  【人数】的差异
  “区议会”的席位总数每届都有变化。1997之后,通常在 400~600 之间波动;
  “立法会”的席位总数相对比较固定。97回归之后“立法会”设 60 个席位;在2012年改革为 70 个席位。

  【选举方式】的差异
  大部分“区议会议员”由【基层选区】的选民直接选举,每个选民只能投票给本选区的候选人。另外还有少数【当然议员】(后面会提到)。
  而“立法会议员”分两种——“直选议员”与“功能界别议员”,各占一半(各35席)。“直选”比较好理解(与其它国家类似);“功能界别”(又叫“功能组别”)的选举比较复杂——根据行业划分出20多个组别,选民根据自己所属的某个组别,投票给该组别的候选议员。这个玩意儿【暗藏许多猫腻】,感兴趣的同学可以先去看维基百科的“这个链接”。

  某些好奇的同学会问:干嘛不让全体立法会议员都直选?为啥要搞出这么个“功能界别”的东东?
  当然啦,“真理部&港府”会告诉你一大堆冠冕堂皇的理由(比如它们会说“这是英国佬遗留下来滴”,还会说“这能具有更广泛的代表性”......)。总之,它们能把这些理由说得天花乱坠,把你忽悠得一愣一愣的。
  但【最本质的原因】其实很简单——【功能界别】有利于朝廷更好地控制“立法会”。自1997之后,“立法会”总是“建制派”占据多数。就算支持“民主派”的选民【更多】,但在立法会选举之后,“建制派”也总能控制 50% 以上的立法会席位。此中之奥妙,就在这个玄而又玄的“功能界别制度”(在本文后续章节,俺还会再聊到这个东东)。


★香港政党的【特殊性】


  很多欧美民主国家都订立“关于政党的法律”(政党法);但香港一直【没有】政党法。到目前为止,香港所有的政治组织,要么没有登记,要么以“公司 or 社团”的方式登记(参照《香港公司条例》或《社团条例》)。
  由于这个缘故,俺在本文后续章节中,会经常提到【党团】一词。

  除了上述特殊之处,香港另一个特别的地方在于——《基本法》规定:特首【不能】隶属政党。如果某政党的成员要想成为特首,需要先“退党”。
  从这点而言,香港【不存在】严格意义上的“执政党”。


★“建制派”(亲共派)及其渊源


  通俗地说,“建制派”就是“亲共派”。当然啦,它们口头上不会承认这点。
  香港的建制派,有挺长的历史渊源——自从大陆沦陷后,中共就开始在香港扶植【亲共势力】。经过几十年的演变,如今的“建制派”有好几种成分,大致如下:

◇工联会——“建制派”的雏形


  该组织成立于1948年9月(也就是大陆即将沦陷之时)。中共利用该组织渗透到香港工人运动。大伙儿请注意:中共是搞【工运】起家滴,所以捏,“渗透工运”对朝廷而言那是驾轻就熟。
  顺便跑题一下:
  1967年发生的“六七暴动”就是由工联会一手策划滴。那年是【文革】第二年,内地红卫兵武斗闹得正欢。“工联会”的头头(杨光)想要效仿内地的红卫兵,结果搞出了英国统治香港以来,最大规模的暴动。期间有51人死亡(包括5名香港警察,5名香港边防警察)。
  香港商业电台的主持人林彬因为批评暴动人士,被“工联会”的人在马路上放火烧死(其堂弟林光海跟他在一起,也被烧死);金庸(查良镛)当时任《明报》社长,因为写社论抨击文革,性命都受到威胁,以至于要暂时离开香港保命。

◇民建联——如今的【保皇党】


  除了上述这个臭名昭著的“工联会”,建制派里面比较有名的,还有“民建联”。成立于1992年,如今是立法会中最大的建制派党团。民建联能够持续坐大,关键在于——它与【裆中央】保持高度一致,因此得到特区政府的大力扶植。香港民主人士一般讥讽该党为【保皇党】。
  有些同学会纳闷了——既然已经有了“工联会”,为啥朝廷还要再扶植一个“民建联”捏?
  大伙儿请注意“民建联”的【成立时间】(1992)。那时候,香港回归已经进入倒计时。朝廷要考虑的是——霸占香港之后,如何【执政】。而之前中共掌控的“工联会”,是以【蓝领工人】为主体的工运组织。这帮大老粗,擅长“动粗”,但【不】擅长“玩政治”。所以,朝廷才需要另起炉灶,扶植“民建联”。
  前面俺提到:特首【不能】隶属任何政党,因此香港【没有】严格意义的执政党。但“民建联”总是与特区政府保持高度一致,可以视作“变相的执政党”。

◇若干“工商界党团”


  话说上世纪80/90年代,香港回归日期已定。香港工商界的老板们,为了能在97之后继续发财,也需要投靠或巴结中共。所以在上世纪末/本世纪初,香港成立了若干具有【工商界背景】的党团。这帮人倒不一定相信马列的那套玩意儿。他们更多地是为了【商业利益】。朝廷方面当然也知道这点,也会以【经济利益】进行威胁利诱,使这帮人乖乖听话。
  在“工商界党团”中,具有代表性的是:自由党、经民联、新民党。

◇乡事派


  所谓的“乡事派”特指:新界乡事势力。这个派系以“新界乡议局”、“新界社团联会”为主体,其成员来自新界原居民及乡郊社团组织。
  说到“乡事派”,就要提到“区议会”中的【当然议员】(上一个章节有提到这个玩意儿)。所谓的【当然议员】,指的是“新界9区”中各个“乡事委员会”的主席,可以自动成为“区议会议员”。
  这个制度属于历史遗留。1997之后,民主派多次要求撤销该制度,但历届特首都没有同意。其中的道理很简单——“当然议员”被新界的“乡事派”垄断,而这帮人又属于“建制派”。他们【无需选举】就可以占据区议会席位。这种好事情,朝廷显然不会放弃。


★“民主派”(泛民派、非建制派)及其渊源


◇支联会——香港民运的雏形


  该组织的全称很长,叫“香港市民支援爱国民主运动联合会”。它是为了支持大陆的【六四民运】而成立滴。成立时间是1989年5月下旬,那时候正是六四民运的高潮。
  六四屠城之后,为了帮助学生领袖逃亡,有个大名鼎鼎的“黄雀行动”,就是支联会主席司徒华发起滴。整个黄雀行动共营救了800人,当年朝廷发布《“高自联”通缉名单》,在全国范围内进行拉网式搜捕。名单上的23个学生领袖,有15人是靠“黄雀行动”才逃到海外。俺的网盘上分享了一本书《黄雀行动》,就专门讲这段经历。
  一直到最近几年,“支联会”还在继续支持六四的纪念活动,比如2014年在香港开张了【六四纪念馆】。另外,在《回顾“六四”》系列的后续博文中,俺也会提到“支联会对六四民运的帮助”。

◇“民主党”一党独大的格局


  民主党成立于1990年4月(也就是“支联会”成立大约一年之际)。早期的民主党骨干,很多都是双重身份(既是“民主党党员”,又是“支联会成员”)。
  香港回归(沦陷)之后的头几年(1997~2003),支持民运的党团中,“民主党”几乎是一党独大。有段时间,“民主党”甚至是立法会的第一大党。那时候说“民主派”经常指“民主党”。
  如今的“民主党”,影响力没有当年那么大,有几个原因:
1、内部派系及内斗(说到【内斗】,流亡海外的“大陆民运组织”,也有这个毛病)
2、2003年“反23条”之后,涌现了很多新的民运党团,分散了“民主党”的支持者

◇“反23条”之后形成的【泛民格局】


  2002~2003年的时候,董建华企图强推“基本法23条”,引爆2003年的“七一大游行”——那是回归后(沦陷后)第一次【特大示威游行】,多达50万人上街(相关介绍参见维基百科“这里”)。
  在那之后,涌现出很多民主派党团。舆论/媒体开始用“泛民主派/泛民”这个词汇来指带这些党团。
  为了协调“泛民”的诸多组织,(从2004年起)还搞了一个“泛民会议”(俗称“盒饭会”),在每周五的中午,各个党团代表在立法会的某个会议室碰头,一边吃午饭,一边讨论政治议题。
  参与这个“盒饭会”的党团,除了上述提及的“民主党”,还包括如下(按成立时间排序):
公民党、公专联、新民主同盟、人民力量、工党 ......

◇“占中运动 & 雨伞革命”之后出现的【本土自决派】


  2014年的“占中运动 & 雨伞运动”,俺发了好多篇《每周转载》。本博客的老读者,对那场运动应该比较熟悉。
  由于那场运动的政治诉求【没有】达成,香港开始出现比原先的“泛民”【更激进】的“本土自决派”。
  “本土自决派”中,有些支持“港独”,有些反对“港独”;有些与其它“泛民党团”保持【合作】关系,有些则持【敌对】关系(之所以会出现【敌对】关系,因为某些非常激进的“本土自决派”认为其它“泛民”反共不力)。

  严格来讲,这些“与其它泛民敌对”的“本土自决派”,【不】应该再被称作“泛民”。他们与“泛民”的总称,只能叫做“非建制派”。
  但为了打字省力,本文以下章节,俺还是以“民主派”来称呼“各种支持民运的党团”。


★“反送中”背景下,变相的【全民公投】


  由于这次选举,恰逢今年的“反送中政治抗议”。很多人都把本次选举视作某种【民意测试】——看看到底有多少香港民众支持“反送中政治抗议”。
  不光是“民主派”这么看,“建制派”也这么看。由于两大阵营(民主派、建制派)都很看重这次选举,某些外媒把这次选举称之为【变相的全民公投】。
  投票前,双方都鼓励自己的支持者积极投票;所以,本次选举的【投票率】高达 71.23%,是1997以来最高(没有之一)。而且比上一次的“区议会选举”高出 24.22% 之多。从下面这个图表,可以明显感受到:此次的投票率【猛增】。

不见图 请翻墙
(历年来【投票率】的变化。统计图表来源:纽约时报)

不见图 请翻墙
(历年来【选民登记人数】的变化。统计图表来源:纽约时报)

不见图 请翻墙
(湾仔区轩尼诗道投票站。照片来源:维基百科)

不见图 请翻墙
(屯门区市中心选区投票站。照片来源:维基百科)

不见图 请翻墙
(元朗区天盛选区投票站。照片来源:维基百科)

不见图 请翻墙
(葵青区兴芳选区投票站。照片来源:维基百科)


★区议会选举结果——民主派创历史最好记录,建制派全面崩溃


  前面费了好多口水进行铺垫,终于说到本文的正题——本次“区议会选举”的结果。
  为了加深大伙儿的印象,俺拿2015年底的选举,与今年(2019)的选举进行对比。

◇【上届】区议会(2016~2019)


  上届的【议席总数】 458=431(民选议员)+27(当然议员)

“民主派 VS 建制派”实力对比(2015选举)
香港岛4区九龙5区
行政区中西区湾仔东区南区油尖旺深水埗九龙城黄大仙观塘
议员数151335171923242537
两派对比
(民主/中间/建制)
5 / 0 / 10 2 / 0 / 11 10 / 0 / 25 5 / 0 / 12 3 / 0 / 16 11 / 1 / 11 4 / 0 / 20 9 / 0 / 16 9 / 0 / 28
 
新界9区
行政区离岛葵青荃湾屯门元朗北区大埔沙田西贡
【民选】议员数102918293518193827
两派对比
(民主/中间/建制)
2 / 0 / 8 9 / 1 / 19 4 / 1 / 13 8 / 0 / 21 5 / 0 / 304 / 0 / 14 6 / 0 / 13 19 / 0 / 19 9 / 4 / 14
【当然】议员数812164212
【总】议员数183020304122213929
两派对比
(民主/中间/建制)
2 / 0 / 16 9 / 1 / 20 4 / 1 / 15 8 / 0 / 22 5 / 0 / 36 4 / 0 / 18 6 / 0 / 15 19 / 0 / 20 9 / 4 / 16
(注:【新界】的9区,存在“当然议员”。所以“两派力量对比”要分列两行——
前一行表示【民选】议员数的对比,不含“当然议员”;后一行表示【总】议员数的对比,包含“当然议员”)

◇【下届】区议会(2020~2023)


  注:因为人口流动,各区的席位会有一些微调,具体如下:
九龙城、油尖旺、荃湾——增加1席
深水埗、葵青、屯门、西贡——增加2席
观塘、沙田——增加3席
元朗——增加4席
  因此,本次选举的【议席总数】变为 479=452(民选议员)+27(当然议员)

“民主派 VS 建制派”实力对比(2019选举)
香港岛4区九龙5区
行政区中西区湾仔东区南区油尖旺深水埗九龙城黄大仙观塘
议员数151335172025252540
两派对比
(民主/中间/建制)
14 / 0 / 1 9 / 0 / 4 32 / 0 / 3 15 / 0 / 2 17 / 0 / 3 23 / 0 / 2 15 / 0 / 10 25 / 0 / 0 28 / 0 / 12
 
新界9区
行政区离岛葵青荃湾屯门元朗北区大埔沙田西贡
【民选】议员数103119313918194129
两派对比
(民主/中间/建制)
7 / 0 / 3 27 / 0 / 4 15 / 1 / 3 28 / 0 / 3 33 / 0 / 6 15 / 0 / 3 19 / 0 / 0 40 / 0 / 1 26 / 3 / 0
【当然】议员数812164212
【总】议员数183221324522214231
两派对比
(民主/中间/建制)
7 / 0 / 11 27 / 0 / 5 15 / 1 / 5 28 / 0 / 4 33 / 0 / 12 15 / 0 / 7 19 / 0 / 2 40 / 0 / 2 26 / 3 / 2
(注:【新界】的9区,存在“当然议员”。所以“两派力量对比”要分列两行——
前一行表示【民选】议员数的对比,不含“当然议员”;后一行表示【总】议员数的对比,包含“当然议员”)


不见图 请翻墙
(选举地图,详细到【基层选区】。绿色表示“民主派”;红色表示“建制派”。图片来源:维基百科)


  由于地图有某种【误导性】——面积大的区域,不一定人多。有人制作了如下这种“选举地图”,每个【基层选区】对应图中的一个六边形。这就可以很准确地看出此次选举中,两大阵营在不同选区的实力对比。


不见图 请翻墙
(每个选区以大小均等的六角形表示。黄色表示“民主派”;灰色表示“中间派”;蓝色表示“建制派”。图片来源:维基百科)


◇两次选举,【统计数字】的变化


不见图 请翻墙
(【2015年】底的选举结果对比。黄色表示“民主派”;灰色表示“中间派”;蓝色表示“建制派”。图片来源:维基百科)

不见图 请翻墙
(【2019年】底的选举结果对比。黄色表示“民主派”;灰色表示“中间派”;蓝色表示“建制派”。图片来源:维基百科)

不见图 请翻墙
(两次区议会选举的“条状对比图”。图片来源:纽约时报)

◇两次选举,【候选人】的变化


  【民主派】的候选人,很多是年轻人。其中有些甚至属于“政治素人”(首次从政)。在这些首次当选的区议员中,有很多人积极参与了近期的【反送中抗议活动】。
  下面这张照片摘自《纽约时报》,其中的六人都是今年“反送中抗议活动”的积极分子。

不见图 请翻墙
(激进参与“反送中抗议活动”的【新】当选议员。图中的6个候选人,按图片位置对应如下:
林卓廷/北区 邝俊宇/元朗 陈振哲/大埔
岑子杰/沙田 赵家贤/东区 仇栩欣/东区
照片来源:纽约时报)

  与“民主派”的新人纷纷当选形成显著反差的是——很多【建制派大佬】(如下)在这次选举中【连任失败】。
张国钧(最大建制派政党“民建联”的副主席)
田北辰(建制派政党“自由党”荣誉主席,并与叶刘淑仪创立建制派政党“新民党”)
麦美娟(建制派政党“工联会”副理事长)
何君尧(建制派大佬,曾是“立法会/区议会”双料议员。因公开发表亲共言论而臭名昭著)
周浩鼎(建制派大佬,曾是“立法会/区议会”双料议员)
刘国勋(建制派大佬,曾是“立法会/区议会”双料议员)
郑泳舜(建制派大佬,曾是“立法会/区议会”双料议员)
陆颂雄(建制派大佬,曾是“立法会/区议会”双料议员)
......
  前面提及的【保皇党】(民建联),此次派出181人参选,只有21当选(当选率才 1/9)。反观最大的民主派(民主党),派出99人竞选,91人当选(当选率超过 90%)。反差如此之大!
  另外,(本次选举后)建制派在好几个区被【剃光头】(也就是说,这几个区,【没有】任何一个建制派当选)。


★朝廷大力吆喝,换来一记响亮的耳光


  早在几个月前,真理部控制的媒体(朝廷喉舌)就一直在说:今年香港的抗议活动,是【一小撮人】搞出来滴,背后有【海外敌对势力&国际反华势力】。(注:经历过“六四”的内地民众,应该对上述说法非常耳熟 :))
  朝廷喉舌还说:大部分香港民众都反对这次抗议活动。只不过他们没有站出来。朝廷喉舌把这些人称作【沉默的大多数】。
  在本次选举之前,朝廷喉舌一直在大力吆喝——让“沉默的大多数”站出来投票。并不惜采取了很多措施。

◇利用香港艺人帮忙拉票


  就在选举的前一天(11月23日),天朝外交部驻香港的【特派员公署】还在其 Facebook 专页播放了一段视频,由40多位香港艺人共同拍摄,呼吁香港民众——用选票对暴力活动说“不”。
  很显然,这40多个戏子就是朝廷的傀儡,名单如下:
陈小春、成龙、王祖蓝、容祖儿、惠英红、陈雅伦、莫华伦、吴启华、肥妈、洪祖星、周海媚、陈浩民、翁虹、关礼杰、林俊贤、刘锡明、李国祥、梁烈唯(梁竞徽)、黄子扬、洪天照、莫镇贤、梁家仁、汤宝如、李霖恩、李耀景、杨明、张柏文、欧霭玲、彭敬慈、文佩玲、蔡淇俊、陈国坤、林漪娸、李美慧、吴毅将、黎瑞恩、何婉盈、黄铭健、庄思敏、庄思明、陈秀丽、颜光兴、颜仟汶、林迪安、黄竣锋、锺少雄。

  这个名单中的头两个家伙(陈小春、成龙)堪称【人渣】。成龙的名字已经臭大街了,所以俺节省点口水,单说【陈小春】——
此人是典型的“亲共分子”,曾任惠州市政协委员。他在这次选举中公然【违规】——在【投票间】内拍照(拍摄他自己的选票),并发到新浪微博。他这么干,显然想帮“建制派”拉票。但这种做法违反了香港选举法律——禁止任何人在投票站内“拍照、录音、录影”。

◇利用内地高校找港生拉票


  位于广州的“暨南大学”有很多香港留学生,朝廷方面连这些人也不放过。
  经香港媒体爆料——在本次选举前,很多暨南大学的港生都被辅导员叫去【单独面谈】。辅导员可以准确地说出:该港生所在的【基层选区】,该选区对应的【建制派候选人姓名】,并且要求他们一定要投给这些【建制派候选人】。校方还承诺:可以免费提供包车往返香港,接送他们去投票。
  要俺说:这就是赤裸裸地——利用公权力拉票。在成熟的民主国家,这么干是严重违法滴。看来,咱们的朝廷为了这次选举,也是豁出去了。

◇朝廷方面【严重误判】


  在投票之前,朝廷敢于放话,号召香港民众:用选票对暴力活动说【不】。这至少说明——朝廷方面对这次选举,还是有一定的把握。如果【裆中央】对这次选举没啥把握,应该会低调处理,而不至于如此高调。
  但选举结果如此不堪入目,这足以说明——朝廷方面【严重误判】(完全估错了形势)。
  朝廷怎么会犯如此低级的错误捏?这就要聊到【习呆呆的傻逼】这个问题了。


★香港事态的发展,再次凸显【习呆呆的傻逼】


  香港的“反送中运动”,从6月份大规模升级之后,到如今已经快半年了。而港府方面的应对,堪称【一蠢再蠢】。尤其是10月初颁布的《禁蒙面法》,不但没能平息抗议活动,反而导致香港民众的抗议更激烈——这个月(11月)明显是“反送中抗议”爆发以来,最血腥的一个月(具体可参见前一篇博文,链接在“这里”)
  由于众所周知的原因,处理这么重大的政治运动,林郑月娥(妖蛾子)肯定得请示北京方面。而如今朝廷的掌门人正是以【傻逼著称】的习近平。港府在应对“反送中运动”时表现出来的种种弱智,实际上也就是在暴露——习近平的弱智。

不见图 请翻墙
(习呆呆与妖蛾子在“上海进博会”见面,双方亲切握手)

  习呆呆的傻逼,不光体现在香港方面,也体现在“中美贸易战”。具体的点评,参见去年的某篇博文《从量变到质变——中美关系40年》。

  在博客上,俺喜欢把他称作“习呆呆”,但在【墙内】网络,“习呆呆”这个词肯定会遭到“真理部”的审查、屏蔽、封杀;甚至还可能引来【跨省追捕】。因此,很多天朝民众都喜欢用更隐晦的绰号——【初中生】(真理部总不能把这个词也禁掉吧?)
  在今年的某个时候,俺惊讶地发现——身边某个从来不问政治、也从不翻墙的人,竟也知道这个绰号。由此可见,该绰号流传之广。这也间接表明——习的傻逼程度,得到某种【公认】 :)
  估计某些五毛又要指责俺“抹黑党和国家领导人”。老实说,俺还真喜欢【抹黑】:) 为了把【抹黑】进行到底,再次贴出前几年的博文:
《每周转载:习呆呆上台五周年,糗事一箩筐》


★此次选举的意义——对香港政坛的影响


  在本文最后一个章节,简单点评一下:此次选举对未来香港政治格局的影响。

◇对【立法会选举】影响


  在本文开头俺提到:“立法会议员”有一半(35)属于“功能界别议员”——这些席位由28个功能界别选出。
  其中有两个与“区议会”有关,分别称作“区议会第一组别”&“区议会第二组别”。

  区议会第一界别
  这玩意儿设【1个】席位,由“区议会”【互选】得出。也就是说,这个席位的“被选举人”必须是“区议员”,而投票的人也必须是“区议员”。由于民主派已经在区议会占据绝对多数,可以确保下届立法会拿到该席位。
  (注:从1997至今,一直是建制派控制“区议会”,以前这个席位总是被建制派拿走)

  区议会第二界别
  这玩意儿有【5个】席位,通过“【不】属任何功能界别的香港民众”直选。选举方式采用“名单比例代表制”,以全香港作为“单一选区”。由于整个立法会里面,只有这5个席位是全香港【跨选区、跨界别】直接选举,因此这5席也被坊间称作【超级议员】。
  请注意:这【5席】也必须是“区议员”;想参与这5席的竞争,还必须得到另外15个“区议员”联合提名。
  由此这次建制派惨败,在全部的479个“区议员席位”中只得到可怜【59 席】,因此,建制派想要提名这个界别的候选人,最多只能提名3人(59除以15)。这还是最理想情况——因为建制派本身也分好几个党团,相互之间【未必】能完美配合。
  (注:由于【名单比例代表制】本身的规则,民主派要想全取这5席,也很难)

  综上所述,因为这次区议会选举变天,有助于“民主派”更好地竞争上述两个界别的6个席位(虽然无法全取,但比上届更有利)
  大伙儿可别小看这6个席位哦。立法会里面的“功能界别席位”,总共也就35个,上述6个席位已经超过六分之一啦。即使相比整个立法会的席位总数(70席),上述这6席也接近 1/10 的比例啦。

◇对【特首选举】的影响


  香港的特首,是由“选举委员会”选出。该委员会有1200人(在2012年之前,是800人),其组成如下:
界别席位数说明
第1界别300工商界、金融界
第2界别300专业界
第3界别300劳工界、社会服务界、宗教界
第4界别300政界

  由于这个“选举委员会”是用来【选举特首】滴,因此朝廷方面对它的构成比例进行了精心设计——又是那个蛋疼的【功能界别】——通过它,朝廷不但可以控制“立法会”的多数席位,也可以控制“选举委员会”的多数席位。
  举例——就拿该委员会的“第1界别”来说事儿。
  某些同学看到该界别是“工商界、金融界”,或许会【误以为】——任何香港商人都可以参选这个界别。有这种想法的读者,就属于“图样图森破”啦——完全低估朝廷的阴险程度。
  实际上,普通的香港商人,根本【无法】以“工商界”的身份进入“选举委员会”的“第1界别”。要想以“工商界”身份被选入,候选人必须是“香港总商会会员”或者“香港中华总商会会员”。而这两个商会,完全是朝廷控制滴。

  上述表格最后一个类别的300个席位,对应政界,由【立法会、区议会、乡事局、两会代表】瓜分。具体参见下表:

类型席位数备注
立法会议员70
【民选】区议会议员【117】不含“当然议员”
香港籍全国人大代表36
香港籍全国政协代表51
乡事局代表26参见前面介绍的“乡事派”

  “区议会”可以分到其中的117个席位。也就是说,这117席由【区议员】选出。由于此次“区议会选举”,民主派获得【绝对多数】。下一届的“特首选举”,民主派就可以【全取】上述这117个席位。
  某些外媒在本次选举后的评论中指出:由于民主派在这次“区议会选举”中大胜,下一届特首选举,(乐观情况下)民主派有望控制“选举委员会”中的大约400席。虽然还是【无法】决定最终的特首人选,但可以对“特首候选人”施加某些影响。

◇对【香港政治版图】的影响


  前面提到:这次选举,很多民主派的当选议员是【政治素人】,而且很多都是年轻人(80后90后)。这些人里面,不但有本次“反送中运动”的积极分子,也有前几年“占中运动/雨伞运动”的积极分子。这反映出——香港年轻人的参政意识比以前更强烈。
  还有一个数据,也可以反映出这点。那就是:本次投票中,【年轻的】“首投族”(首次投票群体)占有相当比例。

  香港的年轻选民提升参政热情,实在可喜可贺。对抗朝廷的渗透,对抗“一国两制”,希望就在他们身上。
  在本文的结尾,再次贴出之前引用过的打油诗:
台湾民众要努力啊,否则就变成香港!
香港民众要努力啊,否则就变成大陆!
大陆民众要努力啊,否则就变成朝鲜!
朝鲜民众要努力啊,否则就变成地狱!


俺博客上,和本文相关的帖子(需翻墙):
《每周转载:朝廷推香港版<国安法>,【一国一制】降临(外媒报道8篇)》
《政治常识扫盲:理清“国家、政体、公民、政府、政党”等概》
《“盛大庆典”难掩【内忧外患】——天朝沦陷70周年随想》
《从量变到质变——中美关系40年》
《每周转载:习呆呆上台五周年,糗事一箩筐》
《台湾民主运动与独立运动简史》
《每周转载:香港“反送中”政治抗议活动大事记(9月初至10月初)》
《每周转载:香港“反送中”政治抗议活动大事记(8月初至9月初)》
《每周转载:香港“反送中”政治抗议活动大事记(7月初至8月初)》
《每周转载:香港“反送中”抗议活动的外媒报道(6月9日至6月15日)》
《每周转载:香港“反送中”抗议活动的外媒报道和网友评论(6月16日至6月22日)》
《每周转载:关于香港和澳门的特首选举(外媒报道和网友评论)》
《每周转载:关于“一国两制白皮书”和“国台办言论”(大量网友评论和图片)》
《每周转载:关于香港抗议洗脑教育(网文3篇,图片多张)》
《每周转载:关于朝廷对爱国主义的忽悠(网文5篇)》 +
+ +
+ + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/11/Brief-History-of-the-Berlin-Wall.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/11/Brief-History-of-the-Berlin-Wall.html" new file mode 100644 index 0000000000000000000000000000000000000000..7629682aa73f6418baddf0fd28dc631d647ac289 --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/11/Brief-History-of-the-Berlin-Wall.html" @@ -0,0 +1,26 @@ + + + + + + + +美苏冷战的缩影——柏林墙简史(多图) - 编程随想的博客 + + +
+

美苏冷战的缩影——柏林墙简史(多图)

+ +
+
+  前一篇博文发出后,某些读者抱怨说——为啥没聊“推倒柏林墙30周年”的事情。
  俺简单说明一下:对于某些重大事件的纪念日,俺如果总是在当天(或前后一天)发【相关的】博文,“线上活动”会呈现出明显的【可预测性】。这对于“安全防范&隐匿性”【不利】。
  考虑到【30周年】属于重大纪念,今天俺特意发了【原创】博文,而且是【长篇】哦。图片很多,大伙儿慢慢看。



★序曲


  聊“东西德与柏林墙”,当然要从“纳粹战败”开始说起。
  话说1945年4月,苏军攻入柏林,“柏林战役”开打。4月30日,苏军距离纳粹总理府仅剩2个街区,臭名昭著的纳粹头子希特勒自杀。希特勒在政治遗嘱中指明:由海军元帅卡尔·邓尼茨接替其“总统职务”,由臭名昭著的“忽悠部部长”戈培尔接替其“总理职务”。

  顺便普及个小知识:
  希特勒本人身兼“总统 & 总理”。为此,专门给他量身定做一个特殊职务,德语称作“Führer und Reichskanzler”,中文翻译为“元首”。但这个翻译很容易产生误会——因为其它一些外来词汇也被翻译为“元首”。在前几年某篇谈翻译的博文(链接在“这里”),俺专门吐槽过这个翻译。

  由于戈培尔身在柏林,希特勒死后次日(5月1日),他也自杀(而且是全家自杀)。至此,邓尼茨成为“第三帝国”的主要负责人,但他在这个位置上只待了一星期,德国就无条件投降了。本来邓尼茨提出:要与英美单独讲和(单方面停战),但被艾森豪威尔拒绝了。邓尼茨只好在5月7日签署《德国无条件投降书》。
  邓尼茨的【功劳】在于——他在短短的几天时间里,执行了一个【大规模撤离计划】(代号“汉尼拔行动”)——从德国东部(包括“东普鲁士”和某些德占领区)撤出了大约200万人口,其中有30万德军。即使在5月8日(正式签署《德国无条件投降书》的次日),由94艘船组成的庞大船队还从拉脱维亚某港口运走一万八千人到西方。
  从某种意义上讲——邓尼茨帮助那200万人摆脱了共产运动的魔爪。


★占领


◇从“3个占领区”变为“4个占领区”


  下面这张地图标识了纳粹德国“无条件投降”时,美苏双方军队的实际控制线。后来划分各国占领区的时候,原则上按照战前德国各州的边界划分,美国兵从图中的紫色区域撤出。至于图中的黑色粗线条——就是日后的【两德边界】。

不见图 请翻墙
(纳粹德国投降时,东西方阵营军队的【实际控制线】)

  其实刚开始是“美、英、苏”三国占领德国,没法国啥事儿。后来法国佬非要来分一杯羹,美国佬与英国佬碍于面子,各自划了一小块——就成为后来的“法国占领区”。

不见图 请翻墙
(4国瓜分德国)

◇小插曲——萨尔保护领


  在上述这张“德国占领区地图”,俺特意标注“萨尔保护领”。
  前面提到:“法国佬非要来分一杯羹”。法国佬当然不是来义务劳动滴,戴高乐有自己的小算盘,而其中之一就是这个“萨尔保护领”。法国佬坚持说:此地不属于德国!于是搞出来这么个玩意儿。那地方面积很小,但矿产丰富,而且正好处于“法德边境”。真可谓“戴高乐之心,路人皆知”。
  可惜戴高乐的如意算盘终究落空——当地后来(1955)搞了【全民公投】,与德国(西德)合并。

◇瓜分柏林


  “美/苏/英/法”瓜分德国之后,由于柏林是纳粹德国首都,地位特殊。因此柏林也一分为四(参见如下地图)

不见图 请翻墙
(4国瓜分【柏林】)

  下面这张照片是——“美、苏、英、法”的军方4巨头在柏林合影。照片中从左到右依次为:蒙哥马利(英)、艾森豪威尔(美)、朱可夫(苏)、塔西尼(法)。

不见图 请翻墙
(“盟军四巨头”在柏林合影留念。摄于1945年6月5日)


★铁幕


◇(1945年)“古琴科事件”——冷战的导火索


  伊格尔·古琴科(Igor Gouzenko)是“格鲁乌”(GRU,全称“苏联红军总参谋部军事情报局”)的译电员,在苏联驻加拿大使馆工作。1945年9月5日,他带着【密码本&109份绝密文件】叛逃到西方。
  他的叛逃直接导致——苏联安插在欧美各国的谍报网遭到毁灭性打击。正是因为古琴科的功劳,美国高层才意识到——制造原子弹的“曼哈顿计划”早就被苏联渗透了。

不见图 请翻墙
(伊格尔·古琴科)

  小插曲——物理学家费曼的【间谍朋友】:
  著名的理论物理学家费曼(也就是前不久俺介绍【费曼学习法】提到的那个费曼)在其传记《别闹了,费曼先生》中回忆(以下是俺转述的大意)——
当他参与“曼哈顿工程”时,跟他同宿舍有个朋友叫“福斯”。那时候费曼自己没有汽车,为了去另一个城市探望生病的妻子,经常要借用福斯的小轿车。
后来美方破获了“洛斯阿拉莫斯”(新墨西哥州的核弹研发基地)的苏联间谍网,费曼这个朋友就是其中一个苏联间谍。

  (“古琴科事件”半年之后)1946年3月5日,英国首相温斯顿·丘吉尔在美国密苏里州的威斯敏斯特学院(Westminster College)发表题为《和平砥柱》(The Sinews of Peace)的演讲,其中提到:
从波罗的海边的什切青到亚得里亚海边的的里雅斯特,一幅横贯欧洲大陆的【铁幕】已经拉下。这张铁幕后面坐落着所有中欧、东欧古老国家的首都──华沙、柏林、布拉格、维也纳、布达佩斯、贝尔格莱德、布加勒斯特和索菲亚。这些著名的都市和周围的人口全都位于苏联势力范围之内,全都以这种或那种方式,不仅落入苏联影响之下,而且已受到莫斯科日益加强的控制。
  【铁幕】一词虽然不是丘吉尔首创,但因为他这个演讲而广为人知。该演讲经常被称作【铁幕演说】(Iron Curtain Speech),通常也视之为冷战开端。

◇(1946年)乔治·凯南提出【对苏遏制战略】


  虽然“古琴科事件”标志着美苏关系【恶化】。但美国方面尚未想清楚如何对付苏联。当时美国外交界存在三种流派(战略),分别是:
1. 放弃欧洲——重回“孤立主义”
2. 先下手为强——对苏进行“预防性军事打击”
3. 以“联合国框架”拉拢苏联——重新划分全球势力范围

  事实上,这三种做法都【不】理想。当时美国外交界正在发愁。
  就这时(1946年2月),一个当时名不见经传的【小人物】乔治·凯南,靠着一封(5000多个单词的)“长篇外交电报”,一举成名。他指出了【第4条道路】,并奠定了“美国对苏遏制战略”的基础。后来,他被研究“冷战史”的学者称作【遏制战略之父】。

不见图 请翻墙
(乔治·凯南。摄于1947年)

  为啥原先的三种外交流派都不理想?为啥乔治·凯南这个小人物能够脱颖而出?他的【遏制战略】到底是啥样滴?
  聊这些需要花很多口水,而且俺之前已经聊过了,故本文不再讨论。感兴趣的同学,可以去看俺的另一篇博文《苏联是如何被慢慢勒死的?——聊聊冷战中美国的遏制战略》

  另外,乔治·凯南在1947年发表了一篇文章《苏联行为的根源》——堪称其【代表作】(“俺的网盘”分享了中英文电子版)
  美国外交大师基辛格对这篇文章的评价很高,他说道(大意)——除了乔治·凯南,没人能用如此短的篇幅,如此深刻地分析“苏联行为的根源”。

◇(1948年)捷克斯洛伐克的“二月政变”——铁幕的加剧


  二战刚结束后,捷克本来是【多党制】的政府。当时的内政部部长是“捷共”党员,此人通过各种手段在安全部门与警察部门安插共党成员,并排挤其它党派的人士。
  1948年2月,参与组阁的12名【非】共产党部长提出“集体辞职”,想要以此向“捷共”施加压力。当时的总统爱德华·贝奈斯【不是】共党,因此这12名部长认为总统会挽留他们,并能迫使内政部长作出某些让步。
  谁料到,“捷共”动员国内的“亲共分子”组织示威抗议,然后苏联红军以此为借口,陈兵边界,摆出一幅准备动武的样子。最终,总统爱德华·贝奈斯怂了,接受了这12名部长的辞职。于是“捷共”完全控制了内阁,不久又完全控制了议会。最终,捷克斯洛伐克堕落为【共产党国家】。而原来的总统爱德华·贝奈斯也被共产党赶走了。

◇(1948年6月)德国货币改革——标志着“美/英/法三国占领区”【合并】


  捷克斯洛伐克的“二月政变”极大地刺激了美国佬,杜鲁门政府意识到——必须采取措施,否则整个中欧地区迟早会沦陷。
  1948年2月~6月,“美国、英国、法国、比利时、荷兰、卢森堡”六国在伦敦召开外长会议,提出所谓的“伦敦建议”,内容为:“美/英/法”3个占领区统一协调经济政策,共同管制对外贸易,最终达到“共同制宪”并成立“联邦德国”,然后以“联邦德国”为核心,复兴整个欧洲。6月18日,美英法三国宣布:从6月21日开始,三国占领区实行新货币改革,并发行标有【B 记号】的“西德马克”(字母 B 源自德语“Bundesrepublik Deutschland”)。

  苏联方面不甘示弱——在随后一天(6月22日)宣布,苏联占领区也实行货币改革,发行新的【D 记号】马克(字母 D 源自德语“Deutsche Demokratische Republik”)。至此,德国开始走向分裂(之前虽然有4个占领区,但名义上还是“一个德国”)。


★分裂


◇分裂后的【三个】德国——东德、西德、西柏林


  很多人以为德国分裂之后变成2个,其实是【3个】,分别是:东德、西德、西柏林。具体原因,且听俺细细道来。
  (本文前面提到)“美/苏/英/法”瓜分德国之后,由于柏林是纳粹德国首都,地位特殊。因此柏林也一分为四。后来货币改革,“美/英/法”3个占领区合并,因此柏林的“4块”也就变成“2块”,分别称作“东柏林、西柏林”。东柏林就被苏联定为东德的首都;而西柏林则处于【非常特殊】的地位。
  很多人【误以为】“西柏林”是“西德”的飞地。严格来讲,并不是!比如说:“西柏林的护照”与“西德护照”不同,其【国籍】一栏写的是“西柏林市”;另外还有其它一些法律上的差异(俺这里就不展开了)

不见图 请翻墙
(三分德国,图中一小块黄色的,就是【西柏林】)

◇(1948年6月)苏联封锁西柏林——史称“第1次【柏林危机】”


  刚才说到“货币改革”,以及“德国一分为三”。在这种局面下,“西柏林”如同插入“东德”内部的钉子,当然让苏联掌门人(斯大林)很不爽。
  斯大林指示东德方面,(从6月24日开始)全面切断西柏林的“水陆交通”,使得日用品无法运入西柏林——斯大林企图用这招逼迫美国方面放弃西柏林。
  然而,【遏制战略】已经成为美国政界/军界的共识。美国方面紧急应对,发起历史上规模最庞大的【柏林空运】。空运历时大约1年(1948年6月~1949年5月),累计起降运输机277,728次,空运货物211万吨。到了“柏林空运”的后期,每天通过运输机提供的日用品甚至【超过】之前通过陆路运输提供的数量。
  (注:虽然东德切断了“水陆交通”,但西德的航班依然能飞往西柏林)

不见图 请翻墙
(西柏林市民正在围观一架负责空运行动的“C-54 运输机”降落)

◇“第一次柏林危机”之后——东西德分别建国


  “柏林空运”的同时,西德方面已经着手准备【立宪】,并在次年(1949)5月8日通过新宪法。5月12日,美英法三国军政长官在法兰克福批准新法——标志着【西德正式建国】。
  斯大林看到“封锁西柏林”没啥效果,在同一天宣布停止封锁。“第一次柏林危机”以共产党阵营【完败】而收场。
  不久之后,苏占区在5月30日通过宪法;10月7日,宪法生效——标志着【东德正式建国】。


★逃亡


◇德国【国内】边界


  由于“东德/西德”之间的关系比较特殊,不同于正常的国际关系。因此“东德与西德边界”也被称作“德国【国内】边界”。洋文称之为“inner German border”。
  为了打字省力,本文以下部分称之为“两德边界”。

◇1952年【之前】的“两德边界”——


  在1952年之前,“两德边界”的看守还比较宽松(具体参见下面这张照片)。因此,从“东德”逃亡到西方世界,相对比较容易。
  根据维基百科的数据,1945年10月至1946年6月之间,共有160万德国人从苏占区逃往西德。也就是说:(二战刚结束时)平均每个月有20万东德人逃亡。(注:那个时间段,东德尚未成立,因此还叫做“苏占区”)

不见图 请翻墙
(图林根州边界的路障。摄于1950年)

◇1952年【之后】的“两德边界”


  1952年,东德开始实行一种【边界特殊体制】的政策(洋文叫做“special regime on the demarcation line”)。东德官方的说法是——为了阻止“间谍﹑敌后反动人员﹑恐怖分子和偷渡者”进入边界。当然,这只是台面上的说法,私下里是因为太多东德民众逃亡,严重影响了东德社会的稳定。
  为了落实该政策,在“两德边界”构筑了三层次的防御体系——
1. 边界线开垦出一段宽10米的地带(ploughed strip)——安装了【带倒钩】的铁丝网;
2. 紧接着是宽500米“保护区”(protective strip)——该区域的树木和灌木丛全部砍光,房屋全拆,以便让警卫拥有开阔视野。
3. 再后面是一片宽5000米(约3英里)的“限制区”(restricted zone)——只有那些持“特别许可证”的人才能在“限制区”居住或工作。

不见图 请翻墙
(“两德边界”防御体系示意图)

  聪明的东德人民,想出很多办法来突破“两德边境”。比如:发明了下面这种【钩子鞋套】(如下图)

不见图 请翻墙
(带有【钩状鞋套】的靴子,能够帮助逃跑者攀越铁丝网)

  当然啦,东德有关部门也不是吃素滴——他们在铁丝网上加装了【触发式定向地雷】(如下图)。攀越铁丝网会触发该地雷,地雷爆炸后产生大量弹片,足以致命。

不见图 请翻墙
(加装在铁丝网上的【触发式反单兵定向地雷】)

◇小插曲——斯大林在1952年“支持德国统一”


  为啥“两德边界”在1952年出现上述巨大的变化?为啥东德政府在这一年突然想要强化边境管理?
  这就要聊到——斯大林在1952年抛出了一个所谓的“和平倡议”。他的意思是——让东西德统一,并且【不】隶属东西方阵营的任何一边。因此德国可以作为“北约与华约之间的缓冲地带”,也可以降低双方阵营的紧张关系,有利于东西方和解。
  为啥斯大林突然提出这个倡议?如果你以为斯大林善心大发,想要谋求和平,那你就“图样图森破”啦。
  在凯南的那篇《苏联行为的根源》已经分析过“苏共扩张的本性”——融合了“俄罗斯民族的本性”与“共产运动的狂热”。而且以斯大林本人的性格,他肯定【不】满足于现有的势力范围。因此,这个所谓的“和平倡议”,显然是一个烟雾弹。
  斯大林抛出这个玩意儿,其动机至少有如下几点:
其一,
(前面提到)40年代末50年代初,东德有很多民众逃亡。斯大林当然也了解这个情况。他当然也担心——久而久之,东德就被掏空。
其二,
如果北约答应了这个条件——让东西德统一。由于苏联在东德已经有一定的势力,到时候苏联可以故技重演——再次玩“捷克斯洛伐克的把戏”(参考前面章节关于“二月政变”的介绍)。
其三,
就算美国佬拒绝了这个条件,斯大林还是会有收获。因为斯大林算准了——西德政府非常渴望统一。如果美国方面拒绝这个提议,会让西德政府怀恨在心。从而离间“美德关系”。

  后来,美国佬拒绝了斯大林的提议。在这种情况下,苏联方面意识到——短期内不太可能出现“两德统一”,因此就开始强化“两德边境”的管理。

◇(1953年)“东德617事件”——进一步加剧了逃亡


  1953年6月16日,“东柏林”某国营公司的300名建筑工人示威游行,抗议“提高工作定额,却不加薪”。这次游行被“西柏林”的 RIAS(美国占领区广播电台)播报之后,在第二天(6月17日)引发东德各大城市的民众走上街头。
  东德民众提出的政治口号包括:
撤走一切外国军队
实行言论和新闻自由
释放政治犯
举行全德自由选举
......

  因为抗议活动的势头太猛,东德警方控制不住局势,然后由“东德苏联驻军”出动坦克,进行【血腥镇压】,(据不完全统计)至少55人死亡,史称【六一七事件】或【东德起义】(相关维基百科的页面在“这里”)。
  (注:东欧剧变及德共垮台之后,勃兰登堡门前面的大街被命名为“六月十七日大街”,以纪念此事)

不见图 请翻墙
(6月17日,苏联坦克驶入东柏林街头)

不见图 请翻墙
(6月17日,苏联坦克驶入莱比锡街头)

  很显然,这次事件进一步刺激东德民众的神经,更多的人开始逃亡。

◇射杀令


  1952年5月27日,东德政府下发给边境警察的要求中规定:对不遵守边境巡逻秩序的人使用武器。类似的命令在不同年代以不同的形式下发。
  一直到1982年,通过了《边境法案》——“射杀令”正式升格为法律。在该法案的第27条规定:
边防军承担“保卫德意志民主共和国边境不受侵犯,以及防止入侵东德领土等挑衅行为”的任务。
如果对人员的其他阻击手段未能奏效,武器作为阻碍越境者的最后手段,使用武器将是合理的。

不见图 请翻墙
(《边境法案》第27条中对使用武器的规定)

◇西柏林成为【逃亡中转站】


  考虑到“两德边界”的防范越来越严密,穿越的风险越来越大,甚至要付出【生命危险】(比如:“射杀令”与“反单兵地雷”)。因此,很多东德民众采用【迂回方式】——
1. 先去“东柏林”旅行;
2. 从“东柏林”穿越到“西柏林”(只需坐公交或地铁就搞定)
3. 办理移民手续;
4. 搭乘航班飞往自由世界。
  所以,当1952年“两德边界”加固之后,“西柏林”成为逃亡者的【中转站】。

  下面这张是【东德人口趋势折线图】,从图中俺标注的红色箭头可以看出——从1945~1961年,人口趋势明显呈【稳步下降】。1952年【之前】,靠的是——穿越“两德边界”;1952年【之后】,靠的是——“西柏林中转站”。
  那为啥到了1961年之后,人口【不再】明显下降?因为柏林墙建成了。下面就要开始聊【柏林墙】。

不见图 请翻墙
(“民主德国/东德”人口变化趋势图)


★筑墙


◇(1958年)赫鲁晓夫的外交恐吓——史称“第2次【柏林危机】”


  前面介绍了【东德民众的逃亡】。到了上世纪50年代后期,以【西柏林】为跳板逃到西方世界的东德人越来越多。而且其中很大比例是【社会栋梁】——知识分子&中产阶级。按照这个趋势发展下去,不光东德经济会崩溃,整个东德社会都将崩溃。
  苏联老大哥开始急眼了。1958年8月28日,时任“社会主义国家共产党和工人党联络处”负责人的尤里·安德罗波夫给裆中央写信,说明了事态的严重程度。信中称:东德逃亡人群中高达 50% 来自知识阶层 ...... 知识阶层的逃亡已经发展到了一个严重的阶段!
  (注:就是这个“安德罗波夫”,后来升任“克格勃头目”,并在1982年成为苏共总书记——可惜只干15个月就嗝屁了)

  就在“安德罗波夫”发出那封信不久之后(11月27日),苏联单方面向“美/英/法三国”发出照会,要求它们六个月内撤出西柏林的驻军,使西柏林成为自由市。
  “美/英/法三国”断然拒绝了苏联的无理要求,并且反过来宣称:如果苏联胆敢再次封锁西柏林的陆上交通,北约将不惜诉诸武力。
  对北约的威胁,苏联外交部发表强烈抗议。
  史称“第二次柏林危机”。
  后来的事态发展表面——赫鲁晓夫只不过是在进行【试探】。苏联方面不久之后宣称:所谓“六个月期限”【并非】最后通牒,希望透过“高层会晤”改善东西方关系。
  “第二次柏林危机”以苏联老大哥的【又一次】惨败而告终。

◇(1961年)赫鲁晓夫不死心,再次外交恐吓——史称“第3次【柏林危机】”


  时间一晃又过了3年。此时,美国总统从“艾森豪威尔”换成了“肯尼迪”。由于前者是“名将”,且官至“二战欧洲盟军最高指挥官&北约最高司令官”;相比之下,后者不管在“履历”上还是“面相”上,都显得比较斯文。这种形象上的反差,很容易让人有一种先入为主的【错觉】——似乎“肯尼迪会比艾森豪威尔更温和”。俺合理地推测——很可能赫鲁晓夫就是这么认为滴。
  1961年6月,肯尼迪与赫鲁晓夫在维也纳举行美苏峰会,会谈的焦点集中在“柏林问题”。赫鲁晓夫老调重谈,又一次要求“美英法撤出西柏林”。肯尼迪断然拒绝。
  肯尼迪总统的强硬,可能让俄国佬有点意外。苏联方面为了加大外交压力,在7月初宣布:苏军暂停复员,军费增加三分之一。
  肯尼迪立即作出回应——要求国会追加【32.5亿美元】的国防预算,征召部分后备役人员及国民警卫队入伍,扩大民防及修筑防空措施。
  (注:当时的“32.5亿美元”换算成如今,至少有“好几百亿美元”)
  进入9月份,赫鲁晓夫单方面撕毁美苏两国为期三年的“禁止核试验协议”,恢复一系列试验。
  作为回应,肯尼迪也在9月份宣布:恢复地下核试验,重新开启军备竞赛。
  这一系列交锋再次令全球局势紧张,史称“第三次柏林危机”。

◇修建“柏林围墙”的决定


  前面聊完“第3次柏林危机”起因,再回过头来说本文的主题——【柏林墙】。
  其实在那之前好几年,苏联内部就已经在讨论“柏林围墙”的思路。但苏共掌门人赫鲁晓夫对“建墙”这事儿始终挺犹豫——毕竟在柏林这种【国际大都市】搞这么一个围墙,实在太丢人啦——这如何体现“社会主义优越性”捏?显然,这招对苏联方面而言,属于【下下策】。
  一直拖到了上世纪60年代初,逃亡的情况已经越来越严重,苏共领导层也就顾不上“面子问题”,准备要【筑墙】。
  共产党阵营为了掩饰自己的尴尬,把即将兴建的柏林墙称之为反法西斯防卫墙。但东德老百姓都晓得——这堵墙是用来【对内】。

  1961年发生的“第3次【柏林危机】”,可以视作赫鲁晓夫的【最后一次】试探。如果能成功吓跑西柏林的北约驻军,再把西柏林吞并掉,那就无须采用“建墙”这个【下下策】。可惜他碰到的美国总统肯尼迪,立场还挺强硬。到了7月底,赫鲁晓夫大概也觉得“外交恐吓”这招行不通,终于开始考虑这个【下下策】。
  1961年8月1日,苏共头子赫鲁晓夫与德共(统一社会党)头子乌布里希通电话,首次提及“建墙”。“柏林围墙”开始摆上议事日程。
  1961年8月12日(星期六),东德领导班子开会,由乌布里希正式签署命令——开始修筑柏林围墙,行动代号“玫瑰”。
  话说德国佬办事效率就是高,有关部门说干就干,当天深夜就开始动工。次日(8月13日)是星期天。当西柏林市民出门的时候,惊讶地发现——整个西柏林已经被【团团围住】。有些地方被铁丝网围住,有些暂时来不及建铁丝网的地方(比如街道/路口)被“工人阶级战斗队”封锁了。

不见图 请翻墙
(1961年8月13日,东德的“工人阶级战斗队”封锁勃兰登堡门附近的边境)

不见图 请翻墙
(1961年8月14日,东德士兵开始为建柏林墙而架设铁丝网栅栏)

  柏林墙建成之后,继续给西柏林留下一些陆上交通的出入口。为了防止东德民众逃亡,这些出入口都设立了专门的【检查站】。以下这张地图标出了整个柏林墙所有的检查站。

不见图 请翻墙
(柏林墙检查站示意图)

◇第3次柏林危机的【高潮】——“查理检查站对峙事件”


  本来到了10月初,“第3次柏林危机”已经开始缓和。那个时候正在开“苏共22大”,赫鲁晓夫在大会的某个讲话中已经提到——暂时搁置柏林问题。
  谁知道这时候冒出了一个外交上的小插曲(应该在双方高层的意料之外),使得本来已经缓和的“柏林危机”迎来新高潮。
  话说那时候的“柏林墙”已经初具规模,在它的诸多检查站中,有一个位于柏林市中心的腓特烈大街,名叫做“查理检查哨”。它原名“C 检查哨”。在“字母报读法”中,这个“C”通常念作“Charlie”,后来就被称为“查理检查哨”。
  10月22日这天,美国驻柏林代表团副团长艾伦·莱特纳乘车经过“查理检查哨”,想去东柏林看一场演出。之前,北约军事人员只要挂着【军用车牌】,就可以随意往返东柏林/西柏林(【无需】出示证件),而东德方面也默许这种行为。但在那天晚上,柏林墙的警卫要求出示证件(可能是因为柏林墙建成后,边界警卫也调换了)
  艾伦·莱特纳作为代表团的副团长,估计火气比较大,不予理会,直接开车硬闯,结果被东德方面扣下来。后来由“驻西柏林美军司令部”派宪兵去东柏林交涉,才把这位副团长接回来。
  第二天(23日),东德官方发表通告——所有外国人通过柏林墙检查站都必须出示证件。
  但某些美国佬不信邪,25日这天,某美军军官开着军车通过“查理检查哨”,拒绝出示证件,当然再次被拦住。这位军官威胁东德警卫:不让老子通过?!一小时之内叫坦克来开路!
  东德警卫被吓坏了,赶紧上报,最后一直捅到苏军元帅科涅夫那里。他下令让苏军坦克也出动。
  于是就出现了“第3次柏林危机”的【高潮】——美苏坦克在“查理检查哨”对峙。而且双方都出动多辆坦克,全都上了实弹,并瞄准对方。
  在整个冷战期间,这大概是唯一的一次,美苏双方的坦克如此近距离对峙。

不见图 请翻墙
(位于“查理检查哨”东柏林一侧的苏军 T-55 型坦克。摄于1961年10月)

不见图 请翻墙
(“查理检查哨”,美军 M48 型坦克 VS 苏军 T-55 型坦克。摄于1961年10月)

  对峙了2天之后,又是赫鲁晓夫先让步——他先下令苏军坦克撤回;然后美军坦克也后撤。危机才解除。
  在这2天时间里,先是“东柏林/西柏林”的双方驻军进入战备状态;然后是“东德/西德”的双方驻军进入战备状态;最后是东西方阵营的【战略部队】(战略轰炸机、战略核潜艇)进入战备状态。其紧张程度,堪比“古巴导弹危机”。

◇柏林墙的【进化】


  1961年的“柏林墙”,主要还是铁丝网(参见前面小节的照片)。早期那种铁丝网当然是不堪一击——拿个铁钳都可以搞定。
  东德有关部门第二年就开始【升级】柏林墙,大致经历了如下几个阶段。。

年份类型备注
1961铁丝网 
1962~1965强化铁丝网防剪、防攀爬
1965~1975强化混凝土防车辆撞击
1975~1989专用构件防车辆撞击
顶部加装粗大光滑的金属管,增加攀爬难度

  不但“墙”本身的材料改进了,而且整个“防御体系”也改进了(参见下面的示意图)

不见图 请翻墙
(【多层次】防御体系的示意图)

  为了帮大伙儿理解上述这张示意图,下面分别列出图中的含义:
从【右】到【左】分别是——
(东柏林领土)
约2~3米高的“混凝土矮墙”或“金属网围栏”
地面触发报警器
约1.8米高的金属栅栏(部分带有高压电)
钉床
警犬区
拒马(交叉焊接的铁轨做成)
边防哨所 & 瞭望塔
照明区域(设有夜间照明用的灯柱)
控制区域(地面被平整刨开,以便跟踪脚印;巡逻人员不能入内)
3~5米深的“反车辆壕沟”
3.75米高的“预制混凝土墙”(采用前面所说的【专用构件】)
预留了几米的空地(也就是说,紧挨着墙的那一小块“空地”,法律上仍属于东德)
(西柏林领土)

不见图 请翻墙
(照片中的开阔地被逃亡者称作【死亡地带】。摄于1977年)

◇射杀令


  前面聊“两德边界”时提到的【射杀令】,这个玩意儿同样也适用于“柏林墙”。

◇涂鸦——西柏林的风景线


  前面说了,“柏林墙”建造时,距离边界线预留了几米的间隙。也就是说——在柏林墙的【西柏林】一侧,有一小块空地依然属于【东德】。但西柏林的民众如果走到那块空地上,反而【没啥】危险——柏林墙的守卫根本就【不】关心西柏林这一侧。请注意:守卫的枪口都是对着东柏林那边(本国民众),所有的防御措施也都是用来对付【本国民众】——这也就是“柏林墙”充满【反讽】之处。
  由于西柏林这一侧【没危险】,西柏林的民众反而可以在墙上涂鸦。久而久之,“柏林墙涂鸦”成了西柏林靓丽的风景线。

不见图 请翻墙
(西柏林一侧的涂鸦,墙另一边的空地,对东柏林民众而言就是【死亡地带】。摄于1986年)

不见图 请翻墙
(知名的柏林墙涂鸦——“苏共总书记勃列日涅夫”与“德共总书记昂纳克”)

  注:勃列日涅夫喜欢在外交场合“亲密拥抱&接吻”,以强化“同志般的友谊”(在这个上下文中,“同志”一词愈发凸显其双关性)
  上述这幅涂鸦还有一个标题【My God, Help Me to Survive this Deadly Love】。

不见图 请翻墙
(上述涂鸦对应的【真实照片】)


★翻墙


  关于“翻越柏林墙”,涌现出许多感人的故事。十年前(推倒柏林墙20周年)俺发了一篇博文《学习一下德国人民的翻墙精神》,介绍这些故事。
  当年那篇博文,【转载】了网上流传的一篇文章,标题是《翻越柏林墙的故事》。那篇文章已经写得足够好,俺水平有限,没法写得比它更好了。想看的同学,请猛击上述这篇博文的链接。

  在当年那篇博文的开头,俺加了如下这段话:
记得电影《侏罗纪公园》里面有句台词(大意是):生命总会找到自己的出口。
俺借用一下,篡改成:追求自由的人,总能找到“墙”的突破口。


★演讲


  有两位著名的美国总统,针对柏林墙发表了两篇著名的演讲——分别是在“墙建成之后两年”以及“墙倒塌之前两年”。

◇(1963年)美国总统肯尼迪:《我是柏林人》


  1963年6月,时任美国总统肯尼迪应邀访问柏林,并向西柏林民众发表公开演讲。
  以下是演讲的【全文】:
能在你们杰出的市长邀请下来到这座城市,我感到非常自豪。你们的市长向全世界人民展现了西柏林的奋斗精神。
能在你们杰出的总理陪伴下参观联邦共和国,我感到非常自豪。你们的总理常年致力于德国的民主、自由和进步。
能在我的美国同胞克雷将军的陪同下来到这里,我感到非常自豪。克雷将军曾在这座城市最危难的时期坚守在这里,未来只要有需要,他仍然会来到这里。

两千年前,最自豪的夸耀是:“Civitas Romanus sum.”(编程随想注:拉丁语“我是罗马公民”)
今天,自由世界最自豪的夸耀是:“Ich bin ein Berliner.”(编程随想注:德语“我是柏林人”)

世界上有许多许多人,他们确实不明白,或者声称他们不明白,自由世界与共产主义世界的根本分歧何在。
让他们来柏林吧!
有些人说:“共产主义是大势所趋”。
让他们来柏林吧!
有些人说:“在欧洲或其它地方,我们可以跟共产党人合作”。
让他们来柏林吧!
甚至有那么几个人说:“共产主义的确是一种邪恶的制度,但它能够使我们的经济获得发展”。
“Lasst sie nach Berlin kommen.”(编程随想注:德语“让他们来柏林”)

自由存在许多困难,民主亦非完美。但我们从没有建造一堵墙,把人民关在里面,不准他们离开。

我想代表我的同胞们——他们在大西洋彼岸,与你们远隔重洋——说句话:因为能与你们共有这18年来的经历,他们有一种莫大的自豪感,即便是与你们遥遥相望。我不知道还有哪一个城镇或都市,能够在被围困18年后,仍保持西柏林这种生机、力量、希望和决心。

尽管柏林墙是共产主义制度失败最生动、最鲜明的例证——这一点全世界都能看到——但我们并不能满足于此!因为柏林墙既违背历史,也违背人性——它拆散无数家庭,让他们妻离子散,骨肉分离,把渴望统一的民族一分为二。

对一个城市来说,是如此;对一个德国来说,也是如此。只要四分之一的德国人被剥夺了基本人权——即自由选择的权利,那么,欧洲便不可能实现真正持久的和平。

在这18年里,这一代德国人怀揣着和平与美好的信念,善待所有人,他们终于赢得了自由的权利,以及在持久和平中实现家庭团聚和民族统一的权利。你们住在受到保护的自由之岛,但你们的生活,是整个大陆不可分割的一部分。

因此,在结束讲话之前,我请求你们擦亮双眼——
透过今日的危险,看到明天的希望;
透过柏林市或你们的祖国德国的自由,看到自由在世界各地的进展;
透过这道墙,看到正义与和平来临的那一天;
透过你我,透过我们大家,看到全人类。

自由是不可分割的,只要有一人被奴役,所有的人都不自由。当所有的人都自由了,我们就能期待这一天的到来:在和平与希望的光辉中,这座城市统一了,这个国家也统一了,欧洲大陆也统一了。当这一天最终来临——它必将来临——西柏林人民将会为此深感欣慰:在将近二十年的时间里,他们一直站在最前线。

一切自由人,都是柏林市民,不管他们身在何方!因此,作为一个自由人,我为“Ich bin ein Berliner”(我是一个柏林人)这句话感到自豪。

不见图 请翻墙
(肯尼迪总统在柏林墙演讲的电视画面)

不见图 请翻墙
(肯尼迪总统在柏林墙演讲的鸟瞰图)

不见图 请翻墙
(肯尼迪演讲时,对面大楼的窗户、屋顶挤满听众)

◇小插曲——关于“甜圈”的笑话与【误传】


  关于肯尼迪的这个演讲,若干年之后出现一个【讹传】(并被很多人信以为真)。其大意是:肯尼迪演讲中那句德语(Ich bin ein Berliner)犯了语法错误,会被理解为“我是甜圈”。
  相信了这个说法的人,应该是“只知其一不知其二”。
  以下摘自中文维基百科(这个链接),引文中的粗体是俺标注滴。
1988年,威廉·J·米勒在4月30日《纽约时报》一篇文章写道:
约翰·F·肯尼迪总统在柏林墙前使用德国词组的事,值得一再提起。他身旁的作家认为,宣告自己为柏林的象征市民会很美妙。所以,“Ich bin ein Berliner.”
他们所不知道,但很容易发现的是,当地市民从不自称“Berliners”。他们把那词语用来称呼一种通常在早餐时吃的受欢迎甜点。故此,虽然柏林市民明白和欣赏总统慷慨激昂的演说所表达的情感,但听到总统说“我是果酱甜圈。”时也不禁窃笑。

事实上,米勒把事实刚好说反了:柏林市民的确自称“Berliner”,而从不以“Berliner”称呼果酱甜圈。在德国其他地方称为“Berliner”的甜点,在柏林和附近只称作“Pfannkuchen”(煎饼)。因此,德国其他地方留意到这歧义,肯尼迪在柏林的听众却没有留意。总而言之,“Ich bin ein Berliner.”正确表达了肯尼迪要说的意思。

  以下摘自英文维基百科(这个链接)
While the phrase "Ich bin ein Berliner" can be understood as having a double meaning, it is neither wrong to use it the way Kennedy did nor was it embarrassing. According to some grammar texts, the indefinite article can be omitted in German when speaking of an individual's profession or origin but is in any case used when speaking in a figurative sense. Furthermore, although the word "Berliner" is used for a jelly doughnut in the north, west and southwest of Germany, it is not used in Berlin itself or the surrounding region, where the usual word is "Pfannkuchen" (literally "pancake").

◇(1987年)美国总统里根:《推倒这堵墙!》


  1987年6月,里根在参加完“七国峰会”之后,短暂到访柏林,并在柏林墙附近的“勃兰登堡门”发表演说,标题是《推倒这堵墙!》。
  负责写这篇讲演辞的“彼得·罗宾逊”在之前已经走访了西柏林,他意识到西柏林的居民都很痛恨这堵墙,所以把这句话(Tear down this wall!)写入讲稿。
  美国政府的高官以及里根总统的高级幕僚(比如:国安顾问克林·鲍威尔、白宫幕僚长霍华德·贝克)都要求删去这句话——他们认为这句话太“冲”了,会刺激苏联,并使冷战升级。
  但里根总统本人看过演讲稿之后,对这句话大为赞赏,并坚持要保留。最后,这句话甚至成为该演讲的【标题】。
(注:在《苏联是如何被慢慢勒死的?——聊聊冷战中美国的遏制战略》一文中,俺介绍过——冷战期间的美国总统,里根是对苏联最强硬滴,没有之一)

  整个演讲中最有名的是如下几段:
我们乐见改变和开放,因为我们相信自由与安全并行,人类自由的进步令我们更努力追求世界和平。苏联可以做一件很明显的事,一件大幅促进自由与和平的事。戈尔巴乔夫总书记,如果你要寻求和平,如果你要为苏联和东欧寻求繁荣,如果你要寻求自由,就到这扇门来吧!戈尔巴乔夫先生,打开这扇门!戈尔巴乔夫先生,推倒这堵墙!

......

不久之前,我从国会大厦──德国统一的象征──向外观望,看见围墙上以喷漆粗糙写下的标语──也许是一位年轻的柏林人写的——“围墙会倒下!信念可成真!”
对,这堵墙会在欧洲倒下——它抵挡不了信心,它抵挡不了真理,它抵挡不了自由!

  这篇演讲之后不久(约两年半),柏林墙垮掉了。

不见图 请翻墙
(里根总统在柏林墙演讲的电视画面)

不见图 请翻墙
(里根总统在柏林墙演讲,背后是大名鼎鼎的【勃兰登堡门】)
  小插曲:
由于发表演讲的地点距离柏林墙太近,美国特勤局担心东德狙击手,特地在讲台【背后】竖立了防弹玻璃。
另外,坐在他身后的那个胖子,在德国统一后成为首位民选总理


★剧变


◇东欧剧变


  不论是“反共人士” or “亲共人士”,很多都把“东欧剧变”归咎于戈尔巴乔夫。但其实过于夸大了戈氏的作用。应该负更大责任(或者说“应该受更多赞美”)的那个人,其实是勃列日涅夫(也就是前面喜欢 kiss 的那个家伙)。此人治国无能,却统治苏联十多年,苏联正是在他手中逐步滑向深渊。
  东欧剧变的背景是——到了80年代中期,苏联经济已经垮掉了。作为共产党阵营的老大哥,苏联不但无法抗衡冷战的外部压力,甚至连“打击国内分离运动”都显得力不从心。
  正是在这个背景之下,戈尔巴乔夫在80年代发起政治改革(号称“新思维”),并放弃对东欧卫星国的控制。对他而言,纯属无奈之举。

◇捷克斯洛伐克——新的【中转站】


  一旦苏联放弃对卫星国的控制,作为最亲近西欧的共产党国家。“匈牙利&捷克斯洛伐克”很快就转向自由世界,并且放开与西欧国家的边境。
  之前,东德政府对边界的控制,全都集中在“两德边境”与“柏林墙”。对捷克斯洛伐克接壤的边境没啥防范。所以东德民众立即发现了逃亡的新途径——以【捷克斯洛伐克】作为中转站。
  再次回顾前面曾经贴过的那张趋势图(注意俺标注的红色箭头)。从中可以看出——单单1989那年,人口再次出现急剧下跌。

不见图 请翻墙
(“民主德国/东德”人口变化趋势图)

◇德共核心人物辞职


  当“波兰、捷克斯洛伐克、匈牙利”纷纷转向,东德民众深受鼓舞,也搞了大规模抗议示威。其中引领东德潮流的是——莱比锡民众的【周一游行】。从9月4日开始,莱比锡民众【每个】星期一的晚上都要搞游行。一周又一周,游行的规模越来越大——这样的招数,在东德40年的历史上从来没有过。
  经过【西方】新闻媒体的报道,其它很多城市都被莱比锡鼓舞,并且效仿。最后连首都(东柏林)也爆发了规模浩大的抗议示威(如下图)

不见图 请翻墙
(11月4日大游行。摄于东柏林亚历山大广场)

  1989年,在内外交困之下,德共领导层几个重要的人物纷纷辞职。影响最大的是“两个埃里希”(这两个老家伙的名声,都臭大街了)

  10月18日,埃里希·昂纳克辞职
此人是德共头子,担任总书记长达18年。他也就是前面那幅涂鸦中,亲密接吻的两个老男人之一。
他辞职的官方说法是“健康原因”,但德国老百姓都晓得是咋回事儿。

  11月7日,埃里希·梅尔克辞职
此人是臭名昭著的【斯塔西】负责人,在位时间长达32年。该部门类似于小说《1984》中的【友爱部】,以及纳粹德国的【盖世太保】。
(在本文末尾的章节,俺还会再聊到这个部门)


★推墙


◇1989年11月9日,一个历史性的日子


  一方面是“长期当权的一把手突然辞职”,另一方面是“突然出现人口外逃高峰”。此时的东德官僚体系,已经彻底乱了方寸。德共(统一社会党)领导层想了一招——“放宽旅行限制”——企图挽回一点民意。
  11月9日这天,中央政治局委员沙博夫斯基召开记者招待会,宣布“放松旅游限制”的新政策。当时德共领导层还【没】打算立即实施这个政策,只是先开一个发布会吹吹风。
  但沙博夫斯基在开新闻发布会之前,才匆忙看了手头的相关文件。他【误以为】这个政策是立即实施。
  发布会上,有两个记者分别问他:“是否立即生效?”他都非常确定地说“是”。(之所以问两次,因为在场的记者都感到震惊、难以置信)然后又有两位记者分别问:“新政策是否包含西柏林”,他又两次都给出【肯定的回答】。
  不得不感慨:这个“沙博夫斯基”堪称“傻逼夫斯基”,不愧是共产党里面的【猪队友】 :)

  当晚19:17,西德媒体 ZDF 率先播发这条【爆炸性新闻】;其它媒体纷纷跟进,反复播放。当年的东柏林市民,大都收听西柏林的广播。很多人听说这个消息,都爽呆了。几个小时后,柏林墙的各个检查站聚集了上万人。
  在这个紧要关头,最尴尬难办的,是柏林墙的守卫。一方面,他们【没有】得到上级“开放关卡”的命令;另一方面,随着聚集的人群越来越多,局面随时会失控。某些检查站的指挥官向上级请示。可惜当时的东德政府,已经非常混乱。在这种关键时刻,高层【无人】愿意承担责任,尤其是没人敢下达镇压的指令。因为官僚们都意识到——这个政权快完蛋了,谁下达镇压的指令,用不了多久肯定被送上法庭。
  最终,某个检查站的军官(哈拉尔德·杰格)在绝望之际,【私自下令】打开关卡,让所有人过境;其它检查哨也纷纷效仿。就在那一刻,从逻辑意义上讲,【柏林墙倒塌了】。

不见图 请翻墙
(哈拉尔德·杰格——第一个开放柏林墙关卡的军官。这是他年轻时的照片,摄于1964年)

  关于这位“哈拉尔德·杰格”,他的故事可以参见如下这篇博文:
《处在历史转折点的小人物们——回首80年代的几则往事》

◇柏林的狂欢


  检查站首次开放的时间已经在午夜时分,更多的东柏林市民在次日早晨才涌入西柏林。
  西柏林市长沃尔特·莫波尔在11月9日夜里已经紧急下令:向每个东德移民提供临时住宿,并且每人发放100西德马克作为临时开支。
  那几天,整个柏林(不论东边 or 西边),都陷入狂欢。西柏林很多酒吧自愿免费供应啤酒,供狂欢的民众畅饮......
  由于东柏林的物质极度匮乏,很多东德人拿着临时发放的100马克到西柏林商店购买之前很难买到的商品(比如香蕉)。西柏林的商店很快就被抢购一空。

不见图 请翻墙
(11月10日夜间,来自东西柏林的群众站在柏林墙上庆祝两德边境开放,背景建筑是柏林地标——“勃兰登堡门”)

  德国现任总理默克尔在“推倒柏林墙25周年纪念日”(2014)接受采访时说道:
我希望你们永远都不会忘记那一天的感受,至少我将永远都不会忘记;
我等待了35年才有那种自由的感觉,这改变了我的人生!

◇拆墙


  在11月9日这个“历史性转折点”之后,不论东边还是西边,都有大量民众拿着铁锤/凿子/榔头等工具,在围墙下搞破坏。有些人把敲下来的混凝土块拿回家留作纪念。这些人被形象地称作“围墙啄木鸟”(德语叫:mauerspechte)。

不见图 请翻墙
(“围墙啄木鸟”。摄于1989年11月)

  1990年6月13日,东德官方正式下令拆除柏林墙(由军方实施)。军队的效率当然比“围墙啄木鸟”高得多。大约到1991年11月,“柏林围墙”消失了。


★尾声


◇斯塔西(Stasi,东德国安部)解散


  前面俺提到——斯塔西负责人在11月7日辞职。
  由于“Stasi”这个招牌实在太臭了,东德政府在11月17日将其改名为 AfNS(Amt für Nationale Sicherheit)。12月8日,东德总理汉斯·莫德罗决定【解散】该部门。
  12月下旬,其内部开始销毁【秘密档案】,但被东德民众发现。一大批东德民众冲破警卫的阻拦,占领了原斯塔西总部大楼。最终的清点发现——有大约 5% 的秘密档案被销毁。

不见图 请翻墙
(冲进斯塔西总部的示威者,
标语上写再也不要斯塔西和统一社会党的独裁与纳粹主义,你们带来了太多的不公和苦难)

  东西德合并之后,上述【秘密档案】开始被逐步整理,并允许每个东德民众查阅【自己的】秘密档案。从而曝光了德共大规模的秘密监视。
  比如说:某个东德的政治异议人士(女性),在查阅了自己的秘密档案之后,惊讶地发现,有些事情只有她与丈夫知道,结果秘密档案中都有详细记录。后来她丈夫承认自己充当了斯塔西的【线人】。
  对那些【重点关注对象】,“秘密档案”的详细程度令人叹为观止。比如这个人几点几分出门,几点几分经过某个路口,几点几分在路上与谁打过招呼、几点几分在哪个水果摊买了哪种水果......
  最终的统计,大约有600多万人被斯塔西设立秘密档案,超过东德总人口的【三分之一】。斯塔西内部有九万一千名正式(在编)探员,在东德有“十七万五千名”编外探员(称作“通报合作者”),另外在西德还有大约两万名“通报合作者”(充分说明西德也被共党【严重渗透】了)

◇德共(统一社会党)垮台


  11月17日,东德成立了联合政府,在联合政府的26名内阁成员中,统一社会党(德共)只占15位;
  12月1日,人民议会(国会)通过宪法修正案,删去了宪法里“工人阶级和马列主义政党领导地位”的条款;
  12月3日,德共中央委员会、总书记全体辞职。该党举行特别代表大会,取消原先的“中央委员会&政治局”,通过了新的党章。新党章中【不再】包含“列宁主义”。
  次年(1990)2月4日,“统一社会党”更名为“民主社会主义党”。
  次年(1990)3月18日,举行了东德史上首次(也是仅有的一次)【自由选举】。投票结果参见维基百科的链接(这里),曾经一党独大的“德共/统一社会党/民主社会主义党”,在那年的选举中仅仅得到【16.4%】的票数,沦为议会“第三大党”。

◇1990年,两德统一


  5月18日,“东德新政府”与“西德政府”签署国家条约,条约规定了两德将建立货币、经济和社会联盟;
  7月1日,条约生效,“东德马克”退出流通;
  10月2日,东德政府机关停止工作,西德接收了东德的驻外使领馆。
  10月3日,两德统一的盛大庆典在柏林举行,两德正式宣布统一。
  12月,举行了自1933年以来第一次覆盖全德国的“自由选举”。赫尔穆特·科尔当选德国重新统一后的首位总理。

◇柏林墙的【遗迹】


  虽然柏林墙已经拆除,但在一些重要景点依然保留了小段墙体,作为历史遗迹,供游客参观。

不见图 请翻墙
(波茨坦广场保留的一小段围墙。摄于2009年)

  这些遗迹在提醒人们——千万【不要】忘记历史的教训!!!


俺博客上,和本文相关的帖子(需翻墙):
《学习一下德国人民的翻墙精神》
《苏联是如何被慢慢勒死的?——聊聊冷战中美国的遏制战略》
《处在历史转折点的小人物们——回首80年代的几则往事》
《聊聊“核战略的博弈模型”与“中美新冷战”》
《为什么马克思是错的?——全面批判马列主义的知名著作导读》
《人类自由的三大死敌——谈谈“共产运动、纳粹主义、政教合一”的共性》
《影评:<苏维埃往事>——帮你看清苏联和纳粹的共同本质》
《最“纯正”的共产主义政权——红色高棉简史》
《面对共产党——民国人文大师的众生相》 +
+ +
+ + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/11/POSIX-TUI-from-TTY-to-Shell-Programming.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/11/POSIX-TUI-from-TTY-to-Shell-Programming.html" new file mode 100644 index 0000000000000000000000000000000000000000..fa837d755fe476fae294939db37d31ba4c20dd65 --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/11/POSIX-TUI-from-TTY-to-Shell-Programming.html" @@ -0,0 +1,26 @@ + + + + + + + +扫盲 Linux&UNIX 命令行——从“电传打字机”聊到“shell 脚本编程” - 编程随想的博客 + + +
+

扫盲 Linux&UNIX 命令行——从“电传打字机”聊到“shell 脚本编程”

+ +
+
+

★引子


  首先,
  这篇是为了补前几年的“欠债”。这些年,俺写了好多篇 Linux 相关的技术教程。但还从来没有【系统性】地介绍 Linux 命令行相关的基本概念和基本知识。几年来,已经有不少读者催俺填上这个大坑,但俺比较懒,一直拖到现在,惭愧 :(
  其次,
  一个多月前(9月份)写了一篇 netcat 的扫盲教程,其中涉及了很多命令行相关的知识。很多菜鸟读者,如果缺乏这些基础知识,恐怕看不懂那篇 netcat 教程。再加上前几天的博文谈到了【系统性学习】相关的方法论,并且还聊了【费曼学习法】的各种好处。
  今天这篇,算是俺第 N 次践行“费曼学习法”——无论对俺还是读者,这都是【双赢】滴 :)


★本文目标读者


  虽然本文的标题号称是【扫盲】,但俺相信:即使是一些 POSIX 系统的命令行【老手】,对本文中介绍的某些概念,可能也会有【欠缺】。
  因此,这篇教程既适合于命令行的新手,也值得某些【老手】看一看。

  由于本文介绍的是 POSIX 系统中【通用的】概念与知识。因此,包括 Linux、BSD 家族、macOS 等各种系统的用户,应该都能从中受益。
  (注:POSIX 是某种操作系统的标准/规范。各种 Linux 发行版以及所有的 UNIX 变种,包括 macOS,都属于“POSIX 系统”)

  如果你是这方面的【菜鸟】,并且想要掌握这个领域。【不要】企图只看一遍就完全理解本文的内容(可能需要看好几遍)。俺的建议是:要一边看,一边拿命令行的环境【实践】一下。


★一切都从【电传打字机】开始说起


  (说完了“引子”与“目标读者”,开始切入正题)
  可能有些读者会纳闷——“聊命令行的基本概念”,为啥要扯到“电传打字机”?是不是扯得太远了?
  俺来解释一下:
  IT 行业的很多基本概念都来自于【历史遗迹】。有时候你觉得某些东西很奇怪(并纳闷“为啥会设计成这样”);而当你搞清楚历史的演变过程之后,自然就明白其中的原因。

◇在那遥远的【电报时代】


  在计算机诞生之前(二战前),【电报】属于高科技的玩意儿——它能够瞬间把信息传送到另一个城市(甚至传送到大洋彼岸)。
  当年的电报线路,是以【字符】为单位发送信息。在线路两端使用【电传打字机】,就可以自动地把对方发过来的字符打印出来。

不见图 请翻墙
(上世纪40年代的电传打字机——用于电报网)

◇“回车/换行”的来历


  稍微懂点 IT 的同学,应该都听说过“回车/换行”,洋文分别称之为“carriage return”&“line feed”。在编程领域,这两个字符简称为 \r & \n。
  为啥会有这么两个玩意儿捏?
  因为在电传打字机时代,当打印完一行之后,需要用一个控制命令把“打印头”复位(移到打印纸的左边),然后再用另一个控制命令把“打印头”往下移动一行。很自然地,这俩动作就对应了两个控制字符(CR & LF),也就是所谓的“回车 & 换行”。

◇其它控制字符


  如果你去留意一下 ASCII 字符表的开头部分,前面那32个字符都是控制字符,很多都源于遥远的【电报时代】。
  在本文后续的介绍中,还会再聊到这些“控制字符”。


★终端(terminal/TTY)


◇历史演变


  “终端”一词,洋文称之为“terminal”。有时候又被称作 TTY,而 TTY 这个简写就来自刚才介绍的【电传打字机】(teletype printer)。
  因为早期的大型机,其“终端”就是【电传打字机】。那时候的终端,也称作【硬件终端】。

  为啥会有“终端”这个概念捏?你依然需要了解历史的变迁。
  最早期的计算机(大型机)是【单任务】滴——也就是说,每次只能干一件事情。
  到了60年代,出现了一个【革命性】的飞跃——发明了【多任务】系统,当时叫做“time-sharing”(分时系统)。有了“分时系统”,就可以让多个人同时使用一台大型机。而为了让多个人同时操作这台大型机,就引入了【终端】的概念。每一台大型机安装多个终端,每个操作员都在各自的终端上进行操作,互不干扰。

◇(跑题)“约翰·麦卡锡”其人


  聊到这里,稍微跑题一下:
  最早的“分时系统”由 IT 超级大牛“约翰·麦卡锡”(John McCarthy)设计。此人不仅仅是“分时系统它爹”,还是“Lisp 语言它爹”,另外还参与设计了编程语言“ALGOL 60”。而这个“ALGOL 60”编程语言虽然知道的人不多,但该语言深刻影响了后续的 Ada、BCPL、C、Pascal......
  为了让你体会这只大牛到底有多牛。俺引用另一个牛人保罗·格雷汉姆(《黑客与画家》作者)的观点——他认为在所有编程语言中, Lisp 与 C 是两座无法超越的高峰。而“约翰·麦卡锡”亲自发明了 Lisp 语言,然后又深刻地影响了 C 语言。
  另外,麦卡锡这只大牛还参与创立了“MIT 人工智能实验室”与“斯坦福人工智能实验室”。前者涌现出一大批早期的黑客,其中包括大名鼎鼎的 Richard Stallman(此人开创了:自由软件运动、GNU 社区、GCC、GDB、GNU Emacs ......)。

不见图 请翻墙
(超级大牛约翰·麦卡锡)

◇【远程】终端


  跑题结束,言归正传。
  “终端”的好处不光是“多任务”,而且还可以让用户在【远程】进行操作。这种情况下,“终端”通过 modem(调制解调器)与“主机”相连。这种玩法很类似于——互联网普及初期的拨号上网。示意图如下:

不见图 请翻墙
(通过 modem 实现的【远程】终端)

  最早的“终端”,本质上就是“电传打字机”——以“打字机”作为输入;以“打印纸”作为输出。这类终端,比较经典的是如下这款:

不见图 请翻墙
(Teletype Model 33 ASR)

  到了上世纪70年初,终于有了带【屏幕】的远程终端。DEC 公司的 VT05 是第一款基于 CRT 显示器的远程终端。

不见图 请翻墙
(VT05 终端)

◇内部结构示意图


  下面这张是大型机时代,“终端”与“进程”通讯的示意图。
  图中的 UART 是洋文“Universal Asynchronous Receiver and Transmitter”的缩写(相关维基百科链接在“这里”)。LDISC 是洋文“line discipline”的简写(相关维基百科链接在“这里”)。
  通俗地说,UART 用来处理物理线路的字符传输(比如:“错误校验”、“流控”、等);LDISC 用来撮合底层的“硬件驱动”与上层的“系统调用”,并完成某些“控制字符”的处理与翻译。

不见图 请翻墙
(TTY 示意图1:使用【硬件终端】的大型机内部结构图)

◇如今的含义


  如今,“终端”一词的含义已经扩大了——用来指:基于【文本】的输入输出机制。
  在本文后续的章节中, terminal 与 TTY 这两个术语基本上是同义词。


★终端的3种【缓冲模式】——字符模式、行模式、屏模式


◇字符模式(character mode)


  又要说回到【电传打字机】。
  在本文开头,已经聊过这个玩意儿,并且提到——它是基于【字符】传输滴。也就是说,操作员每次在“电传打字机”上按键,对应的字符会立即通过线路发送给对方。这就是最传统的【字符模式】
  通俗地说,“字符模式”也就是【无缓冲】的模式。

◇行模式(line mode)


  不客气地说,“字符模式”是非常傻逼滴!因为如果你不小心按错键,这个错误也会立即发送出去。
  比如说,你在输入一串很长的命令,结果输到半当中,敲错一个按键,整个命令就废了——要重新再输入一遍。
  所以,当早期的程序员对“字符模式”实在忍无可忍之后,终于发明了【行模式】。
  【行模式】也叫做“行缓冲”。也就是说,终端会把你当前输入的这行先缓冲在本地。只有当你最终按了【回车键】,才会把这一整行发送出去。如果你不小心敲错了一个字符,可以赶紧用“退格键”删掉重输这个字符。
  因此,这种模式称之为【行缓冲】。

  顺便说一下:
  早期的标准键盘,【没有】方向键(“上下左右”这4个键)。不信的话,可以去看本文前面贴的那张“Teletype Model 33 ASR”的照片。
  因为无论是“字符模式”还是“行模式”,都没这个需求。

◇屏模式(screen mode/block mode)


  “行模式”进一步的发展就是【屏模式】。这个玩意儿也叫“全屏缓冲”,顾名思义,终端会缓冲当前屏幕的内容。
  在这种模式下,用户可以利用方向键,操纵光标(cursor)在屏幕上四处游走。
  开发这种类型的软件,比较复杂——程序员至少需要做如下工作:
1. 保存整个屏幕的状态
2. 根据键盘输入,操纵光标(cursor)移动
3. 控制屏幕的哪些区域是光标可达,哪些是不可达;
4. 对于光标可达的部分,控制哪些是“可编辑”,哪些是“只读”;
5. 根据“光标移动”以及某些“特定的按键”(比如“翻页键”),重新绘制屏幕
......
  后来,为了简化”屏模式“的编程,专门搞了一个叫做 curses 的编程库。如今的“ncurses 库”就是从 curses 衍生出来滴(前面加了一个 n 表示 new)。

不见图 请翻墙
(“重编译 Linux 内核”的配置界面,基于 ncurses 实现)

  前面说了——早期的键盘【没】方向键。有了这个【屏模式】之后,键盘上才开始增加了“方向键”(所以“方向键”位于键盘的扩展区)

◇小结


  上述这三种模式,第1种基本淘汰(仅限于极少数场景);第3种用得也不多。与本文关系比较密切的,其实是【第2种】——行模式。
  为了加深你的印象,用 cat 命令来举例(注:这个命令其实与“猫”【无关】,而是 concatenate 的简写)
  大部分情况下,都是用它来显示某个文件的内容,比如说:cat 文件名 。但如果你运行 cat【没】加任何参数,那么它就会尝试读取你在终端的输入,然后把读到的文本再原样输出到终端。

不见图 请翻墙
(动画:演示“行模式”的效果)

  在上述动画中,你的输入并【没有】直接传递给 cat 进程。要一直等到你按下【回车键】,cat 进程才收到你的输入,并立即打印了输出。


★终端的【回显】


◇“回显”是啥?


  在刚才那个 gif 动画中,当俺逐个输入 test 的每个字母,这些字母也会逐个显示在屏幕上。这种做法叫做【回显】。

◇“回显”的打开与关闭(启用/禁用)


  虽然“回显”很人性化,但某些特殊的场合是【不想】“回显”滴,比如当你输入密码/口令的时候。
  因此,终端提供了某种机制,使得程序能够控制“回显”的启用/禁用。
  对于大多数终端,可以用【Ctrl + S】禁用“回显”,然后用【Ctrl + Q】启用“回显”。
  如果你在禁用“回显”的情况下输入一些文本,当你重新启用“回显”的瞬间,这些文本会一起出现在屏幕上。

  顺便说一下:
  由于【Ctrl + S】在 Windows 上是很常见的组合键。某些菜鸟刚开始玩 Linux 命令行的时候,会习惯性地按这个组合键,结果就禁用了回显。这时候,任何键盘输入都没有反应。菜鸟就以为终端死掉了。

◇历史演变


  对于 Windows 用户来说,【Ctrl + S】实在太常用了,很容易误按。肯定有大量的用户吐槽过 POSIX 终端的这个快捷键。
  那么,为啥要用这两个快捷键来控制“回显”捏?俺又要第 N 次说到【电传打字机】了。
  由于这玩意儿的输出是【打印纸】,其速率比较【慢】。一旦“对方发送字符的速率”高于“自己这边的打印速率”,就需要向对方发一个控制信号,让对方暂停发送;等到自己这边打印完了,再发送另一个控制字符,通知对方继续。
  (注:上述这种玩法,通信领域行话称之为“流量控制/流控”)
  当年用来表示“暂停发送”的控制字符,对应的就是【Ctrl + S】;用来“恢复发送”的控制字符,也正是【Ctrl + Q】。


★(早期的)系统控制台/物理控制台(system console)


  (前面说了)在【没】发明“分时系统”之前,当时的计算机只能执行【单任务】。因此,那时候的大型机只有【一个】操作界面,称之为【控制台】。
  话说那时的“控制台”,真的是一个台子(参见下图)。

不见图 请翻墙
(上世纪50年代,IBM 公司 704 大型机的控制台)

  后来发明了“分时系统”。如刚才所说——“分时系统”使得大型机可以具备多个终端。在这种情况下,你可以把“控制台”通俗地理解为“本地终端”,而【不】是“控制台”的那些终端,称之为“远程终端”。
  在那个年代,计算机属于【非常非常稀缺】的资源。于是拥有大型机的公司,就可以【出租计算资源】,获得一笔相当可观的收入。他们把大型机的某个“远程终端”租给外来人员使用,然后根据“时间/空间”收取费用。由于资源的稀缺性,当年的 CPU 是按【秒】计费,而内存是按【KB】计费。
  由于“远程终端”可能会被【外人】使用,因此对“远程终端”的【权限】要进行一些限制。如果要进行一些高级别的操作(比如“关闭整个系统”),就只能限制在【控制台】(本地终端)进行。有些公司为了安全起见,还会把“控制台”单独锁在某个“secured room”里面。

不见图 请翻墙
(上世纪60年代,DEC 公司 PDP-7 小型机的控制台)


★(如今的)虚拟控制台(virtual console)


  到了 PC 时代,传统意义上的【控制台】已经看不到了。但 console 这个术语保留了下来。

◇从“物理 console”到“虚拟 console”


  早期大型机的 console 是【独占】硬件滴——“键盘/显示器”固定用于某个 console 滴。
  【现代】的 POSIX 系统,衍生出“virtual console”的概念——可以让几个不同的 console【共用】一套硬件(键盘/显示器)。“virtual”一词就是这么来滴。
  再重复唠叨一下:不论是早期的“物理控制台”还是后来的“虚拟控制台”,都属于广义上的“终端”。

◇举例:Linux 的 virtual console


  假设你的 Linux 系统没安装图形界面(或者默认不启用图形界面),当系统启动完成之后,你会在屏幕上看到一个文本模式的登录提示。这个界面就是 virtual console 的界面。
  在默认情况下,Linux 内置了【6个】virtual console 用于命令行操作,然后把第7个 virtual console 预留给图形系统。你可以使用 Alt + Fn 或 Ctrl + Alt + Fn 在这几个 console 之间切换(注:上述所说的 Fn 指的是 F1、F2... 之类的功能键)。

◇虚拟控制台的【内部结构】


不见图 请翻墙
(TTY 示意图2:【虚拟控制台】的内部结构图)


★终端模拟器(terminal emulator)


  请注意上面那张示意图,图中出现了一个【终端模拟器】,这就是本章节要说的东东。
  如果你对比前面的【TTY 示意图1】与【TTY 示意图2】的变化,会发现——“UART & UART 驱动”没了,然后多了这个【终端模拟器】。
  多出来的这个玩意儿相当于加了一个【抽象层】,模拟出早期硬件终端的效果,因此就【无需改动】系统内核中的其它部分,比如:LDISC(line discipline)
  请注意,这个场景下的“终端模拟器”位于操作系统【内核】。换句话说,它属于【内核态】的模拟器。正是因为它处于这个地位,所以能够在“驱动”&“LDISC”之间进行协调。


★伪终端(PTY/pseudotty/pseudoterminal)


◇从“文本模式”到“图形模式”


  前面讲的那些,都是【文本模式】(文本界面)。
  话说到了上世纪80年代,随着【图形界面】的兴起,就出现某种需求——想在图形界面下使用“【文本】终端”。于是就出现了“伪终端”的概念。
  通俗地说,“伪终端”就是用某个图形界面的软件来模拟传统的“文本终端”的各种行为。前面说了,TTY 这个缩写相当于“终端”的同义词;因此“pseudotty” 就衍生出 PTY 这个缩写。

◇从“【内核态】终端模拟器”到“【用户态】终端模拟器”


  在上一个章节中,emulator 运行在系统内核中,因此是“内核态模拟器”;
  等到后来搞“伪终端”的时候,就直接把这个玩意儿从【内核态】转到【用户态】——让它直接运行在【桌面环境】。如此一来,用户就可以直接在桌面环境中使用“终端模拟器”。
  当“终端模拟器”变为【用户态】,它就【无法】直接与“键盘驱动 or 显卡驱动”打交道。在这种情况下,由“GUI 系统”(比如:X11)负责与这些驱动打交道,然后再把用户的输入输出转交给“终端模拟器”。

  下面这张示意图是 xterm。别看它长得丑,它的出现也算是“里程碑”了。

不见图 请翻墙
(xterm——“图形化终端模拟器”的祖师爷)

◇内部结构示意图


  很多人把“emulator”与“PTY”混为一谈。实际上两者处于【不同】层次。
  在操作系统内部(内核),PTY 分为两部分实现,分别叫做“PTY master” & “PTY slave”。master 负责与“terminal emulator”打交道;而用户通过 emulator 里面的 shell 启动的其它进程,则与 slave 打交道。
  在这个环节中,“PTY slave”又进一步缩写为“PTS”。如果你用 ps 命令查看系统中的所有进程,经常会看到 PTS 之类的字样,指的就是这个玩意儿。对普通用户而言,看到的是“终端模拟器”的界面,至于 PTY 内部的 master & slave,通常是感觉不到滴。

  为了让大伙儿更加直观,再放一张 PTY 的结构示意图。

不见图 请翻墙
(TTY 示意图3:【伪终端】的内部结构图)


★shell——命令行解释器


  费了好多口水,咱们终于聊到 shell 了。
  顺便吐槽一下:
  扫盲命令行的教程,很少会像俺这样,从最基本的概念说起。其导致的后果就是——很多人(甚至包括很多 Linux 程序员)都搞不清“shell、terminal、console、TTY、PTY、PTS”这些概念到底有啥区别。
  在《如何【系统性学习】——从“媒介形态”聊到“DIKW 模型”》一文中,俺特别强调了【基本概念/基础知识】的重要性。这也就是俺为啥前面要费这么多口水的原因。

◇shell VS terminal


  前面所说的“终端”(terminal),本质上是:基于【文本】的输入输出机制。它并【不】理解具体的命令及其语法。
  于是就需要引入 shell 这个玩意儿——shell 负责解释你输入的命令,并根据你输入的命令,执行某些动作(包括:启动其它进程)。

◇常见 shell 举例


  常见的 shell 包括如下这些(为避免排名纠纷,按字母序列出):
bash
csh
fish
ksh
zsh

  在维基百科的“这个页面”,列出了各种各样的 shell 及其功能特性的对照表。
  如今影响力最大的 shell 是 bash(没有之一)。其名称源自“Bourne-again shell”,是 GNU 社区对 Bourne shell 的重写,使之符合自由软件(GPL 协议)。
  本文后续章节对 shell 的举例,如果没有做特殊说明,均指 bash 这个 shell。


★shell 的基本功能


◇显示【命令行提示符】


  当你打开一个 shell,会看闪烁的光标左侧显示一个东东,那个玩意儿就是【命令行提示符】(参见下图)
不见图 请翻墙
(截图中的“命令行提示符”包含了:用户名、当前路径、$分隔符)

  很多 shell 的“命令行提示符”都会包含【当前路径】。当你用 cd 命令切换目录,提示符也会随之改变。这有助于你搞清楚当前在哪个目录下,可以有效避免误操作。
  下面这张图演示了——“命令行提示符”随着当前目录的变化而变化。
不见图 请翻墙

  大部分 shell 都可以让你自定义这个【命令行提示符】,使之显示更多的信息量。
  比如说,可以让它显示:当前的时间、主机名、上一个命令的退出码......
  (注:如果你需要开多个【远程】终端,去操作多个【不同】的系统,“主机名”就蛮有用)

◇解析用户输入的【命令行】


  假设你想看一下 /home 这个目录下有哪些子目录,可以在 shell 中运行了如下命令:

ls /home

  当你输入这串命令并敲回车键,shell 会拿到这一行,然后它会分析出,空格前面的 ls 是一个外部命令,空格后面的 /home 是该命令的参数。
  然后 shell 会启动这个外部命令对应的进程,并把上述参数作为该进程的启动参数。

◇内部命令 VS 外部命令


  (刚才提到了【外部命令】这个词汇,顺便解释一下)
  通俗地说,“内部命令”就是内置在 shell 中的命令;而“外部命令”则对应了某个具体的【可执行文件】。
  当你在 shell 中执行“外部命令”,shell 会启动对应的可执行文件,从而创建出一个“子进程”;而如果是“内部命令”,就【不】产生子进程。
  那么,如何判断某个命令是否为“外部命令”捏?
  比较简单的方法是——用如下方式来帮你查找。如果某个命令能找到对应的可执行文件,就是“外部命令”;反之则是“内部命令”。
whereis 命令名称

◇翻译【通配符】


  玩过命令行的同学,应该都知道:“星号”(*)与“问号”(?)可以作为通配符,用来模糊匹配文件名。
  当你在 shell 中执行的命令包含了上述两个通配符,实际上是 shell 先把”通配符“翻译成具体的文件名,然后再传给相应命令。

◇翻译某些【特殊符号】


  比如说:在 POSIX 系统中,通常用 ~ 来表示当前用户的【主目录】(home 目录)。
  如果你在 shell 中用到了 ~ 这个符号,shell 会先把该符号翻译成“home 目录的【全路径】”,然后再传给相应命令。

◇翻译【别名】


  很多 POSIX 的 shell 都支持用 alias 命令设置别名(把一个较长的命令串,用一个较短的别名来表示)。
  设置了别名之后,当你在 shell 中使用“别名”,由 shell 帮你翻译成原先的命令串。

  举例:
  在《扫盲 netcat(网猫)的 N 种用法——从“网络诊断”到“系统入侵”》一文中,俺使用如下命令创建了 nc-tor 这个别名。
alias nc-tor='nc -X 5 -x 127.0.0.1:9050'
  设置完之后,当你在 shell 中执行了这个 nc-tor 命令,shell 会把它自动翻译成 nc -X 5 -x 127.0.0.1:9050

◇历史命令


  大部分 shell 都会记录历史命令。你可以使用某些设定的快捷键(通常是【向上】的方向键),重新运行之前执行过的命令。

◇自动补全


  很多 shell 都具备自动补全的功能。
  该功能不仅指“命令”本身的自动补全,还包括对“命令的参数”进行自动补全。

◇操作“环境变量”


  关于这部分,在下面的“环境变量”章节单独聊。

◇“管道”与“重定向”


  关于这部分,在下面的“管道”章节单独聊。

◇“进程控制”与“作业控制”


  关于这部分,在下面的“进程控制”与“作业控制”章节单独聊。


★进程的启动与退出


◇进程的【启动】及其【父子关系】


  一般来说,每个“进程”都是由另一个进程启动滴。如果“进程A”创建了“进程B”,则 A 是【父进程】,B 是【子进程】(这个“父子关系”很好理解——因为完全符合直觉)
  有些同学会问,那最早的【第一个】进程是谁启动滴?
  一般来说,第一个进程由【操作系统内核】(kernel)亲自操刀运行起来;而 kernel 又是由“引导扇区”中的“boot loader”加载。

◇进程树


  在 POSIX 系统(Linux & UNIX),所有的进程构成一个【单根树】的层次关系。进程之间的“父子关系”,体现在“进程树”就是树上的【父子节点】。
  你可以使用如下命令,查看当前系统的“进程树”。
pstree

不见图 请翻墙
(“进程树”的效果图。注:为了避免暴露俺的系统信息,特意【不】用自己系统的截图)

◇初始进程


  一般情况下,POSIX 系统的“进程树”的【根节点】就是系统开机之后【第一个】创建的进程,并且其进程编号(PID)通常是 1。这个进程称之为“初始进程”。
  (注:上述这句话并【不够】严密——因为某些 UNIX 衍生系统的“进程树”,位于根节点的进程【不是】“初始化进程”。这种情况与本文的主题没太大关系,俺不打算展开讨论)
  对于“大部分 UNIX 衍生系统”以及“2010年之前的 Linux 发行版”,系统中的“初始进程”名叫 init;
  如今越来越多的 Linux 发行版采用 systemd 来完成系统引导之后的初始化工作。在这些发行版中,“初始进程”名叫 systemd。

  你可以用如下命令显示“进程树”中每个节点的“进程编号”(PID),然后就能看到编号为 1 的“初始进程”。
pstree -p

◇进程的三种死法


  关于进程如何死亡,大致有如下三种情况:

  自然死亡
  如果某个进程把它该干的事情都干完了,自然就会退出。
  这种是最常见的情况,也是最优雅的死法。俺习惯称作【自然死亡】。

  自杀
  如果某个进程的工作干到半当中,突然收到某个通知,让它立即退出。
  这时候,进程会赶紧处理一些善后工作,然后自行了断——这就是【自杀】。

  它杀
  比“自杀”更粗暴的方式称之为【它杀】。也就是让“操作系统内核”直接把进程干掉。
  在这种情况下,进程【不会】收到任何通知,因此也【不】可能进行任何善后事宜。

  (注:上述三种死法纯属比喻,以加深大伙儿的印象;不必太较真。十年前俺刚开博客,写过几篇帖子谈“C++ 对象之死”,也用过类似比喻)
  关于“自杀&它杀”的方式,会涉及到【信号】。在下一个章节,俺会单独讨论【进程控制】,并会详细介绍“信号”的机制。

◇“孤儿进程”及其“领养”


  如果某个进程死了(退出了),而它的子进程还【没】死,那么这些子进程就被形象地称之为“孤儿”,然后会被上述提到的【初始进程】“领养”——“初始进程”作为“孤儿进程”的父进程。
  对应到“进程树”——“孤儿进程”会被重新调整到“进程树根节点”的【直接下级】。


★“进程控制”与“信号”


◇用【Ctrl + C】杀进程


  为了演示这个效果,你可以执行如下命令:
ping 127.0.0.1

  如果是 Windows 系统里的 ping 命令,它只会进行4次“乒操作”,然后就自己退出了;
  但对于 POSIX 系统里面的 ping 命令,它会永远运行下去(直到被杀掉)。
  当 ping 在运行的时候,只要你按下 Ctrl + C 这个组合键,就可以立即终止这个 ping 进程。

◇“Ctrl + C”背后的原理——【信号】(signal)


  当你按下了 Ctrl + C 这个组合键,当前正在执行的进程会收到一个叫做【SIGINT】的信号。
  如果进程内部定义了针对该信号的处理函数,那么就会去执行这个函数,完成该函数定义的一些动作。一般而言,该函数会进行一些善后工作,然后进程退出。
  如果进程【没有】定义相应的处理函数,则会执行一个【默认动作】。对于 SIGINT 这个信号而言,默认动作就是“进程退出”。
  上述这2种情况,都属于前面所说的自杀。这2种属于【常规情况】。

  下面再来说【特殊情况】——有时候 Ctrl + C【无法】让进程退出。为啥会这样捏?
  假如说,编写某个进程的程序员,定义了该信号的处理函数,但在这个函数内部,并【没有】执行“进程退出”这个动作。那么当该进程收到 SIGINT 信号之后,自然就【不会】退出。这种情况称之为——信号被该进程【屏蔽】了。

◇【谁】发出“Ctrl + C”对应的信号?


  很多人(包括很多玩命令行的老手)都有一个【误解】——他们误以为是 shell 发送了 SIGINT 信号给当前进程。其实不然!
  在上述 ping 的例子中,当 ping 进程在持续运行之时,你的键盘输入是关联到 ping 进程的“标准输入”(stdin)。在这种情况下,shell 根本【无法】获取你的按键信息。
  实际上,是【终端】获取了你的 Ctrl + C 组合键信息,并发送了 SIGINT 信号。因为【终端】处于更底层,它负责承载你所有的输入输出。因此,它当然可以截获用户的某个特殊的组合键(比如:Ctrl + C),并执行某些特定的动作。
  聊到这里,大伙儿会发现——
如果没有正确理解“终端”与“shell”这两者的关系,就会犯很多错误(造成很多误解)。

  有的读者可能会问:“终端”如何知道【当前进程】是哪一个?(能想到这点,通常是比较爱思考滴)
  俺来解答一下:
  当 shell 启动了某个进程,它当然可以拿到这个进程的编号(pid),于是 shell 会调用某个系统 API(比如 tcsetpgrp)把“进程编号”与 shell 所属的“终端”关联起来。
  当“终端”需要发送 SIGINT 信号时,再调用另一个系统 API(比如 tcgetpgrp),就可以知道当前进程的编号。

◇对比杀进程的几个信号:SIGINT、SIGTERM、SIGQUIT、SIGKILL


  SIGINT
  在大部分 POSIX 系统的各种终端上,Ctrl + C 组合键触发的就是这个信号。
  通常情况下,进程收到这个信号后,做完相关的善后工作,就自行了断(自杀)。

  SIGTERM
  这个信号基本类似于 SIGINT。
  它是 kill & killall 这两个命令【默认】使用的信号。
  也就是说,当你用这俩命令杀进程,并且【没有】指定信号类型,那么 kill 或 killall 用的就是这个 SIGTERM 信号。

  SIGQUIT
  这个信号类似于前两个(SIGINT & SIGINT),差别在于——进程在退出前会执行“core dump”操作。
  一般而言,只有程序员才会去关心“core dump”这个玩意儿,所以这里就不细聊了。

  SIGKILL
  在杀进程的几个信号中,这个信号是是最牛逼的(也是最粗暴的)。
  前面三个信号都是【可屏蔽】滴,而这个信号是【不可屏蔽】滴。
  当某个进程收到了【SIGKILL】信号,该进程自己【完全没有】处理信号的机会,而是由操作系统内核直接把这个进程干掉。
  此种行为可以形象地称之为“它杀”。
  当你用下列这些命令杀进程,本质上就是在发送这个信号进行【它杀】。【SIGKILL】这个信号的编号是 9,下列这些命令中的 -9 参数就是这么来滴。
kill -9 进程号
kill -KILL 进程号

killall -9 进程名称
killall -KILL 进程名称
killall -SIGKILL 进程名称

  为了方便对照上述这4种,俺放一个表格如下:
信号名称编号能否屏蔽默认动作俗称
SIGINT2YES进程自己退出自杀
SIGTERM15YES进程自己退出自杀
SIGQUIT3YES执行 core dump
进程自己退出
自杀
SIGKILL9NO进程被内核干掉它杀

◇【它杀】的危险性与副作用


  请注意:【它杀】是一种比较危险的做法,可能导致一些【副作用】。只有当你用其它各种方式都无法干掉某个进程,才考虑用这招。
  有读者在评论区问到了“它杀的副作用”,俺简单解释一下:
  一方面,当操作系统用这种方式杀掉某个进程,虽然可以把很多内存相关的资源释放掉,但【内存之外】的资源,内核就管不了啦;另一方面,由于进程遭遇“它杀”,无法完成某些善后工作。
  基于上述两点,就【有可能】会产生副作用。另外,“副作用的严重程度”取决于不同类型的软件。无法一概而论。

  举例1:
  某个进程正在保存文件。这时候遭遇“它杀”可能会导致文件损坏。
  (注:虽然某些操作系统能做到“写操作的原子性”,但数据存储可能会涉及多个写操作。当进程在作【多个】关键性写操作时,遭遇它杀。可能导致数据文件【逻辑上】的损坏)

  举例2:
  还有更复杂的情况,比如涉及跨主机的网络通讯。某个进程可能向【远程】的某个网络服务分配了某个远程的资源,当进程“自然死亡 or 自杀”,它会在“善后工作”释放这个资源;而如果死于内核的“它杀”,这个远程的资源就【没】释放。

◇kill VS killall


  这两个的差别在于——前者用“进程号”,后者用”进程名“(也就是可执行文件名)。
  对于新手而言,
如果用 kill 命令,你需要先用 ps 命令打印出当前进程清单,然后找到你要杀的进程的编号;而如果要用 killall 命令,就比较省事(比较傻瓜化)。但万一碰到有多个【同名】进程在运行,而你只想干掉其中一个,那么就得老老实实用 kill 了。

◇进程退出码


  任何一个进程退出的时候,都对应某个【整数类型】的“退出码”。
  按照 POSIX 系统(UNIX & Linux)的传统惯例——
当“退出码”为【零】,表示“成功 or 正常状态”;
当“退出码”【非零】,表示“失败 or 异常状态”。

◇暂停进程


  刚才聊“杀进程”的时候提到了“自杀 VS 它杀”。前者比较“温柔”;而后者比较“粗暴”。
  对于暂停进程,也有“温柔 & 野蛮”两种玩法。而且也是用 kill 命令发信号。

  【温柔】式暂停(SIGTSTP)
kill -TSTP 进程编号
  这个【SIGTSTP】信号类似前面提及的【SIGINT】——
1. 两者默认都绑定到组合键(【SIGINT】默认绑定到组合键【Ctrl + C】;【SIGTSTP】默认绑定到组合键【Ctrl + Z】)
2. 这两个快捷键都是由【终端】截获,并发出相应的信号(具体原理参见本章节的某个小节)
3. 两者都是【可】屏蔽的信号。也就是说,如果某个进程屏蔽了【SIGTSTP】信号,你就【无法】用该方式暂停它。这时候你就得改用【粗暴】的方式(如下)。

  【粗暴】式暂停(SIGSTOP)
kill -STOP 进程编号
  这个【SIGSTOP】信号与前面提及的【SIGKILL】有某种相同之处——这两个信号都属于【不可屏蔽】的信号。也就是说,收到【SIGSTOP】信号的进程【无法】抗拒被暂停(suspend)的命运。

  与“杀进程”的风格类似——当你想要暂停某进程,应该先尝试“温柔”的方法,搞不定再用“粗暴”的方法(套用咱们天朝的老话叫“先礼后兵”)。

◇恢复进程


  当你想要重新恢复(resume)被暂停的进程,就用如下命令(该命令发送信号【SIGCONT】)
kill -CONT 进程编号

◇引申阅读


  除了前面几个小节提到的信号,POSIX 系统还支持其它一些信号,具体参见维基百科的“这个页面”。


★作业控制(job)


  聊完了“进程控制”,再来聊“作业控制”。
  (注:这里所说的“作业”是从洋文 job 翻译过来滴)

◇啥是“作业”?


  “作业”是 shell 相关的术语,用来表示【进程组】的概念(每个作业就是一组进程)。
  比如说,当你用“管道符”把若干命令串起来执行,这几个命令对应的进程就被视作【一组】。
  (注:“管道符”的用法,后面某个章节会介绍)

◇同步执行(前台执行) VS 异步执行(后台执行)


  大部分情况下,你在 shell 中执行的命令都是“同步执行”(或者叫“前台执行”)。对于这种方式,只有当命令运行完毕,你才会重新看到 shell 的“命令行提示符”。
  如果你以“异步执行”的方式启动某个外部命令,在这个命令还没有执行完的时候,你就可以重新看到“命令行提示符”。

  请注意:
  对于【短】寿命的外部命令(耗时很短的外部命令),“同步/异步”两种方式其实【没】啥区别。比如 ls 命令通常很快就执行完毕,你就感觉不到上述两种方式的差异。
  只有当你执行了某个【长】寿命的外部命令(其执行时间至少达到若干秒),上述这两种方式才会体现出差别。

  到目前为止,本文之前聊的命令执行方式,都属于“同步执行”;如果想用【异步】,需要在整个命令的最末尾追加一个半角的 & 符号。

  【同步】方式举例
  下列命令以【同步】的方式启动火狐浏览器,只有当你关闭了火狐,才会重新看到 shell 的命令行提示符。
firefox

  【异步】方式举例
  下列命令以【异步】的方式启动火狐浏览器。你刚敲完回车,就会重新看到 shell 的“命令行提示符”(此时火狐依然在运行)
firefox &

  以“同步”方式启动的进程,称作“【前台】进程”;反之,以“异步”方式启动的进程,称作“【后台】进程”。

◇“前台”切换到“后台”


  假设当前的 shell 正在执行某个长寿命的【前台】进程,你可以按【Ctrl + Z】,就可以让该进程变为【后台】进程——此时你立即可以看到“命令提示符”。
  只要你不是太健忘,应该记得前一个章节有提到过【Ctrl + Z】这个组合键——它用来实现”【温柔】式暂停“,其原理是:向目标进程发送【SIGTSTP】信号。

◇“后台”切换到“前台”


  假设当前 shell 正在执行某个后台进程。由于该进程在【后台】执行,此时有“命令提示符”,然后你在 shell 中执行 fg 命令,就可以把该后台进程切换到【前台】。

  某些爱思考的同学会问了——如果同时启动了【多个】“后台进程”,fg 命令会切换哪一个捏?
  在这种情况下,fg 命令切换的是【最后启动】的那个。

  如果你有 N 个“后台进程”,你想把其中的某个切换为“前台进程”,这时候就需要用到 jobs 命令。该命令与乔布斯同名 :)
  举例:
  假设俺同时启动了 vim 与 emacs 作为后台进程,先用 jobs 命令列出所有的后台进程。假设该命令的输出是如下这个样子。
$ jobs
[1] running vim
[2] running emacs
  在上述的终端窗口,中括号里面的数字称作“job id”。你可以用 fg 命令搭配“job id”,把某个后台进程切换到前台。
  (在本例中)如果你想切换 emacs 到前台,就运行 fg %2,如果想切换 vim 就运行 fg %1(以此类推)

◇引申阅读


  想进一步了解“作业控制”,可以参考维基百科(这个链接)。


★环境变量(environment variable)


◇“环境变量”是啥?


  所谓的“环境变量”,你可以通俗理解为某种【名值对】——每个“环境变量”都有自己的【名称】和【值】。并且名称必须是【唯一】滴。

◇如何添加并修改“环境变量”?


  在 bash(或兼容 bash 的其它 shell),你可以用 export 设置环境变量。比如下面这个命令行设置了一个“环境变量”,其名称是 abc,其值是 xyz
export abc=xyz

  假如你要设置的【值】包含空格,记得用双引号引用该值(示例如下)。
export abc="program think"

  由于“环境变量”的名称具有【唯一性】,当你设置【同名】的“环境变量”就等同于对它的【修改】。

◇如何查看“环境变量”?


  设置完之后,你可以用 env 命令查看。该命令会列出【当前 shell】中的【全部】“环境变量”。

◇“环境变量”的【可见性】和【可继承性】


  某个进程设置的“环境变量”,其【可见性】仅限于该进程及其子进程(也就是“进程树”中,该进程所在的那个枝节)。
  基于上述的【可见性】原则,你在某个 shell 中设置的“环境变量”,只在“该 shell 进程本身”,以及通过该 shell 进程启动的“其它子进程”,才能看到。

  另外,如果系统关机,所有进程都会退出,那么你采用上一个小节(export 方式)设置的“环境变量”也就随之消失了。
  为了让某个“环境变量”永久生效,需要把相应的 export 命令添加到该 shell 的初始化配置文件中。对于 bash 而言,也就是 ~/.bashrc 或者 ~/.profile
  估计有些同学会问:上述这两个初始化配置文件,有啥差别捏?
  俺如果有空,会单独写一篇关于 bash 的定制教程,到时候再聊这个话题。

◇“环境变量”有啥用?


  通俗地说,“环境变量”是某种比较简单的“IPC 机制”(进程通讯机制),可以让两个进程共享某个简单的文本信息。
  举例:
  很多知名的软件(比如:curl、emacs)都支持“以环境变量设置代理”。
  如果你按照它的约定,在 shell 中设置了约定名称和格式的“环境变量”,然后在【同一个】shell 中启动这个软件,(由于环境变量的【可继承性】)该软件就会看到这个“环境变量”,并根据“环境变量”包含的信息,设置代理。


★“标准流”(standard stream)与“重定向”(redirection)


◇进程的3个“标准流”


  在 POSIX 系统(Linux & UNIX)中,每个进程都内置了三个“标准流”(standard stream),分别称作:“标准输入流”(stdin),“标准输出流”(stdout),“标准错误输出流”(stderr)。
  当进程启动后,在默认情况下,stdin 对接到终端的【输入】;stdout & stderr 对接到终端的【输出】。示意图如下:

不见图 请翻墙
(三个【标准流】的示意图)

  如果你是程序员,俺补充一下:
  当你在程序中打开某个文件,会得到一个“文件描述符”(洋文叫“file descriptor”,简称 fd)。fd 本身是个整数,程序员可以通过 fd 对该文件进行读写。
  而进程的三个【标准流】,就相当于是三个特殊的 fd。当进程启动时,操作系统就已经把这三个 fd 准备好了。
  由于这三个玩意儿是预先备好滴,所以它们的数值分别是:0、1、2(参见上图中 # 后面的数字)。

◇演示“标准流”的实际效果


  在本文前面的某个章节,俺已经用 gif 动画演示了终端的“行模式”。
  动画中的 cat 命令同样可以用来演示“标准输入输出”。俺把那个动画再贴一次。

不见图 请翻墙
(动画:“标准输入输出”的效果)

  请注意,第1行 test 是针对 cat 进程的【输入】,对应于【stdin】(你之所以能看到这行,是因为前面所说的【终端回显】)
  第2行 test 是 cat 进程拿到输入文本之后的原样输出,对应于【stdout】。

◇“标准流”的【重定向】


  所谓的【重定向】大体上分两种:

  1. 【输入流】重定向
  把某个文件重定向为 stdin;此时进程通过 stdin 读取的是该文件的内容。
  这种玩法使用小于号(<)

  2. 【输出流】重定向
  把 stdout 重定向到某个文件;此时进程写入 stdout 的内容会【覆盖 or 追加】到这个文件。
  这种玩法使用【单个】大于号(>)或【两个】大于号(>>)。前者用于【覆盖】文件内容,后者用于【追加】文件内容。

  另外,有时候你会看到 2>&1 这种写法。它表示:把 stderr 合并到 stdout。
  (注:前面俺提到过——stdout 是“数值为 1 的文件描述符”;stderr 是“数值为 2 的文件描述符”)

◇【重定向】举例


  cat 的例子
  下面这个命令把某个文件重定向到 cat 的 stdin。
cat < 文件名

  很多菜鸟容易把上面的命令与下面的命令搞混淆。
  请注意:上面的命令用的是【输入重定向】,而下面的命令用的是【命令行参数】。
cat 文件名

  cat 命令还可以起到类似“文件复制”的效果。
  比如你已经有个 文件1,用下面这种玩法,会创建出一个内容完全相同的 文件2。
cat < 文件1 > 文件2
  某些同学可能会问了:既然能这么玩,为啥还需要用 cp 命令进行文件复制捏?
  原因在于:cat 的玩法,只保证内容一样,其它的不管;而 cp 除了复制文件内容,还会确保“目标文件”与“源文件”具有相同的属性(比如 mode)。

  更多的例子
  在之前那篇《扫盲 netcat(网猫)的 N 种用法——从“网络诊断”到“系统入侵”》,里面介绍了十多种 nc 的玩法。很多都用到了【重定向】。


★匿名管道(anonymous pipe)


◇“匿名管道”的【原理】


  在大部分 shell 中,使用竖线符号(|)来表示【管道符】。用它来创建一个【匿名管道】,使得前一个命令(进程)的“标准输出”关联到后一个命令(进程)的“标准输入”。

◇举例


  俺曾经在“这篇博文”中介绍过——如何用 netstat 查看当前系统的监听端口。
  对于 Windows 系统,可以用如下命令:
netstat -an | find "LISTEN"
  对于 POSIX 系统,可以用如下命令:
netstat -an | grep "LISTEN"

  在上述两个例子中,都用到了【管道符】。因为 netstat -an 这个命令的输出可能会很多,先把它的输出通过【匿名管道】丢给某个专门负责过滤的命令(比如:POSIX 的 grep 或 Windows 的find)。当这个过滤命令拿到 netstat 的输出内容,再根据你在命令行参数中指定的【关键字】(也就是上述例子中的 LISTEN),过滤出包含【关键字】的那些【行】。
  最终,你看到的是“过滤命令”(grep 或 find)的输出。

◇【串联的】匿名管道(chained pipeline)


  前面的例子,可以用来列出当前系统中所有的监听端口。
  现在,假设你运行了 Tor Browser,然后想看看它到底有没有开启 9150 这个监听端口,那么你就可以在上述命令中进行【二次过滤】(具体命令大致如下)。这就是所谓的【串联】。
netstat -an | grep "LISTEN" | grep "9150"

◇“匿名管道”与“作业”(进程组)


  用“匿名管道”串起来的多个进程,构成一个“作业”(这点前面提到了)。
  你可以尝试执行某个长寿命的,带管道符的命令行,然后用 Ctrl + Z 切到后台,再执行 jobs 看一下,就能看出——该命令行对应的【多个】进程属于同一个 job。


★批处理(batch)


◇啥是“批处理”?


  通俗地说就是:同时执行多个命令。
  为了支持“批处理”,shell 需要提供若干语法规则。而且不同类型的 shell,用来搞“批处理”的语法规则也存在差异。
  在本章节中,俺以 bash 来举例。

◇【无】条件的“批处理”


  如果你把多个命令写在同一行,并且命令之间用半角分号隔开,这种玩法就属于【无条件】的批处理执行。
  举例:
  假设当前目录下有一个 abc.txt 文件,然后要在当前目录下创建一个名为 xxx 的子目录,并把 abc.txt 移动到这个新创建的子目录中。你可以用如下方式搞定(只用【一行】命令)
mkdir ./xxx/; mv abc.txt ./xxx/

  为啥这种方式叫做“【无条件】批处理”捏?因为不管前一个“子命令”是否成功,都会继续执行下一个“子命令”。

  请注意:
  虽然俺上述举例只使用了两个“子命令”,但实际上这种玩法可以把 N 个“子命令”串起来。

◇【有】条件的“批处理”


  与“无条件”相对应的,当然是“有条件”啦。
  这种玩法的意思是——后一个“子命令”是否执行,取决于【前一个】“子命令”的结果(成功 or 失败)。
  (注:如何界定“成功/失败”,请参见前面某个章节聊到的【进程退出码】)
  【有】条件的批处理,常见的方式有两种,分别是【逻辑与】、【逻辑或】。

  逻辑与(语法:&&)
  只要前面的某个“子命令”【失败】了,就【不再】执行后续的“子命令”。
  举例:
  还是拿前一个小节的例子。如下方式使用了“逻辑与”。如果创建子目录失败,就【不再】执行“移动文件”的操作
mkdir ./xxx/ && mv abc.txt ./xxx/

  逻辑或(语法:||)
  只要前面的某个“子命令”【成功】了,就【不再】执行后续的“子命令”。
  举例:
  把上述例子进一步扩充,变为如下:
mkdir ./xxx/ && mv abc.txt ./xxx/ || echo "FAILED!!!"

  这个有点复杂,俺稍微解释一下:
  你把前面两句看作一个【整体】。其执行的逻辑参见前面所说的“逻辑与”。然后这个“整体”与后面的那句 echo 再组合成【逻辑或】的关系。
  也就是说,如果前面的“整体”成功了,那么就【不】执行 echo(【不】打印错误信息);反之,如果前面的“整体”失败了,就会打印错误信息。


★shell 脚本


  虽然前一个章节拿 bash 来举例。但其实有很多其它类型的 shell 都支持类似的“批处理”机制。
  只要某个 shell 支持刚才所说的【有条件批处理】的机制,它就已经很接近【编程语言】了。
  于是很自然地,那些 shell 的作者就会把 shell 逐步发展成某种【脚本语言】的解释器。然后就有了如今的“shell script”(shell 脚本)和“shell 编程”。
  由于“shell 编程”这个话题比较大。哪怕俺只聊 bash 这一类 shell 的编程,也足够写上几万字的博文。考虑到本文已经很长了,这个话题就不再展开。
  对此感兴趣的同学,可以参考俺分享的电子书。具体参见电子书清单的如下几本(这几本都位于【IT类 / 操作系统 / 使用教程】分类目录下)
《Shell 脚本学习指南》(Classic Shell Scripting)
《Linux 与 UNIX Shell 编程指南》(Linux and UNIX Shell Programming)
《高级 Bash 脚本编程指南》(Advanced Bash-Scripting Guide)
  上述这几本,都属于俺在《如何【系统性学习】——从“媒介形态”聊到“DIKW 模型”》中提到的【入门性读物】。最后一本书的名称中虽然有“高级”字样,不过别怕——其内容的5个部分,有4部分都是在讲基础的东西,只有最后一部分才稍微有一点点深度。


★结尾


  由于这篇涉及的内容比较杂,跨度也比较大。可能会有一些俺没覆盖到的地方。欢迎在博客留言中补充。
  如果你发现本文的错误之处,也欢迎批评指正 :)


俺博客上,和本文相关的帖子(需翻墙):
《扫盲 Linux:新手如何搞定 Linux 操作系统》
《扫盲 Linux:如何选择发行版》
《扫盲 netcat(网猫)的 N 种用法——从“网络诊断”到“系统入侵”》
《多台电脑如何【共享】翻墙通道——兼谈【端口转发】的几种方法》
《如何让【不支持】代理的网络软件,通过代理进行联网(不同平台的 N 种方法)》
《扫盲操作系统虚拟机》(系列)
《如何【系统性学习】——从“媒介形态”聊到“DIKW 模型”》 +
+ +
+ + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/11/weekly-share-139.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/11/weekly-share-139.html" new file mode 100644 index 0000000000000000000000000000000000000000..d7e3f19cca0e57f2cf725a54c42d486f38859083 --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/11/weekly-share-139.html" @@ -0,0 +1,26 @@ + + + + + + + +每周转载:香港“反送中”政治抗议活动大事记(10月至11月) - 编程随想的博客 + + +
+

每周转载:香港“反送中”政治抗议活动大事记(10月至11月)

+ +
+
+  由于上周恰逢【推倒柏林墙30周年】,为了抹黑“共产运动&苏联老大哥”,俺先发了原创博文《美苏冷战的缩影——柏林墙简史(多图)》。
  针对香港的《每周转载》延后到今天。



  本文汇总【10月初~11月初】的“反送中运动”大事记。
  9月初~10月初的汇总,请看:《每周转载:香港“反送中”政治抗议活动大事记(9月初至10月初)》
  8月初~9月初的汇总,请看:《每周转载:香港“反送中”政治抗议活动大事记(8月初至9月初)》
  7月初~8月初的汇总,请看:《每周转载:香港“反送中”政治抗议活动大事记(7月初至8月初)》

  为了防止某些人故意抬杠,再次贴出如下【声明】。
  事先声明:
  由于真理部的严厉审查和舆论导向,在【墙内】只能看到(有利于朝廷的)一面之辞。所以,本文的转载,会更侧重【另一面】之辞。


★10月16日:林郑月娥发表《施政报告》——其民调【史上最差】


  这是第5届香港行政长官“妖蛾子”所发表的第3份施政报告,主题为“珍惜香港 共建家园”。
  根据民调,这份《施政报告》的“平均得分”29.7,是1997年有记录以来最差的一次。
  “香港民意研究计划”的调查显示——
【65%】受访市民表示“不满意”《施政报告》(比2018年高31个百分点);
17% 受访市民认为“满意”;
8% 受访市民回答“一半一半”;
9% 认为“不知道或很难说”。

  “妖蛾子”在立法会大楼内宣读《施政报告》时,多名泛民主派议员抗议并喊口号,并用投影打出抗议标语。有13名民主派议员因为在会场抗议,被“立法会主席梁君彦”逐出会场。
  林郑月娥两次宣读《施政报告》,两次都不满一分钟就因为抗议而暂停。“立法会主席梁君彦”在第2次暂停后,正式宣布休会。这种情况为1997年以来【首次】发生。

不见图 请翻墙
(立法会现场,民主派议员在墙壁上投射出五大诉求 缺一不可的标语。照片来源:维基百科)

不见图 请翻墙
(胡志伟议员被赶出会场。周边座位上可以看到抗议的标语牌。照片来源:维基百科)


★10月16日:美国众议院通过《香港人权与民主法案》


  (香港时间10月16日)美国众议院以口头表决形式,【一致通过】了众议院版本的《香港人权与民主法案》;另外还通过《保护香港法案》,禁止向香港出口催泪气体和橡胶子弹等人群管制装备,避免被香港警方利用作残酷镇压抗争者。
  同时又以口头表决形式,一致通过决议:承认香港与美国之双边关系、谴责中华人民共和国干预香港事务和支持香港人示威权利。


★10月16日:(民运领袖)岑子杰遇袭事件


不见图 请翻墙
(岑子杰。照片来源:维基百科)

  岑子杰是“香港民间人权阵线”(简称“民阵”)的召集人,“香港彩虹”执行干事,“社会民主连线”成员。
  10月16日晚上7时40分左右,岑子杰前往民阵大会期间,在旺角雅兰里被4至5人以铁槌敲击头部。现场一名目击者表示,岑子杰事后横卧马路上的一辆私家车旁,后脑,头部及手部大量流血,送到广华医院治疗。
  这是“反送中抗议”以来,他第二次被袭击(前一次是8月29日)。

不见图 请翻墙
(岑子杰遇袭倒地。照片来源:中国时报)

  民阵对此次袭击事件发表6点声明(如下):
一、岑子杰於晚上7時許在旺角雅蘭里遇襲,4至5名兇徒以鐵槌襲擊岑子杰,附近有車房職員嘗試上前阻止,但被兇徒持刀恐嚇。兇徒行兇後逃去。
二、岑子杰倒臥地上,頭部流血,手腳關節亦受傷。岑子杰送院時清醒,現時急救中,需要留院治理。
三、民陣強烈譴責事件,要求警方徹查,將兇徒緝拿歸案。
四、岑子杰在救護車上有一句說話對香港人講:「五大訴求,缺一不可!」
五、民陣星期日大遊行必定繼續舉行。身處這樣一個血色恐怖時代,我們要保護同路人,就不能被政治恐怖戰勝良知。我們呼籲更多人走出來,向兇徒和政權表明我們不會就此退縮。
六、五大訴求,缺一不可,香港人,星期日尖沙咀見。


★10月20日:香港警方误伤清真寺


  当日,香港警方用水炮车两次向九龙清真寺喷射水柱。当时站在清真寺门口的几个人包括:印度协会前主席毛汉,几名香港融乐会(慈善机构)成员,几名市民,香港立法会议员谭文豪......
  被水炮车射中的毛汉(香港印度协会前任主席)表示:水炮车有意停下来射向清真寺正门,当时清真寺附近没有示威者,他本人也没有穿黑衣、没有戴口罩;不明白为何警方如此对待一个73岁的老人。
  他还表示:不接受香港警方的解释,不再信任香港警察。虽然林郑月娥曾致电给他道歉,但他自己不接受。

  另外,清真寺附近的基督教教堂“圣安德烈堂”也被波及。(注:这是九龙区历史最悠久的教堂)

(GIF 视频)水炮车向清真寺喷射蓝色水柱 @ 维基百科
从视频可见,当时现场【并没有】抗议者
(注:这个 GIF 动画比较大,超过 15MB,考虑到某些读者翻墙比较慢,俺就不贴到博文中了)

不见图 请翻墙
(清真寺正门的楼梯,布满蓝色水迹。照片来源:维基百科)

不见图 请翻墙
(清真寺大门口的路面变为蓝色。照片来源:自由时报)


★11月2日:九龙油尖旺区抗议活动


  这次抗议活动,正值“中共十九届四中全会”刚闭幕一天。
  当天的抗议活动,原定主题为“求援国际,坚守自治”。游行申请遭到警方反对,上诉亦被驳回。当天有超过100多名民主派“区议会选举候选人”在维多利亚公园草坪举行选民聚会(按香港法律,这类集会无须申请“不反对通知书”)。到场的市民站满大半个草坪。在场人士高叫“五大诉求、缺一不可”的口号。
  之后,抗议者与警方在多地爆发冲突。在当日的抗议活动中,警方拘捕超过200人。

不见图 请翻墙
(旺角示威现场。照片来源:香港01)

不见图 请翻墙
(抗议者在弥敦道准备燃烧瓶。照片来源:香港01)

不见图 请翻墙
(尖沙咀清真寺周边的防暴警察。照片来源:香港01)

不见图 请翻墙
(防暴警察在尖沙咀拘捕抗议者。照片来源:香港01)

不见图 请翻墙
(旺角街头的防暴警察。照片来源:香港01)

不见图 请翻墙
(警察向示威者开枪。照片来源:香港01)

不见图 请翻墙
(抗议者在旺角山东街焚烧杂物,以阻挡警察前进。照片来源:香港01)

不见图 请翻墙
(警方在旺角释放催泪弹,路人掩鼻匆匆而过。照片来源:香港01)

不见图 请翻墙
(戴防毒面罩的儿童。照片来源:香港01)

不见图 请翻墙
(路边小店的售货员也戴上防毒面罩。照片来源:香港01)


★11月3日:太古城袭击事件(民主派议员赵家贤被咬耳事件)


不见图 请翻墙
(赵家贤。照片来源:维基百科)

  赵家贤民主派议员,担任“民主动力”召集人、“公共专业联盟”的董事会成员、“香港民主党”成员。
  11月3日,香港抗议民众发起“东区集气人链日”,在太古城中心以“人链”的形式进行示威抗议。
  当晚7点半,某个国内口音的灰衣男子与示威人士发生口角,该名灰衣男子突然拿出水果刀袭击抗议民众,混乱中4人受伤,其中一人重伤(背部、腹部各中一刀,肺部被刺穿)。
  之后,灰衣男子也被周围的抗议民众围攻。赵家贤试图调停,突遭灰衣男抱住脖子,并被咬断左耳。赵随后被送往东区医院治疗。

不见图 请翻墙
(抗议者在太古城中庭集会。照片来源:维基百科)

不见图 请翻墙
(灰衣男子抱住赵家贤脖子,张口就咬。视频截图来源:RTHK/香港电台)

不见图 请翻墙
(旁边的人帮赵家贤止血。照片来源:香港01)

不见图 请翻墙
(赵家贤被咬掉的耳朵。照片来源:香港01)

不见图 请翻墙
(灰衣刀手被制服。照片来源:立场新闻)


★11月3日:将军澳警民冲突


  事情源自:网上流传某警员于“九龙东皇冠假日酒店”举办婚宴。于是某些抗议者自发到该酒店外聚集。当日,有多名防暴警员在酒店外驻守,并截查在场人士。不久之后,附近的尚德巴士总站和唐明街开始出现警民冲突。
  冲突持续到晚间及次日凌晨,并间接导致周梓乐堕楼身亡。

不见图 请翻墙
(防暴警员在香港九龙东皇冠假日酒店外的平台驻守。照片来源:维基百科)

不见图 请翻墙
(新民主同盟西贡区澳唐区议员吕文光被喷胡椒,其后被诊断为一级灼伤。照片来源:维基百科)

不见图 请翻墙
(防暴警察在尚德至广明苑范围发射催泪弹。照片来源:维基百科)

不见图 请翻墙
(警方在尚德邨外十字路口发射催泪弹。照片来源:维基百科)

不见图 请翻墙
(示威者利用雨伞防护。照片来源:维基百科)


★11月4日:周梓乐堕亡事件


  在“将军澳警民冲突”期间,22岁的香港科技大学二年级学生周梓乐(Alex Chow)在附近的“尚德停车场”坠楼,受重伤;经抢救无效于11月8日证实脑死亡。
  周梓乐当晚进入停车场,据说是为其他示威者担当“哨兵”。其死因有如下疑点:
  警方一开始宣称:周梓乐在4日凌晨0时45分至1时之间堕楼,警员在1时05分【首次】进入停车场地面层,并逐步向上层搜索,警员在1时11分发现伤者,当时已有消防员在场。但其它媒体根据附近民众的“行车记录仪”指出:3日晚上11时28分,已经有防暴警察在尚德停车场出入。
  堕楼位置的护栏高1.2米,且周梓乐生前为学校运动员。某些抗议民众怀疑:周梓乐是被警方推下楼。警方则认为:死者误以为翻越三楼护栏是二楼平台,所以才失足坠落。

不见图 请翻墙
(周梓乐堕亡事件,警方的说法,【前后不一致】。照片来源:立场新闻)

不见图 请翻墙
(尚德停车场三楼,周梓乐堕楼处。照片来源:维基百科)

不见图 请翻墙
(抢救周梓乐的伊利沙伯医院,市民设立“连侬墙”送祝福。照片来源:维基百科)

不见图 请翻墙
(香港民众悼念周梓乐。照片来源:联合早报)

不见图 请翻墙
(香港民众悼念周梓乐。照片来源:联合早报)

不见图 请翻墙
(香港民众悼念周梓乐。照片来源:联合早报)


★11月11日:“全港三罢”之“黎明行动”


  示威民众在当天发起【三罢】(罢工、罢课、罢市),其口号是:“全城瘫痪,强制罢工”。抗议者在全港多区堵塞主要道路,并破坏港铁设施。所造成的影响是8月5日的“三罢行动”以来最大的。
  当日示威活动持续长达17小时,每个区都有警民冲突,到处都是硝烟。
  受抗议活动影响,“恒生指数”当日最多跌821点,收盘时下跌724点,是8月5日的“三罢行动”以来最大单日跌幅。

不见图 请翻墙
(当日晚间,旺角弥敦道街头的抗议者。照片来源:香港01)

不见图 请翻墙
(抗议者拆除路口的摄像头。照片来源:香港01)

不见图 请翻墙
(抗议者推倒路灯柱作为路障。照片来源:香港01)

不见图 请翻墙
(旺角港铁站出口被纵火。照片来源:香港01)

不见图 请翻墙
(消防员在旺角港铁站出口灭火。照片来源:香港01)

不见图 请翻墙
(抗议者在砵典乍街中国银行门外纵火。照片来源:香港01)

不见图 请翻墙
(旺角的翠华餐厅被砸。照片来源:香港01)

不见图 请翻墙
(防暴警察在亚皆老街布防。照片来源:香港01)

不见图 请翻墙
(防暴警察在红磡天桥布防。照片来源:香港01)

不见图 请翻墙
(警民双方在旺角街头对峙。照片来源:香港01)

不见图 请翻墙
(旺角弥敦道的抗议者组成“雨伞阵”。照片来源:香港01)

不见图 请翻墙
(中环附近,硝烟弥漫。照片来源:香港01)

不见图 请翻墙
(抗议者使用“激光笔”对抗警方。照片来源:香港01)

不见图 请翻墙
(警方举起“黑旗”,警告准备发射催泪弹。照片来源:香港01)

不见图 请翻墙
(警方举起“黑旗”,警告准备发射催泪弹。照片来源:香港01)

不见图 请翻墙
(警方发射催泪弹。照片来源:香港01)

不见图 请翻墙
(警方动用水炮车,发射“催泪水剂”。照片来源:香港01)

不见图 请翻墙
(旺角抗议者收集的“催泪弹弹壳”。照片来源:香港01)


★11月11日:西湾河枪击事件(警察连开3枪,2人中弹,其一重伤)


  上述“黎明行动”期间,大批示威者于西湾河设路障堵路。交通警员关家荣赶来清理路障。期间有一名穿白色外套、戴口罩的男示威者从人群中走近警员,并向警员叫骂;该示威者曾举起双手显示未持有任何武器,但交警拔出手枪指向该白衣男的胸口,并用手拉这名示威者;之后两人发生扭打。此时,两名黑衣蒙面男子(周柏均 & 胡子健)靠近,正在与白衣男纠缠的警员将手枪指向周柏均,未事先警告就向其右腹位置开一枪;周随即中枪倒地;另一示威者胡子健走近,该交警再向其连开两枪,未击中要害,胡轻伤;之前与该名交通警员扭打的白衣男则趁乱逃离。

  中枪者伤情:
  经查明,受重伤的【周柏均】,21岁,香港专业教育学院柴湾分校。医院诊断:右边肾脏及右边肝脏撕裂、肝门静脉受损;经剖腹手术,需要切除右半边肝及右边肾。

  警方的解释,以及相关疑点
  警方的说法是——抗议者企图要“抢夺配枪”,所以警员才开枪。
  俺提醒大伙儿注意几点:
1. 根据【开枪前】的多帧现场照片,当周柏均距离警员(关家荣)还有一定距离,关家荣就已经举枪对准他。
2. 周柏均【并未】携带武器,也没有表现出“攻击性 or 威胁性”。
3. 关家荣连开3枪(击倒周之后,又开2枪击倒胡)。不得不怀疑,该警员当时情绪失控。
4. 警方【篡改】了视频(相关介绍如下)。如果警方问心无愧,干嘛篡改?

  警方篡改视频:
  警方公布的视频,出自【丘品新闻】在现场录像。
  警方公布视频之前,【并未】取得授权,并且还【篡改】了视频内容。
  以下是【丘品新闻】在其 Facebook 专页发布的声明(引文中的粗体是俺标注滴)
就昨天(11日)早上七時許,本台採訪記者於直播期間攝了交通警員發射三槍實彈事件成為獨家片段事宜,不少讀者就此提出多個疑問,對此,本台有以下三個要點需要嚴正公開澄清,給予各讀者一個明確的交代。

一、本台並沒有私下授權警方於記者會上公開有關影片片段。本台無疑與大眾同時間才得悉警方於昨天四點鐘記者會公開播映,作為向市民解釋事發經過的資料片段。而警方亦沒有接觸本台相關記者進行錄口供的程序。

二、本台對於警方公開之刪減影片,影響事實的準確性,未能讓市民真正了解昨早在西灣河所發生的事件始未,對此表示深感遺憾,望警方能夠給予公眾一個得悉事實全部的知情權,公開真相的透明度。

三、本台發放之影片只有一個版本。本台發現昨日於網上流傳一段並非本台記者聲音導航的相關影片,當中之不實內容與本台實屬無關,望相關人士切勿干預新聞報道的真確性。本台對此保留一切法律追究的權利。

本台一直秉持第四權功能,監察社會及報導一切的事實,以給予香港市民真相為依歸。一直以來,感謝各位讀者對本台的高度信任與支持。本台各前線記者、攝影師及編輯藉此公開對各位支持者表示最深切的感激。全賴有你們的支持,才能成就今天初出茅廬的丘品新聞。

對於事隔多個小時才發布聲明,望各位體諒。鑒於昨天各區的公眾活動,本台動員大部分員工為讀者作即時報導,因此未能及時處理有關讀者們的疑惑,本台就此再次向各位致歉。盼望往後日子,各位讀者繼續支持丘品新聞(丘品創作),本台承諾繼續捍衛新聞自由,報道事實的真相。

最後,本台衷心感激各前線記者在這段艱難日子上共渡時艱,不畏懼及堅持追求真相的精神。香港人精神是打不死的,加油努力!

丘品創作暨丘品新聞

二零一九年十一月十二日

  后续:
  开枪的警员关家荣有两个女儿在“德望学校”就读,其本人为该校“家教会主席”。开枪事件发生后,该学校学生、校友、教职员及家长发起网络联署,要求校方立即解除其家长会主席职务。校方在11月11日晚上发出发出声明:涉事警员关家荣已辞退家教会主席一职。

不见图 请翻墙
(西湾河的抗议民众。照片来源:香港01)

不见图 请翻墙
(西湾河的抗议民众。照片来源:香港01)

不见图 请翻墙
(警察与白衣男对骂,警察拔枪指向白衣男。照片来源:丘品新闻)

不见图 请翻墙
(警察与白衣男扭打。照片来源:丘品新闻)

不见图 请翻墙
(另一个黑衣男靠近。照片来源:丘品新闻)

不见图 请翻墙
(另一个黑衣男靠近。照片来源:丘品新闻)

不见图 请翻墙
(开枪瞬间。照片来源:丘品新闻)

不见图 请翻墙
(其中一个中枪者。照片来源:丘品新闻)

不见图 请翻墙
(现场的救护人员。照片来源:香港01)

不见图 请翻墙
(东区医院的医护人员抗议警方实弹射击。照片来源:香港01)

不见图 请翻墙
(东区医院的医护人员抗议警方实弹射击。照片来源:香港01)

不见图 请翻墙
(其中一名中枪者的母校“慈幼英文学校”发表公开声明。照片来源:香港01)


★11月11日:马鞍山公园烧人事件


  在上述“黎明行动”期间,鞍山广场连接马鞍山公园的行人天桥,一名身穿绿色上衣的男子与示威者发生争吵;争执期间,某示威者向绿衣男淋泼易燃液体并点火。绿衣男周身起火,他向后跑并脱掉上衣。火势熄灭后,该男子坐在地上等待救援。
  经医院诊断,该名男子四成皮肤二级烧伤,包括手、脚、面及胸口,完成手术后住院。
  有视频显示——当抗议者破坏附近的港铁站时,该绿衣男子曾与抗议者在站台内追逐并互殴。

不见图 请翻墙
(相关视频截图。照片来源:德国之声)

  此事被国内媒体(尤其是天朝官媒)高调宣传;相比之下,对其它事件的报道就低调很多,甚至避而不谈。

  编程随想注:
  行凶者目前还没抓到。如果确实来自某个激进的抗议者。那俺不得不说——此人是这场政治抗议运动中的【猪队友】。
  这种行为无疑给香港政府和中共政权提供了充足的【舆论弹药】。
  另外,俺还想引用尼采的一句名言(俺博客副标题的动态格言中,有这句):
与恶魔战斗的勇士, 要小心自己也变成恶魔!
当你长久地凝视深渊, 深渊也在凝视着你!

★11月11~15日:香港中文大学【攻防战】


  香港中文大学的【攻防战】,开始于上述提到的“黎明行动”。
  为配合“全港三罢”。中文大学的抗议者在11日早上6时左右发起“二号桥行动”,从中大校内的【二号桥】向下方投掷物品,导致新界交通阻塞。因为该桥下方是连接新界各地的交通要道“吐露港公路”,以及连接新界和九龙的“港铁东铁线”。

不见图 请翻墙
(香港市区交通示意图。地图来源:BBC/英国广播公司)

◇【二号桥】保卫战


不见图 请翻墙
(香港中文大学地图。地图来源:端传媒)

  上午7时35分左右,二号桥开始出现警民对峙。之后,警方与学生分别二号桥附近驻守,双方连续对峙多日(11~15日)。
  现任中大校长段崇智到二号桥居间调停。另外,前任校长沈祖尧也赶来调停。

不见图 请翻墙
(12日下午,双方在“二号桥”爆发冲突。照片来源:端传媒)

不见图 请翻墙
(12日下午,双方在“二号桥”爆发冲突。照片来源:端传媒)

不见图 请翻墙
(12日晚,警方在“二号桥”列盾牌阵。照片来源:端传媒)

不见图 请翻墙
(12日晚间,警方向“二号桥”射击。照片来源:联合新闻网)

不见图 请翻墙
(12日晚间,“二号桥”保卫战,抗议者的旗帜在硝烟中飘扬。。照片来源:联合新闻网)

不见图 请翻墙
(12日晚间,“二号桥”保卫战,抗议者借助路障和雨伞,躲避催泪弹。照片来源:联合新闻网)

不见图 请翻墙
(12日晚间,警方动用“水炮车”,发射催泪水柱。照片来源:联合新闻网)

不见图 请翻墙
(13日白天,驻守“二号桥”的示威者。照片来源:联合新闻网)

不见图 请翻墙
(13日夜间,坚守在“二号桥”的示威者。照片来源:维基百科)

不见图 请翻墙
(14日清晨,坚守在“二号桥”的大学生。照片来源:端传媒)

不见图 请翻墙
(校长段崇智在现场调停。照片来源:BBC/英国广播公司)

不见图 请翻墙
(校长段崇智与警方谈判后,在抗议现场接受记者采访。照片来源:端传媒)

◇校园内的冲突


不见图 请翻墙
(蒙面抗议者在校园内设置路障并纵火,以阻挡警方进入。照片来源:BBC/英国广播公司)

不见图 请翻墙
(警方向港中大某操场上的抗议者发射催泪弹。照片来源:BBC/英国广播公司)

不见图 请翻墙
(港中大的抗议者举起光复香港 时代革命的旗帜。照片来源:BBC/英国广播公司)

不见图 请翻墙
(11月15日,香港中文大学的抗议者。照片来源:纽约时报)

◇市民发起“围魏救赵”行动


  为分散警力,避免警方人员继续派驻中文大学。网民号召沙田区和大埔区发起“围魏救赵行动”。当日下午到晚间,全港各区都爆发警民冲突,香港多区都施放催泪弹,至少包括以下区域:
新界——屯门、东涌、元朗、天水围、上水、大埔、荃湾、大围、沙田、马鞍山、将军澳
九龙——太子、旺角、蓝田、土瓜湾、深水埗
港岛——中环、香港仔、西湾河

  沙田有单独行动的警员被示威者包围,警员逃离现场,警车被纵火(这是本次运动以来,首次出现“烧警车”的现象)。

不见图 请翻墙
(示威者包围警车。照片来源:香港01)

不见图 请翻墙
(示威者包围警车。照片来源:香港01)

不见图 请翻墙
(燃烧中的警车。照片来源:苹果日报)

不见图 请翻墙
(烧毁后的警车。照片来源:苹果日报)


★11月12日:“全港三罢”之“破晓行动”


  这是前一天“黎明行动”的继续。与前一天类似,香港各区爆发警民冲突,持续长达17小时。

不见图 请翻墙
(示威者火烧“中国银行旺角分行”。照片来源:香港01)

不见图 请翻墙
(消防队在“中国银行旺角分行”灭火。照片来源:香港01)

不见图 请翻墙
(抗议者砸烂“交通银行”。照片来源:香港01)

不见图 请翻墙
(抗议者进入“又一城商场”,砸烂橱窗。照片来源:香港01)

不见图 请翻墙
(“又一城商场”的大型圣诞树被抗议者点燃。照片来源:香港01)

不见图 请翻墙
(“又一城商场”的大型圣诞树被抗议者点燃。照片来源:香港01)

不见图 请翻墙
(消防队在“又一城商场”灭火。照片来源:香港01)

不见图 请翻墙
(抗议者在“香港城市大学/城大”附近的天桥打出标语牌:你若放弃 谁佑我城。照片来源:香港01)

不见图 请翻墙
(“城大”的抗议者阻塞九龙塘的交通干道。照片来源:香港01)

不见图 请翻墙
(“城大”的抗议者阻塞九龙塘的交通干道。照片来源:香港01)

不见图 请翻墙
(内地生撤离“城大”。照片来源:香港01)

不见图 请翻墙
(“香港大学”的抗议者。照片来源:香港01)

不见图 请翻墙
(抗议者在“香港大学”校内设置路障。照片来源:香港01)

不见图 请翻墙
(抗议者在“香港大学”校内设置路障。照片来源:香港01)

不见图 请翻墙
(抗议者在“香港大学”校内设置路障。照片来源:香港01)

不见图 请翻墙
(抗议者在“浸会大学”附近点燃路障。照片来源:香港01)

不见图 请翻墙
(防暴警察在铜锣湾举起“橙旗 & 蓝旗”。照片来源:香港01)

不见图 请翻墙
(防暴警察在中环举起“蓝旗”。照片来源:香港01)

不见图 请翻墙
(防暴警察在中环施放催泪弹。照片来源:香港01)

不见图 请翻墙
(防暴警察在中环施放催泪弹。照片来源:香港01)

不见图 请翻墙
(抗议者在中环附近摆“雨伞阵”。照片来源:香港01)

不见图 请翻墙
(防暴警察在中环附近拘捕多人。照片来源:香港01)


★11月13日:“全港三罢”之“晨曦行动”


  这是前一天“破晓行动”的继续。13日当天,警方共拘捕224人,包括152男、72女,年龄在14~69岁之间。警方共发射578发催泪弹、471发橡胶弹、71发布袋弹、22发海绵弹。

不见图 请翻墙
(示威者在元朗堵路。照片来源:香港01)

不见图 请翻墙
(抗议者用砖头阻塞“大埔太和路”。照片来源:香港01)

不见图 请翻墙
(抗议者在“大埔太和路”与警方对峙。照片来源:香港01)

不见图 请翻墙
(抗议者在“大埔太和路”与警方对峙。照片来源:香港01)

不见图 请翻墙
(防暴警察在“大埔超级城”周边盘查路人。照片来源:香港01)

不见图 请翻墙
(防暴警察拘捕一名示威者。照片来源:香港01)

不见图 请翻墙
(警方举“黑旗”,警告发射催泪弹。照片来源:香港01)

不见图 请翻墙
(示威者用雨伞对抗催泪弹。照片来源:香港01)

不见图 请翻墙
(示威者用雨伞对抗催泪弹。照片来源:香港01)

不见图 请翻墙
(抗议者收集的“橡胶子弹及催泪弹弹壳”。照片来源:香港01)

不见图 请翻墙
(地铁列车夜间停靠在上水站,遭纵火。照片来源:香港01)

不见图 请翻墙
(地铁列车夜间停靠在上水站,遭纵火。照片来源:香港01)


★11月13日:上水清洁工遇袭死亡事件


  在上述“晨曦行动”期间,在上水北区大会堂附近的龙运街,某些清理路障的市民与蒙面抗议者发生争执,双方相互投掷砖块。
  一名70岁清洁工“罗长清”路经冲突现场,在未与人争执的情况下,被砖头击中头部,14日经抢救无效死亡。
  警方把此事列为“谋杀案”处理。

不见图 请翻墙
(被砖头击中倒地的清洁工。照片来源:东网)

不见图 请翻墙
(被砖头击中【前】。视频截图来源:苹果日报)

不见图 请翻墙
(被砖头击中【后】。视频截图来源:苹果日报)


★11月13~21日:香港理工大学【攻防战】


  “香港理工大学”在11日宣布紧急停课。13~15日,支持抗议活动的学生(包括本校及外校)和市民开始占据校园,并设置路障。
  警方在17日开始包围校园,并出动装甲车,水炮车。在理大冲突期间,警方还首次使用【声波炮】。
  理大冲突期间,(臭名昭著的)《坏球时报》总编辑胡锡进发微博——建议香港警察直接发射实弹,击毙暴徒也不用负法律责任。

◇15~16日


不见图 请翻墙
(15日,“香港理工大学”的抗议者在制造燃烧弹。照片来源:纽约时报)

不见图 请翻墙
(15日,“香港理工大学”的抗议者在游泳池边练习使用武器。照片来源:纽约时报)

不见图 请翻墙
(15日,“香港理工大学”的抗议者在练习使用弓箭。照片来源:纽约时报)

不见图 请翻墙
(15日,市民捐赠给大学生的日用品。照片来源:纽约时报)

不见图 请翻墙
(15日,义工在校内的自助餐厅准备食物。照片来源:纽约时报)

不见图 请翻墙
(15日,香港理工大学的抗议者设置路障。照片来源:纽约时报)

不见图 请翻墙
(15日,抗议者在构筑“街垒”。照片来源:纽约时报)

◇17日


不见图 请翻墙
(17日下午,抗议者在“香港理工大学”附近的畅运道戒备。照片来源:维基百科)

不见图 请翻墙
(17日傍晚,警方向畅运道天桥发射催泪弹。照片来源:维基百科)

不见图 请翻墙
(17日晚间,红隧出入口的天桥被示威者纵火。照片来源:维基百科)

不见图 请翻墙
(17日晚间,畅运道天桥附近,警方出动两辆装甲车。照片来源:维基百科)

不见图 请翻墙
(17日晚间,“香港理工大学”的抗议者与防暴警察对峙。照片来源:纽约时报)

◇18日


不见图 请翻墙
(18日,“民间人权阵线/民阵”通过 Facebook 发布“紧急呼吁”)

不见图 请翻墙
(18日傍晚,理工大冲突现场的鸟瞰图。照片来源:维基百科)

不见图 请翻墙
(18日,还有约100名抗议者在校内坚守。照片来源:纽约时报)

不见图 请翻墙
(18日,在“香港理工大学”附近的教师&学生家长。照片来源:纽约时报)

不见图 请翻墙
(18日,“香港理工大学”的学生家长举行记者招待会。照片来源:纽约时报)

◇19日


不见图 请翻墙
(19日,警方逮捕撤离“香港理工大学”的抗议学生。照片来源:纽约时报)

不见图 请翻墙
(19日,据估计,还剩下几十名抗议者在校内坚守。照片来源:纽约时报)


★11月18日:香港高等法院裁定——《禁蒙面法》违宪


不见图 请翻墙
(香港高等法院。照片来源:德国之声)

《香港法院裁定禁蒙面法违宪,警方即时暂停执法,而政府暂不回应 @ 路透社》
路透香港11月18日
香港法院周一裁定《禁止蒙面规例》(禁蒙面法)部分条文违宪后,警方随即宣布即时暂停执行相关法例;而政务司司长张建宗表示,政府将详细研究判词内容,暂不作回应。

香港特首林郑月娥10月初引用《紧急情况规例条例》(紧急法)订立并实施禁蒙面法,以遏止社会上激进的违法行为及帮助警方执法。其后民主派立法会议员等入禀高等法院申请司法覆核,要求法庭颁令裁定紧急法及禁蒙面法无效及违宪。

高等法院今天颁布判词指,禁蒙面法部分条文,对基本权利所施加的限制超乎所有达致目的的合理所需,不符合相称性。
警方有组织罪案及三合会调查科高级警司李桂华在记者会上表示,作为执法部门,警方现在开始暂停执行禁蒙面法,并等待法庭有进一步发展再作处理。
张建宗会见传媒时表示,政府要研究判词以决定下一步部署,暂时不会作任何仓促的评论或回应。

......

《禁蒙面法违宪,香港高院扇了港府一记耳光 @ RFI/法广》
如果说香港还没有完全失去一国两制的话,大约有两点可以举证,一个是香港满街的反抗者,他们因为害怕失去一国两制而反抗,这场反抗目前正由学生们扛起了大梁,但也处在了最危险的时候;另外一个大约就是香港的高等法院,周一正式裁定『禁蒙面法』违宪,这是以香港的司法独立,法律专业来挑战北京的威权。

在不少观察者看来,香港的局势发烧到今天这种地步,除了修例引爆,就是修例夭折之后,『禁蒙面法』可以视为是一部火上浇油的恶法。它不但没有起到法律的正当作用,起到了让香港全社会大爆炸到不可收拾的地步。『禁蒙面法』是在对应示威者五大诉求之一“独立调查警察滥权行为”情况下政府强行推出的一部法律,这部源自于英殖民地时期的法律,不单单起着禁止示威者蒙面的作用,它还可以延伸到更多的禁止领域,对香港的半自由状态构成严重威胁,此法一出,引发社会爆炸,第二天就爆发了反抗此法的大游行。

香港高院经过两天审讯后,周一裁决『紧急法』在危害公共安全的情况下使用,违反了基本法,而『禁蒙面法』对基本权利的限制超乎合理需要,属于违宪。

......

《香港法院裁定:禁蒙面法違憲 @ 聯合新聞網》

《北京警告:可能干预香港司法裁决 @ 纽约时报》


★11月19~20日:美国参议院&众议院通过《香港人权与民主法案》


  美国参议院针对《香港人权与民主法案》启动了热线程序(hotline),通常在议员们希望【加速推动】某个法案时,才使用这个“热线程序”,以便跳过“排期审议的繁琐流程”。如果没有任何参议员提出异议,法案就会马上通过;而只要有一位参议员提出反对,热线程序就会中止,之后就要通过“正常排期表决”才能通过。
  参议院的投票结果是【一致通过】
  参议院通过的法案文本,与众议院一个月前(10月中旬)通过的法案文本,有一些小差异。根据美国宪法,国会两院通过的法案文本必须要【完全一致】才能生效。
  为了在感恩节假期休会前完成国会的立法程序,众议院以【罕见的速度】在次日(20日)重新对参议院的法案文本再次进行投票,以“417票赞成、1票反对”的大比例通过法案。
  这样的投票结果,应该在很多人的意料之中。俺在前一期的《每周转载:香港“反送中”政治抗议活动大事记(9月初至10月初)》中曾经写过如下点评:
以目前美国政坛的【反中】(反中共)立场,通过该法案是【没有】悬念滴。悬念只在于——是否会【全票通过】。
顺便说一下:
最近两三年,涉及台湾的几个法案,在美国参众两院经常以【全票】通过。相比5年前,美国政坛的对华立场已经完全不同了。相关的介绍参见如下博文:
《澄清“中美对抗”常见的一些【误解】》

  美国众议院投票通过之后,举行仪式,由众议院议长佩洛西在跨党派议员见证下签署《香港人权与民主法案》,象征该法案完成国会的立法程序,之后将交由总统特朗普签署。
不见图 请翻墙
(美国众议院议长佩洛西签署《香港人权与民主法案》。照片来源:东网)

  美国国会通过上述法案之后,“天朝外交部发炎人、天朝国务院港澳办发炎人、香港中联办发炎人...”纷纷发表“强烈抗议”。
  据说次日(20日)的《新闻联播》,用了将近一半的时间,报了12条新闻(12连发),大力抨击“美帝国主义”。看来真理部对此事很恼火 :)

不见图 请翻墙
(CCAV 主持人义正辞严,腮帮子都鼓起来了。照片来源:CCAV 官网)


俺博客上,和本文相关的帖子(需翻墙):
《每周转载:朝廷推香港版<国安法>,【一国一制】降临(外媒报道8篇)》
《变相的“全民公投”,垂死的“一国两制”——2019香港区议会选举随想》
《每周转载:香港“反送中”政治抗议活动大事记(9月初至10月初)》
《每周转载:香港“反送中”政治抗议活动大事记(8月初至9月初)》
《每周转载:香港“反送中”政治抗议活动大事记(7月初至8月初)》
《每周转载:香港“反送中”抗议活动的外媒报道(6月9日至6月15日)》
《每周转载:香港“反送中”抗议活动的外媒报道和网友评论(6月16日至6月22日)》
《每周转载:香港“占中民主运动”的外媒报道和【大量】照片(9月22日至9月28日)》
《每周转载:香港“占中民主运动”的外媒报道和【大量】照片(9月29日至10月2日)》
《每周转载:香港“雨伞革命”的外媒报道和【大量】照片(11月19日至12月2日)》
《每周转载:关于香港和澳门的特首选举(外媒报道和网友评论)》
《每周转载:关于“一国两制白皮书”和“国台办言论”(大量网友评论和图片)》
《每周转载:关于香港抗议洗脑教育(网文3篇,图片多张)》
《每周转载:关于朝廷对爱国主义的忽悠(网文5篇)》
《政治常识扫盲:理清“国家、政体、公民、政府、政党”等概》
《“盛大庆典”难掩【内忧外患】——天朝沦陷70周年随想》
《点评中国社会九大阶层——没有公平、难以流动、无法稳定》
《关于抹黑 Google——谈谈党国对舆论的操纵手法》
《台湾民主运动与独立运动简史》
《回顾“六四”》(系列)
《谈革命》(系列) +
+ +
+ + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/12/Time-and-Life.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/12/Time-and-Life.html" new file mode 100644 index 0000000000000000000000000000000000000000..4b4b7332040b0b36d8f4da57dd39f426896f95e6 --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/12/Time-and-Life.html" @@ -0,0 +1,26 @@ + + + + + + + +时间与人生——跨入本世纪20年代的随想 - 编程随想的博客 + + +
+

时间与人生——跨入本世纪20年代的随想

+ +
+
+  再过几天,就到2020年了。曾几何时,大伙儿还在迎接千禧年;如今一转眼,21世纪都已经过了五分之一。
  有感于此,今天这篇博文就来聊聊【时间与人生】这个话题。


★噪声 VS 信号


  最近几年,俺在博文中多次提及【信噪比】。之前的讨论都是以“媒介形态”作为切入点;今天换个角度,以【时间】作为切入点。
  股神巴菲特曾经说过(大意是):他自己【从不】关心股票每天的“实时行情”。
  为啥捏?稍微了解巴菲特的同学应该都知道——他的投资理念来自于本杰明·格雷厄姆创立的【价值投资理论】。对他而言,“实时行情”的波动,包含了大量随机性的市场因素(技术行话叫“背景噪声”)。由于“背景噪声”的【干扰】,(对他而言)“实时行情”缺乏参考价值。
  但如果你上升到更大的时间颗粒度,比如说考察某个股票走势的“周线、月线、甚至年线”,那么趋势就会显现出来。因为在更大的时间尺度,背景噪声滤掉了;因此,信噪比提升了,也就更容易看清趋势。

  那么,这个例子与“人生”有啥关系捏?
  每个人的一生,都会经历许许多多事情。其中有很多事情,当时你觉得很重要;但等到10年20年之后,再次回顾此事,你可能会发觉——此事对你的人生根本无足轻重(只不过是【噪声】)。
  前几年有个新闻——某年轻人为了买 iPhone 手机而不惜“卖肾”;类似的新闻还包括——为了买高档化妆品而不惜“卖卵”......
  等过了10年20年之后,再来回顾上述事情,当事人会怎么想?

  当然,还会有【相反】例子——有些事情,刚开始你觉得不是那么重要。但在10年20年之后,你发现当时不起眼的事情极大地改变了你的人生。
  对俺而言,最典型的例子就是2009年开博。当时并没有什么感觉;写博几年后开始意识到——这个博客对俺很重要(最起码,维护这个博客的过程极大提升了个人综合能力)


★短寿命 VS 长寿命


  “信号、噪声”的差异在于——前者的影响更持久,后者的影响更短暂。于是就引出了“寿命/生命周期”这个话题。

◇“生命周期”的分布,高度【不】平均


  在刚开博的头一年(2009),俺曾经写过一个系列叫做《无处不在的二八原理》。“二八原理”为啥无处不在捏?因为大部分领域都是【不平均】分布滴。“生命周期的分布”也是如此。
  比如说,让你回忆上个月看过的新闻,你能想起几条?你能回忆起来的数量,相比你上个月看过的所有新闻的总数,只是一个很小比例。而这还仅仅是“一个月前”;如果跨度是“一年前”,这个比例无疑会更低。
  再比如说,每年都会有大量的书籍出版。过了十年之后,这些书籍中的 99% 都会被人淡忘(99% 都还是保守的说法,实际比例应该更高)。

◇基于时间的检验


  刚才说到书籍。有些读者寄希望于“畅销书排行版”——他们想靠这个玩意儿,来找出那些【持久性】的著作。但这个方法也【不一定】靠谱。不信的话,你可以去翻看10到20年之前的“畅销书排行版”。里面的很多作品,如今已经完全被遗忘了。
  “畅销书排行版”是经过严格筛选的一个很小的范围。如果连它都无法保证长寿命,那其它方法恐怕就更难保证了。所以,俺认为真正靠谱的就是——留给时间来检验。

◇俺的经验


  书籍
  比如俺分享的电子书,对于【思想性、理论性】的著作,俺通常倾向于分享该领域权威学者的代表作。某个学者能成为某领域公认的权威,(对其本人而言)已经具备了时间的检验;而如果此书又是此人的代表作,相当于具备了【双重的】时间检验。靠谱程度当然就高得多。

  视频(电影 & 电视剧 & 短视频)
  博客的老读者都晓得,俺很少看视频。
  在本人看过的为数不多的影片中,大都是上映 N 年之后才去看的。如果某个片子在上映了5到10年之后,依然有很好的口碑,俺才会考虑(注:这是俺看此片的“必要条件”,但不是“充分条件”)
  这个习惯帮俺规避了很多的烂片,因此也节省了很多的时间。

  IT 技术(软件、编程语言、库、协议......)
  很多年轻的技术人员,很喜欢追逐最新出现的技术。老实说,俺年轻的时候,也是如此。
  在 IT 领域混了这么多年,俺学过很多【昙花一现】的技术(学过之后不久,这个技术就消亡了)。后来,俺慢慢懂得了【等待 & 观望】。
  顺便说一下:对新技术的“等待 & 观望”,有一定的技巧。由于这个话题局限于 IT 领域,另外找时间聊。


★低价值 VS 高价值


◇DIKW 模型


  很多人会有一个【误解】——以为“长寿命”的事物也代表了“高价值”。其实不然!
  比如说,某个爆炸性的娱乐新闻,可能会在人们的脑海中留存很多年,但这【并不】代表该新闻具有足够高的价值(娱乐新闻并【不】提升你的个人能力)
  因此,你还需要懂得——如何从长寿命的事物中筛选出【高价值】的事物。
  具体如何做捏?这就要涉及到前不久俺聊到的【DIKW 模型】

不见图 请翻墙
(DIKW 模型)

  通俗地说——I 没啥价值(或者说“价值极低”);K 有一定的价值;而 W 才属于高价值。
  比如说“某某明星出轨了”这个就属于 I 层面——仅仅是一个信息,而【不】算知识。这个信息能提升你的能力吗?不能!能完善你的知识结构吗?不能!

◇如何区分 DIKW?


  上述只是拿“娱乐新闻”举例。
  如何更详细地区分 DIKW 这几个层面捏?前不久(2019年10月)的博文《如何【系统性学习】——从“媒介形态”聊到“DIKW 模型”》才刚刚说过,这里就不重复唠叨啦。
  还没看过那篇的同学,建议先去看一看(本文后续的几个话题,与那篇存在相关性)


★娱乐至死 VS 独善其身


◇心理舒适区


  上一个章节提到“娱乐新闻”,再顺便谈谈“娱乐至死”。
  如今这个互联网时代,有时候也被称作【娱乐至死的时代】。大部分人把大部分的业余时间都浪费在消遣性的内容。这可不是俺耸人听闻——你稍微留意身边的亲戚、朋友、同事。大部分人的大部分上网时间都是用于【消遣】(除了“娱乐新闻”,那些“搞笑视频、购物、闲聊...”也都属于消遣)。
  这种现象可以很容易地用心理学加以解释——其关键在于【心理舒适区】(洋文称之为“comfort zone”)。当你进行任何消遣性的活动,你就处于【心理舒适区】。顾名思义,在这个状态下,你会觉得比较放松、舒服、惬意。
  互联网的普及,尤其是 SNS(社交网络)的普及,使得每个网民更容易获得各种娱乐性/消遣性的内容——也就更容易陷入相关的【心理舒适区】。
  另外,SNS 背后的【商业公司】也在推波助澜。因为每一个 SNS 平台都希望能最大化【用户粘性】。通俗地说,每个 SNS 平台都希望其用户终日泡在上面。所以,每个 SNS 平台都会采用各种手段(尤其是心理学手段)来留住用户,增加你对该平台的【依赖】。

◇自控力(意志力)


  要想跳出(脱离)“心理舒适区”,你需要动用【自控力】(也称“意志力”)。“自控力”这个玩意儿就像是肌肉——能够通过锻炼进行强化,也会因为长久不用而弱化。而且这个玩意儿还是【稀缺资源】,很容易被其它因素消耗掉;并且一旦耗尽,【无法】立即恢复(需要一定的时间才慢慢恢复)。
  (注:关于“自控力”,现代心理学已经有足够多的研究,并通过实验数据支持上述说法,具体参见下一段的“引申阅读”)
  由于上述这两者的特点,如果某人总是处于“心理舒适区”,其“自控力”总是得不到锻炼,就会更加弱化;而自控力弱化之后,就更容易停留在心理舒适区。久而久之,形成一个负面的正反馈(俗称“恶性循环”)。

  引申阅读:
  关于“心理舒适区 & 自控力”的更详细讨论,可以参见如下这篇博文:
《为什么独立思考这么难?——谈谈心理学的成因,并分享俺的经验》

◇“消遣性内容”的【毒性】


  很多人【低估】了“消遣性内容”的【危害性/危险性】。他们误以为——这些东西仅仅是浪费时间。
  实际上,比“浪费时间”更危险的是【成瘾性】。只要你理解了前一个小节所说【恶性循环】,也就能理解这个玩意儿的【成瘾性】。
  如果根据事物的【损益程度】进行归类,所有事物大致可以分类为:
1. 对你有益的
2. 对你无益也无害的
3. 对你有害的
  而“消遣性内容”很明显属于【有害】的这类,也就是本小节标题所说的“毒性”

◇换个角度思考


  “娱乐至死的时代”当然让人感到悲哀。但如果你换一个角度看问题,或许就【没】这么悲哀了——
当大部分人都沉迷于心理舒适区,只要你能跳出来,(在很多方面)你都更容易脱颖而出。换句话说,你就获得了巨大的【个人竞争优势】。


★多 VS 少


◇软件开发的例子


  既然俺的网名叫“编程随想”,再以“软件开发”来举例。
  (注:本章节【不】涉及深奥的技术,不懂 IT 的读者也能看懂)

  很多程序员(尤其是入行不久的新手)容易陷入一个【误区】——以为懂的编程语言越多,能力就越强。
  为啥说这是个【误区】捏?因为他们只看到了“编程语言”,而忽视了【编程范式】(洋文叫做“programming paradigm”)。
  (注:对于不懂软件开发的读者,稍微解释一下——【编程范式】相当于是指导编程的“思想、方法论、套路...”)
  “编程语言”有成百上千种,而“编程范式”只有大约十多种。再次回顾前面章节提及的【DIKW 模型】,“编程范式”才是真正意义上的 W(智慧)。
  最近这几年,经常有读者在博客评论区询问俺关于“编程语言 & 如何编程”的话题。俺多次引用了 IT 大牛 Alan Perlis(【第一个】图灵奖得主)的名言——不能影响你编程观点的语言,不值得你去学!

  如何理解他这句话捏?
  假设某个程序员已经掌握了“A语言”,然后又想去学习“B语言”。但如果“B语言”用到的【编程范式】“A语言”都已经有了,那就不值得再学“B语言”(注:因为工作需要而去学,另当别论)。
  他这句话还可以【反过来理解】——那些能够极大影响你编程观点的语言,非常值得你去学。
  这也就是为什么——IT 大牛保罗·格雷汉姆在其代表作《黑客与画家》一书中大力推荐 Lisp 的缘故。Lisp 语言(Lisp 家族)涵盖了【最多】的“编程范式”;甚至可以这么说——【所有的】“编程范式”都可以在 Lisp 家族中找到。

◇【舍本逐末】的现象


  有个成语叫做【舍本逐末】。那些只注重“编程语言”而忽视了“编程范式”的程序猿/程序媛,就是典型的【舍本逐末】。
  【舍本逐末】的现象,当然【不】仅仅出现在编程领域。几乎每一个领域,都有人在不断地犯类似错误。
  在每一个领域,都存在“本/末”的差异——
所谓的“本”就是指那些“比较基础、比较本质、比较核心”的东东;所谓的“末”就是那些“比较表象、比较边缘”的东东;
“末”很多,而“本”很少;
掌握“末”比较容易,而掌握“本”比较难;
(对某个领域而言)虽然“本”很少,但你对每一个“本”的掌握,都有助于你在该领域达到一个更高的 level;相比之下,如果你只掌握了很多“末”,而没有掌握“本”,你在该领域的水平很难有【实质性】提升。
  俺的网盘上曾经分享过一本心理学的经典著作叫做《The Paradox of Choice——Why More Is Less》。顺便借用一下该书的标题,来点评上述两种不同的做法——
对那些【舍本逐末】的人,体现出【多即是少】;
对那些【舍末逐本】的人,体现出【少即是多】。


★快 VS 慢


◇“舍本逐末”的原因


  为啥很多人会犯【舍本逐末】的错误捏?原因有很多,至少包括如下:
  原因1
  对该领域缺乏【系统性】了解,自然无法判断哪些是“本”,哪些是“末”。
  原因2
  (如前一个章节所说)掌握“末”比较容易,比较快;而掌握“本”比较难,比较慢。很多人为了“求快”,于是就会【舍本逐末】

  关于“原因1”,俺已经专门写过一篇《如何【系统性学习】》。所以下面只谈“原因2”。

◇欲速则不达


  所谓的“求快”,说得更直白一些就是【急功近利】。不得不说,如今的很多年轻人都有这个毛病。
  当然啦,会有很多年青的读者抱怨说:如今的生存压力这么大,不得不追求功利。比较搞笑的是,这里存在一个充满反讽意味的怪圈——越是急功近利的人,反而越【得不到】功利。多年前,俺曾经写过一篇《为啥急功近利反而赚不到钱——给拜金主义者的忠告》,说得就是这个意思。
  当年那篇讲的是“经济领域”。然而在【学习领域】依然如此——
“求快”的人只满足于快速掌握某个领域的“枝节”;快虽然快,但因为【没】掌握本质性的东西,(在该领域的)水平无法得到显著的提升,因此在该领域就无法具备足够的竞争力。套用天朝的一句老话叫做——【欲速则不达】。

◇慢即是快


  作为对比,那些愿意花足够的时间与精力去搞定【基本功】,打好【基础】的人,刚开始好像很慢,但后续的加速度会越来越快。这个过程有点类似“指数函数”。这类函数在刚开始的时候,斜率很小(甚至很接近于【零】),而且初期的增长趋势很类似“线性函数”;但在某个【转折点】之后,其斜率会急剧上升,并大幅度超越“线性函数”。
  为了加深读者的印象,放一张指数函数的示意图。

不见图 请翻墙


★边际递减 VS 边际递增


  刚才既然聊到指数函数,再顺便引出“斜率”的话题。

◇边际递减(斜率变小)


  法国作家罗曼·罗兰在其代表作《约翰·克里斯朵夫》中有句名言,俺印象深刻,并加入到博客副标题的动态格言中。这句话是:
大多数人在20到30岁就已经过完自己的一生;
一过了这个年龄段,他们就变成自己的影子,以后的生命只是在不断重复自己...

  假如存在某种方法,能绘制出每个人的“能力-时间曲线”(综合能力随时间变化的曲线)。俺充分相信,大部分人都是“边际【递减】函数”(斜率持续变小)。而且很多人可能在30岁之前,该函数的斜率就已经趋向于零(接近于水平线)。如果你充分理解本文前面章节所说的这些,也就能理解——为啥大部分人的能力曲线属于“边际【递减】”。

  注:
  考虑到某些读者可能会来抬杠,俺先说明一下——
  要想比较全面地评价某个人的综合能力,需要用【矩阵】才能充分地表达;而【不可能】约化成某个“标量”。因此,上述比喻严格来讲是有缺陷滴。
  但考虑到本博客读者群体的差异化(有些读者只是初中生),俺还是【不】引入“矩阵”相关的讨论,否则会把很多人吓跑。

◇边际递增(斜率变大)


  前一个小节说的是——绝大部分人的变化属于“边际递【减】”。
  但还有一小撮人,他们的能力曲线竟然是“边际递【增】”。为啥会这样捏?同样是因为互联网。
  在互联网【没】出现之前,要想让“个人能力曲线”达到“边际递【增】”是非常非常难滴!有了互联网之后,大部分人沉迷在【娱乐至死】的状态,但少数【没有】沉迷其中的人,如果善于学习(尤其是“系统性学习”),如果充满求知的欲望,如果运气还不算太差......在互联网这个大环境下,完全有可能达到“边际递【增】”的状态。

  某些不那么聪明的读者,可能会觉得纳闷——能够保持“能力曲线”的斜率已经不错了,为啥有些人还能做到“斜率递【增】”?
  这其中的奥妙,俺已经在《为什么独立思考这么难?——谈谈心理学的成因,并分享俺的经验》一文中提到过了。“学习能力 & 思维能力”类似于“自控力”,也是可以通过锻炼而强化。
  那些喜欢学习的人(尤其是喜欢【跨领域 & 系统性】学习的人),这几方面的能力会不断强化;而且喜欢学习的人,通常也能体会到【学习的乐趣】,于是又增加了一个新的【正反馈】。
  上述诸多因素,使得“能力曲线”的斜率递【增】。

◇“中年职场危机”的根源


  (在上一篇博文的评论区,正好与某热心读者聊到【中年职场危机】。顺便把前几天的讨论摘录出来)
  如果你理解了大多数人的能力曲线是这种性质,就有助于理解【中年职场危机】的本质——
  刚工作的年轻人,大都单身(未婚),没小孩,不用顾家(一人吃饱全家不饿)。而且身体好,能承受高强度工作压力,对薪酬要求也没那么高;
  (同一个人)到了中年,通常已婚,大都有小孩,多半要养家,身体也没有以前那么好,无法承受高强度工作压力,而薪酬水平的要求却增加了很多(相比年轻时)。
  简而言之,中年员工在“成本 & 健康”方面,都变差了(优势下降了);如果“综合能力”的提升无法抵消上述这两者的下降,(在上司或老板眼里)这个人的【性价比】就下降了——这也就是“中年职场危机”的主要根源。
  但对于那一小撮能够达到“边际【递增】”的人,他们的性价比不但没下降,反而上升了——自然【不】存在所谓的“中年职场危机”。

◇关于“工作年限”的【误区】


  很多人常犯的一个【错误】是——以【线性】的方式思考问题。容易犯这个错误的人,也就容易把“工作年限”混淆为“综合能力”。
  但实际情况是——“工作年限”【不】等于“工作经验”;“工作经验”也【不】等于“综合能力”。
  比如说:对某些工作岗位(工种),由于其工作的性质&内容是【高度重复】滴,“工作1年”与“工作10年”,积累的经验其实没啥区别。
  再比如说:某些行业的工作,虽然有足够大的差异化,从而使得“工龄”能够转化为“工作经验”,但这些经验是高度【局限性】滴(只能用于该领域)。一旦该行业(领域)被颠覆,这些人之前积累的工作经验(行业经验)就再也没有用武之地了。换句话说,这些人虽然积累了足够多的经验,但依然很脆弱。他所在的行业如果被摧毁了,他的职业生涯也跟着完蛋了。

  在“综合能力”里面,那些【真正重要】的成分,通常是【跨行业/跨领域】滴!而且不受年龄限制(可以受用终身)。
  举几个例子:
  最近这几年,俺写了好多博文谈【学习能力 & 思维能力】。因为这2个玩意儿就是【跨行业/跨领域】滴!
  再比如说:前面提到的“自控力”也属于【跨行业/跨领域】的要素。


★越来越差 VS 越来越好


◇互联网的马太效应


  在上一个章节,俺提到互联网对两类人导致完全相反的影响。某些聪明的读者应该已经猜到——俺要开始聊【马太效应】了。
  (注:没听过这个词的同学,先猛击上述的维基百科链接)
  去年(2018)年末发过一篇【很重要的】博文《读书笔记:<反脆弱——从不确定性中获益>》,文中已经提到上述观点。俺当时的原话是——信息时代,当互联网普及之后,在很多领域产生了【马太效应】。

◇【科技】的马太效应


  难道只有互联网才导致“马太效应”吗?当然不是!
  严格来讲,任何一种科技,只要其【普及性 & 影响力】达到一定的水平,都会引发“马太效应”。互联网导致的“马太效应”如此之明显,主要是因为互联网的影响力实在太大了(渗透到每个行业,渗透到社会的每个层面)。
  为啥科技会引发“马太效应”捏?这里面当然有很多原因,而且会牵涉到很多不同的领域(包括人文领域)。考虑到本文的主题,俺只聊2点。

◇科技对【闲暇时间】的影响


  在工业革命【之后】,从业人员(包括“蓝领 & 白领”)的“平均劳动时间”处于【递减】状态。再次提醒:考察“平均劳动时间”的变化,必须选取【足够大】的时间颗粒度,这有助于帮你滤掉噪声(参见本文开头的介绍)。
  “平均劳动时间”【递减】是很正常滴——因为科技水平上升之后,从业人员(包括“蓝领 & 白领”)的【生产率】当然也跟着提升。于是,只需要更少的人,就可以创造出比以前(工业革命前)多好几个数量级的财富。
  “平均劳动时间”【递减】,也就意味着“平均闲暇时间”【递增】。可惜的是,大部分人把闲暇时间都浪费掉了;只有极少数人懂得利用这些空闲时间。于是,【马太效应】就显现出来啦。
  著名思想家胡适说过一句名言:
你要看一个国家的文明,只需考察三件事——
第一,看他们怎样待小孩子;
第二,看他们怎样待女人;
第三,看他们怎样利用闲暇的时间。
  虽然他说的是“国家层面”;但他所说的最后一条,放到【个人层面】依然适用。

  既然聊到“闲暇时间”,俺再次吐槽一下【996工作制】——
俺之所以极力反对这个玩意儿,不仅仅因为它是【反人性】滴,而且它也违背了文明发展的潮流。
某些黑心资本家可以口吐莲花,把一个臭不可闻的压榨制度,吹嘘成所谓的“福报”。
谁要是相信这种忽悠,那就成了傻逼,活该被收【智商税】 :)

◇科技对【行业】的影响


  工业革命之前,人类社会中的【行业结构】,可能在【几百年】的时间范围内都保持稳定;工业革命之后,行业的变动开始频繁,可能每隔几十年就会有变动;等到互联网普及之后,几乎【每年】都能看到某些行业被互联网颠覆。
  俺在博客评论区与读者交流时,曾经引用过 IT 大牛 KK(凯文·凯利)的一句名言(大意是):
只有两种行业:一种已经被互联网颠覆,另一种正在被互联网颠覆
  考虑到某些读者可能会误解这句话,俺提醒一下:并【不是】说,某个行业被互联网颠覆过之后,就不再被颠覆;实际情况是,某些行业会被颠覆好几轮。

  (如前所述)不光是互联网,任何一项科技成果,只要达到一定的【普及性 & 影响力】,就会带来行业的变化(出现新的行业、有的行业消失、有的重新洗牌)。
  行业变动越来越频繁且剧烈,这就引发另一个层面的“马太效应”。那些难以适应变化的人,会被淘汰(或被边缘化);而那些能适应变化的人,就不用担心;更牛逼的人,不但适应了变化,而且还能利用这种变化,并从中获益(这就是俺在博客中多次提及的【反脆弱性】)
  俺不止一次地唠叨:去年(2018)年末发的那篇《读书笔记:<反脆弱——从不确定性中获益>》【很重要、很有价值】。可惜,很多读者没有引起足够重视。
  如果你看过原书或看完那篇读书笔记,并且【真正理解】了“反脆弱”这个概念,就能明白——为啥科技导致行业的剧烈变动,反而让某些人大大受益。


★结尾寄语


  几天之后,就要跨入本世纪的20年代啦。
  再次提醒大伙儿:科技的发展趋势具有【加速】的特质(斜率递增)。科技所带来的社会变革,会越来越快,而且越来越剧烈。
  希望看过这篇博文的读者,【不要】沦为平庸的大多数,【不要】成为马太效应的牺牲品。
  后续更新:
  本文发出之后又过了一年(2020年底),俺写了一篇《学习与人生——700篇博文之感悟》,从“学习”的角度讨论人生相关的话题。


俺博客上,和本文相关的帖子(需翻墙):
《学习与人生——700篇博文之感悟》
《如何【系统性学习】——从“媒介形态”聊到“DIKW 模型”》
《为什么独立思考这么难?——谈谈心理学的成因,并分享俺的经验》
《读书笔记:<反脆弱——从不确定性中获益>》
《如何完善自己的知识结构》
《学习技术的三部曲:WHAT、HOW、WHY》
《用提问来促进思维——兼谈【非】技术领域的 WHAT HOW WHY 三部曲》
《德鲁克谈【自我管理】——<哈佛商业评论>史上最受欢迎的文章》
《每周转载:关于人生(网文3篇)》
《为啥急功近利反而赚不到钱——给拜金主义者的忠告》
《“996工作制”只不过是【劫贫济富】的缩影——“马云奇葩言论”随想》
《无处不在的二八原理》(系列) +
+ +
+ + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/12/weekly-share-140.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/12/weekly-share-140.html" new file mode 100644 index 0000000000000000000000000000000000000000..8f32c4d8252c8d9c715d30af05af60075b8287c1 --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/2019/12/weekly-share-140.html" @@ -0,0 +1,26 @@ + + + + + + + +每周转载:华为李洪元案——工作996、离职251、维权404(大量网友评论,多图) - 编程随想的博客 + + +
+

每周转载:华为李洪元案——工作996、离职251、维权404(大量网友评论,多图)

+ +
+
+  按照惯例,热点事件的《每周转载》要滞后一段时间。当大伙儿开始要淡忘的时候,俺发一篇汇总,有助于强化列位看官的记忆。
  这个周末花了不少时间,终于汇总出这篇。本来想周一发,昨天比较忙,就拖到今天上午。
  事先声明:
  本文汇总墙内外网友对此事的评论。汇总这些言论,不一定代表俺支持或反对其观点,只是帮大伙儿了解网络舆论。


不见图 请翻墙

★事件经过


  事情的经过,大伙儿想必都知道了。俺就不浪费口水再复述啦,只简单放一个维基百科链接。
  另据昨天(12月9日)刚出的新闻,深圳市中级检察院已经立案,调查李洪元案涉及的诬告、陷害、伪证等问题。由于这是昨天刚出的新闻,本文没有汇总与此相关的评论。

  估计会有一些读者想要问俺对此事的看法。感兴趣的,可以参考前几个月关于996的博文:
《“996工作制”只不过是【劫贫济富】的缩影——“马云奇葩言论”随想》


★华为的诬告&陷害


《华为“251事件”——应调查是否存在报假案、作伪证和诬告陷害 @ 21财经》
(编程随想注:以下是此文摘录,粗体是俺标注滴。为了防止此文被和谐掉,再顺便放个网页快照,链接在“这里”)
当事人获释,并收到法定的国家赔偿,意味着刑事案件办理程序层面本案终于告一段落,但舆论对本案的忧虑却显然不止于此。公众担心和不解的可能是,一次正常的人事变动、离职解约,为什么会升级成为一次刑事追究?在职期间曾有内部举报举动的李洪元,是否因此被当初所在部门恶意构陷?普通的人事离职,有能力、有意识保存证据难道要成为个人自保的必备技能?

本案的发端,包括造成后续国家赔偿的成本支出以及可能的错案责任追究,都源于企业的刑事报案,包括报案人讲述、证人证言的提供在已有错案结论的情况下,是否需要彻查和追究相关人员报假案、作伪证甚至诬告陷害的法律责任?特别是在界面新闻报道中提及,此前作证称遭敲诈勒索的证人何某在今年7月改口。刑事追责程序为企业和个人所裹挟,不仅使当事人的人身权益被侵害,而且让国家机关的权威和公信付出代价。从可能的报假案到做伪证、诬告陷害,涉事企业及其相关责任人不能一直沉默以对,必须给公众一个交待,这是企业的基本社会责任与自觉。而国家机关对此亦须继续调查,追究相关人员的法律责任,给出必要的惩罚。

zhenzhi1981:
从已确认的事实看,
第一李没有敲诈华为的行为,录音已经证实了,检察机关也确认了。
第二华为确实状告李敲诈,而且是作伪证不实举报,如果不是李够聪明,另藏有备份,关键时刻拿出来,估计必定要把牢底坐穿了。
他的电脑里U盘里也是有这证据的,为什么被收缴后没有被拿出来证明他清白呢?非要等他委托律师拿出来后才做出正确判断,这里面的猫腻少不了。
华为这样的行为,比网易的行为恶劣千百倍,这样的企业,有什么脸面谈什么爱国?
你连你的家人都不爱,大谈什么爱家庭,鬼信你。

淡忘110:
华为的回应为方式为什么不在251天前?
当时华为没有法务作合规建议:告诉李元洪,公司依法给予离职员工经济补偿,如果不同意,华为支持他向劳动部门提出仲裁和向法院提起诉讼。
为什么要给李30万呢?又为什么要通过私人帐户给呢?
这明摆着是法务出的主意做局。我们无法想象李草根去威胁、胁迫、乘其之危而讹诈华为,看看华为连世界首霸的美国威胁都不怕,怎么会怕一个李草民

扫荡猫左:
华为与某机关联手,任意关押一个自由公民,肆意践踏人权,无法无天欺压普通打工者。
如此发展下去,如何得了?!
必须讨论华为为所欲为的问题!

石烁:
关键是华为有意设局构陷被害者,不但触犯法律,而且有悖于社会公德,是一种不折不扣的下贱行为!

zhouyi2002:
有人说:华为那么大企业,那会缺那30万。以此来推断华为不可能去故意陷害李某。
其实是可以解释:如果每个离职的华为员工都像李一样2N补偿或者其他补偿,那加起来金额就巨大了!
为了震慑其他员工,所以华为是宁愿赔钱打官司也不愿意给个人!
何况个人和这么大的华为企业斗,基本都没胜算。
这次要不是李和HR谈判的时候录音记录,李是100%要背上敲诈坐牢的结果!

一条硕大无比的咸鱼:
李洪元可能比你们想象的有能耐多了,以下任何一步稍有差池他就没了,这件事也就没了。
不见图 请翻墙

泰华士4779:
想想太可怕了,以后华为手机坏了敢不敢维权?
失去民心才是最危险的,几亿人看着呢。
你有钱、有伞,这次也不好过关了。
普通的劳资纠纷做成刑案,邪恶十足。

yottu:
华为从私人账户给员工30万的巨款???
这么明显的违法行为,有关部门不追责吗?

whlpz:
一方是威震世界的华为,一方是华为排斥的员工,员工先是因华为控告而坐监251天,然后是法律宣告无罪释放。
这其中的问题,只要不是弱智就会看得一清二楚,除非他良心坏了。

陈宗鹤先生:
不见图 请翻墙
不见图 请翻墙
不见图 请翻墙
不见图 请翻墙

飞舞的马甲:
我看完新闻也是感叹幸亏李洪元还对录音留了一个备份。
按说警方搜查他家,电脑、手机、U盘都拿走了,警方如果分析可以知道华为是诬告的,可是警方仍然羁押了李洪元251天,
要是他后来没有把录音拿给律师,那就坐实了所有华为想搞他的罪名。
这太可怕了,一个大企业可以这样构陷自己的员工,还有配合的,太可怕了。

中和善(李广晶):
他们没算到李姓员工竟然会有录音,更没想到把李姓员工的电脑、手机没收后,他竟然还有考贝。
这是个意外、意外呀!

泰华士4779:
开车要有记录仪,打工要有录音笔,251越看越像碰瓷了。以后录音笔打工标配。

陆晓616:
应公布华为当时报警的材料,看是否构成伪证罪及诬告陷害罪。

天涯老孤客:
其实李洪元怎么做并不重要,
我们在这里发帖,
谴责的是华为构陷行为,
以及公权力违法介入,
说到底,
我们是在保护自己和子孙的未来。

公买公卖:
这不是民事起诉,这是刑事报案。华为把劳资纠纷上升到刑事犯罪的出发点就够邪恶。

一名2000:
与企业的不严谨相比李洪元则谨慎的多!
这与是否小人无关,也与某首席法务官近日所说的是否劳动纠纷无关!
李洪元事先设想到了最坏可能,也准备好了。
也是他知道对方体量太大了的缘故!

SmileOvO:
华为管理层太黑暗,251的那位的离职赔款31万是私人账户给的转账,而不是公司账户,随即被华为以此为由起诉。
在他离职之前他向公司提交了一个逆变器业务造假问题,估计是得罪人了。
从监狱出来之后的国家赔偿10万元还是我们纳税人出钱,华为连道歉都没有,一直在公关媒体

檐下风铃:
我认为华为是中国大陆最人性化的企业,良心企业!
怕自己的员工离职后没有饭吃,直接送去吃牢饭,包吃包住,还有门卫。
给华为点赞!
强烈呼吁将华为公司列进国家一级动物保护名录,谁敢对华为公司牙崩半个不字,杀无赦,灭十族!

游侠儿V:
来华为工作吗?高薪,离职坐牢的那种。

Aoton_er:
hr是华为第一生产力


★诬陷背后的【官商勾结】


围观酱油党:
李某要是没有备份的录音,估计已经被法院宣判了。
还有需要注意的是,原始录音就在警察手中,而且预定的三个罪名所需要“证据”均为华为提供。

夜明砂
是【备份】的证据保护了李洪元
有证据还得做备份,要不照样玩完。

反射弧长:
从此案罪名一改再改来看,明显涉嫌伪证罪及诬告陷害罪,而这两种罪属于公诉范围的刑事犯罪。
所以,这件事,应该由深圳检方或纪委,主动调查此案侦办方,
有没有滥用职权?有没有协助某为实施伪证及诬告陷害等犯罪行为?

沉默的李拜天:
华为251事件真正令人恐惧的不是大企业诬告陷害,也不是个人的鸡蛋碰石头,而是警权的滥用——
不论证据有无,警方仅仅侦查期间,就可以关上个大半年。
需知,那里不是度假村,对所有羁押者都是度日如年,个人在强大的司法公器面前渺小得如一粒尘埃。

天意8888:
想想都后怕。
敬茶没收的电脑手机里有证据,就是不拿出来,和菊厂一起构陷一个仅是讨回自己权利的屁民。
这TM比高太尉还厉害,高太尉是因为衙内才陷害的;
但这个屁民和我们所有人一样,会要回自己的利益,就这样被陷害。
真的害怕!

章言:
一看就明白了,华为欲擒故纵,想勾结有司,陷害姓李的员工,如此而已。
但检察院不买帐。

魔都囡:
不见图 请翻墙

每个人都有理由:
华为如果不是大规模离开深圳,这官司还不定怎么判吧?
依法治国的公平性普遍存在瑕疵吧?

自然数数组:
问题在于——华为,作为当地大公司,已经黑社会化。
集体伪证诬告公民,干预司法公正,限制言论自由——花钱删帖就是违法行为,就是侵害公民言论自由权,就是犯罪!
华为报案李洪元涉嫌违法,公安、检查院以“防止嫌疑犯逃跑”为由,羁押李洪元。
那么,如果李洪元报案华为栽赃、构陷、诬告、伪证,
公安、检查院是否会以“防止嫌疑犯逃跑”为由羁押华为高层管理人员,是否会以“防止转移财产”为由,冻结华为财产?

有机结合了矛盾:
这个案件如果华为员工是自由地等等候司法的处理,是显示出案子正常处理状态,如果有一方被拘押就是这类案子的不正常处理的状态,把这种事情普通正常的交涉先当成是现行犯罪来拘押人,竟然长达251天,则构成商与法的勾结的嫌疑。

一个人的精彩123:
李洪元要是举报华为HR诬陷,警方会抓人吗?会换着罪名关251天吗?
在草民与打着民族爱国旗帜的华为面前。深圳警方早就站队了。

一名2000:
刑事拘留三个多月。
到了检察院又五个月。
可见各方来来往往沟通实在不少!

西雅图黄都督:
这一条现在看起来特别有教育意义
不见图 请翻墙

二捕快:
其实,以敲诈立案并多次延长羁押期限滴作法和新晃的黄校长们通过种种手段把邓老师被害案件压下来不立案查处是异曲同工。

仙人掌嘴:
校长把员工埋进操场
华为把员工送进监狱

宁甫:
有司护法,
随意抓拿,
底气十足,
菊花独大,

哈德门888:
很好的一堂法制教育课,诬告的最后没事,错了反正有国家赔偿

吴老豆:
华为岂能有错,谁敢说华为有错,说华为有错得251的。羁押251天岂只是警方的问题,而且完全是官商勾结的法律环境问题。华为的洗地犬的洗地水平真是太可怜了。

大瞌睡虫:
小李该庆幸,没有拐向“国家安全法”。

二捕快:
国家司法权,不能成为某些主体的看家护院的保安!
如果还真有因同类原因被羁押的华为员工,深圳的公安恐怕得出来走两步了


★天朝的法制


陈有西律师:
刑法将近500个罪名,市场经济秩序犯罪112个罪名。每个罪名关押侦查你6个月,定不了,换个罪名查。你去算能关你多少年。
关押权必须法院聆讯决定。让警察权决定关押,一个国家基本人权永远没有保障。

陈有西律师:
华为251门终于把舆论焦点带到了我国的保释制度上。
在我国,保释的决定权在警方而非法院,于是警方为了图自己办案方便,极少让嫌疑人被保释。
当然还有别的原因,比如作为逼供手段,比如为他方充当打手。
华为251门就是活生生的例子。在未经法院程序的情况下,通过刑拘、逮捕、审查起诉、补充侦查等程序,就可以将人合法地羁押251天。

陈有西律师:
我考察过北欧荷兰的司法制度,他们警察的拘留关押的权利是三天。
三天以后必须要报法院开聆讯庭,由法官同意才能继续关押。否则必须交律师保释放人。

mario jiang yi:
司法不独立,权力一定会任性而无法被制约。
在发展大于一切的口号下,个体的利益基本可以忽略。
于政府而言,华为这样的企业本来就等于GDP保障;
即使不考虑腐败因素,华为也基本可以为所欲为。

飞蛇:
既然华为拿不出铁证,公安也就没有证据,但是仍然能用尽一切手段关了李洪元251天。
这里的司法漏洞在哪里?如何避免华为下次用这个手段再关员工251天?

为你辩护网:
一个犯罪嫌疑人可以在看守所关押多久?
不见图 请翻墙

jhg:
这事要放在2015年以前,说不定有死磕派律师出头,为洪某争取应有权利。
但709大抓捕之后,维权律师都噤若寒蝉,不敢吱声了

中文打字機:
兲朝的法治就是笑話,華為對員工利用警察進行迫害已經不止一次了。
華為系流氓匪資企業是毫無疑問的。

bym1518:
傲慢无耻无畏的行为给了中国法律一个耳光。
从传讯到逮捕使用了三种罪名,
而这三种没有直接相连贯的罪名出炉,
是离不开状告人提供各种“证据”的功劳。
不敢断言是诬告,起码这家单位的法务部门是严重失职的。
三种罪名的演变和251天的牢狱之灾也告知所有人,
与“华而不实”耗,你是耗不起的。
因为你是在失去自由,在牢里与“为所欲为”耗。
胜败一目了然,
即使侥幸获胜重获自由,但你绝对不会有胜利的喜悦,
因为你的心里会永远的留下牢里阴影的回忆。
你惹了你惹不起的企业!
虽然它是家民营企业,但它头顶的爱国牌却可以死死的将你踩在脚下!

孤帆远影89:
支持李洪元用起法律武器起诉华为!
可以让全国职场展开一次透明的职场法律再教育!影响广泛!!
也是对全国工会缺失的警告!

带带工读生:
你猜人家为啥“反送中”?
送过来就是251


★华为的【官方回应】


不见图 请翻墙

zmztx:
华为官方公开发表:我们尊重司法机关,包括公安、检察院和法院的决定。
法律环境是什么样子?特别是大型企业和执法机构的关系,只要不是刚从火星回来,没人不知道。
这是拿出混黑社会,摆出老大的派头。分明是青帮流氓
其实,“天下乌鸦一般黑”的道理在华为这里并没有例外。
不过就是,一年前华为公主事件当中,华为理性克制的声明,确实得分不少。
如今,华为判若两人,终于不再演了

zmztx:
这和耍流氓有什么区别
华为的律师团队,岂能是一个个人所能对付的了的吗?
请看内蒙鸿茅药酒,政府机关两千六百多次的处罚,人家照样。
这次掀起那么大的舆论风暴,没过半年,人家的广告照样出现在媒体中。
华为前员工已经获得国家赔偿,意思就是错了。
华为依然故我,不认错,反而要前员工继续打官司,意思就是老子看你怎么死
华为怎么也比鸿茅药酒NB,鸿茅药酒尚且如此,华为就不用说了

我的可怜开弟:
某公司的声明,其实就透露出检察院不会提起公诉这一信息,也是人家胆气之所在。
至于网民舆论汹汹,在人家眼里,屁都不是。
雇些无帽或删帖,就可搞定。不服不行。
这事要在南韩和日本,董事长公开低头谢罪木商量。

和谐小虾:
(华为说)支持他运用法律武器维护自己的权益。
——先看看法律是在为谁服务吧!

牢厂251:
一直觉得之前这个回应很有问题,今天终于想明白了一些事情。
整个声明分为三段。
第一段,强调华为是基于事实进行的举报,也就是说华为认为自己是因为错误的信息得到了错误的结论,不小心错告了李,你可不能说我诬告哦。
第二段,我们尊重公检法。尊重?华为你是什么机关?和公检法平起平坐?
第三段,不服来告!

往事如梦888888:
本来是一件普通的劳资纠纷,没有华为利用企业的关系污陷离职员工,怎么可能会变成刑事案件。
要说华为一点没施加影响,那可小看了网民们的智商了。
而且在出了事后,华为不是积极的安抚受害者,还强势的说你去告吧,这种嘴脸可真够无耻的。

看到看的:
华为错了还这样霸气,这是普通百姓的厄运

众生平等118:
基于事实?一个是事实,一个是滑伪的事实。
法律面前人人平等,我要吐了!伪造事实关人二百多天叫法律平等?

自燃土地:
一到减薪裁员的时候,节操就碎一地。
一到节操碎一地的时候,通常都没有多余的钱去外聘公关公司处理危机公关的。
这个时候,每句回应都是碎上加碎,最后成了拥有葵花宝典的岳不群!

贫在闹市:
如果还在拘留所,怎么拿起法律武器?
国器本不应该成为企业看家护院的工具。

吴老豆:
华为:你们屁民的质疑和舆论算个屁,我有权不鸟你们屁民,有种再来干啊

stevenyao:
华为:我有钱有人,美、加政府我都不怕,欢迎你来告我。

众生平等118:
不服来告,霸气!
正好花巨资养的法务部门有事可干。
告不赢美帝,收拾个小员工,没压力!

大家不要吵了:
这就是——斗不过洋人,还搞不定你?

一个人的精彩123:
华为可以如此胆大妄为的公然利用公权对待本国无辜公民。
那么在国外呢,真的是如他所标榜的那么守法吗?
孟晚舟事件后,国人对华为报以最大的同情,说美帝霸道。
而今,在中国,面对李洪元的遭遇,华为跟美国佬做的又有什么不同?
己所不为勿施于人。

雪岩105818:
从华为这个回复看,看到了华为的实质。
预测:华为在向自己挖的坑迈进!

绣花球:
华为对中国的法律吃得很透,底气足啊!
我用华为手机给它点个赞,然后扔到茅坑里去了。

出只湿只:
美国政府有权利,也有义务,并基于事实对于涉嫌违法的行为向司法机关举报。
我们尊重司法机关,包括FBI检察机关和法院的决定。
如果梦碗粥认为她的权益受到了损害,我们支持她运用法律武器维护自己的权益,包括起诉美国政府。
这也体现了法律面前人人平等的法治精神。

庸2017:
现在大小企业基本上都是这样的吧?
华为有什么不同吗?

风霜寒:
请大寨书记任正非出来讲几句话啊


★维权404——华为搞“和谐”的能力,直追真理部


编程随想注:
这波河蟹的力度确实牛逼,连【朝廷喉舌人民网】的一篇批评华为的转载文章,都被干掉了。幸好有网页快照,如下:
《华为的回应不是“法治”,而是以势压人 @ 人民网》
(网页快照)

人大经济学教授聂辉华:
一个大而不能批评的企业,比大而不能倒的企业更可怕。


(某知乎用户):
不见图 请翻墙

仓佑加错-Leo:
不见图 请翻墙

天哥的韭菜庄园:
不见图 请翻墙

奇天烈:
不见图 请翻墙

票圈君:
不见图 请翻墙

fangshiyua:
不见图 请翻墙

AbeLoveMe:
能全网404肯定是有宣传部门在后面,连胡锡进都出来温柔地批评。


★《坏球时报》的胡编,又开始胡编了


不见图 请翻墙
(胡锡进的微博)

安替:
今天网上各派除了胡锡进一人,大概都在华为事件上达成了高度一致,不容易啊。

(编程随想注:以下是 Twitter 网友对这条推文的回应)
yolo heochwi:
胡锡进代表了官方的声音。
人日、央视都发的是孟晚舟,没谈251。
这种对立真的是难得一见。

oak:
把全国人民都联合起来了,这到底是什么样的福报?

jookuy:
天下苦秦久已!

Wilson:
我以为胡锡进善接飞盘这事,大家都知道呢。

Lancelot:
这才显示出他的价值——没事,飞盘飞进黑洞里我也能给丫叼出来。

salomechen:
当年的鸿茅药酒不是更统一么?现在呢?
怪不得华为是鸿蒙系统呢,鸿字辈

草木谐兵:
华为牛逼归牛逼,但是如果真做错了事就该正面回应

Ken Wong:
胡锡进说:“再伟大的公司也难免出错,客观地说华为管理虽存在缺陷、但作为一个拥有十几万员工的电信帝国来说综合还是比较科学的。对于这样的公司,不应该因为一个孤立事件给它扣上沉重的大帽子,贴上不应有的标签。”

(编程随想注:以下是 Twitter 网友对这条推文的回应)
山鬼:
错了就是错了,正确的做法是知错就改,以后努力做得更好。
但是对于某些人,你说他错了,他就顾左右而言他,他会说:“我也有对的地方,你不能盯着我的错误看。”
之后,一切照旧。感觉上某国人就是习惯了“这样就已经可以了”的想法,
“以后努力做得更好”这样的想法对他们来说就是不可接受的。

hacker:
胡编依旧胡编,继续混淆问题。
共产党不也总在讲,原则性问题不容置疑吗。

萨格尔王宽衣通商:
按这个逻辑胡舔狗要把之前给别人戴的无数帽子给摘了吧

金钱豹:
这是典型的官商勾结,公器私用,人民民主专政的重大实践。
就这样,硕大五毛胡某还出来为华为㖭腚,上升到全民族利益的高度。
干脆说华为就是国家的,谁敢不听华为谁就是反革命。

老衲法號劫色(拳打小紅粉,腳踢狗腿子):
這種飛盤壓根難不倒胡編。

ardan:
哈哈,舔得真熟练

满洲鲑鱼运动:
如果是苹果发生了这种事,胡狗会怎么说?

你说的都对:
胡锡进长的就像个奸臣😁

无国界游民:
将来的历史,有没有可能老胡超越秦桧?
对不起,不能这样比……

独醉笑清风:
老胡如果是你被冤枉进去待251天,然后公司当做什么事都没发生一样,你会怎么样?谁能保证你我他,不会是下一个李呢?
宽容与纵容有区别的。不管它在国外遇到什么困境,是是非非还是要分清楚,不能混为一谈。

不当小粉红:
傲慢的回应变成了“权且当作公关失误”,华为HR变成了“基层员工”,又拿出万能挡箭牌美帝拿出来?
有可能诬陷说成“可能准确可能不准确”?还说什么大空话。
隐情到底是啥?有还是没有?或者剧本?至于可能是公众的想象?
问一下胡总,华为前几次舆论风波不存在嘛?

clc·:
怎么利用漏洞把人送进去的?李某如果不自己留一手证据还能出来?
舆论发生之后第一时间404,舆论关不住了才出来勉为其难的声明。
最后,用中美矛盾掩盖251矛盾这一手着手厉害,胡编依旧是胡编。

世風日下:
胡公公还真是名副其实的叼盘,把一个普通人遭受251天的苦难轻描淡写的抹掉并故意抹黑,还用另有隐情来推翻检察院的结论,妄图栽赃嫁祸洗白251惨案?
东拉西扯的打着民族大义的旗号用阴谋论来蛊惑人心,混淆是非。
只能说这是一条屁股坐歪了,脑子浆糊了的利益集团的舔狗,彻底站到了人民的对立面。

吴老豆:
胡编这次为华为洗地是伤透了脑子,难为胡编了,挺可怜的胡编

fanyaya:
其实,从胡锡进的围脖可以看出,老胡对华为的声明也是思想准备不足的。

lambofgod168:
看到知乎上说,胡锡进又出来叼飞盘了,还有人说胡锡进是当代四大名狗之一。
笑死我了。


★总能看见“国际反华势力”


月光博客:
华为(高级副总裁)余承东转发《针对华为的黑公关狂欢》一文,称“李洪元251事件”是非常典型的黑公关活动,而不是什么劳资纠纷的问题。
而且是一次全网发起的黑公关活动。大部分的网络平台,网络头部账号,全都参与进来了。幕后黑手是美国、华为的国内竞争对手以及媒体平台(微博,豆瓣网,和知乎网这几个网站)。

(编程随想注:以下是 Twitter 网友对这条推文的回应)
bon homme:
大事怪美帝,小事怪小米;
入职送福报,离职送手铐;
坏事怪别人,好事归自己;
治不了洋人,还治不了你?

刘豪:
我们从不解决问题,只解决提出问题的人。

Qiaosong Ye:
深得“匪帮”真传——思维模式、行事逻辑和匪帮一摸一样。
老子就是伟大、光荣、正确,质疑我的都是一小撮受敌对势力蛊惑的不明真相的群众,且他妈的别有用心。

正版初一:
别扯啥黑不黑手。
就说构陷加害前员工,是不是事实?
且非止一例,是不是事实?

kuo:
美国就是个筐,啥都可以往里面装😁😁😁

BabyKing:
反正什麼都推給美國就可以了,黨永遠是對的

xhh:
美国人无处不在🤣

维尼😷🇹🇼:
我特想,知道美国是如何参与进来的?

不如君2.0:
美国头上的锅也太多了吧😓

柳依依:
美帝说:都是我干的,咋滴吧?

JetStream VPN:
誅心之論!詭辯!事實就是事實。做了壞事被逮個正著,就乖乖承認。
不要轉移話題,不要毫無證據指責不知道是誰的競爭對手,找水軍來說你的醜事。
先反省一下自己為什麼給「對手」提供了「黑」公關的材料。

Jeffrey Li:
国内这么多正义感尚存的人冒着被删帖封账号的风险发帖控诉华为,
却被污蔑成黑公关,真是无耻到了极点!

Munntein:
我就想知道,人民网是不是境外黑公关?🐶

HandsomeM:
前两天渣浪都帮你删过一轮贴封过一轮号了。
你这么说,也太让渣浪心寒了吧 😂

雪山熊:
哎,我都无语了,转发的这个举动太low了

Chao Steven Zhang:
我从未见过如此厚颜无耻之人。

特立独行的猪:
余大嘴真把自己当成神了

连江寒雨:
这是狂犬病晚期症状了

wangwanchao:
这时候,是个有脑子的都不应该出来说这个

PaperTiger:
余就这个水平,更不看好华为手机了。

鼠辈:
华为高管真是脑残。说真的现在华为的成就都是华为下面的程序员、研发人员、工程师创造的。这帮土狗高层真的配不上员工。

乔一瞧:
华为工程师主要是负责快速迭代,本质上就是高级了点的厂工。
r & d里偏d不偏r,华为产品起家本来也多以山寨为主,r的比重不算大。
这也是他不怕的原因。说到底就是用工人员非常的可替代。

Craig:
狗日的裆企在墙内被黑?去他妈了个逼。

fanyaya:
真难为了这届洗地工,没法洗啊!
只是敲诈勒索?——这是指责司法系统办错案放错人。
我们只依法报案,不负责侦查处理?——这是甩锅给公检法,把有司逼急了,回头清算你报假案作伪证。
美帝阴毛?——美帝有没逼你去报案。
个人行为?——那就是大宇宙公司管理漏洞巨大。
全方位无死角的没道理,唯一选择就是不洗,任凭舆论发酵。
可惜啊,各种带薪洗、免费洗、投名状洗,洗地工太多了,狗粮不够分了。。。。

贝尔DC:
这个事情和美国有一毛钱关系?华为被美国往死里打和华为诬告员工有一毛钱关系?
华为根本没得洗,大公司的一贯作风都是这样。
本来来老老实实道个歉说实话风波过了就过了,净扯点外国势力打压带节奏,又打算收割一波爱国情怀?

暴龙哈哈哈:
一个人在证据不足的情况下,被关了251天,你跟我说这是司法程序的问题?
要脸不要脸?也怪不得香港人这么害怕那个法案了

北极光ABC:
X为已经把自己的过错上升到米蒂的阴霾了,米蒂又当了一次背锅侠。

那些记忆犹新的岁月:
华为前员工被拘事件和华为无关,却和千里之外的美帝有关,这是什么逻辑!

程序员爱吃肉:
可别提,提了就是反华为,反华(wei)?你敢反华(wei)?给我进去

风霜寒:
告我就是反华势力!牛啊!

雨夜漫步大祭司:
对照华为251事件,突然想起中兴程序员说的:美国合规官驻场后,伙食都比以前好了。


★【共青团中央】力挺华为(真理部要定调了?)


共青团中央:
不见图 请翻墙

共青团中央:
不见图 请翻墙

(编程随想注:以下是各个网站针对“共青团中央”的评论)
LIFETIME 視界:
中共叫停攻擊華為,讓中國網民短暫幻覺破滅。
華為「251」事件引起公憤,甚至《人民日報》也隨著民間不滿發表了批評華為的文章。
中共這個反應讓民眾很不適應,紛紛猜測中共內鬥了?任正非失寵了?
不料,沉寂了一週後華為拍桌子了:「251」事件是美國黑公關抹黑行為。
中共黨媒又紛紛表態支持華為。😨

洛埋名:
共青团中央今天发了篇文章给华为洗白,我看吐了

ThomasYan:
看得我真的是犯恶心。
但我觉得这说明上面的人真的迫害妄想症了,啥事都觉得是外面有人要搞我。
但华为和你是什么关系,中产阶层的核心利益在哪还知道吗?啥事都往自己身上揽。
我觉得你们误判了中国的中产阶层,这只会让更多的人清醒过来。
共青团,干得好。

正義終將戰勝歸來:
质疑华为=攻击中国
共匪逻辑感人
251事件引发广泛关注的根本原因是吃瓜群众对司法权力滥用的恐惧和对华为操纵公权力迫害员工的愤怒。
共匪闭口不谈是如何将一个无罪之人非法羁押251天然后用纳税人的钱息事宁人的事实,而是又把“莫须有”的锅甩给“反华势力”。

塞尔达哥哥:
人民网前几天刚发过批华为的文章,建议共青团调查下人民网是否有美帝渗透,
再把发文小编带到央视认罪,以后就绝对没有任何251了

awuwu:
1.美帝控制了龙岗公安局,所以龙岗公安局在华为提供的证据不足的情况下羁押李251天,龙岗公安局被美帝渗透
2.美帝控制华为提供假证据骗了龙岗公安局,华为被美帝渗透
共青团选哪个?…他们选择了不要脸

一百公斤的麦子:
共青团中央这次是转发了“后沙”公众号的这个文章。
我能怎么看?通篇美帝国主义亡我心不死。
官方加速,引发墙内舆论内战,支持!

rockman:
我觉得这样越乱越好,真的。加速他们自己内部分化分裂。

lastdayinfront:
加速的妙,支持加速
期待习包和共青团中央进一步提高官方加速度

姜方法:
怎么什么坏事的背后都是美国,美国是杰拉鲁星人吗?
你华为不想付工资陷害别人坐牢和海底的杰拉鲁星人有什么关系?

上善若水HK:
Woc
難不成團團裡也混進了加速主義的手足?這跟之前蔥友發的範本一模一樣啊!

仲长若谷:
什么?
说好的十四亿国人同仇敌忾呢?
怎么和外交部说的不一样?

胡椒博士:
被黄俄和马列子孙骂是卖国贼,实属我等中华好儿女之一大荣幸。

荣誉非国民:
一个承包出去的红皮自媒体能有多大政治敏感度,真正的官媒基本都在观望。
我倒是有个阴谋论的想法:前几天人民网那篇和这次这篇,也许是在从舆论的两个方向摸底?

Mogami_Shizuka:
难得一见。
身旁不少好友朋友圈都开始抨击米青团了,甚至是之前我觉得像粉红的人
感觉要不就是米青团实在是放弃了,要不就是测试人们底线罢,,,
俺暂且蒙在蒙古包里,,,

灭霸:
我前几天总是觉得华为事件被放出风来是党国故意的,这么做和今年的996事件、网易事件、稻上飞事件一样,都是为了抹黑改革开放和资本主义,说明毛左派得势,中国要向左转。
看来我想多了,华为这件事掀翻小池塘纯粹就是因为共匪舆论管控能力不够用了,这是坠吼的,希望以后这种事越来越多。

mtw1994ja:
為了中国人的利益而罵華為結果中国人被共糞團罵了??
厲害了我的_
早就說過共青團就是禍國亂源😂

Xenon:
“有人要害我”这是一个万金油式的公关手段
一是可以强烈激起并煽动支持者
二来阴谋论是街头巷尾一个永恒的话题
这样既解决了问题,又获得了传播,一石二鸟
至于产品嘛,反正粉红们还是会买的

清茶i:
😠我擦,tmd骂中国人全是狗?太尼玛丧失了吧
想死的不够快


★很多【华为员工】被抓——“深圳龙岗看守所”被戏称“华为看守所”


(编程随想注:根据网友汇总,除了李洪元,被华为送进去的还有——曾梦、吴彬、张慧敏、杨媛媛、李晶晶、王志骏、刘宁、秦学军......)

方舟子:
深圳龙岗看守所先后关押过200多名华为员工,有的是因为贪污,有的是因为泄漏商业机密,还有的是因为敲诈勒索。
华为会定期组织员工去参观该看守所接受教育。
里面不知道关押过多少名指出华为产品问题的用户,华为应该也组织华为产品用户去那里参观接受教育。
不见图 请翻墙

方舟子:
一名华为前员工说,我那是过时数据,最新数据是龙岗看守所先后关过300多名华为员工,主要是涉嫌职位侵占罪和受贿罪。
李洪元被抓的起因是他竟敢起诉华为索取年终奖,牢厂岂能受此侮辱?
先是指控他泄漏商业机密,不成,改指控他职务侵占,还不成,才指控他敲诈勒索,以为这回能办成铁案,不料有录音。

(编程随想注:以下是 Twitter 网友对上述推文的回应)
潇洒先生:
带业主看房

哈拿:
还有这等事啊?超出我想象了

tommy the bag:
这叫做公司?这叫做黑社会!

veterinarian:
真牛逼,服了服了

Jiayuan Zhang:
不见图 请翻墙

Lapfung Ting:
老方,你又泄密天机

zwj:
龙岗派出所是华为的保卫部。

yingying:
龙岗看守所改名为华为看守所好了

晚风:
华为看守所!
华为法院、华为检察院、华为警察局,哈哈哈
华为的天下,以后都不能妄议。

ningjing:
原来华为是个犯罪分子的集中营

cross1984:
哪个华为的站出来,显示一下自己华为股东的自豪!

seagull:
远离华为产品,人家马来西亚小哥都被威胁。

時代革命~FREE HK:
常委和中央委們應該組團去學習下,
順便體驗下他們酷刑。

非常不纯洁的小纯洁:
不见图 请翻墙

华为北非林夕:
不见图 请翻墙
(编程随想注:提醒大伙儿注意——该华为员工享受了天朝警方【跨国】追捕的待遇)

matterstalk:
曾梦的被刑事拘留证明
不见图 请翻墙

白离:
不见图 请翻墙

泰华士4779:
不止李元洪?华为前员工再爆,跨国抓捕关押九十天!
最早,是知乎上的一位名为【华为北非林夕】的网友,自曝因为得罪了领导,而被构陷盗窃,被关押了九十天。
但是,这一次李元洪的事情被爆出之后,这位北非林夕的事情却也一直无人关注。
直到不久前,一家媒体报了出来。

蓝鲸财经记者工作平台:
不止李洪元,华为又一前员工被羁押90天
不见图 请翻墙

杨占青:
这是当时我在华为离职群里看到的他们聊天记录,他们中有两人约定周末去见记者,结果周五晚上被以侵犯商业秘密罪抓走了
不见图 请翻墙
不见图 请翻墙
不见图 请翻墙
不见图 请翻墙

想点就点:
华为251事件急剧发酵!员工喊出“八大诉求,缺一不可”,竟包括要求“独立调查”!
不见图 请翻墙
(编程随想注:那些关注香港事态的网民,应该对八大诉求,缺一不可很眼熟)

桥艺人生:
像华为这种公司,钱被下面贪污了,不去告,却去告一个离职的敲诈一个在职的。
这是什么样的公司?
绝对是一个高尚的公司,一个纯粹的公司,一个有道德的公司,一个脱离了低级趣味的公司,一个有益于人民的公司

水木社区网友评论:
出身985,工作996,劝退035,离职251,维权404。


★连【媒体记者】也被华为送进大牢


(编程随想注:该媒体记者本名“王昊”,内蒙古籍,深圳某科技媒体从业者;被关252天,正好比李洪元多一天;据说此人与李洪元还是狱友)

王员外:
不见图 请翻墙

不见图 请翻墙
不见图 请翻墙

不见图 请翻墙


★民企 or 国企 or 军企?


F-22江风云:
再次坐实华为和党国是融为一体的!
体制、行为方式,内外有别的宣传攻势,完全一模一样。
P民莫再惊诧了,好好享受1984型福报吧。

陶陶陶:
访民常被政府以此套路维稳构陷,华为也如此。
不愧为披着民企外衣的国企啊。

NeuralWave🇺🇸:
华为的海军洗版至少5年前,网上是很多人都知道的。
华为与中国军方、国安部的关系也一直有人科普的,我十年前就知道了。
现在很多网友才惊诧,只能说中共的舆论管控成功了。
(编程随想注:2013年的时候,俺曾经写过一篇《八卦一下天朝党政军的情报机构》,大伙儿可以参考)

LIFETIME 視界:
李洪元251事件發生後,有人認為中共對華為態度生變,甚至「割席」。
這根本不可能!華為與中共沒有分界線,華為是中共最核心「資產」之一。
中共適度允許李洪元「翻案」,並不意味華為失寵。中共可以隨時讓李洪元消失在社會輿論中。

(不知名网友):
不见图 请翻墙

HumanRightsCat:
企业姓党,ccp就会用党的媒体资源帮他维稳

cocojj:
华为和联想, 我一直觉得他们都是国营单位。

neolaga:
华为(比联想)更牛,是军企,或者说有军方背景

AbeLoveMe:
华为比一般国企牛太多了,华为公主有外交部保驾护航。
我国内同学一堆国有单位的,统一发华为手机。哪个企业能做到?
买华为手机都是政治任务。就是军企。

AbeLoveMe:
任正非后面的人倒了?否则不可能搞出这么大动静。
知乎昨天还在删贴,今天就能讨论了。
任正非这个白手套难道要和王健林一个下场?

大肥ZHU:
一个象征爱国的企业,如此大范围传播负面内容,在以前难以想象,也细思极恐。
估计,老任变老王就在眼前了,可能下场还比不上老王。

deja.vu:
的确奇怪,就隔了两天,舆论控制马上天翻地覆。看来台上的争斗也很激烈。

thinkant:
跟后台没关系。这次实在是民愤太大,知乎上很多大V拼着被封号,也要揭露华为。

artdong:
中共 + 奸商 = 终极狗血

nyc15:
怎么可能是私企,军企还差不多。


★网友吐槽——华为【狼文化】


一剑如风:
神奇公司,华为命运
毕业985
工作996
辞职251
讨论404

麦子玖八:
靠政府采购发家,
靠党媒做广告宣传,
靠抹黑对手立足,
靠低性价比赚钱,
靠251治各种不服!

Cheung Ka-Sing:
華為經常組織員工去參觀監獄和看守所,間接的恐嚇

ningjing:
这是一家法西斯式的恐怖企业,它不但用许多非市场化的手段来对外竞争,还用非正常的手段经营和控制员工。
美国制裁它绝对正确。

泰华士4779:
抓鸡给猴看,十几万员工看好了,再提赔偿,251伺候。
还有,华为用户也老实点,敢维权,也是251或跨国90

你也配姓赵:
早在任正非大谈华为的狼性企业文化的时候就觉得这家公司心术不正。
后来看看任正非的发家史,看看企业的发展,看看员工的待遇,就知道,国产的东西,能不买就不买,能不用就不用。
年底换手机,首选苹果和三星。

Julian:
不仅仅是“血汗工厂”了,应该是“奴隶工厂”!

chunqiuyi:
本质是——所谓员工就是奴隶!!

WeiAkira:
厲害了他的國!
想離職?納命來!

WeiAkira:
想離職、三刀六孔
這是優良的中國文化傳統、很適合支那人享用。

空心老头:
华为那种灭绝人性的公司,必定不得好死!呵呵

youyouqiuqiu:
华为这两年大力搞消费者业务,也就这两年洗白了,因为消费者业务要的是社会名声。
之前没做消费者业务时,主要做运营商,江湖人称黑寡妇!
什么意思呢,就是凡是和它合作过的第三方公司,利用完必死。

(不知名网友):
华为作过的恶
不见图 请翻墙

卖内裤的大叔:
不见图 请翻墙

sylvia:
所以别说华为是狼性文化
华为其实就是共党团体

TDB:
狼性文化✖
狼犬性文化✔

天涯段常仁:
菊花是真残了
明明可以靠脸吃饭,偏偏却想靠不要脸吃饭...

taizidang1973:
举报华为销售业绩造假被辞退,接着被抓。
这也证明了华为的市场份额是假的,跟中共的GDP一样,假的。

youyichanzi:
资金困难会导致一系列变故,先是外部控制不了舆论,然后内部分崩离析。


★网友吐槽——华为公主孟晚舟【卖惨】


编程随想注:
此案之后没几天,孟晚舟发了一篇煽情文,企图【卖惨】。此文很快就上了新浪热搜(当然啦,以华为的公关能力,这一点都不奇怪)。
感觉这个骚货的作风,越来越像李小琳了——参见前几年的旧博文:《中国电婊李小琳的精彩人生(多图)》

不见图 请翻墙

不见图 请翻墙
(孟晚舟在加拿大的豪华别墅。照片来源:德国之声)

Smittenn:
孟晚舟被关一年,全国关切,
华为员工被关251天,全网封杀。

(不知名网友):
小孟在豪宅里忍辱负重
小李在看守所砥励前行

Mate251Plus:
我在枫国的别墅里四季如春
你在龙岗的号子里大雪纷飞

小久九九九九九要很多才不会重复:
总共就十几篇微博的加拿大人华为公主坐火箭一样速度上热搜,
吃了251天牢饭的中国员工热搜一直被压,华为就是天!

yamasaki27:
251被查阅上亿次上不了热搜
孟大小姐一篇文章不到1000阅读量被置顶

关关–:
为了251?
一出事就把孟女士拉出来溜溜……
这公关厉害。

牢厂251:
公主住了一年加拿大豪宅,她家员工蹲了251天龙岗。
华为公关部不会以为发个公主长信慰问屁民能转移视线吧 #华为 #孟晚舟

十七画淼:
是个傻子都能看出来这是在转移注意力,
两个事件都是被羁押,孟晚舟博同情,实在是太难看。

mcou:
奇怪她就低调点不好吗。
是不是党要她发声布置政治任务了?

青春记忆:
住着加拿大豪宅的几个外国孩子他妈大谈爱中国,你信吗?

memory仙森:
自己女儿进去了,高喊自由民主法制平等。
离职员工进去了,删号撤热搜404。
真是中华有为。

作死–:
你在加拿大豪宅里大雪纷飞,有人在深圳看守所不知白天黑夜,命运未卜。

风儿–:
太委屈了!
你在别墅里写鸡汤,我在监狱的铁窗里含冤251。

Zz–:
拿她来覆盖热搜……
华为公关部是脑子不太好?

a願榮光歸香港a:
大型連環翻車現場,後續車輛持續翻車中。。。

吃鸡–:
她需要我们同情吗?高档别墅,多少亿的身家和权力。
难道我们不应该多关注支持和同情251的拘留所嘛?

白夜–:
只许舟女说苦难,把岁月拉长。
不许人间诉白头,将牢底坐穿。
我现在用着高价华为,我都觉得上面血淋淋的。

九宝27845:
苦难你妈呢,成天作秀卖惨。

卡爾費休Forest:
滚吧你,你这华为公主
住着豪宅喝着红酒,也配提感恩!

科舟求健:
有251在,你家的任何表演都苍白无力。

紫狼星主:
一个公司在外国定居的中国名人被外国警察抓了,可以调动国家层面制造舆论风潮;
如今还是这间公司,还是一个人被抓了,但这人不是格格,他只是一名被辞退了的普通员工。
比比看

坐着–:
呵呵,香港籍、外国到处购置房产的公主遭扣押全国声援,
你的子民被你家公司搞来扣押251天屁都不放一个。
爱国公司?你tmd就是连黄世仁都不如的吸血鬼!

荷尔德林的南瓜:
堂堂大中华的灯塔,照亮了加拿大的别墅,照不到龙岗的小黑屋。

御风–:
灯塔照得亮远在加拿大的外籍公民,照不亮近在龙岗的中国公民。

cnd0522:
孟大小姐住在几千万元的豪宅里,她身上一件衬衣就是你们一年的工资。
孟大小姐家的狗只吃精细的牛肉,而你为了吃一碗面条还要踌躇再三。
孟大小姐有好几本护照,你可能还没有走出县城。
孟大小姐家的公司,把员工解聘了,还能把员工关251天。

haj se:
孟晚舟2套别墅2亿人民币
屌丝们说自己是孟晚舟?
她的洗脚水还差不多

易水–:
在家待了一年,背PARADA穿三万多一身的衣服去庭审,现在还要跳出来说自己苦难?
有遭遇无妄之灾在牢里扎扎实实待了251天的你司员工苦难?虚伪!

红尘中迷途书童:
住着加拿大豪宅的爱国者😁😁😁😁

ziyouren66:
不见图 请翻墙
這個多少錢?????????

血火大地:
同为华为员工,同样被拘留,可待遇却千差万别——悲剧啊。

(某知乎用户):
太无耻了。
希望加拿大警方顶住压力,在法律框架内,把嫌疑人孟女士多关251天。
我们治不了你,洋大人就不能治你了?
不见图 请翻墙

二只–:
支持拘留华为长公主,这是给华为前员工报仇,大快人心啊!

西门大灌人1:
请正义的加拿大把梦万州转交给美国接受正义的审判。

走马观花N:
那个抛夫弃子,视男人为玩偶,接过4婚(到目前为止),护照有好几本的下贱女人,
简直是中华民族的败类,人人得而诛之!

一等铲屎官:
怪不得被美国佬整,
整死丫的!
最好把碗粥判个无期!

淡定000:
支持引渡一碗粥

大象的家:
支持美国加国,判处孟晚舟无期徒刑

风声而已:
长公主您受苦了~
251何德何能,能与您相提并论呢?

肃慎书室主人:
加拿大说:不服你去告嘛。你喊怕猴笼也没用!

指尖上的芭蕾舞鞋:
为碗粥梦,外交部操碎了心。

再来遛一圈:
华为不算是民营企业吧?
中国哪个民营企业能让外交部为它说话?

孟婆不给汤:
这个事情可关系到外交部门的脸面,外交部门一直控诉加拿大政府非法关押梦姐,要求加拿大政府放人,
现在华为也玩这一手,你叫外交部门如何再帮华为和梦姐说话?
现在大家只能一起支持华为起诉加拿大政府非法关押了
如果华为不敢起诉加拿大,几乎可以认定其是做贼心虚,不敢光明正大堂堂正正的用法律武器维护自己的合法权益,只会网络扇阴风点鬼火,鬼祟做派尽显无疑。


★从“爱国营销”到【舆情反转】


山木双林修:
本来还想下个手机就买华为,没想到竟然也是一家黑心企业,平白污人清白。
才30几万,平摊一个月1万多都不舍得出。
我现在相信孟晚舟被抓绝对是正义的,百因必有果,你的报应就是

lookupon:
一想到我还一口气买三个华为手机,就为了挺国货,我就难过。
华为太恶心人了,居然还是敲诈勒索罪污告前员工。

包蛋:
前几个月觉得加拿大这样很无理,“251”之后才发现或许这是报应。

华南智:
华为、孟晚舟民族英雄,人设崩塌了!

墙国铁拳现世报:
华为251事件在微博上引起热烈讨论,不少贸易战时脑热购买华为手机的粉红一夜间大有幡然醒悟之感。
爱国爱党情怀还能消费多久?

cnd0522:
无数曾在一年前高呼“我们都是孟晚舟”的网友忽然发现他们似乎更像 #李洪元。
这位曾在华为工作十二年的前员工,因为公司的不实控告,被深圳警方以涉嫌敲诈勒索关押长达251天,直到今年八月才被无罪释放。

向莉:
【小粉红,其实你们都是251李洪元!】
孟晚舟公主的一件衣服,在县城里值一套房子!小粉红,你好意思说:我们都是孟晚舟?
别做梦了,快醒醒吧!其实你们只是李洪元!
你们哪天在网上不小心说了一句 华为不喜欢的话,进号子呆上半年是随时的事。🤣🤣🤣
不见图 请翻墙

孟婆给碗汤:
这几天,华为仿佛变成了人人喊打的“过街老鼠”。
甚至,就连一向清净的知乎上,都全是骂华为,以及号召一辈子不买华为任何产品的言论;
几乎可以说,过去十几年华为辛苦树立的科技品牌形象,一夜时间现在全毁了。。。
不见图 请翻墙

荣誉非国民:
华为251算是彻底翻车了,
群众纷纷表示:孟晚舟抓得好!
党国的鸡血白打了🤣🤣🤣🤣🤣🤣

中共少先队:
就喜欢看小粉红信仰崩塌时的样

怎样炒好一个蛋:
那些所谓爱国的人有多少是跟风被洗脑?自己在什么环境自己不知道?心里没数吗?
自己不明白缘由就无理由站在国家这边,国家做的所有都是对的吗?
网络被控制,电影被限制,这书被限制。
解决问题的最后办法就是把提出问题的人解决了,这就是厉害了我们的国。

Th–:
一群人为一个住着豪宅的加拿大人操碎了心,
省省吧,有空多操心一下下一个251会不会是你?

王家二哥:
一个喝员工血的民企,服务国企大客户的民企,屁股下能干净吗?
还要搞爱国营销,这不报应来了。

Yes Tse:
一邊愛國營銷,一邊坑害同胞!

Queen Wong:
哈..哈...爱国就要爱得切底。
请交出所有身家性命财产!
否则就是汉奸卖国贼!感谢党!

证人129:
倾国挺华为、全民为华为买单的结果,
使华为变成又一举世无双的具有双重身份的国家权力机构,
它的傲慢和不屑,也表现出权力机构的特点。

夏雨婷:
再发酵下去怕是要把李先生抓回来重新审到有罪才能继续沸腾了

andelie:
看了這夢碗粥的豪宅,這些罪犯紙醉金迷的奢侈生活,
對比小粉紅五毛今後的251,真是太太太受傷了。
這叫他們心裡怎麼跟邪黨走啊!

Coxxs:
双十二必购清单
不见图 请翻墙


★华为起诉“美国联邦通讯委员会”(FCC),再次被网友嘲讽


(编程随想注:该起诉如果发生在251之前,恐怕会引来很多小粉红点赞;而如今,只是引来大量讽刺和谩骂)

alex:
真TM无耻恶心!
在国内欺凌压榨拘押合理诉求的员工时怎么不提违反了宪法?
利用民主法治世界的自由践踏自由
这就是无耻的中共及中共走狗企业的恶心嘴脸

迷失的矢量:
哗伪还是快歇歇吧………………
过街硕鼠能不来找众怒吗?!

日新月异168:
人家不买,难道你还要强卖?

husbands007:
美帝:不卖给你还强买?岂有此理!

John777:
老流氓吹牛从来不打草稿,反而以牺牲人民利益为代价。
你不是说不在乎美国市场,离开美国活得好好的,全世界跟华为为友订单多了去,国内市场大了去,,,,吗?
你又在乎美国干嘛?
你也说《香港人权民主法案》《维吾尔法案》是废纸,那你跟废纸着啥急啊?
老流氓把所有人当白痴。

xxx_3860:
天哪,华为这是想把美国政府也关个251天?

atplury:
把FCC的人都挨个251,看看服不服?

阳光菇:
251 251 251
看看美帝怕不怕!

zyzyyva:
起诉个毛,让深圳警方跨国把FCC负责人拘了不就行了

死涵 || Alessio:
把trump关个251天,看他还敢不敢封杀你华为

白水6:
告美国一个敲诈罪,引渡川普,先关他251天再说。

レランドRoLand🥁:
华为必赢,直接把美国通信委员会251了

Joy zhao:
這些流氓總是想用耍橫無賴方式橫行世界

捷虎如风:
你可以在美国起诉美国政府,
如果美国企业在中国起诉中国政府,能允许吗?

渡秋東仁:
要不要個屄臉?你們阻止了多少美國🇺🇸通訊服務企業進大陸?
還有臉在美國打官司?

liuhuozui:
还要点碧莲吗?

正义、正直:
人不要脸,天下无敌!

子敖:
律师会怂恿啊!他们要赚钱啊!😂😂😂

Veronica:
他们雇的律师,发现这是一个人傻钱多的好主顾。

凤姐有话说:
华为牛逼!居然以美国宪法条款起诉美国联邦通信委员会。
若google起诉北京,不知能否找到中国的法律依据?

和谐小虾:
对内借法打压员工、对外以法起诉美帝,
这法被玩的体无完肤。

TTW:
如果在中国的话,那些民企还会有控告中共政府的机会吗,嗯?

jiangen4:
傻子都知道相信美国法院的公平公正,这是对美国法治体制的信任!
有些地方的受害者选择沉默,选择自认倒霉,就知道这地方的法治的可信度如何了。

我的可怜开弟:
起诉就起诉呗,还搞啥宣布正式起诉?莫名其妙。这是说,以前搞过非正式起诉?
这企业,怎么老是弄出莫名其妙的玩意?

香港年轻人太棒了:
这是把孟晚舟往监狱里送。
法庭取证阶段孟就会被引渡到美国。偷技术的证据会公之于众。

牢厂251:
谁说体量小就不敢告体量大?华为这不就告给李洪元看了吗

panelsupper:
华为真是家超级有喜感的企业 很有戏剧天赋

老夏2018:
这伙人,比卓别林拍的戏还多


★替华为【洗地】的语录荟萃


(编程随想注:以下是网友汇总的洗地语录)
恨国党国蛆米猴又来黑华为了,哪个公司没过黑历史,哪个公司不搞公关,就针对我们华为?

坐牢251天很过分吗?现在国难当头,作为一名老员工,应该明白厉害关系。
现在辞职等于临阵脱逃,受苦的最后还是中国老百姓,现在辞职,不是蠢就是坏。

求求你们理解一下任总吧!
他老了,女儿还没回来,受不了你们这样恶语相加!你们都没有家人的吗?

该,就该罚每个黑粉5000万,让它们这些恨国狗一辈子赔不起!

那些黑华为的人,还是中国人吗?

我就不明白了,为什么一些人总喜欢拆自己国家的台,华为和国家就是你妈,你在家里被打了,可以顶嘴,但不要让外人看见好吗。
是你妈养的你,难道你们没有妈,不懂这个道理?

真可悲,5g就靠华为和美国人挣了,很多国人还在背后捅刀子,为那个临阵脱逃辞职的洗地,心寒。

党和国家和政府,一定要封杀全部网络上黑华为的言论,这绝对有问题!
老百姓怎么可能这么不听话,肯定有境外势力指挥,他们就是借着黑华为来黑中国,最好线下追责!

请立即删除所有不利于华为的言论。
否则我将立即举报,并且截图交给网信办。

你们能丰衣足食在网上喷人,还不是党和国家给你们的?没了党和国家,你们的命一文不值!
华为是我国未来的大战略的载体,你们要亲手毁掉你们的衣食父母么?
在这个时候背叛华为,你们还指望国家来保护你们所谓的权利?

我们是社会主义国家,人人为我我为人人。
你不为国家服务,难道还想跳槽到竞争对手那?
你以为你很聪明?看这就是下场!对于不为社会提供利益的人,我们根本不用讲什么公正。

你们真的被美帝渗透搞坏了,一个个都这么自私!
每个人都必须服从国家的战略,如果在关键时刻不给国家出力,那就休怪国家不客气!

我支持华为,你们可以打我了。

编程随想注:
在多年前的这篇博文中,俺介绍了五毛常用的逻辑谬误。
想要锻炼一下批判性思维的同学,可以逐一思考上述每一条洗地,犯了哪个逻辑谬误。
《扫盲逻辑谬误——以五毛言论为反面教材》

方舟子:
此前华为拼命删帖,发现删不过来,改请洗地工了,说辞都一样,都说李洪元的确敲诈,被华为内部审计时发现报案,只是因为证据不足才放了。
这些洗地的都隐瞒了这一事实:
李和其他4人是以泄漏商业机密罪被抓的,警方发现搜到的资料无法定罪,华为才改说被敲诈勒索。
这个定罪不需要证据,幸好李有脱罪录音。
不见图 请翻墙

牢厂251:
早上醒来,果然关于李的黑料疯传。早就说过李很聪明不简单,很可能不是白莲花。
但是首先要提一点,李洪元现在是恢复名誉状态。
检察院公安华为翻了251天他的电脑手机文档文件都没找到证据,凭口口相传的三言两语不能证明任何事情。
如果想现在把李抹黑成真正的敲诈诈骗犯,那等于说检察院公安公检法有个屁用!

²º¹⁹2:
1.0 李vs华为
2.0 华为vs舆论
3.0 华为vs洗地
4.0 华为vs政治(黑公关之说)
这是招招下地狱又想回到1.0的节奏嘛

Zoro:
已經開始洗白了,說貿易戰的敏感時刻華為出事是美國的陰謀,在微博上踩華為的都是美國慫恿的恨國黨,美國為了扳倒華為才有這件事。
不知是華為的水軍還是韭菜還沒清醒


★相关的笑话


(编程随想注:以下笑话大都改编自前苏联笑话。其中有一个是俺改编滴)

任正非接受记者采访。
“任正非先生,听说您收集华为员工的不满意见,是真的么?”
“是的。”
“那么您现在收集了多少了呢?”
“三个半看守所。”

任正非召集高层开会,并发言:
“今天我们有两个问题要讨论。第一,逮捕所有申请补偿的离职员工;第二,把总部大楼涂成亮绿色。”
在座的高官中传来一个怯怯的声音:“为什么要涂成亮绿色?”
任正非说:“很好!我就知道大家对第一个问题没有异议。”

在一辆拥挤的华为班车上,出现如下对话:
“请问,你是HR吗?”
“不是。”
“请问,你跟HR部门的人熟吗?”
“不熟。”
“请问,你周围的朋友,有人跟HR部门的人熟吗?”
“没有。”
“那好,把你的脚挪开!你踩到我了!”

两个老同学偶遇,然后寒暄。
“您现在在哪工作?”
“中学老师。您呢?”
“华为HR部门”
“啊,您在华为HR部门具体干什么?”
“我们负责揪出还没离职的员工中,那些对公司不满的家伙。”
“您的意思是……有的人已经离职了?”
“哦,那些人不归我们管,负责管他们的是深圳市公安局。”

深圳看守所,某民警审问犯人:
“被羁押了多久?”
“两年了。”
“犯了什么罪?”
“没犯罪。”
“撒谎!没犯罪的,羁押251天就放出来了!”

一个华为研发员工准备跳槽去微软,上级知道了很不高兴,找他做思想工作。
领导:“你为什么要去微软?是因为不满意工资收入?”
员工:“不是。”
领导:“是因为不满意加班时间?”
员工:“不是。”
领导:“是因为不满意公司文化?”
员工:“不是。”
领导:“那我不明白了,你没啥什么不满意的,为啥要去微软?”
员工:“因为在那里,即使我不满意,也不会被送进看守所。”

“HR部门全都又蠢又坏!”
“你涉嫌污蔑华为被逮捕了!”
“我又没说是哪个公司的HR部门。”
“你都说了又蠢又坏,还能是哪个?!”

谷歌员工,微软员工,华为员工在一起谈论什么是世界上最幸福的事。
谷歌员工说——
最幸福的事情就是公司福利待遇好,加班时候无比舒适。
微软员工说——
最幸福的事情就是一周可以上四天休三天。
华为员工说——
最幸福的事情是,警察半夜来敲门,对我说:李明,你因为勒索华为公司被逮捕了!
我松了一口气,对警察说:您搞错了,李明住在隔壁。

某华为员工的鹦鹉丢了。这是只会骂人的鹦鹉,要是落到HR的手里可就糟了。
这人赶紧在华为内部论坛上发了一份声明:
“本人遗失鹦鹉一只。另外,本人不同意它关于996和251的任何观点。”

“假设你在华为食堂里,而一个研发员工坐到你的身边并开始唉声叹气,你该怎么做?”
“立即举报给他的HR。”

任正非在公司里发现了蟑螂,跟余承东抱怨这事。
余承东想了一会说:
在发现蟑螂的地方立个牌子,上面写【研发部】;这样一半蟑螂会过劳猝死,另一半则会被HR举报给警方逮捕。

华为公司命令一位擅长画画的员工创作一幅名为《任正非引领全球5G建设》的大型油画作为献礼。
该员工很不情愿地接受了这份差事。
画作完成后,华为某高层前来验收,结果大吃一惊:画面上是某人在看守所被审问的场面,窗外是华为园区。
“这是什么?这男的是谁?!”高层愤怒的问。
“离职的华为员工。”员工答道。
“他对面的人呢?!”
“深圳警察。”
“那任正非在哪里?”
“任正非在引领全球5G建设。”


★网友的恶搞


◇“华为”的新义


ROSE:
华为——华而不实、为所欲为

公平正义??:
华为华为,在华可以猥琐欲为。

Who Am I²⁰¹⁹ 我是谁²⁰¹⁹:
Do whatever they want!

◇华为手环


不见图 请翻墙

不见图 请翻墙

不见图 请翻墙

◇智能录音笔


Kevin:
华为智慧录音笔来一支,只要251
不见图 请翻墙

joynow:
华为HR必备,防录音干扰器
不见图 请翻墙


俺博客上,和本文相关的帖子(需翻墙):
《“996工作制”只不过是【劫贫济富】的缩影——“马云奇葩言论”随想》
《相当奇葩的天朝,【劫贫济富】的国度》
《如何理解“英美法系”(普通法系)——从“英国古代史”聊到“香港国安法”》
《政治常识扫盲:澄清【言论自由】的各种误区》
《每周转载:关于美国封杀华为(网文8篇)》
《扫盲逻辑谬误——以五毛言论为反面教材》
《被判“谋反罪”的都是哪些人?——“危害国家安全罪”出笼20年随想》
《八卦一下天朝党政军的情报机构》
《王健林及万达集团背后的朝廷权贵家族(习、胡、温、贾、王)》
《中国电婊李小琳的精彩人生(多图)》 +
+ +
+ + diff --git "a/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/index.html" "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..77ede54539b44e35fb1fae994e7f8e2d06c6aea2 --- /dev/null +++ "b/\345\256\211\345\205\250\345\237\271\350\256\255/\347\273\264\345\237\272\345\244\207\344\273\275/\350\275\257\344\273\266/\347\273\274\345\220\210\346\200\247\350\265\204\346\226\231/\347\274\226\347\250\213\351\232\217\346\203\263\347\232\204\345\215\232\345\256\242/\344\277\272\345\215\232\345\256\242\347\232\204\342\200\234\347\246\273\347\272\277\346\265\217\350\247\210\351\241\265\351\235\242\342\200\235\345\222\214\342\200\234\345\215\232\345\256\242\347\224\265\345\255\220\344\271\246\345\210\266\344\275\234\350\204\232\346\234\254\342\200\235/blog/html/index.html" @@ -0,0 +1,271 @@ + + + + + + + +编程随想的博客 + + + +
+
+
+

编程随想的博客

+
+
+ +

★关于

+
+  你看到的这个博客离线版本,制作于 2021-04-13
+(正常情况下,每次有新博文,这个离线版本都会在【一周内】更新;如果俺比较忙,更新会有滞后)
+
+

◇如何获取俺博客的【离线电子书】

+
+  要想【自动】获取俺博客的离线版本,请使用 BT Sync(Resilio Sync)进行自动同步。如果你不熟悉这款软件,请看教程《扫盲 BTSync(Resilio Sync)》。安装好 BT Sync 之后,添加如下“同步密钥”,即可自动同步。
+B7P64IMWOCXWEYOXIMBX6HN5MHEULFS4V
+
+

◇电子书格式说明

+
+  HTML 格式
+  不管你用的是哪个操作系统,只要你装了浏览器,就可以直接浏览【HTML 格式】。
+  首先,确保你【已经完成】BT Sync 的同步(在界面上,该同步目录的图标变为绿色)。
+  浏览的时候,先进入 BT Sync 同步目录下的 blog 目录,再进入 html 目录,打开 index.html 就可以显示【离线浏览的首页】。
+  备注:
+  html 目录下所有网页的交叉链接,都已经转换为【相对路径】。因此,你可以把整个 html 目录复制到其它电脑;也可以用压缩软件打包,然后分享给其他人。
+
+  CHM 格式
+  “CHM 格式”需要你手动制作(别怕,俺提供了傻瓜化的【一键式生成】),具体步骤如下:
+1. 首先,确保你已经完成 BT Sync 的同步(在界面上,该同步目录的图标变为绿色)。
+2. 使用 Windows 系统的同学,进入如下目录: blog\make\chm 并双击 make-chm.wsf
+3. 使用 Linux 或 Mac OS 系统的同学,进入如下目录: blog/make/chm 并运行 Python 脚本 make-chm.py(该脚本同时兼容 Python2 和 Python3)
+  备注:
+  不使用 Windows 系统的同学,可以参考维基百科的“这个页面”列出了【非 Windows】下的 CHM 阅读软件。
+
+  EPUB 格式
+  “EPUB 格式”需要你手动制作(别怕,俺提供了傻瓜化的【一键式生成】),具体步骤如下:
+1. 首先,确保你已经完成 BT Sync 的同步(在界面上,该同步目录的图标变为绿色)。
+2. 使用 Windows 系统的同学,进入如下目录: blog\make\epub 并双击 make-epub.wsf
+3. 使用 Linux 或 Mac OS 系统的同学,进入如下目录: blog/make/epub 并运行 Python 脚本 make-epub.py(该脚本同时兼容 Python2 和 Python3)
+  备注:
+  EPUB 的阅读软件很多,而且各个平台(Windows、Linux、Mac OS、Android、iOS)都有。维基百科的“这个页面”列出了常用的 EPUB 阅读软件。
+
+

★最新博文

+
+  (此处列出最近的【30篇】博文,更多博文请点击右侧栏的【分类标签】)
+
+

近期安全动态和点评(2021年1季度)

每周转载:新疆棉花——从“人权争议”到“外交对抗”(外媒报道30多篇)

计算机网络通讯的【系统性】扫盲——从“基本概念”到“OSI 模型”

每周转载:3月3日,缅甸政变经历“最血腥一天”(外媒报道及现场照片,多图)

“水门事件”以及尼克松下台的经过

每周转载:内卷的天朝,各阶层的众生相(网文17篇)

开博12周年庆,博文分类汇总

近期安全动态和点评(2020年4季度)

分享各类电子书(科普、政治、IT、历史、等,180本)——增加【科普】大类

学习与人生——700篇博文之感悟

博弈论入门教程——从基本概念到具体案例

2020年美国大选的选情分析

美国政党简史(上)——从“邦联时期”到“南北战争前”

近期安全动态和点评(2020年3季度)

二十年目睹之怪现状——中国学术界、科技界的“奇葩排行榜”

每周转载:半导体行业现状——华为全面断供、中芯前景堪忧、弘芯轰然倒塌(网文14篇)

如何用 Tor 访问对 Tor 不友好的网站——扫盲“三重代理”及其它招数

每周转载:约瑟夫·奈谈“美国对华战略”(中英文对照及俺的点评)

每周转载:“中美对抗”进入【科技脱钩】阶段(网文7篇)

回顾六四系列[34]: 5月17日,“戒严令”出笼的经过

近期安全动态和点评(2020年2季度)

每周转载:超级富豪王振华性侵9岁女童(大量网友评论,多图)

扫盲 Linux 逻辑卷管理(LVM)——兼谈 RAID 以及“磁盘加密工具的整合”

如何理解“英美法系”(普通法系)——从“英国古代史”聊到“香港国安法”

每周转载:朝廷推香港版《国安法》,【一国一制】降临(外媒报道8篇)

聊聊“核战略的博弈模型”与“中美新冷战”

“政治体制”与“系统健壮性”——基于“复杂性科学”的思考

近期安全动态和点评(2020年1季度)

在线查毒工具 VirusTotal 的 N 种玩法——从“误报/漏报”聊到“攻击者对它的利用”

分享各类电子书(【英文版】专场,177本)

+ +
+
+ + + +
+
+ +